From 361fd45f8367f34650334a17fac7dd116388a6d3 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Tue, 12 Apr 2022 00:10:32 -0700 Subject: [PATCH] More splitting! --- asm/Kyoto_CWD/CAnimData.s | 9523 ++ asm/Kyoto_CWD/CAssetFactory.s | 425 + asm/Kyoto_CWD/CAutoSave.s | 230 + asm/Kyoto_CWD/CCharacterFactory.s | 3358 + asm/Kyoto_CWD/CCredits.s | 1098 + asm/Kyoto_CWD/CFirstPersonCamera.s | 160 + asm/Kyoto_CWD/CFrontEndUI.s | 108 + asm/Kyoto_CWD/CGameProjectile.s | 3550 + asm/Kyoto_CWD/CInputGenerator.s | 5 + asm/Kyoto_CWD/CInstruction.s | 49 + asm/Kyoto_CWD/CMFGame.s | 993 + asm/Kyoto_CWD/CMFGameLoader.s | 665 + asm/Kyoto_CWD/CMainFlow.s | 368 + asm/Kyoto_CWD/CPlayMovie.s | 2097 + asm/Kyoto_CWD/CPlayer.s | 275 + asm/Kyoto_CWD/CPlayerGun.s | 10471 ++ asm/Kyoto_CWD/CScriptPickup.s | 997 + asm/Kyoto_CWD/CSplashScreen.s | 1281 + asm/Kyoto_CWD/CStateManager.s | 13955 ++ asm/Kyoto_CWD/CTweakGame.s | 151 + asm/Kyoto_CWD/CTweakPlayer.s | 763 + asm/Kyoto_CWD/CTweaks.s | 1774 + asm/Kyoto_CWD/CWeaponMgr.s | 137602 +++++++++++++++++++ asm/Kyoto_CWD/main.s | 21 +- asm/bss.s | 21 - asm/rodata.s | 45 - asm/sbss.s | 57 - asm/sdata.s | 354 - asm/sdata2.s | 52 - asm/text.s | 189295 -------------------------- obj_files.mk | 21 +- 31 files changed, 189931 insertions(+), 189833 deletions(-) create mode 100644 asm/Kyoto_CWD/CAnimData.s create mode 100644 asm/Kyoto_CWD/CAssetFactory.s create mode 100644 asm/Kyoto_CWD/CAutoSave.s create mode 100644 asm/Kyoto_CWD/CCharacterFactory.s create mode 100644 asm/Kyoto_CWD/CCredits.s create mode 100644 asm/Kyoto_CWD/CGameProjectile.s create mode 100644 asm/Kyoto_CWD/CInstruction.s create mode 100644 asm/Kyoto_CWD/CMFGame.s create mode 100644 asm/Kyoto_CWD/CMFGameLoader.s create mode 100644 asm/Kyoto_CWD/CMainFlow.s create mode 100644 asm/Kyoto_CWD/CPlayMovie.s create mode 100644 asm/Kyoto_CWD/CPlayerGun.s create mode 100644 asm/Kyoto_CWD/CScriptPickup.s create mode 100644 asm/Kyoto_CWD/CSplashScreen.s create mode 100644 asm/Kyoto_CWD/CStateManager.s create mode 100644 asm/Kyoto_CWD/CTweakGame.s create mode 100644 asm/Kyoto_CWD/CTweakPlayer.s create mode 100644 asm/Kyoto_CWD/CTweaks.s create mode 100644 asm/Kyoto_CWD/CWeaponMgr.s diff --git a/asm/Kyoto_CWD/CAnimData.s b/asm/Kyoto_CWD/CAnimData.s new file mode 100644 index 00000000..cdcbdc75 --- /dev/null +++ b/asm/Kyoto_CWD/CAnimData.s @@ -0,0 +1,9523 @@ +.include "macros.inc" + +.section .text, "ax" + +.global GetEventResourceIdForAnimResourceId__9CAnimDataCFi +GetEventResourceIdForAnimResourceId__9CAnimDataCFi: +/* 8002948C 000263EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80029490 000263F0 7C 08 02 A6 */ mflr r0 +/* 80029494 000263F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80029498 000263F8 80 63 00 08 */ lwz r3, 8(r3) +/* 8002949C 000263FC 48 00 88 6D */ bl GetEventResourceIdForAnimResourceId__17CCharacterFactoryCFi +/* 800294A0 00026400 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800294A4 00026404 7C 08 03 A6 */ mtlr r0 +/* 800294A8 00026408 38 21 00 10 */ addi r1, r1, 0x10 +/* 800294AC 0002640C 4E 80 00 20 */ blr + +.global AddAdditiveSegData__9CAnimDataCFRC10CSegIdListR16CSegStatementSet +AddAdditiveSegData__9CAnimDataCFRC10CSegIdListR16CSegStatementSet: +/* 800294B0 00026410 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800294B4 00026414 7C 08 02 A6 */ mflr r0 +/* 800294B8 00026418 90 01 00 54 */ stw r0, 0x54(r1) +/* 800294BC 0002641C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 800294C0 00026420 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 800294C4 00026424 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 800294C8 00026428 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 800294CC 0002642C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 800294D0 00026430 7C 79 1B 78 */ mr r25, r3 +/* 800294D4 00026434 C3 C2 83 D0 */ lfs f30, lbl_805AA0F0@sda21(r2) +/* 800294D8 00026438 83 A3 04 34 */ lwz r29, 0x434(r3) +/* 800294DC 0002643C 7C 9A 23 78 */ mr r26, r4 +/* 800294E0 00026440 C3 E2 83 D4 */ lfs f31, lbl_805AA0F4@sda21(r2) +/* 800294E4 00026444 7C BB 2B 78 */ mr r27, r5 +/* 800294E8 00026448 3B D9 04 38 */ addi r30, r25, 0x438 +/* 800294EC 0002644C 3B 80 00 00 */ li r28, 0 +/* 800294F0 00026450 3B E0 00 00 */ li r31, 0 +/* 800294F4 00026454 48 00 00 38 */ b lbl_8002952C +lbl_800294F8: +/* 800294F8 00026458 38 7F 00 04 */ addi r3, r31, 4 +/* 800294FC 0002645C 7C 7E 1A 14 */ add r3, r30, r3 +/* 80029500 00026460 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80029504 00026464 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80029508 00026468 FC 00 02 10 */ fabs f0, f0 +/* 8002950C 0002646C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80029510 00026470 41 80 00 14 */ blt lbl_80029524 +/* 80029514 00026474 80 B9 00 D4 */ lwz r5, 0xd4(r25) +/* 80029518 00026478 7F 44 D3 78 */ mr r4, r26 +/* 8002951C 0002647C 7F 66 DB 78 */ mr r6, r27 +/* 80029520 00026480 48 33 45 F1 */ bl AddToSegStatementSet__21CAdditiveAnimPlaybackCFRC10CSegIdListRC15CCharLayoutInfoR16CSegStatementSet +lbl_80029524: +/* 80029524 00026484 3B 9C 00 01 */ addi r28, r28, 1 +/* 80029528 00026488 3B FF 00 28 */ addi r31, r31, 0x28 +lbl_8002952C: +/* 8002952C 0002648C 7C 1C E8 40 */ cmplw r28, r29 +/* 80029530 00026490 41 80 FF C8 */ blt lbl_800294F8 +/* 80029534 00026494 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80029538 00026498 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8002953C 0002649C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80029540 000264A0 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80029544 000264A4 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80029548 000264A8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8002954C 000264AC 7C 08 03 A6 */ mtlr r0 +/* 80029550 000264B0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80029554 000264B4 4E 80 00 20 */ blr + +.global AdvanceAdditiveAnims__9CAnimDataFf +AdvanceAdditiveAnims__9CAnimDataFf: +/* 80029558 000264B8 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 8002955C 000264BC 7C 08 02 A6 */ mflr r0 +/* 80029560 000264C0 90 01 02 04 */ stw r0, 0x204(r1) +/* 80029564 000264C4 DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 80029568 000264C8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 8002956C 000264CC DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 80029570 000264D0 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 80029574 000264D4 DB A1 01 D0 */ stfd f29, 0x1d0(r1) +/* 80029578 000264D8 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 +/* 8002957C 000264DC DB 81 01 C0 */ stfd f28, 0x1c0(r1) +/* 80029580 000264E0 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 +/* 80029584 000264E4 DB 61 01 B0 */ stfd f27, 0x1b0(r1) +/* 80029588 000264E8 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 +/* 8002958C 000264EC DB 41 01 A0 */ stfd f26, 0x1a0(r1) +/* 80029590 000264F0 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 +/* 80029594 000264F4 DB 21 01 90 */ stfd f25, 0x190(r1) +/* 80029598 000264F8 F3 21 01 98 */ psq_st f25, 408(r1), 0, qr0 +/* 8002959C 000264FC BE 81 01 60 */ stmw r20, 0x160(r1) +/* 800295A0 00026500 3C A0 80 5A */ lis r5, lbl_805A6660@ha +/* 800295A4 00026504 C3 E2 83 D0 */ lfs f31, lbl_805AA0F0@sda21(r2) +/* 800295A8 00026508 39 05 66 60 */ addi r8, r5, lbl_805A6660@l +/* 800295AC 0002650C 7C 9D 23 78 */ mr r29, r4 +/* 800295B0 00026510 C0 88 00 00 */ lfs f4, 0(r8) +/* 800295B4 00026514 3C E0 80 57 */ lis r7, lbl_8056BDF4@ha +/* 800295B8 00026518 C0 68 00 04 */ lfs f3, 4(r8) +/* 800295BC 0002651C 3C C0 80 57 */ lis r6, lbl_8056A600@ha +/* 800295C0 00026520 C0 48 00 08 */ lfs f2, 8(r8) +/* 800295C4 00026524 3C A0 80 57 */ lis r5, lbl_8056C2B8@ha +/* 800295C8 00026528 C0 08 00 0C */ lfs f0, 0xc(r8) +/* 800295CC 0002652C 3C 80 80 57 */ lis r4, lbl_8056C9EC@ha +/* 800295D0 00026530 38 E7 BD F4 */ addi r7, r7, lbl_8056BDF4@l +/* 800295D4 00026534 38 C6 A6 00 */ addi r6, r6, lbl_8056A600@l +/* 800295D8 00026538 38 A5 C2 B8 */ addi r5, r5, lbl_8056C2B8@l +/* 800295DC 0002653C 38 84 C9 EC */ addi r4, r4, lbl_8056C9EC@l +/* 800295E0 00026540 D0 81 00 80 */ stfs f4, 0x80(r1) +/* 800295E4 00026544 FF 80 08 90 */ fmr f28, f1 +/* 800295E8 00026548 FF C0 F8 90 */ fmr f30, f31 +/* 800295EC 0002654C 7C 7C 1B 78 */ mr r28, r3 +/* 800295F0 00026550 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 800295F4 00026554 FF A0 F8 90 */ fmr f29, f31 +/* 800295F8 00026558 3B 3D 04 38 */ addi r25, r29, 0x438 +/* 800295FC 0002655C D0 41 00 88 */ stfs f2, 0x88(r1) +/* 80029600 00026560 3B 07 00 04 */ addi r24, r7, 4 +/* 80029604 00026564 3A E6 00 04 */ addi r23, r6, 4 +/* 80029608 00026568 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8002960C 0002656C 3A C5 00 04 */ addi r22, r5, 4 +/* 80029610 00026570 3A A4 00 04 */ addi r21, r4, 4 +/* 80029614 00026574 3B C0 00 00 */ li r30, 0 +/* 80029618 00026578 83 FD 04 34 */ lwz r31, 0x434(r29) +/* 8002961C 0002657C 3B 60 00 00 */ li r27, 0 +/* 80029620 00026580 48 00 04 68 */ b lbl_80029A88 +lbl_80029624: +/* 80029624 00026584 3A 9B 00 04 */ addi r20, r27, 4 +/* 80029628 00026588 FC 20 E0 90 */ fmr f1, f28 +/* 8002962C 0002658C 7E 99 A2 14 */ add r20, r25, r20 +/* 80029630 00026590 38 61 00 38 */ addi r3, r1, 0x38 +/* 80029634 00026594 3B 54 00 08 */ addi r26, r20, 8 +/* 80029638 00026598 48 31 F7 B5 */ bl __ct__13CCharAnimTimeFf +/* 8002963C 0002659C 88 14 00 14 */ lbz r0, 0x14(r20) +/* 80029640 000265A0 28 00 00 00 */ cmplwi r0, 0 +/* 80029644 000265A4 41 82 01 E4 */ beq lbl_80029828 +/* 80029648 000265A8 C3 42 83 D0 */ lfs f26, lbl_805AA0F0@sda21(r2) +/* 8002964C 000265AC C3 22 83 D4 */ lfs f25, lbl_805AA0F4@sda21(r2) +/* 80029650 000265B0 48 00 01 B0 */ b lbl_80029800 +lbl_80029654: +/* 80029654 000265B4 80 7A 00 00 */ lwz r3, 0(r26) +/* 80029658 000265B8 7F 05 C3 78 */ mr r5, r24 +/* 8002965C 000265BC 80 FD 02 10 */ lwz r7, 0x210(r29) +/* 80029660 000265C0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80029664 000265C4 80 63 00 00 */ lwz r3, 0(r3) +/* 80029668 000265C8 38 C0 00 10 */ li r6, 0x10 +/* 8002966C 000265CC 39 00 00 00 */ li r8, 0 +/* 80029670 000265D0 48 2D 47 0D */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 80029674 000265D4 80 1D 02 10 */ lwz r0, 0x210(r29) +/* 80029678 000265D8 7E E5 BB 78 */ mr r5, r23 +/* 8002967C 000265DC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80029680 000265E0 38 C0 00 08 */ li r6, 8 +/* 80029684 000265E4 7C 00 1A 14 */ add r0, r0, r3 +/* 80029688 000265E8 39 00 00 00 */ li r8, 0 +/* 8002968C 000265EC 90 1D 02 10 */ stw r0, 0x210(r29) +/* 80029690 000265F0 80 7A 00 00 */ lwz r3, 0(r26) +/* 80029694 000265F4 80 FD 02 0C */ lwz r7, 0x20c(r29) +/* 80029698 000265F8 80 63 00 00 */ lwz r3, 0(r3) +/* 8002969C 000265FC 48 2D 47 5D */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 800296A0 00026600 80 1D 02 0C */ lwz r0, 0x20c(r29) +/* 800296A4 00026604 7E C5 B3 78 */ mr r5, r22 +/* 800296A8 00026608 38 81 00 38 */ addi r4, r1, 0x38 +/* 800296AC 0002660C 38 C0 00 14 */ li r6, 0x14 +/* 800296B0 00026610 7C 00 1A 14 */ add r0, r0, r3 +/* 800296B4 00026614 39 00 00 00 */ li r8, 0 +/* 800296B8 00026618 90 1D 02 0C */ stw r0, 0x20c(r29) +/* 800296BC 0002661C 80 7A 00 00 */ lwz r3, 0(r26) +/* 800296C0 00026620 80 FD 02 14 */ lwz r7, 0x214(r29) +/* 800296C4 00026624 80 63 00 00 */ lwz r3, 0(r3) +/* 800296C8 00026628 48 2D 46 39 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 800296CC 0002662C 80 1D 02 14 */ lwz r0, 0x214(r29) +/* 800296D0 00026630 7E A5 AB 78 */ mr r5, r21 +/* 800296D4 00026634 38 81 00 38 */ addi r4, r1, 0x38 +/* 800296D8 00026638 38 C0 00 14 */ li r6, 0x14 +/* 800296DC 0002663C 7C 00 1A 14 */ add r0, r0, r3 +/* 800296E0 00026640 39 00 00 00 */ li r8, 0 +/* 800296E4 00026644 90 1D 02 14 */ stw r0, 0x214(r29) +/* 800296E8 00026648 80 7A 00 00 */ lwz r3, 0(r26) +/* 800296EC 0002664C 80 FD 02 18 */ lwz r7, 0x218(r29) +/* 800296F0 00026650 80 63 00 00 */ lwz r3, 0(r3) +/* 800296F4 00026654 48 2D 45 91 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 800296F8 00026658 80 1D 02 18 */ lwz r0, 0x218(r29) +/* 800296FC 0002665C 7F 44 D3 78 */ mr r4, r26 +/* 80029700 00026660 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80029704 00026664 7C 00 1A 14 */ add r0, r0, r3 +/* 80029708 00026668 38 61 00 EC */ addi r3, r1, 0xec +/* 8002970C 0002666C 90 1D 02 18 */ stw r0, 0x218(r29) +/* 80029710 00026670 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 80029714 00026674 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80029718 00026678 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8002971C 0002667C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80029720 00026680 48 00 06 3D */ bl "AdvanceAdditiveAnim__9CAnimDataFR23rc_ptr<13CAnimTreeNode>RC13CCharAnimTime" +/* 80029724 00026684 C1 A1 00 F4 */ lfs f13, 0xf4(r1) +/* 80029728 00026688 38 61 00 50 */ addi r3, r1, 0x50 +/* 8002972C 0002668C C1 81 00 F8 */ lfs f12, 0xf8(r1) +/* 80029730 00026690 38 81 00 80 */ addi r4, r1, 0x80 +/* 80029734 00026694 C1 61 00 FC */ lfs f11, 0xfc(r1) +/* 80029738 00026698 FC 40 68 18 */ frsp f2, f13 +/* 8002973C 0002669C C1 41 01 00 */ lfs f10, 0x100(r1) +/* 80029740 000266A0 FC 20 60 18 */ frsp f1, f12 +/* 80029744 000266A4 C1 21 01 04 */ lfs f9, 0x104(r1) +/* 80029748 000266A8 FC 00 58 18 */ frsp f0, f11 +/* 8002974C 000266AC C1 01 01 08 */ lfs f8, 0x108(r1) +/* 80029750 000266B0 C0 E1 01 0C */ lfs f7, 0x10c(r1) +/* 80029754 000266B4 FC C0 50 18 */ frsp f6, f10 +/* 80029758 000266B8 FC A0 48 18 */ frsp f5, f9 +/* 8002975C 000266BC C3 61 00 EC */ lfs f27, 0xec(r1) +/* 80029760 000266C0 FC 80 40 18 */ frsp f4, f8 +/* 80029764 000266C4 80 01 00 F0 */ lwz r0, 0xf0(r1) +/* 80029768 000266C8 FC 60 38 18 */ frsp f3, f7 +/* 8002976C 000266CC EF FF 10 2A */ fadds f31, f31, f2 +/* 80029770 000266D0 EF DE 08 2A */ fadds f30, f30, f1 +/* 80029774 000266D4 D3 61 01 34 */ stfs f27, 0x134(r1) +/* 80029778 000266D8 EF BD 00 2A */ fadds f29, f29, f0 +/* 8002977C 000266DC 38 A1 00 70 */ addi r5, r1, 0x70 +/* 80029780 000266E0 90 01 01 38 */ stw r0, 0x138(r1) +/* 80029784 000266E4 D1 A1 01 3C */ stfs f13, 0x13c(r1) +/* 80029788 000266E8 D1 81 01 40 */ stfs f12, 0x140(r1) +/* 8002978C 000266EC D1 61 01 44 */ stfs f11, 0x144(r1) +/* 80029790 000266F0 D1 41 01 48 */ stfs f10, 0x148(r1) +/* 80029794 000266F4 D1 21 01 4C */ stfs f9, 0x14c(r1) +/* 80029798 000266F8 D1 01 01 50 */ stfs f8, 0x150(r1) +/* 8002979C 000266FC D0 E1 01 54 */ stfs f7, 0x154(r1) +/* 800297A0 00026700 D1 A1 00 AC */ stfs f13, 0xac(r1) +/* 800297A4 00026704 D1 81 00 B0 */ stfs f12, 0xb0(r1) +/* 800297A8 00026708 D1 61 00 B4 */ stfs f11, 0xb4(r1) +/* 800297AC 0002670C D1 41 00 B8 */ stfs f10, 0xb8(r1) +/* 800297B0 00026710 D1 21 00 BC */ stfs f9, 0xbc(r1) +/* 800297B4 00026714 D1 01 00 C0 */ stfs f8, 0xc0(r1) +/* 800297B8 00026718 D0 E1 00 C4 */ stfs f7, 0xc4(r1) +/* 800297BC 0002671C D0 C1 00 70 */ stfs f6, 0x70(r1) +/* 800297C0 00026720 D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 800297C4 00026724 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 800297C8 00026728 D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 800297CC 0002672C 48 2E 79 D5 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 800297D0 00026730 FC 00 D8 18 */ frsp f0, f27 +/* 800297D4 00026734 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800297D8 00026738 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 800297DC 0002673C 80 81 00 58 */ lwz r4, 0x58(r1) +/* 800297E0 00026740 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 800297E4 00026744 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800297E8 00026748 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 800297EC 0002674C 90 A1 00 84 */ stw r5, 0x84(r1) +/* 800297F0 00026750 90 81 00 88 */ stw r4, 0x88(r1) +/* 800297F4 00026754 90 61 00 8C */ stw r3, 0x8c(r1) +/* 800297F8 00026758 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800297FC 0002675C 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80029800: +/* 80029800 00026760 38 61 00 38 */ addi r3, r1, 0x38 +/* 80029804 00026764 48 31 EB E9 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 80029808 00026768 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002980C 0002676C 41 82 02 74 */ beq lbl_80029A80 +/* 80029810 00026770 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80029814 00026774 EC 00 D0 28 */ fsubs f0, f0, f26 +/* 80029818 00026778 FC 00 02 10 */ fabs f0, f0 +/* 8002981C 0002677C FC 00 C8 40 */ fcmpo cr0, f0, f25 +/* 80029820 00026780 40 80 FE 34 */ bge lbl_80029654 +/* 80029824 00026784 48 00 02 5C */ b lbl_80029A80 +lbl_80029828: +/* 80029828 00026788 80 9A 00 00 */ lwz r4, 0(r26) +/* 8002982C 0002678C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80029830 00026790 80 84 00 00 */ lwz r4, 0(r4) +/* 80029834 00026794 81 84 00 00 */ lwz r12, 0(r4) +/* 80029838 00026798 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8002983C 0002679C 7D 89 03 A6 */ mtctr r12 +/* 80029840 000267A0 4E 80 04 21 */ bctrl +/* 80029844 000267A4 C3 21 00 28 */ lfs f25, 0x28(r1) +/* 80029848 000267A8 C3 42 83 D0 */ lfs f26, lbl_805AA0F0@sda21(r2) +/* 8002984C 000267AC C3 62 83 D4 */ lfs f27, lbl_805AA0F4@sda21(r2) +/* 80029850 000267B0 48 00 02 0C */ b lbl_80029A5C +lbl_80029854: +/* 80029854 000267B4 80 7A 00 00 */ lwz r3, 0(r26) +/* 80029858 000267B8 7F 05 C3 78 */ mr r5, r24 +/* 8002985C 000267BC 80 FD 02 10 */ lwz r7, 0x210(r29) +/* 80029860 000267C0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80029864 000267C4 80 63 00 00 */ lwz r3, 0(r3) +/* 80029868 000267C8 38 C0 00 10 */ li r6, 0x10 +/* 8002986C 000267CC 39 00 00 00 */ li r8, 0 +/* 80029870 000267D0 48 2D 45 0D */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 80029874 000267D4 80 1D 02 10 */ lwz r0, 0x210(r29) +/* 80029878 000267D8 7E E5 BB 78 */ mr r5, r23 +/* 8002987C 000267DC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80029880 000267E0 38 C0 00 08 */ li r6, 8 +/* 80029884 000267E4 7C 00 1A 14 */ add r0, r0, r3 +/* 80029888 000267E8 39 00 00 00 */ li r8, 0 +/* 8002988C 000267EC 90 1D 02 10 */ stw r0, 0x210(r29) +/* 80029890 000267F0 80 7A 00 00 */ lwz r3, 0(r26) +/* 80029894 000267F4 80 FD 02 0C */ lwz r7, 0x20c(r29) +/* 80029898 000267F8 80 63 00 00 */ lwz r3, 0(r3) +/* 8002989C 000267FC 48 2D 45 5D */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 800298A0 00026800 80 1D 02 0C */ lwz r0, 0x20c(r29) +/* 800298A4 00026804 7E C5 B3 78 */ mr r5, r22 +/* 800298A8 00026808 38 81 00 38 */ addi r4, r1, 0x38 +/* 800298AC 0002680C 38 C0 00 14 */ li r6, 0x14 +/* 800298B0 00026810 7C 00 1A 14 */ add r0, r0, r3 +/* 800298B4 00026814 39 00 00 00 */ li r8, 0 +/* 800298B8 00026818 90 1D 02 0C */ stw r0, 0x20c(r29) +/* 800298BC 0002681C 80 7A 00 00 */ lwz r3, 0(r26) +/* 800298C0 00026820 80 FD 02 14 */ lwz r7, 0x214(r29) +/* 800298C4 00026824 80 63 00 00 */ lwz r3, 0(r3) +/* 800298C8 00026828 48 2D 44 39 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 800298CC 0002682C 80 1D 02 14 */ lwz r0, 0x214(r29) +/* 800298D0 00026830 7E A5 AB 78 */ mr r5, r21 +/* 800298D4 00026834 38 81 00 38 */ addi r4, r1, 0x38 +/* 800298D8 00026838 38 C0 00 14 */ li r6, 0x14 +/* 800298DC 0002683C 7C 00 1A 14 */ add r0, r0, r3 +/* 800298E0 00026840 39 00 00 00 */ li r8, 0 +/* 800298E4 00026844 90 1D 02 14 */ stw r0, 0x214(r29) +/* 800298E8 00026848 80 7A 00 00 */ lwz r3, 0(r26) +/* 800298EC 0002684C 80 FD 02 18 */ lwz r7, 0x218(r29) +/* 800298F0 00026850 80 63 00 00 */ lwz r3, 0(r3) +/* 800298F4 00026854 48 2D 43 91 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 800298F8 00026858 80 1D 02 18 */ lwz r0, 0x218(r29) +/* 800298FC 0002685C 7F 44 D3 78 */ mr r4, r26 +/* 80029900 00026860 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80029904 00026864 7C 00 1A 14 */ add r0, r0, r3 +/* 80029908 00026868 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8002990C 0002686C 90 1D 02 18 */ stw r0, 0x218(r29) +/* 80029910 00026870 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 80029914 00026874 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80029918 00026878 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8002991C 0002687C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80029920 00026880 48 00 04 3D */ bl "AdvanceAdditiveAnim__9CAnimDataFR23rc_ptr<13CAnimTreeNode>RC13CCharAnimTime" +/* 80029924 00026884 C1 A1 00 D0 */ lfs f13, 0xd0(r1) +/* 80029928 00026888 38 61 00 40 */ addi r3, r1, 0x40 +/* 8002992C 0002688C C1 81 00 D4 */ lfs f12, 0xd4(r1) +/* 80029930 00026890 38 81 00 80 */ addi r4, r1, 0x80 +/* 80029934 00026894 C1 61 00 D8 */ lfs f11, 0xd8(r1) +/* 80029938 00026898 FC 40 68 18 */ frsp f2, f13 +/* 8002993C 0002689C C1 41 00 DC */ lfs f10, 0xdc(r1) +/* 80029940 000268A0 FC 20 60 18 */ frsp f1, f12 +/* 80029944 000268A4 C1 21 00 E0 */ lfs f9, 0xe0(r1) +/* 80029948 000268A8 FC 00 58 18 */ frsp f0, f11 +/* 8002994C 000268AC C1 01 00 E4 */ lfs f8, 0xe4(r1) +/* 80029950 000268B0 C0 E1 00 E8 */ lfs f7, 0xe8(r1) +/* 80029954 000268B4 FC C0 50 18 */ frsp f6, f10 +/* 80029958 000268B8 FC A0 48 18 */ frsp f5, f9 +/* 8002995C 000268BC C3 21 00 C8 */ lfs f25, 0xc8(r1) +/* 80029960 000268C0 FC 80 40 18 */ frsp f4, f8 +/* 80029964 000268C4 80 01 00 CC */ lwz r0, 0xcc(r1) +/* 80029968 000268C8 FC 60 38 18 */ frsp f3, f7 +/* 8002996C 000268CC EF FF 10 2A */ fadds f31, f31, f2 +/* 80029970 000268D0 EF DE 08 2A */ fadds f30, f30, f1 +/* 80029974 000268D4 D3 21 01 10 */ stfs f25, 0x110(r1) +/* 80029978 000268D8 EF BD 00 2A */ fadds f29, f29, f0 +/* 8002997C 000268DC 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80029980 000268E0 90 01 01 14 */ stw r0, 0x114(r1) +/* 80029984 000268E4 D1 A1 01 18 */ stfs f13, 0x118(r1) +/* 80029988 000268E8 D1 81 01 1C */ stfs f12, 0x11c(r1) +/* 8002998C 000268EC D1 61 01 20 */ stfs f11, 0x120(r1) +/* 80029990 000268F0 D1 41 01 24 */ stfs f10, 0x124(r1) +/* 80029994 000268F4 D1 21 01 28 */ stfs f9, 0x128(r1) +/* 80029998 000268F8 D1 01 01 2C */ stfs f8, 0x12c(r1) +/* 8002999C 000268FC D0 E1 01 30 */ stfs f7, 0x130(r1) +/* 800299A0 00026900 D1 A1 00 90 */ stfs f13, 0x90(r1) +/* 800299A4 00026904 D1 81 00 94 */ stfs f12, 0x94(r1) +/* 800299A8 00026908 D1 61 00 98 */ stfs f11, 0x98(r1) +/* 800299AC 0002690C D1 41 00 9C */ stfs f10, 0x9c(r1) +/* 800299B0 00026910 D1 21 00 A0 */ stfs f9, 0xa0(r1) +/* 800299B4 00026914 D1 01 00 A4 */ stfs f8, 0xa4(r1) +/* 800299B8 00026918 D0 E1 00 A8 */ stfs f7, 0xa8(r1) +/* 800299BC 0002691C D0 C1 00 60 */ stfs f6, 0x60(r1) +/* 800299C0 00026920 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 800299C4 00026924 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 800299C8 00026928 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 800299CC 0002692C 48 2E 77 D5 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 800299D0 00026930 FC 00 C8 18 */ frsp f0, f25 +/* 800299D4 00026934 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 800299D8 00026938 80 C1 00 44 */ lwz r6, 0x44(r1) +/* 800299DC 0002693C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800299E0 00026940 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 800299E4 00026944 80 81 00 4C */ lwz r4, 0x4c(r1) +/* 800299E8 00026948 80 01 01 14 */ lwz r0, 0x114(r1) +/* 800299EC 0002694C D0 21 00 80 */ stfs f1, 0x80(r1) +/* 800299F0 00026950 90 C1 00 84 */ stw r6, 0x84(r1) +/* 800299F4 00026954 90 A1 00 88 */ stw r5, 0x88(r1) +/* 800299F8 00026958 90 81 00 8C */ stw r4, 0x8c(r1) +/* 800299FC 0002695C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80029A00 00026960 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80029A04 00026964 80 9A 00 00 */ lwz r4, 0(r26) +/* 80029A08 00026968 80 84 00 00 */ lwz r4, 0(r4) +/* 80029A0C 0002696C 81 84 00 00 */ lwz r12, 0(r4) +/* 80029A10 00026970 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80029A14 00026974 7D 89 03 A6 */ mtctr r12 +/* 80029A18 00026978 4E 80 04 21 */ bctrl +/* 80029A1C 0002697C C3 21 00 18 */ lfs f25, 0x18(r1) +/* 80029A20 00026980 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80029A24 00026984 D3 21 00 08 */ stfs f25, 8(r1) +/* 80029A28 00026988 FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 80029A2C 0002698C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80029A30 00026990 40 80 00 0C */ bge lbl_80029A3C +/* 80029A34 00026994 38 61 00 08 */ addi r3, r1, 8 +/* 80029A38 00026998 48 00 00 08 */ b lbl_80029A40 +lbl_80029A3C: +/* 80029A3C 0002699C 38 61 00 0C */ addi r3, r1, 0xc +lbl_80029A40: +/* 80029A40 000269A0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80029A44 000269A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80029A48 000269A8 48 31 F3 A5 */ bl __ct__13CCharAnimTimeFf +/* 80029A4C 000269AC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80029A50 000269B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80029A54 000269B4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80029A58 000269B8 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80029A5C: +/* 80029A5C 000269BC EC 19 D0 28 */ fsubs f0, f25, f26 +/* 80029A60 000269C0 FC 00 02 10 */ fabs f0, f0 +/* 80029A64 000269C4 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 80029A68 000269C8 41 80 00 18 */ blt lbl_80029A80 +/* 80029A6C 000269CC C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80029A70 000269D0 EC 00 D0 28 */ fsubs f0, f0, f26 +/* 80029A74 000269D4 FC 00 02 10 */ fabs f0, f0 +/* 80029A78 000269D8 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 80029A7C 000269DC 40 80 FD D8 */ bge lbl_80029854 +lbl_80029A80: +/* 80029A80 000269E0 3B DE 00 01 */ addi r30, r30, 1 +/* 80029A84 000269E4 3B 7B 00 28 */ addi r27, r27, 0x28 +lbl_80029A88: +/* 80029A88 000269E8 7C 1E F8 40 */ cmplw r30, r31 +/* 80029A8C 000269EC 41 80 FB 98 */ blt lbl_80029624 +/* 80029A90 000269F0 D3 FC 00 00 */ stfs f31, 0(r28) +/* 80029A94 000269F4 D3 DC 00 04 */ stfs f30, 4(r28) +/* 80029A98 000269F8 D3 BC 00 08 */ stfs f29, 8(r28) +/* 80029A9C 000269FC C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80029AA0 00026A00 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 80029AA4 00026A04 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80029AA8 00026A08 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 80029AAC 00026A0C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80029AB0 00026A10 D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 80029AB4 00026A14 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80029AB8 00026A18 D0 1C 00 18 */ stfs f0, 0x18(r28) +/* 80029ABC 00026A1C E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 80029AC0 00026A20 CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 80029AC4 00026A24 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 80029AC8 00026A28 CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 80029ACC 00026A2C E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 +/* 80029AD0 00026A30 CB A1 01 D0 */ lfd f29, 0x1d0(r1) +/* 80029AD4 00026A34 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 +/* 80029AD8 00026A38 CB 81 01 C0 */ lfd f28, 0x1c0(r1) +/* 80029ADC 00026A3C E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 +/* 80029AE0 00026A40 CB 61 01 B0 */ lfd f27, 0x1b0(r1) +/* 80029AE4 00026A44 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 +/* 80029AE8 00026A48 CB 41 01 A0 */ lfd f26, 0x1a0(r1) +/* 80029AEC 00026A4C E3 21 01 98 */ psq_l f25, 408(r1), 0, qr0 +/* 80029AF0 00026A50 CB 21 01 90 */ lfd f25, 0x190(r1) +/* 80029AF4 00026A54 BA 81 01 60 */ lmw r20, 0x160(r1) +/* 80029AF8 00026A58 80 01 02 04 */ lwz r0, 0x204(r1) +/* 80029AFC 00026A5C 7C 08 03 A6 */ mtlr r0 +/* 80029B00 00026A60 38 21 02 00 */ addi r1, r1, 0x200 +/* 80029B04 00026A64 4E 80 00 20 */ blr + +.global UpdateAdditiveAnims__9CAnimDataFf +UpdateAdditiveAnims__9CAnimDataFf: +/* 80029B08 00026A68 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80029B0C 00026A6C 7C 08 02 A6 */ mflr r0 +/* 80029B10 00026A70 90 01 00 64 */ stw r0, 0x64(r1) +/* 80029B14 00026A74 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80029B18 00026A78 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80029B1C 00026A7C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80029B20 00026A80 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80029B24 00026A84 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 80029B28 00026A88 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 80029B2C 00026A8C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80029B30 00026A90 7C 9C 23 78 */ mr r28, r4 +/* 80029B34 00026A94 FF A0 08 90 */ fmr f29, f1 +/* 80029B38 00026A98 3B FC 04 38 */ addi r31, r28, 0x438 +/* 80029B3C 00026A9C C3 C2 83 D0 */ lfs f30, lbl_805AA0F0@sda21(r2) +/* 80029B40 00026AA0 C3 E2 83 D4 */ lfs f31, lbl_805AA0F4@sda21(r2) +/* 80029B44 00026AA4 7C 7B 1B 78 */ mr r27, r3 +/* 80029B48 00026AA8 7F FE FB 78 */ mr r30, r31 +/* 80029B4C 00026AAC 48 00 00 7C */ b lbl_80029BC8 +lbl_80029B50: +/* 80029B50 00026AB0 FC 20 E8 90 */ fmr f1, f29 +/* 80029B54 00026AB4 3B BE 00 04 */ addi r29, r30, 4 +/* 80029B58 00026AB8 7F A3 EB 78 */ mr r3, r29 +/* 80029B5C 00026ABC 48 33 40 9D */ bl Update__21CAdditiveAnimPlaybackFf +/* 80029B60 00026AC0 80 9D 00 08 */ lwz r4, 8(r29) +/* 80029B64 00026AC4 38 61 00 08 */ addi r3, r1, 8 +/* 80029B68 00026AC8 80 84 00 00 */ lwz r4, 0(r4) +/* 80029B6C 00026ACC 81 84 00 00 */ lwz r12, 0(r4) +/* 80029B70 00026AD0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80029B74 00026AD4 7D 89 03 A6 */ mtctr r12 +/* 80029B78 00026AD8 4E 80 04 21 */ bctrl +/* 80029B7C 00026ADC C0 01 00 08 */ lfs f0, 8(r1) +/* 80029B80 00026AE0 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80029B84 00026AE4 FC 00 02 10 */ fabs f0, f0 +/* 80029B88 00026AE8 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80029B8C 00026AEC 40 80 00 18 */ bge lbl_80029BA4 +/* 80029B90 00026AF0 88 1D 00 20 */ lbz r0, 0x20(r29) +/* 80029B94 00026AF4 28 00 00 00 */ cmplwi r0, 0 +/* 80029B98 00026AF8 41 82 00 0C */ beq lbl_80029BA4 +/* 80029B9C 00026AFC 7F A3 EB 78 */ mr r3, r29 +/* 80029BA0 00026B00 48 33 41 71 */ bl FadeOut__21CAdditiveAnimPlaybackFv +lbl_80029BA4: +/* 80029BA4 00026B04 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 80029BA8 00026B08 2C 00 00 04 */ cmpwi r0, 4 +/* 80029BAC 00026B0C 40 82 00 18 */ bne lbl_80029BC4 +/* 80029BB0 00026B10 7F C4 F3 78 */ mr r4, r30 +/* 80029BB4 00026B14 38 7C 04 34 */ addi r3, r28, 0x434 +/* 80029BB8 00026B18 48 00 00 61 */ bl sub_80029c18 +/* 80029BBC 00026B1C 7C 7E 1B 78 */ mr r30, r3 +/* 80029BC0 00026B20 48 00 00 08 */ b lbl_80029BC8 +lbl_80029BC4: +/* 80029BC4 00026B24 3B DE 00 28 */ addi r30, r30, 0x28 +lbl_80029BC8: +/* 80029BC8 00026B28 80 1C 04 34 */ lwz r0, 0x434(r28) +/* 80029BCC 00026B2C 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80029BD0 00026B30 7C 1F 02 14 */ add r0, r31, r0 +/* 80029BD4 00026B34 7C 1E 00 40 */ cmplw r30, r0 +/* 80029BD8 00026B38 40 82 FF 78 */ bne lbl_80029B50 +/* 80029BDC 00026B3C FC 20 E8 90 */ fmr f1, f29 +/* 80029BE0 00026B40 7F 63 DB 78 */ mr r3, r27 +/* 80029BE4 00026B44 7F 84 E3 78 */ mr r4, r28 +/* 80029BE8 00026B48 4B FF F9 71 */ bl AdvanceAdditiveAnims__9CAnimDataFf +/* 80029BEC 00026B4C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80029BF0 00026B50 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80029BF4 00026B54 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80029BF8 00026B58 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80029BFC 00026B5C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80029C00 00026B60 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80029C04 00026B64 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80029C08 00026B68 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80029C0C 00026B6C 7C 08 03 A6 */ mtlr r0 +/* 80029C10 00026B70 38 21 00 60 */ addi r1, r1, 0x60 +/* 80029C14 00026B74 4E 80 00 20 */ blr + +.global sub_80029c18 +sub_80029c18: +/* 80029C18 00026B78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80029C1C 00026B7C 7C 08 02 A6 */ mflr r0 +/* 80029C20 00026B80 90 01 00 24 */ stw r0, 0x24(r1) +/* 80029C24 00026B84 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80029C28 00026B88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80029C2C 00026B8C 7C 9E 23 78 */ mr r30, r4 +/* 80029C30 00026B90 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80029C34 00026B94 7C 7D 1B 78 */ mr r29, r3 +/* 80029C38 00026B98 38 1D 00 04 */ addi r0, r29, 4 +/* 80029C3C 00026B9C 7C 1E 00 40 */ cmplw r30, r0 +/* 80029C40 00026BA0 41 80 00 F0 */ blt lbl_80029D30 +/* 80029C44 00026BA4 80 1D 00 00 */ lwz r0, 0(r29) +/* 80029C48 00026BA8 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80029C4C 00026BAC 7C 7D 02 14 */ add r3, r29, r0 +/* 80029C50 00026BB0 38 03 00 04 */ addi r0, r3, 4 +/* 80029C54 00026BB4 7C 1E 00 40 */ cmplw r30, r0 +/* 80029C58 00026BB8 40 80 00 D8 */ bge lbl_80029D30 +/* 80029C5C 00026BBC 7F DF F3 78 */ mr r31, r30 +/* 80029C60 00026BC0 48 00 00 80 */ b lbl_80029CE0 +lbl_80029C64: +/* 80029C64 00026BC4 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80029C68 00026BC8 90 1F 00 00 */ stw r0, 0(r31) +/* 80029C6C 00026BCC 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80029C70 00026BD0 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 80029C74 00026BD4 90 7F 00 04 */ stw r3, 4(r31) +/* 80029C78 00026BD8 90 1F 00 08 */ stw r0, 8(r31) +/* 80029C7C 00026BDC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80029C80 00026BE0 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80029C84 00026BE4 7C 03 00 40 */ cmplw r3, r0 +/* 80029C88 00026BE8 41 82 00 24 */ beq lbl_80029CAC +/* 80029C8C 00026BEC 38 7F 00 0C */ addi r3, r31, 0xc +/* 80029C90 00026BF0 48 00 73 11 */ bl sub_80030fa0 +/* 80029C94 00026BF4 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80029C98 00026BF8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80029C9C 00026BFC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80029CA0 00026C00 80 64 00 04 */ lwz r3, 4(r4) +/* 80029CA4 00026C04 38 03 00 01 */ addi r0, r3, 1 +/* 80029CA8 00026C08 90 04 00 04 */ stw r0, 4(r4) +lbl_80029CAC: +/* 80029CAC 00026C0C C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80029CB0 00026C10 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80029CB4 00026C14 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80029CB8 00026C18 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80029CBC 00026C1C 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 80029CC0 00026C20 98 1F 00 18 */ stb r0, 0x18(r31) +/* 80029CC4 00026C24 C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 80029CC8 00026C28 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80029CCC 00026C2C 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 80029CD0 00026C30 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80029CD4 00026C34 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80029CD8 00026C38 98 1F 00 24 */ stb r0, 0x24(r31) +/* 80029CDC 00026C3C 3B FF 00 28 */ addi r31, r31, 0x28 +lbl_80029CE0: +/* 80029CE0 00026C40 80 1D 00 00 */ lwz r0, 0(r29) +/* 80029CE4 00026C44 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80029CE8 00026C48 7C 7D 02 14 */ add r3, r29, r0 +/* 80029CEC 00026C4C 38 63 FF DC */ addi r3, r3, -36 +/* 80029CF0 00026C50 7C 1F 18 40 */ cmplw r31, r3 +/* 80029CF4 00026C54 41 80 FF 70 */ blt lbl_80029C64 +/* 80029CF8 00026C58 28 03 00 00 */ cmplwi r3, 0 +/* 80029CFC 00026C5C 41 82 00 20 */ beq lbl_80029D1C +/* 80029D00 00026C60 34 03 00 04 */ addic. r0, r3, 4 +/* 80029D04 00026C64 41 82 00 18 */ beq lbl_80029D1C +/* 80029D08 00026C68 34 63 00 0C */ addic. r3, r3, 0xc +/* 80029D0C 00026C6C 41 82 00 10 */ beq lbl_80029D1C +/* 80029D10 00026C70 28 03 00 00 */ cmplwi r3, 0 +/* 80029D14 00026C74 41 82 00 08 */ beq lbl_80029D1C +/* 80029D18 00026C78 48 00 72 89 */ bl sub_80030fa0 +lbl_80029D1C: +/* 80029D1C 00026C7C 80 9D 00 00 */ lwz r4, 0(r29) +/* 80029D20 00026C80 7F C3 F3 78 */ mr r3, r30 +/* 80029D24 00026C84 38 04 FF FF */ addi r0, r4, -1 +/* 80029D28 00026C88 90 1D 00 00 */ stw r0, 0(r29) +/* 80029D2C 00026C8C 48 00 00 14 */ b lbl_80029D40 +lbl_80029D30: +/* 80029D30 00026C90 80 1D 00 00 */ lwz r0, 0(r29) +/* 80029D34 00026C94 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80029D38 00026C98 7C 7D 02 14 */ add r3, r29, r0 +/* 80029D3C 00026C9C 38 63 00 04 */ addi r3, r3, 4 +lbl_80029D40: +/* 80029D40 00026CA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80029D44 00026CA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80029D48 00026CA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80029D4C 00026CAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80029D50 00026CB0 7C 08 03 A6 */ mtlr r0 +/* 80029D54 00026CB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80029D58 00026CB8 4E 80 00 20 */ blr + +.global "AdvanceAdditiveAnim__9CAnimDataFR23rc_ptr<13CAnimTreeNode>RC13CCharAnimTime" +"AdvanceAdditiveAnim__9CAnimDataFR23rc_ptr<13CAnimTreeNode>RC13CCharAnimTime": +/* 80029D5C 00026CBC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80029D60 00026CC0 7C 08 02 A6 */ mflr r0 +/* 80029D64 00026CC4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80029D68 00026CC8 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80029D6C 00026CCC F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80029D70 00026CD0 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80029D74 00026CD4 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80029D78 00026CD8 7C 9F 23 78 */ mr r31, r4 +/* 80029D7C 00026CDC 7C 7E 1B 78 */ mr r30, r3 +/* 80029D80 00026CE0 80 84 00 00 */ lwz r4, 0(r4) +/* 80029D84 00026CE4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80029D88 00026CE8 80 84 00 00 */ lwz r4, 0(r4) +/* 80029D8C 00026CEC 81 84 00 00 */ lwz r12, 0(r4) +/* 80029D90 00026CF0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80029D94 00026CF4 7D 89 03 A6 */ mtctr r12 +/* 80029D98 00026CF8 4E 80 04 21 */ bctrl +/* 80029D9C 00026CFC 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80029DA0 00026D00 38 61 00 0C */ addi r3, r1, 0xc +/* 80029DA4 00026D04 C0 C1 00 2C */ lfs f6, 0x2c(r1) +/* 80029DA8 00026D08 C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 80029DAC 00026D0C C0 81 00 34 */ lfs f4, 0x34(r1) +/* 80029DB0 00026D10 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 80029DB4 00026D14 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 80029DB8 00026D18 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80029DBC 00026D1C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80029DC0 00026D20 80 9F 00 00 */ lwz r4, 0(r31) +/* 80029DC4 00026D24 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80029DC8 00026D28 C3 E1 00 24 */ lfs f31, 0x24(r1) +/* 80029DCC 00026D2C D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 80029DD0 00026D30 80 84 00 00 */ lwz r4, 0(r4) +/* 80029DD4 00026D34 D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 80029DD8 00026D38 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 80029DDC 00026D3C D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 80029DE0 00026D40 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80029DE4 00026D44 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80029DE8 00026D48 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80029DEC 00026D4C 48 00 01 79 */ bl Simplified__11IAnimReaderFv +/* 80029DF0 00026D50 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80029DF4 00026D54 28 00 00 00 */ cmplwi r0, 0 +/* 80029DF8 00026D58 98 01 00 20 */ stb r0, 0x20(r1) +/* 80029DFC 00026D5C 41 82 00 24 */ beq lbl_80029E20 +/* 80029E00 00026D60 34 81 00 18 */ addic. r4, r1, 0x18 +/* 80029E04 00026D64 41 82 00 1C */ beq lbl_80029E20 +/* 80029E08 00026D68 88 61 00 0C */ lbz r3, 0xc(r1) +/* 80029E0C 00026D6C 38 00 00 00 */ li r0, 0 +/* 80029E10 00026D70 98 64 00 00 */ stb r3, 0(r4) +/* 80029E14 00026D74 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80029E18 00026D78 90 64 00 04 */ stw r3, 4(r4) +/* 80029E1C 00026D7C 98 01 00 0C */ stb r0, 0xc(r1) +lbl_80029E20: +/* 80029E20 00026D80 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80029E24 00026D84 28 00 00 00 */ cmplwi r0, 0 +/* 80029E28 00026D88 41 82 00 38 */ beq lbl_80029E60 +/* 80029E2C 00026D8C 34 61 00 0C */ addic. r3, r1, 0xc +/* 80029E30 00026D90 41 82 00 30 */ beq lbl_80029E60 +/* 80029E34 00026D94 88 03 00 00 */ lbz r0, 0(r3) +/* 80029E38 00026D98 28 00 00 00 */ cmplwi r0, 0 +/* 80029E3C 00026D9C 41 82 00 24 */ beq lbl_80029E60 +/* 80029E40 00026DA0 80 63 00 04 */ lwz r3, 4(r3) +/* 80029E44 00026DA4 28 03 00 00 */ cmplwi r3, 0 +/* 80029E48 00026DA8 41 82 00 18 */ beq lbl_80029E60 +/* 80029E4C 00026DAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80029E50 00026DB0 38 80 00 01 */ li r4, 1 +/* 80029E54 00026DB4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80029E58 00026DB8 7D 89 03 A6 */ mtctr r12 +/* 80029E5C 00026DBC 4E 80 04 21 */ bctrl +lbl_80029E60: +/* 80029E60 00026DC0 88 01 00 20 */ lbz r0, 0x20(r1) +/* 80029E64 00026DC4 38 60 00 00 */ li r3, 0 +/* 80029E68 00026DC8 98 61 00 14 */ stb r3, 0x14(r1) +/* 80029E6C 00026DCC 28 00 00 00 */ cmplwi r0, 0 +/* 80029E70 00026DD0 41 82 00 48 */ beq lbl_80029EB8 +/* 80029E74 00026DD4 38 61 00 08 */ addi r3, r1, 8 +/* 80029E78 00026DD8 38 81 00 18 */ addi r4, r1, 0x18 +/* 80029E7C 00026DDC 48 2C 9D 7D */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 80029E80 00026DE0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80029E84 00026DE4 80 01 00 08 */ lwz r0, 8(r1) +/* 80029E88 00026DE8 7C 03 00 40 */ cmplw r3, r0 +/* 80029E8C 00026DEC 41 82 00 24 */ beq lbl_80029EB0 +/* 80029E90 00026DF0 7F E3 FB 78 */ mr r3, r31 +/* 80029E94 00026DF4 48 00 71 0D */ bl sub_80030fa0 +/* 80029E98 00026DF8 80 01 00 08 */ lwz r0, 8(r1) +/* 80029E9C 00026DFC 90 1F 00 00 */ stw r0, 0(r31) +/* 80029EA0 00026E00 80 9F 00 00 */ lwz r4, 0(r31) +/* 80029EA4 00026E04 80 64 00 04 */ lwz r3, 4(r4) +/* 80029EA8 00026E08 38 03 00 01 */ addi r0, r3, 1 +/* 80029EAC 00026E0C 90 04 00 04 */ stw r0, 4(r4) +lbl_80029EB0: +/* 80029EB0 00026E10 38 61 00 08 */ addi r3, r1, 8 +/* 80029EB4 00026E14 48 00 70 ED */ bl sub_80030fa0 +lbl_80029EB8: +/* 80029EB8 00026E18 D3 FE 00 00 */ stfs f31, 0(r30) +/* 80029EBC 00026E1C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80029EC0 00026E20 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80029EC4 00026E24 90 1E 00 04 */ stw r0, 4(r30) +/* 80029EC8 00026E28 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 80029ECC 00026E2C D0 1E 00 08 */ stfs f0, 8(r30) +/* 80029ED0 00026E30 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80029ED4 00026E34 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80029ED8 00026E38 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 80029EDC 00026E3C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 80029EE0 00026E40 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 80029EE4 00026E44 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80029EE8 00026E48 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 80029EEC 00026E4C D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80029EF0 00026E50 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80029EF4 00026E54 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80029EF8 00026E58 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80029EFC 00026E5C 88 01 00 20 */ lbz r0, 0x20(r1) +/* 80029F00 00026E60 28 00 00 00 */ cmplwi r0, 0 +/* 80029F04 00026E64 41 82 00 38 */ beq lbl_80029F3C +/* 80029F08 00026E68 34 61 00 18 */ addic. r3, r1, 0x18 +/* 80029F0C 00026E6C 41 82 00 30 */ beq lbl_80029F3C +/* 80029F10 00026E70 88 03 00 00 */ lbz r0, 0(r3) +/* 80029F14 00026E74 28 00 00 00 */ cmplwi r0, 0 +/* 80029F18 00026E78 41 82 00 24 */ beq lbl_80029F3C +/* 80029F1C 00026E7C 80 63 00 04 */ lwz r3, 4(r3) +/* 80029F20 00026E80 28 03 00 00 */ cmplwi r3, 0 +/* 80029F24 00026E84 41 82 00 18 */ beq lbl_80029F3C +/* 80029F28 00026E88 81 83 00 00 */ lwz r12, 0(r3) +/* 80029F2C 00026E8C 38 80 00 01 */ li r4, 1 +/* 80029F30 00026E90 81 8C 00 08 */ lwz r12, 8(r12) +/* 80029F34 00026E94 7D 89 03 A6 */ mtctr r12 +/* 80029F38 00026E98 4E 80 04 21 */ bctrl +lbl_80029F3C: +/* 80029F3C 00026E9C 38 00 00 00 */ li r0, 0 +/* 80029F40 00026EA0 98 01 00 20 */ stb r0, 0x20(r1) +/* 80029F44 00026EA4 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80029F48 00026EA8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80029F4C 00026EAC CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80029F50 00026EB0 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80029F54 00026EB4 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80029F58 00026EB8 7C 08 03 A6 */ mtlr r0 +/* 80029F5C 00026EBC 38 21 00 90 */ addi r1, r1, 0x90 +/* 80029F60 00026EC0 4E 80 00 20 */ blr + +.global Simplified__11IAnimReaderFv +Simplified__11IAnimReaderFv: +/* 80029F64 00026EC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80029F68 00026EC8 7C 08 02 A6 */ mflr r0 +/* 80029F6C 00026ECC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80029F70 00026ED0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80029F74 00026ED4 7C 7F 1B 78 */ mr r31, r3 +/* 80029F78 00026ED8 81 84 00 00 */ lwz r12, 0(r4) +/* 80029F7C 00026EDC 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 80029F80 00026EE0 7D 89 03 A6 */ mtctr r12 +/* 80029F84 00026EE4 4E 80 04 21 */ bctrl +/* 80029F88 00026EE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80029F8C 00026EEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80029F90 00026EF0 7C 08 03 A6 */ mtlr r0 +/* 80029F94 00026EF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80029F98 00026EF8 4E 80 00 20 */ blr + +.global IsAdditiveAnimation__9CAnimDataCFUi +IsAdditiveAnimation__9CAnimDataCFUi: +/* 80029F9C 00026EFC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80029FA0 00026F00 7C 08 02 A6 */ mflr r0 +/* 80029FA4 00026F04 54 85 10 3A */ slwi r5, r4, 2 +/* 80029FA8 00026F08 90 01 00 44 */ stw r0, 0x44(r1) +/* 80029FAC 00026F0C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80029FB0 00026F10 89 21 00 0C */ lbz r9, 0xc(r1) +/* 80029FB4 00026F14 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80029FB8 00026F18 83 E3 00 08 */ lwz r31, 8(r3) +/* 80029FBC 00026F1C 80 C3 00 C8 */ lwz r6, 0xc8(r3) +/* 80029FC0 00026F20 38 61 00 18 */ addi r3, r1, 0x18 +/* 80029FC4 00026F24 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 80029FC8 00026F28 7C E6 28 2E */ lwzx r7, r6, r5 +/* 80029FCC 00026F2C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80029FD0 00026F30 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80029FD4 00026F34 81 1F 00 4C */ lwz r8, 0x4c(r31) +/* 80029FD8 00026F38 90 E1 00 30 */ stw r7, 0x30(r1) +/* 80029FDC 00026F3C 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80029FE0 00026F40 38 E1 00 08 */ addi r7, r1, 8 +/* 80029FE4 00026F44 7D 08 02 14 */ add r8, r8, r0 +/* 80029FE8 00026F48 91 01 00 28 */ stw r8, 0x28(r1) +/* 80029FEC 00026F4C 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80029FF0 00026F50 99 21 00 10 */ stb r9, 0x10(r1) +/* 80029FF4 00026F54 91 01 00 24 */ stw r8, 0x24(r1) +/* 80029FF8 00026F58 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80029FFC 00026F5C 99 21 00 08 */ stb r9, 8(r1) +/* 8002A000 00026F60 91 01 00 20 */ stw r8, 0x20(r1) +/* 8002A004 00026F64 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8002A008 00026F68 48 00 71 E1 */ bl "lower_bound,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl79pair_sorter_finder,Q24rstl8less>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_p" +/* 8002A00C 00026F6C 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8002A010 00026F70 38 80 00 00 */ li r4, 0 +/* 8002A014 00026F74 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8002A018 00026F78 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8002A01C 00026F7C 7C 05 00 40 */ cmplw r5, r0 +/* 8002A020 00026F80 41 82 00 18 */ beq lbl_8002A038 +/* 8002A024 00026F84 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8002A028 00026F88 80 05 00 00 */ lwz r0, 0(r5) +/* 8002A02C 00026F8C 7C 03 00 40 */ cmplw r3, r0 +/* 8002A030 00026F90 41 80 00 08 */ blt lbl_8002A038 +/* 8002A034 00026F94 38 80 00 01 */ li r4, 1 +lbl_8002A038: +/* 8002A038 00026F98 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8002A03C 00026F9C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002A040 00026FA0 41 82 00 08 */ beq lbl_8002A048 +/* 8002A044 00026FA4 38 81 00 14 */ addi r4, r1, 0x14 +lbl_8002A048: +/* 8002A048 00026FA8 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8002A04C 00026FAC 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 8002A050 00026FB0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8002A054 00026FB4 80 84 00 00 */ lwz r4, 0(r4) +/* 8002A058 00026FB8 7C 03 02 14 */ add r0, r3, r0 +/* 8002A05C 00026FBC 7C 64 00 50 */ subf r3, r4, r0 +/* 8002A060 00026FC0 7C 00 20 50 */ subf r0, r0, r4 +/* 8002A064 00026FC4 7C 60 03 78 */ or r0, r3, r0 +/* 8002A068 00026FC8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8002A06C 00026FCC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8002A070 00026FD0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8002A074 00026FD4 7C 08 03 A6 */ mtlr r0 +/* 8002A078 00026FD8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8002A07C 00026FDC 4E 80 00 20 */ blr + +.global GetRootAnimationTree__9CAnimDataCFv +GetRootAnimationTree__9CAnimDataCFv: +/* 8002A080 00026FE0 38 63 01 F8 */ addi r3, r3, 0x1f8 +/* 8002A084 00026FE4 4E 80 00 20 */ blr + +.global GetAdditiveAnimationTree__9CAnimDataCFUi +GetAdditiveAnimationTree__9CAnimDataCFUi: +/* 8002A088 00026FE8 80 03 04 34 */ lwz r0, 0x434(r3) +/* 8002A08C 00026FEC 38 C3 04 38 */ addi r6, r3, 0x438 +/* 8002A090 00026FF0 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 8002A094 00026FF4 54 83 10 3A */ slwi r3, r4, 2 +/* 8002A098 00026FF8 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002A09C 00026FFC 7C 85 18 2E */ lwzx r4, r5, r3 +/* 8002A0A0 00027000 7C 66 02 14 */ add r3, r6, r0 +/* 8002A0A4 00027004 48 00 00 14 */ b lbl_8002A0B8 +lbl_8002A0A8: +/* 8002A0A8 00027008 80 06 00 00 */ lwz r0, 0(r6) +/* 8002A0AC 0002700C 7C 04 00 40 */ cmplw r4, r0 +/* 8002A0B0 00027010 41 82 00 10 */ beq lbl_8002A0C0 +/* 8002A0B4 00027014 38 C6 00 28 */ addi r6, r6, 0x28 +lbl_8002A0B8: +/* 8002A0B8 00027018 7C 06 18 40 */ cmplw r6, r3 +/* 8002A0BC 0002701C 40 82 FF EC */ bne lbl_8002A0A8 +lbl_8002A0C0: +/* 8002A0C0 00027020 38 66 00 0C */ addi r3, r6, 0xc +/* 8002A0C4 00027024 4E 80 00 20 */ blr + +.global IsAdditiveAnimationAdded__9CAnimDataCFUi +IsAdditiveAnimationAdded__9CAnimDataCFUi: +/* 8002A0C8 00027028 80 03 04 34 */ lwz r0, 0x434(r3) +/* 8002A0CC 0002702C 38 C3 04 38 */ addi r6, r3, 0x438 +/* 8002A0D0 00027030 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 8002A0D4 00027034 54 83 10 3A */ slwi r3, r4, 2 +/* 8002A0D8 00027038 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002A0DC 0002703C 7C 85 18 2E */ lwzx r4, r5, r3 +/* 8002A0E0 00027040 7C 66 02 14 */ add r3, r6, r0 +/* 8002A0E4 00027044 48 00 00 1C */ b lbl_8002A100 +lbl_8002A0E8: +/* 8002A0E8 00027048 80 06 00 00 */ lwz r0, 0(r6) +/* 8002A0EC 0002704C 7C 04 00 40 */ cmplw r4, r0 +/* 8002A0F0 00027050 40 82 00 0C */ bne lbl_8002A0FC +/* 8002A0F4 00027054 38 60 00 01 */ li r3, 1 +/* 8002A0F8 00027058 4E 80 00 20 */ blr +lbl_8002A0FC: +/* 8002A0FC 0002705C 38 C6 00 28 */ addi r6, r6, 0x28 +lbl_8002A100: +/* 8002A100 00027060 7C 06 18 40 */ cmplw r6, r3 +/* 8002A104 00027064 40 82 FF E4 */ bne lbl_8002A0E8 +/* 8002A108 00027068 38 60 00 00 */ li r3, 0 +/* 8002A10C 0002706C 4E 80 00 20 */ blr + +.global GetAdditiveAnimationWeight__9CAnimDataFUi +GetAdditiveAnimationWeight__9CAnimDataFUi: +/* 8002A110 00027070 80 03 04 34 */ lwz r0, 0x434(r3) +/* 8002A114 00027074 38 C3 04 38 */ addi r6, r3, 0x438 +/* 8002A118 00027078 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 8002A11C 0002707C 54 83 10 3A */ slwi r3, r4, 2 +/* 8002A120 00027080 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002A124 00027084 7C 85 18 2E */ lwzx r4, r5, r3 +/* 8002A128 00027088 7C 66 02 14 */ add r3, r6, r0 +/* 8002A12C 0002708C 48 00 00 1C */ b lbl_8002A148 +lbl_8002A130: +/* 8002A130 00027090 80 06 00 00 */ lwz r0, 0(r6) +/* 8002A134 00027094 7C 04 00 40 */ cmplw r4, r0 +/* 8002A138 00027098 40 82 00 0C */ bne lbl_8002A144 +/* 8002A13C 0002709C C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8002A140 000270A0 4E 80 00 20 */ blr +lbl_8002A144: +/* 8002A144 000270A4 38 C6 00 28 */ addi r6, r6, 0x28 +lbl_8002A148: +/* 8002A148 000270A8 7C 06 18 40 */ cmplw r6, r3 +/* 8002A14C 000270AC 40 82 FF E4 */ bne lbl_8002A130 +/* 8002A150 000270B0 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) +/* 8002A154 000270B4 4E 80 00 20 */ blr + +.global DelAdditiveAnimation__9CAnimDataFUi +DelAdditiveAnimation__9CAnimDataFUi: +/* 8002A158 000270B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002A15C 000270BC 7C 08 02 A6 */ mflr r0 +/* 8002A160 000270C0 38 C3 04 38 */ addi r6, r3, 0x438 +/* 8002A164 000270C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002A168 000270C8 80 03 04 34 */ lwz r0, 0x434(r3) +/* 8002A16C 000270CC 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 8002A170 000270D0 54 83 10 3A */ slwi r3, r4, 2 +/* 8002A174 000270D4 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002A178 000270D8 7C 85 18 2E */ lwzx r4, r5, r3 +/* 8002A17C 000270DC 7C 66 02 14 */ add r3, r6, r0 +/* 8002A180 000270E0 48 00 00 14 */ b lbl_8002A194 +lbl_8002A184: +/* 8002A184 000270E4 80 06 00 00 */ lwz r0, 0(r6) +/* 8002A188 000270E8 7C 04 00 40 */ cmplw r4, r0 +/* 8002A18C 000270EC 41 82 00 10 */ beq lbl_8002A19C +/* 8002A190 000270F0 38 C6 00 28 */ addi r6, r6, 0x28 +lbl_8002A194: +/* 8002A194 000270F4 7C 06 18 40 */ cmplw r6, r3 +/* 8002A198 000270F8 40 82 FF EC */ bne lbl_8002A184 +lbl_8002A19C: +/* 8002A19C 000270FC 7C 06 18 40 */ cmplw r6, r3 +/* 8002A1A0 00027100 41 82 00 20 */ beq lbl_8002A1C0 +/* 8002A1A4 00027104 38 66 00 04 */ addi r3, r6, 4 +/* 8002A1A8 00027108 80 06 00 20 */ lwz r0, 0x20(r6) +/* 8002A1AC 0002710C 2C 00 00 02 */ cmpwi r0, 2 +/* 8002A1B0 00027110 41 82 00 10 */ beq lbl_8002A1C0 +/* 8002A1B4 00027114 2C 00 00 04 */ cmpwi r0, 4 +/* 8002A1B8 00027118 41 82 00 08 */ beq lbl_8002A1C0 +/* 8002A1BC 0002711C 48 33 3B 55 */ bl FadeOut__21CAdditiveAnimPlaybackFv +lbl_8002A1C0: +/* 8002A1C0 00027120 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002A1C4 00027124 7C 08 03 A6 */ mtlr r0 +/* 8002A1C8 00027128 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002A1CC 0002712C 4E 80 00 20 */ blr + +.global AddAdditiveAnimation__9CAnimDataFUifbb +AddAdditiveAnimation__9CAnimDataFUifbb: +/* 8002A1D0 00027130 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 8002A1D4 00027134 7C 08 02 A6 */ mflr r0 +/* 8002A1D8 00027138 90 01 01 54 */ stw r0, 0x154(r1) +/* 8002A1DC 0002713C DB E1 01 40 */ stfd f31, 0x140(r1) +/* 8002A1E0 00027140 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 8002A1E4 00027144 BF 61 01 2C */ stmw r27, 0x12c(r1) +/* 8002A1E8 00027148 7C 7B 1B 78 */ mr r27, r3 +/* 8002A1EC 0002714C 54 83 10 3A */ slwi r3, r4, 2 +/* 8002A1F0 00027150 80 9B 00 C8 */ lwz r4, 0xc8(r27) +/* 8002A1F4 00027154 3B DB 04 38 */ addi r30, r27, 0x438 +/* 8002A1F8 00027158 80 1B 04 34 */ lwz r0, 0x434(r27) +/* 8002A1FC 0002715C FF E0 08 90 */ fmr f31, f1 +/* 8002A200 00027160 7C 64 18 2E */ lwzx r3, r4, r3 +/* 8002A204 00027164 7C BC 2B 78 */ mr r28, r5 +/* 8002A208 00027168 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002A20C 0002716C 7C DD 33 78 */ mr r29, r6 +/* 8002A210 00027170 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8002A214 00027174 7F C5 F3 78 */ mr r5, r30 +/* 8002A218 00027178 7C 9E 02 14 */ add r4, r30, r0 +/* 8002A21C 0002717C 48 00 00 14 */ b lbl_8002A230 +lbl_8002A220: +/* 8002A220 00027180 80 05 00 00 */ lwz r0, 0(r5) +/* 8002A224 00027184 7C 03 00 40 */ cmplw r3, r0 +/* 8002A228 00027188 41 82 00 10 */ beq lbl_8002A238 +/* 8002A22C 0002718C 38 A5 00 28 */ addi r5, r5, 0x28 +lbl_8002A230: +/* 8002A230 00027190 7C 05 20 40 */ cmplw r5, r4 +/* 8002A234 00027194 40 82 FF EC */ bne lbl_8002A220 +lbl_8002A238: +/* 8002A238 00027198 7C 05 20 40 */ cmplw r5, r4 +/* 8002A23C 0002719C 41 82 00 3C */ beq lbl_8002A278 +/* 8002A240 000271A0 FC 20 F8 90 */ fmr f1, f31 +/* 8002A244 000271A4 3B 65 00 04 */ addi r27, r5, 4 +/* 8002A248 000271A8 9B 85 00 18 */ stb r28, 0x18(r5) +/* 8002A24C 000271AC 7F 63 DB 78 */ mr r3, r27 +/* 8002A250 000271B0 48 33 3B 2D */ bl SetWeight__21CAdditiveAnimPlaybackFf +/* 8002A254 000271B4 88 1B 00 14 */ lbz r0, 0x14(r27) +/* 8002A258 000271B8 38 60 00 00 */ li r3, 0 +/* 8002A25C 000271BC 28 00 00 00 */ cmplwi r0, 0 +/* 8002A260 000271C0 40 82 00 10 */ bne lbl_8002A270 +/* 8002A264 000271C4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8002A268 000271C8 41 82 00 08 */ beq lbl_8002A270 +/* 8002A26C 000271CC 38 60 00 01 */ li r3, 1 +lbl_8002A270: +/* 8002A270 000271D0 98 7B 00 20 */ stb r3, 0x20(r27) +/* 8002A274 000271D4 48 00 02 5C */ b lbl_8002A4D0 +lbl_8002A278: +/* 8002A278 000271D8 7F 64 DB 78 */ mr r4, r27 +/* 8002A27C 000271DC 38 61 00 34 */ addi r3, r1, 0x34 +/* 8002A280 000271E0 48 00 02 6D */ bl GetAnimationManager__9CAnimDataFv +/* 8002A284 000271E4 38 61 00 94 */ addi r3, r1, 0x94 +/* 8002A288 000271E8 48 2B D5 91 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 8002A28C 000271EC 80 81 00 34 */ lwz r4, 0x34(r1) +/* 8002A290 000271F0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8002A294 000271F4 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 8002A298 000271F8 38 C1 00 94 */ addi r6, r1, 0x94 +/* 8002A29C 000271FC 80 84 00 00 */ lwz r4, 0(r4) +/* 8002A2A0 00027200 48 2A CB F1 */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders +/* 8002A2A4 00027204 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 8002A2A8 00027208 38 61 00 30 */ addi r3, r1, 0x30 +/* 8002A2AC 0002720C 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8002A2B0 00027210 80 85 00 04 */ lwz r4, 4(r5) +/* 8002A2B4 00027214 38 04 00 01 */ addi r0, r4, 1 +/* 8002A2B8 00027218 90 05 00 04 */ stw r0, 4(r5) +/* 8002A2BC 0002721C 48 00 6C E5 */ bl sub_80030fa0 +/* 8002A2C0 00027220 38 00 00 00 */ li r0, 0 +/* 8002A2C4 00027224 38 61 00 34 */ addi r3, r1, 0x34 +/* 8002A2C8 00027228 98 01 01 18 */ stb r0, 0x118(r1) +/* 8002A2CC 0002722C 98 01 00 D4 */ stb r0, 0xd4(r1) +/* 8002A2D0 00027230 48 00 70 DD */ bl sub_800313ac +/* 8002A2D4 00027234 83 FB 00 08 */ lwz r31, 8(r27) +/* 8002A2D8 00027238 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002A2DC 0002723C 89 21 00 0C */ lbz r9, 0xc(r1) +/* 8002A2E0 00027240 38 81 00 1C */ addi r4, r1, 0x1c +/* 8002A2E4 00027244 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8002A2E8 00027248 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8002A2EC 0002724C 81 1F 00 4C */ lwz r8, 0x4c(r31) +/* 8002A2F0 00027250 38 C1 00 3C */ addi r6, r1, 0x3c +/* 8002A2F4 00027254 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8002A2F8 00027258 99 21 00 10 */ stb r9, 0x10(r1) +/* 8002A2FC 0002725C 38 E1 00 08 */ addi r7, r1, 8 +/* 8002A300 00027260 7D 08 02 14 */ add r8, r8, r0 +/* 8002A304 00027264 91 01 00 28 */ stw r8, 0x28(r1) +/* 8002A308 00027268 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 8002A30C 0002726C 91 01 00 24 */ stw r8, 0x24(r1) +/* 8002A310 00027270 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8002A314 00027274 99 21 00 08 */ stb r9, 8(r1) +/* 8002A318 00027278 91 01 00 20 */ stw r8, 0x20(r1) +/* 8002A31C 0002727C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8002A320 00027280 48 00 6E C9 */ bl "lower_bound,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl79pair_sorter_finder,Q24rstl8less>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_p" +/* 8002A324 00027284 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8002A328 00027288 38 80 00 00 */ li r4, 0 +/* 8002A32C 0002728C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8002A330 00027290 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8002A334 00027294 7C 05 00 40 */ cmplw r5, r0 +/* 8002A338 00027298 41 82 00 18 */ beq lbl_8002A350 +/* 8002A33C 0002729C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8002A340 000272A0 80 05 00 00 */ lwz r0, 0(r5) +/* 8002A344 000272A4 7C 03 00 40 */ cmplw r3, r0 +/* 8002A348 000272A8 41 80 00 08 */ blt lbl_8002A350 +/* 8002A34C 000272AC 38 80 00 01 */ li r4, 1 +lbl_8002A350: +/* 8002A350 000272B0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8002A354 000272B4 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002A358 000272B8 41 82 00 08 */ beq lbl_8002A360 +/* 8002A35C 000272BC 38 81 00 14 */ addi r4, r1, 0x14 +lbl_8002A360: +/* 8002A360 000272C0 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8002A364 000272C4 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 8002A368 000272C8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8002A36C 000272CC 80 84 00 00 */ lwz r4, 0(r4) +/* 8002A370 000272D0 7C 03 02 14 */ add r0, r3, r0 +/* 8002A374 000272D4 7C 04 00 40 */ cmplw r4, r0 +/* 8002A378 000272D8 41 82 00 0C */ beq lbl_8002A384 +/* 8002A37C 000272DC 38 C4 00 04 */ addi r6, r4, 4 +/* 8002A380 000272E0 48 00 00 0C */ b lbl_8002A38C +lbl_8002A384: +/* 8002A384 000272E4 80 7B 00 08 */ lwz r3, 8(r27) +/* 8002A388 000272E8 38 C3 00 50 */ addi r6, r3, 0x50 +lbl_8002A38C: +/* 8002A38C 000272EC C0 06 00 00 */ lfs f0, 0(r6) +/* 8002A390 000272F0 FC 20 F8 90 */ fmr f1, f31 +/* 8002A394 000272F4 7F 85 E3 78 */ mr r5, r28 +/* 8002A398 000272F8 7F A7 EB 78 */ mr r7, r29 +/* 8002A39C 000272FC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8002A3A0 00027300 38 61 00 70 */ addi r3, r1, 0x70 +/* 8002A3A4 00027304 38 81 00 38 */ addi r4, r1, 0x38 +/* 8002A3A8 00027308 C0 06 00 04 */ lfs f0, 4(r6) +/* 8002A3AC 0002730C 38 C1 00 40 */ addi r6, r1, 0x40 +/* 8002A3B0 00027310 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8002A3B4 00027314 48 33 3A 91 */ bl "__ct__21CAdditiveAnimPlaybackFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fbRC22CAdditiveAnimationInfob" +/* 8002A3B8 00027318 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8002A3BC 0002731C 38 C1 00 4C */ addi r6, r1, 0x4c +/* 8002A3C0 00027320 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 8002A3C4 00027324 3B E1 00 78 */ addi r31, r1, 0x78 +/* 8002A3C8 00027328 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8002A3CC 0002732C 80 81 00 78 */ lwz r4, 0x78(r1) +/* 8002A3D0 00027330 90 01 00 48 */ stw r0, 0x48(r1) +/* 8002A3D4 00027334 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8002A3D8 00027338 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8002A3DC 0002733C 90 81 00 54 */ stw r4, 0x54(r1) +/* 8002A3E0 00027340 80 64 00 04 */ lwz r3, 4(r4) +/* 8002A3E4 00027344 38 03 00 01 */ addi r0, r3, 1 +/* 8002A3E8 00027348 90 04 00 04 */ stw r0, 4(r4) +/* 8002A3EC 0002734C C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 8002A3F0 00027350 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8002A3F4 00027354 88 81 00 84 */ lbz r4, 0x84(r1) +/* 8002A3F8 00027358 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8002A3FC 0002735C 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 8002A400 00027360 88 01 00 90 */ lbz r0, 0x90(r1) +/* 8002A404 00027364 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8002A408 00027368 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 8002A40C 0002736C 98 81 00 60 */ stb r4, 0x60(r1) +/* 8002A410 00027370 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8002A414 00027374 90 61 00 68 */ stw r3, 0x68(r1) +/* 8002A418 00027378 98 01 00 6C */ stb r0, 0x6c(r1) +/* 8002A41C 0002737C 80 1B 04 34 */ lwz r0, 0x434(r27) +/* 8002A420 00027380 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002A424 00027384 7C BE 02 15 */ add. r5, r30, r0 +/* 8002A428 00027388 41 82 00 64 */ beq lbl_8002A48C +/* 8002A42C 0002738C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8002A430 00027390 90 05 00 00 */ stw r0, 0(r5) +/* 8002A434 00027394 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8002A438 00027398 D0 05 00 04 */ stfs f0, 4(r5) +/* 8002A43C 0002739C C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8002A440 000273A0 D0 05 00 08 */ stfs f0, 8(r5) +/* 8002A444 000273A4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8002A448 000273A8 90 05 00 0C */ stw r0, 0xc(r5) +/* 8002A44C 000273AC 80 85 00 0C */ lwz r4, 0xc(r5) +/* 8002A450 000273B0 80 64 00 04 */ lwz r3, 4(r4) +/* 8002A454 000273B4 38 03 00 01 */ addi r0, r3, 1 +/* 8002A458 000273B8 90 04 00 04 */ stw r0, 4(r4) +/* 8002A45C 000273BC C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8002A460 000273C0 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 8002A464 000273C4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8002A468 000273C8 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8002A46C 000273CC 88 01 00 60 */ lbz r0, 0x60(r1) +/* 8002A470 000273D0 98 05 00 18 */ stb r0, 0x18(r5) +/* 8002A474 000273D4 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8002A478 000273D8 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 8002A47C 000273DC 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8002A480 000273E0 90 05 00 20 */ stw r0, 0x20(r5) +/* 8002A484 000273E4 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8002A488 000273E8 98 05 00 24 */ stb r0, 0x24(r5) +lbl_8002A48C: +/* 8002A48C 000273EC 80 7B 04 34 */ lwz r3, 0x434(r27) +/* 8002A490 000273F0 28 06 00 00 */ cmplwi r6, 0 +/* 8002A494 000273F4 38 03 00 01 */ addi r0, r3, 1 +/* 8002A498 000273F8 90 1B 04 34 */ stw r0, 0x434(r27) +/* 8002A49C 000273FC 41 82 00 18 */ beq lbl_8002A4B4 +/* 8002A4A0 00027400 34 66 00 08 */ addic. r3, r6, 8 +/* 8002A4A4 00027404 41 82 00 10 */ beq lbl_8002A4B4 +/* 8002A4A8 00027408 28 03 00 00 */ cmplwi r3, 0 +/* 8002A4AC 0002740C 41 82 00 08 */ beq lbl_8002A4B4 +/* 8002A4B0 00027410 48 00 6A F1 */ bl sub_80030fa0 +lbl_8002A4B4: +/* 8002A4B4 00027414 28 1F 00 00 */ cmplwi r31, 0 +/* 8002A4B8 00027418 41 82 00 10 */ beq lbl_8002A4C8 +/* 8002A4BC 0002741C 41 82 00 0C */ beq lbl_8002A4C8 +/* 8002A4C0 00027420 7F E3 FB 78 */ mr r3, r31 +/* 8002A4C4 00027424 48 00 6A DD */ bl sub_80030fa0 +lbl_8002A4C8: +/* 8002A4C8 00027428 38 61 00 38 */ addi r3, r1, 0x38 +/* 8002A4CC 0002742C 48 00 6A D5 */ bl sub_80030fa0 +lbl_8002A4D0: +/* 8002A4D0 00027430 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 8002A4D4 00027434 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 8002A4D8 00027438 BB 61 01 2C */ lmw r27, 0x12c(r1) +/* 8002A4DC 0002743C 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8002A4E0 00027440 7C 08 03 A6 */ mtlr r0 +/* 8002A4E4 00027444 38 21 01 50 */ addi r1, r1, 0x150 +/* 8002A4E8 00027448 4E 80 00 20 */ blr + +.global GetAnimationManager__9CAnimDataFv +GetAnimationManager__9CAnimDataFv: +/* 8002A4EC 0002744C 80 04 01 00 */ lwz r0, 0x100(r4) +/* 8002A4F0 00027450 90 03 00 00 */ stw r0, 0(r3) +/* 8002A4F4 00027454 80 83 00 00 */ lwz r4, 0(r3) +/* 8002A4F8 00027458 80 64 00 04 */ lwz r3, 4(r4) +/* 8002A4FC 0002745C 38 03 00 01 */ addi r0, r3, 1 +/* 8002A500 00027460 90 04 00 04 */ stw r0, 4(r4) +/* 8002A504 00027464 4E 80 00 20 */ blr + +.global sub_8002a508 +sub_8002a508: +/* 8002A508 00027468 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002A50C 0002746C 7C 08 02 A6 */ mflr r0 +/* 8002A510 00027470 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002A514 00027474 80 63 01 F8 */ lwz r3, 0x1f8(r3) +/* 8002A518 00027478 80 63 00 00 */ lwz r3, 0(r3) +/* 8002A51C 0002747C 81 83 00 00 */ lwz r12, 0(r3) +/* 8002A520 00027480 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 8002A524 00027484 7D 89 03 A6 */ mtctr r12 +/* 8002A528 00027488 4E 80 04 21 */ bctrl +/* 8002A52C 0002748C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002A530 00027490 7C 08 03 A6 */ mtlr r0 +/* 8002A534 00027494 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002A538 00027498 4E 80 00 20 */ blr + +.global "SetParticleCEXTValue__CAnimDataFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if" +"SetParticleCEXTValue__CAnimDataFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if": +/* 8002A53C 0002749C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8002A540 000274A0 7C 08 02 A6 */ mflr r0 +/* 8002A544 000274A4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8002A548 000274A8 DB E1 00 38 */ stfd f31, 0x38(r1) +/* 8002A54C 000274AC FF E0 08 90 */ fmr f31, f1 +/* 8002A550 000274B0 93 E1 00 34 */ stw r31, 0x34(r1) +/* 8002A554 000274B4 7C BF 2B 78 */ mr r31, r5 +/* 8002A558 000274B8 93 C1 00 30 */ stw r30, 0x30(r1) +/* 8002A55C 000274BC 7C 9E 23 78 */ mr r30, r4 +/* 8002A560 000274C0 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 8002A564 000274C4 7C 7D 1B 78 */ mr r29, r3 +/* 8002A568 000274C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8002A56C 000274CC 38 9D 00 A4 */ addi r4, r29, 0xa4 +/* 8002A570 000274D0 48 00 05 C1 */ bl sub_8002ab30 +/* 8002A574 000274D4 7F C5 F3 78 */ mr r5, r30 +/* 8002A578 000274D8 38 61 00 08 */ addi r3, r1, 8 +/* 8002A57C 000274DC 38 81 00 0C */ addi r4, r1, 0xc +/* 8002A580 000274E0 48 00 00 75 */ bl sub_8002a5f4 +/* 8002A584 000274E4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8002A588 000274E8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8002A58C 000274EC 54 00 28 34 */ slwi r0, r0, 5 +/* 8002A590 000274F0 80 81 00 08 */ lwz r4, 8(r1) +/* 8002A594 000274F4 7C 03 02 14 */ add r0, r3, r0 +/* 8002A598 000274F8 7C 04 00 40 */ cmplw r4, r0 +/* 8002A59C 000274FC 41 82 00 2C */ beq lbl_8002A5C8 +/* 8002A5A0 00027500 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8002A5A4 00027504 80 84 00 1C */ lwz r4, 0x1c(r4) +/* 8002A5A8 00027508 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 8002A5AC 0002750C 7C 04 02 14 */ add r0, r4, r0 +/* 8002A5B0 00027510 7C 04 00 40 */ cmplw r4, r0 +/* 8002A5B4 00027514 41 82 00 14 */ beq lbl_8002A5C8 +/* 8002A5B8 00027518 FC 20 F8 90 */ fmr f1, f31 +/* 8002A5BC 0002751C 7F E5 FB 78 */ mr r5, r31 +/* 8002A5C0 00027520 38 7D 01 20 */ addi r3, r29, 0x120 +/* 8002A5C4 00027524 48 08 E5 91 */ bl "SetCEXTValue__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if" +lbl_8002A5C8: +/* 8002A5C8 00027528 38 61 00 0C */ addi r3, r1, 0xc +/* 8002A5CC 0002752C 38 80 FF FF */ li r4, -1 +/* 8002A5D0 00027530 48 00 03 35 */ bl sub_8002a904 +/* 8002A5D4 00027534 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8002A5D8 00027538 CB E1 00 38 */ lfd f31, 0x38(r1) +/* 8002A5DC 0002753C 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 8002A5E0 00027540 83 C1 00 30 */ lwz r30, 0x30(r1) +/* 8002A5E4 00027544 83 A1 00 2C */ lwz r29, 0x2c(r1) +/* 8002A5E8 00027548 7C 08 03 A6 */ mtlr r0 +/* 8002A5EC 0002754C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8002A5F0 00027550 4E 80 00 20 */ blr + +.global sub_8002a5f4 +sub_8002a5f4: +/* 8002A5F4 00027554 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002A5F8 00027558 7C 08 02 A6 */ mflr r0 +/* 8002A5FC 0002755C 7C A6 2B 78 */ mr r6, r5 +/* 8002A600 00027560 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002A604 00027564 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8002A608 00027568 89 21 00 08 */ lbz r9, 8(r1) +/* 8002A60C 0002756C 38 E1 00 10 */ addi r7, r1, 0x10 +/* 8002A610 00027570 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002A614 00027574 7C 7F 1B 78 */ mr r31, r3 +/* 8002A618 00027578 80 04 00 04 */ lwz r0, 4(r4) +/* 8002A61C 0002757C 81 04 00 0C */ lwz r8, 0xc(r4) +/* 8002A620 00027580 38 81 00 20 */ addi r4, r1, 0x20 +/* 8002A624 00027584 54 00 28 34 */ slwi r0, r0, 5 +/* 8002A628 00027588 99 21 00 0C */ stb r9, 0xc(r1) +/* 8002A62C 0002758C 7C 08 02 14 */ add r0, r8, r0 +/* 8002A630 00027590 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8002A634 00027594 99 21 00 10 */ stb r9, 0x10(r1) +/* 8002A638 00027598 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002A63C 0002759C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8002A640 000275A0 91 01 00 20 */ stw r8, 0x20(r1) +/* 8002A644 000275A4 48 00 00 19 */ bl sub_8002a65c +/* 8002A648 000275A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002A64C 000275AC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002A650 000275B0 7C 08 03 A6 */ mtlr r0 +/* 8002A654 000275B4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002A658 000275B8 4E 80 00 20 */ blr + +.global sub_8002a65c +sub_8002a65c: +/* 8002A65C 000275BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8002A660 000275C0 7C 08 02 A6 */ mflr r0 +/* 8002A664 000275C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8002A668 000275C8 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8002A66C 000275CC 7C 7B 1B 78 */ mr r27, r3 +/* 8002A670 000275D0 7C BC 2B 78 */ mr r28, r5 +/* 8002A674 000275D4 7C FE 3B 78 */ mr r30, r7 +/* 8002A678 000275D8 7C DD 33 78 */ mr r29, r6 +/* 8002A67C 000275DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002A680 000275E0 80 04 00 00 */ lwz r0, 0(r4) +/* 8002A684 000275E4 88 87 00 00 */ lbz r4, 0(r7) +/* 8002A688 000275E8 38 E1 00 08 */ addi r7, r1, 8 +/* 8002A68C 000275EC 81 05 00 00 */ lwz r8, 0(r5) +/* 8002A690 000275F0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8002A694 000275F4 98 81 00 08 */ stb r4, 8(r1) +/* 8002A698 000275F8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8002A69C 000275FC 91 01 00 0C */ stw r8, 0xc(r1) +/* 8002A6A0 00027600 90 01 00 10 */ stw r0, 0x10(r1) +/* 8002A6A4 00027604 48 00 6A 59 */ bl sub_800310fc +/* 8002A6A8 00027608 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8002A6AC 0002760C 3B E0 00 00 */ li r31, 0 +/* 8002A6B0 00027610 80 1C 00 00 */ lwz r0, 0(r28) +/* 8002A6B4 00027614 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8002A6B8 00027618 7C 05 00 40 */ cmplw r5, r0 +/* 8002A6BC 0002761C 41 82 00 1C */ beq lbl_8002A6D8 +/* 8002A6C0 00027620 7F C3 F3 78 */ mr r3, r30 +/* 8002A6C4 00027624 7F A4 EB 78 */ mr r4, r29 +/* 8002A6C8 00027628 48 00 00 41 */ bl sub_8002a708 +/* 8002A6CC 0002762C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002A6D0 00027630 40 82 00 08 */ bne lbl_8002A6D8 +/* 8002A6D4 00027634 3B E0 00 01 */ li r31, 1 +lbl_8002A6D8: +/* 8002A6D8 00027638 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8002A6DC 0002763C 41 82 00 0C */ beq lbl_8002A6E8 +/* 8002A6E0 00027640 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002A6E4 00027644 48 00 00 08 */ b lbl_8002A6EC +lbl_8002A6E8: +/* 8002A6E8 00027648 7F 83 E3 78 */ mr r3, r28 +lbl_8002A6EC: +/* 8002A6EC 0002764C 80 03 00 00 */ lwz r0, 0(r3) +/* 8002A6F0 00027650 90 1B 00 00 */ stw r0, 0(r27) +/* 8002A6F4 00027654 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8002A6F8 00027658 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8002A6FC 0002765C 7C 08 03 A6 */ mtlr r0 +/* 8002A700 00027660 38 21 00 40 */ addi r1, r1, 0x40 +/* 8002A704 00027664 4E 80 00 20 */ blr + +.global sub_8002a708 +sub_8002a708: +/* 8002A708 00027668 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002A70C 0002766C 7C 08 02 A6 */ mflr r0 +/* 8002A710 00027670 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002A714 00027674 48 00 00 15 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8002A718 00027678 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002A71C 0002767C 7C 08 03 A6 */ mtlr r0 +/* 8002A720 00027680 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002A724 00027684 4E 80 00 20 */ blr + +.global "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +"__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>": +/* 8002A728 00027688 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002A72C 0002768C 7C 08 02 A6 */ mflr r0 +/* 8002A730 00027690 7C 83 23 78 */ mr r3, r4 +/* 8002A734 00027694 7C A4 2B 78 */ mr r4, r5 +/* 8002A738 00027698 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002A73C 0002769C 48 00 00 15 */ bl sub_8002a750 +/* 8002A740 000276A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002A744 000276A4 7C 08 03 A6 */ mtlr r0 +/* 8002A748 000276A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002A74C 000276AC 4E 80 00 20 */ blr + +.global sub_8002a750 +sub_8002a750: +/* 8002A750 000276B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002A754 000276B4 7C 08 02 A6 */ mflr r0 +/* 8002A758 000276B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002A75C 000276BC 48 00 00 19 */ bl sub_8002a774 +/* 8002A760 000276C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002A764 000276C4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8002A768 000276C8 7C 08 03 A6 */ mtlr r0 +/* 8002A76C 000276CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002A770 000276D0 4E 80 00 20 */ blr + +.global sub_8002a774 +sub_8002a774: +/* 8002A774 000276D4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8002A778 000276D8 7C 08 02 A6 */ mflr r0 +/* 8002A77C 000276DC 38 E0 00 00 */ li r7, 0 +/* 8002A780 000276E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8002A784 000276E4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8002A788 000276E8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8002A78C 000276EC 81 04 00 08 */ lwz r8, 8(r4) +/* 8002A790 000276F0 80 03 00 08 */ lwz r0, 8(r3) +/* 8002A794 000276F4 90 81 00 08 */ stw r4, 8(r1) +/* 8002A798 000276F8 91 01 00 0C */ stw r8, 0xc(r1) +/* 8002A79C 000276FC 90 81 00 10 */ stw r4, 0x10(r1) +/* 8002A7A0 00027700 91 01 00 14 */ stw r8, 0x14(r1) +/* 8002A7A4 00027704 90 81 00 18 */ stw r4, 0x18(r1) +/* 8002A7A8 00027708 90 81 00 20 */ stw r4, 0x20(r1) +/* 8002A7AC 0002770C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8002A7B0 00027710 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 8002A7B4 00027714 90 E1 00 24 */ stw r7, 0x24(r1) +/* 8002A7B8 00027718 90 61 00 28 */ stw r3, 0x28(r1) +/* 8002A7BC 0002771C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8002A7C0 00027720 90 61 00 30 */ stw r3, 0x30(r1) +/* 8002A7C4 00027724 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002A7C8 00027728 90 61 00 38 */ stw r3, 0x38(r1) +/* 8002A7CC 0002772C 90 61 00 40 */ stw r3, 0x40(r1) +/* 8002A7D0 00027730 38 61 00 40 */ addi r3, r1, 0x40 +/* 8002A7D4 00027734 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 8002A7D8 00027738 90 E1 00 44 */ stw r7, 0x44(r1) +/* 8002A7DC 0002773C 48 00 00 15 */ bl sub_8002a7f0 +/* 8002A7E0 00027740 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8002A7E4 00027744 7C 08 03 A6 */ mtlr r0 +/* 8002A7E8 00027748 38 21 00 50 */ addi r1, r1, 0x50 +/* 8002A7EC 0002774C 4E 80 00 20 */ blr + +.global sub_8002a7f0 +sub_8002a7f0: +/* 8002A7F0 00027750 81 03 00 00 */ lwz r8, 0(r3) +/* 8002A7F4 00027754 80 E3 00 04 */ lwz r7, 4(r3) +/* 8002A7F8 00027758 81 25 00 00 */ lwz r9, 0(r5) +/* 8002A7FC 0002775C 81 45 00 04 */ lwz r10, 4(r5) +/* 8002A800 00027760 81 64 00 00 */ lwz r11, 0(r4) +/* 8002A804 00027764 48 00 00 2C */ b lbl_8002A830 +lbl_8002A808: +/* 8002A808 00027768 80 A9 00 00 */ lwz r5, 0(r9) +/* 8002A80C 0002776C 80 68 00 00 */ lwz r3, 0(r8) +/* 8002A810 00027770 7C A5 50 AE */ lbzx r5, r5, r10 +/* 8002A814 00027774 7C 03 38 AE */ lbzx r0, r3, r7 +/* 8002A818 00027778 7C A3 07 74 */ extsb r3, r5 +/* 8002A81C 0002777C 7C 00 07 74 */ extsb r0, r0 +/* 8002A820 00027780 7C 63 00 51 */ subf. r3, r3, r0 +/* 8002A824 00027784 4C 82 00 20 */ bnelr +/* 8002A828 00027788 38 E7 00 01 */ addi r7, r7, 1 +/* 8002A82C 0002778C 39 4A 00 01 */ addi r10, r10, 1 +lbl_8002A830: +/* 8002A830 00027790 7C 08 58 40 */ cmplw r8, r11 +/* 8002A834 00027794 38 60 00 00 */ li r3, 0 +/* 8002A838 00027798 40 82 00 10 */ bne lbl_8002A848 +/* 8002A83C 0002779C 80 04 00 04 */ lwz r0, 4(r4) +/* 8002A840 000277A0 7C 07 00 00 */ cmpw r7, r0 +/* 8002A844 000277A4 41 82 00 08 */ beq lbl_8002A84C +lbl_8002A848: +/* 8002A848 000277A8 38 60 00 01 */ li r3, 1 +lbl_8002A84C: +/* 8002A84C 000277AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002A850 000277B0 41 82 00 2C */ beq lbl_8002A87C +/* 8002A854 000277B4 80 06 00 00 */ lwz r0, 0(r6) +/* 8002A858 000277B8 38 60 00 00 */ li r3, 0 +/* 8002A85C 000277BC 7C 09 00 40 */ cmplw r9, r0 +/* 8002A860 000277C0 40 82 00 10 */ bne lbl_8002A870 +/* 8002A864 000277C4 80 06 00 04 */ lwz r0, 4(r6) +/* 8002A868 000277C8 7C 0A 00 00 */ cmpw r10, r0 +/* 8002A86C 000277CC 41 82 00 08 */ beq lbl_8002A874 +lbl_8002A870: +/* 8002A870 000277D0 38 60 00 01 */ li r3, 1 +lbl_8002A874: +/* 8002A874 000277D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002A878 000277D8 40 82 FF 90 */ bne lbl_8002A808 +lbl_8002A87C: +/* 8002A87C 000277DC 7C 08 58 40 */ cmplw r8, r11 +/* 8002A880 000277E0 38 60 00 00 */ li r3, 0 +/* 8002A884 000277E4 40 82 00 14 */ bne lbl_8002A898 +/* 8002A888 000277E8 80 04 00 04 */ lwz r0, 4(r4) +/* 8002A88C 000277EC 7C 07 00 00 */ cmpw r7, r0 +/* 8002A890 000277F0 40 82 00 08 */ bne lbl_8002A898 +/* 8002A894 000277F4 38 60 00 01 */ li r3, 1 +lbl_8002A898: +/* 8002A898 000277F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002A89C 000277FC 41 82 00 34 */ beq lbl_8002A8D0 +/* 8002A8A0 00027800 80 06 00 00 */ lwz r0, 0(r6) +/* 8002A8A4 00027804 38 60 00 00 */ li r3, 0 +/* 8002A8A8 00027808 7C 09 00 40 */ cmplw r9, r0 +/* 8002A8AC 0002780C 40 82 00 10 */ bne lbl_8002A8BC +/* 8002A8B0 00027810 80 06 00 04 */ lwz r0, 4(r6) +/* 8002A8B4 00027814 7C 0A 00 00 */ cmpw r10, r0 +/* 8002A8B8 00027818 41 82 00 08 */ beq lbl_8002A8C0 +lbl_8002A8BC: +/* 8002A8BC 0002781C 38 60 00 01 */ li r3, 1 +lbl_8002A8C0: +/* 8002A8C0 00027820 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002A8C4 00027824 41 82 00 0C */ beq lbl_8002A8D0 +/* 8002A8C8 00027828 38 60 FF FF */ li r3, -1 +/* 8002A8CC 0002782C 4E 80 00 20 */ blr +lbl_8002A8D0: +/* 8002A8D0 00027830 7C 08 58 40 */ cmplw r8, r11 +/* 8002A8D4 00027834 38 60 00 00 */ li r3, 0 +/* 8002A8D8 00027838 40 82 00 14 */ bne lbl_8002A8EC +/* 8002A8DC 0002783C 80 04 00 04 */ lwz r0, 4(r4) +/* 8002A8E0 00027840 7C 07 00 00 */ cmpw r7, r0 +/* 8002A8E4 00027844 40 82 00 08 */ bne lbl_8002A8EC +/* 8002A8E8 00027848 38 60 00 01 */ li r3, 1 +lbl_8002A8EC: +/* 8002A8EC 0002784C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002A8F0 00027850 41 82 00 0C */ beq lbl_8002A8FC +/* 8002A8F4 00027854 38 60 00 00 */ li r3, 0 +/* 8002A8F8 00027858 4E 80 00 20 */ blr +lbl_8002A8FC: +/* 8002A8FC 0002785C 38 60 00 01 */ li r3, 1 +/* 8002A900 00027860 4E 80 00 20 */ blr + +.global sub_8002a904 +sub_8002a904: +/* 8002A904 00027864 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002A908 00027868 7C 08 02 A6 */ mflr r0 +/* 8002A90C 0002786C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002A910 00027870 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002A914 00027874 7C 9F 23 78 */ mr r31, r4 +/* 8002A918 00027878 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002A91C 0002787C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002A920 00027880 41 82 00 54 */ beq lbl_8002A974 +/* 8002A924 00027884 80 1E 00 04 */ lwz r0, 4(r30) +/* 8002A928 00027888 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002A92C 0002788C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8002A930 00027890 38 81 00 0C */ addi r4, r1, 0xc +/* 8002A934 00027894 54 00 28 34 */ slwi r0, r0, 5 +/* 8002A938 00027898 7C A5 02 14 */ add r5, r5, r0 +/* 8002A93C 0002789C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8002A940 000278A0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8002A944 000278A4 90 A1 00 08 */ stw r5, 8(r1) +/* 8002A948 000278A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8002A94C 000278AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002A950 000278B0 48 00 00 41 */ bl sub_8002a990 +/* 8002A954 000278B4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8002A958 000278B8 28 03 00 00 */ cmplwi r3, 0 +/* 8002A95C 000278BC 41 82 00 08 */ beq lbl_8002A964 +/* 8002A960 000278C0 48 2E AF D1 */ bl Free__7CMemoryFPCv +lbl_8002A964: +/* 8002A964 000278C4 7F E0 07 35 */ extsh. r0, r31 +/* 8002A968 000278C8 40 81 00 0C */ ble lbl_8002A974 +/* 8002A96C 000278CC 7F C3 F3 78 */ mr r3, r30 +/* 8002A970 000278D0 48 2E AF C1 */ bl Free__7CMemoryFPCv +lbl_8002A974: +/* 8002A974 000278D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002A978 000278D8 7F C3 F3 78 */ mr r3, r30 +/* 8002A97C 000278DC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002A980 000278E0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002A984 000278E4 7C 08 03 A6 */ mtlr r0 +/* 8002A988 000278E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002A98C 000278EC 4E 80 00 20 */ blr + +.global sub_8002a990 +sub_8002a990: +/* 8002A990 000278F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002A994 000278F4 7C 08 02 A6 */ mflr r0 +/* 8002A998 000278F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002A99C 000278FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002A9A0 00027900 93 C1 00 08 */ stw r30, 8(r1) +/* 8002A9A4 00027904 7C 9E 23 78 */ mr r30, r4 +/* 8002A9A8 00027908 83 E3 00 00 */ lwz r31, 0(r3) +/* 8002A9AC 0002790C 48 00 00 10 */ b lbl_8002A9BC +lbl_8002A9B0: +/* 8002A9B0 00027910 7F E3 FB 78 */ mr r3, r31 +/* 8002A9B4 00027914 48 00 00 2D */ bl sub_8002a9e0 +/* 8002A9B8 00027918 3B FF 00 20 */ addi r31, r31, 0x20 +lbl_8002A9BC: +/* 8002A9BC 0002791C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8002A9C0 00027920 7C 1F 00 40 */ cmplw r31, r0 +/* 8002A9C4 00027924 40 82 FF EC */ bne lbl_8002A9B0 +/* 8002A9C8 00027928 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002A9CC 0002792C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002A9D0 00027930 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002A9D4 00027934 7C 08 03 A6 */ mtlr r0 +/* 8002A9D8 00027938 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002A9DC 0002793C 4E 80 00 20 */ blr + +.global sub_8002a9e0 +sub_8002a9e0: +/* 8002A9E0 00027940 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002A9E4 00027944 7C 08 02 A6 */ mflr r0 +/* 8002A9E8 00027948 38 80 FF FF */ li r4, -1 +/* 8002A9EC 0002794C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002A9F0 00027950 48 00 00 15 */ bl sub_8002aa04 +/* 8002A9F4 00027954 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002A9F8 00027958 7C 08 03 A6 */ mtlr r0 +/* 8002A9FC 0002795C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002AA00 00027960 4E 80 00 20 */ blr + +.global sub_8002aa04 +sub_8002aa04: +/* 8002AA04 00027964 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002AA08 00027968 7C 08 02 A6 */ mflr r0 +/* 8002AA0C 0002796C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002AA10 00027970 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002AA14 00027974 7C 9F 23 78 */ mr r31, r4 +/* 8002AA18 00027978 93 C1 00 08 */ stw r30, 8(r1) +/* 8002AA1C 0002797C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002AA20 00027980 41 82 00 30 */ beq lbl_8002AA50 +/* 8002AA24 00027984 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8002AA28 00027988 38 80 FF FF */ li r4, -1 +/* 8002AA2C 0002798C 48 00 00 41 */ bl sub_8002aa6c +/* 8002AA30 00027990 28 1E 00 00 */ cmplwi r30, 0 +/* 8002AA34 00027994 41 82 00 0C */ beq lbl_8002AA40 +/* 8002AA38 00027998 7F C3 F3 78 */ mr r3, r30 +/* 8002AA3C 0002799C 48 31 30 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002AA40: +/* 8002AA40 000279A0 7F E0 07 35 */ extsh. r0, r31 +/* 8002AA44 000279A4 40 81 00 0C */ ble lbl_8002AA50 +/* 8002AA48 000279A8 7F C3 F3 78 */ mr r3, r30 +/* 8002AA4C 000279AC 48 2E AE E5 */ bl Free__7CMemoryFPCv +lbl_8002AA50: +/* 8002AA50 000279B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002AA54 000279B4 7F C3 F3 78 */ mr r3, r30 +/* 8002AA58 000279B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002AA5C 000279BC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002AA60 000279C0 7C 08 03 A6 */ mtlr r0 +/* 8002AA64 000279C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002AA68 000279C8 4E 80 00 20 */ blr + +.global sub_8002aa6c +sub_8002aa6c: +/* 8002AA6C 000279CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002AA70 000279D0 7C 08 02 A6 */ mflr r0 +/* 8002AA74 000279D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002AA78 000279D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002AA7C 000279DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8002AA80 000279E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8002AA84 000279E4 7C 9D 23 78 */ mr r29, r4 +/* 8002AA88 000279E8 93 81 00 20 */ stw r28, 0x20(r1) +/* 8002AA8C 000279EC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8002AA90 000279F0 41 82 00 7C */ beq lbl_8002AB0C +/* 8002AA94 000279F4 80 1C 00 04 */ lwz r0, 4(r28) +/* 8002AA98 000279F8 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8002AA9C 000279FC 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 8002AAA0 00027A00 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8002AAA4 00027A04 7F FE 02 14 */ add r31, r30, r0 +/* 8002AAA8 00027A08 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8002AAAC 00027A0C 93 E1 00 08 */ stw r31, 8(r1) +/* 8002AAB0 00027A10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002AAB4 00027A14 48 00 00 30 */ b lbl_8002AAE4 +lbl_8002AAB8: +/* 8002AAB8 00027A18 28 1E 00 00 */ cmplwi r30, 0 +/* 8002AABC 00027A1C 41 82 00 24 */ beq lbl_8002AAE0 +/* 8002AAC0 00027A20 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8002AAC4 00027A24 41 82 00 0C */ beq lbl_8002AAD0 +/* 8002AAC8 00027A28 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8002AACC 00027A2C 48 31 30 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002AAD0: +/* 8002AAD0 00027A30 28 1E 00 00 */ cmplwi r30, 0 +/* 8002AAD4 00027A34 41 82 00 0C */ beq lbl_8002AAE0 +/* 8002AAD8 00027A38 7F C3 F3 78 */ mr r3, r30 +/* 8002AADC 00027A3C 48 31 30 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002AAE0: +/* 8002AAE0 00027A40 3B DE 00 34 */ addi r30, r30, 0x34 +lbl_8002AAE4: +/* 8002AAE4 00027A44 7C 1E F8 40 */ cmplw r30, r31 +/* 8002AAE8 00027A48 40 82 FF D0 */ bne lbl_8002AAB8 +/* 8002AAEC 00027A4C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8002AAF0 00027A50 28 03 00 00 */ cmplwi r3, 0 +/* 8002AAF4 00027A54 41 82 00 08 */ beq lbl_8002AAFC +/* 8002AAF8 00027A58 48 2E AE 39 */ bl Free__7CMemoryFPCv +lbl_8002AAFC: +/* 8002AAFC 00027A5C 7F A0 07 35 */ extsh. r0, r29 +/* 8002AB00 00027A60 40 81 00 0C */ ble lbl_8002AB0C +/* 8002AB04 00027A64 7F 83 E3 78 */ mr r3, r28 +/* 8002AB08 00027A68 48 2E AE 29 */ bl Free__7CMemoryFPCv +lbl_8002AB0C: +/* 8002AB0C 00027A6C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002AB10 00027A70 7F 83 E3 78 */ mr r3, r28 +/* 8002AB14 00027A74 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002AB18 00027A78 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002AB1C 00027A7C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8002AB20 00027A80 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8002AB24 00027A84 7C 08 03 A6 */ mtlr r0 +/* 8002AB28 00027A88 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002AB2C 00027A8C 4E 80 00 20 */ blr + +.global sub_8002ab30 +sub_8002ab30: +/* 8002AB30 00027A90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002AB34 00027A94 7C 08 02 A6 */ mflr r0 +/* 8002AB38 00027A98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002AB3C 00027A9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002AB40 00027AA0 7C 9F 23 78 */ mr r31, r4 +/* 8002AB44 00027AA4 93 C1 00 08 */ stw r30, 8(r1) +/* 8002AB48 00027AA8 7C 7E 1B 78 */ mr r30, r3 +/* 8002AB4C 00027AAC 80 04 00 04 */ lwz r0, 4(r4) +/* 8002AB50 00027AB0 90 03 00 04 */ stw r0, 4(r3) +/* 8002AB54 00027AB4 80 04 00 08 */ lwz r0, 8(r4) +/* 8002AB58 00027AB8 90 03 00 08 */ stw r0, 8(r3) +/* 8002AB5C 00027ABC 80 04 00 04 */ lwz r0, 4(r4) +/* 8002AB60 00027AC0 2C 00 00 00 */ cmpwi r0, 0 +/* 8002AB64 00027AC4 40 82 00 1C */ bne lbl_8002AB80 +/* 8002AB68 00027AC8 80 1F 00 08 */ lwz r0, 8(r31) +/* 8002AB6C 00027ACC 2C 00 00 00 */ cmpwi r0, 0 +/* 8002AB70 00027AD0 40 82 00 10 */ bne lbl_8002AB80 +/* 8002AB74 00027AD4 38 00 00 00 */ li r0, 0 +/* 8002AB78 00027AD8 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8002AB7C 00027ADC 48 00 00 40 */ b lbl_8002ABBC +lbl_8002AB80: +/* 8002AB80 00027AE0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8002AB84 00027AE4 54 03 28 35 */ rlwinm. r3, r0, 5, 0, 0x1a +/* 8002AB88 00027AE8 40 82 00 10 */ bne lbl_8002AB98 +/* 8002AB8C 00027AEC 38 00 00 00 */ li r0, 0 +/* 8002AB90 00027AF0 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8002AB94 00027AF4 48 00 00 18 */ b lbl_8002ABAC +lbl_8002AB98: +/* 8002AB98 00027AF8 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002AB9C 00027AFC 38 A0 00 00 */ li r5, 0 +/* 8002ABA0 00027B00 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002ABA4 00027B04 48 2E AC 75 */ bl __nwa__FUlPCcPCc +/* 8002ABA8 00027B08 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_8002ABAC: +/* 8002ABAC 00027B0C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8002ABB0 00027B10 80 9E 00 04 */ lwz r4, 4(r30) +/* 8002ABB4 00027B14 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8002ABB8 00027B18 48 00 00 21 */ bl sub_8002abd8 +lbl_8002ABBC: +/* 8002ABBC 00027B1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002ABC0 00027B20 7F C3 F3 78 */ mr r3, r30 +/* 8002ABC4 00027B24 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002ABC8 00027B28 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002ABCC 00027B2C 7C 08 03 A6 */ mtlr r0 +/* 8002ABD0 00027B30 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002ABD4 00027B34 4E 80 00 20 */ blr + +.global sub_8002abd8 +sub_8002abd8: +/* 8002ABD8 00027B38 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002ABDC 00027B3C 7C 08 02 A6 */ mflr r0 +/* 8002ABE0 00027B40 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002ABE4 00027B44 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002ABE8 00027B48 7C 7F 1B 78 */ mr r31, r3 +/* 8002ABEC 00027B4C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002ABF0 00027B50 7C BE 2B 78 */ mr r30, r5 +/* 8002ABF4 00027B54 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002ABF8 00027B58 3B A0 00 00 */ li r29, 0 +/* 8002ABFC 00027B5C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8002AC00 00027B60 7C 9C 23 78 */ mr r28, r4 +/* 8002AC04 00027B64 48 00 00 1C */ b lbl_8002AC20 +lbl_8002AC08: +/* 8002AC08 00027B68 7F C3 F3 78 */ mr r3, r30 +/* 8002AC0C 00027B6C 7F E4 FB 78 */ mr r4, r31 +/* 8002AC10 00027B70 48 00 00 3D */ bl sub_8002ac4c +/* 8002AC14 00027B74 3B DE 00 20 */ addi r30, r30, 0x20 +/* 8002AC18 00027B78 3B BD 00 01 */ addi r29, r29, 1 +/* 8002AC1C 00027B7C 3B FF 00 20 */ addi r31, r31, 0x20 +lbl_8002AC20: +/* 8002AC20 00027B80 7C 1D E0 00 */ cmpw r29, r28 +/* 8002AC24 00027B84 41 80 FF E4 */ blt lbl_8002AC08 +/* 8002AC28 00027B88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002AC2C 00027B8C 7F C3 F3 78 */ mr r3, r30 +/* 8002AC30 00027B90 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002AC34 00027B94 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002AC38 00027B98 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8002AC3C 00027B9C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8002AC40 00027BA0 7C 08 03 A6 */ mtlr r0 +/* 8002AC44 00027BA4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002AC48 00027BA8 4E 80 00 20 */ blr + +.global sub_8002ac4c +sub_8002ac4c: +/* 8002AC4C 00027BAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002AC50 00027BB0 7C 08 02 A6 */ mflr r0 +/* 8002AC54 00027BB4 28 03 00 00 */ cmplwi r3, 0 +/* 8002AC58 00027BB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002AC5C 00027BBC 41 82 00 08 */ beq lbl_8002AC64 +/* 8002AC60 00027BC0 48 00 00 15 */ bl sub_8002ac74 +lbl_8002AC64: +/* 8002AC64 00027BC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002AC68 00027BC8 7C 08 03 A6 */ mtlr r0 +/* 8002AC6C 00027BCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002AC70 00027BD0 4E 80 00 20 */ blr + +.global sub_8002ac74 +sub_8002ac74: +/* 8002AC74 00027BD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002AC78 00027BD8 7C 08 02 A6 */ mflr r0 +/* 8002AC7C 00027BDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002AC80 00027BE0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002AC84 00027BE4 7C 9F 23 78 */ mr r31, r4 +/* 8002AC88 00027BE8 93 C1 00 08 */ stw r30, 8(r1) +/* 8002AC8C 00027BEC 7C 7E 1B 78 */ mr r30, r3 +/* 8002AC90 00027BF0 48 31 34 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002AC94 00027BF4 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8002AC98 00027BF8 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8002AC9C 00027BFC 48 00 00 21 */ bl sub_8002acbc +/* 8002ACA0 00027C00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002ACA4 00027C04 7F C3 F3 78 */ mr r3, r30 +/* 8002ACA8 00027C08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002ACAC 00027C0C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002ACB0 00027C10 7C 08 03 A6 */ mtlr r0 +/* 8002ACB4 00027C14 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002ACB8 00027C18 4E 80 00 20 */ blr + +.global sub_8002acbc +sub_8002acbc: +/* 8002ACBC 00027C1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002ACC0 00027C20 7C 08 02 A6 */ mflr r0 +/* 8002ACC4 00027C24 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002ACC8 00027C28 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8002ACCC 00027C2C 7C 9C 23 78 */ mr r28, r4 +/* 8002ACD0 00027C30 7C 7F 1B 78 */ mr r31, r3 +/* 8002ACD4 00027C34 80 04 00 04 */ lwz r0, 4(r4) +/* 8002ACD8 00027C38 90 03 00 04 */ stw r0, 4(r3) +/* 8002ACDC 00027C3C 80 04 00 08 */ lwz r0, 8(r4) +/* 8002ACE0 00027C40 90 03 00 08 */ stw r0, 8(r3) +/* 8002ACE4 00027C44 80 04 00 04 */ lwz r0, 4(r4) +/* 8002ACE8 00027C48 2C 00 00 00 */ cmpwi r0, 0 +/* 8002ACEC 00027C4C 40 82 00 1C */ bne lbl_8002AD08 +/* 8002ACF0 00027C50 80 1C 00 08 */ lwz r0, 8(r28) +/* 8002ACF4 00027C54 2C 00 00 00 */ cmpwi r0, 0 +/* 8002ACF8 00027C58 40 82 00 10 */ bne lbl_8002AD08 +/* 8002ACFC 00027C5C 38 00 00 00 */ li r0, 0 +/* 8002AD00 00027C60 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8002AD04 00027C64 48 00 00 A4 */ b lbl_8002ADA8 +lbl_8002AD08: +/* 8002AD08 00027C68 80 1F 00 08 */ lwz r0, 8(r31) +/* 8002AD0C 00027C6C 1C 60 00 34 */ mulli r3, r0, 0x34 +/* 8002AD10 00027C70 2C 03 00 00 */ cmpwi r3, 0 +/* 8002AD14 00027C74 40 82 00 10 */ bne lbl_8002AD24 +/* 8002AD18 00027C78 38 00 00 00 */ li r0, 0 +/* 8002AD1C 00027C7C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8002AD20 00027C80 48 00 00 18 */ b lbl_8002AD38 +lbl_8002AD24: +/* 8002AD24 00027C84 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002AD28 00027C88 38 A0 00 00 */ li r5, 0 +/* 8002AD2C 00027C8C 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002AD30 00027C90 48 2E AA E9 */ bl __nwa__FUlPCcPCc +/* 8002AD34 00027C94 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_8002AD38: +/* 8002AD38 00027C98 83 7F 00 04 */ lwz r27, 4(r31) +/* 8002AD3C 00027C9C 3B C0 00 00 */ li r30, 0 +/* 8002AD40 00027CA0 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 8002AD44 00027CA4 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 8002AD48 00027CA8 48 00 00 58 */ b lbl_8002ADA0 +lbl_8002AD4C: +/* 8002AD4C 00027CAC 28 1D 00 00 */ cmplwi r29, 0 +/* 8002AD50 00027CB0 41 82 00 44 */ beq lbl_8002AD94 +/* 8002AD54 00027CB4 7F A3 EB 78 */ mr r3, r29 +/* 8002AD58 00027CB8 7F 84 E3 78 */ mr r4, r28 +/* 8002AD5C 00027CBC 48 31 34 05 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002AD60 00027CC0 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 8002AD64 00027CC4 38 7D 00 18 */ addi r3, r29, 0x18 +/* 8002AD68 00027CC8 38 9C 00 18 */ addi r4, r28, 0x18 +/* 8002AD6C 00027CCC 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8002AD70 00027CD0 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 8002AD74 00027CD4 90 1D 00 14 */ stw r0, 0x14(r29) +/* 8002AD78 00027CD8 48 31 33 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002AD7C 00027CDC C0 1C 00 28 */ lfs f0, 0x28(r28) +/* 8002AD80 00027CE0 D0 1D 00 28 */ stfs f0, 0x28(r29) +/* 8002AD84 00027CE4 80 1C 00 2C */ lwz r0, 0x2c(r28) +/* 8002AD88 00027CE8 90 1D 00 2C */ stw r0, 0x2c(r29) +/* 8002AD8C 00027CEC 80 1C 00 30 */ lwz r0, 0x30(r28) +/* 8002AD90 00027CF0 90 1D 00 30 */ stw r0, 0x30(r29) +lbl_8002AD94: +/* 8002AD94 00027CF4 3B BD 00 34 */ addi r29, r29, 0x34 +/* 8002AD98 00027CF8 3B DE 00 01 */ addi r30, r30, 1 +/* 8002AD9C 00027CFC 3B 9C 00 34 */ addi r28, r28, 0x34 +lbl_8002ADA0: +/* 8002ADA0 00027D00 7C 1E D8 00 */ cmpw r30, r27 +/* 8002ADA4 00027D04 41 80 FF A8 */ blt lbl_8002AD4C +lbl_8002ADA8: +/* 8002ADA8 00027D08 7F E3 FB 78 */ mr r3, r31 +/* 8002ADAC 00027D0C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8002ADB0 00027D10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002ADB4 00027D14 7C 08 03 A6 */ mtlr r0 +/* 8002ADB8 00027D18 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002ADBC 00027D1C 4E 80 00 20 */ blr + +.global SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager: +/* 8002ADC0 00027D20 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8002ADC4 00027D24 7C 08 02 A6 */ mflr r0 +/* 8002ADC8 00027D28 90 01 00 44 */ stw r0, 0x44(r1) +/* 8002ADCC 00027D2C BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8002ADD0 00027D30 7C 7B 1B 78 */ mr r27, r3 +/* 8002ADD4 00027D34 7C 9E 23 78 */ mr r30, r4 +/* 8002ADD8 00027D38 7C BC 2B 78 */ mr r28, r5 +/* 8002ADDC 00027D3C 7C DD 33 78 */ mr r29, r6 +/* 8002ADE0 00027D40 38 61 00 0C */ addi r3, r1, 0xc +/* 8002ADE4 00027D44 38 9B 00 A4 */ addi r4, r27, 0xa4 +/* 8002ADE8 00027D48 4B FF FD 49 */ bl sub_8002ab30 +/* 8002ADEC 00027D4C 7F C5 F3 78 */ mr r5, r30 +/* 8002ADF0 00027D50 38 61 00 08 */ addi r3, r1, 8 +/* 8002ADF4 00027D54 38 81 00 0C */ addi r4, r1, 0xc +/* 8002ADF8 00027D58 4B FF F7 FD */ bl sub_8002a5f4 +/* 8002ADFC 00027D5C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8002AE00 00027D60 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8002AE04 00027D64 54 00 28 34 */ slwi r0, r0, 5 +/* 8002AE08 00027D68 80 81 00 08 */ lwz r4, 8(r1) +/* 8002AE0C 00027D6C 7C 03 02 14 */ add r0, r3, r0 +/* 8002AE10 00027D70 7C 04 00 40 */ cmplw r4, r0 +/* 8002AE14 00027D74 41 82 00 38 */ beq lbl_8002AE4C +/* 8002AE18 00027D78 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8002AE1C 00027D7C 83 C4 00 1C */ lwz r30, 0x1c(r4) +/* 8002AE20 00027D80 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 8002AE24 00027D84 7F FE 02 14 */ add r31, r30, r0 +/* 8002AE28 00027D88 48 00 00 1C */ b lbl_8002AE44 +lbl_8002AE2C: +/* 8002AE2C 00027D8C 7F C4 F3 78 */ mr r4, r30 +/* 8002AE30 00027D90 7F 85 E3 78 */ mr r5, r28 +/* 8002AE34 00027D94 7F A6 EB 78 */ mr r6, r29 +/* 8002AE38 00027D98 38 7B 01 20 */ addi r3, r27, 0x120 +/* 8002AE3C 00027D9C 48 08 DD 8D */ bl "SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager" +/* 8002AE40 00027DA0 3B DE 00 34 */ addi r30, r30, 0x34 +lbl_8002AE44: +/* 8002AE44 00027DA4 7C 1E F8 40 */ cmplw r30, r31 +/* 8002AE48 00027DA8 40 82 FF E4 */ bne lbl_8002AE2C +lbl_8002AE4C: +/* 8002AE4C 00027DAC 38 61 00 0C */ addi r3, r1, 0xc +/* 8002AE50 00027DB0 38 80 FF FF */ li r4, -1 +/* 8002AE54 00027DB4 4B FF FA B1 */ bl sub_8002a904 +/* 8002AE58 00027DB8 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8002AE5C 00027DBC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8002AE60 00027DC0 7C 08 03 A6 */ mtlr r0 +/* 8002AE64 00027DC4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8002AE68 00027DC8 4E 80 00 20 */ blr + +.global InitializeEffects__9CAnimDataFR13CStateManager7TAreaIdRC9CVector3f +InitializeEffects__9CAnimDataFR13CStateManager7TAreaIdRC9CVector3f: +/* 8002AE6C 00027DCC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8002AE70 00027DD0 7C 08 02 A6 */ mflr r0 +/* 8002AE74 00027DD4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8002AE78 00027DD8 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8002AE7C 00027DDC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8002AE80 00027DE0 BE 61 00 5C */ stmw r19, 0x5c(r1) +/* 8002AE84 00027DE4 83 83 00 A8 */ lwz r28, 0xa8(r3) +/* 8002AE88 00027DE8 7C 75 1B 78 */ mr r21, r3 +/* 8002AE8C 00027DEC 3B A1 00 40 */ addi r29, r1, 0x40 +/* 8002AE90 00027DF0 7C 96 23 78 */ mr r22, r4 +/* 8002AE94 00027DF4 7C B7 2B 78 */ mr r23, r5 +/* 8002AE98 00027DF8 7C D8 33 78 */ mr r24, r6 +/* 8002AE9C 00027DFC 3B 60 00 00 */ li r27, 0 +/* 8002AEA0 00027E00 3A 80 00 00 */ li r20, 0 +/* 8002AEA4 00027E04 48 00 00 E8 */ b lbl_8002AF8C +lbl_8002AEA8: +/* 8002AEA8 00027E08 80 15 00 B0 */ lwz r0, 0xb0(r21) +/* 8002AEAC 00027E0C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002AEB0 00027E10 7C 80 A2 14 */ add r4, r0, r20 +/* 8002AEB4 00027E14 4B FF FD C1 */ bl sub_8002ac74 +/* 8002AEB8 00027E18 83 41 00 28 */ lwz r26, 0x28(r1) +/* 8002AEBC 00027E1C 3B 20 00 00 */ li r25, 0 +/* 8002AEC0 00027E20 3A 60 00 00 */ li r19, 0 +/* 8002AEC4 00027E24 48 00 00 AC */ b lbl_8002AF70 +lbl_8002AEC8: +/* 8002AEC8 00027E28 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8002AECC 00027E2C 38 75 01 20 */ addi r3, r21, 0x120 +/* 8002AED0 00027E30 7F C0 9A 14 */ add r30, r0, r19 +/* 8002AED4 00027E34 38 9E 00 10 */ addi r4, r30, 0x10 +/* 8002AED8 00027E38 48 08 EE C9 */ bl CacheParticleDesc__17CParticleDatabaseFRC10SObjectTag +/* 8002AEDC 00027E3C 83 FE 00 2C */ lwz r31, 0x2c(r30) +/* 8002AEE0 00027E40 38 00 00 00 */ li r0, 0 +/* 8002AEE4 00027E44 C3 FE 00 28 */ lfs f31, 0x28(r30) +/* 8002AEE8 00027E48 7F A3 EB 78 */ mr r3, r29 +/* 8002AEEC 00027E4C 38 9E 00 18 */ addi r4, r30, 0x18 +/* 8002AEF0 00027E50 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002AEF4 00027E54 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8002AEF8 00027E58 90 01 00 38 */ stw r0, 0x38(r1) +/* 8002AEFC 00027E5C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8002AF00 00027E60 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8002AF04 00027E64 48 31 32 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002AF08 00027E68 80 17 00 00 */ lwz r0, 0(r23) +/* 8002AF0C 00027E6C 7F C4 F3 78 */ mr r4, r30 +/* 8002AF10 00027E70 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 8002AF14 00027E74 7F 07 C3 78 */ mr r7, r24 +/* 8002AF18 00027E78 7E C8 B3 78 */ mr r8, r22 +/* 8002AF1C 00027E7C 38 75 01 20 */ addi r3, r21, 0x120 +/* 8002AF20 00027E80 93 E1 00 54 */ stw r31, 0x54(r1) +/* 8002AF24 00027E84 38 C1 00 34 */ addi r6, r1, 0x34 +/* 8002AF28 00027E88 39 21 00 10 */ addi r9, r1, 0x10 +/* 8002AF2C 00027E8C 39 40 00 01 */ li r10, 1 +/* 8002AF30 00027E90 90 01 00 10 */ stw r0, 0x10(r1) +/* 8002AF34 00027E94 80 15 02 1C */ lwz r0, 0x21c(r21) +/* 8002AF38 00027E98 90 01 00 08 */ stw r0, 8(r1) +/* 8002AF3C 00027E9C 80 BE 00 30 */ lwz r5, 0x30(r30) +/* 8002AF40 00027EA0 48 08 E4 55 */ bl "AddParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC13CParticleDataRC9CVector3fR13CStateManager7TAreaIdb" +/* 8002AF44 00027EA4 28 1D 00 00 */ cmplwi r29, 0 +/* 8002AF48 00027EA8 41 82 00 0C */ beq lbl_8002AF54 +/* 8002AF4C 00027EAC 7F A3 EB 78 */ mr r3, r29 +/* 8002AF50 00027EB0 48 31 2B 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002AF54: +/* 8002AF54 00027EB4 7F C4 F3 78 */ mr r4, r30 +/* 8002AF58 00027EB8 7E C6 B3 78 */ mr r6, r22 +/* 8002AF5C 00027EBC 38 75 01 20 */ addi r3, r21, 0x120 +/* 8002AF60 00027EC0 38 A0 00 00 */ li r5, 0 +/* 8002AF64 00027EC4 48 08 DC 65 */ bl "SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager" +/* 8002AF68 00027EC8 3B 39 00 01 */ addi r25, r25, 1 +/* 8002AF6C 00027ECC 3A 73 00 34 */ addi r19, r19, 0x34 +lbl_8002AF70: +/* 8002AF70 00027ED0 7C 19 D0 40 */ cmplw r25, r26 +/* 8002AF74 00027ED4 41 80 FF 54 */ blt lbl_8002AEC8 +/* 8002AF78 00027ED8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002AF7C 00027EDC 38 80 FF FF */ li r4, -1 +/* 8002AF80 00027EE0 4B FF FA 85 */ bl sub_8002aa04 +/* 8002AF84 00027EE4 3B 7B 00 01 */ addi r27, r27, 1 +/* 8002AF88 00027EE8 3A 94 00 20 */ addi r20, r20, 0x20 +lbl_8002AF8C: +/* 8002AF8C 00027EEC 7C 1B E0 40 */ cmplw r27, r28 +/* 8002AF90 00027EF0 41 80 FF 18 */ blt lbl_8002AEA8 +/* 8002AF94 00027EF4 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8002AF98 00027EF8 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8002AF9C 00027EFC BA 61 00 5C */ lmw r19, 0x5c(r1) +/* 8002AFA0 00027F00 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8002AFA4 00027F04 7C 08 03 A6 */ mtlr r0 +/* 8002AFA8 00027F08 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8002AFAC 00027F0C 4E 80 00 20 */ blr + +.global Touch__9CAnimDataCFRC13CSkinnedModeli +Touch__9CAnimDataCFRC13CSkinnedModeli: +/* 8002AFB0 00027F10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002AFB4 00027F14 7C 08 02 A6 */ mflr r0 +/* 8002AFB8 00027F18 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002AFBC 00027F1C 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8002AFC0 00027F20 7C A4 2B 78 */ mr r4, r5 +/* 8002AFC4 00027F24 48 32 A6 71 */ bl Touch__6CModelCFi +/* 8002AFC8 00027F28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002AFCC 00027F2C 7C 08 03 A6 */ mtlr r0 +/* 8002AFD0 00027F30 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002AFD4 00027F34 4E 80 00 20 */ blr + +.global GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime +GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime: +/* 8002AFD8 00027F38 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8002AFDC 00027F3C 7C 08 02 A6 */ mflr r0 +/* 8002AFE0 00027F40 90 01 01 44 */ stw r0, 0x144(r1) +/* 8002AFE4 00027F44 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8002AFE8 00027F48 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8002AFEC 00027F4C BE 81 01 00 */ stmw r20, 0x100(r1) +/* 8002AFF0 00027F50 80 84 01 F8 */ lwz r4, 0x1f8(r4) +/* 8002AFF4 00027F54 7C 7F 1B 78 */ mr r31, r3 +/* 8002AFF8 00027F58 7C B6 2B 78 */ mr r22, r5 +/* 8002AFFC 00027F5C 80 AD A1 0C */ lwz r5, lbl_805A8CCC@sda21(r13) +/* 8002B000 00027F60 80 64 00 00 */ lwz r3, 0(r4) +/* 8002B004 00027F64 7C C4 33 78 */ mr r4, r6 +/* 8002B008 00027F68 38 C0 00 10 */ li r6, 0x10 +/* 8002B00C 00027F6C 38 E0 00 00 */ li r7, 0 +/* 8002B010 00027F70 39 00 00 40 */ li r8, 0x40 +/* 8002B014 00027F74 48 2D 2D 69 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 8002B018 00027F78 3C C0 80 3D */ lis r6, lbl_803CCD20@ha +/* 8002B01C 00027F7C 3C A0 80 3E */ lis r5, lbl_803D9B98@ha +/* 8002B020 00027F80 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 8002B024 00027F84 7C 7C 1B 78 */ mr r28, r3 +/* 8002B028 00027F88 3B 21 00 70 */ addi r25, r1, 0x70 +/* 8002B02C 00027F8C 3B 41 00 A4 */ addi r26, r1, 0xa4 +/* 8002B030 00027F90 3B A6 CD 20 */ addi r29, r6, lbl_803CCD20@l +/* 8002B034 00027F94 3B C1 00 28 */ addi r30, r1, 0x28 +/* 8002B038 00027F98 3A 85 9B 98 */ addi r20, r5, lbl_803D9B98@l +/* 8002B03C 00027F9C 3A A4 9B 8C */ addi r21, r4, lbl_803D9B8C@l +/* 8002B040 00027FA0 3A E0 00 00 */ li r23, 0 +/* 8002B044 00027FA4 3B 00 00 00 */ li r24, 0 +/* 8002B048 00027FA8 48 00 02 84 */ b lbl_8002B2CC +lbl_8002B04C: +/* 8002B04C 00027FAC 80 0D A1 0C */ lwz r0, lbl_805A8CCC@sda21(r13) +/* 8002B050 00027FB0 7C C0 C2 14 */ add r6, r0, r24 +/* 8002B054 00027FB4 A0 06 00 18 */ lhz r0, 0x18(r6) +/* 8002B058 00027FB8 2C 00 00 06 */ cmpwi r0, 6 +/* 8002B05C 00027FBC 40 82 01 68 */ bne lbl_8002B1C4 +/* 8002B060 00027FC0 80 06 00 38 */ lwz r0, 0x38(r6) +/* 8002B064 00027FC4 7C 00 B0 00 */ cmpw r0, r22 +/* 8002B068 00027FC8 40 82 01 5C */ bne lbl_8002B1C4 +/* 8002B06C 00027FCC 80 06 00 20 */ lwz r0, 0x20(r6) +/* 8002B070 00027FD0 3C A0 80 3D */ lis r5, lbl_803CCD20@ha +/* 8002B074 00027FD4 1F 57 00 4C */ mulli r26, r23, 0x4c +/* 8002B078 00027FD8 3C 80 80 3E */ lis r4, lbl_803D9B98@ha +/* 8002B07C 00027FDC 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 8002B080 00027FE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002B084 00027FE4 C3 E6 00 1C */ lfs f31, 0x1c(r6) +/* 8002B088 00027FE8 3B 21 00 BC */ addi r25, r1, 0xbc +/* 8002B08C 00027FEC 3B 01 00 F0 */ addi r24, r1, 0xf0 +/* 8002B090 00027FF0 3B C5 CD 20 */ addi r30, r5, lbl_803CCD20@l +/* 8002B094 00027FF4 3B A1 00 48 */ addi r29, r1, 0x48 +/* 8002B098 00027FF8 3A A4 9B 98 */ addi r21, r4, lbl_803D9B98@l +/* 8002B09C 00027FFC 3A 83 9B 8C */ addi r20, r3, lbl_803D9B8C@l +/* 8002B0A0 00028000 48 00 01 0C */ b lbl_8002B1AC +lbl_8002B0A4: +/* 8002B0A4 00028004 38 61 00 58 */ addi r3, r1, 0x58 +/* 8002B0A8 00028008 38 9E 00 07 */ addi r4, r30, 7 +/* 8002B0AC 0002800C 4B FD 9C 0D */ bl string_l__4rstlFPCc +/* 8002B0B0 00028010 38 61 00 48 */ addi r3, r1, 0x48 +/* 8002B0B4 00028014 38 9E 00 08 */ addi r4, r30, 8 +/* 8002B0B8 00028018 4B FD 9C 01 */ bl string_l__4rstlFPCc +/* 8002B0BC 0002801C C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) +/* 8002B0C0 00028020 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002B0C4 00028024 48 31 DD 29 */ bl __ct__13CCharAnimTimeFf +/* 8002B0C8 00028028 38 00 00 00 */ li r0, 0 +/* 8002B0CC 0002802C 7C 66 1B 78 */ mr r6, r3 +/* 8002B0D0 00028030 90 01 00 08 */ stw r0, 8(r1) +/* 8002B0D4 00028034 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8002B0D8 00028038 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) +/* 8002B0DC 0002803C 38 81 00 58 */ addi r4, r1, 0x58 +/* 8002B0E0 00028040 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8002B0E4 00028044 38 A0 00 02 */ li r5, 2 +/* 8002B0E8 00028048 38 E0 FF FF */ li r7, -1 +/* 8002B0EC 0002804C 39 00 00 00 */ li r8, 0 +/* 8002B0F0 00028050 39 20 FF FF */ li r9, -1 +/* 8002B0F4 00028054 39 40 00 00 */ li r10, 0 +/* 8002B0F8 00028058 48 00 02 95 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002B0FC 0002805C 80 6D A1 0C */ lwz r3, lbl_805A8CCC@sda21(r13) +/* 8002B100 00028060 7F 24 CB 78 */ mr r4, r25 +/* 8002B104 00028064 A0 01 00 B8 */ lhz r0, 0xb8(r1) +/* 8002B108 00028068 7F 63 D2 14 */ add r27, r3, r26 +/* 8002B10C 0002806C B0 1B 00 04 */ sth r0, 4(r27) +/* 8002B110 00028070 38 7B 00 08 */ addi r3, r27, 8 +/* 8002B114 00028074 48 31 2C 49 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002B118 00028078 A0 01 00 CC */ lhz r0, 0xcc(r1) +/* 8002B11C 0002807C 7F 04 C3 78 */ mr r4, r24 +/* 8002B120 00028080 38 7B 00 3C */ addi r3, r27, 0x3c +/* 8002B124 00028084 B0 1B 00 18 */ sth r0, 0x18(r27) +/* 8002B128 00028088 80 A1 00 D0 */ lwz r5, 0xd0(r1) +/* 8002B12C 0002808C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8002B130 00028090 90 BB 00 1C */ stw r5, 0x1c(r27) +/* 8002B134 00028094 90 1B 00 20 */ stw r0, 0x20(r27) +/* 8002B138 00028098 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8002B13C 0002809C 90 1B 00 24 */ stw r0, 0x24(r27) +/* 8002B140 000280A0 88 01 00 DC */ lbz r0, 0xdc(r1) +/* 8002B144 000280A4 98 1B 00 28 */ stb r0, 0x28(r27) +/* 8002B148 000280A8 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 8002B14C 000280AC D0 1B 00 2C */ stfs f0, 0x2c(r27) +/* 8002B150 000280B0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8002B154 000280B4 90 1B 00 30 */ stw r0, 0x30(r27) +/* 8002B158 000280B8 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8002B15C 000280BC 90 1B 00 34 */ stw r0, 0x34(r27) +/* 8002B160 000280C0 80 01 00 EC */ lwz r0, 0xec(r1) +/* 8002B164 000280C4 90 1B 00 38 */ stw r0, 0x38(r27) +/* 8002B168 000280C8 48 31 2B F5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002B16C 000280CC 28 18 00 00 */ cmplwi r24, 0 +/* 8002B170 000280D0 92 A1 00 B4 */ stw r21, 0xb4(r1) +/* 8002B174 000280D4 41 82 00 0C */ beq lbl_8002B180 +/* 8002B178 000280D8 7F 03 C3 78 */ mr r3, r24 +/* 8002B17C 000280DC 48 31 29 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002B180: +/* 8002B180 000280E0 28 19 00 00 */ cmplwi r25, 0 +/* 8002B184 000280E4 92 81 00 B4 */ stw r20, 0xb4(r1) +/* 8002B188 000280E8 41 82 00 0C */ beq lbl_8002B194 +/* 8002B18C 000280EC 7F 23 CB 78 */ mr r3, r25 +/* 8002B190 000280F0 48 31 29 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002B194: +/* 8002B194 000280F4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8002B198 000280F8 48 31 29 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002B19C 000280FC 38 61 00 58 */ addi r3, r1, 0x58 +/* 8002B1A0 00028100 48 31 29 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002B1A4 00028104 3B 5A 00 4C */ addi r26, r26, 0x4c +/* 8002B1A8 00028108 3A F7 00 01 */ addi r23, r23, 1 +lbl_8002B1AC: +/* 8002B1AC 0002810C 7C 17 E0 00 */ cmpw r23, r28 +/* 8002B1B0 00028110 41 80 FE F4 */ blt lbl_8002B0A4 +/* 8002B1B4 00028114 D3 FF 00 00 */ stfs f31, 0(r31) +/* 8002B1B8 00028118 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002B1BC 0002811C 90 1F 00 04 */ stw r0, 4(r31) +/* 8002B1C0 00028120 48 00 01 24 */ b lbl_8002B2E4 +lbl_8002B1C4: +/* 8002B1C4 00028124 38 61 00 38 */ addi r3, r1, 0x38 +/* 8002B1C8 00028128 38 9D 00 07 */ addi r4, r29, 7 +/* 8002B1CC 0002812C 4B FD 9A ED */ bl string_l__4rstlFPCc +/* 8002B1D0 00028130 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002B1D4 00028134 38 9D 00 08 */ addi r4, r29, 8 +/* 8002B1D8 00028138 4B FD 9A E1 */ bl string_l__4rstlFPCc +/* 8002B1DC 0002813C C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) +/* 8002B1E0 00028140 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002B1E4 00028144 48 31 DC 09 */ bl __ct__13CCharAnimTimeFf +/* 8002B1E8 00028148 38 00 00 00 */ li r0, 0 +/* 8002B1EC 0002814C 7C 66 1B 78 */ mr r6, r3 +/* 8002B1F0 00028150 90 01 00 08 */ stw r0, 8(r1) +/* 8002B1F4 00028154 38 61 00 68 */ addi r3, r1, 0x68 +/* 8002B1F8 00028158 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) +/* 8002B1FC 0002815C 38 81 00 38 */ addi r4, r1, 0x38 +/* 8002B200 00028160 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8002B204 00028164 38 A0 00 02 */ li r5, 2 +/* 8002B208 00028168 38 E0 FF FF */ li r7, -1 +/* 8002B20C 0002816C 39 00 00 00 */ li r8, 0 +/* 8002B210 00028170 39 20 FF FF */ li r9, -1 +/* 8002B214 00028174 39 40 00 00 */ li r10, 0 +/* 8002B218 00028178 48 00 01 75 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002B21C 0002817C 80 6D A1 0C */ lwz r3, lbl_805A8CCC@sda21(r13) +/* 8002B220 00028180 7F 24 CB 78 */ mr r4, r25 +/* 8002B224 00028184 A0 01 00 6C */ lhz r0, 0x6c(r1) +/* 8002B228 00028188 7F 63 C2 14 */ add r27, r3, r24 +/* 8002B22C 0002818C B0 1B 00 04 */ sth r0, 4(r27) +/* 8002B230 00028190 38 7B 00 08 */ addi r3, r27, 8 +/* 8002B234 00028194 48 31 2B 29 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002B238 00028198 A0 01 00 80 */ lhz r0, 0x80(r1) +/* 8002B23C 0002819C 7F 44 D3 78 */ mr r4, r26 +/* 8002B240 000281A0 38 7B 00 3C */ addi r3, r27, 0x3c +/* 8002B244 000281A4 B0 1B 00 18 */ sth r0, 0x18(r27) +/* 8002B248 000281A8 80 A1 00 84 */ lwz r5, 0x84(r1) +/* 8002B24C 000281AC 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8002B250 000281B0 90 BB 00 1C */ stw r5, 0x1c(r27) +/* 8002B254 000281B4 90 1B 00 20 */ stw r0, 0x20(r27) +/* 8002B258 000281B8 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 8002B25C 000281BC 90 1B 00 24 */ stw r0, 0x24(r27) +/* 8002B260 000281C0 88 01 00 90 */ lbz r0, 0x90(r1) +/* 8002B264 000281C4 98 1B 00 28 */ stb r0, 0x28(r27) +/* 8002B268 000281C8 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 8002B26C 000281CC D0 1B 00 2C */ stfs f0, 0x2c(r27) +/* 8002B270 000281D0 80 01 00 98 */ lwz r0, 0x98(r1) +/* 8002B274 000281D4 90 1B 00 30 */ stw r0, 0x30(r27) +/* 8002B278 000281D8 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 8002B27C 000281DC 90 1B 00 34 */ stw r0, 0x34(r27) +/* 8002B280 000281E0 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 8002B284 000281E4 90 1B 00 38 */ stw r0, 0x38(r27) +/* 8002B288 000281E8 48 31 2A D5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002B28C 000281EC 28 1A 00 00 */ cmplwi r26, 0 +/* 8002B290 000281F0 92 81 00 68 */ stw r20, 0x68(r1) +/* 8002B294 000281F4 41 82 00 0C */ beq lbl_8002B2A0 +/* 8002B298 000281F8 7F 43 D3 78 */ mr r3, r26 +/* 8002B29C 000281FC 48 31 28 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002B2A0: +/* 8002B2A0 00028200 28 19 00 00 */ cmplwi r25, 0 +/* 8002B2A4 00028204 92 A1 00 68 */ stw r21, 0x68(r1) +/* 8002B2A8 00028208 41 82 00 0C */ beq lbl_8002B2B4 +/* 8002B2AC 0002820C 7F 23 CB 78 */ mr r3, r25 +/* 8002B2B0 00028210 48 31 28 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002B2B4: +/* 8002B2B4 00028214 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002B2B8 00028218 48 31 28 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002B2BC 0002821C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8002B2C0 00028220 48 31 28 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002B2C4 00028224 3B 18 00 4C */ addi r24, r24, 0x4c +/* 8002B2C8 00028228 3A F7 00 01 */ addi r23, r23, 1 +lbl_8002B2CC: +/* 8002B2CC 0002822C 7C 17 E0 00 */ cmpw r23, r28 +/* 8002B2D0 00028230 41 80 FD 7C */ blt lbl_8002B04C +/* 8002B2D4 00028234 C0 0D 81 EC */ lfs f0, lbl_805A6DAC@sda21(r13) +/* 8002B2D8 00028238 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8002B2DC 0002823C 80 0D 81 E8 */ lwz r0, lbl_805A6DA8@sda21(r13) +/* 8002B2E0 00028240 90 1F 00 04 */ stw r0, 4(r31) +lbl_8002B2E4: +/* 8002B2E4 00028244 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8002B2E8 00028248 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8002B2EC 0002824C BA 81 01 00 */ lmw r20, 0x100(r1) +/* 8002B2F0 00028250 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8002B2F4 00028254 7C 08 03 A6 */ mtlr r0 +/* 8002B2F8 00028258 38 21 01 40 */ addi r1, r1, 0x140 +/* 8002B2FC 0002825C 4E 80 00 20 */ blr + +.global __dt__13CInt32POINodeFv +__dt__13CInt32POINodeFv: +/* 8002B300 00028260 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002B304 00028264 7C 08 02 A6 */ mflr r0 +/* 8002B308 00028268 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002B30C 0002826C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002B310 00028270 7C 9F 23 78 */ mr r31, r4 +/* 8002B314 00028274 93 C1 00 08 */ stw r30, 8(r1) +/* 8002B318 00028278 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002B31C 0002827C 41 82 00 54 */ beq lbl_8002B370 +/* 8002B320 00028280 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 8002B324 00028284 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 8002B328 00028288 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 8002B32C 0002828C 90 1E 00 00 */ stw r0, 0(r30) +/* 8002B330 00028290 41 82 00 0C */ beq lbl_8002B33C +/* 8002B334 00028294 38 7E 00 3C */ addi r3, r30, 0x3c +/* 8002B338 00028298 48 31 27 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002B33C: +/* 8002B33C 0002829C 28 1E 00 00 */ cmplwi r30, 0 +/* 8002B340 000282A0 41 82 00 20 */ beq lbl_8002B360 +/* 8002B344 000282A4 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 8002B348 000282A8 34 1E 00 08 */ addic. r0, r30, 8 +/* 8002B34C 000282AC 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 8002B350 000282B0 90 1E 00 00 */ stw r0, 0(r30) +/* 8002B354 000282B4 41 82 00 0C */ beq lbl_8002B360 +/* 8002B358 000282B8 38 7E 00 08 */ addi r3, r30, 8 +/* 8002B35C 000282BC 48 31 27 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002B360: +/* 8002B360 000282C0 7F E0 07 35 */ extsh. r0, r31 +/* 8002B364 000282C4 40 81 00 0C */ ble lbl_8002B370 +/* 8002B368 000282C8 7F C3 F3 78 */ mr r3, r30 +/* 8002B36C 000282CC 48 2E A5 C5 */ bl Free__7CMemoryFPCv +lbl_8002B370: +/* 8002B370 000282D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002B374 000282D4 7F C3 F3 78 */ mr r3, r30 +/* 8002B378 000282D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002B37C 000282DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002B380 000282E0 7C 08 03 A6 */ mtlr r0 +/* 8002B384 000282E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002B388 000282E8 4E 80 00 20 */ blr + +.global "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8002B38C 000282EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002B390 000282F0 7C 08 02 A6 */ mflr r0 +/* 8002B394 000282F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002B398 000282F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002B39C 000282FC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002B3A0 00028300 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002B3A4 00028304 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002B3A8 00028308 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002B3AC 0002830C 7C 7D 1B 78 */ mr r29, r3 +/* 8002B3B0 00028310 48 2D 1E 61 */ bl "__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii" +/* 8002B3B4 00028314 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 8002B3B8 00028318 7F E4 FB 78 */ mr r4, r31 +/* 8002B3BC 0002831C 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 8002B3C0 00028320 38 7D 00 3C */ addi r3, r29, 0x3c +/* 8002B3C4 00028324 90 1D 00 00 */ stw r0, 0(r29) +/* 8002B3C8 00028328 93 DD 00 38 */ stw r30, 0x38(r29) +/* 8002B3CC 0002832C 48 31 2D 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002B3D0 00028330 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002B3D4 00028334 7F A3 EB 78 */ mr r3, r29 +/* 8002B3D8 00028338 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002B3DC 0002833C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002B3E0 00028340 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8002B3E4 00028344 7C 08 03 A6 */ mtlr r0 +/* 8002B3E8 00028348 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002B3EC 0002834C 4E 80 00 20 */ blr + +.global __dt__8CPOINodeFv +__dt__8CPOINodeFv: +/* 8002B3F0 00028350 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002B3F4 00028354 7C 08 02 A6 */ mflr r0 +/* 8002B3F8 00028358 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002B3FC 0002835C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002B400 00028360 7C 9F 23 78 */ mr r31, r4 +/* 8002B404 00028364 93 C1 00 08 */ stw r30, 8(r1) +/* 8002B408 00028368 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002B40C 0002836C 41 82 00 30 */ beq lbl_8002B43C +/* 8002B410 00028370 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 8002B414 00028374 34 1E 00 08 */ addic. r0, r30, 8 +/* 8002B418 00028378 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 8002B41C 0002837C 90 1E 00 00 */ stw r0, 0(r30) +/* 8002B420 00028380 41 82 00 0C */ beq lbl_8002B42C +/* 8002B424 00028384 38 7E 00 08 */ addi r3, r30, 8 +/* 8002B428 00028388 48 31 26 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002B42C: +/* 8002B42C 0002838C 7F E0 07 35 */ extsh. r0, r31 +/* 8002B430 00028390 40 81 00 0C */ ble lbl_8002B43C +/* 8002B434 00028394 7F C3 F3 78 */ mr r3, r30 +/* 8002B438 00028398 48 2E A4 F9 */ bl Free__7CMemoryFPCv +lbl_8002B43C: +/* 8002B43C 0002839C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002B440 000283A0 7F C3 F3 78 */ mr r3, r30 +/* 8002B444 000283A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002B448 000283A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002B44C 000283AC 7C 08 03 A6 */ mtlr r0 +/* 8002B450 000283B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002B454 000283B4 4E 80 00 20 */ blr + +.global MultiplyPlaybackRate__9CAnimDataFf +MultiplyPlaybackRate__9CAnimDataFf: +/* 8002B458 000283B8 C0 03 02 00 */ lfs f0, 0x200(r3) +/* 8002B45C 000283BC EC 00 00 72 */ fmuls f0, f0, f1 +/* 8002B460 000283C0 D0 03 02 00 */ stfs f0, 0x200(r3) +/* 8002B464 000283C4 4E 80 00 20 */ blr + +.global SetPlaybackRate__9CAnimDataFf +SetPlaybackRate__9CAnimDataFf: +/* 8002B468 000283C8 D0 23 02 00 */ stfs f1, 0x200(r3) +/* 8002B46C 000283CC 4E 80 00 20 */ blr + +.global SetRandomPlaybackRate__9CAnimDataFR9CRandom16 +SetRandomPlaybackRate__9CAnimDataFR9CRandom16: +/* 8002B470 000283D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002B474 000283D4 7C 08 02 A6 */ mflr r0 +/* 8002B478 000283D8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002B47C 000283DC DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8002B480 000283E0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8002B484 000283E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002B488 000283E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002B48C 000283EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002B490 000283F0 7C 7F 1B 78 */ mr r31, r3 +/* 8002B494 000283F4 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8002B498 000283F8 80 1F 02 10 */ lwz r0, 0x210(r31) +/* 8002B49C 000283FC 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l +/* 8002B4A0 00028400 7C 9D 23 78 */ mr r29, r4 +/* 8002B4A4 00028404 38 63 00 04 */ addi r3, r3, 4 +/* 8002B4A8 00028408 7C 09 03 A6 */ mtctr r0 +/* 8002B4AC 0002840C 2C 00 00 00 */ cmpwi r0, 0 +/* 8002B4B0 00028410 40 81 00 A4 */ ble lbl_8002B554 +lbl_8002B4B4: +/* 8002B4B4 00028414 A0 03 00 18 */ lhz r0, 0x18(r3) +/* 8002B4B8 00028418 2C 00 00 07 */ cmpwi r0, 7 +/* 8002B4BC 0002841C 40 82 00 90 */ bne lbl_8002B54C +/* 8002B4C0 00028420 83 C3 00 38 */ lwz r30, 0x38(r3) +/* 8002B4C4 00028424 7F A3 EB 78 */ mr r3, r29 +/* 8002B4C8 00028428 48 2E 70 59 */ bl Next__9CRandom16Fv +/* 8002B4CC 0002842C 7C 83 F3 D6 */ divw r4, r3, r30 +/* 8002B4D0 00028430 3C 00 43 30 */ lis r0, 0x4330 +/* 8002B4D4 00028434 90 01 00 08 */ stw r0, 8(r1) +/* 8002B4D8 00028438 C8 42 83 E0 */ lfd f2, lbl_805AA100@sda21(r2) +/* 8002B4DC 0002843C C0 02 83 DC */ lfs f0, lbl_805AA0FC@sda21(r2) +/* 8002B4E0 00028440 7C 04 F1 D6 */ mullw r0, r4, r30 +/* 8002B4E4 00028444 7C 00 18 50 */ subf r0, r0, r3 +/* 8002B4E8 00028448 7F A3 EB 78 */ mr r3, r29 +/* 8002B4EC 0002844C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8002B4F0 00028450 90 01 00 0C */ stw r0, 0xc(r1) +/* 8002B4F4 00028454 C8 21 00 08 */ lfd f1, 8(r1) +/* 8002B4F8 00028458 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8002B4FC 0002845C EF E1 00 24 */ fdivs f31, f1, f0 +/* 8002B500 00028460 48 2E 70 21 */ bl Next__9CRandom16Fv +/* 8002B504 00028464 3C 80 51 EC */ lis r4, 0x51EB851F@ha +/* 8002B508 00028468 38 04 85 1F */ addi r0, r4, 0x51EB851F@l +/* 8002B50C 0002846C 7C 00 18 96 */ mulhw r0, r0, r3 +/* 8002B510 00028470 7C 00 2E 70 */ srawi r0, r0, 5 +/* 8002B514 00028474 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8002B518 00028478 7C 00 22 14 */ add r0, r0, r4 +/* 8002B51C 0002847C 1C 00 00 64 */ mulli r0, r0, 0x64 +/* 8002B520 00028480 7C 00 18 50 */ subf r0, r0, r3 +/* 8002B524 00028484 2C 00 00 32 */ cmpwi r0, 0x32 +/* 8002B528 00028488 40 80 00 14 */ bge lbl_8002B53C +/* 8002B52C 0002848C C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) +/* 8002B530 00028490 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8002B534 00028494 D0 1F 02 00 */ stfs f0, 0x200(r31) +/* 8002B538 00028498 48 00 00 1C */ b lbl_8002B554 +lbl_8002B53C: +/* 8002B53C 0002849C C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) +/* 8002B540 000284A0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8002B544 000284A4 D0 1F 02 00 */ stfs f0, 0x200(r31) +/* 8002B548 000284A8 48 00 00 0C */ b lbl_8002B554 +lbl_8002B54C: +/* 8002B54C 000284AC 38 63 00 4C */ addi r3, r3, 0x4c +/* 8002B550 000284B0 42 00 FF 64 */ bdnz lbl_8002B4B4 +lbl_8002B554: +/* 8002B554 000284B4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8002B558 000284B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002B55C 000284BC CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8002B560 000284C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002B564 000284C4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002B568 000284C8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8002B56C 000284CC 7C 08 03 A6 */ mtlr r0 +/* 8002B570 000284D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002B574 000284D4 4E 80 00 20 */ blr + +.global "CalcPlaybackAlignmentParms__9CAnimDataFRC18CAnimPlaybackParmsRCQ24rstl25ncrc_ptr<13CAnimTreeNode>" +"CalcPlaybackAlignmentParms__9CAnimDataFRC18CAnimPlaybackParmsRCQ24rstl25ncrc_ptr<13CAnimTreeNode>": +/* 8002B578 000284D8 94 21 FA E0 */ stwu r1, -0x520(r1) +/* 8002B57C 000284DC 7C 08 02 A6 */ mflr r0 +/* 8002B580 000284E0 90 01 05 24 */ stw r0, 0x524(r1) +/* 8002B584 000284E4 DB E1 05 10 */ stfd f31, 0x510(r1) +/* 8002B588 000284E8 F3 E1 05 18 */ psq_st f31, 1304(r1), 0, qr0 +/* 8002B58C 000284EC DB C1 05 00 */ stfd f30, 0x500(r1) +/* 8002B590 000284F0 F3 C1 05 08 */ psq_st f30, 1288(r1), 0, qr0 +/* 8002B594 000284F4 DB A1 04 F0 */ stfd f29, 0x4f0(r1) +/* 8002B598 000284F8 F3 A1 04 F8 */ psq_st f29, 1272(r1), 0, qr0 +/* 8002B59C 000284FC DB 81 04 E0 */ stfd f28, 0x4e0(r1) +/* 8002B5A0 00028500 F3 81 04 E8 */ psq_st f28, 1256(r1), 0, qr0 +/* 8002B5A4 00028504 DB 61 04 D0 */ stfd f27, 0x4d0(r1) +/* 8002B5A8 00028508 F3 61 04 D8 */ psq_st f27, 1240(r1), 0, qr0 +/* 8002B5AC 0002850C DB 41 04 C0 */ stfd f26, 0x4c0(r1) +/* 8002B5B0 00028510 F3 41 04 C8 */ psq_st f26, 1224(r1), 0, qr0 +/* 8002B5B4 00028514 DB 21 04 B0 */ stfd f25, 0x4b0(r1) +/* 8002B5B8 00028518 F3 21 04 B8 */ psq_st f25, 1208(r1), 0, qr0 +/* 8002B5BC 0002851C DB 01 04 A0 */ stfd f24, 0x4a0(r1) +/* 8002B5C0 00028520 F3 01 04 A8 */ psq_st f24, 1192(r1), 0, qr0 +/* 8002B5C4 00028524 DA E1 04 90 */ stfd f23, 0x490(r1) +/* 8002B5C8 00028528 F2 E1 04 98 */ psq_st f23, 1176(r1), 0, qr0 +/* 8002B5CC 0002852C DA C1 04 80 */ stfd f22, 0x480(r1) +/* 8002B5D0 00028530 F2 C1 04 88 */ psq_st f22, 1160(r1), 0, qr0 +/* 8002B5D4 00028534 DA A1 04 70 */ stfd f21, 0x470(r1) +/* 8002B5D8 00028538 F2 A1 04 78 */ psq_st f21, 1144(r1), 0, qr0 +/* 8002B5DC 0002853C BE 81 04 40 */ stmw r20, 0x440(r1) +/* 8002B5E0 00028540 3C C0 80 5A */ lis r6, lbl_805A6660@ha +/* 8002B5E4 00028544 7C 9E 23 78 */ mr r30, r4 +/* 8002B5E8 00028548 3B 66 66 60 */ addi r27, r6, lbl_805A6660@l +/* 8002B5EC 0002854C 83 84 00 1C */ lwz r28, 0x1c(r4) +/* 8002B5F0 00028550 C0 7B 00 00 */ lfs f3, 0(r27) +/* 8002B5F4 00028554 7C 7D 1B 78 */ mr r29, r3 +/* 8002B5F8 00028558 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8002B5FC 0002855C 38 80 00 00 */ li r4, 0 +/* 8002B600 00028560 C0 3B 00 08 */ lfs f1, 8(r27) +/* 8002B604 00028564 28 1C 00 00 */ cmplwi r28, 0 +/* 8002B608 00028568 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 8002B60C 0002856C 7C BF 2B 78 */ mr r31, r5 +/* 8002B610 00028570 D0 61 01 54 */ stfs f3, 0x154(r1) +/* 8002B614 00028574 83 5E 00 20 */ lwz r26, 0x20(r30) +/* 8002B618 00028578 D0 41 01 58 */ stfs f2, 0x158(r1) +/* 8002B61C 0002857C D0 21 01 5C */ stfs f1, 0x15c(r1) +/* 8002B620 00028580 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 8002B624 00028584 D0 63 01 E8 */ stfs f3, 0x1e8(r3) +/* 8002B628 00028588 80 A1 01 58 */ lwz r5, 0x158(r1) +/* 8002B62C 0002858C 80 01 01 5C */ lwz r0, 0x15c(r1) +/* 8002B630 00028590 90 A3 01 EC */ stw r5, 0x1ec(r3) +/* 8002B634 00028594 90 03 01 F0 */ stw r0, 0x1f0(r3) +/* 8002B638 00028598 80 01 01 60 */ lwz r0, 0x160(r1) +/* 8002B63C 0002859C 90 03 01 F4 */ stw r0, 0x1f4(r3) +/* 8002B640 000285A0 88 03 02 20 */ lbz r0, 0x220(r3) +/* 8002B644 000285A4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8002B648 000285A8 98 03 02 20 */ stb r0, 0x220(r3) +/* 8002B64C 000285AC 41 82 02 38 */ beq lbl_8002B884 +/* 8002B650 000285B0 28 1A 00 00 */ cmplwi r26, 0 +/* 8002B654 000285B4 41 82 02 30 */ beq lbl_8002B884 +/* 8002B658 000285B8 48 00 31 C9 */ bl ResetPOILists__9CAnimDataFv +/* 8002B65C 000285BC C0 0D 81 EC */ lfs f0, lbl_805A6DAC@sda21(r13) +/* 8002B660 000285C0 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8002B664 000285C4 80 0D 81 E8 */ lwz r0, lbl_805A6DA8@sda21(r13) +/* 8002B668 000285C8 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l +/* 8002B66C 000285CC D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8002B670 000285D0 3A 83 00 04 */ addi r20, r3, 4 +/* 8002B674 000285D4 80 7F 00 00 */ lwz r3, 0(r31) +/* 8002B678 000285D8 7E 85 A3 78 */ mr r5, r20 +/* 8002B67C 000285DC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8002B680 000285E0 38 81 00 58 */ addi r4, r1, 0x58 +/* 8002B684 000285E4 38 C0 00 10 */ li r6, 0x10 +/* 8002B688 000285E8 39 00 00 40 */ li r8, 0x40 +/* 8002B68C 000285EC 80 63 00 00 */ lwz r3, 0(r3) +/* 8002B690 000285F0 80 FD 02 10 */ lwz r7, 0x210(r29) +/* 8002B694 000285F4 48 2D 26 E9 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 8002B698 000285F8 80 1D 02 10 */ lwz r0, 0x210(r29) +/* 8002B69C 000285FC 7C 00 1A 14 */ add r0, r0, r3 +/* 8002B6A0 00028600 90 1D 02 10 */ stw r0, 0x210(r29) +/* 8002B6A4 00028604 80 1D 02 10 */ lwz r0, 0x210(r29) +/* 8002B6A8 00028608 2C 00 00 00 */ cmpwi r0, 0 +/* 8002B6AC 0002860C 40 81 01 D8 */ ble lbl_8002B884 +/* 8002B6B0 00028610 7C 09 03 A6 */ mtctr r0 +/* 8002B6B4 00028614 40 81 01 D0 */ ble lbl_8002B884 +lbl_8002B6B8: +/* 8002B6B8 00028618 A0 14 00 18 */ lhz r0, 0x18(r20) +/* 8002B6BC 0002861C 2C 00 00 06 */ cmpwi r0, 6 +/* 8002B6C0 00028620 40 82 01 BC */ bne lbl_8002B87C +/* 8002B6C4 00028624 80 14 00 38 */ lwz r0, 0x38(r20) +/* 8002B6C8 00028628 2C 00 00 04 */ cmpwi r0, 4 +/* 8002B6CC 0002862C 40 82 01 B0 */ bne lbl_8002B87C +/* 8002B6D0 00028630 C0 0D 81 DC */ lfs f0, lbl_805A6D9C@sda21(r13) +/* 8002B6D4 00028634 3A 94 00 1C */ addi r20, r20, 0x1c +/* 8002B6D8 00028638 80 0D 81 D8 */ lwz r0, lbl_805A6D98@sda21(r13) +/* 8002B6DC 0002863C 7E 85 A3 78 */ mr r5, r20 +/* 8002B6E0 00028640 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8002B6E4 00028644 38 61 02 FC */ addi r3, r1, 0x2fc +/* 8002B6E8 00028648 80 9F 00 00 */ lwz r4, 0(r31) +/* 8002B6EC 0002864C 38 C1 00 50 */ addi r6, r1, 0x50 +/* 8002B6F0 00028650 90 01 00 54 */ stw r0, 0x54(r1) +/* 8002B6F4 00028654 80 84 00 00 */ lwz r4, 0(r4) +/* 8002B6F8 00028658 81 84 00 00 */ lwz r12, 0(r4) +/* 8002B6FC 0002865C 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8002B700 00028660 7D 89 03 A6 */ mtctr r12 +/* 8002B704 00028664 4E 80 04 21 */ bctrl +/* 8002B708 00028668 80 01 03 00 */ lwz r0, 0x300(r1) +/* 8002B70C 0002866C 7F 44 D3 78 */ mr r4, r26 +/* 8002B710 00028670 C0 C1 03 04 */ lfs f6, 0x304(r1) +/* 8002B714 00028674 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 8002B718 00028678 C0 A1 03 08 */ lfs f5, 0x308(r1) +/* 8002B71C 0002867C C0 81 03 0C */ lfs f4, 0x30c(r1) +/* 8002B720 00028680 C0 61 03 10 */ lfs f3, 0x310(r1) +/* 8002B724 00028684 C0 41 03 14 */ lfs f2, 0x314(r1) +/* 8002B728 00028688 C0 21 03 18 */ lfs f1, 0x318(r1) +/* 8002B72C 0002868C C0 01 03 1C */ lfs f0, 0x31c(r1) +/* 8002B730 00028690 90 01 04 14 */ stw r0, 0x414(r1) +/* 8002B734 00028694 D0 C1 04 18 */ stfs f6, 0x418(r1) +/* 8002B738 00028698 D0 A1 04 1C */ stfs f5, 0x41c(r1) +/* 8002B73C 0002869C D0 81 04 20 */ stfs f4, 0x420(r1) +/* 8002B740 000286A0 D0 61 04 24 */ stfs f3, 0x424(r1) +/* 8002B744 000286A4 D0 41 04 28 */ stfs f2, 0x428(r1) +/* 8002B748 000286A8 D0 21 04 2C */ stfs f1, 0x42c(r1) +/* 8002B74C 000286AC D0 01 04 30 */ stfs f0, 0x430(r1) +/* 8002B750 000286B0 48 2E 79 A5 */ bl BuildMatrix3f__12CTransform4fCFv +/* 8002B754 000286B4 38 61 02 D8 */ addi r3, r1, 0x2d8 +/* 8002B758 000286B8 38 81 02 B4 */ addi r4, r1, 0x2b4 +/* 8002B75C 000286BC 48 00 0A 01 */ bl Inverse__9CMatrix3fCFv +/* 8002B760 000286C0 38 61 03 EC */ addi r3, r1, 0x3ec +/* 8002B764 000286C4 38 81 02 D8 */ addi r4, r1, 0x2d8 +/* 8002B768 000286C8 48 2E 48 BD */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8002B76C 000286CC 38 61 01 04 */ addi r3, r1, 0x104 +/* 8002B770 000286D0 38 81 03 EC */ addi r4, r1, 0x3ec +/* 8002B774 000286D4 48 2E 6A 0D */ bl FromMatrix__11CQuaternionFRC9CMatrix3f +/* 8002B778 000286D8 7F 84 E3 78 */ mr r4, r28 +/* 8002B77C 000286DC 38 61 01 14 */ addi r3, r1, 0x114 +/* 8002B780 000286E0 38 A1 01 04 */ addi r5, r1, 0x104 +/* 8002B784 000286E4 48 2E 5A 1D */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8002B788 000286E8 C0 41 04 30 */ lfs f2, 0x430(r1) +/* 8002B78C 000286EC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8002B790 000286F0 C0 21 04 2C */ lfs f1, 0x42c(r1) +/* 8002B794 000286F4 38 81 01 44 */ addi r4, r1, 0x144 +/* 8002B798 000286F8 C0 01 04 28 */ lfs f0, 0x428(r1) +/* 8002B79C 000286FC FC E0 10 50 */ fneg f7, f2 +/* 8002B7A0 00028700 FC C0 08 50 */ fneg f6, f1 +/* 8002B7A4 00028704 C0 81 01 14 */ lfs f4, 0x114(r1) +/* 8002B7A8 00028708 FC A0 00 50 */ fneg f5, f0 +/* 8002B7AC 0002870C C0 61 01 18 */ lfs f3, 0x118(r1) +/* 8002B7B0 00028710 C0 41 01 1C */ lfs f2, 0x11c(r1) +/* 8002B7B4 00028714 C0 21 01 20 */ lfs f1, 0x120(r1) +/* 8002B7B8 00028718 C0 01 04 24 */ lfs f0, 0x424(r1) +/* 8002B7BC 0002871C 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 8002B7C0 00028720 D0 81 01 44 */ stfs f4, 0x144(r1) +/* 8002B7C4 00028724 D0 61 01 48 */ stfs f3, 0x148(r1) +/* 8002B7C8 00028728 D0 41 01 4C */ stfs f2, 0x14c(r1) +/* 8002B7CC 0002872C D0 21 01 50 */ stfs f1, 0x150(r1) +/* 8002B7D0 00028730 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 8002B7D4 00028734 D0 A1 00 E8 */ stfs f5, 0xe8(r1) +/* 8002B7D8 00028738 D0 C1 00 EC */ stfs f6, 0xec(r1) +/* 8002B7DC 0002873C D0 E1 00 F0 */ stfs f7, 0xf0(r1) +/* 8002B7E0 00028740 48 2E 59 C1 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8002B7E4 00028744 C0 22 83 E8 */ lfs f1, lbl_805AA108@sda21(r2) +/* 8002B7E8 00028748 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 8002B7EC 0002874C C0 14 00 00 */ lfs f0, 0(r20) +/* 8002B7F0 00028750 38 83 66 60 */ addi r4, r3, lbl_805A6660@l +/* 8002B7F4 00028754 C0 81 00 F4 */ lfs f4, 0xf4(r1) +/* 8002B7F8 00028758 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8002B7FC 0002875C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8002B800 00028760 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) +/* 8002B804 00028764 C0 61 00 F8 */ lfs f3, 0xf8(r1) +/* 8002B808 00028768 38 A1 01 34 */ addi r5, r1, 0x134 +/* 8002B80C 0002876C C0 41 00 FC */ lfs f2, 0xfc(r1) +/* 8002B810 00028770 EC 21 00 24 */ fdivs f1, f1, f0 +/* 8002B814 00028774 C0 01 01 00 */ lfs f0, 0x100(r1) +/* 8002B818 00028778 D0 81 01 34 */ stfs f4, 0x134(r1) +/* 8002B81C 0002877C D0 61 01 38 */ stfs f3, 0x138(r1) +/* 8002B820 00028780 D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 8002B824 00028784 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 8002B828 00028788 48 2E 64 D1 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 8002B82C 0002878C C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 8002B830 00028790 38 60 00 01 */ li r3, 1 +/* 8002B834 00028794 80 A1 00 D8 */ lwz r5, 0xd8(r1) +/* 8002B838 00028798 80 81 00 DC */ lwz r4, 0xdc(r1) +/* 8002B83C 0002879C 80 01 00 E0 */ lwz r0, 0xe0(r1) +/* 8002B840 000287A0 D0 01 01 54 */ stfs f0, 0x154(r1) +/* 8002B844 000287A4 90 A1 01 58 */ stw r5, 0x158(r1) +/* 8002B848 000287A8 90 81 01 5C */ stw r4, 0x15c(r1) +/* 8002B84C 000287AC 90 01 01 60 */ stw r0, 0x160(r1) +/* 8002B850 000287B0 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) +/* 8002B854 000287B4 80 81 01 58 */ lwz r4, 0x158(r1) +/* 8002B858 000287B8 80 01 01 5C */ lwz r0, 0x15c(r1) +/* 8002B85C 000287BC 90 9D 01 EC */ stw r4, 0x1ec(r29) +/* 8002B860 000287C0 90 1D 01 F0 */ stw r0, 0x1f0(r29) +/* 8002B864 000287C4 80 01 01 60 */ lwz r0, 0x160(r1) +/* 8002B868 000287C8 90 1D 01 F4 */ stw r0, 0x1f4(r29) +/* 8002B86C 000287CC 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002B870 000287D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8002B874 000287D4 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002B878 000287D8 48 00 00 0C */ b lbl_8002B884 +lbl_8002B87C: +/* 8002B87C 000287DC 3A 94 00 4C */ addi r20, r20, 0x4c +/* 8002B880 000287E0 42 00 FE 38 */ bdnz lbl_8002B6B8 +lbl_8002B884: +/* 8002B884 000287E4 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002B888 000287E8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8002B88C 000287EC 40 82 04 10 */ bne lbl_8002BC9C +/* 8002B890 000287F0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8002B894 000287F4 80 0D 81 E0 */ lwz r0, lbl_805A6DA0@sda21(r13) +/* 8002B898 000287F8 3B 83 66 A0 */ addi r28, r3, skZero3f@l +/* 8002B89C 000287FC C0 0D 81 E4 */ lfs f0, lbl_805A6DA4@sda21(r13) +/* 8002B8A0 00028800 C3 3C 00 00 */ lfs f25, 0(r28) +/* 8002B8A4 00028804 3A E0 00 00 */ li r23, 0 +/* 8002B8A8 00028808 C3 5C 00 04 */ lfs f26, 4(r28) +/* 8002B8AC 0002880C 3A C0 00 00 */ li r22, 0 +/* 8002B8B0 00028810 C3 DC 00 08 */ lfs f30, 8(r28) +/* 8002B8B4 00028814 FF A0 C8 90 */ fmr f29, f25 +/* 8002B8B8 00028818 83 7E 00 14 */ lwz r27, 0x14(r30) +/* 8002B8BC 0002881C FF 80 D0 90 */ fmr f28, f26 +/* 8002B8C0 00028820 FF 60 F0 90 */ fmr f27, f30 +/* 8002B8C4 00028824 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8002B8C8 00028828 28 1B 00 00 */ cmplwi r27, 0 +/* 8002B8CC 0002882C D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8002B8D0 00028830 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8002B8D4 00028834 90 01 00 44 */ stw r0, 0x44(r1) +/* 8002B8D8 00028838 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8002B8DC 0002883C 90 01 00 84 */ stw r0, 0x84(r1) +/* 8002B8E0 00028840 41 82 03 88 */ beq lbl_8002BC68 +/* 8002B8E4 00028844 28 1A 00 00 */ cmplwi r26, 0 +/* 8002B8E8 00028848 41 82 03 80 */ beq lbl_8002BC68 +/* 8002B8EC 0002884C 7F A3 EB 78 */ mr r3, r29 +/* 8002B8F0 00028850 48 00 2F 31 */ bl ResetPOILists__9CAnimDataFv +/* 8002B8F4 00028854 C0 0D 81 EC */ lfs f0, lbl_805A6DAC@sda21(r13) +/* 8002B8F8 00028858 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8002B8FC 0002885C 80 0D 81 E8 */ lwz r0, lbl_805A6DA8@sda21(r13) +/* 8002B900 00028860 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l +/* 8002B904 00028864 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8002B908 00028868 3B 03 00 04 */ addi r24, r3, 4 +/* 8002B90C 0002886C 80 7F 00 00 */ lwz r3, 0(r31) +/* 8002B910 00028870 7F 05 C3 78 */ mr r5, r24 +/* 8002B914 00028874 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8002B918 00028878 38 81 00 38 */ addi r4, r1, 0x38 +/* 8002B91C 0002887C 38 C0 00 10 */ li r6, 0x10 +/* 8002B920 00028880 39 00 00 40 */ li r8, 0x40 +/* 8002B924 00028884 80 63 00 00 */ lwz r3, 0(r3) +/* 8002B928 00028888 80 FD 02 10 */ lwz r7, 0x210(r29) +/* 8002B92C 0002888C 48 2D 24 51 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 8002B930 00028890 80 1D 02 10 */ lwz r0, 0x210(r29) +/* 8002B934 00028894 7C 00 1A 14 */ add r0, r0, r3 +/* 8002B938 00028898 90 1D 02 10 */ stw r0, 0x210(r29) +/* 8002B93C 0002889C 82 BD 02 10 */ lwz r21, 0x210(r29) +/* 8002B940 000288A0 2C 15 00 00 */ cmpwi r21, 0 +/* 8002B944 000288A4 40 81 07 AC */ ble lbl_8002C0F0 +/* 8002B948 000288A8 3A 80 00 00 */ li r20, 0 +/* 8002B94C 000288AC 48 00 01 EC */ b lbl_8002BB38 +lbl_8002B950: +/* 8002B950 000288B0 A0 18 00 18 */ lhz r0, 0x18(r24) +/* 8002B954 000288B4 2C 00 00 06 */ cmpwi r0, 6 +/* 8002B958 000288B8 40 82 01 D8 */ bne lbl_8002BB30 +/* 8002B95C 000288BC 80 18 00 38 */ lwz r0, 0x38(r24) +/* 8002B960 000288C0 3B 38 00 3C */ addi r25, r24, 0x3c +/* 8002B964 000288C4 2C 00 00 0A */ cmpwi r0, 0xa +/* 8002B968 000288C8 40 82 00 E4 */ bne lbl_8002BA4C +/* 8002B96C 000288CC C0 0D 81 DC */ lfs f0, lbl_805A6D9C@sda21(r13) +/* 8002B970 000288D0 38 61 02 90 */ addi r3, r1, 0x290 +/* 8002B974 000288D4 C0 38 00 1C */ lfs f1, 0x1c(r24) +/* 8002B978 000288D8 38 A1 00 88 */ addi r5, r1, 0x88 +/* 8002B97C 000288DC 80 F8 00 20 */ lwz r7, 0x20(r24) +/* 8002B980 000288E0 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8002B984 000288E4 80 0D 81 D8 */ lwz r0, lbl_805A6D98@sda21(r13) +/* 8002B988 000288E8 3A E0 00 01 */ li r23, 1 +/* 8002B98C 000288EC D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8002B990 000288F0 80 9F 00 00 */ lwz r4, 0(r31) +/* 8002B994 000288F4 90 E1 00 8C */ stw r7, 0x8c(r1) +/* 8002B998 000288F8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8002B99C 000288FC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002B9A0 00028900 80 84 00 00 */ lwz r4, 0(r4) +/* 8002B9A4 00028904 81 84 00 00 */ lwz r12, 0(r4) +/* 8002B9A8 00028908 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8002B9AC 0002890C 7D 89 03 A6 */ mtctr r12 +/* 8002B9B0 00028910 4E 80 04 21 */ bctrl +/* 8002B9B4 00028914 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 8002B9B8 00028918 C3 21 02 98 */ lfs f25, 0x298(r1) +/* 8002B9BC 0002891C C3 41 02 9C */ lfs f26, 0x29c(r1) +/* 8002B9C0 00028920 28 00 00 00 */ cmplwi r0, 0 +/* 8002B9C4 00028924 C3 C1 02 A0 */ lfs f30, 0x2a0(r1) +/* 8002B9C8 00028928 C0 81 02 90 */ lfs f4, 0x290(r1) +/* 8002B9CC 0002892C 80 61 02 94 */ lwz r3, 0x294(r1) +/* 8002B9D0 00028930 C0 61 02 A4 */ lfs f3, 0x2a4(r1) +/* 8002B9D4 00028934 C0 41 02 A8 */ lfs f2, 0x2a8(r1) +/* 8002B9D8 00028938 C0 21 02 AC */ lfs f1, 0x2ac(r1) +/* 8002B9DC 0002893C C0 01 02 B0 */ lfs f0, 0x2b0(r1) +/* 8002B9E0 00028940 D0 81 03 C8 */ stfs f4, 0x3c8(r1) +/* 8002B9E4 00028944 90 61 03 CC */ stw r3, 0x3cc(r1) +/* 8002B9E8 00028948 D3 21 03 D0 */ stfs f25, 0x3d0(r1) +/* 8002B9EC 0002894C D3 41 03 D4 */ stfs f26, 0x3d4(r1) +/* 8002B9F0 00028950 D3 C1 03 D8 */ stfs f30, 0x3d8(r1) +/* 8002B9F4 00028954 D0 61 03 DC */ stfs f3, 0x3dc(r1) +/* 8002B9F8 00028958 D0 41 03 E0 */ stfs f2, 0x3e0(r1) +/* 8002B9FC 0002895C D0 21 03 E4 */ stfs f1, 0x3e4(r1) +/* 8002BA00 00028960 D0 01 03 E8 */ stfs f0, 0x3e8(r1) +/* 8002BA04 00028964 41 82 00 3C */ beq lbl_8002BA40 +/* 8002BA08 00028968 7F A4 EB 78 */ mr r4, r29 +/* 8002BA0C 0002896C 7F 25 CB 78 */ mr r5, r25 +/* 8002BA10 00028970 38 61 02 60 */ addi r3, r1, 0x260 +/* 8002BA14 00028974 38 C1 00 88 */ addi r6, r1, 0x88 +/* 8002BA18 00028978 48 00 09 69 */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +/* 8002BA1C 0002897C 38 61 03 98 */ addi r3, r1, 0x398 +/* 8002BA20 00028980 38 81 02 60 */ addi r4, r1, 0x260 +/* 8002BA24 00028984 48 2E 71 51 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8002BA28 00028988 C0 41 03 A4 */ lfs f2, 0x3a4(r1) +/* 8002BA2C 0002898C C0 21 03 B4 */ lfs f1, 0x3b4(r1) +/* 8002BA30 00028990 C0 01 03 C4 */ lfs f0, 0x3c4(r1) +/* 8002BA34 00028994 EF 39 10 2A */ fadds f25, f25, f2 +/* 8002BA38 00028998 EF 5A 08 2A */ fadds f26, f26, f1 +/* 8002BA3C 0002899C EF DE 00 2A */ fadds f30, f30, f0 +lbl_8002BA40: +/* 8002BA40 000289A0 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 8002BA44 000289A4 40 82 00 FC */ bne lbl_8002BB40 +/* 8002BA48 000289A8 48 00 00 E8 */ b lbl_8002BB30 +lbl_8002BA4C: +/* 8002BA4C 000289AC 2C 00 00 03 */ cmpwi r0, 3 +/* 8002BA50 000289B0 40 82 00 E0 */ bne lbl_8002BB30 +/* 8002BA54 000289B4 C0 0D 81 DC */ lfs f0, lbl_805A6D9C@sda21(r13) +/* 8002BA58 000289B8 38 61 02 3C */ addi r3, r1, 0x23c +/* 8002BA5C 000289BC C0 38 00 1C */ lfs f1, 0x1c(r24) +/* 8002BA60 000289C0 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8002BA64 000289C4 80 F8 00 20 */ lwz r7, 0x20(r24) +/* 8002BA68 000289C8 38 C1 00 28 */ addi r6, r1, 0x28 +/* 8002BA6C 000289CC 80 0D 81 D8 */ lwz r0, lbl_805A6D98@sda21(r13) +/* 8002BA70 000289D0 3A C0 00 01 */ li r22, 1 +/* 8002BA74 000289D4 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 8002BA78 000289D8 80 9F 00 00 */ lwz r4, 0(r31) +/* 8002BA7C 000289DC 90 E1 00 84 */ stw r7, 0x84(r1) +/* 8002BA80 000289E0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8002BA84 000289E4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8002BA88 000289E8 80 84 00 00 */ lwz r4, 0(r4) +/* 8002BA8C 000289EC 81 84 00 00 */ lwz r12, 0(r4) +/* 8002BA90 000289F0 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8002BA94 000289F4 7D 89 03 A6 */ mtctr r12 +/* 8002BA98 000289F8 4E 80 04 21 */ bctrl +/* 8002BA9C 000289FC 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 8002BAA0 00028A00 C3 A1 02 44 */ lfs f29, 0x244(r1) +/* 8002BAA4 00028A04 C3 81 02 48 */ lfs f28, 0x248(r1) +/* 8002BAA8 00028A08 28 00 00 00 */ cmplwi r0, 0 +/* 8002BAAC 00028A0C C3 61 02 4C */ lfs f27, 0x24c(r1) +/* 8002BAB0 00028A10 C0 81 02 3C */ lfs f4, 0x23c(r1) +/* 8002BAB4 00028A14 80 61 02 40 */ lwz r3, 0x240(r1) +/* 8002BAB8 00028A18 C0 61 02 50 */ lfs f3, 0x250(r1) +/* 8002BABC 00028A1C C0 41 02 54 */ lfs f2, 0x254(r1) +/* 8002BAC0 00028A20 C0 21 02 58 */ lfs f1, 0x258(r1) +/* 8002BAC4 00028A24 C0 01 02 5C */ lfs f0, 0x25c(r1) +/* 8002BAC8 00028A28 D0 81 03 74 */ stfs f4, 0x374(r1) +/* 8002BACC 00028A2C 90 61 03 78 */ stw r3, 0x378(r1) +/* 8002BAD0 00028A30 D3 A1 03 7C */ stfs f29, 0x37c(r1) +/* 8002BAD4 00028A34 D3 81 03 80 */ stfs f28, 0x380(r1) +/* 8002BAD8 00028A38 D3 61 03 84 */ stfs f27, 0x384(r1) +/* 8002BADC 00028A3C D0 61 03 88 */ stfs f3, 0x388(r1) +/* 8002BAE0 00028A40 D0 41 03 8C */ stfs f2, 0x38c(r1) +/* 8002BAE4 00028A44 D0 21 03 90 */ stfs f1, 0x390(r1) +/* 8002BAE8 00028A48 D0 01 03 94 */ stfs f0, 0x394(r1) +/* 8002BAEC 00028A4C 41 82 00 3C */ beq lbl_8002BB28 +/* 8002BAF0 00028A50 7F A4 EB 78 */ mr r4, r29 +/* 8002BAF4 00028A54 7F 25 CB 78 */ mr r5, r25 +/* 8002BAF8 00028A58 38 61 02 0C */ addi r3, r1, 0x20c +/* 8002BAFC 00028A5C 38 C1 00 80 */ addi r6, r1, 0x80 +/* 8002BB00 00028A60 48 00 08 81 */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +/* 8002BB04 00028A64 38 61 03 44 */ addi r3, r1, 0x344 +/* 8002BB08 00028A68 38 81 02 0C */ addi r4, r1, 0x20c +/* 8002BB0C 00028A6C 48 2E 70 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8002BB10 00028A70 C0 41 03 50 */ lfs f2, 0x350(r1) +/* 8002BB14 00028A74 C0 21 03 60 */ lfs f1, 0x360(r1) +/* 8002BB18 00028A78 C0 01 03 70 */ lfs f0, 0x370(r1) +/* 8002BB1C 00028A7C EF BD 10 2A */ fadds f29, f29, f2 +/* 8002BB20 00028A80 EF 9C 08 2A */ fadds f28, f28, f1 +/* 8002BB24 00028A84 EF 7B 00 2A */ fadds f27, f27, f0 +lbl_8002BB28: +/* 8002BB28 00028A88 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8002BB2C 00028A8C 40 82 00 14 */ bne lbl_8002BB40 +lbl_8002BB30: +/* 8002BB30 00028A90 3B 18 00 4C */ addi r24, r24, 0x4c +/* 8002BB34 00028A94 3A 94 00 01 */ addi r20, r20, 1 +lbl_8002BB38: +/* 8002BB38 00028A98 7C 14 A8 00 */ cmpw r20, r21 +/* 8002BB3C 00028A9C 41 80 FE 14 */ blt lbl_8002B950 +lbl_8002BB40: +/* 8002BB40 00028AA0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8002BB44 00028AA4 41 82 00 E8 */ beq lbl_8002BC2C +/* 8002BB48 00028AA8 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 8002BB4C 00028AAC 41 82 00 E0 */ beq lbl_8002BC2C +/* 8002BB50 00028AB0 82 9E 00 24 */ lwz r20, 0x24(r30) +/* 8002BB54 00028AB4 7F 44 D3 78 */ mr r4, r26 +/* 8002BB58 00028AB8 38 61 01 DC */ addi r3, r1, 0x1dc +/* 8002BB5C 00028ABC C2 F4 00 08 */ lfs f23, 8(r20) +/* 8002BB60 00028AC0 C2 D4 00 04 */ lfs f22, 4(r20) +/* 8002BB64 00028AC4 C2 B4 00 00 */ lfs f21, 0(r20) +/* 8002BB68 00028AC8 EF D7 07 B2 */ fmuls f30, f23, f30 +/* 8002BB6C 00028ACC EF F6 06 B2 */ fmuls f31, f22, f26 +/* 8002BB70 00028AD0 EF 15 06 72 */ fmuls f24, f21, f25 +/* 8002BB74 00028AD4 48 2E 6B 6D */ bl GetInverse__12CTransform4fCFv +/* 8002BB78 00028AD8 7F 65 DB 78 */ mr r5, r27 +/* 8002BB7C 00028ADC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8002BB80 00028AE0 38 81 01 DC */ addi r4, r1, 0x1dc +/* 8002BB84 00028AE4 48 2E 6F 65 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8002BB88 00028AE8 EC 15 07 72 */ fmuls f0, f21, f29 +/* 8002BB8C 00028AEC C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 8002BB90 00028AF0 EC 56 07 32 */ fmuls f2, f22, f28 +/* 8002BB94 00028AF4 C0 61 00 CC */ lfs f3, 0xcc(r1) +/* 8002BB98 00028AF8 EC B7 06 F2 */ fmuls f5, f23, f27 +/* 8002BB9C 00028AFC C0 C1 00 D0 */ lfs f6, 0xd0(r1) +/* 8002BBA0 00028B00 ED 41 C0 28 */ fsubs f10, f1, f24 +/* 8002BBA4 00028B04 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8002BBA8 00028B08 ED 20 C0 28 */ fsubs f9, f0, f24 +/* 8002BBAC 00028B0C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8002BBB0 00028B10 ED 03 F8 28 */ fsubs f8, f3, f31 +/* 8002BBB4 00028B14 C0 94 00 00 */ lfs f4, 0(r20) +/* 8002BBB8 00028B18 EC E2 F8 28 */ fsubs f7, f2, f31 +/* 8002BBBC 00028B1C C0 42 83 D8 */ lfs f2, lbl_805AA0F8@sda21(r2) +/* 8002BBC0 00028B20 ED 2A 48 28 */ fsubs f9, f10, f9 +/* 8002BBC4 00028B24 C0 74 00 04 */ lfs f3, 4(r20) +/* 8002BBC8 00028B28 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8002BBCC 00028B2C C0 34 00 08 */ lfs f1, 8(r20) +/* 8002BBD0 00028B30 EC E8 38 28 */ fsubs f7, f8, f7 +/* 8002BBD4 00028B34 38 80 00 01 */ li r4, 1 +/* 8002BBD8 00028B38 EC C6 F0 28 */ fsubs f6, f6, f30 +/* 8002BBDC 00028B3C 38 60 00 00 */ li r3, 0 +/* 8002BBE0 00028B40 EC A5 F0 28 */ fsubs f5, f5, f30 +/* 8002BBE4 00028B44 ED 29 20 24 */ fdivs f9, f9, f4 +/* 8002BBE8 00028B48 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8002BBEC 00028B4C EC 06 28 28 */ fsubs f0, f6, f5 +/* 8002BBF0 00028B50 EC E7 18 24 */ fdivs f7, f7, f3 +/* 8002BBF4 00028B54 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8002BBF8 00028B58 ED 29 00 B2 */ fmuls f9, f9, f2 +/* 8002BBFC 00028B5C EC E7 00 B2 */ fmuls f7, f7, f2 +/* 8002BC00 00028B60 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8002BC04 00028B64 D1 3D 01 DC */ stfs f9, 0x1dc(r29) +/* 8002BC08 00028B68 D0 FD 01 E0 */ stfs f7, 0x1e0(r29) +/* 8002BC0C 00028B6C D0 1D 01 E4 */ stfs f0, 0x1e4(r29) +/* 8002BC10 00028B70 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002BC14 00028B74 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8002BC18 00028B78 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002BC1C 00028B7C 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002BC20 00028B80 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8002BC24 00028B84 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002BC28 00028B88 48 00 04 C8 */ b lbl_8002C0F0 +lbl_8002BC2C: +/* 8002BC2C 00028B8C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8002BC30 00028B90 38 60 00 00 */ li r3, 0 +/* 8002BC34 00028B94 C0 04 66 A0 */ lfs f0, skZero3f@l(r4) +/* 8002BC38 00028B98 D0 1D 01 DC */ stfs f0, 0x1dc(r29) +/* 8002BC3C 00028B9C C0 1C 00 04 */ lfs f0, 4(r28) +/* 8002BC40 00028BA0 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) +/* 8002BC44 00028BA4 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8002BC48 00028BA8 D0 1D 01 E4 */ stfs f0, 0x1e4(r29) +/* 8002BC4C 00028BAC 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002BC50 00028BB0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8002BC54 00028BB4 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002BC58 00028BB8 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002BC5C 00028BBC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8002BC60 00028BC0 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002BC64 00028BC4 48 00 04 8C */ b lbl_8002C0F0 +lbl_8002BC68: +/* 8002BC68 00028BC8 D3 3D 01 DC */ stfs f25, 0x1dc(r29) +/* 8002BC6C 00028BCC 38 60 00 00 */ li r3, 0 +/* 8002BC70 00028BD0 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8002BC74 00028BD4 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) +/* 8002BC78 00028BD8 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8002BC7C 00028BDC D0 1D 01 E4 */ stfs f0, 0x1e4(r29) +/* 8002BC80 00028BE0 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002BC84 00028BE4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8002BC88 00028BE8 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002BC8C 00028BEC 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002BC90 00028BF0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8002BC94 00028BF4 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002BC98 00028BF8 48 00 04 58 */ b lbl_8002C0F0 +lbl_8002BC9C: +/* 8002BC9C 00028BFC 83 3E 00 14 */ lwz r25, 0x14(r30) +/* 8002BCA0 00028C00 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8002BCA4 00028C04 80 0D 81 E0 */ lwz r0, lbl_805A6DA0@sda21(r13) +/* 8002BCA8 00028C08 3B 83 66 A0 */ addi r28, r3, skZero3f@l +/* 8002BCAC 00028C0C C0 0D 81 E4 */ lfs f0, lbl_805A6DA4@sda21(r13) +/* 8002BCB0 00028C10 28 19 00 00 */ cmplwi r25, 0 +/* 8002BCB4 00028C14 C3 1C 00 00 */ lfs f24, 0(r28) +/* 8002BCB8 00028C18 3A 80 00 00 */ li r20, 0 +/* 8002BCBC 00028C1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002BCC0 00028C20 3A A0 00 00 */ li r21, 0 +/* 8002BCC4 00028C24 C3 7C 00 04 */ lfs f27, 4(r28) +/* 8002BCC8 00028C28 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8002BCCC 00028C2C C3 9C 00 08 */ lfs f28, 8(r28) +/* 8002BCD0 00028C30 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8002BCD4 00028C34 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8002BCD8 00028C38 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8002BCDC 00028C3C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8002BCE0 00028C40 41 82 03 E0 */ beq lbl_8002C0C0 +/* 8002BCE4 00028C44 28 1A 00 00 */ cmplwi r26, 0 +/* 8002BCE8 00028C48 41 82 03 D8 */ beq lbl_8002C0C0 +/* 8002BCEC 00028C4C 7F A3 EB 78 */ mr r3, r29 +/* 8002BCF0 00028C50 48 00 2B 31 */ bl ResetPOILists__9CAnimDataFv +/* 8002BCF4 00028C54 C0 0D 81 EC */ lfs f0, lbl_805A6DAC@sda21(r13) +/* 8002BCF8 00028C58 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8002BCFC 00028C5C 80 0D 81 E8 */ lwz r0, lbl_805A6DA8@sda21(r13) +/* 8002BD00 00028C60 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l +/* 8002BD04 00028C64 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8002BD08 00028C68 3B 03 00 04 */ addi r24, r3, 4 +/* 8002BD0C 00028C6C 80 7F 00 00 */ lwz r3, 0(r31) +/* 8002BD10 00028C70 7F 05 C3 78 */ mr r5, r24 +/* 8002BD14 00028C74 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002BD18 00028C78 38 81 00 10 */ addi r4, r1, 0x10 +/* 8002BD1C 00028C7C 38 C0 00 10 */ li r6, 0x10 +/* 8002BD20 00028C80 39 00 00 40 */ li r8, 0x40 +/* 8002BD24 00028C84 80 63 00 00 */ lwz r3, 0(r3) +/* 8002BD28 00028C88 80 FD 02 10 */ lwz r7, 0x210(r29) +/* 8002BD2C 00028C8C 48 2D 20 51 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 8002BD30 00028C90 80 1D 02 10 */ lwz r0, 0x210(r29) +/* 8002BD34 00028C94 7C 00 1A 14 */ add r0, r0, r3 +/* 8002BD38 00028C98 90 1D 02 10 */ stw r0, 0x210(r29) +/* 8002BD3C 00028C9C 80 1D 02 10 */ lwz r0, 0x210(r29) +/* 8002BD40 00028CA0 2C 00 00 00 */ cmpwi r0, 0 +/* 8002BD44 00028CA4 40 81 03 AC */ ble lbl_8002C0F0 +/* 8002BD48 00028CA8 7C 09 03 A6 */ mtctr r0 +/* 8002BD4C 00028CAC 40 81 00 68 */ ble lbl_8002BDB4 +lbl_8002BD50: +/* 8002BD50 00028CB0 A0 18 00 18 */ lhz r0, 0x18(r24) +/* 8002BD54 00028CB4 2C 00 00 06 */ cmpwi r0, 6 +/* 8002BD58 00028CB8 40 82 00 54 */ bne lbl_8002BDAC +/* 8002BD5C 00028CBC 80 18 00 38 */ lwz r0, 0x38(r24) +/* 8002BD60 00028CC0 2C 00 00 0A */ cmpwi r0, 0xa +/* 8002BD64 00028CC4 40 82 00 24 */ bne lbl_8002BD88 +/* 8002BD68 00028CC8 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 8002BD6C 00028CCC C0 18 00 1C */ lfs f0, 0x1c(r24) +/* 8002BD70 00028CD0 80 18 00 20 */ lwz r0, 0x20(r24) +/* 8002BD74 00028CD4 3A 80 00 01 */ li r20, 1 +/* 8002BD78 00028CD8 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8002BD7C 00028CDC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8002BD80 00028CE0 40 82 00 34 */ bne lbl_8002BDB4 +/* 8002BD84 00028CE4 48 00 00 28 */ b lbl_8002BDAC +lbl_8002BD88: +/* 8002BD88 00028CE8 2C 00 00 03 */ cmpwi r0, 3 +/* 8002BD8C 00028CEC 40 82 00 20 */ bne lbl_8002BDAC +/* 8002BD90 00028CF0 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 8002BD94 00028CF4 C0 18 00 1C */ lfs f0, 0x1c(r24) +/* 8002BD98 00028CF8 80 18 00 20 */ lwz r0, 0x20(r24) +/* 8002BD9C 00028CFC 3A A0 00 01 */ li r21, 1 +/* 8002BDA0 00028D00 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8002BDA4 00028D04 90 01 00 74 */ stw r0, 0x74(r1) +/* 8002BDA8 00028D08 40 82 00 0C */ bne lbl_8002BDB4 +lbl_8002BDAC: +/* 8002BDAC 00028D0C 3B 18 00 4C */ addi r24, r24, 0x4c +/* 8002BDB0 00028D10 42 00 FF A0 */ bdnz lbl_8002BD50 +lbl_8002BDB4: +/* 8002BDB4 00028D14 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 8002BDB8 00028D18 41 82 02 CC */ beq lbl_8002C084 +/* 8002BDBC 00028D1C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 8002BDC0 00028D20 41 82 02 C4 */ beq lbl_8002C084 +/* 8002BDC4 00028D24 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 8002BDC8 00028D28 80 FB 00 04 */ lwz r7, 4(r27) +/* 8002BDCC 00028D2C C0 03 66 60 */ lfs f0, lbl_805A6660@l(r3) +/* 8002BDD0 00028D30 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8002BDD4 00028D34 80 DB 00 08 */ lwz r6, 8(r27) +/* 8002BDD8 00028D38 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8002BDDC 00028D3C 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 8002BDE0 00028D40 38 A0 00 01 */ li r5, 1 +/* 8002BDE4 00028D44 D0 01 01 54 */ stfs f0, 0x154(r1) +/* 8002BDE8 00028D48 38 61 00 60 */ addi r3, r1, 0x60 +/* 8002BDEC 00028D4C C0 22 83 EC */ lfs f1, lbl_805AA10C@sda21(r2) +/* 8002BDF0 00028D50 3A E0 00 00 */ li r23, 0 +/* 8002BDF4 00028D54 90 E1 01 58 */ stw r7, 0x158(r1) +/* 8002BDF8 00028D58 90 C1 01 5C */ stw r6, 0x15c(r1) +/* 8002BDFC 00028D5C 90 01 01 60 */ stw r0, 0x160(r1) +/* 8002BE00 00028D60 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) +/* 8002BE04 00028D64 80 C1 01 58 */ lwz r6, 0x158(r1) +/* 8002BE08 00028D68 80 01 01 5C */ lwz r0, 0x15c(r1) +/* 8002BE0C 00028D6C 90 DD 01 EC */ stw r6, 0x1ec(r29) +/* 8002BE10 00028D70 90 1D 01 F0 */ stw r0, 0x1f0(r29) +/* 8002BE14 00028D74 80 01 01 60 */ lwz r0, 0x160(r1) +/* 8002BE18 00028D78 90 1D 01 F4 */ stw r0, 0x1f4(r29) +/* 8002BE1C 00028D7C 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002BE20 00028D80 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8002BE24 00028D84 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002BE28 00028D88 80 0D 81 D8 */ lwz r0, lbl_805A6D98@sda21(r13) +/* 8002BE2C 00028D8C C0 0D 81 DC */ lfs f0, lbl_805A6D9C@sda21(r13) +/* 8002BE30 00028D90 90 01 00 0C */ stw r0, 0xc(r1) +/* 8002BE34 00028D94 C3 A4 00 00 */ lfs f29, 0(r4) +/* 8002BE38 00028D98 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8002BE3C 00028D9C C3 5C 00 04 */ lfs f26, 4(r28) +/* 8002BE40 00028DA0 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8002BE44 00028DA4 C3 3C 00 08 */ lfs f25, 8(r28) +/* 8002BE48 00028DA8 48 31 CF A5 */ bl __ct__13CCharAnimTimeFf +/* 8002BE4C 00028DAC 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 8002BE50 00028DB0 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8002BE54 00028DB4 C0 63 66 60 */ lfs f3, lbl_805A6660@l(r3) +/* 8002BE58 00028DB8 3B 01 03 28 */ addi r24, r1, 0x328 +/* 8002BE5C 00028DBC C0 3B 00 08 */ lfs f1, 8(r27) +/* 8002BE60 00028DC0 3B 98 00 0C */ addi r28, r24, 0xc +/* 8002BE64 00028DC4 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 8002BE68 00028DC8 D0 61 01 24 */ stfs f3, 0x124(r1) +/* 8002BE6C 00028DCC D0 41 01 28 */ stfs f2, 0x128(r1) +/* 8002BE70 00028DD0 D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 8002BE74 00028DD4 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 8002BE78 00028DD8 48 00 01 1C */ b lbl_8002BF94 +lbl_8002BE7C: +/* 8002BE7C 00028DDC 80 9F 00 00 */ lwz r4, 0(r31) +/* 8002BE80 00028DE0 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 8002BE84 00028DE4 38 A1 00 60 */ addi r5, r1, 0x60 +/* 8002BE88 00028DE8 38 C1 00 68 */ addi r6, r1, 0x68 +/* 8002BE8C 00028DEC 80 84 00 00 */ lwz r4, 0(r4) +/* 8002BE90 00028DF0 81 84 00 00 */ lwz r12, 0(r4) +/* 8002BE94 00028DF4 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8002BE98 00028DF8 7D 89 03 A6 */ mtctr r12 +/* 8002BE9C 00028DFC 4E 80 04 21 */ bctrl +/* 8002BEA0 00028E00 C0 E1 01 B8 */ lfs f7, 0x1b8(r1) +/* 8002BEA4 00028E04 38 61 01 94 */ addi r3, r1, 0x194 +/* 8002BEA8 00028E08 80 01 01 BC */ lwz r0, 0x1bc(r1) +/* 8002BEAC 00028E0C 38 81 01 24 */ addi r4, r1, 0x124 +/* 8002BEB0 00028E10 C0 C1 01 C0 */ lfs f6, 0x1c0(r1) +/* 8002BEB4 00028E14 C0 A1 01 C4 */ lfs f5, 0x1c4(r1) +/* 8002BEB8 00028E18 C0 81 01 C8 */ lfs f4, 0x1c8(r1) +/* 8002BEBC 00028E1C C0 61 01 CC */ lfs f3, 0x1cc(r1) +/* 8002BEC0 00028E20 C0 41 01 D0 */ lfs f2, 0x1d0(r1) +/* 8002BEC4 00028E24 C0 21 01 D4 */ lfs f1, 0x1d4(r1) +/* 8002BEC8 00028E28 C0 01 01 D8 */ lfs f0, 0x1d8(r1) +/* 8002BECC 00028E2C D0 E1 03 20 */ stfs f7, 0x320(r1) +/* 8002BED0 00028E30 90 01 03 24 */ stw r0, 0x324(r1) +/* 8002BED4 00028E34 D0 D8 00 00 */ stfs f6, 0(r24) +/* 8002BED8 00028E38 D0 A1 03 2C */ stfs f5, 0x32c(r1) +/* 8002BEDC 00028E3C D0 81 03 30 */ stfs f4, 0x330(r1) +/* 8002BEE0 00028E40 D0 61 03 34 */ stfs f3, 0x334(r1) +/* 8002BEE4 00028E44 D0 41 03 38 */ stfs f2, 0x338(r1) +/* 8002BEE8 00028E48 D0 21 03 3C */ stfs f1, 0x33c(r1) +/* 8002BEEC 00028E4C D0 01 03 40 */ stfs f0, 0x340(r1) +/* 8002BEF0 00028E50 48 2E 61 9D */ bl BuildTransform__11CQuaternionCFv +/* 8002BEF4 00028E54 7F 05 C3 78 */ mr r5, r24 +/* 8002BEF8 00028E58 38 61 00 BC */ addi r3, r1, 0xbc +/* 8002BEFC 00028E5C 38 81 01 94 */ addi r4, r1, 0x194 +/* 8002BF00 00028E60 48 2E 43 95 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 8002BF04 00028E64 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 8002BF08 00028E68 7F 84 E3 78 */ mr r4, r28 +/* 8002BF0C 00028E6C C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 8002BF10 00028E70 38 61 00 AC */ addi r3, r1, 0xac +/* 8002BF14 00028E74 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 8002BF18 00028E78 EF BD 10 2A */ fadds f29, f29, f2 +/* 8002BF1C 00028E7C EF 5A 08 2A */ fadds f26, f26, f1 +/* 8002BF20 00028E80 38 A1 01 54 */ addi r5, r1, 0x154 +/* 8002BF24 00028E84 EF 39 00 2A */ fadds f25, f25, f0 +/* 8002BF28 00028E88 48 2E 52 79 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8002BF2C 00028E8C 38 61 00 90 */ addi r3, r1, 0x90 +/* 8002BF30 00028E90 38 81 01 24 */ addi r4, r1, 0x124 +/* 8002BF34 00028E94 38 A1 00 AC */ addi r5, r1, 0xac +/* 8002BF38 00028E98 48 2E 52 69 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8002BF3C 00028E9C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8002BF40 00028EA0 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8002BF44 00028EA4 80 81 00 94 */ lwz r4, 0x94(r1) +/* 8002BF48 00028EA8 80 61 00 98 */ lwz r3, 0x98(r1) +/* 8002BF4C 00028EAC 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 8002BF50 00028EB0 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 8002BF54 00028EB4 90 81 01 28 */ stw r4, 0x128(r1) +/* 8002BF58 00028EB8 90 61 01 2C */ stw r3, 0x12c(r1) +/* 8002BF5C 00028EBC 90 01 01 30 */ stw r0, 0x130(r1) +/* 8002BF60 00028EC0 40 82 00 28 */ bne lbl_8002BF88 +/* 8002BF64 00028EC4 38 61 00 68 */ addi r3, r1, 0x68 +/* 8002BF68 00028EC8 38 81 00 78 */ addi r4, r1, 0x78 +/* 8002BF6C 00028ECC 48 31 C4 D1 */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 8002BF70 00028ED0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002BF74 00028ED4 41 82 00 14 */ beq lbl_8002BF88 +/* 8002BF78 00028ED8 FF 00 E8 90 */ fmr f24, f29 +/* 8002BF7C 00028EDC 3A E0 00 01 */ li r23, 1 +/* 8002BF80 00028EE0 FF 60 D0 90 */ fmr f27, f26 +/* 8002BF84 00028EE4 FF 80 C8 90 */ fmr f28, f25 +lbl_8002BF88: +/* 8002BF88 00028EE8 38 61 00 68 */ addi r3, r1, 0x68 +/* 8002BF8C 00028EEC 38 81 00 60 */ addi r4, r1, 0x60 +/* 8002BF90 00028EF0 48 31 C5 C9 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +lbl_8002BF94: +/* 8002BF94 00028EF4 38 61 00 68 */ addi r3, r1, 0x68 +/* 8002BF98 00028EF8 38 81 00 70 */ addi r4, r1, 0x70 +/* 8002BF9C 00028EFC 48 31 CC A1 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 8002BFA0 00028F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002BFA4 00028F04 40 82 FE D8 */ bne lbl_8002BE7C +/* 8002BFA8 00028F08 82 9E 00 24 */ lwz r20, 0x24(r30) +/* 8002BFAC 00028F0C 7F 44 D3 78 */ mr r4, r26 +/* 8002BFB0 00028F10 38 61 01 64 */ addi r3, r1, 0x164 +/* 8002BFB4 00028F14 C2 B4 00 08 */ lfs f21, 8(r20) +/* 8002BFB8 00028F18 C2 D4 00 04 */ lfs f22, 4(r20) +/* 8002BFBC 00028F1C C2 F4 00 00 */ lfs f23, 0(r20) +/* 8002BFC0 00028F20 EF F5 07 32 */ fmuls f31, f21, f28 +/* 8002BFC4 00028F24 EF D6 06 F2 */ fmuls f30, f22, f27 +/* 8002BFC8 00028F28 EF 17 06 32 */ fmuls f24, f23, f24 +/* 8002BFCC 00028F2C 48 2E 67 15 */ bl GetInverse__12CTransform4fCFv +/* 8002BFD0 00028F30 7F 25 CB 78 */ mr r5, r25 +/* 8002BFD4 00028F34 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8002BFD8 00028F38 38 81 01 64 */ addi r4, r1, 0x164 +/* 8002BFDC 00028F3C 48 2E 6B 0D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8002BFE0 00028F40 EC 17 07 72 */ fmuls f0, f23, f29 +/* 8002BFE4 00028F44 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 8002BFE8 00028F48 EC 56 06 B2 */ fmuls f2, f22, f26 +/* 8002BFEC 00028F4C C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 8002BFF0 00028F50 EC B5 06 72 */ fmuls f5, f21, f25 +/* 8002BFF4 00028F54 C0 C1 00 A8 */ lfs f6, 0xa8(r1) +/* 8002BFF8 00028F58 ED 41 C0 28 */ fsubs f10, f1, f24 +/* 8002BFFC 00028F5C C0 21 00 70 */ lfs f1, 0x70(r1) +/* 8002C000 00028F60 ED 20 C0 28 */ fsubs f9, f0, f24 +/* 8002C004 00028F64 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8002C008 00028F68 ED 03 F0 28 */ fsubs f8, f3, f30 +/* 8002C00C 00028F6C C0 94 00 00 */ lfs f4, 0(r20) +/* 8002C010 00028F70 EC E2 F0 28 */ fsubs f7, f2, f30 +/* 8002C014 00028F74 C0 42 83 D8 */ lfs f2, lbl_805AA0F8@sda21(r2) +/* 8002C018 00028F78 ED 2A 48 28 */ fsubs f9, f10, f9 +/* 8002C01C 00028F7C C0 74 00 04 */ lfs f3, 4(r20) +/* 8002C020 00028F80 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8002C024 00028F84 C0 34 00 08 */ lfs f1, 8(r20) +/* 8002C028 00028F88 EC E8 38 28 */ fsubs f7, f8, f7 +/* 8002C02C 00028F8C 38 80 00 01 */ li r4, 1 +/* 8002C030 00028F90 EC C6 F8 28 */ fsubs f6, f6, f31 +/* 8002C034 00028F94 38 60 00 00 */ li r3, 0 +/* 8002C038 00028F98 EC A5 F8 28 */ fsubs f5, f5, f31 +/* 8002C03C 00028F9C ED 29 20 24 */ fdivs f9, f9, f4 +/* 8002C040 00028FA0 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8002C044 00028FA4 EC 06 28 28 */ fsubs f0, f6, f5 +/* 8002C048 00028FA8 EC E7 18 24 */ fdivs f7, f7, f3 +/* 8002C04C 00028FAC EC 00 08 24 */ fdivs f0, f0, f1 +/* 8002C050 00028FB0 ED 29 00 B2 */ fmuls f9, f9, f2 +/* 8002C054 00028FB4 EC E7 00 B2 */ fmuls f7, f7, f2 +/* 8002C058 00028FB8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8002C05C 00028FBC D1 3D 01 DC */ stfs f9, 0x1dc(r29) +/* 8002C060 00028FC0 D0 FD 01 E0 */ stfs f7, 0x1e0(r29) +/* 8002C064 00028FC4 D0 1D 01 E4 */ stfs f0, 0x1e4(r29) +/* 8002C068 00028FC8 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002C06C 00028FCC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8002C070 00028FD0 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002C074 00028FD4 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002C078 00028FD8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8002C07C 00028FDC 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002C080 00028FE0 48 00 00 70 */ b lbl_8002C0F0 +lbl_8002C084: +/* 8002C084 00028FE4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8002C088 00028FE8 38 60 00 00 */ li r3, 0 +/* 8002C08C 00028FEC C0 04 66 A0 */ lfs f0, skZero3f@l(r4) +/* 8002C090 00028FF0 D0 1D 01 DC */ stfs f0, 0x1dc(r29) +/* 8002C094 00028FF4 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8002C098 00028FF8 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) +/* 8002C09C 00028FFC C0 1C 00 08 */ lfs f0, 8(r28) +/* 8002C0A0 00029000 D0 1D 01 E4 */ stfs f0, 0x1e4(r29) +/* 8002C0A4 00029004 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002C0A8 00029008 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8002C0AC 0002900C 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002C0B0 00029010 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002C0B4 00029014 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8002C0B8 00029018 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002C0BC 0002901C 48 00 00 34 */ b lbl_8002C0F0 +lbl_8002C0C0: +/* 8002C0C0 00029020 D3 1D 01 DC */ stfs f24, 0x1dc(r29) +/* 8002C0C4 00029024 38 60 00 00 */ li r3, 0 +/* 8002C0C8 00029028 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8002C0CC 0002902C D0 1D 01 E0 */ stfs f0, 0x1e0(r29) +/* 8002C0D0 00029030 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8002C0D4 00029034 D0 1D 01 E4 */ stfs f0, 0x1e4(r29) +/* 8002C0D8 00029038 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002C0DC 0002903C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8002C0E0 00029040 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8002C0E4 00029044 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002C0E8 00029048 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8002C0EC 0002904C 98 1D 02 20 */ stb r0, 0x220(r29) +lbl_8002C0F0: +/* 8002C0F0 00029050 E3 E1 05 18 */ psq_l f31, 1304(r1), 0, qr0 +/* 8002C0F4 00029054 CB E1 05 10 */ lfd f31, 0x510(r1) +/* 8002C0F8 00029058 E3 C1 05 08 */ psq_l f30, 1288(r1), 0, qr0 +/* 8002C0FC 0002905C CB C1 05 00 */ lfd f30, 0x500(r1) +/* 8002C100 00029060 E3 A1 04 F8 */ psq_l f29, 1272(r1), 0, qr0 +/* 8002C104 00029064 CB A1 04 F0 */ lfd f29, 0x4f0(r1) +/* 8002C108 00029068 E3 81 04 E8 */ psq_l f28, 1256(r1), 0, qr0 +/* 8002C10C 0002906C CB 81 04 E0 */ lfd f28, 0x4e0(r1) +/* 8002C110 00029070 E3 61 04 D8 */ psq_l f27, 1240(r1), 0, qr0 +/* 8002C114 00029074 CB 61 04 D0 */ lfd f27, 0x4d0(r1) +/* 8002C118 00029078 E3 41 04 C8 */ psq_l f26, 1224(r1), 0, qr0 +/* 8002C11C 0002907C CB 41 04 C0 */ lfd f26, 0x4c0(r1) +/* 8002C120 00029080 E3 21 04 B8 */ psq_l f25, 1208(r1), 0, qr0 +/* 8002C124 00029084 CB 21 04 B0 */ lfd f25, 0x4b0(r1) +/* 8002C128 00029088 E3 01 04 A8 */ psq_l f24, 1192(r1), 0, qr0 +/* 8002C12C 0002908C CB 01 04 A0 */ lfd f24, 0x4a0(r1) +/* 8002C130 00029090 E2 E1 04 98 */ psq_l f23, 1176(r1), 0, qr0 +/* 8002C134 00029094 CA E1 04 90 */ lfd f23, 0x490(r1) +/* 8002C138 00029098 E2 C1 04 88 */ psq_l f22, 1160(r1), 0, qr0 +/* 8002C13C 0002909C CA C1 04 80 */ lfd f22, 0x480(r1) +/* 8002C140 000290A0 E2 A1 04 78 */ psq_l f21, 1144(r1), 0, qr0 +/* 8002C144 000290A4 CA A1 04 70 */ lfd f21, 0x470(r1) +/* 8002C148 000290A8 BA 81 04 40 */ lmw r20, 0x440(r1) +/* 8002C14C 000290AC 80 01 05 24 */ lwz r0, 0x524(r1) +/* 8002C150 000290B0 7C 08 03 A6 */ mtlr r0 +/* 8002C154 000290B4 38 21 05 20 */ addi r1, r1, 0x520 +/* 8002C158 000290B8 4E 80 00 20 */ blr + +.global Inverse__9CMatrix3fCFv +Inverse__9CMatrix3fCFv: +/* 8002C15C 000290BC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002C160 000290C0 7C 08 02 A6 */ mflr r0 +/* 8002C164 000290C4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002C168 000290C8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8002C16C 000290CC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8002C170 000290D0 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 8002C174 000290D4 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 8002C178 000290D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002C17C 000290DC 93 C1 00 08 */ stw r30, 8(r1) +/* 8002C180 000290E0 7C 9F 23 78 */ mr r31, r4 +/* 8002C184 000290E4 7C 7E 1B 78 */ mr r30, r3 +/* 8002C188 000290E8 7F E3 FB 78 */ mr r3, r31 +/* 8002C18C 000290EC 48 2E 3F 59 */ bl Determinant__9CMatrix3fCFv +/* 8002C190 000290F0 C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) +/* 8002C194 000290F4 C1 9F 00 1C */ lfs f12, 0x1c(r31) +/* 8002C198 000290F8 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8002C19C 000290FC C3 FF 00 14 */ lfs f31, 0x14(r31) +/* 8002C1A0 00029100 C0 FF 00 08 */ lfs f7, 8(r31) +/* 8002C1A4 00029104 C1 5F 00 18 */ lfs f10, 0x18(r31) +/* 8002C1A8 00029108 C1 7F 00 10 */ lfs f11, 0x10(r31) +/* 8002C1AC 0002910C C3 DF 00 20 */ lfs f30, 0x20(r31) +/* 8002C1B0 00029110 EC 9F 03 32 */ fmuls f4, f31, f12 +/* 8002C1B4 00029114 C1 1F 00 04 */ lfs f8, 4(r31) +/* 8002C1B8 00029118 EC 67 03 32 */ fmuls f3, f7, f12 +/* 8002C1BC 0002911C C1 BF 00 0C */ lfs f13, 0xc(r31) +/* 8002C1C0 00029120 EC 47 02 F2 */ fmuls f2, f7, f11 +/* 8002C1C4 00029124 C1 3F 00 00 */ lfs f9, 0(r31) +/* 8002C1C8 00029128 EC AB 27 B8 */ fmsubs f5, f11, f30, f4 +/* 8002C1CC 0002912C EC 88 1F BC */ fnmsubs f4, f8, f30, f3 +/* 8002C1D0 00029130 EC 68 17 F8 */ fmsubs f3, f8, f31, f2 +/* 8002C1D4 00029134 EC 3F 02 B2 */ fmuls f1, f31, f10 +/* 8002C1D8 00029138 EC A0 01 72 */ fmuls f5, f0, f5 +/* 8002C1DC 0002913C EC C7 02 B2 */ fmuls f6, f7, f10 +/* 8002C1E0 00029140 EC 4D 0F BC */ fnmsubs f2, f13, f30, f1 +/* 8002C1E4 00029144 D0 BE 00 00 */ stfs f5, 0(r30) +/* 8002C1E8 00029148 EC 80 01 32 */ fmuls f4, f0, f4 +/* 8002C1EC 0002914C EC A9 37 B8 */ fmsubs f5, f9, f30, f6 +/* 8002C1F0 00029150 EC E7 03 72 */ fmuls f7, f7, f13 +/* 8002C1F4 00029154 D0 9E 00 04 */ stfs f4, 4(r30) +/* 8002C1F8 00029158 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 8002C1FC 0002915C EC 2B 02 B2 */ fmuls f1, f11, f10 +/* 8002C200 00029160 EC C9 3F FC */ fnmsubs f6, f9, f31, f7 +/* 8002C204 00029164 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8002C208 00029168 D0 7E 00 08 */ stfs f3, 8(r30) +/* 8002C20C 0002916C EC 88 02 B2 */ fmuls f4, f8, f10 +/* 8002C210 00029170 EC 2D 0B 38 */ fmsubs f1, f13, f12, f1 +/* 8002C214 00029174 D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 8002C218 00029178 EC A0 01 72 */ fmuls f5, f0, f5 +/* 8002C21C 0002917C EC 69 23 3C */ fnmsubs f3, f9, f12, f4 +/* 8002C220 00029180 EC E8 03 72 */ fmuls f7, f8, f13 +/* 8002C224 00029184 EC 40 01 B2 */ fmuls f2, f0, f6 +/* 8002C228 00029188 D0 BE 00 10 */ stfs f5, 0x10(r30) +/* 8002C22C 0002918C EC 20 00 72 */ fmuls f1, f0, f1 +/* 8002C230 00029190 EC 89 3A F8 */ fmsubs f4, f9, f11, f7 +/* 8002C234 00029194 D0 5E 00 14 */ stfs f2, 0x14(r30) +/* 8002C238 00029198 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 8002C23C 0002919C D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 8002C240 000291A0 EC 00 01 32 */ fmuls f0, f0, f4 +/* 8002C244 000291A4 D0 7E 00 1C */ stfs f3, 0x1c(r30) +/* 8002C248 000291A8 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8002C24C 000291AC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8002C250 000291B0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8002C254 000291B4 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 8002C258 000291B8 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 8002C25C 000291BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002C260 000291C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002C264 000291C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002C268 000291C8 7C 08 03 A6 */ mtlr r0 +/* 8002C26C 000291CC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002C270 000291D0 4E 80 00 20 */ blr + +.global GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime: +/* 8002C274 000291D4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8002C278 000291D8 7C 08 02 A6 */ mflr r0 +/* 8002C27C 000291DC 3C E0 80 5A */ lis r7, skIdentity4f@ha +/* 8002C280 000291E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8002C284 000291E4 38 07 66 70 */ addi r0, r7, skIdentity4f@l +/* 8002C288 000291E8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8002C28C 000291EC 7C BF 2B 78 */ mr r31, r5 +/* 8002C290 000291F0 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8002C294 000291F4 7C DE 33 78 */ mr r30, r6 +/* 8002C298 000291F8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8002C29C 000291FC 7C 9D 23 78 */ mr r29, r4 +/* 8002C2A0 00029200 7C 04 03 78 */ mr r4, r0 +/* 8002C2A4 00029204 93 81 00 40 */ stw r28, 0x40(r1) +/* 8002C2A8 00029208 7C 7C 1B 78 */ mr r28, r3 +/* 8002C2AC 0002920C 38 61 00 08 */ addi r3, r1, 8 +/* 8002C2B0 00029210 48 2E 68 C5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8002C2B4 00029214 88 1F 00 00 */ lbz r0, 0(r31) +/* 8002C2B8 00029218 28 00 00 FF */ cmplwi r0, 0xff +/* 8002C2BC 0002921C 41 82 00 98 */ beq lbl_8002C354 +/* 8002C2C0 00029220 28 1E 00 00 */ cmplwi r30, 0 +/* 8002C2C4 00029224 40 82 00 10 */ bne lbl_8002C2D4 +/* 8002C2C8 00029228 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002C2CC 0002922C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8002C2D0 00029230 40 82 00 20 */ bne lbl_8002C2F0 +lbl_8002C2D4: +/* 8002C2D4 00029234 7F A3 EB 78 */ mr r3, r29 +/* 8002C2D8 00029238 7F C4 F3 78 */ mr r4, r30 +/* 8002C2DC 0002923C 48 00 04 B1 */ bl RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime +/* 8002C2E0 00029240 7F C3 00 34 */ cntlzw r3, r30 +/* 8002C2E4 00029244 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002C2E8 00029248 50 60 DF FE */ rlwimi r0, r3, 0x1b, 0x1f, 0x1f +/* 8002C2EC 0002924C 98 1D 02 20 */ stb r0, 0x220(r29) +lbl_8002C2F0: +/* 8002C2F0 00029250 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 8002C2F4 00029254 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8002C2F8 00029258 40 82 00 18 */ bne lbl_8002C310 +/* 8002C2FC 0002925C 7F E4 FB 78 */ mr r4, r31 +/* 8002C300 00029260 38 7D 02 FC */ addi r3, r29, 0x2fc +/* 8002C304 00029264 38 A1 00 08 */ addi r5, r1, 8 +/* 8002C308 00029268 48 2D 00 61 */ bl BuildTransform__21CHierarchyPoseBuilderCFRC6CSegIdR12CTransform4f +/* 8002C30C 0002926C 48 00 00 48 */ b lbl_8002C354 +lbl_8002C310: +/* 8002C310 00029270 7F E4 FB 78 */ mr r4, r31 +/* 8002C314 00029274 38 7D 02 24 */ addi r3, r29, 0x224 +/* 8002C318 00029278 48 33 CC 65 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 8002C31C 0002927C 7C 7E 1B 78 */ mr r30, r3 +/* 8002C320 00029280 7F E4 FB 78 */ mr r4, r31 +/* 8002C324 00029284 38 7D 02 24 */ addi r3, r29, 0x224 +/* 8002C328 00029288 48 33 CC 31 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId +/* 8002C32C 0002928C 7C 7F 1B 78 */ mr r31, r3 +/* 8002C330 00029290 7F C4 F3 78 */ mr r4, r30 +/* 8002C334 00029294 38 61 00 08 */ addi r3, r1, 8 +/* 8002C338 00029298 48 2E 68 BD */ bl SetRotation__12CTransform4fFRC9CMatrix3f +/* 8002C33C 0002929C C0 1F 00 00 */ lfs f0, 0(r31) +/* 8002C340 000292A0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8002C344 000292A4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8002C348 000292A8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8002C34C 000292AC C0 1F 00 08 */ lfs f0, 8(r31) +/* 8002C350 000292B0 D0 01 00 34 */ stfs f0, 0x34(r1) +lbl_8002C354: +/* 8002C354 000292B4 7F 83 E3 78 */ mr r3, r28 +/* 8002C358 000292B8 38 81 00 08 */ addi r4, r1, 8 +/* 8002C35C 000292BC 48 2E 68 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8002C360 000292C0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8002C364 000292C4 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8002C368 000292C8 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8002C36C 000292CC 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8002C370 000292D0 83 81 00 40 */ lwz r28, 0x40(r1) +/* 8002C374 000292D4 7C 08 03 A6 */ mtlr r0 +/* 8002C378 000292D8 38 21 00 50 */ addi r1, r1, 0x50 +/* 8002C37C 000292DC 4E 80 00 20 */ blr + +.global "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +"GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime": +/* 8002C380 000292E0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002C384 000292E4 7C 08 02 A6 */ mflr r0 +/* 8002C388 000292E8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002C38C 000292EC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002C390 000292F0 7C DF 33 78 */ mr r31, r6 +/* 8002C394 000292F4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8002C398 000292F8 7C 9E 23 78 */ mr r30, r4 +/* 8002C39C 000292FC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8002C3A0 00029300 7C 7D 1B 78 */ mr r29, r3 +/* 8002C3A4 00029304 38 61 00 0C */ addi r3, r1, 0xc +/* 8002C3A8 00029308 80 84 00 D4 */ lwz r4, 0xd4(r4) +/* 8002C3AC 0002930C 48 2C B8 B9 */ bl "GetSegIdFromString__15CCharLayoutInfoCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002C3B0 00029310 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8002C3B4 00029314 7F A3 EB 78 */ mr r3, r29 +/* 8002C3B8 00029318 7F C4 F3 78 */ mr r4, r30 +/* 8002C3BC 0002931C 7F E6 FB 78 */ mr r6, r31 +/* 8002C3C0 00029320 98 01 00 10 */ stb r0, 0x10(r1) +/* 8002C3C4 00029324 38 A1 00 08 */ addi r5, r1, 8 +/* 8002C3C8 00029328 98 01 00 08 */ stb r0, 8(r1) +/* 8002C3CC 0002932C 4B FF FE A9 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 8002C3D0 00029330 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002C3D4 00029334 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002C3D8 00029338 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002C3DC 0002933C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8002C3E0 00029340 7C 08 03 A6 */ mtlr r0 +/* 8002C3E4 00029344 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002C3E8 00029348 4E 80 00 20 */ blr + +.global "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8002C3EC 0002934C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002C3F0 00029350 7C 08 02 A6 */ mflr r0 +/* 8002C3F4 00029354 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002C3F8 00029358 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8002C3FC 0002935C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8002C400 00029360 80 63 01 F8 */ lwz r3, 0x1f8(r3) +/* 8002C404 00029364 FF E0 08 90 */ fmr f31, f1 +/* 8002C408 00029368 80 83 00 00 */ lwz r4, 0(r3) +/* 8002C40C 0002936C 28 04 00 00 */ cmplwi r4, 0 +/* 8002C410 00029370 41 82 00 40 */ beq lbl_8002C450 +/* 8002C414 00029374 81 84 00 00 */ lwz r12, 0(r4) +/* 8002C418 00029378 38 61 00 08 */ addi r3, r1, 8 +/* 8002C41C 0002937C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8002C420 00029380 7D 89 03 A6 */ mtctr r12 +/* 8002C424 00029384 4E 80 04 21 */ bctrl +/* 8002C428 00029388 C0 21 00 08 */ lfs f1, 8(r1) +/* 8002C42C 0002938C C0 02 83 D0 */ lfs f0, lbl_805AA0F0@sda21(r2) +/* 8002C430 00029390 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8002C434 00029394 FC 00 02 10 */ fabs f0, f0 +/* 8002C438 00029398 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8002C43C 0002939C 7C 00 00 26 */ mfcr r0 +/* 8002C440 000293A0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8002C444 000293A4 7C 00 00 34 */ cntlzw r0, r0 +/* 8002C448 000293A8 54 03 D9 7E */ srwi r3, r0, 5 +/* 8002C44C 000293AC 48 00 00 08 */ b lbl_8002C454 +lbl_8002C450: +/* 8002C450 000293B0 38 60 00 00 */ li r3, 0 +lbl_8002C454: +/* 8002C454 000293B4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8002C458 000293B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002C45C 000293BC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8002C460 000293C0 7C 08 03 A6 */ mtlr r0 +/* 8002C464 000293C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002C468 000293C8 4E 80 00 20 */ blr + +.global "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8002C46C 000293CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002C470 000293D0 7C 08 02 A6 */ mflr r0 +/* 8002C474 000293D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002C478 000293D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002C47C 000293DC 7C 7F 1B 78 */ mr r31, r3 +/* 8002C480 000293E0 38 61 00 08 */ addi r3, r1, 8 +/* 8002C484 000293E4 80 9F 01 F8 */ lwz r4, 0x1f8(r31) +/* 8002C488 000293E8 80 84 00 00 */ lwz r4, 0(r4) +/* 8002C48C 000293EC 81 84 00 00 */ lwz r12, 0(r4) +/* 8002C490 000293F0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8002C494 000293F4 7D 89 03 A6 */ mtctr r12 +/* 8002C498 000293F8 4E 80 04 21 */ bctrl +/* 8002C49C 000293FC C0 5F 02 00 */ lfs f2, 0x200(r31) +/* 8002C4A0 00029400 C0 02 83 D0 */ lfs f0, lbl_805AA0F0@sda21(r2) +/* 8002C4A4 00029404 C0 21 00 08 */ lfs f1, 8(r1) +/* 8002C4A8 00029408 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8002C4AC 0002940C 40 81 00 08 */ ble lbl_8002C4B4 +/* 8002C4B0 00029410 EC 21 10 24 */ fdivs f1, f1, f2 +lbl_8002C4B4: +/* 8002C4B4 00029414 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002C4B8 00029418 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002C4BC 0002941C 7C 08 03 A6 */ mtlr r0 +/* 8002C4C0 00029420 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002C4C4 00029424 4E 80 00 20 */ blr + +.global GetAnimationDuration__9CAnimDataCFi +GetAnimationDuration__9CAnimDataCFi: +/* 8002C4C8 00029428 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8002C4CC 0002942C 7C 08 02 A6 */ mflr r0 +/* 8002C4D0 00029430 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8002C4D4 00029434 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8002C4D8 00029438 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8002C4DC 0002943C BF 41 00 78 */ stmw r26, 0x78(r1) +/* 8002C4E0 00029440 7C 7C 1B 78 */ mr r28, r3 +/* 8002C4E4 00029444 54 80 10 3A */ slwi r0, r4, 2 +/* 8002C4E8 00029448 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 8002C4EC 0002944C 7F 84 E3 78 */ mr r4, r28 +/* 8002C4F0 00029450 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002C4F4 00029454 7F 45 00 2E */ lwzx r26, r5, r0 +/* 8002C4F8 00029458 48 00 02 79 */ bl GetAnimationManager__9CAnimDataCFv +/* 8002C4FC 0002945C 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8002C500 00029460 7F 45 D3 78 */ mr r5, r26 +/* 8002C504 00029464 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002C508 00029468 80 84 00 00 */ lwz r4, 0(r4) +/* 8002C50C 0002946C 48 2A A9 05 */ bl GetMetaAnimation__17CAnimationManagerCFUi +/* 8002C510 00029470 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8002C514 00029474 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002C518 00029478 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8002C51C 0002947C 80 85 00 04 */ lwz r4, 4(r5) +/* 8002C520 00029480 38 04 00 01 */ addi r0, r4, 1 +/* 8002C524 00029484 90 05 00 04 */ stw r0, 4(r5) +/* 8002C528 00029488 48 00 4A 09 */ bl sub_80030f30 +/* 8002C52C 0002948C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002C530 00029490 48 00 4E 7D */ bl sub_800313ac +/* 8002C534 00029494 88 61 00 08 */ lbz r3, 8(r1) +/* 8002C538 00029498 38 00 00 00 */ li r0, 0 +/* 8002C53C 0002949C 88 A1 00 0C */ lbz r5, 0xc(r1) +/* 8002C540 000294A0 3B A1 00 5C */ addi r29, r1, 0x5c +/* 8002C544 000294A4 98 61 00 54 */ stb r3, 0x54(r1) +/* 8002C548 000294A8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8002C54C 000294AC 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8002C550 000294B0 98 A1 00 55 */ stb r5, 0x55(r1) +/* 8002C554 000294B4 90 01 00 58 */ stw r0, 0x58(r1) +/* 8002C558 000294B8 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8002C55C 000294BC 90 01 00 60 */ stw r0, 0x60(r1) +/* 8002C560 000294C0 90 01 00 64 */ stw r0, 0x64(r1) +/* 8002C564 000294C4 80 63 00 00 */ lwz r3, 0(r3) +/* 8002C568 000294C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8002C56C 000294CC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8002C570 000294D0 7D 89 03 A6 */ mtctr r12 +/* 8002C574 000294D4 4E 80 04 21 */ bctrl +/* 8002C578 000294D8 83 C1 00 5C */ lwz r30, 0x5c(r1) +/* 8002C57C 000294DC 3B E0 00 00 */ li r31, 0 +/* 8002C580 000294E0 3C 60 41 4E */ lis r3, 0x414E494D@ha +/* 8002C584 000294E4 93 A1 00 3C */ stw r29, 0x3c(r1) +/* 8002C588 000294E8 C3 E2 83 D0 */ lfs f31, lbl_805AA0F0@sda21(r2) +/* 8002C58C 000294EC 3B 43 49 4D */ addi r26, r3, 0x414E494D@l +/* 8002C590 000294F0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8002C594 000294F4 3B 61 00 48 */ addi r27, r1, 0x48 +/* 8002C598 000294F8 93 E1 00 30 */ stw r31, 0x30(r1) +/* 8002C59C 000294FC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8002C5A0 00029500 48 00 01 00 */ b lbl_8002C6A0 +lbl_8002C5A4: +/* 8002C5A4 00029504 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8002C5A8 00029508 7F 84 E3 78 */ mr r4, r28 +/* 8002C5AC 0002950C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002C5B0 00029510 93 41 00 40 */ stw r26, 0x40(r1) +/* 8002C5B4 00029514 90 01 00 44 */ stw r0, 0x44(r1) +/* 8002C5B8 00029518 48 00 01 9D */ bl GetAnimSysContext__9CAnimDataCFv +/* 8002C5BC 0002951C 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8002C5C0 00029520 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002C5C4 00029524 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8002C5C8 00029528 80 84 00 00 */ lwz r4, 0(r4) +/* 8002C5CC 0002952C 80 84 00 0C */ lwz r4, 0xc(r4) +/* 8002C5D0 00029530 81 84 00 00 */ lwz r12, 0(r4) +/* 8002C5D4 00029534 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8002C5D8 00029538 7D 89 03 A6 */ mtctr r12 +/* 8002C5DC 0002953C 4E 80 04 21 */ bctrl +/* 8002C5E0 00029540 7F 63 DB 78 */ mr r3, r27 +/* 8002C5E4 00029544 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002C5E8 00029548 48 31 48 C1 */ bl __ct__6CTokenFRC6CToken +/* 8002C5EC 0002954C 7F 63 DB 78 */ mr r3, r27 +/* 8002C5F0 00029550 48 31 48 1D */ bl GetObj__6CTokenFv +/* 8002C5F4 00029554 80 03 00 04 */ lwz r0, 4(r3) +/* 8002C5F8 00029558 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002C5FC 0002955C 38 80 FF FF */ li r4, -1 +/* 8002C600 00029560 90 01 00 50 */ stw r0, 0x50(r1) +/* 8002C604 00029564 48 31 48 3D */ bl __dt__6CTokenFv +/* 8002C608 00029568 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002C60C 0002956C 48 00 4E ED */ bl sub_800314f8 +/* 8002C610 00029570 80 81 00 50 */ lwz r4, 0x50(r1) +/* 8002C614 00029574 80 04 00 00 */ lwz r0, 0(r4) +/* 8002C618 00029578 2C 00 00 01 */ cmpwi r0, 1 +/* 8002C61C 0002957C 41 82 00 4C */ beq lbl_8002C668 +/* 8002C620 00029580 40 80 00 10 */ bge lbl_8002C630 +/* 8002C624 00029584 2C 00 00 00 */ cmpwi r0, 0 +/* 8002C628 00029588 40 80 00 14 */ bge lbl_8002C63C +/* 8002C62C 0002958C 48 00 00 3C */ b lbl_8002C668 +lbl_8002C630: +/* 8002C630 00029590 2C 00 00 03 */ cmpwi r0, 3 +/* 8002C634 00029594 40 80 00 34 */ bge lbl_8002C668 +/* 8002C638 00029598 48 00 00 1C */ b lbl_8002C654 +lbl_8002C63C: +/* 8002C63C 0002959C C0 04 00 04 */ lfs f0, 4(r4) +/* 8002C640 000295A0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002C644 000295A4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8002C648 000295A8 80 04 00 08 */ lwz r0, 8(r4) +/* 8002C64C 000295AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002C650 000295B0 48 00 00 2C */ b lbl_8002C67C +lbl_8002C654: +/* 8002C654 000295B4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002C658 000295B8 38 84 00 04 */ addi r4, r4, 4 +/* 8002C65C 000295BC 48 2C F2 C9 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 8002C660 000295C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002C664 000295C4 48 00 00 18 */ b lbl_8002C67C +lbl_8002C668: +/* 8002C668 000295C8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8002C66C 000295CC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002C670 000295D0 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8002C674 000295D4 80 04 00 08 */ lwz r0, 8(r4) +/* 8002C678 000295D8 90 01 00 24 */ stw r0, 0x24(r1) +lbl_8002C67C: +/* 8002C67C 000295DC C0 03 00 00 */ lfs f0, 0(r3) +/* 8002C680 000295E0 7F A3 EB 78 */ mr r3, r29 +/* 8002C684 000295E4 7F C4 F3 78 */ mr r4, r30 +/* 8002C688 000295E8 EF FF 00 2A */ fadds f31, f31, f0 +/* 8002C68C 000295EC 48 30 FF 55 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8002C690 000295F0 7C 7E 1B 78 */ mr r30, r3 +/* 8002C694 000295F4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8002C698 000295F8 38 80 00 00 */ li r4, 0 +/* 8002C69C 000295FC 48 31 47 A5 */ bl __dt__6CTokenFv +lbl_8002C6A0: +/* 8002C6A0 00029600 7C 1E F8 40 */ cmplw r30, r31 +/* 8002C6A4 00029604 38 00 00 00 */ li r0, 0 +/* 8002C6A8 00029608 40 82 00 0C */ bne lbl_8002C6B4 +/* 8002C6AC 0002960C 7C 1D E8 40 */ cmplw r29, r29 +/* 8002C6B0 00029610 41 82 00 08 */ beq lbl_8002C6B8 +lbl_8002C6B4: +/* 8002C6B4 00029614 38 00 00 01 */ li r0, 1 +lbl_8002C6B8: +/* 8002C6B8 00029618 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8002C6BC 0002961C 40 82 FE E8 */ bne lbl_8002C5A4 +/* 8002C6C0 00029620 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8002C6C4 00029624 80 63 00 00 */ lwz r3, 0(r3) +/* 8002C6C8 00029628 81 83 00 00 */ lwz r12, 0(r3) +/* 8002C6CC 0002962C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8002C6D0 00029630 7D 89 03 A6 */ mtctr r12 +/* 8002C6D4 00029634 4E 80 04 21 */ bctrl +/* 8002C6D8 00029638 2C 03 00 03 */ cmpwi r3, 3 +/* 8002C6DC 0002963C 40 82 00 28 */ bne lbl_8002C704 +/* 8002C6E0 00029640 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8002C6E4 00029644 3C 00 43 30 */ lis r0, 0x4330 +/* 8002C6E8 00029648 90 01 00 68 */ stw r0, 0x68(r1) +/* 8002C6EC 0002964C 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 8002C6F0 00029650 C8 22 83 E0 */ lfd f1, lbl_805AA100@sda21(r2) +/* 8002C6F4 00029654 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8002C6F8 00029658 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8002C6FC 0002965C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8002C700 00029660 EF FF 00 24 */ fdivs f31, f31, f0 +lbl_8002C704: +/* 8002C704 00029664 80 81 00 64 */ lwz r4, 0x64(r1) +/* 8002C708 00029668 28 04 00 00 */ cmplwi r4, 0 +/* 8002C70C 0002966C 41 82 00 0C */ beq lbl_8002C718 +/* 8002C710 00029670 38 61 00 54 */ addi r3, r1, 0x54 +/* 8002C714 00029674 48 00 4B 95 */ bl sub_800312a8 +lbl_8002C718: +/* 8002C718 00029678 38 00 00 00 */ li r0, 0 +/* 8002C71C 0002967C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8002C720 00029680 90 01 00 64 */ stw r0, 0x64(r1) +/* 8002C724 00029684 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8002C728 00029688 90 01 00 60 */ stw r0, 0x60(r1) +/* 8002C72C 0002968C 90 01 00 58 */ stw r0, 0x58(r1) +/* 8002C730 00029690 48 00 48 01 */ bl sub_80030f30 +/* 8002C734 00029694 FC 20 F8 90 */ fmr f1, f31 +/* 8002C738 00029698 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8002C73C 0002969C CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8002C740 000296A0 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 8002C744 000296A4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8002C748 000296A8 7C 08 03 A6 */ mtlr r0 +/* 8002C74C 000296AC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8002C750 000296B0 4E 80 00 20 */ blr + +.global GetAnimSysContext__9CAnimDataCFv +GetAnimSysContext__9CAnimDataCFv: +/* 8002C754 000296B4 80 04 00 FC */ lwz r0, 0xfc(r4) +/* 8002C758 000296B8 90 03 00 00 */ stw r0, 0(r3) +/* 8002C75C 000296BC 80 83 00 00 */ lwz r4, 0(r3) +/* 8002C760 000296C0 80 64 00 04 */ lwz r3, 4(r4) +/* 8002C764 000296C4 38 03 00 01 */ addi r0, r3, 1 +/* 8002C768 000296C8 90 04 00 04 */ stw r0, 4(r4) +/* 8002C76C 000296CC 4E 80 00 20 */ blr + +.global GetAnimationManager__9CAnimDataCFv +GetAnimationManager__9CAnimDataCFv: +/* 8002C770 000296D0 80 04 01 00 */ lwz r0, 0x100(r4) +/* 8002C774 000296D4 90 03 00 00 */ stw r0, 0(r3) +/* 8002C778 000296D8 80 83 00 00 */ lwz r4, 0(r3) +/* 8002C77C 000296DC 80 64 00 04 */ lwz r3, 4(r4) +/* 8002C780 000296E0 38 03 00 01 */ addi r0, r3, 1 +/* 8002C784 000296E4 90 04 00 04 */ stw r0, 4(r4) +/* 8002C788 000296E8 4E 80 00 20 */ blr + +.global RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime +RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime: +/* 8002C78C 000296EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002C790 000296F0 7C 08 02 A6 */ mflr r0 +/* 8002C794 000296F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002C798 000296F8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002C79C 000296FC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8002C7A0 00029700 7C 7E 1B 78 */ mr r30, r3 +/* 8002C7A4 00029704 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8002C7A8 00029708 7C 9D 23 78 */ mr r29, r4 +/* 8002C7AC 0002970C 80 83 00 D4 */ lwz r4, 0xd4(r3) +/* 8002C7B0 00029710 38 61 00 0C */ addi r3, r1, 0xc +/* 8002C7B4 00029714 3B E4 00 08 */ addi r31, r4, 8 +/* 8002C7B8 00029718 48 2D 0B B5 */ bl __ct__21CStackSegStatementSetFv +/* 8002C7BC 0002971C 28 1D 00 00 */ cmplwi r29, 0 +/* 8002C7C0 00029720 40 82 00 28 */ bne lbl_8002C7E8 +/* 8002C7C4 00029724 80 7E 01 F8 */ lwz r3, 0x1f8(r30) +/* 8002C7C8 00029728 7F E4 FB 78 */ mr r4, r31 +/* 8002C7CC 0002972C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8002C7D0 00029730 80 63 00 00 */ lwz r3, 0(r3) +/* 8002C7D4 00029734 81 83 00 00 */ lwz r12, 0(r3) +/* 8002C7D8 00029738 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8002C7DC 0002973C 7D 89 03 A6 */ mtctr r12 +/* 8002C7E0 00029740 4E 80 04 21 */ bctrl +/* 8002C7E4 00029744 48 00 00 28 */ b lbl_8002C80C +lbl_8002C7E8: +/* 8002C7E8 00029748 80 7E 01 F8 */ lwz r3, 0x1f8(r30) +/* 8002C7EC 0002974C 7F E4 FB 78 */ mr r4, r31 +/* 8002C7F0 00029750 7F A6 EB 78 */ mr r6, r29 +/* 8002C7F4 00029754 38 A1 00 0C */ addi r5, r1, 0xc +/* 8002C7F8 00029758 80 63 00 00 */ lwz r3, 0(r3) +/* 8002C7FC 0002975C 81 83 00 00 */ lwz r12, 0(r3) +/* 8002C800 00029760 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 8002C804 00029764 7D 89 03 A6 */ mtctr r12 +/* 8002C808 00029768 4E 80 04 21 */ bctrl +lbl_8002C80C: +/* 8002C80C 0002976C 7F C3 F3 78 */ mr r3, r30 +/* 8002C810 00029770 7F E4 FB 78 */ mr r4, r31 +/* 8002C814 00029774 38 A1 00 0C */ addi r5, r1, 0xc +/* 8002C818 00029778 4B FF CC 99 */ bl AddAdditiveSegData__9CAnimDataCFRC10CSegIdListR16CSegStatementSet +/* 8002C81C 0002977C 80 1F 00 04 */ lwz r0, 4(r31) +/* 8002C820 00029780 39 3E 03 3C */ addi r9, r30, 0x33c +/* 8002C824 00029784 38 60 00 00 */ li r3, 0 +/* 8002C828 00029788 7C 09 03 A6 */ mtctr r0 +/* 8002C82C 0002978C 2C 00 00 00 */ cmpwi r0, 0 +/* 8002C830 00029790 40 81 00 A0 */ ble lbl_8002C8D0 +lbl_8002C834: +/* 8002C834 00029794 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8002C838 00029798 7C 04 18 AE */ lbzx r0, r4, r3 +/* 8002C83C 0002979C 28 00 00 03 */ cmplwi r0, 3 +/* 8002C840 000297A0 98 01 00 08 */ stb r0, 8(r1) +/* 8002C844 000297A4 41 82 00 84 */ beq lbl_8002C8C8 +/* 8002C848 000297A8 54 04 0D FC */ rlwinm r4, r0, 1, 0x17, 0x1e +/* 8002C84C 000297AC 80 E1 00 10 */ lwz r7, 0x10(r1) +/* 8002C850 000297B0 38 A4 00 01 */ addi r5, r4, 1 +/* 8002C854 000297B4 54 06 2C F4 */ rlwinm r6, r0, 5, 0x13, 0x1a +/* 8002C858 000297B8 7C 09 28 AE */ lbzx r0, r9, r5 +/* 8002C85C 000297BC 7D 07 32 14 */ add r8, r7, r6 +/* 8002C860 000297C0 80 9E 04 04 */ lwz r4, 0x404(r30) +/* 8002C864 000297C4 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 8002C868 000297C8 C0 08 00 00 */ lfs f0, 0(r8) +/* 8002C86C 000297CC 7C E4 02 14 */ add r7, r4, r0 +/* 8002C870 000297D0 D0 07 00 04 */ stfs f0, 4(r7) +/* 8002C874 000297D4 80 88 00 04 */ lwz r4, 4(r8) +/* 8002C878 000297D8 80 08 00 08 */ lwz r0, 8(r8) +/* 8002C87C 000297DC 90 87 00 08 */ stw r4, 8(r7) +/* 8002C880 000297E0 90 07 00 0C */ stw r0, 0xc(r7) +/* 8002C884 000297E4 80 08 00 0C */ lwz r0, 0xc(r8) +/* 8002C888 000297E8 90 07 00 10 */ stw r0, 0x10(r7) +/* 8002C88C 000297EC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8002C890 000297F0 7C C0 32 14 */ add r6, r0, r6 +/* 8002C894 000297F4 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 8002C898 000297F8 28 00 00 00 */ cmplwi r0, 0 +/* 8002C89C 000297FC 41 82 00 2C */ beq lbl_8002C8C8 +/* 8002C8A0 00029800 7C 09 28 AE */ lbzx r0, r9, r5 +/* 8002C8A4 00029804 80 9E 04 04 */ lwz r4, 0x404(r30) +/* 8002C8A8 00029808 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 8002C8AC 0002980C C0 06 00 10 */ lfs f0, 0x10(r6) +/* 8002C8B0 00029810 7C 84 02 14 */ add r4, r4, r0 +/* 8002C8B4 00029814 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 8002C8B8 00029818 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 8002C8BC 0002981C D0 04 00 18 */ stfs f0, 0x18(r4) +/* 8002C8C0 00029820 C0 06 00 18 */ lfs f0, 0x18(r6) +/* 8002C8C4 00029824 D0 04 00 1C */ stfs f0, 0x1c(r4) +lbl_8002C8C8: +/* 8002C8C8 00029828 38 63 00 01 */ addi r3, r3, 1 +/* 8002C8CC 0002982C 42 00 FF 68 */ bdnz lbl_8002C834 +lbl_8002C8D0: +/* 8002C8D0 00029830 38 61 00 0C */ addi r3, r1, 0xc +/* 8002C8D4 00029834 38 80 FF FF */ li r4, -1 +/* 8002C8D8 00029838 48 2D 09 D5 */ bl __dt__21CStackSegStatementSetFv +/* 8002C8DC 0002983C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002C8E0 00029840 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002C8E4 00029844 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002C8E8 00029848 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8002C8EC 0002984C 7C 08 03 A6 */ mtlr r0 +/* 8002C8F0 00029850 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002C8F4 00029854 4E 80 00 20 */ blr + +.global RenderAuxiliary__9CAnimDataCFRC14CFrustumPlanes +RenderAuxiliary__9CAnimDataCFRC14CFrustumPlanes: +/* 8002C8F8 00029858 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002C8FC 0002985C 7C 08 02 A6 */ mflr r0 +/* 8002C900 00029860 38 63 01 20 */ addi r3, r3, 0x120 +/* 8002C904 00029864 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002C908 00029868 48 08 B9 05 */ bl AddToRendererClipped__17CParticleDatabaseCFRC14CFrustumPlanes +/* 8002C90C 0002986C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002C910 00029870 7C 08 03 A6 */ mtlr r0 +/* 8002C914 00029874 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002C918 00029878 4E 80 00 20 */ blr + +.global "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +"Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf": +/* 8002C91C 0002987C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002C920 00029880 7C 08 02 A6 */ mflr r0 +/* 8002C924 00029884 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002C928 00029888 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002C92C 0002988C 7C BF 2B 78 */ mr r31, r5 +/* 8002C930 00029890 7C C5 33 78 */ mr r5, r6 +/* 8002C934 00029894 7C E6 3B 78 */ mr r6, r7 +/* 8002C938 00029898 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002C93C 0002989C 7C 9E 23 78 */ mr r30, r4 +/* 8002C940 000298A0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002C944 000298A4 7C 7D 1B 78 */ mr r29, r3 +/* 8002C948 000298A8 48 00 00 31 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 8002C94C 000298AC 7F A3 EB 78 */ mr r3, r29 +/* 8002C950 000298B0 7F C4 F3 78 */ mr r4, r30 +/* 8002C954 000298B4 7F E5 FB 78 */ mr r5, r31 +/* 8002C958 000298B8 48 00 1A D9 */ bl DrawSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC11CModelFlags +/* 8002C95C 000298BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002C960 000298C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002C964 000298C4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002C968 000298C8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8002C96C 000298CC 7C 08 03 A6 */ mtlr r0 +/* 8002C970 000298D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002C974 000298D4 4E 80 00 20 */ blr + +.global "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +"SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf": +/* 8002C978 000298D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002C97C 000298DC 7C 08 02 A6 */ mflr r0 +/* 8002C980 000298E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002C984 000298E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002C988 000298E8 7C DF 33 78 */ mr r31, r6 +/* 8002C98C 000298EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002C990 000298F0 7C BE 2B 78 */ mr r30, r5 +/* 8002C994 000298F4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002C998 000298F8 7C 9D 23 78 */ mr r29, r4 +/* 8002C99C 000298FC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8002C9A0 00029900 7C 7C 1B 78 */ mr r28, r3 +/* 8002C9A4 00029904 88 03 02 20 */ lbz r0, 0x220(r3) +/* 8002C9A8 00029908 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8002C9AC 0002990C 40 82 00 20 */ bne lbl_8002C9CC +/* 8002C9B0 00029910 38 7C 02 FC */ addi r3, r28, 0x2fc +/* 8002C9B4 00029914 38 9C 02 24 */ addi r4, r28, 0x224 +/* 8002C9B8 00029918 48 2C FF 59 */ bl BuildNoScale__21CHierarchyPoseBuilderFR17CPoseAsTransforms +/* 8002C9BC 0002991C 88 1C 02 20 */ lbz r0, 0x220(r28) +/* 8002C9C0 00029920 38 60 00 01 */ li r3, 1 +/* 8002C9C4 00029924 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8002C9C8 00029928 98 1C 02 20 */ stb r0, 0x220(r28) +lbl_8002C9CC: +/* 8002C9CC 0002992C 7F 83 E3 78 */ mr r3, r28 +/* 8002C9D0 00029930 7F A4 EB 78 */ mr r4, r29 +/* 8002C9D4 00029934 7F C6 F3 78 */ mr r6, r30 +/* 8002C9D8 00029938 7F E7 FB 78 */ mr r7, r31 +/* 8002C9DC 0002993C 38 BC 02 24 */ addi r5, r28, 0x224 +/* 8002C9E0 00029940 48 00 1A D1 */ bl "PoseSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 8002C9E4 00029944 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002C9E8 00029948 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002C9EC 0002994C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002C9F0 00029950 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8002C9F4 00029954 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8002C9F8 00029958 7C 08 03 A6 */ mtlr r0 +/* 8002C9FC 0002995C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002CA00 00029960 4E 80 00 20 */ blr + +.global PreRender__9CAnimDataFv +PreRender__9CAnimDataFv: +/* 8002CA04 00029964 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002CA08 00029968 7C 08 02 A6 */ mflr r0 +/* 8002CA0C 0002996C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002CA10 00029970 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002CA14 00029974 7C 7F 1B 78 */ mr r31, r3 +/* 8002CA18 00029978 88 03 02 20 */ lbz r0, 0x220(r3) +/* 8002CA1C 0002997C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8002CA20 00029980 40 82 00 2C */ bne lbl_8002CA4C +/* 8002CA24 00029984 38 80 00 00 */ li r4, 0 +/* 8002CA28 00029988 4B FF FD 65 */ bl RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime +/* 8002CA2C 0002998C 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002CA30 00029990 38 60 00 01 */ li r3, 1 +/* 8002CA34 00029994 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8002CA38 00029998 38 60 00 00 */ li r3, 0 +/* 8002CA3C 0002999C 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002CA40 000299A0 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002CA44 000299A4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8002CA48 000299A8 98 1F 02 20 */ stb r0, 0x220(r31) +lbl_8002CA4C: +/* 8002CA4C 000299AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002CA50 000299B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002CA54 000299B4 7C 08 03 A6 */ mtlr r0 +/* 8002CA58 000299B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002CA5C 000299BC 4E 80 00 20 */ blr + +.global BuildPose__9CAnimDataFv +BuildPose__9CAnimDataFv: +/* 8002CA60 000299C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002CA64 000299C4 7C 08 02 A6 */ mflr r0 +/* 8002CA68 000299C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002CA6C 000299CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002CA70 000299D0 7C 7F 1B 78 */ mr r31, r3 +/* 8002CA74 000299D4 88 03 02 20 */ lbz r0, 0x220(r3) +/* 8002CA78 000299D8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8002CA7C 000299DC 40 82 00 2C */ bne lbl_8002CAA8 +/* 8002CA80 000299E0 38 80 00 00 */ li r4, 0 +/* 8002CA84 000299E4 4B FF FD 09 */ bl RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime +/* 8002CA88 000299E8 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002CA8C 000299EC 38 60 00 01 */ li r3, 1 +/* 8002CA90 000299F0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8002CA94 000299F4 38 60 00 00 */ li r3, 0 +/* 8002CA98 000299F8 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002CA9C 000299FC 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002CAA0 00029A00 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8002CAA4 00029A04 98 1F 02 20 */ stb r0, 0x220(r31) +lbl_8002CAA8: +/* 8002CAA8 00029A08 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002CAAC 00029A0C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8002CAB0 00029A10 40 82 00 20 */ bne lbl_8002CAD0 +/* 8002CAB4 00029A14 38 7F 02 FC */ addi r3, r31, 0x2fc +/* 8002CAB8 00029A18 38 9F 02 24 */ addi r4, r31, 0x224 +/* 8002CABC 00029A1C 48 2C FE 55 */ bl BuildNoScale__21CHierarchyPoseBuilderFR17CPoseAsTransforms +/* 8002CAC0 00029A20 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002CAC4 00029A24 38 60 00 01 */ li r3, 1 +/* 8002CAC8 00029A28 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8002CACC 00029A2C 98 1F 02 20 */ stb r0, 0x220(r31) +lbl_8002CAD0: +/* 8002CAD0 00029A30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002CAD4 00029A34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002CAD8 00029A38 7C 08 03 A6 */ mtlr r0 +/* 8002CADC 00029A3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002CAE0 00029A40 4E 80 00 20 */ blr + +.global "PrimitiveSetToTokenVector__9CAnimDataFRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" +"PrimitiveSetToTokenVector__9CAnimDataFRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b": +/* 8002CAE4 00029A44 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8002CAE8 00029A48 7C 08 02 A6 */ mflr r0 +/* 8002CAEC 00029A4C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8002CAF0 00029A50 38 00 00 00 */ li r0, 0 +/* 8002CAF4 00029A54 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 8002CAF8 00029A58 7C 9F 23 78 */ mr r31, r4 +/* 8002CAFC 00029A5C 7C 7C 1B 78 */ mr r28, r3 +/* 8002CB00 00029A60 7C BE 2B 78 */ mr r30, r5 +/* 8002CB04 00029A64 7F E3 FB 78 */ mr r3, r31 +/* 8002CB08 00029A68 38 81 00 30 */ addi r4, r1, 0x30 +/* 8002CB0C 00029A6C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002CB10 00029A70 90 01 00 38 */ stw r0, 0x38(r1) +/* 8002CB14 00029A74 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8002CB18 00029A78 4B FD 9C ED */ bl sub_80006804 +/* 8002CB1C 00029A7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002CB20 00029A80 83 61 00 3C */ lwz r27, 0x3c(r1) +/* 8002CB24 00029A84 54 00 18 38 */ slwi r0, r0, 3 +/* 8002CB28 00029A88 7F BB 02 14 */ add r29, r27, r0 +/* 8002CB2C 00029A8C 93 61 00 0C */ stw r27, 0xc(r1) +/* 8002CB30 00029A90 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002CB34 00029A94 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8002CB38 00029A98 93 61 00 08 */ stw r27, 8(r1) +/* 8002CB3C 00029A9C 48 00 00 14 */ b lbl_8002CB50 +lbl_8002CB40: +/* 8002CB40 00029AA0 7F 63 DB 78 */ mr r3, r27 +/* 8002CB44 00029AA4 38 80 FF FF */ li r4, -1 +/* 8002CB48 00029AA8 48 31 42 F9 */ bl __dt__6CTokenFv +/* 8002CB4C 00029AAC 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8002CB50: +/* 8002CB50 00029AB0 7C 1B E8 40 */ cmplw r27, r29 +/* 8002CB54 00029AB4 40 82 FF EC */ bne lbl_8002CB40 +/* 8002CB58 00029AB8 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8002CB5C 00029ABC 28 03 00 00 */ cmplwi r3, 0 +/* 8002CB60 00029AC0 41 82 00 08 */ beq lbl_8002CB68 +/* 8002CB64 00029AC4 48 2E 8D CD */ bl Free__7CMemoryFPCv +lbl_8002CB68: +/* 8002CB68 00029AC8 80 9C 00 04 */ lwz r4, 4(r28) +/* 8002CB6C 00029ACC 7F E3 FB 78 */ mr r3, r31 +/* 8002CB70 00029AD0 4B FD BD ED */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 8002CB74 00029AD4 3C 60 41 4E */ lis r3, 0x414E494D@ha +/* 8002CB78 00029AD8 87 7C 00 08 */ lwzu r27, 8(r28) +/* 8002CB7C 00029ADC 57 DE 06 3E */ clrlwi r30, r30, 0x18 +/* 8002CB80 00029AE0 3B A3 49 4D */ addi r29, r3, 0x414E494D@l +/* 8002CB84 00029AE4 48 00 00 C0 */ b lbl_8002CC44 +lbl_8002CB88: +/* 8002CB88 00029AE8 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 8002CB8C 00029AEC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002CB90 00029AF0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8002CB94 00029AF4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8002CB98 00029AF8 93 A1 00 20 */ stw r29, 0x20(r1) +/* 8002CB9C 00029AFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002CBA0 00029B00 81 84 00 00 */ lwz r12, 0(r4) +/* 8002CBA4 00029B04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8002CBA8 00029B08 7D 89 03 A6 */ mtctr r12 +/* 8002CBAC 00029B0C 4E 80 04 21 */ bctrl +/* 8002CBB0 00029B10 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002CBB4 00029B14 38 81 00 18 */ addi r4, r1, 0x18 +/* 8002CBB8 00029B18 48 31 42 F1 */ bl __ct__6CTokenFRC6CToken +/* 8002CBBC 00029B1C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002CBC0 00029B20 38 80 FF FF */ li r4, -1 +/* 8002CBC4 00029B24 48 31 42 7D */ bl __dt__6CTokenFv +/* 8002CBC8 00029B28 28 1E 00 00 */ cmplwi r30, 0 +/* 8002CBCC 00029B2C 41 82 00 0C */ beq lbl_8002CBD8 +/* 8002CBD0 00029B30 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002CBD4 00029B34 48 31 41 B1 */ bl Lock__6CTokenFv +lbl_8002CBD8: +/* 8002CBD8 00029B38 80 1F 00 04 */ lwz r0, 4(r31) +/* 8002CBDC 00029B3C 80 BF 00 08 */ lwz r5, 8(r31) +/* 8002CBE0 00029B40 7C 00 28 00 */ cmpw r0, r5 +/* 8002CBE4 00029B44 41 80 00 1C */ blt lbl_8002CC00 +/* 8002CBE8 00029B48 2C 05 00 00 */ cmpwi r5, 0 +/* 8002CBEC 00029B4C 7F E3 FB 78 */ mr r3, r31 +/* 8002CBF0 00029B50 38 80 00 04 */ li r4, 4 +/* 8002CBF4 00029B54 41 82 00 08 */ beq lbl_8002CBFC +/* 8002CBF8 00029B58 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8002CBFC: +/* 8002CBFC 00029B5C 4B FD BD 61 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_8002CC00: +/* 8002CC00 00029B60 80 1F 00 04 */ lwz r0, 4(r31) +/* 8002CC04 00029B64 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8002CC08 00029B68 54 00 18 38 */ slwi r0, r0, 3 +/* 8002CC0C 00029B6C 7C 63 02 15 */ add. r3, r3, r0 +/* 8002CC10 00029B70 41 82 00 0C */ beq lbl_8002CC1C +/* 8002CC14 00029B74 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002CC18 00029B78 48 31 42 91 */ bl __ct__6CTokenFRC6CToken +lbl_8002CC1C: +/* 8002CC1C 00029B7C 80 BF 00 04 */ lwz r5, 4(r31) +/* 8002CC20 00029B80 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002CC24 00029B84 38 80 FF FF */ li r4, -1 +/* 8002CC28 00029B88 38 05 00 01 */ addi r0, r5, 1 +/* 8002CC2C 00029B8C 90 1F 00 04 */ stw r0, 4(r31) +/* 8002CC30 00029B90 48 31 42 11 */ bl __dt__6CTokenFv +/* 8002CC34 00029B94 7F 83 E3 78 */ mr r3, r28 +/* 8002CC38 00029B98 7F 64 DB 78 */ mr r4, r27 +/* 8002CC3C 00029B9C 48 30 F9 A5 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8002CC40 00029BA0 7C 7B 1B 78 */ mr r27, r3 +lbl_8002CC44: +/* 8002CC44 00029BA4 28 1B 00 00 */ cmplwi r27, 0 +/* 8002CC48 00029BA8 38 00 00 00 */ li r0, 0 +/* 8002CC4C 00029BAC 40 82 00 0C */ bne lbl_8002CC58 +/* 8002CC50 00029BB0 7C 1C E0 40 */ cmplw r28, r28 +/* 8002CC54 00029BB4 41 82 00 08 */ beq lbl_8002CC5C +lbl_8002CC58: +/* 8002CC58 00029BB8 38 00 00 01 */ li r0, 1 +lbl_8002CC5C: +/* 8002CC5C 00029BBC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8002CC60 00029BC0 40 82 FF 28 */ bne lbl_8002CB88 +/* 8002CC64 00029BC4 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 8002CC68 00029BC8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8002CC6C 00029BCC 7C 08 03 A6 */ mtlr r0 +/* 8002CC70 00029BD0 38 21 00 60 */ addi r1, r1, 0x60 +/* 8002CC74 00029BD4 4E 80 00 20 */ blr + +.global "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" +"GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>": +/* 8002CC78 00029BD8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002CC7C 00029BDC 7C 08 02 A6 */ mflr r0 +/* 8002CC80 00029BE0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002CC84 00029BE4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002CC88 00029BE8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8002CC8C 00029BEC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8002CC90 00029BF0 7C BD 2B 78 */ mr r29, r5 +/* 8002CC94 00029BF4 93 81 00 20 */ stw r28, 0x20(r1) +/* 8002CC98 00029BF8 7C 7C 1B 78 */ mr r28, r3 +/* 8002CC9C 00029BFC 80 04 00 00 */ lwz r0, 0(r4) +/* 8002CCA0 00029C00 80 63 00 C8 */ lwz r3, 0xc8(r3) +/* 8002CCA4 00029C04 54 00 10 3A */ slwi r0, r0, 2 +/* 8002CCA8 00029C08 83 E4 00 04 */ lwz r31, 4(r4) +/* 8002CCAC 00029C0C 7F C3 00 2E */ lwzx r30, r3, r0 +/* 8002CCB0 00029C10 7F 84 E3 78 */ mr r4, r28 +/* 8002CCB4 00029C14 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002CCB8 00029C18 4B FF FA B9 */ bl GetAnimationManager__9CAnimDataCFv +/* 8002CCBC 00029C1C 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8002CCC0 00029C20 7F C5 F3 78 */ mr r5, r30 +/* 8002CCC4 00029C24 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002CCC8 00029C28 80 84 00 00 */ lwz r4, 0(r4) +/* 8002CCCC 00029C2C 48 2A A1 45 */ bl GetMetaAnimation__17CAnimationManagerCFUi +/* 8002CCD0 00029C30 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8002CCD4 00029C34 7F A4 EB 78 */ mr r4, r29 +/* 8002CCD8 00029C38 80 63 00 00 */ lwz r3, 0(r3) +/* 8002CCDC 00029C3C 81 83 00 00 */ lwz r12, 0(r3) +/* 8002CCE0 00029C40 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8002CCE4 00029C44 7D 89 03 A6 */ mtctr r12 +/* 8002CCE8 00029C48 4E 80 04 21 */ bctrl +/* 8002CCEC 00029C4C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002CCF0 00029C50 48 00 42 41 */ bl sub_80030f30 +/* 8002CCF4 00029C54 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002CCF8 00029C58 48 00 46 B5 */ bl sub_800313ac +/* 8002CCFC 00029C5C 2C 1F FF FF */ cmpwi r31, -1 +/* 8002CD00 00029C60 41 82 00 5C */ beq lbl_8002CD5C +/* 8002CD04 00029C64 80 BC 00 C8 */ lwz r5, 0xc8(r28) +/* 8002CD08 00029C68 57 E0 10 3A */ slwi r0, r31, 2 +/* 8002CD0C 00029C6C 7F 84 E3 78 */ mr r4, r28 +/* 8002CD10 00029C70 38 61 00 0C */ addi r3, r1, 0xc +/* 8002CD14 00029C74 7F C5 00 2E */ lwzx r30, r5, r0 +/* 8002CD18 00029C78 4B FF FA 59 */ bl GetAnimationManager__9CAnimDataCFv +/* 8002CD1C 00029C7C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8002CD20 00029C80 7F C5 F3 78 */ mr r5, r30 +/* 8002CD24 00029C84 38 61 00 08 */ addi r3, r1, 8 +/* 8002CD28 00029C88 80 84 00 00 */ lwz r4, 0(r4) +/* 8002CD2C 00029C8C 48 2A A0 E5 */ bl GetMetaAnimation__17CAnimationManagerCFUi +/* 8002CD30 00029C90 80 61 00 08 */ lwz r3, 8(r1) +/* 8002CD34 00029C94 7F A4 EB 78 */ mr r4, r29 +/* 8002CD38 00029C98 80 63 00 00 */ lwz r3, 0(r3) +/* 8002CD3C 00029C9C 81 83 00 00 */ lwz r12, 0(r3) +/* 8002CD40 00029CA0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8002CD44 00029CA4 7D 89 03 A6 */ mtctr r12 +/* 8002CD48 00029CA8 4E 80 04 21 */ bctrl +/* 8002CD4C 00029CAC 38 61 00 08 */ addi r3, r1, 8 +/* 8002CD50 00029CB0 48 00 41 E1 */ bl sub_80030f30 +/* 8002CD54 00029CB4 38 61 00 0C */ addi r3, r1, 0xc +/* 8002CD58 00029CB8 48 00 46 55 */ bl sub_800313ac +lbl_8002CD5C: +/* 8002CD5C 00029CBC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002CD60 00029CC0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002CD64 00029CC4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002CD68 00029CC8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8002CD6C 00029CCC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8002CD70 00029CD0 7C 08 03 A6 */ mtlr r0 +/* 8002CD74 00029CD4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002CD78 00029CD8 4E 80 00 20 */ blr + +.global SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb: +/* 8002CD7C 00029CDC 94 21 FD F0 */ stwu r1, -0x210(r1) +/* 8002CD80 00029CE0 7C 08 02 A6 */ mflr r0 +/* 8002CD84 00029CE4 90 01 02 14 */ stw r0, 0x214(r1) +/* 8002CD88 00029CE8 DB E1 02 00 */ stfd f31, 0x200(r1) +/* 8002CD8C 00029CEC F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 +/* 8002CD90 00029CF0 BF 41 01 E8 */ stmw r26, 0x1e8(r1) +/* 8002CD94 00029CF4 7C 7C 1B 78 */ mr r28, r3 +/* 8002CD98 00029CF8 7C 9D 23 78 */ mr r29, r4 +/* 8002CD9C 00029CFC 80 84 00 00 */ lwz r4, 0(r4) +/* 8002CDA0 00029D00 7C BE 2B 78 */ mr r30, r5 +/* 8002CDA4 00029D04 80 03 04 0C */ lwz r0, 0x40c(r3) +/* 8002CDA8 00029D08 7C 04 00 00 */ cmpw r4, r0 +/* 8002CDAC 00029D0C 41 82 00 38 */ beq lbl_8002CDE4 +/* 8002CDB0 00029D10 80 7D 00 04 */ lwz r3, 4(r29) +/* 8002CDB4 00029D14 80 1C 04 10 */ lwz r0, 0x410(r28) +/* 8002CDB8 00029D18 7C 03 00 00 */ cmpw r3, r0 +/* 8002CDBC 00029D1C 40 82 00 0C */ bne lbl_8002CDC8 +/* 8002CDC0 00029D20 2C 03 FF FF */ cmpwi r3, -1 +/* 8002CDC4 00029D24 40 82 00 20 */ bne lbl_8002CDE4 +lbl_8002CDC8: +/* 8002CDC8 00029D28 C0 3D 00 08 */ lfs f1, 8(r29) +/* 8002CDCC 00029D2C C0 1C 04 14 */ lfs f0, 0x414(r28) +/* 8002CDD0 00029D30 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8002CDD4 00029D34 40 82 00 1C */ bne lbl_8002CDF0 +/* 8002CDD8 00029D38 C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) +/* 8002CDDC 00029D3C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 8002CDE0 00029D40 41 82 00 10 */ beq lbl_8002CDF0 +lbl_8002CDE4: +/* 8002CDE4 00029D44 88 1C 02 20 */ lbz r0, 0x220(r28) +/* 8002CDE8 00029D48 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8002CDEC 00029D4C 40 82 03 50 */ bne lbl_8002D13C +lbl_8002CDF0: +/* 8002CDF0 00029D50 90 9C 04 0C */ stw r4, 0x40c(r28) +/* 8002CDF4 00029D54 7F 83 E3 78 */ mr r3, r28 +/* 8002CDF8 00029D58 C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) +/* 8002CDFC 00029D5C 80 1D 00 04 */ lwz r0, 4(r29) +/* 8002CE00 00029D60 90 1C 04 10 */ stw r0, 0x410(r28) +/* 8002CE04 00029D64 C0 3D 00 08 */ lfs f1, 8(r29) +/* 8002CE08 00029D68 D0 3C 04 14 */ stfs f1, 0x414(r28) +/* 8002CE0C 00029D6C 80 9D 00 00 */ lwz r4, 0(r29) +/* 8002CE10 00029D70 8B FD 00 0C */ lbz r31, 0xc(r29) +/* 8002CE14 00029D74 54 80 10 3A */ slwi r0, r4, 2 +/* 8002CE18 00029D78 D0 1C 02 00 */ stfs f0, 0x200(r28) +/* 8002CE1C 00029D7C B0 9C 02 08 */ sth r4, 0x208(r28) +/* 8002CE20 00029D80 80 9C 00 C8 */ lwz r4, 0xc8(r28) +/* 8002CE24 00029D84 83 5D 00 04 */ lwz r26, 4(r29) +/* 8002CE28 00029D88 C3 FD 00 08 */ lfs f31, 8(r29) +/* 8002CE2C 00029D8C 7F 64 00 2E */ lwzx r27, r4, r0 +/* 8002CE30 00029D90 48 00 19 F1 */ bl ResetPOILists__9CAnimDataFv +/* 8002CE34 00029D94 38 8D A9 28 */ addi r4, r13, lbl_805A94E8@sda21 +/* 8002CE38 00029D98 2C 1A FF FF */ cmpwi r26, -1 +/* 8002CE3C 00029D9C 90 81 00 30 */ stw r4, 0x30(r1) +/* 8002CE40 00029DA0 80 64 00 04 */ lwz r3, 4(r4) +/* 8002CE44 00029DA4 38 03 00 01 */ addi r0, r3, 1 +/* 8002CE48 00029DA8 90 04 00 04 */ stw r0, 4(r4) +/* 8002CE4C 00029DAC 41 82 01 B4 */ beq lbl_8002D000 +/* 8002CE50 00029DB0 80 BC 00 C8 */ lwz r5, 0xc8(r28) +/* 8002CE54 00029DB4 57 40 10 3A */ slwi r0, r26, 2 +/* 8002CE58 00029DB8 7F 84 E3 78 */ mr r4, r28 +/* 8002CE5C 00029DBC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8002CE60 00029DC0 7F 45 00 2E */ lwzx r26, r5, r0 +/* 8002CE64 00029DC4 4B FF D6 89 */ bl GetAnimationManager__9CAnimDataFv +/* 8002CE68 00029DC8 38 61 01 54 */ addi r3, r1, 0x154 +/* 8002CE6C 00029DCC 48 2B A9 AD */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 8002CE70 00029DD0 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8002CE74 00029DD4 7F 65 DB 78 */ mr r5, r27 +/* 8002CE78 00029DD8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002CE7C 00029DDC 38 C1 01 54 */ addi r6, r1, 0x154 +/* 8002CE80 00029DE0 80 84 00 00 */ lwz r4, 0(r4) +/* 8002CE84 00029DE4 48 2A A0 0D */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders +/* 8002CE88 00029DE8 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8002CE8C 00029DEC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002CE90 00029DF0 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 8002CE94 00029DF4 80 85 00 04 */ lwz r4, 4(r5) +/* 8002CE98 00029DF8 38 04 00 01 */ addi r0, r4, 1 +/* 8002CE9C 00029DFC 90 05 00 04 */ stw r0, 4(r5) +/* 8002CEA0 00029E00 48 00 41 01 */ bl sub_80030fa0 +/* 8002CEA4 00029E04 38 00 00 00 */ li r0, 0 +/* 8002CEA8 00029E08 38 61 00 24 */ addi r3, r1, 0x24 +/* 8002CEAC 00029E0C 98 01 01 D8 */ stb r0, 0x1d8(r1) +/* 8002CEB0 00029E10 98 01 01 94 */ stb r0, 0x194(r1) +/* 8002CEB4 00029E14 48 00 44 F9 */ bl sub_800313ac +/* 8002CEB8 00029E18 7F 84 E3 78 */ mr r4, r28 +/* 8002CEBC 00029E1C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8002CEC0 00029E20 4B FF D6 2D */ bl GetAnimationManager__9CAnimDataFv +/* 8002CEC4 00029E24 38 61 00 CC */ addi r3, r1, 0xcc +/* 8002CEC8 00029E28 48 2B A9 51 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 8002CECC 00029E2C 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8002CED0 00029E30 7F 45 D3 78 */ mr r5, r26 +/* 8002CED4 00029E34 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002CED8 00029E38 38 C1 00 CC */ addi r6, r1, 0xcc +/* 8002CEDC 00029E3C 80 84 00 00 */ lwz r4, 0(r4) +/* 8002CEE0 00029E40 48 2A 9F B1 */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders +/* 8002CEE4 00029E44 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8002CEE8 00029E48 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002CEEC 00029E4C 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8002CEF0 00029E50 80 85 00 04 */ lwz r4, 4(r5) +/* 8002CEF4 00029E54 38 04 00 01 */ addi r0, r4, 1 +/* 8002CEF8 00029E58 90 05 00 04 */ stw r0, 4(r5) +/* 8002CEFC 00029E5C 48 00 40 A5 */ bl sub_80030fa0 +/* 8002CF00 00029E60 38 00 00 00 */ li r0, 0 +/* 8002CF04 00029E64 38 61 00 1C */ addi r3, r1, 0x1c +/* 8002CF08 00029E68 98 01 01 50 */ stb r0, 0x150(r1) +/* 8002CF0C 00029E6C 98 01 01 0C */ stb r0, 0x10c(r1) +/* 8002CF10 00029E70 48 00 44 9D */ bl sub_800313ac +/* 8002CF14 00029E74 3C 60 80 3D */ lis r3, lbl_803CCD20@ha +/* 8002CF18 00029E78 3B 60 00 00 */ li r27, 0 +/* 8002CF1C 00029E7C 38 83 CD 20 */ addi r4, r3, lbl_803CCD20@l +/* 8002CF20 00029E80 38 A0 00 00 */ li r5, 0 +/* 8002CF24 00029E84 38 60 00 28 */ li r3, 0x28 +/* 8002CF28 00029E88 48 2E 89 45 */ bl __nw__FUlPCcPCc +/* 8002CF2C 00029E8C 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8002CF30 00029E90 41 82 00 50 */ beq lbl_8002CF80 +/* 8002CF34 00029E94 FC 20 F8 90 */ fmr f1, f31 +/* 8002CF38 00029E98 38 61 00 34 */ addi r3, r1, 0x34 +/* 8002CF3C 00029E9C 38 81 00 2C */ addi r4, r1, 0x2c +/* 8002CF40 00029EA0 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8002CF44 00029EA4 48 2C 52 65 */ bl "CreatePrimitiveName__14CAnimTreeBlendFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f" +/* 8002CF48 00029EA8 80 82 C6 B8 */ lwz r4, lbl_805AE3D8@sda21(r2) +/* 8002CF4C 00029EAC 7F 43 D3 78 */ mr r3, r26 +/* 8002CF50 00029EB0 80 02 C6 BC */ lwz r0, lbl_805AE3DC@sda21(r2) +/* 8002CF54 00029EB4 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8002CF58 00029EB8 38 C1 00 28 */ addi r6, r1, 0x28 +/* 8002CF5C 00029EBC 39 01 00 34 */ addi r8, r1, 0x34 +/* 8002CF60 00029EC0 7C 87 03 78 */ or r7, r4, r0 +/* 8002CF64 00029EC4 3B 60 00 01 */ li r27, 1 +/* 8002CF68 00029EC8 38 80 00 00 */ li r4, 0 +/* 8002CF6C 00029ECC 48 2C AA BD */ bl "__ct__18CAnimTreeTweenBaseFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002CF70 00029ED0 3C 60 80 3F */ lis r3, lbl_803ED0D8@ha +/* 8002CF74 00029ED4 38 03 D0 D8 */ addi r0, r3, lbl_803ED0D8@l +/* 8002CF78 00029ED8 90 1A 00 00 */ stw r0, 0(r26) +/* 8002CF7C 00029EDC D3 FA 00 24 */ stfs f31, 0x24(r26) +lbl_8002CF80: +/* 8002CF80 00029EE0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002CF84 00029EE4 38 60 00 08 */ li r3, 8 +/* 8002CF88 00029EE8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002CF8C 00029EEC 38 A0 00 00 */ li r5, 0 +/* 8002CF90 00029EF0 48 2E 88 DD */ bl __nw__FUlPCcPCc +/* 8002CF94 00029EF4 28 03 00 00 */ cmplwi r3, 0 +/* 8002CF98 00029EF8 41 82 00 10 */ beq lbl_8002CFA8 +/* 8002CF9C 00029EFC 93 43 00 00 */ stw r26, 0(r3) +/* 8002CFA0 00029F00 38 00 00 01 */ li r0, 1 +/* 8002CFA4 00029F04 90 03 00 04 */ stw r0, 4(r3) +lbl_8002CFA8: +/* 8002CFA8 00029F08 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8002CFAC 00029F0C 90 61 00 14 */ stw r3, 0x14(r1) +/* 8002CFB0 00029F10 7C 00 18 40 */ cmplw r0, r3 +/* 8002CFB4 00029F14 41 82 00 20 */ beq lbl_8002CFD4 +/* 8002CFB8 00029F18 38 61 00 30 */ addi r3, r1, 0x30 +/* 8002CFBC 00029F1C 48 00 3F E5 */ bl sub_80030fa0 +/* 8002CFC0 00029F20 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8002CFC4 00029F24 90 81 00 30 */ stw r4, 0x30(r1) +/* 8002CFC8 00029F28 80 64 00 04 */ lwz r3, 4(r4) +/* 8002CFCC 00029F2C 38 03 00 01 */ addi r0, r3, 1 +/* 8002CFD0 00029F30 90 04 00 04 */ stw r0, 4(r4) +lbl_8002CFD4: +/* 8002CFD4 00029F34 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002CFD8 00029F38 48 00 3F C9 */ bl sub_80030fa0 +/* 8002CFDC 00029F3C 7F 60 07 75 */ extsb. r0, r27 +/* 8002CFE0 00029F40 41 82 00 0C */ beq lbl_8002CFEC +/* 8002CFE4 00029F44 38 61 00 34 */ addi r3, r1, 0x34 +/* 8002CFE8 00029F48 48 31 0A F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002CFEC: +/* 8002CFEC 00029F4C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002CFF0 00029F50 48 00 3F B1 */ bl sub_80030fa0 +/* 8002CFF4 00029F54 38 61 00 2C */ addi r3, r1, 0x2c +/* 8002CFF8 00029F58 48 00 3F A9 */ bl sub_80030fa0 +/* 8002CFFC 00029F5C 48 00 00 78 */ b lbl_8002D074 +lbl_8002D000: +/* 8002D000 00029F60 7F 84 E3 78 */ mr r4, r28 +/* 8002D004 00029F64 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002D008 00029F68 4B FF D4 E5 */ bl GetAnimationManager__9CAnimDataFv +/* 8002D00C 00029F6C 38 61 00 44 */ addi r3, r1, 0x44 +/* 8002D010 00029F70 48 2B A8 09 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 8002D014 00029F74 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8002D018 00029F78 7F 65 DB 78 */ mr r5, r27 +/* 8002D01C 00029F7C 38 61 00 0C */ addi r3, r1, 0xc +/* 8002D020 00029F80 38 C1 00 44 */ addi r6, r1, 0x44 +/* 8002D024 00029F84 80 84 00 00 */ lwz r4, 0(r4) +/* 8002D028 00029F88 48 2A 9E 69 */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders +/* 8002D02C 00029F8C 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8002D030 00029F90 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8002D034 00029F94 7C 03 00 40 */ cmplw r3, r0 +/* 8002D038 00029F98 41 82 00 20 */ beq lbl_8002D058 +/* 8002D03C 00029F9C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8002D040 00029FA0 48 00 3F 61 */ bl sub_80030fa0 +/* 8002D044 00029FA4 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8002D048 00029FA8 90 81 00 30 */ stw r4, 0x30(r1) +/* 8002D04C 00029FAC 80 64 00 04 */ lwz r3, 4(r4) +/* 8002D050 00029FB0 38 03 00 01 */ addi r0, r3, 1 +/* 8002D054 00029FB4 90 04 00 04 */ stw r0, 4(r4) +lbl_8002D058: +/* 8002D058 00029FB8 38 61 00 0C */ addi r3, r1, 0xc +/* 8002D05C 00029FBC 48 00 3F 45 */ bl sub_80030fa0 +/* 8002D060 00029FC0 38 00 00 00 */ li r0, 0 +/* 8002D064 00029FC4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002D068 00029FC8 98 01 00 C8 */ stb r0, 0xc8(r1) +/* 8002D06C 00029FCC 98 01 00 84 */ stb r0, 0x84(r1) +/* 8002D070 00029FD0 48 00 43 3D */ bl sub_800313ac +lbl_8002D074: +/* 8002D074 00029FD4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8002D078 00029FD8 40 82 00 58 */ bne lbl_8002D0D0 +/* 8002D07C 00029FDC 80 9C 01 FC */ lwz r4, 0x1fc(r28) +/* 8002D080 00029FE0 38 61 00 08 */ addi r3, r1, 8 +/* 8002D084 00029FE4 38 BC 01 F8 */ addi r5, r28, 0x1f8 +/* 8002D088 00029FE8 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8002D08C 00029FEC 80 84 00 00 */ lwz r4, 0(r4) +/* 8002D090 00029FF0 48 2B 9E 1D */ bl "GetTransitionTree__18CTransitionManagerCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>" +/* 8002D094 00029FF4 80 7C 01 F8 */ lwz r3, 0x1f8(r28) +/* 8002D098 00029FF8 80 01 00 08 */ lwz r0, 8(r1) +/* 8002D09C 00029FFC 7C 03 00 40 */ cmplw r3, r0 +/* 8002D0A0 0002A000 41 82 00 24 */ beq lbl_8002D0C4 +/* 8002D0A4 0002A004 38 7C 01 F8 */ addi r3, r28, 0x1f8 +/* 8002D0A8 0002A008 48 00 3E F9 */ bl sub_80030fa0 +/* 8002D0AC 0002A00C 80 01 00 08 */ lwz r0, 8(r1) +/* 8002D0B0 0002A010 90 1C 01 F8 */ stw r0, 0x1f8(r28) +/* 8002D0B4 0002A014 80 9C 01 F8 */ lwz r4, 0x1f8(r28) +/* 8002D0B8 0002A018 80 64 00 04 */ lwz r3, 4(r4) +/* 8002D0BC 0002A01C 38 03 00 01 */ addi r0, r3, 1 +/* 8002D0C0 0002A020 90 04 00 04 */ stw r0, 4(r4) +lbl_8002D0C4: +/* 8002D0C4 0002A024 38 61 00 08 */ addi r3, r1, 8 +/* 8002D0C8 0002A028 48 00 3E D9 */ bl sub_80030fa0 +/* 8002D0CC 0002A02C 48 00 00 34 */ b lbl_8002D100 +lbl_8002D0D0: +/* 8002D0D0 0002A030 80 7C 01 F8 */ lwz r3, 0x1f8(r28) +/* 8002D0D4 0002A034 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8002D0D8 0002A038 7C 03 00 40 */ cmplw r3, r0 +/* 8002D0DC 0002A03C 41 82 00 24 */ beq lbl_8002D100 +/* 8002D0E0 0002A040 38 7C 01 F8 */ addi r3, r28, 0x1f8 +/* 8002D0E4 0002A044 48 00 3E BD */ bl sub_80030fa0 +/* 8002D0E8 0002A048 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8002D0EC 0002A04C 90 1C 01 F8 */ stw r0, 0x1f8(r28) +/* 8002D0F0 0002A050 80 9C 01 F8 */ lwz r4, 0x1f8(r28) +/* 8002D0F4 0002A054 80 64 00 04 */ lwz r3, 4(r4) +/* 8002D0F8 0002A058 38 03 00 01 */ addi r0, r3, 1 +/* 8002D0FC 0002A05C 90 04 00 04 */ stw r0, 4(r4) +lbl_8002D100: +/* 8002D100 0002A060 88 1C 02 20 */ lbz r0, 0x220(r28) +/* 8002D104 0002A064 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 +/* 8002D108 0002A068 7F 83 E3 78 */ mr r3, r28 +/* 8002D10C 0002A06C 7F A4 EB 78 */ mr r4, r29 +/* 8002D110 0002A070 98 1C 02 20 */ stb r0, 0x220(r28) +/* 8002D114 0002A074 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8002D118 0002A078 4B FF E4 61 */ bl "CalcPlaybackAlignmentParms__9CAnimDataFRC18CAnimPlaybackParmsRCQ24rstl25ncrc_ptr<13CAnimTreeNode>" +/* 8002D11C 0002A07C 7F 83 E3 78 */ mr r3, r28 +/* 8002D120 0002A080 48 00 17 01 */ bl ResetPOILists__9CAnimDataFv +/* 8002D124 0002A084 88 1C 02 20 */ lbz r0, 0x220(r28) +/* 8002D128 0002A088 38 60 00 01 */ li r3, 1 +/* 8002D12C 0002A08C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8002D130 0002A090 38 61 00 30 */ addi r3, r1, 0x30 +/* 8002D134 0002A094 98 1C 02 20 */ stb r0, 0x220(r28) +/* 8002D138 0002A098 48 00 3E 69 */ bl sub_80030fa0 +lbl_8002D13C: +/* 8002D13C 0002A09C E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 +/* 8002D140 0002A0A0 CB E1 02 00 */ lfd f31, 0x200(r1) +/* 8002D144 0002A0A4 BB 41 01 E8 */ lmw r26, 0x1e8(r1) +/* 8002D148 0002A0A8 80 01 02 14 */ lwz r0, 0x214(r1) +/* 8002D14C 0002A0AC 7C 08 03 A6 */ mtlr r0 +/* 8002D150 0002A0B0 38 21 02 10 */ addi r1, r1, 0x210 +/* 8002D154 0002A0B4 4E 80 00 20 */ blr + +.global DoAdvance__9CAnimDataFfRbR9CRandom16b +DoAdvance__9CAnimDataFfRbR9CRandom16b: +/* 8002D158 0002A0B8 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8002D15C 0002A0BC 7C 08 02 A6 */ mflr r0 +/* 8002D160 0002A0C0 90 01 01 34 */ stw r0, 0x134(r1) +/* 8002D164 0002A0C4 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 8002D168 0002A0C8 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 8002D16C 0002A0CC DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8002D170 0002A0D0 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 8002D174 0002A0D4 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 8002D178 0002A0D8 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 8002D17C 0002A0DC DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 8002D180 0002A0E0 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 8002D184 0002A0E4 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 8002D188 0002A0E8 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 8002D18C 0002A0EC DB 41 00 D0 */ stfd f26, 0xd0(r1) +/* 8002D190 0002A0F0 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 +/* 8002D194 0002A0F4 BF 21 00 B4 */ stmw r25, 0xb4(r1) +/* 8002D198 0002A0F8 7C BD 2B 78 */ mr r29, r5 +/* 8002D19C 0002A0FC 38 00 00 00 */ li r0, 0 +/* 8002D1A0 0002A100 98 1D 00 00 */ stb r0, 0(r29) +/* 8002D1A4 0002A104 3C A0 80 5A */ lis r5, lbl_805A6660@ha +/* 8002D1A8 0002A108 C3 E2 83 D0 */ lfs f31, lbl_805AA0F0@sda21(r2) +/* 8002D1AC 0002A10C 7C 9A 23 78 */ mr r26, r4 +/* 8002D1B0 0002A110 C4 45 66 60 */ lfsu f2, lbl_805A6660@l(r5) +/* 8002D1B4 0002A114 7C 79 1B 78 */ mr r25, r3 +/* 8002D1B8 0002A118 D3 E1 00 60 */ stfs f31, 0x60(r1) +/* 8002D1BC 0002A11C FF C0 F8 90 */ fmr f30, f31 +/* 8002D1C0 0002A120 C0 65 00 04 */ lfs f3, 4(r5) +/* 8002D1C4 0002A124 FF A0 F8 90 */ fmr f29, f31 +/* 8002D1C8 0002A128 C0 85 00 08 */ lfs f4, 8(r5) +/* 8002D1CC 0002A12C 7C DC 33 78 */ mr r28, r6 +/* 8002D1D0 0002A130 C0 A5 00 0C */ lfs f5, 0xc(r5) +/* 8002D1D4 0002A134 D3 E1 00 64 */ stfs f31, 0x64(r1) +/* 8002D1D8 0002A138 7C FB 3B 78 */ mr r27, r7 +/* 8002D1DC 0002A13C 7F 43 D3 78 */ mr r3, r26 +/* 8002D1E0 0002A140 D3 E1 00 68 */ stfs f31, 0x68(r1) +/* 8002D1E4 0002A144 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8002D1E8 0002A148 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 8002D1EC 0002A14C D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8002D1F0 0002A150 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 8002D1F4 0002A154 C0 04 02 00 */ lfs f0, 0x200(r4) +/* 8002D1F8 0002A158 EF 41 00 32 */ fmuls f26, f1, f0 +/* 8002D1FC 0002A15C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8002D200 0002A160 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 8002D204 0002A164 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 8002D208 0002A168 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 8002D20C 0002A16C 48 00 16 15 */ bl ResetPOILists__9CAnimDataFv +/* 8002D210 0002A170 80 1A 04 34 */ lwz r0, 0x434(r26) +/* 8002D214 0002A174 2C 00 00 00 */ cmpwi r0, 0 +/* 8002D218 0002A178 40 81 00 84 */ ble lbl_8002D29C +/* 8002D21C 0002A17C FC 20 D0 90 */ fmr f1, f26 +/* 8002D220 0002A180 7F 44 D3 78 */ mr r4, r26 +/* 8002D224 0002A184 38 61 00 6C */ addi r3, r1, 0x6c +/* 8002D228 0002A188 4B FF C8 E1 */ bl UpdateAdditiveAnims__9CAnimDataFf +/* 8002D22C 0002A18C C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 8002D230 0002A190 38 60 00 00 */ li r3, 0 +/* 8002D234 0002A194 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8002D238 0002A198 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8002D23C 0002A19C C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8002D240 0002A1A0 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 8002D244 0002A1A4 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8002D248 0002A1A8 80 A1 00 98 */ lwz r5, 0x98(r1) +/* 8002D24C 0002A1AC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8002D250 0002A1B0 80 81 00 9C */ lwz r4, 0x9c(r1) +/* 8002D254 0002A1B4 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 8002D258 0002A1B8 C3 E1 00 6C */ lfs f31, 0x6c(r1) +/* 8002D25C 0002A1BC C3 C1 00 70 */ lfs f30, 0x70(r1) +/* 8002D260 0002A1C0 C3 A1 00 74 */ lfs f29, 0x74(r1) +/* 8002D264 0002A1C4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8002D268 0002A1C8 90 A1 00 44 */ stw r5, 0x44(r1) +/* 8002D26C 0002A1CC 90 81 00 48 */ stw r4, 0x48(r1) +/* 8002D270 0002A1D0 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8002D274 0002A1D4 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002D278 0002A1D8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8002D27C 0002A1DC D3 E1 00 88 */ stfs f31, 0x88(r1) +/* 8002D280 0002A1E0 98 1A 02 20 */ stb r0, 0x220(r26) +/* 8002D284 0002A1E4 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002D288 0002A1E8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8002D28C 0002A1EC D3 C1 00 8C */ stfs f30, 0x8c(r1) +/* 8002D290 0002A1F0 D3 A1 00 90 */ stfs f29, 0x90(r1) +/* 8002D294 0002A1F4 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8002D298 0002A1F8 98 1A 02 20 */ stb r0, 0x220(r26) +lbl_8002D29C: +/* 8002D29C 0002A1FC 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002D2A0 0002A200 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 8002D2A4 0002A204 28 00 00 01 */ cmplwi r0, 1 +/* 8002D2A8 0002A208 41 82 00 48 */ beq lbl_8002D2F0 +/* 8002D2AC 0002A20C 38 00 00 01 */ li r0, 1 +/* 8002D2B0 0002A210 98 1D 00 00 */ stb r0, 0(r29) +/* 8002D2B4 0002A214 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8002D2B8 0002A218 D0 19 00 00 */ stfs f0, 0(r25) +/* 8002D2BC 0002A21C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8002D2C0 0002A220 D0 19 00 04 */ stfs f0, 4(r25) +/* 8002D2C4 0002A224 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8002D2C8 0002A228 D0 19 00 08 */ stfs f0, 8(r25) +/* 8002D2CC 0002A22C C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8002D2D0 0002A230 D0 19 00 0C */ stfs f0, 0xc(r25) +/* 8002D2D4 0002A234 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8002D2D8 0002A238 D0 19 00 10 */ stfs f0, 0x10(r25) +/* 8002D2DC 0002A23C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8002D2E0 0002A240 D0 19 00 14 */ stfs f0, 0x14(r25) +/* 8002D2E4 0002A244 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8002D2E8 0002A248 D0 19 00 18 */ stfs f0, 0x18(r25) +/* 8002D2EC 0002A24C 48 00 03 FC */ b lbl_8002D6E8 +lbl_8002D2F0: +/* 8002D2F0 0002A250 88 7A 02 20 */ lbz r3, 0x220(r26) +/* 8002D2F4 0002A254 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8002D2F8 0002A258 41 82 00 18 */ beq lbl_8002D310 +/* 8002D2FC 0002A25C 38 00 00 00 */ li r0, 0 +/* 8002D300 0002A260 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d +/* 8002D304 0002A264 98 7A 02 20 */ stb r3, 0x220(r26) +/* 8002D308 0002A268 38 00 00 01 */ li r0, 1 +/* 8002D30C 0002A26C 98 1D 00 00 */ stb r0, 0(r29) +lbl_8002D310: +/* 8002D310 0002A270 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8002D314 0002A274 41 82 03 80 */ beq lbl_8002D694 +/* 8002D318 0002A278 7F 43 D3 78 */ mr r3, r26 +/* 8002D31C 0002A27C 7F 84 E3 78 */ mr r4, r28 +/* 8002D320 0002A280 4B FF E1 51 */ bl SetRandomPlaybackRate__9CAnimDataFR9CRandom16 +/* 8002D324 0002A284 FC 20 D0 90 */ fmr f1, f26 +/* 8002D328 0002A288 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002D32C 0002A28C 48 31 BA C1 */ bl __ct__13CCharAnimTimeFf +/* 8002D330 0002A290 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002D334 0002A294 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8002D338 0002A298 41 82 01 2C */ beq lbl_8002D464 +/* 8002D33C 0002A29C 3C C0 80 57 */ lis r6, lbl_8056BDF4@ha +/* 8002D340 0002A2A0 3C A0 80 57 */ lis r5, lbl_8056A600@ha +/* 8002D344 0002A2A4 3C 80 80 57 */ lis r4, lbl_8056C2B8@ha +/* 8002D348 0002A2A8 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha +/* 8002D34C 0002A2AC 38 C6 BD F4 */ addi r6, r6, lbl_8056BDF4@l +/* 8002D350 0002A2B0 38 A5 A6 00 */ addi r5, r5, lbl_8056A600@l +/* 8002D354 0002A2B4 38 84 C2 B8 */ addi r4, r4, lbl_8056C2B8@l +/* 8002D358 0002A2B8 38 63 C9 EC */ addi r3, r3, lbl_8056C9EC@l +/* 8002D35C 0002A2BC C3 82 83 D0 */ lfs f28, lbl_805AA0F0@sda21(r2) +/* 8002D360 0002A2C0 3B E6 00 04 */ addi r31, r6, 4 +/* 8002D364 0002A2C4 C3 62 83 D4 */ lfs f27, lbl_805AA0F4@sda21(r2) +/* 8002D368 0002A2C8 3B C5 00 04 */ addi r30, r5, 4 +/* 8002D36C 0002A2CC 3B A4 00 04 */ addi r29, r4, 4 +/* 8002D370 0002A2D0 3B 83 00 04 */ addi r28, r3, 4 +/* 8002D374 0002A2D4 48 00 00 C8 */ b lbl_8002D43C +lbl_8002D378: +/* 8002D378 0002A2D8 80 7A 01 F8 */ lwz r3, 0x1f8(r26) +/* 8002D37C 0002A2DC 7F E5 FB 78 */ mr r5, r31 +/* 8002D380 0002A2E0 80 FA 02 10 */ lwz r7, 0x210(r26) +/* 8002D384 0002A2E4 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D388 0002A2E8 80 63 00 00 */ lwz r3, 0(r3) +/* 8002D38C 0002A2EC 38 C0 00 10 */ li r6, 0x10 +/* 8002D390 0002A2F0 39 00 00 00 */ li r8, 0 +/* 8002D394 0002A2F4 48 2D 09 E9 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 8002D398 0002A2F8 80 1A 02 10 */ lwz r0, 0x210(r26) +/* 8002D39C 0002A2FC 7F C5 F3 78 */ mr r5, r30 +/* 8002D3A0 0002A300 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D3A4 0002A304 38 C0 00 08 */ li r6, 8 +/* 8002D3A8 0002A308 7C 00 1A 14 */ add r0, r0, r3 +/* 8002D3AC 0002A30C 39 00 00 00 */ li r8, 0 +/* 8002D3B0 0002A310 90 1A 02 10 */ stw r0, 0x210(r26) +/* 8002D3B4 0002A314 80 7A 01 F8 */ lwz r3, 0x1f8(r26) +/* 8002D3B8 0002A318 80 FA 02 0C */ lwz r7, 0x20c(r26) +/* 8002D3BC 0002A31C 80 63 00 00 */ lwz r3, 0(r3) +/* 8002D3C0 0002A320 48 2D 0A 39 */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 8002D3C4 0002A324 80 1A 02 0C */ lwz r0, 0x20c(r26) +/* 8002D3C8 0002A328 7F A5 EB 78 */ mr r5, r29 +/* 8002D3CC 0002A32C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D3D0 0002A330 38 C0 00 14 */ li r6, 0x14 +/* 8002D3D4 0002A334 7C 00 1A 14 */ add r0, r0, r3 +/* 8002D3D8 0002A338 39 00 00 00 */ li r8, 0 +/* 8002D3DC 0002A33C 90 1A 02 0C */ stw r0, 0x20c(r26) +/* 8002D3E0 0002A340 80 7A 01 F8 */ lwz r3, 0x1f8(r26) +/* 8002D3E4 0002A344 80 FA 02 14 */ lwz r7, 0x214(r26) +/* 8002D3E8 0002A348 80 63 00 00 */ lwz r3, 0(r3) +/* 8002D3EC 0002A34C 48 2D 09 15 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 8002D3F0 0002A350 80 1A 02 14 */ lwz r0, 0x214(r26) +/* 8002D3F4 0002A354 7F 85 E3 78 */ mr r5, r28 +/* 8002D3F8 0002A358 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D3FC 0002A35C 38 C0 00 14 */ li r6, 0x14 +/* 8002D400 0002A360 7C 00 1A 14 */ add r0, r0, r3 +/* 8002D404 0002A364 39 00 00 00 */ li r8, 0 +/* 8002D408 0002A368 90 1A 02 14 */ stw r0, 0x214(r26) +/* 8002D40C 0002A36C 80 7A 01 F8 */ lwz r3, 0x1f8(r26) +/* 8002D410 0002A370 80 FA 02 18 */ lwz r7, 0x218(r26) +/* 8002D414 0002A374 80 63 00 00 */ lwz r3, 0(r3) +/* 8002D418 0002A378 48 2D 08 6D */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 8002D41C 0002A37C 80 1A 02 18 */ lwz r0, 0x218(r26) +/* 8002D420 0002A380 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D424 0002A384 38 A1 00 60 */ addi r5, r1, 0x60 +/* 8002D428 0002A388 38 C1 00 50 */ addi r6, r1, 0x50 +/* 8002D42C 0002A38C 7C 00 1A 14 */ add r0, r0, r3 +/* 8002D430 0002A390 7F 43 D3 78 */ mr r3, r26 +/* 8002D434 0002A394 90 1A 02 18 */ stw r0, 0x218(r26) +/* 8002D438 0002A398 48 00 04 B5 */ bl AdvanceAnim__9CAnimDataFR13CCharAnimTimeR9CVector3fR11CQuaternion +lbl_8002D43C: +/* 8002D43C 0002A39C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002D440 0002A3A0 48 31 AF AD */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 8002D444 0002A3A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002D448 0002A3A8 41 82 02 30 */ beq lbl_8002D678 +/* 8002D44C 0002A3AC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8002D450 0002A3B0 EC 00 E0 28 */ fsubs f0, f0, f28 +/* 8002D454 0002A3B4 FC 00 02 10 */ fabs f0, f0 +/* 8002D458 0002A3B8 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 8002D45C 0002A3BC 40 80 FF 1C */ bge lbl_8002D378 +/* 8002D460 0002A3C0 48 00 02 18 */ b lbl_8002D678 +lbl_8002D464: +/* 8002D464 0002A3C4 80 9A 01 F8 */ lwz r4, 0x1f8(r26) +/* 8002D468 0002A3C8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002D46C 0002A3CC 80 84 00 00 */ lwz r4, 0(r4) +/* 8002D470 0002A3D0 81 84 00 00 */ lwz r12, 0(r4) +/* 8002D474 0002A3D4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8002D478 0002A3D8 7D 89 03 A6 */ mtctr r12 +/* 8002D47C 0002A3DC 4E 80 04 21 */ bctrl +/* 8002D480 0002A3E0 3C C0 80 57 */ lis r6, lbl_8056BDF4@ha +/* 8002D484 0002A3E4 3C A0 80 57 */ lis r5, lbl_8056A600@ha +/* 8002D488 0002A3E8 3C 80 80 57 */ lis r4, lbl_8056C2B8@ha +/* 8002D48C 0002A3EC 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha +/* 8002D490 0002A3F0 38 E6 BD F4 */ addi r7, r6, lbl_8056BDF4@l +/* 8002D494 0002A3F4 38 C5 A6 00 */ addi r6, r5, lbl_8056A600@l +/* 8002D498 0002A3F8 38 A4 C2 B8 */ addi r5, r4, lbl_8056C2B8@l +/* 8002D49C 0002A3FC 38 83 C9 EC */ addi r4, r3, lbl_8056C9EC@l +/* 8002D4A0 0002A400 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8002D4A4 0002A404 C3 41 00 20 */ lfs f26, 0x20(r1) +/* 8002D4A8 0002A408 C3 62 83 D0 */ lfs f27, lbl_805AA0F0@sda21(r2) +/* 8002D4AC 0002A40C 3B 87 00 04 */ addi r28, r7, 4 +/* 8002D4B0 0002A410 C3 82 83 D4 */ lfs f28, lbl_805AA0F4@sda21(r2) +/* 8002D4B4 0002A414 3B A6 00 04 */ addi r29, r6, 4 +/* 8002D4B8 0002A418 3B C5 00 04 */ addi r30, r5, 4 +/* 8002D4BC 0002A41C 3B 64 00 04 */ addi r27, r4, 4 +/* 8002D4C0 0002A420 3B E3 66 A0 */ addi r31, r3, skZero3f@l +/* 8002D4C4 0002A424 48 00 01 90 */ b lbl_8002D654 +lbl_8002D4C8: +/* 8002D4C8 0002A428 80 7A 01 F8 */ lwz r3, 0x1f8(r26) +/* 8002D4CC 0002A42C 7F 85 E3 78 */ mr r5, r28 +/* 8002D4D0 0002A430 80 FA 02 10 */ lwz r7, 0x210(r26) +/* 8002D4D4 0002A434 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D4D8 0002A438 80 63 00 00 */ lwz r3, 0(r3) +/* 8002D4DC 0002A43C 38 C0 00 10 */ li r6, 0x10 +/* 8002D4E0 0002A440 39 00 00 00 */ li r8, 0 +/* 8002D4E4 0002A444 48 2D 08 99 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 8002D4E8 0002A448 80 1A 02 10 */ lwz r0, 0x210(r26) +/* 8002D4EC 0002A44C 7F A5 EB 78 */ mr r5, r29 +/* 8002D4F0 0002A450 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D4F4 0002A454 38 C0 00 08 */ li r6, 8 +/* 8002D4F8 0002A458 7C 00 1A 14 */ add r0, r0, r3 +/* 8002D4FC 0002A45C 39 00 00 00 */ li r8, 0 +/* 8002D500 0002A460 90 1A 02 10 */ stw r0, 0x210(r26) +/* 8002D504 0002A464 80 7A 01 F8 */ lwz r3, 0x1f8(r26) +/* 8002D508 0002A468 80 FA 02 0C */ lwz r7, 0x20c(r26) +/* 8002D50C 0002A46C 80 63 00 00 */ lwz r3, 0(r3) +/* 8002D510 0002A470 48 2D 08 E9 */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 8002D514 0002A474 80 1A 02 0C */ lwz r0, 0x20c(r26) +/* 8002D518 0002A478 7F C5 F3 78 */ mr r5, r30 +/* 8002D51C 0002A47C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D520 0002A480 38 C0 00 14 */ li r6, 0x14 +/* 8002D524 0002A484 7C 00 1A 14 */ add r0, r0, r3 +/* 8002D528 0002A488 39 00 00 00 */ li r8, 0 +/* 8002D52C 0002A48C 90 1A 02 0C */ stw r0, 0x20c(r26) +/* 8002D530 0002A490 80 7A 01 F8 */ lwz r3, 0x1f8(r26) +/* 8002D534 0002A494 80 FA 02 14 */ lwz r7, 0x214(r26) +/* 8002D538 0002A498 80 63 00 00 */ lwz r3, 0(r3) +/* 8002D53C 0002A49C 48 2D 07 C5 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 8002D540 0002A4A0 80 1A 02 14 */ lwz r0, 0x214(r26) +/* 8002D544 0002A4A4 7F 65 DB 78 */ mr r5, r27 +/* 8002D548 0002A4A8 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D54C 0002A4AC 38 C0 00 14 */ li r6, 0x14 +/* 8002D550 0002A4B0 7C 00 1A 14 */ add r0, r0, r3 +/* 8002D554 0002A4B4 39 00 00 00 */ li r8, 0 +/* 8002D558 0002A4B8 90 1A 02 14 */ stw r0, 0x214(r26) +/* 8002D55C 0002A4BC 80 7A 01 F8 */ lwz r3, 0x1f8(r26) +/* 8002D560 0002A4C0 80 FA 02 18 */ lwz r7, 0x218(r26) +/* 8002D564 0002A4C4 80 63 00 00 */ lwz r3, 0(r3) +/* 8002D568 0002A4C8 48 2D 07 1D */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 8002D56C 0002A4CC 80 1A 02 18 */ lwz r0, 0x218(r26) +/* 8002D570 0002A4D0 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002D574 0002A4D4 38 A1 00 60 */ addi r5, r1, 0x60 +/* 8002D578 0002A4D8 38 C1 00 50 */ addi r6, r1, 0x50 +/* 8002D57C 0002A4DC 7C 00 1A 14 */ add r0, r0, r3 +/* 8002D580 0002A4E0 7F 43 D3 78 */ mr r3, r26 +/* 8002D584 0002A4E4 90 1A 02 18 */ stw r0, 0x218(r26) +/* 8002D588 0002A4E8 48 00 03 65 */ bl AdvanceAnim__9CAnimDataFR13CCharAnimTimeR9CVector3fR11CQuaternion +/* 8002D58C 0002A4EC 80 9A 01 F8 */ lwz r4, 0x1f8(r26) +/* 8002D590 0002A4F0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002D594 0002A4F4 80 84 00 00 */ lwz r4, 0(r4) +/* 8002D598 0002A4F8 81 84 00 00 */ lwz r12, 0(r4) +/* 8002D59C 0002A4FC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8002D5A0 0002A500 7D 89 03 A6 */ mtctr r12 +/* 8002D5A4 0002A504 4E 80 04 21 */ bctrl +/* 8002D5A8 0002A508 C3 41 00 18 */ lfs f26, 0x18(r1) +/* 8002D5AC 0002A50C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8002D5B0 0002A510 D3 41 00 08 */ stfs f26, 8(r1) +/* 8002D5B4 0002A514 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 8002D5B8 0002A518 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8002D5BC 0002A51C 40 80 00 0C */ bge lbl_8002D5C8 +/* 8002D5C0 0002A520 38 61 00 08 */ addi r3, r1, 8 +/* 8002D5C4 0002A524 48 00 00 08 */ b lbl_8002D5CC +lbl_8002D5C8: +/* 8002D5C8 0002A528 38 61 00 0C */ addi r3, r1, 0xc +lbl_8002D5CC: +/* 8002D5CC 0002A52C C0 2D 81 F0 */ lfs f1, lbl_805A6DB0@sda21(r13) +/* 8002D5D0 0002A530 C0 03 00 00 */ lfs f0, 0(r3) +/* 8002D5D4 0002A534 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8002D5D8 0002A538 40 80 00 08 */ bge lbl_8002D5E0 +/* 8002D5DC 0002A53C 48 00 00 08 */ b lbl_8002D5E4 +lbl_8002D5E0: +/* 8002D5E0 0002A540 38 6D 81 F0 */ addi r3, r13, lbl_805A6DB0@sda21 +lbl_8002D5E4: +/* 8002D5E4 0002A544 C0 23 00 00 */ lfs f1, 0(r3) +/* 8002D5E8 0002A548 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002D5EC 0002A54C 48 31 B8 01 */ bl __ct__13CCharAnimTimeFf +/* 8002D5F0 0002A550 EC 1A D8 28 */ fsubs f0, f26, f27 +/* 8002D5F4 0002A554 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8002D5F8 0002A558 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002D5FC 0002A55C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8002D600 0002A560 FC 00 02 10 */ fabs f0, f0 +/* 8002D604 0002A564 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8002D608 0002A568 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 8002D60C 0002A56C 40 80 00 48 */ bge lbl_8002D654 +/* 8002D610 0002A570 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002D614 0002A574 38 80 00 00 */ li r4, 0 +/* 8002D618 0002A578 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8002D61C 0002A57C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8002D620 0002A580 98 1A 02 20 */ stb r0, 0x220(r26) +/* 8002D624 0002A584 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) +/* 8002D628 0002A588 D0 1A 01 DC */ stfs f0, 0x1dc(r26) +/* 8002D62C 0002A58C C0 1F 00 04 */ lfs f0, 4(r31) +/* 8002D630 0002A590 D0 1A 01 E0 */ stfs f0, 0x1e0(r26) +/* 8002D634 0002A594 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8002D638 0002A598 D0 1A 01 E4 */ stfs f0, 0x1e4(r26) +/* 8002D63C 0002A59C 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002D640 0002A5A0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8002D644 0002A5A4 98 1A 02 20 */ stb r0, 0x220(r26) +/* 8002D648 0002A5A8 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002D64C 0002A5AC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8002D650 0002A5B0 98 1A 02 20 */ stb r0, 0x220(r26) +lbl_8002D654: +/* 8002D654 0002A5B4 EC 1A D8 28 */ fsubs f0, f26, f27 +/* 8002D658 0002A5B8 FC 00 02 10 */ fabs f0, f0 +/* 8002D65C 0002A5BC FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 8002D660 0002A5C0 41 80 00 18 */ blt lbl_8002D678 +/* 8002D664 0002A5C4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8002D668 0002A5C8 EC 00 D8 28 */ fsubs f0, f0, f27 +/* 8002D66C 0002A5CC FC 00 02 10 */ fabs f0, f0 +/* 8002D670 0002A5D0 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 8002D674 0002A5D4 40 80 FE 54 */ bge lbl_8002D4C8 +lbl_8002D678: +/* 8002D678 0002A5D8 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002D67C 0002A5DC 38 60 00 00 */ li r3, 0 +/* 8002D680 0002A5E0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8002D684 0002A5E4 98 1A 02 20 */ stb r0, 0x220(r26) +/* 8002D688 0002A5E8 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002D68C 0002A5EC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8002D690 0002A5F0 98 1A 02 20 */ stb r0, 0x220(r26) +lbl_8002D694: +/* 8002D694 0002A5F4 38 61 00 30 */ addi r3, r1, 0x30 +/* 8002D698 0002A5F8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8002D69C 0002A5FC 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8002D6A0 0002A600 48 2E 3B 01 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8002D6A4 0002A604 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8002D6A8 0002A608 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8002D6AC 0002A60C EC 00 F8 2A */ fadds f0, f0, f31 +/* 8002D6B0 0002A610 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 8002D6B4 0002A614 EC 42 F0 2A */ fadds f2, f2, f30 +/* 8002D6B8 0002A618 EC 21 E8 2A */ fadds f1, f1, f29 +/* 8002D6BC 0002A61C D0 19 00 00 */ stfs f0, 0(r25) +/* 8002D6C0 0002A620 D0 59 00 04 */ stfs f2, 4(r25) +/* 8002D6C4 0002A624 D0 39 00 08 */ stfs f1, 8(r25) +/* 8002D6C8 0002A628 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8002D6CC 0002A62C D0 19 00 0C */ stfs f0, 0xc(r25) +/* 8002D6D0 0002A630 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8002D6D4 0002A634 D0 19 00 10 */ stfs f0, 0x10(r25) +/* 8002D6D8 0002A638 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8002D6DC 0002A63C D0 19 00 14 */ stfs f0, 0x14(r25) +/* 8002D6E0 0002A640 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8002D6E4 0002A644 D0 19 00 18 */ stfs f0, 0x18(r25) +lbl_8002D6E8: +/* 8002D6E8 0002A648 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 8002D6EC 0002A64C CB E1 01 20 */ lfd f31, 0x120(r1) +/* 8002D6F0 0002A650 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 8002D6F4 0002A654 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 8002D6F8 0002A658 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 8002D6FC 0002A65C CB A1 01 00 */ lfd f29, 0x100(r1) +/* 8002D700 0002A660 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 8002D704 0002A664 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 8002D708 0002A668 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 8002D70C 0002A66C CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 8002D710 0002A670 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 +/* 8002D714 0002A674 CB 41 00 D0 */ lfd f26, 0xd0(r1) +/* 8002D718 0002A678 BB 21 00 B4 */ lmw r25, 0xb4(r1) +/* 8002D71C 0002A67C 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8002D720 0002A680 7C 08 03 A6 */ mtlr r0 +/* 8002D724 0002A684 38 21 01 30 */ addi r1, r1, 0x130 +/* 8002D728 0002A688 4E 80 00 20 */ blr + +.global Advance__9CAnimDataFfRC9CVector3fR13CStateManagerb +Advance__9CAnimDataFfRC9CVector3fR13CStateManagerb: +/* 8002D72C 0002A68C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8002D730 0002A690 7C 08 02 A6 */ mflr r0 +/* 8002D734 0002A694 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8002D738 0002A698 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8002D73C 0002A69C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8002D740 0002A6A0 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 8002D744 0002A6A4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8002D748 0002A6A8 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 8002D74C 0002A6AC F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 8002D750 0002A6B0 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 8002D754 0002A6B4 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 8002D758 0002A6B8 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 8002D75C 0002A6BC F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 8002D760 0002A6C0 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 8002D764 0002A6C4 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 8002D768 0002A6C8 DB 21 00 60 */ stfd f25, 0x60(r1) +/* 8002D76C 0002A6CC F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 +/* 8002D770 0002A6D0 BF 01 00 40 */ stmw r24, 0x40(r1) +/* 8002D774 0002A6D4 7C DB 33 78 */ mr r27, r6 +/* 8002D778 0002A6D8 7C 78 1B 78 */ mr r24, r3 +/* 8002D77C 0002A6DC 80 C6 09 00 */ lwz r6, 0x900(r6) +/* 8002D780 0002A6E0 7C BA 2B 78 */ mr r26, r5 +/* 8002D784 0002A6E4 7C FC 3B 78 */ mr r28, r7 +/* 8002D788 0002A6E8 7C 99 23 78 */ mr r25, r4 +/* 8002D78C 0002A6EC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002D790 0002A6F0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8002D794 0002A6F4 55 07 06 3E */ clrlwi r7, r8, 0x18 +/* 8002D798 0002A6F8 4B FF F9 C1 */ bl DoAdvance__9CAnimDataFfRbR9CRandom16b +/* 8002D79C 0002A6FC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8002D7A0 0002A700 C3 E1 00 18 */ lfs f31, 0x18(r1) +/* 8002D7A4 0002A704 28 00 00 00 */ cmplwi r0, 0 +/* 8002D7A8 0002A708 C3 C1 00 1C */ lfs f30, 0x1c(r1) +/* 8002D7AC 0002A70C C3 A1 00 20 */ lfs f29, 0x20(r1) +/* 8002D7B0 0002A710 C3 81 00 24 */ lfs f28, 0x24(r1) +/* 8002D7B4 0002A714 C3 61 00 28 */ lfs f27, 0x28(r1) +/* 8002D7B8 0002A718 C3 41 00 2C */ lfs f26, 0x2c(r1) +/* 8002D7BC 0002A71C C3 21 00 30 */ lfs f25, 0x30(r1) +/* 8002D7C0 0002A720 41 82 00 10 */ beq lbl_8002D7D0 +/* 8002D7C4 0002A724 7F 64 DB 78 */ mr r4, r27 +/* 8002D7C8 0002A728 38 79 01 20 */ addi r3, r25, 0x120 +/* 8002D7CC 0002A72C 48 08 A4 6D */ bl SuspendAllActiveEffects__17CParticleDatabaseFR13CStateManager +lbl_8002D7D0: +/* 8002D7D0 0002A730 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha +/* 8002D7D4 0002A734 83 D9 02 14 */ lwz r30, 0x214(r25) +/* 8002D7D8 0002A738 38 63 C2 B8 */ addi r3, r3, lbl_8056C2B8@l +/* 8002D7DC 0002A73C 3B A0 00 00 */ li r29, 0 +/* 8002D7E0 0002A740 3B E3 00 04 */ addi r31, r3, 4 +/* 8002D7E4 0002A744 48 00 00 58 */ b lbl_8002D83C +lbl_8002D7E8: +/* 8002D7E8 0002A748 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8002D7EC 0002A74C 2C 03 FF FF */ cmpwi r3, -1 +/* 8002D7F0 0002A750 41 82 00 10 */ beq lbl_8002D800 +/* 8002D7F4 0002A754 80 19 02 04 */ lwz r0, 0x204(r25) +/* 8002D7F8 0002A758 7C 03 00 00 */ cmpw r3, r0 +/* 8002D7FC 0002A75C 40 82 00 38 */ bne lbl_8002D834 +lbl_8002D800: +/* 8002D800 0002A760 80 1C 00 00 */ lwz r0, 0(r28) +/* 8002D804 0002A764 7F 47 D3 78 */ mr r7, r26 +/* 8002D808 0002A768 7F 68 DB 78 */ mr r8, r27 +/* 8002D80C 0002A76C 38 79 01 20 */ addi r3, r25, 0x120 +/* 8002D810 0002A770 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002D814 0002A774 38 9F 00 08 */ addi r4, r31, 8 +/* 8002D818 0002A778 38 DF 00 38 */ addi r6, r31, 0x38 +/* 8002D81C 0002A77C 39 21 00 14 */ addi r9, r1, 0x14 +/* 8002D820 0002A780 80 19 02 1C */ lwz r0, 0x21c(r25) +/* 8002D824 0002A784 39 40 00 00 */ li r10, 0 +/* 8002D828 0002A788 90 01 00 08 */ stw r0, 8(r1) +/* 8002D82C 0002A78C 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 8002D830 0002A790 48 08 BB 65 */ bl "AddParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC13CParticleDataRC9CVector3fR13CStateManager7TAreaIdb" +lbl_8002D834: +/* 8002D834 0002A794 3B FF 00 5C */ addi r31, r31, 0x5c +/* 8002D838 0002A798 3B BD 00 01 */ addi r29, r29, 1 +lbl_8002D83C: +/* 8002D83C 0002A79C 7C 1D F0 00 */ cmpw r29, r30 +/* 8002D840 0002A7A0 41 80 FF A8 */ blt lbl_8002D7E8 +/* 8002D844 0002A7A4 D3 F8 00 00 */ stfs f31, 0(r24) +/* 8002D848 0002A7A8 D3 D8 00 04 */ stfs f30, 4(r24) +/* 8002D84C 0002A7AC D3 B8 00 08 */ stfs f29, 8(r24) +/* 8002D850 0002A7B0 D3 98 00 0C */ stfs f28, 0xc(r24) +/* 8002D854 0002A7B4 D3 78 00 10 */ stfs f27, 0x10(r24) +/* 8002D858 0002A7B8 D3 58 00 14 */ stfs f26, 0x14(r24) +/* 8002D85C 0002A7BC D3 38 00 18 */ stfs f25, 0x18(r24) +/* 8002D860 0002A7C0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8002D864 0002A7C4 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8002D868 0002A7C8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8002D86C 0002A7CC CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 8002D870 0002A7D0 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 8002D874 0002A7D4 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 8002D878 0002A7D8 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 8002D87C 0002A7DC CB 81 00 90 */ lfd f28, 0x90(r1) +/* 8002D880 0002A7E0 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 8002D884 0002A7E4 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 8002D888 0002A7E8 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 8002D88C 0002A7EC CB 41 00 70 */ lfd f26, 0x70(r1) +/* 8002D890 0002A7F0 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 +/* 8002D894 0002A7F4 CB 21 00 60 */ lfd f25, 0x60(r1) +/* 8002D898 0002A7F8 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 8002D89C 0002A7FC 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8002D8A0 0002A800 7C 08 03 A6 */ mtlr r0 +/* 8002D8A4 0002A804 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8002D8A8 0002A808 4E 80 00 20 */ blr + +.global AdvanceIgnoreParticles__9CAnimDataFfR9CRandom16b +AdvanceIgnoreParticles__9CAnimDataFfR9CRandom16b: +/* 8002D8AC 0002A80C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002D8B0 0002A810 7C 08 02 A6 */ mflr r0 +/* 8002D8B4 0002A814 7C A7 2B 78 */ mr r7, r5 +/* 8002D8B8 0002A818 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002D8BC 0002A81C 7C C0 33 78 */ mr r0, r6 +/* 8002D8C0 0002A820 7C E6 3B 78 */ mr r6, r7 +/* 8002D8C4 0002A824 38 A1 00 08 */ addi r5, r1, 8 +/* 8002D8C8 0002A828 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002D8CC 0002A82C 7C 7F 1B 78 */ mr r31, r3 +/* 8002D8D0 0002A830 54 07 06 3E */ clrlwi r7, r0, 0x18 +/* 8002D8D4 0002A834 4B FF F8 85 */ bl DoAdvance__9CAnimDataFfRbR9CRandom16b +/* 8002D8D8 0002A838 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002D8DC 0002A83C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002D8E0 0002A840 7C 08 03 A6 */ mtlr r0 +/* 8002D8E4 0002A844 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002D8E8 0002A848 4E 80 00 20 */ blr + +.global AdvanceAnim__9CAnimDataFR13CCharAnimTimeR9CVector3fR11CQuaternion +AdvanceAnim__9CAnimDataFR13CCharAnimTimeR9CVector3fR11CQuaternion: +/* 8002D8EC 0002A84C 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 8002D8F0 0002A850 7C 08 02 A6 */ mflr r0 +/* 8002D8F4 0002A854 90 01 01 84 */ stw r0, 0x184(r1) +/* 8002D8F8 0002A858 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 8002D8FC 0002A85C F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 8002D900 0002A860 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 8002D904 0002A864 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 8002D908 0002A868 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 8002D90C 0002A86C F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 8002D910 0002A870 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 8002D914 0002A874 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 8002D918 0002A878 DB 61 01 30 */ stfd f27, 0x130(r1) +/* 8002D91C 0002A87C F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 +/* 8002D920 0002A880 DB 41 01 20 */ stfd f26, 0x120(r1) +/* 8002D924 0002A884 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 +/* 8002D928 0002A888 DB 21 01 10 */ stfd f25, 0x110(r1) +/* 8002D92C 0002A88C F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 +/* 8002D930 0002A890 DB 01 01 00 */ stfd f24, 0x100(r1) +/* 8002D934 0002A894 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0 +/* 8002D938 0002A898 BF 41 00 E8 */ stmw r26, 0xe8(r1) +/* 8002D93C 0002A89C 3D 00 80 5A */ lis r8, skZero3f@ha +/* 8002D940 0002A8A0 3C E0 80 5A */ lis r7, lbl_805A6660@ha +/* 8002D944 0002A8A4 3B E7 66 60 */ addi r31, r7, lbl_805A6660@l +/* 8002D948 0002A8A8 7C 9B 23 78 */ mr r27, r4 +/* 8002D94C 0002A8AC 3B C8 66 A0 */ addi r30, r8, skZero3f@l +/* 8002D950 0002A8B0 C3 E4 00 00 */ lfs f31, 0(r4) +/* 8002D954 0002A8B4 7C 7A 1B 78 */ mr r26, r3 +/* 8002D958 0002A8B8 C3 DE 00 00 */ lfs f30, 0(r30) +/* 8002D95C 0002A8BC C3 BE 00 04 */ lfs f29, 4(r30) +/* 8002D960 0002A8C0 7C BC 2B 78 */ mr r28, r5 +/* 8002D964 0002A8C4 C3 9E 00 08 */ lfs f28, 8(r30) +/* 8002D968 0002A8C8 7C DD 33 78 */ mr r29, r6 +/* 8002D96C 0002A8CC C3 7F 00 00 */ lfs f27, 0(r31) +/* 8002D970 0002A8D0 38 61 00 0C */ addi r3, r1, 0xc +/* 8002D974 0002A8D4 C3 5F 00 04 */ lfs f26, 4(r31) +/* 8002D978 0002A8D8 C3 3F 00 08 */ lfs f25, 8(r31) +/* 8002D97C 0002A8DC C3 1F 00 0C */ lfs f24, 0xc(r31) +/* 8002D980 0002A8E0 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) +/* 8002D984 0002A8E4 48 31 B4 69 */ bl __ct__13CCharAnimTimeFf +/* 8002D988 0002A8E8 38 00 00 00 */ li r0, 0 +/* 8002D98C 0002A8EC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8002D990 0002A8F0 98 01 00 74 */ stb r0, 0x74(r1) +/* 8002D994 0002A8F4 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8002D998 0002A8F8 80 1A 01 04 */ lwz r0, 0x104(r26) +/* 8002D99C 0002A8FC D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8002D9A0 0002A900 2C 00 00 00 */ cmpwi r0, 0 +/* 8002D9A4 0002A904 90 61 00 BC */ stw r3, 0xbc(r1) +/* 8002D9A8 0002A908 D3 C1 00 C0 */ stfs f30, 0xc0(r1) +/* 8002D9AC 0002A90C D3 A1 00 C4 */ stfs f29, 0xc4(r1) +/* 8002D9B0 0002A910 D3 81 00 C8 */ stfs f28, 0xc8(r1) +/* 8002D9B4 0002A914 D3 61 00 CC */ stfs f27, 0xcc(r1) +/* 8002D9B8 0002A918 D3 41 00 D0 */ stfs f26, 0xd0(r1) +/* 8002D9BC 0002A91C D3 21 00 D4 */ stfs f25, 0xd4(r1) +/* 8002D9C0 0002A920 D3 01 00 D8 */ stfs f24, 0xd8(r1) +/* 8002D9C4 0002A924 40 82 01 B0 */ bne lbl_8002DB74 +/* 8002D9C8 0002A928 80 9A 01 F8 */ lwz r4, 0x1f8(r26) +/* 8002D9CC 0002A92C 7F 65 DB 78 */ mr r5, r27 +/* 8002D9D0 0002A930 38 61 00 94 */ addi r3, r1, 0x94 +/* 8002D9D4 0002A934 80 84 00 00 */ lwz r4, 0(r4) +/* 8002D9D8 0002A938 81 84 00 00 */ lwz r12, 0(r4) +/* 8002D9DC 0002A93C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8002D9E0 0002A940 7D 89 03 A6 */ mtctr r12 +/* 8002D9E4 0002A944 4E 80 04 21 */ bctrl +/* 8002D9E8 0002A948 81 81 00 94 */ lwz r12, 0x94(r1) +/* 8002D9EC 0002A94C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8002D9F0 0002A950 81 61 00 98 */ lwz r11, 0x98(r1) +/* 8002D9F4 0002A954 81 41 00 9C */ lwz r10, 0x9c(r1) +/* 8002D9F8 0002A958 81 21 00 A0 */ lwz r9, 0xa0(r1) +/* 8002D9FC 0002A95C 81 01 00 A4 */ lwz r8, 0xa4(r1) +/* 8002DA00 0002A960 80 E1 00 A8 */ lwz r7, 0xa8(r1) +/* 8002DA04 0002A964 80 C1 00 AC */ lwz r6, 0xac(r1) +/* 8002DA08 0002A968 80 A1 00 B0 */ lwz r5, 0xb0(r1) +/* 8002DA0C 0002A96C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8002DA10 0002A970 80 9A 01 F8 */ lwz r4, 0x1f8(r26) +/* 8002DA14 0002A974 91 81 00 B8 */ stw r12, 0xb8(r1) +/* 8002DA18 0002A978 80 84 00 00 */ lwz r4, 0(r4) +/* 8002DA1C 0002A97C 91 61 00 BC */ stw r11, 0xbc(r1) +/* 8002DA20 0002A980 91 41 00 C0 */ stw r10, 0xc0(r1) +/* 8002DA24 0002A984 91 21 00 C4 */ stw r9, 0xc4(r1) +/* 8002DA28 0002A988 91 01 00 C8 */ stw r8, 0xc8(r1) +/* 8002DA2C 0002A98C 90 E1 00 CC */ stw r7, 0xcc(r1) +/* 8002DA30 0002A990 90 C1 00 D0 */ stw r6, 0xd0(r1) +/* 8002DA34 0002A994 90 A1 00 D4 */ stw r5, 0xd4(r1) +/* 8002DA38 0002A998 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8002DA3C 0002A99C 4B FF C5 29 */ bl Simplified__11IAnimReaderFv +/* 8002DA40 0002A9A0 38 81 00 6C */ addi r4, r1, 0x6c +/* 8002DA44 0002A9A4 38 61 00 50 */ addi r3, r1, 0x50 +/* 8002DA48 0002A9A8 7C 04 18 40 */ cmplw r4, r3 +/* 8002DA4C 0002A9AC 41 82 00 E0 */ beq lbl_8002DB2C +/* 8002DA50 0002A9B0 88 01 00 58 */ lbz r0, 0x58(r1) +/* 8002DA54 0002A9B4 28 00 00 00 */ cmplwi r0, 0 +/* 8002DA58 0002A9B8 41 82 00 8C */ beq lbl_8002DAE4 +/* 8002DA5C 0002A9BC 88 01 00 74 */ lbz r0, 0x74(r1) +/* 8002DA60 0002A9C0 28 00 00 00 */ cmplwi r0, 0 +/* 8002DA64 0002A9C4 40 82 00 30 */ bne lbl_8002DA94 +/* 8002DA68 0002A9C8 34 81 00 6C */ addic. r4, r1, 0x6c +/* 8002DA6C 0002A9CC 41 82 00 1C */ beq lbl_8002DA88 +/* 8002DA70 0002A9D0 88 61 00 50 */ lbz r3, 0x50(r1) +/* 8002DA74 0002A9D4 38 00 00 00 */ li r0, 0 +/* 8002DA78 0002A9D8 98 64 00 00 */ stb r3, 0(r4) +/* 8002DA7C 0002A9DC 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8002DA80 0002A9E0 90 64 00 04 */ stw r3, 4(r4) +/* 8002DA84 0002A9E4 98 01 00 50 */ stb r0, 0x50(r1) +lbl_8002DA88: +/* 8002DA88 0002A9E8 38 00 00 01 */ li r0, 1 +/* 8002DA8C 0002A9EC 98 01 00 74 */ stb r0, 0x74(r1) +/* 8002DA90 0002A9F0 48 00 00 9C */ b lbl_8002DB2C +lbl_8002DA94: +/* 8002DA94 0002A9F4 7C 03 20 40 */ cmplw r3, r4 +/* 8002DA98 0002A9F8 41 82 00 94 */ beq lbl_8002DB2C +/* 8002DA9C 0002A9FC 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8002DAA0 0002AA00 28 00 00 00 */ cmplwi r0, 0 +/* 8002DAA4 0002AA04 41 82 00 24 */ beq lbl_8002DAC8 +/* 8002DAA8 0002AA08 80 61 00 70 */ lwz r3, 0x70(r1) +/* 8002DAAC 0002AA0C 28 03 00 00 */ cmplwi r3, 0 +/* 8002DAB0 0002AA10 41 82 00 18 */ beq lbl_8002DAC8 +/* 8002DAB4 0002AA14 81 83 00 00 */ lwz r12, 0(r3) +/* 8002DAB8 0002AA18 38 80 00 01 */ li r4, 1 +/* 8002DABC 0002AA1C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002DAC0 0002AA20 7D 89 03 A6 */ mtctr r12 +/* 8002DAC4 0002AA24 4E 80 04 21 */ bctrl +lbl_8002DAC8: +/* 8002DAC8 0002AA28 88 81 00 50 */ lbz r4, 0x50(r1) +/* 8002DACC 0002AA2C 38 00 00 00 */ li r0, 0 +/* 8002DAD0 0002AA30 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8002DAD4 0002AA34 98 81 00 6C */ stb r4, 0x6c(r1) +/* 8002DAD8 0002AA38 90 61 00 70 */ stw r3, 0x70(r1) +/* 8002DADC 0002AA3C 98 01 00 50 */ stb r0, 0x50(r1) +/* 8002DAE0 0002AA40 48 00 00 4C */ b lbl_8002DB2C +lbl_8002DAE4: +/* 8002DAE4 0002AA44 88 01 00 74 */ lbz r0, 0x74(r1) +/* 8002DAE8 0002AA48 28 00 00 00 */ cmplwi r0, 0 +/* 8002DAEC 0002AA4C 41 82 00 38 */ beq lbl_8002DB24 +/* 8002DAF0 0002AA50 34 61 00 6C */ addic. r3, r1, 0x6c +/* 8002DAF4 0002AA54 41 82 00 30 */ beq lbl_8002DB24 +/* 8002DAF8 0002AA58 88 03 00 00 */ lbz r0, 0(r3) +/* 8002DAFC 0002AA5C 28 00 00 00 */ cmplwi r0, 0 +/* 8002DB00 0002AA60 41 82 00 24 */ beq lbl_8002DB24 +/* 8002DB04 0002AA64 80 63 00 04 */ lwz r3, 4(r3) +/* 8002DB08 0002AA68 28 03 00 00 */ cmplwi r3, 0 +/* 8002DB0C 0002AA6C 41 82 00 18 */ beq lbl_8002DB24 +/* 8002DB10 0002AA70 81 83 00 00 */ lwz r12, 0(r3) +/* 8002DB14 0002AA74 38 80 00 01 */ li r4, 1 +/* 8002DB18 0002AA78 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002DB1C 0002AA7C 7D 89 03 A6 */ mtctr r12 +/* 8002DB20 0002AA80 4E 80 04 21 */ bctrl +lbl_8002DB24: +/* 8002DB24 0002AA84 38 00 00 00 */ li r0, 0 +/* 8002DB28 0002AA88 98 01 00 74 */ stb r0, 0x74(r1) +lbl_8002DB2C: +/* 8002DB2C 0002AA8C 88 01 00 58 */ lbz r0, 0x58(r1) +/* 8002DB30 0002AA90 28 00 00 00 */ cmplwi r0, 0 +/* 8002DB34 0002AA94 41 82 00 38 */ beq lbl_8002DB6C +/* 8002DB38 0002AA98 34 61 00 50 */ addic. r3, r1, 0x50 +/* 8002DB3C 0002AA9C 41 82 00 30 */ beq lbl_8002DB6C +/* 8002DB40 0002AAA0 88 03 00 00 */ lbz r0, 0(r3) +/* 8002DB44 0002AAA4 28 00 00 00 */ cmplwi r0, 0 +/* 8002DB48 0002AAA8 41 82 00 24 */ beq lbl_8002DB6C +/* 8002DB4C 0002AAAC 80 63 00 04 */ lwz r3, 4(r3) +/* 8002DB50 0002AAB0 28 03 00 00 */ cmplwi r3, 0 +/* 8002DB54 0002AAB4 41 82 00 18 */ beq lbl_8002DB6C +/* 8002DB58 0002AAB8 81 83 00 00 */ lwz r12, 0(r3) +/* 8002DB5C 0002AABC 38 80 00 01 */ li r4, 1 +/* 8002DB60 0002AAC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002DB64 0002AAC4 7D 89 03 A6 */ mtctr r12 +/* 8002DB68 0002AAC8 4E 80 04 21 */ bctrl +lbl_8002DB6C: +/* 8002DB6C 0002AACC 38 00 00 00 */ li r0, 0 +/* 8002DB70 0002AAD0 98 01 00 58 */ stb r0, 0x58(r1) +lbl_8002DB74: +/* 8002DB74 0002AAD4 88 01 00 74 */ lbz r0, 0x74(r1) +/* 8002DB78 0002AAD8 28 00 00 00 */ cmplwi r0, 0 +/* 8002DB7C 0002AADC 41 82 00 48 */ beq lbl_8002DBC4 +/* 8002DB80 0002AAE0 38 61 00 08 */ addi r3, r1, 8 +/* 8002DB84 0002AAE4 38 81 00 6C */ addi r4, r1, 0x6c +/* 8002DB88 0002AAE8 48 2C 60 71 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 8002DB8C 0002AAEC 80 7A 01 F8 */ lwz r3, 0x1f8(r26) +/* 8002DB90 0002AAF0 80 01 00 08 */ lwz r0, 8(r1) +/* 8002DB94 0002AAF4 7C 03 00 40 */ cmplw r3, r0 +/* 8002DB98 0002AAF8 41 82 00 24 */ beq lbl_8002DBBC +/* 8002DB9C 0002AAFC 38 7A 01 F8 */ addi r3, r26, 0x1f8 +/* 8002DBA0 0002AB00 48 00 34 01 */ bl sub_80030fa0 +/* 8002DBA4 0002AB04 80 01 00 08 */ lwz r0, 8(r1) +/* 8002DBA8 0002AB08 90 1A 01 F8 */ stw r0, 0x1f8(r26) +/* 8002DBAC 0002AB0C 80 9A 01 F8 */ lwz r4, 0x1f8(r26) +/* 8002DBB0 0002AB10 80 64 00 04 */ lwz r3, 4(r4) +/* 8002DBB4 0002AB14 38 03 00 01 */ addi r0, r3, 1 +/* 8002DBB8 0002AB18 90 04 00 04 */ stw r0, 4(r4) +lbl_8002DBBC: +/* 8002DBBC 0002AB1C 38 61 00 08 */ addi r3, r1, 8 +/* 8002DBC0 0002AB20 48 00 33 E1 */ bl sub_80030fa0 +lbl_8002DBC4: +/* 8002DBC4 0002AB24 88 7A 02 20 */ lbz r3, 0x220(r26) +/* 8002DBC8 0002AB28 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 8002DBCC 0002AB2C 40 82 00 0C */ bne lbl_8002DBD8 +/* 8002DBD0 0002AB30 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8002DBD4 0002AB34 41 82 00 E4 */ beq lbl_8002DCB8 +lbl_8002DBD8: +/* 8002DBD8 0002AB38 80 1A 02 10 */ lwz r0, 0x210(r26) +/* 8002DBDC 0002AB3C 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8002DBE0 0002AB40 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l +/* 8002DBE4 0002AB44 2C 00 00 00 */ cmpwi r0, 0 +/* 8002DBE8 0002AB48 38 A3 00 04 */ addi r5, r3, 4 +/* 8002DBEC 0002AB4C 40 81 00 CC */ ble lbl_8002DCB8 +/* 8002DBF0 0002AB50 7C 09 03 A6 */ mtctr r0 +/* 8002DBF4 0002AB54 40 81 00 C4 */ ble lbl_8002DCB8 +lbl_8002DBF8: +/* 8002DBF8 0002AB58 A0 05 00 18 */ lhz r0, 0x18(r5) +/* 8002DBFC 0002AB5C 2C 00 00 06 */ cmpwi r0, 6 +/* 8002DC00 0002AB60 40 82 00 B0 */ bne lbl_8002DCB0 +/* 8002DC04 0002AB64 80 05 00 38 */ lwz r0, 0x38(r5) +/* 8002DC08 0002AB68 2C 00 00 04 */ cmpwi r0, 4 +/* 8002DC0C 0002AB6C 41 82 00 70 */ beq lbl_8002DC7C +/* 8002DC10 0002AB70 40 80 00 10 */ bge lbl_8002DC20 +/* 8002DC14 0002AB74 2C 00 00 03 */ cmpwi r0, 3 +/* 8002DC18 0002AB78 40 80 00 28 */ bge lbl_8002DC40 +/* 8002DC1C 0002AB7C 48 00 00 94 */ b lbl_8002DCB0 +lbl_8002DC20: +/* 8002DC20 0002AB80 2C 00 00 0A */ cmpwi r0, 0xa +/* 8002DC24 0002AB84 41 82 00 08 */ beq lbl_8002DC2C +/* 8002DC28 0002AB88 48 00 00 88 */ b lbl_8002DCB0 +lbl_8002DC2C: +/* 8002DC2C 0002AB8C 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002DC30 0002AB90 38 60 00 01 */ li r3, 1 +/* 8002DC34 0002AB94 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8002DC38 0002AB98 98 1A 02 20 */ stb r0, 0x220(r26) +/* 8002DC3C 0002AB9C 48 00 00 74 */ b lbl_8002DCB0 +lbl_8002DC40: +/* 8002DC40 0002ABA0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8002DC44 0002ABA4 38 60 00 00 */ li r3, 0 +/* 8002DC48 0002ABA8 C0 04 66 A0 */ lfs f0, skZero3f@l(r4) +/* 8002DC4C 0002ABAC D0 1A 01 DC */ stfs f0, 0x1dc(r26) +/* 8002DC50 0002ABB0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8002DC54 0002ABB4 D0 1A 01 E0 */ stfs f0, 0x1e0(r26) +/* 8002DC58 0002ABB8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8002DC5C 0002ABBC D0 1A 01 E4 */ stfs f0, 0x1e4(r26) +/* 8002DC60 0002ABC0 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002DC64 0002ABC4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8002DC68 0002ABC8 98 1A 02 20 */ stb r0, 0x220(r26) +/* 8002DC6C 0002ABCC 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002DC70 0002ABD0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8002DC74 0002ABD4 98 1A 02 20 */ stb r0, 0x220(r26) +/* 8002DC78 0002ABD8 48 00 00 38 */ b lbl_8002DCB0 +lbl_8002DC7C: +/* 8002DC7C 0002ABDC 3C 80 80 5A */ lis r4, lbl_805A6660@ha +/* 8002DC80 0002ABE0 38 60 00 00 */ li r3, 0 +/* 8002DC84 0002ABE4 C0 04 66 60 */ lfs f0, lbl_805A6660@l(r4) +/* 8002DC88 0002ABE8 D0 1A 01 E8 */ stfs f0, 0x1e8(r26) +/* 8002DC8C 0002ABEC 80 9F 00 04 */ lwz r4, 4(r31) +/* 8002DC90 0002ABF0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8002DC94 0002ABF4 90 9A 01 EC */ stw r4, 0x1ec(r26) +/* 8002DC98 0002ABF8 90 1A 01 F0 */ stw r0, 0x1f0(r26) +/* 8002DC9C 0002ABFC 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8002DCA0 0002AC00 90 1A 01 F4 */ stw r0, 0x1f4(r26) +/* 8002DCA4 0002AC04 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002DCA8 0002AC08 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8002DCAC 0002AC0C 98 1A 02 20 */ stb r0, 0x220(r26) +lbl_8002DCB0: +/* 8002DCB0 0002AC10 38 A5 00 4C */ addi r5, r5, 0x4c +/* 8002DCB4 0002AC14 42 00 FF 44 */ bdnz lbl_8002DBF8 +lbl_8002DCB8: +/* 8002DCB8 0002AC18 C0 C1 00 C0 */ lfs f6, 0xc0(r1) +/* 8002DCBC 0002AC1C 38 81 00 84 */ addi r4, r1, 0x84 +/* 8002DCC0 0002AC20 C0 A1 00 C4 */ lfs f5, 0xc4(r1) +/* 8002DCC4 0002AC24 C0 81 00 C8 */ lfs f4, 0xc8(r1) +/* 8002DCC8 0002AC28 C0 61 00 CC */ lfs f3, 0xcc(r1) +/* 8002DCCC 0002AC2C C0 41 00 D0 */ lfs f2, 0xd0(r1) +/* 8002DCD0 0002AC30 C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 8002DCD4 0002AC34 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 8002DCD8 0002AC38 D0 C1 00 78 */ stfs f6, 0x78(r1) +/* 8002DCDC 0002AC3C D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 8002DCE0 0002AC40 D0 81 00 80 */ stfs f4, 0x80(r1) +/* 8002DCE4 0002AC44 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 8002DCE8 0002AC48 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 8002DCEC 0002AC4C D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 8002DCF0 0002AC50 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8002DCF4 0002AC54 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8002DCF8 0002AC58 EC 00 30 2A */ fadds f0, f0, f6 +/* 8002DCFC 0002AC5C D0 1C 00 00 */ stfs f0, 0(r28) +/* 8002DD00 0002AC60 C0 3C 00 04 */ lfs f1, 4(r28) +/* 8002DD04 0002AC64 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8002DD08 0002AC68 EC 01 00 2A */ fadds f0, f1, f0 +/* 8002DD0C 0002AC6C D0 1C 00 04 */ stfs f0, 4(r28) +/* 8002DD10 0002AC70 C0 3C 00 08 */ lfs f1, 8(r28) +/* 8002DD14 0002AC74 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 8002DD18 0002AC78 EC 01 00 2A */ fadds f0, f1, f0 +/* 8002DD1C 0002AC7C D0 1C 00 08 */ stfs f0, 8(r28) +/* 8002DD20 0002AC80 88 1A 02 20 */ lbz r0, 0x220(r26) +/* 8002DD24 0002AC84 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8002DD28 0002AC88 41 82 00 40 */ beq lbl_8002DD68 +/* 8002DD2C 0002AC8C C0 1A 01 DC */ lfs f0, 0x1dc(r26) +/* 8002DD30 0002AC90 C0 7A 01 E0 */ lfs f3, 0x1e0(r26) +/* 8002DD34 0002AC94 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8002DD38 0002AC98 C0 3C 00 00 */ lfs f1, 0(r28) +/* 8002DD3C 0002AC9C C0 5A 01 E4 */ lfs f2, 0x1e4(r26) +/* 8002DD40 0002ACA0 EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 8002DD44 0002ACA4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8002DD48 0002ACA8 EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 8002DD4C 0002ACAC D0 1C 00 00 */ stfs f0, 0(r28) +/* 8002DD50 0002ACB0 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8002DD54 0002ACB4 EC 00 18 2A */ fadds f0, f0, f3 +/* 8002DD58 0002ACB8 D0 1C 00 04 */ stfs f0, 4(r28) +/* 8002DD5C 0002ACBC C0 1C 00 08 */ lfs f0, 8(r28) +/* 8002DD60 0002ACC0 EC 00 08 2A */ fadds f0, f0, f1 +/* 8002DD64 0002ACC4 D0 1C 00 08 */ stfs f0, 8(r28) +lbl_8002DD68: +/* 8002DD68 0002ACC8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8002DD6C 0002ACCC 38 BA 01 E8 */ addi r5, r26, 0x1e8 +/* 8002DD70 0002ACD0 48 2E 34 31 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8002DD74 0002ACD4 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 8002DD78 0002ACD8 7F A4 EB 78 */ mr r4, r29 +/* 8002DD7C 0002ACDC C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8002DD80 0002ACE0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002DD84 0002ACE4 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8002DD88 0002ACE8 38 A1 00 5C */ addi r5, r1, 0x5c +/* 8002DD8C 0002ACEC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8002DD90 0002ACF0 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 8002DD94 0002ACF4 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8002DD98 0002ACF8 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 8002DD9C 0002ACFC D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8002DDA0 0002AD00 48 2E 34 01 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8002DDA4 0002AD04 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8002DDA8 0002AD08 38 61 00 34 */ addi r3, r1, 0x34 +/* 8002DDAC 0002AD0C 38 81 00 24 */ addi r4, r1, 0x24 +/* 8002DDB0 0002AD10 38 BA 01 DC */ addi r5, r26, 0x1dc +/* 8002DDB4 0002AD14 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8002DDB8 0002AD18 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 8002DDBC 0002AD1C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8002DDC0 0002AD20 90 DD 00 04 */ stw r6, 4(r29) +/* 8002DDC4 0002AD24 90 1D 00 08 */ stw r0, 8(r29) +/* 8002DDC8 0002AD28 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8002DDCC 0002AD2C 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8002DDD0 0002AD30 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 8002DDD4 0002AD34 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8002DDD8 0002AD38 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8002DDDC 0002AD3C FC 60 10 50 */ fneg f3, f2 +/* 8002DDE0 0002AD40 FC 40 00 50 */ fneg f2, f0 +/* 8002DDE4 0002AD44 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8002DDE8 0002AD48 FC 20 08 50 */ fneg f1, f1 +/* 8002DDEC 0002AD4C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8002DDF0 0002AD50 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8002DDF4 0002AD54 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8002DDF8 0002AD58 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8002DDFC 0002AD5C 48 2E 34 69 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 8002DE00 0002AD60 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8002DE04 0002AD64 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8002DE08 0002AD68 D0 3A 01 DC */ stfs f1, 0x1dc(r26) +/* 8002DE0C 0002AD6C 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 8002DE10 0002AD70 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8002DE14 0002AD74 D0 3A 01 E0 */ stfs f1, 0x1e0(r26) +/* 8002DE18 0002AD78 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 8002DE1C 0002AD7C D0 3A 01 E4 */ stfs f1, 0x1e4(r26) +/* 8002DE20 0002AD80 D0 1B 00 00 */ stfs f0, 0(r27) +/* 8002DE24 0002AD84 90 1B 00 04 */ stw r0, 4(r27) +/* 8002DE28 0002AD88 88 01 00 74 */ lbz r0, 0x74(r1) +/* 8002DE2C 0002AD8C 28 00 00 00 */ cmplwi r0, 0 +/* 8002DE30 0002AD90 41 82 00 38 */ beq lbl_8002DE68 +/* 8002DE34 0002AD94 34 61 00 6C */ addic. r3, r1, 0x6c +/* 8002DE38 0002AD98 41 82 00 30 */ beq lbl_8002DE68 +/* 8002DE3C 0002AD9C 88 03 00 00 */ lbz r0, 0(r3) +/* 8002DE40 0002ADA0 28 00 00 00 */ cmplwi r0, 0 +/* 8002DE44 0002ADA4 41 82 00 24 */ beq lbl_8002DE68 +/* 8002DE48 0002ADA8 80 63 00 04 */ lwz r3, 4(r3) +/* 8002DE4C 0002ADAC 28 03 00 00 */ cmplwi r3, 0 +/* 8002DE50 0002ADB0 41 82 00 18 */ beq lbl_8002DE68 +/* 8002DE54 0002ADB4 81 83 00 00 */ lwz r12, 0(r3) +/* 8002DE58 0002ADB8 38 80 00 01 */ li r4, 1 +/* 8002DE5C 0002ADBC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002DE60 0002ADC0 7D 89 03 A6 */ mtctr r12 +/* 8002DE64 0002ADC4 4E 80 04 21 */ bctrl +lbl_8002DE68: +/* 8002DE68 0002ADC8 38 00 00 00 */ li r0, 0 +/* 8002DE6C 0002ADCC 98 01 00 74 */ stb r0, 0x74(r1) +/* 8002DE70 0002ADD0 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 8002DE74 0002ADD4 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 8002DE78 0002ADD8 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 8002DE7C 0002ADDC CB C1 01 60 */ lfd f30, 0x160(r1) +/* 8002DE80 0002ADE0 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 8002DE84 0002ADE4 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 8002DE88 0002ADE8 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 8002DE8C 0002ADEC CB 81 01 40 */ lfd f28, 0x140(r1) +/* 8002DE90 0002ADF0 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 +/* 8002DE94 0002ADF4 CB 61 01 30 */ lfd f27, 0x130(r1) +/* 8002DE98 0002ADF8 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 +/* 8002DE9C 0002ADFC CB 41 01 20 */ lfd f26, 0x120(r1) +/* 8002DEA0 0002AE00 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 +/* 8002DEA4 0002AE04 CB 21 01 10 */ lfd f25, 0x110(r1) +/* 8002DEA8 0002AE08 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0 +/* 8002DEAC 0002AE0C CB 01 01 00 */ lfd f24, 0x100(r1) +/* 8002DEB0 0002AE10 BB 41 00 E8 */ lmw r26, 0xe8(r1) +/* 8002DEB4 0002AE14 80 01 01 84 */ lwz r0, 0x184(r1) +/* 8002DEB8 0002AE18 7C 08 03 A6 */ mtlr r0 +/* 8002DEBC 0002AE1C 38 21 01 80 */ addi r1, r1, 0x180 +/* 8002DEC0 0002AE20 4E 80 00 20 */ blr + +.global "SetXRayModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>" +"SetXRayModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>": +/* 8002DEC4 0002AE24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002DEC8 0002AE28 7C 08 02 A6 */ mflr r0 +/* 8002DECC 0002AE2C 3C C0 80 3D */ lis r6, lbl_803CCD20@ha +/* 8002DED0 0002AE30 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002DED4 0002AE34 38 06 CD 20 */ addi r0, r6, lbl_803CCD20@l +/* 8002DED8 0002AE38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002DEDC 0002AE3C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002DEE0 0002AE40 7C BE 2B 78 */ mr r30, r5 +/* 8002DEE4 0002AE44 38 A0 00 00 */ li r5, 0 +/* 8002DEE8 0002AE48 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002DEEC 0002AE4C 7C 9D 23 78 */ mr r29, r4 +/* 8002DEF0 0002AE50 7C 04 03 78 */ mr r4, r0 +/* 8002DEF4 0002AE54 93 81 00 10 */ stw r28, 0x10(r1) +/* 8002DEF8 0002AE58 7C 7C 1B 78 */ mr r28, r3 +/* 8002DEFC 0002AE5C 38 60 00 3C */ li r3, 0x3c +/* 8002DF00 0002AE60 48 2E 79 6D */ bl __nw__FUlPCcPCc +/* 8002DF04 0002AE64 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8002DF08 0002AE68 41 82 00 20 */ beq lbl_8002DF28 +/* 8002DF0C 0002AE6C 80 DC 00 E0 */ lwz r6, 0xe0(r28) +/* 8002DF10 0002AE70 7F A4 EB 78 */ mr r4, r29 +/* 8002DF14 0002AE74 7F C5 F3 78 */ mr r5, r30 +/* 8002DF18 0002AE78 38 E0 00 01 */ li r7, 1 +/* 8002DF1C 0002AE7C 38 C6 00 1C */ addi r6, r6, 0x1c +/* 8002DF20 0002AE80 48 32 55 19 */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" +/* 8002DF24 0002AE84 7C 7F 1B 78 */ mr r31, r3 +lbl_8002DF28: +/* 8002DF28 0002AE88 7F E3 FB 78 */ mr r3, r31 +/* 8002DF2C 0002AE8C 48 32 4C ED */ bl CalculateDefault__13CSkinnedModelFv +/* 8002DF30 0002AE90 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002DF34 0002AE94 38 60 00 08 */ li r3, 8 +/* 8002DF38 0002AE98 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002DF3C 0002AE9C 38 A0 00 00 */ li r5, 0 +/* 8002DF40 0002AEA0 48 2E 79 2D */ bl __nw__FUlPCcPCc +/* 8002DF44 0002AEA4 28 03 00 00 */ cmplwi r3, 0 +/* 8002DF48 0002AEA8 41 82 00 10 */ beq lbl_8002DF58 +/* 8002DF4C 0002AEAC 93 E3 00 00 */ stw r31, 0(r3) +/* 8002DF50 0002AEB0 38 00 00 01 */ li r0, 1 +/* 8002DF54 0002AEB4 90 03 00 04 */ stw r0, 4(r3) +lbl_8002DF58: +/* 8002DF58 0002AEB8 90 61 00 08 */ stw r3, 8(r1) +/* 8002DF5C 0002AEBC 80 1C 00 F4 */ lwz r0, 0xf4(r28) +/* 8002DF60 0002AEC0 7C 00 18 40 */ cmplw r0, r3 +/* 8002DF64 0002AEC4 41 82 00 24 */ beq lbl_8002DF88 +/* 8002DF68 0002AEC8 38 7C 00 F4 */ addi r3, r28, 0xf4 +/* 8002DF6C 0002AECC 48 00 2F 55 */ bl sub_80030ec0 +/* 8002DF70 0002AED0 80 01 00 08 */ lwz r0, 8(r1) +/* 8002DF74 0002AED4 90 1C 00 F4 */ stw r0, 0xf4(r28) +/* 8002DF78 0002AED8 80 9C 00 F4 */ lwz r4, 0xf4(r28) +/* 8002DF7C 0002AEDC 80 64 00 04 */ lwz r3, 4(r4) +/* 8002DF80 0002AEE0 38 03 00 01 */ addi r0, r3, 1 +/* 8002DF84 0002AEE4 90 04 00 04 */ stw r0, 4(r4) +lbl_8002DF88: +/* 8002DF88 0002AEE8 38 61 00 08 */ addi r3, r1, 8 +/* 8002DF8C 0002AEEC 48 00 2F 35 */ bl sub_80030ec0 +/* 8002DF90 0002AEF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002DF94 0002AEF4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002DF98 0002AEF8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002DF9C 0002AEFC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8002DFA0 0002AF00 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8002DFA4 0002AF04 7C 08 03 A6 */ mtlr r0 +/* 8002DFA8 0002AF08 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002DFAC 0002AF0C 4E 80 00 20 */ blr + +.global "SetInfraModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>" +"SetInfraModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>": +/* 8002DFB0 0002AF10 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002DFB4 0002AF14 7C 08 02 A6 */ mflr r0 +/* 8002DFB8 0002AF18 3C C0 80 3D */ lis r6, lbl_803CCD20@ha +/* 8002DFBC 0002AF1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002DFC0 0002AF20 38 06 CD 20 */ addi r0, r6, lbl_803CCD20@l +/* 8002DFC4 0002AF24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002DFC8 0002AF28 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002DFCC 0002AF2C 7C BE 2B 78 */ mr r30, r5 +/* 8002DFD0 0002AF30 38 A0 00 00 */ li r5, 0 +/* 8002DFD4 0002AF34 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002DFD8 0002AF38 7C 9D 23 78 */ mr r29, r4 +/* 8002DFDC 0002AF3C 7C 04 03 78 */ mr r4, r0 +/* 8002DFE0 0002AF40 93 81 00 10 */ stw r28, 0x10(r1) +/* 8002DFE4 0002AF44 7C 7C 1B 78 */ mr r28, r3 +/* 8002DFE8 0002AF48 38 60 00 3C */ li r3, 0x3c +/* 8002DFEC 0002AF4C 48 2E 78 81 */ bl __nw__FUlPCcPCc +/* 8002DFF0 0002AF50 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8002DFF4 0002AF54 41 82 00 20 */ beq lbl_8002E014 +/* 8002DFF8 0002AF58 80 DC 00 E0 */ lwz r6, 0xe0(r28) +/* 8002DFFC 0002AF5C 7F A4 EB 78 */ mr r4, r29 +/* 8002E000 0002AF60 7F C5 F3 78 */ mr r5, r30 +/* 8002E004 0002AF64 38 E0 00 01 */ li r7, 1 +/* 8002E008 0002AF68 38 C6 00 1C */ addi r6, r6, 0x1c +/* 8002E00C 0002AF6C 48 32 54 2D */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" +/* 8002E010 0002AF70 7C 7F 1B 78 */ mr r31, r3 +lbl_8002E014: +/* 8002E014 0002AF74 7F E3 FB 78 */ mr r3, r31 +/* 8002E018 0002AF78 48 32 4C 01 */ bl CalculateDefault__13CSkinnedModelFv +/* 8002E01C 0002AF7C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002E020 0002AF80 38 60 00 08 */ li r3, 8 +/* 8002E024 0002AF84 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002E028 0002AF88 38 A0 00 00 */ li r5, 0 +/* 8002E02C 0002AF8C 48 2E 78 41 */ bl __nw__FUlPCcPCc +/* 8002E030 0002AF90 28 03 00 00 */ cmplwi r3, 0 +/* 8002E034 0002AF94 41 82 00 10 */ beq lbl_8002E044 +/* 8002E038 0002AF98 93 E3 00 00 */ stw r31, 0(r3) +/* 8002E03C 0002AF9C 38 00 00 01 */ li r0, 1 +/* 8002E040 0002AFA0 90 03 00 04 */ stw r0, 4(r3) +lbl_8002E044: +/* 8002E044 0002AFA4 90 61 00 08 */ stw r3, 8(r1) +/* 8002E048 0002AFA8 80 1C 00 F8 */ lwz r0, 0xf8(r28) +/* 8002E04C 0002AFAC 7C 00 18 40 */ cmplw r0, r3 +/* 8002E050 0002AFB0 41 82 00 24 */ beq lbl_8002E074 +/* 8002E054 0002AFB4 38 7C 00 F8 */ addi r3, r28, 0xf8 +/* 8002E058 0002AFB8 48 00 2E 69 */ bl sub_80030ec0 +/* 8002E05C 0002AFBC 80 01 00 08 */ lwz r0, 8(r1) +/* 8002E060 0002AFC0 90 1C 00 F8 */ stw r0, 0xf8(r28) +/* 8002E064 0002AFC4 80 9C 00 F8 */ lwz r4, 0xf8(r28) +/* 8002E068 0002AFC8 80 64 00 04 */ lwz r3, 4(r4) +/* 8002E06C 0002AFCC 38 03 00 01 */ addi r0, r3, 1 +/* 8002E070 0002AFD0 90 04 00 04 */ stw r0, 4(r4) +lbl_8002E074: +/* 8002E074 0002AFD4 38 61 00 08 */ addi r3, r1, 8 +/* 8002E078 0002AFD8 48 00 2E 49 */ bl sub_80030ec0 +/* 8002E07C 0002AFDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002E080 0002AFE0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002E084 0002AFE4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002E088 0002AFE8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8002E08C 0002AFEC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8002E090 0002AFF0 7C 08 03 A6 */ mtlr r0 +/* 8002E094 0002AFF4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002E098 0002AFF8 4E 80 00 20 */ blr + +.global "SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>" +"SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>": +/* 8002E09C 0002AFFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002E0A0 0002B000 7C 08 02 A6 */ mflr r0 +/* 8002E0A4 0002B004 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002E0A8 0002B008 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002E0AC 0002B00C 7C 7F 1B 78 */ mr r31, r3 +/* 8002E0B0 0002B010 38 7F 00 D8 */ addi r3, r31, 0xd8 +/* 8002E0B4 0002B014 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002E0B8 0002B018 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002E0BC 0002B01C 7C 9D 23 78 */ mr r29, r4 +/* 8002E0C0 0002B020 48 31 2C 05 */ bl __as__6CTokenFRC6CToken +/* 8002E0C4 0002B024 80 1D 00 08 */ lwz r0, 8(r29) +/* 8002E0C8 0002B028 90 1F 00 E0 */ stw r0, 0xe0(r31) +/* 8002E0CC 0002B02C 80 7F 00 E0 */ lwz r3, 0xe0(r31) +/* 8002E0D0 0002B030 48 32 4B 49 */ bl CalculateDefault__13CSkinnedModelFv +/* 8002E0D4 0002B034 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8002E0D8 0002B038 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 8002E0DC 0002B03C 80 64 00 00 */ lwz r3, 0(r4) +/* 8002E0E0 0002B040 80 04 00 04 */ lwz r0, 4(r4) +/* 8002E0E4 0002B044 90 7F 01 08 */ stw r3, 0x108(r31) +/* 8002E0E8 0002B048 90 1F 01 0C */ stw r0, 0x10c(r31) +/* 8002E0EC 0002B04C 80 04 00 08 */ lwz r0, 8(r4) +/* 8002E0F0 0002B050 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8002E0F4 0002B054 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8002E0F8 0002B058 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8002E0FC 0002B05C 90 7F 01 14 */ stw r3, 0x114(r31) +/* 8002E100 0002B060 90 1F 01 18 */ stw r0, 0x118(r31) +/* 8002E104 0002B064 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8002E108 0002B068 90 1F 01 1C */ stw r0, 0x11c(r31) +/* 8002E10C 0002B06C 80 7F 00 E0 */ lwz r3, 0xe0(r31) +/* 8002E110 0002B070 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8002E114 0002B074 48 32 75 BD */ bl GetPositions__6CModelCFv +/* 8002E118 0002B078 3B A0 00 00 */ li r29, 0 +/* 8002E11C 0002B07C 7C 7E 1B 78 */ mr r30, r3 +/* 8002E120 0002B080 48 00 00 18 */ b lbl_8002E138 +lbl_8002E124: +/* 8002E124 0002B084 7F C4 F3 78 */ mr r4, r30 +/* 8002E128 0002B088 38 7F 01 08 */ addi r3, r31, 0x108 +/* 8002E12C 0002B08C 48 30 99 DD */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8002E130 0002B090 3B DE 00 0C */ addi r30, r30, 0xc +/* 8002E134 0002B094 3B BD 00 01 */ addi r29, r29, 1 +lbl_8002E138: +/* 8002E138 0002B098 80 7F 00 E0 */ lwz r3, 0xe0(r31) +/* 8002E13C 0002B09C 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8002E140 0002B0A0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8002E144 0002B0A4 7C 1D 00 00 */ cmpw r29, r0 +/* 8002E148 0002B0A8 41 80 FF DC */ blt lbl_8002E124 +/* 8002E14C 0002B0AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002E150 0002B0B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002E154 0002B0B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002E158 0002B0B8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8002E15C 0002B0BC 7C 08 03 A6 */ mtlr r0 +/* 8002E160 0002B0C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002E164 0002B0C4 4E 80 00 20 */ blr + +.global FreeCache__9CAnimDataFv +FreeCache__9CAnimDataFv: +/* 8002E168 0002B0C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002E16C 0002B0CC 7C 08 02 A6 */ mflr r0 +/* 8002E170 0002B0D0 3C 60 80 57 */ lis r3, lbl_8056CF40@ha +/* 8002E174 0002B0D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002E178 0002B0D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002E17C 0002B0DC 3B E3 CF 40 */ addi r31, r3, lbl_8056CF40@l +/* 8002E180 0002B0E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002E184 0002B0E4 3B C0 00 00 */ li r30, 0 +/* 8002E188 0002B0E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002E18C 0002B0EC 3B BF 00 04 */ addi r29, r31, 4 +/* 8002E190 0002B0F0 48 00 00 24 */ b lbl_8002E1B4 +lbl_8002E194: +/* 8002E194 0002B0F4 7F A3 EB 78 */ mr r3, r29 +/* 8002E198 0002B0F8 38 80 FF FF */ li r4, -1 +/* 8002E19C 0002B0FC 81 9D 00 00 */ lwz r12, 0(r29) +/* 8002E1A0 0002B100 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002E1A4 0002B104 7D 89 03 A6 */ mtctr r12 +/* 8002E1A8 0002B108 4E 80 04 21 */ bctrl +/* 8002E1AC 0002B10C 3B BD 00 4C */ addi r29, r29, 0x4c +/* 8002E1B0 0002B110 3B DE 00 01 */ addi r30, r30, 1 +lbl_8002E1B4: +/* 8002E1B4 0002B114 80 1F 00 00 */ lwz r0, 0(r31) +/* 8002E1B8 0002B118 7C 1E 00 00 */ cmpw r30, r0 +/* 8002E1BC 0002B11C 41 80 FF D8 */ blt lbl_8002E194 +/* 8002E1C0 0002B120 38 00 00 00 */ li r0, 0 +/* 8002E1C4 0002B124 3C 60 80 57 */ lis r3, lbl_8056CF40@ha +/* 8002E1C8 0002B128 90 0D A1 0C */ stw r0, lbl_805A8CCC@sda21(r13) +/* 8002E1CC 0002B12C 90 03 CF 40 */ stw r0, lbl_8056CF40@l(r3) +/* 8002E1D0 0002B130 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002E1D4 0002B134 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002E1D8 0002B138 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002E1DC 0002B13C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8002E1E0 0002B140 7C 08 03 A6 */ mtlr r0 +/* 8002E1E4 0002B144 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002E1E8 0002B148 4E 80 00 20 */ blr + +.global InitializeCache__9CAnimDataFv +InitializeCache__9CAnimDataFv: +/* 8002E1EC 0002B14C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8002E1F0 0002B150 7C 08 02 A6 */ mflr r0 +/* 8002E1F4 0002B154 3C 60 80 57 */ lis r3, lbl_8056CF40@ha +/* 8002E1F8 0002B158 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8002E1FC 0002B15C 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8002E200 0002B160 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8002E204 0002B164 3B C3 CF 40 */ addi r30, r3, lbl_8056CF40@l +/* 8002E208 0002B168 3B FE 00 04 */ addi r31, r30, 4 +/* 8002E20C 0002B16C 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8002E210 0002B170 3B A0 00 00 */ li r29, 0 +/* 8002E214 0002B174 93 81 00 90 */ stw r28, 0x90(r1) +/* 8002E218 0002B178 7F FC FB 78 */ mr r28, r31 +/* 8002E21C 0002B17C 48 00 00 24 */ b lbl_8002E240 +lbl_8002E220: +/* 8002E220 0002B180 7F 83 E3 78 */ mr r3, r28 +/* 8002E224 0002B184 38 80 FF FF */ li r4, -1 +/* 8002E228 0002B188 81 9C 00 00 */ lwz r12, 0(r28) +/* 8002E22C 0002B18C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002E230 0002B190 7D 89 03 A6 */ mtctr r12 +/* 8002E234 0002B194 4E 80 04 21 */ bctrl +/* 8002E238 0002B198 3B 9C 00 4C */ addi r28, r28, 0x4c +/* 8002E23C 0002B19C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8002E240: +/* 8002E240 0002B1A0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8002E244 0002B1A4 7C 1D 00 00 */ cmpw r29, r0 +/* 8002E248 0002B1A8 41 80 FF D8 */ blt lbl_8002E220 +/* 8002E24C 0002B1AC 3C 80 80 57 */ lis r4, lbl_8056CF40@ha +/* 8002E250 0002B1B0 3C 60 80 3D */ lis r3, lbl_803CCD20@ha +/* 8002E254 0002B1B4 38 A4 CF 40 */ addi r5, r4, lbl_8056CF40@l +/* 8002E258 0002B1B8 38 00 00 00 */ li r0, 0 +/* 8002E25C 0002B1BC 38 83 CD 20 */ addi r4, r3, lbl_803CCD20@l +/* 8002E260 0002B1C0 90 05 00 00 */ stw r0, 0(r5) +/* 8002E264 0002B1C4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002E268 0002B1C8 38 84 00 07 */ addi r4, r4, 7 +/* 8002E26C 0002B1CC 4B FD 6A 4D */ bl string_l__4rstlFPCc +/* 8002E270 0002B1D0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002E274 0002B1D4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002E278 0002B1D8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002E27C 0002B1DC 38 84 00 08 */ addi r4, r4, 8 +/* 8002E280 0002B1E0 4B FD 6A 39 */ bl string_l__4rstlFPCc +/* 8002E284 0002B1E4 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) +/* 8002E288 0002B1E8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002E28C 0002B1EC 48 31 AB 61 */ bl __ct__13CCharAnimTimeFf +/* 8002E290 0002B1F0 38 00 00 00 */ li r0, 0 +/* 8002E294 0002B1F4 7C 66 1B 78 */ mr r6, r3 +/* 8002E298 0002B1F8 90 01 00 08 */ stw r0, 8(r1) +/* 8002E29C 0002B1FC 38 01 00 18 */ addi r0, r1, 0x18 +/* 8002E2A0 0002B200 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) +/* 8002E2A4 0002B204 38 61 00 38 */ addi r3, r1, 0x38 +/* 8002E2A8 0002B208 90 01 00 0C */ stw r0, 0xc(r1) +/* 8002E2AC 0002B20C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002E2B0 0002B210 38 A0 00 02 */ li r5, 2 +/* 8002E2B4 0002B214 38 E0 FF FF */ li r7, -1 +/* 8002E2B8 0002B218 39 00 00 00 */ li r8, 0 +/* 8002E2BC 0002B21C 39 20 FF FF */ li r9, -1 +/* 8002E2C0 0002B220 39 40 00 00 */ li r10, 0 +/* 8002E2C4 0002B224 4B FF D0 C9 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002E2C8 0002B228 3C 60 80 57 */ lis r3, lbl_8056CF40@ha +/* 8002E2CC 0002B22C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8002E2D0 0002B230 38 63 CF 40 */ addi r3, r3, lbl_8056CF40@l +/* 8002E2D4 0002B234 38 80 00 10 */ li r4, 0x10 +/* 8002E2D8 0002B238 48 00 00 69 */ bl "uninitialized_fill_n__4rstlFP13CInt32POINodeiRC13CInt32POINode" +/* 8002E2DC 0002B23C 3C 80 80 3E */ lis r4, lbl_803D9B98@ha +/* 8002E2E0 0002B240 34 61 00 74 */ addic. r3, r1, 0x74 +/* 8002E2E4 0002B244 38 04 9B 98 */ addi r0, r4, lbl_803D9B98@l +/* 8002E2E8 0002B248 90 01 00 38 */ stw r0, 0x38(r1) +/* 8002E2EC 0002B24C 41 82 00 08 */ beq lbl_8002E2F4 +/* 8002E2F0 0002B250 48 30 F7 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002E2F4: +/* 8002E2F4 0002B254 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 8002E2F8 0002B258 34 61 00 40 */ addic. r3, r1, 0x40 +/* 8002E2FC 0002B25C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 8002E300 0002B260 90 01 00 38 */ stw r0, 0x38(r1) +/* 8002E304 0002B264 41 82 00 08 */ beq lbl_8002E30C +/* 8002E308 0002B268 48 30 F7 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002E30C: +/* 8002E30C 0002B26C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002E310 0002B270 48 30 F7 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002E314 0002B274 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002E318 0002B278 48 30 F7 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002E31C 0002B27C 93 ED A1 0C */ stw r31, lbl_805A8CCC@sda21(r13) +/* 8002E320 0002B280 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8002E324 0002B284 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8002E328 0002B288 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8002E32C 0002B28C 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8002E330 0002B290 83 81 00 90 */ lwz r28, 0x90(r1) +/* 8002E334 0002B294 7C 08 03 A6 */ mtlr r0 +/* 8002E338 0002B298 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8002E33C 0002B29C 4E 80 00 20 */ blr + +.global "uninitialized_fill_n__4rstlFP13CInt32POINodeiRC13CInt32POINode" +"uninitialized_fill_n__4rstlFP13CInt32POINodeiRC13CInt32POINode": +/* 8002E340 0002B2A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002E344 0002B2A4 7C 08 02 A6 */ mflr r0 +/* 8002E348 0002B2A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002E34C 0002B2AC BF 41 00 08 */ stmw r26, 8(r1) +/* 8002E350 0002B2B0 7C 7C 1B 78 */ mr r28, r3 +/* 8002E354 0002B2B4 7C 9D 23 78 */ mr r29, r4 +/* 8002E358 0002B2B8 7C BE 2B 78 */ mr r30, r5 +/* 8002E35C 0002B2BC 80 63 00 00 */ lwz r3, 0(r3) +/* 8002E360 0002B2C0 7C 03 E8 00 */ cmpw r3, r29 +/* 8002E364 0002B2C4 40 80 00 B8 */ bge lbl_8002E41C +/* 8002E368 0002B2C8 1C 03 00 4C */ mulli r0, r3, 0x4c +/* 8002E36C 0002B2CC 7F E3 E8 50 */ subf r31, r3, r29 +/* 8002E370 0002B2D0 3B 60 00 00 */ li r27, 0 +/* 8002E374 0002B2D4 7F 5C 02 14 */ add r26, r28, r0 +/* 8002E378 0002B2D8 3B 5A 00 04 */ addi r26, r26, 4 +/* 8002E37C 0002B2DC 48 00 00 94 */ b lbl_8002E410 +lbl_8002E380: +/* 8002E380 0002B2E0 28 1A 00 00 */ cmplwi r26, 0 +/* 8002E384 0002B2E4 41 82 00 84 */ beq lbl_8002E408 +/* 8002E388 0002B2E8 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 8002E38C 0002B2EC 38 9E 00 08 */ addi r4, r30, 8 +/* 8002E390 0002B2F0 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 8002E394 0002B2F4 90 1A 00 00 */ stw r0, 0(r26) +/* 8002E398 0002B2F8 38 7A 00 08 */ addi r3, r26, 8 +/* 8002E39C 0002B2FC A0 1E 00 04 */ lhz r0, 4(r30) +/* 8002E3A0 0002B300 B0 1A 00 04 */ sth r0, 4(r26) +/* 8002E3A4 0002B304 48 30 FD BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002E3A8 0002B308 A0 9E 00 18 */ lhz r4, 0x18(r30) +/* 8002E3AC 0002B30C 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 8002E3B0 0002B310 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 8002E3B4 0002B314 38 7A 00 3C */ addi r3, r26, 0x3c +/* 8002E3B8 0002B318 B0 9A 00 18 */ sth r4, 0x18(r26) +/* 8002E3BC 0002B31C 38 9E 00 3C */ addi r4, r30, 0x3c +/* 8002E3C0 0002B320 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 8002E3C4 0002B324 D0 1A 00 1C */ stfs f0, 0x1c(r26) +/* 8002E3C8 0002B328 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 8002E3CC 0002B32C 90 BA 00 20 */ stw r5, 0x20(r26) +/* 8002E3D0 0002B330 80 BE 00 24 */ lwz r5, 0x24(r30) +/* 8002E3D4 0002B334 90 BA 00 24 */ stw r5, 0x24(r26) +/* 8002E3D8 0002B338 88 BE 00 28 */ lbz r5, 0x28(r30) +/* 8002E3DC 0002B33C 98 BA 00 28 */ stb r5, 0x28(r26) +/* 8002E3E0 0002B340 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8002E3E4 0002B344 D0 1A 00 2C */ stfs f0, 0x2c(r26) +/* 8002E3E8 0002B348 80 BE 00 30 */ lwz r5, 0x30(r30) +/* 8002E3EC 0002B34C 90 BA 00 30 */ stw r5, 0x30(r26) +/* 8002E3F0 0002B350 80 BE 00 34 */ lwz r5, 0x34(r30) +/* 8002E3F4 0002B354 90 BA 00 34 */ stw r5, 0x34(r26) +/* 8002E3F8 0002B358 90 1A 00 00 */ stw r0, 0(r26) +/* 8002E3FC 0002B35C 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 8002E400 0002B360 90 1A 00 38 */ stw r0, 0x38(r26) +/* 8002E404 0002B364 48 30 FD 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8002E408: +/* 8002E408 0002B368 3B 7B 00 01 */ addi r27, r27, 1 +/* 8002E40C 0002B36C 3B 5A 00 4C */ addi r26, r26, 0x4c +lbl_8002E410: +/* 8002E410 0002B370 7C 1B F8 00 */ cmpw r27, r31 +/* 8002E414 0002B374 41 80 FF 6C */ blt lbl_8002E380 +/* 8002E418 0002B378 93 BC 00 00 */ stw r29, 0(r28) +lbl_8002E41C: +/* 8002E41C 0002B37C BB 41 00 08 */ lmw r26, 8(r1) +/* 8002E420 0002B380 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002E424 0002B384 7C 08 03 A6 */ mtlr r0 +/* 8002E428 0002B388 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002E42C 0002B38C 4E 80 00 20 */ blr + +.global DrawSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC11CModelFlags +DrawSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC11CModelFlags: +/* 8002E430 0002B390 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002E434 0002B394 7C 08 02 A6 */ mflr r0 +/* 8002E438 0002B398 39 20 00 02 */ li r9, 2 +/* 8002E43C 0002B39C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002E440 0002B3A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002E444 0002B3A4 7C BF 2B 78 */ mr r31, r5 +/* 8002E448 0002B3A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8002E44C 0002B3AC 7C 9E 23 78 */ mr r30, r4 +/* 8002E450 0002B3B0 88 ED A8 16 */ lbz r7, lbl_805A93D6@sda21(r13) +/* 8002E454 0002B3B4 28 07 00 00 */ cmplwi r7, 0 +/* 8002E458 0002B3B8 41 82 00 08 */ beq lbl_8002E460 +/* 8002E45C 0002B3BC 39 20 00 01 */ li r9, 1 +lbl_8002E460: +/* 8002E460 0002B3C0 28 07 00 00 */ cmplwi r7, 0 +/* 8002E464 0002B3C4 39 00 00 00 */ li r8, 0 +/* 8002E468 0002B3C8 41 82 00 08 */ beq lbl_8002E470 +/* 8002E46C 0002B3CC 39 00 00 02 */ li r8, 2 +lbl_8002E470: +/* 8002E470 0002B3D0 7C 07 00 D0 */ neg r0, r7 +/* 8002E474 0002B3D4 38 60 00 00 */ li r3, 0 +/* 8002E478 0002B3D8 7C 00 3B 78 */ or r0, r0, r7 +/* 8002E47C 0002B3DC 38 A0 00 00 */ li r5, 0 +/* 8002E480 0002B3E0 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8002E484 0002B3E4 38 C0 00 00 */ li r6, 0 +/* 8002E488 0002B3E8 48 2D A8 45 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8002E48C 0002B3EC 7F C3 F3 78 */ mr r3, r30 +/* 8002E490 0002B3F0 7F E4 FB 78 */ mr r4, r31 +/* 8002E494 0002B3F4 48 32 4B D1 */ bl sub_80353064 +/* 8002E498 0002B3F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002E49C 0002B3FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002E4A0 0002B400 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002E4A4 0002B404 7C 08 03 A6 */ mtlr r0 +/* 8002E4A8 0002B408 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002E4AC 0002B40C 4E 80 00 20 */ blr + +.global "PoseSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +"PoseSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf": +/* 8002E4B0 0002B410 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002E4B4 0002B414 7C 08 02 A6 */ mflr r0 +/* 8002E4B8 0002B418 7C 83 23 78 */ mr r3, r4 +/* 8002E4BC 0002B41C 7C A4 2B 78 */ mr r4, r5 +/* 8002E4C0 0002B420 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002E4C4 0002B424 7C C5 33 78 */ mr r5, r6 +/* 8002E4C8 0002B428 7C E6 3B 78 */ mr r6, r7 +/* 8002E4CC 0002B42C 38 E0 00 00 */ li r7, 0 +/* 8002E4D0 0002B430 48 32 48 29 */ bl "Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf" +/* 8002E4D4 0002B434 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002E4D8 0002B438 7C 08 03 A6 */ mtlr r0 +/* 8002E4DC 0002B43C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002E4E0 0002B440 4E 80 00 20 */ blr + +.global AdvanceParticles__9CAnimDataFRC12CTransform4ffRC9CVector3fR13CStateManager +AdvanceParticles__9CAnimDataFRC12CTransform4ffRC9CVector3fR13CStateManager: +/* 8002E4E4 0002B444 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002E4E8 0002B448 7C 08 02 A6 */ mflr r0 +/* 8002E4EC 0002B44C 7C C8 33 78 */ mr r8, r6 +/* 8002E4F0 0002B450 7C 69 1B 78 */ mr r9, r3 +/* 8002E4F4 0002B454 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002E4F8 0002B458 7C A7 2B 78 */ mr r7, r5 +/* 8002E4FC 0002B45C 7C 86 23 78 */ mr r6, r4 +/* 8002E500 0002B460 38 89 02 24 */ addi r4, r9, 0x224 +/* 8002E504 0002B464 80 A3 00 D4 */ lwz r5, 0xd4(r3) +/* 8002E508 0002B468 38 69 01 20 */ addi r3, r9, 0x120 +/* 8002E50C 0002B46C 48 08 A4 C1 */ bl Update__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManager +/* 8002E510 0002B470 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002E514 0002B474 7C 08 03 A6 */ mtlr r0 +/* 8002E518 0002B478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002E51C 0002B47C 4E 80 00 20 */ blr + +.global GetAverageVelocity__9CAnimDataCFi +GetAverageVelocity__9CAnimDataCFi: +/* 8002E520 0002B480 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8002E524 0002B484 7C 08 02 A6 */ mflr r0 +/* 8002E528 0002B488 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8002E52C 0002B48C DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8002E530 0002B490 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8002E534 0002B494 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8002E538 0002B498 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8002E53C 0002B49C DB A1 00 90 */ stfd f29, 0x90(r1) +/* 8002E540 0002B4A0 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 8002E544 0002B4A4 BF 21 00 74 */ stmw r25, 0x74(r1) +/* 8002E548 0002B4A8 80 C3 01 00 */ lwz r6, 0x100(r3) +/* 8002E54C 0002B4AC 54 80 10 3A */ slwi r0, r4, 2 +/* 8002E550 0002B4B0 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 8002E554 0002B4B4 7C 7B 1B 78 */ mr r27, r3 +/* 8002E558 0002B4B8 80 86 00 00 */ lwz r4, 0(r6) +/* 8002E55C 0002B4BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002E560 0002B4C0 7C A5 00 2E */ lwzx r5, r5, r0 +/* 8002E564 0002B4C4 48 2A 88 AD */ bl GetMetaAnimation__17CAnimationManagerCFUi +/* 8002E568 0002B4C8 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8002E56C 0002B4CC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002E570 0002B4D0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8002E574 0002B4D4 80 85 00 04 */ lwz r4, 4(r5) +/* 8002E578 0002B4D8 38 04 00 01 */ addi r0, r4, 1 +/* 8002E57C 0002B4DC 90 05 00 04 */ stw r0, 4(r5) +/* 8002E580 0002B4E0 48 00 29 B1 */ bl sub_80030f30 +/* 8002E584 0002B4E4 88 61 00 08 */ lbz r3, 8(r1) +/* 8002E588 0002B4E8 38 00 00 00 */ li r0, 0 +/* 8002E58C 0002B4EC 88 A1 00 0C */ lbz r5, 0xc(r1) +/* 8002E590 0002B4F0 3B 81 00 5C */ addi r28, r1, 0x5c +/* 8002E594 0002B4F4 98 61 00 54 */ stb r3, 0x54(r1) +/* 8002E598 0002B4F8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8002E59C 0002B4FC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8002E5A0 0002B500 98 A1 00 55 */ stb r5, 0x55(r1) +/* 8002E5A4 0002B504 90 01 00 58 */ stw r0, 0x58(r1) +/* 8002E5A8 0002B508 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8002E5AC 0002B50C 90 01 00 60 */ stw r0, 0x60(r1) +/* 8002E5B0 0002B510 90 01 00 64 */ stw r0, 0x64(r1) +/* 8002E5B4 0002B514 80 63 00 00 */ lwz r3, 0(r3) +/* 8002E5B8 0002B518 81 83 00 00 */ lwz r12, 0(r3) +/* 8002E5BC 0002B51C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8002E5C0 0002B520 7D 89 03 A6 */ mtctr r12 +/* 8002E5C4 0002B524 4E 80 04 21 */ bctrl +/* 8002E5C8 0002B528 C3 C2 83 D0 */ lfs f30, lbl_805AA0F0@sda21(r2) +/* 8002E5CC 0002B52C 3B C0 00 00 */ li r30, 0 +/* 8002E5D0 0002B530 83 A1 00 5C */ lwz r29, 0x5c(r1) +/* 8002E5D4 0002B534 3C 60 41 4E */ lis r3, 0x414E494D@ha +/* 8002E5D8 0002B538 FF A0 F0 90 */ fmr f29, f30 +/* 8002E5DC 0002B53C 93 81 00 3C */ stw r28, 0x3c(r1) +/* 8002E5E0 0002B540 3B E3 49 4D */ addi r31, r3, 0x414E494D@l +/* 8002E5E4 0002B544 3B 41 00 48 */ addi r26, r1, 0x48 +/* 8002E5E8 0002B548 93 A1 00 38 */ stw r29, 0x38(r1) +/* 8002E5EC 0002B54C 93 C1 00 30 */ stw r30, 0x30(r1) +/* 8002E5F0 0002B550 93 81 00 34 */ stw r28, 0x34(r1) +/* 8002E5F4 0002B554 48 00 01 9C */ b lbl_8002E790 +lbl_8002E5F8: +/* 8002E5F8 0002B558 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8002E5FC 0002B55C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002E600 0002B560 80 9B 00 FC */ lwz r4, 0xfc(r27) +/* 8002E604 0002B564 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8002E608 0002B568 93 E1 00 40 */ stw r31, 0x40(r1) +/* 8002E60C 0002B56C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8002E610 0002B570 80 84 00 00 */ lwz r4, 0(r4) +/* 8002E614 0002B574 80 84 00 0C */ lwz r4, 0xc(r4) +/* 8002E618 0002B578 81 84 00 00 */ lwz r12, 0(r4) +/* 8002E61C 0002B57C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8002E620 0002B580 7D 89 03 A6 */ mtctr r12 +/* 8002E624 0002B584 4E 80 04 21 */ bctrl +/* 8002E628 0002B588 7F 43 D3 78 */ mr r3, r26 +/* 8002E62C 0002B58C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8002E630 0002B590 48 31 28 79 */ bl __ct__6CTokenFRC6CToken +/* 8002E634 0002B594 7F 43 D3 78 */ mr r3, r26 +/* 8002E638 0002B598 48 31 27 D5 */ bl GetObj__6CTokenFv +/* 8002E63C 0002B59C 80 03 00 04 */ lwz r0, 4(r3) +/* 8002E640 0002B5A0 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002E644 0002B5A4 38 80 FF FF */ li r4, -1 +/* 8002E648 0002B5A8 90 01 00 50 */ stw r0, 0x50(r1) +/* 8002E64C 0002B5AC 48 31 27 F5 */ bl __dt__6CTokenFv +/* 8002E650 0002B5B0 83 21 00 50 */ lwz r25, 0x50(r1) +/* 8002E654 0002B5B4 80 19 00 00 */ lwz r0, 0(r25) +/* 8002E658 0002B5B8 2C 00 00 01 */ cmpwi r0, 1 +/* 8002E65C 0002B5BC 41 82 00 4C */ beq lbl_8002E6A8 +/* 8002E660 0002B5C0 40 80 00 10 */ bge lbl_8002E670 +/* 8002E664 0002B5C4 2C 00 00 00 */ cmpwi r0, 0 +/* 8002E668 0002B5C8 40 80 00 14 */ bge lbl_8002E67C +/* 8002E66C 0002B5CC 48 00 00 3C */ b lbl_8002E6A8 +lbl_8002E670: +/* 8002E670 0002B5D0 2C 00 00 03 */ cmpwi r0, 3 +/* 8002E674 0002B5D4 40 80 00 34 */ bge lbl_8002E6A8 +/* 8002E678 0002B5D8 48 00 00 1C */ b lbl_8002E694 +lbl_8002E67C: +/* 8002E67C 0002B5DC C0 19 00 04 */ lfs f0, 4(r25) +/* 8002E680 0002B5E0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002E684 0002B5E4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8002E688 0002B5E8 80 19 00 08 */ lwz r0, 8(r25) +/* 8002E68C 0002B5EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002E690 0002B5F0 48 00 00 2C */ b lbl_8002E6BC +lbl_8002E694: +/* 8002E694 0002B5F4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002E698 0002B5F8 38 99 00 04 */ addi r4, r25, 4 +/* 8002E69C 0002B5FC 48 2C D2 89 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 8002E6A0 0002B600 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002E6A4 0002B604 48 00 00 18 */ b lbl_8002E6BC +lbl_8002E6A8: +/* 8002E6A8 0002B608 C0 19 00 04 */ lfs f0, 4(r25) +/* 8002E6AC 0002B60C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002E6B0 0002B610 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8002E6B4 0002B614 80 19 00 08 */ lwz r0, 8(r25) +/* 8002E6B8 0002B618 90 01 00 24 */ stw r0, 0x24(r1) +lbl_8002E6BC: +/* 8002E6BC 0002B61C 80 19 00 00 */ lwz r0, 0(r25) +/* 8002E6C0 0002B620 C0 03 00 00 */ lfs f0, 0(r3) +/* 8002E6C4 0002B624 2C 00 00 01 */ cmpwi r0, 1 +/* 8002E6C8 0002B628 41 82 00 30 */ beq lbl_8002E6F8 +/* 8002E6CC 0002B62C 40 80 00 10 */ bge lbl_8002E6DC +/* 8002E6D0 0002B630 2C 00 00 00 */ cmpwi r0, 0 +/* 8002E6D4 0002B634 40 80 00 14 */ bge lbl_8002E6E8 +/* 8002E6D8 0002B638 48 00 00 20 */ b lbl_8002E6F8 +lbl_8002E6DC: +/* 8002E6DC 0002B63C 2C 00 00 03 */ cmpwi r0, 3 +/* 8002E6E0 0002B640 40 80 00 18 */ bge lbl_8002E6F8 +/* 8002E6E4 0002B644 48 00 00 0C */ b lbl_8002E6F0 +lbl_8002E6E8: +/* 8002E6E8 0002B648 C0 39 00 64 */ lfs f1, 0x64(r25) +/* 8002E6EC 0002B64C 48 00 00 10 */ b lbl_8002E6FC +lbl_8002E6F0: +/* 8002E6F0 0002B650 C0 39 00 14 */ lfs f1, 0x14(r25) +/* 8002E6F4 0002B654 48 00 00 08 */ b lbl_8002E6FC +lbl_8002E6F8: +/* 8002E6F8 0002B658 C0 39 00 64 */ lfs f1, 0x64(r25) +lbl_8002E6FC: +/* 8002E6FC 0002B65C 80 81 00 50 */ lwz r4, 0x50(r1) +/* 8002E700 0002B660 EF C1 F0 3A */ fmadds f30, f1, f0, f30 +/* 8002E704 0002B664 80 04 00 00 */ lwz r0, 0(r4) +/* 8002E708 0002B668 2C 00 00 01 */ cmpwi r0, 1 +/* 8002E70C 0002B66C 41 82 00 4C */ beq lbl_8002E758 +/* 8002E710 0002B670 40 80 00 10 */ bge lbl_8002E720 +/* 8002E714 0002B674 2C 00 00 00 */ cmpwi r0, 0 +/* 8002E718 0002B678 40 80 00 14 */ bge lbl_8002E72C +/* 8002E71C 0002B67C 48 00 00 3C */ b lbl_8002E758 +lbl_8002E720: +/* 8002E720 0002B680 2C 00 00 03 */ cmpwi r0, 3 +/* 8002E724 0002B684 40 80 00 34 */ bge lbl_8002E758 +/* 8002E728 0002B688 48 00 00 1C */ b lbl_8002E744 +lbl_8002E72C: +/* 8002E72C 0002B68C C0 04 00 04 */ lfs f0, 4(r4) +/* 8002E730 0002B690 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002E734 0002B694 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8002E738 0002B698 80 04 00 08 */ lwz r0, 8(r4) +/* 8002E73C 0002B69C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8002E740 0002B6A0 48 00 00 2C */ b lbl_8002E76C +lbl_8002E744: +/* 8002E744 0002B6A4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002E748 0002B6A8 38 84 00 04 */ addi r4, r4, 4 +/* 8002E74C 0002B6AC 48 2C D1 D9 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 8002E750 0002B6B0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002E754 0002B6B4 48 00 00 18 */ b lbl_8002E76C +lbl_8002E758: +/* 8002E758 0002B6B8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8002E75C 0002B6BC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002E760 0002B6C0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8002E764 0002B6C4 80 04 00 08 */ lwz r0, 8(r4) +/* 8002E768 0002B6C8 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_8002E76C: +/* 8002E76C 0002B6CC C0 03 00 00 */ lfs f0, 0(r3) +/* 8002E770 0002B6D0 7F 83 E3 78 */ mr r3, r28 +/* 8002E774 0002B6D4 7F A4 EB 78 */ mr r4, r29 +/* 8002E778 0002B6D8 EF BD 00 2A */ fadds f29, f29, f0 +/* 8002E77C 0002B6DC 48 30 DE 65 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8002E780 0002B6E0 7C 7D 1B 78 */ mr r29, r3 +/* 8002E784 0002B6E4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8002E788 0002B6E8 38 80 00 00 */ li r4, 0 +/* 8002E78C 0002B6EC 48 31 26 B5 */ bl __dt__6CTokenFv +lbl_8002E790: +/* 8002E790 0002B6F0 7C 1D F0 40 */ cmplw r29, r30 +/* 8002E794 0002B6F4 38 00 00 00 */ li r0, 0 +/* 8002E798 0002B6F8 40 82 00 0C */ bne lbl_8002E7A4 +/* 8002E79C 0002B6FC 7C 1C E0 40 */ cmplw r28, r28 +/* 8002E7A0 0002B700 41 82 00 08 */ beq lbl_8002E7A8 +lbl_8002E7A4: +/* 8002E7A4 0002B704 38 00 00 01 */ li r0, 1 +lbl_8002E7A8: +/* 8002E7A8 0002B708 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8002E7AC 0002B70C 40 82 FE 4C */ bne lbl_8002E5F8 +/* 8002E7B0 0002B710 C3 E2 83 D0 */ lfs f31, lbl_805AA0F0@sda21(r2) +/* 8002E7B4 0002B714 FC 1D F8 40 */ fcmpo cr0, f29, f31 +/* 8002E7B8 0002B718 40 81 00 08 */ ble lbl_8002E7C0 +/* 8002E7BC 0002B71C EF FE E8 24 */ fdivs f31, f30, f29 +lbl_8002E7C0: +/* 8002E7C0 0002B720 80 81 00 64 */ lwz r4, 0x64(r1) +/* 8002E7C4 0002B724 28 04 00 00 */ cmplwi r4, 0 +/* 8002E7C8 0002B728 41 82 00 0C */ beq lbl_8002E7D4 +/* 8002E7CC 0002B72C 38 61 00 54 */ addi r3, r1, 0x54 +/* 8002E7D0 0002B730 48 00 2A D9 */ bl sub_800312a8 +lbl_8002E7D4: +/* 8002E7D4 0002B734 38 00 00 00 */ li r0, 0 +/* 8002E7D8 0002B738 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002E7DC 0002B73C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8002E7E0 0002B740 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8002E7E4 0002B744 90 01 00 60 */ stw r0, 0x60(r1) +/* 8002E7E8 0002B748 90 01 00 58 */ stw r0, 0x58(r1) +/* 8002E7EC 0002B74C 48 00 27 45 */ bl sub_80030f30 +/* 8002E7F0 0002B750 FC 20 F8 90 */ fmr f1, f31 +/* 8002E7F4 0002B754 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8002E7F8 0002B758 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8002E7FC 0002B75C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8002E800 0002B760 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8002E804 0002B764 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 8002E808 0002B768 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8002E80C 0002B76C BB 21 00 74 */ lmw r25, 0x74(r1) +/* 8002E810 0002B770 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8002E814 0002B774 7C 08 03 A6 */ mtlr r0 +/* 8002E818 0002B778 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8002E81C 0002B77C 4E 80 00 20 */ blr + +.global ResetPOILists__9CAnimDataFv +ResetPOILists__9CAnimDataFv: +/* 8002E820 0002B780 38 00 00 00 */ li r0, 0 +/* 8002E824 0002B784 90 03 02 0C */ stw r0, 0x20c(r3) +/* 8002E828 0002B788 90 03 02 10 */ stw r0, 0x210(r3) +/* 8002E82C 0002B78C 90 03 02 14 */ stw r0, 0x214(r3) +/* 8002E830 0002B790 90 03 02 18 */ stw r0, 0x218(r3) +/* 8002E834 0002B794 4E 80 00 20 */ blr + +.global "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8002E838 0002B798 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002E83C 0002B79C 7C 08 02 A6 */ mflr r0 +/* 8002E840 0002B7A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002E844 0002B7A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002E848 0002B7A8 7C 7F 1B 78 */ mr r31, r3 +/* 8002E84C 0002B7AC 80 84 00 D4 */ lwz r4, 0xd4(r4) +/* 8002E850 0002B7B0 48 2C 94 15 */ bl "GetSegIdFromString__15CCharLayoutInfoCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002E854 0002B7B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002E858 0002B7B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002E85C 0002B7BC 7C 08 03 A6 */ mtlr r0 +/* 8002E860 0002B7C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002E864 0002B7C4 4E 80 00 20 */ blr + +.global GetBoundingBox__9CAnimDataCFRC12CTransform4f +GetBoundingBox__9CAnimDataCFRC12CTransform4f: +/* 8002E868 0002B7C8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002E86C 0002B7CC 7C 08 02 A6 */ mflr r0 +/* 8002E870 0002B7D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002E874 0002B7D4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002E878 0002B7D8 7C BF 2B 78 */ mr r31, r5 +/* 8002E87C 0002B7DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8002E880 0002B7E0 7C 7E 1B 78 */ mr r30, r3 +/* 8002E884 0002B7E4 38 61 00 08 */ addi r3, r1, 8 +/* 8002E888 0002B7E8 48 00 00 2D */ bl GetBoundingBox__9CAnimDataCFv +/* 8002E88C 0002B7EC 7F C3 F3 78 */ mr r3, r30 +/* 8002E890 0002B7F0 7F E5 FB 78 */ mr r5, r31 +/* 8002E894 0002B7F4 38 81 00 08 */ addi r4, r1, 8 +/* 8002E898 0002B7F8 48 30 90 65 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8002E89C 0002B7FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002E8A0 0002B800 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002E8A4 0002B804 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002E8A8 0002B808 7C 08 03 A6 */ mtlr r0 +/* 8002E8AC 0002B80C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002E8B0 0002B810 4E 80 00 20 */ blr + +.global GetBoundingBox__9CAnimDataCFv +GetBoundingBox__9CAnimDataCFv: +/* 8002E8B4 0002B814 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8002E8B8 0002B818 7C 08 02 A6 */ mflr r0 +/* 8002E8BC 0002B81C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8002E8C0 0002B820 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 8002E8C4 0002B824 7C 9C 23 78 */ mr r28, r4 +/* 8002E8C8 0002B828 7C 7B 1B 78 */ mr r27, r3 +/* 8002E8CC 0002B82C 3B FC 00 94 */ addi r31, r28, 0x94 +/* 8002E8D0 0002B830 80 04 00 98 */ lwz r0, 0x98(r4) +/* 8002E8D4 0002B834 2C 00 00 00 */ cmpwi r0, 0 +/* 8002E8D8 0002B838 40 81 01 38 */ ble lbl_8002EA10 +/* 8002E8DC 0002B83C 80 9C 01 F8 */ lwz r4, 0x1f8(r28) +/* 8002E8E0 0002B840 38 61 00 2C */ addi r3, r1, 0x2c +/* 8002E8E4 0002B844 80 84 00 00 */ lwz r4, 0(r4) +/* 8002E8E8 0002B848 48 00 02 A1 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 8002E8EC 0002B84C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8002E8F0 0002B850 3B A1 00 68 */ addi r29, r1, 0x68 +/* 8002E8F4 0002B854 3B C1 00 30 */ addi r30, r1, 0x30 +/* 8002E8F8 0002B858 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8002E8FC 0002B85C 7F A3 EB 78 */ mr r3, r29 +/* 8002E900 0002B860 7F C4 F3 78 */ mr r4, r30 +/* 8002E904 0002B864 48 30 F8 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002E908 0002B868 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 8002E90C 0002B86C 28 1E 00 00 */ cmplwi r30, 0 +/* 8002E910 0002B870 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 8002E914 0002B874 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 8002E918 0002B878 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 8002E91C 0002B87C C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8002E920 0002B880 88 81 00 54 */ lbz r4, 0x54(r1) +/* 8002E924 0002B884 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8002E928 0002B888 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 8002E92C 0002B88C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 8002E930 0002B890 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 8002E934 0002B894 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 8002E938 0002B898 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 8002E93C 0002B89C D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8002E940 0002B8A0 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8002E944 0002B8A4 98 81 00 8C */ stb r4, 0x8c(r1) +/* 8002E948 0002B8A8 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8002E94C 0002B8AC 90 61 00 94 */ stw r3, 0x94(r1) +/* 8002E950 0002B8B0 90 01 00 98 */ stw r0, 0x98(r1) +/* 8002E954 0002B8B4 41 82 00 0C */ beq lbl_8002E960 +/* 8002E958 0002B8B8 7F C3 F3 78 */ mr r3, r30 +/* 8002E95C 0002B8BC 48 30 F1 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002E960: +/* 8002E960 0002B8C0 7F A4 EB 78 */ mr r4, r29 +/* 8002E964 0002B8C4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8002E968 0002B8C8 48 30 F7 F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002E96C 0002B8CC 38 61 00 0C */ addi r3, r1, 0xc +/* 8002E970 0002B8D0 38 81 00 1C */ addi r4, r1, 0x1c +/* 8002E974 0002B8D4 48 30 F7 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002E978 0002B8D8 7F E4 FB 78 */ mr r4, r31 +/* 8002E97C 0002B8DC 38 61 00 08 */ addi r3, r1, 8 +/* 8002E980 0002B8E0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8002E984 0002B8E4 48 00 00 D1 */ bl sub_8002ea54 +/* 8002E988 0002B8E8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002E98C 0002B8EC 38 61 00 0C */ addi r3, r1, 0xc +/* 8002E990 0002B8F0 48 30 F1 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002E994 0002B8F4 80 1F 00 04 */ lwz r0, 4(r31) +/* 8002E998 0002B8F8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8002E99C 0002B8FC 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002E9A0 0002B900 7C 03 02 14 */ add r0, r3, r0 +/* 8002E9A4 0002B904 7C 1E 00 40 */ cmplw r30, r0 +/* 8002E9A8 0002B908 41 82 00 50 */ beq lbl_8002E9F8 +/* 8002E9AC 0002B90C C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8002E9B0 0002B910 38 61 00 1C */ addi r3, r1, 0x1c +/* 8002E9B4 0002B914 D0 1B 00 00 */ stfs f0, 0(r27) +/* 8002E9B8 0002B918 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 8002E9BC 0002B91C D0 1B 00 04 */ stfs f0, 4(r27) +/* 8002E9C0 0002B920 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 8002E9C4 0002B924 D0 1B 00 08 */ stfs f0, 8(r27) +/* 8002E9C8 0002B928 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 8002E9CC 0002B92C D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 8002E9D0 0002B930 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 8002E9D4 0002B934 D0 1B 00 10 */ stfs f0, 0x10(r27) +/* 8002E9D8 0002B938 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 8002E9DC 0002B93C D0 1B 00 14 */ stfs f0, 0x14(r27) +/* 8002E9E0 0002B940 48 30 F1 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002E9E4 0002B944 28 1D 00 00 */ cmplwi r29, 0 +/* 8002E9E8 0002B948 41 82 00 58 */ beq lbl_8002EA40 +/* 8002E9EC 0002B94C 7F A3 EB 78 */ mr r3, r29 +/* 8002E9F0 0002B950 48 30 F0 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002E9F4 0002B954 48 00 00 4C */ b lbl_8002EA40 +lbl_8002E9F8: +/* 8002E9F8 0002B958 38 61 00 1C */ addi r3, r1, 0x1c +/* 8002E9FC 0002B95C 48 30 F0 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002EA00 0002B960 28 1D 00 00 */ cmplwi r29, 0 +/* 8002EA04 0002B964 41 82 00 0C */ beq lbl_8002EA10 +/* 8002EA08 0002B968 7F A3 EB 78 */ mr r3, r29 +/* 8002EA0C 0002B96C 48 30 F0 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002EA10: +/* 8002EA10 0002B970 C0 1C 01 08 */ lfs f0, 0x108(r28) +/* 8002EA14 0002B974 D0 1B 00 00 */ stfs f0, 0(r27) +/* 8002EA18 0002B978 C0 1C 01 0C */ lfs f0, 0x10c(r28) +/* 8002EA1C 0002B97C D0 1B 00 04 */ stfs f0, 4(r27) +/* 8002EA20 0002B980 C0 1C 01 10 */ lfs f0, 0x110(r28) +/* 8002EA24 0002B984 D0 1B 00 08 */ stfs f0, 8(r27) +/* 8002EA28 0002B988 C0 1C 01 14 */ lfs f0, 0x114(r28) +/* 8002EA2C 0002B98C D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 8002EA30 0002B990 C0 1C 01 18 */ lfs f0, 0x118(r28) +/* 8002EA34 0002B994 D0 1B 00 10 */ stfs f0, 0x10(r27) +/* 8002EA38 0002B998 C0 1C 01 1C */ lfs f0, 0x11c(r28) +/* 8002EA3C 0002B99C D0 1B 00 14 */ stfs f0, 0x14(r27) +lbl_8002EA40: +/* 8002EA40 0002B9A0 BB 61 00 AC */ lmw r27, 0xac(r1) +/* 8002EA44 0002B9A4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8002EA48 0002B9A8 7C 08 03 A6 */ mtlr r0 +/* 8002EA4C 0002B9AC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8002EA50 0002B9B0 4E 80 00 20 */ blr + +.global sub_8002ea54 +sub_8002ea54: +/* 8002EA54 0002B9B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002EA58 0002B9B8 7C 08 02 A6 */ mflr r0 +/* 8002EA5C 0002B9BC 7C A6 2B 78 */ mr r6, r5 +/* 8002EA60 0002B9C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002EA64 0002B9C4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8002EA68 0002B9C8 89 21 00 08 */ lbz r9, 8(r1) +/* 8002EA6C 0002B9CC 38 E1 00 10 */ addi r7, r1, 0x10 +/* 8002EA70 0002B9D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002EA74 0002B9D4 7C 7F 1B 78 */ mr r31, r3 +/* 8002EA78 0002B9D8 80 04 00 04 */ lwz r0, 4(r4) +/* 8002EA7C 0002B9DC 81 04 00 0C */ lwz r8, 0xc(r4) +/* 8002EA80 0002B9E0 38 81 00 20 */ addi r4, r1, 0x20 +/* 8002EA84 0002B9E4 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002EA88 0002B9E8 99 21 00 0C */ stb r9, 0xc(r1) +/* 8002EA8C 0002B9EC 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8002EA90 0002B9F0 7C 08 02 14 */ add r0, r8, r0 +/* 8002EA94 0002B9F4 99 21 00 10 */ stb r9, 0x10(r1) +/* 8002EA98 0002B9F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002EA9C 0002B9FC 90 01 00 18 */ stw r0, 0x18(r1) +/* 8002EAA0 0002BA00 91 01 00 20 */ stw r8, 0x20(r1) +/* 8002EAA4 0002BA04 48 00 00 19 */ bl sub_8002eabc +/* 8002EAA8 0002BA08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002EAAC 0002BA0C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002EAB0 0002BA10 7C 08 03 A6 */ mtlr r0 +/* 8002EAB4 0002BA14 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002EAB8 0002BA18 4E 80 00 20 */ blr + +.global sub_8002eabc +sub_8002eabc: +/* 8002EABC 0002BA1C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8002EAC0 0002BA20 7C 08 02 A6 */ mflr r0 +/* 8002EAC4 0002BA24 90 01 00 44 */ stw r0, 0x44(r1) +/* 8002EAC8 0002BA28 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8002EACC 0002BA2C 7C 7B 1B 78 */ mr r27, r3 +/* 8002EAD0 0002BA30 7C BC 2B 78 */ mr r28, r5 +/* 8002EAD4 0002BA34 7C FE 3B 78 */ mr r30, r7 +/* 8002EAD8 0002BA38 7C DD 33 78 */ mr r29, r6 +/* 8002EADC 0002BA3C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002EAE0 0002BA40 80 04 00 00 */ lwz r0, 0(r4) +/* 8002EAE4 0002BA44 88 87 00 00 */ lbz r4, 0(r7) +/* 8002EAE8 0002BA48 38 E1 00 08 */ addi r7, r1, 8 +/* 8002EAEC 0002BA4C 81 05 00 00 */ lwz r8, 0(r5) +/* 8002EAF0 0002BA50 38 A1 00 0C */ addi r5, r1, 0xc +/* 8002EAF4 0002BA54 98 81 00 08 */ stb r4, 8(r1) +/* 8002EAF8 0002BA58 38 81 00 10 */ addi r4, r1, 0x10 +/* 8002EAFC 0002BA5C 91 01 00 0C */ stw r8, 0xc(r1) +/* 8002EB00 0002BA60 90 01 00 10 */ stw r0, 0x10(r1) +/* 8002EB04 0002BA64 48 00 25 0D */ bl sub_80031010 +/* 8002EB08 0002BA68 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8002EB0C 0002BA6C 3B E0 00 00 */ li r31, 0 +/* 8002EB10 0002BA70 80 1C 00 00 */ lwz r0, 0(r28) +/* 8002EB14 0002BA74 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8002EB18 0002BA78 7C 05 00 40 */ cmplw r5, r0 +/* 8002EB1C 0002BA7C 41 82 00 1C */ beq lbl_8002EB38 +/* 8002EB20 0002BA80 7F C3 F3 78 */ mr r3, r30 +/* 8002EB24 0002BA84 7F A4 EB 78 */ mr r4, r29 +/* 8002EB28 0002BA88 48 00 00 41 */ bl sub_8002eb68 +/* 8002EB2C 0002BA8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002EB30 0002BA90 40 82 00 08 */ bne lbl_8002EB38 +/* 8002EB34 0002BA94 3B E0 00 01 */ li r31, 1 +lbl_8002EB38: +/* 8002EB38 0002BA98 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8002EB3C 0002BA9C 41 82 00 0C */ beq lbl_8002EB48 +/* 8002EB40 0002BAA0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002EB44 0002BAA4 48 00 00 08 */ b lbl_8002EB4C +lbl_8002EB48: +/* 8002EB48 0002BAA8 7F 83 E3 78 */ mr r3, r28 +lbl_8002EB4C: +/* 8002EB4C 0002BAAC 80 03 00 00 */ lwz r0, 0(r3) +/* 8002EB50 0002BAB0 90 1B 00 00 */ stw r0, 0(r27) +/* 8002EB54 0002BAB4 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8002EB58 0002BAB8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8002EB5C 0002BABC 7C 08 03 A6 */ mtlr r0 +/* 8002EB60 0002BAC0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8002EB64 0002BAC4 4E 80 00 20 */ blr + +.global sub_8002eb68 +sub_8002eb68: +/* 8002EB68 0002BAC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002EB6C 0002BACC 7C 08 02 A6 */ mflr r0 +/* 8002EB70 0002BAD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002EB74 0002BAD4 4B FF BB B5 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8002EB78 0002BAD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002EB7C 0002BADC 7C 08 03 A6 */ mtlr r0 +/* 8002EB80 0002BAE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002EB84 0002BAE4 4E 80 00 20 */ blr + +.global GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +GetContributionOfHighestInfluence__13CAnimTreeNodeCFv: +/* 8002EB88 0002BAE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002EB8C 0002BAEC 7C 08 02 A6 */ mflr r0 +/* 8002EB90 0002BAF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002EB94 0002BAF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002EB98 0002BAF8 7C 7F 1B 78 */ mr r31, r3 +/* 8002EB9C 0002BAFC 81 84 00 00 */ lwz r12, 0(r4) +/* 8002EBA0 0002BB00 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8002EBA4 0002BB04 7D 89 03 A6 */ mtctr r12 +/* 8002EBA8 0002BB08 4E 80 04 21 */ bctrl +/* 8002EBAC 0002BB0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002EBB0 0002BB10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002EBB4 0002BB14 7C 08 03 A6 */ mtlr r0 +/* 8002EBB8 0002BB18 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002EBBC 0002BB1C 4E 80 00 20 */ blr + +.global __dt__9CAnimDataFv +__dt__9CAnimDataFv: +/* 8002EBC0 0002BB20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002EBC4 0002BB24 7C 08 02 A6 */ mflr r0 +/* 8002EBC8 0002BB28 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002EBCC 0002BB2C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8002EBD0 0002BB30 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002EBD4 0002BB34 7C 9F 23 78 */ mr r31, r4 +/* 8002EBD8 0002BB38 41 82 02 D4 */ beq lbl_8002EEAC +/* 8002EBDC 0002BB3C 80 6D A1 08 */ lwz r3, lbl_805A8CC8@sda21(r13) +/* 8002EBE0 0002BB40 34 03 FF FF */ addic. r0, r3, -1 +/* 8002EBE4 0002BB44 90 0D A1 08 */ stw r0, lbl_805A8CC8@sda21(r13) +/* 8002EBE8 0002BB48 40 82 01 34 */ bne lbl_8002ED1C +/* 8002EBEC 0002BB4C 3C 60 80 57 */ lis r3, lbl_8056A600@ha +/* 8002EBF0 0002BB50 3B 80 00 00 */ li r28, 0 +/* 8002EBF4 0002BB54 3B A3 A6 00 */ addi r29, r3, lbl_8056A600@l +/* 8002EBF8 0002BB58 3B 7D 00 04 */ addi r27, r29, 4 +/* 8002EBFC 0002BB5C 48 00 00 24 */ b lbl_8002EC20 +lbl_8002EC00: +/* 8002EC00 0002BB60 7F 63 DB 78 */ mr r3, r27 +/* 8002EC04 0002BB64 38 80 FF FF */ li r4, -1 +/* 8002EC08 0002BB68 81 9B 00 00 */ lwz r12, 0(r27) +/* 8002EC0C 0002BB6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002EC10 0002BB70 7D 89 03 A6 */ mtctr r12 +/* 8002EC14 0002BB74 4E 80 04 21 */ bctrl +/* 8002EC18 0002BB78 3B 7B 00 3C */ addi r27, r27, 0x3c +/* 8002EC1C 0002BB7C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8002EC20: +/* 8002EC20 0002BB80 80 1D 00 00 */ lwz r0, 0(r29) +/* 8002EC24 0002BB84 7C 1C 00 00 */ cmpw r28, r0 +/* 8002EC28 0002BB88 41 80 FF D8 */ blt lbl_8002EC00 +/* 8002EC2C 0002BB8C 3C 60 80 57 */ lis r3, lbl_8056A600@ha +/* 8002EC30 0002BB90 3B 80 00 00 */ li r28, 0 +/* 8002EC34 0002BB94 38 83 A6 00 */ addi r4, r3, lbl_8056A600@l +/* 8002EC38 0002BB98 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8002EC3C 0002BB9C 93 84 00 00 */ stw r28, 0(r4) +/* 8002EC40 0002BBA0 3B A3 BD F4 */ addi r29, r3, lbl_8056BDF4@l +/* 8002EC44 0002BBA4 3B 7D 00 04 */ addi r27, r29, 4 +/* 8002EC48 0002BBA8 48 00 00 24 */ b lbl_8002EC6C +lbl_8002EC4C: +/* 8002EC4C 0002BBAC 7F 63 DB 78 */ mr r3, r27 +/* 8002EC50 0002BBB0 38 80 FF FF */ li r4, -1 +/* 8002EC54 0002BBB4 81 9B 00 00 */ lwz r12, 0(r27) +/* 8002EC58 0002BBB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002EC5C 0002BBBC 7D 89 03 A6 */ mtctr r12 +/* 8002EC60 0002BBC0 4E 80 04 21 */ bctrl +/* 8002EC64 0002BBC4 3B 7B 00 4C */ addi r27, r27, 0x4c +/* 8002EC68 0002BBC8 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8002EC6C: +/* 8002EC6C 0002BBCC 80 1D 00 00 */ lwz r0, 0(r29) +/* 8002EC70 0002BBD0 7C 1C 00 00 */ cmpw r28, r0 +/* 8002EC74 0002BBD4 41 80 FF D8 */ blt lbl_8002EC4C +/* 8002EC78 0002BBD8 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8002EC7C 0002BBDC 3B 80 00 00 */ li r28, 0 +/* 8002EC80 0002BBE0 38 83 BD F4 */ addi r4, r3, lbl_8056BDF4@l +/* 8002EC84 0002BBE4 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha +/* 8002EC88 0002BBE8 93 84 00 00 */ stw r28, 0(r4) +/* 8002EC8C 0002BBEC 3B A3 C2 B8 */ addi r29, r3, lbl_8056C2B8@l +/* 8002EC90 0002BBF0 3B 7D 00 04 */ addi r27, r29, 4 +/* 8002EC94 0002BBF4 48 00 00 24 */ b lbl_8002ECB8 +lbl_8002EC98: +/* 8002EC98 0002BBF8 7F 63 DB 78 */ mr r3, r27 +/* 8002EC9C 0002BBFC 38 80 FF FF */ li r4, -1 +/* 8002ECA0 0002BC00 81 9B 00 00 */ lwz r12, 0(r27) +/* 8002ECA4 0002BC04 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002ECA8 0002BC08 7D 89 03 A6 */ mtctr r12 +/* 8002ECAC 0002BC0C 4E 80 04 21 */ bctrl +/* 8002ECB0 0002BC10 3B 7B 00 5C */ addi r27, r27, 0x5c +/* 8002ECB4 0002BC14 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8002ECB8: +/* 8002ECB8 0002BC18 80 1D 00 00 */ lwz r0, 0(r29) +/* 8002ECBC 0002BC1C 7C 1C 00 00 */ cmpw r28, r0 +/* 8002ECC0 0002BC20 41 80 FF D8 */ blt lbl_8002EC98 +/* 8002ECC4 0002BC24 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha +/* 8002ECC8 0002BC28 3B 80 00 00 */ li r28, 0 +/* 8002ECCC 0002BC2C 38 83 C2 B8 */ addi r4, r3, lbl_8056C2B8@l +/* 8002ECD0 0002BC30 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha +/* 8002ECD4 0002BC34 93 84 00 00 */ stw r28, 0(r4) +/* 8002ECD8 0002BC38 3B A3 C9 EC */ addi r29, r3, lbl_8056C9EC@l +/* 8002ECDC 0002BC3C 3B 7D 00 04 */ addi r27, r29, 4 +/* 8002ECE0 0002BC40 48 00 00 24 */ b lbl_8002ED04 +lbl_8002ECE4: +/* 8002ECE4 0002BC44 7F 63 DB 78 */ mr r3, r27 +/* 8002ECE8 0002BC48 38 80 FF FF */ li r4, -1 +/* 8002ECEC 0002BC4C 81 9B 00 00 */ lwz r12, 0(r27) +/* 8002ECF0 0002BC50 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002ECF4 0002BC54 7D 89 03 A6 */ mtctr r12 +/* 8002ECF8 0002BC58 4E 80 04 21 */ bctrl +/* 8002ECFC 0002BC5C 3B 7B 00 44 */ addi r27, r27, 0x44 +/* 8002ED00 0002BC60 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8002ED04: +/* 8002ED04 0002BC64 80 1D 00 00 */ lwz r0, 0(r29) +/* 8002ED08 0002BC68 7C 1C 00 00 */ cmpw r28, r0 +/* 8002ED0C 0002BC6C 41 80 FF D8 */ blt lbl_8002ECE4 +/* 8002ED10 0002BC70 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha +/* 8002ED14 0002BC74 38 00 00 00 */ li r0, 0 +/* 8002ED18 0002BC78 90 03 C9 EC */ stw r0, lbl_8056C9EC@l(r3) +lbl_8002ED1C: +/* 8002ED1C 0002BC7C 34 1E 04 34 */ addic. r0, r30, 0x434 +/* 8002ED20 0002BC80 41 82 00 50 */ beq lbl_8002ED70 +/* 8002ED24 0002BC84 3B 7E 04 38 */ addi r27, r30, 0x438 +/* 8002ED28 0002BC88 3B 80 00 00 */ li r28, 0 +/* 8002ED2C 0002BC8C 48 00 00 30 */ b lbl_8002ED5C +lbl_8002ED30: +/* 8002ED30 0002BC90 28 1B 00 00 */ cmplwi r27, 0 +/* 8002ED34 0002BC94 41 82 00 20 */ beq lbl_8002ED54 +/* 8002ED38 0002BC98 34 1B 00 04 */ addic. r0, r27, 4 +/* 8002ED3C 0002BC9C 41 82 00 18 */ beq lbl_8002ED54 +/* 8002ED40 0002BCA0 34 7B 00 0C */ addic. r3, r27, 0xc +/* 8002ED44 0002BCA4 41 82 00 10 */ beq lbl_8002ED54 +/* 8002ED48 0002BCA8 28 03 00 00 */ cmplwi r3, 0 +/* 8002ED4C 0002BCAC 41 82 00 08 */ beq lbl_8002ED54 +/* 8002ED50 0002BCB0 48 00 22 51 */ bl sub_80030fa0 +lbl_8002ED54: +/* 8002ED54 0002BCB4 3B 7B 00 28 */ addi r27, r27, 0x28 +/* 8002ED58 0002BCB8 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8002ED5C: +/* 8002ED5C 0002BCBC 80 1E 04 34 */ lwz r0, 0x434(r30) +/* 8002ED60 0002BCC0 7C 1C 00 00 */ cmpw r28, r0 +/* 8002ED64 0002BCC4 41 80 FF CC */ blt lbl_8002ED30 +/* 8002ED68 0002BCC8 38 00 00 00 */ li r0, 0 +/* 8002ED6C 0002BCCC 90 1E 04 34 */ stw r0, 0x434(r30) +lbl_8002ED70: +/* 8002ED70 0002BCD0 38 7E 02 FC */ addi r3, r30, 0x2fc +/* 8002ED74 0002BCD4 38 80 FF FF */ li r4, -1 +/* 8002ED78 0002BCD8 48 00 08 41 */ bl __dt__21CHierarchyPoseBuilderFv +/* 8002ED7C 0002BCDC 34 1E 02 24 */ addic. r0, r30, 0x224 +/* 8002ED80 0002BCE0 41 82 00 10 */ beq lbl_8002ED90 +/* 8002ED84 0002BCE4 38 7E 02 24 */ addi r3, r30, 0x224 +/* 8002ED88 0002BCE8 38 80 FF FF */ li r4, -1 +/* 8002ED8C 0002BCEC 48 00 28 05 */ bl __dt__17CPoseAsTransformsFv +lbl_8002ED90: +/* 8002ED90 0002BCF0 34 1E 01 FC */ addic. r0, r30, 0x1fc +/* 8002ED94 0002BCF4 41 82 00 0C */ beq lbl_8002EDA0 +/* 8002ED98 0002BCF8 38 7E 01 FC */ addi r3, r30, 0x1fc +/* 8002ED9C 0002BCFC 48 00 26 C1 */ bl sub_8003145c +lbl_8002EDA0: +/* 8002EDA0 0002BD00 34 1E 01 F8 */ addic. r0, r30, 0x1f8 +/* 8002EDA4 0002BD04 41 82 00 14 */ beq lbl_8002EDB8 +/* 8002EDA8 0002BD08 34 1E 01 F8 */ addic. r0, r30, 0x1f8 +/* 8002EDAC 0002BD0C 41 82 00 0C */ beq lbl_8002EDB8 +/* 8002EDB0 0002BD10 38 7E 01 F8 */ addi r3, r30, 0x1f8 +/* 8002EDB4 0002BD14 48 00 21 ED */ bl sub_80030fa0 +lbl_8002EDB8: +/* 8002EDB8 0002BD18 38 7E 01 20 */ addi r3, r30, 0x120 +/* 8002EDBC 0002BD1C 38 80 FF FF */ li r4, -1 +/* 8002EDC0 0002BD20 48 08 B9 D5 */ bl __dt__17CParticleDatabaseFv +/* 8002EDC4 0002BD24 34 1E 01 00 */ addic. r0, r30, 0x100 +/* 8002EDC8 0002BD28 41 82 00 0C */ beq lbl_8002EDD4 +/* 8002EDCC 0002BD2C 38 7E 01 00 */ addi r3, r30, 0x100 +/* 8002EDD0 0002BD30 48 00 25 DD */ bl sub_800313ac +lbl_8002EDD4: +/* 8002EDD4 0002BD34 34 1E 00 FC */ addic. r0, r30, 0xfc +/* 8002EDD8 0002BD38 41 82 00 14 */ beq lbl_8002EDEC +/* 8002EDDC 0002BD3C 34 1E 00 FC */ addic. r0, r30, 0xfc +/* 8002EDE0 0002BD40 41 82 00 0C */ beq lbl_8002EDEC +/* 8002EDE4 0002BD44 38 7E 00 FC */ addi r3, r30, 0xfc +/* 8002EDE8 0002BD48 48 00 27 11 */ bl sub_800314f8 +lbl_8002EDEC: +/* 8002EDEC 0002BD4C 34 1E 00 F8 */ addic. r0, r30, 0xf8 +/* 8002EDF0 0002BD50 41 82 00 0C */ beq lbl_8002EDFC +/* 8002EDF4 0002BD54 38 7E 00 F8 */ addi r3, r30, 0xf8 +/* 8002EDF8 0002BD58 48 00 20 C9 */ bl sub_80030ec0 +lbl_8002EDFC: +/* 8002EDFC 0002BD5C 34 1E 00 F4 */ addic. r0, r30, 0xf4 +/* 8002EE00 0002BD60 41 82 00 0C */ beq lbl_8002EE0C +/* 8002EE04 0002BD64 38 7E 00 F4 */ addi r3, r30, 0xf4 +/* 8002EE08 0002BD68 48 00 20 B9 */ bl sub_80030ec0 +lbl_8002EE0C: +/* 8002EE0C 0002BD6C 34 1E 00 E4 */ addic. r0, r30, 0xe4 +/* 8002EE10 0002BD70 41 82 00 30 */ beq lbl_8002EE40 +/* 8002EE14 0002BD74 88 1E 00 F0 */ lbz r0, 0xf0(r30) +/* 8002EE18 0002BD78 28 00 00 00 */ cmplwi r0, 0 +/* 8002EE1C 0002BD7C 41 82 00 1C */ beq lbl_8002EE38 +/* 8002EE20 0002BD80 34 7E 00 E4 */ addic. r3, r30, 0xe4 +/* 8002EE24 0002BD84 41 82 00 14 */ beq lbl_8002EE38 +/* 8002EE28 0002BD88 28 03 00 00 */ cmplwi r3, 0 +/* 8002EE2C 0002BD8C 41 82 00 0C */ beq lbl_8002EE38 +/* 8002EE30 0002BD90 38 80 00 00 */ li r4, 0 +/* 8002EE34 0002BD94 48 31 20 0D */ bl __dt__6CTokenFv +lbl_8002EE38: +/* 8002EE38 0002BD98 38 00 00 00 */ li r0, 0 +/* 8002EE3C 0002BD9C 98 1E 00 F0 */ stb r0, 0xf0(r30) +lbl_8002EE40: +/* 8002EE40 0002BDA0 34 1E 00 D8 */ addic. r0, r30, 0xd8 +/* 8002EE44 0002BDA4 41 82 00 18 */ beq lbl_8002EE5C +/* 8002EE48 0002BDA8 34 1E 00 D8 */ addic. r0, r30, 0xd8 +/* 8002EE4C 0002BDAC 41 82 00 10 */ beq lbl_8002EE5C +/* 8002EE50 0002BDB0 38 7E 00 D8 */ addi r3, r30, 0xd8 +/* 8002EE54 0002BDB4 38 80 00 00 */ li r4, 0 +/* 8002EE58 0002BDB8 48 31 1F E9 */ bl __dt__6CTokenFv +lbl_8002EE5C: +/* 8002EE5C 0002BDBC 34 1E 00 CC */ addic. r0, r30, 0xcc +/* 8002EE60 0002BDC0 41 82 00 18 */ beq lbl_8002EE78 +/* 8002EE64 0002BDC4 34 1E 00 CC */ addic. r0, r30, 0xcc +/* 8002EE68 0002BDC8 41 82 00 10 */ beq lbl_8002EE78 +/* 8002EE6C 0002BDCC 38 7E 00 CC */ addi r3, r30, 0xcc +/* 8002EE70 0002BDD0 38 80 00 00 */ li r4, 0 +/* 8002EE74 0002BDD4 48 31 1F CD */ bl __dt__6CTokenFv +lbl_8002EE78: +/* 8002EE78 0002BDD8 38 7E 00 0C */ addi r3, r30, 0xc +/* 8002EE7C 0002BDDC 38 80 FF FF */ li r4, -1 +/* 8002EE80 0002BDE0 48 00 00 45 */ bl __dt__14CCharacterInfoFv +/* 8002EE84 0002BDE4 28 1E 00 00 */ cmplwi r30, 0 +/* 8002EE88 0002BDE8 41 82 00 14 */ beq lbl_8002EE9C +/* 8002EE8C 0002BDEC 41 82 00 10 */ beq lbl_8002EE9C +/* 8002EE90 0002BDF0 7F C3 F3 78 */ mr r3, r30 +/* 8002EE94 0002BDF4 38 80 00 00 */ li r4, 0 +/* 8002EE98 0002BDF8 48 31 1F A9 */ bl __dt__6CTokenFv +lbl_8002EE9C: +/* 8002EE9C 0002BDFC 7F E0 07 35 */ extsh. r0, r31 +/* 8002EEA0 0002BE00 40 81 00 0C */ ble lbl_8002EEAC +/* 8002EEA4 0002BE04 7F C3 F3 78 */ mr r3, r30 +/* 8002EEA8 0002BE08 48 2E 6A 89 */ bl Free__7CMemoryFPCv +lbl_8002EEAC: +/* 8002EEAC 0002BE0C 7F C3 F3 78 */ mr r3, r30 +/* 8002EEB0 0002BE10 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8002EEB4 0002BE14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002EEB8 0002BE18 7C 08 03 A6 */ mtlr r0 +/* 8002EEBC 0002BE1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002EEC0 0002BE20 4E 80 00 20 */ blr + +.global __dt__14CCharacterInfoFv +__dt__14CCharacterInfoFv: +/* 8002EEC4 0002BE24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002EEC8 0002BE28 7C 08 02 A6 */ mflr r0 +/* 8002EECC 0002BE2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002EED0 0002BE30 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002EED4 0002BE34 7C 9F 23 78 */ mr r31, r4 +/* 8002EED8 0002BE38 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002EEDC 0002BE3C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002EEE0 0002BE40 41 82 00 A8 */ beq lbl_8002EF88 +/* 8002EEE4 0002BE44 34 1E 00 B0 */ addic. r0, r30, 0xb0 +/* 8002EEE8 0002BE48 41 82 00 44 */ beq lbl_8002EF2C +/* 8002EEEC 0002BE4C 80 1E 00 B4 */ lwz r0, 0xb4(r30) +/* 8002EEF0 0002BE50 80 7E 00 BC */ lwz r3, 0xbc(r30) +/* 8002EEF4 0002BE54 54 00 10 3A */ slwi r0, r0, 2 +/* 8002EEF8 0002BE58 7C 03 02 14 */ add r0, r3, r0 +/* 8002EEFC 0002BE5C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8002EF00 0002BE60 7C 64 1B 78 */ mr r4, r3 +/* 8002EF04 0002BE64 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002EF08 0002BE68 90 01 00 10 */ stw r0, 0x10(r1) +/* 8002EF0C 0002BE6C 90 61 00 08 */ stw r3, 8(r1) +/* 8002EF10 0002BE70 48 00 00 08 */ b lbl_8002EF18 +lbl_8002EF14: +/* 8002EF14 0002BE74 38 84 00 04 */ addi r4, r4, 4 +lbl_8002EF18: +/* 8002EF18 0002BE78 7C 04 00 40 */ cmplw r4, r0 +/* 8002EF1C 0002BE7C 40 82 FF F8 */ bne lbl_8002EF14 +/* 8002EF20 0002BE80 28 03 00 00 */ cmplwi r3, 0 +/* 8002EF24 0002BE84 41 82 00 08 */ beq lbl_8002EF2C +/* 8002EF28 0002BE88 48 2E 6A 09 */ bl Free__7CMemoryFPCv +lbl_8002EF2C: +/* 8002EF2C 0002BE8C 38 7E 00 98 */ addi r3, r30, 0x98 +/* 8002EF30 0002BE90 38 80 FF FF */ li r4, -1 +/* 8002EF34 0002BE94 4B FF B9 D1 */ bl sub_8002a904 +/* 8002EF38 0002BE98 38 7E 00 88 */ addi r3, r30, 0x88 +/* 8002EF3C 0002BE9C 38 80 FF FF */ li r4, -1 +/* 8002EF40 0002BEA0 48 00 05 C9 */ bl "__dt__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fv" +/* 8002EF44 0002BEA4 38 7E 00 44 */ addi r3, r30, 0x44 +/* 8002EF48 0002BEA8 38 80 FF FF */ li r4, -1 +/* 8002EF4C 0002BEAC 48 00 04 51 */ bl __dt__Q214CCharacterInfo16CParticleResDataFv +/* 8002EF50 0002BEB0 38 7E 00 30 */ addi r3, r30, 0x30 +/* 8002EF54 0002BEB4 38 80 FF FF */ li r4, -1 +/* 8002EF58 0002BEB8 48 00 01 15 */ bl __dt__12CPASDatabaseFv +/* 8002EF5C 0002BEBC 38 7E 00 20 */ addi r3, r30, 0x20 +/* 8002EF60 0002BEC0 38 80 FF FF */ li r4, -1 +/* 8002EF64 0002BEC4 48 00 00 41 */ bl sub_8002efa4 +/* 8002EF68 0002BEC8 34 1E 00 04 */ addic. r0, r30, 4 +/* 8002EF6C 0002BECC 41 82 00 0C */ beq lbl_8002EF78 +/* 8002EF70 0002BED0 38 7E 00 04 */ addi r3, r30, 4 +/* 8002EF74 0002BED4 48 30 EB 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002EF78: +/* 8002EF78 0002BED8 7F E0 07 35 */ extsh. r0, r31 +/* 8002EF7C 0002BEDC 40 81 00 0C */ ble lbl_8002EF88 +/* 8002EF80 0002BEE0 7F C3 F3 78 */ mr r3, r30 +/* 8002EF84 0002BEE4 48 2E 69 AD */ bl Free__7CMemoryFPCv +lbl_8002EF88: +/* 8002EF88 0002BEE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002EF8C 0002BEEC 7F C3 F3 78 */ mr r3, r30 +/* 8002EF90 0002BEF0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002EF94 0002BEF4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002EF98 0002BEF8 7C 08 03 A6 */ mtlr r0 +/* 8002EF9C 0002BEFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002EFA0 0002BF00 4E 80 00 20 */ blr + +.global sub_8002efa4 +sub_8002efa4: +/* 8002EFA4 0002BF04 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002EFA8 0002BF08 7C 08 02 A6 */ mflr r0 +/* 8002EFAC 0002BF0C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002EFB0 0002BF10 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002EFB4 0002BF14 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8002EFB8 0002BF18 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8002EFBC 0002BF1C 7C 9D 23 78 */ mr r29, r4 +/* 8002EFC0 0002BF20 93 81 00 20 */ stw r28, 0x20(r1) +/* 8002EFC4 0002BF24 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8002EFC8 0002BF28 41 82 00 80 */ beq lbl_8002F048 +/* 8002EFCC 0002BF2C 80 1C 00 04 */ lwz r0, 4(r28) +/* 8002EFD0 0002BF30 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8002EFD4 0002BF34 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8002EFD8 0002BF38 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8002EFDC 0002BF3C 7F FE 02 14 */ add r31, r30, r0 +/* 8002EFE0 0002BF40 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8002EFE4 0002BF44 93 E1 00 08 */ stw r31, 8(r1) +/* 8002EFE8 0002BF48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002EFEC 0002BF4C 48 00 00 34 */ b lbl_8002F020 +lbl_8002EFF0: +/* 8002EFF0 0002BF50 28 1E 00 00 */ cmplwi r30, 0 +/* 8002EFF4 0002BF54 41 82 00 28 */ beq lbl_8002F01C +/* 8002EFF8 0002BF58 34 1E 00 04 */ addic. r0, r30, 4 +/* 8002EFFC 0002BF5C 41 82 00 20 */ beq lbl_8002F01C +/* 8002F000 0002BF60 34 7E 00 14 */ addic. r3, r30, 0x14 +/* 8002F004 0002BF64 41 82 00 08 */ beq lbl_8002F00C +/* 8002F008 0002BF68 48 30 EA D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002F00C: +/* 8002F00C 0002BF6C 34 1E 00 04 */ addic. r0, r30, 4 +/* 8002F010 0002BF70 41 82 00 0C */ beq lbl_8002F01C +/* 8002F014 0002BF74 38 7E 00 04 */ addi r3, r30, 4 +/* 8002F018 0002BF78 48 30 EA C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002F01C: +/* 8002F01C 0002BF7C 3B DE 00 24 */ addi r30, r30, 0x24 +lbl_8002F020: +/* 8002F020 0002BF80 7C 1E F8 40 */ cmplw r30, r31 +/* 8002F024 0002BF84 40 82 FF CC */ bne lbl_8002EFF0 +/* 8002F028 0002BF88 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8002F02C 0002BF8C 28 03 00 00 */ cmplwi r3, 0 +/* 8002F030 0002BF90 41 82 00 08 */ beq lbl_8002F038 +/* 8002F034 0002BF94 48 2E 68 FD */ bl Free__7CMemoryFPCv +lbl_8002F038: +/* 8002F038 0002BF98 7F A0 07 35 */ extsh. r0, r29 +/* 8002F03C 0002BF9C 40 81 00 0C */ ble lbl_8002F048 +/* 8002F040 0002BFA0 7F 83 E3 78 */ mr r3, r28 +/* 8002F044 0002BFA4 48 2E 68 ED */ bl Free__7CMemoryFPCv +lbl_8002F048: +/* 8002F048 0002BFA8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002F04C 0002BFAC 7F 83 E3 78 */ mr r3, r28 +/* 8002F050 0002BFB0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002F054 0002BFB4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002F058 0002BFB8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8002F05C 0002BFBC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8002F060 0002BFC0 7C 08 03 A6 */ mtlr r0 +/* 8002F064 0002BFC4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002F068 0002BFC8 4E 80 00 20 */ blr + +.global __dt__12CPASDatabaseFv +__dt__12CPASDatabaseFv: +/* 8002F06C 0002BFCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002F070 0002BFD0 7C 08 02 A6 */ mflr r0 +/* 8002F074 0002BFD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F078 0002BFD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002F07C 0002BFDC 7C 9F 23 78 */ mr r31, r4 +/* 8002F080 0002BFE0 93 C1 00 08 */ stw r30, 8(r1) +/* 8002F084 0002BFE4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F088 0002BFE8 41 82 00 1C */ beq lbl_8002F0A4 +/* 8002F08C 0002BFEC 38 80 FF FF */ li r4, -1 +/* 8002F090 0002BFF0 48 00 00 31 */ bl sub_8002f0c0 +/* 8002F094 0002BFF4 7F E0 07 35 */ extsh. r0, r31 +/* 8002F098 0002BFF8 40 81 00 0C */ ble lbl_8002F0A4 +/* 8002F09C 0002BFFC 7F C3 F3 78 */ mr r3, r30 +/* 8002F0A0 0002C000 48 2E 68 91 */ bl Free__7CMemoryFPCv +lbl_8002F0A4: +/* 8002F0A4 0002C004 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002F0A8 0002C008 7F C3 F3 78 */ mr r3, r30 +/* 8002F0AC 0002C00C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002F0B0 0002C010 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002F0B4 0002C014 7C 08 03 A6 */ mtlr r0 +/* 8002F0B8 0002C018 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002F0BC 0002C01C 4E 80 00 20 */ blr + +.global sub_8002f0c0 +sub_8002f0c0: +/* 8002F0C0 0002C020 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002F0C4 0002C024 7C 08 02 A6 */ mflr r0 +/* 8002F0C8 0002C028 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002F0CC 0002C02C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002F0D0 0002C030 7C 9F 23 78 */ mr r31, r4 +/* 8002F0D4 0002C034 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002F0D8 0002C038 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F0DC 0002C03C 41 82 00 54 */ beq lbl_8002F130 +/* 8002F0E0 0002C040 80 1E 00 04 */ lwz r0, 4(r30) +/* 8002F0E4 0002C044 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002F0E8 0002C048 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8002F0EC 0002C04C 38 81 00 0C */ addi r4, r1, 0xc +/* 8002F0F0 0002C050 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 8002F0F4 0002C054 7C A5 02 14 */ add r5, r5, r0 +/* 8002F0F8 0002C058 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8002F0FC 0002C05C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8002F100 0002C060 90 A1 00 08 */ stw r5, 8(r1) +/* 8002F104 0002C064 90 01 00 10 */ stw r0, 0x10(r1) +/* 8002F108 0002C068 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F10C 0002C06C 48 00 00 41 */ bl sub_8002f14c +/* 8002F110 0002C070 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8002F114 0002C074 28 03 00 00 */ cmplwi r3, 0 +/* 8002F118 0002C078 41 82 00 08 */ beq lbl_8002F120 +/* 8002F11C 0002C07C 48 2E 68 15 */ bl Free__7CMemoryFPCv +lbl_8002F120: +/* 8002F120 0002C080 7F E0 07 35 */ extsh. r0, r31 +/* 8002F124 0002C084 40 81 00 0C */ ble lbl_8002F130 +/* 8002F128 0002C088 7F C3 F3 78 */ mr r3, r30 +/* 8002F12C 0002C08C 48 2E 68 05 */ bl Free__7CMemoryFPCv +lbl_8002F130: +/* 8002F130 0002C090 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002F134 0002C094 7F C3 F3 78 */ mr r3, r30 +/* 8002F138 0002C098 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002F13C 0002C09C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002F140 0002C0A0 7C 08 03 A6 */ mtlr r0 +/* 8002F144 0002C0A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002F148 0002C0A8 4E 80 00 20 */ blr + +.global sub_8002f14c +sub_8002f14c: +/* 8002F14C 0002C0AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002F150 0002C0B0 7C 08 02 A6 */ mflr r0 +/* 8002F154 0002C0B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F158 0002C0B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002F15C 0002C0BC 93 C1 00 08 */ stw r30, 8(r1) +/* 8002F160 0002C0C0 7C 9E 23 78 */ mr r30, r4 +/* 8002F164 0002C0C4 83 E3 00 00 */ lwz r31, 0(r3) +/* 8002F168 0002C0C8 48 00 00 10 */ b lbl_8002F178 +lbl_8002F16C: +/* 8002F16C 0002C0CC 7F E3 FB 78 */ mr r3, r31 +/* 8002F170 0002C0D0 48 00 00 2D */ bl sub_8002f19c +/* 8002F174 0002C0D4 3B FF 00 34 */ addi r31, r31, 0x34 +lbl_8002F178: +/* 8002F178 0002C0D8 80 1E 00 00 */ lwz r0, 0(r30) +/* 8002F17C 0002C0DC 7C 1F 00 40 */ cmplw r31, r0 +/* 8002F180 0002C0E0 40 82 FF EC */ bne lbl_8002F16C +/* 8002F184 0002C0E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002F188 0002C0E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002F18C 0002C0EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002F190 0002C0F0 7C 08 03 A6 */ mtlr r0 +/* 8002F194 0002C0F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002F198 0002C0F8 4E 80 00 20 */ blr + +.global sub_8002f19c +sub_8002f19c: +/* 8002F19C 0002C0FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002F1A0 0002C100 7C 08 02 A6 */ mflr r0 +/* 8002F1A4 0002C104 38 80 FF FF */ li r4, -1 +/* 8002F1A8 0002C108 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F1AC 0002C10C 48 00 00 15 */ bl "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" +/* 8002F1B0 0002C110 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002F1B4 0002C114 7C 08 03 A6 */ mtlr r0 +/* 8002F1B8 0002C118 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002F1BC 0002C11C 4E 80 00 20 */ blr + +.global "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" +"__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv": +/* 8002F1C0 0002C120 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002F1C4 0002C124 7C 08 02 A6 */ mflr r0 +/* 8002F1C8 0002C128 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002F1CC 0002C12C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002F1D0 0002C130 7C 9F 23 78 */ mr r31, r4 +/* 8002F1D4 0002C134 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8002F1D8 0002C138 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F1DC 0002C13C 41 82 00 B0 */ beq lbl_8002F28C +/* 8002F1E0 0002C140 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 8002F1E4 0002C144 41 82 00 44 */ beq lbl_8002F228 +/* 8002F1E8 0002C148 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8002F1EC 0002C14C 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8002F1F0 0002C150 54 00 10 3A */ slwi r0, r0, 2 +/* 8002F1F4 0002C154 7C 03 02 14 */ add r0, r3, r0 +/* 8002F1F8 0002C158 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8002F1FC 0002C15C 7C 64 1B 78 */ mr r4, r3 +/* 8002F200 0002C160 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002F204 0002C164 90 01 00 20 */ stw r0, 0x20(r1) +/* 8002F208 0002C168 90 61 00 18 */ stw r3, 0x18(r1) +/* 8002F20C 0002C16C 48 00 00 08 */ b lbl_8002F214 +lbl_8002F210: +/* 8002F210 0002C170 38 84 00 04 */ addi r4, r4, 4 +lbl_8002F214: +/* 8002F214 0002C174 7C 04 00 40 */ cmplw r4, r0 +/* 8002F218 0002C178 40 82 FF F8 */ bne lbl_8002F210 +/* 8002F21C 0002C17C 28 03 00 00 */ cmplwi r3, 0 +/* 8002F220 0002C180 41 82 00 08 */ beq lbl_8002F228 +/* 8002F224 0002C184 48 2E 67 0D */ bl Free__7CMemoryFPCv +lbl_8002F228: +/* 8002F228 0002C188 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8002F22C 0002C18C 38 80 FF FF */ li r4, -1 +/* 8002F230 0002C190 48 00 00 79 */ bl sub_8002f2a8 +/* 8002F234 0002C194 34 1E 00 04 */ addic. r0, r30, 4 +/* 8002F238 0002C198 41 82 00 44 */ beq lbl_8002F27C +/* 8002F23C 0002C19C 80 1E 00 08 */ lwz r0, 8(r30) +/* 8002F240 0002C1A0 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8002F244 0002C1A4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8002F248 0002C1A8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8002F24C 0002C1AC 7C 64 1B 78 */ mr r4, r3 +/* 8002F250 0002C1B0 7C 03 02 14 */ add r0, r3, r0 +/* 8002F254 0002C1B4 90 61 00 08 */ stw r3, 8(r1) +/* 8002F258 0002C1B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F25C 0002C1BC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8002F260 0002C1C0 48 00 00 08 */ b lbl_8002F268 +lbl_8002F264: +/* 8002F264 0002C1C4 38 84 00 14 */ addi r4, r4, 0x14 +lbl_8002F268: +/* 8002F268 0002C1C8 7C 04 00 40 */ cmplw r4, r0 +/* 8002F26C 0002C1CC 40 82 FF F8 */ bne lbl_8002F264 +/* 8002F270 0002C1D0 28 03 00 00 */ cmplwi r3, 0 +/* 8002F274 0002C1D4 41 82 00 08 */ beq lbl_8002F27C +/* 8002F278 0002C1D8 48 2E 66 B9 */ bl Free__7CMemoryFPCv +lbl_8002F27C: +/* 8002F27C 0002C1DC 7F E0 07 35 */ extsh. r0, r31 +/* 8002F280 0002C1E0 40 81 00 0C */ ble lbl_8002F28C +/* 8002F284 0002C1E4 7F C3 F3 78 */ mr r3, r30 +/* 8002F288 0002C1E8 48 2E 66 A9 */ bl Free__7CMemoryFPCv +lbl_8002F28C: +/* 8002F28C 0002C1EC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002F290 0002C1F0 7F C3 F3 78 */ mr r3, r30 +/* 8002F294 0002C1F4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002F298 0002C1F8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002F29C 0002C1FC 7C 08 03 A6 */ mtlr r0 +/* 8002F2A0 0002C200 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002F2A4 0002C204 4E 80 00 20 */ blr + +.global sub_8002f2a8 +sub_8002f2a8: +/* 8002F2A8 0002C208 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002F2AC 0002C20C 7C 08 02 A6 */ mflr r0 +/* 8002F2B0 0002C210 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002F2B4 0002C214 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8002F2B8 0002C218 7C 9F 23 78 */ mr r31, r4 +/* 8002F2BC 0002C21C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002F2C0 0002C220 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F2C4 0002C224 41 82 00 BC */ beq lbl_8002F380 +/* 8002F2C8 0002C228 80 1E 00 04 */ lwz r0, 4(r30) +/* 8002F2CC 0002C22C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8002F2D0 0002C230 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002F2D4 0002C234 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8002F2D8 0002C238 7C 66 02 14 */ add r3, r6, r0 +/* 8002F2DC 0002C23C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8002F2E0 0002C240 90 61 00 08 */ stw r3, 8(r1) +/* 8002F2E4 0002C244 90 61 00 0C */ stw r3, 0xc(r1) +/* 8002F2E8 0002C248 48 00 00 70 */ b lbl_8002F358 +lbl_8002F2EC: +/* 8002F2EC 0002C24C 28 06 00 00 */ cmplwi r6, 0 +/* 8002F2F0 0002C250 41 82 00 64 */ beq lbl_8002F354 +/* 8002F2F4 0002C254 34 06 00 04 */ addic. r0, r6, 4 +/* 8002F2F8 0002C258 41 82 00 5C */ beq lbl_8002F354 +/* 8002F2FC 0002C25C 80 E6 00 04 */ lwz r7, 4(r6) +/* 8002F300 0002C260 38 80 00 00 */ li r4, 0 +/* 8002F304 0002C264 2C 07 00 00 */ cmpwi r7, 0 +/* 8002F308 0002C268 40 81 00 44 */ ble lbl_8002F34C +/* 8002F30C 0002C26C 2C 07 00 08 */ cmpwi r7, 8 +/* 8002F310 0002C270 38 A7 FF F8 */ addi r5, r7, -8 +/* 8002F314 0002C274 40 81 00 20 */ ble lbl_8002F334 +/* 8002F318 0002C278 38 05 00 07 */ addi r0, r5, 7 +/* 8002F31C 0002C27C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8002F320 0002C280 7C 09 03 A6 */ mtctr r0 +/* 8002F324 0002C284 2C 05 00 00 */ cmpwi r5, 0 +/* 8002F328 0002C288 40 81 00 0C */ ble lbl_8002F334 +lbl_8002F32C: +/* 8002F32C 0002C28C 38 84 00 08 */ addi r4, r4, 8 +/* 8002F330 0002C290 42 00 FF FC */ bdnz lbl_8002F32C +lbl_8002F334: +/* 8002F334 0002C294 7C 04 38 50 */ subf r0, r4, r7 +/* 8002F338 0002C298 7C 09 03 A6 */ mtctr r0 +/* 8002F33C 0002C29C 7C 04 38 00 */ cmpw r4, r7 +/* 8002F340 0002C2A0 40 80 00 0C */ bge lbl_8002F34C +lbl_8002F344: +/* 8002F344 0002C2A4 38 84 00 01 */ addi r4, r4, 1 +/* 8002F348 0002C2A8 42 00 FF FC */ bdnz lbl_8002F344 +lbl_8002F34C: +/* 8002F34C 0002C2AC 38 00 00 00 */ li r0, 0 +/* 8002F350 0002C2B0 90 06 00 04 */ stw r0, 4(r6) +lbl_8002F354: +/* 8002F354 0002C2B4 38 C6 00 28 */ addi r6, r6, 0x28 +lbl_8002F358: +/* 8002F358 0002C2B8 7C 06 18 40 */ cmplw r6, r3 +/* 8002F35C 0002C2BC 40 82 FF 90 */ bne lbl_8002F2EC +/* 8002F360 0002C2C0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8002F364 0002C2C4 28 03 00 00 */ cmplwi r3, 0 +/* 8002F368 0002C2C8 41 82 00 08 */ beq lbl_8002F370 +/* 8002F36C 0002C2CC 48 2E 65 C5 */ bl Free__7CMemoryFPCv +lbl_8002F370: +/* 8002F370 0002C2D0 7F E0 07 35 */ extsh. r0, r31 +/* 8002F374 0002C2D4 40 81 00 0C */ ble lbl_8002F380 +/* 8002F378 0002C2D8 7F C3 F3 78 */ mr r3, r30 +/* 8002F37C 0002C2DC 48 2E 65 B5 */ bl Free__7CMemoryFPCv +lbl_8002F380: +/* 8002F380 0002C2E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8002F384 0002C2E4 7F C3 F3 78 */ mr r3, r30 +/* 8002F388 0002C2E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002F38C 0002C2EC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002F390 0002C2F0 7C 08 03 A6 */ mtlr r0 +/* 8002F394 0002C2F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8002F398 0002C2F8 4E 80 00 20 */ blr + +.global __dt__Q214CCharacterInfo16CParticleResDataFv +__dt__Q214CCharacterInfo16CParticleResDataFv: +/* 8002F39C 0002C2FC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8002F3A0 0002C300 7C 08 02 A6 */ mflr r0 +/* 8002F3A4 0002C304 90 01 00 54 */ stw r0, 0x54(r1) +/* 8002F3A8 0002C308 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8002F3AC 0002C30C 7C 9F 23 78 */ mr r31, r4 +/* 8002F3B0 0002C310 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8002F3B4 0002C314 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F3B8 0002C318 41 82 01 34 */ beq lbl_8002F4EC +/* 8002F3BC 0002C31C 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8002F3C0 0002C320 41 82 00 44 */ beq lbl_8002F404 +/* 8002F3C4 0002C324 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 8002F3C8 0002C328 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 8002F3CC 0002C32C 54 00 10 3A */ slwi r0, r0, 2 +/* 8002F3D0 0002C330 7C 03 02 14 */ add r0, r3, r0 +/* 8002F3D4 0002C334 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8002F3D8 0002C338 7C 64 1B 78 */ mr r4, r3 +/* 8002F3DC 0002C33C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8002F3E0 0002C340 90 01 00 40 */ stw r0, 0x40(r1) +/* 8002F3E4 0002C344 90 61 00 38 */ stw r3, 0x38(r1) +/* 8002F3E8 0002C348 48 00 00 08 */ b lbl_8002F3F0 +lbl_8002F3EC: +/* 8002F3EC 0002C34C 38 84 00 04 */ addi r4, r4, 4 +lbl_8002F3F0: +/* 8002F3F0 0002C350 7C 04 00 40 */ cmplw r4, r0 +/* 8002F3F4 0002C354 40 82 FF F8 */ bne lbl_8002F3EC +/* 8002F3F8 0002C358 28 03 00 00 */ cmplwi r3, 0 +/* 8002F3FC 0002C35C 41 82 00 08 */ beq lbl_8002F404 +/* 8002F400 0002C360 48 2E 65 31 */ bl Free__7CMemoryFPCv +lbl_8002F404: +/* 8002F404 0002C364 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8002F408 0002C368 41 82 00 44 */ beq lbl_8002F44C +/* 8002F40C 0002C36C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 8002F410 0002C370 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 8002F414 0002C374 54 00 10 3A */ slwi r0, r0, 2 +/* 8002F418 0002C378 7C 03 02 14 */ add r0, r3, r0 +/* 8002F41C 0002C37C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8002F420 0002C380 7C 64 1B 78 */ mr r4, r3 +/* 8002F424 0002C384 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002F428 0002C388 90 01 00 30 */ stw r0, 0x30(r1) +/* 8002F42C 0002C38C 90 61 00 28 */ stw r3, 0x28(r1) +/* 8002F430 0002C390 48 00 00 08 */ b lbl_8002F438 +lbl_8002F434: +/* 8002F434 0002C394 38 84 00 04 */ addi r4, r4, 4 +lbl_8002F438: +/* 8002F438 0002C398 7C 04 00 40 */ cmplw r4, r0 +/* 8002F43C 0002C39C 40 82 FF F8 */ bne lbl_8002F434 +/* 8002F440 0002C3A0 28 03 00 00 */ cmplwi r3, 0 +/* 8002F444 0002C3A4 41 82 00 08 */ beq lbl_8002F44C +/* 8002F448 0002C3A8 48 2E 64 E9 */ bl Free__7CMemoryFPCv +lbl_8002F44C: +/* 8002F44C 0002C3AC 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8002F450 0002C3B0 41 82 00 44 */ beq lbl_8002F494 +/* 8002F454 0002C3B4 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8002F458 0002C3B8 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8002F45C 0002C3BC 54 00 10 3A */ slwi r0, r0, 2 +/* 8002F460 0002C3C0 7C 03 02 14 */ add r0, r3, r0 +/* 8002F464 0002C3C4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8002F468 0002C3C8 7C 64 1B 78 */ mr r4, r3 +/* 8002F46C 0002C3CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002F470 0002C3D0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8002F474 0002C3D4 90 61 00 18 */ stw r3, 0x18(r1) +/* 8002F478 0002C3D8 48 00 00 08 */ b lbl_8002F480 +lbl_8002F47C: +/* 8002F47C 0002C3DC 38 84 00 04 */ addi r4, r4, 4 +lbl_8002F480: +/* 8002F480 0002C3E0 7C 04 00 40 */ cmplw r4, r0 +/* 8002F484 0002C3E4 40 82 FF F8 */ bne lbl_8002F47C +/* 8002F488 0002C3E8 28 03 00 00 */ cmplwi r3, 0 +/* 8002F48C 0002C3EC 41 82 00 08 */ beq lbl_8002F494 +/* 8002F490 0002C3F0 48 2E 64 A1 */ bl Free__7CMemoryFPCv +lbl_8002F494: +/* 8002F494 0002C3F4 28 1E 00 00 */ cmplwi r30, 0 +/* 8002F498 0002C3F8 41 82 00 44 */ beq lbl_8002F4DC +/* 8002F49C 0002C3FC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8002F4A0 0002C400 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8002F4A4 0002C404 54 00 10 3A */ slwi r0, r0, 2 +/* 8002F4A8 0002C408 7C 03 02 14 */ add r0, r3, r0 +/* 8002F4AC 0002C40C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8002F4B0 0002C410 7C 64 1B 78 */ mr r4, r3 +/* 8002F4B4 0002C414 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F4B8 0002C418 90 01 00 10 */ stw r0, 0x10(r1) +/* 8002F4BC 0002C41C 90 61 00 08 */ stw r3, 8(r1) +/* 8002F4C0 0002C420 48 00 00 08 */ b lbl_8002F4C8 +lbl_8002F4C4: +/* 8002F4C4 0002C424 38 84 00 04 */ addi r4, r4, 4 +lbl_8002F4C8: +/* 8002F4C8 0002C428 7C 04 00 40 */ cmplw r4, r0 +/* 8002F4CC 0002C42C 40 82 FF F8 */ bne lbl_8002F4C4 +/* 8002F4D0 0002C430 28 03 00 00 */ cmplwi r3, 0 +/* 8002F4D4 0002C434 41 82 00 08 */ beq lbl_8002F4DC +/* 8002F4D8 0002C438 48 2E 64 59 */ bl Free__7CMemoryFPCv +lbl_8002F4DC: +/* 8002F4DC 0002C43C 7F E0 07 35 */ extsh. r0, r31 +/* 8002F4E0 0002C440 40 81 00 0C */ ble lbl_8002F4EC +/* 8002F4E4 0002C444 7F C3 F3 78 */ mr r3, r30 +/* 8002F4E8 0002C448 48 2E 64 49 */ bl Free__7CMemoryFPCv +lbl_8002F4EC: +/* 8002F4EC 0002C44C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8002F4F0 0002C450 7F C3 F3 78 */ mr r3, r30 +/* 8002F4F4 0002C454 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8002F4F8 0002C458 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8002F4FC 0002C45C 7C 08 03 A6 */ mtlr r0 +/* 8002F500 0002C460 38 21 00 50 */ addi r1, r1, 0x50 +/* 8002F504 0002C464 4E 80 00 20 */ blr + +.global "__dt__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fv": +/* 8002F508 0002C468 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8002F50C 0002C46C 7C 08 02 A6 */ mflr r0 +/* 8002F510 0002C470 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002F514 0002C474 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002F518 0002C478 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8002F51C 0002C47C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8002F520 0002C480 7C 9D 23 78 */ mr r29, r4 +/* 8002F524 0002C484 93 81 00 20 */ stw r28, 0x20(r1) +/* 8002F528 0002C488 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8002F52C 0002C48C 41 82 00 68 */ beq lbl_8002F594 +/* 8002F530 0002C490 80 1C 00 04 */ lwz r0, 4(r28) +/* 8002F534 0002C494 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8002F538 0002C498 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8002F53C 0002C49C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8002F540 0002C4A0 7F FE 02 14 */ add r31, r30, r0 +/* 8002F544 0002C4A4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8002F548 0002C4A8 93 E1 00 08 */ stw r31, 8(r1) +/* 8002F54C 0002C4AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002F550 0002C4B0 48 00 00 1C */ b lbl_8002F56C +lbl_8002F554: +/* 8002F554 0002C4B4 28 1E 00 00 */ cmplwi r30, 0 +/* 8002F558 0002C4B8 41 82 00 10 */ beq lbl_8002F568 +/* 8002F55C 0002C4BC 41 82 00 0C */ beq lbl_8002F568 +/* 8002F560 0002C4C0 7F C3 F3 78 */ mr r3, r30 +/* 8002F564 0002C4C4 48 30 E5 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002F568: +/* 8002F568 0002C4C8 3B DE 00 28 */ addi r30, r30, 0x28 +lbl_8002F56C: +/* 8002F56C 0002C4CC 7C 1E F8 40 */ cmplw r30, r31 +/* 8002F570 0002C4D0 40 82 FF E4 */ bne lbl_8002F554 +/* 8002F574 0002C4D4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8002F578 0002C4D8 28 03 00 00 */ cmplwi r3, 0 +/* 8002F57C 0002C4DC 41 82 00 08 */ beq lbl_8002F584 +/* 8002F580 0002C4E0 48 2E 63 B1 */ bl Free__7CMemoryFPCv +lbl_8002F584: +/* 8002F584 0002C4E4 7F A0 07 35 */ extsh. r0, r29 +/* 8002F588 0002C4E8 40 81 00 0C */ ble lbl_8002F594 +/* 8002F58C 0002C4EC 7F 83 E3 78 */ mr r3, r28 +/* 8002F590 0002C4F0 48 2E 63 A1 */ bl Free__7CMemoryFPCv +lbl_8002F594: +/* 8002F594 0002C4F4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8002F598 0002C4F8 7F 83 E3 78 */ mr r3, r28 +/* 8002F59C 0002C4FC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002F5A0 0002C500 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002F5A4 0002C504 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8002F5A8 0002C508 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8002F5AC 0002C50C 7C 08 03 A6 */ mtlr r0 +/* 8002F5B0 0002C510 38 21 00 30 */ addi r1, r1, 0x30 +/* 8002F5B4 0002C514 4E 80 00 20 */ blr + +.global __dt__21CHierarchyPoseBuilderFv +__dt__21CHierarchyPoseBuilderFv: +/* 8002F5B8 0002C518 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002F5BC 0002C51C 7C 08 02 A6 */ mflr r0 +/* 8002F5C0 0002C520 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F5C4 0002C524 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002F5C8 0002C528 7C 9F 23 78 */ mr r31, r4 +/* 8002F5CC 0002C52C 93 C1 00 08 */ stw r30, 8(r1) +/* 8002F5D0 0002C530 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F5D4 0002C534 41 82 00 48 */ beq lbl_8002F61C +/* 8002F5D8 0002C538 38 7E 00 38 */ addi r3, r30, 0x38 +/* 8002F5DC 0002C53C 38 80 FF FF */ li r4, -1 +/* 8002F5E0 0002C540 48 00 20 7D */ bl sub_8003165c +/* 8002F5E4 0002C544 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8002F5E8 0002C548 41 82 00 18 */ beq lbl_8002F600 +/* 8002F5EC 0002C54C 88 1E 00 34 */ lbz r0, 0x34(r30) +/* 8002F5F0 0002C550 28 00 00 00 */ cmplwi r0, 0 +/* 8002F5F4 0002C554 41 82 00 0C */ beq lbl_8002F600 +/* 8002F5F8 0002C558 38 00 00 00 */ li r0, 0 +/* 8002F5FC 0002C55C 98 1E 00 34 */ stb r0, 0x34(r30) +lbl_8002F600: +/* 8002F600 0002C560 7F C3 F3 78 */ mr r3, r30 +/* 8002F604 0002C564 38 80 FF FF */ li r4, -1 +/* 8002F608 0002C568 48 00 00 31 */ bl sub_8002f638 +/* 8002F60C 0002C56C 7F E0 07 35 */ extsh. r0, r31 +/* 8002F610 0002C570 40 81 00 0C */ ble lbl_8002F61C +/* 8002F614 0002C574 7F C3 F3 78 */ mr r3, r30 +/* 8002F618 0002C578 48 2E 63 19 */ bl Free__7CMemoryFPCv +lbl_8002F61C: +/* 8002F61C 0002C57C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002F620 0002C580 7F C3 F3 78 */ mr r3, r30 +/* 8002F624 0002C584 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002F628 0002C588 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002F62C 0002C58C 7C 08 03 A6 */ mtlr r0 +/* 8002F630 0002C590 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002F634 0002C594 4E 80 00 20 */ blr + +.global sub_8002f638 +sub_8002f638: +/* 8002F638 0002C598 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002F63C 0002C59C 7C 08 02 A6 */ mflr r0 +/* 8002F640 0002C5A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F644 0002C5A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002F648 0002C5A8 7C 9F 23 78 */ mr r31, r4 +/* 8002F64C 0002C5AC 93 C1 00 08 */ stw r30, 8(r1) +/* 8002F650 0002C5B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F654 0002C5B4 41 82 00 74 */ beq lbl_8002F6C8 +/* 8002F658 0002C5B8 34 1E 00 0C */ addic. r0, r30, 0xc +/* 8002F65C 0002C5BC 41 82 00 44 */ beq lbl_8002F6A0 +/* 8002F660 0002C5C0 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 8002F664 0002C5C4 28 00 00 00 */ cmplwi r0, 0 +/* 8002F668 0002C5C8 41 82 00 30 */ beq lbl_8002F698 +/* 8002F66C 0002C5CC 34 7E 00 0C */ addic. r3, r30, 0xc +/* 8002F670 0002C5D0 41 82 00 28 */ beq lbl_8002F698 +/* 8002F674 0002C5D4 34 03 00 10 */ addic. r0, r3, 0x10 +/* 8002F678 0002C5D8 41 82 00 0C */ beq lbl_8002F684 +/* 8002F67C 0002C5DC 38 00 00 00 */ li r0, 0 +/* 8002F680 0002C5E0 98 03 00 1C */ stb r0, 0x1c(r3) +lbl_8002F684: +/* 8002F684 0002C5E4 28 03 00 00 */ cmplwi r3, 0 +/* 8002F688 0002C5E8 41 82 00 10 */ beq lbl_8002F698 +/* 8002F68C 0002C5EC 41 82 00 0C */ beq lbl_8002F698 +/* 8002F690 0002C5F0 38 80 00 00 */ li r4, 0 +/* 8002F694 0002C5F4 48 31 17 AD */ bl __dt__6CTokenFv +lbl_8002F698: +/* 8002F698 0002C5F8 38 00 00 00 */ li r0, 0 +/* 8002F69C 0002C5FC 98 1E 00 2C */ stb r0, 0x2c(r30) +lbl_8002F6A0: +/* 8002F6A0 0002C600 28 1E 00 00 */ cmplwi r30, 0 +/* 8002F6A4 0002C604 41 82 00 14 */ beq lbl_8002F6B8 +/* 8002F6A8 0002C608 41 82 00 10 */ beq lbl_8002F6B8 +/* 8002F6AC 0002C60C 7F C3 F3 78 */ mr r3, r30 +/* 8002F6B0 0002C610 38 80 00 00 */ li r4, 0 +/* 8002F6B4 0002C614 48 31 17 8D */ bl __dt__6CTokenFv +lbl_8002F6B8: +/* 8002F6B8 0002C618 7F E0 07 35 */ extsh. r0, r31 +/* 8002F6BC 0002C61C 40 81 00 0C */ ble lbl_8002F6C8 +/* 8002F6C0 0002C620 7F C3 F3 78 */ mr r3, r30 +/* 8002F6C4 0002C624 48 2E 62 6D */ bl Free__7CMemoryFPCv +lbl_8002F6C8: +/* 8002F6C8 0002C628 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002F6CC 0002C62C 7F C3 F3 78 */ mr r3, r30 +/* 8002F6D0 0002C630 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002F6D4 0002C634 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002F6D8 0002C638 7C 08 03 A6 */ mtlr r0 +/* 8002F6DC 0002C63C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002F6E0 0002C640 4E 80 00 20 */ blr + +.global __dt__13CSoundPOINodeFv +__dt__13CSoundPOINodeFv: +/* 8002F6E4 0002C644 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002F6E8 0002C648 7C 08 02 A6 */ mflr r0 +/* 8002F6EC 0002C64C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F6F0 0002C650 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002F6F4 0002C654 7C 9F 23 78 */ mr r31, r4 +/* 8002F6F8 0002C658 93 C1 00 08 */ stw r30, 8(r1) +/* 8002F6FC 0002C65C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F700 0002C660 41 82 00 40 */ beq lbl_8002F740 +/* 8002F704 0002C664 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 8002F708 0002C668 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l +/* 8002F70C 0002C66C 90 1E 00 00 */ stw r0, 0(r30) +/* 8002F710 0002C670 41 82 00 20 */ beq lbl_8002F730 +/* 8002F714 0002C674 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 8002F718 0002C678 34 1E 00 08 */ addic. r0, r30, 8 +/* 8002F71C 0002C67C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 8002F720 0002C680 90 1E 00 00 */ stw r0, 0(r30) +/* 8002F724 0002C684 41 82 00 0C */ beq lbl_8002F730 +/* 8002F728 0002C688 38 7E 00 08 */ addi r3, r30, 8 +/* 8002F72C 0002C68C 48 30 E3 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002F730: +/* 8002F730 0002C690 7F E0 07 35 */ extsh. r0, r31 +/* 8002F734 0002C694 40 81 00 0C */ ble lbl_8002F740 +/* 8002F738 0002C698 7F C3 F3 78 */ mr r3, r30 +/* 8002F73C 0002C69C 48 2E 61 F5 */ bl Free__7CMemoryFPCv +lbl_8002F740: +/* 8002F740 0002C6A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002F744 0002C6A4 7F C3 F3 78 */ mr r3, r30 +/* 8002F748 0002C6A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002F74C 0002C6AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002F750 0002C6B0 7C 08 03 A6 */ mtlr r0 +/* 8002F754 0002C6B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002F758 0002C6B8 4E 80 00 20 */ blr + +.global __dt__16CParticlePOINodeFv +__dt__16CParticlePOINodeFv: +/* 8002F75C 0002C6BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002F760 0002C6C0 7C 08 02 A6 */ mflr r0 +/* 8002F764 0002C6C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F768 0002C6C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002F76C 0002C6CC 7C 9F 23 78 */ mr r31, r4 +/* 8002F770 0002C6D0 93 C1 00 08 */ stw r30, 8(r1) +/* 8002F774 0002C6D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F778 0002C6D8 41 82 00 58 */ beq lbl_8002F7D0 +/* 8002F77C 0002C6DC 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 8002F780 0002C6E0 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 8002F784 0002C6E4 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 8002F788 0002C6E8 90 1E 00 00 */ stw r0, 0(r30) +/* 8002F78C 0002C6EC 41 82 00 10 */ beq lbl_8002F79C +/* 8002F790 0002C6F0 34 7E 00 44 */ addic. r3, r30, 0x44 +/* 8002F794 0002C6F4 41 82 00 08 */ beq lbl_8002F79C +/* 8002F798 0002C6F8 48 30 E3 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002F79C: +/* 8002F79C 0002C6FC 28 1E 00 00 */ cmplwi r30, 0 +/* 8002F7A0 0002C700 41 82 00 20 */ beq lbl_8002F7C0 +/* 8002F7A4 0002C704 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 8002F7A8 0002C708 34 1E 00 08 */ addic. r0, r30, 8 +/* 8002F7AC 0002C70C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 8002F7B0 0002C710 90 1E 00 00 */ stw r0, 0(r30) +/* 8002F7B4 0002C714 41 82 00 0C */ beq lbl_8002F7C0 +/* 8002F7B8 0002C718 38 7E 00 08 */ addi r3, r30, 8 +/* 8002F7BC 0002C71C 48 30 E3 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002F7C0: +/* 8002F7C0 0002C720 7F E0 07 35 */ extsh. r0, r31 +/* 8002F7C4 0002C724 40 81 00 0C */ ble lbl_8002F7D0 +/* 8002F7C8 0002C728 7F C3 F3 78 */ mr r3, r30 +/* 8002F7CC 0002C72C 48 2E 61 65 */ bl Free__7CMemoryFPCv +lbl_8002F7D0: +/* 8002F7D0 0002C730 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002F7D4 0002C734 7F C3 F3 78 */ mr r3, r30 +/* 8002F7D8 0002C738 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002F7DC 0002C73C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002F7E0 0002C740 7C 08 03 A6 */ mtlr r0 +/* 8002F7E4 0002C744 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002F7E8 0002C748 4E 80 00 20 */ blr + +.global __dt__12CBoolPOINodeFv +__dt__12CBoolPOINodeFv: +/* 8002F7EC 0002C74C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002F7F0 0002C750 7C 08 02 A6 */ mflr r0 +/* 8002F7F4 0002C754 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002F7F8 0002C758 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002F7FC 0002C75C 7C 9F 23 78 */ mr r31, r4 +/* 8002F800 0002C760 93 C1 00 08 */ stw r30, 8(r1) +/* 8002F804 0002C764 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002F808 0002C768 41 82 00 40 */ beq lbl_8002F848 +/* 8002F80C 0002C76C 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 8002F810 0002C770 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l +/* 8002F814 0002C774 90 1E 00 00 */ stw r0, 0(r30) +/* 8002F818 0002C778 41 82 00 20 */ beq lbl_8002F838 +/* 8002F81C 0002C77C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 8002F820 0002C780 34 1E 00 08 */ addic. r0, r30, 8 +/* 8002F824 0002C784 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 8002F828 0002C788 90 1E 00 00 */ stw r0, 0(r30) +/* 8002F82C 0002C78C 41 82 00 0C */ beq lbl_8002F838 +/* 8002F830 0002C790 38 7E 00 08 */ addi r3, r30, 8 +/* 8002F834 0002C794 48 30 E2 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002F838: +/* 8002F838 0002C798 7F E0 07 35 */ extsh. r0, r31 +/* 8002F83C 0002C79C 40 81 00 0C */ ble lbl_8002F848 +/* 8002F840 0002C7A0 7F C3 F3 78 */ mr r3, r30 +/* 8002F844 0002C7A4 48 2E 60 ED */ bl Free__7CMemoryFPCv +lbl_8002F848: +/* 8002F848 0002C7A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002F84C 0002C7AC 7F C3 F3 78 */ mr r3, r30 +/* 8002F850 0002C7B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002F854 0002C7B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8002F858 0002C7B8 7C 08 03 A6 */ mtlr r0 +/* 8002F85C 0002C7BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002F860 0002C7C0 4E 80 00 20 */ blr + +.global "__ct__9CAnimDataFUiRC14CCharacterInfoiibRC31TLockedToken<15CCharLayoutInfo>RC23TToken<13CSkinnedModel>RCQ24rstl62optional_object<43TLockedToken<27CSkinnedModelWithAvgNormals>>RCQ24rstl27ncrc_ptr<15CAnimSysContext>RCQ24rstl27rc_ptr<17CAnimationManager>RCQ24rstl28rc_ptr<18CTransitionManager>RC33TLockedToken<17CCharacterFactory>" +"__ct__9CAnimDataFUiRC14CCharacterInfoiibRC31TLockedToken<15CCharLayoutInfo>RC23TToken<13CSkinnedModel>RCQ24rstl62optional_object<43TLockedToken<27CSkinnedModelWithAvgNormals>>RCQ24rstl27ncrc_ptr<15CAnimSysContext>RCQ24rstl27rc_ptr<17CAnimationManager>RCQ24rstl28rc_ptr<18CTransitionManager>RC33TLockedToken<17CCharacterFactory>": +/* 8002F864 0002C7C4 94 21 FB 90 */ stwu r1, -0x470(r1) +/* 8002F868 0002C7C8 7C 08 02 A6 */ mflr r0 +/* 8002F86C 0002C7CC 90 01 04 74 */ stw r0, 0x474(r1) +/* 8002F870 0002C7D0 BE 41 04 38 */ stmw r18, 0x438(r1) +/* 8002F874 0002C7D4 7C 7F 1B 78 */ mr r31, r3 +/* 8002F878 0002C7D8 7F E0 FB 78 */ mr r0, r31 +/* 8002F87C 0002C7DC 82 81 04 88 */ lwz r20, 0x488(r1) +/* 8002F880 0002C7E0 7C 95 23 78 */ mr r21, r4 +/* 8002F884 0002C7E4 83 81 04 78 */ lwz r28, 0x478(r1) +/* 8002F888 0002C7E8 83 61 04 7C */ lwz r27, 0x47c(r1) +/* 8002F88C 0002C7EC 7C BE 2B 78 */ mr r30, r5 +/* 8002F890 0002C7F0 83 41 04 80 */ lwz r26, 0x480(r1) +/* 8002F894 0002C7F4 7C DD 33 78 */ mr r29, r6 +/* 8002F898 0002C7F8 83 21 04 84 */ lwz r25, 0x484(r1) +/* 8002F89C 0002C7FC 7C F6 3B 78 */ mr r22, r7 +/* 8002F8A0 0002C800 7D 17 43 78 */ mr r23, r8 +/* 8002F8A4 0002C804 7D 38 4B 78 */ mr r24, r9 +/* 8002F8A8 0002C808 7D 53 53 78 */ mr r19, r10 +/* 8002F8AC 0002C80C 7C 12 03 78 */ mr r18, r0 +/* 8002F8B0 0002C810 7E 84 A3 78 */ mr r4, r20 +/* 8002F8B4 0002C814 48 31 15 F5 */ bl __ct__6CTokenFRC6CToken +/* 8002F8B8 0002C818 80 14 00 08 */ lwz r0, 8(r20) +/* 8002F8BC 0002C81C 7E 43 93 78 */ mr r3, r18 +/* 8002F8C0 0002C820 90 12 00 08 */ stw r0, 8(r18) +/* 8002F8C4 0002C824 48 31 14 C1 */ bl Lock__6CTokenFv +/* 8002F8C8 0002C828 7F C4 F3 78 */ mr r4, r30 +/* 8002F8CC 0002C82C 38 7F 00 0C */ addi r3, r31, 0xc +/* 8002F8D0 0002C830 48 00 0C 01 */ bl __ct__14CCharacterInfoFRC14CCharacterInfo +/* 8002F8D4 0002C834 3A 5F 00 CC */ addi r18, r31, 0xcc +/* 8002F8D8 0002C838 7F 04 C3 78 */ mr r4, r24 +/* 8002F8DC 0002C83C 7E 43 93 78 */ mr r3, r18 +/* 8002F8E0 0002C840 48 31 15 C9 */ bl __ct__6CTokenFRC6CToken +/* 8002F8E4 0002C844 80 18 00 08 */ lwz r0, 8(r24) +/* 8002F8E8 0002C848 7E 43 93 78 */ mr r3, r18 +/* 8002F8EC 0002C84C 90 12 00 08 */ stw r0, 8(r18) +/* 8002F8F0 0002C850 48 31 14 95 */ bl Lock__6CTokenFv +/* 8002F8F4 0002C854 3A 5F 00 D8 */ addi r18, r31, 0xd8 +/* 8002F8F8 0002C858 7E 64 9B 78 */ mr r4, r19 +/* 8002F8FC 0002C85C 7E 43 93 78 */ mr r3, r18 +/* 8002F900 0002C860 48 31 15 A9 */ bl __ct__6CTokenFRC6CToken +/* 8002F904 0002C864 7E 43 93 78 */ mr r3, r18 +/* 8002F908 0002C868 48 31 15 05 */ bl GetObj__6CTokenFv +/* 8002F90C 0002C86C 80 03 00 04 */ lwz r0, 4(r3) +/* 8002F910 0002C870 90 12 00 08 */ stw r0, 8(r18) +/* 8002F914 0002C874 88 1C 00 0C */ lbz r0, 0xc(r28) +/* 8002F918 0002C878 98 1F 00 F0 */ stb r0, 0xf0(r31) +/* 8002F91C 0002C87C 88 1C 00 0C */ lbz r0, 0xc(r28) +/* 8002F920 0002C880 28 00 00 00 */ cmplwi r0, 0 +/* 8002F924 0002C884 41 82 00 28 */ beq lbl_8002F94C +/* 8002F928 0002C888 36 9F 00 E4 */ addic. r20, r31, 0xe4 +/* 8002F92C 0002C88C 41 82 00 20 */ beq lbl_8002F94C +/* 8002F930 0002C890 7E 83 A3 78 */ mr r3, r20 +/* 8002F934 0002C894 7F 84 E3 78 */ mr r4, r28 +/* 8002F938 0002C898 48 31 15 71 */ bl __ct__6CTokenFRC6CToken +/* 8002F93C 0002C89C 80 1C 00 08 */ lwz r0, 8(r28) +/* 8002F940 0002C8A0 7E 83 A3 78 */ mr r3, r20 +/* 8002F944 0002C8A4 90 14 00 08 */ stw r0, 8(r20) +/* 8002F948 0002C8A8 48 31 14 3D */ bl Lock__6CTokenFv +lbl_8002F94C: +/* 8002F94C 0002C8AC 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002F950 0002C8B0 38 60 00 08 */ li r3, 8 +/* 8002F954 0002C8B4 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002F958 0002C8B8 38 A0 00 00 */ li r5, 0 +/* 8002F95C 0002C8BC 48 2E 5F 11 */ bl __nw__FUlPCcPCc +/* 8002F960 0002C8C0 28 03 00 00 */ cmplwi r3, 0 +/* 8002F964 0002C8C4 41 82 00 14 */ beq lbl_8002F978 +/* 8002F968 0002C8C8 38 80 00 00 */ li r4, 0 +/* 8002F96C 0002C8CC 38 00 00 01 */ li r0, 1 +/* 8002F970 0002C8D0 90 83 00 00 */ stw r4, 0(r3) +/* 8002F974 0002C8D4 90 03 00 04 */ stw r0, 4(r3) +lbl_8002F978: +/* 8002F978 0002C8D8 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002F97C 0002C8DC 90 7F 00 F4 */ stw r3, 0xf4(r31) +/* 8002F980 0002C8E0 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002F984 0002C8E4 38 60 00 08 */ li r3, 8 +/* 8002F988 0002C8E8 38 A0 00 00 */ li r5, 0 +/* 8002F98C 0002C8EC 48 2E 5E E1 */ bl __nw__FUlPCcPCc +/* 8002F990 0002C8F0 28 03 00 00 */ cmplwi r3, 0 +/* 8002F994 0002C8F4 41 82 00 14 */ beq lbl_8002F9A8 +/* 8002F998 0002C8F8 38 80 00 00 */ li r4, 0 +/* 8002F99C 0002C8FC 38 00 00 01 */ li r0, 1 +/* 8002F9A0 0002C900 90 83 00 00 */ stw r4, 0(r3) +/* 8002F9A4 0002C904 90 03 00 04 */ stw r0, 4(r3) +lbl_8002F9A8: +/* 8002F9A8 0002C908 90 7F 00 F8 */ stw r3, 0xf8(r31) +/* 8002F9AC 0002C90C 38 00 00 00 */ li r0, 0 +/* 8002F9B0 0002C910 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 8002F9B4 0002C914 38 7F 01 20 */ addi r3, r31, 0x120 +/* 8002F9B8 0002C918 80 BB 00 00 */ lwz r5, 0(r27) +/* 8002F9BC 0002C91C 90 BF 00 FC */ stw r5, 0xfc(r31) +/* 8002F9C0 0002C920 80 DF 00 FC */ lwz r6, 0xfc(r31) +/* 8002F9C4 0002C924 80 A6 00 04 */ lwz r5, 4(r6) +/* 8002F9C8 0002C928 38 A5 00 01 */ addi r5, r5, 1 +/* 8002F9CC 0002C92C 90 A6 00 04 */ stw r5, 4(r6) +/* 8002F9D0 0002C930 80 BA 00 00 */ lwz r5, 0(r26) +/* 8002F9D4 0002C934 90 BF 01 00 */ stw r5, 0x100(r31) +/* 8002F9D8 0002C938 80 DF 01 00 */ lwz r6, 0x100(r31) +/* 8002F9DC 0002C93C 80 A6 00 04 */ lwz r5, 4(r6) +/* 8002F9E0 0002C940 38 A5 00 01 */ addi r5, r5, 1 +/* 8002F9E4 0002C944 90 A6 00 04 */ stw r5, 4(r6) +/* 8002F9E8 0002C948 90 1F 01 04 */ stw r0, 0x104(r31) +/* 8002F9EC 0002C94C C4 04 67 54 */ lfsu f0, lbl_805A6754@l(r4) +/* 8002F9F0 0002C950 D0 1F 01 08 */ stfs f0, 0x108(r31) +/* 8002F9F4 0002C954 C0 04 00 04 */ lfs f0, 4(r4) +/* 8002F9F8 0002C958 D0 1F 01 0C */ stfs f0, 0x10c(r31) +/* 8002F9FC 0002C95C C0 04 00 08 */ lfs f0, 8(r4) +/* 8002FA00 0002C960 D0 1F 01 10 */ stfs f0, 0x110(r31) +/* 8002FA04 0002C964 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8002FA08 0002C968 D0 1F 01 14 */ stfs f0, 0x114(r31) +/* 8002FA0C 0002C96C C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8002FA10 0002C970 D0 1F 01 18 */ stfs f0, 0x118(r31) +/* 8002FA14 0002C974 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8002FA18 0002C978 D0 1F 01 1C */ stfs f0, 0x11c(r31) +/* 8002FA1C 0002C97C 48 08 AF B9 */ bl __ct__17CParticleDatabaseFv +/* 8002FA20 0002C980 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8002FA24 0002C984 92 BF 01 D8 */ stw r21, 0x1d8(r31) +/* 8002FA28 0002C988 38 E3 66 A0 */ addi r7, r3, skZero3f@l +/* 8002FA2C 0002C98C 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 8002FA30 0002C990 C0 27 00 00 */ lfs f1, 0(r7) +/* 8002FA34 0002C994 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 8002FA38 0002C998 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l +/* 8002FA3C 0002C99C C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) +/* 8002FA40 0002C9A0 D0 3F 01 DC */ stfs f1, 0x1dc(r31) +/* 8002FA44 0002C9A4 38 A0 00 00 */ li r5, 0 +/* 8002FA48 0002C9A8 38 7F 02 24 */ addi r3, r31, 0x224 +/* 8002FA4C 0002C9AC C0 27 00 04 */ lfs f1, 4(r7) +/* 8002FA50 0002C9B0 D0 3F 01 E0 */ stfs f1, 0x1e0(r31) +/* 8002FA54 0002C9B4 C0 27 00 08 */ lfs f1, 8(r7) +/* 8002FA58 0002C9B8 D0 3F 01 E4 */ stfs f1, 0x1e4(r31) +/* 8002FA5C 0002C9BC C0 26 00 00 */ lfs f1, 0(r6) +/* 8002FA60 0002C9C0 D0 3F 01 E8 */ stfs f1, 0x1e8(r31) +/* 8002FA64 0002C9C4 C0 26 00 04 */ lfs f1, 4(r6) +/* 8002FA68 0002C9C8 D0 3F 01 EC */ stfs f1, 0x1ec(r31) +/* 8002FA6C 0002C9CC C0 26 00 08 */ lfs f1, 8(r6) +/* 8002FA70 0002C9D0 D0 3F 01 F0 */ stfs f1, 0x1f0(r31) +/* 8002FA74 0002C9D4 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 8002FA78 0002C9D8 D0 3F 01 F4 */ stfs f1, 0x1f4(r31) +/* 8002FA7C 0002C9DC 90 1F 01 F8 */ stw r0, 0x1f8(r31) +/* 8002FA80 0002C9E0 80 FF 01 F8 */ lwz r7, 0x1f8(r31) +/* 8002FA84 0002C9E4 80 C7 00 04 */ lwz r6, 4(r7) +/* 8002FA88 0002C9E8 38 06 00 01 */ addi r0, r6, 1 +/* 8002FA8C 0002C9EC 90 07 00 04 */ stw r0, 4(r7) +/* 8002FA90 0002C9F0 80 19 00 00 */ lwz r0, 0(r25) +/* 8002FA94 0002C9F4 90 1F 01 FC */ stw r0, 0x1fc(r31) +/* 8002FA98 0002C9F8 80 FF 01 FC */ lwz r7, 0x1fc(r31) +/* 8002FA9C 0002C9FC 80 C7 00 04 */ lwz r6, 4(r7) +/* 8002FAA0 0002CA00 38 06 00 01 */ addi r0, r6, 1 +/* 8002FAA4 0002CA04 90 07 00 04 */ stw r0, 4(r7) +/* 8002FAA8 0002CA08 D0 1F 02 00 */ stfs f0, 0x200(r31) +/* 8002FAAC 0002CA0C 92 DF 02 04 */ stw r22, 0x204(r31) +/* 8002FAB0 0002CA10 B3 BF 02 08 */ sth r29, 0x208(r31) +/* 8002FAB4 0002CA14 90 BF 02 0C */ stw r5, 0x20c(r31) +/* 8002FAB8 0002CA18 90 BF 02 10 */ stw r5, 0x210(r31) +/* 8002FABC 0002CA1C 90 BF 02 14 */ stw r5, 0x214(r31) +/* 8002FAC0 0002CA20 90 BF 02 18 */ stw r5, 0x218(r31) +/* 8002FAC4 0002CA24 90 BF 02 1C */ stw r5, 0x21c(r31) +/* 8002FAC8 0002CA28 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002FACC 0002CA2C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8002FAD0 0002CA30 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002FAD4 0002CA34 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002FAD8 0002CA38 52 E0 36 72 */ rlwimi r0, r23, 6, 0x19, 0x19 +/* 8002FADC 0002CA3C 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002FAE0 0002CA40 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002FAE4 0002CA44 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 8002FAE8 0002CA48 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002FAEC 0002CA4C 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002FAF0 0002CA50 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8002FAF4 0002CA54 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002FAF8 0002CA58 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002FAFC 0002CA5C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8002FB00 0002CA60 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002FB04 0002CA64 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002FB08 0002CA68 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8002FB0C 0002CA6C 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002FB10 0002CA70 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002FB14 0002CA74 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 8002FB18 0002CA78 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002FB1C 0002CA7C 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8002FB20 0002CA80 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 8002FB24 0002CA84 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8002FB28 0002CA88 80 98 00 08 */ lwz r4, 8(r24) +/* 8002FB2C 0002CA8C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8002FB30 0002CA90 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 8002FB34 0002CA94 48 33 94 FD */ bl __ct__17CPoseAsTransformsFUc +/* 8002FB38 0002CA98 3A 41 01 50 */ addi r18, r1, 0x150 +/* 8002FB3C 0002CA9C 7F 04 C3 78 */ mr r4, r24 +/* 8002FB40 0002CAA0 7E 43 93 78 */ mr r3, r18 +/* 8002FB44 0002CAA4 48 31 13 65 */ bl __ct__6CTokenFRC6CToken +/* 8002FB48 0002CAA8 80 18 00 08 */ lwz r0, 8(r24) +/* 8002FB4C 0002CAAC 7E 43 93 78 */ mr r3, r18 +/* 8002FB50 0002CAB0 90 01 01 58 */ stw r0, 0x158(r1) +/* 8002FB54 0002CAB4 48 31 12 31 */ bl Lock__6CTokenFv +/* 8002FB58 0002CAB8 38 00 00 00 */ li r0, 0 +/* 8002FB5C 0002CABC 38 7F 02 FC */ addi r3, r31, 0x2fc +/* 8002FB60 0002CAC0 98 01 01 7C */ stb r0, 0x17c(r1) +/* 8002FB64 0002CAC4 7E 44 93 78 */ mr r4, r18 +/* 8002FB68 0002CAC8 48 2C D0 21 */ bl __ct__21CHierarchyPoseBuilderFRC18CLayoutDescription +/* 8002FB6C 0002CACC 7E 43 93 78 */ mr r3, r18 +/* 8002FB70 0002CAD0 38 80 FF FF */ li r4, -1 +/* 8002FB74 0002CAD4 4B FF FA C5 */ bl sub_8002f638 +/* 8002FB78 0002CAD8 38 80 FF FF */ li r4, -1 +/* 8002FB7C 0002CADC C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) +/* 8002FB80 0002CAE0 90 9F 04 0C */ stw r4, 0x40c(r31) +/* 8002FB84 0002CAE4 38 60 00 01 */ li r3, 1 +/* 8002FB88 0002CAE8 38 00 00 00 */ li r0, 0 +/* 8002FB8C 0002CAEC 90 9F 04 10 */ stw r4, 0x410(r31) +/* 8002FB90 0002CAF0 D0 1F 04 14 */ stfs f0, 0x414(r31) +/* 8002FB94 0002CAF4 98 7F 04 18 */ stb r3, 0x418(r31) +/* 8002FB98 0002CAF8 90 1F 04 1C */ stw r0, 0x41c(r31) +/* 8002FB9C 0002CAFC 90 1F 04 20 */ stw r0, 0x420(r31) +/* 8002FBA0 0002CB00 98 1F 04 24 */ stb r0, 0x424(r31) +/* 8002FBA4 0002CB04 90 1F 04 28 */ stw r0, 0x428(r31) +/* 8002FBA8 0002CB08 90 1F 04 2C */ stw r0, 0x42c(r31) +/* 8002FBAC 0002CB0C 90 1F 04 30 */ stw r0, 0x430(r31) +/* 8002FBB0 0002CB10 90 1F 04 34 */ stw r0, 0x434(r31) +/* 8002FBB4 0002CB14 80 0D A1 08 */ lwz r0, lbl_805A8CC8@sda21(r13) +/* 8002FBB8 0002CB18 2C 00 00 00 */ cmpwi r0, 0 +/* 8002FBBC 0002CB1C 40 82 03 B0 */ bne lbl_8002FF6C +/* 8002FBC0 0002CB20 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002FBC4 0002CB24 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8002FBC8 0002CB28 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002FBCC 0002CB2C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8002FBD0 0002CB30 38 84 00 07 */ addi r4, r4, 7 +/* 8002FBD4 0002CB34 38 A0 FF FF */ li r5, -1 +/* 8002FBD8 0002CB38 48 30 E5 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8002FBDC 0002CB3C C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) +/* 8002FBE0 0002CB40 38 61 00 38 */ addi r3, r1, 0x38 +/* 8002FBE4 0002CB44 48 31 92 09 */ bl __ct__13CCharAnimTimeFf +/* 8002FBE8 0002CB48 38 00 00 00 */ li r0, 0 +/* 8002FBEC 0002CB4C 7C 66 1B 78 */ mr r6, r3 +/* 8002FBF0 0002CB50 90 01 00 08 */ stw r0, 8(r1) +/* 8002FBF4 0002CB54 38 61 01 14 */ addi r3, r1, 0x114 +/* 8002FBF8 0002CB58 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) +/* 8002FBFC 0002CB5C 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 8002FC00 0002CB60 38 A0 00 01 */ li r5, 1 +/* 8002FC04 0002CB64 38 E0 FF FF */ li r7, -1 +/* 8002FC08 0002CB68 39 00 00 00 */ li r8, 0 +/* 8002FC0C 0002CB6C 39 20 FF FF */ li r9, -1 +/* 8002FC10 0002CB70 39 40 00 00 */ li r10, 0 +/* 8002FC14 0002CB74 48 00 08 71 */ bl "__ct__12CBoolPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiib" +/* 8002FC18 0002CB78 3C 60 80 57 */ lis r3, lbl_8056A600@ha +/* 8002FC1C 0002CB7C 38 63 A6 00 */ addi r3, r3, lbl_8056A600@l +/* 8002FC20 0002CB80 80 83 00 00 */ lwz r4, 0(r3) +/* 8002FC24 0002CB84 2C 04 00 08 */ cmpwi r4, 8 +/* 8002FC28 0002CB88 40 80 00 B8 */ bge lbl_8002FCE0 +/* 8002FC2C 0002CB8C 1C 04 00 3C */ mulli r0, r4, 0x3c +/* 8002FC30 0002CB90 23 44 00 08 */ subfic r26, r4, 8 +/* 8002FC34 0002CB94 3B 21 01 1C */ addi r25, r1, 0x11c +/* 8002FC38 0002CB98 3B 80 00 00 */ li r28, 0 +/* 8002FC3C 0002CB9C 7F 63 02 14 */ add r27, r3, r0 +/* 8002FC40 0002CBA0 3B 7B 00 04 */ addi r27, r27, 4 +/* 8002FC44 0002CBA4 48 00 00 88 */ b lbl_8002FCCC +lbl_8002FC48: +/* 8002FC48 0002CBA8 28 1B 00 00 */ cmplwi r27, 0 +/* 8002FC4C 0002CBAC 41 82 00 78 */ beq lbl_8002FCC4 +/* 8002FC50 0002CBB0 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 8002FC54 0002CBB4 A0 01 01 18 */ lhz r0, 0x118(r1) +/* 8002FC58 0002CBB8 38 63 9B 8C */ addi r3, r3, lbl_803D9B8C@l +/* 8002FC5C 0002CBBC 7F 24 CB 78 */ mr r4, r25 +/* 8002FC60 0002CBC0 90 7B 00 00 */ stw r3, 0(r27) +/* 8002FC64 0002CBC4 38 7B 00 08 */ addi r3, r27, 8 +/* 8002FC68 0002CBC8 B0 1B 00 04 */ sth r0, 4(r27) +/* 8002FC6C 0002CBCC 48 30 E4 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002FC70 0002CBD0 A0 01 01 2C */ lhz r0, 0x12c(r1) +/* 8002FC74 0002CBD4 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 8002FC78 0002CBD8 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 8002FC7C 0002CBDC 38 63 9B 68 */ addi r3, r3, lbl_803D9B68@l +/* 8002FC80 0002CBE0 B0 1B 00 18 */ sth r0, 0x18(r27) +/* 8002FC84 0002CBE4 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8002FC88 0002CBE8 D0 1B 00 1C */ stfs f0, 0x1c(r27) +/* 8002FC8C 0002CBEC 80 81 01 38 */ lwz r4, 0x138(r1) +/* 8002FC90 0002CBF0 90 1B 00 20 */ stw r0, 0x20(r27) +/* 8002FC94 0002CBF4 88 01 01 3C */ lbz r0, 0x13c(r1) +/* 8002FC98 0002CBF8 90 9B 00 24 */ stw r4, 0x24(r27) +/* 8002FC9C 0002CBFC C0 01 01 40 */ lfs f0, 0x140(r1) +/* 8002FCA0 0002CC00 98 1B 00 28 */ stb r0, 0x28(r27) +/* 8002FCA4 0002CC04 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8002FCA8 0002CC08 D0 1B 00 2C */ stfs f0, 0x2c(r27) +/* 8002FCAC 0002CC0C 80 81 01 48 */ lwz r4, 0x148(r1) +/* 8002FCB0 0002CC10 90 1B 00 30 */ stw r0, 0x30(r27) +/* 8002FCB4 0002CC14 88 01 01 4C */ lbz r0, 0x14c(r1) +/* 8002FCB8 0002CC18 90 9B 00 34 */ stw r4, 0x34(r27) +/* 8002FCBC 0002CC1C 90 7B 00 00 */ stw r3, 0(r27) +/* 8002FCC0 0002CC20 98 1B 00 38 */ stb r0, 0x38(r27) +lbl_8002FCC4: +/* 8002FCC4 0002CC24 3B 9C 00 01 */ addi r28, r28, 1 +/* 8002FCC8 0002CC28 3B 7B 00 3C */ addi r27, r27, 0x3c +lbl_8002FCCC: +/* 8002FCCC 0002CC2C 7C 1C D0 00 */ cmpw r28, r26 +/* 8002FCD0 0002CC30 41 80 FF 78 */ blt lbl_8002FC48 +/* 8002FCD4 0002CC34 3C 60 80 57 */ lis r3, lbl_8056A600@ha +/* 8002FCD8 0002CC38 38 00 00 08 */ li r0, 8 +/* 8002FCDC 0002CC3C 90 03 A6 00 */ stw r0, lbl_8056A600@l(r3) +lbl_8002FCE0: +/* 8002FCE0 0002CC40 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 8002FCE4 0002CC44 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 8002FCE8 0002CC48 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l +/* 8002FCEC 0002CC4C 34 61 01 1C */ addic. r3, r1, 0x11c +/* 8002FCF0 0002CC50 90 01 01 14 */ stw r0, 0x114(r1) +/* 8002FCF4 0002CC54 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 8002FCF8 0002CC58 90 01 01 14 */ stw r0, 0x114(r1) +/* 8002FCFC 0002CC5C 41 82 00 08 */ beq lbl_8002FD04 +/* 8002FD00 0002CC60 48 30 DD E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002FD04: +/* 8002FD04 0002CC64 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8002FD08 0002CC68 48 30 DD D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002FD0C 0002CC6C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002FD10 0002CC70 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8002FD14 0002CC74 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002FD18 0002CC78 38 84 00 07 */ addi r4, r4, 7 +/* 8002FD1C 0002CC7C 4B FD 4F 9D */ bl string_l__4rstlFPCc +/* 8002FD20 0002CC80 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002FD24 0002CC84 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8002FD28 0002CC88 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002FD2C 0002CC8C 38 84 00 08 */ addi r4, r4, 8 +/* 8002FD30 0002CC90 4B FD 4F 89 */ bl string_l__4rstlFPCc +/* 8002FD34 0002CC94 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) +/* 8002FD38 0002CC98 38 61 00 30 */ addi r3, r1, 0x30 +/* 8002FD3C 0002CC9C 48 31 90 B1 */ bl __ct__13CCharAnimTimeFf +/* 8002FD40 0002CCA0 38 00 00 00 */ li r0, 0 +/* 8002FD44 0002CCA4 7C 66 1B 78 */ mr r6, r3 +/* 8002FD48 0002CCA8 90 01 00 08 */ stw r0, 8(r1) +/* 8002FD4C 0002CCAC 38 01 00 B0 */ addi r0, r1, 0xb0 +/* 8002FD50 0002CCB0 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) +/* 8002FD54 0002CCB4 38 61 02 50 */ addi r3, r1, 0x250 +/* 8002FD58 0002CCB8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8002FD5C 0002CCBC 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8002FD60 0002CCC0 38 A0 00 02 */ li r5, 2 +/* 8002FD64 0002CCC4 38 E0 FF FF */ li r7, -1 +/* 8002FD68 0002CCC8 39 00 00 00 */ li r8, 0 +/* 8002FD6C 0002CCCC 39 20 FF FF */ li r9, -1 +/* 8002FD70 0002CCD0 39 40 00 00 */ li r10, 0 +/* 8002FD74 0002CCD4 4B FF B6 19 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002FD78 0002CCD8 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8002FD7C 0002CCDC 38 A1 02 50 */ addi r5, r1, 0x250 +/* 8002FD80 0002CCE0 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l +/* 8002FD84 0002CCE4 38 80 00 10 */ li r4, 0x10 +/* 8002FD88 0002CCE8 4B FF E5 B9 */ bl "uninitialized_fill_n__4rstlFP13CInt32POINodeiRC13CInt32POINode" +/* 8002FD8C 0002CCEC 3C 80 80 3E */ lis r4, lbl_803D9B98@ha +/* 8002FD90 0002CCF0 34 61 02 8C */ addic. r3, r1, 0x28c +/* 8002FD94 0002CCF4 38 04 9B 98 */ addi r0, r4, lbl_803D9B98@l +/* 8002FD98 0002CCF8 90 01 02 50 */ stw r0, 0x250(r1) +/* 8002FD9C 0002CCFC 41 82 00 08 */ beq lbl_8002FDA4 +/* 8002FDA0 0002CD00 48 30 DD 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002FDA4: +/* 8002FDA4 0002CD04 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 8002FDA8 0002CD08 34 61 02 58 */ addic. r3, r1, 0x258 +/* 8002FDAC 0002CD0C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 8002FDB0 0002CD10 90 01 02 50 */ stw r0, 0x250(r1) +/* 8002FDB4 0002CD14 41 82 00 08 */ beq lbl_8002FDBC +/* 8002FDB8 0002CD18 48 30 DD 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002FDBC: +/* 8002FDBC 0002CD1C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8002FDC0 0002CD20 48 30 DD 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002FDC4 0002CD24 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8002FDC8 0002CD28 48 30 DD 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002FDCC 0002CD2C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002FDD0 0002CD30 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8002FDD4 0002CD34 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002FDD8 0002CD38 38 84 00 07 */ addi r4, r4, 7 +/* 8002FDDC 0002CD3C 4B FD 4E DD */ bl string_l__4rstlFPCc +/* 8002FDE0 0002CD40 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002FDE4 0002CD44 38 61 00 90 */ addi r3, r1, 0x90 +/* 8002FDE8 0002CD48 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002FDEC 0002CD4C 38 84 00 08 */ addi r4, r4, 8 +/* 8002FDF0 0002CD50 4B FD 4E C9 */ bl string_l__4rstlFPCc +/* 8002FDF4 0002CD54 38 00 00 00 */ li r0, 0 +/* 8002FDF8 0002CD58 3A 81 00 FC */ addi r20, r1, 0xfc +/* 8002FDFC 0002CD5C 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 8002FE00 0002CD60 7E 83 A3 78 */ mr r3, r20 +/* 8002FE04 0002CD64 38 81 00 90 */ addi r4, r1, 0x90 +/* 8002FE08 0002CD68 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8002FE0C 0002CD6C 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 8002FE10 0002CD70 48 30 E3 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002FE14 0002CD74 C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) +/* 8002FE18 0002CD78 38 00 00 00 */ li r0, 0 +/* 8002FE1C 0002CD7C 90 01 01 10 */ stw r0, 0x110(r1) +/* 8002FE20 0002CD80 38 61 00 28 */ addi r3, r1, 0x28 +/* 8002FE24 0002CD84 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) +/* 8002FE28 0002CD88 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 8002FE2C 0002CD8C 48 31 8F C1 */ bl __ct__13CCharAnimTimeFf +/* 8002FE30 0002CD90 38 01 00 F0 */ addi r0, r1, 0xf0 +/* 8002FE34 0002CD94 7C 66 1B 78 */ mr r6, r3 +/* 8002FE38 0002CD98 90 01 00 08 */ stw r0, 8(r1) +/* 8002FE3C 0002CD9C 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 8002FE40 0002CDA0 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) +/* 8002FE44 0002CDA4 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 8002FE48 0002CDA8 38 A0 00 05 */ li r5, 5 +/* 8002FE4C 0002CDAC 38 E0 FF FF */ li r7, -1 +/* 8002FE50 0002CDB0 39 00 00 00 */ li r8, 0 +/* 8002FE54 0002CDB4 39 20 FF FF */ li r9, -1 +/* 8002FE58 0002CDB8 39 40 00 00 */ li r10, 0 +/* 8002FE5C 0002CDBC 48 00 05 AD */ bl sub_80030408 +/* 8002FE60 0002CDC0 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha +/* 8002FE64 0002CDC4 38 A1 01 F4 */ addi r5, r1, 0x1f4 +/* 8002FE68 0002CDC8 38 63 C2 B8 */ addi r3, r3, lbl_8056C2B8@l +/* 8002FE6C 0002CDCC 38 80 00 14 */ li r4, 0x14 +/* 8002FE70 0002CDD0 48 00 04 4D */ bl sub_800302bc +/* 8002FE74 0002CDD4 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 8002FE78 0002CDD8 34 81 02 2C */ addic. r4, r1, 0x22c +/* 8002FE7C 0002CDDC 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 8002FE80 0002CDE0 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 8002FE84 0002CDE4 41 82 00 10 */ beq lbl_8002FE94 +/* 8002FE88 0002CDE8 34 64 00 0C */ addic. r3, r4, 0xc +/* 8002FE8C 0002CDEC 41 82 00 08 */ beq lbl_8002FE94 +/* 8002FE90 0002CDF0 48 30 DC 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002FE94: +/* 8002FE94 0002CDF4 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 8002FE98 0002CDF8 34 61 01 FC */ addic. r3, r1, 0x1fc +/* 8002FE9C 0002CDFC 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 8002FEA0 0002CE00 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 8002FEA4 0002CE04 41 82 00 08 */ beq lbl_8002FEAC +/* 8002FEA8 0002CE08 48 30 DC 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002FEAC: +/* 8002FEAC 0002CE0C 28 14 00 00 */ cmplwi r20, 0 +/* 8002FEB0 0002CE10 41 82 00 0C */ beq lbl_8002FEBC +/* 8002FEB4 0002CE14 7E 83 A3 78 */ mr r3, r20 +/* 8002FEB8 0002CE18 48 30 DC 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002FEBC: +/* 8002FEBC 0002CE1C 38 61 00 90 */ addi r3, r1, 0x90 +/* 8002FEC0 0002CE20 48 30 DC 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002FEC4 0002CE24 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8002FEC8 0002CE28 48 30 DC 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8002FECC 0002CE2C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8002FED0 0002CE30 38 61 00 80 */ addi r3, r1, 0x80 +/* 8002FED4 0002CE34 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8002FED8 0002CE38 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8002FEDC 0002CE3C 38 84 00 07 */ addi r4, r4, 7 +/* 8002FEE0 0002CE40 38 A0 FF FF */ li r5, -1 +/* 8002FEE4 0002CE44 48 30 E2 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8002FEE8 0002CE48 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) +/* 8002FEEC 0002CE4C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002FEF0 0002CE50 48 31 8E FD */ bl __ct__13CCharAnimTimeFf +/* 8002FEF4 0002CE54 C0 42 83 D0 */ lfs f2, lbl_805AA0F0@sda21(r2) +/* 8002FEF8 0002CE58 38 00 00 00 */ li r0, 0 +/* 8002FEFC 0002CE5C 7C 66 1B 78 */ mr r6, r3 +/* 8002FF00 0002CE60 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) +/* 8002FF04 0002CE64 FC 60 10 90 */ fmr f3, f2 +/* 8002FF08 0002CE68 90 01 00 08 */ stw r0, 8(r1) +/* 8002FF0C 0002CE6C 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 8002FF10 0002CE70 38 81 00 80 */ addi r4, r1, 0x80 +/* 8002FF14 0002CE74 38 A0 00 08 */ li r5, 8 +/* 8002FF18 0002CE78 38 E0 FF FF */ li r7, -1 +/* 8002FF1C 0002CE7C 39 00 00 00 */ li r8, 0 +/* 8002FF20 0002CE80 39 20 FF FF */ li r9, -1 +/* 8002FF24 0002CE84 39 40 00 00 */ li r10, 0 +/* 8002FF28 0002CE88 48 00 03 29 */ bl "__ct__13CSoundPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiff" +/* 8002FF2C 0002CE8C 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha +/* 8002FF30 0002CE90 38 A1 01 B0 */ addi r5, r1, 0x1b0 +/* 8002FF34 0002CE94 38 63 C9 EC */ addi r3, r3, lbl_8056C9EC@l +/* 8002FF38 0002CE98 38 80 00 14 */ li r4, 0x14 +/* 8002FF3C 0002CE9C 48 00 02 21 */ bl sub_8003015c +/* 8002FF40 0002CEA0 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 8002FF44 0002CEA4 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 8002FF48 0002CEA8 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l +/* 8002FF4C 0002CEAC 34 61 01 B8 */ addic. r3, r1, 0x1b8 +/* 8002FF50 0002CEB0 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 8002FF54 0002CEB4 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 8002FF58 0002CEB8 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 8002FF5C 0002CEBC 41 82 00 08 */ beq lbl_8002FF64 +/* 8002FF60 0002CEC0 48 30 DB 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002FF64: +/* 8002FF64 0002CEC4 38 61 00 80 */ addi r3, r1, 0x80 +/* 8002FF68 0002CEC8 48 30 DB 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8002FF6C: +/* 8002FF6C 0002CECC 80 6D A1 08 */ lwz r3, lbl_805A8CC8@sda21(r13) +/* 8002FF70 0002CED0 38 03 00 01 */ addi r0, r3, 1 +/* 8002FF74 0002CED4 90 0D A1 08 */ stw r0, lbl_805A8CC8@sda21(r13) +/* 8002FF78 0002CED8 80 7F 00 E0 */ lwz r3, 0xe0(r31) +/* 8002FF7C 0002CEDC 48 32 2C 9D */ bl CalculateDefault__13CSkinnedModelFv +/* 8002FF80 0002CEE0 80 7F 00 E0 */ lwz r3, 0xe0(r31) +/* 8002FF84 0002CEE4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8002FF88 0002CEE8 48 32 57 49 */ bl GetPositions__6CModelCFv +/* 8002FF8C 0002CEEC 3A A0 00 00 */ li r21, 0 +/* 8002FF90 0002CEF0 7C 74 1B 78 */ mr r20, r3 +/* 8002FF94 0002CEF4 48 00 00 18 */ b lbl_8002FFAC +lbl_8002FF98: +/* 8002FF98 0002CEF8 7E 84 A3 78 */ mr r4, r20 +/* 8002FF9C 0002CEFC 38 7F 01 08 */ addi r3, r31, 0x108 +/* 8002FFA0 0002CF00 48 30 7B 69 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8002FFA4 0002CF04 3A 94 00 0C */ addi r20, r20, 0xc +/* 8002FFA8 0002CF08 3A B5 00 01 */ addi r21, r21, 1 +lbl_8002FFAC: +/* 8002FFAC 0002CF0C 80 7F 00 E0 */ lwz r3, 0xe0(r31) +/* 8002FFB0 0002CF10 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8002FFB4 0002CF14 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8002FFB8 0002CF18 7C 15 00 00 */ cmpw r21, r0 +/* 8002FFBC 0002CF1C 41 80 FF DC */ blt lbl_8002FF98 +/* 8002FFC0 0002CF20 38 7F 01 20 */ addi r3, r31, 0x120 +/* 8002FFC4 0002CF24 38 9E 00 44 */ addi r4, r30, 0x44 +/* 8002FFC8 0002CF28 48 08 A2 CD */ bl CacheParticleDesc__17CParticleDatabaseFRCQ213CharacterInfo16CParticleResData +/* 8002FFCC 0002CF2C 3A 41 01 80 */ addi r18, r1, 0x180 +/* 8002FFD0 0002CF30 38 9F 00 CC */ addi r4, r31, 0xcc +/* 8002FFD4 0002CF34 7E 43 93 78 */ mr r3, r18 +/* 8002FFD8 0002CF38 48 31 0E D1 */ bl __ct__6CTokenFRC6CToken +/* 8002FFDC 0002CF3C 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8002FFE0 0002CF40 7E 43 93 78 */ mr r3, r18 +/* 8002FFE4 0002CF44 90 01 01 88 */ stw r0, 0x188(r1) +/* 8002FFE8 0002CF48 48 31 0D 9D */ bl Lock__6CTokenFv +/* 8002FFEC 0002CF4C 38 00 00 00 */ li r0, 0 +/* 8002FFF0 0002CF50 38 61 03 24 */ addi r3, r1, 0x324 +/* 8002FFF4 0002CF54 98 01 01 AC */ stb r0, 0x1ac(r1) +/* 8002FFF8 0002CF58 7E 44 93 78 */ mr r4, r18 +/* 8002FFFC 0002CF5C 48 2C CB 8D */ bl __ct__21CHierarchyPoseBuilderFRC18CLayoutDescription +/* 80030000 0002CF60 38 61 03 24 */ addi r3, r1, 0x324 +/* 80030004 0002CF64 38 9F 02 24 */ addi r4, r31, 0x224 +/* 80030008 0002CF68 48 2C C9 09 */ bl BuildNoScale__21CHierarchyPoseBuilderFR17CPoseAsTransforms +/* 8003000C 0002CF6C 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 80030010 0002CF70 38 60 00 01 */ li r3, 1 +/* 80030014 0002CF74 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80030018 0002CF78 2C 1D FF FF */ cmpwi r29, -1 +/* 8003001C 0002CF7C 98 1F 02 20 */ stb r0, 0x220(r31) +/* 80030020 0002CF80 7F B4 EB 78 */ mr r20, r29 +/* 80030024 0002CF84 40 82 00 84 */ bne lbl_800300A8 +/* 80030028 0002CF88 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8003002C 0002CF8C 38 61 00 70 */ addi r3, r1, 0x70 +/* 80030030 0002CF90 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 80030034 0002CF94 3A 80 00 00 */ li r20, 0 +/* 80030038 0002CF98 38 84 00 0D */ addi r4, r4, 0xd +/* 8003003C 0002CF9C 4B FD 4C 7D */ bl string_l__4rstlFPCc +/* 80030040 0002CFA0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80030044 0002CFA4 38 81 00 70 */ addi r4, r1, 0x70 +/* 80030048 0002CFA8 38 BE 00 04 */ addi r5, r30, 4 +/* 8003004C 0002CFAC 4B FD 4C 11 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80030050 0002CFB0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 80030054 0002CFB4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80030058 0002CFB8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8003005C 0002CFBC 38 84 00 18 */ addi r4, r4, 0x18 +/* 80030060 0002CFC0 4B FD 4C 59 */ bl string_l__4rstlFPCc +/* 80030064 0002CFC4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80030068 0002CFC8 38 81 00 60 */ addi r4, r1, 0x60 +/* 8003006C 0002CFCC 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80030070 0002CFD0 4B FD 4B ED */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80030074 0002CFD4 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80030078 0002CFD8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8003007C 0002CFDC 48 30 E0 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80030080 0002CFE0 38 61 00 40 */ addi r3, r1, 0x40 +/* 80030084 0002CFE4 48 30 DA 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80030088 0002CFE8 38 61 00 50 */ addi r3, r1, 0x50 +/* 8003008C 0002CFEC 48 30 DA 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80030090 0002CFF0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80030094 0002CFF4 48 30 DA 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80030098 0002CFF8 38 61 00 70 */ addi r3, r1, 0x70 +/* 8003009C 0002CFFC 48 30 DA 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800300A0 0002D000 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 800300A4 0002D004 48 30 DA 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800300A8: +/* 800300A8 0002D008 80 BE 00 BC */ lwz r5, 0xbc(r30) +/* 800300AC 0002D00C 56 80 10 3A */ slwi r0, r20, 2 +/* 800300B0 0002D010 7F E4 FB 78 */ mr r4, r31 +/* 800300B4 0002D014 38 61 00 1C */ addi r3, r1, 0x1c +/* 800300B8 0002D018 7E 85 00 2E */ lwzx r20, r5, r0 +/* 800300BC 0002D01C 4B FF A4 31 */ bl GetAnimationManager__9CAnimDataFv +/* 800300C0 0002D020 38 61 02 9C */ addi r3, r1, 0x29c +/* 800300C4 0002D024 48 2B 77 55 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 800300C8 0002D028 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 800300CC 0002D02C 7E 85 A3 78 */ mr r5, r20 +/* 800300D0 0002D030 38 61 00 18 */ addi r3, r1, 0x18 +/* 800300D4 0002D034 38 C1 02 9C */ addi r6, r1, 0x29c +/* 800300D8 0002D038 80 84 00 00 */ lwz r4, 0(r4) +/* 800300DC 0002D03C 48 2A 6D B5 */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders +/* 800300E0 0002D040 38 7F 01 F8 */ addi r3, r31, 0x1f8 +/* 800300E4 0002D044 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800300E8 0002D048 80 9F 01 F8 */ lwz r4, 0x1f8(r31) +/* 800300EC 0002D04C 7C 04 00 40 */ cmplw r4, r0 +/* 800300F0 0002D050 41 82 00 20 */ beq lbl_80030110 +/* 800300F4 0002D054 48 00 0E AD */ bl sub_80030fa0 +/* 800300F8 0002D058 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800300FC 0002D05C 90 1F 01 F8 */ stw r0, 0x1f8(r31) +/* 80030100 0002D060 80 9F 01 F8 */ lwz r4, 0x1f8(r31) +/* 80030104 0002D064 80 64 00 04 */ lwz r3, 4(r4) +/* 80030108 0002D068 38 03 00 01 */ addi r0, r3, 1 +/* 8003010C 0002D06C 90 04 00 04 */ stw r0, 4(r4) +lbl_80030110: +/* 80030110 0002D070 38 61 00 18 */ addi r3, r1, 0x18 +/* 80030114 0002D074 48 00 0E 8D */ bl sub_80030fa0 +/* 80030118 0002D078 38 00 00 00 */ li r0, 0 +/* 8003011C 0002D07C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80030120 0002D080 98 01 03 20 */ stb r0, 0x320(r1) +/* 80030124 0002D084 98 01 02 DC */ stb r0, 0x2dc(r1) +/* 80030128 0002D088 48 00 12 85 */ bl sub_800313ac +/* 8003012C 0002D08C 38 61 03 24 */ addi r3, r1, 0x324 +/* 80030130 0002D090 38 80 FF FF */ li r4, -1 +/* 80030134 0002D094 4B FF F4 85 */ bl __dt__21CHierarchyPoseBuilderFv +/* 80030138 0002D098 38 61 01 80 */ addi r3, r1, 0x180 +/* 8003013C 0002D09C 38 80 FF FF */ li r4, -1 +/* 80030140 0002D0A0 4B FF F4 F9 */ bl sub_8002f638 +/* 80030144 0002D0A4 7F E3 FB 78 */ mr r3, r31 +/* 80030148 0002D0A8 BA 41 04 38 */ lmw r18, 0x438(r1) +/* 8003014C 0002D0AC 80 01 04 74 */ lwz r0, 0x474(r1) +/* 80030150 0002D0B0 7C 08 03 A6 */ mtlr r0 +/* 80030154 0002D0B4 38 21 04 70 */ addi r1, r1, 0x470 +/* 80030158 0002D0B8 4E 80 00 20 */ blr + +.global sub_8003015c +sub_8003015c: +/* 8003015C 0002D0BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80030160 0002D0C0 7C 08 02 A6 */ mflr r0 +/* 80030164 0002D0C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80030168 0002D0C8 BF 41 00 08 */ stmw r26, 8(r1) +/* 8003016C 0002D0CC 7C 7C 1B 78 */ mr r28, r3 +/* 80030170 0002D0D0 7C 9D 23 78 */ mr r29, r4 +/* 80030174 0002D0D4 7C BE 2B 78 */ mr r30, r5 +/* 80030178 0002D0D8 80 63 00 00 */ lwz r3, 0(r3) +/* 8003017C 0002D0DC 7C 03 E8 00 */ cmpw r3, r29 +/* 80030180 0002D0E0 40 80 00 BC */ bge lbl_8003023C +/* 80030184 0002D0E4 1C 03 00 44 */ mulli r0, r3, 0x44 +/* 80030188 0002D0E8 7F E3 E8 50 */ subf r31, r3, r29 +/* 8003018C 0002D0EC 3B 60 00 00 */ li r27, 0 +/* 80030190 0002D0F0 7F 5C 02 14 */ add r26, r28, r0 +/* 80030194 0002D0F4 3B 5A 00 04 */ addi r26, r26, 4 +/* 80030198 0002D0F8 48 00 00 98 */ b lbl_80030230 +lbl_8003019C: +/* 8003019C 0002D0FC 28 1A 00 00 */ cmplwi r26, 0 +/* 800301A0 0002D100 41 82 00 88 */ beq lbl_80030228 +/* 800301A4 0002D104 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 800301A8 0002D108 38 7A 00 08 */ addi r3, r26, 8 +/* 800301AC 0002D10C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 800301B0 0002D110 38 9E 00 08 */ addi r4, r30, 8 +/* 800301B4 0002D114 90 1A 00 00 */ stw r0, 0(r26) +/* 800301B8 0002D118 A0 1E 00 04 */ lhz r0, 4(r30) +/* 800301BC 0002D11C B0 1A 00 04 */ sth r0, 4(r26) +/* 800301C0 0002D120 48 30 DF A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800301C4 0002D124 A0 9E 00 18 */ lhz r4, 0x18(r30) +/* 800301C8 0002D128 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 800301CC 0002D12C 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l +/* 800301D0 0002D130 B0 9A 00 18 */ sth r4, 0x18(r26) +/* 800301D4 0002D134 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 800301D8 0002D138 D0 1A 00 1C */ stfs f0, 0x1c(r26) +/* 800301DC 0002D13C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 800301E0 0002D140 90 7A 00 20 */ stw r3, 0x20(r26) +/* 800301E4 0002D144 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 800301E8 0002D148 90 7A 00 24 */ stw r3, 0x24(r26) +/* 800301EC 0002D14C 88 7E 00 28 */ lbz r3, 0x28(r30) +/* 800301F0 0002D150 98 7A 00 28 */ stb r3, 0x28(r26) +/* 800301F4 0002D154 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 800301F8 0002D158 D0 1A 00 2C */ stfs f0, 0x2c(r26) +/* 800301FC 0002D15C 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 80030200 0002D160 90 7A 00 30 */ stw r3, 0x30(r26) +/* 80030204 0002D164 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 80030208 0002D168 90 7A 00 34 */ stw r3, 0x34(r26) +/* 8003020C 0002D16C 90 1A 00 00 */ stw r0, 0(r26) +/* 80030210 0002D170 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 80030214 0002D174 90 1A 00 38 */ stw r0, 0x38(r26) +/* 80030218 0002D178 C0 1E 00 3C */ lfs f0, 0x3c(r30) +/* 8003021C 0002D17C D0 1A 00 3C */ stfs f0, 0x3c(r26) +/* 80030220 0002D180 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80030224 0002D184 D0 1A 00 40 */ stfs f0, 0x40(r26) +lbl_80030228: +/* 80030228 0002D188 3B 7B 00 01 */ addi r27, r27, 1 +/* 8003022C 0002D18C 3B 5A 00 44 */ addi r26, r26, 0x44 +lbl_80030230: +/* 80030230 0002D190 7C 1B F8 00 */ cmpw r27, r31 +/* 80030234 0002D194 41 80 FF 68 */ blt lbl_8003019C +/* 80030238 0002D198 93 BC 00 00 */ stw r29, 0(r28) +lbl_8003023C: +/* 8003023C 0002D19C BB 41 00 08 */ lmw r26, 8(r1) +/* 80030240 0002D1A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80030244 0002D1A4 7C 08 03 A6 */ mtlr r0 +/* 80030248 0002D1A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003024C 0002D1AC 4E 80 00 20 */ blr + +.global "__ct__13CSoundPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiff" +"__ct__13CSoundPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiff": +/* 80030250 0002D1B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80030254 0002D1B4 7C 08 02 A6 */ mflr r0 +/* 80030258 0002D1B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003025C 0002D1BC DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80030260 0002D1C0 FF E0 18 90 */ fmr f31, f3 +/* 80030264 0002D1C4 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 80030268 0002D1C8 FF C0 10 90 */ fmr f30, f2 +/* 8003026C 0002D1CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030270 0002D1D0 83 E1 00 28 */ lwz r31, 0x28(r1) +/* 80030274 0002D1D4 93 C1 00 08 */ stw r30, 8(r1) +/* 80030278 0002D1D8 7C 7E 1B 78 */ mr r30, r3 +/* 8003027C 0002D1DC 48 2C CF 95 */ bl "__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii" +/* 80030280 0002D1E0 3C 80 80 3E */ lis r4, lbl_803D9B80@ha +/* 80030284 0002D1E4 7F C3 F3 78 */ mr r3, r30 +/* 80030288 0002D1E8 38 04 9B 80 */ addi r0, r4, lbl_803D9B80@l +/* 8003028C 0002D1EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80030290 0002D1F0 93 FE 00 38 */ stw r31, 0x38(r30) +/* 80030294 0002D1F4 D3 DE 00 3C */ stfs f30, 0x3c(r30) +/* 80030298 0002D1F8 D3 FE 00 40 */ stfs f31, 0x40(r30) +/* 8003029C 0002D1FC CB E1 00 18 */ lfd f31, 0x18(r1) +/* 800302A0 0002D200 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 800302A4 0002D204 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800302A8 0002D208 83 C1 00 08 */ lwz r30, 8(r1) +/* 800302AC 0002D20C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800302B0 0002D210 7C 08 03 A6 */ mtlr r0 +/* 800302B4 0002D214 38 21 00 20 */ addi r1, r1, 0x20 +/* 800302B8 0002D218 4E 80 00 20 */ blr + +.global sub_800302bc +sub_800302bc: +/* 800302BC 0002D21C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800302C0 0002D220 7C 08 02 A6 */ mflr r0 +/* 800302C4 0002D224 90 01 00 14 */ stw r0, 0x14(r1) +/* 800302C8 0002D228 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800302CC 0002D22C 7C 9F 23 78 */ mr r31, r4 +/* 800302D0 0002D230 93 C1 00 08 */ stw r30, 8(r1) +/* 800302D4 0002D234 7C 7E 1B 78 */ mr r30, r3 +/* 800302D8 0002D238 80 63 00 00 */ lwz r3, 0(r3) +/* 800302DC 0002D23C 7C 03 F8 00 */ cmpw r3, r31 +/* 800302E0 0002D240 40 80 00 1C */ bge lbl_800302FC +/* 800302E4 0002D244 1C 03 00 5C */ mulli r0, r3, 0x5c +/* 800302E8 0002D248 7C 83 F8 50 */ subf r4, r3, r31 +/* 800302EC 0002D24C 7C 7E 02 14 */ add r3, r30, r0 +/* 800302F0 0002D250 38 63 00 04 */ addi r3, r3, 4 +/* 800302F4 0002D254 48 00 00 21 */ bl sub_80030314 +/* 800302F8 0002D258 93 FE 00 00 */ stw r31, 0(r30) +lbl_800302FC: +/* 800302FC 0002D25C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030300 0002D260 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030304 0002D264 83 C1 00 08 */ lwz r30, 8(r1) +/* 80030308 0002D268 7C 08 03 A6 */ mtlr r0 +/* 8003030C 0002D26C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030310 0002D270 4E 80 00 20 */ blr + +.global sub_80030314 +sub_80030314: +/* 80030314 0002D274 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80030318 0002D278 7C 08 02 A6 */ mflr r0 +/* 8003031C 0002D27C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80030320 0002D280 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80030324 0002D284 7C BC 2B 78 */ mr r28, r5 +/* 80030328 0002D288 7C 9B 23 78 */ mr r27, r4 +/* 8003032C 0002D28C 3B A0 00 00 */ li r29, 0 +/* 80030330 0002D290 7C 7E 1B 78 */ mr r30, r3 +/* 80030334 0002D294 3B FC 00 44 */ addi r31, r28, 0x44 +/* 80030338 0002D298 48 00 00 B4 */ b lbl_800303EC +lbl_8003033C: +/* 8003033C 0002D29C 28 1E 00 00 */ cmplwi r30, 0 +/* 80030340 0002D2A0 41 82 00 A4 */ beq lbl_800303E4 +/* 80030344 0002D2A4 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 80030348 0002D2A8 38 9C 00 08 */ addi r4, r28, 8 +/* 8003034C 0002D2AC 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 80030350 0002D2B0 90 1E 00 00 */ stw r0, 0(r30) +/* 80030354 0002D2B4 38 7E 00 08 */ addi r3, r30, 8 +/* 80030358 0002D2B8 A0 1C 00 04 */ lhz r0, 4(r28) +/* 8003035C 0002D2BC B0 1E 00 04 */ sth r0, 4(r30) +/* 80030360 0002D2C0 48 30 DE 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80030364 0002D2C4 A0 BC 00 18 */ lhz r5, 0x18(r28) +/* 80030368 0002D2C8 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 8003036C 0002D2CC 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 80030370 0002D2D0 7F E4 FB 78 */ mr r4, r31 +/* 80030374 0002D2D4 B0 BE 00 18 */ sth r5, 0x18(r30) +/* 80030378 0002D2D8 38 7E 00 44 */ addi r3, r30, 0x44 +/* 8003037C 0002D2DC C0 1C 00 1C */ lfs f0, 0x1c(r28) +/* 80030380 0002D2E0 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80030384 0002D2E4 80 BC 00 20 */ lwz r5, 0x20(r28) +/* 80030388 0002D2E8 90 BE 00 20 */ stw r5, 0x20(r30) +/* 8003038C 0002D2EC 80 BC 00 24 */ lwz r5, 0x24(r28) +/* 80030390 0002D2F0 90 BE 00 24 */ stw r5, 0x24(r30) +/* 80030394 0002D2F4 88 BC 00 28 */ lbz r5, 0x28(r28) +/* 80030398 0002D2F8 98 BE 00 28 */ stb r5, 0x28(r30) +/* 8003039C 0002D2FC C0 1C 00 2C */ lfs f0, 0x2c(r28) +/* 800303A0 0002D300 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 800303A4 0002D304 80 BC 00 30 */ lwz r5, 0x30(r28) +/* 800303A8 0002D308 90 BE 00 30 */ stw r5, 0x30(r30) +/* 800303AC 0002D30C 80 BC 00 34 */ lwz r5, 0x34(r28) +/* 800303B0 0002D310 90 BE 00 34 */ stw r5, 0x34(r30) +/* 800303B4 0002D314 90 1E 00 00 */ stw r0, 0(r30) +/* 800303B8 0002D318 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 800303BC 0002D31C 90 1E 00 38 */ stw r0, 0x38(r30) +/* 800303C0 0002D320 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 800303C4 0002D324 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 800303C8 0002D328 80 1C 00 40 */ lwz r0, 0x40(r28) +/* 800303CC 0002D32C 90 1E 00 40 */ stw r0, 0x40(r30) +/* 800303D0 0002D330 48 30 DD 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800303D4 0002D334 C0 1C 00 54 */ lfs f0, 0x54(r28) +/* 800303D8 0002D338 D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 800303DC 0002D33C 80 1C 00 58 */ lwz r0, 0x58(r28) +/* 800303E0 0002D340 90 1E 00 58 */ stw r0, 0x58(r30) +lbl_800303E4: +/* 800303E4 0002D344 3B BD 00 01 */ addi r29, r29, 1 +/* 800303E8 0002D348 3B DE 00 5C */ addi r30, r30, 0x5c +lbl_800303EC: +/* 800303EC 0002D34C 7C 1D D8 00 */ cmpw r29, r27 +/* 800303F0 0002D350 41 80 FF 4C */ blt lbl_8003033C +/* 800303F4 0002D354 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 800303F8 0002D358 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800303FC 0002D35C 7C 08 03 A6 */ mtlr r0 +/* 80030400 0002D360 38 21 00 20 */ addi r1, r1, 0x20 +/* 80030404 0002D364 4E 80 00 20 */ blr + +.global sub_80030408 +sub_80030408: +/* 80030408 0002D368 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003040C 0002D36C 7C 08 02 A6 */ mflr r0 +/* 80030410 0002D370 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030414 0002D374 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030418 0002D378 83 E1 00 18 */ lwz r31, 0x18(r1) +/* 8003041C 0002D37C 93 C1 00 08 */ stw r30, 8(r1) +/* 80030420 0002D380 7C 7E 1B 78 */ mr r30, r3 +/* 80030424 0002D384 48 2C CD ED */ bl "__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii" +/* 80030428 0002D388 3C 80 80 3E */ lis r4, lbl_803D9B74@ha +/* 8003042C 0002D38C 38 7E 00 44 */ addi r3, r30, 0x44 +/* 80030430 0002D390 38 04 9B 74 */ addi r0, r4, lbl_803D9B74@l +/* 80030434 0002D394 38 9F 00 0C */ addi r4, r31, 0xc +/* 80030438 0002D398 90 1E 00 00 */ stw r0, 0(r30) +/* 8003043C 0002D39C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80030440 0002D3A0 90 1E 00 38 */ stw r0, 0x38(r30) +/* 80030444 0002D3A4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80030448 0002D3A8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 8003044C 0002D3AC 80 1F 00 08 */ lwz r0, 8(r31) +/* 80030450 0002D3B0 90 1E 00 40 */ stw r0, 0x40(r30) +/* 80030454 0002D3B4 48 30 DD 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80030458 0002D3B8 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8003045C 0002D3BC 7F C3 F3 78 */ mr r3, r30 +/* 80030460 0002D3C0 D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 80030464 0002D3C4 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80030468 0002D3C8 90 1E 00 58 */ stw r0, 0x58(r30) +/* 8003046C 0002D3CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030470 0002D3D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80030474 0002D3D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030478 0002D3D8 7C 08 03 A6 */ mtlr r0 +/* 8003047C 0002D3DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030480 0002D3E0 4E 80 00 20 */ blr + +.global "__ct__12CBoolPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiib" +"__ct__12CBoolPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiib": +/* 80030484 0002D3E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030488 0002D3E8 7C 08 02 A6 */ mflr r0 +/* 8003048C 0002D3EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030490 0002D3F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030494 0002D3F4 8B E1 00 1B */ lbz r31, 0x1b(r1) +/* 80030498 0002D3F8 93 C1 00 08 */ stw r30, 8(r1) +/* 8003049C 0002D3FC 7C 7E 1B 78 */ mr r30, r3 +/* 800304A0 0002D400 48 2C CD 71 */ bl "__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii" +/* 800304A4 0002D404 3C 80 80 3E */ lis r4, lbl_803D9B68@ha +/* 800304A8 0002D408 7F C3 F3 78 */ mr r3, r30 +/* 800304AC 0002D40C 38 04 9B 68 */ addi r0, r4, lbl_803D9B68@l +/* 800304B0 0002D410 90 1E 00 00 */ stw r0, 0(r30) +/* 800304B4 0002D414 9B FE 00 38 */ stb r31, 0x38(r30) +/* 800304B8 0002D418 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800304BC 0002D41C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800304C0 0002D420 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800304C4 0002D424 7C 08 03 A6 */ mtlr r0 +/* 800304C8 0002D428 38 21 00 10 */ addi r1, r1, 0x10 +/* 800304CC 0002D42C 4E 80 00 20 */ blr + +.global __ct__14CCharacterInfoFRC14CCharacterInfo +__ct__14CCharacterInfoFRC14CCharacterInfo: +/* 800304D0 0002D430 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800304D4 0002D434 7C 08 02 A6 */ mflr r0 +/* 800304D8 0002D438 90 01 00 34 */ stw r0, 0x34(r1) +/* 800304DC 0002D43C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 800304E0 0002D440 7C 7E 1B 78 */ mr r30, r3 +/* 800304E4 0002D444 7C 9F 23 78 */ mr r31, r4 +/* 800304E8 0002D448 38 7E 00 04 */ addi r3, r30, 4 +/* 800304EC 0002D44C A0 04 00 00 */ lhz r0, 0(r4) +/* 800304F0 0002D450 38 9F 00 04 */ addi r4, r31, 4 +/* 800304F4 0002D454 B0 1E 00 00 */ sth r0, 0(r30) +/* 800304F8 0002D458 48 30 DC 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800304FC 0002D45C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80030500 0002D460 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80030504 0002D464 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80030508 0002D468 90 1E 00 18 */ stw r0, 0x18(r30) +/* 8003050C 0002D46C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80030510 0002D470 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80030514 0002D474 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80030518 0002D478 90 1E 00 24 */ stw r0, 0x24(r30) +/* 8003051C 0002D47C 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80030520 0002D480 90 1E 00 28 */ stw r0, 0x28(r30) +/* 80030524 0002D484 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80030528 0002D488 2C 00 00 00 */ cmpwi r0, 0 +/* 8003052C 0002D48C 40 82 00 1C */ bne lbl_80030548 +/* 80030530 0002D490 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80030534 0002D494 2C 00 00 00 */ cmpwi r0, 0 +/* 80030538 0002D498 40 82 00 10 */ bne lbl_80030548 +/* 8003053C 0002D49C 38 00 00 00 */ li r0, 0 +/* 80030540 0002D4A0 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 80030544 0002D4A4 48 00 00 88 */ b lbl_800305CC +lbl_80030548: +/* 80030548 0002D4A8 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8003054C 0002D4AC 1C 60 00 24 */ mulli r3, r0, 0x24 +/* 80030550 0002D4B0 2C 03 00 00 */ cmpwi r3, 0 +/* 80030554 0002D4B4 40 82 00 10 */ bne lbl_80030564 +/* 80030558 0002D4B8 38 00 00 00 */ li r0, 0 +/* 8003055C 0002D4BC 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 80030560 0002D4C0 48 00 00 18 */ b lbl_80030578 +lbl_80030564: +/* 80030564 0002D4C4 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 80030568 0002D4C8 38 A0 00 00 */ li r5, 0 +/* 8003056C 0002D4CC 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 80030570 0002D4D0 48 2E 52 A9 */ bl __nwa__FUlPCcPCc +/* 80030574 0002D4D4 90 7E 00 2C */ stw r3, 0x2c(r30) +lbl_80030578: +/* 80030578 0002D4D8 83 5E 00 24 */ lwz r26, 0x24(r30) +/* 8003057C 0002D4DC 3B A0 00 00 */ li r29, 0 +/* 80030580 0002D4E0 83 7F 00 2C */ lwz r27, 0x2c(r31) +/* 80030584 0002D4E4 83 9E 00 2C */ lwz r28, 0x2c(r30) +/* 80030588 0002D4E8 48 00 00 3C */ b lbl_800305C4 +lbl_8003058C: +/* 8003058C 0002D4EC 28 1C 00 00 */ cmplwi r28, 0 +/* 80030590 0002D4F0 41 82 00 28 */ beq lbl_800305B8 +/* 80030594 0002D4F4 80 1B 00 00 */ lwz r0, 0(r27) +/* 80030598 0002D4F8 3B 3C 00 04 */ addi r25, r28, 4 +/* 8003059C 0002D4FC 7F 23 CB 78 */ mr r3, r25 +/* 800305A0 0002D500 38 9B 00 04 */ addi r4, r27, 4 +/* 800305A4 0002D504 90 1C 00 00 */ stw r0, 0(r28) +/* 800305A8 0002D508 48 30 DB B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800305AC 0002D50C 38 79 00 10 */ addi r3, r25, 0x10 +/* 800305B0 0002D510 38 9B 00 14 */ addi r4, r27, 0x14 +/* 800305B4 0002D514 48 30 DB AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_800305B8: +/* 800305B8 0002D518 3B 9C 00 24 */ addi r28, r28, 0x24 +/* 800305BC 0002D51C 3B BD 00 01 */ addi r29, r29, 1 +/* 800305C0 0002D520 3B 7B 00 24 */ addi r27, r27, 0x24 +lbl_800305C4: +/* 800305C4 0002D524 7C 1D D0 00 */ cmpw r29, r26 +/* 800305C8 0002D528 41 80 FF C4 */ blt lbl_8003058C +lbl_800305CC: +/* 800305CC 0002D52C 38 7E 00 30 */ addi r3, r30, 0x30 +/* 800305D0 0002D530 38 9F 00 30 */ addi r4, r31, 0x30 +/* 800305D4 0002D534 48 00 04 75 */ bl __ct__12CPASDatabaseFRC12CPASDatabase +/* 800305D8 0002D538 38 7E 00 44 */ addi r3, r30, 0x44 +/* 800305DC 0002D53C 38 9F 00 44 */ addi r4, r31, 0x44 +/* 800305E0 0002D540 48 00 01 E1 */ bl sub_800307c0 +/* 800305E4 0002D544 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 800305E8 0002D548 38 7E 00 88 */ addi r3, r30, 0x88 +/* 800305EC 0002D54C 38 9F 00 88 */ addi r4, r31, 0x88 +/* 800305F0 0002D550 90 1E 00 84 */ stw r0, 0x84(r30) +/* 800305F4 0002D554 48 00 00 CD */ bl sub_800306c0 +/* 800305F8 0002D558 38 7E 00 98 */ addi r3, r30, 0x98 +/* 800305FC 0002D55C 38 9F 00 98 */ addi r4, r31, 0x98 +/* 80030600 0002D560 4B FF A5 31 */ bl sub_8002ab30 +/* 80030604 0002D564 80 1F 00 A8 */ lwz r0, 0xa8(r31) +/* 80030608 0002D568 90 1E 00 A8 */ stw r0, 0xa8(r30) +/* 8003060C 0002D56C 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 80030610 0002D570 90 1E 00 AC */ stw r0, 0xac(r30) +/* 80030614 0002D574 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 80030618 0002D578 90 1E 00 B4 */ stw r0, 0xb4(r30) +/* 8003061C 0002D57C 80 1F 00 B8 */ lwz r0, 0xb8(r31) +/* 80030620 0002D580 90 1E 00 B8 */ stw r0, 0xb8(r30) +/* 80030624 0002D584 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 80030628 0002D588 2C 00 00 00 */ cmpwi r0, 0 +/* 8003062C 0002D58C 40 82 00 1C */ bne lbl_80030648 +/* 80030630 0002D590 80 1F 00 B8 */ lwz r0, 0xb8(r31) +/* 80030634 0002D594 2C 00 00 00 */ cmpwi r0, 0 +/* 80030638 0002D598 40 82 00 10 */ bne lbl_80030648 +/* 8003063C 0002D59C 38 00 00 00 */ li r0, 0 +/* 80030640 0002D5A0 90 1E 00 BC */ stw r0, 0xbc(r30) +/* 80030644 0002D5A4 48 00 00 64 */ b lbl_800306A8 +lbl_80030648: +/* 80030648 0002D5A8 80 1E 00 B8 */ lwz r0, 0xb8(r30) +/* 8003064C 0002D5AC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 80030650 0002D5B0 40 82 00 10 */ bne lbl_80030660 +/* 80030654 0002D5B4 38 00 00 00 */ li r0, 0 +/* 80030658 0002D5B8 90 1E 00 BC */ stw r0, 0xbc(r30) +/* 8003065C 0002D5BC 48 00 00 18 */ b lbl_80030674 +lbl_80030660: +/* 80030660 0002D5C0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 80030664 0002D5C4 38 A0 00 00 */ li r5, 0 +/* 80030668 0002D5C8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8003066C 0002D5CC 48 2E 51 AD */ bl __nwa__FUlPCcPCc +/* 80030670 0002D5D0 90 7E 00 BC */ stw r3, 0xbc(r30) +lbl_80030674: +/* 80030674 0002D5D4 80 1E 00 B4 */ lwz r0, 0xb4(r30) +/* 80030678 0002D5D8 80 9F 00 BC */ lwz r4, 0xbc(r31) +/* 8003067C 0002D5DC 80 7E 00 BC */ lwz r3, 0xbc(r30) +/* 80030680 0002D5E0 7C 09 03 A6 */ mtctr r0 +/* 80030684 0002D5E4 2C 00 00 00 */ cmpwi r0, 0 +/* 80030688 0002D5E8 40 81 00 20 */ ble lbl_800306A8 +lbl_8003068C: +/* 8003068C 0002D5EC 28 03 00 00 */ cmplwi r3, 0 +/* 80030690 0002D5F0 41 82 00 0C */ beq lbl_8003069C +/* 80030694 0002D5F4 80 04 00 00 */ lwz r0, 0(r4) +/* 80030698 0002D5F8 90 03 00 00 */ stw r0, 0(r3) +lbl_8003069C: +/* 8003069C 0002D5FC 38 63 00 04 */ addi r3, r3, 4 +/* 800306A0 0002D600 38 84 00 04 */ addi r4, r4, 4 +/* 800306A4 0002D604 42 00 FF E8 */ bdnz lbl_8003068C +lbl_800306A8: +/* 800306A8 0002D608 7F C3 F3 78 */ mr r3, r30 +/* 800306AC 0002D60C BB 21 00 14 */ lmw r25, 0x14(r1) +/* 800306B0 0002D610 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800306B4 0002D614 7C 08 03 A6 */ mtlr r0 +/* 800306B8 0002D618 38 21 00 30 */ addi r1, r1, 0x30 +/* 800306BC 0002D61C 4E 80 00 20 */ blr + +.global sub_800306c0 +sub_800306c0: +/* 800306C0 0002D620 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800306C4 0002D624 7C 08 02 A6 */ mflr r0 +/* 800306C8 0002D628 90 01 00 24 */ stw r0, 0x24(r1) +/* 800306CC 0002D62C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 800306D0 0002D630 7C 9D 23 78 */ mr r29, r4 +/* 800306D4 0002D634 7C 7B 1B 78 */ mr r27, r3 +/* 800306D8 0002D638 80 04 00 04 */ lwz r0, 4(r4) +/* 800306DC 0002D63C 90 03 00 04 */ stw r0, 4(r3) +/* 800306E0 0002D640 80 04 00 08 */ lwz r0, 8(r4) +/* 800306E4 0002D644 90 03 00 08 */ stw r0, 8(r3) +/* 800306E8 0002D648 80 04 00 04 */ lwz r0, 4(r4) +/* 800306EC 0002D64C 2C 00 00 00 */ cmpwi r0, 0 +/* 800306F0 0002D650 40 82 00 1C */ bne lbl_8003070C +/* 800306F4 0002D654 80 1D 00 08 */ lwz r0, 8(r29) +/* 800306F8 0002D658 2C 00 00 00 */ cmpwi r0, 0 +/* 800306FC 0002D65C 40 82 00 10 */ bne lbl_8003070C +/* 80030700 0002D660 38 00 00 00 */ li r0, 0 +/* 80030704 0002D664 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80030708 0002D668 48 00 00 A0 */ b lbl_800307A8 +lbl_8003070C: +/* 8003070C 0002D66C 80 1B 00 08 */ lwz r0, 8(r27) +/* 80030710 0002D670 1C 60 00 28 */ mulli r3, r0, 0x28 +/* 80030714 0002D674 2C 03 00 00 */ cmpwi r3, 0 +/* 80030718 0002D678 40 82 00 10 */ bne lbl_80030728 +/* 8003071C 0002D67C 38 00 00 00 */ li r0, 0 +/* 80030720 0002D680 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80030724 0002D684 48 00 00 18 */ b lbl_8003073C +lbl_80030728: +/* 80030728 0002D688 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8003072C 0002D68C 38 A0 00 00 */ li r5, 0 +/* 80030730 0002D690 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 80030734 0002D694 48 2E 50 E5 */ bl __nwa__FUlPCcPCc +/* 80030738 0002D698 90 7B 00 0C */ stw r3, 0xc(r27) +lbl_8003073C: +/* 8003073C 0002D69C 83 9B 00 04 */ lwz r28, 4(r27) +/* 80030740 0002D6A0 3B E0 00 00 */ li r31, 0 +/* 80030744 0002D6A4 83 BD 00 0C */ lwz r29, 0xc(r29) +/* 80030748 0002D6A8 83 DB 00 0C */ lwz r30, 0xc(r27) +/* 8003074C 0002D6AC 48 00 00 54 */ b lbl_800307A0 +lbl_80030750: +/* 80030750 0002D6B0 28 1E 00 00 */ cmplwi r30, 0 +/* 80030754 0002D6B4 41 82 00 40 */ beq lbl_80030794 +/* 80030758 0002D6B8 7F C3 F3 78 */ mr r3, r30 +/* 8003075C 0002D6BC 7F A4 EB 78 */ mr r4, r29 +/* 80030760 0002D6C0 48 30 DA 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80030764 0002D6C4 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 80030768 0002D6C8 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8003076C 0002D6CC C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 80030770 0002D6D0 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 80030774 0002D6D4 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80030778 0002D6D8 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8003077C 0002D6DC C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80030780 0002D6E0 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80030784 0002D6E4 C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 80030788 0002D6E8 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8003078C 0002D6EC C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 80030790 0002D6F0 D0 1E 00 24 */ stfs f0, 0x24(r30) +lbl_80030794: +/* 80030794 0002D6F4 3B DE 00 28 */ addi r30, r30, 0x28 +/* 80030798 0002D6F8 3B FF 00 01 */ addi r31, r31, 1 +/* 8003079C 0002D6FC 3B BD 00 28 */ addi r29, r29, 0x28 +lbl_800307A0: +/* 800307A0 0002D700 7C 1F E0 00 */ cmpw r31, r28 +/* 800307A4 0002D704 41 80 FF AC */ blt lbl_80030750 +lbl_800307A8: +/* 800307A8 0002D708 7F 63 DB 78 */ mr r3, r27 +/* 800307AC 0002D70C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 800307B0 0002D710 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800307B4 0002D714 7C 08 03 A6 */ mtlr r0 +/* 800307B8 0002D718 38 21 00 20 */ addi r1, r1, 0x20 +/* 800307BC 0002D71C 4E 80 00 20 */ blr + +.global sub_800307c0 +sub_800307c0: +/* 800307C0 0002D720 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800307C4 0002D724 7C 08 02 A6 */ mflr r0 +/* 800307C8 0002D728 90 01 00 14 */ stw r0, 0x14(r1) +/* 800307CC 0002D72C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800307D0 0002D730 7C 9F 23 78 */ mr r31, r4 +/* 800307D4 0002D734 93 C1 00 08 */ stw r30, 8(r1) +/* 800307D8 0002D738 7C 7E 1B 78 */ mr r30, r3 +/* 800307DC 0002D73C 80 04 00 04 */ lwz r0, 4(r4) +/* 800307E0 0002D740 90 03 00 04 */ stw r0, 4(r3) +/* 800307E4 0002D744 80 04 00 08 */ lwz r0, 8(r4) +/* 800307E8 0002D748 90 03 00 08 */ stw r0, 8(r3) +/* 800307EC 0002D74C 80 04 00 04 */ lwz r0, 4(r4) +/* 800307F0 0002D750 2C 00 00 00 */ cmpwi r0, 0 +/* 800307F4 0002D754 40 82 00 1C */ bne lbl_80030810 +/* 800307F8 0002D758 80 1F 00 08 */ lwz r0, 8(r31) +/* 800307FC 0002D75C 2C 00 00 00 */ cmpwi r0, 0 +/* 80030800 0002D760 40 82 00 10 */ bne lbl_80030810 +/* 80030804 0002D764 38 00 00 00 */ li r0, 0 +/* 80030808 0002D768 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8003080C 0002D76C 48 00 00 64 */ b lbl_80030870 +lbl_80030810: +/* 80030810 0002D770 80 1E 00 08 */ lwz r0, 8(r30) +/* 80030814 0002D774 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 80030818 0002D778 40 82 00 10 */ bne lbl_80030828 +/* 8003081C 0002D77C 38 00 00 00 */ li r0, 0 +/* 80030820 0002D780 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80030824 0002D784 48 00 00 18 */ b lbl_8003083C +lbl_80030828: +/* 80030828 0002D788 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 8003082C 0002D78C 38 A0 00 00 */ li r5, 0 +/* 80030830 0002D790 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 80030834 0002D794 48 2E 4F E5 */ bl __nwa__FUlPCcPCc +/* 80030838 0002D798 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_8003083C: +/* 8003083C 0002D79C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80030840 0002D7A0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80030844 0002D7A4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80030848 0002D7A8 7C 09 03 A6 */ mtctr r0 +/* 8003084C 0002D7AC 2C 00 00 00 */ cmpwi r0, 0 +/* 80030850 0002D7B0 40 81 00 20 */ ble lbl_80030870 +lbl_80030854: +/* 80030854 0002D7B4 28 03 00 00 */ cmplwi r3, 0 +/* 80030858 0002D7B8 41 82 00 0C */ beq lbl_80030864 +/* 8003085C 0002D7BC 80 04 00 00 */ lwz r0, 0(r4) +/* 80030860 0002D7C0 90 03 00 00 */ stw r0, 0(r3) +lbl_80030864: +/* 80030864 0002D7C4 38 63 00 04 */ addi r3, r3, 4 +/* 80030868 0002D7C8 38 84 00 04 */ addi r4, r4, 4 +/* 8003086C 0002D7CC 42 00 FF E8 */ bdnz lbl_80030854 +lbl_80030870: +/* 80030870 0002D7D0 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80030874 0002D7D4 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80030878 0002D7D8 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8003087C 0002D7DC 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80030880 0002D7E0 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80030884 0002D7E4 2C 00 00 00 */ cmpwi r0, 0 +/* 80030888 0002D7E8 40 82 00 1C */ bne lbl_800308A4 +/* 8003088C 0002D7EC 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80030890 0002D7F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80030894 0002D7F4 40 82 00 10 */ bne lbl_800308A4 +/* 80030898 0002D7F8 38 00 00 00 */ li r0, 0 +/* 8003089C 0002D7FC 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 800308A0 0002D800 48 00 00 64 */ b lbl_80030904 +lbl_800308A4: +/* 800308A4 0002D804 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 800308A8 0002D808 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 800308AC 0002D80C 40 82 00 10 */ bne lbl_800308BC +/* 800308B0 0002D810 38 00 00 00 */ li r0, 0 +/* 800308B4 0002D814 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 800308B8 0002D818 48 00 00 18 */ b lbl_800308D0 +lbl_800308BC: +/* 800308BC 0002D81C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 800308C0 0002D820 38 A0 00 00 */ li r5, 0 +/* 800308C4 0002D824 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 800308C8 0002D828 48 2E 4F 51 */ bl __nwa__FUlPCcPCc +/* 800308CC 0002D82C 90 7E 00 1C */ stw r3, 0x1c(r30) +lbl_800308D0: +/* 800308D0 0002D830 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 800308D4 0002D834 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 800308D8 0002D838 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 800308DC 0002D83C 7C 09 03 A6 */ mtctr r0 +/* 800308E0 0002D840 2C 00 00 00 */ cmpwi r0, 0 +/* 800308E4 0002D844 40 81 00 20 */ ble lbl_80030904 +lbl_800308E8: +/* 800308E8 0002D848 28 03 00 00 */ cmplwi r3, 0 +/* 800308EC 0002D84C 41 82 00 0C */ beq lbl_800308F8 +/* 800308F0 0002D850 80 04 00 00 */ lwz r0, 0(r4) +/* 800308F4 0002D854 90 03 00 00 */ stw r0, 0(r3) +lbl_800308F8: +/* 800308F8 0002D858 38 63 00 04 */ addi r3, r3, 4 +/* 800308FC 0002D85C 38 84 00 04 */ addi r4, r4, 4 +/* 80030900 0002D860 42 00 FF E8 */ bdnz lbl_800308E8 +lbl_80030904: +/* 80030904 0002D864 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80030908 0002D868 90 1E 00 24 */ stw r0, 0x24(r30) +/* 8003090C 0002D86C 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80030910 0002D870 90 1E 00 28 */ stw r0, 0x28(r30) +/* 80030914 0002D874 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80030918 0002D878 2C 00 00 00 */ cmpwi r0, 0 +/* 8003091C 0002D87C 40 82 00 1C */ bne lbl_80030938 +/* 80030920 0002D880 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80030924 0002D884 2C 00 00 00 */ cmpwi r0, 0 +/* 80030928 0002D888 40 82 00 10 */ bne lbl_80030938 +/* 8003092C 0002D88C 38 00 00 00 */ li r0, 0 +/* 80030930 0002D890 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 80030934 0002D894 48 00 00 64 */ b lbl_80030998 +lbl_80030938: +/* 80030938 0002D898 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8003093C 0002D89C 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 80030940 0002D8A0 40 82 00 10 */ bne lbl_80030950 +/* 80030944 0002D8A4 38 00 00 00 */ li r0, 0 +/* 80030948 0002D8A8 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 8003094C 0002D8AC 48 00 00 18 */ b lbl_80030964 +lbl_80030950: +/* 80030950 0002D8B0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 80030954 0002D8B4 38 A0 00 00 */ li r5, 0 +/* 80030958 0002D8B8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 8003095C 0002D8BC 48 2E 4E BD */ bl __nwa__FUlPCcPCc +/* 80030960 0002D8C0 90 7E 00 2C */ stw r3, 0x2c(r30) +lbl_80030964: +/* 80030964 0002D8C4 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 80030968 0002D8C8 80 9F 00 2C */ lwz r4, 0x2c(r31) +/* 8003096C 0002D8CC 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 80030970 0002D8D0 7C 09 03 A6 */ mtctr r0 +/* 80030974 0002D8D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80030978 0002D8D8 40 81 00 20 */ ble lbl_80030998 +lbl_8003097C: +/* 8003097C 0002D8DC 28 03 00 00 */ cmplwi r3, 0 +/* 80030980 0002D8E0 41 82 00 0C */ beq lbl_8003098C +/* 80030984 0002D8E4 80 04 00 00 */ lwz r0, 0(r4) +/* 80030988 0002D8E8 90 03 00 00 */ stw r0, 0(r3) +lbl_8003098C: +/* 8003098C 0002D8EC 38 63 00 04 */ addi r3, r3, 4 +/* 80030990 0002D8F0 38 84 00 04 */ addi r4, r4, 4 +/* 80030994 0002D8F4 42 00 FF E8 */ bdnz lbl_8003097C +lbl_80030998: +/* 80030998 0002D8F8 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8003099C 0002D8FC 90 1E 00 34 */ stw r0, 0x34(r30) +/* 800309A0 0002D900 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 800309A4 0002D904 90 1E 00 38 */ stw r0, 0x38(r30) +/* 800309A8 0002D908 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 800309AC 0002D90C 2C 00 00 00 */ cmpwi r0, 0 +/* 800309B0 0002D910 40 82 00 1C */ bne lbl_800309CC +/* 800309B4 0002D914 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 800309B8 0002D918 2C 00 00 00 */ cmpwi r0, 0 +/* 800309BC 0002D91C 40 82 00 10 */ bne lbl_800309CC +/* 800309C0 0002D920 38 00 00 00 */ li r0, 0 +/* 800309C4 0002D924 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 800309C8 0002D928 48 00 00 64 */ b lbl_80030A2C +lbl_800309CC: +/* 800309CC 0002D92C 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 800309D0 0002D930 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 800309D4 0002D934 40 82 00 10 */ bne lbl_800309E4 +/* 800309D8 0002D938 38 00 00 00 */ li r0, 0 +/* 800309DC 0002D93C 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 800309E0 0002D940 48 00 00 18 */ b lbl_800309F8 +lbl_800309E4: +/* 800309E4 0002D944 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 800309E8 0002D948 38 A0 00 00 */ li r5, 0 +/* 800309EC 0002D94C 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 800309F0 0002D950 48 2E 4E 29 */ bl __nwa__FUlPCcPCc +/* 800309F4 0002D954 90 7E 00 3C */ stw r3, 0x3c(r30) +lbl_800309F8: +/* 800309F8 0002D958 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 800309FC 0002D95C 80 9F 00 3C */ lwz r4, 0x3c(r31) +/* 80030A00 0002D960 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 80030A04 0002D964 7C 09 03 A6 */ mtctr r0 +/* 80030A08 0002D968 2C 00 00 00 */ cmpwi r0, 0 +/* 80030A0C 0002D96C 40 81 00 20 */ ble lbl_80030A2C +lbl_80030A10: +/* 80030A10 0002D970 28 03 00 00 */ cmplwi r3, 0 +/* 80030A14 0002D974 41 82 00 0C */ beq lbl_80030A20 +/* 80030A18 0002D978 80 04 00 00 */ lwz r0, 0(r4) +/* 80030A1C 0002D97C 90 03 00 00 */ stw r0, 0(r3) +lbl_80030A20: +/* 80030A20 0002D980 38 63 00 04 */ addi r3, r3, 4 +/* 80030A24 0002D984 38 84 00 04 */ addi r4, r4, 4 +/* 80030A28 0002D988 42 00 FF E8 */ bdnz lbl_80030A10 +lbl_80030A2C: +/* 80030A2C 0002D98C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030A30 0002D990 7F C3 F3 78 */ mr r3, r30 +/* 80030A34 0002D994 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030A38 0002D998 83 C1 00 08 */ lwz r30, 8(r1) +/* 80030A3C 0002D99C 7C 08 03 A6 */ mtlr r0 +/* 80030A40 0002D9A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030A44 0002D9A4 4E 80 00 20 */ blr + +.global __ct__12CPASDatabaseFRC12CPASDatabase +__ct__12CPASDatabaseFRC12CPASDatabase: +/* 80030A48 0002D9A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030A4C 0002D9AC 7C 08 02 A6 */ mflr r0 +/* 80030A50 0002D9B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030A54 0002D9B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030A58 0002D9B8 7C 9F 23 78 */ mr r31, r4 +/* 80030A5C 0002D9BC 93 C1 00 08 */ stw r30, 8(r1) +/* 80030A60 0002D9C0 7C 7E 1B 78 */ mr r30, r3 +/* 80030A64 0002D9C4 48 00 00 29 */ bl sub_80030a8c +/* 80030A68 0002D9C8 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80030A6C 0002D9CC 7F C3 F3 78 */ mr r3, r30 +/* 80030A70 0002D9D0 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80030A74 0002D9D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030A78 0002D9D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80030A7C 0002D9DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030A80 0002D9E0 7C 08 03 A6 */ mtlr r0 +/* 80030A84 0002D9E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030A88 0002D9E8 4E 80 00 20 */ blr + +.global sub_80030a8c +sub_80030a8c: +/* 80030A8C 0002D9EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030A90 0002D9F0 7C 08 02 A6 */ mflr r0 +/* 80030A94 0002D9F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030A98 0002D9F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030A9C 0002D9FC 7C 9F 23 78 */ mr r31, r4 +/* 80030AA0 0002DA00 93 C1 00 08 */ stw r30, 8(r1) +/* 80030AA4 0002DA04 7C 7E 1B 78 */ mr r30, r3 +/* 80030AA8 0002DA08 80 04 00 04 */ lwz r0, 4(r4) +/* 80030AAC 0002DA0C 90 03 00 04 */ stw r0, 4(r3) +/* 80030AB0 0002DA10 80 04 00 08 */ lwz r0, 8(r4) +/* 80030AB4 0002DA14 90 03 00 08 */ stw r0, 8(r3) +/* 80030AB8 0002DA18 80 04 00 04 */ lwz r0, 4(r4) +/* 80030ABC 0002DA1C 2C 00 00 00 */ cmpwi r0, 0 +/* 80030AC0 0002DA20 40 82 00 1C */ bne lbl_80030ADC +/* 80030AC4 0002DA24 80 1F 00 08 */ lwz r0, 8(r31) +/* 80030AC8 0002DA28 2C 00 00 00 */ cmpwi r0, 0 +/* 80030ACC 0002DA2C 40 82 00 10 */ bne lbl_80030ADC +/* 80030AD0 0002DA30 38 00 00 00 */ li r0, 0 +/* 80030AD4 0002DA34 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80030AD8 0002DA38 48 00 00 44 */ b lbl_80030B1C +lbl_80030ADC: +/* 80030ADC 0002DA3C 80 1E 00 08 */ lwz r0, 8(r30) +/* 80030AE0 0002DA40 1C 60 00 34 */ mulli r3, r0, 0x34 +/* 80030AE4 0002DA44 2C 03 00 00 */ cmpwi r3, 0 +/* 80030AE8 0002DA48 40 82 00 10 */ bne lbl_80030AF8 +/* 80030AEC 0002DA4C 38 00 00 00 */ li r0, 0 +/* 80030AF0 0002DA50 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80030AF4 0002DA54 48 00 00 18 */ b lbl_80030B0C +lbl_80030AF8: +/* 80030AF8 0002DA58 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 80030AFC 0002DA5C 38 A0 00 00 */ li r5, 0 +/* 80030B00 0002DA60 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 80030B04 0002DA64 48 2E 4D 15 */ bl __nwa__FUlPCcPCc +/* 80030B08 0002DA68 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_80030B0C: +/* 80030B0C 0002DA6C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80030B10 0002DA70 80 9E 00 04 */ lwz r4, 4(r30) +/* 80030B14 0002DA74 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80030B18 0002DA78 48 00 00 21 */ bl sub_80030b38 +lbl_80030B1C: +/* 80030B1C 0002DA7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030B20 0002DA80 7F C3 F3 78 */ mr r3, r30 +/* 80030B24 0002DA84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030B28 0002DA88 83 C1 00 08 */ lwz r30, 8(r1) +/* 80030B2C 0002DA8C 7C 08 03 A6 */ mtlr r0 +/* 80030B30 0002DA90 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030B34 0002DA94 4E 80 00 20 */ blr + +.global sub_80030b38 +sub_80030b38: +/* 80030B38 0002DA98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80030B3C 0002DA9C 7C 08 02 A6 */ mflr r0 +/* 80030B40 0002DAA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80030B44 0002DAA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80030B48 0002DAA8 7C 7F 1B 78 */ mr r31, r3 +/* 80030B4C 0002DAAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80030B50 0002DAB0 7C BE 2B 78 */ mr r30, r5 +/* 80030B54 0002DAB4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80030B58 0002DAB8 3B A0 00 00 */ li r29, 0 +/* 80030B5C 0002DABC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80030B60 0002DAC0 7C 9C 23 78 */ mr r28, r4 +/* 80030B64 0002DAC4 48 00 00 1C */ b lbl_80030B80 +lbl_80030B68: +/* 80030B68 0002DAC8 7F C3 F3 78 */ mr r3, r30 +/* 80030B6C 0002DACC 7F E4 FB 78 */ mr r4, r31 +/* 80030B70 0002DAD0 48 00 00 3D */ bl sub_80030bac +/* 80030B74 0002DAD4 3B DE 00 34 */ addi r30, r30, 0x34 +/* 80030B78 0002DAD8 3B BD 00 01 */ addi r29, r29, 1 +/* 80030B7C 0002DADC 3B FF 00 34 */ addi r31, r31, 0x34 +lbl_80030B80: +/* 80030B80 0002DAE0 7C 1D E0 00 */ cmpw r29, r28 +/* 80030B84 0002DAE4 41 80 FF E4 */ blt lbl_80030B68 +/* 80030B88 0002DAE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80030B8C 0002DAEC 7F C3 F3 78 */ mr r3, r30 +/* 80030B90 0002DAF0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80030B94 0002DAF4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80030B98 0002DAF8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80030B9C 0002DAFC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80030BA0 0002DB00 7C 08 03 A6 */ mtlr r0 +/* 80030BA4 0002DB04 38 21 00 20 */ addi r1, r1, 0x20 +/* 80030BA8 0002DB08 4E 80 00 20 */ blr + +.global sub_80030bac +sub_80030bac: +/* 80030BAC 0002DB0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030BB0 0002DB10 7C 08 02 A6 */ mflr r0 +/* 80030BB4 0002DB14 28 03 00 00 */ cmplwi r3, 0 +/* 80030BB8 0002DB18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030BBC 0002DB1C 41 82 00 08 */ beq lbl_80030BC4 +/* 80030BC0 0002DB20 48 00 00 15 */ bl sub_80030bd4 +lbl_80030BC4: +/* 80030BC4 0002DB24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030BC8 0002DB28 7C 08 03 A6 */ mtlr r0 +/* 80030BCC 0002DB2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030BD0 0002DB30 4E 80 00 20 */ blr + +.global sub_80030bd4 +sub_80030bd4: +/* 80030BD4 0002DB34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030BD8 0002DB38 7C 08 02 A6 */ mflr r0 +/* 80030BDC 0002DB3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030BE0 0002DB40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030BE4 0002DB44 7C 9F 23 78 */ mr r31, r4 +/* 80030BE8 0002DB48 93 C1 00 08 */ stw r30, 8(r1) +/* 80030BEC 0002DB4C 7C 7E 1B 78 */ mr r30, r3 +/* 80030BF0 0002DB50 38 7E 00 04 */ addi r3, r30, 4 +/* 80030BF4 0002DB54 80 04 00 00 */ lwz r0, 0(r4) +/* 80030BF8 0002DB58 38 9F 00 04 */ addi r4, r31, 4 +/* 80030BFC 0002DB5C 90 1E 00 00 */ stw r0, 0(r30) +/* 80030C00 0002DB60 48 00 01 D1 */ bl sub_80030dd0 +/* 80030C04 0002DB64 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80030C08 0002DB68 38 9F 00 14 */ addi r4, r31, 0x14 +/* 80030C0C 0002DB6C 48 00 00 B5 */ bl sub_80030cc0 +/* 80030C10 0002DB70 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80030C14 0002DB74 90 1E 00 28 */ stw r0, 0x28(r30) +/* 80030C18 0002DB78 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80030C1C 0002DB7C 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 80030C20 0002DB80 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80030C24 0002DB84 2C 00 00 00 */ cmpwi r0, 0 +/* 80030C28 0002DB88 40 82 00 1C */ bne lbl_80030C44 +/* 80030C2C 0002DB8C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80030C30 0002DB90 2C 00 00 00 */ cmpwi r0, 0 +/* 80030C34 0002DB94 40 82 00 10 */ bne lbl_80030C44 +/* 80030C38 0002DB98 38 00 00 00 */ li r0, 0 +/* 80030C3C 0002DB9C 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80030C40 0002DBA0 48 00 00 64 */ b lbl_80030CA4 +lbl_80030C44: +/* 80030C44 0002DBA4 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 80030C48 0002DBA8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 80030C4C 0002DBAC 40 82 00 10 */ bne lbl_80030C5C +/* 80030C50 0002DBB0 38 00 00 00 */ li r0, 0 +/* 80030C54 0002DBB4 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80030C58 0002DBB8 48 00 00 18 */ b lbl_80030C70 +lbl_80030C5C: +/* 80030C5C 0002DBBC 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 80030C60 0002DBC0 38 A0 00 00 */ li r5, 0 +/* 80030C64 0002DBC4 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 80030C68 0002DBC8 48 2E 4B B1 */ bl __nwa__FUlPCcPCc +/* 80030C6C 0002DBCC 90 7E 00 30 */ stw r3, 0x30(r30) +lbl_80030C70: +/* 80030C70 0002DBD0 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 80030C74 0002DBD4 80 9F 00 30 */ lwz r4, 0x30(r31) +/* 80030C78 0002DBD8 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 80030C7C 0002DBDC 7C 09 03 A6 */ mtctr r0 +/* 80030C80 0002DBE0 2C 00 00 00 */ cmpwi r0, 0 +/* 80030C84 0002DBE4 40 81 00 20 */ ble lbl_80030CA4 +lbl_80030C88: +/* 80030C88 0002DBE8 28 03 00 00 */ cmplwi r3, 0 +/* 80030C8C 0002DBEC 41 82 00 0C */ beq lbl_80030C98 +/* 80030C90 0002DBF0 80 04 00 00 */ lwz r0, 0(r4) +/* 80030C94 0002DBF4 90 03 00 00 */ stw r0, 0(r3) +lbl_80030C98: +/* 80030C98 0002DBF8 38 63 00 04 */ addi r3, r3, 4 +/* 80030C9C 0002DBFC 38 84 00 04 */ addi r4, r4, 4 +/* 80030CA0 0002DC00 42 00 FF E8 */ bdnz lbl_80030C88 +lbl_80030CA4: +/* 80030CA4 0002DC04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030CA8 0002DC08 7F C3 F3 78 */ mr r3, r30 +/* 80030CAC 0002DC0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030CB0 0002DC10 83 C1 00 08 */ lwz r30, 8(r1) +/* 80030CB4 0002DC14 7C 08 03 A6 */ mtlr r0 +/* 80030CB8 0002DC18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030CBC 0002DC1C 4E 80 00 20 */ blr + +.global sub_80030cc0 +sub_80030cc0: +/* 80030CC0 0002DC20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030CC4 0002DC24 7C 08 02 A6 */ mflr r0 +/* 80030CC8 0002DC28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030CCC 0002DC2C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030CD0 0002DC30 7C 7F 1B 78 */ mr r31, r3 +/* 80030CD4 0002DC34 93 C1 00 08 */ stw r30, 8(r1) +/* 80030CD8 0002DC38 7C 9E 23 78 */ mr r30, r4 +/* 80030CDC 0002DC3C 80 04 00 04 */ lwz r0, 4(r4) +/* 80030CE0 0002DC40 90 03 00 04 */ stw r0, 4(r3) +/* 80030CE4 0002DC44 80 04 00 08 */ lwz r0, 8(r4) +/* 80030CE8 0002DC48 90 03 00 08 */ stw r0, 8(r3) +/* 80030CEC 0002DC4C 80 04 00 04 */ lwz r0, 4(r4) +/* 80030CF0 0002DC50 2C 00 00 00 */ cmpwi r0, 0 +/* 80030CF4 0002DC54 40 82 00 1C */ bne lbl_80030D10 +/* 80030CF8 0002DC58 80 1E 00 08 */ lwz r0, 8(r30) +/* 80030CFC 0002DC5C 2C 00 00 00 */ cmpwi r0, 0 +/* 80030D00 0002DC60 40 82 00 10 */ bne lbl_80030D10 +/* 80030D04 0002DC64 38 00 00 00 */ li r0, 0 +/* 80030D08 0002DC68 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80030D0C 0002DC6C 48 00 00 A8 */ b lbl_80030DB4 +lbl_80030D10: +/* 80030D10 0002DC70 80 1F 00 08 */ lwz r0, 8(r31) +/* 80030D14 0002DC74 1C 60 00 28 */ mulli r3, r0, 0x28 +/* 80030D18 0002DC78 2C 03 00 00 */ cmpwi r3, 0 +/* 80030D1C 0002DC7C 40 82 00 10 */ bne lbl_80030D2C +/* 80030D20 0002DC80 38 00 00 00 */ li r0, 0 +/* 80030D24 0002DC84 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80030D28 0002DC88 48 00 00 18 */ b lbl_80030D40 +lbl_80030D2C: +/* 80030D2C 0002DC8C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 80030D30 0002DC90 38 A0 00 00 */ li r5, 0 +/* 80030D34 0002DC94 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 80030D38 0002DC98 48 2E 4A E1 */ bl __nwa__FUlPCcPCc +/* 80030D3C 0002DC9C 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_80030D40: +/* 80030D40 0002DCA0 80 DF 00 04 */ lwz r6, 4(r31) +/* 80030D44 0002DCA4 38 60 00 00 */ li r3, 0 +/* 80030D48 0002DCA8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80030D4C 0002DCAC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80030D50 0002DCB0 48 00 00 5C */ b lbl_80030DAC +lbl_80030D54: +/* 80030D54 0002DCB4 28 04 00 00 */ cmplwi r4, 0 +/* 80030D58 0002DCB8 41 82 00 48 */ beq lbl_80030DA0 +/* 80030D5C 0002DCBC 80 05 00 00 */ lwz r0, 0(r5) +/* 80030D60 0002DCC0 39 05 00 08 */ addi r8, r5, 8 +/* 80030D64 0002DCC4 38 E4 00 08 */ addi r7, r4, 8 +/* 80030D68 0002DCC8 90 04 00 00 */ stw r0, 0(r4) +/* 80030D6C 0002DCCC 80 05 00 04 */ lwz r0, 4(r5) +/* 80030D70 0002DCD0 90 04 00 04 */ stw r0, 4(r4) +/* 80030D74 0002DCD4 80 04 00 04 */ lwz r0, 4(r4) +/* 80030D78 0002DCD8 7C 09 03 A6 */ mtctr r0 +/* 80030D7C 0002DCDC 2C 00 00 00 */ cmpwi r0, 0 +/* 80030D80 0002DCE0 40 81 00 20 */ ble lbl_80030DA0 +lbl_80030D84: +/* 80030D84 0002DCE4 28 07 00 00 */ cmplwi r7, 0 +/* 80030D88 0002DCE8 41 82 00 0C */ beq lbl_80030D94 +/* 80030D8C 0002DCEC 80 08 00 00 */ lwz r0, 0(r8) +/* 80030D90 0002DCF0 90 07 00 00 */ stw r0, 0(r7) +lbl_80030D94: +/* 80030D94 0002DCF4 38 E7 00 04 */ addi r7, r7, 4 +/* 80030D98 0002DCF8 39 08 00 04 */ addi r8, r8, 4 +/* 80030D9C 0002DCFC 42 00 FF E8 */ bdnz lbl_80030D84 +lbl_80030DA0: +/* 80030DA0 0002DD00 38 84 00 28 */ addi r4, r4, 0x28 +/* 80030DA4 0002DD04 38 63 00 01 */ addi r3, r3, 1 +/* 80030DA8 0002DD08 38 A5 00 28 */ addi r5, r5, 0x28 +lbl_80030DAC: +/* 80030DAC 0002DD0C 7C 03 30 00 */ cmpw r3, r6 +/* 80030DB0 0002DD10 41 80 FF A4 */ blt lbl_80030D54 +lbl_80030DB4: +/* 80030DB4 0002DD14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030DB8 0002DD18 7F E3 FB 78 */ mr r3, r31 +/* 80030DBC 0002DD1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030DC0 0002DD20 83 C1 00 08 */ lwz r30, 8(r1) +/* 80030DC4 0002DD24 7C 08 03 A6 */ mtlr r0 +/* 80030DC8 0002DD28 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030DCC 0002DD2C 4E 80 00 20 */ blr + +.global sub_80030dd0 +sub_80030dd0: +/* 80030DD0 0002DD30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030DD4 0002DD34 7C 08 02 A6 */ mflr r0 +/* 80030DD8 0002DD38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030DDC 0002DD3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030DE0 0002DD40 7C 7F 1B 78 */ mr r31, r3 +/* 80030DE4 0002DD44 93 C1 00 08 */ stw r30, 8(r1) +/* 80030DE8 0002DD48 7C 9E 23 78 */ mr r30, r4 +/* 80030DEC 0002DD4C 80 04 00 04 */ lwz r0, 4(r4) +/* 80030DF0 0002DD50 90 03 00 04 */ stw r0, 4(r3) +/* 80030DF4 0002DD54 80 04 00 08 */ lwz r0, 8(r4) +/* 80030DF8 0002DD58 90 03 00 08 */ stw r0, 8(r3) +/* 80030DFC 0002DD5C 80 04 00 04 */ lwz r0, 4(r4) +/* 80030E00 0002DD60 2C 00 00 00 */ cmpwi r0, 0 +/* 80030E04 0002DD64 40 82 00 1C */ bne lbl_80030E20 +/* 80030E08 0002DD68 80 1E 00 08 */ lwz r0, 8(r30) +/* 80030E0C 0002DD6C 2C 00 00 00 */ cmpwi r0, 0 +/* 80030E10 0002DD70 40 82 00 10 */ bne lbl_80030E20 +/* 80030E14 0002DD74 38 00 00 00 */ li r0, 0 +/* 80030E18 0002DD78 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80030E1C 0002DD7C 48 00 00 88 */ b lbl_80030EA4 +lbl_80030E20: +/* 80030E20 0002DD80 80 1F 00 08 */ lwz r0, 8(r31) +/* 80030E24 0002DD84 1C 60 00 14 */ mulli r3, r0, 0x14 +/* 80030E28 0002DD88 2C 03 00 00 */ cmpwi r3, 0 +/* 80030E2C 0002DD8C 40 82 00 10 */ bne lbl_80030E3C +/* 80030E30 0002DD90 38 00 00 00 */ li r0, 0 +/* 80030E34 0002DD94 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80030E38 0002DD98 48 00 00 18 */ b lbl_80030E50 +lbl_80030E3C: +/* 80030E3C 0002DD9C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha +/* 80030E40 0002DDA0 38 A0 00 00 */ li r5, 0 +/* 80030E44 0002DDA4 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l +/* 80030E48 0002DDA8 48 2E 49 D1 */ bl __nwa__FUlPCcPCc +/* 80030E4C 0002DDAC 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_80030E50: +/* 80030E50 0002DDB0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80030E54 0002DDB4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80030E58 0002DDB8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80030E5C 0002DDBC 7C 09 03 A6 */ mtctr r0 +/* 80030E60 0002DDC0 2C 00 00 00 */ cmpwi r0, 0 +/* 80030E64 0002DDC4 40 81 00 40 */ ble lbl_80030EA4 +lbl_80030E68: +/* 80030E68 0002DDC8 28 03 00 00 */ cmplwi r3, 0 +/* 80030E6C 0002DDCC 41 82 00 2C */ beq lbl_80030E98 +/* 80030E70 0002DDD0 80 04 00 00 */ lwz r0, 0(r4) +/* 80030E74 0002DDD4 90 03 00 00 */ stw r0, 0(r3) +/* 80030E78 0002DDD8 80 04 00 04 */ lwz r0, 4(r4) +/* 80030E7C 0002DDDC 90 03 00 04 */ stw r0, 4(r3) +/* 80030E80 0002DDE0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80030E84 0002DDE4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80030E88 0002DDE8 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80030E8C 0002DDEC 90 03 00 0C */ stw r0, 0xc(r3) +/* 80030E90 0002DDF0 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80030E94 0002DDF4 90 03 00 10 */ stw r0, 0x10(r3) +lbl_80030E98: +/* 80030E98 0002DDF8 38 63 00 14 */ addi r3, r3, 0x14 +/* 80030E9C 0002DDFC 38 84 00 14 */ addi r4, r4, 0x14 +/* 80030EA0 0002DE00 42 00 FF C8 */ bdnz lbl_80030E68 +lbl_80030EA4: +/* 80030EA4 0002DE04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030EA8 0002DE08 7F E3 FB 78 */ mr r3, r31 +/* 80030EAC 0002DE0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030EB0 0002DE10 83 C1 00 08 */ lwz r30, 8(r1) +/* 80030EB4 0002DE14 7C 08 03 A6 */ mtlr r0 +/* 80030EB8 0002DE18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030EBC 0002DE1C 4E 80 00 20 */ blr + +.global sub_80030ec0 +sub_80030ec0: +/* 80030EC0 0002DE20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030EC4 0002DE24 7C 08 02 A6 */ mflr r0 +/* 80030EC8 0002DE28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030ECC 0002DE2C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030ED0 0002DE30 7C 7F 1B 78 */ mr r31, r3 +/* 80030ED4 0002DE34 80 83 00 00 */ lwz r4, 0(r3) +/* 80030ED8 0002DE38 80 64 00 04 */ lwz r3, 4(r4) +/* 80030EDC 0002DE3C 34 03 FF FF */ addic. r0, r3, -1 +/* 80030EE0 0002DE40 90 04 00 04 */ stw r0, 4(r4) +/* 80030EE4 0002DE44 41 81 00 38 */ bgt lbl_80030F1C +/* 80030EE8 0002DE48 80 7F 00 00 */ lwz r3, 0(r31) +/* 80030EEC 0002DE4C 80 63 00 00 */ lwz r3, 0(r3) +/* 80030EF0 0002DE50 28 03 00 00 */ cmplwi r3, 0 +/* 80030EF4 0002DE54 41 82 00 18 */ beq lbl_80030F0C +/* 80030EF8 0002DE58 81 83 00 00 */ lwz r12, 0(r3) +/* 80030EFC 0002DE5C 38 80 00 01 */ li r4, 1 +/* 80030F00 0002DE60 81 8C 00 08 */ lwz r12, 8(r12) +/* 80030F04 0002DE64 7D 89 03 A6 */ mtctr r12 +/* 80030F08 0002DE68 4E 80 04 21 */ bctrl +lbl_80030F0C: +/* 80030F0C 0002DE6C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80030F10 0002DE70 28 03 00 00 */ cmplwi r3, 0 +/* 80030F14 0002DE74 41 82 00 08 */ beq lbl_80030F1C +/* 80030F18 0002DE78 48 2E 4A 19 */ bl Free__7CMemoryFPCv +lbl_80030F1C: +/* 80030F1C 0002DE7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030F20 0002DE80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030F24 0002DE84 7C 08 03 A6 */ mtlr r0 +/* 80030F28 0002DE88 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030F2C 0002DE8C 4E 80 00 20 */ blr + +.global sub_80030f30 +sub_80030f30: +/* 80030F30 0002DE90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030F34 0002DE94 7C 08 02 A6 */ mflr r0 +/* 80030F38 0002DE98 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030F3C 0002DE9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030F40 0002DEA0 7C 7F 1B 78 */ mr r31, r3 +/* 80030F44 0002DEA4 80 83 00 00 */ lwz r4, 0(r3) +/* 80030F48 0002DEA8 80 64 00 04 */ lwz r3, 4(r4) +/* 80030F4C 0002DEAC 34 03 FF FF */ addic. r0, r3, -1 +/* 80030F50 0002DEB0 90 04 00 04 */ stw r0, 4(r4) +/* 80030F54 0002DEB4 41 81 00 38 */ bgt lbl_80030F8C +/* 80030F58 0002DEB8 80 7F 00 00 */ lwz r3, 0(r31) +/* 80030F5C 0002DEBC 80 63 00 00 */ lwz r3, 0(r3) +/* 80030F60 0002DEC0 28 03 00 00 */ cmplwi r3, 0 +/* 80030F64 0002DEC4 41 82 00 18 */ beq lbl_80030F7C +/* 80030F68 0002DEC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80030F6C 0002DECC 38 80 00 01 */ li r4, 1 +/* 80030F70 0002DED0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80030F74 0002DED4 7D 89 03 A6 */ mtctr r12 +/* 80030F78 0002DED8 4E 80 04 21 */ bctrl +lbl_80030F7C: +/* 80030F7C 0002DEDC 80 7F 00 00 */ lwz r3, 0(r31) +/* 80030F80 0002DEE0 28 03 00 00 */ cmplwi r3, 0 +/* 80030F84 0002DEE4 41 82 00 08 */ beq lbl_80030F8C +/* 80030F88 0002DEE8 48 2E 49 A9 */ bl Free__7CMemoryFPCv +lbl_80030F8C: +/* 80030F8C 0002DEEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80030F90 0002DEF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80030F94 0002DEF4 7C 08 03 A6 */ mtlr r0 +/* 80030F98 0002DEF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80030F9C 0002DEFC 4E 80 00 20 */ blr + +.global sub_80030fa0 +sub_80030fa0: +/* 80030FA0 0002DF00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80030FA4 0002DF04 7C 08 02 A6 */ mflr r0 +/* 80030FA8 0002DF08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80030FAC 0002DF0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80030FB0 0002DF10 7C 7F 1B 78 */ mr r31, r3 +/* 80030FB4 0002DF14 80 83 00 00 */ lwz r4, 0(r3) +/* 80030FB8 0002DF18 80 64 00 04 */ lwz r3, 4(r4) +/* 80030FBC 0002DF1C 34 03 FF FF */ addic. r0, r3, -1 +/* 80030FC0 0002DF20 90 04 00 04 */ stw r0, 4(r4) +/* 80030FC4 0002DF24 41 81 00 38 */ bgt lbl_80030FFC +/* 80030FC8 0002DF28 80 7F 00 00 */ lwz r3, 0(r31) +/* 80030FCC 0002DF2C 80 63 00 00 */ lwz r3, 0(r3) +/* 80030FD0 0002DF30 28 03 00 00 */ cmplwi r3, 0 +/* 80030FD4 0002DF34 41 82 00 18 */ beq lbl_80030FEC +/* 80030FD8 0002DF38 81 83 00 00 */ lwz r12, 0(r3) +/* 80030FDC 0002DF3C 38 80 00 01 */ li r4, 1 +/* 80030FE0 0002DF40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80030FE4 0002DF44 7D 89 03 A6 */ mtctr r12 +/* 80030FE8 0002DF48 4E 80 04 21 */ bctrl +lbl_80030FEC: +/* 80030FEC 0002DF4C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80030FF0 0002DF50 28 03 00 00 */ cmplwi r3, 0 +/* 80030FF4 0002DF54 41 82 00 08 */ beq lbl_80030FFC +/* 80030FF8 0002DF58 48 2E 49 39 */ bl Free__7CMemoryFPCv +lbl_80030FFC: +/* 80030FFC 0002DF5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80031000 0002DF60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80031004 0002DF64 7C 08 03 A6 */ mtlr r0 +/* 80031008 0002DF68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003100C 0002DF6C 4E 80 00 20 */ blr + +.global sub_80031010 +sub_80031010: +/* 80031010 0002DF70 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80031014 0002DF74 7C 08 02 A6 */ mflr r0 +/* 80031018 0002DF78 90 01 00 34 */ stw r0, 0x34(r1) +/* 8003101C 0002DF7C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80031020 0002DF80 7C 9F 23 78 */ mr r31, r4 +/* 80031024 0002DF84 7C 7E 1B 78 */ mr r30, r3 +/* 80031028 0002DF88 7C DA 33 78 */ mr r26, r6 +/* 8003102C 0002DF8C 7C FB 3B 78 */ mr r27, r7 +/* 80031030 0002DF90 38 61 00 0C */ addi r3, r1, 0xc +/* 80031034 0002DF94 80 85 00 00 */ lwz r4, 0(r5) +/* 80031038 0002DF98 80 1F 00 00 */ lwz r0, 0(r31) +/* 8003103C 0002DF9C 90 81 00 08 */ stw r4, 8(r1) +/* 80031040 0002DFA0 38 81 00 08 */ addi r4, r1, 8 +/* 80031044 0002DFA4 90 01 00 0C */ stw r0, 0xc(r1) +/* 80031048 0002DFA8 48 00 07 F9 */ bl sub_80031840 +/* 8003104C 0002DFAC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80031050 0002DFB0 7C 7D 1B 78 */ mr r29, r3 +/* 80031054 0002DFB4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80031058 0002DFB8 48 00 00 60 */ b lbl_800310B8 +lbl_8003105C: +/* 8003105C 0002DFBC 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 80031060 0002DFC0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80031064 0002DFC4 7C 83 EA 14 */ add r4, r3, r29 +/* 80031068 0002DFC8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003106C 0002DFCC 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 80031070 0002DFD0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80031074 0002DFD4 7F 84 E3 78 */ mr r4, r28 +/* 80031078 0002DFD8 48 00 07 09 */ bl sub_80031780 +/* 8003107C 0002DFDC 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80031080 0002DFE0 7F 63 DB 78 */ mr r3, r27 +/* 80031084 0002DFE4 7F 45 D3 78 */ mr r5, r26 +/* 80031088 0002DFE8 48 00 00 55 */ bl sub_800310dc +/* 8003108C 0002DFEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80031090 0002DFF0 41 82 00 24 */ beq lbl_800310B4 +/* 80031094 0002DFF4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80031098 0002DFF8 7C 7C E8 50 */ subf r3, r28, r29 +/* 8003109C 0002DFFC 3B A3 FF FF */ addi r29, r3, -1 +/* 800310A0 0002E000 90 1F 00 00 */ stw r0, 0(r31) +/* 800310A4 0002E004 80 7F 00 00 */ lwz r3, 0(r31) +/* 800310A8 0002E008 38 03 00 28 */ addi r0, r3, 0x28 +/* 800310AC 0002E00C 90 1F 00 00 */ stw r0, 0(r31) +/* 800310B0 0002E010 48 00 00 08 */ b lbl_800310B8 +lbl_800310B4: +/* 800310B4 0002E014 7F 9D E3 78 */ mr r29, r28 +lbl_800310B8: +/* 800310B8 0002E018 2C 1D 00 00 */ cmpwi r29, 0 +/* 800310BC 0002E01C 41 81 FF A0 */ bgt lbl_8003105C +/* 800310C0 0002E020 80 1F 00 00 */ lwz r0, 0(r31) +/* 800310C4 0002E024 90 1E 00 00 */ stw r0, 0(r30) +/* 800310C8 0002E028 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800310CC 0002E02C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800310D0 0002E030 7C 08 03 A6 */ mtlr r0 +/* 800310D4 0002E034 38 21 00 30 */ addi r1, r1, 0x30 +/* 800310D8 0002E038 4E 80 00 20 */ blr + +.global sub_800310dc +sub_800310dc: +/* 800310DC 0002E03C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800310E0 0002E040 7C 08 02 A6 */ mflr r0 +/* 800310E4 0002E044 90 01 00 14 */ stw r0, 0x14(r1) +/* 800310E8 0002E048 4B FF 96 41 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 800310EC 0002E04C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800310F0 0002E050 7C 08 03 A6 */ mtlr r0 +/* 800310F4 0002E054 38 21 00 10 */ addi r1, r1, 0x10 +/* 800310F8 0002E058 4E 80 00 20 */ blr + +.global sub_800310fc +sub_800310fc: +/* 800310FC 0002E05C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80031100 0002E060 7C 08 02 A6 */ mflr r0 +/* 80031104 0002E064 90 01 00 34 */ stw r0, 0x34(r1) +/* 80031108 0002E068 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8003110C 0002E06C 7C 9F 23 78 */ mr r31, r4 +/* 80031110 0002E070 7C 7E 1B 78 */ mr r30, r3 +/* 80031114 0002E074 7C DA 33 78 */ mr r26, r6 +/* 80031118 0002E078 7C FB 3B 78 */ mr r27, r7 +/* 8003111C 0002E07C 38 61 00 0C */ addi r3, r1, 0xc +/* 80031120 0002E080 80 85 00 00 */ lwz r4, 0(r5) +/* 80031124 0002E084 80 1F 00 00 */ lwz r0, 0(r31) +/* 80031128 0002E088 90 81 00 08 */ stw r4, 8(r1) +/* 8003112C 0002E08C 38 81 00 08 */ addi r4, r1, 8 +/* 80031130 0002E090 90 01 00 0C */ stw r0, 0xc(r1) +/* 80031134 0002E094 48 00 07 51 */ bl sub_80031884 +/* 80031138 0002E098 80 1F 00 00 */ lwz r0, 0(r31) +/* 8003113C 0002E09C 7C 7D 1B 78 */ mr r29, r3 +/* 80031140 0002E0A0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80031144 0002E0A4 48 00 00 60 */ b lbl_800311A4 +lbl_80031148: +/* 80031148 0002E0A8 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 8003114C 0002E0AC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80031150 0002E0B0 7C 83 EA 14 */ add r4, r3, r29 +/* 80031154 0002E0B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80031158 0002E0B8 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 8003115C 0002E0BC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80031160 0002E0C0 7F 84 E3 78 */ mr r4, r28 +/* 80031164 0002E0C4 48 00 06 49 */ bl sub_800317ac +/* 80031168 0002E0C8 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8003116C 0002E0CC 7F 63 DB 78 */ mr r3, r27 +/* 80031170 0002E0D0 7F 45 D3 78 */ mr r5, r26 +/* 80031174 0002E0D4 48 00 00 55 */ bl sub_800311c8 +/* 80031178 0002E0D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003117C 0002E0DC 41 82 00 24 */ beq lbl_800311A0 +/* 80031180 0002E0E0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80031184 0002E0E4 7C 7C E8 50 */ subf r3, r28, r29 +/* 80031188 0002E0E8 3B A3 FF FF */ addi r29, r3, -1 +/* 8003118C 0002E0EC 90 1F 00 00 */ stw r0, 0(r31) +/* 80031190 0002E0F0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80031194 0002E0F4 38 03 00 20 */ addi r0, r3, 0x20 +/* 80031198 0002E0F8 90 1F 00 00 */ stw r0, 0(r31) +/* 8003119C 0002E0FC 48 00 00 08 */ b lbl_800311A4 +lbl_800311A0: +/* 800311A0 0002E100 7F 9D E3 78 */ mr r29, r28 +lbl_800311A4: +/* 800311A4 0002E104 2C 1D 00 00 */ cmpwi r29, 0 +/* 800311A8 0002E108 41 81 FF A0 */ bgt lbl_80031148 +/* 800311AC 0002E10C 80 1F 00 00 */ lwz r0, 0(r31) +/* 800311B0 0002E110 90 1E 00 00 */ stw r0, 0(r30) +/* 800311B4 0002E114 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800311B8 0002E118 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800311BC 0002E11C 7C 08 03 A6 */ mtlr r0 +/* 800311C0 0002E120 38 21 00 30 */ addi r1, r1, 0x30 +/* 800311C4 0002E124 4E 80 00 20 */ blr + +.global sub_800311c8 +sub_800311c8: +/* 800311C8 0002E128 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800311CC 0002E12C 7C 08 02 A6 */ mflr r0 +/* 800311D0 0002E130 90 01 00 14 */ stw r0, 0x14(r1) +/* 800311D4 0002E134 4B FF 95 55 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 800311D8 0002E138 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800311DC 0002E13C 7C 08 03 A6 */ mtlr r0 +/* 800311E0 0002E140 38 21 00 10 */ addi r1, r1, 0x10 +/* 800311E4 0002E144 4E 80 00 20 */ blr + +.global "lower_bound,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl79pair_sorter_finder,Q24rstl8less>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_p" +"lower_bound,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl79pair_sorter_finder,Q24rstl8less>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_p": +/* 800311E8 0002E148 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800311EC 0002E14C 7C 08 02 A6 */ mflr r0 +/* 800311F0 0002E150 90 01 00 34 */ stw r0, 0x34(r1) +/* 800311F4 0002E154 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800311F8 0002E158 7C 9F 23 78 */ mr r31, r4 +/* 800311FC 0002E15C 7C 7E 1B 78 */ mr r30, r3 +/* 80031200 0002E160 7C DB 33 78 */ mr r27, r6 +/* 80031204 0002E164 38 61 00 0C */ addi r3, r1, 0xc +/* 80031208 0002E168 80 85 00 00 */ lwz r4, 0(r5) +/* 8003120C 0002E16C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80031210 0002E170 90 81 00 08 */ stw r4, 8(r1) +/* 80031214 0002E174 38 81 00 08 */ addi r4, r1, 8 +/* 80031218 0002E178 90 01 00 0C */ stw r0, 0xc(r1) +/* 8003121C 0002E17C 48 00 06 AD */ bl "distance,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>Fv" +lbl_80031304: +/* 80031304 0002E264 28 1F 00 00 */ cmplwi r31, 0 +/* 80031308 0002E268 41 82 00 0C */ beq lbl_80031314 +/* 8003130C 0002E26C 7F E3 FB 78 */ mr r3, r31 +/* 80031310 0002E270 48 2E 46 21 */ bl Free__7CMemoryFPCv +lbl_80031314: +/* 80031314 0002E274 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80031318 0002E278 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003131C 0002E27C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80031320 0002E280 7C 08 03 A6 */ mtlr r0 +/* 80031324 0002E284 38 21 00 10 */ addi r1, r1, 0x10 +/* 80031328 0002E288 4E 80 00 20 */ blr + +.global __dt__13CAnimTreeNodeFv +__dt__13CAnimTreeNodeFv: +/* 8003132C 0002E28C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80031330 0002E290 7C 08 02 A6 */ mflr r0 +/* 80031334 0002E294 90 01 00 14 */ stw r0, 0x14(r1) +/* 80031338 0002E298 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003133C 0002E29C 7C 9F 23 78 */ mr r31, r4 +/* 80031340 0002E2A0 93 C1 00 08 */ stw r30, 8(r1) +/* 80031344 0002E2A4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80031348 0002E2A8 41 82 00 48 */ beq lbl_80031390 +/* 8003134C 0002E2AC 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 80031350 0002E2B0 38 80 00 02 */ li r4, 2 +/* 80031354 0002E2B4 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 80031358 0002E2B8 90 1E 00 00 */ stw r0, 0(r30) +/* 8003135C 0002E2BC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80031360 0002E2C0 48 2C 68 49 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 80031364 0002E2C4 34 1E 00 04 */ addic. r0, r30, 4 +/* 80031368 0002E2C8 41 82 00 0C */ beq lbl_80031374 +/* 8003136C 0002E2CC 38 7E 00 04 */ addi r3, r30, 4 +/* 80031370 0002E2D0 48 30 C7 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80031374: +/* 80031374 0002E2D4 7F C3 F3 78 */ mr r3, r30 +/* 80031378 0002E2D8 38 80 00 00 */ li r4, 0 +/* 8003137C 0002E2DC 48 2C CB 59 */ bl __dt__11IAnimReaderFv +/* 80031380 0002E2E0 7F E0 07 35 */ extsh. r0, r31 +/* 80031384 0002E2E4 40 81 00 0C */ ble lbl_80031390 +/* 80031388 0002E2E8 7F C3 F3 78 */ mr r3, r30 +/* 8003138C 0002E2EC 48 2E 45 A5 */ bl Free__7CMemoryFPCv +lbl_80031390: +/* 80031390 0002E2F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80031394 0002E2F4 7F C3 F3 78 */ mr r3, r30 +/* 80031398 0002E2F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003139C 0002E2FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800313A0 0002E300 7C 08 03 A6 */ mtlr r0 +/* 800313A4 0002E304 38 21 00 10 */ addi r1, r1, 0x10 +/* 800313A8 0002E308 4E 80 00 20 */ blr + +.global sub_800313ac +sub_800313ac: +/* 800313AC 0002E30C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800313B0 0002E310 7C 08 02 A6 */ mflr r0 +/* 800313B4 0002E314 90 01 00 14 */ stw r0, 0x14(r1) +/* 800313B8 0002E318 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800313BC 0002E31C 93 C1 00 08 */ stw r30, 8(r1) +/* 800313C0 0002E320 7C 7E 1B 78 */ mr r30, r3 +/* 800313C4 0002E324 80 83 00 00 */ lwz r4, 0(r3) +/* 800313C8 0002E328 80 64 00 04 */ lwz r3, 4(r4) +/* 800313CC 0002E32C 34 03 FF FF */ addic. r0, r3, -1 +/* 800313D0 0002E330 90 04 00 04 */ stw r0, 4(r4) +/* 800313D4 0002E334 41 81 00 70 */ bgt lbl_80031444 +/* 800313D8 0002E338 80 7E 00 00 */ lwz r3, 0(r30) +/* 800313DC 0002E33C 83 E3 00 00 */ lwz r31, 0(r3) +/* 800313E0 0002E340 28 1F 00 00 */ cmplwi r31, 0 +/* 800313E4 0002E344 41 82 00 50 */ beq lbl_80031434 +/* 800313E8 0002E348 34 1F 00 08 */ addic. r0, r31, 8 +/* 800313EC 0002E34C 41 82 00 2C */ beq lbl_80031418 +/* 800313F0 0002E350 34 7F 00 10 */ addic. r3, r31, 0x10 +/* 800313F4 0002E354 41 82 00 10 */ beq lbl_80031404 +/* 800313F8 0002E358 28 03 00 00 */ cmplwi r3, 0 +/* 800313FC 0002E35C 41 82 00 08 */ beq lbl_80031404 +/* 80031400 0002E360 48 00 03 29 */ bl sub_80031728 +lbl_80031404: +/* 80031404 0002E364 34 1F 00 08 */ addic. r0, r31, 8 +/* 80031408 0002E368 41 82 00 10 */ beq lbl_80031418 +/* 8003140C 0002E36C 38 7F 00 08 */ addi r3, r31, 8 +/* 80031410 0002E370 38 80 00 00 */ li r4, 0 +/* 80031414 0002E374 48 30 FA 2D */ bl __dt__6CTokenFv +lbl_80031418: +/* 80031418 0002E378 28 1F 00 00 */ cmplwi r31, 0 +/* 8003141C 0002E37C 41 82 00 10 */ beq lbl_8003142C +/* 80031420 0002E380 7F E3 FB 78 */ mr r3, r31 +/* 80031424 0002E384 38 80 00 00 */ li r4, 0 +/* 80031428 0002E388 48 30 FA 19 */ bl __dt__6CTokenFv +lbl_8003142C: +/* 8003142C 0002E38C 7F E3 FB 78 */ mr r3, r31 +/* 80031430 0002E390 48 2E 45 01 */ bl Free__7CMemoryFPCv +lbl_80031434: +/* 80031434 0002E394 80 7E 00 00 */ lwz r3, 0(r30) +/* 80031438 0002E398 28 03 00 00 */ cmplwi r3, 0 +/* 8003143C 0002E39C 41 82 00 08 */ beq lbl_80031444 +/* 80031440 0002E3A0 48 2E 44 F1 */ bl Free__7CMemoryFPCv +lbl_80031444: +/* 80031444 0002E3A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80031448 0002E3A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003144C 0002E3AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80031450 0002E3B0 7C 08 03 A6 */ mtlr r0 +/* 80031454 0002E3B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80031458 0002E3B8 4E 80 00 20 */ blr + +.global sub_8003145c +sub_8003145c: +/* 8003145C 0002E3BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80031460 0002E3C0 7C 08 02 A6 */ mflr r0 +/* 80031464 0002E3C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80031468 0002E3C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003146C 0002E3CC 93 C1 00 08 */ stw r30, 8(r1) +/* 80031470 0002E3D0 7C 7E 1B 78 */ mr r30, r3 +/* 80031474 0002E3D4 80 83 00 00 */ lwz r4, 0(r3) +/* 80031478 0002E3D8 80 64 00 04 */ lwz r3, 4(r4) +/* 8003147C 0002E3DC 34 03 FF FF */ addic. r0, r3, -1 +/* 80031480 0002E3E0 90 04 00 04 */ stw r0, 4(r4) +/* 80031484 0002E3E4 41 81 00 5C */ bgt lbl_800314E0 +/* 80031488 0002E3E8 80 7E 00 00 */ lwz r3, 0(r30) +/* 8003148C 0002E3EC 83 E3 00 00 */ lwz r31, 0(r3) +/* 80031490 0002E3F0 28 1F 00 00 */ cmplwi r31, 0 +/* 80031494 0002E3F4 41 82 00 3C */ beq lbl_800314D0 +/* 80031498 0002E3F8 41 82 00 30 */ beq lbl_800314C8 +/* 8003149C 0002E3FC 34 1F 00 08 */ addic. r0, r31, 8 +/* 800314A0 0002E400 41 82 00 14 */ beq lbl_800314B4 +/* 800314A4 0002E404 34 1F 00 08 */ addic. r0, r31, 8 +/* 800314A8 0002E408 41 82 00 0C */ beq lbl_800314B4 +/* 800314AC 0002E40C 38 7F 00 08 */ addi r3, r31, 8 +/* 800314B0 0002E410 48 00 02 79 */ bl sub_80031728 +lbl_800314B4: +/* 800314B4 0002E414 28 1F 00 00 */ cmplwi r31, 0 +/* 800314B8 0002E418 41 82 00 10 */ beq lbl_800314C8 +/* 800314BC 0002E41C 7F E3 FB 78 */ mr r3, r31 +/* 800314C0 0002E420 38 80 00 00 */ li r4, 0 +/* 800314C4 0002E424 48 30 F9 7D */ bl __dt__6CTokenFv +lbl_800314C8: +/* 800314C8 0002E428 7F E3 FB 78 */ mr r3, r31 +/* 800314CC 0002E42C 48 2E 44 65 */ bl Free__7CMemoryFPCv +lbl_800314D0: +/* 800314D0 0002E430 80 7E 00 00 */ lwz r3, 0(r30) +/* 800314D4 0002E434 28 03 00 00 */ cmplwi r3, 0 +/* 800314D8 0002E438 41 82 00 08 */ beq lbl_800314E0 +/* 800314DC 0002E43C 48 2E 44 55 */ bl Free__7CMemoryFPCv +lbl_800314E0: +/* 800314E0 0002E440 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800314E4 0002E444 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800314E8 0002E448 83 C1 00 08 */ lwz r30, 8(r1) +/* 800314EC 0002E44C 7C 08 03 A6 */ mtlr r0 +/* 800314F0 0002E450 38 21 00 10 */ addi r1, r1, 0x10 +/* 800314F4 0002E454 4E 80 00 20 */ blr + +.global sub_800314f8 +sub_800314f8: +/* 800314F8 0002E458 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800314FC 0002E45C 7C 08 02 A6 */ mflr r0 +/* 80031500 0002E460 90 01 00 14 */ stw r0, 0x14(r1) +/* 80031504 0002E464 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80031508 0002E468 93 C1 00 08 */ stw r30, 8(r1) +/* 8003150C 0002E46C 7C 7E 1B 78 */ mr r30, r3 +/* 80031510 0002E470 80 83 00 00 */ lwz r4, 0(r3) +/* 80031514 0002E474 80 64 00 04 */ lwz r3, 4(r4) +/* 80031518 0002E478 34 03 FF FF */ addic. r0, r3, -1 +/* 8003151C 0002E47C 90 04 00 04 */ stw r0, 4(r4) +/* 80031520 0002E480 41 81 00 58 */ bgt lbl_80031578 +/* 80031524 0002E484 80 7E 00 00 */ lwz r3, 0(r30) +/* 80031528 0002E488 83 E3 00 00 */ lwz r31, 0(r3) +/* 8003152C 0002E48C 28 1F 00 00 */ cmplwi r31, 0 +/* 80031530 0002E490 41 82 00 38 */ beq lbl_80031568 +/* 80031534 0002E494 34 1F 00 08 */ addic. r0, r31, 8 +/* 80031538 0002E498 41 82 00 14 */ beq lbl_8003154C +/* 8003153C 0002E49C 34 1F 00 08 */ addic. r0, r31, 8 +/* 80031540 0002E4A0 41 82 00 0C */ beq lbl_8003154C +/* 80031544 0002E4A4 38 7F 00 08 */ addi r3, r31, 8 +/* 80031548 0002E4A8 48 00 01 E1 */ bl sub_80031728 +lbl_8003154C: +/* 8003154C 0002E4AC 28 1F 00 00 */ cmplwi r31, 0 +/* 80031550 0002E4B0 41 82 00 10 */ beq lbl_80031560 +/* 80031554 0002E4B4 7F E3 FB 78 */ mr r3, r31 +/* 80031558 0002E4B8 38 80 00 00 */ li r4, 0 +/* 8003155C 0002E4BC 48 30 F8 E5 */ bl __dt__6CTokenFv +lbl_80031560: +/* 80031560 0002E4C0 7F E3 FB 78 */ mr r3, r31 +/* 80031564 0002E4C4 48 2E 43 CD */ bl Free__7CMemoryFPCv +lbl_80031568: +/* 80031568 0002E4C8 80 7E 00 00 */ lwz r3, 0(r30) +/* 8003156C 0002E4CC 28 03 00 00 */ cmplwi r3, 0 +/* 80031570 0002E4D0 41 82 00 08 */ beq lbl_80031578 +/* 80031574 0002E4D4 48 2E 43 BD */ bl Free__7CMemoryFPCv +lbl_80031578: +/* 80031578 0002E4D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003157C 0002E4DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80031580 0002E4E0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80031584 0002E4E4 7C 08 03 A6 */ mtlr r0 +/* 80031588 0002E4E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003158C 0002E4EC 4E 80 00 20 */ blr + +.global __dt__17CPoseAsTransformsFv +__dt__17CPoseAsTransformsFv: +/* 80031590 0002E4F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80031594 0002E4F4 7C 08 02 A6 */ mflr r0 +/* 80031598 0002E4F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003159C 0002E4FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800315A0 0002E500 7C 9F 23 78 */ mr r31, r4 +/* 800315A4 0002E504 93 C1 00 08 */ stw r30, 8(r1) +/* 800315A8 0002E508 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800315AC 0002E50C 41 82 00 94 */ beq lbl_80031640 +/* 800315B0 0002E510 88 7E 00 D4 */ lbz r3, 0xd4(r30) +/* 800315B4 0002E514 38 9E 00 08 */ addi r4, r30, 8 +/* 800315B8 0002E518 48 00 00 0C */ b lbl_800315C4 +lbl_800315BC: +/* 800315BC 0002E51C 54 60 0D FC */ rlwinm r0, r3, 1, 0x17, 0x1e +/* 800315C0 0002E520 7C 64 00 AE */ lbzx r3, r4, r0 +lbl_800315C4: +/* 800315C4 0002E524 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800315C8 0002E528 40 82 FF F4 */ bne lbl_800315BC +/* 800315CC 0002E52C 80 7E 00 D0 */ lwz r3, 0xd0(r30) +/* 800315D0 0002E530 48 2E 43 61 */ bl Free__7CMemoryFPCv +/* 800315D4 0002E534 34 1E 00 04 */ addic. r0, r30, 4 +/* 800315D8 0002E538 41 82 00 58 */ beq lbl_80031630 +/* 800315DC 0002E53C 80 BE 00 04 */ lwz r5, 4(r30) +/* 800315E0 0002E540 38 60 00 00 */ li r3, 0 +/* 800315E4 0002E544 2C 05 00 00 */ cmpwi r5, 0 +/* 800315E8 0002E548 40 81 00 40 */ ble lbl_80031628 +/* 800315EC 0002E54C 2C 05 00 08 */ cmpwi r5, 8 +/* 800315F0 0002E550 38 85 FF F8 */ addi r4, r5, -8 +/* 800315F4 0002E554 40 81 00 20 */ ble lbl_80031614 +/* 800315F8 0002E558 38 04 00 07 */ addi r0, r4, 7 +/* 800315FC 0002E55C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80031600 0002E560 7C 09 03 A6 */ mtctr r0 +/* 80031604 0002E564 2C 04 00 00 */ cmpwi r4, 0 +/* 80031608 0002E568 40 81 00 0C */ ble lbl_80031614 +lbl_8003160C: +/* 8003160C 0002E56C 38 63 00 08 */ addi r3, r3, 8 +/* 80031610 0002E570 42 00 FF FC */ bdnz lbl_8003160C +lbl_80031614: +/* 80031614 0002E574 7C 03 28 50 */ subf r0, r3, r5 +/* 80031618 0002E578 7C 09 03 A6 */ mtctr r0 +/* 8003161C 0002E57C 7C 03 28 00 */ cmpw r3, r5 +/* 80031620 0002E580 40 80 00 08 */ bge lbl_80031628 +lbl_80031624: +/* 80031624 0002E584 42 00 00 00 */ bdnz lbl_80031624 +lbl_80031628: +/* 80031628 0002E588 38 00 00 00 */ li r0, 0 +/* 8003162C 0002E58C 90 1E 00 04 */ stw r0, 4(r30) +lbl_80031630: +/* 80031630 0002E590 7F E0 07 35 */ extsh. r0, r31 +/* 80031634 0002E594 40 81 00 0C */ ble lbl_80031640 +/* 80031638 0002E598 7F C3 F3 78 */ mr r3, r30 +/* 8003163C 0002E59C 48 2E 42 F5 */ bl Free__7CMemoryFPCv +lbl_80031640: +/* 80031640 0002E5A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80031644 0002E5A4 7F C3 F3 78 */ mr r3, r30 +/* 80031648 0002E5A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003164C 0002E5AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80031650 0002E5B0 7C 08 03 A6 */ mtlr r0 +/* 80031654 0002E5B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80031658 0002E5B8 4E 80 00 20 */ blr + +.global sub_8003165c +sub_8003165c: +/* 8003165C 0002E5BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80031660 0002E5C0 7C 08 02 A6 */ mflr r0 +/* 80031664 0002E5C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80031668 0002E5C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003166C 0002E5CC 7C 9F 23 78 */ mr r31, r4 +/* 80031670 0002E5D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80031674 0002E5D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80031678 0002E5D8 41 82 00 94 */ beq lbl_8003170C +/* 8003167C 0002E5DC 88 7E 00 D4 */ lbz r3, 0xd4(r30) +/* 80031680 0002E5E0 38 9E 00 08 */ addi r4, r30, 8 +/* 80031684 0002E5E4 48 00 00 0C */ b lbl_80031690 +lbl_80031688: +/* 80031688 0002E5E8 54 60 0D FC */ rlwinm r0, r3, 1, 0x17, 0x1e +/* 8003168C 0002E5EC 7C 64 00 AE */ lbzx r3, r4, r0 +lbl_80031690: +/* 80031690 0002E5F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80031694 0002E5F4 40 82 FF F4 */ bne lbl_80031688 +/* 80031698 0002E5F8 80 7E 00 D0 */ lwz r3, 0xd0(r30) +/* 8003169C 0002E5FC 48 2E 42 95 */ bl Free__7CMemoryFPCv +/* 800316A0 0002E600 34 1E 00 04 */ addic. r0, r30, 4 +/* 800316A4 0002E604 41 82 00 58 */ beq lbl_800316FC +/* 800316A8 0002E608 80 BE 00 04 */ lwz r5, 4(r30) +/* 800316AC 0002E60C 38 60 00 00 */ li r3, 0 +/* 800316B0 0002E610 2C 05 00 00 */ cmpwi r5, 0 +/* 800316B4 0002E614 40 81 00 40 */ ble lbl_800316F4 +/* 800316B8 0002E618 2C 05 00 08 */ cmpwi r5, 8 +/* 800316BC 0002E61C 38 85 FF F8 */ addi r4, r5, -8 +/* 800316C0 0002E620 40 81 00 20 */ ble lbl_800316E0 +/* 800316C4 0002E624 38 04 00 07 */ addi r0, r4, 7 +/* 800316C8 0002E628 54 00 E8 FE */ srwi r0, r0, 3 +/* 800316CC 0002E62C 7C 09 03 A6 */ mtctr r0 +/* 800316D0 0002E630 2C 04 00 00 */ cmpwi r4, 0 +/* 800316D4 0002E634 40 81 00 0C */ ble lbl_800316E0 +lbl_800316D8: +/* 800316D8 0002E638 38 63 00 08 */ addi r3, r3, 8 +/* 800316DC 0002E63C 42 00 FF FC */ bdnz lbl_800316D8 +lbl_800316E0: +/* 800316E0 0002E640 7C 03 28 50 */ subf r0, r3, r5 +/* 800316E4 0002E644 7C 09 03 A6 */ mtctr r0 +/* 800316E8 0002E648 7C 03 28 00 */ cmpw r3, r5 +/* 800316EC 0002E64C 40 80 00 08 */ bge lbl_800316F4 +lbl_800316F0: +/* 800316F0 0002E650 42 00 00 00 */ bdnz lbl_800316F0 +lbl_800316F4: +/* 800316F4 0002E654 38 00 00 00 */ li r0, 0 +/* 800316F8 0002E658 90 1E 00 04 */ stw r0, 4(r30) +lbl_800316FC: +/* 800316FC 0002E65C 7F E0 07 35 */ extsh. r0, r31 +/* 80031700 0002E660 40 81 00 0C */ ble lbl_8003170C +/* 80031704 0002E664 7F C3 F3 78 */ mr r3, r30 +/* 80031708 0002E668 48 2E 42 29 */ bl Free__7CMemoryFPCv +lbl_8003170C: +/* 8003170C 0002E66C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80031710 0002E670 7F C3 F3 78 */ mr r3, r30 +/* 80031714 0002E674 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80031718 0002E678 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003171C 0002E67C 7C 08 03 A6 */ mtlr r0 +/* 80031720 0002E680 38 21 00 10 */ addi r1, r1, 0x10 +/* 80031724 0002E684 4E 80 00 20 */ blr + +.global sub_80031728 +sub_80031728: +/* 80031728 0002E688 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003172C 0002E68C 7C 08 02 A6 */ mflr r0 +/* 80031730 0002E690 90 01 00 14 */ stw r0, 0x14(r1) +/* 80031734 0002E694 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80031738 0002E698 7C 7F 1B 78 */ mr r31, r3 +/* 8003173C 0002E69C 80 83 00 00 */ lwz r4, 0(r3) +/* 80031740 0002E6A0 80 64 00 04 */ lwz r3, 4(r4) +/* 80031744 0002E6A4 34 03 FF FF */ addic. r0, r3, -1 +/* 80031748 0002E6A8 90 04 00 04 */ stw r0, 4(r4) +/* 8003174C 0002E6AC 41 81 00 20 */ bgt lbl_8003176C +/* 80031750 0002E6B0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80031754 0002E6B4 80 63 00 00 */ lwz r3, 0(r3) +/* 80031758 0002E6B8 48 2E 41 D9 */ bl Free__7CMemoryFPCv +/* 8003175C 0002E6BC 80 7F 00 00 */ lwz r3, 0(r31) +/* 80031760 0002E6C0 28 03 00 00 */ cmplwi r3, 0 +/* 80031764 0002E6C4 41 82 00 08 */ beq lbl_8003176C +/* 80031768 0002E6C8 48 2E 41 C9 */ bl Free__7CMemoryFPCv +lbl_8003176C: +/* 8003176C 0002E6CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80031770 0002E6D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80031774 0002E6D4 7C 08 03 A6 */ mtlr r0 +/* 80031778 0002E6D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003177C 0002E6DC 4E 80 00 20 */ blr + +.global sub_80031780 +sub_80031780: +/* 80031780 0002E6E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80031784 0002E6E4 7C 08 02 A6 */ mflr r0 +/* 80031788 0002E6E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003178C 0002E6EC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80031790 0002E6F0 88 01 00 08 */ lbz r0, 8(r1) +/* 80031794 0002E6F4 98 01 00 0C */ stb r0, 0xc(r1) +/* 80031798 0002E6F8 48 00 00 95 */ bl sub_8003182c +/* 8003179C 0002E6FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800317A0 0002E700 7C 08 03 A6 */ mtlr r0 +/* 800317A4 0002E704 38 21 00 10 */ addi r1, r1, 0x10 +/* 800317A8 0002E708 4E 80 00 20 */ blr + +.global sub_800317ac +sub_800317ac: +/* 800317AC 0002E70C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800317B0 0002E710 7C 08 02 A6 */ mflr r0 +/* 800317B4 0002E714 90 01 00 14 */ stw r0, 0x14(r1) +/* 800317B8 0002E718 38 A1 00 0C */ addi r5, r1, 0xc +/* 800317BC 0002E71C 88 01 00 08 */ lbz r0, 8(r1) +/* 800317C0 0002E720 98 01 00 0C */ stb r0, 0xc(r1) +/* 800317C4 0002E724 48 00 00 55 */ bl sub_80031818 +/* 800317C8 0002E728 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800317CC 0002E72C 7C 08 03 A6 */ mtlr r0 +/* 800317D0 0002E730 38 21 00 10 */ addi r1, r1, 0x10 +/* 800317D4 0002E734 4E 80 00 20 */ blr + +.global sub_800317d8 +sub_800317d8: +/* 800317D8 0002E738 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800317DC 0002E73C 7C 08 02 A6 */ mflr r0 +/* 800317E0 0002E740 90 01 00 14 */ stw r0, 0x14(r1) +/* 800317E4 0002E744 38 A1 00 0C */ addi r5, r1, 0xc +/* 800317E8 0002E748 88 01 00 08 */ lbz r0, 8(r1) +/* 800317EC 0002E74C 98 01 00 0C */ stb r0, 0xc(r1) +/* 800317F0 0002E750 48 00 00 15 */ bl sub_80031804 +/* 800317F4 0002E754 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800317F8 0002E758 7C 08 03 A6 */ mtlr r0 +/* 800317FC 0002E75C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80031800 0002E760 4E 80 00 20 */ blr + +.global sub_80031804 +sub_80031804: +/* 80031804 0002E764 1C 04 00 0C */ mulli r0, r4, 0xc +/* 80031808 0002E768 80 83 00 00 */ lwz r4, 0(r3) +/* 8003180C 0002E76C 7C 04 02 14 */ add r0, r4, r0 +/* 80031810 0002E770 90 03 00 00 */ stw r0, 0(r3) +/* 80031814 0002E774 4E 80 00 20 */ blr + +.global sub_80031818 +sub_80031818: +/* 80031818 0002E778 80 A3 00 00 */ lwz r5, 0(r3) +/* 8003181C 0002E77C 54 80 28 34 */ slwi r0, r4, 5 +/* 80031820 0002E780 7C 05 02 14 */ add r0, r5, r0 +/* 80031824 0002E784 90 03 00 00 */ stw r0, 0(r3) +/* 80031828 0002E788 4E 80 00 20 */ blr + +.global sub_8003182c +sub_8003182c: +/* 8003182C 0002E78C 1C 04 00 28 */ mulli r0, r4, 0x28 +/* 80031830 0002E790 80 83 00 00 */ lwz r4, 0(r3) +/* 80031834 0002E794 7C 04 02 14 */ add r0, r4, r0 +/* 80031838 0002E798 90 03 00 00 */ stw r0, 0(r3) +/* 8003183C 0002E79C 4E 80 00 20 */ blr + +.global sub_80031840 +sub_80031840: +/* 80031840 0002E7A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80031844 0002E7A4 7C 08 02 A6 */ mflr r0 +/* 80031848 0002E7A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003184C 0002E7AC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80031850 0002E7B0 88 E1 00 08 */ lbz r7, 8(r1) +/* 80031854 0002E7B4 80 C4 00 00 */ lwz r6, 0(r4) +/* 80031858 0002E7B8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003185C 0002E7BC 80 03 00 00 */ lwz r0, 0(r3) +/* 80031860 0002E7C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80031864 0002E7C4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80031868 0002E7C8 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8003186C 0002E7CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80031870 0002E7D0 48 00 00 9D */ bl sub_8003190c +/* 80031874 0002E7D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80031878 0002E7D8 7C 08 03 A6 */ mtlr r0 +/* 8003187C 0002E7DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80031880 0002E7E0 4E 80 00 20 */ blr + +.global sub_80031884 +sub_80031884: +/* 80031884 0002E7E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80031888 0002E7E8 7C 08 02 A6 */ mflr r0 +/* 8003188C 0002E7EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80031890 0002E7F0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80031894 0002E7F4 88 E1 00 08 */ lbz r7, 8(r1) +/* 80031898 0002E7F8 80 C4 00 00 */ lwz r6, 0(r4) +/* 8003189C 0002E7FC 38 81 00 10 */ addi r4, r1, 0x10 +/* 800318A0 0002E800 80 03 00 00 */ lwz r0, 0(r3) +/* 800318A4 0002E804 38 61 00 14 */ addi r3, r1, 0x14 +/* 800318A8 0002E808 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800318AC 0002E80C 98 E1 00 0C */ stb r7, 0xc(r1) +/* 800318B0 0002E810 90 01 00 14 */ stw r0, 0x14(r1) +/* 800318B4 0002E814 48 00 00 81 */ bl sub_80031934 +/* 800318B8 0002E818 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800318BC 0002E81C 7C 08 03 A6 */ mtlr r0 +/* 800318C0 0002E820 38 21 00 20 */ addi r1, r1, 0x20 +/* 800318C4 0002E824 4E 80 00 20 */ blr + +.global "distance,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vectorFv"@ha +/* 80031980 0002E8E0 3C A0 80 46 */ lis r5, lbl_8045B140@ha +/* 80031984 0002E8E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80031988 0002E8E8 38 00 00 00 */ li r0, 0 +/* 8003198C 0002E8EC 3C 60 80 57 */ lis r3, lbl_8056A600@ha +/* 80031990 0002E8F0 38 84 1C 00 */ addi r4, r4, "__dt__Q24rstl33reserved_vector<12CBoolPOINode,8>Fv"@l +/* 80031994 0002E8F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80031998 0002E8F8 3B E5 B1 40 */ addi r31, r5, lbl_8045B140@l +/* 8003199C 0002E8FC 38 BF 00 00 */ addi r5, r31, 0 +/* 800319A0 0002E900 94 03 A6 00 */ stwu r0, lbl_8056A600@l(r3) +/* 800319A4 0002E904 48 35 7C E9 */ bl __register_global_object +/* 800319A8 0002E908 38 00 00 00 */ li r0, 0 +/* 800319AC 0002E90C 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 800319B0 0002E910 3C 80 80 03 */ lis r4, "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv"@ha +/* 800319B4 0002E914 94 03 BD F4 */ stwu r0, lbl_8056BDF4@l(r3) +/* 800319B8 0002E918 38 84 1B 64 */ addi r4, r4, "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv"@l +/* 800319BC 0002E91C 38 BF 00 0C */ addi r5, r31, 0xc +/* 800319C0 0002E920 48 35 7C CD */ bl __register_global_object +/* 800319C4 0002E924 38 00 00 00 */ li r0, 0 +/* 800319C8 0002E928 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha +/* 800319CC 0002E92C 3C 80 80 03 */ lis r4, "__dt__Q24rstl38reserved_vector<16CParticlePOINode,20>Fv"@ha +/* 800319D0 0002E930 94 03 C2 B8 */ stwu r0, lbl_8056C2B8@l(r3) +/* 800319D4 0002E934 38 84 1A C8 */ addi r4, r4, "__dt__Q24rstl38reserved_vector<16CParticlePOINode,20>Fv"@l +/* 800319D8 0002E938 38 BF 00 18 */ addi r5, r31, 0x18 +/* 800319DC 0002E93C 48 35 7C B1 */ bl __register_global_object +/* 800319E0 0002E940 38 00 00 00 */ li r0, 0 +/* 800319E4 0002E944 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha +/* 800319E8 0002E948 3C 80 80 03 */ lis r4, "__dt__Q24rstl35reserved_vector<13CSoundPOINode,20>Fv"@ha +/* 800319EC 0002E94C 94 03 C9 EC */ stwu r0, lbl_8056C9EC@l(r3) +/* 800319F0 0002E950 38 84 1A 2C */ addi r4, r4, "__dt__Q24rstl35reserved_vector<13CSoundPOINode,20>Fv"@l +/* 800319F4 0002E954 38 BF 00 24 */ addi r5, r31, 0x24 +/* 800319F8 0002E958 48 35 7C 95 */ bl __register_global_object +/* 800319FC 0002E95C 38 00 00 00 */ li r0, 0 +/* 80031A00 0002E960 3C 60 80 57 */ lis r3, lbl_8056CF40@ha +/* 80031A04 0002E964 3C 80 80 03 */ lis r4, "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv"@ha +/* 80031A08 0002E968 94 03 CF 40 */ stwu r0, lbl_8056CF40@l(r3) +/* 80031A0C 0002E96C 38 84 1B 64 */ addi r4, r4, "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv"@l +/* 80031A10 0002E970 38 BF 00 30 */ addi r5, r31, 0x30 +/* 80031A14 0002E974 48 35 7C 79 */ bl __register_global_object +/* 80031A18 0002E978 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80031A1C 0002E97C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80031A20 0002E980 7C 08 03 A6 */ mtlr r0 +/* 80031A24 0002E984 38 21 00 10 */ addi r1, r1, 0x10 +/* 80031A28 0002E988 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CAssetFactory.s b/asm/Kyoto_CWD/CAssetFactory.s new file mode 100644 index 00000000..dd0fc7ca --- /dev/null +++ b/asm/Kyoto_CWD/CAssetFactory.s @@ -0,0 +1,425 @@ +.include "macros.inc" + +.section .text, "ax" + +.global CanBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag +CanBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag: +/* 8003484C 000317AC 38 60 00 01 */ li r3, 1 +/* 80034850 000317B0 4E 80 00 20 */ blr + +.global GetResourceIdByName__Q224CCharacterFactoryBuilder13CDummyFactoryCFPCc +GetResourceIdByName__Q224CCharacterFactoryBuilder13CDummyFactoryCFPCc: +/* 80034854 000317B4 38 60 00 00 */ li r3, 0 +/* 80034858 000317B8 4E 80 00 20 */ blr + +.global __dt__Q224CCharacterFactoryBuilder13CDummyFactoryFv +__dt__Q224CCharacterFactoryBuilder13CDummyFactoryFv: +/* 8003485C 000317BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80034860 000317C0 7C 08 02 A6 */ mflr r0 +/* 80034864 000317C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80034868 000317C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003486C 000317CC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80034870 000317D0 41 82 00 30 */ beq lbl_800348A0 +/* 80034874 000317D4 3C 60 80 3E */ lis r3, lbl_803D9C88@ha +/* 80034878 000317D8 38 03 9C 88 */ addi r0, r3, lbl_803D9C88@l +/* 8003487C 000317DC 90 1F 00 00 */ stw r0, 0(r31) +/* 80034880 000317E0 41 82 00 10 */ beq lbl_80034890 +/* 80034884 000317E4 3C 60 80 3E */ lis r3, lbl_803D9C50@ha +/* 80034888 000317E8 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l +/* 8003488C 000317EC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80034890: +/* 80034890 000317F0 7C 80 07 35 */ extsh. r0, r4 +/* 80034894 000317F4 40 81 00 0C */ ble lbl_800348A0 +/* 80034898 000317F8 7F E3 FB 78 */ mr r3, r31 +/* 8003489C 000317FC 48 2E 10 95 */ bl Free__7CMemoryFPCv +lbl_800348A0: +/* 800348A0 00031800 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800348A4 00031804 7F E3 FB 78 */ mr r3, r31 +/* 800348A8 00031808 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800348AC 0003180C 7C 08 03 A6 */ mtlr r0 +/* 800348B0 00031810 38 21 00 10 */ addi r1, r1, 0x10 +/* 800348B4 00031814 4E 80 00 20 */ blr + +.global GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes +GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes: +/* 800348B8 00031818 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800348BC 0003181C 7C 08 02 A6 */ mflr r0 +/* 800348C0 00031820 90 01 00 34 */ stw r0, 0x34(r1) +/* 800348C4 00031824 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800348C8 00031828 7C BF 2B 78 */ mr r31, r5 +/* 800348CC 0003182C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800348D0 00031830 7C 9E 23 78 */ mr r30, r4 +/* 800348D4 00031834 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800348D8 00031838 7C 7D 1B 78 */ mr r29, r3 +/* 800348DC 0003183C 38 61 00 08 */ addi r3, r1, 8 +/* 800348E0 00031840 48 00 00 75 */ bl Null__15CVParamTransferFv +/* 800348E4 00031844 80 FF 00 00 */ lwz r7, 0(r31) +/* 800348E8 00031848 3C 60 41 4E */ lis r3, 0x414E4353@ha +/* 800348EC 0003184C 38 03 43 53 */ addi r0, r3, 0x414E4353@l +/* 800348F0 00031850 38 9E 00 04 */ addi r4, r30, 4 +/* 800348F4 00031854 90 01 00 14 */ stw r0, 0x14(r1) +/* 800348F8 00031858 38 61 00 0C */ addi r3, r1, 0xc +/* 800348FC 0003185C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80034900 00031860 38 C1 00 08 */ addi r6, r1, 8 +/* 80034904 00031864 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80034908 00031868 81 9E 00 04 */ lwz r12, 4(r30) +/* 8003490C 0003186C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80034910 00031870 7D 89 03 A6 */ mtctr r12 +/* 80034914 00031874 4E 80 04 21 */ bctrl +/* 80034918 00031878 7F A3 EB 78 */ mr r3, r29 +/* 8003491C 0003187C 38 81 00 0C */ addi r4, r1, 0xc +/* 80034920 00031880 48 30 C5 89 */ bl __ct__6CTokenFRC6CToken +/* 80034924 00031884 38 61 00 0C */ addi r3, r1, 0xc +/* 80034928 00031888 38 80 FF FF */ li r4, -1 +/* 8003492C 0003188C 48 30 C5 15 */ bl __dt__6CTokenFv +/* 80034930 00031890 38 61 00 08 */ addi r3, r1, 8 +/* 80034934 00031894 4B FF F9 D1 */ bl sub_80034304 +/* 80034938 00031898 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8003493C 0003189C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80034940 000318A0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80034944 000318A4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80034948 000318A8 7C 08 03 A6 */ mtlr r0 +/* 8003494C 000318AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80034950 000318B0 4E 80 00 20 */ blr + +.global Null__15CVParamTransferFv +Null__15CVParamTransferFv: +/* 80034954 000318B4 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 80034958 000318B8 90 03 00 00 */ stw r0, 0(r3) +/* 8003495C 000318BC 80 83 00 00 */ lwz r4, 0(r3) +/* 80034960 000318C0 80 64 00 04 */ lwz r3, 4(r4) +/* 80034964 000318C4 38 03 00 01 */ addi r0, r3, 1 +/* 80034968 000318C8 90 04 00 04 */ stw r0, 4(r4) +/* 8003496C 000318CC 4E 80 00 20 */ blr + +.global __dt__24CCharacterFactoryBuilderFv +__dt__24CCharacterFactoryBuilderFv: +/* 80034970 000318D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80034974 000318D4 7C 08 02 A6 */ mflr r0 +/* 80034978 000318D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003497C 000318DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80034980 000318E0 7C 9F 23 78 */ mr r31, r4 +/* 80034984 000318E4 93 C1 00 08 */ stw r30, 8(r1) +/* 80034988 000318E8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8003498C 000318EC 41 82 00 44 */ beq lbl_800349D0 +/* 80034990 000318F0 38 7E 00 04 */ addi r3, r30, 4 +/* 80034994 000318F4 38 80 FF FF */ li r4, -1 +/* 80034998 000318F8 48 30 BD 71 */ bl __dt__11CSimplePool +/* 8003499C 000318FC 28 1E 00 00 */ cmplwi r30, 0 +/* 800349A0 00031900 41 82 00 20 */ beq lbl_800349C0 +/* 800349A4 00031904 3C 60 80 3E */ lis r3, lbl_803D9C88@ha +/* 800349A8 00031908 38 03 9C 88 */ addi r0, r3, lbl_803D9C88@l +/* 800349AC 0003190C 90 1E 00 00 */ stw r0, 0(r30) +/* 800349B0 00031910 41 82 00 10 */ beq lbl_800349C0 +/* 800349B4 00031914 3C 60 80 3E */ lis r3, lbl_803D9C50@ha +/* 800349B8 00031918 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l +/* 800349BC 0003191C 90 1E 00 00 */ stw r0, 0(r30) +lbl_800349C0: +/* 800349C0 00031920 7F E0 07 35 */ extsh. r0, r31 +/* 800349C4 00031924 40 81 00 0C */ ble lbl_800349D0 +/* 800349C8 00031928 7F C3 F3 78 */ mr r3, r30 +/* 800349CC 0003192C 48 2E 0F 65 */ bl Free__7CMemoryFPCv +lbl_800349D0: +/* 800349D0 00031930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800349D4 00031934 7F C3 F3 78 */ mr r3, r30 +/* 800349D8 00031938 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800349DC 0003193C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800349E0 00031940 7C 08 03 A6 */ mtlr r0 +/* 800349E4 00031944 38 21 00 10 */ addi r1, r1, 0x10 +/* 800349E8 00031948 4E 80 00 20 */ blr + +.global __ct__24CCharacterFactoryBuilderFv +__ct__24CCharacterFactoryBuilderFv: +/* 800349EC 0003194C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800349F0 00031950 7C 08 02 A6 */ mflr r0 +/* 800349F4 00031954 3C 80 80 3E */ lis r4, lbl_803D9C50@ha +/* 800349F8 00031958 90 01 00 14 */ stw r0, 0x14(r1) +/* 800349FC 0003195C 38 04 9C 50 */ addi r0, r4, lbl_803D9C50@l +/* 80034A00 00031960 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80034A04 00031964 7C 7F 1B 78 */ mr r31, r3 +/* 80034A08 00031968 3C 60 80 3E */ lis r3, lbl_803D9C88@ha +/* 80034A0C 0003196C 90 1F 00 00 */ stw r0, 0(r31) +/* 80034A10 00031970 38 03 9C 88 */ addi r0, r3, lbl_803D9C88@l +/* 80034A14 00031974 7F E4 FB 78 */ mr r4, r31 +/* 80034A18 00031978 7F E5 FB 78 */ mr r5, r31 +/* 80034A1C 0003197C 90 1F 00 00 */ stw r0, 0(r31) +/* 80034A20 00031980 38 64 00 04 */ addi r3, r4, 4 +/* 80034A24 00031984 48 30 BD B1 */ bl __ct__11CSimplePoolFR8IFactory +/* 80034A28 00031988 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80034A2C 0003198C 7F E3 FB 78 */ mr r3, r31 +/* 80034A30 00031990 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80034A34 00031994 7C 08 03 A6 */ mtlr r0 +/* 80034A38 00031998 38 21 00 10 */ addi r1, r1, 0x10 +/* 80034A3C 0003199C 4E 80 00 20 */ blr + +.global CancelBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag +CancelBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag: +/* 80034A40 000319A0 4E 80 00 20 */ blr + +.global BuildAsync__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj +BuildAsync__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj: +/* 80034A44 000319A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80034A48 000319A8 7C 08 02 A6 */ mflr r0 +/* 80034A4C 000319AC 7C 87 23 78 */ mr r7, r4 +/* 80034A50 000319B0 7C 64 1B 78 */ mr r4, r3 +/* 80034A54 000319B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80034A58 000319B8 7C A0 2B 78 */ mr r0, r5 +/* 80034A5C 000319BC 7C E5 3B 78 */ mr r5, r7 +/* 80034A60 000319C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80034A64 000319C4 7C DF 33 78 */ mr r31, r6 +/* 80034A68 000319C8 7C 06 03 78 */ mr r6, r0 +/* 80034A6C 000319CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80034A70 000319D0 38 61 00 08 */ addi r3, r1, 8 +/* 80034A74 000319D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80034A78 000319D8 7D 89 03 A6 */ mtctr r12 +/* 80034A7C 000319DC 4E 80 04 21 */ bctrl +/* 80034A80 000319E0 38 00 00 00 */ li r0, 0 +/* 80034A84 000319E4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80034A88 000319E8 98 01 00 08 */ stb r0, 8(r1) +/* 80034A8C 000319EC 90 7F 00 00 */ stw r3, 0(r31) +/* 80034A90 000319F0 88 01 00 08 */ lbz r0, 8(r1) +/* 80034A94 000319F4 28 00 00 00 */ cmplwi r0, 0 +/* 80034A98 000319F8 41 82 00 24 */ beq lbl_80034ABC +/* 80034A9C 000319FC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80034AA0 00031A00 28 03 00 00 */ cmplwi r3, 0 +/* 80034AA4 00031A04 41 82 00 18 */ beq lbl_80034ABC +/* 80034AA8 00031A08 81 83 00 00 */ lwz r12, 0(r3) +/* 80034AAC 00031A0C 38 80 00 01 */ li r4, 1 +/* 80034AB0 00031A10 81 8C 00 08 */ lwz r12, 8(r12) +/* 80034AB4 00031A14 7D 89 03 A6 */ mtctr r12 +/* 80034AB8 00031A18 4E 80 04 21 */ bctrl +lbl_80034ABC: +/* 80034ABC 00031A1C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80034AC0 00031A20 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80034AC4 00031A24 7C 08 03 A6 */ mtlr r0 +/* 80034AC8 00031A28 38 21 00 20 */ addi r1, r1, 0x20 +/* 80034ACC 00031A2C 4E 80 00 20 */ blr + +.global Build__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer +Build__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer: +/* 80034AD0 00031A30 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80034AD4 00031A34 7C 08 02 A6 */ mflr r0 +/* 80034AD8 00031A38 3C 80 41 4E */ lis r4, 0x414E4353@ha +/* 80034ADC 00031A3C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80034AE0 00031A40 38 04 43 53 */ addi r0, r4, 0x414E4353@l +/* 80034AE4 00031A44 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80034AE8 00031A48 7C 7F 1B 78 */ mr r31, r3 +/* 80034AEC 00031A4C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80034AF0 00031A50 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80034AF4 00031A54 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80034AF8 00031A58 83 A5 00 04 */ lwz r29, 4(r5) +/* 80034AFC 00031A5C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80034B00 00031A60 90 01 00 28 */ stw r0, 0x28(r1) +/* 80034B04 00031A64 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80034B08 00031A68 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 80034B0C 00031A6C 81 84 00 00 */ lwz r12, 0(r4) +/* 80034B10 00031A70 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80034B14 00031A74 7D 89 03 A6 */ mtctr r12 +/* 80034B18 00031A78 4E 80 04 21 */ bctrl +/* 80034B1C 00031A7C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80034B20 00031A80 38 81 00 20 */ addi r4, r1, 0x20 +/* 80034B24 00031A84 48 30 C3 85 */ bl __ct__6CTokenFRC6CToken +/* 80034B28 00031A88 38 61 00 20 */ addi r3, r1, 0x20 +/* 80034B2C 00031A8C 38 80 FF FF */ li r4, -1 +/* 80034B30 00031A90 48 30 C3 11 */ bl __dt__6CTokenFv +/* 80034B34 00031A94 3C 80 80 3D */ lis r4, lbl_803CCD80@ha +/* 80034B38 00031A98 38 60 00 90 */ li r3, 0x90 +/* 80034B3C 00031A9C 38 84 CD 80 */ addi r4, r4, lbl_803CCD80@l +/* 80034B40 00031AA0 38 A0 00 00 */ li r5, 0 +/* 80034B44 00031AA4 48 2E 0D 29 */ bl __nw__FUlPCcPCc +/* 80034B48 00031AA8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80034B4C 00031AAC 41 82 00 24 */ beq lbl_80034B70 +/* 80034B50 00031AB0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80034B54 00031AB4 48 30 C2 B9 */ bl GetObj__6CTokenFv +/* 80034B58 00031AB8 80 A3 00 04 */ lwz r5, 4(r3) +/* 80034B5C 00031ABC 7F C3 F3 78 */ mr r3, r30 +/* 80034B60 00031AC0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80034B64 00031AC4 7F A6 EB 78 */ mr r6, r29 +/* 80034B68 00031AC8 4B FF DB 95 */ bl __ct__17CCharacterFactoryFR11CSimplePoolRC17CAnimCharacterSetUi +/* 80034B6C 00031ACC 7C 7E 1B 78 */ mr r30, r3 +lbl_80034B70: +/* 80034B70 00031AD0 7C 1E 00 D0 */ neg r0, r30 +/* 80034B74 00031AD4 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80034B78 00031AD8 7C 00 F3 78 */ or r0, r0, r30 +/* 80034B7C 00031ADC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80034B80 00031AE0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80034B84 00031AE4 38 81 00 08 */ addi r4, r1, 8 +/* 80034B88 00031AE8 98 01 00 08 */ stb r0, 8(r1) +/* 80034B8C 00031AEC 48 00 01 69 */ bl sub_80034cf4 +/* 80034B90 00031AF0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80034B94 00031AF4 38 00 00 00 */ li r0, 0 +/* 80034B98 00031AF8 98 01 00 10 */ stb r0, 0x10(r1) +/* 80034B9C 00031AFC 7C 03 00 D0 */ neg r0, r3 +/* 80034BA0 00031B00 7C 00 1B 78 */ or r0, r0, r3 +/* 80034BA4 00031B04 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80034BA8 00031B08 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80034BAC 00031B0C 98 01 00 18 */ stb r0, 0x18(r1) +/* 80034BB0 00031B10 48 00 00 1C */ b lbl_80034BCC +/* 80034BB4 00031B14 41 82 00 18 */ beq lbl_80034BCC +/* 80034BB8 00031B18 81 83 00 00 */ lwz r12, 0(r3) +/* 80034BBC 00031B1C 38 80 00 01 */ li r4, 1 +/* 80034BC0 00031B20 81 8C 00 08 */ lwz r12, 8(r12) +/* 80034BC4 00031B24 7D 89 03 A6 */ mtctr r12 +/* 80034BC8 00031B28 4E 80 04 21 */ bctrl +lbl_80034BCC: +/* 80034BCC 00031B2C 88 01 00 08 */ lbz r0, 8(r1) +/* 80034BD0 00031B30 28 00 00 00 */ cmplwi r0, 0 +/* 80034BD4 00031B34 41 82 00 24 */ beq lbl_80034BF8 +/* 80034BD8 00031B38 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80034BDC 00031B3C 28 03 00 00 */ cmplwi r3, 0 +/* 80034BE0 00031B40 41 82 00 18 */ beq lbl_80034BF8 +/* 80034BE4 00031B44 81 83 00 00 */ lwz r12, 0(r3) +/* 80034BE8 00031B48 38 80 00 01 */ li r4, 1 +/* 80034BEC 00031B4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80034BF0 00031B50 7D 89 03 A6 */ mtctr r12 +/* 80034BF4 00031B54 4E 80 04 21 */ bctrl +lbl_80034BF8: +/* 80034BF8 00031B58 88 81 00 18 */ lbz r4, 0x18(r1) +/* 80034BFC 00031B5C 38 00 00 00 */ li r0, 0 +/* 80034C00 00031B60 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80034C04 00031B64 98 9F 00 00 */ stb r4, 0(r31) +/* 80034C08 00031B68 90 7F 00 04 */ stw r3, 4(r31) +/* 80034C0C 00031B6C 98 01 00 18 */ stb r0, 0x18(r1) +/* 80034C10 00031B70 48 00 00 1C */ b lbl_80034C2C +/* 80034C14 00031B74 41 82 00 18 */ beq lbl_80034C2C +/* 80034C18 00031B78 81 83 00 00 */ lwz r12, 0(r3) +/* 80034C1C 00031B7C 38 80 00 01 */ li r4, 1 +/* 80034C20 00031B80 81 8C 00 08 */ lwz r12, 8(r12) +/* 80034C24 00031B84 7D 89 03 A6 */ mtctr r12 +/* 80034C28 00031B88 4E 80 04 21 */ bctrl +lbl_80034C2C: +/* 80034C2C 00031B8C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80034C30 00031B90 38 80 00 00 */ li r4, 0 +/* 80034C34 00031B94 48 30 C2 0D */ bl __dt__6CTokenFv +/* 80034C38 00031B98 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80034C3C 00031B9C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80034C40 00031BA0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80034C44 00031BA4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80034C48 00031BA8 7C 08 03 A6 */ mtlr r0 +/* 80034C4C 00031BAC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80034C50 00031BB0 4E 80 00 20 */ blr + +.global sub_80034c54 +sub_80034c54: +/* 80034C54 00031BB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80034C58 00031BB8 7C 08 02 A6 */ mflr r0 +/* 80034C5C 00031BBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80034C60 00031BC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80034C64 00031BC4 7C 9F 23 78 */ mr r31, r4 +/* 80034C68 00031BC8 93 C1 00 08 */ stw r30, 8(r1) +/* 80034C6C 00031BCC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80034C70 00031BD0 41 82 00 68 */ beq lbl_80034CD8 +/* 80034C74 00031BD4 3C 60 80 3E */ lis r3, lbl_803D9CA8@ha +/* 80034C78 00031BD8 38 03 9C A8 */ addi r0, r3, lbl_803D9CA8@l +/* 80034C7C 00031BDC 90 1E 00 00 */ stw r0, 0(r30) +/* 80034C80 00031BE0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80034C84 00031BE4 28 03 00 00 */ cmplwi r3, 0 +/* 80034C88 00031BE8 41 82 00 1C */ beq lbl_80034CA4 +/* 80034C8C 00031BEC 41 82 00 18 */ beq lbl_80034CA4 +/* 80034C90 00031BF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80034C94 00031BF4 38 80 00 01 */ li r4, 1 +/* 80034C98 00031BF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80034C9C 00031BFC 7D 89 03 A6 */ mtctr r12 +/* 80034CA0 00031C00 4E 80 04 21 */ bctrl +lbl_80034CA4: +/* 80034CA4 00031C04 28 1E 00 00 */ cmplwi r30, 0 +/* 80034CA8 00031C08 41 82 00 20 */ beq lbl_80034CC8 +/* 80034CAC 00031C0C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80034CB0 00031C10 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80034CB4 00031C14 90 1E 00 00 */ stw r0, 0(r30) +/* 80034CB8 00031C18 41 82 00 10 */ beq lbl_80034CC8 +/* 80034CBC 00031C1C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80034CC0 00031C20 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80034CC4 00031C24 90 1E 00 00 */ stw r0, 0(r30) +lbl_80034CC8: +/* 80034CC8 00031C28 7F E0 07 35 */ extsh. r0, r31 +/* 80034CCC 00031C2C 40 81 00 0C */ ble lbl_80034CD8 +/* 80034CD0 00031C30 7F C3 F3 78 */ mr r3, r30 +/* 80034CD4 00031C34 48 2E 0C 5D */ bl Free__7CMemoryFPCv +lbl_80034CD8: +/* 80034CD8 00031C38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80034CDC 00031C3C 7F C3 F3 78 */ mr r3, r30 +/* 80034CE0 00031C40 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80034CE4 00031C44 83 C1 00 08 */ lwz r30, 8(r1) +/* 80034CE8 00031C48 7C 08 03 A6 */ mtlr r0 +/* 80034CEC 00031C4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80034CF0 00031C50 4E 80 00 20 */ blr + +.global sub_80034cf4 +sub_80034cf4: +/* 80034CF4 00031C54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80034CF8 00031C58 7C 08 02 A6 */ mflr r0 +/* 80034CFC 00031C5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80034D00 00031C60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80034D04 00031C64 7C 7F 1B 78 */ mr r31, r3 +/* 80034D08 00031C68 48 00 00 19 */ bl sub_80034d20 +/* 80034D0C 00031C6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80034D10 00031C70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80034D14 00031C74 7C 08 03 A6 */ mtlr r0 +/* 80034D18 00031C78 38 21 00 10 */ addi r1, r1, 0x10 +/* 80034D1C 00031C7C 4E 80 00 20 */ blr + +.global sub_80034d20 +sub_80034d20: +/* 80034D20 00031C80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80034D24 00031C84 7C 08 02 A6 */ mflr r0 +/* 80034D28 00031C88 3C A0 80 3D */ lis r5, lbl_803CCD80@ha +/* 80034D2C 00031C8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80034D30 00031C90 38 05 CD 80 */ addi r0, r5, lbl_803CCD80@l +/* 80034D34 00031C94 38 A0 00 00 */ li r5, 0 +/* 80034D38 00031C98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80034D3C 00031C9C 7C 9F 23 78 */ mr r31, r4 +/* 80034D40 00031CA0 7C 04 03 78 */ mr r4, r0 +/* 80034D44 00031CA4 93 C1 00 08 */ stw r30, 8(r1) +/* 80034D48 00031CA8 7C 7E 1B 78 */ mr r30, r3 +/* 80034D4C 00031CAC 38 60 00 08 */ li r3, 8 +/* 80034D50 00031CB0 48 2E 0B 1D */ bl __nw__FUlPCcPCc +/* 80034D54 00031CB4 28 03 00 00 */ cmplwi r3, 0 +/* 80034D58 00031CB8 41 82 00 38 */ beq lbl_80034D90 +/* 80034D5C 00031CBC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80034D60 00031CC0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80034D64 00031CC4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80034D68 00031CC8 3C 80 80 3E */ lis r4, lbl_803D9CA8@ha +/* 80034D6C 00031CCC 90 03 00 00 */ stw r0, 0(r3) +/* 80034D70 00031CD0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80034D74 00031CD4 38 A0 00 00 */ li r5, 0 +/* 80034D78 00031CD8 38 04 9C A8 */ addi r0, r4, lbl_803D9CA8@l +/* 80034D7C 00031CDC 90 C3 00 00 */ stw r6, 0(r3) +/* 80034D80 00031CE0 98 BF 00 00 */ stb r5, 0(r31) +/* 80034D84 00031CE4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80034D88 00031CE8 90 83 00 04 */ stw r4, 4(r3) +/* 80034D8C 00031CEC 90 03 00 00 */ stw r0, 0(r3) +lbl_80034D90: +/* 80034D90 00031CF0 7C 03 00 D0 */ neg r0, r3 +/* 80034D94 00031CF4 7C 00 1B 78 */ or r0, r0, r3 +/* 80034D98 00031CF8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80034D9C 00031CFC 98 1E 00 00 */ stb r0, 0(r30) +/* 80034DA0 00031D00 90 7E 00 04 */ stw r3, 4(r30) +/* 80034DA4 00031D04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80034DA8 00031D08 83 C1 00 08 */ lwz r30, 8(r1) +/* 80034DAC 00031D0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80034DB0 00031D10 7C 08 03 A6 */ mtlr r0 +/* 80034DB4 00031D14 38 21 00 10 */ addi r1, r1, 0x10 +/* 80034DB8 00031D18 4E 80 00 20 */ blr + +.global sub_80034dbc +sub_80034dbc: +/* 80034DBC 00031D1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80034DC0 00031D20 7C 08 02 A6 */ mflr r0 +/* 80034DC4 00031D24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80034DC8 00031D28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80034DCC 00031D2C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80034DD0 00031D30 41 82 00 1C */ beq lbl_80034DEC +/* 80034DD4 00031D34 3C A0 80 3E */ lis r5, lbl_803D9C2C@ha +/* 80034DD8 00031D38 7C 80 07 35 */ extsh. r0, r4 +/* 80034DDC 00031D3C 38 05 9C 2C */ addi r0, r5, lbl_803D9C2C@l +/* 80034DE0 00031D40 90 1F 00 00 */ stw r0, 0(r31) +/* 80034DE4 00031D44 40 81 00 08 */ ble lbl_80034DEC +/* 80034DE8 00031D48 48 2E 0B 49 */ bl Free__7CMemoryFPCv +lbl_80034DEC: +/* 80034DEC 00031D4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80034DF0 00031D50 7F E3 FB 78 */ mr r3, r31 +/* 80034DF4 00031D54 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80034DF8 00031D58 7C 08 03 A6 */ mtlr r0 +/* 80034DFC 00031D5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80034E00 00031D60 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CAutoSave.s b/asm/Kyoto_CWD/CAutoSave.s new file mode 100644 index 00000000..f058e20a --- /dev/null +++ b/asm/Kyoto_CWD/CAutoSave.s @@ -0,0 +1,230 @@ +.include "macros.inc" + +.section .text, "ax" + +.global GetIsContinueDraw__9CAutoSaveCFv +GetIsContinueDraw__9CAutoSaveCFv: +/* 8002515C 000220BC 38 60 00 00 */ li r3, 0 +/* 80025160 000220C0 4E 80 00 20 */ blr + +.global Draw__9CAutoSaveCFv +Draw__9CAutoSaveCFv: +/* 80025164 000220C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80025168 000220C8 7C 08 02 A6 */ mflr r0 +/* 8002516C 000220CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80025170 000220D0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80025174 000220D4 48 22 A5 AD */ bl Draw__15CSaveGameScreenFv +/* 80025178 000220D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002517C 000220DC 7C 08 03 A6 */ mtlr r0 +/* 80025180 000220E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80025184 000220E4 4E 80 00 20 */ blr + +.global OnMessage__9CAutoSaveFRC20CArchitectureMessageR18CArchitectureQueue +OnMessage__9CAutoSaveFRC20CArchitectureMessageR18CArchitectureQueue: +/* 80025188 000220E8 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8002518C 000220EC 7C 08 02 A6 */ mflr r0 +/* 80025190 000220F0 38 A0 00 00 */ li r5, 0 +/* 80025194 000220F4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80025198 000220F8 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8002519C 000220FC 7C 7F 1B 78 */ mr r31, r3 +/* 800251A0 00022100 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) +/* 800251A4 00022104 80 06 02 10 */ lwz r0, 0x210(r6) +/* 800251A8 00022108 80 66 02 14 */ lwz r3, 0x214(r6) +/* 800251AC 0002210C 7C 00 2A 78 */ xor r0, r0, r5 +/* 800251B0 00022110 7C 63 2A 78 */ xor r3, r3, r5 +/* 800251B4 00022114 7C 60 03 79 */ or. r0, r3, r0 +/* 800251B8 00022118 40 82 00 0C */ bne lbl_800251C4 +/* 800251BC 0002211C 38 60 00 02 */ li r3, 2 +/* 800251C0 00022120 48 00 01 9C */ b lbl_8002535C +lbl_800251C4: +/* 800251C4 00022124 80 04 00 04 */ lwz r0, 4(r4) +/* 800251C8 00022128 2C 00 00 05 */ cmpwi r0, 5 +/* 800251CC 0002212C 41 82 00 3C */ beq lbl_80025208 +/* 800251D0 00022130 40 80 01 88 */ bge lbl_80025358 +/* 800251D4 00022134 2C 00 00 04 */ cmpwi r0, 4 +/* 800251D8 00022138 40 80 00 08 */ bge lbl_800251E0 +/* 800251DC 0002213C 48 00 01 7C */ b lbl_80025358 +lbl_800251E0: +/* 800251E0 00022140 7C 83 23 78 */ mr r3, r4 +/* 800251E4 00022144 48 02 C9 D9 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +/* 800251E8 00022148 7C 64 1B 78 */ mr r4, r3 +/* 800251EC 0002214C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 800251F0 00022150 C0 24 00 04 */ lfs f1, 4(r4) +/* 800251F4 00022154 48 22 A5 A9 */ bl Update__15CSaveGameScreenFf +/* 800251F8 00022158 2C 03 00 00 */ cmpwi r3, 0 +/* 800251FC 0002215C 41 82 01 5C */ beq lbl_80025358 +/* 80025200 00022160 38 60 00 02 */ li r3, 2 +/* 80025204 00022164 48 00 01 58 */ b lbl_8002535C +lbl_80025208: +/* 80025208 00022168 7C 83 23 78 */ mr r3, r4 +/* 8002520C 0002216C 48 02 C8 D9 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage +/* 80025210 00022170 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha +/* 80025214 00022174 3C 80 80 3E */ lis r4, lbl_803D9810@ha +/* 80025218 00022178 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l +/* 8002521C 0002217C 90 01 00 38 */ stw r0, 0x38(r1) +/* 80025220 00022180 38 04 98 10 */ addi r0, r4, lbl_803D9810@l +/* 80025224 00022184 90 01 00 38 */ stw r0, 0x38(r1) +/* 80025228 00022188 C0 03 00 04 */ lfs f0, 4(r3) +/* 8002522C 0002218C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80025230 00022190 80 03 00 08 */ lwz r0, 8(r3) +/* 80025234 00022194 90 01 00 40 */ stw r0, 0x40(r1) +/* 80025238 00022198 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8002523C 0002219C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80025240 000221A0 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80025244 000221A4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80025248 000221A8 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8002524C 000221AC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80025250 000221B0 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80025254 000221B4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80025258 000221B8 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8002525C 000221BC D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80025260 000221C0 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80025264 000221C4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80025268 000221C8 88 03 00 24 */ lbz r0, 0x24(r3) +/* 8002526C 000221CC 98 01 00 5C */ stb r0, 0x5c(r1) +/* 80025270 000221D0 88 03 00 25 */ lbz r0, 0x25(r3) +/* 80025274 000221D4 98 01 00 5D */ stb r0, 0x5d(r1) +/* 80025278 000221D8 88 03 00 26 */ lbz r0, 0x26(r3) +/* 8002527C 000221DC 98 01 00 5E */ stb r0, 0x5e(r1) +/* 80025280 000221E0 88 03 00 27 */ lbz r0, 0x27(r3) +/* 80025284 000221E4 98 01 00 5F */ stb r0, 0x5f(r1) +/* 80025288 000221E8 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8002528C 000221EC D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80025290 000221F0 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 80025294 000221F4 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80025298 000221F8 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8002529C 000221FC 98 01 00 68 */ stb r0, 0x68(r1) +/* 800252A0 00022200 88 03 00 31 */ lbz r0, 0x31(r3) +/* 800252A4 00022204 98 01 00 69 */ stb r0, 0x69(r1) +/* 800252A8 00022208 88 03 00 32 */ lbz r0, 0x32(r3) +/* 800252AC 0002220C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800252B0 00022210 98 01 00 6A */ stb r0, 0x6a(r1) +/* 800252B4 00022214 4B FF 67 31 */ bl GetUserInput__21CArchMsgParmUserInputCFv +/* 800252B8 00022218 C0 03 00 00 */ lfs f0, 0(r3) +/* 800252BC 0002221C 38 81 00 08 */ addi r4, r1, 8 +/* 800252C0 00022220 D0 01 00 08 */ stfs f0, 8(r1) +/* 800252C4 00022224 80 03 00 04 */ lwz r0, 4(r3) +/* 800252C8 00022228 90 01 00 0C */ stw r0, 0xc(r1) +/* 800252CC 0002222C C0 03 00 08 */ lfs f0, 8(r3) +/* 800252D0 00022230 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800252D4 00022234 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800252D8 00022238 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800252DC 0002223C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 800252E0 00022240 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800252E4 00022244 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 800252E8 00022248 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800252EC 0002224C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 800252F0 00022250 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800252F4 00022254 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 800252F8 00022258 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800252FC 0002225C 88 03 00 20 */ lbz r0, 0x20(r3) +/* 80025300 00022260 98 01 00 28 */ stb r0, 0x28(r1) +/* 80025304 00022264 88 03 00 21 */ lbz r0, 0x21(r3) +/* 80025308 00022268 98 01 00 29 */ stb r0, 0x29(r1) +/* 8002530C 0002226C 88 03 00 22 */ lbz r0, 0x22(r3) +/* 80025310 00022270 98 01 00 2A */ stb r0, 0x2a(r1) +/* 80025314 00022274 88 03 00 23 */ lbz r0, 0x23(r3) +/* 80025318 00022278 98 01 00 2B */ stb r0, 0x2b(r1) +/* 8002531C 0002227C C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80025320 00022280 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80025324 00022284 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80025328 00022288 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8002532C 0002228C 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80025330 00022290 98 01 00 34 */ stb r0, 0x34(r1) +/* 80025334 00022294 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80025338 00022298 98 01 00 35 */ stb r0, 0x35(r1) +/* 8002533C 0002229C 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80025340 000222A0 98 01 00 36 */ stb r0, 0x36(r1) +/* 80025344 000222A4 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80025348 000222A8 48 22 A4 29 */ bl ProcessUserInput__15CSaveGameScreenFRC11CFinalInput +/* 8002534C 000222AC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80025350 000222B0 38 80 FF FF */ li r4, -1 +/* 80025354 000222B4 4B FF 66 99 */ bl __dt__21CArchMsgParmUserInputFv +lbl_80025358: +/* 80025358 000222B8 38 60 00 01 */ li r3, 1 +lbl_8002535C: +/* 8002535C 000222BC 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80025360 000222C0 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80025364 000222C4 7C 08 03 A6 */ mtlr r0 +/* 80025368 000222C8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8002536C 000222CC 4E 80 00 20 */ blr + +.global __dt__9CAutoSaveFv +__dt__9CAutoSaveFv: +/* 80025370 000222D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80025374 000222D4 7C 08 02 A6 */ mflr r0 +/* 80025378 000222D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002537C 000222DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80025380 000222E0 7C 9F 23 78 */ mr r31, r4 +/* 80025384 000222E4 93 C1 00 08 */ stw r30, 8(r1) +/* 80025388 000222E8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002538C 000222EC 41 82 00 40 */ beq lbl_800253CC +/* 80025390 000222F0 3C 60 80 3E */ lis r3, lbl_803D99F0@ha +/* 80025394 000222F4 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80025398 000222F8 38 03 99 F0 */ addi r0, r3, lbl_803D99F0@l +/* 8002539C 000222FC 90 1E 00 00 */ stw r0, 0(r30) +/* 800253A0 00022300 41 82 00 10 */ beq lbl_800253B0 +/* 800253A4 00022304 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 800253A8 00022308 38 80 00 01 */ li r4, 1 +/* 800253AC 0002230C 48 22 AA 79 */ bl __dt__15CSaveGameScreenFv +lbl_800253B0: +/* 800253B0 00022310 7F C3 F3 78 */ mr r3, r30 +/* 800253B4 00022314 38 80 00 00 */ li r4, 0 +/* 800253B8 00022318 48 02 D7 ED */ bl __dt__6CIOWinFv +/* 800253BC 0002231C 7F E0 07 35 */ extsh. r0, r31 +/* 800253C0 00022320 40 81 00 0C */ ble lbl_800253CC +/* 800253C4 00022324 7F C3 F3 78 */ mr r3, r30 +/* 800253C8 00022328 48 2F 05 69 */ bl Free__7CMemoryFPCv +lbl_800253CC: +/* 800253CC 0002232C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800253D0 00022330 7F C3 F3 78 */ mr r3, r30 +/* 800253D4 00022334 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800253D8 00022338 83 C1 00 08 */ lwz r30, 8(r1) +/* 800253DC 0002233C 7C 08 03 A6 */ mtlr r0 +/* 800253E0 00022340 38 21 00 10 */ addi r1, r1, 0x10 +/* 800253E4 00022344 4E 80 00 20 */ blr + +.global __ct__9CAutoSaveFv +__ct__9CAutoSaveFv: +/* 800253E8 00022348 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800253EC 0002234C 7C 08 02 A6 */ mflr r0 +/* 800253F0 00022350 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 800253F4 00022354 90 01 00 24 */ stw r0, 0x24(r1) +/* 800253F8 00022358 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 800253FC 0002235C 38 84 01 48 */ addi r4, r4, 0x148 +/* 80025400 00022360 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80025404 00022364 7C 7F 1B 78 */ mr r31, r3 +/* 80025408 00022368 38 61 00 08 */ addi r3, r1, 8 +/* 8002540C 0002236C 4B FD F8 AD */ bl string_l__4rstlFPCc +/* 80025410 00022370 7F E3 FB 78 */ mr r3, r31 +/* 80025414 00022374 38 81 00 08 */ addi r4, r1, 8 +/* 80025418 00022378 48 02 D7 F5 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002541C 0002237C 38 61 00 08 */ addi r3, r1, 8 +/* 80025420 00022380 48 31 86 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80025424 00022384 3C 60 80 3E */ lis r3, lbl_803D99F0@ha +/* 80025428 00022388 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 8002542C 0002238C 38 03 99 F0 */ addi r0, r3, lbl_803D99F0@l +/* 80025430 00022390 38 60 00 98 */ li r3, 0x98 +/* 80025434 00022394 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80025438 00022398 90 1F 00 00 */ stw r0, 0(r31) +/* 8002543C 0002239C 38 84 01 51 */ addi r4, r4, 0x151 +/* 80025440 000223A0 38 A0 00 00 */ li r5, 0 +/* 80025444 000223A4 48 2F 04 29 */ bl __nw__FUlPCcPCc +/* 80025448 000223A8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8002544C 000223AC 41 82 00 1C */ beq lbl_80025468 +/* 80025450 000223B0 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) +/* 80025454 000223B4 38 80 00 01 */ li r4, 1 +/* 80025458 000223B8 80 A6 02 10 */ lwz r5, 0x210(r6) +/* 8002545C 000223BC 80 C6 02 14 */ lwz r6, 0x214(r6) +/* 80025460 000223C0 48 22 AB 1D */ bl __ct__15CSaveGameScreen +/* 80025464 000223C4 7C 60 1B 78 */ mr r0, r3 +lbl_80025468: +/* 80025468 000223C8 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8002546C 000223CC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 80025470 000223D0 4B FD F1 21 */ bl RefreshGameState__5CMainFv +/* 80025474 000223D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80025478 000223D8 7F E3 FB 78 */ mr r3, r31 +/* 8002547C 000223DC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80025480 000223E0 7C 08 03 A6 */ mtlr r0 +/* 80025484 000223E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80025488 000223E8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CCharacterFactory.s b/asm/Kyoto_CWD/CCharacterFactory.s new file mode 100644 index 00000000..dded32ed --- /dev/null +++ b/asm/Kyoto_CWD/CCharacterFactory.s @@ -0,0 +1,3358 @@ +.include "macros.inc" + +.section .text, "ax" + +.global "__dt__Q24rstl35reserved_vector<13CSoundPOINode,20>Fv" +"__dt__Q24rstl35reserved_vector<13CSoundPOINode,20>Fv": +/* 80031A2C 0002E98C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80031A30 0002E990 7C 08 02 A6 */ mflr r0 +/* 80031A34 0002E994 90 01 00 24 */ stw r0, 0x24(r1) +/* 80031A38 0002E998 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80031A3C 0002E99C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80031A40 0002E9A0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80031A44 0002E9A4 7C 9D 23 78 */ mr r29, r4 +/* 80031A48 0002E9A8 93 81 00 10 */ stw r28, 0x10(r1) +/* 80031A4C 0002E9AC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80031A50 0002E9B0 41 82 00 54 */ beq lbl_80031AA4 +/* 80031A54 0002E9B4 3B DC 00 04 */ addi r30, r28, 4 +/* 80031A58 0002E9B8 3B E0 00 00 */ li r31, 0 +/* 80031A5C 0002E9BC 48 00 00 24 */ b lbl_80031A80 +lbl_80031A60: +/* 80031A60 0002E9C0 7F C3 F3 78 */ mr r3, r30 +/* 80031A64 0002E9C4 38 80 FF FF */ li r4, -1 +/* 80031A68 0002E9C8 81 9E 00 00 */ lwz r12, 0(r30) +/* 80031A6C 0002E9CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80031A70 0002E9D0 7D 89 03 A6 */ mtctr r12 +/* 80031A74 0002E9D4 4E 80 04 21 */ bctrl +/* 80031A78 0002E9D8 3B DE 00 44 */ addi r30, r30, 0x44 +/* 80031A7C 0002E9DC 3B FF 00 01 */ addi r31, r31, 1 +lbl_80031A80: +/* 80031A80 0002E9E0 80 1C 00 00 */ lwz r0, 0(r28) +/* 80031A84 0002E9E4 7C 1F 00 00 */ cmpw r31, r0 +/* 80031A88 0002E9E8 41 80 FF D8 */ blt lbl_80031A60 +/* 80031A8C 0002E9EC 38 60 00 00 */ li r3, 0 +/* 80031A90 0002E9F0 7F A0 07 35 */ extsh. r0, r29 +/* 80031A94 0002E9F4 90 7C 00 00 */ stw r3, 0(r28) +/* 80031A98 0002E9F8 40 81 00 0C */ ble lbl_80031AA4 +/* 80031A9C 0002E9FC 7F 83 E3 78 */ mr r3, r28 +/* 80031AA0 0002EA00 48 2E 3E 91 */ bl Free__7CMemoryFPCv +lbl_80031AA4: +/* 80031AA4 0002EA04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80031AA8 0002EA08 7F 83 E3 78 */ mr r3, r28 +/* 80031AAC 0002EA0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80031AB0 0002EA10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80031AB4 0002EA14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80031AB8 0002EA18 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80031ABC 0002EA1C 7C 08 03 A6 */ mtlr r0 +/* 80031AC0 0002EA20 38 21 00 20 */ addi r1, r1, 0x20 +/* 80031AC4 0002EA24 4E 80 00 20 */ blr + +.global "__dt__Q24rstl38reserved_vector<16CParticlePOINode,20>Fv" +"__dt__Q24rstl38reserved_vector<16CParticlePOINode,20>Fv": +/* 80031AC8 0002EA28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80031ACC 0002EA2C 7C 08 02 A6 */ mflr r0 +/* 80031AD0 0002EA30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80031AD4 0002EA34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80031AD8 0002EA38 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80031ADC 0002EA3C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80031AE0 0002EA40 7C 9D 23 78 */ mr r29, r4 +/* 80031AE4 0002EA44 93 81 00 10 */ stw r28, 0x10(r1) +/* 80031AE8 0002EA48 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80031AEC 0002EA4C 41 82 00 54 */ beq lbl_80031B40 +/* 80031AF0 0002EA50 3B DC 00 04 */ addi r30, r28, 4 +/* 80031AF4 0002EA54 3B E0 00 00 */ li r31, 0 +/* 80031AF8 0002EA58 48 00 00 24 */ b lbl_80031B1C +lbl_80031AFC: +/* 80031AFC 0002EA5C 7F C3 F3 78 */ mr r3, r30 +/* 80031B00 0002EA60 38 80 FF FF */ li r4, -1 +/* 80031B04 0002EA64 81 9E 00 00 */ lwz r12, 0(r30) +/* 80031B08 0002EA68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80031B0C 0002EA6C 7D 89 03 A6 */ mtctr r12 +/* 80031B10 0002EA70 4E 80 04 21 */ bctrl +/* 80031B14 0002EA74 3B DE 00 5C */ addi r30, r30, 0x5c +/* 80031B18 0002EA78 3B FF 00 01 */ addi r31, r31, 1 +lbl_80031B1C: +/* 80031B1C 0002EA7C 80 1C 00 00 */ lwz r0, 0(r28) +/* 80031B20 0002EA80 7C 1F 00 00 */ cmpw r31, r0 +/* 80031B24 0002EA84 41 80 FF D8 */ blt lbl_80031AFC +/* 80031B28 0002EA88 38 60 00 00 */ li r3, 0 +/* 80031B2C 0002EA8C 7F A0 07 35 */ extsh. r0, r29 +/* 80031B30 0002EA90 90 7C 00 00 */ stw r3, 0(r28) +/* 80031B34 0002EA94 40 81 00 0C */ ble lbl_80031B40 +/* 80031B38 0002EA98 7F 83 E3 78 */ mr r3, r28 +/* 80031B3C 0002EA9C 48 2E 3D F5 */ bl Free__7CMemoryFPCv +lbl_80031B40: +/* 80031B40 0002EAA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80031B44 0002EAA4 7F 83 E3 78 */ mr r3, r28 +/* 80031B48 0002EAA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80031B4C 0002EAAC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80031B50 0002EAB0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80031B54 0002EAB4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80031B58 0002EAB8 7C 08 03 A6 */ mtlr r0 +/* 80031B5C 0002EABC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80031B60 0002EAC0 4E 80 00 20 */ blr + +.global "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv" +"__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv": +/* 80031B64 0002EAC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80031B68 0002EAC8 7C 08 02 A6 */ mflr r0 +/* 80031B6C 0002EACC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80031B70 0002EAD0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80031B74 0002EAD4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80031B78 0002EAD8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80031B7C 0002EADC 7C 9D 23 78 */ mr r29, r4 +/* 80031B80 0002EAE0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80031B84 0002EAE4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80031B88 0002EAE8 41 82 00 54 */ beq lbl_80031BDC +/* 80031B8C 0002EAEC 3B DC 00 04 */ addi r30, r28, 4 +/* 80031B90 0002EAF0 3B E0 00 00 */ li r31, 0 +/* 80031B94 0002EAF4 48 00 00 24 */ b lbl_80031BB8 +lbl_80031B98: +/* 80031B98 0002EAF8 7F C3 F3 78 */ mr r3, r30 +/* 80031B9C 0002EAFC 38 80 FF FF */ li r4, -1 +/* 80031BA0 0002EB00 81 9E 00 00 */ lwz r12, 0(r30) +/* 80031BA4 0002EB04 81 8C 00 08 */ lwz r12, 8(r12) +/* 80031BA8 0002EB08 7D 89 03 A6 */ mtctr r12 +/* 80031BAC 0002EB0C 4E 80 04 21 */ bctrl +/* 80031BB0 0002EB10 3B DE 00 4C */ addi r30, r30, 0x4c +/* 80031BB4 0002EB14 3B FF 00 01 */ addi r31, r31, 1 +lbl_80031BB8: +/* 80031BB8 0002EB18 80 1C 00 00 */ lwz r0, 0(r28) +/* 80031BBC 0002EB1C 7C 1F 00 00 */ cmpw r31, r0 +/* 80031BC0 0002EB20 41 80 FF D8 */ blt lbl_80031B98 +/* 80031BC4 0002EB24 38 60 00 00 */ li r3, 0 +/* 80031BC8 0002EB28 7F A0 07 35 */ extsh. r0, r29 +/* 80031BCC 0002EB2C 90 7C 00 00 */ stw r3, 0(r28) +/* 80031BD0 0002EB30 40 81 00 0C */ ble lbl_80031BDC +/* 80031BD4 0002EB34 7F 83 E3 78 */ mr r3, r28 +/* 80031BD8 0002EB38 48 2E 3D 59 */ bl Free__7CMemoryFPCv +lbl_80031BDC: +/* 80031BDC 0002EB3C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80031BE0 0002EB40 7F 83 E3 78 */ mr r3, r28 +/* 80031BE4 0002EB44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80031BE8 0002EB48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80031BEC 0002EB4C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80031BF0 0002EB50 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80031BF4 0002EB54 7C 08 03 A6 */ mtlr r0 +/* 80031BF8 0002EB58 38 21 00 20 */ addi r1, r1, 0x20 +/* 80031BFC 0002EB5C 4E 80 00 20 */ blr + +.global "__dt__Q24rstl33reserved_vector<12CBoolPOINode,8>Fv" +"__dt__Q24rstl33reserved_vector<12CBoolPOINode,8>Fv": +/* 80031C00 0002EB60 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80031C04 0002EB64 7C 08 02 A6 */ mflr r0 +/* 80031C08 0002EB68 90 01 00 24 */ stw r0, 0x24(r1) +/* 80031C0C 0002EB6C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80031C10 0002EB70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80031C14 0002EB74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80031C18 0002EB78 7C 9D 23 78 */ mr r29, r4 +/* 80031C1C 0002EB7C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80031C20 0002EB80 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80031C24 0002EB84 41 82 00 54 */ beq lbl_80031C78 +/* 80031C28 0002EB88 3B DC 00 04 */ addi r30, r28, 4 +/* 80031C2C 0002EB8C 3B E0 00 00 */ li r31, 0 +/* 80031C30 0002EB90 48 00 00 24 */ b lbl_80031C54 +lbl_80031C34: +/* 80031C34 0002EB94 7F C3 F3 78 */ mr r3, r30 +/* 80031C38 0002EB98 38 80 FF FF */ li r4, -1 +/* 80031C3C 0002EB9C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80031C40 0002EBA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80031C44 0002EBA4 7D 89 03 A6 */ mtctr r12 +/* 80031C48 0002EBA8 4E 80 04 21 */ bctrl +/* 80031C4C 0002EBAC 3B DE 00 3C */ addi r30, r30, 0x3c +/* 80031C50 0002EBB0 3B FF 00 01 */ addi r31, r31, 1 +lbl_80031C54: +/* 80031C54 0002EBB4 80 1C 00 00 */ lwz r0, 0(r28) +/* 80031C58 0002EBB8 7C 1F 00 00 */ cmpw r31, r0 +/* 80031C5C 0002EBBC 41 80 FF D8 */ blt lbl_80031C34 +/* 80031C60 0002EBC0 38 60 00 00 */ li r3, 0 +/* 80031C64 0002EBC4 7F A0 07 35 */ extsh. r0, r29 +/* 80031C68 0002EBC8 90 7C 00 00 */ stw r3, 0(r28) +/* 80031C6C 0002EBCC 40 81 00 0C */ ble lbl_80031C78 +/* 80031C70 0002EBD0 7F 83 E3 78 */ mr r3, r28 +/* 80031C74 0002EBD4 48 2E 3C BD */ bl Free__7CMemoryFPCv +lbl_80031C78: +/* 80031C78 0002EBD8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80031C7C 0002EBDC 7F 83 E3 78 */ mr r3, r28 +/* 80031C80 0002EBE0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80031C84 0002EBE4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80031C88 0002EBE8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80031C8C 0002EBEC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80031C90 0002EBF0 7C 08 03 A6 */ mtlr r0 +/* 80031C94 0002EBF4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80031C98 0002EBF8 4E 80 00 20 */ blr + +.global CanBuild__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTag +CanBuild__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTag: +/* 80031C9C 0002EBFC 38 60 00 01 */ li r3, 1 +/* 80031CA0 0002EC00 4E 80 00 20 */ blr + +.global GetResourceIdByName__Q217CCharacterFactory13CDummyFactoryCFPCc +GetResourceIdByName__Q217CCharacterFactory13CDummyFactoryCFPCc: +/* 80031CA4 0002EC04 38 60 00 00 */ li r3, 0 +/* 80031CA8 0002EC08 4E 80 00 20 */ blr + +.global __dt__Q217CCharacterFactory13CDummyFactoryFv +__dt__Q217CCharacterFactory13CDummyFactoryFv: +/* 80031CAC 0002EC0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80031CB0 0002EC10 7C 08 02 A6 */ mflr r0 +/* 80031CB4 0002EC14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80031CB8 0002EC18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80031CBC 0002EC1C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80031CC0 0002EC20 41 82 00 30 */ beq lbl_80031CF0 +/* 80031CC4 0002EC24 3C 60 80 3E */ lis r3, lbl_803D9BA8@ha +/* 80031CC8 0002EC28 38 03 9B A8 */ addi r0, r3, lbl_803D9BA8@l +/* 80031CCC 0002EC2C 90 1F 00 00 */ stw r0, 0(r31) +/* 80031CD0 0002EC30 41 82 00 10 */ beq lbl_80031CE0 +/* 80031CD4 0002EC34 3C 60 80 3E */ lis r3, lbl_803D9C50@ha +/* 80031CD8 0002EC38 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l +/* 80031CDC 0002EC3C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80031CE0: +/* 80031CE0 0002EC40 7C 80 07 35 */ extsh. r0, r4 +/* 80031CE4 0002EC44 40 81 00 0C */ ble lbl_80031CF0 +/* 80031CE8 0002EC48 7F E3 FB 78 */ mr r3, r31 +/* 80031CEC 0002EC4C 48 2E 3C 45 */ bl Free__7CMemoryFPCv +lbl_80031CF0: +/* 80031CF0 0002EC50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80031CF4 0002EC54 7F E3 FB 78 */ mr r3, r31 +/* 80031CF8 0002EC58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80031CFC 0002EC5C 7C 08 03 A6 */ mtlr r0 +/* 80031D00 0002EC60 38 21 00 10 */ addi r1, r1, 0x10 +/* 80031D04 0002EC64 4E 80 00 20 */ blr + +.global GetEventResourceIdForAnimResourceId__17CCharacterFactoryCFi +GetEventResourceIdForAnimResourceId__17CCharacterFactoryCFi: +/* 80031D08 0002EC68 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80031D0C 0002EC6C 7C 08 02 A6 */ mflr r0 +/* 80031D10 0002EC70 90 01 00 44 */ stw r0, 0x44(r1) +/* 80031D14 0002EC74 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80031D18 0002EC78 89 21 00 10 */ lbz r9, 0x10(r1) +/* 80031D1C 0002EC7C 38 C1 00 08 */ addi r6, r1, 8 +/* 80031D20 0002EC80 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80031D24 0002EC84 7C 7F 1B 78 */ mr r31, r3 +/* 80031D28 0002EC88 38 E1 00 0C */ addi r7, r1, 0xc +/* 80031D2C 0002EC8C 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 80031D30 0002EC90 38 61 00 1C */ addi r3, r1, 0x1c +/* 80031D34 0002EC94 81 1F 00 64 */ lwz r8, 0x64(r31) +/* 80031D38 0002EC98 54 00 18 38 */ slwi r0, r0, 3 +/* 80031D3C 0002EC9C 90 81 00 08 */ stw r4, 8(r1) +/* 80031D40 0002ECA0 7C 08 02 14 */ add r0, r8, r0 +/* 80031D44 0002ECA4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80031D48 0002ECA8 99 21 00 14 */ stb r9, 0x14(r1) +/* 80031D4C 0002ECAC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80031D50 0002ECB0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80031D54 0002ECB4 91 01 00 30 */ stw r8, 0x30(r1) +/* 80031D58 0002ECB8 99 21 00 0C */ stb r9, 0xc(r1) +/* 80031D5C 0002ECBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80031D60 0002ECC0 91 01 00 20 */ stw r8, 0x20(r1) +/* 80031D64 0002ECC4 48 00 26 11 */ bl sub_80034374 +/* 80031D68 0002ECC8 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80031D6C 0002ECCC 38 80 00 00 */ li r4, 0 +/* 80031D70 0002ECD0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80031D74 0002ECD4 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80031D78 0002ECD8 7C 05 00 40 */ cmplw r5, r0 +/* 80031D7C 0002ECDC 41 82 00 18 */ beq lbl_80031D94 +/* 80031D80 0002ECE0 80 61 00 08 */ lwz r3, 8(r1) +/* 80031D84 0002ECE4 80 05 00 00 */ lwz r0, 0(r5) +/* 80031D88 0002ECE8 7C 03 00 00 */ cmpw r3, r0 +/* 80031D8C 0002ECEC 41 80 00 08 */ blt lbl_80031D94 +/* 80031D90 0002ECF0 38 80 00 01 */ li r4, 1 +lbl_80031D94: +/* 80031D94 0002ECF4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80031D98 0002ECF8 38 81 00 2C */ addi r4, r1, 0x2c +/* 80031D9C 0002ECFC 41 82 00 08 */ beq lbl_80031DA4 +/* 80031DA0 0002ED00 38 81 00 18 */ addi r4, r1, 0x18 +lbl_80031DA4: +/* 80031DA4 0002ED04 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80031DA8 0002ED08 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80031DAC 0002ED0C 54 00 18 38 */ slwi r0, r0, 3 +/* 80031DB0 0002ED10 80 84 00 00 */ lwz r4, 0(r4) +/* 80031DB4 0002ED14 7C 03 02 14 */ add r0, r3, r0 +/* 80031DB8 0002ED18 7C 04 00 40 */ cmplw r4, r0 +/* 80031DBC 0002ED1C 41 82 00 0C */ beq lbl_80031DC8 +/* 80031DC0 0002ED20 80 64 00 04 */ lwz r3, 4(r4) +/* 80031DC4 0002ED24 48 00 00 08 */ b lbl_80031DCC +lbl_80031DC8: +/* 80031DC8 0002ED28 38 60 FF FF */ li r3, -1 +lbl_80031DCC: +/* 80031DCC 0002ED2C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80031DD0 0002ED30 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80031DD4 0002ED34 7C 08 03 A6 */ mtlr r0 +/* 80031DD8 0002ED38 38 21 00 40 */ addi r1, r1, 0x40 +/* 80031DDC 0002ED3C 4E 80 00 20 */ blr + +.global sub_80031de0 +sub_80031de0: +/* 80031DE0 0002ED40 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80031DE4 0002ED44 7C 08 02 A6 */ mflr r0 +/* 80031DE8 0002ED48 90 01 00 64 */ stw r0, 0x64(r1) +/* 80031DEC 0002ED4C 38 00 00 00 */ li r0, 0 +/* 80031DF0 0002ED50 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 80031DF4 0002ED54 7C 7B 1B 78 */ mr r27, r3 +/* 80031DF8 0002ED58 7C BD 2B 78 */ mr r29, r5 +/* 80031DFC 0002ED5C 7C 9C 23 78 */ mr r28, r4 +/* 80031E00 0002ED60 38 61 00 30 */ addi r3, r1, 0x30 +/* 80031E04 0002ED64 83 E5 00 04 */ lwz r31, 4(r5) +/* 80031E08 0002ED68 90 01 00 34 */ stw r0, 0x34(r1) +/* 80031E0C 0002ED6C 7F E4 FB 78 */ mr r4, r31 +/* 80031E10 0002ED70 90 01 00 38 */ stw r0, 0x38(r1) +/* 80031E14 0002ED74 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80031E18 0002ED78 48 00 27 A1 */ bl sub_800345b8 +/* 80031E1C 0002ED7C 3C 60 43 49 */ lis r3, 0x43494E46@ha +/* 80031E20 0002ED80 3B C0 00 00 */ li r30, 0 +/* 80031E24 0002ED84 3B 23 4E 46 */ addi r25, r3, 0x43494E46@l +/* 80031E28 0002ED88 3B 40 00 00 */ li r26, 0 +/* 80031E2C 0002ED8C 48 00 00 B0 */ b lbl_80031EDC +lbl_80031E30: +/* 80031E30 0002ED90 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 80031E34 0002ED94 38 1A 00 1C */ addi r0, r26, 0x1c +/* 80031E38 0002ED98 7F 84 E3 78 */ mr r4, r28 +/* 80031E3C 0002ED9C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80031E40 0002EDA0 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80031E44 0002EDA4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80031E48 0002EDA8 93 21 00 20 */ stw r25, 0x20(r1) +/* 80031E4C 0002EDAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80031E50 0002EDB0 81 9C 00 00 */ lwz r12, 0(r28) +/* 80031E54 0002EDB4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80031E58 0002EDB8 7D 89 03 A6 */ mtctr r12 +/* 80031E5C 0002EDBC 4E 80 04 21 */ bctrl +/* 80031E60 0002EDC0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80031E64 0002EDC4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80031E68 0002EDC8 48 30 F0 41 */ bl __ct__6CTokenFRC6CToken +/* 80031E6C 0002EDCC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80031E70 0002EDD0 38 80 FF FF */ li r4, -1 +/* 80031E74 0002EDD4 48 30 EF CD */ bl __dt__6CTokenFv +/* 80031E78 0002EDD8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80031E7C 0002EDDC 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 80031E80 0002EDE0 7C 00 28 00 */ cmpw r0, r5 +/* 80031E84 0002EDE4 41 80 00 1C */ blt lbl_80031EA0 +/* 80031E88 0002EDE8 2C 05 00 00 */ cmpwi r5, 0 +/* 80031E8C 0002EDEC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80031E90 0002EDF0 38 80 00 04 */ li r4, 4 +/* 80031E94 0002EDF4 41 82 00 08 */ beq lbl_80031E9C +/* 80031E98 0002EDF8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80031E9C: +/* 80031E9C 0002EDFC 48 00 27 1D */ bl sub_800345b8 +lbl_80031EA0: +/* 80031EA0 0002EE00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80031EA4 0002EE04 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80031EA8 0002EE08 54 00 18 38 */ slwi r0, r0, 3 +/* 80031EAC 0002EE0C 7C 63 02 15 */ add. r3, r3, r0 +/* 80031EB0 0002EE10 41 82 00 0C */ beq lbl_80031EBC +/* 80031EB4 0002EE14 38 81 00 28 */ addi r4, r1, 0x28 +/* 80031EB8 0002EE18 48 30 EF F1 */ bl __ct__6CTokenFRC6CToken +lbl_80031EBC: +/* 80031EBC 0002EE1C 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 80031EC0 0002EE20 38 61 00 28 */ addi r3, r1, 0x28 +/* 80031EC4 0002EE24 38 80 00 00 */ li r4, 0 +/* 80031EC8 0002EE28 38 05 00 01 */ addi r0, r5, 1 +/* 80031ECC 0002EE2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80031ED0 0002EE30 48 30 EF 71 */ bl __dt__6CTokenFv +/* 80031ED4 0002EE34 3B DE 00 01 */ addi r30, r30, 1 +/* 80031ED8 0002EE38 3B 5A 00 C0 */ addi r26, r26, 0xc0 +lbl_80031EDC: +/* 80031EDC 0002EE3C 7C 1E F8 40 */ cmplw r30, r31 +/* 80031EE0 0002EE40 41 80 FF 50 */ blt lbl_80031E30 +/* 80031EE4 0002EE44 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80031EE8 0002EE48 90 1B 00 04 */ stw r0, 4(r27) +/* 80031EEC 0002EE4C 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80031EF0 0002EE50 90 1B 00 08 */ stw r0, 8(r27) +/* 80031EF4 0002EE54 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80031EF8 0002EE58 2C 00 00 00 */ cmpwi r0, 0 +/* 80031EFC 0002EE5C 40 82 00 1C */ bne lbl_80031F18 +/* 80031F00 0002EE60 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80031F04 0002EE64 2C 00 00 00 */ cmpwi r0, 0 +/* 80031F08 0002EE68 40 82 00 10 */ bne lbl_80031F18 +/* 80031F0C 0002EE6C 38 00 00 00 */ li r0, 0 +/* 80031F10 0002EE70 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80031F14 0002EE74 48 00 00 6C */ b lbl_80031F80 +lbl_80031F18: +/* 80031F18 0002EE78 80 1B 00 08 */ lwz r0, 8(r27) +/* 80031F1C 0002EE7C 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 80031F20 0002EE80 40 82 00 10 */ bne lbl_80031F30 +/* 80031F24 0002EE84 38 00 00 00 */ li r0, 0 +/* 80031F28 0002EE88 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80031F2C 0002EE8C 48 00 00 18 */ b lbl_80031F44 +lbl_80031F30: +/* 80031F30 0002EE90 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80031F34 0002EE94 38 A0 00 00 */ li r5, 0 +/* 80031F38 0002EE98 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80031F3C 0002EE9C 48 2E 38 DD */ bl __nwa__FUlPCcPCc +/* 80031F40 0002EEA0 90 7B 00 0C */ stw r3, 0xc(r27) +lbl_80031F44: +/* 80031F44 0002EEA4 83 BB 00 04 */ lwz r29, 4(r27) +/* 80031F48 0002EEA8 3B 20 00 00 */ li r25, 0 +/* 80031F4C 0002EEAC 83 81 00 3C */ lwz r28, 0x3c(r1) +/* 80031F50 0002EEB0 83 5B 00 0C */ lwz r26, 0xc(r27) +/* 80031F54 0002EEB4 48 00 00 24 */ b lbl_80031F78 +lbl_80031F58: +/* 80031F58 0002EEB8 28 1A 00 00 */ cmplwi r26, 0 +/* 80031F5C 0002EEBC 41 82 00 10 */ beq lbl_80031F6C +/* 80031F60 0002EEC0 7F 43 D3 78 */ mr r3, r26 +/* 80031F64 0002EEC4 7F 84 E3 78 */ mr r4, r28 +/* 80031F68 0002EEC8 48 30 EF 41 */ bl __ct__6CTokenFRC6CToken +lbl_80031F6C: +/* 80031F6C 0002EECC 3B 5A 00 08 */ addi r26, r26, 8 +/* 80031F70 0002EED0 3B 39 00 01 */ addi r25, r25, 1 +/* 80031F74 0002EED4 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80031F78: +/* 80031F78 0002EED8 7C 19 E8 00 */ cmpw r25, r29 +/* 80031F7C 0002EEDC 41 80 FF DC */ blt lbl_80031F58 +lbl_80031F80: +/* 80031F80 0002EEE0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80031F84 0002EEE4 83 21 00 3C */ lwz r25, 0x3c(r1) +/* 80031F88 0002EEE8 54 00 18 38 */ slwi r0, r0, 3 +/* 80031F8C 0002EEEC 7F 59 02 14 */ add r26, r25, r0 +/* 80031F90 0002EEF0 93 21 00 0C */ stw r25, 0xc(r1) +/* 80031F94 0002EEF4 93 41 00 14 */ stw r26, 0x14(r1) +/* 80031F98 0002EEF8 93 41 00 10 */ stw r26, 0x10(r1) +/* 80031F9C 0002EEFC 93 21 00 08 */ stw r25, 8(r1) +/* 80031FA0 0002EF00 48 00 00 1C */ b lbl_80031FBC +lbl_80031FA4: +/* 80031FA4 0002EF04 28 19 00 00 */ cmplwi r25, 0 +/* 80031FA8 0002EF08 41 82 00 10 */ beq lbl_80031FB8 +/* 80031FAC 0002EF0C 7F 23 CB 78 */ mr r3, r25 +/* 80031FB0 0002EF10 38 80 00 00 */ li r4, 0 +/* 80031FB4 0002EF14 48 30 EE 8D */ bl __dt__6CTokenFv +lbl_80031FB8: +/* 80031FB8 0002EF18 3B 39 00 08 */ addi r25, r25, 8 +lbl_80031FBC: +/* 80031FBC 0002EF1C 7C 19 D0 40 */ cmplw r25, r26 +/* 80031FC0 0002EF20 40 82 FF E4 */ bne lbl_80031FA4 +/* 80031FC4 0002EF24 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80031FC8 0002EF28 28 03 00 00 */ cmplwi r3, 0 +/* 80031FCC 0002EF2C 41 82 00 08 */ beq lbl_80031FD4 +/* 80031FD0 0002EF30 48 2E 39 61 */ bl Free__7CMemoryFPCv +lbl_80031FD4: +/* 80031FD4 0002EF34 BB 21 00 44 */ lmw r25, 0x44(r1) +/* 80031FD8 0002EF38 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80031FDC 0002EF3C 7C 08 03 A6 */ mtlr r0 +/* 80031FE0 0002EF40 38 21 00 60 */ addi r1, r1, 0x60 +/* 80031FE4 0002EF44 4E 80 00 20 */ blr + +.global sub_80031fe8 +sub_80031fe8: +/* 80031FE8 0002EF48 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80031FEC 0002EF4C 7C 08 02 A6 */ mflr r0 +/* 80031FF0 0002EF50 90 01 00 34 */ stw r0, 0x34(r1) +/* 80031FF4 0002EF54 38 00 00 00 */ li r0, 0 +/* 80031FF8 0002EF58 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80031FFC 0002EF5C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80032000 0002EF60 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80032004 0002EF64 7C 7D 1B 78 */ mr r29, r3 +/* 80032008 0002EF68 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 8003200C 0002EF6C 83 C4 00 14 */ lwz r30, 0x14(r4) +/* 80032010 0002EF70 1C 65 00 C4 */ mulli r3, r5, 0xc4 +/* 80032014 0002EF74 90 01 00 0C */ stw r0, 0xc(r1) +/* 80032018 0002EF78 7C A4 2B 78 */ mr r4, r5 +/* 8003201C 0002EF7C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80032020 0002EF80 7F FE 1A 14 */ add r31, r30, r3 +/* 80032024 0002EF84 90 01 00 14 */ stw r0, 0x14(r1) +/* 80032028 0002EF88 38 61 00 08 */ addi r3, r1, 8 +/* 8003202C 0002EF8C 48 00 24 09 */ bl sub_80034434 +/* 80032030 0002EF90 48 00 00 14 */ b lbl_80032044 +lbl_80032034: +/* 80032034 0002EF94 38 61 00 08 */ addi r3, r1, 8 +/* 80032038 0002EF98 38 9E 00 04 */ addi r4, r30, 4 +/* 8003203C 0002EF9C 48 00 01 8D */ bl sub_800321c8 +/* 80032040 0002EFA0 3B DE 00 C4 */ addi r30, r30, 0xc4 +lbl_80032044: +/* 80032044 0002EFA4 7C 1E F8 40 */ cmplw r30, r31 +/* 80032048 0002EFA8 40 82 FF EC */ bne lbl_80032034 +/* 8003204C 0002EFAC 7F A3 EB 78 */ mr r3, r29 +/* 80032050 0002EFB0 38 81 00 08 */ addi r4, r1, 8 +/* 80032054 0002EFB4 48 00 00 2D */ bl sub_80032080 +/* 80032058 0002EFB8 38 61 00 08 */ addi r3, r1, 8 +/* 8003205C 0002EFBC 38 80 FF FF */ li r4, -1 +/* 80032060 0002EFC0 48 00 01 E5 */ bl sub_80032244 +/* 80032064 0002EFC4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80032068 0002EFC8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8003206C 0002EFCC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80032070 0002EFD0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80032074 0002EFD4 7C 08 03 A6 */ mtlr r0 +/* 80032078 0002EFD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8003207C 0002EFDC 4E 80 00 20 */ blr + +.global sub_80032080 +sub_80032080: +/* 80032080 0002EFE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80032084 0002EFE4 7C 08 02 A6 */ mflr r0 +/* 80032088 0002EFE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003208C 0002EFEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80032090 0002EFF0 7C 9F 23 78 */ mr r31, r4 +/* 80032094 0002EFF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80032098 0002EFF8 7C 7E 1B 78 */ mr r30, r3 +/* 8003209C 0002EFFC 80 04 00 04 */ lwz r0, 4(r4) +/* 800320A0 0002F000 90 03 00 04 */ stw r0, 4(r3) +/* 800320A4 0002F004 80 04 00 08 */ lwz r0, 8(r4) +/* 800320A8 0002F008 90 03 00 08 */ stw r0, 8(r3) +/* 800320AC 0002F00C 80 04 00 04 */ lwz r0, 4(r4) +/* 800320B0 0002F010 2C 00 00 00 */ cmpwi r0, 0 +/* 800320B4 0002F014 40 82 00 1C */ bne lbl_800320D0 +/* 800320B8 0002F018 80 1F 00 08 */ lwz r0, 8(r31) +/* 800320BC 0002F01C 2C 00 00 00 */ cmpwi r0, 0 +/* 800320C0 0002F020 40 82 00 10 */ bne lbl_800320D0 +/* 800320C4 0002F024 38 00 00 00 */ li r0, 0 +/* 800320C8 0002F028 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800320CC 0002F02C 48 00 00 44 */ b lbl_80032110 +lbl_800320D0: +/* 800320D0 0002F030 80 1E 00 08 */ lwz r0, 8(r30) +/* 800320D4 0002F034 1C 60 00 C0 */ mulli r3, r0, 0xc0 +/* 800320D8 0002F038 2C 03 00 00 */ cmpwi r3, 0 +/* 800320DC 0002F03C 40 82 00 10 */ bne lbl_800320EC +/* 800320E0 0002F040 38 00 00 00 */ li r0, 0 +/* 800320E4 0002F044 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800320E8 0002F048 48 00 00 18 */ b lbl_80032100 +lbl_800320EC: +/* 800320EC 0002F04C 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 800320F0 0002F050 38 A0 00 00 */ li r5, 0 +/* 800320F4 0002F054 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 800320F8 0002F058 48 2E 37 21 */ bl __nwa__FUlPCcPCc +/* 800320FC 0002F05C 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_80032100: +/* 80032100 0002F060 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80032104 0002F064 80 9E 00 04 */ lwz r4, 4(r30) +/* 80032108 0002F068 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8003210C 0002F06C 48 00 00 21 */ bl sub_8003212c +lbl_80032110: +/* 80032110 0002F070 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80032114 0002F074 7F C3 F3 78 */ mr r3, r30 +/* 80032118 0002F078 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003211C 0002F07C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80032120 0002F080 7C 08 03 A6 */ mtlr r0 +/* 80032124 0002F084 38 21 00 10 */ addi r1, r1, 0x10 +/* 80032128 0002F088 4E 80 00 20 */ blr + +.global sub_8003212c +sub_8003212c: +/* 8003212C 0002F08C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80032130 0002F090 7C 08 02 A6 */ mflr r0 +/* 80032134 0002F094 90 01 00 24 */ stw r0, 0x24(r1) +/* 80032138 0002F098 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003213C 0002F09C 7C 7F 1B 78 */ mr r31, r3 +/* 80032140 0002F0A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80032144 0002F0A4 7C BE 2B 78 */ mr r30, r5 +/* 80032148 0002F0A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003214C 0002F0AC 3B A0 00 00 */ li r29, 0 +/* 80032150 0002F0B0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80032154 0002F0B4 7C 9C 23 78 */ mr r28, r4 +/* 80032158 0002F0B8 48 00 00 1C */ b lbl_80032174 +lbl_8003215C: +/* 8003215C 0002F0BC 7F C3 F3 78 */ mr r3, r30 +/* 80032160 0002F0C0 7F E4 FB 78 */ mr r4, r31 +/* 80032164 0002F0C4 48 00 00 3D */ bl sub_800321a0 +/* 80032168 0002F0C8 3B DE 00 C0 */ addi r30, r30, 0xc0 +/* 8003216C 0002F0CC 3B BD 00 01 */ addi r29, r29, 1 +/* 80032170 0002F0D0 3B FF 00 C0 */ addi r31, r31, 0xc0 +lbl_80032174: +/* 80032174 0002F0D4 7C 1D E0 00 */ cmpw r29, r28 +/* 80032178 0002F0D8 41 80 FF E4 */ blt lbl_8003215C +/* 8003217C 0002F0DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80032180 0002F0E0 7F C3 F3 78 */ mr r3, r30 +/* 80032184 0002F0E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80032188 0002F0E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003218C 0002F0EC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80032190 0002F0F0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80032194 0002F0F4 7C 08 03 A6 */ mtlr r0 +/* 80032198 0002F0F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003219C 0002F0FC 4E 80 00 20 */ blr + +.global sub_800321a0 +sub_800321a0: +/* 800321A0 0002F100 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800321A4 0002F104 7C 08 02 A6 */ mflr r0 +/* 800321A8 0002F108 28 03 00 00 */ cmplwi r3, 0 +/* 800321AC 0002F10C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800321B0 0002F110 41 82 00 08 */ beq lbl_800321B8 +/* 800321B4 0002F114 4B FF E3 1D */ bl __ct__14CCharacterInfoFRC14CCharacterInfo +lbl_800321B8: +/* 800321B8 0002F118 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800321BC 0002F11C 7C 08 03 A6 */ mtlr r0 +/* 800321C0 0002F120 38 21 00 10 */ addi r1, r1, 0x10 +/* 800321C4 0002F124 4E 80 00 20 */ blr + +.global sub_800321c8 +sub_800321c8: +/* 800321C8 0002F128 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800321CC 0002F12C 7C 08 02 A6 */ mflr r0 +/* 800321D0 0002F130 90 01 00 14 */ stw r0, 0x14(r1) +/* 800321D4 0002F134 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800321D8 0002F138 7C 9F 23 78 */ mr r31, r4 +/* 800321DC 0002F13C 93 C1 00 08 */ stw r30, 8(r1) +/* 800321E0 0002F140 7C 7E 1B 78 */ mr r30, r3 +/* 800321E4 0002F144 80 03 00 04 */ lwz r0, 4(r3) +/* 800321E8 0002F148 80 A3 00 08 */ lwz r5, 8(r3) +/* 800321EC 0002F14C 7C 00 28 00 */ cmpw r0, r5 +/* 800321F0 0002F150 41 80 00 18 */ blt lbl_80032208 +/* 800321F4 0002F154 2C 05 00 00 */ cmpwi r5, 0 +/* 800321F8 0002F158 38 80 00 04 */ li r4, 4 +/* 800321FC 0002F15C 41 82 00 08 */ beq lbl_80032204 +/* 80032200 0002F160 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80032204: +/* 80032204 0002F164 48 00 22 31 */ bl sub_80034434 +lbl_80032208: +/* 80032208 0002F168 80 1E 00 04 */ lwz r0, 4(r30) +/* 8003220C 0002F16C 7F E4 FB 78 */ mr r4, r31 +/* 80032210 0002F170 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80032214 0002F174 1C 00 00 C0 */ mulli r0, r0, 0xc0 +/* 80032218 0002F178 7C 63 02 14 */ add r3, r3, r0 +/* 8003221C 0002F17C 4B FF FF 85 */ bl sub_800321a0 +/* 80032220 0002F180 80 7E 00 04 */ lwz r3, 4(r30) +/* 80032224 0002F184 38 03 00 01 */ addi r0, r3, 1 +/* 80032228 0002F188 90 1E 00 04 */ stw r0, 4(r30) +/* 8003222C 0002F18C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80032230 0002F190 83 C1 00 08 */ lwz r30, 8(r1) +/* 80032234 0002F194 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80032238 0002F198 7C 08 03 A6 */ mtlr r0 +/* 8003223C 0002F19C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80032240 0002F1A0 4E 80 00 20 */ blr + +.global sub_80032244 +sub_80032244: +/* 80032244 0002F1A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80032248 0002F1A8 7C 08 02 A6 */ mflr r0 +/* 8003224C 0002F1AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80032250 0002F1B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80032254 0002F1B4 7C 9F 23 78 */ mr r31, r4 +/* 80032258 0002F1B8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003225C 0002F1BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80032260 0002F1C0 41 82 00 54 */ beq lbl_800322B4 +/* 80032264 0002F1C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80032268 0002F1C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8003226C 0002F1CC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80032270 0002F1D0 38 81 00 0C */ addi r4, r1, 0xc +/* 80032274 0002F1D4 1C 00 00 C0 */ mulli r0, r0, 0xc0 +/* 80032278 0002F1D8 7C A5 02 14 */ add r5, r5, r0 +/* 8003227C 0002F1DC 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80032280 0002F1E0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80032284 0002F1E4 90 A1 00 08 */ stw r5, 8(r1) +/* 80032288 0002F1E8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8003228C 0002F1EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80032290 0002F1F0 48 00 00 41 */ bl sub_800322d0 +/* 80032294 0002F1F4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80032298 0002F1F8 28 03 00 00 */ cmplwi r3, 0 +/* 8003229C 0002F1FC 41 82 00 08 */ beq lbl_800322A4 +/* 800322A0 0002F200 48 2E 36 91 */ bl Free__7CMemoryFPCv +lbl_800322A4: +/* 800322A4 0002F204 7F E0 07 35 */ extsh. r0, r31 +/* 800322A8 0002F208 40 81 00 0C */ ble lbl_800322B4 +/* 800322AC 0002F20C 7F C3 F3 78 */ mr r3, r30 +/* 800322B0 0002F210 48 2E 36 81 */ bl Free__7CMemoryFPCv +lbl_800322B4: +/* 800322B4 0002F214 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800322B8 0002F218 7F C3 F3 78 */ mr r3, r30 +/* 800322BC 0002F21C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800322C0 0002F220 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800322C4 0002F224 7C 08 03 A6 */ mtlr r0 +/* 800322C8 0002F228 38 21 00 20 */ addi r1, r1, 0x20 +/* 800322CC 0002F22C 4E 80 00 20 */ blr + +.global sub_800322d0 +sub_800322d0: +/* 800322D0 0002F230 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800322D4 0002F234 7C 08 02 A6 */ mflr r0 +/* 800322D8 0002F238 90 01 00 14 */ stw r0, 0x14(r1) +/* 800322DC 0002F23C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800322E0 0002F240 93 C1 00 08 */ stw r30, 8(r1) +/* 800322E4 0002F244 7C 9E 23 78 */ mr r30, r4 +/* 800322E8 0002F248 83 E3 00 00 */ lwz r31, 0(r3) +/* 800322EC 0002F24C 48 00 00 10 */ b lbl_800322FC +lbl_800322F0: +/* 800322F0 0002F250 7F E3 FB 78 */ mr r3, r31 +/* 800322F4 0002F254 48 00 00 2D */ bl sub_80032320 +/* 800322F8 0002F258 3B FF 00 C0 */ addi r31, r31, 0xc0 +lbl_800322FC: +/* 800322FC 0002F25C 80 1E 00 00 */ lwz r0, 0(r30) +/* 80032300 0002F260 7C 1F 00 40 */ cmplw r31, r0 +/* 80032304 0002F264 40 82 FF EC */ bne lbl_800322F0 +/* 80032308 0002F268 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003230C 0002F26C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80032310 0002F270 83 C1 00 08 */ lwz r30, 8(r1) +/* 80032314 0002F274 7C 08 03 A6 */ mtlr r0 +/* 80032318 0002F278 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003231C 0002F27C 4E 80 00 20 */ blr + +.global sub_80032320 +sub_80032320: +/* 80032320 0002F280 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80032324 0002F284 7C 08 02 A6 */ mflr r0 +/* 80032328 0002F288 38 80 FF FF */ li r4, -1 +/* 8003232C 0002F28C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80032330 0002F290 4B FF CB 95 */ bl __dt__14CCharacterInfoFv +/* 80032334 0002F294 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80032338 0002F298 7C 08 03 A6 */ mtlr r0 +/* 8003233C 0002F29C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80032340 0002F2A0 4E 80 00 20 */ blr + +.global sub_80032344 +sub_80032344: +/* 80032344 0002F2A4 1C 04 00 C0 */ mulli r0, r4, 0xc0 +/* 80032348 0002F2A8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8003234C 0002F2AC 7C 63 02 14 */ add r3, r3, r0 +/* 80032350 0002F2B0 4E 80 00 20 */ blr + +.global "CreateCharacter__17CCharacterFactoryCFibRC33TLockedToken<17CCharacterFactory>i" +"CreateCharacter__17CCharacterFactoryCFibRC33TLockedToken<17CCharacterFactory>i": +/* 80032354 0002F2B4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80032358 0002F2B8 7C 08 02 A6 */ mflr r0 +/* 8003235C 0002F2BC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80032360 0002F2C0 BE E1 00 7C */ stmw r23, 0x7c(r1) +/* 80032364 0002F2C4 7C BA 2B 78 */ mr r26, r5 +/* 80032368 0002F2C8 7C 78 1B 78 */ mr r24, r3 +/* 8003236C 0002F2CC 7C 99 23 78 */ mr r25, r4 +/* 80032370 0002F2D0 1C 1A 00 C0 */ mulli r0, r26, 0xc0 +/* 80032374 0002F2D4 7C DB 33 78 */ mr r27, r6 +/* 80032378 0002F2D8 7C FC 3B 78 */ mr r28, r7 +/* 8003237C 0002F2DC 7D 1D 43 78 */ mr r29, r8 +/* 80032380 0002F2E0 38 60 00 08 */ li r3, 8 +/* 80032384 0002F2E4 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 80032388 0002F2E8 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 8003238C 0002F2EC 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032390 0002F2F0 7F C5 02 14 */ add r30, r5, r0 +/* 80032394 0002F2F4 38 00 00 00 */ li r0, 0 +/* 80032398 0002F2F8 80 BE 00 14 */ lwz r5, 0x14(r30) +/* 8003239C 0002F2FC 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 800323A0 0002F300 38 A0 00 00 */ li r5, 0 +/* 800323A4 0002F304 90 01 00 48 */ stw r0, 0x48(r1) +/* 800323A8 0002F308 48 2E 34 C5 */ bl __nw__FUlPCcPCc +/* 800323AC 0002F30C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800323B0 0002F310 41 82 00 2C */ beq lbl_800323DC +/* 800323B4 0002F314 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 800323B8 0002F318 3C 80 80 3E */ lis r4, lbl_803D9C44@ha +/* 800323BC 0002F31C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 800323C0 0002F320 3C 60 80 3E */ lis r3, lbl_803D9C38@ha +/* 800323C4 0002F324 90 1F 00 00 */ stw r0, 0(r31) +/* 800323C8 0002F328 38 84 9C 44 */ addi r4, r4, lbl_803D9C44@l +/* 800323CC 0002F32C 38 03 9C 38 */ addi r0, r3, lbl_803D9C38@l +/* 800323D0 0002F330 90 9F 00 00 */ stw r4, 0(r31) +/* 800323D4 0002F334 90 1F 00 00 */ stw r0, 0(r31) +/* 800323D8 0002F338 93 DF 00 04 */ stw r30, 4(r31) +lbl_800323DC: +/* 800323DC 0002F33C 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 800323E0 0002F340 38 60 00 08 */ li r3, 8 +/* 800323E4 0002F344 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 800323E8 0002F348 38 A0 00 00 */ li r5, 0 +/* 800323EC 0002F34C 48 2E 34 81 */ bl __nw__FUlPCcPCc +/* 800323F0 0002F350 28 03 00 00 */ cmplwi r3, 0 +/* 800323F4 0002F354 41 82 00 10 */ beq lbl_80032404 +/* 800323F8 0002F358 93 E3 00 00 */ stw r31, 0(r3) +/* 800323FC 0002F35C 38 00 00 01 */ li r0, 1 +/* 80032400 0002F360 90 03 00 04 */ stw r0, 4(r3) +lbl_80032404: +/* 80032404 0002F364 90 61 00 24 */ stw r3, 0x24(r1) +/* 80032408 0002F368 38 99 00 70 */ addi r4, r25, 0x70 +/* 8003240C 0002F36C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80032410 0002F370 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80032414 0002F374 81 99 00 70 */ lwz r12, 0x70(r25) +/* 80032418 0002F378 38 C1 00 24 */ addi r6, r1, 0x24 +/* 8003241C 0002F37C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80032420 0002F380 7D 89 03 A6 */ mtctr r12 +/* 80032424 0002F384 4E 80 04 21 */ bctrl +/* 80032428 0002F388 38 61 00 40 */ addi r3, r1, 0x40 +/* 8003242C 0002F38C 38 81 00 30 */ addi r4, r1, 0x30 +/* 80032430 0002F390 48 30 EA 79 */ bl __ct__6CTokenFRC6CToken +/* 80032434 0002F394 38 61 00 30 */ addi r3, r1, 0x30 +/* 80032438 0002F398 38 80 FF FF */ li r4, -1 +/* 8003243C 0002F39C 48 30 EA 05 */ bl __dt__6CTokenFv +/* 80032440 0002F3A0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80032444 0002F3A4 48 00 1E C1 */ bl sub_80034304 +/* 80032448 0002F3A8 80 9E 00 A8 */ lwz r4, 0xa8(r30) +/* 8003244C 0002F3AC 38 60 00 01 */ li r3, 1 +/* 80032450 0002F3B0 80 BE 00 AC */ lwz r5, 0xac(r30) +/* 80032454 0002F3B4 38 00 00 00 */ li r0, 0 +/* 80032458 0002F3B8 28 04 00 00 */ cmplwi r4, 0 +/* 8003245C 0002F3BC 90 61 00 38 */ stw r3, 0x38(r1) +/* 80032460 0002F3C0 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80032464 0002F3C4 98 01 00 74 */ stb r0, 0x74(r1) +/* 80032468 0002F3C8 41 82 01 2C */ beq lbl_80032594 +/* 8003246C 0002F3CC 28 05 00 00 */ cmplwi r5, 0 +/* 80032470 0002F3D0 41 82 01 24 */ beq lbl_80032594 +/* 80032474 0002F3D4 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80032478 0002F3D8 38 60 00 08 */ li r3, 8 +/* 8003247C 0002F3DC 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032480 0002F3E0 38 A0 00 00 */ li r5, 0 +/* 80032484 0002F3E4 48 2E 33 E9 */ bl __nw__FUlPCcPCc +/* 80032488 0002F3E8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8003248C 0002F3EC 41 82 00 2C */ beq lbl_800324B8 +/* 80032490 0002F3F0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80032494 0002F3F4 3C 80 80 3E */ lis r4, lbl_803D9C44@ha +/* 80032498 0002F3F8 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8003249C 0002F3FC 3C 60 80 3E */ lis r3, lbl_803D9C38@ha +/* 800324A0 0002F400 90 1F 00 00 */ stw r0, 0(r31) +/* 800324A4 0002F404 38 84 9C 44 */ addi r4, r4, lbl_803D9C44@l +/* 800324A8 0002F408 38 03 9C 38 */ addi r0, r3, lbl_803D9C38@l +/* 800324AC 0002F40C 90 9F 00 00 */ stw r4, 0(r31) +/* 800324B0 0002F410 90 1F 00 00 */ stw r0, 0(r31) +/* 800324B4 0002F414 93 DF 00 04 */ stw r30, 4(r31) +lbl_800324B8: +/* 800324B8 0002F418 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 800324BC 0002F41C 38 60 00 08 */ li r3, 8 +/* 800324C0 0002F420 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 800324C4 0002F424 38 A0 00 00 */ li r5, 0 +/* 800324C8 0002F428 48 2E 33 A5 */ bl __nw__FUlPCcPCc +/* 800324CC 0002F42C 28 03 00 00 */ cmplwi r3, 0 +/* 800324D0 0002F430 41 82 00 10 */ beq lbl_800324E0 +/* 800324D4 0002F434 93 E3 00 00 */ stw r31, 0(r3) +/* 800324D8 0002F438 38 00 00 01 */ li r0, 1 +/* 800324DC 0002F43C 90 03 00 04 */ stw r0, 4(r3) +lbl_800324E0: +/* 800324E0 0002F440 90 61 00 20 */ stw r3, 0x20(r1) +/* 800324E4 0002F444 38 99 00 70 */ addi r4, r25, 0x70 +/* 800324E8 0002F448 38 61 00 28 */ addi r3, r1, 0x28 +/* 800324EC 0002F44C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800324F0 0002F450 81 99 00 70 */ lwz r12, 0x70(r25) +/* 800324F4 0002F454 38 C1 00 20 */ addi r6, r1, 0x20 +/* 800324F8 0002F458 81 8C 00 08 */ lwz r12, 8(r12) +/* 800324FC 0002F45C 7D 89 03 A6 */ mtctr r12 +/* 80032500 0002F460 4E 80 04 21 */ bctrl +/* 80032504 0002F464 3B E1 00 5C */ addi r31, r1, 0x5c +/* 80032508 0002F468 38 81 00 28 */ addi r4, r1, 0x28 +/* 8003250C 0002F46C 7F E3 FB 78 */ mr r3, r31 +/* 80032510 0002F470 48 30 E9 99 */ bl __ct__6CTokenFRC6CToken +/* 80032514 0002F474 7F E3 FB 78 */ mr r3, r31 +/* 80032518 0002F478 48 30 E8 F5 */ bl GetObj__6CTokenFv +/* 8003251C 0002F47C 88 01 00 74 */ lbz r0, 0x74(r1) +/* 80032520 0002F480 80 63 00 04 */ lwz r3, 4(r3) +/* 80032524 0002F484 28 00 00 00 */ cmplwi r0, 0 +/* 80032528 0002F488 90 61 00 64 */ stw r3, 0x64(r1) +/* 8003252C 0002F48C 40 82 00 34 */ bne lbl_80032560 +/* 80032530 0002F490 37 E1 00 68 */ addic. r31, r1, 0x68 +/* 80032534 0002F494 41 82 00 20 */ beq lbl_80032554 +/* 80032538 0002F498 7F E3 FB 78 */ mr r3, r31 +/* 8003253C 0002F49C 38 81 00 5C */ addi r4, r1, 0x5c +/* 80032540 0002F4A0 48 30 E9 69 */ bl __ct__6CTokenFRC6CToken +/* 80032544 0002F4A4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80032548 0002F4A8 7F E3 FB 78 */ mr r3, r31 +/* 8003254C 0002F4AC 90 1F 00 08 */ stw r0, 8(r31) +/* 80032550 0002F4B0 48 30 E8 35 */ bl Lock__6CTokenFv +lbl_80032554: +/* 80032554 0002F4B4 38 00 00 01 */ li r0, 1 +/* 80032558 0002F4B8 98 01 00 74 */ stb r0, 0x74(r1) +/* 8003255C 0002F4BC 48 00 00 18 */ b lbl_80032574 +lbl_80032560: +/* 80032560 0002F4C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80032564 0002F4C4 7F E4 FB 78 */ mr r4, r31 +/* 80032568 0002F4C8 48 30 E7 5D */ bl __as__6CTokenFRC6CToken +/* 8003256C 0002F4CC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80032570 0002F4D0 90 01 00 70 */ stw r0, 0x70(r1) +lbl_80032574: +/* 80032574 0002F4D4 38 61 00 5C */ addi r3, r1, 0x5c +/* 80032578 0002F4D8 38 80 00 00 */ li r4, 0 +/* 8003257C 0002F4DC 48 30 E8 C5 */ bl __dt__6CTokenFv +/* 80032580 0002F4E0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80032584 0002F4E4 38 80 FF FF */ li r4, -1 +/* 80032588 0002F4E8 48 30 E8 B9 */ bl __dt__6CTokenFv +/* 8003258C 0002F4EC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80032590 0002F4F0 48 00 1D 75 */ bl sub_80034304 +lbl_80032594: +/* 80032594 0002F4F4 3C 60 80 3D */ lis r3, lbl_803CCD78@ha +/* 80032598 0002F4F8 3A E0 00 00 */ li r23, 0 +/* 8003259C 0002F4FC 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l +/* 800325A0 0002F500 38 A0 00 00 */ li r5, 0 +/* 800325A4 0002F504 38 60 05 78 */ li r3, 0x578 +/* 800325A8 0002F508 48 2E 32 C5 */ bl __nw__FUlPCcPCc +/* 800325AC 0002F50C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800325B0 0002F510 41 82 00 7C */ beq lbl_8003262C +/* 800325B4 0002F514 80 79 00 20 */ lwz r3, 0x20(r25) +/* 800325B8 0002F518 57 40 18 38 */ slwi r0, r26, 3 +/* 800325BC 0002F51C 3A E1 00 50 */ addi r23, r1, 0x50 +/* 800325C0 0002F520 7C 83 02 14 */ add r4, r3, r0 +/* 800325C4 0002F524 7E E3 BB 78 */ mr r3, r23 +/* 800325C8 0002F528 48 30 E8 E1 */ bl __ct__6CTokenFRC6CToken +/* 800325CC 0002F52C 7E E3 BB 78 */ mr r3, r23 +/* 800325D0 0002F530 48 30 E8 3D */ bl GetObj__6CTokenFv +/* 800325D4 0002F534 80 03 00 04 */ lwz r0, 4(r3) +/* 800325D8 0002F538 38 C1 00 68 */ addi r6, r1, 0x68 +/* 800325DC 0002F53C 39 39 00 24 */ addi r9, r25, 0x24 +/* 800325E0 0002F540 38 99 00 28 */ addi r4, r25, 0x28 +/* 800325E4 0002F544 90 01 00 58 */ stw r0, 0x58(r1) +/* 800325E8 0002F548 38 19 00 2C */ addi r0, r25, 0x2c +/* 800325EC 0002F54C 7F E3 FB 78 */ mr r3, r31 +/* 800325F0 0002F550 7F C5 F3 78 */ mr r5, r30 +/* 800325F4 0002F554 90 C1 00 08 */ stw r6, 8(r1) +/* 800325F8 0002F558 7F A6 EB 78 */ mr r6, r29 +/* 800325FC 0002F55C 7F 47 D3 78 */ mr r7, r26 +/* 80032600 0002F560 7F 68 DB 78 */ mr r8, r27 +/* 80032604 0002F564 91 21 00 0C */ stw r9, 0xc(r1) +/* 80032608 0002F568 7E E9 BB 78 */ mr r9, r23 +/* 8003260C 0002F56C 39 41 00 40 */ addi r10, r1, 0x40 +/* 80032610 0002F570 3A E0 00 01 */ li r23, 1 +/* 80032614 0002F574 90 81 00 10 */ stw r4, 0x10(r1) +/* 80032618 0002F578 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003261C 0002F57C 93 81 00 18 */ stw r28, 0x18(r1) +/* 80032620 0002F580 80 99 00 68 */ lwz r4, 0x68(r25) +/* 80032624 0002F584 4B FF D2 41 */ bl "__ct__9CAnimDataFUiRC14CCharacterInfoiibRC31TLockedToken<15CCharLayoutInfo>RC23TToken<13CSkinnedModel>RCQ24rstl62optional_object<43TLockedToken<27CSkinnedModelWithAvgNormals>>RCQ24rstl27ncrc_ptr<15CAnimSysContext>RCQ24rstl27rc_ptr<17CAnimationManager>RCQ24rstl28rc_ptr<18CTransitionManager>RC33TLockedToken<17CCharacterFactory>" +/* 80032628 0002F588 7C 7F 1B 78 */ mr r31, r3 +lbl_8003262C: +/* 8003262C 0002F58C 7E E0 07 75 */ extsb. r0, r23 +/* 80032630 0002F590 41 82 00 10 */ beq lbl_80032640 +/* 80032634 0002F594 38 61 00 50 */ addi r3, r1, 0x50 +/* 80032638 0002F598 38 80 00 00 */ li r4, 0 +/* 8003263C 0002F59C 48 30 E8 05 */ bl __dt__6CTokenFv +lbl_80032640: +/* 80032640 0002F5A0 7C 1F 00 D0 */ neg r0, r31 +/* 80032644 0002F5A4 7C 00 FB 78 */ or r0, r0, r31 +/* 80032648 0002F5A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8003264C 0002F5AC 98 18 00 00 */ stb r0, 0(r24) +/* 80032650 0002F5B0 93 F8 00 04 */ stw r31, 4(r24) +/* 80032654 0002F5B4 88 01 00 74 */ lbz r0, 0x74(r1) +/* 80032658 0002F5B8 28 00 00 00 */ cmplwi r0, 0 +/* 8003265C 0002F5BC 41 82 00 1C */ beq lbl_80032678 +/* 80032660 0002F5C0 34 61 00 68 */ addic. r3, r1, 0x68 +/* 80032664 0002F5C4 41 82 00 14 */ beq lbl_80032678 +/* 80032668 0002F5C8 28 03 00 00 */ cmplwi r3, 0 +/* 8003266C 0002F5CC 41 82 00 0C */ beq lbl_80032678 +/* 80032670 0002F5D0 38 80 00 00 */ li r4, 0 +/* 80032674 0002F5D4 48 30 E7 CD */ bl __dt__6CTokenFv +lbl_80032678: +/* 80032678 0002F5D8 38 00 00 00 */ li r0, 0 +/* 8003267C 0002F5DC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80032680 0002F5E0 98 01 00 74 */ stb r0, 0x74(r1) +/* 80032684 0002F5E4 38 80 00 00 */ li r4, 0 +/* 80032688 0002F5E8 48 30 E7 B9 */ bl __dt__6CTokenFv +/* 8003268C 0002F5EC BA E1 00 7C */ lmw r23, 0x7c(r1) +/* 80032690 0002F5F0 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80032694 0002F5F4 7C 08 03 A6 */ mtlr r0 +/* 80032698 0002F5F8 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8003269C 0002F5FC 4E 80 00 20 */ blr + +.global sub_800326a0 +sub_800326a0: +/* 800326A0 0002F600 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800326A4 0002F604 7C 08 02 A6 */ mflr r0 +/* 800326A8 0002F608 90 01 00 14 */ stw r0, 0x14(r1) +/* 800326AC 0002F60C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800326B0 0002F610 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800326B4 0002F614 41 82 00 30 */ beq lbl_800326E4 +/* 800326B8 0002F618 3C 60 80 3E */ lis r3, lbl_803D9C44@ha +/* 800326BC 0002F61C 38 03 9C 44 */ addi r0, r3, lbl_803D9C44@l +/* 800326C0 0002F620 90 1F 00 00 */ stw r0, 0(r31) +/* 800326C4 0002F624 41 82 00 10 */ beq lbl_800326D4 +/* 800326C8 0002F628 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 800326CC 0002F62C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 800326D0 0002F630 90 1F 00 00 */ stw r0, 0(r31) +lbl_800326D4: +/* 800326D4 0002F634 7C 80 07 35 */ extsh. r0, r4 +/* 800326D8 0002F638 40 81 00 0C */ ble lbl_800326E4 +/* 800326DC 0002F63C 7F E3 FB 78 */ mr r3, r31 +/* 800326E0 0002F640 48 2E 32 51 */ bl Free__7CMemoryFPCv +lbl_800326E4: +/* 800326E4 0002F644 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800326E8 0002F648 7F E3 FB 78 */ mr r3, r31 +/* 800326EC 0002F64C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800326F0 0002F650 7C 08 03 A6 */ mtlr r0 +/* 800326F4 0002F654 38 21 00 10 */ addi r1, r1, 0x10 +/* 800326F8 0002F658 4E 80 00 20 */ blr + +.global __ct__17CCharacterFactoryFR11CSimplePoolRC17CAnimCharacterSetUi +__ct__17CCharacterFactoryFR11CSimplePoolRC17CAnimCharacterSetUi: +/* 800326FC 0002F65C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80032700 0002F660 7C 08 02 A6 */ mflr r0 +/* 80032704 0002F664 3C E0 80 3E */ lis r7, lbl_803D9C2C@ha +/* 80032708 0002F668 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8003270C 0002F66C 38 07 9C 2C */ addi r0, r7, lbl_803D9C2C@l +/* 80032710 0002F670 BF 01 00 C0 */ stmw r24, 0xc0(r1) +/* 80032714 0002F674 7C 7F 1B 78 */ mr r31, r3 +/* 80032718 0002F678 3C 60 80 3E */ lis r3, lbl_803D9C20@ha +/* 8003271C 0002F67C 7C BB 2B 78 */ mr r27, r5 +/* 80032720 0002F680 7C 9E 23 78 */ mr r30, r4 +/* 80032724 0002F684 7C DC 33 78 */ mr r28, r6 +/* 80032728 0002F688 7F 64 DB 78 */ mr r4, r27 +/* 8003272C 0002F68C 90 1F 00 00 */ stw r0, 0(r31) +/* 80032730 0002F690 38 03 9C 20 */ addi r0, r3, lbl_803D9C20@l +/* 80032734 0002F694 38 61 00 94 */ addi r3, r1, 0x94 +/* 80032738 0002F698 90 1F 00 00 */ stw r0, 0(r31) +/* 8003273C 0002F69C 4B FF F8 AD */ bl sub_80031fe8 +/* 80032740 0002F6A0 38 7F 00 04 */ addi r3, r31, 4 +/* 80032744 0002F6A4 38 81 00 94 */ addi r4, r1, 0x94 +/* 80032748 0002F6A8 4B FF F9 39 */ bl sub_80032080 +/* 8003274C 0002F6AC 38 61 00 94 */ addi r3, r1, 0x94 +/* 80032750 0002F6B0 38 80 FF FF */ li r4, -1 +/* 80032754 0002F6B4 4B FF FA F1 */ bl sub_80032244 +/* 80032758 0002F6B8 7F C4 F3 78 */ mr r4, r30 +/* 8003275C 0002F6BC 38 61 00 84 */ addi r3, r1, 0x84 +/* 80032760 0002F6C0 38 BF 00 04 */ addi r5, r31, 4 +/* 80032764 0002F6C4 4B FF F6 7D */ bl sub_80031de0 +/* 80032768 0002F6C8 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8003276C 0002F6CC 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80032770 0002F6D0 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80032774 0002F6D4 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80032778 0002F6D8 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8003277C 0002F6DC 2C 00 00 00 */ cmpwi r0, 0 +/* 80032780 0002F6E0 40 82 00 1C */ bne lbl_8003279C +/* 80032784 0002F6E4 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80032788 0002F6E8 2C 00 00 00 */ cmpwi r0, 0 +/* 8003278C 0002F6EC 40 82 00 10 */ bne lbl_8003279C +/* 80032790 0002F6F0 38 00 00 00 */ li r0, 0 +/* 80032794 0002F6F4 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80032798 0002F6F8 48 00 00 6C */ b lbl_80032804 +lbl_8003279C: +/* 8003279C 0002F6FC 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 800327A0 0002F700 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 800327A4 0002F704 40 82 00 10 */ bne lbl_800327B4 +/* 800327A8 0002F708 38 00 00 00 */ li r0, 0 +/* 800327AC 0002F70C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 800327B0 0002F710 48 00 00 18 */ b lbl_800327C8 +lbl_800327B4: +/* 800327B4 0002F714 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 800327B8 0002F718 38 A0 00 00 */ li r5, 0 +/* 800327BC 0002F71C 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 800327C0 0002F720 48 2E 30 59 */ bl __nwa__FUlPCcPCc +/* 800327C4 0002F724 90 7F 00 20 */ stw r3, 0x20(r31) +lbl_800327C8: +/* 800327C8 0002F728 83 1F 00 18 */ lwz r24, 0x18(r31) +/* 800327CC 0002F72C 3B A0 00 00 */ li r29, 0 +/* 800327D0 0002F730 83 21 00 90 */ lwz r25, 0x90(r1) +/* 800327D4 0002F734 83 5F 00 20 */ lwz r26, 0x20(r31) +/* 800327D8 0002F738 48 00 00 24 */ b lbl_800327FC +lbl_800327DC: +/* 800327DC 0002F73C 28 1A 00 00 */ cmplwi r26, 0 +/* 800327E0 0002F740 41 82 00 10 */ beq lbl_800327F0 +/* 800327E4 0002F744 7F 43 D3 78 */ mr r3, r26 +/* 800327E8 0002F748 7F 24 CB 78 */ mr r4, r25 +/* 800327EC 0002F74C 48 30 E6 BD */ bl __ct__6CTokenFRC6CToken +lbl_800327F0: +/* 800327F0 0002F750 3B 5A 00 08 */ addi r26, r26, 8 +/* 800327F4 0002F754 3B BD 00 01 */ addi r29, r29, 1 +/* 800327F8 0002F758 3B 39 00 08 */ addi r25, r25, 8 +lbl_800327FC: +/* 800327FC 0002F75C 7C 1D C0 00 */ cmpw r29, r24 +/* 80032800 0002F760 41 80 FF DC */ blt lbl_800327DC +lbl_80032804: +/* 80032804 0002F764 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80032808 0002F768 83 01 00 90 */ lwz r24, 0x90(r1) +/* 8003280C 0002F76C 54 00 18 38 */ slwi r0, r0, 3 +/* 80032810 0002F770 7F B8 02 14 */ add r29, r24, r0 +/* 80032814 0002F774 93 01 00 0C */ stw r24, 0xc(r1) +/* 80032818 0002F778 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003281C 0002F77C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80032820 0002F780 93 01 00 08 */ stw r24, 8(r1) +/* 80032824 0002F784 48 00 00 1C */ b lbl_80032840 +lbl_80032828: +/* 80032828 0002F788 28 18 00 00 */ cmplwi r24, 0 +/* 8003282C 0002F78C 41 82 00 10 */ beq lbl_8003283C +/* 80032830 0002F790 7F 03 C3 78 */ mr r3, r24 +/* 80032834 0002F794 38 80 00 00 */ li r4, 0 +/* 80032838 0002F798 48 30 E6 09 */ bl __dt__6CTokenFv +lbl_8003283C: +/* 8003283C 0002F79C 3B 18 00 08 */ addi r24, r24, 8 +lbl_80032840: +/* 80032840 0002F7A0 7C 18 E8 40 */ cmplw r24, r29 +/* 80032844 0002F7A4 40 82 FF E4 */ bne lbl_80032828 +/* 80032848 0002F7A8 80 61 00 90 */ lwz r3, 0x90(r1) +/* 8003284C 0002F7AC 28 03 00 00 */ cmplwi r3, 0 +/* 80032850 0002F7B0 41 82 00 08 */ beq lbl_80032858 +/* 80032854 0002F7B4 48 2E 30 DD */ bl Free__7CMemoryFPCv +lbl_80032858: +/* 80032858 0002F7B8 38 CD A9 28 */ addi r6, r13, lbl_805A94E8@sda21 +/* 8003285C 0002F7BC 38 60 00 00 */ li r3, 0 +/* 80032860 0002F7C0 90 DF 00 24 */ stw r6, 0x24(r31) +/* 80032864 0002F7C4 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 80032868 0002F7C8 80 85 00 04 */ lwz r4, 4(r5) +/* 8003286C 0002F7CC 38 04 00 01 */ addi r0, r4, 1 +/* 80032870 0002F7D0 90 05 00 04 */ stw r0, 4(r5) +/* 80032874 0002F7D4 90 DF 00 28 */ stw r6, 0x28(r31) +/* 80032878 0002F7D8 80 BF 00 28 */ lwz r5, 0x28(r31) +/* 8003287C 0002F7DC 80 85 00 04 */ lwz r4, 4(r5) +/* 80032880 0002F7E0 38 04 00 01 */ addi r0, r4, 1 +/* 80032884 0002F7E4 90 05 00 04 */ stw r0, 4(r5) +/* 80032888 0002F7E8 90 DF 00 2C */ stw r6, 0x2c(r31) +/* 8003288C 0002F7EC 80 BF 00 2C */ lwz r5, 0x2c(r31) +/* 80032890 0002F7F0 80 85 00 04 */ lwz r4, 4(r5) +/* 80032894 0002F7F4 38 04 00 01 */ addi r0, r4, 1 +/* 80032898 0002F7F8 90 05 00 04 */ stw r0, 4(r5) +/* 8003289C 0002F7FC 90 7F 00 34 */ stw r3, 0x34(r31) +/* 800328A0 0002F800 90 7F 00 38 */ stw r3, 0x38(r31) +/* 800328A4 0002F804 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 800328A8 0002F808 80 1B 00 44 */ lwz r0, 0x44(r27) +/* 800328AC 0002F80C 90 1F 00 44 */ stw r0, 0x44(r31) +/* 800328B0 0002F810 80 1B 00 48 */ lwz r0, 0x48(r27) +/* 800328B4 0002F814 90 1F 00 48 */ stw r0, 0x48(r31) +/* 800328B8 0002F818 80 1B 00 44 */ lwz r0, 0x44(r27) +/* 800328BC 0002F81C 2C 00 00 00 */ cmpwi r0, 0 +/* 800328C0 0002F820 40 82 00 18 */ bne lbl_800328D8 +/* 800328C4 0002F824 80 1B 00 48 */ lwz r0, 0x48(r27) +/* 800328C8 0002F828 2C 00 00 00 */ cmpwi r0, 0 +/* 800328CC 0002F82C 40 82 00 0C */ bne lbl_800328D8 +/* 800328D0 0002F830 90 7F 00 4C */ stw r3, 0x4c(r31) +/* 800328D4 0002F834 48 00 00 78 */ b lbl_8003294C +lbl_800328D8: +/* 800328D8 0002F838 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 800328DC 0002F83C 1C 60 00 0C */ mulli r3, r0, 0xc +/* 800328E0 0002F840 2C 03 00 00 */ cmpwi r3, 0 +/* 800328E4 0002F844 40 82 00 10 */ bne lbl_800328F4 +/* 800328E8 0002F848 38 00 00 00 */ li r0, 0 +/* 800328EC 0002F84C 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 800328F0 0002F850 48 00 00 18 */ b lbl_80032908 +lbl_800328F4: +/* 800328F4 0002F854 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 800328F8 0002F858 38 A0 00 00 */ li r5, 0 +/* 800328FC 0002F85C 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032900 0002F860 48 2E 2F 19 */ bl __nwa__FUlPCcPCc +/* 80032904 0002F864 90 7F 00 4C */ stw r3, 0x4c(r31) +lbl_80032908: +/* 80032908 0002F868 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8003290C 0002F86C 80 9B 00 4C */ lwz r4, 0x4c(r27) +/* 80032910 0002F870 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 80032914 0002F874 7C 09 03 A6 */ mtctr r0 +/* 80032918 0002F878 2C 00 00 00 */ cmpwi r0, 0 +/* 8003291C 0002F87C 40 81 00 30 */ ble lbl_8003294C +lbl_80032920: +/* 80032920 0002F880 28 03 00 00 */ cmplwi r3, 0 +/* 80032924 0002F884 41 82 00 1C */ beq lbl_80032940 +/* 80032928 0002F888 80 04 00 00 */ lwz r0, 0(r4) +/* 8003292C 0002F88C 90 03 00 00 */ stw r0, 0(r3) +/* 80032930 0002F890 C0 04 00 04 */ lfs f0, 4(r4) +/* 80032934 0002F894 D0 03 00 04 */ stfs f0, 4(r3) +/* 80032938 0002F898 C0 04 00 08 */ lfs f0, 8(r4) +/* 8003293C 0002F89C D0 03 00 08 */ stfs f0, 8(r3) +lbl_80032940: +/* 80032940 0002F8A0 38 63 00 0C */ addi r3, r3, 0xc +/* 80032944 0002F8A4 38 84 00 0C */ addi r4, r4, 0xc +/* 80032948 0002F8A8 42 00 FF D8 */ bdnz lbl_80032920 +lbl_8003294C: +/* 8003294C 0002F8AC C0 1B 00 50 */ lfs f0, 0x50(r27) +/* 80032950 0002F8B0 D0 1F 00 50 */ stfs f0, 0x50(r31) +/* 80032954 0002F8B4 C0 1B 00 54 */ lfs f0, 0x54(r27) +/* 80032958 0002F8B8 D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 8003295C 0002F8BC 80 1B 00 6C */ lwz r0, 0x6c(r27) +/* 80032960 0002F8C0 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 80032964 0002F8C4 80 1B 00 70 */ lwz r0, 0x70(r27) +/* 80032968 0002F8C8 90 1F 00 60 */ stw r0, 0x60(r31) +/* 8003296C 0002F8CC 80 1B 00 6C */ lwz r0, 0x6c(r27) +/* 80032970 0002F8D0 2C 00 00 00 */ cmpwi r0, 0 +/* 80032974 0002F8D4 40 82 00 1C */ bne lbl_80032990 +/* 80032978 0002F8D8 80 1B 00 70 */ lwz r0, 0x70(r27) +/* 8003297C 0002F8DC 2C 00 00 00 */ cmpwi r0, 0 +/* 80032980 0002F8E0 40 82 00 10 */ bne lbl_80032990 +/* 80032984 0002F8E4 38 00 00 00 */ li r0, 0 +/* 80032988 0002F8E8 90 1F 00 64 */ stw r0, 0x64(r31) +/* 8003298C 0002F8EC 48 00 00 6C */ b lbl_800329F8 +lbl_80032990: +/* 80032990 0002F8F0 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80032994 0002F8F4 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 80032998 0002F8F8 40 82 00 10 */ bne lbl_800329A8 +/* 8003299C 0002F8FC 38 00 00 00 */ li r0, 0 +/* 800329A0 0002F900 90 1F 00 64 */ stw r0, 0x64(r31) +/* 800329A4 0002F904 48 00 00 18 */ b lbl_800329BC +lbl_800329A8: +/* 800329A8 0002F908 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 800329AC 0002F90C 38 A0 00 00 */ li r5, 0 +/* 800329B0 0002F910 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 800329B4 0002F914 48 2E 2E 65 */ bl __nwa__FUlPCcPCc +/* 800329B8 0002F918 90 7F 00 64 */ stw r3, 0x64(r31) +lbl_800329BC: +/* 800329BC 0002F91C 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 800329C0 0002F920 80 9B 00 74 */ lwz r4, 0x74(r27) +/* 800329C4 0002F924 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800329C8 0002F928 7C 09 03 A6 */ mtctr r0 +/* 800329CC 0002F92C 2C 00 00 00 */ cmpwi r0, 0 +/* 800329D0 0002F930 40 81 00 28 */ ble lbl_800329F8 +lbl_800329D4: +/* 800329D4 0002F934 28 03 00 00 */ cmplwi r3, 0 +/* 800329D8 0002F938 41 82 00 14 */ beq lbl_800329EC +/* 800329DC 0002F93C 80 04 00 00 */ lwz r0, 0(r4) +/* 800329E0 0002F940 90 03 00 00 */ stw r0, 0(r3) +/* 800329E4 0002F944 80 04 00 04 */ lwz r0, 4(r4) +/* 800329E8 0002F948 90 03 00 04 */ stw r0, 4(r3) +lbl_800329EC: +/* 800329EC 0002F94C 38 63 00 08 */ addi r3, r3, 8 +/* 800329F0 0002F950 38 84 00 08 */ addi r4, r4, 8 +/* 800329F4 0002F954 42 00 FF E0 */ bdnz lbl_800329D4 +lbl_800329F8: +/* 800329F8 0002F958 3C 60 80 3E */ lis r3, lbl_803D9C50@ha +/* 800329FC 0002F95C 93 9F 00 68 */ stw r28, 0x68(r31) +/* 80032A00 0002F960 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l +/* 80032A04 0002F964 3C A0 80 3E */ lis r5, lbl_803D9BA8@ha +/* 80032A08 0002F968 90 1F 00 6C */ stw r0, 0x6c(r31) +/* 80032A0C 0002F96C 38 05 9B A8 */ addi r0, r5, lbl_803D9BA8@l +/* 80032A10 0002F970 38 9F 00 6C */ addi r4, r31, 0x6c +/* 80032A14 0002F974 38 7F 00 70 */ addi r3, r31, 0x70 +/* 80032A18 0002F978 90 1F 00 6C */ stw r0, 0x6c(r31) +/* 80032A1C 0002F97C 48 30 DD B9 */ bl __ct__11CSimplePoolFR8IFactory +/* 80032A20 0002F980 80 FB 00 3C */ lwz r7, 0x3c(r27) +/* 80032A24 0002F984 3C 60 80 3D */ lis r3, lbl_803CCD78@ha +/* 80032A28 0002F988 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l +/* 80032A2C 0002F98C 3B 1B 00 1C */ addi r24, r27, 0x1c +/* 80032A30 0002F990 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 80032A34 0002F994 3B BB 00 2C */ addi r29, r27, 0x2c +/* 80032A38 0002F998 3B 9B 00 58 */ addi r28, r27, 0x58 +/* 80032A3C 0002F99C 38 60 00 20 */ li r3, 0x20 +/* 80032A40 0002F9A0 80 C7 00 04 */ lwz r6, 4(r7) +/* 80032A44 0002F9A4 38 A0 00 00 */ li r5, 0 +/* 80032A48 0002F9A8 38 06 00 01 */ addi r0, r6, 1 +/* 80032A4C 0002F9AC 90 07 00 04 */ stw r0, 4(r7) +/* 80032A50 0002F9B0 48 2E 2E 1D */ bl __nw__FUlPCcPCc +/* 80032A54 0002F9B4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80032A58 0002F9B8 41 82 00 10 */ beq lbl_80032A68 +/* 80032A5C 0002F9BC 7F 04 C3 78 */ mr r4, r24 +/* 80032A60 0002F9C0 48 03 B2 BD */ bl "__ct__22CAnimationDatabaseGameFRCQ24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>" +/* 80032A64 0002F9C4 7C 64 1B 78 */ mr r4, r3 +lbl_80032A68: +/* 80032A68 0002F9C8 3B 01 00 70 */ addi r24, r1, 0x70 +/* 80032A6C 0002F9CC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80032A70 0002F9D0 48 00 0A D1 */ bl "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CAnimationDatabaseGame>FP22CAnimationDatabaseGame" +/* 80032A74 0002F9D4 38 00 00 00 */ li r0, 0 +/* 80032A78 0002F9D8 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80032A7C 0002F9DC 98 01 00 38 */ stb r0, 0x38(r1) +/* 80032A80 0002F9E0 7F 03 C3 78 */ mr r3, r24 +/* 80032A84 0002F9E4 48 30 E4 81 */ bl __ct__6CTokenFP4IObj +/* 80032A88 0002F9E8 88 01 00 38 */ lbz r0, 0x38(r1) +/* 80032A8C 0002F9EC 28 00 00 00 */ cmplwi r0, 0 +/* 80032A90 0002F9F0 41 82 00 24 */ beq lbl_80032AB4 +/* 80032A94 0002F9F4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80032A98 0002F9F8 28 03 00 00 */ cmplwi r3, 0 +/* 80032A9C 0002F9FC 41 82 00 18 */ beq lbl_80032AB4 +/* 80032AA0 0002FA00 81 83 00 00 */ lwz r12, 0(r3) +/* 80032AA4 0002FA04 38 80 00 01 */ li r4, 1 +/* 80032AA8 0002FA08 81 8C 00 08 */ lwz r12, 8(r12) +/* 80032AAC 0002FA0C 7D 89 03 A6 */ mtctr r12 +/* 80032AB0 0002FA10 4E 80 04 21 */ bctrl +lbl_80032AB4: +/* 80032AB4 0002FA14 3C 60 80 3D */ lis r3, lbl_803CCD78@ha +/* 80032AB8 0002FA18 3B 00 00 00 */ li r24, 0 +/* 80032ABC 0002FA1C 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l +/* 80032AC0 0002FA20 38 A0 00 00 */ li r5, 0 +/* 80032AC4 0002FA24 38 60 00 34 */ li r3, 0x34 +/* 80032AC8 0002FA28 48 2E 2D A5 */ bl __nw__FUlPCcPCc +/* 80032ACC 0002FA2C 7C 64 1B 79 */ or. r4, r3, r3 +/* 80032AD0 0002FA30 41 82 00 30 */ beq lbl_80032B00 +/* 80032AD4 0002FA34 81 01 00 2C */ lwz r8, 0x2c(r1) +/* 80032AD8 0002FA38 7F A4 EB 78 */ mr r4, r29 +/* 80032ADC 0002FA3C 7F 85 E3 78 */ mr r5, r28 +/* 80032AE0 0002FA40 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80032AE4 0002FA44 91 01 00 24 */ stw r8, 0x24(r1) +/* 80032AE8 0002FA48 3B 00 00 01 */ li r24, 1 +/* 80032AEC 0002FA4C 80 E8 00 04 */ lwz r7, 4(r8) +/* 80032AF0 0002FA50 38 07 00 01 */ addi r0, r7, 1 +/* 80032AF4 0002FA54 90 08 00 04 */ stw r0, 4(r8) +/* 80032AF8 0002FA58 48 03 B8 11 */ bl "__ct__23CTransitionDatabaseGameFRCQ24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>RCQ24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>RCQ24rstl20rc_ptr<10IMetaTrans>" +/* 80032AFC 0002FA5C 7C 64 1B 78 */ mr r4, r3 +lbl_80032B00: +/* 80032B00 0002FA60 3B 21 00 68 */ addi r25, r1, 0x68 +/* 80032B04 0002FA64 38 61 00 30 */ addi r3, r1, 0x30 +/* 80032B08 0002FA68 48 00 08 19 */ bl sub_80033320 +/* 80032B0C 0002FA6C 38 00 00 00 */ li r0, 0 +/* 80032B10 0002FA70 80 81 00 34 */ lwz r4, 0x34(r1) +/* 80032B14 0002FA74 98 01 00 30 */ stb r0, 0x30(r1) +/* 80032B18 0002FA78 7F 23 CB 78 */ mr r3, r25 +/* 80032B1C 0002FA7C 48 30 E3 E9 */ bl __ct__6CTokenFP4IObj +/* 80032B20 0002FA80 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80032B24 0002FA84 28 00 00 00 */ cmplwi r0, 0 +/* 80032B28 0002FA88 41 82 00 24 */ beq lbl_80032B4C +/* 80032B2C 0002FA8C 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80032B30 0002FA90 28 03 00 00 */ cmplwi r3, 0 +/* 80032B34 0002FA94 41 82 00 18 */ beq lbl_80032B4C +/* 80032B38 0002FA98 81 83 00 00 */ lwz r12, 0(r3) +/* 80032B3C 0002FA9C 38 80 00 01 */ li r4, 1 +/* 80032B40 0002FAA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80032B44 0002FAA4 7D 89 03 A6 */ mtctr r12 +/* 80032B48 0002FAA8 4E 80 04 21 */ bctrl +lbl_80032B4C: +/* 80032B4C 0002FAAC 7F 00 07 75 */ extsb. r0, r24 +/* 80032B50 0002FAB0 41 82 00 0C */ beq lbl_80032B5C +/* 80032B54 0002FAB4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80032B58 0002FAB8 48 00 17 3D */ bl __dt__17CMetaTransFactoryFv +lbl_80032B5C: +/* 80032B5C 0002FABC 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80032B60 0002FAC0 38 60 00 04 */ li r3, 4 +/* 80032B64 0002FAC4 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032B68 0002FAC8 38 A0 00 00 */ li r5, 0 +/* 80032B6C 0002FACC 48 2E 2D 01 */ bl __nw__FUlPCcPCc +/* 80032B70 0002FAD0 7C 78 1B 79 */ or. r24, r3, r3 +/* 80032B74 0002FAD4 41 82 00 10 */ beq lbl_80032B84 +/* 80032B78 0002FAD8 38 80 09 1E */ li r4, 0x91e +/* 80032B7C 0002FADC 48 2D FA 71 */ bl __ct__9CRandom16FUi +/* 80032B80 0002FAE0 7C 78 1B 78 */ mr r24, r3 +lbl_80032B84: +/* 80032B84 0002FAE4 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80032B88 0002FAE8 38 60 00 08 */ li r3, 8 +/* 80032B8C 0002FAEC 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032B90 0002FAF0 38 A0 00 00 */ li r5, 0 +/* 80032B94 0002FAF4 48 2E 2C D9 */ bl __nw__FUlPCcPCc +/* 80032B98 0002FAF8 28 03 00 00 */ cmplwi r3, 0 +/* 80032B9C 0002FAFC 41 82 00 10 */ beq lbl_80032BAC +/* 80032BA0 0002FB00 93 03 00 00 */ stw r24, 0(r3) +/* 80032BA4 0002FB04 38 00 00 01 */ li r0, 1 +/* 80032BA8 0002FB08 90 03 00 04 */ stw r0, 4(r3) +lbl_80032BAC: +/* 80032BAC 0002FB0C 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80032BB0 0002FB10 90 61 00 28 */ stw r3, 0x28(r1) +/* 80032BB4 0002FB14 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032BB8 0002FB18 3B 60 00 00 */ li r27, 0 +/* 80032BBC 0002FB1C 38 60 00 10 */ li r3, 0x10 +/* 80032BC0 0002FB20 38 A0 00 00 */ li r5, 0 +/* 80032BC4 0002FB24 48 2E 2C A9 */ bl __nw__FUlPCcPCc +/* 80032BC8 0002FB28 7C 78 1B 79 */ or. r24, r3, r3 +/* 80032BCC 0002FB2C 41 82 00 3C */ beq lbl_80032C08 +/* 80032BD0 0002FB30 38 61 00 58 */ addi r3, r1, 0x58 +/* 80032BD4 0002FB34 38 81 00 68 */ addi r4, r1, 0x68 +/* 80032BD8 0002FB38 48 30 E2 D1 */ bl __ct__6CTokenFRC6CToken +/* 80032BDC 0002FB3C 7F 03 C3 78 */ mr r3, r24 +/* 80032BE0 0002FB40 38 81 00 58 */ addi r4, r1, 0x58 +/* 80032BE4 0002FB44 3B 60 00 01 */ li r27, 1 +/* 80032BE8 0002FB48 48 30 E2 C1 */ bl __ct__6CTokenFRC6CToken +/* 80032BEC 0002FB4C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80032BF0 0002FB50 90 18 00 08 */ stw r0, 8(r24) +/* 80032BF4 0002FB54 80 98 00 08 */ lwz r4, 8(r24) +/* 80032BF8 0002FB58 80 64 00 04 */ lwz r3, 4(r4) +/* 80032BFC 0002FB5C 38 03 00 01 */ addi r0, r3, 1 +/* 80032C00 0002FB60 90 04 00 04 */ stw r0, 4(r4) +/* 80032C04 0002FB64 93 D8 00 0C */ stw r30, 0xc(r24) +lbl_80032C08: +/* 80032C08 0002FB68 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80032C0C 0002FB6C 38 60 00 08 */ li r3, 8 +/* 80032C10 0002FB70 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032C14 0002FB74 38 A0 00 00 */ li r5, 0 +/* 80032C18 0002FB78 48 2E 2C 55 */ bl __nw__FUlPCcPCc +/* 80032C1C 0002FB7C 28 03 00 00 */ cmplwi r3, 0 +/* 80032C20 0002FB80 41 82 00 10 */ beq lbl_80032C30 +/* 80032C24 0002FB84 93 03 00 00 */ stw r24, 0(r3) +/* 80032C28 0002FB88 38 00 00 01 */ li r0, 1 +/* 80032C2C 0002FB8C 90 03 00 04 */ stw r0, 4(r3) +lbl_80032C30: +/* 80032C30 0002FB90 90 61 00 20 */ stw r3, 0x20(r1) +/* 80032C34 0002FB94 38 9F 00 24 */ addi r4, r31, 0x24 +/* 80032C38 0002FB98 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80032C3C 0002FB9C 7C 00 18 40 */ cmplw r0, r3 +/* 80032C40 0002FBA0 41 82 00 24 */ beq lbl_80032C64 +/* 80032C44 0002FBA4 7C 83 23 78 */ mr r3, r4 +/* 80032C48 0002FBA8 4B FF E8 B1 */ bl sub_800314f8 +/* 80032C4C 0002FBAC 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80032C50 0002FBB0 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80032C54 0002FBB4 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 80032C58 0002FBB8 80 64 00 04 */ lwz r3, 4(r4) +/* 80032C5C 0002FBBC 38 03 00 01 */ addi r0, r3, 1 +/* 80032C60 0002FBC0 90 04 00 04 */ stw r0, 4(r4) +lbl_80032C64: +/* 80032C64 0002FBC4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80032C68 0002FBC8 4B FF E8 91 */ bl sub_800314f8 +/* 80032C6C 0002FBCC 7F 60 07 75 */ extsb. r0, r27 +/* 80032C70 0002FBD0 41 82 00 10 */ beq lbl_80032C80 +/* 80032C74 0002FBD4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80032C78 0002FBD8 38 80 00 00 */ li r4, 0 +/* 80032C7C 0002FBDC 48 30 E1 C5 */ bl __dt__6CTokenFv +lbl_80032C80: +/* 80032C80 0002FBE0 3C 60 80 3D */ lis r3, lbl_803CCD78@ha +/* 80032C84 0002FBE4 3B 60 00 00 */ li r27, 0 +/* 80032C88 0002FBE8 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l +/* 80032C8C 0002FBEC 38 A0 00 00 */ li r5, 0 +/* 80032C90 0002FBF0 38 60 00 18 */ li r3, 0x18 +/* 80032C94 0002FBF4 48 2E 2B D9 */ bl __nw__FUlPCcPCc +/* 80032C98 0002FBF8 7C 78 1B 79 */ or. r24, r3, r3 +/* 80032C9C 0002FBFC 41 82 00 58 */ beq lbl_80032CF4 +/* 80032CA0 0002FC00 38 61 00 50 */ addi r3, r1, 0x50 +/* 80032CA4 0002FC04 38 81 00 70 */ addi r4, r1, 0x70 +/* 80032CA8 0002FC08 48 30 E2 01 */ bl __ct__6CTokenFRC6CToken +/* 80032CAC 0002FC0C 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 80032CB0 0002FC10 7F 03 C3 78 */ mr r3, r24 +/* 80032CB4 0002FC14 38 81 00 50 */ addi r4, r1, 0x50 +/* 80032CB8 0002FC18 3B 60 00 01 */ li r27, 1 +/* 80032CBC 0002FC1C 83 25 00 00 */ lwz r25, 0(r5) +/* 80032CC0 0002FC20 48 30 E1 E9 */ bl __ct__6CTokenFRC6CToken +/* 80032CC4 0002FC24 3B 58 00 08 */ addi r26, r24, 8 +/* 80032CC8 0002FC28 7F 24 CB 78 */ mr r4, r25 +/* 80032CCC 0002FC2C 7F 43 D3 78 */ mr r3, r26 +/* 80032CD0 0002FC30 48 30 E1 D9 */ bl __ct__6CTokenFRC6CToken +/* 80032CD4 0002FC34 80 19 00 08 */ lwz r0, 8(r25) +/* 80032CD8 0002FC38 90 1A 00 08 */ stw r0, 8(r26) +/* 80032CDC 0002FC3C 80 9A 00 08 */ lwz r4, 8(r26) +/* 80032CE0 0002FC40 80 64 00 04 */ lwz r3, 4(r4) +/* 80032CE4 0002FC44 38 03 00 01 */ addi r0, r3, 1 +/* 80032CE8 0002FC48 90 04 00 04 */ stw r0, 4(r4) +/* 80032CEC 0002FC4C 80 19 00 0C */ lwz r0, 0xc(r25) +/* 80032CF0 0002FC50 90 1A 00 0C */ stw r0, 0xc(r26) +lbl_80032CF4: +/* 80032CF4 0002FC54 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80032CF8 0002FC58 38 60 00 08 */ li r3, 8 +/* 80032CFC 0002FC5C 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032D00 0002FC60 38 A0 00 00 */ li r5, 0 +/* 80032D04 0002FC64 48 2E 2B 69 */ bl __nw__FUlPCcPCc +/* 80032D08 0002FC68 28 03 00 00 */ cmplwi r3, 0 +/* 80032D0C 0002FC6C 41 82 00 10 */ beq lbl_80032D1C +/* 80032D10 0002FC70 93 03 00 00 */ stw r24, 0(r3) +/* 80032D14 0002FC74 38 00 00 01 */ li r0, 1 +/* 80032D18 0002FC78 90 03 00 04 */ stw r0, 4(r3) +lbl_80032D1C: +/* 80032D1C 0002FC7C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80032D20 0002FC80 38 9F 00 28 */ addi r4, r31, 0x28 +/* 80032D24 0002FC84 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80032D28 0002FC88 7C 00 18 40 */ cmplw r0, r3 +/* 80032D2C 0002FC8C 41 82 00 24 */ beq lbl_80032D50 +/* 80032D30 0002FC90 7C 83 23 78 */ mr r3, r4 +/* 80032D34 0002FC94 4B FF E6 79 */ bl sub_800313ac +/* 80032D38 0002FC98 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80032D3C 0002FC9C 90 1F 00 28 */ stw r0, 0x28(r31) +/* 80032D40 0002FCA0 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 80032D44 0002FCA4 80 64 00 04 */ lwz r3, 4(r4) +/* 80032D48 0002FCA8 38 03 00 01 */ addi r0, r3, 1 +/* 80032D4C 0002FCAC 90 04 00 04 */ stw r0, 4(r4) +lbl_80032D50: +/* 80032D50 0002FCB0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80032D54 0002FCB4 4B FF E6 59 */ bl sub_800313ac +/* 80032D58 0002FCB8 7F 60 07 75 */ extsb. r0, r27 +/* 80032D5C 0002FCBC 41 82 00 10 */ beq lbl_80032D6C +/* 80032D60 0002FCC0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80032D64 0002FCC4 38 80 00 00 */ li r4, 0 +/* 80032D68 0002FCC8 48 30 E0 D9 */ bl __dt__6CTokenFv +lbl_80032D6C: +/* 80032D6C 0002FCCC 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80032D70 0002FCD0 38 60 00 10 */ li r3, 0x10 +/* 80032D74 0002FCD4 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032D78 0002FCD8 38 A0 00 00 */ li r5, 0 +/* 80032D7C 0002FCDC 48 2E 2A F1 */ bl __nw__FUlPCcPCc +/* 80032D80 0002FCE0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80032D84 0002FCE4 41 82 00 34 */ beq lbl_80032DB8 +/* 80032D88 0002FCE8 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 80032D8C 0002FCEC 83 04 00 00 */ lwz r24, 0(r4) +/* 80032D90 0002FCF0 7F 04 C3 78 */ mr r4, r24 +/* 80032D94 0002FCF4 48 30 E1 15 */ bl __ct__6CTokenFRC6CToken +/* 80032D98 0002FCF8 80 18 00 08 */ lwz r0, 8(r24) +/* 80032D9C 0002FCFC 90 1B 00 08 */ stw r0, 8(r27) +/* 80032DA0 0002FD00 80 9B 00 08 */ lwz r4, 8(r27) +/* 80032DA4 0002FD04 80 64 00 04 */ lwz r3, 4(r4) +/* 80032DA8 0002FD08 38 03 00 01 */ addi r0, r3, 1 +/* 80032DAC 0002FD0C 90 04 00 04 */ stw r0, 4(r4) +/* 80032DB0 0002FD10 80 18 00 0C */ lwz r0, 0xc(r24) +/* 80032DB4 0002FD14 90 1B 00 0C */ stw r0, 0xc(r27) +lbl_80032DB8: +/* 80032DB8 0002FD18 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80032DBC 0002FD1C 38 60 00 08 */ li r3, 8 +/* 80032DC0 0002FD20 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80032DC4 0002FD24 38 A0 00 00 */ li r5, 0 +/* 80032DC8 0002FD28 48 2E 2A A5 */ bl __nw__FUlPCcPCc +/* 80032DCC 0002FD2C 28 03 00 00 */ cmplwi r3, 0 +/* 80032DD0 0002FD30 41 82 00 10 */ beq lbl_80032DE0 +/* 80032DD4 0002FD34 93 63 00 00 */ stw r27, 0(r3) +/* 80032DD8 0002FD38 38 00 00 01 */ li r0, 1 +/* 80032DDC 0002FD3C 90 03 00 04 */ stw r0, 4(r3) +lbl_80032DE0: +/* 80032DE0 0002FD40 90 61 00 18 */ stw r3, 0x18(r1) +/* 80032DE4 0002FD44 38 9F 00 2C */ addi r4, r31, 0x2c +/* 80032DE8 0002FD48 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80032DEC 0002FD4C 7C 00 18 40 */ cmplw r0, r3 +/* 80032DF0 0002FD50 41 82 00 24 */ beq lbl_80032E14 +/* 80032DF4 0002FD54 7C 83 23 78 */ mr r3, r4 +/* 80032DF8 0002FD58 4B FF E6 65 */ bl sub_8003145c +/* 80032DFC 0002FD5C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80032E00 0002FD60 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80032E04 0002FD64 80 9F 00 2C */ lwz r4, 0x2c(r31) +/* 80032E08 0002FD68 80 64 00 04 */ lwz r3, 4(r4) +/* 80032E0C 0002FD6C 38 03 00 01 */ addi r0, r3, 1 +/* 80032E10 0002FD70 90 04 00 04 */ stw r0, 4(r4) +lbl_80032E14: +/* 80032E14 0002FD74 38 61 00 18 */ addi r3, r1, 0x18 +/* 80032E18 0002FD78 4B FF E6 45 */ bl sub_8003145c +/* 80032E1C 0002FD7C 38 00 00 00 */ li r0, 0 +/* 80032E20 0002FD80 38 61 00 48 */ addi r3, r1, 0x48 +/* 80032E24 0002FD84 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80032E28 0002FD88 38 81 00 70 */ addi r4, r1, 0x70 +/* 80032E2C 0002FD8C 90 01 00 AC */ stw r0, 0xac(r1) +/* 80032E30 0002FD90 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80032E34 0002FD94 48 00 01 61 */ bl sub_80032f94 +/* 80032E38 0002FD98 38 61 00 48 */ addi r3, r1, 0x48 +/* 80032E3C 0002FD9C 48 30 DF D1 */ bl GetObj__6CTokenFv +/* 80032E40 0002FDA0 80 63 00 04 */ lwz r3, 4(r3) +/* 80032E44 0002FDA4 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80032E48 0002FDA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80032E4C 0002FDAC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80032E50 0002FDB0 7D 89 03 A6 */ mtctr r12 +/* 80032E54 0002FDB4 4E 80 04 21 */ bctrl +/* 80032E58 0002FDB8 38 61 00 48 */ addi r3, r1, 0x48 +/* 80032E5C 0002FDBC 38 80 00 00 */ li r4, 0 +/* 80032E60 0002FDC0 48 30 DF E1 */ bl __dt__6CTokenFv +/* 80032E64 0002FDC4 80 81 00 A8 */ lwz r4, 0xa8(r1) +/* 80032E68 0002FDC8 38 7F 00 30 */ addi r3, r31, 0x30 +/* 80032E6C 0002FDCC 48 00 18 41 */ bl "reserve__Q24rstl74vector<37TCachedToken<21CAllFormatsAnimSource>,Q24rstl17rmemory_allocator>Fi" +/* 80032E70 0002FDD0 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 80032E74 0002FDD4 3C 60 41 4E */ lis r3, 0x414E494D@ha +/* 80032E78 0002FDD8 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 80032E7C 0002FDDC 3B 63 49 4D */ addi r27, r3, 0x414E494D@l +/* 80032E80 0002FDE0 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80032E84 0002FDE4 7F 3C 02 14 */ add r25, r28, r0 +/* 80032E88 0002FDE8 48 00 00 B8 */ b lbl_80032F40 +lbl_80032E8C: +/* 80032E8C 0002FDEC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80032E90 0002FDF0 7F C4 F3 78 */ mr r4, r30 +/* 80032E94 0002FDF4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80032E98 0002FDF8 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80032E9C 0002FDFC 93 61 00 60 */ stw r27, 0x60(r1) +/* 80032EA0 0002FE00 90 01 00 64 */ stw r0, 0x64(r1) +/* 80032EA4 0002FE04 81 9E 00 00 */ lwz r12, 0(r30) +/* 80032EA8 0002FE08 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80032EAC 0002FE0C 7D 89 03 A6 */ mtctr r12 +/* 80032EB0 0002FE10 4E 80 04 21 */ bctrl +/* 80032EB4 0002FE14 38 61 00 78 */ addi r3, r1, 0x78 +/* 80032EB8 0002FE18 38 81 00 40 */ addi r4, r1, 0x40 +/* 80032EBC 0002FE1C 48 30 DF ED */ bl __ct__6CTokenFRC6CToken +/* 80032EC0 0002FE20 38 00 00 00 */ li r0, 0 +/* 80032EC4 0002FE24 90 01 00 80 */ stw r0, 0x80(r1) +/* 80032EC8 0002FE28 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80032ECC 0002FE2C 80 BF 00 38 */ lwz r5, 0x38(r31) +/* 80032ED0 0002FE30 7C 00 28 00 */ cmpw r0, r5 +/* 80032ED4 0002FE34 41 80 00 1C */ blt lbl_80032EF0 +/* 80032ED8 0002FE38 2C 05 00 00 */ cmpwi r5, 0 +/* 80032EDC 0002FE3C 38 7F 00 30 */ addi r3, r31, 0x30 +/* 80032EE0 0002FE40 38 80 00 04 */ li r4, 4 +/* 80032EE4 0002FE44 41 82 00 08 */ beq lbl_80032EEC +/* 80032EE8 0002FE48 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80032EEC: +/* 80032EEC 0002FE4C 48 00 17 C1 */ bl "reserve__Q24rstl74vector<37TCachedToken<21CAllFormatsAnimSource>,Q24rstl17rmemory_allocator>Fi" +lbl_80032EF0: +/* 80032EF0 0002FE50 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80032EF4 0002FE54 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80032EF8 0002FE58 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80032EFC 0002FE5C 7F 03 02 15 */ add. r24, r3, r0 +/* 80032F00 0002FE60 41 82 00 18 */ beq lbl_80032F18 +/* 80032F04 0002FE64 7F 03 C3 78 */ mr r3, r24 +/* 80032F08 0002FE68 38 81 00 78 */ addi r4, r1, 0x78 +/* 80032F0C 0002FE6C 48 30 DF 9D */ bl __ct__6CTokenFRC6CToken +/* 80032F10 0002FE70 80 01 00 80 */ lwz r0, 0x80(r1) +/* 80032F14 0002FE74 90 18 00 08 */ stw r0, 8(r24) +lbl_80032F18: +/* 80032F18 0002FE78 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 80032F1C 0002FE7C 38 61 00 78 */ addi r3, r1, 0x78 +/* 80032F20 0002FE80 38 80 00 00 */ li r4, 0 +/* 80032F24 0002FE84 38 05 00 01 */ addi r0, r5, 1 +/* 80032F28 0002FE88 90 1F 00 34 */ stw r0, 0x34(r31) +/* 80032F2C 0002FE8C 48 30 DF 15 */ bl __dt__6CTokenFv +/* 80032F30 0002FE90 38 61 00 40 */ addi r3, r1, 0x40 +/* 80032F34 0002FE94 38 80 FF FF */ li r4, -1 +/* 80032F38 0002FE98 48 30 DF 09 */ bl __dt__6CTokenFv +/* 80032F3C 0002FE9C 3B 9C 00 18 */ addi r28, r28, 0x18 +lbl_80032F40: +/* 80032F40 0002FEA0 7C 1C C8 40 */ cmplw r28, r25 +/* 80032F44 0002FEA4 40 82 FF 48 */ bne lbl_80032E8C +/* 80032F48 0002FEA8 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80032F4C 0002FEAC 38 80 FF FF */ li r4, -1 +/* 80032F50 0002FEB0 48 00 00 65 */ bl sub_80032fb4 +/* 80032F54 0002FEB4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80032F58 0002FEB8 4B FF E7 D1 */ bl sub_80031728 +/* 80032F5C 0002FEBC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80032F60 0002FEC0 38 80 00 00 */ li r4, 0 +/* 80032F64 0002FEC4 48 30 DE DD */ bl __dt__6CTokenFv +/* 80032F68 0002FEC8 38 61 00 70 */ addi r3, r1, 0x70 +/* 80032F6C 0002FECC 38 80 00 00 */ li r4, 0 +/* 80032F70 0002FED0 48 30 DE D1 */ bl __dt__6CTokenFv +/* 80032F74 0002FED4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80032F78 0002FED8 48 00 13 1D */ bl __dt__17CMetaTransFactoryFv +/* 80032F7C 0002FEDC 7F E3 FB 78 */ mr r3, r31 +/* 80032F80 0002FEE0 BB 01 00 C0 */ lmw r24, 0xc0(r1) +/* 80032F84 0002FEE4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80032F88 0002FEE8 7C 08 03 A6 */ mtlr r0 +/* 80032F8C 0002FEEC 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80032F90 0002FEF0 4E 80 00 20 */ blr + +.global sub_80032f94 +sub_80032f94: +/* 80032F94 0002FEF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80032F98 0002FEF8 7C 08 02 A6 */ mflr r0 +/* 80032F9C 0002FEFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80032FA0 0002FF00 48 30 DF 09 */ bl __ct__6CTokenFRC6CToken +/* 80032FA4 0002FF04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80032FA8 0002FF08 7C 08 03 A6 */ mtlr r0 +/* 80032FAC 0002FF0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80032FB0 0002FF10 4E 80 00 20 */ blr + +.global sub_80032fb4 +sub_80032fb4: +/* 80032FB4 0002FF14 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80032FB8 0002FF18 7C 08 02 A6 */ mflr r0 +/* 80032FBC 0002FF1C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80032FC0 0002FF20 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80032FC4 0002FF24 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80032FC8 0002FF28 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80032FCC 0002FF2C 7C 9D 23 78 */ mr r29, r4 +/* 80032FD0 0002FF30 93 81 00 20 */ stw r28, 0x20(r1) +/* 80032FD4 0002FF34 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80032FD8 0002FF38 41 82 00 6C */ beq lbl_80033044 +/* 80032FDC 0002FF3C 80 1C 00 04 */ lwz r0, 4(r28) +/* 80032FE0 0002FF40 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 80032FE4 0002FF44 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80032FE8 0002FF48 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80032FEC 0002FF4C 7F FE 02 14 */ add r31, r30, r0 +/* 80032FF0 0002FF50 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80032FF4 0002FF54 93 E1 00 08 */ stw r31, 8(r1) +/* 80032FF8 0002FF58 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80032FFC 0002FF5C 48 00 00 20 */ b lbl_8003301C +lbl_80033000: +/* 80033000 0002FF60 28 1E 00 00 */ cmplwi r30, 0 +/* 80033004 0002FF64 41 82 00 14 */ beq lbl_80033018 +/* 80033008 0002FF68 34 1E 00 08 */ addic. r0, r30, 8 +/* 8003300C 0002FF6C 41 82 00 0C */ beq lbl_80033018 +/* 80033010 0002FF70 38 7E 00 08 */ addi r3, r30, 8 +/* 80033014 0002FF74 48 30 AA CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80033018: +/* 80033018 0002FF78 3B DE 00 18 */ addi r30, r30, 0x18 +lbl_8003301C: +/* 8003301C 0002FF7C 7C 1E F8 40 */ cmplw r30, r31 +/* 80033020 0002FF80 40 82 FF E0 */ bne lbl_80033000 +/* 80033024 0002FF84 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80033028 0002FF88 28 03 00 00 */ cmplwi r3, 0 +/* 8003302C 0002FF8C 41 82 00 08 */ beq lbl_80033034 +/* 80033030 0002FF90 48 2E 29 01 */ bl Free__7CMemoryFPCv +lbl_80033034: +/* 80033034 0002FF94 7F A0 07 35 */ extsh. r0, r29 +/* 80033038 0002FF98 40 81 00 0C */ ble lbl_80033044 +/* 8003303C 0002FF9C 7F 83 E3 78 */ mr r3, r28 +/* 80033040 0002FFA0 48 2E 28 F1 */ bl Free__7CMemoryFPCv +lbl_80033044: +/* 80033044 0002FFA4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80033048 0002FFA8 7F 83 E3 78 */ mr r3, r28 +/* 8003304C 0002FFAC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80033050 0002FFB0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80033054 0002FFB4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80033058 0002FFB8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8003305C 0002FFBC 7C 08 03 A6 */ mtlr r0 +/* 80033060 0002FFC0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80033064 0002FFC4 4E 80 00 20 */ blr + +.global sub_80033068 +sub_80033068: +/* 80033068 0002FFC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003306C 0002FFCC 7C 08 02 A6 */ mflr r0 +/* 80033070 0002FFD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80033074 0002FFD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80033078 0002FFD8 7C 9F 23 78 */ mr r31, r4 +/* 8003307C 0002FFDC 93 C1 00 08 */ stw r30, 8(r1) +/* 80033080 0002FFE0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80033084 0002FFE4 41 82 00 58 */ beq lbl_800330DC +/* 80033088 0002FFE8 3C 60 80 3E */ lis r3, lbl_803D9C14@ha +/* 8003308C 0002FFEC 38 03 9C 14 */ addi r0, r3, lbl_803D9C14@l +/* 80033090 0002FFF0 90 1E 00 00 */ stw r0, 0(r30) +/* 80033094 0002FFF4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80033098 0002FFF8 28 03 00 00 */ cmplwi r3, 0 +/* 8003309C 0002FFFC 41 82 00 0C */ beq lbl_800330A8 +/* 800330A0 00030000 38 80 00 01 */ li r4, 1 +/* 800330A4 00030004 48 00 00 55 */ bl sub_800330f8 +lbl_800330A8: +/* 800330A8 00030008 28 1E 00 00 */ cmplwi r30, 0 +/* 800330AC 0003000C 41 82 00 20 */ beq lbl_800330CC +/* 800330B0 00030010 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 800330B4 00030014 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 800330B8 00030018 90 1E 00 00 */ stw r0, 0(r30) +/* 800330BC 0003001C 41 82 00 10 */ beq lbl_800330CC +/* 800330C0 00030020 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 800330C4 00030024 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 800330C8 00030028 90 1E 00 00 */ stw r0, 0(r30) +lbl_800330CC: +/* 800330CC 0003002C 7F E0 07 35 */ extsh. r0, r31 +/* 800330D0 00030030 40 81 00 0C */ ble lbl_800330DC +/* 800330D4 00030034 7F C3 F3 78 */ mr r3, r30 +/* 800330D8 00030038 48 2E 28 59 */ bl Free__7CMemoryFPCv +lbl_800330DC: +/* 800330DC 0003003C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800330E0 00030040 7F C3 F3 78 */ mr r3, r30 +/* 800330E4 00030044 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800330E8 00030048 83 C1 00 08 */ lwz r30, 8(r1) +/* 800330EC 0003004C 7C 08 03 A6 */ mtlr r0 +/* 800330F0 00030050 38 21 00 10 */ addi r1, r1, 0x10 +/* 800330F4 00030054 4E 80 00 20 */ blr + +.global sub_800330f8 +sub_800330f8: +/* 800330F8 00030058 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800330FC 0003005C 7C 08 02 A6 */ mflr r0 +/* 80033100 00030060 90 01 00 14 */ stw r0, 0x14(r1) +/* 80033104 00030064 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80033108 00030068 7C 9F 23 78 */ mr r31, r4 +/* 8003310C 0003006C 93 C1 00 08 */ stw r30, 8(r1) +/* 80033110 00030070 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80033114 00030074 41 82 00 88 */ beq lbl_8003319C +/* 80033118 00030078 3C 80 80 3E */ lis r4, lbl_803DA340@ha +/* 8003311C 0003007C 38 7E 00 24 */ addi r3, r30, 0x24 +/* 80033120 00030080 38 04 A3 40 */ addi r0, r4, lbl_803DA340@l +/* 80033124 00030084 38 80 FF FF */ li r4, -1 +/* 80033128 00030088 90 1E 00 00 */ stw r0, 0(r30) +/* 8003312C 0003008C 48 00 01 41 */ bl sub_8003326c +/* 80033130 00030090 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80033134 00030094 38 80 FF FF */ li r4, -1 +/* 80033138 00030098 48 00 00 81 */ bl sub_800331b8 +/* 8003313C 0003009C 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 80033140 000300A0 41 82 00 0C */ beq lbl_8003314C +/* 80033144 000300A4 38 7E 00 10 */ addi r3, r30, 0x10 +/* 80033148 000300A8 48 00 11 4D */ bl __dt__17CMetaTransFactoryFv +lbl_8003314C: +/* 8003314C 000300AC 28 1E 00 00 */ cmplwi r30, 0 +/* 80033150 000300B0 41 82 00 3C */ beq lbl_8003318C +/* 80033154 000300B4 3C 60 80 3E */ lis r3, lbl_803D9C08@ha +/* 80033158 000300B8 34 1E 00 04 */ addic. r0, r30, 4 +/* 8003315C 000300BC 38 03 9C 08 */ addi r0, r3, lbl_803D9C08@l +/* 80033160 000300C0 90 1E 00 00 */ stw r0, 0(r30) +/* 80033164 000300C4 41 82 00 28 */ beq lbl_8003318C +/* 80033168 000300C8 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 8003316C 000300CC 28 00 00 00 */ cmplwi r0, 0 +/* 80033170 000300D0 41 82 00 14 */ beq lbl_80033184 +/* 80033174 000300D4 34 7E 00 04 */ addic. r3, r30, 4 +/* 80033178 000300D8 41 82 00 0C */ beq lbl_80033184 +/* 8003317C 000300DC 38 80 00 00 */ li r4, 0 +/* 80033180 000300E0 48 30 DC C1 */ bl __dt__6CTokenFv +lbl_80033184: +/* 80033184 000300E4 38 00 00 00 */ li r0, 0 +/* 80033188 000300E8 98 1E 00 0C */ stb r0, 0xc(r30) +lbl_8003318C: +/* 8003318C 000300EC 7F E0 07 35 */ extsh. r0, r31 +/* 80033190 000300F0 40 81 00 0C */ ble lbl_8003319C +/* 80033194 000300F4 7F C3 F3 78 */ mr r3, r30 +/* 80033198 000300F8 48 2E 27 99 */ bl Free__7CMemoryFPCv +lbl_8003319C: +/* 8003319C 000300FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800331A0 00030100 7F C3 F3 78 */ mr r3, r30 +/* 800331A4 00030104 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800331A8 00030108 83 C1 00 08 */ lwz r30, 8(r1) +/* 800331AC 0003010C 7C 08 03 A6 */ mtlr r0 +/* 800331B0 00030110 38 21 00 10 */ addi r1, r1, 0x10 +/* 800331B4 00030114 4E 80 00 20 */ blr + +.global sub_800331b8 +sub_800331b8: +/* 800331B8 00030118 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800331BC 0003011C 7C 08 02 A6 */ mflr r0 +/* 800331C0 00030120 90 01 00 34 */ stw r0, 0x34(r1) +/* 800331C4 00030124 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800331C8 00030128 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800331CC 0003012C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800331D0 00030130 7C 9D 23 78 */ mr r29, r4 +/* 800331D4 00030134 93 81 00 20 */ stw r28, 0x20(r1) +/* 800331D8 00030138 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800331DC 0003013C 41 82 00 6C */ beq lbl_80033248 +/* 800331E0 00030140 80 1C 00 04 */ lwz r0, 4(r28) +/* 800331E4 00030144 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 800331E8 00030148 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800331EC 0003014C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800331F0 00030150 7F FE 02 14 */ add r31, r30, r0 +/* 800331F4 00030154 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800331F8 00030158 93 E1 00 08 */ stw r31, 8(r1) +/* 800331FC 0003015C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80033200 00030160 48 00 00 20 */ b lbl_80033220 +lbl_80033204: +/* 80033204 00030164 28 1E 00 00 */ cmplwi r30, 0 +/* 80033208 00030168 41 82 00 14 */ beq lbl_8003321C +/* 8003320C 0003016C 34 1E 00 08 */ addic. r0, r30, 8 +/* 80033210 00030170 41 82 00 0C */ beq lbl_8003321C +/* 80033214 00030174 38 7E 00 08 */ addi r3, r30, 8 +/* 80033218 00030178 48 00 10 7D */ bl __dt__17CMetaTransFactoryFv +lbl_8003321C: +/* 8003321C 0003017C 3B DE 00 0C */ addi r30, r30, 0xc +lbl_80033220: +/* 80033220 00030180 7C 1E F8 40 */ cmplw r30, r31 +/* 80033224 00030184 40 82 FF E0 */ bne lbl_80033204 +/* 80033228 00030188 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8003322C 0003018C 28 03 00 00 */ cmplwi r3, 0 +/* 80033230 00030190 41 82 00 08 */ beq lbl_80033238 +/* 80033234 00030194 48 2E 26 FD */ bl Free__7CMemoryFPCv +lbl_80033238: +/* 80033238 00030198 7F A0 07 35 */ extsh. r0, r29 +/* 8003323C 0003019C 40 81 00 0C */ ble lbl_80033248 +/* 80033240 000301A0 7F 83 E3 78 */ mr r3, r28 +/* 80033244 000301A4 48 2E 26 ED */ bl Free__7CMemoryFPCv +lbl_80033248: +/* 80033248 000301A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8003324C 000301AC 7F 83 E3 78 */ mr r3, r28 +/* 80033250 000301B0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80033254 000301B4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80033258 000301B8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8003325C 000301BC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80033260 000301C0 7C 08 03 A6 */ mtlr r0 +/* 80033264 000301C4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80033268 000301C8 4E 80 00 20 */ blr + +.global sub_8003326c +sub_8003326c: +/* 8003326C 000301CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80033270 000301D0 7C 08 02 A6 */ mflr r0 +/* 80033274 000301D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80033278 000301D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8003327C 000301DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80033280 000301E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80033284 000301E4 7C 9D 23 78 */ mr r29, r4 +/* 80033288 000301E8 93 81 00 20 */ stw r28, 0x20(r1) +/* 8003328C 000301EC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80033290 000301F0 41 82 00 6C */ beq lbl_800332FC +/* 80033294 000301F4 80 1C 00 04 */ lwz r0, 4(r28) +/* 80033298 000301F8 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8003329C 000301FC 54 00 18 38 */ slwi r0, r0, 3 +/* 800332A0 00030200 7F FE 02 14 */ add r31, r30, r0 +/* 800332A4 00030204 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800332A8 00030208 93 E1 00 08 */ stw r31, 8(r1) +/* 800332AC 0003020C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800332B0 00030210 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800332B4 00030214 48 00 00 20 */ b lbl_800332D4 +lbl_800332B8: +/* 800332B8 00030218 28 1E 00 00 */ cmplwi r30, 0 +/* 800332BC 0003021C 41 82 00 14 */ beq lbl_800332D0 +/* 800332C0 00030220 34 1E 00 04 */ addic. r0, r30, 4 +/* 800332C4 00030224 41 82 00 0C */ beq lbl_800332D0 +/* 800332C8 00030228 38 7E 00 04 */ addi r3, r30, 4 +/* 800332CC 0003022C 48 00 0F C9 */ bl __dt__17CMetaTransFactoryFv +lbl_800332D0: +/* 800332D0 00030230 3B DE 00 08 */ addi r30, r30, 8 +lbl_800332D4: +/* 800332D4 00030234 7C 1E F8 40 */ cmplw r30, r31 +/* 800332D8 00030238 40 82 FF E0 */ bne lbl_800332B8 +/* 800332DC 0003023C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 800332E0 00030240 28 03 00 00 */ cmplwi r3, 0 +/* 800332E4 00030244 41 82 00 08 */ beq lbl_800332EC +/* 800332E8 00030248 48 2E 26 49 */ bl Free__7CMemoryFPCv +lbl_800332EC: +/* 800332EC 0003024C 7F A0 07 35 */ extsh. r0, r29 +/* 800332F0 00030250 40 81 00 0C */ ble lbl_800332FC +/* 800332F4 00030254 7F 83 E3 78 */ mr r3, r28 +/* 800332F8 00030258 48 2E 26 39 */ bl Free__7CMemoryFPCv +lbl_800332FC: +/* 800332FC 0003025C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80033300 00030260 7F 83 E3 78 */ mr r3, r28 +/* 80033304 00030264 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80033308 00030268 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8003330C 0003026C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80033310 00030270 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80033314 00030274 7C 08 03 A6 */ mtlr r0 +/* 80033318 00030278 38 21 00 30 */ addi r1, r1, 0x30 +/* 8003331C 0003027C 4E 80 00 20 */ blr + +.global sub_80033320 +sub_80033320: +/* 80033320 00030280 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80033324 00030284 7C 08 02 A6 */ mflr r0 +/* 80033328 00030288 3C A0 80 3D */ lis r5, lbl_803CCD78@ha +/* 8003332C 0003028C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80033330 00030290 38 05 CD 78 */ addi r0, r5, lbl_803CCD78@l +/* 80033334 00030294 38 A0 00 00 */ li r5, 0 +/* 80033338 00030298 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003333C 0003029C 7C 9F 23 78 */ mr r31, r4 +/* 80033340 000302A0 7C 04 03 78 */ mr r4, r0 +/* 80033344 000302A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80033348 000302A8 7C 7E 1B 78 */ mr r30, r3 +/* 8003334C 000302AC 38 60 00 08 */ li r3, 8 +/* 80033350 000302B0 48 2E 25 1D */ bl __nw__FUlPCcPCc +/* 80033354 000302B4 28 03 00 00 */ cmplwi r3, 0 +/* 80033358 000302B8 41 82 00 2C */ beq lbl_80033384 +/* 8003335C 000302BC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80033360 000302C0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80033364 000302C4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80033368 000302C8 3C 80 80 3E */ lis r4, lbl_803D9C14@ha +/* 8003336C 000302CC 90 03 00 00 */ stw r0, 0(r3) +/* 80033370 000302D0 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l +/* 80033374 000302D4 38 04 9C 14 */ addi r0, r4, lbl_803D9C14@l +/* 80033378 000302D8 90 A3 00 00 */ stw r5, 0(r3) +/* 8003337C 000302DC 93 E3 00 04 */ stw r31, 4(r3) +/* 80033380 000302E0 90 03 00 00 */ stw r0, 0(r3) +lbl_80033384: +/* 80033384 000302E4 7C 03 00 D0 */ neg r0, r3 +/* 80033388 000302E8 7C 00 1B 78 */ or r0, r0, r3 +/* 8003338C 000302EC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80033390 000302F0 98 1E 00 00 */ stb r0, 0(r30) +/* 80033394 000302F4 90 7E 00 04 */ stw r3, 4(r30) +/* 80033398 000302F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003339C 000302FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800333A0 00030300 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800333A4 00030304 7C 08 03 A6 */ mtlr r0 +/* 800333A8 00030308 38 21 00 10 */ addi r1, r1, 0x10 +/* 800333AC 0003030C 4E 80 00 20 */ blr + +.global sub_800333b0 +sub_800333b0: +/* 800333B0 00030310 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800333B4 00030314 7C 08 02 A6 */ mflr r0 +/* 800333B8 00030318 90 01 00 14 */ stw r0, 0x14(r1) +/* 800333BC 0003031C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800333C0 00030320 7C 9F 23 78 */ mr r31, r4 +/* 800333C4 00030324 93 C1 00 08 */ stw r30, 8(r1) +/* 800333C8 00030328 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800333CC 0003032C 41 82 00 58 */ beq lbl_80033424 +/* 800333D0 00030330 3C 60 80 3E */ lis r3, lbl_803D9BFC@ha +/* 800333D4 00030334 38 03 9B FC */ addi r0, r3, lbl_803D9BFC@l +/* 800333D8 00030338 90 1E 00 00 */ stw r0, 0(r30) +/* 800333DC 0003033C 80 7E 00 04 */ lwz r3, 4(r30) +/* 800333E0 00030340 28 03 00 00 */ cmplwi r3, 0 +/* 800333E4 00030344 41 82 00 0C */ beq lbl_800333F0 +/* 800333E8 00030348 38 80 00 01 */ li r4, 1 +/* 800333EC 0003034C 48 00 00 55 */ bl sub_80033440 +lbl_800333F0: +/* 800333F0 00030350 28 1E 00 00 */ cmplwi r30, 0 +/* 800333F4 00030354 41 82 00 20 */ beq lbl_80033414 +/* 800333F8 00030358 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 800333FC 0003035C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80033400 00030360 90 1E 00 00 */ stw r0, 0(r30) +/* 80033404 00030364 41 82 00 10 */ beq lbl_80033414 +/* 80033408 00030368 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8003340C 0003036C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80033410 00030370 90 1E 00 00 */ stw r0, 0(r30) +lbl_80033414: +/* 80033414 00030374 7F E0 07 35 */ extsh. r0, r31 +/* 80033418 00030378 40 81 00 0C */ ble lbl_80033424 +/* 8003341C 0003037C 7F C3 F3 78 */ mr r3, r30 +/* 80033420 00030380 48 2E 25 11 */ bl Free__7CMemoryFPCv +lbl_80033424: +/* 80033424 00030384 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80033428 00030388 7F C3 F3 78 */ mr r3, r30 +/* 8003342C 0003038C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80033430 00030390 83 C1 00 08 */ lwz r30, 8(r1) +/* 80033434 00030394 7C 08 03 A6 */ mtlr r0 +/* 80033438 00030398 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003343C 0003039C 4E 80 00 20 */ blr + +.global sub_80033440 +sub_80033440: +/* 80033440 000303A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80033444 000303A4 7C 08 02 A6 */ mflr r0 +/* 80033448 000303A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8003344C 000303AC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80033450 000303B0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80033454 000303B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80033458 000303B8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8003345C 000303BC 93 81 00 20 */ stw r28, 0x20(r1) +/* 80033460 000303C0 7C 9C 23 78 */ mr r28, r4 +/* 80033464 000303C4 41 82 00 B8 */ beq lbl_8003351C +/* 80033468 000303C8 3C 60 80 3E */ lis r3, lbl_803DA320@ha +/* 8003346C 000303CC 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 80033470 000303D0 38 03 A3 20 */ addi r0, r3, lbl_803DA320@l +/* 80033474 000303D4 90 1F 00 00 */ stw r0, 0(r31) +/* 80033478 000303D8 41 82 00 54 */ beq lbl_800334CC +/* 8003347C 000303DC 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80033480 000303E0 83 BF 00 1C */ lwz r29, 0x1c(r31) +/* 80033484 000303E4 54 00 10 3A */ slwi r0, r0, 2 +/* 80033488 000303E8 7F DD 02 14 */ add r30, r29, r0 +/* 8003348C 000303EC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80033490 000303F0 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80033494 000303F4 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80033498 000303F8 93 A1 00 08 */ stw r29, 8(r1) +/* 8003349C 000303FC 48 00 00 18 */ b lbl_800334B4 +lbl_800334A0: +/* 800334A0 00030400 28 1D 00 00 */ cmplwi r29, 0 +/* 800334A4 00030404 41 82 00 0C */ beq lbl_800334B0 +/* 800334A8 00030408 7F A3 EB 78 */ mr r3, r29 +/* 800334AC 0003040C 4B FF DA 85 */ bl sub_80030f30 +lbl_800334B0: +/* 800334B0 00030410 3B BD 00 04 */ addi r29, r29, 4 +lbl_800334B4: +/* 800334B4 00030414 7C 1D F0 40 */ cmplw r29, r30 +/* 800334B8 00030418 40 82 FF E8 */ bne lbl_800334A0 +/* 800334BC 0003041C 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 800334C0 00030420 28 03 00 00 */ cmplwi r3, 0 +/* 800334C4 00030424 41 82 00 08 */ beq lbl_800334CC +/* 800334C8 00030428 48 2E 24 69 */ bl Free__7CMemoryFPCv +lbl_800334CC: +/* 800334CC 0003042C 28 1F 00 00 */ cmplwi r31, 0 +/* 800334D0 00030430 41 82 00 3C */ beq lbl_8003350C +/* 800334D4 00030434 3C 60 80 3E */ lis r3, lbl_803D9BE0@ha +/* 800334D8 00030438 34 1F 00 04 */ addic. r0, r31, 4 +/* 800334DC 0003043C 38 03 9B E0 */ addi r0, r3, lbl_803D9BE0@l +/* 800334E0 00030440 90 1F 00 00 */ stw r0, 0(r31) +/* 800334E4 00030444 41 82 00 28 */ beq lbl_8003350C +/* 800334E8 00030448 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 800334EC 0003044C 28 00 00 00 */ cmplwi r0, 0 +/* 800334F0 00030450 41 82 00 14 */ beq lbl_80033504 +/* 800334F4 00030454 34 7F 00 04 */ addic. r3, r31, 4 +/* 800334F8 00030458 41 82 00 0C */ beq lbl_80033504 +/* 800334FC 0003045C 38 80 00 00 */ li r4, 0 +/* 80033500 00030460 48 30 D9 41 */ bl __dt__6CTokenFv +lbl_80033504: +/* 80033504 00030464 38 00 00 00 */ li r0, 0 +/* 80033508 00030468 98 1F 00 0C */ stb r0, 0xc(r31) +lbl_8003350C: +/* 8003350C 0003046C 7F 80 07 35 */ extsh. r0, r28 +/* 80033510 00030470 40 81 00 0C */ ble lbl_8003351C +/* 80033514 00030474 7F E3 FB 78 */ mr r3, r31 +/* 80033518 00030478 48 2E 24 19 */ bl Free__7CMemoryFPCv +lbl_8003351C: +/* 8003351C 0003047C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80033520 00030480 7F E3 FB 78 */ mr r3, r31 +/* 80033524 00030484 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80033528 00030488 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8003352C 0003048C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80033530 00030490 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80033534 00030494 7C 08 03 A6 */ mtlr r0 +/* 80033538 00030498 38 21 00 30 */ addi r1, r1, 0x30 +/* 8003353C 0003049C 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CAnimationDatabaseGame>FP22CAnimationDatabaseGame" +"GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CAnimationDatabaseGame>FP22CAnimationDatabaseGame": +/* 80033540 000304A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80033544 000304A4 7C 08 02 A6 */ mflr r0 +/* 80033548 000304A8 3C A0 80 3D */ lis r5, lbl_803CCD78@ha +/* 8003354C 000304AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80033550 000304B0 38 05 CD 78 */ addi r0, r5, lbl_803CCD78@l +/* 80033554 000304B4 38 A0 00 00 */ li r5, 0 +/* 80033558 000304B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003355C 000304BC 7C 9F 23 78 */ mr r31, r4 +/* 80033560 000304C0 7C 04 03 78 */ mr r4, r0 +/* 80033564 000304C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80033568 000304C8 7C 7E 1B 78 */ mr r30, r3 +/* 8003356C 000304CC 38 60 00 08 */ li r3, 8 +/* 80033570 000304D0 48 2E 22 FD */ bl __nw__FUlPCcPCc +/* 80033574 000304D4 28 03 00 00 */ cmplwi r3, 0 +/* 80033578 000304D8 41 82 00 2C */ beq lbl_800335A4 +/* 8003357C 000304DC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80033580 000304E0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80033584 000304E4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80033588 000304E8 3C 80 80 3E */ lis r4, lbl_803D9BFC@ha +/* 8003358C 000304EC 90 03 00 00 */ stw r0, 0(r3) +/* 80033590 000304F0 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l +/* 80033594 000304F4 38 04 9B FC */ addi r0, r4, lbl_803D9BFC@l +/* 80033598 000304F8 90 A3 00 00 */ stw r5, 0(r3) +/* 8003359C 000304FC 93 E3 00 04 */ stw r31, 4(r3) +/* 800335A0 00030500 90 03 00 00 */ stw r0, 0(r3) +lbl_800335A4: +/* 800335A4 00030504 7C 03 00 D0 */ neg r0, r3 +/* 800335A8 00030508 7C 00 1B 78 */ or r0, r0, r3 +/* 800335AC 0003050C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800335B0 00030510 98 1E 00 00 */ stb r0, 0(r30) +/* 800335B4 00030514 90 7E 00 04 */ stw r3, 4(r30) +/* 800335B8 00030518 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800335BC 0003051C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800335C0 00030520 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800335C4 00030524 7C 08 03 A6 */ mtlr r0 +/* 800335C8 00030528 38 21 00 10 */ addi r1, r1, 0x10 +/* 800335CC 0003052C 4E 80 00 20 */ blr + +.global "__dt__Q24rstl20rc_ptr<10IMetaTrans>Fv" +"__dt__Q24rstl20rc_ptr<10IMetaTrans>Fv": +/* 800335D0 00030530 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800335D4 00030534 7C 08 02 A6 */ mflr r0 +/* 800335D8 00030538 90 01 00 34 */ stw r0, 0x34(r1) +/* 800335DC 0003053C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800335E0 00030540 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800335E4 00030544 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800335E8 00030548 7C 9D 23 78 */ mr r29, r4 +/* 800335EC 0003054C 93 81 00 20 */ stw r28, 0x20(r1) +/* 800335F0 00030550 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800335F4 00030554 41 82 00 6C */ beq lbl_80033660 +/* 800335F8 00030558 80 1C 00 04 */ lwz r0, 4(r28) +/* 800335FC 0003055C 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 80033600 00030560 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80033604 00030564 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80033608 00030568 7F FE 02 14 */ add r31, r30, r0 +/* 8003360C 0003056C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80033610 00030570 93 E1 00 08 */ stw r31, 8(r1) +/* 80033614 00030574 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80033618 00030578 48 00 00 20 */ b lbl_80033638 +lbl_8003361C: +/* 8003361C 0003057C 28 1E 00 00 */ cmplwi r30, 0 +/* 80033620 00030580 41 82 00 14 */ beq lbl_80033634 +/* 80033624 00030584 41 82 00 10 */ beq lbl_80033634 +/* 80033628 00030588 7F C3 F3 78 */ mr r3, r30 +/* 8003362C 0003058C 38 80 00 00 */ li r4, 0 +/* 80033630 00030590 48 30 D8 11 */ bl __dt__6CTokenFv +lbl_80033634: +/* 80033634 00030594 3B DE 00 0C */ addi r30, r30, 0xc +lbl_80033638: +/* 80033638 00030598 7C 1E F8 40 */ cmplw r30, r31 +/* 8003363C 0003059C 40 82 FF E0 */ bne lbl_8003361C +/* 80033640 000305A0 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80033644 000305A4 28 03 00 00 */ cmplwi r3, 0 +/* 80033648 000305A8 41 82 00 08 */ beq lbl_80033650 +/* 8003364C 000305AC 48 2E 22 E5 */ bl Free__7CMemoryFPCv +lbl_80033650: +/* 80033650 000305B0 7F A0 07 35 */ extsh. r0, r29 +/* 80033654 000305B4 40 81 00 0C */ ble lbl_80033660 +/* 80033658 000305B8 7F 83 E3 78 */ mr r3, r28 +/* 8003365C 000305BC 48 2E 22 D5 */ bl Free__7CMemoryFPCv +lbl_80033660: +/* 80033660 000305C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80033664 000305C4 7F 83 E3 78 */ mr r3, r28 +/* 80033668 000305C8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8003366C 000305CC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80033670 000305D0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80033674 000305D4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80033678 000305D8 7C 08 03 A6 */ mtlr r0 +/* 8003367C 000305DC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80033680 000305E0 4E 80 00 20 */ blr + +.global CancelBuild__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTag +CancelBuild__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTag: +/* 80033684 000305E4 4E 80 00 20 */ blr + +.global BuildAsync__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj +BuildAsync__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj: +/* 80033688 000305E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003368C 000305EC 7C 08 02 A6 */ mflr r0 +/* 80033690 000305F0 7C 87 23 78 */ mr r7, r4 +/* 80033694 000305F4 7C 64 1B 78 */ mr r4, r3 +/* 80033698 000305F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003369C 000305FC 7C A0 2B 78 */ mr r0, r5 +/* 800336A0 00030600 7C E5 3B 78 */ mr r5, r7 +/* 800336A4 00030604 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800336A8 00030608 7C DF 33 78 */ mr r31, r6 +/* 800336AC 0003060C 7C 06 03 78 */ mr r6, r0 +/* 800336B0 00030610 81 83 00 00 */ lwz r12, 0(r3) +/* 800336B4 00030614 38 61 00 08 */ addi r3, r1, 8 +/* 800336B8 00030618 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800336BC 0003061C 7D 89 03 A6 */ mtctr r12 +/* 800336C0 00030620 4E 80 04 21 */ bctrl +/* 800336C4 00030624 38 00 00 00 */ li r0, 0 +/* 800336C8 00030628 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800336CC 0003062C 98 01 00 08 */ stb r0, 8(r1) +/* 800336D0 00030630 90 7F 00 00 */ stw r3, 0(r31) +/* 800336D4 00030634 88 01 00 08 */ lbz r0, 8(r1) +/* 800336D8 00030638 28 00 00 00 */ cmplwi r0, 0 +/* 800336DC 0003063C 41 82 00 24 */ beq lbl_80033700 +/* 800336E0 00030640 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800336E4 00030644 28 03 00 00 */ cmplwi r3, 0 +/* 800336E8 00030648 41 82 00 18 */ beq lbl_80033700 +/* 800336EC 0003064C 81 83 00 00 */ lwz r12, 0(r3) +/* 800336F0 00030650 38 80 00 01 */ li r4, 1 +/* 800336F4 00030654 81 8C 00 08 */ lwz r12, 8(r12) +/* 800336F8 00030658 7D 89 03 A6 */ mtctr r12 +/* 800336FC 0003065C 4E 80 04 21 */ bctrl +lbl_80033700: +/* 80033700 00030660 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80033704 00030664 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80033708 00030668 7C 08 03 A6 */ mtlr r0 +/* 8003370C 0003066C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80033710 00030670 4E 80 00 20 */ blr + +.global Build__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer +Build__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer: +/* 80033714 00030674 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 80033718 00030678 7C 08 02 A6 */ mflr r0 +/* 8003371C 0003067C 90 01 01 44 */ stw r0, 0x144(r1) +/* 80033720 00030680 BE C1 01 18 */ stmw r22, 0x118(r1) +/* 80033724 00030684 7C 7D 1B 78 */ mr r29, r3 +/* 80033728 00030688 80 86 00 00 */ lwz r4, 0(r6) +/* 8003372C 0003068C 90 81 00 08 */ stw r4, 8(r1) +/* 80033730 00030690 80 64 00 04 */ lwz r3, 4(r4) +/* 80033734 00030694 38 03 00 01 */ addi r0, r3, 1 +/* 80033738 00030698 90 04 00 04 */ stw r0, 4(r4) +/* 8003373C 0003069C 80 61 00 08 */ lwz r3, 8(r1) +/* 80033740 000306A0 80 05 00 00 */ lwz r0, 0(r5) +/* 80033744 000306A4 80 63 00 00 */ lwz r3, 0(r3) +/* 80033748 000306A8 2C 00 00 01 */ cmpwi r0, 1 +/* 8003374C 000306AC 83 C3 00 04 */ lwz r30, 4(r3) +/* 80033750 000306B0 41 82 02 AC */ beq lbl_800339FC +/* 80033754 000306B4 40 80 04 EC */ bge lbl_80033C40 +/* 80033758 000306B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8003375C 000306BC 40 80 00 08 */ bge lbl_80033764 +/* 80033760 000306C0 48 00 04 E0 */ b lbl_80033C40 +lbl_80033764: +/* 80033764 000306C4 3C 60 80 3D */ lis r3, lbl_803CCD78@ha +/* 80033768 000306C8 3B 80 00 00 */ li r28, 0 +/* 8003376C 000306CC 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l +/* 80033770 000306D0 3B 60 00 00 */ li r27, 0 +/* 80033774 000306D4 3B 40 00 00 */ li r26, 0 +/* 80033778 000306D8 3B 20 00 00 */ li r25, 0 +/* 8003377C 000306DC 3B 00 00 00 */ li r24, 0 +/* 80033780 000306E0 3A E0 00 00 */ li r23, 0 +/* 80033784 000306E4 38 60 00 3C */ li r3, 0x3c +/* 80033788 000306E8 38 A0 00 00 */ li r5, 0 +/* 8003378C 000306EC 48 2E 20 E1 */ bl __nw__FUlPCcPCc +/* 80033790 000306F0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80033794 000306F4 41 82 01 28 */ beq lbl_800338BC +/* 80033798 000306F8 80 DE 00 14 */ lwz r6, 0x14(r30) +/* 8003379C 000306FC 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 800337A0 00030700 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 800337A4 00030704 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800337A8 00030708 90 01 00 64 */ stw r0, 0x64(r1) +/* 800337AC 0003070C 38 61 00 5C */ addi r3, r1, 0x5c +/* 800337B0 00030710 38 A1 00 64 */ addi r5, r1, 0x64 +/* 800337B4 00030714 90 C1 00 68 */ stw r6, 0x68(r1) +/* 800337B8 00030718 81 84 00 00 */ lwz r12, 0(r4) +/* 800337BC 0003071C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800337C0 00030720 7D 89 03 A6 */ mtctr r12 +/* 800337C4 00030724 4E 80 04 21 */ bctrl +/* 800337C8 00030728 3A E1 00 B0 */ addi r23, r1, 0xb0 +/* 800337CC 0003072C 38 81 00 5C */ addi r4, r1, 0x5c +/* 800337D0 00030730 7E E3 BB 78 */ mr r3, r23 +/* 800337D4 00030734 3B 00 00 01 */ li r24, 1 +/* 800337D8 00030738 48 30 D6 D1 */ bl __ct__6CTokenFRC6CToken +/* 800337DC 0003073C 7E E3 BB 78 */ mr r3, r23 +/* 800337E0 00030740 48 30 D6 2D */ bl GetObj__6CTokenFv +/* 800337E4 00030744 80 A3 00 04 */ lwz r5, 4(r3) +/* 800337E8 00030748 3C 60 43 53 */ lis r3, 0x43534B52@ha +/* 800337EC 0003074C 38 03 4B 52 */ addi r0, r3, 0x43534B52@l +/* 800337F0 00030750 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800337F4 00030754 90 A1 00 B8 */ stw r5, 0xb8(r1) +/* 800337F8 00030758 38 61 00 6C */ addi r3, r1, 0x6c +/* 800337FC 0003075C 38 A1 00 74 */ addi r5, r1, 0x74 +/* 80033800 00030760 3A E0 00 01 */ li r23, 1 +/* 80033804 00030764 80 DE 00 18 */ lwz r6, 0x18(r30) +/* 80033808 00030768 90 01 00 74 */ stw r0, 0x74(r1) +/* 8003380C 0003076C 90 C1 00 78 */ stw r6, 0x78(r1) +/* 80033810 00030770 81 84 00 00 */ lwz r12, 0(r4) +/* 80033814 00030774 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80033818 00030778 7D 89 03 A6 */ mtctr r12 +/* 8003381C 0003077C 4E 80 04 21 */ bctrl +/* 80033820 00030780 3B 21 00 BC */ addi r25, r1, 0xbc +/* 80033824 00030784 38 81 00 6C */ addi r4, r1, 0x6c +/* 80033828 00030788 7F 23 CB 78 */ mr r3, r25 +/* 8003382C 0003078C 3B 40 00 01 */ li r26, 1 +/* 80033830 00030790 48 30 D6 79 */ bl __ct__6CTokenFRC6CToken +/* 80033834 00030794 7F 23 CB 78 */ mr r3, r25 +/* 80033838 00030798 48 30 D5 D5 */ bl GetObj__6CTokenFv +/* 8003383C 0003079C 80 A3 00 04 */ lwz r5, 4(r3) +/* 80033840 000307A0 3C 60 43 49 */ lis r3, 0x43494E46@ha +/* 80033844 000307A4 38 03 4E 46 */ addi r0, r3, 0x43494E46@l +/* 80033848 000307A8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8003384C 000307AC 90 A1 00 C4 */ stw r5, 0xc4(r1) +/* 80033850 000307B0 38 61 00 7C */ addi r3, r1, 0x7c +/* 80033854 000307B4 38 A1 00 84 */ addi r5, r1, 0x84 +/* 80033858 000307B8 3B 20 00 01 */ li r25, 1 +/* 8003385C 000307BC 80 DE 00 1C */ lwz r6, 0x1c(r30) +/* 80033860 000307C0 90 01 00 84 */ stw r0, 0x84(r1) +/* 80033864 000307C4 90 C1 00 88 */ stw r6, 0x88(r1) +/* 80033868 000307C8 81 84 00 00 */ lwz r12, 0(r4) +/* 8003386C 000307CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80033870 000307D0 7D 89 03 A6 */ mtctr r12 +/* 80033874 000307D4 4E 80 04 21 */ bctrl +/* 80033878 000307D8 3B 61 00 C8 */ addi r27, r1, 0xc8 +/* 8003387C 000307DC 38 81 00 7C */ addi r4, r1, 0x7c +/* 80033880 000307E0 7F 63 DB 78 */ mr r3, r27 +/* 80033884 000307E4 3B 80 00 01 */ li r28, 1 +/* 80033888 000307E8 48 30 D6 21 */ bl __ct__6CTokenFRC6CToken +/* 8003388C 000307EC 7F 63 DB 78 */ mr r3, r27 +/* 80033890 000307F0 48 30 D5 7D */ bl GetObj__6CTokenFv +/* 80033894 000307F4 80 03 00 04 */ lwz r0, 4(r3) +/* 80033898 000307F8 7F 66 DB 78 */ mr r6, r27 +/* 8003389C 000307FC 7F E3 FB 78 */ mr r3, r31 +/* 800338A0 00030800 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800338A4 00030804 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 800338A8 00030808 38 A1 00 BC */ addi r5, r1, 0xbc +/* 800338AC 0003080C 3B 60 00 01 */ li r27, 1 +/* 800338B0 00030810 38 E0 00 01 */ li r7, 1 +/* 800338B4 00030814 48 31 FB 85 */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" +/* 800338B8 00030818 7C 7F 1B 78 */ mr r31, r3 +lbl_800338BC: +/* 800338BC 0003081C 7C 1F 00 D0 */ neg r0, r31 +/* 800338C0 00030820 93 E1 00 10 */ stw r31, 0x10(r1) +/* 800338C4 00030824 7C 00 FB 78 */ or r0, r0, r31 +/* 800338C8 00030828 38 61 00 14 */ addi r3, r1, 0x14 +/* 800338CC 0003082C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800338D0 00030830 38 81 00 0C */ addi r4, r1, 0xc +/* 800338D4 00030834 98 01 00 0C */ stb r0, 0xc(r1) +/* 800338D8 00030838 48 00 06 A5 */ bl sub_80033f7c +/* 800338DC 0003083C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 800338E0 00030840 38 00 00 00 */ li r0, 0 +/* 800338E4 00030844 98 01 00 14 */ stb r0, 0x14(r1) +/* 800338E8 00030848 7C 03 00 D0 */ neg r0, r3 +/* 800338EC 0003084C 7C 00 1B 78 */ or r0, r0, r3 +/* 800338F0 00030850 90 61 00 58 */ stw r3, 0x58(r1) +/* 800338F4 00030854 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800338F8 00030858 98 01 00 54 */ stb r0, 0x54(r1) +/* 800338FC 0003085C 48 00 00 1C */ b lbl_80033918 +/* 80033900 00030860 41 82 00 18 */ beq lbl_80033918 +/* 80033904 00030864 81 83 00 00 */ lwz r12, 0(r3) +/* 80033908 00030868 38 80 00 01 */ li r4, 1 +/* 8003390C 0003086C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80033910 00030870 7D 89 03 A6 */ mtctr r12 +/* 80033914 00030874 4E 80 04 21 */ bctrl +lbl_80033918: +/* 80033918 00030878 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8003391C 0003087C 28 00 00 00 */ cmplwi r0, 0 +/* 80033920 00030880 41 82 00 24 */ beq lbl_80033944 +/* 80033924 00030884 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80033928 00030888 28 03 00 00 */ cmplwi r3, 0 +/* 8003392C 0003088C 41 82 00 18 */ beq lbl_80033944 +/* 80033930 00030890 81 83 00 00 */ lwz r12, 0(r3) +/* 80033934 00030894 38 80 00 01 */ li r4, 1 +/* 80033938 00030898 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003393C 0003089C 7D 89 03 A6 */ mtctr r12 +/* 80033940 000308A0 4E 80 04 21 */ bctrl +lbl_80033944: +/* 80033944 000308A4 88 81 00 54 */ lbz r4, 0x54(r1) +/* 80033948 000308A8 38 00 00 00 */ li r0, 0 +/* 8003394C 000308AC 80 61 00 58 */ lwz r3, 0x58(r1) +/* 80033950 000308B0 98 9D 00 00 */ stb r4, 0(r29) +/* 80033954 000308B4 90 7D 00 04 */ stw r3, 4(r29) +/* 80033958 000308B8 98 01 00 54 */ stb r0, 0x54(r1) +/* 8003395C 000308BC 48 00 00 1C */ b lbl_80033978 +/* 80033960 000308C0 41 82 00 18 */ beq lbl_80033978 +/* 80033964 000308C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80033968 000308C8 38 80 00 01 */ li r4, 1 +/* 8003396C 000308CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80033970 000308D0 7D 89 03 A6 */ mtctr r12 +/* 80033974 000308D4 4E 80 04 21 */ bctrl +lbl_80033978: +/* 80033978 000308D8 7E E0 07 75 */ extsb. r0, r23 +/* 8003397C 000308DC 41 82 00 10 */ beq lbl_8003398C +/* 80033980 000308E0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80033984 000308E4 38 80 00 00 */ li r4, 0 +/* 80033988 000308E8 48 30 D4 B9 */ bl __dt__6CTokenFv +lbl_8003398C: +/* 8003398C 000308EC 7F 00 07 75 */ extsb. r0, r24 +/* 80033990 000308F0 41 82 00 10 */ beq lbl_800339A0 +/* 80033994 000308F4 38 61 00 5C */ addi r3, r1, 0x5c +/* 80033998 000308F8 38 80 FF FF */ li r4, -1 +/* 8003399C 000308FC 48 30 D4 A5 */ bl __dt__6CTokenFv +lbl_800339A0: +/* 800339A0 00030900 7F 20 07 75 */ extsb. r0, r25 +/* 800339A4 00030904 41 82 00 10 */ beq lbl_800339B4 +/* 800339A8 00030908 38 61 00 BC */ addi r3, r1, 0xbc +/* 800339AC 0003090C 38 80 00 00 */ li r4, 0 +/* 800339B0 00030910 48 30 D4 91 */ bl __dt__6CTokenFv +lbl_800339B4: +/* 800339B4 00030914 7F 40 07 75 */ extsb. r0, r26 +/* 800339B8 00030918 41 82 00 10 */ beq lbl_800339C8 +/* 800339BC 0003091C 38 61 00 6C */ addi r3, r1, 0x6c +/* 800339C0 00030920 38 80 FF FF */ li r4, -1 +/* 800339C4 00030924 48 30 D4 7D */ bl __dt__6CTokenFv +lbl_800339C8: +/* 800339C8 00030928 7F 60 07 75 */ extsb. r0, r27 +/* 800339CC 0003092C 41 82 00 10 */ beq lbl_800339DC +/* 800339D0 00030930 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800339D4 00030934 38 80 00 00 */ li r4, 0 +/* 800339D8 00030938 48 30 D4 69 */ bl __dt__6CTokenFv +lbl_800339DC: +/* 800339DC 0003093C 7F 80 07 75 */ extsb. r0, r28 +/* 800339E0 00030940 41 82 00 10 */ beq lbl_800339F0 +/* 800339E4 00030944 38 61 00 7C */ addi r3, r1, 0x7c +/* 800339E8 00030948 38 80 FF FF */ li r4, -1 +/* 800339EC 0003094C 48 30 D4 55 */ bl __dt__6CTokenFv +lbl_800339F0: +/* 800339F0 00030950 38 61 00 08 */ addi r3, r1, 8 +/* 800339F4 00030954 48 00 09 11 */ bl sub_80034304 +/* 800339F8 00030958 48 00 02 5C */ b lbl_80033C54 +lbl_800339FC: +/* 800339FC 0003095C 3C 60 80 3D */ lis r3, lbl_803CCD78@ha +/* 80033A00 00030960 3A E0 00 00 */ li r23, 0 +/* 80033A04 00030964 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l +/* 80033A08 00030968 3B 00 00 00 */ li r24, 0 +/* 80033A0C 0003096C 3B 20 00 00 */ li r25, 0 +/* 80033A10 00030970 3B 40 00 00 */ li r26, 0 +/* 80033A14 00030974 3B 60 00 00 */ li r27, 0 +/* 80033A18 00030978 3B 80 00 00 */ li r28, 0 +/* 80033A1C 0003097C 3A C0 00 00 */ li r22, 0 +/* 80033A20 00030980 38 60 00 44 */ li r3, 0x44 +/* 80033A24 00030984 38 A0 00 00 */ li r5, 0 +/* 80033A28 00030988 48 2E 1E 45 */ bl __nw__FUlPCcPCc +/* 80033A2C 0003098C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80033A30 00030990 41 82 01 38 */ beq lbl_80033B68 +/* 80033A34 00030994 80 DE 00 A8 */ lwz r6, 0xa8(r30) +/* 80033A38 00030998 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 80033A3C 0003099C 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 80033A40 000309A0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80033A44 000309A4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80033A48 000309A8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80033A4C 000309AC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80033A50 000309B0 90 C1 00 30 */ stw r6, 0x30(r1) +/* 80033A54 000309B4 81 84 00 00 */ lwz r12, 0(r4) +/* 80033A58 000309B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80033A5C 000309BC 7D 89 03 A6 */ mtctr r12 +/* 80033A60 000309C0 4E 80 04 21 */ bctrl +/* 80033A64 000309C4 3A C1 00 8C */ addi r22, r1, 0x8c +/* 80033A68 000309C8 38 81 00 24 */ addi r4, r1, 0x24 +/* 80033A6C 000309CC 7E C3 B3 78 */ mr r3, r22 +/* 80033A70 000309D0 3B 60 00 01 */ li r27, 1 +/* 80033A74 000309D4 48 30 D4 35 */ bl __ct__6CTokenFRC6CToken +/* 80033A78 000309D8 7E C3 B3 78 */ mr r3, r22 +/* 80033A7C 000309DC 48 30 D3 91 */ bl GetObj__6CTokenFv +/* 80033A80 000309E0 80 A3 00 04 */ lwz r5, 4(r3) +/* 80033A84 000309E4 3C 60 43 53 */ lis r3, 0x43534B52@ha +/* 80033A88 000309E8 38 03 4B 52 */ addi r0, r3, 0x43534B52@l +/* 80033A8C 000309EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80033A90 000309F0 90 A1 00 94 */ stw r5, 0x94(r1) +/* 80033A94 000309F4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80033A98 000309F8 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80033A9C 000309FC 3B 80 00 01 */ li r28, 1 +/* 80033AA0 00030A00 80 DE 00 AC */ lwz r6, 0xac(r30) +/* 80033AA4 00030A04 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80033AA8 00030A08 90 C1 00 40 */ stw r6, 0x40(r1) +/* 80033AAC 00030A0C 81 84 00 00 */ lwz r12, 0(r4) +/* 80033AB0 00030A10 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80033AB4 00030A14 7D 89 03 A6 */ mtctr r12 +/* 80033AB8 00030A18 4E 80 04 21 */ bctrl +/* 80033ABC 00030A1C 3A C1 00 98 */ addi r22, r1, 0x98 +/* 80033AC0 00030A20 38 81 00 34 */ addi r4, r1, 0x34 +/* 80033AC4 00030A24 7E C3 B3 78 */ mr r3, r22 +/* 80033AC8 00030A28 3B 20 00 01 */ li r25, 1 +/* 80033ACC 00030A2C 48 30 D3 DD */ bl __ct__6CTokenFRC6CToken +/* 80033AD0 00030A30 7E C3 B3 78 */ mr r3, r22 +/* 80033AD4 00030A34 48 30 D3 39 */ bl GetObj__6CTokenFv +/* 80033AD8 00030A38 80 A3 00 04 */ lwz r5, 4(r3) +/* 80033ADC 00030A3C 3C 60 43 49 */ lis r3, 0x43494E46@ha +/* 80033AE0 00030A40 38 03 4E 46 */ addi r0, r3, 0x43494E46@l +/* 80033AE4 00030A44 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80033AE8 00030A48 90 A1 00 A0 */ stw r5, 0xa0(r1) +/* 80033AEC 00030A4C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80033AF0 00030A50 38 A1 00 4C */ addi r5, r1, 0x4c +/* 80033AF4 00030A54 3B 40 00 01 */ li r26, 1 +/* 80033AF8 00030A58 80 DE 00 1C */ lwz r6, 0x1c(r30) +/* 80033AFC 00030A5C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80033B00 00030A60 90 C1 00 50 */ stw r6, 0x50(r1) +/* 80033B04 00030A64 81 84 00 00 */ lwz r12, 0(r4) +/* 80033B08 00030A68 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80033B0C 00030A6C 7D 89 03 A6 */ mtctr r12 +/* 80033B10 00030A70 4E 80 04 21 */ bctrl +/* 80033B14 00030A74 3A C1 00 A4 */ addi r22, r1, 0xa4 +/* 80033B18 00030A78 38 81 00 44 */ addi r4, r1, 0x44 +/* 80033B1C 00030A7C 7E C3 B3 78 */ mr r3, r22 +/* 80033B20 00030A80 3A E0 00 01 */ li r23, 1 +/* 80033B24 00030A84 48 30 D3 85 */ bl __ct__6CTokenFRC6CToken +/* 80033B28 00030A88 7E C3 B3 78 */ mr r3, r22 +/* 80033B2C 00030A8C 48 30 D2 E1 */ bl GetObj__6CTokenFv +/* 80033B30 00030A90 80 03 00 04 */ lwz r0, 4(r3) +/* 80033B34 00030A94 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80033B38 00030A98 38 81 00 8C */ addi r4, r1, 0x8c +/* 80033B3C 00030A9C 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80033B40 00030AA0 90 01 00 AC */ stw r0, 0xac(r1) +/* 80033B44 00030AA4 7E C6 B3 78 */ mr r6, r22 +/* 80033B48 00030AA8 3B 00 00 01 */ li r24, 1 +/* 80033B4C 00030AAC 38 E0 00 01 */ li r7, 1 +/* 80033B50 00030AB0 48 31 F8 E9 */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" +/* 80033B54 00030AB4 7F E3 FB 78 */ mr r3, r31 +/* 80033B58 00030AB8 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80033B5C 00030ABC 3A C0 00 01 */ li r22, 1 +/* 80033B60 00030AC0 48 32 3E 45 */ bl __ct__27CSkinnedModelWithAvgNormalsFRC13CSkinnedModel +/* 80033B64 00030AC4 7C 7F 1B 78 */ mr r31, r3 +lbl_80033B68: +/* 80033B68 00030AC8 7F E4 FB 78 */ mr r4, r31 +/* 80033B6C 00030ACC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80033B70 00030AD0 48 00 00 F9 */ bl sub_80033c68 +/* 80033B74 00030AD4 88 61 00 1C */ lbz r3, 0x1c(r1) +/* 80033B78 00030AD8 38 00 00 00 */ li r0, 0 +/* 80033B7C 00030ADC 98 7D 00 00 */ stb r3, 0(r29) +/* 80033B80 00030AE0 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80033B84 00030AE4 90 7D 00 04 */ stw r3, 4(r29) +/* 80033B88 00030AE8 98 01 00 1C */ stb r0, 0x1c(r1) +/* 80033B8C 00030AEC 48 00 00 1C */ b lbl_80033BA8 +/* 80033B90 00030AF0 41 82 00 18 */ beq lbl_80033BA8 +/* 80033B94 00030AF4 81 83 00 00 */ lwz r12, 0(r3) +/* 80033B98 00030AF8 38 80 00 01 */ li r4, 1 +/* 80033B9C 00030AFC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80033BA0 00030B00 7D 89 03 A6 */ mtctr r12 +/* 80033BA4 00030B04 4E 80 04 21 */ bctrl +lbl_80033BA8: +/* 80033BA8 00030B08 7E C0 07 75 */ extsb. r0, r22 +/* 80033BAC 00030B0C 41 82 00 10 */ beq lbl_80033BBC +/* 80033BB0 00030B10 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80033BB4 00030B14 38 80 FF FF */ li r4, -1 +/* 80033BB8 00030B18 48 31 F6 C5 */ bl __dt__13CSkinnedModelFv +lbl_80033BBC: +/* 80033BBC 00030B1C 7F 80 07 75 */ extsb. r0, r28 +/* 80033BC0 00030B20 41 82 00 10 */ beq lbl_80033BD0 +/* 80033BC4 00030B24 38 61 00 8C */ addi r3, r1, 0x8c +/* 80033BC8 00030B28 38 80 00 00 */ li r4, 0 +/* 80033BCC 00030B2C 48 30 D2 75 */ bl __dt__6CTokenFv +lbl_80033BD0: +/* 80033BD0 00030B30 7F 60 07 75 */ extsb. r0, r27 +/* 80033BD4 00030B34 41 82 00 10 */ beq lbl_80033BE4 +/* 80033BD8 00030B38 38 61 00 24 */ addi r3, r1, 0x24 +/* 80033BDC 00030B3C 38 80 FF FF */ li r4, -1 +/* 80033BE0 00030B40 48 30 D2 61 */ bl __dt__6CTokenFv +lbl_80033BE4: +/* 80033BE4 00030B44 7F 40 07 75 */ extsb. r0, r26 +/* 80033BE8 00030B48 41 82 00 10 */ beq lbl_80033BF8 +/* 80033BEC 00030B4C 38 61 00 98 */ addi r3, r1, 0x98 +/* 80033BF0 00030B50 38 80 00 00 */ li r4, 0 +/* 80033BF4 00030B54 48 30 D2 4D */ bl __dt__6CTokenFv +lbl_80033BF8: +/* 80033BF8 00030B58 7F 20 07 75 */ extsb. r0, r25 +/* 80033BFC 00030B5C 41 82 00 10 */ beq lbl_80033C0C +/* 80033C00 00030B60 38 61 00 34 */ addi r3, r1, 0x34 +/* 80033C04 00030B64 38 80 FF FF */ li r4, -1 +/* 80033C08 00030B68 48 30 D2 39 */ bl __dt__6CTokenFv +lbl_80033C0C: +/* 80033C0C 00030B6C 7F 00 07 75 */ extsb. r0, r24 +/* 80033C10 00030B70 41 82 00 10 */ beq lbl_80033C20 +/* 80033C14 00030B74 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80033C18 00030B78 38 80 00 00 */ li r4, 0 +/* 80033C1C 00030B7C 48 30 D2 25 */ bl __dt__6CTokenFv +lbl_80033C20: +/* 80033C20 00030B80 7E E0 07 75 */ extsb. r0, r23 +/* 80033C24 00030B84 41 82 00 10 */ beq lbl_80033C34 +/* 80033C28 00030B88 38 61 00 44 */ addi r3, r1, 0x44 +/* 80033C2C 00030B8C 38 80 FF FF */ li r4, -1 +/* 80033C30 00030B90 48 30 D2 11 */ bl __dt__6CTokenFv +lbl_80033C34: +/* 80033C34 00030B94 38 61 00 08 */ addi r3, r1, 8 +/* 80033C38 00030B98 48 00 06 CD */ bl sub_80034304 +/* 80033C3C 00030B9C 48 00 00 18 */ b lbl_80033C54 +lbl_80033C40: +/* 80033C40 00030BA0 38 00 00 00 */ li r0, 0 +/* 80033C44 00030BA4 38 61 00 08 */ addi r3, r1, 8 +/* 80033C48 00030BA8 98 1D 00 00 */ stb r0, 0(r29) +/* 80033C4C 00030BAC 90 1D 00 04 */ stw r0, 4(r29) +/* 80033C50 00030BB0 48 00 06 B5 */ bl sub_80034304 +lbl_80033C54: +/* 80033C54 00030BB4 BA C1 01 18 */ lmw r22, 0x118(r1) +/* 80033C58 00030BB8 80 01 01 44 */ lwz r0, 0x144(r1) +/* 80033C5C 00030BBC 7C 08 03 A6 */ mtlr r0 +/* 80033C60 00030BC0 38 21 01 40 */ addi r1, r1, 0x140 +/* 80033C64 00030BC4 4E 80 00 20 */ blr + +.global sub_80033c68 +sub_80033c68: +/* 80033C68 00030BC8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80033C6C 00030BCC 7C 08 02 A6 */ mflr r0 +/* 80033C70 00030BD0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80033C74 00030BD4 7C 04 00 D0 */ neg r0, r4 +/* 80033C78 00030BD8 7C 00 23 78 */ or r0, r0, r4 +/* 80033C7C 00030BDC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80033C80 00030BE0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80033C84 00030BE4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80033C88 00030BE8 7C 7E 1B 78 */ mr r30, r3 +/* 80033C8C 00030BEC 38 61 00 08 */ addi r3, r1, 8 +/* 80033C90 00030BF0 90 81 00 14 */ stw r4, 0x14(r1) +/* 80033C94 00030BF4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80033C98 00030BF8 98 01 00 10 */ stb r0, 0x10(r1) +/* 80033C9C 00030BFC 48 00 01 79 */ bl sub_80033e14 +/* 80033CA0 00030C00 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80033CA4 00030C04 38 00 00 00 */ li r0, 0 +/* 80033CA8 00030C08 98 01 00 08 */ stb r0, 8(r1) +/* 80033CAC 00030C0C 7C 03 00 D0 */ neg r0, r3 +/* 80033CB0 00030C10 7C 00 1B 78 */ or r0, r0, r3 +/* 80033CB4 00030C14 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80033CB8 00030C18 98 1E 00 00 */ stb r0, 0(r30) +/* 80033CBC 00030C1C 90 7E 00 04 */ stw r3, 4(r30) +/* 80033CC0 00030C20 88 01 00 08 */ lbz r0, 8(r1) +/* 80033CC4 00030C24 28 00 00 00 */ cmplwi r0, 0 +/* 80033CC8 00030C28 41 82 00 24 */ beq lbl_80033CEC +/* 80033CCC 00030C2C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80033CD0 00030C30 28 03 00 00 */ cmplwi r3, 0 +/* 80033CD4 00030C34 41 82 00 18 */ beq lbl_80033CEC +/* 80033CD8 00030C38 81 83 00 00 */ lwz r12, 0(r3) +/* 80033CDC 00030C3C 38 80 00 01 */ li r4, 1 +/* 80033CE0 00030C40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80033CE4 00030C44 7D 89 03 A6 */ mtctr r12 +/* 80033CE8 00030C48 4E 80 04 21 */ bctrl +lbl_80033CEC: +/* 80033CEC 00030C4C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80033CF0 00030C50 28 00 00 00 */ cmplwi r0, 0 +/* 80033CF4 00030C54 41 82 00 40 */ beq lbl_80033D34 +/* 80033CF8 00030C58 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80033CFC 00030C5C 28 1F 00 00 */ cmplwi r31, 0 +/* 80033D00 00030C60 41 82 00 34 */ beq lbl_80033D34 +/* 80033D04 00030C64 34 1F 00 3C */ addic. r0, r31, 0x3c +/* 80033D08 00030C68 41 82 00 18 */ beq lbl_80033D20 +/* 80033D0C 00030C6C 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 80033D10 00030C70 28 00 00 00 */ cmplwi r0, 0 +/* 80033D14 00030C74 41 82 00 0C */ beq lbl_80033D20 +/* 80033D18 00030C78 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80033D1C 00030C7C 48 2E 1C 15 */ bl Free__7CMemoryFPCv +lbl_80033D20: +/* 80033D20 00030C80 7F E3 FB 78 */ mr r3, r31 +/* 80033D24 00030C84 38 80 FF FF */ li r4, -1 +/* 80033D28 00030C88 48 31 F5 55 */ bl __dt__13CSkinnedModelFv +/* 80033D2C 00030C8C 7F E3 FB 78 */ mr r3, r31 +/* 80033D30 00030C90 48 2E 1C 01 */ bl Free__7CMemoryFPCv +lbl_80033D34: +/* 80033D34 00030C94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80033D38 00030C98 7F C3 F3 78 */ mr r3, r30 +/* 80033D3C 00030C9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80033D40 00030CA0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80033D44 00030CA4 7C 08 03 A6 */ mtlr r0 +/* 80033D48 00030CA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80033D4C 00030CAC 4E 80 00 20 */ blr + +.global sub_80033d50 +sub_80033d50: +/* 80033D50 00030CB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80033D54 00030CB4 7C 08 02 A6 */ mflr r0 +/* 80033D58 00030CB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80033D5C 00030CBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80033D60 00030CC0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80033D64 00030CC4 7C 9E 23 78 */ mr r30, r4 +/* 80033D68 00030CC8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80033D6C 00030CCC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80033D70 00030CD0 41 82 00 84 */ beq lbl_80033DF4 +/* 80033D74 00030CD4 3C 60 80 3E */ lis r3, lbl_803D9BD4@ha +/* 80033D78 00030CD8 38 03 9B D4 */ addi r0, r3, lbl_803D9BD4@l +/* 80033D7C 00030CDC 90 1D 00 00 */ stw r0, 0(r29) +/* 80033D80 00030CE0 83 FD 00 04 */ lwz r31, 4(r29) +/* 80033D84 00030CE4 28 1F 00 00 */ cmplwi r31, 0 +/* 80033D88 00030CE8 41 82 00 38 */ beq lbl_80033DC0 +/* 80033D8C 00030CEC 41 82 00 34 */ beq lbl_80033DC0 +/* 80033D90 00030CF0 34 1F 00 3C */ addic. r0, r31, 0x3c +/* 80033D94 00030CF4 41 82 00 18 */ beq lbl_80033DAC +/* 80033D98 00030CF8 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 80033D9C 00030CFC 28 00 00 00 */ cmplwi r0, 0 +/* 80033DA0 00030D00 41 82 00 0C */ beq lbl_80033DAC +/* 80033DA4 00030D04 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80033DA8 00030D08 48 2E 1B 89 */ bl Free__7CMemoryFPCv +lbl_80033DAC: +/* 80033DAC 00030D0C 7F E3 FB 78 */ mr r3, r31 +/* 80033DB0 00030D10 38 80 FF FF */ li r4, -1 +/* 80033DB4 00030D14 48 31 F4 C9 */ bl __dt__13CSkinnedModelFv +/* 80033DB8 00030D18 7F E3 FB 78 */ mr r3, r31 +/* 80033DBC 00030D1C 48 2E 1B 75 */ bl Free__7CMemoryFPCv +lbl_80033DC0: +/* 80033DC0 00030D20 28 1D 00 00 */ cmplwi r29, 0 +/* 80033DC4 00030D24 41 82 00 20 */ beq lbl_80033DE4 +/* 80033DC8 00030D28 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80033DCC 00030D2C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80033DD0 00030D30 90 1D 00 00 */ stw r0, 0(r29) +/* 80033DD4 00030D34 41 82 00 10 */ beq lbl_80033DE4 +/* 80033DD8 00030D38 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80033DDC 00030D3C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80033DE0 00030D40 90 1D 00 00 */ stw r0, 0(r29) +lbl_80033DE4: +/* 80033DE4 00030D44 7F C0 07 35 */ extsh. r0, r30 +/* 80033DE8 00030D48 40 81 00 0C */ ble lbl_80033DF4 +/* 80033DEC 00030D4C 7F A3 EB 78 */ mr r3, r29 +/* 80033DF0 00030D50 48 2E 1B 41 */ bl Free__7CMemoryFPCv +lbl_80033DF4: +/* 80033DF4 00030D54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80033DF8 00030D58 7F A3 EB 78 */ mr r3, r29 +/* 80033DFC 00030D5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80033E00 00030D60 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80033E04 00030D64 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80033E08 00030D68 7C 08 03 A6 */ mtlr r0 +/* 80033E0C 00030D6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80033E10 00030D70 4E 80 00 20 */ blr + +.global sub_80033e14 +sub_80033e14: +/* 80033E14 00030D74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80033E18 00030D78 7C 08 02 A6 */ mflr r0 +/* 80033E1C 00030D7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80033E20 00030D80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80033E24 00030D84 7C 7F 1B 78 */ mr r31, r3 +/* 80033E28 00030D88 48 00 00 19 */ bl sub_80033e40 +/* 80033E2C 00030D8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80033E30 00030D90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80033E34 00030D94 7C 08 03 A6 */ mtlr r0 +/* 80033E38 00030D98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80033E3C 00030D9C 4E 80 00 20 */ blr + +.global sub_80033e40 +sub_80033e40: +/* 80033E40 00030DA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80033E44 00030DA4 7C 08 02 A6 */ mflr r0 +/* 80033E48 00030DA8 3C A0 80 3D */ lis r5, lbl_803CCD78@ha +/* 80033E4C 00030DAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80033E50 00030DB0 38 05 CD 78 */ addi r0, r5, lbl_803CCD78@l +/* 80033E54 00030DB4 38 A0 00 00 */ li r5, 0 +/* 80033E58 00030DB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80033E5C 00030DBC 7C 9F 23 78 */ mr r31, r4 +/* 80033E60 00030DC0 7C 04 03 78 */ mr r4, r0 +/* 80033E64 00030DC4 93 C1 00 08 */ stw r30, 8(r1) +/* 80033E68 00030DC8 7C 7E 1B 78 */ mr r30, r3 +/* 80033E6C 00030DCC 38 60 00 08 */ li r3, 8 +/* 80033E70 00030DD0 48 2E 19 FD */ bl __nw__FUlPCcPCc +/* 80033E74 00030DD4 28 03 00 00 */ cmplwi r3, 0 +/* 80033E78 00030DD8 41 82 00 38 */ beq lbl_80033EB0 +/* 80033E7C 00030DDC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80033E80 00030DE0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80033E84 00030DE4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80033E88 00030DE8 3C 80 80 3E */ lis r4, lbl_803D9BD4@ha +/* 80033E8C 00030DEC 90 03 00 00 */ stw r0, 0(r3) +/* 80033E90 00030DF0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80033E94 00030DF4 38 A0 00 00 */ li r5, 0 +/* 80033E98 00030DF8 38 04 9B D4 */ addi r0, r4, lbl_803D9BD4@l +/* 80033E9C 00030DFC 90 C3 00 00 */ stw r6, 0(r3) +/* 80033EA0 00030E00 98 BF 00 00 */ stb r5, 0(r31) +/* 80033EA4 00030E04 80 9F 00 04 */ lwz r4, 4(r31) +/* 80033EA8 00030E08 90 83 00 04 */ stw r4, 4(r3) +/* 80033EAC 00030E0C 90 03 00 00 */ stw r0, 0(r3) +lbl_80033EB0: +/* 80033EB0 00030E10 7C 03 00 D0 */ neg r0, r3 +/* 80033EB4 00030E14 7C 00 1B 78 */ or r0, r0, r3 +/* 80033EB8 00030E18 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80033EBC 00030E1C 98 1E 00 00 */ stb r0, 0(r30) +/* 80033EC0 00030E20 90 7E 00 04 */ stw r3, 4(r30) +/* 80033EC4 00030E24 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80033EC8 00030E28 83 C1 00 08 */ lwz r30, 8(r1) +/* 80033ECC 00030E2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80033ED0 00030E30 7C 08 03 A6 */ mtlr r0 +/* 80033ED4 00030E34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80033ED8 00030E38 4E 80 00 20 */ blr + +.global sub_80033edc +sub_80033edc: +/* 80033EDC 00030E3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80033EE0 00030E40 7C 08 02 A6 */ mflr r0 +/* 80033EE4 00030E44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80033EE8 00030E48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80033EEC 00030E4C 7C 9F 23 78 */ mr r31, r4 +/* 80033EF0 00030E50 93 C1 00 08 */ stw r30, 8(r1) +/* 80033EF4 00030E54 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80033EF8 00030E58 41 82 00 68 */ beq lbl_80033F60 +/* 80033EFC 00030E5C 3C 60 80 3E */ lis r3, lbl_803D9BC8@ha +/* 80033F00 00030E60 38 03 9B C8 */ addi r0, r3, lbl_803D9BC8@l +/* 80033F04 00030E64 90 1E 00 00 */ stw r0, 0(r30) +/* 80033F08 00030E68 80 7E 00 04 */ lwz r3, 4(r30) +/* 80033F0C 00030E6C 28 03 00 00 */ cmplwi r3, 0 +/* 80033F10 00030E70 41 82 00 1C */ beq lbl_80033F2C +/* 80033F14 00030E74 41 82 00 18 */ beq lbl_80033F2C +/* 80033F18 00030E78 81 83 00 00 */ lwz r12, 0(r3) +/* 80033F1C 00030E7C 38 80 00 01 */ li r4, 1 +/* 80033F20 00030E80 81 8C 00 08 */ lwz r12, 8(r12) +/* 80033F24 00030E84 7D 89 03 A6 */ mtctr r12 +/* 80033F28 00030E88 4E 80 04 21 */ bctrl +lbl_80033F2C: +/* 80033F2C 00030E8C 28 1E 00 00 */ cmplwi r30, 0 +/* 80033F30 00030E90 41 82 00 20 */ beq lbl_80033F50 +/* 80033F34 00030E94 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80033F38 00030E98 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80033F3C 00030E9C 90 1E 00 00 */ stw r0, 0(r30) +/* 80033F40 00030EA0 41 82 00 10 */ beq lbl_80033F50 +/* 80033F44 00030EA4 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80033F48 00030EA8 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80033F4C 00030EAC 90 1E 00 00 */ stw r0, 0(r30) +lbl_80033F50: +/* 80033F50 00030EB0 7F E0 07 35 */ extsh. r0, r31 +/* 80033F54 00030EB4 40 81 00 0C */ ble lbl_80033F60 +/* 80033F58 00030EB8 7F C3 F3 78 */ mr r3, r30 +/* 80033F5C 00030EBC 48 2E 19 D5 */ bl Free__7CMemoryFPCv +lbl_80033F60: +/* 80033F60 00030EC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80033F64 00030EC4 7F C3 F3 78 */ mr r3, r30 +/* 80033F68 00030EC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80033F6C 00030ECC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80033F70 00030ED0 7C 08 03 A6 */ mtlr r0 +/* 80033F74 00030ED4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80033F78 00030ED8 4E 80 00 20 */ blr + +.global sub_80033f7c +sub_80033f7c: +/* 80033F7C 00030EDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80033F80 00030EE0 7C 08 02 A6 */ mflr r0 +/* 80033F84 00030EE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80033F88 00030EE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80033F8C 00030EEC 7C 7F 1B 78 */ mr r31, r3 +/* 80033F90 00030EF0 48 00 00 19 */ bl sub_80033fa8 +/* 80033F94 00030EF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80033F98 00030EF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80033F9C 00030EFC 7C 08 03 A6 */ mtlr r0 +/* 80033FA0 00030F00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80033FA4 00030F04 4E 80 00 20 */ blr + +.global sub_80033fa8 +sub_80033fa8: +/* 80033FA8 00030F08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80033FAC 00030F0C 7C 08 02 A6 */ mflr r0 +/* 80033FB0 00030F10 3C A0 80 3D */ lis r5, lbl_803CCD78@ha +/* 80033FB4 00030F14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80033FB8 00030F18 38 05 CD 78 */ addi r0, r5, lbl_803CCD78@l +/* 80033FBC 00030F1C 38 A0 00 00 */ li r5, 0 +/* 80033FC0 00030F20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80033FC4 00030F24 7C 9F 23 78 */ mr r31, r4 +/* 80033FC8 00030F28 7C 04 03 78 */ mr r4, r0 +/* 80033FCC 00030F2C 93 C1 00 08 */ stw r30, 8(r1) +/* 80033FD0 00030F30 7C 7E 1B 78 */ mr r30, r3 +/* 80033FD4 00030F34 38 60 00 08 */ li r3, 8 +/* 80033FD8 00030F38 48 2E 18 95 */ bl __nw__FUlPCcPCc +/* 80033FDC 00030F3C 28 03 00 00 */ cmplwi r3, 0 +/* 80033FE0 00030F40 41 82 00 38 */ beq lbl_80034018 +/* 80033FE4 00030F44 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80033FE8 00030F48 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80033FEC 00030F4C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80033FF0 00030F50 3C 80 80 3E */ lis r4, lbl_803D9BC8@ha +/* 80033FF4 00030F54 90 03 00 00 */ stw r0, 0(r3) +/* 80033FF8 00030F58 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80033FFC 00030F5C 38 A0 00 00 */ li r5, 0 +/* 80034000 00030F60 38 04 9B C8 */ addi r0, r4, lbl_803D9BC8@l +/* 80034004 00030F64 90 C3 00 00 */ stw r6, 0(r3) +/* 80034008 00030F68 98 BF 00 00 */ stb r5, 0(r31) +/* 8003400C 00030F6C 80 9F 00 04 */ lwz r4, 4(r31) +/* 80034010 00030F70 90 83 00 04 */ stw r4, 4(r3) +/* 80034014 00030F74 90 03 00 00 */ stw r0, 0(r3) +lbl_80034018: +/* 80034018 00030F78 7C 03 00 D0 */ neg r0, r3 +/* 8003401C 00030F7C 7C 00 1B 78 */ or r0, r0, r3 +/* 80034020 00030F80 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80034024 00030F84 98 1E 00 00 */ stb r0, 0(r30) +/* 80034028 00030F88 90 7E 00 04 */ stw r3, 4(r30) +/* 8003402C 00030F8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80034030 00030F90 83 C1 00 08 */ lwz r30, 8(r1) +/* 80034034 00030F94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80034038 00030F98 7C 08 03 A6 */ mtlr r0 +/* 8003403C 00030F9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80034040 00030FA0 4E 80 00 20 */ blr + +.global __dt__17CCharacterFactoryFv +__dt__17CCharacterFactoryFv: +/* 80034044 00030FA4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80034048 00030FA8 7C 08 02 A6 */ mflr r0 +/* 8003404C 00030FAC 90 01 00 54 */ stw r0, 0x54(r1) +/* 80034050 00030FB0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80034054 00030FB4 7C 9F 23 78 */ mr r31, r4 +/* 80034058 00030FB8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8003405C 00030FBC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80034060 00030FC0 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80034064 00030FC4 93 81 00 40 */ stw r28, 0x40(r1) +/* 80034068 00030FC8 41 82 01 9C */ beq lbl_80034204 +/* 8003406C 00030FCC 3C 80 80 3E */ lis r4, lbl_803D9C20@ha +/* 80034070 00030FD0 38 7E 00 70 */ addi r3, r30, 0x70 +/* 80034074 00030FD4 38 04 9C 20 */ addi r0, r4, lbl_803D9C20@l +/* 80034078 00030FD8 38 80 FF FF */ li r4, -1 +/* 8003407C 00030FDC 90 1E 00 00 */ stw r0, 0(r30) +/* 80034080 00030FE0 48 30 C6 89 */ bl __dt__11CSimplePool +/* 80034084 00030FE4 34 1E 00 6C */ addic. r0, r30, 0x6c +/* 80034088 00030FE8 41 82 00 24 */ beq lbl_800340AC +/* 8003408C 00030FEC 3C 60 80 3E */ lis r3, lbl_803D9BA8@ha +/* 80034090 00030FF0 34 1E 00 6C */ addic. r0, r30, 0x6c +/* 80034094 00030FF4 38 03 9B A8 */ addi r0, r3, lbl_803D9BA8@l +/* 80034098 00030FF8 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 8003409C 00030FFC 41 82 00 10 */ beq lbl_800340AC +/* 800340A0 00031000 3C 60 80 3E */ lis r3, lbl_803D9C50@ha +/* 800340A4 00031004 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l +/* 800340A8 00031008 90 1E 00 6C */ stw r0, 0x6c(r30) +lbl_800340AC: +/* 800340AC 0003100C 34 1E 00 58 */ addic. r0, r30, 0x58 +/* 800340B0 00031010 41 82 00 44 */ beq lbl_800340F4 +/* 800340B4 00031014 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 800340B8 00031018 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 800340BC 0003101C 54 00 18 38 */ slwi r0, r0, 3 +/* 800340C0 00031020 7C 03 02 14 */ add r0, r3, r0 +/* 800340C4 00031024 90 61 00 2C */ stw r3, 0x2c(r1) +/* 800340C8 00031028 7C 64 1B 78 */ mr r4, r3 +/* 800340CC 0003102C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800340D0 00031030 90 01 00 30 */ stw r0, 0x30(r1) +/* 800340D4 00031034 90 61 00 28 */ stw r3, 0x28(r1) +/* 800340D8 00031038 48 00 00 08 */ b lbl_800340E0 +lbl_800340DC: +/* 800340DC 0003103C 38 84 00 08 */ addi r4, r4, 8 +lbl_800340E0: +/* 800340E0 00031040 7C 04 00 40 */ cmplw r4, r0 +/* 800340E4 00031044 40 82 FF F8 */ bne lbl_800340DC +/* 800340E8 00031048 28 03 00 00 */ cmplwi r3, 0 +/* 800340EC 0003104C 41 82 00 08 */ beq lbl_800340F4 +/* 800340F0 00031050 48 2E 18 41 */ bl Free__7CMemoryFPCv +lbl_800340F4: +/* 800340F4 00031054 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 800340F8 00031058 41 82 00 44 */ beq lbl_8003413C +/* 800340FC 0003105C 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 80034100 00031060 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 80034104 00031064 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80034108 00031068 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8003410C 0003106C 7C 64 1B 78 */ mr r4, r3 +/* 80034110 00031070 7C 03 02 14 */ add r0, r3, r0 +/* 80034114 00031074 90 61 00 18 */ stw r3, 0x18(r1) +/* 80034118 00031078 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003411C 0003107C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80034120 00031080 48 00 00 08 */ b lbl_80034128 +lbl_80034124: +/* 80034124 00031084 38 84 00 0C */ addi r4, r4, 0xc +lbl_80034128: +/* 80034128 00031088 7C 04 00 40 */ cmplw r4, r0 +/* 8003412C 0003108C 40 82 FF F8 */ bne lbl_80034124 +/* 80034130 00031090 28 03 00 00 */ cmplwi r3, 0 +/* 80034134 00031094 41 82 00 08 */ beq lbl_8003413C +/* 80034138 00031098 48 2E 17 F9 */ bl Free__7CMemoryFPCv +lbl_8003413C: +/* 8003413C 0003109C 38 7E 00 30 */ addi r3, r30, 0x30 +/* 80034140 000310A0 38 80 FF FF */ li r4, -1 +/* 80034144 000310A4 4B FF F4 8D */ bl "__dt__Q24rstl20rc_ptr<10IMetaTrans>Fv" +/* 80034148 000310A8 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 8003414C 000310AC 41 82 00 0C */ beq lbl_80034158 +/* 80034150 000310B0 38 7E 00 2C */ addi r3, r30, 0x2c +/* 80034154 000310B4 4B FF D3 09 */ bl sub_8003145c +lbl_80034158: +/* 80034158 000310B8 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 8003415C 000310BC 41 82 00 0C */ beq lbl_80034168 +/* 80034160 000310C0 38 7E 00 28 */ addi r3, r30, 0x28 +/* 80034164 000310C4 4B FF D2 49 */ bl sub_800313ac +lbl_80034168: +/* 80034168 000310C8 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 8003416C 000310CC 41 82 00 14 */ beq lbl_80034180 +/* 80034170 000310D0 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 80034174 000310D4 41 82 00 0C */ beq lbl_80034180 +/* 80034178 000310D8 38 7E 00 24 */ addi r3, r30, 0x24 +/* 8003417C 000310DC 4B FF D3 7D */ bl sub_800314f8 +lbl_80034180: +/* 80034180 000310E0 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80034184 000310E4 41 82 00 58 */ beq lbl_800341DC +/* 80034188 000310E8 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8003418C 000310EC 83 9E 00 20 */ lwz r28, 0x20(r30) +/* 80034190 000310F0 54 00 18 38 */ slwi r0, r0, 3 +/* 80034194 000310F4 7F BC 02 14 */ add r29, r28, r0 +/* 80034198 000310F8 93 81 00 0C */ stw r28, 0xc(r1) +/* 8003419C 000310FC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800341A0 00031100 93 A1 00 10 */ stw r29, 0x10(r1) +/* 800341A4 00031104 93 81 00 08 */ stw r28, 8(r1) +/* 800341A8 00031108 48 00 00 1C */ b lbl_800341C4 +lbl_800341AC: +/* 800341AC 0003110C 28 1C 00 00 */ cmplwi r28, 0 +/* 800341B0 00031110 41 82 00 10 */ beq lbl_800341C0 +/* 800341B4 00031114 7F 83 E3 78 */ mr r3, r28 +/* 800341B8 00031118 38 80 00 00 */ li r4, 0 +/* 800341BC 0003111C 48 30 CC 85 */ bl __dt__6CTokenFv +lbl_800341C0: +/* 800341C0 00031120 3B 9C 00 08 */ addi r28, r28, 8 +lbl_800341C4: +/* 800341C4 00031124 7C 1C E8 40 */ cmplw r28, r29 +/* 800341C8 00031128 40 82 FF E4 */ bne lbl_800341AC +/* 800341CC 0003112C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 800341D0 00031130 28 03 00 00 */ cmplwi r3, 0 +/* 800341D4 00031134 41 82 00 08 */ beq lbl_800341DC +/* 800341D8 00031138 48 2E 17 59 */ bl Free__7CMemoryFPCv +lbl_800341DC: +/* 800341DC 0003113C 38 7E 00 04 */ addi r3, r30, 4 +/* 800341E0 00031140 38 80 FF FF */ li r4, -1 +/* 800341E4 00031144 4B FF E0 61 */ bl sub_80032244 +/* 800341E8 00031148 7F C3 F3 78 */ mr r3, r30 +/* 800341EC 0003114C 38 80 00 00 */ li r4, 0 +/* 800341F0 00031150 48 00 0B CD */ bl sub_80034dbc +/* 800341F4 00031154 7F E0 07 35 */ extsh. r0, r31 +/* 800341F8 00031158 40 81 00 0C */ ble lbl_80034204 +/* 800341FC 0003115C 7F C3 F3 78 */ mr r3, r30 +/* 80034200 00031160 48 2E 17 31 */ bl Free__7CMemoryFPCv +lbl_80034204: +/* 80034204 00031164 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80034208 00031168 7F C3 F3 78 */ mr r3, r30 +/* 8003420C 0003116C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80034210 00031170 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80034214 00031174 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80034218 00031178 83 81 00 40 */ lwz r28, 0x40(r1) +/* 8003421C 0003117C 7C 08 03 A6 */ mtlr r0 +/* 80034220 00031180 38 21 00 50 */ addi r1, r1, 0x50 +/* 80034224 00031184 4E 80 00 20 */ blr + +.global sub_80034228 +sub_80034228: +/* 80034228 00031188 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003422C 0003118C 7C 08 02 A6 */ mflr r0 +/* 80034230 00031190 90 01 00 14 */ stw r0, 0x14(r1) +/* 80034234 00031194 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80034238 00031198 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8003423C 0003119C 41 82 00 40 */ beq lbl_8003427C +/* 80034240 000311A0 3C 60 80 3E */ lis r3, lbl_803D9C38@ha +/* 80034244 000311A4 38 03 9C 38 */ addi r0, r3, lbl_803D9C38@l +/* 80034248 000311A8 90 1F 00 00 */ stw r0, 0(r31) +/* 8003424C 000311AC 41 82 00 20 */ beq lbl_8003426C +/* 80034250 000311B0 3C 60 80 3E */ lis r3, lbl_803D9C44@ha +/* 80034254 000311B4 38 03 9C 44 */ addi r0, r3, lbl_803D9C44@l +/* 80034258 000311B8 90 1F 00 00 */ stw r0, 0(r31) +/* 8003425C 000311BC 41 82 00 10 */ beq lbl_8003426C +/* 80034260 000311C0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80034264 000311C4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80034268 000311C8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8003426C: +/* 8003426C 000311CC 7C 80 07 35 */ extsh. r0, r4 +/* 80034270 000311D0 40 81 00 0C */ ble lbl_8003427C +/* 80034274 000311D4 7F E3 FB 78 */ mr r3, r31 +/* 80034278 000311D8 48 2E 16 B9 */ bl Free__7CMemoryFPCv +lbl_8003427C: +/* 8003427C 000311DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80034280 000311E0 7F E3 FB 78 */ mr r3, r31 +/* 80034284 000311E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80034288 000311E8 7C 08 03 A6 */ mtlr r0 +/* 8003428C 000311EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80034290 000311F0 4E 80 00 20 */ blr + +.global __dt__17CMetaTransFactoryFv +__dt__17CMetaTransFactoryFv: +/* 80034294 000311F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80034298 000311F8 7C 08 02 A6 */ mflr r0 +/* 8003429C 000311FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800342A0 00031200 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800342A4 00031204 7C 7F 1B 78 */ mr r31, r3 +/* 800342A8 00031208 80 83 00 00 */ lwz r4, 0(r3) +/* 800342AC 0003120C 80 64 00 04 */ lwz r3, 4(r4) +/* 800342B0 00031210 34 03 FF FF */ addic. r0, r3, -1 +/* 800342B4 00031214 90 04 00 04 */ stw r0, 4(r4) +/* 800342B8 00031218 41 81 00 38 */ bgt lbl_800342F0 +/* 800342BC 0003121C 80 7F 00 00 */ lwz r3, 0(r31) +/* 800342C0 00031220 80 63 00 00 */ lwz r3, 0(r3) +/* 800342C4 00031224 28 03 00 00 */ cmplwi r3, 0 +/* 800342C8 00031228 41 82 00 18 */ beq lbl_800342E0 +/* 800342CC 0003122C 81 83 00 00 */ lwz r12, 0(r3) +/* 800342D0 00031230 38 80 00 01 */ li r4, 1 +/* 800342D4 00031234 81 8C 00 08 */ lwz r12, 8(r12) +/* 800342D8 00031238 7D 89 03 A6 */ mtctr r12 +/* 800342DC 0003123C 4E 80 04 21 */ bctrl +lbl_800342E0: +/* 800342E0 00031240 80 7F 00 00 */ lwz r3, 0(r31) +/* 800342E4 00031244 28 03 00 00 */ cmplwi r3, 0 +/* 800342E8 00031248 41 82 00 08 */ beq lbl_800342F0 +/* 800342EC 0003124C 48 2E 16 45 */ bl Free__7CMemoryFPCv +lbl_800342F0: +/* 800342F0 00031250 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800342F4 00031254 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800342F8 00031258 7C 08 03 A6 */ mtlr r0 +/* 800342FC 0003125C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80034300 00031260 4E 80 00 20 */ blr + +.global sub_80034304 +sub_80034304: +/* 80034304 00031264 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80034308 00031268 7C 08 02 A6 */ mflr r0 +/* 8003430C 0003126C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80034310 00031270 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80034314 00031274 7C 7F 1B 78 */ mr r31, r3 +/* 80034318 00031278 80 83 00 00 */ lwz r4, 0(r3) +/* 8003431C 0003127C 80 64 00 04 */ lwz r3, 4(r4) +/* 80034320 00031280 34 03 FF FF */ addic. r0, r3, -1 +/* 80034324 00031284 90 04 00 04 */ stw r0, 4(r4) +/* 80034328 00031288 41 81 00 38 */ bgt lbl_80034360 +/* 8003432C 0003128C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80034330 00031290 80 63 00 00 */ lwz r3, 0(r3) +/* 80034334 00031294 28 03 00 00 */ cmplwi r3, 0 +/* 80034338 00031298 41 82 00 18 */ beq lbl_80034350 +/* 8003433C 0003129C 81 83 00 00 */ lwz r12, 0(r3) +/* 80034340 000312A0 38 80 00 01 */ li r4, 1 +/* 80034344 000312A4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80034348 000312A8 7D 89 03 A6 */ mtctr r12 +/* 8003434C 000312AC 4E 80 04 21 */ bctrl +lbl_80034350: +/* 80034350 000312B0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80034354 000312B4 28 03 00 00 */ cmplwi r3, 0 +/* 80034358 000312B8 41 82 00 08 */ beq lbl_80034360 +/* 8003435C 000312BC 48 2E 15 D5 */ bl Free__7CMemoryFPCv +lbl_80034360: +/* 80034360 000312C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80034364 000312C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80034368 000312C8 7C 08 03 A6 */ mtlr r0 +/* 8003436C 000312CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80034370 000312D0 4E 80 00 20 */ blr + +.global sub_80034374 +sub_80034374: +/* 80034374 000312D4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80034378 000312D8 7C 08 02 A6 */ mflr r0 +/* 8003437C 000312DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80034380 000312E0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80034384 000312E4 7C 9F 23 78 */ mr r31, r4 +/* 80034388 000312E8 7C 7E 1B 78 */ mr r30, r3 +/* 8003438C 000312EC 7C DB 33 78 */ mr r27, r6 +/* 80034390 000312F0 38 61 00 0C */ addi r3, r1, 0xc +/* 80034394 000312F4 80 85 00 00 */ lwz r4, 0(r5) +/* 80034398 000312F8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8003439C 000312FC 90 81 00 08 */ stw r4, 8(r1) +/* 800343A0 00031300 38 81 00 08 */ addi r4, r1, 8 +/* 800343A4 00031304 90 01 00 0C */ stw r0, 0xc(r1) +/* 800343A8 00031308 48 00 04 49 */ bl "distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 800343AC 0003130C 80 1F 00 00 */ lwz r0, 0(r31) +/* 800343B0 00031310 7C 7D 1B 78 */ mr r29, r3 +/* 800343B4 00031314 90 01 00 10 */ stw r0, 0x10(r1) +/* 800343B8 00031318 48 00 00 58 */ b lbl_80034410 +lbl_800343BC: +/* 800343BC 0003131C 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 800343C0 00031320 80 1F 00 00 */ lwz r0, 0(r31) +/* 800343C4 00031324 7C 83 EA 14 */ add r4, r3, r29 +/* 800343C8 00031328 38 61 00 10 */ addi r3, r1, 0x10 +/* 800343CC 0003132C 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 800343D0 00031330 90 01 00 10 */ stw r0, 0x10(r1) +/* 800343D4 00031334 7F 84 E3 78 */ mr r4, r28 +/* 800343D8 00031338 48 00 03 D9 */ bl "advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 800343DC 0003133C 80 81 00 10 */ lwz r4, 0x10(r1) +/* 800343E0 00031340 80 1B 00 00 */ lwz r0, 0(r27) +/* 800343E4 00031344 80 64 00 00 */ lwz r3, 0(r4) +/* 800343E8 00031348 7C 03 00 00 */ cmpw r3, r0 +/* 800343EC 0003134C 40 80 00 20 */ bge lbl_8003440C +/* 800343F0 00031350 90 9F 00 00 */ stw r4, 0(r31) +/* 800343F4 00031354 7C 7C E8 50 */ subf r3, r28, r29 +/* 800343F8 00031358 3B A3 FF FF */ addi r29, r3, -1 +/* 800343FC 0003135C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80034400 00031360 38 03 00 08 */ addi r0, r3, 8 +/* 80034404 00031364 90 1F 00 00 */ stw r0, 0(r31) +/* 80034408 00031368 48 00 00 08 */ b lbl_80034410 +lbl_8003440C: +/* 8003440C 0003136C 7F 9D E3 78 */ mr r29, r28 +lbl_80034410: +/* 80034410 00031370 2C 1D 00 00 */ cmpwi r29, 0 +/* 80034414 00031374 41 81 FF A8 */ bgt lbl_800343BC +/* 80034418 00031378 80 1F 00 00 */ lwz r0, 0(r31) +/* 8003441C 0003137C 90 1E 00 00 */ stw r0, 0(r30) +/* 80034420 00031380 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80034424 00031384 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80034428 00031388 7C 08 03 A6 */ mtlr r0 +/* 8003442C 0003138C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80034430 00031390 4E 80 00 20 */ blr + +.global sub_80034434 +sub_80034434: +/* 80034434 00031394 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80034438 00031398 7C 08 02 A6 */ mflr r0 +/* 8003443C 0003139C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80034440 000313A0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80034444 000313A4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80034448 000313A8 7C 9E 23 78 */ mr r30, r4 +/* 8003444C 000313AC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80034450 000313B0 7C 7D 1B 78 */ mr r29, r3 +/* 80034454 000313B4 80 03 00 08 */ lwz r0, 8(r3) +/* 80034458 000313B8 7C 1E 00 00 */ cmpw r30, r0 +/* 8003445C 000313BC 40 81 00 8C */ ble lbl_800344E8 +/* 80034460 000313C0 1C 7E 00 C0 */ mulli r3, r30, 0xc0 +/* 80034464 000313C4 2C 03 00 00 */ cmpwi r3, 0 +/* 80034468 000313C8 40 82 00 0C */ bne lbl_80034474 +/* 8003446C 000313CC 3B E0 00 00 */ li r31, 0 +/* 80034470 000313D0 48 00 00 18 */ b lbl_80034488 +lbl_80034474: +/* 80034474 000313D4 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 80034478 000313D8 38 A0 00 00 */ li r5, 0 +/* 8003447C 000313DC 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 80034480 000313E0 48 2E 13 99 */ bl __nwa__FUlPCcPCc +/* 80034484 000313E4 7C 7F 1B 78 */ mr r31, r3 +lbl_80034488: +/* 80034488 000313E8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8003448C 000313EC 7F E5 FB 78 */ mr r5, r31 +/* 80034490 000313F0 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80034494 000313F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80034498 000313F8 1C 00 00 C0 */ mulli r0, r0, 0xc0 +/* 8003449C 000313FC 38 81 00 0C */ addi r4, r1, 0xc +/* 800344A0 00031400 7C C6 02 14 */ add r6, r6, r0 +/* 800344A4 00031404 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800344A8 00031408 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800344AC 0003140C 90 C1 00 08 */ stw r6, 8(r1) +/* 800344B0 00031410 90 01 00 10 */ stw r0, 0x10(r1) +/* 800344B4 00031414 90 01 00 14 */ stw r0, 0x14(r1) +/* 800344B8 00031418 48 00 00 99 */ bl sub_80034550 +/* 800344BC 0003141C 80 1D 00 04 */ lwz r0, 4(r29) +/* 800344C0 00031420 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 800344C4 00031424 1C 00 00 C0 */ mulli r0, r0, 0xc0 +/* 800344C8 00031428 7C 83 02 14 */ add r4, r3, r0 +/* 800344CC 0003142C 48 00 00 39 */ bl sub_80034504 +/* 800344D0 00031430 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 800344D4 00031434 28 03 00 00 */ cmplwi r3, 0 +/* 800344D8 00031438 41 82 00 08 */ beq lbl_800344E0 +/* 800344DC 0003143C 48 2E 14 55 */ bl Free__7CMemoryFPCv +lbl_800344E0: +/* 800344E0 00031440 93 FD 00 0C */ stw r31, 0xc(r29) +/* 800344E4 00031444 93 DD 00 08 */ stw r30, 8(r29) +lbl_800344E8: +/* 800344E8 00031448 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800344EC 0003144C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800344F0 00031450 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800344F4 00031454 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800344F8 00031458 7C 08 03 A6 */ mtlr r0 +/* 800344FC 0003145C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80034500 00031460 4E 80 00 20 */ blr + +.global sub_80034504 +sub_80034504: +/* 80034504 00031464 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80034508 00031468 7C 08 02 A6 */ mflr r0 +/* 8003450C 0003146C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80034510 00031470 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80034514 00031474 7C 7F 1B 78 */ mr r31, r3 +/* 80034518 00031478 93 C1 00 08 */ stw r30, 8(r1) +/* 8003451C 0003147C 7C 9E 23 78 */ mr r30, r4 +/* 80034520 00031480 48 00 00 10 */ b lbl_80034530 +lbl_80034524: +/* 80034524 00031484 7F E3 FB 78 */ mr r3, r31 +/* 80034528 00031488 4B FF DD F9 */ bl sub_80032320 +/* 8003452C 0003148C 3B FF 00 C0 */ addi r31, r31, 0xc0 +lbl_80034530: +/* 80034530 00031490 7C 1F F0 40 */ cmplw r31, r30 +/* 80034534 00031494 40 82 FF F0 */ bne lbl_80034524 +/* 80034538 00031498 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003453C 0003149C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80034540 000314A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80034544 000314A4 7C 08 03 A6 */ mtlr r0 +/* 80034548 000314A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003454C 000314AC 4E 80 00 20 */ blr + +.global sub_80034550 +sub_80034550: +/* 80034550 000314B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80034554 000314B4 7C 08 02 A6 */ mflr r0 +/* 80034558 000314B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003455C 000314BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80034560 000314C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80034564 000314C4 7C BE 2B 78 */ mr r30, r5 +/* 80034568 000314C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003456C 000314CC 7C 9D 23 78 */ mr r29, r4 +/* 80034570 000314D0 83 E3 00 00 */ lwz r31, 0(r3) +/* 80034574 000314D4 48 00 00 18 */ b lbl_8003458C +lbl_80034578: +/* 80034578 000314D8 7F C3 F3 78 */ mr r3, r30 +/* 8003457C 000314DC 7F E4 FB 78 */ mr r4, r31 +/* 80034580 000314E0 4B FF DC 21 */ bl sub_800321a0 +/* 80034584 000314E4 3B DE 00 C0 */ addi r30, r30, 0xc0 +/* 80034588 000314E8 3B FF 00 C0 */ addi r31, r31, 0xc0 +lbl_8003458C: +/* 8003458C 000314EC 80 1D 00 00 */ lwz r0, 0(r29) +/* 80034590 000314F0 7C 1F 00 40 */ cmplw r31, r0 +/* 80034594 000314F4 40 82 FF E4 */ bne lbl_80034578 +/* 80034598 000314F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003459C 000314FC 7F C3 F3 78 */ mr r3, r30 +/* 800345A0 00031500 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800345A4 00031504 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800345A8 00031508 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800345AC 0003150C 7C 08 03 A6 */ mtlr r0 +/* 800345B0 00031510 38 21 00 20 */ addi r1, r1, 0x20 +/* 800345B4 00031514 4E 80 00 20 */ blr + +.global sub_800345b8 +sub_800345b8: +/* 800345B8 00031518 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800345BC 0003151C 7C 08 02 A6 */ mflr r0 +/* 800345C0 00031520 90 01 00 34 */ stw r0, 0x34(r1) +/* 800345C4 00031524 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 800345C8 00031528 7C 9F 23 78 */ mr r31, r4 +/* 800345CC 0003152C 7C 7E 1B 78 */ mr r30, r3 +/* 800345D0 00031530 80 03 00 08 */ lwz r0, 8(r3) +/* 800345D4 00031534 7C 1F 00 00 */ cmpw r31, r0 +/* 800345D8 00031538 40 81 00 C0 */ ble lbl_80034698 +/* 800345DC 0003153C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 800345E0 00031540 40 82 00 0C */ bne lbl_800345EC +/* 800345E4 00031544 3B 80 00 00 */ li r28, 0 +/* 800345E8 00031548 48 00 00 18 */ b lbl_80034600 +lbl_800345EC: +/* 800345EC 0003154C 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 800345F0 00031550 38 A0 00 00 */ li r5, 0 +/* 800345F4 00031554 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 800345F8 00031558 48 2E 12 21 */ bl __nwa__FUlPCcPCc +/* 800345FC 0003155C 7C 7C 1B 78 */ mr r28, r3 +lbl_80034600: +/* 80034600 00031560 80 1E 00 04 */ lwz r0, 4(r30) +/* 80034604 00031564 7F 9B E3 78 */ mr r27, r28 +/* 80034608 00031568 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8003460C 0003156C 54 00 18 38 */ slwi r0, r0, 3 +/* 80034610 00031570 7F BA 02 14 */ add r29, r26, r0 +/* 80034614 00031574 93 41 00 10 */ stw r26, 0x10(r1) +/* 80034618 00031578 93 A1 00 08 */ stw r29, 8(r1) +/* 8003461C 0003157C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80034620 00031580 93 41 00 14 */ stw r26, 0x14(r1) +/* 80034624 00031584 48 00 00 20 */ b lbl_80034644 +lbl_80034628: +/* 80034628 00031588 28 1B 00 00 */ cmplwi r27, 0 +/* 8003462C 0003158C 41 82 00 10 */ beq lbl_8003463C +/* 80034630 00031590 7F 63 DB 78 */ mr r3, r27 +/* 80034634 00031594 7F 44 D3 78 */ mr r4, r26 +/* 80034638 00031598 48 30 C8 71 */ bl __ct__6CTokenFRC6CToken +lbl_8003463C: +/* 8003463C 0003159C 3B 7B 00 08 */ addi r27, r27, 8 +/* 80034640 000315A0 3B 5A 00 08 */ addi r26, r26, 8 +lbl_80034644: +/* 80034644 000315A4 7C 1A E8 40 */ cmplw r26, r29 +/* 80034648 000315A8 40 82 FF E0 */ bne lbl_80034628 +/* 8003464C 000315AC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80034650 000315B0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80034654 000315B4 54 00 18 38 */ slwi r0, r0, 3 +/* 80034658 000315B8 7F 7A 02 14 */ add r27, r26, r0 +/* 8003465C 000315BC 48 00 00 1C */ b lbl_80034678 +lbl_80034660: +/* 80034660 000315C0 28 1A 00 00 */ cmplwi r26, 0 +/* 80034664 000315C4 41 82 00 10 */ beq lbl_80034674 +/* 80034668 000315C8 7F 43 D3 78 */ mr r3, r26 +/* 8003466C 000315CC 38 80 00 00 */ li r4, 0 +/* 80034670 000315D0 48 30 C7 D1 */ bl __dt__6CTokenFv +lbl_80034674: +/* 80034674 000315D4 3B 5A 00 08 */ addi r26, r26, 8 +lbl_80034678: +/* 80034678 000315D8 7C 1A D8 40 */ cmplw r26, r27 +/* 8003467C 000315DC 40 82 FF E4 */ bne lbl_80034660 +/* 80034680 000315E0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80034684 000315E4 28 03 00 00 */ cmplwi r3, 0 +/* 80034688 000315E8 41 82 00 08 */ beq lbl_80034690 +/* 8003468C 000315EC 48 2E 12 A5 */ bl Free__7CMemoryFPCv +lbl_80034690: +/* 80034690 000315F0 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80034694 000315F4 93 FE 00 08 */ stw r31, 8(r30) +lbl_80034698: +/* 80034698 000315F8 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8003469C 000315FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800346A0 00031600 7C 08 03 A6 */ mtlr r0 +/* 800346A4 00031604 38 21 00 30 */ addi r1, r1, 0x30 +/* 800346A8 00031608 4E 80 00 20 */ blr + +.global "reserve__Q24rstl74vector<37TCachedToken<21CAllFormatsAnimSource>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl74vector<37TCachedToken<21CAllFormatsAnimSource>,Q24rstl17rmemory_allocator>Fi": +/* 800346AC 0003160C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800346B0 00031610 7C 08 02 A6 */ mflr r0 +/* 800346B4 00031614 90 01 00 34 */ stw r0, 0x34(r1) +/* 800346B8 00031618 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 800346BC 0003161C 7C 9F 23 78 */ mr r31, r4 +/* 800346C0 00031620 7C 7E 1B 78 */ mr r30, r3 +/* 800346C4 00031624 80 03 00 08 */ lwz r0, 8(r3) +/* 800346C8 00031628 7C 1F 00 00 */ cmpw r31, r0 +/* 800346CC 0003162C 40 81 00 D0 */ ble lbl_8003479C +/* 800346D0 00031630 1C 7F 00 0C */ mulli r3, r31, 0xc +/* 800346D4 00031634 2C 03 00 00 */ cmpwi r3, 0 +/* 800346D8 00031638 40 82 00 0C */ bne lbl_800346E4 +/* 800346DC 0003163C 3B 80 00 00 */ li r28, 0 +/* 800346E0 00031640 48 00 00 18 */ b lbl_800346F8 +lbl_800346E4: +/* 800346E4 00031644 3C 80 80 3D */ lis r4, lbl_803CCD78@ha +/* 800346E8 00031648 38 A0 00 00 */ li r5, 0 +/* 800346EC 0003164C 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l +/* 800346F0 00031650 48 2E 11 29 */ bl __nwa__FUlPCcPCc +/* 800346F4 00031654 7C 7C 1B 78 */ mr r28, r3 +lbl_800346F8: +/* 800346F8 00031658 80 1E 00 04 */ lwz r0, 4(r30) +/* 800346FC 0003165C 7F 9B E3 78 */ mr r27, r28 +/* 80034700 00031660 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80034704 00031664 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80034708 00031668 93 41 00 10 */ stw r26, 0x10(r1) +/* 8003470C 0003166C 7F BA 02 14 */ add r29, r26, r0 +/* 80034710 00031670 93 41 00 14 */ stw r26, 0x14(r1) +/* 80034714 00031674 93 A1 00 08 */ stw r29, 8(r1) +/* 80034718 00031678 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8003471C 0003167C 48 00 00 28 */ b lbl_80034744 +lbl_80034720: +/* 80034720 00031680 28 1B 00 00 */ cmplwi r27, 0 +/* 80034724 00031684 41 82 00 18 */ beq lbl_8003473C +/* 80034728 00031688 7F 63 DB 78 */ mr r3, r27 +/* 8003472C 0003168C 7F 44 D3 78 */ mr r4, r26 +/* 80034730 00031690 48 30 C7 79 */ bl __ct__6CTokenFRC6CToken +/* 80034734 00031694 80 1A 00 08 */ lwz r0, 8(r26) +/* 80034738 00031698 90 1B 00 08 */ stw r0, 8(r27) +lbl_8003473C: +/* 8003473C 0003169C 3B 7B 00 0C */ addi r27, r27, 0xc +/* 80034740 000316A0 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_80034744: +/* 80034744 000316A4 7C 1A E8 40 */ cmplw r26, r29 +/* 80034748 000316A8 40 82 FF D8 */ bne lbl_80034720 +/* 8003474C 000316AC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80034750 000316B0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80034754 000316B4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80034758 000316B8 7F 7A 02 14 */ add r27, r26, r0 +/* 8003475C 000316BC 48 00 00 20 */ b lbl_8003477C +lbl_80034760: +/* 80034760 000316C0 28 1A 00 00 */ cmplwi r26, 0 +/* 80034764 000316C4 41 82 00 14 */ beq lbl_80034778 +/* 80034768 000316C8 41 82 00 10 */ beq lbl_80034778 +/* 8003476C 000316CC 7F 43 D3 78 */ mr r3, r26 +/* 80034770 000316D0 38 80 00 00 */ li r4, 0 +/* 80034774 000316D4 48 30 C6 CD */ bl __dt__6CTokenFv +lbl_80034778: +/* 80034778 000316D8 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_8003477C: +/* 8003477C 000316DC 7C 1A D8 40 */ cmplw r26, r27 +/* 80034780 000316E0 40 82 FF E0 */ bne lbl_80034760 +/* 80034784 000316E4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80034788 000316E8 28 03 00 00 */ cmplwi r3, 0 +/* 8003478C 000316EC 41 82 00 08 */ beq lbl_80034794 +/* 80034790 000316F0 48 2E 11 A1 */ bl Free__7CMemoryFPCv +lbl_80034794: +/* 80034794 000316F4 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80034798 000316F8 93 FE 00 08 */ stw r31, 8(r30) +lbl_8003479C: +/* 8003479C 000316FC BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800347A0 00031700 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800347A4 00031704 7C 08 03 A6 */ mtlr r0 +/* 800347A8 00031708 38 21 00 30 */ addi r1, r1, 0x30 +/* 800347AC 0003170C 4E 80 00 20 */ blr + +.global "advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 800347B0 00031710 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800347B4 00031714 7C 08 02 A6 */ mflr r0 +/* 800347B8 00031718 90 01 00 14 */ stw r0, 0x14(r1) +/* 800347BC 0003171C 38 A1 00 0C */ addi r5, r1, 0xc +/* 800347C0 00031720 88 01 00 08 */ lbz r0, 8(r1) +/* 800347C4 00031724 98 01 00 0C */ stb r0, 0xc(r1) +/* 800347C8 00031728 48 00 00 15 */ bl "__advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +/* 800347CC 0003172C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800347D0 00031730 7C 08 03 A6 */ mtlr r0 +/* 800347D4 00031734 38 21 00 10 */ addi r1, r1, 0x10 +/* 800347D8 00031738 4E 80 00 20 */ blr + +.global "__advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +"__advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": +/* 800347DC 0003173C 80 A3 00 00 */ lwz r5, 0(r3) +/* 800347E0 00031740 54 80 18 38 */ slwi r0, r4, 3 +/* 800347E4 00031744 7C 05 02 14 */ add r0, r5, r0 +/* 800347E8 00031748 90 03 00 00 */ stw r0, 0(r3) +/* 800347EC 0003174C 4E 80 00 20 */ blr + +.global "distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +"distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": +/* 800347F0 00031750 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800347F4 00031754 7C 08 02 A6 */ mflr r0 +/* 800347F8 00031758 90 01 00 24 */ stw r0, 0x24(r1) +/* 800347FC 0003175C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80034800 00031760 88 E1 00 08 */ lbz r7, 8(r1) +/* 80034804 00031764 80 C4 00 00 */ lwz r6, 0(r4) +/* 80034808 00031768 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003480C 0003176C 80 03 00 00 */ lwz r0, 0(r3) +/* 80034810 00031770 38 61 00 14 */ addi r3, r1, 0x14 +/* 80034814 00031774 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80034818 00031778 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8003481C 0003177C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80034820 00031780 48 00 00 15 */ bl "__distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +/* 80034824 00031784 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80034828 00031788 7C 08 03 A6 */ mtlr r0 +/* 8003482C 0003178C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80034830 00031790 4E 80 00 20 */ blr + +.global "__distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +"__distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag": +/* 80034834 00031794 80 63 00 00 */ lwz r3, 0(r3) +/* 80034838 00031798 80 04 00 00 */ lwz r0, 0(r4) +/* 8003483C 0003179C 7C 03 00 50 */ subf r0, r3, r0 +/* 80034840 000317A0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80034844 000317A4 7C 60 01 94 */ addze r3, r0 +/* 80034848 000317A8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CCredits.s b/asm/Kyoto_CWD/CCredits.s new file mode 100644 index 00000000..d29d8ee9 --- /dev/null +++ b/asm/Kyoto_CWD/CCredits.s @@ -0,0 +1,1098 @@ +.include "macros.inc" + +.section .text, "ax" + +.global sub_8002548c +sub_8002548c: +/* 8002548C 000223EC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80025490 000223F0 7C 08 02 A6 */ mflr r0 +/* 80025494 000223F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80025498 000223F8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8002549C 000223FC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 800254A0 00022400 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 800254A4 00022404 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 800254A8 00022408 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800254AC 0002240C 7C 7F 1B 78 */ mr r31, r3 +/* 800254B0 00022410 80 63 00 28 */ lwz r3, 0x28(r3) +/* 800254B4 00022414 28 03 00 00 */ cmplwi r3, 0 +/* 800254B8 00022418 41 82 00 A0 */ beq lbl_80025558 +/* 800254BC 0002241C 48 00 2A 89 */ bl sub_80027f44 +/* 800254C0 00022420 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800254C4 00022424 41 82 00 94 */ beq lbl_80025558 +/* 800254C8 00022428 88 7F 00 5C */ lbz r3, 0x5c(r31) +/* 800254CC 0002242C 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 800254D0 00022430 40 82 00 0C */ bne lbl_800254DC +/* 800254D4 00022434 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 800254D8 00022438 41 82 00 80 */ beq lbl_80025558 +lbl_800254DC: +/* 800254DC 0002243C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 800254E0 00022440 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 800254E4 00022444 C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 800254E8 00022448 C0 03 03 10 */ lfs f0, 0x310(r3) +/* 800254EC 0002244C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800254F0 00022450 EC 21 00 24 */ fdivs f1, f1, f0 +/* 800254F4 00022454 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800254F8 00022458 41 82 00 10 */ beq lbl_80025508 +/* 800254FC 0002245C C0 02 83 18 */ lfs f0, lbl_805AA038@sda21(r2) +/* 80025500 00022460 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80025504 00022464 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_80025508: +/* 80025508 00022468 38 81 00 10 */ addi r4, r1, 0x10 +/* 8002550C 0002246C 38 6D 81 C8 */ addi r3, r13, lbl_805A6D88@sda21 +/* 80025510 00022470 38 AD 81 CC */ addi r5, r13, lbl_805A6D8C@sda21 +/* 80025514 00022474 4B FE 6D A1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80025518 00022478 C3 E3 00 00 */ lfs f31, 0(r3) +/* 8002551C 0002247C D3 E1 00 10 */ stfs f31, 0x10(r1) +/* 80025520 00022480 48 32 4A 95 */ bl Black__6CColorFv +/* 80025524 00022484 C0 02 83 1C */ lfs f0, lbl_805AA03C@sda21(r2) +/* 80025528 00022488 EF C0 07 F2 */ fmuls f30, f0, f31 +/* 8002552C 0002248C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 80025530 00022490 38 A1 00 0C */ addi r5, r1, 0xc +/* 80025534 00022494 80 E3 00 00 */ lwz r7, 0(r3) +/* 80025538 00022498 38 60 00 05 */ li r3, 5 +/* 8002553C 0002249C 88 01 00 08 */ lbz r0, 8(r1) +/* 80025540 000224A0 38 80 00 00 */ li r4, 0 +/* 80025544 000224A4 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 80025548 000224A8 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) +/* 8002554C 000224AC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80025550 000224B0 38 C0 00 00 */ li r6, 0 +/* 80025554 000224B4 48 0C 6B F5 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_80025558: +/* 80025558 000224B8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8002555C 000224BC CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80025560 000224C0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80025564 000224C4 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80025568 000224C8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8002556C 000224CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80025570 000224D0 7C 08 03 A6 */ mtlr r0 +/* 80025574 000224D4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80025578 000224D8 4E 80 00 20 */ blr + +.global sub_8002557c +sub_8002557c: +/* 8002557C 000224DC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80025580 000224E0 7C 08 02 A6 */ mflr r0 +/* 80025584 000224E4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80025588 000224E8 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8002558C 000224EC F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80025590 000224F0 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80025594 000224F4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80025598 000224F8 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8002559C 000224FC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 800255A0 00022500 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 800255A4 00022504 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 800255A8 00022508 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800255AC 0002250C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800255B0 00022510 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800255B4 00022514 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 800255B8 00022518 7C 7D 1B 78 */ mr r29, r3 +/* 800255BC 0002251C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800255C0 00022520 C0 22 83 20 */ lfs f1, lbl_805AA040@sda21(r2) +/* 800255C4 00022524 81 84 00 00 */ lwz r12, 0(r4) +/* 800255C8 00022528 38 A0 00 00 */ li r5, 0 +/* 800255CC 0002252C C0 42 83 24 */ lfs f2, lbl_805AA044@sda21(r2) +/* 800255D0 00022530 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 800255D4 00022534 7D 89 03 A6 */ mtctr r12 +/* 800255D8 00022538 4E 80 04 21 */ bctrl +/* 800255DC 0002253C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 800255E0 00022540 3F E0 43 30 */ lis r31, 0x4330 +/* 800255E4 00022544 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800255E8 00022548 C3 FD 00 48 */ lfs f31, 0x48(r29) +/* 800255EC 0002254C EC 01 00 28 */ fsubs f0, f1, f0 +/* 800255F0 00022550 C3 A1 00 1C */ lfs f29, 0x1c(r1) +/* 800255F4 00022554 83 DD 00 34 */ lwz r30, 0x34(r29) +/* 800255F8 00022558 CB C2 83 30 */ lfd f30, lbl_805AA050@sda21(r2) +/* 800255FC 0002255C EF 9F 00 28 */ fsubs f28, f31, f0 +/* 80025600 00022560 48 00 00 AC */ b lbl_800256AC +lbl_80025604: +/* 80025604 00022564 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80025608 00022568 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8002560C 0002256C 93 E1 00 28 */ stw r31, 0x28(r1) +/* 80025610 00022570 7C 00 1A 14 */ add r0, r0, r3 +/* 80025614 00022574 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80025618 00022578 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8002561C 0002257C C8 01 00 28 */ lfd f0, 0x28(r1) +/* 80025620 00022580 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80025624 00022584 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80025628 00022588 41 81 00 80 */ bgt lbl_800256A8 +/* 8002562C 0002258C 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 80025630 00022590 3C A0 43 30 */ lis r5, 0x4330 +/* 80025634 00022594 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80025638 00022598 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8002563C 0002259C C8 01 00 28 */ lfd f0, 0x28(r1) +/* 80025640 000225A0 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80025644 000225A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80025648 000225A8 41 80 00 60 */ blt lbl_800256A8 +/* 8002564C 000225AC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80025650 000225B0 38 81 00 08 */ addi r4, r1, 8 +/* 80025654 000225B4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80025658 000225B8 80 63 00 00 */ lwz r3, 0(r3) +/* 8002565C 000225BC 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80025660 000225C0 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80025664 000225C4 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) +/* 80025668 000225C8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8002566C 000225CC C8 41 00 28 */ lfd f2, 0x28(r1) +/* 80025670 000225D0 90 A1 00 30 */ stw r5, 0x30(r1) +/* 80025674 000225D4 EC 62 F0 28 */ fsubs f3, f2, f30 +/* 80025678 000225D8 C0 9D 00 48 */ lfs f4, 0x48(r29) +/* 8002567C 000225DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80025680 000225E0 C0 42 83 28 */ lfs f2, lbl_805AA048@sda21(r2) +/* 80025684 000225E4 C8 21 00 30 */ lfd f1, 0x30(r1) +/* 80025688 000225E8 EC 64 18 28 */ fsubs f3, f4, f3 +/* 8002568C 000225EC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80025690 000225F0 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80025694 000225F4 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80025698 000225F8 EC 1D 08 28 */ fsubs f0, f29, f1 +/* 8002569C 000225FC EC 02 00 32 */ fmuls f0, f2, f0 +/* 800256A0 00022600 D0 01 00 08 */ stfs f0, 8(r1) +/* 800256A4 00022604 48 00 27 6D */ bl sub_80027e10 +lbl_800256A8: +/* 800256A8 00022608 83 DE 00 04 */ lwz r30, 4(r30) +lbl_800256AC: +/* 800256AC 0002260C 80 1D 00 38 */ lwz r0, 0x38(r29) +/* 800256B0 00022610 7C 1E 00 40 */ cmplw r30, r0 +/* 800256B4 00022614 40 82 FF 50 */ bne lbl_80025604 +/* 800256B8 00022618 48 32 48 FD */ bl Black__6CColorFv +/* 800256BC 0002261C C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) +/* 800256C0 00022620 7C 65 1B 78 */ mr r5, r3 +/* 800256C4 00022624 38 60 00 01 */ li r3, 1 +/* 800256C8 00022628 38 80 00 04 */ li r4, 4 +/* 800256CC 0002262C 38 C0 00 00 */ li r6, 0 +/* 800256D0 00022630 48 0C 6A 79 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +/* 800256D4 00022634 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 800256D8 00022638 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 800256DC 0002263C E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 800256E0 00022640 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 800256E4 00022644 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 800256E8 00022648 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 800256EC 0002264C E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 800256F0 00022650 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 800256F4 00022654 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800256F8 00022658 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800256FC 0002265C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80025700 00022660 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80025704 00022664 7C 08 03 A6 */ mtlr r0 +/* 80025708 00022668 38 21 00 90 */ addi r1, r1, 0x90 +/* 8002570C 0002266C 4E 80 00 20 */ blr + +.global Draw__8CCreditsCFv +Draw__8CCreditsCFv: +/* 80025710 00022670 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80025714 00022674 7C 08 02 A6 */ mflr r0 +/* 80025718 00022678 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002571C 0002267C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80025720 00022680 7C 7F 1B 78 */ mr r31, r3 +/* 80025724 00022684 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80025728 00022688 2C 00 00 03 */ cmpwi r0, 3 +/* 8002572C 0002268C 40 82 00 10 */ bne lbl_8002573C +/* 80025730 00022690 4B FF FD 5D */ bl sub_8002548c +/* 80025734 00022694 7F E3 FB 78 */ mr r3, r31 +/* 80025738 00022698 4B FF FE 45 */ bl sub_8002557c +lbl_8002573C: +/* 8002573C 0002269C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80025740 000226A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80025744 000226A4 7C 08 03 A6 */ mtlr r0 +/* 80025748 000226A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002574C 000226AC 4E 80 00 20 */ blr + +.global sub_80025750 +sub_80025750: +/* 80025750 000226B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80025754 000226B4 7C 08 02 A6 */ mflr r0 +/* 80025758 000226B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8002575C 000226BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80025760 000226C0 7C 7F 1B 78 */ mr r31, r3 +/* 80025764 000226C4 88 04 00 2C */ lbz r0, 0x2c(r4) +/* 80025768 000226C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8002576C 000226CC 41 82 00 34 */ beq lbl_800257A0 +/* 80025770 000226D0 C0 24 00 00 */ lfs f1, 0(r4) +/* 80025774 000226D4 38 81 00 0C */ addi r4, r1, 0xc +/* 80025778 000226D8 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 8002577C 000226DC 38 BF 00 4C */ addi r5, r31, 0x4c +/* 80025780 000226E0 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 80025784 000226E4 38 6D 81 C0 */ addi r3, r13, lbl_805A6D80@sda21 +/* 80025788 000226E8 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 +/* 8002578C 000226EC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80025790 000226F0 4B FE 6B 25 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80025794 000226F4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80025798 000226F8 D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 8002579C 000226FC 48 00 00 68 */ b lbl_80025804 +lbl_800257A0: +/* 800257A0 00022700 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 800257A4 00022704 C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) +/* 800257A8 00022708 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800257AC 0002270C 40 80 00 08 */ bge lbl_800257B4 +/* 800257B0 00022710 FC 20 10 50 */ fneg f1, f2 +lbl_800257B4: +/* 800257B4 00022714 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) +/* 800257B8 00022718 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800257BC 0002271C 40 81 00 08 */ ble lbl_800257C4 +/* 800257C0 00022720 48 00 00 08 */ b lbl_800257C8 +lbl_800257C4: +/* 800257C4 00022724 FC 40 00 90 */ fmr f2, f0 +lbl_800257C8: +/* 800257C8 00022728 C0 04 00 00 */ lfs f0, 0(r4) +/* 800257CC 0002272C EC 62 08 28 */ fsubs f3, f2, f1 +/* 800257D0 00022730 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 800257D4 00022734 38 81 00 08 */ addi r4, r1, 8 +/* 800257D8 00022738 C0 42 83 38 */ lfs f2, lbl_805AA058@sda21(r2) +/* 800257DC 0002273C 38 BF 00 4C */ addi r5, r31, 0x4c +/* 800257E0 00022740 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800257E4 00022744 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 800257E8 00022748 38 6D 81 C4 */ addi r3, r13, lbl_805A6D84@sda21 +/* 800257EC 0002274C EC 22 00 72 */ fmuls f1, f2, f1 +/* 800257F0 00022750 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 +/* 800257F4 00022754 D0 01 00 08 */ stfs f0, 8(r1) +/* 800257F8 00022758 4B FE 6A BD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800257FC 0002275C C0 03 00 00 */ lfs f0, 0(r3) +/* 80025800 00022760 D0 1F 00 48 */ stfs f0, 0x48(r31) +lbl_80025804: +/* 80025804 00022764 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80025808 00022768 38 60 00 01 */ li r3, 1 +/* 8002580C 0002276C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80025810 00022770 7C 08 03 A6 */ mtlr r0 +/* 80025814 00022774 38 21 00 20 */ addi r1, r1, 0x20 +/* 80025818 00022778 4E 80 00 20 */ blr + +.global Update__8CCreditsFfR18CArchitectureQueue +Update__8CCreditsFfR18CArchitectureQueue: +/* 8002581C 0002277C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80025820 00022780 7C 08 02 A6 */ mflr r0 +/* 80025824 00022784 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80025828 00022788 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8002582C 0002278C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80025830 00022790 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 80025834 00022794 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 80025838 00022798 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8002583C 0002279C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 80025840 000227A0 BE A1 00 84 */ stmw r21, 0x84(r1) +/* 80025844 000227A4 7C 7F 1B 78 */ mr r31, r3 +/* 80025848 000227A8 FF C0 08 90 */ fmr f30, f1 +/* 8002584C 000227AC 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80025850 000227B0 7C 9E 23 78 */ mr r30, r4 +/* 80025854 000227B4 2C 00 00 02 */ cmpwi r0, 2 +/* 80025858 000227B8 41 82 03 3C */ beq lbl_80025B94 +/* 8002585C 000227BC 40 80 00 14 */ bge lbl_80025870 +/* 80025860 000227C0 2C 00 00 00 */ cmpwi r0, 0 +/* 80025864 000227C4 41 82 00 18 */ beq lbl_8002587C +/* 80025868 000227C8 40 80 02 C8 */ bge lbl_80025B30 +/* 8002586C 000227CC 48 00 06 84 */ b lbl_80025EF0 +lbl_80025870: +/* 80025870 000227D0 2C 00 00 04 */ cmpwi r0, 4 +/* 80025874 000227D4 40 80 06 7C */ bge lbl_80025EF0 +/* 80025878 000227D8 48 00 03 C4 */ b lbl_80025C3C +lbl_8002587C: +/* 8002587C 000227DC 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 80025880 000227E0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80025884 000227E4 28 00 00 00 */ cmplwi r0, 0 +/* 80025888 000227E8 41 82 00 14 */ beq lbl_8002589C +/* 8002588C 000227EC 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80025890 000227F0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80025894 000227F4 28 00 00 00 */ cmplwi r0, 0 +/* 80025898 000227F8 40 82 00 0C */ bne lbl_800258A4 +lbl_8002589C: +/* 8002589C 000227FC 38 60 00 01 */ li r3, 1 +/* 800258A0 00022800 48 00 06 54 */ b lbl_80025EF4 +lbl_800258A4: +/* 800258A4 00022804 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 800258A8 00022808 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 800258AC 0002280C 38 83 D9 10 */ addi r4, r3, lbl_803ED910@l +/* 800258B0 00022810 80 64 00 08 */ lwz r3, 8(r4) +/* 800258B4 00022814 2C 00 00 00 */ cmpwi r0, 0 +/* 800258B8 00022818 83 64 00 0C */ lwz r27, 0xc(r4) +/* 800258BC 0002281C 3B 43 FF C0 */ addi r26, r3, -64 +/* 800258C0 00022820 40 82 01 58 */ bne lbl_80025A18 +/* 800258C4 00022824 38 7F 00 18 */ addi r3, r31, 0x18 +/* 800258C8 00022828 48 31 B5 45 */ bl GetObj__6CTokenFv +/* 800258CC 0002282C 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 800258D0 00022830 83 83 00 04 */ lwz r28, 4(r3) +/* 800258D4 00022834 3B A4 CB 50 */ addi r29, r4, lbl_803CCB50@l +/* 800258D8 00022838 3B 20 00 00 */ li r25, 0 +/* 800258DC 0002283C 48 00 01 30 */ b lbl_80025A0C +lbl_800258E0: +/* 800258E0 00022840 38 9D 01 51 */ addi r4, r29, 0x151 +/* 800258E4 00022844 38 60 03 0C */ li r3, 0x30c +/* 800258E8 00022848 38 A0 00 00 */ li r5, 0 +/* 800258EC 0002284C 48 2E FF 81 */ bl __nw__FUlPCcPCc +/* 800258F0 00022850 7C 76 1B 79 */ or. r22, r3, r3 +/* 800258F4 00022854 41 82 00 7C */ beq lbl_80025970 +/* 800258F8 00022858 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800258FC 0002285C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80025900 00022860 81 83 00 00 */ lwz r12, 0(r3) +/* 80025904 00022864 80 84 02 E0 */ lwz r4, 0x2e0(r4) +/* 80025908 00022868 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8002590C 0002286C 7D 89 03 A6 */ mtctr r12 +/* 80025910 00022870 4E 80 04 21 */ bctrl +/* 80025914 00022874 82 AD A1 38 */ lwz r21, gpTweakGui@sda21(r13) +/* 80025918 00022878 7C 77 1B 78 */ mr r23, r3 +/* 8002591C 0002287C 48 32 46 91 */ bl White__6CColorFv +/* 80025920 00022880 7C 78 1B 78 */ mr r24, r3 +/* 80025924 00022884 38 61 00 58 */ addi r3, r1, 0x58 +/* 80025928 00022888 38 80 00 01 */ li r4, 1 +/* 8002592C 0002288C 38 A0 00 01 */ li r5, 1 +/* 80025930 00022890 38 C0 00 01 */ li r6, 1 +/* 80025934 00022894 38 E0 00 00 */ li r7, 0 +/* 80025938 00022898 39 00 00 00 */ li r8, 0 +/* 8002593C 0002289C 48 2A 47 09 */ bl __ct__18CGuiTextPropertiesFv +/* 80025940 000228A0 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) +/* 80025944 000228A4 7C 65 1B 78 */ mr r5, r3 +/* 80025948 000228A8 7E C3 B3 78 */ mr r3, r22 +/* 8002594C 000228AC 7F 08 C3 78 */ mr r8, r24 +/* 80025950 000228B0 90 01 00 08 */ stw r0, 8(r1) +/* 80025954 000228B4 7F 49 D3 78 */ mr r9, r26 +/* 80025958 000228B8 38 D5 03 00 */ addi r6, r21, 0x300 +/* 8002595C 000228BC 38 F5 03 04 */ addi r7, r21, 0x304 +/* 80025960 000228C0 80 97 00 04 */ lwz r4, 4(r23) +/* 80025964 000228C4 39 40 00 00 */ li r10, 0 +/* 80025968 000228C8 48 2A 44 D5 */ bl __ct__15CGuiTextSupportFv +/* 8002596C 000228CC 7C 76 1B 78 */ mr r22, r3 +lbl_80025970: +/* 80025970 000228D0 38 9D 01 51 */ addi r4, r29, 0x151 +/* 80025974 000228D4 38 60 00 08 */ li r3, 8 +/* 80025978 000228D8 38 A0 00 00 */ li r5, 0 +/* 8002597C 000228DC 48 2E FE F1 */ bl __nw__FUlPCcPCc +/* 80025980 000228E0 28 03 00 00 */ cmplwi r3, 0 +/* 80025984 000228E4 41 82 00 10 */ beq lbl_80025994 +/* 80025988 000228E8 92 C3 00 00 */ stw r22, 0(r3) +/* 8002598C 000228EC 38 00 00 01 */ li r0, 1 +/* 80025990 000228F0 90 03 00 04 */ stw r0, 4(r3) +lbl_80025994: +/* 80025994 000228F4 90 61 00 28 */ stw r3, 0x28(r1) +/* 80025998 000228F8 7F 83 E3 78 */ mr r3, r28 +/* 8002599C 000228FC 7F 24 CB 78 */ mr r4, r25 +/* 800259A0 00022900 48 33 0D 5D */ bl GetString__12CStringTableCFi +/* 800259A4 00022904 7C 64 1B 78 */ mr r4, r3 +/* 800259A8 00022908 38 61 00 48 */ addi r3, r1, 0x48 +/* 800259AC 0002290C 4B FF 00 45 */ bl wstring_l__4rstlFPCw +/* 800259B0 00022910 80 61 00 28 */ lwz r3, 0x28(r1) +/* 800259B4 00022914 38 81 00 48 */ addi r4, r1, 0x48 +/* 800259B8 00022918 38 A0 00 00 */ li r5, 0 +/* 800259BC 0002291C 80 63 00 00 */ lwz r3, 0(r3) +/* 800259C0 00022920 48 2A 3E C5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800259C4 00022924 38 61 00 48 */ addi r3, r1, 0x48 +/* 800259C8 00022928 48 31 77 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800259CC 0002292C 80 C1 00 28 */ lwz r6, 0x28(r1) +/* 800259D0 00022930 38 00 00 00 */ li r0, 0 +/* 800259D4 00022934 38 7F 00 30 */ addi r3, r31, 0x30 +/* 800259D8 00022938 38 81 00 3C */ addi r4, r1, 0x3c +/* 800259DC 0002293C 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 800259E0 00022940 80 A6 00 04 */ lwz r5, 4(r6) +/* 800259E4 00022944 38 A5 00 01 */ addi r5, r5, 1 +/* 800259E8 00022948 90 A6 00 04 */ stw r5, 4(r6) +/* 800259EC 0002294C 90 01 00 40 */ stw r0, 0x40(r1) +/* 800259F0 00022950 90 01 00 44 */ stw r0, 0x44(r1) +/* 800259F4 00022954 48 00 05 2D */ bl sub_80025f20 +/* 800259F8 00022958 38 61 00 3C */ addi r3, r1, 0x3c +/* 800259FC 0002295C 48 00 27 0D */ bl sub_80028108 +/* 80025A00 00022960 38 61 00 28 */ addi r3, r1, 0x28 +/* 80025A04 00022964 48 00 27 05 */ bl sub_80028108 +/* 80025A08 00022968 3B 39 00 01 */ addi r25, r25, 1 +lbl_80025A0C: +/* 80025A0C 0002296C 80 1C 00 00 */ lwz r0, 0(r28) +/* 80025A10 00022970 7C 19 00 00 */ cmpw r25, r0 +/* 80025A14 00022974 41 80 FE CC */ blt lbl_800258E0 +lbl_80025A18: +/* 80025A18 00022978 82 DF 00 34 */ lwz r22, 0x34(r31) +/* 80025A1C 0002297C 48 00 00 24 */ b lbl_80025A40 +lbl_80025A20: +/* 80025A20 00022980 80 76 00 08 */ lwz r3, 8(r22) +/* 80025A24 00022984 80 63 00 00 */ lwz r3, 0(r3) +/* 80025A28 00022988 48 2A 42 3D */ bl GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +/* 80025A2C 0002298C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80025A30 00022990 40 82 00 0C */ bne lbl_80025A3C +/* 80025A34 00022994 38 60 00 01 */ li r3, 1 +/* 80025A38 00022998 48 00 04 BC */ b lbl_80025EF4 +lbl_80025A3C: +/* 80025A3C 0002299C 82 D6 00 04 */ lwz r22, 4(r22) +lbl_80025A40: +/* 80025A40 000229A0 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 80025A44 000229A4 7C 16 00 40 */ cmplw r22, r0 +/* 80025A48 000229A8 40 82 FF D8 */ bne lbl_80025A20 +/* 80025A4C 000229AC 82 DF 00 34 */ lwz r22, 0x34(r31) +/* 80025A50 000229B0 3A A0 00 00 */ li r21, 0 +/* 80025A54 000229B4 48 00 00 4C */ b lbl_80025AA0 +lbl_80025A58: +/* 80025A58 000229B8 80 76 00 08 */ lwz r3, 8(r22) +/* 80025A5C 000229BC 80 63 00 00 */ lwz r3, 0(r3) +/* 80025A60 000229C0 48 2A 23 11 */ bl GetBounds__15CGuiTextSupportFv +/* 80025A64 000229C4 80 83 00 04 */ lwz r4, 4(r3) +/* 80025A68 000229C8 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80025A6C 000229CC 7E E4 00 50 */ subf r23, r4, r0 +/* 80025A70 000229D0 92 F6 00 10 */ stw r23, 0x10(r22) +/* 80025A74 000229D4 92 B6 00 0C */ stw r21, 0xc(r22) +/* 80025A78 000229D8 80 76 00 08 */ lwz r3, 8(r22) +/* 80025A7C 000229DC 80 63 00 00 */ lwz r3, 0(r3) +/* 80025A80 000229E0 93 43 00 34 */ stw r26, 0x34(r3) +/* 80025A84 000229E4 48 2A 28 E1 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 80025A88 000229E8 80 76 00 08 */ lwz r3, 8(r22) +/* 80025A8C 000229EC 80 63 00 00 */ lwz r3, 0(r3) +/* 80025A90 000229F0 92 E3 00 38 */ stw r23, 0x38(r3) +/* 80025A94 000229F4 48 2A 28 D1 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 80025A98 000229F8 7E B5 BA 14 */ add r21, r21, r23 +/* 80025A9C 000229FC 82 D6 00 04 */ lwz r22, 4(r22) +lbl_80025AA0: +/* 80025AA0 00022A00 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 80025AA4 00022A04 7C 16 00 40 */ cmplw r22, r0 +/* 80025AA8 00022A08 40 82 FF B0 */ bne lbl_80025A58 +/* 80025AAC 00022A0C 3C 60 43 30 */ lis r3, 0x4330 +/* 80025AB0 00022A10 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 80025AB4 00022A14 90 01 00 74 */ stw r0, 0x74(r1) +/* 80025AB8 00022A18 6E A0 80 00 */ xoris r0, r21, 0x8000 +/* 80025ABC 00022A1C C8 62 83 30 */ lfd f3, lbl_805AA050@sda21(r2) +/* 80025AC0 00022A20 90 61 00 70 */ stw r3, 0x70(r1) +/* 80025AC4 00022A24 C0 02 83 28 */ lfs f0, lbl_805AA048@sda21(r2) +/* 80025AC8 00022A28 C8 21 00 70 */ lfd f1, 0x70(r1) +/* 80025ACC 00022A2C 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80025AD0 00022A30 EC 21 18 28 */ fsubs f1, f1, f3 +/* 80025AD4 00022A34 90 61 00 68 */ stw r3, 0x68(r1) +/* 80025AD8 00022A38 C8 41 00 68 */ lfd f2, 0x68(r1) +/* 80025ADC 00022A3C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80025AE0 00022A40 EC 22 18 28 */ fsubs f1, f2, f3 +/* 80025AE4 00022A44 EC 01 00 2A */ fadds f0, f1, f0 +/* 80025AE8 00022A48 D0 1F 00 4C */ stfs f0, 0x4c(r31) +/* 80025AEC 00022A4C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 80025AF0 00022A50 38 85 03 0C */ addi r4, r5, 0x30c +/* 80025AF4 00022A54 38 65 03 10 */ addi r3, r5, 0x310 +/* 80025AF8 00022A58 C0 25 03 10 */ lfs f1, 0x310(r5) +/* 80025AFC 00022A5C C0 05 03 0C */ lfs f0, 0x30c(r5) +/* 80025B00 00022A60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80025B04 00022A64 40 80 00 08 */ bge lbl_80025B0C +/* 80025B08 00022A68 48 00 00 08 */ b lbl_80025B10 +lbl_80025B0C: +/* 80025B0C 00022A6C 7C 64 1B 78 */ mr r4, r3 +lbl_80025B10: +/* 80025B10 00022A70 C0 25 03 08 */ lfs f1, 0x308(r5) +/* 80025B14 00022A74 38 00 00 01 */ li r0, 1 +/* 80025B18 00022A78 C0 04 00 00 */ lfs f0, 0(r4) +/* 80025B1C 00022A7C C0 5F 00 4C */ lfs f2, 0x4c(r31) +/* 80025B20 00022A80 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80025B24 00022A84 EC 02 00 24 */ fdivs f0, f2, f0 +/* 80025B28 00022A88 D0 1F 00 50 */ stfs f0, 0x50(r31) +/* 80025B2C 00022A8C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_80025B30: +/* 80025B30 00022A90 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80025B34 00022A94 28 00 00 00 */ cmplwi r0, 0 +/* 80025B38 00022A98 40 82 00 54 */ bne lbl_80025B8C +/* 80025B3C 00022A9C 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80025B40 00022AA0 38 60 01 00 */ li r3, 0x100 +/* 80025B44 00022AA4 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80025B48 00022AA8 38 A0 00 00 */ li r5, 0 +/* 80025B4C 00022AAC 38 84 01 51 */ addi r4, r4, 0x151 +/* 80025B50 00022AB0 48 2E FD 1D */ bl __nw__FUlPCcPCc +/* 80025B54 00022AB4 7C 76 1B 79 */ or. r22, r3, r3 +/* 80025B58 00022AB8 41 82 00 24 */ beq lbl_80025B7C +/* 80025B5C 00022ABC 3C 80 80 3D */ lis r4, lbl_803CCB18@ha +/* 80025B60 00022AC0 C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) +/* 80025B64 00022AC4 38 84 CB 18 */ addi r4, r4, lbl_803CCB18@l +/* 80025B68 00022AC8 38 A0 00 01 */ li r5, 1 +/* 80025B6C 00022ACC 80 84 00 1C */ lwz r4, 0x1c(r4) +/* 80025B70 00022AD0 38 C0 00 01 */ li r6, 1 +/* 80025B74 00022AD4 48 33 73 A9 */ bl __ct__12CMoviePlayerFPCcfb +/* 80025B78 00022AD8 7C 76 1B 78 */ mr r22, r3 +lbl_80025B7C: +/* 80025B7C 00022ADC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80025B80 00022AE0 38 80 00 01 */ li r4, 1 +/* 80025B84 00022AE4 48 33 6C 35 */ bl __dt__12CMoviePlayerFv +/* 80025B88 00022AE8 92 DF 00 28 */ stw r22, 0x28(r31) +lbl_80025B8C: +/* 80025B8C 00022AEC 38 00 00 02 */ li r0, 2 +/* 80025B90 00022AF0 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_80025B94: +/* 80025B94 00022AF4 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80025B98 00022AF8 28 00 00 00 */ cmplwi r0, 0 +/* 80025B9C 00022AFC 40 82 00 74 */ bne lbl_80025C10 +/* 80025BA0 00022B00 3C 60 80 3D */ lis r3, lbl_803CCB50@ha +/* 80025BA4 00022B04 3A A0 00 00 */ li r21, 0 +/* 80025BA8 00022B08 38 83 CB 50 */ addi r4, r3, lbl_803CCB50@l +/* 80025BAC 00022B0C 38 60 00 C4 */ li r3, 0xc4 +/* 80025BB0 00022B10 38 84 01 51 */ addi r4, r4, 0x151 +/* 80025BB4 00022B14 38 A0 00 00 */ li r5, 0 +/* 80025BB8 00022B18 48 2E FC B5 */ bl __nw__FUlPCcPCc +/* 80025BBC 00022B1C 7C 76 1B 79 */ or. r22, r3, r3 +/* 80025BC0 00022B20 41 82 00 30 */ beq lbl_80025BF0 +/* 80025BC4 00022B24 80 82 83 10 */ lwz r4, lbl_805AA030@sda21(r2) +/* 80025BC8 00022B28 38 61 00 2C */ addi r3, r1, 0x2c +/* 80025BCC 00022B2C 4B FD F0 ED */ bl string_l__4rstlFPCc +/* 80025BD0 00022B30 3C A0 00 5D */ lis r5, 0x005D7C00@ha +/* 80025BD4 00022B34 7E C3 B3 78 */ mr r3, r22 +/* 80025BD8 00022B38 38 81 00 2C */ addi r4, r1, 0x2c +/* 80025BDC 00022B3C 3A A0 00 01 */ li r21, 1 +/* 80025BE0 00022B40 38 C5 7C 00 */ addi r6, r5, 0x005D7C00@l +/* 80025BE4 00022B44 38 A0 00 00 */ li r5, 0 +/* 80025BE8 00022B48 48 34 66 F1 */ bl __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii +/* 80025BEC 00022B4C 7C 76 1B 78 */ mr r22, r3 +lbl_80025BF0: +/* 80025BF0 00022B50 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80025BF4 00022B54 38 80 00 01 */ li r4, 1 +/* 80025BF8 00022B58 48 34 65 61 */ bl __dt__18CStaticAudioPlayer +/* 80025BFC 00022B5C 7E A0 07 75 */ extsb. r0, r21 +/* 80025C00 00022B60 92 DF 00 2C */ stw r22, 0x2c(r31) +/* 80025C04 00022B64 41 82 00 0C */ beq lbl_80025C10 +/* 80025C08 00022B68 38 61 00 2C */ addi r3, r1, 0x2c +/* 80025C0C 00022B6C 48 31 7E D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80025C10: +/* 80025C10 00022B70 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80025C14 00022B74 48 34 64 F1 */ bl IsReady__18CStaticAudioPlayer +/* 80025C18 00022B78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80025C1C 00022B7C 40 82 00 0C */ bne lbl_80025C28 +/* 80025C20 00022B80 38 60 00 01 */ li r3, 1 +/* 80025C24 00022B84 48 00 02 D0 */ b lbl_80025EF4 +lbl_80025C28: +/* 80025C28 00022B88 C0 22 83 3C */ lfs f1, lbl_805AA05C@sda21(r2) +/* 80025C2C 00022B8C 38 7F 00 2C */ addi r3, r31, 0x2c +/* 80025C30 00022B90 48 00 22 9D */ bl sub_80027ecc +/* 80025C34 00022B94 38 00 00 03 */ li r0, 3 +/* 80025C38 00022B98 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_80025C3C: +/* 80025C3C 00022B9C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80025C40 00022BA0 48 33 6E 41 */ bl PumpIndexLoad__12CMoviePlayerFv +/* 80025C44 00022BA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80025C48 00022BA8 40 82 02 A8 */ bne lbl_80025EF0 +/* 80025C4C 00022BAC FC 20 F0 90 */ fmr f1, f30 +/* 80025C50 00022BB0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80025C54 00022BB4 48 33 61 0D */ bl Update__12CMoviePlayerFf +/* 80025C58 00022BB8 88 7F 00 5C */ lbz r3, 0x5c(r31) +/* 80025C5C 00022BBC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80025C60 00022BC0 41 82 00 3C */ beq lbl_80025C9C +/* 80025C64 00022BC4 38 00 00 01 */ li r0, 1 +/* 80025C68 00022BC8 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 80025C6C 00022BCC 98 7F 00 5C */ stb r3, 0x5c(r31) +/* 80025C70 00022BD0 88 7F 00 5C */ lbz r3, 0x5c(r31) +/* 80025C74 00022BD4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80025C78 00022BD8 41 82 00 24 */ beq lbl_80025C9C +/* 80025C7C 00022BDC 38 00 00 00 */ li r0, 0 +/* 80025C80 00022BE0 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 80025C84 00022BE4 98 7F 00 5C */ stb r3, 0x5c(r31) +/* 80025C88 00022BE8 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80025C8C 00022BEC C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 80025C90 00022BF0 C0 23 03 10 */ lfs f1, 0x310(r3) +/* 80025C94 00022BF4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80025C98 00022BF8 D0 1F 00 58 */ stfs f0, 0x58(r31) +lbl_80025C9C: +/* 80025C9C 00022BFC 88 7F 00 5C */ lbz r3, 0x5c(r31) +/* 80025CA0 00022C00 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80025CA4 00022C04 40 82 00 0C */ bne lbl_80025CB0 +/* 80025CA8 00022C08 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80025CAC 00022C0C 41 82 00 D4 */ beq lbl_80025D80 +lbl_80025CB0: +/* 80025CB0 00022C10 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 80025CB4 00022C14 38 81 00 20 */ addi r4, r1, 0x20 +/* 80025CB8 00022C18 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 80025CBC 00022C1C 38 6D 81 B0 */ addi r3, r13, lbl_805A6D70@sda21 +/* 80025CC0 00022C20 EC 00 F0 2A */ fadds f0, f0, f30 +/* 80025CC4 00022C24 38 A5 03 10 */ addi r5, r5, 0x310 +/* 80025CC8 00022C28 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80025CCC 00022C2C 4B FE 65 E9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80025CD0 00022C30 C0 03 00 00 */ lfs f0, 0(r3) +/* 80025CD4 00022C34 D0 1F 00 58 */ stfs f0, 0x58(r31) +/* 80025CD8 00022C38 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80025CDC 00022C3C C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 80025CE0 00022C40 C0 03 03 10 */ lfs f0, 0x310(r3) +/* 80025CE4 00022C44 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80025CE8 00022C48 40 82 00 3C */ bne lbl_80025D24 +/* 80025CEC 00022C4C 88 7F 00 5C */ lbz r3, 0x5c(r31) +/* 80025CF0 00022C50 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80025CF4 00022C54 41 82 00 1C */ beq lbl_80025D10 +/* 80025CF8 00022C58 38 00 00 00 */ li r0, 0 +/* 80025CFC 00022C5C C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) +/* 80025D00 00022C60 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 80025D04 00022C64 98 7F 00 5C */ stb r3, 0x5c(r31) +/* 80025D08 00022C68 D0 1F 00 58 */ stfs f0, 0x58(r31) +/* 80025D0C 00022C6C 48 00 00 18 */ b lbl_80025D24 +lbl_80025D10: +/* 80025D10 00022C70 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80025D14 00022C74 41 82 00 10 */ beq lbl_80025D24 +/* 80025D18 00022C78 38 00 00 01 */ li r0, 1 +/* 80025D1C 00022C7C 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 80025D20 00022C80 98 7F 00 5C */ stb r3, 0x5c(r31) +lbl_80025D24: +/* 80025D24 00022C84 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) +/* 80025D28 00022C88 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80025D2C 00022C8C FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 80025D30 00022C90 41 82 00 50 */ beq lbl_80025D80 +/* 80025D34 00022C94 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 80025D38 00022C98 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80025D3C 00022C9C 41 82 00 44 */ beq lbl_80025D80 +/* 80025D40 00022CA0 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 80025D44 00022CA4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80025D48 00022CA8 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) +/* 80025D4C 00022CAC 38 6D 81 B4 */ addi r3, r13, lbl_805A6D74@sda21 +/* 80025D50 00022CB0 C0 05 03 10 */ lfs f0, 0x310(r5) +/* 80025D54 00022CB4 38 AD 81 B8 */ addi r5, r13, lbl_805A6D78@sda21 +/* 80025D58 00022CB8 EC 02 00 24 */ fdivs f0, f2, f0 +/* 80025D5C 00022CBC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80025D60 00022CC0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80025D64 00022CC4 4B FE 65 51 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80025D68 00022CC8 C0 23 00 00 */ lfs f1, 0(r3) +/* 80025D6C 00022CCC 38 7F 00 2C */ addi r3, r31, 0x2c +/* 80025D70 00022CD0 C0 02 83 3C */ lfs f0, lbl_805AA05C@sda21(r2) +/* 80025D74 00022CD4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80025D78 00022CD8 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80025D7C 00022CDC 48 00 21 51 */ bl sub_80027ecc +lbl_80025D80: +/* 80025D80 00022CE0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80025D84 00022CE4 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 80025D88 00022CE8 EC 3E 00 7A */ fmadds f1, f30, f1, f0 +/* 80025D8C 00022CEC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80025D90 00022CF0 C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 80025D94 00022CF4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80025D98 00022CF8 40 80 00 0C */ bge lbl_80025DA4 +/* 80025D9C 00022CFC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80025DA0 00022D00 48 00 00 08 */ b lbl_80025DA8 +lbl_80025DA4: +/* 80025DA4 00022D04 38 7F 00 4C */ addi r3, r31, 0x4c +lbl_80025DA8: +/* 80025DA8 00022D08 C0 03 00 00 */ lfs f0, 0(r3) +/* 80025DAC 00022D0C D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 80025DB0 00022D10 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 80025DB4 00022D14 C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 80025DB8 00022D18 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80025DBC 00022D1C 41 82 00 10 */ beq lbl_80025DCC +/* 80025DC0 00022D20 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 80025DC4 00022D24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80025DC8 00022D28 41 82 00 D8 */ beq lbl_80025EA0 +lbl_80025DCC: +/* 80025DCC 00022D2C 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 80025DD0 00022D30 38 60 00 01 */ li r3, 1 +/* 80025DD4 00022D34 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80025DD8 00022D38 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 80025DDC 00022D3C C0 3F 00 54 */ lfs f1, 0x54(r31) +/* 80025DE0 00022D40 C0 0D 81 BC */ lfs f0, lbl_805A6D7C@sda21(r13) +/* 80025DE4 00022D44 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80025DE8 00022D48 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80025DEC 00022D4C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80025DF0 00022D50 40 80 00 0C */ bge lbl_80025DFC +/* 80025DF4 00022D54 38 61 00 18 */ addi r3, r1, 0x18 +/* 80025DF8 00022D58 48 00 00 08 */ b lbl_80025E00 +lbl_80025DFC: +/* 80025DFC 00022D5C 38 6D 81 BC */ addi r3, r13, lbl_805A6D7C@sda21 +lbl_80025E00: +/* 80025E00 00022D60 C0 03 00 00 */ lfs f0, 0(r3) +/* 80025E04 00022D64 3F 20 43 30 */ lis r25, 0x4330 +/* 80025E08 00022D68 CB C2 83 40 */ lfd f30, lbl_805AA060@sda21(r2) +/* 80025E0C 00022D6C D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 80025E10 00022D70 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80025E14 00022D74 C0 3F 00 54 */ lfs f1, 0x54(r31) +/* 80025E18 00022D78 C0 03 03 0C */ lfs f0, 0x30c(r3) +/* 80025E1C 00022D7C 82 FF 00 34 */ lwz r23, 0x34(r31) +/* 80025E20 00022D80 EF A1 00 24 */ fdivs f29, f1, f0 +/* 80025E24 00022D84 48 00 00 4C */ b lbl_80025E70 +lbl_80025E28: +/* 80025E28 00022D88 80 77 00 08 */ lwz r3, 8(r23) +/* 80025E2C 00022D8C 82 C3 00 00 */ lwz r22, 0(r3) +/* 80025E30 00022D90 48 32 41 7D */ bl White__6CColorFv +/* 80025E34 00022D94 88 03 00 03 */ lbz r0, 3(r3) +/* 80025E38 00022D98 93 21 00 70 */ stw r25, 0x70(r1) +/* 80025E3C 00022D9C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80025E40 00022DA0 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80025E44 00022DA4 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80025E48 00022DA8 EF FD 00 32 */ fmuls f31, f29, f0 +/* 80025E4C 00022DAC F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2 +/* 80025E50 00022DB0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80025E54 00022DB4 80 A3 00 00 */ lwz r5, 0(r3) +/* 80025E58 00022DB8 7E C3 B3 78 */ mr r3, r22 +/* 80025E5C 00022DBC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80025E60 00022DC0 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 80025E64 00022DC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80025E68 00022DC8 48 2A 37 A5 */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor +/* 80025E6C 00022DCC 82 F7 00 04 */ lwz r23, 4(r23) +lbl_80025E70: +/* 80025E70 00022DD0 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 80025E74 00022DD4 7C 17 00 40 */ cmplw r23, r0 +/* 80025E78 00022DD8 40 82 FF B0 */ bne lbl_80025E28 +/* 80025E7C 00022DDC C0 3F 00 54 */ lfs f1, 0x54(r31) +/* 80025E80 00022DE0 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) +/* 80025E84 00022DE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80025E88 00022DE8 4C 40 13 82 */ cror 2, 0, 2 +/* 80025E8C 00022DEC 40 82 00 14 */ bne lbl_80025EA0 +/* 80025E90 00022DF0 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 80025E94 00022DF4 38 60 00 01 */ li r3, 1 +/* 80025E98 00022DF8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80025E9C 00022DFC 98 1F 00 5C */ stb r0, 0x5c(r31) +lbl_80025EA0: +/* 80025EA0 00022E00 88 7F 00 5C */ lbz r3, 0x5c(r31) +/* 80025EA4 00022E04 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80025EA8 00022E08 41 82 00 48 */ beq lbl_80025EF0 +/* 80025EAC 00022E0C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80025EB0 00022E10 41 82 00 40 */ beq lbl_80025EF0 +/* 80025EB4 00022E14 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80025EB8 00022E18 38 60 00 7C */ li r3, 0x7c +/* 80025EBC 00022E1C 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80025EC0 00022E20 38 A0 00 00 */ li r5, 0 +/* 80025EC4 00022E24 38 84 01 51 */ addi r4, r4, 0x151 +/* 80025EC8 00022E28 48 2E F9 A5 */ bl __nw__FUlPCcPCc +/* 80025ECC 00022E2C 7C 64 1B 79 */ or. r4, r3, r3 +/* 80025ED0 00022E30 41 82 00 10 */ beq lbl_80025EE0 +/* 80025ED4 00022E34 38 80 00 05 */ li r4, 5 +/* 80025ED8 00022E38 48 00 18 8D */ bl __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie +/* 80025EDC 00022E3C 7C 64 1B 78 */ mr r4, r3 +lbl_80025EE0: +/* 80025EE0 00022E40 7F C3 F3 78 */ mr r3, r30 +/* 80025EE4 00022E44 48 00 1E D1 */ bl sub_80027db4 +/* 80025EE8 00022E48 38 60 00 02 */ li r3, 2 +/* 80025EEC 00022E4C 48 00 00 08 */ b lbl_80025EF4 +lbl_80025EF0: +/* 80025EF0 00022E50 38 60 00 01 */ li r3, 1 +lbl_80025EF4: +/* 80025EF4 00022E54 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80025EF8 00022E58 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80025EFC 00022E5C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 80025F00 00022E60 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 80025F04 00022E64 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 80025F08 00022E68 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 80025F0C 00022E6C BA A1 00 84 */ lmw r21, 0x84(r1) +/* 80025F10 00022E70 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80025F14 00022E74 7C 08 03 A6 */ mtlr r0 +/* 80025F18 00022E78 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80025F1C 00022E7C 4E 80 00 20 */ blr + +.global sub_80025f20 +sub_80025f20: +/* 80025F20 00022E80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80025F24 00022E84 7C 08 02 A6 */ mflr r0 +/* 80025F28 00022E88 7C 85 23 78 */ mr r5, r4 +/* 80025F2C 00022E8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80025F30 00022E90 80 83 00 08 */ lwz r4, 8(r3) +/* 80025F34 00022E94 48 00 00 15 */ bl sub_80025f48 +/* 80025F38 00022E98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80025F3C 00022E9C 7C 08 03 A6 */ mtlr r0 +/* 80025F40 00022EA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80025F44 00022EA4 4E 80 00 20 */ blr + +.global sub_80025f48 +sub_80025f48: +/* 80025F48 00022EA8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80025F4C 00022EAC 7C 08 02 A6 */ mflr r0 +/* 80025F50 00022EB0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80025F54 00022EB4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80025F58 00022EB8 7C 7F 1B 78 */ mr r31, r3 +/* 80025F5C 00022EBC 38 60 00 14 */ li r3, 0x14 +/* 80025F60 00022EC0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80025F64 00022EC4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80025F68 00022EC8 7C BD 2B 78 */ mr r29, r5 +/* 80025F6C 00022ECC 38 A0 00 00 */ li r5, 0 +/* 80025F70 00022ED0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80025F74 00022ED4 7C 9C 23 78 */ mr r28, r4 +/* 80025F78 00022ED8 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80025F7C 00022EDC 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80025F80 00022EE0 83 DC 00 00 */ lwz r30, 0(r28) +/* 80025F84 00022EE4 38 84 01 51 */ addi r4, r4, 0x151 +/* 80025F88 00022EE8 48 2E F8 91 */ bl __nwa__FUlPCcPCc +/* 80025F8C 00022EEC 28 03 00 00 */ cmplwi r3, 0 +/* 80025F90 00022EF0 41 82 00 0C */ beq lbl_80025F9C +/* 80025F94 00022EF4 93 C3 00 00 */ stw r30, 0(r3) +/* 80025F98 00022EF8 93 83 00 04 */ stw r28, 4(r3) +lbl_80025F9C: +/* 80025F9C 00022EFC 34 C3 00 08 */ addic. r6, r3, 8 +/* 80025FA0 00022F00 41 82 00 2C */ beq lbl_80025FCC +/* 80025FA4 00022F04 80 1D 00 00 */ lwz r0, 0(r29) +/* 80025FA8 00022F08 90 06 00 00 */ stw r0, 0(r6) +/* 80025FAC 00022F0C 80 A6 00 00 */ lwz r5, 0(r6) +/* 80025FB0 00022F10 80 85 00 04 */ lwz r4, 4(r5) +/* 80025FB4 00022F14 38 04 00 01 */ addi r0, r4, 1 +/* 80025FB8 00022F18 90 05 00 04 */ stw r0, 4(r5) +/* 80025FBC 00022F1C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80025FC0 00022F20 90 06 00 04 */ stw r0, 4(r6) +/* 80025FC4 00022F24 80 1D 00 08 */ lwz r0, 8(r29) +/* 80025FC8 00022F28 90 06 00 08 */ stw r0, 8(r6) +lbl_80025FCC: +/* 80025FCC 00022F2C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80025FD0 00022F30 7C 1C 00 40 */ cmplw r28, r0 +/* 80025FD4 00022F34 40 82 00 08 */ bne lbl_80025FDC +/* 80025FD8 00022F38 90 7F 00 04 */ stw r3, 4(r31) +lbl_80025FDC: +/* 80025FDC 00022F3C 80 83 00 00 */ lwz r4, 0(r3) +/* 80025FE0 00022F40 90 64 00 04 */ stw r3, 4(r4) +/* 80025FE4 00022F44 80 83 00 04 */ lwz r4, 4(r3) +/* 80025FE8 00022F48 90 64 00 00 */ stw r3, 0(r4) +/* 80025FEC 00022F4C 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 80025FF0 00022F50 38 04 00 01 */ addi r0, r4, 1 +/* 80025FF4 00022F54 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80025FF8 00022F58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80025FFC 00022F5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80026000 00022F60 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80026004 00022F64 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80026008 00022F68 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8002600C 00022F6C 7C 08 03 A6 */ mtlr r0 +/* 80026010 00022F70 38 21 00 20 */ addi r1, r1, 0x20 +/* 80026014 00022F74 4E 80 00 20 */ blr + +.global OnMessage__8CCreditsFRC20CArchitectureMessageR18CArchitectureQueue +OnMessage__8CCreditsFRC20CArchitectureMessageR18CArchitectureQueue: +/* 80026018 00022F78 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8002601C 00022F7C 7C 08 02 A6 */ mflr r0 +/* 80026020 00022F80 90 01 00 84 */ stw r0, 0x84(r1) +/* 80026024 00022F84 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80026028 00022F88 7C 7F 1B 78 */ mr r31, r3 +/* 8002602C 00022F8C 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80026030 00022F90 7C BE 2B 78 */ mr r30, r5 +/* 80026034 00022F94 80 04 00 04 */ lwz r0, 4(r4) +/* 80026038 00022F98 2C 00 00 05 */ cmpwi r0, 5 +/* 8002603C 00022F9C 41 82 00 34 */ beq lbl_80026070 +/* 80026040 00022FA0 40 80 01 A0 */ bge lbl_800261E0 +/* 80026044 00022FA4 2C 00 00 04 */ cmpwi r0, 4 +/* 80026048 00022FA8 40 80 00 08 */ bge lbl_80026050 +/* 8002604C 00022FAC 48 00 01 94 */ b lbl_800261E0 +lbl_80026050: +/* 80026050 00022FB0 7C 83 23 78 */ mr r3, r4 +/* 80026054 00022FB4 48 02 BB 69 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +/* 80026058 00022FB8 7C 64 1B 78 */ mr r4, r3 +/* 8002605C 00022FBC 7F E3 FB 78 */ mr r3, r31 +/* 80026060 00022FC0 C0 24 00 04 */ lfs f1, 4(r4) +/* 80026064 00022FC4 7F C4 F3 78 */ mr r4, r30 +/* 80026068 00022FC8 4B FF F7 B5 */ bl Update__8CCreditsFfR18CArchitectureQueue +/* 8002606C 00022FCC 48 00 01 78 */ b lbl_800261E4 +lbl_80026070: +/* 80026070 00022FD0 7C 83 23 78 */ mr r3, r4 +/* 80026074 00022FD4 48 02 BA 71 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage +/* 80026078 00022FD8 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha +/* 8002607C 00022FDC 3C 80 80 3E */ lis r4, lbl_803D9810@ha +/* 80026080 00022FE0 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l +/* 80026084 00022FE4 90 01 00 38 */ stw r0, 0x38(r1) +/* 80026088 00022FE8 38 04 98 10 */ addi r0, r4, lbl_803D9810@l +/* 8002608C 00022FEC 90 01 00 38 */ stw r0, 0x38(r1) +/* 80026090 00022FF0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80026094 00022FF4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80026098 00022FF8 80 03 00 08 */ lwz r0, 8(r3) +/* 8002609C 00022FFC 90 01 00 40 */ stw r0, 0x40(r1) +/* 800260A0 00023000 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800260A4 00023004 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800260A8 00023008 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 800260AC 0002300C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800260B0 00023010 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 800260B4 00023014 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800260B8 00023018 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 800260BC 0002301C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800260C0 00023020 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 800260C4 00023024 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800260C8 00023028 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 800260CC 0002302C D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800260D0 00023030 88 03 00 24 */ lbz r0, 0x24(r3) +/* 800260D4 00023034 98 01 00 5C */ stb r0, 0x5c(r1) +/* 800260D8 00023038 88 03 00 25 */ lbz r0, 0x25(r3) +/* 800260DC 0002303C 98 01 00 5D */ stb r0, 0x5d(r1) +/* 800260E0 00023040 88 03 00 26 */ lbz r0, 0x26(r3) +/* 800260E4 00023044 98 01 00 5E */ stb r0, 0x5e(r1) +/* 800260E8 00023048 88 03 00 27 */ lbz r0, 0x27(r3) +/* 800260EC 0002304C 98 01 00 5F */ stb r0, 0x5f(r1) +/* 800260F0 00023050 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 800260F4 00023054 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800260F8 00023058 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 800260FC 0002305C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80026100 00023060 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80026104 00023064 98 01 00 68 */ stb r0, 0x68(r1) +/* 80026108 00023068 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8002610C 0002306C 98 01 00 69 */ stb r0, 0x69(r1) +/* 80026110 00023070 88 03 00 32 */ lbz r0, 0x32(r3) +/* 80026114 00023074 38 61 00 38 */ addi r3, r1, 0x38 +/* 80026118 00023078 98 01 00 6A */ stb r0, 0x6a(r1) +/* 8002611C 0002307C 4B FF 58 C9 */ bl GetUserInput__21CArchMsgParmUserInputCFv +/* 80026120 00023080 C0 03 00 00 */ lfs f0, 0(r3) +/* 80026124 00023084 D0 01 00 08 */ stfs f0, 8(r1) +/* 80026128 00023088 80 03 00 04 */ lwz r0, 4(r3) +/* 8002612C 0002308C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80026130 00023090 2C 00 00 00 */ cmpwi r0, 0 +/* 80026134 00023094 C0 03 00 08 */ lfs f0, 8(r3) +/* 80026138 00023098 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8002613C 0002309C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80026140 000230A0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80026144 000230A4 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80026148 000230A8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8002614C 000230AC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80026150 000230B0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80026154 000230B4 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80026158 000230B8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8002615C 000230BC C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80026160 000230C0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80026164 000230C4 88 03 00 20 */ lbz r0, 0x20(r3) +/* 80026168 000230C8 98 01 00 28 */ stb r0, 0x28(r1) +/* 8002616C 000230CC 88 03 00 21 */ lbz r0, 0x21(r3) +/* 80026170 000230D0 98 01 00 29 */ stb r0, 0x29(r1) +/* 80026174 000230D4 88 03 00 22 */ lbz r0, 0x22(r3) +/* 80026178 000230D8 98 01 00 2A */ stb r0, 0x2a(r1) +/* 8002617C 000230DC 88 03 00 23 */ lbz r0, 0x23(r3) +/* 80026180 000230E0 98 01 00 2B */ stb r0, 0x2b(r1) +/* 80026184 000230E4 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80026188 000230E8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8002618C 000230EC C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80026190 000230F0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80026194 000230F4 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80026198 000230F8 98 01 00 34 */ stb r0, 0x34(r1) +/* 8002619C 000230FC 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 800261A0 00023100 98 01 00 35 */ stb r0, 0x35(r1) +/* 800261A4 00023104 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 800261A8 00023108 98 01 00 36 */ stb r0, 0x36(r1) +/* 800261AC 0002310C 40 82 00 28 */ bne lbl_800261D4 +/* 800261B0 00023110 7F E3 FB 78 */ mr r3, r31 +/* 800261B4 00023114 38 81 00 08 */ addi r4, r1, 8 +/* 800261B8 00023118 4B FF F5 99 */ bl sub_80025750 +/* 800261BC 0002311C 7C 7F 1B 78 */ mr r31, r3 +/* 800261C0 00023120 38 61 00 38 */ addi r3, r1, 0x38 +/* 800261C4 00023124 38 80 FF FF */ li r4, -1 +/* 800261C8 00023128 4B FF 58 25 */ bl __dt__21CArchMsgParmUserInputFv +/* 800261CC 0002312C 7F E3 FB 78 */ mr r3, r31 +/* 800261D0 00023130 48 00 00 14 */ b lbl_800261E4 +lbl_800261D4: +/* 800261D4 00023134 38 61 00 38 */ addi r3, r1, 0x38 +/* 800261D8 00023138 38 80 FF FF */ li r4, -1 +/* 800261DC 0002313C 4B FF 58 11 */ bl __dt__21CArchMsgParmUserInputFv +lbl_800261E0: +/* 800261E0 00023140 38 60 00 01 */ li r3, 1 +lbl_800261E4: +/* 800261E4 00023144 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800261E8 00023148 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 800261EC 0002314C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 800261F0 00023150 7C 08 03 A6 */ mtlr r0 +/* 800261F4 00023154 38 21 00 80 */ addi r1, r1, 0x80 +/* 800261F8 00023158 4E 80 00 20 */ blr + +.global __dt__8CCreditsFv +__dt__8CCreditsFv: +/* 800261FC 0002315C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80026200 00023160 7C 08 02 A6 */ mflr r0 +/* 80026204 00023164 90 01 00 14 */ stw r0, 0x14(r1) +/* 80026208 00023168 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002620C 0002316C 7C 9F 23 78 */ mr r31, r4 +/* 80026210 00023170 93 C1 00 08 */ stw r30, 8(r1) +/* 80026214 00023174 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80026218 00023178 41 82 00 88 */ beq lbl_800262A0 +/* 8002621C 0002317C 3C 80 80 3E */ lis r4, lbl_803D9A18@ha +/* 80026220 00023180 38 7E 00 30 */ addi r3, r30, 0x30 +/* 80026224 00023184 38 04 9A 18 */ addi r0, r4, lbl_803D9A18@l +/* 80026228 00023188 38 80 FF FF */ li r4, -1 +/* 8002622C 0002318C 90 1E 00 00 */ stw r0, 0(r30) +/* 80026230 00023190 48 00 1F 35 */ bl sub_80028164 +/* 80026234 00023194 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 80026238 00023198 41 82 00 10 */ beq lbl_80026248 +/* 8002623C 0002319C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 80026240 000231A0 38 80 00 01 */ li r4, 1 +/* 80026244 000231A4 48 34 5F 15 */ bl __dt__18CStaticAudioPlayer +lbl_80026248: +/* 80026248 000231A8 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 8002624C 000231AC 41 82 00 10 */ beq lbl_8002625C +/* 80026250 000231B0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80026254 000231B4 38 80 00 01 */ li r4, 1 +/* 80026258 000231B8 48 33 65 61 */ bl __dt__12CMoviePlayerFv +lbl_8002625C: +/* 8002625C 000231BC 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 80026260 000231C0 41 82 00 10 */ beq lbl_80026270 +/* 80026264 000231C4 38 7E 00 20 */ addi r3, r30, 0x20 +/* 80026268 000231C8 38 80 00 00 */ li r4, 0 +/* 8002626C 000231CC 48 31 AB D5 */ bl __dt__6CTokenFv +lbl_80026270: +/* 80026270 000231D0 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 80026274 000231D4 41 82 00 10 */ beq lbl_80026284 +/* 80026278 000231D8 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8002627C 000231DC 38 80 00 00 */ li r4, 0 +/* 80026280 000231E0 48 31 AB C1 */ bl __dt__6CTokenFv +lbl_80026284: +/* 80026284 000231E4 7F C3 F3 78 */ mr r3, r30 +/* 80026288 000231E8 38 80 00 00 */ li r4, 0 +/* 8002628C 000231EC 48 02 C9 19 */ bl __dt__6CIOWinFv +/* 80026290 000231F0 7F E0 07 35 */ extsh. r0, r31 +/* 80026294 000231F4 40 81 00 0C */ ble lbl_800262A0 +/* 80026298 000231F8 7F C3 F3 78 */ mr r3, r30 +/* 8002629C 000231FC 48 2E F6 95 */ bl Free__7CMemoryFPCv +lbl_800262A0: +/* 800262A0 00023200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800262A4 00023204 7F C3 F3 78 */ mr r3, r30 +/* 800262A8 00023208 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800262AC 0002320C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800262B0 00023210 7C 08 03 A6 */ mtlr r0 +/* 800262B4 00023214 38 21 00 10 */ addi r1, r1, 0x10 +/* 800262B8 00023218 4E 80 00 20 */ blr + +.global __ct__8CCreditsFv +__ct__8CCreditsFv: +/* 800262BC 0002321C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800262C0 00023220 7C 08 02 A6 */ mflr r0 +/* 800262C4 00023224 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 800262C8 00023228 90 01 00 34 */ stw r0, 0x34(r1) +/* 800262CC 0002322C 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 800262D0 00023230 38 84 01 58 */ addi r4, r4, 0x158 +/* 800262D4 00023234 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800262D8 00023238 7C 7F 1B 78 */ mr r31, r3 +/* 800262DC 0002323C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800262E0 00023240 4B FD E9 D9 */ bl string_l__4rstlFPCc +/* 800262E4 00023244 7F E3 FB 78 */ mr r3, r31 +/* 800262E8 00023248 38 81 00 18 */ addi r4, r1, 0x18 +/* 800262EC 0002324C 48 02 C9 21 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800262F0 00023250 38 61 00 18 */ addi r3, r1, 0x18 +/* 800262F4 00023254 48 31 77 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800262F8 00023258 3C 60 80 3E */ lis r3, lbl_803D9A18@ha +/* 800262FC 0002325C 38 00 00 00 */ li r0, 0 +/* 80026300 00023260 38 83 9A 18 */ addi r4, r3, lbl_803D9A18@l +/* 80026304 00023264 38 61 00 10 */ addi r3, r1, 0x10 +/* 80026308 00023268 90 9F 00 00 */ stw r4, 0(r31) +/* 8002630C 0002326C 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80026310 00023270 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80026314 00023274 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 80026318 00023278 81 84 00 00 */ lwz r12, 0(r4) +/* 8002631C 0002327C 80 A5 02 D0 */ lwz r5, 0x2d0(r5) +/* 80026320 00023280 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80026324 00023284 7D 89 03 A6 */ mtctr r12 +/* 80026328 00023288 4E 80 04 21 */ bctrl +/* 8002632C 0002328C 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80026330 00023290 38 81 00 10 */ addi r4, r1, 0x10 +/* 80026334 00023294 48 31 AB 75 */ bl __ct__6CTokenFRC6CToken +/* 80026338 00023298 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002633C 0002329C 38 80 FF FF */ li r4, -1 +/* 80026340 000232A0 48 31 AB 01 */ bl __dt__6CTokenFv +/* 80026344 000232A4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80026348 000232A8 38 61 00 08 */ addi r3, r1, 8 +/* 8002634C 000232AC 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 80026350 000232B0 81 84 00 00 */ lwz r12, 0(r4) +/* 80026354 000232B4 80 A5 02 F0 */ lwz r5, 0x2f0(r5) +/* 80026358 000232B8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8002635C 000232BC 7D 89 03 A6 */ mtctr r12 +/* 80026360 000232C0 4E 80 04 21 */ bctrl +/* 80026364 000232C4 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80026368 000232C8 38 81 00 08 */ addi r4, r1, 8 +/* 8002636C 000232CC 48 31 AB 3D */ bl __ct__6CTokenFRC6CToken +/* 80026370 000232D0 38 61 00 08 */ addi r3, r1, 8 +/* 80026374 000232D4 38 80 FF FF */ li r4, -1 +/* 80026378 000232D8 48 31 AA C9 */ bl __dt__6CTokenFv +/* 8002637C 000232DC 38 C0 00 00 */ li r6, 0 +/* 80026380 000232E0 38 1F 00 3C */ addi r0, r31, 0x3c +/* 80026384 000232E4 90 DF 00 28 */ stw r6, 0x28(r31) +/* 80026388 000232E8 38 80 00 01 */ li r4, 1 +/* 8002638C 000232EC C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) +/* 80026390 000232F0 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80026394 000232F4 90 DF 00 2C */ stw r6, 0x2c(r31) +/* 80026398 000232F8 C0 02 83 48 */ lfs f0, lbl_805AA068@sda21(r2) +/* 8002639C 000232FC 90 1F 00 34 */ stw r0, 0x34(r31) +/* 800263A0 00023300 90 1F 00 38 */ stw r0, 0x38(r31) +/* 800263A4 00023304 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 800263A8 00023308 90 1F 00 40 */ stw r0, 0x40(r31) +/* 800263AC 0002330C 90 DF 00 44 */ stw r6, 0x44(r31) +/* 800263B0 00023310 D0 3F 00 48 */ stfs f1, 0x48(r31) +/* 800263B4 00023314 D0 3F 00 4C */ stfs f1, 0x4c(r31) +/* 800263B8 00023318 D0 1F 00 50 */ stfs f0, 0x50(r31) +/* 800263BC 0002331C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 800263C0 00023320 C0 05 03 0C */ lfs f0, 0x30c(r5) +/* 800263C4 00023324 D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 800263C8 00023328 D0 3F 00 58 */ stfs f1, 0x58(r31) +/* 800263CC 0002332C 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 800263D0 00023330 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800263D4 00023334 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 800263D8 00023338 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 800263DC 0002333C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 800263E0 00023340 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 800263E4 00023344 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 800263E8 00023348 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 800263EC 0002334C 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 800263F0 00023350 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 800263F4 00023354 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 800263F8 00023358 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 800263FC 0002335C 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 80026400 00023360 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 80026404 00023364 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 80026408 00023368 48 31 A9 7D */ bl Lock__6CTokenFv +/* 8002640C 0002336C 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80026410 00023370 48 31 A9 75 */ bl Lock__6CTokenFv +/* 80026414 00023374 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80026418 00023378 7F E3 FB 78 */ mr r3, r31 +/* 8002641C 0002337C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80026420 00023380 7C 08 03 A6 */ mtlr r0 +/* 80026424 00023384 38 21 00 30 */ addi r1, r1, 0x30 +/* 80026428 00023388 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CFirstPersonCamera.s b/asm/Kyoto_CWD/CFirstPersonCamera.s index 7c7271a0..0fcda177 100644 --- a/asm/Kyoto_CWD/CFirstPersonCamera.s +++ b/asm/Kyoto_CWD/CFirstPersonCamera.s @@ -1,5 +1,165 @@ .include "macros.inc" +.section .rodata +.global lbl_803CC420 +lbl_803CC420: + .incbin "baserom.dol", 0x3C9420, 0x18 + +.section .sdata +.global lbl_805A6BF8 +lbl_805A6BF8: + # ROM: 0x3F4598 + .4byte 0 + +.global lbl_805A6BFC +lbl_805A6BFC: + # ROM: 0x3F459C + .4byte 0x3F800000 + +.global lbl_805A6C00 +lbl_805A6C00: + # ROM: 0x3F45A0 + .4byte 0 + +.global lbl_805A6C04 +lbl_805A6C04: + # ROM: 0x3F45A4 + .4byte 0x3F800000 + +.global lbl_805A6C08 +lbl_805A6C08: + # ROM: 0x3F45A8 + .4byte 0 + +.global lbl_805A6C0C +lbl_805A6C0C: + # ROM: 0x3F45AC + .4byte 0x3F800000 + +.global lbl_805A6C10 +lbl_805A6C10: + # ROM: 0x3F45B0 + .4byte 0 + +.global lbl_805A6C14 +lbl_805A6C14: + # ROM: 0x3F45B4 + .4byte 0x3F800000 + +.global lbl_805A6C18 +lbl_805A6C18: + # ROM: 0x3F45B8 + .4byte 0 + +.global lbl_805A6C1C +lbl_805A6C1C: + # ROM: 0x3F45BC + .4byte 0x3F800000 + +.global lbl_805A6C20 +lbl_805A6C20: + # ROM: 0x3F45C0 + .4byte 0 + +.global lbl_805A6C24 +lbl_805A6C24: + # ROM: 0x3F45C4 + .4byte 0x3F800000 + +.global lbl_805A6C28 +lbl_805A6C28: + # ROM: 0x3F45C8 + .4byte 0 + +.global lbl_805A6C2C +lbl_805A6C2C: + # ROM: 0x3F45CC + .4byte 0x3F800000 + +.global lbl_805A6C30 +lbl_805A6C30: + # ROM: 0x3F45D0 + .4byte 0 + +.global lbl_805A6C34 +lbl_805A6C34: + # ROM: 0x3F45D4 + .4byte 0x3F800000 + +.global lbl_805A6C38 +lbl_805A6C38: + # ROM: 0x3F45D8 + .4byte 0 + +.global lbl_805A6C3C +lbl_805A6C3C: + # ROM: 0x3F45DC + .4byte 0x3F800000 + +.global lbl_805A6C40 +lbl_805A6C40: + # ROM: 0x3F45E0 + .4byte 0 + +.global lbl_805A6C44 +lbl_805A6C44: + # ROM: 0x3F45E4 + .4byte 0x3F800000 + +.section .sdata2 + +.global lbl_805A9DD0 +lbl_805A9DD0: + # ROM: 0x3F6670 + .4byte 0 + +.global lbl_805A9DD4 +lbl_805A9DD4: + # ROM: 0x3F6674 + .4byte 0x3F800000 + +.global lbl_805A9DD8 +lbl_805A9DD8: + # ROM: 0x3F6678 + .4byte 0x3727C5AC + .4byte 0 + +.global lbl_805A9DE0 +lbl_805A9DE0: + # ROM: 0x3F6680 + .4byte 0x3FF00000 + .4byte 0 + +.global lbl_805A9DE8 +lbl_805A9DE8: + # ROM: 0x3F6688 + .4byte 0xBF800000 + +.global lbl_805A9DEC +lbl_805A9DEC: + # ROM: 0x3F668C + .4byte 0x38D1B717 + +.global lbl_805A9DF0 +lbl_805A9DF0: + # ROM: 0x3F6690 + .4byte 0x40C90FDB + +.global lbl_805A9DF4 +lbl_805A9DF4: + # ROM: 0x3F6694 + .4byte 0x3F000000 + +.global lbl_805A9DF8 +lbl_805A9DF8: + # ROM: 0x3F6698 + .4byte 0x3E800000 + +.global lbl_805A9DFC +lbl_805A9DFC: + # ROM: 0x3F669C + .4byte 0x3F7FF972 + .section .text, "ax" .global GetGunFollowTransform__18CFirstPersonCameraCFv diff --git a/asm/Kyoto_CWD/CFrontEndUI.s b/asm/Kyoto_CWD/CFrontEndUI.s index ecfe7d1f..2f5df6e1 100644 --- a/asm/Kyoto_CWD/CFrontEndUI.s +++ b/asm/Kyoto_CWD/CFrontEndUI.s @@ -1,5 +1,113 @@ .include "macros.inc" +.section .rodata +.global lbl_803CC540 +lbl_803CC540: + .incbin "baserom.dol", 0x3C9540, 0x84 +.global lbl_803CC5C4 +lbl_803CC5C4: + .incbin "baserom.dol", 0x3C95C4, 0xC +.global lbl_803CC5D0 +lbl_803CC5D0: + .incbin "baserom.dol", 0x3C95D0, 0xC +.global lbl_803CC5DC +lbl_803CC5DC: + .incbin "baserom.dol", 0x3C95DC, 0xC +.global lbl_803CC5E8 +lbl_803CC5E8: + .incbin "baserom.dol", 0x3C95E8, 0xC +.global lbl_803CC5F4 +lbl_803CC5F4: + .incbin "baserom.dol", 0x3C95F4, 0x28 +.global lbl_803CC61C +lbl_803CC61C: + .incbin "baserom.dol", 0x3C961C, 0x28 +.global lbl_803CC644 +lbl_803CC644: + .incbin "baserom.dol", 0x3C9644, 0x45C + +.section .sbss +# CFrontEndUI +.global lbl_805A8CB0 +lbl_805A8CB0: + .skip 0x8 + +.section .sdata + +.global lbl_805A6CD8 +lbl_805A6CD8: + # ROM: 0x3F4678 + .4byte 0 + +.global lbl_805A6CDC +lbl_805A6CDC: + # ROM: 0x3F467C + .4byte 0x3F800000 + +.global lbl_805A6CE0 +lbl_805A6CE0: + # ROM: 0x3F4680 + .4byte 0 + +.global lbl_805A6CE4 +lbl_805A6CE4: + # ROM: 0x3F4684 + .4byte 0 + +.global lbl_805A6CE8 +lbl_805A6CE8: + # ROM: 0x3F4688 + .4byte 0x3F800000 + +.global lbl_805A6CEC +lbl_805A6CEC: + # ROM: 0x3F468C + .4byte 0 + +.global lbl_805A6CF0 +lbl_805A6CF0: + # ROM: 0x3F4690 + .4byte 0x3F800000 + +.global lbl_805A6CF4 +lbl_805A6CF4: + # ROM: 0x3F4694 + .4byte 0 + +.global lbl_805A6CF8 +lbl_805A6CF8: + # ROM: 0x3F4698 + .4byte 0x3F800000 + +.global lbl_805A6CFC +lbl_805A6CFC: + # ROM: 0x3F469C + .4byte 0 + +.global lbl_805A6D00 +lbl_805A6D00: + # ROM: 0x3F46A0 + .4byte 0x3F800000 + +.global lbl_805A6D04 +lbl_805A6D04: + # ROM: 0x3F46A4 + .4byte 0x0000000C + +.global lbl_805A6D08 +lbl_805A6D08: + # ROM: 0x3F46A8 + .4byte 0x0000000B + +.global lbl_805A6D0C +lbl_805A6D0C: + # ROM: 0x3F46AC + .4byte 0x0000003F + .4byte 0x003F003F + .4byte 0x003F003F + .4byte 0x003F0000 + .4byte 0 + .section .text, "ax" .global GetUserInput__21CArchMsgParmUserInputCFv diff --git a/asm/Kyoto_CWD/CGameProjectile.s b/asm/Kyoto_CWD/CGameProjectile.s new file mode 100644 index 00000000..f2441852 --- /dev/null +++ b/asm/Kyoto_CWD/CGameProjectile.s @@ -0,0 +1,3550 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __dt__15CGameProjectileFv +__dt__15CGameProjectileFv: +/* 80037400 00034360 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80037404 00034364 7C 08 02 A6 */ mflr r0 +/* 80037408 00034368 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003740C 0003436C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80037410 00034370 7C 9F 23 78 */ mr r31, r4 +/* 80037414 00034374 93 C1 00 08 */ stw r30, 8(r1) +/* 80037418 00034378 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8003741C 0003437C 41 82 00 78 */ beq lbl_80037494 +/* 80037420 00034380 3C 80 80 3E */ lis r4, lbl_803D9CE0@ha +/* 80037424 00034384 38 7E 02 D0 */ addi r3, r30, 0x2d0 +/* 80037428 00034388 38 04 9C E0 */ addi r0, r4, lbl_803D9CE0@l +/* 8003742C 0003438C 38 80 FF FF */ li r4, -1 +/* 80037430 00034390 90 1E 00 00 */ stw r0, 0(r30) +/* 80037434 00034394 48 00 00 7D */ bl sub_800374b0 +/* 80037438 00034398 38 7E 01 70 */ addi r3, r30, 0x170 +/* 8003743C 0003439C 38 80 FF FF */ li r4, -1 +/* 80037440 000343A0 48 27 94 31 */ bl __dt__17CProjectileWeaponFv +/* 80037444 000343A4 34 1E 01 58 */ addic. r0, r30, 0x158 +/* 80037448 000343A8 41 82 00 30 */ beq lbl_80037478 +/* 8003744C 000343AC 88 1E 01 64 */ lbz r0, 0x164(r30) +/* 80037450 000343B0 28 00 00 00 */ cmplwi r0, 0 +/* 80037454 000343B4 41 82 00 1C */ beq lbl_80037470 +/* 80037458 000343B8 34 7E 01 58 */ addic. r3, r30, 0x158 +/* 8003745C 000343BC 41 82 00 14 */ beq lbl_80037470 +/* 80037460 000343C0 28 03 00 00 */ cmplwi r3, 0 +/* 80037464 000343C4 41 82 00 0C */ beq lbl_80037470 +/* 80037468 000343C8 38 80 00 00 */ li r4, 0 +/* 8003746C 000343CC 48 30 99 D5 */ bl __dt__6CTokenFv +lbl_80037470: +/* 80037470 000343D0 38 00 00 00 */ li r0, 0 +/* 80037474 000343D4 98 1E 01 64 */ stb r0, 0x164(r30) +lbl_80037478: +/* 80037478 000343D8 7F C3 F3 78 */ mr r3, r30 +/* 8003747C 000343DC 38 80 00 00 */ li r4, 0 +/* 80037480 000343E0 48 0C AD B5 */ bl __dt__7CWeaponFv +/* 80037484 000343E4 7F E0 07 35 */ extsh. r0, r31 +/* 80037488 000343E8 40 81 00 0C */ ble lbl_80037494 +/* 8003748C 000343EC 7F C3 F3 78 */ mr r3, r30 +/* 80037490 000343F0 48 2D E4 A1 */ bl Free__7CMemoryFPCv +lbl_80037494: +/* 80037494 000343F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80037498 000343F8 7F C3 F3 78 */ mr r3, r30 +/* 8003749C 000343FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800374A0 00034400 83 C1 00 08 */ lwz r30, 8(r1) +/* 800374A4 00034404 7C 08 03 A6 */ mtlr r0 +/* 800374A8 00034408 38 21 00 10 */ addi r1, r1, 0x10 +/* 800374AC 0003440C 4E 80 00 20 */ blr + +.global sub_800374b0 +sub_800374b0: +/* 800374B0 00034410 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800374B4 00034414 7C 08 02 A6 */ mflr r0 +/* 800374B8 00034418 90 01 00 24 */ stw r0, 0x24(r1) +/* 800374BC 0003441C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800374C0 00034420 7C 9F 23 78 */ mr r31, r4 +/* 800374C4 00034424 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800374C8 00034428 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800374CC 0003442C 41 82 00 6C */ beq lbl_80037538 +/* 800374D0 00034430 80 7E 00 04 */ lwz r3, 4(r30) +/* 800374D4 00034434 38 00 00 00 */ li r0, 0 +/* 800374D8 00034438 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800374DC 0003443C 1C 63 00 38 */ mulli r3, r3, 0x38 +/* 800374E0 00034440 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800374E4 00034444 7C 85 1A 14 */ add r4, r5, r3 +/* 800374E8 00034448 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800374EC 0003444C 90 81 00 08 */ stw r4, 8(r1) +/* 800374F0 00034450 90 81 00 0C */ stw r4, 0xc(r1) +/* 800374F4 00034454 48 00 00 1C */ b lbl_80037510 +lbl_800374F8: +/* 800374F8 00034458 28 05 00 00 */ cmplwi r5, 0 +/* 800374FC 0003445C 41 82 00 10 */ beq lbl_8003750C +/* 80037500 00034460 34 65 00 04 */ addic. r3, r5, 4 +/* 80037504 00034464 41 82 00 08 */ beq lbl_8003750C +/* 80037508 00034468 98 05 00 34 */ stb r0, 0x34(r5) +lbl_8003750C: +/* 8003750C 0003446C 38 A5 00 38 */ addi r5, r5, 0x38 +lbl_80037510: +/* 80037510 00034470 7C 05 20 40 */ cmplw r5, r4 +/* 80037514 00034474 40 82 FF E4 */ bne lbl_800374F8 +/* 80037518 00034478 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8003751C 0003447C 28 03 00 00 */ cmplwi r3, 0 +/* 80037520 00034480 41 82 00 08 */ beq lbl_80037528 +/* 80037524 00034484 48 2D E4 0D */ bl Free__7CMemoryFPCv +lbl_80037528: +/* 80037528 00034488 7F E0 07 35 */ extsh. r0, r31 +/* 8003752C 0003448C 40 81 00 0C */ ble lbl_80037538 +/* 80037530 00034490 7F C3 F3 78 */ mr r3, r30 +/* 80037534 00034494 48 2D E3 FD */ bl Free__7CMemoryFPCv +lbl_80037538: +/* 80037538 00034498 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003753C 0003449C 7F C3 F3 78 */ mr r3, r30 +/* 80037540 000344A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80037544 000344A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80037548 000344A8 7C 08 03 A6 */ mtlr r0 +/* 8003754C 000344AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80037550 000344B0 4E 80 00 20 */ blr + +.global ResolveCollisionWithActor__15CGameProjectileFRC14CRayCastResultR6CActorR13CStateManager +ResolveCollisionWithActor__15CGameProjectileFRC14CRayCastResultR6CActorR13CStateManager: +/* 80037554 000344B4 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80037558 000344B8 7C 08 02 A6 */ mflr r0 +/* 8003755C 000344BC 90 01 01 24 */ stw r0, 0x124(r1) +/* 80037560 000344C0 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 80037564 000344C4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 80037568 000344C8 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8003756C 000344CC F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 80037570 000344D0 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 80037574 000344D4 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 80037578 000344D8 BF 01 00 D0 */ stmw r24, 0xd0(r1) +/* 8003757C 000344DC 7C 7E 1B 78 */ mr r30, r3 +/* 80037580 000344E0 7C B9 2B 78 */ mr r25, r5 +/* 80037584 000344E4 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 80037588 000344E8 7C DF 33 78 */ mr r31, r6 +/* 8003758C 000344EC C0 23 00 48 */ lfs f1, 0x48(r3) +/* 80037590 000344F0 38 61 00 94 */ addi r3, r1, 0x94 +/* 80037594 000344F4 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 80037598 000344F8 38 81 00 88 */ addi r4, r1, 0x88 +/* 8003759C 000344FC D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800375A0 00034500 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 800375A4 00034504 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 800375A8 00034508 48 2D D2 A9 */ bl AsNormalized__9CVector3fCFv +/* 800375AC 0003450C C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 800375B0 00034510 7F 24 CB 78 */ mr r4, r25 +/* 800375B4 00034514 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 800375B8 00034518 38 61 00 28 */ addi r3, r1, 0x28 +/* 800375BC 0003451C C0 01 00 94 */ lfs f0, 0x94(r1) +/* 800375C0 00034520 FF A0 10 50 */ fneg f29, f2 +/* 800375C4 00034524 FF C0 08 50 */ fneg f30, f1 +/* 800375C8 00034528 FF E0 00 50 */ fneg f31, f0 +/* 800375CC 0003452C 48 07 4E 35 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 800375D0 00034530 80 03 00 04 */ lwz r0, 4(r3) +/* 800375D4 00034534 28 00 00 00 */ cmplwi r0, 0 +/* 800375D8 00034538 41 82 02 54 */ beq lbl_8003782C +/* 800375DC 0003453C 88 1E 01 64 */ lbz r0, 0x164(r30) +/* 800375E0 00034540 28 00 00 00 */ cmplwi r0, 0 +/* 800375E4 00034544 41 82 02 48 */ beq lbl_8003782C +/* 800375E8 00034548 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 800375EC 0003454C 80 03 02 F4 */ lwz r0, 0x2f4(r3) +/* 800375F0 00034550 2C 00 00 00 */ cmpwi r0, 0 +/* 800375F4 00034554 40 82 02 38 */ bne lbl_8003782C +/* 800375F8 00034558 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 800375FC 0003455C 7F E5 FB 78 */ mr r5, r31 +/* 80037600 00034560 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80037604 00034564 4B FD 33 65 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 80037608 00034568 C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 8003760C 0003456C 38 61 00 7C */ addi r3, r1, 0x7c +/* 80037610 00034570 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80037614 00034574 38 81 00 70 */ addi r4, r1, 0x70 +/* 80037618 00034578 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8003761C 0003457C D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80037620 00034580 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80037624 00034584 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80037628 00034588 48 2D D2 29 */ bl AsNormalized__9CVector3fCFv +/* 8003762C 0003458C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80037630 00034590 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 80037634 00034594 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80037638 00034598 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 8003763C 0003459C EC 1F 00 7A */ fmadds f0, f31, f1, f0 +/* 80037640 000345A0 EC 3D 00 BA */ fmadds f1, f29, f2, f0 +/* 80037644 000345A4 48 2D D6 91 */ bl FastArcCosR__5CMathFf +/* 80037648 000345A8 C0 02 84 08 */ lfs f0, lbl_805AA128@sda21(r2) +/* 8003764C 000345AC C0 42 84 04 */ lfs f2, lbl_805AA124@sda21(r2) +/* 80037650 000345B0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80037654 000345B4 C0 02 84 0C */ lfs f0, lbl_805AA12C@sda21(r2) +/* 80037658 000345B8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8003765C 000345BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80037660 000345C0 4C 40 13 82 */ cror 2, 0, 2 +/* 80037664 000345C4 40 82 01 C8 */ bne lbl_8003782C +/* 80037668 000345C8 3C 60 80 3D */ lis r3, lbl_803CCE20@ha +/* 8003766C 000345CC 3B A0 00 00 */ li r29, 0 +/* 80037670 000345D0 38 83 CE 20 */ addi r4, r3, lbl_803CCE20@l +/* 80037674 000345D4 3B 80 00 00 */ li r28, 0 +/* 80037678 000345D8 3B 00 00 00 */ li r24, 0 +/* 8003767C 000345DC 38 60 01 10 */ li r3, 0x110 +/* 80037680 000345E0 38 A0 00 00 */ li r5, 0 +/* 80037684 000345E4 48 2D E1 E9 */ bl __nw__FUlPCcPCc +/* 80037688 000345E8 7C 79 1B 79 */ or. r25, r3, r3 +/* 8003768C 000345EC 41 82 00 DC */ beq lbl_80037768 +/* 80037690 000345F0 38 00 00 01 */ li r0, 1 +/* 80037694 000345F4 34 61 00 30 */ addic. r3, r1, 0x30 +/* 80037698 000345F8 98 01 00 38 */ stb r0, 0x38(r1) +/* 8003769C 000345FC 38 9E 01 58 */ addi r4, r30, 0x158 +/* 800376A0 00034600 41 82 00 08 */ beq lbl_800376A8 +/* 800376A4 00034604 48 30 98 05 */ bl __ct__6CTokenFRC6CToken +lbl_800376A8: +/* 800376A8 00034608 38 00 00 00 */ li r0, 0 +/* 800376AC 0003460C 7F E4 FB 78 */ mr r4, r31 +/* 800376B0 00034610 98 01 00 44 */ stb r0, 0x44(r1) +/* 800376B4 00034614 38 61 00 18 */ addi r3, r1, 0x18 +/* 800376B8 00034618 3B 00 00 01 */ li r24, 1 +/* 800376BC 0003461C 3B 80 00 01 */ li r28, 1 +/* 800376C0 00034620 48 01 5A 1D */ bl AllocateUniqueId__13CStateManagerFv +/* 800376C4 00034624 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800376C8 00034628 3C 60 80 3D */ lis r3, lbl_803CCE20@ha +/* 800376CC 0003462C 38 83 CE 20 */ addi r4, r3, lbl_803CCE20@l +/* 800376D0 00034630 38 61 00 48 */ addi r3, r1, 0x48 +/* 800376D4 00034634 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800376D8 00034638 38 84 00 07 */ addi r4, r4, 7 +/* 800376DC 0003463C 4B FC D5 DD */ bl string_l__4rstlFPCc +/* 800376E0 00034640 C0 22 84 10 */ lfs f1, lbl_805AA130@sda21(r2) +/* 800376E4 00034644 38 61 00 24 */ addi r3, r1, 0x24 +/* 800376E8 00034648 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) +/* 800376EC 0003464C 3B A0 00 01 */ li r29, 1 +/* 800376F0 00034650 FC 40 08 90 */ fmr f2, f1 +/* 800376F4 00034654 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800376F8 00034658 FC 60 08 90 */ fmr f3, f1 +/* 800376FC 0003465C FC 80 08 90 */ fmr f4, f1 +/* 80037700 00034660 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 80037704 00034664 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80037708 00034668 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8003770C 0003466C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80037710 00034670 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80037714 00034674 48 32 BC D9 */ bl __ct__6CColorFffff +/* 80037718 00034678 7C 7A 1B 78 */ mr r26, r3 +/* 8003771C 0003467C 7F E3 FB 78 */ mr r3, r31 +/* 80037720 00034680 48 0F 8B 0D */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager +/* 80037724 00034684 7C 7B 1B 78 */ mr r27, r3 +/* 80037728 00034688 7F E3 FB 78 */ mr r3, r31 +/* 8003772C 0003468C 48 0F 8A CD */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager +/* 80037730 00034690 38 61 00 58 */ addi r3, r1, 0x58 +/* 80037734 00034694 38 01 00 64 */ addi r0, r1, 0x64 +/* 80037738 00034698 90 61 00 08 */ stw r3, 8(r1) +/* 8003773C 0003469C 7F 23 CB 78 */ mr r3, r25 +/* 80037740 000346A0 7F 69 DB 78 */ mr r9, r27 +/* 80037744 000346A4 7F 4A D3 78 */ mr r10, r26 +/* 80037748 000346A8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8003774C 000346AC 38 81 00 30 */ addi r4, r1, 0x30 +/* 80037750 000346B0 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80037754 000346B4 38 C1 00 1C */ addi r6, r1, 0x1c +/* 80037758 000346B8 39 01 00 48 */ addi r8, r1, 0x48 +/* 8003775C 000346BC 38 E0 00 01 */ li r7, 1 +/* 80037760 000346C0 48 0F 87 99 */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" +/* 80037764 000346C4 7C 79 1B 78 */ mr r25, r3 +lbl_80037768: +/* 80037768 000346C8 7F E3 FB 78 */ mr r3, r31 +/* 8003776C 000346CC 7F 24 CB 78 */ mr r4, r25 +/* 80037770 000346D0 48 01 55 85 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80037774 000346D4 7F 00 07 75 */ extsb. r0, r24 +/* 80037778 000346D8 41 82 00 28 */ beq lbl_800377A0 +/* 8003777C 000346DC 88 01 00 38 */ lbz r0, 0x38(r1) +/* 80037780 000346E0 28 00 00 00 */ cmplwi r0, 0 +/* 80037784 000346E4 41 82 00 14 */ beq lbl_80037798 +/* 80037788 000346E8 34 61 00 30 */ addic. r3, r1, 0x30 +/* 8003778C 000346EC 41 82 00 0C */ beq lbl_80037798 +/* 80037790 000346F0 38 80 00 00 */ li r4, 0 +/* 80037794 000346F4 48 30 96 AD */ bl __dt__6CTokenFv +lbl_80037798: +/* 80037798 000346F8 38 00 00 00 */ li r0, 0 +/* 8003779C 000346FC 98 01 00 38 */ stb r0, 0x38(r1) +lbl_800377A0: +/* 800377A0 00034700 7F 80 07 75 */ extsb. r0, r28 +/* 800377A4 00034704 41 82 00 28 */ beq lbl_800377CC +/* 800377A8 00034708 88 01 00 44 */ lbz r0, 0x44(r1) +/* 800377AC 0003470C 28 00 00 00 */ cmplwi r0, 0 +/* 800377B0 00034710 41 82 00 14 */ beq lbl_800377C4 +/* 800377B4 00034714 34 61 00 3C */ addic. r3, r1, 0x3c +/* 800377B8 00034718 41 82 00 0C */ beq lbl_800377C4 +/* 800377BC 0003471C 38 80 00 00 */ li r4, 0 +/* 800377C0 00034720 48 30 96 81 */ bl __dt__6CTokenFv +lbl_800377C4: +/* 800377C4 00034724 38 00 00 00 */ li r0, 0 +/* 800377C8 00034728 98 01 00 44 */ stb r0, 0x44(r1) +lbl_800377CC: +/* 800377CC 0003472C 7F A0 07 75 */ extsb. r0, r29 +/* 800377D0 00034730 41 82 00 0C */ beq lbl_800377DC +/* 800377D4 00034734 38 61 00 48 */ addi r3, r1, 0x48 +/* 800377D8 00034738 48 30 63 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800377DC: +/* 800377DC 0003473C A0 9E 01 68 */ lhz r4, 0x168(r30) +/* 800377E0 00034740 38 61 00 20 */ addi r3, r1, 0x20 +/* 800377E4 00034744 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800377E8 00034748 38 A0 00 7F */ li r5, 0x7f +/* 800377EC 0003474C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800377F0 00034750 38 C0 00 40 */ li r6, 0x40 +/* 800377F4 00034754 38 E0 00 00 */ li r7, 0 +/* 800377F8 00034758 39 20 00 00 */ li r9, 0 +/* 800377FC 0003475C 48 2B 25 79 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80037800 00034760 88 1E 02 E4 */ lbz r0, 0x2e4(r30) +/* 80037804 00034764 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80037808 00034768 41 82 00 24 */ beq lbl_8003782C +/* 8003780C 0003476C A0 1E 00 08 */ lhz r0, 8(r30) +/* 80037810 00034770 7F E3 FB 78 */ mr r3, r31 +/* 80037814 00034774 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80037818 00034778 38 C0 00 2B */ li r6, 0x2b +/* 8003781C 0003477C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80037820 00034780 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80037824 00034784 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80037828 00034788 48 00 C6 A9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_8003782C: +/* 8003782C 0003478C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 80037830 00034790 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80037834 00034794 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 80037838 00034798 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8003783C 0003479C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 80037840 000347A0 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 80037844 000347A4 BB 01 00 D0 */ lmw r24, 0xd0(r1) +/* 80037848 000347A8 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8003784C 000347AC 7C 08 03 A6 */ mtlr r0 +/* 80037850 000347B0 38 21 01 20 */ addi r1, r1, 0x120 + +.global sub_80037854 +sub_80037854: +/* 80037854 000347B4 4E 80 00 20 */ blr + +.global GetBeamAttribType__15CGameProjectileF11EWeaponType +GetBeamAttribType__15CGameProjectileF11EWeaponType: +/* 80037858 000347B8 2C 03 00 03 */ cmpwi r3, 3 +/* 8003785C 000347BC 41 82 00 34 */ beq lbl_80037890 +/* 80037860 000347C0 40 80 00 14 */ bge lbl_80037874 +/* 80037864 000347C4 2C 03 00 01 */ cmpwi r3, 1 +/* 80037868 000347C8 41 82 00 18 */ beq lbl_80037880 +/* 8003786C 000347CC 40 80 00 1C */ bge lbl_80037888 +/* 80037870 000347D0 48 00 00 30 */ b lbl_800378A0 +lbl_80037874: +/* 80037874 000347D4 2C 03 00 08 */ cmpwi r3, 8 +/* 80037878 000347D8 41 82 00 20 */ beq lbl_80037898 +/* 8003787C 000347DC 48 00 00 24 */ b lbl_800378A0 +lbl_80037880: +/* 80037880 000347E0 38 60 00 08 */ li r3, 8 +/* 80037884 000347E4 4E 80 00 20 */ blr +lbl_80037888: +/* 80037888 000347E8 38 60 00 10 */ li r3, 0x10 +/* 8003788C 000347EC 4E 80 00 20 */ blr +lbl_80037890: +/* 80037890 000347F0 38 60 00 20 */ li r3, 0x20 +/* 80037894 000347F4 4E 80 00 20 */ blr +lbl_80037898: +/* 80037898 000347F8 38 60 00 40 */ li r3, 0x40 +/* 8003789C 000347FC 4E 80 00 20 */ blr +lbl_800378A0: +/* 800378A0 00034800 38 60 00 00 */ li r3, 0 +/* 800378A4 00034804 4E 80 00 20 */ blr + +.global DeleteProjectileLight__15CGameProjectileFR13CStateManager +DeleteProjectileLight__15CGameProjectileFR13CStateManager: +/* 800378A8 00034808 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800378AC 0003480C 7C 08 02 A6 */ mflr r0 +/* 800378B0 00034810 90 01 00 24 */ stw r0, 0x24(r1) +/* 800378B4 00034814 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800378B8 00034818 7C 7F 1B 78 */ mr r31, r3 +/* 800378BC 0003481C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800378C0 00034820 A0 63 02 C8 */ lhz r3, 0x2c8(r3) +/* 800378C4 00034824 7C 03 00 40 */ cmplw r3, r0 +/* 800378C8 00034828 41 82 00 20 */ beq lbl_800378E8 +/* 800378CC 0003482C A0 1F 02 C8 */ lhz r0, 0x2c8(r31) +/* 800378D0 00034830 7C 83 23 78 */ mr r3, r4 +/* 800378D4 00034834 38 81 00 08 */ addi r4, r1, 8 +/* 800378D8 00034838 B0 01 00 08 */ sth r0, 8(r1) +/* 800378DC 0003483C 48 01 49 91 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 800378E0 00034840 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800378E4 00034844 B0 1F 02 C8 */ sth r0, 0x2c8(r31) +lbl_800378E8: +/* 800378E8 00034848 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800378EC 0003484C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800378F0 00034850 7C 08 03 A6 */ mtlr r0 +/* 800378F4 00034854 38 21 00 20 */ addi r1, r1, 0x20 +/* 800378F8 00034858 4E 80 00 20 */ blr + +.global "CreateProjectileLight__15CGameProjectileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC6CLightR13CStateManager" +"CreateProjectileLight__15CGameProjectileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC6CLightR13CStateManager": +/* 800378FC 0003485C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80037900 00034860 7C 08 02 A6 */ mflr r0 +/* 80037904 00034864 90 01 00 54 */ stw r0, 0x54(r1) +/* 80037908 00034868 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 8003790C 0003486C 7C DC 33 78 */ mr r28, r6 +/* 80037910 00034870 7C 9A 23 78 */ mr r26, r4 +/* 80037914 00034874 7C 79 1B 78 */ mr r25, r3 +/* 80037918 00034878 7C BB 2B 78 */ mr r27, r5 +/* 8003791C 0003487C 7F 84 E3 78 */ mr r4, r28 +/* 80037920 00034880 4B FF FF 89 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager +/* 80037924 00034884 7F 84 E3 78 */ mr r4, r28 +/* 80037928 00034888 38 61 00 1C */ addi r3, r1, 0x1c +/* 8003792C 0003488C 48 01 57 B1 */ bl AllocateUniqueId__13CStateManagerFv +/* 80037930 00034890 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 80037934 00034894 3C 60 80 3D */ lis r3, lbl_803CCE20@ha +/* 80037938 00034898 38 83 CE 20 */ addi r4, r3, lbl_803CCE20@l +/* 8003793C 0003489C 38 A0 00 00 */ li r5, 0 +/* 80037940 000348A0 B0 19 02 C8 */ sth r0, 0x2c8(r25) +/* 80037944 000348A4 38 60 01 48 */ li r3, 0x148 +/* 80037948 000348A8 83 B9 02 CC */ lwz r29, 0x2cc(r25) +/* 8003794C 000348AC 48 2D DF 21 */ bl __nw__FUlPCcPCc +/* 80037950 000348B0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80037954 000348B4 41 82 00 6C */ beq lbl_800379C0 +/* 80037958 000348B8 A0 B9 00 08 */ lhz r5, 8(r25) +/* 8003795C 000348BC 7F 24 CB 78 */ mr r4, r25 +/* 80037960 000348C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80037964 000348C4 B0 A1 00 18 */ sth r5, 0x18(r1) +/* 80037968 000348C8 88 19 00 30 */ lbz r0, 0x30(r25) +/* 8003796C 000348CC B0 A1 00 14 */ sth r5, 0x14(r1) +/* 80037970 000348D0 54 1E CF FE */ rlwinm r30, r0, 0x19, 0x1f, 0x1f +/* 80037974 000348D4 48 01 97 11 */ bl GetAreaId__7CEntityCFv +/* 80037978 000348D8 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8003797C 000348DC 38 00 00 00 */ li r0, 0 +/* 80037980 000348E0 C0 22 84 14 */ lfs f1, lbl_805AA134@sda21(r2) +/* 80037984 000348E4 7F E3 FB 78 */ mr r3, r31 +/* 80037988 000348E8 90 81 00 24 */ stw r4, 0x24(r1) +/* 8003798C 000348EC 7F C6 F3 78 */ mr r6, r30 +/* 80037990 000348F0 7F 47 D3 78 */ mr r7, r26 +/* 80037994 000348F4 7F 6A DB 78 */ mr r10, r27 +/* 80037998 000348F8 A1 39 02 C8 */ lhz r9, 0x2c8(r25) +/* 8003799C 000348FC 38 81 00 10 */ addi r4, r1, 0x10 +/* 800379A0 00034900 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800379A4 00034904 39 19 00 34 */ addi r8, r25, 0x34 +/* 800379A8 00034908 B1 21 00 10 */ sth r9, 0x10(r1) +/* 800379AC 0003490C 39 21 00 18 */ addi r9, r1, 0x18 +/* 800379B0 00034910 93 A1 00 08 */ stw r29, 8(r1) +/* 800379B4 00034914 90 01 00 0C */ stw r0, 0xc(r1) +/* 800379B8 00034918 48 07 DE 6D */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +/* 800379BC 0003491C 7C 7F 1B 78 */ mr r31, r3 +lbl_800379C0: +/* 800379C0 00034920 7F 83 E3 78 */ mr r3, r28 +/* 800379C4 00034924 7F E4 FB 78 */ mr r4, r31 +/* 800379C8 00034928 48 01 53 2D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 800379CC 0003492C BB 21 00 34 */ lmw r25, 0x34(r1) +/* 800379D0 00034930 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800379D4 00034934 7C 08 03 A6 */ mtlr r0 +/* 800379D8 00034938 38 21 00 50 */ addi r1, r1, 0x50 +/* 800379DC 0003493C 4E 80 00 20 */ blr + +.global Chase__15CGameProjectileFfR13CStateManager +Chase__15CGameProjectileFfR13CStateManager: +/* 800379E0 00034940 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 800379E4 00034944 7C 08 02 A6 */ mflr r0 +/* 800379E8 00034948 90 01 02 04 */ stw r0, 0x204(r1) +/* 800379EC 0003494C DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 800379F0 00034950 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 800379F4 00034954 DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 800379F8 00034958 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 800379FC 0003495C DB A1 01 D0 */ stfd f29, 0x1d0(r1) +/* 80037A00 00034960 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 +/* 80037A04 00034964 DB 81 01 C0 */ stfd f28, 0x1c0(r1) +/* 80037A08 00034968 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 +/* 80037A0C 0003496C 93 E1 01 BC */ stw r31, 0x1bc(r1) +/* 80037A10 00034970 93 C1 01 B8 */ stw r30, 0x1b8(r1) +/* 80037A14 00034974 93 A1 01 B4 */ stw r29, 0x1b4(r1) +/* 80037A18 00034978 88 03 02 94 */ lbz r0, 0x294(r3) +/* 80037A1C 0003497C FF E0 08 90 */ fmr f31, f1 +/* 80037A20 00034980 7C 7D 1B 78 */ mr r29, r3 +/* 80037A24 00034984 7C 9E 23 78 */ mr r30, r4 +/* 80037A28 00034988 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80037A2C 0003498C 41 82 03 F0 */ beq lbl_80037E1C +/* 80037A30 00034990 A0 7D 02 C0 */ lhz r3, 0x2c0(r29) +/* 80037A34 00034994 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80037A38 00034998 7C 03 00 40 */ cmplw r3, r0 +/* 80037A3C 0003499C 41 82 03 E0 */ beq lbl_80037E1C +/* 80037A40 000349A0 A0 1D 02 C0 */ lhz r0, 0x2c0(r29) +/* 80037A44 000349A4 7F C3 F3 78 */ mr r3, r30 +/* 80037A48 000349A8 38 81 00 08 */ addi r4, r1, 8 +/* 80037A4C 000349AC B0 01 00 08 */ sth r0, 8(r1) +/* 80037A50 000349B0 48 01 4B 55 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80037A54 000349B4 7C 64 1B 78 */ mr r4, r3 +/* 80037A58 000349B8 38 61 00 1C */ addi r3, r1, 0x1c +/* 80037A5C 000349BC 48 07 82 35 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80037A60 000349C0 83 E3 00 04 */ lwz r31, 4(r3) +/* 80037A64 000349C4 28 1F 00 00 */ cmplwi r31, 0 +/* 80037A68 000349C8 41 82 03 B4 */ beq lbl_80037E1C +/* 80037A6C 000349CC 80 BF 00 68 */ lwz r5, 0x68(r31) +/* 80037A70 000349D0 38 00 01 00 */ li r0, 0x100 +/* 80037A74 000349D4 80 DF 00 6C */ lwz r6, 0x6c(r31) +/* 80037A78 000349D8 38 80 00 00 */ li r4, 0 +/* 80037A7C 000349DC 7C A0 00 38 */ and r0, r5, r0 +/* 80037A80 000349E0 7C C3 20 38 */ and r3, r6, r4 +/* 80037A84 000349E4 7C 63 22 78 */ xor r3, r3, r4 +/* 80037A88 000349E8 7C 00 22 78 */ xor r0, r0, r4 +/* 80037A8C 000349EC 7C 60 03 79 */ or. r0, r3, r0 +/* 80037A90 000349F0 41 82 00 08 */ beq lbl_80037A98 +/* 80037A94 000349F4 38 80 00 01 */ li r4, 1 +lbl_80037A98: +/* 80037A98 000349F8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80037A9C 000349FC 40 82 00 30 */ bne lbl_80037ACC +/* 80037AA0 00034A00 38 80 00 00 */ li r4, 0 +/* 80037AA4 00034A04 38 00 00 01 */ li r0, 1 +/* 80037AA8 00034A08 7C C3 20 38 */ and r3, r6, r4 +/* 80037AAC 00034A0C 7C A0 00 38 */ and r0, r5, r0 +/* 80037AB0 00034A10 7C 63 22 78 */ xor r3, r3, r4 +/* 80037AB4 00034A14 7C 00 22 78 */ xor r0, r0, r4 +/* 80037AB8 00034A18 7C 60 03 79 */ or. r0, r3, r0 +/* 80037ABC 00034A1C 40 82 00 10 */ bne lbl_80037ACC +/* 80037AC0 00034A20 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80037AC4 00034A24 B0 1D 02 C0 */ sth r0, 0x2c0(r29) +/* 80037AC8 00034A28 48 00 03 54 */ b lbl_80037E1C +lbl_80037ACC: +/* 80037ACC 00034A2C 7F E4 FB 78 */ mr r4, r31 +/* 80037AD0 00034A30 7F C5 F3 78 */ mr r5, r30 +/* 80037AD4 00034A34 81 9F 00 00 */ lwz r12, 0(r31) +/* 80037AD8 00034A38 38 61 00 50 */ addi r3, r1, 0x50 +/* 80037ADC 00034A3C C0 22 84 14 */ lfs f1, lbl_805AA134@sda21(r2) +/* 80037AE0 00034A40 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 80037AE4 00034A44 7D 89 03 A6 */ mtctr r12 +/* 80037AE8 00034A48 4E 80 04 21 */ bctrl +/* 80037AEC 00034A4C C3 A1 00 50 */ lfs f29, 0x50(r1) +/* 80037AF0 00034A50 7F E4 FB 78 */ mr r4, r31 +/* 80037AF4 00034A54 C3 C1 00 54 */ lfs f30, 0x54(r1) +/* 80037AF8 00034A58 38 61 00 14 */ addi r3, r1, 0x14 +/* 80037AFC 00034A5C C3 81 00 58 */ lfs f28, 0x58(r1) +/* 80037B00 00034A60 48 06 E1 11 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" +/* 80037B04 00034A64 83 C3 00 04 */ lwz r30, 4(r3) +/* 80037B08 00034A68 28 1E 00 00 */ cmplwi r30, 0 +/* 80037B0C 00034A6C 41 82 00 6C */ beq lbl_80037B78 +/* 80037B10 00034A70 80 DE 04 2C */ lwz r6, 0x42c(r30) +/* 80037B14 00034A74 38 A0 00 00 */ li r5, 0 +/* 80037B18 00034A78 2C 06 FF FF */ cmpwi r6, -1 +/* 80037B1C 00034A7C 40 81 00 2C */ ble lbl_80037B48 +/* 80037B20 00034A80 80 1E 01 0C */ lwz r0, 0x10c(r30) +/* 80037B24 00034A84 7C 06 00 00 */ cmpw r6, r0 +/* 80037B28 00034A88 40 80 00 20 */ bge lbl_80037B48 +/* 80037B2C 00034A8C 1C 66 00 84 */ mulli r3, r6, 0x84 +/* 80037B30 00034A90 80 9E 01 14 */ lwz r4, 0x114(r30) +/* 80037B34 00034A94 38 03 00 80 */ addi r0, r3, 0x80 +/* 80037B38 00034A98 7C 04 00 AE */ lbzx r0, r4, r0 +/* 80037B3C 00034A9C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80037B40 00034AA0 41 82 00 08 */ beq lbl_80037B48 +/* 80037B44 00034AA4 38 A0 00 01 */ li r5, 1 +lbl_80037B48: +/* 80037B48 00034AA8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80037B4C 00034AAC 41 82 00 20 */ beq lbl_80037B6C +/* 80037B50 00034AB0 1C 06 00 84 */ mulli r0, r6, 0x84 +/* 80037B54 00034AB4 80 7E 01 14 */ lwz r3, 0x114(r30) +/* 80037B58 00034AB8 7C 63 02 14 */ add r3, r3, r0 +/* 80037B5C 00034ABC C3 A3 00 0C */ lfs f29, 0xc(r3) +/* 80037B60 00034AC0 C3 C3 00 1C */ lfs f30, 0x1c(r3) +/* 80037B64 00034AC4 C3 83 00 2C */ lfs f28, 0x2c(r3) +/* 80037B68 00034AC8 48 00 00 10 */ b lbl_80037B78 +lbl_80037B6C: +/* 80037B6C 00034ACC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80037B70 00034AD0 B0 1D 02 C0 */ sth r0, 0x2c0(r29) +/* 80037B74 00034AD4 48 00 02 A8 */ b lbl_80037E1C +lbl_80037B78: +/* 80037B78 00034AD8 38 9D 01 70 */ addi r4, r29, 0x170 +/* 80037B7C 00034ADC 38 61 00 44 */ addi r3, r1, 0x44 +/* 80037B80 00034AE0 81 9D 01 70 */ lwz r12, 0x170(r29) +/* 80037B84 00034AE4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80037B88 00034AE8 7D 89 03 A6 */ mtctr r12 +/* 80037B8C 00034AEC 4E 80 04 21 */ bctrl +/* 80037B90 00034AF0 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80037B94 00034AF4 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80037B98 00034AF8 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80037B9C 00034AFC EC 7D 10 28 */ fsubs f3, f29, f2 +/* 80037BA0 00034B00 EC 5E 00 28 */ fsubs f2, f30, f0 +/* 80037BA4 00034B04 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) +/* 80037BA8 00034B08 EC 3C 08 28 */ fsubs f1, f28, f1 +/* 80037BAC 00034B0C D0 61 00 78 */ stfs f3, 0x78(r1) +/* 80037BB0 00034B10 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80037BB4 00034B14 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80037BB8 00034B18 C0 3D 02 E0 */ lfs f1, 0x2e0(r29) +/* 80037BBC 00034B1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80037BC0 00034B20 40 81 00 24 */ ble lbl_80037BE4 +/* 80037BC4 00034B24 38 61 00 78 */ addi r3, r1, 0x78 +/* 80037BC8 00034B28 48 2D CC F1 */ bl Magnitude__9CVector3fCFv +/* 80037BCC 00034B2C C0 1D 02 E0 */ lfs f0, 0x2e0(r29) +/* 80037BD0 00034B30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80037BD4 00034B34 40 80 00 10 */ bge lbl_80037BE4 +/* 80037BD8 00034B38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80037BDC 00034B3C B0 1D 02 C0 */ sth r0, 0x2c0(r29) +/* 80037BE0 00034B40 48 00 02 3C */ b lbl_80037E1C +lbl_80037BE4: +/* 80037BE4 00034B44 7F E4 FB 78 */ mr r4, r31 +/* 80037BE8 00034B48 38 61 00 0C */ addi r3, r1, 0xc +/* 80037BEC 00034B4C 48 07 4A F9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80037BF0 00034B50 28 1E 00 00 */ cmplwi r30, 0 +/* 80037BF4 00034B54 80 03 00 04 */ lwz r0, 4(r3) +/* 80037BF8 00034B58 40 82 00 A4 */ bne lbl_80037C9C +/* 80037BFC 00034B5C 28 00 00 00 */ cmplwi r0, 0 +/* 80037C00 00034B60 40 82 00 9C */ bne lbl_80037C9C +/* 80037C04 00034B64 7F E4 FB 78 */ mr r4, r31 +/* 80037C08 00034B68 38 61 00 84 */ addi r3, r1, 0x84 +/* 80037C0C 00034B6C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80037C10 00034B70 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80037C14 00034B74 7D 89 03 A6 */ mtctr r12 +/* 80037C18 00034B78 4E 80 04 21 */ bctrl +/* 80037C1C 00034B7C 88 01 00 9C */ lbz r0, 0x9c(r1) +/* 80037C20 00034B80 28 00 00 00 */ cmplwi r0, 0 +/* 80037C24 00034B84 98 01 00 B8 */ stb r0, 0xb8(r1) +/* 80037C28 00034B88 41 82 00 3C */ beq lbl_80037C64 +/* 80037C2C 00034B8C 34 61 00 A0 */ addic. r3, r1, 0xa0 +/* 80037C30 00034B90 41 82 00 34 */ beq lbl_80037C64 +/* 80037C34 00034B94 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80037C38 00034B98 D0 03 00 00 */ stfs f0, 0(r3) +/* 80037C3C 00034B9C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80037C40 00034BA0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80037C44 00034BA4 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80037C48 00034BA8 D0 03 00 08 */ stfs f0, 8(r3) +/* 80037C4C 00034BAC C0 01 00 90 */ lfs f0, 0x90(r1) +/* 80037C50 00034BB0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80037C54 00034BB4 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 80037C58 00034BB8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80037C5C 00034BBC C0 01 00 98 */ lfs f0, 0x98(r1) +/* 80037C60 00034BC0 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80037C64: +/* 80037C64 00034BC4 88 01 00 B8 */ lbz r0, 0xb8(r1) +/* 80037C68 00034BC8 38 60 00 00 */ li r3, 0 +/* 80037C6C 00034BCC 98 61 00 9C */ stb r3, 0x9c(r1) +/* 80037C70 00034BD0 28 00 00 00 */ cmplwi r0, 0 +/* 80037C74 00034BD4 41 82 00 20 */ beq lbl_80037C94 +/* 80037C78 00034BD8 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80037C7C 00034BDC C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80037C80 00034BE0 C0 42 84 18 */ lfs f2, lbl_805AA138@sda21(r2) +/* 80037C84 00034BE4 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80037C88 00034BE8 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80037C8C 00034BEC EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80037C90 00034BF0 D0 01 00 80 */ stfs f0, 0x80(r1) +lbl_80037C94: +/* 80037C94 00034BF4 38 00 00 00 */ li r0, 0 +/* 80037C98 00034BF8 98 01 00 B8 */ stb r0, 0xb8(r1) +lbl_80037C9C: +/* 80037C9C 00034BFC 38 61 01 4C */ addi r3, r1, 0x14c +/* 80037CA0 00034C00 38 9D 01 70 */ addi r4, r29, 0x170 +/* 80037CA4 00034C04 48 27 89 35 */ bl GetTransform__17CProjectileWeaponFv +/* 80037CA8 00034C08 C0 41 01 70 */ lfs f2, 0x170(r1) +/* 80037CAC 00034C0C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80037CB0 00034C10 C0 21 01 60 */ lfs f1, 0x160(r1) +/* 80037CB4 00034C14 38 81 00 6C */ addi r4, r1, 0x6c +/* 80037CB8 00034C18 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 80037CBC 00034C1C 38 A1 00 78 */ addi r5, r1, 0x78 +/* 80037CC0 00034C20 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80037CC4 00034C24 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80037CC8 00034C28 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80037CCC 00034C2C 48 2D 9D ED */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f +/* 80037CD0 00034C30 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 80037CD4 00034C34 C0 02 84 1C */ lfs f0, lbl_805AA13C@sda21(r2) +/* 80037CD8 00034C38 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 80037CDC 00034C3C EC 00 01 B2 */ fmuls f0, f0, f6 +/* 80037CE0 00034C40 C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 80037CE4 00034C44 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 80037CE8 00034C48 C0 22 84 10 */ lfs f1, lbl_805AA130@sda21(r2) +/* 80037CEC 00034C4C EC 40 01 B2 */ fmuls f2, f0, f6 +/* 80037CF0 00034C50 C0 02 84 20 */ lfs f0, lbl_805AA140@sda21(r2) +/* 80037CF4 00034C54 D0 C1 00 5C */ stfs f6, 0x5c(r1) +/* 80037CF8 00034C58 EF 82 08 28 */ fsubs f28, f2, f1 +/* 80037CFC 00034C5C D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 80037D00 00034C60 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 80037D04 00034C64 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80037D08 00034C68 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 80037D0C 00034C6C 41 81 01 10 */ bgt lbl_80037E1C +/* 80037D10 00034C70 88 1D 02 E4 */ lbz r0, 0x2e4(r29) +/* 80037D14 00034C74 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80037D18 00034C78 41 82 00 18 */ beq lbl_80037D30 +/* 80037D1C 00034C7C 38 7D 01 70 */ addi r3, r29, 0x170 +/* 80037D20 00034C80 48 27 74 39 */ bl GetMaxTurnRate__17CProjectileWeaponCFv +/* 80037D24 00034C84 C0 02 84 18 */ lfs f0, lbl_805AA138@sda21(r2) +/* 80037D28 00034C88 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80037D2C 00034C8C 48 00 00 0C */ b lbl_80037D38 +lbl_80037D30: +/* 80037D30 00034C90 38 7D 01 70 */ addi r3, r29, 0x170 +/* 80037D34 00034C94 48 27 74 25 */ bl GetMaxTurnRate__17CProjectileWeaponCFv +lbl_80037D38: +/* 80037D38 00034C98 EC 1F 00 72 */ fmuls f0, f31, f1 +/* 80037D3C 00034C9C C0 42 84 24 */ lfs f2, lbl_805AA144@sda21(r2) +/* 80037D40 00034CA0 FC 20 E0 90 */ fmr f1, f28 +/* 80037D44 00034CA4 EF 82 00 32 */ fmuls f28, f2, f0 +/* 80037D48 00034CA8 48 35 CE E5 */ bl acos +/* 80037D4C 00034CAC FC 20 08 18 */ frsp f1, f1 +/* 80037D50 00034CB0 FC 1C 08 40 */ fcmpo cr0, f28, f1 +/* 80037D54 00034CB4 40 80 00 80 */ bge lbl_80037DD4 +/* 80037D58 00034CB8 C0 02 84 18 */ lfs f0, lbl_805AA138@sda21(r2) +/* 80037D5C 00034CBC EC 20 00 72 */ fmuls f1, f0, f1 +/* 80037D60 00034CC0 48 35 CD 7D */ bl sin +/* 80037D64 00034CC4 C0 02 84 18 */ lfs f0, lbl_805AA138@sda21(r2) +/* 80037D68 00034CC8 FF E0 08 90 */ fmr f31, f1 +/* 80037D6C 00034CCC EF 80 07 32 */ fmuls f28, f0, f28 +/* 80037D70 00034CD0 FC 20 E0 90 */ fmr f1, f28 +/* 80037D74 00034CD4 48 35 CD 69 */ bl sin +/* 80037D78 00034CD8 FC A0 08 18 */ frsp f5, f1 +/* 80037D7C 00034CDC C0 61 00 60 */ lfs f3, 0x60(r1) +/* 80037D80 00034CE0 FC 80 F8 18 */ frsp f4, f31 +/* 80037D84 00034CE4 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 80037D88 00034CE8 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80037D8C 00034CEC FC 20 E0 90 */ fmr f1, f28 +/* 80037D90 00034CF0 EC 85 20 24 */ fdivs f4, f5, f4 +/* 80037D94 00034CF4 EF A4 00 F2 */ fmuls f29, f4, f3 +/* 80037D98 00034CF8 EF C4 00 B2 */ fmuls f30, f4, f2 +/* 80037D9C 00034CFC EF E4 00 32 */ fmuls f31, f4, f0 +/* 80037DA0 00034D00 48 35 C6 51 */ bl cos +/* 80037DA4 00034D04 D3 A1 00 28 */ stfs f29, 0x28(r1) +/* 80037DA8 00034D08 FC 00 08 18 */ frsp f0, f1 +/* 80037DAC 00034D0C D3 C1 00 2C */ stfs f30, 0x2c(r1) +/* 80037DB0 00034D10 80 81 00 28 */ lwz r4, 0x28(r1) +/* 80037DB4 00034D14 D3 E1 00 30 */ stfs f31, 0x30(r1) +/* 80037DB8 00034D18 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80037DBC 00034D1C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80037DC0 00034D20 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80037DC4 00034D24 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80037DC8 00034D28 90 81 00 60 */ stw r4, 0x60(r1) +/* 80037DCC 00034D2C 90 61 00 64 */ stw r3, 0x64(r1) +/* 80037DD0 00034D30 90 01 00 68 */ stw r0, 0x68(r1) +lbl_80037DD4: +/* 80037DD4 00034D34 38 61 00 BC */ addi r3, r1, 0xbc +/* 80037DD8 00034D38 38 9D 01 70 */ addi r4, r29, 0x170 +/* 80037DDC 00034D3C 48 27 87 FD */ bl GetTransform__17CProjectileWeaponFv +/* 80037DE0 00034D40 38 61 00 EC */ addi r3, r1, 0xec +/* 80037DE4 00034D44 38 81 00 5C */ addi r4, r1, 0x5c +/* 80037DE8 00034D48 48 2D A1 D1 */ bl BuildTransform4f__11CQuaternionCFv +/* 80037DEC 00034D4C 38 61 01 1C */ addi r3, r1, 0x11c +/* 80037DF0 00034D50 38 81 00 EC */ addi r4, r1, 0xec +/* 80037DF4 00034D54 38 A1 00 BC */ addi r5, r1, 0xbc +/* 80037DF8 00034D58 48 2D AB 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80037DFC 00034D5C 38 61 01 7C */ addi r3, r1, 0x17c +/* 80037E00 00034D60 38 81 01 1C */ addi r4, r1, 0x11c +/* 80037E04 00034D64 48 2D AD 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80037E08 00034D68 38 61 01 7C */ addi r3, r1, 0x17c +/* 80037E0C 00034D6C 48 2D B5 99 */ bl Orthonormalize__12CTransform4fFv +/* 80037E10 00034D70 38 7D 01 70 */ addi r3, r29, 0x170 +/* 80037E14 00034D74 38 81 01 7C */ addi r4, r1, 0x17c +/* 80037E18 00034D78 48 27 86 8D */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f +lbl_80037E1C: +/* 80037E1C 00034D7C E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 80037E20 00034D80 CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 80037E24 00034D84 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 80037E28 00034D88 CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 80037E2C 00034D8C E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 +/* 80037E30 00034D90 CB A1 01 D0 */ lfd f29, 0x1d0(r1) +/* 80037E34 00034D94 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 +/* 80037E38 00034D98 CB 81 01 C0 */ lfd f28, 0x1c0(r1) +/* 80037E3C 00034D9C 83 E1 01 BC */ lwz r31, 0x1bc(r1) +/* 80037E40 00034DA0 83 C1 01 B8 */ lwz r30, 0x1b8(r1) +/* 80037E44 00034DA4 80 01 02 04 */ lwz r0, 0x204(r1) +/* 80037E48 00034DA8 83 A1 01 B4 */ lwz r29, 0x1b4(r1) +/* 80037E4C 00034DAC 7C 08 03 A6 */ mtlr r0 +/* 80037E50 00034DB0 38 21 02 00 */ addi r1, r1, 0x200 +/* 80037E54 00034DB4 4E 80 00 20 */ blr + +.global UpdateHoming__15CGameProjectileFfR13CStateManager +UpdateHoming__15CGameProjectileFfR13CStateManager: +/* 80037E58 00034DB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80037E5C 00034DBC 7C 08 02 A6 */ mflr r0 +/* 80037E60 00034DC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80037E64 00034DC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80037E68 00034DC8 7C 9F 23 78 */ mr r31, r4 +/* 80037E6C 00034DCC 93 C1 00 08 */ stw r30, 8(r1) +/* 80037E70 00034DD0 7C 7E 1B 78 */ mr r30, r3 +/* 80037E74 00034DD4 88 03 02 E4 */ lbz r0, 0x2e4(r3) +/* 80037E78 00034DD8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80037E7C 00034DDC 41 82 00 68 */ beq lbl_80037EE4 +/* 80037E80 00034DE0 A0 7E 02 C0 */ lhz r3, 0x2c0(r30) +/* 80037E84 00034DE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80037E88 00034DE8 7C 03 00 40 */ cmplw r3, r0 +/* 80037E8C 00034DEC 41 82 00 58 */ beq lbl_80037EE4 +/* 80037E90 00034DF0 C0 5E 02 A8 */ lfs f2, 0x2a8(r30) +/* 80037E94 00034DF4 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) +/* 80037E98 00034DF8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80037E9C 00034DFC 40 81 00 48 */ ble lbl_80037EE4 +/* 80037EA0 00034E00 C8 1E 02 B0 */ lfd f0, 0x2b0(r30) +/* 80037EA4 00034E04 FC 00 08 2A */ fadd f0, f0, f1 +/* 80037EA8 00034E08 D8 1E 02 B0 */ stfd f0, 0x2b0(r30) +/* 80037EAC 00034E0C 48 00 00 24 */ b lbl_80037ED0 +lbl_80037EB0: +/* 80037EB0 00034E10 C0 3E 02 A8 */ lfs f1, 0x2a8(r30) +/* 80037EB4 00034E14 7F C3 F3 78 */ mr r3, r30 +/* 80037EB8 00034E18 7F E4 FB 78 */ mr r4, r31 +/* 80037EBC 00034E1C 4B FF FB 25 */ bl Chase__15CGameProjectileFfR13CStateManager +/* 80037EC0 00034E20 C8 3E 02 B8 */ lfd f1, 0x2b8(r30) +/* 80037EC4 00034E24 C0 1E 02 A8 */ lfs f0, 0x2a8(r30) +/* 80037EC8 00034E28 FC 01 00 2A */ fadd f0, f1, f0 +/* 80037ECC 00034E2C D8 1E 02 B8 */ stfd f0, 0x2b8(r30) +lbl_80037ED0: +/* 80037ED0 00034E30 C8 3E 02 B0 */ lfd f1, 0x2b0(r30) +/* 80037ED4 00034E34 C8 1E 02 B8 */ lfd f0, 0x2b8(r30) +/* 80037ED8 00034E38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80037EDC 00034E3C 4C 41 13 82 */ cror 2, 1, 2 +/* 80037EE0 00034E40 41 82 FF D0 */ beq lbl_80037EB0 +lbl_80037EE4: +/* 80037EE4 00034E44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80037EE8 00034E48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80037EEC 00034E4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80037EF0 00034E50 7C 08 03 A6 */ mtlr r0 +/* 80037EF4 00034E54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80037EF8 00034E58 4E 80 00 20 */ blr + +.global UpdateProjectileMovement__15CGameProjectileFfR13CStateManager +UpdateProjectileMovement__15CGameProjectileFfR13CStateManager: +/* 80037EFC 00034E5C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80037F00 00034E60 7C 08 02 A6 */ mflr r0 +/* 80037F04 00034E64 90 01 00 64 */ stw r0, 0x64(r1) +/* 80037F08 00034E68 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80037F0C 00034E6C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80037F10 00034E70 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80037F14 00034E74 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80037F18 00034E78 88 03 02 E4 */ lbz r0, 0x2e4(r3) +/* 80037F1C 00034E7C FF E0 08 90 */ fmr f31, f1 +/* 80037F20 00034E80 7C 7E 1B 78 */ mr r30, r3 +/* 80037F24 00034E84 7C 9F 23 78 */ mr r31, r4 +/* 80037F28 00034E88 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80037F2C 00034E8C 41 82 00 10 */ beq lbl_80037F3C +/* 80037F30 00034E90 EC 1F 07 F2 */ fmuls f0, f31, f31 +/* 80037F34 00034E94 C0 22 84 28 */ lfs f1, lbl_805AA148@sda21(r2) +/* 80037F38 00034E98 EC 21 00 32 */ fmuls f1, f1, f0 +lbl_80037F3C: +/* 80037F3C 00034E9C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80037F40 00034EA0 38 7E 01 70 */ addi r3, r30, 0x170 +/* 80037F44 00034EA4 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80037F48 00034EA8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80037F4C 00034EAC D0 1E 02 98 */ stfs f0, 0x298(r30) +/* 80037F50 00034EB0 D0 5E 02 9C */ stfs f2, 0x29c(r30) +/* 80037F54 00034EB4 D0 7E 02 A0 */ stfs f3, 0x2a0(r30) +/* 80037F58 00034EB8 81 9E 01 70 */ lwz r12, 0x170(r30) +/* 80037F5C 00034EBC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80037F60 00034EC0 7D 89 03 A6 */ mtctr r12 +/* 80037F64 00034EC4 4E 80 04 21 */ bctrl +/* 80037F68 00034EC8 38 61 00 14 */ addi r3, r1, 0x14 +/* 80037F6C 00034ECC 38 9E 01 70 */ addi r4, r30, 0x170 +/* 80037F70 00034ED0 48 27 86 69 */ bl GetTransform__17CProjectileWeaponFv +/* 80037F74 00034ED4 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80037F78 00034ED8 38 81 00 14 */ addi r4, r1, 0x14 +/* 80037F7C 00034EDC 48 2D AB C5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80037F80 00034EE0 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80037F84 00034EE4 38 A0 00 01 */ li r5, 1 +/* 80037F88 00034EE8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80037F8C 00034EEC 38 9E 01 70 */ addi r4, r30, 0x170 +/* 80037F90 00034EF0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80037F94 00034EF4 38 61 00 08 */ addi r3, r1, 8 +/* 80037F98 00034EF8 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80037F9C 00034EFC 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80037FA0 00034F00 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80037FA4 00034F04 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80037FA8 00034F08 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80037FAC 00034F0C 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80037FB0 00034F10 81 9E 01 70 */ lwz r12, 0x170(r30) +/* 80037FB4 00034F14 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80037FB8 00034F18 7D 89 03 A6 */ mtctr r12 +/* 80037FBC 00034F1C 4E 80 04 21 */ bctrl +/* 80037FC0 00034F20 7F C3 F3 78 */ mr r3, r30 +/* 80037FC4 00034F24 38 81 00 08 */ addi r4, r1, 8 +/* 80037FC8 00034F28 48 01 AE C5 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80037FCC 00034F2C FC 20 F8 90 */ fmr f1, f31 +/* 80037FD0 00034F30 7F C3 F3 78 */ mr r3, r30 +/* 80037FD4 00034F34 7F E4 FB 78 */ mr r4, r31 +/* 80037FD8 00034F38 4B FF FE 81 */ bl UpdateHoming__15CGameProjectileFfR13CStateManager +/* 80037FDC 00034F3C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80037FE0 00034F40 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80037FE4 00034F44 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80037FE8 00034F48 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80037FEC 00034F4C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80037FF0 00034F50 7C 08 03 A6 */ mtlr r0 +/* 80037FF4 00034F54 38 21 00 60 */ addi r1, r1, 0x60 +/* 80037FF8 00034F58 4E 80 00 20 */ blr + +.global DoCollisionCheck__15CGameProjectileFR9TUniqueIdR13CStateManager +DoCollisionCheck__15CGameProjectileFR9TUniqueIdR13CStateManager: +/* 80037FFC 00034F5C 94 21 F7 20 */ stwu r1, -0x8e0(r1) +/* 80038000 00034F60 7C 08 02 A6 */ mflr r0 +/* 80038004 00034F64 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) +/* 80038008 00034F68 90 01 08 E4 */ stw r0, 0x8e4(r1) +/* 8003800C 00034F6C C0 22 84 10 */ lfs f1, lbl_805AA130@sda21(r2) +/* 80038010 00034F70 93 E1 08 DC */ stw r31, 0x8dc(r1) +/* 80038014 00034F74 7C 7F 1B 78 */ mr r31, r3 +/* 80038018 00034F78 38 61 00 08 */ addi r3, r1, 8 +/* 8003801C 00034F7C 93 C1 08 D8 */ stw r30, 0x8d8(r1) +/* 80038020 00034F80 7C DE 33 78 */ mr r30, r6 +/* 80038024 00034F84 93 A1 08 D4 */ stw r29, 0x8d4(r1) +/* 80038028 00034F88 7C BD 2B 78 */ mr r29, r5 +/* 8003802C 00034F8C 93 81 08 D0 */ stw r28, 0x8d0(r1) +/* 80038030 00034F90 7C 9C 23 78 */ mr r28, r4 +/* 80038034 00034F94 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80038038 00034F98 D0 21 00 08 */ stfs f1, 8(r1) +/* 8003803C 00034F9C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80038040 00034FA0 48 2D C8 B9 */ bl Normalize__9CVector3fFv +/* 80038044 00034FA4 88 1C 02 E4 */ lbz r0, 0x2e4(r28) +/* 80038048 00034FA8 38 C0 00 00 */ li r6, 0 +/* 8003804C 00034FAC C0 62 84 14 */ lfs f3, lbl_805AA134@sda21(r2) +/* 80038050 00034FB0 C0 41 00 08 */ lfs f2, 8(r1) +/* 80038054 00034FB4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80038058 00034FB8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8003805C 00034FBC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80038060 00034FC0 D0 61 00 90 */ stfs f3, 0x90(r1) +/* 80038064 00034FC4 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 80038068 00034FC8 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 8003806C 00034FCC D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 80038070 00034FD0 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 80038074 00034FD4 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 80038078 00034FD8 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8003807C 00034FDC D0 61 00 AC */ stfs f3, 0xac(r1) +/* 80038080 00034FE0 98 C1 00 B0 */ stb r6, 0xb0(r1) +/* 80038084 00034FE4 90 C1 00 BC */ stw r6, 0xbc(r1) +/* 80038088 00034FE8 90 C1 00 B8 */ stw r6, 0xb8(r1) +/* 8003808C 00034FEC 41 82 01 70 */ beq lbl_800381FC +/* 80038090 00034FF0 C0 7C 00 50 */ lfs f3, 0x50(r28) +/* 80038094 00034FF4 38 60 00 00 */ li r3, 0 +/* 80038098 00034FF8 C0 3C 02 9C */ lfs f1, 0x29c(r28) +/* 8003809C 00034FFC 38 80 00 01 */ li r4, 1 +/* 800380A0 00035000 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 800380A4 00035004 C0 1C 02 A0 */ lfs f0, 0x2a0(r28) +/* 800380A8 00035008 EC 63 08 28 */ fsubs f3, f3, f1 +/* 800380AC 0003500C C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 800380B0 00035010 EC 42 00 28 */ fsubs f2, f2, f0 +/* 800380B4 00035014 C0 1C 02 98 */ lfs f0, 0x298(r28) +/* 800380B8 00035018 80 AD 82 1C */ lwz r5, lbl_805A6DDC@sda21(r13) +/* 800380BC 0003501C EC 01 00 28 */ fsubs f0, f1, f0 +/* 800380C0 00035020 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 800380C4 00035024 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800380C8 00035028 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800380CC 0003502C 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 800380D0 00035030 48 35 1E 25 */ bl __shl2i +/* 800380D4 00035034 38 C0 FF FF */ li r6, -1 +/* 800380D8 00035038 38 A0 00 00 */ li r5, 0 +/* 800380DC 0003503C 38 00 00 02 */ li r0, 2 +/* 800380E0 00035040 90 81 00 3C */ stw r4, 0x3c(r1) +/* 800380E4 00035044 7F 84 E3 78 */ mr r4, r28 +/* 800380E8 00035048 90 61 00 38 */ stw r3, 0x38(r1) +/* 800380EC 0003504C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800380F0 00035050 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800380F4 00035054 90 A1 00 30 */ stw r5, 0x30(r1) +/* 800380F8 00035058 90 01 00 40 */ stw r0, 0x40(r1) +/* 800380FC 0003505C 48 00 21 FD */ bl GetProjectileBounds__15CGameProjectileCFv +/* 80038100 00035060 7F C3 F3 78 */ mr r3, r30 +/* 80038104 00035064 7F 87 E3 78 */ mr r7, r28 +/* 80038108 00035068 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8003810C 0003506C 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80038110 00035070 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80038114 00035074 48 01 46 0D */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80038118 00035078 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 8003811C 0003507C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80038120 00035080 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 80038124 00035084 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80038128 00035088 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8003812C 0003508C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80038130 00035090 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80038134 00035094 48 2D C7 85 */ bl Magnitude__9CVector3fCFv +/* 80038138 00035098 7F 84 E3 78 */ mr r4, r28 +/* 8003813C 0003509C 7F A5 EB 78 */ mr r5, r29 +/* 80038140 000350A0 7F C9 F3 78 */ mr r9, r30 +/* 80038144 000350A4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80038148 000350A8 38 DC 02 98 */ addi r6, r28, 0x298 +/* 8003814C 000350AC 38 E1 00 14 */ addi r7, r1, 0x14 +/* 80038150 000350B0 39 01 00 C0 */ addi r8, r1, 0xc0 +/* 80038154 000350B4 48 00 05 6D */ bl "RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager" +/* 80038158 000350B8 80 E1 00 C0 */ lwz r7, 0xc0(r1) +/* 8003815C 000350BC 38 C0 00 00 */ li r6, 0 +/* 80038160 000350C0 C0 A1 00 60 */ lfs f5, 0x60(r1) +/* 80038164 000350C4 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 80038168 000350C8 2C 07 00 00 */ cmpwi r7, 0 +/* 8003816C 000350CC 80 81 00 68 */ lwz r4, 0x68(r1) +/* 80038170 000350D0 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 80038174 000350D4 C0 81 00 70 */ lfs f4, 0x70(r1) +/* 80038178 000350D8 C0 61 00 74 */ lfs f3, 0x74(r1) +/* 8003817C 000350DC C0 41 00 78 */ lfs f2, 0x78(r1) +/* 80038180 000350E0 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 80038184 000350E4 88 01 00 80 */ lbz r0, 0x80(r1) +/* 80038188 000350E8 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 8003818C 000350EC D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 80038190 000350F0 90 A1 00 94 */ stw r5, 0x94(r1) +/* 80038194 000350F4 90 81 00 98 */ stw r4, 0x98(r1) +/* 80038198 000350F8 90 61 00 9C */ stw r3, 0x9c(r1) +/* 8003819C 000350FC D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 800381A0 00035100 D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 800381A4 00035104 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 800381A8 00035108 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 800381AC 0003510C 98 01 00 B0 */ stb r0, 0xb0(r1) +/* 800381B0 00035110 D8 01 00 B8 */ stfd f0, 0xb8(r1) +/* 800381B4 00035114 40 81 00 40 */ ble lbl_800381F4 +/* 800381B8 00035118 2C 07 00 08 */ cmpwi r7, 8 +/* 800381BC 0003511C 38 67 FF F8 */ addi r3, r7, -8 +/* 800381C0 00035120 40 81 00 20 */ ble lbl_800381E0 +/* 800381C4 00035124 38 03 00 07 */ addi r0, r3, 7 +/* 800381C8 00035128 54 00 E8 FE */ srwi r0, r0, 3 +/* 800381CC 0003512C 7C 09 03 A6 */ mtctr r0 +/* 800381D0 00035130 2C 03 00 00 */ cmpwi r3, 0 +/* 800381D4 00035134 40 81 00 0C */ ble lbl_800381E0 +lbl_800381D8: +/* 800381D8 00035138 38 C6 00 08 */ addi r6, r6, 8 +/* 800381DC 0003513C 42 00 FF FC */ bdnz lbl_800381D8 +lbl_800381E0: +/* 800381E0 00035140 7C 06 38 50 */ subf r0, r6, r7 +/* 800381E4 00035144 7C 09 03 A6 */ mtctr r0 +/* 800381E8 00035148 7C 06 38 00 */ cmpw r6, r7 +/* 800381EC 0003514C 40 80 00 08 */ bge lbl_800381F4 +lbl_800381F0: +/* 800381F0 00035150 42 00 00 00 */ bdnz lbl_800381F0 +lbl_800381F4: +/* 800381F4 00035154 38 00 00 00 */ li r0, 0 +/* 800381F8 00035158 90 01 00 C0 */ stw r0, 0xc0(r1) +lbl_800381FC: +/* 800381FC 0003515C C0 21 00 90 */ lfs f1, 0x90(r1) +/* 80038200 00035160 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 80038204 00035164 D0 3F 00 00 */ stfs f1, 0(r31) +/* 80038208 00035168 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 8003820C 0003516C D0 1F 00 04 */ stfs f0, 4(r31) +/* 80038210 00035170 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 80038214 00035174 D0 3F 00 08 */ stfs f1, 8(r31) +/* 80038218 00035178 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 8003821C 0003517C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80038220 00035180 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80038224 00035184 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 80038228 00035188 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 8003822C 0003518C D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80038230 00035190 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 80038234 00035194 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80038238 00035198 88 01 00 B0 */ lbz r0, 0xb0(r1) +/* 8003823C 0003519C D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80038240 000351A0 80 61 00 BC */ lwz r3, 0xbc(r1) +/* 80038244 000351A4 98 1F 00 20 */ stb r0, 0x20(r31) +/* 80038248 000351A8 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8003824C 000351AC 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 80038250 000351B0 90 1F 00 28 */ stw r0, 0x28(r31) +/* 80038254 000351B4 83 E1 08 DC */ lwz r31, 0x8dc(r1) +/* 80038258 000351B8 83 C1 08 D8 */ lwz r30, 0x8d8(r1) +/* 8003825C 000351BC 83 A1 08 D4 */ lwz r29, 0x8d4(r1) +/* 80038260 000351C0 83 81 08 D0 */ lwz r28, 0x8d0(r1) +/* 80038264 000351C4 80 01 08 E4 */ lwz r0, 0x8e4(r1) +/* 80038268 000351C8 7C 08 03 A6 */ mtlr r0 +/* 8003826C 000351CC 38 21 08 E0 */ addi r1, r1, 0x8e0 +/* 80038270 000351D0 4E 80 00 20 */ blr + +.global ApplyDamageToActors__15CGameProjectileFR13CStateManager +ApplyDamageToActors__15CGameProjectileFR13CStateManager: +/* 80038274 000351D4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80038278 000351D8 7C 08 02 A6 */ mflr r0 +/* 8003827C 000351DC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80038280 000351E0 BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 80038284 000351E4 7C 7C 1B 78 */ mr r28, r3 +/* 80038288 000351E8 7C 9D 23 78 */ mr r29, r4 +/* 8003828C 000351EC 7C BE 2B 78 */ mr r30, r5 +/* 80038290 000351F0 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 80038294 000351F4 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 80038298 000351F8 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8003829C 000351FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800382A0 00035200 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800382A4 00035204 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800382A8 00035208 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 800382AC 0003520C A0 63 02 C6 */ lhz r3, 0x2c6(r3) +/* 800382B0 00035210 7C 03 00 40 */ cmplw r3, r0 +/* 800382B4 00035214 41 82 00 E4 */ beq lbl_80038398 +/* 800382B8 00035218 A0 1C 02 C6 */ lhz r0, 0x2c6(r28) +/* 800382BC 0003521C 7F A3 EB 78 */ mr r3, r29 +/* 800382C0 00035220 38 81 00 40 */ addi r4, r1, 0x40 +/* 800382C4 00035224 B0 01 00 40 */ sth r0, 0x40(r1) +/* 800382C8 00035228 48 01 42 AD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800382CC 0003522C 7C 64 1B 78 */ mr r4, r3 +/* 800382D0 00035230 38 61 00 4C */ addi r3, r1, 0x4c +/* 800382D4 00035234 48 07 79 BD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800382D8 00035238 83 E3 00 04 */ lwz r31, 4(r3) +/* 800382DC 0003523C 28 1F 00 00 */ cmplwi r31, 0 +/* 800382E0 00035240 41 82 00 B0 */ beq lbl_80038390 +/* 800382E4 00035244 80 1C 00 F8 */ lwz r0, 0xf8(r28) +/* 800382E8 00035248 7F A3 EB 78 */ mr r3, r29 +/* 800382EC 0003524C 80 DC 00 FC */ lwz r6, 0xfc(r28) +/* 800382F0 00035250 7F C7 F3 78 */ mr r7, r30 +/* 800382F4 00035254 38 81 00 3C */ addi r4, r1, 0x3c +/* 800382F8 00035258 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800382FC 0003525C 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 80038300 00035260 38 C1 00 2C */ addi r6, r1, 0x2c +/* 80038304 00035264 39 01 00 78 */ addi r8, r1, 0x78 +/* 80038308 00035268 39 21 00 54 */ addi r9, r1, 0x54 +/* 8003830C 0003526C 90 01 00 78 */ stw r0, 0x78(r1) +/* 80038310 00035270 80 1C 01 00 */ lwz r0, 0x100(r28) +/* 80038314 00035274 81 5C 01 04 */ lwz r10, 0x104(r28) +/* 80038318 00035278 91 41 00 84 */ stw r10, 0x84(r1) +/* 8003831C 0003527C 90 01 00 80 */ stw r0, 0x80(r1) +/* 80038320 00035280 80 1C 01 08 */ lwz r0, 0x108(r28) +/* 80038324 00035284 90 01 00 88 */ stw r0, 0x88(r1) +/* 80038328 00035288 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 8003832C 0003528C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80038330 00035290 A1 5F 00 08 */ lhz r10, 8(r31) +/* 80038334 00035294 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80038338 00035298 B1 41 00 34 */ sth r10, 0x34(r1) +/* 8003833C 0003529C A0 1C 00 08 */ lhz r0, 8(r28) +/* 80038340 000352A0 B1 41 00 30 */ sth r10, 0x30(r1) +/* 80038344 000352A4 B0 01 00 38 */ sth r0, 0x38(r1) +/* 80038348 000352A8 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 8003834C 000352AC 48 01 1D 55 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80038350 000352B0 80 1C 00 E8 */ lwz r0, 0xe8(r28) +/* 80038354 000352B4 54 03 04 20 */ rlwinm r3, r0, 0, 0x10, 0x10 +/* 80038358 000352B8 3C 03 00 00 */ addis r0, r3, 0 +/* 8003835C 000352BC 28 00 80 00 */ cmplwi r0, 0x8000 +/* 80038360 000352C0 40 82 00 30 */ bne lbl_80038390 +/* 80038364 000352C4 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80038368 000352C8 A0 9F 00 08 */ lhz r4, 8(r31) +/* 8003836C 000352CC A0 03 00 08 */ lhz r0, 8(r3) +/* 80038370 000352D0 7C 04 00 40 */ cmplw r4, r0 +/* 80038374 000352D4 40 82 00 1C */ bne lbl_80038390 +/* 80038378 000352D8 4B FD D9 85 */ bl GetFrozenState__7CPlayerCFv +/* 8003837C 000352DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80038380 000352E0 41 82 00 10 */ beq lbl_80038390 +/* 80038384 000352E4 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80038388 000352E8 7F A4 EB 78 */ mr r4, r29 +/* 8003838C 000352EC 4B FD D6 A1 */ bl UnFreeze__7CPlayerFR13CStateManager +lbl_80038390: +/* 80038390 000352F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80038394 000352F4 B0 1C 02 C6 */ sth r0, 0x2c6(r28) +lbl_80038398: +/* 80038398 000352F8 83 FC 02 DC */ lwz r31, 0x2dc(r28) +/* 8003839C 000352FC 48 00 00 E4 */ b lbl_80038480 +lbl_800383A0: +/* 800383A0 00035300 A0 1F 00 00 */ lhz r0, 0(r31) +/* 800383A4 00035304 7F A3 EB 78 */ mr r3, r29 +/* 800383A8 00035308 38 81 00 24 */ addi r4, r1, 0x24 +/* 800383AC 0003530C B0 01 00 20 */ sth r0, 0x20(r1) +/* 800383B0 00035310 B0 01 00 24 */ sth r0, 0x24(r1) +/* 800383B4 00035314 48 01 41 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800383B8 00035318 7C 64 1B 78 */ mr r4, r3 +/* 800383BC 0003531C 38 61 00 44 */ addi r3, r1, 0x44 +/* 800383C0 00035320 48 07 78 D1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800383C4 00035324 83 63 00 04 */ lwz r27, 4(r3) +/* 800383C8 00035328 28 1B 00 00 */ cmplwi r27, 0 +/* 800383CC 0003532C 41 82 00 B0 */ beq lbl_8003847C +/* 800383D0 00035330 80 1C 00 F8 */ lwz r0, 0xf8(r28) +/* 800383D4 00035334 7F A3 EB 78 */ mr r3, r29 +/* 800383D8 00035338 80 DC 00 FC */ lwz r6, 0xfc(r28) +/* 800383DC 0003533C 7F C7 F3 78 */ mr r7, r30 +/* 800383E0 00035340 38 81 00 1C */ addi r4, r1, 0x1c +/* 800383E4 00035344 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800383E8 00035348 90 C1 00 64 */ stw r6, 0x64(r1) +/* 800383EC 0003534C 38 C1 00 0C */ addi r6, r1, 0xc +/* 800383F0 00035350 39 01 00 60 */ addi r8, r1, 0x60 +/* 800383F4 00035354 39 21 00 54 */ addi r9, r1, 0x54 +/* 800383F8 00035358 90 01 00 60 */ stw r0, 0x60(r1) +/* 800383FC 0003535C 80 1C 01 00 */ lwz r0, 0x100(r28) +/* 80038400 00035360 81 5C 01 04 */ lwz r10, 0x104(r28) +/* 80038404 00035364 91 41 00 6C */ stw r10, 0x6c(r1) +/* 80038408 00035368 90 01 00 68 */ stw r0, 0x68(r1) +/* 8003840C 0003536C 80 1C 01 08 */ lwz r0, 0x108(r28) +/* 80038410 00035370 90 01 00 70 */ stw r0, 0x70(r1) +/* 80038414 00035374 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 80038418 00035378 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8003841C 0003537C A1 5B 00 08 */ lhz r10, 8(r27) +/* 80038420 00035380 B0 01 00 08 */ sth r0, 8(r1) +/* 80038424 00035384 B1 41 00 14 */ sth r10, 0x14(r1) +/* 80038428 00035388 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8003842C 0003538C B1 41 00 10 */ sth r10, 0x10(r1) +/* 80038430 00035390 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80038434 00035394 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80038438 00035398 48 01 1C 69 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 8003843C 0003539C 80 1C 00 E8 */ lwz r0, 0xe8(r28) +/* 80038440 000353A0 54 03 04 20 */ rlwinm r3, r0, 0, 0x10, 0x10 +/* 80038444 000353A4 3C 03 00 00 */ addis r0, r3, 0 +/* 80038448 000353A8 28 00 80 00 */ cmplwi r0, 0x8000 +/* 8003844C 000353AC 40 82 00 30 */ bne lbl_8003847C +/* 80038450 000353B0 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80038454 000353B4 A0 9B 00 08 */ lhz r4, 8(r27) +/* 80038458 000353B8 A0 03 00 08 */ lhz r0, 8(r3) +/* 8003845C 000353BC 7C 04 00 40 */ cmplw r4, r0 +/* 80038460 000353C0 40 82 00 1C */ bne lbl_8003847C +/* 80038464 000353C4 4B FD D8 99 */ bl GetFrozenState__7CPlayerCFv +/* 80038468 000353C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003846C 000353CC 41 82 00 10 */ beq lbl_8003847C +/* 80038470 000353D0 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80038474 000353D4 7F A4 EB 78 */ mr r4, r29 +/* 80038478 000353D8 4B FD D5 B5 */ bl UnFreeze__7CPlayerFR13CStateManager +lbl_8003847C: +/* 8003847C 000353DC 3B FF 00 38 */ addi r31, r31, 0x38 +lbl_80038480: +/* 80038480 000353E0 80 1C 02 D4 */ lwz r0, 0x2d4(r28) +/* 80038484 000353E4 80 7C 02 DC */ lwz r3, 0x2dc(r28) +/* 80038488 000353E8 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8003848C 000353EC 7C 03 02 14 */ add r0, r3, r0 +/* 80038490 000353F0 7C 1F 00 40 */ cmplw r31, r0 +/* 80038494 000353F4 40 82 FF 0C */ bne lbl_800383A0 +/* 80038498 000353F8 38 7C 02 D0 */ addi r3, r28, 0x2d0 +/* 8003849C 000353FC 48 00 00 19 */ bl "clear__Q24rstl59vector<22CProjectileTouchResult,Q24rstl17rmemory_allocator>Fv" +/* 800384A0 00035400 BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 800384A4 00035404 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800384A8 00035408 7C 08 03 A6 */ mtlr r0 +/* 800384AC 0003540C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800384B0 00035410 4E 80 00 20 */ blr + +.global "clear__Q24rstl59vector<22CProjectileTouchResult,Q24rstl17rmemory_allocator>Fv" +"clear__Q24rstl59vector<22CProjectileTouchResult,Q24rstl17rmemory_allocator>Fv": +/* 800384B4 00035414 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800384B8 00035418 38 00 00 00 */ li r0, 0 +/* 800384BC 0003541C 80 83 00 04 */ lwz r4, 4(r3) +/* 800384C0 00035420 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 800384C4 00035424 1C 84 00 38 */ mulli r4, r4, 0x38 +/* 800384C8 00035428 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800384CC 0003542C 7C A6 22 14 */ add r5, r6, r4 +/* 800384D0 00035430 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800384D4 00035434 90 A1 00 08 */ stw r5, 8(r1) +/* 800384D8 00035438 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800384DC 0003543C 48 00 00 1C */ b lbl_800384F8 +lbl_800384E0: +/* 800384E0 00035440 28 06 00 00 */ cmplwi r6, 0 +/* 800384E4 00035444 41 82 00 10 */ beq lbl_800384F4 +/* 800384E8 00035448 34 86 00 04 */ addic. r4, r6, 4 +/* 800384EC 0003544C 41 82 00 08 */ beq lbl_800384F4 +/* 800384F0 00035450 98 06 00 34 */ stb r0, 0x34(r6) +lbl_800384F4: +/* 800384F4 00035454 38 C6 00 38 */ addi r6, r6, 0x38 +lbl_800384F8: +/* 800384F8 00035458 7C 06 28 40 */ cmplw r6, r5 +/* 800384FC 0003545C 40 82 FF E4 */ bne lbl_800384E0 +/* 80038500 00035460 38 00 00 00 */ li r0, 0 +/* 80038504 00035464 90 03 00 04 */ stw r0, 4(r3) +/* 80038508 00035468 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003850C 0003546C 4E 80 00 20 */ blr + +.global FluidFXThink__15CGameProjectileFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager +FluidFXThink__15CGameProjectileFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: +/* 80038510 00035470 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80038514 00035474 7C 08 02 A6 */ mflr r0 +/* 80038518 00035478 90 01 00 34 */ stw r0, 0x34(r1) +/* 8003851C 0003547C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80038520 00035480 7C 7B 1B 78 */ mr r27, r3 +/* 80038524 00035484 7C 9C 23 78 */ mr r28, r4 +/* 80038528 00035488 7C BD 2B 78 */ mr r29, r5 +/* 8003852C 0003548C 7C DE 33 78 */ mr r30, r6 +/* 80038530 00035490 38 61 00 08 */ addi r3, r1, 8 +/* 80038534 00035494 38 9B 01 70 */ addi r4, r27, 0x170 +/* 80038538 00035498 48 00 00 49 */ bl GetWeaponDescription__17CProjectileWeaponCFv +/* 8003853C 0003549C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80038540 000354A0 38 61 00 08 */ addi r3, r1, 8 +/* 80038544 000354A4 38 80 00 00 */ li r4, 0 +/* 80038548 000354A8 8B E5 00 A6 */ lbz r31, 0xa6(r5) +/* 8003854C 000354AC 48 30 88 F5 */ bl __dt__6CTokenFv +/* 80038550 000354B0 28 1F 00 00 */ cmplwi r31, 0 +/* 80038554 000354B4 41 82 00 18 */ beq lbl_8003856C +/* 80038558 000354B8 7F 63 DB 78 */ mr r3, r27 +/* 8003855C 000354BC 7F 84 E3 78 */ mr r4, r28 +/* 80038560 000354C0 7F A5 EB 78 */ mr r5, r29 +/* 80038564 000354C4 7F C6 F3 78 */ mr r6, r30 +/* 80038568 000354C8 48 0C 99 A5 */ bl FluidFXThink__7CWeaponFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager +lbl_8003856C: +/* 8003856C 000354CC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80038570 000354D0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80038574 000354D4 7C 08 03 A6 */ mtlr r0 +/* 80038578 000354D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8003857C 000354DC 4E 80 00 20 */ blr + +.global GetWeaponDescription__17CProjectileWeaponCFv +GetWeaponDescription__17CProjectileWeaponCFv: +/* 80038580 000354E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80038584 000354E4 7C 08 02 A6 */ mflr r0 +/* 80038588 000354E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003858C 000354EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80038590 000354F0 7C 9F 23 78 */ mr r31, r4 +/* 80038594 000354F4 38 9F 00 04 */ addi r4, r31, 4 +/* 80038598 000354F8 93 C1 00 08 */ stw r30, 8(r1) +/* 8003859C 000354FC 7C 7E 1B 78 */ mr r30, r3 +/* 800385A0 00035500 48 30 89 09 */ bl __ct__6CTokenFRC6CToken +/* 800385A4 00035504 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 800385A8 00035508 7F C3 F3 78 */ mr r3, r30 +/* 800385AC 0003550C 90 1E 00 08 */ stw r0, 8(r30) +/* 800385B0 00035510 48 30 87 D5 */ bl Lock__6CTokenFv +/* 800385B4 00035514 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800385B8 00035518 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800385BC 0003551C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800385C0 00035520 7C 08 03 A6 */ mtlr r0 +/* 800385C4 00035524 38 21 00 10 */ addi r1, r1, 0x10 +/* 800385C8 00035528 4E 80 00 20 */ blr + +.global AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800385CC 0003552C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800385D0 00035530 7C 08 02 A6 */ mflr r0 +/* 800385D4 00035534 2C 04 00 25 */ cmpwi r4, 0x25 +/* 800385D8 00035538 90 01 00 14 */ stw r0, 0x14(r1) +/* 800385DC 0003553C 41 82 00 30 */ beq lbl_8003860C +/* 800385E0 00035540 40 80 00 10 */ bge lbl_800385F0 +/* 800385E4 00035544 2C 04 00 22 */ cmpwi r4, 0x22 +/* 800385E8 00035548 41 82 00 18 */ beq lbl_80038600 +/* 800385EC 0003554C 48 00 00 8C */ b lbl_80038678 +lbl_800385F0: +/* 800385F0 00035550 2C 04 00 27 */ cmpwi r4, 0x27 +/* 800385F4 00035554 41 82 00 60 */ beq lbl_80038654 +/* 800385F8 00035558 40 80 00 80 */ bge lbl_80038678 +/* 800385FC 0003555C 48 00 00 3C */ b lbl_80038638 +lbl_80038600: +/* 80038600 00035560 7C C4 33 78 */ mr r4, r6 +/* 80038604 00035564 4B FF F2 A5 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager +/* 80038608 00035568 48 00 00 70 */ b lbl_80038678 +lbl_8003860C: +/* 8003860C 0003556C 88 A3 02 E4 */ lbz r5, 0x2e4(r3) +/* 80038610 00035570 54 A0 E7 FE */ rlwinm r0, r5, 0x1c, 0x1f, 0x1f +/* 80038614 00035574 28 00 00 01 */ cmplwi r0, 1 +/* 80038618 00035578 41 82 00 60 */ beq lbl_80038678 +/* 8003861C 0003557C 38 80 00 01 */ li r4, 1 +/* 80038620 00035580 50 85 26 F6 */ rlwimi r5, r4, 4, 0x1b, 0x1b +/* 80038624 00035584 98 A3 02 E4 */ stb r5, 0x2e4(r3) +/* 80038628 00035588 88 03 02 E4 */ lbz r0, 0x2e4(r3) +/* 8003862C 0003558C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80038630 00035590 98 03 02 E4 */ stb r0, 0x2e4(r3) +/* 80038634 00035594 48 00 00 44 */ b lbl_80038678 +lbl_80038638: +/* 80038638 00035598 88 83 02 E4 */ lbz r4, 0x2e4(r3) +/* 8003863C 0003559C 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 80038640 000355A0 40 82 00 38 */ bne lbl_80038678 +/* 80038644 000355A4 38 00 00 01 */ li r0, 1 +/* 80038648 000355A8 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a +/* 8003864C 000355AC 98 83 02 E4 */ stb r4, 0x2e4(r3) +/* 80038650 000355B0 48 00 00 28 */ b lbl_80038678 +lbl_80038654: +/* 80038654 000355B4 88 A3 02 E4 */ lbz r5, 0x2e4(r3) +/* 80038658 000355B8 54 A0 DF FF */ rlwinm. r0, r5, 0x1b, 0x1f, 0x1f +/* 8003865C 000355BC 41 82 00 1C */ beq lbl_80038678 +/* 80038660 000355C0 38 80 00 00 */ li r4, 0 +/* 80038664 000355C4 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a +/* 80038668 000355C8 98 A3 02 E4 */ stb r5, 0x2e4(r3) +/* 8003866C 000355CC 88 03 02 E4 */ lbz r0, 0x2e4(r3) +/* 80038670 000355D0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80038674 000355D4 98 03 02 E4 */ stb r0, 0x2e4(r3) +lbl_80038678: +/* 80038678 000355D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003867C 000355DC 7C 08 03 A6 */ mtlr r0 +/* 80038680 000355E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80038684 000355E4 4E 80 00 20 */ blr + +.global Accept__15CGameProjectileFR8IVisitor +Accept__15CGameProjectileFR8IVisitor: +/* 80038688 000355E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003868C 000355EC 7C 08 02 A6 */ mflr r0 +/* 80038690 000355F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80038694 000355F4 7C 60 1B 78 */ mr r0, r3 +/* 80038698 000355F8 7C 83 23 78 */ mr r3, r4 +/* 8003869C 000355FC 81 84 00 00 */ lwz r12, 0(r4) +/* 800386A0 00035600 7C 04 03 78 */ mr r4, r0 +/* 800386A4 00035604 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 800386A8 00035608 7D 89 03 A6 */ mtctr r12 +/* 800386AC 0003560C 4E 80 04 21 */ bctrl +/* 800386B0 00035610 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800386B4 00035614 7C 08 03 A6 */ mtlr r0 +/* 800386B8 00035618 38 21 00 10 */ addi r1, r1, 0x10 +/* 800386BC 0003561C 4E 80 00 20 */ blr + +.global "RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager" +"RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager": +/* 800386C0 00035620 94 21 FC 50 */ stwu r1, -0x3b0(r1) +/* 800386C4 00035624 7C 08 02 A6 */ mflr r0 +/* 800386C8 00035628 90 01 03 B4 */ stw r0, 0x3b4(r1) +/* 800386CC 0003562C DB E1 03 A0 */ stfd f31, 0x3a0(r1) +/* 800386D0 00035630 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 +/* 800386D4 00035634 DB C1 03 90 */ stfd f30, 0x390(r1) +/* 800386D8 00035638 F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 +/* 800386DC 0003563C BE 81 03 60 */ stmw r20, 0x360(r1) +/* 800386E0 00035640 FF C0 08 90 */ fmr f30, f1 +/* 800386E4 00035644 7C 95 23 78 */ mr r21, r4 +/* 800386E8 00035648 7C 74 1B 78 */ mr r20, r3 +/* 800386EC 0003564C 7C B6 2B 78 */ mr r22, r5 +/* 800386F0 00035650 7C D7 33 78 */ mr r23, r6 +/* 800386F4 00035654 7C FA 3B 78 */ mr r26, r7 +/* 800386F8 00035658 7D 18 43 78 */ mr r24, r8 +/* 800386FC 0003565C 7D 39 4B 78 */ mr r25, r9 +/* 80038700 00035660 38 75 02 D0 */ addi r3, r21, 0x2d0 +/* 80038704 00035664 4B FF FD B1 */ bl "clear__Q24rstl59vector<22CProjectileTouchResult,Q24rstl17rmemory_allocator>Fv" +/* 80038708 00035668 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003870C 0003566C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80038710 00035670 C0 22 84 10 */ lfs f1, lbl_805AA130@sda21(r2) +/* 80038714 00035674 B0 16 00 00 */ sth r0, 0(r22) +/* 80038718 00035678 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) +/* 8003871C 0003567C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80038720 00035680 B0 15 02 C6 */ sth r0, 0x2c6(r21) +/* 80038724 00035684 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80038728 00035688 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8003872C 0003568C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80038730 00035690 48 2D C1 C9 */ bl Normalize__9CVector3fFv +/* 80038734 00035694 C0 5A 00 04 */ lfs f2, 4(r26) +/* 80038738 00035698 38 00 00 00 */ li r0, 0 +/* 8003873C 0003569C C0 17 00 04 */ lfs f0, 4(r23) +/* 80038740 000356A0 38 61 00 58 */ addi r3, r1, 0x58 +/* 80038744 000356A4 C0 3A 00 08 */ lfs f1, 8(r26) +/* 80038748 000356A8 C0 A2 84 14 */ lfs f5, lbl_805AA134@sda21(r2) +/* 8003874C 000356AC EC E2 00 28 */ fsubs f7, f2, f0 +/* 80038750 000356B0 C0 17 00 08 */ lfs f0, 8(r23) +/* 80038754 000356B4 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80038758 000356B8 EC C1 00 28 */ fsubs f6, f1, f0 +/* 8003875C 000356BC C0 61 00 20 */ lfs f3, 0x20(r1) +/* 80038760 000356C0 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 80038764 000356C4 C0 3A 00 00 */ lfs f1, 0(r26) +/* 80038768 000356C8 C0 17 00 00 */ lfs f0, 0(r23) +/* 8003876C 000356CC D0 A1 02 B8 */ stfs f5, 0x2b8(r1) +/* 80038770 000356D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80038774 000356D4 D0 A1 02 BC */ stfs f5, 0x2bc(r1) +/* 80038778 000356D8 D0 A1 02 C0 */ stfs f5, 0x2c0(r1) +/* 8003877C 000356DC D0 A1 02 C4 */ stfs f5, 0x2c4(r1) +/* 80038780 000356E0 D0 81 02 C8 */ stfs f4, 0x2c8(r1) +/* 80038784 000356E4 D0 61 02 CC */ stfs f3, 0x2cc(r1) +/* 80038788 000356E8 D0 41 02 D0 */ stfs f2, 0x2d0(r1) +/* 8003878C 000356EC D0 A1 02 D4 */ stfs f5, 0x2d4(r1) +/* 80038790 000356F0 98 01 02 D8 */ stb r0, 0x2d8(r1) +/* 80038794 000356F4 90 01 02 E4 */ stw r0, 0x2e4(r1) +/* 80038798 000356F8 90 01 02 E0 */ stw r0, 0x2e0(r1) +/* 8003879C 000356FC D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800387A0 00035700 D0 E1 00 5C */ stfs f7, 0x5c(r1) +/* 800387A4 00035704 D0 C1 00 60 */ stfs f6, 0x60(r1) +/* 800387A8 00035708 48 2D BF 51 */ bl CanBeNormalized__9CVector3fCFv +/* 800387AC 0003570C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800387B0 00035710 40 82 00 60 */ bne lbl_80038810 +/* 800387B4 00035714 C0 21 02 B8 */ lfs f1, 0x2b8(r1) +/* 800387B8 00035718 C0 01 02 BC */ lfs f0, 0x2bc(r1) +/* 800387BC 0003571C D0 34 00 00 */ stfs f1, 0(r20) +/* 800387C0 00035720 C0 21 02 C0 */ lfs f1, 0x2c0(r1) +/* 800387C4 00035724 D0 14 00 04 */ stfs f0, 4(r20) +/* 800387C8 00035728 C0 01 02 C4 */ lfs f0, 0x2c4(r1) +/* 800387CC 0003572C D0 34 00 08 */ stfs f1, 8(r20) +/* 800387D0 00035730 C0 21 02 C8 */ lfs f1, 0x2c8(r1) +/* 800387D4 00035734 D0 14 00 0C */ stfs f0, 0xc(r20) +/* 800387D8 00035738 C0 01 02 CC */ lfs f0, 0x2cc(r1) +/* 800387DC 0003573C D0 34 00 10 */ stfs f1, 0x10(r20) +/* 800387E0 00035740 C0 21 02 D0 */ lfs f1, 0x2d0(r1) +/* 800387E4 00035744 D0 14 00 14 */ stfs f0, 0x14(r20) +/* 800387E8 00035748 C0 01 02 D4 */ lfs f0, 0x2d4(r1) +/* 800387EC 0003574C D0 34 00 18 */ stfs f1, 0x18(r20) +/* 800387F0 00035750 88 01 02 D8 */ lbz r0, 0x2d8(r1) +/* 800387F4 00035754 D0 14 00 1C */ stfs f0, 0x1c(r20) +/* 800387F8 00035758 80 61 02 E4 */ lwz r3, 0x2e4(r1) +/* 800387FC 0003575C 98 14 00 20 */ stb r0, 0x20(r20) +/* 80038800 00035760 80 01 02 E0 */ lwz r0, 0x2e0(r1) +/* 80038804 00035764 90 74 00 2C */ stw r3, 0x2c(r20) +/* 80038808 00035768 90 14 00 28 */ stw r0, 0x28(r20) +/* 8003880C 0003576C 48 00 08 44 */ b lbl_80039050 +lbl_80038810: +/* 80038810 00035770 38 61 00 40 */ addi r3, r1, 0x40 +/* 80038814 00035774 38 81 00 58 */ addi r4, r1, 0x58 +/* 80038818 00035778 48 2D C0 39 */ bl AsNormalized__9CVector3fCFv +/* 8003881C 0003577C C0 61 00 40 */ lfs f3, 0x40(r1) +/* 80038820 00035780 FF E0 F0 90 */ fmr f31, f30 +/* 80038824 00035784 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80038828 00035788 FC 20 F0 90 */ fmr f1, f30 +/* 8003882C 0003578C C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80038830 00035790 7F 24 CB 78 */ mr r4, r25 +/* 80038834 00035794 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80038838 00035798 7E E5 BB 78 */ mr r5, r23 +/* 8003883C 0003579C 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80038840 000357A0 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80038844 000357A4 38 C1 00 4C */ addi r6, r1, 0x4c +/* 80038848 000357A8 38 E1 00 D0 */ addi r7, r1, 0xd0 +/* 8003884C 000357AC D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80038850 000357B0 80 15 00 F8 */ lwz r0, 0xf8(r21) +/* 80038854 000357B4 81 15 00 FC */ lwz r8, 0xfc(r21) +/* 80038858 000357B8 91 01 00 D4 */ stw r8, 0xd4(r1) +/* 8003885C 000357BC 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 80038860 000357C0 80 15 01 00 */ lwz r0, 0x100(r21) +/* 80038864 000357C4 81 15 01 04 */ lwz r8, 0x104(r21) +/* 80038868 000357C8 91 01 00 DC */ stw r8, 0xdc(r1) +/* 8003886C 000357CC 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 80038870 000357D0 80 15 01 08 */ lwz r0, 0x108(r21) +/* 80038874 000357D4 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80038878 000357D8 48 01 47 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8003887C 000357DC 88 A1 01 E8 */ lbz r5, 0x1e8(r1) +/* 80038880 000357E0 C0 E1 01 C8 */ lfs f7, 0x1c8(r1) +/* 80038884 000357E4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80038888 000357E8 C0 C1 01 CC */ lfs f6, 0x1cc(r1) +/* 8003888C 000357EC C0 A1 01 D0 */ lfs f5, 0x1d0(r1) +/* 80038890 000357F0 C0 01 01 D4 */ lfs f0, 0x1d4(r1) +/* 80038894 000357F4 C0 81 01 D8 */ lfs f4, 0x1d8(r1) +/* 80038898 000357F8 C0 61 01 DC */ lfs f3, 0x1dc(r1) +/* 8003889C 000357FC C0 41 01 E0 */ lfs f2, 0x1e0(r1) +/* 800388A0 00035800 C0 21 01 E4 */ lfs f1, 0x1e4(r1) +/* 800388A4 00035804 80 01 01 F0 */ lwz r0, 0x1f0(r1) +/* 800388A8 00035808 80 61 01 F4 */ lwz r3, 0x1f4(r1) +/* 800388AC 0003580C D0 E1 02 88 */ stfs f7, 0x288(r1) +/* 800388B0 00035810 D0 C1 02 8C */ stfs f6, 0x28c(r1) +/* 800388B4 00035814 D0 A1 02 90 */ stfs f5, 0x290(r1) +/* 800388B8 00035818 D0 01 02 94 */ stfs f0, 0x294(r1) +/* 800388BC 0003581C D0 81 02 98 */ stfs f4, 0x298(r1) +/* 800388C0 00035820 D0 61 02 9C */ stfs f3, 0x29c(r1) +/* 800388C4 00035824 D0 41 02 A0 */ stfs f2, 0x2a0(r1) +/* 800388C8 00035828 D0 21 02 A4 */ stfs f1, 0x2a4(r1) +/* 800388CC 0003582C 98 A1 02 A8 */ stb r5, 0x2a8(r1) +/* 800388D0 00035830 90 61 02 B4 */ stw r3, 0x2b4(r1) +/* 800388D4 00035834 90 01 02 B0 */ stw r0, 0x2b0(r1) +/* 800388D8 00035838 41 82 00 40 */ beq lbl_80038918 +/* 800388DC 0003583C 80 81 02 8C */ lwz r4, 0x28c(r1) +/* 800388E0 00035840 FF E0 38 90 */ fmr f31, f7 +/* 800388E4 00035844 80 61 02 90 */ lwz r3, 0x290(r1) +/* 800388E8 00035848 80 01 02 94 */ lwz r0, 0x294(r1) +/* 800388EC 0003584C C8 01 02 B0 */ lfd f0, 0x2b0(r1) +/* 800388F0 00035850 D0 E1 02 B8 */ stfs f7, 0x2b8(r1) +/* 800388F4 00035854 90 81 02 BC */ stw r4, 0x2bc(r1) +/* 800388F8 00035858 90 61 02 C0 */ stw r3, 0x2c0(r1) +/* 800388FC 0003585C 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 80038900 00035860 D0 81 02 C8 */ stfs f4, 0x2c8(r1) +/* 80038904 00035864 D0 61 02 CC */ stfs f3, 0x2cc(r1) +/* 80038908 00035868 D0 41 02 D0 */ stfs f2, 0x2d0(r1) +/* 8003890C 0003586C D0 21 02 D4 */ stfs f1, 0x2d4(r1) +/* 80038910 00035870 98 A1 02 D8 */ stb r5, 0x2d8(r1) +/* 80038914 00035874 D8 01 02 E0 */ stfd f0, 0x2e0(r1) +lbl_80038918: +/* 80038918 00035878 3B 98 00 04 */ addi r28, r24, 4 +/* 8003891C 0003587C 3B E1 01 94 */ addi r31, r1, 0x194 +/* 80038920 00035880 3B A1 02 54 */ addi r29, r1, 0x254 +/* 80038924 00035884 3B C1 03 24 */ addi r30, r1, 0x324 +/* 80038928 00035888 48 00 06 90 */ b lbl_80038FB8 +lbl_8003892C: +/* 8003892C 0003588C A0 1C 00 00 */ lhz r0, 0(r28) +/* 80038930 00035890 7F 23 CB 78 */ mr r3, r25 +/* 80038934 00035894 38 81 00 08 */ addi r4, r1, 8 +/* 80038938 00035898 B0 01 00 08 */ sth r0, 8(r1) +/* 8003893C 0003589C 48 01 3C 39 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80038940 000358A0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80038944 000358A4 41 82 06 70 */ beq lbl_80038FB4 +/* 80038948 000358A8 7E A4 AB 78 */ mr r4, r21 +/* 8003894C 000358AC 7F 65 DB 78 */ mr r5, r27 +/* 80038950 000358B0 7F 26 CB 78 */ mr r6, r25 +/* 80038954 000358B4 38 61 01 90 */ addi r3, r1, 0x190 +/* 80038958 000358B8 48 00 07 1D */ bl CanCollideWith__15CGameProjectileFR6CActorR13CStateManager +/* 8003895C 000358BC 88 01 01 C4 */ lbz r0, 0x1c4(r1) +/* 80038960 000358C0 38 81 02 50 */ addi r4, r1, 0x250 +/* 80038964 000358C4 A0 61 01 90 */ lhz r3, 0x190(r1) +/* 80038968 000358C8 28 00 00 00 */ cmplwi r0, 0 +/* 8003896C 000358CC 98 01 02 84 */ stb r0, 0x284(r1) +/* 80038970 000358D0 B0 61 02 50 */ sth r3, 0x250(r1) +/* 80038974 000358D4 41 82 00 64 */ beq lbl_800389D8 +/* 80038978 000358D8 34 84 00 04 */ addic. r4, r4, 4 +/* 8003897C 000358DC 41 82 00 5C */ beq lbl_800389D8 +/* 80038980 000358E0 C0 01 01 94 */ lfs f0, 0x194(r1) +/* 80038984 000358E4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80038988 000358E8 C0 01 01 98 */ lfs f0, 0x198(r1) +/* 8003898C 000358EC D0 04 00 04 */ stfs f0, 4(r4) +/* 80038990 000358F0 C0 01 01 9C */ lfs f0, 0x19c(r1) +/* 80038994 000358F4 D0 04 00 08 */ stfs f0, 8(r4) +/* 80038998 000358F8 C0 01 01 A0 */ lfs f0, 0x1a0(r1) +/* 8003899C 000358FC D0 04 00 0C */ stfs f0, 0xc(r4) +/* 800389A0 00035900 C0 01 01 A4 */ lfs f0, 0x1a4(r1) +/* 800389A4 00035904 D0 04 00 10 */ stfs f0, 0x10(r4) +/* 800389A8 00035908 C0 01 01 A8 */ lfs f0, 0x1a8(r1) +/* 800389AC 0003590C D0 04 00 14 */ stfs f0, 0x14(r4) +/* 800389B0 00035910 C0 01 01 AC */ lfs f0, 0x1ac(r1) +/* 800389B4 00035914 D0 04 00 18 */ stfs f0, 0x18(r4) +/* 800389B8 00035918 C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 800389BC 0003591C D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 800389C0 00035920 88 01 01 B4 */ lbz r0, 0x1b4(r1) +/* 800389C4 00035924 98 04 00 20 */ stb r0, 0x20(r4) +/* 800389C8 00035928 80 01 01 BC */ lwz r0, 0x1bc(r1) +/* 800389CC 0003592C 80 61 01 C0 */ lwz r3, 0x1c0(r1) +/* 800389D0 00035930 90 64 00 2C */ stw r3, 0x2c(r4) +/* 800389D4 00035934 90 04 00 28 */ stw r0, 0x28(r4) +lbl_800389D8: +/* 800389D8 00035938 28 1F 00 00 */ cmplwi r31, 0 +/* 800389DC 0003593C 41 82 00 0C */ beq lbl_800389E8 +/* 800389E0 00035940 38 00 00 00 */ li r0, 0 +/* 800389E4 00035944 98 01 01 C4 */ stb r0, 0x1c4(r1) +lbl_800389E8: +/* 800389E8 00035948 A0 61 02 50 */ lhz r3, 0x250(r1) +/* 800389EC 0003594C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800389F0 00035950 7C 03 00 40 */ cmplw r3, r0 +/* 800389F4 00035954 40 82 00 18 */ bne lbl_80038A0C +/* 800389F8 00035958 28 1D 00 00 */ cmplwi r29, 0 +/* 800389FC 0003595C 41 82 05 B8 */ beq lbl_80038FB4 +/* 80038A00 00035960 38 00 00 00 */ li r0, 0 +/* 80038A04 00035964 98 01 02 84 */ stb r0, 0x284(r1) +/* 80038A08 00035968 48 00 05 AC */ b lbl_80038FB4 +lbl_80038A0C: +/* 80038A0C 0003596C 88 01 02 84 */ lbz r0, 0x284(r1) +/* 80038A10 00035970 28 00 00 00 */ cmplwi r0, 0 +/* 80038A14 00035974 41 82 00 94 */ beq lbl_80038AA8 +/* 80038A18 00035978 C0 01 02 54 */ lfs f0, 0x254(r1) +/* 80038A1C 0003597C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80038A20 00035980 40 80 05 84 */ bge lbl_80038FA4 +/* 80038A24 00035984 7F 63 DB 78 */ mr r3, r27 +/* 80038A28 00035988 7E A4 AB 78 */ mr r4, r21 +/* 80038A2C 0003598C 81 9B 00 00 */ lwz r12, 0(r27) +/* 80038A30 00035990 7F 25 CB 78 */ mr r5, r25 +/* 80038A34 00035994 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 80038A38 00035998 7D 89 03 A6 */ mtctr r12 +/* 80038A3C 0003599C 4E 80 04 21 */ bctrl +/* 80038A40 000359A0 C0 A1 02 54 */ lfs f5, 0x254(r1) +/* 80038A44 000359A4 80 C1 02 58 */ lwz r6, 0x258(r1) +/* 80038A48 000359A8 80 A1 02 5C */ lwz r5, 0x25c(r1) +/* 80038A4C 000359AC FF E0 28 90 */ fmr f31, f5 +/* 80038A50 000359B0 80 81 02 60 */ lwz r4, 0x260(r1) +/* 80038A54 000359B4 C0 81 02 64 */ lfs f4, 0x264(r1) +/* 80038A58 000359B8 C0 61 02 68 */ lfs f3, 0x268(r1) +/* 80038A5C 000359BC C0 41 02 6C */ lfs f2, 0x26c(r1) +/* 80038A60 000359C0 C0 21 02 70 */ lfs f1, 0x270(r1) +/* 80038A64 000359C4 88 61 02 74 */ lbz r3, 0x274(r1) +/* 80038A68 000359C8 C8 01 02 7C */ lfd f0, 0x27c(r1) +/* 80038A6C 000359CC A0 01 02 50 */ lhz r0, 0x250(r1) +/* 80038A70 000359D0 D0 A1 02 B8 */ stfs f5, 0x2b8(r1) +/* 80038A74 000359D4 B0 16 00 00 */ sth r0, 0(r22) +/* 80038A78 000359D8 A0 16 00 00 */ lhz r0, 0(r22) +/* 80038A7C 000359DC 90 C1 02 BC */ stw r6, 0x2bc(r1) +/* 80038A80 000359E0 90 A1 02 C0 */ stw r5, 0x2c0(r1) +/* 80038A84 000359E4 90 81 02 C4 */ stw r4, 0x2c4(r1) +/* 80038A88 000359E8 D0 81 02 C8 */ stfs f4, 0x2c8(r1) +/* 80038A8C 000359EC D0 61 02 CC */ stfs f3, 0x2cc(r1) +/* 80038A90 000359F0 D0 41 02 D0 */ stfs f2, 0x2d0(r1) +/* 80038A94 000359F4 D0 21 02 D4 */ stfs f1, 0x2d4(r1) +/* 80038A98 000359F8 98 61 02 D8 */ stb r3, 0x2d8(r1) +/* 80038A9C 000359FC D8 01 02 E0 */ stfd f0, 0x2e0(r1) +/* 80038AA0 00035A00 B0 15 02 C6 */ sth r0, 0x2c6(r21) +/* 80038AA4 00035A04 48 00 05 00 */ b lbl_80038FA4 +lbl_80038AA8: +/* 80038AA8 00035A08 7F 64 DB 78 */ mr r4, r27 +/* 80038AAC 00035A0C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80038AB0 00035A10 81 9B 00 00 */ lwz r12, 0(r27) +/* 80038AB4 00035A14 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80038AB8 00035A18 7D 89 03 A6 */ mtctr r12 +/* 80038ABC 00035A1C 4E 80 04 21 */ bctrl +/* 80038AC0 00035A20 88 01 00 C8 */ lbz r0, 0xc8(r1) +/* 80038AC4 00035A24 28 00 00 00 */ cmplwi r0, 0 +/* 80038AC8 00035A28 98 01 01 00 */ stb r0, 0x100(r1) +/* 80038ACC 00035A2C 41 82 00 3C */ beq lbl_80038B08 +/* 80038AD0 00035A30 34 61 00 E8 */ addic. r3, r1, 0xe8 +/* 80038AD4 00035A34 41 82 00 34 */ beq lbl_80038B08 +/* 80038AD8 00035A38 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 80038ADC 00035A3C D0 03 00 00 */ stfs f0, 0(r3) +/* 80038AE0 00035A40 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80038AE4 00035A44 D0 03 00 04 */ stfs f0, 4(r3) +/* 80038AE8 00035A48 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 80038AEC 00035A4C D0 03 00 08 */ stfs f0, 8(r3) +/* 80038AF0 00035A50 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80038AF4 00035A54 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80038AF8 00035A58 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 80038AFC 00035A5C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80038B00 00035A60 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80038B04 00035A64 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80038B08: +/* 80038B08 00035A68 38 00 00 00 */ li r0, 0 +/* 80038B0C 00035A6C 7F 64 DB 78 */ mr r4, r27 +/* 80038B10 00035A70 98 01 00 C8 */ stb r0, 0xc8(r1) +/* 80038B14 00035A74 38 61 00 14 */ addi r3, r1, 0x14 +/* 80038B18 00035A78 48 07 15 D9 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 80038B1C 00035A7C 80 83 00 04 */ lwz r4, 4(r3) +/* 80038B20 00035A80 3B 40 00 00 */ li r26, 0 +/* 80038B24 00035A84 28 04 00 00 */ cmplwi r4, 0 +/* 80038B28 00035A88 41 82 00 C0 */ beq lbl_80038BE8 +/* 80038B2C 00035A8C 38 61 00 94 */ addi r3, r1, 0x94 +/* 80038B30 00035A90 48 04 65 59 */ bl GetProjectileBounds__11CScriptDoorCFv +/* 80038B34 00035A94 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80038B38 00035A98 38 01 00 94 */ addi r0, r1, 0x94 +/* 80038B3C 00035A9C 7C 03 00 40 */ cmplw r3, r0 +/* 80038B40 00035AA0 41 82 00 9C */ beq lbl_80038BDC +/* 80038B44 00035AA4 88 01 00 AC */ lbz r0, 0xac(r1) +/* 80038B48 00035AA8 28 00 00 00 */ cmplwi r0, 0 +/* 80038B4C 00035AAC 41 82 00 88 */ beq lbl_80038BD4 +/* 80038B50 00035AB0 88 01 01 00 */ lbz r0, 0x100(r1) +/* 80038B54 00035AB4 28 00 00 00 */ cmplwi r0, 0 +/* 80038B58 00035AB8 40 82 00 48 */ bne lbl_80038BA0 +/* 80038B5C 00035ABC 34 61 00 E8 */ addic. r3, r1, 0xe8 +/* 80038B60 00035AC0 41 82 00 34 */ beq lbl_80038B94 +/* 80038B64 00035AC4 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 80038B68 00035AC8 D0 03 00 00 */ stfs f0, 0(r3) +/* 80038B6C 00035ACC C0 01 00 98 */ lfs f0, 0x98(r1) +/* 80038B70 00035AD0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80038B74 00035AD4 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 80038B78 00035AD8 D0 03 00 08 */ stfs f0, 8(r3) +/* 80038B7C 00035ADC C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80038B80 00035AE0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80038B84 00035AE4 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80038B88 00035AE8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80038B8C 00035AEC C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80038B90 00035AF0 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80038B94: +/* 80038B94 00035AF4 38 00 00 01 */ li r0, 1 +/* 80038B98 00035AF8 98 01 01 00 */ stb r0, 0x100(r1) +/* 80038B9C 00035AFC 48 00 00 40 */ b lbl_80038BDC +lbl_80038BA0: +/* 80038BA0 00035B00 80 E1 00 94 */ lwz r7, 0x94(r1) +/* 80038BA4 00035B04 80 C1 00 98 */ lwz r6, 0x98(r1) +/* 80038BA8 00035B08 80 A1 00 9C */ lwz r5, 0x9c(r1) +/* 80038BAC 00035B0C 80 81 00 A0 */ lwz r4, 0xa0(r1) +/* 80038BB0 00035B10 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 80038BB4 00035B14 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 80038BB8 00035B18 90 E1 00 E8 */ stw r7, 0xe8(r1) +/* 80038BBC 00035B1C 90 C1 00 EC */ stw r6, 0xec(r1) +/* 80038BC0 00035B20 90 A1 00 F0 */ stw r5, 0xf0(r1) +/* 80038BC4 00035B24 90 81 00 F4 */ stw r4, 0xf4(r1) +/* 80038BC8 00035B28 90 61 00 F8 */ stw r3, 0xf8(r1) +/* 80038BCC 00035B2C 90 01 00 FC */ stw r0, 0xfc(r1) +/* 80038BD0 00035B30 48 00 00 0C */ b lbl_80038BDC +lbl_80038BD4: +/* 80038BD4 00035B34 38 00 00 00 */ li r0, 0 +/* 80038BD8 00035B38 98 01 01 00 */ stb r0, 0x100(r1) +lbl_80038BDC: +/* 80038BDC 00035B3C 38 00 00 00 */ li r0, 0 +/* 80038BE0 00035B40 98 01 00 AC */ stb r0, 0xac(r1) +/* 80038BE4 00035B44 48 00 00 A8 */ b lbl_80038C8C +lbl_80038BE8: +/* 80038BE8 00035B48 7F 64 DB 78 */ mr r4, r27 +/* 80038BEC 00035B4C 38 61 00 0C */ addi r3, r1, 0xc +/* 80038BF0 00035B50 48 07 4B 1D */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 80038BF4 00035B54 80 83 00 04 */ lwz r4, 4(r3) +/* 80038BF8 00035B58 28 04 00 00 */ cmplwi r4, 0 +/* 80038BFC 00035B5C 7C 9A 23 78 */ mr r26, r4 +/* 80038C00 00035B60 41 82 00 8C */ beq lbl_80038C8C +/* 80038C04 00035B64 38 61 00 7C */ addi r3, r1, 0x7c +/* 80038C08 00035B68 48 00 16 F1 */ bl GetProjectileBounds__15CGameProjectileCFv +/* 80038C0C 00035B6C 88 01 01 00 */ lbz r0, 0x100(r1) +/* 80038C10 00035B70 28 00 00 00 */ cmplwi r0, 0 +/* 80038C14 00035B74 40 82 00 48 */ bne lbl_80038C5C +/* 80038C18 00035B78 34 61 00 E8 */ addic. r3, r1, 0xe8 +/* 80038C1C 00035B7C 41 82 00 34 */ beq lbl_80038C50 +/* 80038C20 00035B80 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80038C24 00035B84 D0 03 00 00 */ stfs f0, 0(r3) +/* 80038C28 00035B88 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80038C2C 00035B8C D0 03 00 04 */ stfs f0, 4(r3) +/* 80038C30 00035B90 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80038C34 00035B94 D0 03 00 08 */ stfs f0, 8(r3) +/* 80038C38 00035B98 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80038C3C 00035B9C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80038C40 00035BA0 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80038C44 00035BA4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80038C48 00035BA8 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 80038C4C 00035BAC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80038C50: +/* 80038C50 00035BB0 38 00 00 01 */ li r0, 1 +/* 80038C54 00035BB4 98 01 01 00 */ stb r0, 0x100(r1) +/* 80038C58 00035BB8 48 00 00 34 */ b lbl_80038C8C +lbl_80038C5C: +/* 80038C5C 00035BBC 80 E1 00 7C */ lwz r7, 0x7c(r1) +/* 80038C60 00035BC0 80 C1 00 80 */ lwz r6, 0x80(r1) +/* 80038C64 00035BC4 80 A1 00 84 */ lwz r5, 0x84(r1) +/* 80038C68 00035BC8 80 81 00 88 */ lwz r4, 0x88(r1) +/* 80038C6C 00035BCC 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 80038C70 00035BD0 80 01 00 90 */ lwz r0, 0x90(r1) +/* 80038C74 00035BD4 90 E1 00 E8 */ stw r7, 0xe8(r1) +/* 80038C78 00035BD8 90 C1 00 EC */ stw r6, 0xec(r1) +/* 80038C7C 00035BDC 90 A1 00 F0 */ stw r5, 0xf0(r1) +/* 80038C80 00035BE0 90 81 00 F4 */ stw r4, 0xf4(r1) +/* 80038C84 00035BE4 90 61 00 F8 */ stw r3, 0xf8(r1) +/* 80038C88 00035BE8 90 01 00 FC */ stw r0, 0xfc(r1) +lbl_80038C8C: +/* 80038C8C 00035BEC 88 01 01 00 */ lbz r0, 0x100(r1) +/* 80038C90 00035BF0 28 00 00 00 */ cmplwi r0, 0 +/* 80038C94 00035BF4 40 82 00 1C */ bne lbl_80038CB0 +/* 80038C98 00035BF8 38 00 00 00 */ li r0, 0 +/* 80038C9C 00035BFC 28 1D 00 00 */ cmplwi r29, 0 +/* 80038CA0 00035C00 98 01 01 00 */ stb r0, 0x100(r1) +/* 80038CA4 00035C04 41 82 03 10 */ beq lbl_80038FB4 +/* 80038CA8 00035C08 98 01 02 84 */ stb r0, 0x284(r1) +/* 80038CAC 00035C0C 48 00 03 08 */ b lbl_80038FB4 +lbl_80038CB0: +/* 80038CB0 00035C10 38 61 01 68 */ addi r3, r1, 0x168 +/* 80038CB4 00035C14 38 9B 00 68 */ addi r4, r27, 0x68 +/* 80038CB8 00035C18 48 29 6B FD */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 80038CBC 00035C1C 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha +/* 80038CC0 00035C20 C0 C1 00 E8 */ lfs f6, 0xe8(r1) +/* 80038CC4 00035C24 39 03 CA D0 */ addi r8, r3, lbl_803ECAD0@l +/* 80038CC8 00035C28 C0 A1 00 EC */ lfs f5, 0xec(r1) +/* 80038CCC 00035C2C 91 01 01 68 */ stw r8, 0x168(r1) +/* 80038CD0 00035C30 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80038CD4 00035C34 38 E3 97 E4 */ addi r7, r3, lbl_803D97E4@l +/* 80038CD8 00035C38 C0 81 00 F0 */ lfs f4, 0xf0(r1) +/* 80038CDC 00035C3C C0 61 00 F4 */ lfs f3, 0xf4(r1) +/* 80038CE0 00035C40 FC 20 F0 90 */ fmr f1, f30 +/* 80038CE4 00035C44 C0 41 00 F8 */ lfs f2, 0xf8(r1) +/* 80038CE8 00035C48 7E E4 BB 78 */ mr r4, r23 +/* 80038CEC 00035C4C C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 80038CF0 00035C50 38 61 02 E8 */ addi r3, r1, 0x2e8 +/* 80038CF4 00035C54 90 E1 02 28 */ stw r7, 0x228(r1) +/* 80038CF8 00035C58 80 01 01 70 */ lwz r0, 0x170(r1) +/* 80038CFC 00035C5C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 80038D00 00035C60 91 01 01 68 */ stw r8, 0x168(r1) +/* 80038D04 00035C64 80 C1 01 74 */ lwz r6, 0x174(r1) +/* 80038D08 00035C68 D0 C1 01 78 */ stfs f6, 0x178(r1) +/* 80038D0C 00035C6C D0 A1 01 7C */ stfs f5, 0x17c(r1) +/* 80038D10 00035C70 D0 81 01 80 */ stfs f4, 0x180(r1) +/* 80038D14 00035C74 D0 61 01 84 */ stfs f3, 0x184(r1) +/* 80038D18 00035C78 D0 41 01 88 */ stfs f2, 0x188(r1) +/* 80038D1C 00035C7C D0 01 01 8C */ stfs f0, 0x18c(r1) +/* 80038D20 00035C80 90 C1 02 34 */ stw r6, 0x234(r1) +/* 80038D24 00035C84 90 01 02 30 */ stw r0, 0x230(r1) +/* 80038D28 00035C88 91 01 02 28 */ stw r8, 0x228(r1) +/* 80038D2C 00035C8C D0 C1 02 38 */ stfs f6, 0x238(r1) +/* 80038D30 00035C90 D0 A1 02 3C */ stfs f5, 0x23c(r1) +/* 80038D34 00035C94 D0 81 02 40 */ stfs f4, 0x240(r1) +/* 80038D38 00035C98 D0 61 02 44 */ stfs f3, 0x244(r1) +/* 80038D3C 00035C9C D0 41 02 48 */ stfs f2, 0x248(r1) +/* 80038D40 00035CA0 D0 01 02 4C */ stfs f0, 0x24c(r1) +/* 80038D44 00035CA4 90 E1 01 68 */ stw r7, 0x168(r1) +/* 80038D48 00035CA8 48 29 D3 25 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff +/* 80038D4C 00035CAC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80038D50 00035CB0 D3 C1 03 20 */ stfs f30, 0x320(r1) +/* 80038D54 00035CB4 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80038D58 00035CB8 7F C3 F3 78 */ mr r3, r30 +/* 80038D5C 00035CBC 48 2D 9E 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80038D60 00035CC0 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 80038D64 00035CC4 81 81 02 28 */ lwz r12, 0x228(r1) +/* 80038D68 00035CC8 38 03 FD 18 */ addi r0, r3, lbl_8059FD18@l +/* 80038D6C 00035CCC 38 61 01 38 */ addi r3, r1, 0x138 +/* 80038D70 00035CD0 90 01 03 54 */ stw r0, 0x354(r1) +/* 80038D74 00035CD4 38 81 02 28 */ addi r4, r1, 0x228 +/* 80038D78 00035CD8 38 A1 02 E8 */ addi r5, r1, 0x2e8 +/* 80038D7C 00035CDC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80038D80 00035CE0 7D 89 03 A6 */ mtctr r12 +/* 80038D84 00035CE4 4E 80 04 21 */ bctrl +/* 80038D88 00035CE8 88 C1 01 58 */ lbz r6, 0x158(r1) +/* 80038D8C 00035CEC C0 E1 01 38 */ lfs f7, 0x138(r1) +/* 80038D90 00035CF0 C0 C1 01 3C */ lfs f6, 0x13c(r1) +/* 80038D94 00035CF4 28 06 00 00 */ cmplwi r6, 0 +/* 80038D98 00035CF8 C0 A1 01 40 */ lfs f5, 0x140(r1) +/* 80038D9C 00035CFC C0 01 01 44 */ lfs f0, 0x144(r1) +/* 80038DA0 00035D00 C0 81 01 48 */ lfs f4, 0x148(r1) +/* 80038DA4 00035D04 C0 61 01 4C */ lfs f3, 0x14c(r1) +/* 80038DA8 00035D08 C0 41 01 50 */ lfs f2, 0x150(r1) +/* 80038DAC 00035D0C C0 21 01 54 */ lfs f1, 0x154(r1) +/* 80038DB0 00035D10 80 01 01 60 */ lwz r0, 0x160(r1) +/* 80038DB4 00035D14 80 61 01 64 */ lwz r3, 0x164(r1) +/* 80038DB8 00035D18 D0 E1 01 F8 */ stfs f7, 0x1f8(r1) +/* 80038DBC 00035D1C D0 C1 01 FC */ stfs f6, 0x1fc(r1) +/* 80038DC0 00035D20 D0 A1 02 00 */ stfs f5, 0x200(r1) +/* 80038DC4 00035D24 D0 01 02 04 */ stfs f0, 0x204(r1) +/* 80038DC8 00035D28 D0 81 02 08 */ stfs f4, 0x208(r1) +/* 80038DCC 00035D2C D0 61 02 0C */ stfs f3, 0x20c(r1) +/* 80038DD0 00035D30 D0 41 02 10 */ stfs f2, 0x210(r1) +/* 80038DD4 00035D34 D0 21 02 14 */ stfs f1, 0x214(r1) +/* 80038DD8 00035D38 98 C1 02 18 */ stb r6, 0x218(r1) +/* 80038DDC 00035D3C 90 61 02 24 */ stw r3, 0x224(r1) +/* 80038DE0 00035D40 90 01 02 20 */ stw r0, 0x220(r1) +/* 80038DE4 00035D44 41 82 00 5C */ beq lbl_80038E40 +/* 80038DE8 00035D48 FC 07 F8 40 */ fcmpo cr0, f7, f31 +/* 80038DEC 00035D4C 40 80 01 98 */ bge lbl_80038F84 +/* 80038DF0 00035D50 A0 01 02 50 */ lhz r0, 0x250(r1) +/* 80038DF4 00035D54 FF E0 38 90 */ fmr f31, f7 +/* 80038DF8 00035D58 80 A1 01 FC */ lwz r5, 0x1fc(r1) +/* 80038DFC 00035D5C B0 16 00 00 */ sth r0, 0(r22) +/* 80038E00 00035D60 80 81 02 00 */ lwz r4, 0x200(r1) +/* 80038E04 00035D64 80 61 02 04 */ lwz r3, 0x204(r1) +/* 80038E08 00035D68 C8 01 02 20 */ lfd f0, 0x220(r1) +/* 80038E0C 00035D6C A0 16 00 00 */ lhz r0, 0(r22) +/* 80038E10 00035D70 D0 E1 02 B8 */ stfs f7, 0x2b8(r1) +/* 80038E14 00035D74 90 A1 02 BC */ stw r5, 0x2bc(r1) +/* 80038E18 00035D78 90 81 02 C0 */ stw r4, 0x2c0(r1) +/* 80038E1C 00035D7C 90 61 02 C4 */ stw r3, 0x2c4(r1) +/* 80038E20 00035D80 D0 81 02 C8 */ stfs f4, 0x2c8(r1) +/* 80038E24 00035D84 D0 61 02 CC */ stfs f3, 0x2cc(r1) +/* 80038E28 00035D88 D0 41 02 D0 */ stfs f2, 0x2d0(r1) +/* 80038E2C 00035D8C D0 21 02 D4 */ stfs f1, 0x2d4(r1) +/* 80038E30 00035D90 98 C1 02 D8 */ stb r6, 0x2d8(r1) +/* 80038E34 00035D94 D8 01 02 E0 */ stfd f0, 0x2e0(r1) +/* 80038E38 00035D98 B0 15 02 C6 */ sth r0, 0x2c6(r21) +/* 80038E3C 00035D9C 48 00 01 48 */ b lbl_80038F84 +lbl_80038E40: +/* 80038E40 00035DA0 7E E4 BB 78 */ mr r4, r23 +/* 80038E44 00035DA4 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80038E48 00035DA8 48 2F E6 ED */ bl PointInside__6CAABoxCFRC9CVector3f +/* 80038E4C 00035DAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80038E50 00035DB0 40 82 00 2C */ bne lbl_80038E7C +/* 80038E54 00035DB4 28 1A 00 00 */ cmplwi r26, 0 +/* 80038E58 00035DB8 41 82 01 2C */ beq lbl_80038F84 +/* 80038E5C 00035DBC 7E A4 AB 78 */ mr r4, r21 +/* 80038E60 00035DC0 38 61 00 64 */ addi r3, r1, 0x64 +/* 80038E64 00035DC4 48 00 14 95 */ bl GetProjectileBounds__15CGameProjectileCFv +/* 80038E68 00035DC8 38 61 00 64 */ addi r3, r1, 0x64 +/* 80038E6C 00035DCC 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 80038E70 00035DD0 48 2F ED 15 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 80038E74 00035DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80038E78 00035DD8 41 82 01 0C */ beq lbl_80038F84 +lbl_80038E7C: +/* 80038E7C 00035DDC C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 80038E80 00035DE0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80038E84 00035DE4 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 80038E88 00035DE8 38 81 00 28 */ addi r4, r1, 0x28 +/* 80038E8C 00035DEC C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80038E90 00035DF0 FC 40 10 50 */ fneg f2, f2 +/* 80038E94 00035DF4 FC 20 08 50 */ fneg f1, f1 +/* 80038E98 00035DF8 FC 00 00 50 */ fneg f0, f0 +/* 80038E9C 00035DFC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80038EA0 00035E00 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80038EA4 00035E04 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80038EA8 00035E08 48 2D AF 29 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80038EAC 00035E0C C0 E1 00 38 */ lfs f7, 0x38(r1) +/* 80038EB0 00035E10 39 20 00 01 */ li r9, 1 +/* 80038EB4 00035E14 C0 97 00 04 */ lfs f4, 4(r23) +/* 80038EB8 00035E18 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha +/* 80038EBC 00035E1C C1 01 00 3C */ lfs f8, 0x3c(r1) +/* 80038EC0 00035E20 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80038EC4 00035E24 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 80038EC8 00035E28 EC 04 01 F2 */ fmuls f0, f4, f7 +/* 80038ECC 00035E2C C0 77 00 00 */ lfs f3, 0(r23) +/* 80038ED0 00035E30 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l +/* 80038ED4 00035E34 C0 B7 00 08 */ lfs f5, 8(r23) +/* 80038ED8 00035E38 28 1D 00 00 */ cmplwi r29, 0 +/* 80038EDC 00035E3C 80 FB 00 68 */ lwz r7, 0x68(r27) +/* 80038EE0 00035E40 81 1B 00 6C */ lwz r8, 0x6c(r27) +/* 80038EE4 00035E44 EC 03 01 BA */ fmadds f0, f3, f6, f0 +/* 80038EE8 00035E48 A0 BB 00 08 */ lhz r5, 8(r27) +/* 80038EEC 00035E4C 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l +/* 80038EF0 00035E50 C0 22 84 14 */ lfs f1, lbl_805AA134@sda21(r2) +/* 80038EF4 00035E54 38 00 00 00 */ li r0, 0 +/* 80038EF8 00035E58 EC 45 02 3A */ fmadds f2, f5, f8, f0 +/* 80038EFC 00035E5C B0 B6 00 00 */ sth r5, 0(r22) +/* 80038F00 00035E60 A0 B6 00 00 */ lhz r5, 0(r22) +/* 80038F04 00035E64 D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 80038F08 00035E68 B0 B5 02 C6 */ sth r5, 0x2c6(r21) +/* 80038F0C 00035E6C 80 C1 01 0C */ lwz r6, 0x10c(r1) +/* 80038F10 00035E70 D0 81 01 10 */ stfs f4, 0x110(r1) +/* 80038F14 00035E74 D0 A1 01 14 */ stfs f5, 0x114(r1) +/* 80038F18 00035E78 80 A1 01 10 */ lwz r5, 0x110(r1) +/* 80038F1C 00035E7C 90 81 02 28 */ stw r4, 0x228(r1) +/* 80038F20 00035E80 80 81 01 14 */ lwz r4, 0x114(r1) +/* 80038F24 00035E84 91 01 01 34 */ stw r8, 0x134(r1) +/* 80038F28 00035E88 90 E1 01 30 */ stw r7, 0x130(r1) +/* 80038F2C 00035E8C C8 01 01 30 */ lfd f0, 0x130(r1) +/* 80038F30 00035E90 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 80038F34 00035E94 D0 C1 01 18 */ stfs f6, 0x118(r1) +/* 80038F38 00035E98 D0 E1 01 1C */ stfs f7, 0x11c(r1) +/* 80038F3C 00035E9C D1 01 01 20 */ stfs f8, 0x120(r1) +/* 80038F40 00035EA0 D0 41 01 24 */ stfs f2, 0x124(r1) +/* 80038F44 00035EA4 99 21 01 28 */ stb r9, 0x128(r1) +/* 80038F48 00035EA8 D0 21 02 B8 */ stfs f1, 0x2b8(r1) +/* 80038F4C 00035EAC 90 C1 02 BC */ stw r6, 0x2bc(r1) +/* 80038F50 00035EB0 90 A1 02 C0 */ stw r5, 0x2c0(r1) +/* 80038F54 00035EB4 90 81 02 C4 */ stw r4, 0x2c4(r1) +/* 80038F58 00035EB8 D0 C1 02 C8 */ stfs f6, 0x2c8(r1) +/* 80038F5C 00035EBC D0 E1 02 CC */ stfs f7, 0x2cc(r1) +/* 80038F60 00035EC0 D1 01 02 D0 */ stfs f8, 0x2d0(r1) +/* 80038F64 00035EC4 D0 41 02 D4 */ stfs f2, 0x2d4(r1) +/* 80038F68 00035EC8 99 21 02 D8 */ stb r9, 0x2d8(r1) +/* 80038F6C 00035ECC D8 01 02 E0 */ stfd f0, 0x2e0(r1) +/* 80038F70 00035ED0 90 61 02 28 */ stw r3, 0x228(r1) +/* 80038F74 00035ED4 98 01 01 00 */ stb r0, 0x100(r1) +/* 80038F78 00035ED8 41 82 00 58 */ beq lbl_80038FD0 +/* 80038F7C 00035EDC 98 01 02 84 */ stb r0, 0x284(r1) +/* 80038F80 00035EE0 48 00 00 50 */ b lbl_80038FD0 +lbl_80038F84: +/* 80038F84 00035EE4 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha +/* 80038F88 00035EE8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80038F8C 00035EEC 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l +/* 80038F90 00035EF0 38 00 00 00 */ li r0, 0 +/* 80038F94 00035EF4 90 81 02 28 */ stw r4, 0x228(r1) +/* 80038F98 00035EF8 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l +/* 80038F9C 00035EFC 90 61 02 28 */ stw r3, 0x228(r1) +/* 80038FA0 00035F00 98 01 01 00 */ stb r0, 0x100(r1) +lbl_80038FA4: +/* 80038FA4 00035F04 28 1D 00 00 */ cmplwi r29, 0 +/* 80038FA8 00035F08 41 82 00 0C */ beq lbl_80038FB4 +/* 80038FAC 00035F0C 38 00 00 00 */ li r0, 0 +/* 80038FB0 00035F10 98 01 02 84 */ stb r0, 0x284(r1) +lbl_80038FB4: +/* 80038FB4 00035F14 3B 9C 00 02 */ addi r28, r28, 2 +lbl_80038FB8: +/* 80038FB8 00035F18 80 18 00 00 */ lwz r0, 0(r24) +/* 80038FBC 00035F1C 54 00 08 3C */ slwi r0, r0, 1 +/* 80038FC0 00035F20 7C 78 02 14 */ add r3, r24, r0 +/* 80038FC4 00035F24 38 03 00 04 */ addi r0, r3, 4 +/* 80038FC8 00035F28 7C 1C 00 40 */ cmplw r28, r0 +/* 80038FCC 00035F2C 40 82 F9 60 */ bne lbl_8003892C +lbl_80038FD0: +/* 80038FD0 00035F30 88 95 02 E4 */ lbz r4, 0x2e4(r21) +/* 80038FD4 00035F34 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f +/* 80038FD8 00035F38 41 82 00 20 */ beq lbl_80038FF8 +/* 80038FDC 00035F3C A0 76 00 00 */ lhz r3, 0(r22) +/* 80038FE0 00035F40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80038FE4 00035F44 7C 03 00 40 */ cmplw r3, r0 +/* 80038FE8 00035F48 40 82 00 10 */ bne lbl_80038FF8 +/* 80038FEC 00035F4C 38 00 00 00 */ li r0, 0 +/* 80038FF0 00035F50 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b +/* 80038FF4 00035F54 98 95 02 E4 */ stb r4, 0x2e4(r21) +lbl_80038FF8: +/* 80038FF8 00035F58 C0 21 02 B8 */ lfs f1, 0x2b8(r1) +/* 80038FFC 00035F5C C0 01 02 BC */ lfs f0, 0x2bc(r1) +/* 80039000 00035F60 D0 34 00 00 */ stfs f1, 0(r20) +/* 80039004 00035F64 C0 21 02 C0 */ lfs f1, 0x2c0(r1) +/* 80039008 00035F68 D0 14 00 04 */ stfs f0, 4(r20) +/* 8003900C 00035F6C C0 01 02 C4 */ lfs f0, 0x2c4(r1) +/* 80039010 00035F70 D0 34 00 08 */ stfs f1, 8(r20) +/* 80039014 00035F74 C0 21 02 C8 */ lfs f1, 0x2c8(r1) +/* 80039018 00035F78 D0 14 00 0C */ stfs f0, 0xc(r20) +/* 8003901C 00035F7C C0 01 02 CC */ lfs f0, 0x2cc(r1) +/* 80039020 00035F80 D0 34 00 10 */ stfs f1, 0x10(r20) +/* 80039024 00035F84 C0 21 02 D0 */ lfs f1, 0x2d0(r1) +/* 80039028 00035F88 D0 14 00 14 */ stfs f0, 0x14(r20) +/* 8003902C 00035F8C C0 01 02 D4 */ lfs f0, 0x2d4(r1) +/* 80039030 00035F90 D0 34 00 18 */ stfs f1, 0x18(r20) +/* 80039034 00035F94 88 01 02 D8 */ lbz r0, 0x2d8(r1) +/* 80039038 00035F98 D0 14 00 1C */ stfs f0, 0x1c(r20) +/* 8003903C 00035F9C 80 61 02 E4 */ lwz r3, 0x2e4(r1) +/* 80039040 00035FA0 98 14 00 20 */ stb r0, 0x20(r20) +/* 80039044 00035FA4 80 01 02 E0 */ lwz r0, 0x2e0(r1) +/* 80039048 00035FA8 90 74 00 2C */ stw r3, 0x2c(r20) +/* 8003904C 00035FAC 90 14 00 28 */ stw r0, 0x28(r20) +lbl_80039050: +/* 80039050 00035FB0 E3 E1 03 A8 */ psq_l f31, 936(r1), 0, qr0 +/* 80039054 00035FB4 CB E1 03 A0 */ lfd f31, 0x3a0(r1) +/* 80039058 00035FB8 E3 C1 03 98 */ psq_l f30, 920(r1), 0, qr0 +/* 8003905C 00035FBC CB C1 03 90 */ lfd f30, 0x390(r1) +/* 80039060 00035FC0 BA 81 03 60 */ lmw r20, 0x360(r1) +/* 80039064 00035FC4 80 01 03 B4 */ lwz r0, 0x3b4(r1) +/* 80039068 00035FC8 7C 08 03 A6 */ mtlr r0 +/* 8003906C 00035FCC 38 21 03 B0 */ addi r1, r1, 0x3b0 +/* 80039070 00035FD0 4E 80 00 20 */ blr + +.global CanCollideWith__15CGameProjectileFR6CActorR13CStateManager +CanCollideWith__15CGameProjectileFR6CActorR13CStateManager: +/* 80039074 00035FD4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80039078 00035FD8 7C 08 02 A6 */ mflr r0 +/* 8003907C 00035FDC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80039080 00035FE0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80039084 00035FE4 7C DF 33 78 */ mr r31, r6 +/* 80039088 00035FE8 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8003908C 00035FEC 7C BE 2B 78 */ mr r30, r5 +/* 80039090 00035FF0 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80039094 00035FF4 7C 9D 23 78 */ mr r29, r4 +/* 80039098 00035FF8 93 81 00 60 */ stw r28, 0x60(r1) +/* 8003909C 00035FFC 7C 7C 1B 78 */ mr r28, r3 +/* 800390A0 00036000 7F C3 F3 78 */ mr r3, r30 +/* 800390A4 00036004 81 9E 00 00 */ lwz r12, 0(r30) +/* 800390A8 00036008 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 800390AC 0003600C 7D 89 03 A6 */ mtctr r12 +/* 800390B0 00036010 4E 80 04 21 */ bctrl +/* 800390B4 00036014 38 9D 01 2C */ addi r4, r29, 0x12c +/* 800390B8 00036018 38 A0 00 00 */ li r5, 0 +/* 800390BC 0003601C 48 0C 94 01 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +/* 800390C0 00036020 2C 03 00 04 */ cmpwi r3, 4 +/* 800390C4 00036024 40 82 00 84 */ bne lbl_80039148 +/* 800390C8 00036028 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800390CC 0003602C 38 60 00 00 */ li r3, 0 +/* 800390D0 00036030 98 61 00 54 */ stb r3, 0x54(r1) +/* 800390D4 00036034 B0 1C 00 00 */ sth r0, 0(r28) +/* 800390D8 00036038 98 7C 00 34 */ stb r3, 0x34(r28) +/* 800390DC 0003603C 48 00 00 60 */ b lbl_8003913C +/* 800390E0 00036040 41 82 00 5C */ beq lbl_8003913C +/* 800390E4 00036044 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 800390E8 00036048 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800390EC 0003604C D0 24 00 00 */ stfs f1, 0(r4) +/* 800390F0 00036050 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800390F4 00036054 D0 04 00 04 */ stfs f0, 4(r4) +/* 800390F8 00036058 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800390FC 0003605C D0 24 00 08 */ stfs f1, 8(r4) +/* 80039100 00036060 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80039104 00036064 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039108 00036068 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8003910C 0003606C D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039110 00036070 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 80039114 00036074 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039118 00036078 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8003911C 0003607C D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039120 00036080 88 01 00 44 */ lbz r0, 0x44(r1) +/* 80039124 00036084 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039128 00036088 80 61 00 50 */ lwz r3, 0x50(r1) +/* 8003912C 0003608C 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039130 00036090 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80039134 00036094 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039138 00036098 90 04 00 28 */ stw r0, 0x28(r4) +lbl_8003913C: +/* 8003913C 0003609C 38 00 00 00 */ li r0, 0 +/* 80039140 000360A0 98 01 00 54 */ stb r0, 0x54(r1) +/* 80039144 000360A4 48 00 00 A8 */ b lbl_800391EC +lbl_80039148: +/* 80039148 000360A8 7F C4 F3 78 */ mr r4, r30 +/* 8003914C 000360AC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80039150 000360B0 48 06 DE 05 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity" +/* 80039154 000360B4 80 03 00 04 */ lwz r0, 4(r3) +/* 80039158 000360B8 28 00 00 00 */ cmplwi r0, 0 +/* 8003915C 000360BC 41 82 00 1C */ beq lbl_80039178 +/* 80039160 000360C0 7F 83 E3 78 */ mr r3, r28 +/* 80039164 000360C4 7F A4 EB 78 */ mr r4, r29 +/* 80039168 000360C8 7F C5 F3 78 */ mr r5, r30 +/* 8003916C 000360CC 7F E6 FB 78 */ mr r6, r31 +/* 80039170 000360D0 48 00 0E B1 */ bl CanCollideWithTrigger__15CGameProjectileFR6CActorR13CStateManager +/* 80039174 000360D4 48 00 00 78 */ b lbl_800391EC +lbl_80039178: +/* 80039178 000360D8 7F C4 F3 78 */ mr r4, r30 +/* 8003917C 000360DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80039180 000360E0 48 06 FD 01 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity" +/* 80039184 000360E4 80 03 00 04 */ lwz r0, 4(r3) +/* 80039188 000360E8 28 00 00 00 */ cmplwi r0, 0 +/* 8003918C 000360EC 40 82 00 34 */ bne lbl_800391C0 +/* 80039190 000360F0 7F C4 F3 78 */ mr r4, r30 +/* 80039194 000360F4 38 61 00 0C */ addi r3, r1, 0xc +/* 80039198 000360F8 48 07 62 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" +/* 8003919C 000360FC 80 03 00 04 */ lwz r0, 4(r3) +/* 800391A0 00036100 28 00 00 00 */ cmplwi r0, 0 +/* 800391A4 00036104 40 82 00 1C */ bne lbl_800391C0 +/* 800391A8 00036108 7F C4 F3 78 */ mr r4, r30 +/* 800391AC 0003610C 38 61 00 08 */ addi r3, r1, 8 +/* 800391B0 00036110 48 06 C2 55 */ bl sub_800a5404 +/* 800391B4 00036114 48 06 C2 25 */ bl "CastTo<11CPuddleToad>__10CPatternedFP7CEntity" +/* 800391B8 00036118 28 03 00 00 */ cmplwi r3, 0 +/* 800391BC 0003611C 41 82 00 1C */ beq lbl_800391D8 +lbl_800391C0: +/* 800391C0 00036120 7F 83 E3 78 */ mr r3, r28 +/* 800391C4 00036124 7F A4 EB 78 */ mr r4, r29 +/* 800391C8 00036128 7F C5 F3 78 */ mr r5, r30 +/* 800391CC 0003612C 7F E6 FB 78 */ mr r6, r31 +/* 800391D0 00036130 48 00 00 3D */ bl CanCollideWithComplexCollision__15CGameProjectileFR6CActorR13CStateManager +/* 800391D4 00036134 48 00 00 18 */ b lbl_800391EC +lbl_800391D8: +/* 800391D8 00036138 7F 83 E3 78 */ mr r3, r28 +/* 800391DC 0003613C 7F A4 EB 78 */ mr r4, r29 +/* 800391E0 00036140 7F C5 F3 78 */ mr r5, r30 +/* 800391E4 00036144 7F E6 FB 78 */ mr r6, r31 +/* 800391E8 00036148 48 00 08 B5 */ bl CanCollideWithGameObject__15CGameProjectileFR6CActorR13CStateManager +lbl_800391EC: +/* 800391EC 0003614C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800391F0 00036150 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800391F4 00036154 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800391F8 00036158 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800391FC 0003615C 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80039200 00036160 7C 08 03 A6 */ mtlr r0 +/* 80039204 00036164 38 21 00 70 */ addi r1, r1, 0x70 +/* 80039208 00036168 4E 80 00 20 */ blr + +.global CanCollideWithComplexCollision__15CGameProjectileFR6CActorR13CStateManager +CanCollideWithComplexCollision__15CGameProjectileFR6CActorR13CStateManager: +/* 8003920C 0003616C 94 21 FC 00 */ stwu r1, -0x400(r1) +/* 80039210 00036170 7C 08 02 A6 */ mflr r0 +/* 80039214 00036174 90 01 04 04 */ stw r0, 0x404(r1) +/* 80039218 00036178 DB E1 03 F0 */ stfd f31, 0x3f0(r1) +/* 8003921C 0003617C F3 E1 03 F8 */ psq_st f31, 1016(r1), 0, qr0 +/* 80039220 00036180 DB C1 03 E0 */ stfd f30, 0x3e0(r1) +/* 80039224 00036184 F3 C1 03 E8 */ psq_st f30, 1000(r1), 0, qr0 +/* 80039228 00036188 DB A1 03 D0 */ stfd f29, 0x3d0(r1) +/* 8003922C 0003618C F3 A1 03 D8 */ psq_st f29, 984(r1), 0, qr0 +/* 80039230 00036190 BF 41 03 B8 */ stmw r26, 0x3b8(r1) +/* 80039234 00036194 7C BE 2B 78 */ mr r30, r5 +/* 80039238 00036198 7C 7C 1B 78 */ mr r28, r3 +/* 8003923C 0003619C 7C 9D 23 78 */ mr r29, r4 +/* 80039240 000361A0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80039244 000361A4 7F C4 F3 78 */ mr r4, r30 +/* 80039248 000361A8 3B 40 00 00 */ li r26, 0 +/* 8003924C 000361AC 48 06 FC 35 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity" +/* 80039250 000361B0 80 63 00 04 */ lwz r3, 4(r3) +/* 80039254 000361B4 28 03 00 00 */ cmplwi r3, 0 +/* 80039258 000361B8 41 82 00 18 */ beq lbl_80039270 +/* 8003925C 000361BC 80 03 03 14 */ lwz r0, 0x314(r3) +/* 80039260 000361C0 28 00 00 00 */ cmplwi r0, 0 +/* 80039264 000361C4 41 82 00 D8 */ beq lbl_8003933C +/* 80039268 000361C8 7C 7A 1B 78 */ mr r26, r3 +/* 8003926C 000361CC 48 00 00 D0 */ b lbl_8003933C +lbl_80039270: +/* 80039270 000361D0 7F C4 F3 78 */ mr r4, r30 +/* 80039274 000361D4 38 61 00 08 */ addi r3, r1, 8 +/* 80039278 000361D8 48 06 C1 8D */ bl sub_800a5404 +/* 8003927C 000361DC 48 06 C1 5D */ bl "CastTo<11CPuddleToad>__10CPatternedFP7CEntity" +/* 80039280 000361E0 28 03 00 00 */ cmplwi r3, 0 +/* 80039284 000361E4 41 82 00 0C */ beq lbl_80039290 +/* 80039288 000361E8 7F DA F3 78 */ mr r26, r30 +/* 8003928C 000361EC 48 00 00 B0 */ b lbl_8003933C +lbl_80039290: +/* 80039290 000361F0 7F C4 F3 78 */ mr r4, r30 +/* 80039294 000361F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80039298 000361F8 48 07 61 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" +/* 8003929C 000361FC 80 83 00 04 */ lwz r4, 4(r3) +/* 800392A0 00036200 28 04 00 00 */ cmplwi r4, 0 +/* 800392A4 00036204 41 82 00 98 */ beq lbl_8003933C +/* 800392A8 00036208 A0 64 02 5C */ lhz r3, 0x25c(r4) +/* 800392AC 0003620C A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 800392B0 00036210 7C 03 00 40 */ cmplw r3, r0 +/* 800392B4 00036214 40 82 00 84 */ bne lbl_80039338 +/* 800392B8 00036218 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800392BC 0003621C 38 60 00 00 */ li r3, 0 +/* 800392C0 00036220 98 61 02 98 */ stb r3, 0x298(r1) +/* 800392C4 00036224 B0 1C 00 00 */ sth r0, 0(r28) +/* 800392C8 00036228 98 7C 00 34 */ stb r3, 0x34(r28) +/* 800392CC 0003622C 48 00 00 60 */ b lbl_8003932C +/* 800392D0 00036230 41 82 00 5C */ beq lbl_8003932C +/* 800392D4 00036234 C0 21 02 68 */ lfs f1, 0x268(r1) +/* 800392D8 00036238 C0 01 02 6C */ lfs f0, 0x26c(r1) +/* 800392DC 0003623C D0 24 00 00 */ stfs f1, 0(r4) +/* 800392E0 00036240 C0 21 02 70 */ lfs f1, 0x270(r1) +/* 800392E4 00036244 D0 04 00 04 */ stfs f0, 4(r4) +/* 800392E8 00036248 C0 01 02 74 */ lfs f0, 0x274(r1) +/* 800392EC 0003624C D0 24 00 08 */ stfs f1, 8(r4) +/* 800392F0 00036250 C0 21 02 78 */ lfs f1, 0x278(r1) +/* 800392F4 00036254 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 800392F8 00036258 C0 01 02 7C */ lfs f0, 0x27c(r1) +/* 800392FC 0003625C D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039300 00036260 C0 21 02 80 */ lfs f1, 0x280(r1) +/* 80039304 00036264 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039308 00036268 C0 01 02 84 */ lfs f0, 0x284(r1) +/* 8003930C 0003626C D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039310 00036270 88 01 02 88 */ lbz r0, 0x288(r1) +/* 80039314 00036274 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039318 00036278 80 61 02 94 */ lwz r3, 0x294(r1) +/* 8003931C 0003627C 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039320 00036280 80 01 02 90 */ lwz r0, 0x290(r1) +/* 80039324 00036284 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039328 00036288 90 04 00 28 */ stw r0, 0x28(r4) +lbl_8003932C: +/* 8003932C 0003628C 38 00 00 00 */ li r0, 0 +/* 80039330 00036290 98 01 02 98 */ stb r0, 0x298(r1) +/* 80039334 00036294 48 00 07 3C */ b lbl_80039A70 +lbl_80039338: +/* 80039338 00036298 7C 9A 23 78 */ mr r26, r4 +lbl_8003933C: +/* 8003933C 0003629C 28 1A 00 00 */ cmplwi r26, 0 +/* 80039340 000362A0 41 82 06 B4 */ beq lbl_800399F4 +/* 80039344 000362A4 7F 43 D3 78 */ mr r3, r26 +/* 80039348 000362A8 81 9A 00 00 */ lwz r12, 0(r26) +/* 8003934C 000362AC 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 80039350 000362B0 7D 89 03 A6 */ mtctr r12 +/* 80039354 000362B4 4E 80 04 21 */ bctrl +/* 80039358 000362B8 81 9A 00 00 */ lwz r12, 0(r26) +/* 8003935C 000362BC 7C 7F 1B 78 */ mr r31, r3 +/* 80039360 000362C0 7F 44 D3 78 */ mr r4, r26 +/* 80039364 000362C4 38 61 02 38 */ addi r3, r1, 0x238 +/* 80039368 000362C8 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8003936C 000362CC 7D 89 03 A6 */ mtctr r12 +/* 80039370 000362D0 4E 80 04 21 */ bctrl +/* 80039374 000362D4 38 61 02 9C */ addi r3, r1, 0x29c +/* 80039378 000362D8 38 81 02 38 */ addi r4, r1, 0x238 +/* 8003937C 000362DC 48 2D 97 F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80039380 000362E0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80039384 000362E4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80039388 000362E8 C0 1D 02 9C */ lfs f0, 0x29c(r29) +/* 8003938C 000362EC C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80039390 000362F0 C0 5D 02 A0 */ lfs f2, 0x2a0(r29) +/* 80039394 000362F4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80039398 000362F8 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 8003939C 000362FC C0 1D 02 98 */ lfs f0, 0x298(r29) +/* 800393A0 00036300 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800393A4 00036304 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800393A8 00036308 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 800393AC 0003630C D0 41 00 68 */ stfs f2, 0x68(r1) +/* 800393B0 00036310 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800393B4 00036314 48 2D B3 45 */ bl CanBeNormalized__9CVector3fCFv +/* 800393B8 00036318 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800393BC 0003631C 41 82 05 B8 */ beq lbl_80039974 +/* 800393C0 00036320 38 61 00 48 */ addi r3, r1, 0x48 +/* 800393C4 00036324 38 81 00 60 */ addi r4, r1, 0x60 +/* 800393C8 00036328 48 2D B4 89 */ bl AsNormalized__9CVector3fCFv +/* 800393CC 0003632C C0 41 00 48 */ lfs f2, 0x48(r1) +/* 800393D0 00036330 38 61 00 60 */ addi r3, r1, 0x60 +/* 800393D4 00036334 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 800393D8 00036338 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800393DC 0003633C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800393E0 00036340 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800393E4 00036344 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800393E8 00036348 48 2D B4 D1 */ bl Magnitude__9CVector3fCFv +/* 800393EC 0003634C FF A0 08 90 */ fmr f29, f1 +/* 800393F0 00036350 80 AD 82 10 */ lwz r5, lbl_805A6DD0@sda21(r13) +/* 800393F4 00036354 38 60 00 00 */ li r3, 0 +/* 800393F8 00036358 38 80 00 01 */ li r4, 1 +/* 800393FC 0003635C 48 35 0A F9 */ bl __shl2i +/* 80039400 00036360 80 AD 82 0C */ lwz r5, lbl_805A6DCC@sda21(r13) +/* 80039404 00036364 7C 9A 23 78 */ mr r26, r4 +/* 80039408 00036368 7C 7B 1B 78 */ mr r27, r3 +/* 8003940C 0003636C 38 60 00 00 */ li r3, 0 +/* 80039410 00036370 38 80 00 01 */ li r4, 1 +/* 80039414 00036374 48 35 0A E1 */ bl __shl2i +/* 80039418 00036378 38 00 00 03 */ li r0, 3 +/* 8003941C 0003637C FC 20 E8 90 */ fmr f1, f29 +/* 80039420 00036380 90 81 00 8C */ stw r4, 0x8c(r1) +/* 80039424 00036384 38 9D 02 98 */ addi r4, r29, 0x298 +/* 80039428 00036388 38 A1 00 54 */ addi r5, r1, 0x54 +/* 8003942C 0003638C 90 61 00 88 */ stw r3, 0x88(r1) +/* 80039430 00036390 38 61 03 3C */ addi r3, r1, 0x33c +/* 80039434 00036394 93 41 00 94 */ stw r26, 0x94(r1) +/* 80039438 00036398 93 61 00 90 */ stw r27, 0x90(r1) +/* 8003943C 0003639C 90 01 00 98 */ stw r0, 0x98(r1) +/* 80039440 000363A0 48 29 CC 2D */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff +/* 80039444 000363A4 D3 A1 03 74 */ stfs f29, 0x374(r1) +/* 80039448 000363A8 38 61 03 78 */ addi r3, r1, 0x378 +/* 8003944C 000363AC 38 81 02 9C */ addi r4, r1, 0x29c +/* 80039450 000363B0 48 2D 97 25 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80039454 000363B4 38 01 00 88 */ addi r0, r1, 0x88 +/* 80039458 000363B8 7F E4 FB 78 */ mr r4, r31 +/* 8003945C 000363BC 90 01 03 A8 */ stw r0, 0x3a8(r1) +/* 80039460 000363C0 38 61 02 08 */ addi r3, r1, 0x208 +/* 80039464 000363C4 38 A1 03 3C */ addi r5, r1, 0x33c +/* 80039468 000363C8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8003946C 000363CC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80039470 000363D0 7D 89 03 A6 */ mtctr r12 +/* 80039474 000363D4 4E 80 04 21 */ bctrl +/* 80039478 000363D8 88 81 02 28 */ lbz r4, 0x228(r1) +/* 8003947C 000363DC C0 01 02 08 */ lfs f0, 0x208(r1) +/* 80039480 000363E0 28 04 00 00 */ cmplwi r4, 0 +/* 80039484 000363E4 C0 21 02 0C */ lfs f1, 0x20c(r1) +/* 80039488 000363E8 C0 41 02 10 */ lfs f2, 0x210(r1) +/* 8003948C 000363EC C0 61 02 14 */ lfs f3, 0x214(r1) +/* 80039490 000363F0 C0 81 02 18 */ lfs f4, 0x218(r1) +/* 80039494 000363F4 C0 A1 02 1C */ lfs f5, 0x21c(r1) +/* 80039498 000363F8 C0 C1 02 20 */ lfs f6, 0x220(r1) +/* 8003949C 000363FC C0 E1 02 24 */ lfs f7, 0x224(r1) +/* 800394A0 00036400 80 A1 02 30 */ lwz r5, 0x230(r1) +/* 800394A4 00036404 80 C1 02 34 */ lwz r6, 0x234(r1) +/* 800394A8 00036408 40 82 04 0C */ bne lbl_800398B4 +/* 800394AC 0003640C 7F E3 FB 78 */ mr r3, r31 +/* 800394B0 00036410 81 9F 00 00 */ lwz r12, 0(r31) +/* 800394B4 00036414 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800394B8 00036418 7D 89 03 A6 */ mtctr r12 +/* 800394BC 0003641C 4E 80 04 21 */ bctrl +/* 800394C0 00036420 3C 03 AC B0 */ addis r0, r3, 0xacb0 +/* 800394C4 00036424 28 00 48 52 */ cmplwi r0, 0x4852 +/* 800394C8 00036428 41 82 01 D4 */ beq lbl_8003969C +/* 800394CC 0003642C 80 AD 82 18 */ lwz r5, lbl_805A6DD8@sda21(r13) +/* 800394D0 00036430 38 60 00 00 */ li r3, 0 +/* 800394D4 00036434 38 80 00 01 */ li r4, 1 +/* 800394D8 00036438 48 35 0A 1D */ bl __shl2i +/* 800394DC 0003643C 80 AD 82 14 */ lwz r5, lbl_805A6DD4@sda21(r13) +/* 800394E0 00036440 7C 9B 23 78 */ mr r27, r4 +/* 800394E4 00036444 7C 7A 1B 78 */ mr r26, r3 +/* 800394E8 00036448 38 60 00 00 */ li r3, 0 +/* 800394EC 0003644C 38 80 00 01 */ li r4, 1 +/* 800394F0 00036450 48 35 0A 05 */ bl __shl2i +/* 800394F4 00036454 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 800394F8 00036458 38 00 00 03 */ li r0, 3 +/* 800394FC 0003645C C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 80039500 00036460 38 A1 00 54 */ addi r5, r1, 0x54 +/* 80039504 00036464 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80039508 00036468 EC 7D 00 B2 */ fmuls f3, f29, f2 +/* 8003950C 0003646C C0 82 84 10 */ lfs f4, lbl_805AA130@sda21(r2) +/* 80039510 00036470 EC 5D 00 72 */ fmuls f2, f29, f1 +/* 80039514 00036474 EC 3D 00 32 */ fmuls f1, f29, f0 +/* 80039518 00036478 90 81 00 74 */ stw r4, 0x74(r1) +/* 8003951C 0003647C C0 02 84 1C */ lfs f0, lbl_805AA13C@sda21(r2) +/* 80039520 00036480 90 61 00 70 */ stw r3, 0x70(r1) +/* 80039524 00036484 EC A4 00 F2 */ fmuls f5, f4, f3 +/* 80039528 00036488 EF A0 07 72 */ fmuls f29, f0, f29 +/* 8003952C 0003648C 93 61 00 7C */ stw r27, 0x7c(r1) +/* 80039530 00036490 EC 64 00 B2 */ fmuls f3, f4, f2 +/* 80039534 00036494 EC 04 00 72 */ fmuls f0, f4, f1 +/* 80039538 00036498 38 61 02 CC */ addi r3, r1, 0x2cc +/* 8003953C 0003649C 93 41 00 78 */ stw r26, 0x78(r1) +/* 80039540 000364A0 FC 20 E8 90 */ fmr f1, f29 +/* 80039544 000364A4 38 81 00 3C */ addi r4, r1, 0x3c +/* 80039548 000364A8 90 01 00 80 */ stw r0, 0x80(r1) +/* 8003954C 000364AC C0 DD 02 9C */ lfs f6, 0x29c(r29) +/* 80039550 000364B0 C0 9D 02 A0 */ lfs f4, 0x2a0(r29) +/* 80039554 000364B4 C0 5D 02 98 */ lfs f2, 0x298(r29) +/* 80039558 000364B8 EC A6 28 28 */ fsubs f5, f6, f5 +/* 8003955C 000364BC EC 64 18 28 */ fsubs f3, f4, f3 +/* 80039560 000364C0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80039564 000364C4 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 80039568 000364C8 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8003956C 000364CC D0 61 00 44 */ stfs f3, 0x44(r1) +/* 80039570 000364D0 48 29 CA FD */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff +/* 80039574 000364D4 D3 A1 03 04 */ stfs f29, 0x304(r1) +/* 80039578 000364D8 38 61 03 08 */ addi r3, r1, 0x308 +/* 8003957C 000364DC 38 81 02 9C */ addi r4, r1, 0x29c +/* 80039580 000364E0 48 2D 95 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80039584 000364E4 38 01 00 70 */ addi r0, r1, 0x70 +/* 80039588 000364E8 7F E4 FB 78 */ mr r4, r31 +/* 8003958C 000364EC 90 01 03 38 */ stw r0, 0x338(r1) +/* 80039590 000364F0 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 80039594 000364F4 38 A1 02 CC */ addi r5, r1, 0x2cc +/* 80039598 000364F8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8003959C 000364FC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800395A0 00036500 7D 89 03 A6 */ mtctr r12 +/* 800395A4 00036504 4E 80 04 21 */ bctrl +/* 800395A8 00036508 88 81 01 F8 */ lbz r4, 0x1f8(r1) +/* 800395AC 0003650C C0 01 01 D8 */ lfs f0, 0x1d8(r1) +/* 800395B0 00036510 28 04 00 00 */ cmplwi r4, 0 +/* 800395B4 00036514 C0 21 01 DC */ lfs f1, 0x1dc(r1) +/* 800395B8 00036518 C0 41 01 E0 */ lfs f2, 0x1e0(r1) +/* 800395BC 0003651C C0 61 01 E4 */ lfs f3, 0x1e4(r1) +/* 800395C0 00036520 C0 81 01 E8 */ lfs f4, 0x1e8(r1) +/* 800395C4 00036524 C0 A1 01 EC */ lfs f5, 0x1ec(r1) +/* 800395C8 00036528 C0 C1 01 F0 */ lfs f6, 0x1f0(r1) +/* 800395CC 0003652C C0 E1 01 F4 */ lfs f7, 0x1f4(r1) +/* 800395D0 00036530 80 A1 02 00 */ lwz r5, 0x200(r1) +/* 800395D4 00036534 80 C1 02 04 */ lwz r6, 0x204(r1) +/* 800395D8 00036538 41 82 02 5C */ beq lbl_80039834 +/* 800395DC 0003653C 38 00 00 01 */ li r0, 1 +/* 800395E0 00036540 34 61 01 A4 */ addic. r3, r1, 0x1a4 +/* 800395E4 00036544 98 01 01 D4 */ stb r0, 0x1d4(r1) +/* 800395E8 00036548 41 82 00 30 */ beq lbl_80039618 +/* 800395EC 0003654C D0 03 00 00 */ stfs f0, 0(r3) +/* 800395F0 00036550 D0 23 00 04 */ stfs f1, 4(r3) +/* 800395F4 00036554 D0 43 00 08 */ stfs f2, 8(r3) +/* 800395F8 00036558 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 800395FC 0003655C D0 83 00 10 */ stfs f4, 0x10(r3) +/* 80039600 00036560 D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 80039604 00036564 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 80039608 00036568 D0 E3 00 1C */ stfs f7, 0x1c(r3) +/* 8003960C 0003656C 98 83 00 20 */ stb r4, 0x20(r3) +/* 80039610 00036570 90 C3 00 2C */ stw r6, 0x2c(r3) +/* 80039614 00036574 90 A3 00 28 */ stw r5, 0x28(r3) +lbl_80039618: +/* 80039618 00036578 A0 7E 00 08 */ lhz r3, 8(r30) +/* 8003961C 0003657C 88 01 01 D4 */ lbz r0, 0x1d4(r1) +/* 80039620 00036580 B0 7C 00 00 */ sth r3, 0(r28) +/* 80039624 00036584 28 00 00 00 */ cmplwi r0, 0 +/* 80039628 00036588 98 1C 00 34 */ stb r0, 0x34(r28) +/* 8003962C 0003658C 41 82 00 64 */ beq lbl_80039690 +/* 80039630 00036590 34 9C 00 04 */ addic. r4, r28, 4 +/* 80039634 00036594 41 82 00 5C */ beq lbl_80039690 +/* 80039638 00036598 C0 21 01 A4 */ lfs f1, 0x1a4(r1) +/* 8003963C 0003659C C0 01 01 A8 */ lfs f0, 0x1a8(r1) +/* 80039640 000365A0 D0 24 00 00 */ stfs f1, 0(r4) +/* 80039644 000365A4 C0 21 01 AC */ lfs f1, 0x1ac(r1) +/* 80039648 000365A8 D0 04 00 04 */ stfs f0, 4(r4) +/* 8003964C 000365AC C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 80039650 000365B0 D0 24 00 08 */ stfs f1, 8(r4) +/* 80039654 000365B4 C0 21 01 B4 */ lfs f1, 0x1b4(r1) +/* 80039658 000365B8 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 8003965C 000365BC C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 80039660 000365C0 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039664 000365C4 C0 21 01 BC */ lfs f1, 0x1bc(r1) +/* 80039668 000365C8 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 8003966C 000365CC C0 01 01 C0 */ lfs f0, 0x1c0(r1) +/* 80039670 000365D0 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039674 000365D4 88 01 01 C4 */ lbz r0, 0x1c4(r1) +/* 80039678 000365D8 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 8003967C 000365DC 80 61 01 D0 */ lwz r3, 0x1d0(r1) +/* 80039680 000365E0 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039684 000365E4 80 01 01 CC */ lwz r0, 0x1cc(r1) +/* 80039688 000365E8 90 64 00 2C */ stw r3, 0x2c(r4) +/* 8003968C 000365EC 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039690: +/* 80039690 000365F0 38 00 00 00 */ li r0, 0 +/* 80039694 000365F4 98 01 01 D4 */ stb r0, 0x1d4(r1) +/* 80039698 000365F8 48 00 03 D8 */ b lbl_80039A70 +lbl_8003969C: +/* 8003969C 000365FC 7F C4 F3 78 */ mr r4, r30 +/* 800396A0 00036600 38 61 00 0C */ addi r3, r1, 0xc +/* 800396A4 00036604 48 07 5D 15 */ bl "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" +/* 800396A8 00036608 83 43 00 04 */ lwz r26, 4(r3) +/* 800396AC 0003660C 28 1A 00 00 */ cmplwi r26, 0 +/* 800396B0 00036610 41 82 01 84 */ beq lbl_80039834 +/* 800396B4 00036614 7F 43 D3 78 */ mr r3, r26 +/* 800396B8 00036618 48 16 F4 C5 */ bl GetSphereRadius__15CCollisionActorCFv +/* 800396BC 0003661C C0 FD 02 9C */ lfs f7, 0x29c(r29) +/* 800396C0 00036620 EC 01 00 72 */ fmuls f0, f1, f1 +/* 800396C4 00036624 C0 5A 00 50 */ lfs f2, 0x50(r26) +/* 800396C8 00036628 C0 DD 02 98 */ lfs f6, 0x298(r29) +/* 800396CC 0003662C EC 87 10 28 */ fsubs f4, f7, f2 +/* 800396D0 00036630 C0 5A 00 40 */ lfs f2, 0x40(r26) +/* 800396D4 00036634 C1 1D 02 A0 */ lfs f8, 0x2a0(r29) +/* 800396D8 00036638 EC A6 10 28 */ fsubs f5, f6, f2 +/* 800396DC 0003663C C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 800396E0 00036640 EC 44 01 32 */ fmuls f2, f4, f4 +/* 800396E4 00036644 EC 68 18 28 */ fsubs f3, f8, f3 +/* 800396E8 00036648 EC 45 11 7A */ fmadds f2, f5, f5, f2 +/* 800396EC 0003664C EC 43 10 FA */ fmadds f2, f3, f3, f2 +/* 800396F0 00036650 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800396F4 00036654 40 80 01 40 */ bge lbl_80039834 +/* 800396F8 00036658 C1 21 00 54 */ lfs f9, 0x54(r1) +/* 800396FC 0003665C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80039700 00036660 C1 41 00 58 */ lfs f10, 0x58(r1) +/* 80039704 00036664 38 81 00 24 */ addi r4, r1, 0x24 +/* 80039708 00036668 C1 61 00 5C */ lfs f11, 0x5c(r1) +/* 8003970C 0003666C EC 61 02 72 */ fmuls f3, f1, f9 +/* 80039710 00036670 C0 02 84 2C */ lfs f0, lbl_805AA14C@sda21(r2) +/* 80039714 00036674 EC 41 02 B2 */ fmuls f2, f1, f10 +/* 80039718 00036678 EC 21 02 F2 */ fmuls f1, f1, f11 +/* 8003971C 0003667C EC A0 00 F2 */ fmuls f5, f0, f3 +/* 80039720 00036680 EC 80 00 B2 */ fmuls f4, f0, f2 +/* 80039724 00036684 EC 60 00 72 */ fmuls f3, f0, f1 +/* 80039728 00036688 FC 40 48 50 */ fneg f2, f9 +/* 8003972C 0003668C FC 20 50 50 */ fneg f1, f10 +/* 80039730 00036690 FC 00 58 50 */ fneg f0, f11 +/* 80039734 00036694 EF A6 28 28 */ fsubs f29, f6, f5 +/* 80039738 00036698 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8003973C 0003669C EF C7 20 28 */ fsubs f30, f7, f4 +/* 80039740 000366A0 EF E8 18 28 */ fsubs f31, f8, f3 +/* 80039744 000366A4 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80039748 000366A8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8003974C 000366AC 48 2D A6 85 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80039750 000366B0 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80039754 000366B4 38 00 00 01 */ li r0, 1 +/* 80039758 000366B8 C0 61 00 30 */ lfs f3, 0x30(r1) +/* 8003975C 000366BC 34 61 01 70 */ addic. r3, r1, 0x170 +/* 80039760 000366C0 EC 1E 00 B2 */ fmuls f0, f30, f2 +/* 80039764 000366C4 C0 81 00 38 */ lfs f4, 0x38(r1) +/* 80039768 000366C8 98 01 01 A0 */ stb r0, 0x1a0(r1) +/* 8003976C 000366CC 80 9E 00 68 */ lwz r4, 0x68(r30) +/* 80039770 000366D0 EC 1D 00 FA */ fmadds f0, f29, f3, f0 +/* 80039774 000366D4 80 BE 00 6C */ lwz r5, 0x6c(r30) +/* 80039778 000366D8 EC 3F 01 3A */ fmadds f1, f31, f4, f0 +/* 8003977C 000366DC 41 82 00 34 */ beq lbl_800397B0 +/* 80039780 000366E0 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) +/* 80039784 000366E4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80039788 000366E8 D3 A3 00 04 */ stfs f29, 4(r3) +/* 8003978C 000366EC D3 C3 00 08 */ stfs f30, 8(r3) +/* 80039790 000366F0 D3 E3 00 0C */ stfs f31, 0xc(r3) +/* 80039794 000366F4 D0 63 00 10 */ stfs f3, 0x10(r3) +/* 80039798 000366F8 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 8003979C 000366FC D0 83 00 18 */ stfs f4, 0x18(r3) +/* 800397A0 00036700 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 800397A4 00036704 98 03 00 20 */ stb r0, 0x20(r3) +/* 800397A8 00036708 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 800397AC 0003670C 90 83 00 28 */ stw r4, 0x28(r3) +lbl_800397B0: +/* 800397B0 00036710 A0 7E 00 08 */ lhz r3, 8(r30) +/* 800397B4 00036714 88 01 01 A0 */ lbz r0, 0x1a0(r1) +/* 800397B8 00036718 B0 7C 00 00 */ sth r3, 0(r28) +/* 800397BC 0003671C 28 00 00 00 */ cmplwi r0, 0 +/* 800397C0 00036720 98 1C 00 34 */ stb r0, 0x34(r28) +/* 800397C4 00036724 41 82 00 64 */ beq lbl_80039828 +/* 800397C8 00036728 34 9C 00 04 */ addic. r4, r28, 4 +/* 800397CC 0003672C 41 82 00 5C */ beq lbl_80039828 +/* 800397D0 00036730 C0 21 01 70 */ lfs f1, 0x170(r1) +/* 800397D4 00036734 C0 01 01 74 */ lfs f0, 0x174(r1) +/* 800397D8 00036738 D0 24 00 00 */ stfs f1, 0(r4) +/* 800397DC 0003673C C0 21 01 78 */ lfs f1, 0x178(r1) +/* 800397E0 00036740 D0 04 00 04 */ stfs f0, 4(r4) +/* 800397E4 00036744 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 800397E8 00036748 D0 24 00 08 */ stfs f1, 8(r4) +/* 800397EC 0003674C C0 21 01 80 */ lfs f1, 0x180(r1) +/* 800397F0 00036750 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 800397F4 00036754 C0 01 01 84 */ lfs f0, 0x184(r1) +/* 800397F8 00036758 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 800397FC 0003675C C0 21 01 88 */ lfs f1, 0x188(r1) +/* 80039800 00036760 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039804 00036764 C0 01 01 8C */ lfs f0, 0x18c(r1) +/* 80039808 00036768 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 8003980C 0003676C 88 01 01 90 */ lbz r0, 0x190(r1) +/* 80039810 00036770 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039814 00036774 80 61 01 9C */ lwz r3, 0x19c(r1) +/* 80039818 00036778 98 04 00 20 */ stb r0, 0x20(r4) +/* 8003981C 0003677C 80 01 01 98 */ lwz r0, 0x198(r1) +/* 80039820 00036780 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039824 00036784 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039828: +/* 80039828 00036788 38 00 00 00 */ li r0, 0 +/* 8003982C 0003678C 98 01 01 A0 */ stb r0, 0x1a0(r1) +/* 80039830 00036790 48 00 02 40 */ b lbl_80039A70 +lbl_80039834: +/* 80039834 00036794 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80039838 00036798 38 60 00 00 */ li r3, 0 +/* 8003983C 0003679C 98 61 01 6C */ stb r3, 0x16c(r1) +/* 80039840 000367A0 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039844 000367A4 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039848 000367A8 48 00 00 60 */ b lbl_800398A8 +/* 8003984C 000367AC 41 82 00 5C */ beq lbl_800398A8 +/* 80039850 000367B0 C0 21 01 3C */ lfs f1, 0x13c(r1) +/* 80039854 000367B4 C0 01 01 40 */ lfs f0, 0x140(r1) +/* 80039858 000367B8 D0 24 00 00 */ stfs f1, 0(r4) +/* 8003985C 000367BC C0 21 01 44 */ lfs f1, 0x144(r1) +/* 80039860 000367C0 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039864 000367C4 C0 01 01 48 */ lfs f0, 0x148(r1) +/* 80039868 000367C8 D0 24 00 08 */ stfs f1, 8(r4) +/* 8003986C 000367CC C0 21 01 4C */ lfs f1, 0x14c(r1) +/* 80039870 000367D0 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039874 000367D4 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 80039878 000367D8 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 8003987C 000367DC C0 21 01 54 */ lfs f1, 0x154(r1) +/* 80039880 000367E0 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039884 000367E4 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 80039888 000367E8 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 8003988C 000367EC 88 01 01 5C */ lbz r0, 0x15c(r1) +/* 80039890 000367F0 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039894 000367F4 80 61 01 68 */ lwz r3, 0x168(r1) +/* 80039898 000367F8 98 04 00 20 */ stb r0, 0x20(r4) +/* 8003989C 000367FC 80 01 01 64 */ lwz r0, 0x164(r1) +/* 800398A0 00036800 90 64 00 2C */ stw r3, 0x2c(r4) +/* 800398A4 00036804 90 04 00 28 */ stw r0, 0x28(r4) +lbl_800398A8: +/* 800398A8 00036808 38 00 00 00 */ li r0, 0 +/* 800398AC 0003680C 98 01 01 6C */ stb r0, 0x16c(r1) +/* 800398B0 00036810 48 00 01 C0 */ b lbl_80039A70 +lbl_800398B4: +/* 800398B4 00036814 38 00 00 01 */ li r0, 1 +/* 800398B8 00036818 34 61 01 08 */ addic. r3, r1, 0x108 +/* 800398BC 0003681C 98 01 01 38 */ stb r0, 0x138(r1) +/* 800398C0 00036820 41 82 00 30 */ beq lbl_800398F0 +/* 800398C4 00036824 D0 03 00 00 */ stfs f0, 0(r3) +/* 800398C8 00036828 D0 23 00 04 */ stfs f1, 4(r3) +/* 800398CC 0003682C D0 43 00 08 */ stfs f2, 8(r3) +/* 800398D0 00036830 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 800398D4 00036834 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 800398D8 00036838 D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 800398DC 0003683C D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 800398E0 00036840 D0 E3 00 1C */ stfs f7, 0x1c(r3) +/* 800398E4 00036844 98 83 00 20 */ stb r4, 0x20(r3) +/* 800398E8 00036848 90 C3 00 2C */ stw r6, 0x2c(r3) +/* 800398EC 0003684C 90 A3 00 28 */ stw r5, 0x28(r3) +lbl_800398F0: +/* 800398F0 00036850 A0 7E 00 08 */ lhz r3, 8(r30) +/* 800398F4 00036854 88 01 01 38 */ lbz r0, 0x138(r1) +/* 800398F8 00036858 B0 7C 00 00 */ sth r3, 0(r28) +/* 800398FC 0003685C 28 00 00 00 */ cmplwi r0, 0 +/* 80039900 00036860 98 1C 00 34 */ stb r0, 0x34(r28) +/* 80039904 00036864 41 82 00 64 */ beq lbl_80039968 +/* 80039908 00036868 34 9C 00 04 */ addic. r4, r28, 4 +/* 8003990C 0003686C 41 82 00 5C */ beq lbl_80039968 +/* 80039910 00036870 C0 21 01 08 */ lfs f1, 0x108(r1) +/* 80039914 00036874 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 80039918 00036878 D0 24 00 00 */ stfs f1, 0(r4) +/* 8003991C 0003687C C0 21 01 10 */ lfs f1, 0x110(r1) +/* 80039920 00036880 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039924 00036884 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 80039928 00036888 D0 24 00 08 */ stfs f1, 8(r4) +/* 8003992C 0003688C C0 21 01 18 */ lfs f1, 0x118(r1) +/* 80039930 00036890 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039934 00036894 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 80039938 00036898 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 8003993C 0003689C C0 21 01 20 */ lfs f1, 0x120(r1) +/* 80039940 000368A0 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039944 000368A4 C0 01 01 24 */ lfs f0, 0x124(r1) +/* 80039948 000368A8 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 8003994C 000368AC 88 01 01 28 */ lbz r0, 0x128(r1) +/* 80039950 000368B0 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039954 000368B4 80 61 01 34 */ lwz r3, 0x134(r1) +/* 80039958 000368B8 98 04 00 20 */ stb r0, 0x20(r4) +/* 8003995C 000368BC 80 01 01 30 */ lwz r0, 0x130(r1) +/* 80039960 000368C0 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039964 000368C4 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039968: +/* 80039968 000368C8 38 00 00 00 */ li r0, 0 +/* 8003996C 000368CC 98 01 01 38 */ stb r0, 0x138(r1) +/* 80039970 000368D0 48 00 01 00 */ b lbl_80039A70 +lbl_80039974: +/* 80039974 000368D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80039978 000368D8 38 60 00 00 */ li r3, 0 +/* 8003997C 000368DC 98 61 01 04 */ stb r3, 0x104(r1) +/* 80039980 000368E0 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039984 000368E4 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039988 000368E8 48 00 00 60 */ b lbl_800399E8 +/* 8003998C 000368EC 41 82 00 5C */ beq lbl_800399E8 +/* 80039990 000368F0 C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 80039994 000368F4 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 80039998 000368F8 D0 24 00 00 */ stfs f1, 0(r4) +/* 8003999C 000368FC C0 21 00 DC */ lfs f1, 0xdc(r1) +/* 800399A0 00036900 D0 04 00 04 */ stfs f0, 4(r4) +/* 800399A4 00036904 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 800399A8 00036908 D0 24 00 08 */ stfs f1, 8(r4) +/* 800399AC 0003690C C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 800399B0 00036910 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 800399B4 00036914 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 800399B8 00036918 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 800399BC 0003691C C0 21 00 EC */ lfs f1, 0xec(r1) +/* 800399C0 00036920 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 800399C4 00036924 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 800399C8 00036928 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 800399CC 0003692C 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 800399D0 00036930 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 800399D4 00036934 80 61 01 00 */ lwz r3, 0x100(r1) +/* 800399D8 00036938 98 04 00 20 */ stb r0, 0x20(r4) +/* 800399DC 0003693C 80 01 00 FC */ lwz r0, 0xfc(r1) +/* 800399E0 00036940 90 64 00 2C */ stw r3, 0x2c(r4) +/* 800399E4 00036944 90 04 00 28 */ stw r0, 0x28(r4) +lbl_800399E8: +/* 800399E8 00036948 38 00 00 00 */ li r0, 0 +/* 800399EC 0003694C 98 01 01 04 */ stb r0, 0x104(r1) +/* 800399F0 00036950 48 00 00 80 */ b lbl_80039A70 +lbl_800399F4: +/* 800399F4 00036954 A0 1E 00 08 */ lhz r0, 8(r30) +/* 800399F8 00036958 38 60 00 00 */ li r3, 0 +/* 800399FC 0003695C 98 61 00 D0 */ stb r3, 0xd0(r1) +/* 80039A00 00036960 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039A04 00036964 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039A08 00036968 48 00 00 60 */ b lbl_80039A68 +/* 80039A0C 0003696C 41 82 00 5C */ beq lbl_80039A68 +/* 80039A10 00036970 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 80039A14 00036974 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80039A18 00036978 D0 24 00 00 */ stfs f1, 0(r4) +/* 80039A1C 0003697C C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 80039A20 00036980 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039A24 00036984 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 80039A28 00036988 D0 24 00 08 */ stfs f1, 8(r4) +/* 80039A2C 0003698C C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 80039A30 00036990 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039A34 00036994 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80039A38 00036998 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039A3C 0003699C C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 80039A40 000369A0 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039A44 000369A4 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80039A48 000369A8 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039A4C 000369AC 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 80039A50 000369B0 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039A54 000369B4 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 80039A58 000369B8 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039A5C 000369BC 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 80039A60 000369C0 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039A64 000369C4 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039A68: +/* 80039A68 000369C8 38 00 00 00 */ li r0, 0 +/* 80039A6C 000369CC 98 01 00 D0 */ stb r0, 0xd0(r1) +lbl_80039A70: +/* 80039A70 000369D0 E3 E1 03 F8 */ psq_l f31, 1016(r1), 0, qr0 +/* 80039A74 000369D4 CB E1 03 F0 */ lfd f31, 0x3f0(r1) +/* 80039A78 000369D8 E3 C1 03 E8 */ psq_l f30, 1000(r1), 0, qr0 +/* 80039A7C 000369DC CB C1 03 E0 */ lfd f30, 0x3e0(r1) +/* 80039A80 000369E0 E3 A1 03 D8 */ psq_l f29, 984(r1), 0, qr0 +/* 80039A84 000369E4 CB A1 03 D0 */ lfd f29, 0x3d0(r1) +/* 80039A88 000369E8 BB 41 03 B8 */ lmw r26, 0x3b8(r1) +/* 80039A8C 000369EC 80 01 04 04 */ lwz r0, 0x404(r1) +/* 80039A90 000369F0 7C 08 03 A6 */ mtlr r0 +/* 80039A94 000369F4 38 21 04 00 */ addi r1, r1, 0x400 +/* 80039A98 000369F8 4E 80 00 20 */ blr + +.global CanCollideWithGameObject__15CGameProjectileFR6CActorR13CStateManager +CanCollideWithGameObject__15CGameProjectileFR6CActorR13CStateManager: +/* 80039A9C 000369FC 94 21 FE 20 */ stwu r1, -0x1e0(r1) +/* 80039AA0 00036A00 7C 08 02 A6 */ mflr r0 +/* 80039AA4 00036A04 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 80039AA8 00036A08 93 E1 01 DC */ stw r31, 0x1dc(r1) +/* 80039AAC 00036A0C 7C DF 33 78 */ mr r31, r6 +/* 80039AB0 00036A10 93 C1 01 D8 */ stw r30, 0x1d8(r1) +/* 80039AB4 00036A14 7C BE 2B 78 */ mr r30, r5 +/* 80039AB8 00036A18 93 A1 01 D4 */ stw r29, 0x1d4(r1) +/* 80039ABC 00036A1C 7C 9D 23 78 */ mr r29, r4 +/* 80039AC0 00036A20 7F C4 F3 78 */ mr r4, r30 +/* 80039AC4 00036A24 93 81 01 D0 */ stw r28, 0x1d0(r1) +/* 80039AC8 00036A28 7C 7C 1B 78 */ mr r28, r3 +/* 80039ACC 00036A2C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80039AD0 00036A30 48 07 3C A9 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" +/* 80039AD4 00036A34 80 63 00 04 */ lwz r3, 4(r3) +/* 80039AD8 00036A38 28 03 00 00 */ cmplwi r3, 0 +/* 80039ADC 00036A3C 40 82 03 70 */ bne lbl_80039E4C +/* 80039AE0 00036A40 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 80039AE4 00036A44 38 80 00 00 */ li r4, 0 +/* 80039AE8 00036A48 80 BE 00 6C */ lwz r5, 0x6c(r30) +/* 80039AEC 00036A4C 3C 60 00 08 */ lis r3, 8 +/* 80039AF0 00036A50 7C 00 20 38 */ and r0, r0, r4 +/* 80039AF4 00036A54 7C A3 18 38 */ and r3, r5, r3 +/* 80039AF8 00036A58 7C 63 22 78 */ xor r3, r3, r4 +/* 80039AFC 00036A5C 7C 00 22 78 */ xor r0, r0, r4 +/* 80039B00 00036A60 7C 60 03 79 */ or. r0, r3, r0 +/* 80039B04 00036A64 40 82 00 A4 */ bne lbl_80039BA8 +/* 80039B08 00036A68 7F C3 F3 78 */ mr r3, r30 +/* 80039B0C 00036A6C 7F E4 FB 78 */ mr r4, r31 +/* 80039B10 00036A70 81 9E 00 00 */ lwz r12, 0(r30) +/* 80039B14 00036A74 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80039B18 00036A78 7D 89 03 A6 */ mtctr r12 +/* 80039B1C 00036A7C 4E 80 04 21 */ bctrl +/* 80039B20 00036A80 28 03 00 00 */ cmplwi r3, 0 +/* 80039B24 00036A84 40 82 00 84 */ bne lbl_80039BA8 +/* 80039B28 00036A88 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80039B2C 00036A8C 38 60 00 00 */ li r3, 0 +/* 80039B30 00036A90 98 61 01 CC */ stb r3, 0x1cc(r1) +/* 80039B34 00036A94 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039B38 00036A98 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039B3C 00036A9C 48 00 00 60 */ b lbl_80039B9C +/* 80039B40 00036AA0 41 82 00 5C */ beq lbl_80039B9C +/* 80039B44 00036AA4 C0 21 01 9C */ lfs f1, 0x19c(r1) +/* 80039B48 00036AA8 C0 01 01 A0 */ lfs f0, 0x1a0(r1) +/* 80039B4C 00036AAC D0 24 00 00 */ stfs f1, 0(r4) +/* 80039B50 00036AB0 C0 21 01 A4 */ lfs f1, 0x1a4(r1) +/* 80039B54 00036AB4 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039B58 00036AB8 C0 01 01 A8 */ lfs f0, 0x1a8(r1) +/* 80039B5C 00036ABC D0 24 00 08 */ stfs f1, 8(r4) +/* 80039B60 00036AC0 C0 21 01 AC */ lfs f1, 0x1ac(r1) +/* 80039B64 00036AC4 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039B68 00036AC8 C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 80039B6C 00036ACC D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039B70 00036AD0 C0 21 01 B4 */ lfs f1, 0x1b4(r1) +/* 80039B74 00036AD4 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039B78 00036AD8 C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 80039B7C 00036ADC D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039B80 00036AE0 88 01 01 BC */ lbz r0, 0x1bc(r1) +/* 80039B84 00036AE4 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039B88 00036AE8 80 61 01 C8 */ lwz r3, 0x1c8(r1) +/* 80039B8C 00036AEC 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039B90 00036AF0 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 80039B94 00036AF4 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039B98 00036AF8 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039B9C: +/* 80039B9C 00036AFC 38 00 00 00 */ li r0, 0 +/* 80039BA0 00036B00 98 01 01 CC */ stb r0, 0x1cc(r1) +/* 80039BA4 00036B04 48 00 04 54 */ b lbl_80039FF8 +lbl_80039BA8: +/* 80039BA8 00036B08 A0 7E 00 08 */ lhz r3, 8(r30) +/* 80039BAC 00036B0C A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 80039BB0 00036B10 7C 03 00 40 */ cmplw r3, r0 +/* 80039BB4 00036B14 40 82 00 84 */ bne lbl_80039C38 +/* 80039BB8 00036B18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80039BBC 00036B1C 38 60 00 00 */ li r3, 0 +/* 80039BC0 00036B20 98 61 01 98 */ stb r3, 0x198(r1) +/* 80039BC4 00036B24 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039BC8 00036B28 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039BCC 00036B2C 48 00 00 60 */ b lbl_80039C2C +/* 80039BD0 00036B30 41 82 00 5C */ beq lbl_80039C2C +/* 80039BD4 00036B34 C0 21 01 68 */ lfs f1, 0x168(r1) +/* 80039BD8 00036B38 C0 01 01 6C */ lfs f0, 0x16c(r1) +/* 80039BDC 00036B3C D0 24 00 00 */ stfs f1, 0(r4) +/* 80039BE0 00036B40 C0 21 01 70 */ lfs f1, 0x170(r1) +/* 80039BE4 00036B44 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039BE8 00036B48 C0 01 01 74 */ lfs f0, 0x174(r1) +/* 80039BEC 00036B4C D0 24 00 08 */ stfs f1, 8(r4) +/* 80039BF0 00036B50 C0 21 01 78 */ lfs f1, 0x178(r1) +/* 80039BF4 00036B54 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039BF8 00036B58 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 80039BFC 00036B5C D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039C00 00036B60 C0 21 01 80 */ lfs f1, 0x180(r1) +/* 80039C04 00036B64 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039C08 00036B68 C0 01 01 84 */ lfs f0, 0x184(r1) +/* 80039C0C 00036B6C D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039C10 00036B70 88 01 01 88 */ lbz r0, 0x188(r1) +/* 80039C14 00036B74 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039C18 00036B78 80 61 01 94 */ lwz r3, 0x194(r1) +/* 80039C1C 00036B7C 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039C20 00036B80 80 01 01 90 */ lwz r0, 0x190(r1) +/* 80039C24 00036B84 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039C28 00036B88 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039C2C: +/* 80039C2C 00036B8C 38 00 00 00 */ li r0, 0 +/* 80039C30 00036B90 98 01 01 98 */ stb r0, 0x198(r1) +/* 80039C34 00036B94 48 00 03 C4 */ b lbl_80039FF8 +lbl_80039C38: +/* 80039C38 00036B98 A0 1D 02 C2 */ lhz r0, 0x2c2(r29) +/* 80039C3C 00036B9C 7C 03 00 40 */ cmplw r3, r0 +/* 80039C40 00036BA0 40 82 00 84 */ bne lbl_80039CC4 +/* 80039C44 00036BA4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80039C48 00036BA8 38 60 00 00 */ li r3, 0 +/* 80039C4C 00036BAC 98 61 01 64 */ stb r3, 0x164(r1) +/* 80039C50 00036BB0 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039C54 00036BB4 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039C58 00036BB8 48 00 00 60 */ b lbl_80039CB8 +/* 80039C5C 00036BBC 41 82 00 5C */ beq lbl_80039CB8 +/* 80039C60 00036BC0 C0 21 01 34 */ lfs f1, 0x134(r1) +/* 80039C64 00036BC4 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 80039C68 00036BC8 D0 24 00 00 */ stfs f1, 0(r4) +/* 80039C6C 00036BCC C0 21 01 3C */ lfs f1, 0x13c(r1) +/* 80039C70 00036BD0 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039C74 00036BD4 C0 01 01 40 */ lfs f0, 0x140(r1) +/* 80039C78 00036BD8 D0 24 00 08 */ stfs f1, 8(r4) +/* 80039C7C 00036BDC C0 21 01 44 */ lfs f1, 0x144(r1) +/* 80039C80 00036BE0 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039C84 00036BE4 C0 01 01 48 */ lfs f0, 0x148(r1) +/* 80039C88 00036BE8 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039C8C 00036BEC C0 21 01 4C */ lfs f1, 0x14c(r1) +/* 80039C90 00036BF0 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039C94 00036BF4 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 80039C98 00036BF8 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039C9C 00036BFC 88 01 01 54 */ lbz r0, 0x154(r1) +/* 80039CA0 00036C00 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039CA4 00036C04 80 61 01 60 */ lwz r3, 0x160(r1) +/* 80039CA8 00036C08 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039CAC 00036C0C 80 01 01 5C */ lwz r0, 0x15c(r1) +/* 80039CB0 00036C10 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039CB4 00036C14 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039CB8: +/* 80039CB8 00036C18 38 00 00 00 */ li r0, 0 +/* 80039CBC 00036C1C 98 01 01 64 */ stb r0, 0x164(r1) +/* 80039CC0 00036C20 48 00 03 38 */ b lbl_80039FF8 +lbl_80039CC4: +/* 80039CC4 00036C24 80 DD 01 00 */ lwz r6, 0x100(r29) +/* 80039CC8 00036C28 38 80 00 00 */ li r4, 0 +/* 80039CCC 00036C2C 80 FD 01 04 */ lwz r7, 0x104(r29) +/* 80039CD0 00036C30 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 80039CD4 00036C34 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 80039CD8 00036C38 7C C0 00 38 */ and r0, r6, r0 +/* 80039CDC 00036C3C 81 1D 00 F8 */ lwz r8, 0xf8(r29) +/* 80039CE0 00036C40 7C E3 18 38 */ and r3, r7, r3 +/* 80039CE4 00036C44 81 3D 00 FC */ lwz r9, 0xfc(r29) +/* 80039CE8 00036C48 80 BD 01 08 */ lwz r5, 0x108(r29) +/* 80039CEC 00036C4C 7C 63 22 78 */ xor r3, r3, r4 +/* 80039CF0 00036C50 7C 00 22 78 */ xor r0, r0, r4 +/* 80039CF4 00036C54 91 21 00 1C */ stw r9, 0x1c(r1) +/* 80039CF8 00036C58 7C 60 03 79 */ or. r0, r3, r0 +/* 80039CFC 00036C5C 91 01 00 18 */ stw r8, 0x18(r1) +/* 80039D00 00036C60 90 E1 00 24 */ stw r7, 0x24(r1) +/* 80039D04 00036C64 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80039D08 00036C68 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80039D0C 00036C6C 41 82 00 88 */ beq lbl_80039D94 +/* 80039D10 00036C70 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80039D14 00036C74 28 04 00 00 */ cmplwi r4, 0 +/* 80039D18 00036C78 98 81 01 30 */ stb r4, 0x130(r1) +/* 80039D1C 00036C7C B0 1C 00 00 */ sth r0, 0(r28) +/* 80039D20 00036C80 98 9C 00 34 */ stb r4, 0x34(r28) +/* 80039D24 00036C84 41 82 00 64 */ beq lbl_80039D88 +/* 80039D28 00036C88 34 9C 00 04 */ addic. r4, r28, 4 +/* 80039D2C 00036C8C 41 82 00 5C */ beq lbl_80039D88 +/* 80039D30 00036C90 C0 21 01 00 */ lfs f1, 0x100(r1) +/* 80039D34 00036C94 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 80039D38 00036C98 D0 24 00 00 */ stfs f1, 0(r4) +/* 80039D3C 00036C9C C0 21 01 08 */ lfs f1, 0x108(r1) +/* 80039D40 00036CA0 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039D44 00036CA4 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 80039D48 00036CA8 D0 24 00 08 */ stfs f1, 8(r4) +/* 80039D4C 00036CAC C0 21 01 10 */ lfs f1, 0x110(r1) +/* 80039D50 00036CB0 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039D54 00036CB4 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 80039D58 00036CB8 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039D5C 00036CBC C0 21 01 18 */ lfs f1, 0x118(r1) +/* 80039D60 00036CC0 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039D64 00036CC4 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 80039D68 00036CC8 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039D6C 00036CCC 88 01 01 20 */ lbz r0, 0x120(r1) +/* 80039D70 00036CD0 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039D74 00036CD4 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 80039D78 00036CD8 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039D7C 00036CDC 80 01 01 28 */ lwz r0, 0x128(r1) +/* 80039D80 00036CE0 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039D84 00036CE4 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039D88: +/* 80039D88 00036CE8 38 00 00 00 */ li r0, 0 +/* 80039D8C 00036CEC 98 01 01 30 */ stb r0, 0x130(r1) +/* 80039D90 00036CF0 48 00 02 68 */ b lbl_80039FF8 +lbl_80039D94: +/* 80039D94 00036CF4 7F C4 F3 78 */ mr r4, r30 +/* 80039D98 00036CF8 38 61 00 08 */ addi r3, r1, 8 +/* 80039D9C 00036CFC 48 07 2D 2D */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity" +/* 80039DA0 00036D00 80 63 00 04 */ lwz r3, 4(r3) +/* 80039DA4 00036D04 28 03 00 00 */ cmplwi r3, 0 +/* 80039DA8 00036D08 41 82 01 D4 */ beq lbl_80039F7C +/* 80039DAC 00036D0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80039DB0 00036D10 7F E4 FB 78 */ mr r4, r31 +/* 80039DB4 00036D14 80 BD 00 E8 */ lwz r5, 0xe8(r29) +/* 80039DB8 00036D18 81 8C 00 94 */ lwz r12, 0x94(r12) +/* 80039DBC 00036D1C 7D 89 03 A6 */ mtctr r12 +/* 80039DC0 00036D20 4E 80 04 21 */ bctrl +/* 80039DC4 00036D24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80039DC8 00036D28 40 82 01 B4 */ bne lbl_80039F7C +/* 80039DCC 00036D2C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80039DD0 00036D30 38 60 00 00 */ li r3, 0 +/* 80039DD4 00036D34 98 61 00 FC */ stb r3, 0xfc(r1) +/* 80039DD8 00036D38 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039DDC 00036D3C 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039DE0 00036D40 48 00 00 60 */ b lbl_80039E40 +/* 80039DE4 00036D44 41 82 00 5C */ beq lbl_80039E40 +/* 80039DE8 00036D48 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 80039DEC 00036D4C C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 80039DF0 00036D50 D0 24 00 00 */ stfs f1, 0(r4) +/* 80039DF4 00036D54 C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 80039DF8 00036D58 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039DFC 00036D5C C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 80039E00 00036D60 D0 24 00 08 */ stfs f1, 8(r4) +/* 80039E04 00036D64 C0 21 00 DC */ lfs f1, 0xdc(r1) +/* 80039E08 00036D68 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039E0C 00036D6C C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 80039E10 00036D70 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039E14 00036D74 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 80039E18 00036D78 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039E1C 00036D7C C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 80039E20 00036D80 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039E24 00036D84 88 01 00 EC */ lbz r0, 0xec(r1) +/* 80039E28 00036D88 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039E2C 00036D8C 80 61 00 F8 */ lwz r3, 0xf8(r1) +/* 80039E30 00036D90 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039E34 00036D94 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80039E38 00036D98 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039E3C 00036D9C 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039E40: +/* 80039E40 00036DA0 38 00 00 00 */ li r0, 0 +/* 80039E44 00036DA4 98 01 00 FC */ stb r0, 0xfc(r1) +/* 80039E48 00036DA8 48 00 01 B0 */ b lbl_80039FF8 +lbl_80039E4C: +/* 80039E4C 00036DAC 80 1D 00 E8 */ lwz r0, 0xe8(r29) +/* 80039E50 00036DB0 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 80039E54 00036DB4 2C 04 00 01 */ cmpwi r4, 1 +/* 80039E58 00036DB8 41 82 00 14 */ beq lbl_80039E6C +/* 80039E5C 00036DBC 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 80039E60 00036DC0 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 80039E64 00036DC4 2C 00 00 01 */ cmpwi r0, 1 +/* 80039E68 00036DC8 40 82 00 84 */ bne lbl_80039EEC +lbl_80039E6C: +/* 80039E6C 00036DCC A0 1E 00 08 */ lhz r0, 8(r30) +/* 80039E70 00036DD0 38 60 00 00 */ li r3, 0 +/* 80039E74 00036DD4 98 61 00 C8 */ stb r3, 0xc8(r1) +/* 80039E78 00036DD8 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039E7C 00036DDC 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039E80 00036DE0 48 00 00 60 */ b lbl_80039EE0 +/* 80039E84 00036DE4 41 82 00 5C */ beq lbl_80039EE0 +/* 80039E88 00036DE8 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 80039E8C 00036DEC C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 80039E90 00036DF0 D0 24 00 00 */ stfs f1, 0(r4) +/* 80039E94 00036DF4 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 80039E98 00036DF8 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039E9C 00036DFC C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80039EA0 00036E00 D0 24 00 08 */ stfs f1, 8(r4) +/* 80039EA4 00036E04 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 80039EA8 00036E08 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039EAC 00036E0C C0 01 00 AC */ lfs f0, 0xac(r1) +/* 80039EB0 00036E10 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039EB4 00036E14 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 80039EB8 00036E18 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039EBC 00036E1C C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80039EC0 00036E20 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039EC4 00036E24 88 01 00 B8 */ lbz r0, 0xb8(r1) +/* 80039EC8 00036E28 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039ECC 00036E2C 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 80039ED0 00036E30 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039ED4 00036E34 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 80039ED8 00036E38 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039EDC 00036E3C 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039EE0: +/* 80039EE0 00036E40 38 00 00 00 */ li r0, 0 +/* 80039EE4 00036E44 98 01 00 C8 */ stb r0, 0xc8(r1) +/* 80039EE8 00036E48 48 00 01 10 */ b lbl_80039FF8 +lbl_80039EEC: +/* 80039EEC 00036E4C 2C 04 00 01 */ cmpwi r4, 1 +/* 80039EF0 00036E50 41 82 00 8C */ beq lbl_80039F7C +/* 80039EF4 00036E54 2C 00 00 01 */ cmpwi r0, 1 +/* 80039EF8 00036E58 41 82 00 84 */ beq lbl_80039F7C +/* 80039EFC 00036E5C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80039F00 00036E60 38 60 00 00 */ li r3, 0 +/* 80039F04 00036E64 98 61 00 94 */ stb r3, 0x94(r1) +/* 80039F08 00036E68 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039F0C 00036E6C 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039F10 00036E70 48 00 00 60 */ b lbl_80039F70 +/* 80039F14 00036E74 41 82 00 5C */ beq lbl_80039F70 +/* 80039F18 00036E78 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 80039F1C 00036E7C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80039F20 00036E80 D0 24 00 00 */ stfs f1, 0(r4) +/* 80039F24 00036E84 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 80039F28 00036E88 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039F2C 00036E8C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 80039F30 00036E90 D0 24 00 08 */ stfs f1, 8(r4) +/* 80039F34 00036E94 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80039F38 00036E98 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039F3C 00036E9C C0 01 00 78 */ lfs f0, 0x78(r1) +/* 80039F40 00036EA0 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039F44 00036EA4 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 80039F48 00036EA8 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039F4C 00036EAC C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80039F50 00036EB0 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039F54 00036EB4 88 01 00 84 */ lbz r0, 0x84(r1) +/* 80039F58 00036EB8 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039F5C 00036EBC 80 61 00 90 */ lwz r3, 0x90(r1) +/* 80039F60 00036EC0 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039F64 00036EC4 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80039F68 00036EC8 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039F6C 00036ECC 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039F70: +/* 80039F70 00036ED0 38 00 00 00 */ li r0, 0 +/* 80039F74 00036ED4 98 01 00 94 */ stb r0, 0x94(r1) +/* 80039F78 00036ED8 48 00 00 80 */ b lbl_80039FF8 +lbl_80039F7C: +/* 80039F7C 00036EDC A0 1E 00 08 */ lhz r0, 8(r30) +/* 80039F80 00036EE0 38 60 00 00 */ li r3, 0 +/* 80039F84 00036EE4 98 61 00 60 */ stb r3, 0x60(r1) +/* 80039F88 00036EE8 B0 1C 00 00 */ sth r0, 0(r28) +/* 80039F8C 00036EEC 98 7C 00 34 */ stb r3, 0x34(r28) +/* 80039F90 00036EF0 48 00 00 60 */ b lbl_80039FF0 +/* 80039F94 00036EF4 41 82 00 5C */ beq lbl_80039FF0 +/* 80039F98 00036EF8 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80039F9C 00036EFC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80039FA0 00036F00 D0 24 00 00 */ stfs f1, 0(r4) +/* 80039FA4 00036F04 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80039FA8 00036F08 D0 04 00 04 */ stfs f0, 4(r4) +/* 80039FAC 00036F0C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80039FB0 00036F10 D0 24 00 08 */ stfs f1, 8(r4) +/* 80039FB4 00036F14 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80039FB8 00036F18 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80039FBC 00036F1C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80039FC0 00036F20 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80039FC4 00036F24 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80039FC8 00036F28 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80039FCC 00036F2C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80039FD0 00036F30 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80039FD4 00036F34 88 01 00 50 */ lbz r0, 0x50(r1) +/* 80039FD8 00036F38 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80039FDC 00036F3C 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80039FE0 00036F40 98 04 00 20 */ stb r0, 0x20(r4) +/* 80039FE4 00036F44 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80039FE8 00036F48 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80039FEC 00036F4C 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80039FF0: +/* 80039FF0 00036F50 38 00 00 00 */ li r0, 0 +/* 80039FF4 00036F54 98 01 00 60 */ stb r0, 0x60(r1) +lbl_80039FF8: +/* 80039FF8 00036F58 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 80039FFC 00036F5C 83 E1 01 DC */ lwz r31, 0x1dc(r1) +/* 8003A000 00036F60 83 C1 01 D8 */ lwz r30, 0x1d8(r1) +/* 8003A004 00036F64 83 A1 01 D4 */ lwz r29, 0x1d4(r1) +/* 8003A008 00036F68 83 81 01 D0 */ lwz r28, 0x1d0(r1) +/* 8003A00C 00036F6C 7C 08 03 A6 */ mtlr r0 +/* 8003A010 00036F70 38 21 01 E0 */ addi r1, r1, 0x1e0 +/* 8003A014 00036F74 4E 80 00 20 */ blr + +.global CanBeShot__3CAiFRC13CStateManageri +CanBeShot__3CAiFRC13CStateManageri: +/* 8003A018 00036F78 38 60 00 01 */ li r3, 1 +/* 8003A01C 00036F7C 4E 80 00 20 */ blr + +.global CanCollideWithTrigger__15CGameProjectileFR6CActorR13CStateManager +CanCollideWithTrigger__15CGameProjectileFR6CActorR13CStateManager: +/* 8003A020 00036F80 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8003A024 00036F84 7C 08 02 A6 */ mflr r0 +/* 8003A028 00036F88 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8003A02C 00036F8C BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 8003A030 00036F90 7C 7C 1B 78 */ mr r28, r3 +/* 8003A034 00036F94 7C BE 2B 78 */ mr r30, r5 +/* 8003A038 00036F98 7C 9D 23 78 */ mr r29, r4 +/* 8003A03C 00036F9C 38 61 00 0C */ addi r3, r1, 0xc +/* 8003A040 00036FA0 7F C4 F3 78 */ mr r4, r30 +/* 8003A044 00036FA4 48 06 C8 89 */ bl "__ct__26TCastToPtr<12CScriptWater>FR7CEntity" +/* 8003A048 00036FA8 80 63 00 04 */ lwz r3, 4(r3) +/* 8003A04C 00036FAC 7C 03 00 D0 */ neg r0, r3 +/* 8003A050 00036FB0 7C 00 1B 78 */ or r0, r0, r3 +/* 8003A054 00036FB4 54 1B 0F FF */ rlwinm. r27, r0, 1, 0x1f, 0x1f +/* 8003A058 00036FB8 41 82 01 88 */ beq lbl_8003A1E0 +/* 8003A05C 00036FBC 3B E0 00 00 */ li r31, 0 +/* 8003A060 00036FC0 38 80 00 00 */ li r4, 0 +/* 8003A064 00036FC4 7F E3 FB 78 */ mr r3, r31 +/* 8003A068 00036FC8 41 82 00 14 */ beq lbl_8003A07C +/* 8003A06C 00036FCC 88 1D 02 E4 */ lbz r0, 0x2e4(r29) +/* 8003A070 00036FD0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003A074 00036FD4 40 82 00 08 */ bne lbl_8003A07C +/* 8003A078 00036FD8 38 60 00 01 */ li r3, 1 +lbl_8003A07C: +/* 8003A07C 00036FDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003A080 00036FE0 41 82 00 28 */ beq lbl_8003A0A8 +/* 8003A084 00036FE4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8003A088 00036FE8 38 9D 01 70 */ addi r4, r29, 0x170 +/* 8003A08C 00036FEC 4B FF E4 F5 */ bl GetWeaponDescription__17CProjectileWeaponCFv +/* 8003A090 00036FF0 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8003A094 00036FF4 38 80 00 01 */ li r4, 1 +/* 8003A098 00036FF8 88 03 00 A4 */ lbz r0, 0xa4(r3) +/* 8003A09C 00036FFC 28 00 00 00 */ cmplwi r0, 0 +/* 8003A0A0 00037000 40 82 00 08 */ bne lbl_8003A0A8 +/* 8003A0A4 00037004 3B E0 00 01 */ li r31, 1 +lbl_8003A0A8: +/* 8003A0A8 00037008 7C 80 07 75 */ extsb. r0, r4 +/* 8003A0AC 0003700C 41 82 00 10 */ beq lbl_8003A0BC +/* 8003A0B0 00037010 38 61 00 20 */ addi r3, r1, 0x20 +/* 8003A0B4 00037014 38 80 00 00 */ li r4, 0 +/* 8003A0B8 00037018 48 30 6D 89 */ bl __dt__6CTokenFv +lbl_8003A0BC: +/* 8003A0BC 0003701C 28 1B 00 00 */ cmplwi r27, 0 +/* 8003A0C0 00037020 3B 60 00 00 */ li r27, 0 +/* 8003A0C4 00037024 7F 63 DB 78 */ mr r3, r27 +/* 8003A0C8 00037028 38 80 00 00 */ li r4, 0 +/* 8003A0CC 0003702C 40 82 00 14 */ bne lbl_8003A0E0 +/* 8003A0D0 00037030 88 1D 02 E4 */ lbz r0, 0x2e4(r29) +/* 8003A0D4 00037034 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003A0D8 00037038 41 82 00 08 */ beq lbl_8003A0E0 +/* 8003A0DC 0003703C 38 60 00 01 */ li r3, 1 +lbl_8003A0E0: +/* 8003A0E0 00037040 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003A0E4 00037044 41 82 00 28 */ beq lbl_8003A10C +/* 8003A0E8 00037048 38 61 00 14 */ addi r3, r1, 0x14 +/* 8003A0EC 0003704C 38 9D 01 70 */ addi r4, r29, 0x170 +/* 8003A0F0 00037050 4B FF E4 91 */ bl GetWeaponDescription__17CProjectileWeaponCFv +/* 8003A0F4 00037054 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8003A0F8 00037058 38 80 00 01 */ li r4, 1 +/* 8003A0FC 0003705C 88 03 00 A5 */ lbz r0, 0xa5(r3) +/* 8003A100 00037060 28 00 00 00 */ cmplwi r0, 0 +/* 8003A104 00037064 40 82 00 08 */ bne lbl_8003A10C +/* 8003A108 00037068 3B 60 00 01 */ li r27, 1 +lbl_8003A10C: +/* 8003A10C 0003706C 7C 80 07 75 */ extsb. r0, r4 +/* 8003A110 00037070 41 82 00 10 */ beq lbl_8003A120 +/* 8003A114 00037074 38 61 00 14 */ addi r3, r1, 0x14 +/* 8003A118 00037078 38 80 00 00 */ li r4, 0 +/* 8003A11C 0003707C 48 30 6D 25 */ bl __dt__6CTokenFv +lbl_8003A120: +/* 8003A120 00037080 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8003A124 00037084 38 60 00 00 */ li r3, 0 +/* 8003A128 00037088 40 82 00 0C */ bne lbl_8003A134 +/* 8003A12C 0003708C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8003A130 00037090 41 82 00 08 */ beq lbl_8003A138 +lbl_8003A134: +/* 8003A134 00037094 38 60 00 01 */ li r3, 1 +lbl_8003A138: +/* 8003A138 00037098 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003A13C 0003709C 38 60 00 00 */ li r3, 0 +/* 8003A140 000370A0 98 61 00 90 */ stb r3, 0x90(r1) +/* 8003A144 000370A4 41 82 00 14 */ beq lbl_8003A158 +/* 8003A148 000370A8 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8003A14C 000370AC 38 61 00 08 */ addi r3, r1, 8 +/* 8003A150 000370B0 B0 01 00 08 */ sth r0, 8(r1) +/* 8003A154 000370B4 48 00 00 08 */ b lbl_8003A15C +lbl_8003A158: +/* 8003A158 000370B8 38 6D A3 8C */ addi r3, r13, lbl_805A8F4C@sda21 +lbl_8003A15C: +/* 8003A15C 000370BC A0 63 00 00 */ lhz r3, 0(r3) +/* 8003A160 000370C0 88 01 00 90 */ lbz r0, 0x90(r1) +/* 8003A164 000370C4 B0 7C 00 00 */ sth r3, 0(r28) +/* 8003A168 000370C8 28 00 00 00 */ cmplwi r0, 0 +/* 8003A16C 000370CC 98 1C 00 34 */ stb r0, 0x34(r28) +/* 8003A170 000370D0 41 82 00 64 */ beq lbl_8003A1D4 +/* 8003A174 000370D4 34 9C 00 04 */ addic. r4, r28, 4 +/* 8003A178 000370D8 41 82 00 5C */ beq lbl_8003A1D4 +/* 8003A17C 000370DC C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8003A180 000370E0 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8003A184 000370E4 D0 24 00 00 */ stfs f1, 0(r4) +/* 8003A188 000370E8 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 8003A18C 000370EC D0 04 00 04 */ stfs f0, 4(r4) +/* 8003A190 000370F0 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8003A194 000370F4 D0 24 00 08 */ stfs f1, 8(r4) +/* 8003A198 000370F8 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 8003A19C 000370FC D0 04 00 0C */ stfs f0, 0xc(r4) +/* 8003A1A0 00037100 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8003A1A4 00037104 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 8003A1A8 00037108 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8003A1AC 0003710C D0 04 00 14 */ stfs f0, 0x14(r4) +/* 8003A1B0 00037110 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8003A1B4 00037114 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 8003A1B8 00037118 88 01 00 80 */ lbz r0, 0x80(r1) +/* 8003A1BC 0003711C D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 8003A1C0 00037120 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 8003A1C4 00037124 98 04 00 20 */ stb r0, 0x20(r4) +/* 8003A1C8 00037128 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8003A1CC 0003712C 90 64 00 2C */ stw r3, 0x2c(r4) +/* 8003A1D0 00037130 90 04 00 28 */ stw r0, 0x28(r4) +lbl_8003A1D4: +/* 8003A1D4 00037134 38 00 00 00 */ li r0, 0 +/* 8003A1D8 00037138 98 01 00 90 */ stb r0, 0x90(r1) +/* 8003A1DC 0003713C 48 00 00 80 */ b lbl_8003A25C +lbl_8003A1E0: +/* 8003A1E0 00037140 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003A1E4 00037144 38 60 00 00 */ li r3, 0 +/* 8003A1E8 00037148 98 61 00 5C */ stb r3, 0x5c(r1) +/* 8003A1EC 0003714C B0 1C 00 00 */ sth r0, 0(r28) +/* 8003A1F0 00037150 98 7C 00 34 */ stb r3, 0x34(r28) +/* 8003A1F4 00037154 48 00 00 60 */ b lbl_8003A254 +/* 8003A1F8 00037158 41 82 00 5C */ beq lbl_8003A254 +/* 8003A1FC 0003715C C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8003A200 00037160 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8003A204 00037164 D0 24 00 00 */ stfs f1, 0(r4) +/* 8003A208 00037168 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8003A20C 0003716C D0 04 00 04 */ stfs f0, 4(r4) +/* 8003A210 00037170 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8003A214 00037174 D0 24 00 08 */ stfs f1, 8(r4) +/* 8003A218 00037178 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 8003A21C 0003717C D0 04 00 0C */ stfs f0, 0xc(r4) +/* 8003A220 00037180 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8003A224 00037184 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 8003A228 00037188 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 8003A22C 0003718C D0 04 00 14 */ stfs f0, 0x14(r4) +/* 8003A230 00037190 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8003A234 00037194 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 8003A238 00037198 88 01 00 4C */ lbz r0, 0x4c(r1) +/* 8003A23C 0003719C D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 8003A240 000371A0 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8003A244 000371A4 98 04 00 20 */ stb r0, 0x20(r4) +/* 8003A248 000371A8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8003A24C 000371AC 90 64 00 2C */ stw r3, 0x2c(r4) +/* 8003A250 000371B0 90 04 00 28 */ stw r0, 0x28(r4) +lbl_8003A254: +/* 8003A254 000371B4 38 00 00 00 */ li r0, 0 +/* 8003A258 000371B8 98 01 00 5C */ stb r0, 0x5c(r1) +lbl_8003A25C: +/* 8003A25C 000371BC BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 8003A260 000371C0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8003A264 000371C4 7C 08 03 A6 */ mtlr r0 +/* 8003A268 000371C8 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8003A26C 000371CC 4E 80 00 20 */ blr + +.global GetTouchBounds__15CGameProjectileCFv +GetTouchBounds__15CGameProjectileCFv: +/* 8003A270 000371D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8003A274 000371D4 7C 08 02 A6 */ mflr r0 +/* 8003A278 000371D8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8003A27C 000371DC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8003A280 000371E0 7C 7F 1B 78 */ mr r31, r3 +/* 8003A284 000371E4 88 04 02 E4 */ lbz r0, 0x2e4(r4) +/* 8003A288 000371E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8003A28C 000371EC 40 82 00 10 */ bne lbl_8003A29C +/* 8003A290 000371F0 38 00 00 00 */ li r0, 0 +/* 8003A294 000371F4 98 1F 00 18 */ stb r0, 0x18(r31) +/* 8003A298 000371F8 48 00 00 4C */ b lbl_8003A2E4 +lbl_8003A29C: +/* 8003A29C 000371FC 38 61 00 08 */ addi r3, r1, 8 +/* 8003A2A0 00037200 48 00 00 59 */ bl GetProjectileBounds__15CGameProjectileCFv +/* 8003A2A4 00037204 38 00 00 01 */ li r0, 1 +/* 8003A2A8 00037208 28 1F 00 00 */ cmplwi r31, 0 +/* 8003A2AC 0003720C 98 1F 00 18 */ stb r0, 0x18(r31) +/* 8003A2B0 00037210 41 82 00 34 */ beq lbl_8003A2E4 +/* 8003A2B4 00037214 C0 01 00 08 */ lfs f0, 8(r1) +/* 8003A2B8 00037218 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8003A2BC 0003721C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8003A2C0 00037220 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8003A2C4 00037224 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8003A2C8 00037228 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8003A2CC 0003722C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8003A2D0 00037230 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8003A2D4 00037234 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8003A2D8 00037238 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8003A2DC 0003723C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8003A2E0 00037240 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_8003A2E4: +/* 8003A2E4 00037244 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8003A2E8 00037248 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8003A2EC 0003724C 7C 08 03 A6 */ mtlr r0 +/* 8003A2F0 00037250 38 21 00 30 */ addi r1, r1, 0x30 +/* 8003A2F4 00037254 4E 80 00 20 */ blr + +.global GetProjectileBounds__15CGameProjectileCFv +GetProjectileBounds__15CGameProjectileCFv: +/* 8003A2F8 00037258 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8003A2FC 0003725C C0 84 00 60 */ lfs f4, 0x60(r4) +/* 8003A300 00037260 C0 04 02 A0 */ lfs f0, 0x2a0(r4) +/* 8003A304 00037264 D0 81 00 08 */ stfs f4, 8(r1) +/* 8003A308 00037268 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 8003A30C 0003726C C0 64 00 50 */ lfs f3, 0x50(r4) +/* 8003A310 00037270 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8003A314 00037274 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 8003A318 00037278 40 80 00 0C */ bge lbl_8003A324 +/* 8003A31C 0003727C 38 A1 00 08 */ addi r5, r1, 8 +/* 8003A320 00037280 48 00 00 08 */ b lbl_8003A328 +lbl_8003A324: +/* 8003A324 00037284 38 A1 00 0C */ addi r5, r1, 0xc +lbl_8003A328: +/* 8003A328 00037288 C0 05 00 00 */ lfs f0, 0(r5) +/* 8003A32C 0003728C C0 A4 02 9C */ lfs f5, 0x29c(r4) +/* 8003A330 00037290 C0 24 02 A4 */ lfs f1, 0x2a4(r4) +/* 8003A334 00037294 FC 05 18 40 */ fcmpo cr0, f5, f3 +/* 8003A338 00037298 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8003A33C 0003729C EC C1 00 2A */ fadds f6, f1, f0 +/* 8003A340 000372A0 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8003A344 000372A4 40 80 00 0C */ bge lbl_8003A350 +/* 8003A348 000372A8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8003A34C 000372AC 48 00 00 08 */ b lbl_8003A354 +lbl_8003A350: +/* 8003A350 000372B0 38 A1 00 14 */ addi r5, r1, 0x14 +lbl_8003A354: +/* 8003A354 000372B4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8003A358 000372B8 C0 E4 02 98 */ lfs f7, 0x298(r4) +/* 8003A35C 000372BC C0 24 02 A4 */ lfs f1, 0x2a4(r4) +/* 8003A360 000372C0 FC 07 10 40 */ fcmpo cr0, f7, f2 +/* 8003A364 000372C4 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8003A368 000372C8 EC A1 00 2A */ fadds f5, f1, f0 +/* 8003A36C 000372CC D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 8003A370 000372D0 40 80 00 0C */ bge lbl_8003A37C +/* 8003A374 000372D4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8003A378 000372D8 48 00 00 08 */ b lbl_8003A380 +lbl_8003A37C: +/* 8003A37C 000372DC 38 A1 00 1C */ addi r5, r1, 0x1c +lbl_8003A380: +/* 8003A380 000372E0 C0 05 00 00 */ lfs f0, 0(r5) +/* 8003A384 000372E4 C0 E4 02 A0 */ lfs f7, 0x2a0(r4) +/* 8003A388 000372E8 C0 24 02 A4 */ lfs f1, 0x2a4(r4) +/* 8003A38C 000372EC FC 04 38 40 */ fcmpo cr0, f4, f7 +/* 8003A390 000372F0 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8003A394 000372F4 EC 81 00 2A */ fadds f4, f1, f0 +/* 8003A398 000372F8 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 8003A39C 000372FC 40 80 00 0C */ bge lbl_8003A3A8 +/* 8003A3A0 00037300 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8003A3A4 00037304 48 00 00 08 */ b lbl_8003A3AC +lbl_8003A3A8: +/* 8003A3A8 00037308 38 A1 00 24 */ addi r5, r1, 0x24 +lbl_8003A3AC: +/* 8003A3AC 0003730C C0 25 00 00 */ lfs f1, 0(r5) +/* 8003A3B0 00037310 C0 E4 02 9C */ lfs f7, 0x29c(r4) +/* 8003A3B4 00037314 C0 04 02 A4 */ lfs f0, 0x2a4(r4) +/* 8003A3B8 00037318 FC 03 38 40 */ fcmpo cr0, f3, f7 +/* 8003A3BC 0003731C D0 61 00 28 */ stfs f3, 0x28(r1) +/* 8003A3C0 00037320 EC 61 00 28 */ fsubs f3, f1, f0 +/* 8003A3C4 00037324 D0 E1 00 2C */ stfs f7, 0x2c(r1) +/* 8003A3C8 00037328 40 80 00 0C */ bge lbl_8003A3D4 +/* 8003A3CC 0003732C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8003A3D0 00037330 48 00 00 08 */ b lbl_8003A3D8 +lbl_8003A3D4: +/* 8003A3D4 00037334 38 A1 00 2C */ addi r5, r1, 0x2c +lbl_8003A3D8: +/* 8003A3D8 00037338 C0 25 00 00 */ lfs f1, 0(r5) +/* 8003A3DC 0003733C C0 E4 02 98 */ lfs f7, 0x298(r4) +/* 8003A3E0 00037340 C0 04 02 A4 */ lfs f0, 0x2a4(r4) +/* 8003A3E4 00037344 FC 02 38 40 */ fcmpo cr0, f2, f7 +/* 8003A3E8 00037348 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8003A3EC 0003734C EC 41 00 28 */ fsubs f2, f1, f0 +/* 8003A3F0 00037350 D0 E1 00 34 */ stfs f7, 0x34(r1) +/* 8003A3F4 00037354 40 80 00 0C */ bge lbl_8003A400 +/* 8003A3F8 00037358 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8003A3FC 0003735C 48 00 00 08 */ b lbl_8003A404 +lbl_8003A400: +/* 8003A400 00037360 38 A1 00 34 */ addi r5, r1, 0x34 +lbl_8003A404: +/* 8003A404 00037364 C0 25 00 00 */ lfs f1, 0(r5) +/* 8003A408 00037368 C0 04 02 A4 */ lfs f0, 0x2a4(r4) +/* 8003A40C 0003736C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8003A410 00037370 D0 03 00 00 */ stfs f0, 0(r3) +/* 8003A414 00037374 D0 43 00 04 */ stfs f2, 4(r3) +/* 8003A418 00037378 D0 63 00 08 */ stfs f3, 8(r3) +/* 8003A41C 0003737C D0 83 00 0C */ stfs f4, 0xc(r3) +/* 8003A420 00037380 D0 A3 00 10 */ stfs f5, 0x10(r3) +/* 8003A424 00037384 D0 C3 00 14 */ stfs f6, 0x14(r3) +/* 8003A428 00037388 38 21 00 40 */ addi r1, r1, 0x40 +/* 8003A42C 0003738C 4E 80 00 20 */ blr + +.global Render__15CGameProjectileCFRC13CStateManager +Render__15CGameProjectileCFRC13CStateManager: +/* 8003A430 00037390 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003A434 00037394 7C 08 02 A6 */ mflr r0 +/* 8003A438 00037398 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003A43C 0003739C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003A440 000373A0 7C 9F 23 78 */ mr r31, r4 +/* 8003A444 000373A4 93 C1 00 08 */ stw r30, 8(r1) +/* 8003A448 000373A8 7C 7E 1B 78 */ mr r30, r3 +/* 8003A44C 000373AC 38 7E 01 70 */ addi r3, r30, 0x170 +/* 8003A450 000373B0 81 9E 01 70 */ lwz r12, 0x170(r30) +/* 8003A454 000373B4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8003A458 000373B8 7D 89 03 A6 */ mtctr r12 +/* 8003A45C 000373BC 4E 80 04 21 */ bctrl +/* 8003A460 000373C0 7F C3 F3 78 */ mr r3, r30 +/* 8003A464 000373C4 7F E4 FB 78 */ mr r4, r31 +/* 8003A468 000373C8 48 0C 7A A1 */ bl Render__7CWeaponCFRC13CStateManager +/* 8003A46C 000373CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003A470 000373D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003A474 000373D4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003A478 000373D8 7C 08 03 A6 */ mtlr r0 +/* 8003A47C 000373DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003A480 000373E0 4E 80 00 20 */ blr + +.global "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +"__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb": +/* 8003A484 000373E4 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8003A488 000373E8 7C 08 02 A6 */ mflr r0 +/* 8003A48C 000373EC 90 01 01 34 */ stw r0, 0x134(r1) +/* 8003A490 000373F0 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8003A494 000373F4 BD C1 00 E8 */ stmw r14, 0xe8(r1) +/* 8003A498 000373F8 7C 6F 1B 78 */ mr r15, r3 +/* 8003A49C 000373FC 80 01 01 50 */ lwz r0, 0x150(r1) +/* 8003A4A0 00037400 7C 90 23 78 */ mr r16, r4 +/* 8003A4A4 00037404 82 C1 01 38 */ lwz r22, 0x138(r1) +/* 8003A4A8 00037408 7C B1 2B 78 */ mr r17, r5 +/* 8003A4AC 0003740C 82 E1 01 3C */ lwz r23, 0x13c(r1) +/* 8003A4B0 00037410 7C D2 33 78 */ mr r18, r6 +/* 8003A4B4 00037414 83 01 01 40 */ lwz r24, 0x140(r1) +/* 8003A4B8 00037418 7C F3 3B 78 */ mr r19, r7 +/* 8003A4BC 0003741C 83 21 01 48 */ lwz r25, 0x148(r1) +/* 8003A4C0 00037420 7D 14 43 78 */ mr r20, r8 +/* 8003A4C4 00037424 8B 41 01 4F */ lbz r26, 0x14f(r1) +/* 8003A4C8 00037428 7D 3C 4B 78 */ mr r28, r9 +/* 8003A4CC 0003742C 83 61 01 54 */ lwz r27, 0x154(r1) +/* 8003A4D0 00037430 7D 55 53 78 */ mr r21, r10 +/* 8003A4D4 00037434 A0 01 01 5A */ lhz r0, 0x15a(r1) +/* 8003A4D8 00037438 38 61 00 90 */ addi r3, r1, 0x90 +/* 8003A4DC 0003743C 89 C1 01 5F */ lbz r14, 0x15f(r1) +/* 8003A4E0 00037440 48 00 02 C5 */ bl CModelDataNull__10CModelDataFv +/* 8003A4E4 00037444 38 00 00 00 */ li r0, 0 +/* 8003A4E8 00037448 80 AD 82 08 */ lwz r5, lbl_805A6DC8@sda21(r13) +/* 8003A4EC 0003744C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8003A4F0 00037450 38 60 00 00 */ li r3, 0 +/* 8003A4F4 00037454 38 80 00 01 */ li r4, 1 +/* 8003A4F8 00037458 90 01 00 30 */ stw r0, 0x30(r1) +/* 8003A4FC 0003745C 48 34 F9 F9 */ bl __shl2i +/* 8003A500 00037460 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8003A504 00037464 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 8003A508 00037468 7C 00 1B 78 */ or r0, r0, r3 +/* 8003A50C 0003746C 80 AD 82 00 */ lwz r5, lbl_805A6DC0@sda21(r13) +/* 8003A510 00037470 7C C4 23 78 */ or r4, r6, r4 +/* 8003A514 00037474 90 01 00 30 */ stw r0, 0x30(r1) +/* 8003A518 00037478 38 60 00 00 */ li r3, 0 +/* 8003A51C 0003747C 90 81 00 34 */ stw r4, 0x34(r1) +/* 8003A520 00037480 38 80 00 01 */ li r4, 1 +/* 8003A524 00037484 48 34 F9 D1 */ bl __shl2i +/* 8003A528 00037488 80 AD 82 04 */ lwz r5, lbl_805A6DC4@sda21(r13) +/* 8003A52C 0003748C 7C 9E 23 78 */ mr r30, r4 +/* 8003A530 00037490 7C 7F 1B 78 */ mr r31, r3 +/* 8003A534 00037494 38 60 00 00 */ li r3, 0 +/* 8003A538 00037498 38 80 00 01 */ li r4, 1 +/* 8003A53C 0003749C 48 34 F9 B9 */ bl __shl2i +/* 8003A540 000374A0 7F DE 23 78 */ or r30, r30, r4 +/* 8003A544 000374A4 7F FF 1B 78 */ or r31, r31, r3 +/* 8003A548 000374A8 7F 85 E3 78 */ mr r5, r28 +/* 8003A54C 000374AC 38 60 00 00 */ li r3, 0 +/* 8003A550 000374B0 38 80 00 01 */ li r4, 1 +/* 8003A554 000374B4 48 34 F9 A1 */ bl __shl2i +/* 8003A558 000374B8 80 AD 81 F8 */ lwz r5, lbl_805A6DB8@sda21(r13) +/* 8003A55C 000374BC 7F DE 23 78 */ or r30, r30, r4 +/* 8003A560 000374C0 7F FF 1B 78 */ or r31, r31, r3 +/* 8003A564 000374C4 38 60 00 00 */ li r3, 0 +/* 8003A568 000374C8 38 80 00 01 */ li r4, 1 +/* 8003A56C 000374CC 48 34 F9 89 */ bl __shl2i +/* 8003A570 000374D0 80 AD 81 FC */ lwz r5, lbl_805A6DBC@sda21(r13) +/* 8003A574 000374D4 7C 9C 23 78 */ mr r28, r4 +/* 8003A578 000374D8 7C 7D 1B 78 */ mr r29, r3 +/* 8003A57C 000374DC 38 60 00 00 */ li r3, 0 +/* 8003A580 000374E0 38 80 00 01 */ li r4, 1 +/* 8003A584 000374E4 48 34 F9 71 */ bl __shl2i +/* 8003A588 000374E8 7F BD 1B 78 */ or r29, r29, r3 +/* 8003A58C 000374EC 7F 9C 23 78 */ or r28, r28, r4 +/* 8003A590 000374F0 38 00 00 03 */ li r0, 3 +/* 8003A594 000374F4 93 81 00 4C */ stw r28, 0x4c(r1) +/* 8003A598 000374F8 7E 63 9B 78 */ mr r3, r19 +/* 8003A59C 000374FC 93 A1 00 48 */ stw r29, 0x48(r1) +/* 8003A5A0 00037500 93 C1 00 54 */ stw r30, 0x54(r1) +/* 8003A5A4 00037504 93 E1 00 50 */ stw r31, 0x50(r1) +/* 8003A5A8 00037508 90 01 00 58 */ stw r0, 0x58(r1) +/* 8003A5AC 0003750C A0 18 00 00 */ lhz r0, 0(r24) +/* 8003A5B0 00037510 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8003A5B4 00037514 80 17 00 00 */ lwz r0, 0(r23) +/* 8003A5B8 00037518 90 01 00 28 */ stw r0, 0x28(r1) +/* 8003A5BC 0003751C A0 16 00 00 */ lhz r0, 0(r22) +/* 8003A5C0 00037520 B0 01 00 24 */ sth r0, 0x24(r1) +/* 8003A5C4 00037524 4B FF D2 95 */ bl GetBeamAttribType__15CGameProjectileF11EWeaponType +/* 8003A5C8 00037528 38 01 00 48 */ addi r0, r1, 0x48 +/* 8003A5CC 0003752C 7F 27 1B 78 */ or r7, r25, r3 +/* 8003A5D0 00037530 90 01 00 08 */ stw r0, 8(r1) +/* 8003A5D4 00037534 38 81 00 30 */ addi r4, r1, 0x30 +/* 8003A5D8 00037538 38 01 00 90 */ addi r0, r1, 0x90 +/* 8003A5DC 0003753C 7D E3 7B 78 */ mr r3, r15 +/* 8003A5E0 00037540 90 81 00 0C */ stw r4, 0xc(r1) +/* 8003A5E4 00037544 7E 06 83 78 */ mr r6, r16 +/* 8003A5E8 00037548 7E 68 9B 78 */ mr r8, r19 +/* 8003A5EC 0003754C 7E 49 93 78 */ mr r9, r18 +/* 8003A5F0 00037550 92 A1 00 10 */ stw r21, 0x10(r1) +/* 8003A5F4 00037554 7E 8A A3 78 */ mr r10, r20 +/* 8003A5F8 00037558 38 81 00 24 */ addi r4, r1, 0x24 +/* 8003A5FC 0003755C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8003A600 00037560 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8003A604 00037564 38 E1 00 20 */ addi r7, r1, 0x20 +/* 8003A608 00037568 90 01 00 18 */ stw r0, 0x18(r1) +/* 8003A60C 0003756C 48 0C 7C 89 */ bl "__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData" +/* 8003A610 00037570 38 61 00 90 */ addi r3, r1, 0x90 +/* 8003A614 00037574 38 80 FF FF */ li r4, -1 +/* 8003A618 00037578 48 0D C4 35 */ bl __dt__10CModelDataFv +/* 8003A61C 0003757C 3C 60 80 3E */ lis r3, lbl_803D9CE0@ha +/* 8003A620 00037580 38 03 9C E0 */ addi r0, r3, lbl_803D9CE0@l +/* 8003A624 00037584 90 0F 00 00 */ stw r0, 0(r15) +/* 8003A628 00037588 88 1B 00 0C */ lbz r0, 0xc(r27) +/* 8003A62C 0003758C 98 0F 01 64 */ stb r0, 0x164(r15) +/* 8003A630 00037590 88 1B 00 0C */ lbz r0, 0xc(r27) +/* 8003A634 00037594 28 00 00 00 */ cmplwi r0, 0 +/* 8003A638 00037598 41 82 00 28 */ beq lbl_8003A660 +/* 8003A63C 0003759C 36 0F 01 58 */ addic. r16, r15, 0x158 +/* 8003A640 000375A0 41 82 00 20 */ beq lbl_8003A660 +/* 8003A644 000375A4 7E 03 83 78 */ mr r3, r16 +/* 8003A648 000375A8 7F 64 DB 78 */ mr r4, r27 +/* 8003A64C 000375AC 48 30 68 5D */ bl __ct__6CTokenFRC6CToken +/* 8003A650 000375B0 80 1B 00 08 */ lwz r0, 8(r27) +/* 8003A654 000375B4 7E 03 83 78 */ mr r3, r16 +/* 8003A658 000375B8 90 10 00 08 */ stw r0, 8(r16) +/* 8003A65C 000375BC 48 30 67 29 */ bl Lock__6CTokenFv +lbl_8003A660: +/* 8003A660 000375C0 A0 01 01 5A */ lhz r0, 0x15a(r1) +/* 8003A664 000375C4 7E 84 A3 78 */ mr r4, r20 +/* 8003A668 000375C8 57 30 87 FE */ rlwinm r16, r25, 0x10, 0x1f, 0x1f +/* 8003A66C 000375CC 38 61 00 60 */ addi r3, r1, 0x60 +/* 8003A670 000375D0 B0 0F 01 68 */ sth r0, 0x168(r15) +/* 8003A674 000375D4 C0 54 00 2C */ lfs f2, 0x2c(r20) +/* 8003A678 000375D8 C0 34 00 1C */ lfs f1, 0x1c(r20) +/* 8003A67C 000375DC C0 14 00 0C */ lfs f0, 0xc(r20) +/* 8003A680 000375E0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8003A684 000375E4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8003A688 000375E8 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8003A68C 000375EC 48 00 01 39 */ bl clear_transform__FRC12CTransform4f +/* 8003A690 000375F0 80 E1 01 50 */ lwz r7, 0x150(r1) +/* 8003A694 000375F4 7E 24 8B 78 */ mr r4, r17 +/* 8003A698 000375F8 7E 08 83 78 */ mr r8, r16 +/* 8003A69C 000375FC 38 6F 01 70 */ addi r3, r15, 0x170 +/* 8003A6A0 00037600 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8003A6A4 00037604 38 C1 00 60 */ addi r6, r1, 0x60 +/* 8003A6A8 00037608 48 27 63 45 */ bl "__ct__17CProjectileWeaponFRC28TToken<18CWeaponDescription>RC9CVector3fRC12CTransform4fRC9CVector3f" +/* 8003A6AC 0003760C C0 54 00 2C */ lfs f2, 0x2c(r20) +/* 8003A6B0 00037610 C0 34 00 1C */ lfs f1, 0x1c(r20) +/* 8003A6B4 00037614 C0 14 00 0C */ lfs f0, 0xc(r20) +/* 8003A6B8 00037618 D0 0F 02 98 */ stfs f0, 0x298(r15) +/* 8003A6BC 0003761C D0 2F 02 9C */ stfs f1, 0x29c(r15) +/* 8003A6C0 00037620 D0 4F 02 A0 */ stfs f2, 0x2a0(r15) +/* 8003A6C4 00037624 80 0F 00 E8 */ lwz r0, 0xe8(r15) +/* 8003A6C8 00037628 54 00 05 6A */ rlwinm r0, r0, 0, 0x15, 0x15 +/* 8003A6CC 0003762C 2C 00 04 00 */ cmpwi r0, 0x400 +/* 8003A6D0 00037630 40 82 00 0C */ bne lbl_8003A6DC +/* 8003A6D4 00037634 C0 02 84 30 */ lfs f0, lbl_805AA150@sda21(r2) +/* 8003A6D8 00037638 48 00 00 08 */ b lbl_8003A6E0 +lbl_8003A6DC: +/* 8003A6DC 0003763C C0 02 84 34 */ lfs f0, lbl_805AA154@sda21(r2) +lbl_8003A6E0: +/* 8003A6E0 00037640 D0 0F 02 A4 */ stfs f0, 0x2a4(r15) +/* 8003A6E4 00037644 38 00 00 00 */ li r0, 0 +/* 8003A6E8 00037648 C0 02 84 38 */ lfs f0, lbl_805AA158@sda21(r2) +/* 8003A6EC 0003764C 38 A0 00 01 */ li r5, 1 +/* 8003A6F0 00037650 C8 22 84 40 */ lfd f1, lbl_805AA160@sda21(r2) +/* 8003A6F4 00037654 7D E3 7B 78 */ mr r3, r15 +/* 8003A6F8 00037658 D0 0F 02 A8 */ stfs f0, 0x2a8(r15) +/* 8003A6FC 0003765C 80 81 01 44 */ lwz r4, 0x144(r1) +/* 8003A700 00037660 D8 2F 02 B0 */ stfd f1, 0x2b0(r15) +/* 8003A704 00037664 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) +/* 8003A708 00037668 C0 2F 02 A8 */ lfs f1, 0x2a8(r15) +/* 8003A70C 0003766C D8 2F 02 B8 */ stfd f1, 0x2b8(r15) +/* 8003A710 00037670 A0 84 00 00 */ lhz r4, 0(r4) +/* 8003A714 00037674 B0 8F 02 C0 */ sth r4, 0x2c0(r15) +/* 8003A718 00037678 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8003A71C 0003767C B0 8F 02 C2 */ sth r4, 0x2c2(r15) +/* 8003A720 00037680 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8003A724 00037684 B0 8F 02 C4 */ sth r4, 0x2c4(r15) +/* 8003A728 00037688 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8003A72C 0003768C B0 8F 02 C6 */ sth r4, 0x2c6(r15) +/* 8003A730 00037690 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8003A734 00037694 B0 8F 02 C8 */ sth r4, 0x2c8(r15) +/* 8003A738 00037698 80 91 00 00 */ lwz r4, 0(r17) +/* 8003A73C 0003769C 80 84 00 08 */ lwz r4, 8(r4) +/* 8003A740 000376A0 90 8F 02 CC */ stw r4, 0x2cc(r15) +/* 8003A744 000376A4 90 0F 02 D4 */ stw r0, 0x2d4(r15) +/* 8003A748 000376A8 90 0F 02 D8 */ stw r0, 0x2d8(r15) +/* 8003A74C 000376AC 90 0F 02 DC */ stw r0, 0x2dc(r15) +/* 8003A750 000376B0 D0 0F 02 E0 */ stfs f0, 0x2e0(r15) +/* 8003A754 000376B4 88 0F 02 E4 */ lbz r0, 0x2e4(r15) +/* 8003A758 000376B8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8003A75C 000376BC 98 0F 02 E4 */ stb r0, 0x2e4(r15) +/* 8003A760 000376C0 88 0F 02 E4 */ lbz r0, 0x2e4(r15) +/* 8003A764 000376C4 53 40 36 72 */ rlwimi r0, r26, 6, 0x19, 0x19 +/* 8003A768 000376C8 98 0F 02 E4 */ stb r0, 0x2e4(r15) +/* 8003A76C 000376CC 88 0F 02 E4 */ lbz r0, 0x2e4(r15) +/* 8003A770 000376D0 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a +/* 8003A774 000376D4 98 0F 02 E4 */ stb r0, 0x2e4(r15) +/* 8003A778 000376D8 88 0F 02 E4 */ lbz r0, 0x2e4(r15) +/* 8003A77C 000376DC 53 40 26 F6 */ rlwimi r0, r26, 4, 0x1b, 0x1b +/* 8003A780 000376E0 98 0F 02 E4 */ stb r0, 0x2e4(r15) +/* 8003A784 000376E4 88 0F 02 E4 */ lbz r0, 0x2e4(r15) +/* 8003A788 000376E8 51 C0 1F 38 */ rlwimi r0, r14, 3, 0x1c, 0x1c +/* 8003A78C 000376EC 98 0F 02 E4 */ stb r0, 0x2e4(r15) +/* 8003A790 000376F0 B9 C1 00 E8 */ lmw r14, 0xe8(r1) +/* 8003A794 000376F4 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8003A798 000376F8 7C 08 03 A6 */ mtlr r0 +/* 8003A79C 000376FC 38 21 01 30 */ addi r1, r1, 0x130 +/* 8003A7A0 00037700 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CInputGenerator.s b/asm/Kyoto_CWD/CInputGenerator.s index baad9c27..517ad74c 100644 --- a/asm/Kyoto_CWD/CInputGenerator.s +++ b/asm/Kyoto_CWD/CInputGenerator.s @@ -1,5 +1,10 @@ .include "macros.inc" +.section .rodata +.global lbl_803CCAA0 +lbl_803CCAA0: + .incbin "baserom.dol", 0x3C9AA0, 0x8 + .section .text, "ax" .global Update__15CInputGeneratorFfR18CArchitectureQueue diff --git a/asm/Kyoto_CWD/CInstruction.s b/asm/Kyoto_CWD/CInstruction.s new file mode 100644 index 00000000..cdf40c0b --- /dev/null +++ b/asm/Kyoto_CWD/CInstruction.s @@ -0,0 +1,49 @@ +.include "macros.inc" + +.section .text, "ax" + +.global sub_8002940c +sub_8002940c: +/* 8002940C 0002636C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80029410 00026370 7C 08 02 A6 */ mflr r0 +/* 80029414 00026374 90 01 00 14 */ stw r0, 0x14(r1) +/* 80029418 00026378 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002941C 0002637C 7C 7F 1B 78 */ mr r31, r3 +/* 80029420 00026380 80 83 00 00 */ lwz r4, 0(r3) +/* 80029424 00026384 80 64 00 04 */ lwz r3, 4(r4) +/* 80029428 00026388 34 03 FF FF */ addic. r0, r3, -1 +/* 8002942C 0002638C 90 04 00 04 */ stw r0, 4(r4) +/* 80029430 00026390 41 81 00 38 */ bgt lbl_80029468 +/* 80029434 00026394 80 7F 00 00 */ lwz r3, 0(r31) +/* 80029438 00026398 80 63 00 00 */ lwz r3, 0(r3) +/* 8002943C 0002639C 28 03 00 00 */ cmplwi r3, 0 +/* 80029440 000263A0 41 82 00 18 */ beq lbl_80029458 +/* 80029444 000263A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80029448 000263A8 38 80 00 01 */ li r4, 1 +/* 8002944C 000263AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80029450 000263B0 7D 89 03 A6 */ mtctr r12 +/* 80029454 000263B4 4E 80 04 21 */ bctrl +lbl_80029458: +/* 80029458 000263B8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8002945C 000263BC 28 03 00 00 */ cmplwi r3, 0 +/* 80029460 000263C0 41 82 00 08 */ beq lbl_80029468 +/* 80029464 000263C4 48 2E C4 CD */ bl Free__7CMemoryFPCv +lbl_80029468: +/* 80029468 000263C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002946C 000263CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80029470 000263D0 7C 08 03 A6 */ mtlr r0 +/* 80029474 000263D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80029478 000263D8 4E 80 00 20 */ blr + +.global PageInvoke__12CInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__12CInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 8002947C 000263DC 4E 80 00 20 */ blr + +.global "GetAssets__12CInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +"GetAssets__12CInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": +/* 80029480 000263E0 4E 80 00 20 */ blr + +.global GetAssetCount__12CInstructionCFv +GetAssetCount__12CInstructionCFv: +/* 80029484 000263E4 38 60 00 00 */ li r3, 0 +/* 80029488 000263E8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CMFGame.s b/asm/Kyoto_CWD/CMFGame.s new file mode 100644 index 00000000..3151c000 --- /dev/null +++ b/asm/Kyoto_CWD/CMFGame.s @@ -0,0 +1,993 @@ +.include "macros.inc" + +.section .text, "ax" +.global IsCameraActiveFlow__7CMFGameFv +IsCameraActiveFlow__7CMFGameFv: +/* 8002438C 000212EC 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 80024390 000212F0 38 00 00 00 */ li r0, 0 +/* 80024394 000212F4 2C 03 00 00 */ cmpwi r3, 0 +/* 80024398 000212F8 41 82 00 0C */ beq lbl_800243A4 +/* 8002439C 000212FC 2C 03 00 02 */ cmpwi r3, 2 +/* 800243A0 00021300 40 82 00 08 */ bne lbl_800243A8 +lbl_800243A4: +/* 800243A4 00021304 38 00 00 01 */ li r0, 1 +lbl_800243A8: +/* 800243A8 00021308 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 800243AC 0002130C 4E 80 00 20 */ blr + +.global PlayerDied__7CMFGameFv +PlayerDied__7CMFGameFv: +/* 800243B0 00021310 38 00 00 02 */ li r0, 2 +/* 800243B4 00021314 38 80 00 00 */ li r4, 0 +/* 800243B8 00021318 90 03 00 1C */ stw r0, 0x1c(r3) +/* 800243BC 0002131C 88 03 00 2A */ lbz r0, 0x2a(r3) +/* 800243C0 00021320 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800243C4 00021324 98 03 00 2A */ stb r0, 0x2a(r3) +/* 800243C8 00021328 4E 80 00 20 */ blr + +.global UnpauseGame__7CMFGameFv +UnpauseGame__7CMFGameFv: +/* 800243CC 0002132C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800243D0 00021330 7C 08 02 A6 */ mflr r0 +/* 800243D4 00021334 90 01 00 14 */ stw r0, 0x14(r1) +/* 800243D8 00021338 38 00 00 00 */ li r0, 0 +/* 800243DC 0002133C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800243E0 00021340 7C 7F 1B 78 */ mr r31, r3 +/* 800243E4 00021344 90 03 00 1C */ stw r0, 0x1c(r3) +/* 800243E8 00021348 38 60 00 01 */ li r3, 1 +/* 800243EC 0002134C 48 2C 54 C9 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 800243F0 00021350 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 800243F4 00021354 38 80 00 00 */ li r4, 0 +/* 800243F8 00021358 80 63 00 00 */ lwz r3, 0(r3) +/* 800243FC 0002135C 48 02 04 65 */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition +/* 80024400 00021360 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80024404 00021364 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80024408 00021368 7C 08 03 A6 */ mtlr r0 +/* 8002440C 0002136C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80024410 00021370 4E 80 00 20 */ blr + +.global EnterMessageScreen__7CMFGameFf +EnterMessageScreen__7CMFGameFf: +/* 80024414 00021374 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80024418 00021378 7C 08 02 A6 */ mflr r0 +/* 8002441C 0002137C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80024420 00021380 38 00 00 01 */ li r0, 1 +/* 80024424 00021384 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80024428 00021388 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8002442C 0002138C 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80024430 00021390 80 84 00 00 */ lwz r4, 0(r4) +/* 80024434 00021394 80 63 00 00 */ lwz r3, 0(r3) +/* 80024438 00021398 80 A4 0F 08 */ lwz r5, 0xf08(r4) +/* 8002443C 0002139C 48 0E 33 C1 */ bl ShowPauseGameHudMessage__17CInGameGuiManagerFRC13CStateManagerUi +/* 80024440 000213A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80024444 000213A4 7C 08 03 A6 */ mtlr r0 +/* 80024448 000213A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002444C 000213AC 4E 80 00 20 */ blr + +.global SaveGame__7CMFGameFv +SaveGame__7CMFGameFv: +/* 80024450 000213B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80024454 000213B4 7C 08 02 A6 */ mflr r0 +/* 80024458 000213B8 38 A0 00 05 */ li r5, 5 +/* 8002445C 000213BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80024460 000213C0 38 00 00 01 */ li r0, 1 +/* 80024464 000213C4 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80024468 000213C8 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8002446C 000213CC 80 C3 00 18 */ lwz r6, 0x18(r3) +/* 80024470 000213D0 80 84 00 00 */ lwz r4, 0(r4) +/* 80024474 000213D4 80 66 00 00 */ lwz r3, 0(r6) +/* 80024478 000213D8 48 0E 33 B1 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState +/* 8002447C 000213DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80024480 000213E0 7C 08 03 A6 */ mtlr r0 +/* 80024484 000213E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80024488 000213E8 4E 80 00 20 */ blr + +.global EnterLogBook__7CMFGameFv +EnterLogBook__7CMFGameFv: +/* 8002448C 000213EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80024490 000213F0 7C 08 02 A6 */ mflr r0 +/* 80024494 000213F4 38 A0 00 04 */ li r5, 4 +/* 80024498 000213F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002449C 000213FC 38 00 00 01 */ li r0, 1 +/* 800244A0 00021400 90 03 00 1C */ stw r0, 0x1c(r3) +/* 800244A4 00021404 80 83 00 14 */ lwz r4, 0x14(r3) +/* 800244A8 00021408 80 C3 00 18 */ lwz r6, 0x18(r3) +/* 800244AC 0002140C 80 84 00 00 */ lwz r4, 0(r4) +/* 800244B0 00021410 80 66 00 00 */ lwz r3, 0(r6) +/* 800244B4 00021414 48 0E 33 75 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState +/* 800244B8 00021418 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800244BC 0002141C 7C 08 03 A6 */ mtlr r0 +/* 800244C0 00021420 38 21 00 10 */ addi r1, r1, 0x10 +/* 800244C4 00021424 4E 80 00 20 */ blr + +.global PauseGame__7CMFGameFv +PauseGame__7CMFGameFv: +/* 800244C8 00021428 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800244CC 0002142C 7C 08 02 A6 */ mflr r0 +/* 800244D0 00021430 38 A0 00 03 */ li r5, 3 +/* 800244D4 00021434 90 01 00 14 */ stw r0, 0x14(r1) +/* 800244D8 00021438 38 00 00 01 */ li r0, 1 +/* 800244DC 0002143C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 800244E0 00021440 80 83 00 14 */ lwz r4, 0x14(r3) +/* 800244E4 00021444 80 C3 00 18 */ lwz r6, 0x18(r3) +/* 800244E8 00021448 80 84 00 00 */ lwz r4, 0(r4) +/* 800244EC 0002144C 80 66 00 00 */ lwz r3, 0(r6) +/* 800244F0 00021450 48 0E 33 39 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState +/* 800244F4 00021454 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800244F8 00021458 7C 08 03 A6 */ mtlr r0 +/* 800244FC 0002145C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80024500 00021460 4E 80 00 20 */ blr + +.global EnterMapScreen__7CMFGameFv +EnterMapScreen__7CMFGameFv: +/* 80024504 00021464 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80024508 00021468 7C 08 02 A6 */ mflr r0 +/* 8002450C 0002146C 38 A0 00 02 */ li r5, 2 +/* 80024510 00021470 90 01 00 14 */ stw r0, 0x14(r1) +/* 80024514 00021474 38 00 00 01 */ li r0, 1 +/* 80024518 00021478 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8002451C 0002147C 7C 7F 1B 78 */ mr r31, r3 +/* 80024520 00021480 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80024524 00021484 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80024528 00021488 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 8002452C 0002148C 80 63 00 00 */ lwz r3, 0(r3) +/* 80024530 00021490 80 84 00 00 */ lwz r4, 0(r4) +/* 80024534 00021494 48 0E 32 F5 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState +/* 80024538 00021498 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8002453C 0002149C 38 80 00 01 */ li r4, 1 +/* 80024540 000214A0 80 63 00 00 */ lwz r3, 0(r3) +/* 80024544 000214A4 88 03 0F 94 */ lbz r0, 0xf94(r3) +/* 80024548 000214A8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8002454C 000214AC 98 03 0F 94 */ stb r0, 0xf94(r3) +/* 80024550 000214B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80024554 000214B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80024558 000214B8 7C 08 03 A6 */ mtlr r0 +/* 8002455C 000214BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80024560 000214C0 4E 80 00 20 */ blr + +.global Draw__7CMFGameCFv +Draw__7CMFGameCFv: +/* 80024564 000214C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80024568 000214C8 7C 08 02 A6 */ mflr r0 +/* 8002456C 000214CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80024570 000214D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80024574 000214D4 7C 7F 1B 78 */ mr r31, r3 +/* 80024578 000214D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002457C 000214DC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80024580 000214E0 88 03 00 2A */ lbz r0, 0x2a(r3) +/* 80024584 000214E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80024588 000214E8 41 82 00 F8 */ beq lbl_80024680 +/* 8002458C 000214EC 48 00 07 E9 */ bl Touch__7CMFGameFv +/* 80024590 000214F0 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 80024594 000214F4 80 63 00 00 */ lwz r3, 0(r3) +/* 80024598 000214F8 48 0E 32 55 */ bl GetIsGameDraw__17CInGameGuiManagerCFv +/* 8002459C 000214FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800245A0 00021500 41 82 00 40 */ beq lbl_800245E0 +/* 800245A4 00021504 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 800245A8 00021508 38 80 00 01 */ li r4, 1 +/* 800245AC 0002150C 88 03 01 61 */ lbz r0, 0x161(r3) +/* 800245B0 00021510 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800245B4 00021514 98 03 01 61 */ stb r0, 0x161(r3) +/* 800245B8 00021518 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 800245BC 0002151C 80 63 00 00 */ lwz r3, 0(r3) +/* 800245C0 00021520 48 02 2D 85 */ bl PreRender__13CStateManagerFv +/* 800245C4 00021524 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 800245C8 00021528 80 63 00 00 */ lwz r3, 0(r3) +/* 800245CC 0002152C 48 02 19 B1 */ bl DrawWorld__13CStateManagerCFv +/* 800245D0 00021530 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 800245D4 00021534 80 63 00 00 */ lwz r3, 0(r3) +/* 800245D8 00021538 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 800245DC 0002153C 4B FE D4 E9 */ bl IsPlayerDeadEnough__7CPlayerCFv +lbl_800245E0: +/* 800245E0 00021540 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 800245E4 00021544 7F E3 FB 78 */ mr r3, r31 +/* 800245E8 00021548 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 800245EC 0002154C 83 C5 00 00 */ lwz r30, 0(r5) +/* 800245F0 00021550 83 A4 00 00 */ lwz r29, 0(r4) +/* 800245F4 00021554 4B FF FD 99 */ bl IsCameraActiveFlow__7CMFGameFv +/* 800245F8 00021558 7C 65 1B 78 */ mr r5, r3 +/* 800245FC 0002155C 7F A3 EB 78 */ mr r3, r29 +/* 80024600 00021560 7F C4 F3 78 */ mr r4, r30 +/* 80024604 00021564 48 0E 40 ED */ bl PreDraw__17CInGameGuiManagerFR13CStateManagerb +/* 80024608 00021568 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8002460C 0002156C 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 80024610 00021570 80 63 00 00 */ lwz r3, 0(r3) +/* 80024614 00021574 80 84 00 00 */ lwz r4, 0(r4) +/* 80024618 00021578 48 0E 41 3D */ bl Draw__17CInGameGuiManagerCFRC13CStateManager +/* 8002461C 0002157C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80024620 00021580 2C 00 00 03 */ cmpwi r0, 3 +/* 80024624 00021584 40 82 00 5C */ bne lbl_80024680 +/* 80024628 00021588 C0 42 83 08 */ lfs f2, lbl_805AA028@sda21(r2) +/* 8002462C 0002158C C0 3F 00 20 */ lfs f1, 0x20(r31) +/* 80024630 00021590 C0 0D 81 88 */ lfs f0, lbl_805A6D48@sda21(r13) +/* 80024634 00021594 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80024638 00021598 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8002463C 0002159C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80024640 000215A0 40 80 00 0C */ bge lbl_8002464C +/* 80024644 000215A4 38 61 00 0C */ addi r3, r1, 0xc +/* 80024648 000215A8 48 00 00 08 */ b lbl_80024650 +lbl_8002464C: +/* 8002464C 000215AC 38 6D 81 88 */ addi r3, r13, lbl_805A6D48@sda21 +lbl_80024650: +/* 80024650 000215B0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80024654 000215B4 38 61 00 08 */ addi r3, r1, 8 +/* 80024658 000215B8 FC 40 08 90 */ fmr f2, f1 +/* 8002465C 000215BC FC 60 08 90 */ fmr f3, f1 +/* 80024660 000215C0 FC 80 08 90 */ fmr f4, f1 +/* 80024664 000215C4 48 33 ED 89 */ bl __ct__6CColorFffff +/* 80024668 000215C8 C0 22 83 08 */ lfs f1, lbl_805AA028@sda21(r2) +/* 8002466C 000215CC 7C 65 1B 78 */ mr r5, r3 +/* 80024670 000215D0 38 60 00 01 */ li r3, 1 +/* 80024674 000215D4 38 80 00 00 */ li r4, 0 +/* 80024678 000215D8 38 C0 00 00 */ li r6, 0 +/* 8002467C 000215DC 48 0C 7A CD */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_80024680: +/* 80024680 000215E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80024684 000215E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80024688 000215E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8002468C 000215EC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80024690 000215F0 7C 08 03 A6 */ mtlr r0 +/* 80024694 000215F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80024698 000215F8 4E 80 00 20 */ blr + +.global OnMessage__7CMFGameFRC20CArchitectureMessageR18CArchitectureQueue +OnMessage__7CMFGameFRC20CArchitectureMessageR18CArchitectureQueue: +/* 8002469C 000215FC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800246A0 00021600 7C 08 02 A6 */ mflr r0 +/* 800246A4 00021604 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800246A8 00021608 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 800246AC 0002160C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 800246B0 00021610 93 E1 00 AC */ stw r31, 0xac(r1) +/* 800246B4 00021614 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 800246B8 00021618 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 800246BC 0002161C 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 800246C0 00021620 7C 7D 1B 78 */ mr r29, r3 +/* 800246C4 00021624 80 64 00 04 */ lwz r3, 4(r4) +/* 800246C8 00021628 7C BE 2B 78 */ mr r30, r5 +/* 800246CC 0002162C 38 03 FF FC */ addi r0, r3, -4 +/* 800246D0 00021630 28 00 00 07 */ cmplwi r0, 7 +/* 800246D4 00021634 41 81 06 74 */ bgt lbl_80024D48 +/* 800246D8 00021638 3C 60 80 3E */ lis r3, lbl_803D99B4@ha +/* 800246DC 0002163C 54 00 10 3A */ slwi r0, r0, 2 +/* 800246E0 00021640 38 63 99 B4 */ addi r3, r3, lbl_803D99B4@l +/* 800246E4 00021644 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800246E8 00021648 7C 09 03 A6 */ mtctr r0 +/* 800246EC 0002164C 4E 80 04 20 */ bctr +/* 800246F0 00021650 7C 83 23 78 */ mr r3, r4 +/* 800246F4 00021654 48 02 D1 95 */ bl GetParm__20CArchitectureMessageCFv +/* 800246F8 00021658 80 BD 00 14 */ lwz r5, 0x14(r29) +/* 800246FC 0002165C 80 83 00 04 */ lwz r4, 4(r3) +/* 80024700 00021660 80 65 00 00 */ lwz r3, 0(r5) +/* 80024704 00021664 48 02 6E 59 */ bl FrameBegin__13CStateManagerFUi +/* 80024708 00021668 48 00 06 40 */ b lbl_80024D48 +/* 8002470C 0002166C 88 BD 00 2A */ lbz r5, 0x2a(r29) +/* 80024710 00021670 38 00 00 01 */ li r0, 1 +/* 80024714 00021674 7C 83 23 78 */ mr r3, r4 +/* 80024718 00021678 54 BF CF FE */ rlwinm r31, r5, 0x19, 0x1f, 0x1f +/* 8002471C 0002167C 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 +/* 80024720 00021680 98 BD 00 2A */ stb r5, 0x2a(r29) +/* 80024724 00021684 48 02 D4 99 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +/* 80024728 00021688 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 8002472C 0002168C C3 E3 00 04 */ lfs f31, 4(r3) +/* 80024730 00021690 2C 00 00 02 */ cmpwi r0, 2 +/* 80024734 00021694 41 82 02 70 */ beq lbl_800249A4 +/* 80024738 00021698 40 80 00 14 */ bge lbl_8002474C +/* 8002473C 0002169C 2C 00 00 00 */ cmpwi r0, 0 +/* 80024740 000216A0 41 82 00 C0 */ beq lbl_80024800 +/* 80024744 000216A4 40 80 01 B4 */ bge lbl_800248F8 +/* 80024748 000216A8 48 00 02 D8 */ b lbl_80024A20 +lbl_8002474C: +/* 8002474C 000216AC 2C 00 00 04 */ cmpwi r0, 4 +/* 80024750 000216B0 40 80 02 D0 */ bge lbl_80024A20 +/* 80024754 000216B4 C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 80024758 000216B8 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8002475C 000216BC D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 80024760 000216C0 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024764 000216C4 80 83 00 00 */ lwz r4, 0(r3) +/* 80024768 000216C8 80 64 08 70 */ lwz r3, 0x870(r4) +/* 8002476C 000216CC 4B FE 73 AD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80024770 000216D0 7C 60 1B 78 */ mr r0, r3 +/* 80024774 000216D4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80024778 000216D8 7C 04 03 78 */ mr r4, r0 +/* 8002477C 000216DC 48 08 AF B5 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" +/* 80024780 000216E0 C0 3D 00 20 */ lfs f1, 0x20(r29) +/* 80024784 000216E4 C0 02 83 08 */ lfs f0, lbl_805AA028@sda21(r2) +/* 80024788 000216E8 83 83 00 04 */ lwz r28, 4(r3) +/* 8002478C 000216EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80024790 000216F0 4C 41 13 82 */ cror 2, 1, 2 +/* 80024794 000216F4 40 82 00 18 */ bne lbl_800247AC +/* 80024798 000216F8 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 8002479C 000216FC 80 63 00 00 */ lwz r3, 0(r3) +/* 800247A0 00021700 48 02 02 15 */ bl SpecialSkipCinematic__13CStateManagerFv +/* 800247A4 00021704 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800247A8 00021708 40 82 00 28 */ bne lbl_800247D0 +lbl_800247AC: +/* 800247AC 0002170C 28 1C 00 00 */ cmplwi r28, 0 +/* 800247B0 00021710 41 82 00 20 */ beq lbl_800247D0 +/* 800247B4 00021714 80 1C 02 1C */ lwz r0, 0x21c(r28) +/* 800247B8 00021718 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b +/* 800247BC 0002171C 41 82 00 44 */ beq lbl_80024800 +/* 800247C0 00021720 A0 7D 00 28 */ lhz r3, 0x28(r29) +/* 800247C4 00021724 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800247C8 00021728 7C 03 00 40 */ cmplw r3, r0 +/* 800247CC 0002172C 41 82 00 34 */ beq lbl_80024800 +lbl_800247D0: +/* 800247D0 00021730 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 800247D4 00021734 38 80 00 00 */ li r4, 0 +/* 800247D8 00021738 88 03 01 60 */ lbz r0, 0x160(r3) +/* 800247DC 0002173C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800247E0 00021740 98 03 01 60 */ stb r0, 0x160(r3) +/* 800247E4 00021744 90 9D 00 1C */ stw r4, 0x1c(r29) +/* 800247E8 00021748 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 800247EC 0002174C 80 63 00 00 */ lwz r3, 0(r3) +/* 800247F0 00021750 48 0E 4A 25 */ bl StartFadeIn__17CInGameGuiManagerFv +/* 800247F4 00021754 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800247F8 00021758 B0 1D 00 28 */ sth r0, 0x28(r29) +/* 800247FC 0002175C 48 00 02 24 */ b lbl_80024A20 +lbl_80024800: +/* 80024800 00021760 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024804 00021764 80 63 00 00 */ lwz r3, 0(r3) +/* 80024808 00021768 38 03 08 FC */ addi r0, r3, 0x8fc +/* 8002480C 0002176C 90 03 09 00 */ stw r0, 0x900(r3) +/* 80024810 00021770 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024814 00021774 80 63 00 00 */ lwz r3, 0(r3) +/* 80024818 00021778 80 03 0F 90 */ lwz r0, 0xf90(r3) +/* 8002481C 0002177C 2C 00 00 03 */ cmpwi r0, 3 +/* 80024820 00021780 41 82 00 70 */ beq lbl_80024890 +/* 80024824 00021784 40 80 00 1C */ bge lbl_80024840 +/* 80024828 00021788 2C 00 00 01 */ cmpwi r0, 1 +/* 8002482C 0002178C 41 82 00 4C */ beq lbl_80024878 +/* 80024830 00021790 40 80 00 54 */ bge lbl_80024884 +/* 80024834 00021794 2C 00 00 00 */ cmpwi r0, 0 +/* 80024838 00021798 40 80 00 18 */ bge lbl_80024850 +/* 8002483C 0002179C 48 00 00 78 */ b lbl_800248B4 +lbl_80024840: +/* 80024840 000217A0 2C 00 00 05 */ cmpwi r0, 5 +/* 80024844 000217A4 41 82 00 64 */ beq lbl_800248A8 +/* 80024848 000217A8 40 80 00 6C */ bge lbl_800248B4 +/* 8002484C 000217AC 48 00 00 50 */ b lbl_8002489C +lbl_80024850: +/* 80024850 000217B0 FC 20 F8 90 */ fmr f1, f31 +/* 80024854 000217B4 48 02 5F 79 */ bl Update__13CStateManagerFf +/* 80024858 000217B8 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 8002485C 000217BC 80 63 00 00 */ lwz r3, 0(r3) +/* 80024860 000217C0 88 03 0F 94 */ lbz r0, 0xf94(r3) +/* 80024864 000217C4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80024868 000217C8 41 82 00 4C */ beq lbl_800248B4 +/* 8002486C 000217CC 38 60 00 00 */ li r3, 0 +/* 80024870 000217D0 48 2E 4C 39 */ bl SetIsBeginSceneClearFb__9CGraphicsFb +/* 80024874 000217D4 48 00 00 40 */ b lbl_800248B4 +lbl_80024878: +/* 80024878 000217D8 7F A3 EB 78 */ mr r3, r29 +/* 8002487C 000217DC 4B FF FC 89 */ bl EnterMapScreen__7CMFGameFv +/* 80024880 000217E0 48 00 00 34 */ b lbl_800248B4 +lbl_80024884: +/* 80024884 000217E4 7F A3 EB 78 */ mr r3, r29 +/* 80024888 000217E8 4B FF FC 41 */ bl PauseGame__7CMFGameFv +/* 8002488C 000217EC 48 00 00 28 */ b lbl_800248B4 +lbl_80024890: +/* 80024890 000217F0 7F A3 EB 78 */ mr r3, r29 +/* 80024894 000217F4 4B FF FB F9 */ bl EnterLogBook__7CMFGameFv +/* 80024898 000217F8 48 00 00 1C */ b lbl_800248B4 +lbl_8002489C: +/* 8002489C 000217FC 7F A3 EB 78 */ mr r3, r29 +/* 800248A0 00021800 4B FF FB B1 */ bl SaveGame__7CMFGameFv +/* 800248A4 00021804 48 00 00 10 */ b lbl_800248B4 +lbl_800248A8: +/* 800248A8 00021808 C0 23 0F 78 */ lfs f1, 0xf78(r3) +/* 800248AC 0002180C 7F A3 EB 78 */ mr r3, r29 +/* 800248B0 00021810 4B FF FB 65 */ bl EnterMessageScreen__7CMFGameFf +lbl_800248B4: +/* 800248B4 00021814 88 1D 00 2A */ lbz r0, 0x2a(r29) +/* 800248B8 00021818 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800248BC 0002181C 41 82 00 28 */ beq lbl_800248E4 +/* 800248C0 00021820 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 800248C4 00021824 80 63 00 00 */ lwz r3, 0(r3) +/* 800248C8 00021828 80 63 08 B8 */ lwz r3, 0x8b8(r3) +/* 800248CC 0002182C 80 63 00 00 */ lwz r3, 0(r3) +/* 800248D0 00021830 88 03 00 00 */ lbz r0, 0(r3) +/* 800248D4 00021834 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800248D8 00021838 40 82 00 0C */ bne lbl_800248E4 +/* 800248DC 0002183C 7F A3 EB 78 */ mr r3, r29 +/* 800248E0 00021840 4B FF FA D1 */ bl PlayerDied__7CMFGameFv +lbl_800248E4: +/* 800248E4 00021844 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 800248E8 00021848 38 00 00 00 */ li r0, 0 +/* 800248EC 0002184C 80 63 00 00 */ lwz r3, 0(r3) +/* 800248F0 00021850 90 03 09 00 */ stw r0, 0x900(r3) +/* 800248F4 00021854 48 00 01 2C */ b lbl_80024A20 +lbl_800248F8: +/* 800248F8 00021858 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 800248FC 0002185C 38 80 00 00 */ li r4, 0 +/* 80024900 00021860 7C 80 23 78 */ mr r0, r4 +/* 80024904 00021864 80 A3 00 00 */ lwz r5, 0(r3) +/* 80024908 00021868 80 65 01 BC */ lwz r3, 0x1bc(r5) +/* 8002490C 0002186C 2C 03 00 00 */ cmpwi r3, 0 +/* 80024910 00021870 41 80 00 10 */ blt lbl_80024920 +/* 80024914 00021874 2C 03 00 01 */ cmpwi r3, 1 +/* 80024918 00021878 41 81 00 08 */ bgt lbl_80024920 +/* 8002491C 0002187C 38 00 00 01 */ li r0, 1 +lbl_80024920: +/* 80024920 00021880 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80024924 00021884 41 82 00 2C */ beq lbl_80024950 +/* 80024928 00021888 80 65 01 C0 */ lwz r3, 0x1c0(r5) +/* 8002492C 0002188C 38 00 00 00 */ li r0, 0 +/* 80024930 00021890 2C 03 00 00 */ cmpwi r3, 0 +/* 80024934 00021894 41 80 00 10 */ blt lbl_80024944 +/* 80024938 00021898 2C 03 00 01 */ cmpwi r3, 1 +/* 8002493C 0002189C 41 81 00 08 */ bgt lbl_80024944 +/* 80024940 000218A0 38 00 00 01 */ li r0, 1 +lbl_80024944: +/* 80024944 000218A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80024948 000218A8 41 82 00 08 */ beq lbl_80024950 +/* 8002494C 000218AC 38 80 00 01 */ li r4, 1 +lbl_80024950: +/* 80024950 000218B0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80024954 000218B4 41 82 00 CC */ beq lbl_80024A20 +/* 80024958 000218B8 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8002495C 000218BC 7F A3 EB 78 */ mr r3, r29 +/* 80024960 000218C0 88 05 01 F8 */ lbz r0, 0x1f8(r5) +/* 80024964 000218C4 80 84 00 00 */ lwz r4, 0(r4) +/* 80024968 000218C8 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 8002496C 000218CC 88 04 0F 94 */ lbz r0, 0xf94(r4) +/* 80024970 000218D0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80024974 000218D4 98 04 0F 94 */ stb r0, 0xf94(r4) +/* 80024978 000218D8 4B FF FA 55 */ bl UnpauseGame__7CMFGameFv +/* 8002497C 000218DC 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024980 000218E0 80 83 00 00 */ lwz r4, 0(r3) +/* 80024984 000218E4 80 64 0F 08 */ lwz r3, 0xf08(r4) +/* 80024988 000218E8 3C 03 00 01 */ addis r0, r3, 1 +/* 8002498C 000218EC 28 00 FF FF */ cmplwi r0, 0xffff +/* 80024990 000218F0 41 82 00 90 */ beq lbl_80024A20 +/* 80024994 000218F4 80 64 0F 80 */ lwz r3, 0xf80(r4) +/* 80024998 000218F8 38 03 00 01 */ addi r0, r3, 1 +/* 8002499C 000218FC 90 04 0F 80 */ stw r0, 0xf80(r4) +/* 800249A0 00021900 48 00 00 80 */ b lbl_80024A20 +lbl_800249A4: +/* 800249A4 00021904 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 800249A8 00021908 80 63 00 00 */ lwz r3, 0(r3) +/* 800249AC 0002190C 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 800249B0 00021910 4B FE D1 15 */ bl IsPlayerDeadEnough__7CPlayerCFv +/* 800249B4 00021914 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800249B8 00021918 41 82 00 38 */ beq lbl_800249F0 +/* 800249BC 0002191C 80 AD A0 78 */ lwz r5, gpMain@sda21(r13) +/* 800249C0 00021920 38 00 00 04 */ li r0, 4 +/* 800249C4 00021924 38 61 00 24 */ addi r3, r1, 0x24 +/* 800249C8 00021928 38 80 00 01 */ li r4, 1 +/* 800249CC 0002192C 90 05 01 2C */ stw r0, 0x12c(r5) +/* 800249D0 00021930 48 02 CF 91 */ bl CreateQuitGameplay__7MakeMsgF14EArchMsgTarget +/* 800249D4 00021934 7F C3 F3 78 */ mr r3, r30 +/* 800249D8 00021938 38 81 00 24 */ addi r4, r1, 0x24 +/* 800249DC 0002193C 4B FE 23 25 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 800249E0 00021940 34 61 00 2C */ addic. r3, r1, 0x2c +/* 800249E4 00021944 41 82 00 3C */ beq lbl_80024A20 +/* 800249E8 00021948 4B FE 3D 25 */ bl sub_8000870c +/* 800249EC 0002194C 48 00 00 34 */ b lbl_80024A20 +lbl_800249F0: +/* 800249F0 00021950 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 800249F4 00021954 FC 20 F8 90 */ fmr f1, f31 +/* 800249F8 00021958 80 63 00 00 */ lwz r3, 0(r3) +/* 800249FC 0002195C 38 03 08 FC */ addi r0, r3, 0x8fc +/* 80024A00 00021960 90 03 09 00 */ stw r0, 0x900(r3) +/* 80024A04 00021964 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024A08 00021968 80 63 00 00 */ lwz r3, 0(r3) +/* 80024A0C 0002196C 48 02 5D C1 */ bl Update__13CStateManagerFf +/* 80024A10 00021970 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024A14 00021974 38 00 00 00 */ li r0, 0 +/* 80024A18 00021978 80 63 00 00 */ lwz r3, 0(r3) +/* 80024A1C 0002197C 90 03 09 00 */ stw r0, 0x900(r3) +lbl_80024A20: +/* 80024A20 00021980 80 BD 00 14 */ lwz r5, 0x14(r29) +/* 80024A24 00021984 7F A3 EB 78 */ mr r3, r29 +/* 80024A28 00021988 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 80024A2C 0002198C 83 A5 00 00 */ lwz r29, 0(r5) +/* 80024A30 00021990 83 84 00 00 */ lwz r28, 0(r4) +/* 80024A34 00021994 4B FF F9 59 */ bl IsCameraActiveFlow__7CMFGameFv +/* 80024A38 00021998 FC 20 F8 90 */ fmr f1, f31 +/* 80024A3C 0002199C 7C 66 1B 78 */ mr r6, r3 +/* 80024A40 000219A0 7F 83 E3 78 */ mr r3, r28 +/* 80024A44 000219A4 7F A4 EB 78 */ mr r4, r29 +/* 80024A48 000219A8 7F C5 F3 78 */ mr r5, r30 +/* 80024A4C 000219AC 48 0E 35 FD */ bl Update__17CInGameGuiManagerFRC13CStateManagerfR18CArchitectureQueueb +/* 80024A50 000219B0 28 1F 00 00 */ cmplwi r31, 0 +/* 80024A54 000219B4 40 82 00 18 */ bne lbl_80024A6C +/* 80024A58 000219B8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80024A5C 000219BC 48 1A EE BD */ bl WorldTransitionManager__10CGameStateFv +/* 80024A60 000219C0 80 63 00 00 */ lwz r3, 0(r3) +/* 80024A64 000219C4 80 63 00 00 */ lwz r3, 0(r3) +/* 80024A68 000219C8 48 1E 60 F1 */ bl EndTransition__18CWorldTransManagerFv +lbl_80024A6C: +/* 80024A6C 000219CC 38 60 00 01 */ li r3, 1 +/* 80024A70 000219D0 48 00 02 DC */ b lbl_80024D4C +/* 80024A74 000219D4 88 1D 00 2A */ lbz r0, 0x2a(r29) +/* 80024A78 000219D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80024A7C 000219DC 41 82 02 CC */ beq lbl_80024D48 +/* 80024A80 000219E0 7C 83 23 78 */ mr r3, r4 +/* 80024A84 000219E4 48 02 D0 61 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage +/* 80024A88 000219E8 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha +/* 80024A8C 000219EC 3C 80 80 3E */ lis r4, lbl_803D9810@ha +/* 80024A90 000219F0 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l +/* 80024A94 000219F4 90 01 00 60 */ stw r0, 0x60(r1) +/* 80024A98 000219F8 38 04 98 10 */ addi r0, r4, lbl_803D9810@l +/* 80024A9C 000219FC 90 01 00 60 */ stw r0, 0x60(r1) +/* 80024AA0 00021A00 C0 03 00 04 */ lfs f0, 4(r3) +/* 80024AA4 00021A04 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80024AA8 00021A08 80 03 00 08 */ lwz r0, 8(r3) +/* 80024AAC 00021A0C 90 01 00 68 */ stw r0, 0x68(r1) +/* 80024AB0 00021A10 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80024AB4 00021A14 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80024AB8 00021A18 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80024ABC 00021A1C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80024AC0 00021A20 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80024AC4 00021A24 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80024AC8 00021A28 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80024ACC 00021A2C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80024AD0 00021A30 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80024AD4 00021A34 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80024AD8 00021A38 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80024ADC 00021A3C D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80024AE0 00021A40 88 03 00 24 */ lbz r0, 0x24(r3) +/* 80024AE4 00021A44 98 01 00 84 */ stb r0, 0x84(r1) +/* 80024AE8 00021A48 88 03 00 25 */ lbz r0, 0x25(r3) +/* 80024AEC 00021A4C 98 01 00 85 */ stb r0, 0x85(r1) +/* 80024AF0 00021A50 88 03 00 26 */ lbz r0, 0x26(r3) +/* 80024AF4 00021A54 98 01 00 86 */ stb r0, 0x86(r1) +/* 80024AF8 00021A58 88 03 00 27 */ lbz r0, 0x27(r3) +/* 80024AFC 00021A5C 98 01 00 87 */ stb r0, 0x87(r1) +/* 80024B00 00021A60 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80024B04 00021A64 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80024B08 00021A68 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 80024B0C 00021A6C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80024B10 00021A70 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80024B14 00021A74 98 01 00 90 */ stb r0, 0x90(r1) +/* 80024B18 00021A78 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80024B1C 00021A7C 98 01 00 91 */ stb r0, 0x91(r1) +/* 80024B20 00021A80 88 03 00 32 */ lbz r0, 0x32(r3) +/* 80024B24 00021A84 38 61 00 60 */ addi r3, r1, 0x60 +/* 80024B28 00021A88 98 01 00 92 */ stb r0, 0x92(r1) +/* 80024B2C 00021A8C 4B FF 6E B9 */ bl GetUserInput__21CArchMsgParmUserInputCFv +/* 80024B30 00021A90 C0 03 00 00 */ lfs f0, 0(r3) +/* 80024B34 00021A94 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80024B38 00021A98 80 83 00 04 */ lwz r4, 4(r3) +/* 80024B3C 00021A9C 90 81 00 34 */ stw r4, 0x34(r1) +/* 80024B40 00021AA0 C0 03 00 08 */ lfs f0, 8(r3) +/* 80024B44 00021AA4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80024B48 00021AA8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80024B4C 00021AAC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80024B50 00021AB0 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80024B54 00021AB4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80024B58 00021AB8 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80024B5C 00021ABC D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80024B60 00021AC0 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80024B64 00021AC4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80024B68 00021AC8 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80024B6C 00021ACC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80024B70 00021AD0 88 03 00 20 */ lbz r0, 0x20(r3) +/* 80024B74 00021AD4 98 01 00 50 */ stb r0, 0x50(r1) +/* 80024B78 00021AD8 88 03 00 21 */ lbz r0, 0x21(r3) +/* 80024B7C 00021ADC 98 01 00 51 */ stb r0, 0x51(r1) +/* 80024B80 00021AE0 88 03 00 22 */ lbz r0, 0x22(r3) +/* 80024B84 00021AE4 98 01 00 52 */ stb r0, 0x52(r1) +/* 80024B88 00021AE8 88 03 00 23 */ lbz r0, 0x23(r3) +/* 80024B8C 00021AEC 98 01 00 53 */ stb r0, 0x53(r1) +/* 80024B90 00021AF0 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80024B94 00021AF4 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80024B98 00021AF8 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80024B9C 00021AFC D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80024BA0 00021B00 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80024BA4 00021B04 98 01 00 5C */ stb r0, 0x5c(r1) +/* 80024BA8 00021B08 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80024BAC 00021B0C 98 01 00 5D */ stb r0, 0x5d(r1) +/* 80024BB0 00021B10 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80024BB4 00021B14 98 01 00 5E */ stb r0, 0x5e(r1) +/* 80024BB8 00021B18 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 80024BBC 00021B1C 2C 00 00 00 */ cmpwi r0, 0 +/* 80024BC0 00021B20 40 82 01 08 */ bne lbl_80024CC8 +/* 80024BC4 00021B24 2C 04 00 00 */ cmpwi r4, 0 +/* 80024BC8 00021B28 40 82 00 D0 */ bne lbl_80024C98 +/* 80024BCC 00021B2C 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024BD0 00021B30 80 83 00 00 */ lwz r4, 0(r3) +/* 80024BD4 00021B34 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80024BD8 00021B38 4B FE 6F 41 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80024BDC 00021B3C 7C 60 1B 78 */ mr r0, r3 +/* 80024BE0 00021B40 38 61 00 08 */ addi r3, r1, 8 +/* 80024BE4 00021B44 7C 04 03 78 */ mr r4, r0 +/* 80024BE8 00021B48 48 08 AB 49 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" +/* 80024BEC 00021B4C 88 81 00 5E */ lbz r4, 0x5e(r1) +/* 80024BF0 00021B50 83 83 00 04 */ lwz r28, 4(r3) +/* 80024BF4 00021B54 54 80 07 FF */ clrlwi. r0, r4, 0x1f +/* 80024BF8 00021B58 41 82 00 6C */ beq lbl_80024C64 +/* 80024BFC 00021B5C 28 1C 00 00 */ cmplwi r28, 0 +/* 80024C00 00021B60 41 82 00 48 */ beq lbl_80024C48 +/* 80024C04 00021B64 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024C08 00021B68 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80024C0C 00021B6C 80 63 00 00 */ lwz r3, 0(r3) +/* 80024C10 00021B70 A0 63 0F 38 */ lhz r3, 0xf38(r3) +/* 80024C14 00021B74 7C 03 00 40 */ cmplw r3, r0 +/* 80024C18 00021B78 41 82 00 30 */ beq lbl_80024C48 +/* 80024C1C 00021B7C 48 33 44 05 */ bl StopAll__12CMidiManagerFv +/* 80024C20 00021B80 A0 9C 00 08 */ lhz r4, 8(r28) +/* 80024C24 00021B84 38 00 00 03 */ li r0, 3 +/* 80024C28 00021B88 C0 02 83 0C */ lfs f0, lbl_805AA02C@sda21(r2) +/* 80024C2C 00021B8C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80024C30 00021B90 B0 9D 00 28 */ sth r4, 0x28(r29) +/* 80024C34 00021B94 38 80 FF FF */ li r4, -1 +/* 80024C38 00021B98 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 80024C3C 00021B9C D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 80024C40 00021BA0 4B FF 6D AD */ bl __dt__21CArchMsgParmUserInputFv +/* 80024C44 00021BA4 48 00 01 04 */ b lbl_80024D48 +lbl_80024C48: +/* 80024C48 00021BA8 28 1C 00 00 */ cmplwi r28, 0 +/* 80024C4C 00021BAC 40 82 00 4C */ bne lbl_80024C98 +/* 80024C50 00021BB0 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024C54 00021BB4 38 80 00 02 */ li r4, 2 +/* 80024C58 00021BB8 80 63 00 00 */ lwz r3, 0(r3) +/* 80024C5C 00021BBC 48 01 FC 05 */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition +/* 80024C60 00021BC0 48 00 00 38 */ b lbl_80024C98 +lbl_80024C64: +/* 80024C64 00021BC4 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80024C68 00021BC8 41 82 00 30 */ beq lbl_80024C98 +/* 80024C6C 00021BCC 28 1C 00 00 */ cmplwi r28, 0 +/* 80024C70 00021BD0 40 82 00 28 */ bne lbl_80024C98 +/* 80024C74 00021BD4 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024C78 00021BD8 80 63 00 00 */ lwz r3, 0(r3) +/* 80024C7C 00021BDC 48 01 FB 71 */ bl CanShowMapScreen__13CStateManagerFv +/* 80024C80 00021BE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80024C84 00021BE4 41 82 00 14 */ beq lbl_80024C98 +/* 80024C88 00021BE8 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024C8C 00021BEC 38 80 00 01 */ li r4, 1 +/* 80024C90 00021BF0 80 63 00 00 */ lwz r3, 0(r3) +/* 80024C94 00021BF4 48 01 FB CD */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition +lbl_80024C98: +/* 80024C98 00021BF8 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024C9C 00021BFC 38 81 00 30 */ addi r4, r1, 0x30 +/* 80024CA0 00021C00 80 63 00 00 */ lwz r3, 0(r3) +/* 80024CA4 00021C04 38 03 08 FC */ addi r0, r3, 0x8fc +/* 80024CA8 00021C08 90 03 09 00 */ stw r0, 0x900(r3) +/* 80024CAC 00021C0C 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024CB0 00021C10 80 63 00 00 */ lwz r3, 0(r3) +/* 80024CB4 00021C14 48 02 59 59 */ bl ProcessInput__13CStateManagerFRC11CFinalInput +/* 80024CB8 00021C18 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024CBC 00021C1C 38 00 00 00 */ li r0, 0 +/* 80024CC0 00021C20 80 63 00 00 */ lwz r3, 0(r3) +/* 80024CC4 00021C24 90 03 09 00 */ stw r0, 0x900(r3) +lbl_80024CC8: +/* 80024CC8 00021C28 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 80024CCC 00021C2C 7F C6 F3 78 */ mr r6, r30 +/* 80024CD0 00021C30 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 80024CD4 00021C34 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80024CD8 00021C38 80 63 00 00 */ lwz r3, 0(r3) +/* 80024CDC 00021C3C 80 84 00 00 */ lwz r4, 0(r4) +/* 80024CE0 00021C40 48 0E 2B BD */ bl ProcessControllerInput__17CInGameGuiManagerFRC13CStateManagerRC11CFinalInputR18CArchitectureQueue +/* 80024CE4 00021C44 38 61 00 60 */ addi r3, r1, 0x60 +/* 80024CE8 00021C48 38 80 FF FF */ li r4, -1 +/* 80024CEC 00021C4C 4B FF 6D 01 */ bl __dt__21CArchMsgParmUserInputFv +/* 80024CF0 00021C50 48 00 00 58 */ b lbl_80024D48 +/* 80024CF4 00021C54 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024CF8 00021C58 80 63 00 00 */ lwz r3, 0(r3) +/* 80024CFC 00021C5C 48 02 58 A9 */ bl FrameEnd__13CStateManagerFv +/* 80024D00 00021C60 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80024D04 00021C64 80 63 00 00 */ lwz r3, 0(r3) +/* 80024D08 00021C68 88 03 0F 94 */ lbz r0, 0xf94(r3) +/* 80024D0C 00021C6C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80024D10 00021C70 41 82 00 38 */ beq lbl_80024D48 +/* 80024D14 00021C74 38 61 00 18 */ addi r3, r1, 0x18 +/* 80024D18 00021C78 38 80 00 01 */ li r4, 1 +/* 80024D1C 00021C7C 48 02 CC 45 */ bl CreateQuitGameplay__7MakeMsgF14EArchMsgTarget +/* 80024D20 00021C80 7F C3 F3 78 */ mr r3, r30 +/* 80024D24 00021C84 38 81 00 18 */ addi r4, r1, 0x18 +/* 80024D28 00021C88 4B FE 1F D9 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 80024D2C 00021C8C 34 61 00 20 */ addic. r3, r1, 0x20 +/* 80024D30 00021C90 41 82 00 18 */ beq lbl_80024D48 +/* 80024D34 00021C94 4B FE 39 D9 */ bl sub_8000870c +/* 80024D38 00021C98 48 00 00 10 */ b lbl_80024D48 +/* 80024D3C 00021C9C 48 34 7F C1 */ bl sub_8036ccfc +/* 80024D40 00021CA0 38 60 00 03 */ li r3, 3 +/* 80024D44 00021CA4 48 00 00 08 */ b lbl_80024D4C +lbl_80024D48: +/* 80024D48 00021CA8 38 60 00 00 */ li r3, 0 +lbl_80024D4C: +/* 80024D4C 00021CAC E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80024D50 00021CB0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80024D54 00021CB4 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80024D58 00021CB8 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80024D5C 00021CBC 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80024D60 00021CC0 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 80024D64 00021CC4 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 80024D68 00021CC8 7C 08 03 A6 */ mtlr r0 +/* 80024D6C 00021CCC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80024D70 00021CD0 4E 80 00 20 */ blr + +.global Touch__7CMFGameFv +Touch__7CMFGameFv: +/* 80024D74 00021CD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80024D78 00021CD8 7C 08 02 A6 */ mflr r0 +/* 80024D7C 00021CDC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80024D80 00021CE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80024D84 00021CE4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80024D88 00021CE8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80024D8C 00021CEC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80024D90 00021CF0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80024D94 00021CF4 83 E3 00 00 */ lwz r31, 0(r3) +/* 80024D98 00021CF8 7F E3 FB 78 */ mr r3, r31 +/* 80024D9C 00021CFC 48 02 06 3D */ bl TouchSky__13CStateManagerCFv +/* 80024DA0 00021D00 7F E3 FB 78 */ mr r3, r31 +/* 80024DA4 00021D04 48 02 05 E1 */ bl TouchPlayerActor__13CStateManagerFv +/* 80024DA8 00021D08 83 DF 08 4C */ lwz r30, 0x84c(r31) +/* 80024DAC 00021D0C 3B A0 00 00 */ li r29, 0 +/* 80024DB0 00021D10 3B 80 00 00 */ li r28, 0 +/* 80024DB4 00021D14 38 60 00 00 */ li r3, 0 +/* 80024DB8 00021D18 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 80024DBC 00021D1C 2C 00 00 02 */ cmpwi r0, 2 +/* 80024DC0 00021D20 41 82 00 34 */ beq lbl_80024DF4 +/* 80024DC4 00021D24 40 80 00 14 */ bge lbl_80024DD8 +/* 80024DC8 00021D28 2C 00 00 00 */ cmpwi r0, 0 +/* 80024DCC 00021D2C 41 82 00 18 */ beq lbl_80024DE4 +/* 80024DD0 00021D30 40 80 00 1C */ bge lbl_80024DEC +/* 80024DD4 00021D34 48 00 00 34 */ b lbl_80024E08 +lbl_80024DD8: +/* 80024DD8 00021D38 2C 00 00 04 */ cmpwi r0, 4 +/* 80024DDC 00021D3C 40 80 00 2C */ bge lbl_80024E08 +/* 80024DE0 00021D40 48 00 00 20 */ b lbl_80024E00 +lbl_80024DE4: +/* 80024DE4 00021D44 38 60 00 01 */ li r3, 1 +/* 80024DE8 00021D48 48 00 00 20 */ b lbl_80024E08 +lbl_80024DEC: +/* 80024DEC 00021D4C 3B 80 00 01 */ li r28, 1 +/* 80024DF0 00021D50 48 00 00 18 */ b lbl_80024E08 +lbl_80024DF4: +/* 80024DF4 00021D54 3B 80 00 01 */ li r28, 1 +/* 80024DF8 00021D58 3B A0 00 01 */ li r29, 1 +/* 80024DFC 00021D5C 48 00 00 0C */ b lbl_80024E08 +lbl_80024E00: +/* 80024E00 00021D60 38 60 00 01 */ li r3, 1 +/* 80024E04 00021D64 3B A0 00 01 */ li r29, 1 +lbl_80024E08: +/* 80024E08 00021D68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80024E0C 00021D6C 41 82 00 10 */ beq lbl_80024E1C +/* 80024E10 00021D70 80 7E 04 90 */ lwz r3, 0x490(r30) +/* 80024E14 00021D74 7F E4 FB 78 */ mr r4, r31 +/* 80024E18 00021D78 48 01 D5 65 */ bl TouchModel__10CPlayerGunCFRC13CStateManager +lbl_80024E1C: +/* 80024E1C 00021D7C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80024E20 00021D80 41 82 00 14 */ beq lbl_80024E34 +/* 80024E24 00021D84 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80024E28 00021D88 7F E4 FB 78 */ mr r4, r31 +/* 80024E2C 00021D8C 38 A0 00 00 */ li r5, 0 +/* 80024E30 00021D90 48 0F 0E E1 */ bl Touch__10CModelDataCFRC13CStateManageri +lbl_80024E34: +/* 80024E34 00021D94 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80024E38 00021D98 41 82 00 10 */ beq lbl_80024E48 +/* 80024E3C 00021D9C 80 7E 07 68 */ lwz r3, 0x768(r30) +/* 80024E40 00021DA0 7F E4 FB 78 */ mr r4, r31 +/* 80024E44 00021DA4 48 0C A1 79 */ bl TouchModel__10CMorphBallCFRC13CStateManager +lbl_80024E48: +/* 80024E48 00021DA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80024E4C 00021DAC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80024E50 00021DB0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80024E54 00021DB4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80024E58 00021DB8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80024E5C 00021DBC 7C 08 03 A6 */ mtlr r0 +/* 80024E60 00021DC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80024E64 00021DC4 4E 80 00 20 */ blr + +.global __dt__7CMFGameFv +__dt__7CMFGameFv: +/* 80024E68 00021DC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80024E6C 00021DCC 7C 08 02 A6 */ mflr r0 +/* 80024E70 00021DD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80024E74 00021DD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80024E78 00021DD8 7C 9F 23 78 */ mr r31, r4 +/* 80024E7C 00021DDC 93 C1 00 08 */ stw r30, 8(r1) +/* 80024E80 00021DE0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80024E84 00021DE4 41 82 00 9C */ beq lbl_80024F20 +/* 80024E88 00021DE8 3C 60 80 3E */ lis r3, lbl_803D99D4@ha +/* 80024E8C 00021DEC 38 80 00 00 */ li r4, 0 +/* 80024E90 00021DF0 38 03 99 D4 */ addi r0, r3, lbl_803D99D4@l +/* 80024E94 00021DF4 90 1E 00 00 */ stw r0, 0(r30) +/* 80024E98 00021DF8 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 80024E9C 00021DFC 88 03 01 60 */ lbz r0, 0x160(r3) +/* 80024EA0 00021E00 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80024EA4 00021E04 98 03 01 60 */ stb r0, 0x160(r3) +/* 80024EA8 00021E08 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 80024EAC 00021E0C 88 03 01 60 */ lbz r0, 0x160(r3) +/* 80024EB0 00021E10 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80024EB4 00021E14 98 03 01 60 */ stb r0, 0x160(r3) +/* 80024EB8 00021E18 48 0F 25 D1 */ bl Reinitialize__13CDecalManagerFv +/* 80024EBC 00021E1C 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 80024EC0 00021E20 41 82 00 14 */ beq lbl_80024ED4 +/* 80024EC4 00021E24 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80024EC8 00021E28 28 03 00 00 */ cmplwi r3, 0 +/* 80024ECC 00021E2C 41 82 00 08 */ beq lbl_80024ED4 +/* 80024ED0 00021E30 48 2F 0A 61 */ bl Free__7CMemoryFPCv +lbl_80024ED4: +/* 80024ED4 00021E34 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 80024ED8 00021E38 41 82 00 14 */ beq lbl_80024EEC +/* 80024EDC 00021E3C 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 80024EE0 00021E40 41 82 00 0C */ beq lbl_80024EEC +/* 80024EE4 00021E44 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80024EE8 00021E48 48 00 01 3D */ bl sub_80025024 +lbl_80024EEC: +/* 80024EEC 00021E4C 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80024EF0 00021E50 41 82 00 14 */ beq lbl_80024F04 +/* 80024EF4 00021E54 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80024EF8 00021E58 41 82 00 0C */ beq lbl_80024F04 +/* 80024EFC 00021E5C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80024F00 00021E60 48 00 01 81 */ bl sub_80025080 +lbl_80024F04: +/* 80024F04 00021E64 7F C3 F3 78 */ mr r3, r30 +/* 80024F08 00021E68 38 80 00 00 */ li r4, 0 +/* 80024F0C 00021E6C 48 02 DC 99 */ bl __dt__6CIOWinFv +/* 80024F10 00021E70 7F E0 07 35 */ extsh. r0, r31 +/* 80024F14 00021E74 40 81 00 0C */ ble lbl_80024F20 +/* 80024F18 00021E78 7F C3 F3 78 */ mr r3, r30 +/* 80024F1C 00021E7C 48 2F 0A 15 */ bl Free__7CMemoryFPCv +lbl_80024F20: +/* 80024F20 00021E80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80024F24 00021E84 7F C3 F3 78 */ mr r3, r30 +/* 80024F28 00021E88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80024F2C 00021E8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80024F30 00021E90 7C 08 03 A6 */ mtlr r0 +/* 80024F34 00021E94 38 21 00 10 */ addi r1, r1, 0x10 +/* 80024F38 00021E98 4E 80 00 20 */ blr + +.global "__ct__7CMFGameFQ24rstl25ncrc_ptr<13CStateManager>Q24rstl29ncrc_ptr<17CInGameGuiManager>R18CArchitectureQueue" +"__ct__7CMFGameFQ24rstl25ncrc_ptr<13CStateManager>Q24rstl29ncrc_ptr<17CInGameGuiManager>R18CArchitectureQueue": +/* 80024F3C 00021E9C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80024F40 00021EA0 7C 08 02 A6 */ mflr r0 +/* 80024F44 00021EA4 3C C0 80 3D */ lis r6, lbl_803CCAB8@ha +/* 80024F48 00021EA8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80024F4C 00021EAC 38 C6 CA B8 */ addi r6, r6, lbl_803CCAB8@l +/* 80024F50 00021EB0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80024F54 00021EB4 7C 7F 1B 78 */ mr r31, r3 +/* 80024F58 00021EB8 38 61 00 08 */ addi r3, r1, 8 +/* 80024F5C 00021EBC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80024F60 00021EC0 7C BE 2B 78 */ mr r30, r5 +/* 80024F64 00021EC4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80024F68 00021EC8 7C 9D 23 78 */ mr r29, r4 +/* 80024F6C 00021ECC 38 86 00 53 */ addi r4, r6, 0x53 +/* 80024F70 00021ED0 4B FD FD 49 */ bl string_l__4rstlFPCc +/* 80024F74 00021ED4 7F E3 FB 78 */ mr r3, r31 +/* 80024F78 00021ED8 38 81 00 08 */ addi r4, r1, 8 +/* 80024F7C 00021EDC 48 02 DC 91 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80024F80 00021EE0 38 61 00 08 */ addi r3, r1, 8 +/* 80024F84 00021EE4 48 31 8B 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80024F88 00021EE8 3C 60 80 3E */ lis r3, lbl_803D99D4@ha +/* 80024F8C 00021EEC 38 80 00 00 */ li r4, 0 +/* 80024F90 00021EF0 38 03 99 D4 */ addi r0, r3, lbl_803D99D4@l +/* 80024F94 00021EF4 38 A0 00 01 */ li r5, 1 +/* 80024F98 00021EF8 90 1F 00 00 */ stw r0, 0(r31) +/* 80024F9C 00021EFC 7F E3 FB 78 */ mr r3, r31 +/* 80024FA0 00021F00 80 1D 00 00 */ lwz r0, 0(r29) +/* 80024FA4 00021F04 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80024FA8 00021F08 80 FF 00 14 */ lwz r7, 0x14(r31) +/* 80024FAC 00021F0C 80 C7 00 04 */ lwz r6, 4(r7) +/* 80024FB0 00021F10 38 06 00 01 */ addi r0, r6, 1 +/* 80024FB4 00021F14 90 07 00 04 */ stw r0, 4(r7) +/* 80024FB8 00021F18 80 1E 00 00 */ lwz r0, 0(r30) +/* 80024FBC 00021F1C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80024FC0 00021F20 80 FF 00 18 */ lwz r7, 0x18(r31) +/* 80024FC4 00021F24 80 C7 00 04 */ lwz r6, 4(r7) +/* 80024FC8 00021F28 38 06 00 01 */ addi r0, r6, 1 +/* 80024FCC 00021F2C 90 07 00 04 */ stw r0, 4(r7) +/* 80024FD0 00021F30 90 9F 00 1C */ stw r4, 0x1c(r31) +/* 80024FD4 00021F34 90 9F 00 24 */ stw r4, 0x24(r31) +/* 80024FD8 00021F38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80024FDC 00021F3C B0 1F 00 28 */ sth r0, 0x28(r31) +/* 80024FE0 00021F40 88 1F 00 2A */ lbz r0, 0x2a(r31) +/* 80024FE4 00021F44 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80024FE8 00021F48 98 1F 00 2A */ stb r0, 0x2a(r31) +/* 80024FEC 00021F4C 88 1F 00 2A */ lbz r0, 0x2a(r31) +/* 80024FF0 00021F50 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80024FF4 00021F54 98 1F 00 2A */ stb r0, 0x2a(r31) +/* 80024FF8 00021F58 80 8D A0 78 */ lwz r4, gpMain@sda21(r13) +/* 80024FFC 00021F5C 88 04 01 60 */ lbz r0, 0x160(r4) +/* 80025000 00021F60 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80025004 00021F64 98 04 01 60 */ stb r0, 0x160(r4) +/* 80025008 00021F68 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002500C 00021F6C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80025010 00021F70 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80025014 00021F74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80025018 00021F78 7C 08 03 A6 */ mtlr r0 +/* 8002501C 00021F7C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80025020 00021F80 4E 80 00 20 */ blr + + +.global sub_80025024 +sub_80025024: +/* 80025024 00021F84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80025028 00021F88 7C 08 02 A6 */ mflr r0 +/* 8002502C 00021F8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80025030 00021F90 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80025034 00021F94 7C 7F 1B 78 */ mr r31, r3 +/* 80025038 00021F98 80 83 00 00 */ lwz r4, 0(r3) +/* 8002503C 00021F9C 80 64 00 04 */ lwz r3, 4(r4) +/* 80025040 00021FA0 34 03 FF FF */ addic. r0, r3, -1 +/* 80025044 00021FA4 90 04 00 04 */ stw r0, 4(r4) +/* 80025048 00021FA8 41 81 00 24 */ bgt lbl_8002506C +/* 8002504C 00021FAC 80 7F 00 00 */ lwz r3, 0(r31) +/* 80025050 00021FB0 38 80 00 01 */ li r4, 1 +/* 80025054 00021FB4 80 63 00 00 */ lwz r3, 0(r3) +/* 80025058 00021FB8 48 0E 4C 29 */ bl __dt__17CInGameGuiManagerFv +/* 8002505C 00021FBC 80 7F 00 00 */ lwz r3, 0(r31) +/* 80025060 00021FC0 28 03 00 00 */ cmplwi r3, 0 +/* 80025064 00021FC4 41 82 00 08 */ beq lbl_8002506C +/* 80025068 00021FC8 48 2F 08 C9 */ bl Free__7CMemoryFPCv +lbl_8002506C: +/* 8002506C 00021FCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80025070 00021FD0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80025074 00021FD4 7C 08 03 A6 */ mtlr r0 +/* 80025078 00021FD8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8002507C 00021FDC 4E 80 00 20 */ blr + +.global sub_80025080 +sub_80025080: +/* 80025080 00021FE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80025084 00021FE4 7C 08 02 A6 */ mflr r0 +/* 80025088 00021FE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8002508C 00021FEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80025090 00021FF0 7C 7F 1B 78 */ mr r31, r3 +/* 80025094 00021FF4 80 83 00 00 */ lwz r4, 0(r3) +/* 80025098 00021FF8 80 64 00 04 */ lwz r3, 4(r4) +/* 8002509C 00021FFC 34 03 FF FF */ addic. r0, r3, -1 +/* 800250A0 00022000 90 04 00 04 */ stw r0, 4(r4) +/* 800250A4 00022004 41 81 00 24 */ bgt lbl_800250C8 +/* 800250A8 00022008 80 7F 00 00 */ lwz r3, 0(r31) +/* 800250AC 0002200C 38 80 00 01 */ li r4, 1 +/* 800250B0 00022010 80 63 00 00 */ lwz r3, 0(r3) +/* 800250B4 00022014 48 02 80 F9 */ bl __dt__13CStateManagerFv +/* 800250B8 00022018 80 7F 00 00 */ lwz r3, 0(r31) +/* 800250BC 0002201C 28 03 00 00 */ cmplwi r3, 0 +/* 800250C0 00022020 41 82 00 08 */ beq lbl_800250C8 +/* 800250C4 00022024 48 2F 08 6D */ bl Free__7CMemoryFPCv +lbl_800250C8: +/* 800250C8 00022028 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800250CC 0002202C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800250D0 00022030 7C 08 03 A6 */ mtlr r0 +/* 800250D4 00022034 38 21 00 10 */ addi r1, r1, 0x10 +/* 800250D8 00022038 4E 80 00 20 */ blr + +.global "__nw__27TOneStatic<13CStateManager>FUlPCcPCc" +"__nw__27TOneStatic<13CStateManager>FUlPCcPCc": +/* 800250DC 0002203C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800250E0 00022040 7C 08 02 A6 */ mflr r0 +/* 800250E4 00022044 90 01 00 14 */ stw r0, 0x14(r1) +/* 800250E8 00022048 48 00 00 31 */ bl "ReferenceCount__27TOneStatic<13CStateManager>Fv" +/* 800250EC 0002204C 80 83 00 00 */ lwz r4, 0(r3) +/* 800250F0 00022050 38 04 00 01 */ addi r0, r4, 1 +/* 800250F4 00022054 90 03 00 00 */ stw r0, 0(r3) +/* 800250F8 00022058 48 00 00 15 */ bl "GetAllocSpace__27TOneStatic<13CStateManager>Fv" +/* 800250FC 0002205C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80025100 00022060 7C 08 03 A6 */ mtlr r0 +/* 80025104 00022064 38 21 00 10 */ addi r1, r1, 0x10 +/* 80025108 00022068 4E 80 00 20 */ blr + +.global "GetAllocSpace__27TOneStatic<13CStateManager>Fv" +"GetAllocSpace__27TOneStatic<13CStateManager>Fv": +/* 8002510C 0002206C 3C 60 80 46 */ lis r3, lbl_8045A1A8@ha +/* 80025110 00022070 38 63 A1 A8 */ addi r3, r3, lbl_8045A1A8@l +/* 80025114 00022074 4E 80 00 20 */ blr + +.global "ReferenceCount__27TOneStatic<13CStateManager>Fv" +"ReferenceCount__27TOneStatic<13CStateManager>Fv": +/* 80025118 00022078 88 0D A1 04 */ lbz r0, lbl_805A8CC4@sda21(r13) +/* 8002511C 0002207C 7C 00 07 75 */ extsb. r0, r0 +/* 80025120 00022080 40 82 00 14 */ bne lbl_80025134 +/* 80025124 00022084 38 60 00 00 */ li r3, 0 +/* 80025128 00022088 38 00 00 01 */ li r0, 1 +/* 8002512C 0002208C 90 6D A1 00 */ stw r3, lbl_805A8CC0@sda21(r13) +/* 80025130 00022090 98 0D A1 04 */ stb r0, lbl_805A8CC4@sda21(r13) +lbl_80025134: +/* 80025134 00022094 38 6D A1 00 */ addi r3, r13, lbl_805A8CC0@sda21 +/* 80025138 00022098 4E 80 00 20 */ blr + +.global __sinit_CMFGame_cpp +__sinit_CMFGame_cpp: +/* 8002513C 0002209C 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha +/* 80025140 000220A0 3C 80 15 8F */ lis r4, 0x158EFE17@ha +/* 80025144 000220A4 38 A3 56 4C */ addi r5, r3, 0x4D4C564C@l +/* 80025148 000220A8 38 6D A0 F8 */ addi r3, r13, lbl_805A8CB8@sda21 +/* 8002514C 000220AC 38 04 FE 17 */ addi r0, r4, 0x158EFE17@l +/* 80025150 000220B0 90 AD A0 F8 */ stw r5, lbl_805A8CB8@sda21(r13) +/* 80025154 000220B4 90 03 00 04 */ stw r0, 4(r3) +/* 80025158 000220B8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CMFGameLoader.s b/asm/Kyoto_CWD/CMFGameLoader.s new file mode 100644 index 00000000..2e8c35eb --- /dev/null +++ b/asm/Kyoto_CWD/CMFGameLoader.s @@ -0,0 +1,665 @@ +.include "macros.inc" + +.section .text, "ax" + +.global Draw__13CMFGameLoaderCFv +Draw__13CMFGameLoaderCFv: +/* 80023A24 00020984 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80023A28 00020988 7C 08 02 A6 */ mflr r0 +/* 80023A2C 0002098C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80023A30 00020990 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80023A34 00020994 48 1A FE E5 */ bl WorldTransitionManager__10CGameStateFv +/* 80023A38 00020998 80 63 00 00 */ lwz r3, 0(r3) +/* 80023A3C 0002099C 80 63 00 00 */ lwz r3, 0(r3) +/* 80023A40 000209A0 48 1E 6D 3D */ bl Draw__18CWorldTransManagerCFv +/* 80023A44 000209A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80023A48 000209A8 7C 08 03 A6 */ mtlr r0 +/* 80023A4C 000209AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80023A50 000209B0 4E 80 00 20 */ blr + +.global OnMessage__13CMFGameLoaderFRC20CArchitectureMessageR18CArchitectureQueue +OnMessage__13CMFGameLoaderFRC20CArchitectureMessageR18CArchitectureQueue: +/* 80023A54 000209B4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80023A58 000209B8 7C 08 02 A6 */ mflr r0 +/* 80023A5C 000209BC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80023A60 000209C0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80023A64 000209C4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80023A68 000209C8 BF 01 00 40 */ stmw r24, 0x40(r1) +/* 80023A6C 000209CC 7C 7D 1B 78 */ mr r29, r3 +/* 80023A70 000209D0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80023A74 000209D4 7C 98 23 78 */ mr r24, r4 +/* 80023A78 000209D8 7C BE 2B 78 */ mr r30, r5 +/* 80023A7C 000209DC 48 1A FE 9D */ bl WorldTransitionManager__10CGameStateFv +/* 80023A80 000209E0 80 18 00 04 */ lwz r0, 4(r24) +/* 80023A84 000209E4 7C 7F 1B 78 */ mr r31, r3 +/* 80023A88 000209E8 2C 00 00 04 */ cmpwi r0, 4 +/* 80023A8C 000209EC 40 82 03 58 */ bne lbl_80023DE4 +/* 80023A90 000209F0 7F 03 C3 78 */ mr r3, r24 +/* 80023A94 000209F4 48 02 E1 29 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +/* 80023A98 000209F8 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80023A9C 000209FC C3 E3 00 04 */ lfs f31, 4(r3) +/* 80023AA0 00020A00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80023AA4 00020A04 40 82 00 A4 */ bne lbl_80023B48 +/* 80023AA8 00020A08 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 80023AAC 00020A0C 2C 00 00 00 */ cmpwi r0, 0 +/* 80023AB0 00020A10 40 82 00 20 */ bne lbl_80023AD0 +/* 80023AB4 00020A14 7F A3 EB 78 */ mr r3, r29 +/* 80023AB8 00020A18 48 00 04 2D */ bl MakeLoadDependancyList__13CMFGameLoaderFv +/* 80023ABC 00020A1C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80023AC0 00020A20 80 63 00 00 */ lwz r3, 0(r3) +/* 80023AC4 00020A24 48 1E 70 B5 */ bl StartTransition__18CWorldTransManagerFv +/* 80023AC8 00020A28 38 60 00 01 */ li r3, 1 +/* 80023ACC 00020A2C 48 00 03 FC */ b lbl_80023EC8 +lbl_80023AD0: +/* 80023AD0 00020A30 83 3D 00 28 */ lwz r25, 0x28(r29) +/* 80023AD4 00020A34 3B 40 00 00 */ li r26, 0 +/* 80023AD8 00020A38 48 00 00 24 */ b lbl_80023AFC +lbl_80023ADC: +/* 80023ADC 00020A3C 7F 23 CB 78 */ mr r3, r25 +/* 80023AE0 00020A40 48 31 D2 A5 */ bl Lock__6CTokenFv +/* 80023AE4 00020A44 80 79 00 00 */ lwz r3, 0(r25) +/* 80023AE8 00020A48 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80023AEC 00020A4C 28 00 00 00 */ cmplwi r0, 0 +/* 80023AF0 00020A50 40 82 00 08 */ bne lbl_80023AF8 +/* 80023AF4 00020A54 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80023AF8: +/* 80023AF8 00020A58 3B 39 00 08 */ addi r25, r25, 8 +lbl_80023AFC: +/* 80023AFC 00020A5C 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 80023B00 00020A60 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80023B04 00020A64 54 00 18 38 */ slwi r0, r0, 3 +/* 80023B08 00020A68 7C 03 02 14 */ add r0, r3, r0 +/* 80023B0C 00020A6C 7C 19 00 40 */ cmplw r25, r0 +/* 80023B10 00020A70 40 82 FF CC */ bne lbl_80023ADC +/* 80023B14 00020A74 80 7F 00 00 */ lwz r3, 0(r31) +/* 80023B18 00020A78 FC 20 F8 90 */ fmr f1, f31 +/* 80023B1C 00020A7C 80 63 00 00 */ lwz r3, 0(r3) +/* 80023B20 00020A80 48 1E 6F D5 */ bl Update__18CWorldTransManagerFf +/* 80023B24 00020A84 2C 1A 00 00 */ cmpwi r26, 0 +/* 80023B28 00020A88 41 82 00 0C */ beq lbl_80023B34 +/* 80023B2C 00020A8C 38 60 00 01 */ li r3, 1 +/* 80023B30 00020A90 48 00 03 98 */ b lbl_80023EC8 +lbl_80023B34: +/* 80023B34 00020A94 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80023B38 00020A98 38 60 00 01 */ li r3, 1 +/* 80023B3C 00020A9C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80023B40 00020AA0 98 1D 00 2C */ stb r0, 0x2c(r29) +/* 80023B44 00020AA4 48 00 00 14 */ b lbl_80023B58 +lbl_80023B48: +/* 80023B48 00020AA8 80 7F 00 00 */ lwz r3, 0(r31) +/* 80023B4C 00020AAC FC 20 F8 90 */ fmr f1, f31 +/* 80023B50 00020AB0 80 63 00 00 */ lwz r3, 0(r3) +/* 80023B54 00020AB4 48 1E 6F A1 */ bl Update__18CWorldTransManagerFf +lbl_80023B58: +/* 80023B58 00020AB8 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80023B5C 00020ABC 80 03 00 00 */ lwz r0, 0(r3) +/* 80023B60 00020AC0 28 00 00 00 */ cmplwi r0, 0 +/* 80023B64 00020AC4 40 82 00 F0 */ bne lbl_80023C54 +/* 80023B68 00020AC8 80 7F 00 00 */ lwz r3, 0(r31) +/* 80023B6C 00020ACC 80 63 00 00 */ lwz r3, 0(r3) +/* 80023B70 00020AD0 48 1E 52 A9 */ bl WaitForModelsAndTextures__18CWorldTransManagerFv +/* 80023B74 00020AD4 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80023B78 00020AD8 48 1A FE 35 */ bl CurrentWorldState__10CGameStateFv +/* 80023B7C 00020ADC 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha +/* 80023B80 00020AE0 7C 60 1B 78 */ mr r0, r3 +/* 80023B84 00020AE4 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l +/* 80023B88 00020AE8 38 60 0F 98 */ li r3, 0xf98 +/* 80023B8C 00020AEC 7C 18 03 78 */ mr r24, r0 +/* 80023B90 00020AF0 38 A0 00 00 */ li r5, 0 +/* 80023B94 00020AF4 38 84 00 2A */ addi r4, r4, 0x2a +/* 80023B98 00020AF8 48 00 15 45 */ bl "__nw__27TOneStatic<13CStateManager>FUlPCcPCc" +/* 80023B9C 00020AFC 7C 79 1B 79 */ or. r25, r3, r3 +/* 80023BA0 00020B00 41 82 00 50 */ beq lbl_80023BF0 +/* 80023BA4 00020B04 7F 03 C3 78 */ mr r3, r24 +/* 80023BA8 00020B08 48 1B 11 8D */ bl GetLayerState__11CWorldStateFv +/* 80023BAC 00020B0C 7C 7A 1B 78 */ mr r26, r3 +/* 80023BB0 00020B10 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80023BB4 00020B14 48 1A FD 89 */ bl PlayerState__10CGameStateFv +/* 80023BB8 00020B18 7C 7B 1B 78 */ mr r27, r3 +/* 80023BBC 00020B1C 7F 03 C3 78 */ mr r3, r24 +/* 80023BC0 00020B20 48 1B 11 C1 */ bl MapWorldInfo__11CWorldStateFv +/* 80023BC4 00020B24 7C 7C 1B 78 */ mr r28, r3 +/* 80023BC8 00020B28 7F 03 C3 78 */ mr r3, r24 +/* 80023BCC 00020B2C 48 1B 11 BD */ bl Mailbox__11CWorldStateFv +/* 80023BD0 00020B30 7C 64 1B 78 */ mr r4, r3 +/* 80023BD4 00020B34 7F 23 CB 78 */ mr r3, r25 +/* 80023BD8 00020B38 7F 85 E3 78 */ mr r5, r28 +/* 80023BDC 00020B3C 7F 66 DB 78 */ mr r6, r27 +/* 80023BE0 00020B40 7F E7 FB 78 */ mr r7, r31 +/* 80023BE4 00020B44 7F 48 D3 78 */ mr r8, r26 +/* 80023BE8 00020B48 48 02 A5 4D */ bl "__ct__13CStateManagerFRCQ24rstl26ncrc_ptr<14CScriptMailbox>RCQ24rstl25ncrc_ptr<13CMapWorldInfo>RCQ24rstl24ncrc_ptr<12CPlayerState>RCQ24rstl30ncrc_ptr<18CWorldTransManager>" +/* 80023BEC 00020B4C 7C 79 1B 78 */ mr r25, r3 +lbl_80023BF0: +/* 80023BF0 00020B50 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha +/* 80023BF4 00020B54 38 60 00 08 */ li r3, 8 +/* 80023BF8 00020B58 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l +/* 80023BFC 00020B5C 38 A0 00 00 */ li r5, 0 +/* 80023C00 00020B60 38 84 00 2A */ addi r4, r4, 0x2a +/* 80023C04 00020B64 48 2F 1C 69 */ bl __nw__FUlPCcPCc +/* 80023C08 00020B68 28 03 00 00 */ cmplwi r3, 0 +/* 80023C0C 00020B6C 41 82 00 10 */ beq lbl_80023C1C +/* 80023C10 00020B70 93 23 00 00 */ stw r25, 0(r3) +/* 80023C14 00020B74 38 00 00 01 */ li r0, 1 +/* 80023C18 00020B78 90 03 00 04 */ stw r0, 4(r3) +lbl_80023C1C: +/* 80023C1C 00020B7C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80023C20 00020B80 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 80023C24 00020B84 7C 00 18 40 */ cmplw r0, r3 +/* 80023C28 00020B88 41 82 00 24 */ beq lbl_80023C4C +/* 80023C2C 00020B8C 38 7D 00 14 */ addi r3, r29, 0x14 +/* 80023C30 00020B90 48 00 14 51 */ bl sub_80025080 +/* 80023C34 00020B94 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80023C38 00020B98 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80023C3C 00020B9C 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 80023C40 00020BA0 80 64 00 04 */ lwz r3, 4(r4) +/* 80023C44 00020BA4 38 03 00 01 */ addi r0, r3, 1 +/* 80023C48 00020BA8 90 04 00 04 */ stw r0, 4(r4) +lbl_80023C4C: +/* 80023C4C 00020BAC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80023C50 00020BB0 48 00 14 31 */ bl sub_80025080 +lbl_80023C54: +/* 80023C54 00020BB4 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80023C58 00020BB8 80 63 00 00 */ lwz r3, 0(r3) +/* 80023C5C 00020BBC 80 03 0B 3C */ lwz r0, 0xb3c(r3) +/* 80023C60 00020BC0 2C 00 00 02 */ cmpwi r0, 2 +/* 80023C64 00020BC4 41 82 00 60 */ beq lbl_80023CC4 +/* 80023C68 00020BC8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80023C6C 00020BCC 48 1A FD 41 */ bl CurrentWorldState__10CGameStateFv +/* 80023C70 00020BD0 7C 60 1B 78 */ mr r0, r3 +/* 80023C74 00020BD4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80023C78 00020BD8 7C 18 03 78 */ mr r24, r0 +/* 80023C7C 00020BDC 7F 04 C3 78 */ mr r4, r24 +/* 80023C80 00020BE0 48 1B 10 D9 */ bl GetCurrentArea__11CWorldStateCFv +/* 80023C84 00020BE4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80023C88 00020BE8 7F 03 C3 78 */ mr r3, r24 +/* 80023C8C 00020BEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80023C90 00020BF0 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 80023C94 00020BF4 83 24 00 00 */ lwz r25, 0(r4) +/* 80023C98 00020BF8 48 1B 10 AD */ bl GetDesiredAreaAssetId__11CWorldStateCFv +/* 80023C9C 00020BFC 7C 7D 1B 78 */ mr r29, r3 +/* 80023CA0 00020C00 7F 03 C3 78 */ mr r3, r24 +/* 80023CA4 00020C04 48 1B 10 ED */ bl GetWorldAssetId__11CWorldStateCFv +/* 80023CA8 00020C08 7C 64 1B 78 */ mr r4, r3 +/* 80023CAC 00020C0C 7F 23 CB 78 */ mr r3, r25 +/* 80023CB0 00020C10 7F A6 EB 78 */ mr r6, r29 +/* 80023CB4 00020C14 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80023CB8 00020C18 48 02 78 E1 */ bl InitializeState__13CStateManagerFUi7TAreaIdUi +/* 80023CBC 00020C1C 38 60 00 01 */ li r3, 1 +/* 80023CC0 00020C20 48 00 02 08 */ b lbl_80023EC8 +lbl_80023CC4: +/* 80023CC4 00020C24 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 80023CC8 00020C28 80 03 00 00 */ lwz r0, 0(r3) +/* 80023CCC 00020C2C 28 00 00 00 */ cmplwi r0, 0 +/* 80023CD0 00020C30 40 82 00 80 */ bne lbl_80023D50 +/* 80023CD4 00020C34 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80023CD8 00020C38 48 1A FC D5 */ bl CurrentWorldState__10CGameStateFv +/* 80023CDC 00020C3C 38 80 FF FF */ li r4, -1 +/* 80023CE0 00020C40 48 1B 10 5D */ bl SetDesiredAreaAssetId__11CWorldStateFUi +/* 80023CE4 00020C44 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha +/* 80023CE8 00020C48 38 60 01 FC */ li r3, 0x1fc +/* 80023CEC 00020C4C 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l +/* 80023CF0 00020C50 38 A0 00 00 */ li r5, 0 +/* 80023CF4 00020C54 38 84 00 2A */ addi r4, r4, 0x2a +/* 80023CF8 00020C58 48 2F 1B 75 */ bl __nw__FUlPCcPCc +/* 80023CFC 00020C5C 7C 79 1B 79 */ or. r25, r3, r3 +/* 80023D00 00020C60 41 82 00 18 */ beq lbl_80023D18 +/* 80023D04 00020C64 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 80023D08 00020C68 7F C5 F3 78 */ mr r5, r30 +/* 80023D0C 00020C6C 80 84 00 00 */ lwz r4, 0(r4) +/* 80023D10 00020C70 48 0E 63 79 */ bl __ct__17CInGameGuiManagerFRC13CStateManagerR18CArchitectureQueue +/* 80023D14 00020C74 7C 79 1B 78 */ mr r25, r3 +lbl_80023D18: +/* 80023D18 00020C78 38 7D 00 18 */ addi r3, r29, 0x18 +/* 80023D1C 00020C7C 48 00 13 09 */ bl sub_80025024 +/* 80023D20 00020C80 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha +/* 80023D24 00020C84 38 60 00 08 */ li r3, 8 +/* 80023D28 00020C88 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l +/* 80023D2C 00020C8C 38 A0 00 00 */ li r5, 0 +/* 80023D30 00020C90 38 84 00 2A */ addi r4, r4, 0x2a +/* 80023D34 00020C94 48 2F 1B 39 */ bl __nw__FUlPCcPCc +/* 80023D38 00020C98 28 03 00 00 */ cmplwi r3, 0 +/* 80023D3C 00020C9C 41 82 00 10 */ beq lbl_80023D4C +/* 80023D40 00020CA0 93 23 00 00 */ stw r25, 0(r3) +/* 80023D44 00020CA4 38 00 00 01 */ li r0, 1 +/* 80023D48 00020CA8 90 03 00 04 */ stw r0, 4(r3) +lbl_80023D4C: +/* 80023D4C 00020CAC 90 7D 00 18 */ stw r3, 0x18(r29) +lbl_80023D50: +/* 80023D50 00020CB0 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 80023D54 00020CB4 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 80023D58 00020CB8 80 63 00 00 */ lwz r3, 0(r3) +/* 80023D5C 00020CBC 80 84 00 00 */ lwz r4, 0(r4) +/* 80023D60 00020CC0 48 0E 55 09 */ bl CheckLoadComplete__17CInGameGuiManagerFRC13CStateManager +/* 80023D64 00020CC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80023D68 00020CC8 40 82 00 0C */ bne lbl_80023D74 +/* 80023D6C 00020CCC 38 60 00 01 */ li r3, 1 +/* 80023D70 00020CD0 48 00 01 58 */ b lbl_80023EC8 +lbl_80023D74: +/* 80023D74 00020CD4 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 80023D78 00020CD8 83 3D 00 28 */ lwz r25, 0x28(r29) +/* 80023D7C 00020CDC 54 00 18 38 */ slwi r0, r0, 3 +/* 80023D80 00020CE0 7F D9 02 14 */ add r30, r25, r0 +/* 80023D84 00020CE4 93 21 00 0C */ stw r25, 0xc(r1) +/* 80023D88 00020CE8 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80023D8C 00020CEC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80023D90 00020CF0 93 21 00 08 */ stw r25, 8(r1) +/* 80023D94 00020CF4 48 00 00 14 */ b lbl_80023DA8 +lbl_80023D98: +/* 80023D98 00020CF8 7F 23 CB 78 */ mr r3, r25 +/* 80023D9C 00020CFC 38 80 FF FF */ li r4, -1 +/* 80023DA0 00020D00 48 31 D0 A1 */ bl __dt__6CTokenFv +/* 80023DA4 00020D04 3B 39 00 08 */ addi r25, r25, 8 +lbl_80023DA8: +/* 80023DA8 00020D08 7C 19 F0 40 */ cmplw r25, r30 +/* 80023DAC 00020D0C 40 82 FF EC */ bne lbl_80023D98 +/* 80023DB0 00020D10 38 00 00 00 */ li r0, 0 +/* 80023DB4 00020D14 90 1D 00 20 */ stw r0, 0x20(r29) +/* 80023DB8 00020D18 80 7F 00 00 */ lwz r3, 0(r31) +/* 80023DBC 00020D1C 80 63 00 00 */ lwz r3, 0(r3) +/* 80023DC0 00020D20 48 1E 54 99 */ bl StartTextFadeOut__18CWorldTransManagerFv +/* 80023DC4 00020D24 80 9F 00 00 */ lwz r4, 0(r31) +/* 80023DC8 00020D28 38 60 00 01 */ li r3, 1 +/* 80023DCC 00020D2C 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80023DD0 00020D30 80 84 00 00 */ lwz r4, 0(r4) +/* 80023DD4 00020D34 88 84 00 44 */ lbz r4, 0x44(r4) +/* 80023DD8 00020D38 50 80 FE 72 */ rlwimi r0, r4, 0x1f, 0x19, 0x19 +/* 80023DDC 00020D3C 98 1D 00 2C */ stb r0, 0x2c(r29) +/* 80023DE0 00020D40 48 00 00 E8 */ b lbl_80023EC8 +lbl_80023DE4: +/* 80023DE4 00020D44 2C 00 00 0B */ cmpwi r0, 0xb +/* 80023DE8 00020D48 40 82 00 DC */ bne lbl_80023EC4 +/* 80023DEC 00020D4C 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80023DF0 00020D50 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80023DF4 00020D54 41 82 00 D0 */ beq lbl_80023EC4 +/* 80023DF8 00020D58 3C 60 80 3D */ lis r3, lbl_803CCAB8@ha +/* 80023DFC 00020D5C 3B 00 00 00 */ li r24, 0 +/* 80023E00 00020D60 38 63 CA B8 */ addi r3, r3, lbl_803CCAB8@l +/* 80023E04 00020D64 3B 20 00 00 */ li r25, 0 +/* 80023E08 00020D68 38 83 00 2A */ addi r4, r3, 0x2a +/* 80023E0C 00020D6C 38 60 00 2C */ li r3, 0x2c +/* 80023E10 00020D70 38 A0 00 00 */ li r5, 0 +/* 80023E14 00020D74 48 2F 1A 59 */ bl __nw__FUlPCcPCc +/* 80023E18 00020D78 7C 64 1B 79 */ or. r4, r3, r3 +/* 80023E1C 00020D7C 41 82 00 48 */ beq lbl_80023E64 +/* 80023E20 00020D80 81 1D 00 14 */ lwz r8, 0x14(r29) +/* 80023E24 00020D84 7F C6 F3 78 */ mr r6, r30 +/* 80023E28 00020D88 38 81 00 18 */ addi r4, r1, 0x18 +/* 80023E2C 00020D8C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80023E30 00020D90 91 01 00 18 */ stw r8, 0x18(r1) +/* 80023E34 00020D94 3B 20 00 01 */ li r25, 1 +/* 80023E38 00020D98 3B 00 00 01 */ li r24, 1 +/* 80023E3C 00020D9C 80 E8 00 04 */ lwz r7, 4(r8) +/* 80023E40 00020DA0 38 07 00 01 */ addi r0, r7, 1 +/* 80023E44 00020DA4 90 08 00 04 */ stw r0, 4(r8) +/* 80023E48 00020DA8 81 1D 00 18 */ lwz r8, 0x18(r29) +/* 80023E4C 00020DAC 91 01 00 1C */ stw r8, 0x1c(r1) +/* 80023E50 00020DB0 80 E8 00 04 */ lwz r7, 4(r8) +/* 80023E54 00020DB4 38 07 00 01 */ addi r0, r7, 1 +/* 80023E58 00020DB8 90 08 00 04 */ stw r0, 4(r8) +/* 80023E5C 00020DBC 48 00 10 E1 */ bl "__ct__7CMFGameFQ24rstl25ncrc_ptr<13CStateManager>Q24rstl29ncrc_ptr<17CInGameGuiManager>R18CArchitectureQueue" +/* 80023E60 00020DC0 7C 64 1B 78 */ mr r4, r3 +lbl_80023E64: +/* 80023E64 00020DC4 7F 20 07 75 */ extsb. r0, r25 +/* 80023E68 00020DC8 90 81 00 28 */ stw r4, 0x28(r1) +/* 80023E6C 00020DCC 41 82 00 0C */ beq lbl_80023E78 +/* 80023E70 00020DD0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80023E74 00020DD4 48 00 12 0D */ bl sub_80025080 +lbl_80023E78: +/* 80023E78 00020DD8 7F 00 07 75 */ extsb. r0, r24 +/* 80023E7C 00020DDC 41 82 00 0C */ beq lbl_80023E88 +/* 80023E80 00020DE0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80023E84 00020DE4 48 00 11 A1 */ bl sub_80025024 +lbl_80023E88: +/* 80023E88 00020DE8 38 61 00 30 */ addi r3, r1, 0x30 +/* 80023E8C 00020DEC 38 E1 00 28 */ addi r7, r1, 0x28 +/* 80023E90 00020DF0 38 80 00 00 */ li r4, 0 +/* 80023E94 00020DF4 38 AD 81 8C */ addi r5, r13, lbl_805A6D4C@sda21 +/* 80023E98 00020DF8 38 CD 81 90 */ addi r6, r13, lbl_805A6D50@sda21 +/* 80023E9C 00020DFC 48 02 DE 11 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin +/* 80023EA0 00020E00 7F C3 F3 78 */ mr r3, r30 +/* 80023EA4 00020E04 38 81 00 30 */ addi r4, r1, 0x30 +/* 80023EA8 00020E08 4B FE 2E 59 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 80023EAC 00020E0C 34 61 00 38 */ addic. r3, r1, 0x38 +/* 80023EB0 00020E10 41 82 00 08 */ beq lbl_80023EB8 +/* 80023EB4 00020E14 4B FE 48 59 */ bl sub_8000870c +lbl_80023EB8: +/* 80023EB8 00020E18 48 33 14 BD */ bl EnableTextureTimeout__6CModelFv +/* 80023EBC 00020E1C 38 60 00 02 */ li r3, 2 +/* 80023EC0 00020E20 48 00 00 08 */ b lbl_80023EC8 +lbl_80023EC4: +/* 80023EC4 00020E24 38 60 00 01 */ li r3, 1 +lbl_80023EC8: +/* 80023EC8 00020E28 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80023ECC 00020E2C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80023ED0 00020E30 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 80023ED4 00020E34 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80023ED8 00020E38 7C 08 03 A6 */ mtlr r0 +/* 80023EDC 00020E3C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80023EE0 00020E40 4E 80 00 20 */ blr + +.global MakeLoadDependancyList__13CMFGameLoaderFv +MakeLoadDependancyList__13CMFGameLoaderFv: +/* 80023EE4 00020E44 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80023EE8 00020E48 7C 08 02 A6 */ mflr r0 +/* 80023EEC 00020E4C 3C 80 80 3E */ lis r4, lbl_803D9988@ha +/* 80023EF0 00020E50 90 01 00 64 */ stw r0, 0x64(r1) +/* 80023EF4 00020E54 38 04 99 88 */ addi r0, r4, lbl_803D9988@l +/* 80023EF8 00020E58 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80023EFC 00020E5C 7C 7E 1B 78 */ mr r30, r3 +/* 80023F00 00020E60 3B 60 00 00 */ li r27, 0 +/* 80023F04 00020E64 7C 1C 03 78 */ mr r28, r0 +/* 80023F08 00020E68 48 00 00 3C */ b lbl_80023F44 +lbl_80023F0C: +/* 80023F0C 00020E6C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80023F10 00020E70 4B FE 0D A9 */ bl string_l__4rstlFPCc +/* 80023F14 00020E74 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80023F18 00020E78 38 81 00 30 */ addi r4, r1, 0x30 +/* 80023F1C 00020E7C 38 63 00 04 */ addi r3, r3, 4 +/* 80023F20 00020E80 48 31 74 1D */ bl "GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80023F24 00020E84 7C 7D 1B 78 */ mr r29, r3 +/* 80023F28 00020E88 38 61 00 30 */ addi r3, r1, 0x30 +/* 80023F2C 00020E8C 48 31 9B B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80023F30 00020E90 28 1D 00 00 */ cmplwi r29, 0 +/* 80023F34 00020E94 41 82 00 0C */ beq lbl_80023F40 +/* 80023F38 00020E98 80 1D 00 04 */ lwz r0, 4(r29) +/* 80023F3C 00020E9C 7F 7B 02 14 */ add r27, r27, r0 +lbl_80023F40: +/* 80023F40 00020EA0 3B 9C 00 04 */ addi r28, r28, 4 +lbl_80023F44: +/* 80023F44 00020EA4 80 9C 00 00 */ lwz r4, 0(r28) +/* 80023F48 00020EA8 28 04 00 00 */ cmplwi r4, 0 +/* 80023F4C 00020EAC 40 82 FF C0 */ bne lbl_80023F0C +/* 80023F50 00020EB0 7F 64 DB 78 */ mr r4, r27 +/* 80023F54 00020EB4 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80023F58 00020EB8 4B FE 4A 05 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 80023F5C 00020EBC 3C 60 80 3E */ lis r3, lbl_803D9988@ha +/* 80023F60 00020EC0 38 03 99 88 */ addi r0, r3, lbl_803D9988@l +/* 80023F64 00020EC4 7C 1F 03 78 */ mr r31, r0 +/* 80023F68 00020EC8 48 00 01 04 */ b lbl_8002406C +lbl_80023F6C: +/* 80023F6C 00020ECC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80023F70 00020ED0 4B FE 0D 49 */ bl string_l__4rstlFPCc +/* 80023F74 00020ED4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80023F78 00020ED8 38 81 00 20 */ addi r4, r1, 0x20 +/* 80023F7C 00020EDC 38 63 00 04 */ addi r3, r3, 4 +/* 80023F80 00020EE0 48 31 73 BD */ bl "GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80023F84 00020EE4 7C 7D 1B 78 */ mr r29, r3 +/* 80023F88 00020EE8 38 61 00 20 */ addi r3, r1, 0x20 +/* 80023F8C 00020EEC 48 31 9B 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80023F90 00020EF0 28 1D 00 00 */ cmplwi r29, 0 +/* 80023F94 00020EF4 41 82 00 D4 */ beq lbl_80024068 +/* 80023F98 00020EF8 83 9D 00 0C */ lwz r28, 0xc(r29) +/* 80023F9C 00020EFC 48 00 00 B4 */ b lbl_80024050 +lbl_80023FA0: +/* 80023FA0 00020F00 83 7C 00 00 */ lwz r27, 0(r28) +/* 80023FA4 00020F04 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80023FA8 00020F08 7F 64 DB 78 */ mr r4, r27 +/* 80023FAC 00020F0C 38 63 00 04 */ addi r3, r3, 4 +/* 80023FB0 00020F10 48 31 7D 1D */ bl GetResourceTypeById__10CResLoaderCFUi +/* 80023FB4 00020F14 90 61 00 18 */ stw r3, 0x18(r1) +/* 80023FB8 00020F18 38 61 00 08 */ addi r3, r1, 8 +/* 80023FBC 00020F1C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80023FC0 00020F20 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80023FC4 00020F24 93 61 00 1C */ stw r27, 0x1c(r1) +/* 80023FC8 00020F28 81 84 00 00 */ lwz r12, 0(r4) +/* 80023FCC 00020F2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80023FD0 00020F30 7D 89 03 A6 */ mtctr r12 +/* 80023FD4 00020F34 4E 80 04 21 */ bctrl +/* 80023FD8 00020F38 38 61 00 10 */ addi r3, r1, 0x10 +/* 80023FDC 00020F3C 38 81 00 08 */ addi r4, r1, 8 +/* 80023FE0 00020F40 48 31 CE C9 */ bl __ct__6CTokenFRC6CToken +/* 80023FE4 00020F44 38 61 00 08 */ addi r3, r1, 8 +/* 80023FE8 00020F48 38 80 FF FF */ li r4, -1 +/* 80023FEC 00020F4C 48 31 CE 55 */ bl __dt__6CTokenFv +/* 80023FF0 00020F50 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 80023FF4 00020F54 80 BE 00 24 */ lwz r5, 0x24(r30) +/* 80023FF8 00020F58 7C 00 28 00 */ cmpw r0, r5 +/* 80023FFC 00020F5C 41 80 00 1C */ blt lbl_80024018 +/* 80024000 00020F60 2C 05 00 00 */ cmpwi r5, 0 +/* 80024004 00020F64 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80024008 00020F68 38 80 00 04 */ li r4, 4 +/* 8002400C 00020F6C 41 82 00 08 */ beq lbl_80024014 +/* 80024010 00020F70 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80024014: +/* 80024014 00020F74 4B FE 49 49 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_80024018: +/* 80024018 00020F78 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 8002401C 00020F7C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80024020 00020F80 54 00 18 38 */ slwi r0, r0, 3 +/* 80024024 00020F84 7C 63 02 15 */ add. r3, r3, r0 +/* 80024028 00020F88 41 82 00 0C */ beq lbl_80024034 +/* 8002402C 00020F8C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80024030 00020F90 48 31 CE 79 */ bl __ct__6CTokenFRC6CToken +lbl_80024034: +/* 80024034 00020F94 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 80024038 00020F98 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002403C 00020F9C 38 80 FF FF */ li r4, -1 +/* 80024040 00020FA0 38 05 00 01 */ addi r0, r5, 1 +/* 80024044 00020FA4 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80024048 00020FA8 48 31 CD F9 */ bl __dt__6CTokenFv +/* 8002404C 00020FAC 3B 9C 00 04 */ addi r28, r28, 4 +lbl_80024050: +/* 80024050 00020FB0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80024054 00020FB4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80024058 00020FB8 54 00 10 3A */ slwi r0, r0, 2 +/* 8002405C 00020FBC 7C 03 02 14 */ add r0, r3, r0 +/* 80024060 00020FC0 7C 1C 00 40 */ cmplw r28, r0 +/* 80024064 00020FC4 40 82 FF 3C */ bne lbl_80023FA0 +lbl_80024068: +/* 80024068 00020FC8 3B FF 00 04 */ addi r31, r31, 4 +lbl_8002406C: +/* 8002406C 00020FCC 80 9F 00 00 */ lwz r4, 0(r31) +/* 80024070 00020FD0 28 04 00 00 */ cmplwi r4, 0 +/* 80024074 00020FD4 40 82 FE F8 */ bne lbl_80023F6C +/* 80024078 00020FD8 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 8002407C 00020FDC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80024080 00020FE0 7C 08 03 A6 */ mtlr r0 +/* 80024084 00020FE4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80024088 00020FE8 4E 80 00 20 */ blr + +.global __dt__13CMFGameLoaderFv +__dt__13CMFGameLoaderFv: +/* 8002408C 00020FEC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80024090 00020FF0 7C 08 02 A6 */ mflr r0 +/* 80024094 00020FF4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80024098 00020FF8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8002409C 00020FFC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800240A0 00021000 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800240A4 00021004 7C 9D 23 78 */ mr r29, r4 +/* 800240A8 00021008 93 81 00 20 */ stw r28, 0x20(r1) +/* 800240AC 0002100C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800240B0 00021010 41 82 00 C0 */ beq lbl_80024170 +/* 800240B4 00021014 3C 80 80 3E */ lis r4, lbl_803D9998@ha +/* 800240B8 00021018 38 60 00 01 */ li r3, 1 +/* 800240BC 0002101C 38 04 99 98 */ addi r0, r4, lbl_803D9998@l +/* 800240C0 00021020 90 1C 00 00 */ stw r0, 0(r28) +/* 800240C4 00021024 48 2E 53 E5 */ bl SetIsBeginSceneClearFb__9CGraphicsFb +/* 800240C8 00021028 38 60 00 02 */ li r3, 2 +/* 800240CC 0002102C 34 1C 00 1C */ addic. r0, r28, 0x1c +/* 800240D0 00021030 90 6D 9D 48 */ stw r3, lbl_805A8908@sda21(r13) +/* 800240D4 00021034 41 82 00 50 */ beq lbl_80024124 +/* 800240D8 00021038 80 1C 00 20 */ lwz r0, 0x20(r28) +/* 800240DC 0002103C 83 DC 00 28 */ lwz r30, 0x28(r28) +/* 800240E0 00021040 54 00 18 38 */ slwi r0, r0, 3 +/* 800240E4 00021044 7F FE 02 14 */ add r31, r30, r0 +/* 800240E8 00021048 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800240EC 0002104C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800240F0 00021050 93 E1 00 10 */ stw r31, 0x10(r1) +/* 800240F4 00021054 93 C1 00 08 */ stw r30, 8(r1) +/* 800240F8 00021058 48 00 00 14 */ b lbl_8002410C +lbl_800240FC: +/* 800240FC 0002105C 7F C3 F3 78 */ mr r3, r30 +/* 80024100 00021060 38 80 FF FF */ li r4, -1 +/* 80024104 00021064 48 31 CD 3D */ bl __dt__6CTokenFv +/* 80024108 00021068 3B DE 00 08 */ addi r30, r30, 8 +lbl_8002410C: +/* 8002410C 0002106C 7C 1E F8 40 */ cmplw r30, r31 +/* 80024110 00021070 40 82 FF EC */ bne lbl_800240FC +/* 80024114 00021074 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80024118 00021078 28 03 00 00 */ cmplwi r3, 0 +/* 8002411C 0002107C 41 82 00 08 */ beq lbl_80024124 +/* 80024120 00021080 48 2F 18 11 */ bl Free__7CMemoryFPCv +lbl_80024124: +/* 80024124 00021084 34 1C 00 18 */ addic. r0, r28, 0x18 +/* 80024128 00021088 41 82 00 14 */ beq lbl_8002413C +/* 8002412C 0002108C 34 1C 00 18 */ addic. r0, r28, 0x18 +/* 80024130 00021090 41 82 00 0C */ beq lbl_8002413C +/* 80024134 00021094 38 7C 00 18 */ addi r3, r28, 0x18 +/* 80024138 00021098 48 00 0E ED */ bl sub_80025024 +lbl_8002413C: +/* 8002413C 0002109C 34 1C 00 14 */ addic. r0, r28, 0x14 +/* 80024140 000210A0 41 82 00 14 */ beq lbl_80024154 +/* 80024144 000210A4 34 1C 00 14 */ addic. r0, r28, 0x14 +/* 80024148 000210A8 41 82 00 0C */ beq lbl_80024154 +/* 8002414C 000210AC 38 7C 00 14 */ addi r3, r28, 0x14 +/* 80024150 000210B0 48 00 0F 31 */ bl sub_80025080 +lbl_80024154: +/* 80024154 000210B4 7F 83 E3 78 */ mr r3, r28 +/* 80024158 000210B8 38 80 00 00 */ li r4, 0 +/* 8002415C 000210BC 48 02 EA 49 */ bl __dt__6CIOWinFv +/* 80024160 000210C0 7F A0 07 35 */ extsh. r0, r29 +/* 80024164 000210C4 40 81 00 0C */ ble lbl_80024170 +/* 80024168 000210C8 7F 83 E3 78 */ mr r3, r28 +/* 8002416C 000210CC 48 2F 17 C5 */ bl Free__7CMemoryFPCv +lbl_80024170: +/* 80024170 000210D0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80024174 000210D4 7F 83 E3 78 */ mr r3, r28 +/* 80024178 000210D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8002417C 000210DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80024180 000210E0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80024184 000210E4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80024188 000210E8 7C 08 03 A6 */ mtlr r0 +/* 8002418C 000210EC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80024190 000210F0 4E 80 00 20 */ blr + +.global __ct__13CMFGameLoaderFv +__ct__13CMFGameLoaderFv: +/* 80024194 000210F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80024198 000210F8 7C 08 02 A6 */ mflr r0 +/* 8002419C 000210FC 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha +/* 800241A0 00021100 90 01 00 34 */ stw r0, 0x34(r1) +/* 800241A4 00021104 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l +/* 800241A8 00021108 38 84 00 31 */ addi r4, r4, 0x31 +/* 800241AC 0002110C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800241B0 00021110 7C 7F 1B 78 */ mr r31, r3 +/* 800241B4 00021114 38 61 00 0C */ addi r3, r1, 0xc +/* 800241B8 00021118 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800241BC 0002111C 4B FE 0A FD */ bl string_l__4rstlFPCc +/* 800241C0 00021120 7F E3 FB 78 */ mr r3, r31 +/* 800241C4 00021124 38 81 00 0C */ addi r4, r1, 0xc +/* 800241C8 00021128 48 02 EA 45 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800241CC 0002112C 38 61 00 0C */ addi r3, r1, 0xc +/* 800241D0 00021130 48 31 99 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800241D4 00021134 3C 60 80 3E */ lis r3, lbl_803D9998@ha +/* 800241D8 00021138 38 CD A9 28 */ addi r6, r13, lbl_805A94E8@sda21 +/* 800241DC 0002113C 38 03 99 98 */ addi r0, r3, lbl_803D9998@l +/* 800241E0 00021140 38 80 00 00 */ li r4, 0 +/* 800241E4 00021144 90 1F 00 00 */ stw r0, 0(r31) +/* 800241E8 00021148 38 00 00 01 */ li r0, 1 +/* 800241EC 0002114C 90 DF 00 14 */ stw r6, 0x14(r31) +/* 800241F0 00021150 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 800241F4 00021154 80 65 00 04 */ lwz r3, 4(r5) +/* 800241F8 00021158 38 63 00 01 */ addi r3, r3, 1 +/* 800241FC 0002115C 90 65 00 04 */ stw r3, 4(r5) +/* 80024200 00021160 90 DF 00 18 */ stw r6, 0x18(r31) +/* 80024204 00021164 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 80024208 00021168 80 65 00 04 */ lwz r3, 4(r5) +/* 8002420C 0002116C 38 63 00 01 */ addi r3, r3, 1 +/* 80024210 00021170 90 65 00 04 */ stw r3, 4(r5) +/* 80024214 00021174 90 9F 00 20 */ stw r4, 0x20(r31) +/* 80024218 00021178 90 9F 00 24 */ stw r4, 0x24(r31) +/* 8002421C 0002117C 90 9F 00 28 */ stw r4, 0x28(r31) +/* 80024220 00021180 88 7F 00 2C */ lbz r3, 0x2c(r31) +/* 80024224 00021184 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 80024228 00021188 98 7F 00 2C */ stb r3, 0x2c(r31) +/* 8002422C 0002118C 88 7F 00 2C */ lbz r3, 0x2c(r31) +/* 80024230 00021190 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 80024234 00021194 98 7F 00 2C */ stb r3, 0x2c(r31) +/* 80024238 00021198 90 0D 9D 48 */ stw r0, lbl_805A8908@sda21(r13) +/* 8002423C 0002119C 48 33 11 45 */ bl DisableTextureTimeout__6CModelFv +/* 80024240 000211A0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 80024244 000211A4 80 03 01 2C */ lwz r0, 0x12c(r3) +/* 80024248 000211A8 2C 00 00 05 */ cmpwi r0, 5 +/* 8002424C 000211AC 41 82 00 0C */ beq lbl_80024258 +/* 80024250 000211B0 2C 00 00 06 */ cmpwi r0, 6 +/* 80024254 000211B4 40 82 00 7C */ bne lbl_800242D0 +lbl_80024258: +/* 80024258 000211B8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8002425C 000211BC 48 1A F7 75 */ bl CurrentWorldAssetId__10CGameStateCFv +/* 80024260 000211C0 7C 60 1B 78 */ mr r0, r3 +/* 80024264 000211C4 80 6D A0 84 */ lwz r3, gpMemoryCard@sda21(r13) +/* 80024268 000211C8 7C 1E 03 78 */ mr r30, r0 +/* 8002426C 000211CC 7F C4 F3 78 */ mr r4, r30 +/* 80024270 000211D0 48 22 4D 49 */ bl HasSaveWorldMemory__15CMemoryCardSysFi +/* 80024274 000211D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80024278 000211D8 41 82 00 58 */ beq lbl_800242D0 +/* 8002427C 000211DC 80 6D A0 84 */ lwz r3, gpMemoryCard@sda21(r13) +/* 80024280 000211E0 7F C4 F3 78 */ mr r4, r30 +/* 80024284 000211E4 48 22 4C 89 */ bl GetSaveWorldMemory__14CMemoryCardSysCFi +/* 80024288 000211E8 7C 7E 1B 78 */ mr r30, r3 +/* 8002428C 000211EC 80 63 00 00 */ lwz r3, 0(r3) +/* 80024290 000211F0 3C 03 00 01 */ addis r0, r3, 1 +/* 80024294 000211F4 28 00 FF FF */ cmplwi r0, 0xffff +/* 80024298 000211F8 41 82 00 38 */ beq lbl_800242D0 +/* 8002429C 000211FC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800242A0 00021200 48 1A F6 79 */ bl WorldTransitionManager__10CGameStateFv +/* 800242A4 00021204 80 C3 00 00 */ lwz r6, 0(r3) +/* 800242A8 00021208 3C 60 B7 BC */ lis r3, 0xB7BBD0B4@ha +/* 800242AC 0002120C 80 BE 00 00 */ lwz r5, 0(r30) +/* 800242B0 00021210 38 83 D0 B4 */ addi r4, r3, 0xB7BBD0B4@l +/* 800242B4 00021214 80 66 00 00 */ lwz r3, 0(r6) +/* 800242B8 00021218 38 C0 00 01 */ li r6, 1 +/* 800242BC 0002121C C0 22 83 00 */ lfs f1, lbl_805AA020@sda21(r2) +/* 800242C0 00021220 38 E0 00 00 */ li r7, 0 +/* 800242C4 00021224 C0 42 83 04 */ lfs f2, lbl_805AA024@sda21(r2) +/* 800242C8 00021228 C0 62 83 08 */ lfs f3, lbl_805AA028@sda21(r2) +/* 800242CC 0002122C 48 1E 53 25 */ bl EnableTransition__18CWorldTransManagerFviibbfff +lbl_800242D0: +/* 800242D0 00021230 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800242D4 00021234 48 1A F6 FD */ bl CurrentWorldAssetId__10CGameStateCFv +/* 800242D8 00021238 38 8D A0 F8 */ addi r4, r13, lbl_805A8CB8@sda21 +/* 800242DC 0002123C 80 04 00 04 */ lwz r0, 4(r4) +/* 800242E0 00021240 7C 03 00 40 */ cmplw r3, r0 +/* 800242E4 00021244 40 82 00 7C */ bne lbl_80024360 +/* 800242E8 00021248 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800242EC 0002124C 48 1A F6 9D */ bl GetCurrentWorldState__10CGameStateCFv +/* 800242F0 00021250 7C 64 1B 78 */ mr r4, r3 +/* 800242F4 00021254 38 61 00 08 */ addi r3, r1, 8 +/* 800242F8 00021258 48 1B 0A 61 */ bl GetCurrentArea__11CWorldStateCFv +/* 800242FC 0002125C 80 01 00 08 */ lwz r0, 8(r1) +/* 80024300 00021260 2C 00 00 00 */ cmpwi r0, 0 +/* 80024304 00021264 40 82 00 5C */ bne lbl_80024360 +/* 80024308 00021268 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8002430C 0002126C 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha +/* 80024310 00021270 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l +/* 80024314 00021274 81 83 00 00 */ lwz r12, 0(r3) +/* 80024318 00021278 38 84 00 3F */ addi r4, r4, 0x3f +/* 8002431C 0002127C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80024320 00021280 7D 89 03 A6 */ mtctr r12 +/* 80024324 00021284 4E 80 04 21 */ bctrl +/* 80024328 00021288 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8002432C 0002128C 41 82 00 34 */ beq lbl_80024360 +/* 80024330 00021290 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80024334 00021294 48 1A F5 E5 */ bl WorldTransitionManager__10CGameStateFv +/* 80024338 00021298 80 63 00 00 */ lwz r3, 0(r3) +/* 8002433C 0002129C 38 80 FF FF */ li r4, -1 +/* 80024340 000212A0 80 BE 00 04 */ lwz r5, 4(r30) +/* 80024344 000212A4 38 C0 00 00 */ li r6, 0 +/* 80024348 000212A8 80 63 00 00 */ lwz r3, 0(r3) +/* 8002434C 000212AC 38 E0 00 00 */ li r7, 0 +/* 80024350 000212B0 C0 22 83 00 */ lfs f1, lbl_805AA020@sda21(r2) +/* 80024354 000212B4 C0 42 83 04 */ lfs f2, lbl_805AA024@sda21(r2) +/* 80024358 000212B8 C0 62 83 08 */ lfs f3, lbl_805AA028@sda21(r2) +/* 8002435C 000212BC 48 1E 52 95 */ bl EnableTransition__18CWorldTransManagerFviibbfff +lbl_80024360: +/* 80024360 000212C0 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 80024364 000212C4 38 60 00 01 */ li r3, 1 +/* 80024368 000212C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8002436C 000212CC 7F E3 FB 78 */ mr r3, r31 +/* 80024370 000212D0 98 1F 00 2C */ stb r0, 0x2c(r31) +/* 80024374 000212D4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80024378 000212D8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8002437C 000212DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80024380 000212E0 7C 08 03 A6 */ mtlr r0 +/* 80024384 000212E4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80024388 000212E8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CMainFlow.s b/asm/Kyoto_CWD/CMainFlow.s new file mode 100644 index 00000000..45432b63 --- /dev/null +++ b/asm/Kyoto_CWD/CMainFlow.s @@ -0,0 +1,368 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __dt__9CMainFlowFv +__dt__9CMainFlowFv: +/* 80023524 00020484 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80023528 00020488 7C 08 02 A6 */ mflr r0 +/* 8002352C 0002048C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80023530 00020490 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80023534 00020494 7C 9F 23 78 */ mr r31, r4 +/* 80023538 00020498 93 C1 00 08 */ stw r30, 8(r1) +/* 8002353C 0002049C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80023540 000204A0 41 82 00 28 */ beq lbl_80023568 +/* 80023544 000204A4 3C A0 80 3E */ lis r5, lbl_803D9928@ha +/* 80023548 000204A8 38 80 00 00 */ li r4, 0 +/* 8002354C 000204AC 38 05 99 28 */ addi r0, r5, lbl_803D9928@l +/* 80023550 000204B0 90 1E 00 00 */ stw r0, 0(r30) +/* 80023554 000204B4 48 02 F6 51 */ bl __dt__6CIOWinFv +/* 80023558 000204B8 7F E0 07 35 */ extsh. r0, r31 +/* 8002355C 000204BC 40 81 00 0C */ ble lbl_80023568 +/* 80023560 000204C0 7F C3 F3 78 */ mr r3, r30 +/* 80023564 000204C4 48 2F 23 CD */ bl Free__7CMemoryFPCv +lbl_80023568: +/* 80023568 000204C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002356C 000204CC 7F C3 F3 78 */ mr r3, r30 +/* 80023570 000204D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80023574 000204D4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80023578 000204D8 7C 08 03 A6 */ mtlr r0 +/* 8002357C 000204DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80023580 000204E0 4E 80 00 20 */ blr + +.global SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue +SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue: +/* 80023584 000204E4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80023588 000204E8 7C 08 02 A6 */ mflr r0 +/* 8002358C 000204EC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80023590 000204F0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80023594 000204F4 7C BF 2B 78 */ mr r31, r5 +/* 80023598 000204F8 90 83 00 14 */ stw r4, 0x14(r3) +/* 8002359C 000204FC 80 03 00 14 */ lwz r0, 0x14(r3) +/* 800235A0 00020500 2C 00 00 0E */ cmpwi r0, 0xe +/* 800235A4 00020504 41 82 02 2C */ beq lbl_800237D0 +/* 800235A8 00020508 40 80 00 1C */ bge lbl_800235C4 +/* 800235AC 0002050C 2C 00 00 08 */ cmpwi r0, 8 +/* 800235B0 00020510 41 82 01 80 */ beq lbl_80023730 +/* 800235B4 00020514 40 80 02 8C */ bge lbl_80023840 +/* 800235B8 00020518 2C 00 00 07 */ cmpwi r0, 7 +/* 800235BC 0002051C 40 80 01 08 */ bge lbl_800236C4 +/* 800235C0 00020520 48 00 02 80 */ b lbl_80023840 +lbl_800235C4: +/* 800235C4 00020524 2C 00 00 10 */ cmpwi r0, 0x10 +/* 800235C8 00020528 40 80 02 78 */ bge lbl_80023840 +/* 800235CC 0002052C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 800235D0 00020530 38 00 00 00 */ li r0, 0 +/* 800235D4 00020534 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 800235D8 00020538 2C 03 00 01 */ cmpwi r3, 1 +/* 800235DC 0002053C 41 80 00 10 */ blt lbl_800235EC +/* 800235E0 00020540 2C 03 00 04 */ cmpwi r3, 4 +/* 800235E4 00020544 41 81 00 08 */ bgt lbl_800235EC +/* 800235E8 00020548 38 00 00 01 */ li r0, 1 +lbl_800235EC: +/* 800235EC 0002054C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800235F0 00020550 41 82 02 50 */ beq lbl_80023840 +/* 800235F4 00020554 2C 03 00 04 */ cmpwi r3, 4 +/* 800235F8 00020558 40 80 00 6C */ bge lbl_80023664 +/* 800235FC 0002055C 2C 03 00 01 */ cmpwi r3, 1 +/* 80023600 00020560 40 80 00 08 */ bge lbl_80023608 +/* 80023604 00020564 48 00 00 60 */ b lbl_80023664 +lbl_80023608: +/* 80023608 00020568 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha +/* 8002360C 0002056C 38 60 00 60 */ li r3, 0x60 +/* 80023610 00020570 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l +/* 80023614 00020574 38 A0 00 00 */ li r5, 0 +/* 80023618 00020578 48 2F 22 55 */ bl __nw__FUlPCcPCc +/* 8002361C 0002057C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80023620 00020580 41 82 00 0C */ beq lbl_8002362C +/* 80023624 00020584 48 00 2C 99 */ bl __ct__8CCreditsFv +/* 80023628 00020588 7C 60 1B 78 */ mr r0, r3 +lbl_8002362C: +/* 8002362C 0002058C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80023630 00020590 38 61 00 4C */ addi r3, r1, 0x4c +/* 80023634 00020594 38 E1 00 18 */ addi r7, r1, 0x18 +/* 80023638 00020598 38 80 00 00 */ li r4, 0 +/* 8002363C 0002059C 38 AD 81 60 */ addi r5, r13, lbl_805A6D20@sda21 +/* 80023640 000205A0 38 CD 81 64 */ addi r6, r13, lbl_805A6D24@sda21 +/* 80023644 000205A4 48 02 E6 69 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin +/* 80023648 000205A8 7F E3 FB 78 */ mr r3, r31 +/* 8002364C 000205AC 38 81 00 4C */ addi r4, r1, 0x4c +/* 80023650 000205B0 4B FE 36 B1 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 80023654 000205B4 34 61 00 54 */ addic. r3, r1, 0x54 +/* 80023658 000205B8 41 82 01 E8 */ beq lbl_80023840 +/* 8002365C 000205BC 4B FE 50 B1 */ bl sub_8000870c +/* 80023660 000205C0 48 00 01 E0 */ b lbl_80023840 +lbl_80023664: +/* 80023664 000205C4 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha +/* 80023668 000205C8 38 60 00 7C */ li r3, 0x7c +/* 8002366C 000205CC 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l +/* 80023670 000205D0 38 A0 00 00 */ li r5, 0 +/* 80023674 000205D4 48 2F 21 F9 */ bl __nw__FUlPCcPCc +/* 80023678 000205D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8002367C 000205DC 41 82 00 10 */ beq lbl_8002368C +/* 80023680 000205E0 38 80 00 03 */ li r4, 3 +/* 80023684 000205E4 48 00 40 E1 */ bl __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie +/* 80023688 000205E8 7C 60 1B 78 */ mr r0, r3 +lbl_8002368C: +/* 8002368C 000205EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80023690 000205F0 38 61 00 40 */ addi r3, r1, 0x40 +/* 80023694 000205F4 38 E1 00 14 */ addi r7, r1, 0x14 +/* 80023698 000205F8 38 80 00 00 */ li r4, 0 +/* 8002369C 000205FC 38 AD 81 68 */ addi r5, r13, lbl_805A6D28@sda21 +/* 800236A0 00020600 38 CD 81 6C */ addi r6, r13, lbl_805A6D2C@sda21 +/* 800236A4 00020604 48 02 E6 09 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin +/* 800236A8 00020608 7F E3 FB 78 */ mr r3, r31 +/* 800236AC 0002060C 38 81 00 40 */ addi r4, r1, 0x40 +/* 800236B0 00020610 4B FE 36 51 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 800236B4 00020614 34 61 00 48 */ addic. r3, r1, 0x48 +/* 800236B8 00020618 41 82 01 88 */ beq lbl_80023840 +/* 800236BC 0002061C 4B FE 50 51 */ bl sub_8000870c +/* 800236C0 00020620 48 00 01 80 */ b lbl_80023840 +lbl_800236C4: +/* 800236C4 00020624 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 800236C8 00020628 80 03 01 2C */ lwz r0, 0x12c(r3) +/* 800236CC 0002062C 2C 00 00 00 */ cmpwi r0, 0 +/* 800236D0 00020630 41 82 01 70 */ beq lbl_80023840 +/* 800236D4 00020634 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha +/* 800236D8 00020638 38 60 00 18 */ li r3, 0x18 +/* 800236DC 0002063C 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l +/* 800236E0 00020640 38 A0 00 00 */ li r5, 0 +/* 800236E4 00020644 48 2F 21 89 */ bl __nw__FUlPCcPCc +/* 800236E8 00020648 7C 60 1B 79 */ or. r0, r3, r3 +/* 800236EC 0002064C 41 82 00 0C */ beq lbl_800236F8 +/* 800236F0 00020650 48 27 AE F1 */ bl __ct__12CPreFrontEndFv +/* 800236F4 00020654 7C 60 1B 78 */ mr r0, r3 +lbl_800236F8: +/* 800236F8 00020658 90 01 00 10 */ stw r0, 0x10(r1) +/* 800236FC 0002065C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80023700 00020660 38 E1 00 10 */ addi r7, r1, 0x10 +/* 80023704 00020664 38 80 00 00 */ li r4, 0 +/* 80023708 00020668 38 AD 81 70 */ addi r5, r13, lbl_805A6D30@sda21 +/* 8002370C 0002066C 38 CD 81 74 */ addi r6, r13, lbl_805A6D34@sda21 +/* 80023710 00020670 48 02 E5 9D */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin +/* 80023714 00020674 7F E3 FB 78 */ mr r3, r31 +/* 80023718 00020678 38 81 00 34 */ addi r4, r1, 0x34 +/* 8002371C 0002067C 4B FE 35 E5 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 80023720 00020680 34 61 00 3C */ addic. r3, r1, 0x3c +/* 80023724 00020684 41 82 01 1C */ beq lbl_80023840 +/* 80023728 00020688 4B FE 4F E5 */ bl sub_8000870c +/* 8002372C 0002068C 48 00 01 14 */ b lbl_80023840 +lbl_80023730: +/* 80023730 00020690 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 80023734 00020694 80 03 01 2C */ lwz r0, 0x12c(r3) +/* 80023738 00020698 2C 00 00 00 */ cmpwi r0, 0 +/* 8002373C 0002069C 41 82 01 04 */ beq lbl_80023840 +/* 80023740 000206A0 2C 00 00 06 */ cmpwi r0, 6 +/* 80023744 000206A4 40 82 00 30 */ bne lbl_80023774 +/* 80023748 000206A8 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha +/* 8002374C 000206AC 38 60 00 14 */ li r3, 0x14 +/* 80023750 000206B0 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l +/* 80023754 000206B4 38 A0 00 00 */ li r5, 0 +/* 80023758 000206B8 48 2F 21 15 */ bl __nw__FUlPCcPCc +/* 8002375C 000206BC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80023760 000206C0 41 82 00 0C */ beq lbl_8002376C +/* 80023764 000206C4 4B FF E3 35 */ bl __ct__16CStateSetterFlowFv +/* 80023768 000206C8 7C 60 1B 78 */ mr r0, r3 +lbl_8002376C: +/* 8002376C 000206CC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80023770 000206D0 48 00 00 2C */ b lbl_8002379C +lbl_80023774: +/* 80023774 000206D4 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha +/* 80023778 000206D8 38 60 00 F8 */ li r3, 0xf8 +/* 8002377C 000206DC 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l +/* 80023780 000206E0 38 A0 00 00 */ li r5, 0 +/* 80023784 000206E4 48 2F 20 E9 */ bl __nw__FUlPCcPCc +/* 80023788 000206E8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8002378C 000206EC 41 82 00 0C */ beq lbl_80023798 +/* 80023790 000206F0 4B FF A4 49 */ bl __ct__11CFrontEndUIFR18CArchitectureQueue +/* 80023794 000206F4 7C 60 1B 78 */ mr r0, r3 +lbl_80023798: +/* 80023798 000206F8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8002379C: +/* 8002379C 000206FC 38 61 00 28 */ addi r3, r1, 0x28 +/* 800237A0 00020700 38 E1 00 0C */ addi r7, r1, 0xc +/* 800237A4 00020704 38 80 00 00 */ li r4, 0 +/* 800237A8 00020708 38 AD 81 78 */ addi r5, r13, lbl_805A6D38@sda21 +/* 800237AC 0002070C 38 CD 81 7C */ addi r6, r13, lbl_805A6D3C@sda21 +/* 800237B0 00020710 48 02 E4 FD */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin +/* 800237B4 00020714 7F E3 FB 78 */ mr r3, r31 +/* 800237B8 00020718 38 81 00 28 */ addi r4, r1, 0x28 +/* 800237BC 0002071C 4B FE 35 45 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 800237C0 00020720 34 61 00 30 */ addic. r3, r1, 0x30 +/* 800237C4 00020724 41 82 00 7C */ beq lbl_80023840 +/* 800237C8 00020728 4B FE 4F 45 */ bl sub_8000870c +/* 800237CC 0002072C 48 00 00 74 */ b lbl_80023840 +lbl_800237D0: +/* 800237D0 00020730 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800237D4 00020734 38 63 01 7C */ addi r3, r3, 0x17c +/* 800237D8 00020738 48 1E B9 25 */ bl EnsureOptions__12CGameOptionsFv +/* 800237DC 0002073C 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha +/* 800237E0 00020740 38 60 00 30 */ li r3, 0x30 +/* 800237E4 00020744 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l +/* 800237E8 00020748 38 A0 00 00 */ li r5, 0 +/* 800237EC 0002074C 48 2F 20 81 */ bl __nw__FUlPCcPCc +/* 800237F0 00020750 7C 64 1B 79 */ or. r4, r3, r3 +/* 800237F4 00020754 41 82 00 0C */ beq lbl_80023800 +/* 800237F8 00020758 48 00 09 9D */ bl __ct__13CMFGameLoaderFv +/* 800237FC 0002075C 7C 64 1B 78 */ mr r4, r3 +lbl_80023800: +/* 80023800 00020760 80 AD A0 78 */ lwz r5, gpMain@sda21(r13) +/* 80023804 00020764 38 00 00 05 */ li r0, 5 +/* 80023808 00020768 90 81 00 08 */ stw r4, 8(r1) +/* 8002380C 0002076C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80023810 00020770 38 E1 00 08 */ addi r7, r1, 8 +/* 80023814 00020774 38 80 00 00 */ li r4, 0 +/* 80023818 00020778 90 05 01 2C */ stw r0, 0x12c(r5) +/* 8002381C 0002077C 38 AD 81 80 */ addi r5, r13, lbl_805A6D40@sda21 +/* 80023820 00020780 38 CD 81 84 */ addi r6, r13, lbl_805A6D44@sda21 +/* 80023824 00020784 48 02 E4 89 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin +/* 80023828 00020788 7F E3 FB 78 */ mr r3, r31 +/* 8002382C 0002078C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80023830 00020790 4B FE 34 D1 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 80023834 00020794 34 61 00 24 */ addic. r3, r1, 0x24 +/* 80023838 00020798 41 82 00 08 */ beq lbl_80023840 +/* 8002383C 0002079C 4B FE 4E D1 */ bl sub_8000870c +lbl_80023840: +/* 80023840 000207A0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80023844 000207A4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80023848 000207A8 7C 08 03 A6 */ mtlr r0 +/* 8002384C 000207AC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80023850 000207B0 4E 80 00 20 */ blr + +.global AdvanceGameState__9CMainFlowFR18CArchitectureQueue +AdvanceGameState__9CMainFlowFR18CArchitectureQueue: +/* 80023854 000207B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80023858 000207B8 7C 08 02 A6 */ mflr r0 +/* 8002385C 000207BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80023860 000207C0 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 80023864 000207C4 38 05 00 01 */ addi r0, r5, 1 +/* 80023868 000207C8 28 00 00 10 */ cmplwi r0, 0x10 +/* 8002386C 000207CC 41 81 00 80 */ bgt lbl_800238EC +/* 80023870 000207D0 3C A0 80 3E */ lis r5, lbl_803D9944@ha +/* 80023874 000207D4 54 00 10 3A */ slwi r0, r0, 2 +/* 80023878 000207D8 38 A5 99 44 */ addi r5, r5, lbl_803D9944@l +/* 8002387C 000207DC 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80023880 000207E0 7C 09 03 A6 */ mtctr r0 +/* 80023884 000207E4 4E 80 04 20 */ bctr +/* 80023888 000207E8 7C 85 23 78 */ mr r5, r4 +/* 8002388C 000207EC 38 80 00 0F */ li r4, 0xf +/* 80023890 000207F0 4B FF FC F5 */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue +/* 80023894 000207F4 48 00 00 58 */ b lbl_800238EC +/* 80023898 000207F8 7C 85 23 78 */ mr r5, r4 +/* 8002389C 000207FC 38 80 00 08 */ li r4, 8 +/* 800238A0 00020800 4B FF FC E5 */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue +/* 800238A4 00020804 48 00 00 48 */ b lbl_800238EC +/* 800238A8 00020808 7C 85 23 78 */ mr r5, r4 +/* 800238AC 0002080C 38 80 00 0E */ li r4, 0xe +/* 800238B0 00020810 4B FF FC D5 */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue +/* 800238B4 00020814 48 00 00 38 */ b lbl_800238EC +/* 800238B8 00020818 80 CD A0 78 */ lwz r6, gpMain@sda21(r13) +/* 800238BC 0002081C 80 06 01 2C */ lwz r0, 0x12c(r6) +/* 800238C0 00020820 2C 00 00 00 */ cmpwi r0, 0 +/* 800238C4 00020824 41 82 00 1C */ beq lbl_800238E0 +/* 800238C8 00020828 2C 00 00 06 */ cmpwi r0, 6 +/* 800238CC 0002082C 41 82 00 14 */ beq lbl_800238E0 +/* 800238D0 00020830 88 06 01 60 */ lbz r0, 0x160(r6) +/* 800238D4 00020834 38 A0 00 01 */ li r5, 1 +/* 800238D8 00020838 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 800238DC 0002083C 98 06 01 60 */ stb r0, 0x160(r6) +lbl_800238E0: +/* 800238E0 00020840 7C 85 23 78 */ mr r5, r4 +/* 800238E4 00020844 38 80 00 07 */ li r4, 7 +/* 800238E8 00020848 4B FF FC 9D */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue +lbl_800238EC: +/* 800238EC 0002084C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800238F0 00020850 7C 08 03 A6 */ mtlr r0 +/* 800238F4 00020854 38 21 00 10 */ addi r1, r1, 0x10 +/* 800238F8 00020858 4E 80 00 20 */ blr + +.global Draw__9CMainFlowCFv +Draw__9CMainFlowCFv: +/* 800238FC 0002085C 4E 80 00 20 */ blr + +.global GetIsContinueDraw__9CMainFlowCFv +GetIsContinueDraw__9CMainFlowCFv: +/* 80023900 00020860 38 60 00 00 */ li r3, 0 +/* 80023904 00020864 4E 80 00 20 */ blr + +.global OnMessage__9CMainFlowFRC20CArchitectureMessageR18CArchitectureQueue +OnMessage__9CMainFlowFRC20CArchitectureMessageR18CArchitectureQueue: +/* 80023908 00020868 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002390C 0002086C 7C 08 02 A6 */ mflr r0 +/* 80023910 00020870 90 01 00 24 */ stw r0, 0x24(r1) +/* 80023914 00020874 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80023918 00020878 7C BF 2B 78 */ mr r31, r5 +/* 8002391C 0002087C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80023920 00020880 7C 7E 1B 78 */ mr r30, r3 +/* 80023924 00020884 80 04 00 04 */ lwz r0, 4(r4) +/* 80023928 00020888 2C 00 00 05 */ cmpwi r0, 5 +/* 8002392C 0002088C 41 82 00 74 */ beq lbl_800239A0 +/* 80023930 00020890 40 80 00 10 */ bge lbl_80023940 +/* 80023934 00020894 2C 00 00 04 */ cmpwi r0, 4 +/* 80023938 00020898 40 80 00 14 */ bge lbl_8002394C +/* 8002393C 0002089C 48 00 00 64 */ b lbl_800239A0 +lbl_80023940: +/* 80023940 000208A0 2C 00 00 07 */ cmpwi r0, 7 +/* 80023944 000208A4 40 80 00 5C */ bge lbl_800239A0 +/* 80023948 000208A8 48 00 00 10 */ b lbl_80023958 +lbl_8002394C: +/* 8002394C 000208AC 7F E4 FB 78 */ mr r4, r31 +/* 80023950 000208B0 4B FF FF 05 */ bl AdvanceGameState__9CMainFlowFR18CArchitectureQueue +/* 80023954 000208B4 48 00 00 4C */ b lbl_800239A0 +lbl_80023958: +/* 80023958 000208B8 7C 83 23 78 */ mr r3, r4 +/* 8002395C 000208BC 48 02 E1 7D */ bl GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage +/* 80023960 000208C0 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha +/* 80023964 000208C4 3C 80 80 3E */ lis r4, lbl_803D9E50@ha +/* 80023968 000208C8 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l +/* 8002396C 000208CC 90 01 00 08 */ stw r0, 8(r1) +/* 80023970 000208D0 38 04 9E 50 */ addi r0, r4, lbl_803D9E50@l +/* 80023974 000208D4 7F E5 FB 78 */ mr r5, r31 +/* 80023978 000208D8 90 01 00 08 */ stw r0, 8(r1) +/* 8002397C 000208DC 80 83 00 04 */ lwz r4, 4(r3) +/* 80023980 000208E0 7F C3 F3 78 */ mr r3, r30 +/* 80023984 000208E4 90 81 00 0C */ stw r4, 0xc(r1) +/* 80023988 000208E8 4B FF FB FD */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue +/* 8002398C 000208EC 38 61 00 08 */ addi r3, r1, 8 +/* 80023990 000208F0 38 80 FF FF */ li r4, -1 +/* 80023994 000208F4 48 02 DC 35 */ bl __dt__17CArchMsgParmInt32Fv +/* 80023998 000208F8 38 60 00 01 */ li r3, 1 +/* 8002399C 000208FC 48 00 00 08 */ b lbl_800239A4 +lbl_800239A0: +/* 800239A0 00020900 38 60 00 00 */ li r3, 0 +lbl_800239A4: +/* 800239A4 00020904 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800239A8 00020908 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800239AC 0002090C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800239B0 00020910 7C 08 03 A6 */ mtlr r0 +/* 800239B4 00020914 38 21 00 20 */ addi r1, r1, 0x20 +/* 800239B8 00020918 4E 80 00 20 */ blr + +.global __ct__9CMainFlowFv +__ct__9CMainFlowFv: +/* 800239BC 0002091C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800239C0 00020920 7C 08 02 A6 */ mflr r0 +/* 800239C4 00020924 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha +/* 800239C8 00020928 90 01 00 24 */ stw r0, 0x24(r1) +/* 800239CC 0002092C 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l +/* 800239D0 00020930 38 84 00 07 */ addi r4, r4, 7 +/* 800239D4 00020934 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800239D8 00020938 7C 7F 1B 78 */ mr r31, r3 +/* 800239DC 0002093C 38 61 00 08 */ addi r3, r1, 8 +/* 800239E0 00020940 4B FE 12 D9 */ bl string_l__4rstlFPCc +/* 800239E4 00020944 7F E3 FB 78 */ mr r3, r31 +/* 800239E8 00020948 38 81 00 08 */ addi r4, r1, 8 +/* 800239EC 0002094C 48 02 F2 21 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800239F0 00020950 38 61 00 08 */ addi r3, r1, 8 +/* 800239F4 00020954 48 31 A0 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800239F8 00020958 3C 60 80 3E */ lis r3, lbl_803D9928@ha +/* 800239FC 0002095C 38 00 FF FF */ li r0, -1 +/* 80023A00 00020960 38 83 99 28 */ addi r4, r3, lbl_803D9928@l +/* 80023A04 00020964 7F E3 FB 78 */ mr r3, r31 +/* 80023A08 00020968 90 9F 00 00 */ stw r4, 0(r31) +/* 80023A0C 0002096C 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80023A10 00020970 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80023A14 00020974 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80023A18 00020978 7C 08 03 A6 */ mtlr r0 +/* 80023A1C 0002097C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80023A20 00020980 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPlayMovie.s b/asm/Kyoto_CWD/CPlayMovie.s new file mode 100644 index 00000000..bf7f4ef9 --- /dev/null +++ b/asm/Kyoto_CWD/CPlayMovie.s @@ -0,0 +1,2097 @@ +.include "macros.inc" + + +.section .text, "ax" + +.global sub_8002642c +sub_8002642c: +/* 8002642C 0002338C 90 83 00 3C */ stw r4, 0x3c(r3) +/* 80026430 00023390 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80026434 00023394 2C 00 FF FF */ cmpwi r0, -1 +/* 80026438 00023398 41 82 00 18 */ beq lbl_80026450 +/* 8002643C 0002339C 54 00 18 38 */ slwi r0, r0, 3 +/* 80026440 000233A0 7C 83 02 14 */ add r4, r3, r0 +/* 80026444 000233A4 80 04 00 24 */ lwz r0, 0x24(r4) +/* 80026448 000233A8 90 03 00 38 */ stw r0, 0x38(r3) +/* 8002644C 000233AC 4E 80 00 20 */ blr +lbl_80026450: +/* 80026450 000233B0 38 00 00 00 */ li r0, 0 +/* 80026454 000233B4 90 03 00 38 */ stw r0, 0x38(r3) +/* 80026458 000233B8 4E 80 00 20 */ blr + +.global sub_8002645c +sub_8002645c: +/* 8002645C 000233BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80026460 000233C0 7C 08 02 A6 */ mflr r0 +/* 80026464 000233C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80026468 000233C8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8002646C 000233CC 2C 00 00 01 */ cmpwi r0, 1 +/* 80026470 000233D0 40 82 00 5C */ bne lbl_800264CC +/* 80026474 000233D4 88 04 00 2D */ lbz r0, 0x2d(r4) +/* 80026478 000233D8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8002647C 000233DC 41 82 00 50 */ beq lbl_800264CC +/* 80026480 000233E0 C0 23 00 6C */ lfs f1, 0x6c(r3) +/* 80026484 000233E4 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) +/* 80026488 000233E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8002648C 000233EC 4C 41 13 82 */ cror 2, 1, 2 +/* 80026490 000233F0 40 82 00 3C */ bne lbl_800264CC +/* 80026494 000233F4 80 A3 00 38 */ lwz r5, 0x38(r3) +/* 80026498 000233F8 38 80 00 00 */ li r4, 0 +/* 8002649C 000233FC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800264A0 00023400 38 61 00 08 */ addi r3, r1, 8 +/* 800264A4 00023404 88 05 00 F4 */ lbz r0, 0xf4(r5) +/* 800264A8 00023408 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800264AC 0002340C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800264B0 00023410 38 80 05 8D */ li r4, 0x58d +/* 800264B4 00023414 98 05 00 F4 */ stb r0, 0xf4(r5) +/* 800264B8 00023418 38 A0 00 7F */ li r5, 0x7f +/* 800264BC 0002341C 38 C0 00 40 */ li r6, 0x40 +/* 800264C0 00023420 38 E0 00 00 */ li r7, 0 +/* 800264C4 00023424 39 20 00 00 */ li r9, 0 +/* 800264C8 00023428 48 2C 38 AD */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_800264CC: +/* 800264CC 0002342C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800264D0 00023430 38 60 00 01 */ li r3, 1 +/* 800264D4 00023434 7C 08 03 A6 */ mtlr r0 +/* 800264D8 00023438 38 21 00 10 */ addi r1, r1, 0x10 +/* 800264DC 0002343C 4E 80 00 20 */ blr + +.global sub_800264e0 +sub_800264e0: +/* 800264E0 00023440 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800264E4 00023444 7C 08 02 A6 */ mflr r0 +/* 800264E8 00023448 90 01 00 74 */ stw r0, 0x74(r1) +/* 800264EC 0002344C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800264F0 00023450 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800264F4 00023454 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800264F8 00023458 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 800264FC 0002345C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80026500 00023460 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80026504 00023464 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80026508 00023468 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8002650C 0002346C 7C 7F 1B 78 */ mr r31, r3 +/* 80026510 00023470 FF C0 08 90 */ fmr f30, f1 +/* 80026514 00023474 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80026518 00023478 2C 00 00 01 */ cmpwi r0, 1 +/* 8002651C 0002347C 40 82 00 34 */ bne lbl_80026550 +/* 80026520 00023480 C0 3F 00 6C */ lfs f1, 0x6c(r31) +/* 80026524 00023484 C0 0D 81 A8 */ lfs f0, lbl_805A6D68@sda21(r13) +/* 80026528 00023488 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8002652C 0002348C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80026530 00023490 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80026534 00023494 40 80 00 0C */ bge lbl_80026540 +/* 80026538 00023498 38 6D 81 A8 */ addi r3, r13, lbl_805A6D68@sda21 +/* 8002653C 0002349C 48 00 00 08 */ b lbl_80026544 +lbl_80026540: +/* 80026540 000234A0 38 61 00 20 */ addi r3, r1, 0x20 +lbl_80026544: +/* 80026544 000234A4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80026548 000234A8 D0 1F 00 6C */ stfs f0, 0x6c(r31) +/* 8002654C 000234AC 48 00 00 38 */ b lbl_80026584 +lbl_80026550: +/* 80026550 000234B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80026554 000234B4 40 82 00 30 */ bne lbl_80026584 +/* 80026558 000234B8 C0 3F 00 6C */ lfs f1, 0x6c(r31) +/* 8002655C 000234BC C0 0D 81 AC */ lfs f0, lbl_805A6D6C@sda21(r13) +/* 80026560 000234C0 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80026564 000234C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80026568 000234C8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8002656C 000234CC 40 80 00 0C */ bge lbl_80026578 +/* 80026570 000234D0 38 6D 81 AC */ addi r3, r13, lbl_805A6D6C@sda21 +/* 80026574 000234D4 48 00 00 08 */ b lbl_8002657C +lbl_80026578: +/* 80026578 000234D8 38 61 00 1C */ addi r3, r1, 0x1c +lbl_8002657C: +/* 8002657C 000234DC C0 03 00 00 */ lfs f0, 0(r3) +/* 80026580 000234E0 D0 1F 00 6C */ stfs f0, 0x6c(r31) +lbl_80026584: +/* 80026584 000234E4 C0 3F 00 68 */ lfs f1, 0x68(r31) +/* 80026588 000234E8 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) +/* 8002658C 000234EC EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80026590 000234F0 D0 3F 00 68 */ stfs f1, 0x68(r31) +/* 80026594 000234F4 C0 3F 00 68 */ lfs f1, 0x68(r31) +/* 80026598 000234F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8002659C 000234FC 41 81 01 A4 */ bgt lbl_80026740 +/* 800265A0 00023500 C0 1F 00 70 */ lfs f0, 0x70(r31) +/* 800265A4 00023504 C0 42 83 4C */ lfs f2, lbl_805AA06C@sda21(r2) +/* 800265A8 00023508 EC 00 F0 2A */ fadds f0, f0, f30 +/* 800265AC 0002350C C0 62 83 50 */ lfs f3, lbl_805AA070@sda21(r2) +/* 800265B0 00023510 D0 1F 00 70 */ stfs f0, 0x70(r31) +/* 800265B4 00023514 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 800265B8 00023518 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 800265BC 0002351C C0 3F 00 70 */ lfs f1, 0x70(r31) +/* 800265C0 00023520 C0 04 03 5C */ lfs f0, 0x35c(r4) +/* 800265C4 00023524 28 03 00 00 */ cmplwi r3, 0 +/* 800265C8 00023528 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800265CC 0002352C EC 02 00 32 */ fmuls f0, f2, f0 +/* 800265D0 00023530 EF A3 00 32 */ fmuls f29, f3, f0 +/* 800265D4 00023534 41 82 00 0C */ beq lbl_800265E0 +/* 800265D8 00023538 FC 20 F0 90 */ fmr f1, f30 +/* 800265DC 0002353C 48 2A 1B 9D */ bl Update__15CGuiTextSupportFf +lbl_800265E0: +/* 800265E0 00023540 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 800265E4 00023544 28 03 00 00 */ cmplwi r3, 0 +/* 800265E8 00023548 41 82 00 54 */ beq lbl_8002663C +/* 800265EC 0002354C FC 20 F0 90 */ fmr f1, f30 +/* 800265F0 00023550 48 2A 1B 89 */ bl Update__15CGuiTextSupportFf +/* 800265F4 00023554 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 800265F8 00023558 48 2A 1A 1D */ bl GetNumCharactersPrinted__15CGuiTextSupportCFv +/* 800265FC 0002355C C0 42 83 54 */ lfs f2, lbl_805AA074@sda21(r2) +/* 80026600 00023560 C0 1F 00 74 */ lfs f0, 0x74(r31) +/* 80026604 00023564 EC 02 00 2A */ fadds f0, f2, f0 +/* 80026608 00023568 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8002660C 0002356C 4C 41 13 82 */ cror 2, 1, 2 +/* 80026610 00023570 40 82 00 2C */ bne lbl_8002663C +/* 80026614 00023574 D0 1F 00 74 */ stfs f0, 0x74(r31) +/* 80026618 00023578 38 61 00 18 */ addi r3, r1, 0x18 +/* 8002661C 0002357C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80026620 00023580 38 80 05 9E */ li r4, 0x59e +/* 80026624 00023584 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80026628 00023588 38 A0 00 7F */ li r5, 0x7f +/* 8002662C 0002358C 38 C0 00 40 */ li r6, 0x40 +/* 80026630 00023590 38 E0 00 00 */ li r7, 0 +/* 80026634 00023594 39 20 00 00 */ li r9, 0 +/* 80026638 00023598 48 2C 37 3D */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8002663C: +/* 8002663C 0002359C 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80026640 000235A0 28 00 00 00 */ cmplwi r0, 0 +/* 80026644 000235A4 41 82 00 80 */ beq lbl_800266C4 +/* 80026648 000235A8 FC 20 E8 90 */ fmr f1, f29 +/* 8002664C 000235AC 48 2E E7 A5 */ bl FastSinR__5CMathFf +/* 80026650 000235B0 C0 02 83 28 */ lfs f0, lbl_805AA048@sda21(r2) +/* 80026654 000235B4 EF A0 00 7A */ fmadds f29, f0, f1, f0 +/* 80026658 000235B8 48 32 39 4D */ bl Grey__6CColorFv +/* 8002665C 000235BC 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80026660 000235C0 FC 20 E8 90 */ fmr f1, f29 +/* 80026664 000235C4 7C 65 1B 78 */ mr r5, r3 +/* 80026668 000235C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8002666C 000235CC 38 84 03 54 */ addi r4, r4, 0x354 +/* 80026670 000235D0 48 33 CC 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80026674 000235D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80026678 000235D8 90 01 00 28 */ stw r0, 0x28(r1) +/* 8002667C 000235DC 48 32 39 29 */ bl Grey__6CColorFv +/* 80026680 000235E0 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80026684 000235E4 FC 20 E8 90 */ fmr f1, f29 +/* 80026688 000235E8 7C 65 1B 78 */ mr r5, r3 +/* 8002668C 000235EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80026690 000235F0 38 84 03 58 */ addi r4, r4, 0x358 +/* 80026694 000235F4 48 33 CC 19 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80026698 000235F8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8002669C 000235FC 38 81 00 28 */ addi r4, r1, 0x28 +/* 800266A0 00023600 90 01 00 24 */ stw r0, 0x24(r1) +/* 800266A4 00023604 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 800266A8 00023608 48 2A 2F C1 */ bl SetFontColor__15CGuiTextSupportFRC6CColor +/* 800266AC 0002360C 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 800266B0 00023610 38 81 00 24 */ addi r4, r1, 0x24 +/* 800266B4 00023614 48 2A 2F 65 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor +/* 800266B8 00023618 FC 20 F0 90 */ fmr f1, f30 +/* 800266BC 0002361C 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 800266C0 00023620 48 2A 1A B9 */ bl Update__15CGuiTextSupportFf +lbl_800266C4: +/* 800266C4 00023624 83 DF 00 64 */ lwz r30, 0x64(r31) +/* 800266C8 00023628 28 1E 00 00 */ cmplwi r30, 0 +/* 800266CC 0002362C 41 82 00 74 */ beq lbl_80026740 +/* 800266D0 00023630 C3 BF 00 6C */ lfs f29, 0x6c(r31) +/* 800266D4 00023634 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) +/* 800266D8 00023638 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 800266DC 0002363C 40 81 00 64 */ ble lbl_80026740 +/* 800266E0 00023640 48 32 38 CD */ bl White__6CColorFv +/* 800266E4 00023644 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) +/* 800266E8 00023648 3C 00 43 30 */ lis r0, 0x4330 +/* 800266EC 0002364C 88 83 00 03 */ lbz r4, 3(r3) +/* 800266F0 00023650 EC 5D 00 28 */ fsubs f2, f29, f0 +/* 800266F4 00023654 C0 02 83 28 */ lfs f0, lbl_805AA048@sda21(r2) +/* 800266F8 00023658 90 81 00 34 */ stw r4, 0x34(r1) +/* 800266FC 0002365C C8 22 83 40 */ lfd f1, lbl_805AA060@sda21(r2) +/* 80026700 00023660 EC 42 00 24 */ fdivs f2, f2, f0 +/* 80026704 00023664 90 01 00 30 */ stw r0, 0x30(r1) +/* 80026708 00023668 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 8002670C 0002366C EC 00 08 28 */ fsubs f0, f0, f1 +/* 80026710 00023670 EF E2 00 32 */ fmuls f31, f2, f0 +/* 80026714 00023674 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80026718 00023678 38 81 00 0C */ addi r4, r1, 0xc +/* 8002671C 0002367C 80 A3 00 00 */ lwz r5, 0(r3) +/* 80026720 00023680 7F C3 F3 78 */ mr r3, r30 +/* 80026724 00023684 88 01 00 08 */ lbz r0, 8(r1) +/* 80026728 00023688 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 8002672C 0002368C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80026730 00023690 48 2A 2E DD */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor +/* 80026734 00023694 FC 20 F0 90 */ fmr f1, f30 +/* 80026738 00023698 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8002673C 0002369C 48 2A 1A 3D */ bl Update__15CGuiTextSupportFf +lbl_80026740: +/* 80026740 000236A0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80026744 000236A4 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80026748 000236A8 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8002674C 000236AC CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80026750 000236B0 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80026754 000236B4 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80026758 000236B8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8002675C 000236BC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80026760 000236C0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80026764 000236C4 7C 08 03 A6 */ mtlr r0 +/* 80026768 000236C8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8002676C 000236CC 4E 80 00 20 */ blr + +.global sub_80026770 +sub_80026770: +/* 80026770 000236D0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80026774 000236D4 7C 08 02 A6 */ mflr r0 +/* 80026778 000236D8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8002677C 000236DC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80026780 000236E0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80026784 000236E4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80026788 000236E8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8002678C 000236EC 7C 7F 1B 78 */ mr r31, r3 +/* 80026790 000236F0 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80026794 000236F4 2C 00 00 02 */ cmpwi r0, 2 +/* 80026798 000236F8 40 82 00 18 */ bne lbl_800267B0 +/* 8002679C 000236FC 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 800267A0 00023700 48 33 54 2D */ bl GetPlayedSeconds__12CMoviePlayerCFv +/* 800267A4 00023704 C0 02 83 58 */ lfs f0, lbl_805AA078@sda21(r2) +/* 800267A8 00023708 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800267AC 0002370C 41 81 01 60 */ bgt lbl_8002690C +lbl_800267B0: +/* 800267B0 00023710 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 800267B4 00023714 3C 60 43 30 */ lis r3, 0x4330 +/* 800267B8 00023718 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 800267BC 0002371C 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 800267C0 00023720 83 C4 00 0C */ lwz r30, 0xc(r4) +/* 800267C4 00023724 90 61 00 38 */ stw r3, 0x38(r1) +/* 800267C8 00023728 28 00 00 00 */ cmplwi r0, 0 +/* 800267CC 0002372C 6F C0 80 00 */ xoris r0, r30, 0x8000 +/* 800267D0 00023730 C8 62 83 30 */ lfd f3, lbl_805AA050@sda21(r2) +/* 800267D4 00023734 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800267D8 00023738 C0 22 83 5C */ lfs f1, lbl_805AA07C@sda21(r2) +/* 800267DC 0002373C C8 01 00 38 */ lfd f0, 0x38(r1) +/* 800267E0 00023740 EC 00 18 28 */ fsubs f0, f0, f3 +/* 800267E4 00023744 EF E1 00 32 */ fmuls f31, f1, f0 +/* 800267E8 00023748 41 82 00 38 */ beq lbl_80026820 +/* 800267EC 0002374C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800267F0 00023750 38 81 00 2C */ addi r4, r1, 0x2c +/* 800267F4 00023754 C0 42 83 60 */ lfs f2, lbl_805AA080@sda21(r2) +/* 800267F8 00023758 90 61 00 38 */ stw r3, 0x38(r1) +/* 800267FC 0002375C C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) +/* 80026800 00023760 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 80026804 00023764 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80026808 00023768 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8002680C 0002376C 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 80026810 00023770 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80026814 00023774 EC 00 F8 2A */ fadds f0, f0, f31 +/* 80026818 00023778 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8002681C 0002377C 48 00 15 F5 */ bl sub_80027e10 +lbl_80026820: +/* 80026820 00023780 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80026824 00023784 28 00 00 00 */ cmplwi r0, 0 +/* 80026828 00023788 41 82 00 24 */ beq lbl_8002684C +/* 8002682C 0002378C C0 22 83 60 */ lfs f1, lbl_805AA080@sda21(r2) +/* 80026830 00023790 38 81 00 20 */ addi r4, r1, 0x20 +/* 80026834 00023794 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) +/* 80026838 00023798 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8002683C 0002379C 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 80026840 000237A0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80026844 000237A4 D3 E1 00 28 */ stfs f31, 0x28(r1) +/* 80026848 000237A8 48 00 15 C9 */ bl sub_80027e10 +lbl_8002684C: +/* 8002684C 000237AC 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80026850 000237B0 28 00 00 00 */ cmplwi r0, 0 +/* 80026854 000237B4 41 82 00 5C */ beq lbl_800268B0 +/* 80026858 000237B8 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 8002685C 000237BC 48 2A 15 15 */ bl GetBounds__15CGuiTextSupportFv +/* 80026860 000237C0 80 A3 00 04 */ lwz r5, 4(r3) +/* 80026864 000237C4 3C 00 43 30 */ lis r0, 0x4330 +/* 80026868 000237C8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8002686C 000237CC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80026870 000237D0 C0 62 83 60 */ lfs f3, lbl_805AA080@sda21(r2) +/* 80026874 000237D4 7C 65 18 50 */ subf r3, r5, r3 +/* 80026878 000237D8 C0 42 83 2C */ lfs f2, lbl_805AA04C@sda21(r2) +/* 8002687C 000237DC 38 63 00 19 */ addi r3, r3, 0x19 +/* 80026880 000237E0 90 01 00 38 */ stw r0, 0x38(r1) +/* 80026884 000237E4 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 80026888 000237E8 C8 22 83 30 */ lfd f1, lbl_805AA050@sda21(r2) +/* 8002688C 000237EC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80026890 000237F0 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80026894 000237F4 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 80026898 000237F8 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 8002689C 000237FC EC 00 08 28 */ fsubs f0, f0, f1 +/* 800268A0 00023800 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800268A4 00023804 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 800268A8 00023808 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800268AC 0002380C 48 00 15 65 */ bl sub_80027e10 +lbl_800268B0: +/* 800268B0 00023810 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 800268B4 00023814 28 00 00 00 */ cmplwi r0, 0 +/* 800268B8 00023818 41 82 00 54 */ beq lbl_8002690C +/* 800268BC 0002381C C0 3F 00 6C */ lfs f1, 0x6c(r31) +/* 800268C0 00023820 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) +/* 800268C4 00023824 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800268C8 00023828 4C 41 13 82 */ cror 2, 1, 2 +/* 800268CC 0002382C 40 82 00 40 */ bne lbl_8002690C +/* 800268D0 00023830 38 1E 00 20 */ addi r0, r30, 0x20 +/* 800268D4 00023834 C0 42 83 2C */ lfs f2, lbl_805AA04C@sda21(r2) +/* 800268D8 00023838 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 800268DC 0002383C 3C 00 43 30 */ lis r0, 0x4330 +/* 800268E0 00023840 90 61 00 3C */ stw r3, 0x3c(r1) +/* 800268E4 00023844 38 81 00 08 */ addi r4, r1, 8 +/* 800268E8 00023848 C8 22 83 30 */ lfd f1, lbl_805AA050@sda21(r2) +/* 800268EC 0002384C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800268F0 00023850 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800268F4 00023854 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 800268F8 00023858 D0 41 00 08 */ stfs f2, 8(r1) +/* 800268FC 0002385C EC 00 08 28 */ fsubs f0, f0, f1 +/* 80026900 00023860 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80026904 00023864 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80026908 00023868 48 00 15 09 */ bl sub_80027e10 +lbl_8002690C: +/* 8002690C 0002386C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80026910 00023870 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80026914 00023874 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80026918 00023878 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8002691C 0002387C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80026920 00023880 7C 08 03 A6 */ mtlr r0 +/* 80026924 00023884 38 21 00 60 */ addi r1, r1, 0x60 +/* 80026928 00023888 4E 80 00 20 */ blr + +.global sub_8002692c +sub_8002692c: +/* 8002692C 0002388C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80026930 00023890 7C 08 02 A6 */ mflr r0 +/* 80026934 00023894 90 01 00 14 */ stw r0, 0x14(r1) +/* 80026938 00023898 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8002693C 0002389C 28 03 00 00 */ cmplwi r3, 0 +/* 80026940 000238A0 41 82 00 08 */ beq lbl_80026948 +/* 80026944 000238A4 48 00 16 01 */ bl sub_80027f44 +lbl_80026948: +/* 80026948 000238A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8002694C 000238AC 7C 08 03 A6 */ mtlr r0 +/* 80026950 000238B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80026954 000238B4 4E 80 00 20 */ blr + +.global Draw__10CPlayMovieCFv +Draw__10CPlayMovieCFv: +/* 80026958 000238B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002695C 000238BC 7C 08 02 A6 */ mflr r0 +/* 80026960 000238C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80026964 000238C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80026968 000238C8 7C 7F 1B 78 */ mr r31, r3 +/* 8002696C 000238CC 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80026970 000238D0 2C 00 00 03 */ cmpwi r0, 3 +/* 80026974 000238D4 40 82 00 30 */ bne lbl_800269A4 +/* 80026978 000238D8 4B FF FF B5 */ bl sub_8002692c +/* 8002697C 000238DC 88 7F 00 78 */ lbz r3, 0x78(r31) +/* 80026980 000238E0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80026984 000238E4 41 82 00 10 */ beq lbl_80026994 +/* 80026988 000238E8 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8002698C 000238EC 48 21 E0 31 */ bl Draw__15CQuitGameScreenFv +/* 80026990 000238F0 48 00 00 14 */ b lbl_800269A4 +lbl_80026994: +/* 80026994 000238F4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80026998 000238F8 41 82 00 0C */ beq lbl_800269A4 +/* 8002699C 000238FC 7F E3 FB 78 */ mr r3, r31 +/* 800269A0 00023900 4B FF FD D1 */ bl sub_80026770 +lbl_800269A4: +/* 800269A4 00023904 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800269A8 00023908 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800269AC 0002390C 7C 08 03 A6 */ mtlr r0 +/* 800269B0 00023910 38 21 00 10 */ addi r1, r1, 0x10 +/* 800269B4 00023914 4E 80 00 20 */ blr + +.global OnMessage__10CPlayMovieFRC20CArchitectureMessageR18CArchitectureQueue +OnMessage__10CPlayMovieFRC20CArchitectureMessageR18CArchitectureQueue: +/* 800269B8 00023918 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 800269BC 0002391C 7C 08 02 A6 */ mflr r0 +/* 800269C0 00023920 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 800269C4 00023924 DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 800269C8 00023928 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 800269CC 0002392C DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 800269D0 00023930 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 800269D4 00023934 BF 01 01 B0 */ stmw r24, 0x1b0(r1) +/* 800269D8 00023938 80 04 00 04 */ lwz r0, 4(r4) +/* 800269DC 0002393C 7C 7F 1B 78 */ mr r31, r3 +/* 800269E0 00023940 7C BB 2B 78 */ mr r27, r5 +/* 800269E4 00023944 2C 00 00 05 */ cmpwi r0, 5 +/* 800269E8 00023948 41 82 0A 24 */ beq lbl_8002740C +/* 800269EC 0002394C 40 80 0B 8C */ bge lbl_80027578 +/* 800269F0 00023950 2C 00 00 04 */ cmpwi r0, 4 +/* 800269F4 00023954 40 80 00 08 */ bge lbl_800269FC +/* 800269F8 00023958 48 00 0B 80 */ b lbl_80027578 +lbl_800269FC: +/* 800269FC 0002395C 7C 83 23 78 */ mr r3, r4 +/* 80026A00 00023960 48 02 B1 BD */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +/* 80026A04 00023964 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80026A08 00023968 C3 C3 00 04 */ lfs f30, 4(r3) +/* 80026A0C 0002396C 2C 00 00 02 */ cmpwi r0, 2 +/* 80026A10 00023970 41 82 06 8C */ beq lbl_8002709C +/* 80026A14 00023974 40 80 00 14 */ bge lbl_80026A28 +/* 80026A18 00023978 2C 00 00 00 */ cmpwi r0, 0 +/* 80026A1C 0002397C 41 82 00 18 */ beq lbl_80026A34 +/* 80026A20 00023980 40 80 05 F8 */ bge lbl_80027018 +/* 80026A24 00023984 48 00 0B 54 */ b lbl_80027578 +lbl_80026A28: +/* 80026A28 00023988 2C 00 00 04 */ cmpwi r0, 4 +/* 80026A2C 0002398C 40 80 0B 4C */ bge lbl_80027578 +/* 80026A30 00023990 48 00 07 24 */ b lbl_80027154 +lbl_80026A34: +/* 80026A34 00023994 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 80026A38 00023998 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80026A3C 0002399C 41 82 05 D4 */ beq lbl_80027010 +/* 80026A40 000239A0 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80026A44 000239A4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80026A48 000239A8 28 00 00 00 */ cmplwi r0, 0 +/* 80026A4C 000239AC 41 82 00 14 */ beq lbl_80026A60 +/* 80026A50 000239B0 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 80026A54 000239B4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80026A58 000239B8 28 00 00 00 */ cmplwi r0, 0 +/* 80026A5C 000239BC 40 82 00 0C */ bne lbl_80026A68 +lbl_80026A60: +/* 80026A60 000239C0 38 60 00 01 */ li r3, 1 +/* 80026A64 000239C4 48 00 0B 18 */ b lbl_8002757C +lbl_80026A68: +/* 80026A68 000239C8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80026A6C 000239CC 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 80026A70 000239D0 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l +/* 80026A74 000239D4 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80026A78 000239D8 81 83 00 00 */ lwz r12, 0(r3) +/* 80026A7C 000239DC 83 A5 00 08 */ lwz r29, 8(r5) +/* 80026A80 000239E0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80026A84 000239E4 83 C5 00 0C */ lwz r30, 0xc(r5) +/* 80026A88 000239E8 80 84 03 24 */ lwz r4, 0x324(r4) +/* 80026A8C 000239EC 7D 89 03 A6 */ mtctr r12 +/* 80026A90 000239F0 4E 80 04 21 */ bctrl +/* 80026A94 000239F4 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80026A98 000239F8 7C 7C 1B 78 */ mr r28, r3 +/* 80026A9C 000239FC 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80026AA0 00023A00 38 60 03 0C */ li r3, 0x30c +/* 80026AA4 00023A04 38 84 01 51 */ addi r4, r4, 0x151 +/* 80026AA8 00023A08 38 A0 00 00 */ li r5, 0 +/* 80026AAC 00023A0C 48 2E ED C1 */ bl __nw__FUlPCcPCc +/* 80026AB0 00023A10 7C 79 1B 79 */ or. r25, r3, r3 +/* 80026AB4 00023A14 41 82 00 5C */ beq lbl_80026B10 +/* 80026AB8 00023A18 83 0D A1 38 */ lwz r24, gpTweakGui@sda21(r13) +/* 80026ABC 00023A1C 48 32 34 F1 */ bl White__6CColorFv +/* 80026AC0 00023A20 7C 7A 1B 78 */ mr r26, r3 +/* 80026AC4 00023A24 38 61 01 1C */ addi r3, r1, 0x11c +/* 80026AC8 00023A28 38 80 00 00 */ li r4, 0 +/* 80026ACC 00023A2C 38 A0 00 01 */ li r5, 1 +/* 80026AD0 00023A30 38 C0 00 02 */ li r6, 2 +/* 80026AD4 00023A34 38 E0 00 02 */ li r7, 2 +/* 80026AD8 00023A38 39 00 00 00 */ li r8, 0 +/* 80026ADC 00023A3C 48 2A 35 69 */ bl __ct__18CGuiTextPropertiesFv +/* 80026AE0 00023A40 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) +/* 80026AE4 00023A44 7C 65 1B 78 */ mr r5, r3 +/* 80026AE8 00023A48 7F 23 CB 78 */ mr r3, r25 +/* 80026AEC 00023A4C 7F 48 D3 78 */ mr r8, r26 +/* 80026AF0 00023A50 90 01 00 08 */ stw r0, 8(r1) +/* 80026AF4 00023A54 7F A9 EB 78 */ mr r9, r29 +/* 80026AF8 00023A58 7F CA F3 78 */ mr r10, r30 +/* 80026AFC 00023A5C 38 D8 03 44 */ addi r6, r24, 0x344 +/* 80026B00 00023A60 80 9C 00 04 */ lwz r4, 4(r28) +/* 80026B04 00023A64 38 F8 03 48 */ addi r7, r24, 0x348 +/* 80026B08 00023A68 48 2A 33 35 */ bl __ct__15CGuiTextSupportFv +/* 80026B0C 00023A6C 7C 79 1B 78 */ mr r25, r3 +lbl_80026B10: +/* 80026B10 00023A70 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 80026B14 00023A74 38 80 00 01 */ li r4, 1 +/* 80026B18 00023A78 48 2A 31 81 */ bl __dt__15CGuiTextSupportFv +/* 80026B1C 00023A7C 93 3F 00 58 */ stw r25, 0x58(r31) +/* 80026B20 00023A80 38 80 00 01 */ li r4, 1 +/* 80026B24 00023A84 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) +/* 80026B28 00023A88 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 80026B2C 00023A8C C0 42 83 38 */ lfs f2, lbl_805AA058@sda21(r2) +/* 80026B30 00023A90 48 2A 15 E9 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff +/* 80026B34 00023A94 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80026B38 00023A98 48 31 A2 D5 */ bl GetObj__6CTokenFv +/* 80026B3C 00023A9C 80 63 00 04 */ lwz r3, 4(r3) +/* 80026B40 00023AA0 38 80 00 00 */ li r4, 0 +/* 80026B44 00023AA4 48 32 FB B9 */ bl GetString__12CStringTableCFi +/* 80026B48 00023AA8 7C 64 1B 78 */ mr r4, r3 +/* 80026B4C 00023AAC 38 61 01 0C */ addi r3, r1, 0x10c +/* 80026B50 00023AB0 38 C1 00 2C */ addi r6, r1, 0x2c +/* 80026B54 00023AB4 38 A0 FF FF */ li r5, -1 +/* 80026B58 00023AB8 48 31 6C 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80026B5C 00023ABC 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 80026B60 00023AC0 38 81 01 0C */ addi r4, r1, 0x10c +/* 80026B64 00023AC4 38 A0 00 00 */ li r5, 0 +/* 80026B68 00023AC8 48 2A 2D 1D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80026B6C 00023ACC 38 61 01 0C */ addi r3, r1, 0x10c +/* 80026B70 00023AD0 48 31 65 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80026B74 00023AD4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80026B78 00023AD8 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80026B7C 00023ADC 81 83 00 00 */ lwz r12, 0(r3) +/* 80026B80 00023AE0 80 84 03 34 */ lwz r4, 0x334(r4) +/* 80026B84 00023AE4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80026B88 00023AE8 7D 89 03 A6 */ mtctr r12 +/* 80026B8C 00023AEC 4E 80 04 21 */ bctrl +/* 80026B90 00023AF0 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80026B94 00023AF4 7C 7C 1B 78 */ mr r28, r3 +/* 80026B98 00023AF8 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80026B9C 00023AFC 38 60 03 0C */ li r3, 0x30c +/* 80026BA0 00023B00 38 84 01 51 */ addi r4, r4, 0x151 +/* 80026BA4 00023B04 38 A0 00 00 */ li r5, 0 +/* 80026BA8 00023B08 48 2E EC C5 */ bl __nw__FUlPCcPCc +/* 80026BAC 00023B0C 7C 79 1B 79 */ or. r25, r3, r3 +/* 80026BB0 00023B10 41 82 00 5C */ beq lbl_80026C0C +/* 80026BB4 00023B14 83 0D A1 38 */ lwz r24, gpTweakGui@sda21(r13) +/* 80026BB8 00023B18 48 32 33 F5 */ bl White__6CColorFv +/* 80026BBC 00023B1C 7C 7A 1B 78 */ mr r26, r3 +/* 80026BC0 00023B20 38 61 00 FC */ addi r3, r1, 0xfc +/* 80026BC4 00023B24 38 80 00 00 */ li r4, 0 +/* 80026BC8 00023B28 38 A0 00 01 */ li r5, 1 +/* 80026BCC 00023B2C 38 C0 00 02 */ li r6, 2 +/* 80026BD0 00023B30 38 E0 00 00 */ li r7, 0 +/* 80026BD4 00023B34 39 00 00 00 */ li r8, 0 +/* 80026BD8 00023B38 48 2A 34 6D */ bl __ct__18CGuiTextPropertiesFv +/* 80026BDC 00023B3C 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) +/* 80026BE0 00023B40 7C 65 1B 78 */ mr r5, r3 +/* 80026BE4 00023B44 7F 23 CB 78 */ mr r3, r25 +/* 80026BE8 00023B48 7F 48 D3 78 */ mr r8, r26 +/* 80026BEC 00023B4C 90 01 00 08 */ stw r0, 8(r1) +/* 80026BF0 00023B50 7F A9 EB 78 */ mr r9, r29 +/* 80026BF4 00023B54 7F CA F3 78 */ mr r10, r30 +/* 80026BF8 00023B58 38 D8 03 4C */ addi r6, r24, 0x34c +/* 80026BFC 00023B5C 80 9C 00 04 */ lwz r4, 4(r28) +/* 80026C00 00023B60 38 F8 03 50 */ addi r7, r24, 0x350 +/* 80026C04 00023B64 48 2A 32 39 */ bl __ct__15CGuiTextSupportFv +/* 80026C08 00023B68 7C 79 1B 78 */ mr r25, r3 +lbl_80026C0C: +/* 80026C0C 00023B6C 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 80026C10 00023B70 38 80 00 01 */ li r4, 1 +/* 80026C14 00023B74 48 2A 30 85 */ bl __dt__15CGuiTextSupportFv +/* 80026C18 00023B78 93 3F 00 5C */ stw r25, 0x5c(r31) +/* 80026C1C 00023B7C 38 80 00 01 */ li r4, 1 +/* 80026C20 00023B80 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) +/* 80026C24 00023B84 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 80026C28 00023B88 C0 42 83 64 */ lfs f2, lbl_805AA084@sda21(r2) +/* 80026C2C 00023B8C 48 2A 14 ED */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff +/* 80026C30 00023B90 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80026C34 00023B94 38 61 00 38 */ addi r3, r1, 0x38 +/* 80026C38 00023B98 48 1A CC E9 */ bl GetPlayerState__10CGameStateCFv +/* 80026C3C 00023B9C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80026C40 00023BA0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80026C44 00023BA4 48 1A CC DD */ bl GetPlayerState__10CGameStateCFv +/* 80026C48 00023BA8 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80026C4C 00023BAC 80 81 00 38 */ lwz r4, 0x38(r1) +/* 80026C50 00023BB0 80 63 00 00 */ lwz r3, 0(r3) +/* 80026C54 00023BB4 83 24 00 00 */ lwz r25, 0(r4) +/* 80026C58 00023BB8 48 06 A8 55 */ bl GetTotalPickupCount__12CPlayerStateFv +/* 80026C5C 00023BBC 7C 7A 1B 78 */ mr r26, r3 +/* 80026C60 00023BC0 7F 23 CB 78 */ mr r3, r25 +/* 80026C64 00023BC4 48 06 A5 D1 */ bl CalculateItemCollectionRate__12CPlayerStateFv +/* 80026C68 00023BC8 1C 03 00 64 */ mulli r0, r3, 0x64 +/* 80026C6C 00023BCC 38 61 00 34 */ addi r3, r1, 0x34 +/* 80026C70 00023BD0 7F 00 D3 D6 */ divw r24, r0, r26 +/* 80026C74 00023BD4 4B FE 22 99 */ bl sub_80008f0c +/* 80026C78 00023BD8 38 61 00 38 */ addi r3, r1, 0x38 +/* 80026C7C 00023BDC 4B FE 22 91 */ bl sub_80008f0c +/* 80026C80 00023BE0 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80026C84 00023BE4 48 31 A1 89 */ bl GetObj__6CTokenFv +/* 80026C88 00023BE8 80 63 00 04 */ lwz r3, 4(r3) +/* 80026C8C 00023BEC 38 80 00 01 */ li r4, 1 +/* 80026C90 00023BF0 48 32 FA 6D */ bl GetString__12CStringTableCFi +/* 80026C94 00023BF4 7C 64 1B 78 */ mr r4, r3 +/* 80026C98 00023BF8 38 61 00 EC */ addi r3, r1, 0xec +/* 80026C9C 00023BFC 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80026CA0 00023C00 38 A0 FF FF */ li r5, -1 +/* 80026CA4 00023C04 48 31 6B 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80026CA8 00023C08 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 80026CAC 00023C0C 38 81 00 EC */ addi r4, r1, 0xec +/* 80026CB0 00023C10 48 2A 2A D1 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring +/* 80026CB4 00023C14 38 61 00 EC */ addi r3, r1, 0xec +/* 80026CB8 00023C18 48 31 64 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80026CBC 00023C1C 3C 60 80 3D */ lis r3, lbl_803CCB50@ha +/* 80026CC0 00023C20 7F 04 C3 78 */ mr r4, r24 +/* 80026CC4 00023C24 38 63 CB 50 */ addi r3, r3, lbl_803CCB50@l +/* 80026CC8 00023C28 38 63 01 60 */ addi r3, r3, 0x160 +/* 80026CCC 00023C2C 4C C6 31 82 */ crclr 6 +/* 80026CD0 00023C30 48 2A F4 E1 */ bl Stringize__7CBasicsFPCce +/* 80026CD4 00023C34 7C 64 1B 78 */ mr r4, r3 +/* 80026CD8 00023C38 38 61 00 DC */ addi r3, r1, 0xdc +/* 80026CDC 00023C3C 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80026CE0 00023C40 38 A0 FF FF */ li r5, -1 +/* 80026CE4 00023C44 48 31 74 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80026CE8 00023C48 38 61 00 CC */ addi r3, r1, 0xcc +/* 80026CEC 00023C4C 38 81 00 DC */ addi r4, r1, 0xdc +/* 80026CF0 00023C50 48 31 7A 31 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80026CF4 00023C54 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 80026CF8 00023C58 38 81 00 CC */ addi r4, r1, 0xcc +/* 80026CFC 00023C5C 48 2A 2A 85 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring +/* 80026D00 00023C60 38 61 00 CC */ addi r3, r1, 0xcc +/* 80026D04 00023C64 48 31 64 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80026D08 00023C68 38 61 00 DC */ addi r3, r1, 0xdc +/* 80026D0C 00023C6C 48 31 6D D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80026D10 00023C70 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80026D14 00023C74 3C 00 43 30 */ lis r0, 0x4330 +/* 80026D18 00023C78 C8 02 83 68 */ lfd f0, lbl_805AA088@sda21(r2) +/* 80026D1C 00023C7C 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80026D20 00023C80 C8 24 00 A0 */ lfd f1, 0xa0(r4) +/* 80026D24 00023C84 90 01 01 98 */ stw r0, 0x198(r1) +/* 80026D28 00023C88 FC 21 00 24 */ fdiv f1, f1, f0 +/* 80026D2C 00023C8C C8 42 83 30 */ lfd f2, lbl_805AA050@sda21(r2) +/* 80026D30 00023C90 C0 02 83 70 */ lfs f0, lbl_805AA090@sda21(r2) +/* 80026D34 00023C94 FC 20 08 1E */ fctiwz f1, f1 +/* 80026D38 00023C98 D8 21 01 90 */ stfd f1, 0x190(r1) +/* 80026D3C 00023C9C 80 81 01 94 */ lwz r4, 0x194(r1) +/* 80026D40 00023CA0 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 80026D44 00023CA4 90 01 01 9C */ stw r0, 0x19c(r1) +/* 80026D48 00023CA8 C8 21 01 98 */ lfd f1, 0x198(r1) +/* 80026D4C 00023CAC EC 21 10 28 */ fsubs f1, f1, f2 +/* 80026D50 00023CB0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80026D54 00023CB4 FC 00 00 1E */ fctiwz f0, f0 +/* 80026D58 00023CB8 D8 01 01 A0 */ stfd f0, 0x1a0(r1) +/* 80026D5C 00023CBC 83 21 01 A4 */ lwz r25, 0x1a4(r1) +/* 80026D60 00023CC0 1C 19 00 3C */ mulli r0, r25, 0x3c +/* 80026D64 00023CC4 7F 00 20 50 */ subf r24, r0, r4 +/* 80026D68 00023CC8 48 31 A0 A5 */ bl GetObj__6CTokenFv +/* 80026D6C 00023CCC 80 63 00 04 */ lwz r3, 4(r3) +/* 80026D70 00023CD0 38 80 00 02 */ li r4, 2 +/* 80026D74 00023CD4 48 32 F9 89 */ bl GetString__12CStringTableCFi +/* 80026D78 00023CD8 7C 64 1B 78 */ mr r4, r3 +/* 80026D7C 00023CDC 38 61 00 BC */ addi r3, r1, 0xbc +/* 80026D80 00023CE0 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80026D84 00023CE4 38 A0 FF FF */ li r5, -1 +/* 80026D88 00023CE8 48 31 6A 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80026D8C 00023CEC 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 80026D90 00023CF0 38 81 00 BC */ addi r4, r1, 0xbc +/* 80026D94 00023CF4 48 2A 29 ED */ bl AddText__15CGuiTextSupportFQ24rstl7wstring +/* 80026D98 00023CF8 38 61 00 BC */ addi r3, r1, 0xbc +/* 80026D9C 00023CFC 48 31 63 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80026DA0 00023D00 3C 60 80 3D */ lis r3, lbl_803CCB50@ha +/* 80026DA4 00023D04 7F 24 CB 78 */ mr r4, r25 +/* 80026DA8 00023D08 38 63 CB 50 */ addi r3, r3, lbl_803CCB50@l +/* 80026DAC 00023D0C 7F 05 C3 78 */ mr r5, r24 +/* 80026DB0 00023D10 38 63 01 67 */ addi r3, r3, 0x167 +/* 80026DB4 00023D14 4C C6 31 82 */ crclr 6 +/* 80026DB8 00023D18 48 2A F3 F9 */ bl Stringize__7CBasicsFPCce +/* 80026DBC 00023D1C 7C 64 1B 78 */ mr r4, r3 +/* 80026DC0 00023D20 38 61 00 AC */ addi r3, r1, 0xac +/* 80026DC4 00023D24 38 C1 00 1C */ addi r6, r1, 0x1c +/* 80026DC8 00023D28 38 A0 FF FF */ li r5, -1 +/* 80026DCC 00023D2C 48 31 73 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80026DD0 00023D30 38 61 00 9C */ addi r3, r1, 0x9c +/* 80026DD4 00023D34 38 81 00 AC */ addi r4, r1, 0xac +/* 80026DD8 00023D38 48 31 79 49 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80026DDC 00023D3C 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 80026DE0 00023D40 38 81 00 9C */ addi r4, r1, 0x9c +/* 80026DE4 00023D44 48 2A 29 9D */ bl AddText__15CGuiTextSupportFQ24rstl7wstring +/* 80026DE8 00023D48 38 61 00 9C */ addi r3, r1, 0x9c +/* 80026DEC 00023D4C 48 31 63 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80026DF0 00023D50 38 61 00 AC */ addi r3, r1, 0xac +/* 80026DF4 00023D54 48 31 6C ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80026DF8 00023D58 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80026DFC 00023D5C 38 60 03 0C */ li r3, 0x30c +/* 80026E00 00023D60 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80026E04 00023D64 38 A0 00 00 */ li r5, 0 +/* 80026E08 00023D68 38 84 01 51 */ addi r4, r4, 0x151 +/* 80026E0C 00023D6C 48 2E EA 61 */ bl __nw__FUlPCcPCc +/* 80026E10 00023D70 7C 79 1B 79 */ or. r25, r3, r3 +/* 80026E14 00023D74 41 82 00 5C */ beq lbl_80026E70 +/* 80026E18 00023D78 83 0D A1 38 */ lwz r24, gpTweakGui@sda21(r13) +/* 80026E1C 00023D7C 48 32 31 91 */ bl White__6CColorFv +/* 80026E20 00023D80 7C 7A 1B 78 */ mr r26, r3 +/* 80026E24 00023D84 38 61 00 8C */ addi r3, r1, 0x8c +/* 80026E28 00023D88 38 80 00 00 */ li r4, 0 +/* 80026E2C 00023D8C 38 A0 00 01 */ li r5, 1 +/* 80026E30 00023D90 38 C0 00 02 */ li r6, 2 +/* 80026E34 00023D94 38 E0 00 00 */ li r7, 0 +/* 80026E38 00023D98 39 00 00 00 */ li r8, 0 +/* 80026E3C 00023D9C 48 2A 32 09 */ bl __ct__18CGuiTextPropertiesFv +/* 80026E40 00023DA0 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) +/* 80026E44 00023DA4 7C 65 1B 78 */ mr r5, r3 +/* 80026E48 00023DA8 7F 23 CB 78 */ mr r3, r25 +/* 80026E4C 00023DAC 7F 48 D3 78 */ mr r8, r26 +/* 80026E50 00023DB0 90 01 00 08 */ stw r0, 8(r1) +/* 80026E54 00023DB4 7F A9 EB 78 */ mr r9, r29 +/* 80026E58 00023DB8 7F CA F3 78 */ mr r10, r30 +/* 80026E5C 00023DBC 38 D8 03 54 */ addi r6, r24, 0x354 +/* 80026E60 00023DC0 80 9C 00 04 */ lwz r4, 4(r28) +/* 80026E64 00023DC4 38 F8 03 58 */ addi r7, r24, 0x358 +/* 80026E68 00023DC8 48 2A 2F D5 */ bl __ct__15CGuiTextSupportFv +/* 80026E6C 00023DCC 7C 79 1B 78 */ mr r25, r3 +lbl_80026E70: +/* 80026E70 00023DD0 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80026E74 00023DD4 38 80 00 01 */ li r4, 1 +/* 80026E78 00023DD8 48 2A 2E 21 */ bl __dt__15CGuiTextSupportFv +/* 80026E7C 00023DDC 93 3F 00 60 */ stw r25, 0x60(r31) +/* 80026E80 00023DE0 38 80 00 01 */ li r4, 1 +/* 80026E84 00023DE4 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) +/* 80026E88 00023DE8 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80026E8C 00023DEC C0 42 83 64 */ lfs f2, lbl_805AA084@sda21(r2) +/* 80026E90 00023DF0 48 2A 12 89 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff +/* 80026E94 00023DF4 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) +/* 80026E98 00023DF8 88 85 01 78 */ lbz r4, 0x178(r5) +/* 80026E9C 00023DFC 38 65 00 A8 */ addi r3, r5, 0xa8 +/* 80026EA0 00023E00 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 80026EA4 00023E04 40 82 00 4C */ bne lbl_80026EF0 +/* 80026EA8 00023E08 38 80 00 01 */ li r4, 1 +/* 80026EAC 00023E0C 48 1A E3 45 */ bl SetHasHardMode__14CSystemOptionsFb +/* 80026EB0 00023E10 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80026EB4 00023E14 48 31 9F 59 */ bl GetObj__6CTokenFv +/* 80026EB8 00023E18 80 63 00 04 */ lwz r3, 4(r3) +/* 80026EBC 00023E1C 38 80 00 03 */ li r4, 3 +/* 80026EC0 00023E20 48 32 F8 3D */ bl GetString__12CStringTableCFi +/* 80026EC4 00023E24 7C 64 1B 78 */ mr r4, r3 +/* 80026EC8 00023E28 38 61 00 7C */ addi r3, r1, 0x7c +/* 80026ECC 00023E2C 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80026ED0 00023E30 38 A0 FF FF */ li r5, -1 +/* 80026ED4 00023E34 48 31 68 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80026ED8 00023E38 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80026EDC 00023E3C 38 81 00 7C */ addi r4, r1, 0x7c +/* 80026EE0 00023E40 48 2A 28 A1 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring +/* 80026EE4 00023E44 38 61 00 7C */ addi r3, r1, 0x7c +/* 80026EE8 00023E48 48 31 62 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80026EEC 00023E4C 48 00 00 5C */ b lbl_80026F48 +lbl_80026EF0: +/* 80026EF0 00023E50 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 80026EF4 00023E54 40 82 00 54 */ bne lbl_80026F48 +/* 80026EF8 00023E58 88 05 02 28 */ lbz r0, 0x228(r5) +/* 80026EFC 00023E5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80026F00 00023E60 41 82 00 48 */ beq lbl_80026F48 +/* 80026F04 00023E64 38 80 00 01 */ li r4, 1 +/* 80026F08 00023E68 48 1A E2 D9 */ bl SetHardModeBeat__14CSystemOptionsFb +/* 80026F0C 00023E6C 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80026F10 00023E70 48 31 9E FD */ bl GetObj__6CTokenFv +/* 80026F14 00023E74 80 63 00 04 */ lwz r3, 4(r3) +/* 80026F18 00023E78 38 80 00 04 */ li r4, 4 +/* 80026F1C 00023E7C 48 32 F7 E1 */ bl GetString__12CStringTableCFi +/* 80026F20 00023E80 7C 64 1B 78 */ mr r4, r3 +/* 80026F24 00023E84 38 61 00 6C */ addi r3, r1, 0x6c +/* 80026F28 00023E88 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80026F2C 00023E8C 38 A0 FF FF */ li r5, -1 +/* 80026F30 00023E90 48 31 68 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80026F34 00023E94 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80026F38 00023E98 38 81 00 6C */ addi r4, r1, 0x6c +/* 80026F3C 00023E9C 48 2A 28 45 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring +/* 80026F40 00023EA0 38 61 00 6C */ addi r3, r1, 0x6c +/* 80026F44 00023EA4 48 31 61 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80026F48: +/* 80026F48 00023EA8 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80026F4C 00023EAC 38 60 03 0C */ li r3, 0x30c +/* 80026F50 00023EB0 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80026F54 00023EB4 38 A0 00 00 */ li r5, 0 +/* 80026F58 00023EB8 38 84 01 51 */ addi r4, r4, 0x151 +/* 80026F5C 00023EBC 48 2E E9 11 */ bl __nw__FUlPCcPCc +/* 80026F60 00023EC0 7C 79 1B 79 */ or. r25, r3, r3 +/* 80026F64 00023EC4 41 82 00 5C */ beq lbl_80026FC0 +/* 80026F68 00023EC8 83 0D A1 38 */ lwz r24, gpTweakGui@sda21(r13) +/* 80026F6C 00023ECC 48 32 30 41 */ bl White__6CColorFv +/* 80026F70 00023ED0 7C 7A 1B 78 */ mr r26, r3 +/* 80026F74 00023ED4 38 61 00 5C */ addi r3, r1, 0x5c +/* 80026F78 00023ED8 38 80 00 00 */ li r4, 0 +/* 80026F7C 00023EDC 38 A0 00 01 */ li r5, 1 +/* 80026F80 00023EE0 38 C0 00 01 */ li r6, 1 +/* 80026F84 00023EE4 38 E0 00 02 */ li r7, 2 +/* 80026F88 00023EE8 39 00 00 00 */ li r8, 0 +/* 80026F8C 00023EEC 48 2A 30 B9 */ bl __ct__18CGuiTextPropertiesFv +/* 80026F90 00023EF0 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) +/* 80026F94 00023EF4 7C 65 1B 78 */ mr r5, r3 +/* 80026F98 00023EF8 7F 23 CB 78 */ mr r3, r25 +/* 80026F9C 00023EFC 7F 48 D3 78 */ mr r8, r26 +/* 80026FA0 00023F00 90 01 00 08 */ stw r0, 8(r1) +/* 80026FA4 00023F04 7F A9 EB 78 */ mr r9, r29 +/* 80026FA8 00023F08 7F CA F3 78 */ mr r10, r30 +/* 80026FAC 00023F0C 38 D8 03 54 */ addi r6, r24, 0x354 +/* 80026FB0 00023F10 80 9C 00 04 */ lwz r4, 4(r28) +/* 80026FB4 00023F14 38 F8 03 58 */ addi r7, r24, 0x358 +/* 80026FB8 00023F18 48 2A 2E 85 */ bl __ct__15CGuiTextSupportFv +/* 80026FBC 00023F1C 7C 79 1B 78 */ mr r25, r3 +lbl_80026FC0: +/* 80026FC0 00023F20 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80026FC4 00023F24 38 80 00 01 */ li r4, 1 +/* 80026FC8 00023F28 48 2A 2C D1 */ bl __dt__15CGuiTextSupportFv +/* 80026FCC 00023F2C 93 3F 00 64 */ stw r25, 0x64(r31) +/* 80026FD0 00023F30 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80026FD4 00023F34 48 31 9E 39 */ bl GetObj__6CTokenFv +/* 80026FD8 00023F38 80 63 00 04 */ lwz r3, 4(r3) +/* 80026FDC 00023F3C 38 80 00 05 */ li r4, 5 +/* 80026FE0 00023F40 48 32 F7 1D */ bl GetString__12CStringTableCFi +/* 80026FE4 00023F44 7C 64 1B 78 */ mr r4, r3 +/* 80026FE8 00023F48 38 61 00 4C */ addi r3, r1, 0x4c +/* 80026FEC 00023F4C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80026FF0 00023F50 38 A0 FF FF */ li r5, -1 +/* 80026FF4 00023F54 48 31 67 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80026FF8 00023F58 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80026FFC 00023F5C 38 81 00 4C */ addi r4, r1, 0x4c +/* 80027000 00023F60 38 A0 00 00 */ li r5, 0 +/* 80027004 00023F64 48 2A 28 81 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80027008 00023F68 38 61 00 4C */ addi r3, r1, 0x4c +/* 8002700C 00023F6C 48 31 61 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80027010: +/* 80027010 00023F70 38 00 00 01 */ li r0, 1 +/* 80027014 00023F74 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_80027018: +/* 80027018 00023F78 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 8002701C 00023F7C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80027020 00023F80 41 82 00 68 */ beq lbl_80027088 +/* 80027024 00023F84 3B 3F 00 20 */ addi r25, r31, 0x20 +/* 80027028 00023F88 3B 00 00 01 */ li r24, 1 +/* 8002702C 00023F8C 3B 40 00 00 */ li r26, 0 +/* 80027030 00023F90 48 00 00 44 */ b lbl_80027074 +lbl_80027034: +/* 80027034 00023F94 80 79 00 04 */ lwz r3, 4(r25) +/* 80027038 00023F98 48 33 5A 49 */ bl PumpIndexLoad__12CMoviePlayerFv +/* 8002703C 00023F9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80027040 00023FA0 40 82 00 28 */ bne lbl_80027068 +/* 80027044 00023FA4 FC 20 F0 90 */ fmr f1, f30 +/* 80027048 00023FA8 80 79 00 04 */ lwz r3, 4(r25) +/* 8002704C 00023FAC 48 33 4D 15 */ bl Update__12CMoviePlayerFf +/* 80027050 00023FB0 80 79 00 04 */ lwz r3, 4(r25) +/* 80027054 00023FB4 48 33 4B 5D */ bl GetIsFullyCached__12CMoviePlayerCFv +/* 80027058 00023FB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002705C 00023FBC 40 82 00 10 */ bne lbl_8002706C +/* 80027060 00023FC0 3B 00 00 00 */ li r24, 0 +/* 80027064 00023FC4 48 00 00 08 */ b lbl_8002706C +lbl_80027068: +/* 80027068 00023FC8 3B 00 00 00 */ li r24, 0 +lbl_8002706C: +/* 8002706C 00023FCC 3B 39 00 08 */ addi r25, r25, 8 +/* 80027070 00023FD0 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80027074: +/* 80027074 00023FD4 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80027078 00023FD8 7C 1A 00 00 */ cmpw r26, r0 +/* 8002707C 00023FDC 41 80 FF B8 */ blt lbl_80027034 +/* 80027080 00023FE0 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80027084 00023FE4 41 82 04 F4 */ beq lbl_80027578 +lbl_80027088: +/* 80027088 00023FE8 7F E3 FB 78 */ mr r3, r31 +/* 8002708C 00023FEC 38 80 00 00 */ li r4, 0 +/* 80027090 00023FF0 4B FF F3 9D */ bl sub_8002642c +/* 80027094 00023FF4 38 00 00 02 */ li r0, 2 +/* 80027098 00023FF8 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8002709C: +/* 8002709C 00023FFC 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 800270A0 00024000 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800270A4 00024004 41 82 00 A8 */ beq lbl_8002714C +/* 800270A8 00024008 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 800270AC 0002400C 28 00 00 00 */ cmplwi r0, 0 +/* 800270B0 00024010 40 82 00 78 */ bne lbl_80027128 +/* 800270B4 00024014 3C 60 80 3D */ lis r3, lbl_803CCB50@ha +/* 800270B8 00024018 3B 00 00 00 */ li r24, 0 +/* 800270BC 0002401C 38 83 CB 50 */ addi r4, r3, lbl_803CCB50@l +/* 800270C0 00024020 38 60 00 C4 */ li r3, 0xc4 +/* 800270C4 00024024 38 84 01 51 */ addi r4, r4, 0x151 +/* 800270C8 00024028 38 A0 00 00 */ li r5, 0 +/* 800270CC 0002402C 48 2E E7 A1 */ bl __nw__FUlPCcPCc +/* 800270D0 00024030 7C 79 1B 79 */ or. r25, r3, r3 +/* 800270D4 00024034 41 82 00 34 */ beq lbl_80027108 +/* 800270D8 00024038 80 82 83 14 */ lwz r4, lbl_805AA034@sda21(r2) +/* 800270DC 0002403C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800270E0 00024040 4B FD DB D9 */ bl string_l__4rstlFPCc +/* 800270E4 00024044 3C A0 00 29 */ lis r5, 0x00297988@ha +/* 800270E8 00024048 3C C0 00 79 */ lis r6, 0x0078CB60@ha +/* 800270EC 0002404C 7F 23 CB 78 */ mr r3, r25 +/* 800270F0 00024050 38 81 00 3C */ addi r4, r1, 0x3c +/* 800270F4 00024054 38 A5 79 88 */ addi r5, r5, 0x00297988@l +/* 800270F8 00024058 38 C6 CB 60 */ addi r6, r6, 0x0078CB60@l +/* 800270FC 0002405C 3B 00 00 01 */ li r24, 1 +/* 80027100 00024060 48 34 51 D9 */ bl __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii +/* 80027104 00024064 7C 79 1B 78 */ mr r25, r3 +lbl_80027108: +/* 80027108 00024068 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8002710C 0002406C 38 80 00 01 */ li r4, 1 +/* 80027110 00024070 48 34 50 49 */ bl __dt__18CStaticAudioPlayer +/* 80027114 00024074 7F 00 07 75 */ extsb. r0, r24 +/* 80027118 00024078 93 3F 00 44 */ stw r25, 0x44(r31) +/* 8002711C 0002407C 41 82 00 0C */ beq lbl_80027128 +/* 80027120 00024080 38 61 00 3C */ addi r3, r1, 0x3c +/* 80027124 00024084 48 31 69 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80027128: +/* 80027128 00024088 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8002712C 0002408C 48 34 4F D9 */ bl IsReady__18CStaticAudioPlayer +/* 80027130 00024090 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80027134 00024094 40 82 00 0C */ bne lbl_80027140 +/* 80027138 00024098 38 60 00 01 */ li r3, 1 +/* 8002713C 0002409C 48 00 04 40 */ b lbl_8002757C +lbl_80027140: +/* 80027140 000240A0 C0 22 83 74 */ lfs f1, lbl_805AA094@sda21(r2) +/* 80027144 000240A4 38 7F 00 44 */ addi r3, r31, 0x44 +/* 80027148 000240A8 48 00 0D 85 */ bl sub_80027ecc +lbl_8002714C: +/* 8002714C 000240AC 38 00 00 03 */ li r0, 3 +/* 80027150 000240B0 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_80027154: +/* 80027154 000240B4 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80027158 000240B8 48 33 59 29 */ bl PumpIndexLoad__12CMoviePlayerFv +/* 8002715C 000240BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80027160 000240C0 40 82 04 18 */ bne lbl_80027578 +/* 80027164 000240C4 FC 20 F0 90 */ fmr f1, f30 +/* 80027168 000240C8 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8002716C 000240CC 48 33 4B F5 */ bl Update__12CMoviePlayerFf +/* 80027170 000240D0 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 80027174 000240D4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80027178 000240D8 41 82 00 E0 */ beq lbl_80027258 +/* 8002717C 000240DC FC 20 F0 90 */ fmr f1, f30 +/* 80027180 000240E0 7F E3 FB 78 */ mr r3, r31 +/* 80027184 000240E4 4B FF F3 5D */ bl sub_800264e0 +/* 80027188 000240E8 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8002718C 000240EC 48 33 49 F9 */ bl GetIsMovieFinishedPlaying__12CMoviePlayerCFv +/* 80027190 000240F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80027194 000240F4 41 82 00 5C */ beq lbl_800271F0 +/* 80027198 000240F8 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8002719C 000240FC 2C 00 00 01 */ cmpwi r0, 1 +/* 800271A0 00024100 41 82 00 30 */ beq lbl_800271D0 +/* 800271A4 00024104 40 80 00 10 */ bge lbl_800271B4 +/* 800271A8 00024108 2C 00 00 00 */ cmpwi r0, 0 +/* 800271AC 0002410C 40 80 00 14 */ bge lbl_800271C0 +/* 800271B0 00024110 48 00 00 40 */ b lbl_800271F0 +lbl_800271B4: +/* 800271B4 00024114 2C 00 00 03 */ cmpwi r0, 3 +/* 800271B8 00024118 40 80 00 38 */ bge lbl_800271F0 +/* 800271BC 0002411C 48 00 00 24 */ b lbl_800271E0 +lbl_800271C0: +/* 800271C0 00024120 7F E3 FB 78 */ mr r3, r31 +/* 800271C4 00024124 38 80 00 01 */ li r4, 1 +/* 800271C8 00024128 4B FF F2 65 */ bl sub_8002642c +/* 800271CC 0002412C 48 00 00 24 */ b lbl_800271F0 +lbl_800271D0: +/* 800271D0 00024130 7F E3 FB 78 */ mr r3, r31 +/* 800271D4 00024134 38 80 00 02 */ li r4, 2 +/* 800271D8 00024138 4B FF F2 55 */ bl sub_8002642c +/* 800271DC 0002413C 48 00 00 14 */ b lbl_800271F0 +lbl_800271E0: +/* 800271E0 00024140 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 800271E4 00024144 38 60 00 01 */ li r3, 1 +/* 800271E8 00024148 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800271EC 0002414C 98 1F 00 78 */ stb r0, 0x78(r31) +lbl_800271F0: +/* 800271F0 00024150 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 800271F4 00024154 2C 00 00 02 */ cmpwi r0, 2 +/* 800271F8 00024158 40 82 00 98 */ bne lbl_80027290 +/* 800271FC 0002415C 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80027200 00024160 48 33 49 CD */ bl GetPlayedSeconds__12CMoviePlayerCFv +/* 80027204 00024164 FF E0 08 90 */ fmr f31, f1 +/* 80027208 00024168 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8002720C 0002416C 48 33 49 D1 */ bl GetTotalSeconds__12CMoviePlayerCFv +/* 80027210 00024170 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 80027214 00024174 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) +/* 80027218 00024178 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8002721C 0002417C 4C 40 13 82 */ cror 2, 0, 2 +/* 80027220 00024180 40 82 00 70 */ bne lbl_80027290 +/* 80027224 00024184 C0 02 83 28 */ lfs f0, lbl_805AA048@sda21(r2) +/* 80027228 00024188 38 81 00 30 */ addi r4, r1, 0x30 +/* 8002722C 0002418C 38 6D 81 A0 */ addi r3, r13, lbl_805A6D60@sda21 +/* 80027230 00024190 38 AD 81 A4 */ addi r5, r13, lbl_805A6D64@sda21 +/* 80027234 00024194 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80027238 00024198 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8002723C 0002419C 4B FE 50 79 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80027240 000241A0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80027244 000241A4 38 7F 00 44 */ addi r3, r31, 0x44 +/* 80027248 000241A8 C0 02 83 74 */ lfs f0, lbl_805AA094@sda21(r2) +/* 8002724C 000241AC EC 20 00 72 */ fmuls f1, f0, f1 +/* 80027250 000241B0 48 00 0C 7D */ bl sub_80027ecc +/* 80027254 000241B4 48 00 00 3C */ b lbl_80027290 +lbl_80027258: +/* 80027258 000241B8 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8002725C 000241BC 2C 00 00 03 */ cmpwi r0, 3 +/* 80027260 000241C0 41 82 00 30 */ beq lbl_80027290 +/* 80027264 000241C4 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80027268 000241C8 2C 00 00 01 */ cmpwi r0, 1 +/* 8002726C 000241CC 40 82 00 24 */ bne lbl_80027290 +/* 80027270 000241D0 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80027274 000241D4 48 33 49 11 */ bl GetIsMovieFinishedPlaying__12CMoviePlayerCFv +/* 80027278 000241D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8002727C 000241DC 41 82 00 14 */ beq lbl_80027290 +/* 80027280 000241E0 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 80027284 000241E4 38 60 00 01 */ li r3, 1 +/* 80027288 000241E8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8002728C 000241EC 98 1F 00 78 */ stb r0, 0x78(r31) +lbl_80027290: +/* 80027290 000241F0 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 80027294 000241F4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80027298 000241F8 41 82 00 50 */ beq lbl_800272E8 +/* 8002729C 000241FC FC 20 F0 90 */ fmr f1, f30 +/* 800272A0 00024200 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 800272A4 00024204 48 21 D6 85 */ bl Update__15CQuitGameScreenFv +/* 800272A8 00024208 2C 03 00 01 */ cmpwi r3, 1 +/* 800272AC 0002420C 40 82 00 24 */ bne lbl_800272D0 +/* 800272B0 00024210 80 8D A0 78 */ lwz r4, gpMain@sda21(r13) +/* 800272B4 00024214 38 00 00 06 */ li r0, 6 +/* 800272B8 00024218 38 60 00 01 */ li r3, 1 +/* 800272BC 0002421C 90 04 01 2C */ stw r0, 0x12c(r4) +/* 800272C0 00024220 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 800272C4 00024224 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800272C8 00024228 98 1F 00 78 */ stb r0, 0x78(r31) +/* 800272CC 0002422C 48 00 00 1C */ b lbl_800272E8 +lbl_800272D0: +/* 800272D0 00024230 2C 03 00 02 */ cmpwi r3, 2 +/* 800272D4 00024234 40 82 00 14 */ bne lbl_800272E8 +/* 800272D8 00024238 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 800272DC 0002423C 38 60 00 01 */ li r3, 1 +/* 800272E0 00024240 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800272E4 00024244 98 1F 00 78 */ stb r0, 0x78(r31) +lbl_800272E8: +/* 800272E8 00024248 88 7F 00 78 */ lbz r3, 0x78(r31) +/* 800272EC 0002424C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 800272F0 00024250 41 82 00 10 */ beq lbl_80027300 +/* 800272F4 00024254 38 00 00 01 */ li r0, 1 +/* 800272F8 00024258 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 800272FC 0002425C 98 7F 00 78 */ stb r3, 0x78(r31) +lbl_80027300: +/* 80027300 00024260 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 80027304 00024264 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80027308 00024268 41 82 02 70 */ beq lbl_80027578 +/* 8002730C 0002426C 48 34 59 F1 */ bl sub_8036ccfc +/* 80027310 00024270 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80027314 00024274 2C 00 00 05 */ cmpwi r0, 5 +/* 80027318 00024278 41 82 00 2C */ beq lbl_80027344 +/* 8002731C 0002427C 40 80 00 1C */ bge lbl_80027338 +/* 80027320 00024280 2C 00 00 02 */ cmpwi r0, 2 +/* 80027324 00024284 41 82 00 9C */ beq lbl_800273C0 +/* 80027328 00024288 40 80 00 DC */ bge lbl_80027404 +/* 8002732C 0002428C 2C 00 00 00 */ cmpwi r0, 0 +/* 80027330 00024290 40 80 00 C8 */ bge lbl_800273F8 +/* 80027334 00024294 48 00 00 D0 */ b lbl_80027404 +lbl_80027338: +/* 80027338 00024298 2C 00 00 07 */ cmpwi r0, 7 +/* 8002733C 0002429C 40 80 00 C8 */ bge lbl_80027404 +/* 80027340 000242A0 48 00 00 B8 */ b lbl_800273F8 +lbl_80027344: +/* 80027344 000242A4 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 80027348 000242A8 3B 00 00 00 */ li r24, 0 +/* 8002734C 000242AC 80 03 01 2C */ lwz r0, 0x12c(r3) +/* 80027350 000242B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80027354 000242B4 41 82 00 28 */ beq lbl_8002737C +/* 80027358 000242B8 40 80 00 10 */ bge lbl_80027368 +/* 8002735C 000242BC 2C 00 00 01 */ cmpwi r0, 1 +/* 80027360 000242C0 40 80 00 14 */ bge lbl_80027374 +/* 80027364 000242C4 48 00 00 24 */ b lbl_80027388 +lbl_80027368: +/* 80027368 000242C8 2C 00 00 04 */ cmpwi r0, 4 +/* 8002736C 000242CC 40 80 00 1C */ bge lbl_80027388 +/* 80027370 000242D0 48 00 00 14 */ b lbl_80027384 +lbl_80027374: +/* 80027374 000242D4 3B 00 00 00 */ li r24, 0 +/* 80027378 000242D8 48 00 00 10 */ b lbl_80027388 +lbl_8002737C: +/* 8002737C 000242DC 3B 00 00 01 */ li r24, 1 +/* 80027380 000242E0 48 00 00 08 */ b lbl_80027388 +lbl_80027384: +/* 80027384 000242E4 3B 00 00 02 */ li r24, 2 +lbl_80027388: +/* 80027388 000242E8 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 8002738C 000242EC 38 60 00 7C */ li r3, 0x7c +/* 80027390 000242F0 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80027394 000242F4 38 A0 00 00 */ li r5, 0 +/* 80027398 000242F8 38 84 01 51 */ addi r4, r4, 0x151 +/* 8002739C 000242FC 48 2E E4 D1 */ bl __nw__FUlPCcPCc +/* 800273A0 00024300 7C 64 1B 79 */ or. r4, r3, r3 +/* 800273A4 00024304 41 82 00 10 */ beq lbl_800273B4 +/* 800273A8 00024308 7F 04 C3 78 */ mr r4, r24 +/* 800273AC 0002430C 48 00 03 B9 */ bl __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie +/* 800273B0 00024310 7C 64 1B 78 */ mr r4, r3 +lbl_800273B4: +/* 800273B4 00024314 7F 63 DB 78 */ mr r3, r27 +/* 800273B8 00024318 48 00 09 FD */ bl sub_80027db4 +/* 800273BC 0002431C 48 00 00 48 */ b lbl_80027404 +lbl_800273C0: +/* 800273C0 00024320 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 800273C4 00024324 38 60 00 7C */ li r3, 0x7c +/* 800273C8 00024328 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 800273CC 0002432C 38 A0 00 00 */ li r5, 0 +/* 800273D0 00024330 38 84 01 51 */ addi r4, r4, 0x151 +/* 800273D4 00024334 48 2E E4 99 */ bl __nw__FUlPCcPCc +/* 800273D8 00024338 7C 64 1B 79 */ or. r4, r3, r3 +/* 800273DC 0002433C 41 82 00 10 */ beq lbl_800273EC +/* 800273E0 00024340 38 80 00 06 */ li r4, 6 +/* 800273E4 00024344 48 00 03 81 */ bl __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie +/* 800273E8 00024348 7C 64 1B 78 */ mr r4, r3 +lbl_800273EC: +/* 800273EC 0002434C 7F 63 DB 78 */ mr r3, r27 +/* 800273F0 00024350 48 00 09 C5 */ bl sub_80027db4 +/* 800273F4 00024354 48 00 00 10 */ b lbl_80027404 +lbl_800273F8: +/* 800273F8 00024358 48 35 10 ED */ bl GXDrawDone +/* 800273FC 0002435C 7F 63 DB 78 */ mr r3, r27 +/* 80027400 00024360 48 00 09 5D */ bl sub_80027d5c +lbl_80027404: +/* 80027404 00024364 38 60 00 02 */ li r3, 2 +/* 80027408 00024368 48 00 01 74 */ b lbl_8002757C +lbl_8002740C: +/* 8002740C 0002436C 7C 83 23 78 */ mr r3, r4 +/* 80027410 00024370 48 02 A6 D5 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage +/* 80027414 00024374 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha +/* 80027418 00024378 3C 80 80 3E */ lis r4, lbl_803D9810@ha +/* 8002741C 0002437C 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l +/* 80027420 00024380 90 01 01 5C */ stw r0, 0x15c(r1) +/* 80027424 00024384 38 04 98 10 */ addi r0, r4, lbl_803D9810@l +/* 80027428 00024388 90 01 01 5C */ stw r0, 0x15c(r1) +/* 8002742C 0002438C C0 03 00 04 */ lfs f0, 4(r3) +/* 80027430 00024390 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 80027434 00024394 80 03 00 08 */ lwz r0, 8(r3) +/* 80027438 00024398 90 01 01 64 */ stw r0, 0x164(r1) +/* 8002743C 0002439C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80027440 000243A0 D0 01 01 68 */ stfs f0, 0x168(r1) +/* 80027444 000243A4 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80027448 000243A8 D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 8002744C 000243AC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80027450 000243B0 D0 01 01 70 */ stfs f0, 0x170(r1) +/* 80027454 000243B4 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80027458 000243B8 D0 01 01 74 */ stfs f0, 0x174(r1) +/* 8002745C 000243BC C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80027460 000243C0 D0 01 01 78 */ stfs f0, 0x178(r1) +/* 80027464 000243C4 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80027468 000243C8 D0 01 01 7C */ stfs f0, 0x17c(r1) +/* 8002746C 000243CC 88 03 00 24 */ lbz r0, 0x24(r3) +/* 80027470 000243D0 98 01 01 80 */ stb r0, 0x180(r1) +/* 80027474 000243D4 88 03 00 25 */ lbz r0, 0x25(r3) +/* 80027478 000243D8 98 01 01 81 */ stb r0, 0x181(r1) +/* 8002747C 000243DC 88 03 00 26 */ lbz r0, 0x26(r3) +/* 80027480 000243E0 98 01 01 82 */ stb r0, 0x182(r1) +/* 80027484 000243E4 88 03 00 27 */ lbz r0, 0x27(r3) +/* 80027488 000243E8 98 01 01 83 */ stb r0, 0x183(r1) +/* 8002748C 000243EC C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80027490 000243F0 D0 01 01 84 */ stfs f0, 0x184(r1) +/* 80027494 000243F4 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 80027498 000243F8 D0 01 01 88 */ stfs f0, 0x188(r1) +/* 8002749C 000243FC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800274A0 00024400 98 01 01 8C */ stb r0, 0x18c(r1) +/* 800274A4 00024404 88 03 00 31 */ lbz r0, 0x31(r3) +/* 800274A8 00024408 98 01 01 8D */ stb r0, 0x18d(r1) +/* 800274AC 0002440C 88 03 00 32 */ lbz r0, 0x32(r3) +/* 800274B0 00024410 38 61 01 5C */ addi r3, r1, 0x15c +/* 800274B4 00024414 98 01 01 8E */ stb r0, 0x18e(r1) +/* 800274B8 00024418 4B FF 45 2D */ bl GetUserInput__21CArchMsgParmUserInputCFv +/* 800274BC 0002441C C0 03 00 00 */ lfs f0, 0(r3) +/* 800274C0 00024420 D0 01 01 2C */ stfs f0, 0x12c(r1) +/* 800274C4 00024424 80 03 00 04 */ lwz r0, 4(r3) +/* 800274C8 00024428 90 01 01 30 */ stw r0, 0x130(r1) +/* 800274CC 0002442C C0 03 00 08 */ lfs f0, 8(r3) +/* 800274D0 00024430 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 800274D4 00024434 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800274D8 00024438 D0 01 01 38 */ stfs f0, 0x138(r1) +/* 800274DC 0002443C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 800274E0 00024440 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 800274E4 00024444 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 800274E8 00024448 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 800274EC 0002444C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 800274F0 00024450 D0 01 01 44 */ stfs f0, 0x144(r1) +/* 800274F4 00024454 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 800274F8 00024458 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 800274FC 0002445C 88 03 00 20 */ lbz r0, 0x20(r3) +/* 80027500 00024460 98 01 01 4C */ stb r0, 0x14c(r1) +/* 80027504 00024464 88 03 00 21 */ lbz r0, 0x21(r3) +/* 80027508 00024468 98 01 01 4D */ stb r0, 0x14d(r1) +/* 8002750C 0002446C 88 03 00 22 */ lbz r0, 0x22(r3) +/* 80027510 00024470 98 01 01 4E */ stb r0, 0x14e(r1) +/* 80027514 00024474 88 03 00 23 */ lbz r0, 0x23(r3) +/* 80027518 00024478 98 01 01 4F */ stb r0, 0x14f(r1) +/* 8002751C 0002447C C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80027520 00024480 D0 01 01 50 */ stfs f0, 0x150(r1) +/* 80027524 00024484 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80027528 00024488 D0 01 01 54 */ stfs f0, 0x154(r1) +/* 8002752C 0002448C 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80027530 00024490 98 01 01 58 */ stb r0, 0x158(r1) +/* 80027534 00024494 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80027538 00024498 98 01 01 59 */ stb r0, 0x159(r1) +/* 8002753C 0002449C 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80027540 000244A0 98 01 01 5A */ stb r0, 0x15a(r1) +/* 80027544 000244A4 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 80027548 000244A8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8002754C 000244AC 41 82 00 14 */ beq lbl_80027560 +/* 80027550 000244B0 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80027554 000244B4 38 81 01 2C */ addi r4, r1, 0x12c +/* 80027558 000244B8 48 21 D5 49 */ bl ProcessUserInput__15CQuitGameScreenFRC11CFinalInput +/* 8002755C 000244BC 48 00 00 10 */ b lbl_8002756C +lbl_80027560: +/* 80027560 000244C0 7F E3 FB 78 */ mr r3, r31 +/* 80027564 000244C4 38 81 01 2C */ addi r4, r1, 0x12c +/* 80027568 000244C8 4B FF EE F5 */ bl sub_8002645c +lbl_8002756C: +/* 8002756C 000244CC 38 61 01 5C */ addi r3, r1, 0x15c +/* 80027570 000244D0 38 80 FF FF */ li r4, -1 +/* 80027574 000244D4 4B FF 44 79 */ bl __dt__21CArchMsgParmUserInputFv +lbl_80027578: +/* 80027578 000244D8 38 60 00 01 */ li r3, 1 +lbl_8002757C: +/* 8002757C 000244DC E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 80027580 000244E0 CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 80027584 000244E4 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 80027588 000244E8 CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 8002758C 000244EC BB 01 01 B0 */ lmw r24, 0x1b0(r1) +/* 80027590 000244F0 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 80027594 000244F4 7C 08 03 A6 */ mtlr r0 +/* 80027598 000244F8 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 8002759C 000244FC 4E 80 00 20 */ blr + +.global IsGameWon__10CPlayMovieF11EWhichMovie +IsGameWon__10CPlayMovieF11EWhichMovie: +/* 800275A0 00024500 38 60 00 01 */ li r3, 1 +/* 800275A4 00024504 20 04 00 01 */ subfic r0, r4, 1 +/* 800275A8 00024508 7C 65 23 38 */ orc r5, r3, r4 +/* 800275AC 0002450C 54 00 F8 7E */ srwi r0, r0, 1 +/* 800275B0 00024510 7C 66 1B 78 */ mr r6, r3 +/* 800275B4 00024514 7C 00 28 50 */ subf r0, r0, r5 +/* 800275B8 00024518 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 800275BC 0002451C 40 82 00 08 */ bne lbl_800275C4 +/* 800275C0 00024520 38 C0 00 00 */ li r6, 0 +lbl_800275C4: +/* 800275C4 00024524 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 800275C8 00024528 4C 82 00 20 */ bnelr +/* 800275CC 0002452C 2C 04 00 02 */ cmpwi r4, 2 +/* 800275D0 00024530 4D 82 00 20 */ beqlr +/* 800275D4 00024534 38 60 00 00 */ li r3, 0 +/* 800275D8 00024538 4E 80 00 20 */ blr + +.global __dt__10CPlayMovieFv +__dt__10CPlayMovieFv: +/* 800275DC 0002453C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800275E0 00024540 7C 08 02 A6 */ mflr r0 +/* 800275E4 00024544 90 01 00 24 */ stw r0, 0x24(r1) +/* 800275E8 00024548 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800275EC 0002454C 7C 9F 23 78 */ mr r31, r4 +/* 800275F0 00024550 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800275F4 00024554 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800275F8 00024558 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800275FC 0002455C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80027600 00024560 41 82 01 40 */ beq lbl_80027740 +/* 80027604 00024564 3C 60 80 3E */ lis r3, lbl_803D9A34@ha +/* 80027608 00024568 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 8002760C 0002456C 38 03 9A 34 */ addi r0, r3, lbl_803D9A34@l +/* 80027610 00024570 90 1E 00 00 */ stw r0, 0(r30) +/* 80027614 00024574 41 82 00 10 */ beq lbl_80027624 +/* 80027618 00024578 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8002761C 0002457C 38 80 00 01 */ li r4, 1 +/* 80027620 00024580 48 2A 26 79 */ bl __dt__15CGuiTextSupportFv +lbl_80027624: +/* 80027624 00024584 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 80027628 00024588 41 82 00 10 */ beq lbl_80027638 +/* 8002762C 0002458C 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 80027630 00024590 38 80 00 01 */ li r4, 1 +/* 80027634 00024594 48 2A 26 65 */ bl __dt__15CGuiTextSupportFv +lbl_80027638: +/* 80027638 00024598 34 1E 00 5C */ addic. r0, r30, 0x5c +/* 8002763C 0002459C 41 82 00 10 */ beq lbl_8002764C +/* 80027640 000245A0 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 80027644 000245A4 38 80 00 01 */ li r4, 1 +/* 80027648 000245A8 48 2A 26 51 */ bl __dt__15CGuiTextSupportFv +lbl_8002764C: +/* 8002764C 000245AC 34 1E 00 58 */ addic. r0, r30, 0x58 +/* 80027650 000245B0 41 82 00 10 */ beq lbl_80027660 +/* 80027654 000245B4 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 80027658 000245B8 38 80 00 01 */ li r4, 1 +/* 8002765C 000245BC 48 2A 26 3D */ bl __dt__15CGuiTextSupportFv +lbl_80027660: +/* 80027660 000245C0 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 80027664 000245C4 41 82 00 10 */ beq lbl_80027674 +/* 80027668 000245C8 38 7E 00 50 */ addi r3, r30, 0x50 +/* 8002766C 000245CC 38 80 00 00 */ li r4, 0 +/* 80027670 000245D0 48 31 97 D1 */ bl __dt__6CTokenFv +lbl_80027674: +/* 80027674 000245D4 34 1E 00 48 */ addic. r0, r30, 0x48 +/* 80027678 000245D8 41 82 00 10 */ beq lbl_80027688 +/* 8002767C 000245DC 38 7E 00 48 */ addi r3, r30, 0x48 +/* 80027680 000245E0 38 80 00 00 */ li r4, 0 +/* 80027684 000245E4 48 31 97 BD */ bl __dt__6CTokenFv +lbl_80027688: +/* 80027688 000245E8 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 8002768C 000245EC 41 82 00 10 */ beq lbl_8002769C +/* 80027690 000245F0 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 80027694 000245F4 38 80 00 01 */ li r4, 1 +/* 80027698 000245F8 48 34 4A C1 */ bl __dt__18CStaticAudioPlayer +lbl_8002769C: +/* 8002769C 000245FC 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 800276A0 00024600 41 82 00 34 */ beq lbl_800276D4 +/* 800276A4 00024604 83 BE 00 40 */ lwz r29, 0x40(r30) +/* 800276A8 00024608 28 1D 00 00 */ cmplwi r29, 0 +/* 800276AC 0002460C 41 82 00 28 */ beq lbl_800276D4 +/* 800276B0 00024610 34 1D 00 04 */ addic. r0, r29, 4 +/* 800276B4 00024614 41 82 00 18 */ beq lbl_800276CC +/* 800276B8 00024618 34 1D 00 04 */ addic. r0, r29, 4 +/* 800276BC 0002461C 41 82 00 10 */ beq lbl_800276CC +/* 800276C0 00024620 38 7D 00 04 */ addi r3, r29, 4 +/* 800276C4 00024624 38 80 00 00 */ li r4, 0 +/* 800276C8 00024628 48 31 97 79 */ bl __dt__6CTokenFv +lbl_800276CC: +/* 800276CC 0002462C 7F A3 EB 78 */ mr r3, r29 +/* 800276D0 00024630 48 2E E2 61 */ bl Free__7CMemoryFPCv +lbl_800276D4: +/* 800276D4 00024634 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 800276D8 00024638 41 82 00 4C */ beq lbl_80027724 +/* 800276DC 0002463C 3B 9E 00 20 */ addi r28, r30, 0x20 +/* 800276E0 00024640 3B A0 00 00 */ li r29, 0 +/* 800276E4 00024644 48 00 00 2C */ b lbl_80027710 +lbl_800276E8: +/* 800276E8 00024648 28 1C 00 00 */ cmplwi r28, 0 +/* 800276EC 0002464C 41 82 00 1C */ beq lbl_80027708 +/* 800276F0 00024650 88 1C 00 00 */ lbz r0, 0(r28) +/* 800276F4 00024654 28 00 00 00 */ cmplwi r0, 0 +/* 800276F8 00024658 41 82 00 10 */ beq lbl_80027708 +/* 800276FC 0002465C 80 7C 00 04 */ lwz r3, 4(r28) +/* 80027700 00024660 38 80 00 01 */ li r4, 1 +/* 80027704 00024664 48 33 50 B5 */ bl __dt__12CMoviePlayerFv +lbl_80027708: +/* 80027708 00024668 3B 9C 00 08 */ addi r28, r28, 8 +/* 8002770C 0002466C 3B BD 00 01 */ addi r29, r29, 1 +lbl_80027710: +/* 80027710 00024670 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80027714 00024674 7C 1D 00 00 */ cmpw r29, r0 +/* 80027718 00024678 41 80 FF D0 */ blt lbl_800276E8 +/* 8002771C 0002467C 38 00 00 00 */ li r0, 0 +/* 80027720 00024680 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_80027724: +/* 80027724 00024684 7F C3 F3 78 */ mr r3, r30 +/* 80027728 00024688 38 80 00 00 */ li r4, 0 +/* 8002772C 0002468C 48 02 B4 79 */ bl __dt__6CIOWinFv +/* 80027730 00024690 7F E0 07 35 */ extsh. r0, r31 +/* 80027734 00024694 40 81 00 0C */ ble lbl_80027740 +/* 80027738 00024698 7F C3 F3 78 */ mr r3, r30 +/* 8002773C 0002469C 48 2E E1 F5 */ bl Free__7CMemoryFPCv +lbl_80027740: +/* 80027740 000246A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80027744 000246A4 7F C3 F3 78 */ mr r3, r30 +/* 80027748 000246A8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8002774C 000246AC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80027750 000246B0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80027754 000246B4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80027758 000246B8 7C 08 03 A6 */ mtlr r0 +/* 8002775C 000246BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80027760 000246C0 4E 80 00 20 */ blr + +.global __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie +__ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie: +/* 80027764 000246C4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80027768 000246C8 7C 08 02 A6 */ mflr r0 +/* 8002776C 000246CC 3C A0 80 3D */ lis r5, lbl_803CCB50@ha +/* 80027770 000246D0 90 01 00 84 */ stw r0, 0x84(r1) +/* 80027774 000246D4 38 A5 CB 50 */ addi r5, r5, lbl_803CCB50@l +/* 80027778 000246D8 BF 01 00 60 */ stmw r24, 0x60(r1) +/* 8002777C 000246DC 7C 7F 1B 78 */ mr r31, r3 +/* 80027780 000246E0 7C 99 23 78 */ mr r25, r4 +/* 80027784 000246E4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80027788 000246E8 38 85 01 73 */ addi r4, r5, 0x173 +/* 8002778C 000246EC 4B FD D5 2D */ bl string_l__4rstlFPCc +/* 80027790 000246F0 7F E3 FB 78 */ mr r3, r31 +/* 80027794 000246F4 38 81 00 48 */ addi r4, r1, 0x48 +/* 80027798 000246F8 48 02 B4 75 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8002779C 000246FC 38 61 00 48 */ addi r3, r1, 0x48 +/* 800277A0 00024700 48 31 63 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800277A4 00024704 3C 60 80 3E */ lis r3, lbl_803D9A34@ha +/* 800277A8 00024708 38 A0 00 00 */ li r5, 0 +/* 800277AC 0002470C 38 63 9A 34 */ addi r3, r3, lbl_803D9A34@l +/* 800277B0 00024710 38 00 FF FF */ li r0, -1 +/* 800277B4 00024714 90 7F 00 00 */ stw r3, 0(r31) +/* 800277B8 00024718 3B 1F 00 48 */ addi r24, r31, 0x48 +/* 800277BC 0002471C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800277C0 00024720 38 80 00 00 */ li r4, 0 +/* 800277C4 00024724 90 BF 00 14 */ stw r5, 0x14(r31) +/* 800277C8 00024728 93 3F 00 18 */ stw r25, 0x18(r31) +/* 800277CC 0002472C 90 BF 00 1C */ stw r5, 0x1c(r31) +/* 800277D0 00024730 90 BF 00 38 */ stw r5, 0x38(r31) +/* 800277D4 00024734 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 800277D8 00024738 90 BF 00 40 */ stw r5, 0x40(r31) +/* 800277DC 0002473C 90 BF 00 44 */ stw r5, 0x44(r31) +/* 800277E0 00024740 48 00 04 ED */ bl sub_80027ccc +/* 800277E4 00024744 38 00 00 00 */ li r0, 0 +/* 800277E8 00024748 80 81 00 14 */ lwz r4, 0x14(r1) +/* 800277EC 0002474C 98 01 00 10 */ stb r0, 0x10(r1) +/* 800277F0 00024750 7F 03 C3 78 */ mr r3, r24 +/* 800277F4 00024754 48 31 97 11 */ bl __ct__6CTokenFP4IObj +/* 800277F8 00024758 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800277FC 0002475C 28 00 00 00 */ cmplwi r0, 0 +/* 80027800 00024760 41 82 00 24 */ beq lbl_80027824 +/* 80027804 00024764 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80027808 00024768 28 03 00 00 */ cmplwi r3, 0 +/* 8002780C 0002476C 41 82 00 18 */ beq lbl_80027824 +/* 80027810 00024770 81 83 00 00 */ lwz r12, 0(r3) +/* 80027814 00024774 38 80 00 01 */ li r4, 1 +/* 80027818 00024778 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002781C 0002477C 7D 89 03 A6 */ mtctr r12 +/* 80027820 00024780 4E 80 04 21 */ bctrl +lbl_80027824: +/* 80027824 00024784 3B 1F 00 50 */ addi r24, r31, 0x50 +/* 80027828 00024788 38 61 00 08 */ addi r3, r1, 8 +/* 8002782C 0002478C 38 80 00 00 */ li r4, 0 +/* 80027830 00024790 4B FE 05 A9 */ bl sub_80007dd8 +/* 80027834 00024794 38 00 00 00 */ li r0, 0 +/* 80027838 00024798 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8002783C 0002479C 98 01 00 08 */ stb r0, 8(r1) +/* 80027840 000247A0 7F 03 C3 78 */ mr r3, r24 +/* 80027844 000247A4 48 31 96 C1 */ bl __ct__6CTokenFP4IObj +/* 80027848 000247A8 88 01 00 08 */ lbz r0, 8(r1) +/* 8002784C 000247AC 28 00 00 00 */ cmplwi r0, 0 +/* 80027850 000247B0 41 82 00 24 */ beq lbl_80027874 +/* 80027854 000247B4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80027858 000247B8 28 03 00 00 */ cmplwi r3, 0 +/* 8002785C 000247BC 41 82 00 18 */ beq lbl_80027874 +/* 80027860 000247C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80027864 000247C4 38 80 00 01 */ li r4, 1 +/* 80027868 000247C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8002786C 000247CC 7D 89 03 A6 */ mtctr r12 +/* 80027870 000247D0 4E 80 04 21 */ bctrl +lbl_80027874: +/* 80027874 000247D4 38 A0 00 00 */ li r5, 0 +/* 80027878 000247D8 C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) +/* 8002787C 000247DC 90 BF 00 58 */ stw r5, 0x58(r31) +/* 80027880 000247E0 7F E3 FB 78 */ mr r3, r31 +/* 80027884 000247E4 90 BF 00 5C */ stw r5, 0x5c(r31) +/* 80027888 000247E8 90 BF 00 60 */ stw r5, 0x60(r31) +/* 8002788C 000247EC 90 BF 00 64 */ stw r5, 0x64(r31) +/* 80027890 000247F0 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80027894 000247F4 C0 04 03 64 */ lfs f0, 0x364(r4) +/* 80027898 000247F8 D0 1F 00 68 */ stfs f0, 0x68(r31) +/* 8002789C 000247FC D0 3F 00 6C */ stfs f1, 0x6c(r31) +/* 800278A0 00024800 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 800278A4 00024804 C0 04 03 5C */ lfs f0, 0x35c(r4) +/* 800278A8 00024808 D0 1F 00 70 */ stfs f0, 0x70(r31) +/* 800278AC 0002480C D0 3F 00 74 */ stfs f1, 0x74(r31) +/* 800278B0 00024810 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 800278B4 00024814 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 800278B8 00024818 98 1F 00 78 */ stb r0, 0x78(r31) +/* 800278BC 0002481C 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 800278C0 00024820 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 800278C4 00024824 98 1F 00 78 */ stb r0, 0x78(r31) +/* 800278C8 00024828 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 800278CC 0002482C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 800278D0 00024830 98 1F 00 78 */ stb r0, 0x78(r31) +/* 800278D4 00024834 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 800278D8 00024838 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 800278DC 0002483C 98 1F 00 78 */ stb r0, 0x78(r31) +/* 800278E0 00024840 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 800278E4 00024844 4B FF FC BD */ bl IsGameWon__10CPlayMovieF11EWhichMovie +/* 800278E8 00024848 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800278EC 0002484C 41 82 00 18 */ beq lbl_80027904 +/* 800278F0 00024850 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 800278F4 00024854 38 60 00 01 */ li r3, 1 +/* 800278F8 00024858 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800278FC 0002485C 98 1F 00 78 */ stb r0, 0x78(r31) +/* 80027900 00024860 48 00 00 7C */ b lbl_8002797C +lbl_80027904: +/* 80027904 00024864 2C 19 00 03 */ cmpwi r25, 3 +/* 80027908 00024868 40 82 00 74 */ bne lbl_8002797C +/* 8002790C 0002486C 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80027910 00024870 38 60 00 1C */ li r3, 0x1c +/* 80027914 00024874 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80027918 00024878 38 A0 00 00 */ li r5, 0 +/* 8002791C 0002487C 38 84 01 51 */ addi r4, r4, 0x151 +/* 80027920 00024880 48 2E DF 4D */ bl __nw__FUlPCcPCc +/* 80027924 00024884 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80027928 00024888 41 82 00 10 */ beq lbl_80027938 +/* 8002792C 0002488C 38 80 00 01 */ li r4, 1 +/* 80027930 00024890 48 21 D1 E1 */ bl __ct__15CQuitGameScreenF9EQuitType +/* 80027934 00024894 7C 7B 1B 78 */ mr r27, r3 +lbl_80027938: +/* 80027938 00024898 83 5F 00 40 */ lwz r26, 0x40(r31) +/* 8002793C 0002489C 28 1A 00 00 */ cmplwi r26, 0 +/* 80027940 000248A0 41 82 00 28 */ beq lbl_80027968 +/* 80027944 000248A4 34 1A 00 04 */ addic. r0, r26, 4 +/* 80027948 000248A8 41 82 00 18 */ beq lbl_80027960 +/* 8002794C 000248AC 34 1A 00 04 */ addic. r0, r26, 4 +/* 80027950 000248B0 41 82 00 10 */ beq lbl_80027960 +/* 80027954 000248B4 38 7A 00 04 */ addi r3, r26, 4 +/* 80027958 000248B8 38 80 00 00 */ li r4, 0 +/* 8002795C 000248BC 48 31 94 E5 */ bl __dt__6CTokenFv +lbl_80027960: +/* 80027960 000248C0 7F 43 D3 78 */ mr r3, r26 +/* 80027964 000248C4 48 2E DF CD */ bl Free__7CMemoryFPCv +lbl_80027968: +/* 80027968 000248C8 93 7F 00 40 */ stw r27, 0x40(r31) +/* 8002796C 000248CC 38 60 00 01 */ li r3, 1 +/* 80027970 000248D0 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 80027974 000248D4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80027978 000248D8 98 1F 00 78 */ stb r0, 0x78(r31) +lbl_8002797C: +/* 8002797C 000248DC 38 60 00 01 */ li r3, 1 +/* 80027980 000248E0 48 2E 1B 29 */ bl SetIsBeginSceneClearFb__9CGraphicsFb +/* 80027984 000248E4 88 1F 00 78 */ lbz r0, 0x78(r31) +/* 80027988 000248E8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8002798C 000248EC 41 82 01 D0 */ beq lbl_80027B5C +/* 80027990 000248F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80027994 000248F4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80027998 000248F8 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8002799C 000248FC 81 84 00 00 */ lwz r12, 0(r4) +/* 800279A0 00024900 80 A5 03 14 */ lwz r5, 0x314(r5) +/* 800279A4 00024904 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800279A8 00024908 7D 89 03 A6 */ mtctr r12 +/* 800279AC 0002490C 4E 80 04 21 */ bctrl +/* 800279B0 00024910 38 61 00 38 */ addi r3, r1, 0x38 +/* 800279B4 00024914 38 81 00 40 */ addi r4, r1, 0x40 +/* 800279B8 00024918 48 31 94 F1 */ bl __ct__6CTokenFRC6CToken +/* 800279BC 0002491C 38 7F 00 48 */ addi r3, r31, 0x48 +/* 800279C0 00024920 38 81 00 38 */ addi r4, r1, 0x38 +/* 800279C4 00024924 48 31 93 01 */ bl __as__6CTokenFRC6CToken +/* 800279C8 00024928 38 61 00 38 */ addi r3, r1, 0x38 +/* 800279CC 0002492C 38 80 00 00 */ li r4, 0 +/* 800279D0 00024930 48 31 94 71 */ bl __dt__6CTokenFv +/* 800279D4 00024934 38 61 00 40 */ addi r3, r1, 0x40 +/* 800279D8 00024938 38 80 FF FF */ li r4, -1 +/* 800279DC 0002493C 48 31 94 65 */ bl __dt__6CTokenFv +/* 800279E0 00024940 38 7F 00 48 */ addi r3, r31, 0x48 +/* 800279E4 00024944 48 31 93 A1 */ bl Lock__6CTokenFv +/* 800279E8 00024948 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800279EC 0002494C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800279F0 00024950 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 800279F4 00024954 81 84 00 00 */ lwz r12, 0(r4) +/* 800279F8 00024958 80 A5 03 24 */ lwz r5, 0x324(r5) +/* 800279FC 0002495C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80027A00 00024960 7D 89 03 A6 */ mtctr r12 +/* 80027A04 00024964 4E 80 04 21 */ bctrl +/* 80027A08 00024968 38 61 00 28 */ addi r3, r1, 0x28 +/* 80027A0C 0002496C 38 81 00 30 */ addi r4, r1, 0x30 +/* 80027A10 00024970 48 31 94 99 */ bl __ct__6CTokenFRC6CToken +/* 80027A14 00024974 38 7F 00 50 */ addi r3, r31, 0x50 +/* 80027A18 00024978 38 81 00 28 */ addi r4, r1, 0x28 +/* 80027A1C 0002497C 48 31 92 A9 */ bl __as__6CTokenFRC6CToken +/* 80027A20 00024980 38 61 00 28 */ addi r3, r1, 0x28 +/* 80027A24 00024984 38 80 00 00 */ li r4, 0 +/* 80027A28 00024988 48 31 94 19 */ bl __dt__6CTokenFv +/* 80027A2C 0002498C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80027A30 00024990 38 80 FF FF */ li r4, -1 +/* 80027A34 00024994 48 31 94 0D */ bl __dt__6CTokenFv +/* 80027A38 00024998 38 7F 00 50 */ addi r3, r31, 0x50 +/* 80027A3C 0002499C 48 31 93 49 */ bl Lock__6CTokenFv +/* 80027A40 000249A0 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80027A44 000249A4 38 E0 00 00 */ li r7, 0 +/* 80027A48 000249A8 2C 00 00 02 */ cmpwi r0, 2 +/* 80027A4C 000249AC 41 82 00 1C */ beq lbl_80027A68 +/* 80027A50 000249B0 40 80 00 1C */ bge lbl_80027A6C +/* 80027A54 000249B4 2C 00 00 00 */ cmpwi r0, 0 +/* 80027A58 000249B8 40 80 00 08 */ bge lbl_80027A60 +/* 80027A5C 000249BC 48 00 00 10 */ b lbl_80027A6C +lbl_80027A60: +/* 80027A60 000249C0 38 E0 00 00 */ li r7, 0 +/* 80027A64 000249C4 48 00 00 08 */ b lbl_80027A6C +lbl_80027A68: +/* 80027A68 000249C8 38 E0 00 03 */ li r7, 3 +lbl_80027A6C: +/* 80027A6C 000249CC 3C A0 80 3D */ lis r5, lbl_803CCB38@ha +/* 80027A70 000249D0 3C 80 55 55 */ lis r4, 0x55555556@ha +/* 80027A74 000249D4 3C 60 80 3D */ lis r3, lbl_803CCB50@ha +/* 80027A78 000249D8 54 E6 10 3A */ slwi r6, r7, 2 +/* 80027A7C 000249DC 38 05 CB 38 */ addi r0, r5, lbl_803CCB38@l +/* 80027A80 000249E0 7C F9 3B 78 */ mr r25, r7 +/* 80027A84 000249E4 3B 47 00 03 */ addi r26, r7, 3 +/* 80027A88 000249E8 3B A4 55 56 */ addi r29, r4, 0x55555556@l +/* 80027A8C 000249EC 7F 80 32 14 */ add r28, r0, r6 +/* 80027A90 000249F0 3B C3 CB 50 */ addi r30, r3, lbl_803CCB50@l +/* 80027A94 000249F4 3B 7F 00 1C */ addi r27, r31, 0x1c +/* 80027A98 000249F8 48 00 00 B8 */ b lbl_80027B50 +lbl_80027A9C: +/* 80027A9C 000249FC 7C DD C8 96 */ mulhw r6, r29, r25 +/* 80027AA0 00024A00 38 9E 01 51 */ addi r4, r30, 0x151 +/* 80027AA4 00024A04 38 60 01 00 */ li r3, 0x100 +/* 80027AA8 00024A08 38 A0 00 00 */ li r5, 0 +/* 80027AAC 00024A0C 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 80027AB0 00024A10 7C 06 02 14 */ add r0, r6, r0 +/* 80027AB4 00024A14 1C 00 00 03 */ mulli r0, r0, 3 +/* 80027AB8 00024A18 7C 00 C8 50 */ subf r0, r0, r25 +/* 80027ABC 00024A1C 20 00 00 01 */ subfic r0, r0, 1 +/* 80027AC0 00024A20 7C 00 00 34 */ cntlzw r0, r0 +/* 80027AC4 00024A24 54 18 D9 7E */ srwi r24, r0, 5 +/* 80027AC8 00024A28 48 2E DD A5 */ bl __nw__FUlPCcPCc +/* 80027ACC 00024A2C 7C 65 1B 79 */ or. r5, r3, r3 +/* 80027AD0 00024A30 41 82 00 1C */ beq lbl_80027AEC +/* 80027AD4 00024A34 80 9C 00 00 */ lwz r4, 0(r28) +/* 80027AD8 00024A38 7F 05 C3 78 */ mr r5, r24 +/* 80027ADC 00024A3C C0 22 83 78 */ lfs f1, lbl_805AA098@sda21(r2) +/* 80027AE0 00024A40 38 C0 00 00 */ li r6, 0 +/* 80027AE4 00024A44 48 33 54 39 */ bl __ct__12CMoviePlayerFPCcfb +/* 80027AE8 00024A48 7C 65 1B 78 */ mr r5, r3 +lbl_80027AEC: +/* 80027AEC 00024A4C 80 1B 00 00 */ lwz r0, 0(r27) +/* 80027AF0 00024A50 7C 65 00 D0 */ neg r3, r5 +/* 80027AF4 00024A54 7C 63 2B 78 */ or r3, r3, r5 +/* 80027AF8 00024A58 90 A1 00 24 */ stw r5, 0x24(r1) +/* 80027AFC 00024A5C 54 00 18 38 */ slwi r0, r0, 3 +/* 80027B00 00024A60 7C 9B 02 14 */ add r4, r27, r0 +/* 80027B04 00024A64 54 60 0F FE */ srwi r0, r3, 0x1f +/* 80027B08 00024A68 34 84 00 04 */ addic. r4, r4, 4 +/* 80027B0C 00024A6C 98 01 00 20 */ stb r0, 0x20(r1) +/* 80027B10 00024A70 41 82 00 14 */ beq lbl_80027B24 +/* 80027B14 00024A74 98 04 00 00 */ stb r0, 0(r4) +/* 80027B18 00024A78 38 00 00 00 */ li r0, 0 +/* 80027B1C 00024A7C 90 A4 00 04 */ stw r5, 4(r4) +/* 80027B20 00024A80 98 01 00 20 */ stb r0, 0x20(r1) +lbl_80027B24: +/* 80027B24 00024A84 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80027B28 00024A88 88 01 00 20 */ lbz r0, 0x20(r1) +/* 80027B2C 00024A8C 38 63 00 01 */ addi r3, r3, 1 +/* 80027B30 00024A90 28 00 00 00 */ cmplwi r0, 0 +/* 80027B34 00024A94 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 80027B38 00024A98 41 82 00 10 */ beq lbl_80027B48 +/* 80027B3C 00024A9C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80027B40 00024AA0 38 80 00 01 */ li r4, 1 +/* 80027B44 00024AA4 48 33 4C 75 */ bl __dt__12CMoviePlayerFv +lbl_80027B48: +/* 80027B48 00024AA8 3B 9C 00 04 */ addi r28, r28, 4 +/* 80027B4C 00024AAC 3B 39 00 01 */ addi r25, r25, 1 +lbl_80027B50: +/* 80027B50 00024AB0 7C 19 D0 00 */ cmpw r25, r26 +/* 80027B54 00024AB4 41 80 FF 48 */ blt lbl_80027A9C +/* 80027B58 00024AB8 48 00 00 B0 */ b lbl_80027C08 +lbl_80027B5C: +/* 80027B5C 00024ABC 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80027B60 00024AC0 38 60 01 00 */ li r3, 0x100 +/* 80027B64 00024AC4 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80027B68 00024AC8 38 A0 00 00 */ li r5, 0 +/* 80027B6C 00024ACC 38 84 01 51 */ addi r4, r4, 0x151 +/* 80027B70 00024AD0 48 2E DC FD */ bl __nw__FUlPCcPCc +/* 80027B74 00024AD4 7C 65 1B 79 */ or. r5, r3, r3 +/* 80027B78 00024AD8 41 82 00 30 */ beq lbl_80027BA8 +/* 80027B7C 00024ADC 3C 80 80 3D */ lis r4, lbl_803CCB18@ha +/* 80027B80 00024AE0 20 19 00 03 */ subfic r0, r25, 3 +/* 80027B84 00024AE4 57 25 10 3A */ slwi r5, r25, 2 +/* 80027B88 00024AE8 C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) +/* 80027B8C 00024AEC 38 84 CB 18 */ addi r4, r4, lbl_803CCB18@l +/* 80027B90 00024AF0 7C 00 00 34 */ cntlzw r0, r0 +/* 80027B94 00024AF4 7C 84 28 2E */ lwzx r4, r4, r5 +/* 80027B98 00024AF8 54 06 D9 7E */ srwi r6, r0, 5 +/* 80027B9C 00024AFC 38 A0 00 00 */ li r5, 0 +/* 80027BA0 00024B00 48 33 53 7D */ bl __ct__12CMoviePlayerFPCcfb +/* 80027BA4 00024B04 7C 65 1B 78 */ mr r5, r3 +lbl_80027BA8: +/* 80027BA8 00024B08 38 9F 00 1C */ addi r4, r31, 0x1c +/* 80027BAC 00024B0C 7C 65 00 D0 */ neg r3, r5 +/* 80027BB0 00024B10 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80027BB4 00024B14 7C 63 2B 78 */ or r3, r3, r5 +/* 80027BB8 00024B18 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80027BBC 00024B1C 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80027BC0 00024B20 54 00 18 38 */ slwi r0, r0, 3 +/* 80027BC4 00024B24 7C 84 02 14 */ add r4, r4, r0 +/* 80027BC8 00024B28 98 61 00 18 */ stb r3, 0x18(r1) +/* 80027BCC 00024B2C 34 84 00 04 */ addic. r4, r4, 4 +/* 80027BD0 00024B30 41 82 00 14 */ beq lbl_80027BE4 +/* 80027BD4 00024B34 98 64 00 00 */ stb r3, 0(r4) +/* 80027BD8 00024B38 38 00 00 00 */ li r0, 0 +/* 80027BDC 00024B3C 90 A4 00 04 */ stw r5, 4(r4) +/* 80027BE0 00024B40 98 01 00 18 */ stb r0, 0x18(r1) +lbl_80027BE4: +/* 80027BE4 00024B44 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80027BE8 00024B48 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80027BEC 00024B4C 38 63 00 01 */ addi r3, r3, 1 +/* 80027BF0 00024B50 28 00 00 00 */ cmplwi r0, 0 +/* 80027BF4 00024B54 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 80027BF8 00024B58 41 82 00 10 */ beq lbl_80027C08 +/* 80027BFC 00024B5C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80027C00 00024B60 38 80 00 01 */ li r4, 1 +/* 80027C04 00024B64 48 33 4B B5 */ bl __dt__12CMoviePlayerFv +lbl_80027C08: +/* 80027C08 00024B68 7F E3 FB 78 */ mr r3, r31 +/* 80027C0C 00024B6C BB 01 00 60 */ lmw r24, 0x60(r1) +/* 80027C10 00024B70 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80027C14 00024B74 7C 08 03 A6 */ mtlr r0 +/* 80027C18 00024B78 38 21 00 80 */ addi r1, r1, 0x80 +/* 80027C1C 00024B7C 4E 80 00 20 */ blr + +.global sub_80027c20 +sub_80027c20: +/* 80027C20 00024B80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80027C24 00024B84 7C 08 02 A6 */ mflr r0 +/* 80027C28 00024B88 90 01 00 24 */ stw r0, 0x24(r1) +/* 80027C2C 00024B8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80027C30 00024B90 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80027C34 00024B94 7C 9E 23 78 */ mr r30, r4 +/* 80027C38 00024B98 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80027C3C 00024B9C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80027C40 00024BA0 41 82 00 6C */ beq lbl_80027CAC +/* 80027C44 00024BA4 3C 60 80 3E */ lis r3, lbl_803D9A0C@ha +/* 80027C48 00024BA8 38 03 9A 0C */ addi r0, r3, lbl_803D9A0C@l +/* 80027C4C 00024BAC 90 1D 00 00 */ stw r0, 0(r29) +/* 80027C50 00024BB0 83 FD 00 04 */ lwz r31, 4(r29) +/* 80027C54 00024BB4 28 1F 00 00 */ cmplwi r31, 0 +/* 80027C58 00024BB8 41 82 00 20 */ beq lbl_80027C78 +/* 80027C5C 00024BBC 41 82 00 1C */ beq lbl_80027C78 +/* 80027C60 00024BC0 34 1F 00 04 */ addic. r0, r31, 4 +/* 80027C64 00024BC4 41 82 00 0C */ beq lbl_80027C70 +/* 80027C68 00024BC8 80 7F 00 04 */ lwz r3, 4(r31) +/* 80027C6C 00024BCC 48 2E DC C5 */ bl Free__7CMemoryFPCv +lbl_80027C70: +/* 80027C70 00024BD0 7F E3 FB 78 */ mr r3, r31 +/* 80027C74 00024BD4 48 2E DC BD */ bl Free__7CMemoryFPCv +lbl_80027C78: +/* 80027C78 00024BD8 28 1D 00 00 */ cmplwi r29, 0 +/* 80027C7C 00024BDC 41 82 00 20 */ beq lbl_80027C9C +/* 80027C80 00024BE0 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80027C84 00024BE4 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80027C88 00024BE8 90 1D 00 00 */ stw r0, 0(r29) +/* 80027C8C 00024BEC 41 82 00 10 */ beq lbl_80027C9C +/* 80027C90 00024BF0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80027C94 00024BF4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80027C98 00024BF8 90 1D 00 00 */ stw r0, 0(r29) +lbl_80027C9C: +/* 80027C9C 00024BFC 7F C0 07 35 */ extsh. r0, r30 +/* 80027CA0 00024C00 40 81 00 0C */ ble lbl_80027CAC +/* 80027CA4 00024C04 7F A3 EB 78 */ mr r3, r29 +/* 80027CA8 00024C08 48 2E DC 89 */ bl Free__7CMemoryFPCv +lbl_80027CAC: +/* 80027CAC 00024C0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80027CB0 00024C10 7F A3 EB 78 */ mr r3, r29 +/* 80027CB4 00024C14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80027CB8 00024C18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80027CBC 00024C1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80027CC0 00024C20 7C 08 03 A6 */ mtlr r0 +/* 80027CC4 00024C24 38 21 00 20 */ addi r1, r1, 0x20 +/* 80027CC8 00024C28 4E 80 00 20 */ blr + +.global sub_80027ccc +sub_80027ccc: +/* 80027CCC 00024C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80027CD0 00024C30 7C 08 02 A6 */ mflr r0 +/* 80027CD4 00024C34 3C A0 80 3D */ lis r5, lbl_803CCB50@ha +/* 80027CD8 00024C38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80027CDC 00024C3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80027CE0 00024C40 7C 9F 23 78 */ mr r31, r4 +/* 80027CE4 00024C44 93 C1 00 08 */ stw r30, 8(r1) +/* 80027CE8 00024C48 7C 7E 1B 78 */ mr r30, r3 +/* 80027CEC 00024C4C 38 65 CB 50 */ addi r3, r5, lbl_803CCB50@l +/* 80027CF0 00024C50 38 A0 00 00 */ li r5, 0 +/* 80027CF4 00024C54 38 83 01 51 */ addi r4, r3, 0x151 +/* 80027CF8 00024C58 38 60 00 08 */ li r3, 8 +/* 80027CFC 00024C5C 48 2E DB 71 */ bl __nw__FUlPCcPCc +/* 80027D00 00024C60 28 03 00 00 */ cmplwi r3, 0 +/* 80027D04 00024C64 41 82 00 2C */ beq lbl_80027D30 +/* 80027D08 00024C68 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80027D0C 00024C6C 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80027D10 00024C70 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80027D14 00024C74 3C 80 80 3E */ lis r4, lbl_803D9A0C@ha +/* 80027D18 00024C78 90 03 00 00 */ stw r0, 0(r3) +/* 80027D1C 00024C7C 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l +/* 80027D20 00024C80 38 04 9A 0C */ addi r0, r4, lbl_803D9A0C@l +/* 80027D24 00024C84 90 A3 00 00 */ stw r5, 0(r3) +/* 80027D28 00024C88 93 E3 00 04 */ stw r31, 4(r3) +/* 80027D2C 00024C8C 90 03 00 00 */ stw r0, 0(r3) +lbl_80027D30: +/* 80027D30 00024C90 7C 03 00 D0 */ neg r0, r3 +/* 80027D34 00024C94 7C 00 1B 78 */ or r0, r0, r3 +/* 80027D38 00024C98 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80027D3C 00024C9C 98 1E 00 00 */ stb r0, 0(r30) +/* 80027D40 00024CA0 90 7E 00 04 */ stw r3, 4(r30) +/* 80027D44 00024CA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80027D48 00024CA8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80027D4C 00024CAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80027D50 00024CB0 7C 08 03 A6 */ mtlr r0 +/* 80027D54 00024CB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80027D58 00024CB8 4E 80 00 20 */ blr + +.global sub_80027d5c +sub_80027d5c: +/* 80027D5C 00024CBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80027D60 00024CC0 7C 08 02 A6 */ mflr r0 +/* 80027D64 00024CC4 3C 80 80 3D */ lis r4, lbl_803CCB50@ha +/* 80027D68 00024CC8 38 A0 00 00 */ li r5, 0 +/* 80027D6C 00024CCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80027D70 00024CD0 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l +/* 80027D74 00024CD4 38 84 01 51 */ addi r4, r4, 0x151 +/* 80027D78 00024CD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80027D7C 00024CDC 7C 7F 1B 78 */ mr r31, r3 +/* 80027D80 00024CE0 38 60 00 18 */ li r3, 0x18 +/* 80027D84 00024CE4 48 2E DA E9 */ bl __nw__FUlPCcPCc +/* 80027D88 00024CE8 7C 64 1B 79 */ or. r4, r3, r3 +/* 80027D8C 00024CEC 41 82 00 0C */ beq lbl_80027D98 +/* 80027D90 00024CF0 4B FF D6 59 */ bl __ct__9CAutoSaveFv +/* 80027D94 00024CF4 7C 64 1B 78 */ mr r4, r3 +lbl_80027D98: +/* 80027D98 00024CF8 7F E3 FB 78 */ mr r3, r31 +/* 80027D9C 00024CFC 48 00 00 19 */ bl sub_80027db4 +/* 80027DA0 00024D00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80027DA4 00024D04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80027DA8 00024D08 7C 08 03 A6 */ mtlr r0 +/* 80027DAC 00024D0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80027DB0 00024D10 4E 80 00 20 */ blr + +.global sub_80027db4 +sub_80027db4: +/* 80027DB4 00024D14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80027DB8 00024D18 7C 08 02 A6 */ mflr r0 +/* 80027DBC 00024D1C 38 AD 81 98 */ addi r5, r13, lbl_805A6D58@sda21 +/* 80027DC0 00024D20 38 CD 81 9C */ addi r6, r13, lbl_805A6D5C@sda21 +/* 80027DC4 00024D24 90 01 00 24 */ stw r0, 0x24(r1) +/* 80027DC8 00024D28 38 E1 00 08 */ addi r7, r1, 8 +/* 80027DCC 00024D2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80027DD0 00024D30 7C 7F 1B 78 */ mr r31, r3 +/* 80027DD4 00024D34 38 61 00 0C */ addi r3, r1, 0xc +/* 80027DD8 00024D38 90 81 00 08 */ stw r4, 8(r1) +/* 80027DDC 00024D3C 38 80 00 00 */ li r4, 0 +/* 80027DE0 00024D40 48 02 9E CD */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin +/* 80027DE4 00024D44 7F E3 FB 78 */ mr r3, r31 +/* 80027DE8 00024D48 38 81 00 0C */ addi r4, r1, 0xc +/* 80027DEC 00024D4C 4B FD EF 15 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 80027DF0 00024D50 34 61 00 14 */ addic. r3, r1, 0x14 +/* 80027DF4 00024D54 41 82 00 08 */ beq lbl_80027DFC +/* 80027DF8 00024D58 4B FE 09 15 */ bl sub_8000870c +lbl_80027DFC: +/* 80027DFC 00024D5C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80027E00 00024D60 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80027E04 00024D64 7C 08 03 A6 */ mtlr r0 +/* 80027E08 00024D68 38 21 00 20 */ addi r1, r1, 0x20 +/* 80027E0C 00024D6C 4E 80 00 20 */ blr + +.global sub_80027e10 +sub_80027e10: +/* 80027E10 00024D70 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80027E14 00024D74 7C 08 02 A6 */ mflr r0 +/* 80027E18 00024D78 90 01 00 54 */ stw r0, 0x54(r1) +/* 80027E1C 00024D7C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80027E20 00024D80 7C 9F 23 78 */ mr r31, r4 +/* 80027E24 00024D84 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80027E28 00024D88 7C 7E 1B 78 */ mr r30, r3 +/* 80027E2C 00024D8C 38 60 00 00 */ li r3, 0 +/* 80027E30 00024D90 48 2E 3C 41 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80027E34 00024D94 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80027E38 00024D98 38 61 00 08 */ addi r3, r1, 8 +/* 80027E3C 00024D9C C0 22 83 20 */ lfs f1, lbl_805AA040@sda21(r2) +/* 80027E40 00024DA0 38 A0 00 00 */ li r5, 0 +/* 80027E44 00024DA4 81 84 00 00 */ lwz r12, 0(r4) +/* 80027E48 00024DA8 C0 42 83 24 */ lfs f2, lbl_805AA044@sda21(r2) +/* 80027E4C 00024DAC 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 80027E50 00024DB0 7D 89 03 A6 */ mtctr r12 +/* 80027E54 00024DB4 4E 80 04 21 */ bctrl +/* 80027E58 00024DB8 7F E4 FB 78 */ mr r4, r31 +/* 80027E5C 00024DBC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80027E60 00024DC0 48 2E B2 E1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80027E64 00024DC4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80027E68 00024DC8 38 81 00 18 */ addi r4, r1, 0x18 +/* 80027E6C 00024DCC 81 83 00 00 */ lwz r12, 0(r3) +/* 80027E70 00024DD0 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80027E74 00024DD4 7D 89 03 A6 */ mtctr r12 +/* 80027E78 00024DD8 4E 80 04 21 */ bctrl +/* 80027E7C 00024DDC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80027E80 00024DE0 38 80 00 00 */ li r4, 0 +/* 80027E84 00024DE4 38 A0 00 00 */ li r5, 0 +/* 80027E88 00024DE8 81 83 00 00 */ lwz r12, 0(r3) +/* 80027E8C 00024DEC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80027E90 00024DF0 7D 89 03 A6 */ mtctr r12 +/* 80027E94 00024DF4 4E 80 04 21 */ bctrl +/* 80027E98 00024DF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80027E9C 00024DFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80027EA0 00024E00 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 80027EA4 00024E04 7D 89 03 A6 */ mtctr r12 +/* 80027EA8 00024E08 4E 80 04 21 */ bctrl +/* 80027EAC 00024E0C 7F C3 F3 78 */ mr r3, r30 +/* 80027EB0 00024E10 48 2A 16 95 */ bl Render__15CGuiTextSupportFv +/* 80027EB4 00024E14 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80027EB8 00024E18 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80027EBC 00024E1C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80027EC0 00024E20 7C 08 03 A6 */ mtlr r0 +/* 80027EC4 00024E24 38 21 00 50 */ addi r1, r1, 0x50 +/* 80027EC8 00024E28 4E 80 00 20 */ blr + +.global sub_80027ecc +sub_80027ecc: +/* 80027ECC 00024E2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80027ED0 00024E30 7C 08 02 A6 */ mflr r0 +/* 80027ED4 00024E34 90 01 00 24 */ stw r0, 0x24(r1) +/* 80027ED8 00024E38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80027EDC 00024E3C 7C 7F 1B 78 */ mr r31, r3 +/* 80027EE0 00024E40 80 63 00 00 */ lwz r3, 0(r3) +/* 80027EE4 00024E44 28 03 00 00 */ cmplwi r3, 0 +/* 80027EE8 00024E48 41 82 00 48 */ beq lbl_80027F30 +/* 80027EEC 00024E4C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80027EF0 00024E50 3C 00 43 30 */ lis r0, 0x4330 +/* 80027EF4 00024E54 C0 02 83 7C */ lfs f0, lbl_805AA09C@sda21(r2) +/* 80027EF8 00024E58 80 84 01 D8 */ lwz r4, 0x1d8(r4) +/* 80027EFC 00024E5C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80027F00 00024E60 EC 40 00 72 */ fmuls f2, f0, f1 +/* 80027F04 00024E64 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 80027F08 00024E68 C8 22 83 30 */ lfd f1, lbl_805AA050@sda21(r2) +/* 80027F0C 00024E6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80027F10 00024E70 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80027F14 00024E74 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80027F18 00024E78 EC 62 00 32 */ fmuls f3, f2, f0 +/* 80027F1C 00024E7C F0 61 A0 08 */ psq_st f3, 8(r1), 1, qr2 +/* 80027F20 00024E80 88 81 00 08 */ lbz r4, 8(r1) +/* 80027F24 00024E84 48 34 3D 11 */ bl SetVolume__18CStaticAudioPlayerFc +/* 80027F28 00024E88 80 7F 00 00 */ lwz r3, 0(r31) +/* 80027F2C 00024E8C 48 34 41 05 */ bl StartMixOut__18CStaticAudioPlayerFv +lbl_80027F30: +/* 80027F30 00024E90 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80027F34 00024E94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80027F38 00024E98 7C 08 03 A6 */ mtlr r0 +/* 80027F3C 00024E9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80027F40 00024EA0 4E 80 00 20 */ blr + +.global sub_80027f44 +sub_80027f44: +/* 80027F44 00024EA4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80027F48 00024EA8 7C 08 02 A6 */ mflr r0 +/* 80027F4C 00024EAC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80027F50 00024EB0 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 80027F54 00024EB4 7C 7F 1B 78 */ mr r31, r3 +/* 80027F58 00024EB8 80 03 00 AC */ lwz r0, 0xac(r3) +/* 80027F5C 00024EBC 28 00 00 00 */ cmplwi r0, 0 +/* 80027F60 00024EC0 41 82 00 0C */ beq lbl_80027F6C +/* 80027F64 00024EC4 38 60 00 00 */ li r3, 0 +/* 80027F68 00024EC8 48 00 01 7C */ b lbl_800280E4 +lbl_80027F6C: +/* 80027F6C 00024ECC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80027F70 00024ED0 38 80 00 00 */ li r4, 0 +/* 80027F74 00024ED4 38 A0 00 00 */ li r5, 0 +/* 80027F78 00024ED8 81 83 00 00 */ lwz r12, 0(r3) +/* 80027F7C 00024EDC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80027F80 00024EE0 7D 89 03 A6 */ mtctr r12 +/* 80027F84 00024EE4 4E 80 04 21 */ bctrl +/* 80027F88 00024EE8 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80027F8C 00024EEC 38 61 00 08 */ addi r3, r1, 8 +/* 80027F90 00024EF0 C0 22 83 20 */ lfs f1, lbl_805AA040@sda21(r2) +/* 80027F94 00024EF4 38 A0 00 00 */ li r5, 0 +/* 80027F98 00024EF8 81 84 00 00 */ lwz r12, 0(r4) +/* 80027F9C 00024EFC C0 42 83 24 */ lfs f2, lbl_805AA044@sda21(r2) +/* 80027FA0 00024F00 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 80027FA4 00024F04 7D 89 03 A6 */ mtctr r12 +/* 80027FA8 00024F08 4E 80 04 21 */ bctrl +/* 80027FAC 00024F0C 3C 80 80 3F */ lis r4, lbl_803F0004@ha +/* 80027FB0 00024F10 87 A4 D9 10 */ lwzu r29, -0x26f0(r4) +/* 80027FB4 00024F14 7F E3 FB 78 */ mr r3, r31 +/* 80027FB8 00024F18 83 84 00 04 */ lwz r28, lbl_803F0004@l(r4) +/* 80027FBC 00024F1C 83 64 00 08 */ lwz r27, 8(r4) +/* 80027FC0 00024F20 83 44 00 0C */ lwz r26, 0xc(r4) +/* 80027FC4 00024F24 48 33 36 61 */ bl sub_8035b624 +/* 80027FC8 00024F28 7C 7E 1B 78 */ mr r30, r3 +/* 80027FCC 00024F2C 7F E3 FB 78 */ mr r3, r31 +/* 80027FD0 00024F30 48 33 36 4D */ bl sub_8035b61c +/* 80027FD4 00024F34 7C 1A 18 50 */ subf r0, r26, r3 +/* 80027FD8 00024F38 7C 7B F0 50 */ subf r3, r27, r30 +/* 80027FDC 00024F3C 54 63 F8 7E */ srwi r3, r3, 1 +/* 80027FE0 00024F40 3D 40 43 30 */ lis r10, 0x4330 +/* 80027FE4 00024F44 54 00 F8 7E */ srwi r0, r0, 1 +/* 80027FE8 00024F48 C0 E2 83 2C */ lfs f7, lbl_805AA04C@sda21(r2) +/* 80027FEC 00024F4C 7C 9B 1A 14 */ add r4, r27, r3 +/* 80027FF0 00024F50 7C 63 E8 50 */ subf r3, r3, r29 +/* 80027FF4 00024F54 6C 6B 80 00 */ xoris r11, r3, 0x8000 +/* 80027FF8 00024F58 7C 7A 02 14 */ add r3, r26, r0 +/* 80027FFC 00024F5C 7C 9D 22 14 */ add r4, r29, r4 +/* 80028000 00024F60 7C 00 E0 50 */ subf r0, r0, r28 +/* 80028004 00024F64 6C 88 80 00 */ xoris r8, r4, 0x8000 +/* 80028008 00024F68 7C 7C 1A 14 */ add r3, r28, r3 +/* 8002800C 00024F6C 6C 69 80 00 */ xoris r9, r3, 0x8000 +/* 80028010 00024F70 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80028014 00024F74 91 61 00 4C */ stw r11, 0x4c(r1) +/* 80028018 00024F78 7F E3 FB 78 */ mr r3, r31 +/* 8002801C 00024F7C C9 22 83 30 */ lfd f9, lbl_805AA050@sda21(r2) +/* 80028020 00024F80 38 81 00 3C */ addi r4, r1, 0x3c +/* 80028024 00024F84 91 41 00 48 */ stw r10, 0x48(r1) +/* 80028028 00024F88 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8002802C 00024F8C 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80028030 00024F90 38 E1 00 18 */ addi r7, r1, 0x18 +/* 80028034 00024F94 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80028038 00024F98 91 21 00 54 */ stw r9, 0x54(r1) +/* 8002803C 00024F9C ED 00 48 28 */ fsubs f8, f0, f9 +/* 80028040 00024FA0 91 41 00 50 */ stw r10, 0x50(r1) +/* 80028044 00024FA4 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 80028048 00024FA8 91 01 00 5C */ stw r8, 0x5c(r1) +/* 8002804C 00024FAC EC C0 48 28 */ fsubs f6, f0, f9 +/* 80028050 00024FB0 91 41 00 58 */ stw r10, 0x58(r1) +/* 80028054 00024FB4 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 80028058 00024FB8 91 21 00 64 */ stw r9, 0x64(r1) +/* 8002805C 00024FBC EC A0 48 28 */ fsubs f5, f0, f9 +/* 80028060 00024FC0 91 41 00 60 */ stw r10, 0x60(r1) +/* 80028064 00024FC4 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 80028068 00024FC8 91 61 00 6C */ stw r11, 0x6c(r1) +/* 8002806C 00024FCC EC 80 48 28 */ fsubs f4, f0, f9 +/* 80028070 00024FD0 91 41 00 68 */ stw r10, 0x68(r1) +/* 80028074 00024FD4 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 80028078 00024FD8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8002807C 00024FDC EC 60 48 28 */ fsubs f3, f0, f9 +/* 80028080 00024FE0 91 41 00 70 */ stw r10, 0x70(r1) +/* 80028084 00024FE4 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80028088 00024FE8 91 01 00 7C */ stw r8, 0x7c(r1) +/* 8002808C 00024FEC EC 40 48 28 */ fsubs f2, f0, f9 +/* 80028090 00024FF0 91 41 00 78 */ stw r10, 0x78(r1) +/* 80028094 00024FF4 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 80028098 00024FF8 90 01 00 84 */ stw r0, 0x84(r1) +/* 8002809C 00024FFC EC 20 48 28 */ fsubs f1, f0, f9 +/* 800280A0 00025000 91 41 00 80 */ stw r10, 0x80(r1) +/* 800280A4 00025004 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 800280A8 00025008 D1 01 00 3C */ stfs f8, 0x3c(r1) +/* 800280AC 0002500C EC 00 48 28 */ fsubs f0, f0, f9 +/* 800280B0 00025010 D0 E1 00 40 */ stfs f7, 0x40(r1) +/* 800280B4 00025014 D0 C1 00 44 */ stfs f6, 0x44(r1) +/* 800280B8 00025018 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 800280BC 0002501C D0 E1 00 34 */ stfs f7, 0x34(r1) +/* 800280C0 00025020 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 800280C4 00025024 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 800280C8 00025028 D0 E1 00 28 */ stfs f7, 0x28(r1) +/* 800280CC 0002502C D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800280D0 00025030 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800280D4 00025034 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 800280D8 00025038 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800280DC 0002503C 48 33 3B 11 */ bl DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 800280E0 00025040 38 60 00 01 */ li r3, 1 +lbl_800280E4: +/* 800280E4 00025044 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 800280E8 00025048 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800280EC 0002504C 7C 08 03 A6 */ mtlr r0 +/* 800280F0 00025050 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800280F4 00025054 4E 80 00 20 */ blr + +.global GetIsContinueDraw__8CCreditsCFv +GetIsContinueDraw__8CCreditsCFv: +/* 800280F8 00025058 38 60 00 00 */ li r3, 0 +/* 800280FC 0002505C 4E 80 00 20 */ blr + +.global GetIsContinueDraw__10CPlayMovieCFv +GetIsContinueDraw__10CPlayMovieCFv: +/* 80028100 00025060 38 60 00 00 */ li r3, 0 +/* 80028104 00025064 4E 80 00 20 */ blr + +.global sub_80028108 +sub_80028108: +/* 80028108 00025068 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8002810C 0002506C 7C 08 02 A6 */ mflr r0 +/* 80028110 00025070 90 01 00 14 */ stw r0, 0x14(r1) +/* 80028114 00025074 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80028118 00025078 7C 7F 1B 78 */ mr r31, r3 +/* 8002811C 0002507C 80 83 00 00 */ lwz r4, 0(r3) +/* 80028120 00025080 80 64 00 04 */ lwz r3, 4(r4) +/* 80028124 00025084 34 03 FF FF */ addic. r0, r3, -1 +/* 80028128 00025088 90 04 00 04 */ stw r0, 4(r4) +/* 8002812C 0002508C 41 81 00 24 */ bgt lbl_80028150 +/* 80028130 00025090 80 7F 00 00 */ lwz r3, 0(r31) +/* 80028134 00025094 38 80 00 01 */ li r4, 1 +/* 80028138 00025098 80 63 00 00 */ lwz r3, 0(r3) +/* 8002813C 0002509C 48 2A 1B 5D */ bl __dt__15CGuiTextSupportFv +/* 80028140 000250A0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80028144 000250A4 28 03 00 00 */ cmplwi r3, 0 +/* 80028148 000250A8 41 82 00 08 */ beq lbl_80028150 +/* 8002814C 000250AC 48 2E D7 E5 */ bl Free__7CMemoryFPCv +lbl_80028150: +/* 80028150 000250B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80028154 000250B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80028158 000250B8 7C 08 03 A6 */ mtlr r0 +/* 8002815C 000250BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80028160 000250C0 4E 80 00 20 */ blr + +.global sub_80028164 +sub_80028164: +/* 80028164 000250C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80028168 000250C8 7C 08 02 A6 */ mflr r0 +/* 8002816C 000250CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80028170 000250D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80028174 000250D4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80028178 000250D8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8002817C 000250DC 7C 9D 23 78 */ mr r29, r4 +/* 80028180 000250E0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80028184 000250E4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80028188 000250E8 41 82 00 58 */ beq lbl_800281E0 +/* 8002818C 000250EC 83 FC 00 04 */ lwz r31, 4(r28) +/* 80028190 000250F0 48 00 00 34 */ b lbl_800281C4 +lbl_80028194: +/* 80028194 000250F4 7F FE FB 78 */ mr r30, r31 +/* 80028198 000250F8 83 FF 00 04 */ lwz r31, 4(r31) +/* 8002819C 000250FC 34 7E 00 08 */ addic. r3, r30, 8 +/* 800281A0 00025100 41 82 00 14 */ beq lbl_800281B4 +/* 800281A4 00025104 28 03 00 00 */ cmplwi r3, 0 +/* 800281A8 00025108 41 82 00 0C */ beq lbl_800281B4 +/* 800281AC 0002510C 41 82 00 08 */ beq lbl_800281B4 +/* 800281B0 00025110 4B FF FF 59 */ bl sub_80028108 +lbl_800281B4: +/* 800281B4 00025114 28 1E 00 00 */ cmplwi r30, 0 +/* 800281B8 00025118 41 82 00 0C */ beq lbl_800281C4 +/* 800281BC 0002511C 7F C3 F3 78 */ mr r3, r30 +/* 800281C0 00025120 48 2E D7 71 */ bl Free__7CMemoryFPCv +lbl_800281C4: +/* 800281C4 00025124 80 1C 00 08 */ lwz r0, 8(r28) +/* 800281C8 00025128 7C 1F 00 40 */ cmplw r31, r0 +/* 800281CC 0002512C 40 82 FF C8 */ bne lbl_80028194 +/* 800281D0 00025130 7F A0 07 35 */ extsh. r0, r29 +/* 800281D4 00025134 40 81 00 0C */ ble lbl_800281E0 +/* 800281D8 00025138 7F 83 E3 78 */ mr r3, r28 +/* 800281DC 0002513C 48 2E D7 55 */ bl Free__7CMemoryFPCv +lbl_800281E0: +/* 800281E0 00025140 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800281E4 00025144 7F 83 E3 78 */ mr r3, r28 +/* 800281E8 00025148 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800281EC 0002514C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800281F0 00025150 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800281F4 00025154 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800281F8 00025158 7C 08 03 A6 */ mtlr r0 +/* 800281FC 0002515C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80028200 00025160 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPlayer.s b/asm/Kyoto_CWD/CPlayer.s index 82a1f24b..8f825110 100644 --- a/asm/Kyoto_CWD/CPlayer.s +++ b/asm/Kyoto_CWD/CPlayer.s @@ -1,5 +1,280 @@ .include "macros.inc" +.section .bss +.global lbl_80457908 +lbl_80457908: + .skip 0xC0 +.global lbl_804579C8 +lbl_804579C8: + .skip 0x20 +.global lbl_804579E8 +lbl_804579E8: + .skip 0x10 +.global lbl_804579F8 +lbl_804579F8: + .skip 0x18 +.global lbl_80457A10 +lbl_80457A10: + .skip 0x838 +.global lbl_80458248 +lbl_80458248: + .skip 0x108 +.global lbl_80458350 +lbl_80458350: + .skip 0x1E58 + +.section .rodata +.global lbl_803CC438 +lbl_803CC438: + .incbin "baserom.dol", 0x3C9438, 0x30 +.global lbl_803CC468 +lbl_803CC468: + .incbin "baserom.dol", 0x3C9468, 0x30 +.global lbl_803CC498 +lbl_803CC498: + .incbin "baserom.dol", 0x3C9498, 0x30 +.global lbl_803CC4C8 +lbl_803CC4C8: + .incbin "baserom.dol", 0x3C94C8, 0x30 +.global lbl_803CC4F8 +lbl_803CC4F8: + .incbin "baserom.dol", 0x3C94F8, 0x48 + +.section .sbss + +# CPlayer +.global lbl_805A8C78 +lbl_805A8C78: + .skip 0x4 +.global lbl_805A8C7C +lbl_805A8C7C: + .skip 0x4 +.global lbl_805A8C80 +lbl_805A8C80: + .skip 0x1 +.global lbl_805A8C81 +lbl_805A8C81: + .skip 0x3 +.global lbl_805A8C84 +lbl_805A8C84: + .skip 0x4 +.global lbl_805A8C88 +lbl_805A8C88: + .skip 0x4 + +# TOneStatic +.global lbl_805A8C8C +lbl_805A8C8C: + .skip 0x4 +.global lbl_805A8C90 +lbl_805A8C90: + .skip 0x4 + +# TOneStatic +.global lbl_805A8C94 +lbl_805A8C94: + .skip 0x4 +.global lbl_805A8C98 +lbl_805A8C98: + .skip 0x4 + +# TOneStatic +.global lbl_805A8C9C +lbl_805A8C9C: + .skip 0x4 +.global lbl_805A8CA0 +lbl_805A8CA0: + .skip 0x4 + +# TOneStatic +.global lbl_805A8CA4 +lbl_805A8CA4: + .skip 0x4 +.global lbl_805A8CA8 +lbl_805A8CA8: + .skip 0x8 + +.section .sdata +.global lbl_805A6C48 +lbl_805A6C48: + # ROM: 0x3F45E8 + .4byte 0x00000013 + +.global lbl_805A6C4C +lbl_805A6C4C: + # ROM: 0x3F45EC + .4byte 0x00000011 + +.global lbl_805A6C50 +lbl_805A6C50: + # ROM: 0x3F45F0 + .4byte 0x00000035 + +.global lbl_805A6C54 +lbl_805A6C54: + # ROM: 0x3F45F4 + .4byte 0x0000000D + +.global lbl_805A6C58 +lbl_805A6C58: + # ROM: 0x3F45F8 + .4byte 0x00000032 + +.global lbl_805A6C5C +lbl_805A6C5C: + # ROM: 0x3F45FC + .4byte 0x00000005 + +.global lbl_805A6C60 +lbl_805A6C60: + # ROM: 0x3F4600 + .4byte 0x00000034 + +.global lbl_805A6C64 +lbl_805A6C64: + # ROM: 0x3F4604 + .4byte 0x00000009 + +.global lbl_805A6C68 +lbl_805A6C68: + # ROM: 0x3F4608 + .4byte 0x00000033 + +.global lbl_805A6C6C +lbl_805A6C6C: + # ROM: 0x3F460C + .4byte 0x41A00000 + +.global lbl_805A6C70 +lbl_805A6C70: + # ROM: 0x3F4610 + .4byte 0x42A00000 + +.global lbl_805A6C74 +lbl_805A6C74: + # ROM: 0x3F4614 + .4byte 0x42A00000 + +.global lbl_805A6C78 +lbl_805A6C78: + # ROM: 0x3F4618 + .4byte 0x43870000 + +.global lbl_805A6C7C +lbl_805A6C7C: + # ROM: 0x3F461C + .4byte 0 + +.global lbl_805A6C80 +lbl_805A6C80: + # ROM: 0x3F4620 + .4byte 0 + +.global lbl_805A6C84 +lbl_805A6C84: + # ROM: 0x3F4624 + .4byte 0x3F800000 + +.global lbl_805A6C88 +lbl_805A6C88: + # ROM: 0x3F4628 + .4byte 0x00000013 + +.global lbl_805A6C8C +lbl_805A6C8C: + # ROM: 0x3F462C + .4byte 0x3F800000 + +.global lbl_805A6C90 +lbl_805A6C90: + # ROM: 0x3F4630 + .4byte 0x00000013 + +.global lbl_805A6C94 +lbl_805A6C94: + # ROM: 0x3F4634 + .4byte 0x3F800000 + +.global lbl_805A6C98 +lbl_805A6C98: + # ROM: 0x3F4638 + .4byte 0 + +.global lbl_805A6C9C +lbl_805A6C9C: + # ROM: 0x3F463C + .4byte 0x3F800000 + +.global lbl_805A6CA0 +lbl_805A6CA0: + # ROM: 0x3F4640 + .4byte 0 + +.global lbl_805A6CA4 +lbl_805A6CA4: + # ROM: 0x3F4644 + .4byte 0x3F800000 + +.global lbl_805A6CA8 +lbl_805A6CA8: + # ROM: 0x3F4648 + .4byte 0 + +.global lbl_805A6CAC +lbl_805A6CAC: + # ROM: 0x3F464C + .4byte 0x3F800000 + +.global lbl_805A6CB0 +lbl_805A6CB0: + # ROM: 0x3F4650 + .4byte 0 + +.global lbl_805A6CB4 +lbl_805A6CB4: + # ROM: 0x3F4654 + .4byte 0x3F800000 + +.global lbl_805A6CB8 +lbl_805A6CB8: + # ROM: 0x3F4658 + .4byte 0x00000013 + +.global lbl_805A6CBC +lbl_805A6CBC: + # ROM: 0x3F465C + .4byte 0x3F800000 + +.global lbl_805A6CC0 +lbl_805A6CC0: + # ROM: 0x3F4660 + .4byte 0x00000007 + +.global lbl_805A6CC4 +lbl_805A6CC4: + # ROM: 0x3F4664 + .4byte 0x00000020 + +.global lbl_805A6CC8 +lbl_805A6CC8: + # ROM: 0x3F4668 + .4byte 0x00000013 + +.global lbl_805A6CCC +lbl_805A6CCC: + # ROM: 0x3F466C + .4byte 0 + +.global lbl_805A6CD0 +lbl_805A6CD0: + # ROM: 0x3F4670 + .4byte 0x3F800000 + +.global lbl_805A6CD4 +lbl_805A6CD4: + # ROM: 0x3F4674 + .4byte 0 + .section .text, "ax" .global __dt__7CPlayerFv diff --git a/asm/Kyoto_CWD/CPlayerGun.s b/asm/Kyoto_CWD/CPlayerGun.s new file mode 100644 index 00000000..7148766c --- /dev/null +++ b/asm/Kyoto_CWD/CPlayerGun.s @@ -0,0 +1,10471 @@ +.include "macros.inc" + +.section .text, "ax" + +.global CModelDataNull__10CModelDataFv +CModelDataNull__10CModelDataFv: +/* 8003A7A4 00037704 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003A7A8 00037708 7C 08 02 A6 */ mflr r0 +/* 8003A7AC 0003770C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003A7B0 00037710 48 0D C5 31 */ bl __ct__10CModelDataFv +/* 8003A7B4 00037714 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003A7B8 00037718 7C 08 03 A6 */ mtlr r0 +/* 8003A7BC 0003771C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003A7C0 00037720 4E 80 00 20 */ blr + +.global clear_transform__FRC12CTransform4f +clear_transform__FRC12CTransform4f: +/* 8003A7C4 00037724 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8003A7C8 00037728 7C 08 02 A6 */ mflr r0 +/* 8003A7CC 0003772C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8003A7D0 00037730 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8003A7D4 00037734 7C 7F 1B 78 */ mr r31, r3 +/* 8003A7D8 00037738 38 61 00 08 */ addi r3, r1, 8 +/* 8003A7DC 0003773C 48 2D 83 99 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8003A7E0 00037740 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8003A7E4 00037744 7F E3 FB 78 */ mr r3, r31 +/* 8003A7E8 00037748 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8003A7EC 0003774C 38 81 00 08 */ addi r4, r1, 8 +/* 8003A7F0 00037750 C0 45 00 00 */ lfs f2, 0(r5) +/* 8003A7F4 00037754 C0 25 00 04 */ lfs f1, 4(r5) +/* 8003A7F8 00037758 C0 05 00 08 */ lfs f0, 8(r5) +/* 8003A7FC 0003775C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8003A800 00037760 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8003A804 00037764 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8003A808 00037768 48 2D 83 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8003A80C 0003776C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8003A810 00037770 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8003A814 00037774 7C 08 03 A6 */ mtlr r0 +/* 8003A818 00037778 38 21 00 40 */ addi r1, r1, 0x40 +/* 8003A81C 0003777C 4E 80 00 20 */ blr + +.global SetPhazonBeamFeedback__10CPlayerGunFb +SetPhazonBeamFeedback__10CPlayerGunFb: +/* 8003A820 00037780 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8003A824 00037784 7C 08 02 A6 */ mflr r0 +/* 8003A828 00037788 90 01 00 44 */ stw r0, 0x44(r1) +/* 8003A82C 0003778C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8003A830 00037790 7C 9F 23 78 */ mr r31, r4 +/* 8003A834 00037794 38 80 00 15 */ li r4, 0x15 +/* 8003A838 00037798 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8003A83C 0003779C 7C 7E 1B 78 */ mr r30, r3 +/* 8003A840 000377A0 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) +/* 8003A844 000377A4 48 31 BE B9 */ bl GetString__12CStringTableCFi +/* 8003A848 000377A8 7C 64 1B 78 */ mr r4, r3 +/* 8003A84C 000377AC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8003A850 000377B0 4B FD B1 A1 */ bl wstring_l__4rstlFPCw +/* 8003A854 000377B4 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 8003A858 000377B8 C0 02 84 68 */ lfs f0, lbl_805AA188@sda21(r2) +/* 8003A85C 000377BC 7C 00 00 34 */ cntlzw r0, r0 +/* 8003A860 000377C0 38 C0 00 01 */ li r6, 1 +/* 8003A864 000377C4 54 05 DE 3E */ rlwinm r5, r0, 0x1b, 0x18, 0x1f +/* 8003A868 000377C8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8003A86C 000377CC 38 00 00 00 */ li r0, 0 +/* 8003A870 000377D0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8003A874 000377D4 98 C1 00 18 */ stb r6, 0x18(r1) +/* 8003A878 000377D8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8003A87C 000377DC 98 A1 00 19 */ stb r5, 0x19(r1) +/* 8003A880 000377E0 98 01 00 1A */ stb r0, 0x1a(r1) +/* 8003A884 000377E4 48 03 13 E5 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo +/* 8003A888 000377E8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8003A88C 000377EC 48 30 28 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8003A890 000377F0 80 1E 02 E8 */ lwz r0, 0x2e8(r30) +/* 8003A894 000377F4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003A898 000377F8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8003A89C 000377FC 48 2A E5 39 */ bl IsPlaying__11CSfxManagerF10CSfxHandle +/* 8003A8A0 00037800 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003A8A4 00037804 41 82 00 14 */ beq lbl_8003A8B8 +/* 8003A8A8 00037808 80 1E 02 E8 */ lwz r0, 0x2e8(r30) +/* 8003A8AC 0003780C 38 61 00 0C */ addi r3, r1, 0xc +/* 8003A8B0 00037810 90 01 00 0C */ stw r0, 0xc(r1) +/* 8003A8B4 00037814 48 2A F4 95 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +lbl_8003A8B8: +/* 8003A8B8 00037818 38 60 00 00 */ li r3, 0 +/* 8003A8BC 0003781C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8003A8C0 00037820 90 7E 02 E8 */ stw r3, 0x2e8(r30) +/* 8003A8C4 00037824 41 82 00 28 */ beq lbl_8003A8EC +/* 8003A8C8 00037828 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003A8CC 0003782C 38 61 00 08 */ addi r3, r1, 8 +/* 8003A8D0 00037830 38 80 0C 45 */ li r4, 0xc45 +/* 8003A8D4 00037834 38 C0 00 00 */ li r6, 0 +/* 8003A8D8 00037838 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 8003A8DC 0003783C 38 E0 00 4A */ li r7, 0x4a +/* 8003A8E0 00037840 48 25 02 19 */ bl play_sfx__12NWeaponTypesFUsbbs +/* 8003A8E4 00037844 80 01 00 08 */ lwz r0, 8(r1) +/* 8003A8E8 00037848 90 1E 02 E8 */ stw r0, 0x2e8(r30) +lbl_8003A8EC: +/* 8003A8EC 0003784C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8003A8F0 00037850 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8003A8F4 00037854 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8003A8F8 00037858 7C 08 03 A6 */ mtlr r0 +/* 8003A8FC 0003785C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8003A900 00037860 4E 80 00 20 */ blr + +.global DropPowerBomb__10CPlayerGunCFR13CStateManager +DropPowerBomb__10CPlayerGunCFR13CStateManager: +/* 8003A904 00037864 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8003A908 00037868 7C 08 02 A6 */ mflr r0 +/* 8003A90C 0003786C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8003A910 00037870 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8003A914 00037874 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8003A918 00037878 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 8003A91C 0003787C 7C BF 2B 78 */ mr r31, r5 +/* 8003A920 00037880 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003A924 00037884 80 A5 08 4C */ lwz r5, 0x84c(r5) +/* 8003A928 00037888 7C 7D 1B 78 */ mr r29, r3 +/* 8003A92C 0003788C 7C 9E 23 78 */ mr r30, r4 +/* 8003A930 00037890 C0 25 09 F4 */ lfs f1, 0x9f4(r5) +/* 8003A934 00037894 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003A938 00037898 4C 40 13 82 */ cror 2, 0, 2 +/* 8003A93C 0003789C 40 82 00 10 */ bne lbl_8003A94C +/* 8003A940 000378A0 80 6D A1 34 */ lwz r3, gpTweakPlayerGun@sda21(r13) +/* 8003A944 000378A4 38 C3 00 8C */ addi r6, r3, 0x8c +/* 8003A948 000378A8 48 00 00 5C */ b lbl_8003A9A4 +lbl_8003A94C: +/* 8003A94C 000378AC 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8003A950 000378B0 38 80 00 00 */ li r4, 0 +/* 8003A954 000378B4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8003A958 000378B8 38 A0 00 05 */ li r5, 5 +/* 8003A95C 000378BC 98 01 00 28 */ stb r0, 0x28(r1) +/* 8003A960 000378C0 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 8003A964 000378C4 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 8003A968 000378C8 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8003A96C 000378CC 98 61 00 28 */ stb r3, 0x28(r1) +/* 8003A970 000378D0 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8003A974 000378D4 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a +/* 8003A978 000378D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8003A97C 000378DC 90 A1 00 24 */ stw r5, 0x24(r1) +/* 8003A980 000378E0 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8003A984 000378E4 98 61 00 28 */ stb r3, 0x28(r1) +/* 8003A988 000378E8 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8003A98C 000378EC 98 61 00 3C */ stb r3, 0x3c(r1) +/* 8003A990 000378F0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8003A994 000378F4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8003A998 000378F8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8003A99C 000378FC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8003A9A0 00037900 98 01 00 50 */ stb r0, 0x50(r1) +lbl_8003A9A4: +/* 8003A9A4 00037904 80 06 00 00 */ lwz r0, 0(r6) +/* 8003A9A8 00037908 7F E4 FB 78 */ mr r4, r31 +/* 8003A9AC 0003790C 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 8003A9B0 00037910 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003A9B4 00037914 90 01 00 54 */ stw r0, 0x54(r1) +/* 8003A9B8 00037918 88 06 00 04 */ lbz r0, 4(r6) +/* 8003A9BC 0003791C 98 01 00 58 */ stb r0, 0x58(r1) +/* 8003A9C0 00037920 C0 06 00 08 */ lfs f0, 8(r6) +/* 8003A9C4 00037924 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8003A9C8 00037928 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8003A9CC 0003792C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8003A9D0 00037930 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 8003A9D4 00037934 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8003A9D8 00037938 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 8003A9DC 0003793C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8003A9E0 00037940 88 06 00 18 */ lbz r0, 0x18(r6) +/* 8003A9E4 00037944 98 01 00 6C */ stb r0, 0x6c(r1) +/* 8003A9E8 00037948 C3 E5 02 7C */ lfs f31, 0x27c(r5) +/* 8003A9EC 0003794C 48 01 26 F1 */ bl AllocateUniqueId__13CStateManagerFv +/* 8003A9F0 00037950 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8003A9F4 00037954 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 8003A9F8 00037958 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l +/* 8003A9FC 0003795C 3B 60 00 00 */ li r27, 0 +/* 8003AA00 00037960 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8003AA04 00037964 38 83 00 09 */ addi r4, r3, 9 +/* 8003AA08 00037968 38 60 01 70 */ li r3, 0x170 +/* 8003AA0C 0003796C 38 A0 00 00 */ li r5, 0 +/* 8003AA10 00037970 48 2D AE 5D */ bl __nw__FUlPCcPCc +/* 8003AA14 00037974 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8003AA18 00037978 41 82 00 88 */ beq lbl_8003AAA0 +/* 8003AA1C 0003797C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8003AA20 00037980 38 9E 07 A8 */ addi r4, r30, 0x7a8 +/* 8003AA24 00037984 48 30 64 85 */ bl __ct__6CTokenFRC6CToken +/* 8003AA28 00037988 A0 C1 00 14 */ lhz r6, 0x14(r1) +/* 8003AA2C 0003798C 38 61 00 70 */ addi r3, r1, 0x70 +/* 8003AA30 00037990 80 AD A3 90 */ lwz r5, lbl_805A8F50@sda21(r13) +/* 8003AA34 00037994 38 81 00 2C */ addi r4, r1, 0x2c +/* 8003AA38 00037998 A0 1E 05 38 */ lhz r0, 0x538(r30) +/* 8003AA3C 0003799C 3B 60 00 01 */ li r27, 1 +/* 8003AA40 000379A0 B0 C1 00 08 */ sth r6, 8(r1) +/* 8003AA44 000379A4 C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) +/* 8003AA48 000379A8 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8003AA4C 000379AC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8003AA50 000379B0 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8003AA54 000379B4 C0 65 00 50 */ lfs f3, 0x50(r5) +/* 8003AA58 000379B8 C0 25 00 60 */ lfs f1, 0x60(r5) +/* 8003AA5C 000379BC C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8003AA60 000379C0 EC 63 10 2A */ fadds f3, f3, f2 +/* 8003AA64 000379C4 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8003AA68 000379C8 EC 00 10 2A */ fadds f0, f0, f2 +/* 8003AA6C 000379CC D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8003AA70 000379D0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8003AA74 000379D4 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8003AA78 000379D8 48 2D 86 C9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8003AA7C 000379DC 7F 83 E3 78 */ mr r3, r28 +/* 8003AA80 000379E0 38 81 00 1C */ addi r4, r1, 0x1c +/* 8003AA84 000379E4 38 A1 00 08 */ addi r5, r1, 8 +/* 8003AA88 000379E8 38 C1 00 18 */ addi r6, r1, 0x18 +/* 8003AA8C 000379EC 38 E1 00 0C */ addi r7, r1, 0xc +/* 8003AA90 000379F0 39 01 00 70 */ addi r8, r1, 0x70 +/* 8003AA94 000379F4 39 21 00 54 */ addi r9, r1, 0x54 +/* 8003AA98 000379F8 48 11 33 BD */ bl "__ct__10CPowerBombF25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdRC12CTransform4fRC11CDamageInfo" +/* 8003AA9C 000379FC 7C 7C 1B 78 */ mr r28, r3 +lbl_8003AAA0: +/* 8003AAA0 00037A00 7F 60 07 75 */ extsb. r0, r27 +/* 8003AAA4 00037A04 41 82 00 10 */ beq lbl_8003AAB4 +/* 8003AAA8 00037A08 38 61 00 1C */ addi r3, r1, 0x1c +/* 8003AAAC 00037A0C 38 80 00 00 */ li r4, 0 +/* 8003AAB0 00037A10 48 30 63 91 */ bl __dt__6CTokenFv +lbl_8003AAB4: +/* 8003AAB4 00037A14 7F E3 FB 78 */ mr r3, r31 +/* 8003AAB8 00037A18 7F 84 E3 78 */ mr r4, r28 +/* 8003AABC 00037A1C 48 01 20 59 */ bl AddObject__13CStateManagerFR7CEntity +/* 8003AAC0 00037A20 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8003AAC4 00037A24 B0 1D 00 00 */ sth r0, 0(r29) +/* 8003AAC8 00037A28 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8003AACC 00037A2C CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8003AAD0 00037A30 BB 61 00 AC */ lmw r27, 0xac(r1) +/* 8003AAD4 00037A34 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8003AAD8 00037A38 7C 08 03 A6 */ mtlr r0 +/* 8003AADC 00037A3C 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8003AAE0 00037A40 4E 80 00 20 */ blr + +.global ReturnToRestPose__10CPlayerGunFv +ReturnToRestPose__10CPlayerGunFv: +/* 8003AAE4 00037A44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003AAE8 00037A48 7C 08 02 A6 */ mflr r0 +/* 8003AAEC 00037A4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003AAF0 00037A50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003AAF4 00037A54 7C 7F 1B 78 */ mr r31, r3 +/* 8003AAF8 00037A58 88 03 08 32 */ lbz r0, 0x832(r3) +/* 8003AAFC 00037A5C 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8003AB00 00037A60 28 00 00 01 */ cmplwi r0, 1 +/* 8003AB04 00037A64 41 82 00 4C */ beq lbl_8003AB50 +/* 8003AB08 00037A68 80 9F 02 F8 */ lwz r4, 0x2f8(r31) +/* 8003AB0C 00037A6C 54 80 07 FE */ clrlwi r0, r4, 0x1f +/* 8003AB10 00037A70 2C 00 00 01 */ cmpwi r0, 1 +/* 8003AB14 00037A74 40 82 00 14 */ bne lbl_8003AB28 +/* 8003AB18 00037A78 38 80 00 00 */ li r4, 0 +/* 8003AB1C 00037A7C 38 A0 00 00 */ li r5, 0 +/* 8003AB20 00037A80 48 00 6D A5 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +/* 8003AB24 00037A84 48 00 00 1C */ b lbl_8003AB40 +lbl_8003AB28: +/* 8003AB28 00037A88 54 80 07 7A */ rlwinm r0, r4, 0, 0x1d, 0x1d +/* 8003AB2C 00037A8C 2C 00 00 04 */ cmpwi r0, 4 +/* 8003AB30 00037A90 40 82 00 10 */ bne lbl_8003AB40 +/* 8003AB34 00037A94 38 80 00 06 */ li r4, 6 +/* 8003AB38 00037A98 38 A0 00 00 */ li r5, 0 +/* 8003AB3C 00037A9C 48 00 6D 89 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +lbl_8003AB40: +/* 8003AB40 00037AA0 88 1F 08 32 */ lbz r0, 0x832(r31) +/* 8003AB44 00037AA4 38 60 00 01 */ li r3, 1 +/* 8003AB48 00037AA8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8003AB4C 00037AAC 98 1F 08 32 */ stb r0, 0x832(r31) +lbl_8003AB50: +/* 8003AB50 00037AB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003AB54 00037AB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003AB58 00037AB8 7C 08 03 A6 */ mtlr r0 +/* 8003AB5C 00037ABC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003AB60 00037AC0 4E 80 00 20 */ blr + +.global AsyncLoadSuit__10CPlayerGunFR13CStateManager +AsyncLoadSuit__10CPlayerGunFR13CStateManager: +/* 8003AB64 00037AC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003AB68 00037AC8 7C 08 02 A6 */ mflr r0 +/* 8003AB6C 00037ACC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003AB70 00037AD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003AB74 00037AD4 7C 9F 23 78 */ mr r31, r4 +/* 8003AB78 00037AD8 93 C1 00 08 */ stw r30, 8(r1) +/* 8003AB7C 00037ADC 7C 7E 1B 78 */ mr r30, r3 +/* 8003AB80 00037AE0 80 63 07 2C */ lwz r3, 0x72c(r3) +/* 8003AB84 00037AE4 48 17 F9 D5 */ bl AsyncLoadSuitArm__10CGunWeaponFR13CStateManager +/* 8003AB88 00037AE8 80 7E 07 40 */ lwz r3, 0x740(r30) +/* 8003AB8C 00037AEC 7F E4 FB 78 */ mr r4, r31 +/* 8003AB90 00037AF0 48 0E 30 45 */ bl AsyncLoadSuit__11CGrappleArmFR13CStateManager +/* 8003AB94 00037AF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003AB98 00037AF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003AB9C 00037AFC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003ABA0 00037B00 7C 08 03 A6 */ mtlr r0 +/* 8003ABA4 00037B04 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003ABA8 00037B08 4E 80 00 20 */ blr + +.global SetFidgetAnimBits__10CPlayerGunFib +SetFidgetAnimBits__10CPlayerGunFib: +/* 8003ABAC 00037B0C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8003ABB0 00037B10 38 A0 00 00 */ li r5, 0 +/* 8003ABB4 00037B14 90 A3 02 FC */ stw r5, 0x2fc(r3) +/* 8003ABB8 00037B18 41 82 00 10 */ beq lbl_8003ABC8 +/* 8003ABBC 00037B1C 38 00 00 02 */ li r0, 2 +/* 8003ABC0 00037B20 90 03 02 FC */ stw r0, 0x2fc(r3) +/* 8003ABC4 00037B24 4E 80 00 20 */ blr +lbl_8003ABC8: +/* 8003ABC8 00037B28 80 03 03 A8 */ lwz r0, 0x3a8(r3) +/* 8003ABCC 00037B2C 2C 00 00 01 */ cmpwi r0, 1 +/* 8003ABD0 00037B30 41 82 00 38 */ beq lbl_8003AC08 +/* 8003ABD4 00037B34 4C 80 00 20 */ bgelr +/* 8003ABD8 00037B38 2C 00 00 00 */ cmpwi r0, 0 +/* 8003ABDC 00037B3C 4D 80 00 20 */ bltlr +/* 8003ABE0 00037B40 38 00 00 01 */ li r0, 1 +/* 8003ABE4 00037B44 2C 04 00 00 */ cmpwi r4, 0 +/* 8003ABE8 00037B48 90 03 02 FC */ stw r0, 0x2fc(r3) +/* 8003ABEC 00037B4C 4C 81 00 20 */ blelr +/* 8003ABF0 00037B50 2C 04 00 02 */ cmpwi r4, 2 +/* 8003ABF4 00037B54 4C 80 00 20 */ bgelr +/* 8003ABF8 00037B58 80 03 02 FC */ lwz r0, 0x2fc(r3) +/* 8003ABFC 00037B5C 60 00 00 04 */ ori r0, r0, 4 +/* 8003AC00 00037B60 90 03 02 FC */ stw r0, 0x2fc(r3) +/* 8003AC04 00037B64 4E 80 00 20 */ blr +lbl_8003AC08: +/* 8003AC08 00037B68 2C 04 00 06 */ cmpwi r4, 6 +/* 8003AC0C 00037B6C 40 80 00 0C */ bge lbl_8003AC18 +/* 8003AC10 00037B70 2C 04 00 04 */ cmpwi r4, 4 +/* 8003AC14 00037B74 40 80 00 10 */ bge lbl_8003AC24 +lbl_8003AC18: +/* 8003AC18 00037B78 38 00 00 02 */ li r0, 2 +/* 8003AC1C 00037B7C 90 03 02 FC */ stw r0, 0x2fc(r3) +/* 8003AC20 00037B80 48 00 00 0C */ b lbl_8003AC2C +lbl_8003AC24: +/* 8003AC24 00037B84 38 00 00 01 */ li r0, 1 +/* 8003AC28 00037B88 90 03 02 FC */ stw r0, 0x2fc(r3) +lbl_8003AC2C: +/* 8003AC2C 00037B8C 80 03 02 FC */ lwz r0, 0x2fc(r3) +/* 8003AC30 00037B90 60 00 00 04 */ ori r0, r0, 4 +/* 8003AC34 00037B94 90 03 02 FC */ stw r0, 0x2fc(r3) +/* 8003AC38 00037B98 4E 80 00 20 */ blr + +.global IsFidgetLoaded__10CPlayerGunFv +IsFidgetLoaded__10CPlayerGunFv: +/* 8003AC3C 00037B9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003AC40 00037BA0 7C 08 02 A6 */ mflr r0 +/* 8003AC44 00037BA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003AC48 00037BA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003AC4C 00037BAC 3B E0 00 00 */ li r31, 0 +/* 8003AC50 00037BB0 93 C1 00 08 */ stw r30, 8(r1) +/* 8003AC54 00037BB4 7C 7E 1B 78 */ mr r30, r3 +/* 8003AC58 00037BB8 80 03 02 FC */ lwz r0, 0x2fc(r3) +/* 8003AC5C 00037BBC 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8003AC60 00037BC0 2C 00 00 01 */ cmpwi r0, 1 +/* 8003AC64 00037BC4 40 82 00 1C */ bne lbl_8003AC80 +/* 8003AC68 00037BC8 80 7E 07 3C */ lwz r3, 0x73c(r30) +/* 8003AC6C 00037BCC 38 63 00 7C */ addi r3, r3, 0x7c +/* 8003AC70 00037BD0 48 1B 64 59 */ bl IsAnimLoaded__9CGSFidgetCFv +/* 8003AC74 00037BD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003AC78 00037BD8 41 82 00 08 */ beq lbl_8003AC80 +/* 8003AC7C 00037BDC 63 FF 00 01 */ ori r31, r31, 1 +lbl_8003AC80: +/* 8003AC80 00037BE0 80 1E 02 FC */ lwz r0, 0x2fc(r30) +/* 8003AC84 00037BE4 54 00 07 BC */ rlwinm r0, r0, 0, 0x1e, 0x1e +/* 8003AC88 00037BE8 2C 00 00 02 */ cmpwi r0, 2 +/* 8003AC8C 00037BEC 40 82 00 18 */ bne lbl_8003ACA4 +/* 8003AC90 00037BF0 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003AC94 00037BF4 48 17 F9 A5 */ bl IsFidgetLoaded__10CGunWeaponFv +/* 8003AC98 00037BF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003AC9C 00037BFC 41 82 00 08 */ beq lbl_8003ACA4 +/* 8003ACA0 00037C00 63 FF 00 02 */ ori r31, r31, 2 +lbl_8003ACA4: +/* 8003ACA4 00037C04 80 1E 02 FC */ lwz r0, 0x2fc(r30) +/* 8003ACA8 00037C08 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d +/* 8003ACAC 00037C0C 2C 00 00 04 */ cmpwi r0, 4 +/* 8003ACB0 00037C10 40 82 00 28 */ bne lbl_8003ACD8 +/* 8003ACB4 00037C14 80 7E 07 40 */ lwz r3, 0x740(r30) +/* 8003ACB8 00037C18 80 63 03 28 */ lwz r3, 0x328(r3) +/* 8003ACBC 00037C1C 28 03 00 00 */ cmplwi r3, 0 +/* 8003ACC0 00037C20 41 82 00 18 */ beq lbl_8003ACD8 +/* 8003ACC4 00037C24 38 63 00 30 */ addi r3, r3, 0x30 +/* 8003ACC8 00037C28 48 1B 64 01 */ bl IsAnimLoaded__9CGSFidgetCFv +/* 8003ACCC 00037C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003ACD0 00037C30 41 82 00 08 */ beq lbl_8003ACD8 +/* 8003ACD4 00037C34 63 FF 00 04 */ ori r31, r31, 4 +lbl_8003ACD8: +/* 8003ACD8 00037C38 80 1E 02 FC */ lwz r0, 0x2fc(r30) +/* 8003ACDC 00037C3C 7C 1F 00 50 */ subf r0, r31, r0 +/* 8003ACE0 00037C40 7C 00 00 34 */ cntlzw r0, r0 +/* 8003ACE4 00037C44 54 03 D9 7E */ srwi r3, r0, 5 +/* 8003ACE8 00037C48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003ACEC 00037C4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003ACF0 00037C50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003ACF4 00037C54 7C 08 03 A6 */ mtlr r0 +/* 8003ACF8 00037C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003ACFC 00037C5C 4E 80 00 20 */ blr + +.global UnLoadFidget__10CPlayerGunFv +UnLoadFidget__10CPlayerGunFv: +/* 8003AD00 00037C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003AD04 00037C64 7C 08 02 A6 */ mflr r0 +/* 8003AD08 00037C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003AD0C 00037C6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003AD10 00037C70 7C 7F 1B 78 */ mr r31, r3 +/* 8003AD14 00037C74 80 03 02 FC */ lwz r0, 0x2fc(r3) +/* 8003AD18 00037C78 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8003AD1C 00037C7C 2C 00 00 01 */ cmpwi r0, 1 +/* 8003AD20 00037C80 40 82 00 10 */ bne lbl_8003AD30 +/* 8003AD24 00037C84 80 7F 07 3C */ lwz r3, 0x73c(r31) +/* 8003AD28 00037C88 38 63 00 7C */ addi r3, r3, 0x7c +/* 8003AD2C 00037C8C 48 1B 63 BD */ bl UnLoadAnim__9CGSFidgetFv +lbl_8003AD30: +/* 8003AD30 00037C90 80 1F 02 FC */ lwz r0, 0x2fc(r31) +/* 8003AD34 00037C94 54 00 07 BC */ rlwinm r0, r0, 0, 0x1e, 0x1e +/* 8003AD38 00037C98 2C 00 00 02 */ cmpwi r0, 2 +/* 8003AD3C 00037C9C 40 82 00 0C */ bne lbl_8003AD48 +/* 8003AD40 00037CA0 80 7F 07 2C */ lwz r3, 0x72c(r31) +/* 8003AD44 00037CA4 48 17 F9 1D */ bl UnLoadFidget__10CGunWeaponFv +lbl_8003AD48: +/* 8003AD48 00037CA8 80 1F 02 FC */ lwz r0, 0x2fc(r31) +/* 8003AD4C 00037CAC 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d +/* 8003AD50 00037CB0 2C 00 00 04 */ cmpwi r0, 4 +/* 8003AD54 00037CB4 40 82 00 1C */ bne lbl_8003AD70 +/* 8003AD58 00037CB8 80 7F 07 40 */ lwz r3, 0x740(r31) +/* 8003AD5C 00037CBC 80 63 03 28 */ lwz r3, 0x328(r3) +/* 8003AD60 00037CC0 28 03 00 00 */ cmplwi r3, 0 +/* 8003AD64 00037CC4 41 82 00 0C */ beq lbl_8003AD70 +/* 8003AD68 00037CC8 38 63 00 30 */ addi r3, r3, 0x30 +/* 8003AD6C 00037CCC 48 1B 63 7D */ bl UnLoadAnim__9CGSFidgetFv +lbl_8003AD70: +/* 8003AD70 00037CD0 38 00 00 00 */ li r0, 0 +/* 8003AD74 00037CD4 90 1F 02 FC */ stw r0, 0x2fc(r31) +/* 8003AD78 00037CD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003AD7C 00037CDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003AD80 00037CE0 7C 08 03 A6 */ mtlr r0 +/* 8003AD84 00037CE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003AD88 00037CE8 4E 80 00 20 */ blr + +.global AsyncLoadFidget__10CPlayerGunFR13CStateManager +AsyncLoadFidget__10CPlayerGunFR13CStateManager: +/* 8003AD8C 00037CEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003AD90 00037CF0 7C 08 02 A6 */ mflr r0 +/* 8003AD94 00037CF4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003AD98 00037CF8 BF 41 00 08 */ stmw r26, 8(r1) +/* 8003AD9C 00037CFC 7C 7C 1B 78 */ mr r28, r3 +/* 8003ADA0 00037D00 7C 9D 23 78 */ mr r29, r4 +/* 8003ADA4 00037D04 80 03 03 A4 */ lwz r0, 0x3a4(r3) +/* 8003ADA8 00037D08 83 63 03 A8 */ lwz r27, 0x3a8(r3) +/* 8003ADAC 00037D0C 20 00 00 03 */ subfic r0, r0, 3 +/* 8003ADB0 00037D10 83 E3 03 B0 */ lwz r31, 0x3b0(r3) +/* 8003ADB4 00037D14 7C 00 00 34 */ cntlzw r0, r0 +/* 8003ADB8 00037D18 7F 7E DB 78 */ mr r30, r27 +/* 8003ADBC 00037D1C 54 1A D9 7E */ srwi r26, r0, 5 +/* 8003ADC0 00037D20 7F E4 FB 78 */ mr r4, r31 +/* 8003ADC4 00037D24 7F 45 D3 78 */ mr r5, r26 +/* 8003ADC8 00037D28 4B FF FD E5 */ bl SetFidgetAnimBits__10CPlayerGunFib +/* 8003ADCC 00037D2C 80 1C 02 FC */ lwz r0, 0x2fc(r28) +/* 8003ADD0 00037D30 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8003ADD4 00037D34 2C 00 00 01 */ cmpwi r0, 1 +/* 8003ADD8 00037D38 40 82 00 20 */ bne lbl_8003ADF8 +/* 8003ADDC 00037D3C 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003ADE0 00037D40 7F A4 EB 78 */ mr r4, r29 +/* 8003ADE4 00037D44 80 DC 03 10 */ lwz r6, 0x310(r28) +/* 8003ADE8 00037D48 7F C5 F3 78 */ mr r5, r30 +/* 8003ADEC 00037D4C 7F E7 FB 78 */ mr r7, r31 +/* 8003ADF0 00037D50 38 63 00 4C */ addi r3, r3, 0x4c +/* 8003ADF4 00037D54 48 19 1A 29 */ bl LoadFidgetAnimAsync__14CGunControllerFR13CStateManageriii +lbl_8003ADF8: +/* 8003ADF8 00037D58 80 1C 02 FC */ lwz r0, 0x2fc(r28) +/* 8003ADFC 00037D5C 54 00 07 BC */ rlwinm r0, r0, 0, 0x1e, 0x1e +/* 8003AE00 00037D60 2C 00 00 02 */ cmpwi r0, 2 +/* 8003AE04 00037D64 40 82 00 34 */ bne lbl_8003AE38 +/* 8003AE08 00037D68 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8003AE0C 00037D6C 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 8003AE10 00037D70 7F A4 EB 78 */ mr r4, r29 +/* 8003AE14 00037D74 41 82 00 08 */ beq lbl_8003AE1C +/* 8003AE18 00037D78 3B 60 00 00 */ li r27, 0 +lbl_8003AE1C: +/* 8003AE1C 00037D7C 7F 65 DB 78 */ mr r5, r27 +/* 8003AE20 00037D80 7F E6 FB 78 */ mr r6, r31 +/* 8003AE24 00037D84 48 17 F8 65 */ bl AsyncLoadFidget__10CGunWeaponFR13CStateManagerQ28SamusGun11EFidgetTypei +/* 8003AE28 00037D88 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 8003AE2C 00037D8C 38 60 00 00 */ li r3, 0 +/* 8003AE30 00037D90 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8003AE34 00037D94 98 1C 08 32 */ stb r0, 0x832(r28) +lbl_8003AE38: +/* 8003AE38 00037D98 80 1C 02 FC */ lwz r0, 0x2fc(r28) +/* 8003AE3C 00037D9C 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d +/* 8003AE40 00037DA0 2C 00 00 04 */ cmpwi r0, 4 +/* 8003AE44 00037DA4 40 82 00 38 */ bne lbl_8003AE7C +/* 8003AE48 00037DA8 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 8003AE4C 00037DAC 80 63 03 28 */ lwz r3, 0x328(r3) +/* 8003AE50 00037DB0 28 03 00 00 */ cmplwi r3, 0 +/* 8003AE54 00037DB4 41 82 00 28 */ beq lbl_8003AE7C +/* 8003AE58 00037DB8 2C 1E 00 00 */ cmpwi r30, 0 +/* 8003AE5C 00037DBC 7F A4 EB 78 */ mr r4, r29 +/* 8003AE60 00037DC0 7F C5 F3 78 */ mr r5, r30 +/* 8003AE64 00037DC4 41 82 00 0C */ beq lbl_8003AE70 +/* 8003AE68 00037DC8 80 DC 03 10 */ lwz r6, 0x310(r28) +/* 8003AE6C 00037DCC 48 00 00 08 */ b lbl_8003AE74 +lbl_8003AE70: +/* 8003AE70 00037DD0 38 C0 00 00 */ li r6, 0 +lbl_8003AE74: +/* 8003AE74 00037DD4 7F E7 FB 78 */ mr r7, r31 +/* 8003AE78 00037DD8 48 19 19 A5 */ bl LoadFidgetAnimAsync__14CGunControllerFR13CStateManageriii +lbl_8003AE7C: +/* 8003AE7C 00037DDC BB 41 00 08 */ lmw r26, 8(r1) +/* 8003AE80 00037DE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003AE84 00037DE4 7C 08 03 A6 */ mtlr r0 +/* 8003AE88 00037DE8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003AE8C 00037DEC 4E 80 00 20 */ blr + +.global ProcessGunMorph__10CPlayerGunFfR13CStateManager +ProcessGunMorph__10CPlayerGunFfR13CStateManager: +/* 8003AE90 00037DF0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8003AE94 00037DF4 7C 08 02 A6 */ mflr r0 +/* 8003AE98 00037DF8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8003AE9C 00037DFC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8003AEA0 00037E00 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8003AEA4 00037E04 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8003AEA8 00037E08 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8003AEAC 00037E0C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8003AEB0 00037E10 93 81 00 20 */ stw r28, 0x20(r1) +/* 8003AEB4 00037E14 7C 9D 23 78 */ mr r29, r4 +/* 8003AEB8 00037E18 7C 7C 1B 78 */ mr r28, r3 +/* 8003AEBC 00037E1C 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8003AEC0 00037E20 FF E0 08 90 */ fmr f31, f1 +/* 8003AEC4 00037E24 80 BC 06 98 */ lwz r5, 0x698(r28) +/* 8003AEC8 00037E28 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8003AECC 00037E2C 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 8003AED0 00037E30 2C 05 00 01 */ cmpwi r5, 1 +/* 8003AED4 00037E34 7C 00 00 34 */ cntlzw r0, r0 +/* 8003AED8 00037E38 83 E3 00 00 */ lwz r31, 0(r3) +/* 8003AEDC 00037E3C 54 1E D9 7E */ srwi r30, r0, 5 +/* 8003AEE0 00037E40 41 82 01 4C */ beq lbl_8003B02C +/* 8003AEE4 00037E44 40 80 00 10 */ bge lbl_8003AEF4 +/* 8003AEE8 00037E48 2C 05 00 00 */ cmpwi r5, 0 +/* 8003AEEC 00037E4C 40 80 00 14 */ bge lbl_8003AF00 +/* 8003AEF0 00037E50 48 00 01 3C */ b lbl_8003B02C +lbl_8003AEF4: +/* 8003AEF4 00037E54 2C 05 00 04 */ cmpwi r5, 4 +/* 8003AEF8 00037E58 40 80 01 34 */ bge lbl_8003B02C +/* 8003AEFC 00037E5C 48 00 00 D0 */ b lbl_8003AFCC +lbl_8003AF00: +/* 8003AF00 00037E60 80 7C 03 10 */ lwz r3, 0x310(r28) +/* 8003AF04 00037E64 80 1C 03 14 */ lwz r0, 0x314(r28) +/* 8003AF08 00037E68 7C 03 00 00 */ cmpw r3, r0 +/* 8003AF0C 00037E6C 41 82 01 20 */ beq lbl_8003B02C +/* 8003AF10 00037E70 80 7C 07 34 */ lwz r3, 0x734(r28) +/* 8003AF14 00037E74 28 03 00 00 */ cmplwi r3, 0 +/* 8003AF18 00037E78 41 82 01 14 */ beq lbl_8003B02C +/* 8003AF1C 00037E7C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8003AF20 00037E80 40 82 00 08 */ bne lbl_8003AF28 +/* 8003AF24 00037E84 48 18 06 C9 */ bl Touch__10CGunWeaponFRC13CStateManager +lbl_8003AF28: +/* 8003AF28 00037E88 80 7C 07 34 */ lwz r3, 0x734(r28) +/* 8003AF2C 00037E8C 81 83 00 00 */ lwz r12, 0(r3) +/* 8003AF30 00037E90 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8003AF34 00037E94 7D 89 03 A6 */ mtctr r12 +/* 8003AF38 00037E98 4E 80 04 21 */ bctrl +/* 8003AF3C 00037E9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003AF40 00037EA0 41 82 00 EC */ beq lbl_8003B02C +/* 8003AF44 00037EA4 80 7C 07 44 */ lwz r3, 0x744(r28) +/* 8003AF48 00037EA8 88 03 00 80 */ lbz r0, 0x80(r3) +/* 8003AF4C 00037EAC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8003AF50 00037EB0 41 82 00 DC */ beq lbl_8003B02C +/* 8003AF54 00037EB4 80 1C 07 34 */ lwz r0, 0x734(r28) +/* 8003AF58 00037EB8 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 8003AF5C 00037EBC 7C 00 18 40 */ cmplw r0, r3 +/* 8003AF60 00037EC0 41 82 00 08 */ beq lbl_8003AF68 +/* 8003AF64 00037EC4 48 00 00 08 */ b lbl_8003AF6C +lbl_8003AF68: +/* 8003AF68 00037EC8 38 60 00 00 */ li r3, 0 +lbl_8003AF6C: +/* 8003AF6C 00037ECC 90 7C 07 30 */ stw r3, 0x730(r28) +/* 8003AF70 00037ED0 38 00 00 00 */ li r0, 0 +/* 8003AF74 00037ED4 38 80 00 01 */ li r4, 1 +/* 8003AF78 00037ED8 90 1C 07 34 */ stw r0, 0x734(r28) +/* 8003AF7C 00037EDC 80 1C 03 14 */ lwz r0, 0x314(r28) +/* 8003AF80 00037EE0 90 1C 03 10 */ stw r0, 0x310(r28) +/* 8003AF84 00037EE4 80 1C 03 14 */ lwz r0, 0x314(r28) +/* 8003AF88 00037EE8 90 1C 03 20 */ stw r0, 0x320(r28) +/* 8003AF8C 00037EEC 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003AF90 00037EF0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8003AF94 00037EF4 98 1C 08 33 */ stb r0, 0x833(r28) +/* 8003AF98 00037EF8 80 1C 03 14 */ lwz r0, 0x314(r28) +/* 8003AF9C 00037EFC 54 00 10 3A */ slwi r0, r0, 2 +/* 8003AFA0 00037F00 7C 7C 02 14 */ add r3, r28, r0 +/* 8003AFA4 00037F04 80 03 07 64 */ lwz r0, 0x764(r3) +/* 8003AFA8 00037F08 90 1C 07 2C */ stw r0, 0x72c(r28) +/* 8003AFAC 00037F0C 80 1C 07 2C */ lwz r0, 0x72c(r28) +/* 8003AFB0 00037F10 90 1C 07 38 */ stw r0, 0x738(r28) +/* 8003AFB4 00037F14 88 1C 06 9C */ lbz r0, 0x69c(r28) +/* 8003AFB8 00037F18 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8003AFBC 00037F1C 98 1C 06 9C */ stb r0, 0x69c(r28) +/* 8003AFC0 00037F20 80 1C 03 14 */ lwz r0, 0x314(r28) +/* 8003AFC4 00037F24 90 1F 00 08 */ stw r0, 8(r31) +/* 8003AFC8 00037F28 48 00 00 64 */ b lbl_8003B02C +lbl_8003AFCC: +/* 8003AFCC 00037F2C 80 7C 07 78 */ lwz r3, 0x778(r28) +/* 8003AFD0 00037F30 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 8003AFD4 00037F34 38 84 D4 04 */ addi r4, r4, lbl_8056D404@l +/* 8003AFD8 00037F38 81 83 00 00 */ lwz r12, 0(r3) +/* 8003AFDC 00037F3C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8003AFE0 00037F40 7D 89 03 A6 */ mtctr r12 +/* 8003AFE4 00037F44 4E 80 04 21 */ bctrl +/* 8003AFE8 00037F48 C0 3C 06 78 */ lfs f1, 0x678(r28) +/* 8003AFEC 00037F4C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003AFF0 00037F50 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003AFF4 00037F54 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8003AFF8 00037F58 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8003AFFC 00037F5C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8003B000 00037F60 80 7C 07 78 */ lwz r3, 0x778(r28) +/* 8003B004 00037F64 81 83 00 00 */ lwz r12, 0(r3) +/* 8003B008 00037F68 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8003B00C 00037F6C 7D 89 03 A6 */ mtctr r12 +/* 8003B010 00037F70 4E 80 04 21 */ bctrl +/* 8003B014 00037F74 80 7C 07 78 */ lwz r3, 0x778(r28) +/* 8003B018 00037F78 FC 20 F8 90 */ fmr f1, f31 +/* 8003B01C 00037F7C 81 83 00 00 */ lwz r12, 0(r3) +/* 8003B020 00037F80 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8003B024 00037F84 7D 89 03 A6 */ mtctr r12 +/* 8003B028 00037F88 4E 80 04 21 */ bctrl +lbl_8003B02C: +/* 8003B02C 00037F8C FC 60 F8 90 */ fmr f3, f31 +/* 8003B030 00037F90 C0 22 84 70 */ lfs f1, lbl_805AA190@sda21(r2) +/* 8003B034 00037F94 C0 42 84 74 */ lfs f2, lbl_805AA194@sda21(r2) +/* 8003B038 00037F98 38 7C 06 78 */ addi r3, r28, 0x678 +/* 8003B03C 00037F9C 48 00 2F 31 */ bl Update__Q210CPlayerGun9CGunMorphFfff +/* 8003B040 00037FA0 2C 03 00 02 */ cmpwi r3, 2 +/* 8003B044 00037FA4 41 82 00 3C */ beq lbl_8003B080 +/* 8003B048 00037FA8 40 80 01 5C */ bge lbl_8003B1A4 +/* 8003B04C 00037FAC 2C 03 00 01 */ cmpwi r3, 1 +/* 8003B050 00037FB0 40 80 00 08 */ bge lbl_8003B058 +/* 8003B054 00037FB4 48 00 01 50 */ b lbl_8003B1A4 +lbl_8003B058: +/* 8003B058 00037FB8 A9 02 C5 F8 */ lha r8, lbl_805AE318@sda21(r2) +/* 8003B05C 00037FBC 38 61 00 0C */ addi r3, r1, 0xc +/* 8003B060 00037FC0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8003B064 00037FC4 38 80 06 EF */ li r4, 0x6ef +/* 8003B068 00037FC8 38 A0 00 7F */ li r5, 0x7f +/* 8003B06C 00037FCC 38 C0 00 40 */ li r6, 0x40 +/* 8003B070 00037FD0 38 E0 00 01 */ li r7, 1 +/* 8003B074 00037FD4 39 20 00 00 */ li r9, 0 +/* 8003B078 00037FD8 48 2A EC FD */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8003B07C 00037FDC 48 00 01 28 */ b lbl_8003B1A4 +lbl_8003B080: +/* 8003B080 00037FE0 80 7C 07 30 */ lwz r3, 0x730(r28) +/* 8003B084 00037FE4 28 03 00 00 */ cmplwi r3, 0 +/* 8003B088 00037FE8 41 82 00 2C */ beq lbl_8003B0B4 +/* 8003B08C 00037FEC 80 1C 07 2C */ lwz r0, 0x72c(r28) +/* 8003B090 00037FF0 7C 03 00 40 */ cmplw r3, r0 +/* 8003B094 00037FF4 41 82 00 20 */ beq lbl_8003B0B4 +/* 8003B098 00037FF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003B09C 00037FFC 7F A4 EB 78 */ mr r4, r29 +/* 8003B0A0 00038000 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 8003B0A4 00038004 7D 89 03 A6 */ mtctr r12 +/* 8003B0A8 00038008 4E 80 04 21 */ bctrl +/* 8003B0AC 0003800C 38 00 00 00 */ li r0, 0 +/* 8003B0B0 00038010 90 1C 07 30 */ stw r0, 0x730(r28) +lbl_8003B0B4: +/* 8003B0B4 00038014 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8003B0B8 00038018 41 82 00 2C */ beq lbl_8003B0E4 +/* 8003B0BC 0003801C 80 7C 03 10 */ lwz r3, 0x310(r28) +/* 8003B0C0 00038020 38 8D 82 30 */ addi r4, r13, lbl_805A6DF0@sda21 +/* 8003B0C4 00038024 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003B0C8 00038028 38 E0 00 4A */ li r7, 0x4a +/* 8003B0CC 0003802C 54 66 08 3C */ slwi r6, r3, 1 +/* 8003B0D0 00038030 38 61 00 08 */ addi r3, r1, 8 +/* 8003B0D4 00038034 7C 84 32 2E */ lhzx r4, r4, r6 +/* 8003B0D8 00038038 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 8003B0DC 0003803C 38 C0 00 00 */ li r6, 0 +/* 8003B0E0 00038040 48 24 FA 19 */ bl play_sfx__12NWeaponTypesFUsbbs +lbl_8003B0E4: +/* 8003B0E4 00038044 80 1C 07 48 */ lwz r0, 0x748(r28) +/* 8003B0E8 00038048 38 80 00 01 */ li r4, 1 +/* 8003B0EC 0003804C 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 8003B0F0 00038050 90 03 01 BC */ stw r0, 0x1bc(r3) +/* 8003B0F4 00038054 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 8003B0F8 00038058 81 83 00 00 */ lwz r12, 0(r3) +/* 8003B0FC 0003805C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8003B100 00038060 7D 89 03 A6 */ mtctr r12 +/* 8003B104 00038064 4E 80 04 21 */ bctrl +/* 8003B108 00038068 7F 83 E3 78 */ mr r3, r28 +/* 8003B10C 0003806C 38 80 00 0A */ li r4, 0xa +/* 8003B110 00038070 38 A0 00 00 */ li r5, 0 +/* 8003B114 00038074 48 00 67 B1 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +/* 8003B118 00038078 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003B11C 0003807C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8003B120 00038080 41 82 00 14 */ beq lbl_8003B134 +/* 8003B124 00038084 7F 83 E3 78 */ mr r3, r28 +/* 8003B128 00038088 7F A4 EB 78 */ mr r4, r29 +/* 8003B12C 0003808C 48 00 0D 91 */ bl EnterFreeLook__10CPlayerGunFR13CStateManager +/* 8003B130 00038090 48 00 00 20 */ b lbl_8003B150 +lbl_8003B134: +/* 8003B134 00038094 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 8003B138 00038098 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8003B13C 0003809C 41 82 00 14 */ beq lbl_8003B150 +/* 8003B140 000380A0 7F 83 E3 78 */ mr r3, r28 +/* 8003B144 000380A4 7F A4 EB 78 */ mr r4, r29 +/* 8003B148 000380A8 38 A0 00 00 */ li r5, 0 +/* 8003B14C 000380AC 48 00 0A ED */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb +lbl_8003B150: +/* 8003B150 000380B0 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003B154 000380B4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8003B158 000380B8 40 82 00 10 */ bne lbl_8003B168 +/* 8003B15C 000380BC 80 1C 02 EC */ lwz r0, 0x2ec(r28) +/* 8003B160 000380C0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8003B164 000380C4 41 82 00 28 */ beq lbl_8003B18C +lbl_8003B168: +/* 8003B168 000380C8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8003B16C 000380CC 2C 00 00 02 */ cmpwi r0, 2 +/* 8003B170 000380D0 41 82 00 0C */ beq lbl_8003B17C +/* 8003B174 000380D4 38 00 00 01 */ li r0, 1 +/* 8003B178 000380D8 90 1C 03 2C */ stw r0, 0x32c(r28) +lbl_8003B17C: +/* 8003B17C 000380DC 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003B180 000380E0 38 60 00 00 */ li r3, 0 +/* 8003B184 000380E4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8003B188 000380E8 98 1C 08 34 */ stb r0, 0x834(r28) +lbl_8003B18C: +/* 8003B18C 000380EC 88 7C 08 32 */ lbz r3, 0x832(r28) +/* 8003B190 000380F0 38 00 00 00 */ li r0, 0 +/* 8003B194 000380F4 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e +/* 8003B198 000380F8 38 00 00 06 */ li r0, 6 +/* 8003B19C 000380FC 98 7C 08 32 */ stb r3, 0x832(r28) +/* 8003B1A0 00038100 90 1C 03 38 */ stw r0, 0x338(r28) +lbl_8003B1A4: +/* 8003B1A4 00038104 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8003B1A8 00038108 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8003B1AC 0003810C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8003B1B0 00038110 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8003B1B4 00038114 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8003B1B8 00038118 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8003B1BC 0003811C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8003B1C0 00038120 7C 08 03 A6 */ mtlr r0 +/* 8003B1C4 00038124 38 21 00 40 */ addi r1, r1, 0x40 +/* 8003B1C8 00038128 4E 80 00 20 */ blr + +.global EnableFx__10CGunWeaponFb +EnableFx__10CGunWeaponFb: +/* 8003B1CC 0003812C 4E 80 00 20 */ blr + +.global ProcessPhazonGunMorph__10CPlayerGunFfR13CStateManager +ProcessPhazonGunMorph__10CPlayerGunFfR13CStateManager: +/* 8003B1D0 00038130 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003B1D4 00038134 7C 08 02 A6 */ mflr r0 +/* 8003B1D8 00038138 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003B1DC 0003813C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003B1E0 00038140 7C 7F 1B 78 */ mr r31, r3 +/* 8003B1E4 00038144 93 C1 00 08 */ stw r30, 8(r1) +/* 8003B1E8 00038148 7C 9E 23 78 */ mr r30, r4 +/* 8003B1EC 0003814C 88 63 08 35 */ lbz r3, 0x835(r3) +/* 8003B1F0 00038150 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8003B1F4 00038154 41 82 00 68 */ beq lbl_8003B25C +/* 8003B1F8 00038158 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8003B1FC 0003815C 41 82 00 2C */ beq lbl_8003B228 +/* 8003B200 00038160 C0 62 84 78 */ lfs f3, lbl_805AA198@sda21(r2) +/* 8003B204 00038164 C0 5F 03 9C */ lfs f2, 0x39c(r31) +/* 8003B208 00038168 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003B20C 0003816C EC 43 10 7A */ fmadds f2, f3, f1, f2 +/* 8003B210 00038170 D0 5F 03 9C */ stfs f2, 0x39c(r31) +/* 8003B214 00038174 C0 5F 03 9C */ lfs f2, 0x39c(r31) +/* 8003B218 00038178 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8003B21C 0003817C 40 81 00 40 */ ble lbl_8003B25C +/* 8003B220 00038180 D0 1F 03 9C */ stfs f0, 0x39c(r31) +/* 8003B224 00038184 48 00 00 38 */ b lbl_8003B25C +lbl_8003B228: +/* 8003B228 00038188 C0 62 84 80 */ lfs f3, lbl_805AA1A0@sda21(r2) +/* 8003B22C 0003818C C0 5F 03 9C */ lfs f2, 0x39c(r31) +/* 8003B230 00038190 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003B234 00038194 EC 43 10 7C */ fnmsubs f2, f3, f1, f2 +/* 8003B238 00038198 D0 5F 03 9C */ stfs f2, 0x39c(r31) +/* 8003B23C 0003819C C0 5F 03 9C */ lfs f2, 0x39c(r31) +/* 8003B240 000381A0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8003B244 000381A4 40 80 00 18 */ bge lbl_8003B25C +/* 8003B248 000381A8 88 1F 08 35 */ lbz r0, 0x835(r31) +/* 8003B24C 000381AC 38 60 00 00 */ li r3, 0 +/* 8003B250 000381B0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8003B254 000381B4 98 1F 08 35 */ stb r0, 0x835(r31) +/* 8003B258 000381B8 D0 1F 03 9C */ stfs f0, 0x39c(r31) +lbl_8003B25C: +/* 8003B25C 000381BC 80 1F 03 3C */ lwz r0, 0x33c(r31) +/* 8003B260 000381C0 2C 00 00 02 */ cmpwi r0, 2 +/* 8003B264 000381C4 41 82 00 88 */ beq lbl_8003B2EC +/* 8003B268 000381C8 40 80 01 04 */ bge lbl_8003B36C +/* 8003B26C 000381CC 2C 00 00 01 */ cmpwi r0, 1 +/* 8003B270 000381D0 40 80 00 08 */ bge lbl_8003B278 +/* 8003B274 000381D4 48 00 00 F8 */ b lbl_8003B36C +lbl_8003B278: +/* 8003B278 000381D8 80 7F 07 5C */ lwz r3, 0x75c(r31) +/* 8003B27C 000381DC 28 03 00 00 */ cmplwi r3, 0 +/* 8003B280 000381E0 41 82 00 EC */ beq lbl_8003B36C +/* 8003B284 000381E4 81 83 00 00 */ lwz r12, 0(r3) +/* 8003B288 000381E8 7F C4 F3 78 */ mr r4, r30 +/* 8003B28C 000381EC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8003B290 000381F0 7D 89 03 A6 */ mtctr r12 +/* 8003B294 000381F4 4E 80 04 21 */ bctrl +/* 8003B298 000381F8 80 7F 07 5C */ lwz r3, 0x75c(r31) +/* 8003B29C 000381FC 81 83 00 00 */ lwz r12, 0(r3) +/* 8003B2A0 00038200 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8003B2A4 00038204 7D 89 03 A6 */ mtctr r12 +/* 8003B2A8 00038208 4E 80 04 21 */ bctrl +/* 8003B2AC 0003820C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003B2B0 00038210 41 82 00 BC */ beq lbl_8003B36C +/* 8003B2B4 00038214 80 DE 08 B8 */ lwz r6, 0x8b8(r30) +/* 8003B2B8 00038218 7F E3 FB 78 */ mr r3, r31 +/* 8003B2BC 0003821C 7F C5 F3 78 */ mr r5, r30 +/* 8003B2C0 00038220 38 80 00 01 */ li r4, 1 +/* 8003B2C4 00038224 80 C6 00 00 */ lwz r6, 0(r6) +/* 8003B2C8 00038228 48 00 3B 79 */ bl StartPhazonBeamTransition__10CPlayerGunFbR13CStateManagerR12CPlayerState +/* 8003B2CC 0003822C 7F E3 FB 78 */ mr r3, r31 +/* 8003B2D0 00038230 38 80 00 00 */ li r4, 0 +/* 8003B2D4 00038234 48 00 38 4D */ bl SetPhazonBeamMorph__10CPlayerGunFb +/* 8003B2D8 00038238 38 60 00 03 */ li r3, 3 +/* 8003B2DC 0003823C 38 00 00 06 */ li r0, 6 +/* 8003B2E0 00038240 90 7F 03 3C */ stw r3, 0x33c(r31) +/* 8003B2E4 00038244 90 1F 03 38 */ stw r0, 0x338(r31) +/* 8003B2E8 00038248 48 00 00 84 */ b lbl_8003B36C +lbl_8003B2EC: +/* 8003B2EC 0003824C 80 7F 07 38 */ lwz r3, 0x738(r31) +/* 8003B2F0 00038250 28 03 00 00 */ cmplwi r3, 0 +/* 8003B2F4 00038254 41 82 00 78 */ beq lbl_8003B36C +/* 8003B2F8 00038258 81 83 00 00 */ lwz r12, 0(r3) +/* 8003B2FC 0003825C 7F C4 F3 78 */ mr r4, r30 +/* 8003B300 00038260 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8003B304 00038264 7D 89 03 A6 */ mtctr r12 +/* 8003B308 00038268 4E 80 04 21 */ bctrl +/* 8003B30C 0003826C 80 7F 07 38 */ lwz r3, 0x738(r31) +/* 8003B310 00038270 81 83 00 00 */ lwz r12, 0(r3) +/* 8003B314 00038274 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8003B318 00038278 7D 89 03 A6 */ mtctr r12 +/* 8003B31C 0003827C 4E 80 04 21 */ bctrl +/* 8003B320 00038280 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003B324 00038284 41 82 00 48 */ beq lbl_8003B36C +/* 8003B328 00038288 88 1F 08 35 */ lbz r0, 0x835(r31) +/* 8003B32C 0003828C 38 60 00 00 */ li r3, 0 +/* 8003B330 00038290 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003B334 00038294 7F E3 FB 78 */ mr r3, r31 +/* 8003B338 00038298 98 1F 08 35 */ stb r0, 0x835(r31) +/* 8003B33C 0003829C 7F C5 F3 78 */ mr r5, r30 +/* 8003B340 000382A0 38 80 00 00 */ li r4, 0 +/* 8003B344 000382A4 80 DE 08 B8 */ lwz r6, 0x8b8(r30) +/* 8003B348 000382A8 80 C6 00 00 */ lwz r6, 0(r6) +/* 8003B34C 000382AC 48 00 3A F5 */ bl StartPhazonBeamTransition__10CPlayerGunFbR13CStateManagerR12CPlayerState +/* 8003B350 000382B0 7F E3 FB 78 */ mr r3, r31 +/* 8003B354 000382B4 38 80 00 00 */ li r4, 0 +/* 8003B358 000382B8 48 00 37 C9 */ bl SetPhazonBeamMorph__10CPlayerGunFb +/* 8003B35C 000382BC 38 60 00 00 */ li r3, 0 +/* 8003B360 000382C0 38 00 00 06 */ li r0, 6 +/* 8003B364 000382C4 90 7F 03 3C */ stw r3, 0x33c(r31) +/* 8003B368 000382C8 90 1F 03 38 */ stw r0, 0x338(r31) +lbl_8003B36C: +/* 8003B36C 000382CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003B370 000382D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003B374 000382D4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003B378 000382D8 7C 08 03 A6 */ mtlr r0 +/* 8003B37C 000382DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003B380 000382E0 4E 80 00 20 */ blr + +.global LoadHandAnimTokens__10CPlayerGunFv +LoadHandAnimTokens__10CPlayerGunFv: +/* 8003B384 000382E4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8003B388 000382E8 7C 08 02 A6 */ mflr r0 +/* 8003B38C 000382EC 90 01 00 84 */ stw r0, 0x84(r1) +/* 8003B390 000382F0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8003B394 000382F4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8003B398 000382F8 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8003B39C 000382FC 7C 7A 1B 78 */ mr r26, r3 +/* 8003B3A0 00038300 88 61 00 08 */ lbz r3, 8(r1) +/* 8003B3A4 00038304 83 9A 06 F0 */ lwz r28, 0x6f0(r26) +/* 8003B3A8 00038308 3B A0 00 00 */ li r29, 0 +/* 8003B3AC 0003830C 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8003B3B0 00038310 3B 60 00 00 */ li r27, 0 +/* 8003B3B4 00038314 98 61 00 10 */ stb r3, 0x10(r1) +/* 8003B3B8 00038318 3B E0 00 01 */ li r31, 1 +/* 8003B3BC 0003831C C3 E2 84 7C */ lfs f31, lbl_805AA19C@sda21(r2) +/* 8003B3C0 00038320 3B C0 FF FF */ li r30, -1 +/* 8003B3C4 00038324 98 01 00 11 */ stb r0, 0x11(r1) +/* 8003B3C8 00038328 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003B3CC 0003832C 93 A1 00 18 */ stw r29, 0x18(r1) +/* 8003B3D0 00038330 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 8003B3D4 00038334 93 A1 00 20 */ stw r29, 0x20(r1) +lbl_8003B3D8: +/* 8003B3D8 00038338 93 61 00 24 */ stw r27, 0x24(r1) +/* 8003B3DC 0003833C 7F 83 E3 78 */ mr r3, r28 +/* 8003B3E0 00038340 38 81 00 24 */ addi r4, r1, 0x24 +/* 8003B3E4 00038344 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8003B3E8 00038348 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8003B3EC 0003834C D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 8003B3F0 00038350 9B E1 00 30 */ stb r31, 0x30(r1) +/* 8003B3F4 00038354 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8003B3F8 00038358 93 A1 00 38 */ stw r29, 0x38(r1) +/* 8003B3FC 0003835C 9B A1 00 3C */ stb r29, 0x3c(r1) +/* 8003B400 00038360 93 A1 00 40 */ stw r29, 0x40(r1) +/* 8003B404 00038364 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8003B408 00038368 93 A1 00 48 */ stw r29, 0x48(r1) +/* 8003B40C 0003836C 4B FF 18 6D */ bl "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" +/* 8003B410 00038370 3B 7B 00 01 */ addi r27, r27, 1 +/* 8003B414 00038374 2C 1B 00 03 */ cmpwi r27, 3 +/* 8003B418 00038378 41 80 FF C0 */ blt lbl_8003B3D8 +/* 8003B41C 0003837C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003B420 00038380 38 9A 05 40 */ addi r4, r26, 0x540 +/* 8003B424 00038384 38 A0 00 01 */ li r5, 1 +/* 8003B428 00038388 4B FF 16 BD */ bl "PrimitiveSetToTokenVector__9CAnimDataFRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" +/* 8003B42C 0003838C 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8003B430 00038390 28 04 00 00 */ cmplwi r4, 0 +/* 8003B434 00038394 41 82 00 0C */ beq lbl_8003B440 +/* 8003B438 00038398 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003B43C 0003839C 4B FF 5E 6D */ bl sub_800312a8 +lbl_8003B440: +/* 8003B440 000383A0 38 00 00 00 */ li r0, 0 +/* 8003B444 000383A4 90 01 00 20 */ stw r0, 0x20(r1) +/* 8003B448 000383A8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8003B44C 000383AC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8003B450 000383B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003B454 000383B4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8003B458 000383B8 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8003B45C 000383BC BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8003B460 000383C0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8003B464 000383C4 7C 08 03 A6 */ mtlr r0 +/* 8003B468 000383C8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8003B46C 000383CC 4E 80 00 20 */ blr + +.global SetGunLightActive__10CPlayerGunFbR13CStateManager +SetGunLightActive__10CPlayerGunFbR13CStateManager: +/* 8003B470 000383D0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8003B474 000383D4 7C 08 02 A6 */ mflr r0 +/* 8003B478 000383D8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8003B47C 000383DC 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 8003B480 000383E0 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 8003B484 000383E4 7C 9E 23 78 */ mr r30, r4 +/* 8003B488 000383E8 93 A1 00 C4 */ stw r29, 0xc4(r1) +/* 8003B48C 000383EC 7C 7D 1B 78 */ mr r29, r3 +/* 8003B490 000383F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003B494 000383F4 A0 63 05 3C */ lhz r3, 0x53c(r3) +/* 8003B498 000383F8 7C 03 00 40 */ cmplw r3, r0 +/* 8003B49C 000383FC 41 82 00 B8 */ beq lbl_8003B554 +/* 8003B4A0 00038400 A0 1D 05 3C */ lhz r0, 0x53c(r29) +/* 8003B4A4 00038404 7C A3 2B 78 */ mr r3, r5 +/* 8003B4A8 00038408 38 81 00 08 */ addi r4, r1, 8 +/* 8003B4AC 0003840C B0 01 00 08 */ sth r0, 8(r1) +/* 8003B4B0 00038410 48 01 10 C5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8003B4B4 00038414 7C 64 1B 78 */ mr r4, r3 +/* 8003B4B8 00038418 38 61 00 0C */ addi r3, r1, 0xc +/* 8003B4BC 0003841C 48 07 25 C9 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 8003B4C0 00038420 83 E3 00 04 */ lwz r31, 4(r3) +/* 8003B4C4 00038424 28 1F 00 00 */ cmplwi r31, 0 +/* 8003B4C8 00038428 41 82 00 8C */ beq lbl_8003B554 +/* 8003B4CC 0003842C 7F E3 FB 78 */ mr r3, r31 +/* 8003B4D0 00038430 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 8003B4D4 00038434 81 9F 00 00 */ lwz r12, 0(r31) +/* 8003B4D8 00038438 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8003B4DC 0003843C 7D 89 03 A6 */ mtctr r12 +/* 8003B4E0 00038440 4E 80 04 21 */ bctrl +/* 8003B4E4 00038444 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8003B4E8 00038448 41 82 00 6C */ beq lbl_8003B554 +/* 8003B4EC 0003844C 80 7D 07 2C */ lwz r3, 0x72c(r29) +/* 8003B4F0 00038450 48 18 0C F1 */ bl GetChargeMuzzleFx__10CGunWeaponCFv +/* 8003B4F4 00038454 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8003B4F8 00038458 41 82 00 5C */ beq lbl_8003B554 +/* 8003B4FC 0003845C 81 83 00 00 */ lwz r12, 0(r3) +/* 8003B500 00038460 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 8003B504 00038464 7D 89 03 A6 */ mtctr r12 +/* 8003B508 00038468 4E 80 04 21 */ bctrl +/* 8003B50C 0003846C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003B510 00038470 41 82 00 44 */ beq lbl_8003B554 +/* 8003B514 00038474 7F C4 F3 78 */ mr r4, r30 +/* 8003B518 00038478 38 61 00 14 */ addi r3, r1, 0x14 +/* 8003B51C 0003847C 81 9E 00 00 */ lwz r12, 0(r30) +/* 8003B520 00038480 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8003B524 00038484 7D 89 03 A6 */ mtctr r12 +/* 8003B528 00038488 4E 80 04 21 */ bctrl +/* 8003B52C 0003848C 38 61 00 64 */ addi r3, r1, 0x64 +/* 8003B530 00038490 38 81 00 14 */ addi r4, r1, 0x14 +/* 8003B534 00038494 48 00 00 3D */ bl __ct__6CLightFCR6CLight +/* 8003B538 00038498 48 30 EA 7D */ bl Black__6CColorFv +/* 8003B53C 0003849C 7C 64 1B 78 */ mr r4, r3 +/* 8003B540 000384A0 38 61 00 64 */ addi r3, r1, 0x64 +/* 8003B544 000384A4 48 2C AE 19 */ bl SetColor__6CLightFRC6CColor +/* 8003B548 000384A8 7F E3 FB 78 */ mr r3, r31 +/* 8003B54C 000384AC 38 81 00 64 */ addi r4, r1, 0x64 +/* 8003B550 000384B0 48 07 A1 F5 */ bl SetLight__10CGameLightFRC6CLight +lbl_8003B554: +/* 8003B554 000384B4 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8003B558 000384B8 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 8003B55C 000384BC 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 8003B560 000384C0 83 A1 00 C4 */ lwz r29, 0xc4(r1) +/* 8003B564 000384C4 7C 08 03 A6 */ mtlr r0 +/* 8003B568 000384C8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8003B56C 000384CC 4E 80 00 20 */ blr + +.global __ct__6CLightFCR6CLight +__ct__6CLightFCR6CLight: +/* 8003B570 000384D0 C0 04 00 00 */ lfs f0, 0(r4) +/* 8003B574 000384D4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8003B578 000384D8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8003B57C 000384DC D0 03 00 04 */ stfs f0, 4(r3) +/* 8003B580 000384E0 C0 04 00 08 */ lfs f0, 8(r4) +/* 8003B584 000384E4 D0 03 00 08 */ stfs f0, 8(r3) +/* 8003B588 000384E8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8003B58C 000384EC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8003B590 000384F0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8003B594 000384F4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8003B598 000384F8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8003B59C 000384FC D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8003B5A0 00038500 80 04 00 18 */ lwz r0, 0x18(r4) +/* 8003B5A4 00038504 90 03 00 18 */ stw r0, 0x18(r3) +/* 8003B5A8 00038508 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 8003B5AC 0003850C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8003B5B0 00038510 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8003B5B4 00038514 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8003B5B8 00038518 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 8003B5BC 0003851C D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8003B5C0 00038520 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 8003B5C4 00038524 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8003B5C8 00038528 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8003B5CC 0003852C D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8003B5D0 00038530 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 8003B5D4 00038534 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8003B5D8 00038538 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 8003B5DC 0003853C D0 03 00 34 */ stfs f0, 0x34(r3) +/* 8003B5E0 00038540 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 8003B5E4 00038544 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8003B5E8 00038548 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 8003B5EC 0003854C 90 03 00 3C */ stw r0, 0x3c(r3) +/* 8003B5F0 00038550 80 04 00 40 */ lwz r0, 0x40(r4) +/* 8003B5F4 00038554 90 03 00 40 */ stw r0, 0x40(r3) +/* 8003B5F8 00038558 C0 04 00 44 */ lfs f0, 0x44(r4) +/* 8003B5FC 0003855C D0 03 00 44 */ stfs f0, 0x44(r3) +/* 8003B600 00038560 C0 04 00 48 */ lfs f0, 0x48(r4) +/* 8003B604 00038564 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 8003B608 00038568 88 04 00 4C */ lbz r0, 0x4c(r4) +/* 8003B60C 0003856C 98 03 00 4C */ stb r0, 0x4c(r3) +/* 8003B610 00038570 4E 80 00 20 */ blr + +.global UpdateGunLight__10CPlayerGunFRC12CTransform4fR13CStateManager +UpdateGunLight__10CPlayerGunFRC12CTransform4fR13CStateManager: +/* 8003B614 00038574 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8003B618 00038578 7C 08 02 A6 */ mflr r0 +/* 8003B61C 0003857C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8003B620 00038580 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 8003B624 00038584 7C 7F 1B 78 */ mr r31, r3 +/* 8003B628 00038588 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 8003B62C 0003858C 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 8003B630 00038590 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 8003B634 00038594 7C 9C 23 78 */ mr r28, r4 +/* 8003B638 00038598 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003B63C 0003859C A0 63 05 3C */ lhz r3, 0x53c(r3) +/* 8003B640 000385A0 7C 03 00 40 */ cmplw r3, r0 +/* 8003B644 000385A4 41 82 01 20 */ beq lbl_8003B764 +/* 8003B648 000385A8 80 1F 03 2C */ lwz r0, 0x32c(r31) +/* 8003B64C 000385AC 2C 00 00 00 */ cmpwi r0, 0 +/* 8003B650 000385B0 41 82 01 14 */ beq lbl_8003B764 +/* 8003B654 000385B4 A0 1F 05 3C */ lhz r0, 0x53c(r31) +/* 8003B658 000385B8 7C A3 2B 78 */ mr r3, r5 +/* 8003B65C 000385BC 38 81 00 08 */ addi r4, r1, 8 +/* 8003B660 000385C0 B0 01 00 08 */ sth r0, 8(r1) +/* 8003B664 000385C4 48 01 0F 11 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8003B668 000385C8 7C 64 1B 78 */ mr r4, r3 +/* 8003B66C 000385CC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003B670 000385D0 48 07 24 15 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 8003B674 000385D4 83 C3 00 04 */ lwz r30, 4(r3) +/* 8003B678 000385D8 28 1E 00 00 */ cmplwi r30, 0 +/* 8003B67C 000385DC 41 82 00 E8 */ beq lbl_8003B764 +/* 8003B680 000385E0 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8003B684 000385E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8003B688 000385E8 41 82 00 DC */ beq lbl_8003B764 +/* 8003B68C 000385EC 80 7F 07 2C */ lwz r3, 0x72c(r31) +/* 8003B690 000385F0 48 18 0B 51 */ bl GetChargeMuzzleFx__10CGunWeaponCFv +/* 8003B694 000385F4 7C 7D 1B 78 */ mr r29, r3 +/* 8003B698 000385F8 7F 84 E3 78 */ mr r4, r28 +/* 8003B69C 000385FC 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8003B6A0 00038600 48 2D 74 A1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8003B6A4 00038604 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8003B6A8 00038608 38 A0 00 01 */ li r5, 1 +/* 8003B6AC 0003860C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8003B6B0 00038610 7F C3 F3 78 */ mr r3, r30 +/* 8003B6B4 00038614 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8003B6B8 00038618 38 81 00 18 */ addi r4, r1, 0x18 +/* 8003B6BC 0003861C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8003B6C0 00038620 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8003B6C4 00038624 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8003B6C8 00038628 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8003B6CC 0003862C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8003B6D0 00038630 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8003B6D4 00038634 C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 8003B6D8 00038638 C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 8003B6DC 0003863C C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 8003B6E0 00038640 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8003B6E4 00038644 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8003B6E8 00038648 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8003B6EC 0003864C 48 01 77 A1 */ bl SetTranslation__6CActorFRC9CVector3f +/* 8003B6F0 00038650 28 1D 00 00 */ cmplwi r29, 0 +/* 8003B6F4 00038654 41 82 00 70 */ beq lbl_8003B764 +/* 8003B6F8 00038658 7F A3 EB 78 */ mr r3, r29 +/* 8003B6FC 0003865C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8003B700 00038660 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 8003B704 00038664 7D 89 03 A6 */ mtctr r12 +/* 8003B708 00038668 4E 80 04 21 */ bctrl +/* 8003B70C 0003866C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003B710 00038670 41 82 00 54 */ beq lbl_8003B764 +/* 8003B714 00038674 7F A4 EB 78 */ mr r4, r29 +/* 8003B718 00038678 38 61 00 24 */ addi r3, r1, 0x24 +/* 8003B71C 0003867C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8003B720 00038680 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8003B724 00038684 7D 89 03 A6 */ mtctr r12 +/* 8003B728 00038688 4E 80 04 21 */ bctrl +/* 8003B72C 0003868C 38 61 00 74 */ addi r3, r1, 0x74 +/* 8003B730 00038690 38 81 00 24 */ addi r4, r1, 0x24 +/* 8003B734 00038694 4B FF FE 3D */ bl __ct__6CLightFCR6CLight +/* 8003B738 00038698 80 81 00 8C */ lwz r4, 0x8c(r1) +/* 8003B73C 0003869C 38 60 00 00 */ li r3, 0 +/* 8003B740 000386A0 C0 3F 03 40 */ lfs f1, 0x340(r31) +/* 8003B744 000386A4 48 32 7A D1 */ bl Lerp__6CColorFUiUif +/* 8003B748 000386A8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8003B74C 000386AC 38 61 00 74 */ addi r3, r1, 0x74 +/* 8003B750 000386B0 38 81 00 0C */ addi r4, r1, 0xc +/* 8003B754 000386B4 48 2C AC 09 */ bl SetColor__6CLightFRC6CColor +/* 8003B758 000386B8 7F C3 F3 78 */ mr r3, r30 +/* 8003B75C 000386BC 38 81 00 74 */ addi r4, r1, 0x74 +/* 8003B760 000386C0 48 07 9F E5 */ bl SetLight__10CGameLightFRC6CLight +lbl_8003B764: +/* 8003B764 000386C4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8003B768 000386C8 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8003B76C 000386CC 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 8003B770 000386D0 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 8003B774 000386D4 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 8003B778 000386D8 7C 08 03 A6 */ mtlr r0 +/* 8003B77C 000386DC 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8003B780 000386E0 4E 80 00 20 */ blr + +.global DeleteGunLight__10CPlayerGunFR13CStateManager +DeleteGunLight__10CPlayerGunFR13CStateManager: +/* 8003B784 000386E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003B788 000386E8 7C 08 02 A6 */ mflr r0 +/* 8003B78C 000386EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003B790 000386F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003B794 000386F4 7C 7F 1B 78 */ mr r31, r3 +/* 8003B798 000386F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003B79C 000386FC A0 63 05 3C */ lhz r3, 0x53c(r3) +/* 8003B7A0 00038700 7C 03 00 40 */ cmplw r3, r0 +/* 8003B7A4 00038704 41 82 00 20 */ beq lbl_8003B7C4 +/* 8003B7A8 00038708 A0 1F 05 3C */ lhz r0, 0x53c(r31) +/* 8003B7AC 0003870C 7C 83 23 78 */ mr r3, r4 +/* 8003B7B0 00038710 38 81 00 08 */ addi r4, r1, 8 +/* 8003B7B4 00038714 B0 01 00 08 */ sth r0, 8(r1) +/* 8003B7B8 00038718 48 01 0A B5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8003B7BC 0003871C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003B7C0 00038720 B0 1F 05 3C */ sth r0, 0x53c(r31) +lbl_8003B7C4: +/* 8003B7C4 00038724 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003B7C8 00038728 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003B7CC 0003872C 7C 08 03 A6 */ mtlr r0 +/* 8003B7D0 00038730 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003B7D4 00038734 4E 80 00 20 */ blr + +.global CreateGunLight__10CPlayerGunFR13CStateManager +CreateGunLight__10CPlayerGunFR13CStateManager: +/* 8003B7D8 00038738 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8003B7DC 0003873C 7C 08 02 A6 */ mflr r0 +/* 8003B7E0 00038740 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8003B7E4 00038744 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 8003B7E8 00038748 7C 7E 1B 78 */ mr r30, r3 +/* 8003B7EC 0003874C 7C 9F 23 78 */ mr r31, r4 +/* 8003B7F0 00038750 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003B7F4 00038754 A0 63 05 3C */ lhz r3, 0x53c(r3) +/* 8003B7F8 00038758 7C 03 00 40 */ cmplw r3, r0 +/* 8003B7FC 0003875C 40 82 00 DC */ bne lbl_8003B8D8 +/* 8003B800 00038760 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003B804 00038764 48 01 18 D9 */ bl AllocateUniqueId__13CStateManagerFv +/* 8003B808 00038768 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 8003B80C 0003876C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 8003B810 00038770 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l +/* 8003B814 00038774 3B 60 00 00 */ li r27, 0 +/* 8003B818 00038778 B0 1E 05 3C */ sth r0, 0x53c(r30) +/* 8003B81C 0003877C 38 83 00 09 */ addi r4, r3, 9 +/* 8003B820 00038780 38 60 01 48 */ li r3, 0x148 +/* 8003B824 00038784 38 A0 00 00 */ li r5, 0 +/* 8003B828 00038788 A0 1E 05 3C */ lhz r0, 0x53c(r30) +/* 8003B82C 0003878C 54 1D 05 BE */ clrlwi r29, r0, 0x16 +/* 8003B830 00038790 48 2D A0 3D */ bl __nw__FUlPCcPCc +/* 8003B834 00038794 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8003B838 00038798 41 82 00 84 */ beq lbl_8003B8BC +/* 8003B83C 0003879C A0 1E 05 38 */ lhz r0, 0x538(r30) +/* 8003B840 000387A0 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 8003B844 000387A4 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 8003B848 000387A8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8003B84C 000387AC B0 01 00 14 */ sth r0, 0x14(r1) +/* 8003B850 000387B0 38 84 00 10 */ addi r4, r4, 0x10 +/* 8003B854 000387B4 4B FC 94 65 */ bl string_l__4rstlFPCc +/* 8003B858 000387B8 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8003B85C 000387BC 3B 60 00 01 */ li r27, 1 +/* 8003B860 000387C0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8003B864 000387C4 A0 1E 05 3C */ lhz r0, 0x53c(r30) +/* 8003B868 000387C8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8003B86C 000387CC 48 30 E7 49 */ bl Black__6CColorFv +/* 8003B870 000387D0 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 8003B874 000387D4 7C 65 1B 78 */ mr r5, r3 +/* 8003B878 000387D8 38 84 67 24 */ addi r4, r4, lbl_805A6724@l +/* 8003B87C 000387DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8003B880 000387E0 48 2C AB ED */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 8003B884 000387E4 93 A1 00 08 */ stw r29, 8(r1) +/* 8003B888 000387E8 38 00 00 00 */ li r0, 0 +/* 8003B88C 000387EC C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003B890 000387F0 7F 83 E3 78 */ mr r3, r28 +/* 8003B894 000387F4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8003B898 000387F8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003B89C 000387FC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8003B8A0 00038800 38 E1 00 20 */ addi r7, r1, 0x20 +/* 8003B8A4 00038804 39 1E 03 E8 */ addi r8, r30, 0x3e8 +/* 8003B8A8 00038808 39 21 00 14 */ addi r9, r1, 0x14 +/* 8003B8AC 0003880C 39 41 00 30 */ addi r10, r1, 0x30 +/* 8003B8B0 00038810 38 C0 00 00 */ li r6, 0 +/* 8003B8B4 00038814 48 07 9F 71 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +/* 8003B8B8 00038818 7C 7C 1B 78 */ mr r28, r3 +lbl_8003B8BC: +/* 8003B8BC 0003881C 7F E3 FB 78 */ mr r3, r31 +/* 8003B8C0 00038820 7F 84 E3 78 */ mr r4, r28 +/* 8003B8C4 00038824 48 01 14 31 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8003B8C8 00038828 7F 60 07 75 */ extsb. r0, r27 +/* 8003B8CC 0003882C 41 82 00 0C */ beq lbl_8003B8D8 +/* 8003B8D0 00038830 38 61 00 20 */ addi r3, r1, 0x20 +/* 8003B8D4 00038834 48 30 22 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8003B8D8: +/* 8003B8D8 00038838 BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 8003B8DC 0003883C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8003B8E0 00038840 7C 08 03 A6 */ mtlr r0 +/* 8003B8E4 00038844 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8003B8E8 00038848 4E 80 00 20 */ blr + +.global CancelLockOn__10CPlayerGunFv +CancelLockOn__10CPlayerGunFv: +/* 8003B8EC 0003884C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003B8F0 00038850 7C 08 02 A6 */ mflr r0 +/* 8003B8F4 00038854 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003B8F8 00038858 88 83 08 32 */ lbz r4, 0x832(r3) +/* 8003B8FC 0003885C 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f +/* 8003B900 00038860 41 82 00 3C */ beq lbl_8003B93C +/* 8003B904 00038864 38 00 00 00 */ li r0, 0 +/* 8003B908 00038868 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d +/* 8003B90C 0003886C 98 83 08 32 */ stb r4, 0x832(r3) +/* 8003B910 00038870 38 00 00 03 */ li r0, 3 +/* 8003B914 00038874 90 03 06 C0 */ stw r0, 0x6c0(r3) +/* 8003B918 00038878 80 03 03 2C */ lwz r0, 0x32c(r3) +/* 8003B91C 0003887C 2C 00 00 00 */ cmpwi r0, 0 +/* 8003B920 00038880 40 82 00 1C */ bne lbl_8003B93C +/* 8003B924 00038884 80 03 03 18 */ lwz r0, 0x318(r3) +/* 8003B928 00038888 2C 00 00 01 */ cmpwi r0, 1 +/* 8003B92C 0003888C 41 82 00 10 */ beq lbl_8003B93C +/* 8003B930 00038890 38 80 00 00 */ li r4, 0 +/* 8003B934 00038894 38 A0 00 00 */ li r5, 0 +/* 8003B938 00038898 48 00 5F 8D */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +lbl_8003B93C: +/* 8003B93C 0003889C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003B940 000388A0 7C 08 03 A6 */ mtlr r0 +/* 8003B944 000388A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003B948 000388A8 4E 80 00 20 */ blr + +.global UpdateAuxWeapons__10CPlayerGunFfRC12CTransform4fR13CStateManager +UpdateAuxWeapons__10CPlayerGunFfRC12CTransform4fR13CStateManager: +/* 8003B94C 000388AC 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8003B950 000388B0 7C 08 02 A6 */ mflr r0 +/* 8003B954 000388B4 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8003B958 000388B8 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8003B95C 000388BC F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8003B960 000388C0 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 8003B964 000388C4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 8003B968 000388C8 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8003B96C 000388CC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 8003B970 000388D0 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 8003B974 000388D4 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 8003B978 000388D8 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8003B97C 000388DC 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8003B980 000388E0 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8003B984 000388E4 93 81 00 90 */ stw r28, 0x90(r1) +/* 8003B988 000388E8 7C 7E 1B 78 */ mr r30, r3 +/* 8003B98C 000388EC 7C 9C 23 78 */ mr r28, r4 +/* 8003B990 000388F0 C0 43 04 44 */ lfs f2, 0x444(r3) +/* 8003B994 000388F4 FF 80 08 90 */ fmr f28, f1 +/* 8003B998 000388F8 C0 23 04 34 */ lfs f1, 0x434(r3) +/* 8003B99C 000388FC 7C BF 2B 78 */ mr r31, r5 +/* 8003B9A0 00038900 C0 03 04 24 */ lfs f0, 0x424(r3) +/* 8003B9A4 00038904 38 61 00 60 */ addi r3, r1, 0x60 +/* 8003B9A8 00038908 38 9E 04 A8 */ addi r4, r30, 0x4a8 +/* 8003B9AC 0003890C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8003B9B0 00038910 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8003B9B4 00038914 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8003B9B8 00038918 48 2D 71 BD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8003B9BC 0003891C 38 61 00 54 */ addi r3, r1, 0x54 +/* 8003B9C0 00038920 38 81 00 60 */ addi r4, r1, 0x60 +/* 8003B9C4 00038924 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8003B9C8 00038928 48 2D 71 21 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8003B9CC 0003892C C3 E1 00 54 */ lfs f31, 0x54(r1) +/* 8003B9D0 00038930 7F E5 FB 78 */ mr r5, r31 +/* 8003B9D4 00038934 C3 C1 00 58 */ lfs f30, 0x58(r1) +/* 8003B9D8 00038938 38 61 00 3C */ addi r3, r1, 0x3c +/* 8003B9DC 0003893C C3 A1 00 5C */ lfs f29, 0x5c(r1) +/* 8003B9E0 00038940 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 8003B9E4 00038944 4B FC EF 31 */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager +/* 8003B9E8 00038948 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 8003B9EC 0003894C 3C 60 80 57 */ lis r3, lbl_8056D404@ha +/* 8003B9F0 00038950 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8003B9F4 00038954 38 83 D4 04 */ addi r4, r3, lbl_8056D404@l +/* 8003B9F8 00038958 EC 7F 10 2A */ fadds f3, f31, f2 +/* 8003B9FC 0003895C C0 21 00 40 */ lfs f1, 0x40(r1) +/* 8003BA00 00038960 EC 1D 00 2A */ fadds f0, f29, f0 +/* 8003BA04 00038964 7F 86 E3 78 */ mr r6, r28 +/* 8003BA08 00038968 EC 5E 08 2A */ fadds f2, f30, f1 +/* 8003BA0C 0003896C 7F E7 FB 78 */ mr r7, r31 +/* 8003BA10 00038970 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8003BA14 00038974 FC 20 E0 90 */ fmr f1, f28 +/* 8003BA18 00038978 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8003BA1C 0003897C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8003BA20 00038980 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8003BA24 00038984 80 7E 07 44 */ lwz r3, 0x744(r30) +/* 8003BA28 00038988 48 17 DB B5 */ bl UpdateComboFx__10CAuxWeaponFfRC9CVector3fRC9CVector3fRC12CTransform4fR13CStateManager +/* 8003BA2C 0003898C 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003BA30 00038990 7C 7D 1B 78 */ mr r29, r3 +/* 8003BA34 00038994 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 8003BA38 00038998 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003BA3C 0003899C 40 82 01 38 */ bne lbl_8003BB74 +/* 8003BA40 000389A0 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 8003BA44 000389A4 2C 00 00 02 */ cmpwi r0, 2 +/* 8003BA48 000389A8 40 82 00 6C */ bne lbl_8003BAB4 +/* 8003BA4C 000389AC 80 9E 07 44 */ lwz r4, 0x744(r30) +/* 8003BA50 000389B0 7F E5 FB 78 */ mr r5, r31 +/* 8003BA54 000389B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003BA58 000389B8 48 17 DE 61 */ bl HasTarget__10CAuxWeaponCFRC13CStateManager +/* 8003BA5C 000389BC A0 61 00 10 */ lhz r3, 0x10(r1) +/* 8003BA60 000389C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003BA64 000389C4 7C 03 00 40 */ cmplw r3, r0 +/* 8003BA68 000389C8 40 82 00 4C */ bne lbl_8003BAB4 +/* 8003BA6C 000389CC 7F C4 F3 78 */ mr r4, r30 +/* 8003BA70 000389D0 7F E5 FB 78 */ mr r5, r31 +/* 8003BA74 000389D4 38 61 00 0C */ addi r3, r1, 0xc +/* 8003BA78 000389D8 48 00 27 85 */ bl GetTargetId__10CPlayerGunFR13CStateManager +/* 8003BA7C 000389DC A0 61 00 0C */ lhz r3, 0xc(r1) +/* 8003BA80 000389E0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003BA84 000389E4 B0 61 00 14 */ sth r3, 0x14(r1) +/* 8003BA88 000389E8 7C 03 00 40 */ cmplw r3, r0 +/* 8003BA8C 000389EC 40 82 00 10 */ bne lbl_8003BA9C +/* 8003BA90 000389F0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8003BA94 000389F4 A0 03 03 F4 */ lhz r0, 0x3f4(r3) +/* 8003BA98 000389F8 B0 01 00 14 */ sth r0, 0x14(r1) +lbl_8003BA9C: +/* 8003BA9C 000389FC A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8003BAA0 00038A00 7F E5 FB 78 */ mr r5, r31 +/* 8003BAA4 00038A04 38 81 00 08 */ addi r4, r1, 8 +/* 8003BAA8 00038A08 B0 01 00 08 */ sth r0, 8(r1) +/* 8003BAAC 00038A0C 80 7E 07 44 */ lwz r3, 0x744(r30) +/* 8003BAB0 00038A10 48 17 DE 71 */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager +lbl_8003BAB4: +/* 8003BAB4 00038A14 57 A0 06 3E */ clrlwi r0, r29, 0x18 +/* 8003BAB8 00038A18 28 00 00 01 */ cmplwi r0, 1 +/* 8003BABC 00038A1C 41 82 01 34 */ beq lbl_8003BBF0 +/* 8003BAC0 00038A20 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 8003BAC4 00038A24 38 60 00 00 */ li r3, 0 +/* 8003BAC8 00038A28 2C 00 00 02 */ cmpwi r0, 2 +/* 8003BACC 00038A2C 41 82 00 0C */ beq lbl_8003BAD8 +/* 8003BAD0 00038A30 2C 00 00 03 */ cmpwi r0, 3 +/* 8003BAD4 00038A34 40 82 00 08 */ bne lbl_8003BADC +lbl_8003BAD8: +/* 8003BAD8 00038A38 38 60 00 01 */ li r3, 1 +lbl_8003BADC: +/* 8003BADC 00038A3C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8003BAE0 00038A40 7C 7D 1B 78 */ mr r29, r3 +/* 8003BAE4 00038A44 28 00 00 01 */ cmplwi r0, 1 +/* 8003BAE8 00038A48 41 82 00 18 */ beq lbl_8003BB00 +/* 8003BAEC 00038A4C 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003BAF0 00038A50 48 17 FD 5D */ bl ComboFireOver__10CGunWeaponCFv +/* 8003BAF4 00038A54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003BAF8 00038A58 41 82 00 08 */ beq lbl_8003BB00 +/* 8003BAFC 00038A5C 3B A0 00 01 */ li r29, 1 +lbl_8003BB00: +/* 8003BB00 00038A60 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003BB04 00038A64 38 80 00 03 */ li r4, 3 +/* 8003BB08 00038A68 81 83 00 00 */ lwz r12, 0(r3) +/* 8003BB0C 00038A6C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8003BB10 00038A70 7D 89 03 A6 */ mtctr r12 +/* 8003BB14 00038A74 4E 80 04 21 */ bctrl +/* 8003BB18 00038A78 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8003BB1C 00038A7C 41 82 00 D4 */ beq lbl_8003BBF0 +/* 8003BB20 00038A80 38 00 00 0A */ li r0, 0xa +/* 8003BB24 00038A84 7F C3 F3 78 */ mr r3, r30 +/* 8003BB28 00038A88 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003BB2C 00038A8C 7F E4 FB 78 */ mr r4, r31 +/* 8003BB30 00038A90 38 A0 00 00 */ li r5, 0 +/* 8003BB34 00038A94 48 00 01 05 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb +/* 8003BB38 00038A98 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003BB3C 00038A9C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 8003BB40 00038AA0 2C 00 00 08 */ cmpwi r0, 8 +/* 8003BB44 00038AA4 41 82 00 20 */ beq lbl_8003BB64 +/* 8003BB48 00038AA8 80 7E 02 F8 */ lwz r3, 0x2f8(r30) +/* 8003BB4C 00038AAC 38 00 FF E9 */ li r0, -23 +/* 8003BB50 00038AB0 60 63 00 01 */ ori r3, r3, 1 +/* 8003BB54 00038AB4 90 7E 02 F8 */ stw r3, 0x2f8(r30) +/* 8003BB58 00038AB8 80 7E 02 F8 */ lwz r3, 0x2f8(r30) +/* 8003BB5C 00038ABC 7C 60 00 38 */ and r0, r3, r0 +/* 8003BB60 00038AC0 90 1E 02 F8 */ stw r0, 0x2f8(r30) +lbl_8003BB64: +/* 8003BB64 00038AC4 38 00 00 00 */ li r0, 0 +/* 8003BB68 00038AC8 90 1E 03 18 */ stw r0, 0x318(r30) +/* 8003BB6C 00038ACC 90 1E 03 1C */ stw r0, 0x31c(r30) +/* 8003BB70 00038AD0 48 00 00 80 */ b lbl_8003BBF0 +lbl_8003BB74: +/* 8003BB74 00038AD4 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8003BB78 00038AD8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8003BB7C 00038ADC 41 82 00 38 */ beq lbl_8003BBB4 +/* 8003BB80 00038AE0 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003BB84 00038AE4 FC 20 E0 90 */ fmr f1, f28 +/* 8003BB88 00038AE8 C0 7E 04 44 */ lfs f3, 0x444(r30) +/* 8003BB8C 00038AEC 7F 84 E3 78 */ mr r4, r28 +/* 8003BB90 00038AF0 C0 5E 04 34 */ lfs f2, 0x434(r30) +/* 8003BB94 00038AF4 7F E6 FB 78 */ mr r6, r31 +/* 8003BB98 00038AF8 C0 1E 04 24 */ lfs f0, 0x424(r30) +/* 8003BB9C 00038AFC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8003BBA0 00038B00 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8003BBA4 00038B04 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8003BBA8 00038B08 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8003BBAC 00038B0C 48 15 09 6D */ bl UpdateBeam__11CPhazonBeamFfRC12CTransform4fRC9CVector3fR13CStateManager +/* 8003BBB0 00038B10 48 00 00 40 */ b lbl_8003BBF0 +lbl_8003BBB4: +/* 8003BBB4 00038B14 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 8003BBB8 00038B18 2C 00 00 03 */ cmpwi r0, 3 +/* 8003BBBC 00038B1C 40 82 00 34 */ bne lbl_8003BBF0 +/* 8003BBC0 00038B20 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003BBC4 00038B24 FC 20 E0 90 */ fmr f1, f28 +/* 8003BBC8 00038B28 C0 7E 04 44 */ lfs f3, 0x444(r30) +/* 8003BBCC 00038B2C 7F 84 E3 78 */ mr r4, r28 +/* 8003BBD0 00038B30 C0 5E 04 34 */ lfs f2, 0x434(r30) +/* 8003BBD4 00038B34 7F E6 FB 78 */ mr r6, r31 +/* 8003BBD8 00038B38 C0 1E 04 24 */ lfs f0, 0x424(r30) +/* 8003BBDC 00038B3C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8003BBE0 00038B40 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8003BBE4 00038B44 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8003BBE8 00038B48 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8003BBEC 00038B4C 48 0A 33 7D */ bl UpdateBeam__11CPlasmaBeamFfRC12CTransform4fRC9CVector3fR13CStateManager +lbl_8003BBF0: +/* 8003BBF0 00038B50 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8003BBF4 00038B54 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8003BBF8 00038B58 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 8003BBFC 00038B5C CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8003BC00 00038B60 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 8003BC04 00038B64 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 8003BC08 00038B68 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 8003BC0C 00038B6C CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 8003BC10 00038B70 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8003BC14 00038B74 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8003BC18 00038B78 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8003BC1C 00038B7C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8003BC20 00038B80 83 81 00 90 */ lwz r28, 0x90(r1) +/* 8003BC24 00038B84 7C 08 03 A6 */ mtlr r0 +/* 8003BC28 00038B88 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8003BC2C 00038B8C 4E 80 00 20 */ blr + +.global EnableSecondaryFx__10CGunWeaponFQ210CGunWeapon16ESecondaryFxType +EnableSecondaryFx__10CGunWeaponFQ210CGunWeapon16ESecondaryFxType: +/* 8003BC30 00038B90 90 83 01 CC */ stw r4, 0x1cc(r3) +/* 8003BC34 00038B94 4E 80 00 20 */ blr + +.global ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb +ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb: +/* 8003BC38 00038B98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003BC3C 00038B9C 7C 08 02 A6 */ mflr r0 +/* 8003BC40 00038BA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003BC44 00038BA4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8003BC48 00038BA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003BC4C 00038BAC 7C 9F 23 78 */ mr r31, r4 +/* 8003BC50 00038BB0 93 C1 00 08 */ stw r30, 8(r1) +/* 8003BC54 00038BB4 7C 7E 1B 78 */ mr r30, r3 +/* 8003BC58 00038BB8 40 82 00 10 */ bne lbl_8003BC68 +/* 8003BC5C 00038BBC 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8003BC60 00038BC0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8003BC64 00038BC4 40 82 00 28 */ bne lbl_8003BC8C +lbl_8003BC68: +/* 8003BC68 00038BC8 80 7E 07 3C */ lwz r3, 0x73c(r30) +/* 8003BC6C 00038BCC 7F E4 FB 78 */ mr r4, r31 +/* 8003BC70 00038BD0 38 A0 00 00 */ li r5, 0 +/* 8003BC74 00038BD4 48 19 D4 0D */ bl ReturnToDefault__10CGunMotionFR13CStateManager +/* 8003BC78 00038BD8 80 7E 07 40 */ lwz r3, 0x740(r30) +/* 8003BC7C 00038BDC 7F E4 FB 78 */ mr r4, r31 +/* 8003BC80 00038BE0 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003BC84 00038BE4 38 A0 00 00 */ li r5, 0 +/* 8003BC88 00038BE8 48 0E 22 9D */ bl ReturnToDefault__11CGrappleArmFR13CStateManagerf +lbl_8003BC8C: +/* 8003BC8C 00038BEC 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003BC90 00038BF0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003BC94 00038BF4 40 82 00 10 */ bne lbl_8003BCA4 +/* 8003BC98 00038BF8 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003BC9C 00038BFC 7F E4 FB 78 */ mr r4, r31 +/* 8003BCA0 00038C00 48 17 FB BD */ bl ReturnToDefault__10CGunWeaponFR13CStateManager +lbl_8003BCA4: +/* 8003BCA4 00038C04 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003BCA8 00038C08 38 60 00 00 */ li r3, 0 +/* 8003BCAC 00038C0C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003BCB0 00038C10 98 1E 08 34 */ stb r0, 0x834(r30) +/* 8003BCB4 00038C14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003BCB8 00038C18 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003BCBC 00038C1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003BCC0 00038C20 7C 08 03 A6 */ mtlr r0 +/* 8003BCC4 00038C24 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003BCC8 00038C28 4E 80 00 20 */ blr + +.global UpdateLeftArmTransform__10CPlayerGunFRC10CModelDataRC13CStateManager +UpdateLeftArmTransform__10CPlayerGunFRC10CModelDataRC13CStateManager: +/* 8003BCCC 00038C2C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8003BCD0 00038C30 7C 08 02 A6 */ mflr r0 +/* 8003BCD4 00038C34 C0 42 84 84 */ lfs f2, lbl_805AA1A4@sda21(r2) +/* 8003BCD8 00038C38 90 01 00 44 */ stw r0, 0x44(r1) +/* 8003BCDC 00038C3C C0 22 84 88 */ lfs f1, lbl_805AA1A8@sda21(r2) +/* 8003BCE0 00038C40 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8003BCE4 00038C44 C0 02 84 8C */ lfs f0, lbl_805AA1AC@sda21(r2) +/* 8003BCE8 00038C48 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8003BCEC 00038C4C 7C 9E 23 78 */ mr r30, r4 +/* 8003BCF0 00038C50 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8003BCF4 00038C54 7C 7D 1B 78 */ mr r29, r3 +/* 8003BCF8 00038C58 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8003BCFC 00038C5C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8003BD00 00038C60 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8003BD04 00038C64 88 03 08 34 */ lbz r0, 0x834(r3) +/* 8003BD08 00038C68 80 63 07 40 */ lwz r3, 0x740(r3) +/* 8003BD0C 00038C6C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8003BD10 00038C70 3B E3 02 E0 */ addi r31, r3, 0x2e0 +/* 8003BD14 00038C74 41 82 00 18 */ beq lbl_8003BD2C +/* 8003BD18 00038C78 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8003BD1C 00038C7C 7F E3 FB 78 */ mr r3, r31 +/* 8003BD20 00038C80 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8003BD24 00038C84 48 2D 6E 1D */ bl __as__12CTransform4fFRC12CTransform4f +/* 8003BD28 00038C88 48 00 00 3C */ b lbl_8003BD64 +lbl_8003BD2C: +/* 8003BD2C 00038C8C 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha +/* 8003BD30 00038C90 38 61 00 14 */ addi r3, r1, 0x14 +/* 8003BD34 00038C94 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l +/* 8003BD38 00038C98 38 84 00 18 */ addi r4, r4, 0x18 +/* 8003BD3C 00038C9C 4B FC 8F 7D */ bl string_l__4rstlFPCc +/* 8003BD40 00038CA0 7F A3 EB 78 */ mr r3, r29 +/* 8003BD44 00038CA4 7F E4 FB 78 */ mr r4, r31 +/* 8003BD48 00038CA8 7F C5 F3 78 */ mr r5, r30 +/* 8003BD4C 00038CAC 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8003BD50 00038CB0 38 E0 00 01 */ li r7, 1 +/* 8003BD54 00038CB4 39 00 00 00 */ li r8, 0 +/* 8003BD58 00038CB8 48 00 5C 71 */ bl "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" +/* 8003BD5C 00038CBC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8003BD60 00038CC0 48 30 1D 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8003BD64: +/* 8003BD64 00038CC4 7F E4 FB 78 */ mr r4, r31 +/* 8003BD68 00038CC8 38 61 00 08 */ addi r3, r1, 8 +/* 8003BD6C 00038CCC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8003BD70 00038CD0 48 2D 6D 79 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8003BD74 00038CD4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8003BD78 00038CD8 38 9D 03 E8 */ addi r4, r29, 0x3e8 +/* 8003BD7C 00038CDC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8003BD80 00038CE0 C0 01 00 08 */ lfs f0, 8(r1) +/* 8003BD84 00038CE4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8003BD88 00038CE8 D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 8003BD8C 00038CEC D0 5F 00 2C */ stfs f2, 0x2c(r31) +/* 8003BD90 00038CF0 80 7D 07 40 */ lwz r3, 0x740(r29) +/* 8003BD94 00038CF4 38 63 02 20 */ addi r3, r3, 0x220 +/* 8003BD98 00038CF8 48 2D 6D A9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8003BD9C 00038CFC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8003BDA0 00038D00 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8003BDA4 00038D04 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8003BDA8 00038D08 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8003BDAC 00038D0C 7C 08 03 A6 */ mtlr r0 +/* 8003BDB0 00038D10 38 21 00 40 */ addi r1, r1, 0x40 +/* 8003BDB4 00038D14 4E 80 00 20 */ blr + +.global EnterFidget__10CPlayerGunFR13CStateManager +EnterFidget__10CPlayerGunFR13CStateManager: +/* 8003BDB8 00038D18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003BDBC 00038D1C 7C 08 02 A6 */ mflr r0 +/* 8003BDC0 00038D20 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003BDC4 00038D24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003BDC8 00038D28 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003BDCC 00038D2C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003BDD0 00038D30 7C 9D 23 78 */ mr r29, r4 +/* 8003BDD4 00038D34 93 81 00 10 */ stw r28, 0x10(r1) +/* 8003BDD8 00038D38 7C 7C 1B 78 */ mr r28, r3 +/* 8003BDDC 00038D3C 80 03 02 FC */ lwz r0, 0x2fc(r3) +/* 8003BDE0 00038D40 83 E3 03 A8 */ lwz r31, 0x3a8(r3) +/* 8003BDE4 00038D44 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8003BDE8 00038D48 83 C3 03 B0 */ lwz r30, 0x3b0(r3) +/* 8003BDEC 00038D4C 2C 00 00 01 */ cmpwi r0, 1 +/* 8003BDF0 00038D50 40 82 00 28 */ bne lbl_8003BE18 +/* 8003BDF4 00038D54 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003BDF8 00038D58 7F E5 FB 78 */ mr r5, r31 +/* 8003BDFC 00038D5C 7F C6 F3 78 */ mr r6, r30 +/* 8003BE00 00038D60 48 19 D1 AD */ bl EnterFidget__10CGunMotionFR13CStateManagerQ28SamusGun11EFidgetTypei +/* 8003BE04 00038D64 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003BE08 00038D68 38 60 00 01 */ li r3, 1 +/* 8003BE0C 00038D6C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003BE10 00038D70 98 1C 08 34 */ stb r0, 0x834(r28) +/* 8003BE14 00038D74 48 00 00 14 */ b lbl_8003BE28 +lbl_8003BE18: +/* 8003BE18 00038D78 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003BE1C 00038D7C 38 60 00 00 */ li r3, 0 +/* 8003BE20 00038D80 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003BE24 00038D84 98 1C 08 34 */ stb r0, 0x834(r28) +lbl_8003BE28: +/* 8003BE28 00038D88 80 1C 02 FC */ lwz r0, 0x2fc(r28) +/* 8003BE2C 00038D8C 54 00 07 BC */ rlwinm r0, r0, 0, 0x1e, 0x1e +/* 8003BE30 00038D90 2C 00 00 02 */ cmpwi r0, 2 +/* 8003BE34 00038D94 40 82 00 18 */ bne lbl_8003BE4C +/* 8003BE38 00038D98 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 8003BE3C 00038D9C 7F A4 EB 78 */ mr r4, r29 +/* 8003BE40 00038DA0 7F E5 FB 78 */ mr r5, r31 +/* 8003BE44 00038DA4 7F C6 F3 78 */ mr r6, r30 +/* 8003BE48 00038DA8 48 17 F9 D5 */ bl EnterFidget__10CGunWeaponFR13CStateManagerQ28SamusGun11EFidgetTypei +lbl_8003BE4C: +/* 8003BE4C 00038DAC 80 1C 02 FC */ lwz r0, 0x2fc(r28) +/* 8003BE50 00038DB0 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d +/* 8003BE54 00038DB4 2C 00 00 04 */ cmpwi r0, 4 +/* 8003BE58 00038DB8 40 82 00 2C */ bne lbl_8003BE84 +/* 8003BE5C 00038DBC 2C 1F 00 00 */ cmpwi r31, 0 +/* 8003BE60 00038DC0 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 8003BE64 00038DC4 7F A4 EB 78 */ mr r4, r29 +/* 8003BE68 00038DC8 7F E5 FB 78 */ mr r5, r31 +/* 8003BE6C 00038DCC 41 82 00 0C */ beq lbl_8003BE78 +/* 8003BE70 00038DD0 80 DC 03 10 */ lwz r6, 0x310(r28) +/* 8003BE74 00038DD4 48 00 00 08 */ b lbl_8003BE7C +lbl_8003BE78: +/* 8003BE78 00038DD8 38 C0 00 00 */ li r6, 0 +lbl_8003BE7C: +/* 8003BE7C 00038DDC 7F C7 F3 78 */ mr r7, r30 +/* 8003BE80 00038DE0 48 0E 21 31 */ bl EnterFidget__11CGrappleArmFR13CStateManageriii +lbl_8003BE84: +/* 8003BE84 00038DE4 7F 83 E3 78 */ mr r3, r28 +/* 8003BE88 00038DE8 4B FF EE 79 */ bl UnLoadFidget__10CPlayerGunFv +/* 8003BE8C 00038DEC 88 1C 03 D8 */ lbz r0, 0x3d8(r28) +/* 8003BE90 00038DF0 38 60 00 00 */ li r3, 0 +/* 8003BE94 00038DF4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003BE98 00038DF8 98 1C 03 D8 */ stb r0, 0x3d8(r28) +/* 8003BE9C 00038DFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003BEA0 00038E00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003BEA4 00038E04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8003BEA8 00038E08 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8003BEAC 00038E0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003BEB0 00038E10 7C 08 03 A6 */ mtlr r0 +/* 8003BEB4 00038E14 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003BEB8 00038E18 4E 80 00 20 */ blr + +.global EnterFreeLook__10CPlayerGunFR13CStateManager +EnterFreeLook__10CPlayerGunFR13CStateManager: +/* 8003BEBC 00038E1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003BEC0 00038E20 7C 08 02 A6 */ mflr r0 +/* 8003BEC4 00038E24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003BEC8 00038E28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003BECC 00038E2C 7C 9F 23 78 */ mr r31, r4 +/* 8003BED0 00038E30 93 C1 00 08 */ stw r30, 8(r1) +/* 8003BED4 00038E34 7C 7E 1B 78 */ mr r30, r3 +/* 8003BED8 00038E38 88 03 08 32 */ lbz r0, 0x832(r3) +/* 8003BEDC 00038E3C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8003BEE0 00038E40 40 82 00 1C */ bne lbl_8003BEFC +/* 8003BEE4 00038E44 80 7E 07 3C */ lwz r3, 0x73c(r30) +/* 8003BEE8 00038E48 7F E5 FB 78 */ mr r5, r31 +/* 8003BEEC 00038E4C C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003BEF0 00038E50 38 80 00 03 */ li r4, 3 +/* 8003BEF4 00038E54 38 C0 00 00 */ li r6, 0 +/* 8003BEF8 00038E58 48 19 D2 C1 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb +lbl_8003BEFC: +/* 8003BEFC 00038E5C 80 7E 07 3C */ lwz r3, 0x73c(r30) +/* 8003BF00 00038E60 48 19 D1 79 */ bl GetFreeLookSetId__10CGunMotionCFv +/* 8003BF04 00038E64 88 1E 08 35 */ lbz r0, 0x835(r30) +/* 8003BF08 00038E68 7C 64 1B 78 */ mr r4, r3 +/* 8003BF0C 00038E6C 80 7E 07 40 */ lwz r3, 0x740(r30) +/* 8003BF10 00038E70 7C 85 23 78 */ mr r5, r4 +/* 8003BF14 00038E74 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003BF18 00038E78 41 82 00 0C */ beq lbl_8003BF24 +/* 8003BF1C 00038E7C 38 80 00 01 */ li r4, 1 +/* 8003BF20 00038E80 48 00 00 08 */ b lbl_8003BF28 +lbl_8003BF24: +/* 8003BF24 00038E84 80 9E 03 10 */ lwz r4, 0x310(r30) +lbl_8003BF28: +/* 8003BF28 00038E88 7F E6 FB 78 */ mr r6, r31 +/* 8003BF2C 00038E8C 48 0E 20 D5 */ bl EnterFreeLook__11CGrappleArmFiiR13CStateManager +/* 8003BF30 00038E90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003BF34 00038E94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003BF38 00038E98 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003BF3C 00038E9C 7C 08 03 A6 */ mtlr r0 +/* 8003BF40 00038EA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003BF44 00038EA4 4E 80 00 20 */ blr + +.global CancelCharge__10CPlayerGunFR13CStateManagerb +CancelCharge__10CPlayerGunFR13CStateManagerb: +/* 8003BF48 00038EA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003BF4C 00038EAC 7C 08 02 A6 */ mflr r0 +/* 8003BF50 00038EB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003BF54 00038EB4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8003BF58 00038EB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003BF5C 00038EBC 7C 9F 23 78 */ mr r31, r4 +/* 8003BF60 00038EC0 93 C1 00 08 */ stw r30, 8(r1) +/* 8003BF64 00038EC4 7C 7E 1B 78 */ mr r30, r3 +/* 8003BF68 00038EC8 41 82 00 28 */ beq lbl_8003BF90 +/* 8003BF6C 00038ECC 38 00 00 09 */ li r0, 9 +/* 8003BF70 00038ED0 38 80 00 03 */ li r4, 3 +/* 8003BF74 00038ED4 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003BF78 00038ED8 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003BF7C 00038EDC 81 83 00 00 */ lwz r12, 0(r3) +/* 8003BF80 00038EE0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8003BF84 00038EE4 7D 89 03 A6 */ mtctr r12 +/* 8003BF88 00038EE8 4E 80 04 21 */ bctrl +/* 8003BF8C 00038EEC 48 00 00 1C */ b lbl_8003BFA8 +lbl_8003BF90: +/* 8003BF90 00038EF0 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003BF94 00038EF4 38 80 00 00 */ li r4, 0 +/* 8003BF98 00038EF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003BF9C 00038EFC 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8003BFA0 00038F00 7D 89 03 A6 */ mtctr r12 +/* 8003BFA4 00038F04 4E 80 04 21 */ bctrl +lbl_8003BFA8: +/* 8003BFA8 00038F08 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003BFAC 00038F0C 38 60 00 00 */ li r3, 0 +/* 8003BFB0 00038F10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003BFB4 00038F14 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003BFB8 00038F18 98 1E 08 34 */ stb r0, 0x834(r30) +/* 8003BFBC 00038F1C 38 80 00 00 */ li r4, 0 +/* 8003BFC0 00038F20 38 A0 00 00 */ li r5, 0 +/* 8003BFC4 00038F24 D0 1E 03 48 */ stfs f0, 0x348(r30) +/* 8003BFC8 00038F28 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003BFCC 00038F2C 48 17 FF BD */ bl ActivateCharge__10CGunWeaponFbb +/* 8003BFD0 00038F30 7F C3 F3 78 */ mr r3, r30 +/* 8003BFD4 00038F34 7F E5 FB 78 */ mr r5, r31 +/* 8003BFD8 00038F38 38 80 00 00 */ li r4, 0 +/* 8003BFDC 00038F3C 4B FF F4 95 */ bl SetGunLightActive__10CPlayerGunFbR13CStateManager +/* 8003BFE0 00038F40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003BFE4 00038F44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003BFE8 00038F48 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003BFEC 00038F4C 7C 08 03 A6 */ mtlr r0 +/* 8003BFF0 00038F50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003BFF4 00038F54 4E 80 00 20 */ blr + +.global DoUserAnimEvent__10CPlayerGunFfR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__10CPlayerGunFfR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 8003BFF8 00038F58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003BFFC 00038F5C 7C 08 02 A6 */ mflr r0 +/* 8003C000 00038F60 2C 06 00 06 */ cmpwi r6, 6 +/* 8003C004 00038F64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003C008 00038F68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003C00C 00038F6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003C010 00038F70 7C 9E 23 78 */ mr r30, r4 +/* 8003C014 00038F74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003C018 00038F78 7C 7D 1B 78 */ mr r29, r3 +/* 8003C01C 00038F7C 41 82 00 C8 */ beq lbl_8003C0E4 +/* 8003C020 00038F80 40 80 00 10 */ bge lbl_8003C030 +/* 8003C024 00038F84 2C 06 00 00 */ cmpwi r6, 0 +/* 8003C028 00038F88 41 82 00 14 */ beq lbl_8003C03C +/* 8003C02C 00038F8C 48 00 00 B8 */ b lbl_8003C0E4 +lbl_8003C030: +/* 8003C030 00038F90 2C 06 00 08 */ cmpwi r6, 8 +/* 8003C034 00038F94 41 82 00 B0 */ beq lbl_8003C0E4 +/* 8003C038 00038F98 48 00 00 AC */ b lbl_8003C0E4 +lbl_8003C03C: +/* 8003C03C 00038F9C 80 1D 03 2C */ lwz r0, 0x32c(r29) +/* 8003C040 00038FA0 2C 00 00 08 */ cmpwi r0, 8 +/* 8003C044 00038FA4 40 82 00 A0 */ bne lbl_8003C0E4 +/* 8003C048 00038FA8 80 7D 03 10 */ lwz r3, 0x310(r29) +/* 8003C04C 00038FAC 38 00 00 00 */ li r0, 0 +/* 8003C050 00038FB0 2C 03 00 02 */ cmpwi r3, 2 +/* 8003C054 00038FB4 41 82 00 10 */ beq lbl_8003C064 +/* 8003C058 00038FB8 2C 03 00 03 */ cmpwi r3, 3 +/* 8003C05C 00038FBC 41 82 00 08 */ beq lbl_8003C064 +/* 8003C060 00038FC0 38 00 00 01 */ li r0, 1 +lbl_8003C064: +/* 8003C064 00038FC4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8003C068 00038FC8 41 82 00 0C */ beq lbl_8003C074 +/* 8003C06C 00038FCC 38 60 00 01 */ li r3, 1 +/* 8003C070 00038FD0 48 00 00 0C */ b lbl_8003C07C +lbl_8003C074: +/* 8003C074 00038FD4 80 1D 02 EC */ lwz r0, 0x2ec(r29) +/* 8003C078 00038FD8 54 03 07 FE */ clrlwi r3, r0, 0x1f +lbl_8003C07C: +/* 8003C07C 00038FDC 7C 03 00 D0 */ neg r0, r3 +/* 8003C080 00038FE0 7C 00 1B 78 */ or r0, r0, r3 +/* 8003C084 00038FE4 54 1F 0F FF */ rlwinm. r31, r0, 1, 0x1f, 0x1f +/* 8003C088 00038FE8 41 82 00 10 */ beq lbl_8003C098 +/* 8003C08C 00038FEC 7F A3 EB 78 */ mr r3, r29 +/* 8003C090 00038FF0 7F C4 F3 78 */ mr r4, r30 +/* 8003C094 00038FF4 48 00 3D F9 */ bl FireSecondary__10CPlayerGunFfR13CStateManager +lbl_8003C098: +/* 8003C098 00038FF8 80 1D 02 F8 */ lwz r0, 0x2f8(r29) +/* 8003C09C 00038FFC 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 8003C0A0 00039000 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003C0A4 00039004 41 82 00 10 */ beq lbl_8003C0B4 +/* 8003C0A8 00039008 80 1D 02 F8 */ lwz r0, 0x2f8(r29) +/* 8003C0AC 0003900C 60 00 00 10 */ ori r0, r0, 0x10 +/* 8003C0B0 00039010 90 1D 02 F8 */ stw r0, 0x2f8(r29) +lbl_8003C0B4: +/* 8003C0B4 00039014 7F A3 EB 78 */ mr r3, r29 +/* 8003C0B8 00039018 7F C4 F3 78 */ mr r4, r30 +/* 8003C0BC 0003901C 38 A0 00 01 */ li r5, 1 +/* 8003C0C0 00039020 4B FF FE 89 */ bl CancelCharge__10CPlayerGunFR13CStateManagerb +/* 8003C0C4 00039024 28 1F 00 00 */ cmplwi r31, 0 +/* 8003C0C8 00039028 41 82 00 1C */ beq lbl_8003C0E4 +/* 8003C0CC 0003902C 80 7D 07 2C */ lwz r3, 0x72c(r29) +/* 8003C0D0 00039030 38 80 00 02 */ li r4, 2 +/* 8003C0D4 00039034 81 83 00 00 */ lwz r12, 0(r3) +/* 8003C0D8 00039038 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8003C0DC 0003903C 7D 89 03 A6 */ mtctr r12 +/* 8003C0E0 00039040 4E 80 04 21 */ bctrl +lbl_8003C0E4: +/* 8003C0E4 00039044 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003C0E8 00039048 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003C0EC 0003904C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003C0F0 00039050 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8003C0F4 00039054 7C 08 03 A6 */ mtlr r0 +/* 8003C0F8 00039058 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003C0FC 0003905C 4E 80 00 20 */ blr + +.global DoUserAnimEvents__10CPlayerGunFfR13CStateManager +DoUserAnimEvents__10CPlayerGunFfR13CStateManager: +/* 8003C100 00039060 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8003C104 00039064 7C 08 02 A6 */ mflr r0 +/* 8003C108 00039068 90 01 00 64 */ stw r0, 0x64(r1) +/* 8003C10C 0003906C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8003C110 00039070 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8003C114 00039074 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 8003C118 00039078 7C 7E 1B 78 */ mr r30, r3 +/* 8003C11C 0003907C 7C 9F 23 78 */ mr r31, r4 +/* 8003C120 00039080 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 8003C124 00039084 FF E0 08 90 */ fmr f31, f1 +/* 8003C128 00039088 80 63 07 2C */ lwz r3, 0x72c(r3) +/* 8003C12C 0003908C 83 A5 00 04 */ lwz r29, 4(r5) +/* 8003C130 00039090 83 83 00 20 */ lwz r28, 0x20(r3) +/* 8003C134 00039094 80 64 08 70 */ lwz r3, 0x870(r4) +/* 8003C138 00039098 4B FC F9 E1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8003C13C 0003909C C0 BE 04 14 */ lfs f5, 0x414(r30) +/* 8003C140 000390A0 3C 80 80 57 */ lis r4, lbl_8056C9EC@ha +/* 8003C144 000390A4 C0 9E 04 04 */ lfs f4, 0x404(r30) +/* 8003C148 000390A8 38 84 C9 EC */ addi r4, r4, lbl_8056C9EC@l +/* 8003C14C 000390AC C0 7E 03 F4 */ lfs f3, 0x3f4(r30) +/* 8003C150 000390B0 3B 64 00 04 */ addi r27, r4, 4 +/* 8003C154 000390B4 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8003C158 000390B8 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 8003C15C 000390BC D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 8003C160 000390C0 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8003C164 000390C4 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 8003C168 000390C8 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8003C16C 000390CC EC 42 20 28 */ fsubs f2, f2, f4 +/* 8003C170 000390D0 EC 21 28 28 */ fsubs f1, f1, f5 +/* 8003C174 000390D4 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8003C178 000390D8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8003C17C 000390DC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8003C180 000390E0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8003C184 000390E4 83 5C 02 18 */ lwz r26, 0x218(r28) +/* 8003C188 000390E8 2C 1A 00 00 */ cmpwi r26, 0 +/* 8003C18C 000390EC 40 81 00 80 */ ble lbl_8003C20C +/* 8003C190 000390F0 3B 20 00 00 */ li r25, 0 +/* 8003C194 000390F4 48 00 00 70 */ b lbl_8003C204 +lbl_8003C198: +/* 8003C198 000390F8 A0 1B 00 18 */ lhz r0, 0x18(r27) +/* 8003C19C 000390FC 80 7B 00 30 */ lwz r3, 0x30(r27) +/* 8003C1A0 00039100 2C 00 00 08 */ cmpwi r0, 8 +/* 8003C1A4 00039104 40 82 00 58 */ bne lbl_8003C1FC +/* 8003C1A8 00039108 2C 03 FF FF */ cmpwi r3, -1 +/* 8003C1AC 0003910C 41 82 00 10 */ beq lbl_8003C1BC +/* 8003C1B0 00039110 80 1C 02 04 */ lwz r0, 0x204(r28) +/* 8003C1B4 00039114 7C 03 00 00 */ cmpw r3, r0 +/* 8003C1B8 00039118 40 82 00 44 */ bne lbl_8003C1FC +lbl_8003C1BC: +/* 8003C1BC 0003911C 38 01 00 24 */ addi r0, r1, 0x24 +/* 8003C1C0 00039120 89 22 CC 40 */ lbz r9, lbl_805AE960@sda21(r2) +/* 8003C1C4 00039124 90 01 00 08 */ stw r0, 8(r1) +/* 8003C1C8 00039128 38 7E 06 70 */ addi r3, r30, 0x670 +/* 8003C1CC 0003912C 38 9E 03 28 */ addi r4, r30, 0x328 +/* 8003C1D0 00039130 39 41 00 18 */ addi r10, r1, 0x18 +/* 8003C1D4 00039134 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8003C1D8 00039138 38 A0 00 00 */ li r5, 0 +/* 8003C1DC 0003913C 39 00 00 14 */ li r8, 0x14 +/* 8003C1E0 00039140 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8003C1E4 00039144 80 DB 00 38 */ lwz r6, 0x38(r27) +/* 8003C1E8 00039148 C0 3B 00 2C */ lfs f1, 0x2c(r27) +/* 8003C1EC 0003914C 80 FB 00 34 */ lwz r7, 0x34(r27) +/* 8003C1F0 00039150 C0 5B 00 3C */ lfs f2, 0x3c(r27) +/* 8003C1F4 00039154 C0 7B 00 40 */ lfs f3, 0x40(r27) +/* 8003C1F8 00039158 48 24 E9 91 */ bl "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" +lbl_8003C1FC: +/* 8003C1FC 0003915C 3B 7B 00 44 */ addi r27, r27, 0x44 +/* 8003C200 00039160 3B 39 00 01 */ addi r25, r25, 1 +lbl_8003C204: +/* 8003C204 00039164 7C 19 D0 00 */ cmpw r25, r26 +/* 8003C208 00039168 41 80 FF 90 */ blt lbl_8003C198 +lbl_8003C20C: +/* 8003C20C 0003916C 83 3C 02 10 */ lwz r25, 0x210(r28) +/* 8003C210 00039170 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8003C214 00039174 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l +/* 8003C218 00039178 2C 19 00 00 */ cmpwi r25, 0 +/* 8003C21C 0003917C 3B 63 00 04 */ addi r27, r3, 4 +/* 8003C220 00039180 40 81 00 B4 */ ble lbl_8003C2D4 +/* 8003C224 00039184 3B 40 00 00 */ li r26, 0 +/* 8003C228 00039188 48 00 00 A4 */ b lbl_8003C2CC +lbl_8003C22C: +/* 8003C22C 0003918C A0 1B 00 18 */ lhz r0, 0x18(r27) +/* 8003C230 00039190 2C 00 00 05 */ cmpwi r0, 5 +/* 8003C234 00039194 41 82 00 90 */ beq lbl_8003C2C4 +/* 8003C238 00039198 40 80 00 10 */ bge lbl_8003C248 +/* 8003C23C 0003919C 2C 00 00 04 */ cmpwi r0, 4 +/* 8003C240 000391A0 40 80 00 2C */ bge lbl_8003C26C +/* 8003C244 000391A4 48 00 00 80 */ b lbl_8003C2C4 +lbl_8003C248: +/* 8003C248 000391A8 2C 00 00 07 */ cmpwi r0, 7 +/* 8003C24C 000391AC 40 80 00 78 */ bge lbl_8003C2C4 +/* 8003C250 000391B0 FC 20 F8 90 */ fmr f1, f31 +/* 8003C254 000391B4 80 DB 00 38 */ lwz r6, 0x38(r27) +/* 8003C258 000391B8 7F C3 F3 78 */ mr r3, r30 +/* 8003C25C 000391BC 7F E4 FB 78 */ mr r4, r31 +/* 8003C260 000391C0 7F 65 DB 78 */ mr r5, r27 +/* 8003C264 000391C4 4B FF FD 95 */ bl DoUserAnimEvent__10CPlayerGunFfR13CStateManagerRC13CInt32POINode14EUserEventType +/* 8003C268 000391C8 48 00 00 5C */ b lbl_8003C2C4 +lbl_8003C26C: +/* 8003C26C 000391CC 80 7B 00 30 */ lwz r3, 0x30(r27) +/* 8003C270 000391D0 2C 03 FF FF */ cmpwi r3, -1 +/* 8003C274 000391D4 41 82 00 10 */ beq lbl_8003C284 +/* 8003C278 000391D8 80 1C 02 04 */ lwz r0, 0x204(r28) +/* 8003C27C 000391DC 7C 03 00 00 */ cmpw r3, r0 +/* 8003C280 000391E0 40 82 00 44 */ bne lbl_8003C2C4 +lbl_8003C284: +/* 8003C284 000391E4 38 01 00 24 */ addi r0, r1, 0x24 +/* 8003C288 000391E8 C0 42 84 90 */ lfs f2, lbl_805AA1B0@sda21(r2) +/* 8003C28C 000391EC 90 01 00 08 */ stw r0, 8(r1) +/* 8003C290 000391F0 38 7E 06 70 */ addi r3, r30, 0x670 +/* 8003C294 000391F4 C0 62 84 94 */ lfs f3, lbl_805AA1B4@sda21(r2) +/* 8003C298 000391F8 38 9E 03 28 */ addi r4, r30, 0x328 +/* 8003C29C 000391FC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8003C2A0 00039200 39 41 00 18 */ addi r10, r1, 0x18 +/* 8003C2A4 00039204 89 22 CC 40 */ lbz r9, lbl_805AE960@sda21(r2) +/* 8003C2A8 00039208 38 A0 00 00 */ li r5, 0 +/* 8003C2AC 0003920C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8003C2B0 00039210 39 00 00 14 */ li r8, 0x14 +/* 8003C2B4 00039214 80 DB 00 38 */ lwz r6, 0x38(r27) +/* 8003C2B8 00039218 C0 3B 00 2C */ lfs f1, 0x2c(r27) +/* 8003C2BC 0003921C 80 FB 00 34 */ lwz r7, 0x34(r27) +/* 8003C2C0 00039220 48 24 E8 C9 */ bl "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" +lbl_8003C2C4: +/* 8003C2C4 00039224 3B 7B 00 4C */ addi r27, r27, 0x4c +/* 8003C2C8 00039228 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8003C2CC: +/* 8003C2CC 0003922C 7C 1A C8 00 */ cmpw r26, r25 +/* 8003C2D0 00039230 41 80 FF 5C */ blt lbl_8003C22C +lbl_8003C2D4: +/* 8003C2D4 00039234 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8003C2D8 00039238 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8003C2DC 0003923C BB 21 00 34 */ lmw r25, 0x34(r1) +/* 8003C2E0 00039240 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8003C2E4 00039244 7C 08 03 A6 */ mtlr r0 +/* 8003C2E8 00039248 38 21 00 60 */ addi r1, r1, 0x60 +/* 8003C2EC 0003924C 4E 80 00 20 */ blr + +.global RenderEnergyDrainEffects__10CPlayerGunCFRC13CStateManager +RenderEnergyDrainEffects__10CPlayerGunCFRC13CStateManager: +/* 8003C2F0 00039250 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8003C2F4 00039254 7C 08 02 A6 */ mflr r0 +/* 8003C2F8 00039258 90 01 00 34 */ stw r0, 0x34(r1) +/* 8003C2FC 0003925C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8003C300 00039260 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8003C304 00039264 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8003C308 00039268 7C 9D 23 78 */ mr r29, r4 +/* 8003C30C 0003926C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003C310 00039270 A0 03 05 38 */ lhz r0, 0x538(r3) +/* 8003C314 00039274 7F A3 EB 78 */ mr r3, r29 +/* 8003C318 00039278 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8003C31C 0003927C 48 01 02 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8003C320 00039280 7C 64 1B 78 */ mr r4, r3 +/* 8003C324 00039284 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003C328 00039288 48 07 00 6D */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 8003C32C 0003928C 83 C3 00 04 */ lwz r30, 4(r3) +/* 8003C330 00039290 28 1E 00 00 */ cmplwi r30, 0 +/* 8003C334 00039294 41 82 00 60 */ beq lbl_8003C394 +/* 8003C338 00039298 83 FE 02 80 */ lwz r31, 0x280(r30) +/* 8003C33C 0003929C 48 00 00 40 */ b lbl_8003C37C +lbl_8003C340: +/* 8003C340 000392A0 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8003C344 000392A4 7F A3 EB 78 */ mr r3, r29 +/* 8003C348 000392A8 38 81 00 0C */ addi r4, r1, 0xc +/* 8003C34C 000392AC B0 01 00 08 */ sth r0, 8(r1) +/* 8003C350 000392B0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8003C354 000392B4 48 01 02 51 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8003C358 000392B8 7C 64 1B 78 */ mr r4, r3 +/* 8003C35C 000392BC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8003C360 000392C0 48 06 91 41 */ bl sub_800a54a0 +/* 8003C364 000392C4 48 06 91 11 */ bl "CastTo<12CMetroidBeta>__10CPatternedFP7CEntity" +/* 8003C368 000392C8 28 03 00 00 */ cmplwi r3, 0 +/* 8003C36C 000392CC 41 82 00 0C */ beq lbl_8003C378 +/* 8003C370 000392D0 48 18 92 BD */ bl RenderHitGunEffect__12CMetroidBetaCFv +/* 8003C374 000392D4 48 00 00 20 */ b lbl_8003C394 +lbl_8003C378: +/* 8003C378 000392D8 3B FF 00 08 */ addi r31, r31, 8 +lbl_8003C37C: +/* 8003C37C 000392DC 80 1E 02 78 */ lwz r0, 0x278(r30) +/* 8003C380 000392E0 80 7E 02 80 */ lwz r3, 0x280(r30) +/* 8003C384 000392E4 54 00 18 38 */ slwi r0, r0, 3 +/* 8003C388 000392E8 7C 03 02 14 */ add r0, r3, r0 +/* 8003C38C 000392EC 7C 1F 00 40 */ cmplw r31, r0 +/* 8003C390 000392F0 40 82 FF B0 */ bne lbl_8003C340 +lbl_8003C394: +/* 8003C394 000392F4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8003C398 000392F8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8003C39C 000392FC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8003C3A0 00039300 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8003C3A4 00039304 7C 08 03 A6 */ mtlr r0 +/* 8003C3A8 00039308 38 21 00 30 */ addi r1, r1, 0x30 +/* 8003C3AC 0003930C 4E 80 00 20 */ blr + +.global StopContinuousBeam__10CPlayerGunFR13CStateManagerb +StopContinuousBeam__10CPlayerGunFR13CStateManagerb: +/* 8003C3B0 00039310 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003C3B4 00039314 7C 08 02 A6 */ mflr r0 +/* 8003C3B8 00039318 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003C3BC 0003931C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003C3C0 00039320 7C 7F 1B 78 */ mr r31, r3 +/* 8003C3C4 00039324 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003C3C8 00039328 7C BE 2B 78 */ mr r30, r5 +/* 8003C3CC 0003932C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003C3D0 00039330 7C 9D 23 78 */ mr r29, r4 +/* 8003C3D4 00039334 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8003C3D8 00039338 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 8003C3DC 0003933C 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003C3E0 00039340 40 82 00 8C */ bne lbl_8003C46C +/* 8003C3E4 00039344 38 A0 00 00 */ li r5, 0 +/* 8003C3E8 00039348 4B FF F8 51 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb +/* 8003C3EC 0003934C 80 7F 07 44 */ lwz r3, 0x744(r31) +/* 8003C3F0 00039350 7F A4 EB 78 */ mr r4, r29 +/* 8003C3F4 00039354 7F C5 F3 78 */ mr r5, r30 +/* 8003C3F8 00039358 48 17 D0 C5 */ bl StopComboFx__10CAuxWeaponFR13CStateManagerb +/* 8003C3FC 0003935C 80 1F 03 10 */ lwz r0, 0x310(r31) +/* 8003C400 00039360 38 60 00 01 */ li r3, 1 +/* 8003C404 00039364 2C 00 00 01 */ cmpwi r0, 1 +/* 8003C408 00039368 41 82 00 C8 */ beq lbl_8003C4D0 +/* 8003C40C 0003936C 40 80 00 10 */ bge lbl_8003C41C +/* 8003C410 00039370 2C 00 00 00 */ cmpwi r0, 0 +/* 8003C414 00039374 40 80 00 10 */ bge lbl_8003C424 +/* 8003C418 00039378 48 00 00 B8 */ b lbl_8003C4D0 +lbl_8003C41C: +/* 8003C41C 0003937C 2C 00 00 04 */ cmpwi r0, 4 +/* 8003C420 00039380 40 80 00 B0 */ bge lbl_8003C4D0 +lbl_8003C424: +/* 8003C424 00039384 2C 00 00 00 */ cmpwi r0, 0 +/* 8003C428 00039388 40 82 00 14 */ bne lbl_8003C43C +/* 8003C42C 0003938C 88 1F 08 33 */ lbz r0, 0x833(r31) +/* 8003C430 00039390 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8003C434 00039394 40 82 00 08 */ bne lbl_8003C43C +/* 8003C438 00039398 38 60 00 00 */ li r3, 0 +lbl_8003C43C: +/* 8003C43C 0003939C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003C440 000393A0 41 82 00 90 */ beq lbl_8003C4D0 +/* 8003C444 000393A4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8003C448 000393A8 80 7F 07 2C */ lwz r3, 0x72c(r31) +/* 8003C44C 000393AC 38 80 00 03 */ li r4, 3 +/* 8003C450 000393B0 41 82 00 08 */ beq lbl_8003C458 +/* 8003C454 000393B4 38 80 00 00 */ li r4, 0 +lbl_8003C458: +/* 8003C458 000393B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003C45C 000393BC 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8003C460 000393C0 7D 89 03 A6 */ mtctr r12 +/* 8003C464 000393C4 4E 80 04 21 */ bctrl +/* 8003C468 000393C8 48 00 00 68 */ b lbl_8003C4D0 +lbl_8003C46C: +/* 8003C46C 000393CC 88 1F 08 33 */ lbz r0, 0x833(r31) +/* 8003C470 000393D0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8003C474 000393D4 41 82 00 2C */ beq lbl_8003C4A0 +/* 8003C478 000393D8 83 FF 07 2C */ lwz r31, 0x72c(r31) +/* 8003C47C 000393DC 7F E3 FB 78 */ mr r3, r31 +/* 8003C480 000393E0 48 15 0A 35 */ bl IsFiring__11CPhazonBeamCFRC13CStateManager +/* 8003C484 000393E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003C488 000393E8 41 82 00 48 */ beq lbl_8003C4D0 +/* 8003C48C 000393EC 7F E3 FB 78 */ mr r3, r31 +/* 8003C490 000393F0 7F A4 EB 78 */ mr r4, r29 +/* 8003C494 000393F4 7F C5 F3 78 */ mr r5, r30 +/* 8003C498 000393F8 48 15 00 45 */ bl StopBeam__11CPhazonBeamFR13CStateManagerb +/* 8003C49C 000393FC 48 00 00 34 */ b lbl_8003C4D0 +lbl_8003C4A0: +/* 8003C4A0 00039400 80 1F 03 10 */ lwz r0, 0x310(r31) +/* 8003C4A4 00039404 2C 00 00 03 */ cmpwi r0, 3 +/* 8003C4A8 00039408 40 82 00 28 */ bne lbl_8003C4D0 +/* 8003C4AC 0003940C 83 FF 07 2C */ lwz r31, 0x72c(r31) +/* 8003C4B0 00039410 7F E3 FB 78 */ mr r3, r31 +/* 8003C4B4 00039414 48 0A 2F 69 */ bl IsFiring__11CPlasmaBeamCFRC13CStateManager +/* 8003C4B8 00039418 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003C4BC 0003941C 41 82 00 14 */ beq lbl_8003C4D0 +/* 8003C4C0 00039420 7F E3 FB 78 */ mr r3, r31 +/* 8003C4C4 00039424 7F A4 EB 78 */ mr r4, r29 +/* 8003C4C8 00039428 7F C5 F3 78 */ mr r5, r30 +/* 8003C4CC 0003942C 48 0A 2A 99 */ bl StopBeam__11CPlasmaBeamFR13CStateManagerb +lbl_8003C4D0: +/* 8003C4D0 00039430 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003C4D4 00039434 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003C4D8 00039438 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003C4DC 0003943C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8003C4E0 00039440 7C 08 03 A6 */ mtlr r0 +/* 8003C4E4 00039444 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003C4E8 00039448 4E 80 00 20 */ blr + +.global AcceptScriptMsg__10CPlayerGunF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__10CPlayerGunF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8003C4EC 0003944C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8003C4F0 00039450 7C 08 02 A6 */ mflr r0 +/* 8003C4F4 00039454 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8003C4F8 00039458 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8003C4FC 0003945C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8003C500 00039460 BF 21 00 84 */ stmw r25, 0x84(r1) +/* 8003C504 00039464 7C DF 33 78 */ mr r31, r6 +/* 8003C508 00039468 7C 9C 23 78 */ mr r28, r4 +/* 8003C50C 0003946C 83 66 08 4C */ lwz r27, 0x84c(r6) +/* 8003C510 00039470 38 1C FF E9 */ addi r0, r28, -23 +/* 8003C514 00039474 80 C6 08 B8 */ lwz r6, 0x8b8(r6) +/* 8003C518 00039478 28 00 00 18 */ cmplwi r0, 0x18 +/* 8003C51C 0003947C 80 9B 02 F8 */ lwz r4, 0x2f8(r27) +/* 8003C520 00039480 7C 7D 1B 78 */ mr r29, r3 +/* 8003C524 00039484 83 26 00 00 */ lwz r25, 0(r6) +/* 8003C528 00039488 7C BE 2B 78 */ mr r30, r5 +/* 8003C52C 0003948C 7C 84 00 34 */ cntlzw r4, r4 +/* 8003C530 00039490 54 9A D9 7E */ srwi r26, r4, 5 +/* 8003C534 00039494 41 81 04 98 */ bgt lbl_8003C9CC +/* 8003C538 00039498 3C 80 80 3E */ lis r4, lbl_803D9D74@ha +/* 8003C53C 0003949C 54 00 10 3A */ slwi r0, r0, 2 +/* 8003C540 000394A0 38 84 9D 74 */ addi r4, r4, lbl_803D9D74@l +/* 8003C544 000394A4 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8003C548 000394A8 7C 09 03 A6 */ mtctr r0 +/* 8003C54C 000394AC 4E 80 04 20 */ bctr +/* 8003C550 000394B0 7F E4 FB 78 */ mr r4, r31 +/* 8003C554 000394B4 4B FF F2 85 */ bl CreateGunLight__10CPlayerGunFR13CStateManager +/* 8003C558 000394B8 80 19 00 08 */ lwz r0, 8(r25) +/* 8003C55C 000394BC 3C 60 80 3D */ lis r3, lbl_803CCE84@ha +/* 8003C560 000394C0 38 63 CE 84 */ addi r3, r3, lbl_803CCE84@l +/* 8003C564 000394C4 7F E4 FB 78 */ mr r4, r31 +/* 8003C568 000394C8 54 19 10 3A */ slwi r25, r0, 2 +/* 8003C56C 000394CC 38 A0 00 01 */ li r5, 1 +/* 8003C570 000394D0 7C 03 C8 2E */ lwzx r0, r3, r25 +/* 8003C574 000394D4 90 1D 03 20 */ stw r0, 0x320(r29) +/* 8003C578 000394D8 90 1D 03 14 */ stw r0, 0x314(r29) +/* 8003C57C 000394DC 90 1D 03 10 */ stw r0, 0x310(r29) +/* 8003C580 000394E0 80 1D 03 10 */ lwz r0, 0x310(r29) +/* 8003C584 000394E4 54 00 10 3A */ slwi r0, r0, 2 +/* 8003C588 000394E8 7C 7D 02 14 */ add r3, r29, r0 +/* 8003C58C 000394EC 80 03 07 64 */ lwz r0, 0x764(r3) +/* 8003C590 000394F0 90 1D 07 2C */ stw r0, 0x72c(r29) +/* 8003C594 000394F4 80 1D 07 2C */ lwz r0, 0x72c(r29) +/* 8003C598 000394F8 90 1D 07 38 */ stw r0, 0x738(r29) +/* 8003C59C 000394FC 80 7D 07 2C */ lwz r3, 0x72c(r29) +/* 8003C5A0 00039500 81 83 00 00 */ lwz r12, 0(r3) +/* 8003C5A4 00039504 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8003C5A8 00039508 7D 89 03 A6 */ mtctr r12 +/* 8003C5AC 0003950C 4E 80 04 21 */ bctrl +/* 8003C5B0 00039510 80 1D 07 48 */ lwz r0, 0x748(r29) +/* 8003C5B4 00039514 7F E5 FB 78 */ mr r5, r31 +/* 8003C5B8 00039518 80 7D 07 2C */ lwz r3, 0x72c(r29) +/* 8003C5BC 0003951C 90 03 01 BC */ stw r0, 0x1bc(r3) +/* 8003C5C0 00039520 80 7D 07 44 */ lwz r3, 0x744(r29) +/* 8003C5C4 00039524 80 9D 03 10 */ lwz r4, 0x310(r29) +/* 8003C5C8 00039528 48 17 C3 75 */ bl Load__10CAuxWeaponFiR13CStateManager +/* 8003C5CC 0003952C 3C 60 80 3D */ lis r3, lbl_803CCE44@ha +/* 8003C5D0 00039530 38 00 00 00 */ li r0, 0 +/* 8003C5D4 00039534 38 63 CE 44 */ addi r3, r3, lbl_803CCE44@l +/* 8003C5D8 00039538 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003C5DC 0003953C 7C C3 C8 2E */ lwzx r6, r3, r25 +/* 8003C5E0 00039540 38 80 FF FF */ li r4, -1 +/* 8003C5E4 00039544 38 60 00 01 */ li r3, 1 +/* 8003C5E8 00039548 90 81 00 5C */ stw r4, 0x5c(r1) +/* 8003C5EC 0003954C 38 81 00 58 */ addi r4, r1, 0x58 +/* 8003C5F0 00039550 38 A0 00 00 */ li r5, 0 +/* 8003C5F4 00039554 90 C1 00 58 */ stw r6, 0x58(r1) +/* 8003C5F8 00039558 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8003C5FC 0003955C 98 61 00 64 */ stb r3, 0x64(r1) +/* 8003C600 00039560 90 01 00 68 */ stw r0, 0x68(r1) +/* 8003C604 00039564 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8003C608 00039568 98 01 00 70 */ stb r0, 0x70(r1) +/* 8003C60C 0003956C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8003C610 00039570 90 01 00 78 */ stw r0, 0x78(r1) +/* 8003C614 00039574 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8003C618 00039578 80 7D 06 F0 */ lwz r3, 0x6f0(r29) +/* 8003C61C 0003957C 4B FF 07 61 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 8003C620 00039580 48 00 03 AC */ b lbl_8003C9CC +/* 8003C624 00039584 7F E4 FB 78 */ mr r4, r31 +/* 8003C628 00039588 4B FF F1 5D */ bl DeleteGunLight__10CPlayerGunFR13CStateManager +/* 8003C62C 0003958C 48 00 03 A0 */ b lbl_8003C9CC +/* 8003C630 00039590 7F 23 CB 78 */ mr r3, r25 +/* 8003C634 00039594 38 80 00 17 */ li r4, 0x17 +/* 8003C638 00039598 48 05 54 89 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003C63C 0003959C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003C640 000395A0 41 82 00 64 */ beq lbl_8003C6A4 +/* 8003C644 000395A4 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8003C648 000395A8 41 82 00 5C */ beq lbl_8003C6A4 +/* 8003C64C 000395AC A0 1E 00 00 */ lhz r0, 0(r30) +/* 8003C650 000395B0 7F E3 FB 78 */ mr r3, r31 +/* 8003C654 000395B4 38 81 00 2C */ addi r4, r1, 0x2c +/* 8003C658 000395B8 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 8003C65C 000395BC 48 00 FF 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8003C660 000395C0 7C 64 1B 78 */ mr r4, r3 +/* 8003C664 000395C4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8003C668 000395C8 48 06 A1 F9 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" +/* 8003C66C 000395CC 80 63 00 04 */ lwz r3, 4(r3) +/* 8003C670 000395D0 28 03 00 00 */ cmplwi r3, 0 +/* 8003C674 000395D4 41 82 00 30 */ beq lbl_8003C6A4 +/* 8003C678 000395D8 80 63 01 B4 */ lwz r3, 0x1b4(r3) +/* 8003C67C 000395DC 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8003C680 000395E0 2C 00 00 03 */ cmpwi r0, 3 +/* 8003C684 000395E4 40 82 00 20 */ bne lbl_8003C6A4 +/* 8003C688 000395E8 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C68C 000395EC 38 60 00 01 */ li r3, 1 +/* 8003C690 000395F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003C694 000395F4 98 1D 08 35 */ stb r0, 0x835(r29) +/* 8003C698 000395F8 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C69C 000395FC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003C6A0 00039600 98 1D 08 35 */ stb r0, 0x835(r29) +lbl_8003C6A4: +/* 8003C6A4 00039604 C3 FB 08 28 */ lfs f31, 0x828(r27) +/* 8003C6A8 00039608 7F 63 DB 78 */ mr r3, r27 +/* 8003C6AC 0003960C 48 24 87 35 */ bl GetEyeHeight__7CPlayerCFv +/* 8003C6B0 00039610 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 8003C6B4 00039614 40 81 00 48 */ ble lbl_8003C6FC +/* 8003C6B8 00039618 88 1D 08 34 */ lbz r0, 0x834(r29) +/* 8003C6BC 0003961C 38 60 00 01 */ li r3, 1 +/* 8003C6C0 00039620 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8003C6C4 00039624 7F E4 FB 78 */ mr r4, r31 +/* 8003C6C8 00039628 98 1D 08 34 */ stb r0, 0x834(r29) +/* 8003C6CC 0003962C 80 7D 07 44 */ lwz r3, 0x744(r29) +/* 8003C6D0 00039630 48 17 CD 61 */ bl IsComboFxActive__10CAuxWeaponCFRC13CStateManager +/* 8003C6D4 00039634 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003C6D8 00039638 41 82 02 F4 */ beq lbl_8003C9CC +/* 8003C6DC 0003963C 80 1D 03 10 */ lwz r0, 0x310(r29) +/* 8003C6E0 00039640 2C 00 00 02 */ cmpwi r0, 2 +/* 8003C6E4 00039644 41 82 02 E8 */ beq lbl_8003C9CC +/* 8003C6E8 00039648 7F A3 EB 78 */ mr r3, r29 +/* 8003C6EC 0003964C 7F E4 FB 78 */ mr r4, r31 +/* 8003C6F0 00039650 38 A0 00 00 */ li r5, 0 +/* 8003C6F4 00039654 4B FF FC BD */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb +/* 8003C6F8 00039658 48 00 02 D4 */ b lbl_8003C9CC +lbl_8003C6FC: +/* 8003C6FC 0003965C 88 1D 08 34 */ lbz r0, 0x834(r29) +/* 8003C700 00039660 38 60 00 00 */ li r3, 0 +/* 8003C704 00039664 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8003C708 00039668 98 1D 08 34 */ stb r0, 0x834(r29) +/* 8003C70C 0003966C 48 00 02 C0 */ b lbl_8003C9CC +/* 8003C710 00039670 88 1D 08 34 */ lbz r0, 0x834(r29) +/* 8003C714 00039674 38 60 00 00 */ li r3, 0 +/* 8003C718 00039678 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8003C71C 0003967C 98 1D 08 34 */ stb r0, 0x834(r29) +/* 8003C720 00039680 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C724 00039684 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003C728 00039688 98 1D 08 35 */ stb r0, 0x835(r29) +/* 8003C72C 0003968C 48 00 02 A0 */ b lbl_8003C9CC +/* 8003C730 00039690 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C734 00039694 38 60 00 01 */ li r3, 1 +/* 8003C738 00039698 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003C73C 0003969C 7F 23 CB 78 */ mr r3, r25 +/* 8003C740 000396A0 98 1D 08 35 */ stb r0, 0x835(r29) +/* 8003C744 000396A4 38 80 00 17 */ li r4, 0x17 +/* 8003C748 000396A8 48 05 53 79 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003C74C 000396AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003C750 000396B0 41 82 02 7C */ beq lbl_8003C9CC +/* 8003C754 000396B4 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8003C758 000396B8 41 82 02 74 */ beq lbl_8003C9CC +/* 8003C75C 000396BC 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C760 000396C0 38 60 00 01 */ li r3, 1 +/* 8003C764 000396C4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003C768 000396C8 98 1D 08 35 */ stb r0, 0x835(r29) +/* 8003C76C 000396CC 48 00 02 60 */ b lbl_8003C9CC +/* 8003C770 000396D0 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C774 000396D4 38 60 00 01 */ li r3, 1 +/* 8003C778 000396D8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003C77C 000396DC 7F 23 CB 78 */ mr r3, r25 +/* 8003C780 000396E0 98 1D 08 35 */ stb r0, 0x835(r29) +/* 8003C784 000396E4 38 80 00 17 */ li r4, 0x17 +/* 8003C788 000396E8 48 05 53 39 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003C78C 000396EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003C790 000396F0 41 82 02 3C */ beq lbl_8003C9CC +/* 8003C794 000396F4 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8003C798 000396F8 41 82 02 34 */ beq lbl_8003C9CC +/* 8003C79C 000396FC 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C7A0 00039700 38 60 00 01 */ li r3, 1 +/* 8003C7A4 00039704 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003C7A8 00039708 98 1D 08 35 */ stb r0, 0x835(r29) +/* 8003C7AC 0003970C 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C7B0 00039710 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003C7B4 00039714 98 1D 08 35 */ stb r0, 0x835(r29) +/* 8003C7B8 00039718 88 1D 08 33 */ lbz r0, 0x833(r29) +/* 8003C7BC 0003971C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8003C7C0 00039720 41 82 02 0C */ beq lbl_8003C9CC +/* 8003C7C4 00039724 80 7D 07 2C */ lwz r3, 0x72c(r29) +/* 8003C7C8 00039728 7F E4 FB 78 */ mr r4, r31 +/* 8003C7CC 0003972C 48 15 06 E9 */ bl IsFiring__11CPhazonBeamCFRC13CStateManager +/* 8003C7D0 00039730 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003C7D4 00039734 41 82 01 F8 */ beq lbl_8003C9CC +/* 8003C7D8 00039738 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8003C7DC 0003973C 7F E3 FB 78 */ mr r3, r31 +/* 8003C7E0 00039740 38 81 00 28 */ addi r4, r1, 0x28 +/* 8003C7E4 00039744 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8003C7E8 00039748 48 00 FD 8D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8003C7EC 0003974C 7C 64 1B 78 */ mr r4, r3 +/* 8003C7F0 00039750 38 61 00 50 */ addi r3, r1, 0x50 +/* 8003C7F4 00039754 48 07 21 C1 */ bl "__ct__20TCastToPtr<7CEntity>FP7CEntity" +/* 8003C7F8 00039758 80 83 00 04 */ lwz r4, 4(r3) +/* 8003C7FC 0003975C 28 04 00 00 */ cmplwi r4, 0 +/* 8003C800 00039760 41 82 01 CC */ beq lbl_8003C9CC +/* 8003C804 00039764 A0 1D 05 38 */ lhz r0, 0x538(r29) +/* 8003C808 00039768 7F E3 FB 78 */ mr r3, r31 +/* 8003C80C 0003976C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8003C810 00039770 38 C0 00 05 */ li r6, 5 +/* 8003C814 00039774 B0 01 00 24 */ sth r0, 0x24(r1) +/* 8003C818 00039778 48 00 76 B9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8003C81C 0003977C 48 00 01 B0 */ b lbl_8003C9CC +/* 8003C820 00039780 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C824 00039784 38 60 00 00 */ li r3, 0 +/* 8003C828 00039788 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003C82C 0003978C 98 1D 08 35 */ stb r0, 0x835(r29) +/* 8003C830 00039790 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003C834 00039794 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003C838 00039798 98 1D 08 35 */ stb r0, 0x835(r29) +/* 8003C83C 0003979C 48 00 01 90 */ b lbl_8003C9CC +/* 8003C840 000397A0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8003C844 000397A4 7F E3 FB 78 */ mr r3, r31 +/* 8003C848 000397A8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8003C84C 000397AC 3B 40 00 00 */ li r26, 0 +/* 8003C850 000397B0 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8003C854 000397B4 3B 20 00 00 */ li r25, 0 +/* 8003C858 000397B8 48 00 FD 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8003C85C 000397BC 7C 64 1B 78 */ mr r4, r3 +/* 8003C860 000397C0 38 61 00 40 */ addi r3, r1, 0x40 +/* 8003C864 000397C4 48 07 24 65 */ bl "__ct__31TCastToPtr<17CEnergyProjectile>FP7CEntity" +/* 8003C868 000397C8 80 63 00 04 */ lwz r3, 4(r3) +/* 8003C86C 000397CC 28 03 00 00 */ cmplwi r3, 0 +/* 8003C870 000397D0 41 82 00 24 */ beq lbl_8003C894 +/* 8003C874 000397D4 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 8003C878 000397D8 54 00 04 E6 */ rlwinm r0, r0, 0, 0x13, 0x13 +/* 8003C87C 000397DC 2C 00 10 00 */ cmpwi r0, 0x1000 +/* 8003C880 000397E0 40 82 00 14 */ bne lbl_8003C894 +/* 8003C884 000397E4 C0 03 01 50 */ lfs f0, 0x150(r3) +/* 8003C888 000397E8 3B 40 00 01 */ li r26, 1 +/* 8003C88C 000397EC D0 1D 03 94 */ stfs f0, 0x394(r29) +/* 8003C890 000397F0 48 00 00 8C */ b lbl_8003C91C +lbl_8003C894: +/* 8003C894 000397F4 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8003C898 000397F8 7F E3 FB 78 */ mr r3, r31 +/* 8003C89C 000397FC 38 81 00 1C */ addi r4, r1, 0x1c +/* 8003C8A0 00039800 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8003C8A4 00039804 48 00 FD 01 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8003C8A8 00039808 7C 64 1B 78 */ mr r4, r3 +/* 8003C8AC 0003980C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8003C8B0 00039810 48 07 01 AD */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8003C8B4 00039814 80 63 00 04 */ lwz r3, 4(r3) +/* 8003C8B8 00039818 28 03 00 00 */ cmplwi r3, 0 +/* 8003C8BC 0003981C 41 82 00 60 */ beq lbl_8003C91C +/* 8003C8C0 00039820 88 03 04 02 */ lbz r0, 0x402(r3) +/* 8003C8C4 00039824 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8003C8C8 00039828 41 82 00 54 */ beq lbl_8003C91C +/* 8003C8CC 0003982C C0 03 05 04 */ lfs f0, 0x504(r3) +/* 8003C8D0 00039830 3B 40 00 01 */ li r26, 1 +/* 8003C8D4 00039834 D0 1D 03 94 */ stfs f0, 0x394(r29) +/* 8003C8D8 00039838 A0 9B 02 6C */ lhz r4, 0x26c(r27) +/* 8003C8DC 0003983C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003C8E0 00039840 54 83 04 3E */ clrlwi r3, r4, 0x10 +/* 8003C8E4 00039844 B0 81 00 30 */ sth r4, 0x30(r1) +/* 8003C8E8 00039848 7C 03 00 40 */ cmplw r3, r0 +/* 8003C8EC 0003984C 41 82 00 30 */ beq lbl_8003C91C +/* 8003C8F0 00039850 B0 81 00 18 */ sth r4, 0x18(r1) +/* 8003C8F4 00039854 7F E3 FB 78 */ mr r3, r31 +/* 8003C8F8 00039858 38 81 00 18 */ addi r4, r1, 0x18 +/* 8003C8FC 0003985C 48 00 FC A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8003C900 00039860 7C 64 1B 78 */ mr r4, r3 +/* 8003C904 00039864 38 61 00 34 */ addi r3, r1, 0x34 +/* 8003C908 00039868 48 06 8B CD */ bl sub_800a54d4 +/* 8003C90C 0003986C 48 06 8B 9D */ bl "CastTo<8CMetroid>__10CPatternedFP7CEntity" +/* 8003C910 00039870 7C 03 00 D0 */ neg r0, r3 +/* 8003C914 00039874 7C 00 1B 78 */ or r0, r0, r3 +/* 8003C918 00039878 54 19 0F FE */ srwi r25, r0, 0x1f +lbl_8003C91C: +/* 8003C91C 0003987C 88 9D 08 34 */ lbz r4, 0x834(r29) +/* 8003C920 00039880 54 80 FF FF */ rlwinm. r0, r4, 0x1f, 0x1f, 0x1f +/* 8003C924 00039884 40 82 00 A8 */ bne lbl_8003C9CC +/* 8003C928 00039888 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8003C92C 0003988C 41 82 00 1C */ beq lbl_8003C948 +/* 8003C930 00039890 38 00 00 00 */ li r0, 0 +/* 8003C934 00039894 7F A3 EB 78 */ mr r3, r29 +/* 8003C938 00039898 50 04 07 FE */ rlwimi r4, r0, 0, 0x1f, 0x1f +/* 8003C93C 0003989C 98 9D 08 34 */ stb r4, 0x834(r29) +/* 8003C940 000398A0 7F E4 FB 78 */ mr r4, r31 +/* 8003C944 000398A4 48 00 01 15 */ bl CancelFiring__10CPlayerGunFR13CStateManager +lbl_8003C948: +/* 8003C948 000398A8 57 20 06 3E */ clrlwi r0, r25, 0x18 +/* 8003C94C 000398AC 7F A3 EB 78 */ mr r3, r29 +/* 8003C950 000398B0 7C 00 00 34 */ cntlzw r0, r0 +/* 8003C954 000398B4 7F E6 FB 78 */ mr r6, r31 +/* 8003C958 000398B8 54 05 D9 7E */ srwi r5, r0, 5 +/* 8003C95C 000398BC 57 44 06 3E */ clrlwi r4, r26, 0x18 +/* 8003C960 000398C0 48 00 02 69 */ bl TakeDamage__10CPlayerGunFbbR13CStateManager +/* 8003C964 000398C4 88 1D 08 34 */ lbz r0, 0x834(r29) +/* 8003C968 000398C8 53 40 0F BC */ rlwimi r0, r26, 1, 0x1e, 0x1e +/* 8003C96C 000398CC 98 1D 08 34 */ stb r0, 0x834(r29) +/* 8003C970 000398D0 48 00 00 5C */ b lbl_8003C9CC +/* 8003C974 000398D4 88 1B 07 60 */ lbz r0, 0x760(r27) +/* 8003C978 000398D8 28 00 00 00 */ cmplwi r0, 0 +/* 8003C97C 000398DC 41 82 00 50 */ beq lbl_8003C9CC +/* 8003C980 000398E0 88 1D 08 34 */ lbz r0, 0x834(r29) +/* 8003C984 000398E4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8003C988 000398E8 40 82 00 44 */ bne lbl_8003C9CC +/* 8003C98C 000398EC 38 00 00 00 */ li r0, 0 +/* 8003C990 000398F0 7F E4 FB 78 */ mr r4, r31 +/* 8003C994 000398F4 90 1D 02 F4 */ stw r0, 0x2f4(r29) +/* 8003C998 000398F8 90 1D 02 EC */ stw r0, 0x2ec(r29) +/* 8003C99C 000398FC 48 00 00 BD */ bl CancelFiring__10CPlayerGunFR13CStateManager +/* 8003C9A0 00039900 7F A3 EB 78 */ mr r3, r29 +/* 8003C9A4 00039904 7F E6 FB 78 */ mr r6, r31 +/* 8003C9A8 00039908 38 80 00 01 */ li r4, 1 +/* 8003C9AC 0003990C 38 A0 00 00 */ li r5, 0 +/* 8003C9B0 00039910 48 00 02 19 */ bl TakeDamage__10CPlayerGunFbbR13CStateManager +/* 8003C9B4 00039914 C0 02 84 98 */ lfs f0, lbl_805AA1B8@sda21(r2) +/* 8003C9B8 00039918 38 60 00 01 */ li r3, 1 +/* 8003C9BC 0003991C D0 1D 03 94 */ stfs f0, 0x394(r29) +/* 8003C9C0 00039920 88 1D 08 34 */ lbz r0, 0x834(r29) +/* 8003C9C4 00039924 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003C9C8 00039928 98 1D 08 34 */ stb r0, 0x834(r29) +lbl_8003C9CC: +/* 8003C9CC 0003992C A0 1E 00 00 */ lhz r0, 0(r30) +/* 8003C9D0 00039930 7F 84 E3 78 */ mr r4, r28 +/* 8003C9D4 00039934 7F E6 FB 78 */ mr r6, r31 +/* 8003C9D8 00039938 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8003C9DC 0003993C B0 01 00 14 */ sth r0, 0x14(r1) +/* 8003C9E0 00039940 80 7D 07 40 */ lwz r3, 0x740(r29) +/* 8003C9E4 00039944 48 0E 0F 1D */ bl AcceptScriptMsg__11CGrappleArmF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8003C9E8 00039948 80 7D 07 58 */ lwz r3, 0x758(r29) +/* 8003C9EC 0003994C 7F 84 E3 78 */ mr r4, r28 +/* 8003C9F0 00039950 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8003C9F4 00039954 7F E6 FB 78 */ mr r6, r31 +/* 8003C9F8 00039958 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8003C9FC 0003995C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8003CA00 00039960 48 0A 24 E5 */ bl AcceptScriptMsg__11CPlasmaBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8003CA04 00039964 80 7D 07 5C */ lwz r3, 0x75c(r29) +/* 8003CA08 00039968 7F 84 E3 78 */ mr r4, r28 +/* 8003CA0C 0003996C A0 1E 00 00 */ lhz r0, 0(r30) +/* 8003CA10 00039970 7F E6 FB 78 */ mr r6, r31 +/* 8003CA14 00039974 38 A1 00 0C */ addi r5, r1, 0xc +/* 8003CA18 00039978 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8003CA1C 0003997C 48 14 F8 0D */ bl AcceptScriptMsg__11CPhazonBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8003CA20 00039980 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8003CA24 00039984 7F 84 E3 78 */ mr r4, r28 +/* 8003CA28 00039988 7F E6 FB 78 */ mr r6, r31 +/* 8003CA2C 0003998C 38 A1 00 08 */ addi r5, r1, 8 +/* 8003CA30 00039990 B0 01 00 08 */ sth r0, 8(r1) +/* 8003CA34 00039994 80 7D 07 44 */ lwz r3, 0x744(r29) +/* 8003CA38 00039998 48 17 BF F5 */ bl AcceptScriptMsg__10CAuxWeaponF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8003CA3C 0003999C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8003CA40 000399A0 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8003CA44 000399A4 BB 21 00 84 */ lmw r25, 0x84(r1) +/* 8003CA48 000399A8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8003CA4C 000399AC 7C 08 03 A6 */ mtlr r0 +/* 8003CA50 000399B0 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8003CA54 000399B4 4E 80 00 20 */ blr + +.global CancelFiring__10CPlayerGunFR13CStateManager +CancelFiring__10CPlayerGunFR13CStateManager: +/* 8003CA58 000399B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003CA5C 000399BC 7C 08 02 A6 */ mflr r0 +/* 8003CA60 000399C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003CA64 000399C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003CA68 000399C8 7C 9F 23 78 */ mr r31, r4 +/* 8003CA6C 000399CC 93 C1 00 08 */ stw r30, 8(r1) +/* 8003CA70 000399D0 7C 7E 1B 78 */ mr r30, r3 +/* 8003CA74 000399D4 80 03 03 2C */ lwz r0, 0x32c(r3) +/* 8003CA78 000399D8 2C 00 00 08 */ cmpwi r0, 8 +/* 8003CA7C 000399DC 40 82 00 0C */ bne lbl_8003CA88 +/* 8003CA80 000399E0 38 A0 00 01 */ li r5, 1 +/* 8003CA84 000399E4 4B FF F1 B5 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb +lbl_8003CA88: +/* 8003CA88 000399E8 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003CA8C 000399EC 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 8003CA90 000399F0 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003CA94 000399F4 40 82 00 4C */ bne lbl_8003CAE0 +/* 8003CA98 000399F8 7F C3 F3 78 */ mr r3, r30 +/* 8003CA9C 000399FC 7F E4 FB 78 */ mr r4, r31 +/* 8003CAA0 00039A00 38 A0 00 01 */ li r5, 1 +/* 8003CAA4 00039A04 4B FF F9 0D */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb +/* 8003CAA8 00039A08 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003CAAC 00039A0C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 8003CAB0 00039A10 2C 00 00 08 */ cmpwi r0, 8 +/* 8003CAB4 00039A14 41 82 00 20 */ beq lbl_8003CAD4 +/* 8003CAB8 00039A18 80 7E 02 F8 */ lwz r3, 0x2f8(r30) +/* 8003CABC 00039A1C 38 00 FF E9 */ li r0, -23 +/* 8003CAC0 00039A20 60 63 00 01 */ ori r3, r3, 1 +/* 8003CAC4 00039A24 90 7E 02 F8 */ stw r3, 0x2f8(r30) +/* 8003CAC8 00039A28 80 7E 02 F8 */ lwz r3, 0x2f8(r30) +/* 8003CACC 00039A2C 7C 60 00 38 */ and r0, r3, r0 +/* 8003CAD0 00039A30 90 1E 02 F8 */ stw r0, 0x2f8(r30) +lbl_8003CAD4: +/* 8003CAD4 00039A34 38 00 00 00 */ li r0, 0 +/* 8003CAD8 00039A38 90 1E 03 18 */ stw r0, 0x318(r30) +/* 8003CADC 00039A3C 90 1E 03 1C */ stw r0, 0x31c(r30) +lbl_8003CAE0: +/* 8003CAE0 00039A40 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 8003CAE4 00039A44 2C 00 00 00 */ cmpwi r0, 0 +/* 8003CAE8 00039A48 41 82 00 34 */ beq lbl_8003CB1C +/* 8003CAEC 00039A4C 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003CAF0 00039A50 38 80 00 00 */ li r4, 0 +/* 8003CAF4 00039A54 38 A0 00 00 */ li r5, 0 +/* 8003CAF8 00039A58 48 17 F4 91 */ bl ActivateCharge__10CGunWeaponFbb +/* 8003CAFC 00039A5C 7F C3 F3 78 */ mr r3, r30 +/* 8003CB00 00039A60 7F E5 FB 78 */ mr r5, r31 +/* 8003CB04 00039A64 38 80 00 00 */ li r4, 0 +/* 8003CB08 00039A68 4B FF E9 69 */ bl SetGunLightActive__10CPlayerGunFbR13CStateManager +/* 8003CB0C 00039A6C 7F C3 F3 78 */ mr r3, r30 +/* 8003CB10 00039A70 7F E4 FB 78 */ mr r4, r31 +/* 8003CB14 00039A74 38 A0 00 01 */ li r5, 1 +/* 8003CB18 00039A78 48 00 26 C5 */ bl ResetCharge__10CPlayerGunFR13CStateManagerb +lbl_8003CB1C: +/* 8003CB1C 00039A7C 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003CB20 00039A80 7F C3 F3 78 */ mr r3, r30 +/* 8003CB24 00039A84 7F E4 FB 78 */ mr r4, r31 +/* 8003CB28 00039A88 54 05 07 BC */ rlwinm r5, r0, 0, 0x1e, 0x1e +/* 8003CB2C 00039A8C 38 05 FF FE */ addi r0, r5, -2 +/* 8003CB30 00039A90 7C 00 00 34 */ cntlzw r0, r0 +/* 8003CB34 00039A94 54 05 D9 7E */ srwi r5, r0, 5 +/* 8003CB38 00039A98 48 00 28 09 */ bl Reset__10CPlayerGunFR13CStateManager +/* 8003CB3C 00039A9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003CB40 00039AA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003CB44 00039AA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003CB48 00039AA8 7C 08 03 A6 */ mtlr r0 +/* 8003CB4C 00039AAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003CB50 00039AB0 4E 80 00 20 */ blr + +.global StopChargeSound__10CPlayerGunFR13CStateManager +StopChargeSound__10CPlayerGunFR13CStateManager: +/* 8003CB54 00039AB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003CB58 00039AB8 7C 08 02 A6 */ mflr r0 +/* 8003CB5C 00039ABC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003CB60 00039AC0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003CB64 00039AC4 7C 9F 23 78 */ mr r31, r4 +/* 8003CB68 00039AC8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003CB6C 00039ACC 7C 7E 1B 78 */ mr r30, r3 +/* 8003CB70 00039AD0 80 03 02 E0 */ lwz r0, 0x2e0(r3) +/* 8003CB74 00039AD4 28 00 00 00 */ cmplwi r0, 0 +/* 8003CB78 00039AD8 41 82 00 1C */ beq lbl_8003CB94 +/* 8003CB7C 00039ADC 80 1E 02 E0 */ lwz r0, 0x2e0(r30) +/* 8003CB80 00039AE0 38 61 00 08 */ addi r3, r1, 8 +/* 8003CB84 00039AE4 90 01 00 08 */ stw r0, 8(r1) +/* 8003CB88 00039AE8 48 2A D1 C1 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 8003CB8C 00039AEC 38 00 00 00 */ li r0, 0 +/* 8003CB90 00039AF0 90 1E 02 E0 */ stw r0, 0x2e0(r30) +lbl_8003CB94: +/* 8003CB94 00039AF4 A8 9E 08 30 */ lha r4, 0x830(r30) +/* 8003CB98 00039AF8 2C 04 FF FF */ cmpwi r4, -1 +/* 8003CB9C 00039AFC 41 82 00 14 */ beq lbl_8003CBB0 +/* 8003CBA0 00039B00 80 7F 08 8C */ lwz r3, 0x88c(r31) +/* 8003CBA4 00039B04 48 1F 15 71 */ bl StopRumble__14CRumbleManagerFs +/* 8003CBA8 00039B08 38 00 FF FF */ li r0, -1 +/* 8003CBAC 00039B0C B0 1E 08 30 */ sth r0, 0x830(r30) +lbl_8003CBB0: +/* 8003CBB0 00039B10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003CBB4 00039B14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003CBB8 00039B18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003CBBC 00039B1C 7C 08 03 A6 */ mtlr r0 +/* 8003CBC0 00039B20 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003CBC4 00039B24 4E 80 00 20 */ blr + +.global TakeDamage__10CPlayerGunFbbR13CStateManager +TakeDamage__10CPlayerGunFbbR13CStateManager: +/* 8003CBC8 00039B28 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8003CBCC 00039B2C 7C 08 02 A6 */ mflr r0 +/* 8003CBD0 00039B30 90 01 00 54 */ stw r0, 0x54(r1) +/* 8003CBD4 00039B34 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8003CBD8 00039B38 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8003CBDC 00039B3C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8003CBE0 00039B40 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8003CBE4 00039B44 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8003CBE8 00039B48 93 81 00 30 */ stw r28, 0x30(r1) +/* 8003CBEC 00039B4C 7C 7C 1B 78 */ mr r28, r3 +/* 8003CBF0 00039B50 7C DF 33 78 */ mr r31, r6 +/* 8003CBF4 00039B54 C0 23 03 98 */ lfs f1, 0x398(r3) +/* 8003CBF8 00039B58 7C 9D 23 78 */ mr r29, r4 +/* 8003CBFC 00039B5C C0 02 84 9C */ lfs f0, lbl_805AA1BC@sda21(r2) +/* 8003CC00 00039B60 7C BE 2B 78 */ mr r30, r5 +/* 8003CC04 00039B64 80 86 08 4C */ lwz r4, 0x84c(r6) +/* 8003CC08 00039B68 38 60 00 00 */ li r3, 0 +/* 8003CC0C 00039B6C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003CC10 00039B70 C3 E2 84 6C */ lfs f31, lbl_805AA18C@sda21(r2) +/* 8003CC14 00039B74 4C 41 13 82 */ cror 2, 1, 2 +/* 8003CC18 00039B78 40 82 00 C8 */ bne lbl_8003CCE0 +/* 8003CC1C 00039B7C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8003CC20 00039B80 40 82 00 C0 */ bne lbl_8003CCE0 +/* 8003CC24 00039B84 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 8003CC28 00039B88 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 8003CC2C 00039B8C 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003CC30 00039B90 41 82 00 B0 */ beq lbl_8003CCE0 +/* 8003CC34 00039B94 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 8003CC38 00039B98 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8003CC3C 00039B9C 40 82 00 A4 */ bne lbl_8003CCE0 +/* 8003CC40 00039BA0 C0 1C 03 84 */ lfs f0, 0x384(r28) +/* 8003CC44 00039BA4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8003CC48 00039BA8 4C 40 13 82 */ cror 2, 0, 2 +/* 8003CC4C 00039BAC 40 82 00 94 */ bne lbl_8003CCE0 +/* 8003CC50 00039BB0 C0 22 84 A0 */ lfs f1, lbl_805AA1C0@sda21(r2) +/* 8003CC54 00039BB4 C0 02 84 98 */ lfs f0, lbl_805AA1B8@sda21(r2) +/* 8003CC58 00039BB8 D0 3C 03 84 */ stfs f1, 0x384(r28) +/* 8003CC5C 00039BBC D0 1C 03 64 */ stfs f0, 0x364(r28) +/* 8003CC60 00039BC0 80 1C 06 98 */ lwz r0, 0x698(r28) +/* 8003CC64 00039BC4 2C 00 00 01 */ cmpwi r0, 1 +/* 8003CC68 00039BC8 40 82 00 78 */ bne lbl_8003CCE0 +/* 8003CC6C 00039BCC 38 61 00 08 */ addi r3, r1, 8 +/* 8003CC70 00039BD0 38 84 00 34 */ addi r4, r4, 0x34 +/* 8003CC74 00039BD4 38 BC 03 DC */ addi r5, r28, 0x3dc +/* 8003CC78 00039BD8 48 2D 5D AD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8003CC7C 00039BDC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8003CC80 00039BE0 C0 41 00 08 */ lfs f2, 8(r1) +/* 8003CC84 00039BE4 48 35 7F E9 */ bl atan2 +/* 8003CC88 00039BE8 FC 80 08 18 */ frsp f4, f1 +/* 8003CC8C 00039BEC C0 02 84 A4 */ lfs f0, lbl_805AA1C4@sda21(r2) +/* 8003CC90 00039BF0 3C 00 43 30 */ lis r0, 0x4330 +/* 8003CC94 00039BF4 C8 62 84 B0 */ lfd f3, lbl_805AA1D0@sda21(r2) +/* 8003CC98 00039BF8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8003CC9C 00039BFC EC 44 00 32 */ fmuls f2, f4, f0 +/* 8003CCA0 00039C00 C0 22 84 A8 */ lfs f1, lbl_805AA1C8@sda21(r2) +/* 8003CCA4 00039C04 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003CCA8 00039C08 FC 40 10 1E */ fctiwz f2, f2 +/* 8003CCAC 00039C0C D8 41 00 18 */ stfd f2, 0x18(r1) +/* 8003CCB0 00039C10 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8003CCB4 00039C14 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8003CCB8 00039C18 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003CCBC 00039C1C C8 41 00 20 */ lfd f2, 0x20(r1) +/* 8003CCC0 00039C20 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8003CCC4 00039C24 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 8003CCC8 00039C28 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8003CCCC 00039C2C 40 80 00 08 */ bge lbl_8003CCD4 +/* 8003CCD0 00039C30 EC 42 08 2A */ fadds f2, f2, f1 +lbl_8003CCD4: +/* 8003CCD4 00039C34 C0 02 84 AC */ lfs f0, lbl_805AA1CC@sda21(r2) +/* 8003CCD8 00039C38 38 60 00 01 */ li r3, 1 +/* 8003CCDC 00039C3C EF E0 00 B2 */ fmuls f31, f0, f2 +lbl_8003CCE0: +/* 8003CCE0 00039C40 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003CCE4 00039C44 40 82 00 0C */ bne lbl_8003CCF0 +/* 8003CCE8 00039C48 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8003CCEC 00039C4C 41 82 00 70 */ beq lbl_8003CD5C +lbl_8003CCF0: +/* 8003CCF0 00039C50 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8003CCF4 00039C54 80 63 00 00 */ lwz r3, 0(r3) +/* 8003CCF8 00039C58 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8003CCFC 00039C5C 2C 00 00 02 */ cmpwi r0, 2 +/* 8003CD00 00039C60 41 82 00 5C */ beq lbl_8003CD5C +/* 8003CD04 00039C64 FC 20 F8 90 */ fmr f1, f31 +/* 8003CD08 00039C68 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003CD0C 00039C6C 7F E5 FB 78 */ mr r5, r31 +/* 8003CD10 00039C70 7F A6 EB 78 */ mr r6, r29 +/* 8003CD14 00039C74 38 80 00 02 */ li r4, 2 +/* 8003CD18 00039C78 48 19 C4 A1 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb +/* 8003CD1C 00039C7C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8003CD20 00039C80 41 82 00 0C */ beq lbl_8003CD2C +/* 8003CD24 00039C84 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8003CD28 00039C88 40 82 00 10 */ bne lbl_8003CD38 +lbl_8003CD2C: +/* 8003CD2C 00039C8C 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003CD30 00039C90 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8003CD34 00039C94 41 82 00 28 */ beq lbl_8003CD5C +lbl_8003CD38: +/* 8003CD38 00039C98 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003CD3C 00039C9C FC 20 F8 90 */ fmr f1, f31 +/* 8003CD40 00039CA0 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 8003CD44 00039CA4 7F E4 FB 78 */ mr r4, r31 +/* 8003CD48 00039CA8 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8003CD4C 00039CAC 7F A5 EB 78 */ mr r5, r29 +/* 8003CD50 00039CB0 7C 00 00 34 */ cntlzw r0, r0 +/* 8003CD54 00039CB4 54 06 D9 7E */ srwi r6, r0, 5 +/* 8003CD58 00039CB8 48 0E 10 D9 */ bl EnterStruck__11CGrappleArmFR13CStateManagerf +lbl_8003CD5C: +/* 8003CD5C 00039CBC C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003CD60 00039CC0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8003CD64 00039CC4 D0 1C 03 98 */ stfs f0, 0x398(r28) +/* 8003CD68 00039CC8 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8003CD6C 00039CCC D0 1C 03 DC */ stfs f0, 0x3dc(r28) +/* 8003CD70 00039CD0 C0 03 00 04 */ lfs f0, 4(r3) +/* 8003CD74 00039CD4 D0 1C 03 E0 */ stfs f0, 0x3e0(r28) +/* 8003CD78 00039CD8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8003CD7C 00039CDC D0 1C 03 E4 */ stfs f0, 0x3e4(r28) +/* 8003CD80 00039CE0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8003CD84 00039CE4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8003CD88 00039CE8 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8003CD8C 00039CEC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8003CD90 00039CF0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8003CD94 00039CF4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8003CD98 00039CF8 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8003CD9C 00039CFC 7C 08 03 A6 */ mtlr r0 +/* 8003CDA0 00039D00 38 21 00 50 */ addi r1, r1, 0x50 +/* 8003CDA4 00039D04 4E 80 00 20 */ blr + +.global DamageRumble__10CPlayerGunFRC9CVector3fRC13CStateManager +DamageRumble__10CPlayerGunFRC9CVector3fRC13CStateManager: +/* 8003CDA8 00039D08 D0 23 03 98 */ stfs f1, 0x398(r3) +/* 8003CDAC 00039D0C C0 04 00 00 */ lfs f0, 0(r4) +/* 8003CDB0 00039D10 D0 03 03 DC */ stfs f0, 0x3dc(r3) +/* 8003CDB4 00039D14 C0 04 00 04 */ lfs f0, 4(r4) +/* 8003CDB8 00039D18 D0 03 03 E0 */ stfs f0, 0x3e0(r3) +/* 8003CDBC 00039D1C C0 04 00 08 */ lfs f0, 8(r4) +/* 8003CDC0 00039D20 D0 03 03 E4 */ stfs f0, 0x3e4(r3) +/* 8003CDC4 00039D24 4E 80 00 20 */ blr + +.global Update__Q210CPlayerGun12CMotionStateFbfR12CTransform4fR13CStateManager +Update__Q210CPlayerGun12CMotionStateFbfR12CTransform4fR13CStateManager: +/* 8003CDC8 00039D28 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 8003CDCC 00039D2C 7C 08 02 A6 */ mflr r0 +/* 8003CDD0 00039D30 90 01 02 84 */ stw r0, 0x284(r1) +/* 8003CDD4 00039D34 DB E1 02 70 */ stfd f31, 0x270(r1) +/* 8003CDD8 00039D38 F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 +/* 8003CDDC 00039D3C 93 E1 02 6C */ stw r31, 0x26c(r1) +/* 8003CDE0 00039D40 93 C1 02 68 */ stw r30, 0x268(r1) +/* 8003CDE4 00039D44 93 A1 02 64 */ stw r29, 0x264(r1) +/* 8003CDE8 00039D48 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8003CDEC 00039D4C FF E0 08 90 */ fmr f31, f1 +/* 8003CDF0 00039D50 7C 7D 1B 78 */ mr r29, r3 +/* 8003CDF4 00039D54 7C BE 2B 78 */ mr r30, r5 +/* 8003CDF8 00039D58 7C DF 33 78 */ mr r31, r6 +/* 8003CDFC 00039D5C 41 82 00 18 */ beq lbl_8003CE14 +/* 8003CE00 00039D60 38 00 00 01 */ li r0, 1 +/* 8003CE04 00039D64 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003CE08 00039D68 90 1D 00 24 */ stw r0, 0x24(r29) +/* 8003CE0C 00039D6C D0 1D 00 08 */ stfs f0, 8(r29) +/* 8003CE10 00039D70 48 00 00 30 */ b lbl_8003CE40 +lbl_8003CE14: +/* 8003CE14 00039D74 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8003CE18 00039D78 2C 00 00 00 */ cmpwi r0, 0 +/* 8003CE1C 00039D7C 41 82 00 24 */ beq lbl_8003CE40 +/* 8003CE20 00039D80 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8003CE24 00039D84 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8003CE28 00039D88 40 81 00 0C */ ble lbl_8003CE34 +/* 8003CE2C 00039D8C 38 00 00 02 */ li r0, 2 +/* 8003CE30 00039D90 90 1D 00 24 */ stw r0, 0x24(r29) +lbl_8003CE34: +/* 8003CE34 00039D94 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8003CE38 00039D98 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8003CE3C 00039D9C D0 1D 00 08 */ stfs f0, 8(r29) +lbl_8003CE40: +/* 8003CE40 00039DA0 88 1D 00 00 */ lbz r0, 0(r29) +/* 8003CE44 00039DA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8003CE48 00039DA8 41 82 00 94 */ beq lbl_8003CEDC +/* 8003CE4C 00039DAC 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8003CE50 00039DB0 2C 00 00 02 */ cmpwi r0, 2 +/* 8003CE54 00039DB4 40 82 00 88 */ bne lbl_8003CEDC +/* 8003CE58 00039DB8 C0 82 84 7C */ lfs f4, lbl_805AA19C@sda21(r2) +/* 8003CE5C 00039DBC 38 61 01 CC */ addi r3, r1, 0x1cc +/* 8003CE60 00039DC0 C0 0D 82 20 */ lfs f0, lbl_805A6DE0@sda21(r13) +/* 8003CE64 00039DC4 38 81 00 0C */ addi r4, r1, 0xc +/* 8003CE68 00039DC8 C0 BD 00 0C */ lfs f5, 0xc(r29) +/* 8003CE6C 00039DCC EC 24 00 24 */ fdivs f1, f4, f0 +/* 8003CE70 00039DD0 C0 02 84 BC */ lfs f0, lbl_805AA1DC@sda21(r2) +/* 8003CE74 00039DD4 C0 42 84 78 */ lfs f2, lbl_805AA198@sda21(r2) +/* 8003CE78 00039DD8 C0 62 84 B8 */ lfs f3, lbl_805AA1D8@sda21(r2) +/* 8003CE7C 00039DDC EC A5 00 72 */ fmuls f5, f5, f1 +/* 8003CE80 00039DE0 EC 20 01 72 */ fmuls f1, f0, f5 +/* 8003CE84 00039DE4 EC 05 20 28 */ fsubs f0, f5, f4 +/* 8003CE88 00039DE8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8003CE8C 00039DEC EC 02 00 32 */ fmuls f0, f2, f0 +/* 8003CE90 00039DF0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8003CE94 00039DF4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8003CE98 00039DF8 48 2D 69 79 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8003CE9C 00039DFC 38 61 02 2C */ addi r3, r1, 0x22c +/* 8003CEA0 00039E00 38 81 01 CC */ addi r4, r1, 0x1cc +/* 8003CEA4 00039E04 48 2D 5C D1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8003CEA8 00039E08 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8003CEAC 00039E0C 7F C4 F3 78 */ mr r4, r30 +/* 8003CEB0 00039E10 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003CEB4 00039E14 38 61 01 9C */ addi r3, r1, 0x19c +/* 8003CEB8 00039E18 D0 21 02 48 */ stfs f1, 0x248(r1) +/* 8003CEBC 00039E1C 38 A1 02 2C */ addi r5, r1, 0x22c +/* 8003CEC0 00039E20 D0 01 02 38 */ stfs f0, 0x238(r1) +/* 8003CEC4 00039E24 D0 01 02 58 */ stfs f0, 0x258(r1) +/* 8003CEC8 00039E28 48 2D 5A 89 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8003CECC 00039E2C 7F C3 F3 78 */ mr r3, r30 +/* 8003CED0 00039E30 38 81 01 9C */ addi r4, r1, 0x19c +/* 8003CED4 00039E34 48 2D 5C 6D */ bl __as__12CTransform4fFRC12CTransform4f +/* 8003CED8 00039E38 48 00 02 44 */ b lbl_8003D11C +lbl_8003CEDC: +/* 8003CEDC 00039E3C 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8003CEE0 00039E40 2C 00 00 01 */ cmpwi r0, 1 +/* 8003CEE4 00039E44 41 82 00 0C */ beq lbl_8003CEF0 +/* 8003CEE8 00039E48 2C 00 00 02 */ cmpwi r0, 2 +/* 8003CEEC 00039E4C 40 82 02 00 */ bne lbl_8003D0EC +lbl_8003CEF0: +/* 8003CEF0 00039E50 C0 5D 00 14 */ lfs f2, 0x14(r29) +/* 8003CEF4 00039E54 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 8003CEF8 00039E58 C8 02 84 C0 */ lfd f0, lbl_805AA1E0@sda21(r2) +/* 8003CEFC 00039E5C EC 22 08 28 */ fsubs f1, f2, f1 +/* 8003CF00 00039E60 FC 20 0A 10 */ fabs f1, f1 +/* 8003CF04 00039E64 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003CF08 00039E68 40 80 00 C8 */ bge lbl_8003CFD0 +/* 8003CF0C 00039E6C C0 3D 00 1C */ lfs f1, 0x1c(r29) +/* 8003CF10 00039E70 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003CF14 00039E74 D0 3D 00 18 */ stfs f1, 0x18(r29) +/* 8003CF18 00039E78 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8003CF1C 00039E7C 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8003CF20 00039E80 2C 00 00 01 */ cmpwi r0, 1 +/* 8003CF24 00039E84 40 82 00 88 */ bne lbl_8003CFAC +/* 8003CF28 00039E88 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8003CF2C 00039E8C 48 2D 55 F5 */ bl Next__9CRandom16Fv +/* 8003CF30 00039E90 3C 80 88 89 */ lis r4, 0x88888889@ha +/* 8003CF34 00039E94 38 04 88 89 */ addi r0, r4, 0x88888889@l +/* 8003CF38 00039E98 7C 00 18 96 */ mulhw r0, r0, r3 +/* 8003CF3C 00039E9C 7C 00 1A 14 */ add r0, r0, r3 +/* 8003CF40 00039EA0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8003CF44 00039EA4 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8003CF48 00039EA8 7C 00 22 14 */ add r0, r0, r4 +/* 8003CF4C 00039EAC 1C 00 00 0F */ mulli r0, r0, 0xf +/* 8003CF50 00039EB0 7C 00 18 50 */ subf r0, r0, r3 +/* 8003CF54 00039EB4 B0 01 00 08 */ sth r0, 8(r1) +/* 8003CF58 00039EB8 E0 01 D0 08 */ psq_l f0, 8(r1), 1, qr5 +/* 8003CF5C 00039EBC D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 8003CF60 00039EC0 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8003CF64 00039EC4 48 2D 55 BD */ bl Next__9CRandom16Fv +/* 8003CF68 00039EC8 3C 80 51 EC */ lis r4, 0x51EB851F@ha +/* 8003CF6C 00039ECC 38 04 85 1F */ addi r0, r4, 0x51EB851F@l +/* 8003CF70 00039ED0 7C 00 18 96 */ mulhw r0, r0, r3 +/* 8003CF74 00039ED4 7C 00 2E 70 */ srawi r0, r0, 5 +/* 8003CF78 00039ED8 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8003CF7C 00039EDC 7C 00 22 14 */ add r0, r0, r4 +/* 8003CF80 00039EE0 1C 00 00 64 */ mulli r0, r0, 0x64 +/* 8003CF84 00039EE4 7C 00 18 50 */ subf r0, r0, r3 +/* 8003CF88 00039EE8 2C 00 00 2D */ cmpwi r0, 0x2d +/* 8003CF8C 00039EEC 40 81 00 0C */ ble lbl_8003CF98 +/* 8003CF90 00039EF0 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 8003CF94 00039EF4 48 00 00 08 */ b lbl_8003CF9C +lbl_8003CF98: +/* 8003CF98 00039EF8 C0 22 84 C8 */ lfs f1, lbl_805AA1E8@sda21(r2) +lbl_8003CF9C: +/* 8003CF9C 00039EFC C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 8003CFA0 00039F00 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8003CFA4 00039F04 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 8003CFA8 00039F08 48 00 00 3C */ b lbl_8003CFE4 +lbl_8003CFAC: +/* 8003CFAC 00039F0C D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 8003CFB0 00039F10 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 8003CFB4 00039F14 C0 3D 00 1C */ lfs f1, 0x1c(r29) +/* 8003CFB8 00039F18 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 8003CFBC 00039F1C 40 82 00 28 */ bne lbl_8003CFE4 +/* 8003CFC0 00039F20 D0 3D 00 10 */ stfs f1, 0x10(r29) +/* 8003CFC4 00039F24 38 00 00 00 */ li r0, 0 +/* 8003CFC8 00039F28 90 1D 00 24 */ stw r0, 0x24(r29) +/* 8003CFCC 00039F2C 48 00 00 18 */ b lbl_8003CFE4 +lbl_8003CFD0: +/* 8003CFD0 00039F30 C0 3D 00 18 */ lfs f1, 0x18(r29) +/* 8003CFD4 00039F34 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 8003CFD8 00039F38 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8003CFDC 00039F3C EC 02 08 3A */ fmadds f0, f2, f0, f1 +/* 8003CFE0 00039F40 D0 1D 00 10 */ stfs f0, 0x10(r29) +lbl_8003CFE4: +/* 8003CFE4 00039F44 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003CFE8 00039F48 38 61 00 20 */ addi r3, r1, 0x20 +/* 8003CFEC 00039F4C C0 5D 00 14 */ lfs f2, 0x14(r29) +/* 8003CFF0 00039F50 38 81 00 14 */ addi r4, r1, 0x14 +/* 8003CFF4 00039F54 C0 22 84 9C */ lfs f1, lbl_805AA1BC@sda21(r2) +/* 8003CFF8 00039F58 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8003CFFC 00039F5C C0 62 84 CC */ lfs f3, lbl_805AA1EC@sda21(r2) +/* 8003D000 00039F60 EC 81 07 F2 */ fmuls f4, f1, f31 +/* 8003D004 00039F64 C0 22 84 B8 */ lfs f1, lbl_805AA1D8@sda21(r2) +/* 8003D008 00039F68 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8003D00C 00039F6C EC 04 10 3A */ fmadds f0, f4, f0, f2 +/* 8003D010 00039F70 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8003D014 00039F74 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 8003D018 00039F78 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8003D01C 00039F7C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8003D020 00039F80 C0 5E 00 24 */ lfs f2, 0x24(r30) +/* 8003D024 00039F84 C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 8003D028 00039F88 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8003D02C 00039F8C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8003D030 00039F90 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8003D034 00039F94 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8003D038 00039F98 48 2D 6D 99 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8003D03C 00039F9C 7C 64 1B 78 */ mr r4, r3 +/* 8003D040 00039FA0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8003D044 00039FA4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8003D048 00039FA8 48 2D 42 AD */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 8003D04C 00039FAC C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 8003D050 00039FB0 7F C4 F3 78 */ mr r4, r30 +/* 8003D054 00039FB4 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8003D058 00039FB8 38 61 01 0C */ addi r3, r1, 0x10c +/* 8003D05C 00039FBC C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8003D060 00039FC0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8003D064 00039FC4 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 8003D068 00039FC8 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8003D06C 00039FCC D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8003D070 00039FD0 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8003D074 00039FD4 48 2D 5B CD */ bl GetRotation__12CTransform4fCFv +/* 8003D078 00039FD8 38 61 01 3C */ addi r3, r1, 0x13c +/* 8003D07C 00039FDC 38 81 00 3C */ addi r4, r1, 0x3c +/* 8003D080 00039FE0 48 2D 4F 39 */ bl BuildTransform4f__11CQuaternionCFv +/* 8003D084 00039FE4 38 61 01 6C */ addi r3, r1, 0x16c +/* 8003D088 00039FE8 38 81 01 3C */ addi r4, r1, 0x13c +/* 8003D08C 00039FEC 38 A1 01 0C */ addi r5, r1, 0x10c +/* 8003D090 00039FF0 48 2D 58 C1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8003D094 00039FF4 38 61 01 FC */ addi r3, r1, 0x1fc +/* 8003D098 00039FF8 38 81 01 6C */ addi r4, r1, 0x16c +/* 8003D09C 00039FFC 48 2D 5A D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8003D0A0 0003A000 C0 9E 00 2C */ lfs f4, 0x2c(r30) +/* 8003D0A4 0003A004 38 61 00 AC */ addi r3, r1, 0xac +/* 8003D0A8 0003A008 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003D0AC 0003A00C C0 5E 00 1C */ lfs f2, 0x1c(r30) +/* 8003D0B0 0003A010 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8003D0B4 0003A014 FC 60 08 90 */ fmr f3, f1 +/* 8003D0B8 0003A018 D0 01 02 08 */ stfs f0, 0x208(r1) +/* 8003D0BC 0003A01C D0 41 02 18 */ stfs f2, 0x218(r1) +/* 8003D0C0 0003A020 D0 81 02 28 */ stfs f4, 0x228(r1) +/* 8003D0C4 0003A024 C0 5D 00 0C */ lfs f2, 0xc(r29) +/* 8003D0C8 0003A028 48 2D 60 C1 */ bl Translate__12CTransform4fFfff +/* 8003D0CC 0003A02C 38 61 00 DC */ addi r3, r1, 0xdc +/* 8003D0D0 0003A030 38 81 01 FC */ addi r4, r1, 0x1fc +/* 8003D0D4 0003A034 38 A1 00 AC */ addi r5, r1, 0xac +/* 8003D0D8 0003A038 48 2D 58 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8003D0DC 0003A03C 7F C3 F3 78 */ mr r3, r30 +/* 8003D0E0 0003A040 38 81 00 DC */ addi r4, r1, 0xdc +/* 8003D0E4 0003A044 48 2D 5A 5D */ bl __as__12CTransform4fFRC12CTransform4f +/* 8003D0E8 0003A048 48 00 00 34 */ b lbl_8003D11C +lbl_8003D0EC: +/* 8003D0EC 0003A04C C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003D0F0 0003A050 38 61 00 7C */ addi r3, r1, 0x7c +/* 8003D0F4 0003A054 C0 5D 00 0C */ lfs f2, 0xc(r29) +/* 8003D0F8 0003A058 FC 60 08 90 */ fmr f3, f1 +/* 8003D0FC 0003A05C 48 2D 60 8D */ bl Translate__12CTransform4fFfff +/* 8003D100 0003A060 7F C4 F3 78 */ mr r4, r30 +/* 8003D104 0003A064 38 61 00 4C */ addi r3, r1, 0x4c +/* 8003D108 0003A068 38 A1 00 7C */ addi r5, r1, 0x7c +/* 8003D10C 0003A06C 48 2D 58 45 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8003D110 0003A070 7F C3 F3 78 */ mr r3, r30 +/* 8003D114 0003A074 38 81 00 4C */ addi r4, r1, 0x4c +/* 8003D118 0003A078 48 2D 5A 29 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_8003D11C: +/* 8003D11C 0003A07C 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8003D120 0003A080 2C 00 00 03 */ cmpwi r0, 3 +/* 8003D124 0003A084 41 82 00 54 */ beq lbl_8003D178 +/* 8003D128 0003A088 40 80 00 7C */ bge lbl_8003D1A4 +/* 8003D12C 0003A08C 2C 00 00 02 */ cmpwi r0, 2 +/* 8003D130 0003A090 40 80 00 08 */ bge lbl_8003D138 +/* 8003D134 0003A094 48 00 00 70 */ b lbl_8003D1A4 +lbl_8003D138: +/* 8003D138 0003A098 C0 22 84 D0 */ lfs f1, lbl_805AA1F0@sda21(r2) +/* 8003D13C 0003A09C C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 8003D140 0003A0A0 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 8003D144 0003A0A4 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8003D148 0003A0A8 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 8003D14C 0003A0AC C0 2D 82 20 */ lfs f1, lbl_805A6DE0@sda21(r13) +/* 8003D150 0003A0B0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8003D154 0003A0B4 40 81 00 50 */ ble lbl_8003D1A4 +/* 8003D158 0003A0B8 D0 3D 00 0C */ stfs f1, 0xc(r29) +/* 8003D15C 0003A0BC 38 00 00 01 */ li r0, 1 +/* 8003D160 0003A0C0 38 60 00 00 */ li r3, 0 +/* 8003D164 0003A0C4 90 1D 00 20 */ stw r0, 0x20(r29) +/* 8003D168 0003A0C8 88 1D 00 00 */ lbz r0, 0(r29) +/* 8003D16C 0003A0CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003D170 0003A0D0 98 1D 00 00 */ stb r0, 0(r29) +/* 8003D174 0003A0D4 48 00 00 30 */ b lbl_8003D1A4 +lbl_8003D178: +/* 8003D178 0003A0D8 C0 42 84 D0 */ lfs f2, lbl_805AA1F0@sda21(r2) +/* 8003D17C 0003A0DC C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8003D180 0003A0E0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003D184 0003A0E4 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 +/* 8003D188 0003A0E8 D0 3D 00 0C */ stfs f1, 0xc(r29) +/* 8003D18C 0003A0EC C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8003D190 0003A0F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003D194 0003A0F4 40 80 00 10 */ bge lbl_8003D1A4 +/* 8003D198 0003A0F8 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8003D19C 0003A0FC 38 00 00 00 */ li r0, 0 +/* 8003D1A0 0003A100 90 1D 00 20 */ stw r0, 0x20(r29) +lbl_8003D1A4: +/* 8003D1A4 0003A104 88 7D 00 00 */ lbz r3, 0(r29) +/* 8003D1A8 0003A108 54 60 CF FE */ rlwinm r0, r3, 0x19, 0x1f, 0x1f +/* 8003D1AC 0003A10C 28 00 00 01 */ cmplwi r0, 1 +/* 8003D1B0 0003A110 41 82 00 34 */ beq lbl_8003D1E4 +/* 8003D1B4 0003A114 C0 3D 00 04 */ lfs f1, 4(r29) +/* 8003D1B8 0003A118 C0 02 84 D4 */ lfs f0, lbl_805AA1F4@sda21(r2) +/* 8003D1BC 0003A11C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003D1C0 0003A120 40 80 00 10 */ bge lbl_8003D1D0 +/* 8003D1C4 0003A124 EC 01 F8 2A */ fadds f0, f1, f31 +/* 8003D1C8 0003A128 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8003D1CC 0003A12C 48 00 00 18 */ b lbl_8003D1E4 +lbl_8003D1D0: +/* 8003D1D0 0003A130 38 00 00 01 */ li r0, 1 +/* 8003D1D4 0003A134 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003D1D8 0003A138 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 8003D1DC 0003A13C 98 7D 00 00 */ stb r3, 0(r29) +/* 8003D1E0 0003A140 D0 1D 00 04 */ stfs f0, 4(r29) +lbl_8003D1E4: +/* 8003D1E4 0003A144 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 +/* 8003D1E8 0003A148 80 01 02 84 */ lwz r0, 0x284(r1) +/* 8003D1EC 0003A14C CB E1 02 70 */ lfd f31, 0x270(r1) +/* 8003D1F0 0003A150 83 E1 02 6C */ lwz r31, 0x26c(r1) +/* 8003D1F4 0003A154 83 C1 02 68 */ lwz r30, 0x268(r1) +/* 8003D1F8 0003A158 83 A1 02 64 */ lwz r29, 0x264(r1) +/* 8003D1FC 0003A15C 7C 08 03 A6 */ mtlr r0 +/* 8003D200 0003A160 38 21 02 80 */ addi r1, r1, 0x280 +/* 8003D204 0003A164 4E 80 00 20 */ blr + +.global UpdateGunIdle__10CPlayerGunFbffR13CStateManager +UpdateGunIdle__10CPlayerGunFbffR13CStateManager: +/* 8003D208 0003A168 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8003D20C 0003A16C 7C 08 02 A6 */ mflr r0 +/* 8003D210 0003A170 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8003D214 0003A174 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8003D218 0003A178 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8003D21C 0003A17C DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8003D220 0003A180 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8003D224 0003A184 BE 21 00 44 */ stmw r17, 0x44(r1) +/* 8003D228 0003A188 7C BE 2B 78 */ mr r30, r5 +/* 8003D22C 0003A18C FF C0 08 90 */ fmr f30, f1 +/* 8003D230 0003A190 83 65 08 4C */ lwz r27, 0x84c(r5) +/* 8003D234 0003A194 FF E0 10 90 */ fmr f31, f2 +/* 8003D238 0003A198 7C 7C 1B 78 */ mr r28, r3 +/* 8003D23C 0003A19C 7C 9D 23 78 */ mr r29, r4 +/* 8003D240 0003A1A0 88 1B 03 DC */ lbz r0, 0x3dc(r27) +/* 8003D244 0003A1A4 28 00 00 00 */ cmplwi r0, 0 +/* 8003D248 0003A1A8 41 82 00 EC */ beq lbl_8003D334 +/* 8003D24C 0003A1AC 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 8003D250 0003A1B0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8003D254 0003A1B4 40 82 00 E0 */ bne lbl_8003D334 +/* 8003D258 0003A1B8 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 8003D25C 0003A1BC 88 03 03 B2 */ lbz r0, 0x3b2(r3) +/* 8003D260 0003A1C0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8003D264 0003A1C4 40 82 00 D0 */ bne lbl_8003D334 +/* 8003D268 0003A1C8 80 1C 03 A4 */ lwz r0, 0x3a4(r28) +/* 8003D26C 0003A1CC 2C 00 00 03 */ cmpwi r0, 3 +/* 8003D270 0003A1D0 41 82 00 C4 */ beq lbl_8003D334 +/* 8003D274 0003A1D4 80 1B 04 98 */ lwz r0, 0x498(r27) +/* 8003D278 0003A1D8 2C 00 00 02 */ cmpwi r0, 2 +/* 8003D27C 0003A1DC 40 82 00 B8 */ bne lbl_8003D334 +/* 8003D280 0003A1E0 88 7C 08 34 */ lbz r3, 0x834(r28) +/* 8003D284 0003A1E4 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 8003D288 0003A1E8 40 82 00 AC */ bne lbl_8003D334 +/* 8003D28C 0003A1EC 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 8003D290 0003A1F0 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 8003D294 0003A1F4 2C 00 00 08 */ cmpwi r0, 8 +/* 8003D298 0003A1F8 41 82 06 7C */ beq lbl_8003D914 +/* 8003D29C 0003A1FC 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003D2A0 0003A200 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8003D2A4 0003A204 28 00 00 01 */ cmplwi r0, 1 +/* 8003D2A8 0003A208 41 82 00 68 */ beq lbl_8003D310 +/* 8003D2AC 0003A20C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8003D2B0 0003A210 40 82 00 60 */ bne lbl_8003D310 +/* 8003D2B4 0003A214 C0 3C 03 88 */ lfs f1, 0x388(r28) +/* 8003D2B8 0003A218 C0 02 84 D8 */ lfs f0, lbl_805AA1F8@sda21(r2) +/* 8003D2BC 0003A21C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003D2C0 0003A220 40 80 00 0C */ bge lbl_8003D2CC +/* 8003D2C4 0003A224 EC 01 F8 2A */ fadds f0, f1, f31 +/* 8003D2C8 0003A228 D0 1C 03 88 */ stfs f0, 0x388(r28) +lbl_8003D2CC: +/* 8003D2CC 0003A22C C0 3C 03 88 */ lfs f1, 0x388(r28) +/* 8003D2D0 0003A230 C0 02 84 D8 */ lfs f0, lbl_805AA1F8@sda21(r2) +/* 8003D2D4 0003A234 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003D2D8 0003A238 4C 41 13 82 */ cror 2, 1, 2 +/* 8003D2DC 0003A23C 40 82 06 38 */ bne lbl_8003D914 +/* 8003D2E0 0003A240 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 8003D2E4 0003A244 88 03 03 B2 */ lbz r0, 0x3b2(r3) +/* 8003D2E8 0003A248 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8003D2EC 0003A24C 40 82 06 28 */ bne lbl_8003D914 +/* 8003D2F0 0003A250 7F 83 E3 78 */ mr r3, r28 +/* 8003D2F4 0003A254 7F C4 F3 78 */ mr r4, r30 +/* 8003D2F8 0003A258 4B FF EB C5 */ bl EnterFreeLook__10CPlayerGunFR13CStateManager +/* 8003D2FC 0003A25C 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003D300 0003A260 38 60 00 01 */ li r3, 1 +/* 8003D304 0003A264 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8003D308 0003A268 98 1C 08 33 */ stb r0, 0x833(r28) +/* 8003D30C 0003A26C 48 00 06 08 */ b lbl_8003D914 +lbl_8003D310: +/* 8003D310 0003A270 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003D314 0003A274 D0 1C 03 88 */ stfs f0, 0x388(r28) +/* 8003D318 0003A278 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003D31C 0003A27C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8003D320 0003A280 41 82 05 F4 */ beq lbl_8003D914 +/* 8003D324 0003A284 7F 83 E3 78 */ mr r3, r28 +/* 8003D328 0003A288 7F C4 F3 78 */ mr r4, r30 +/* 8003D32C 0003A28C 48 00 06 0D */ bl ResetIdle__10CPlayerGunFR13CStateManager +/* 8003D330 0003A290 48 00 05 E4 */ b lbl_8003D914 +lbl_8003D334: +/* 8003D334 0003A294 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003D338 0003A298 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8003D33C 0003A29C 41 82 00 4C */ beq lbl_8003D388 +/* 8003D340 0003A2A0 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 8003D344 0003A2A4 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 8003D348 0003A2A8 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003D34C 0003A2AC 41 82 00 2C */ beq lbl_8003D378 +/* 8003D350 0003A2B0 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003D354 0003A2B4 7F C4 F3 78 */ mr r4, r30 +/* 8003D358 0003A2B8 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003D35C 0003A2BC 54 05 FF FE */ rlwinm r5, r0, 0x1f, 0x1f, 0x1f +/* 8003D360 0003A2C0 48 19 BD 21 */ bl ReturnToDefault__10CGunMotionFR13CStateManager +/* 8003D364 0003A2C4 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 8003D368 0003A2C8 7F C4 F3 78 */ mr r4, r30 +/* 8003D36C 0003A2CC C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003D370 0003A2D0 38 A0 00 00 */ li r5, 0 +/* 8003D374 0003A2D4 48 0E 0B B1 */ bl ReturnToDefault__11CGrappleArmFR13CStateManagerf +lbl_8003D378: +/* 8003D378 0003A2D8 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003D37C 0003A2DC 38 60 00 00 */ li r3, 0 +/* 8003D380 0003A2E0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8003D384 0003A2E4 98 1C 08 33 */ stb r0, 0x833(r28) +lbl_8003D388: +/* 8003D388 0003A2E8 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003D38C 0003A2EC C0 02 84 DC */ lfs f0, lbl_805AA1FC@sda21(r2) +/* 8003D390 0003A2F0 D0 3C 03 88 */ stfs f1, 0x388(r28) +/* 8003D394 0003A2F4 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8003D398 0003A2F8 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8003D39C 0003A2FC 80 63 00 00 */ lwz r3, 0(r3) +/* 8003D3A0 0003A300 7F 40 00 26 */ mfcr r26 +/* 8003D3A4 0003A304 80 9C 02 F4 */ lwz r4, 0x2f4(r28) +/* 8003D3A8 0003A308 3B 20 00 01 */ li r25, 1 +/* 8003D3AC 0003A30C 80 1B 02 F8 */ lwz r0, 0x2f8(r27) +/* 8003D3B0 0003A310 7F 38 CB 78 */ mr r24, r25 +/* 8003D3B4 0003A314 54 85 07 BE */ clrlwi r5, r4, 0x1e +/* 8003D3B8 0003A318 7F 37 CB 78 */ mr r23, r25 +/* 8003D3BC 0003A31C 7C 85 00 D0 */ neg r4, r5 +/* 8003D3C0 0003A320 2C 00 00 01 */ cmpwi r0, 1 +/* 8003D3C4 0003A324 7C 92 2B 78 */ or r18, r4, r5 +/* 8003D3C8 0003A328 7F 36 CB 78 */ mr r22, r25 +/* 8003D3CC 0003A32C 7F 35 CB 78 */ mr r21, r25 +/* 8003D3D0 0003A330 7F 34 CB 78 */ mr r20, r25 +/* 8003D3D4 0003A334 7F 33 CB 78 */ mr r19, r25 +/* 8003D3D8 0003A338 7F 20 CB 78 */ mr r0, r25 +/* 8003D3DC 0003A33C 7F 24 CB 78 */ mr r4, r25 +/* 8003D3E0 0003A340 7F 25 CB 78 */ mr r5, r25 +/* 8003D3E4 0003A344 7F 26 CB 78 */ mr r6, r25 +/* 8003D3E8 0003A348 7F 27 CB 78 */ mr r7, r25 +/* 8003D3EC 0003A34C 7F 28 CB 78 */ mr r8, r25 +/* 8003D3F0 0003A350 7F 29 CB 78 */ mr r9, r25 +/* 8003D3F4 0003A354 7F 2A CB 78 */ mr r10, r25 +/* 8003D3F8 0003A358 7F 2B CB 78 */ mr r11, r25 +/* 8003D3FC 0003A35C 7F 2C CB 78 */ mr r12, r25 +/* 8003D400 0003A360 7F 31 CB 78 */ mr r17, r25 +/* 8003D404 0003A364 57 5F 17 FE */ rlwinm r31, r26, 2, 0x1f, 0x1f +/* 8003D408 0003A368 56 5A 0F FE */ srwi r26, r18, 0x1f +/* 8003D40C 0003A36C 41 82 00 28 */ beq lbl_8003D434 +/* 8003D410 0003A370 82 5B 02 B0 */ lwz r18, 0x2b0(r27) +/* 8003D414 0003A374 2C 12 00 02 */ cmpwi r18, 2 +/* 8003D418 0003A378 40 82 00 0C */ bne lbl_8003D424 +/* 8003D41C 0003A37C 82 5B 02 AC */ lwz r18, 0x2ac(r27) +/* 8003D420 0003A380 48 00 00 08 */ b lbl_8003D428 +lbl_8003D424: +/* 8003D424 0003A384 3A 40 00 04 */ li r18, 4 +lbl_8003D428: +/* 8003D428 0003A388 2C 12 00 04 */ cmpwi r18, 4 +/* 8003D42C 0003A38C 41 82 00 08 */ beq lbl_8003D434 +/* 8003D430 0003A390 3A 20 00 00 */ li r17, 0 +lbl_8003D434: +/* 8003D434 0003A394 56 32 06 3F */ clrlwi. r18, r17, 0x18 +/* 8003D438 0003A398 40 82 00 14 */ bne lbl_8003D44C +/* 8003D43C 0003A39C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8003D440 0003A3A0 2C 03 00 02 */ cmpwi r3, 2 +/* 8003D444 0003A3A4 41 82 00 08 */ beq lbl_8003D44C +/* 8003D448 0003A3A8 39 80 00 00 */ li r12, 0 +lbl_8003D44C: +/* 8003D44C 0003A3AC 55 83 06 3F */ clrlwi. r3, r12, 0x18 +/* 8003D450 0003A3B0 40 82 00 10 */ bne lbl_8003D460 +/* 8003D454 0003A3B4 28 1A 00 00 */ cmplwi r26, 0 +/* 8003D458 0003A3B8 40 82 00 08 */ bne lbl_8003D460 +/* 8003D45C 0003A3BC 39 60 00 00 */ li r11, 0 +lbl_8003D460: +/* 8003D460 0003A3C0 55 63 06 3F */ clrlwi. r3, r11, 0x18 +/* 8003D464 0003A3C4 40 82 00 14 */ bne lbl_8003D478 +/* 8003D468 0003A3C8 80 7C 03 2C */ lwz r3, 0x32c(r28) +/* 8003D46C 0003A3CC 2C 03 00 00 */ cmpwi r3, 0 +/* 8003D470 0003A3D0 40 82 00 08 */ bne lbl_8003D478 +/* 8003D474 0003A3D4 39 40 00 00 */ li r10, 0 +lbl_8003D478: +/* 8003D478 0003A3D8 55 43 06 3F */ clrlwi. r3, r10, 0x18 +/* 8003D47C 0003A3DC 40 82 00 14 */ bne lbl_8003D490 +/* 8003D480 0003A3E0 88 7C 08 32 */ lbz r3, 0x832(r28) +/* 8003D484 0003A3E4 54 63 F7 FF */ rlwinm. r3, r3, 0x1e, 0x1f, 0x1f +/* 8003D488 0003A3E8 40 82 00 08 */ bne lbl_8003D490 +/* 8003D48C 0003A3EC 39 20 00 00 */ li r9, 0 +lbl_8003D490: +/* 8003D490 0003A3F0 55 23 06 3F */ clrlwi. r3, r9, 0x18 +/* 8003D494 0003A3F4 40 82 00 18 */ bne lbl_8003D4AC +/* 8003D498 0003A3F8 80 7C 02 F8 */ lwz r3, 0x2f8(r28) +/* 8003D49C 0003A3FC 54 63 07 38 */ rlwinm r3, r3, 0, 0x1c, 0x1c +/* 8003D4A0 0003A400 2C 03 00 08 */ cmpwi r3, 8 +/* 8003D4A4 0003A404 41 82 00 08 */ beq lbl_8003D4AC +/* 8003D4A8 0003A408 39 00 00 00 */ li r8, 0 +lbl_8003D4AC: +/* 8003D4AC 0003A40C 55 03 06 3F */ clrlwi. r3, r8, 0x18 +/* 8003D4B0 0003A410 40 82 00 18 */ bne lbl_8003D4C8 +/* 8003D4B4 0003A414 C0 3C 03 64 */ lfs f1, 0x364(r28) +/* 8003D4B8 0003A418 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003D4BC 0003A41C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003D4C0 0003A420 41 81 00 08 */ bgt lbl_8003D4C8 +/* 8003D4C4 0003A424 38 E0 00 00 */ li r7, 0 +lbl_8003D4C8: +/* 8003D4C8 0003A428 54 E3 06 3F */ clrlwi. r3, r7, 0x18 +/* 8003D4CC 0003A42C 40 82 00 14 */ bne lbl_8003D4E0 +/* 8003D4D0 0003A430 80 7B 02 58 */ lwz r3, 0x258(r27) +/* 8003D4D4 0003A434 2C 03 00 00 */ cmpwi r3, 0 +/* 8003D4D8 0003A438 40 82 00 08 */ bne lbl_8003D4E0 +/* 8003D4DC 0003A43C 38 C0 00 00 */ li r6, 0 +lbl_8003D4E0: +/* 8003D4E0 0003A440 54 C3 06 3F */ clrlwi. r3, r6, 0x18 +/* 8003D4E4 0003A444 40 82 00 14 */ bne lbl_8003D4F8 +/* 8003D4E8 0003A448 88 7B 03 DC */ lbz r3, 0x3dc(r27) +/* 8003D4EC 0003A44C 28 03 00 00 */ cmplwi r3, 0 +/* 8003D4F0 0003A450 40 82 00 08 */ bne lbl_8003D4F8 +/* 8003D4F4 0003A454 38 A0 00 00 */ li r5, 0 +lbl_8003D4F8: +/* 8003D4F8 0003A458 54 A3 06 3F */ clrlwi. r3, r5, 0x18 +/* 8003D4FC 0003A45C 40 82 00 14 */ bne lbl_8003D510 +/* 8003D500 0003A460 88 7B 03 DE */ lbz r3, 0x3de(r27) +/* 8003D504 0003A464 28 03 00 00 */ cmplwi r3, 0 +/* 8003D508 0003A468 40 82 00 08 */ bne lbl_8003D510 +/* 8003D50C 0003A46C 38 80 00 00 */ li r4, 0 +lbl_8003D510: +/* 8003D510 0003A470 54 83 06 3F */ clrlwi. r3, r4, 0x18 +/* 8003D514 0003A474 40 82 00 14 */ bne lbl_8003D528 +/* 8003D518 0003A478 80 7B 03 04 */ lwz r3, 0x304(r27) +/* 8003D51C 0003A47C 2C 03 00 00 */ cmpwi r3, 0 +/* 8003D520 0003A480 40 82 00 08 */ bne lbl_8003D528 +/* 8003D524 0003A484 38 00 00 00 */ li r0, 0 +lbl_8003D528: +/* 8003D528 0003A488 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8003D52C 0003A48C 40 82 00 30 */ bne lbl_8003D55C +/* 8003D530 0003A490 7F 64 DB 78 */ mr r4, r27 +/* 8003D534 0003A494 38 61 00 28 */ addi r3, r1, 0x28 +/* 8003D538 0003A498 48 0D D6 6D */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 8003D53C 0003A49C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8003D540 0003A4A0 4B FD DF D1 */ bl GetAngle__10CAxisAngleCFv +/* 8003D544 0003A4A4 FC 20 0A 10 */ fabs f1, f1 +/* 8003D548 0003A4A8 C0 02 84 90 */ lfs f0, lbl_805AA1B0@sda21(r2) +/* 8003D54C 0003A4AC FC 20 08 18 */ frsp f1, f1 +/* 8003D550 0003A4B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003D554 0003A4B4 41 81 00 08 */ bgt lbl_8003D55C +/* 8003D558 0003A4B8 3A 60 00 00 */ li r19, 0 +lbl_8003D55C: +/* 8003D55C 0003A4BC 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 8003D560 0003A4C0 40 82 00 10 */ bne lbl_8003D570 +/* 8003D564 0003A4C4 28 1F 00 00 */ cmplwi r31, 0 +/* 8003D568 0003A4C8 40 82 00 08 */ bne lbl_8003D570 +/* 8003D56C 0003A4CC 3A 80 00 00 */ li r20, 0 +lbl_8003D570: +/* 8003D570 0003A4D0 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 8003D574 0003A4D4 40 82 00 18 */ bne lbl_8003D58C +/* 8003D578 0003A4D8 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8003D57C 0003A4DC 4B FC D3 85 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 8003D580 0003A4E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003D584 0003A4E4 40 82 00 08 */ bne lbl_8003D58C +/* 8003D588 0003A4E8 3A A0 00 00 */ li r21, 0 +lbl_8003D58C: +/* 8003D58C 0003A4EC 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 8003D590 0003A4F0 40 82 00 14 */ bne lbl_8003D5A4 +/* 8003D594 0003A4F4 80 1B 04 98 */ lwz r0, 0x498(r27) +/* 8003D598 0003A4F8 2C 00 00 02 */ cmpwi r0, 2 +/* 8003D59C 0003A4FC 40 82 00 08 */ bne lbl_8003D5A4 +/* 8003D5A0 0003A500 3A C0 00 00 */ li r22, 0 +lbl_8003D5A4: +/* 8003D5A4 0003A504 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 8003D5A8 0003A508 40 82 00 14 */ bne lbl_8003D5BC +/* 8003D5AC 0003A50C 80 1B 03 B8 */ lwz r0, 0x3b8(r27) +/* 8003D5B0 0003A510 2C 00 00 00 */ cmpwi r0, 0 +/* 8003D5B4 0003A514 40 82 00 08 */ bne lbl_8003D5BC +/* 8003D5B8 0003A518 3A E0 00 00 */ li r23, 0 +lbl_8003D5BC: +/* 8003D5BC 0003A51C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8003D5C0 0003A520 40 82 00 14 */ bne lbl_8003D5D4 +/* 8003D5C4 0003A524 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003D5C8 0003A528 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8003D5CC 0003A52C 40 82 00 08 */ bne lbl_8003D5D4 +/* 8003D5D0 0003A530 3B 00 00 00 */ li r24, 0 +lbl_8003D5D4: +/* 8003D5D4 0003A534 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 8003D5D8 0003A538 40 82 00 14 */ bne lbl_8003D5EC +/* 8003D5DC 0003A53C 88 1C 08 35 */ lbz r0, 0x835(r28) +/* 8003D5E0 0003A540 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003D5E4 0003A544 40 82 00 08 */ bne lbl_8003D5EC +/* 8003D5E8 0003A548 3B 20 00 00 */ li r25, 0 +lbl_8003D5EC: +/* 8003D5EC 0003A54C 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003D5F0 0003A550 53 20 3E 30 */ rlwimi r0, r25, 7, 0x18, 0x18 +/* 8003D5F4 0003A554 98 1C 08 33 */ stb r0, 0x833(r28) +/* 8003D5F8 0003A558 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003D5FC 0003A55C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8003D600 0003A560 41 82 01 78 */ beq lbl_8003D778 +/* 8003D604 0003A564 88 7C 08 34 */ lbz r3, 0x834(r28) +/* 8003D608 0003A568 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 8003D60C 0003A56C 40 82 00 C4 */ bne lbl_8003D6D0 +/* 8003D610 0003A570 28 1F 00 00 */ cmplwi r31, 0 +/* 8003D614 0003A574 3A 60 00 00 */ li r19, 0 +/* 8003D618 0003A578 41 82 00 10 */ beq lbl_8003D628 +/* 8003D61C 0003A57C 28 1A 00 00 */ cmplwi r26, 0 +/* 8003D620 0003A580 40 82 00 08 */ bne lbl_8003D628 +/* 8003D624 0003A584 3A 60 00 01 */ li r19, 1 +lbl_8003D628: +/* 8003D628 0003A588 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 8003D62C 0003A58C 41 82 00 80 */ beq lbl_8003D6AC +/* 8003D630 0003A590 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003D634 0003A594 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003D638 0003A598 D0 1C 03 70 */ stfs f0, 0x370(r28) +/* 8003D63C 0003A59C D0 3C 03 74 */ stfs f1, 0x374(r28) +/* 8003D640 0003A5A0 C0 1C 03 64 */ lfs f0, 0x364(r28) +/* 8003D644 0003A5A4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8003D648 0003A5A8 4C 40 13 82 */ cror 2, 0, 2 +/* 8003D64C 0003A5AC 40 82 00 48 */ bne lbl_8003D694 +/* 8003D650 0003A5B0 C0 1C 03 68 */ lfs f0, 0x368(r28) +/* 8003D654 0003A5B4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8003D658 0003A5B8 4C 40 13 82 */ cror 2, 0, 2 +/* 8003D65C 0003A5BC 40 82 00 38 */ bne lbl_8003D694 +/* 8003D660 0003A5C0 C0 02 84 E0 */ lfs f0, lbl_805AA200@sda21(r2) +/* 8003D664 0003A5C4 7F C5 F3 78 */ mr r5, r30 +/* 8003D668 0003A5C8 38 80 00 00 */ li r4, 0 +/* 8003D66C 0003A5CC 38 C0 00 00 */ li r6, 0 +/* 8003D670 0003A5D0 D0 1C 03 68 */ stfs f0, 0x368(r28) +/* 8003D674 0003A5D4 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003D678 0003A5D8 48 19 BB 41 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb +/* 8003D67C 0003A5DC 38 00 00 01 */ li r0, 1 +/* 8003D680 0003A5E0 7F C5 F3 78 */ mr r5, r30 +/* 8003D684 0003A5E4 90 1C 03 24 */ stw r0, 0x324(r28) +/* 8003D688 0003A5E8 38 7C 05 50 */ addi r3, r28, 0x550 +/* 8003D68C 0003A5EC 38 80 00 00 */ li r4, 0 +/* 8003D690 0003A5F0 48 0A C3 C5 */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager +lbl_8003D694: +/* 8003D694 0003A5F4 C0 1C 03 68 */ lfs f0, 0x368(r28) +/* 8003D698 0003A5F8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8003D69C 0003A5FC D0 1C 03 68 */ stfs f0, 0x368(r28) +/* 8003D6A0 0003A600 C0 1C 03 60 */ lfs f0, 0x360(r28) +/* 8003D6A4 0003A604 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8003D6A8 0003A608 D0 1C 03 60 */ stfs f0, 0x360(r28) +lbl_8003D6AC: +/* 8003D6AC 0003A60C 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 8003D6B0 0003A610 41 82 00 10 */ beq lbl_8003D6C0 +/* 8003D6B4 0003A614 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003D6B8 0003A618 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8003D6BC 0003A61C 41 82 02 48 */ beq lbl_8003D904 +lbl_8003D6C0: +/* 8003D6C0 0003A620 7F 83 E3 78 */ mr r3, r28 +/* 8003D6C4 0003A624 7F C4 F3 78 */ mr r4, r30 +/* 8003D6C8 0003A628 48 00 02 71 */ bl ResetIdle__10CPlayerGunFR13CStateManager +/* 8003D6CC 0003A62C 48 00 02 38 */ b lbl_8003D904 +lbl_8003D6D0: +/* 8003D6D0 0003A630 C0 3C 03 94 */ lfs f1, 0x394(r28) +/* 8003D6D4 0003A634 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003D6D8 0003A638 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003D6DC 0003A63C 40 81 00 10 */ ble lbl_8003D6EC +/* 8003D6E0 0003A640 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 8003D6E4 0003A644 D0 1C 03 94 */ stfs f0, 0x394(r28) +/* 8003D6E8 0003A648 48 00 02 1C */ b lbl_8003D904 +lbl_8003D6EC: +/* 8003D6EC 0003A64C 54 60 07 FE */ clrlwi r0, r3, 0x1f +/* 8003D6F0 0003A650 28 00 00 01 */ cmplwi r0, 1 +/* 8003D6F4 0003A654 41 82 00 28 */ beq lbl_8003D71C +/* 8003D6F8 0003A658 D0 1C 03 94 */ stfs f0, 0x394(r28) +/* 8003D6FC 0003A65C 38 60 00 01 */ li r3, 1 +/* 8003D700 0003A660 38 80 00 01 */ li r4, 1 +/* 8003D704 0003A664 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003D708 0003A668 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8003D70C 0003A66C 98 1C 08 34 */ stb r0, 0x834(r28) +/* 8003D710 0003A670 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003D714 0003A674 48 19 B8 D5 */ bl BasePosition__10CGunMotionFb +/* 8003D718 0003A678 48 00 01 EC */ b lbl_8003D904 +lbl_8003D71C: +/* 8003D71C 0003A67C 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha +/* 8003D720 0003A680 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003D724 0003A684 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l +/* 8003D728 0003A688 38 84 00 1E */ addi r4, r4, 0x1e +/* 8003D72C 0003A68C 4B FC 75 8D */ bl string_l__4rstlFPCc +/* 8003D730 0003A690 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003D734 0003A694 38 81 00 18 */ addi r4, r1, 0x18 +/* 8003D738 0003A698 C0 22 84 E4 */ lfs f1, lbl_805AA204@sda21(r2) +/* 8003D73C 0003A69C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8003D740 0003A6A0 4B FE EC AD */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8003D744 0003A6A4 7C 73 1B 78 */ mr r19, r3 +/* 8003D748 0003A6A8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003D74C 0003A6AC 48 30 03 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8003D750 0003A6B0 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 8003D754 0003A6B4 40 82 01 B0 */ bne lbl_8003D904 +/* 8003D758 0003A6B8 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003D75C 0003A6BC 38 60 00 00 */ li r3, 0 +/* 8003D760 0003A6C0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003D764 0003A6C4 98 1C 08 34 */ stb r0, 0x834(r28) +/* 8003D768 0003A6C8 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003D76C 0003A6CC 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8003D770 0003A6D0 98 1C 08 34 */ stb r0, 0x834(r28) +/* 8003D774 0003A6D4 48 00 01 90 */ b lbl_8003D904 +lbl_8003D778: +/* 8003D778 0003A6D8 C0 02 84 DC */ lfs f0, lbl_805AA1FC@sda21(r2) +/* 8003D77C 0003A6DC 38 7C 03 A4 */ addi r3, r28, 0x3a4 +/* 8003D780 0003A6E0 80 9C 02 EC */ lwz r4, 0x2ec(r28) +/* 8003D784 0003A6E4 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8003D788 0003A6E8 7C 00 00 26 */ mfcr r0 +/* 8003D78C 0003A6EC FC 20 F8 90 */ fmr f1, f31 +/* 8003D790 0003A6F0 7F A6 EB 78 */ mr r6, r29 +/* 8003D794 0003A6F4 7F C7 F3 78 */ mr r7, r30 +/* 8003D798 0003A6F8 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f +/* 8003D79C 0003A6FC 48 11 6F CD */ bl Update__7CFidgetFibbfR13CStateManager +/* 8003D7A0 0003A700 2C 03 00 06 */ cmpwi r3, 6 +/* 8003D7A4 0003A704 41 82 01 60 */ beq lbl_8003D904 +/* 8003D7A8 0003A708 40 80 00 1C */ bge lbl_8003D7C4 +/* 8003D7AC 0003A70C 2C 03 00 00 */ cmpwi r3, 0 +/* 8003D7B0 0003A710 41 82 00 20 */ beq lbl_8003D7D0 +/* 8003D7B4 0003A714 41 80 01 50 */ blt lbl_8003D904 +/* 8003D7B8 0003A718 2C 03 00 04 */ cmpwi r3, 4 +/* 8003D7BC 0003A71C 40 80 00 A4 */ bge lbl_8003D860 +/* 8003D7C0 0003A720 48 00 00 50 */ b lbl_8003D810 +lbl_8003D7C4: +/* 8003D7C4 0003A724 2C 03 00 08 */ cmpwi r3, 8 +/* 8003D7C8 0003A728 40 80 01 3C */ bge lbl_8003D904 +/* 8003D7CC 0003A72C 48 00 00 74 */ b lbl_8003D840 +lbl_8003D7D0: +/* 8003D7D0 0003A730 80 1C 03 24 */ lwz r0, 0x324(r28) +/* 8003D7D4 0003A734 2C 00 00 02 */ cmpwi r0, 2 +/* 8003D7D8 0003A738 41 82 00 24 */ beq lbl_8003D7FC +/* 8003D7DC 0003A73C 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003D7E0 0003A740 7F C5 F3 78 */ mr r5, r30 +/* 8003D7E4 0003A744 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003D7E8 0003A748 38 80 00 05 */ li r4, 5 +/* 8003D7EC 0003A74C 38 C0 00 00 */ li r6, 0 +/* 8003D7F0 0003A750 48 19 B9 C9 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb +/* 8003D7F4 0003A754 38 00 00 02 */ li r0, 2 +/* 8003D7F8 0003A758 90 1C 03 24 */ stw r0, 0x324(r28) +lbl_8003D7FC: +/* 8003D7FC 0003A75C 7F C5 F3 78 */ mr r5, r30 +/* 8003D800 0003A760 38 7C 05 50 */ addi r3, r28, 0x550 +/* 8003D804 0003A764 38 80 00 03 */ li r4, 3 +/* 8003D808 0003A768 48 0A C2 4D */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager +/* 8003D80C 0003A76C 48 00 00 F8 */ b lbl_8003D904 +lbl_8003D810: +/* 8003D810 0003A770 80 1C 03 24 */ lwz r0, 0x324(r28) +/* 8003D814 0003A774 2C 00 00 00 */ cmpwi r0, 0 +/* 8003D818 0003A778 41 82 00 18 */ beq lbl_8003D830 +/* 8003D81C 0003A77C 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003D820 0003A780 38 80 00 00 */ li r4, 0 +/* 8003D824 0003A784 48 19 B7 C5 */ bl BasePosition__10CGunMotionFb +/* 8003D828 0003A788 38 00 00 00 */ li r0, 0 +/* 8003D82C 0003A78C 90 1C 03 24 */ stw r0, 0x324(r28) +lbl_8003D830: +/* 8003D830 0003A790 7F 83 E3 78 */ mr r3, r28 +/* 8003D834 0003A794 7F C4 F3 78 */ mr r4, r30 +/* 8003D838 0003A798 4B FF D5 55 */ bl AsyncLoadFidget__10CPlayerGunFR13CStateManager +/* 8003D83C 0003A79C 48 00 00 C8 */ b lbl_8003D904 +lbl_8003D840: +/* 8003D840 0003A7A0 7F 83 E3 78 */ mr r3, r28 +/* 8003D844 0003A7A4 4B FF D3 F9 */ bl IsFidgetLoaded__10CPlayerGunFv +/* 8003D848 0003A7A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003D84C 0003A7AC 41 82 00 B8 */ beq lbl_8003D904 +/* 8003D850 0003A7B0 7F 83 E3 78 */ mr r3, r28 +/* 8003D854 0003A7B4 7F C4 F3 78 */ mr r4, r30 +/* 8003D858 0003A7B8 4B FF E5 61 */ bl EnterFidget__10CPlayerGunFR13CStateManager +/* 8003D85C 0003A7BC 48 00 00 A8 */ b lbl_8003D904 +lbl_8003D860: +/* 8003D860 0003A7C0 7F C5 F3 78 */ mr r5, r30 +/* 8003D864 0003A7C4 38 7C 05 50 */ addi r3, r28, 0x550 +/* 8003D868 0003A7C8 38 80 00 00 */ li r4, 0 +/* 8003D86C 0003A7CC 48 0A C1 E9 */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager +/* 8003D870 0003A7D0 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8003D874 0003A7D4 38 60 00 00 */ li r3, 0 +/* 8003D878 0003A7D8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003D87C 0003A7DC 3A 20 00 00 */ li r17, 0 +/* 8003D880 0003A7E0 98 1C 08 33 */ stb r0, 0x833(r28) +/* 8003D884 0003A7E4 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003D888 0003A7E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003D88C 0003A7EC 41 82 00 14 */ beq lbl_8003D8A0 +/* 8003D890 0003A7F0 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 8003D894 0003A7F4 88 03 00 B8 */ lbz r0, 0xb8(r3) +/* 8003D898 0003A7F8 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 8003D89C 0003A7FC 48 00 00 30 */ b lbl_8003D8CC +lbl_8003D8A0: +/* 8003D8A0 0003A800 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha +/* 8003D8A4 0003A804 38 61 00 08 */ addi r3, r1, 8 +/* 8003D8A8 0003A808 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l +/* 8003D8AC 0003A80C 38 84 00 1E */ addi r4, r4, 0x1e +/* 8003D8B0 0003A810 4B FC 74 09 */ bl string_l__4rstlFPCc +/* 8003D8B4 0003A814 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 8003D8B8 0003A818 38 81 00 08 */ addi r4, r1, 8 +/* 8003D8BC 0003A81C C0 22 84 E4 */ lfs f1, lbl_805AA204@sda21(r2) +/* 8003D8C0 0003A820 3A 20 00 01 */ li r17, 1 +/* 8003D8C4 0003A824 80 63 00 20 */ lwz r3, 0x20(r3) +/* 8003D8C8 0003A828 4B FE EB 25 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8003D8CC: +/* 8003D8CC 0003A82C 88 9C 08 34 */ lbz r4, 0x834(r28) +/* 8003D8D0 0003A830 50 64 2E B4 */ rlwimi r4, r3, 5, 0x1a, 0x1a +/* 8003D8D4 0003A834 7E 20 07 75 */ extsb. r0, r17 +/* 8003D8D8 0003A838 98 9C 08 34 */ stb r4, 0x834(r28) +/* 8003D8DC 0003A83C 41 82 00 0C */ beq lbl_8003D8E8 +/* 8003D8E0 0003A840 38 61 00 08 */ addi r3, r1, 8 +/* 8003D8E4 0003A844 48 30 01 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8003D8E8: +/* 8003D8E8 0003A848 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 8003D8EC 0003A84C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8003D8F0 0003A850 40 82 00 14 */ bne lbl_8003D904 +/* 8003D8F4 0003A854 38 7C 03 A4 */ addi r3, r28, 0x3a4 +/* 8003D8F8 0003A858 48 11 72 61 */ bl ResetMinor__7CFidgetFv +/* 8003D8FC 0003A85C 7F 83 E3 78 */ mr r3, r28 +/* 8003D900 0003A860 4B FF D1 E5 */ bl ReturnToRestPose__10CPlayerGunFv +lbl_8003D904: +/* 8003D904 0003A864 FC 20 F8 90 */ fmr f1, f31 +/* 8003D908 0003A868 7F C4 F3 78 */ mr r4, r30 +/* 8003D90C 0003A86C 38 7C 05 50 */ addi r3, r28, 0x550 +/* 8003D910 0003A870 48 0A C5 DD */ bl Update__16CPlayerCameraBobFfR13CStateManager +lbl_8003D914: +/* 8003D914 0003A874 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8003D918 0003A878 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8003D91C 0003A87C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8003D920 0003A880 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8003D924 0003A884 BA 21 00 44 */ lmw r17, 0x44(r1) +/* 8003D928 0003A888 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8003D92C 0003A88C 7C 08 03 A6 */ mtlr r0 +/* 8003D930 0003A890 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8003D934 0003A894 4E 80 00 20 */ blr + +.global ResetIdle__10CPlayerGunFR13CStateManager +ResetIdle__10CPlayerGunFR13CStateManager: +/* 8003D938 0003A898 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003D93C 0003A89C 7C 08 02 A6 */ mflr r0 +/* 8003D940 0003A8A0 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003D944 0003A8A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003D948 0003A8A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003D94C 0003A8AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003D950 0003A8B0 7C 9E 23 78 */ mr r30, r4 +/* 8003D954 0003A8B4 7F C5 F3 78 */ mr r5, r30 +/* 8003D958 0003A8B8 38 80 00 04 */ li r4, 4 +/* 8003D95C 0003A8BC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003D960 0003A8C0 7C 7D 1B 78 */ mr r29, r3 +/* 8003D964 0003A8C4 83 E3 03 A4 */ lwz r31, 0x3a4(r3) +/* 8003D968 0003A8C8 38 7D 05 50 */ addi r3, r29, 0x550 +/* 8003D96C 0003A8CC D0 1D 03 70 */ stfs f0, 0x370(r29) +/* 8003D970 0003A8D0 48 0A C0 E5 */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager +/* 8003D974 0003A8D4 2C 1F 00 00 */ cmpwi r31, 0 +/* 8003D978 0003A8D8 41 82 00 24 */ beq lbl_8003D99C +/* 8003D97C 0003A8DC 2C 1F 00 07 */ cmpwi r31, 7 +/* 8003D980 0003A8E0 40 82 00 0C */ bne lbl_8003D98C +/* 8003D984 0003A8E4 7F A3 EB 78 */ mr r3, r29 +/* 8003D988 0003A8E8 4B FF D3 79 */ bl UnLoadFidget__10CPlayerGunFv +lbl_8003D98C: +/* 8003D98C 0003A8EC 7F A3 EB 78 */ mr r3, r29 +/* 8003D990 0003A8F0 7F C4 F3 78 */ mr r4, r30 +/* 8003D994 0003A8F4 38 A0 00 01 */ li r5, 1 +/* 8003D998 0003A8F8 4B FF E2 A1 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb +lbl_8003D99C: +/* 8003D99C 0003A8FC 38 7D 03 A4 */ addi r3, r29, 0x3a4 +/* 8003D9A0 0003A900 48 11 71 C5 */ bl ResetAll__7CFidgetFv +/* 8003D9A4 0003A904 7F A3 EB 78 */ mr r3, r29 +/* 8003D9A8 0003A908 4B FF D1 3D */ bl ReturnToRestPose__10CPlayerGunFv +/* 8003D9AC 0003A90C 80 1D 03 24 */ lwz r0, 0x324(r29) +/* 8003D9B0 0003A910 2C 00 00 00 */ cmpwi r0, 0 +/* 8003D9B4 0003A914 41 82 00 0C */ beq lbl_8003D9C0 +/* 8003D9B8 0003A918 38 00 00 00 */ li r0, 0 +/* 8003D9BC 0003A91C 90 1D 03 24 */ stw r0, 0x324(r29) +lbl_8003D9C0: +/* 8003D9C0 0003A920 80 7D 07 40 */ lwz r3, 0x740(r29) +/* 8003D9C4 0003A924 88 03 03 B2 */ lbz r0, 0x3b2(r3) +/* 8003D9C8 0003A928 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8003D9CC 0003A92C 40 82 00 14 */ bne lbl_8003D9E0 +/* 8003D9D0 0003A930 88 1D 08 34 */ lbz r0, 0x834(r29) +/* 8003D9D4 0003A934 38 60 00 00 */ li r3, 0 +/* 8003D9D8 0003A938 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8003D9DC 0003A93C 98 1D 08 34 */ stb r0, 0x834(r29) +lbl_8003D9E0: +/* 8003D9E0 0003A940 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003D9E4 0003A944 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003D9E8 0003A948 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003D9EC 0003A94C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8003D9F0 0003A950 7C 08 03 A6 */ mtlr r0 +/* 8003D9F4 0003A954 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003D9F8 0003A958 4E 80 00 20 */ blr + +.global UpdateWeaponFire__10CPlayerGunFfR12CPlayerStateR13CStateManager +UpdateWeaponFire__10CPlayerGunFfR12CPlayerStateR13CStateManager: +/* 8003D9FC 0003A95C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8003DA00 0003A960 7C 08 02 A6 */ mflr r0 +/* 8003DA04 0003A964 90 01 00 54 */ stw r0, 0x54(r1) +/* 8003DA08 0003A968 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8003DA0C 0003A96C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8003DA10 0003A970 BF 01 00 20 */ stmw r24, 0x20(r1) +/* 8003DA14 0003A974 7C 79 1B 78 */ mr r25, r3 +/* 8003DA18 0003A978 7C BB 2B 78 */ mr r27, r5 +/* 8003DA1C 0003A97C 80 A3 02 EC */ lwz r5, 0x2ec(r3) +/* 8003DA20 0003A980 38 60 00 00 */ li r3, 0 +/* 8003DA24 0003A984 80 D9 02 F4 */ lwz r6, 0x2f4(r25) +/* 8003DA28 0003A988 7C 9A 23 78 */ mr r26, r4 +/* 8003DA2C 0003A98C FF E0 08 90 */ fmr f31, f1 +/* 8003DA30 0003A990 7C A0 32 78 */ xor r0, r5, r6 +/* 8003DA34 0003A994 90 D9 02 EC */ stw r6, 0x2ec(r25) +/* 8003DA38 0003A998 7C DE 00 38 */ and r30, r6, r0 +/* 8003DA3C 0003A99C 93 D9 02 F0 */ stw r30, 0x2f0(r25) +/* 8003DA40 0003A9A0 7C BF 00 38 */ and r31, r5, r0 +/* 8003DA44 0003A9A4 80 BB 08 4C */ lwz r5, 0x84c(r27) +/* 8003DA48 0003A9A8 88 19 08 32 */ lbz r0, 0x832(r25) +/* 8003DA4C 0003A9AC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8003DA50 0003A9B0 80 99 03 2C */ lwz r4, 0x32c(r25) +/* 8003DA54 0003A9B4 83 A5 02 F8 */ lwz r29, 0x2f8(r5) +/* 8003DA58 0003A9B8 7C 64 00 D0 */ neg r3, r4 +/* 8003DA5C 0003A9BC 98 19 08 32 */ stb r0, 0x832(r25) +/* 8003DA60 0003A9C0 7C 63 23 78 */ or r3, r3, r4 +/* 8003DA64 0003A9C4 54 7C 0F FE */ srwi r28, r3, 0x1f +/* 8003DA68 0003A9C8 88 19 08 32 */ lbz r0, 0x832(r25) +/* 8003DA6C 0003A9CC 83 1B 08 4C */ lwz r24, 0x84c(r27) +/* 8003DA70 0003A9D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8003DA74 0003A9D4 40 82 00 F4 */ bne lbl_8003DB68 +/* 8003DA78 0003A9D8 88 19 08 34 */ lbz r0, 0x834(r25) +/* 8003DA7C 0003A9DC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8003DA80 0003A9E0 40 82 00 E8 */ bne lbl_8003DB68 +/* 8003DA84 0003A9E4 80 79 07 2C */ lwz r3, 0x72c(r25) +/* 8003DA88 0003A9E8 48 17 F2 0D */ bl GetWeaponInfo__10CGunWeaponCFv +/* 8003DA8C 0003A9EC 57 C0 07 FF */ clrlwi. r0, r30, 0x1f +/* 8003DA90 0003A9F0 C0 23 00 00 */ lfs f1, 0(r3) +/* 8003DA94 0003A9F4 40 82 00 A0 */ bne lbl_8003DB34 +/* 8003DA98 0003A9F8 C0 19 03 90 */ lfs f0, 0x390(r25) +/* 8003DA9C 0003A9FC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8003DAA0 0003AA00 4C 41 13 82 */ cror 2, 1, 2 +/* 8003DAA4 0003AA04 40 82 00 B8 */ bne lbl_8003DB5C +/* 8003DAA8 0003AA08 2C 1D 00 00 */ cmpwi r29, 0 +/* 8003DAAC 0003AA0C D0 39 03 90 */ stfs f1, 0x390(r25) +/* 8003DAB0 0003AA10 40 82 00 AC */ bne lbl_8003DB5C +/* 8003DAB4 0003AA14 7F 43 D3 78 */ mr r3, r26 +/* 8003DAB8 0003AA18 38 80 00 0A */ li r4, 0xa +/* 8003DABC 0003AA1C 48 05 3E D1 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003DAC0 0003AA20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DAC4 0003AA24 41 82 00 98 */ beq lbl_8003DB5C +/* 8003DAC8 0003AA28 80 18 04 98 */ lwz r0, 0x498(r24) +/* 8003DACC 0003AA2C 2C 00 00 02 */ cmpwi r0, 2 +/* 8003DAD0 0003AA30 40 82 00 8C */ bne lbl_8003DB5C +/* 8003DAD4 0003AA34 80 18 03 B8 */ lwz r0, 0x3b8(r24) +/* 8003DAD8 0003AA38 2C 00 00 00 */ cmpwi r0, 0 +/* 8003DADC 0003AA3C 40 82 00 80 */ bne lbl_8003DB5C +/* 8003DAE0 0003AA40 80 7B 08 B8 */ lwz r3, 0x8b8(r27) +/* 8003DAE4 0003AA44 80 63 00 00 */ lwz r3, 0(r3) +/* 8003DAE8 0003AA48 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8003DAEC 0003AA4C 2C 00 00 02 */ cmpwi r0, 2 +/* 8003DAF0 0003AA50 41 82 00 6C */ beq lbl_8003DB5C +/* 8003DAF4 0003AA54 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8003DAF8 0003AA58 2C 00 00 02 */ cmpwi r0, 2 +/* 8003DAFC 0003AA5C 41 82 00 60 */ beq lbl_8003DB5C +/* 8003DB00 0003AA60 80 19 02 EC */ lwz r0, 0x2ec(r25) +/* 8003DB04 0003AA64 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8003DB08 0003AA68 41 82 00 54 */ beq lbl_8003DB5C +/* 8003DB0C 0003AA6C 28 1C 00 00 */ cmplwi r28, 0 +/* 8003DB10 0003AA70 40 82 00 4C */ bne lbl_8003DB5C +/* 8003DB14 0003AA74 88 19 08 32 */ lbz r0, 0x832(r25) +/* 8003DB18 0003AA78 38 60 00 01 */ li r3, 1 +/* 8003DB1C 0003AA7C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8003DB20 0003AA80 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003DB24 0003AA84 98 19 08 32 */ stb r0, 0x832(r25) +/* 8003DB28 0003AA88 63 DE 00 01 */ ori r30, r30, 1 +/* 8003DB2C 0003AA8C D0 19 03 90 */ stfs f0, 0x390(r25) +/* 8003DB30 0003AA90 48 00 00 2C */ b lbl_8003DB5C +lbl_8003DB34: +/* 8003DB34 0003AA94 C0 19 03 90 */ lfs f0, 0x390(r25) +/* 8003DB38 0003AA98 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8003DB3C 0003AA9C 4C 41 13 82 */ cror 2, 1, 2 +/* 8003DB40 0003AAA0 40 82 00 1C */ bne lbl_8003DB5C +/* 8003DB44 0003AAA4 88 19 08 32 */ lbz r0, 0x832(r25) +/* 8003DB48 0003AAA8 38 60 00 01 */ li r3, 1 +/* 8003DB4C 0003AAAC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8003DB50 0003AAB0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003DB54 0003AAB4 98 19 08 32 */ stb r0, 0x832(r25) +/* 8003DB58 0003AAB8 D0 19 03 90 */ stfs f0, 0x390(r25) +lbl_8003DB5C: +/* 8003DB5C 0003AABC C0 19 03 90 */ lfs f0, 0x390(r25) +/* 8003DB60 0003AAC0 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8003DB64 0003AAC4 D0 19 03 90 */ stfs f0, 0x390(r25) +lbl_8003DB68: +/* 8003DB68 0003AAC8 88 79 08 34 */ lbz r3, 0x834(r25) +/* 8003DB6C 0003AACC 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 8003DB70 0003AAD0 41 82 00 10 */ beq lbl_8003DB80 +/* 8003DB74 0003AAD4 80 19 02 EC */ lwz r0, 0x2ec(r25) +/* 8003DB78 0003AAD8 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 8003DB7C 0003AADC 98 79 08 34 */ stb r3, 0x834(r25) +lbl_8003DB80: +/* 8003DB80 0003AAE0 2C 1D 00 01 */ cmpwi r29, 1 +/* 8003DB84 0003AAE4 40 82 01 C4 */ bne lbl_8003DD48 +/* 8003DB88 0003AAE8 88 19 08 35 */ lbz r0, 0x835(r25) +/* 8003DB8C 0003AAEC 38 60 00 00 */ li r3, 0 +/* 8003DB90 0003AAF0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8003DB94 0003AAF4 98 19 08 35 */ stb r0, 0x835(r25) +/* 8003DB98 0003AAF8 88 19 08 35 */ lbz r0, 0x835(r25) +/* 8003DB9C 0003AAFC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8003DBA0 0003AB00 98 19 08 35 */ stb r0, 0x835(r25) +/* 8003DBA4 0003AB04 88 79 08 35 */ lbz r3, 0x835(r25) +/* 8003DBA8 0003AB08 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 8003DBAC 0003AB0C 40 82 03 A4 */ bne lbl_8003DF50 +/* 8003DBB0 0003AB10 38 00 00 01 */ li r0, 1 +/* 8003DBB4 0003AB14 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 8003DBB8 0003AB18 98 79 08 35 */ stb r3, 0x835(r25) +/* 8003DBBC 0003AB1C A0 79 05 3A */ lhz r3, 0x53a(r25) +/* 8003DBC0 0003AB20 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003DBC4 0003AB24 7C 03 00 40 */ cmplw r3, r0 +/* 8003DBC8 0003AB28 41 82 00 70 */ beq lbl_8003DC38 +/* 8003DBCC 0003AB2C A0 19 05 38 */ lhz r0, 0x538(r25) +/* 8003DBD0 0003AB30 7F 63 DB 78 */ mr r3, r27 +/* 8003DBD4 0003AB34 38 81 00 14 */ addi r4, r1, 0x14 +/* 8003DBD8 0003AB38 38 A0 00 05 */ li r5, 5 +/* 8003DBDC 0003AB3C B0 01 00 14 */ sth r0, 0x14(r1) +/* 8003DBE0 0003AB40 38 C0 00 01 */ li r6, 1 +/* 8003DBE4 0003AB44 48 00 7B 4D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 8003DBE8 0003AB48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DBEC 0003AB4C 40 82 00 4C */ bne lbl_8003DC38 +/* 8003DBF0 0003AB50 A0 19 05 3A */ lhz r0, 0x53a(r25) +/* 8003DBF4 0003AB54 7F 63 DB 78 */ mr r3, r27 +/* 8003DBF8 0003AB58 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003DBFC 0003AB5C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8003DC00 0003AB60 48 00 E9 A5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8003DC04 0003AB64 28 03 00 00 */ cmplwi r3, 0 +/* 8003DC08 0003AB68 41 82 00 28 */ beq lbl_8003DC30 +/* 8003DC0C 0003AB6C C0 23 01 5C */ lfs f1, 0x15c(r3) +/* 8003DC10 0003AB70 C0 02 9D 60 */ lfs f0, lbl_805ABA80@sda21(r2) +/* 8003DC14 0003AB74 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003DC18 0003AB78 41 81 00 18 */ bgt lbl_8003DC30 +/* 8003DC1C 0003AB7C 88 19 08 35 */ lbz r0, 0x835(r25) +/* 8003DC20 0003AB80 38 60 00 00 */ li r3, 0 +/* 8003DC24 0003AB84 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8003DC28 0003AB88 98 19 08 35 */ stb r0, 0x835(r25) +/* 8003DC2C 0003AB8C 48 00 00 0C */ b lbl_8003DC38 +lbl_8003DC30: +/* 8003DC30 0003AB90 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003DC34 0003AB94 B0 19 05 3A */ sth r0, 0x53a(r25) +lbl_8003DC38: +/* 8003DC38 0003AB98 57 C0 07 FF */ clrlwi. r0, r30, 0x1f +/* 8003DC3C 0003AB9C 40 82 00 0C */ bne lbl_8003DC48 +/* 8003DC40 0003ABA0 28 1C 00 00 */ cmplwi r28, 0 +/* 8003DC44 0003ABA4 41 82 00 38 */ beq lbl_8003DC7C +lbl_8003DC48: +/* 8003DC48 0003ABA8 7F 43 D3 78 */ mr r3, r26 +/* 8003DC4C 0003ABAC 38 80 00 06 */ li r4, 6 +/* 8003DC50 0003ABB0 48 05 3E 71 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003DC54 0003ABB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DC58 0003ABB8 41 82 00 24 */ beq lbl_8003DC7C +/* 8003DC5C 0003ABBC 88 19 08 35 */ lbz r0, 0x835(r25) +/* 8003DC60 0003ABC0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8003DC64 0003ABC4 41 82 02 EC */ beq lbl_8003DF50 +/* 8003DC68 0003ABC8 7F 23 CB 78 */ mr r3, r25 +/* 8003DC6C 0003ABCC 7F 65 DB 78 */ mr r5, r27 +/* 8003DC70 0003ABD0 38 80 00 00 */ li r4, 0 +/* 8003DC74 0003ABD4 48 00 1F D1 */ bl DropBomb__10CPlayerGunFQ210CPlayerGun8EBWeaponR13CStateManager +/* 8003DC78 0003ABD8 48 00 02 D8 */ b lbl_8003DF50 +lbl_8003DC7C: +/* 8003DC7C 0003ABDC 3B 00 00 00 */ li r24, 0 +/* 8003DC80 0003ABE0 7F 43 D3 78 */ mr r3, r26 +/* 8003DC84 0003ABE4 7F 1D C3 78 */ mr r29, r24 +/* 8003DC88 0003ABE8 38 80 00 07 */ li r4, 7 +/* 8003DC8C 0003ABEC 7F 1C C3 78 */ mr r28, r24 +/* 8003DC90 0003ABF0 48 05 3E 31 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003DC94 0003ABF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DC98 0003ABF8 41 82 00 1C */ beq lbl_8003DCB4 +/* 8003DC9C 0003ABFC 7F 43 D3 78 */ mr r3, r26 +/* 8003DCA0 0003AC00 38 80 00 07 */ li r4, 7 +/* 8003DCA4 0003AC04 48 05 3E 79 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003DCA8 0003AC08 2C 03 00 00 */ cmpwi r3, 0 +/* 8003DCAC 0003AC0C 40 81 00 08 */ ble lbl_8003DCB4 +/* 8003DCB0 0003AC10 3B 80 00 01 */ li r28, 1 +lbl_8003DCB4: +/* 8003DCB4 0003AC14 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8003DCB8 0003AC18 41 82 00 2C */ beq lbl_8003DCE4 +/* 8003DCBC 0003AC1C A0 19 05 38 */ lhz r0, 0x538(r25) +/* 8003DCC0 0003AC20 7F 63 DB 78 */ mr r3, r27 +/* 8003DCC4 0003AC24 38 81 00 0C */ addi r4, r1, 0xc +/* 8003DCC8 0003AC28 38 A0 00 05 */ li r5, 5 +/* 8003DCCC 0003AC2C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8003DCD0 0003AC30 38 C0 00 01 */ li r6, 1 +/* 8003DCD4 0003AC34 48 00 7A 5D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 8003DCD8 0003AC38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DCDC 0003AC3C 41 82 00 08 */ beq lbl_8003DCE4 +/* 8003DCE0 0003AC40 3B A0 00 01 */ li r29, 1 +lbl_8003DCE4: +/* 8003DCE4 0003AC44 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8003DCE8 0003AC48 41 82 00 2C */ beq lbl_8003DD14 +/* 8003DCEC 0003AC4C A0 19 05 38 */ lhz r0, 0x538(r25) +/* 8003DCF0 0003AC50 7F 63 DB 78 */ mr r3, r27 +/* 8003DCF4 0003AC54 38 81 00 08 */ addi r4, r1, 8 +/* 8003DCF8 0003AC58 38 A0 00 04 */ li r5, 4 +/* 8003DCFC 0003AC5C B0 01 00 08 */ sth r0, 8(r1) +/* 8003DD00 0003AC60 38 C0 00 01 */ li r6, 1 +/* 8003DD04 0003AC64 48 00 7A 2D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 8003DD08 0003AC68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DD0C 0003AC6C 41 82 00 08 */ beq lbl_8003DD14 +/* 8003DD10 0003AC70 3B 00 00 01 */ li r24, 1 +lbl_8003DD14: +/* 8003DD14 0003AC74 88 79 08 35 */ lbz r3, 0x835(r25) +/* 8003DD18 0003AC78 53 03 17 7A */ rlwimi r3, r24, 2, 0x1d, 0x1d +/* 8003DD1C 0003AC7C 57 C0 07 BD */ rlwinm. r0, r30, 0, 0x1e, 0x1e +/* 8003DD20 0003AC80 98 79 08 35 */ stb r3, 0x835(r25) +/* 8003DD24 0003AC84 41 82 02 2C */ beq lbl_8003DF50 +/* 8003DD28 0003AC88 88 19 08 35 */ lbz r0, 0x835(r25) +/* 8003DD2C 0003AC8C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8003DD30 0003AC90 41 82 02 20 */ beq lbl_8003DF50 +/* 8003DD34 0003AC94 7F 23 CB 78 */ mr r3, r25 +/* 8003DD38 0003AC98 7F 65 DB 78 */ mr r5, r27 +/* 8003DD3C 0003AC9C 38 80 00 01 */ li r4, 1 +/* 8003DD40 0003ACA0 48 00 1F 05 */ bl DropBomb__10CPlayerGunFQ210CPlayerGun8EBWeaponR13CStateManager +/* 8003DD44 0003ACA4 48 00 02 0C */ b lbl_8003DF50 +lbl_8003DD48: +/* 8003DD48 0003ACA8 80 79 02 F8 */ lwz r3, 0x2f8(r25) +/* 8003DD4C 0003ACAC 54 60 07 38 */ rlwinm r0, r3, 0, 0x1c, 0x1c +/* 8003DD50 0003ACB0 2C 00 00 08 */ cmpwi r0, 8 +/* 8003DD54 0003ACB4 41 82 01 FC */ beq lbl_8003DF50 +/* 8003DD58 0003ACB8 2C 1D 00 00 */ cmpwi r29, 0 +/* 8003DD5C 0003ACBC 41 82 00 08 */ beq lbl_8003DD64 +/* 8003DD60 0003ACC0 48 00 01 F0 */ b lbl_8003DF50 +lbl_8003DD64: +/* 8003DD64 0003ACC4 57 C0 07 BD */ rlwinm. r0, r30, 0, 0x1e, 0x1e +/* 8003DD68 0003ACC8 41 82 01 10 */ beq lbl_8003DE78 +/* 8003DD6C 0003ACCC 80 19 03 18 */ lwz r0, 0x318(r25) +/* 8003DD70 0003ACD0 2C 00 00 00 */ cmpwi r0, 0 +/* 8003DD74 0003ACD4 40 82 01 04 */ bne lbl_8003DE78 +/* 8003DD78 0003ACD8 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e +/* 8003DD7C 0003ACDC 2C 00 00 02 */ cmpwi r0, 2 +/* 8003DD80 0003ACE0 41 82 00 F8 */ beq lbl_8003DE78 +/* 8003DD84 0003ACE4 80 19 03 2C */ lwz r0, 0x32c(r25) +/* 8003DD88 0003ACE8 2C 00 00 00 */ cmpwi r0, 0 +/* 8003DD8C 0003ACEC 40 82 00 EC */ bne lbl_8003DE78 +/* 8003DD90 0003ACF0 7F 43 D3 78 */ mr r3, r26 +/* 8003DD94 0003ACF4 38 80 00 04 */ li r4, 4 +/* 8003DD98 0003ACF8 48 05 3D 85 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003DD9C 0003ACFC 80 19 03 38 */ lwz r0, 0x338(r25) +/* 8003DDA0 0003AD00 7C 7C 1B 78 */ mr r28, r3 +/* 8003DDA4 0003AD04 2C 00 00 01 */ cmpwi r0, 1 +/* 8003DDA8 0003AD08 41 82 01 A8 */ beq lbl_8003DF50 +/* 8003DDAC 0003AD0C 2C 00 00 02 */ cmpwi r0, 2 +/* 8003DDB0 0003AD10 41 82 01 A0 */ beq lbl_8003DF50 +/* 8003DDB4 0003AD14 7F 43 D3 78 */ mr r3, r26 +/* 8003DDB8 0003AD18 38 80 00 04 */ li r4, 4 +/* 8003DDBC 0003AD1C 48 05 3D 05 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003DDC0 0003AD20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DDC4 0003AD24 41 82 00 68 */ beq lbl_8003DE2C +/* 8003DDC8 0003AD28 2C 1C 00 00 */ cmpwi r28, 0 +/* 8003DDCC 0003AD2C 40 81 00 60 */ ble lbl_8003DE2C +/* 8003DDD0 0003AD30 93 99 03 00 */ stw r28, 0x300(r25) +/* 8003DDD4 0003AD34 80 19 03 00 */ lwz r0, 0x300(r25) +/* 8003DDD8 0003AD38 2C 00 00 05 */ cmpwi r0, 5 +/* 8003DDDC 0003AD3C 40 81 00 0C */ ble lbl_8003DDE8 +/* 8003DDE0 0003AD40 38 00 00 05 */ li r0, 5 +/* 8003DDE4 0003AD44 90 19 03 00 */ stw r0, 0x300(r25) +lbl_8003DDE8: +/* 8003DDE8 0003AD48 88 19 08 35 */ lbz r0, 0x835(r25) +/* 8003DDEC 0003AD4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003DDF0 0003AD50 40 82 00 28 */ bne lbl_8003DE18 +/* 8003DDF4 0003AD54 80 79 02 F8 */ lwz r3, 0x2f8(r25) +/* 8003DDF8 0003AD58 38 00 00 01 */ li r0, 1 +/* 8003DDFC 0003AD5C 54 63 00 3C */ rlwinm r3, r3, 0, 0, 0x1e +/* 8003DE00 0003AD60 90 79 02 F8 */ stw r3, 0x2f8(r25) +/* 8003DE04 0003AD64 80 79 02 F8 */ lwz r3, 0x2f8(r25) +/* 8003DE08 0003AD68 60 63 00 06 */ ori r3, r3, 6 +/* 8003DE0C 0003AD6C 90 79 02 F8 */ stw r3, 0x2f8(r25) +/* 8003DE10 0003AD70 90 19 03 18 */ stw r0, 0x318(r25) +/* 8003DE14 0003AD74 90 19 03 1C */ stw r0, 0x31c(r25) +lbl_8003DE18: +/* 8003DE18 0003AD78 FC 20 F8 90 */ fmr f1, f31 +/* 8003DE1C 0003AD7C 7F 23 CB 78 */ mr r3, r25 +/* 8003DE20 0003AD80 7F 64 DB 78 */ mr r4, r27 +/* 8003DE24 0003AD84 48 00 20 69 */ bl FireSecondary__10CPlayerGunFfR13CStateManager +/* 8003DE28 0003AD88 48 00 01 28 */ b lbl_8003DF50 +lbl_8003DE2C: +/* 8003DE2C 0003AD8C 80 19 02 E4 */ lwz r0, 0x2e4(r25) +/* 8003DE30 0003AD90 38 61 00 1C */ addi r3, r1, 0x1c +/* 8003DE34 0003AD94 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8003DE38 0003AD98 48 2A AF 9D */ bl IsPlaying__11CSfxManagerF10CSfxHandle +/* 8003DE3C 0003AD9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DE40 0003ADA0 40 82 00 2C */ bne lbl_8003DE6C +/* 8003DE44 0003ADA4 88 19 08 34 */ lbz r0, 0x834(r25) +/* 8003DE48 0003ADA8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003DE4C 0003ADAC 38 80 06 F5 */ li r4, 0x6f5 +/* 8003DE50 0003ADB0 38 C0 00 00 */ li r6, 0 +/* 8003DE54 0003ADB4 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 8003DE58 0003ADB8 38 E0 00 4A */ li r7, 0x4a +/* 8003DE5C 0003ADBC 48 24 CC 9D */ bl play_sfx__12NWeaponTypesFUsbbs +/* 8003DE60 0003ADC0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8003DE64 0003ADC4 90 19 02 E4 */ stw r0, 0x2e4(r25) +/* 8003DE68 0003ADC8 48 00 00 E8 */ b lbl_8003DF50 +lbl_8003DE6C: +/* 8003DE6C 0003ADCC 38 00 00 00 */ li r0, 0 +/* 8003DE70 0003ADD0 90 19 02 E4 */ stw r0, 0x2e4(r25) +/* 8003DE74 0003ADD4 48 00 00 DC */ b lbl_8003DF50 +lbl_8003DE78: +/* 8003DE78 0003ADD8 80 19 03 A4 */ lwz r0, 0x3a4(r25) +/* 8003DE7C 0003ADDC 2C 00 00 00 */ cmpwi r0, 0 +/* 8003DE80 0003ADE0 40 82 00 D0 */ bne lbl_8003DF50 +/* 8003DE84 0003ADE4 54 60 06 F6 */ rlwinm r0, r3, 0, 0x1b, 0x1b +/* 8003DE88 0003ADE8 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003DE8C 0003ADEC 40 82 00 70 */ bne lbl_8003DEFC +/* 8003DE90 0003ADF0 80 79 07 44 */ lwz r3, 0x744(r25) +/* 8003DE94 0003ADF4 7F 64 DB 78 */ mr r4, r27 +/* 8003DE98 0003ADF8 48 17 B5 99 */ bl IsComboFxActive__10CAuxWeaponCFRC13CStateManager +/* 8003DE9C 0003ADFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DEA0 0003AE00 41 82 00 5C */ beq lbl_8003DEFC +/* 8003DEA4 0003AE04 80 19 03 10 */ lwz r0, 0x310(r25) +/* 8003DEA8 0003AE08 38 60 00 00 */ li r3, 0 +/* 8003DEAC 0003AE0C 2C 00 00 02 */ cmpwi r0, 2 +/* 8003DEB0 0003AE10 40 82 00 14 */ bne lbl_8003DEC4 +/* 8003DEB4 0003AE14 88 19 08 33 */ lbz r0, 0x833(r25) +/* 8003DEB8 0003AE18 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8003DEBC 0003AE1C 41 82 00 08 */ beq lbl_8003DEC4 +/* 8003DEC0 0003AE20 38 60 00 01 */ li r3, 1 +lbl_8003DEC4: +/* 8003DEC4 0003AE24 80 19 02 EC */ lwz r0, 0x2ec(r25) +/* 8003DEC8 0003AE28 2C 00 00 00 */ cmpwi r0, 0 +/* 8003DECC 0003AE2C 41 82 00 0C */ beq lbl_8003DED8 +/* 8003DED0 0003AE30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DED4 0003AE34 41 82 00 7C */ beq lbl_8003DF50 +lbl_8003DED8: +/* 8003DED8 0003AE38 80 19 02 F8 */ lwz r0, 0x2f8(r25) +/* 8003DEDC 0003AE3C 7F 23 CB 78 */ mr r3, r25 +/* 8003DEE0 0003AE40 7F 64 DB 78 */ mr r4, r27 +/* 8003DEE4 0003AE44 54 05 07 38 */ rlwinm r5, r0, 0, 0x1c, 0x1c +/* 8003DEE8 0003AE48 38 05 FF F8 */ addi r0, r5, -8 +/* 8003DEEC 0003AE4C 7C 00 00 34 */ cntlzw r0, r0 +/* 8003DEF0 0003AE50 54 05 D9 7E */ srwi r5, r0, 5 +/* 8003DEF4 0003AE54 4B FF E4 BD */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb +/* 8003DEF8 0003AE58 48 00 00 58 */ b lbl_8003DF50 +lbl_8003DEFC: +/* 8003DEFC 0003AE5C 7F 43 D3 78 */ mr r3, r26 +/* 8003DF00 0003AE60 38 80 00 0A */ li r4, 0xa +/* 8003DF04 0003AE64 48 05 3A 89 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003DF08 0003AE68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003DF0C 0003AE6C 41 82 00 2C */ beq lbl_8003DF38 +/* 8003DF10 0003AE70 80 19 03 3C */ lwz r0, 0x33c(r25) +/* 8003DF14 0003AE74 2C 00 00 00 */ cmpwi r0, 0 +/* 8003DF18 0003AE78 40 82 00 20 */ bne lbl_8003DF38 +/* 8003DF1C 0003AE7C FC 20 F8 90 */ fmr f1, f31 +/* 8003DF20 0003AE80 7F 23 CB 78 */ mr r3, r25 +/* 8003DF24 0003AE84 7F E4 FB 78 */ mr r4, r31 +/* 8003DF28 0003AE88 7F C5 F3 78 */ mr r5, r30 +/* 8003DF2C 0003AE8C 7F 66 DB 78 */ mr r6, r27 +/* 8003DF30 0003AE90 48 00 27 3D */ bl ProcessChargeState__10CPlayerGunFiiR13CStateManagerf +/* 8003DF34 0003AE94 48 00 00 1C */ b lbl_8003DF50 +lbl_8003DF38: +/* 8003DF38 0003AE98 FC 20 F8 90 */ fmr f1, f31 +/* 8003DF3C 0003AE9C 7F 23 CB 78 */ mr r3, r25 +/* 8003DF40 0003AEA0 7F E4 FB 78 */ mr r4, r31 +/* 8003DF44 0003AEA4 7F C5 F3 78 */ mr r5, r30 +/* 8003DF48 0003AEA8 7F 66 DB 78 */ mr r6, r27 +/* 8003DF4C 0003AEAC 48 00 25 B1 */ bl ProcessNormalState__10CPlayerGunFiiR13CStateManagerf +lbl_8003DF50: +/* 8003DF50 0003AEB0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8003DF54 0003AEB4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8003DF58 0003AEB8 BB 01 00 20 */ lmw r24, 0x20(r1) +/* 8003DF5C 0003AEBC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8003DF60 0003AEC0 7C 08 03 A6 */ mtlr r0 +/* 8003DF64 0003AEC4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8003DF68 0003AEC8 4E 80 00 20 */ blr + +.global Update__Q210CPlayerGun9CGunMorphFfff +Update__Q210CPlayerGun9CGunMorphFfff: +/* 8003DF6C 0003AECC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8003DF70 0003AED0 7C 08 02 A6 */ mflr r0 +/* 8003DF74 0003AED4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8003DF78 0003AED8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8003DF7C 0003AEDC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8003DF80 0003AEE0 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8003DF84 0003AEE4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8003DF88 0003AEE8 DB A1 00 10 */ stfd f29, 0x10(r1) +/* 8003DF8C 0003AEEC F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 8003DF90 0003AEF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003DF94 0003AEF4 7C 7F 1B 78 */ mr r31, r3 +/* 8003DF98 0003AEF8 FF A0 08 90 */ fmr f29, f1 +/* 8003DF9C 0003AEFC 80 03 00 20 */ lwz r0, 0x20(r3) +/* 8003DFA0 0003AF00 FF C0 10 90 */ fmr f30, f2 +/* 8003DFA4 0003AF04 FF E0 18 90 */ fmr f31, f3 +/* 8003DFA8 0003AF08 38 80 00 00 */ li r4, 0 +/* 8003DFAC 0003AF0C 2C 00 00 00 */ cmpwi r0, 0 +/* 8003DFB0 0003AF10 41 82 00 0C */ beq lbl_8003DFBC +/* 8003DFB4 0003AF14 41 80 00 58 */ blt lbl_8003E00C +/* 8003DFB8 0003AF18 48 00 00 54 */ b lbl_8003E00C +lbl_8003DFBC: +/* 8003DFBC 0003AF1C C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8003DFC0 0003AF20 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003DFC4 0003AF24 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8003DFC8 0003AF28 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 8003DFCC 0003AF2C C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8003DFD0 0003AF30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003DFD4 0003AF34 4C 40 13 82 */ cror 2, 0, 2 +/* 8003DFD8 0003AF38 40 82 00 34 */ bne lbl_8003E00C +/* 8003DFDC 0003AF3C 88 1F 00 24 */ lbz r0, 0x24(r31) +/* 8003DFE0 0003AF40 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003DFE4 0003AF44 41 82 00 28 */ beq lbl_8003E00C +/* 8003DFE8 0003AF48 38 80 00 01 */ li r4, 1 +/* 8003DFEC 0003AF4C 48 00 01 09 */ bl StartWipe__Q210CPlayerGun9CGunMorphFQ310CPlayerGun9CGunMorph4EDir +/* 8003DFF0 0003AF50 88 1F 00 24 */ lbz r0, 0x24(r31) +/* 8003DFF4 0003AF54 38 60 00 00 */ li r3, 0 +/* 8003DFF8 0003AF58 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003DFFC 0003AF5C C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003E000 0003AF60 98 1F 00 24 */ stb r0, 0x24(r31) +/* 8003E004 0003AF64 38 80 00 01 */ li r4, 1 +/* 8003E008 0003AF68 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_8003E00C: +/* 8003E00C 0003AF6C 88 1F 00 24 */ lbz r0, 0x24(r31) +/* 8003E010 0003AF70 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8003E014 0003AF74 41 82 00 B0 */ beq lbl_8003E0C4 +/* 8003E018 0003AF78 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8003E01C 0003AF7C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8003E020 0003AF80 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8003E024 0003AF84 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8003E028 0003AF88 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003E02C 0003AF8C 2C 00 00 00 */ cmpwi r0, 0 +/* 8003E030 0003AF90 EC 40 08 28 */ fsubs f2, f0, f1 +/* 8003E034 0003AF94 40 82 00 18 */ bne lbl_8003E04C +/* 8003E038 0003AF98 EC 1E 00 72 */ fmuls f0, f30, f1 +/* 8003E03C 0003AF9C EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 8003E040 0003AFA0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8003E044 0003AFA4 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 8003E048 0003AFA8 48 00 00 14 */ b lbl_8003E05C +lbl_8003E04C: +/* 8003E04C 0003AFAC EC 1D 00 72 */ fmuls f0, f29, f1 +/* 8003E050 0003AFB0 EC 1E 00 BA */ fmadds f0, f30, f2, f0 +/* 8003E054 0003AFB4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8003E058 0003AFB8 D0 5F 00 18 */ stfs f2, 0x18(r31) +lbl_8003E05C: +/* 8003E05C 0003AFBC C0 3F 00 08 */ lfs f1, 8(r31) +/* 8003E060 0003AFC0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003E064 0003AFC4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003E068 0003AFC8 4C 40 13 82 */ cror 2, 0, 2 +/* 8003E06C 0003AFCC 40 82 00 50 */ bne lbl_8003E0BC +/* 8003E070 0003AFD0 88 1F 00 24 */ lbz r0, 0x24(r31) +/* 8003E074 0003AFD4 38 60 00 00 */ li r3, 0 +/* 8003E078 0003AFD8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003E07C 0003AFDC 98 1F 00 24 */ stb r0, 0x24(r31) +/* 8003E080 0003AFE0 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8003E084 0003AFE4 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8003E088 0003AFE8 2C 00 00 00 */ cmpwi r0, 0 +/* 8003E08C 0003AFEC 40 82 00 10 */ bne lbl_8003E09C +/* 8003E090 0003AFF0 90 7F 00 20 */ stw r3, 0x20(r31) +/* 8003E094 0003AFF4 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8003E098 0003AFF8 48 00 00 2C */ b lbl_8003E0C4 +lbl_8003E09C: +/* 8003E09C 0003AFFC C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003E0A0 0003B000 38 60 00 01 */ li r3, 1 +/* 8003E0A4 0003B004 38 00 00 02 */ li r0, 2 +/* 8003E0A8 0003B008 38 80 00 02 */ li r4, 2 +/* 8003E0AC 0003B00C D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8003E0B0 0003B010 90 7F 00 20 */ stw r3, 0x20(r31) +/* 8003E0B4 0003B014 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8003E0B8 0003B018 48 00 00 0C */ b lbl_8003E0C4 +lbl_8003E0BC: +/* 8003E0BC 0003B01C EC 01 F8 28 */ fsubs f0, f1, f31 +/* 8003E0C0 0003B020 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_8003E0C4: +/* 8003E0C4 0003B024 7C 83 23 78 */ mr r3, r4 +/* 8003E0C8 0003B028 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8003E0CC 0003B02C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8003E0D0 0003B030 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8003E0D4 0003B034 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8003E0D8 0003B038 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 8003E0DC 0003B03C CB A1 00 10 */ lfd f29, 0x10(r1) +/* 8003E0E0 0003B040 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8003E0E4 0003B044 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003E0E8 0003B048 7C 08 03 A6 */ mtlr r0 +/* 8003E0EC 0003B04C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8003E0F0 0003B050 4E 80 00 20 */ blr + +.global StartWipe__Q210CPlayerGun9CGunMorphFQ310CPlayerGun9CGunMorph4EDir +StartWipe__Q210CPlayerGun9CGunMorphFQ310CPlayerGun9CGunMorph4EDir: +/* 8003E0F4 0003B054 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8003E0F8 0003B058 2C 04 00 00 */ cmpwi r4, 0 +/* 8003E0FC 0003B05C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8003E100 0003B060 40 82 00 10 */ bne lbl_8003E110 +/* 8003E104 0003B064 80 03 00 20 */ lwz r0, 0x20(r3) +/* 8003E108 0003B068 2C 00 00 00 */ cmpwi r0, 0 +/* 8003E10C 0003B06C 4D 82 00 20 */ beqlr +lbl_8003E110: +/* 8003E110 0003B070 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8003E114 0003B074 7C 00 20 00 */ cmpw r0, r4 +/* 8003E118 0003B078 41 82 00 2C */ beq lbl_8003E144 +/* 8003E11C 0003B07C 80 03 00 20 */ lwz r0, 0x20(r3) +/* 8003E120 0003B080 2C 00 00 03 */ cmpwi r0, 3 +/* 8003E124 0003B084 41 82 00 20 */ beq lbl_8003E144 +/* 8003E128 0003B088 C0 03 00 04 */ lfs f0, 4(r3) +/* 8003E12C 0003B08C C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 8003E130 0003B090 D0 03 00 08 */ stfs f0, 8(r3) +/* 8003E134 0003B094 C0 03 00 04 */ lfs f0, 4(r3) +/* 8003E138 0003B098 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8003E13C 0003B09C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8003E140 0003B0A0 48 00 00 20 */ b lbl_8003E160 +lbl_8003E144: +/* 8003E144 0003B0A4 80 03 00 20 */ lwz r0, 0x20(r3) +/* 8003E148 0003B0A8 2C 00 00 02 */ cmpwi r0, 2 +/* 8003E14C 0003B0AC 41 82 00 14 */ beq lbl_8003E160 +/* 8003E150 0003B0B0 C0 23 00 04 */ lfs f1, 4(r3) +/* 8003E154 0003B0B4 C0 03 00 08 */ lfs f0, 8(r3) +/* 8003E158 0003B0B8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8003E15C 0003B0BC D0 03 00 08 */ stfs f0, 8(r3) +lbl_8003E160: +/* 8003E160 0003B0C0 90 83 00 1C */ stw r4, 0x1c(r3) +/* 8003E164 0003B0C4 38 80 00 03 */ li r4, 3 +/* 8003E168 0003B0C8 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8003E16C 0003B0CC 2C 00 00 00 */ cmpwi r0, 0 +/* 8003E170 0003B0D0 40 82 00 08 */ bne lbl_8003E178 +/* 8003E174 0003B0D4 38 80 00 02 */ li r4, 2 +lbl_8003E178: +/* 8003E178 0003B0D8 90 83 00 20 */ stw r4, 0x20(r3) +/* 8003E17C 0003B0DC 38 80 00 01 */ li r4, 1 +/* 8003E180 0003B0E0 88 03 00 24 */ lbz r0, 0x24(r3) +/* 8003E184 0003B0E4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8003E188 0003B0E8 98 03 00 24 */ stb r0, 0x24(r3) +/* 8003E18C 0003B0EC 4E 80 00 20 */ blr + +.global __ct__Q210CPlayerGun9CGunMorphFff +__ct__Q210CPlayerGun9CGunMorphFff: +/* 8003E190 0003B0F0 FC 00 08 50 */ fneg f0, f1 +/* 8003E194 0003B0F4 C0 A2 84 7C */ lfs f5, lbl_805AA19C@sda21(r2) +/* 8003E198 0003B0F8 C0 62 84 6C */ lfs f3, lbl_805AA18C@sda21(r2) +/* 8003E19C 0003B0FC FC C0 12 10 */ fabs f6, f2 +/* 8003E1A0 0003B100 C0 42 84 90 */ lfs f2, lbl_805AA1B0@sda21(r2) +/* 8003E1A4 0003B104 38 A0 00 02 */ li r5, 2 +/* 8003E1A8 0003B108 FC 80 09 6E */ fsel f4, f0, f5, f1 +/* 8003E1AC 0003B10C D0 63 00 00 */ stfs f3, 0(r3) +/* 8003E1B0 0003B110 FC 20 30 18 */ frsp f1, f6 +/* 8003E1B4 0003B114 C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) +/* 8003E1B8 0003B118 38 00 00 01 */ li r0, 1 +/* 8003E1BC 0003B11C 38 80 00 00 */ li r4, 0 +/* 8003E1C0 0003B120 D0 83 00 04 */ stfs f4, 4(r3) +/* 8003E1C4 0003B124 D0 63 00 08 */ stfs f3, 8(r3) +/* 8003E1C8 0003B128 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 8003E1CC 0003B12C D0 23 00 10 */ stfs f1, 0x10(r3) +/* 8003E1D0 0003B130 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8003E1D4 0003B134 D0 A3 00 18 */ stfs f5, 0x18(r3) +/* 8003E1D8 0003B138 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 8003E1DC 0003B13C 90 03 00 20 */ stw r0, 0x20(r3) +/* 8003E1E0 0003B140 88 03 00 24 */ lbz r0, 0x24(r3) +/* 8003E1E4 0003B144 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8003E1E8 0003B148 98 03 00 24 */ stb r0, 0x24(r3) +/* 8003E1EC 0003B14C 88 03 00 24 */ lbz r0, 0x24(r3) +/* 8003E1F0 0003B150 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8003E1F4 0003B154 98 03 00 24 */ stb r0, 0x24(r3) +/* 8003E1F8 0003B158 4E 80 00 20 */ blr + +.global GetTargetId__10CPlayerGunFR13CStateManager +GetTargetId__10CPlayerGunFR13CStateManager: +/* 8003E1FC 0003B15C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003E200 0003B160 7C 08 02 A6 */ mflr r0 +/* 8003E204 0003B164 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003E208 0003B168 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003E20C 0003B16C 7C 7F 1B 78 */ mr r31, r3 +/* 8003E210 0003B170 80 C5 08 4C */ lwz r6, 0x84c(r5) +/* 8003E214 0003B174 88 04 08 32 */ lbz r0, 0x832(r4) +/* 8003E218 0003B178 A0 66 03 10 */ lhz r3, 0x310(r6) +/* 8003E21C 0003B17C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8003E220 0003B180 B0 61 00 0C */ sth r3, 0xc(r1) +/* 8003E224 0003B184 41 82 00 28 */ beq lbl_8003E24C +/* 8003E228 0003B188 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003E22C 0003B18C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8003E230 0003B190 7C 03 00 40 */ cmplw r3, r0 +/* 8003E234 0003B194 40 82 00 18 */ bne lbl_8003E24C +/* 8003E238 0003B198 80 04 03 10 */ lwz r0, 0x310(r4) +/* 8003E23C 0003B19C 2C 00 00 02 */ cmpwi r0, 2 +/* 8003E240 0003B1A0 40 82 00 0C */ bne lbl_8003E24C +/* 8003E244 0003B1A4 A0 06 03 3C */ lhz r0, 0x33c(r6) +/* 8003E248 0003B1A8 B0 01 00 0C */ sth r0, 0xc(r1) +lbl_8003E24C: +/* 8003E24C 0003B1AC A0 61 00 0C */ lhz r3, 0xc(r1) +/* 8003E250 0003B1B0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003E254 0003B1B4 7C 03 00 40 */ cmplw r3, r0 +/* 8003E258 0003B1B8 41 82 00 70 */ beq lbl_8003E2C8 +/* 8003E25C 0003B1BC A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8003E260 0003B1C0 7C A3 2B 78 */ mr r3, r5 +/* 8003E264 0003B1C4 38 81 00 08 */ addi r4, r1, 8 +/* 8003E268 0003B1C8 B0 01 00 08 */ sth r0, 8(r1) +/* 8003E26C 0003B1CC 48 00 E3 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8003E270 0003B1D0 7C 64 1B 78 */ mr r4, r3 +/* 8003E274 0003B1D4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003E278 0003B1D8 48 07 1A 19 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8003E27C 0003B1DC 80 83 00 04 */ lwz r4, 4(r3) +/* 8003E280 0003B1E0 28 04 00 00 */ cmplwi r4, 0 +/* 8003E284 0003B1E4 41 82 00 44 */ beq lbl_8003E2C8 +/* 8003E288 0003B1E8 80 64 00 68 */ lwz r3, 0x68(r4) +/* 8003E28C 0003B1EC 38 00 01 00 */ li r0, 0x100 +/* 8003E290 0003B1F0 80 A4 00 6C */ lwz r5, 0x6c(r4) +/* 8003E294 0003B1F4 38 80 00 00 */ li r4, 0 +/* 8003E298 0003B1F8 7C 60 00 38 */ and r0, r3, r0 +/* 8003E29C 0003B1FC 7C A3 20 38 */ and r3, r5, r4 +/* 8003E2A0 0003B200 7C 63 22 78 */ xor r3, r3, r4 +/* 8003E2A4 0003B204 7C 00 22 78 */ xor r0, r0, r4 +/* 8003E2A8 0003B208 7C 60 03 79 */ or. r0, r3, r0 +/* 8003E2AC 0003B20C 41 82 00 08 */ beq lbl_8003E2B4 +/* 8003E2B0 0003B210 38 80 00 01 */ li r4, 1 +lbl_8003E2B4: +/* 8003E2B4 0003B214 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 8003E2B8 0003B218 28 00 00 01 */ cmplwi r0, 1 +/* 8003E2BC 0003B21C 41 82 00 0C */ beq lbl_8003E2C8 +/* 8003E2C0 0003B220 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8003E2C4 0003B224 B0 01 00 0C */ sth r0, 0xc(r1) +lbl_8003E2C8: +/* 8003E2C8 0003B228 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8003E2CC 0003B22C B0 1F 00 00 */ sth r0, 0(r31) +/* 8003E2D0 0003B230 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003E2D4 0003B234 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003E2D8 0003B238 7C 08 03 A6 */ mtlr r0 +/* 8003E2DC 0003B23C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003E2E0 0003B240 4E 80 00 20 */ blr + +.global GetBeamVelocity__10CPlayerGunCFv +GetBeamVelocity__10CPlayerGunCFv: +/* 8003E2E4 0003B244 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003E2E8 0003B248 7C 08 02 A6 */ mflr r0 +/* 8003E2EC 0003B24C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003E2F0 0003B250 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003E2F4 0003B254 7C 7F 1B 78 */ mr r31, r3 +/* 8003E2F8 0003B258 80 63 07 2C */ lwz r3, 0x72c(r3) +/* 8003E2FC 0003B25C 81 83 00 00 */ lwz r12, 0(r3) +/* 8003E300 0003B260 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8003E304 0003B264 7D 89 03 A6 */ mtctr r12 +/* 8003E308 0003B268 4E 80 04 21 */ bctrl +/* 8003E30C 0003B26C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003E310 0003B270 41 82 00 1C */ beq lbl_8003E32C +/* 8003E314 0003B274 80 1F 03 30 */ lwz r0, 0x330(r31) +/* 8003E318 0003B278 80 7F 07 2C */ lwz r3, 0x72c(r31) +/* 8003E31C 0003B27C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8003E320 0003B280 7C 63 02 14 */ add r3, r3, r0 +/* 8003E324 0003B284 C0 23 01 D8 */ lfs f1, 0x1d8(r3) +/* 8003E328 0003B288 48 00 00 08 */ b lbl_8003E330 +lbl_8003E32C: +/* 8003E32C 0003B28C C0 22 84 9C */ lfs f1, lbl_805AA1BC@sda21(r2) +lbl_8003E330: +/* 8003E330 0003B290 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003E334 0003B294 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003E338 0003B298 7C 08 03 A6 */ mtlr r0 +/* 8003E33C 0003B29C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003E340 0003B2A0 4E 80 00 20 */ blr + +.global InitCTData__10CPlayerGunFv +InitCTData__10CPlayerGunFv: +/* 8003E344 0003B2A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003E348 0003B2A8 7C 08 02 A6 */ mflr r0 +/* 8003E34C 0003B2AC 38 80 00 00 */ li r4, 0 +/* 8003E350 0003B2B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003E354 0003B2B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003E358 0003B2B8 7C 7F 1B 78 */ mr r31, r3 +/* 8003E35C 0003B2BC 38 61 00 08 */ addi r3, r1, 8 +/* 8003E360 0003B2C0 38 1F 07 7C */ addi r0, r31, 0x77c +/* 8003E364 0003B2C4 98 81 00 08 */ stb r4, 8(r1) +/* 8003E368 0003B2C8 7C 03 00 40 */ cmplw r3, r0 +/* 8003E36C 0003B2CC 90 81 00 0C */ stw r4, 0xc(r1) +/* 8003E370 0003B2D0 41 82 00 48 */ beq lbl_8003E3B8 +/* 8003E374 0003B2D4 88 1F 07 7C */ lbz r0, 0x77c(r31) +/* 8003E378 0003B2D8 28 00 00 00 */ cmplwi r0, 0 +/* 8003E37C 0003B2DC 41 82 00 24 */ beq lbl_8003E3A0 +/* 8003E380 0003B2E0 80 7F 07 80 */ lwz r3, 0x780(r31) +/* 8003E384 0003B2E4 28 03 00 00 */ cmplwi r3, 0 +/* 8003E388 0003B2E8 41 82 00 18 */ beq lbl_8003E3A0 +/* 8003E38C 0003B2EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8003E390 0003B2F0 38 80 00 01 */ li r4, 1 +/* 8003E394 0003B2F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003E398 0003B2F8 7D 89 03 A6 */ mtctr r12 +/* 8003E39C 0003B2FC 4E 80 04 21 */ bctrl +lbl_8003E3A0: +/* 8003E3A0 0003B300 88 61 00 08 */ lbz r3, 8(r1) +/* 8003E3A4 0003B304 38 00 00 00 */ li r0, 0 +/* 8003E3A8 0003B308 98 7F 07 7C */ stb r3, 0x77c(r31) +/* 8003E3AC 0003B30C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8003E3B0 0003B310 90 7F 07 80 */ stw r3, 0x780(r31) +/* 8003E3B4 0003B314 98 01 00 08 */ stb r0, 8(r1) +lbl_8003E3B8: +/* 8003E3B8 0003B318 88 01 00 08 */ lbz r0, 8(r1) +/* 8003E3BC 0003B31C 28 00 00 00 */ cmplwi r0, 0 +/* 8003E3C0 0003B320 41 82 00 24 */ beq lbl_8003E3E4 +/* 8003E3C4 0003B324 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8003E3C8 0003B328 28 03 00 00 */ cmplwi r3, 0 +/* 8003E3CC 0003B32C 41 82 00 18 */ beq lbl_8003E3E4 +/* 8003E3D0 0003B330 81 83 00 00 */ lwz r12, 0(r3) +/* 8003E3D4 0003B334 38 80 00 01 */ li r4, 1 +/* 8003E3D8 0003B338 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003E3DC 0003B33C 7D 89 03 A6 */ mtctr r12 +/* 8003E3E0 0003B340 4E 80 04 21 */ bctrl +lbl_8003E3E4: +/* 8003E3E4 0003B344 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003E3E8 0003B348 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003E3EC 0003B34C 7C 08 03 A6 */ mtlr r0 +/* 8003E3F0 0003B350 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003E3F4 0003B354 4E 80 00 20 */ blr + +.global InitMuzzleData__10CPlayerGunFv +InitMuzzleData__10CPlayerGunFv: +/* 8003E3F8 0003B358 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8003E3FC 0003B35C 7C 08 02 A6 */ mflr r0 +/* 8003E400 0003B360 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 8003E404 0003B364 90 01 00 74 */ stw r0, 0x74(r1) +/* 8003E408 0003B368 BE A1 00 44 */ stmw r21, 0x44(r1) +/* 8003E40C 0003B36C 7C 79 1B 78 */ mr r25, r3 +/* 8003E410 0003B370 3B 79 07 C4 */ addi r27, r25, 0x7c4 +/* 8003E414 0003B374 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 8003E418 0003B378 7F 7D DB 78 */ mr r29, r27 +/* 8003E41C 0003B37C 3B 99 08 04 */ addi r28, r25, 0x804 +/* 8003E420 0003B380 3B C4 52 54 */ addi r30, r4, 0x50415254@l +/* 8003E424 0003B384 3B 01 00 28 */ addi r24, r1, 0x28 +/* 8003E428 0003B388 3B E3 CE B0 */ addi r31, r3, lbl_803CCEB0@l +/* 8003E42C 0003B38C 3B 40 00 00 */ li r26, 0 +/* 8003E430 0003B390 3A E0 00 00 */ li r23, 0 +lbl_8003E434: +/* 8003E434 0003B394 2C 1A 00 00 */ cmpwi r26, 0 +/* 8003E438 0003B398 80 6D A1 48 */ lwz r3, gpTweakGunRes@sda21(r13) +/* 8003E43C 0003B39C 41 80 00 0C */ blt lbl_8003E448 +/* 8003E440 0003B3A0 2C 1A 00 04 */ cmpwi r26, 4 +/* 8003E444 0003B3A4 40 81 00 0C */ ble lbl_8003E450 +lbl_8003E448: +/* 8003E448 0003B3A8 38 00 FF FF */ li r0, -1 +/* 8003E44C 0003B3AC 48 00 00 0C */ b lbl_8003E458 +lbl_8003E450: +/* 8003E450 0003B3B0 80 63 00 B0 */ lwz r3, 0xb0(r3) +/* 8003E454 0003B3B4 7C 03 B8 2E */ lwzx r0, r3, r23 +lbl_8003E458: +/* 8003E458 0003B3B8 93 C1 00 20 */ stw r30, 0x20(r1) +/* 8003E45C 0003B3BC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003E460 0003B3C0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8003E464 0003B3C4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8003E468 0003B3C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003E46C 0003B3CC 81 84 00 00 */ lwz r12, 0(r4) +/* 8003E470 0003B3D0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8003E474 0003B3D4 7D 89 03 A6 */ mtctr r12 +/* 8003E478 0003B3D8 4E 80 04 21 */ bctrl +/* 8003E47C 0003B3DC 7F 03 C3 78 */ mr r3, r24 +/* 8003E480 0003B3E0 38 81 00 18 */ addi r4, r1, 0x18 +/* 8003E484 0003B3E4 48 30 2A 25 */ bl __ct__6CTokenFRC6CToken +/* 8003E488 0003B3E8 7F 03 C3 78 */ mr r3, r24 +/* 8003E48C 0003B3EC 48 30 29 81 */ bl GetObj__6CTokenFv +/* 8003E490 0003B3F0 80 03 00 04 */ lwz r0, 4(r3) +/* 8003E494 0003B3F4 90 01 00 30 */ stw r0, 0x30(r1) +/* 8003E498 0003B3F8 80 19 07 C0 */ lwz r0, 0x7c0(r25) +/* 8003E49C 0003B3FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8003E4A0 0003B400 7E DB 02 15 */ add. r22, r27, r0 +/* 8003E4A4 0003B404 41 82 00 20 */ beq lbl_8003E4C4 +/* 8003E4A8 0003B408 7E C3 B3 78 */ mr r3, r22 +/* 8003E4AC 0003B40C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8003E4B0 0003B410 48 30 29 F9 */ bl __ct__6CTokenFRC6CToken +/* 8003E4B4 0003B414 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8003E4B8 0003B418 7E C3 B3 78 */ mr r3, r22 +/* 8003E4BC 0003B41C 90 16 00 08 */ stw r0, 8(r22) +/* 8003E4C0 0003B420 48 30 28 C5 */ bl Lock__6CTokenFv +lbl_8003E4C4: +/* 8003E4C4 0003B424 80 B9 07 C0 */ lwz r5, 0x7c0(r25) +/* 8003E4C8 0003B428 38 61 00 28 */ addi r3, r1, 0x28 +/* 8003E4CC 0003B42C 38 80 00 00 */ li r4, 0 +/* 8003E4D0 0003B430 38 05 00 01 */ addi r0, r5, 1 +/* 8003E4D4 0003B434 90 19 07 C0 */ stw r0, 0x7c0(r25) +/* 8003E4D8 0003B438 48 30 29 69 */ bl __dt__6CTokenFv +/* 8003E4DC 0003B43C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003E4E0 0003B440 38 80 FF FF */ li r4, -1 +/* 8003E4E4 0003B444 48 30 29 5D */ bl __dt__6CTokenFv +/* 8003E4E8 0003B448 38 9F 00 09 */ addi r4, r31, 9 +/* 8003E4EC 0003B44C 3A A0 00 00 */ li r21, 0 +/* 8003E4F0 0003B450 38 60 03 40 */ li r3, 0x340 +/* 8003E4F4 0003B454 38 A0 00 00 */ li r5, 0 +/* 8003E4F8 0003B458 48 2D 73 75 */ bl __nw__FUlPCcPCc +/* 8003E4FC 0003B45C 7C 76 1B 79 */ or. r22, r3, r3 +/* 8003E500 0003B460 41 82 00 2C */ beq lbl_8003E52C +/* 8003E504 0003B464 7F A4 EB 78 */ mr r4, r29 +/* 8003E508 0003B468 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003E50C 0003B46C 48 30 29 9D */ bl __ct__6CTokenFRC6CToken +/* 8003E510 0003B470 7E C3 B3 78 */ mr r3, r22 +/* 8003E514 0003B474 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003E518 0003B478 3A A0 00 01 */ li r21, 1 +/* 8003E51C 0003B47C 38 A0 00 00 */ li r5, 0 +/* 8003E520 0003B480 38 C0 00 01 */ li r6, 1 +/* 8003E524 0003B484 48 2E 0E BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8003E528 0003B488 7C 76 1B 78 */ mr r22, r3 +lbl_8003E52C: +/* 8003E52C 0003B48C 7E A0 07 75 */ extsb. r0, r21 +/* 8003E530 0003B490 41 82 00 10 */ beq lbl_8003E540 +/* 8003E534 0003B494 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003E538 0003B498 38 80 00 00 */ li r4, 0 +/* 8003E53C 0003B49C 48 30 29 05 */ bl __dt__6CTokenFv +lbl_8003E540: +/* 8003E540 0003B4A0 7E C3 B3 78 */ mr r3, r22 +/* 8003E544 0003B4A4 38 80 00 00 */ li r4, 0 +/* 8003E548 0003B4A8 81 96 00 00 */ lwz r12, 0(r22) +/* 8003E54C 0003B4AC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8003E550 0003B4B0 7D 89 03 A6 */ mtctr r12 +/* 8003E554 0003B4B4 4E 80 04 21 */ bctrl +/* 8003E558 0003B4B8 80 19 08 00 */ lwz r0, 0x800(r25) +/* 8003E55C 0003B4BC 7C 76 00 D0 */ neg r3, r22 +/* 8003E560 0003B4C0 7C 63 B3 78 */ or r3, r3, r22 +/* 8003E564 0003B4C4 92 C1 00 0C */ stw r22, 0xc(r1) +/* 8003E568 0003B4C8 54 00 18 38 */ slwi r0, r0, 3 +/* 8003E56C 0003B4CC 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8003E570 0003B4D0 7C 9C 02 15 */ add. r4, r28, r0 +/* 8003E574 0003B4D4 98 61 00 08 */ stb r3, 8(r1) +/* 8003E578 0003B4D8 41 82 00 14 */ beq lbl_8003E58C +/* 8003E57C 0003B4DC 98 64 00 00 */ stb r3, 0(r4) +/* 8003E580 0003B4E0 38 00 00 00 */ li r0, 0 +/* 8003E584 0003B4E4 92 C4 00 04 */ stw r22, 4(r4) +/* 8003E588 0003B4E8 98 01 00 08 */ stb r0, 8(r1) +lbl_8003E58C: +/* 8003E58C 0003B4EC 80 79 08 00 */ lwz r3, 0x800(r25) +/* 8003E590 0003B4F0 88 01 00 08 */ lbz r0, 8(r1) +/* 8003E594 0003B4F4 38 63 00 01 */ addi r3, r3, 1 +/* 8003E598 0003B4F8 28 00 00 00 */ cmplwi r0, 0 +/* 8003E59C 0003B4FC 90 79 08 00 */ stw r3, 0x800(r25) +/* 8003E5A0 0003B500 41 82 00 24 */ beq lbl_8003E5C4 +/* 8003E5A4 0003B504 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8003E5A8 0003B508 28 03 00 00 */ cmplwi r3, 0 +/* 8003E5AC 0003B50C 41 82 00 18 */ beq lbl_8003E5C4 +/* 8003E5B0 0003B510 81 83 00 00 */ lwz r12, 0(r3) +/* 8003E5B4 0003B514 38 80 00 01 */ li r4, 1 +/* 8003E5B8 0003B518 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003E5BC 0003B51C 7D 89 03 A6 */ mtctr r12 +/* 8003E5C0 0003B520 4E 80 04 21 */ bctrl +lbl_8003E5C4: +/* 8003E5C4 0003B524 3B 5A 00 01 */ addi r26, r26, 1 +/* 8003E5C8 0003B528 3A F7 00 04 */ addi r23, r23, 4 +/* 8003E5CC 0003B52C 2C 1A 00 05 */ cmpwi r26, 5 +/* 8003E5D0 0003B530 3B BD 00 0C */ addi r29, r29, 0xc +/* 8003E5D4 0003B534 41 80 FE 60 */ blt lbl_8003E434 +/* 8003E5D8 0003B538 BA A1 00 44 */ lmw r21, 0x44(r1) +/* 8003E5DC 0003B53C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8003E5E0 0003B540 7C 08 03 A6 */ mtlr r0 +/* 8003E5E4 0003B544 38 21 00 70 */ addi r1, r1, 0x70 +/* 8003E5E8 0003B548 4E 80 00 20 */ blr + +.global InitBombData__10CPlayerGunFv +InitBombData__10CPlayerGunFv: +/* 8003E5EC 0003B54C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8003E5F0 0003B550 7C 08 02 A6 */ mflr r0 +/* 8003E5F4 0003B554 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8003E5F8 0003B558 BF 01 00 A0 */ stmw r24, 0xa0(r1) +/* 8003E5FC 0003B55C 7C 7C 1B 78 */ mr r28, r3 +/* 8003E600 0003B560 3B E1 00 84 */ addi r31, r1, 0x84 +/* 8003E604 0003B564 3B A0 00 00 */ li r29, 0 +/* 8003E608 0003B568 3B DC 07 88 */ addi r30, r28, 0x788 +lbl_8003E60C: +/* 8003E60C 0003B56C 3B 60 00 00 */ li r27, 0 +/* 8003E610 0003B570 93 61 00 80 */ stw r27, 0x80(r1) +/* 8003E614 0003B574 80 1C 07 84 */ lwz r0, 0x784(r28) +/* 8003E618 0003B578 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 8003E61C 0003B57C 7C 7E 02 15 */ add. r3, r30, r0 +/* 8003E620 0003B580 41 82 00 50 */ beq lbl_8003E670 +/* 8003E624 0003B584 93 63 00 00 */ stw r27, 0(r3) +/* 8003E628 0003B588 7F F9 FB 78 */ mr r25, r31 +/* 8003E62C 0003B58C 3B 43 00 04 */ addi r26, r3, 4 +/* 8003E630 0003B590 83 03 00 00 */ lwz r24, 0(r3) +/* 8003E634 0003B594 48 00 00 34 */ b lbl_8003E668 +lbl_8003E638: +/* 8003E638 0003B598 28 1A 00 00 */ cmplwi r26, 0 +/* 8003E63C 0003B59C 41 82 00 20 */ beq lbl_8003E65C +/* 8003E640 0003B5A0 7F 43 D3 78 */ mr r3, r26 +/* 8003E644 0003B5A4 7F 24 CB 78 */ mr r4, r25 +/* 8003E648 0003B5A8 48 30 28 61 */ bl __ct__6CTokenFRC6CToken +/* 8003E64C 0003B5AC 80 19 00 08 */ lwz r0, 8(r25) +/* 8003E650 0003B5B0 7F 43 D3 78 */ mr r3, r26 +/* 8003E654 0003B5B4 90 1A 00 08 */ stw r0, 8(r26) +/* 8003E658 0003B5B8 48 30 27 2D */ bl Lock__6CTokenFv +lbl_8003E65C: +/* 8003E65C 0003B5BC 3B 5A 00 0C */ addi r26, r26, 0xc +/* 8003E660 0003B5C0 3B 7B 00 01 */ addi r27, r27, 1 +/* 8003E664 0003B5C4 3B 39 00 0C */ addi r25, r25, 0xc +lbl_8003E668: +/* 8003E668 0003B5C8 7C 1B C0 00 */ cmpw r27, r24 +/* 8003E66C 0003B5CC 41 80 FF CC */ blt lbl_8003E638 +lbl_8003E670: +/* 8003E670 0003B5D0 80 7C 07 84 */ lwz r3, 0x784(r28) +/* 8003E674 0003B5D4 7F F8 FB 78 */ mr r24, r31 +/* 8003E678 0003B5D8 3B 60 00 00 */ li r27, 0 +/* 8003E67C 0003B5DC 38 03 00 01 */ addi r0, r3, 1 +/* 8003E680 0003B5E0 90 1C 07 84 */ stw r0, 0x784(r28) +/* 8003E684 0003B5E4 48 00 00 24 */ b lbl_8003E6A8 +lbl_8003E688: +/* 8003E688 0003B5E8 28 18 00 00 */ cmplwi r24, 0 +/* 8003E68C 0003B5EC 41 82 00 14 */ beq lbl_8003E6A0 +/* 8003E690 0003B5F0 41 82 00 10 */ beq lbl_8003E6A0 +/* 8003E694 0003B5F4 7F 03 C3 78 */ mr r3, r24 +/* 8003E698 0003B5F8 38 80 00 00 */ li r4, 0 +/* 8003E69C 0003B5FC 48 30 27 A5 */ bl __dt__6CTokenFv +lbl_8003E6A0: +/* 8003E6A0 0003B600 3B 18 00 0C */ addi r24, r24, 0xc +/* 8003E6A4 0003B604 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8003E6A8: +/* 8003E6A8 0003B608 80 01 00 80 */ lwz r0, 0x80(r1) +/* 8003E6AC 0003B60C 7C 1B 00 00 */ cmpw r27, r0 +/* 8003E6B0 0003B610 41 80 FF D8 */ blt lbl_8003E688 +/* 8003E6B4 0003B614 3B BD 00 01 */ addi r29, r29, 1 +/* 8003E6B8 0003B618 38 00 00 00 */ li r0, 0 +/* 8003E6BC 0003B61C 2C 1D 00 02 */ cmpwi r29, 2 +/* 8003E6C0 0003B620 90 01 00 80 */ stw r0, 0x80(r1) +/* 8003E6C4 0003B624 41 80 FF 48 */ blt lbl_8003E60C +/* 8003E6C8 0003B628 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 8003E6CC 0003B62C 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8003E6D0 0003B630 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8003E6D4 0003B634 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8003E6D8 0003B638 80 C5 00 28 */ lwz r6, 0x28(r5) +/* 8003E6DC 0003B63C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8003E6E0 0003B640 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8003E6E4 0003B644 90 01 00 30 */ stw r0, 0x30(r1) +/* 8003E6E8 0003B648 90 C1 00 34 */ stw r6, 0x34(r1) +/* 8003E6EC 0003B64C 81 84 00 00 */ lwz r12, 0(r4) +/* 8003E6F0 0003B650 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8003E6F4 0003B654 7D 89 03 A6 */ mtctr r12 +/* 8003E6F8 0003B658 4E 80 04 21 */ bctrl +/* 8003E6FC 0003B65C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8003E700 0003B660 38 81 00 28 */ addi r4, r1, 0x28 +/* 8003E704 0003B664 48 30 27 A5 */ bl __ct__6CTokenFRC6CToken +/* 8003E708 0003B668 38 61 00 28 */ addi r3, r1, 0x28 +/* 8003E70C 0003B66C 38 80 FF FF */ li r4, -1 +/* 8003E710 0003B670 48 30 27 31 */ bl __dt__6CTokenFv +/* 8003E714 0003B674 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 8003E718 0003B678 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8003E71C 0003B67C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8003E720 0003B680 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8003E724 0003B684 80 C5 00 2C */ lwz r6, 0x2c(r5) +/* 8003E728 0003B688 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003E72C 0003B68C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8003E730 0003B690 90 01 00 20 */ stw r0, 0x20(r1) +/* 8003E734 0003B694 90 C1 00 24 */ stw r6, 0x24(r1) +/* 8003E738 0003B698 81 84 00 00 */ lwz r12, 0(r4) +/* 8003E73C 0003B69C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8003E740 0003B6A0 7D 89 03 A6 */ mtctr r12 +/* 8003E744 0003B6A4 4E 80 04 21 */ bctrl +/* 8003E748 0003B6A8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8003E74C 0003B6AC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8003E750 0003B6B0 48 30 27 59 */ bl __ct__6CTokenFRC6CToken +/* 8003E754 0003B6B4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003E758 0003B6B8 38 80 FF FF */ li r4, -1 +/* 8003E75C 0003B6BC 48 30 26 E5 */ bl __dt__6CTokenFv +/* 8003E760 0003B6C0 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 8003E764 0003B6C4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8003E768 0003B6C8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8003E76C 0003B6CC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8003E770 0003B6D0 80 C5 00 30 */ lwz r6, 0x30(r5) +/* 8003E774 0003B6D4 38 61 00 08 */ addi r3, r1, 8 +/* 8003E778 0003B6D8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8003E77C 0003B6DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8003E780 0003B6E0 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8003E784 0003B6E4 81 84 00 00 */ lwz r12, 0(r4) +/* 8003E788 0003B6E8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8003E78C 0003B6EC 7D 89 03 A6 */ mtctr r12 +/* 8003E790 0003B6F0 4E 80 04 21 */ bctrl +/* 8003E794 0003B6F4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8003E798 0003B6F8 38 81 00 08 */ addi r4, r1, 8 +/* 8003E79C 0003B6FC 48 30 27 0D */ bl __ct__6CTokenFRC6CToken +/* 8003E7A0 0003B700 38 61 00 08 */ addi r3, r1, 8 +/* 8003E7A4 0003B704 38 80 FF FF */ li r4, -1 +/* 8003E7A8 0003B708 48 30 26 99 */ bl __dt__6CTokenFv +/* 8003E7AC 0003B70C 3B 01 00 74 */ addi r24, r1, 0x74 +/* 8003E7B0 0003B710 38 81 00 48 */ addi r4, r1, 0x48 +/* 8003E7B4 0003B714 7F 03 C3 78 */ mr r3, r24 +/* 8003E7B8 0003B718 48 30 26 F1 */ bl __ct__6CTokenFRC6CToken +/* 8003E7BC 0003B71C 7F 03 C3 78 */ mr r3, r24 +/* 8003E7C0 0003B720 48 30 26 4D */ bl GetObj__6CTokenFv +/* 8003E7C4 0003B724 80 03 00 04 */ lwz r0, 4(r3) +/* 8003E7C8 0003B728 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8003E7CC 0003B72C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8003E7D0 0003B730 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8003E7D4 0003B734 7F 7E 02 14 */ add r27, r30, r0 +/* 8003E7D8 0003B738 37 7B 00 04 */ addic. r27, r27, 4 +/* 8003E7DC 0003B73C 41 82 00 20 */ beq lbl_8003E7FC +/* 8003E7E0 0003B740 7F 63 DB 78 */ mr r3, r27 +/* 8003E7E4 0003B744 7F 04 C3 78 */ mr r4, r24 +/* 8003E7E8 0003B748 48 30 26 C1 */ bl __ct__6CTokenFRC6CToken +/* 8003E7EC 0003B74C 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8003E7F0 0003B750 7F 63 DB 78 */ mr r3, r27 +/* 8003E7F4 0003B754 90 1B 00 08 */ stw r0, 8(r27) +/* 8003E7F8 0003B758 48 30 25 8D */ bl Lock__6CTokenFv +lbl_8003E7FC: +/* 8003E7FC 0003B75C 80 BE 00 00 */ lwz r5, 0(r30) +/* 8003E800 0003B760 38 61 00 74 */ addi r3, r1, 0x74 +/* 8003E804 0003B764 38 80 00 00 */ li r4, 0 +/* 8003E808 0003B768 38 05 00 01 */ addi r0, r5, 1 +/* 8003E80C 0003B76C 90 1E 00 00 */ stw r0, 0(r30) +/* 8003E810 0003B770 48 30 26 31 */ bl __dt__6CTokenFv +/* 8003E814 0003B774 3B 01 00 68 */ addi r24, r1, 0x68 +/* 8003E818 0003B778 38 81 00 40 */ addi r4, r1, 0x40 +/* 8003E81C 0003B77C 7F 03 C3 78 */ mr r3, r24 +/* 8003E820 0003B780 48 30 26 89 */ bl __ct__6CTokenFRC6CToken +/* 8003E824 0003B784 7F 03 C3 78 */ mr r3, r24 +/* 8003E828 0003B788 48 30 25 E5 */ bl GetObj__6CTokenFv +/* 8003E82C 0003B78C 80 03 00 04 */ lwz r0, 4(r3) +/* 8003E830 0003B790 90 01 00 70 */ stw r0, 0x70(r1) +/* 8003E834 0003B794 80 1E 00 00 */ lwz r0, 0(r30) +/* 8003E838 0003B798 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8003E83C 0003B79C 7F 7E 02 14 */ add r27, r30, r0 +/* 8003E840 0003B7A0 37 7B 00 04 */ addic. r27, r27, 4 +/* 8003E844 0003B7A4 41 82 00 20 */ beq lbl_8003E864 +/* 8003E848 0003B7A8 7F 63 DB 78 */ mr r3, r27 +/* 8003E84C 0003B7AC 7F 04 C3 78 */ mr r4, r24 +/* 8003E850 0003B7B0 48 30 26 59 */ bl __ct__6CTokenFRC6CToken +/* 8003E854 0003B7B4 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8003E858 0003B7B8 7F 63 DB 78 */ mr r3, r27 +/* 8003E85C 0003B7BC 90 1B 00 08 */ stw r0, 8(r27) +/* 8003E860 0003B7C0 48 30 25 25 */ bl Lock__6CTokenFv +lbl_8003E864: +/* 8003E864 0003B7C4 80 BE 00 00 */ lwz r5, 0(r30) +/* 8003E868 0003B7C8 38 61 00 68 */ addi r3, r1, 0x68 +/* 8003E86C 0003B7CC 38 80 00 00 */ li r4, 0 +/* 8003E870 0003B7D0 38 05 00 01 */ addi r0, r5, 1 +/* 8003E874 0003B7D4 90 1E 00 00 */ stw r0, 0(r30) +/* 8003E878 0003B7D8 48 30 25 C9 */ bl __dt__6CTokenFv +/* 8003E87C 0003B7DC 3B 01 00 5C */ addi r24, r1, 0x5c +/* 8003E880 0003B7E0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8003E884 0003B7E4 7F 03 C3 78 */ mr r3, r24 +/* 8003E888 0003B7E8 48 30 26 21 */ bl __ct__6CTokenFRC6CToken +/* 8003E88C 0003B7EC 7F 03 C3 78 */ mr r3, r24 +/* 8003E890 0003B7F0 48 30 25 7D */ bl GetObj__6CTokenFv +/* 8003E894 0003B7F4 80 03 00 04 */ lwz r0, 4(r3) +/* 8003E898 0003B7F8 3B 1E 00 1C */ addi r24, r30, 0x1c +/* 8003E89C 0003B7FC 90 01 00 64 */ stw r0, 0x64(r1) +/* 8003E8A0 0003B800 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8003E8A4 0003B804 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8003E8A8 0003B808 7F 78 02 14 */ add r27, r24, r0 +/* 8003E8AC 0003B80C 37 7B 00 04 */ addic. r27, r27, 4 +/* 8003E8B0 0003B810 41 82 00 20 */ beq lbl_8003E8D0 +/* 8003E8B4 0003B814 7F 63 DB 78 */ mr r3, r27 +/* 8003E8B8 0003B818 38 81 00 5C */ addi r4, r1, 0x5c +/* 8003E8BC 0003B81C 48 30 25 ED */ bl __ct__6CTokenFRC6CToken +/* 8003E8C0 0003B820 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8003E8C4 0003B824 7F 63 DB 78 */ mr r3, r27 +/* 8003E8C8 0003B828 90 1B 00 08 */ stw r0, 8(r27) +/* 8003E8CC 0003B82C 48 30 24 B9 */ bl Lock__6CTokenFv +lbl_8003E8D0: +/* 8003E8D0 0003B830 80 B8 00 00 */ lwz r5, 0(r24) +/* 8003E8D4 0003B834 38 61 00 5C */ addi r3, r1, 0x5c +/* 8003E8D8 0003B838 38 80 00 00 */ li r4, 0 +/* 8003E8DC 0003B83C 38 05 00 01 */ addi r0, r5, 1 +/* 8003E8E0 0003B840 90 18 00 00 */ stw r0, 0(r24) +/* 8003E8E4 0003B844 48 30 25 5D */ bl __dt__6CTokenFv +/* 8003E8E8 0003B848 3B 21 00 50 */ addi r25, r1, 0x50 +/* 8003E8EC 0003B84C 38 81 00 38 */ addi r4, r1, 0x38 +/* 8003E8F0 0003B850 7F 23 CB 78 */ mr r3, r25 +/* 8003E8F4 0003B854 48 30 25 B5 */ bl __ct__6CTokenFRC6CToken +/* 8003E8F8 0003B858 7F 23 CB 78 */ mr r3, r25 +/* 8003E8FC 0003B85C 48 30 25 11 */ bl GetObj__6CTokenFv +/* 8003E900 0003B860 80 03 00 04 */ lwz r0, 4(r3) +/* 8003E904 0003B864 90 01 00 58 */ stw r0, 0x58(r1) +/* 8003E908 0003B868 80 18 00 00 */ lwz r0, 0(r24) +/* 8003E90C 0003B86C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8003E910 0003B870 7F 78 02 14 */ add r27, r24, r0 +/* 8003E914 0003B874 37 7B 00 04 */ addic. r27, r27, 4 +/* 8003E918 0003B878 41 82 00 20 */ beq lbl_8003E938 +/* 8003E91C 0003B87C 7F 63 DB 78 */ mr r3, r27 +/* 8003E920 0003B880 7F 24 CB 78 */ mr r4, r25 +/* 8003E924 0003B884 48 30 25 85 */ bl __ct__6CTokenFRC6CToken +/* 8003E928 0003B888 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8003E92C 0003B88C 7F 63 DB 78 */ mr r3, r27 +/* 8003E930 0003B890 90 1B 00 08 */ stw r0, 8(r27) +/* 8003E934 0003B894 48 30 24 51 */ bl Lock__6CTokenFv +lbl_8003E938: +/* 8003E938 0003B898 80 B8 00 00 */ lwz r5, 0(r24) +/* 8003E93C 0003B89C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8003E940 0003B8A0 38 80 00 00 */ li r4, 0 +/* 8003E944 0003B8A4 38 05 00 01 */ addi r0, r5, 1 +/* 8003E948 0003B8A8 90 18 00 00 */ stw r0, 0(r24) +/* 8003E94C 0003B8AC 48 30 24 F5 */ bl __dt__6CTokenFv +/* 8003E950 0003B8B0 38 61 00 38 */ addi r3, r1, 0x38 +/* 8003E954 0003B8B4 38 80 00 00 */ li r4, 0 +/* 8003E958 0003B8B8 48 30 24 E9 */ bl __dt__6CTokenFv +/* 8003E95C 0003B8BC 38 61 00 40 */ addi r3, r1, 0x40 +/* 8003E960 0003B8C0 38 80 00 00 */ li r4, 0 +/* 8003E964 0003B8C4 48 30 24 DD */ bl __dt__6CTokenFv +/* 8003E968 0003B8C8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8003E96C 0003B8CC 38 80 00 00 */ li r4, 0 +/* 8003E970 0003B8D0 48 30 24 D1 */ bl __dt__6CTokenFv +/* 8003E974 0003B8D4 BB 01 00 A0 */ lmw r24, 0xa0(r1) +/* 8003E978 0003B8D8 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8003E97C 0003B8DC 7C 08 03 A6 */ mtlr r0 +/* 8003E980 0003B8E0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8003E984 0003B8E4 4E 80 00 20 */ blr + +.global InitBeamData__10CPlayerGunFv +InitBeamData__10CPlayerGunFv: +/* 8003E988 0003B8E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003E98C 0003B8EC 7C 08 02 A6 */ mflr r0 +/* 8003E990 0003B8F0 38 80 00 01 */ li r4, 1 +/* 8003E994 0003B8F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003E998 0003B8F8 80 03 07 4C */ lwz r0, 0x74c(r3) +/* 8003E99C 0003B8FC 90 03 07 64 */ stw r0, 0x764(r3) +/* 8003E9A0 0003B900 80 03 07 50 */ lwz r0, 0x750(r3) +/* 8003E9A4 0003B904 90 03 07 68 */ stw r0, 0x768(r3) +/* 8003E9A8 0003B908 80 03 07 54 */ lwz r0, 0x754(r3) +/* 8003E9AC 0003B90C 90 03 07 6C */ stw r0, 0x76c(r3) +/* 8003E9B0 0003B910 80 03 07 58 */ lwz r0, 0x758(r3) +/* 8003E9B4 0003B914 90 03 07 70 */ stw r0, 0x770(r3) +/* 8003E9B8 0003B918 80 03 07 64 */ lwz r0, 0x764(r3) +/* 8003E9BC 0003B91C 90 03 07 2C */ stw r0, 0x72c(r3) +/* 8003E9C0 0003B920 80 03 07 2C */ lwz r0, 0x72c(r3) +/* 8003E9C4 0003B924 90 03 07 38 */ stw r0, 0x738(r3) +/* 8003E9C8 0003B928 80 63 07 78 */ lwz r3, 0x778(r3) +/* 8003E9CC 0003B92C 81 83 00 00 */ lwz r12, 0(r3) +/* 8003E9D0 0003B930 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8003E9D4 0003B934 7D 89 03 A6 */ mtctr r12 +/* 8003E9D8 0003B938 4E 80 04 21 */ bctrl +/* 8003E9DC 0003B93C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003E9E0 0003B940 7C 08 03 A6 */ mtlr r0 +/* 8003E9E4 0003B944 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003E9E8 0003B948 4E 80 00 20 */ blr + +.global HandlePhazonBeamChange__10CPlayerGunFR13CStateManager +HandlePhazonBeamChange__10CPlayerGunFR13CStateManager: +/* 8003E9EC 0003B94C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003E9F0 0003B950 7C 08 02 A6 */ mflr r0 +/* 8003E9F4 0003B954 38 A0 00 00 */ li r5, 0 +/* 8003E9F8 0003B958 90 01 00 14 */ stw r0, 0x14(r1) +/* 8003E9FC 0003B95C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003EA00 0003B960 7C 9F 23 78 */ mr r31, r4 +/* 8003EA04 0003B964 93 C1 00 08 */ stw r30, 8(r1) +/* 8003EA08 0003B968 7C 7E 1B 78 */ mr r30, r3 +/* 8003EA0C 0003B96C 80 03 03 3C */ lwz r0, 0x33c(r3) +/* 8003EA10 0003B970 2C 00 00 03 */ cmpwi r0, 3 +/* 8003EA14 0003B974 41 82 00 2C */ beq lbl_8003EA40 +/* 8003EA18 0003B978 40 80 00 74 */ bge lbl_8003EA8C +/* 8003EA1C 0003B97C 2C 00 00 00 */ cmpwi r0, 0 +/* 8003EA20 0003B980 41 82 00 08 */ beq lbl_8003EA28 +/* 8003EA24 0003B984 48 00 00 68 */ b lbl_8003EA8C +lbl_8003EA28: +/* 8003EA28 0003B988 38 80 00 01 */ li r4, 1 +/* 8003EA2C 0003B98C 48 00 00 F5 */ bl SetPhazonBeamMorph__10CPlayerGunFb +/* 8003EA30 0003B990 38 00 00 08 */ li r0, 8 +/* 8003EA34 0003B994 38 A0 00 01 */ li r5, 1 +/* 8003EA38 0003B998 90 1E 03 38 */ stw r0, 0x338(r30) +/* 8003EA3C 0003B99C 48 00 00 50 */ b lbl_8003EA8C +lbl_8003EA40: +/* 8003EA40 0003B9A0 88 1E 08 35 */ lbz r0, 0x835(r30) +/* 8003EA44 0003B9A4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8003EA48 0003B9A8 40 82 00 44 */ bne lbl_8003EA8C +/* 8003EA4C 0003B9AC 38 80 00 01 */ li r4, 1 +/* 8003EA50 0003B9B0 48 00 00 D1 */ bl SetPhazonBeamMorph__10CPlayerGunFb +/* 8003EA54 0003B9B4 38 00 00 09 */ li r0, 9 +/* 8003EA58 0003B9B8 38 A0 00 01 */ li r5, 1 +/* 8003EA5C 0003B9BC 90 1E 03 38 */ stw r0, 0x338(r30) +/* 8003EA60 0003B9C0 80 9E 07 5C */ lwz r4, 0x75c(r30) +/* 8003EA64 0003B9C4 28 04 00 00 */ cmplwi r4, 0 +/* 8003EA68 0003B9C8 41 82 00 24 */ beq lbl_8003EA8C +/* 8003EA6C 0003B9CC 88 04 02 74 */ lbz r0, 0x274(r4) +/* 8003EA70 0003B9D0 38 60 00 00 */ li r3, 0 +/* 8003EA74 0003B9D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003EA78 0003B9D8 38 60 00 01 */ li r3, 1 +/* 8003EA7C 0003B9DC 98 04 02 74 */ stb r0, 0x274(r4) +/* 8003EA80 0003B9E0 88 04 02 74 */ lbz r0, 0x274(r4) +/* 8003EA84 0003B9E4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8003EA88 0003B9E8 98 04 02 74 */ stb r0, 0x274(r4) +lbl_8003EA8C: +/* 8003EA8C 0003B9EC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8003EA90 0003B9F0 41 82 00 78 */ beq lbl_8003EB08 +/* 8003EA94 0003B9F4 80 BF 08 B8 */ lwz r5, 0x8b8(r31) +/* 8003EA98 0003B9F8 7F C3 F3 78 */ mr r3, r30 +/* 8003EA9C 0003B9FC 7F E4 FB 78 */ mr r4, r31 +/* 8003EAA0 0003BA00 38 C0 00 01 */ li r6, 1 +/* 8003EAA4 0003BA04 80 A5 00 00 */ lwz r5, 0(r5) +/* 8003EAA8 0003BA08 48 00 06 01 */ bl ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb +/* 8003EAAC 0003BA0C 38 00 00 00 */ li r0, 0 +/* 8003EAB0 0003BA10 7F C3 F3 78 */ mr r3, r30 +/* 8003EAB4 0003BA14 90 1E 02 F8 */ stw r0, 0x2f8(r30) +/* 8003EAB8 0003BA18 38 80 00 09 */ li r4, 9 +/* 8003EABC 0003BA1C 38 A0 00 00 */ li r5, 0 +/* 8003EAC0 0003BA20 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003EAC4 0003BA24 60 00 00 08 */ ori r0, r0, 8 +/* 8003EAC8 0003BA28 90 1E 02 F8 */ stw r0, 0x2f8(r30) +/* 8003EACC 0003BA2C 48 00 2D F9 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +/* 8003EAD0 0003BA30 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8003EAD4 0003BA34 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8003EAD8 0003BA38 41 82 00 20 */ beq lbl_8003EAF8 +/* 8003EADC 0003BA3C 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003EAE0 0003BA40 38 60 00 01 */ li r3, 1 +/* 8003EAE4 0003BA44 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003EAE8 0003BA48 7F E4 FB 78 */ mr r4, r31 +/* 8003EAEC 0003BA4C 98 1E 08 32 */ stb r0, 0x832(r30) +/* 8003EAF0 0003BA50 80 7E 07 40 */ lwz r3, 0x740(r30) +/* 8003EAF4 0003BA54 48 0D F4 01 */ bl EnterIdle__11CGrappleArmFR13CStateManager +lbl_8003EAF8: +/* 8003EAF8 0003BA58 7F C3 F3 78 */ mr r3, r30 +/* 8003EAFC 0003BA5C 7F E4 FB 78 */ mr r4, r31 +/* 8003EB00 0003BA60 38 A0 00 00 */ li r5, 0 +/* 8003EB04 0003BA64 4B FF D4 45 */ bl CancelCharge__10CPlayerGunFR13CStateManagerb +lbl_8003EB08: +/* 8003EB08 0003BA68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003EB0C 0003BA6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003EB10 0003BA70 83 C1 00 08 */ lwz r30, 8(r1) +/* 8003EB14 0003BA74 7C 08 03 A6 */ mtlr r0 +/* 8003EB18 0003BA78 38 21 00 10 */ addi r1, r1, 0x10 +/* 8003EB1C 0003BA7C 4E 80 00 20 */ blr + +.global SetPhazonBeamMorph__10CPlayerGunFb +SetPhazonBeamMorph__10CPlayerGunFb: +/* 8003EB20 0003BA80 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8003EB24 0003BA84 41 82 00 0C */ beq lbl_8003EB30 +/* 8003EB28 0003BA88 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003EB2C 0003BA8C 48 00 00 08 */ b lbl_8003EB34 +lbl_8003EB30: +/* 8003EB30 0003BA90 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +lbl_8003EB34: +/* 8003EB34 0003BA94 D0 03 03 9C */ stfs f0, 0x39c(r3) +/* 8003EB38 0003BA98 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 8003EB3C 0003BA9C 38 80 00 01 */ li r4, 1 +/* 8003EB40 0003BAA0 88 03 08 35 */ lbz r0, 0x835(r3) +/* 8003EB44 0003BAA4 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8003EB48 0003BAA8 98 03 08 35 */ stb r0, 0x835(r3) +/* 8003EB4C 0003BAAC 88 03 08 35 */ lbz r0, 0x835(r3) +/* 8003EB50 0003BAB0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8003EB54 0003BAB4 98 03 08 35 */ stb r0, 0x835(r3) +/* 8003EB58 0003BAB8 4E 80 00 20 */ blr + +.global HandleBeamChange__10CPlayerGunFRC11CFinalInputR13CStateManager +HandleBeamChange__10CPlayerGunFRC11CFinalInputR13CStateManager: +/* 8003EB5C 0003BABC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8003EB60 0003BAC0 7C 08 02 A6 */ mflr r0 +/* 8003EB64 0003BAC4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8003EB68 0003BAC8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8003EB6C 0003BACC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8003EB70 0003BAD0 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 8003EB74 0003BAD4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 8003EB78 0003BAD8 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 8003EB7C 0003BADC 80 E5 08 B8 */ lwz r7, 0x8b8(r5) +/* 8003EB80 0003BAE0 7C BF 2B 78 */ mr r31, r5 +/* 8003EB84 0003BAE4 3C C0 80 3D */ lis r6, lbl_803CCE54@ha +/* 8003EB88 0003BAE8 3C A0 80 3D */ lis r5, lbl_803CCE74@ha +/* 8003EB8C 0003BAEC C3 C2 84 6C */ lfs f30, lbl_805AA18C@sda21(r2) +/* 8003EB90 0003BAF0 3B 86 CE 54 */ addi r28, r6, lbl_803CCE54@l +/* 8003EB94 0003BAF4 83 A7 00 00 */ lwz r29, 0(r7) +/* 8003EB98 0003BAF8 3B 65 CE 74 */ addi r27, r5, lbl_803CCE74@l +/* 8003EB9C 0003BAFC C3 E2 84 E8 */ lfs f31, lbl_805AA208@sda21(r2) +/* 8003EBA0 0003BB00 7C 7E 1B 78 */ mr r30, r3 +/* 8003EBA4 0003BB04 7C 98 23 78 */ mr r24, r4 +/* 8003EBA8 0003BB08 3B 40 FF FF */ li r26, -1 +/* 8003EBAC 0003BB0C 3B 20 00 00 */ li r25, 0 +lbl_8003EBB0: +/* 8003EBB0 0003BB10 80 9C 00 00 */ lwz r4, 0(r28) +/* 8003EBB4 0003BB14 7F A3 EB 78 */ mr r3, r29 +/* 8003EBB8 0003BB18 48 05 2F 09 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003EBBC 0003BB1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003EBC0 0003BB20 41 82 00 28 */ beq lbl_8003EBE8 +/* 8003EBC4 0003BB24 80 7B 00 00 */ lwz r3, 0(r27) +/* 8003EBC8 0003BB28 7F 04 C3 78 */ mr r4, r24 +/* 8003EBCC 0003BB2C 4B FC DD 4D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8003EBD0 0003BB30 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8003EBD4 0003BB34 40 81 00 14 */ ble lbl_8003EBE8 +/* 8003EBD8 0003BB38 FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 8003EBDC 0003BB3C 40 81 00 0C */ ble lbl_8003EBE8 +/* 8003EBE0 0003BB40 FF C0 08 90 */ fmr f30, f1 +/* 8003EBE4 0003BB44 7F 3A CB 78 */ mr r26, r25 +lbl_8003EBE8: +/* 8003EBE8 0003BB48 3B 39 00 01 */ addi r25, r25, 1 +/* 8003EBEC 0003BB4C 3B 7B 00 04 */ addi r27, r27, 4 +/* 8003EBF0 0003BB50 2C 19 00 04 */ cmpwi r25, 4 +/* 8003EBF4 0003BB54 3B 9C 00 04 */ addi r28, r28, 4 +/* 8003EBF8 0003BB58 41 80 FF B8 */ blt lbl_8003EBB0 +/* 8003EBFC 0003BB5C 2C 1A FF FF */ cmpwi r26, -1 +/* 8003EC00 0003BB60 40 81 01 70 */ ble lbl_8003ED70 +/* 8003EC04 0003BB64 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8003EC08 0003BB68 38 60 00 01 */ li r3, 1 +/* 8003EC0C 0003BB6C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003EC10 0003BB70 98 1E 08 33 */ stb r0, 0x833(r30) +/* 8003EC14 0003BB74 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 8003EC18 0003BB78 7C 00 D0 00 */ cmpw r0, r26 +/* 8003EC1C 0003BB7C 41 82 00 DC */ beq lbl_8003ECF8 +/* 8003EC20 0003BB80 3C 60 80 3D */ lis r3, lbl_803CCE54@ha +/* 8003EC24 0003BB84 57 40 10 3A */ slwi r0, r26, 2 +/* 8003EC28 0003BB88 38 83 CE 54 */ addi r4, r3, lbl_803CCE54@l +/* 8003EC2C 0003BB8C 7F A3 EB 78 */ mr r3, r29 +/* 8003EC30 0003BB90 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8003EC34 0003BB94 48 05 2E 8D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003EC38 0003BB98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003EC3C 0003BB9C 41 82 00 BC */ beq lbl_8003ECF8 +/* 8003EC40 0003BBA0 93 5E 03 14 */ stw r26, 0x314(r30) +/* 8003EC44 0003BBA4 38 80 00 00 */ li r4, 0 +/* 8003EC48 0003BBA8 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003EC4C 0003BBAC 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 8003EC50 0003BBB0 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003EC54 0003BBB4 40 82 00 08 */ bne lbl_8003EC5C +/* 8003EC58 0003BBB8 38 80 00 10 */ li r4, 0x10 +lbl_8003EC5C: +/* 8003EC5C 0003BBBC 38 60 00 00 */ li r3, 0 +/* 8003EC60 0003BBC0 60 80 00 08 */ ori r0, r4, 8 +/* 8003EC64 0003BBC4 90 7E 02 F8 */ stw r3, 0x2f8(r30) +/* 8003EC68 0003BBC8 7F C3 F3 78 */ mr r3, r30 +/* 8003EC6C 0003BBCC 38 80 00 09 */ li r4, 9 +/* 8003EC70 0003BBD0 38 A0 00 00 */ li r5, 0 +/* 8003EC74 0003BBD4 80 DE 02 F8 */ lwz r6, 0x2f8(r30) +/* 8003EC78 0003BBD8 7C C0 03 78 */ or r0, r6, r0 +/* 8003EC7C 0003BBDC 90 1E 02 F8 */ stw r0, 0x2f8(r30) +/* 8003EC80 0003BBE0 48 00 2C 45 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +/* 8003EC84 0003BBE4 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8003EC88 0003BBE8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8003EC8C 0003BBEC 40 82 00 24 */ bne lbl_8003ECB0 +/* 8003EC90 0003BBF0 80 7E 07 44 */ lwz r3, 0x744(r30) +/* 8003EC94 0003BBF4 7F E4 FB 78 */ mr r4, r31 +/* 8003EC98 0003BBF8 48 17 A7 99 */ bl IsComboFxActive__10CAuxWeaponCFRC13CStateManager +/* 8003EC9C 0003BBFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003ECA0 0003BC00 40 82 00 10 */ bne lbl_8003ECB0 +/* 8003ECA4 0003BC04 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003ECA8 0003BC08 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8003ECAC 0003BC0C 41 82 00 20 */ beq lbl_8003ECCC +lbl_8003ECB0: +/* 8003ECB0 0003BC10 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003ECB4 0003BC14 38 60 00 01 */ li r3, 1 +/* 8003ECB8 0003BC18 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003ECBC 0003BC1C 7F E4 FB 78 */ mr r4, r31 +/* 8003ECC0 0003BC20 98 1E 08 32 */ stb r0, 0x832(r30) +/* 8003ECC4 0003BC24 80 7E 07 40 */ lwz r3, 0x740(r30) +/* 8003ECC8 0003BC28 48 0D F2 2D */ bl EnterIdle__11CGrappleArmFR13CStateManager +lbl_8003ECCC: +/* 8003ECCC 0003BC2C 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003ECD0 0003BC30 38 80 00 00 */ li r4, 0 +/* 8003ECD4 0003BC34 81 83 00 00 */ lwz r12, 0(r3) +/* 8003ECD8 0003BC38 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8003ECDC 0003BC3C 7D 89 03 A6 */ mtctr r12 +/* 8003ECE0 0003BC40 4E 80 04 21 */ bctrl +/* 8003ECE4 0003BC44 38 60 00 05 */ li r3, 5 +/* 8003ECE8 0003BC48 38 00 00 00 */ li r0, 0 +/* 8003ECEC 0003BC4C 90 7E 03 38 */ stw r3, 0x338(r30) +/* 8003ECF0 0003BC50 90 1E 02 E4 */ stw r0, 0x2e4(r30) +/* 8003ECF4 0003BC54 48 00 00 7C */ b lbl_8003ED70 +lbl_8003ECF8: +/* 8003ECF8 0003BC58 3C 60 80 3D */ lis r3, lbl_803CCE54@ha +/* 8003ECFC 0003BC5C 57 40 10 3A */ slwi r0, r26, 2 +/* 8003ED00 0003BC60 38 83 CE 54 */ addi r4, r3, lbl_803CCE54@l +/* 8003ED04 0003BC64 7F A3 EB 78 */ mr r3, r29 +/* 8003ED08 0003BC68 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8003ED0C 0003BC6C 48 05 2D B5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003ED10 0003BC70 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003ED14 0003BC74 41 82 00 5C */ beq lbl_8003ED70 +/* 8003ED18 0003BC78 7F C3 F3 78 */ mr r3, r30 +/* 8003ED1C 0003BC7C 48 00 17 7D */ bl ExitMissile__10CPlayerGunFv +/* 8003ED20 0003BC80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003ED24 0003BC84 41 82 00 44 */ beq lbl_8003ED68 +/* 8003ED28 0003BC88 80 1E 02 E4 */ lwz r0, 0x2e4(r30) +/* 8003ED2C 0003BC8C 38 61 00 0C */ addi r3, r1, 0xc +/* 8003ED30 0003BC90 90 01 00 0C */ stw r0, 0xc(r1) +/* 8003ED34 0003BC94 48 2A A0 A1 */ bl IsPlaying__11CSfxManagerF10CSfxHandle +/* 8003ED38 0003BC98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003ED3C 0003BC9C 40 82 00 34 */ bne lbl_8003ED70 +/* 8003ED40 0003BCA0 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003ED44 0003BCA4 38 61 00 08 */ addi r3, r1, 8 +/* 8003ED48 0003BCA8 38 80 06 E3 */ li r4, 0x6e3 +/* 8003ED4C 0003BCAC 38 C0 00 00 */ li r6, 0 +/* 8003ED50 0003BCB0 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 8003ED54 0003BCB4 38 E0 00 4A */ li r7, 0x4a +/* 8003ED58 0003BCB8 48 24 BD A1 */ bl play_sfx__12NWeaponTypesFUsbbs +/* 8003ED5C 0003BCBC 80 01 00 08 */ lwz r0, 8(r1) +/* 8003ED60 0003BCC0 90 1E 02 E4 */ stw r0, 0x2e4(r30) +/* 8003ED64 0003BCC4 48 00 00 0C */ b lbl_8003ED70 +lbl_8003ED68: +/* 8003ED68 0003BCC8 38 00 00 00 */ li r0, 0 +/* 8003ED6C 0003BCCC 90 1E 02 E4 */ stw r0, 0x2e4(r30) +lbl_8003ED70: +/* 8003ED70 0003BCD0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8003ED74 0003BCD4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8003ED78 0003BCD8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 8003ED7C 0003BCDC CB C1 00 30 */ lfd f30, 0x30(r1) +/* 8003ED80 0003BCE0 BB 01 00 10 */ lmw r24, 0x10(r1) +/* 8003ED84 0003BCE4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8003ED88 0003BCE8 7C 08 03 A6 */ mtlr r0 +/* 8003ED8C 0003BCEC 38 21 00 50 */ addi r1, r1, 0x50 +/* 8003ED90 0003BCF0 4E 80 00 20 */ blr + +.global HandleWeaponChange__10CPlayerGunFRC11CFinalInputR13CStateManager +HandleWeaponChange__10CPlayerGunFRC11CFinalInputR13CStateManager: +/* 8003ED94 0003BCF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003ED98 0003BCF8 7C 08 02 A6 */ mflr r0 +/* 8003ED9C 0003BCFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003EDA0 0003BD00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003EDA4 0003BD04 7C BF 2B 78 */ mr r31, r5 +/* 8003EDA8 0003BD08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003EDAC 0003BD0C 7C 9E 23 78 */ mr r30, r4 +/* 8003EDB0 0003BD10 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003EDB4 0003BD14 7C 7D 1B 78 */ mr r29, r3 +/* 8003EDB8 0003BD18 38 60 00 00 */ li r3, 0 +/* 8003EDBC 0003BD1C 88 1D 08 33 */ lbz r0, 0x833(r29) +/* 8003EDC0 0003BD20 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003EDC4 0003BD24 38 60 00 0D */ li r3, 0xd +/* 8003EDC8 0003BD28 98 1D 08 33 */ stb r0, 0x833(r29) +/* 8003EDCC 0003BD2C 4B FC DA 05 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8003EDD0 0003BD30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003EDD4 0003BD34 41 82 00 14 */ beq lbl_8003EDE8 +/* 8003EDD8 0003BD38 7F A3 EB 78 */ mr r3, r29 +/* 8003EDDC 0003BD3C 7F E4 FB 78 */ mr r4, r31 +/* 8003EDE0 0003BD40 38 A0 00 01 */ li r5, 1 +/* 8003EDE4 0003BD44 4B FF D5 CD */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb +lbl_8003EDE8: +/* 8003EDE8 0003BD48 80 1D 02 F8 */ lwz r0, 0x2f8(r29) +/* 8003EDEC 0003BD4C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 8003EDF0 0003BD50 2C 00 00 08 */ cmpwi r0, 8 +/* 8003EDF4 0003BD54 41 82 00 30 */ beq lbl_8003EE24 +/* 8003EDF8 0003BD58 88 1D 08 35 */ lbz r0, 0x835(r29) +/* 8003EDFC 0003BD5C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003EE00 0003BD60 40 82 00 18 */ bne lbl_8003EE18 +/* 8003EE04 0003BD64 7F A3 EB 78 */ mr r3, r29 +/* 8003EE08 0003BD68 7F C4 F3 78 */ mr r4, r30 +/* 8003EE0C 0003BD6C 7F E5 FB 78 */ mr r5, r31 +/* 8003EE10 0003BD70 4B FF FD 4D */ bl HandleBeamChange__10CPlayerGunFRC11CFinalInputR13CStateManager +/* 8003EE14 0003BD74 48 00 00 10 */ b lbl_8003EE24 +lbl_8003EE18: +/* 8003EE18 0003BD78 7F A3 EB 78 */ mr r3, r29 +/* 8003EE1C 0003BD7C 7F E4 FB 78 */ mr r4, r31 +/* 8003EE20 0003BD80 4B FF FB CD */ bl HandlePhazonBeamChange__10CPlayerGunFR13CStateManager +lbl_8003EE24: +/* 8003EE24 0003BD84 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003EE28 0003BD88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003EE2C 0003BD8C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003EE30 0003BD90 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8003EE34 0003BD94 7C 08 03 A6 */ mtlr r0 +/* 8003EE38 0003BD98 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003EE3C 0003BD9C 4E 80 00 20 */ blr + +.global StartPhazonBeamTransition__10CPlayerGunFbR13CStateManagerR12CPlayerState +StartPhazonBeamTransition__10CPlayerGunFbR13CStateManagerR12CPlayerState: +/* 8003EE40 0003BDA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003EE44 0003BDA4 7C 08 02 A6 */ mflr r0 +/* 8003EE48 0003BDA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003EE4C 0003BDAC 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 8003EE50 0003BDB0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8003EE54 0003BDB4 7C 7E 1B 78 */ mr r30, r3 +/* 8003EE58 0003BDB8 7C 9B 23 78 */ mr r27, r4 +/* 8003EE5C 0003BDBC 7C BF 2B 78 */ mr r31, r5 +/* 8003EE60 0003BDC0 7C DC 33 78 */ mr r28, r6 +/* 8003EE64 0003BDC4 88 63 08 33 */ lbz r3, 0x833(r3) +/* 8003EE68 0003BDC8 54 63 EF FE */ rlwinm r3, r3, 0x1d, 0x1f, 0x1f +/* 8003EE6C 0003BDCC 7C 03 00 40 */ cmplw r3, r0 +/* 8003EE70 0003BDD0 41 82 01 14 */ beq lbl_8003EF84 +/* 8003EE74 0003BDD4 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 8003EE78 0003BDD8 3B BE 07 64 */ addi r29, r30, 0x764 +/* 8003EE7C 0003BDDC 7F E4 FB 78 */ mr r4, r31 +/* 8003EE80 0003BDE0 54 00 10 3A */ slwi r0, r0, 2 +/* 8003EE84 0003BDE4 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 8003EE88 0003BDE8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003EE8C 0003BDEC 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 8003EE90 0003BDF0 7D 89 03 A6 */ mtctr r12 +/* 8003EE94 0003BDF4 4E 80 04 21 */ bctrl +/* 8003EE98 0003BDF8 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8003EE9C 0003BDFC 41 82 00 0C */ beq lbl_8003EEA8 +/* 8003EEA0 0003BE00 80 FE 07 5C */ lwz r7, 0x75c(r30) +/* 8003EEA4 0003BE04 48 00 00 08 */ b lbl_8003EEAC +lbl_8003EEA8: +/* 8003EEA8 0003BE08 80 FE 07 38 */ lwz r7, 0x738(r30) +lbl_8003EEAC: +/* 8003EEAC 0003BE0C 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 8003EEB0 0003BE10 7F C3 F3 78 */ mr r3, r30 +/* 8003EEB4 0003BE14 7F E4 FB 78 */ mr r4, r31 +/* 8003EEB8 0003BE18 7F 85 E3 78 */ mr r5, r28 +/* 8003EEBC 0003BE1C 54 00 10 3A */ slwi r0, r0, 2 +/* 8003EEC0 0003BE20 38 C0 00 00 */ li r6, 0 +/* 8003EEC4 0003BE24 7C FD 01 2E */ stwx r7, r29, r0 +/* 8003EEC8 0003BE28 48 00 01 E1 */ bl ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb +/* 8003EECC 0003BE2C 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 8003EED0 0003BE30 7F C3 F3 78 */ mr r3, r30 +/* 8003EED4 0003BE34 7F 64 DB 78 */ mr r4, r27 +/* 8003EED8 0003BE38 54 00 10 3A */ slwi r0, r0, 2 +/* 8003EEDC 0003BE3C 7C 1D 00 2E */ lwzx r0, r29, r0 +/* 8003EEE0 0003BE40 90 1E 07 2C */ stw r0, 0x72c(r30) +/* 8003EEE4 0003BE44 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8003EEE8 0003BE48 53 60 1F 38 */ rlwimi r0, r27, 3, 0x1c, 0x1c +/* 8003EEEC 0003BE4C 98 1E 08 33 */ stb r0, 0x833(r30) +/* 8003EEF0 0003BE50 4B FF B9 31 */ bl SetPhazonBeamFeedback__10CPlayerGunFb +/* 8003EEF4 0003BE54 80 1E 07 48 */ lwz r0, 0x748(r30) +/* 8003EEF8 0003BE58 38 80 00 01 */ li r4, 1 +/* 8003EEFC 0003BE5C 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003EF00 0003BE60 90 03 01 BC */ stw r0, 0x1bc(r3) +/* 8003EF04 0003BE64 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003EF08 0003BE68 81 83 00 00 */ lwz r12, 0(r3) +/* 8003EF0C 0003BE6C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8003EF10 0003BE70 7D 89 03 A6 */ mtctr r12 +/* 8003EF14 0003BE74 4E 80 04 21 */ bctrl +/* 8003EF18 0003BE78 80 DE 07 2C */ lwz r6, 0x72c(r30) +/* 8003EF1C 0003BE7C 38 A0 00 00 */ li r5, 0 +/* 8003EF20 0003BE80 7F C3 F3 78 */ mr r3, r30 +/* 8003EF24 0003BE84 38 80 00 0A */ li r4, 0xa +/* 8003EF28 0003BE88 88 06 02 18 */ lbz r0, 0x218(r6) +/* 8003EF2C 0003BE8C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8003EF30 0003BE90 38 A0 00 00 */ li r5, 0 +/* 8003EF34 0003BE94 98 06 02 18 */ stb r0, 0x218(r6) +/* 8003EF38 0003BE98 48 00 29 8D */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +/* 8003EF3C 0003BE9C 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8003EF40 0003BEA0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8003EF44 0003BEA4 41 82 00 14 */ beq lbl_8003EF58 +/* 8003EF48 0003BEA8 7F C3 F3 78 */ mr r3, r30 +/* 8003EF4C 0003BEAC 7F E4 FB 78 */ mr r4, r31 +/* 8003EF50 0003BEB0 4B FF CF 6D */ bl EnterFreeLook__10CPlayerGunFR13CStateManager +/* 8003EF54 0003BEB4 48 00 00 20 */ b lbl_8003EF74 +lbl_8003EF58: +/* 8003EF58 0003BEB8 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003EF5C 0003BEBC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8003EF60 0003BEC0 41 82 00 14 */ beq lbl_8003EF74 +/* 8003EF64 0003BEC4 7F C3 F3 78 */ mr r3, r30 +/* 8003EF68 0003BEC8 7F E4 FB 78 */ mr r4, r31 +/* 8003EF6C 0003BECC 38 A0 00 00 */ li r5, 0 +/* 8003EF70 0003BED0 4B FF CC C9 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb +lbl_8003EF74: +/* 8003EF74 0003BED4 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003EF78 0003BED8 38 60 00 00 */ li r3, 0 +/* 8003EF7C 0003BEDC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003EF80 0003BEE0 98 1E 08 32 */ stb r0, 0x832(r30) +lbl_8003EF84: +/* 8003EF84 0003BEE4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8003EF88 0003BEE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003EF8C 0003BEEC 7C 08 03 A6 */ mtlr r0 +/* 8003EF90 0003BEF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003EF94 0003BEF4 4E 80 00 20 */ blr + +.global ChangeWeapon__10CPlayerGunFRC12CPlayerStateR13CStateManager +ChangeWeapon__10CPlayerGunFRC12CPlayerStateR13CStateManager: +/* 8003EF98 0003BEF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003EF9C 0003BEFC 7C 08 02 A6 */ mflr r0 +/* 8003EFA0 0003BF00 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003EFA4 0003BF04 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003EFA8 0003BF08 7C BF 2B 78 */ mr r31, r5 +/* 8003EFAC 0003BF0C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003EFB0 0003BF10 7C 9E 23 78 */ mr r30, r4 +/* 8003EFB4 0003BF14 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003EFB8 0003BF18 7C 7D 1B 78 */ mr r29, r3 +/* 8003EFBC 0003BF1C 80 63 07 30 */ lwz r3, 0x730(r3) +/* 8003EFC0 0003BF20 28 03 00 00 */ cmplwi r3, 0 +/* 8003EFC4 0003BF24 41 82 00 24 */ beq lbl_8003EFE8 +/* 8003EFC8 0003BF28 80 1D 07 2C */ lwz r0, 0x72c(r29) +/* 8003EFCC 0003BF2C 7C 03 00 40 */ cmplw r3, r0 +/* 8003EFD0 0003BF30 41 82 00 18 */ beq lbl_8003EFE8 +/* 8003EFD4 0003BF34 81 83 00 00 */ lwz r12, 0(r3) +/* 8003EFD8 0003BF38 7F E4 FB 78 */ mr r4, r31 +/* 8003EFDC 0003BF3C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 8003EFE0 0003BF40 7D 89 03 A6 */ mtctr r12 +/* 8003EFE4 0003BF44 4E 80 04 21 */ bctrl +lbl_8003EFE8: +/* 8003EFE8 0003BF48 80 1D 03 14 */ lwz r0, 0x314(r29) +/* 8003EFEC 0003BF4C 54 00 10 3A */ slwi r0, r0, 2 +/* 8003EFF0 0003BF50 7C 7D 02 14 */ add r3, r29, r0 +/* 8003EFF4 0003BF54 80 03 07 64 */ lwz r0, 0x764(r3) +/* 8003EFF8 0003BF58 90 1D 07 34 */ stw r0, 0x734(r29) +/* 8003EFFC 0003BF5C 80 7D 07 34 */ lwz r3, 0x734(r29) +/* 8003F000 0003BF60 28 03 00 00 */ cmplwi r3, 0 +/* 8003F004 0003BF64 41 82 00 38 */ beq lbl_8003F03C +/* 8003F008 0003BF68 80 1D 07 2C */ lwz r0, 0x72c(r29) +/* 8003F00C 0003BF6C 7C 03 00 40 */ cmplw r3, r0 +/* 8003F010 0003BF70 41 82 00 2C */ beq lbl_8003F03C +/* 8003F014 0003BF74 81 83 00 00 */ lwz r12, 0(r3) +/* 8003F018 0003BF78 7F E4 FB 78 */ mr r4, r31 +/* 8003F01C 0003BF7C 38 A0 00 00 */ li r5, 0 +/* 8003F020 0003BF80 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8003F024 0003BF84 7D 89 03 A6 */ mtctr r12 +/* 8003F028 0003BF88 4E 80 04 21 */ bctrl +/* 8003F02C 0003BF8C 80 7D 07 44 */ lwz r3, 0x744(r29) +/* 8003F030 0003BF90 7F E5 FB 78 */ mr r5, r31 +/* 8003F034 0003BF94 80 9D 03 14 */ lwz r4, 0x314(r29) +/* 8003F038 0003BF98 48 17 99 05 */ bl Load__10CAuxWeaponFiR13CStateManager +lbl_8003F03C: +/* 8003F03C 0003BF9C 80 7D 07 2C */ lwz r3, 0x72c(r29) +/* 8003F040 0003BFA0 38 80 00 00 */ li r4, 0 +/* 8003F044 0003BFA4 81 83 00 00 */ lwz r12, 0(r3) +/* 8003F048 0003BFA8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8003F04C 0003BFAC 7D 89 03 A6 */ mtctr r12 +/* 8003F050 0003BFB0 4E 80 04 21 */ bctrl +/* 8003F054 0003BFB4 80 FD 03 2C */ lwz r7, 0x32c(r29) +/* 8003F058 0003BFB8 7F A3 EB 78 */ mr r3, r29 +/* 8003F05C 0003BFBC 88 1D 08 34 */ lbz r0, 0x834(r29) +/* 8003F060 0003BFC0 7F E4 FB 78 */ mr r4, r31 +/* 8003F064 0003BFC4 7C C7 00 D0 */ neg r6, r7 +/* 8003F068 0003BFC8 7F C5 F3 78 */ mr r5, r30 +/* 8003F06C 0003BFCC 7C C7 3B 78 */ or r7, r6, r7 +/* 8003F070 0003BFD0 50 E0 27 38 */ rlwimi r0, r7, 4, 0x1c, 0x1c +/* 8003F074 0003BFD4 38 C0 00 01 */ li r6, 1 +/* 8003F078 0003BFD8 98 1D 08 34 */ stb r0, 0x834(r29) +/* 8003F07C 0003BFDC 48 00 00 2D */ bl ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb +/* 8003F080 0003BFE0 38 7D 06 78 */ addi r3, r29, 0x678 +/* 8003F084 0003BFE4 38 80 00 00 */ li r4, 0 +/* 8003F088 0003BFE8 4B FF F0 6D */ bl StartWipe__Q210CPlayerGun9CGunMorphFQ310CPlayerGun9CGunMorph4EDir +/* 8003F08C 0003BFEC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003F090 0003BFF0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003F094 0003BFF4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003F098 0003BFF8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8003F09C 0003BFFC 7C 08 03 A6 */ mtlr r0 +/* 8003F0A0 0003C000 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003F0A4 0003C004 4E 80 00 20 */ blr + +.global ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb +ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb: +/* 8003F0A8 0003C008 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8003F0AC 0003C00C 7C 08 02 A6 */ mflr r0 +/* 8003F0B0 0003C010 90 01 00 54 */ stw r0, 0x54(r1) +/* 8003F0B4 0003C014 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8003F0B8 0003C018 7C 7F 1B 78 */ mr r31, r3 +/* 8003F0BC 0003C01C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8003F0C0 0003C020 7C DE 33 78 */ mr r30, r6 +/* 8003F0C4 0003C024 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8003F0C8 0003C028 7C BD 2B 78 */ mr r29, r5 +/* 8003F0CC 0003C02C 38 A0 00 01 */ li r5, 1 +/* 8003F0D0 0003C030 93 81 00 40 */ stw r28, 0x40(r1) +/* 8003F0D4 0003C034 7C 9C 23 78 */ mr r28, r4 +/* 8003F0D8 0003C038 4B FF D2 D9 */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb +/* 8003F0DC 0003C03C 7F A3 EB 78 */ mr r3, r29 +/* 8003F0E0 0003C040 38 80 00 0A */ li r4, 0xa +/* 8003F0E4 0003C044 48 05 28 A9 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003F0E8 0003C048 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003F0EC 0003C04C 41 82 00 14 */ beq lbl_8003F100 +/* 8003F0F0 0003C050 7F E3 FB 78 */ mr r3, r31 +/* 8003F0F4 0003C054 7F 84 E3 78 */ mr r4, r28 +/* 8003F0F8 0003C058 38 A0 00 00 */ li r5, 0 +/* 8003F0FC 0003C05C 48 00 00 E1 */ bl ResetCharge__10CPlayerGunFR13CStateManagerb +lbl_8003F100: +/* 8003F100 0003C060 80 9F 03 14 */ lwz r4, 0x314(r31) +/* 8003F104 0003C064 38 00 00 00 */ li r0, 0 +/* 8003F108 0003C068 3C 60 80 3D */ lis r3, lbl_803CCE44@ha +/* 8003F10C 0003C06C C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003F110 0003C070 54 86 10 3A */ slwi r6, r4, 2 +/* 8003F114 0003C074 38 A0 FF FF */ li r5, -1 +/* 8003F118 0003C078 38 83 CE 44 */ addi r4, r3, lbl_803CCE44@l +/* 8003F11C 0003C07C 38 60 00 01 */ li r3, 1 +/* 8003F120 0003C080 7C C4 30 2E */ lwzx r6, r4, r6 +/* 8003F124 0003C084 38 81 00 0C */ addi r4, r1, 0xc +/* 8003F128 0003C088 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8003F12C 0003C08C 38 A0 00 00 */ li r5, 0 +/* 8003F130 0003C090 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8003F134 0003C094 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8003F138 0003C098 98 61 00 18 */ stb r3, 0x18(r1) +/* 8003F13C 0003C09C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8003F140 0003C0A0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8003F144 0003C0A4 98 01 00 24 */ stb r0, 0x24(r1) +/* 8003F148 0003C0A8 90 01 00 28 */ stw r0, 0x28(r1) +/* 8003F14C 0003C0AC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8003F150 0003C0B0 90 01 00 30 */ stw r0, 0x30(r1) +/* 8003F154 0003C0B4 80 7F 06 F0 */ lwz r3, 0x6f0(r31) +/* 8003F158 0003C0B8 4B FE DC 25 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 8003F15C 0003C0BC 7F E3 FB 78 */ mr r3, r31 +/* 8003F160 0003C0C0 7F 84 E3 78 */ mr r4, r28 +/* 8003F164 0003C0C4 38 A0 00 00 */ li r5, 0 +/* 8003F168 0003C0C8 48 00 01 D9 */ bl Reset__10CPlayerGunFR13CStateManager +/* 8003F16C 0003C0CC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8003F170 0003C0D0 41 82 00 28 */ beq lbl_8003F198 +/* 8003F174 0003C0D4 A9 02 C5 F8 */ lha r8, lbl_805AE318@sda21(r2) +/* 8003F178 0003C0D8 38 61 00 08 */ addi r3, r1, 8 +/* 8003F17C 0003C0DC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8003F180 0003C0E0 38 80 06 EE */ li r4, 0x6ee +/* 8003F184 0003C0E4 38 A0 00 7F */ li r5, 0x7f +/* 8003F188 0003C0E8 38 C0 00 40 */ li r6, 0x40 +/* 8003F18C 0003C0EC 38 E0 00 01 */ li r7, 1 +/* 8003F190 0003C0F0 39 20 00 00 */ li r9, 0 +/* 8003F194 0003C0F4 48 2A AB E1 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8003F198: +/* 8003F198 0003C0F8 80 1F 02 EC */ lwz r0, 0x2ec(r31) +/* 8003F19C 0003C0FC 38 60 00 01 */ li r3, 1 +/* 8003F1A0 0003C100 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e +/* 8003F1A4 0003C104 90 1F 02 EC */ stw r0, 0x2ec(r31) +/* 8003F1A8 0003C108 80 1F 03 10 */ lwz r0, 0x310(r31) +/* 8003F1AC 0003C10C 90 1F 03 20 */ stw r0, 0x320(r31) +/* 8003F1B0 0003C110 88 1F 08 33 */ lbz r0, 0x833(r31) +/* 8003F1B4 0003C114 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003F1B8 0003C118 98 1F 08 33 */ stb r0, 0x833(r31) +/* 8003F1BC 0003C11C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8003F1C0 0003C120 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8003F1C4 0003C124 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8003F1C8 0003C128 83 81 00 40 */ lwz r28, 0x40(r1) +/* 8003F1CC 0003C12C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8003F1D0 0003C130 7C 08 03 A6 */ mtlr r0 +/* 8003F1D4 0003C134 38 21 00 50 */ addi r1, r1, 0x50 +/* 8003F1D8 0003C138 4E 80 00 20 */ blr + +.global ResetCharge__10CPlayerGunFR13CStateManagerb +ResetCharge__10CPlayerGunFR13CStateManagerb: +/* 8003F1DC 0003C13C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003F1E0 0003C140 7C 08 02 A6 */ mflr r0 +/* 8003F1E4 0003C144 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003F1E8 0003C148 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003F1EC 0003C14C 7C 7F 1B 78 */ mr r31, r3 +/* 8003F1F0 0003C150 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003F1F4 0003C154 7C 9E 23 78 */ mr r30, r4 +/* 8003F1F8 0003C158 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003F1FC 0003C15C 7C BD 2B 78 */ mr r29, r5 +/* 8003F200 0003C160 80 03 03 2C */ lwz r0, 0x32c(r3) +/* 8003F204 0003C164 2C 00 00 00 */ cmpwi r0, 0 +/* 8003F208 0003C168 41 82 00 08 */ beq lbl_8003F210 +/* 8003F20C 0003C16C 4B FF D9 49 */ bl StopChargeSound__10CPlayerGunFR13CStateManager +lbl_8003F210: +/* 8003F210 0003C170 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 8003F214 0003C174 54 60 07 38 */ rlwinm r0, r3, 0, 0x1c, 0x1c +/* 8003F218 0003C178 2C 00 00 08 */ cmpwi r0, 8 +/* 8003F21C 0003C17C 41 82 00 C4 */ beq lbl_8003F2E0 +/* 8003F220 0003C180 54 60 06 F6 */ rlwinm r0, r3, 0, 0x1b, 0x1b +/* 8003F224 0003C184 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003F228 0003C188 41 82 00 B8 */ beq lbl_8003F2E0 +/* 8003F22C 0003C18C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8003F230 0003C190 3B C0 00 01 */ li r30, 1 +/* 8003F234 0003C194 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8003F238 0003C198 2C 00 00 01 */ cmpwi r0, 1 +/* 8003F23C 0003C19C 41 82 00 10 */ beq lbl_8003F24C +/* 8003F240 0003C1A0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8003F244 0003C1A4 40 82 00 08 */ bne lbl_8003F24C +/* 8003F248 0003C1A8 3B C0 00 00 */ li r30, 0 +lbl_8003F24C: +/* 8003F24C 0003C1AC 88 1F 08 32 */ lbz r0, 0x832(r31) +/* 8003F250 0003C1B0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8003F254 0003C1B4 40 82 00 0C */ bne lbl_8003F260 +/* 8003F258 0003C1B8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8003F25C 0003C1BC 41 82 00 14 */ beq lbl_8003F270 +lbl_8003F260: +/* 8003F260 0003C1C0 7F E3 FB 78 */ mr r3, r31 +/* 8003F264 0003C1C4 38 80 00 00 */ li r4, 0 +/* 8003F268 0003C1C8 38 A0 00 00 */ li r5, 0 +/* 8003F26C 0003C1CC 48 00 26 59 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +lbl_8003F270: +/* 8003F270 0003C1D0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8003F274 0003C1D4 41 82 00 1C */ beq lbl_8003F290 +/* 8003F278 0003C1D8 80 7F 07 2C */ lwz r3, 0x72c(r31) +/* 8003F27C 0003C1DC 38 80 00 00 */ li r4, 0 +/* 8003F280 0003C1E0 81 83 00 00 */ lwz r12, 0(r3) +/* 8003F284 0003C1E4 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8003F288 0003C1E8 7D 89 03 A6 */ mtctr r12 +/* 8003F28C 0003C1EC 4E 80 04 21 */ bctrl +lbl_8003F290: +/* 8003F290 0003C1F0 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 8003F294 0003C1F4 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e +/* 8003F298 0003C1F8 2C 00 00 02 */ cmpwi r0, 2 +/* 8003F29C 0003C1FC 40 82 00 10 */ bne lbl_8003F2AC +/* 8003F2A0 0003C200 80 1F 03 30 */ lwz r0, 0x330(r31) +/* 8003F2A4 0003C204 2C 00 00 00 */ cmpwi r0, 0 +/* 8003F2A8 0003C208 41 82 00 38 */ beq lbl_8003F2E0 +lbl_8003F2AC: +/* 8003F2AC 0003C20C 54 60 07 38 */ rlwinm r0, r3, 0, 0x1c, 0x1c +/* 8003F2B0 0003C210 2C 00 00 08 */ cmpwi r0, 8 +/* 8003F2B4 0003C214 41 82 00 20 */ beq lbl_8003F2D4 +/* 8003F2B8 0003C218 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 8003F2BC 0003C21C 38 00 FF E9 */ li r0, -23 +/* 8003F2C0 0003C220 60 63 00 01 */ ori r3, r3, 1 +/* 8003F2C4 0003C224 90 7F 02 F8 */ stw r3, 0x2f8(r31) +/* 8003F2C8 0003C228 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 8003F2CC 0003C22C 7C 60 00 38 */ and r0, r3, r0 +/* 8003F2D0 0003C230 90 1F 02 F8 */ stw r0, 0x2f8(r31) +lbl_8003F2D4: +/* 8003F2D4 0003C234 38 00 00 00 */ li r0, 0 +/* 8003F2D8 0003C238 90 1F 03 18 */ stw r0, 0x318(r31) +/* 8003F2DC 0003C23C 90 1F 03 1C */ stw r0, 0x31c(r31) +lbl_8003F2E0: +/* 8003F2E0 0003C240 38 80 00 00 */ li r4, 0 +/* 8003F2E4 0003C244 38 60 00 01 */ li r3, 1 +/* 8003F2E8 0003C248 90 9F 03 2C */ stw r4, 0x32c(r31) +/* 8003F2EC 0003C24C C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003F2F0 0003C250 90 9F 03 30 */ stw r4, 0x330(r31) +/* 8003F2F4 0003C254 80 1F 03 10 */ lwz r0, 0x310(r31) +/* 8003F2F8 0003C258 90 1F 03 20 */ stw r0, 0x320(r31) +/* 8003F2FC 0003C25C 88 1F 08 33 */ lbz r0, 0x833(r31) +/* 8003F300 0003C260 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8003F304 0003C264 98 1F 08 33 */ stb r0, 0x833(r31) +/* 8003F308 0003C268 88 1F 08 32 */ lbz r0, 0x832(r31) +/* 8003F30C 0003C26C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8003F310 0003C270 98 1F 08 32 */ stb r0, 0x832(r31) +/* 8003F314 0003C274 88 1F 08 32 */ lbz r0, 0x832(r31) +/* 8003F318 0003C278 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8003F31C 0003C27C 98 1F 08 32 */ stb r0, 0x832(r31) +/* 8003F320 0003C280 D0 1F 03 44 */ stfs f0, 0x344(r31) +/* 8003F324 0003C284 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003F328 0003C288 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003F32C 0003C28C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8003F330 0003C290 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003F334 0003C294 7C 08 03 A6 */ mtlr r0 +/* 8003F338 0003C298 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003F33C 0003C29C 4E 80 00 20 */ blr + +.global Reset__10CPlayerGunFR13CStateManager +Reset__10CPlayerGunFR13CStateManager: +/* 8003F340 0003C2A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8003F344 0003C2A4 7C 08 02 A6 */ mflr r0 +/* 8003F348 0003C2A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8003F34C 0003C2AC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003F350 0003C2B0 7C 7F 1B 78 */ mr r31, r3 +/* 8003F354 0003C2B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003F358 0003C2B8 7C BE 2B 78 */ mr r30, r5 +/* 8003F35C 0003C2BC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8003F360 0003C2C0 7C 9D 23 78 */ mr r29, r4 +/* 8003F364 0003C2C4 80 63 07 2C */ lwz r3, 0x72c(r3) +/* 8003F368 0003C2C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003F36C 0003C2CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8003F370 0003C2D0 7D 89 03 A6 */ mtctr r12 +/* 8003F374 0003C2D4 4E 80 04 21 */ bctrl +/* 8003F378 0003C2D8 88 1F 08 32 */ lbz r0, 0x832(r31) +/* 8003F37C 0003C2DC 38 C0 00 00 */ li r6, 0 +/* 8003F380 0003C2E0 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8003F384 0003C2E4 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003F388 0003C2E8 98 1F 08 32 */ stb r0, 0x832(r31) +/* 8003F38C 0003C2EC 7F E3 FB 78 */ mr r3, r31 +/* 8003F390 0003C2F0 7F A5 EB 78 */ mr r5, r29 +/* 8003F394 0003C2F4 38 80 00 00 */ li r4, 0 +/* 8003F398 0003C2F8 88 1F 08 32 */ lbz r0, 0x832(r31) +/* 8003F39C 0003C2FC 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8003F3A0 0003C300 98 1F 08 32 */ stb r0, 0x832(r31) +/* 8003F3A4 0003C304 88 1F 08 33 */ lbz r0, 0x833(r31) +/* 8003F3A8 0003C308 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8003F3AC 0003C30C 98 1F 08 33 */ stb r0, 0x833(r31) +/* 8003F3B0 0003C310 D0 1F 03 48 */ stfs f0, 0x348(r31) +/* 8003F3B4 0003C314 4B FF C0 BD */ bl SetGunLightActive__10CPlayerGunFbR13CStateManager +/* 8003F3B8 0003C318 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 8003F3BC 0003C31C 54 60 06 F6 */ rlwinm r0, r3, 0, 0x1b, 0x1b +/* 8003F3C0 0003C320 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003F3C4 0003C324 41 82 00 50 */ beq lbl_8003F414 +/* 8003F3C8 0003C328 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8003F3CC 0003C32C 40 82 00 54 */ bne lbl_8003F420 +/* 8003F3D0 0003C330 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e +/* 8003F3D4 0003C334 2C 00 00 02 */ cmpwi r0, 2 +/* 8003F3D8 0003C338 41 82 00 48 */ beq lbl_8003F420 +/* 8003F3DC 0003C33C 54 60 07 38 */ rlwinm r0, r3, 0, 0x1c, 0x1c +/* 8003F3E0 0003C340 2C 00 00 08 */ cmpwi r0, 8 +/* 8003F3E4 0003C344 41 82 00 20 */ beq lbl_8003F404 +/* 8003F3E8 0003C348 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 8003F3EC 0003C34C 38 00 FF E9 */ li r0, -23 +/* 8003F3F0 0003C350 60 63 00 01 */ ori r3, r3, 1 +/* 8003F3F4 0003C354 90 7F 02 F8 */ stw r3, 0x2f8(r31) +/* 8003F3F8 0003C358 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 8003F3FC 0003C35C 7C 60 00 38 */ and r0, r3, r0 +/* 8003F400 0003C360 90 1F 02 F8 */ stw r0, 0x2f8(r31) +lbl_8003F404: +/* 8003F404 0003C364 38 00 00 00 */ li r0, 0 +/* 8003F408 0003C368 90 1F 03 18 */ stw r0, 0x318(r31) +/* 8003F40C 0003C36C 90 1F 03 1C */ stw r0, 0x31c(r31) +/* 8003F410 0003C370 48 00 00 10 */ b lbl_8003F420 +lbl_8003F414: +/* 8003F414 0003C374 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8003F418 0003C378 54 00 00 38 */ rlwinm r0, r0, 0, 0, 0x1c +/* 8003F41C 0003C37C 90 1F 02 F8 */ stw r0, 0x2f8(r31) +lbl_8003F420: +/* 8003F420 0003C380 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003F424 0003C384 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003F428 0003C388 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003F42C 0003C38C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8003F430 0003C390 7C 08 03 A6 */ mtlr r0 +/* 8003F434 0003C394 38 21 00 20 */ addi r1, r1, 0x20 +/* 8003F438 0003C398 4E 80 00 20 */ blr + +.global UpdateChargeState__10CPlayerGunFfR13CStateManager +UpdateChargeState__10CPlayerGunFfR13CStateManager: +/* 8003F43C 0003C39C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8003F440 0003C3A0 7C 08 02 A6 */ mflr r0 +/* 8003F444 0003C3A4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8003F448 0003C3A8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8003F44C 0003C3AC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8003F450 0003C3B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8003F454 0003C3B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8003F458 0003C3B8 7C 7E 1B 78 */ mr r30, r3 +/* 8003F45C 0003C3BC FF E0 08 90 */ fmr f31, f1 +/* 8003F460 0003C3C0 80 03 03 2C */ lwz r0, 0x32c(r3) +/* 8003F464 0003C3C4 7C 9F 23 78 */ mr r31, r4 +/* 8003F468 0003C3C8 28 00 00 0A */ cmplwi r0, 0xa +/* 8003F46C 0003C3CC 41 81 02 C0 */ bgt lbl_8003F72C +/* 8003F470 0003C3D0 3C A0 80 3E */ lis r5, lbl_803D9DD8@ha +/* 8003F474 0003C3D4 54 00 10 3A */ slwi r0, r0, 2 +/* 8003F478 0003C3D8 38 A5 9D D8 */ addi r5, r5, lbl_803D9DD8@l +/* 8003F47C 0003C3DC 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8003F480 0003C3E0 7C 09 03 A6 */ mtctr r0 +/* 8003F484 0003C3E4 4E 80 04 20 */ bctr +/* 8003F488 0003C3E8 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003F48C 0003C3EC 38 A0 00 00 */ li r5, 0 +/* 8003F490 0003C3F0 38 80 00 01 */ li r4, 1 +/* 8003F494 0003C3F4 38 00 00 02 */ li r0, 2 +/* 8003F498 0003C3F8 D0 1E 03 40 */ stfs f0, 0x340(r30) +/* 8003F49C 0003C3FC 90 BE 03 30 */ stw r5, 0x330(r30) +/* 8003F4A0 0003C400 88 7E 08 32 */ lbz r3, 0x832(r30) +/* 8003F4A4 0003C404 50 A3 26 F6 */ rlwimi r3, r5, 4, 0x1b, 0x1b +/* 8003F4A8 0003C408 98 7E 08 32 */ stb r3, 0x832(r30) +/* 8003F4AC 0003C40C 88 7E 08 34 */ lbz r3, 0x834(r30) +/* 8003F4B0 0003C410 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 8003F4B4 0003C414 98 7E 08 34 */ stb r3, 0x834(r30) +/* 8003F4B8 0003C418 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003F4BC 0003C41C 48 00 02 70 */ b lbl_8003F72C +/* 8003F4C0 0003C420 88 9E 08 32 */ lbz r4, 0x832(r30) +/* 8003F4C4 0003C424 54 80 E7 FE */ rlwinm r0, r4, 0x1c, 0x1f, 0x1f +/* 8003F4C8 0003C428 28 00 00 01 */ cmplwi r0, 1 +/* 8003F4CC 0003C42C 41 82 00 C0 */ beq lbl_8003F58C +/* 8003F4D0 0003C430 C0 3E 03 40 */ lfs f1, 0x340(r30) +/* 8003F4D4 0003C434 C0 0D A1 BC */ lfs f0, lbl_805A8D7C@sda21(r13) +/* 8003F4D8 0003C438 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003F4DC 0003C43C 40 81 00 18 */ ble lbl_8003F4F4 +/* 8003F4E0 0003C440 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 8003F4E4 0003C444 41 82 00 10 */ beq lbl_8003F4F4 +/* 8003F4E8 0003C448 38 00 00 00 */ li r0, 0 +/* 8003F4EC 0003C44C 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 8003F4F0 0003C450 98 9E 08 32 */ stb r4, 0x832(r30) +lbl_8003F4F4: +/* 8003F4F4 0003C454 C0 3E 03 40 */ lfs f1, 0x340(r30) +/* 8003F4F8 0003C458 C0 0D A1 B0 */ lfs f0, lbl_805A8D70@sda21(r13) +/* 8003F4FC 0003C45C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003F500 0003C460 40 81 02 2C */ ble lbl_8003F72C +/* 8003F504 0003C464 7F C3 F3 78 */ mr r3, r30 +/* 8003F508 0003C468 38 80 00 02 */ li r4, 2 +/* 8003F50C 0003C46C 38 A0 00 00 */ li r5, 0 +/* 8003F510 0003C470 48 00 23 B5 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +/* 8003F514 0003C474 80 1E 02 E0 */ lwz r0, 0x2e0(r30) +/* 8003F518 0003C478 28 00 00 00 */ cmplwi r0, 0 +/* 8003F51C 0003C47C 40 82 00 34 */ bne lbl_8003F550 +/* 8003F520 0003C480 80 7E 03 10 */ lwz r3, 0x310(r30) +/* 8003F524 0003C484 38 8D 82 40 */ addi r4, r13, lbl_805A6E00@sda21 +/* 8003F528 0003C488 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003F52C 0003C48C 38 C0 00 01 */ li r6, 1 +/* 8003F530 0003C490 54 65 08 3C */ slwi r5, r3, 1 +/* 8003F534 0003C494 38 61 00 0C */ addi r3, r1, 0xc +/* 8003F538 0003C498 7C 84 2A 2E */ lhzx r4, r4, r5 +/* 8003F53C 0003C49C 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 8003F540 0003C4A0 38 E0 00 4A */ li r7, 0x4a +/* 8003F544 0003C4A4 48 24 B5 B5 */ bl play_sfx__12NWeaponTypesFUsbbs +/* 8003F548 0003C4A8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8003F54C 0003C4AC 90 1E 02 E0 */ stw r0, 0x2e0(r30) +lbl_8003F550: +/* 8003F550 0003C4B0 A8 1E 08 30 */ lha r0, 0x830(r30) +/* 8003F554 0003C4B4 2C 00 FF FF */ cmpwi r0, -1 +/* 8003F558 0003C4B8 40 82 00 20 */ bne lbl_8003F578 +/* 8003F55C 0003C4BC 80 7F 08 8C */ lwz r3, 0x88c(r31) +/* 8003F560 0003C4C0 7F E4 FB 78 */ mr r4, r31 +/* 8003F564 0003C4C4 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 8003F568 0003C4C8 38 A0 00 0C */ li r5, 0xc +/* 8003F56C 0003C4CC 38 C0 00 03 */ li r6, 3 +/* 8003F570 0003C4D0 48 1E EC D5 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +/* 8003F574 0003C4D4 B0 7E 08 30 */ sth r3, 0x830(r30) +lbl_8003F578: +/* 8003F578 0003C4D8 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003F57C 0003C4DC 38 60 00 01 */ li r3, 1 +/* 8003F580 0003C4E0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8003F584 0003C4E4 98 1E 08 32 */ stb r0, 0x832(r30) +/* 8003F588 0003C4E8 48 00 01 A4 */ b lbl_8003F72C +lbl_8003F58C: +/* 8003F58C 0003C4EC C0 3E 03 40 */ lfs f1, 0x340(r30) +/* 8003F590 0003C4F0 C0 0D A1 C0 */ lfs f0, lbl_805A8D80@sda21(r13) +/* 8003F594 0003C4F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003F598 0003C4F8 4C 41 13 82 */ cror 2, 1, 2 +/* 8003F59C 0003C4FC 40 82 01 90 */ bne lbl_8003F72C +/* 8003F5A0 0003C500 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003F5A4 0003C504 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 8003F5A8 0003C508 2C 00 00 08 */ cmpwi r0, 8 +/* 8003F5AC 0003C50C 41 82 01 80 */ beq lbl_8003F72C +/* 8003F5B0 0003C510 39 00 00 01 */ li r8, 1 +/* 8003F5B4 0003C514 38 E0 00 00 */ li r7, 0 +/* 8003F5B8 0003C518 51 04 36 72 */ rlwimi r4, r8, 6, 0x19, 0x19 +/* 8003F5BC 0003C51C 38 00 00 03 */ li r0, 3 +/* 8003F5C0 0003C520 98 9E 08 32 */ stb r4, 0x832(r30) +/* 8003F5C4 0003C524 7F E5 FB 78 */ mr r5, r31 +/* 8003F5C8 0003C528 38 80 00 01 */ li r4, 1 +/* 8003F5CC 0003C52C 88 DE 08 32 */ lbz r6, 0x832(r30) +/* 8003F5D0 0003C530 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b +/* 8003F5D4 0003C534 98 DE 08 32 */ stb r6, 0x832(r30) +/* 8003F5D8 0003C538 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003F5DC 0003C53C 91 1E 03 30 */ stw r8, 0x330(r30) +/* 8003F5E0 0003C540 48 00 01 DD */ bl EnableChargeFx__10CPlayerGunFQ212CPlayerState12EChargeStageR13CStateManager +/* 8003F5E4 0003C544 7F C3 F3 78 */ mr r3, r30 +/* 8003F5E8 0003C548 38 80 00 03 */ li r4, 3 +/* 8003F5EC 0003C54C 38 A0 00 01 */ li r5, 1 +/* 8003F5F0 0003C550 48 00 22 D5 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +/* 8003F5F4 0003C554 48 00 01 38 */ b lbl_8003F72C +/* 8003F5F8 0003C558 C0 3E 03 40 */ lfs f1, 0x340(r30) +/* 8003F5FC 0003C55C C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003F600 0003C560 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003F604 0003C564 4C 41 13 82 */ cror 2, 1, 2 +/* 8003F608 0003C568 40 82 01 24 */ bne lbl_8003F72C +/* 8003F60C 0003C56C 38 00 00 04 */ li r0, 4 +/* 8003F610 0003C570 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003F614 0003C574 48 00 01 18 */ b lbl_8003F72C +/* 8003F618 0003C578 C0 3E 03 44 */ lfs f1, 0x344(r30) +/* 8003F61C 0003C57C C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003F620 0003C580 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003F624 0003C584 4C 41 13 82 */ cror 2, 1, 2 +/* 8003F628 0003C588 40 82 01 04 */ bne lbl_8003F72C +/* 8003F62C 0003C58C 38 00 00 06 */ li r0, 6 +/* 8003F630 0003C590 38 60 00 00 */ li r3, 0 +/* 8003F634 0003C594 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003F638 0003C598 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003F63C 0003C59C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003F640 0003C5A0 98 1E 08 32 */ stb r0, 0x832(r30) +/* 8003F644 0003C5A4 48 00 00 E8 */ b lbl_8003F72C +/* 8003F648 0003C5A8 38 00 00 07 */ li r0, 7 +/* 8003F64C 0003C5AC C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8003F650 0003C5B0 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003F654 0003C5B4 D0 1E 03 48 */ stfs f0, 0x348(r30) +/* 8003F658 0003C5B8 48 00 00 D4 */ b lbl_8003F72C +/* 8003F65C 0003C5BC 80 7E 07 40 */ lwz r3, 0x740(r30) +/* 8003F660 0003C5C0 7F E5 FB 78 */ mr r5, r31 +/* 8003F664 0003C5C4 80 9E 03 10 */ lwz r4, 0x310(r30) +/* 8003F668 0003C5C8 48 0D E8 ED */ bl EnterComboFire__11CGrappleArmFiR13CStateManager +/* 8003F66C 0003C5CC 80 7E 07 3C */ lwz r3, 0x73c(r30) +/* 8003F670 0003C5D0 7F E5 FB 78 */ mr r5, r31 +/* 8003F674 0003C5D4 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003F678 0003C5D8 38 80 00 04 */ li r4, 4 +/* 8003F67C 0003C5DC 38 C0 00 00 */ li r6, 0 +/* 8003F680 0003C5E0 48 19 9B 39 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb +/* 8003F684 0003C5E4 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003F688 0003C5E8 7F E5 FB 78 */ mr r5, r31 +/* 8003F68C 0003C5EC C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 8003F690 0003C5F0 38 80 00 04 */ li r4, 4 +/* 8003F694 0003C5F4 48 17 D0 ED */ bl PlayPasAnim__10CGunWeaponFQ28SamusGun15EAnimationStateR13CStateManagerf +/* 8003F698 0003C5F8 88 7E 08 33 */ lbz r3, 0x833(r30) +/* 8003F69C 0003C5FC 38 00 00 00 */ li r0, 0 +/* 8003F6A0 0003C600 50 03 07 FE */ rlwimi r3, r0, 0, 0x1f, 0x1f +/* 8003F6A4 0003C604 38 00 00 08 */ li r0, 8 +/* 8003F6A8 0003C608 98 7E 08 33 */ stb r3, 0x833(r30) +/* 8003F6AC 0003C60C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003F6B0 0003C610 48 00 00 7C */ b lbl_8003F72C +/* 8003F6B4 0003C614 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003F6B8 0003C618 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 8003F6BC 0003C61C 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8003F6C0 0003C620 41 82 00 40 */ beq lbl_8003F700 +/* 8003F6C4 0003C624 C0 3E 03 48 */ lfs f1, 0x348(r30) +/* 8003F6C8 0003C628 C0 02 84 EC */ lfs f0, lbl_805AA20C@sda21(r2) +/* 8003F6CC 0003C62C EC 21 F8 2A */ fadds f1, f1, f31 +/* 8003F6D0 0003C630 D0 3E 03 48 */ stfs f1, 0x348(r30) +/* 8003F6D4 0003C634 C0 3E 03 48 */ lfs f1, 0x348(r30) +/* 8003F6D8 0003C638 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003F6DC 0003C63C 4C 41 13 82 */ cror 2, 1, 2 +/* 8003F6E0 0003C640 40 82 00 4C */ bne lbl_8003F72C +/* 8003F6E4 0003C644 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003F6E8 0003C648 48 17 D0 21 */ bl IsChargeAnimOver__10CGunWeaponCFv +/* 8003F6EC 0003C64C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003F6F0 0003C650 41 82 00 3C */ beq lbl_8003F72C +/* 8003F6F4 0003C654 38 00 00 0A */ li r0, 0xa +/* 8003F6F8 0003C658 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003F6FC 0003C65C 48 00 00 30 */ b lbl_8003F72C +lbl_8003F700: +/* 8003F700 0003C660 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003F704 0003C664 38 60 00 00 */ li r3, 0 +/* 8003F708 0003C668 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8003F70C 0003C66C 98 1E 08 32 */ stb r0, 0x832(r30) +/* 8003F710 0003C670 48 00 00 1C */ b lbl_8003F72C +/* 8003F714 0003C674 38 A0 00 00 */ li r5, 0 +/* 8003F718 0003C678 4B FF FA C5 */ bl ResetCharge__10CPlayerGunFR13CStateManagerb +/* 8003F71C 0003C67C 7F C3 F3 78 */ mr r3, r30 +/* 8003F720 0003C680 7F E4 FB 78 */ mr r4, r31 +/* 8003F724 0003C684 38 A0 00 00 */ li r5, 0 +/* 8003F728 0003C688 4B FF FC 19 */ bl Reset__10CPlayerGunFR13CStateManager +lbl_8003F72C: +/* 8003F72C 0003C68C 80 1E 02 E0 */ lwz r0, 0x2e0(r30) +/* 8003F730 0003C690 28 00 00 00 */ cmplwi r0, 0 +/* 8003F734 0003C694 41 82 00 30 */ beq lbl_8003F764 +/* 8003F738 0003C698 88 BE 08 34 */ lbz r5, 0x834(r30) +/* 8003F73C 0003C69C 38 80 20 00 */ li r4, 0x2000 +/* 8003F740 0003C6A0 80 1E 02 E0 */ lwz r0, 0x2e0(r30) +/* 8003F744 0003C6A4 38 61 00 08 */ addi r3, r1, 8 +/* 8003F748 0003C6A8 54 A6 E7 FE */ rlwinm r6, r5, 0x1c, 0x1f, 0x1f +/* 8003F74C 0003C6AC 7C A6 00 D0 */ neg r5, r6 +/* 8003F750 0003C6B0 90 01 00 08 */ stw r0, 8(r1) +/* 8003F754 0003C6B4 7C A0 33 78 */ or r0, r5, r6 +/* 8003F758 0003C6B8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8003F75C 0003C6BC 7C 84 00 78 */ andc r4, r4, r0 +/* 8003F760 0003C6C0 48 2A 97 4D */ bl PitchBend__11CSfxManagerF10CSfxHandlei +lbl_8003F764: +/* 8003F764 0003C6C4 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 8003F768 0003C6C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8003F76C 0003C6CC 40 81 00 30 */ ble lbl_8003F79C +/* 8003F770 0003C6D0 2C 00 00 04 */ cmpwi r0, 4 +/* 8003F774 0003C6D4 40 80 00 28 */ bge lbl_8003F79C +/* 8003F778 0003C6D8 C0 4D A1 B8 */ lfs f2, lbl_805A8D78@sda21(r13) +/* 8003F77C 0003C6DC C0 3E 03 40 */ lfs f1, 0x340(r30) +/* 8003F780 0003C6E0 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8003F784 0003C6E4 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 8003F788 0003C6E8 D0 3E 03 40 */ stfs f1, 0x340(r30) +/* 8003F78C 0003C6EC C0 3E 03 40 */ lfs f1, 0x340(r30) +/* 8003F790 0003C6F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8003F794 0003C6F4 40 81 00 08 */ ble lbl_8003F79C +/* 8003F798 0003C6F8 D0 1E 03 40 */ stfs f0, 0x340(r30) +lbl_8003F79C: +/* 8003F79C 0003C6FC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8003F7A0 0003C700 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8003F7A4 0003C704 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8003F7A8 0003C708 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8003F7AC 0003C70C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8003F7B0 0003C710 7C 08 03 A6 */ mtlr r0 +/* 8003F7B4 0003C714 38 21 00 30 */ addi r1, r1, 0x30 +/* 8003F7B8 0003C718 4E 80 00 20 */ blr + +.global EnableChargeFx__10CPlayerGunFQ212CPlayerState12EChargeStageR13CStateManager +EnableChargeFx__10CPlayerGunFQ212CPlayerState12EChargeStageR13CStateManager: +/* 8003F7BC 0003C71C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8003F7C0 0003C720 7C 08 02 A6 */ mflr r0 +/* 8003F7C4 0003C724 38 80 00 01 */ li r4, 1 +/* 8003F7C8 0003C728 90 01 00 34 */ stw r0, 0x34(r1) +/* 8003F7CC 0003C72C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8003F7D0 0003C730 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8003F7D4 0003C734 7C 7E 1B 78 */ mr r30, r3 +/* 8003F7D8 0003C738 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8003F7DC 0003C73C 93 81 00 20 */ stw r28, 0x20(r1) +/* 8003F7E0 0003C740 7C BC 2B 78 */ mr r28, r5 +/* 8003F7E4 0003C744 38 A0 00 00 */ li r5, 0 +/* 8003F7E8 0003C748 80 63 07 2C */ lwz r3, 0x72c(r3) +/* 8003F7EC 0003C74C 48 17 C7 9D */ bl ActivateCharge__10CGunWeaponFbb +/* 8003F7F0 0003C750 7F C3 F3 78 */ mr r3, r30 +/* 8003F7F4 0003C754 7F 85 E3 78 */ mr r5, r28 +/* 8003F7F8 0003C758 38 80 00 01 */ li r4, 1 +/* 8003F7FC 0003C75C 4B FF BC 75 */ bl SetGunLightActive__10CPlayerGunFbR13CStateManager +/* 8003F800 0003C760 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003F804 0003C764 38 80 00 01 */ li r4, 1 +/* 8003F808 0003C768 81 83 00 00 */ lwz r12, 0(r3) +/* 8003F80C 0003C76C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8003F810 0003C770 7D 89 03 A6 */ mtctr r12 +/* 8003F814 0003C774 4E 80 04 21 */ bctrl +/* 8003F818 0003C778 7F C3 F3 78 */ mr r3, r30 +/* 8003F81C 0003C77C 7F 84 E3 78 */ mr r4, r28 +/* 8003F820 0003C780 38 A0 00 00 */ li r5, 0 +/* 8003F824 0003C784 4B FF CB 8D */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb +/* 8003F828 0003C788 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 8003F82C 0003C78C 2C 00 00 03 */ cmpwi r0, 3 +/* 8003F830 0003C790 41 82 00 14 */ beq lbl_8003F844 +/* 8003F834 0003C794 40 80 00 20 */ bge lbl_8003F854 +/* 8003F838 0003C798 2C 00 00 00 */ cmpwi r0, 0 +/* 8003F83C 0003C79C 41 82 00 08 */ beq lbl_8003F844 +/* 8003F840 0003C7A0 48 00 00 14 */ b lbl_8003F854 +lbl_8003F844: +/* 8003F844 0003C7A4 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003F848 0003C7A8 38 60 00 01 */ li r3, 1 +/* 8003F84C 0003C7AC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003F850 0003C7B0 98 1E 08 32 */ stb r0, 0x832(r30) +lbl_8003F854: +/* 8003F854 0003C7B4 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003F858 0003C7B8 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 8003F85C 0003C7BC 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l +/* 8003F860 0003C7C0 38 C0 00 01 */ li r6, 1 +/* 8003F864 0003C7C4 60 04 00 07 */ ori r4, r0, 7 +/* 8003F868 0003C7C8 38 00 00 00 */ li r0, 0 +/* 8003F86C 0003C7CC 90 9E 02 F8 */ stw r4, 0x2f8(r30) +/* 8003F870 0003C7D0 38 83 00 09 */ addi r4, r3, 9 +/* 8003F874 0003C7D4 3B A0 00 00 */ li r29, 0 +/* 8003F878 0003C7D8 38 60 03 40 */ li r3, 0x340 +/* 8003F87C 0003C7DC 90 DE 03 18 */ stw r6, 0x318(r30) +/* 8003F880 0003C7E0 38 A0 00 00 */ li r5, 0 +/* 8003F884 0003C7E4 90 1E 03 38 */ stw r0, 0x338(r30) +/* 8003F888 0003C7E8 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8003F88C 0003C7EC 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 8003F890 0003C7F0 98 1E 08 33 */ stb r0, 0x833(r30) +/* 8003F894 0003C7F4 48 2D 5F D9 */ bl __nw__FUlPCcPCc +/* 8003F898 0003C7F8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8003F89C 0003C7FC 41 82 00 38 */ beq lbl_8003F8D4 +/* 8003F8A0 0003C800 80 1E 03 20 */ lwz r0, 0x320(r30) +/* 8003F8A4 0003C804 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003F8A8 0003C808 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8003F8AC 0003C80C 7C 9E 02 14 */ add r4, r30, r0 +/* 8003F8B0 0003C810 38 84 07 C4 */ addi r4, r4, 0x7c4 +/* 8003F8B4 0003C814 48 30 15 F5 */ bl __ct__6CTokenFRC6CToken +/* 8003F8B8 0003C818 7F E3 FB 78 */ mr r3, r31 +/* 8003F8BC 0003C81C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003F8C0 0003C820 3B A0 00 01 */ li r29, 1 +/* 8003F8C4 0003C824 38 A0 00 00 */ li r5, 0 +/* 8003F8C8 0003C828 38 C0 00 01 */ li r6, 1 +/* 8003F8CC 0003C82C 48 2D FB 15 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8003F8D0 0003C830 7C 7F 1B 78 */ mr r31, r3 +lbl_8003F8D4: +/* 8003F8D4 0003C834 7C 1F 00 D0 */ neg r0, r31 +/* 8003F8D8 0003C838 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8003F8DC 0003C83C 7C 00 FB 78 */ or r0, r0, r31 +/* 8003F8E0 0003C840 3B FE 08 04 */ addi r31, r30, 0x804 +/* 8003F8E4 0003C844 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8003F8E8 0003C848 38 01 00 08 */ addi r0, r1, 8 +/* 8003F8EC 0003C84C 98 61 00 08 */ stb r3, 8(r1) +/* 8003F8F0 0003C850 80 7E 03 20 */ lwz r3, 0x320(r30) +/* 8003F8F4 0003C854 54 63 18 38 */ slwi r3, r3, 3 +/* 8003F8F8 0003C858 7F 9F 1A 14 */ add r28, r31, r3 +/* 8003F8FC 0003C85C 7C 00 E0 40 */ cmplw r0, r28 +/* 8003F900 0003C860 41 82 00 48 */ beq lbl_8003F948 +/* 8003F904 0003C864 88 1C 00 00 */ lbz r0, 0(r28) +/* 8003F908 0003C868 28 00 00 00 */ cmplwi r0, 0 +/* 8003F90C 0003C86C 41 82 00 24 */ beq lbl_8003F930 +/* 8003F910 0003C870 80 7C 00 04 */ lwz r3, 4(r28) +/* 8003F914 0003C874 28 03 00 00 */ cmplwi r3, 0 +/* 8003F918 0003C878 41 82 00 18 */ beq lbl_8003F930 +/* 8003F91C 0003C87C 81 83 00 00 */ lwz r12, 0(r3) +/* 8003F920 0003C880 38 80 00 01 */ li r4, 1 +/* 8003F924 0003C884 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003F928 0003C888 7D 89 03 A6 */ mtctr r12 +/* 8003F92C 0003C88C 4E 80 04 21 */ bctrl +lbl_8003F930: +/* 8003F930 0003C890 88 61 00 08 */ lbz r3, 8(r1) +/* 8003F934 0003C894 38 00 00 00 */ li r0, 0 +/* 8003F938 0003C898 98 7C 00 00 */ stb r3, 0(r28) +/* 8003F93C 0003C89C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8003F940 0003C8A0 90 7C 00 04 */ stw r3, 4(r28) +/* 8003F944 0003C8A4 98 01 00 08 */ stb r0, 8(r1) +lbl_8003F948: +/* 8003F948 0003C8A8 88 01 00 08 */ lbz r0, 8(r1) +/* 8003F94C 0003C8AC 28 00 00 00 */ cmplwi r0, 0 +/* 8003F950 0003C8B0 41 82 00 24 */ beq lbl_8003F974 +/* 8003F954 0003C8B4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8003F958 0003C8B8 28 03 00 00 */ cmplwi r3, 0 +/* 8003F95C 0003C8BC 41 82 00 18 */ beq lbl_8003F974 +/* 8003F960 0003C8C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8003F964 0003C8C4 38 80 00 01 */ li r4, 1 +/* 8003F968 0003C8C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003F96C 0003C8CC 7D 89 03 A6 */ mtctr r12 +/* 8003F970 0003C8D0 4E 80 04 21 */ bctrl +lbl_8003F974: +/* 8003F974 0003C8D4 7F A0 07 75 */ extsb. r0, r29 +/* 8003F978 0003C8D8 41 82 00 10 */ beq lbl_8003F988 +/* 8003F97C 0003C8DC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003F980 0003C8E0 38 80 00 00 */ li r4, 0 +/* 8003F984 0003C8E4 48 30 14 BD */ bl __dt__6CTokenFv +lbl_8003F988: +/* 8003F988 0003C8E8 80 1E 03 20 */ lwz r0, 0x320(r30) +/* 8003F98C 0003C8EC 38 80 00 01 */ li r4, 1 +/* 8003F990 0003C8F0 54 03 18 38 */ slwi r3, r0, 3 +/* 8003F994 0003C8F4 38 03 00 04 */ addi r0, r3, 4 +/* 8003F998 0003C8F8 7C 7F 00 2E */ lwzx r3, r31, r0 +/* 8003F99C 0003C8FC 81 83 00 00 */ lwz r12, 0(r3) +/* 8003F9A0 0003C900 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8003F9A4 0003C904 7D 89 03 A6 */ mtctr r12 +/* 8003F9A8 0003C908 4E 80 04 21 */ bctrl +/* 8003F9AC 0003C90C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8003F9B0 0003C910 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8003F9B4 0003C914 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8003F9B8 0003C918 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8003F9BC 0003C91C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8003F9C0 0003C920 7C 08 03 A6 */ mtlr r0 +/* 8003F9C4 0003C924 38 21 00 30 */ addi r1, r1, 0x30 +/* 8003F9C8 0003C928 4E 80 00 20 */ blr + +.global ActivateCombo__10CPlayerGunFR13CStateManager +ActivateCombo__10CPlayerGunFR13CStateManager: +/* 8003F9CC 0003C92C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8003F9D0 0003C930 7C 08 02 A6 */ mflr r0 +/* 8003F9D4 0003C934 90 01 00 44 */ stw r0, 0x44(r1) +/* 8003F9D8 0003C938 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8003F9DC 0003C93C 7C 7E 1B 78 */ mr r30, r3 +/* 8003F9E0 0003C940 7C 9F 23 78 */ mr r31, r4 +/* 8003F9E4 0003C944 88 03 08 32 */ lbz r0, 0x832(r3) +/* 8003F9E8 0003C948 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f +/* 8003F9EC 0003C94C 28 00 00 01 */ cmplwi r0, 1 +/* 8003F9F0 0003C950 41 82 02 40 */ beq lbl_8003FC30 +/* 8003F9F4 0003C954 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8003F9F8 0003C958 83 83 00 00 */ lwz r28, 0(r3) +/* 8003F9FC 0003C95C 7F 83 E3 78 */ mr r3, r28 +/* 8003FA00 0003C960 48 05 18 1D */ bl GetMissileCostForAltAttack__12CPlayerStateCFv +/* 8003FA04 0003C964 80 1E 03 18 */ lwz r0, 0x318(r30) +/* 8003FA08 0003C968 7C 7D 1B 78 */ mr r29, r3 +/* 8003FA0C 0003C96C 38 82 84 60 */ addi r4, r2, lbl_805AA180@sda21 +/* 8003FA10 0003C970 7F 83 E3 78 */ mr r3, r28 +/* 8003FA14 0003C974 54 00 10 3A */ slwi r0, r0, 2 +/* 8003FA18 0003C978 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8003FA1C 0003C97C 48 05 21 01 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003FA20 0003C980 7C 03 E8 00 */ cmpw r3, r29 +/* 8003FA24 0003C984 41 80 01 F0 */ blt lbl_8003FC14 +/* 8003FA28 0003C988 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 8003FA2C 0003C98C 38 60 00 01 */ li r3, 1 +/* 8003FA30 0003C990 2C 00 00 03 */ cmpwi r0, 3 +/* 8003FA34 0003C994 40 82 00 18 */ bne lbl_8003FA4C +/* 8003FA38 0003C998 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003FA3C 0003C99C 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f +/* 8003FA40 0003C9A0 7C 00 00 34 */ cntlzw r0, r0 +/* 8003FA44 0003C9A4 54 00 D9 7E */ srwi r0, r0, 5 +/* 8003FA48 0003C9A8 7C 03 03 78 */ mr r3, r0 +lbl_8003FA4C: +/* 8003FA4C 0003C9AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003FA50 0003C9B0 41 82 01 E0 */ beq lbl_8003FC30 +/* 8003FA54 0003C9B4 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003FA58 0003C9B8 38 80 00 01 */ li r4, 1 +/* 8003FA5C 0003C9BC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8003FA60 0003C9C0 98 1E 08 32 */ stb r0, 0x832(r30) +/* 8003FA64 0003C9C4 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8003FA68 0003C9C8 3B 63 01 60 */ addi r27, r3, 0x160 +/* 8003FA6C 0003C9CC 80 03 01 68 */ lwz r0, 0x168(r3) +/* 8003FA70 0003C9D0 28 00 00 00 */ cmplwi r0, 0 +/* 8003FA74 0003C9D4 41 82 00 08 */ beq lbl_8003FA7C +/* 8003FA78 0003C9D8 48 00 00 3C */ b lbl_8003FAB4 +lbl_8003FA7C: +/* 8003FA7C 0003C9DC 88 1B 00 04 */ lbz r0, 4(r27) +/* 8003FA80 0003C9E0 28 00 00 00 */ cmplwi r0, 0 +/* 8003FA84 0003C9E4 41 82 00 2C */ beq lbl_8003FAB0 +/* 8003FA88 0003C9E8 80 7B 00 00 */ lwz r3, 0(r27) +/* 8003FA8C 0003C9EC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8003FA90 0003C9F0 28 00 00 00 */ cmplwi r0, 0 +/* 8003FA94 0003C9F4 41 82 00 1C */ beq lbl_8003FAB0 +/* 8003FA98 0003C9F8 7F 63 DB 78 */ mr r3, r27 +/* 8003FA9C 0003C9FC 48 30 13 71 */ bl GetObj__6CTokenFv +/* 8003FAA0 0003CA00 80 03 00 04 */ lwz r0, 4(r3) +/* 8003FAA4 0003CA04 38 80 00 01 */ li r4, 1 +/* 8003FAA8 0003CA08 90 1B 00 08 */ stw r0, 8(r27) +/* 8003FAAC 0003CA0C 48 00 00 08 */ b lbl_8003FAB4 +lbl_8003FAB0: +/* 8003FAB0 0003CA10 38 80 00 00 */ li r4, 0 +lbl_8003FAB4: +/* 8003FAB4 0003CA14 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8003FAB8 0003CA18 41 82 01 14 */ beq lbl_8003FBCC +/* 8003FABC 0003CA1C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 8003FAC0 0003CA20 3B A0 00 00 */ li r29, 0 +/* 8003FAC4 0003CA24 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 8003FAC8 0003CA28 38 60 03 40 */ li r3, 0x340 +/* 8003FACC 0003CA2C 38 84 00 09 */ addi r4, r4, 9 +/* 8003FAD0 0003CA30 38 A0 00 00 */ li r5, 0 +/* 8003FAD4 0003CA34 48 2D 5D 99 */ bl __nw__FUlPCcPCc +/* 8003FAD8 0003CA38 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8003FADC 0003CA3C 41 82 00 2C */ beq lbl_8003FB08 +/* 8003FAE0 0003CA40 7F 64 DB 78 */ mr r4, r27 +/* 8003FAE4 0003CA44 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003FAE8 0003CA48 48 30 13 C1 */ bl __ct__6CTokenFRC6CToken +/* 8003FAEC 0003CA4C 7F 83 E3 78 */ mr r3, r28 +/* 8003FAF0 0003CA50 38 81 00 18 */ addi r4, r1, 0x18 +/* 8003FAF4 0003CA54 3B A0 00 01 */ li r29, 1 +/* 8003FAF8 0003CA58 38 A0 00 00 */ li r5, 0 +/* 8003FAFC 0003CA5C 38 C0 00 01 */ li r6, 1 +/* 8003FB00 0003CA60 48 2D F8 E1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8003FB04 0003CA64 7C 7C 1B 78 */ mr r28, r3 +lbl_8003FB08: +/* 8003FB08 0003CA68 7C 1C 00 D0 */ neg r0, r28 +/* 8003FB0C 0003CA6C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8003FB10 0003CA70 7C 04 E3 78 */ or r4, r0, r28 +/* 8003FB14 0003CA74 38 1E 07 7C */ addi r0, r30, 0x77c +/* 8003FB18 0003CA78 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8003FB1C 0003CA7C 93 81 00 14 */ stw r28, 0x14(r1) +/* 8003FB20 0003CA80 7C 03 00 40 */ cmplw r3, r0 +/* 8003FB24 0003CA84 98 81 00 10 */ stb r4, 0x10(r1) +/* 8003FB28 0003CA88 41 82 00 48 */ beq lbl_8003FB70 +/* 8003FB2C 0003CA8C 88 1E 07 7C */ lbz r0, 0x77c(r30) +/* 8003FB30 0003CA90 28 00 00 00 */ cmplwi r0, 0 +/* 8003FB34 0003CA94 41 82 00 24 */ beq lbl_8003FB58 +/* 8003FB38 0003CA98 80 7E 07 80 */ lwz r3, 0x780(r30) +/* 8003FB3C 0003CA9C 28 03 00 00 */ cmplwi r3, 0 +/* 8003FB40 0003CAA0 41 82 00 18 */ beq lbl_8003FB58 +/* 8003FB44 0003CAA4 81 83 00 00 */ lwz r12, 0(r3) +/* 8003FB48 0003CAA8 38 80 00 01 */ li r4, 1 +/* 8003FB4C 0003CAAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003FB50 0003CAB0 7D 89 03 A6 */ mtctr r12 +/* 8003FB54 0003CAB4 4E 80 04 21 */ bctrl +lbl_8003FB58: +/* 8003FB58 0003CAB8 88 61 00 10 */ lbz r3, 0x10(r1) +/* 8003FB5C 0003CABC 38 00 00 00 */ li r0, 0 +/* 8003FB60 0003CAC0 98 7E 07 7C */ stb r3, 0x77c(r30) +/* 8003FB64 0003CAC4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8003FB68 0003CAC8 90 7E 07 80 */ stw r3, 0x780(r30) +/* 8003FB6C 0003CACC 98 01 00 10 */ stb r0, 0x10(r1) +lbl_8003FB70: +/* 8003FB70 0003CAD0 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8003FB74 0003CAD4 28 00 00 00 */ cmplwi r0, 0 +/* 8003FB78 0003CAD8 41 82 00 24 */ beq lbl_8003FB9C +/* 8003FB7C 0003CADC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8003FB80 0003CAE0 28 03 00 00 */ cmplwi r3, 0 +/* 8003FB84 0003CAE4 41 82 00 18 */ beq lbl_8003FB9C +/* 8003FB88 0003CAE8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003FB8C 0003CAEC 38 80 00 01 */ li r4, 1 +/* 8003FB90 0003CAF0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003FB94 0003CAF4 7D 89 03 A6 */ mtctr r12 +/* 8003FB98 0003CAF8 4E 80 04 21 */ bctrl +lbl_8003FB9C: +/* 8003FB9C 0003CAFC 7F A0 07 75 */ extsb. r0, r29 +/* 8003FBA0 0003CB00 41 82 00 10 */ beq lbl_8003FBB0 +/* 8003FBA4 0003CB04 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003FBA8 0003CB08 38 80 00 00 */ li r4, 0 +/* 8003FBAC 0003CB0C 48 30 12 95 */ bl __dt__6CTokenFv +lbl_8003FBB0: +/* 8003FBB0 0003CB10 80 7E 07 80 */ lwz r3, 0x780(r30) +/* 8003FBB4 0003CB14 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 8003FBB8 0003CB18 38 84 D4 04 */ addi r4, r4, lbl_8056D404@l +/* 8003FBBC 0003CB1C 81 83 00 00 */ lwz r12, 0(r3) +/* 8003FBC0 0003CB20 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8003FBC4 0003CB24 7D 89 03 A6 */ mtctr r12 +/* 8003FBC8 0003CB28 4E 80 04 21 */ bctrl +lbl_8003FBCC: +/* 8003FBCC 0003CB2C 80 BE 07 2C */ lwz r5, 0x72c(r30) +/* 8003FBD0 0003CB30 38 C0 00 01 */ li r6, 1 +/* 8003FBD4 0003CB34 7F C3 F3 78 */ mr r3, r30 +/* 8003FBD8 0003CB38 7F E4 FB 78 */ mr r4, r31 +/* 8003FBDC 0003CB3C 88 05 02 18 */ lbz r0, 0x218(r5) +/* 8003FBE0 0003CB40 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8003FBE4 0003CB44 98 05 02 18 */ stb r0, 0x218(r5) +/* 8003FBE8 0003CB48 4B FF CF 6D */ bl StopChargeSound__10CPlayerGunFR13CStateManager +/* 8003FBEC 0003CB4C 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003FBF0 0003CB50 38 61 00 0C */ addi r3, r1, 0xc +/* 8003FBF4 0003CB54 38 80 06 E2 */ li r4, 0x6e2 +/* 8003FBF8 0003CB58 38 C0 00 00 */ li r6, 0 +/* 8003FBFC 0003CB5C 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 8003FC00 0003CB60 38 E0 00 4A */ li r7, 0x4a +/* 8003FC04 0003CB64 48 24 AE F5 */ bl play_sfx__12NWeaponTypesFUsbbs +/* 8003FC08 0003CB68 38 00 00 05 */ li r0, 5 +/* 8003FC0C 0003CB6C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003FC10 0003CB70 48 00 00 20 */ b lbl_8003FC30 +lbl_8003FC14: +/* 8003FC14 0003CB74 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003FC18 0003CB78 38 61 00 08 */ addi r3, r1, 8 +/* 8003FC1C 0003CB7C 38 80 06 F5 */ li r4, 0x6f5 +/* 8003FC20 0003CB80 38 C0 00 00 */ li r6, 0 +/* 8003FC24 0003CB84 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 8003FC28 0003CB88 38 E0 00 4A */ li r7, 0x4a +/* 8003FC2C 0003CB8C 48 24 AE CD */ bl play_sfx__12NWeaponTypesFUsbbs +lbl_8003FC30: +/* 8003FC30 0003CB90 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8003FC34 0003CB94 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8003FC38 0003CB98 7C 08 03 A6 */ mtlr r0 +/* 8003FC3C 0003CB9C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8003FC40 0003CBA0 4E 80 00 20 */ blr + +.global DropBomb__10CPlayerGunFQ210CPlayerGun8EBWeaponR13CStateManager +DropBomb__10CPlayerGunFQ210CPlayerGun8EBWeaponR13CStateManager: +/* 8003FC44 0003CBA4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8003FC48 0003CBA8 7C 08 02 A6 */ mflr r0 +/* 8003FC4C 0003CBAC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8003FC50 0003CBB0 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8003FC54 0003CBB4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8003FC58 0003CBB8 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 8003FC5C 0003CBBC 7C 9B 23 78 */ mr r27, r4 +/* 8003FC60 0003CBC0 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 8003FC64 0003CBC4 2C 1B 00 01 */ cmpwi r27, 1 +/* 8003FC68 0003CBC8 7C 7E 1B 78 */ mr r30, r3 +/* 8003FC6C 0003CBCC C3 E4 02 7C */ lfs f31, 0x27c(r4) +/* 8003FC70 0003CBD0 7C BF 2B 78 */ mr r31, r5 +/* 8003FC74 0003CBD4 41 82 01 D0 */ beq lbl_8003FE44 +/* 8003FC78 0003CBD8 40 80 01 F8 */ bge lbl_8003FE70 +/* 8003FC7C 0003CBDC 2C 1B 00 00 */ cmpwi r27, 0 +/* 8003FC80 0003CBE0 40 80 00 08 */ bge lbl_8003FC88 +/* 8003FC84 0003CBE4 48 00 01 EC */ b lbl_8003FE70 +lbl_8003FC88: +/* 8003FC88 0003CBE8 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 8003FC8C 0003CBEC 2C 00 00 00 */ cmpwi r0, 0 +/* 8003FC90 0003CBF0 41 82 00 10 */ beq lbl_8003FCA0 +/* 8003FC94 0003CBF4 38 00 00 0A */ li r0, 0xa +/* 8003FC98 0003CBF8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8003FC9C 0003CBFC 48 00 01 D4 */ b lbl_8003FE70 +lbl_8003FCA0: +/* 8003FCA0 0003CC00 80 1E 03 08 */ lwz r0, 0x308(r30) +/* 8003FCA4 0003CC04 2C 00 00 00 */ cmpwi r0, 0 +/* 8003FCA8 0003CC08 40 81 01 C8 */ ble lbl_8003FE70 +/* 8003FCAC 0003CC0C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 8003FCB0 0003CC10 3B A0 00 00 */ li r29, 0 +/* 8003FCB4 0003CC14 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l +/* 8003FCB8 0003CC18 3B 40 00 00 */ li r26, 0 +/* 8003FCBC 0003CC1C 38 83 00 09 */ addi r4, r3, 9 +/* 8003FCC0 0003CC20 38 60 01 98 */ li r3, 0x198 +/* 8003FCC4 0003CC24 38 A0 00 00 */ li r5, 0 +/* 8003FCC8 0003CC28 48 2D 5B A5 */ bl __nw__FUlPCcPCc +/* 8003FCCC 0003CC2C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8003FCD0 0003CC30 41 82 00 C4 */ beq lbl_8003FD94 +/* 8003FCD4 0003CC34 1C 1B 00 1C */ mulli r0, r27, 0x1c +/* 8003FCD8 0003CC38 38 61 00 38 */ addi r3, r1, 0x38 +/* 8003FCDC 0003CC3C 7F 7E 02 14 */ add r27, r30, r0 +/* 8003FCE0 0003CC40 38 9B 07 8C */ addi r4, r27, 0x78c +/* 8003FCE4 0003CC44 48 30 11 C5 */ bl __ct__6CTokenFRC6CToken +/* 8003FCE8 0003CC48 38 61 00 40 */ addi r3, r1, 0x40 +/* 8003FCEC 0003CC4C 38 9B 07 98 */ addi r4, r27, 0x798 +/* 8003FCF0 0003CC50 3B 40 00 01 */ li r26, 1 +/* 8003FCF4 0003CC54 48 30 11 B5 */ bl __ct__6CTokenFRC6CToken +/* 8003FCF8 0003CC58 7F E4 FB 78 */ mr r4, r31 +/* 8003FCFC 0003CC5C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8003FD00 0003CC60 3B A0 00 01 */ li r29, 1 +/* 8003FD04 0003CC64 48 00 D3 D9 */ bl AllocateUniqueId__13CStateManagerFv +/* 8003FD08 0003CC68 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 8003FD0C 0003CC6C 38 61 00 54 */ addi r3, r1, 0x54 +/* 8003FD10 0003CC70 80 AD A1 34 */ lwz r5, gpTweakPlayerGun@sda21(r13) +/* 8003FD14 0003CC74 38 81 00 48 */ addi r4, r1, 0x48 +/* 8003FD18 0003CC78 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8003FD1C 0003CC7C C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) +/* 8003FD20 0003CC80 3B 65 00 70 */ addi r27, r5, 0x70 +/* 8003FD24 0003CC84 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8003FD28 0003CC88 80 A5 00 04 */ lwz r5, 4(r5) +/* 8003FD2C 0003CC8C 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 8003FD30 0003CC90 A0 1E 05 38 */ lhz r0, 0x538(r30) +/* 8003FD34 0003CC94 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8003FD38 0003CC98 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8003FD3C 0003CC9C 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8003FD40 0003CCA0 C0 65 00 50 */ lfs f3, 0x50(r5) +/* 8003FD44 0003CCA4 C0 25 00 60 */ lfs f1, 0x60(r5) +/* 8003FD48 0003CCA8 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8003FD4C 0003CCAC EC 63 10 2A */ fadds f3, f3, f2 +/* 8003FD50 0003CCB0 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8003FD54 0003CCB4 EC 00 10 2A */ fadds f0, f0, f2 +/* 8003FD58 0003CCB8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 8003FD5C 0003CCBC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8003FD60 0003CCC0 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8003FD64 0003CCC4 48 2D 33 DD */ bl Translate__12CTransform4fFRC9CVector3f +/* 8003FD68 0003CCC8 C0 3E 03 54 */ lfs f1, 0x354(r30) +/* 8003FD6C 0003CCCC 7F 83 E3 78 */ mr r3, r28 +/* 8003FD70 0003CCD0 7F 6A DB 78 */ mr r10, r27 +/* 8003FD74 0003CCD4 38 81 00 38 */ addi r4, r1, 0x38 +/* 8003FD78 0003CCD8 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8003FD7C 0003CCDC 38 C1 00 1C */ addi r6, r1, 0x1c +/* 8003FD80 0003CCE0 38 E1 00 2C */ addi r7, r1, 0x2c +/* 8003FD84 0003CCE4 39 01 00 20 */ addi r8, r1, 0x20 +/* 8003FD88 0003CCE8 39 21 00 54 */ addi r9, r1, 0x54 +/* 8003FD8C 0003CCEC 48 05 0A 19 */ bl "__ct__5CBombF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdfRC12CTransform4fRC11CDamageInfo" +/* 8003FD90 0003CCF0 7C 7C 1B 78 */ mr r28, r3 +lbl_8003FD94: +/* 8003FD94 0003CCF4 7F 40 07 75 */ extsb. r0, r26 +/* 8003FD98 0003CCF8 7F 9B E3 78 */ mr r27, r28 +/* 8003FD9C 0003CCFC 41 82 00 10 */ beq lbl_8003FDAC +/* 8003FDA0 0003CD00 38 61 00 38 */ addi r3, r1, 0x38 +/* 8003FDA4 0003CD04 38 80 00 00 */ li r4, 0 +/* 8003FDA8 0003CD08 48 30 10 99 */ bl __dt__6CTokenFv +lbl_8003FDAC: +/* 8003FDAC 0003CD0C 7F A0 07 75 */ extsb. r0, r29 +/* 8003FDB0 0003CD10 41 82 00 10 */ beq lbl_8003FDC0 +/* 8003FDB4 0003CD14 38 61 00 40 */ addi r3, r1, 0x40 +/* 8003FDB8 0003CD18 38 80 00 00 */ li r4, 0 +/* 8003FDBC 0003CD1C 48 30 10 85 */ bl __dt__6CTokenFv +lbl_8003FDC0: +/* 8003FDC0 0003CD20 7F E3 FB 78 */ mr r3, r31 +/* 8003FDC4 0003CD24 7F 64 DB 78 */ mr r4, r27 +/* 8003FDC8 0003CD28 48 00 CD 4D */ bl AddObject__13CStateManagerFR7CEntity +/* 8003FDCC 0003CD2C 80 1E 03 08 */ lwz r0, 0x308(r30) +/* 8003FDD0 0003CD30 2C 00 00 03 */ cmpwi r0, 3 +/* 8003FDD4 0003CD34 40 82 00 0C */ bne lbl_8003FDE0 +/* 8003FDD8 0003CD38 C0 1E 03 58 */ lfs f0, 0x358(r30) +/* 8003FDDC 0003CD3C D0 1E 03 5C */ stfs f0, 0x35c(r30) +lbl_8003FDE0: +/* 8003FDE0 0003CD40 80 BE 03 08 */ lwz r5, 0x308(r30) +/* 8003FDE4 0003CD44 7F E3 FB 78 */ mr r3, r31 +/* 8003FDE8 0003CD48 38 81 00 14 */ addi r4, r1, 0x14 +/* 8003FDEC 0003CD4C 38 05 FF FF */ addi r0, r5, -1 +/* 8003FDF0 0003CD50 90 1E 03 08 */ stw r0, 0x308(r30) +/* 8003FDF4 0003CD54 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8003FDF8 0003CD58 A0 05 08 2E */ lhz r0, 0x82e(r5) +/* 8003FDFC 0003CD5C B0 01 00 24 */ sth r0, 0x24(r1) +/* 8003FE00 0003CD60 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8003FE04 0003CD64 48 00 C7 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8003FE08 0003CD68 28 03 00 00 */ cmplwi r3, 0 +/* 8003FE0C 0003CD6C 41 82 00 64 */ beq lbl_8003FE70 +/* 8003FE10 0003CD70 7C 64 1B 78 */ mr r4, r3 +/* 8003FE14 0003CD74 38 61 00 30 */ addi r3, r1, 0x30 +/* 8003FE18 0003CD78 48 06 8F FD */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +/* 8003FE1C 0003CD7C 80 63 00 04 */ lwz r3, 4(r3) +/* 8003FE20 0003CD80 28 03 00 00 */ cmplwi r3, 0 +/* 8003FE24 0003CD84 41 82 00 4C */ beq lbl_8003FE70 +/* 8003FE28 0003CD88 A0 1B 00 08 */ lhz r0, 8(r27) +/* 8003FE2C 0003CD8C 7F E5 FB 78 */ mr r5, r31 +/* 8003FE30 0003CD90 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003FE34 0003CD94 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8003FE38 0003CD98 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8003FE3C 0003CD9C 48 07 20 F5 */ bl AddSlave__15CScriptPlatformF9TUniqueIdR13CStateManager +/* 8003FE40 0003CDA0 48 00 00 30 */ b lbl_8003FE70 +lbl_8003FE44: +/* 8003FE44 0003CDA4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8003FE48 0003CDA8 38 80 00 07 */ li r4, 7 +/* 8003FE4C 0003CDAC 38 A0 00 01 */ li r5, 1 +/* 8003FE50 0003CDB0 80 63 00 00 */ lwz r3, 0(r3) +/* 8003FE54 0003CDB4 48 05 1D 41 */ bl DecrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei +/* 8003FE58 0003CDB8 7F C4 F3 78 */ mr r4, r30 +/* 8003FE5C 0003CDBC 7F E5 FB 78 */ mr r5, r31 +/* 8003FE60 0003CDC0 38 61 00 08 */ addi r3, r1, 8 +/* 8003FE64 0003CDC4 4B FF AA A1 */ bl DropPowerBomb__10CPlayerGunCFR13CStateManager +/* 8003FE68 0003CDC8 A0 01 00 08 */ lhz r0, 8(r1) +/* 8003FE6C 0003CDCC B0 1E 05 3A */ sth r0, 0x53a(r30) +lbl_8003FE70: +/* 8003FE70 0003CDD0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8003FE74 0003CDD4 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8003FE78 0003CDD8 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 8003FE7C 0003CDDC 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8003FE80 0003CDE0 7C 08 03 A6 */ mtlr r0 +/* 8003FE84 0003CDE4 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8003FE88 0003CDE8 4E 80 00 20 */ blr + +.global FireSecondary__10CPlayerGunFfR13CStateManager +FireSecondary__10CPlayerGunFfR13CStateManager: +/* 8003FE8C 0003CDEC 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 8003FE90 0003CDF0 7C 08 02 A6 */ mflr r0 +/* 8003FE94 0003CDF4 90 01 01 54 */ stw r0, 0x154(r1) +/* 8003FE98 0003CDF8 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 8003FE9C 0003CDFC F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 8003FEA0 0003CE00 DB C1 01 30 */ stfd f30, 0x130(r1) +/* 8003FEA4 0003CE04 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 +/* 8003FEA8 0003CE08 DB A1 01 20 */ stfd f29, 0x120(r1) +/* 8003FEAC 0003CE0C F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 +/* 8003FEB0 0003CE10 DB 81 01 10 */ stfd f28, 0x110(r1) +/* 8003FEB4 0003CE14 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 +/* 8003FEB8 0003CE18 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 8003FEBC 0003CE1C 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8003FEC0 0003CE20 93 A1 01 04 */ stw r29, 0x104(r1) +/* 8003FEC4 0003CE24 93 81 01 00 */ stw r28, 0x100(r1) +/* 8003FEC8 0003CE28 FF 80 08 90 */ fmr f28, f1 +/* 8003FECC 0003CE2C 7C 9F 23 78 */ mr r31, r4 +/* 8003FED0 0003CE30 7C 7E 1B 78 */ mr r30, r3 +/* 8003FED4 0003CE34 80 64 08 70 */ lwz r3, 0x870(r4) +/* 8003FED8 0003CE38 4B FC AA 29 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 8003FEDC 0003CE3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8003FEE0 0003CE40 40 82 03 0C */ bne lbl_800401EC +/* 8003FEE4 0003CE44 88 1E 08 35 */ lbz r0, 0x835(r30) +/* 8003FEE8 0003CE48 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8003FEEC 0003CE4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8003FEF0 0003CE50 83 A3 00 00 */ lwz r29, 0(r3) +/* 8003FEF4 0003CE54 40 82 00 40 */ bne lbl_8003FF34 +/* 8003FEF8 0003CE58 80 1E 03 18 */ lwz r0, 0x318(r30) +/* 8003FEFC 0003CE5C 2C 00 00 00 */ cmpwi r0, 0 +/* 8003FF00 0003CE60 41 82 00 34 */ beq lbl_8003FF34 +/* 8003FF04 0003CE64 54 00 10 3A */ slwi r0, r0, 2 +/* 8003FF08 0003CE68 38 62 84 60 */ addi r3, r2, lbl_805AA180@sda21 +/* 8003FF0C 0003CE6C 7C 83 00 2E */ lwzx r4, r3, r0 +/* 8003FF10 0003CE70 7F A3 EB 78 */ mr r3, r29 +/* 8003FF14 0003CE74 48 05 1B AD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003FF18 0003CE78 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8003FF1C 0003CE7C 28 00 00 01 */ cmplwi r0, 1 +/* 8003FF20 0003CE80 40 82 00 14 */ bne lbl_8003FF34 +/* 8003FF24 0003CE84 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 8003FF28 0003CE88 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d +/* 8003FF2C 0003CE8C 2C 00 00 04 */ cmpwi r0, 4 +/* 8003FF30 0003CE90 41 82 00 24 */ beq lbl_8003FF54 +lbl_8003FF34: +/* 8003FF34 0003CE94 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 8003FF38 0003CE98 38 61 00 1C */ addi r3, r1, 0x1c +/* 8003FF3C 0003CE9C 38 80 06 F5 */ li r4, 0x6f5 +/* 8003FF40 0003CEA0 38 C0 00 00 */ li r6, 0 +/* 8003FF44 0003CEA4 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 8003FF48 0003CEA8 38 E0 00 4A */ li r7, 0x4a +/* 8003FF4C 0003CEAC 48 24 AB AD */ bl play_sfx__12NWeaponTypesFUsbbs +/* 8003FF50 0003CEB0 48 00 02 9C */ b lbl_800401EC +lbl_8003FF54: +/* 8003FF54 0003CEB4 80 1E 03 18 */ lwz r0, 0x318(r30) +/* 8003FF58 0003CEB8 3B 80 00 00 */ li r28, 0 +/* 8003FF5C 0003CEBC 2C 00 00 01 */ cmpwi r0, 1 +/* 8003FF60 0003CEC0 41 82 00 08 */ beq lbl_8003FF68 +/* 8003FF64 0003CEC4 48 00 00 90 */ b lbl_8003FFF4 +lbl_8003FF68: +/* 8003FF68 0003CEC8 7F A3 EB 78 */ mr r3, r29 +/* 8003FF6C 0003CECC 38 80 00 04 */ li r4, 4 +/* 8003FF70 0003CED0 48 05 1B AD */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8003FF74 0003CED4 90 7E 03 00 */ stw r3, 0x300(r30) +/* 8003FF78 0003CED8 7F E3 FB 78 */ mr r3, r31 +/* 8003FF7C 0003CEDC 38 81 00 10 */ addi r4, r1, 0x10 +/* 8003FF80 0003CEE0 38 A0 00 06 */ li r5, 6 +/* 8003FF84 0003CEE4 A0 1E 05 38 */ lhz r0, 0x538(r30) +/* 8003FF88 0003CEE8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8003FF8C 0003CEEC 48 00 4D 1D */ bl GetWeaponIdCount__13CStateManagerF9TUniqueId11EWeaponType +/* 8003FF90 0003CEF0 2C 03 00 03 */ cmpwi r3, 3 +/* 8003FF94 0003CEF4 40 80 00 40 */ bge lbl_8003FFD4 +/* 8003FF98 0003CEF8 80 1E 03 00 */ lwz r0, 0x300(r30) +/* 8003FF9C 0003CEFC 2C 00 00 00 */ cmpwi r0, 0 +/* 8003FFA0 0003CF00 41 82 00 34 */ beq lbl_8003FFD4 +/* 8003FFA4 0003CF04 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 8003FFA8 0003CF08 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8003FFAC 0003CF0C 41 82 00 14 */ beq lbl_8003FFC0 +/* 8003FFB0 0003CF10 7F A3 EB 78 */ mr r3, r29 +/* 8003FFB4 0003CF14 48 05 12 69 */ bl GetMissileCostForAltAttack__12CPlayerStateCFv +/* 8003FFB8 0003CF18 7C 65 1B 78 */ mr r5, r3 +/* 8003FFBC 0003CF1C 48 00 00 08 */ b lbl_8003FFC4 +lbl_8003FFC0: +/* 8003FFC0 0003CF20 38 A0 00 01 */ li r5, 1 +lbl_8003FFC4: +/* 8003FFC4 0003CF24 7F A3 EB 78 */ mr r3, r29 +/* 8003FFC8 0003CF28 38 80 00 04 */ li r4, 4 +/* 8003FFCC 0003CF2C 48 05 1B C9 */ bl DecrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei +/* 8003FFD0 0003CF30 3B 80 00 01 */ li r28, 1 +lbl_8003FFD4: +/* 8003FFD4 0003CF34 80 7E 03 00 */ lwz r3, 0x300(r30) +/* 8003FFD8 0003CF38 2C 03 00 05 */ cmpwi r3, 5 +/* 8003FFDC 0003CF3C 40 81 00 10 */ ble lbl_8003FFEC +/* 8003FFE0 0003CF40 38 00 00 05 */ li r0, 5 +/* 8003FFE4 0003CF44 90 1E 03 00 */ stw r0, 0x300(r30) +/* 8003FFE8 0003CF48 48 00 00 0C */ b lbl_8003FFF4 +lbl_8003FFEC: +/* 8003FFEC 0003CF4C 38 03 FF FF */ addi r0, r3, -1 +/* 8003FFF0 0003CF50 90 1E 03 00 */ stw r0, 0x300(r30) +lbl_8003FFF4: +/* 8003FFF4 0003CF54 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8003FFF8 0003CF58 41 82 01 CC */ beq lbl_800401C4 +/* 8003FFFC 0003CF5C 7F C4 F3 78 */ mr r4, r30 +/* 80040000 0003CF60 7F E5 FB 78 */ mr r5, r31 +/* 80040004 0003CF64 38 61 00 0C */ addi r3, r1, 0xc +/* 80040008 0003CF68 4B FF E1 F5 */ bl GetTargetId__10CPlayerGunFR13CStateManager +/* 8004000C 0003CF6C 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 80040010 0003CF70 A0 61 00 0C */ lhz r3, 0xc(r1) +/* 80040014 0003CF74 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80040018 0003CF78 B0 61 00 14 */ sth r3, 0x14(r1) +/* 8004001C 0003CF7C 41 82 00 2C */ beq lbl_80040048 +/* 80040020 0003CF80 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80040024 0003CF84 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80040028 0003CF88 7C 03 00 40 */ cmplw r3, r0 +/* 8004002C 0003CF8C 40 82 00 1C */ bne lbl_80040048 +/* 80040030 0003CF90 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 80040034 0003CF94 2C 00 00 02 */ cmpwi r0, 2 +/* 80040038 0003CF98 40 82 00 10 */ bne lbl_80040048 +/* 8004003C 0003CF9C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80040040 0003CFA0 A0 03 03 F4 */ lhz r0, 0x3f4(r3) +/* 80040044 0003CFA4 B0 01 00 14 */ sth r0, 0x14(r1) +lbl_80040048: +/* 80040048 0003CFA8 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8004004C 0003CFAC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80040050 0003CFB0 41 82 00 0C */ beq lbl_8004005C +/* 80040054 0003CFB4 38 9E 04 48 */ addi r4, r30, 0x448 +/* 80040058 0003CFB8 48 00 00 24 */ b lbl_8004007C +lbl_8004005C: +/* 8004005C 0003CFBC 38 61 00 98 */ addi r3, r1, 0x98 +/* 80040060 0003CFC0 38 9E 04 A8 */ addi r4, r30, 0x4a8 +/* 80040064 0003CFC4 48 2D 2B 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80040068 0003CFC8 38 61 00 68 */ addi r3, r1, 0x68 +/* 8004006C 0003CFCC 38 81 00 98 */ addi r4, r1, 0x98 +/* 80040070 0003CFD0 38 BE 04 18 */ addi r5, r30, 0x418 +/* 80040074 0003CFD4 48 2D 28 DD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80040078 0003CFD8 38 81 00 68 */ addi r4, r1, 0x68 +lbl_8004007C: +/* 8004007C 0003CFDC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80040080 0003CFE0 48 2D 2A F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80040084 0003CFE4 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 80040088 0003CFE8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8004008C 0003CFEC 40 82 00 3C */ bne lbl_800400C8 +/* 80040090 0003CFF0 C0 3E 03 64 */ lfs f1, 0x364(r30) +/* 80040094 0003CFF4 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80040098 0003CFF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8004009C 0003CFFC 4C 40 13 82 */ cror 2, 0, 2 +/* 800400A0 0003D000 40 82 00 28 */ bne lbl_800400C8 +/* 800400A4 0003D004 C3 A1 00 F4 */ lfs f29, 0xf4(r1) +/* 800400A8 0003D008 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800400AC 0003D00C C3 C1 00 E4 */ lfs f30, 0xe4(r1) +/* 800400B0 0003D010 38 9E 04 78 */ addi r4, r30, 0x478 +/* 800400B4 0003D014 C3 E1 00 D4 */ lfs f31, 0xd4(r1) +/* 800400B8 0003D018 48 2D 2A 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800400BC 0003D01C D3 E1 00 D4 */ stfs f31, 0xd4(r1) +/* 800400C0 0003D020 D3 C1 00 E4 */ stfs f30, 0xe4(r1) +/* 800400C4 0003D024 D3 A1 00 F4 */ stfs f29, 0xf4(r1) +lbl_800400C8: +/* 800400C8 0003D028 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 800400CC 0003D02C 7F E5 FB 78 */ mr r5, r31 +/* 800400D0 0003D030 38 61 00 2C */ addi r3, r1, 0x2c +/* 800400D4 0003D034 4B FC A8 41 */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager +/* 800400D8 0003D038 C0 81 00 D4 */ lfs f4, 0xd4(r1) +/* 800400DC 0003D03C FC 20 E0 90 */ fmr f1, f28 +/* 800400E0 0003D040 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 800400E4 0003D044 7F E8 FB 78 */ mr r8, r31 +/* 800400E8 0003D048 C0 41 00 E4 */ lfs f2, 0xe4(r1) +/* 800400EC 0003D04C 38 E1 00 C8 */ addi r7, r1, 0xc8 +/* 800400F0 0003D050 EC 84 18 2A */ fadds f4, f4, f3 +/* 800400F4 0003D054 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800400F8 0003D058 39 41 00 08 */ addi r10, r1, 8 +/* 800400FC 0003D05C A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80040100 0003D060 EC 62 00 2A */ fadds f3, f2, f0 +/* 80040104 0003D064 C0 41 00 F4 */ lfs f2, 0xf4(r1) +/* 80040108 0003D068 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8004010C 0003D06C D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 80040110 0003D070 EC 02 00 2A */ fadds f0, f2, f0 +/* 80040114 0003D074 D0 61 00 E4 */ stfs f3, 0xe4(r1) +/* 80040118 0003D078 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 8004011C 0003D07C B0 01 00 08 */ sth r0, 8(r1) +/* 80040120 0003D080 81 3E 07 2C */ lwz r9, 0x72c(r30) +/* 80040124 0003D084 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 80040128 0003D088 80 7E 07 44 */ lwz r3, 0x744(r30) +/* 8004012C 0003D08C 80 BE 03 10 */ lwz r5, 0x310(r30) +/* 80040130 0003D090 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f +/* 80040134 0003D094 80 DE 03 30 */ lwz r6, 0x330(r30) +/* 80040138 0003D098 81 29 01 C0 */ lwz r9, 0x1c0(r9) +/* 8004013C 0003D09C 48 17 98 59 */ bl Fire__10CAuxWeaponFfbiQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager11EWeaponType9TUniqueId +/* 80040140 0003D0A0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80040144 0003D0A4 38 9E 04 A8 */ addi r4, r30, 0x4a8 +/* 80040148 0003D0A8 48 2D 2A 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8004014C 0003D0AC C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80040150 0003D0B0 7F E3 FB 78 */ mr r3, r31 +/* 80040154 0003D0B4 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 80040158 0003D0B8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8004015C 0003D0BC C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80040160 0003D0C0 38 A0 00 00 */ li r5, 0 +/* 80040164 0003D0C4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80040168 0003D0C8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8004016C 0003D0CC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80040170 0003D0D0 48 00 86 15 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType +/* 80040174 0003D0D4 C0 02 84 F0 */ lfs f0, lbl_805AA210@sda21(r2) +/* 80040178 0003D0D8 D0 1E 03 A0 */ stfs f0, 0x3a0(r30) +/* 8004017C 0003D0DC 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 80040180 0003D0E0 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f +/* 80040184 0003D0E4 28 00 00 01 */ cmplwi r0, 1 +/* 80040188 0003D0E8 41 82 00 64 */ beq lbl_800401EC +/* 8004018C 0003D0EC 7F C3 F3 78 */ mr r3, r30 +/* 80040190 0003D0F0 38 80 00 07 */ li r4, 7 +/* 80040194 0003D0F4 38 A0 00 00 */ li r5, 0 +/* 80040198 0003D0F8 48 00 17 2D */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +/* 8004019C 0003D0FC 80 1E 03 00 */ lwz r0, 0x300(r30) +/* 800401A0 0003D100 38 60 00 03 */ li r3, 3 +/* 800401A4 0003D104 2C 00 00 00 */ cmpwi r0, 0 +/* 800401A8 0003D108 40 81 00 08 */ ble lbl_800401B0 +/* 800401AC 0003D10C 38 60 00 04 */ li r3, 4 +lbl_800401B0: +/* 800401B0 0003D110 90 7E 03 38 */ stw r3, 0x338(r30) +/* 800401B4 0003D114 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 800401B8 0003D118 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c +/* 800401BC 0003D11C 90 1E 02 F8 */ stw r0, 0x2f8(r30) +/* 800401C0 0003D120 48 00 00 2C */ b lbl_800401EC +lbl_800401C4: +/* 800401C4 0003D124 80 7E 03 18 */ lwz r3, 0x318(r30) +/* 800401C8 0003D128 38 8D 82 2C */ addi r4, r13, lbl_805A6DEC@sda21 +/* 800401CC 0003D12C 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 800401D0 0003D130 38 E0 00 4A */ li r7, 0x4a +/* 800401D4 0003D134 54 66 08 3C */ slwi r6, r3, 1 +/* 800401D8 0003D138 38 61 00 18 */ addi r3, r1, 0x18 +/* 800401DC 0003D13C 7C 84 32 2E */ lhzx r4, r4, r6 +/* 800401E0 0003D140 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 800401E4 0003D144 38 C0 00 00 */ li r6, 0 +/* 800401E8 0003D148 48 24 A9 11 */ bl play_sfx__12NWeaponTypesFUsbbs +lbl_800401EC: +/* 800401EC 0003D14C E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 800401F0 0003D150 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 800401F4 0003D154 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 +/* 800401F8 0003D158 CB C1 01 30 */ lfd f30, 0x130(r1) +/* 800401FC 0003D15C E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 +/* 80040200 0003D160 CB A1 01 20 */ lfd f29, 0x120(r1) +/* 80040204 0003D164 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 +/* 80040208 0003D168 CB 81 01 10 */ lfd f28, 0x110(r1) +/* 8004020C 0003D16C 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 80040210 0003D170 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 80040214 0003D174 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 80040218 0003D178 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8004021C 0003D17C 83 81 01 00 */ lwz r28, 0x100(r1) +/* 80040220 0003D180 7C 08 03 A6 */ mtlr r0 +/* 80040224 0003D184 38 21 01 50 */ addi r1, r1, 0x150 +/* 80040228 0003D188 4E 80 00 20 */ blr + +.global UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager +UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager: +/* 8004022C 0003D18C 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 80040230 0003D190 7C 08 02 A6 */ mflr r0 +/* 80040234 0003D194 90 01 01 44 */ stw r0, 0x144(r1) +/* 80040238 0003D198 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8004023C 0003D19C F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 80040240 0003D1A0 DB C1 01 20 */ stfd f30, 0x120(r1) +/* 80040244 0003D1A4 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 80040248 0003D1A8 DB A1 01 10 */ stfd f29, 0x110(r1) +/* 8004024C 0003D1AC F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 80040250 0003D1B0 DB 81 01 00 */ stfd f28, 0x100(r1) +/* 80040254 0003D1B4 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 80040258 0003D1B8 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8004025C 0003D1BC 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 80040260 0003D1C0 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 80040264 0003D1C4 FF 80 08 90 */ fmr f28, f1 +/* 80040268 0003D1C8 7C 7E 1B 78 */ mr r30, r3 +/* 8004026C 0003D1CC 7C 9F 23 78 */ mr r31, r4 +/* 80040270 0003D1D0 48 00 02 29 */ bl ExitMissile__10CPlayerGunFv +/* 80040274 0003D1D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80040278 0003D1D8 41 82 01 E4 */ beq lbl_8004045C +/* 8004027C 0003D1DC 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80040280 0003D1E0 4B FC A6 81 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80040284 0003D1E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80040288 0003D1E8 41 82 00 08 */ beq lbl_80040290 +/* 8004028C 0003D1EC 48 00 01 D0 */ b lbl_8004045C +lbl_80040290: +/* 80040290 0003D1F0 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 80040294 0003D1F4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80040298 0003D1F8 7C 03 03 78 */ mr r3, r0 +/* 8004029C 0003D1FC 40 82 00 14 */ bne lbl_800402B0 +/* 800402A0 0003D200 80 1E 03 10 */ lwz r0, 0x310(r30) +/* 800402A4 0003D204 2C 00 00 03 */ cmpwi r0, 3 +/* 800402A8 0003D208 40 82 00 08 */ bne lbl_800402B0 +/* 800402AC 0003D20C 38 60 00 01 */ li r3, 1 +lbl_800402B0: +/* 800402B0 0003D210 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800402B4 0003D214 38 60 00 00 */ li r3, 0 +/* 800402B8 0003D218 41 82 00 14 */ beq lbl_800402CC +/* 800402BC 0003D21C 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 800402C0 0003D220 2C 00 00 00 */ cmpwi r0, 0 +/* 800402C4 0003D224 40 82 00 08 */ bne lbl_800402CC +/* 800402C8 0003D228 38 60 00 01 */ li r3, 1 +lbl_800402CC: +/* 800402CC 0003D22C 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 800402D0 0003D230 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 800402D4 0003D234 7C 63 00 34 */ cntlzw r3, r3 +/* 800402D8 0003D238 50 60 0E 72 */ rlwimi r0, r3, 1, 0x19, 0x19 +/* 800402DC 0003D23C 98 1E 08 32 */ stb r0, 0x832(r30) +/* 800402E0 0003D240 80 7E 03 0C */ lwz r3, 0x30c(r30) +/* 800402E4 0003D244 38 03 00 01 */ addi r0, r3, 1 +/* 800402E8 0003D248 90 1E 03 0C */ stw r0, 0x30c(r30) +/* 800402EC 0003D24C 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 800402F0 0003D250 80 9E 07 2C */ lwz r4, 0x72c(r30) +/* 800402F4 0003D254 80 7E 03 30 */ lwz r3, 0x330(r30) +/* 800402F8 0003D258 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800402FC 0003D25C 7C 64 1A 14 */ add r3, r4, r3 +/* 80040300 0003D260 8B A3 01 F0 */ lbz r29, 0x1f0(r3) +/* 80040304 0003D264 41 82 00 0C */ beq lbl_80040310 +/* 80040308 0003D268 38 9E 04 48 */ addi r4, r30, 0x448 +/* 8004030C 0003D26C 48 00 00 24 */ b lbl_80040330 +lbl_80040310: +/* 80040310 0003D270 38 61 00 88 */ addi r3, r1, 0x88 +/* 80040314 0003D274 38 9E 04 A8 */ addi r4, r30, 0x4a8 +/* 80040318 0003D278 48 2D 28 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8004031C 0003D27C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80040320 0003D280 38 81 00 88 */ addi r4, r1, 0x88 +/* 80040324 0003D284 38 BE 04 18 */ addi r5, r30, 0x418 +/* 80040328 0003D288 48 2D 26 29 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8004032C 0003D28C 38 81 00 58 */ addi r4, r1, 0x58 +lbl_80040330: +/* 80040330 0003D290 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80040334 0003D294 48 2D 28 41 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80040338 0003D298 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 8004033C 0003D29C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80040340 0003D2A0 40 82 00 3C */ bne lbl_8004037C +/* 80040344 0003D2A4 C0 3E 03 64 */ lfs f1, 0x364(r30) +/* 80040348 0003D2A8 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8004034C 0003D2AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80040350 0003D2B0 4C 40 13 82 */ cror 2, 0, 2 +/* 80040354 0003D2B4 40 82 00 28 */ bne lbl_8004037C +/* 80040358 0003D2B8 C3 A1 00 E4 */ lfs f29, 0xe4(r1) +/* 8004035C 0003D2BC 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80040360 0003D2C0 C3 C1 00 D4 */ lfs f30, 0xd4(r1) +/* 80040364 0003D2C4 38 9E 04 78 */ addi r4, r30, 0x478 +/* 80040368 0003D2C8 C3 E1 00 C4 */ lfs f31, 0xc4(r1) +/* 8004036C 0003D2CC 48 2D 27 D5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80040370 0003D2D0 D3 E1 00 C4 */ stfs f31, 0xc4(r1) +/* 80040374 0003D2D4 D3 C1 00 D4 */ stfs f30, 0xd4(r1) +/* 80040378 0003D2D8 D3 A1 00 E4 */ stfs f29, 0xe4(r1) +lbl_8004037C: +/* 8004037C 0003D2DC 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 80040380 0003D2E0 7F E5 FB 78 */ mr r5, r31 +/* 80040384 0003D2E4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80040388 0003D2E8 4B FC A5 8D */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager +/* 8004038C 0003D2EC C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 80040390 0003D2F0 28 1D 00 00 */ cmplwi r29, 0 +/* 80040394 0003D2F4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80040398 0003D2F8 C0 61 00 D4 */ lfs f3, 0xd4(r1) +/* 8004039C 0003D2FC C0 41 00 20 */ lfs f2, 0x20(r1) +/* 800403A0 0003D300 EC 81 00 2A */ fadds f4, f1, f0 +/* 800403A4 0003D304 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 800403A8 0003D308 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 800403AC 0003D30C EC 43 10 2A */ fadds f2, f3, f2 +/* 800403B0 0003D310 D0 81 00 C4 */ stfs f4, 0xc4(r1) +/* 800403B4 0003D314 EC 21 00 2A */ fadds f1, f1, f0 +/* 800403B8 0003D318 C0 02 84 F4 */ lfs f0, lbl_805AA214@sda21(r2) +/* 800403BC 0003D31C D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 800403C0 0003D320 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 800403C4 0003D324 D0 1E 03 8C */ stfs f0, 0x38c(r30) +/* 800403C8 0003D328 41 82 00 1C */ beq lbl_800403E4 +/* 800403CC 0003D32C 7F C4 F3 78 */ mr r4, r30 +/* 800403D0 0003D330 7F E5 FB 78 */ mr r5, r31 +/* 800403D4 0003D334 38 61 00 08 */ addi r3, r1, 8 +/* 800403D8 0003D338 4B FF DE 25 */ bl GetTargetId__10CPlayerGunFR13CStateManager +/* 800403DC 0003D33C 38 61 00 08 */ addi r3, r1, 8 +/* 800403E0 0003D340 48 00 00 08 */ b lbl_800403E8 +lbl_800403E4: +/* 800403E4 0003D344 38 6D A3 8C */ addi r3, r13, lbl_805A8F4C@sda21 +lbl_800403E8: +/* 800403E8 0003D348 A0 03 00 00 */ lhz r0, 0(r3) +/* 800403EC 0003D34C FC 20 E0 90 */ fmr f1, f28 +/* 800403F0 0003D350 7F E7 FB 78 */ mr r7, r31 +/* 800403F4 0003D354 38 C1 00 B8 */ addi r6, r1, 0xb8 +/* 800403F8 0003D358 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800403FC 0003D35C 39 01 00 0C */ addi r8, r1, 0xc +/* 80040400 0003D360 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 80040404 0003D364 C0 5E 03 40 */ lfs f2, 0x340(r30) +/* 80040408 0003D368 81 83 00 00 */ lwz r12, 0(r3) +/* 8004040C 0003D36C 88 1E 08 34 */ lbz r0, 0x834(r30) +/* 80040410 0003D370 FC 60 10 90 */ fmr f3, f2 +/* 80040414 0003D374 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80040418 0003D378 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f +/* 8004041C 0003D37C 80 BE 03 30 */ lwz r5, 0x330(r30) +/* 80040420 0003D380 7D 89 03 A6 */ mtctr r12 +/* 80040424 0003D384 4E 80 04 21 */ bctrl +/* 80040428 0003D388 38 61 00 28 */ addi r3, r1, 0x28 +/* 8004042C 0003D38C 38 9E 04 A8 */ addi r4, r30, 0x4a8 +/* 80040430 0003D390 48 2D 27 45 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80040434 0003D394 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80040438 0003D398 7F E3 FB 78 */ mr r3, r31 +/* 8004043C 0003D39C C0 21 00 44 */ lfs f1, 0x44(r1) +/* 80040440 0003D3A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80040444 0003D3A4 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80040448 0003D3A8 38 A0 00 00 */ li r5, 0 +/* 8004044C 0003D3AC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80040450 0003D3B0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80040454 0003D3B4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80040458 0003D3B8 48 00 83 2D */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType +lbl_8004045C: +/* 8004045C 0003D3BC E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 80040460 0003D3C0 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 80040464 0003D3C4 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 80040468 0003D3C8 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 8004046C 0003D3CC E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 80040470 0003D3D0 CB A1 01 10 */ lfd f29, 0x110(r1) +/* 80040474 0003D3D4 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 80040478 0003D3D8 CB 81 01 00 */ lfd f28, 0x100(r1) +/* 8004047C 0003D3DC 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80040480 0003D3E0 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 80040484 0003D3E4 80 01 01 44 */ lwz r0, 0x144(r1) +/* 80040488 0003D3E8 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 8004048C 0003D3EC 7C 08 03 A6 */ mtlr r0 +/* 80040490 0003D3F0 38 21 01 40 */ addi r1, r1, 0x140 +/* 80040494 0003D3F4 4E 80 00 20 */ blr + +.global ExitMissile__10CPlayerGunFv +ExitMissile__10CPlayerGunFv: +/* 80040498 0003D3F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004049C 0003D3FC 7C 08 02 A6 */ mflr r0 +/* 800404A0 0003D400 90 01 00 14 */ stw r0, 0x14(r1) +/* 800404A4 0003D404 80 83 02 F8 */ lwz r4, 0x2f8(r3) +/* 800404A8 0003D408 54 80 07 FE */ clrlwi r0, r4, 0x1f +/* 800404AC 0003D40C 2C 00 00 01 */ cmpwi r0, 1 +/* 800404B0 0003D410 41 82 00 38 */ beq lbl_800404E8 +/* 800404B4 0003D414 54 80 06 F6 */ rlwinm r0, r4, 0, 0x1b, 0x1b +/* 800404B8 0003D418 2C 00 00 10 */ cmpwi r0, 0x10 +/* 800404BC 0003D41C 41 82 00 24 */ beq lbl_800404E0 +/* 800404C0 0003D420 80 03 03 38 */ lwz r0, 0x338(r3) +/* 800404C4 0003D424 2C 00 00 02 */ cmpwi r0, 2 +/* 800404C8 0003D428 41 82 00 18 */ beq lbl_800404E0 +/* 800404CC 0003D42C 38 00 00 02 */ li r0, 2 +/* 800404D0 0003D430 38 80 00 05 */ li r4, 5 +/* 800404D4 0003D434 90 03 03 38 */ stw r0, 0x338(r3) +/* 800404D8 0003D438 38 A0 00 00 */ li r5, 0 +/* 800404DC 0003D43C 48 00 13 E9 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +lbl_800404E0: +/* 800404E0 0003D440 38 60 00 00 */ li r3, 0 +/* 800404E4 0003D444 48 00 00 08 */ b lbl_800404EC +lbl_800404E8: +/* 800404E8 0003D448 38 60 00 01 */ li r3, 1 +lbl_800404EC: +/* 800404EC 0003D44C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800404F0 0003D450 7C 08 03 A6 */ mtlr r0 +/* 800404F4 0003D454 38 21 00 10 */ addi r1, r1, 0x10 +/* 800404F8 0003D458 4E 80 00 20 */ blr + +.global ProcessNormalState__10CPlayerGunFiiR13CStateManagerf +ProcessNormalState__10CPlayerGunFiiR13CStateManagerf: +/* 800404FC 0003D45C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80040500 0003D460 7C 08 02 A6 */ mflr r0 +/* 80040504 0003D464 90 01 00 14 */ stw r0, 0x14(r1) +/* 80040508 0003D468 54 80 07 FF */ clrlwi. r0, r4, 0x1f +/* 8004050C 0003D46C 41 82 00 10 */ beq lbl_8004051C +/* 80040510 0003D470 7C C4 33 78 */ mr r4, r6 +/* 80040514 0003D474 48 00 01 19 */ bl ResetNormal__10CPlayerGunFR13CStateManager +/* 80040518 0003D478 48 00 00 48 */ b lbl_80040560 +lbl_8004051C: +/* 8004051C 0003D47C 54 A0 07 FF */ clrlwi. r0, r5, 0x1f +/* 80040520 0003D480 41 82 00 30 */ beq lbl_80040550 +/* 80040524 0003D484 C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) +/* 80040528 0003D488 C0 03 03 48 */ lfs f0, 0x348(r3) +/* 8004052C 0003D48C FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 80040530 0003D490 40 82 00 20 */ bne lbl_80040550 +/* 80040534 0003D494 88 03 08 32 */ lbz r0, 0x832(r3) +/* 80040538 0003D498 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8004053C 0003D49C 28 00 00 01 */ cmplwi r0, 1 +/* 80040540 0003D4A0 40 82 00 10 */ bne lbl_80040550 +/* 80040544 0003D4A4 7C C4 33 78 */ mr r4, r6 +/* 80040548 0003D4A8 4B FF FC E5 */ bl UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager +/* 8004054C 0003D4AC 48 00 00 14 */ b lbl_80040560 +lbl_80040550: +/* 80040550 0003D4B0 54 A0 07 BD */ rlwinm. r0, r5, 0, 0x1e, 0x1e +/* 80040554 0003D4B4 41 82 00 0C */ beq lbl_80040560 +/* 80040558 0003D4B8 7C C4 33 78 */ mr r4, r6 +/* 8004055C 0003D4BC 4B FF F9 31 */ bl FireSecondary__10CPlayerGunFfR13CStateManager +lbl_80040560: +/* 80040560 0003D4C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80040564 0003D4C4 7C 08 03 A6 */ mtlr r0 +/* 80040568 0003D4C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004056C 0003D4CC 4E 80 00 20 */ blr + +.global ResetCharged__10CPlayerGunFfR13CStateManager +ResetCharged__10CPlayerGunFfR13CStateManager: +/* 80040570 0003D4D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80040574 0003D4D4 7C 08 02 A6 */ mflr r0 +/* 80040578 0003D4D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004057C 0003D4DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80040580 0003D4E0 7C 9F 23 78 */ mr r31, r4 +/* 80040584 0003D4E4 93 C1 00 08 */ stw r30, 8(r1) +/* 80040588 0003D4E8 7C 7E 1B 78 */ mr r30, r3 +/* 8004058C 0003D4EC 88 03 08 32 */ lbz r0, 0x832(r3) +/* 80040590 0003D4F0 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f +/* 80040594 0003D4F4 28 00 00 01 */ cmplwi r0, 1 +/* 80040598 0003D4F8 41 82 00 7C */ beq lbl_80040614 +/* 8004059C 0003D4FC 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 800405A0 0003D500 2C 00 00 03 */ cmpwi r0, 3 +/* 800405A4 0003D504 41 80 00 3C */ blt lbl_800405E0 +/* 800405A8 0003D508 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 800405AC 0003D50C 38 A0 00 00 */ li r5, 0 +/* 800405B0 0003D510 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 800405B4 0003D514 98 1E 08 33 */ stb r0, 0x833(r30) +/* 800405B8 0003D518 4B FF FC 75 */ bl UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager +/* 800405BC 0003D51C 88 1E 08 32 */ lbz r0, 0x832(r30) +/* 800405C0 0003D520 38 60 00 01 */ li r3, 1 +/* 800405C4 0003D524 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800405C8 0003D528 7F C3 F3 78 */ mr r3, r30 +/* 800405CC 0003D52C 98 1E 08 32 */ stb r0, 0x832(r30) +/* 800405D0 0003D530 7F E4 FB 78 */ mr r4, r31 +/* 800405D4 0003D534 38 A0 00 01 */ li r5, 1 +/* 800405D8 0003D538 4B FF B9 71 */ bl CancelCharge__10CPlayerGunFR13CStateManagerb +/* 800405DC 0003D53C 48 00 00 2C */ b lbl_80040608 +lbl_800405E0: +/* 800405E0 0003D540 2C 00 00 00 */ cmpwi r0, 0 +/* 800405E4 0003D544 41 82 00 24 */ beq lbl_80040608 +/* 800405E8 0003D548 80 7E 03 10 */ lwz r3, 0x310(r30) +/* 800405EC 0003D54C 38 80 00 01 */ li r4, 1 +/* 800405F0 0003D550 38 00 00 0A */ li r0, 0xa +/* 800405F4 0003D554 90 7E 03 20 */ stw r3, 0x320(r30) +/* 800405F8 0003D558 88 7E 08 33 */ lbz r3, 0x833(r30) +/* 800405FC 0003D55C 50 83 0F BC */ rlwimi r3, r4, 1, 0x1e, 0x1e +/* 80040600 0003D560 98 7E 08 33 */ stb r3, 0x833(r30) +/* 80040604 0003D564 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_80040608: +/* 80040608 0003D568 7F C3 F3 78 */ mr r3, r30 +/* 8004060C 0003D56C 7F E4 FB 78 */ mr r4, r31 +/* 80040610 0003D570 4B FF C5 45 */ bl StopChargeSound__10CPlayerGunFR13CStateManager +lbl_80040614: +/* 80040614 0003D574 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80040618 0003D578 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004061C 0003D57C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80040620 0003D580 7C 08 03 A6 */ mtlr r0 +/* 80040624 0003D584 38 21 00 10 */ addi r1, r1, 0x10 +/* 80040628 0003D588 4E 80 00 20 */ blr + +.global ResetNormal__10CPlayerGunFR13CStateManager +ResetNormal__10CPlayerGunFR13CStateManager: +/* 8004062C 0003D58C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80040630 0003D590 7C 08 02 A6 */ mflr r0 +/* 80040634 0003D594 38 A0 00 00 */ li r5, 0 +/* 80040638 0003D598 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004063C 0003D59C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80040640 0003D5A0 7C 7F 1B 78 */ mr r31, r3 +/* 80040644 0003D5A4 4B FF EC FD */ bl Reset__10CPlayerGunFR13CStateManager +/* 80040648 0003D5A8 88 1F 08 32 */ lbz r0, 0x832(r31) +/* 8004064C 0003D5AC 38 60 00 00 */ li r3, 0 +/* 80040650 0003D5B0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80040654 0003D5B4 98 1F 08 32 */ stb r0, 0x832(r31) +/* 80040658 0003D5B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004065C 0003D5BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80040660 0003D5C0 7C 08 03 A6 */ mtlr r0 +/* 80040664 0003D5C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80040668 0003D5C8 4E 80 00 20 */ blr + +.global ProcessChargeState__10CPlayerGunFiiR13CStateManagerf +ProcessChargeState__10CPlayerGunFiiR13CStateManagerf: +/* 8004066C 0003D5CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80040670 0003D5D0 7C 08 02 A6 */ mflr r0 +/* 80040674 0003D5D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80040678 0003D5D8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8004067C 0003D5DC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80040680 0003D5E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80040684 0003D5E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80040688 0003D5E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8004068C 0003D5EC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80040690 0003D5F0 54 80 07 FF */ clrlwi. r0, r4, 0x1f +/* 80040694 0003D5F4 FF E0 08 90 */ fmr f31, f1 +/* 80040698 0003D5F8 7C 7C 1B 78 */ mr r28, r3 +/* 8004069C 0003D5FC 7C BD 2B 78 */ mr r29, r5 +/* 800406A0 0003D600 7C DE 33 78 */ mr r30, r6 +/* 800406A4 0003D604 41 82 00 10 */ beq lbl_800406B4 +/* 800406A8 0003D608 7F C4 F3 78 */ mr r4, r30 +/* 800406AC 0003D60C 4B FF FE C5 */ bl ResetCharged__10CPlayerGunFfR13CStateManager +/* 800406B0 0003D610 48 00 00 D0 */ b lbl_80040780 +lbl_800406B4: +/* 800406B4 0003D614 57 A4 07 FF */ clrlwi. r4, r29, 0x1f +/* 800406B8 0003D618 41 82 00 4C */ beq lbl_80040704 +/* 800406BC 0003D61C 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 800406C0 0003D620 2C 00 00 00 */ cmpwi r0, 0 +/* 800406C4 0003D624 40 82 00 BC */ bne lbl_80040780 +/* 800406C8 0003D628 2C 04 00 00 */ cmpwi r4, 0 +/* 800406CC 0003D62C 41 82 00 B4 */ beq lbl_80040780 +/* 800406D0 0003D630 C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) +/* 800406D4 0003D634 C0 1C 03 48 */ lfs f0, 0x348(r28) +/* 800406D8 0003D638 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 800406DC 0003D63C 40 82 00 A4 */ bne lbl_80040780 +/* 800406E0 0003D640 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 800406E4 0003D644 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 800406E8 0003D648 28 00 00 01 */ cmplwi r0, 1 +/* 800406EC 0003D64C 40 82 00 94 */ bne lbl_80040780 +/* 800406F0 0003D650 7F C4 F3 78 */ mr r4, r30 +/* 800406F4 0003D654 4B FF FB 39 */ bl UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager +/* 800406F8 0003D658 38 00 00 01 */ li r0, 1 +/* 800406FC 0003D65C 90 1C 03 2C */ stw r0, 0x32c(r28) +/* 80040700 0003D660 48 00 00 80 */ b lbl_80040780 +lbl_80040704: +/* 80040704 0003D664 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80040708 0003D668 38 80 00 04 */ li r4, 4 +/* 8004070C 0003D66C 83 E3 00 00 */ lwz r31, 0(r3) +/* 80040710 0003D670 7F E3 FB 78 */ mr r3, r31 +/* 80040714 0003D674 48 05 13 AD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80040718 0003D678 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004071C 0003D67C 41 82 00 64 */ beq lbl_80040780 +/* 80040720 0003D680 57 A0 07 BD */ rlwinm. r0, r29, 0, 0x1e, 0x1e +/* 80040724 0003D684 41 82 00 5C */ beq lbl_80040780 +/* 80040728 0003D688 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 8004072C 0003D68C 2C 00 00 04 */ cmpwi r0, 4 +/* 80040730 0003D690 41 80 00 38 */ blt lbl_80040768 +/* 80040734 0003D694 80 1C 03 10 */ lwz r0, 0x310(r28) +/* 80040738 0003D698 3C 60 80 3D */ lis r3, lbl_803CCE64@ha +/* 8004073C 0003D69C 38 83 CE 64 */ addi r4, r3, lbl_803CCE64@l +/* 80040740 0003D6A0 7F E3 FB 78 */ mr r3, r31 +/* 80040744 0003D6A4 54 00 10 3A */ slwi r0, r0, 2 +/* 80040748 0003D6A8 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8004074C 0003D6AC 48 05 13 75 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80040750 0003D6B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80040754 0003D6B4 41 82 00 2C */ beq lbl_80040780 +/* 80040758 0003D6B8 7F 83 E3 78 */ mr r3, r28 +/* 8004075C 0003D6BC 7F C4 F3 78 */ mr r4, r30 +/* 80040760 0003D6C0 4B FF F2 6D */ bl ActivateCombo__10CPlayerGunFR13CStateManager +/* 80040764 0003D6C4 48 00 00 1C */ b lbl_80040780 +lbl_80040768: +/* 80040768 0003D6C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8004076C 0003D6CC 40 82 00 14 */ bne lbl_80040780 +/* 80040770 0003D6D0 FC 20 F8 90 */ fmr f1, f31 +/* 80040774 0003D6D4 7F 83 E3 78 */ mr r3, r28 +/* 80040778 0003D6D8 7F C4 F3 78 */ mr r4, r30 +/* 8004077C 0003D6DC 4B FF F7 11 */ bl FireSecondary__10CPlayerGunFfR13CStateManager +lbl_80040780: +/* 80040780 0003D6E0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80040784 0003D6E4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80040788 0003D6E8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8004078C 0003D6EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80040790 0003D6F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80040794 0003D6F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80040798 0003D6F8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8004079C 0003D6FC 7C 08 03 A6 */ mtlr r0 +/* 800407A0 0003D700 38 21 00 30 */ addi r1, r1, 0x30 +/* 800407A4 0003D704 4E 80 00 20 */ blr + +.global ProcessInput__10CPlayerGunFRC11CFinalInputR13CStateManager +ProcessInput__10CPlayerGunFRC11CFinalInputR13CStateManager: +/* 800407A8 0003D708 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800407AC 0003D70C 7C 08 02 A6 */ mflr r0 +/* 800407B0 0003D710 90 01 00 24 */ stw r0, 0x24(r1) +/* 800407B4 0003D714 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 800407B8 0003D718 7C 9E 23 78 */ mr r30, r4 +/* 800407BC 0003D71C 7C 7D 1B 78 */ mr r29, r3 +/* 800407C0 0003D720 7C BF 2B 78 */ mr r31, r5 +/* 800407C4 0003D724 38 80 00 00 */ li r4, 0 +/* 800407C8 0003D728 88 03 08 34 */ lbz r0, 0x834(r3) +/* 800407CC 0003D72C 80 65 08 B8 */ lwz r3, 0x8b8(r5) +/* 800407D0 0003D730 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800407D4 0003D734 83 85 08 4C */ lwz r28, 0x84c(r5) +/* 800407D8 0003D738 83 63 00 00 */ lwz r27, 0(r3) +/* 800407DC 0003D73C 41 82 00 14 */ beq lbl_800407F0 +/* 800407E0 0003D740 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 800407E4 0003D744 2C 00 00 01 */ cmpwi r0, 1 +/* 800407E8 0003D748 41 82 00 08 */ beq lbl_800407F0 +/* 800407EC 0003D74C 38 80 00 01 */ li r4, 1 +lbl_800407F0: +/* 800407F0 0003D750 88 1D 08 32 */ lbz r0, 0x832(r29) +/* 800407F4 0003D754 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800407F8 0003D758 40 82 01 28 */ bne lbl_80040920 +/* 800407FC 0003D75C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80040800 0003D760 40 82 01 20 */ bne lbl_80040920 +/* 80040804 0003D764 80 1D 02 F8 */ lwz r0, 0x2f8(r29) +/* 80040808 0003D768 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 8004080C 0003D76C 2C 00 00 08 */ cmpwi r0, 8 +/* 80040810 0003D770 40 82 00 08 */ bne lbl_80040818 +/* 80040814 0003D774 48 00 01 0C */ b lbl_80040920 +lbl_80040818: +/* 80040818 0003D778 7F 63 DB 78 */ mr r3, r27 +/* 8004081C 0003D77C 38 80 00 0A */ li r4, 0xa +/* 80040820 0003D780 48 05 12 A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80040824 0003D784 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80040828 0003D788 41 82 00 28 */ beq lbl_80040850 +/* 8004082C 0003D78C 7F 63 DB 78 */ mr r3, r27 +/* 80040830 0003D790 38 80 00 0A */ li r4, 0xa +/* 80040834 0003D794 48 05 11 59 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80040838 0003D798 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004083C 0003D79C 40 82 00 44 */ bne lbl_80040880 +/* 80040840 0003D7A0 7F 63 DB 78 */ mr r3, r27 +/* 80040844 0003D7A4 38 80 00 0A */ li r4, 0xa +/* 80040848 0003D7A8 48 05 11 FD */ bl EnableItem__12CPlayerStateFQ212CPlayerState9EItemType +/* 8004084C 0003D7AC 48 00 00 34 */ b lbl_80040880 +lbl_80040850: +/* 80040850 0003D7B0 7F 63 DB 78 */ mr r3, r27 +/* 80040854 0003D7B4 38 80 00 0A */ li r4, 0xa +/* 80040858 0003D7B8 48 05 11 35 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8004085C 0003D7BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80040860 0003D7C0 41 82 00 20 */ beq lbl_80040880 +/* 80040864 0003D7C4 7F 63 DB 78 */ mr r3, r27 +/* 80040868 0003D7C8 38 80 00 0A */ li r4, 0xa +/* 8004086C 0003D7CC 48 05 11 85 */ bl DisableItem__12CPlayerStateFQ212CPlayerState9EItemType +/* 80040870 0003D7D0 7F A3 EB 78 */ mr r3, r29 +/* 80040874 0003D7D4 7F E4 FB 78 */ mr r4, r31 +/* 80040878 0003D7D8 38 A0 00 00 */ li r5, 0 +/* 8004087C 0003D7DC 4B FF E9 61 */ bl ResetCharge__10CPlayerGunFR13CStateManagerb +lbl_80040880: +/* 80040880 0003D7E0 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80040884 0003D7E4 2C 00 00 01 */ cmpwi r0, 1 +/* 80040888 0003D7E8 41 82 00 48 */ beq lbl_800408D0 +/* 8004088C 0003D7EC 40 80 00 10 */ bge lbl_8004089C +/* 80040890 0003D7F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80040894 0003D7F4 40 80 00 1C */ bge lbl_800408B0 +/* 80040898 0003D7F8 48 00 00 88 */ b lbl_80040920 +lbl_8004089C: +/* 8004089C 0003D7FC 2C 00 00 04 */ cmpwi r0, 4 +/* 800408A0 0003D800 40 80 00 80 */ bge lbl_80040920 +/* 800408A4 0003D804 38 00 00 00 */ li r0, 0 +/* 800408A8 0003D808 90 1D 02 F4 */ stw r0, 0x2f4(r29) +/* 800408AC 0003D80C 48 00 00 74 */ b lbl_80040920 +lbl_800408B0: +/* 800408B0 0003D810 80 1D 02 F8 */ lwz r0, 0x2f8(r29) +/* 800408B4 0003D814 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 800408B8 0003D818 2C 00 00 10 */ cmpwi r0, 0x10 +/* 800408BC 0003D81C 41 82 00 14 */ beq lbl_800408D0 +/* 800408C0 0003D820 7F A3 EB 78 */ mr r3, r29 +/* 800408C4 0003D824 7F C4 F3 78 */ mr r4, r30 +/* 800408C8 0003D828 7F E5 FB 78 */ mr r5, r31 +/* 800408CC 0003D82C 4B FF E4 C9 */ bl HandleWeaponChange__10CPlayerGunFRC11CFinalInputR13CStateManager +lbl_800408D0: +/* 800408D0 0003D830 7F C4 F3 78 */ mr r4, r30 +/* 800408D4 0003D834 38 60 00 0B */ li r3, 0xb +/* 800408D8 0003D838 4B FC BF 9D */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800408DC 0003D83C 54 65 06 3E */ clrlwi r5, r3, 0x18 +/* 800408E0 0003D840 7F C4 F3 78 */ mr r4, r30 +/* 800408E4 0003D844 7C 05 00 D0 */ neg r0, r5 +/* 800408E8 0003D848 38 60 00 0C */ li r3, 0xc +/* 800408EC 0003D84C 7C 00 2B 78 */ or r0, r0, r5 +/* 800408F0 0003D850 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800408F4 0003D854 90 1D 02 F4 */ stw r0, 0x2f4(r29) +/* 800408F8 0003D858 4B FC BF 7D */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800408FC 0003D85C 54 65 06 3E */ clrlwi r5, r3, 0x18 +/* 80040900 0003D860 80 1D 02 F4 */ lwz r0, 0x2f4(r29) +/* 80040904 0003D864 7C 85 00 D0 */ neg r4, r5 +/* 80040908 0003D868 38 60 00 02 */ li r3, 2 +/* 8004090C 0003D86C 7C 84 2B 78 */ or r4, r4, r5 +/* 80040910 0003D870 7C 84 FE 70 */ srawi r4, r4, 0x1f +/* 80040914 0003D874 7C 63 20 38 */ and r3, r3, r4 +/* 80040918 0003D878 7C 00 1B 78 */ or r0, r0, r3 +/* 8004091C 0003D87C 90 1D 02 F4 */ stw r0, 0x2f4(r29) +lbl_80040920: +/* 80040920 0003D880 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80040924 0003D884 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80040928 0003D888 7C 08 03 A6 */ mtlr r0 +/* 8004092C 0003D88C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80040930 0003D890 4E 80 00 20 */ blr + +.global Update__10CPlayerGunFfffR13CStateManager +Update__10CPlayerGunFfffR13CStateManager: +/* 80040934 0003D894 94 21 F3 C0 */ stwu r1, -0xc40(r1) +/* 80040938 0003D898 7C 08 02 A6 */ mflr r0 +/* 8004093C 0003D89C 90 01 0C 44 */ stw r0, 0xc44(r1) +/* 80040940 0003D8A0 DB E1 0C 30 */ stfd f31, 0xc30(r1) +/* 80040944 0003D8A4 F3 E1 0C 38 */ psq_st f31, -968(r1), 0, qr0 +/* 80040948 0003D8A8 DB C1 0C 20 */ stfd f30, 0xc20(r1) +/* 8004094C 0003D8AC F3 C1 0C 28 */ psq_st f30, -984(r1), 0, qr0 +/* 80040950 0003D8B0 DB A1 0C 10 */ stfd f29, 0xc10(r1) +/* 80040954 0003D8B4 F3 A1 0C 18 */ psq_st f29, -1000(r1), 0, qr0 +/* 80040958 0003D8B8 DB 81 0C 00 */ stfd f28, 0xc00(r1) +/* 8004095C 0003D8BC F3 81 0C 08 */ psq_st f28, -1016(r1), 0, qr0 +/* 80040960 0003D8C0 DB 61 0B F0 */ stfd f27, 0xbf0(r1) +/* 80040964 0003D8C4 F3 61 0B F8 */ psq_st f27, -1032(r1), 0, qr0 +/* 80040968 0003D8C8 BE E1 0B CC */ stmw r23, 0xbcc(r1) +/* 8004096C 0003D8CC 83 64 08 4C */ lwz r27, 0x84c(r4) +/* 80040970 0003D8D0 7C 9D 23 78 */ mr r29, r4 +/* 80040974 0003D8D4 80 84 08 B8 */ lwz r4, 0x8b8(r4) +/* 80040978 0003D8D8 7C 7C 1B 78 */ mr r28, r3 +/* 8004097C 0003D8DC 80 1B 02 F8 */ lwz r0, 0x2f8(r27) +/* 80040980 0003D8E0 FF C0 08 90 */ fmr f30, f1 +/* 80040984 0003D8E4 83 03 06 98 */ lwz r24, 0x698(r3) +/* 80040988 0003D8E8 FF 60 10 90 */ fmr f27, f2 +/* 8004098C 0003D8EC 7C 03 00 34 */ cntlzw r3, r0 +/* 80040990 0003D8F0 FF A0 18 90 */ fmr f29, f3 +/* 80040994 0003D8F4 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 80040998 0003D8F8 83 E4 00 00 */ lwz r31, 0(r4) +/* 8004099C 0003D8FC 54 7E D9 7E */ srwi r30, r3, 5 +/* 800409A0 0003D900 41 82 00 34 */ beq lbl_800409D4 +/* 800409A4 0003D904 7F 63 DB 78 */ mr r3, r27 +/* 800409A8 0003D908 4B FD 53 55 */ bl GetFrozenState__7CPlayerCFv +/* 800409AC 0003D90C 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 800409B0 0003D910 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 800409B4 0003D914 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f +/* 800409B8 0003D918 7C 00 1A 78 */ xor r0, r0, r3 +/* 800409BC 0003D91C 7C 60 00 38 */ and r0, r3, r0 +/* 800409C0 0003D920 7C 00 00 34 */ cntlzw r0, r0 +/* 800409C4 0003D924 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 800409C8 0003D928 7C 00 00 34 */ cntlzw r0, r0 +/* 800409CC 0003D92C 54 1A D9 7E */ srwi r26, r0, 5 +/* 800409D0 0003D930 48 00 00 08 */ b lbl_800409D8 +lbl_800409D4: +/* 800409D4 0003D934 3B 40 00 00 */ li r26, 0 +lbl_800409D8: +/* 800409D8 0003D938 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800409DC 0003D93C 41 82 00 34 */ beq lbl_80040A10 +/* 800409E0 0003D940 7F 63 DB 78 */ mr r3, r27 +/* 800409E4 0003D944 4B FD 53 19 */ bl GetFrozenState__7CPlayerCFv +/* 800409E8 0003D948 88 9C 08 34 */ lbz r4, 0x834(r28) +/* 800409EC 0003D94C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 800409F0 0003D950 54 83 F7 FE */ rlwinm r3, r4, 0x1e, 0x1f, 0x1f +/* 800409F4 0003D954 7C 60 02 78 */ xor r0, r3, r0 +/* 800409F8 0003D958 7C 60 00 38 */ and r0, r3, r0 +/* 800409FC 0003D95C 7C 00 00 34 */ cntlzw r0, r0 +/* 80040A00 0003D960 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 80040A04 0003D964 7C 00 00 34 */ cntlzw r0, r0 +/* 80040A08 0003D968 54 19 D9 7E */ srwi r25, r0, 5 +/* 80040A0C 0003D96C 48 00 00 08 */ b lbl_80040A14 +lbl_80040A10: +/* 80040A10 0003D970 3B 20 00 00 */ li r25, 0 +lbl_80040A14: +/* 80040A14 0003D974 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80040A18 0003D978 41 82 00 10 */ beq lbl_80040A28 +/* 80040A1C 0003D97C 7F 63 DB 78 */ mr r3, r27 +/* 80040A20 0003D980 4B FD 52 DD */ bl GetFrozenState__7CPlayerCFv +/* 80040A24 0003D984 48 00 00 08 */ b lbl_80040A2C +lbl_80040A28: +/* 80040A28 0003D988 38 60 00 00 */ li r3, 0 +lbl_80040A2C: +/* 80040A2C 0003D98C 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 80040A30 0003D990 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80040A34 0003D994 98 1C 08 34 */ stb r0, 0x834(r28) +/* 80040A38 0003D998 88 1C 08 34 */ lbz r0, 0x834(r28) +/* 80040A3C 0003D99C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80040A40 0003D9A0 41 82 00 0C */ beq lbl_80040A4C +/* 80040A44 0003D9A4 C3 82 84 6C */ lfs f28, lbl_805AA18C@sda21(r2) +/* 80040A48 0003D9A8 48 00 00 08 */ b lbl_80040A50 +lbl_80040A4C: +/* 80040A4C 0003D9AC FF 80 E8 90 */ fmr f28, f29 +lbl_80040A50: +/* 80040A50 0003D9B0 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 80040A54 0003D9B4 20 98 00 01 */ subfic r4, r24, 1 +/* 80040A58 0003D9B8 38 18 FF FF */ addi r0, r24, -1 +/* 80040A5C 0003D9BC 80 63 00 00 */ lwz r3, 0(r3) +/* 80040A60 0003D9C0 7C 80 03 78 */ or r0, r4, r0 +/* 80040A64 0003D9C4 54 17 0F FE */ srwi r23, r0, 0x1f +/* 80040A68 0003D9C8 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80040A6C 0003D9CC 2C 00 00 01 */ cmpwi r0, 1 +/* 80040A70 0003D9D0 41 82 00 0C */ beq lbl_80040A7C +/* 80040A74 0003D9D4 28 17 00 00 */ cmplwi r23, 0 +/* 80040A78 0003D9D8 41 82 00 28 */ beq lbl_80040AA0 +lbl_80040A7C: +/* 80040A7C 0003D9DC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80040A80 0003D9E0 FC 20 E0 90 */ fmr f1, f28 +/* 80040A84 0003D9E4 7F A5 EB 78 */ mr r5, r29 +/* 80040A88 0003D9E8 38 61 01 00 */ addi r3, r1, 0x100 +/* 80040A8C 0003D9EC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80040A90 0003D9F0 38 9C 06 E0 */ addi r4, r28, 0x6e0 +/* 80040A94 0003D9F4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80040A98 0003D9F8 38 E0 00 01 */ li r7, 1 +/* 80040A9C 0003D9FC 48 0D 50 99 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb +lbl_80040AA0: +/* 80040AA0 0003DA00 28 17 00 00 */ cmplwi r23, 0 +/* 80040AA4 0003DA04 41 82 00 40 */ beq lbl_80040AE4 +/* 80040AA8 0003DA08 80 7C 07 34 */ lwz r3, 0x734(r28) +/* 80040AAC 0003DA0C 28 03 00 00 */ cmplwi r3, 0 +/* 80040AB0 0003DA10 41 82 00 34 */ beq lbl_80040AE4 +/* 80040AB4 0003DA14 80 1C 07 2C */ lwz r0, 0x72c(r28) +/* 80040AB8 0003DA18 7C 03 00 40 */ cmplw r3, r0 +/* 80040ABC 0003DA1C 41 82 00 28 */ beq lbl_80040AE4 +/* 80040AC0 0003DA20 80 7C 07 44 */ lwz r3, 0x744(r28) +/* 80040AC4 0003DA24 48 17 7D E1 */ bl LoadIdle__10CAuxWeaponFv +/* 80040AC8 0003DA28 80 7C 07 34 */ lwz r3, 0x734(r28) +/* 80040ACC 0003DA2C FC 20 E0 90 */ fmr f1, f28 +/* 80040AD0 0003DA30 7F A4 EB 78 */ mr r4, r29 +/* 80040AD4 0003DA34 81 83 00 00 */ lwz r12, 0(r3) +/* 80040AD8 0003DA38 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80040ADC 0003DA3C 7D 89 03 A6 */ mtctr r12 +/* 80040AE0 0003DA40 4E 80 04 21 */ bctrl +lbl_80040AE4: +/* 80040AE4 0003DA44 80 7C 07 44 */ lwz r3, 0x744(r28) +/* 80040AE8 0003DA48 88 03 00 80 */ lbz r0, 0x80(r3) +/* 80040AEC 0003DA4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80040AF0 0003DA50 40 82 00 08 */ bne lbl_80040AF8 +/* 80040AF4 0003DA54 48 17 7D B1 */ bl LoadIdle__10CAuxWeaponFv +lbl_80040AF8: +/* 80040AF8 0003DA58 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80040AFC 0003DA5C 41 82 00 2C */ beq lbl_80040B28 +/* 80040B00 0003DA60 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040B04 0003DA64 38 80 00 00 */ li r4, 0 +/* 80040B08 0003DA68 81 83 00 00 */ lwz r12, 0(r3) +/* 80040B0C 0003DA6C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80040B10 0003DA70 7D 89 03 A6 */ mtctr r12 +/* 80040B14 0003DA74 4E 80 04 21 */ bctrl +/* 80040B18 0003DA78 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040B1C 0003DA7C 38 80 00 01 */ li r4, 1 +/* 80040B20 0003DA80 48 17 97 A9 */ bl EnableFrozenEffect__10CGunWeaponF13EFrozenFxType +/* 80040B24 0003DA84 48 00 00 18 */ b lbl_80040B3C +lbl_80040B28: +/* 80040B28 0003DA88 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80040B2C 0003DA8C 41 82 00 10 */ beq lbl_80040B3C +/* 80040B30 0003DA90 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040B34 0003DA94 38 80 00 02 */ li r4, 2 +/* 80040B38 0003DA98 48 17 97 91 */ bl EnableFrozenEffect__10CGunWeaponF13EFrozenFxType +lbl_80040B3C: +/* 80040B3C 0003DA9C 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80040B40 0003DAA0 40 82 00 0C */ bne lbl_80040B4C +/* 80040B44 0003DAA4 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80040B48 0003DAA8 41 82 00 1C */ beq lbl_80040B64 +lbl_80040B4C: +/* 80040B4C 0003DAAC 38 00 00 00 */ li r0, 0 +/* 80040B50 0003DAB0 7F 83 E3 78 */ mr r3, r28 +/* 80040B54 0003DAB4 90 1C 02 F4 */ stw r0, 0x2f4(r28) +/* 80040B58 0003DAB8 7F A4 EB 78 */ mr r4, r29 +/* 80040B5C 0003DABC 90 1C 02 EC */ stw r0, 0x2ec(r28) +/* 80040B60 0003DAC0 4B FF BE F9 */ bl CancelFiring__10CPlayerGunFR13CStateManager +lbl_80040B64: +/* 80040B64 0003DAC4 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040B68 0003DAC8 FC 20 E0 90 */ fmr f1, f28 +/* 80040B6C 0003DACC 7F A4 EB 78 */ mr r4, r29 +/* 80040B70 0003DAD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80040B74 0003DAD4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80040B78 0003DAD8 7D 89 03 A6 */ mtctr r12 +/* 80040B7C 0003DADC 4E 80 04 21 */ bctrl +/* 80040B80 0003DAE0 C0 1C 03 70 */ lfs f0, 0x370(r28) +/* 80040B84 0003DAE4 7F A4 EB 78 */ mr r4, r29 +/* 80040B88 0003DAE8 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 80040B8C 0003DAEC EC 3C 00 32 */ fmuls f1, f28, f0 +/* 80040B90 0003DAF0 48 19 85 9D */ bl Update__10CGunMotionFfR13CStateManager +/* 80040B94 0003DAF4 FC 20 F0 90 */ fmr f1, f30 +/* 80040B98 0003DAF8 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 80040B9C 0003DAFC FC 40 E0 90 */ fmr f2, f28 +/* 80040BA0 0003DB00 7F A4 EB 78 */ mr r4, r29 +/* 80040BA4 0003DB04 48 0D E3 05 */ bl Update__11CGrappleArmFffR13CStateManager +/* 80040BA8 0003DB08 80 1C 03 38 */ lwz r0, 0x338(r28) +/* 80040BAC 0003DB0C 2C 00 00 00 */ cmpwi r0, 0 +/* 80040BB0 0003DB10 41 82 02 70 */ beq lbl_80040E20 +/* 80040BB4 0003DB14 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040BB8 0003DB18 2C 18 00 00 */ cmpwi r24, 0 +/* 80040BBC 0003DB1C 83 03 00 20 */ lwz r24, 0x20(r3) +/* 80040BC0 0003DB20 40 82 00 28 */ bne lbl_80040BE8 +/* 80040BC4 0003DB24 2C 00 00 05 */ cmpwi r0, 5 +/* 80040BC8 0003DB28 40 82 02 58 */ bne lbl_80040E20 +/* 80040BCC 0003DB2C 7F 83 E3 78 */ mr r3, r28 +/* 80040BD0 0003DB30 7F E4 FB 78 */ mr r4, r31 +/* 80040BD4 0003DB34 7F A5 EB 78 */ mr r5, r29 +/* 80040BD8 0003DB38 4B FF E3 C1 */ bl ChangeWeapon__10CPlayerGunFRC12CPlayerStateR13CStateManager +/* 80040BDC 0003DB3C 38 00 00 00 */ li r0, 0 +/* 80040BE0 0003DB40 90 1C 03 38 */ stw r0, 0x338(r28) +/* 80040BE4 0003DB44 48 00 02 3C */ b lbl_80040E20 +lbl_80040BE8: +/* 80040BE8 0003DB48 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha +/* 80040BEC 0003DB4C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80040BF0 0003DB50 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l +/* 80040BF4 0003DB54 38 84 00 1E */ addi r4, r4, 0x1e +/* 80040BF8 0003DB58 4B FC 40 C1 */ bl string_l__4rstlFPCc +/* 80040BFC 0003DB5C C0 22 84 E4 */ lfs f1, lbl_805AA204@sda21(r2) +/* 80040C00 0003DB60 7F 03 C3 78 */ mr r3, r24 +/* 80040C04 0003DB64 38 81 00 80 */ addi r4, r1, 0x80 +/* 80040C08 0003DB68 4B FE B7 E5 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80040C0C 0003DB6C 7C 78 1B 78 */ mr r24, r3 +/* 80040C10 0003DB70 38 61 00 80 */ addi r3, r1, 0x80 +/* 80040C14 0003DB74 48 2F CE CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80040C18 0003DB78 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80040C1C 0003DB7C 41 82 00 10 */ beq lbl_80040C2C +/* 80040C20 0003DB80 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 80040C24 0003DB84 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80040C28 0003DB88 41 82 01 F8 */ beq lbl_80040E20 +lbl_80040C2C: +/* 80040C2C 0003DB8C 80 1C 03 38 */ lwz r0, 0x338(r28) +/* 80040C30 0003DB90 3B 00 00 01 */ li r24, 1 +/* 80040C34 0003DB94 28 00 00 09 */ cmplwi r0, 9 +/* 80040C38 0003DB98 41 81 01 D8 */ bgt lbl_80040E10 +/* 80040C3C 0003DB9C 3C 60 80 3E */ lis r3, lbl_803D9E04@ha +/* 80040C40 0003DBA0 54 00 10 3A */ slwi r0, r0, 2 +/* 80040C44 0003DBA4 38 63 9E 04 */ addi r3, r3, lbl_803D9E04@l +/* 80040C48 0003DBA8 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80040C4C 0003DBAC 7C 09 03 A6 */ mtctr r0 +/* 80040C50 0003DBB0 4E 80 04 20 */ bctr +/* 80040C54 0003DBB4 80 7C 02 F8 */ lwz r3, 0x2f8(r28) +/* 80040C58 0003DBB8 38 00 00 01 */ li r0, 1 +/* 80040C5C 0003DBBC 54 63 00 3C */ rlwinm r3, r3, 0, 0, 0x1e +/* 80040C60 0003DBC0 90 7C 02 F8 */ stw r3, 0x2f8(r28) +/* 80040C64 0003DBC4 80 7C 02 F8 */ lwz r3, 0x2f8(r28) +/* 80040C68 0003DBC8 60 63 00 06 */ ori r3, r3, 6 +/* 80040C6C 0003DBCC 90 7C 02 F8 */ stw r3, 0x2f8(r28) +/* 80040C70 0003DBD0 90 1C 03 18 */ stw r0, 0x318(r28) +/* 80040C74 0003DBD4 90 1C 03 1C */ stw r0, 0x31c(r28) +/* 80040C78 0003DBD8 48 00 01 98 */ b lbl_80040E10 +/* 80040C7C 0003DBDC 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80040C80 0003DBE0 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 80040C84 0003DBE4 2C 00 00 08 */ cmpwi r0, 8 +/* 80040C88 0003DBE8 41 82 00 20 */ beq lbl_80040CA8 +/* 80040C8C 0003DBEC 80 7C 02 F8 */ lwz r3, 0x2f8(r28) +/* 80040C90 0003DBF0 38 00 FF E9 */ li r0, -23 +/* 80040C94 0003DBF4 60 63 00 01 */ ori r3, r3, 1 +/* 80040C98 0003DBF8 90 7C 02 F8 */ stw r3, 0x2f8(r28) +/* 80040C9C 0003DBFC 80 7C 02 F8 */ lwz r3, 0x2f8(r28) +/* 80040CA0 0003DC00 7C 60 00 38 */ and r0, r3, r0 +/* 80040CA4 0003DC04 90 1C 02 F8 */ stw r0, 0x2f8(r28) +lbl_80040CA8: +/* 80040CA8 0003DC08 38 00 00 00 */ li r0, 0 +/* 80040CAC 0003DC0C 90 1C 03 18 */ stw r0, 0x318(r28) +/* 80040CB0 0003DC10 90 1C 03 1C */ stw r0, 0x31c(r28) +/* 80040CB4 0003DC14 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040CB8 0003DC18 48 17 BF DD */ bl GetWeaponInfo__10CGunWeaponCFv +/* 80040CBC 0003DC1C C0 03 00 00 */ lfs f0, 0(r3) +/* 80040CC0 0003DC20 D0 1C 03 90 */ stfs f0, 0x390(r28) +/* 80040CC4 0003DC24 48 00 01 4C */ b lbl_80040E10 +/* 80040CC8 0003DC28 7F 83 E3 78 */ mr r3, r28 +/* 80040CCC 0003DC2C 38 80 00 08 */ li r4, 8 +/* 80040CD0 0003DC30 38 A0 00 00 */ li r5, 0 +/* 80040CD4 0003DC34 48 00 0B F1 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +/* 80040CD8 0003DC38 38 00 00 03 */ li r0, 3 +/* 80040CDC 0003DC3C 3B 00 00 00 */ li r24, 0 +/* 80040CE0 0003DC40 90 1C 03 38 */ stw r0, 0x338(r28) +/* 80040CE4 0003DC44 48 00 01 2C */ b lbl_80040E10 +/* 80040CE8 0003DC48 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80040CEC 0003DC4C 60 00 00 04 */ ori r0, r0, 4 +/* 80040CF0 0003DC50 90 1C 02 F8 */ stw r0, 0x2f8(r28) +/* 80040CF4 0003DC54 48 00 01 1C */ b lbl_80040E10 +/* 80040CF8 0003DC58 7F 83 E3 78 */ mr r3, r28 +/* 80040CFC 0003DC5C 7F E4 FB 78 */ mr r4, r31 +/* 80040D00 0003DC60 7F A5 EB 78 */ mr r5, r29 +/* 80040D04 0003DC64 4B FF E2 95 */ bl ChangeWeapon__10CPlayerGunFRC12CPlayerStateR13CStateManager +/* 80040D08 0003DC68 48 00 01 08 */ b lbl_80040E10 +/* 80040D0C 0003DC6C 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040D10 0003DC70 48 17 BF 85 */ bl GetWeaponInfo__10CGunWeaponCFv +/* 80040D14 0003DC74 C0 03 00 00 */ lfs f0, 0(r3) +/* 80040D18 0003DC78 D0 1C 03 90 */ stfs f0, 0x390(r28) +/* 80040D1C 0003DC7C 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80040D20 0003DC80 54 00 07 76 */ rlwinm r0, r0, 0, 0x1d, 0x1b +/* 80040D24 0003DC84 90 1C 02 F8 */ stw r0, 0x2f8(r28) +/* 80040D28 0003DC88 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80040D2C 0003DC8C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 80040D30 0003DC90 2C 00 00 08 */ cmpwi r0, 8 +/* 80040D34 0003DC94 41 82 00 20 */ beq lbl_80040D54 +/* 80040D38 0003DC98 80 7C 02 F8 */ lwz r3, 0x2f8(r28) +/* 80040D3C 0003DC9C 38 00 FF E9 */ li r0, -23 +/* 80040D40 0003DCA0 60 63 00 01 */ ori r3, r3, 1 +/* 80040D44 0003DCA4 90 7C 02 F8 */ stw r3, 0x2f8(r28) +/* 80040D48 0003DCA8 80 7C 02 F8 */ lwz r3, 0x2f8(r28) +/* 80040D4C 0003DCAC 7C 60 00 38 */ and r0, r3, r0 +/* 80040D50 0003DCB0 90 1C 02 F8 */ stw r0, 0x2f8(r28) +lbl_80040D54: +/* 80040D54 0003DCB4 38 00 00 00 */ li r0, 0 +/* 80040D58 0003DCB8 90 1C 03 18 */ stw r0, 0x318(r28) +/* 80040D5C 0003DCBC 90 1C 03 1C */ stw r0, 0x31c(r28) +/* 80040D60 0003DCC0 48 00 00 B0 */ b lbl_80040E10 +/* 80040D64 0003DCC4 80 7C 07 5C */ lwz r3, 0x75c(r28) +/* 80040D68 0003DCC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80040D6C 0003DCCC 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80040D70 0003DCD0 7D 89 03 A6 */ mtctr r12 +/* 80040D74 0003DCD4 4E 80 04 21 */ bctrl +/* 80040D78 0003DCD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80040D7C 0003DCDC 40 82 00 94 */ bne lbl_80040E10 +/* 80040D80 0003DCE0 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040D84 0003DCE4 38 C0 00 01 */ li r6, 1 +/* 80040D88 0003DCE8 7F A4 EB 78 */ mr r4, r29 +/* 80040D8C 0003DCEC 38 A0 00 00 */ li r5, 0 +/* 80040D90 0003DCF0 88 03 02 18 */ lbz r0, 0x218(r3) +/* 80040D94 0003DCF4 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80040D98 0003DCF8 98 03 02 18 */ stb r0, 0x218(r3) +/* 80040D9C 0003DCFC 80 7C 07 5C */ lwz r3, 0x75c(r28) +/* 80040DA0 0003DD00 81 83 00 00 */ lwz r12, 0(r3) +/* 80040DA4 0003DD04 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80040DA8 0003DD08 7D 89 03 A6 */ mtctr r12 +/* 80040DAC 0003DD0C 4E 80 04 21 */ bctrl +/* 80040DB0 0003DD10 38 00 00 01 */ li r0, 1 +/* 80040DB4 0003DD14 90 1C 03 3C */ stw r0, 0x33c(r28) +/* 80040DB8 0003DD18 48 00 00 58 */ b lbl_80040E10 +/* 80040DBC 0003DD1C 80 7C 07 38 */ lwz r3, 0x738(r28) +/* 80040DC0 0003DD20 81 83 00 00 */ lwz r12, 0(r3) +/* 80040DC4 0003DD24 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80040DC8 0003DD28 7D 89 03 A6 */ mtctr r12 +/* 80040DCC 0003DD2C 4E 80 04 21 */ bctrl +/* 80040DD0 0003DD30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80040DD4 0003DD34 40 82 00 3C */ bne lbl_80040E10 +/* 80040DD8 0003DD38 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040DDC 0003DD3C 38 C0 00 01 */ li r6, 1 +/* 80040DE0 0003DD40 7F A4 EB 78 */ mr r4, r29 +/* 80040DE4 0003DD44 38 A0 00 00 */ li r5, 0 +/* 80040DE8 0003DD48 88 03 02 18 */ lbz r0, 0x218(r3) +/* 80040DEC 0003DD4C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80040DF0 0003DD50 98 03 02 18 */ stb r0, 0x218(r3) +/* 80040DF4 0003DD54 80 7C 07 38 */ lwz r3, 0x738(r28) +/* 80040DF8 0003DD58 81 83 00 00 */ lwz r12, 0(r3) +/* 80040DFC 0003DD5C 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80040E00 0003DD60 7D 89 03 A6 */ mtctr r12 +/* 80040E04 0003DD64 4E 80 04 21 */ bctrl +/* 80040E08 0003DD68 38 00 00 02 */ li r0, 2 +/* 80040E0C 0003DD6C 90 1C 03 3C */ stw r0, 0x33c(r28) +lbl_80040E10: +/* 80040E10 0003DD70 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80040E14 0003DD74 41 82 00 0C */ beq lbl_80040E20 +/* 80040E18 0003DD78 38 00 00 00 */ li r0, 0 +/* 80040E1C 0003DD7C 90 1C 03 38 */ stw r0, 0x338(r28) +lbl_80040E20: +/* 80040E20 0003DD80 C0 3C 03 7C */ lfs f1, 0x37c(r28) +/* 80040E24 0003DD84 C0 02 84 70 */ lfs f0, lbl_805AA190@sda21(r2) +/* 80040E28 0003DD88 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80040E2C 0003DD8C 40 80 00 10 */ bge lbl_80040E3C +/* 80040E30 0003DD90 EC 01 E0 2A */ fadds f0, f1, f28 +/* 80040E34 0003DD94 D0 1C 03 7C */ stfs f0, 0x37c(r28) +/* 80040E38 0003DD98 48 00 00 20 */ b lbl_80040E58 +lbl_80040E3C: +/* 80040E3C 0003DD9C C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80040E40 0003DDA0 D0 1C 03 7C */ stfs f0, 0x37c(r28) +/* 80040E44 0003DDA4 80 7C 03 0C */ lwz r3, 0x30c(r28) +/* 80040E48 0003DDA8 2C 03 00 00 */ cmpwi r3, 0 +/* 80040E4C 0003DDAC 40 81 00 0C */ ble lbl_80040E58 +/* 80040E50 0003DDB0 38 03 FF FF */ addi r0, r3, -1 +/* 80040E54 0003DDB4 90 1C 03 0C */ stw r0, 0x30c(r28) +lbl_80040E58: +/* 80040E58 0003DDB8 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 80040E5C 0003DDBC 2C 00 00 00 */ cmpwi r0, 0 +/* 80040E60 0003DDC0 41 82 00 94 */ beq lbl_80040EF4 +/* 80040E64 0003DDC4 7F 63 DB 78 */ mr r3, r27 +/* 80040E68 0003DDC8 4B FD 4E 95 */ bl GetFrozenState__7CPlayerCFv +/* 80040E6C 0003DDCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80040E70 0003DDD0 40 82 00 84 */ bne lbl_80040EF4 +/* 80040E74 0003DDD4 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80040E78 0003DDD8 48 2D 16 A9 */ bl Next__9CRandom16Fv +/* 80040E7C 0003DDDC 3C A0 55 55 */ lis r5, 0x55555556@ha +/* 80040E80 0003DDE0 3C 80 80 3D */ lis r4, lbl_803CCE38@ha +/* 80040E84 0003DDE4 38 05 55 56 */ addi r0, r5, 0x55555556@l +/* 80040E88 0003DDE8 C0 1C 03 40 */ lfs f0, 0x340(r28) +/* 80040E8C 0003DDEC 7C A0 18 96 */ mulhw r5, r0, r3 +/* 80040E90 0003DDF0 38 84 CE 38 */ addi r4, r4, lbl_803CCE38@l +/* 80040E94 0003DDF4 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 80040E98 0003DDF8 7C 05 02 14 */ add r0, r5, r0 +/* 80040E9C 0003DDFC 1C 00 00 03 */ mulli r0, r0, 3 +/* 80040EA0 0003DE00 7C 00 18 50 */ subf r0, r0, r3 +/* 80040EA4 0003DE04 54 00 10 3A */ slwi r0, r0, 2 +/* 80040EA8 0003DE08 7C 24 04 2E */ lfsx f1, r4, r0 +/* 80040EAC 0003DE0C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80040EB0 0003DE10 D0 1C 03 4C */ stfs f0, 0x34c(r28) +/* 80040EB4 0003DE14 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80040EB8 0003DE18 48 2D 16 69 */ bl Next__9CRandom16Fv +/* 80040EBC 0003DE1C 3C A0 55 55 */ lis r5, 0x55555556@ha +/* 80040EC0 0003DE20 3C 80 80 3D */ lis r4, lbl_803CCE38@ha +/* 80040EC4 0003DE24 38 05 55 56 */ addi r0, r5, 0x55555556@l +/* 80040EC8 0003DE28 C0 1C 03 40 */ lfs f0, 0x340(r28) +/* 80040ECC 0003DE2C 7C A0 18 96 */ mulhw r5, r0, r3 +/* 80040ED0 0003DE30 38 84 CE 38 */ addi r4, r4, lbl_803CCE38@l +/* 80040ED4 0003DE34 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 80040ED8 0003DE38 7C 05 02 14 */ add r0, r5, r0 +/* 80040EDC 0003DE3C 1C 00 00 03 */ mulli r0, r0, 3 +/* 80040EE0 0003DE40 7C 00 18 50 */ subf r0, r0, r3 +/* 80040EE4 0003DE44 54 00 10 3A */ slwi r0, r0, 2 +/* 80040EE8 0003DE48 7C 24 04 2E */ lfsx f1, r4, r0 +/* 80040EEC 0003DE4C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80040EF0 0003DE50 D0 1C 03 50 */ stfs f0, 0x350(r28) +lbl_80040EF4: +/* 80040EF4 0003DE54 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80040EF8 0003DE58 81 83 00 00 */ lwz r12, 0(r3) +/* 80040EFC 0003DE5C 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80040F00 0003DE60 7D 89 03 A6 */ mtctr r12 +/* 80040F04 0003DE64 4E 80 04 21 */ bctrl +/* 80040F08 0003DE68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80040F0C 0003DE6C 41 82 09 7C */ beq lbl_80041888 +/* 80040F10 0003DE70 80 BC 07 2C */ lwz r5, 0x72c(r28) +/* 80040F14 0003DE74 38 61 00 70 */ addi r3, r1, 0x70 +/* 80040F18 0003DE78 83 1C 07 3C */ lwz r24, 0x73c(r28) +/* 80040F1C 0003DE7C 80 82 84 48 */ lwz r4, lbl_805AA168@sda21(r2) +/* 80040F20 0003DE80 3B 25 00 10 */ addi r25, r5, 0x10 +/* 80040F24 0003DE84 4B FC 3D 95 */ bl string_l__4rstlFPCc +/* 80040F28 0003DE88 7F 83 E3 78 */ mr r3, r28 +/* 80040F2C 0003DE8C 7F 05 C3 78 */ mr r5, r24 +/* 80040F30 0003DE90 38 9C 04 D8 */ addi r4, r28, 0x4d8 +/* 80040F34 0003DE94 38 C1 00 70 */ addi r6, r1, 0x70 +/* 80040F38 0003DE98 38 E0 00 01 */ li r7, 1 +/* 80040F3C 0003DE9C 39 00 00 01 */ li r8, 1 +/* 80040F40 0003DEA0 48 00 0A 89 */ bl "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" +/* 80040F44 0003DEA4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80040F48 0003DEA8 48 2F CB 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80040F4C 0003DEAC 80 82 A9 C8 */ lwz r4, lbl_805AC6E8@sda21(r2) +/* 80040F50 0003DEB0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80040F54 0003DEB4 4B FC 3D 65 */ bl string_l__4rstlFPCc +/* 80040F58 0003DEB8 7F 83 E3 78 */ mr r3, r28 +/* 80040F5C 0003DEBC 7F 25 CB 78 */ mr r5, r25 +/* 80040F60 0003DEC0 38 9C 04 18 */ addi r4, r28, 0x418 +/* 80040F64 0003DEC4 38 C1 00 60 */ addi r6, r1, 0x60 +/* 80040F68 0003DEC8 38 E0 00 00 */ li r7, 0 +/* 80040F6C 0003DECC 39 00 00 01 */ li r8, 1 +/* 80040F70 0003DED0 48 00 0A 59 */ bl "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" +/* 80040F74 0003DED4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80040F78 0003DED8 48 2F CB 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80040F7C 0003DEDC 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha +/* 80040F80 0003DEE0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80040F84 0003DEE4 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l +/* 80040F88 0003DEE8 38 84 00 18 */ addi r4, r4, 0x18 +/* 80040F8C 0003DEEC 4B FC 3D 2D */ bl string_l__4rstlFPCc +/* 80040F90 0003DEF0 7F 83 E3 78 */ mr r3, r28 +/* 80040F94 0003DEF4 7F 25 CB 78 */ mr r5, r25 +/* 80040F98 0003DEF8 38 9C 05 08 */ addi r4, r28, 0x508 +/* 80040F9C 0003DEFC 38 C1 00 50 */ addi r6, r1, 0x50 +/* 80040FA0 0003DF00 38 E0 00 00 */ li r7, 0 +/* 80040FA4 0003DF04 39 00 00 00 */ li r8, 0 +/* 80040FA8 0003DF08 48 00 0A 21 */ bl "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" +/* 80040FAC 0003DF0C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80040FB0 0003DF10 48 2F CB 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80040FB4 0003DF14 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 80040FB8 0003DF18 38 9C 05 50 */ addi r4, r28, 0x550 +/* 80040FBC 0003DF1C 48 0A 8D E9 */ bl GetCameraBobTransformation__16CPlayerCameraBobCFv +/* 80040FC0 0003DF20 38 61 02 D0 */ addi r3, r1, 0x2d0 +/* 80040FC4 0003DF24 38 9C 03 E8 */ addi r4, r28, 0x3e8 +/* 80040FC8 0003DF28 38 BC 04 D8 */ addi r5, r28, 0x4d8 +/* 80040FCC 0003DF2C 48 2D 19 85 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80040FD0 0003DF30 38 61 03 00 */ addi r3, r1, 0x300 +/* 80040FD4 0003DF34 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 80040FD8 0003DF38 38 A1 02 A0 */ addi r5, r1, 0x2a0 +/* 80040FDC 0003DF3C 48 2D 19 75 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80040FE0 0003DF40 38 7C 04 A8 */ addi r3, r28, 0x4a8 +/* 80040FE4 0003DF44 38 81 03 00 */ addi r4, r1, 0x300 +/* 80040FE8 0003DF48 48 2D 1B 59 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80040FEC 0003DF4C 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 80040FF0 0003DF50 88 63 03 B2 */ lbz r3, 0x3b2(r3) +/* 80040FF4 0003DF54 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80040FF8 0003DF58 41 82 00 1C */ beq lbl_80041014 +/* 80040FFC 0003DF5C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80041000 0003DF60 40 82 00 14 */ bne lbl_80041014 +/* 80041004 0003DF64 7F 83 E3 78 */ mr r3, r28 +/* 80041008 0003DF68 7F 24 CB 78 */ mr r4, r25 +/* 8004100C 0003DF6C 7F A5 EB 78 */ mr r5, r29 +/* 80041010 0003DF70 4B FF AC BD */ bl UpdateLeftArmTransform__10CPlayerGunFRC10CModelDataRC13CStateManager +lbl_80041014: +/* 80041014 0003DF74 80 1C 02 F0 */ lwz r0, 0x2f0(r28) +/* 80041018 0003DF78 38 7C 06 A0 */ addi r3, r28, 0x6a0 +/* 8004101C 0003DF7C 38 80 00 00 */ li r4, 0 +/* 80041020 0003DF80 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80041024 0003DF84 41 82 00 2C */ beq lbl_80041050 +/* 80041028 0003DF88 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 8004102C 0003DF8C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80041030 0003DF90 41 82 00 20 */ beq lbl_80041050 +/* 80041034 0003DF94 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 80041038 0003DF98 2C 00 00 02 */ cmpwi r0, 2 +/* 8004103C 0003DF9C 40 80 00 14 */ bge lbl_80041050 +/* 80041040 0003DFA0 88 1B 03 DC */ lbz r0, 0x3dc(r27) +/* 80041044 0003DFA4 28 00 00 00 */ cmplwi r0, 0 +/* 80041048 0003DFA8 40 82 00 08 */ bne lbl_80041050 +/* 8004104C 0003DFAC 38 80 00 01 */ li r4, 1 +lbl_80041050: +/* 80041050 0003DFB0 FC 20 E0 90 */ fmr f1, f28 +/* 80041054 0003DFB4 7F A6 EB 78 */ mr r6, r29 +/* 80041058 0003DFB8 38 BC 04 A8 */ addi r5, r28, 0x4a8 +/* 8004105C 0003DFBC 4B FF BD 6D */ bl Update__Q210CPlayerGun12CMotionStateFbfR12CTransform4fR13CStateManager +/* 80041060 0003DFC0 38 61 02 70 */ addi r3, r1, 0x270 +/* 80041064 0003DFC4 38 9C 04 A8 */ addi r4, r28, 0x4a8 +/* 80041068 0003DFC8 48 2D 1B 0D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8004106C 0003DFCC FC 20 E0 90 */ fmr f1, f28 +/* 80041070 0003DFD0 7F 23 CB 78 */ mr r3, r25 +/* 80041074 0003DFD4 7F A5 EB 78 */ mr r5, r29 +/* 80041078 0003DFD8 38 81 02 70 */ addi r4, r1, 0x270 +/* 8004107C 0003DFDC 48 0D 45 11 */ bl AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager +/* 80041080 0003DFE0 C0 3C 03 80 */ lfs f1, 0x380(r28) +/* 80041084 0003DFE4 38 80 00 00 */ li r4, 0 +/* 80041088 0003DFE8 C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) +/* 8004108C 0003DFEC 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80041090 0003DFF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80041094 0003DFF4 40 81 00 18 */ ble lbl_800410AC +/* 80041098 0003DFF8 C0 3C 03 78 */ lfs f1, 0x378(r28) +/* 8004109C 0003DFFC C0 02 84 F8 */ lfs f0, lbl_805AA218@sda21(r2) +/* 800410A0 0003E000 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800410A4 0003E004 40 81 00 08 */ ble lbl_800410AC +/* 800410A8 0003E008 38 80 00 01 */ li r4, 1 +lbl_800410AC: +/* 800410AC 0003E00C 81 83 00 00 */ lwz r12, 0(r3) +/* 800410B0 0003E010 FC 20 E8 90 */ fmr f1, f29 +/* 800410B4 0003E014 7F A5 EB 78 */ mr r5, r29 +/* 800410B8 0003E018 38 DC 05 08 */ addi r6, r28, 0x508 +/* 800410BC 0003E01C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800410C0 0003E020 7D 89 03 A6 */ mtctr r12 +/* 800410C4 0003E024 4E 80 04 21 */ bctrl +/* 800410C8 0003E028 38 61 02 10 */ addi r3, r1, 0x210 +/* 800410CC 0003E02C 38 9C 04 A8 */ addi r4, r28, 0x4a8 +/* 800410D0 0003E030 48 2D 1A A5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800410D4 0003E034 38 61 02 40 */ addi r3, r1, 0x240 +/* 800410D8 0003E038 38 81 02 10 */ addi r4, r1, 0x210 +/* 800410DC 0003E03C 38 BC 04 18 */ addi r5, r28, 0x418 +/* 800410E0 0003E040 48 2D 18 71 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800410E4 0003E044 38 61 03 90 */ addi r3, r1, 0x390 +/* 800410E8 0003E048 38 81 02 40 */ addi r4, r1, 0x240 +/* 800410EC 0003E04C 48 2D 1A 89 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800410F0 0003E050 80 1B 02 F8 */ lwz r0, 0x2f8(r27) +/* 800410F4 0003E054 2C 00 00 00 */ cmpwi r0, 0 +/* 800410F8 0003E058 40 82 02 70 */ bne lbl_80041368 +/* 800410FC 0003E05C 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80041100 0003E060 4B FC 98 01 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80041104 0003E064 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80041108 0003E068 40 82 02 60 */ bne lbl_80041368 +/* 8004110C 0003E06C 38 00 00 00 */ li r0, 0 +/* 80041110 0003E070 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80041114 0003E074 90 01 03 C0 */ stw r0, 0x3c0(r1) +/* 80041118 0003E078 38 9C 04 A8 */ addi r4, r28, 0x4a8 +/* 8004111C 0003E07C 48 2D 1A 59 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80041120 0003E080 80 9C 07 2C */ lwz r4, 0x72c(r28) +/* 80041124 0003E084 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80041128 0003E088 48 17 A5 A1 */ bl GetBounds__10CGunWeaponCFv +/* 8004112C 0003E08C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80041130 0003E090 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80041134 0003E094 38 A1 01 E0 */ addi r5, r1, 0x1e0 +/* 80041138 0003E098 48 2F 67 C5 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8004113C 0003E09C 3C 80 80 46 */ lis r4, lbl_8045C518@ha +/* 80041140 0003E0A0 7F A3 EB 78 */ mr r3, r29 +/* 80041144 0003E0A4 38 C4 C5 18 */ addi r6, r4, lbl_8045C518@l +/* 80041148 0003E0A8 7F 67 DB 78 */ mr r7, r27 +/* 8004114C 0003E0AC 38 81 03 C0 */ addi r4, r1, 0x3c0 +/* 80041150 0003E0B0 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 80041154 0003E0B4 48 00 B5 CD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80041158 0003E0B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004115C 0003E0BC 38 61 00 44 */ addi r3, r1, 0x44 +/* 80041160 0003E0C0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80041164 0003E0C4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80041168 0003E0C8 C0 5C 04 CC */ lfs f2, 0x4cc(r28) +/* 8004116C 0003E0CC C0 3C 04 BC */ lfs f1, 0x4bc(r28) +/* 80041170 0003E0D0 C0 1C 04 AC */ lfs f0, 0x4ac(r28) +/* 80041174 0003E0D4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80041178 0003E0D8 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8004117C 0003E0DC D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80041180 0003E0E0 48 2D 36 D1 */ bl AsNormalized__9CVector3fCFv +/* 80041184 0003E0E4 C0 A1 00 44 */ lfs f5, 0x44(r1) +/* 80041188 0003E0E8 38 60 00 00 */ li r3, 0 +/* 8004118C 0003E0EC C0 81 00 48 */ lfs f4, 0x48(r1) +/* 80041190 0003E0F0 38 80 00 01 */ li r4, 1 +/* 80041194 0003E0F4 C0 02 84 FC */ lfs f0, lbl_805AA21C@sda21(r2) +/* 80041198 0003E0F8 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 8004119C 0003E0FC EC 20 01 32 */ fmuls f1, f0, f4 +/* 800411A0 0003E100 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 800411A4 0003E104 EC 40 00 F2 */ fmuls f2, f0, f3 +/* 800411A8 0003E108 80 AD 82 58 */ lwz r5, lbl_805A6E18@sda21(r13) +/* 800411AC 0003E10C EC 00 01 72 */ fmuls f0, f0, f5 +/* 800411B0 0003E110 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 800411B4 0003E114 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 800411B8 0003E118 FF A0 10 50 */ fneg f29, f2 +/* 800411BC 0003E11C FF C0 08 50 */ fneg f30, f1 +/* 800411C0 0003E120 FF E0 00 50 */ fneg f31, f0 +/* 800411C4 0003E124 C0 5C 04 C4 */ lfs f2, 0x4c4(r28) +/* 800411C8 0003E128 C0 3C 04 D4 */ lfs f1, 0x4d4(r28) +/* 800411CC 0003E12C C0 1C 04 B4 */ lfs f0, 0x4b4(r28) +/* 800411D0 0003E130 EC 42 F0 2A */ fadds f2, f2, f30 +/* 800411D4 0003E134 EC 21 E8 2A */ fadds f1, f1, f29 +/* 800411D8 0003E138 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800411DC 0003E13C D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 800411E0 0003E140 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 800411E4 0003E144 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 800411E8 0003E148 48 34 8D 0D */ bl __shl2i +/* 800411EC 0003E14C 80 AD 82 54 */ lwz r5, lbl_805A6E14@sda21(r13) +/* 800411F0 0003E150 7C 99 23 78 */ mr r25, r4 +/* 800411F4 0003E154 7C 78 1B 78 */ mr r24, r3 +/* 800411F8 0003E158 38 60 00 00 */ li r3, 0 +/* 800411FC 0003E15C 38 80 00 01 */ li r4, 1 +/* 80041200 0003E160 48 34 8C F5 */ bl __shl2i +/* 80041204 0003E164 38 00 00 03 */ li r0, 3 +/* 80041208 0003E168 90 81 00 BC */ stw r4, 0xbc(r1) +/* 8004120C 0003E16C C0 22 85 00 */ lfs f1, lbl_805AA220@sda21(r2) +/* 80041210 0003E170 7F A4 EB 78 */ mr r4, r29 +/* 80041214 0003E174 90 61 00 B8 */ stw r3, 0xb8(r1) +/* 80041218 0003E178 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 8004121C 0003E17C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80041220 0003E180 38 C1 00 9C */ addi r6, r1, 0x9c +/* 80041224 0003E184 93 21 00 C4 */ stw r25, 0xc4(r1) +/* 80041228 0003E188 38 E1 00 A8 */ addi r7, r1, 0xa8 +/* 8004122C 0003E18C 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 80041230 0003E190 39 21 03 C0 */ addi r9, r1, 0x3c0 +/* 80041234 0003E194 93 01 00 C0 */ stw r24, 0xc0(r1) +/* 80041238 0003E198 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 8004123C 0003E19C 48 00 BD 89 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80041240 0003E1A0 88 A1 01 D0 */ lbz r5, 0x1d0(r1) +/* 80041244 0003E1A4 C0 E1 01 B0 */ lfs f7, 0x1b0(r1) +/* 80041248 0003E1A8 C0 C1 01 B4 */ lfs f6, 0x1b4(r1) +/* 8004124C 0003E1AC 28 05 00 00 */ cmplwi r5, 0 +/* 80041250 0003E1B0 C0 A1 01 B8 */ lfs f5, 0x1b8(r1) +/* 80041254 0003E1B4 C0 81 01 BC */ lfs f4, 0x1bc(r1) +/* 80041258 0003E1B8 C0 61 01 C0 */ lfs f3, 0x1c0(r1) +/* 8004125C 0003E1BC C0 41 01 C4 */ lfs f2, 0x1c4(r1) +/* 80041260 0003E1C0 C0 21 01 C8 */ lfs f1, 0x1c8(r1) +/* 80041264 0003E1C4 C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 80041268 0003E1C8 80 61 01 D8 */ lwz r3, 0x1d8(r1) +/* 8004126C 0003E1CC 80 81 01 DC */ lwz r4, 0x1dc(r1) +/* 80041270 0003E1D0 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 80041274 0003E1D4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80041278 0003E1D8 D0 E1 03 60 */ stfs f7, 0x360(r1) +/* 8004127C 0003E1DC D0 C1 03 64 */ stfs f6, 0x364(r1) +/* 80041280 0003E1E0 D0 A1 03 68 */ stfs f5, 0x368(r1) +/* 80041284 0003E1E4 D0 81 03 6C */ stfs f4, 0x36c(r1) +/* 80041288 0003E1E8 D0 61 03 70 */ stfs f3, 0x370(r1) +/* 8004128C 0003E1EC D0 41 03 74 */ stfs f2, 0x374(r1) +/* 80041290 0003E1F0 D0 21 03 78 */ stfs f1, 0x378(r1) +/* 80041294 0003E1F4 D0 01 03 7C */ stfs f0, 0x37c(r1) +/* 80041298 0003E1F8 98 A1 03 80 */ stb r5, 0x380(r1) +/* 8004129C 0003E1FC 90 81 03 8C */ stw r4, 0x38c(r1) +/* 800412A0 0003E200 90 61 03 88 */ stw r3, 0x388(r1) +/* 800412A4 0003E204 98 1C 08 33 */ stb r0, 0x833(r28) +/* 800412A8 0003E208 41 82 00 68 */ beq lbl_80041310 +/* 800412AC 0003E20C 38 61 01 4C */ addi r3, r1, 0x14c +/* 800412B0 0003E210 38 9C 04 A8 */ addi r4, r28, 0x4a8 +/* 800412B4 0003E214 48 2D 18 C1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800412B8 0003E218 38 61 01 7C */ addi r3, r1, 0x17c +/* 800412BC 0003E21C 38 81 01 4C */ addi r4, r1, 0x14c +/* 800412C0 0003E220 38 BC 05 08 */ addi r5, r28, 0x508 +/* 800412C4 0003E224 48 2D 16 8D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800412C8 0003E228 38 7C 04 48 */ addi r3, r28, 0x448 +/* 800412CC 0003E22C 38 81 01 7C */ addi r4, r1, 0x17c +/* 800412D0 0003E230 48 2D 18 71 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800412D4 0003E234 C0 1C 04 54 */ lfs f0, 0x454(r28) +/* 800412D8 0003E238 C0 41 03 64 */ lfs f2, 0x364(r1) +/* 800412DC 0003E23C EC 60 F8 2A */ fadds f3, f0, f31 +/* 800412E0 0003E240 C0 21 03 68 */ lfs f1, 0x368(r1) +/* 800412E4 0003E244 C0 01 03 6C */ lfs f0, 0x36c(r1) +/* 800412E8 0003E248 D0 7C 04 54 */ stfs f3, 0x454(r28) +/* 800412EC 0003E24C C0 7C 04 64 */ lfs f3, 0x464(r28) +/* 800412F0 0003E250 EC 63 F0 2A */ fadds f3, f3, f30 +/* 800412F4 0003E254 D0 7C 04 64 */ stfs f3, 0x464(r28) +/* 800412F8 0003E258 C0 7C 04 74 */ lfs f3, 0x474(r28) +/* 800412FC 0003E25C EC 63 E8 2A */ fadds f3, f3, f29 +/* 80041300 0003E260 D0 7C 04 74 */ stfs f3, 0x474(r28) +/* 80041304 0003E264 D0 41 03 9C */ stfs f2, 0x39c(r1) +/* 80041308 0003E268 D0 21 03 AC */ stfs f1, 0x3ac(r1) +/* 8004130C 0003E26C D0 01 03 BC */ stfs f0, 0x3bc(r1) +lbl_80041310: +/* 80041310 0003E270 80 A1 03 C0 */ lwz r5, 0x3c0(r1) +/* 80041314 0003E274 38 60 00 00 */ li r3, 0 +/* 80041318 0003E278 2C 05 00 00 */ cmpwi r5, 0 +/* 8004131C 0003E27C 40 81 00 40 */ ble lbl_8004135C +/* 80041320 0003E280 2C 05 00 08 */ cmpwi r5, 8 +/* 80041324 0003E284 38 85 FF F8 */ addi r4, r5, -8 +/* 80041328 0003E288 40 81 00 20 */ ble lbl_80041348 +/* 8004132C 0003E28C 38 04 00 07 */ addi r0, r4, 7 +/* 80041330 0003E290 54 00 E8 FE */ srwi r0, r0, 3 +/* 80041334 0003E294 7C 09 03 A6 */ mtctr r0 +/* 80041338 0003E298 2C 04 00 00 */ cmpwi r4, 0 +/* 8004133C 0003E29C 40 81 00 0C */ ble lbl_80041348 +lbl_80041340: +/* 80041340 0003E2A0 38 63 00 08 */ addi r3, r3, 8 +/* 80041344 0003E2A4 42 00 FF FC */ bdnz lbl_80041340 +lbl_80041348: +/* 80041348 0003E2A8 7C 03 28 50 */ subf r0, r3, r5 +/* 8004134C 0003E2AC 7C 09 03 A6 */ mtctr r0 +/* 80041350 0003E2B0 7C 03 28 00 */ cmpw r3, r5 +/* 80041354 0003E2B4 40 80 00 08 */ bge lbl_8004135C +lbl_80041358: +/* 80041358 0003E2B8 42 00 00 00 */ bdnz lbl_80041358 +lbl_8004135C: +/* 8004135C 0003E2BC 38 00 00 00 */ li r0, 0 +/* 80041360 0003E2C0 90 01 03 C0 */ stw r0, 0x3c0(r1) +/* 80041364 0003E2C4 48 00 00 14 */ b lbl_80041378 +lbl_80041368: +/* 80041368 0003E2C8 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8004136C 0003E2CC 38 60 00 00 */ li r3, 0 +/* 80041370 0003E2D0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80041374 0003E2D4 98 1C 08 33 */ stb r0, 0x833(r28) +lbl_80041378: +/* 80041378 0003E2D8 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8004137C 0003E2DC 38 61 03 30 */ addi r3, r1, 0x330 +/* 80041380 0003E2E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80041384 0003E2E4 41 82 00 0C */ beq lbl_80041390 +/* 80041388 0003E2E8 38 9C 04 48 */ addi r4, r28, 0x448 +/* 8004138C 0003E2EC 48 00 00 08 */ b lbl_80041394 +lbl_80041390: +/* 80041390 0003E2F0 38 81 03 90 */ addi r4, r1, 0x390 +lbl_80041394: +/* 80041394 0003E2F4 48 2D 17 E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80041398 0003E2F8 80 9D 08 70 */ lwz r4, 0x870(r29) +/* 8004139C 0003E2FC 7F A5 EB 78 */ mr r5, r29 +/* 800413A0 0003E300 38 61 00 2C */ addi r3, r1, 0x2c +/* 800413A4 0003E304 4B FC 95 71 */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager +/* 800413A8 0003E308 C0 61 00 30 */ lfs f3, 0x30(r1) +/* 800413AC 0003E30C C0 21 03 AC */ lfs f1, 0x3ac(r1) +/* 800413B0 0003E310 C0 01 03 4C */ lfs f0, 0x34c(r1) +/* 800413B4 0003E314 EC 81 18 2A */ fadds f4, f1, f3 +/* 800413B8 0003E318 C0 A1 00 34 */ lfs f5, 0x34(r1) +/* 800413BC 0003E31C EC 20 18 2A */ fadds f1, f0, f3 +/* 800413C0 0003E320 C0 41 03 BC */ lfs f2, 0x3bc(r1) +/* 800413C4 0003E324 C0 01 03 5C */ lfs f0, 0x35c(r1) +/* 800413C8 0003E328 EC 62 28 2A */ fadds f3, f2, f5 +/* 800413CC 0003E32C EC 00 28 2A */ fadds f0, f0, f5 +/* 800413D0 0003E330 C0 A1 03 9C */ lfs f5, 0x39c(r1) +/* 800413D4 0003E334 C0 C1 00 2C */ lfs f6, 0x2c(r1) +/* 800413D8 0003E338 C0 41 03 3C */ lfs f2, 0x33c(r1) +/* 800413DC 0003E33C EC A5 30 2A */ fadds f5, f5, f6 +/* 800413E0 0003E340 D0 81 03 AC */ stfs f4, 0x3ac(r1) +/* 800413E4 0003E344 EC 42 30 2A */ fadds f2, f2, f6 +/* 800413E8 0003E348 D0 61 03 BC */ stfs f3, 0x3bc(r1) +/* 800413EC 0003E34C D0 A1 03 9C */ stfs f5, 0x39c(r1) +/* 800413F0 0003E350 D0 41 03 3C */ stfs f2, 0x33c(r1) +/* 800413F4 0003E354 D0 21 03 4C */ stfs f1, 0x34c(r1) +/* 800413F8 0003E358 D0 01 03 5C */ stfs f0, 0x35c(r1) +/* 800413FC 0003E35C 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 80041400 0003E360 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80041404 0003E364 41 82 01 30 */ beq lbl_80041534 +/* 80041408 0003E368 88 1C 08 33 */ lbz r0, 0x833(r28) +/* 8004140C 0003E36C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80041410 0003E370 41 82 00 1C */ beq lbl_8004142C +/* 80041414 0003E374 C0 3C 03 44 */ lfs f1, 0x344(r28) +/* 80041418 0003E378 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8004141C 0003E37C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80041420 0003E380 7C 00 00 26 */ mfcr r0 +/* 80041424 0003E384 54 19 0F FE */ srwi r25, r0, 0x1f +/* 80041428 0003E388 48 00 00 08 */ b lbl_80041430 +lbl_8004142C: +/* 8004142C 0003E38C 3B 20 00 00 */ li r25, 0 +lbl_80041430: +/* 80041430 0003E390 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80041434 0003E394 38 60 00 00 */ li r3, 0 +/* 80041438 0003E398 41 82 00 14 */ beq lbl_8004144C +/* 8004143C 0003E39C 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 80041440 0003E3A0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80041444 0003E3A4 41 82 00 08 */ beq lbl_8004144C +/* 80041448 0003E3A8 38 60 00 01 */ li r3, 1 +lbl_8004144C: +/* 8004144C 0003E3AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80041450 0003E3B0 41 82 00 1C */ beq lbl_8004146C +/* 80041454 0003E3B4 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 80041458 0003E3B8 C0 1C 03 44 */ lfs f0, 0x344(r28) +/* 8004145C 0003E3BC C0 42 84 80 */ lfs f2, lbl_805AA1A0@sda21(r2) +/* 80041460 0003E3C0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80041464 0003E3C4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80041468 0003E3C8 48 00 00 08 */ b lbl_80041470 +lbl_8004146C: +/* 8004146C 0003E3CC C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) +lbl_80041470: +/* 80041470 0003E3D0 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 80041474 0003E3D4 FC 20 E0 90 */ fmr f1, f28 +/* 80041478 0003E3D8 7F 26 CB 78 */ mr r6, r25 +/* 8004147C 0003E3DC 38 81 00 90 */ addi r4, r1, 0x90 +/* 80041480 0003E3E0 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80041484 0003E3E4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80041488 0003E3E8 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8004148C 0003E3EC C0 7C 04 44 */ lfs f3, 0x444(r28) +/* 80041490 0003E3F0 C0 5C 04 34 */ lfs f2, 0x434(r28) +/* 80041494 0003E3F4 C0 1C 04 24 */ lfs f0, 0x424(r28) +/* 80041498 0003E3F8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8004149C 0003E3FC D0 41 00 24 */ stfs f2, 0x24(r1) +/* 800414A0 0003E400 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 800414A4 0003E404 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 800414A8 0003E408 48 17 AD 4D */ bl UpdateMuzzleFx__10CGunWeaponFfRC9CVector3fRC9CVector3fb +/* 800414AC 0003E40C 80 1C 03 20 */ lwz r0, 0x320(r28) +/* 800414B0 0003E410 3B 5C 08 04 */ addi r26, r28, 0x804 +/* 800414B4 0003E414 38 9C 04 18 */ addi r4, r28, 0x418 +/* 800414B8 0003E418 54 00 18 38 */ slwi r0, r0, 3 +/* 800414BC 0003E41C 7C 7A 02 14 */ add r3, r26, r0 +/* 800414C0 0003E420 80 63 00 04 */ lwz r3, 4(r3) +/* 800414C4 0003E424 48 2D D6 C1 */ bl SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f +/* 800414C8 0003E428 80 1C 03 20 */ lwz r0, 0x320(r28) +/* 800414CC 0003E42C 38 81 00 90 */ addi r4, r1, 0x90 +/* 800414D0 0003E430 54 03 18 38 */ slwi r3, r0, 3 +/* 800414D4 0003E434 38 03 00 04 */ addi r0, r3, 4 +/* 800414D8 0003E438 7C 7A 00 2E */ lwzx r3, r26, r0 +/* 800414DC 0003E43C 81 83 00 00 */ lwz r12, 0(r3) +/* 800414E0 0003E440 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800414E4 0003E444 7D 89 03 A6 */ mtctr r12 +/* 800414E8 0003E448 4E 80 04 21 */ bctrl +/* 800414EC 0003E44C 80 1C 03 20 */ lwz r0, 0x320(r28) +/* 800414F0 0003E450 7F 24 CB 78 */ mr r4, r25 +/* 800414F4 0003E454 54 03 18 38 */ slwi r3, r0, 3 +/* 800414F8 0003E458 38 03 00 04 */ addi r0, r3, 4 +/* 800414FC 0003E45C 7C 7A 00 2E */ lwzx r3, r26, r0 +/* 80041500 0003E460 81 83 00 00 */ lwz r12, 0(r3) +/* 80041504 0003E464 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80041508 0003E468 7D 89 03 A6 */ mtctr r12 +/* 8004150C 0003E46C 4E 80 04 21 */ bctrl +/* 80041510 0003E470 80 1C 03 20 */ lwz r0, 0x320(r28) +/* 80041514 0003E474 FC 20 E0 90 */ fmr f1, f28 +/* 80041518 0003E478 54 03 18 38 */ slwi r3, r0, 3 +/* 8004151C 0003E47C 38 03 00 04 */ addi r0, r3, 4 +/* 80041520 0003E480 7C 7A 00 2E */ lwzx r3, r26, r0 +/* 80041524 0003E484 81 83 00 00 */ lwz r12, 0(r3) +/* 80041528 0003E488 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8004152C 0003E48C 7D 89 03 A6 */ mtctr r12 +/* 80041530 0003E490 4E 80 04 21 */ bctrl +lbl_80041534: +/* 80041534 0003E494 80 7C 07 48 */ lwz r3, 0x748(r28) +/* 80041538 0003E498 28 03 00 00 */ cmplwi r3, 0 +/* 8004153C 0003E49C 41 82 00 10 */ beq lbl_8004154C +/* 80041540 0003E4A0 FC 20 E0 90 */ fmr f1, f28 +/* 80041544 0003E4A4 7F A4 EB 78 */ mr r4, r29 +/* 80041548 0003E4A8 48 22 8E A5 */ bl Update__20CRainSplashGeneratorFfR13CStateManager +lbl_8004154C: +/* 8004154C 0003E4AC 7F 83 E3 78 */ mr r3, r28 +/* 80041550 0003E4B0 7F A5 EB 78 */ mr r5, r29 +/* 80041554 0003E4B4 38 81 03 90 */ addi r4, r1, 0x390 +/* 80041558 0003E4B8 4B FF A0 BD */ bl UpdateGunLight__10CPlayerGunFRC12CTransform4fR13CStateManager +/* 8004155C 0003E4BC FC 20 E0 90 */ fmr f1, f28 +/* 80041560 0003E4C0 7F 83 E3 78 */ mr r3, r28 +/* 80041564 0003E4C4 7F A4 EB 78 */ mr r4, r29 +/* 80041568 0003E4C8 4B FF 99 29 */ bl ProcessGunMorph__10CPlayerGunFfR13CStateManager +/* 8004156C 0003E4CC 88 1C 08 35 */ lbz r0, 0x835(r28) +/* 80041570 0003E4D0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80041574 0003E4D4 41 82 00 14 */ beq lbl_80041588 +/* 80041578 0003E4D8 FC 20 E0 90 */ fmr f1, f28 +/* 8004157C 0003E4DC 7F 83 E3 78 */ mr r3, r28 +/* 80041580 0003E4E0 7F A4 EB 78 */ mr r4, r29 +/* 80041584 0003E4E4 4B FF 9C 4D */ bl ProcessPhazonGunMorph__10CPlayerGunFfR13CStateManager +lbl_80041588: +/* 80041588 0003E4E8 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 8004158C 0003E4EC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80041590 0003E4F0 41 82 00 8C */ beq lbl_8004161C +/* 80041594 0003E4F4 80 7C 07 80 */ lwz r3, 0x780(r28) +/* 80041598 0003E4F8 28 03 00 00 */ cmplwi r3, 0 +/* 8004159C 0003E4FC 41 82 00 80 */ beq lbl_8004161C +/* 800415A0 0003E500 C0 5C 04 44 */ lfs f2, 0x444(r28) +/* 800415A4 0003E504 38 81 00 14 */ addi r4, r1, 0x14 +/* 800415A8 0003E508 C0 3C 04 34 */ lfs f1, 0x434(r28) +/* 800415AC 0003E50C C0 1C 04 24 */ lfs f0, 0x424(r28) +/* 800415B0 0003E510 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800415B4 0003E514 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800415B8 0003E518 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800415BC 0003E51C 81 83 00 00 */ lwz r12, 0(r3) +/* 800415C0 0003E520 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800415C4 0003E524 7D 89 03 A6 */ mtctr r12 +/* 800415C8 0003E528 4E 80 04 21 */ bctrl +/* 800415CC 0003E52C 83 1C 07 80 */ lwz r24, 0x780(r28) +/* 800415D0 0003E530 38 61 01 1C */ addi r3, r1, 0x11c +/* 800415D4 0003E534 38 9C 04 18 */ addi r4, r28, 0x418 +/* 800415D8 0003E538 48 2D 16 69 */ bl GetRotation__12CTransform4fCFv +/* 800415DC 0003E53C 7F 03 C3 78 */ mr r3, r24 +/* 800415E0 0003E540 38 81 01 1C */ addi r4, r1, 0x11c +/* 800415E4 0003E544 81 98 00 00 */ lwz r12, 0(r24) +/* 800415E8 0003E548 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800415EC 0003E54C 7D 89 03 A6 */ mtctr r12 +/* 800415F0 0003E550 4E 80 04 21 */ bctrl +/* 800415F4 0003E554 80 7C 07 80 */ lwz r3, 0x780(r28) +/* 800415F8 0003E558 FC 20 E0 90 */ fmr f1, f28 +/* 800415FC 0003E55C 81 83 00 00 */ lwz r12, 0(r3) +/* 80041600 0003E560 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80041604 0003E564 7D 89 03 A6 */ mtctr r12 +/* 80041608 0003E568 4E 80 04 21 */ bctrl +/* 8004160C 0003E56C C0 22 85 04 */ lfs f1, lbl_805AA224@sda21(r2) +/* 80041610 0003E570 C0 1C 03 44 */ lfs f0, 0x344(r28) +/* 80041614 0003E574 EC 01 07 3A */ fmadds f0, f1, f28, f0 +/* 80041618 0003E578 D0 1C 03 44 */ stfs f0, 0x344(r28) +lbl_8004161C: +/* 8004161C 0003E57C C0 1C 03 5C */ lfs f0, 0x35c(r28) +/* 80041620 0003E580 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 80041624 0003E584 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80041628 0003E588 40 81 00 24 */ ble lbl_8004164C +/* 8004162C 0003E58C EC 00 E0 28 */ fsubs f0, f0, f28 +/* 80041630 0003E590 D0 1C 03 5C */ stfs f0, 0x35c(r28) +/* 80041634 0003E594 C0 1C 03 5C */ lfs f0, 0x35c(r28) +/* 80041638 0003E598 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8004163C 0003E59C 4C 40 13 82 */ cror 2, 0, 2 +/* 80041640 0003E5A0 40 82 00 0C */ bne lbl_8004164C +/* 80041644 0003E5A4 38 00 00 03 */ li r0, 3 +/* 80041648 0003E5A8 90 1C 03 08 */ stw r0, 0x308(r28) +lbl_8004164C: +/* 8004164C 0003E5AC 7F E3 FB 78 */ mr r3, r31 +/* 80041650 0003E5B0 38 80 00 0A */ li r4, 0xa +/* 80041654 0003E5B4 48 05 03 39 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80041658 0003E5B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004165C 0003E5BC 41 82 00 24 */ beq lbl_80041680 +/* 80041660 0003E5C0 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 80041664 0003E5C4 2C 00 00 00 */ cmpwi r0, 0 +/* 80041668 0003E5C8 41 82 00 18 */ beq lbl_80041680 +/* 8004166C 0003E5CC FC 20 E0 90 */ fmr f1, f28 +/* 80041670 0003E5D0 7F 83 E3 78 */ mr r3, r28 +/* 80041674 0003E5D4 7F A4 EB 78 */ mr r4, r29 +/* 80041678 0003E5D8 4B FF DD C5 */ bl UpdateChargeState__10CPlayerGunFfR13CStateManager +/* 8004167C 0003E5DC 48 00 00 24 */ b lbl_800416A0 +lbl_80041680: +/* 80041680 0003E5E0 C0 3C 03 40 */ lfs f1, 0x340(r28) +/* 80041684 0003E5E4 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80041688 0003E5E8 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 8004168C 0003E5EC D0 3C 03 40 */ stfs f1, 0x340(r28) +/* 80041690 0003E5F0 C0 3C 03 40 */ lfs f1, 0x340(r28) +/* 80041694 0003E5F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80041698 0003E5F8 40 80 00 08 */ bge lbl_800416A0 +/* 8004169C 0003E5FC D0 1C 03 40 */ stfs f0, 0x340(r28) +lbl_800416A0: +/* 800416A0 0003E600 FC 20 E0 90 */ fmr f1, f28 +/* 800416A4 0003E604 7F 83 E3 78 */ mr r3, r28 +/* 800416A8 0003E608 7F A5 EB 78 */ mr r5, r29 +/* 800416AC 0003E60C 38 81 03 30 */ addi r4, r1, 0x330 +/* 800416B0 0003E610 4B FF A2 9D */ bl UpdateAuxWeapons__10CPlayerGunFfRC12CTransform4fR13CStateManager +/* 800416B4 0003E614 FC 20 E0 90 */ fmr f1, f28 +/* 800416B8 0003E618 7F 83 E3 78 */ mr r3, r28 +/* 800416BC 0003E61C 7F A4 EB 78 */ mr r4, r29 +/* 800416C0 0003E620 4B FF AA 41 */ bl DoUserAnimEvents__10CPlayerGunFfR13CStateManager +/* 800416C4 0003E624 80 1B 03 04 */ lwz r0, 0x304(r27) +/* 800416C8 0003E628 2C 00 00 01 */ cmpwi r0, 1 +/* 800416CC 0003E62C 40 82 00 70 */ bne lbl_8004173C +/* 800416D0 0003E630 7F 84 E3 78 */ mr r4, r28 +/* 800416D4 0003E634 7F A5 EB 78 */ mr r5, r29 +/* 800416D8 0003E638 38 61 00 08 */ addi r3, r1, 8 +/* 800416DC 0003E63C 4B FF CB 21 */ bl GetTargetId__10CPlayerGunFR13CStateManager +/* 800416E0 0003E640 A0 61 00 08 */ lhz r3, 8(r1) +/* 800416E4 0003E644 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800416E8 0003E648 7C 03 00 40 */ cmplw r3, r0 +/* 800416EC 0003E64C 41 82 00 50 */ beq lbl_8004173C +/* 800416F0 0003E650 88 7C 08 32 */ lbz r3, 0x832(r28) +/* 800416F4 0003E654 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 800416F8 0003E658 40 82 00 4C */ bne lbl_80041744 +/* 800416FC 0003E65C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80041700 0003E660 40 82 00 44 */ bne lbl_80041744 +/* 80041704 0003E664 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80041708 0003E668 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 8004170C 0003E66C 2C 00 00 10 */ cmpwi r0, 0x10 +/* 80041710 0003E670 41 82 00 34 */ beq lbl_80041744 +/* 80041714 0003E674 38 00 00 01 */ li r0, 1 +/* 80041718 0003E678 7F A4 EB 78 */ mr r4, r29 +/* 8004171C 0003E67C 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d +/* 80041720 0003E680 38 A0 00 01 */ li r5, 1 +/* 80041724 0003E684 98 7C 08 32 */ stb r3, 0x832(r28) +/* 80041728 0003E688 38 00 00 02 */ li r0, 2 +/* 8004172C 0003E68C 7F 83 E3 78 */ mr r3, r28 +/* 80041730 0003E690 90 1C 06 C0 */ stw r0, 0x6c0(r28) +/* 80041734 0003E694 4B FF A5 05 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb +/* 80041738 0003E698 48 00 00 0C */ b lbl_80041744 +lbl_8004173C: +/* 8004173C 0003E69C 7F 83 E3 78 */ mr r3, r28 +/* 80041740 0003E6A0 4B FF A1 AD */ bl CancelLockOn__10CPlayerGunFv +lbl_80041744: +/* 80041744 0003E6A4 FC 20 E0 90 */ fmr f1, f28 +/* 80041748 0003E6A8 7F 83 E3 78 */ mr r3, r28 +/* 8004174C 0003E6AC 7F E4 FB 78 */ mr r4, r31 +/* 80041750 0003E6B0 7F A5 EB 78 */ mr r5, r29 +/* 80041754 0003E6B4 4B FF C2 A9 */ bl UpdateWeaponFire__10CPlayerGunFfR12CPlayerStateR13CStateManager +/* 80041758 0003E6B8 C0 3C 03 64 */ lfs f1, 0x364(r28) +/* 8004175C 0003E6BC 7F 83 E3 78 */ mr r3, r28 +/* 80041760 0003E6C0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80041764 0003E6C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80041768 0003E6C8 7C 00 00 26 */ mfcr r0 +/* 8004176C 0003E6CC FC 20 D8 90 */ fmr f1, f27 +/* 80041770 0003E6D0 FC 40 E0 90 */ fmr f2, f28 +/* 80041774 0003E6D4 7F A5 EB 78 */ mr r5, r29 +/* 80041778 0003E6D8 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f +/* 8004177C 0003E6DC 4B FF BA 8D */ bl UpdateGunIdle__10CPlayerGunFbffR13CStateManager +/* 80041780 0003E6E0 80 1C 02 EC */ lwz r0, 0x2ec(r28) +/* 80041784 0003E6E4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80041788 0003E6E8 41 82 00 10 */ beq lbl_80041798 +/* 8004178C 0003E6EC C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80041790 0003E6F0 D0 1C 03 78 */ stfs f0, 0x378(r28) +/* 80041794 0003E6F4 48 00 00 3C */ b lbl_800417D0 +lbl_80041798: +/* 80041798 0003E6F8 C0 3C 03 78 */ lfs f1, 0x378(r28) +/* 8004179C 0003E6FC C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) +/* 800417A0 0003E700 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800417A4 0003E704 40 80 00 2C */ bge lbl_800417D0 +/* 800417A8 0003E708 EC 21 E0 2A */ fadds f1, f1, f28 +/* 800417AC 0003E70C C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 800417B0 0003E710 D0 3C 03 78 */ stfs f1, 0x378(r28) +/* 800417B4 0003E714 C0 3C 03 78 */ lfs f1, 0x378(r28) +/* 800417B8 0003E718 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800417BC 0003E71C 40 81 00 14 */ ble lbl_800417D0 +/* 800417C0 0003E720 38 00 00 00 */ li r0, 0 +/* 800417C4 0003E724 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 800417C8 0003E728 90 1C 03 0C */ stw r0, 0x30c(r28) +/* 800417CC 0003E72C D0 1C 03 80 */ stfs f0, 0x380(r28) +lbl_800417D0: +/* 800417D0 0003E730 C0 3C 03 8C */ lfs f1, 0x38c(r28) +/* 800417D4 0003E734 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 800417D8 0003E738 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800417DC 0003E73C 40 81 00 0C */ ble lbl_800417E8 +/* 800417E0 0003E740 EC 01 E0 28 */ fsubs f0, f1, f28 +/* 800417E4 0003E744 D0 1C 03 8C */ stfs f0, 0x38c(r28) +lbl_800417E8: +/* 800417E8 0003E748 80 1C 03 0C */ lwz r0, 0x30c(r28) +/* 800417EC 0003E74C 2C 00 00 05 */ cmpwi r0, 5 +/* 800417F0 0003E750 40 81 00 1C */ ble lbl_8004180C +/* 800417F4 0003E754 C0 3C 03 80 */ lfs f1, 0x380(r28) +/* 800417F8 0003E758 C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) +/* 800417FC 0003E75C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80041800 0003E760 40 80 00 0C */ bge lbl_8004180C +/* 80041804 0003E764 EC 01 E0 2A */ fadds f0, f1, f28 +/* 80041808 0003E768 D0 1C 03 80 */ stfs f0, 0x380(r28) +lbl_8004180C: +/* 8004180C 0003E76C C0 3C 03 84 */ lfs f1, 0x384(r28) +/* 80041810 0003E770 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80041814 0003E774 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80041818 0003E778 40 81 00 0C */ ble lbl_80041824 +/* 8004181C 0003E77C EC 01 E0 28 */ fsubs f0, f1, f28 +/* 80041820 0003E780 D0 1C 03 84 */ stfs f0, 0x384(r28) +lbl_80041824: +/* 80041824 0003E784 C0 3C 03 64 */ lfs f1, 0x364(r28) +/* 80041828 0003E788 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8004182C 0003E78C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80041830 0003E790 40 81 00 18 */ ble lbl_80041848 +/* 80041834 0003E794 38 00 00 00 */ li r0, 0 +/* 80041838 0003E798 90 1C 02 F4 */ stw r0, 0x2f4(r28) +/* 8004183C 0003E79C C0 1C 03 64 */ lfs f0, 0x364(r28) +/* 80041840 0003E7A0 EC 00 E0 28 */ fsubs f0, f0, f28 +/* 80041844 0003E7A4 D0 1C 03 64 */ stfs f0, 0x364(r28) +lbl_80041848: +/* 80041848 0003E7A8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8004184C 0003E7AC 41 82 00 3C */ beq lbl_80041888 +/* 80041850 0003E7B0 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80041854 0003E7B4 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d +/* 80041858 0003E7B8 2C 00 00 04 */ cmpwi r0, 4 +/* 8004185C 0003E7BC 40 82 00 2C */ bne lbl_80041888 +/* 80041860 0003E7C0 C0 3C 03 A0 */ lfs f1, 0x3a0(r28) +/* 80041864 0003E7C4 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80041868 0003E7C8 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 8004186C 0003E7CC D0 3C 03 A0 */ stfs f1, 0x3a0(r28) +/* 80041870 0003E7D0 C0 3C 03 A0 */ lfs f1, 0x3a0(r28) +/* 80041874 0003E7D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80041878 0003E7D8 40 80 00 10 */ bge lbl_80041888 +/* 8004187C 0003E7DC D0 1C 03 A0 */ stfs f0, 0x3a0(r28) +/* 80041880 0003E7E0 7F 83 E3 78 */ mr r3, r28 +/* 80041884 0003E7E4 4B FF EC 15 */ bl ExitMissile__10CPlayerGunFv +lbl_80041888: +/* 80041888 0003E7E8 E3 E1 0C 38 */ psq_l f31, -968(r1), 0, qr0 +/* 8004188C 0003E7EC CB E1 0C 30 */ lfd f31, 0xc30(r1) +/* 80041890 0003E7F0 E3 C1 0C 28 */ psq_l f30, -984(r1), 0, qr0 +/* 80041894 0003E7F4 CB C1 0C 20 */ lfd f30, 0xc20(r1) +/* 80041898 0003E7F8 E3 A1 0C 18 */ psq_l f29, -1000(r1), 0, qr0 +/* 8004189C 0003E7FC CB A1 0C 10 */ lfd f29, 0xc10(r1) +/* 800418A0 0003E800 E3 81 0C 08 */ psq_l f28, -1016(r1), 0, qr0 +/* 800418A4 0003E804 CB 81 0C 00 */ lfd f28, 0xc00(r1) +/* 800418A8 0003E808 E3 61 0B F8 */ psq_l f27, -1032(r1), 0, qr0 +/* 800418AC 0003E80C CB 61 0B F0 */ lfd f27, 0xbf0(r1) +/* 800418B0 0003E810 BA E1 0B CC */ lmw r23, 0xbcc(r1) +/* 800418B4 0003E814 80 01 0C 44 */ lwz r0, 0xc44(r1) +/* 800418B8 0003E818 7C 08 03 A6 */ mtlr r0 +/* 800418BC 0003E81C 38 21 0C 40 */ addi r1, r1, 0xc40 +/* 800418C0 0003E820 4E 80 00 20 */ blr + +.global PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb +PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb: +/* 800418C4 0003E824 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800418C8 0003E828 7C 08 02 A6 */ mflr r0 +/* 800418CC 0003E82C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800418D0 0003E830 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800418D4 0003E834 7C 7F 1B 78 */ mr r31, r3 +/* 800418D8 0003E838 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800418DC 0003E83C 7C 9E 23 78 */ mr r30, r4 +/* 800418E0 0003E840 80 03 03 38 */ lwz r0, 0x338(r3) +/* 800418E4 0003E844 2C 00 00 05 */ cmpwi r0, 5 +/* 800418E8 0003E848 41 82 00 18 */ beq lbl_80041900 +/* 800418EC 0003E84C 80 7F 07 2C */ lwz r3, 0x72c(r31) +/* 800418F0 0003E850 81 83 00 00 */ lwz r12, 0(r3) +/* 800418F4 0003E854 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800418F8 0003E858 7D 89 03 A6 */ mtctr r12 +/* 800418FC 0003E85C 4E 80 04 21 */ bctrl +lbl_80041900: +/* 80041900 0003E860 2C 1E 00 07 */ cmpwi r30, 7 +/* 80041904 0003E864 A0 62 C5 FC */ lhz r3, lbl_805AE31C@sda21(r2) +/* 80041908 0003E868 41 82 00 80 */ beq lbl_80041988 +/* 8004190C 0003E86C 40 80 00 14 */ bge lbl_80041920 +/* 80041910 0003E870 2C 1E 00 05 */ cmpwi r30, 5 +/* 80041914 0003E874 41 82 00 1C */ beq lbl_80041930 +/* 80041918 0003E878 40 80 00 54 */ bge lbl_8004196C +/* 8004191C 0003E87C 48 00 00 6C */ b lbl_80041988 +lbl_80041920: +/* 80041920 0003E880 2C 1E 00 09 */ cmpwi r30, 9 +/* 80041924 0003E884 41 82 00 34 */ beq lbl_80041958 +/* 80041928 0003E888 40 80 00 60 */ bge lbl_80041988 +/* 8004192C 0003E88C 48 00 00 24 */ b lbl_80041950 +lbl_80041930: +/* 80041930 0003E890 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80041934 0003E894 38 62 84 58 */ addi r3, r2, lbl_805AA178@sda21 +/* 80041938 0003E898 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c +/* 8004193C 0003E89C 90 1F 02 F8 */ stw r0, 0x2f8(r31) +/* 80041940 0003E8A0 80 1F 03 10 */ lwz r0, 0x310(r31) +/* 80041944 0003E8A4 54 00 08 3C */ slwi r0, r0, 1 +/* 80041948 0003E8A8 7C 63 02 2E */ lhzx r3, r3, r0 +/* 8004194C 0003E8AC 48 00 00 3C */ b lbl_80041988 +lbl_80041950: +/* 80041950 0003E8B0 38 60 06 E9 */ li r3, 0x6e9 +/* 80041954 0003E8B4 48 00 00 34 */ b lbl_80041988 +lbl_80041958: +/* 80041958 0003E8B8 80 1F 03 10 */ lwz r0, 0x310(r31) +/* 8004195C 0003E8BC 38 6D 82 38 */ addi r3, r13, lbl_805A6DF8@sda21 +/* 80041960 0003E8C0 54 00 08 3C */ slwi r0, r0, 1 +/* 80041964 0003E8C4 7C 63 02 2E */ lhzx r3, r3, r0 +/* 80041968 0003E8C8 48 00 00 20 */ b lbl_80041988 +lbl_8004196C: +/* 8004196C 0003E8CC 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80041970 0003E8D0 38 62 84 50 */ addi r3, r2, lbl_805AA170@sda21 +/* 80041974 0003E8D4 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e +/* 80041978 0003E8D8 90 1F 02 F8 */ stw r0, 0x2f8(r31) +/* 8004197C 0003E8DC 80 1F 03 10 */ lwz r0, 0x310(r31) +/* 80041980 0003E8E0 54 00 08 3C */ slwi r0, r0, 1 +/* 80041984 0003E8E4 7C 63 02 2E */ lhzx r3, r3, r0 +lbl_80041988: +/* 80041988 0003E8E8 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 8004198C 0003E8EC 54 64 04 3E */ clrlwi r4, r3, 0x10 +/* 80041990 0003E8F0 7C 04 00 40 */ cmplw r4, r0 +/* 80041994 0003E8F4 41 82 00 1C */ beq lbl_800419B0 +/* 80041998 0003E8F8 88 1F 08 34 */ lbz r0, 0x834(r31) +/* 8004199C 0003E8FC 38 61 00 08 */ addi r3, r1, 8 +/* 800419A0 0003E900 38 C0 00 00 */ li r6, 0 +/* 800419A4 0003E904 38 E0 00 4A */ li r7, 0x4a +/* 800419A8 0003E908 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f +/* 800419AC 0003E90C 48 24 91 4D */ bl play_sfx__12NWeaponTypesFUsbbs +lbl_800419B0: +/* 800419B0 0003E910 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800419B4 0003E914 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800419B8 0003E918 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800419BC 0003E91C 7C 08 03 A6 */ mtlr r0 +/* 800419C0 0003E920 38 21 00 20 */ addi r1, r1, 0x20 +/* 800419C4 0003E924 4E 80 00 20 */ blr + +.global "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" +"GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb": +/* 800419C8 0003E928 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800419CC 0003E92C 7C 08 02 A6 */ mflr r0 +/* 800419D0 0003E930 90 01 00 84 */ stw r0, 0x84(r1) +/* 800419D4 0003E934 55 00 06 3F */ clrlwi. r0, r8, 0x18 +/* 800419D8 0003E938 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 800419DC 0003E93C 7C FF 3B 78 */ mr r31, r7 +/* 800419E0 0003E940 93 C1 00 78 */ stw r30, 0x78(r1) +/* 800419E4 0003E944 7C 9E 23 78 */ mr r30, r4 +/* 800419E8 0003E948 93 A1 00 74 */ stw r29, 0x74(r1) +/* 800419EC 0003E94C 7C 7D 1B 78 */ mr r29, r3 +/* 800419F0 0003E950 41 82 00 20 */ beq lbl_80041A10 +/* 800419F4 0003E954 7C A4 2B 78 */ mr r4, r5 +/* 800419F8 0003E958 7C C5 33 78 */ mr r5, r6 +/* 800419FC 0003E95C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80041A00 0003E960 38 C0 00 00 */ li r6, 0 +/* 80041A04 0003E964 48 0D 3F 19 */ bl "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +/* 80041A08 0003E968 38 81 00 38 */ addi r4, r1, 0x38 +/* 80041A0C 0003E96C 48 00 00 18 */ b lbl_80041A24 +lbl_80041A10: +/* 80041A10 0003E970 7C A4 2B 78 */ mr r4, r5 +/* 80041A14 0003E974 7C C5 33 78 */ mr r5, r6 +/* 80041A18 0003E978 38 61 00 08 */ addi r3, r1, 8 +/* 80041A1C 0003E97C 48 0D 3F 85 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80041A20 0003E980 38 81 00 08 */ addi r4, r1, 8 +lbl_80041A24: +/* 80041A24 0003E984 7F C3 F3 78 */ mr r3, r30 +/* 80041A28 0003E988 48 2D 11 19 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80041A2C 0003E98C 88 1D 08 34 */ lbz r0, 0x834(r29) +/* 80041A30 0003E990 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80041A34 0003E994 41 82 00 3C */ beq lbl_80041A70 +/* 80041A38 0003E998 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80041A3C 0003E99C 41 82 00 34 */ beq lbl_80041A70 +/* 80041A40 0003E9A0 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 80041A44 0003E9A4 C0 1D 03 4C */ lfs f0, 0x34c(r29) +/* 80041A48 0003E9A8 C0 5D 03 50 */ lfs f2, 0x350(r29) +/* 80041A4C 0003E9AC EC 21 00 2A */ fadds f1, f1, f0 +/* 80041A50 0003E9B0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80041A54 0003E9B4 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80041A58 0003E9B8 C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 80041A5C 0003E9BC EC 01 00 2A */ fadds f0, f1, f0 +/* 80041A60 0003E9C0 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80041A64 0003E9C4 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 80041A68 0003E9C8 EC 00 10 2A */ fadds f0, f0, f2 +/* 80041A6C 0003E9CC D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_80041A70: +/* 80041A70 0003E9D0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80041A74 0003E9D4 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80041A78 0003E9D8 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80041A7C 0003E9DC 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 80041A80 0003E9E0 7C 08 03 A6 */ mtlr r0 +/* 80041A84 0003E9E4 38 21 00 80 */ addi r1, r1, 0x80 +/* 80041A88 0003E9E8 4E 80 00 20 */ blr + +.global Render__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags +Render__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags: +/* 80041A8C 0003E9EC 94 21 FB 90 */ stwu r1, -0x470(r1) +/* 80041A90 0003E9F0 7C 08 02 A6 */ mflr r0 +/* 80041A94 0003E9F4 90 01 04 74 */ stw r0, 0x474(r1) +/* 80041A98 0003E9F8 BE C1 04 48 */ stmw r22, 0x448(r1) +/* 80041A9C 0003E9FC 7C 7C 1B 78 */ mr r28, r3 +/* 80041AA0 0003EA00 7C 9D 23 78 */ mr r29, r4 +/* 80041AA4 0003EA04 7C BE 2B 78 */ mr r30, r5 +/* 80041AA8 0003EA08 7C DF 33 78 */ mr r31, r6 +/* 80041AAC 0003EA0C 48 2C 83 B1 */ bl GetProjectionState__9CGraphicsFv +/* 80041AB0 0003EA10 88 03 00 00 */ lbz r0, 0(r3) +/* 80041AB4 0003EA14 80 9D 08 B8 */ lwz r4, 0x8b8(r29) +/* 80041AB8 0003EA18 98 01 00 38 */ stb r0, 0x38(r1) +/* 80041ABC 0003EA1C C0 03 00 04 */ lfs f0, 4(r3) +/* 80041AC0 0003EA20 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80041AC4 0003EA24 C0 03 00 08 */ lfs f0, 8(r3) +/* 80041AC8 0003EA28 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80041ACC 0003EA2C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80041AD0 0003EA30 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80041AD4 0003EA34 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80041AD8 0003EA38 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80041ADC 0003EA3C C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80041AE0 0003EA40 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80041AE4 0003EA44 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80041AE8 0003EA48 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80041AEC 0003EA4C 80 64 00 00 */ lwz r3, 0(r4) +/* 80041AF0 0003EA50 83 23 00 14 */ lwz r25, 0x14(r3) +/* 80041AF4 0003EA54 20 19 00 03 */ subfic r0, r25, 3 +/* 80041AF8 0003EA58 7C 03 00 34 */ cntlzw r3, r0 +/* 80041AFC 0003EA5C 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 80041B00 0003EA60 54 78 D9 7E */ srwi r24, r3, 5 +/* 80041B04 0003EA64 41 82 00 1C */ beq lbl_80041B20 +/* 80041B08 0003EA68 80 9C 03 10 */ lwz r4, 0x310(r28) +/* 80041B0C 0003EA6C 3C 60 80 46 */ lis r3, lbl_8045C530@ha +/* 80041B10 0003EA70 38 03 C5 30 */ addi r0, r3, lbl_8045C530@l +/* 80041B14 0003EA74 54 83 18 38 */ slwi r3, r4, 3 +/* 80041B18 0003EA78 7F 60 1A 14 */ add r27, r0, r3 +/* 80041B1C 0003EA7C 48 00 00 48 */ b lbl_80041B64 +lbl_80041B20: +/* 80041B20 0003EA80 88 1C 08 35 */ lbz r0, 0x835(r28) +/* 80041B24 0003EA84 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80041B28 0003EA88 41 82 00 38 */ beq lbl_80041B60 +/* 80041B2C 0003EA8C C0 3C 03 9C */ lfs f1, 0x39c(r28) +/* 80041B30 0003EA90 38 60 FF FF */ li r3, -1 +/* 80041B34 0003EA94 38 80 00 FF */ li r4, 0xff +/* 80041B38 0003EA98 48 32 16 DD */ bl Lerp__6CColorFUiUif +/* 80041B3C 0003EA9C 38 A0 00 01 */ li r5, 1 +/* 80041B40 0003EAA0 38 80 00 00 */ li r4, 0 +/* 80041B44 0003EAA4 38 00 00 03 */ li r0, 3 +/* 80041B48 0003EAA8 98 A1 00 18 */ stb r5, 0x18(r1) +/* 80041B4C 0003EAAC 3B 61 00 18 */ addi r27, r1, 0x18 +/* 80041B50 0003EAB0 98 81 00 19 */ stb r4, 0x19(r1) +/* 80041B54 0003EAB4 B0 01 00 1A */ sth r0, 0x1a(r1) +/* 80041B58 0003EAB8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80041B5C 0003EABC 48 00 00 08 */ b lbl_80041B64 +lbl_80041B60: +/* 80041B60 0003EAC0 7F FB FB 78 */ mr r27, r31 +lbl_80041B64: +/* 80041B64 0003EAC4 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80041B68 0003EAC8 7F A4 EB 78 */ mr r4, r29 +/* 80041B6C 0003EACC 4B FC 9F AD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80041B70 0003EAD0 C0 22 85 08 */ lfs f1, lbl_805AA228@sda21(r2) +/* 80041B74 0003EAD4 7C 77 1B 78 */ mr r23, r3 +/* 80041B78 0003EAD8 C0 42 85 0C */ lfs f2, lbl_805AA22C@sda21(r2) +/* 80041B7C 0003EADC 48 2C 88 65 */ bl SetDepthRange__9CGraphicsFff +/* 80041B80 0003EAE0 38 61 02 64 */ addi r3, r1, 0x264 +/* 80041B84 0003EAE4 38 9C 04 A8 */ addi r4, r28, 0x4a8 +/* 80041B88 0003EAE8 48 2D 0F ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80041B8C 0003EAEC 7F C4 F3 78 */ mr r4, r30 +/* 80041B90 0003EAF0 38 61 02 94 */ addi r3, r1, 0x294 +/* 80041B94 0003EAF4 48 2D 15 AD */ bl Translate__12CTransform4fFRC9CVector3f +/* 80041B98 0003EAF8 38 61 02 C4 */ addi r3, r1, 0x2c4 +/* 80041B9C 0003EAFC 38 81 02 94 */ addi r4, r1, 0x294 +/* 80041BA0 0003EB00 38 A1 02 64 */ addi r5, r1, 0x264 +/* 80041BA4 0003EB04 48 2D 0D AD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80041BA8 0003EB08 38 61 04 14 */ addi r3, r1, 0x414 +/* 80041BAC 0003EB0C 38 81 02 C4 */ addi r4, r1, 0x2c4 +/* 80041BB0 0003EB10 48 2D 0F C5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80041BB4 0003EB14 38 61 02 34 */ addi r3, r1, 0x234 +/* 80041BB8 0003EB18 38 81 04 14 */ addi r4, r1, 0x414 +/* 80041BBC 0003EB1C 38 BC 05 08 */ addi r5, r28, 0x508 +/* 80041BC0 0003EB20 48 2D 0D 91 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80041BC4 0003EB24 38 61 03 E4 */ addi r3, r1, 0x3e4 +/* 80041BC8 0003EB28 38 81 02 34 */ addi r4, r1, 0x234 +/* 80041BCC 0003EB2C 48 2D 0F A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80041BD0 0003EB30 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 80041BD4 0003EB34 2C 00 00 00 */ cmpwi r0, 0 +/* 80041BD8 0003EB38 41 82 00 44 */ beq lbl_80041C1C +/* 80041BDC 0003EB3C 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80041BE0 0003EB40 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 80041BE4 0003EB44 2C 00 00 10 */ cmpwi r0, 0x10 +/* 80041BE8 0003EB48 41 82 00 34 */ beq lbl_80041C1C +/* 80041BEC 0003EB4C C0 3C 03 50 */ lfs f1, 0x350(r28) +/* 80041BF0 0003EB50 C0 01 04 40 */ lfs f0, 0x440(r1) +/* 80041BF4 0003EB54 C0 81 04 20 */ lfs f4, 0x420(r1) +/* 80041BF8 0003EB58 C0 7C 03 4C */ lfs f3, 0x34c(r28) +/* 80041BFC 0003EB5C EC 00 08 2A */ fadds f0, f0, f1 +/* 80041C00 0003EB60 C0 41 04 30 */ lfs f2, 0x430(r1) +/* 80041C04 0003EB64 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 80041C08 0003EB68 EC 64 18 2A */ fadds f3, f4, f3 +/* 80041C0C 0003EB6C D0 01 04 40 */ stfs f0, 0x440(r1) +/* 80041C10 0003EB70 EC 02 08 2A */ fadds f0, f2, f1 +/* 80041C14 0003EB74 D0 61 04 20 */ stfs f3, 0x420(r1) +/* 80041C18 0003EB78 D0 01 04 30 */ stfs f0, 0x430(r1) +lbl_80041C1C: +/* 80041C1C 0003EB7C 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 80041C20 0003EB80 82 DC 06 98 */ lwz r22, 0x698(r28) +/* 80041C24 0003EB84 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 80041C28 0003EB88 38 61 03 B4 */ addi r3, r1, 0x3b4 +/* 80041C2C 0003EB8C 48 2D 0F 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80041C30 0003EB90 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 80041C34 0003EB94 38 81 04 14 */ addi r4, r1, 0x414 +/* 80041C38 0003EB98 48 2D 0A A9 */ bl GetInverse__12CTransform4fCFv +/* 80041C3C 0003EB9C 38 61 02 04 */ addi r3, r1, 0x204 +/* 80041C40 0003EBA0 38 81 01 D4 */ addi r4, r1, 0x1d4 +/* 80041C44 0003EBA4 38 A1 03 B4 */ addi r5, r1, 0x3b4 +/* 80041C48 0003EBA8 48 2D 0D 09 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80041C4C 0003EBAC 38 61 02 04 */ addi r3, r1, 0x204 +/* 80041C50 0003EBB0 48 2C AA FD */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 80041C54 0003EBB4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80041C58 0003EBB8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80041C5C 0003EBBC 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80041C60 0003EBC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80041C64 0003EBC4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80041C68 0003EBC8 7D 89 03 A6 */ mtctr r12 +/* 80041C6C 0003EBCC 4E 80 04 21 */ bctrl +/* 80041C70 0003EBD0 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 80041C74 0003EBD4 2C 00 00 04 */ cmpwi r0, 4 +/* 80041C78 0003EBD8 41 80 00 2C */ blt lbl_80041CA4 +/* 80041C7C 0003EBDC 2C 00 00 05 */ cmpwi r0, 5 +/* 80041C80 0003EBE0 40 80 00 24 */ bge lbl_80041CA4 +/* 80041C84 0003EBE4 80 1C 03 20 */ lwz r0, 0x320(r28) +/* 80041C88 0003EBE8 54 00 18 38 */ slwi r0, r0, 3 +/* 80041C8C 0003EBEC 7C 7C 02 14 */ add r3, r28, r0 +/* 80041C90 0003EBF0 80 63 08 08 */ lwz r3, 0x808(r3) +/* 80041C94 0003EBF4 81 83 00 00 */ lwz r12, 0(r3) +/* 80041C98 0003EBF8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80041C9C 0003EBFC 7D 89 03 A6 */ mtctr r12 +/* 80041CA0 0003EC00 4E 80 04 21 */ bctrl +lbl_80041CA4: +/* 80041CA4 0003EC04 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 80041CA8 0003EC08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80041CAC 0003EC0C 41 82 00 38 */ beq lbl_80041CE4 +/* 80041CB0 0003EC10 C0 3C 03 8C */ lfs f1, 0x38c(r28) +/* 80041CB4 0003EC14 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80041CB8 0003EC18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80041CBC 0003EC1C 41 81 00 10 */ bgt lbl_80041CCC +/* 80041CC0 0003EC20 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 80041CC4 0003EC24 2C 00 00 02 */ cmpwi r0, 2 +/* 80041CC8 0003EC28 40 81 00 1C */ ble lbl_80041CE4 +lbl_80041CCC: +/* 80041CCC 0003EC2C 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80041CD0 0003EC30 7F A4 EB 78 */ mr r4, r29 +/* 80041CD4 0003EC34 81 83 00 00 */ lwz r12, 0(r3) +/* 80041CD8 0003EC38 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80041CDC 0003EC3C 7D 89 03 A6 */ mtctr r12 +/* 80041CE0 0003EC40 4E 80 04 21 */ bctrl +lbl_80041CE4: +/* 80041CE4 0003EC44 2C 16 00 02 */ cmpwi r22, 2 +/* 80041CE8 0003EC48 41 82 00 0C */ beq lbl_80041CF4 +/* 80041CEC 0003EC4C 2C 16 00 03 */ cmpwi r22, 3 +/* 80041CF0 0003EC50 40 82 00 18 */ bne lbl_80041D08 +lbl_80041CF4: +/* 80041CF4 0003EC54 80 7C 07 78 */ lwz r3, 0x778(r28) +/* 80041CF8 0003EC58 81 83 00 00 */ lwz r12, 0(r3) +/* 80041CFC 0003EC5C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80041D00 0003EC60 7D 89 03 A6 */ mtctr r12 +/* 80041D04 0003EC64 4E 80 04 21 */ bctrl +lbl_80041D08: +/* 80041D08 0003EC68 38 61 03 B4 */ addi r3, r1, 0x3b4 +/* 80041D0C 0003EC6C 48 2C AA 41 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 80041D10 0003EC70 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80041D14 0003EC74 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b +/* 80041D18 0003EC78 2C 00 00 10 */ cmpwi r0, 0x10 +/* 80041D1C 0003EC7C 40 82 00 0C */ bne lbl_80041D28 +/* 80041D20 0003EC80 80 7C 07 44 */ lwz r3, 0x744(r28) +/* 80041D24 0003EC84 48 17 7B 4D */ bl RenderMuzzleFx__10CAuxWeaponCFv +lbl_80041D28: +/* 80041D28 0003EC88 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80041D2C 0003EC8C 7F A4 EB 78 */ mr r4, r29 +/* 80041D30 0003EC90 38 A1 04 14 */ addi r5, r1, 0x414 +/* 80041D34 0003EC94 81 83 00 00 */ lwz r12, 0(r3) +/* 80041D38 0003EC98 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80041D3C 0003EC9C 7D 89 03 A6 */ mtctr r12 +/* 80041D40 0003ECA0 4E 80 04 21 */ bctrl +/* 80041D44 0003ECA4 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 80041D48 0003ECA8 3B 40 00 00 */ li r26, 0 +/* 80041D4C 0003ECAC 88 03 03 B2 */ lbz r0, 0x3b2(r3) +/* 80041D50 0003ECB0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80041D54 0003ECB4 40 82 00 18 */ bne lbl_80041D6C +/* 80041D58 0003ECB8 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80041D5C 0003ECBC 80 03 04 98 */ lwz r0, 0x498(r3) +/* 80041D60 0003ECC0 2C 00 00 02 */ cmpwi r0, 2 +/* 80041D64 0003ECC4 40 82 00 08 */ bne lbl_80041D6C +/* 80041D68 0003ECC8 3B 40 00 01 */ li r26, 1 +lbl_80041D6C: +/* 80041D6C 0003ECCC 80 7C 07 3C */ lwz r3, 0x73c(r28) +/* 80041D70 0003ECD0 7F A4 EB 78 */ mr r4, r29 +/* 80041D74 0003ECD4 38 A1 04 14 */ addi r5, r1, 0x414 +/* 80041D78 0003ECD8 48 19 73 31 */ bl Draw__10CGunMotionCFRC13CStateManagerRC12CTransform4f +/* 80041D7C 0003ECDC 2C 16 00 01 */ cmpwi r22, 1 +/* 80041D80 0003ECE0 41 82 00 20 */ beq lbl_80041DA0 +/* 80041D84 0003ECE4 40 80 00 10 */ bge lbl_80041D94 +/* 80041D88 0003ECE8 2C 16 00 00 */ cmpwi r22, 0 +/* 80041D8C 0003ECEC 40 80 00 D8 */ bge lbl_80041E64 +/* 80041D90 0003ECF0 48 00 03 00 */ b lbl_80042090 +lbl_80041D94: +/* 80041D94 0003ECF4 2C 16 00 04 */ cmpwi r22, 4 +/* 80041D98 0003ECF8 40 80 02 F8 */ bge lbl_80042090 +/* 80041D9C 0003ECFC 48 00 00 C8 */ b lbl_80041E64 +lbl_80041DA0: +/* 80041DA0 0003ED00 80 BC 02 9C */ lwz r5, 0x29c(r28) +/* 80041DA4 0003ED04 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) +/* 80041DA8 0003ED08 7C 05 00 40 */ cmplw r5, r0 +/* 80041DAC 0003ED0C 41 82 00 14 */ beq lbl_80041DC0 +/* 80041DB0 0003ED10 80 7C 08 2C */ lwz r3, 0x82c(r28) +/* 80041DB4 0003ED14 38 81 04 14 */ addi r4, r1, 0x414 +/* 80041DB8 0003ED18 C0 22 85 10 */ lfs f1, lbl_805AA230@sda21(r2) +/* 80041DBC 0003ED1C 48 0C F1 FD */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif +lbl_80041DC0: +/* 80041DC0 0003ED20 2C 19 00 01 */ cmpwi r25, 1 +/* 80041DC4 0003ED24 40 82 00 58 */ bne lbl_80041E1C +/* 80041DC8 0003ED28 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 80041DCC 0003ED2C 38 61 01 74 */ addi r3, r1, 0x174 +/* 80041DD0 0003ED30 C0 42 85 14 */ lfs f2, lbl_805AA234@sda21(r2) +/* 80041DD4 0003ED34 C0 62 85 18 */ lfs f3, lbl_805AA238@sda21(r2) +/* 80041DD8 0003ED38 48 2D 13 B1 */ bl Translate__12CTransform4fFfff +/* 80041DDC 0003ED3C 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 80041DE0 0003ED40 38 81 03 E4 */ addi r4, r1, 0x3e4 +/* 80041DE4 0003ED44 38 A1 01 74 */ addi r5, r1, 0x174 +/* 80041DE8 0003ED48 48 2D 0B 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80041DEC 0003ED4C 38 61 03 84 */ addi r3, r1, 0x384 +/* 80041DF0 0003ED50 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 80041DF4 0003ED54 48 2D 0D 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80041DF8 0003ED58 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80041DFC 0003ED5C 7F A4 EB 78 */ mr r4, r29 +/* 80041E00 0003ED60 7F 86 E3 78 */ mr r6, r28 +/* 80041E04 0003ED64 38 7C 06 E0 */ addi r3, r28, 0x6e0 +/* 80041E08 0003ED68 38 A1 03 84 */ addi r5, r1, 0x384 +/* 80041E0C 0003ED6C 38 ED A1 CC */ addi r7, r13, lbl_805A8D8C@sda21 +/* 80041E10 0003ED70 41 82 00 08 */ beq lbl_80041E18 +/* 80041E14 0003ED74 38 ED A1 C4 */ addi r7, r13, lbl_805A8D84@sda21 +lbl_80041E18: +/* 80041E18 0003ED78 48 0D 2F A5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_80041E1C: +/* 80041E1C 0003ED7C 7F 83 E3 78 */ mr r3, r28 +/* 80041E20 0003ED80 7F A4 EB 78 */ mr r4, r29 +/* 80041E24 0003ED84 7F C5 F3 78 */ mr r5, r30 +/* 80041E28 0003ED88 7F E6 FB 78 */ mr r6, r31 +/* 80041E2C 0003ED8C 48 00 03 35 */ bl DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags +/* 80041E30 0003ED90 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80041E34 0003ED94 7F 44 D3 78 */ mr r4, r26 +/* 80041E38 0003ED98 7F A5 EB 78 */ mr r5, r29 +/* 80041E3C 0003ED9C 7F 67 DB 78 */ mr r7, r27 +/* 80041E40 0003EDA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80041E44 0003EDA4 7F 88 E3 78 */ mr r8, r28 +/* 80041E48 0003EDA8 38 C1 04 14 */ addi r6, r1, 0x414 +/* 80041E4C 0003EDAC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80041E50 0003EDB0 7D 89 03 A6 */ mtctr r12 +/* 80041E54 0003EDB4 4E 80 04 21 */ bctrl +/* 80041E58 0003EDB8 80 7C 08 2C */ lwz r3, 0x82c(r28) +/* 80041E5C 0003EDBC 48 0C F1 3D */ bl DisableModelProjectedShadow__12CWorldShadowCFv +/* 80041E60 0003EDC0 48 00 02 30 */ b lbl_80042090 +lbl_80041E64: +/* 80041E64 0003EDC4 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 80041E68 0003EDC8 38 61 01 14 */ addi r3, r1, 0x114 +/* 80041E6C 0003EDCC C0 42 85 14 */ lfs f2, lbl_805AA234@sda21(r2) +/* 80041E70 0003EDD0 C0 62 85 18 */ lfs f3, lbl_805AA238@sda21(r2) +/* 80041E74 0003EDD4 48 2D 13 15 */ bl Translate__12CTransform4fFfff +/* 80041E78 0003EDD8 38 61 01 44 */ addi r3, r1, 0x144 +/* 80041E7C 0003EDDC 38 81 03 E4 */ addi r4, r1, 0x3e4 +/* 80041E80 0003EDE0 38 A1 01 14 */ addi r5, r1, 0x114 +/* 80041E84 0003EDE4 48 2D 0A CD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80041E88 0003EDE8 38 61 03 54 */ addi r3, r1, 0x354 +/* 80041E8C 0003EDEC 38 81 01 44 */ addi r4, r1, 0x144 +/* 80041E90 0003EDF0 48 2D 0C E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80041E94 0003EDF4 2C 16 00 00 */ cmpwi r22, 0 +/* 80041E98 0003EDF8 41 82 01 58 */ beq lbl_80041FF0 +/* 80041E9C 0003EDFC C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 80041EA0 0003EE00 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80041EA4 0003EE04 C0 5C 06 78 */ lfs f2, 0x678(r28) +/* 80041EA8 0003EE08 FC 60 08 90 */ fmr f3, f1 +/* 80041EAC 0003EE0C 48 2D 12 DD */ bl Translate__12CTransform4fFfff +/* 80041EB0 0003EE10 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 80041EB4 0003EE14 38 81 03 E4 */ addi r4, r1, 0x3e4 +/* 80041EB8 0003EE18 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 80041EBC 0003EE1C 48 2D 0A 95 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80041EC0 0003EE20 38 61 03 24 */ addi r3, r1, 0x324 +/* 80041EC4 0003EE24 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 80041EC8 0003EE28 48 2D 0C AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80041ECC 0003EE2C 48 00 08 45 */ bl CopyScreenTex__Fv +/* 80041ED0 0003EE30 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80041ED4 0003EE34 7F A4 EB 78 */ mr r4, r29 +/* 80041ED8 0003EE38 7F 86 E3 78 */ mr r6, r28 +/* 80041EDC 0003EE3C 38 7C 06 E0 */ addi r3, r28, 0x6e0 +/* 80041EE0 0003EE40 38 A1 03 54 */ addi r5, r1, 0x354 +/* 80041EE4 0003EE44 38 ED A1 CC */ addi r7, r13, lbl_805A8D8C@sda21 +/* 80041EE8 0003EE48 41 82 00 08 */ beq lbl_80041EF0 +/* 80041EEC 0003EE4C 38 ED A1 C4 */ addi r7, r13, lbl_805A8D84@sda21 +lbl_80041EF0: +/* 80041EF0 0003EE50 48 0D 2E CD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80041EF4 0003EE54 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 80041EF8 0003EE58 38 80 00 00 */ li r4, 0 +/* 80041EFC 0003EE5C 38 00 00 03 */ li r0, 3 +/* 80041F00 0003EE60 98 81 00 10 */ stb r4, 0x10(r1) +/* 80041F04 0003EE64 FC 40 08 90 */ fmr f2, f1 +/* 80041F08 0003EE68 38 61 00 14 */ addi r3, r1, 0x14 +/* 80041F0C 0003EE6C FC 60 08 90 */ fmr f3, f1 +/* 80041F10 0003EE70 98 81 00 11 */ stb r4, 0x11(r1) +/* 80041F14 0003EE74 FC 80 08 90 */ fmr f4, f1 +/* 80041F18 0003EE78 B0 01 00 12 */ sth r0, 0x12(r1) +/* 80041F1C 0003EE7C 48 32 14 D1 */ bl __ct__6CColorFffff +/* 80041F20 0003EE80 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80041F24 0003EE84 7F A4 EB 78 */ mr r4, r29 +/* 80041F28 0003EE88 38 A1 04 14 */ addi r5, r1, 0x414 +/* 80041F2C 0003EE8C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80041F30 0003EE90 48 17 9C 9D */ bl DrawHologram__10CGunWeaponCFRC13CStateManagerRC12CTransform4fRC11CModelFlags +/* 80041F34 0003EE94 C0 41 03 30 */ lfs f2, 0x330(r1) +/* 80041F38 0003EE98 7F 84 E3 78 */ mr r4, r28 +/* 80041F3C 0003EE9C C0 21 03 40 */ lfs f1, 0x340(r1) +/* 80041F40 0003EEA0 7E E6 BB 78 */ mr r6, r23 +/* 80041F44 0003EEA4 C0 01 03 50 */ lfs f0, 0x350(r1) +/* 80041F48 0003EEA8 38 61 00 2C */ addi r3, r1, 0x2c +/* 80041F4C 0003EEAC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80041F50 0003EEB0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80041F54 0003EEB4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80041F58 0003EEB8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80041F5C 0003EEBC 48 00 03 45 */ bl ConvertToScreenSpace__10CPlayerGunCFRC9CVector3fRC11CGameCamera +/* 80041F60 0003EEC0 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80041F64 0003EEC4 48 00 05 25 */ bl DrawScreenTex__Ff +/* 80041F68 0003EEC8 80 BC 02 9C */ lwz r5, 0x29c(r28) +/* 80041F6C 0003EECC 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) +/* 80041F70 0003EED0 7C 05 00 40 */ cmplw r5, r0 +/* 80041F74 0003EED4 41 82 00 14 */ beq lbl_80041F88 +/* 80041F78 0003EED8 80 7C 08 2C */ lwz r3, 0x82c(r28) +/* 80041F7C 0003EEDC 38 81 04 14 */ addi r4, r1, 0x414 +/* 80041F80 0003EEE0 C0 22 85 10 */ lfs f1, lbl_805AA230@sda21(r2) +/* 80041F84 0003EEE4 48 0C F0 35 */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif +lbl_80041F88: +/* 80041F88 0003EEE8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80041F8C 0003EEEC 38 81 03 24 */ addi r4, r1, 0x324 +/* 80041F90 0003EEF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80041F94 0003EEF4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80041F98 0003EEF8 7D 89 03 A6 */ mtctr r12 +/* 80041F9C 0003EEFC 4E 80 04 21 */ bctrl +/* 80041FA0 0003EF00 38 7C 06 C8 */ addi r3, r28, 0x6c8 +/* 80041FA4 0003EF04 48 17 7C A9 */ bl DrawClipCube__FRC6CAABox +/* 80041FA8 0003EF08 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80041FAC 0003EF0C 7F 44 D3 78 */ mr r4, r26 +/* 80041FB0 0003EF10 7F A5 EB 78 */ mr r5, r29 +/* 80041FB4 0003EF14 7F 67 DB 78 */ mr r7, r27 +/* 80041FB8 0003EF18 81 83 00 00 */ lwz r12, 0(r3) +/* 80041FBC 0003EF1C 7F 88 E3 78 */ mr r8, r28 +/* 80041FC0 0003EF20 38 C1 04 14 */ addi r6, r1, 0x414 +/* 80041FC4 0003EF24 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80041FC8 0003EF28 7D 89 03 A6 */ mtctr r12 +/* 80041FCC 0003EF2C 4E 80 04 21 */ bctrl +/* 80041FD0 0003EF30 7F 83 E3 78 */ mr r3, r28 +/* 80041FD4 0003EF34 7F A4 EB 78 */ mr r4, r29 +/* 80041FD8 0003EF38 7F C5 F3 78 */ mr r5, r30 +/* 80041FDC 0003EF3C 7F E6 FB 78 */ mr r6, r31 +/* 80041FE0 0003EF40 48 00 01 81 */ bl DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags +/* 80041FE4 0003EF44 80 7C 08 2C */ lwz r3, 0x82c(r28) +/* 80041FE8 0003EF48 48 0C EF B1 */ bl DisableModelProjectedShadow__12CWorldShadowCFv +/* 80041FEC 0003EF4C 48 00 00 A4 */ b lbl_80042090 +lbl_80041FF0: +/* 80041FF0 0003EF50 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80041FF4 0003EF54 7F A4 EB 78 */ mr r4, r29 +/* 80041FF8 0003EF58 7F 86 E3 78 */ mr r6, r28 +/* 80041FFC 0003EF5C 38 7C 06 E0 */ addi r3, r28, 0x6e0 +/* 80042000 0003EF60 38 A1 03 54 */ addi r5, r1, 0x354 +/* 80042004 0003EF64 38 ED A1 CC */ addi r7, r13, lbl_805A8D8C@sda21 +/* 80042008 0003EF68 41 82 00 08 */ beq lbl_80042010 +/* 8004200C 0003EF6C 38 ED A1 C4 */ addi r7, r13, lbl_805A8D84@sda21 +lbl_80042010: +/* 80042010 0003EF70 48 0D 2D AD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80042014 0003EF74 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 80042018 0003EF78 38 80 00 00 */ li r4, 0 +/* 8004201C 0003EF7C 38 00 00 03 */ li r0, 3 +/* 80042020 0003EF80 98 81 00 08 */ stb r4, 8(r1) +/* 80042024 0003EF84 FC 40 08 90 */ fmr f2, f1 +/* 80042028 0003EF88 38 61 00 0C */ addi r3, r1, 0xc +/* 8004202C 0003EF8C FC 60 08 90 */ fmr f3, f1 +/* 80042030 0003EF90 98 81 00 09 */ stb r4, 9(r1) +/* 80042034 0003EF94 FC 80 08 90 */ fmr f4, f1 +/* 80042038 0003EF98 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8004203C 0003EF9C 48 32 13 B1 */ bl __ct__6CColorFffff +/* 80042040 0003EFA0 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 80042044 0003EFA4 7F A4 EB 78 */ mr r4, r29 +/* 80042048 0003EFA8 38 A1 04 14 */ addi r5, r1, 0x414 +/* 8004204C 0003EFAC 38 C1 00 08 */ addi r6, r1, 8 +/* 80042050 0003EFB0 48 17 9B 7D */ bl DrawHologram__10CGunWeaponCFRC13CStateManagerRC12CTransform4fRC11CModelFlags +/* 80042054 0003EFB4 80 BC 02 9C */ lwz r5, 0x29c(r28) +/* 80042058 0003EFB8 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) +/* 8004205C 0003EFBC 7C 05 00 40 */ cmplw r5, r0 +/* 80042060 0003EFC0 41 82 00 14 */ beq lbl_80042074 +/* 80042064 0003EFC4 80 7C 08 2C */ lwz r3, 0x82c(r28) +/* 80042068 0003EFC8 38 81 04 14 */ addi r4, r1, 0x414 +/* 8004206C 0003EFCC C0 22 85 10 */ lfs f1, lbl_805AA230@sda21(r2) +/* 80042070 0003EFD0 48 0C EF 49 */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif +lbl_80042074: +/* 80042074 0003EFD4 7F 83 E3 78 */ mr r3, r28 +/* 80042078 0003EFD8 7F A4 EB 78 */ mr r4, r29 +/* 8004207C 0003EFDC 7F C5 F3 78 */ mr r5, r30 +/* 80042080 0003EFE0 7F E6 FB 78 */ mr r6, r31 +/* 80042084 0003EFE4 48 00 00 DD */ bl DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags +/* 80042088 0003EFE8 80 7C 08 2C */ lwz r3, 0x82c(r28) +/* 8004208C 0003EFEC 48 0C EF 0D */ bl DisableModelProjectedShadow__12CWorldShadowCFv +lbl_80042090: +/* 80042090 0003EFF0 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 80042094 0003EFF4 38 61 02 F4 */ addi r3, r1, 0x2f4 +/* 80042098 0003EFF8 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 8004209C 0003EFFC 48 2D 0A D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800420A0 0003F000 38 61 00 54 */ addi r3, r1, 0x54 +/* 800420A4 0003F004 38 81 04 14 */ addi r4, r1, 0x414 +/* 800420A8 0003F008 48 2D 06 39 */ bl GetInverse__12CTransform4fCFv +/* 800420AC 0003F00C 38 61 00 84 */ addi r3, r1, 0x84 +/* 800420B0 0003F010 38 81 00 54 */ addi r4, r1, 0x54 +/* 800420B4 0003F014 38 A1 02 F4 */ addi r5, r1, 0x2f4 +/* 800420B8 0003F018 48 2D 08 99 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800420BC 0003F01C 38 61 00 84 */ addi r3, r1, 0x84 +/* 800420C0 0003F020 48 2C A6 8D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800420C4 0003F024 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800420C8 0003F028 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800420CC 0003F02C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800420D0 0003F030 81 83 00 00 */ lwz r12, 0(r3) +/* 800420D4 0003F034 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800420D8 0003F038 7D 89 03 A6 */ mtctr r12 +/* 800420DC 0003F03C 4E 80 04 21 */ bctrl +/* 800420E0 0003F040 80 7C 07 2C */ lwz r3, 0x72c(r28) +/* 800420E4 0003F044 7F A4 EB 78 */ mr r4, r29 +/* 800420E8 0003F048 38 A1 04 14 */ addi r5, r1, 0x414 +/* 800420EC 0003F04C 81 83 00 00 */ lwz r12, 0(r3) +/* 800420F0 0003F050 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800420F4 0003F054 7D 89 03 A6 */ mtctr r12 +/* 800420F8 0003F058 4E 80 04 21 */ bctrl +/* 800420FC 0003F05C 88 1C 08 32 */ lbz r0, 0x832(r28) +/* 80042100 0003F060 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80042104 0003F064 41 82 00 20 */ beq lbl_80042124 +/* 80042108 0003F068 80 7C 07 80 */ lwz r3, 0x780(r28) +/* 8004210C 0003F06C 28 03 00 00 */ cmplwi r3, 0 +/* 80042110 0003F070 41 82 00 14 */ beq lbl_80042124 +/* 80042114 0003F074 81 83 00 00 */ lwz r12, 0(r3) +/* 80042118 0003F078 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8004211C 0003F07C 7D 89 03 A6 */ mtctr r12 +/* 80042120 0003F080 4E 80 04 21 */ bctrl +lbl_80042124: +/* 80042124 0003F084 38 61 02 F4 */ addi r3, r1, 0x2f4 +/* 80042128 0003F088 48 2C A6 25 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8004212C 0003F08C 7F 83 E3 78 */ mr r3, r28 +/* 80042130 0003F090 7F A4 EB 78 */ mr r4, r29 +/* 80042134 0003F094 4B FF A1 BD */ bl RenderEnergyDrainEffects__10CPlayerGunCFRC13CStateManager +/* 80042138 0003F098 C0 22 85 0C */ lfs f1, lbl_805AA22C@sda21(r2) +/* 8004213C 0003F09C C0 42 84 7C */ lfs f2, lbl_805AA19C@sda21(r2) +/* 80042140 0003F0A0 48 2C 82 A1 */ bl SetDepthRange__9CGraphicsFff +/* 80042144 0003F0A4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80042148 0003F0A8 48 2C 7C B9 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 8004214C 0003F0AC BA C1 04 48 */ lmw r22, 0x448(r1) +/* 80042150 0003F0B0 80 01 04 74 */ lwz r0, 0x474(r1) +/* 80042154 0003F0B4 7C 08 03 A6 */ mtlr r0 +/* 80042158 0003F0B8 38 21 04 70 */ addi r1, r1, 0x470 +/* 8004215C 0003F0BC 4E 80 00 20 */ blr + +.global DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags +DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags: +/* 80042160 0003F0C0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80042164 0003F0C4 7C 08 02 A6 */ mflr r0 +/* 80042168 0003F0C8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8004216C 0003F0CC 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80042170 0003F0D0 7C DF 33 78 */ mr r31, r6 +/* 80042174 0003F0D4 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80042178 0003F0D8 7C BE 2B 78 */ mr r30, r5 +/* 8004217C 0003F0DC 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80042180 0003F0E0 7C 9D 23 78 */ mr r29, r4 +/* 80042184 0003F0E4 93 81 00 60 */ stw r28, 0x60(r1) +/* 80042188 0003F0E8 7C 7C 1B 78 */ mr r28, r3 +/* 8004218C 0003F0EC 80 83 07 40 */ lwz r4, 0x740(r3) +/* 80042190 0003F0F0 88 04 03 B2 */ lbz r0, 0x3b2(r4) +/* 80042194 0003F0F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80042198 0003F0F8 41 82 00 E4 */ beq lbl_8004227C +/* 8004219C 0003F0FC 80 04 03 34 */ lwz r0, 0x334(r4) +/* 800421A0 0003F100 2C 00 00 0A */ cmpwi r0, 0xa +/* 800421A4 0003F104 41 82 00 D8 */ beq lbl_8004227C +/* 800421A8 0003F108 80 BD 08 4C */ lwz r5, 0x84c(r29) +/* 800421AC 0003F10C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800421B0 0003F110 38 84 02 20 */ addi r4, r4, 0x220 +/* 800421B4 0003F114 C0 45 00 58 */ lfs f2, 0x58(r5) +/* 800421B8 0003F118 C0 25 00 48 */ lfs f1, 0x48(r5) +/* 800421BC 0003F11C C0 05 00 38 */ lfs f0, 0x38(r5) +/* 800421C0 0003F120 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800421C4 0003F124 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800421C8 0003F128 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800421CC 0003F12C 48 2D 09 A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800421D0 0003F130 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 800421D4 0003F134 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800421D8 0003F138 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 800421DC 0003F13C EC 03 00 32 */ fmuls f0, f3, f0 +/* 800421E0 0003F140 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 800421E4 0003F144 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 800421E8 0003F148 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 800421EC 0003F14C 80 03 03 B8 */ lwz r0, 0x3b8(r3) +/* 800421F0 0003F150 EC 04 00 7A */ fmadds f0, f4, f1, f0 +/* 800421F4 0003F154 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 800421F8 0003F158 2C 00 00 00 */ cmpwi r0, 0 +/* 800421FC 0003F15C D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80042200 0003F160 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80042204 0003F164 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80042208 0003F168 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8004220C 0003F16C 40 82 00 14 */ bne lbl_80042220 +/* 80042210 0003F170 40 82 00 6C */ bne lbl_8004227C +/* 80042214 0003F174 C0 02 84 90 */ lfs f0, lbl_805AA1B0@sda21(r2) +/* 80042218 0003F178 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8004221C 0003F17C 40 81 00 60 */ ble lbl_8004227C +lbl_80042220: +/* 80042220 0003F180 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 80042224 0003F184 88 03 03 B2 */ lbz r0, 0x3b2(r3) +/* 80042228 0003F188 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8004222C 0003F18C 41 82 00 0C */ beq lbl_80042238 +/* 80042230 0003F190 7F E6 FB 78 */ mr r6, r31 +/* 80042234 0003F194 48 00 00 34 */ b lbl_80042268 +lbl_80042238: +/* 80042238 0003F198 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 8004223C 0003F19C 38 80 00 00 */ li r4, 0 +/* 80042240 0003F1A0 38 00 00 03 */ li r0, 3 +/* 80042244 0003F1A4 98 81 00 08 */ stb r4, 8(r1) +/* 80042248 0003F1A8 FC 40 08 90 */ fmr f2, f1 +/* 8004224C 0003F1AC 38 61 00 0C */ addi r3, r1, 0xc +/* 80042250 0003F1B0 FC 60 08 90 */ fmr f3, f1 +/* 80042254 0003F1B4 98 81 00 09 */ stb r4, 9(r1) +/* 80042258 0003F1B8 FC 80 08 90 */ fmr f4, f1 +/* 8004225C 0003F1BC B0 01 00 0A */ sth r0, 0xa(r1) +/* 80042260 0003F1C0 48 32 11 8D */ bl __ct__6CColorFffff +/* 80042264 0003F1C4 38 C1 00 08 */ addi r6, r1, 8 +lbl_80042268: +/* 80042268 0003F1C8 80 7C 07 40 */ lwz r3, 0x740(r28) +/* 8004226C 0003F1CC 7F A4 EB 78 */ mr r4, r29 +/* 80042270 0003F1D0 7F C5 F3 78 */ mr r5, r30 +/* 80042274 0003F1D4 7F 87 E3 78 */ mr r7, r28 +/* 80042278 0003F1D8 48 0D D3 85 */ bl Render__11CGrappleArmCFRC13CStateManagerRC9CVector3fRC11CModelFlagsPC12CActorLights +lbl_8004227C: +/* 8004227C 0003F1DC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80042280 0003F1E0 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80042284 0003F1E4 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80042288 0003F1E8 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8004228C 0003F1EC 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80042290 0003F1F0 7C 08 03 A6 */ mtlr r0 +/* 80042294 0003F1F4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80042298 0003F1F8 4E 80 00 20 */ blr + +.global PreRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f +PreRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f: +/* 8004229C 0003F1FC 4E 80 00 20 */ blr + +.global ConvertToScreenSpace__10CPlayerGunCFRC9CVector3fRC11CGameCamera +ConvertToScreenSpace__10CPlayerGunCFRC9CVector3fRC11CGameCamera: +/* 800422A0 0003F200 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800422A4 0003F204 7C 08 02 A6 */ mflr r0 +/* 800422A8 0003F208 38 86 00 34 */ addi r4, r6, 0x34 +/* 800422AC 0003F20C 90 01 00 84 */ stw r0, 0x84(r1) +/* 800422B0 0003F210 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 800422B4 0003F214 7C 7F 1B 78 */ mr r31, r3 +/* 800422B8 0003F218 38 61 00 14 */ addi r3, r1, 0x14 +/* 800422BC 0003F21C C0 25 00 08 */ lfs f1, 8(r5) +/* 800422C0 0003F220 C0 06 00 60 */ lfs f0, 0x60(r6) +/* 800422C4 0003F224 C0 65 00 04 */ lfs f3, 4(r5) +/* 800422C8 0003F228 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800422CC 0003F22C C0 46 00 50 */ lfs f2, 0x50(r6) +/* 800422D0 0003F230 C0 25 00 00 */ lfs f1, 0(r5) +/* 800422D4 0003F234 38 A1 00 08 */ addi r5, r1, 8 +/* 800422D8 0003F238 C0 06 00 40 */ lfs f0, 0x40(r6) +/* 800422DC 0003F23C EC 43 10 28 */ fsubs f2, f3, f2 +/* 800422E0 0003F240 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800422E4 0003F244 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 800422E8 0003F248 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 800422EC 0003F24C D0 01 00 08 */ stfs f0, 8(r1) +/* 800422F0 0003F250 48 2D 07 35 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800422F4 0003F254 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 800422F8 0003F258 38 00 00 00 */ li r0, 0 +/* 800422FC 0003F25C C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 80042300 0003F260 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80042304 0003F264 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80042308 0003F268 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 8004230C 0003F26C D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80042310 0003F270 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80042314 0003F274 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80042318 0003F278 40 82 00 14 */ bne lbl_8004232C +/* 8004231C 0003F27C FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 80042320 0003F280 40 82 00 0C */ bne lbl_8004232C +/* 80042324 0003F284 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80042328 0003F288 41 82 00 08 */ beq lbl_80042330 +lbl_8004232C: +/* 8004232C 0003F28C 38 00 00 01 */ li r0, 1 +lbl_80042330: +/* 80042330 0003F290 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80042334 0003F294 41 82 00 20 */ beq lbl_80042354 +/* 80042338 0003F298 38 61 00 2C */ addi r3, r1, 0x2c +/* 8004233C 0003F29C 48 2C 9F F5 */ bl GetPerspectiveProjectionMatrix__9CGraphicsFv +/* 80042340 0003F2A0 7F E3 FB 78 */ mr r3, r31 +/* 80042344 0003F2A4 38 81 00 2C */ addi r4, r1, 0x2c +/* 80042348 0003F2A8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8004234C 0003F2AC 48 2C E4 05 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +/* 80042350 0003F2B0 48 00 00 18 */ b lbl_80042368 +lbl_80042354: +/* 80042354 0003F2B4 C0 22 84 C8 */ lfs f1, lbl_805AA1E8@sda21(r2) +/* 80042358 0003F2B8 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 8004235C 0003F2BC D0 3F 00 00 */ stfs f1, 0(r31) +/* 80042360 0003F2C0 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80042364 0003F2C4 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_80042368: +/* 80042368 0003F2C8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8004236C 0003F2CC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80042370 0003F2D0 7C 08 03 A6 */ mtlr r0 +/* 80042374 0003F2D4 38 21 00 80 */ addi r1, r1, 0x80 +/* 80042378 0003F2D8 4E 80 00 20 */ blr + +.global TouchModel__10CPlayerGunCFRC13CStateManager +TouchModel__10CPlayerGunCFRC13CStateManager: +/* 8004237C 0003F2DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80042380 0003F2E0 7C 08 02 A6 */ mflr r0 +/* 80042384 0003F2E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80042388 0003F2E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004238C 0003F2EC 7C 9F 23 78 */ mr r31, r4 +/* 80042390 0003F2F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80042394 0003F2F4 7C 7E 1B 78 */ mr r30, r3 +/* 80042398 0003F2F8 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8004239C 0003F2FC 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 800423A0 0003F300 2C 00 00 01 */ cmpwi r0, 1 +/* 800423A4 0003F304 41 82 00 AC */ beq lbl_80042450 +/* 800423A8 0003F308 80 7E 07 3C */ lwz r3, 0x73c(r30) +/* 800423AC 0003F30C 38 A0 00 00 */ li r5, 0 +/* 800423B0 0003F310 48 0D 39 61 */ bl Touch__10CModelDataCFRC13CStateManageri +/* 800423B4 0003F314 80 1E 03 3C */ lwz r0, 0x33c(r30) +/* 800423B8 0003F318 2C 00 00 02 */ cmpwi r0, 2 +/* 800423BC 0003F31C 41 82 00 2C */ beq lbl_800423E8 +/* 800423C0 0003F320 40 80 00 40 */ bge lbl_80042400 +/* 800423C4 0003F324 2C 00 00 01 */ cmpwi r0, 1 +/* 800423C8 0003F328 40 80 00 08 */ bge lbl_800423D0 +/* 800423CC 0003F32C 48 00 00 34 */ b lbl_80042400 +lbl_800423D0: +/* 800423D0 0003F330 80 7E 07 5C */ lwz r3, 0x75c(r30) +/* 800423D4 0003F334 28 03 00 00 */ cmplwi r3, 0 +/* 800423D8 0003F338 41 82 00 50 */ beq lbl_80042428 +/* 800423DC 0003F33C 7F E4 FB 78 */ mr r4, r31 +/* 800423E0 0003F340 48 17 92 0D */ bl Touch__10CGunWeaponFRC13CStateManager +/* 800423E4 0003F344 48 00 00 44 */ b lbl_80042428 +lbl_800423E8: +/* 800423E8 0003F348 80 7E 07 38 */ lwz r3, 0x738(r30) +/* 800423EC 0003F34C 28 03 00 00 */ cmplwi r3, 0 +/* 800423F0 0003F350 41 82 00 38 */ beq lbl_80042428 +/* 800423F4 0003F354 7F E4 FB 78 */ mr r4, r31 +/* 800423F8 0003F358 48 17 91 F5 */ bl Touch__10CGunWeaponFRC13CStateManager +/* 800423FC 0003F35C 48 00 00 2C */ b lbl_80042428 +lbl_80042400: +/* 80042400 0003F360 88 1E 08 33 */ lbz r0, 0x833(r30) +/* 80042404 0003F364 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80042408 0003F368 40 82 00 14 */ bne lbl_8004241C +/* 8004240C 0003F36C 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 80042410 0003F370 7F E4 FB 78 */ mr r4, r31 +/* 80042414 0003F374 48 17 91 D9 */ bl Touch__10CGunWeaponFRC13CStateManager +/* 80042418 0003F378 48 00 00 10 */ b lbl_80042428 +lbl_8004241C: +/* 8004241C 0003F37C 80 7E 07 5C */ lwz r3, 0x75c(r30) +/* 80042420 0003F380 7F E4 FB 78 */ mr r4, r31 +/* 80042424 0003F384 48 17 91 C9 */ bl Touch__10CGunWeaponFRC13CStateManager +lbl_80042428: +/* 80042428 0003F388 80 7E 07 2C */ lwz r3, 0x72c(r30) +/* 8004242C 0003F38C 7F E4 FB 78 */ mr r4, r31 +/* 80042430 0003F390 48 17 91 89 */ bl TouchHolo__10CGunWeaponFRC13CStateManager +/* 80042434 0003F394 80 7E 07 40 */ lwz r3, 0x740(r30) +/* 80042438 0003F398 7F E4 FB 78 */ mr r4, r31 +/* 8004243C 0003F39C 48 0D D4 5D */ bl TouchModel__11CGrappleArmCFRC13CStateManager +/* 80042440 0003F3A0 7F E4 FB 78 */ mr r4, r31 +/* 80042444 0003F3A4 38 7E 06 E0 */ addi r3, r30, 0x6e0 +/* 80042448 0003F3A8 38 A0 00 00 */ li r5, 0 +/* 8004244C 0003F3AC 48 0D 38 C5 */ bl Touch__10CModelDataCFRC13CStateManageri +lbl_80042450: +/* 80042450 0003F3B0 80 7E 07 34 */ lwz r3, 0x734(r30) +/* 80042454 0003F3B4 28 03 00 00 */ cmplwi r3, 0 +/* 80042458 0003F3B8 41 82 00 18 */ beq lbl_80042470 +/* 8004245C 0003F3BC 7F E4 FB 78 */ mr r4, r31 +/* 80042460 0003F3C0 48 17 91 8D */ bl Touch__10CGunWeaponFRC13CStateManager +/* 80042464 0003F3C4 80 7E 07 34 */ lwz r3, 0x734(r30) +/* 80042468 0003F3C8 7F E4 FB 78 */ mr r4, r31 +/* 8004246C 0003F3CC 48 17 91 4D */ bl TouchHolo__10CGunWeaponFRC13CStateManager +lbl_80042470: +/* 80042470 0003F3D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80042474 0003F3D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80042478 0003F3D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004247C 0003F3DC 7C 08 03 A6 */ mtlr r0 +/* 80042480 0003F3E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80042484 0003F3E4 4E 80 00 20 */ blr + +.global DrawScreenTex__Ff +DrawScreenTex__Ff: +/* 80042488 0003F3E8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8004248C 0003F3EC 7C 08 02 A6 */ mflr r0 +/* 80042490 0003F3F0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80042494 0003F3F4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80042498 0003F3F8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8004249C 0003F3FC FF E0 08 90 */ fmr f31, f1 +/* 800424A0 0003F400 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 800424A4 0003F404 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 800424A8 0003F408 38 61 00 3C */ addi r3, r1, 0x3c +/* 800424AC 0003F40C 48 2D 06 C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800424B0 0003F410 48 2C 79 AD */ bl GetProjectionState__9CGraphicsFv +/* 800424B4 0003F414 88 03 00 00 */ lbz r0, 0(r3) +/* 800424B8 0003F418 3C C0 43 30 */ lis r6, 0x4330 +/* 800424BC 0003F41C 3C 80 80 3F */ lis r4, lbl_803F0008@ha +/* 800424C0 0003F420 85 04 D9 10 */ lwzu r8, -0x26f0(r4) +/* 800424C4 0003F424 98 01 00 20 */ stb r0, 0x20(r1) +/* 800424C8 0003F428 6D 07 80 00 */ xoris r7, r8, 0x8000 +/* 800424CC 0003F42C 80 A4 00 08 */ lwz r5, lbl_803F0008@l(r4) +/* 800424D0 0003F430 C0 03 00 04 */ lfs f0, 4(r3) +/* 800424D4 0003F434 81 24 00 04 */ lwz r9, 4(r4) +/* 800424D8 0003F438 7C A8 2A 14 */ add r5, r8, r5 +/* 800424DC 0003F43C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800424E0 0003F440 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 800424E4 0003F444 80 84 00 0C */ lwz r4, 0xc(r4) +/* 800424E8 0003F448 6D 20 80 00 */ xoris r0, r9, 0x8000 +/* 800424EC 0003F44C C0 03 00 08 */ lfs f0, 8(r3) +/* 800424F0 0003F450 7C 89 22 14 */ add r4, r9, r4 +/* 800424F4 0003F454 90 C1 00 70 */ stw r6, 0x70(r1) +/* 800424F8 0003F458 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 800424FC 0003F45C C8 82 84 B0 */ lfd f4, lbl_805AA1D0@sda21(r2) +/* 80042500 0003F460 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80042504 0003F464 C0 A2 84 C8 */ lfs f5, lbl_805AA1E8@sda21(r2) +/* 80042508 0003F468 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8004250C 0003F46C 90 E1 00 74 */ stw r7, 0x74(r1) +/* 80042510 0003F470 C0 C2 84 7C */ lfs f6, lbl_805AA19C@sda21(r2) +/* 80042514 0003F474 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80042518 0003F478 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8004251C 0003F47C C0 43 00 10 */ lfs f2, 0x10(r3) +/* 80042520 0003F480 EC 20 20 28 */ fsubs f1, f0, f4 +/* 80042524 0003F484 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 80042528 0003F488 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8004252C 0003F48C C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80042530 0003F490 90 C1 00 78 */ stw r6, 0x78(r1) +/* 80042534 0003F494 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80042538 0003F498 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8004253C 0003F49C C0 E3 00 18 */ lfs f7, 0x18(r3) +/* 80042540 0003F4A0 90 81 00 84 */ stw r4, 0x84(r1) +/* 80042544 0003F4A4 EC 40 20 28 */ fsubs f2, f0, f4 +/* 80042548 0003F4A8 90 C1 00 80 */ stw r6, 0x80(r1) +/* 8004254C 0003F4AC C8 01 00 80 */ lfd f0, 0x80(r1) +/* 80042550 0003F4B0 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80042554 0003F4B4 EC 60 20 28 */ fsubs f3, f0, f4 +/* 80042558 0003F4B8 90 C1 00 88 */ stw r6, 0x88(r1) +/* 8004255C 0003F4BC C8 01 00 88 */ lfd f0, 0x88(r1) +/* 80042560 0003F4C0 D0 E1 00 38 */ stfs f7, 0x38(r1) +/* 80042564 0003F4C4 EC 80 20 28 */ fsubs f4, f0, f4 +/* 80042568 0003F4C8 48 2C 9F ED */ bl SetOrtho__9CGraphicsFffffff +/* 8004256C 0003F4CC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80042570 0003F4D0 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80042574 0003F4D4 48 2C A1 D9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 80042578 0003F4D8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8004257C 0003F4DC 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80042580 0003F4E0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80042584 0003F4E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80042588 0003F4E8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8004258C 0003F4EC 7D 89 03 A6 */ mtctr r12 +/* 80042590 0003F4F0 4E 80 04 21 */ bctrl +/* 80042594 0003F4F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80042598 0003F4F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8004259C 0003F4FC 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800425A0 0003F500 7D 89 03 A6 */ mtctr r12 +/* 800425A4 0003F504 4E 80 04 21 */ bctrl +/* 800425A8 0003F508 38 60 00 01 */ li r3, 1 +/* 800425AC 0003F50C 38 80 00 06 */ li r4, 6 +/* 800425B0 0003F510 38 A0 00 01 */ li r5, 1 +/* 800425B4 0003F514 48 2C 94 E1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 800425B8 0003F518 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 800425BC 0003F51C 38 60 01 40 */ li r3, 0x140 +/* 800425C0 0003F520 38 80 00 E0 */ li r4, 0xe0 +/* 800425C4 0003F524 38 A0 00 06 */ li r5, 6 +/* 800425C8 0003F528 38 C0 00 00 */ li r6, 0 +/* 800425CC 0003F52C 48 2C 7A 55 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 800425D0 0003F530 3C 80 80 3D */ lis r4, lbl_803CCE98@ha +/* 800425D4 0003F534 38 61 00 08 */ addi r3, r1, 8 +/* 800425D8 0003F538 39 24 CE 98 */ addi r9, r4, lbl_803CCE98@l +/* 800425DC 0003F53C 81 09 00 00 */ lwz r8, 0(r9) +/* 800425E0 0003F540 80 E9 00 04 */ lwz r7, 4(r9) +/* 800425E4 0003F544 80 C9 00 08 */ lwz r6, 8(r9) +/* 800425E8 0003F548 80 A9 00 0C */ lwz r5, 0xc(r9) +/* 800425EC 0003F54C 80 89 00 10 */ lwz r4, 0x10(r9) +/* 800425F0 0003F550 80 09 00 14 */ lwz r0, 0x14(r9) +/* 800425F4 0003F554 91 01 00 08 */ stw r8, 8(r1) +/* 800425F8 0003F558 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800425FC 0003F55C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80042600 0003F560 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80042604 0003F564 90 81 00 18 */ stw r4, 0x18(r1) +/* 80042608 0003F568 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8004260C 0003F56C 48 2C 58 1D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80042610 0003F570 38 60 00 00 */ li r3, 0 +/* 80042614 0003F574 48 2C 68 3D */ bl SetNumChans__3CGXFUc +/* 80042618 0003F578 38 60 00 01 */ li r3, 1 +/* 8004261C 0003F57C 48 2C 67 F9 */ bl SetNumTexGens__3CGXFUc +/* 80042620 0003F580 38 60 00 01 */ li r3, 1 +/* 80042624 0003F584 48 2C 66 6D */ bl SetNumTevStages__3CGXFUc +/* 80042628 0003F588 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 8004262C 0003F58C 38 60 00 00 */ li r3, 0 +/* 80042630 0003F590 38 80 00 00 */ li r4, 0 +/* 80042634 0003F594 38 C0 00 FF */ li r6, 0xff +/* 80042638 0003F598 48 2C 63 15 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8004263C 0003F59C 38 60 00 00 */ li r3, 0 +/* 80042640 0003F5A0 38 80 00 00 */ li r4, 0 +/* 80042644 0003F5A4 38 A0 00 00 */ li r5, 0 +/* 80042648 0003F5A8 38 C0 00 00 */ li r6, 0 +/* 8004264C 0003F5AC 38 E0 00 00 */ li r7, 0 +/* 80042650 0003F5B0 39 00 00 00 */ li r8, 0 +/* 80042654 0003F5B4 39 20 00 02 */ li r9, 2 +/* 80042658 0003F5B8 48 2C 66 75 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8004265C 0003F5BC 38 60 00 98 */ li r3, 0x98 +/* 80042660 0003F5C0 38 80 00 00 */ li r4, 0 +/* 80042664 0003F5C4 38 A0 00 04 */ li r5, 4 +/* 80042668 0003F5C8 48 2C 5F 1D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8004266C 0003F5CC C0 82 85 20 */ lfs f4, lbl_805AA240@sda21(r2) +/* 80042670 0003F5D0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 80042674 0003F5D4 C0 62 84 6C */ lfs f3, lbl_805AA18C@sda21(r2) +/* 80042678 0003F5D8 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8004267C 0003F5DC C0 42 84 7C */ lfs f2, lbl_805AA19C@sda21(r2) +/* 80042680 0003F5E0 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 80042684 0003F5E4 C0 22 85 1C */ lfs f1, lbl_805AA23C@sda21(r2) +/* 80042688 0003F5E8 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8004268C 0003F5EC C0 02 85 24 */ lfs f0, lbl_805AA244@sda21(r2) +/* 80042690 0003F5F0 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 80042694 0003F5F4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 80042698 0003F5F8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8004269C 0003F5FC D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 800426A0 0003F600 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 800426A4 0003F604 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 800426A8 0003F608 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 800426AC 0003F60C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 800426B0 0003F610 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 800426B4 0003F614 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 800426B8 0003F618 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 800426BC 0003F61C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 800426C0 0003F620 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 800426C4 0003F624 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 800426C8 0003F628 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 800426CC 0003F62C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 800426D0 0003F630 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 800426D4 0003F634 48 2C 5E AD */ bl End__3CGXFv +/* 800426D8 0003F638 38 60 00 01 */ li r3, 1 +/* 800426DC 0003F63C 38 80 00 03 */ li r4, 3 +/* 800426E0 0003F640 38 A0 00 01 */ li r5, 1 +/* 800426E4 0003F644 48 2C 93 B1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 800426E8 0003F648 38 61 00 3C */ addi r3, r1, 0x3c +/* 800426EC 0003F64C 48 2C A0 61 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800426F0 0003F650 38 61 00 20 */ addi r3, r1, 0x20 +/* 800426F4 0003F654 48 2C 77 0D */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 800426F8 0003F658 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 800426FC 0003F65C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80042700 0003F660 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80042704 0003F664 7C 08 03 A6 */ mtlr r0 +/* 80042708 0003F668 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8004270C 0003F66C 4E 80 00 20 */ blr + +.global CopyScreenTex__Fv +CopyScreenTex__Fv: +/* 80042710 0003F670 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80042714 0003F674 7C 08 02 A6 */ mflr r0 +/* 80042718 0003F678 38 60 01 40 */ li r3, 0x140 +/* 8004271C 0003F67C 38 80 00 E0 */ li r4, 0xe0 +/* 80042720 0003F680 90 01 00 14 */ stw r0, 0x14(r1) +/* 80042724 0003F684 38 A0 01 40 */ li r5, 0x140 +/* 80042728 0003F688 38 C0 00 E0 */ li r6, 0xe0 +/* 8004272C 0003F68C 48 33 66 89 */ bl GXSetTexCopySrc +/* 80042730 0003F690 38 60 01 40 */ li r3, 0x140 +/* 80042734 0003F694 38 80 00 E0 */ li r4, 0xe0 +/* 80042738 0003F698 38 A0 00 06 */ li r5, 6 +/* 8004273C 0003F69C 38 C0 00 00 */ li r6, 0 +/* 80042740 0003F6A0 48 33 67 41 */ bl GXSetTexCopyDst +/* 80042744 0003F6A4 80 6D A8 28 */ lwz r3, lbl_805A93E8@sda21(r13) +/* 80042748 0003F6A8 38 80 00 00 */ li r4, 0 +/* 8004274C 0003F6AC 48 33 6D E9 */ bl GXCopyTex +/* 80042750 0003F6B0 48 33 5E 15 */ bl GXPixModeSync +/* 80042754 0003F6B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80042758 0003F6B8 7C 08 03 A6 */ mtlr r0 +/* 8004275C 0003F6BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80042760 0003F6C0 4E 80 00 20 */ blr + +.global PreRender__10CPlayerGunFR13CStateManagerRC14CFrustumPlanesRC9CVector3f +PreRender__10CPlayerGunFR13CStateManagerRC14CFrustumPlanesRC9CVector3f: +/* 80042764 0003F6C4 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80042768 0003F6C8 7C 08 02 A6 */ mflr r0 +/* 8004276C 0003F6CC 90 01 01 34 */ stw r0, 0x134(r1) +/* 80042770 0003F6D0 BF 61 01 1C */ stmw r27, 0x11c(r1) +/* 80042774 0003F6D4 7C 7B 1B 78 */ mr r27, r3 +/* 80042778 0003F6D8 7C 9C 23 78 */ mr r28, r4 +/* 8004277C 0003F6DC 7C BD 2B 78 */ mr r29, r5 +/* 80042780 0003F6E0 7C DE 33 78 */ mr r30, r6 +/* 80042784 0003F6E4 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 80042788 0003F6E8 80 63 00 00 */ lwz r3, 0(r3) +/* 8004278C 0003F6EC 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80042790 0003F6F0 2C 00 00 02 */ cmpwi r0, 2 +/* 80042794 0003F6F4 41 82 02 08 */ beq lbl_8004299C +/* 80042798 0003F6F8 48 04 ED C1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8004279C 0003F6FC 7C 7F 1B 78 */ mr r31, r3 +/* 800427A0 0003F700 2C 1F 00 03 */ cmpwi r31, 3 +/* 800427A4 0003F704 41 82 00 14 */ beq lbl_800427B8 +/* 800427A8 0003F708 40 80 01 A4 */ bge lbl_8004294C +/* 800427AC 0003F70C 2C 1F 00 00 */ cmpwi r31, 0 +/* 800427B0 0003F710 41 82 00 5C */ beq lbl_8004280C +/* 800427B4 0003F714 48 00 01 98 */ b lbl_8004294C +lbl_800427B8: +/* 800427B8 0003F718 C0 62 84 FC */ lfs f3, lbl_805AA21C@sda21(r2) +/* 800427BC 0003F71C 38 81 00 1C */ addi r4, r1, 0x1c +/* 800427C0 0003F720 C0 5B 03 80 */ lfs f2, 0x380(r27) +/* 800427C4 0003F724 38 6D 82 4C */ addi r3, r13, lbl_805A6E0C@sda21 +/* 800427C8 0003F728 C0 22 85 28 */ lfs f1, lbl_805AA248@sda21(r2) +/* 800427CC 0003F72C 38 AD 82 50 */ addi r5, r13, lbl_805A6E10@sda21 +/* 800427D0 0003F730 C0 1B 03 78 */ lfs f0, 0x378(r27) +/* 800427D4 0003F734 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 800427D8 0003F738 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800427DC 0003F73C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800427E0 0003F740 4B FC 9A D5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800427E4 0003F744 C0 23 00 00 */ lfs f1, 0(r3) +/* 800427E8 0003F748 38 61 00 18 */ addi r3, r1, 0x18 +/* 800427EC 0003F74C C0 82 84 7C */ lfs f4, lbl_805AA19C@sda21(r2) +/* 800427F0 0003F750 FC 40 08 90 */ fmr f2, f1 +/* 800427F4 0003F754 FC 60 08 90 */ fmr f3, f1 +/* 800427F8 0003F758 48 32 0B F5 */ bl __ct__6CColorFffff +/* 800427FC 0003F75C 7C 64 1B 78 */ mr r4, r3 +/* 80042800 0003F760 7F 63 DB 78 */ mr r3, r27 +/* 80042804 0003F764 48 0C 08 AD */ bl BuildConstantAmbientLighting__12CActorLightsFRC6CColor +/* 80042808 0003F768 48 00 01 44 */ b lbl_8004294C +lbl_8004280C: +/* 8004280C 0003F76C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80042810 0003F770 38 9B 04 A8 */ addi r4, r27, 0x4a8 +/* 80042814 0003F774 48 2D 03 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80042818 0003F778 7F C4 F3 78 */ mr r4, r30 +/* 8004281C 0003F77C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80042820 0003F780 48 2D 09 21 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80042824 0003F784 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80042828 0003F788 38 81 00 80 */ addi r4, r1, 0x80 +/* 8004282C 0003F78C 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80042830 0003F790 48 2D 01 21 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80042834 0003F794 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80042838 0003F798 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8004283C 0003F79C 48 2D 03 39 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80042840 0003F7A0 80 9B 07 2C */ lwz r4, 0x72c(r27) +/* 80042844 0003F7A4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80042848 0003F7A8 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8004284C 0003F7AC 48 17 8E 09 */ bl GetBounds__10CGunWeaponCFRC12CTransform4f +/* 80042850 0003F7B0 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 80042854 0003F7B4 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 80042858 0003F7B8 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 8004285C 0003F7BC C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80042860 0003F7C0 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80042864 0003F7C4 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80042868 0003F7C8 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 8004286C 0003F7CC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80042870 0003F7D0 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80042874 0003F7D4 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80042878 0003F7D8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8004287C 0003F7DC D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80042880 0003F7E0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80042884 0003F7E4 80 7C 08 CC */ lwz r3, 0x8cc(r28) +/* 80042888 0003F7E8 7C 03 00 00 */ cmpw r3, r0 +/* 8004288C 0003F7EC 41 82 00 4C */ beq lbl_800428D8 +/* 80042890 0003F7F0 88 1B 02 98 */ lbz r0, 0x298(r27) +/* 80042894 0003F7F4 38 60 00 01 */ li r3, 1 +/* 80042898 0003F7F8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8004289C 0003F7FC C0 02 84 D8 */ lfs f0, lbl_805AA1F8@sda21(r2) +/* 800428A0 0003F800 98 1B 02 98 */ stb r0, 0x298(r27) +/* 800428A4 0003F804 7F 63 DB 78 */ mr r3, r27 +/* 800428A8 0003F808 7F 84 E3 78 */ mr r4, r28 +/* 800428AC 0003F80C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 800428B0 0003F810 D0 1B 02 D0 */ stfs f0, 0x2d0(r27) +/* 800428B4 0003F814 81 1C 08 CC */ lwz r8, 0x8cc(r28) +/* 800428B8 0003F818 80 FC 08 50 */ lwz r7, 0x850(r28) +/* 800428BC 0003F81C 55 05 18 38 */ slwi r5, r8, 3 +/* 800428C0 0003F820 91 01 00 10 */ stw r8, 0x10(r1) +/* 800428C4 0003F824 80 E7 00 20 */ lwz r7, 0x20(r7) +/* 800428C8 0003F828 38 05 00 04 */ addi r0, r5, 4 +/* 800428CC 0003F82C 91 01 00 14 */ stw r8, 0x14(r1) +/* 800428D0 0003F830 7C A7 00 2E */ lwzx r5, r7, r0 +/* 800428D4 0003F834 48 0C 14 ED */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox +lbl_800428D8: +/* 800428D8 0003F838 7F 63 DB 78 */ mr r3, r27 +/* 800428DC 0003F83C 7F 84 E3 78 */ mr r4, r28 +/* 800428E0 0003F840 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800428E4 0003F844 48 0C 0E 2D */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox +/* 800428E8 0003F848 80 7B 02 9C */ lwz r3, 0x29c(r27) +/* 800428EC 0003F84C 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) +/* 800428F0 0003F850 7C 03 00 40 */ cmplw r3, r0 +/* 800428F4 0003F854 41 82 00 50 */ beq lbl_80042944 +/* 800428F8 0003F858 80 7B 07 2C */ lwz r3, 0x72c(r27) +/* 800428FC 0003F85C 81 83 00 00 */ lwz r12, 0(r3) +/* 80042900 0003F860 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80042904 0003F864 7D 89 03 A6 */ mtctr r12 +/* 80042908 0003F868 4E 80 04 21 */ bctrl +/* 8004290C 0003F86C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80042910 0003F870 41 82 00 3C */ beq lbl_8004294C +/* 80042914 0003F874 80 1C 08 CC */ lwz r0, 0x8cc(r28) +/* 80042918 0003F878 7F 84 E3 78 */ mr r4, r28 +/* 8004291C 0003F87C 80 DB 02 A0 */ lwz r6, 0x2a0(r27) +/* 80042920 0003F880 38 A1 00 0C */ addi r5, r1, 0xc +/* 80042924 0003F884 90 01 00 08 */ stw r0, 8(r1) +/* 80042928 0003F888 38 E1 00 38 */ addi r7, r1, 0x38 +/* 8004292C 0003F88C 39 00 00 01 */ li r8, 1 +/* 80042930 0003F890 39 20 00 00 */ li r9, 0 +/* 80042934 0003F894 90 01 00 0C */ stw r0, 0xc(r1) +/* 80042938 0003F898 80 7B 08 2C */ lwz r3, 0x82c(r27) +/* 8004293C 0003F89C 48 0C E8 95 */ bl BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb +/* 80042940 0003F8A0 48 00 00 0C */ b lbl_8004294C +lbl_80042944: +/* 80042944 0003F8A4 80 7B 08 2C */ lwz r3, 0x82c(r27) +/* 80042948 0003F8A8 48 0C E6 45 */ bl ResetBlur__12CWorldShadowFv +lbl_8004294C: +/* 8004294C 0003F8AC 80 7B 07 40 */ lwz r3, 0x740(r27) +/* 80042950 0003F8B0 88 03 03 B2 */ lbz r0, 0x3b2(r3) +/* 80042954 0003F8B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80042958 0003F8B8 41 82 00 14 */ beq lbl_8004296C +/* 8004295C 0003F8BC 7F 84 E3 78 */ mr r4, r28 +/* 80042960 0003F8C0 7F A5 EB 78 */ mr r5, r29 +/* 80042964 0003F8C4 7F C6 F3 78 */ mr r6, r30 +/* 80042968 0003F8C8 48 0D CE C9 */ bl PreRender__11CGrappleArmFR13CStateManagerRC14CFrustumPlanesRC9CVector3f +lbl_8004296C: +/* 8004296C 0003F8CC 80 1B 06 98 */ lwz r0, 0x698(r27) +/* 80042970 0003F8D0 2C 00 00 01 */ cmpwi r0, 1 +/* 80042974 0003F8D4 40 82 00 0C */ bne lbl_80042980 +/* 80042978 0003F8D8 2C 1F 00 01 */ cmpwi r31, 1 +/* 8004297C 0003F8DC 40 82 00 0C */ bne lbl_80042988 +lbl_80042980: +/* 80042980 0003F8E0 80 7B 06 F0 */ lwz r3, 0x6f0(r27) +/* 80042984 0003F8E4 4B FE A0 81 */ bl PreRender__9CAnimDataFv +lbl_80042988: +/* 80042988 0003F8E8 88 1B 08 33 */ lbz r0, 0x833(r27) +/* 8004298C 0003F8EC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80042990 0003F8F0 41 82 00 0C */ beq lbl_8004299C +/* 80042994 0003F8F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80042998 0003F8F8 48 27 35 D9 */ bl AllocatePhazonSuitMaskTexture__13CCubeRendererFv +lbl_8004299C: +/* 8004299C 0003F8FC BB 61 01 1C */ lmw r27, 0x11c(r1) +/* 800429A0 0003F900 80 01 01 34 */ lwz r0, 0x134(r1) +/* 800429A4 0003F904 7C 08 03 A6 */ mtlr r0 +/* 800429A8 0003F908 38 21 01 30 */ addi r1, r1, 0x130 +/* 800429AC 0003F90C 4E 80 00 20 */ blr + +.global AddToRenderer__10CPlayerGunCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__10CPlayerGunCFRC14CFrustumPlanesRC13CStateManager: +/* 800429B0 0003F910 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800429B4 0003F914 7C 08 02 A6 */ mflr r0 +/* 800429B8 0003F918 90 01 00 14 */ stw r0, 0x14(r1) +/* 800429BC 0003F91C 80 63 07 2C */ lwz r3, 0x72c(r3) +/* 800429C0 0003F920 38 63 00 10 */ addi r3, r3, 0x10 +/* 800429C4 0003F924 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 800429C8 0003F928 28 00 00 00 */ cmplwi r0, 0 +/* 800429CC 0003F92C 41 82 00 08 */ beq lbl_800429D4 +/* 800429D0 0003F930 48 0D 32 B1 */ bl RenderParticles__10CModelDataCFRC14CFrustumPlanes +lbl_800429D4: +/* 800429D4 0003F934 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800429D8 0003F938 7C 08 03 A6 */ mtlr r0 +/* 800429DC 0003F93C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800429E0 0003F940 4E 80 00 20 */ blr + +.global __dt__10CPlayerGunFv +__dt__10CPlayerGunFv: +/* 800429E4 0003F944 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800429E8 0003F948 7C 08 02 A6 */ mflr r0 +/* 800429EC 0003F94C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800429F0 0003F950 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800429F4 0003F954 7C 9F 23 78 */ mr r31, r4 +/* 800429F8 0003F958 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800429FC 0003F95C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80042A00 0003F960 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80042A04 0003F964 93 81 00 20 */ stw r28, 0x20(r1) +/* 80042A08 0003F968 41 82 03 D8 */ beq lbl_80042DE0 +/* 80042A0C 0003F96C 34 1E 08 2C */ addic. r0, r30, 0x82c +/* 80042A10 0003F970 41 82 00 10 */ beq lbl_80042A20 +/* 80042A14 0003F974 80 7E 08 2C */ lwz r3, 0x82c(r30) +/* 80042A18 0003F978 38 80 00 01 */ li r4, 1 +/* 80042A1C 0003F97C 48 0C F1 39 */ bl __dt__12CWorldShadowFv +lbl_80042A20: +/* 80042A20 0003F980 34 1E 08 00 */ addic. r0, r30, 0x800 +/* 80042A24 0003F984 41 82 00 60 */ beq lbl_80042A84 +/* 80042A28 0003F988 3B 9E 08 04 */ addi r28, r30, 0x804 +/* 80042A2C 0003F98C 3B A0 00 00 */ li r29, 0 +/* 80042A30 0003F990 48 00 00 40 */ b lbl_80042A70 +lbl_80042A34: +/* 80042A34 0003F994 28 1C 00 00 */ cmplwi r28, 0 +/* 80042A38 0003F998 41 82 00 30 */ beq lbl_80042A68 +/* 80042A3C 0003F99C 88 1C 00 00 */ lbz r0, 0(r28) +/* 80042A40 0003F9A0 28 00 00 00 */ cmplwi r0, 0 +/* 80042A44 0003F9A4 41 82 00 24 */ beq lbl_80042A68 +/* 80042A48 0003F9A8 80 7C 00 04 */ lwz r3, 4(r28) +/* 80042A4C 0003F9AC 28 03 00 00 */ cmplwi r3, 0 +/* 80042A50 0003F9B0 41 82 00 18 */ beq lbl_80042A68 +/* 80042A54 0003F9B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80042A58 0003F9B8 38 80 00 01 */ li r4, 1 +/* 80042A5C 0003F9BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80042A60 0003F9C0 7D 89 03 A6 */ mtctr r12 +/* 80042A64 0003F9C4 4E 80 04 21 */ bctrl +lbl_80042A68: +/* 80042A68 0003F9C8 3B 9C 00 08 */ addi r28, r28, 8 +/* 80042A6C 0003F9CC 3B BD 00 01 */ addi r29, r29, 1 +lbl_80042A70: +/* 80042A70 0003F9D0 80 1E 08 00 */ lwz r0, 0x800(r30) +/* 80042A74 0003F9D4 7C 1D 00 00 */ cmpw r29, r0 +/* 80042A78 0003F9D8 41 80 FF BC */ blt lbl_80042A34 +/* 80042A7C 0003F9DC 38 00 00 00 */ li r0, 0 +/* 80042A80 0003F9E0 90 1E 08 00 */ stw r0, 0x800(r30) +lbl_80042A84: +/* 80042A84 0003F9E4 34 1E 07 C0 */ addic. r0, r30, 0x7c0 +/* 80042A88 0003F9E8 41 82 00 44 */ beq lbl_80042ACC +/* 80042A8C 0003F9EC 3B 9E 07 C4 */ addi r28, r30, 0x7c4 +/* 80042A90 0003F9F0 3B A0 00 00 */ li r29, 0 +/* 80042A94 0003F9F4 48 00 00 24 */ b lbl_80042AB8 +lbl_80042A98: +/* 80042A98 0003F9F8 28 1C 00 00 */ cmplwi r28, 0 +/* 80042A9C 0003F9FC 41 82 00 14 */ beq lbl_80042AB0 +/* 80042AA0 0003FA00 41 82 00 10 */ beq lbl_80042AB0 +/* 80042AA4 0003FA04 7F 83 E3 78 */ mr r3, r28 +/* 80042AA8 0003FA08 38 80 00 00 */ li r4, 0 +/* 80042AAC 0003FA0C 48 2F E3 95 */ bl __dt__6CTokenFv +lbl_80042AB0: +/* 80042AB0 0003FA10 3B 9C 00 0C */ addi r28, r28, 0xc +/* 80042AB4 0003FA14 3B BD 00 01 */ addi r29, r29, 1 +lbl_80042AB8: +/* 80042AB8 0003FA18 80 1E 07 C0 */ lwz r0, 0x7c0(r30) +/* 80042ABC 0003FA1C 7C 1D 00 00 */ cmpw r29, r0 +/* 80042AC0 0003FA20 41 80 FF D8 */ blt lbl_80042A98 +/* 80042AC4 0003FA24 38 00 00 00 */ li r0, 0 +/* 80042AC8 0003FA28 90 1E 07 C0 */ stw r0, 0x7c0(r30) +lbl_80042ACC: +/* 80042ACC 0003FA2C 38 7E 07 84 */ addi r3, r30, 0x784 +/* 80042AD0 0003FA30 38 80 FF FF */ li r4, -1 +/* 80042AD4 0003FA34 48 00 06 41 */ bl sub_80043114 +/* 80042AD8 0003FA38 34 1E 07 7C */ addic. r0, r30, 0x77c +/* 80042ADC 0003FA3C 41 82 00 30 */ beq lbl_80042B0C +/* 80042AE0 0003FA40 88 1E 07 7C */ lbz r0, 0x77c(r30) +/* 80042AE4 0003FA44 28 00 00 00 */ cmplwi r0, 0 +/* 80042AE8 0003FA48 41 82 00 24 */ beq lbl_80042B0C +/* 80042AEC 0003FA4C 80 7E 07 80 */ lwz r3, 0x780(r30) +/* 80042AF0 0003FA50 28 03 00 00 */ cmplwi r3, 0 +/* 80042AF4 0003FA54 41 82 00 18 */ beq lbl_80042B0C +/* 80042AF8 0003FA58 81 83 00 00 */ lwz r12, 0(r3) +/* 80042AFC 0003FA5C 38 80 00 01 */ li r4, 1 +/* 80042B00 0003FA60 81 8C 00 08 */ lwz r12, 8(r12) +/* 80042B04 0003FA64 7D 89 03 A6 */ mtctr r12 +/* 80042B08 0003FA68 4E 80 04 21 */ bctrl +lbl_80042B0C: +/* 80042B0C 0003FA6C 34 1E 07 74 */ addic. r0, r30, 0x774 +/* 80042B10 0003FA70 41 82 00 30 */ beq lbl_80042B40 +/* 80042B14 0003FA74 88 1E 07 74 */ lbz r0, 0x774(r30) +/* 80042B18 0003FA78 28 00 00 00 */ cmplwi r0, 0 +/* 80042B1C 0003FA7C 41 82 00 24 */ beq lbl_80042B40 +/* 80042B20 0003FA80 80 7E 07 78 */ lwz r3, 0x778(r30) +/* 80042B24 0003FA84 28 03 00 00 */ cmplwi r3, 0 +/* 80042B28 0003FA88 41 82 00 18 */ beq lbl_80042B40 +/* 80042B2C 0003FA8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80042B30 0003FA90 38 80 00 01 */ li r4, 1 +/* 80042B34 0003FA94 81 8C 00 08 */ lwz r12, 8(r12) +/* 80042B38 0003FA98 7D 89 03 A6 */ mtctr r12 +/* 80042B3C 0003FA9C 4E 80 04 21 */ bctrl +lbl_80042B40: +/* 80042B40 0003FAA0 34 1E 07 60 */ addic. r0, r30, 0x760 +/* 80042B44 0003FAA4 41 82 00 58 */ beq lbl_80042B9C +/* 80042B48 0003FAA8 80 BE 07 60 */ lwz r5, 0x760(r30) +/* 80042B4C 0003FAAC 38 60 00 00 */ li r3, 0 +/* 80042B50 0003FAB0 2C 05 00 00 */ cmpwi r5, 0 +/* 80042B54 0003FAB4 40 81 00 40 */ ble lbl_80042B94 +/* 80042B58 0003FAB8 2C 05 00 08 */ cmpwi r5, 8 +/* 80042B5C 0003FABC 38 85 FF F8 */ addi r4, r5, -8 +/* 80042B60 0003FAC0 40 81 00 20 */ ble lbl_80042B80 +/* 80042B64 0003FAC4 38 04 00 07 */ addi r0, r4, 7 +/* 80042B68 0003FAC8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80042B6C 0003FACC 7C 09 03 A6 */ mtctr r0 +/* 80042B70 0003FAD0 2C 04 00 00 */ cmpwi r4, 0 +/* 80042B74 0003FAD4 40 81 00 0C */ ble lbl_80042B80 +lbl_80042B78: +/* 80042B78 0003FAD8 38 63 00 08 */ addi r3, r3, 8 +/* 80042B7C 0003FADC 42 00 FF FC */ bdnz lbl_80042B78 +lbl_80042B80: +/* 80042B80 0003FAE0 7C 03 28 50 */ subf r0, r3, r5 +/* 80042B84 0003FAE4 7C 09 03 A6 */ mtctr r0 +/* 80042B88 0003FAE8 7C 03 28 00 */ cmpw r3, r5 +/* 80042B8C 0003FAEC 40 80 00 08 */ bge lbl_80042B94 +lbl_80042B90: +/* 80042B90 0003FAF0 42 00 00 00 */ bdnz lbl_80042B90 +lbl_80042B94: +/* 80042B94 0003FAF4 38 00 00 00 */ li r0, 0 +/* 80042B98 0003FAF8 90 1E 07 60 */ stw r0, 0x760(r30) +lbl_80042B9C: +/* 80042B9C 0003FAFC 34 1E 07 5C */ addic. r0, r30, 0x75c +/* 80042BA0 0003FB00 41 82 00 24 */ beq lbl_80042BC4 +/* 80042BA4 0003FB04 80 7E 07 5C */ lwz r3, 0x75c(r30) +/* 80042BA8 0003FB08 28 03 00 00 */ cmplwi r3, 0 +/* 80042BAC 0003FB0C 41 82 00 18 */ beq lbl_80042BC4 +/* 80042BB0 0003FB10 81 83 00 00 */ lwz r12, 0(r3) +/* 80042BB4 0003FB14 38 80 00 01 */ li r4, 1 +/* 80042BB8 0003FB18 81 8C 00 08 */ lwz r12, 8(r12) +/* 80042BBC 0003FB1C 7D 89 03 A6 */ mtctr r12 +/* 80042BC0 0003FB20 4E 80 04 21 */ bctrl +lbl_80042BC4: +/* 80042BC4 0003FB24 34 1E 07 58 */ addic. r0, r30, 0x758 +/* 80042BC8 0003FB28 41 82 00 24 */ beq lbl_80042BEC +/* 80042BCC 0003FB2C 80 7E 07 58 */ lwz r3, 0x758(r30) +/* 80042BD0 0003FB30 28 03 00 00 */ cmplwi r3, 0 +/* 80042BD4 0003FB34 41 82 00 18 */ beq lbl_80042BEC +/* 80042BD8 0003FB38 81 83 00 00 */ lwz r12, 0(r3) +/* 80042BDC 0003FB3C 38 80 00 01 */ li r4, 1 +/* 80042BE0 0003FB40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80042BE4 0003FB44 7D 89 03 A6 */ mtctr r12 +/* 80042BE8 0003FB48 4E 80 04 21 */ bctrl +lbl_80042BEC: +/* 80042BEC 0003FB4C 34 1E 07 54 */ addic. r0, r30, 0x754 +/* 80042BF0 0003FB50 41 82 00 24 */ beq lbl_80042C14 +/* 80042BF4 0003FB54 80 7E 07 54 */ lwz r3, 0x754(r30) +/* 80042BF8 0003FB58 28 03 00 00 */ cmplwi r3, 0 +/* 80042BFC 0003FB5C 41 82 00 18 */ beq lbl_80042C14 +/* 80042C00 0003FB60 81 83 00 00 */ lwz r12, 0(r3) +/* 80042C04 0003FB64 38 80 00 01 */ li r4, 1 +/* 80042C08 0003FB68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80042C0C 0003FB6C 7D 89 03 A6 */ mtctr r12 +/* 80042C10 0003FB70 4E 80 04 21 */ bctrl +lbl_80042C14: +/* 80042C14 0003FB74 34 1E 07 50 */ addic. r0, r30, 0x750 +/* 80042C18 0003FB78 41 82 00 24 */ beq lbl_80042C3C +/* 80042C1C 0003FB7C 80 7E 07 50 */ lwz r3, 0x750(r30) +/* 80042C20 0003FB80 28 03 00 00 */ cmplwi r3, 0 +/* 80042C24 0003FB84 41 82 00 18 */ beq lbl_80042C3C +/* 80042C28 0003FB88 81 83 00 00 */ lwz r12, 0(r3) +/* 80042C2C 0003FB8C 38 80 00 01 */ li r4, 1 +/* 80042C30 0003FB90 81 8C 00 08 */ lwz r12, 8(r12) +/* 80042C34 0003FB94 7D 89 03 A6 */ mtctr r12 +/* 80042C38 0003FB98 4E 80 04 21 */ bctrl +lbl_80042C3C: +/* 80042C3C 0003FB9C 34 1E 07 4C */ addic. r0, r30, 0x74c +/* 80042C40 0003FBA0 41 82 00 24 */ beq lbl_80042C64 +/* 80042C44 0003FBA4 80 7E 07 4C */ lwz r3, 0x74c(r30) +/* 80042C48 0003FBA8 28 03 00 00 */ cmplwi r3, 0 +/* 80042C4C 0003FBAC 41 82 00 18 */ beq lbl_80042C64 +/* 80042C50 0003FBB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80042C54 0003FBB4 38 80 00 01 */ li r4, 1 +/* 80042C58 0003FBB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80042C5C 0003FBBC 7D 89 03 A6 */ mtctr r12 +/* 80042C60 0003FBC0 4E 80 04 21 */ bctrl +lbl_80042C64: +/* 80042C64 0003FBC4 38 7E 07 48 */ addi r3, r30, 0x748 +/* 80042C68 0003FBC8 38 80 FF FF */ li r4, -1 +/* 80042C6C 0003FBCC 48 00 03 0D */ bl "__dt__Q24rstl34single_ptr<20CRainSplashGenerator>" +/* 80042C70 0003FBD0 38 7E 07 44 */ addi r3, r30, 0x744 +/* 80042C74 0003FBD4 38 80 FF FF */ li r4, -1 +/* 80042C78 0003FBD8 48 00 01 8D */ bl "__dt__Q24rstl24single_ptr<10CAuxWeapon>" +/* 80042C7C 0003FBDC 34 1E 07 40 */ addic. r0, r30, 0x740 +/* 80042C80 0003FBE0 41 82 00 10 */ beq lbl_80042C90 +/* 80042C84 0003FBE4 80 7E 07 40 */ lwz r3, 0x740(r30) +/* 80042C88 0003FBE8 38 80 00 01 */ li r4, 1 +/* 80042C8C 0003FBEC 48 0D CC D9 */ bl __dt__11CGrappleArmFv +lbl_80042C90: +/* 80042C90 0003FBF0 34 1E 07 3C */ addic. r0, r30, 0x73c +/* 80042C94 0003FBF4 41 82 00 10 */ beq lbl_80042CA4 +/* 80042C98 0003FBF8 80 7E 07 3C */ lwz r3, 0x73c(r30) +/* 80042C9C 0003FBFC 38 80 00 01 */ li r4, 1 +/* 80042CA0 0003FC00 48 19 69 39 */ bl __dt__10CGunMotionFv +lbl_80042CA4: +/* 80042CA4 0003FC04 38 7E 06 E0 */ addi r3, r30, 0x6e0 +/* 80042CA8 0003FC08 38 80 FF FF */ li r4, -1 +/* 80042CAC 0003FC0C 48 0D 3D A1 */ bl __dt__10CModelDataFv +/* 80042CB0 0003FC10 34 1E 05 50 */ addic. r0, r30, 0x550 +/* 80042CB4 0003FC14 41 82 00 BC */ beq lbl_80042D70 +/* 80042CB8 0003FC18 34 1E 06 00 */ addic. r0, r30, 0x600 +/* 80042CBC 0003FC1C 41 82 00 58 */ beq lbl_80042D14 +/* 80042CC0 0003FC20 80 BE 06 00 */ lwz r5, 0x600(r30) +/* 80042CC4 0003FC24 38 60 00 00 */ li r3, 0 +/* 80042CC8 0003FC28 2C 05 00 00 */ cmpwi r5, 0 +/* 80042CCC 0003FC2C 40 81 00 40 */ ble lbl_80042D0C +/* 80042CD0 0003FC30 2C 05 00 08 */ cmpwi r5, 8 +/* 80042CD4 0003FC34 38 85 FF F8 */ addi r4, r5, -8 +/* 80042CD8 0003FC38 40 81 00 20 */ ble lbl_80042CF8 +/* 80042CDC 0003FC3C 38 04 00 07 */ addi r0, r4, 7 +/* 80042CE0 0003FC40 54 00 E8 FE */ srwi r0, r0, 3 +/* 80042CE4 0003FC44 7C 09 03 A6 */ mtctr r0 +/* 80042CE8 0003FC48 2C 04 00 00 */ cmpwi r4, 0 +/* 80042CEC 0003FC4C 40 81 00 0C */ ble lbl_80042CF8 +lbl_80042CF0: +/* 80042CF0 0003FC50 38 63 00 08 */ addi r3, r3, 8 +/* 80042CF4 0003FC54 42 00 FF FC */ bdnz lbl_80042CF0 +lbl_80042CF8: +/* 80042CF8 0003FC58 7C 03 28 50 */ subf r0, r3, r5 +/* 80042CFC 0003FC5C 7C 09 03 A6 */ mtctr r0 +/* 80042D00 0003FC60 7C 03 28 00 */ cmpw r3, r5 +/* 80042D04 0003FC64 40 80 00 08 */ bge lbl_80042D0C +lbl_80042D08: +/* 80042D08 0003FC68 42 00 00 00 */ bdnz lbl_80042D08 +lbl_80042D0C: +/* 80042D0C 0003FC6C 38 00 00 00 */ li r0, 0 +/* 80042D10 0003FC70 90 1E 06 00 */ stw r0, 0x600(r30) +lbl_80042D14: +/* 80042D14 0003FC74 34 1E 05 CC */ addic. r0, r30, 0x5cc +/* 80042D18 0003FC78 41 82 00 58 */ beq lbl_80042D70 +/* 80042D1C 0003FC7C 80 BE 05 CC */ lwz r5, 0x5cc(r30) +/* 80042D20 0003FC80 38 60 00 00 */ li r3, 0 +/* 80042D24 0003FC84 2C 05 00 00 */ cmpwi r5, 0 +/* 80042D28 0003FC88 40 81 00 40 */ ble lbl_80042D68 +/* 80042D2C 0003FC8C 2C 05 00 08 */ cmpwi r5, 8 +/* 80042D30 0003FC90 38 85 FF F8 */ addi r4, r5, -8 +/* 80042D34 0003FC94 40 81 00 20 */ ble lbl_80042D54 +/* 80042D38 0003FC98 38 04 00 07 */ addi r0, r4, 7 +/* 80042D3C 0003FC9C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80042D40 0003FCA0 7C 09 03 A6 */ mtctr r0 +/* 80042D44 0003FCA4 2C 04 00 00 */ cmpwi r4, 0 +/* 80042D48 0003FCA8 40 81 00 0C */ ble lbl_80042D54 +lbl_80042D4C: +/* 80042D4C 0003FCAC 38 63 00 08 */ addi r3, r3, 8 +/* 80042D50 0003FCB0 42 00 FF FC */ bdnz lbl_80042D4C +lbl_80042D54: +/* 80042D54 0003FCB4 7C 03 28 50 */ subf r0, r3, r5 +/* 80042D58 0003FCB8 7C 09 03 A6 */ mtctr r0 +/* 80042D5C 0003FCBC 7C 03 28 00 */ cmpw r3, r5 +/* 80042D60 0003FCC0 40 80 00 08 */ bge lbl_80042D68 +lbl_80042D64: +/* 80042D64 0003FCC4 42 00 00 00 */ bdnz lbl_80042D64 +lbl_80042D68: +/* 80042D68 0003FCC8 38 00 00 00 */ li r0, 0 +/* 80042D6C 0003FCCC 90 1E 05 CC */ stw r0, 0x5cc(r30) +lbl_80042D70: +/* 80042D70 0003FCD0 34 1E 05 40 */ addic. r0, r30, 0x540 +/* 80042D74 0003FCD4 41 82 00 50 */ beq lbl_80042DC4 +/* 80042D78 0003FCD8 80 1E 05 44 */ lwz r0, 0x544(r30) +/* 80042D7C 0003FCDC 83 9E 05 4C */ lwz r28, 0x54c(r30) +/* 80042D80 0003FCE0 54 00 18 38 */ slwi r0, r0, 3 +/* 80042D84 0003FCE4 7F BC 02 14 */ add r29, r28, r0 +/* 80042D88 0003FCE8 93 81 00 0C */ stw r28, 0xc(r1) +/* 80042D8C 0003FCEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80042D90 0003FCF0 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80042D94 0003FCF4 93 81 00 08 */ stw r28, 8(r1) +/* 80042D98 0003FCF8 48 00 00 14 */ b lbl_80042DAC +lbl_80042D9C: +/* 80042D9C 0003FCFC 7F 83 E3 78 */ mr r3, r28 +/* 80042DA0 0003FD00 38 80 FF FF */ li r4, -1 +/* 80042DA4 0003FD04 48 2F E0 9D */ bl __dt__6CTokenFv +/* 80042DA8 0003FD08 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80042DAC: +/* 80042DAC 0003FD0C 7C 1C E8 40 */ cmplw r28, r29 +/* 80042DB0 0003FD10 40 82 FF EC */ bne lbl_80042D9C +/* 80042DB4 0003FD14 80 7E 05 4C */ lwz r3, 0x54c(r30) +/* 80042DB8 0003FD18 28 03 00 00 */ cmplwi r3, 0 +/* 80042DBC 0003FD1C 41 82 00 08 */ beq lbl_80042DC4 +/* 80042DC0 0003FD20 48 2D 2B 71 */ bl Free__7CMemoryFPCv +lbl_80042DC4: +/* 80042DC4 0003FD24 7F C3 F3 78 */ mr r3, r30 +/* 80042DC8 0003FD28 38 80 FF FF */ li r4, -1 +/* 80042DCC 0003FD2C 48 0C 23 09 */ bl __dt__12CActorLightsFv +/* 80042DD0 0003FD30 7F E0 07 35 */ extsh. r0, r31 +/* 80042DD4 0003FD34 40 81 00 0C */ ble lbl_80042DE0 +/* 80042DD8 0003FD38 7F C3 F3 78 */ mr r3, r30 +/* 80042DDC 0003FD3C 48 00 0D 71 */ bl "__dl__24TOneStatic<10CPlayerGun>FPv" +lbl_80042DE0: +/* 80042DE0 0003FD40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80042DE4 0003FD44 7F C3 F3 78 */ mr r3, r30 +/* 80042DE8 0003FD48 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80042DEC 0003FD4C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80042DF0 0003FD50 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80042DF4 0003FD54 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80042DF8 0003FD58 7C 08 03 A6 */ mtlr r0 +/* 80042DFC 0003FD5C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80042E00 0003FD60 4E 80 00 20 */ blr + +.global "__dt__Q24rstl24single_ptr<10CAuxWeapon>" +"__dt__Q24rstl24single_ptr<10CAuxWeapon>": +/* 80042E04 0003FD64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80042E08 0003FD68 7C 08 02 A6 */ mflr r0 +/* 80042E0C 0003FD6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80042E10 0003FD70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80042E14 0003FD74 7C 9F 23 78 */ mr r31, r4 +/* 80042E18 0003FD78 93 C1 00 08 */ stw r30, 8(r1) +/* 80042E1C 0003FD7C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80042E20 0003FD80 41 82 00 20 */ beq lbl_80042E40 +/* 80042E24 0003FD84 80 7E 00 00 */ lwz r3, 0(r30) +/* 80042E28 0003FD88 38 80 00 01 */ li r4, 1 +/* 80042E2C 0003FD8C 48 00 00 31 */ bl __dt__10CAuxWeaponFv +/* 80042E30 0003FD90 7F E0 07 35 */ extsh. r0, r31 +/* 80042E34 0003FD94 40 81 00 0C */ ble lbl_80042E40 +/* 80042E38 0003FD98 7F C3 F3 78 */ mr r3, r30 +/* 80042E3C 0003FD9C 48 2D 2A F5 */ bl Free__7CMemoryFPCv +lbl_80042E40: +/* 80042E40 0003FDA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80042E44 0003FDA4 7F C3 F3 78 */ mr r3, r30 +/* 80042E48 0003FDA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80042E4C 0003FDAC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80042E50 0003FDB0 7C 08 03 A6 */ mtlr r0 +/* 80042E54 0003FDB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80042E58 0003FDB8 4E 80 00 20 */ blr + +.global __dt__10CAuxWeaponFv +__dt__10CAuxWeaponFv: +/* 80042E5C 0003FDBC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80042E60 0003FDC0 7C 08 02 A6 */ mflr r0 +/* 80042E64 0003FDC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80042E68 0003FDC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80042E6C 0003FDCC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80042E70 0003FDD0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80042E74 0003FDD4 7C 9D 23 78 */ mr r29, r4 +/* 80042E78 0003FDD8 93 81 00 10 */ stw r28, 0x10(r1) +/* 80042E7C 0003FDDC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80042E80 0003FDE0 41 82 00 D4 */ beq lbl_80042F54 +/* 80042E84 0003FDE4 34 1C 00 28 */ addic. r0, r28, 0x28 +/* 80042E88 0003FDE8 41 82 00 44 */ beq lbl_80042ECC +/* 80042E8C 0003FDEC 3B DC 00 2C */ addi r30, r28, 0x2c +/* 80042E90 0003FDF0 3B E0 00 00 */ li r31, 0 +/* 80042E94 0003FDF4 48 00 00 24 */ b lbl_80042EB8 +lbl_80042E98: +/* 80042E98 0003FDF8 28 1E 00 00 */ cmplwi r30, 0 +/* 80042E9C 0003FDFC 41 82 00 14 */ beq lbl_80042EB0 +/* 80042EA0 0003FE00 41 82 00 10 */ beq lbl_80042EB0 +/* 80042EA4 0003FE04 7F C3 F3 78 */ mr r3, r30 +/* 80042EA8 0003FE08 38 80 00 00 */ li r4, 0 +/* 80042EAC 0003FE0C 48 2F DF 95 */ bl __dt__6CTokenFv +lbl_80042EB0: +/* 80042EB0 0003FE10 3B DE 00 0C */ addi r30, r30, 0xc +/* 80042EB4 0003FE14 3B FF 00 01 */ addi r31, r31, 1 +lbl_80042EB8: +/* 80042EB8 0003FE18 80 1C 00 28 */ lwz r0, 0x28(r28) +/* 80042EBC 0003FE1C 7C 1F 00 00 */ cmpw r31, r0 +/* 80042EC0 0003FE20 41 80 FF D8 */ blt lbl_80042E98 +/* 80042EC4 0003FE24 38 00 00 00 */ li r0, 0 +/* 80042EC8 0003FE28 90 1C 00 28 */ stw r0, 0x28(r28) +lbl_80042ECC: +/* 80042ECC 0003FE2C 34 1C 00 24 */ addic. r0, r28, 0x24 +/* 80042ED0 0003FE30 41 82 00 24 */ beq lbl_80042EF4 +/* 80042ED4 0003FE34 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 80042ED8 0003FE38 28 03 00 00 */ cmplwi r3, 0 +/* 80042EDC 0003FE3C 41 82 00 18 */ beq lbl_80042EF4 +/* 80042EE0 0003FE40 81 83 00 00 */ lwz r12, 0(r3) +/* 80042EE4 0003FE44 38 80 00 01 */ li r4, 1 +/* 80042EE8 0003FE48 81 8C 00 08 */ lwz r12, 8(r12) +/* 80042EEC 0003FE4C 7D 89 03 A6 */ mtctr r12 +/* 80042EF0 0003FE50 4E 80 04 21 */ bctrl +lbl_80042EF4: +/* 80042EF4 0003FE54 34 1C 00 18 */ addic. r0, r28, 0x18 +/* 80042EF8 0003FE58 41 82 00 18 */ beq lbl_80042F10 +/* 80042EFC 0003FE5C 34 1C 00 18 */ addic. r0, r28, 0x18 +/* 80042F00 0003FE60 41 82 00 10 */ beq lbl_80042F10 +/* 80042F04 0003FE64 38 7C 00 18 */ addi r3, r28, 0x18 +/* 80042F08 0003FE68 38 80 00 00 */ li r4, 0 +/* 80042F0C 0003FE6C 48 2F DF 35 */ bl __dt__6CTokenFv +lbl_80042F10: +/* 80042F10 0003FE70 34 1C 00 0C */ addic. r0, r28, 0xc +/* 80042F14 0003FE74 41 82 00 18 */ beq lbl_80042F2C +/* 80042F18 0003FE78 34 1C 00 0C */ addic. r0, r28, 0xc +/* 80042F1C 0003FE7C 41 82 00 10 */ beq lbl_80042F2C +/* 80042F20 0003FE80 38 7C 00 0C */ addi r3, r28, 0xc +/* 80042F24 0003FE84 38 80 00 00 */ li r4, 0 +/* 80042F28 0003FE88 48 2F DF 19 */ bl __dt__6CTokenFv +lbl_80042F2C: +/* 80042F2C 0003FE8C 28 1C 00 00 */ cmplwi r28, 0 +/* 80042F30 0003FE90 41 82 00 14 */ beq lbl_80042F44 +/* 80042F34 0003FE94 41 82 00 10 */ beq lbl_80042F44 +/* 80042F38 0003FE98 7F 83 E3 78 */ mr r3, r28 +/* 80042F3C 0003FE9C 38 80 00 00 */ li r4, 0 +/* 80042F40 0003FEA0 48 2F DF 01 */ bl __dt__6CTokenFv +lbl_80042F44: +/* 80042F44 0003FEA4 7F A0 07 35 */ extsh. r0, r29 +/* 80042F48 0003FEA8 40 81 00 0C */ ble lbl_80042F54 +/* 80042F4C 0003FEAC 7F 83 E3 78 */ mr r3, r28 +/* 80042F50 0003FEB0 48 2D 29 E1 */ bl Free__7CMemoryFPCv +lbl_80042F54: +/* 80042F54 0003FEB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80042F58 0003FEB8 7F 83 E3 78 */ mr r3, r28 +/* 80042F5C 0003FEBC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80042F60 0003FEC0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80042F64 0003FEC4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80042F68 0003FEC8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80042F6C 0003FECC 7C 08 03 A6 */ mtlr r0 +/* 80042F70 0003FED0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80042F74 0003FED4 4E 80 00 20 */ blr + +.global "__dt__Q24rstl34single_ptr<20CRainSplashGenerator>" +"__dt__Q24rstl34single_ptr<20CRainSplashGenerator>": +/* 80042F78 0003FED8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80042F7C 0003FEDC 7C 08 02 A6 */ mflr r0 +/* 80042F80 0003FEE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80042F84 0003FEE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80042F88 0003FEE8 7C 9F 23 78 */ mr r31, r4 +/* 80042F8C 0003FEEC 93 C1 00 08 */ stw r30, 8(r1) +/* 80042F90 0003FEF0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80042F94 0003FEF4 41 82 00 20 */ beq lbl_80042FB4 +/* 80042F98 0003FEF8 80 7E 00 00 */ lwz r3, 0(r30) +/* 80042F9C 0003FEFC 38 80 00 01 */ li r4, 1 +/* 80042FA0 0003FF00 48 00 00 31 */ bl __dt__20CRainSplashGeneratorFv +/* 80042FA4 0003FF04 7F E0 07 35 */ extsh. r0, r31 +/* 80042FA8 0003FF08 40 81 00 0C */ ble lbl_80042FB4 +/* 80042FAC 0003FF0C 7F C3 F3 78 */ mr r3, r30 +/* 80042FB0 0003FF10 48 2D 29 81 */ bl Free__7CMemoryFPCv +lbl_80042FB4: +/* 80042FB4 0003FF14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80042FB8 0003FF18 7F C3 F3 78 */ mr r3, r30 +/* 80042FBC 0003FF1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80042FC0 0003FF20 83 C1 00 08 */ lwz r30, 8(r1) +/* 80042FC4 0003FF24 7C 08 03 A6 */ mtlr r0 +/* 80042FC8 0003FF28 38 21 00 10 */ addi r1, r1, 0x10 +/* 80042FCC 0003FF2C 4E 80 00 20 */ blr + +.global __dt__20CRainSplashGeneratorFv +__dt__20CRainSplashGeneratorFv: +/* 80042FD0 0003FF30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80042FD4 0003FF34 7C 08 02 A6 */ mflr r0 +/* 80042FD8 0003FF38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80042FDC 0003FF3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80042FE0 0003FF40 7C 9F 23 78 */ mr r31, r4 +/* 80042FE4 0003FF44 93 C1 00 08 */ stw r30, 8(r1) +/* 80042FE8 0003FF48 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80042FEC 0003FF4C 41 82 00 1C */ beq lbl_80043008 +/* 80042FF0 0003FF50 38 80 FF FF */ li r4, -1 +/* 80042FF4 0003FF54 48 00 00 31 */ bl sub_80043024 +/* 80042FF8 0003FF58 7F E0 07 35 */ extsh. r0, r31 +/* 80042FFC 0003FF5C 40 81 00 0C */ ble lbl_80043008 +/* 80043000 0003FF60 7F C3 F3 78 */ mr r3, r30 +/* 80043004 0003FF64 48 2D 29 2D */ bl Free__7CMemoryFPCv +lbl_80043008: +/* 80043008 0003FF68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004300C 0003FF6C 7F C3 F3 78 */ mr r3, r30 +/* 80043010 0003FF70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80043014 0003FF74 83 C1 00 08 */ lwz r30, 8(r1) +/* 80043018 0003FF78 7C 08 03 A6 */ mtlr r0 +/* 8004301C 0003FF7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80043020 0003FF80 4E 80 00 20 */ blr + +.global sub_80043024 +sub_80043024: +/* 80043024 0003FF84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80043028 0003FF88 7C 08 02 A6 */ mflr r0 +/* 8004302C 0003FF8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80043030 0003FF90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80043034 0003FF94 7C 9F 23 78 */ mr r31, r4 +/* 80043038 0003FF98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004303C 0003FF9C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80043040 0003FFA0 41 82 00 B8 */ beq lbl_800430F8 +/* 80043044 0003FFA4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80043048 0003FFA8 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8004304C 0003FFAC 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 80043050 0003FFB0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80043054 0003FFB4 7C 66 02 14 */ add r3, r6, r0 +/* 80043058 0003FFB8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8004305C 0003FFBC 90 61 00 08 */ stw r3, 8(r1) +/* 80043060 0003FFC0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80043064 0003FFC4 48 00 00 6C */ b lbl_800430D0 +lbl_80043068: +/* 80043068 0003FFC8 28 06 00 00 */ cmplwi r6, 0 +/* 8004306C 0003FFCC 41 82 00 60 */ beq lbl_800430CC +/* 80043070 0003FFD0 41 82 00 5C */ beq lbl_800430CC +/* 80043074 0003FFD4 80 E6 00 00 */ lwz r7, 0(r6) +/* 80043078 0003FFD8 38 80 00 00 */ li r4, 0 +/* 8004307C 0003FFDC 2C 07 00 00 */ cmpwi r7, 0 +/* 80043080 0003FFE0 40 81 00 44 */ ble lbl_800430C4 +/* 80043084 0003FFE4 2C 07 00 08 */ cmpwi r7, 8 +/* 80043088 0003FFE8 38 A7 FF F8 */ addi r5, r7, -8 +/* 8004308C 0003FFEC 40 81 00 20 */ ble lbl_800430AC +/* 80043090 0003FFF0 38 05 00 07 */ addi r0, r5, 7 +/* 80043094 0003FFF4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80043098 0003FFF8 7C 09 03 A6 */ mtctr r0 +/* 8004309C 0003FFFC 2C 05 00 00 */ cmpwi r5, 0 +/* 800430A0 00040000 40 81 00 0C */ ble lbl_800430AC +lbl_800430A4: +/* 800430A4 00040004 38 84 00 08 */ addi r4, r4, 8 +/* 800430A8 00040008 42 00 FF FC */ bdnz lbl_800430A4 +lbl_800430AC: +/* 800430AC 0004000C 7C 04 38 50 */ subf r0, r4, r7 +/* 800430B0 00040010 7C 09 03 A6 */ mtctr r0 +/* 800430B4 00040014 7C 04 38 00 */ cmpw r4, r7 +/* 800430B8 00040018 40 80 00 0C */ bge lbl_800430C4 +lbl_800430BC: +/* 800430BC 0004001C 38 84 00 01 */ addi r4, r4, 1 +/* 800430C0 00040020 42 00 FF FC */ bdnz lbl_800430BC +lbl_800430C4: +/* 800430C4 00040024 38 00 00 00 */ li r0, 0 +/* 800430C8 00040028 90 06 00 00 */ stw r0, 0(r6) +lbl_800430CC: +/* 800430CC 0004002C 38 C6 00 74 */ addi r6, r6, 0x74 +lbl_800430D0: +/* 800430D0 00040030 7C 06 18 40 */ cmplw r6, r3 +/* 800430D4 00040034 40 82 FF 94 */ bne lbl_80043068 +/* 800430D8 00040038 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800430DC 0004003C 28 03 00 00 */ cmplwi r3, 0 +/* 800430E0 00040040 41 82 00 08 */ beq lbl_800430E8 +/* 800430E4 00040044 48 2D 28 4D */ bl Free__7CMemoryFPCv +lbl_800430E8: +/* 800430E8 00040048 7F E0 07 35 */ extsh. r0, r31 +/* 800430EC 0004004C 40 81 00 0C */ ble lbl_800430F8 +/* 800430F0 00040050 7F C3 F3 78 */ mr r3, r30 +/* 800430F4 00040054 48 2D 28 3D */ bl Free__7CMemoryFPCv +lbl_800430F8: +/* 800430F8 00040058 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800430FC 0004005C 7F C3 F3 78 */ mr r3, r30 +/* 80043100 00040060 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80043104 00040064 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80043108 00040068 7C 08 03 A6 */ mtlr r0 +/* 8004310C 0004006C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80043110 00040070 4E 80 00 20 */ blr + +.global sub_80043114 +sub_80043114: +/* 80043114 00040074 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80043118 00040078 7C 08 02 A6 */ mflr r0 +/* 8004311C 0004007C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80043120 00040080 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80043124 00040084 7C 79 1B 79 */ or. r25, r3, r3 +/* 80043128 00040088 7C 9A 23 78 */ mr r26, r4 +/* 8004312C 0004008C 41 82 00 84 */ beq lbl_800431B0 +/* 80043130 00040090 3B C0 00 00 */ li r30, 0 +/* 80043134 00040094 3B 79 00 04 */ addi r27, r25, 4 +/* 80043138 00040098 7F DF F3 78 */ mr r31, r30 +/* 8004313C 0004009C 48 00 00 50 */ b lbl_8004318C +lbl_80043140: +/* 80043140 000400A0 28 1B 00 00 */ cmplwi r27, 0 +/* 80043144 000400A4 41 82 00 40 */ beq lbl_80043184 +/* 80043148 000400A8 3B 9B 00 04 */ addi r28, r27, 4 +/* 8004314C 000400AC 3B A0 00 00 */ li r29, 0 +/* 80043150 000400B0 48 00 00 24 */ b lbl_80043174 +lbl_80043154: +/* 80043154 000400B4 28 1C 00 00 */ cmplwi r28, 0 +/* 80043158 000400B8 41 82 00 14 */ beq lbl_8004316C +/* 8004315C 000400BC 41 82 00 10 */ beq lbl_8004316C +/* 80043160 000400C0 7F 83 E3 78 */ mr r3, r28 +/* 80043164 000400C4 38 80 00 00 */ li r4, 0 +/* 80043168 000400C8 48 2F DC D9 */ bl __dt__6CTokenFv +lbl_8004316C: +/* 8004316C 000400CC 3B 9C 00 0C */ addi r28, r28, 0xc +/* 80043170 000400D0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80043174: +/* 80043174 000400D4 80 1B 00 00 */ lwz r0, 0(r27) +/* 80043178 000400D8 7C 1D 00 00 */ cmpw r29, r0 +/* 8004317C 000400DC 41 80 FF D8 */ blt lbl_80043154 +/* 80043180 000400E0 93 FB 00 00 */ stw r31, 0(r27) +lbl_80043184: +/* 80043184 000400E4 3B 7B 00 1C */ addi r27, r27, 0x1c +/* 80043188 000400E8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8004318C: +/* 8004318C 000400EC 80 19 00 00 */ lwz r0, 0(r25) +/* 80043190 000400F0 7C 1E 00 00 */ cmpw r30, r0 +/* 80043194 000400F4 41 80 FF AC */ blt lbl_80043140 +/* 80043198 000400F8 38 60 00 00 */ li r3, 0 +/* 8004319C 000400FC 7F 40 07 35 */ extsh. r0, r26 +/* 800431A0 00040100 90 79 00 00 */ stw r3, 0(r25) +/* 800431A4 00040104 40 81 00 0C */ ble lbl_800431B0 +/* 800431A8 00040108 7F 23 CB 78 */ mr r3, r25 +/* 800431AC 0004010C 48 2D 27 85 */ bl Free__7CMemoryFPCv +lbl_800431B0: +/* 800431B0 00040110 7F 23 CB 78 */ mr r3, r25 +/* 800431B4 00040114 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 800431B8 00040118 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800431BC 0004011C 7C 08 03 A6 */ mtlr r0 +/* 800431C0 00040120 38 21 00 30 */ addi r1, r1, 0x30 +/* 800431C4 00040124 4E 80 00 20 */ blr + +.global __ct__10CPlayerGunF9TUniqueId +__ct__10CPlayerGunF9TUniqueId: +/* 800431C8 00040128 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800431CC 0004012C 7C 08 02 A6 */ mflr r0 +/* 800431D0 00040130 3C A0 80 5A */ lis r5, lbl_805A0004@ha +/* 800431D4 00040134 3C C0 80 3E */ lis r6, lbl_803D9D50@ha +/* 800431D8 00040138 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800431DC 0004013C 39 00 00 00 */ li r8, 0 +/* 800431E0 00040140 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) +/* 800431E4 00040144 39 20 00 00 */ li r9, 0 +/* 800431E8 00040148 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 800431EC 0004014C 7C 9E 23 78 */ mr r30, r4 +/* 800431F0 00040150 3B A6 9D 50 */ addi r29, r6, lbl_803D9D50@l +/* 800431F4 00040154 7C 7F 1B 78 */ mr r31, r3 +/* 800431F8 00040158 38 C0 00 04 */ li r6, 4 +/* 800431FC 0004015C 39 40 00 00 */ li r10, 0 +/* 80043200 00040160 84 85 66 A0 */ lwzu r4, 0x66a0(r5) +/* 80043204 00040164 80 E5 00 04 */ lwz r7, lbl_805A0004@l(r5) +/* 80043208 00040168 80 05 00 08 */ lwz r0, 8(r5) +/* 8004320C 0004016C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80043210 00040170 90 81 00 58 */ stw r4, 0x58(r1) +/* 80043214 00040174 38 80 00 08 */ li r4, 8 +/* 80043218 00040178 90 E1 00 5C */ stw r7, 0x5c(r1) +/* 8004321C 0004017C 38 E0 00 04 */ li r7, 4 +/* 80043220 00040180 90 01 00 60 */ stw r0, 0x60(r1) +/* 80043224 00040184 48 0C 1F A9 */ bl __ct__12CActorLightsFUi9CVector3fiif +/* 80043228 00040188 38 E0 00 00 */ li r7, 0 +/* 8004322C 0004018C 38 C0 00 01 */ li r6, 1 +/* 80043230 00040190 90 FF 02 E0 */ stw r7, 0x2e0(r31) +/* 80043234 00040194 38 A0 00 03 */ li r5, 3 +/* 80043238 00040198 38 80 00 04 */ li r4, 4 +/* 8004323C 0004019C 38 00 20 00 */ li r0, 0x2000 +/* 80043240 000401A0 90 FF 02 E4 */ stw r7, 0x2e4(r31) +/* 80043244 000401A4 38 7F 03 A4 */ addi r3, r31, 0x3a4 +/* 80043248 000401A8 C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) +/* 8004324C 000401AC 90 FF 02 E8 */ stw r7, 0x2e8(r31) +/* 80043250 000401B0 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 80043254 000401B4 90 FF 02 EC */ stw r7, 0x2ec(r31) +/* 80043258 000401B8 90 FF 02 F0 */ stw r7, 0x2f0(r31) +/* 8004325C 000401BC 90 FF 02 F4 */ stw r7, 0x2f4(r31) +/* 80043260 000401C0 90 DF 02 F8 */ stw r6, 0x2f8(r31) +/* 80043264 000401C4 90 FF 02 FC */ stw r7, 0x2fc(r31) +/* 80043268 000401C8 90 FF 03 00 */ stw r7, 0x300(r31) +/* 8004326C 000401CC 90 FF 03 04 */ stw r7, 0x304(r31) +/* 80043270 000401D0 90 BF 03 08 */ stw r5, 0x308(r31) +/* 80043274 000401D4 90 FF 03 0C */ stw r7, 0x30c(r31) +/* 80043278 000401D8 90 FF 03 10 */ stw r7, 0x310(r31) +/* 8004327C 000401DC 90 FF 03 14 */ stw r7, 0x314(r31) +/* 80043280 000401E0 90 FF 03 18 */ stw r7, 0x318(r31) +/* 80043284 000401E4 80 BF 03 18 */ lwz r5, 0x318(r31) +/* 80043288 000401E8 90 BF 03 1C */ stw r5, 0x31c(r31) +/* 8004328C 000401EC 80 BF 03 10 */ lwz r5, 0x310(r31) +/* 80043290 000401F0 90 BF 03 20 */ stw r5, 0x320(r31) +/* 80043294 000401F4 90 9F 03 24 */ stw r4, 0x324(r31) +/* 80043298 000401F8 90 1F 03 28 */ stw r0, 0x328(r31) +/* 8004329C 000401FC 90 FF 03 2C */ stw r7, 0x32c(r31) +/* 800432A0 00040200 90 FF 03 30 */ stw r7, 0x330(r31) +/* 800432A4 00040204 90 FF 03 34 */ stw r7, 0x334(r31) +/* 800432A8 00040208 90 FF 03 38 */ stw r7, 0x338(r31) +/* 800432AC 0004020C 90 FF 03 3C */ stw r7, 0x33c(r31) +/* 800432B0 00040210 D0 5F 03 40 */ stfs f2, 0x340(r31) +/* 800432B4 00040214 D0 5F 03 44 */ stfs f2, 0x344(r31) +/* 800432B8 00040218 D0 5F 03 48 */ stfs f2, 0x348(r31) +/* 800432BC 0004021C D0 5F 03 4C */ stfs f2, 0x34c(r31) +/* 800432C0 00040220 D0 5F 03 50 */ stfs f2, 0x350(r31) +/* 800432C4 00040224 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) +/* 800432C8 00040228 C0 24 00 2C */ lfs f1, 0x2c(r4) +/* 800432CC 0004022C D0 3F 03 54 */ stfs f1, 0x354(r31) +/* 800432D0 00040230 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) +/* 800432D4 00040234 C0 24 00 30 */ lfs f1, 0x30(r4) +/* 800432D8 00040238 D0 3F 03 58 */ stfs f1, 0x358(r31) +/* 800432DC 0004023C D0 5F 03 5C */ stfs f2, 0x35c(r31) +/* 800432E0 00040240 D0 5F 03 60 */ stfs f2, 0x360(r31) +/* 800432E4 00040244 D0 5F 03 64 */ stfs f2, 0x364(r31) +/* 800432E8 00040248 D0 5F 03 68 */ stfs f2, 0x368(r31) +/* 800432EC 0004024C D0 1F 03 6C */ stfs f0, 0x36c(r31) +/* 800432F0 00040250 D0 1F 03 70 */ stfs f0, 0x370(r31) +/* 800432F4 00040254 D0 5F 03 74 */ stfs f2, 0x374(r31) +/* 800432F8 00040258 D0 5F 03 78 */ stfs f2, 0x378(r31) +/* 800432FC 0004025C D0 5F 03 7C */ stfs f2, 0x37c(r31) +/* 80043300 00040260 D0 5F 03 80 */ stfs f2, 0x380(r31) +/* 80043304 00040264 D0 5F 03 84 */ stfs f2, 0x384(r31) +/* 80043308 00040268 D0 5F 03 88 */ stfs f2, 0x388(r31) +/* 8004330C 0004026C D0 5F 03 8C */ stfs f2, 0x38c(r31) +/* 80043310 00040270 D0 5F 03 90 */ stfs f2, 0x390(r31) +/* 80043314 00040274 D0 5F 03 94 */ stfs f2, 0x394(r31) +/* 80043318 00040278 D0 5F 03 98 */ stfs f2, 0x398(r31) +/* 8004331C 0004027C D0 5F 03 9C */ stfs f2, 0x39c(r31) +/* 80043320 00040280 D0 5F 03 A0 */ stfs f2, 0x3a0(r31) +/* 80043324 00040284 48 11 18 8D */ bl __ct__7CFidgetFv +/* 80043328 00040288 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8004332C 0004028C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80043330 00040290 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80043334 00040294 C0 05 00 00 */ lfs f0, 0(r5) +/* 80043338 00040298 38 7F 03 E8 */ addi r3, r31, 0x3e8 +/* 8004333C 0004029C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80043340 000402A0 D0 1F 03 DC */ stfs f0, 0x3dc(r31) +/* 80043344 000402A4 C0 05 00 04 */ lfs f0, 4(r5) +/* 80043348 000402A8 D0 1F 03 E0 */ stfs f0, 0x3e0(r31) +/* 8004334C 000402AC C0 05 00 08 */ lfs f0, 8(r5) +/* 80043350 000402B0 D0 1F 03 E4 */ stfs f0, 0x3e4(r31) +/* 80043354 000402B4 48 2C F8 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80043358 000402B8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8004335C 000402BC 38 7F 04 18 */ addi r3, r31, 0x418 +/* 80043360 000402C0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80043364 000402C4 48 2C F8 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80043368 000402C8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8004336C 000402CC 38 7F 04 48 */ addi r3, r31, 0x448 +/* 80043370 000402D0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80043374 000402D4 48 2C F8 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80043378 000402D8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8004337C 000402DC 38 7F 04 78 */ addi r3, r31, 0x478 +/* 80043380 000402E0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80043384 000402E4 48 2C F7 F1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80043388 000402E8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8004338C 000402EC 38 7F 04 A8 */ addi r3, r31, 0x4a8 +/* 80043390 000402F0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80043394 000402F4 48 2C F7 E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80043398 000402F8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8004339C 000402FC 38 7F 04 D8 */ addi r3, r31, 0x4d8 +/* 800433A0 00040300 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800433A4 00040304 48 2C F7 D1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800433A8 00040308 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800433AC 0004030C 38 7F 05 08 */ addi r3, r31, 0x508 +/* 800433B0 00040310 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800433B4 00040314 48 2C F7 C1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800433B8 00040318 A0 9E 00 00 */ lhz r4, 0(r30) +/* 800433BC 0004031C 38 00 00 00 */ li r0, 0 +/* 800433C0 00040320 38 61 00 38 */ addi r3, r1, 0x38 +/* 800433C4 00040324 B0 9F 05 38 */ sth r4, 0x538(r31) +/* 800433C8 00040328 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 800433CC 0004032C B0 9F 05 3A */ sth r4, 0x53a(r31) +/* 800433D0 00040330 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 800433D4 00040334 B0 9F 05 3C */ sth r4, 0x53c(r31) +/* 800433D8 00040338 90 1F 05 44 */ stw r0, 0x544(r31) +/* 800433DC 0004033C 90 1F 05 48 */ stw r0, 0x548(r31) +/* 800433E0 00040340 90 1F 05 4C */ stw r0, 0x54c(r31) +/* 800433E4 00040344 C0 2D 87 B8 */ lfs f1, lbl_805A7378@sda21(r13) +/* 800433E8 00040348 C0 4D 87 BC */ lfs f2, lbl_805A737C@sda21(r13) +/* 800433EC 0004034C 48 2D 0E 15 */ bl __ct__9CVector2fFff +/* 800433F0 00040350 C0 2D 87 C0 */ lfs f1, lbl_805A7380@sda21(r13) +/* 800433F4 00040354 7C 65 1B 78 */ mr r5, r3 +/* 800433F8 00040358 38 7F 05 50 */ addi r3, r31, 0x550 +/* 800433FC 0004035C 38 80 00 01 */ li r4, 1 +/* 80043400 00040360 48 0A 6E 51 */ bl __ct__16CPlayerCameraBobFQ216CPlayerCameraBob14ECameraBobTypeRC9CVector2ff +/* 80043404 00040364 38 00 00 01 */ li r0, 1 +/* 80043408 00040368 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) +/* 8004340C 0004036C 90 1F 06 58 */ stw r0, 0x658(r31) +/* 80043410 00040370 38 00 00 00 */ li r0, 0 +/* 80043414 00040374 38 7F 06 78 */ addi r3, r31, 0x678 +/* 80043418 00040378 D0 1F 06 5C */ stfs f0, 0x65c(r31) +/* 8004341C 0004037C D0 1F 06 60 */ stfs f0, 0x660(r31) +/* 80043420 00040380 D0 1F 06 64 */ stfs f0, 0x664(r31) +/* 80043424 00040384 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) +/* 80043428 00040388 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 8004342C 0004038C D0 1F 06 68 */ stfs f0, 0x668(r31) +/* 80043430 00040390 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) +/* 80043434 00040394 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 80043438 00040398 D0 1F 06 6C */ stfs f0, 0x66c(r31) +/* 8004343C 0004039C A0 8D 82 48 */ lhz r4, lbl_805A6E08@sda21(r13) +/* 80043440 000403A0 B0 9F 06 70 */ sth r4, 0x670(r31) +/* 80043444 000403A4 90 1F 06 74 */ stw r0, 0x674(r31) +/* 80043448 000403A8 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) +/* 8004344C 000403AC C0 44 00 34 */ lfs f2, 0x34(r4) +/* 80043450 000403B0 C0 24 00 38 */ lfs f1, 0x38(r4) +/* 80043454 000403B4 4B FF AD 3D */ bl __ct__Q210CPlayerGun9CGunMorphFff +/* 80043458 000403B8 88 1F 06 A0 */ lbz r0, 0x6a0(r31) +/* 8004345C 000403BC 38 60 00 01 */ li r3, 1 +/* 80043460 000403C0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80043464 000403C4 C0 A2 84 6C */ lfs f5, lbl_805AA18C@sda21(r2) +/* 80043468 000403C8 98 1F 06 A0 */ stb r0, 0x6a0(r31) +/* 8004346C 000403CC 38 00 00 00 */ li r0, 0 +/* 80043470 000403D0 C0 82 85 2C */ lfs f4, lbl_805AA24C@sda21(r2) +/* 80043474 000403D4 38 7F 06 C8 */ addi r3, r31, 0x6c8 +/* 80043478 000403D8 D0 BF 06 A4 */ stfs f5, 0x6a4(r31) +/* 8004347C 000403DC 38 81 00 4C */ addi r4, r1, 0x4c +/* 80043480 000403E0 C0 62 84 74 */ lfs f3, lbl_805AA194@sda21(r2) +/* 80043484 000403E4 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80043488 000403E8 D0 BF 06 A8 */ stfs f5, 0x6a8(r31) +/* 8004348C 000403EC C0 42 85 30 */ lfs f2, lbl_805AA250@sda21(r2) +/* 80043490 000403F0 D0 BF 06 AC */ stfs f5, 0x6ac(r31) +/* 80043494 000403F4 C0 22 85 34 */ lfs f1, lbl_805AA254@sda21(r2) +/* 80043498 000403F8 D0 BF 06 B0 */ stfs f5, 0x6b0(r31) +/* 8004349C 000403FC C0 02 85 38 */ lfs f0, lbl_805AA258@sda21(r2) +/* 800434A0 00040400 D0 BF 06 B4 */ stfs f5, 0x6b4(r31) +/* 800434A4 00040404 D0 BF 06 B8 */ stfs f5, 0x6b8(r31) +/* 800434A8 00040408 D0 BF 06 BC */ stfs f5, 0x6bc(r31) +/* 800434AC 0004040C 90 1F 06 C0 */ stw r0, 0x6c0(r31) +/* 800434B0 00040410 90 1F 06 C4 */ stw r0, 0x6c4(r31) +/* 800434B4 00040414 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 800434B8 00040418 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 800434BC 0004041C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 800434C0 00040420 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800434C4 00040424 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 800434C8 00040428 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800434CC 0004042C 48 2F 50 3D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800434D0 00040430 80 6D A1 48 */ lwz r3, gpTweakGunRes@sda21(r13) +/* 800434D4 00040434 38 A0 00 01 */ li r5, 1 +/* 800434D8 00040438 80 C2 83 F0 */ lwz r6, lbl_805AA110@sda21(r2) +/* 800434DC 0004043C 38 00 00 00 */ li r0, 0 +/* 800434E0 00040440 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 800434E4 00040444 38 7F 06 E0 */ addi r3, r31, 0x6e0 +/* 800434E8 00040448 C0 02 84 D0 */ lfs f0, lbl_805AA1F0@sda21(r2) +/* 800434EC 0004044C 38 81 00 64 */ addi r4, r1, 0x64 +/* 800434F0 00040450 90 E1 00 64 */ stw r7, 0x64(r1) +/* 800434F4 00040454 90 C1 00 68 */ stw r6, 0x68(r1) +/* 800434F8 00040458 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800434FC 0004045C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80043500 00040460 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80043504 00040464 98 A1 00 78 */ stb r5, 0x78(r1) +/* 80043508 00040468 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8004350C 0004046C 48 0D 36 49 */ bl __ct__10CModelDataFRC8CAnimRes +/* 80043510 00040470 38 00 00 00 */ li r0, 0 +/* 80043514 00040474 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 80043518 00040478 90 1F 07 2C */ stw r0, 0x72c(r31) +/* 8004351C 0004047C 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l +/* 80043520 00040480 38 83 00 09 */ addi r4, r3, 9 +/* 80043524 00040484 38 60 00 BC */ li r3, 0xbc +/* 80043528 00040488 90 1F 07 30 */ stw r0, 0x730(r31) +/* 8004352C 0004048C 38 A0 00 00 */ li r5, 0 +/* 80043530 00040490 90 1F 07 34 */ stw r0, 0x734(r31) +/* 80043534 00040494 90 1F 07 38 */ stw r0, 0x738(r31) +/* 80043538 00040498 48 2D 23 35 */ bl __nw__FUlPCcPCc +/* 8004353C 0004049C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80043540 000404A0 41 82 00 1C */ beq lbl_8004355C +/* 80043544 000404A4 80 CD A1 48 */ lwz r6, gpTweakGunRes@sda21(r13) +/* 80043548 000404A8 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 8004354C 000404AC 38 A4 D4 04 */ addi r5, r4, lbl_8056D404@l +/* 80043550 000404B0 80 86 00 04 */ lwz r4, 4(r6) +/* 80043554 000404B4 48 19 61 4D */ bl __ct__10CGunMotionFUiRC9CVector3f +/* 80043558 000404B8 7C 60 1B 78 */ mr r0, r3 +lbl_8004355C: +/* 8004355C 000404BC 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 80043560 000404C0 90 1F 07 3C */ stw r0, 0x73c(r31) +/* 80043564 000404C4 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 80043568 000404C8 38 60 03 B4 */ li r3, 0x3b4 +/* 8004356C 000404CC 38 84 00 09 */ addi r4, r4, 9 +/* 80043570 000404D0 38 A0 00 00 */ li r5, 0 +/* 80043574 000404D4 48 2D 22 F9 */ bl __nw__FUlPCcPCc +/* 80043578 000404D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8004357C 000404DC 41 82 00 14 */ beq lbl_80043590 +/* 80043580 000404E0 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 80043584 000404E4 38 84 D4 04 */ addi r4, r4, lbl_8056D404@l +/* 80043588 000404E8 48 0D C7 D9 */ bl __ct__11CGrappleArmFRC9CVector3f +/* 8004358C 000404EC 7C 60 1B 78 */ mr r0, r3 +lbl_80043590: +/* 80043590 000404F0 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 80043594 000404F4 90 1F 07 40 */ stw r0, 0x740(r31) +/* 80043598 000404F8 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 8004359C 000404FC 38 60 00 84 */ li r3, 0x84 +/* 800435A0 00040500 38 84 00 09 */ addi r4, r4, 9 +/* 800435A4 00040504 38 A0 00 00 */ li r5, 0 +/* 800435A8 00040508 48 2D 22 C5 */ bl __nw__FUlPCcPCc +/* 800435AC 0004050C 7C 60 1B 79 */ or. r0, r3, r3 +/* 800435B0 00040510 41 82 00 18 */ beq lbl_800435C8 +/* 800435B4 00040514 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800435B8 00040518 38 81 00 1C */ addi r4, r1, 0x1c +/* 800435BC 0004051C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800435C0 00040520 48 17 65 11 */ bl __ct__10CAuxWeaponF9TUniqueId +/* 800435C4 00040524 7C 60 1B 78 */ mr r0, r3 +lbl_800435C8: +/* 800435C8 00040528 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 800435CC 0004052C 90 1F 07 44 */ stw r0, 0x744(r31) +/* 800435D0 00040530 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 800435D4 00040534 38 60 00 4C */ li r3, 0x4c +/* 800435D8 00040538 38 84 00 09 */ addi r4, r4, 9 +/* 800435DC 0004053C 38 A0 00 00 */ li r5, 0 +/* 800435E0 00040540 48 2D 22 8D */ bl __nw__FUlPCcPCc +/* 800435E4 00040544 7C 60 1B 79 */ or. r0, r3, r3 +/* 800435E8 00040548 41 82 00 24 */ beq lbl_8004360C +/* 800435EC 0004054C 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 800435F0 00040550 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 800435F4 00040554 C0 42 85 0C */ lfs f2, lbl_805AA22C@sda21(r2) +/* 800435F8 00040558 38 84 D4 04 */ addi r4, r4, lbl_8056D404@l +/* 800435FC 0004055C 38 A0 00 14 */ li r5, 0x14 +/* 80043600 00040560 38 C0 00 02 */ li r6, 2 +/* 80043604 00040564 48 22 71 35 */ bl __ct__20CRainSplashGeneratorFRC9CVector3fiiff +/* 80043608 00040568 7C 60 1B 78 */ mr r0, r3 +lbl_8004360C: +/* 8004360C 0004056C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 80043610 00040570 90 1F 07 48 */ stw r0, 0x748(r31) +/* 80043614 00040574 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 80043618 00040578 38 60 02 48 */ li r3, 0x248 +/* 8004361C 0004057C 38 84 00 09 */ addi r4, r4, 9 +/* 80043620 00040580 38 A0 00 00 */ li r5, 0 +/* 80043624 00040584 48 2D 22 49 */ bl __nw__FUlPCcPCc +/* 80043628 00040588 7C 60 1B 79 */ or. r0, r3, r3 +/* 8004362C 0004058C 41 82 00 30 */ beq lbl_8004365C +/* 80043630 00040590 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80043634 00040594 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 80043638 00040598 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l +/* 8004363C 0004059C 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) +/* 80043640 000405A0 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80043644 000405A4 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80043648 000405A8 38 A0 00 00 */ li r5, 0 +/* 8004364C 000405AC 38 E0 00 20 */ li r7, 0x20 +/* 80043650 000405B0 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80043654 000405B4 48 09 C9 4D */ bl __ct__10CPowerBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +/* 80043658 000405B8 7C 60 1B 78 */ mr r0, r3 +lbl_8004365C: +/* 8004365C 000405BC 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 80043660 000405C0 90 1F 07 4C */ stw r0, 0x74c(r31) +/* 80043664 000405C4 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 80043668 000405C8 38 60 02 4C */ li r3, 0x24c +/* 8004366C 000405CC 38 84 00 09 */ addi r4, r4, 9 +/* 80043670 000405D0 38 A0 00 00 */ li r5, 0 +/* 80043674 000405D4 48 2D 21 F9 */ bl __nw__FUlPCcPCc +/* 80043678 000405D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8004367C 000405DC 41 82 00 30 */ beq lbl_800436AC +/* 80043680 000405E0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80043684 000405E4 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 80043688 000405E8 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l +/* 8004368C 000405EC 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) +/* 80043690 000405F0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80043694 000405F4 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80043698 000405F8 38 A0 00 01 */ li r5, 1 +/* 8004369C 000405FC 38 E0 00 20 */ li r7, 0x20 +/* 800436A0 00040600 80 84 00 14 */ lwz r4, 0x14(r4) +/* 800436A4 00040604 48 09 E2 49 */ bl __ct__8CIceBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +/* 800436A8 00040608 7C 60 1B 78 */ mr r0, r3 +lbl_800436AC: +/* 800436AC 0004060C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 800436B0 00040610 90 1F 07 50 */ stw r0, 0x750(r31) +/* 800436B4 00040614 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 800436B8 00040618 38 60 02 5C */ li r3, 0x25c +/* 800436BC 0004061C 38 84 00 09 */ addi r4, r4, 9 +/* 800436C0 00040620 38 A0 00 00 */ li r5, 0 +/* 800436C4 00040624 48 2D 21 A9 */ bl __nw__FUlPCcPCc +/* 800436C8 00040628 7C 60 1B 79 */ or. r0, r3, r3 +/* 800436CC 0004062C 41 82 00 30 */ beq lbl_800436FC +/* 800436D0 00040630 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800436D4 00040634 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 800436D8 00040638 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l +/* 800436DC 0004063C 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) +/* 800436E0 00040640 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800436E4 00040644 38 C1 00 10 */ addi r6, r1, 0x10 +/* 800436E8 00040648 38 A0 00 02 */ li r5, 2 +/* 800436EC 0004064C 38 E0 00 20 */ li r7, 0x20 +/* 800436F0 00040650 80 84 00 18 */ lwz r4, 0x18(r4) +/* 800436F4 00040654 48 09 D6 45 */ bl __ct__9CWaveBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +/* 800436F8 00040658 7C 60 1B 78 */ mr r0, r3 +lbl_800436FC: +/* 800436FC 0004065C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 80043700 00040660 90 1F 07 54 */ stw r0, 0x754(r31) +/* 80043704 00040664 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 80043708 00040668 38 60 02 40 */ li r3, 0x240 +/* 8004370C 0004066C 38 84 00 09 */ addi r4, r4, 9 +/* 80043710 00040670 38 A0 00 00 */ li r5, 0 +/* 80043714 00040674 48 2D 21 59 */ bl __nw__FUlPCcPCc +/* 80043718 00040678 7C 60 1B 79 */ or. r0, r3, r3 +/* 8004371C 0004067C 41 82 00 30 */ beq lbl_8004374C +/* 80043720 00040680 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80043724 00040684 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 80043728 00040688 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l +/* 8004372C 0004068C 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) +/* 80043730 00040690 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80043734 00040694 38 C1 00 0C */ addi r6, r1, 0xc +/* 80043738 00040698 38 A0 00 03 */ li r5, 3 +/* 8004373C 0004069C 38 E0 00 20 */ li r7, 0x20 +/* 80043740 000406A0 80 84 00 1C */ lwz r4, 0x1c(r4) +/* 80043744 000406A4 48 09 BD F9 */ bl __ct__11CPlasmaBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +/* 80043748 000406A8 7C 60 1B 78 */ mr r0, r3 +lbl_8004374C: +/* 8004374C 000406AC 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 80043750 000406B0 90 1F 07 58 */ stw r0, 0x758(r31) +/* 80043754 000406B4 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l +/* 80043758 000406B8 38 60 02 7C */ li r3, 0x27c +/* 8004375C 000406BC 38 84 00 09 */ addi r4, r4, 9 +/* 80043760 000406C0 38 A0 00 00 */ li r5, 0 +/* 80043764 000406C4 48 2D 21 09 */ bl __nw__FUlPCcPCc +/* 80043768 000406C8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8004376C 000406CC 41 82 00 30 */ beq lbl_8004379C +/* 80043770 000406D0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80043774 000406D4 3C 80 80 57 */ lis r4, lbl_8056D404@ha +/* 80043778 000406D8 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l +/* 8004377C 000406DC 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) +/* 80043780 000406E0 B0 01 00 08 */ sth r0, 8(r1) +/* 80043784 000406E4 38 C1 00 08 */ addi r6, r1, 8 +/* 80043788 000406E8 38 A0 00 08 */ li r5, 8 +/* 8004378C 000406EC 38 E0 00 20 */ li r7, 0x20 +/* 80043790 000406F0 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80043794 000406F4 48 14 98 AD */ bl __ct__11CPhazonBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +/* 80043798 000406F8 7C 60 1B 78 */ mr r0, r3 +lbl_8004379C: +/* 8004379C 000406FC 90 1F 07 5C */ stw r0, 0x75c(r31) +/* 800437A0 00040700 38 60 00 04 */ li r3, 4 +/* 800437A4 00040704 34 9F 07 64 */ addic. r4, r31, 0x764 +/* 800437A8 00040708 38 00 00 00 */ li r0, 0 +/* 800437AC 0004070C 90 7F 07 60 */ stw r3, 0x760(r31) +/* 800437B0 00040710 41 82 00 08 */ beq lbl_800437B8 +/* 800437B4 00040714 90 04 00 00 */ stw r0, 0(r4) +lbl_800437B8: +/* 800437B8 00040718 34 84 00 04 */ addic. r4, r4, 4 +/* 800437BC 0004071C 41 82 00 08 */ beq lbl_800437C4 +/* 800437C0 00040720 90 04 00 00 */ stw r0, 0(r4) +lbl_800437C4: +/* 800437C4 00040724 34 84 00 04 */ addic. r4, r4, 4 +/* 800437C8 00040728 41 82 00 08 */ beq lbl_800437D0 +/* 800437CC 0004072C 90 04 00 00 */ stw r0, 0(r4) +lbl_800437D0: +/* 800437D0 00040730 34 84 00 04 */ addic. r4, r4, 4 +/* 800437D4 00040734 41 82 00 08 */ beq lbl_800437DC +/* 800437D8 00040738 90 04 00 00 */ stw r0, 0(r4) +lbl_800437DC: +/* 800437DC 0004073C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 800437E0 00040740 3B 80 00 00 */ li r28, 0 +/* 800437E4 00040744 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l +/* 800437E8 00040748 3B 60 00 00 */ li r27, 0 +/* 800437EC 0004074C 38 83 00 09 */ addi r4, r3, 9 +/* 800437F0 00040750 38 60 03 40 */ li r3, 0x340 +/* 800437F4 00040754 38 A0 00 00 */ li r5, 0 +/* 800437F8 00040758 48 2D 20 75 */ bl __nw__FUlPCcPCc +/* 800437FC 0004075C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80043800 00040760 41 82 00 64 */ beq lbl_80043864 +/* 80043804 00040764 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 80043808 00040768 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8004380C 0004076C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80043810 00040770 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80043814 00040774 80 C5 00 24 */ lwz r6, 0x24(r5) +/* 80043818 00040778 38 61 00 28 */ addi r3, r1, 0x28 +/* 8004381C 0004077C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80043820 00040780 90 01 00 30 */ stw r0, 0x30(r1) +/* 80043824 00040784 90 C1 00 34 */ stw r6, 0x34(r1) +/* 80043828 00040788 81 84 00 00 */ lwz r12, 0(r4) +/* 8004382C 0004078C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80043830 00040790 7D 89 03 A6 */ mtctr r12 +/* 80043834 00040794 4E 80 04 21 */ bctrl +/* 80043838 00040798 38 61 00 20 */ addi r3, r1, 0x20 +/* 8004383C 0004079C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80043840 000407A0 3B 80 00 01 */ li r28, 1 +/* 80043844 000407A4 48 2F D6 65 */ bl __ct__6CTokenFRC6CToken +/* 80043848 000407A8 7F C3 F3 78 */ mr r3, r30 +/* 8004384C 000407AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80043850 000407B0 3B 60 00 01 */ li r27, 1 +/* 80043854 000407B4 38 A0 00 00 */ li r5, 0 +/* 80043858 000407B8 38 C0 00 01 */ li r6, 1 +/* 8004385C 000407BC 48 2D BB 85 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80043860 000407C0 7C 7E 1B 78 */ mr r30, r3 +lbl_80043864: +/* 80043864 000407C4 7C 7E 00 D0 */ neg r3, r30 +/* 80043868 000407C8 7F 60 07 75 */ extsb. r0, r27 +/* 8004386C 000407CC 7C 60 F3 78 */ or r0, r3, r30 +/* 80043870 000407D0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80043874 000407D4 98 1F 07 74 */ stb r0, 0x774(r31) +/* 80043878 000407D8 93 DF 07 78 */ stw r30, 0x778(r31) +/* 8004387C 000407DC 41 82 00 10 */ beq lbl_8004388C +/* 80043880 000407E0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80043884 000407E4 38 80 00 00 */ li r4, 0 +/* 80043888 000407E8 48 2F D5 B9 */ bl __dt__6CTokenFv +lbl_8004388C: +/* 8004388C 000407EC 7F 80 07 75 */ extsb. r0, r28 +/* 80043890 000407F0 41 82 00 10 */ beq lbl_800438A0 +/* 80043894 000407F4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80043898 000407F8 38 80 FF FF */ li r4, -1 +/* 8004389C 000407FC 48 2F D5 A5 */ bl __dt__6CTokenFv +lbl_800438A0: +/* 800438A0 00040800 38 00 00 00 */ li r0, 0 +/* 800438A4 00040804 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha +/* 800438A8 00040808 98 1F 07 7C */ stb r0, 0x77c(r31) +/* 800438AC 0004080C 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l +/* 800438B0 00040810 38 83 00 09 */ addi r4, r3, 9 +/* 800438B4 00040814 38 60 00 8C */ li r3, 0x8c +/* 800438B8 00040818 90 1F 07 80 */ stw r0, 0x780(r31) +/* 800438BC 0004081C 38 A0 00 00 */ li r5, 0 +/* 800438C0 00040820 90 1F 07 84 */ stw r0, 0x784(r31) +/* 800438C4 00040824 90 1F 07 C0 */ stw r0, 0x7c0(r31) +/* 800438C8 00040828 90 1F 08 00 */ stw r0, 0x800(r31) +/* 800438CC 0004082C 48 2D 1F A1 */ bl __nw__FUlPCcPCc +/* 800438D0 00040830 7C 60 1B 79 */ or. r0, r3, r3 +/* 800438D4 00040834 41 82 00 18 */ beq lbl_800438EC +/* 800438D8 00040838 38 80 00 20 */ li r4, 0x20 +/* 800438DC 0004083C 38 A0 00 20 */ li r5, 0x20 +/* 800438E0 00040840 38 C0 00 01 */ li r6, 1 +/* 800438E4 00040844 48 0C E2 E1 */ bl __ct__12CWorldShadowFUiUib +/* 800438E8 00040848 7C 60 1B 78 */ mr r0, r3 +lbl_800438EC: +/* 800438EC 0004084C 90 1F 08 2C */ stw r0, 0x82c(r31) +/* 800438F0 00040850 38 60 FF FF */ li r3, -1 +/* 800438F4 00040854 38 80 00 00 */ li r4, 0 +/* 800438F8 00040858 38 00 00 01 */ li r0, 1 +/* 800438FC 0004085C B0 7F 08 30 */ sth r3, 0x830(r31) +/* 80043900 00040860 88 7F 08 32 */ lbz r3, 0x832(r31) +/* 80043904 00040864 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 80043908 00040868 98 7F 08 32 */ stb r3, 0x832(r31) +/* 8004390C 0004086C 88 7F 08 32 */ lbz r3, 0x832(r31) +/* 80043910 00040870 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 80043914 00040874 98 7F 08 32 */ stb r3, 0x832(r31) +/* 80043918 00040878 88 7F 08 32 */ lbz r3, 0x832(r31) +/* 8004391C 0004087C 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a +/* 80043920 00040880 98 7F 08 32 */ stb r3, 0x832(r31) +/* 80043924 00040884 88 7F 08 32 */ lbz r3, 0x832(r31) +/* 80043928 00040888 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 8004392C 0004088C 98 7F 08 32 */ stb r3, 0x832(r31) +/* 80043930 00040890 88 7F 08 32 */ lbz r3, 0x832(r31) +/* 80043934 00040894 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c +/* 80043938 00040898 98 7F 08 32 */ stb r3, 0x832(r31) +/* 8004393C 0004089C 88 7F 08 32 */ lbz r3, 0x832(r31) +/* 80043940 000408A0 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d +/* 80043944 000408A4 98 7F 08 32 */ stb r3, 0x832(r31) +/* 80043948 000408A8 88 7F 08 32 */ lbz r3, 0x832(r31) +/* 8004394C 000408AC 50 83 0F BC */ rlwimi r3, r4, 1, 0x1e, 0x1e +/* 80043950 000408B0 98 7F 08 32 */ stb r3, 0x832(r31) +/* 80043954 000408B4 88 7F 08 32 */ lbz r3, 0x832(r31) +/* 80043958 000408B8 50 03 07 FE */ rlwimi r3, r0, 0, 0x1f, 0x1f +/* 8004395C 000408BC 98 7F 08 32 */ stb r3, 0x832(r31) +/* 80043960 000408C0 88 7F 08 33 */ lbz r3, 0x833(r31) +/* 80043964 000408C4 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 80043968 000408C8 98 7F 08 33 */ stb r3, 0x833(r31) +/* 8004396C 000408CC 88 7F 08 33 */ lbz r3, 0x833(r31) +/* 80043970 000408D0 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 80043974 000408D4 98 7F 08 33 */ stb r3, 0x833(r31) +/* 80043978 000408D8 88 7F 08 33 */ lbz r3, 0x833(r31) +/* 8004397C 000408DC 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a +/* 80043980 000408E0 98 7F 08 33 */ stb r3, 0x833(r31) +/* 80043984 000408E4 88 7F 08 33 */ lbz r3, 0x833(r31) +/* 80043988 000408E8 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 8004398C 000408EC 98 7F 08 33 */ stb r3, 0x833(r31) +/* 80043990 000408F0 88 7F 08 33 */ lbz r3, 0x833(r31) +/* 80043994 000408F4 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c +/* 80043998 000408F8 98 7F 08 33 */ stb r3, 0x833(r31) +/* 8004399C 000408FC 88 7F 08 33 */ lbz r3, 0x833(r31) +/* 800439A0 00040900 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d +/* 800439A4 00040904 98 7F 08 33 */ stb r3, 0x833(r31) +/* 800439A8 00040908 88 7F 08 33 */ lbz r3, 0x833(r31) +/* 800439AC 0004090C 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e +/* 800439B0 00040910 98 7F 08 33 */ stb r3, 0x833(r31) +/* 800439B4 00040914 88 7F 08 33 */ lbz r3, 0x833(r31) +/* 800439B8 00040918 50 83 07 FE */ rlwimi r3, r4, 0, 0x1f, 0x1f +/* 800439BC 0004091C 98 7F 08 33 */ stb r3, 0x833(r31) +/* 800439C0 00040920 88 7F 08 34 */ lbz r3, 0x834(r31) +/* 800439C4 00040924 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 800439C8 00040928 98 7F 08 34 */ stb r3, 0x834(r31) +/* 800439CC 0004092C 88 7F 08 34 */ lbz r3, 0x834(r31) +/* 800439D0 00040930 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 800439D4 00040934 98 7F 08 34 */ stb r3, 0x834(r31) +/* 800439D8 00040938 88 7F 08 34 */ lbz r3, 0x834(r31) +/* 800439DC 0004093C 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a +/* 800439E0 00040940 98 7F 08 34 */ stb r3, 0x834(r31) +/* 800439E4 00040944 88 7F 08 34 */ lbz r3, 0x834(r31) +/* 800439E8 00040948 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 800439EC 0004094C 98 7F 08 34 */ stb r3, 0x834(r31) +/* 800439F0 00040950 88 7F 08 34 */ lbz r3, 0x834(r31) +/* 800439F4 00040954 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c +/* 800439F8 00040958 98 7F 08 34 */ stb r3, 0x834(r31) +/* 800439FC 0004095C 88 7F 08 34 */ lbz r3, 0x834(r31) +/* 80043A00 00040960 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d +/* 80043A04 00040964 98 7F 08 34 */ stb r3, 0x834(r31) +/* 80043A08 00040968 88 7F 08 34 */ lbz r3, 0x834(r31) +/* 80043A0C 0004096C 50 83 0F BC */ rlwimi r3, r4, 1, 0x1e, 0x1e +/* 80043A10 00040970 98 7F 08 34 */ stb r3, 0x834(r31) +/* 80043A14 00040974 88 7F 08 34 */ lbz r3, 0x834(r31) +/* 80043A18 00040978 50 83 07 FE */ rlwimi r3, r4, 0, 0x1f, 0x1f +/* 80043A1C 0004097C 98 7F 08 34 */ stb r3, 0x834(r31) +/* 80043A20 00040980 88 7F 08 35 */ lbz r3, 0x835(r31) +/* 80043A24 00040984 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 80043A28 00040988 98 7F 08 35 */ stb r3, 0x835(r31) +/* 80043A2C 0004098C 88 7F 08 35 */ lbz r3, 0x835(r31) +/* 80043A30 00040990 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 80043A34 00040994 38 FD 00 00 */ addi r7, r29, 0 +/* 80043A38 00040998 38 DD 00 0C */ addi r6, r29, 0xc +/* 80043A3C 0004099C 98 7F 08 35 */ stb r3, 0x835(r31) +/* 80043A40 000409A0 38 BD 00 18 */ addi r5, r29, 0x18 +/* 80043A44 000409A4 7F E3 FB 78 */ mr r3, r31 +/* 80043A48 000409A8 89 1F 08 35 */ lbz r8, 0x835(r31) +/* 80043A4C 000409AC 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a +/* 80043A50 000409B0 99 1F 08 35 */ stb r8, 0x835(r31) +/* 80043A54 000409B4 89 1F 08 35 */ lbz r8, 0x835(r31) +/* 80043A58 000409B8 50 88 26 F6 */ rlwimi r8, r4, 4, 0x1b, 0x1b +/* 80043A5C 000409BC 99 1F 08 35 */ stb r8, 0x835(r31) +/* 80043A60 000409C0 89 1F 08 35 */ lbz r8, 0x835(r31) +/* 80043A64 000409C4 50 88 1F 38 */ rlwimi r8, r4, 3, 0x1c, 0x1c +/* 80043A68 000409C8 99 1F 08 35 */ stb r8, 0x835(r31) +/* 80043A6C 000409CC 89 1F 08 35 */ lbz r8, 0x835(r31) +/* 80043A70 000409D0 50 88 17 7A */ rlwimi r8, r4, 2, 0x1d, 0x1d +/* 80043A74 000409D4 99 1F 08 35 */ stb r8, 0x835(r31) +/* 80043A78 000409D8 89 1F 08 35 */ lbz r8, 0x835(r31) +/* 80043A7C 000409DC 50 88 0F BC */ rlwimi r8, r4, 1, 0x1e, 0x1e +/* 80043A80 000409E0 99 1F 08 35 */ stb r8, 0x835(r31) +/* 80043A84 000409E4 89 1F 08 35 */ lbz r8, 0x835(r31) +/* 80043A88 000409E8 50 88 07 FE */ rlwimi r8, r4, 0, 0x1f, 0x1f +/* 80043A8C 000409EC 99 1F 08 35 */ stb r8, 0x835(r31) +/* 80043A90 000409F0 88 9F 06 F4 */ lbz r4, 0x6f4(r31) +/* 80043A94 000409F4 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 80043A98 000409F8 98 9F 06 F4 */ stb r4, 0x6f4(r31) +/* 80043A9C 000409FC 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) +/* 80043AA0 00040A00 C0 04 00 04 */ lfs f0, 4(r4) +/* 80043AA4 00040A04 D0 07 00 08 */ stfs f0, 8(r7) +/* 80043AA8 00040A08 C0 04 00 08 */ lfs f0, 8(r4) +/* 80043AAC 00040A0C D0 1D 00 00 */ stfs f0, 0(r29) +/* 80043AB0 00040A10 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80043AB4 00040A14 D0 06 00 04 */ stfs f0, 4(r6) +/* 80043AB8 00040A18 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80043ABC 00040A1C D0 06 00 08 */ stfs f0, 8(r6) +/* 80043AC0 00040A20 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80043AC4 00040A24 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80043AC8 00040A28 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80043ACC 00040A2C D0 05 00 04 */ stfs f0, 4(r5) +/* 80043AD0 00040A30 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80043AD4 00040A34 D0 05 00 08 */ stfs f0, 8(r5) +/* 80043AD8 00040A38 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80043ADC 00040A3C D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 80043AE0 00040A40 C0 04 00 48 */ lfs f0, 0x48(r4) +/* 80043AE4 00040A44 D0 0D 82 20 */ stfs f0, lbl_805A6DE0@sda21(r13) +/* 80043AE8 00040A48 4B FF AE A1 */ bl InitBeamData__10CPlayerGunFv +/* 80043AEC 00040A4C 7F E3 FB 78 */ mr r3, r31 +/* 80043AF0 00040A50 4B FF AA FD */ bl InitBombData__10CPlayerGunFv +/* 80043AF4 00040A54 7F E3 FB 78 */ mr r3, r31 +/* 80043AF8 00040A58 4B FF A9 01 */ bl InitMuzzleData__10CPlayerGunFv +/* 80043AFC 00040A5C 7F E3 FB 78 */ mr r3, r31 +/* 80043B00 00040A60 4B FF A8 45 */ bl InitCTData__10CPlayerGunFv +/* 80043B04 00040A64 7F E3 FB 78 */ mr r3, r31 +/* 80043B08 00040A68 4B FF 78 7D */ bl LoadHandAnimTokens__10CPlayerGunFv +/* 80043B0C 00040A6C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80043B10 00040A70 38 7F 05 50 */ addi r3, r31, 0x550 +/* 80043B14 00040A74 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80043B18 00040A78 48 0A 5F 01 */ bl SetPlayerVelocity__16CPlayerCameraBobFRC9CVector3f +/* 80043B1C 00040A7C C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 80043B20 00040A80 38 7F 05 50 */ addi r3, r31, 0x550 +/* 80043B24 00040A84 48 0A 63 29 */ bl SetBobMagnitude__16CPlayerCameraBobFf +/* 80043B28 00040A88 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) +/* 80043B2C 00040A8C 38 7F 05 50 */ addi r3, r31, 0x550 +/* 80043B30 00040A90 48 0A 63 6D */ bl SetBobTimeScale__16CPlayerCameraBobFf +/* 80043B34 00040A94 7F E3 FB 78 */ mr r3, r31 +/* 80043B38 00040A98 BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 80043B3C 00040A9C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80043B40 00040AA0 7C 08 03 A6 */ mtlr r0 +/* 80043B44 00040AA4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80043B48 00040AA8 4E 80 00 20 */ blr + +.global "__dl__24TOneStatic<10CPlayerGun>FPv" +"__dl__24TOneStatic<10CPlayerGun>FPv": +/* 80043B4C 00040AAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80043B50 00040AB0 7C 08 02 A6 */ mflr r0 +/* 80043B54 00040AB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80043B58 00040AB8 4B FD 73 89 */ bl "ReferenceCount__24TOneStatic<10CPlayerGun>Fv" +/* 80043B5C 00040ABC 80 83 00 00 */ lwz r4, 0(r3) +/* 80043B60 00040AC0 38 04 FF FF */ addi r0, r4, -1 +/* 80043B64 00040AC4 90 03 00 00 */ stw r0, 0(r3) +/* 80043B68 00040AC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80043B6C 00040ACC 7C 08 03 A6 */ mtlr r0 +/* 80043B70 00040AD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80043B74 00040AD4 4E 80 00 20 */ blr + +.global __sinit_CPlayerGun_cpp +__sinit_CPlayerGun_cpp: +/* 80043B78 00040AD8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80043B7C 00040ADC 7C 08 02 A6 */ mflr r0 +/* 80043B80 00040AE0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80043B84 00040AE4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80043B88 00040AE8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80043B8C 00040AEC 48 04 D6 71 */ bl GetMissileComboChargeFactor__12CPlayerStateFv +/* 80043B90 00040AF0 C0 42 84 D8 */ lfs f2, lbl_805AA1F8@sda21(r2) +/* 80043B94 00040AF4 3C 60 80 57 */ lis r3, lbl_8056D404@ha +/* 80043B98 00040AF8 C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) +/* 80043B9C 00040AFC 38 83 D4 04 */ addi r4, r3, lbl_8056D404@l +/* 80043BA0 00040B00 EC 62 08 24 */ fdivs f3, f2, f1 +/* 80043BA4 00040B04 C0 22 84 98 */ lfs f1, lbl_805AA1B8@sda21(r2) +/* 80043BA8 00040B08 D0 04 00 00 */ stfs f0, 0(r4) +/* 80043BAC 00040B0C 38 61 00 0C */ addi r3, r1, 0xc +/* 80043BB0 00040B10 C0 42 84 FC */ lfs f2, lbl_805AA21C@sda21(r2) +/* 80043BB4 00040B14 D0 04 00 04 */ stfs f0, 4(r4) +/* 80043BB8 00040B18 D0 6D A1 B0 */ stfs f3, lbl_805A8D70@sda21(r13) +/* 80043BBC 00040B1C C0 62 84 6C */ lfs f3, lbl_805AA18C@sda21(r2) +/* 80043BC0 00040B20 D0 04 00 08 */ stfs f0, 8(r4) +/* 80043BC4 00040B24 C0 82 84 7C */ lfs f4, lbl_805AA19C@sda21(r2) +/* 80043BC8 00040B28 48 31 F8 25 */ bl __ct__6CColorFffff +/* 80043BCC 00040B2C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80043BD0 00040B30 38 60 00 00 */ li r3, 0 +/* 80043BD4 00040B34 80 AD 82 28 */ lwz r5, lbl_805A6DE8@sda21(r13) +/* 80043BD8 00040B38 38 80 00 01 */ li r4, 1 +/* 80043BDC 00040B3C 90 0D A1 B4 */ stw r0, lbl_805A8D74@sda21(r13) +/* 80043BE0 00040B40 48 34 63 15 */ bl __shl2i +/* 80043BE4 00040B44 80 AD 82 24 */ lwz r5, lbl_805A6DE4@sda21(r13) +/* 80043BE8 00040B48 7C 9E 23 78 */ mr r30, r4 +/* 80043BEC 00040B4C 7C 7F 1B 78 */ mr r31, r3 +/* 80043BF0 00040B50 38 60 00 00 */ li r3, 0 +/* 80043BF4 00040B54 38 80 00 01 */ li r4, 1 +/* 80043BF8 00040B58 48 34 62 FD */ bl __shl2i +/* 80043BFC 00040B5C 3C A0 80 46 */ lis r5, lbl_8045C518@ha +/* 80043C00 00040B60 38 00 00 03 */ li r0, 3 +/* 80043C04 00040B64 38 A5 C5 18 */ addi r5, r5, lbl_8045C518@l +/* 80043C08 00040B68 90 01 00 38 */ stw r0, 0x38(r1) +/* 80043C0C 00040B6C 90 85 00 04 */ stw r4, 4(r5) +/* 80043C10 00040B70 90 65 00 00 */ stw r3, 0(r5) +/* 80043C14 00040B74 93 C5 00 0C */ stw r30, 0xc(r5) +/* 80043C18 00040B78 93 E5 00 08 */ stw r31, 8(r5) +/* 80043C1C 00040B7C 90 05 00 10 */ stw r0, 0x10(r5) +/* 80043C20 00040B80 48 04 D5 DD */ bl GetMissileComboChargeFactor__12CPlayerStateFv +/* 80043C24 00040B84 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) +/* 80043C28 00040B88 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80043C2C 00040B8C D0 0D A1 B8 */ stfs f0, lbl_805A8D78@sda21(r13) +/* 80043C30 00040B90 48 04 D5 CD */ bl GetMissileComboChargeFactor__12CPlayerStateFv +/* 80043C34 00040B94 C0 02 85 3C */ lfs f0, lbl_805AA25C@sda21(r2) +/* 80043C38 00040B98 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80043C3C 00040B9C D0 0D A1 BC */ stfs f0, lbl_805A8D7C@sda21(r13) +/* 80043C40 00040BA0 48 04 D5 BD */ bl GetMissileComboChargeFactor__12CPlayerStateFv +/* 80043C44 00040BA4 C0 42 84 7C */ lfs f2, lbl_805AA19C@sda21(r2) +/* 80043C48 00040BA8 38 80 00 00 */ li r4, 0 +/* 80043C4C 00040BAC 38 00 00 03 */ li r0, 3 +/* 80043C50 00040BB0 98 81 00 20 */ stb r4, 0x20(r1) +/* 80043C54 00040BB4 EC 02 08 24 */ fdivs f0, f2, f1 +/* 80043C58 00040BB8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80043C5C 00040BBC 98 81 00 21 */ stb r4, 0x21(r1) +/* 80043C60 00040BC0 B0 01 00 22 */ sth r0, 0x22(r1) +/* 80043C64 00040BC4 FC 20 10 90 */ fmr f1, f2 +/* 80043C68 00040BC8 D0 0D A1 C0 */ stfs f0, lbl_805A8D80@sda21(r13) +/* 80043C6C 00040BCC FC 60 10 90 */ fmr f3, f2 +/* 80043C70 00040BD0 FC 80 10 90 */ fmr f4, f2 +/* 80043C74 00040BD4 48 31 F7 79 */ bl __ct__6CColorFffff +/* 80043C78 00040BD8 38 C0 00 00 */ li r6, 0 +/* 80043C7C 00040BDC 38 00 00 80 */ li r0, 0x80 +/* 80043C80 00040BE0 98 C1 00 08 */ stb r6, 8(r1) +/* 80043C84 00040BE4 3C 60 80 46 */ lis r3, lbl_8045C530@ha +/* 80043C88 00040BE8 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 80043C8C 00040BEC 39 43 C5 30 */ addi r10, r3, lbl_8045C530@l +/* 80043C90 00040BF0 89 61 00 20 */ lbz r11, 0x20(r1) +/* 80043C94 00040BF4 38 80 00 03 */ li r4, 3 +/* 80043C98 00040BF8 89 21 00 21 */ lbz r9, 0x21(r1) +/* 80043C9C 00040BFC 38 A0 00 05 */ li r5, 5 +/* 80043CA0 00040C00 A1 01 00 22 */ lhz r8, 0x22(r1) +/* 80043CA4 00040C04 FC 40 08 90 */ fmr f2, f1 +/* 80043CA8 00040C08 80 E1 00 24 */ lwz r7, 0x24(r1) +/* 80043CAC 00040C0C FC 60 08 90 */ fmr f3, f1 +/* 80043CB0 00040C10 98 C1 00 09 */ stb r6, 9(r1) +/* 80043CB4 00040C14 FC 80 08 90 */ fmr f4, f1 +/* 80043CB8 00040C18 38 61 00 1C */ addi r3, r1, 0x1c +/* 80043CBC 00040C1C 98 C1 00 0A */ stb r6, 0xa(r1) +/* 80043CC0 00040C20 98 01 00 0B */ stb r0, 0xb(r1) +/* 80043CC4 00040C24 80 01 00 08 */ lwz r0, 8(r1) +/* 80043CC8 00040C28 99 6A 00 00 */ stb r11, 0(r10) +/* 80043CCC 00040C2C 99 2A 00 01 */ stb r9, 1(r10) +/* 80043CD0 00040C30 B1 0A 00 02 */ sth r8, 2(r10) +/* 80043CD4 00040C34 90 EA 00 04 */ stw r7, 4(r10) +/* 80043CD8 00040C38 98 AA 00 08 */ stb r5, 8(r10) +/* 80043CDC 00040C3C 98 CA 00 09 */ stb r6, 9(r10) +/* 80043CE0 00040C40 B0 8A 00 0A */ sth r4, 0xa(r10) +/* 80043CE4 00040C44 90 0A 00 0C */ stw r0, 0xc(r10) +/* 80043CE8 00040C48 98 C1 00 18 */ stb r6, 0x18(r1) +/* 80043CEC 00040C4C 98 C1 00 19 */ stb r6, 0x19(r1) +/* 80043CF0 00040C50 B0 81 00 1A */ sth r4, 0x1a(r1) +/* 80043CF4 00040C54 48 31 F6 F9 */ bl __ct__6CColorFffff +/* 80043CF8 00040C58 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) +/* 80043CFC 00040C5C 38 80 00 00 */ li r4, 0 +/* 80043D00 00040C60 3C 60 80 46 */ lis r3, lbl_8045C530@ha +/* 80043D04 00040C64 89 21 00 18 */ lbz r9, 0x18(r1) +/* 80043D08 00040C68 39 03 C5 30 */ addi r8, r3, lbl_8045C530@l +/* 80043D0C 00040C6C 88 E1 00 19 */ lbz r7, 0x19(r1) +/* 80043D10 00040C70 A0 C1 00 1A */ lhz r6, 0x1a(r1) +/* 80043D14 00040C74 38 00 00 03 */ li r0, 3 +/* 80043D18 00040C78 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80043D1C 00040C7C FC 40 08 90 */ fmr f2, f1 +/* 80043D20 00040C80 FC 60 08 90 */ fmr f3, f1 +/* 80043D24 00040C84 99 28 00 10 */ stb r9, 0x10(r8) +/* 80043D28 00040C88 FC 80 08 90 */ fmr f4, f1 +/* 80043D2C 00040C8C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80043D30 00040C90 98 E8 00 11 */ stb r7, 0x11(r8) +/* 80043D34 00040C94 B0 C8 00 12 */ sth r6, 0x12(r8) +/* 80043D38 00040C98 90 A8 00 14 */ stw r5, 0x14(r8) +/* 80043D3C 00040C9C 98 81 00 10 */ stb r4, 0x10(r1) +/* 80043D40 00040CA0 98 81 00 11 */ stb r4, 0x11(r1) +/* 80043D44 00040CA4 B0 01 00 12 */ sth r0, 0x12(r1) +/* 80043D48 00040CA8 48 31 F6 A5 */ bl __ct__6CColorFffff +/* 80043D4C 00040CAC 3C 60 80 46 */ lis r3, lbl_8045C530@ha +/* 80043D50 00040CB0 88 C1 00 10 */ lbz r6, 0x10(r1) +/* 80043D54 00040CB4 38 A3 C5 30 */ addi r5, r3, lbl_8045C530@l +/* 80043D58 00040CB8 88 81 00 11 */ lbz r4, 0x11(r1) +/* 80043D5C 00040CBC A0 61 00 12 */ lhz r3, 0x12(r1) +/* 80043D60 00040CC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80043D64 00040CC4 98 C5 00 18 */ stb r6, 0x18(r5) +/* 80043D68 00040CC8 98 85 00 19 */ stb r4, 0x19(r5) +/* 80043D6C 00040CCC B0 65 00 1A */ sth r3, 0x1a(r5) +/* 80043D70 00040CD0 90 05 00 1C */ stw r0, 0x1c(r5) +/* 80043D74 00040CD4 48 30 62 39 */ bl White__6CColorFv +/* 80043D78 00040CD8 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) +/* 80043D7C 00040CDC 39 00 00 07 */ li r8, 7 +/* 80043D80 00040CE0 81 23 00 00 */ lwz r9, 0(r3) +/* 80043D84 00040CE4 38 CD A1 C4 */ addi r6, r13, lbl_805A8D84@sda21 +/* 80043D88 00040CE8 38 E0 00 00 */ li r7, 0 +/* 80043D8C 00040CEC 38 A0 00 03 */ li r5, 3 +/* 80043D90 00040CF0 38 6D A1 CC */ addi r3, r13, lbl_805A8D8C@sda21 +/* 80043D94 00040CF4 80 0D A1 B4 */ lwz r0, lbl_805A8D74@sda21(r13) +/* 80043D98 00040CF8 38 80 00 01 */ li r4, 1 +/* 80043D9C 00040CFC 99 0D A1 C4 */ stb r8, lbl_805A8D84@sda21(r13) +/* 80043DA0 00040D00 98 E6 00 01 */ stb r7, 1(r6) +/* 80043DA4 00040D04 B0 A6 00 02 */ sth r5, 2(r6) +/* 80043DA8 00040D08 91 26 00 04 */ stw r9, 4(r6) +/* 80043DAC 00040D0C 98 8D A1 CC */ stb r4, lbl_805A8D8C@sda21(r13) +/* 80043DB0 00040D10 98 E3 00 01 */ stb r7, 1(r3) +/* 80043DB4 00040D14 B0 A3 00 02 */ sth r5, 2(r3) +/* 80043DB8 00040D18 90 03 00 04 */ stw r0, 4(r3) +/* 80043DBC 00040D1C B1 4D 82 2C */ sth r10, lbl_805A6DEC@sda21(r13) +/* 80043DC0 00040D20 B1 4D 82 30 */ sth r10, lbl_805A6DF0@sda21(r13) +/* 80043DC4 00040D24 B1 4D 82 38 */ sth r10, lbl_805A6DF8@sda21(r13) +/* 80043DC8 00040D28 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80043DCC 00040D2C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80043DD0 00040D30 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80043DD4 00040D34 7C 08 03 A6 */ mtlr r0 +/* 80043DD8 00040D38 38 21 00 50 */ addi r1, r1, 0x50 +/* 80043DDC 00040D3C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CScriptPickup.s b/asm/Kyoto_CWD/CScriptPickup.s new file mode 100644 index 00000000..7128bcbf --- /dev/null +++ b/asm/Kyoto_CWD/CScriptPickup.s @@ -0,0 +1,997 @@ +.include "macros.inc" + +.section .text, "ax" + +.global SetSpawned__13CScriptPickupFv +SetSpawned__13CScriptPickupFv: +/* 800C25F0 000BF550 88 03 02 8C */ lbz r0, 0x28c(r3) +/* 800C25F4 000BF554 38 80 00 01 */ li r4, 1 +/* 800C25F8 000BF558 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800C25FC 000BF55C 98 03 02 8C */ stb r0, 0x28c(r3) +/* 800C2600 000BF560 4E 80 00 20 */ blr + +.global GetPossibility__13CScriptPickupCFv +GetPossibility__13CScriptPickupCFv: +/* 800C2604 000BF564 C0 23 02 64 */ lfs f1, 0x264(r3) +/* 800C2608 000BF568 4E 80 00 20 */ blr + +.global GetItem__13CScriptPickupCFv +GetItem__13CScriptPickupCFv: +/* 800C260C 000BF56C 80 63 02 58 */ lwz r3, 0x258(r3) +/* 800C2610 000BF570 4E 80 00 20 */ blr + +.global Accept__13CScriptPickupFR8IVisitor +Accept__13CScriptPickupFR8IVisitor: +/* 800C2614 000BF574 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C2618 000BF578 7C 08 02 A6 */ mflr r0 +/* 800C261C 000BF57C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C2620 000BF580 7C 60 1B 78 */ mr r0, r3 +/* 800C2624 000BF584 7C 83 23 78 */ mr r3, r4 +/* 800C2628 000BF588 81 84 00 00 */ lwz r12, 0(r4) +/* 800C262C 000BF58C 7C 04 03 78 */ mr r4, r0 +/* 800C2630 000BF590 81 8C 00 98 */ lwz r12, 0x98(r12) +/* 800C2634 000BF594 7D 89 03 A6 */ mtctr r12 +/* 800C2638 000BF598 4E 80 04 21 */ bctrl +/* 800C263C 000BF59C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C2640 000BF5A0 7C 08 03 A6 */ mtlr r0 +/* 800C2644 000BF5A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C2648 000BF5A8 4E 80 00 20 */ blr + +.global Render__13CScriptPickupCFRC13CStateManager +Render__13CScriptPickupCFRC13CStateManager: +/* 800C264C 000BF5AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C2650 000BF5B0 7C 08 02 A6 */ mflr r0 +/* 800C2654 000BF5B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C2658 000BF5B8 48 05 7E 91 */ bl Render__13CPhysicsActorCFRC13CStateManager +/* 800C265C 000BF5BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C2660 000BF5C0 7C 08 03 A6 */ mtlr r0 +/* 800C2664 000BF5C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C2668 000BF5C8 4E 80 00 20 */ blr + +.global AcceptScriptMsg__13CScriptPickupF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__13CScriptPickupF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800C266C 000BF5CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C2670 000BF5D0 7C 08 02 A6 */ mflr r0 +/* 800C2674 000BF5D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C2678 000BF5D8 A0 05 00 00 */ lhz r0, 0(r5) +/* 800C267C 000BF5DC 38 A1 00 08 */ addi r5, r1, 8 +/* 800C2680 000BF5E0 B0 01 00 08 */ sth r0, 8(r1) +/* 800C2684 000BF5E4 4B F9 0F 91 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800C2688 000BF5E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C268C 000BF5EC 7C 08 03 A6 */ mtlr r0 +/* 800C2690 000BF5F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C2694 000BF5F4 4E 80 00 20 */ blr + +.global GetTouchBounds__13CScriptPickupCFv +GetTouchBounds__13CScriptPickupCFv: +/* 800C2698 000BF5F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800C269C 000BF5FC 7C 08 02 A6 */ mflr r0 +/* 800C26A0 000BF600 90 01 00 34 */ stw r0, 0x34(r1) +/* 800C26A4 000BF604 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800C26A8 000BF608 7C 7F 1B 78 */ mr r31, r3 +/* 800C26AC 000BF60C 38 61 00 08 */ addi r3, r1, 8 +/* 800C26B0 000BF610 48 05 82 7D */ bl GetBoundingBox__13CPhysicsActorCFv +/* 800C26B4 000BF614 38 00 00 01 */ li r0, 1 +/* 800C26B8 000BF618 28 1F 00 00 */ cmplwi r31, 0 +/* 800C26BC 000BF61C 98 1F 00 18 */ stb r0, 0x18(r31) +/* 800C26C0 000BF620 41 82 00 34 */ beq lbl_800C26F4 +/* 800C26C4 000BF624 C0 01 00 08 */ lfs f0, 8(r1) +/* 800C26C8 000BF628 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800C26CC 000BF62C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800C26D0 000BF630 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800C26D4 000BF634 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800C26D8 000BF638 D0 1F 00 08 */ stfs f0, 8(r31) +/* 800C26DC 000BF63C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800C26E0 000BF640 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 800C26E4 000BF644 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800C26E8 000BF648 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800C26EC 000BF64C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800C26F0 000BF650 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_800C26F4: +/* 800C26F4 000BF654 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800C26F8 000BF658 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800C26FC 000BF65C 7C 08 03 A6 */ mtlr r0 +/* 800C2700 000BF660 38 21 00 30 */ addi r1, r1, 0x30 +/* 800C2704 000BF664 4E 80 00 20 */ blr + +.global Touch__13CScriptPickupFR6CActorR13CStateManager +Touch__13CScriptPickupFR6CActorR13CStateManager: +/* 800C2708 000BF668 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800C270C 000BF66C 7C 08 02 A6 */ mflr r0 +/* 800C2710 000BF670 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800C2714 000BF674 BF 21 00 A4 */ stmw r25, 0xa4(r1) +/* 800C2718 000BF678 7C 7D 1B 78 */ mr r29, r3 +/* 800C271C 000BF67C 7C BE 2B 78 */ mr r30, r5 +/* 800C2720 000BF680 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800C2724 000BF684 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C2728 000BF688 41 82 03 44 */ beq lbl_800C2A6C +/* 800C272C 000BF68C C0 3D 02 78 */ lfs f1, 0x278(r29) +/* 800C2730 000BF690 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) +/* 800C2734 000BF694 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C2738 000BF698 4C 41 13 82 */ cror 2, 1, 2 +/* 800C273C 000BF69C 41 82 03 30 */ beq lbl_800C2A6C +/* 800C2740 000BF6A0 38 61 00 44 */ addi r3, r1, 0x44 +/* 800C2744 000BF6A4 4B FE 9C BD */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 800C2748 000BF6A8 80 03 00 04 */ lwz r0, 4(r3) +/* 800C274C 000BF6AC 28 00 00 00 */ cmplwi r0, 0 +/* 800C2750 000BF6B0 41 82 03 1C */ beq lbl_800C2A6C +/* 800C2754 000BF6B4 83 FD 02 58 */ lwz r31, 0x258(r29) +/* 800C2758 000BF6B8 2C 1F 00 1D */ cmpwi r31, 0x1d +/* 800C275C 000BF6BC 41 80 00 34 */ blt lbl_800C2790 +/* 800C2760 000BF6C0 2C 1F 00 28 */ cmpwi r31, 0x28 +/* 800C2764 000BF6C4 41 81 00 2C */ bgt lbl_800C2790 +/* 800C2768 000BF6C8 7F E3 FB 78 */ mr r3, r31 +/* 800C276C 000BF6CC 48 1D A1 CD */ bl GetArtifactHeadScanFromItemType__13CArtifactDollF9EItemType +/* 800C2770 000BF6D0 3C 03 00 01 */ addis r0, r3, 1 +/* 800C2774 000BF6D4 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C2778 000BF6D8 41 82 00 18 */ beq lbl_800C2790 +/* 800C277C 000BF6DC 80 BE 08 B8 */ lwz r5, 0x8b8(r30) +/* 800C2780 000BF6E0 7C 64 1B 78 */ mr r4, r3 +/* 800C2784 000BF6E4 C0 22 8D CC */ lfs f1, lbl_805AAAEC@sda21(r2) +/* 800C2788 000BF6E8 80 65 00 00 */ lwz r3, 0(r5) +/* 800C278C 000BF6EC 4B FC EE 49 */ bl SetScanTime__12CPlayerStateFUif +lbl_800C2790: +/* 800C2790 000BF6F0 88 1D 02 88 */ lbz r0, 0x288(r29) +/* 800C2794 000BF6F4 28 00 00 00 */ cmplwi r0, 0 +/* 800C2798 000BF6F8 41 82 01 84 */ beq lbl_800C291C +/* 800C279C 000BF6FC 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 800C27A0 000BF700 7F C4 F3 78 */ mr r4, r30 +/* 800C27A4 000BF704 80 63 00 00 */ lwz r3, 0(r3) +/* 800C27A8 000BF708 4B FC ED B1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 800C27AC 000BF70C 2C 03 00 03 */ cmpwi r3, 3 +/* 800C27B0 000BF710 41 82 01 6C */ beq lbl_800C291C +/* 800C27B4 000BF714 3C 60 80 3D */ lis r3, lbl_803CE020@ha +/* 800C27B8 000BF718 3B 80 00 00 */ li r28, 0 +/* 800C27BC 000BF71C 38 83 E0 20 */ addi r4, r3, lbl_803CE020@l +/* 800C27C0 000BF720 3B 20 00 00 */ li r25, 0 +/* 800C27C4 000BF724 3B 60 00 00 */ li r27, 0 +/* 800C27C8 000BF728 38 60 01 00 */ li r3, 0x100 +/* 800C27CC 000BF72C 38 A0 00 00 */ li r5, 0 +/* 800C27D0 000BF730 48 25 30 9D */ bl __nw__FUlPCcPCc +/* 800C27D4 000BF734 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800C27D8 000BF738 41 82 00 CC */ beq lbl_800C28A4 +/* 800C27DC 000BF73C 3B 21 00 5C */ addi r25, r1, 0x5c +/* 800C27E0 000BF740 38 9D 02 7C */ addi r4, r29, 0x27c +/* 800C27E4 000BF744 7F 23 CB 78 */ mr r3, r25 +/* 800C27E8 000BF748 48 27 E6 C1 */ bl __ct__6CTokenFRC6CToken +/* 800C27EC 000BF74C 7F 23 CB 78 */ mr r3, r25 +/* 800C27F0 000BF750 48 27 E6 1D */ bl GetObj__6CTokenFv +/* 800C27F4 000BF754 80 03 00 04 */ lwz r0, 4(r3) +/* 800C27F8 000BF758 7F C4 F3 78 */ mr r4, r30 +/* 800C27FC 000BF75C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C2800 000BF760 3B 60 00 01 */ li r27, 1 +/* 800C2804 000BF764 90 01 00 64 */ stw r0, 0x64(r1) +/* 800C2808 000BF768 4B F8 A8 D5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C280C 000BF76C A0 81 00 18 */ lhz r4, 0x18(r1) +/* 800C2810 000BF770 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 800C2814 000BF774 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 800C2818 000BF778 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 800C281C 000BF77C B0 81 00 1C */ sth r4, 0x1c(r1) +/* 800C2820 000BF780 38 61 00 84 */ addi r3, r1, 0x84 +/* 800C2824 000BF784 38 81 00 34 */ addi r4, r1, 0x34 +/* 800C2828 000BF788 38 C1 00 38 */ addi r6, r1, 0x38 +/* 800C282C 000BF78C 80 FD 00 04 */ lwz r7, 4(r29) +/* 800C2830 000BF790 90 E1 00 30 */ stw r7, 0x30(r1) +/* 800C2834 000BF794 90 E1 00 34 */ stw r7, 0x34(r1) +/* 800C2838 000BF798 90 01 00 38 */ stw r0, 0x38(r1) +/* 800C283C 000BF79C 4B F8 EC 49 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 800C2840 000BF7A0 3C 80 80 3D */ lis r4, lbl_803CE020@ha +/* 800C2844 000BF7A4 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C2848 000BF7A8 38 84 E0 20 */ addi r4, r4, lbl_803CE020@l +/* 800C284C 000BF7AC 3B 20 00 01 */ li r25, 1 +/* 800C2850 000BF7B0 38 84 00 07 */ addi r4, r4, 7 +/* 800C2854 000BF7B4 4B F4 24 65 */ bl string_l__4rstlFPCc +/* 800C2858 000BF7B8 C0 02 8D D0 */ lfs f0, lbl_805AAAF0@sda21(r2) +/* 800C285C 000BF7BC 3B 80 00 01 */ li r28, 1 +/* 800C2860 000BF7C0 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 800C2864 000BF7C4 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 800C2868 000BF7C8 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 800C286C 000BF7CC 48 28 77 41 */ bl White__6CColorFv +/* 800C2870 000BF7D0 38 01 00 78 */ addi r0, r1, 0x78 +/* 800C2874 000BF7D4 38 81 00 5C */ addi r4, r1, 0x5c +/* 800C2878 000BF7D8 90 01 00 08 */ stw r0, 8(r1) +/* 800C287C 000BF7DC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800C2880 000BF7E0 38 E1 00 84 */ addi r7, r1, 0x84 +/* 800C2884 000BF7E4 39 01 00 68 */ addi r8, r1, 0x68 +/* 800C2888 000BF7E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 800C288C 000BF7EC 7F 43 D3 78 */ mr r3, r26 +/* 800C2890 000BF7F0 39 3D 00 34 */ addi r9, r29, 0x34 +/* 800C2894 000BF7F4 38 C0 00 01 */ li r6, 1 +/* 800C2898 000BF7F8 39 40 00 00 */ li r10, 0 +/* 800C289C 000BF7FC 4B F9 82 5D */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +/* 800C28A0 000BF800 7C 7A 1B 78 */ mr r26, r3 +lbl_800C28A4: +/* 800C28A4 000BF804 7F C3 F3 78 */ mr r3, r30 +/* 800C28A8 000BF808 7F 44 D3 78 */ mr r4, r26 +/* 800C28AC 000BF80C 4B F8 A4 49 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 800C28B0 000BF810 7F 60 07 75 */ extsb. r0, r27 +/* 800C28B4 000BF814 41 82 00 10 */ beq lbl_800C28C4 +/* 800C28B8 000BF818 38 61 00 5C */ addi r3, r1, 0x5c +/* 800C28BC 000BF81C 38 80 00 00 */ li r4, 0 +/* 800C28C0 000BF820 48 27 E5 81 */ bl __dt__6CTokenFv +lbl_800C28C4: +/* 800C28C4 000BF824 7F 20 07 75 */ extsb. r0, r25 +/* 800C28C8 000BF828 41 82 00 44 */ beq lbl_800C290C +/* 800C28CC 000BF82C 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 800C28D0 000BF830 80 61 00 94 */ lwz r3, 0x94(r1) +/* 800C28D4 000BF834 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800C28D8 000BF838 90 61 00 24 */ stw r3, 0x24(r1) +/* 800C28DC 000BF83C 7C 64 1B 78 */ mr r4, r3 +/* 800C28E0 000BF840 7C 03 02 14 */ add r0, r3, r0 +/* 800C28E4 000BF844 90 61 00 20 */ stw r3, 0x20(r1) +/* 800C28E8 000BF848 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800C28EC 000BF84C 90 01 00 28 */ stw r0, 0x28(r1) +/* 800C28F0 000BF850 48 00 00 08 */ b lbl_800C28F8 +lbl_800C28F4: +/* 800C28F4 000BF854 38 84 00 0C */ addi r4, r4, 0xc +lbl_800C28F8: +/* 800C28F8 000BF858 7C 04 00 40 */ cmplw r4, r0 +/* 800C28FC 000BF85C 40 82 FF F8 */ bne lbl_800C28F4 +/* 800C2900 000BF860 28 03 00 00 */ cmplwi r3, 0 +/* 800C2904 000BF864 41 82 00 08 */ beq lbl_800C290C +/* 800C2908 000BF868 48 25 30 29 */ bl Free__7CMemoryFPCv +lbl_800C290C: +/* 800C290C 000BF86C 7F 80 07 75 */ extsb. r0, r28 +/* 800C2910 000BF870 41 82 00 0C */ beq lbl_800C291C +/* 800C2914 000BF874 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C2918 000BF878 48 27 B1 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800C291C: +/* 800C291C 000BF87C 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 800C2920 000BF880 7F E4 FB 78 */ mr r4, r31 +/* 800C2924 000BF884 80 BD 02 60 */ lwz r5, 0x260(r29) +/* 800C2928 000BF888 80 63 00 00 */ lwz r3, 0(r3) +/* 800C292C 000BF88C 4B FC F4 3D */ bl InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei +/* 800C2930 000BF890 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 800C2934 000BF894 7F E4 FB 78 */ mr r4, r31 +/* 800C2938 000BF898 80 BD 02 5C */ lwz r5, 0x25c(r29) +/* 800C293C 000BF89C 80 63 00 00 */ lwz r3, 0(r3) +/* 800C2940 000BF8A0 4B FC F2 B1 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei +/* 800C2944 000BF8A4 A0 1D 00 08 */ lhz r0, 8(r29) +/* 800C2948 000BF8A8 7F C3 F3 78 */ mr r3, r30 +/* 800C294C 000BF8AC 38 81 00 14 */ addi r4, r1, 0x14 +/* 800C2950 000BF8B0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800C2954 000BF8B4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800C2958 000BF8B8 4B F8 99 15 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 800C295C 000BF8BC 7F A3 EB 78 */ mr r3, r29 +/* 800C2960 000BF8C0 7F C5 F3 78 */ mr r5, r30 +/* 800C2964 000BF8C4 38 80 00 01 */ li r4, 1 +/* 800C2968 000BF8C8 38 C0 FF FF */ li r6, -1 +/* 800C296C 000BF8CC 4B F8 E7 55 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800C2970 000BF8D0 80 1D 02 60 */ lwz r0, 0x260(r29) +/* 800C2974 000BF8D4 2C 00 00 00 */ cmpwi r0, 0 +/* 800C2978 000BF8D8 40 81 00 84 */ ble lbl_800C29FC +/* 800C297C 000BF8DC 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 800C2980 000BF8E0 83 43 00 00 */ lwz r26, 0(r3) +/* 800C2984 000BF8E4 7F 43 D3 78 */ mr r3, r26 +/* 800C2988 000BF8E8 4B FC EB 25 */ bl GetTotalPickupCount__12CPlayerStateFv +/* 800C298C 000BF8EC 7C 7B 1B 78 */ mr r27, r3 +/* 800C2990 000BF8F0 7F 43 D3 78 */ mr r3, r26 +/* 800C2994 000BF8F4 4B FC E8 A1 */ bl CalculateItemCollectionRate__12CPlayerStateFv +/* 800C2998 000BF8F8 7C 03 D8 00 */ cmpw r3, r27 +/* 800C299C 000BF8FC 40 82 00 60 */ bne lbl_800C29FC +/* 800C29A0 000BF900 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 800C29A4 000BF904 3C 60 80 3D */ lis r3, lbl_803CE020@ha +/* 800C29A8 000BF908 38 A3 E0 20 */ addi r5, r3, lbl_803CE020@l +/* 800C29AC 000BF90C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800C29B0 000BF910 88 04 01 78 */ lbz r0, 0x178(r4) +/* 800C29B4 000BF914 3B 44 00 A8 */ addi r26, r4, 0xa8 +/* 800C29B8 000BF918 38 85 00 38 */ addi r4, r5, 0x38 +/* 800C29BC 000BF91C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800C29C0 000BF920 41 82 00 08 */ beq lbl_800C29C8 +/* 800C29C4 000BF924 38 85 00 21 */ addi r4, r5, 0x21 +lbl_800C29C8: +/* 800C29C8 000BF928 81 83 00 00 */ lwz r12, 0(r3) +/* 800C29CC 000BF92C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800C29D0 000BF930 7D 89 03 A6 */ mtctr r12 +/* 800C29D4 000BF934 4E 80 04 21 */ bctrl +/* 800C29D8 000BF938 80 9E 0F 80 */ lwz r4, 0xf80(r30) +/* 800C29DC 000BF93C 80 A3 00 04 */ lwz r5, 4(r3) +/* 800C29E0 000BF940 7F C3 F3 78 */ mr r3, r30 +/* 800C29E4 000BF944 C0 22 8D C8 */ lfs f1, lbl_805AAAE8@sda21(r2) +/* 800C29E8 000BF948 38 84 00 01 */ addi r4, r4, 1 +/* 800C29EC 000BF94C 4B F8 15 41 */ bl sub_80043f2c +/* 800C29F0 000BF950 7F 43 D3 78 */ mr r3, r26 +/* 800C29F4 000BF954 38 80 00 01 */ li r4, 1 +/* 800C29F8 000BF958 48 11 27 B9 */ bl SetAllItemsCollected__14CSystemOptionsFb +lbl_800C29FC: +/* 800C29FC 000BF95C 2C 1F 00 07 */ cmpwi r31, 7 +/* 800C2A00 000BF960 40 82 00 6C */ bne lbl_800C2A6C +/* 800C2A04 000BF964 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800C2A08 000BF968 3B 43 00 A8 */ addi r26, r3, 0xa8 +/* 800C2A0C 000BF96C 7F 43 D3 78 */ mr r3, r26 +/* 800C2A10 000BF970 48 11 28 45 */ bl sub_801d5254 +/* 800C2A14 000BF974 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C2A18 000BF978 41 82 00 54 */ beq lbl_800C2A6C +/* 800C2A1C 000BF97C 7F 43 D3 78 */ mr r3, r26 +/* 800C2A20 000BF980 48 11 28 01 */ bl sub_801d5220 +/* 800C2A24 000BF984 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) +/* 800C2A28 000BF988 38 80 00 6D */ li r4, 0x6d +/* 800C2A2C 000BF98C 48 29 3C D1 */ bl GetString__12CStringTableCFi +/* 800C2A30 000BF990 7C 64 1B 78 */ mr r4, r3 +/* 800C2A34 000BF994 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C2A38 000BF998 4B F5 2F B9 */ bl wstring_l__4rstlFPCw +/* 800C2A3C 000BF99C C0 02 8D D4 */ lfs f0, lbl_805AAAF4@sda21(r2) +/* 800C2A40 000BF9A0 38 00 00 00 */ li r0, 0 +/* 800C2A44 000BF9A4 38 A0 00 01 */ li r5, 1 +/* 800C2A48 000BF9A8 98 01 00 41 */ stb r0, 0x41(r1) +/* 800C2A4C 000BF9AC 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C2A50 000BF9B0 38 81 00 3C */ addi r4, r1, 0x3c +/* 800C2A54 000BF9B4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800C2A58 000BF9B8 98 A1 00 40 */ stb r5, 0x40(r1) +/* 800C2A5C 000BF9BC 98 01 00 42 */ stb r0, 0x42(r1) +/* 800C2A60 000BF9C0 4B FA 92 09 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo +/* 800C2A64 000BF9C4 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C2A68 000BF9C8 48 27 A6 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800C2A6C: +/* 800C2A6C 000BF9CC BB 21 00 A4 */ lmw r25, 0xa4(r1) +/* 800C2A70 000BF9D0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800C2A74 000BF9D4 7C 08 03 A6 */ mtlr r0 +/* 800C2A78 000BF9D8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800C2A7C 000BF9DC 4E 80 00 20 */ blr + +.global Think__13CScriptPickupFfR13CStateManager +Think__13CScriptPickupFfR13CStateManager: +/* 800C2A80 000BF9E0 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800C2A84 000BF9E4 7C 08 02 A6 */ mflr r0 +/* 800C2A88 000BF9E8 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800C2A8C 000BF9EC DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 800C2A90 000BF9F0 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 800C2A94 000BF9F4 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 800C2A98 000BF9F8 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 800C2A9C 000BF9FC DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 800C2AA0 000BFA00 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 800C2AA4 000BFA04 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 800C2AA8 000BFA08 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 800C2AAC 000BFA0C 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 800C2AB0 000BFA10 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800C2AB4 000BFA14 FF E0 08 90 */ fmr f31, f1 +/* 800C2AB8 000BFA18 7C 7E 1B 78 */ mr r30, r3 +/* 800C2ABC 000BFA1C 7C 9F 23 78 */ mr r31, r4 +/* 800C2AC0 000BFA20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C2AC4 000BFA24 41 82 05 64 */ beq lbl_800C3028 +/* 800C2AC8 000BFA28 C0 3E 02 78 */ lfs f1, 0x278(r30) +/* 800C2ACC 000BFA2C C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) +/* 800C2AD0 000BFA30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C2AD4 000BFA34 4C 41 13 82 */ cror 2, 1, 2 +/* 800C2AD8 000BFA38 40 82 00 18 */ bne lbl_800C2AF0 +/* 800C2ADC 000BFA3C 48 05 88 9D */ bl Stop__13CPhysicsActorFv +/* 800C2AE0 000BFA40 C0 1E 02 78 */ lfs f0, 0x278(r30) +/* 800C2AE4 000BFA44 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800C2AE8 000BFA48 D0 1E 02 78 */ stfs f0, 0x278(r30) +/* 800C2AEC 000BFA4C 48 00 05 3C */ b lbl_800C3028 +lbl_800C2AF0: +/* 800C2AF0 000BFA50 C0 1E 02 70 */ lfs f0, 0x270(r30) +/* 800C2AF4 000BFA54 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800C2AF8 000BFA58 D0 1E 02 70 */ stfs f0, 0x270(r30) +/* 800C2AFC 000BFA5C 88 1E 02 8C */ lbz r0, 0x28c(r30) +/* 800C2B00 000BFA60 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800C2B04 000BFA64 41 82 00 54 */ beq lbl_800C2B58 +/* 800C2B08 000BFA68 C0 1E 02 6C */ lfs f0, 0x26c(r30) +/* 800C2B0C 000BFA6C C0 3E 02 70 */ lfs f1, 0x270(r30) +/* 800C2B10 000BFA70 C0 62 8D D8 */ lfs f3, lbl_805AAAF8@sda21(r2) +/* 800C2B14 000BFA74 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800C2B18 000BFA78 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 800C2B1C 000BFA7C 40 80 00 3C */ bge lbl_800C2B58 +/* 800C2B20 000BFA80 EC 43 0F FC */ fnmsubs f2, f3, f31, f1 +/* 800C2B24 000BFA84 C0 02 8D DC */ lfs f0, lbl_805AAAFC@sda21(r2) +/* 800C2B28 000BFA88 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800C2B2C 000BFA8C C0 3E 02 6C */ lfs f1, 0x26c(r30) +/* 800C2B30 000BFA90 EC 21 18 28 */ fsubs f1, f1, f3 +/* 800C2B34 000BFA94 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800C2B38 000BFA98 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 800C2B3C 000BFA9C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800C2B40 000BFAA0 40 80 00 0C */ bge lbl_800C2B4C +/* 800C2B44 000BFAA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C2B48 000BFAA8 48 00 00 08 */ b lbl_800C2B50 +lbl_800C2B4C: +/* 800C2B4C 000BFAAC 38 61 00 14 */ addi r3, r1, 0x14 +lbl_800C2B50: +/* 800C2B50 000BFAB0 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C2B54 000BFAB4 D0 1E 02 70 */ stfs f0, 0x270(r30) +lbl_800C2B58: +/* 800C2B58 000BFAB8 C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2) +/* 800C2B5C 000BFABC 38 80 00 00 */ li r4, 0 +/* 800C2B60 000BFAC0 38 00 00 03 */ li r0, 3 +/* 800C2B64 000BFAC4 98 81 00 28 */ stb r4, 0x28(r1) +/* 800C2B68 000BFAC8 FC 40 08 90 */ fmr f2, f1 +/* 800C2B6C 000BFACC 38 61 00 2C */ addi r3, r1, 0x2c +/* 800C2B70 000BFAD0 FC 60 08 90 */ fmr f3, f1 +/* 800C2B74 000BFAD4 98 81 00 29 */ stb r4, 0x29(r1) +/* 800C2B78 000BFAD8 FC 80 08 90 */ fmr f4, f1 +/* 800C2B7C 000BFADC B0 01 00 2A */ sth r0, 0x2a(r1) +/* 800C2B80 000BFAE0 48 2A 08 6D */ bl __ct__6CColorFffff +/* 800C2B84 000BFAE4 C0 3E 02 68 */ lfs f1, 0x268(r30) +/* 800C2B88 000BFAE8 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) +/* 800C2B8C 000BFAEC 88 61 00 28 */ lbz r3, 0x28(r1) +/* 800C2B90 000BFAF0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800C2B94 000BFAF4 88 81 00 29 */ lbz r4, 0x29(r1) +/* 800C2B98 000BFAF8 A0 01 00 2A */ lhz r0, 0x2a(r1) +/* 800C2B9C 000BFAFC 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800C2BA0 000BFB00 41 82 00 68 */ beq lbl_800C2C08 +/* 800C2BA4 000BFB04 C0 5E 02 70 */ lfs f2, 0x270(r30) +/* 800C2BA8 000BFB08 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800C2BAC 000BFB0C 40 80 00 54 */ bge lbl_800C2C00 +/* 800C2BB0 000BFB10 EC 82 08 24 */ fdivs f4, f2, f1 +/* 800C2BB4 000BFB14 C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2) +/* 800C2BB8 000BFB18 38 A0 00 05 */ li r5, 5 +/* 800C2BBC 000BFB1C 38 80 00 00 */ li r4, 0 +/* 800C2BC0 000BFB20 38 00 00 03 */ li r0, 3 +/* 800C2BC4 000BFB24 98 A1 00 20 */ stb r5, 0x20(r1) +/* 800C2BC8 000BFB28 FC 40 08 90 */ fmr f2, f1 +/* 800C2BCC 000BFB2C 98 81 00 21 */ stb r4, 0x21(r1) +/* 800C2BD0 000BFB30 FC 60 08 90 */ fmr f3, f1 +/* 800C2BD4 000BFB34 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C2BD8 000BFB38 B0 01 00 22 */ sth r0, 0x22(r1) +/* 800C2BDC 000BFB3C 48 2A 08 11 */ bl __ct__6CColorFffff +/* 800C2BE0 000BFB40 A0 01 00 22 */ lhz r0, 0x22(r1) +/* 800C2BE4 000BFB44 88 61 00 20 */ lbz r3, 0x20(r1) +/* 800C2BE8 000BFB48 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800C2BEC 000BFB4C 88 81 00 21 */ lbz r4, 0x21(r1) +/* 800C2BF0 000BFB50 60 00 00 01 */ ori r0, r0, 1 +/* 800C2BF4 000BFB54 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800C2BF8 000BFB58 54 00 04 3E */ clrlwi r0, r0, 0x10 +/* 800C2BFC 000BFB5C 48 00 00 98 */ b lbl_800C2C94 +lbl_800C2C00: +/* 800C2C00 000BFB60 D0 1E 02 68 */ stfs f0, 0x268(r30) +/* 800C2C04 000BFB64 48 00 00 90 */ b lbl_800C2C94 +lbl_800C2C08: +/* 800C2C08 000BFB68 C0 5E 02 6C */ lfs f2, 0x26c(r30) +/* 800C2C0C 000BFB6C FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 800C2C10 000BFB70 41 82 00 84 */ beq lbl_800C2C94 +/* 800C2C14 000BFB74 C0 22 8D D8 */ lfs f1, lbl_805AAAF8@sda21(r2) +/* 800C2C18 000BFB78 C0 82 8D D0 */ lfs f4, lbl_805AAAF0@sda21(r2) +/* 800C2C1C 000BFB7C FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800C2C20 000BFB80 40 80 00 14 */ bge lbl_800C2C34 +/* 800C2C24 000BFB84 C0 1E 02 70 */ lfs f0, 0x270(r30) +/* 800C2C28 000BFB88 EC 02 00 24 */ fdivs f0, f2, f0 +/* 800C2C2C 000BFB8C EC 84 00 28 */ fsubs f4, f4, f0 +/* 800C2C30 000BFB90 48 00 00 1C */ b lbl_800C2C4C +lbl_800C2C34: +/* 800C2C34 000BFB94 C0 1E 02 70 */ lfs f0, 0x270(r30) +/* 800C2C38 000BFB98 EC 42 00 28 */ fsubs f2, f2, f0 +/* 800C2C3C 000BFB9C FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800C2C40 000BFBA0 40 80 00 0C */ bge lbl_800C2C4C +/* 800C2C44 000BFBA4 C0 02 8D CC */ lfs f0, lbl_805AAAEC@sda21(r2) +/* 800C2C48 000BFBA8 EC 82 00 32 */ fmuls f4, f2, f0 +lbl_800C2C4C: +/* 800C2C4C 000BFBAC C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2) +/* 800C2C50 000BFBB0 38 A0 00 05 */ li r5, 5 +/* 800C2C54 000BFBB4 38 80 00 00 */ li r4, 0 +/* 800C2C58 000BFBB8 38 00 00 03 */ li r0, 3 +/* 800C2C5C 000BFBBC FC 40 08 90 */ fmr f2, f1 +/* 800C2C60 000BFBC0 98 A1 00 18 */ stb r5, 0x18(r1) +/* 800C2C64 000BFBC4 FC 60 08 90 */ fmr f3, f1 +/* 800C2C68 000BFBC8 38 61 00 1C */ addi r3, r1, 0x1c +/* 800C2C6C 000BFBCC 98 81 00 19 */ stb r4, 0x19(r1) +/* 800C2C70 000BFBD0 B0 01 00 1A */ sth r0, 0x1a(r1) +/* 800C2C74 000BFBD4 48 2A 07 79 */ bl __ct__6CColorFffff +/* 800C2C78 000BFBD8 A0 01 00 1A */ lhz r0, 0x1a(r1) +/* 800C2C7C 000BFBDC 88 61 00 18 */ lbz r3, 0x18(r1) +/* 800C2C80 000BFBE0 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800C2C84 000BFBE4 88 81 00 19 */ lbz r4, 0x19(r1) +/* 800C2C88 000BFBE8 60 00 00 01 */ ori r0, r0, 1 +/* 800C2C8C 000BFBEC 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800C2C90 000BFBF0 54 00 04 3E */ clrlwi r0, r0, 0x10 +lbl_800C2C94: +/* 800C2C94 000BFBF4 98 7E 00 B4 */ stb r3, 0xb4(r30) +/* 800C2C98 000BFBF8 38 60 00 00 */ li r3, 0 +/* 800C2C9C 000BFBFC 98 9E 00 B5 */ stb r4, 0xb5(r30) +/* 800C2CA0 000BFC00 B0 1E 00 B6 */ sth r0, 0xb6(r30) +/* 800C2CA4 000BFC04 90 BE 00 B8 */ stw r5, 0xb8(r30) +/* 800C2CA8 000BFC08 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 800C2CAC 000BFC0C 28 04 00 00 */ cmplwi r4, 0 +/* 800C2CB0 000BFC10 41 82 00 14 */ beq lbl_800C2CC4 +/* 800C2CB4 000BFC14 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800C2CB8 000BFC18 28 00 00 00 */ cmplwi r0, 0 +/* 800C2CBC 000BFC1C 41 82 00 08 */ beq lbl_800C2CC4 +/* 800C2CC0 000BFC20 38 60 00 01 */ li r3, 1 +lbl_800C2CC4: +/* 800C2CC4 000BFC24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C2CC8 000BFC28 41 82 00 78 */ beq lbl_800C2D40 +/* 800C2CCC 000BFC2C FC 20 F8 90 */ fmr f1, f31 +/* 800C2CD0 000BFC30 7F C4 F3 78 */ mr r4, r30 +/* 800C2CD4 000BFC34 7F E5 FB 78 */ mr r5, r31 +/* 800C2CD8 000BFC38 38 61 00 60 */ addi r3, r1, 0x60 +/* 800C2CDC 000BFC3C 38 C0 00 01 */ li r6, 1 +/* 800C2CE0 000BFC40 4B F9 25 BD */ bl UpdateAnimation__6CActorFfR13CStateManagerb +/* 800C2CE4 000BFC44 C0 E1 00 60 */ lfs f7, 0x60(r1) +/* 800C2CE8 000BFC48 FC 20 F8 90 */ fmr f1, f31 +/* 800C2CEC 000BFC4C C0 C1 00 64 */ lfs f6, 0x64(r1) +/* 800C2CF0 000BFC50 7F C3 F3 78 */ mr r3, r30 +/* 800C2CF4 000BFC54 C0 A1 00 68 */ lfs f5, 0x68(r1) +/* 800C2CF8 000BFC58 3B A1 00 88 */ addi r29, r1, 0x88 +/* 800C2CFC 000BFC5C C0 81 00 6C */ lfs f4, 0x6c(r1) +/* 800C2D00 000BFC60 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 800C2D04 000BFC64 38 81 00 7C */ addi r4, r1, 0x7c +/* 800C2D08 000BFC68 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 800C2D0C 000BFC6C C0 01 00 78 */ lfs f0, 0x78(r1) +/* 800C2D10 000BFC70 D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 800C2D14 000BFC74 D0 C1 00 80 */ stfs f6, 0x80(r1) +/* 800C2D18 000BFC78 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 800C2D1C 000BFC7C D0 81 00 88 */ stfs f4, 0x88(r1) +/* 800C2D20 000BFC80 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 800C2D24 000BFC84 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 800C2D28 000BFC88 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800C2D2C 000BFC8C 48 05 81 4D */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff +/* 800C2D30 000BFC90 FC 20 F8 90 */ fmr f1, f31 +/* 800C2D34 000BFC94 7F C3 F3 78 */ mr r3, r30 +/* 800C2D38 000BFC98 7F A4 EB 78 */ mr r4, r29 +/* 800C2D3C 000BFC9C 48 05 80 D9 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf +lbl_800C2D40: +/* 800C2D40 000BFCA0 88 7E 02 8C */ lbz r3, 0x28c(r30) +/* 800C2D44 000BFCA4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 800C2D48 000BFCA8 41 82 01 54 */ beq lbl_800C2E9C +/* 800C2D4C 000BFCAC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800C2D50 000BFCB0 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 800C2D54 000BFCB4 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l +/* 800C2D58 000BFCB8 C0 A2 8D D8 */ lfs f5, lbl_805AAAF8@sda21(r2) +/* 800C2D5C 000BFCBC C0 43 00 04 */ lfs f2, 4(r3) +/* 800C2D60 000BFCC0 C0 23 00 08 */ lfs f1, 8(r3) +/* 800C2D64 000BFCC4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C2D68 000BFCC8 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 800C2D6C 000BFCCC C0 C4 00 50 */ lfs f6, 0x50(r4) +/* 800C2D70 000BFCD0 EC 45 00 72 */ fmuls f2, f5, f1 +/* 800C2D74 000BFCD4 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 800C2D78 000BFCD8 EC 05 00 32 */ fmuls f0, f5, f0 +/* 800C2D7C 000BFCDC C0 24 00 40 */ lfs f1, 0x40(r4) +/* 800C2D80 000BFCE0 EC A6 20 2A */ fadds f5, f6, f4 +/* 800C2D84 000BFCE4 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 800C2D88 000BFCE8 EC 63 10 2A */ fadds f3, f3, f2 +/* 800C2D8C 000BFCEC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800C2D90 000BFCF0 EC 21 00 2A */ fadds f1, f1, f0 +/* 800C2D94 000BFCF4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800C2D98 000BFCF8 EC 85 20 28 */ fsubs f4, f5, f4 +/* 800C2D9C 000BFCFC EC 43 10 28 */ fsubs f2, f3, f2 +/* 800C2DA0 000BFD00 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800C2DA4 000BFD04 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 800C2DA8 000BFD08 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800C2DAC 000BFD0C D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 800C2DB0 000BFD10 C0 1E 02 74 */ lfs f0, 0x274(r30) +/* 800C2DB4 000BFD14 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800C2DB8 000BFD18 D0 1E 02 74 */ stfs f0, 0x274(r30) +/* 800C2DBC 000BFD1C C0 2D 86 C4 */ lfs f1, lbl_805A7284@sda21(r13) +/* 800C2DC0 000BFD20 C0 1E 02 74 */ lfs f0, 0x274(r30) +/* 800C2DC4 000BFD24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C2DC8 000BFD28 40 80 00 0C */ bge lbl_800C2DD4 +/* 800C2DCC 000BFD2C 38 8D 86 C4 */ addi r4, r13, lbl_805A7284@sda21 +/* 800C2DD0 000BFD30 48 00 00 08 */ b lbl_800C2DD8 +lbl_800C2DD4: +/* 800C2DD4 000BFD34 38 9E 02 74 */ addi r4, r30, 0x274 +lbl_800C2DD8: +/* 800C2DD8 000BFD38 C0 22 8D CC */ lfs f1, lbl_805AAAEC@sda21(r2) +/* 800C2DDC 000BFD3C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800C2DE0 000BFD40 C0 04 00 00 */ lfs f0, 0(r4) +/* 800C2DE4 000BFD44 38 81 00 54 */ addi r4, r1, 0x54 +/* 800C2DE8 000BFD48 EF A1 00 32 */ fmuls f29, f1, f0 +/* 800C2DEC 000BFD4C 48 25 1A 65 */ bl AsNormalized__9CVector3fCFv +/* 800C2DF0 000BFD50 C0 02 8D E0 */ lfs f0, lbl_805AAB00@sda21(r2) +/* 800C2DF4 000BFD54 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 800C2DF8 000BFD58 EC 60 07 72 */ fmuls f3, f0, f29 +/* 800C2DFC 000BFD5C C0 21 00 44 */ lfs f1, 0x44(r1) +/* 800C2E00 000BFD60 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 800C2E04 000BFD64 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800C2E08 000BFD68 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800C2E0C 000BFD6C EC 03 00 32 */ fmuls f0, f3, f0 +/* 800C2E10 000BFD70 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800C2E14 000BFD74 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800C2E18 000BFD78 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800C2E1C 000BFD7C 88 1E 02 8C */ lbz r0, 0x28c(r30) +/* 800C2E20 000BFD80 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800C2E24 000BFD84 41 82 00 68 */ beq lbl_800C2E8C +/* 800C2E28 000BFD88 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 800C2E2C 000BFD8C 80 63 04 90 */ lwz r3, 0x490(r3) +/* 800C2E30 000BFD90 88 03 08 34 */ lbz r0, 0x834(r3) +/* 800C2E34 000BFD94 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C2E38 000BFD98 41 82 00 0C */ beq lbl_800C2E44 +/* 800C2E3C 000BFD9C C0 23 03 40 */ lfs f1, 0x340(r3) +/* 800C2E40 000BFDA0 48 00 00 08 */ b lbl_800C2E48 +lbl_800C2E44: +/* 800C2E44 000BFDA4 C0 22 8D C8 */ lfs f1, lbl_805AAAE8@sda21(r2) +lbl_800C2E48: +/* 800C2E48 000BFDA8 C0 0D A1 B0 */ lfs f0, lbl_805A8D70@sda21(r13) +/* 800C2E4C 000BFDAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C2E50 000BFDB0 40 80 00 3C */ bge lbl_800C2E8C +/* 800C2E54 000BFDB4 88 1E 02 8C */ lbz r0, 0x28c(r30) +/* 800C2E58 000BFDB8 38 80 00 00 */ li r4, 0 +/* 800C2E5C 000BFDBC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800C2E60 000BFDC0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800C2E64 000BFDC4 98 1E 02 8C */ stb r0, 0x28c(r30) +/* 800C2E68 000BFDC8 88 1E 02 8C */ lbz r0, 0x28c(r30) +/* 800C2E6C 000BFDCC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800C2E70 000BFDD0 98 1E 02 8C */ stb r0, 0x28c(r30) +/* 800C2E74 000BFDD4 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 800C2E78 000BFDD8 C0 23 00 04 */ lfs f1, 4(r3) +/* 800C2E7C 000BFDDC C0 03 00 08 */ lfs f0, 8(r3) +/* 800C2E80 000BFDE0 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800C2E84 000BFDE4 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800C2E88 000BFDE8 D0 01 00 5C */ stfs f0, 0x5c(r1) +lbl_800C2E8C: +/* 800C2E8C 000BFDEC 7F C3 F3 78 */ mr r3, r30 +/* 800C2E90 000BFDF0 38 81 00 54 */ addi r4, r1, 0x54 +/* 800C2E94 000BFDF4 48 05 7E 0D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 800C2E98 000BFDF8 48 00 01 5C */ b lbl_800C2FF4 +lbl_800C2E9C: +/* 800C2E9C 000BFDFC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 800C2EA0 000BFE00 41 82 01 54 */ beq lbl_800C2FF4 +/* 800C2EA4 000BFE04 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 800C2EA8 000BFE08 80 63 04 90 */ lwz r3, 0x490(r3) +/* 800C2EAC 000BFE0C 88 03 08 34 */ lbz r0, 0x834(r3) +/* 800C2EB0 000BFE10 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C2EB4 000BFE14 41 82 00 0C */ beq lbl_800C2EC0 +/* 800C2EB8 000BFE18 C0 23 03 40 */ lfs f1, 0x340(r3) +/* 800C2EBC 000BFE1C 48 00 00 08 */ b lbl_800C2EC4 +lbl_800C2EC0: +/* 800C2EC0 000BFE20 C0 22 8D C8 */ lfs f1, lbl_805AAAE8@sda21(r2) +lbl_800C2EC4: +/* 800C2EC4 000BFE24 C0 0D A1 B0 */ lfs f0, lbl_805A8D70@sda21(r13) +/* 800C2EC8 000BFE28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C2ECC 000BFE2C 40 81 01 28 */ ble lbl_800C2FF4 +/* 800C2ED0 000BFE30 80 BF 08 70 */ lwz r5, 0x870(r31) +/* 800C2ED4 000BFE34 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C2ED8 000BFE38 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 800C2EDC 000BFE3C 38 81 00 48 */ addi r4, r1, 0x48 +/* 800C2EE0 000BFE40 80 A5 00 7C */ lwz r5, 0x7c(r5) +/* 800C2EE4 000BFE44 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 800C2EE8 000BFE48 C0 05 00 50 */ lfs f0, 0x50(r5) +/* 800C2EEC 000BFE4C C0 45 00 60 */ lfs f2, 0x60(r5) +/* 800C2EF0 000BFE50 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 800C2EF4 000BFE54 EC 84 00 28 */ fsubs f4, f4, f0 +/* 800C2EF8 000BFE58 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 800C2EFC 000BFE5C EC 43 10 28 */ fsubs f2, f3, f2 +/* 800C2F00 000BFE60 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800C2F04 000BFE64 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 800C2F08 000BFE68 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800C2F0C 000BFE6C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800C2F10 000BFE70 C3 A5 00 58 */ lfs f29, 0x58(r5) +/* 800C2F14 000BFE74 C3 C5 00 48 */ lfs f30, 0x48(r5) +/* 800C2F18 000BFE78 C3 E5 00 38 */ lfs f31, 0x38(r5) +/* 800C2F1C 000BFE7C 48 25 19 35 */ bl AsNormalized__9CVector3fCFv +/* 800C2F20 000BFE80 80 6D A1 20 */ lwz r3, gpTweakGame@sda21(r13) +/* 800C2F24 000BFE84 3C 00 43 30 */ lis r0, 0x4330 +/* 800C2F28 000BFE88 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 800C2F2C 000BFE8C C0 22 8D E4 */ lfs f1, lbl_805AAB04@sda21(r2) +/* 800C2F30 000BFE90 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 800C2F34 000BFE94 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 800C2F38 000BFE98 C0 61 00 30 */ lfs f3, 0x30(r1) +/* 800C2F3C 000BFE9C EC 81 00 32 */ fmuls f4, f1, f0 +/* 800C2F40 000BFEA0 C0 02 8D E8 */ lfs f0, lbl_805AAB08@sda21(r2) +/* 800C2F44 000BFEA4 EC 3F 10 FA */ fmadds f1, f31, f3, f2 +/* 800C2F48 000BFEA8 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 800C2F4C 000BFEAC 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 800C2F50 000BFEB0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 800C2F54 000BFEB4 EF BD 08 BA */ fmadds f29, f29, f2, f1 +/* 800C2F58 000BFEB8 C8 62 8D F0 */ lfd f3, lbl_805AAB10@sda21(r2) +/* 800C2F5C 000BFEBC C0 42 8D EC */ lfs f2, lbl_805AAB0C@sda21(r2) +/* 800C2F60 000BFEC0 FC 20 00 1E */ fctiwz f1, f0 +/* 800C2F64 000BFEC4 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) +/* 800C2F68 000BFEC8 D8 21 00 98 */ stfd f1, 0x98(r1) +/* 800C2F6C 000BFECC 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800C2F70 000BFED0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800C2F74 000BFED4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800C2F78 000BFED8 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 800C2F7C 000BFEDC EC 21 18 28 */ fsubs f1, f1, f3 +/* 800C2F80 000BFEE0 EC 21 20 BC */ fnmsubs f1, f1, f2, f4 +/* 800C2F84 000BFEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C2F88 000BFEE8 40 80 00 08 */ bge lbl_800C2F90 +/* 800C2F8C 000BFEEC EC 21 10 2A */ fadds f1, f1, f2 +lbl_800C2F90: +/* 800C2F90 000BFEF0 48 2D 14 61 */ bl cos +/* 800C2F94 000BFEF4 FC 00 08 18 */ frsp f0, f1 +/* 800C2F98 000BFEF8 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 800C2F9C 000BFEFC 40 81 00 58 */ ble lbl_800C2FF4 +/* 800C2FA0 000BFF00 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 800C2FA4 000BFF04 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800C2FA8 000BFF08 EC 41 00 72 */ fmuls f2, f1, f1 +/* 800C2FAC 000BFF0C C0 61 00 50 */ lfs f3, 0x50(r1) +/* 800C2FB0 000BFF10 EC 20 00 32 */ fmuls f1, f0, f0 +/* 800C2FB4 000BFF14 C0 0D 86 C0 */ lfs f0, lbl_805A7280@sda21(r13) +/* 800C2FB8 000BFF18 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 800C2FBC 000BFF1C EC 00 00 32 */ fmuls f0, f0, f0 +/* 800C2FC0 000BFF20 EC 22 08 2A */ fadds f1, f2, f1 +/* 800C2FC4 000BFF24 EC 23 08 2A */ fadds f1, f3, f1 +/* 800C2FC8 000BFF28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C2FCC 000BFF2C 40 80 00 28 */ bge lbl_800C2FF4 +/* 800C2FD0 000BFF30 88 1E 02 8C */ lbz r0, 0x28c(r30) +/* 800C2FD4 000BFF34 38 60 00 01 */ li r3, 1 +/* 800C2FD8 000BFF38 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800C2FDC 000BFF3C C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) +/* 800C2FE0 000BFF40 98 1E 02 8C */ stb r0, 0x28c(r30) +/* 800C2FE4 000BFF44 88 1E 02 8C */ lbz r0, 0x28c(r30) +/* 800C2FE8 000BFF48 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800C2FEC 000BFF4C 98 1E 02 8C */ stb r0, 0x28c(r30) +/* 800C2FF0 000BFF50 D0 1E 02 74 */ stfs f0, 0x274(r30) +lbl_800C2FF4: +/* 800C2FF4 000BFF54 C0 3E 02 6C */ lfs f1, 0x26c(r30) +/* 800C2FF8 000BFF58 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) +/* 800C2FFC 000BFF5C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800C3000 000BFF60 41 82 00 28 */ beq lbl_800C3028 +/* 800C3004 000BFF64 C0 1E 02 70 */ lfs f0, 0x270(r30) +/* 800C3008 000BFF68 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C300C 000BFF6C 40 81 00 1C */ ble lbl_800C3028 +/* 800C3010 000BFF70 A0 1E 00 08 */ lhz r0, 8(r30) +/* 800C3014 000BFF74 7F E3 FB 78 */ mr r3, r31 +/* 800C3018 000BFF78 38 81 00 0C */ addi r4, r1, 0xc +/* 800C301C 000BFF7C B0 01 00 08 */ sth r0, 8(r1) +/* 800C3020 000BFF80 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800C3024 000BFF84 4B F8 92 49 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_800C3028: +/* 800C3028 000BFF88 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 800C302C 000BFF8C CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 800C3030 000BFF90 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 800C3034 000BFF94 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 800C3038 000BFF98 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 800C303C 000BFF9C CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 800C3040 000BFFA0 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 800C3044 000BFFA4 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 800C3048 000BFFA8 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800C304C 000BFFAC 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 800C3050 000BFFB0 7C 08 03 A6 */ mtlr r0 +/* 800C3054 000BFFB4 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 800C3058 000BFFB8 4E 80 00 20 */ blr + +.global __dt__13CScriptPickup +__dt__13CScriptPickup: +/* 800C305C 000BFFBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C3060 000BFFC0 7C 08 02 A6 */ mflr r0 +/* 800C3064 000BFFC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C3068 000BFFC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800C306C 000BFFCC 7C 9F 23 78 */ mr r31, r4 +/* 800C3070 000BFFD0 93 C1 00 08 */ stw r30, 8(r1) +/* 800C3074 000BFFD4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800C3078 000BFFD8 41 82 00 60 */ beq lbl_800C30D8 +/* 800C307C 000BFFDC 3C 60 80 3E */ lis r3, lbl_803DF4F8@ha +/* 800C3080 000BFFE0 34 1E 02 7C */ addic. r0, r30, 0x27c +/* 800C3084 000BFFE4 38 03 F4 F8 */ addi r0, r3, lbl_803DF4F8@l +/* 800C3088 000BFFE8 90 1E 00 00 */ stw r0, 0(r30) +/* 800C308C 000BFFEC 41 82 00 30 */ beq lbl_800C30BC +/* 800C3090 000BFFF0 88 1E 02 88 */ lbz r0, 0x288(r30) +/* 800C3094 000BFFF4 28 00 00 00 */ cmplwi r0, 0 +/* 800C3098 000BFFF8 41 82 00 1C */ beq lbl_800C30B4 +/* 800C309C 000BFFFC 34 7E 02 7C */ addic. r3, r30, 0x27c +/* 800C30A0 000C0000 41 82 00 14 */ beq lbl_800C30B4 +/* 800C30A4 000C0004 28 03 00 00 */ cmplwi r3, 0 +/* 800C30A8 000C0008 41 82 00 0C */ beq lbl_800C30B4 +/* 800C30AC 000C000C 38 80 00 00 */ li r4, 0 +/* 800C30B0 000C0010 48 27 DD 91 */ bl __dt__6CTokenFv +lbl_800C30B4: +/* 800C30B4 000C0014 38 00 00 00 */ li r0, 0 +/* 800C30B8 000C0018 98 1E 02 88 */ stb r0, 0x288(r30) +lbl_800C30BC: +/* 800C30BC 000C001C 7F C3 F3 78 */ mr r3, r30 +/* 800C30C0 000C0020 38 80 00 00 */ li r4, 0 +/* 800C30C4 000C0024 48 05 93 51 */ bl __dt__13CPhysicsActorFv +/* 800C30C8 000C0028 7F E0 07 35 */ extsh. r0, r31 +/* 800C30CC 000C002C 40 81 00 0C */ ble lbl_800C30D8 +/* 800C30D0 000C0030 7F C3 F3 78 */ mr r3, r30 +/* 800C30D4 000C0034 48 25 28 5D */ bl Free__7CMemoryFPCv +lbl_800C30D8: +/* 800C30D8 000C0038 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C30DC 000C003C 7F C3 F3 78 */ mr r3, r30 +/* 800C30E0 000C0040 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800C30E4 000C0044 83 C1 00 08 */ lwz r30, 8(r1) +/* 800C30E8 000C0048 7C 08 03 A6 */ mtlr r0 +/* 800C30EC 000C004C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C30F0 000C0050 4E 80 00 20 */ blr + +.global "__ct__13CScriptPickupF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxiiiiffffb" +"__ct__13CScriptPickupF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxiiiiffffb": +/* 800C30F4 000C0054 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 800C30F8 000C0058 7C 08 02 A6 */ mflr r0 +/* 800C30FC 000C005C 90 01 01 24 */ stw r0, 0x124(r1) +/* 800C3100 000C0060 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 800C3104 000C0064 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 800C3108 000C0068 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 800C310C 000C006C F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 800C3110 000C0070 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 800C3114 000C0074 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 800C3118 000C0078 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 800C311C 000C007C F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 800C3120 000C0080 BE 41 00 A8 */ stmw r18, 0xa8(r1) +/* 800C3124 000C0084 FF 80 08 90 */ fmr f28, f1 +/* 800C3128 000C0088 83 41 01 28 */ lwz r26, 0x128(r1) +/* 800C312C 000C008C FF A0 10 90 */ fmr f29, f2 +/* 800C3130 000C0090 83 61 01 2C */ lwz r27, 0x12c(r1) +/* 800C3134 000C0094 FF C0 18 90 */ fmr f30, f3 +/* 800C3138 000C0098 83 81 01 30 */ lwz r28, 0x130(r1) +/* 800C313C 000C009C FF E0 20 90 */ fmr f31, f4 +/* 800C3140 000C00A0 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 800C3144 000C00A4 8B C1 01 3B */ lbz r30, 0x13b(r1) +/* 800C3148 000C00A8 7C 73 1B 78 */ mr r19, r3 +/* 800C314C 000C00AC 7C 92 23 78 */ mr r18, r4 +/* 800C3150 000C00B0 7C B4 2B 78 */ mr r20, r5 +/* 800C3154 000C00B4 7C D5 33 78 */ mr r21, r6 +/* 800C3158 000C00B8 7C F6 3B 78 */ mr r22, r7 +/* 800C315C 000C00BC 7D 17 43 78 */ mr r23, r8 +/* 800C3160 000C00C0 7D 38 4B 78 */ mr r24, r9 +/* 800C3164 000C00C4 7D 59 53 78 */ mr r25, r10 +/* 800C3168 000C00C8 4B F5 83 CD */ bl Identity__10CAxisAngleFv +/* 800C316C 000C00CC 7C 7F 1B 78 */ mr r31, r3 +/* 800C3170 000C00D0 4B F5 83 C5 */ bl Identity__10CAxisAngleFv +/* 800C3174 000C00D4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800C3178 000C00D8 C4 84 66 A0 */ lfsu f4, skZero3f@l(r4) +/* 800C317C 000C00DC C0 02 8D D0 */ lfs f0, lbl_805AAAF0@sda21(r2) +/* 800C3180 000C00E0 39 80 00 00 */ li r12, 0 +/* 800C3184 000C00E4 C0 A4 00 04 */ lfs f5, 4(r4) +/* 800C3188 000C00E8 38 01 00 74 */ addi r0, r1, 0x74 +/* 800C318C 000C00EC C0 C4 00 08 */ lfs f6, 8(r4) +/* 800C3190 000C00F0 7F C5 F3 78 */ mr r5, r30 +/* 800C3194 000C00F4 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 800C3198 000C00F8 7E 86 A3 78 */ mr r6, r20 +/* 800C319C 000C00FC A1 72 00 00 */ lhz r11, 0(r18) +/* 800C31A0 000C0100 7E A7 AB 78 */ mr r7, r21 +/* 800C31A4 000C0104 D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 800C31A8 000C0108 7E C8 B3 78 */ mr r8, r22 +/* 800C31AC 000C010C C0 22 8D F8 */ lfs f1, lbl_805AAB18@sda21(r2) +/* 800C31B0 000C0110 7E E9 BB 78 */ mr r9, r23 +/* 800C31B4 000C0114 D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 800C31B8 000C0118 38 81 00 18 */ addi r4, r1, 0x18 +/* 800C31BC 000C011C C0 42 8D FC */ lfs f2, lbl_805AAB1C@sda21(r2) +/* 800C31C0 000C0120 39 41 00 38 */ addi r10, r1, 0x38 +/* 800C31C4 000C0124 C0 63 00 00 */ lfs f3, 0(r3) +/* 800C31C8 000C0128 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 800C31CC 000C012C C0 63 00 04 */ lfs f3, 4(r3) +/* 800C31D0 000C0130 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 800C31D4 000C0134 C0 63 00 08 */ lfs f3, 8(r3) +/* 800C31D8 000C0138 7E 63 9B 78 */ mr r3, r19 +/* 800C31DC 000C013C D0 61 00 88 */ stfs f3, 0x88(r1) +/* 800C31E0 000C0140 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 800C31E4 000C0144 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 800C31E8 000C0148 D0 C1 00 94 */ stfs f6, 0x94(r1) +/* 800C31EC 000C014C C0 7F 00 00 */ lfs f3, 0(r31) +/* 800C31F0 000C0150 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 800C31F4 000C0154 C0 7F 00 04 */ lfs f3, 4(r31) +/* 800C31F8 000C0158 D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 800C31FC 000C015C C0 7F 00 08 */ lfs f3, 8(r31) +/* 800C3200 000C0160 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 800C3204 000C0164 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 800C3208 000C0168 91 81 00 3C */ stw r12, 0x3c(r1) +/* 800C320C 000C016C 91 81 00 38 */ stw r12, 0x38(r1) +/* 800C3210 000C0170 B1 61 00 18 */ sth r11, 0x18(r1) +/* 800C3214 000C0174 93 21 00 08 */ stw r25, 8(r1) +/* 800C3218 000C0178 90 01 00 0C */ stw r0, 0xc(r1) +/* 800C321C 000C017C 93 01 00 10 */ stw r24, 0x10(r1) +/* 800C3220 000C0180 48 05 92 91 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 800C3224 000C0184 3C 60 80 3E */ lis r3, lbl_803DF4F8@ha +/* 800C3228 000C0188 3C 1D 00 01 */ addis r0, r29, 1 +/* 800C322C 000C018C 38 63 F4 F8 */ addi r3, r3, lbl_803DF4F8@l +/* 800C3230 000C0190 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) +/* 800C3234 000C0194 90 73 00 00 */ stw r3, 0(r19) +/* 800C3238 000C0198 38 60 00 00 */ li r3, 0 +/* 800C323C 000C019C 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C3240 000C01A0 93 53 02 58 */ stw r26, 0x258(r19) +/* 800C3244 000C01A4 93 73 02 5C */ stw r27, 0x25c(r19) +/* 800C3248 000C01A8 93 93 02 60 */ stw r28, 0x260(r19) +/* 800C324C 000C01AC D3 93 02 64 */ stfs f28, 0x264(r19) +/* 800C3250 000C01B0 D3 D3 02 68 */ stfs f30, 0x268(r19) +/* 800C3254 000C01B4 D3 B3 02 6C */ stfs f29, 0x26c(r19) +/* 800C3258 000C01B8 D0 13 02 70 */ stfs f0, 0x270(r19) +/* 800C325C 000C01BC D3 F3 02 78 */ stfs f31, 0x278(r19) +/* 800C3260 000C01C0 98 73 02 88 */ stb r3, 0x288(r19) +/* 800C3264 000C01C4 88 13 02 8C */ lbz r0, 0x28c(r19) +/* 800C3268 000C01C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800C326C 000C01CC 98 13 02 8C */ stb r0, 0x28c(r19) +/* 800C3270 000C01D0 88 13 02 8C */ lbz r0, 0x28c(r19) +/* 800C3274 000C01D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800C3278 000C01D8 98 13 02 8C */ stb r0, 0x28c(r19) +/* 800C327C 000C01DC 88 13 02 8C */ lbz r0, 0x28c(r19) +/* 800C3280 000C01E0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800C3284 000C01E4 98 13 02 8C */ stb r0, 0x28c(r19) +/* 800C3288 000C01E8 41 82 00 B0 */ beq lbl_800C3338 +/* 800C328C 000C01EC 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 800C3290 000C01F0 93 A1 00 30 */ stw r29, 0x30(r1) +/* 800C3294 000C01F4 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 800C3298 000C01F8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C329C 000C01FC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800C32A0 000C0200 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C32A4 000C0204 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800C32A8 000C0208 81 84 00 00 */ lwz r12, 0(r4) +/* 800C32AC 000C020C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800C32B0 000C0210 7D 89 03 A6 */ mtctr r12 +/* 800C32B4 000C0214 4E 80 04 21 */ bctrl +/* 800C32B8 000C0218 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C32BC 000C021C 38 81 00 24 */ addi r4, r1, 0x24 +/* 800C32C0 000C0220 48 27 DB E9 */ bl __ct__6CTokenFRC6CToken +/* 800C32C4 000C0224 38 00 00 00 */ li r0, 0 +/* 800C32C8 000C0228 90 01 00 48 */ stw r0, 0x48(r1) +/* 800C32CC 000C022C 88 13 02 88 */ lbz r0, 0x288(r19) +/* 800C32D0 000C0230 28 00 00 00 */ cmplwi r0, 0 +/* 800C32D4 000C0234 40 82 00 2C */ bne lbl_800C3300 +/* 800C32D8 000C0238 36 93 02 7C */ addic. r20, r19, 0x27c +/* 800C32DC 000C023C 41 82 00 18 */ beq lbl_800C32F4 +/* 800C32E0 000C0240 7E 83 A3 78 */ mr r3, r20 +/* 800C32E4 000C0244 38 81 00 40 */ addi r4, r1, 0x40 +/* 800C32E8 000C0248 48 27 DB C1 */ bl __ct__6CTokenFRC6CToken +/* 800C32EC 000C024C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 800C32F0 000C0250 90 14 00 08 */ stw r0, 8(r20) +lbl_800C32F4: +/* 800C32F4 000C0254 38 00 00 01 */ li r0, 1 +/* 800C32F8 000C0258 98 13 02 88 */ stb r0, 0x288(r19) +/* 800C32FC 000C025C 48 00 00 1C */ b lbl_800C3318 +lbl_800C3300: +/* 800C3300 000C0260 3A 93 02 7C */ addi r20, r19, 0x27c +/* 800C3304 000C0264 38 81 00 40 */ addi r4, r1, 0x40 +/* 800C3308 000C0268 7E 83 A3 78 */ mr r3, r20 +/* 800C330C 000C026C 48 27 D9 B9 */ bl __as__6CTokenFRC6CToken +/* 800C3310 000C0270 80 01 00 48 */ lwz r0, 0x48(r1) +/* 800C3314 000C0274 90 14 00 08 */ stw r0, 8(r20) +lbl_800C3318: +/* 800C3318 000C0278 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C331C 000C027C 38 80 00 00 */ li r4, 0 +/* 800C3320 000C0280 48 27 DB 21 */ bl __dt__6CTokenFv +/* 800C3324 000C0284 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C3328 000C0288 38 80 FF FF */ li r4, -1 +/* 800C332C 000C028C 48 27 DB 15 */ bl __dt__6CTokenFv +/* 800C3330 000C0290 38 73 02 7C */ addi r3, r19, 0x27c +/* 800C3334 000C0294 48 27 DA 51 */ bl Lock__6CTokenFv +lbl_800C3338: +/* 800C3338 000C0298 80 93 00 64 */ lwz r4, 0x64(r19) +/* 800C333C 000C029C 38 60 00 00 */ li r3, 0 +/* 800C3340 000C02A0 28 04 00 00 */ cmplwi r4, 0 +/* 800C3344 000C02A4 41 82 00 14 */ beq lbl_800C3358 +/* 800C3348 000C02A8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800C334C 000C02AC 28 00 00 00 */ cmplwi r0, 0 +/* 800C3350 000C02B0 41 82 00 08 */ beq lbl_800C3358 +/* 800C3354 000C02B4 38 60 00 01 */ li r3, 1 +lbl_800C3358: +/* 800C3358 000C02B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C335C 000C02BC 41 82 00 50 */ beq lbl_800C33AC +/* 800C3360 000C02C0 C0 02 8D D0 */ lfs f0, lbl_805AAAF0@sda21(r2) +/* 800C3364 000C02C4 38 C0 00 00 */ li r6, 0 +/* 800C3368 000C02C8 38 60 FF FF */ li r3, -1 +/* 800C336C 000C02CC 38 00 00 01 */ li r0, 1 +/* 800C3370 000C02D0 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800C3374 000C02D4 38 81 00 4C */ addi r4, r1, 0x4c +/* 800C3378 000C02D8 38 A0 00 00 */ li r5, 0 +/* 800C337C 000C02DC 90 61 00 50 */ stw r3, 0x50(r1) +/* 800C3380 000C02E0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800C3384 000C02E4 98 01 00 58 */ stb r0, 0x58(r1) +/* 800C3388 000C02E8 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 800C338C 000C02EC 90 C1 00 60 */ stw r6, 0x60(r1) +/* 800C3390 000C02F0 98 C1 00 64 */ stb r6, 0x64(r1) +/* 800C3394 000C02F4 90 C1 00 68 */ stw r6, 0x68(r1) +/* 800C3398 000C02F8 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 800C339C 000C02FC 90 C1 00 70 */ stw r6, 0x70(r1) +/* 800C33A0 000C0300 80 73 00 64 */ lwz r3, 0x64(r19) +/* 800C33A4 000C0304 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800C33A8 000C0308 4B F6 99 D5 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +lbl_800C33AC: +/* 800C33AC 000C030C C0 13 02 68 */ lfs f0, 0x268(r19) +/* 800C33B0 000C0310 C0 82 8D C8 */ lfs f4, lbl_805AAAE8@sda21(r2) +/* 800C33B4 000C0314 FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 800C33B8 000C0318 41 82 00 58 */ beq lbl_800C3410 +/* 800C33BC 000C031C C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2) +/* 800C33C0 000C0320 38 A0 00 05 */ li r5, 5 +/* 800C33C4 000C0324 38 80 00 00 */ li r4, 0 +/* 800C33C8 000C0328 38 00 00 03 */ li r0, 3 +/* 800C33CC 000C032C FC 40 08 90 */ fmr f2, f1 +/* 800C33D0 000C0330 98 A1 00 1C */ stb r5, 0x1c(r1) +/* 800C33D4 000C0334 FC 60 08 90 */ fmr f3, f1 +/* 800C33D8 000C0338 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C33DC 000C033C 98 81 00 1D */ stb r4, 0x1d(r1) +/* 800C33E0 000C0340 B0 01 00 1E */ sth r0, 0x1e(r1) +/* 800C33E4 000C0344 48 2A 00 09 */ bl __ct__6CColorFffff +/* 800C33E8 000C0348 A0 01 00 1E */ lhz r0, 0x1e(r1) +/* 800C33EC 000C034C 88 81 00 1D */ lbz r4, 0x1d(r1) +/* 800C33F0 000C0350 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 800C33F4 000C0354 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 800C33F8 000C0358 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 800C33FC 000C035C 60 63 00 01 */ ori r3, r3, 1 +/* 800C3400 000C0360 98 13 00 B4 */ stb r0, 0xb4(r19) +/* 800C3404 000C0364 98 93 00 B5 */ stb r4, 0xb5(r19) +/* 800C3408 000C0368 B0 73 00 B6 */ sth r3, 0xb6(r19) +/* 800C340C 000C036C 90 B3 00 B8 */ stw r5, 0xb8(r19) +lbl_800C3410: +/* 800C3410 000C0370 7E 63 9B 78 */ mr r3, r19 +/* 800C3414 000C0374 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 800C3418 000C0378 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 800C341C 000C037C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 800C3420 000C0380 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 800C3424 000C0384 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 800C3428 000C0388 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 800C342C 000C038C E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 800C3430 000C0390 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 800C3434 000C0394 BA 41 00 A8 */ lmw r18, 0xa8(r1) +/* 800C3438 000C0398 80 01 01 24 */ lwz r0, 0x124(r1) +/* 800C343C 000C039C 7C 08 03 A6 */ mtlr r0 +/* 800C3440 000C03A0 38 21 01 20 */ addi r1, r1, 0x120 +/* 800C3444 000C03A4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CSplashScreen.s b/asm/Kyoto_CWD/CSplashScreen.s new file mode 100644 index 00000000..142dd34a --- /dev/null +++ b/asm/Kyoto_CWD/CSplashScreen.s @@ -0,0 +1,1281 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __dt__13CSplashScreenFv +__dt__13CSplashScreenFv: +/* 80028204 00025164 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80028208 00025168 7C 08 02 A6 */ mflr r0 +/* 8002820C 0002516C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80028210 00025170 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80028214 00025174 7C 9F 23 78 */ mr r31, r4 +/* 80028218 00025178 93 C1 00 08 */ stw r30, 8(r1) +/* 8002821C 0002517C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80028220 00025180 41 82 00 40 */ beq lbl_80028260 +/* 80028224 00025184 3C 60 80 3E */ lis r3, lbl_803D9A50@ha +/* 80028228 00025188 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 8002822C 0002518C 38 03 9A 50 */ addi r0, r3, lbl_803D9A50@l +/* 80028230 00025190 90 1E 00 00 */ stw r0, 0(r30) +/* 80028234 00025194 41 82 00 10 */ beq lbl_80028244 +/* 80028238 00025198 38 7E 00 28 */ addi r3, r30, 0x28 +/* 8002823C 0002519C 38 80 00 00 */ li r4, 0 +/* 80028240 000251A0 48 31 8C 01 */ bl __dt__6CTokenFv +lbl_80028244: +/* 80028244 000251A4 7F C3 F3 78 */ mr r3, r30 +/* 80028248 000251A8 38 80 00 00 */ li r4, 0 +/* 8002824C 000251AC 48 02 A9 59 */ bl __dt__6CIOWinFv +/* 80028250 000251B0 7F E0 07 35 */ extsh. r0, r31 +/* 80028254 000251B4 40 81 00 0C */ ble lbl_80028260 +/* 80028258 000251B8 7F C3 F3 78 */ mr r3, r30 +/* 8002825C 000251BC 48 2E D6 D5 */ bl Free__7CMemoryFPCv +lbl_80028260: +/* 80028260 000251C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80028264 000251C4 7F C3 F3 78 */ mr r3, r30 +/* 80028268 000251C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8002826C 000251CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80028270 000251D0 7C 08 03 A6 */ mtlr r0 +/* 80028274 000251D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80028278 000251D8 4E 80 00 20 */ blr + +.global Draw__13CSplashScreenCFv +Draw__13CSplashScreenCFv: +/* 8002827C 000251DC 94 21 FA F0 */ stwu r1, -0x510(r1) +/* 80028280 000251E0 7C 08 02 A6 */ mflr r0 +/* 80028284 000251E4 90 01 05 14 */ stw r0, 0x514(r1) +/* 80028288 000251E8 DB E1 05 00 */ stfd f31, 0x500(r1) +/* 8002828C 000251EC F3 E1 05 08 */ psq_st f31, 1288(r1), 0, qr0 +/* 80028290 000251F0 DB C1 04 F0 */ stfd f30, 0x4f0(r1) +/* 80028294 000251F4 F3 C1 04 F8 */ psq_st f30, 1272(r1), 0, qr0 +/* 80028298 000251F8 DB A1 04 E0 */ stfd f29, 0x4e0(r1) +/* 8002829C 000251FC F3 A1 04 E8 */ psq_st f29, 1256(r1), 0, qr0 +/* 800282A0 00025200 BF 61 04 CC */ stmw r27, 0x4cc(r1) +/* 800282A4 00025204 7C 7E 1B 78 */ mr r30, r3 +/* 800282A8 00025208 88 03 00 25 */ lbz r0, 0x25(r3) +/* 800282AC 0002520C 28 00 00 00 */ cmplwi r0, 0 +/* 800282B0 00025210 41 82 06 80 */ beq lbl_80028930 +/* 800282B4 00025214 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 800282B8 00025218 2C 00 00 00 */ cmpwi r0, 0 +/* 800282BC 0002521C 40 82 00 28 */ bne lbl_800282E4 +/* 800282C0 00025220 38 80 00 00 */ li r4, 0 +/* 800282C4 00025224 38 60 00 DC */ li r3, 0xdc +/* 800282C8 00025228 38 00 00 FF */ li r0, 0xff +/* 800282CC 0002522C 98 61 00 14 */ stb r3, 0x14(r1) +/* 800282D0 00025230 38 61 00 14 */ addi r3, r1, 0x14 +/* 800282D4 00025234 98 81 00 15 */ stb r4, 0x15(r1) +/* 800282D8 00025238 98 81 00 16 */ stb r4, 0x16(r1) +/* 800282DC 0002523C 98 01 00 17 */ stb r0, 0x17(r1) +/* 800282E0 00025240 48 00 00 08 */ b lbl_800282E8 +lbl_800282E4: +/* 800282E4 00025244 48 32 1C C9 */ bl White__6CColorFv +lbl_800282E8: +/* 800282E8 00025248 C0 3E 00 18 */ lfs f1, 0x18(r30) +/* 800282EC 0002524C C0 02 83 84 */ lfs f0, lbl_805AA0A4@sda21(r2) +/* 800282F0 00025250 83 63 00 00 */ lwz r27, 0(r3) +/* 800282F4 00025254 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800282F8 00025258 40 81 00 1C */ ble lbl_80028314 +/* 800282FC 0002525C EC 21 00 28 */ fsubs f1, f1, f0 +/* 80028300 00025260 C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) +/* 80028304 00025264 C0 42 83 80 */ lfs f2, lbl_805AA0A0@sda21(r2) +/* 80028308 00025268 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8002830C 0002526C EF E2 00 28 */ fsubs f31, f2, f0 +/* 80028310 00025270 48 00 00 1C */ b lbl_8002832C +lbl_80028314: +/* 80028314 00025274 C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) +/* 80028318 00025278 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8002831C 0002527C 40 81 00 0C */ ble lbl_80028328 +/* 80028320 00025280 C3 E2 83 80 */ lfs f31, lbl_805AA0A0@sda21(r2) +/* 80028324 00025284 48 00 00 08 */ b lbl_8002832C +lbl_80028328: +/* 80028328 00025288 EF E1 00 24 */ fdivs f31, f1, f0 +lbl_8002832C: +/* 8002832C 0002528C 38 60 00 07 */ li r3, 7 +/* 80028330 00025290 38 80 00 00 */ li r4, 0 +/* 80028334 00025294 38 A0 00 00 */ li r5, 0 +/* 80028338 00025298 38 C0 00 07 */ li r6, 7 +/* 8002833C 0002529C 38 E0 00 00 */ li r7, 0 +/* 80028340 000252A0 48 2E 36 E9 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80028344 000252A4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80028348 000252A8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8002834C 000252AC 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80028350 000252B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80028354 000252B4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80028358 000252B8 7D 89 03 A6 */ mtctr r12 +/* 8002835C 000252BC 4E 80 04 21 */ bctrl +/* 80028360 000252C0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80028364 000252C4 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80028368 000252C8 48 2E 43 E5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8002836C 000252CC 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80028370 000252D0 38 60 00 00 */ li r3, 0 +/* 80028374 000252D4 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80028378 000252D8 48 2E 1F 41 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8002837C 000252DC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80028380 000252E0 38 60 00 01 */ li r3, 1 +/* 80028384 000252E4 48 2E 1F 35 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80028388 000252E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8002838C 000252EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80028390 000252F0 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80028394 000252F4 7D 89 03 A6 */ mtctr r12 +/* 80028398 000252F8 4E 80 04 21 */ bctrl +/* 8002839C 000252FC 3B 81 00 C8 */ addi r28, r1, 0xc8 +/* 800283A0 00025300 38 9E 00 28 */ addi r4, r30, 0x28 +/* 800283A4 00025304 7F 83 E3 78 */ mr r3, r28 +/* 800283A8 00025308 48 31 8B 01 */ bl __ct__6CTokenFRC6CToken +/* 800283AC 0002530C 7F 83 E3 78 */ mr r3, r28 +/* 800283B0 00025310 48 31 8A 5D */ bl GetObj__6CTokenFv +/* 800283B4 00025314 83 A3 00 04 */ lwz r29, 4(r3) +/* 800283B8 00025318 38 80 00 00 */ li r4, 0 +/* 800283BC 0002531C 38 A0 00 00 */ li r5, 0 +/* 800283C0 00025320 93 A1 00 D0 */ stw r29, 0xd0(r1) +/* 800283C4 00025324 7F A3 EB 78 */ mr r3, r29 +/* 800283C8 00025328 AB FD 00 04 */ lha r31, 4(r29) +/* 800283CC 0002532C AB 9D 00 06 */ lha r28, 6(r29) +/* 800283D0 00025330 48 2E 73 6D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 800283D4 00025334 C0 02 83 8C */ lfs f0, lbl_805AA0AC@sda21(r2) +/* 800283D8 00025338 EF A0 07 F2 */ fmuls f29, f0, f31 +/* 800283DC 0002533C FF C0 E8 90 */ fmr f30, f29 +/* 800283E0 00025340 F3 C1 A0 10 */ psq_st f30, 16(r1), 1, qr2 +/* 800283E4 00025344 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 800283E8 00025348 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800283EC 0002534C 53 60 00 2E */ rlwimi r0, r27, 0, 0, 0x17 +/* 800283F0 00025350 2C 03 00 00 */ cmpwi r3, 0 +/* 800283F4 00025354 90 01 00 20 */ stw r0, 0x20(r1) +/* 800283F8 00025358 41 82 00 0C */ beq lbl_80028404 +/* 800283FC 0002535C 2C 03 00 01 */ cmpwi r3, 1 +/* 80028400 00025360 40 82 01 C8 */ bne lbl_800285C8 +lbl_80028404: +/* 80028404 00025364 C0 22 83 90 */ lfs f1, lbl_805AA0B0@sda21(r2) +/* 80028408 00025368 C0 42 83 94 */ lfs f2, lbl_805AA0B4@sda21(r2) +/* 8002840C 0002536C C0 62 83 98 */ lfs f3, lbl_805AA0B8@sda21(r2) +/* 80028410 00025370 C0 82 83 9C */ lfs f4, lbl_805AA0BC@sda21(r2) +/* 80028414 00025374 C0 A2 83 A0 */ lfs f5, lbl_805AA0C0@sda21(r2) +/* 80028418 00025378 C0 C2 83 80 */ lfs f6, lbl_805AA0A0@sda21(r2) +/* 8002841C 0002537C 48 2E 41 39 */ bl SetOrtho__9CGraphicsFffffff +/* 80028420 00025380 38 BF FE 88 */ addi r5, r31, -376 +/* 80028424 00025384 38 9C FF 98 */ addi r4, r28, -104 +/* 80028428 00025388 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 8002842C 0002538C 38 60 00 00 */ li r3, 0 +/* 80028430 00025390 7C A0 2A 14 */ add r5, r0, r5 +/* 80028434 00025394 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80028438 00025398 7C A5 0E 70 */ srawi r5, r5, 1 +/* 8002843C 0002539C 23 65 00 85 */ subfic r27, r5, 0x85 +/* 80028440 000253A0 7C 00 22 14 */ add r0, r0, r4 +/* 80028444 000253A4 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80028448 000253A8 23 A0 00 AA */ subfic r29, r0, 0xaa +/* 8002844C 000253AC 48 2E 36 25 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80028450 000253B0 38 60 00 98 */ li r3, 0x98 +/* 80028454 000253B4 48 2E 32 15 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 80028458 000253B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8002845C 000253BC 48 2E 30 ED */ bl StreamColor__9CGraphicsFRC6CColor +/* 80028460 000253C0 C0 22 83 A4 */ lfs f1, lbl_805AA0C4@sda21(r2) +/* 80028464 000253C4 FC 40 08 90 */ fmr f2, f1 +/* 80028468 000253C8 48 2E 2F FD */ bl StreamTexcoord__9CGraphicsFff +/* 8002846C 000253CC 3C 80 43 30 */ lis r4, 0x4330 +/* 80028470 000253D0 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 80028474 000253D4 6F 80 80 00 */ xoris r0, r28, 0x8000 +/* 80028478 000253D8 90 61 04 8C */ stw r3, 0x48c(r1) +/* 8002847C 000253DC 6F 65 80 00 */ xoris r5, r27, 0x8000 +/* 80028480 000253E0 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) +/* 80028484 000253E4 90 81 04 88 */ stw r4, 0x488(r1) +/* 80028488 000253E8 38 61 00 BC */ addi r3, r1, 0xbc +/* 8002848C 000253EC C8 82 83 B8 */ lfd f4, lbl_805AA0D8@sda21(r2) +/* 80028490 000253F0 C8 01 04 88 */ lfd f0, 0x488(r1) +/* 80028494 000253F4 90 01 04 94 */ stw r0, 0x494(r1) +/* 80028498 000253F8 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8002849C 000253FC 90 81 04 90 */ stw r4, 0x490(r1) +/* 800284A0 00025400 C8 01 04 90 */ lfd f0, 0x490(r1) +/* 800284A4 00025404 90 A1 04 84 */ stw r5, 0x484(r1) +/* 800284A8 00025408 EC 00 20 28 */ fsubs f0, f0, f4 +/* 800284AC 0002540C 90 81 04 80 */ stw r4, 0x480(r1) +/* 800284B0 00025410 C8 61 04 80 */ lfd f3, 0x480(r1) +/* 800284B4 00025414 EF C1 00 2A */ fadds f30, f1, f0 +/* 800284B8 00025418 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 800284BC 0002541C EC 03 20 28 */ fsubs f0, f3, f4 +/* 800284C0 00025420 D3 C1 00 C4 */ stfs f30, 0xc4(r1) +/* 800284C4 00025424 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 800284C8 00025428 48 2E 30 F9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800284CC 0002542C C0 22 83 A4 */ lfs f1, lbl_805AA0C4@sda21(r2) +/* 800284D0 00025430 C0 42 83 80 */ lfs f2, lbl_805AA0A0@sda21(r2) +/* 800284D4 00025434 48 2E 2F 91 */ bl StreamTexcoord__9CGraphicsFff +/* 800284D8 00025438 3C 80 43 30 */ lis r4, 0x4330 +/* 800284DC 0002543C 6F 63 80 00 */ xoris r3, r27, 0x8000 +/* 800284E0 00025440 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 800284E4 00025444 90 61 04 9C */ stw r3, 0x49c(r1) +/* 800284E8 00025448 C0 22 83 A4 */ lfs f1, lbl_805AA0C4@sda21(r2) +/* 800284EC 0002544C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800284F0 00025450 90 81 04 98 */ stw r4, 0x498(r1) +/* 800284F4 00025454 C8 62 83 B8 */ lfd f3, lbl_805AA0D8@sda21(r2) +/* 800284F8 00025458 C8 01 04 98 */ lfd f0, 0x498(r1) +/* 800284FC 0002545C 90 01 04 A4 */ stw r0, 0x4a4(r1) +/* 80028500 00025460 EC 40 18 28 */ fsubs f2, f0, f3 +/* 80028504 00025464 90 81 04 A0 */ stw r4, 0x4a0(r1) +/* 80028508 00025468 C8 01 04 A0 */ lfd f0, 0x4a0(r1) +/* 8002850C 0002546C D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80028510 00025470 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80028514 00025474 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 80028518 00025478 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8002851C 0002547C 48 2E 30 A5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80028520 00025480 C0 22 83 80 */ lfs f1, lbl_805AA0A0@sda21(r2) +/* 80028524 00025484 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) +/* 80028528 00025488 48 2E 2F 3D */ bl StreamTexcoord__9CGraphicsFff +/* 8002852C 0002548C 3C 80 43 30 */ lis r4, 0x4330 +/* 80028530 00025490 6F 63 80 00 */ xoris r3, r27, 0x8000 +/* 80028534 00025494 6F E0 80 00 */ xoris r0, r31, 0x8000 +/* 80028538 00025498 90 61 04 AC */ stw r3, 0x4ac(r1) +/* 8002853C 0002549C C0 02 83 A4 */ lfs f0, lbl_805AA0C4@sda21(r2) +/* 80028540 000254A0 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80028544 000254A4 90 81 04 A8 */ stw r4, 0x4a8(r1) +/* 80028548 000254A8 C8 62 83 B8 */ lfd f3, lbl_805AA0D8@sda21(r2) +/* 8002854C 000254AC C8 21 04 A8 */ lfd f1, 0x4a8(r1) +/* 80028550 000254B0 90 01 04 B4 */ stw r0, 0x4b4(r1) +/* 80028554 000254B4 EC 41 18 28 */ fsubs f2, f1, f3 +/* 80028558 000254B8 90 81 04 B0 */ stw r4, 0x4b0(r1) +/* 8002855C 000254BC C8 21 04 B0 */ lfd f1, 0x4b0(r1) +/* 80028560 000254C0 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80028564 000254C4 EC 01 18 28 */ fsubs f0, f1, f3 +/* 80028568 000254C8 D3 C1 00 AC */ stfs f30, 0xac(r1) +/* 8002856C 000254CC EF C2 00 2A */ fadds f30, f2, f0 +/* 80028570 000254D0 D3 C1 00 A4 */ stfs f30, 0xa4(r1) +/* 80028574 000254D4 48 2E 30 4D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80028578 000254D8 C0 22 83 80 */ lfs f1, lbl_805AA0A0@sda21(r2) +/* 8002857C 000254DC FC 40 08 90 */ fmr f2, f1 +/* 80028580 000254E0 48 2E 2E E5 */ bl StreamTexcoord__9CGraphicsFff +/* 80028584 000254E4 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 80028588 000254E8 3C 00 43 30 */ lis r0, 0x4330 +/* 8002858C 000254EC 90 61 04 BC */ stw r3, 0x4bc(r1) +/* 80028590 000254F0 38 61 00 98 */ addi r3, r1, 0x98 +/* 80028594 000254F4 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) +/* 80028598 000254F8 90 01 04 B8 */ stw r0, 0x4b8(r1) +/* 8002859C 000254FC C8 22 83 B8 */ lfd f1, lbl_805AA0D8@sda21(r2) +/* 800285A0 00025500 C8 01 04 B8 */ lfd f0, 0x4b8(r1) +/* 800285A4 00025504 D3 C1 00 98 */ stfs f30, 0x98(r1) +/* 800285A8 00025508 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800285AC 0002550C D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 800285B0 00025510 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 800285B4 00025514 48 2E 30 0D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800285B8 00025518 48 2E 2E 59 */ bl StreamEnd__9CGraphicsFv +/* 800285BC 0002551C 38 60 00 01 */ li r3, 1 +/* 800285C0 00025520 48 2E 34 B1 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 800285C4 00025524 48 00 00 28 */ b lbl_800285EC +lbl_800285C8: +/* 800285C8 00025528 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 800285CC 0002552C 7F A3 EB 78 */ mr r3, r29 +/* 800285D0 00025530 38 E4 D9 10 */ addi r7, r4, lbl_803ED910@l +/* 800285D4 00025534 39 01 00 20 */ addi r8, r1, 0x20 +/* 800285D8 00025538 80 87 00 00 */ lwz r4, 0(r7) +/* 800285DC 0002553C 80 A7 00 04 */ lwz r5, 4(r7) +/* 800285E0 00025540 80 C7 00 08 */ lwz r6, 8(r7) +/* 800285E4 00025544 80 E7 00 0C */ lwz r7, 0xc(r7) +/* 800285E8 00025548 48 2E 31 75 */ bl Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor +lbl_800285EC: +/* 800285EC 0002554C 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 800285F0 00025550 38 61 01 4C */ addi r3, r1, 0x14c +/* 800285F4 00025554 39 24 D9 10 */ addi r9, r4, lbl_803ED910@l +/* 800285F8 00025558 81 09 00 00 */ lwz r8, 0(r9) +/* 800285FC 0002555C 80 E9 00 04 */ lwz r7, 4(r9) +/* 80028600 00025560 80 C9 00 08 */ lwz r6, 8(r9) +/* 80028604 00025564 80 A9 00 0C */ lwz r5, 0xc(r9) +/* 80028608 00025568 80 89 00 10 */ lwz r4, 0x10(r9) +/* 8002860C 0002556C 80 09 00 14 */ lwz r0, 0x14(r9) +/* 80028610 00025570 91 01 00 D4 */ stw r8, 0xd4(r1) +/* 80028614 00025574 90 E1 00 D8 */ stw r7, 0xd8(r1) +/* 80028618 00025578 90 C1 00 DC */ stw r6, 0xdc(r1) +/* 8002861C 0002557C 90 A1 00 E0 */ stw r5, 0xe0(r1) +/* 80028620 00025580 90 81 00 E4 */ stw r4, 0xe4(r1) +/* 80028624 00025584 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 80028628 00025588 48 2D B7 51 */ bl __ct__18CTextExecuteBufferFv +/* 8002862C 0002558C 38 00 00 01 */ li r0, 1 +/* 80028630 00025590 83 E1 00 E0 */ lwz r31, 0xe0(r1) +/* 80028634 00025594 98 01 01 E0 */ stb r0, 0x1e0(r1) +/* 80028638 00025598 38 00 00 02 */ li r0, 2 +/* 8002863C 0002559C 80 C1 00 DC */ lwz r6, 0xdc(r1) +/* 80028640 000255A0 38 61 01 4C */ addi r3, r1, 0x14c +/* 80028644 000255A4 90 01 00 08 */ stw r0, 8(r1) +/* 80028648 000255A8 38 FF FF 80 */ addi r7, r31, -128 +/* 8002864C 000255AC 38 80 00 00 */ li r4, 0 +/* 80028650 000255B0 38 A0 00 00 */ li r5, 0 +/* 80028654 000255B4 39 00 00 00 */ li r8, 0 +/* 80028658 000255B8 39 20 00 00 */ li r9, 0 +/* 8002865C 000255BC 39 40 00 01 */ li r10, 1 +/* 80028660 000255C0 48 2D B5 0D */ bl BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification +/* 80028664 000255C4 80 8D A0 8C */ lwz r4, gpDefaultFont@sda21(r13) +/* 80028668 000255C8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8002866C 000255CC 48 31 88 3D */ bl __ct__6CTokenFRC6CToken +/* 80028670 000255D0 38 61 01 4C */ addi r3, r1, 0x14c +/* 80028674 000255D4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80028678 000255D8 48 2D B2 DD */ bl "AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>" +/* 8002867C 000255DC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80028680 000255E0 38 80 00 00 */ li r4, 0 +/* 80028684 000255E4 48 31 87 BD */ bl __dt__6CTokenFv +/* 80028688 000255E8 C0 02 83 A8 */ lfs f0, lbl_805AA0C8@sda21(r2) +/* 8002868C 000255EC 38 00 00 FF */ li r0, 0xff +/* 80028690 000255F0 FC 20 E8 1E */ fctiwz f1, f29 +/* 80028694 000255F4 98 01 00 1F */ stb r0, 0x1f(r1) +/* 80028698 000255F8 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 8002869C 000255FC 38 61 01 4C */ addi r3, r1, 0x14c +/* 800286A0 00025600 98 01 00 1B */ stb r0, 0x1b(r1) +/* 800286A4 00025604 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800286A8 00025608 FC 00 00 1E */ fctiwz f0, f0 +/* 800286AC 0002560C D8 21 04 B8 */ stfd f1, 0x4b8(r1) +/* 800286B0 00025610 38 80 00 03 */ li r4, 3 +/* 800286B4 00025614 80 01 04 BC */ lwz r0, 0x4bc(r1) +/* 800286B8 00025618 D8 01 04 B0 */ stfd f0, 0x4b0(r1) +/* 800286BC 0002561C 80 C1 04 B4 */ lwz r6, 0x4b4(r1) +/* 800286C0 00025620 98 01 00 1C */ stb r0, 0x1c(r1) +/* 800286C4 00025624 98 01 00 1D */ stb r0, 0x1d(r1) +/* 800286C8 00025628 98 01 00 1E */ stb r0, 0x1e(r1) +/* 800286CC 0002562C 98 C1 00 18 */ stb r6, 0x18(r1) +/* 800286D0 00025630 98 C1 00 19 */ stb r6, 0x19(r1) +/* 800286D4 00025634 98 C1 00 1A */ stb r6, 0x1a(r1) +/* 800286D8 00025638 48 2D AD ED */ bl __ct__17CColorInstructionFiRC6CColor +/* 800286DC 0002563C 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 800286E0 00025640 2C 00 00 01 */ cmpwi r0, 1 +/* 800286E4 00025644 40 82 00 DC */ bne lbl_800287C0 +/* 800286E8 00025648 C0 3E 00 18 */ lfs f1, 0x18(r30) +/* 800286EC 0002564C C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) +/* 800286F0 00025650 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800286F4 00025654 4C 40 13 82 */ cror 2, 0, 2 +/* 800286F8 00025658 40 82 00 C8 */ bne lbl_800287C0 +/* 800286FC 0002565C 3C 80 80 3E */ lis r4, lbl_803D9A88@ha +/* 80028700 00025660 38 61 00 88 */ addi r3, r1, 0x88 +/* 80028704 00025664 38 84 9A 88 */ addi r4, r4, lbl_803D9A88@l +/* 80028708 00025668 4B FE D2 E9 */ bl wstring_l__4rstlFPCw +/* 8002870C 0002566C 80 81 00 88 */ lwz r4, 0x88(r1) +/* 80028710 00025670 38 61 01 4C */ addi r3, r1, 0x14c +/* 80028714 00025674 80 A1 00 90 */ lwz r5, 0x90(r1) +/* 80028718 00025678 48 2D 9D 59 */ bl AddString__18CTextExecuteBufferFPCwi +/* 8002871C 0002567C 38 61 00 88 */ addi r3, r1, 0x88 +/* 80028720 00025680 48 31 4A 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80028724 00025684 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 80028728 00025688 38 61 01 4C */ addi r3, r1, 0x14c +/* 8002872C 0002568C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80028730 00025690 38 80 00 03 */ li r4, 3 +/* 80028734 00025694 28 00 00 00 */ cmplwi r0, 0 +/* 80028738 00025698 41 82 00 08 */ beq lbl_80028740 +/* 8002873C 0002569C 38 A1 00 1C */ addi r5, r1, 0x1c +lbl_80028740: +/* 80028740 000256A0 48 2D AD 85 */ bl __ct__17CColorInstructionFiRC6CColor +/* 80028744 000256A4 3C 80 80 3E */ lis r4, lbl_803D9A88@ha +/* 80028748 000256A8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8002874C 000256AC 38 84 9A 88 */ addi r4, r4, lbl_803D9A88@l +/* 80028750 000256B0 38 84 00 46 */ addi r4, r4, 0x46 +/* 80028754 000256B4 4B FE D2 9D */ bl wstring_l__4rstlFPCw +/* 80028758 000256B8 80 81 00 78 */ lwz r4, 0x78(r1) +/* 8002875C 000256BC 38 61 01 4C */ addi r3, r1, 0x14c +/* 80028760 000256C0 80 A1 00 80 */ lwz r5, 0x80(r1) +/* 80028764 000256C4 48 2D 9D 0D */ bl AddString__18CTextExecuteBufferFPCwi +/* 80028768 000256C8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8002876C 000256CC 48 31 49 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80028770 000256D0 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 80028774 000256D4 38 61 01 4C */ addi r3, r1, 0x14c +/* 80028778 000256D8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8002877C 000256DC 38 80 00 03 */ li r4, 3 +/* 80028780 000256E0 28 00 00 00 */ cmplwi r0, 0 +/* 80028784 000256E4 41 82 00 08 */ beq lbl_8002878C +/* 80028788 000256E8 38 A1 00 18 */ addi r5, r1, 0x18 +lbl_8002878C: +/* 8002878C 000256EC 48 2D AD 39 */ bl __ct__17CColorInstructionFiRC6CColor +/* 80028790 000256F0 3C 80 80 3E */ lis r4, lbl_803D9A88@ha +/* 80028794 000256F4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80028798 000256F8 38 84 9A 88 */ addi r4, r4, lbl_803D9A88@l +/* 8002879C 000256FC 38 84 00 58 */ addi r4, r4, 0x58 +/* 800287A0 00025700 4B FE D2 51 */ bl wstring_l__4rstlFPCw +/* 800287A4 00025704 80 81 00 68 */ lwz r4, 0x68(r1) +/* 800287A8 00025708 38 61 01 4C */ addi r3, r1, 0x14c +/* 800287AC 0002570C 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 800287B0 00025710 48 2D 9C C1 */ bl AddString__18CTextExecuteBufferFPCwi +/* 800287B4 00025714 38 61 00 68 */ addi r3, r1, 0x68 +/* 800287B8 00025718 48 31 49 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800287BC 0002571C 48 00 00 7C */ b lbl_80028838 +lbl_800287C0: +/* 800287C0 00025720 2C 00 00 02 */ cmpwi r0, 2 +/* 800287C4 00025724 40 82 00 74 */ bne lbl_80028838 +/* 800287C8 00025728 38 00 00 00 */ li r0, 0 +/* 800287CC 0002572C 3C 60 80 3E */ lis r3, lbl_803D9A88@ha +/* 800287D0 00025730 38 83 9A 88 */ addi r4, r3, lbl_803D9A88@l +/* 800287D4 00025734 98 0D 80 00 */ stb r0, lbl_805A6BC0@sda21(r13) +/* 800287D8 00025738 38 61 00 58 */ addi r3, r1, 0x58 +/* 800287DC 0002573C 38 84 00 5E */ addi r4, r4, 0x5e +/* 800287E0 00025740 4B FE D2 11 */ bl wstring_l__4rstlFPCw +/* 800287E4 00025744 80 81 00 58 */ lwz r4, 0x58(r1) +/* 800287E8 00025748 38 61 01 4C */ addi r3, r1, 0x14c +/* 800287EC 0002574C 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 800287F0 00025750 48 2D 9C 81 */ bl AddString__18CTextExecuteBufferFPCwi +/* 800287F4 00025754 38 61 00 58 */ addi r3, r1, 0x58 +/* 800287F8 00025758 48 31 49 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800287FC 0002575C 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 80028800 00025760 3C 60 80 3E */ lis r3, lbl_803D9A88@ha +/* 80028804 00025764 38 A3 9A 88 */ addi r5, r3, lbl_803D9A88@l +/* 80028808 00025768 38 61 00 48 */ addi r3, r1, 0x48 +/* 8002880C 0002576C 28 00 00 00 */ cmplwi r0, 0 +/* 80028810 00025770 38 85 00 BE */ addi r4, r5, 0xbe +/* 80028814 00025774 41 82 00 08 */ beq lbl_8002881C +/* 80028818 00025778 38 85 00 90 */ addi r4, r5, 0x90 +lbl_8002881C: +/* 8002881C 0002577C 4B FE D1 D5 */ bl wstring_l__4rstlFPCw +/* 80028820 00025780 80 81 00 48 */ lwz r4, 0x48(r1) +/* 80028824 00025784 38 61 01 4C */ addi r3, r1, 0x14c +/* 80028828 00025788 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 8002882C 0002578C 48 2D 9C 45 */ bl AddString__18CTextExecuteBufferFPCwi +/* 80028830 00025790 38 61 00 48 */ addi r3, r1, 0x48 +/* 80028834 00025794 48 31 49 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80028838: +/* 80028838 00025798 38 61 01 4C */ addi r3, r1, 0x14c +/* 8002883C 0002579C 48 2D B2 ED */ bl EndBlock__18CTextExecuteBufferFv +/* 80028840 000257A0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80028844 000257A4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80028848 000257A8 C0 22 83 AC */ lfs f1, lbl_805AA0CC@sda21(r2) +/* 8002884C 000257AC 38 A0 00 00 */ li r5, 0 +/* 80028850 000257B0 81 84 00 00 */ lwz r12, 0(r4) +/* 80028854 000257B4 C0 42 83 B0 */ lfs f2, lbl_805AA0D0@sda21(r2) +/* 80028858 000257B8 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 8002885C 000257BC 7D 89 03 A6 */ mtctr r12 +/* 80028860 000257C0 4E 80 04 21 */ bctrl +/* 80028864 000257C4 38 60 00 01 */ li r3, 1 +/* 80028868 000257C8 38 80 00 04 */ li r4, 4 +/* 8002886C 000257CC 38 A0 00 05 */ li r5, 5 +/* 80028870 000257D0 38 C0 00 00 */ li r6, 0 +/* 80028874 000257D4 48 2E 31 DD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80028878 000257D8 38 60 00 00 */ li r3, 0 +/* 8002887C 000257DC 48 2E 31 F5 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80028880 000257E0 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 80028884 000257E4 3C 00 43 30 */ lis r0, 0x4330 +/* 80028888 000257E8 90 61 04 BC */ stw r3, 0x4bc(r1) +/* 8002888C 000257EC 3C 80 80 5A */ lis r4, lbl_805A6718@ha +/* 80028890 000257F0 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) +/* 80028894 000257F4 3C A0 80 5A */ lis r5, lbl_805A6724@ha +/* 80028898 000257F8 90 01 04 B8 */ stw r0, 0x4b8(r1) +/* 8002889C 000257FC 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 800288A0 00025800 C8 22 83 B8 */ lfd f1, lbl_805AA0D8@sda21(r2) +/* 800288A4 00025804 38 C3 67 00 */ addi r6, r3, lbl_805A6700@l +/* 800288A8 00025808 C8 01 04 B8 */ lfd f0, 0x4b8(r1) +/* 800288AC 0002580C 38 84 67 18 */ addi r4, r4, lbl_805A6718@l +/* 800288B0 00025810 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800288B4 00025814 38 A5 67 24 */ addi r5, r5, lbl_805A6724@l +/* 800288B8 00025818 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800288BC 0002581C 38 61 00 EC */ addi r3, r1, 0xec +/* 800288C0 00025820 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800288C4 00025824 38 E1 00 2C */ addi r7, r1, 0x2c +/* 800288C8 00025828 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800288CC 0002582C 48 2E A5 91 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 800288D0 00025830 38 61 01 1C */ addi r3, r1, 0x11c +/* 800288D4 00025834 38 81 00 EC */ addi r4, r1, 0xec +/* 800288D8 00025838 48 2E A2 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800288DC 0002583C 38 61 01 1C */ addi r3, r1, 0x11c +/* 800288E0 00025840 48 2E 3D 01 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 800288E4 00025844 38 61 02 28 */ addi r3, r1, 0x228 +/* 800288E8 00025848 38 81 01 4C */ addi r4, r1, 0x14c +/* 800288EC 0002584C 48 2D 98 C5 */ bl BuildRenderBuffer__18CTextExecuteBufferFv +/* 800288F0 00025850 48 32 16 BD */ bl White__6CColorFv +/* 800288F4 00025854 C0 22 83 A4 */ lfs f1, lbl_805AA0C4@sda21(r2) +/* 800288F8 00025858 7C 64 1B 78 */ mr r4, r3 +/* 800288FC 0002585C 38 61 02 28 */ addi r3, r1, 0x228 +/* 80028900 00025860 48 33 1B BD */ bl Render__17CTextRenderBufferCFRC6CColorf +/* 80028904 00025864 38 61 02 28 */ addi r3, r1, 0x228 +/* 80028908 00025868 38 80 FF FF */ li r4, -1 +/* 8002890C 0002586C 48 00 00 51 */ bl __dt__17CTextRenderBufferFv +/* 80028910 00025870 38 60 00 01 */ li r3, 1 +/* 80028914 00025874 48 2E 31 5D */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80028918 00025878 38 61 01 4C */ addi r3, r1, 0x14c +/* 8002891C 0002587C 38 80 FF FF */ li r4, -1 +/* 80028920 00025880 48 00 03 95 */ bl __dt__18CTextExecuteBufferFv +/* 80028924 00025884 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80028928 00025888 38 80 00 00 */ li r4, 0 +/* 8002892C 0002588C 48 31 85 15 */ bl __dt__6CTokenFv +lbl_80028930: +/* 80028930 00025890 E3 E1 05 08 */ psq_l f31, 1288(r1), 0, qr0 +/* 80028934 00025894 CB E1 05 00 */ lfd f31, 0x500(r1) +/* 80028938 00025898 E3 C1 04 F8 */ psq_l f30, 1272(r1), 0, qr0 +/* 8002893C 0002589C CB C1 04 F0 */ lfd f30, 0x4f0(r1) +/* 80028940 000258A0 E3 A1 04 E8 */ psq_l f29, 1256(r1), 0, qr0 +/* 80028944 000258A4 CB A1 04 E0 */ lfd f29, 0x4e0(r1) +/* 80028948 000258A8 BB 61 04 CC */ lmw r27, 0x4cc(r1) +/* 8002894C 000258AC 80 01 05 14 */ lwz r0, 0x514(r1) +/* 80028950 000258B0 7C 08 03 A6 */ mtlr r0 +/* 80028954 000258B4 38 21 05 10 */ addi r1, r1, 0x510 +/* 80028958 000258B8 4E 80 00 20 */ blr + +.global __dt__17CTextRenderBufferFv +__dt__17CTextRenderBufferFv: +/* 8002895C 000258BC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80028960 000258C0 7C 08 02 A6 */ mflr r0 +/* 80028964 000258C4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80028968 000258C8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8002896C 000258CC 7C 9F 23 78 */ mr r31, r4 +/* 80028970 000258D0 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80028974 000258D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80028978 000258D8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8002897C 000258DC 93 81 00 40 */ stw r28, 0x40(r1) +/* 80028980 000258E0 41 82 01 58 */ beq lbl_80028AD8 +/* 80028984 000258E4 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 80028988 000258E8 41 82 00 4C */ beq lbl_800289D4 +/* 8002898C 000258EC 3B 9E 00 54 */ addi r28, r30, 0x54 +/* 80028990 000258F0 3B A0 00 00 */ li r29, 0 +/* 80028994 000258F4 48 00 00 2C */ b lbl_800289C0 +lbl_80028998: +/* 80028998 000258F8 28 1C 00 00 */ cmplwi r28, 0 +/* 8002899C 000258FC 41 82 00 1C */ beq lbl_800289B8 +/* 800289A0 00025900 88 1C 00 00 */ lbz r0, 0(r28) +/* 800289A4 00025904 28 00 00 00 */ cmplwi r0, 0 +/* 800289A8 00025908 41 82 00 10 */ beq lbl_800289B8 +/* 800289AC 0002590C 80 7C 00 04 */ lwz r3, 4(r28) +/* 800289B0 00025910 38 80 00 01 */ li r4, 1 +/* 800289B4 00025914 48 2E 55 4D */ bl __dt__16CGraphicsPaletteFv +lbl_800289B8: +/* 800289B8 00025918 3B 9C 00 08 */ addi r28, r28, 8 +/* 800289BC 0002591C 3B BD 00 01 */ addi r29, r29, 1 +lbl_800289C0: +/* 800289C0 00025920 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 800289C4 00025924 7C 1D 00 00 */ cmpw r29, r0 +/* 800289C8 00025928 41 80 FF D0 */ blt lbl_80028998 +/* 800289CC 0002592C 38 00 00 00 */ li r0, 0 +/* 800289D0 00025930 90 1E 00 50 */ stw r0, 0x50(r30) +lbl_800289D4: +/* 800289D4 00025934 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 800289D8 00025938 41 82 00 40 */ beq lbl_80028A18 +/* 800289DC 0002593C 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 800289E0 00025940 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 800289E4 00025944 90 61 00 2C */ stw r3, 0x2c(r1) +/* 800289E8 00025948 7C 83 02 14 */ add r4, r3, r0 +/* 800289EC 0002594C 7C 03 20 50 */ subf r0, r3, r4 +/* 800289F0 00025950 90 81 00 34 */ stw r4, 0x34(r1) +/* 800289F4 00025954 90 81 00 30 */ stw r4, 0x30(r1) +/* 800289F8 00025958 90 61 00 28 */ stw r3, 0x28(r1) +/* 800289FC 0002595C 7C 09 03 A6 */ mtctr r0 +/* 80028A00 00025960 7C 03 20 40 */ cmplw r3, r4 +/* 80028A04 00025964 41 82 00 08 */ beq lbl_80028A0C +lbl_80028A08: +/* 80028A08 00025968 42 00 00 00 */ bdnz lbl_80028A08 +lbl_80028A0C: +/* 80028A0C 0002596C 28 03 00 00 */ cmplwi r3, 0 +/* 80028A10 00025970 41 82 00 08 */ beq lbl_80028A18 +/* 80028A14 00025974 48 2E CF 1D */ bl Free__7CMemoryFPCv +lbl_80028A18: +/* 80028A18 00025978 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 80028A1C 0002597C 41 82 00 44 */ beq lbl_80028A60 +/* 80028A20 00025980 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 80028A24 00025984 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 80028A28 00025988 54 00 10 3A */ slwi r0, r0, 2 +/* 80028A2C 0002598C 7C 03 02 14 */ add r0, r3, r0 +/* 80028A30 00025990 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80028A34 00025994 7C 64 1B 78 */ mr r4, r3 +/* 80028A38 00025998 90 01 00 24 */ stw r0, 0x24(r1) +/* 80028A3C 0002599C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80028A40 000259A0 90 61 00 18 */ stw r3, 0x18(r1) +/* 80028A44 000259A4 48 00 00 08 */ b lbl_80028A4C +lbl_80028A48: +/* 80028A48 000259A8 38 84 00 04 */ addi r4, r4, 4 +lbl_80028A4C: +/* 80028A4C 000259AC 7C 04 00 40 */ cmplw r4, r0 +/* 80028A50 000259B0 40 82 FF F8 */ bne lbl_80028A48 +/* 80028A54 000259B4 28 03 00 00 */ cmplwi r3, 0 +/* 80028A58 000259B8 41 82 00 08 */ beq lbl_80028A60 +/* 80028A5C 000259BC 48 2E CE D5 */ bl Free__7CMemoryFPCv +lbl_80028A60: +/* 80028A60 000259C0 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80028A64 000259C4 38 80 FF FF */ li r4, -1 +/* 80028A68 000259C8 48 00 00 95 */ bl sub_80028afc +/* 80028A6C 000259CC 34 1E 00 04 */ addic. r0, r30, 4 +/* 80028A70 000259D0 41 82 00 58 */ beq lbl_80028AC8 +/* 80028A74 000259D4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80028A78 000259D8 83 9E 00 10 */ lwz r28, 0x10(r30) +/* 80028A7C 000259DC 54 00 18 38 */ slwi r0, r0, 3 +/* 80028A80 000259E0 7F BC 02 14 */ add r29, r28, r0 +/* 80028A84 000259E4 93 81 00 0C */ stw r28, 0xc(r1) +/* 80028A88 000259E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80028A8C 000259EC 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80028A90 000259F0 93 81 00 08 */ stw r28, 8(r1) +/* 80028A94 000259F4 48 00 00 1C */ b lbl_80028AB0 +lbl_80028A98: +/* 80028A98 000259F8 28 1C 00 00 */ cmplwi r28, 0 +/* 80028A9C 000259FC 41 82 00 10 */ beq lbl_80028AAC +/* 80028AA0 00025A00 7F 83 E3 78 */ mr r3, r28 +/* 80028AA4 00025A04 38 80 00 00 */ li r4, 0 +/* 80028AA8 00025A08 48 31 83 99 */ bl __dt__6CTokenFv +lbl_80028AAC: +/* 80028AAC 00025A0C 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80028AB0: +/* 80028AB0 00025A10 7C 1C E8 40 */ cmplw r28, r29 +/* 80028AB4 00025A14 40 82 FF E4 */ bne lbl_80028A98 +/* 80028AB8 00025A18 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80028ABC 00025A1C 28 03 00 00 */ cmplwi r3, 0 +/* 80028AC0 00025A20 41 82 00 08 */ beq lbl_80028AC8 +/* 80028AC4 00025A24 48 2E CE 6D */ bl Free__7CMemoryFPCv +lbl_80028AC8: +/* 80028AC8 00025A28 7F E0 07 35 */ extsh. r0, r31 +/* 80028ACC 00025A2C 40 81 00 0C */ ble lbl_80028AD8 +/* 80028AD0 00025A30 7F C3 F3 78 */ mr r3, r30 +/* 80028AD4 00025A34 48 2E CE 5D */ bl Free__7CMemoryFPCv +lbl_80028AD8: +/* 80028AD8 00025A38 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80028ADC 00025A3C 7F C3 F3 78 */ mr r3, r30 +/* 80028AE0 00025A40 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80028AE4 00025A44 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80028AE8 00025A48 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80028AEC 00025A4C 83 81 00 40 */ lwz r28, 0x40(r1) +/* 80028AF0 00025A50 7C 08 03 A6 */ mtlr r0 +/* 80028AF4 00025A54 38 21 00 50 */ addi r1, r1, 0x50 +/* 80028AF8 00025A58 4E 80 00 20 */ blr + +.global sub_80028afc +sub_80028afc: +/* 80028AFC 00025A5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80028B00 00025A60 7C 08 02 A6 */ mflr r0 +/* 80028B04 00025A64 90 01 00 24 */ stw r0, 0x24(r1) +/* 80028B08 00025A68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80028B0C 00025A6C 7C 9F 23 78 */ mr r31, r4 +/* 80028B10 00025A70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80028B14 00025A74 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80028B18 00025A78 41 82 00 54 */ beq lbl_80028B6C +/* 80028B1C 00025A7C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80028B20 00025A80 38 61 00 14 */ addi r3, r1, 0x14 +/* 80028B24 00025A84 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80028B28 00025A88 38 81 00 0C */ addi r4, r1, 0xc +/* 80028B2C 00025A8C 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80028B30 00025A90 7C A5 02 14 */ add r5, r5, r0 +/* 80028B34 00025A94 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80028B38 00025A98 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80028B3C 00025A9C 90 A1 00 08 */ stw r5, 8(r1) +/* 80028B40 00025AA0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80028B44 00025AA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80028B48 00025AA8 48 00 00 41 */ bl sub_80028b88 +/* 80028B4C 00025AAC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80028B50 00025AB0 28 03 00 00 */ cmplwi r3, 0 +/* 80028B54 00025AB4 41 82 00 08 */ beq lbl_80028B5C +/* 80028B58 00025AB8 48 2E CD D9 */ bl Free__7CMemoryFPCv +lbl_80028B5C: +/* 80028B5C 00025ABC 7F E0 07 35 */ extsh. r0, r31 +/* 80028B60 00025AC0 40 81 00 0C */ ble lbl_80028B6C +/* 80028B64 00025AC4 7F C3 F3 78 */ mr r3, r30 +/* 80028B68 00025AC8 48 2E CD C9 */ bl Free__7CMemoryFPCv +lbl_80028B6C: +/* 80028B6C 00025ACC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80028B70 00025AD0 7F C3 F3 78 */ mr r3, r30 +/* 80028B74 00025AD4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80028B78 00025AD8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80028B7C 00025ADC 7C 08 03 A6 */ mtlr r0 +/* 80028B80 00025AE0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80028B84 00025AE4 4E 80 00 20 */ blr + +.global sub_80028b88 +sub_80028b88: +/* 80028B88 00025AE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80028B8C 00025AEC 7C 08 02 A6 */ mflr r0 +/* 80028B90 00025AF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80028B94 00025AF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80028B98 00025AF8 93 C1 00 08 */ stw r30, 8(r1) +/* 80028B9C 00025AFC 7C 9E 23 78 */ mr r30, r4 +/* 80028BA0 00025B00 83 E3 00 00 */ lwz r31, 0(r3) +/* 80028BA4 00025B04 48 00 00 10 */ b lbl_80028BB4 +lbl_80028BA8: +/* 80028BA8 00025B08 7F E3 FB 78 */ mr r3, r31 +/* 80028BAC 00025B0C 48 00 00 2D */ bl sub_80028bd8 +/* 80028BB0 00025B10 3B FF 00 1C */ addi r31, r31, 0x1c +lbl_80028BB4: +/* 80028BB4 00025B14 80 1E 00 00 */ lwz r0, 0(r30) +/* 80028BB8 00025B18 7C 1F 00 40 */ cmplw r31, r0 +/* 80028BBC 00025B1C 40 82 FF EC */ bne lbl_80028BA8 +/* 80028BC0 00025B20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80028BC4 00025B24 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80028BC8 00025B28 83 C1 00 08 */ lwz r30, 8(r1) +/* 80028BCC 00025B2C 7C 08 03 A6 */ mtlr r0 +/* 80028BD0 00025B30 38 21 00 10 */ addi r1, r1, 0x10 +/* 80028BD4 00025B34 4E 80 00 20 */ blr + +.global sub_80028bd8 +sub_80028bd8: +/* 80028BD8 00025B38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80028BDC 00025B3C 7C 08 02 A6 */ mflr r0 +/* 80028BE0 00025B40 38 80 FF FF */ li r4, -1 +/* 80028BE4 00025B44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80028BE8 00025B48 48 00 00 15 */ bl sub_80028bfc +/* 80028BEC 00025B4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80028BF0 00025B50 7C 08 03 A6 */ mtlr r0 +/* 80028BF4 00025B54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80028BF8 00025B58 4E 80 00 20 */ blr + +.global sub_80028bfc +sub_80028bfc: +/* 80028BFC 00025B5C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80028C00 00025B60 7C 08 02 A6 */ mflr r0 +/* 80028C04 00025B64 90 01 00 34 */ stw r0, 0x34(r1) +/* 80028C08 00025B68 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80028C0C 00025B6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80028C10 00025B70 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80028C14 00025B74 7C 9D 23 78 */ mr r29, r4 +/* 80028C18 00025B78 93 81 00 20 */ stw r28, 0x20(r1) +/* 80028C1C 00025B7C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80028C20 00025B80 41 82 00 70 */ beq lbl_80028C90 +/* 80028C24 00025B84 34 1C 00 04 */ addic. r0, r28, 4 +/* 80028C28 00025B88 41 82 00 58 */ beq lbl_80028C80 +/* 80028C2C 00025B8C 80 1C 00 08 */ lwz r0, 8(r28) +/* 80028C30 00025B90 83 DC 00 10 */ lwz r30, 0x10(r28) +/* 80028C34 00025B94 54 00 18 38 */ slwi r0, r0, 3 +/* 80028C38 00025B98 7F FE 02 14 */ add r31, r30, r0 +/* 80028C3C 00025B9C 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80028C40 00025BA0 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80028C44 00025BA4 93 E1 00 10 */ stw r31, 0x10(r1) +/* 80028C48 00025BA8 93 C1 00 08 */ stw r30, 8(r1) +/* 80028C4C 00025BAC 48 00 00 1C */ b lbl_80028C68 +lbl_80028C50: +/* 80028C50 00025BB0 28 1E 00 00 */ cmplwi r30, 0 +/* 80028C54 00025BB4 41 82 00 10 */ beq lbl_80028C64 +/* 80028C58 00025BB8 7F C3 F3 78 */ mr r3, r30 +/* 80028C5C 00025BBC 38 80 00 00 */ li r4, 0 +/* 80028C60 00025BC0 48 31 81 E1 */ bl __dt__6CTokenFv +lbl_80028C64: +/* 80028C64 00025BC4 3B DE 00 08 */ addi r30, r30, 8 +lbl_80028C68: +/* 80028C68 00025BC8 7C 1E F8 40 */ cmplw r30, r31 +/* 80028C6C 00025BCC 40 82 FF E4 */ bne lbl_80028C50 +/* 80028C70 00025BD0 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80028C74 00025BD4 28 03 00 00 */ cmplwi r3, 0 +/* 80028C78 00025BD8 41 82 00 08 */ beq lbl_80028C80 +/* 80028C7C 00025BDC 48 2E CC B5 */ bl Free__7CMemoryFPCv +lbl_80028C80: +/* 80028C80 00025BE0 7F A0 07 35 */ extsh. r0, r29 +/* 80028C84 00025BE4 40 81 00 0C */ ble lbl_80028C90 +/* 80028C88 00025BE8 7F 83 E3 78 */ mr r3, r28 +/* 80028C8C 00025BEC 48 2E CC A5 */ bl Free__7CMemoryFPCv +lbl_80028C90: +/* 80028C90 00025BF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80028C94 00025BF4 7F 83 E3 78 */ mr r3, r28 +/* 80028C98 00025BF8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80028C9C 00025BFC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80028CA0 00025C00 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80028CA4 00025C04 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80028CA8 00025C08 7C 08 03 A6 */ mtlr r0 +/* 80028CAC 00025C0C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80028CB0 00025C10 4E 80 00 20 */ blr + +.global __dt__18CTextExecuteBufferFv +__dt__18CTextExecuteBufferFv: +/* 80028CB4 00025C14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80028CB8 00025C18 7C 08 02 A6 */ mflr r0 +/* 80028CBC 00025C1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80028CC0 00025C20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80028CC4 00025C24 7C 9F 23 78 */ mr r31, r4 +/* 80028CC8 00025C28 93 C1 00 08 */ stw r30, 8(r1) +/* 80028CCC 00025C2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80028CD0 00025C30 41 82 00 38 */ beq lbl_80028D08 +/* 80028CD4 00025C34 38 7E 00 C4 */ addi r3, r30, 0xc4 +/* 80028CD8 00025C38 38 80 FF FF */ li r4, -1 +/* 80028CDC 00025C3C 48 00 06 9D */ bl sub_80029378 +/* 80028CE0 00025C40 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80028CE4 00025C44 38 80 FF FF */ li r4, -1 +/* 80028CE8 00025C48 48 00 00 3D */ bl __dt__14CSaveableStateFv +/* 80028CEC 00025C4C 7F C3 F3 78 */ mr r3, r30 +/* 80028CF0 00025C50 38 80 FF FF */ li r4, -1 +/* 80028CF4 00025C54 48 00 05 E9 */ bl sub_800292dc +/* 80028CF8 00025C58 7F E0 07 35 */ extsh. r0, r31 +/* 80028CFC 00025C5C 40 81 00 0C */ ble lbl_80028D08 +/* 80028D00 00025C60 7F C3 F3 78 */ mr r3, r30 +/* 80028D04 00025C64 48 2E CC 2D */ bl Free__7CMemoryFPCv +lbl_80028D08: +/* 80028D08 00025C68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80028D0C 00025C6C 7F C3 F3 78 */ mr r3, r30 +/* 80028D10 00025C70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80028D14 00025C74 83 C1 00 08 */ lwz r30, 8(r1) +/* 80028D18 00025C78 7C 08 03 A6 */ mtlr r0 +/* 80028D1C 00025C7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80028D20 00025C80 4E 80 00 20 */ blr + +.global __dt__14CSaveableStateFv +__dt__14CSaveableStateFv: +/* 80028D24 00025C84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80028D28 00025C88 7C 08 02 A6 */ mflr r0 +/* 80028D2C 00025C8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80028D30 00025C90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80028D34 00025C94 7C 9F 23 78 */ mr r31, r4 +/* 80028D38 00025C98 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80028D3C 00025C9C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80028D40 00025CA0 41 82 01 30 */ beq lbl_80028E70 +/* 80028D44 00025CA4 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 80028D48 00025CA8 41 82 00 40 */ beq lbl_80028D88 +/* 80028D4C 00025CAC 80 7E 00 70 */ lwz r3, 0x70(r30) +/* 80028D50 00025CB0 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 80028D54 00025CB4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80028D58 00025CB8 7C 83 02 14 */ add r4, r3, r0 +/* 80028D5C 00025CBC 7C 03 20 50 */ subf r0, r3, r4 +/* 80028D60 00025CC0 90 81 00 24 */ stw r4, 0x24(r1) +/* 80028D64 00025CC4 90 81 00 20 */ stw r4, 0x20(r1) +/* 80028D68 00025CC8 90 61 00 18 */ stw r3, 0x18(r1) +/* 80028D6C 00025CCC 7C 09 03 A6 */ mtctr r0 +/* 80028D70 00025CD0 7C 03 20 40 */ cmplw r3, r4 +/* 80028D74 00025CD4 41 82 00 08 */ beq lbl_80028D7C +lbl_80028D78: +/* 80028D78 00025CD8 42 00 00 00 */ bdnz lbl_80028D78 +lbl_80028D7C: +/* 80028D7C 00025CDC 28 03 00 00 */ cmplwi r3, 0 +/* 80028D80 00025CE0 41 82 00 08 */ beq lbl_80028D88 +/* 80028D84 00025CE4 48 2E CB AD */ bl Free__7CMemoryFPCv +lbl_80028D88: +/* 80028D88 00025CE8 34 1E 00 54 */ addic. r0, r30, 0x54 +/* 80028D8C 00025CEC 41 82 00 44 */ beq lbl_80028DD0 +/* 80028D90 00025CF0 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 80028D94 00025CF4 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 80028D98 00025CF8 54 00 10 3A */ slwi r0, r0, 2 +/* 80028D9C 00025CFC 7C 03 02 14 */ add r0, r3, r0 +/* 80028DA0 00025D00 90 61 00 0C */ stw r3, 0xc(r1) +/* 80028DA4 00025D04 7C 64 1B 78 */ mr r4, r3 +/* 80028DA8 00025D08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80028DAC 00025D0C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80028DB0 00025D10 90 61 00 08 */ stw r3, 8(r1) +/* 80028DB4 00025D14 48 00 00 08 */ b lbl_80028DBC +lbl_80028DB8: +/* 80028DB8 00025D18 38 84 00 04 */ addi r4, r4, 4 +lbl_80028DBC: +/* 80028DBC 00025D1C 7C 04 00 40 */ cmplw r4, r0 +/* 80028DC0 00025D20 40 82 FF F8 */ bne lbl_80028DB8 +/* 80028DC4 00025D24 28 03 00 00 */ cmplwi r3, 0 +/* 80028DC8 00025D28 41 82 00 08 */ beq lbl_80028DD0 +/* 80028DCC 00025D2C 48 2E CB 65 */ bl Free__7CMemoryFPCv +lbl_80028DD0: +/* 80028DD0 00025D30 34 1E 00 48 */ addic. r0, r30, 0x48 +/* 80028DD4 00025D34 41 82 00 28 */ beq lbl_80028DFC +/* 80028DD8 00025D38 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 80028DDC 00025D3C 28 00 00 00 */ cmplwi r0, 0 +/* 80028DE0 00025D40 41 82 00 14 */ beq lbl_80028DF4 +/* 80028DE4 00025D44 34 7E 00 48 */ addic. r3, r30, 0x48 +/* 80028DE8 00025D48 41 82 00 0C */ beq lbl_80028DF4 +/* 80028DEC 00025D4C 38 80 00 00 */ li r4, 0 +/* 80028DF0 00025D50 48 31 80 51 */ bl __dt__6CTokenFv +lbl_80028DF4: +/* 80028DF4 00025D54 38 00 00 00 */ li r0, 0 +/* 80028DF8 00025D58 98 1E 00 50 */ stb r0, 0x50(r30) +lbl_80028DFC: +/* 80028DFC 00025D5C 28 1E 00 00 */ cmplwi r30, 0 +/* 80028E00 00025D60 41 82 00 60 */ beq lbl_80028E60 +/* 80028E04 00025D64 34 1E 00 04 */ addic. r0, r30, 4 +/* 80028E08 00025D68 41 82 00 58 */ beq lbl_80028E60 +/* 80028E0C 00025D6C 80 BE 00 04 */ lwz r5, 4(r30) +/* 80028E10 00025D70 38 60 00 00 */ li r3, 0 +/* 80028E14 00025D74 2C 05 00 00 */ cmpwi r5, 0 +/* 80028E18 00025D78 40 81 00 40 */ ble lbl_80028E58 +/* 80028E1C 00025D7C 2C 05 00 08 */ cmpwi r5, 8 +/* 80028E20 00025D80 38 85 FF F8 */ addi r4, r5, -8 +/* 80028E24 00025D84 40 81 00 20 */ ble lbl_80028E44 +/* 80028E28 00025D88 38 04 00 07 */ addi r0, r4, 7 +/* 80028E2C 00025D8C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80028E30 00025D90 7C 09 03 A6 */ mtctr r0 +/* 80028E34 00025D94 2C 04 00 00 */ cmpwi r4, 0 +/* 80028E38 00025D98 40 81 00 0C */ ble lbl_80028E44 +lbl_80028E3C: +/* 80028E3C 00025D9C 38 63 00 08 */ addi r3, r3, 8 +/* 80028E40 00025DA0 42 00 FF FC */ bdnz lbl_80028E3C +lbl_80028E44: +/* 80028E44 00025DA4 7C 03 28 50 */ subf r0, r3, r5 +/* 80028E48 00025DA8 7C 09 03 A6 */ mtctr r0 +/* 80028E4C 00025DAC 7C 03 28 00 */ cmpw r3, r5 +/* 80028E50 00025DB0 40 80 00 08 */ bge lbl_80028E58 +lbl_80028E54: +/* 80028E54 00025DB4 42 00 00 00 */ bdnz lbl_80028E54 +lbl_80028E58: +/* 80028E58 00025DB8 38 00 00 00 */ li r0, 0 +/* 80028E5C 00025DBC 90 1E 00 04 */ stw r0, 4(r30) +lbl_80028E60: +/* 80028E60 00025DC0 7F E0 07 35 */ extsh. r0, r31 +/* 80028E64 00025DC4 40 81 00 0C */ ble lbl_80028E70 +/* 80028E68 00025DC8 7F C3 F3 78 */ mr r3, r30 +/* 80028E6C 00025DCC 48 2E CA C5 */ bl Free__7CMemoryFPCv +lbl_80028E70: +/* 80028E70 00025DD0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80028E74 00025DD4 7F C3 F3 78 */ mr r3, r30 +/* 80028E78 00025DD8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80028E7C 00025DDC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80028E80 00025DE0 7C 08 03 A6 */ mtlr r0 +/* 80028E84 00025DE4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80028E88 00025DE8 4E 80 00 20 */ blr + +.global OnMessage__13CSplashScreenFRC20CArchitectureMessageR18CArchitectureQueue +OnMessage__13CSplashScreenFRC20CArchitectureMessageR18CArchitectureQueue: +/* 80028E8C 00025DEC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80028E90 00025DF0 7C 08 02 A6 */ mflr r0 +/* 80028E94 00025DF4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80028E98 00025DF8 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80028E9C 00025DFC 7C 9E 23 78 */ mr r30, r4 +/* 80028EA0 00025E00 7C 7D 1B 78 */ mr r29, r3 +/* 80028EA4 00025E04 7C BF 2B 78 */ mr r31, r5 +/* 80028EA8 00025E08 80 04 00 04 */ lwz r0, 4(r4) +/* 80028EAC 00025E0C 2C 00 00 05 */ cmpwi r0, 5 +/* 80028EB0 00025E10 41 82 02 4C */ beq lbl_800290FC +/* 80028EB4 00025E14 40 80 03 30 */ bge lbl_800291E4 +/* 80028EB8 00025E18 2C 00 00 04 */ cmpwi r0, 4 +/* 80028EBC 00025E1C 40 80 00 08 */ bge lbl_80028EC4 +/* 80028EC0 00025E20 48 00 03 24 */ b lbl_800291E4 +lbl_80028EC4: +/* 80028EC4 00025E24 88 1D 00 25 */ lbz r0, 0x25(r29) +/* 80028EC8 00025E28 28 00 00 00 */ cmplwi r0, 0 +/* 80028ECC 00025E2C 40 82 00 1C */ bne lbl_80028EE8 +/* 80028ED0 00025E30 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80028ED4 00025E34 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80028ED8 00025E38 28 00 00 00 */ cmplwi r0, 0 +/* 80028EDC 00025E3C 41 82 03 08 */ beq lbl_800291E4 +/* 80028EE0 00025E40 38 00 00 01 */ li r0, 1 +/* 80028EE4 00025E44 98 1D 00 25 */ stb r0, 0x25(r29) +lbl_80028EE8: +/* 80028EE8 00025E48 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 80028EEC 00025E4C 2C 00 00 00 */ cmpwi r0, 0 +/* 80028EF0 00025E50 40 82 00 E4 */ bne lbl_80028FD4 +/* 80028EF4 00025E54 80 6D A0 7C */ lwz r3, gpController@sda21(r13) +/* 80028EF8 00025E58 38 80 00 00 */ li r4, 0 +/* 80028EFC 00025E5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80028F00 00025E60 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80028F04 00025E64 7D 89 03 A6 */ mtctr r12 +/* 80028F08 00025E68 4E 80 04 21 */ bctrl +/* 80028F0C 00025E6C 8B 43 00 37 */ lbz r26, 0x37(r3) +/* 80028F10 00025E70 48 2E 06 E1 */ bl GetProgressiveMode__9CGraphicsFv +/* 80028F14 00025E74 7C 7B 1B 78 */ mr r27, r3 +/* 80028F18 00025E78 48 2E 06 AD */ bl CanSetProgressiveMode__9CGraphicsFv +/* 80028F1C 00025E7C 7C 7C 1B 78 */ mr r28, r3 +/* 80028F20 00025E80 48 2E 06 79 */ bl GetProgressiveDefault__9CGraphicsFv +/* 80028F24 00025E84 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 80028F28 00025E88 38 00 00 03 */ li r0, 3 +/* 80028F2C 00025E8C 90 1D 00 20 */ stw r0, 0x20(r29) +/* 80028F30 00025E90 7C 80 00 34 */ cntlzw r0, r4 +/* 80028F34 00025E94 54 06 D9 7E */ srwi r6, r0, 5 +/* 80028F38 00025E98 88 AD 80 00 */ lbz r5, lbl_805A6BC0@sda21(r13) +/* 80028F3C 00025E9C 28 05 00 00 */ cmplwi r5, 0 +/* 80028F40 00025EA0 40 82 00 44 */ bne lbl_80028F84 +/* 80028F44 00025EA4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80028F48 00025EA8 41 82 00 3C */ beq lbl_80028F84 +/* 80028F4C 00025EAC 57 84 06 3F */ clrlwi. r4, r28, 0x18 +/* 80028F50 00025EB0 41 82 00 34 */ beq lbl_80028F84 +/* 80028F54 00025EB4 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80028F58 00025EB8 40 82 00 2C */ bne lbl_80028F84 +/* 80028F5C 00025EBC 28 04 00 00 */ cmplwi r4, 0 +/* 80028F60 00025EC0 38 80 00 00 */ li r4, 0 +/* 80028F64 00025EC4 41 82 00 10 */ beq lbl_80028F74 +/* 80028F68 00025EC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80028F6C 00025ECC 41 82 00 08 */ beq lbl_80028F74 +/* 80028F70 00025ED0 38 80 00 01 */ li r4, 1 +lbl_80028F74: +/* 80028F74 00025ED4 98 9D 00 24 */ stb r4, 0x24(r29) +/* 80028F78 00025ED8 88 7D 00 24 */ lbz r3, 0x24(r29) +/* 80028F7C 00025EDC 48 2E 06 8D */ bl SetProgressiveMode__9CGraphicsFb +/* 80028F80 00025EE0 48 00 00 54 */ b lbl_80028FD4 +lbl_80028F84: +/* 80028F84 00025EE4 28 05 00 00 */ cmplwi r5, 0 +/* 80028F88 00025EE8 41 82 00 44 */ beq lbl_80028FCC +/* 80028F8C 00025EEC 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80028F90 00025EF0 41 82 00 3C */ beq lbl_80028FCC +/* 80028F94 00025EF4 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80028F98 00025EF8 40 82 00 34 */ bne lbl_80028FCC +/* 80028F9C 00025EFC 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80028FA0 00025F00 41 82 00 2C */ beq lbl_80028FCC +/* 80028FA4 00025F04 28 1A 00 00 */ cmplwi r26, 0 +/* 80028FA8 00025F08 40 82 00 0C */ bne lbl_80028FB4 +/* 80028FAC 00025F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80028FB0 00025F10 41 82 00 1C */ beq lbl_80028FCC +lbl_80028FB4: +/* 80028FB4 00025F14 C0 02 83 C0 */ lfs f0, lbl_805AA0E0@sda21(r2) +/* 80028FB8 00025F18 38 00 00 01 */ li r0, 1 +/* 80028FBC 00025F1C D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80028FC0 00025F20 90 1D 00 20 */ stw r0, 0x20(r29) +/* 80028FC4 00025F24 98 1D 00 24 */ stb r0, 0x24(r29) +/* 80028FC8 00025F28 48 00 00 0C */ b lbl_80028FD4 +lbl_80028FCC: +/* 80028FCC 00025F2C 38 00 00 00 */ li r0, 0 +/* 80028FD0 00025F30 98 1D 00 24 */ stb r0, 0x24(r29) +lbl_80028FD4: +/* 80028FD4 00025F34 7F C3 F3 78 */ mr r3, r30 +/* 80028FD8 00025F38 48 02 8B E5 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +/* 80028FDC 00025F3C C0 63 00 04 */ lfs f3, 4(r3) +/* 80028FE0 00025F40 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80028FE4 00025F44 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) +/* 80028FE8 00025F48 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80028FEC 00025F4C D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 80028FF0 00025F50 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80028FF4 00025F54 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80028FF8 00025F58 40 81 00 78 */ ble lbl_80029070 +/* 80028FFC 00025F5C 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 80029000 00025F60 2C 00 00 01 */ cmpwi r0, 1 +/* 80029004 00025F64 40 82 00 50 */ bne lbl_80029054 +/* 80029008 00025F68 C0 3D 00 18 */ lfs f1, 0x18(r29) +/* 8002900C 00025F6C C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) +/* 80029010 00025F70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80029014 00025F74 40 80 00 40 */ bge lbl_80029054 +/* 80029018 00025F78 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 8002901C 00025F7C C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80029020 00025F80 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80029024 00025F84 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80029028 00025F88 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 8002902C 00025F8C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80029030 00025F90 4C 40 13 82 */ cror 2, 0, 2 +/* 80029034 00025F94 40 82 00 3C */ bne lbl_80029070 +/* 80029038 00025F98 38 00 00 02 */ li r0, 2 +/* 8002903C 00025F9C 90 1D 00 20 */ stw r0, 0x20(r29) +/* 80029040 00025FA0 88 7D 00 24 */ lbz r3, 0x24(r29) +/* 80029044 00025FA4 48 2E 05 C5 */ bl SetProgressiveMode__9CGraphicsFb +/* 80029048 00025FA8 C0 02 83 C4 */ lfs f0, lbl_805AA0E4@sda21(r2) +/* 8002904C 00025FAC D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80029050 00025FB0 48 00 00 20 */ b lbl_80029070 +lbl_80029054: +/* 80029054 00025FB4 2C 00 00 02 */ cmpwi r0, 2 +/* 80029058 00025FB8 40 82 00 18 */ bne lbl_80029070 +/* 8002905C 00025FBC C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) +/* 80029060 00025FC0 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 80029064 00025FC4 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80029068 00025FC8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8002906C 00025FCC D0 1D 00 1C */ stfs f0, 0x1c(r29) +lbl_80029070: +/* 80029070 00025FD0 C0 3D 00 18 */ lfs f1, 0x18(r29) +/* 80029074 00025FD4 C0 02 83 A4 */ lfs f0, lbl_805AA0C4@sda21(r2) +/* 80029078 00025FD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8002907C 00025FDC 4C 40 13 82 */ cror 2, 0, 2 +/* 80029080 00025FE0 40 82 01 64 */ bne lbl_800291E4 +/* 80029084 00025FE4 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 80029088 00025FE8 2C 00 00 02 */ cmpwi r0, 2 +/* 8002908C 00025FEC 40 80 00 68 */ bge lbl_800290F4 +/* 80029090 00025FF0 3C 80 80 3D */ lis r4, lbl_803CCCDC@ha +/* 80029094 00025FF4 38 60 00 30 */ li r3, 0x30 +/* 80029098 00025FF8 38 84 CC DC */ addi r4, r4, lbl_803CCCDC@l +/* 8002909C 00025FFC 38 A0 00 00 */ li r5, 0 +/* 800290A0 00026000 38 84 00 30 */ addi r4, r4, 0x30 +/* 800290A4 00026004 48 2E C7 C9 */ bl __nw__FUlPCcPCc +/* 800290A8 00026008 7C 60 1B 79 */ or. r0, r3, r3 +/* 800290AC 0002600C 41 82 00 14 */ beq lbl_800290C0 +/* 800290B0 00026010 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 800290B4 00026014 38 84 00 01 */ addi r4, r4, 1 +/* 800290B8 00026018 48 00 01 45 */ bl __ct__13CSplashScreenFQ213CSplashScreen13ESplashScreen +/* 800290BC 0002601C 7C 60 1B 78 */ mr r0, r3 +lbl_800290C0: +/* 800290C0 00026020 90 01 00 08 */ stw r0, 8(r1) +/* 800290C4 00026024 38 61 00 0C */ addi r3, r1, 0xc +/* 800290C8 00026028 38 E1 00 08 */ addi r7, r1, 8 +/* 800290CC 0002602C 38 80 00 00 */ li r4, 0 +/* 800290D0 00026030 38 AD 81 D0 */ addi r5, r13, lbl_805A6D90@sda21 +/* 800290D4 00026034 38 CD 81 D4 */ addi r6, r13, lbl_805A6D94@sda21 +/* 800290D8 00026038 48 02 8B D5 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin +/* 800290DC 0002603C 7F E3 FB 78 */ mr r3, r31 +/* 800290E0 00026040 38 81 00 0C */ addi r4, r1, 0xc +/* 800290E4 00026044 4B FD DC 1D */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +/* 800290E8 00026048 34 61 00 14 */ addic. r3, r1, 0x14 +/* 800290EC 0002604C 41 82 00 08 */ beq lbl_800290F4 +/* 800290F0 00026050 4B FD F6 1D */ bl sub_8000870c +lbl_800290F4: +/* 800290F4 00026054 38 60 00 02 */ li r3, 2 +/* 800290F8 00026058 48 00 00 F0 */ b lbl_800291E8 +lbl_800290FC: +/* 800290FC 0002605C 88 1D 00 25 */ lbz r0, 0x25(r29) +/* 80029100 00026060 28 00 00 00 */ cmplwi r0, 0 +/* 80029104 00026064 41 82 00 E0 */ beq lbl_800291E4 +/* 80029108 00026068 7F C3 F3 78 */ mr r3, r30 +/* 8002910C 0002606C 48 02 89 D9 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage +/* 80029110 00026070 4B FF 28 D5 */ bl GetUserInput__21CArchMsgParmUserInputCFv +/* 80029114 00026074 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 80029118 00026078 2C 00 00 01 */ cmpwi r0, 1 +/* 8002911C 0002607C 40 82 00 A0 */ bne lbl_800291BC +/* 80029120 00026080 C0 42 CC 28 */ lfs f2, lbl_805AE948@sda21(r2) +/* 80029124 00026084 C0 23 00 08 */ lfs f1, 8(r3) +/* 80029128 00026088 FC 00 10 50 */ fneg f0, f2 +/* 8002912C 0002608C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80029130 00026090 40 81 00 0C */ ble lbl_8002913C +/* 80029134 00026094 38 00 00 01 */ li r0, 1 +/* 80029138 00026098 48 00 00 08 */ b lbl_80029140 +lbl_8002913C: +/* 8002913C 0002609C 38 00 00 00 */ li r0, 0 +lbl_80029140: +/* 80029140 000260A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80029144 000260A4 40 82 00 10 */ bne lbl_80029154 +/* 80029148 000260A8 88 83 00 2D */ lbz r4, 0x2d(r3) +/* 8002914C 000260AC 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 80029150 000260B0 41 82 00 18 */ beq lbl_80029168 +lbl_80029154: +/* 80029154 000260B4 38 00 00 01 */ li r0, 1 +/* 80029158 000260B8 C0 02 83 C0 */ lfs f0, lbl_805AA0E0@sda21(r2) +/* 8002915C 000260BC 98 1D 00 24 */ stb r0, 0x24(r29) +/* 80029160 000260C0 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80029164 000260C4 48 00 00 80 */ b lbl_800291E4 +lbl_80029168: +/* 80029168 000260C8 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 8002916C 000260CC 41 80 00 0C */ blt lbl_80029178 +/* 80029170 000260D0 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80029174 000260D4 41 82 00 18 */ beq lbl_8002918C +lbl_80029178: +/* 80029178 000260D8 38 00 00 00 */ li r0, 0 +/* 8002917C 000260DC C0 02 83 C0 */ lfs f0, lbl_805AA0E0@sda21(r2) +/* 80029180 000260E0 98 1D 00 24 */ stb r0, 0x24(r29) +/* 80029184 000260E4 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80029188 000260E8 48 00 00 5C */ b lbl_800291E4 +lbl_8002918C: +/* 8002918C 000260EC 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 80029190 000260F0 40 82 00 10 */ bne lbl_800291A0 +/* 80029194 000260F4 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80029198 000260F8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8002919C 000260FC 41 82 00 48 */ beq lbl_800291E4 +lbl_800291A0: +/* 800291A0 00026100 88 7D 00 24 */ lbz r3, 0x24(r29) +/* 800291A4 00026104 48 2E 04 65 */ bl SetProgressiveMode__9CGraphicsFb +/* 800291A8 00026108 C0 02 83 C4 */ lfs f0, lbl_805AA0E4@sda21(r2) +/* 800291AC 0002610C 38 00 00 02 */ li r0, 2 +/* 800291B0 00026110 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 800291B4 00026114 90 1D 00 20 */ stw r0, 0x20(r29) +/* 800291B8 00026118 48 00 00 2C */ b lbl_800291E4 +lbl_800291BC: +/* 800291BC 0002611C 2C 00 00 02 */ cmpwi r0, 2 +/* 800291C0 00026120 40 82 00 24 */ bne lbl_800291E4 +/* 800291C4 00026124 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 800291C8 00026128 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800291CC 0002612C 40 82 00 10 */ bne lbl_800291DC +/* 800291D0 00026130 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 800291D4 00026134 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800291D8 00026138 41 82 00 0C */ beq lbl_800291E4 +lbl_800291DC: +/* 800291DC 0002613C C0 02 83 A4 */ lfs f0, lbl_805AA0C4@sda21(r2) +/* 800291E0 00026140 D0 1D 00 1C */ stfs f0, 0x1c(r29) +lbl_800291E4: +/* 800291E4 00026144 38 60 00 01 */ li r3, 1 +lbl_800291E8: +/* 800291E8 00026148 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800291EC 0002614C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800291F0 00026150 7C 08 03 A6 */ mtlr r0 +/* 800291F4 00026154 38 21 00 30 */ addi r1, r1, 0x30 +/* 800291F8 00026158 4E 80 00 20 */ blr + +.global __ct__13CSplashScreenFQ213CSplashScreen13ESplashScreen +__ct__13CSplashScreenFQ213CSplashScreen13ESplashScreen: +/* 800291FC 0002615C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80029200 00026160 7C 08 02 A6 */ mflr r0 +/* 80029204 00026164 3C A0 80 3D */ lis r5, lbl_803CCCDC@ha +/* 80029208 00026168 90 01 00 34 */ stw r0, 0x34(r1) +/* 8002920C 0002616C 38 A5 CC DC */ addi r5, r5, lbl_803CCCDC@l +/* 80029210 00026170 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80029214 00026174 7C 9F 23 78 */ mr r31, r4 +/* 80029218 00026178 38 85 00 37 */ addi r4, r5, 0x37 +/* 8002921C 0002617C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80029220 00026180 7C 7E 1B 78 */ mr r30, r3 +/* 80029224 00026184 38 61 00 10 */ addi r3, r1, 0x10 +/* 80029228 00026188 4B FD BA 91 */ bl string_l__4rstlFPCc +/* 8002922C 0002618C 7F C3 F3 78 */ mr r3, r30 +/* 80029230 00026190 38 81 00 10 */ addi r4, r1, 0x10 +/* 80029234 00026194 48 02 99 D9 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80029238 00026198 38 61 00 10 */ addi r3, r1, 0x10 +/* 8002923C 0002619C 48 31 48 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80029240 000261A0 3C 80 80 3E */ lis r4, lbl_803D9A50@ha +/* 80029244 000261A4 3C 60 80 3D */ lis r3, lbl_803CCCD0@ha +/* 80029248 000261A8 38 04 9A 50 */ addi r0, r4, lbl_803D9A50@l +/* 8002924C 000261AC C0 22 83 C8 */ lfs f1, lbl_805AA0E8@sda21(r2) +/* 80029250 000261B0 90 1E 00 00 */ stw r0, 0(r30) +/* 80029254 000261B4 38 80 00 00 */ li r4, 0 +/* 80029258 000261B8 C0 02 83 A4 */ lfs f0, lbl_805AA0C4@sda21(r2) +/* 8002925C 000261BC 38 00 00 01 */ li r0, 1 +/* 80029260 000261C0 93 FE 00 14 */ stw r31, 0x14(r30) +/* 80029264 000261C4 38 A3 CC D0 */ addi r5, r3, lbl_803CCCD0@l +/* 80029268 000261C8 38 61 00 08 */ addi r3, r1, 8 +/* 8002926C 000261CC D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80029270 000261D0 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80029274 000261D4 90 9E 00 20 */ stw r4, 0x20(r30) +/* 80029278 000261D8 98 1E 00 24 */ stb r0, 0x24(r30) +/* 8002927C 000261DC 98 9E 00 25 */ stb r4, 0x25(r30) +/* 80029280 000261E0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80029284 000261E4 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80029288 000261E8 81 84 00 00 */ lwz r12, 0(r4) +/* 8002928C 000261EC 54 00 10 3A */ slwi r0, r0, 2 +/* 80029290 000261F0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80029294 000261F4 7C A5 00 2E */ lwzx r5, r5, r0 +/* 80029298 000261F8 7D 89 03 A6 */ mtctr r12 +/* 8002929C 000261FC 4E 80 04 21 */ bctrl +/* 800292A0 00026200 38 7E 00 28 */ addi r3, r30, 0x28 +/* 800292A4 00026204 38 81 00 08 */ addi r4, r1, 8 +/* 800292A8 00026208 48 31 7C 01 */ bl __ct__6CTokenFRC6CToken +/* 800292AC 0002620C 38 61 00 08 */ addi r3, r1, 8 +/* 800292B0 00026210 38 80 FF FF */ li r4, -1 +/* 800292B4 00026214 48 31 7B 8D */ bl __dt__6CTokenFv +/* 800292B8 00026218 38 7E 00 28 */ addi r3, r30, 0x28 +/* 800292BC 0002621C 48 31 7A C9 */ bl Lock__6CTokenFv +/* 800292C0 00026220 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800292C4 00026224 7F C3 F3 78 */ mr r3, r30 +/* 800292C8 00026228 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800292CC 0002622C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800292D0 00026230 7C 08 03 A6 */ mtlr r0 +/* 800292D4 00026234 38 21 00 30 */ addi r1, r1, 0x30 +/* 800292D8 00026238 4E 80 00 20 */ blr + +.global sub_800292dc +sub_800292dc: +/* 800292DC 0002623C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800292E0 00026240 7C 08 02 A6 */ mflr r0 +/* 800292E4 00026244 90 01 00 24 */ stw r0, 0x24(r1) +/* 800292E8 00026248 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800292EC 0002624C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800292F0 00026250 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800292F4 00026254 7C 9D 23 78 */ mr r29, r4 +/* 800292F8 00026258 93 81 00 10 */ stw r28, 0x10(r1) +/* 800292FC 0002625C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80029300 00026260 41 82 00 54 */ beq lbl_80029354 +/* 80029304 00026264 83 FC 00 04 */ lwz r31, 4(r28) +/* 80029308 00026268 48 00 00 30 */ b lbl_80029338 +lbl_8002930C: +/* 8002930C 0002626C 7F FE FB 78 */ mr r30, r31 +/* 80029310 00026270 83 FF 00 04 */ lwz r31, 4(r31) +/* 80029314 00026274 34 7E 00 08 */ addic. r3, r30, 8 +/* 80029318 00026278 41 82 00 10 */ beq lbl_80029328 +/* 8002931C 0002627C 28 03 00 00 */ cmplwi r3, 0 +/* 80029320 00026280 41 82 00 08 */ beq lbl_80029328 +/* 80029324 00026284 48 00 00 E9 */ bl sub_8002940c +lbl_80029328: +/* 80029328 00026288 28 1E 00 00 */ cmplwi r30, 0 +/* 8002932C 0002628C 41 82 00 0C */ beq lbl_80029338 +/* 80029330 00026290 7F C3 F3 78 */ mr r3, r30 +/* 80029334 00026294 48 2E C5 FD */ bl Free__7CMemoryFPCv +lbl_80029338: +/* 80029338 00026298 80 1C 00 08 */ lwz r0, 8(r28) +/* 8002933C 0002629C 7C 1F 00 40 */ cmplw r31, r0 +/* 80029340 000262A0 40 82 FF CC */ bne lbl_8002930C +/* 80029344 000262A4 7F A0 07 35 */ extsh. r0, r29 +/* 80029348 000262A8 40 81 00 0C */ ble lbl_80029354 +/* 8002934C 000262AC 7F 83 E3 78 */ mr r3, r28 +/* 80029350 000262B0 48 2E C5 E1 */ bl Free__7CMemoryFPCv +lbl_80029354: +/* 80029354 000262B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80029358 000262B8 7F 83 E3 78 */ mr r3, r28 +/* 8002935C 000262BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80029360 000262C0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80029364 000262C4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80029368 000262C8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8002936C 000262CC 7C 08 03 A6 */ mtlr r0 +/* 80029370 000262D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80029374 000262D4 4E 80 00 20 */ blr + +.global sub_80029378 +sub_80029378: +/* 80029378 000262D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8002937C 000262DC 7C 08 02 A6 */ mflr r0 +/* 80029380 000262E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80029384 000262E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80029388 000262E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8002938C 000262EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80029390 000262F0 7C 9D 23 78 */ mr r29, r4 +/* 80029394 000262F4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80029398 000262F8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8002939C 000262FC 41 82 00 4C */ beq lbl_800293E8 +/* 800293A0 00026300 83 FC 00 04 */ lwz r31, 4(r28) +/* 800293A4 00026304 48 00 00 28 */ b lbl_800293CC +lbl_800293A8: +/* 800293A8 00026308 7F FE FB 78 */ mr r30, r31 +/* 800293AC 0002630C 83 FF 00 04 */ lwz r31, 4(r31) +/* 800293B0 00026310 38 7E 00 08 */ addi r3, r30, 8 +/* 800293B4 00026314 38 80 FF FF */ li r4, -1 +/* 800293B8 00026318 4B FF F9 6D */ bl __dt__14CSaveableStateFv +/* 800293BC 0002631C 28 1E 00 00 */ cmplwi r30, 0 +/* 800293C0 00026320 41 82 00 0C */ beq lbl_800293CC +/* 800293C4 00026324 7F C3 F3 78 */ mr r3, r30 +/* 800293C8 00026328 48 2E C5 69 */ bl Free__7CMemoryFPCv +lbl_800293CC: +/* 800293CC 0002632C 80 1C 00 08 */ lwz r0, 8(r28) +/* 800293D0 00026330 7C 1F 00 40 */ cmplw r31, r0 +/* 800293D4 00026334 40 82 FF D4 */ bne lbl_800293A8 +/* 800293D8 00026338 7F A0 07 35 */ extsh. r0, r29 +/* 800293DC 0002633C 40 81 00 0C */ ble lbl_800293E8 +/* 800293E0 00026340 7F 83 E3 78 */ mr r3, r28 +/* 800293E4 00026344 48 2E C5 4D */ bl Free__7CMemoryFPCv +lbl_800293E8: +/* 800293E8 00026348 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800293EC 0002634C 7F 83 E3 78 */ mr r3, r28 +/* 800293F0 00026350 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800293F4 00026354 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800293F8 00026358 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800293FC 0002635C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80029400 00026360 7C 08 03 A6 */ mtlr r0 +/* 80029404 00026364 38 21 00 20 */ addi r1, r1, 0x20 +/* 80029408 00026368 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CStateManager.s b/asm/Kyoto_CWD/CStateManager.s new file mode 100644 index 00000000..bde03025 --- /dev/null +++ b/asm/Kyoto_CWD/CStateManager.s @@ -0,0 +1,13955 @@ +.include "macros.inc" + +.section .text, "ax" + +.global IntegrateVisorFog__13CStateManagerFf +IntegrateVisorFog__13CStateManagerFf: +/* 80043DE0 00040D40 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80043DE4 00040D44 7C 08 02 A6 */ mflr r0 +/* 80043DE8 00040D48 90 01 00 24 */ stw r0, 0x24(r1) +/* 80043DEC 00040D4C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80043DF0 00040D50 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80043DF4 00040D54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80043DF8 00040D58 7C 7F 1B 78 */ mr r31, r3 +/* 80043DFC 00040D5C FF E0 08 90 */ fmr f31, f1 +/* 80043E00 00040D60 80 63 08 B8 */ lwz r3, 0x8b8(r3) +/* 80043E04 00040D64 7F E4 FB 78 */ mr r4, r31 +/* 80043E08 00040D68 80 63 00 00 */ lwz r3, 0(r3) +/* 80043E0C 00040D6C 48 04 D7 4D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80043E10 00040D70 2C 03 00 02 */ cmpwi r3, 2 +/* 80043E14 00040D74 40 82 00 20 */ bne lbl_80043E34 +/* 80043E18 00040D78 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80043E1C 00040D7C 80 63 00 00 */ lwz r3, 0(r3) +/* 80043E20 00040D80 48 04 DA 45 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 80043E24 00040D84 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 80043E28 00040D88 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80043E2C 00040D8C EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80043E30 00040D90 48 00 00 08 */ b lbl_80043E38 +lbl_80043E34: +/* 80043E34 00040D94 FC 20 F8 90 */ fmr f1, f31 +lbl_80043E38: +/* 80043E38 00040D98 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80043E3C 00040D9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80043E40 00040DA0 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80043E44 00040DA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80043E48 00040DA8 7C 08 03 A6 */ mtlr r0 +/* 80043E4C 00040DAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80043E50 00040DB0 4E 80 00 20 */ blr + +.global SendScriptMsgAlways__13CStateManagerF9TUniqueId +SendScriptMsgAlways__13CStateManagerF9TUniqueId: +/* 80043E54 00040DB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80043E58 00040DB8 7C 08 02 A6 */ mflr r0 +/* 80043E5C 00040DBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80043E60 00040DC0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80043E64 00040DC4 7C DF 33 78 */ mr r31, r6 +/* 80043E68 00040DC8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80043E6C 00040DCC 7C BE 2B 78 */ mr r30, r5 +/* 80043E70 00040DD0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80043E74 00040DD4 7C 7D 1B 78 */ mr r29, r3 +/* 80043E78 00040DD8 A0 04 00 00 */ lhz r0, 0(r4) +/* 80043E7C 00040DDC 38 81 00 0C */ addi r4, r1, 0xc +/* 80043E80 00040DE0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80043E84 00040DE4 48 00 86 F1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80043E88 00040DE8 28 03 00 00 */ cmplwi r3, 0 +/* 80043E8C 00040DEC 41 82 00 28 */ beq lbl_80043EB4 +/* 80043E90 00040DF0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80043E94 00040DF4 7F E4 FB 78 */ mr r4, r31 +/* 80043E98 00040DF8 7F A6 EB 78 */ mr r6, r29 +/* 80043E9C 00040DFC 38 A1 00 08 */ addi r5, r1, 8 +/* 80043EA0 00040E00 B0 01 00 08 */ sth r0, 8(r1) +/* 80043EA4 00040E04 81 83 00 00 */ lwz r12, 0(r3) +/* 80043EA8 00040E08 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80043EAC 00040E0C 7D 89 03 A6 */ mtctr r12 +/* 80043EB0 00040E10 4E 80 04 21 */ bctrl +lbl_80043EB4: +/* 80043EB4 00040E14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80043EB8 00040E18 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80043EBC 00040E1C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80043EC0 00040E20 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80043EC4 00040E24 7C 08 03 A6 */ mtlr r0 +/* 80043EC8 00040E28 38 21 00 20 */ addi r1, r1, 0x20 +/* 80043ECC 00040E2C 4E 80 00 20 */ blr + +.global SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage: +/* 80043ED0 00040E30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80043ED4 00040E34 7C 08 02 A6 */ mflr r0 +/* 80043ED8 00040E38 28 04 00 00 */ cmplwi r4, 0 +/* 80043EDC 00040E3C 7C 67 1B 78 */ mr r7, r3 +/* 80043EE0 00040E40 90 01 00 14 */ stw r0, 0x14(r1) +/* 80043EE4 00040E44 41 82 00 38 */ beq lbl_80043F1C +/* 80043EE8 00040E48 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80043EEC 00040E4C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80043EF0 00040E50 40 82 00 2C */ bne lbl_80043F1C +/* 80043EF4 00040E54 A0 05 00 00 */ lhz r0, 0(r5) +/* 80043EF8 00040E58 7C 83 23 78 */ mr r3, r4 +/* 80043EFC 00040E5C 7C C4 33 78 */ mr r4, r6 +/* 80043F00 00040E60 7C E6 3B 78 */ mr r6, r7 +/* 80043F04 00040E64 B0 01 00 08 */ sth r0, 8(r1) +/* 80043F08 00040E68 38 A1 00 08 */ addi r5, r1, 8 +/* 80043F0C 00040E6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80043F10 00040E70 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80043F14 00040E74 7D 89 03 A6 */ mtctr r12 +/* 80043F18 00040E78 4E 80 04 21 */ bctrl +lbl_80043F1C: +/* 80043F1C 00040E7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80043F20 00040E80 7C 08 03 A6 */ mtlr r0 +/* 80043F24 00040E84 38 21 00 10 */ addi r1, r1, 0x10 +/* 80043F28 00040E88 4E 80 00 20 */ blr + +.global sub_80043f2c +sub_80043f2c: +/* 80043F2C 00040E8C 90 83 0F 84 */ stw r4, 0xf84(r3) +/* 80043F30 00040E90 90 A3 0F 88 */ stw r5, 0xf88(r3) +/* 80043F34 00040E94 D0 23 0F 8C */ stfs f1, 0xf8c(r3) +/* 80043F38 00040E98 4E 80 00 20 */ blr + +.global GetPlayer__13CStateManagerCFv +GetPlayer__13CStateManagerCFv: +/* 80043F3C 00040E9C 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 80043F40 00040EA0 4E 80 00 20 */ blr + +.global SetBossParams__13CStateManagerF9TUniqueIdfUi +SetBossParams__13CStateManagerF9TUniqueIdfUi: +/* 80043F44 00040EA4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80043F48 00040EA8 B0 03 0F 18 */ sth r0, 0xf18(r3) +/* 80043F4C 00040EAC D0 23 0F 1C */ stfs f1, 0xf1c(r3) +/* 80043F50 00040EB0 90 A3 0F 20 */ stw r5, 0xf20(r3) +/* 80043F54 00040EB4 4E 80 00 20 */ blr + +.global SetGameState__13CStateManagerFQ213CStateManager10EGameState +SetGameState__13CStateManagerFQ213CStateManager10EGameState: +/* 80043F58 00040EB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80043F5C 00040EBC 7C 08 02 A6 */ mflr r0 +/* 80043F60 00040EC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80043F64 00040EC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80043F68 00040EC8 7C 9F 23 78 */ mr r31, r4 +/* 80043F6C 00040ECC 93 C1 00 08 */ stw r30, 8(r1) +/* 80043F70 00040ED0 7C 7E 1B 78 */ mr r30, r3 +/* 80043F74 00040ED4 80 03 09 04 */ lwz r0, 0x904(r3) +/* 80043F78 00040ED8 7C 00 F8 00 */ cmpw r0, r31 +/* 80043F7C 00040EDC 41 82 00 74 */ beq lbl_80043FF0 +/* 80043F80 00040EE0 2C 00 00 01 */ cmpwi r0, 1 +/* 80043F84 00040EE4 40 82 00 10 */ bne lbl_80043F94 +/* 80043F88 00040EE8 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 80043F8C 00040EEC 38 80 00 00 */ li r4, 0 +/* 80043F90 00040EF0 48 01 20 65 */ bl SetLoadPauseState__6CWorldFb +lbl_80043F94: +/* 80043F94 00040EF4 2C 1F 00 01 */ cmpwi r31, 1 +/* 80043F98 00040EF8 41 82 00 30 */ beq lbl_80043FC8 +/* 80043F9C 00040EFC 40 80 00 50 */ bge lbl_80043FEC +/* 80043FA0 00040F00 2C 1F 00 00 */ cmpwi r31, 0 +/* 80043FA4 00040F04 40 80 00 08 */ bge lbl_80043FAC +/* 80043FA8 00040F08 48 00 00 44 */ b lbl_80043FEC +lbl_80043FAC: +/* 80043FAC 00040F0C 80 7E 08 8C */ lwz r3, 0x88c(r30) +/* 80043FB0 00040F10 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80043FB4 00040F14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80043FB8 00040F18 41 82 00 34 */ beq lbl_80043FEC +/* 80043FBC 00040F1C 38 80 00 00 */ li r4, 0 +/* 80043FC0 00040F20 48 32 5D 41 */ bl SetDisabled__14CRumbleManagerFb +/* 80043FC4 00040F24 48 00 00 28 */ b lbl_80043FEC +lbl_80043FC8: +/* 80043FC8 00040F28 80 7E 08 8C */ lwz r3, 0x88c(r30) +/* 80043FCC 00040F2C 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80043FD0 00040F30 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80043FD4 00040F34 40 82 00 0C */ bne lbl_80043FE0 +/* 80043FD8 00040F38 38 80 00 01 */ li r4, 1 +/* 80043FDC 00040F3C 48 32 5D 25 */ bl SetDisabled__14CRumbleManagerFb +lbl_80043FE0: +/* 80043FE0 00040F40 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 80043FE4 00040F44 38 80 00 01 */ li r4, 1 +/* 80043FE8 00040F48 48 01 20 0D */ bl SetLoadPauseState__6CWorldFb +lbl_80043FEC: +/* 80043FEC 00040F4C 93 FE 09 04 */ stw r31, 0x904(r30) +lbl_80043FF0: +/* 80043FF0 00040F50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80043FF4 00040F54 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80043FF8 00040F58 83 C1 00 08 */ lwz r30, 8(r1) +/* 80043FFC 00040F5C 7C 08 03 A6 */ mtlr r0 +/* 80044000 00040F60 38 21 00 10 */ addi r1, r1, 0x10 +/* 80044004 00040F64 4E 80 00 20 */ blr + +.global sub_80044008 +sub_80044008: +/* 80044008 00040F68 90 83 0E F4 */ stw r4, 0xef4(r3) +/* 8004400C 00040F6C 80 05 00 00 */ lwz r0, 0(r5) +/* 80044010 00040F70 90 03 0E F8 */ stw r0, 0xef8(r3) +/* 80044014 00040F74 80 05 00 04 */ lwz r0, 4(r5) +/* 80044018 00040F78 90 03 0E FC */ stw r0, 0xefc(r3) +/* 8004401C 00040F7C 80 06 00 00 */ lwz r0, 0(r6) +/* 80044020 00040F80 90 03 0F 00 */ stw r0, 0xf00(r3) +/* 80044024 00040F84 80 06 00 04 */ lwz r0, 4(r6) +/* 80044028 00040F88 90 03 0F 04 */ stw r0, 0xf04(r3) +/* 8004402C 00040F8C 4E 80 00 20 */ blr + +.global sub_80044030 +sub_80044030: +/* 80044030 00040F90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80044034 00040F94 7C 08 02 A6 */ mflr r0 +/* 80044038 00040F98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004403C 00040F9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80044040 00040FA0 7C 9F 23 78 */ mr r31, r4 +/* 80044044 00040FA4 93 C1 00 08 */ stw r30, 8(r1) +/* 80044048 00040FA8 7C 7E 1B 78 */ mr r30, r3 +/* 8004404C 00040FAC 38 1E 0F 70 */ addi r0, r30, 0xf70 +/* 80044050 00040FB0 7C 1F 00 40 */ cmplw r31, r0 +/* 80044054 00040FB4 41 82 00 1C */ beq lbl_80044070 +/* 80044058 00040FB8 80 7E 0F 70 */ lwz r3, 0xf70(r30) +/* 8004405C 00040FBC 48 2D 18 D5 */ bl Free__7CMemoryFPCv +/* 80044060 00040FC0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80044064 00040FC4 38 00 00 00 */ li r0, 0 +/* 80044068 00040FC8 90 7E 0F 70 */ stw r3, 0xf70(r30) +/* 8004406C 00040FCC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80044070: +/* 80044070 00040FD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80044074 00040FD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80044078 00040FD8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004407C 00040FDC 7C 08 03 A6 */ mtlr r0 +/* 80044080 00040FE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80044084 00040FE4 4E 80 00 20 */ blr + +.global sub_80044088 +sub_80044088: +/* 80044088 00040FE8 80 63 0F 70 */ lwz r3, 0xf70(r3) +/* 8004408C 00040FEC 4E 80 00 20 */ blr + +.global sub_80044090 +sub_80044090: +/* 80044090 00040FF0 80 63 0F 70 */ lwz r3, 0xf70(r3) +/* 80044094 00040FF4 4E 80 00 20 */ blr + +.global sub_80044098 +sub_80044098: +/* 80044098 00040FF8 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 8004409C 00040FFC 7C 08 02 A6 */ mflr r0 +/* 800440A0 00041000 90 01 01 64 */ stw r0, 0x164(r1) +/* 800440A4 00041004 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 800440A8 00041008 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 800440AC 0004100C BE C1 01 28 */ stmw r22, 0x128(r1) +/* 800440B0 00041010 7C BF 2B 78 */ mr r31, r5 +/* 800440B4 00041014 7C 7D 1B 78 */ mr r29, r3 +/* 800440B8 00041018 88 05 00 20 */ lbz r0, 0x20(r5) +/* 800440BC 0004101C 7C 9E 23 78 */ mr r30, r4 +/* 800440C0 00041020 7C D8 33 78 */ mr r24, r6 +/* 800440C4 00041024 7C F7 3B 78 */ mr r23, r7 +/* 800440C8 00041028 28 00 00 00 */ cmplwi r0, 0 +/* 800440CC 0004102C 7D 1B 43 78 */ mr r27, r8 +/* 800440D0 00041030 7D 3C 4B 78 */ mr r28, r9 +/* 800440D4 00041034 41 82 03 80 */ beq lbl_80044454 +/* 800440D8 00041038 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800440DC 0004103C 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 800440E0 00041040 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800440E4 00041044 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 800440E8 00041048 38 61 00 94 */ addi r3, r1, 0x94 +/* 800440EC 0004104C 38 BF 00 10 */ addi r5, r31, 0x10 +/* 800440F0 00041050 48 2C FA 21 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800440F4 00041054 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800440F8 00041058 38 81 00 94 */ addi r4, r1, 0x94 +/* 800440FC 0004105C 48 2C EA 79 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80044100 00041060 A0 78 00 00 */ lhz r3, 0(r24) +/* 80044104 00041064 3B 20 00 01 */ li r25, 1 +/* 80044108 00041068 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004410C 0004106C C0 5F 00 04 */ lfs f2, 4(r31) +/* 80044110 00041070 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80044114 00041074 7C 03 00 40 */ cmplw r3, r0 +/* 80044118 00041078 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8004411C 0004107C D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 80044120 00041080 D0 21 01 0C */ stfs f1, 0x10c(r1) +/* 80044124 00041084 D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 80044128 00041088 40 82 00 30 */ bne lbl_80044158 +/* 8004412C 0004108C 3C 60 00 E4 */ lis r3, 0x00E3FFFE@ha +/* 80044130 00041090 80 BF 00 28 */ lwz r5, 0x28(r31) +/* 80044134 00041094 38 00 00 00 */ li r0, 0 +/* 80044138 00041098 80 9F 00 2C */ lwz r4, 0x2c(r31) +/* 8004413C 0004109C 38 63 FF FE */ addi r3, r3, 0x00E3FFFE@l +/* 80044140 000410A0 7C 84 18 38 */ and r4, r4, r3 +/* 80044144 000410A4 7C A3 00 38 */ and r3, r5, r0 +/* 80044148 000410A8 48 28 BA C1 */ bl BitPosition__13CMaterialListFUx +/* 8004414C 000410AC 48 26 E2 79 */ bl GetWorldCollisionResponseType__22CCollisionResponseDataFi +/* 80044150 000410B0 7C 79 1B 78 */ mr r25, r3 +/* 80044154 000410B4 48 00 00 50 */ b lbl_800441A4 +lbl_80044158: +/* 80044158 000410B8 B0 61 00 18 */ sth r3, 0x18(r1) +/* 8004415C 000410BC 7F A3 EB 78 */ mr r3, r29 +/* 80044160 000410C0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80044164 000410C4 48 00 84 41 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80044168 000410C8 7C 64 1B 78 */ mr r4, r3 +/* 8004416C 000410CC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80044170 000410D0 48 06 BB 21 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80044174 000410D4 80 63 00 04 */ lwz r3, 4(r3) +/* 80044178 000410D8 28 03 00 00 */ cmplwi r3, 0 +/* 8004417C 000410DC 41 82 00 28 */ beq lbl_800441A4 +/* 80044180 000410E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80044184 000410E4 7E E6 BB 78 */ mr r6, r23 +/* 80044188 000410E8 38 9F 00 04 */ addi r4, r31, 4 +/* 8004418C 000410EC 38 BF 00 10 */ addi r5, r31, 0x10 +/* 80044190 000410F0 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 80044194 000410F4 38 E0 00 00 */ li r7, 0 +/* 80044198 000410F8 7D 89 03 A6 */ mtctr r12 +/* 8004419C 000410FC 4E 80 04 21 */ bctrl +/* 800441A0 00041100 7C 79 1B 78 */ mr r25, r3 +lbl_800441A4: +/* 800441A4 00041104 7F C4 F3 78 */ mr r4, r30 +/* 800441A8 00041108 7F 25 CB 78 */ mr r5, r25 +/* 800441AC 0004110C 38 61 00 5C */ addi r3, r1, 0x5c +/* 800441B0 00041110 48 26 E4 11 */ bl GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +/* 800441B4 00041114 88 01 00 68 */ lbz r0, 0x68(r1) +/* 800441B8 00041118 28 00 00 00 */ cmplwi r0, 0 +/* 800441BC 0004111C 98 01 00 78 */ stb r0, 0x78(r1) +/* 800441C0 00041120 41 82 00 28 */ beq lbl_800441E8 +/* 800441C4 00041124 37 01 00 6C */ addic. r24, r1, 0x6c +/* 800441C8 00041128 38 81 00 5C */ addi r4, r1, 0x5c +/* 800441CC 0004112C 41 82 00 1C */ beq lbl_800441E8 +/* 800441D0 00041130 7F 03 C3 78 */ mr r3, r24 +/* 800441D4 00041134 48 2F CC D5 */ bl __ct__6CTokenFRC6CToken +/* 800441D8 00041138 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800441DC 0004113C 7F 03 C3 78 */ mr r3, r24 +/* 800441E0 00041140 90 18 00 08 */ stw r0, 8(r24) +/* 800441E4 00041144 48 2F CB A1 */ bl Lock__6CTokenFv +lbl_800441E8: +/* 800441E8 00041148 88 01 00 68 */ lbz r0, 0x68(r1) +/* 800441EC 0004114C 28 00 00 00 */ cmplwi r0, 0 +/* 800441F0 00041150 41 82 00 1C */ beq lbl_8004420C +/* 800441F4 00041154 34 61 00 5C */ addic. r3, r1, 0x5c +/* 800441F8 00041158 41 82 00 14 */ beq lbl_8004420C +/* 800441FC 0004115C 28 03 00 00 */ cmplwi r3, 0 +/* 80044200 00041160 41 82 00 0C */ beq lbl_8004420C +/* 80044204 00041164 38 80 00 00 */ li r4, 0 +/* 80044208 00041168 48 2F CC 39 */ bl __dt__6CTokenFv +lbl_8004420C: +/* 8004420C 0004116C 88 01 00 78 */ lbz r0, 0x78(r1) +/* 80044210 00041170 38 60 00 00 */ li r3, 0 +/* 80044214 00041174 98 61 00 68 */ stb r3, 0x68(r1) +/* 80044218 00041178 28 00 00 00 */ cmplwi r0, 0 +/* 8004421C 0004117C 41 82 01 54 */ beq lbl_80044370 +/* 80044220 00041180 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha +/* 80044224 00041184 3B 00 00 00 */ li r24, 0 +/* 80044228 00041188 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l +/* 8004422C 0004118C 3A C0 00 00 */ li r22, 0 +/* 80044230 00041190 38 60 01 00 */ li r3, 0x100 +/* 80044234 00041194 38 A0 00 00 */ li r5, 0 +/* 80044238 00041198 48 2D 16 35 */ bl __nw__FUlPCcPCc +/* 8004423C 0004119C 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80044240 000411A0 41 82 00 C8 */ beq lbl_80044308 +/* 80044244 000411A4 57 64 06 3E */ clrlwi r4, r27, 0x18 +/* 80044248 000411A8 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 8004424C 000411AC 7C 64 00 D0 */ neg r3, r4 +/* 80044250 000411B0 57 80 06 3E */ clrlwi r0, r28, 0x18 +/* 80044254 000411B4 7C 65 23 78 */ or r5, r3, r4 +/* 80044258 000411B8 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha +/* 8004425C 000411BC 7C 00 00 34 */ cntlzw r0, r0 +/* 80044260 000411C0 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80044264 000411C4 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l +/* 80044268 000411C8 7C A5 FE 70 */ srawi r5, r5, 0x1f +/* 8004426C 000411CC 38 60 00 02 */ li r3, 2 +/* 80044270 000411D0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80044274 000411D4 3B 61 00 50 */ addi r27, r1, 0x50 +/* 80044278 000411D8 54 17 D9 7E */ srwi r23, r0, 5 +/* 8004427C 000411DC D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80044280 000411E0 7C 7C 28 38 */ and r28, r3, r5 +/* 80044284 000411E4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80044288 000411E8 38 84 00 07 */ addi r4, r4, 7 +/* 8004428C 000411EC 4B FC 0A 2D */ bl string_l__4rstlFPCc +/* 80044290 000411F0 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) +/* 80044294 000411F4 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 80044298 000411F8 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8004429C 000411FC 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 800442A0 00041200 90 81 00 34 */ stw r4, 0x34(r1) +/* 800442A4 00041204 38 61 00 7C */ addi r3, r1, 0x7c +/* 800442A8 00041208 38 81 00 30 */ addi r4, r1, 0x30 +/* 800442AC 0004120C 38 C1 00 34 */ addi r6, r1, 0x34 +/* 800442B0 00041210 90 01 00 30 */ stw r0, 0x30(r1) +/* 800442B4 00041214 3B 00 00 01 */ li r24, 1 +/* 800442B8 00041218 48 00 D1 CD */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 800442BC 0004121C 7F A4 EB 78 */ mr r4, r29 +/* 800442C0 00041220 38 61 00 10 */ addi r3, r1, 0x10 +/* 800442C4 00041224 3A C0 00 01 */ li r22, 1 +/* 800442C8 00041228 48 00 8E 15 */ bl AllocateUniqueId__13CStateManagerFv +/* 800442CC 0004122C A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800442D0 00041230 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800442D4 00041234 48 30 5C D9 */ bl White__6CColorFv +/* 800442D8 00041238 93 61 00 08 */ stw r27, 8(r1) +/* 800442DC 0004123C 38 81 00 6C */ addi r4, r1, 0x6c +/* 800442E0 00041240 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800442E4 00041244 38 E1 00 7C */ addi r7, r1, 0x7c +/* 800442E8 00041248 90 61 00 0C */ stw r3, 0xc(r1) +/* 800442EC 0004124C 7F 43 D3 78 */ mr r3, r26 +/* 800442F0 00041250 39 01 00 40 */ addi r8, r1, 0x40 +/* 800442F4 00041254 39 21 00 F0 */ addi r9, r1, 0xf0 +/* 800442F8 00041258 7E EA E3 78 */ or r10, r23, r28 +/* 800442FC 0004125C 38 C0 00 01 */ li r6, 1 +/* 80044300 00041260 48 01 67 F9 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +/* 80044304 00041264 7C 7A 1B 78 */ mr r26, r3 +lbl_80044308: +/* 80044308 00041268 7E C0 07 75 */ extsb. r0, r22 +/* 8004430C 0004126C 7F 57 D3 78 */ mr r23, r26 +/* 80044310 00041270 41 82 00 44 */ beq lbl_80044354 +/* 80044314 00041274 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80044318 00041278 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 8004431C 0004127C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80044320 00041280 90 61 00 20 */ stw r3, 0x20(r1) +/* 80044324 00041284 7C 64 1B 78 */ mr r4, r3 +/* 80044328 00041288 7C 03 02 14 */ add r0, r3, r0 +/* 8004432C 0004128C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80044330 00041290 90 01 00 28 */ stw r0, 0x28(r1) +/* 80044334 00041294 90 01 00 24 */ stw r0, 0x24(r1) +/* 80044338 00041298 48 00 00 08 */ b lbl_80044340 +lbl_8004433C: +/* 8004433C 0004129C 38 84 00 0C */ addi r4, r4, 0xc +lbl_80044340: +/* 80044340 000412A0 7C 04 00 40 */ cmplw r4, r0 +/* 80044344 000412A4 40 82 FF F8 */ bne lbl_8004433C +/* 80044348 000412A8 28 03 00 00 */ cmplwi r3, 0 +/* 8004434C 000412AC 41 82 00 08 */ beq lbl_80044354 +/* 80044350 000412B0 48 2D 15 E1 */ bl Free__7CMemoryFPCv +lbl_80044354: +/* 80044354 000412B4 7F 00 07 75 */ extsb. r0, r24 +/* 80044358 000412B8 41 82 00 0C */ beq lbl_80044364 +/* 8004435C 000412BC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80044360 000412C0 48 2F 97 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80044364: +/* 80044364 000412C4 7F A3 EB 78 */ mr r3, r29 +/* 80044368 000412C8 7E E4 BB 78 */ mr r4, r23 +/* 8004436C 000412CC 48 00 89 89 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +lbl_80044370: +/* 80044370 000412D0 7F C3 F3 78 */ mr r3, r30 +/* 80044374 000412D4 7F 24 CB 78 */ mr r4, r25 +/* 80044378 000412D8 48 26 E1 59 */ bl GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +/* 8004437C 000412DC 7C 78 1B 79 */ or. r24, r3, r3 +/* 80044380 000412E0 41 80 00 A8 */ blt lbl_80044428 +/* 80044384 000412E4 7F C3 F3 78 */ mr r3, r30 +/* 80044388 000412E8 48 26 E0 71 */ bl GetAudibleRange__22CCollisionResponseDataCFv +/* 8004438C 000412EC FF E0 08 90 */ fmr f31, f1 +/* 80044390 000412F0 7F C3 F3 78 */ mr r3, r30 +/* 80044394 000412F4 48 26 E0 5D */ bl GetAudibleFallOff__22CCollisionResponseDataCFv +/* 80044398 000412F8 C0 82 85 68 */ lfs f4, lbl_805AA288@sda21(r2) +/* 8004439C 000412FC 38 C0 00 00 */ li r6, 0 +/* 800443A0 00041300 88 A2 CC 40 */ lbz r5, lbl_805AE960@sda21(r2) +/* 800443A4 00041304 38 E0 00 01 */ li r7, 1 +/* 800443A8 00041308 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 800443AC 0004130C 38 80 00 14 */ li r4, 0x14 +/* 800443B0 00041310 D0 81 00 C4 */ stfs f4, 0xc4(r1) +/* 800443B4 00041314 57 03 04 3E */ clrlwi r3, r24, 0x10 +/* 800443B8 00041318 C0 7F 00 04 */ lfs f3, 4(r31) +/* 800443BC 0004131C D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 800443C0 00041320 C0 5F 00 08 */ lfs f2, 8(r31) +/* 800443C4 00041324 D0 81 00 CC */ stfs f4, 0xcc(r1) +/* 800443C8 00041328 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 800443CC 0004132C D0 81 00 D0 */ stfs f4, 0xd0(r1) +/* 800443D0 00041330 D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 800443D4 00041334 D0 81 00 D8 */ stfs f4, 0xd8(r1) +/* 800443D8 00041338 D3 E1 00 DC */ stfs f31, 0xdc(r1) +/* 800443DC 0004133C D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 800443E0 00041340 90 E1 00 E4 */ stw r7, 0xe4(r1) +/* 800443E4 00041344 B0 C1 00 E8 */ sth r6, 0xe8(r1) +/* 800443E8 00041348 98 A1 00 EA */ stb r5, 0xea(r1) +/* 800443EC 0004134C 98 81 00 EB */ stb r4, 0xeb(r1) +/* 800443F0 00041350 98 C1 00 EC */ stb r6, 0xec(r1) +/* 800443F4 00041354 98 01 00 ED */ stb r0, 0xed(r1) +/* 800443F8 00041358 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 800443FC 0004135C D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 80044400 00041360 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 80044404 00041364 48 2A 45 AD */ bl TranslateSFXID__11CSfxManagerFUs +/* 80044408 00041368 B0 61 00 E8 */ sth r3, 0xe8(r1) +/* 8004440C 0004136C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80044410 00041370 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 80044414 00041374 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 80044418 00041378 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) +/* 8004441C 0004137C 38 A0 00 01 */ li r5, 1 +/* 80044420 00041380 38 E0 00 00 */ li r7, 0 +/* 80044424 00041384 48 2A 5B BD */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +lbl_80044428: +/* 80044428 00041388 88 01 00 78 */ lbz r0, 0x78(r1) +/* 8004442C 0004138C 28 00 00 00 */ cmplwi r0, 0 +/* 80044430 00041390 41 82 00 1C */ beq lbl_8004444C +/* 80044434 00041394 34 61 00 6C */ addic. r3, r1, 0x6c +/* 80044438 00041398 41 82 00 14 */ beq lbl_8004444C +/* 8004443C 0004139C 28 03 00 00 */ cmplwi r3, 0 +/* 80044440 000413A0 41 82 00 0C */ beq lbl_8004444C +/* 80044444 000413A4 38 80 00 00 */ li r4, 0 +/* 80044448 000413A8 48 2F C9 F9 */ bl __dt__6CTokenFv +lbl_8004444C: +/* 8004444C 000413AC 38 00 00 00 */ li r0, 0 +/* 80044450 000413B0 98 01 00 78 */ stb r0, 0x78(r1) +lbl_80044454: +/* 80044454 000413B4 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 80044458 000413B8 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 8004445C 000413BC BA C1 01 28 */ lmw r22, 0x128(r1) +/* 80044460 000413C0 80 01 01 64 */ lwz r0, 0x164(r1) +/* 80044464 000413C4 7C 08 03 A6 */ mtlr r0 +/* 80044468 000413C8 38 21 01 60 */ addi r1, r1, 0x160 +/* 8004446C 000413CC 4E 80 00 20 */ blr + +.global GetCharacterRenderMaskAndTarget__13CStateManagerFbRiRi +GetCharacterRenderMaskAndTarget__13CStateManagerFbRiRi: +/* 80044470 000413D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80044474 000413D4 7C 08 02 A6 */ mflr r0 +/* 80044478 000413D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004447C 000413DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80044480 000413E0 7C DF 33 78 */ mr r31, r6 +/* 80044484 000413E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80044488 000413E8 7C BE 2B 78 */ mr r30, r5 +/* 8004448C 000413EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80044490 000413F0 7C 9D 23 78 */ mr r29, r4 +/* 80044494 000413F4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80044498 000413F8 7C 7C 1B 78 */ mr r28, r3 +/* 8004449C 000413FC 7F 84 E3 78 */ mr r4, r28 +/* 800444A0 00041400 80 63 08 B8 */ lwz r3, 0x8b8(r3) +/* 800444A4 00041404 80 63 00 00 */ lwz r3, 0(r3) +/* 800444A8 00041408 48 04 D0 B1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 800444AC 0004140C 2C 03 00 02 */ cmpwi r3, 2 +/* 800444B0 00041410 38 00 00 00 */ li r0, 0 +/* 800444B4 00041414 38 80 00 00 */ li r4, 0 +/* 800444B8 00041418 41 82 00 24 */ beq lbl_800444DC +/* 800444BC 0004141C 40 80 00 14 */ bge lbl_800444D0 +/* 800444C0 00041420 2C 03 00 00 */ cmpwi r3, 0 +/* 800444C4 00041424 41 82 00 18 */ beq lbl_800444DC +/* 800444C8 00041428 40 80 00 20 */ bge lbl_800444E8 +/* 800444CC 0004142C 48 00 00 74 */ b lbl_80044540 +lbl_800444D0: +/* 800444D0 00041430 2C 03 00 04 */ cmpwi r3, 4 +/* 800444D4 00041434 40 80 00 6C */ bge lbl_80044540 +/* 800444D8 00041438 48 00 00 1C */ b lbl_800444F4 +lbl_800444DC: +/* 800444DC 0004143C 38 00 10 00 */ li r0, 0x1000 +/* 800444E0 00041440 38 80 00 00 */ li r4, 0 +/* 800444E4 00041444 48 00 00 5C */ b lbl_80044540 +lbl_800444E8: +/* 800444E8 00041448 38 00 08 00 */ li r0, 0x800 +/* 800444EC 0004144C 38 80 00 00 */ li r4, 0 +/* 800444F0 00041450 48 00 00 50 */ b lbl_80044540 +lbl_800444F4: +/* 800444F4 00041454 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 800444F8 00041458 41 82 00 28 */ beq lbl_80044520 +/* 800444FC 0004145C 80 1C 0F 34 */ lwz r0, 0xf34(r28) +/* 80044500 00041460 2C 00 00 00 */ cmpwi r0, 0 +/* 80044504 00041464 40 82 00 10 */ bne lbl_80044514 +/* 80044508 00041468 38 00 06 00 */ li r0, 0x600 +/* 8004450C 0004146C 38 80 00 00 */ li r4, 0 +/* 80044510 00041470 48 00 00 30 */ b lbl_80044540 +lbl_80044514: +/* 80044514 00041474 38 00 06 00 */ li r0, 0x600 +/* 80044518 00041478 38 80 02 00 */ li r4, 0x200 +/* 8004451C 0004147C 48 00 00 24 */ b lbl_80044540 +lbl_80044520: +/* 80044520 00041480 80 1C 0F 34 */ lwz r0, 0xf34(r28) +/* 80044524 00041484 2C 00 00 01 */ cmpwi r0, 1 +/* 80044528 00041488 40 82 00 10 */ bne lbl_80044538 +/* 8004452C 0004148C 38 00 05 00 */ li r0, 0x500 +/* 80044530 00041490 38 80 00 00 */ li r4, 0 +/* 80044534 00041494 48 00 00 0C */ b lbl_80044540 +lbl_80044538: +/* 80044538 00041498 38 00 05 00 */ li r0, 0x500 +/* 8004453C 0004149C 38 80 01 00 */ li r4, 0x100 +lbl_80044540: +/* 80044540 000414A0 90 1E 00 00 */ stw r0, 0(r30) +/* 80044544 000414A4 90 9F 00 00 */ stw r4, 0(r31) +/* 80044548 000414A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004454C 000414AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80044550 000414B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80044554 000414B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80044558 000414B8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8004455C 000414BC 7C 08 03 A6 */ mtlr r0 +/* 80044560 000414C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80044564 000414C4 4E 80 00 20 */ blr + +.global UpdateThermalVisor__13CStateManagerFv +UpdateThermalVisor__13CStateManagerFv: +/* 80044568 000414C8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8004456C 000414CC 7C 08 02 A6 */ mflr r0 +/* 80044570 000414D0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80044574 000414D4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80044578 000414D8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8004457C 000414DC DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80044580 000414E0 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80044584 000414E4 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 80044588 000414E8 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8004458C 000414EC DB 81 00 60 */ stfd f28, 0x60(r1) +/* 80044590 000414F0 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 80044594 000414F4 DB 61 00 50 */ stfd f27, 0x50(r1) +/* 80044598 000414F8 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 +/* 8004459C 000414FC DB 41 00 40 */ stfd f26, 0x40(r1) +/* 800445A0 00041500 F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 +/* 800445A4 00041504 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800445A8 00041508 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 800445AC 0004150C 7C 7C 1B 78 */ mr r28, r3 +/* 800445B0 00041510 7F 84 E3 78 */ mr r4, r28 +/* 800445B4 00041514 D0 03 0F 28 */ stfs f0, 0xf28(r3) +/* 800445B8 00041518 D0 03 0F 24 */ stfs f0, 0xf24(r3) +/* 800445BC 0004151C 80 63 08 B8 */ lwz r3, 0x8b8(r3) +/* 800445C0 00041520 80 63 00 00 */ lwz r3, 0(r3) +/* 800445C4 00041524 48 04 CF 95 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 800445C8 00041528 2C 03 00 03 */ cmpwi r3, 3 +/* 800445CC 0004152C 40 82 01 DC */ bne lbl_800447A8 +/* 800445D0 00041530 80 BC 08 CC */ lwz r5, 0x8cc(r28) +/* 800445D4 00041534 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800445D8 00041538 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800445DC 0004153C 7C 05 00 00 */ cmpw r5, r0 +/* 800445E0 00041540 41 82 01 C8 */ beq lbl_800447A8 +/* 800445E4 00041544 80 9C 08 50 */ lwz r4, 0x850(r28) +/* 800445E8 00041548 54 A3 18 38 */ slwi r3, r5, 3 +/* 800445EC 0004154C C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 800445F0 00041550 38 03 00 04 */ addi r0, r3, 4 +/* 800445F4 00041554 80 64 00 20 */ lwz r3, 0x20(r4) +/* 800445F8 00041558 3B C0 00 00 */ li r30, 0 +/* 800445FC 0004155C 80 9C 08 4C */ lwz r4, 0x84c(r28) +/* 80044600 00041560 EF 60 00 32 */ fmuls f27, f0, f0 +/* 80044604 00041564 7F 63 00 2E */ lwzx r27, r3, r0 +/* 80044608 00041568 3B A0 00 00 */ li r29, 0 +/* 8004460C 0004156C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80044610 00041570 3B E0 00 00 */ li r31, 0 +/* 80044614 00041574 C3 C4 00 40 */ lfs f30, 0x40(r4) +/* 80044618 00041578 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8004461C 0004157C C3 A4 00 50 */ lfs f29, 0x50(r4) +/* 80044620 00041580 C3 82 85 6C */ lfs f28, lbl_805AA28C@sda21(r2) +/* 80044624 00041584 83 5B 00 D0 */ lwz r26, 0xd0(r27) +/* 80044628 00041588 C3 E2 85 70 */ lfs f31, lbl_805AA290@sda21(r2) +/* 8004462C 0004158C 48 00 00 E4 */ b lbl_80044710 +lbl_80044630: +/* 80044630 00041590 80 1B 00 D8 */ lwz r0, 0xd8(r27) +/* 80044634 00041594 7C 80 FA 14 */ add r4, r0, r31 +/* 80044638 00041598 C0 64 00 1C */ lfs f3, 0x1c(r4) +/* 8004463C 0004159C C0 44 00 28 */ lfs f2, 0x28(r4) +/* 80044640 000415A0 C0 24 00 18 */ lfs f1, 0x18(r4) +/* 80044644 000415A4 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80044648 000415A8 EC 83 10 2A */ fadds f4, f3, f2 +/* 8004464C 000415AC C0 64 00 34 */ lfs f3, 0x34(r4) +/* 80044650 000415B0 EC 41 00 2A */ fadds f2, f1, f0 +/* 80044654 000415B4 C0 24 00 30 */ lfs f1, 0x30(r4) +/* 80044658 000415B8 EC 84 18 2A */ fadds f4, f4, f3 +/* 8004465C 000415BC C0 64 00 40 */ lfs f3, 0x40(r4) +/* 80044660 000415C0 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 80044664 000415C4 EC 22 08 2A */ fadds f1, f2, f1 +/* 80044668 000415C8 EC 44 18 2A */ fadds f2, f4, f3 +/* 8004466C 000415CC EC 01 00 2A */ fadds f0, f1, f0 +/* 80044670 000415D0 EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 80044674 000415D4 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80044678 000415D8 EC 3D 08 28 */ fsubs f1, f29, f1 +/* 8004467C 000415DC EC 5E 00 28 */ fsubs f2, f30, f0 +/* 80044680 000415E0 EC 01 00 72 */ fmuls f0, f1, f1 +/* 80044684 000415E4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80044688 000415E8 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 8004468C 000415EC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80044690 000415F0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80044694 000415F4 EF 5B 00 2A */ fadds f26, f27, f0 +/* 80044698 000415F8 FC 1A E0 40 */ fcmpo cr0, f26, f28 +/* 8004469C 000415FC 40 80 00 6C */ bge lbl_80044708 +/* 800446A0 00041600 38 61 00 0C */ addi r3, r1, 0xc +/* 800446A4 00041604 38 A0 00 00 */ li r5, 0 +/* 800446A8 00041608 48 01 AC 7D */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 800446AC 0004160C 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 800446B0 00041610 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800446B4 00041614 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800446B8 00041618 7C 05 00 00 */ cmpw r5, r0 +/* 800446BC 0004161C 41 82 00 4C */ beq lbl_80044708 +/* 800446C0 00041620 80 9C 08 50 */ lwz r4, 0x850(r28) +/* 800446C4 00041624 54 A3 18 38 */ slwi r3, r5, 3 +/* 800446C8 00041628 38 03 00 04 */ addi r0, r3, 4 +/* 800446CC 0004162C 90 A1 00 08 */ stw r5, 8(r1) +/* 800446D0 00041630 80 64 00 20 */ lwz r3, 0x20(r4) +/* 800446D4 00041634 7C 83 00 2E */ lwzx r4, r3, r0 +/* 800446D8 00041638 88 04 00 F0 */ lbz r0, 0xf0(r4) +/* 800446DC 0004163C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800446E0 00041640 41 82 00 28 */ beq lbl_80044708 +/* 800446E4 00041644 41 82 00 10 */ beq lbl_800446F4 +/* 800446E8 00041648 80 64 01 2C */ lwz r3, 0x12c(r4) +/* 800446EC 0004164C 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800446F0 00041650 48 00 00 08 */ b lbl_800446F8 +lbl_800446F4: +/* 800446F4 00041654 38 00 00 00 */ li r0, 0 +lbl_800446F8: +/* 800446F8 00041658 2C 00 00 01 */ cmpwi r0, 1 +/* 800446FC 0004165C 40 82 00 0C */ bne lbl_80044708 +/* 80044700 00041660 FF 80 D0 90 */ fmr f28, f26 +/* 80044704 00041664 7C 9E 23 78 */ mr r30, r4 +lbl_80044708: +/* 80044708 00041668 3B FF 00 4C */ addi r31, r31, 0x4c +/* 8004470C 0004166C 3B BD 00 01 */ addi r29, r29, 1 +lbl_80044710: +/* 80044710 00041670 7C 1D D0 00 */ cmpw r29, r26 +/* 80044714 00041674 41 80 FF 1C */ blt lbl_80044630 +/* 80044718 00041678 80 7B 01 2C */ lwz r3, 0x12c(r27) +/* 8004471C 0004167C 28 1E 00 00 */ cmplwi r30, 0 +/* 80044720 00041680 C0 43 11 1C */ lfs f2, 0x111c(r3) +/* 80044724 00041684 41 82 00 80 */ beq lbl_800447A4 +/* 80044728 00041688 C0 62 85 68 */ lfs f3, lbl_805AA288@sda21(r2) +/* 8004472C 0004168C FC 03 E0 00 */ fcmpu cr0, f3, f28 +/* 80044730 00041690 40 82 00 08 */ bne lbl_80044738 +/* 80044734 00041694 48 00 00 10 */ b lbl_80044744 +lbl_80044738: +/* 80044738 00041698 FC 00 E0 34 */ frsqrte f0, f28 +/* 8004473C 0004169C FC 7C 00 32 */ fmul f3, f28, f0 +/* 80044740 000416A0 FC 60 18 18 */ frsp f3, f3 +lbl_80044744: +/* 80044744 000416A4 C0 22 85 74 */ lfs f1, lbl_805AA294@sda21(r2) +/* 80044748 000416A8 C0 02 85 78 */ lfs f0, lbl_805AA298@sda21(r2) +/* 8004474C 000416AC EC 63 08 28 */ fsubs f3, f3, f1 +/* 80044750 000416B0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80044754 000416B4 40 80 00 48 */ bge lbl_8004479C +/* 80044758 000416B8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004475C 000416BC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80044760 000416C0 40 81 00 18 */ ble lbl_80044778 +/* 80044764 000416C4 C0 02 85 80 */ lfs f0, lbl_805AA2A0@sda21(r2) +/* 80044768 000416C8 C0 22 85 7C */ lfs f1, lbl_805AA29C@sda21(r2) +/* 8004476C 000416CC EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80044770 000416D0 EC 61 08 3A */ fmadds f3, f1, f0, f1 +/* 80044774 000416D4 48 00 00 08 */ b lbl_8004477C +lbl_80044778: +/* 80044778 000416D8 C0 62 85 7C */ lfs f3, lbl_805AA29C@sda21(r2) +lbl_8004477C: +/* 8004477C 000416DC C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 80044780 000416E0 80 7E 01 2C */ lwz r3, 0x12c(r30) +/* 80044784 000416E4 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80044788 000416E8 C0 03 11 1C */ lfs f0, 0x111c(r3) +/* 8004478C 000416EC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80044790 000416F0 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 80044794 000416F4 D0 1C 0F 24 */ stfs f0, 0xf24(r28) +/* 80044798 000416F8 48 00 00 10 */ b lbl_800447A8 +lbl_8004479C: +/* 8004479C 000416FC D0 5C 0F 24 */ stfs f2, 0xf24(r28) +/* 800447A0 00041700 48 00 00 08 */ b lbl_800447A8 +lbl_800447A4: +/* 800447A4 00041704 D0 5C 0F 24 */ stfs f2, 0xf24(r28) +lbl_800447A8: +/* 800447A8 00041708 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 800447AC 0004170C CB E1 00 90 */ lfd f31, 0x90(r1) +/* 800447B0 00041710 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 800447B4 00041714 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 800447B8 00041718 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 800447BC 0004171C CB A1 00 70 */ lfd f29, 0x70(r1) +/* 800447C0 00041720 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 800447C4 00041724 CB 81 00 60 */ lfd f28, 0x60(r1) +/* 800447C8 00041728 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 +/* 800447CC 0004172C CB 61 00 50 */ lfd f27, 0x50(r1) +/* 800447D0 00041730 E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 +/* 800447D4 00041734 CB 41 00 40 */ lfd f26, 0x40(r1) +/* 800447D8 00041738 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800447DC 0004173C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800447E0 00041740 7C 08 03 A6 */ mtlr r0 +/* 800447E4 00041744 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800447E8 00041748 4E 80 00 20 */ blr + +.global CanShowMapScreen__13CStateManagerFv +CanShowMapScreen__13CStateManagerFv: +/* 800447EC 0004174C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800447F0 00041750 7C 08 02 A6 */ mflr r0 +/* 800447F4 00041754 90 01 00 14 */ stw r0, 0x14(r1) +/* 800447F8 00041758 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800447FC 0004175C 38 63 01 F8 */ addi r3, r3, 0x1f8 +/* 80044800 00041760 48 22 2F 1D */ bl GetCurrentDisplayedHint__12CHintOptionsCFv +/* 80044804 00041764 28 03 00 00 */ cmplwi r3, 0 +/* 80044808 00041768 41 82 00 18 */ beq lbl_80044820 +/* 8004480C 0004176C 48 22 36 41 */ bl CanContinue__Q212CHintOptions10SHintStateFv +/* 80044810 00041770 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80044814 00041774 40 82 00 0C */ bne lbl_80044820 +/* 80044818 00041778 38 60 00 00 */ li r3, 0 +/* 8004481C 0004177C 48 00 00 08 */ b lbl_80044824 +lbl_80044820: +/* 80044820 00041780 38 60 00 01 */ li r3, 1 +lbl_80044824: +/* 80044824 00041784 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80044828 00041788 7C 08 03 A6 */ mtlr r0 +/* 8004482C 0004178C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80044830 00041790 4E 80 00 20 */ blr + +.global ShowPausedHUDMemo__13CStateManagerFUif +ShowPausedHUDMemo__13CStateManagerFUif: +/* 80044834 00041794 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80044838 00041798 7C 08 02 A6 */ mflr r0 +/* 8004483C 0004179C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80044840 000417A0 D0 23 0F 78 */ stfs f1, 0xf78(r3) +/* 80044844 000417A4 90 83 0F 08 */ stw r4, 0xf08(r3) +/* 80044848 000417A8 38 80 00 05 */ li r4, 5 +/* 8004484C 000417AC 48 00 00 15 */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition +/* 80044850 000417B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80044854 000417B4 7C 08 03 A6 */ mtlr r0 +/* 80044858 000417B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004485C 000417BC 4E 80 00 20 */ blr + +.global DeferStateTransition__13CStateManagerF23EStateManagerTransition +DeferStateTransition__13CStateManagerF23EStateManagerTransition: +/* 80044860 000417C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80044864 000417C4 7C 08 02 A6 */ mflr r0 +/* 80044868 000417C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004486C 000417CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80044870 000417D0 7C 9F 23 79 */ or. r31, r4, r4 +/* 80044874 000417D4 93 C1 00 08 */ stw r30, 8(r1) +/* 80044878 000417D8 7C 7E 1B 78 */ mr r30, r3 +/* 8004487C 000417DC 40 82 00 28 */ bne lbl_800448A4 +/* 80044880 000417E0 80 1E 0F 90 */ lwz r0, 0xf90(r30) +/* 80044884 000417E4 2C 00 00 00 */ cmpwi r0, 0 +/* 80044888 000417E8 41 82 00 38 */ beq lbl_800448C0 +/* 8004488C 000417EC 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 80044890 000417F0 38 80 00 00 */ li r4, 0 +/* 80044894 000417F4 48 01 17 61 */ bl SetLoadPauseState__6CWorldFb +/* 80044898 000417F8 38 00 00 00 */ li r0, 0 +/* 8004489C 000417FC 90 1E 0F 90 */ stw r0, 0xf90(r30) +/* 800448A0 00041800 48 00 00 20 */ b lbl_800448C0 +lbl_800448A4: +/* 800448A4 00041804 80 1E 0F 90 */ lwz r0, 0xf90(r30) +/* 800448A8 00041808 2C 00 00 00 */ cmpwi r0, 0 +/* 800448AC 0004180C 40 82 00 14 */ bne lbl_800448C0 +/* 800448B0 00041810 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 800448B4 00041814 38 80 00 01 */ li r4, 1 +/* 800448B8 00041818 48 01 17 3D */ bl SetLoadPauseState__6CWorldFb +/* 800448BC 0004181C 93 FE 0F 90 */ stw r31, 0xf90(r30) +lbl_800448C0: +/* 800448C0 00041820 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800448C4 00041824 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800448C8 00041828 83 C1 00 08 */ lwz r30, 8(r1) +/* 800448CC 0004182C 7C 08 03 A6 */ mtlr r0 +/* 800448D0 00041830 38 21 00 10 */ addi r1, r1, 0x10 +/* 800448D4 00041834 4E 80 00 20 */ blr + +.global RenderLast__13CStateManagerFRC9TUniqueId +RenderLast__13CStateManagerFRC9TUniqueId: +/* 800448D8 00041838 80 A3 08 6C */ lwz r5, 0x86c(r3) +/* 800448DC 0004183C 3C 65 00 01 */ addis r3, r5, 1 +/* 800448E0 00041840 80 03 F3 9C */ lwz r0, -0xc64(r3) +/* 800448E4 00041844 2C 00 00 14 */ cmpwi r0, 0x14 +/* 800448E8 00041848 40 82 00 0C */ bne lbl_800448F4 +/* 800448EC 0004184C 38 60 00 00 */ li r3, 0 +/* 800448F0 00041850 4E 80 00 20 */ blr +lbl_800448F4: +/* 800448F4 00041854 54 00 08 3C */ slwi r0, r0, 1 +/* 800448F8 00041858 7C 63 02 14 */ add r3, r3, r0 +/* 800448FC 0004185C 34 63 F3 A0 */ addic. r3, r3, -3168 +/* 80044900 00041860 41 82 00 0C */ beq lbl_8004490C +/* 80044904 00041864 A0 04 00 00 */ lhz r0, 0(r4) +/* 80044908 00041868 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004490C: +/* 8004490C 0004186C 3C A5 00 01 */ addis r5, r5, 1 +/* 80044910 00041870 38 60 00 01 */ li r3, 1 +/* 80044914 00041874 80 85 F3 9C */ lwz r4, -0xc64(r5) +/* 80044918 00041878 38 04 00 01 */ addi r0, r4, 1 +/* 8004491C 0004187C 90 05 F3 9C */ stw r0, -0xc64(r5) +/* 80044920 00041880 4E 80 00 20 */ blr + +.global AddDrawableActorPlane__13CStateManagerCFRC6CActorRC6CPlaneRC6CAABox +AddDrawableActorPlane__13CStateManagerCFRC6CActorRC6CPlaneRC6CAABox: +/* 80044924 00041884 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80044928 00041888 7C 08 02 A6 */ mflr r0 +/* 8004492C 0004188C 7C C8 33 78 */ mr r8, r6 +/* 80044930 00041890 7C A6 2B 78 */ mr r6, r5 +/* 80044934 00041894 90 01 00 14 */ stw r0, 0x14(r1) +/* 80044938 00041898 7D 05 43 78 */ mr r5, r8 +/* 8004493C 0004189C 80 E3 08 DC */ lwz r7, 0x8dc(r3) +/* 80044940 000418A0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80044944 000418A4 38 07 00 01 */ addi r0, r7, 1 +/* 80044948 000418A8 38 E0 00 00 */ li r7, 0 +/* 8004494C 000418AC 90 04 00 CC */ stw r0, 0xcc(r4) +/* 80044950 000418B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80044954 000418B4 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80044958 000418B8 7D 89 03 A6 */ mtctr r12 +/* 8004495C 000418BC 4E 80 04 21 */ bctrl +/* 80044960 000418C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80044964 000418C4 7C 08 03 A6 */ mtlr r0 +/* 80044968 000418C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004496C 000418CC 4E 80 00 20 */ blr + +.global AddDrawableActor__13CStateManagerCFRC6CActorRC9CVector3fRC6CAABox +AddDrawableActor__13CStateManagerCFRC6CActorRC9CVector3fRC6CAABox: +/* 80044970 000418D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80044974 000418D4 7C 08 02 A6 */ mflr r0 +/* 80044978 000418D8 38 E0 00 00 */ li r7, 0 +/* 8004497C 000418DC 39 00 00 00 */ li r8, 0 +/* 80044980 000418E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80044984 000418E4 81 23 08 DC */ lwz r9, 0x8dc(r3) +/* 80044988 000418E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8004498C 000418EC 38 09 00 01 */ addi r0, r9, 1 +/* 80044990 000418F0 90 04 00 CC */ stw r0, 0xcc(r4) +/* 80044994 000418F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80044998 000418F8 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8004499C 000418FC 7D 89 03 A6 */ mtctr r12 +/* 800449A0 00041900 4E 80 04 21 */ bctrl +/* 800449A4 00041904 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800449A8 00041908 7C 08 03 A6 */ mtlr r0 +/* 800449AC 0004190C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800449B0 00041910 4E 80 00 20 */ blr + +.global SpecialSkipCinematic__13CStateManagerFv +SpecialSkipCinematic__13CStateManagerFv: +/* 800449B4 00041914 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800449B8 00041918 7C 08 02 A6 */ mflr r0 +/* 800449BC 0004191C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800449C0 00041920 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800449C4 00041924 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800449C8 00041928 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800449CC 0004192C 7C 7D 1B 78 */ mr r29, r3 +/* 800449D0 00041930 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800449D4 00041934 A0 A3 0F 38 */ lhz r5, 0xf38(r3) +/* 800449D8 00041938 7C 05 00 40 */ cmplw r5, r0 +/* 800449DC 0004193C 40 82 00 0C */ bne lbl_800449E8 +/* 800449E0 00041940 38 60 00 00 */ li r3, 0 +/* 800449E4 00041944 48 00 00 80 */ b lbl_80044A64 +lbl_800449E8: +/* 800449E8 00041948 B0 A1 00 08 */ sth r5, 8(r1) +/* 800449EC 0004194C 38 81 00 0C */ addi r4, r1, 0xc +/* 800449F0 00041950 B0 A1 00 0C */ sth r5, 0xc(r1) +/* 800449F4 00041954 48 00 7B 81 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800449F8 00041958 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800449FC 0004195C 41 82 00 14 */ beq lbl_80044A10 +/* 80044A00 00041960 7F A4 EB 78 */ mr r4, r29 +/* 80044A04 00041964 48 10 CE 65 */ bl ShouldSkipCinematic__22CScriptSpecialFunctionFR13CStateManager +/* 80044A08 00041968 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80044A0C 0004196C 40 82 00 0C */ bne lbl_80044A18 +lbl_80044A10: +/* 80044A10 00041970 38 60 00 00 */ li r3, 0 +/* 80044A14 00041974 48 00 00 50 */ b lbl_80044A64 +lbl_80044A18: +/* 80044A18 00041978 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80044A1C 0004197C 38 1D 08 FC */ addi r0, r29, 0x8fc +/* 80044A20 00041980 7F A4 EB 78 */ mr r4, r29 +/* 80044A24 00041984 90 1D 09 00 */ stw r0, 0x900(r29) +/* 80044A28 00041988 7C 03 00 D0 */ neg r0, r3 +/* 80044A2C 0004198C 7C 00 1B 78 */ or r0, r0, r3 +/* 80044A30 00041990 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80044A34 00041994 54 1F 0F FE */ srwi r31, r0, 0x1f +/* 80044A38 00041998 4B FC 65 61 */ bl SkipCinematic__14CCameraManagerFR13CStateManager +/* 80044A3C 0004199C 7F C3 F3 78 */ mr r3, r30 +/* 80044A40 000419A0 7F A4 EB 78 */ mr r4, r29 +/* 80044A44 000419A4 48 10 CD E1 */ bl SkipCinematic__22CScriptSpecialFunctionFR13CStateManager +/* 80044A48 000419A8 28 1F 00 00 */ cmplwi r31, 0 +/* 80044A4C 000419AC 41 82 00 0C */ beq lbl_80044A58 +/* 80044A50 000419B0 38 1D 08 FC */ addi r0, r29, 0x8fc +/* 80044A54 000419B4 48 00 00 08 */ b lbl_80044A5C +lbl_80044A58: +/* 80044A58 000419B8 38 00 00 00 */ li r0, 0 +lbl_80044A5C: +/* 80044A5C 000419BC 90 1D 09 00 */ stw r0, 0x900(r29) +/* 80044A60 000419C0 38 60 00 01 */ li r3, 1 +lbl_80044A64: +/* 80044A64 000419C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80044A68 000419C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80044A6C 000419CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80044A70 000419D0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80044A74 000419D4 7C 08 03 A6 */ mtlr r0 +/* 80044A78 000419D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80044A7C 000419DC 4E 80 00 20 */ blr + +.global GetVisAreaId__13CStateManagerCFv +GetVisAreaId__13CStateManagerCFv: +/* 80044A80 000419E0 94 21 F7 60 */ stwu r1, -0x8a0(r1) +/* 80044A84 000419E4 7C 08 02 A6 */ mflr r0 +/* 80044A88 000419E8 90 01 08 A4 */ stw r0, 0x8a4(r1) +/* 80044A8C 000419EC BF 41 08 88 */ stmw r26, 0x888(r1) +/* 80044A90 000419F0 7C 7D 1B 78 */ mr r29, r3 +/* 80044A94 000419F4 7C 9E 23 78 */ mr r30, r4 +/* 80044A98 000419F8 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80044A9C 000419FC 4B FC 70 7D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80044AA0 00041A00 80 BE 08 70 */ lwz r5, 0x870(r30) +/* 80044AA4 00041A04 80 9E 08 50 */ lwz r4, 0x850(r30) +/* 80044AA8 00041A08 80 C5 00 80 */ lwz r6, 0x80(r5) +/* 80044AAC 00041A0C 83 E4 00 68 */ lwz r31, 0x68(r4) +/* 80044AB0 00041A10 7C 03 30 40 */ cmplw r3, r6 +/* 80044AB4 00041A14 41 82 00 0C */ beq lbl_80044AC0 +/* 80044AB8 00041A18 93 FD 00 00 */ stw r31, 0(r29) +/* 80044ABC 00041A1C 48 00 01 D8 */ b lbl_80044C94 +lbl_80044AC0: +/* 80044AC0 00041A20 C0 46 00 60 */ lfs f2, 0x60(r6) +/* 80044AC4 00041A24 38 81 00 20 */ addi r4, r1, 0x20 +/* 80044AC8 00041A28 C0 26 00 50 */ lfs f1, 0x50(r6) +/* 80044ACC 00041A2C 7C 85 23 78 */ mr r5, r4 +/* 80044AD0 00041A30 C0 06 00 40 */ lfs f0, 0x40(r6) +/* 80044AD4 00041A34 38 61 00 60 */ addi r3, r1, 0x60 +/* 80044AD8 00041A38 80 DE 08 4C */ lwz r6, 0x84c(r30) +/* 80044ADC 00041A3C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80044AE0 00041A40 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80044AE4 00041A44 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80044AE8 00041A48 C0 46 00 60 */ lfs f2, 0x60(r6) +/* 80044AEC 00041A4C C0 26 00 50 */ lfs f1, 0x50(r6) +/* 80044AF0 00041A50 C0 06 00 40 */ lfs f0, 0x40(r6) +/* 80044AF4 00041A54 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80044AF8 00041A58 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80044AFC 00041A5C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80044B00 00041A60 48 2F 3A 09 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80044B04 00041A64 38 61 00 60 */ addi r3, r1, 0x60 +/* 80044B08 00041A68 38 81 00 14 */ addi r4, r1, 0x14 +/* 80044B0C 00041A6C 48 2F 2F FD */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80044B10 00041A70 38 00 00 00 */ li r0, 0 +/* 80044B14 00041A74 80 AD 82 98 */ lwz r5, lbl_805A6E58@sda21(r13) +/* 80044B18 00041A78 90 01 00 78 */ stw r0, 0x78(r1) +/* 80044B1C 00041A7C 38 60 00 00 */ li r3, 0 +/* 80044B20 00041A80 38 80 00 01 */ li r4, 1 +/* 80044B24 00041A84 48 34 53 D1 */ bl __shl2i +/* 80044B28 00041A88 39 00 00 01 */ li r8, 1 +/* 80044B2C 00041A8C 38 00 00 00 */ li r0, 0 +/* 80044B30 00041A90 90 81 00 4C */ stw r4, 0x4c(r1) +/* 80044B34 00041A94 38 81 00 78 */ addi r4, r1, 0x78 +/* 80044B38 00041A98 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80044B3C 00041A9C 38 C1 00 48 */ addi r6, r1, 0x48 +/* 80044B40 00041AA0 90 61 00 48 */ stw r3, 0x48(r1) +/* 80044B44 00041AA4 7F C3 F3 78 */ mr r3, r30 +/* 80044B48 00041AA8 38 E0 00 00 */ li r7, 0 +/* 80044B4C 00041AAC 91 01 00 40 */ stw r8, 0x40(r1) +/* 80044B50 00041AB0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80044B54 00041AB4 90 01 00 50 */ stw r0, 0x50(r1) +/* 80044B58 00041AB8 91 01 00 58 */ stw r8, 0x58(r1) +/* 80044B5C 00041ABC 48 00 7B C5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80044B60 00041AC0 3B 61 00 7C */ addi r27, r1, 0x7c +/* 80044B64 00041AC4 7F 7A DB 78 */ mr r26, r27 +/* 80044B68 00041AC8 48 00 00 C0 */ b lbl_80044C28 +lbl_80044B6C: +/* 80044B6C 00041ACC A0 1A 00 00 */ lhz r0, 0(r26) +/* 80044B70 00041AD0 7F C3 F3 78 */ mr r3, r30 +/* 80044B74 00041AD4 38 81 00 08 */ addi r4, r1, 8 +/* 80044B78 00041AD8 B0 01 00 08 */ sth r0, 8(r1) +/* 80044B7C 00041ADC 48 00 7A 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80044B80 00041AE0 7C 64 1B 78 */ mr r4, r3 +/* 80044B84 00041AE4 38 61 00 0C */ addi r3, r1, 0xc +/* 80044B88 00041AE8 48 06 58 7D */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" +/* 80044B8C 00041AEC 83 83 00 04 */ lwz r28, 4(r3) +/* 80044B90 00041AF0 28 1C 00 00 */ cmplwi r28, 0 +/* 80044B94 00041AF4 41 82 00 90 */ beq lbl_80044C24 +/* 80044B98 00041AF8 80 1C 02 60 */ lwz r0, 0x260(r28) +/* 80044B9C 00041AFC 7C 00 F8 00 */ cmpw r0, r31 +/* 80044BA0 00041B00 40 82 00 84 */ bne lbl_80044C24 +/* 80044BA4 00041B04 7F 83 E3 78 */ mr r3, r28 +/* 80044BA8 00041B08 7F C4 F3 78 */ mr r4, r30 +/* 80044BAC 00041B0C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80044BB0 00041B10 48 07 EE 65 */ bl HasPointCrossedDock__11CScriptDockCFRC13CStateManagerRC9CVector3f +/* 80044BB4 00041B14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80044BB8 00041B18 41 82 00 6C */ beq lbl_80044C24 +/* 80044BBC 00041B1C 7F A3 EB 78 */ mr r3, r29 +/* 80044BC0 00041B20 7F 84 E3 78 */ mr r4, r28 +/* 80044BC4 00041B24 7F C5 F3 78 */ mr r5, r30 +/* 80044BC8 00041B28 48 07 EB 39 */ bl GetCurrentConnectedAreaId__11CScriptDockCFRC13CStateManager +/* 80044BCC 00041B2C 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 80044BD0 00041B30 38 60 00 00 */ li r3, 0 +/* 80044BD4 00041B34 2C 05 00 00 */ cmpwi r5, 0 +/* 80044BD8 00041B38 40 81 00 40 */ ble lbl_80044C18 +/* 80044BDC 00041B3C 2C 05 00 08 */ cmpwi r5, 8 +/* 80044BE0 00041B40 38 85 FF F8 */ addi r4, r5, -8 +/* 80044BE4 00041B44 40 81 00 20 */ ble lbl_80044C04 +/* 80044BE8 00041B48 38 04 00 07 */ addi r0, r4, 7 +/* 80044BEC 00041B4C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80044BF0 00041B50 7C 09 03 A6 */ mtctr r0 +/* 80044BF4 00041B54 2C 04 00 00 */ cmpwi r4, 0 +/* 80044BF8 00041B58 40 81 00 0C */ ble lbl_80044C04 +lbl_80044BFC: +/* 80044BFC 00041B5C 38 63 00 08 */ addi r3, r3, 8 +/* 80044C00 00041B60 42 00 FF FC */ bdnz lbl_80044BFC +lbl_80044C04: +/* 80044C04 00041B64 7C 03 28 50 */ subf r0, r3, r5 +/* 80044C08 00041B68 7C 09 03 A6 */ mtctr r0 +/* 80044C0C 00041B6C 7C 03 28 00 */ cmpw r3, r5 +/* 80044C10 00041B70 40 80 00 08 */ bge lbl_80044C18 +lbl_80044C14: +/* 80044C14 00041B74 42 00 00 00 */ bdnz lbl_80044C14 +lbl_80044C18: +/* 80044C18 00041B78 38 00 00 00 */ li r0, 0 +/* 80044C1C 00041B7C 90 01 00 78 */ stw r0, 0x78(r1) +/* 80044C20 00041B80 48 00 00 74 */ b lbl_80044C94 +lbl_80044C24: +/* 80044C24 00041B84 3B 5A 00 02 */ addi r26, r26, 2 +lbl_80044C28: +/* 80044C28 00041B88 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80044C2C 00041B8C 54 00 08 3C */ slwi r0, r0, 1 +/* 80044C30 00041B90 7C 1B 02 14 */ add r0, r27, r0 +/* 80044C34 00041B94 7C 1A 00 40 */ cmplw r26, r0 +/* 80044C38 00041B98 40 82 FF 34 */ bne lbl_80044B6C +/* 80044C3C 00041B9C 93 FD 00 00 */ stw r31, 0(r29) +/* 80044C40 00041BA0 38 60 00 00 */ li r3, 0 +/* 80044C44 00041BA4 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 80044C48 00041BA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80044C4C 00041BAC 40 81 00 40 */ ble lbl_80044C8C +/* 80044C50 00041BB0 2C 05 00 08 */ cmpwi r5, 8 +/* 80044C54 00041BB4 38 85 FF F8 */ addi r4, r5, -8 +/* 80044C58 00041BB8 40 81 00 20 */ ble lbl_80044C78 +/* 80044C5C 00041BBC 38 04 00 07 */ addi r0, r4, 7 +/* 80044C60 00041BC0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80044C64 00041BC4 7C 09 03 A6 */ mtctr r0 +/* 80044C68 00041BC8 2C 04 00 00 */ cmpwi r4, 0 +/* 80044C6C 00041BCC 40 81 00 0C */ ble lbl_80044C78 +lbl_80044C70: +/* 80044C70 00041BD0 38 63 00 08 */ addi r3, r3, 8 +/* 80044C74 00041BD4 42 00 FF FC */ bdnz lbl_80044C70 +lbl_80044C78: +/* 80044C78 00041BD8 7C 03 28 50 */ subf r0, r3, r5 +/* 80044C7C 00041BDC 7C 09 03 A6 */ mtctr r0 +/* 80044C80 00041BE0 7C 03 28 00 */ cmpw r3, r5 +/* 80044C84 00041BE4 40 80 00 08 */ bge lbl_80044C8C +lbl_80044C88: +/* 80044C88 00041BE8 42 00 00 00 */ bdnz lbl_80044C88 +lbl_80044C8C: +/* 80044C8C 00041BEC 38 00 00 00 */ li r0, 0 +/* 80044C90 00041BF0 90 01 00 78 */ stw r0, 0x78(r1) +lbl_80044C94: +/* 80044C94 00041BF4 BB 41 08 88 */ lmw r26, 0x888(r1) +/* 80044C98 00041BF8 80 01 08 A4 */ lwz r0, 0x8a4(r1) +/* 80044C9C 00041BFC 7C 08 03 A6 */ mtlr r0 +/* 80044CA0 00041C00 38 21 08 A0 */ addi r1, r1, 0x8a0 +/* 80044CA4 00041C04 4E 80 00 20 */ blr + +.global GetWeaponIdCount__13CStateManagerF9TUniqueId11EWeaponType +GetWeaponIdCount__13CStateManagerF9TUniqueId11EWeaponType: +/* 80044CA8 00041C08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80044CAC 00041C0C 7C 08 02 A6 */ mflr r0 +/* 80044CB0 00041C10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80044CB4 00041C14 A0 04 00 00 */ lhz r0, 0(r4) +/* 80044CB8 00041C18 38 81 00 08 */ addi r4, r1, 8 +/* 80044CBC 00041C1C B0 01 00 08 */ sth r0, 8(r1) +/* 80044CC0 00041C20 80 63 08 78 */ lwz r3, 0x878(r3) +/* 80044CC4 00041C24 48 07 D0 65 */ bl GetNumActive__10CWeaponMgrCF9TUniqueId11EWeaponType +/* 80044CC8 00041C28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80044CCC 00041C2C 7C 08 03 A6 */ mtlr r0 +/* 80044CD0 00041C30 38 21 00 10 */ addi r1, r1, 0x10 +/* 80044CD4 00041C34 4E 80 00 20 */ blr + +.global RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType +RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType: +/* 80044CD8 00041C38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80044CDC 00041C3C 7C 08 02 A6 */ mflr r0 +/* 80044CE0 00041C40 90 01 00 14 */ stw r0, 0x14(r1) +/* 80044CE4 00041C44 A0 04 00 00 */ lhz r0, 0(r4) +/* 80044CE8 00041C48 38 81 00 08 */ addi r4, r1, 8 +/* 80044CEC 00041C4C B0 01 00 08 */ sth r0, 8(r1) +/* 80044CF0 00041C50 80 63 08 78 */ lwz r3, 0x878(r3) +/* 80044CF4 00041C54 48 07 D0 F5 */ bl DecrCount__10CWeaponMgrF9TUniqueId11EWeaponType +/* 80044CF8 00041C58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80044CFC 00041C5C 7C 08 03 A6 */ mtlr r0 +/* 80044D00 00041C60 38 21 00 10 */ addi r1, r1, 0x10 +/* 80044D04 00041C64 4E 80 00 20 */ blr + +.global AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType +AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType: +/* 80044D08 00041C68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80044D0C 00041C6C 7C 08 02 A6 */ mflr r0 +/* 80044D10 00041C70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80044D14 00041C74 A0 04 00 00 */ lhz r0, 0(r4) +/* 80044D18 00041C78 38 81 00 08 */ addi r4, r1, 8 +/* 80044D1C 00041C7C B0 01 00 08 */ sth r0, 8(r1) +/* 80044D20 00041C80 80 63 08 78 */ lwz r3, 0x878(r3) +/* 80044D24 00041C84 48 07 D1 E9 */ bl IncrCount__10CWeaponMgrF9TUniqueId11EWeaponType +/* 80044D28 00041C88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80044D2C 00041C8C 7C 08 03 A6 */ mtlr r0 +/* 80044D30 00041C90 38 21 00 10 */ addi r1, r1, 0x10 +/* 80044D34 00041C94 4E 80 00 20 */ blr + +.global UpdateHintState__13CStateManagerFf +UpdateHintState__13CStateManagerFf: +/* 80044D38 00041C98 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80044D3C 00041C9C 7C 08 02 A6 */ mflr r0 +/* 80044D40 00041CA0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80044D44 00041CA4 BE E1 00 4C */ stmw r23, 0x4c(r1) +/* 80044D48 00041CA8 7C 7B 1B 78 */ mr r27, r3 +/* 80044D4C 00041CAC 7F 64 DB 78 */ mr r4, r27 +/* 80044D50 00041CB0 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) +/* 80044D54 00041CB4 3B 25 01 F8 */ addi r25, r5, 0x1f8 +/* 80044D58 00041CB8 7F 23 CB 78 */ mr r3, r25 +/* 80044D5C 00041CBC 48 22 2B C9 */ bl Update__12CHintOptionsfRC13CStateManager +/* 80044D60 00041CC0 7F 23 CB 78 */ mr r3, r25 +/* 80044D64 00041CC4 3B C0 FF FF */ li r30, -1 +/* 80044D68 00041CC8 3B A0 FF FF */ li r29, -1 +/* 80044D6C 00041CCC 48 22 29 B1 */ bl GetCurrentDisplayedHint__12CHintOptionsCFv +/* 80044D70 00041CD0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80044D74 00041CD4 41 82 00 C8 */ beq lbl_80044E3C +/* 80044D78 00041CD8 7F 23 CB 78 */ mr r3, r25 +/* 80044D7C 00041CDC 48 22 29 81 */ bl GetNextHintIdx__12CHintOptionsFv +/* 80044D80 00041CE0 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 80044D84 00041CE4 1C 03 00 30 */ mulli r0, r3, 0x30 +/* 80044D88 00041CE8 3B 80 00 00 */ li r28, 0 +/* 80044D8C 00041CEC 80 64 00 08 */ lwz r3, 8(r4) +/* 80044D90 00041CF0 3B E0 00 00 */ li r31, 0 +/* 80044D94 00041CF4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80044D98 00041CF8 7F 03 02 14 */ add r24, r3, r0 +/* 80044D9C 00041CFC 48 00 00 60 */ b lbl_80044DFC +lbl_80044DA0: +/* 80044DA0 00041D00 80 18 00 2C */ lwz r0, 0x2c(r24) +/* 80044DA4 00041D04 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80044DA8 00041D08 7C 80 FA 14 */ add r4, r0, r31 +/* 80044DAC 00041D0C 82 E4 00 08 */ lwz r23, 8(r4) +/* 80044DB0 00041D10 80 84 00 00 */ lwz r4, 0(r4) +/* 80044DB4 00041D14 48 18 EC 25 */ bl StateForWorld__10CGameStateFUi +/* 80044DB8 00041D18 48 18 FF C9 */ bl MapWorldInfo__11CWorldStateFv +/* 80044DBC 00041D1C 80 C3 00 00 */ lwz r6, 0(r3) +/* 80044DC0 00041D20 38 81 00 0C */ addi r4, r1, 0xc +/* 80044DC4 00041D24 92 E1 00 08 */ stw r23, 8(r1) +/* 80044DC8 00041D28 38 A0 00 01 */ li r5, 1 +/* 80044DCC 00041D2C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80044DD0 00041D30 80 66 00 04 */ lwz r3, 4(r6) +/* 80044DD4 00041D34 38 03 00 01 */ addi r0, r3, 1 +/* 80044DD8 00041D38 90 06 00 04 */ stw r0, 4(r6) +/* 80044DDC 00041D3C 92 E1 00 0C */ stw r23, 0xc(r1) +/* 80044DE0 00041D40 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80044DE4 00041D44 80 63 00 00 */ lwz r3, 0(r3) +/* 80044DE8 00041D48 48 12 36 99 */ bl SetIsMapped__13CMapWorldInfoCF7TAreaId +/* 80044DEC 00041D4C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80044DF0 00041D50 4B FC 3E 4D */ bl sub_80008c3c +/* 80044DF4 00041D54 3B FF 00 10 */ addi r31, r31, 0x10 +/* 80044DF8 00041D58 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80044DFC: +/* 80044DFC 00041D5C 80 18 00 24 */ lwz r0, 0x24(r24) +/* 80044E00 00041D60 7C 1C 00 00 */ cmpw r28, r0 +/* 80044E04 00041D64 41 80 FF 9C */ blt lbl_80044DA0 +/* 80044E08 00041D68 C0 3A 00 04 */ lfs f1, 4(r26) +/* 80044E0C 00041D6C C0 18 00 1C */ lfs f0, 0x1c(r24) +/* 80044E10 00041D70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80044E14 00041D74 40 80 00 28 */ bge lbl_80044E3C +/* 80044E18 00041D78 7F 23 CB 78 */ mr r3, r25 +/* 80044E1C 00041D7C 48 22 28 E1 */ bl GetNextHintIdx__12CHintOptionsFv +/* 80044E20 00041D80 C0 3A 00 04 */ lfs f1, 4(r26) +/* 80044E24 00041D84 7C 7E 1B 78 */ mr r30, r3 +/* 80044E28 00041D88 C0 02 BA D8 */ lfs f0, lbl_805AD7F8@sda21(r2) +/* 80044E2C 00041D8C EC 01 00 24 */ fdivs f0, f1, f0 +/* 80044E30 00041D90 FC 00 00 1E */ fctiwz f0, f0 +/* 80044E34 00041D94 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 80044E38 00041D98 83 A1 00 3C */ lwz r29, 0x3c(r1) +lbl_80044E3C: +/* 80044E3C 00041D9C 80 1B 0E EC */ lwz r0, 0xeec(r27) +/* 80044E40 00041DA0 7C 1E 00 00 */ cmpw r30, r0 +/* 80044E44 00041DA4 40 82 00 10 */ bne lbl_80044E54 +/* 80044E48 00041DA8 80 1B 0E F0 */ lwz r0, 0xef0(r27) +/* 80044E4C 00041DAC 7C 1D 00 00 */ cmpw r29, r0 +/* 80044E50 00041DB0 41 82 00 90 */ beq lbl_80044EE0 +lbl_80044E54: +/* 80044E54 00041DB4 2C 1E FF FF */ cmpwi r30, -1 +/* 80044E58 00041DB8 40 82 00 40 */ bne lbl_80044E98 +/* 80044E5C 00041DBC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80044E60 00041DC0 38 8D 82 A4 */ addi r4, r13, lbl_805A6E64@sda21 +/* 80044E64 00041DC4 4B FD 0B 8D */ bl wstring_l__4rstlFPCw +/* 80044E68 00041DC8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80044E6C 00041DCC 38 00 00 01 */ li r0, 1 +/* 80044E70 00041DD0 98 01 00 20 */ stb r0, 0x20(r1) +/* 80044E74 00041DD4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80044E78 00041DD8 38 81 00 1C */ addi r4, r1, 0x1c +/* 80044E7C 00041DDC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80044E80 00041DE0 98 01 00 21 */ stb r0, 0x21(r1) +/* 80044E84 00041DE4 98 01 00 22 */ stb r0, 0x22(r1) +/* 80044E88 00041DE8 48 02 6D E1 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo +/* 80044E8C 00041DEC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80044E90 00041DF0 48 2F 82 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80044E94 00041DF4 48 00 00 44 */ b lbl_80044ED8 +lbl_80044E98: +/* 80044E98 00041DF8 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 80044E9C 00041DFC 1C DE 00 30 */ mulli r6, r30, 0x30 +/* 80044EA0 00041E00 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80044EA4 00041E04 38 60 00 01 */ li r3, 1 +/* 80044EA8 00041E08 80 A4 00 08 */ lwz r5, 8(r4) +/* 80044EAC 00041E0C 38 00 00 00 */ li r0, 0 +/* 80044EB0 00041E10 7F A4 EB 78 */ mr r4, r29 +/* 80044EB4 00041E14 80 E5 00 0C */ lwz r7, 0xc(r5) +/* 80044EB8 00041E18 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80044EBC 00041E1C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80044EC0 00041E20 7C C7 32 14 */ add r6, r7, r6 +/* 80044EC4 00041E24 98 61 00 18 */ stb r3, 0x18(r1) +/* 80044EC8 00041E28 98 01 00 19 */ stb r0, 0x19(r1) +/* 80044ECC 00041E2C 98 61 00 1A */ stb r3, 0x1a(r1) +/* 80044ED0 00041E30 80 66 00 18 */ lwz r3, 0x18(r6) +/* 80044ED4 00041E34 48 02 6D 51 */ bl DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo +lbl_80044ED8: +/* 80044ED8 00041E38 93 DB 0E EC */ stw r30, 0xeec(r27) +/* 80044EDC 00041E3C 93 BB 0E F0 */ stw r29, 0xef0(r27) +lbl_80044EE0: +/* 80044EE0 00041E40 BA E1 00 4C */ lmw r23, 0x4c(r1) +/* 80044EE4 00041E44 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80044EE8 00041E48 7C 08 03 A6 */ mtlr r0 +/* 80044EEC 00041E4C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80044EF0 00041E50 4E 80 00 20 */ blr + +.global UpdateEscapeSequenceTimer__13CStateManagerFf +UpdateEscapeSequenceTimer__13CStateManagerFf: +/* 80044EF4 00041E54 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80044EF8 00041E58 7C 08 02 A6 */ mflr r0 +/* 80044EFC 00041E5C 90 01 01 04 */ stw r0, 0x104(r1) +/* 80044F00 00041E60 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 80044F04 00041E64 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 80044F08 00041E68 93 E1 00 EC */ stw r31, 0xec(r1) +/* 80044F0C 00041E6C 7C 7F 1B 78 */ mr r31, r3 +/* 80044F10 00041E70 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80044F14 00041E74 C0 43 0F 0C */ lfs f2, 0xf0c(r3) +/* 80044F18 00041E78 C0 63 0F 10 */ lfs f3, 0xf10(r3) +/* 80044F1C 00041E7C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80044F20 00041E80 40 81 01 38 */ ble lbl_80045058 +/* 80044F24 00041E84 EC 42 08 28 */ fsubs f2, f2, f1 +/* 80044F28 00041E88 C0 02 85 84 */ lfs f0, lbl_805AA2A4@sda21(r2) +/* 80044F2C 00041E8C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80044F30 00041E90 D0 41 00 08 */ stfs f2, 8(r1) +/* 80044F34 00041E94 40 80 00 0C */ bge lbl_80044F40 +/* 80044F38 00041E98 38 61 00 08 */ addi r3, r1, 8 +/* 80044F3C 00041E9C 48 00 00 08 */ b lbl_80044F44 +lbl_80044F40: +/* 80044F40 00041EA0 38 62 85 84 */ addi r3, r2, lbl_805AA2A4@sda21 +lbl_80044F44: +/* 80044F44 00041EA4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80044F48 00041EA8 C0 02 85 88 */ lfs f0, lbl_805AA2A8@sda21(r2) +/* 80044F4C 00041EAC D0 5F 0F 0C */ stfs f2, 0xf0c(r31) +/* 80044F50 00041EB0 C0 5F 0F 0C */ lfs f2, 0xf0c(r31) +/* 80044F54 00041EB4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80044F58 00041EB8 4C 40 13 82 */ cror 2, 0, 2 +/* 80044F5C 00041EBC 40 82 00 1C */ bne lbl_80044F78 +/* 80044F60 00041EC0 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80044F64 00041EC4 38 80 00 00 */ li r4, 0 +/* 80044F68 00041EC8 80 63 00 00 */ lwz r3, 0(r3) +/* 80044F6C 00041ECC 88 03 00 00 */ lbz r0, 0(r3) +/* 80044F70 00041ED0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80044F74 00041ED4 98 03 00 00 */ stb r0, 0(r3) +lbl_80044F78: +/* 80044F78 00041ED8 88 0D A2 0C */ lbz r0, lbl_805A8DCC@sda21(r13) +/* 80044F7C 00041EDC 7C 00 07 75 */ extsb. r0, r0 +/* 80044F80 00041EE0 40 82 00 14 */ bne lbl_80044F94 +/* 80044F84 00041EE4 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80044F88 00041EE8 38 00 00 01 */ li r0, 1 +/* 80044F8C 00041EEC 98 0D A2 0C */ stb r0, lbl_805A8DCC@sda21(r13) +/* 80044F90 00041EF0 D0 0D A2 08 */ stfs f0, lbl_805A8DC8@sda21(r13) +lbl_80044F94: +/* 80044F94 00041EF4 C0 4D A2 08 */ lfs f2, lbl_805A8DC8@sda21(r13) +/* 80044F98 00041EF8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80044F9C 00041EFC EC 22 08 28 */ fsubs f1, f2, f1 +/* 80044FA0 00041F00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80044FA4 00041F04 D0 2D A2 08 */ stfs f1, lbl_805A8DC8@sda21(r13) +/* 80044FA8 00041F08 40 80 00 B0 */ bge lbl_80045058 +/* 80044FAC 00041F0C C0 1F 0F 0C */ lfs f0, 0xf0c(r31) +/* 80044FB0 00041F10 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80044FB4 00041F14 EC 00 18 24 */ fdivs f0, f0, f3 +/* 80044FB8 00041F18 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80044FBC 00041F1C C0 22 85 7C */ lfs f1, lbl_805AA29C@sda21(r2) +/* 80044FC0 00041F20 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80044FC4 00041F24 EF E0 00 32 */ fmuls f31, f0, f0 +/* 80044FC8 00041F28 48 2C D5 7D */ bl Range__9CRandom16Fff +/* 80044FCC 00041F2C C0 02 85 8C */ lfs f0, lbl_805AA2AC@sda21(r2) +/* 80044FD0 00041F30 38 61 00 0C */ addi r3, r1, 0xc +/* 80044FD4 00041F34 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80044FD8 00041F38 EC 40 00 72 */ fmuls f2, f0, f1 +/* 80044FDC 00041F3C C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) +/* 80044FE0 00041F40 48 11 88 51 */ bl __ct__16CCameraShakeDataFff +/* 80044FE4 00041F44 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80044FE8 00041F48 38 81 00 0C */ addi r4, r1, 0xc +/* 80044FEC 00041F4C 38 A0 00 01 */ li r5, 1 +/* 80044FF0 00041F50 4B FC 5A 31 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab +/* 80044FF4 00041F54 34 81 00 8C */ addic. r4, r1, 0x8c +/* 80044FF8 00041F58 41 82 00 10 */ beq lbl_80045008 +/* 80044FFC 00041F5C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80045000 00041F60 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80045004 00041F64 90 04 00 00 */ stw r0, 0(r4) +lbl_80045008: +/* 80045008 00041F68 34 81 00 50 */ addic. r4, r1, 0x50 +/* 8004500C 00041F6C 41 82 00 10 */ beq lbl_8004501C +/* 80045010 00041F70 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80045014 00041F74 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80045018 00041F78 90 04 00 00 */ stw r0, 0(r4) +lbl_8004501C: +/* 8004501C 00041F7C 34 81 00 14 */ addic. r4, r1, 0x14 +/* 80045020 00041F80 41 82 00 10 */ beq lbl_80045030 +/* 80045024 00041F84 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80045028 00041F88 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8004502C 00041F8C 90 04 00 00 */ stw r0, 0(r4) +lbl_80045030: +/* 80045030 00041F90 80 7F 08 8C */ lwz r3, 0x88c(r31) +/* 80045034 00041F94 7F E4 FB 78 */ mr r4, r31 +/* 80045038 00041F98 C0 22 85 90 */ lfs f1, lbl_805AA2B0@sda21(r2) +/* 8004503C 00041F9C 38 A0 00 0B */ li r5, 0xb +/* 80045040 00041FA0 38 C0 00 01 */ li r6, 1 +/* 80045044 00041FA4 48 1E 92 01 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +/* 80045048 00041FA8 C0 22 85 98 */ lfs f1, lbl_805AA2B8@sda21(r2) +/* 8004504C 00041FAC C0 02 85 94 */ lfs f0, lbl_805AA2B4@sda21(r2) +/* 80045050 00041FB0 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 80045054 00041FB4 D0 0D A2 08 */ stfs f0, lbl_805A8DC8@sda21(r13) +lbl_80045058: +/* 80045058 00041FB8 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 8004505C 00041FBC 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80045060 00041FC0 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 80045064 00041FC4 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 80045068 00041FC8 7C 08 03 A6 */ mtlr r0 +/* 8004506C 00041FCC 38 21 01 00 */ addi r1, r1, 0x100 +/* 80045070 00041FD0 4E 80 00 20 */ blr + +.global GetEscapeSequenceTimer__13CStateManagerCFv +GetEscapeSequenceTimer__13CStateManagerCFv: +/* 80045074 00041FD4 C0 23 0F 0C */ lfs f1, 0xf0c(r3) +/* 80045078 00041FD8 4E 80 00 20 */ blr + +.global ResetEscapeSequenceTimer__13CStateManagerFf +ResetEscapeSequenceTimer__13CStateManagerFf: +/* 8004507C 00041FDC D0 23 0F 0C */ stfs f1, 0xf0c(r3) +/* 80045080 00041FE0 D0 23 0F 10 */ stfs f1, 0xf10(r3) +/* 80045084 00041FE4 4E 80 00 20 */ blr + +.global SetupParticleHook__13CStateManagerCFRC6CActor +SetupParticleHook__13CStateManagerCFRC6CActor: +/* 80045088 00041FE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004508C 00041FEC 7C 08 02 A6 */ mflr r0 +/* 80045090 00041FF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80045094 00041FF4 A0 04 00 08 */ lhz r0, 8(r4) +/* 80045098 00041FF8 38 81 00 0C */ addi r4, r1, 0xc +/* 8004509C 00041FFC 80 63 08 84 */ lwz r3, 0x884(r3) +/* 800450A0 00042000 B0 01 00 08 */ sth r0, 8(r1) +/* 800450A4 00042004 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800450A8 00042008 48 19 F6 C9 */ bl SetupHook__20CActorModelParticlesCF9TUniqueId +/* 800450AC 0004200C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800450B0 00042010 7C 08 03 A6 */ mtlr r0 +/* 800450B4 00042014 38 21 00 10 */ addi r1, r1, 0x10 +/* 800450B8 00042018 4E 80 00 20 */ blr + +.global MurderScriptInstanceNames__13CStateManagerFv +MurderScriptInstanceNames__13CStateManagerFv: +/* 800450BC 0004201C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800450C0 00042020 7C 08 02 A6 */ mflr r0 +/* 800450C4 00042024 90 01 00 34 */ stw r0, 0x34(r1) +/* 800450C8 00042028 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800450CC 0004202C 7C 7F 1B 78 */ mr r31, r3 +/* 800450D0 00042030 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800450D4 00042034 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800450D8 00042038 3B BF 0B 48 */ addi r29, r31, 0xb48 +/* 800450DC 0004203C 93 81 00 20 */ stw r28, 0x20(r1) +/* 800450E0 00042040 3B 80 00 00 */ li r28, 0 +/* 800450E4 00042044 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800450E8 00042048 48 00 00 D4 */ b lbl_800451BC +lbl_800450EC: +/* 800450EC 0004204C 80 1F 0B 48 */ lwz r0, 0xb48(r31) +/* 800450F0 00042050 3B C0 00 00 */ li r30, 0 +/* 800450F4 00042054 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 800450F8 00042058 3B 80 00 01 */ li r28, 1 +/* 800450FC 0004205C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80045100 00042060 93 C1 00 08 */ stw r30, 8(r1) +/* 80045104 00042064 48 00 00 94 */ b lbl_80045198 +lbl_80045108: +/* 80045108 00042068 80 64 00 14 */ lwz r3, 0x14(r4) +/* 8004510C 0004206C 28 03 00 00 */ cmplwi r3, 0 +/* 80045110 00042070 41 82 00 0C */ beq lbl_8004511C +/* 80045114 00042074 80 03 00 04 */ lwz r0, 4(r3) +/* 80045118 00042078 48 00 00 08 */ b lbl_80045120 +lbl_8004511C: +/* 8004511C 0004207C 38 00 FF FF */ li r0, -1 +lbl_80045120: +/* 80045120 00042080 2C 00 00 01 */ cmpwi r0, 1 +/* 80045124 00042084 40 82 00 68 */ bne lbl_8004518C +/* 80045128 00042088 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004512C 0004208C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80045130 00042090 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80045134 00042094 7F C4 F3 78 */ mr r4, r30 +/* 80045138 00042098 90 61 00 14 */ stw r3, 0x14(r1) +/* 8004513C 0004209C 48 2F 74 A5 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 80045140 000420A0 90 61 00 10 */ stw r3, 0x10(r1) +/* 80045144 000420A4 7F A3 EB 78 */ mr r3, r29 +/* 80045148 000420A8 7F C4 F3 78 */ mr r4, r30 +/* 8004514C 000420AC 48 2F 75 31 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 80045150 000420B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80045154 000420B4 41 82 00 14 */ beq lbl_80045168 +/* 80045158 000420B8 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8004515C 000420BC 41 82 00 0C */ beq lbl_80045168 +/* 80045160 000420C0 38 7E 00 10 */ addi r3, r30, 0x10 +/* 80045164 000420C4 48 2F 89 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80045168: +/* 80045168 000420C8 28 1E 00 00 */ cmplwi r30, 0 +/* 8004516C 000420CC 41 82 00 0C */ beq lbl_80045178 +/* 80045170 000420D0 7F C3 F3 78 */ mr r3, r30 +/* 80045174 000420D4 48 2D 07 BD */ bl Free__7CMemoryFPCv +lbl_80045178: +/* 80045178 000420D8 80 7F 0B 44 */ lwz r3, 0xb44(r31) +/* 8004517C 000420DC 3B 80 00 00 */ li r28, 0 +/* 80045180 000420E0 38 03 FF FF */ addi r0, r3, -1 +/* 80045184 000420E4 90 1F 0B 44 */ stw r0, 0xb44(r31) +/* 80045188 000420E8 48 00 00 34 */ b lbl_800451BC +lbl_8004518C: +/* 8004518C 000420EC 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80045190 000420F0 48 2F 74 51 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 80045194 000420F4 90 61 00 18 */ stw r3, 0x18(r1) +lbl_80045198: +/* 80045198 000420F8 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8004519C 000420FC 7F C0 F3 78 */ mr r0, r30 +/* 800451A0 00042100 7C 04 F0 40 */ cmplw r4, r30 +/* 800451A4 00042104 40 82 00 0C */ bne lbl_800451B0 +/* 800451A8 00042108 7C 1D E8 40 */ cmplw r29, r29 +/* 800451AC 0004210C 41 82 00 08 */ beq lbl_800451B4 +lbl_800451B0: +/* 800451B0 00042110 38 00 00 01 */ li r0, 1 +lbl_800451B4: +/* 800451B4 00042114 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800451B8 00042118 40 82 FF 50 */ bne lbl_80045108 +lbl_800451BC: +/* 800451BC 0004211C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800451C0 00042120 41 82 FF 2C */ beq lbl_800450EC +/* 800451C4 00042124 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800451C8 00042128 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800451CC 0004212C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800451D0 00042130 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800451D4 00042134 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800451D8 00042138 7C 08 03 A6 */ mtlr r0 +/* 800451DC 0004213C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800451E0 00042140 4E 80 00 20 */ blr + +.global HashInstanceName__13CStateManagerFR12CInputStream +HashInstanceName__13CStateManagerFR12CInputStream: +/* 800451E4 00042144 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800451E8 00042148 7C 08 02 A6 */ mflr r0 +/* 800451EC 0004214C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800451F0 00042150 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800451F4 00042154 7C 9F 23 78 */ mr r31, r4 +/* 800451F8 00042158 88 0D A2 05 */ lbz r0, lbl_805A8DC5@sda21(r13) +/* 800451FC 0004215C 7C 00 07 75 */ extsb. r0, r0 +/* 80045200 00042160 40 82 00 4C */ bne lbl_8004524C +/* 80045204 00042164 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 80045208 00042168 38 61 00 08 */ addi r3, r1, 8 +/* 8004520C 0004216C 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 80045210 00042170 38 84 00 15 */ addi r4, r4, 0x15 +/* 80045214 00042174 4B FB FA A5 */ bl string_l__4rstlFPCc +/* 80045218 00042178 3C 60 80 46 */ lis r3, lbl_8045C5A4@ha +/* 8004521C 0004217C 38 81 00 08 */ addi r4, r1, 8 +/* 80045220 00042180 38 63 C5 A4 */ addi r3, r3, lbl_8045C5A4@l +/* 80045224 00042184 48 2F 8F 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80045228 00042188 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8004522C 0004218C 3C A0 80 46 */ lis r5, lbl_8045C598@ha +/* 80045230 00042190 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 80045234 00042194 38 A5 C5 98 */ addi r5, r5, lbl_8045C598@l +/* 80045238 00042198 48 34 44 55 */ bl __register_global_object +/* 8004523C 0004219C 38 61 00 08 */ addi r3, r1, 8 +/* 80045240 000421A0 48 2F 88 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80045244 000421A4 38 00 00 01 */ li r0, 1 +/* 80045248 000421A8 98 0D A2 05 */ stb r0, lbl_805A8DC5@sda21(r13) +lbl_8004524C: +/* 8004524C 000421AC 7F E3 FB 78 */ mr r3, r31 +/* 80045250 000421B0 48 2F 9A BD */ bl ReadChar__12CInputStreamFv +/* 80045254 000421B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80045258 000421B8 40 82 FF F4 */ bne lbl_8004524C +/* 8004525C 000421BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80045260 000421C0 3C 60 80 46 */ lis r3, lbl_8045C5A4@ha +/* 80045264 000421C4 38 63 C5 A4 */ addi r3, r3, lbl_8045C5A4@l +/* 80045268 000421C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004526C 000421CC 7C 08 03 A6 */ mtlr r0 +/* 80045270 000421D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80045274 000421D4 4E 80 00 20 */ blr + +.global SetActorAreaId__13CStateManagerFR6CActor7TAreaId +SetActorAreaId__13CStateManagerFR6CActor7TAreaId: +/* 80045278 000421D8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8004527C 000421DC 7C 08 02 A6 */ mflr r0 +/* 80045280 000421E0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80045284 000421E4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80045288 000421E8 7C 9F 23 78 */ mr r31, r4 +/* 8004528C 000421EC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80045290 000421F0 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80045294 000421F4 7C BD 2B 78 */ mr r29, r5 +/* 80045298 000421F8 80 A4 00 04 */ lwz r5, 4(r4) +/* 8004529C 000421FC 80 1D 00 00 */ lwz r0, 0(r29) +/* 800452A0 00042200 7C 05 00 00 */ cmpw r5, r0 +/* 800452A4 00042204 41 82 00 C4 */ beq lbl_80045368 +/* 800452A8 00042208 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800452AC 0004220C 83 C3 08 50 */ lwz r30, 0x850(r3) +/* 800452B0 00042210 7C 05 00 00 */ cmpw r5, r0 +/* 800452B4 00042214 41 82 00 44 */ beq lbl_800452F8 +/* 800452B8 00042218 54 A3 18 38 */ slwi r3, r5, 3 +/* 800452BC 0004221C 80 9E 00 20 */ lwz r4, 0x20(r30) +/* 800452C0 00042220 38 03 00 04 */ addi r0, r3, 4 +/* 800452C4 00042224 90 A1 00 20 */ stw r5, 0x20(r1) +/* 800452C8 00042228 7C 64 00 2E */ lwzx r3, r4, r0 +/* 800452CC 0004222C 90 A1 00 24 */ stw r5, 0x24(r1) +/* 800452D0 00042230 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800452D4 00042234 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800452D8 00042238 41 82 00 20 */ beq lbl_800452F8 +/* 800452DC 0004223C A0 1F 00 08 */ lhz r0, 8(r31) +/* 800452E0 00042240 38 81 00 14 */ addi r4, r1, 0x14 +/* 800452E4 00042244 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800452E8 00042248 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 800452EC 0004224C B0 01 00 10 */ sth r0, 0x10(r1) +/* 800452F0 00042250 80 63 10 C0 */ lwz r3, 0x10c0(r3) +/* 800452F4 00042254 4B FC AB B1 */ bl RemoveObject__11CObjectListF9TUniqueId +lbl_800452F8: +/* 800452F8 00042258 80 7D 00 00 */ lwz r3, 0(r29) +/* 800452FC 0004225C 90 7F 00 04 */ stw r3, 4(r31) +/* 80045300 00042260 80 BD 00 00 */ lwz r5, 0(r29) +/* 80045304 00042264 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80045308 00042268 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8004530C 0004226C 7C 05 00 00 */ cmpw r5, r0 +/* 80045310 00042270 41 82 00 58 */ beq lbl_80045368 +/* 80045314 00042274 54 A3 18 38 */ slwi r3, r5, 3 +/* 80045318 00042278 80 9E 00 20 */ lwz r4, 0x20(r30) +/* 8004531C 0004227C 38 03 00 04 */ addi r0, r3, 4 +/* 80045320 00042280 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80045324 00042284 7F C4 00 2E */ lwzx r30, r4, r0 +/* 80045328 00042288 88 1E 00 F0 */ lbz r0, 0xf0(r30) +/* 8004532C 0004228C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80045330 00042290 41 82 00 38 */ beq lbl_80045368 +/* 80045334 00042294 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80045338 00042298 38 81 00 0C */ addi r4, r1, 0xc +/* 8004533C 0004229C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80045340 000422A0 80 7E 01 2C */ lwz r3, 0x12c(r30) +/* 80045344 000422A4 B0 01 00 08 */ sth r0, 8(r1) +/* 80045348 000422A8 80 63 10 C0 */ lwz r3, 0x10c0(r3) +/* 8004534C 000422AC 4B FC AA 01 */ bl GetValidObjectById__11CObjectListCF9TUniqueId +/* 80045350 000422B0 28 03 00 00 */ cmplwi r3, 0 +/* 80045354 000422B4 40 82 00 14 */ bne lbl_80045368 +/* 80045358 000422B8 80 7E 01 2C */ lwz r3, 0x12c(r30) +/* 8004535C 000422BC 7F E4 FB 78 */ mr r4, r31 +/* 80045360 000422C0 80 63 10 C0 */ lwz r3, 0x10c0(r3) +/* 80045364 000422C4 4B FC AC 21 */ bl AddObject__11CObjectListFR7CEntity +lbl_80045368: +/* 80045368 000422C8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8004536C 000422CC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80045370 000422D0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80045374 000422D4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80045378 000422D8 7C 08 03 A6 */ mtlr r0 +/* 8004537C 000422DC 38 21 00 40 */ addi r1, r1, 0x40 +/* 80045380 000422E0 4E 80 00 20 */ blr + +.global TouchPlayerActor__13CStateManagerFv +TouchPlayerActor__13CStateManagerFv: +/* 80045384 000422E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80045388 000422E8 7C 08 02 A6 */ mflr r0 +/* 8004538C 000422EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80045390 000422F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80045394 000422F4 7C 7F 1B 78 */ mr r31, r3 +/* 80045398 000422F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004539C 000422FC A0 83 0F 6C */ lhz r4, 0xf6c(r3) +/* 800453A0 00042300 7C 04 00 40 */ cmplw r4, r0 +/* 800453A4 00042304 41 82 00 20 */ beq lbl_800453C4 +/* 800453A8 00042308 B0 81 00 08 */ sth r4, 8(r1) +/* 800453AC 0004230C 38 81 00 08 */ addi r4, r1, 8 +/* 800453B0 00042310 48 00 71 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800453B4 00042314 28 03 00 00 */ cmplwi r3, 0 +/* 800453B8 00042318 41 82 00 0C */ beq lbl_800453C4 +/* 800453BC 0004231C 7F E4 FB 78 */ mr r4, r31 +/* 800453C0 00042320 48 16 5F 09 */ bl TouchModels__18CScriptPlayerActorFRC13CStateManager +lbl_800453C4: +/* 800453C4 00042324 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800453C8 00042328 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800453CC 0004232C 7C 08 03 A6 */ mtlr r0 +/* 800453D0 00042330 38 21 00 20 */ addi r1, r1, 0x20 +/* 800453D4 00042334 4E 80 00 20 */ blr + +.global TouchSky__13CStateManagerCFv +TouchSky__13CStateManagerCFv: +/* 800453D8 00042338 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800453DC 0004233C 7C 08 02 A6 */ mflr r0 +/* 800453E0 00042340 90 01 00 14 */ stw r0, 0x14(r1) +/* 800453E4 00042344 80 63 08 50 */ lwz r3, 0x850(r3) +/* 800453E8 00042348 48 01 15 11 */ bl TouchSky__6CWorldCFv +/* 800453EC 0004234C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800453F0 00042350 7C 08 03 A6 */ mtlr r0 +/* 800453F4 00042354 38 21 00 10 */ addi r1, r1, 0x10 +/* 800453F8 00042358 4E 80 00 20 */ blr + +.global DrawSpaceWarp__13CStateManagerCFRC9CVector3ff +DrawSpaceWarp__13CStateManagerCFRC9CVector3ff: +/* 800453FC 0004235C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80045400 00042360 7C 08 02 A6 */ mflr r0 +/* 80045404 00042364 90 01 00 34 */ stw r0, 0x34(r1) +/* 80045408 00042368 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8004540C 0004236C FF E0 08 90 */ fmr f31, f1 +/* 80045410 00042370 93 E1 00 24 */ stw r31, 0x24(r1) +/* 80045414 00042374 7C 9F 23 78 */ mr r31, r4 +/* 80045418 00042378 93 C1 00 20 */ stw r30, 0x20(r1) +/* 8004541C 0004237C 7C 7E 1B 78 */ mr r30, r3 +/* 80045420 00042380 7F C4 F3 78 */ mr r4, r30 +/* 80045424 00042384 80 63 08 B8 */ lwz r3, 0x8b8(r3) +/* 80045428 00042388 80 63 00 00 */ lwz r3, 0(r3) +/* 8004542C 0004238C 48 04 C1 2D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80045430 00042390 2C 03 00 02 */ cmpwi r3, 2 +/* 80045434 00042394 41 82 00 20 */ beq lbl_80045454 +/* 80045438 00042398 40 80 00 10 */ bge lbl_80045448 +/* 8004543C 0004239C 2C 03 00 01 */ cmpwi r3, 1 +/* 80045440 000423A0 40 80 00 4C */ bge lbl_8004548C +/* 80045444 000423A4 48 00 00 10 */ b lbl_80045454 +lbl_80045448: +/* 80045448 000423A8 2C 03 00 04 */ cmpwi r3, 4 +/* 8004544C 000423AC 40 80 00 08 */ bge lbl_80045454 +/* 80045450 000423B0 48 00 00 3C */ b lbl_8004548C +lbl_80045454: +/* 80045454 000423B4 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80045458 000423B8 7F C4 F3 78 */ mr r4, r30 +/* 8004545C 000423BC 4B FC 66 BD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80045460 000423C0 7C 64 1B 78 */ mr r4, r3 +/* 80045464 000423C4 7F E5 FB 78 */ mr r5, r31 +/* 80045468 000423C8 38 61 00 08 */ addi r3, r1, 8 +/* 8004546C 000423CC 48 01 84 25 */ bl ConvertToScreenSpace__11CGameCameraCFRC9CVector3f +/* 80045470 000423D0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80045474 000423D4 FC 20 F8 90 */ fmr f1, f31 +/* 80045478 000423D8 38 81 00 08 */ addi r4, r1, 8 +/* 8004547C 000423DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80045480 000423E0 81 8C 00 CC */ lwz r12, 0xcc(r12) +/* 80045484 000423E4 7D 89 03 A6 */ mtctr r12 +/* 80045488 000423E8 4E 80 04 21 */ bctrl +lbl_8004548C: +/* 8004548C 000423EC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80045490 000423F0 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 80045494 000423F4 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80045498 000423F8 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 8004549C 000423FC 7C 08 03 A6 */ mtlr r0 +/* 800454A0 00042400 38 21 00 30 */ addi r1, r1, 0x30 +/* 800454A4 00042404 4E 80 00 20 */ blr + +.global DrawReflection__13CStateManagerFRC9CVector3f +DrawReflection__13CStateManagerFRC9CVector3f: +/* 800454A8 00042408 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 800454AC 0004240C 7C 08 02 A6 */ mflr r0 +/* 800454B0 00042410 90 01 01 54 */ stw r0, 0x154(r1) +/* 800454B4 00042414 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 800454B8 00042418 7C 9F 23 78 */ mr r31, r4 +/* 800454BC 0004241C 93 C1 01 48 */ stw r30, 0x148(r1) +/* 800454C0 00042420 93 A1 01 44 */ stw r29, 0x144(r1) +/* 800454C4 00042424 7C 7D 1B 78 */ mr r29, r3 +/* 800454C8 00042428 83 C3 08 4C */ lwz r30, 0x84c(r3) +/* 800454CC 0004242C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800454D0 00042430 7F C4 F3 78 */ mr r4, r30 +/* 800454D4 00042434 48 0D 54 59 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 800454D8 00042438 C0 A1 00 50 */ lfs f5, 0x50(r1) +/* 800454DC 0004243C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800454E0 00042440 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 800454E4 00042444 38 81 00 84 */ addi r4, r1, 0x84 +/* 800454E8 00042448 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 800454EC 0004244C C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 800454F0 00042450 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 800454F4 00042454 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 800454F8 00042458 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 800454FC 0004245C D0 81 00 88 */ stfs f4, 0x88(r1) +/* 80045500 00042460 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 80045504 00042464 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 80045508 00042468 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 8004550C 0004246C D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80045510 00042470 48 2F 20 FD */ bl GetCenterPoint__6CAABoxCFv +/* 80045514 00042474 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 80045518 00042478 38 61 00 20 */ addi r3, r1, 0x20 +/* 8004551C 0004247C C0 A1 00 2C */ lfs f5, 0x2c(r1) +/* 80045520 00042480 38 81 00 14 */ addi r4, r1, 0x14 +/* 80045524 00042484 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 80045528 00042488 EC 03 18 28 */ fsubs f0, f3, f3 +/* 8004552C 0004248C C0 5F 00 04 */ lfs f2, 4(r31) +/* 80045530 00042490 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80045534 00042494 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80045538 00042498 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 8004553C 0004249C EC 25 08 28 */ fsubs f1, f5, f1 +/* 80045540 000424A0 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80045544 000424A4 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80045548 000424A8 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8004554C 000424AC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80045550 000424B0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80045554 000424B4 48 2C F2 FD */ bl AsNormalized__9CVector3fCFv +/* 80045558 000424B8 C0 62 85 9C */ lfs f3, lbl_805AA2BC@sda21(r2) +/* 8004555C 000424BC 38 61 00 9C */ addi r3, r1, 0x9c +/* 80045560 000424C0 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 80045564 000424C4 38 81 00 38 */ addi r4, r1, 0x38 +/* 80045568 000424C8 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8004556C 000424CC 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80045570 000424D0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80045574 000424D4 EC C3 00 B2 */ fmuls f6, f3, f2 +/* 80045578 000424D8 C0 E1 00 48 */ lfs f7, 0x48(r1) +/* 8004557C 000424DC EC 83 00 72 */ fmuls f4, f3, f1 +/* 80045580 000424E0 C0 A1 00 4C */ lfs f5, 0x4c(r1) +/* 80045584 000424E4 EC 43 00 32 */ fmuls f2, f3, f0 +/* 80045588 000424E8 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 8004558C 000424EC C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80045590 000424F0 EC C7 30 28 */ fsubs f6, f7, f6 +/* 80045594 000424F4 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80045598 000424F8 C0 02 85 A0 */ lfs f0, lbl_805AA2C0@sda21(r2) +/* 8004559C 000424FC EC 43 10 28 */ fsubs f2, f3, f2 +/* 800455A0 00042500 D0 21 00 08 */ stfs f1, 8(r1) +/* 800455A4 00042504 38 C1 00 08 */ addi r6, r1, 8 +/* 800455A8 00042508 D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 800455AC 0004250C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800455B0 00042510 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 800455B4 00042514 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800455B8 00042518 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800455BC 0004251C 48 2C E5 55 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800455C0 00042520 38 61 00 FC */ addi r3, r1, 0xfc +/* 800455C4 00042524 38 81 00 9C */ addi r4, r1, 0x9c +/* 800455C8 00042528 48 2C D5 AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800455CC 0004252C 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 800455D0 00042530 38 61 00 CC */ addi r3, r1, 0xcc +/* 800455D4 00042534 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 800455D8 00042538 48 2C D5 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800455DC 0004253C 38 61 00 FC */ addi r3, r1, 0xfc +/* 800455E0 00042540 48 2C 71 6D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800455E4 00042544 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 800455E8 00042548 7F A4 EB 78 */ mr r4, r29 +/* 800455EC 0004254C 4B FC 65 2D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800455F0 00042550 7C 7F 1B 78 */ mr r31, r3 +/* 800455F4 00042554 48 2C 48 69 */ bl GetProjectionState__9CGraphicsFv +/* 800455F8 00042558 88 03 00 00 */ lbz r0, 0(r3) +/* 800455FC 0004255C 3C 80 43 30 */ lis r4, 0x4330 +/* 80045600 00042560 3C A0 80 3F */ lis r5, lbl_803ED910@ha +/* 80045604 00042564 90 81 01 30 */ stw r4, 0x130(r1) +/* 80045608 00042568 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l +/* 8004560C 0004256C C8 22 85 A8 */ lfd f1, lbl_805AA2C8@sda21(r2) +/* 80045610 00042570 98 01 00 68 */ stb r0, 0x68(r1) +/* 80045614 00042574 80 A6 00 08 */ lwz r5, 8(r6) +/* 80045618 00042578 C0 03 00 04 */ lfs f0, 4(r3) +/* 8004561C 0004257C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 80045620 00042580 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 80045624 00042584 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80045628 00042588 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8004562C 0004258C C0 03 00 08 */ lfs f0, 8(r3) +/* 80045630 00042590 90 A1 01 34 */ stw r5, 0x134(r1) +/* 80045634 00042594 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80045638 00042598 C8 01 01 30 */ lfd f0, 0x130(r1) +/* 8004563C 0004259C C0 63 00 0C */ lfs f3, 0xc(r3) +/* 80045640 000425A0 90 01 01 3C */ stw r0, 0x13c(r1) +/* 80045644 000425A4 EC 40 08 28 */ fsubs f2, f0, f1 +/* 80045648 000425A8 D0 61 00 74 */ stfs f3, 0x74(r1) +/* 8004564C 000425AC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80045650 000425B0 90 81 01 38 */ stw r4, 0x138(r1) +/* 80045654 000425B4 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80045658 000425B8 C8 01 01 38 */ lfd f0, 0x138(r1) +/* 8004565C 000425BC C0 83 00 14 */ lfs f4, 0x14(r3) +/* 80045660 000425C0 EC 60 08 28 */ fsubs f3, f0, f1 +/* 80045664 000425C4 D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 80045668 000425C8 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8004566C 000425CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80045670 000425D0 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80045674 000425D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80045678 000425D8 C0 3F 01 5C */ lfs f1, 0x15c(r31) +/* 8004567C 000425DC 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80045680 000425E0 C0 9F 01 60 */ lfs f4, 0x160(r31) +/* 80045684 000425E4 C0 BF 01 64 */ lfs f5, 0x164(r31) +/* 80045688 000425E8 7D 89 03 A6 */ mtctr r12 +/* 8004568C 000425EC 4E 80 04 21 */ bctrl +/* 80045690 000425F0 7F C3 F3 78 */ mr r3, r30 +/* 80045694 000425F4 7F A4 EB 78 */ mr r4, r29 +/* 80045698 000425F8 4B FC EA DD */ bl RenderReflectedPlayer__7CPlayerFR13CStateManager +/* 8004569C 000425FC 38 61 00 CC */ addi r3, r1, 0xcc +/* 800456A0 00042600 48 2C 70 AD */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800456A4 00042604 38 61 00 68 */ addi r3, r1, 0x68 +/* 800456A8 00042608 48 2C 47 59 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 800456AC 0004260C 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800456B0 00042610 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 800456B4 00042614 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 800456B8 00042618 83 A1 01 44 */ lwz r29, 0x144(r1) +/* 800456BC 0004261C 7C 08 03 A6 */ mtlr r0 +/* 800456C0 00042620 38 21 01 50 */ addi r1, r1, 0x150 +/* 800456C4 00042624 4E 80 00 20 */ blr + +.global CacheReflection__13CStateManagerFv +CacheReflection__13CStateManagerFv: +/* 800456C8 00042628 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800456CC 0004262C 7C 08 02 A6 */ mflr r0 +/* 800456D0 00042630 3C 80 80 04 */ lis r4, ReflectionDrawer__13CStateManagerFPvRC9CVector3f@ha +/* 800456D4 00042634 7C 65 1B 78 */ mr r5, r3 +/* 800456D8 00042638 90 01 00 14 */ stw r0, 0x14(r1) +/* 800456DC 0004263C 38 84 57 10 */ addi r4, r4, ReflectionDrawer__13CStateManagerFPvRC9CVector3f@l +/* 800456E0 00042640 88 02 80 E8 */ lbz r0, lbl_805A9E08@sda21(r2) +/* 800456E4 00042644 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800456E8 00042648 7C 00 00 34 */ cntlzw r0, r0 +/* 800456EC 0004264C 81 83 00 00 */ lwz r12, 0(r3) +/* 800456F0 00042650 54 06 D9 7E */ srwi r6, r0, 5 +/* 800456F4 00042654 81 8C 00 C8 */ lwz r12, 0xc8(r12) +/* 800456F8 00042658 7D 89 03 A6 */ mtctr r12 +/* 800456FC 0004265C 4E 80 04 21 */ bctrl +/* 80045700 00042660 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80045704 00042664 7C 08 03 A6 */ mtlr r0 +/* 80045708 00042668 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004570C 0004266C 4E 80 00 20 */ blr + +.global ReflectionDrawer__13CStateManagerFPvRC9CVector3f +ReflectionDrawer__13CStateManagerFPvRC9CVector3f: +/* 80045710 00042670 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80045714 00042674 7C 08 02 A6 */ mflr r0 +/* 80045718 00042678 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004571C 0004267C 4B FF FD 8D */ bl DrawReflection__13CStateManagerFRC9CVector3f +/* 80045720 00042680 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80045724 00042684 7C 08 03 A6 */ mtlr r0 +/* 80045728 00042688 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004572C 0004268C 4E 80 00 20 */ blr + +.global CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei: +/* 80045730 00042690 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80045734 00042694 7C 08 02 A6 */ mflr r0 +/* 80045738 00042698 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004573C 0004269C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80045740 000426A0 7C DF 33 78 */ mr r31, r6 +/* 80045744 000426A4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80045748 000426A8 38 81 00 08 */ addi r4, r1, 8 +/* 8004574C 000426AC 80 63 08 78 */ lwz r3, 0x878(r3) +/* 80045750 000426B0 B0 01 00 08 */ sth r0, 8(r1) +/* 80045754 000426B4 48 07 C5 D5 */ bl GetNumActive__10CWeaponMgrCF9TUniqueId11EWeaponType +/* 80045758 000426B8 7F E0 1A 78 */ xor r0, r31, r3 +/* 8004575C 000426BC 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80045760 000426C0 7C 00 F8 38 */ and r0, r0, r31 +/* 80045764 000426C4 7C 00 18 50 */ subf r0, r0, r3 +/* 80045768 000426C8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8004576C 000426CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80045770 000426D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80045774 000426D4 7C 08 03 A6 */ mtlr r0 +/* 80045778 000426D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004577C 000426DC 4E 80 00 20 */ blr + +.global BuildDynamicLightListForWorld__13CStateManagerFv +BuildDynamicLightListForWorld__13CStateManagerFv: +/* 80045780 000426E0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80045784 000426E4 7C 08 02 A6 */ mflr r0 +/* 80045788 000426E8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8004578C 000426EC 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 80045790 000426F0 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 80045794 000426F4 7C 7E 1B 78 */ mr r30, r3 +/* 80045798 000426F8 7F C4 F3 78 */ mr r4, r30 +/* 8004579C 000426FC 93 A1 00 C4 */ stw r29, 0xc4(r1) +/* 800457A0 00042700 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 800457A4 00042704 80 63 08 B8 */ lwz r3, 0x8b8(r3) +/* 800457A8 00042708 80 63 00 00 */ lwz r3, 0(r3) +/* 800457AC 0004270C 48 04 BD AD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 800457B0 00042710 2C 03 00 03 */ cmpwi r3, 3 +/* 800457B4 00042714 40 82 00 64 */ bne lbl_80045818 +/* 800457B8 00042718 38 00 00 00 */ li r0, 0 +/* 800457BC 0004271C 38 7E 08 E0 */ addi r3, r30, 0x8e0 +/* 800457C0 00042720 90 01 00 60 */ stw r0, 0x60(r1) +/* 800457C4 00042724 38 81 00 5C */ addi r4, r1, 0x5c +/* 800457C8 00042728 90 01 00 64 */ stw r0, 0x64(r1) +/* 800457CC 0004272C 90 01 00 68 */ stw r0, 0x68(r1) +/* 800457D0 00042730 48 00 02 99 */ bl sub_80045a68 +/* 800457D4 00042734 80 01 00 60 */ lwz r0, 0x60(r1) +/* 800457D8 00042738 80 61 00 68 */ lwz r3, 0x68(r1) +/* 800457DC 0004273C 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 800457E0 00042740 90 61 00 30 */ stw r3, 0x30(r1) +/* 800457E4 00042744 7C 64 1B 78 */ mr r4, r3 +/* 800457E8 00042748 7C 03 02 14 */ add r0, r3, r0 +/* 800457EC 0004274C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 800457F0 00042750 90 01 00 38 */ stw r0, 0x38(r1) +/* 800457F4 00042754 90 01 00 34 */ stw r0, 0x34(r1) +/* 800457F8 00042758 48 00 00 08 */ b lbl_80045800 +lbl_800457FC: +/* 800457FC 0004275C 38 84 00 50 */ addi r4, r4, 0x50 +lbl_80045800: +/* 80045800 00042760 7C 04 00 40 */ cmplw r4, r0 +/* 80045804 00042764 40 82 FF F8 */ bne lbl_800457FC +/* 80045808 00042768 28 03 00 00 */ cmplwi r3, 0 +/* 8004580C 0004276C 41 82 01 98 */ beq lbl_800459A4 +/* 80045810 00042770 48 2D 01 21 */ bl Free__7CMemoryFPCv +/* 80045814 00042774 48 00 01 90 */ b lbl_800459A4 +lbl_80045818: +/* 80045818 00042778 83 FE 08 30 */ lwz r31, 0x830(r30) +/* 8004581C 0004277C AB BF 20 0A */ lha r29, 0x200a(r31) +/* 80045820 00042780 2C 1D 00 00 */ cmpwi r29, 0 +/* 80045824 00042784 41 82 01 80 */ beq lbl_800459A4 +/* 80045828 00042788 80 1E 08 E8 */ lwz r0, 0x8e8(r30) +/* 8004582C 0004278C 7C 1D 00 00 */ cmpw r29, r0 +/* 80045830 00042790 41 82 00 70 */ beq lbl_800458A0 +/* 80045834 00042794 38 00 00 00 */ li r0, 0 +/* 80045838 00042798 38 7E 08 E0 */ addi r3, r30, 0x8e0 +/* 8004583C 0004279C 90 01 00 50 */ stw r0, 0x50(r1) +/* 80045840 000427A0 38 81 00 4C */ addi r4, r1, 0x4c +/* 80045844 000427A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80045848 000427A8 90 01 00 58 */ stw r0, 0x58(r1) +/* 8004584C 000427AC 48 00 02 1D */ bl sub_80045a68 +/* 80045850 000427B0 80 01 00 50 */ lwz r0, 0x50(r1) +/* 80045854 000427B4 80 61 00 58 */ lwz r3, 0x58(r1) +/* 80045858 000427B8 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 8004585C 000427BC 90 61 00 20 */ stw r3, 0x20(r1) +/* 80045860 000427C0 7C 64 1B 78 */ mr r4, r3 +/* 80045864 000427C4 7C 03 02 14 */ add r0, r3, r0 +/* 80045868 000427C8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8004586C 000427CC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80045870 000427D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80045874 000427D4 48 00 00 08 */ b lbl_8004587C +lbl_80045878: +/* 80045878 000427D8 38 84 00 50 */ addi r4, r4, 0x50 +lbl_8004587C: +/* 8004587C 000427DC 7C 04 00 40 */ cmplw r4, r0 +/* 80045880 000427E0 40 82 FF F8 */ bne lbl_80045878 +/* 80045884 000427E4 28 03 00 00 */ cmplwi r3, 0 +/* 80045888 000427E8 41 82 00 08 */ beq lbl_80045890 +/* 8004588C 000427EC 48 2D 00 A5 */ bl Free__7CMemoryFPCv +lbl_80045890: +/* 80045890 000427F0 7F A4 EB 78 */ mr r4, r29 +/* 80045894 000427F4 38 7E 08 E0 */ addi r3, r30, 0x8e0 +/* 80045898 000427F8 48 00 A9 6D */ bl sub_80050204 +/* 8004589C 000427FC 48 00 00 3C */ b lbl_800458D8 +lbl_800458A0: +/* 800458A0 00042800 80 1E 08 E4 */ lwz r0, 0x8e4(r30) +/* 800458A4 00042804 80 7E 08 EC */ lwz r3, 0x8ec(r30) +/* 800458A8 00042808 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 800458AC 0004280C 90 61 00 10 */ stw r3, 0x10(r1) +/* 800458B0 00042810 7C 03 02 14 */ add r0, r3, r0 +/* 800458B4 00042814 90 61 00 0C */ stw r3, 0xc(r1) +/* 800458B8 00042818 90 01 00 18 */ stw r0, 0x18(r1) +/* 800458BC 0004281C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800458C0 00042820 48 00 00 08 */ b lbl_800458C8 +lbl_800458C4: +/* 800458C4 00042824 38 63 00 50 */ addi r3, r3, 0x50 +lbl_800458C8: +/* 800458C8 00042828 7C 03 00 40 */ cmplw r3, r0 +/* 800458CC 0004282C 40 82 FF F8 */ bne lbl_800458C4 +/* 800458D0 00042830 38 00 00 00 */ li r0, 0 +/* 800458D4 00042834 90 1E 08 E4 */ stw r0, 0x8e4(r30) +lbl_800458D8: +/* 800458D8 00042838 AB BF 20 08 */ lha r29, 0x2008(r31) +/* 800458DC 0004283C 48 00 00 84 */ b lbl_80045960 +lbl_800458E0: +/* 800458E0 00042840 7F E3 FB 78 */ mr r3, r31 +/* 800458E4 00042844 7F A4 EB 78 */ mr r4, r29 +/* 800458E8 00042848 4B FC A3 F5 */ bl __vc__11CObjectListCFi +/* 800458EC 0004284C 28 03 00 00 */ cmplwi r3, 0 +/* 800458F0 00042850 41 82 00 54 */ beq lbl_80045944 +/* 800458F4 00042854 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800458F8 00042858 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800458FC 0004285C 41 82 00 48 */ beq lbl_80045944 +/* 80045900 00042860 7C 64 1B 78 */ mr r4, r3 +/* 80045904 00042864 38 61 00 6C */ addi r3, r1, 0x6c +/* 80045908 00042868 48 06 FD A1 */ bl GetLight__10CGameLightCFv +/* 8004590C 0004286C 3B 81 00 6C */ addi r28, r1, 0x6c +/* 80045910 00042870 7F 83 E3 78 */ mr r3, r28 +/* 80045914 00042874 48 2C 08 41 */ bl GetIntensity__6CLightCFv +/* 80045918 00042878 C0 02 85 88 */ lfs f0, lbl_805AA2A8@sda21(r2) +/* 8004591C 0004287C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80045920 00042880 40 81 00 24 */ ble lbl_80045944 +/* 80045924 00042884 7F 83 E3 78 */ mr r3, r28 +/* 80045928 00042888 48 2C 09 AD */ bl GetRadius__6CLightCFv +/* 8004592C 0004288C C0 02 85 88 */ lfs f0, lbl_805AA2A8@sda21(r2) +/* 80045930 00042890 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80045934 00042894 40 81 00 10 */ ble lbl_80045944 +/* 80045938 00042898 7F 84 E3 78 */ mr r4, r28 +/* 8004593C 0004289C 38 7E 08 E0 */ addi r3, r30, 0x8e0 +/* 80045940 000428A0 48 00 00 85 */ bl sub_800459c4 +lbl_80045944: +/* 80045944 000428A4 2C 1D FF FF */ cmpwi r29, -1 +/* 80045948 000428A8 41 82 00 14 */ beq lbl_8004595C +/* 8004594C 000428AC 57 A3 18 38 */ slwi r3, r29, 3 +/* 80045950 000428B0 38 03 00 08 */ addi r0, r3, 8 +/* 80045954 000428B4 7F BF 02 AE */ lhax r29, r31, r0 +/* 80045958 000428B8 48 00 00 08 */ b lbl_80045960 +lbl_8004595C: +/* 8004595C 000428BC 3B A0 FF FF */ li r29, -1 +lbl_80045960: +/* 80045960 000428C0 2C 1D FF FF */ cmpwi r29, -1 +/* 80045964 000428C4 40 82 FF 7C */ bne lbl_800458E0 +/* 80045968 000428C8 88 0D A2 04 */ lbz r0, lbl_805A8DC4@sda21(r13) +/* 8004596C 000428CC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80045970 000428D0 38 81 00 40 */ addi r4, r1, 0x40 +/* 80045974 000428D4 38 A1 00 08 */ addi r5, r1, 8 +/* 80045978 000428D8 98 01 00 08 */ stb r0, 8(r1) +/* 8004597C 000428DC 80 1E 08 E4 */ lwz r0, 0x8e4(r30) +/* 80045980 000428E0 80 DE 08 EC */ lwz r6, 0x8ec(r30) +/* 80045984 000428E4 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80045988 000428E8 7C C6 02 14 */ add r6, r6, r0 +/* 8004598C 000428EC 90 C1 00 40 */ stw r6, 0x40(r1) +/* 80045990 000428F0 80 1E 08 EC */ lwz r0, 0x8ec(r30) +/* 80045994 000428F4 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 80045998 000428F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8004599C 000428FC 90 01 00 48 */ stw r0, 0x48(r1) +/* 800459A0 00042900 48 00 9F 39 */ bl sub_8004f8d8 +lbl_800459A4: +/* 800459A4 00042904 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800459A8 00042908 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 800459AC 0004290C 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 800459B0 00042910 83 A1 00 C4 */ lwz r29, 0xc4(r1) +/* 800459B4 00042914 83 81 00 C0 */ lwz r28, 0xc0(r1) +/* 800459B8 00042918 7C 08 03 A6 */ mtlr r0 +/* 800459BC 0004291C 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 800459C0 00042920 4E 80 00 20 */ blr + +.global sub_800459c4 +sub_800459c4: +/* 800459C4 00042924 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800459C8 00042928 7C 08 02 A6 */ mflr r0 +/* 800459CC 0004292C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800459D0 00042930 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800459D4 00042934 7C 9F 23 78 */ mr r31, r4 +/* 800459D8 00042938 93 C1 00 08 */ stw r30, 8(r1) +/* 800459DC 0004293C 7C 7E 1B 78 */ mr r30, r3 +/* 800459E0 00042940 80 03 00 04 */ lwz r0, 4(r3) +/* 800459E4 00042944 80 A3 00 08 */ lwz r5, 8(r3) +/* 800459E8 00042948 7C 00 28 00 */ cmpw r0, r5 +/* 800459EC 0004294C 41 80 00 18 */ blt lbl_80045A04 +/* 800459F0 00042950 2C 05 00 00 */ cmpwi r5, 0 +/* 800459F4 00042954 38 80 00 04 */ li r4, 4 +/* 800459F8 00042958 41 82 00 08 */ beq lbl_80045A00 +/* 800459FC 0004295C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80045A00: +/* 80045A00 00042960 48 00 A8 05 */ bl sub_80050204 +lbl_80045A04: +/* 80045A04 00042964 80 1E 00 04 */ lwz r0, 4(r30) +/* 80045A08 00042968 7F E4 FB 78 */ mr r4, r31 +/* 80045A0C 0004296C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80045A10 00042970 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80045A14 00042974 7C 63 02 14 */ add r3, r3, r0 +/* 80045A18 00042978 48 00 00 29 */ bl sub_80045a40 +/* 80045A1C 0004297C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80045A20 00042980 38 03 00 01 */ addi r0, r3, 1 +/* 80045A24 00042984 90 1E 00 04 */ stw r0, 4(r30) +/* 80045A28 00042988 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80045A2C 0004298C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80045A30 00042990 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80045A34 00042994 7C 08 03 A6 */ mtlr r0 +/* 80045A38 00042998 38 21 00 10 */ addi r1, r1, 0x10 +/* 80045A3C 0004299C 4E 80 00 20 */ blr + +.global sub_80045a40 +sub_80045a40: +/* 80045A40 000429A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80045A44 000429A4 7C 08 02 A6 */ mflr r0 +/* 80045A48 000429A8 28 03 00 00 */ cmplwi r3, 0 +/* 80045A4C 000429AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80045A50 000429B0 41 82 00 08 */ beq lbl_80045A58 +/* 80045A54 000429B4 4B FF 5B 1D */ bl __ct__6CLightFCR6CLight +lbl_80045A58: +/* 80045A58 000429B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80045A5C 000429BC 7C 08 03 A6 */ mtlr r0 +/* 80045A60 000429C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80045A64 000429C4 4E 80 00 20 */ blr + +.global sub_80045a68 +sub_80045a68: +/* 80045A68 000429C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80045A6C 000429CC 7C 08 02 A6 */ mflr r0 +/* 80045A70 000429D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80045A74 000429D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80045A78 000429D8 7C 9F 23 78 */ mr r31, r4 +/* 80045A7C 000429DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80045A80 000429E0 7C 7E 1B 78 */ mr r30, r3 +/* 80045A84 000429E4 7C 1E F8 40 */ cmplw r30, r31 +/* 80045A88 000429E8 40 82 00 08 */ bne lbl_80045A90 +/* 80045A8C 000429EC 48 00 00 98 */ b lbl_80045B24 +lbl_80045A90: +/* 80045A90 000429F0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80045A94 000429F4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80045A98 000429F8 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80045A9C 000429FC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80045AA0 00042A00 7C 03 02 14 */ add r0, r3, r0 +/* 80045AA4 00042A04 90 61 00 08 */ stw r3, 8(r1) +/* 80045AA8 00042A08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80045AAC 00042A0C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80045AB0 00042A10 48 00 00 08 */ b lbl_80045AB8 +lbl_80045AB4: +/* 80045AB4 00042A14 38 63 00 50 */ addi r3, r3, 0x50 +lbl_80045AB8: +/* 80045AB8 00042A18 7C 03 00 40 */ cmplw r3, r0 +/* 80045ABC 00042A1C 40 82 FF F8 */ bne lbl_80045AB4 +/* 80045AC0 00042A20 38 00 00 00 */ li r0, 0 +/* 80045AC4 00042A24 90 1E 00 04 */ stw r0, 4(r30) +/* 80045AC8 00042A28 80 9F 00 04 */ lwz r4, 4(r31) +/* 80045ACC 00042A2C 2C 04 00 00 */ cmpwi r4, 0 +/* 80045AD0 00042A30 40 82 00 28 */ bne lbl_80045AF8 +/* 80045AD4 00042A34 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80045AD8 00042A38 28 03 00 00 */ cmplwi r3, 0 +/* 80045ADC 00042A3C 41 82 00 08 */ beq lbl_80045AE4 +/* 80045AE0 00042A40 48 2C FE 51 */ bl Free__7CMemoryFPCv +lbl_80045AE4: +/* 80045AE4 00042A44 38 00 00 00 */ li r0, 0 +/* 80045AE8 00042A48 90 1E 00 04 */ stw r0, 4(r30) +/* 80045AEC 00042A4C 90 1E 00 08 */ stw r0, 8(r30) +/* 80045AF0 00042A50 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80045AF4 00042A54 48 00 00 2C */ b lbl_80045B20 +lbl_80045AF8: +/* 80045AF8 00042A58 7F C3 F3 78 */ mr r3, r30 +/* 80045AFC 00042A5C 48 00 A7 09 */ bl sub_80050204 +/* 80045B00 00042A60 80 1F 00 04 */ lwz r0, 4(r31) +/* 80045B04 00042A64 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80045B08 00042A68 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80045B0C 00042A6C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80045B10 00042A70 7C 83 02 14 */ add r4, r3, r0 +/* 80045B14 00042A74 48 00 00 29 */ bl sub_80045b3c +/* 80045B18 00042A78 80 1F 00 04 */ lwz r0, 4(r31) +/* 80045B1C 00042A7C 90 1E 00 04 */ stw r0, 4(r30) +lbl_80045B20: +/* 80045B20 00042A80 7F C3 F3 78 */ mr r3, r30 +lbl_80045B24: +/* 80045B24 00042A84 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80045B28 00042A88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80045B2C 00042A8C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80045B30 00042A90 7C 08 03 A6 */ mtlr r0 +/* 80045B34 00042A94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80045B38 00042A98 4E 80 00 20 */ blr + +.global sub_80045b3c +sub_80045b3c: +/* 80045B3C 00042A9C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80045B40 00042AA0 7C 08 02 A6 */ mflr r0 +/* 80045B44 00042AA4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80045B48 00042AA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80045B4C 00042AAC 7C BF 2B 78 */ mr r31, r5 +/* 80045B50 00042AB0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80045B54 00042AB4 7C 7E 1B 78 */ mr r30, r3 +/* 80045B58 00042AB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80045B5C 00042ABC 7C 9D 23 78 */ mr r29, r4 +/* 80045B60 00042AC0 48 00 00 18 */ b lbl_80045B78 +lbl_80045B64: +/* 80045B64 00042AC4 7F E3 FB 78 */ mr r3, r31 +/* 80045B68 00042AC8 7F C4 F3 78 */ mr r4, r30 +/* 80045B6C 00042ACC 4B FF FE D5 */ bl sub_80045a40 +/* 80045B70 00042AD0 3B FF 00 50 */ addi r31, r31, 0x50 +/* 80045B74 00042AD4 3B DE 00 50 */ addi r30, r30, 0x50 +lbl_80045B78: +/* 80045B78 00042AD8 7C 1E E8 40 */ cmplw r30, r29 +/* 80045B7C 00042ADC 40 82 FF E8 */ bne lbl_80045B64 +/* 80045B80 00042AE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80045B84 00042AE4 7F E3 FB 78 */ mr r3, r31 +/* 80045B88 00042AE8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80045B8C 00042AEC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80045B90 00042AF0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80045B94 00042AF4 7C 08 03 A6 */ mtlr r0 +/* 80045B98 00042AF8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80045B9C 00042AFC 4E 80 00 20 */ blr + +.global DrawDebugStuff__13CStateManagerCFv +DrawDebugStuff__13CStateManagerCFv: +/* 80045BA0 00042B00 4E 80 00 20 */ blr + +.global RenderCamerasAndAreaLights__13CStateManagerCFv +RenderCamerasAndAreaLights__13CStateManagerCFv: +/* 80045BA4 00042B04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80045BA8 00042B08 7C 08 02 A6 */ mflr r0 +/* 80045BAC 00042B0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80045BB0 00042B10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80045BB4 00042B14 7C 7F 1B 78 */ mr r31, r3 +/* 80045BB8 00042B18 7F E4 FB 78 */ mr r4, r31 +/* 80045BBC 00042B1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80045BC0 00042B20 80 63 08 70 */ lwz r3, 0x870(r3) +/* 80045BC4 00042B24 4B FC 60 45 */ bl RenderCameras__14CCameraManagerFRC13CStateManager +/* 80045BC8 00042B28 3B C0 00 00 */ li r30, 0 +/* 80045BCC 00042B2C 3B FF 0B 88 */ addi r31, r31, 0xb88 +lbl_80045BD0: +/* 80045BD0 00042B30 7F E3 FB 78 */ mr r3, r31 +/* 80045BD4 00042B34 48 0A 66 BD */ bl Draw__17CCameraFilterPassCFv +/* 80045BD8 00042B38 3B DE 00 01 */ addi r30, r30, 1 +/* 80045BDC 00042B3C 3B FF 00 2C */ addi r31, r31, 0x2c +/* 80045BE0 00042B40 2C 1E 00 09 */ cmpwi r30, 9 +/* 80045BE4 00042B44 41 80 FF EC */ blt lbl_80045BD0 +/* 80045BE8 00042B48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80045BEC 00042B4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80045BF0 00042B50 83 C1 00 08 */ lwz r30, 8(r1) +/* 80045BF4 00042B54 7C 08 03 A6 */ mtlr r0 +/* 80045BF8 00042B58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80045BFC 00042B5C 4E 80 00 20 */ blr + +.global DrawE3DeathEffect__13CStateManagerCFv +DrawE3DeathEffect__13CStateManagerCFv: +/* 80045C00 00042B60 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80045C04 00042B64 7C 08 02 A6 */ mflr r0 +/* 80045C08 00042B68 90 01 00 84 */ stw r0, 0x84(r1) +/* 80045C0C 00042B6C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80045C10 00042B70 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80045C14 00042B74 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80045C18 00042B78 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80045C1C 00042B7C DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80045C20 00042B80 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80045C24 00042B84 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 80045C28 00042B88 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80045C2C 00042B8C C3 C3 09 F4 */ lfs f30, 0x9f4(r3) +/* 80045C30 00042B90 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80045C34 00042B94 40 81 01 08 */ ble lbl_80045D3C +/* 80045C38 00042B98 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80045C3C 00042B9C 2C 00 00 00 */ cmpwi r0, 0 +/* 80045C40 00042BA0 41 82 00 94 */ beq lbl_80045CD4 +/* 80045C44 00042BA4 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80045C48 00042BA8 38 81 00 14 */ addi r4, r1, 0x14 +/* 80045C4C 00042BAC C0 02 80 F0 */ lfs f0, lbl_805A9E10@sda21(r2) +/* 80045C50 00042BB0 38 6D 82 88 */ addi r3, r13, lbl_805A6E48@sda21 +/* 80045C54 00042BB4 EC 3E 10 28 */ fsubs f1, f30, f2 +/* 80045C58 00042BB8 38 AD 82 8C */ addi r5, r13, lbl_805A6E4C@sda21 +/* 80045C5C 00042BBC EC 00 10 28 */ fsubs f0, f0, f2 +/* 80045C60 00042BC0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80045C64 00042BC4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80045C68 00042BC8 4B FC 66 4D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80045C6C 00042BCC C3 A3 00 00 */ lfs f29, 0(r3) +/* 80045C70 00042BD0 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80045C74 00042BD4 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80045C78 00042BD8 40 81 00 5C */ ble lbl_80045CD4 +/* 80045C7C 00042BDC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80045C80 00042BE0 48 0A 63 BD */ bl __ct__15CCameraBlurPassFv +/* 80045C84 00042BE4 C0 02 85 B0 */ lfs f0, lbl_805AA2D0@sda21(r2) +/* 80045C88 00042BE8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80045C8C 00042BEC C0 42 85 68 */ lfs f2, lbl_805AA288@sda21(r2) +/* 80045C90 00042BF0 38 80 00 02 */ li r4, 2 +/* 80045C94 00042BF4 EC 20 07 72 */ fmuls f1, f0, f29 +/* 80045C98 00042BF8 38 A0 00 00 */ li r5, 0 +/* 80045C9C 00042BFC 48 0A 5D 09 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb +/* 80045CA0 00042C00 38 61 00 18 */ addi r3, r1, 0x18 +/* 80045CA4 00042C04 48 0A 4D E5 */ bl Draw__15CCameraBlurPassCFv +/* 80045CA8 00042C08 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80045CAC 00042C0C 28 00 00 00 */ cmplwi r0, 0 +/* 80045CB0 00042C10 41 82 00 1C */ beq lbl_80045CCC +/* 80045CB4 00042C14 34 61 00 18 */ addic. r3, r1, 0x18 +/* 80045CB8 00042C18 41 82 00 14 */ beq lbl_80045CCC +/* 80045CBC 00042C1C 28 03 00 00 */ cmplwi r3, 0 +/* 80045CC0 00042C20 41 82 00 0C */ beq lbl_80045CCC +/* 80045CC4 00042C24 38 80 00 00 */ li r4, 0 +/* 80045CC8 00042C28 48 2F B1 79 */ bl __dt__6CTokenFv +lbl_80045CCC: +/* 80045CCC 00042C2C 38 00 00 00 */ li r0, 0 +/* 80045CD0 00042C30 98 01 00 24 */ stb r0, 0x24(r1) +lbl_80045CD4: +/* 80045CD4 00042C34 C0 22 85 B4 */ lfs f1, lbl_805AA2D4@sda21(r2) +/* 80045CD8 00042C38 38 81 00 10 */ addi r4, r1, 0x10 +/* 80045CDC 00042C3C C0 02 80 F0 */ lfs f0, lbl_805A9E10@sda21(r2) +/* 80045CE0 00042C40 38 6D 82 90 */ addi r3, r13, lbl_805A6E50@sda21 +/* 80045CE4 00042C44 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80045CE8 00042C48 38 AD 82 94 */ addi r5, r13, lbl_805A6E54@sda21 +/* 80045CEC 00042C4C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80045CF0 00042C50 EC 1E 00 24 */ fdivs f0, f30, f0 +/* 80045CF4 00042C54 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80045CF8 00042C58 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80045CFC 00042C5C 4B FC 65 B9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80045D00 00042C60 C3 A3 00 00 */ lfs f29, 0(r3) +/* 80045D04 00042C64 48 30 42 A9 */ bl White__6CColorFv +/* 80045D08 00042C68 C0 02 85 B8 */ lfs f0, lbl_805AA2D8@sda21(r2) +/* 80045D0C 00042C6C EF E0 07 72 */ fmuls f31, f0, f29 +/* 80045D10 00042C70 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80045D14 00042C74 38 A1 00 0C */ addi r5, r1, 0xc +/* 80045D18 00042C78 80 E3 00 00 */ lwz r7, 0(r3) +/* 80045D1C 00042C7C 38 60 00 03 */ li r3, 3 +/* 80045D20 00042C80 88 01 00 08 */ lbz r0, 8(r1) +/* 80045D24 00042C84 38 80 00 00 */ li r4, 0 +/* 80045D28 00042C88 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 80045D2C 00042C8C C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) +/* 80045D30 00042C90 90 01 00 0C */ stw r0, 0xc(r1) +/* 80045D34 00042C94 38 C0 00 00 */ li r6, 0 +/* 80045D38 00042C98 48 0A 64 11 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_80045D3C: +/* 80045D3C 00042C9C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80045D40 00042CA0 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80045D44 00042CA4 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80045D48 00042CA8 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80045D4C 00042CAC E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80045D50 00042CB0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80045D54 00042CB4 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80045D58 00042CB8 7C 08 03 A6 */ mtlr r0 +/* 80045D5C 00042CBC 38 21 00 80 */ addi r1, r1, 0x80 +/* 80045D60 00042CC0 4E 80 00 20 */ blr + +.global DrawAdditionalFilters__13CStateManagerCFv +DrawAdditionalFilters__13CStateManagerCFv: +/* 80045D64 00042CC4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80045D68 00042CC8 7C 08 02 A6 */ mflr r0 +/* 80045D6C 00042CCC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80045D70 00042CD0 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80045D74 00042CD4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80045D78 00042CD8 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80045D7C 00042CDC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80045D80 00042CE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80045D84 00042CE4 7C 7F 1B 78 */ mr r31, r3 +/* 80045D88 00042CE8 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 80045D8C 00042CEC C0 23 0F 0C */ lfs f1, 0xf0c(r3) +/* 80045D90 00042CF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80045D94 00042CF4 40 80 00 64 */ bge lbl_80045DF8 +/* 80045D98 00042CF8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80045D9C 00042CFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80045DA0 00042D00 40 81 00 58 */ ble lbl_80045DF8 +/* 80045DA4 00042D04 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80045DA8 00042D08 4B FC 4B 59 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80045DAC 00042D0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80045DB0 00042D10 40 82 00 48 */ bne lbl_80045DF8 +/* 80045DB4 00042D14 C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) +/* 80045DB8 00042D18 C0 1F 0F 0C */ lfs f0, 0xf0c(r31) +/* 80045DBC 00042D1C EF C1 00 28 */ fsubs f30, f1, f0 +/* 80045DC0 00042D20 48 30 41 ED */ bl White__6CColorFv +/* 80045DC4 00042D24 C0 02 85 B8 */ lfs f0, lbl_805AA2D8@sda21(r2) +/* 80045DC8 00042D28 EF E0 07 B2 */ fmuls f31, f0, f30 +/* 80045DCC 00042D2C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80045DD0 00042D30 38 A1 00 0C */ addi r5, r1, 0xc +/* 80045DD4 00042D34 80 E3 00 00 */ lwz r7, 0(r3) +/* 80045DD8 00042D38 38 60 00 03 */ li r3, 3 +/* 80045DDC 00042D3C 88 01 00 08 */ lbz r0, 8(r1) +/* 80045DE0 00042D40 38 80 00 00 */ li r4, 0 +/* 80045DE4 00042D44 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 80045DE8 00042D48 C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) +/* 80045DEC 00042D4C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80045DF0 00042D50 38 C0 00 00 */ li r6, 0 +/* 80045DF4 00042D54 48 0A 63 55 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_80045DF8: +/* 80045DF8 00042D58 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80045DFC 00042D5C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80045E00 00042D60 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80045E04 00042D64 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80045E08 00042D68 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80045E0C 00042D6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80045E10 00042D70 7C 08 03 A6 */ mtlr r0 +/* 80045E14 00042D74 38 21 00 40 */ addi r1, r1, 0x40 +/* 80045E18 00042D78 4E 80 00 20 */ blr + +.global ResetViewAfterDraw__13CStateManagerCFRCQ29CGraphics9CViewportRC12CTransform4f +ResetViewAfterDraw__13CStateManagerCFRCQ29CGraphics9CViewportRC12CTransform4f: +/* 80045E1C 00042D7C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80045E20 00042D80 7C 08 02 A6 */ mflr r0 +/* 80045E24 00042D84 7C 87 23 78 */ mr r7, r4 +/* 80045E28 00042D88 90 01 00 94 */ stw r0, 0x94(r1) +/* 80045E2C 00042D8C 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80045E30 00042D90 7C 7F 1B 78 */ mr r31, r3 +/* 80045E34 00042D94 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80045E38 00042D98 7C BE 2B 78 */ mr r30, r5 +/* 80045E3C 00042D9C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80045E40 00042DA0 80 84 00 00 */ lwz r4, 0(r4) +/* 80045E44 00042DA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80045E48 00042DA8 80 A7 00 04 */ lwz r5, 4(r7) +/* 80045E4C 00042DAC 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80045E50 00042DB0 80 C7 00 08 */ lwz r6, 8(r7) +/* 80045E54 00042DB4 80 E7 00 0C */ lwz r7, 0xc(r7) +/* 80045E58 00042DB8 7D 89 03 A6 */ mtctr r12 +/* 80045E5C 00042DBC 4E 80 04 21 */ bctrl +/* 80045E60 00042DC0 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80045E64 00042DC4 7F E4 FB 78 */ mr r4, r31 +/* 80045E68 00042DC8 4B FC 5C B1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80045E6C 00042DCC 7C 7F 1B 78 */ mr r31, r3 +/* 80045E70 00042DD0 C0 22 85 BC */ lfs f1, lbl_805AA2DC@sda21(r2) +/* 80045E74 00042DD4 C0 03 01 5C */ lfs f0, 0x15c(r3) +/* 80045E78 00042DD8 7F C4 F3 78 */ mr r4, r30 +/* 80045E7C 00042DDC C0 43 01 68 */ lfs f2, 0x168(r3) +/* 80045E80 00042DE0 38 61 00 08 */ addi r3, r1, 8 +/* 80045E84 00042DE4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80045E88 00042DE8 C0 7F 01 60 */ lfs f3, 0x160(r31) +/* 80045E8C 00042DEC C0 82 85 C0 */ lfs f4, lbl_805AA2E0@sda21(r2) +/* 80045E90 00042DF0 38 A0 00 00 */ li r5, 0 +/* 80045E94 00042DF4 48 2F F3 C1 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf +/* 80045E98 00042DF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80045E9C 00042DFC 38 81 00 08 */ addi r4, r1, 8 +/* 80045EA0 00042E00 81 83 00 00 */ lwz r12, 0(r3) +/* 80045EA4 00042E04 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 80045EA8 00042E08 7D 89 03 A6 */ mtctr r12 +/* 80045EAC 00042E0C 4E 80 04 21 */ bctrl +/* 80045EB0 00042E10 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 80045EB4 00042E14 3C 80 43 30 */ lis r4, 0x4330 +/* 80045EB8 00042E18 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 80045EBC 00042E1C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80045EC0 00042E20 80 A6 00 08 */ lwz r5, 8(r6) +/* 80045EC4 00042E24 80 06 00 0C */ lwz r0, 0xc(r6) +/* 80045EC8 00042E28 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 80045ECC 00042E2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80045ED0 00042E30 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80045ED4 00042E34 90 A1 00 74 */ stw r5, 0x74(r1) +/* 80045ED8 00042E38 C8 62 85 A8 */ lfd f3, lbl_805AA2C8@sda21(r2) +/* 80045EDC 00042E3C 90 81 00 70 */ stw r4, 0x70(r1) +/* 80045EE0 00042E40 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80045EE4 00042E44 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80045EE8 00042E48 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80045EEC 00042E4C EC 40 18 28 */ fsubs f2, f0, f3 +/* 80045EF0 00042E50 C0 3F 01 5C */ lfs f1, 0x15c(r31) +/* 80045EF4 00042E54 90 81 00 78 */ stw r4, 0x78(r1) +/* 80045EF8 00042E58 C0 9F 01 60 */ lfs f4, 0x160(r31) +/* 80045EFC 00042E5C C8 01 00 78 */ lfd f0, 0x78(r1) +/* 80045F00 00042E60 C0 BF 01 64 */ lfs f5, 0x164(r31) +/* 80045F04 00042E64 EC 60 18 28 */ fsubs f3, f0, f3 +/* 80045F08 00042E68 7D 89 03 A6 */ mtctr r12 +/* 80045F0C 00042E6C 4E 80 04 21 */ bctrl +/* 80045F10 00042E70 80 A1 00 08 */ lwz r5, 8(r1) +/* 80045F14 00042E74 38 60 00 00 */ li r3, 0 +/* 80045F18 00042E78 2C 05 00 00 */ cmpwi r5, 0 +/* 80045F1C 00042E7C 40 81 00 40 */ ble lbl_80045F5C +/* 80045F20 00042E80 2C 05 00 08 */ cmpwi r5, 8 +/* 80045F24 00042E84 38 85 FF F8 */ addi r4, r5, -8 +/* 80045F28 00042E88 40 81 00 20 */ ble lbl_80045F48 +/* 80045F2C 00042E8C 38 04 00 07 */ addi r0, r4, 7 +/* 80045F30 00042E90 54 00 E8 FE */ srwi r0, r0, 3 +/* 80045F34 00042E94 7C 09 03 A6 */ mtctr r0 +/* 80045F38 00042E98 2C 04 00 00 */ cmpwi r4, 0 +/* 80045F3C 00042E9C 40 81 00 0C */ ble lbl_80045F48 +lbl_80045F40: +/* 80045F40 00042EA0 38 63 00 08 */ addi r3, r3, 8 +/* 80045F44 00042EA4 42 00 FF FC */ bdnz lbl_80045F40 +lbl_80045F48: +/* 80045F48 00042EA8 7C 03 28 50 */ subf r0, r3, r5 +/* 80045F4C 00042EAC 7C 09 03 A6 */ mtctr r0 +/* 80045F50 00042EB0 7C 03 28 00 */ cmpw r3, r5 +/* 80045F54 00042EB4 40 80 00 08 */ bge lbl_80045F5C +lbl_80045F58: +/* 80045F58 00042EB8 42 00 00 00 */ bdnz lbl_80045F58 +lbl_80045F5C: +/* 80045F5C 00042EBC 38 00 00 00 */ li r0, 0 +/* 80045F60 00042EC0 90 01 00 08 */ stw r0, 8(r1) +/* 80045F64 00042EC4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80045F68 00042EC8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80045F6C 00042ECC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80045F70 00042ED0 7C 08 03 A6 */ mtlr r0 +/* 80045F74 00042ED4 38 21 00 90 */ addi r1, r1, 0x90 +/* 80045F78 00042ED8 4E 80 00 20 */ blr + +.global DrawWorld__13CStateManagerCFv +DrawWorld__13CStateManagerCFv: +/* 80045F7C 00042EDC 94 21 EC C0 */ stwu r1, -0x1340(r1) +/* 80045F80 00042EE0 7C 08 02 A6 */ mflr r0 +/* 80045F84 00042EE4 90 01 13 44 */ stw r0, 0x1344(r1) +/* 80045F88 00042EE8 BD C1 12 F8 */ stmw r14, 0x12f8(r1) +/* 80045F8C 00042EEC 7C 70 1B 78 */ mr r16, r3 +/* 80045F90 00042EF0 38 61 00 90 */ addi r3, r1, 0x90 +/* 80045F94 00042EF4 38 90 0F 14 */ addi r4, r16, 0xf14 +/* 80045F98 00042EF8 48 31 23 3D */ bl __ct__13CTimeProviderFRCf +/* 80045F9C 00042EFC 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 80045FA0 00042F00 7E 04 83 78 */ mr r4, r16 +/* 80045FA4 00042F04 39 63 D9 10 */ addi r11, r3, lbl_803ED910@l +/* 80045FA8 00042F08 38 61 01 54 */ addi r3, r1, 0x154 +/* 80045FAC 00042F0C 81 4B 00 00 */ lwz r10, 0(r11) +/* 80045FB0 00042F10 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 80045FB4 00042F14 81 2B 00 04 */ lwz r9, 4(r11) +/* 80045FB8 00042F18 81 0B 00 08 */ lwz r8, 8(r11) +/* 80045FBC 00042F1C 80 EB 00 0C */ lwz r7, 0xc(r11) +/* 80045FC0 00042F20 80 CB 00 10 */ lwz r6, 0x10(r11) +/* 80045FC4 00042F24 80 0B 00 14 */ lwz r0, 0x14(r11) +/* 80045FC8 00042F28 91 41 00 B0 */ stw r10, 0xb0(r1) +/* 80045FCC 00042F2C 91 21 00 B4 */ stw r9, 0xb4(r1) +/* 80045FD0 00042F30 91 01 00 B8 */ stw r8, 0xb8(r1) +/* 80045FD4 00042F34 90 E1 00 BC */ stw r7, 0xbc(r1) +/* 80045FD8 00042F38 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 80045FDC 00042F3C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80045FE0 00042F40 48 00 10 05 */ bl SetupViewForDraw__13CStateManagerCFRCQ29CGraphics9CViewport +/* 80045FE4 00042F44 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80045FE8 00042F48 38 81 01 58 */ addi r4, r1, 0x158 +/* 80045FEC 00042F4C 38 61 01 BC */ addi r3, r1, 0x1bc +/* 80045FF0 00042F50 90 01 01 B8 */ stw r0, 0x1b8(r1) +/* 80045FF4 00042F54 7C 09 03 A6 */ mtctr r0 +/* 80045FF8 00042F58 2C 00 00 00 */ cmpwi r0, 0 +/* 80045FFC 00042F5C 40 81 00 38 */ ble lbl_80046034 +lbl_80046000: +/* 80046000 00042F60 28 03 00 00 */ cmplwi r3, 0 +/* 80046004 00042F64 41 82 00 24 */ beq lbl_80046028 +/* 80046008 00042F68 C0 24 00 00 */ lfs f1, 0(r4) +/* 8004600C 00042F6C C0 04 00 04 */ lfs f0, 4(r4) +/* 80046010 00042F70 D0 23 00 00 */ stfs f1, 0(r3) +/* 80046014 00042F74 C0 24 00 08 */ lfs f1, 8(r4) +/* 80046018 00042F78 D0 03 00 04 */ stfs f0, 4(r3) +/* 8004601C 00042F7C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80046020 00042F80 D0 23 00 08 */ stfs f1, 8(r3) +/* 80046024 00042F84 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_80046028: +/* 80046028 00042F88 38 63 00 10 */ addi r3, r3, 0x10 +/* 8004602C 00042F8C 38 84 00 10 */ addi r4, r4, 0x10 +/* 80046030 00042F90 42 00 FF D0 */ bdnz lbl_80046000 +lbl_80046034: +/* 80046034 00042F94 80 A1 01 54 */ lwz r5, 0x154(r1) +/* 80046038 00042F98 38 60 00 00 */ li r3, 0 +/* 8004603C 00042F9C 2C 05 00 00 */ cmpwi r5, 0 +/* 80046040 00042FA0 40 81 00 40 */ ble lbl_80046080 +/* 80046044 00042FA4 2C 05 00 08 */ cmpwi r5, 8 +/* 80046048 00042FA8 38 85 FF F8 */ addi r4, r5, -8 +/* 8004604C 00042FAC 40 81 00 20 */ ble lbl_8004606C +/* 80046050 00042FB0 38 04 00 07 */ addi r0, r4, 7 +/* 80046054 00042FB4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80046058 00042FB8 7C 09 03 A6 */ mtctr r0 +/* 8004605C 00042FBC 2C 04 00 00 */ cmpwi r4, 0 +/* 80046060 00042FC0 40 81 00 0C */ ble lbl_8004606C +lbl_80046064: +/* 80046064 00042FC4 38 63 00 08 */ addi r3, r3, 8 +/* 80046068 00042FC8 42 00 FF FC */ bdnz lbl_80046064 +lbl_8004606C: +/* 8004606C 00042FCC 7C 03 28 50 */ subf r0, r3, r5 +/* 80046070 00042FD0 7C 09 03 A6 */ mtctr r0 +/* 80046074 00042FD4 7C 03 28 00 */ cmpw r3, r5 +/* 80046078 00042FD8 40 80 00 08 */ bge lbl_80046080 +lbl_8004607C: +/* 8004607C 00042FDC 42 00 00 00 */ bdnz lbl_8004607C +lbl_80046080: +/* 80046080 00042FE0 38 00 00 00 */ li r0, 0 +/* 80046084 00042FE4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 80046088 00042FE8 90 01 01 54 */ stw r0, 0x154(r1) +/* 8004608C 00042FEC 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 80046090 00042FF0 38 61 01 24 */ addi r3, r1, 0x124 +/* 80046094 00042FF4 48 2C CA E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80046098 00042FF8 7E 04 83 78 */ mr r4, r16 +/* 8004609C 00042FFC 38 61 00 3C */ addi r3, r1, 0x3c +/* 800460A0 00043000 4B FF E9 E1 */ bl GetVisAreaId__13CStateManagerCFv +/* 800460A4 00043004 80 70 08 6C */ lwz r3, 0x86c(r16) +/* 800460A8 00043008 38 00 00 00 */ li r0, 0 +/* 800460AC 0004300C 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 800460B0 00043010 3F 03 00 01 */ addis r24, r3, 1 +/* 800460B4 00043014 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 800460B8 00043018 7F 17 C3 78 */ mr r23, r24 +/* 800460BC 0004301C 80 70 08 50 */ lwz r3, 0x850(r16) +/* 800460C0 00043020 90 81 00 40 */ stw r4, 0x40(r1) +/* 800460C4 00043024 3B 18 F3 9C */ addi r24, r24, -3172 +/* 800460C8 00043028 3A F7 F3 70 */ addi r23, r23, -3216 +/* 800460CC 0004302C 90 01 02 1C */ stw r0, 0x21c(r1) +/* 800460D0 00043030 48 01 08 29 */ bl TouchSky__6CWorldCFv +/* 800460D4 00043034 80 70 08 50 */ lwz r3, 0x850(r16) +/* 800460D8 00043038 3B 61 00 FC */ addi r27, r1, 0xfc +/* 800460DC 0004303C 81 C3 00 58 */ lwz r14, 0x58(r3) +/* 800460E0 00043040 48 00 00 48 */ b lbl_80046128 +lbl_800460E4: +/* 800460E4 00043044 88 0E 00 F0 */ lbz r0, 0xf0(r14) +/* 800460E8 00043048 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800460EC 0004304C 41 82 00 10 */ beq lbl_800460FC +/* 800460F0 00043050 80 6E 01 2C */ lwz r3, 0x12c(r14) +/* 800460F4 00043054 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800460F8 00043058 48 00 00 08 */ b lbl_80046100 +lbl_800460FC: +/* 800460FC 0004305C 38 00 00 00 */ li r0, 0 +lbl_80046100: +/* 80046100 00043060 2C 00 00 01 */ cmpwi r0, 1 +/* 80046104 00043064 40 82 00 20 */ bne lbl_80046124 +/* 80046108 00043068 54 80 10 3A */ slwi r0, r4, 2 +/* 8004610C 0004306C 7C 7B 02 15 */ add. r3, r27, r0 +/* 80046110 00043070 41 82 00 08 */ beq lbl_80046118 +/* 80046114 00043074 91 C3 00 00 */ stw r14, 0(r3) +lbl_80046118: +/* 80046118 00043078 80 61 00 F8 */ lwz r3, 0xf8(r1) +/* 8004611C 0004307C 38 03 00 01 */ addi r0, r3, 1 +/* 80046120 00043080 90 01 00 F8 */ stw r0, 0xf8(r1) +lbl_80046124: +/* 80046124 00043084 81 CE 01 30 */ lwz r14, 0x130(r14) +lbl_80046128: +/* 80046128 00043088 38 61 00 38 */ addi r3, r1, 0x38 +/* 8004612C 0004308C 48 00 0B E1 */ bl GetAliveAreasEnd__6CWorldFv +/* 80046130 00043090 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80046134 00043094 7C 0E 00 40 */ cmplw r14, r0 +/* 80046138 00043098 41 82 00 10 */ beq lbl_80046148 +/* 8004613C 0004309C 80 81 00 F8 */ lwz r4, 0xf8(r1) +/* 80046140 000430A0 2C 04 00 0A */ cmpwi r4, 0xa +/* 80046144 000430A4 40 82 FF A0 */ bne lbl_800460E4 +lbl_80046148: +/* 80046148 000430A8 C0 41 01 28 */ lfs f2, 0x128(r1) +/* 8004614C 000430AC 7F 63 DB 78 */ mr r3, r27 +/* 80046150 000430B0 C0 21 01 38 */ lfs f1, 0x138(r1) +/* 80046154 000430B4 38 A1 00 80 */ addi r5, r1, 0x80 +/* 80046158 000430B8 C0 01 01 48 */ lfs f0, 0x148(r1) +/* 8004615C 000430BC D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80046160 000430C0 81 21 00 40 */ lwz r9, 0x40(r1) +/* 80046164 000430C4 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80046168 000430C8 81 01 00 70 */ lwz r8, 0x70(r1) +/* 8004616C 000430CC D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80046170 000430D0 80 E1 00 74 */ lwz r7, 0x74(r1) +/* 80046174 000430D4 80 C1 00 78 */ lwz r6, 0x78(r1) +/* 80046178 000430D8 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8004617C 000430DC 91 21 00 34 */ stw r9, 0x34(r1) +/* 80046180 000430E0 54 00 10 3A */ slwi r0, r0, 2 +/* 80046184 000430E4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80046188 000430E8 7C 9B 02 14 */ add r4, r27, r0 +/* 8004618C 000430EC D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80046190 000430F0 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80046194 000430F4 91 21 00 7C */ stw r9, 0x7c(r1) +/* 80046198 000430F8 91 01 00 80 */ stw r8, 0x80(r1) +/* 8004619C 000430FC 90 E1 00 84 */ stw r7, 0x84(r1) +/* 800461A0 00043100 90 C1 00 88 */ stw r6, 0x88(r1) +/* 800461A4 00043104 91 21 00 8C */ stw r9, 0x8c(r1) +/* 800461A8 00043108 48 00 95 A1 */ bl "sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" +/* 800461AC 0004310C 81 C1 00 40 */ lwz r14, 0x40(r1) +/* 800461B0 00043110 7F 71 DB 78 */ mr r17, r27 +/* 800461B4 00043114 3B 41 02 20 */ addi r26, r1, 0x220 +/* 800461B8 00043118 39 E1 00 A8 */ addi r15, r1, 0xa8 +/* 800461BC 0004311C 48 00 00 A4 */ b lbl_80046260 +lbl_800461C0: +/* 800461C0 00043120 38 61 00 9C */ addi r3, r1, 0x9c +/* 800461C4 00043124 38 80 00 02 */ li r4, 2 +/* 800461C8 00043128 48 2D 01 B9 */ bl Reset__10CPVSVisSetFi +/* 800461CC 0004312C 91 C1 00 28 */ stw r14, 0x28(r1) +/* 800461D0 00043130 7E 03 83 78 */ mr r3, r16 +/* 800461D4 00043134 80 F1 00 00 */ lwz r7, 0(r17) +/* 800461D8 00043138 38 81 00 30 */ addi r4, r1, 0x30 +/* 800461DC 0004313C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800461E0 00043140 38 C1 00 9C */ addi r6, r1, 0x9c +/* 800461E4 00043144 80 07 00 04 */ lwz r0, 4(r7) +/* 800461E8 00043148 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800461EC 0004314C 90 01 00 30 */ stw r0, 0x30(r1) +/* 800461F0 00043150 48 00 14 41 */ bl GetVisSetForArea__13CStateManagerCF7TAreaId7TAreaId +/* 800461F4 00043154 80 01 02 1C */ lwz r0, 0x21c(r1) +/* 800461F8 00043158 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800461FC 0004315C 7C DA 02 15 */ add. r6, r26, r0 +/* 80046200 00043160 41 82 00 34 */ beq lbl_80046234 +/* 80046204 00043164 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 80046208 00043168 38 00 00 00 */ li r0, 0 +/* 8004620C 0004316C 88 81 00 A8 */ lbz r4, 0xa8(r1) +/* 80046210 00043170 90 66 00 00 */ stw r3, 0(r6) +/* 80046214 00043174 80 61 00 A0 */ lwz r3, 0xa0(r1) +/* 80046218 00043178 80 A1 00 A4 */ lwz r5, 0xa4(r1) +/* 8004621C 0004317C 90 66 00 04 */ stw r3, 4(r6) +/* 80046220 00043180 80 61 00 AC */ lwz r3, 0xac(r1) +/* 80046224 00043184 90 A6 00 08 */ stw r5, 8(r6) +/* 80046228 00043188 98 86 00 0C */ stb r4, 0xc(r6) +/* 8004622C 0004318C 90 66 00 10 */ stw r3, 0x10(r6) +/* 80046230 00043190 98 01 00 A8 */ stb r0, 0xa8(r1) +lbl_80046234: +/* 80046234 00043194 80 61 02 1C */ lwz r3, 0x21c(r1) +/* 80046238 00043198 28 0F 00 00 */ cmplwi r15, 0 +/* 8004623C 0004319C 38 03 00 01 */ addi r0, r3, 1 +/* 80046240 000431A0 90 01 02 1C */ stw r0, 0x21c(r1) +/* 80046244 000431A4 41 82 00 18 */ beq lbl_8004625C +/* 80046248 000431A8 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 8004624C 000431AC 28 00 00 00 */ cmplwi r0, 0 +/* 80046250 000431B0 41 82 00 0C */ beq lbl_8004625C +/* 80046254 000431B4 80 61 00 AC */ lwz r3, 0xac(r1) +/* 80046258 000431B8 48 2C F6 D9 */ bl Free__7CMemoryFPCv +lbl_8004625C: +/* 8004625C 000431BC 3A 31 00 04 */ addi r17, r17, 4 +lbl_80046260: +/* 80046260 000431C0 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 80046264 000431C4 54 00 10 3A */ slwi r0, r0, 2 +/* 80046268 000431C8 7C 1B 02 14 */ add r0, r27, r0 +/* 8004626C 000431CC 7C 11 00 40 */ cmplw r17, r0 +/* 80046270 000431D0 40 82 FF 50 */ bne lbl_800461C0 +/* 80046274 000431D4 80 70 08 B8 */ lwz r3, 0x8b8(r16) +/* 80046278 000431D8 7E 04 83 78 */ mr r4, r16 +/* 8004627C 000431DC 80 63 00 00 */ lwz r3, 0(r3) +/* 80046280 000431E0 48 04 B2 D9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80046284 000431E4 20 03 00 03 */ subfic r0, r3, 3 +/* 80046288 000431E8 7C 04 00 34 */ cntlzw r4, r0 +/* 8004628C 000431EC 54 80 DE 3F */ rlwinm. r0, r4, 0x1b, 0x18, 0x1f +/* 80046290 000431F0 54 95 D9 7E */ srwi r21, r4, 5 +/* 80046294 000431F4 41 82 00 18 */ beq lbl_800462AC +/* 80046298 000431F8 38 00 00 01 */ li r0, 1 +/* 8004629C 000431FC 3A C0 00 34 */ li r22, 0x34 +/* 800462A0 00043200 90 10 0F 34 */ stw r0, 0xf34(r16) +/* 800462A4 00043204 39 E0 00 00 */ li r15, 0 +/* 800462A8 00043208 48 00 00 28 */ b lbl_800462D0 +lbl_800462AC: +/* 800462AC 0004320C 2C 03 00 01 */ cmpwi r3, 1 +/* 800462B0 00043210 38 80 00 01 */ li r4, 1 +/* 800462B4 00043214 40 82 00 08 */ bne lbl_800462BC +/* 800462B8 00043218 38 80 00 03 */ li r4, 3 +lbl_800462BC: +/* 800462BC 0004321C 38 00 00 02 */ li r0, 2 +/* 800462C0 00043220 38 60 00 01 */ li r3, 1 +/* 800462C4 00043224 90 10 0F 34 */ stw r0, 0xf34(r16) +/* 800462C8 00043228 7C 76 20 30 */ slw r22, r3, r4 +/* 800462CC 0004322C 39 E0 00 00 */ li r15, 0 +lbl_800462D0: +/* 800462D0 00043230 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800462D4 00043234 7E A4 AB 78 */ mr r4, r21 +/* 800462D8 00043238 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) +/* 800462DC 0004323C 81 83 00 00 */ lwz r12, 0(r3) +/* 800462E0 00043240 38 A6 02 90 */ addi r5, r6, 0x290 +/* 800462E4 00043244 C0 26 02 8C */ lfs f1, 0x28c(r6) +/* 800462E8 00043248 81 8C 00 E8 */ lwz r12, 0xe8(r12) +/* 800462EC 0004324C 7D 89 03 A6 */ mtctr r12 +/* 800462F0 00043250 4E 80 04 21 */ bctrl +/* 800462F4 00043254 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800462F8 00043258 C0 30 0F 28 */ lfs f1, 0xf28(r16) +/* 800462FC 0004325C 81 83 00 00 */ lwz r12, 0(r3) +/* 80046300 00043260 C0 10 0F 24 */ lfs f0, 0xf24(r16) +/* 80046304 00043264 81 8C 00 EC */ lwz r12, 0xec(r12) +/* 80046308 00043268 EC 21 00 2A */ fadds f1, f1, f0 +/* 8004630C 0004326C 7D 89 03 A6 */ mtctr r12 +/* 80046310 00043270 4E 80 04 21 */ bctrl +/* 80046314 00043274 80 61 00 F8 */ lwz r3, 0xf8(r1) +/* 80046318 00043278 3A 63 FF FF */ addi r19, r3, -1 +/* 8004631C 0004327C 1C 13 00 14 */ mulli r0, r19, 0x14 +/* 80046320 00043280 56 63 10 3A */ slwi r3, r19, 2 +/* 80046324 00043284 7D DB 1A 14 */ add r14, r27, r3 +/* 80046328 00043288 7E 3A 02 14 */ add r17, r26, r0 +/* 8004632C 0004328C 48 00 00 7C */ b lbl_800463A8 +lbl_80046330: +/* 80046330 00043290 82 8E 00 00 */ lwz r20, 0(r14) +/* 80046334 00043294 7E 03 83 78 */ mr r3, r16 +/* 80046338 00043298 7E 84 A3 78 */ mr r4, r20 +/* 8004633C 0004329C 48 00 0B 35 */ bl SetupFogForArea__13CStateManagerCFRC9CGameArea +/* 80046340 000432A0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046344 000432A4 7E 24 8B 78 */ mr r4, r17 +/* 80046348 000432A8 82 54 00 04 */ lwz r18, 4(r20) +/* 8004634C 000432AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80046350 000432B0 7E 45 93 78 */ mr r5, r18 +/* 80046354 000432B4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80046358 000432B8 7D 89 03 A6 */ mtctr r12 +/* 8004635C 000432BC 4E 80 04 21 */ bctrl +/* 80046360 000432C0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046364 000432C4 80 94 01 2C */ lwz r4, 0x12c(r20) +/* 80046368 000432C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8004636C 000432CC C0 24 11 28 */ lfs f1, 0x1128(r4) +/* 80046370 000432D0 81 8C 01 00 */ lwz r12, 0x100(r12) +/* 80046374 000432D4 7D 89 03 A6 */ mtctr r12 +/* 80046378 000432D8 4E 80 04 21 */ bctrl +/* 8004637C 000432DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046380 000432E0 7E 44 93 78 */ mr r4, r18 +/* 80046384 000432E4 7E C5 B3 78 */ mr r5, r22 +/* 80046388 000432E8 7D E6 7B 78 */ mr r6, r15 +/* 8004638C 000432EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80046390 000432F0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80046394 000432F4 7D 89 03 A6 */ mtctr r12 +/* 80046398 000432F8 4E 80 04 21 */ bctrl +/* 8004639C 000432FC 39 CE FF FC */ addi r14, r14, -4 +/* 800463A0 00043300 3A 31 FF EC */ addi r17, r17, -20 +/* 800463A4 00043304 3A 73 FF FF */ addi r19, r19, -1 +lbl_800463A8: +/* 800463A8 00043308 2C 13 00 00 */ cmpwi r19, 0 +/* 800463AC 0004330C 40 80 FF 84 */ bge lbl_80046330 +/* 800463B0 00043310 7E 03 83 78 */ mr r3, r16 +/* 800463B4 00043314 48 00 0B 69 */ bl SetupFogForDraw__13CStateManagerCFv +/* 800463B8 00043318 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800463BC 0004331C 40 82 00 2C */ bne lbl_800463E8 +/* 800463C0 00043320 48 30 3B F5 */ bl Black__6CColorFv +/* 800463C4 00043324 7C 65 1B 78 */ mr r5, r3 +/* 800463C8 00043328 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800463CC 0004332C C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 800463D0 00043330 38 80 00 00 */ li r4, 0 +/* 800463D4 00043334 81 83 00 00 */ lwz r12, 0(r3) +/* 800463D8 00043338 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 800463DC 0004333C 81 8C 00 E0 */ lwz r12, 0xe0(r12) +/* 800463E0 00043340 7D 89 03 A6 */ mtctr r12 +/* 800463E4 00043344 4E 80 04 21 */ bctrl +lbl_800463E8: +/* 800463E8 00043348 C0 41 01 30 */ lfs f2, 0x130(r1) +/* 800463EC 0004334C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800463F0 00043350 C0 21 01 40 */ lfs f1, 0x140(r1) +/* 800463F4 00043354 38 81 00 58 */ addi r4, r1, 0x58 +/* 800463F8 00043358 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 800463FC 0004335C D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80046400 00043360 81 D0 08 50 */ lwz r14, 0x850(r16) +/* 80046404 00043364 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 80046408 00043368 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8004640C 0004336C 48 2C CD 35 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80046410 00043370 7D C3 73 78 */ mr r3, r14 +/* 80046414 00043374 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80046418 00043378 48 00 FD B9 */ bl DrawSky__6CWorldCFRC12CTransform4f +/* 8004641C 0004337C 80 61 00 F8 */ lwz r3, 0xf8(r1) +/* 80046420 00043380 2C 03 00 00 */ cmpwi r3, 0 +/* 80046424 00043384 41 82 00 18 */ beq lbl_8004643C +/* 80046428 00043388 38 03 FF FF */ addi r0, r3, -1 +/* 8004642C 0004338C 7E 03 83 78 */ mr r3, r16 +/* 80046430 00043390 54 00 10 3A */ slwi r0, r0, 2 +/* 80046434 00043394 7C 9B 00 2E */ lwzx r4, r27, r0 +/* 80046438 00043398 48 00 0A 39 */ bl SetupFogForArea__13CStateManagerCFRC9CGameArea +lbl_8004643C: +/* 8004643C 0004339C 39 D7 00 04 */ addi r14, r23, 4 +/* 80046440 000433A0 48 00 00 4C */ b lbl_8004648C +lbl_80046444: +/* 80046444 000433A4 A0 0E 00 00 */ lhz r0, 0(r14) +/* 80046448 000433A8 7E 03 83 78 */ mr r3, r16 +/* 8004644C 000433AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80046450 000433B0 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80046454 000433B4 48 00 61 51 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80046458 000433B8 28 03 00 00 */ cmplwi r3, 0 +/* 8004645C 000433BC 41 82 00 2C */ beq lbl_80046488 +/* 80046460 000433C0 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 80046464 000433C4 41 82 00 10 */ beq lbl_80046474 +/* 80046468 000433C8 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 8004646C 000433CC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80046470 000433D0 41 82 00 18 */ beq lbl_80046488 +lbl_80046474: +/* 80046474 000433D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80046478 000433D8 7E 04 83 78 */ mr r4, r16 +/* 8004647C 000433DC 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80046480 000433E0 7D 89 03 A6 */ mtctr r12 +/* 80046484 000433E4 4E 80 04 21 */ bctrl +lbl_80046488: +/* 80046488 000433E8 39 CE 00 02 */ addi r14, r14, 2 +lbl_8004648C: +/* 8004648C 000433EC 80 17 00 00 */ lwz r0, 0(r23) +/* 80046490 000433F0 54 00 08 3C */ slwi r0, r0, 1 +/* 80046494 000433F4 7C 77 02 14 */ add r3, r23, r0 +/* 80046498 000433F8 38 03 00 04 */ addi r0, r3, 4 +/* 8004649C 000433FC 7C 0E 00 40 */ cmplw r14, r0 +/* 800464A0 00043400 40 82 FF A4 */ bne lbl_80046444 +/* 800464A4 00043404 80 01 00 40 */ lwz r0, 0x40(r1) +/* 800464A8 00043408 38 60 00 00 */ li r3, 0 +/* 800464AC 0004340C 90 61 02 E8 */ stw r3, 0x2e8(r1) +/* 800464B0 00043410 7F 7D DB 78 */ mr r29, r27 +/* 800464B4 00043414 7F 5C D3 78 */ mr r28, r26 +/* 800464B8 00043418 3B 21 02 EC */ addi r25, r1, 0x2ec +/* 800464BC 0004341C 90 01 12 EC */ stw r0, 0x12ec(r1) +/* 800464C0 00043420 3A 80 00 00 */ li r20, 0 +/* 800464C4 00043424 3A 60 00 00 */ li r19, 0 +/* 800464C8 00043428 48 00 02 50 */ b lbl_80046718 +lbl_800464CC: +/* 800464CC 0004342C 82 5D 00 00 */ lwz r18, 0(r29) +/* 800464D0 00043430 7E 03 83 78 */ mr r3, r16 +/* 800464D4 00043434 80 01 12 EC */ lwz r0, 0x12ec(r1) +/* 800464D8 00043438 80 B2 00 04 */ lwz r5, 4(r18) +/* 800464DC 0004343C 7E 44 93 78 */ mr r4, r18 +/* 800464E0 00043440 7C 05 00 50 */ subf r0, r5, r0 +/* 800464E4 00043444 7C 00 00 34 */ cntlzw r0, r0 +/* 800464E8 00043448 54 0E D9 7E */ srwi r14, r0, 5 +/* 800464EC 0004344C 48 00 09 85 */ bl SetupFogForArea__13CStateManagerCFRC9CGameArea +/* 800464F0 00043450 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800464F4 00043454 80 92 01 2C */ lwz r4, 0x12c(r18) +/* 800464F8 00043458 81 83 00 00 */ lwz r12, 0(r3) +/* 800464FC 0004345C C0 24 11 28 */ lfs f1, 0x1128(r4) +/* 80046500 00043460 81 8C 01 00 */ lwz r12, 0x100(r12) +/* 80046504 00043464 7D 89 03 A6 */ mtctr r12 +/* 80046508 00043468 4E 80 04 21 */ bctrl +/* 8004650C 0004346C 80 72 01 2C */ lwz r3, 0x12c(r18) +/* 80046510 00043470 83 E3 10 C0 */ lwz r31, 0x10c0(r3) +/* 80046514 00043474 AA 3F 20 08 */ lha r17, 0x2008(r31) +/* 80046518 00043478 48 00 01 58 */ b lbl_80046670 +lbl_8004651C: +/* 8004651C 0004347C 7F E3 FB 78 */ mr r3, r31 +/* 80046520 00043480 7E 24 8B 78 */ mr r4, r17 +/* 80046524 00043484 4B FC 97 B9 */ bl __vc__11CObjectListCFi +/* 80046528 00043488 7C 64 1B 78 */ mr r4, r3 +/* 8004652C 0004348C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80046530 00043490 48 06 97 61 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80046534 00043494 83 C3 00 04 */ lwz r30, 4(r3) +/* 80046538 00043498 28 1E 00 00 */ cmplwi r30, 0 +/* 8004653C 0004349C 41 82 01 18 */ beq lbl_80046654 +/* 80046540 000434A0 88 1E 00 E7 */ lbz r0, 0xe7(r30) +/* 80046544 000434A4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80046548 000434A8 41 82 01 0C */ beq lbl_80046654 +/* 8004654C 000434AC A0 7E 00 08 */ lhz r3, 8(r30) +/* 80046550 000434B0 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 80046554 000434B4 B0 61 00 24 */ sth r3, 0x24(r1) +/* 80046558 000434B8 40 82 00 4C */ bne lbl_800465A4 +/* 8004655C 000434BC B0 61 00 18 */ sth r3, 0x18(r1) +/* 80046560 000434C0 7E 44 93 78 */ mr r4, r18 +/* 80046564 000434C4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80046568 000434C8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8004656C 000434CC 48 01 79 F9 */ bl LookupPVSUniqueID__9CGameAreaF9TUniqueId +/* 80046570 000434D0 A0 61 00 1C */ lhz r3, 0x1c(r1) +/* 80046574 000434D4 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 80046578 000434D8 7C 03 00 40 */ cmplw r3, r0 +/* 8004657C 000434DC 40 82 00 28 */ bne lbl_800465A4 +/* 80046580 000434E0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80046584 000434E4 7E 43 93 78 */ mr r3, r18 +/* 80046588 000434E8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8004658C 000434EC 48 01 79 F5 */ bl LookupPVSID__9CGameAreaF9TUniqueId +/* 80046590 000434F0 7C 64 1B 78 */ mr r4, r3 +/* 80046594 000434F4 7F 83 E3 78 */ mr r3, r28 +/* 80046598 000434F8 48 2C FD 41 */ bl GetVisible__10CPVSVisSetCFi +/* 8004659C 000434FC 2C 03 00 00 */ cmpwi r3, 0 +/* 800465A0 00043500 41 82 00 B4 */ beq lbl_80046654 +lbl_800465A4: +/* 800465A4 00043504 80 70 08 4C */ lwz r3, 0x84c(r16) +/* 800465A8 00043508 7C 1E 18 40 */ cmplw r30, r3 +/* 800465AC 0004350C 40 82 00 44 */ bne lbl_800465F0 +/* 800465B0 00043510 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 800465B4 00043514 40 82 00 A0 */ bne lbl_80046654 +/* 800465B8 00043518 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 800465BC 0004351C 2C 00 00 01 */ cmpwi r0, 1 +/* 800465C0 00043520 41 82 00 0C */ beq lbl_800465CC +/* 800465C4 00043524 2C 00 00 00 */ cmpwi r0, 0 +/* 800465C8 00043528 40 82 00 20 */ bne lbl_800465E8 +lbl_800465CC: +/* 800465CC 0004352C 81 83 00 00 */ lwz r12, 0(r3) +/* 800465D0 00043530 7E 05 83 78 */ mr r5, r16 +/* 800465D4 00043534 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 800465D8 00043538 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800465DC 0004353C 7D 89 03 A6 */ mtctr r12 +/* 800465E0 00043540 4E 80 04 21 */ bctrl +/* 800465E4 00043544 48 00 00 70 */ b lbl_80046654 +lbl_800465E8: +/* 800465E8 00043548 3A 80 00 01 */ li r20, 1 +/* 800465EC 0004354C 48 00 00 68 */ b lbl_80046654 +lbl_800465F0: +/* 800465F0 00043550 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 800465F4 00043554 41 82 00 10 */ beq lbl_80046604 +/* 800465F8 00043558 88 1E 00 E6 */ lbz r0, 0xe6(r30) +/* 800465FC 0004355C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80046600 00043560 41 82 00 20 */ beq lbl_80046620 +lbl_80046604: +/* 80046604 00043564 7F C3 F3 78 */ mr r3, r30 +/* 80046608 00043568 7E 05 83 78 */ mr r5, r16 +/* 8004660C 0004356C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80046610 00043570 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 80046614 00043574 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80046618 00043578 7D 89 03 A6 */ mtctr r12 +/* 8004661C 0004357C 4E 80 04 21 */ bctrl +lbl_80046620: +/* 80046620 00043580 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 80046624 00043584 41 82 00 30 */ beq lbl_80046654 +/* 80046628 00043588 88 1E 00 E6 */ lbz r0, 0xe6(r30) +/* 8004662C 0004358C 54 00 EF BD */ rlwinm. r0, r0, 0x1d, 0x1e, 0x1e +/* 80046630 00043590 41 82 00 24 */ beq lbl_80046654 +/* 80046634 00043594 80 01 02 E8 */ lwz r0, 0x2e8(r1) +/* 80046638 00043598 54 00 10 3A */ slwi r0, r0, 2 +/* 8004663C 0004359C 7C 79 02 15 */ add. r3, r25, r0 +/* 80046640 000435A0 41 82 00 08 */ beq lbl_80046648 +/* 80046644 000435A4 93 C3 00 00 */ stw r30, 0(r3) +lbl_80046648: +/* 80046648 000435A8 80 61 02 E8 */ lwz r3, 0x2e8(r1) +/* 8004664C 000435AC 38 03 00 01 */ addi r0, r3, 1 +/* 80046650 000435B0 90 01 02 E8 */ stw r0, 0x2e8(r1) +lbl_80046654: +/* 80046654 000435B4 2C 11 FF FF */ cmpwi r17, -1 +/* 80046658 000435B8 41 82 00 14 */ beq lbl_8004666C +/* 8004665C 000435BC 56 23 18 38 */ slwi r3, r17, 3 +/* 80046660 000435C0 38 03 00 08 */ addi r0, r3, 8 +/* 80046664 000435C4 7E 3F 02 AE */ lhax r17, r31, r0 +/* 80046668 000435C8 48 00 00 08 */ b lbl_80046670 +lbl_8004666C: +/* 8004666C 000435CC 3A 20 FF FF */ li r17, -1 +lbl_80046670: +/* 80046670 000435D0 2C 11 FF FF */ cmpwi r17, -1 +/* 80046674 000435D4 40 82 FE A8 */ bne lbl_8004651C +/* 80046678 000435D8 55 C0 06 3F */ clrlwi. r0, r14, 0x18 +/* 8004667C 000435DC 41 82 00 24 */ beq lbl_800466A0 +/* 80046680 000435E0 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 80046684 000435E4 40 82 00 1C */ bne lbl_800466A0 +/* 80046688 000435E8 7E 04 83 78 */ mr r4, r16 +/* 8004668C 000435EC 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 80046690 000435F0 48 0D 08 35 */ bl AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager +/* 80046694 000435F4 80 70 08 84 */ lwz r3, 0x884(r16) +/* 80046698 000435F8 7E 04 83 78 */ mr r4, r16 +/* 8004669C 000435FC 48 19 D9 C5 */ bl AddStragglersToRenderer__20CActorModelParticlesCFRC13CStateManager +lbl_800466A0: +/* 800466A0 00043600 80 70 08 DC */ lwz r3, 0x8dc(r16) +/* 800466A4 00043604 7E 04 83 78 */ mr r4, r16 +/* 800466A8 00043608 38 03 00 01 */ addi r0, r3, 1 +/* 800466AC 0004360C 90 10 08 DC */ stw r0, 0x8dc(r16) +/* 800466B0 00043610 80 70 08 4C */ lwz r3, 0x84c(r16) +/* 800466B4 00043614 80 63 07 68 */ lwz r3, 0x768(r3) +/* 800466B8 00043618 48 0A 73 65 */ bl DrawBallShadow__10CMorphBallFR13CStateManager +/* 800466BC 0004361C 80 70 0F 7C */ lwz r3, 0xf7c(r16) +/* 800466C0 00043620 28 03 00 00 */ cmplwi r3, 0 +/* 800466C4 00043624 41 82 00 0C */ beq lbl_800466D0 +/* 800466C8 00043628 7E 04 83 78 */ mr r4, r16 +/* 800466CC 0004362C 48 25 70 09 */ bl Render__16CProjectedShadowFRC13CStateManager +lbl_800466D0: +/* 800466D0 00043630 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800466D4 00043634 7F 84 E3 78 */ mr r4, r28 +/* 800466D8 00043638 80 B2 00 04 */ lwz r5, 4(r18) +/* 800466DC 0004363C 81 83 00 00 */ lwz r12, 0(r3) +/* 800466E0 00043640 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800466E4 00043644 7D 89 03 A6 */ mtctr r12 +/* 800466E8 00043648 4E 80 04 21 */ bctrl +/* 800466EC 0004364C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800466F0 00043650 7E C5 B3 78 */ mr r5, r22 +/* 800466F4 00043654 7D E6 7B 78 */ mr r6, r15 +/* 800466F8 00043658 80 92 00 04 */ lwz r4, 4(r18) +/* 800466FC 0004365C 81 83 00 00 */ lwz r12, 0(r3) +/* 80046700 00043660 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80046704 00043664 7D 89 03 A6 */ mtctr r12 +/* 80046708 00043668 4E 80 04 21 */ bctrl +/* 8004670C 0004366C 3B BD 00 04 */ addi r29, r29, 4 +/* 80046710 00043670 3B 9C 00 14 */ addi r28, r28, 0x14 +/* 80046714 00043674 3A 73 00 01 */ addi r19, r19, 1 +lbl_80046718: +/* 80046718 00043678 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8004671C 0004367C 7C 13 00 00 */ cmpw r19, r0 +/* 80046720 00043680 41 80 FD AC */ blt lbl_800464CC +/* 80046724 00043684 80 70 08 80 */ lwz r3, 0x880(r16) +/* 80046728 00043688 7E 04 83 78 */ mr r4, r16 +/* 8004672C 0004368C 48 1C 9A E5 */ bl Render__13CEnvFxManagerFRC13CStateManager +/* 80046730 00043690 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 80046734 00043694 41 82 00 1C */ beq lbl_80046750 +/* 80046738 00043698 80 70 08 4C */ lwz r3, 0x84c(r16) +/* 8004673C 0004369C 7E 04 83 78 */ mr r4, r16 +/* 80046740 000436A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80046744 000436A4 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80046748 000436A8 7D 89 03 A6 */ mtctr r12 +/* 8004674C 000436AC 4E 80 04 21 */ bctrl +lbl_80046750: +/* 80046750 000436B0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046754 000436B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80046758 000436B8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8004675C 000436BC 7D 89 03 A6 */ mtctr r12 +/* 80046760 000436C0 4E 80 04 21 */ bctrl +/* 80046764 000436C4 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 80046768 000436C8 41 82 02 D8 */ beq lbl_80046A40 +/* 8004676C 000436CC 80 18 00 00 */ lwz r0, 0(r24) +/* 80046770 000436D0 2C 00 00 00 */ cmpwi r0, 0 +/* 80046774 000436D4 41 82 00 7C */ beq lbl_800467F0 +/* 80046778 000436D8 C0 22 85 C4 */ lfs f1, lbl_805AA2E4@sda21(r2) +/* 8004677C 000436DC C0 42 85 C8 */ lfs f2, lbl_805AA2E8@sda21(r2) +/* 80046780 000436E0 48 2C 3C 61 */ bl SetDepthRange__9CGraphicsFff +/* 80046784 000436E4 39 D8 00 04 */ addi r14, r24, 4 +/* 80046788 000436E8 48 00 00 44 */ b lbl_800467CC +lbl_8004678C: +/* 8004678C 000436EC A0 0E 00 00 */ lhz r0, 0(r14) +/* 80046790 000436F0 7E 03 83 78 */ mr r3, r16 +/* 80046794 000436F4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80046798 000436F8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8004679C 000436FC 48 00 5E 09 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800467A0 00043700 28 03 00 00 */ cmplwi r3, 0 +/* 800467A4 00043704 41 82 00 24 */ beq lbl_800467C8 +/* 800467A8 00043708 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 800467AC 0004370C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800467B0 00043710 41 82 00 18 */ beq lbl_800467C8 +/* 800467B4 00043714 81 83 00 00 */ lwz r12, 0(r3) +/* 800467B8 00043718 7E 04 83 78 */ mr r4, r16 +/* 800467BC 0004371C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 800467C0 00043720 7D 89 03 A6 */ mtctr r12 +/* 800467C4 00043724 4E 80 04 21 */ bctrl +lbl_800467C8: +/* 800467C8 00043728 39 CE 00 02 */ addi r14, r14, 2 +lbl_800467CC: +/* 800467CC 0004372C 80 18 00 00 */ lwz r0, 0(r24) +/* 800467D0 00043730 54 00 08 3C */ slwi r0, r0, 1 +/* 800467D4 00043734 7C 78 02 14 */ add r3, r24, r0 +/* 800467D8 00043738 38 03 00 04 */ addi r0, r3, 4 +/* 800467DC 0004373C 7C 0E 00 40 */ cmplw r14, r0 +/* 800467E0 00043740 40 82 FF AC */ bne lbl_8004678C +/* 800467E4 00043744 C0 22 85 80 */ lfs f1, lbl_805AA2A0@sda21(r2) +/* 800467E8 00043748 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 800467EC 0004374C 48 2C 3B F5 */ bl SetDepthRange__9CGraphicsFff +lbl_800467F0: +/* 800467F0 00043750 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800467F4 00043754 81 83 00 00 */ lwz r12, 0(r3) +/* 800467F8 00043758 81 8C 00 F0 */ lwz r12, 0xf0(r12) +/* 800467FC 0004375C 7D 89 03 A6 */ mtctr r12 +/* 80046800 00043760 4E 80 04 21 */ bctrl +/* 80046804 00043764 38 00 00 00 */ li r0, 0 +/* 80046808 00043768 39 D7 00 04 */ addi r14, r23, 4 +/* 8004680C 0004376C 90 10 0F 34 */ stw r0, 0xf34(r16) +/* 80046810 00043770 48 00 00 44 */ b lbl_80046854 +lbl_80046814: +/* 80046814 00043774 A0 0E 00 00 */ lhz r0, 0(r14) +/* 80046818 00043778 7E 03 83 78 */ mr r3, r16 +/* 8004681C 0004377C 38 81 00 0C */ addi r4, r1, 0xc +/* 80046820 00043780 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80046824 00043784 48 00 5D 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80046828 00043788 28 03 00 00 */ cmplwi r3, 0 +/* 8004682C 0004378C 41 82 00 24 */ beq lbl_80046850 +/* 80046830 00043790 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80046834 00043794 54 00 EF BD */ rlwinm. r0, r0, 0x1d, 0x1e, 0x1e +/* 80046838 00043798 41 82 00 18 */ beq lbl_80046850 +/* 8004683C 0004379C 81 83 00 00 */ lwz r12, 0(r3) +/* 80046840 000437A0 7E 04 83 78 */ mr r4, r16 +/* 80046844 000437A4 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80046848 000437A8 7D 89 03 A6 */ mtctr r12 +/* 8004684C 000437AC 4E 80 04 21 */ bctrl +lbl_80046850: +/* 80046850 000437B0 39 CE 00 02 */ addi r14, r14, 2 +lbl_80046854: +/* 80046854 000437B4 80 17 00 00 */ lwz r0, 0(r23) +/* 80046858 000437B8 54 00 08 3C */ slwi r0, r0, 1 +/* 8004685C 000437BC 7C 77 02 14 */ add r3, r23, r0 +/* 80046860 000437C0 38 03 00 04 */ addi r0, r3, 4 +/* 80046864 000437C4 7C 0E 00 40 */ cmplw r14, r0 +/* 80046868 000437C8 40 82 FF AC */ bne lbl_80046814 +/* 8004686C 000437CC 80 61 00 F8 */ lwz r3, 0xf8(r1) +/* 80046870 000437D0 3A 43 FF FF */ addi r18, r3, -1 +/* 80046874 000437D4 1C 12 00 14 */ mulli r0, r18, 0x14 +/* 80046878 000437D8 56 43 10 3A */ slwi r3, r18, 2 +/* 8004687C 000437DC 7D DB 1A 14 */ add r14, r27, r3 +/* 80046880 000437E0 7D FA 02 14 */ add r15, r26, r0 +/* 80046884 000437E4 48 00 00 74 */ b lbl_800468F8 +lbl_80046888: +/* 80046888 000437E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8004688C 000437EC 7D E4 7B 78 */ mr r4, r15 +/* 80046890 000437F0 80 AE 00 00 */ lwz r5, 0(r14) +/* 80046894 000437F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80046898 000437F8 82 25 00 04 */ lwz r17, 4(r5) +/* 8004689C 000437FC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800468A0 00043800 7E 25 8B 78 */ mr r5, r17 +/* 800468A4 00043804 7D 89 03 A6 */ mtctr r12 +/* 800468A8 00043808 4E 80 04 21 */ bctrl +/* 800468AC 0004380C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800468B0 00043810 7E 24 8B 78 */ mr r4, r17 +/* 800468B4 00043814 7E C5 B3 78 */ mr r5, r22 +/* 800468B8 00043818 38 C0 00 20 */ li r6, 0x20 +/* 800468BC 0004381C 81 83 00 00 */ lwz r12, 0(r3) +/* 800468C0 00043820 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800468C4 00043824 7D 89 03 A6 */ mtctr r12 +/* 800468C8 00043828 4E 80 04 21 */ bctrl +/* 800468CC 0004382C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800468D0 00043830 7E 24 8B 78 */ mr r4, r17 +/* 800468D4 00043834 7E C5 B3 78 */ mr r5, r22 +/* 800468D8 00043838 38 C0 00 10 */ li r6, 0x10 +/* 800468DC 0004383C 81 83 00 00 */ lwz r12, 0(r3) +/* 800468E0 00043840 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 800468E4 00043844 7D 89 03 A6 */ mtctr r12 +/* 800468E8 00043848 4E 80 04 21 */ bctrl +/* 800468EC 0004384C 39 CE FF FC */ addi r14, r14, -4 +/* 800468F0 00043850 39 EF FF EC */ addi r15, r15, -20 +/* 800468F4 00043854 3A 52 FF FF */ addi r18, r18, -1 +lbl_800468F8: +/* 800468F8 00043858 2C 12 00 00 */ cmpwi r18, 0 +/* 800468FC 0004385C 40 80 FF 8C */ bge lbl_80046888 +/* 80046900 00043860 80 70 08 DC */ lwz r3, 0x8dc(r16) +/* 80046904 00043864 7F 51 D3 78 */ mr r17, r26 +/* 80046908 00043868 81 C1 00 40 */ lwz r14, 0x40(r1) +/* 8004690C 0004386C 3A 40 00 00 */ li r18, 0 +/* 80046910 00043870 38 03 00 01 */ addi r0, r3, 1 +/* 80046914 00043874 90 10 08 DC */ stw r0, 0x8dc(r16) +/* 80046918 00043878 48 00 01 08 */ b lbl_80046A20 +lbl_8004691C: +/* 8004691C 0004387C 80 7B 00 00 */ lwz r3, 0(r27) +/* 80046920 00043880 7F 33 CB 78 */ mr r19, r25 +/* 80046924 00043884 81 E3 00 04 */ lwz r15, 4(r3) +/* 80046928 00043888 48 00 00 44 */ b lbl_8004696C +lbl_8004692C: +/* 8004692C 0004388C 80 73 00 00 */ lwz r3, 0(r19) +/* 80046930 00043890 80 83 00 04 */ lwz r4, 4(r3) +/* 80046934 00043894 7C 04 78 00 */ cmpw r4, r15 +/* 80046938 00043898 41 82 00 18 */ beq lbl_80046950 +/* 8004693C 0004389C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80046940 000438A0 7C 04 00 00 */ cmpw r4, r0 +/* 80046944 000438A4 40 82 00 24 */ bne lbl_80046968 +/* 80046948 000438A8 7C 0F 70 00 */ cmpw r15, r14 +/* 8004694C 000438AC 40 82 00 1C */ bne lbl_80046968 +lbl_80046950: +/* 80046950 000438B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80046954 000438B4 7E 05 83 78 */ mr r5, r16 +/* 80046958 000438B8 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 8004695C 000438BC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80046960 000438C0 7D 89 03 A6 */ mtctr r12 +/* 80046964 000438C4 4E 80 04 21 */ bctrl +lbl_80046968: +/* 80046968 000438C8 3A 73 00 04 */ addi r19, r19, 4 +lbl_8004696C: +/* 8004696C 000438CC 80 01 02 E8 */ lwz r0, 0x2e8(r1) +/* 80046970 000438D0 54 00 10 3A */ slwi r0, r0, 2 +/* 80046974 000438D4 7C 19 02 14 */ add r0, r25, r0 +/* 80046978 000438D8 7C 13 00 40 */ cmplw r19, r0 +/* 8004697C 000438DC 40 82 FF B0 */ bne lbl_8004692C +/* 80046980 000438E0 80 61 00 F8 */ lwz r3, 0xf8(r1) +/* 80046984 000438E4 38 03 FF FF */ addi r0, r3, -1 +/* 80046988 000438E8 7C 12 00 00 */ cmpw r18, r0 +/* 8004698C 000438EC 40 82 00 40 */ bne lbl_800469CC +/* 80046990 000438F0 80 70 08 84 */ lwz r3, 0x884(r16) +/* 80046994 000438F4 7E 04 83 78 */ mr r4, r16 +/* 80046998 000438F8 48 19 D6 C9 */ bl AddStragglersToRenderer__20CActorModelParticlesCFRC13CStateManager +/* 8004699C 000438FC 7E 04 83 78 */ mr r4, r16 +/* 800469A0 00043900 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 800469A4 00043904 48 0D 05 21 */ bl AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager +/* 800469A8 00043908 80 70 08 4C */ lwz r3, 0x84c(r16) +/* 800469AC 0004390C 28 03 00 00 */ cmplwi r3, 0 +/* 800469B0 00043910 41 82 00 1C */ beq lbl_800469CC +/* 800469B4 00043914 81 83 00 00 */ lwz r12, 0(r3) +/* 800469B8 00043918 7E 05 83 78 */ mr r5, r16 +/* 800469BC 0004391C 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 800469C0 00043920 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800469C4 00043924 7D 89 03 A6 */ mtctr r12 +/* 800469C8 00043928 4E 80 04 21 */ bctrl +lbl_800469CC: +/* 800469CC 0004392C 80 D0 08 DC */ lwz r6, 0x8dc(r16) +/* 800469D0 00043930 7E 24 8B 78 */ mr r4, r17 +/* 800469D4 00043934 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800469D8 00043938 7D E5 7B 78 */ mr r5, r15 +/* 800469DC 0004393C 38 06 00 01 */ addi r0, r6, 1 +/* 800469E0 00043940 90 10 08 DC */ stw r0, 0x8dc(r16) +/* 800469E4 00043944 81 83 00 00 */ lwz r12, 0(r3) +/* 800469E8 00043948 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800469EC 0004394C 7D 89 03 A6 */ mtctr r12 +/* 800469F0 00043950 4E 80 04 21 */ bctrl +/* 800469F4 00043954 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800469F8 00043958 7D E4 7B 78 */ mr r4, r15 +/* 800469FC 0004395C 7E C5 B3 78 */ mr r5, r22 +/* 80046A00 00043960 38 C0 00 10 */ li r6, 0x10 +/* 80046A04 00043964 81 83 00 00 */ lwz r12, 0(r3) +/* 80046A08 00043968 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80046A0C 0004396C 7D 89 03 A6 */ mtctr r12 +/* 80046A10 00043970 4E 80 04 21 */ bctrl +/* 80046A14 00043974 3B 7B 00 04 */ addi r27, r27, 4 +/* 80046A18 00043978 3A 31 00 14 */ addi r17, r17, 0x14 +/* 80046A1C 0004397C 3A 52 00 01 */ addi r18, r18, 1 +lbl_80046A20: +/* 80046A20 00043980 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 80046A24 00043984 7C 12 00 00 */ cmpw r18, r0 +/* 80046A28 00043988 41 80 FE F4 */ blt lbl_8004691C +/* 80046A2C 0004398C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046A30 00043990 81 83 00 00 */ lwz r12, 0(r3) +/* 80046A34 00043994 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80046A38 00043998 7D 89 03 A6 */ mtctr r12 +/* 80046A3C 0004399C 4E 80 04 21 */ bctrl +lbl_80046A40: +/* 80046A40 000439A0 80 70 08 7C */ lwz r3, 0x87c(r16) +/* 80046A44 000439A4 48 0E 8B B9 */ bl EndFrame__18CFluidPlaneManagerCFv +/* 80046A48 000439A8 48 30 35 6D */ bl Black__6CColorFv +/* 80046A4C 000439AC 7C 65 1B 78 */ mr r5, r3 +/* 80046A50 000439B0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046A54 000439B4 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 80046A58 000439B8 38 80 00 00 */ li r4, 0 +/* 80046A5C 000439BC 81 83 00 00 */ lwz r12, 0(r3) +/* 80046A60 000439C0 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80046A64 000439C4 81 8C 00 E0 */ lwz r12, 0xe0(r12) +/* 80046A68 000439C8 7D 89 03 A6 */ mtctr r12 +/* 80046A6C 000439CC 4E 80 04 21 */ bctrl +/* 80046A70 000439D0 88 02 80 E8 */ lbz r0, lbl_805A9E08@sda21(r2) +/* 80046A74 000439D4 28 00 00 00 */ cmplwi r0, 0 +/* 80046A78 000439D8 41 82 00 0C */ beq lbl_80046A84 +/* 80046A7C 000439DC 7E 03 83 78 */ mr r3, r16 +/* 80046A80 000439E0 4B FF EC 49 */ bl CacheReflection__13CStateManagerFv +lbl_80046A84: +/* 80046A84 000439E4 80 10 08 4C */ lwz r0, 0x84c(r16) +/* 80046A88 000439E8 28 00 00 00 */ cmplwi r0, 0 +/* 80046A8C 000439EC 41 82 00 24 */ beq lbl_80046AB0 +/* 80046A90 000439F0 80 90 08 70 */ lwz r4, 0x870(r16) +/* 80046A94 000439F4 7E 05 83 78 */ mr r5, r16 +/* 80046A98 000439F8 38 61 00 4C */ addi r3, r1, 0x4c +/* 80046A9C 000439FC 4B FC 3E 79 */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager +/* 80046AA0 00043A00 80 70 08 4C */ lwz r3, 0x84c(r16) +/* 80046AA4 00043A04 7E 04 83 78 */ mr r4, r16 +/* 80046AA8 00043A08 38 A1 00 4C */ addi r5, r1, 0x4c +/* 80046AAC 00043A0C 4B FC CD D5 */ bl RenderGun__7CPlayerCFRC13CStateManagerRC9CVector3f +lbl_80046AB0: +/* 80046AB0 00043A10 80 18 00 00 */ lwz r0, 0(r24) +/* 80046AB4 00043A14 2C 00 00 00 */ cmpwi r0, 0 +/* 80046AB8 00043A18 41 82 00 84 */ beq lbl_80046B3C +/* 80046ABC 00043A1C C0 22 85 C4 */ lfs f1, lbl_805AA2E4@sda21(r2) +/* 80046AC0 00043A20 C0 42 85 C8 */ lfs f2, lbl_805AA2E8@sda21(r2) +/* 80046AC4 00043A24 48 2C 39 1D */ bl SetDepthRange__9CGraphicsFff +/* 80046AC8 00043A28 39 D8 00 04 */ addi r14, r24, 4 +/* 80046ACC 00043A2C 48 00 00 4C */ b lbl_80046B18 +lbl_80046AD0: +/* 80046AD0 00043A30 A0 0E 00 00 */ lhz r0, 0(r14) +/* 80046AD4 00043A34 7E 03 83 78 */ mr r3, r16 +/* 80046AD8 00043A38 38 81 00 08 */ addi r4, r1, 8 +/* 80046ADC 00043A3C B0 01 00 08 */ sth r0, 8(r1) +/* 80046AE0 00043A40 48 00 5A C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80046AE4 00043A44 28 03 00 00 */ cmplwi r3, 0 +/* 80046AE8 00043A48 41 82 00 2C */ beq lbl_80046B14 +/* 80046AEC 00043A4C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 80046AF0 00043A50 41 82 00 10 */ beq lbl_80046B00 +/* 80046AF4 00043A54 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80046AF8 00043A58 54 00 EF BD */ rlwinm. r0, r0, 0x1d, 0x1e, 0x1e +/* 80046AFC 00043A5C 41 82 00 18 */ beq lbl_80046B14 +lbl_80046B00: +/* 80046B00 00043A60 81 83 00 00 */ lwz r12, 0(r3) +/* 80046B04 00043A64 7E 04 83 78 */ mr r4, r16 +/* 80046B08 00043A68 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80046B0C 00043A6C 7D 89 03 A6 */ mtctr r12 +/* 80046B10 00043A70 4E 80 04 21 */ bctrl +lbl_80046B14: +/* 80046B14 00043A74 39 CE 00 02 */ addi r14, r14, 2 +lbl_80046B18: +/* 80046B18 00043A78 80 18 00 00 */ lwz r0, 0(r24) +/* 80046B1C 00043A7C 54 00 08 3C */ slwi r0, r0, 1 +/* 80046B20 00043A80 7C 78 02 14 */ add r3, r24, r0 +/* 80046B24 00043A84 38 03 00 04 */ addi r0, r3, 4 +/* 80046B28 00043A88 7C 0E 00 40 */ cmplw r14, r0 +/* 80046B2C 00043A8C 40 82 FF A4 */ bne lbl_80046AD0 +/* 80046B30 00043A90 C0 22 85 80 */ lfs f1, lbl_805AA2A0@sda21(r2) +/* 80046B34 00043A94 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80046B38 00043A98 48 2C 38 A9 */ bl SetDepthRange__9CGraphicsFff +lbl_80046B3C: +/* 80046B3C 00043A9C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 80046B40 00043AA0 41 82 00 44 */ beq lbl_80046B84 +/* 80046B44 00043AA4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046B48 00043AA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80046B4C 00043AAC 81 8C 00 F4 */ lwz r12, 0xf4(r12) +/* 80046B50 00043AB0 7D 89 03 A6 */ mtctr r12 +/* 80046B54 00043AB4 4E 80 04 21 */ bctrl +/* 80046B58 00043AB8 48 30 34 5D */ bl Black__6CColorFv +/* 80046B5C 00043ABC 7C 65 1B 78 */ mr r5, r3 +/* 80046B60 00043AC0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046B64 00043AC4 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 80046B68 00043AC8 38 80 00 00 */ li r4, 0 +/* 80046B6C 00043ACC 81 83 00 00 */ lwz r12, 0(r3) +/* 80046B70 00043AD0 81 8C 00 E8 */ lwz r12, 0xe8(r12) +/* 80046B74 00043AD4 7D 89 03 A6 */ mtctr r12 +/* 80046B78 00043AD8 4E 80 04 21 */ bctrl +/* 80046B7C 00043ADC 38 00 00 02 */ li r0, 2 +/* 80046B80 00043AE0 90 10 0F 34 */ stw r0, 0xf34(r16) +lbl_80046B84: +/* 80046B84 00043AE4 7E 03 83 78 */ mr r3, r16 +/* 80046B88 00043AE8 4B FF F0 19 */ bl DrawDebugStuff__13CStateManagerCFv +/* 80046B8C 00043AEC 7E 03 83 78 */ mr r3, r16 +/* 80046B90 00043AF0 4B FF F0 15 */ bl RenderCamerasAndAreaLights__13CStateManagerCFv +/* 80046B94 00043AF4 7E 03 83 78 */ mr r3, r16 +/* 80046B98 00043AF8 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80046B9C 00043AFC 38 A1 01 24 */ addi r5, r1, 0x124 +/* 80046BA0 00043B00 4B FF F2 7D */ bl ResetViewAfterDraw__13CStateManagerCFRCQ29CGraphics9CViewportRC12CTransform4f +/* 80046BA4 00043B04 7E 03 83 78 */ mr r3, r16 +/* 80046BA8 00043B08 4B FF F0 59 */ bl DrawE3DeathEffect__13CStateManagerCFv +/* 80046BAC 00043B0C 7E 03 83 78 */ mr r3, r16 +/* 80046BB0 00043B10 4B FF F1 B5 */ bl DrawAdditionalFilters__13CStateManagerCFv +/* 80046BB4 00043B14 80 A1 02 E8 */ lwz r5, 0x2e8(r1) +/* 80046BB8 00043B18 38 60 00 00 */ li r3, 0 +/* 80046BBC 00043B1C 2C 05 00 00 */ cmpwi r5, 0 +/* 80046BC0 00043B20 40 81 00 40 */ ble lbl_80046C00 +/* 80046BC4 00043B24 2C 05 00 08 */ cmpwi r5, 8 +/* 80046BC8 00043B28 38 85 FF F8 */ addi r4, r5, -8 +/* 80046BCC 00043B2C 40 81 00 20 */ ble lbl_80046BEC +/* 80046BD0 00043B30 38 04 00 07 */ addi r0, r4, 7 +/* 80046BD4 00043B34 54 00 E8 FE */ srwi r0, r0, 3 +/* 80046BD8 00043B38 7C 09 03 A6 */ mtctr r0 +/* 80046BDC 00043B3C 2C 04 00 00 */ cmpwi r4, 0 +/* 80046BE0 00043B40 40 81 00 0C */ ble lbl_80046BEC +lbl_80046BE4: +/* 80046BE4 00043B44 38 63 00 08 */ addi r3, r3, 8 +/* 80046BE8 00043B48 42 00 FF FC */ bdnz lbl_80046BE4 +lbl_80046BEC: +/* 80046BEC 00043B4C 7C 03 28 50 */ subf r0, r3, r5 +/* 80046BF0 00043B50 7C 09 03 A6 */ mtctr r0 +/* 80046BF4 00043B54 7C 03 28 00 */ cmpw r3, r5 +/* 80046BF8 00043B58 40 80 00 08 */ bge lbl_80046C00 +lbl_80046BFC: +/* 80046BFC 00043B5C 42 00 00 00 */ bdnz lbl_80046BFC +lbl_80046C00: +/* 80046C00 00043B60 39 C0 00 00 */ li r14, 0 +/* 80046C04 00043B64 91 C1 02 E8 */ stw r14, 0x2e8(r1) +/* 80046C08 00043B68 48 00 00 30 */ b lbl_80046C38 +lbl_80046C0C: +/* 80046C0C 00043B6C 28 1A 00 00 */ cmplwi r26, 0 +/* 80046C10 00043B70 41 82 00 20 */ beq lbl_80046C30 +/* 80046C14 00043B74 34 1A 00 0C */ addic. r0, r26, 0xc +/* 80046C18 00043B78 41 82 00 18 */ beq lbl_80046C30 +/* 80046C1C 00043B7C 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 80046C20 00043B80 28 00 00 00 */ cmplwi r0, 0 +/* 80046C24 00043B84 41 82 00 0C */ beq lbl_80046C30 +/* 80046C28 00043B88 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 80046C2C 00043B8C 48 2C ED 05 */ bl Free__7CMemoryFPCv +lbl_80046C30: +/* 80046C30 00043B90 3B 5A 00 14 */ addi r26, r26, 0x14 +/* 80046C34 00043B94 39 CE 00 01 */ addi r14, r14, 1 +lbl_80046C38: +/* 80046C38 00043B98 80 01 02 1C */ lwz r0, 0x21c(r1) +/* 80046C3C 00043B9C 7C 0E 00 00 */ cmpw r14, r0 +/* 80046C40 00043BA0 41 80 FF CC */ blt lbl_80046C0C +/* 80046C44 00043BA4 80 A1 00 F8 */ lwz r5, 0xf8(r1) +/* 80046C48 00043BA8 38 60 00 00 */ li r3, 0 +/* 80046C4C 00043BAC 90 61 02 1C */ stw r3, 0x21c(r1) +/* 80046C50 00043BB0 2C 05 00 00 */ cmpwi r5, 0 +/* 80046C54 00043BB4 40 81 00 40 */ ble lbl_80046C94 +/* 80046C58 00043BB8 2C 05 00 08 */ cmpwi r5, 8 +/* 80046C5C 00043BBC 38 85 FF F8 */ addi r4, r5, -8 +/* 80046C60 00043BC0 40 81 00 20 */ ble lbl_80046C80 +/* 80046C64 00043BC4 38 04 00 07 */ addi r0, r4, 7 +/* 80046C68 00043BC8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80046C6C 00043BCC 7C 09 03 A6 */ mtctr r0 +/* 80046C70 00043BD0 2C 04 00 00 */ cmpwi r4, 0 +/* 80046C74 00043BD4 40 81 00 0C */ ble lbl_80046C80 +lbl_80046C78: +/* 80046C78 00043BD8 38 63 00 08 */ addi r3, r3, 8 +/* 80046C7C 00043BDC 42 00 FF FC */ bdnz lbl_80046C78 +lbl_80046C80: +/* 80046C80 00043BE0 7C 03 28 50 */ subf r0, r3, r5 +/* 80046C84 00043BE4 7C 09 03 A6 */ mtctr r0 +/* 80046C88 00043BE8 7C 03 28 00 */ cmpw r3, r5 +/* 80046C8C 00043BEC 40 80 00 08 */ bge lbl_80046C94 +lbl_80046C90: +/* 80046C90 00043BF0 42 00 00 00 */ bdnz lbl_80046C90 +lbl_80046C94: +/* 80046C94 00043BF4 80 A1 01 B8 */ lwz r5, 0x1b8(r1) +/* 80046C98 00043BF8 38 60 00 00 */ li r3, 0 +/* 80046C9C 00043BFC 90 61 00 F8 */ stw r3, 0xf8(r1) +/* 80046CA0 00043C00 2C 05 00 00 */ cmpwi r5, 0 +/* 80046CA4 00043C04 40 81 00 40 */ ble lbl_80046CE4 +/* 80046CA8 00043C08 2C 05 00 08 */ cmpwi r5, 8 +/* 80046CAC 00043C0C 38 85 FF F8 */ addi r4, r5, -8 +/* 80046CB0 00043C10 40 81 00 20 */ ble lbl_80046CD0 +/* 80046CB4 00043C14 38 04 00 07 */ addi r0, r4, 7 +/* 80046CB8 00043C18 54 00 E8 FE */ srwi r0, r0, 3 +/* 80046CBC 00043C1C 7C 09 03 A6 */ mtctr r0 +/* 80046CC0 00043C20 2C 04 00 00 */ cmpwi r4, 0 +/* 80046CC4 00043C24 40 81 00 0C */ ble lbl_80046CD0 +lbl_80046CC8: +/* 80046CC8 00043C28 38 63 00 08 */ addi r3, r3, 8 +/* 80046CCC 00043C2C 42 00 FF FC */ bdnz lbl_80046CC8 +lbl_80046CD0: +/* 80046CD0 00043C30 7C 03 28 50 */ subf r0, r3, r5 +/* 80046CD4 00043C34 7C 09 03 A6 */ mtctr r0 +/* 80046CD8 00043C38 7C 03 28 00 */ cmpw r3, r5 +/* 80046CDC 00043C3C 40 80 00 08 */ bge lbl_80046CE4 +lbl_80046CE0: +/* 80046CE0 00043C40 42 00 00 00 */ bdnz lbl_80046CE0 +lbl_80046CE4: +/* 80046CE4 00043C44 38 00 00 00 */ li r0, 0 +/* 80046CE8 00043C48 38 61 00 90 */ addi r3, r1, 0x90 +/* 80046CEC 00043C4C 90 01 01 B8 */ stw r0, 0x1b8(r1) +/* 80046CF0 00043C50 38 80 FF FF */ li r4, -1 +/* 80046CF4 00043C54 48 31 15 69 */ bl __dt__13CTimeProviderFv +/* 80046CF8 00043C58 B9 C1 12 F8 */ lmw r14, 0x12f8(r1) +/* 80046CFC 00043C5C 80 01 13 44 */ lwz r0, 0x1344(r1) +/* 80046D00 00043C60 7C 08 03 A6 */ mtlr r0 +/* 80046D04 00043C64 38 21 13 40 */ addi r1, r1, 0x1340 +/* 80046D08 00043C68 4E 80 00 20 */ blr + +.global GetAliveAreasEnd__6CWorldFv +GetAliveAreasEnd__6CWorldFv: +/* 80046D0C 00043C6C 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13) +/* 80046D10 00043C70 90 03 00 00 */ stw r0, 0(r3) +/* 80046D14 00043C74 4E 80 00 20 */ blr + +.global sub_80046d18 +sub_80046d18: +/* 80046D18 00043C78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80046D1C 00043C7C 7C 08 02 A6 */ mflr r0 +/* 80046D20 00043C80 90 01 00 24 */ stw r0, 0x24(r1) +/* 80046D24 00043C84 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80046D28 00043C88 80 A4 00 00 */ lwz r5, 0(r4) +/* 80046D2C 00043C8C 7C 05 00 00 */ cmpw r5, r0 +/* 80046D30 00043C90 40 82 00 10 */ bne lbl_80046D40 +/* 80046D34 00043C94 80 03 08 CC */ lwz r0, 0x8cc(r3) +/* 80046D38 00043C98 38 81 00 0C */ addi r4, r1, 0xc +/* 80046D3C 00043C9C 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80046D40: +/* 80046D40 00043CA0 80 C4 00 00 */ lwz r6, 0(r4) +/* 80046D44 00043CA4 80 A3 08 50 */ lwz r5, 0x850(r3) +/* 80046D48 00043CA8 54 C4 18 38 */ slwi r4, r6, 3 +/* 80046D4C 00043CAC 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80046D50 00043CB0 80 A5 00 20 */ lwz r5, 0x20(r5) +/* 80046D54 00043CB4 38 04 00 04 */ addi r0, r4, 4 +/* 80046D58 00043CB8 90 C1 00 08 */ stw r6, 8(r1) +/* 80046D5C 00043CBC 7C 85 00 2E */ lwzx r4, r5, r0 +/* 80046D60 00043CC0 88 04 00 F0 */ lbz r0, 0xf0(r4) +/* 80046D64 00043CC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80046D68 00043CC8 41 82 00 08 */ beq lbl_80046D70 +/* 80046D6C 00043CCC 48 00 00 7D */ bl sub_80046de8 +lbl_80046D70: +/* 80046D70 00043CD0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80046D74 00043CD4 7C 08 03 A6 */ mtlr r0 +/* 80046D78 00043CD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80046D7C 00043CDC 4E 80 00 20 */ blr + +.global SetupFogForArea__13CStateManagerCF7TAreaId +SetupFogForArea__13CStateManagerCF7TAreaId: +/* 80046D80 00043CE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80046D84 00043CE4 7C 08 02 A6 */ mflr r0 +/* 80046D88 00043CE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80046D8C 00043CEC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80046D90 00043CF0 80 A4 00 00 */ lwz r5, 0(r4) +/* 80046D94 00043CF4 7C 05 00 00 */ cmpw r5, r0 +/* 80046D98 00043CF8 40 82 00 10 */ bne lbl_80046DA8 +/* 80046D9C 00043CFC 80 03 08 CC */ lwz r0, 0x8cc(r3) +/* 80046DA0 00043D00 38 81 00 0C */ addi r4, r1, 0xc +/* 80046DA4 00043D04 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80046DA8: +/* 80046DA8 00043D08 80 C4 00 00 */ lwz r6, 0(r4) +/* 80046DAC 00043D0C 80 A3 08 50 */ lwz r5, 0x850(r3) +/* 80046DB0 00043D10 54 C4 18 38 */ slwi r4, r6, 3 +/* 80046DB4 00043D14 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80046DB8 00043D18 80 A5 00 20 */ lwz r5, 0x20(r5) +/* 80046DBC 00043D1C 38 04 00 04 */ addi r0, r4, 4 +/* 80046DC0 00043D20 90 C1 00 08 */ stw r6, 8(r1) +/* 80046DC4 00043D24 7C 85 00 2E */ lwzx r4, r5, r0 +/* 80046DC8 00043D28 88 04 00 F0 */ lbz r0, 0xf0(r4) +/* 80046DCC 00043D2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80046DD0 00043D30 41 82 00 08 */ beq lbl_80046DD8 +/* 80046DD4 00043D34 48 00 00 9D */ bl SetupFogForArea__13CStateManagerCFRC9CGameArea +lbl_80046DD8: +/* 80046DD8 00043D38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80046DDC 00043D3C 7C 08 03 A6 */ mtlr r0 +/* 80046DE0 00043D40 38 21 00 20 */ addi r1, r1, 0x20 +/* 80046DE4 00043D44 4E 80 00 20 */ blr + +.global sub_80046de8 +sub_80046de8: +/* 80046DE8 00043D48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80046DEC 00043D4C 7C 08 02 A6 */ mflr r0 +/* 80046DF0 00043D50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80046DF4 00043D54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80046DF8 00043D58 7C 9F 23 78 */ mr r31, r4 +/* 80046DFC 00043D5C 7C 64 1B 78 */ mr r4, r3 +/* 80046E00 00043D60 80 A3 08 B8 */ lwz r5, 0x8b8(r3) +/* 80046E04 00043D64 80 65 00 00 */ lwz r3, 0(r5) +/* 80046E08 00043D68 48 04 A7 51 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80046E0C 00043D6C 2C 03 00 01 */ cmpwi r3, 1 +/* 80046E10 00043D70 40 82 00 4C */ bne lbl_80046E5C +/* 80046E14 00043D74 7F E3 FB 78 */ mr r3, r31 +/* 80046E18 00043D78 48 01 74 25 */ bl GetXRayFogDistance__9CGameAreaFv +/* 80046E1C 00043D7C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80046E20 00043D80 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80046E24 00043D84 C0 04 02 84 */ lfs f0, 0x284(r4) +/* 80046E28 00043D88 38 A4 02 88 */ addi r5, r4, 0x288 +/* 80046E2C 00043D8C EC 62 08 28 */ fsubs f3, f2, f1 +/* 80046E30 00043D90 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046E34 00043D94 EC 40 00 72 */ fmuls f2, f0, f1 +/* 80046E38 00043D98 C0 24 02 80 */ lfs f1, 0x280(r4) +/* 80046E3C 00043D9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80046E40 00043DA0 C0 02 85 CC */ lfs f0, lbl_805AA2EC@sda21(r2) +/* 80046E44 00043DA4 EC 41 10 FA */ fmadds f2, f1, f3, f2 +/* 80046E48 00043DA8 81 8C 00 E0 */ lwz r12, 0xe0(r12) +/* 80046E4C 00043DAC 80 84 02 7C */ lwz r4, 0x27c(r4) +/* 80046E50 00043DB0 EC 42 00 32 */ fmuls f2, f2, f0 +/* 80046E54 00043DB4 7D 89 03 A6 */ mtctr r12 +/* 80046E58 00043DB8 4E 80 04 21 */ bctrl +lbl_80046E5C: +/* 80046E5C 00043DBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80046E60 00043DC0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80046E64 00043DC4 7C 08 03 A6 */ mtlr r0 +/* 80046E68 00043DC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80046E6C 00043DCC 4E 80 00 20 */ blr + +.global SetupFogForArea__13CStateManagerCFRC9CGameArea +SetupFogForArea__13CStateManagerCFRC9CGameArea: +/* 80046E70 00043DD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80046E74 00043DD4 7C 08 02 A6 */ mflr r0 +/* 80046E78 00043DD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80046E7C 00043DDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80046E80 00043DE0 7C 9F 23 78 */ mr r31, r4 +/* 80046E84 00043DE4 93 C1 00 08 */ stw r30, 8(r1) +/* 80046E88 00043DE8 7C 7E 1B 78 */ mr r30, r3 +/* 80046E8C 00043DEC 48 00 00 91 */ bl SetupFogForDraw__13CStateManagerCFv +/* 80046E90 00043DF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80046E94 00043DF4 40 82 00 70 */ bne lbl_80046F04 +/* 80046E98 00043DF8 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80046E9C 00043DFC 7F C4 F3 78 */ mr r4, r30 +/* 80046EA0 00043E00 80 63 00 00 */ lwz r3, 0(r3) +/* 80046EA4 00043E04 48 04 A6 B5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80046EA8 00043E08 2C 03 00 01 */ cmpwi r3, 1 +/* 80046EAC 00043E0C 40 82 00 4C */ bne lbl_80046EF8 +/* 80046EB0 00043E10 7F E3 FB 78 */ mr r3, r31 +/* 80046EB4 00043E14 48 01 73 89 */ bl GetXRayFogDistance__9CGameAreaFv +/* 80046EB8 00043E18 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80046EBC 00043E1C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046EC0 00043E20 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80046EC4 00043E24 38 A4 02 88 */ addi r5, r4, 0x288 +/* 80046EC8 00043E28 C0 04 02 84 */ lfs f0, 0x284(r4) +/* 80046ECC 00043E2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80046ED0 00043E30 EC 42 08 28 */ fsubs f2, f2, f1 +/* 80046ED4 00043E34 C0 64 02 80 */ lfs f3, 0x280(r4) +/* 80046ED8 00043E38 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80046EDC 00043E3C 81 8C 00 E0 */ lwz r12, 0xe0(r12) +/* 80046EE0 00043E40 FC 20 18 90 */ fmr f1, f3 +/* 80046EE4 00043E44 80 84 02 7C */ lwz r4, 0x27c(r4) +/* 80046EE8 00043E48 EC 43 00 BA */ fmadds f2, f3, f2, f0 +/* 80046EEC 00043E4C 7D 89 03 A6 */ mtctr r12 +/* 80046EF0 00043E50 4E 80 04 21 */ bctrl +/* 80046EF4 00043E54 48 00 00 10 */ b lbl_80046F04 +lbl_80046EF8: +/* 80046EF8 00043E58 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80046EFC 00043E5C 80 63 10 C4 */ lwz r3, 0x10c4(r3) +/* 80046F00 00043E60 48 01 7D 69 */ bl SetCurrent__Q29CGameArea8CAreaFogCFv +lbl_80046F04: +/* 80046F04 00043E64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80046F08 00043E68 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80046F0C 00043E6C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80046F10 00043E70 7C 08 03 A6 */ mtlr r0 +/* 80046F14 00043E74 38 21 00 10 */ addi r1, r1, 0x10 +/* 80046F18 00043E78 4E 80 00 20 */ blr + +.global SetupFogForDraw__13CStateManagerCFv +SetupFogForDraw__13CStateManagerCFv: +/* 80046F1C 00043E7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80046F20 00043E80 7C 08 02 A6 */ mflr r0 +/* 80046F24 00043E84 90 01 00 14 */ stw r0, 0x14(r1) +/* 80046F28 00043E88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80046F2C 00043E8C 7C 7F 1B 78 */ mr r31, r3 +/* 80046F30 00043E90 7F E4 FB 78 */ mr r4, r31 +/* 80046F34 00043E94 80 63 08 B8 */ lwz r3, 0x8b8(r3) +/* 80046F38 00043E98 80 63 00 00 */ lwz r3, 0(r3) +/* 80046F3C 00043E9C 48 04 A6 1D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80046F40 00043EA0 2C 03 00 02 */ cmpwi r3, 2 +/* 80046F44 00043EA4 41 82 00 60 */ beq lbl_80046FA4 +/* 80046F48 00043EA8 40 80 00 14 */ bge lbl_80046F5C +/* 80046F4C 00043EAC 2C 03 00 00 */ cmpwi r3, 0 +/* 80046F50 00043EB0 41 82 00 54 */ beq lbl_80046FA4 +/* 80046F54 00043EB4 40 80 00 40 */ bge lbl_80046F94 +/* 80046F58 00043EB8 48 00 00 44 */ b lbl_80046F9C +lbl_80046F5C: +/* 80046F5C 00043EBC 2C 03 00 04 */ cmpwi r3, 4 +/* 80046F60 00043EC0 40 80 00 3C */ bge lbl_80046F9C +/* 80046F64 00043EC4 48 30 30 51 */ bl Black__6CColorFv +/* 80046F68 00043EC8 7C 65 1B 78 */ mr r5, r3 +/* 80046F6C 00043ECC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80046F70 00043ED0 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 80046F74 00043ED4 38 80 00 00 */ li r4, 0 +/* 80046F78 00043ED8 81 83 00 00 */ lwz r12, 0(r3) +/* 80046F7C 00043EDC C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80046F80 00043EE0 81 8C 00 E0 */ lwz r12, 0xe0(r12) +/* 80046F84 00043EE4 7D 89 03 A6 */ mtctr r12 +/* 80046F88 00043EE8 4E 80 04 21 */ bctrl +/* 80046F8C 00043EEC 38 60 00 01 */ li r3, 1 +/* 80046F90 00043EF0 48 00 00 40 */ b lbl_80046FD0 +lbl_80046F94: +/* 80046F94 00043EF4 38 60 00 00 */ li r3, 0 +/* 80046F98 00043EF8 48 00 00 38 */ b lbl_80046FD0 +lbl_80046F9C: +/* 80046F9C 00043EFC 38 60 00 00 */ li r3, 0 +/* 80046FA0 00043F00 48 00 00 30 */ b lbl_80046FD0 +lbl_80046FA4: +/* 80046FA4 00043F04 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80046FA8 00043F08 3B E3 00 3C */ addi r31, r3, 0x3c +/* 80046FAC 00043F0C 7F E3 FB 78 */ mr r3, r31 +/* 80046FB0 00043F10 48 01 81 D9 */ bl IsFogDisabled__Q29CGameArea8CAreaFogCFv +/* 80046FB4 00043F14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80046FB8 00043F18 41 82 00 0C */ beq lbl_80046FC4 +/* 80046FBC 00043F1C 38 60 00 00 */ li r3, 0 +/* 80046FC0 00043F20 48 00 00 10 */ b lbl_80046FD0 +lbl_80046FC4: +/* 80046FC4 00043F24 7F E3 FB 78 */ mr r3, r31 +/* 80046FC8 00043F28 48 01 7C A1 */ bl SetCurrent__Q29CGameArea8CAreaFogCFv +/* 80046FCC 00043F2C 38 60 00 01 */ li r3, 1 +lbl_80046FD0: +/* 80046FD0 00043F30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80046FD4 00043F34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80046FD8 00043F38 7C 08 03 A6 */ mtlr r0 +/* 80046FDC 00043F3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80046FE0 00043F40 4E 80 00 20 */ blr + +.global SetupViewForDraw__13CStateManagerCFRCQ29CGraphics9CViewport +SetupViewForDraw__13CStateManagerCFRCQ29CGraphics9CViewport: +/* 80046FE4 00043F44 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80046FE8 00043F48 7C 08 02 A6 */ mflr r0 +/* 80046FEC 00043F4C 90 01 01 64 */ stw r0, 0x164(r1) +/* 80046FF0 00043F50 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 80046FF4 00043F54 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 80046FF8 00043F58 DB C1 01 40 */ stfd f30, 0x140(r1) +/* 80046FFC 00043F5C F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 +/* 80047000 00043F60 DB A1 01 30 */ stfd f29, 0x130(r1) +/* 80047004 00043F64 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 +/* 80047008 00043F68 DB 81 01 20 */ stfd f28, 0x120(r1) +/* 8004700C 00043F6C F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 +/* 80047010 00043F70 BF 21 01 04 */ stmw r25, 0x104(r1) +/* 80047014 00043F74 7C 9E 23 78 */ mr r30, r4 +/* 80047018 00043F78 7C 7D 1B 78 */ mr r29, r3 +/* 8004701C 00043F7C 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80047020 00043F80 7C B9 2B 78 */ mr r25, r5 +/* 80047024 00043F84 4B FC 4A F5 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80047028 00043F88 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 8004702C 00043F8C 7C 7F 1B 78 */ mr r31, r3 +/* 80047030 00043F90 7F C5 F3 78 */ mr r5, r30 +/* 80047034 00043F94 38 61 00 14 */ addi r3, r1, 0x14 +/* 80047038 00043F98 4B FC 39 31 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 8004703C 00043F9C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80047040 00043FA0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80047044 00043FA4 48 2C BB 31 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80047048 00043FA8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8004704C 00043FAC 38 81 00 44 */ addi r4, r1, 0x44 +/* 80047050 00043FB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80047054 00043FB4 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 80047058 00043FB8 7D 89 03 A6 */ mtctr r12 +/* 8004705C 00043FBC 4E 80 04 21 */ bctrl +/* 80047060 00043FC0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80047064 00043FC4 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80047068 00043FC8 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8004706C 00043FCC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80047070 00043FD0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80047074 00043FD4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80047078 00043FD8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8004707C 00043FDC 48 28 F1 E9 */ bl GetGlobalTimerObj__10CStopwatchFv +/* 80047080 00043FE0 7C 64 1B 78 */ mr r4, r3 +/* 80047084 00043FE4 38 61 00 08 */ addi r3, r1, 8 +/* 80047088 00043FE8 48 2F E7 71 */ bl SetNewPlayerPositionAndTime__10CCubeModelFRC9CVector3fRC10CStopwatch +/* 8004708C 00043FEC 80 D9 00 0C */ lwz r6, 0xc(r25) +/* 80047090 00043FF0 3C 60 43 30 */ lis r3, 0x4330 +/* 80047094 00043FF4 80 B9 00 08 */ lwz r5, 8(r25) +/* 80047098 00043FF8 6C C0 80 00 */ xoris r0, r6, 0x8000 +/* 8004709C 00043FFC 90 61 00 E0 */ stw r3, 0xe0(r1) +/* 800470A0 00044000 6C A4 80 00 */ xoris r4, r5, 0x8000 +/* 800470A4 00044004 C8 A2 85 A8 */ lfd f5, lbl_805AA2C8@sda21(r2) +/* 800470A8 00044008 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800470AC 0004400C C0 DE 0F 2C */ lfs f6, 0xf2c(r30) +/* 800470B0 00044010 C8 21 00 E0 */ lfd f1, 0xe0(r1) +/* 800470B4 00044014 C0 1F 01 68 */ lfs f0, 0x168(r31) +/* 800470B8 00044018 90 81 00 DC */ stw r4, 0xdc(r1) +/* 800470BC 0004401C EC 21 28 28 */ fsubs f1, f1, f5 +/* 800470C0 00044020 C0 5E 0F 30 */ lfs f2, 0xf30(r30) +/* 800470C4 00044024 EC 06 00 32 */ fmuls f0, f6, f0 +/* 800470C8 00044028 90 61 00 D8 */ stw r3, 0xd8(r1) +/* 800470CC 0004402C EF E2 00 72 */ fmuls f31, f2, f1 +/* 800470D0 00044030 C0 22 85 7C */ lfs f1, lbl_805AA29C@sda21(r2) +/* 800470D4 00044034 C8 81 00 D8 */ lfd f4, 0xd8(r1) +/* 800470D8 00044038 EF C0 10 24 */ fdivs f30, f0, f2 +/* 800470DC 0004403C C0 1F 01 5C */ lfs f0, 0x15c(r31) +/* 800470E0 00044040 C0 42 85 D4 */ lfs f2, lbl_805AA2F4@sda21(r2) +/* 800470E4 00044044 C0 62 85 D0 */ lfs f3, lbl_805AA2F0@sda21(r2) +/* 800470E8 00044048 80 F9 00 00 */ lwz r7, 0(r25) +/* 800470EC 0004404C 80 99 00 04 */ lwz r4, 4(r25) +/* 800470F0 00044050 EC A4 28 28 */ fsubs f5, f4, f5 +/* 800470F4 00044054 FC 80 F8 1E */ fctiwz f4, f31 +/* 800470F8 00044058 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800470FC 0004405C EF A6 01 72 */ fmuls f29, f6, f5 +/* 80047100 00044060 D8 81 00 F0 */ stfd f4, 0xf0(r1) +/* 80047104 00044064 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80047108 00044068 FC 40 E8 1E */ fctiwz f2, f29 +/* 8004710C 0004406C 80 61 00 F4 */ lwz r3, 0xf4(r1) +/* 80047110 00044070 54 60 0F FE */ srwi r0, r3, 0x1f +/* 80047114 00044074 EC 23 00 32 */ fmuls f1, f3, f0 +/* 80047118 00044078 D8 41 00 E8 */ stfd f2, 0xe8(r1) +/* 8004711C 0004407C 7C 00 1A 14 */ add r0, r0, r3 +/* 80047120 00044080 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80047124 00044084 83 81 00 EC */ lwz r28, 0xec(r1) +/* 80047128 00044088 54 1B 08 3C */ slwi r27, r0, 1 +/* 8004712C 0004408C 7C 7B 30 50 */ subf r3, r27, r6 +/* 80047130 00044090 7C DC 28 50 */ subf r6, r28, r5 +/* 80047134 00044094 54 C5 0F FE */ srwi r5, r6, 0x1f +/* 80047138 00044098 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8004713C 0004409C 7C A5 32 14 */ add r5, r5, r6 +/* 80047140 000440A0 7C A5 0E 70 */ srawi r5, r5, 1 +/* 80047144 000440A4 7C 00 1A 14 */ add r0, r0, r3 +/* 80047148 000440A8 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8004714C 000440AC 7F 47 2A 14 */ add r26, r7, r5 +/* 80047150 000440B0 7F 24 02 14 */ add r25, r4, r0 +/* 80047154 000440B4 48 2C E1 6D */ bl SlowTangentR__5CMathFf +/* 80047158 000440B8 C0 1E 0F 30 */ lfs f0, 0xf30(r30) +/* 8004715C 000440BC EC 21 00 32 */ fmuls f1, f1, f0 +/* 80047160 000440C0 48 2C E2 0D */ bl ArcTangentR__5CMathFf +/* 80047164 000440C4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80047168 000440C8 7F 44 D3 78 */ mr r4, r26 +/* 8004716C 000440CC C0 02 85 74 */ lfs f0, lbl_805AA294@sda21(r2) +/* 80047170 000440D0 7F 25 CB 78 */ mr r5, r25 +/* 80047174 000440D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80047178 000440D8 7F 86 E3 78 */ mr r6, r28 +/* 8004717C 000440DC EF 80 00 72 */ fmuls f28, f0, f1 +/* 80047180 000440E0 7F 67 DB 78 */ mr r7, r27 +/* 80047184 000440E4 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80047188 000440E8 7D 89 03 A6 */ mtctr r12 +/* 8004718C 000440EC 4E 80 04 21 */ bctrl +/* 80047190 000440F0 C0 22 85 80 */ lfs f1, lbl_805AA2A0@sda21(r2) +/* 80047194 000440F4 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80047198 000440F8 48 2C 32 49 */ bl SetDepthRange__9CGraphicsFff +/* 8004719C 000440FC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800471A0 00044100 FC 40 E8 90 */ fmr f2, f29 +/* 800471A4 00044104 C0 02 85 DC */ lfs f0, lbl_805AA2FC@sda21(r2) +/* 800471A8 00044108 FC 60 F8 90 */ fmr f3, f31 +/* 800471AC 0004410C 81 83 00 00 */ lwz r12, 0(r3) +/* 800471B0 00044110 EC 00 07 32 */ fmuls f0, f0, f28 +/* 800471B4 00044114 C0 22 85 D8 */ lfs f1, lbl_805AA2F8@sda21(r2) +/* 800471B8 00044118 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800471BC 0004411C C0 9F 01 60 */ lfs f4, 0x160(r31) +/* 800471C0 00044120 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800471C4 00044124 C0 BF 01 64 */ lfs f5, 0x164(r31) +/* 800471C8 00044128 7D 89 03 A6 */ mtctr r12 +/* 800471CC 0004412C 4E 80 04 21 */ bctrl +/* 800471D0 00044130 FC 20 E0 90 */ fmr f1, f28 +/* 800471D4 00044134 C0 7F 01 60 */ lfs f3, 0x160(r31) +/* 800471D8 00044138 FC 40 F0 90 */ fmr f2, f30 +/* 800471DC 0004413C C0 82 85 C0 */ lfs f4, lbl_805AA2E0@sda21(r2) +/* 800471E0 00044140 38 61 00 74 */ addi r3, r1, 0x74 +/* 800471E4 00044144 38 81 00 44 */ addi r4, r1, 0x44 +/* 800471E8 00044148 38 A0 00 00 */ li r5, 0 +/* 800471EC 0004414C 48 2F E0 69 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf +/* 800471F0 00044150 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800471F4 00044154 38 81 00 74 */ addi r4, r1, 0x74 +/* 800471F8 00044158 81 83 00 00 */ lwz r12, 0(r3) +/* 800471FC 0004415C 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 80047200 00044160 7D 89 03 A6 */ mtctr r12 +/* 80047204 00044164 4E 80 04 21 */ bctrl +/* 80047208 00044168 48 30 2D A5 */ bl White__6CColorFv +/* 8004720C 0004416C 7C 64 1B 78 */ mr r4, r3 +/* 80047210 00044170 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80047214 00044174 81 83 00 00 */ lwz r12, 0(r3) +/* 80047218 00044178 81 8C 00 B4 */ lwz r12, 0xb4(r12) +/* 8004721C 0004417C 7D 89 03 A6 */ mtctr r12 +/* 80047220 00044180 4E 80 04 21 */ bctrl +/* 80047224 00044184 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80047228 00044188 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8004722C 0004418C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80047230 00044190 81 83 00 00 */ lwz r12, 0(r3) +/* 80047234 00044194 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80047238 00044198 7D 89 03 A6 */ mtctr r12 +/* 8004723C 0004419C 4E 80 04 21 */ bctrl +/* 80047240 000441A0 80 7E 08 7C */ lwz r3, 0x87c(r30) +/* 80047244 000441A4 38 80 00 00 */ li r4, 0 +/* 80047248 000441A8 48 0E 83 C1 */ bl StartFrame__18CFluidPlaneManagerCFb +/* 8004724C 000441AC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80047250 000441B0 38 80 00 01 */ li r4, 1 +/* 80047254 000441B4 38 A0 00 01 */ li r5, 1 +/* 80047258 000441B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8004725C 000441BC 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 80047260 000441C0 7D 89 03 A6 */ mtctr r12 +/* 80047264 000441C4 4E 80 04 21 */ bctrl +/* 80047268 000441C8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8004726C 000441CC 38 81 00 78 */ addi r4, r1, 0x78 +/* 80047270 000441D0 38 7D 00 04 */ addi r3, r29, 4 +/* 80047274 000441D4 90 1D 00 00 */ stw r0, 0(r29) +/* 80047278 000441D8 80 1D 00 00 */ lwz r0, 0(r29) +/* 8004727C 000441DC 7C 09 03 A6 */ mtctr r0 +/* 80047280 000441E0 2C 00 00 00 */ cmpwi r0, 0 +/* 80047284 000441E4 40 81 00 38 */ ble lbl_800472BC +lbl_80047288: +/* 80047288 000441E8 28 03 00 00 */ cmplwi r3, 0 +/* 8004728C 000441EC 41 82 00 24 */ beq lbl_800472B0 +/* 80047290 000441F0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80047294 000441F4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80047298 000441F8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8004729C 000441FC D0 03 00 04 */ stfs f0, 4(r3) +/* 800472A0 00044200 C0 04 00 08 */ lfs f0, 8(r4) +/* 800472A4 00044204 D0 03 00 08 */ stfs f0, 8(r3) +/* 800472A8 00044208 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 800472AC 0004420C D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_800472B0: +/* 800472B0 00044210 38 63 00 10 */ addi r3, r3, 0x10 +/* 800472B4 00044214 38 84 00 10 */ addi r4, r4, 0x10 +/* 800472B8 00044218 42 00 FF D0 */ bdnz lbl_80047288 +lbl_800472BC: +/* 800472BC 0004421C 80 A1 00 74 */ lwz r5, 0x74(r1) +/* 800472C0 00044220 38 60 00 00 */ li r3, 0 +/* 800472C4 00044224 2C 05 00 00 */ cmpwi r5, 0 +/* 800472C8 00044228 40 81 00 40 */ ble lbl_80047308 +/* 800472CC 0004422C 2C 05 00 08 */ cmpwi r5, 8 +/* 800472D0 00044230 38 85 FF F8 */ addi r4, r5, -8 +/* 800472D4 00044234 40 81 00 20 */ ble lbl_800472F4 +/* 800472D8 00044238 38 04 00 07 */ addi r0, r4, 7 +/* 800472DC 0004423C 54 00 E8 FE */ srwi r0, r0, 3 +/* 800472E0 00044240 7C 09 03 A6 */ mtctr r0 +/* 800472E4 00044244 2C 04 00 00 */ cmpwi r4, 0 +/* 800472E8 00044248 40 81 00 0C */ ble lbl_800472F4 +lbl_800472EC: +/* 800472EC 0004424C 38 63 00 08 */ addi r3, r3, 8 +/* 800472F0 00044250 42 00 FF FC */ bdnz lbl_800472EC +lbl_800472F4: +/* 800472F4 00044254 7C 03 28 50 */ subf r0, r3, r5 +/* 800472F8 00044258 7C 09 03 A6 */ mtctr r0 +/* 800472FC 0004425C 7C 03 28 00 */ cmpw r3, r5 +/* 80047300 00044260 40 80 00 08 */ bge lbl_80047308 +lbl_80047304: +/* 80047304 00044264 42 00 00 00 */ bdnz lbl_80047304 +lbl_80047308: +/* 80047308 00044268 38 00 00 00 */ li r0, 0 +/* 8004730C 0004426C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80047310 00044270 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 80047314 00044274 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 80047318 00044278 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 +/* 8004731C 0004427C CB C1 01 40 */ lfd f30, 0x140(r1) +/* 80047320 00044280 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 +/* 80047324 00044284 CB A1 01 30 */ lfd f29, 0x130(r1) +/* 80047328 00044288 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 +/* 8004732C 0004428C CB 81 01 20 */ lfd f28, 0x120(r1) +/* 80047330 00044290 BB 21 01 04 */ lmw r25, 0x104(r1) +/* 80047334 00044294 80 01 01 64 */ lwz r0, 0x164(r1) +/* 80047338 00044298 7C 08 03 A6 */ mtlr r0 +/* 8004733C 0004429C 38 21 01 60 */ addi r1, r1, 0x160 +/* 80047340 000442A0 4E 80 00 20 */ blr + +.global PreRender__13CStateManagerFv +PreRender__13CStateManagerFv: +/* 80047344 000442A4 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80047348 000442A8 7C 08 02 A6 */ mflr r0 +/* 8004734C 000442AC 90 01 01 04 */ stw r0, 0x104(r1) +/* 80047350 000442B0 BF 21 00 E4 */ stmw r25, 0xe4(r1) +/* 80047354 000442B4 7C 7C 1B 78 */ mr r28, r3 +/* 80047358 000442B8 88 03 0F 94 */ lbz r0, 0xf94(r3) +/* 8004735C 000442BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80047360 000442C0 41 82 02 B0 */ beq lbl_80047610 +/* 80047364 000442C4 48 33 E0 45 */ bl OSGetTime +/* 80047368 000442C8 80 BC 08 6C */ lwz r5, 0x86c(r28) +/* 8004736C 000442CC 7C 9E 23 78 */ mr r30, r4 +/* 80047370 000442D0 7C 7F 1B 78 */ mr r31, r3 +/* 80047374 000442D4 38 60 00 00 */ li r3, 0 +/* 80047378 000442D8 3C 85 00 01 */ addis r4, r5, 1 +/* 8004737C 000442DC 80 C4 F3 70 */ lwz r6, -0xc90(r4) +/* 80047380 000442E0 2C 06 00 00 */ cmpwi r6, 0 +/* 80047384 000442E4 40 81 00 40 */ ble lbl_800473C4 +/* 80047388 000442E8 2C 06 00 08 */ cmpwi r6, 8 +/* 8004738C 000442EC 38 A6 FF F8 */ addi r5, r6, -8 +/* 80047390 000442F0 40 81 00 20 */ ble lbl_800473B0 +/* 80047394 000442F4 38 05 00 07 */ addi r0, r5, 7 +/* 80047398 000442F8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004739C 000442FC 7C 09 03 A6 */ mtctr r0 +/* 800473A0 00044300 2C 05 00 00 */ cmpwi r5, 0 +/* 800473A4 00044304 40 81 00 0C */ ble lbl_800473B0 +lbl_800473A8: +/* 800473A8 00044308 38 63 00 08 */ addi r3, r3, 8 +/* 800473AC 0004430C 42 00 FF FC */ bdnz lbl_800473A8 +lbl_800473B0: +/* 800473B0 00044310 7C 03 30 50 */ subf r0, r3, r6 +/* 800473B4 00044314 7C 09 03 A6 */ mtctr r0 +/* 800473B8 00044318 7C 03 30 00 */ cmpw r3, r6 +/* 800473BC 0004431C 40 80 00 08 */ bge lbl_800473C4 +lbl_800473C0: +/* 800473C0 00044320 42 00 00 00 */ bdnz lbl_800473C0 +lbl_800473C4: +/* 800473C4 00044324 38 A0 00 00 */ li r5, 0 +/* 800473C8 00044328 90 A4 F3 70 */ stw r5, -0xc90(r4) +/* 800473CC 0004432C 80 7C 08 6C */ lwz r3, 0x86c(r28) +/* 800473D0 00044330 3C 63 00 01 */ addis r3, r3, 1 +/* 800473D4 00044334 80 C3 F3 9C */ lwz r6, -0xc64(r3) +/* 800473D8 00044338 2C 06 00 00 */ cmpwi r6, 0 +/* 800473DC 0004433C 40 81 00 40 */ ble lbl_8004741C +/* 800473E0 00044340 2C 06 00 08 */ cmpwi r6, 8 +/* 800473E4 00044344 38 86 FF F8 */ addi r4, r6, -8 +/* 800473E8 00044348 40 81 00 20 */ ble lbl_80047408 +/* 800473EC 0004434C 38 04 00 07 */ addi r0, r4, 7 +/* 800473F0 00044350 54 00 E8 FE */ srwi r0, r0, 3 +/* 800473F4 00044354 7C 09 03 A6 */ mtctr r0 +/* 800473F8 00044358 2C 04 00 00 */ cmpwi r4, 0 +/* 800473FC 0004435C 40 81 00 0C */ ble lbl_80047408 +lbl_80047400: +/* 80047400 00044360 38 A5 00 08 */ addi r5, r5, 8 +/* 80047404 00044364 42 00 FF FC */ bdnz lbl_80047400 +lbl_80047408: +/* 80047408 00044368 7C 05 30 50 */ subf r0, r5, r6 +/* 8004740C 0004436C 7C 09 03 A6 */ mtctr r0 +/* 80047410 00044370 7C 05 30 00 */ cmpw r5, r6 +/* 80047414 00044374 40 80 00 08 */ bge lbl_8004741C +lbl_80047418: +/* 80047418 00044378 42 00 00 00 */ bdnz lbl_80047418 +lbl_8004741C: +/* 8004741C 0004437C 38 00 00 00 */ li r0, 0 +/* 80047420 00044380 90 03 F3 9C */ stw r0, -0xc64(r3) +/* 80047424 00044384 90 1C 0F 7C */ stw r0, 0xf7c(r28) +/* 80047428 00044388 80 7C 08 50 */ lwz r3, 0x850(r28) +/* 8004742C 0004438C 48 00 EE C5 */ bl PreRender__6CWorldFv +/* 80047430 00044390 7F 83 E3 78 */ mr r3, r28 +/* 80047434 00044394 4B FF E3 4D */ bl BuildDynamicLightListForWorld__13CStateManagerFv +/* 80047438 00044398 80 7C 08 70 */ lwz r3, 0x870(r28) +/* 8004743C 0004439C 7F 84 E3 78 */ mr r4, r28 +/* 80047440 000443A0 4B FC 46 D9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80047444 000443A4 80 9C 08 70 */ lwz r4, 0x870(r28) +/* 80047448 000443A8 7C 7D 1B 78 */ mr r29, r3 +/* 8004744C 000443AC 7F 85 E3 78 */ mr r5, r28 +/* 80047450 000443B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80047454 000443B4 4B FC 35 15 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 80047458 000443B8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8004745C 000443BC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80047460 000443C0 48 2C B7 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80047464 000443C4 C0 22 85 BC */ lfs f1, lbl_805AA2DC@sda21(r2) +/* 80047468 000443C8 38 61 00 74 */ addi r3, r1, 0x74 +/* 8004746C 000443CC C0 1D 01 5C */ lfs f0, 0x15c(r29) +/* 80047470 000443D0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80047474 000443D4 C0 5D 01 68 */ lfs f2, 0x168(r29) +/* 80047478 000443D8 38 A0 00 00 */ li r5, 0 +/* 8004747C 000443DC EC 21 00 32 */ fmuls f1, f1, f0 +/* 80047480 000443E0 C0 7D 01 60 */ lfs f3, 0x160(r29) +/* 80047484 000443E4 C0 82 85 C0 */ lfs f4, lbl_805AA2E0@sda21(r2) +/* 80047488 000443E8 48 2F DD CD */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf +/* 8004748C 000443EC 80 7C 08 50 */ lwz r3, 0x850(r28) +/* 80047490 000443F0 83 A3 00 58 */ lwz r29, 0x58(r3) +/* 80047494 000443F4 48 00 00 C0 */ b lbl_80047554 +lbl_80047498: +/* 80047498 000443F8 88 1D 00 F0 */ lbz r0, 0xf0(r29) +/* 8004749C 000443FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800474A0 00044400 41 82 00 10 */ beq lbl_800474B0 +/* 800474A4 00044404 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 800474A8 00044408 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800474AC 0004440C 48 00 00 08 */ b lbl_800474B4 +lbl_800474B0: +/* 800474B0 00044410 38 00 00 00 */ li r0, 0 +lbl_800474B4: +/* 800474B4 00044414 2C 00 00 01 */ cmpwi r0, 1 +/* 800474B8 00044418 40 82 00 98 */ bne lbl_80047550 +/* 800474BC 0004441C 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 800474C0 00044420 83 63 10 C0 */ lwz r27, 0x10c0(r3) +/* 800474C4 00044424 AB 3B 20 08 */ lha r25, 0x2008(r27) +/* 800474C8 00044428 48 00 00 80 */ b lbl_80047548 +lbl_800474CC: +/* 800474CC 0004442C 7F 63 DB 78 */ mr r3, r27 +/* 800474D0 00044430 7F 24 CB 78 */ mr r4, r25 +/* 800474D4 00044434 4B FC 88 41 */ bl __vc__11CObjectListFi +/* 800474D8 00044438 7C 64 1B 78 */ mr r4, r3 +/* 800474DC 0004443C 38 61 00 0C */ addi r3, r1, 0xc +/* 800474E0 00044440 48 06 87 B1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800474E4 00044444 83 43 00 04 */ lwz r26, 4(r3) +/* 800474E8 00044448 28 1A 00 00 */ cmplwi r26, 0 +/* 800474EC 0004444C 41 82 00 40 */ beq lbl_8004752C +/* 800474F0 00044450 88 1A 00 E7 */ lbz r0, 0xe7(r26) +/* 800474F4 00044454 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800474F8 00044458 41 82 00 34 */ beq lbl_8004752C +/* 800474FC 0004445C 7F 43 D3 78 */ mr r3, r26 +/* 80047500 00044460 81 9A 00 00 */ lwz r12, 0(r26) +/* 80047504 00044464 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80047508 00044468 7D 89 03 A6 */ mtctr r12 +/* 8004750C 0004446C 4E 80 04 21 */ bctrl +/* 80047510 00044470 7F 43 D3 78 */ mr r3, r26 +/* 80047514 00044474 7F 84 E3 78 */ mr r4, r28 +/* 80047518 00044478 81 9A 00 00 */ lwz r12, 0(r26) +/* 8004751C 0004447C 38 A1 00 74 */ addi r5, r1, 0x74 +/* 80047520 00044480 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80047524 00044484 7D 89 03 A6 */ mtctr r12 +/* 80047528 00044488 4E 80 04 21 */ bctrl +lbl_8004752C: +/* 8004752C 0004448C 2C 19 FF FF */ cmpwi r25, -1 +/* 80047530 00044490 41 82 00 14 */ beq lbl_80047544 +/* 80047534 00044494 57 23 18 38 */ slwi r3, r25, 3 +/* 80047538 00044498 38 03 00 08 */ addi r0, r3, 8 +/* 8004753C 0004449C 7F 3B 02 AE */ lhax r25, r27, r0 +/* 80047540 000444A0 48 00 00 08 */ b lbl_80047548 +lbl_80047544: +/* 80047544 000444A4 3B 20 FF FF */ li r25, -1 +lbl_80047548: +/* 80047548 000444A8 2C 19 FF FF */ cmpwi r25, -1 +/* 8004754C 000444AC 40 82 FF 80 */ bne lbl_800474CC +lbl_80047550: +/* 80047550 000444B0 83 BD 01 30 */ lwz r29, 0x130(r29) +lbl_80047554: +/* 80047554 000444B4 38 61 00 08 */ addi r3, r1, 8 +/* 80047558 000444B8 48 00 00 CD */ bl AliveAreasEnd__6CWorldFv +/* 8004755C 000444BC 80 01 00 08 */ lwz r0, 8(r1) +/* 80047560 000444C0 7C 00 E8 40 */ cmplw r0, r29 +/* 80047564 000444C4 40 82 FF 34 */ bne lbl_80047498 +/* 80047568 000444C8 88 02 80 E8 */ lbz r0, lbl_805A9E08@sda21(r2) +/* 8004756C 000444CC 28 00 00 00 */ cmplwi r0, 0 +/* 80047570 000444D0 40 82 00 0C */ bne lbl_8004757C +/* 80047574 000444D4 7F 83 E3 78 */ mr r3, r28 +/* 80047578 000444D8 4B FF E1 51 */ bl CacheReflection__13CStateManagerFv +lbl_8004757C: +/* 8004757C 000444DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80047580 000444E0 38 9C 08 E0 */ addi r4, r28, 0x8e0 +/* 80047584 000444E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80047588 000444E8 81 8C 01 08 */ lwz r12, 0x108(r12) +/* 8004758C 000444EC 7D 89 03 A6 */ mtctr r12 +/* 80047590 000444F0 4E 80 04 21 */ bctrl +/* 80047594 000444F4 48 33 DE 15 */ bl OSGetTime +/* 80047598 000444F8 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha +/* 8004759C 000444FC 7C 9E 20 10 */ subfc r4, r30, r4 +/* 800475A0 00044500 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l +/* 800475A4 00044504 7C 7F 19 10 */ subfe r3, r31, r3 +/* 800475A8 00044508 80 A6 00 08 */ lwz r5, 8(r6) +/* 800475AC 0004450C 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 800475B0 00044510 48 34 26 1D */ bl __div2i +/* 800475B4 00044514 80 C1 00 74 */ lwz r6, 0x74(r1) +/* 800475B8 00044518 38 A0 00 00 */ li r5, 0 +/* 800475BC 0004451C 90 8D A1 DC */ stw r4, lbl_805A8D9C@sda21(r13) +/* 800475C0 00044520 2C 06 00 00 */ cmpwi r6, 0 +/* 800475C4 00044524 90 6D A1 D8 */ stw r3, lbl_805A8D98@sda21(r13) +/* 800475C8 00044528 40 81 00 40 */ ble lbl_80047608 +/* 800475CC 0004452C 2C 06 00 08 */ cmpwi r6, 8 +/* 800475D0 00044530 38 66 FF F8 */ addi r3, r6, -8 +/* 800475D4 00044534 40 81 00 20 */ ble lbl_800475F4 +/* 800475D8 00044538 38 03 00 07 */ addi r0, r3, 7 +/* 800475DC 0004453C 54 00 E8 FE */ srwi r0, r0, 3 +/* 800475E0 00044540 7C 09 03 A6 */ mtctr r0 +/* 800475E4 00044544 2C 03 00 00 */ cmpwi r3, 0 +/* 800475E8 00044548 40 81 00 0C */ ble lbl_800475F4 +lbl_800475EC: +/* 800475EC 0004454C 38 A5 00 08 */ addi r5, r5, 8 +/* 800475F0 00044550 42 00 FF FC */ bdnz lbl_800475EC +lbl_800475F4: +/* 800475F4 00044554 7C 05 30 50 */ subf r0, r5, r6 +/* 800475F8 00044558 7C 09 03 A6 */ mtctr r0 +/* 800475FC 0004455C 7C 05 30 00 */ cmpw r5, r6 +/* 80047600 00044560 40 80 00 08 */ bge lbl_80047608 +lbl_80047604: +/* 80047604 00044564 42 00 00 00 */ bdnz lbl_80047604 +lbl_80047608: +/* 80047608 00044568 38 00 00 00 */ li r0, 0 +/* 8004760C 0004456C 90 01 00 74 */ stw r0, 0x74(r1) +lbl_80047610: +/* 80047610 00044570 BB 21 00 E4 */ lmw r25, 0xe4(r1) +/* 80047614 00044574 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80047618 00044578 7C 08 03 A6 */ mtlr r0 +/* 8004761C 0004457C 38 21 01 00 */ addi r1, r1, 0x100 +/* 80047620 00044580 4E 80 00 20 */ blr + +.global AliveAreasEnd__6CWorldFv +AliveAreasEnd__6CWorldFv: +/* 80047624 00044584 80 0D A2 1C */ lwz r0, lbl_805A8DDC@sda21(r13) +/* 80047628 00044588 90 03 00 00 */ stw r0, 0(r3) +/* 8004762C 0004458C 4E 80 00 20 */ blr + +.global GetVisSetForArea__13CStateManagerCF7TAreaId7TAreaId +GetVisSetForArea__13CStateManagerCF7TAreaId7TAreaId: +/* 80047630 00044590 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80047634 00044594 7C 08 02 A6 */ mflr r0 +/* 80047638 00044598 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8004763C 0004459C DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 80047640 000445A0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80047644 000445A4 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 80047648 000445A8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 8004764C 000445AC DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 80047650 000445B0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 80047654 000445B4 BE A1 00 84 */ stmw r21, 0x84(r1) +/* 80047658 000445B8 80 A5 00 00 */ lwz r5, 0(r5) +/* 8004765C 000445BC 7C 7C 1B 78 */ mr r28, r3 +/* 80047660 000445C0 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80047664 000445C4 7C 9D 23 78 */ mr r29, r4 +/* 80047668 000445C8 7C DE 33 78 */ mr r30, r6 +/* 8004766C 000445CC 7C 05 00 00 */ cmpw r5, r0 +/* 80047670 000445D0 40 82 00 0C */ bne lbl_8004767C +/* 80047674 000445D4 38 60 00 00 */ li r3, 0 +/* 80047678 000445D8 48 00 03 14 */ b lbl_8004798C +lbl_8004767C: +/* 8004767C 000445DC 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 80047680 000445E0 80 1D 00 00 */ lwz r0, 0(r29) +/* 80047684 000445E4 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 80047688 000445E8 3B E0 00 00 */ li r31, 0 +/* 8004768C 000445EC C3 A3 00 2C */ lfs f29, 0x2c(r3) +/* 80047690 000445F0 7C 00 28 00 */ cmpw r0, r5 +/* 80047694 000445F4 C3 C3 00 0C */ lfs f30, 0xc(r3) +/* 80047698 000445F8 C3 E3 00 1C */ lfs f31, 0x1c(r3) +/* 8004769C 000445FC D3 C1 00 48 */ stfs f30, 0x48(r1) +/* 800476A0 00044600 D3 E1 00 4C */ stfs f31, 0x4c(r1) +/* 800476A4 00044604 D3 A1 00 50 */ stfs f29, 0x50(r1) +/* 800476A8 00044608 40 82 00 0C */ bne lbl_800476B4 +/* 800476AC 0004460C 3B E0 00 01 */ li r31, 1 +/* 800476B0 00044610 48 00 01 70 */ b lbl_80047820 +lbl_800476B4: +/* 800476B4 00044614 80 9C 08 50 */ lwz r4, 0x850(r28) +/* 800476B8 00044618 54 A3 18 38 */ slwi r3, r5, 3 +/* 800476BC 0004461C 38 03 00 04 */ addi r0, r3, 4 +/* 800476C0 00044620 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800476C4 00044624 80 64 00 20 */ lwz r3, 0x20(r4) +/* 800476C8 00044628 7F 63 00 2E */ lwzx r27, r3, r0 +/* 800476CC 0004462C 88 1B 00 F0 */ lbz r0, 0xf0(r27) +/* 800476D0 00044630 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800476D4 00044634 41 82 01 4C */ beq lbl_80047820 +/* 800476D8 00044638 83 5B 00 D0 */ lwz r26, 0xd0(r27) +/* 800476DC 0004463C 3A C0 00 00 */ li r22, 0 +/* 800476E0 00044640 3A E0 00 00 */ li r23, 0 +/* 800476E4 00044644 48 00 01 34 */ b lbl_80047818 +lbl_800476E8: +/* 800476E8 00044648 80 1B 00 D8 */ lwz r0, 0xd8(r27) +/* 800476EC 0004464C 3A A0 00 00 */ li r21, 0 +/* 800476F0 00044650 7F 20 BA 14 */ add r25, r0, r23 +/* 800476F4 00044654 83 19 00 08 */ lwz r24, 8(r25) +/* 800476F8 00044658 48 00 01 10 */ b lbl_80047808 +lbl_800476FC: +/* 800476FC 0004465C 7F 24 CB 78 */ mr r4, r25 +/* 80047700 00044660 7E A5 AB 78 */ mr r5, r21 +/* 80047704 00044664 38 61 00 10 */ addi r3, r1, 0x10 +/* 80047708 00044668 48 01 7C 1D */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 8004770C 0004466C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80047710 00044670 80 1D 00 00 */ lwz r0, 0(r29) +/* 80047714 00044674 7C 03 00 00 */ cmpw r3, r0 +/* 80047718 00044678 40 82 00 EC */ bne lbl_80047804 +/* 8004771C 0004467C C0 79 00 18 */ lfs f3, 0x18(r25) +/* 80047720 00044680 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80047724 00044684 C0 39 00 24 */ lfs f1, 0x24(r25) +/* 80047728 00044688 C0 59 00 1C */ lfs f2, 0x1c(r25) +/* 8004772C 0004468C EC A3 08 2A */ fadds f5, f3, f1 +/* 80047730 00044690 C0 19 00 28 */ lfs f0, 0x28(r25) +/* 80047734 00044694 C0 79 00 30 */ lfs f3, 0x30(r25) +/* 80047738 00044698 EC 82 00 2A */ fadds f4, f2, f0 +/* 8004773C 0004469C C0 39 00 20 */ lfs f1, 0x20(r25) +/* 80047740 000446A0 EC C5 18 2A */ fadds f6, f5, f3 +/* 80047744 000446A4 C0 19 00 2C */ lfs f0, 0x2c(r25) +/* 80047748 000446A8 C0 79 00 34 */ lfs f3, 0x34(r25) +/* 8004774C 000446AC EC 41 00 2A */ fadds f2, f1, f0 +/* 80047750 000446B0 C0 39 00 38 */ lfs f1, 0x38(r25) +/* 80047754 000446B4 EC 64 18 2A */ fadds f3, f4, f3 +/* 80047758 000446B8 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 8004775C 000446BC C0 B9 00 3C */ lfs f5, 0x3c(r25) +/* 80047760 000446C0 EC 22 08 2A */ fadds f1, f2, f1 +/* 80047764 000446C4 EC 63 00 2A */ fadds f3, f3, f0 +/* 80047768 000446C8 C0 19 00 44 */ lfs f0, 0x44(r25) +/* 8004776C 000446CC EC 86 28 2A */ fadds f4, f6, f5 +/* 80047770 000446D0 C0 A2 85 70 */ lfs f5, lbl_805AA290@sda21(r2) +/* 80047774 000446D4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80047778 000446D8 ED 25 00 F2 */ fmuls f9, f5, f3 +/* 8004777C 000446DC ED 45 01 32 */ fmuls f10, f5, f4 +/* 80047780 000446E0 ED 05 00 32 */ fmuls f8, f5, f0 +/* 80047784 000446E4 41 82 00 70 */ beq lbl_800477F4 +/* 80047788 000446E8 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 8004778C 000446EC EC 0A F0 28 */ fsubs f0, f10, f30 +/* 80047790 000446F0 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80047794 000446F4 EC 89 F8 28 */ fsubs f4, f9, f31 +/* 80047798 000446F8 EC C2 F8 28 */ fsubs f6, f2, f31 +/* 8004779C 000446FC C0 41 00 50 */ lfs f2, 0x50(r1) +/* 800477A0 00044700 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 800477A4 00044704 EC E2 E8 28 */ fsubs f7, f2, f29 +/* 800477A8 00044708 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800477AC 0004470C EC 68 E8 28 */ fsubs f3, f8, f29 +/* 800477B0 00044710 EC A1 00 72 */ fmuls f5, f1, f1 +/* 800477B4 00044714 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800477B8 00044718 EC 46 01 B2 */ fmuls f2, f6, f6 +/* 800477BC 0004471C EC 20 00 32 */ fmuls f1, f0, f0 +/* 800477C0 00044720 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 800477C4 00044724 EC 04 01 32 */ fmuls f0, f4, f4 +/* 800477C8 00044728 EC C7 01 F2 */ fmuls f6, f7, f7 +/* 800477CC 0004472C D0 E1 00 2C */ stfs f7, 0x2c(r1) +/* 800477D0 00044730 EC A5 10 2A */ fadds f5, f5, f2 +/* 800477D4 00044734 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 800477D8 00044738 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 800477DC 0004473C EC 01 00 2A */ fadds f0, f1, f0 +/* 800477E0 00044740 EC 26 28 2A */ fadds f1, f6, f5 +/* 800477E4 00044744 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 800477E8 00044748 EC 02 00 2A */ fadds f0, f2, f0 +/* 800477EC 0004474C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800477F0 00044750 40 80 00 14 */ bge lbl_80047804 +lbl_800477F4: +/* 800477F4 00044754 D1 41 00 48 */ stfs f10, 0x48(r1) +/* 800477F8 00044758 3B E0 00 01 */ li r31, 1 +/* 800477FC 0004475C D1 21 00 4C */ stfs f9, 0x4c(r1) +/* 80047800 00044760 D1 01 00 50 */ stfs f8, 0x50(r1) +lbl_80047804: +/* 80047804 00044764 3A B5 00 01 */ addi r21, r21, 1 +lbl_80047808: +/* 80047808 00044768 7C 15 C0 00 */ cmpw r21, r24 +/* 8004780C 0004476C 41 80 FE F0 */ blt lbl_800476FC +/* 80047810 00044770 3A F7 00 4C */ addi r23, r23, 0x4c +/* 80047814 00044774 3A D6 00 01 */ addi r22, r22, 1 +lbl_80047818: +/* 80047818 00044778 7C 16 D0 00 */ cmpw r22, r26 +/* 8004781C 0004477C 41 80 FE CC */ blt lbl_800476E8 +lbl_80047820: +/* 80047820 00044780 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80047824 00044784 3B E0 00 00 */ li r31, 0 +/* 80047828 00044788 41 82 01 58 */ beq lbl_80047980 +/* 8004782C 0004478C 80 1D 00 00 */ lwz r0, 0(r29) +/* 80047830 00044790 3B E0 00 01 */ li r31, 1 +/* 80047834 00044794 80 9C 08 50 */ lwz r4, 0x850(r28) +/* 80047838 00044798 54 03 18 38 */ slwi r3, r0, 3 +/* 8004783C 0004479C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80047840 000447A0 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80047844 000447A4 38 03 00 04 */ addi r0, r3, 4 +/* 80047848 000447A8 7C 64 00 2E */ lwzx r3, r4, r0 +/* 8004784C 000447AC 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80047850 000447B0 80 63 00 A0 */ lwz r3, 0xa0(r3) +/* 80047854 000447B4 28 03 00 00 */ cmplwi r3, 0 +/* 80047858 000447B8 41 82 01 28 */ beq lbl_80047980 +/* 8004785C 000447BC 3B E0 00 02 */ li r31, 2 +/* 80047860 000447C0 48 26 6C 25 */ bl GetVisOctree__13CPVSVisOctreeFv +/* 80047864 000447C4 80 1D 00 00 */ lwz r0, 0(r29) +/* 80047868 000447C8 7C 75 1B 78 */ mr r21, r3 +/* 8004786C 000447CC 80 9C 08 50 */ lwz r4, 0x850(r28) +/* 80047870 000447D0 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80047874 000447D4 54 03 18 38 */ slwi r3, r0, 3 +/* 80047878 000447D8 90 01 00 08 */ stw r0, 8(r1) +/* 8004787C 000447DC 38 03 00 04 */ addi r0, r3, 4 +/* 80047880 000447E0 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80047884 000447E4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80047888 000447E8 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8004788C 000447EC 38 84 00 3C */ addi r4, r4, 0x3c +/* 80047890 000447F0 48 2C B2 59 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80047894 000447F4 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80047898 000447F8 7E A4 AB 78 */ mr r4, r21 +/* 8004789C 000447FC C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 800478A0 00044800 38 61 00 54 */ addi r3, r1, 0x54 +/* 800478A4 00044804 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 800478A8 00044808 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800478AC 0004480C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800478B0 00044810 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800478B4 00044814 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800478B8 00044818 48 2C E6 C1 */ bl SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f +/* 800478BC 0004481C 34 01 00 60 */ addic. r0, r1, 0x60 +/* 800478C0 00044820 80 E1 00 54 */ lwz r7, 0x54(r1) +/* 800478C4 00044824 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 800478C8 00044828 38 00 00 00 */ li r0, 0 +/* 800478CC 0004482C 88 81 00 60 */ lbz r4, 0x60(r1) +/* 800478D0 00044830 3A E1 00 74 */ addi r23, r1, 0x74 +/* 800478D4 00044834 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 800478D8 00044838 80 61 00 64 */ lwz r3, 0x64(r1) +/* 800478DC 0004483C 90 E1 00 68 */ stw r7, 0x68(r1) +/* 800478E0 00044840 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 800478E4 00044844 90 A1 00 70 */ stw r5, 0x70(r1) +/* 800478E8 00044848 98 81 00 74 */ stb r4, 0x74(r1) +/* 800478EC 0004484C 90 61 00 78 */ stw r3, 0x78(r1) +/* 800478F0 00044850 98 01 00 60 */ stb r0, 0x60(r1) +/* 800478F4 00044854 41 82 00 14 */ beq lbl_80047908 +/* 800478F8 00044858 28 00 00 00 */ cmplwi r0, 0 +/* 800478FC 0004485C 41 82 00 0C */ beq lbl_80047908 +/* 80047900 00044860 80 61 00 64 */ lwz r3, 0x64(r1) +/* 80047904 00044864 48 2C E0 2D */ bl Free__7CMemoryFPCv +lbl_80047908: +/* 80047908 00044868 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8004790C 0004486C 2C 00 00 01 */ cmpwi r0, 1 +/* 80047910 00044870 40 82 00 54 */ bne lbl_80047964 +/* 80047914 00044874 90 1E 00 00 */ stw r0, 0(r30) +/* 80047918 00044878 38 1E 00 0C */ addi r0, r30, 0xc +/* 8004791C 0004487C 7C 17 00 40 */ cmplw r23, r0 +/* 80047920 00044880 3B E0 00 03 */ li r31, 3 +/* 80047924 00044884 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80047928 00044888 90 1E 00 04 */ stw r0, 4(r30) +/* 8004792C 0004488C 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80047930 00044890 90 1E 00 08 */ stw r0, 8(r30) +/* 80047934 00044894 41 82 00 30 */ beq lbl_80047964 +/* 80047938 00044898 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 8004793C 0004489C 28 00 00 00 */ cmplwi r0, 0 +/* 80047940 000448A0 41 82 00 0C */ beq lbl_8004794C +/* 80047944 000448A4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80047948 000448A8 48 2C DF E9 */ bl Free__7CMemoryFPCv +lbl_8004794C: +/* 8004794C 000448AC 88 61 00 74 */ lbz r3, 0x74(r1) +/* 80047950 000448B0 38 00 00 00 */ li r0, 0 +/* 80047954 000448B4 98 7E 00 0C */ stb r3, 0xc(r30) +/* 80047958 000448B8 80 61 00 78 */ lwz r3, 0x78(r1) +/* 8004795C 000448BC 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80047960 000448C0 98 01 00 74 */ stb r0, 0x74(r1) +lbl_80047964: +/* 80047964 000448C4 28 17 00 00 */ cmplwi r23, 0 +/* 80047968 000448C8 41 82 00 18 */ beq lbl_80047980 +/* 8004796C 000448CC 88 01 00 74 */ lbz r0, 0x74(r1) +/* 80047970 000448D0 28 00 00 00 */ cmplwi r0, 0 +/* 80047974 000448D4 41 82 00 0C */ beq lbl_80047980 +/* 80047978 000448D8 80 61 00 78 */ lwz r3, 0x78(r1) +/* 8004797C 000448DC 48 2C DF B5 */ bl Free__7CMemoryFPCv +lbl_80047980: +/* 80047980 000448E0 20 1F 00 03 */ subfic r0, r31, 3 +/* 80047984 000448E4 7C 00 00 34 */ cntlzw r0, r0 +/* 80047988 000448E8 54 03 D9 7E */ srwi r3, r0, 5 +lbl_8004798C: +/* 8004798C 000448EC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80047990 000448F0 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80047994 000448F4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 80047998 000448F8 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8004799C 000448FC E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 800479A0 00044900 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 800479A4 00044904 BA A1 00 84 */ lmw r21, 0x84(r1) +/* 800479A8 00044908 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800479AC 0004490C 7C 08 03 A6 */ mtlr r0 +/* 800479B0 00044910 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800479B4 00044914 4E 80 00 20 */ blr + +.global RendererDrawCallback__13CStateManagerFPCvPCvi +RendererDrawCallback__13CStateManagerFPCvPCvi: +/* 800479B8 00044918 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800479BC 0004491C 7C 08 02 A6 */ mflr r0 +/* 800479C0 00044920 2C 05 00 01 */ cmpwi r5, 1 +/* 800479C4 00044924 90 01 00 24 */ stw r0, 0x24(r1) +/* 800479C8 00044928 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800479CC 0004492C 7C 9F 23 78 */ mr r31, r4 +/* 800479D0 00044930 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800479D4 00044934 41 82 00 80 */ beq lbl_80047A54 +/* 800479D8 00044938 40 80 00 10 */ bge lbl_800479E8 +/* 800479DC 0004493C 2C 05 00 00 */ cmpwi r5, 0 +/* 800479E0 00044940 40 80 00 14 */ bge lbl_800479F4 +/* 800479E4 00044944 48 00 00 80 */ b lbl_80047A64 +lbl_800479E8: +/* 800479E8 00044948 2C 05 00 03 */ cmpwi r5, 3 +/* 800479EC 0004494C 40 80 00 78 */ bge lbl_80047A64 +/* 800479F0 00044950 48 00 00 70 */ b lbl_80047A60 +lbl_800479F4: +/* 800479F4 00044954 7C 7E 1B 78 */ mr r30, r3 +/* 800479F8 00044958 80 7F 08 DC */ lwz r3, 0x8dc(r31) +/* 800479FC 0004495C 80 1E 00 C8 */ lwz r0, 0xc8(r30) +/* 80047A00 00044960 7C 03 00 40 */ cmplw r3, r0 +/* 80047A04 00044964 41 82 00 60 */ beq lbl_80047A64 +/* 80047A08 00044968 A0 9E 00 C6 */ lhz r4, 0xc6(r30) +/* 80047A0C 0004496C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80047A10 00044970 54 83 04 3E */ clrlwi r3, r4, 0x10 +/* 80047A14 00044974 B0 81 00 0C */ sth r4, 0xc(r1) +/* 80047A18 00044978 7C 03 00 40 */ cmplw r3, r0 +/* 80047A1C 0004497C 41 82 00 14 */ beq lbl_80047A30 +/* 80047A20 00044980 B0 81 00 08 */ sth r4, 8(r1) +/* 80047A24 00044984 7F E3 FB 78 */ mr r3, r31 +/* 80047A28 00044988 38 81 00 08 */ addi r4, r1, 8 +/* 80047A2C 0004498C 48 00 00 51 */ bl RecursiveDrawTree__13CStateManagerCF9TUniqueId +lbl_80047A30: +/* 80047A30 00044990 7F C3 F3 78 */ mr r3, r30 +/* 80047A34 00044994 7F E4 FB 78 */ mr r4, r31 +/* 80047A38 00044998 81 9E 00 00 */ lwz r12, 0(r30) +/* 80047A3C 0004499C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80047A40 000449A0 7D 89 03 A6 */ mtctr r12 +/* 80047A44 000449A4 4E 80 04 21 */ bctrl +/* 80047A48 000449A8 80 1F 08 DC */ lwz r0, 0x8dc(r31) +/* 80047A4C 000449AC 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 80047A50 000449B0 48 00 00 14 */ b lbl_80047A64 +lbl_80047A54: +/* 80047A54 000449B4 80 9F 08 F8 */ lwz r4, 0x8f8(r31) +/* 80047A58 000449B8 48 0B E2 BD */ bl Render__13CSimpleShadowCFPC8CTexture +/* 80047A5C 000449BC 48 00 00 08 */ b lbl_80047A64 +lbl_80047A60: +/* 80047A60 000449C0 48 26 CE 2D */ bl Render__6CDecalCFv +lbl_80047A64: +/* 80047A64 000449C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80047A68 000449C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80047A6C 000449CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80047A70 000449D0 7C 08 03 A6 */ mtlr r0 +/* 80047A74 000449D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80047A78 000449D8 4E 80 00 20 */ blr + +.global RecursiveDrawTree__13CStateManagerCF9TUniqueId +RecursiveDrawTree__13CStateManagerCF9TUniqueId: +/* 80047A7C 000449DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80047A80 000449E0 7C 08 02 A6 */ mflr r0 +/* 80047A84 000449E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80047A88 000449E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80047A8C 000449EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80047A90 000449F0 7C 7E 1B 78 */ mr r30, r3 +/* 80047A94 000449F4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80047A98 000449F8 38 81 00 0C */ addi r4, r1, 0xc +/* 80047A9C 000449FC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80047AA0 00044A00 48 00 4B 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80047AA4 00044A04 7C 64 1B 78 */ mr r4, r3 +/* 80047AA8 00044A08 38 61 00 14 */ addi r3, r1, 0x14 +/* 80047AAC 00044A0C 48 06 81 E5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80047AB0 00044A10 83 E3 00 04 */ lwz r31, 4(r3) +/* 80047AB4 00044A14 28 1F 00 00 */ cmplwi r31, 0 +/* 80047AB8 00044A18 41 82 00 6C */ beq lbl_80047B24 +/* 80047ABC 00044A1C 80 7E 08 DC */ lwz r3, 0x8dc(r30) +/* 80047AC0 00044A20 80 1F 00 C8 */ lwz r0, 0xc8(r31) +/* 80047AC4 00044A24 7C 03 00 40 */ cmplw r3, r0 +/* 80047AC8 00044A28 41 82 00 5C */ beq lbl_80047B24 +/* 80047ACC 00044A2C A0 9F 00 C6 */ lhz r4, 0xc6(r31) +/* 80047AD0 00044A30 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80047AD4 00044A34 54 83 04 3E */ clrlwi r3, r4, 0x10 +/* 80047AD8 00044A38 B0 81 00 10 */ sth r4, 0x10(r1) +/* 80047ADC 00044A3C 7C 03 00 40 */ cmplw r3, r0 +/* 80047AE0 00044A40 41 82 00 14 */ beq lbl_80047AF4 +/* 80047AE4 00044A44 B0 81 00 08 */ sth r4, 8(r1) +/* 80047AE8 00044A48 7F C3 F3 78 */ mr r3, r30 +/* 80047AEC 00044A4C 38 81 00 08 */ addi r4, r1, 8 +/* 80047AF0 00044A50 4B FF FF 8D */ bl RecursiveDrawTree__13CStateManagerCF9TUniqueId +lbl_80047AF4: +/* 80047AF4 00044A54 80 7E 08 DC */ lwz r3, 0x8dc(r30) +/* 80047AF8 00044A58 80 1F 00 CC */ lwz r0, 0xcc(r31) +/* 80047AFC 00044A5C 7C 03 00 40 */ cmplw r3, r0 +/* 80047B00 00044A60 40 82 00 1C */ bne lbl_80047B1C +/* 80047B04 00044A64 7F E3 FB 78 */ mr r3, r31 +/* 80047B08 00044A68 7F C4 F3 78 */ mr r4, r30 +/* 80047B0C 00044A6C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80047B10 00044A70 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80047B14 00044A74 7D 89 03 A6 */ mtctr r12 +/* 80047B18 00044A78 4E 80 04 21 */ bctrl +lbl_80047B1C: +/* 80047B1C 00044A7C 80 1E 08 DC */ lwz r0, 0x8dc(r30) +/* 80047B20 00044A80 90 1F 00 C8 */ stw r0, 0xc8(r31) +lbl_80047B24: +/* 80047B24 00044A84 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80047B28 00044A88 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80047B2C 00044A8C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80047B30 00044A90 7C 08 03 A6 */ mtlr r0 +/* 80047B34 00044A94 38 21 00 30 */ addi r1, r1, 0x30 +/* 80047B38 00044A98 4E 80 00 20 */ blr + +.global SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState +SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState: +/* 80047B3C 00044A9C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80047B40 00044AA0 7C 08 02 A6 */ mflr r0 +/* 80047B44 00044AA4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80047B48 00044AA8 BF 01 00 30 */ stmw r24, 0x30(r1) +/* 80047B4C 00044AAC 7C 9A 23 78 */ mr r26, r4 +/* 80047B50 00044AB0 7C 79 1B 78 */ mr r25, r3 +/* 80047B54 00044AB4 7C B8 2B 78 */ mr r24, r5 +/* 80047B58 00044AB8 7C DB 33 78 */ mr r27, r6 +/* 80047B5C 00044ABC A0 04 00 00 */ lhz r0, 0(r4) +/* 80047B60 00044AC0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80047B64 00044AC4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80047B68 00044AC8 48 00 4A 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80047B6C 00044ACC 83 F9 08 10 */ lwz r31, 0x810(r25) +/* 80047B70 00044AD0 7F 24 CB 78 */ mr r4, r25 +/* 80047B74 00044AD4 80 18 00 00 */ lwz r0, 0(r24) +/* 80047B78 00044AD8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80047B7C 00044ADC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80047B80 00044AE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80047B84 00044AE4 48 00 04 45 */ bl GetIdListForScript__13CStateManagerCF9TEditorId +/* 80047B88 00044AE8 83 01 00 18 */ lwz r24, 0x18(r1) +/* 80047B8C 00044AEC 38 00 00 00 */ li r0, 0 +/* 80047B90 00044AF0 83 A1 00 20 */ lwz r29, 0x20(r1) +/* 80047B94 00044AF4 83 C1 00 1C */ lwz r30, 0x1c(r1) +/* 80047B98 00044AF8 7C 18 E8 40 */ cmplw r24, r29 +/* 80047B9C 00044AFC 83 81 00 24 */ lwz r28, 0x24(r1) +/* 80047BA0 00044B00 40 82 00 10 */ bne lbl_80047BB0 +/* 80047BA4 00044B04 7C 1E E0 40 */ cmplw r30, r28 +/* 80047BA8 00044B08 40 82 00 08 */ bne lbl_80047BB0 +/* 80047BAC 00044B0C 38 00 00 01 */ li r0, 1 +lbl_80047BB0: +/* 80047BB0 00044B10 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80047BB4 00044B14 40 82 00 68 */ bne lbl_80047C1C +/* 80047BB8 00044B18 48 00 00 44 */ b lbl_80047BFC +lbl_80047BBC: +/* 80047BBC 00044B1C A0 18 00 14 */ lhz r0, 0x14(r24) +/* 80047BC0 00044B20 7F E3 FB 78 */ mr r3, r31 +/* 80047BC4 00044B24 38 81 00 0C */ addi r4, r1, 0xc +/* 80047BC8 00044B28 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80047BCC 00044B2C 4B FC 82 7D */ bl GetObjectById__11CObjectListF9TUniqueId +/* 80047BD0 00044B30 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80047BD4 00044B34 7C 64 1B 78 */ mr r4, r3 +/* 80047BD8 00044B38 7F 23 CB 78 */ mr r3, r25 +/* 80047BDC 00044B3C 7F 66 DB 78 */ mr r6, r27 +/* 80047BE0 00044B40 B0 01 00 08 */ sth r0, 8(r1) +/* 80047BE4 00044B44 38 A1 00 08 */ addi r5, r1, 8 +/* 80047BE8 00044B48 4B FF C2 E9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80047BEC 00044B4C 7F C3 F3 78 */ mr r3, r30 +/* 80047BF0 00044B50 7F 04 C3 78 */ mr r4, r24 +/* 80047BF4 00044B54 48 2F 49 ED */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 80047BF8 00044B58 7C 78 1B 78 */ mr r24, r3 +lbl_80047BFC: +/* 80047BFC 00044B5C 7C 18 E8 40 */ cmplw r24, r29 +/* 80047C00 00044B60 38 00 00 00 */ li r0, 0 +/* 80047C04 00044B64 40 82 00 0C */ bne lbl_80047C10 +/* 80047C08 00044B68 7C 1E E0 40 */ cmplw r30, r28 +/* 80047C0C 00044B6C 41 82 00 08 */ beq lbl_80047C14 +lbl_80047C10: +/* 80047C10 00044B70 38 00 00 01 */ li r0, 1 +lbl_80047C14: +/* 80047C14 00044B74 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80047C18 00044B78 40 82 FF A4 */ bne lbl_80047BBC +lbl_80047C1C: +/* 80047C1C 00044B7C BB 01 00 30 */ lmw r24, 0x30(r1) +/* 80047C20 00044B80 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80047C24 00044B84 7C 08 03 A6 */ mtlr r0 +/* 80047C28 00044B88 38 21 00 50 */ addi r1, r1, 0x50 +/* 80047C2C 00044B8C 4E 80 00 20 */ blr + +.global FreeScriptObjects__13CStateManagerF7TAreaId +FreeScriptObjects__13CStateManagerF7TAreaId: +/* 80047C30 00044B90 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80047C34 00044B94 7C 08 02 A6 */ mflr r0 +/* 80047C38 00044B98 90 01 00 54 */ stw r0, 0x54(r1) +/* 80047C3C 00044B9C BF 41 00 38 */ stmw r26, 0x38(r1) +/* 80047C40 00044BA0 7C 7E 1B 78 */ mr r30, r3 +/* 80047C44 00044BA4 3B 7E 08 98 */ addi r27, r30, 0x898 +/* 80047C48 00044BA8 7C 9F 23 78 */ mr r31, r4 +/* 80047C4C 00044BAC 93 61 00 2C */ stw r27, 0x2c(r1) +/* 80047C50 00044BB0 83 A3 08 98 */ lwz r29, 0x898(r3) +/* 80047C54 00044BB4 48 00 00 40 */ b lbl_80047C94 +lbl_80047C58: +/* 80047C58 00044BB8 7F BC EB 78 */ mr r28, r29 +/* 80047C5C 00044BBC 7F 63 DB 78 */ mr r3, r27 +/* 80047C60 00044BC0 7F A4 EB 78 */ mr r4, r29 +/* 80047C64 00044BC4 48 2F 49 7D */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 80047C68 00044BC8 80 9C 00 10 */ lwz r4, 0x10(r28) +/* 80047C6C 00044BCC 7C 7D 1B 78 */ mr r29, r3 +/* 80047C70 00044BD0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80047C74 00044BD4 54 83 85 BE */ rlwinm r3, r4, 0x10, 0x16, 0x1f +/* 80047C78 00044BD8 7C 03 00 00 */ cmpw r3, r0 +/* 80047C7C 00044BDC 40 82 00 18 */ bne lbl_80047C94 +/* 80047C80 00044BE0 A0 1C 00 14 */ lhz r0, 0x14(r28) +/* 80047C84 00044BE4 7F C3 F3 78 */ mr r3, r30 +/* 80047C88 00044BE8 38 81 00 10 */ addi r4, r1, 0x10 +/* 80047C8C 00044BEC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80047C90 00044BF0 48 00 45 DD */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_80047C94: +/* 80047C94 00044BF4 38 00 00 00 */ li r0, 0 +/* 80047C98 00044BF8 7C 1D 00 40 */ cmplw r29, r0 +/* 80047C9C 00044BFC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80047CA0 00044C00 40 82 00 0C */ bne lbl_80047CAC +/* 80047CA4 00044C04 7C 1B D8 40 */ cmplw r27, r27 +/* 80047CA8 00044C08 41 82 00 08 */ beq lbl_80047CB0 +lbl_80047CAC: +/* 80047CAC 00044C0C 38 00 00 01 */ li r0, 1 +lbl_80047CB0: +/* 80047CB0 00044C10 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80047CB4 00044C14 40 82 FF A4 */ bne lbl_80047C58 +/* 80047CB8 00044C18 3B 5E 08 AC */ addi r26, r30, 0x8ac +/* 80047CBC 00044C1C 83 9E 08 AC */ lwz r28, 0x8ac(r30) +/* 80047CC0 00044C20 93 41 00 34 */ stw r26, 0x34(r1) +/* 80047CC4 00044C24 7F 5B D3 78 */ mr r27, r26 +/* 80047CC8 00044C28 93 41 00 1C */ stw r26, 0x1c(r1) +/* 80047CCC 00044C2C 48 00 00 6C */ b lbl_80047D38 +lbl_80047CD0: +/* 80047CD0 00044C30 7F 9D E3 78 */ mr r29, r28 +/* 80047CD4 00044C34 7F 43 D3 78 */ mr r3, r26 +/* 80047CD8 00044C38 7F 84 E3 78 */ mr r4, r28 +/* 80047CDC 00044C3C 48 2F 49 05 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 80047CE0 00044C40 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 80047CE4 00044C44 7C 7C 1B 78 */ mr r28, r3 +/* 80047CE8 00044C48 80 1F 00 00 */ lwz r0, 0(r31) +/* 80047CEC 00044C4C 54 83 85 BE */ rlwinm r3, r4, 0x10, 0x16, 0x1f +/* 80047CF0 00044C50 93 A1 00 30 */ stw r29, 0x30(r1) +/* 80047CF4 00044C54 7C 03 00 00 */ cmpw r3, r0 +/* 80047CF8 00044C58 40 82 00 40 */ bne lbl_80047D38 +/* 80047CFC 00044C5C 93 A1 00 20 */ stw r29, 0x20(r1) +/* 80047D00 00044C60 7F 43 D3 78 */ mr r3, r26 +/* 80047D04 00044C64 7F A4 EB 78 */ mr r4, r29 +/* 80047D08 00044C68 93 41 00 24 */ stw r26, 0x24(r1) +/* 80047D0C 00044C6C 48 2F 48 D5 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 80047D10 00044C70 90 61 00 20 */ stw r3, 0x20(r1) +/* 80047D14 00044C74 7F 63 DB 78 */ mr r3, r27 +/* 80047D18 00044C78 7F A4 EB 78 */ mr r4, r29 +/* 80047D1C 00044C7C 48 2F 49 61 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 80047D20 00044C80 28 03 00 00 */ cmplwi r3, 0 +/* 80047D24 00044C84 41 82 00 08 */ beq lbl_80047D2C +/* 80047D28 00044C88 48 2C DC 09 */ bl Free__7CMemoryFPCv +lbl_80047D2C: +/* 80047D2C 00044C8C 80 7E 08 A8 */ lwz r3, 0x8a8(r30) +/* 80047D30 00044C90 38 03 FF FF */ addi r0, r3, -1 +/* 80047D34 00044C94 90 1E 08 A8 */ stw r0, 0x8a8(r30) +lbl_80047D38: +/* 80047D38 00044C98 38 00 00 00 */ li r0, 0 +/* 80047D3C 00044C9C 7C 1C 00 40 */ cmplw r28, r0 +/* 80047D40 00044CA0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80047D44 00044CA4 40 82 00 0C */ bne lbl_80047D50 +/* 80047D48 00044CA8 7C 1A D8 40 */ cmplw r26, r27 +/* 80047D4C 00044CAC 41 82 00 08 */ beq lbl_80047D54 +lbl_80047D50: +/* 80047D50 00044CB0 38 00 00 01 */ li r0, 1 +lbl_80047D54: +/* 80047D54 00044CB4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80047D58 00044CB8 40 82 FF 78 */ bne lbl_80047CD0 +/* 80047D5C 00044CBC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80047D60 00044CC0 80 9E 08 50 */ lwz r4, 0x850(r30) +/* 80047D64 00044CC4 54 03 18 38 */ slwi r3, r0, 3 +/* 80047D68 00044CC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80047D6C 00044CCC 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80047D70 00044CD0 38 03 00 04 */ addi r0, r3, 4 +/* 80047D74 00044CD4 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80047D78 00044CD8 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80047D7C 00044CDC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80047D80 00044CE0 41 82 00 70 */ beq lbl_80047DF0 +/* 80047D84 00044CE4 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80047D88 00044CE8 83 E3 10 C0 */ lwz r31, 0x10c0(r3) +/* 80047D8C 00044CEC AB 5F 20 08 */ lha r26, 0x2008(r31) +/* 80047D90 00044CF0 48 00 00 58 */ b lbl_80047DE8 +lbl_80047D94: +/* 80047D94 00044CF4 7F E3 FB 78 */ mr r3, r31 +/* 80047D98 00044CF8 7F 44 D3 78 */ mr r4, r26 +/* 80047D9C 00044CFC 4B FC 7F 79 */ bl __vc__11CObjectListFi +/* 80047DA0 00044D00 28 03 00 00 */ cmplwi r3, 0 +/* 80047DA4 00044D04 41 82 00 28 */ beq lbl_80047DCC +/* 80047DA8 00044D08 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80047DAC 00044D0C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80047DB0 00044D10 40 82 00 1C */ bne lbl_80047DCC +/* 80047DB4 00044D14 A0 03 00 08 */ lhz r0, 8(r3) +/* 80047DB8 00044D18 7F C3 F3 78 */ mr r3, r30 +/* 80047DBC 00044D1C 38 81 00 0C */ addi r4, r1, 0xc +/* 80047DC0 00044D20 B0 01 00 08 */ sth r0, 8(r1) +/* 80047DC4 00044D24 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80047DC8 00044D28 48 00 44 A5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_80047DCC: +/* 80047DCC 00044D2C 2C 1A FF FF */ cmpwi r26, -1 +/* 80047DD0 00044D30 41 82 00 14 */ beq lbl_80047DE4 +/* 80047DD4 00044D34 57 43 18 38 */ slwi r3, r26, 3 +/* 80047DD8 00044D38 38 03 00 08 */ addi r0, r3, 8 +/* 80047DDC 00044D3C 7F 5F 02 AE */ lhax r26, r31, r0 +/* 80047DE0 00044D40 48 00 00 08 */ b lbl_80047DE8 +lbl_80047DE4: +/* 80047DE4 00044D44 3B 40 FF FF */ li r26, -1 +lbl_80047DE8: +/* 80047DE8 00044D48 2C 1A FF FF */ cmpwi r26, -1 +/* 80047DEC 00044D4C 40 82 FF A8 */ bne lbl_80047D94 +lbl_80047DF0: +/* 80047DF0 00044D50 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 80047DF4 00044D54 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80047DF8 00044D58 7C 08 03 A6 */ mtlr r0 +/* 80047DFC 00044D5C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80047E00 00044D60 4E 80 00 20 */ blr + +.global GetBuildForScript__13CStateManagerCF9TEditorId +GetBuildForScript__13CStateManagerCF9TEditorId: +/* 80047E04 00044D64 80 E4 08 B4 */ lwz r7, 0x8b4(r4) +/* 80047E08 00044D68 39 00 00 00 */ li r8, 0 +/* 80047E0C 00044D6C 48 00 00 2C */ b lbl_80047E38 +lbl_80047E10: +/* 80047E10 00044D70 80 C7 00 10 */ lwz r6, 0x10(r7) +/* 80047E14 00044D74 80 05 00 00 */ lwz r0, 0(r5) +/* 80047E18 00044D78 54 C6 01 BE */ clrlwi r6, r6, 6 +/* 80047E1C 00044D7C 54 00 01 BE */ clrlwi r0, r0, 6 +/* 80047E20 00044D80 7C 06 00 40 */ cmplw r6, r0 +/* 80047E24 00044D84 41 80 00 10 */ blt lbl_80047E34 +/* 80047E28 00044D88 7C E8 3B 78 */ mr r8, r7 +/* 80047E2C 00044D8C 80 E7 00 00 */ lwz r7, 0(r7) +/* 80047E30 00044D90 48 00 00 08 */ b lbl_80047E38 +lbl_80047E34: +/* 80047E34 00044D94 80 E7 00 04 */ lwz r7, 4(r7) +lbl_80047E38: +/* 80047E38 00044D98 28 07 00 00 */ cmplwi r7, 0 +/* 80047E3C 00044D9C 40 82 FF D4 */ bne lbl_80047E10 +/* 80047E40 00044DA0 28 08 00 00 */ cmplwi r8, 0 +/* 80047E44 00044DA4 38 C0 00 00 */ li r6, 0 +/* 80047E48 00044DA8 41 82 00 1C */ beq lbl_80047E64 +/* 80047E4C 00044DAC 80 A5 00 00 */ lwz r5, 0(r5) +/* 80047E50 00044DB0 80 08 00 10 */ lwz r0, 0x10(r8) +/* 80047E54 00044DB4 54 A5 01 BE */ clrlwi r5, r5, 6 +/* 80047E58 00044DB8 54 00 01 BE */ clrlwi r0, r0, 6 +/* 80047E5C 00044DBC 7C 05 00 40 */ cmplw r5, r0 +/* 80047E60 00044DC0 40 80 00 08 */ bge lbl_80047E68 +lbl_80047E64: +/* 80047E64 00044DC4 38 C0 00 01 */ li r6, 1 +lbl_80047E68: +/* 80047E68 00044DC8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80047E6C 00044DCC 41 82 00 08 */ beq lbl_80047E74 +/* 80047E70 00044DD0 39 00 00 00 */ li r8, 0 +lbl_80047E74: +/* 80047E74 00044DD4 28 08 00 00 */ cmplwi r8, 0 +/* 80047E78 00044DD8 38 84 08 AC */ addi r4, r4, 0x8ac +/* 80047E7C 00044DDC 38 00 00 00 */ li r0, 0 +/* 80047E80 00044DE0 40 82 00 0C */ bne lbl_80047E8C +/* 80047E84 00044DE4 7C 04 20 40 */ cmplw r4, r4 +/* 80047E88 00044DE8 41 82 00 08 */ beq lbl_80047E90 +lbl_80047E8C: +/* 80047E8C 00044DEC 38 00 00 01 */ li r0, 1 +lbl_80047E90: +/* 80047E90 00044DF0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80047E94 00044DF4 41 82 00 18 */ beq lbl_80047EAC +/* 80047E98 00044DF8 38 08 00 14 */ addi r0, r8, 0x14 +/* 80047E9C 00044DFC 90 03 00 00 */ stw r0, 0(r3) +/* 80047EA0 00044E00 80 08 00 10 */ lwz r0, 0x10(r8) +/* 80047EA4 00044E04 90 03 00 04 */ stw r0, 4(r3) +/* 80047EA8 00044E08 4E 80 00 20 */ blr +lbl_80047EAC: +/* 80047EAC 00044E0C 38 00 00 00 */ li r0, 0 +/* 80047EB0 00044E10 90 03 00 00 */ stw r0, 0(r3) +/* 80047EB4 00044E14 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80047EB8 00044E18 90 03 00 04 */ stw r0, 4(r3) +/* 80047EBC 00044E1C 4E 80 00 20 */ blr + +.global GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId +GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId: +/* 80047EC0 00044E20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80047EC4 00044E24 7C 08 02 A6 */ mflr r0 +/* 80047EC8 00044E28 90 01 00 24 */ stw r0, 0x24(r1) +/* 80047ECC 00044E2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80047ED0 00044E30 7C 7F 1B 78 */ mr r31, r3 +/* 80047ED4 00044E34 A0 05 00 00 */ lhz r0, 0(r5) +/* 80047ED8 00044E38 7C 85 23 78 */ mr r5, r4 +/* 80047EDC 00044E3C 38 81 00 08 */ addi r4, r1, 8 +/* 80047EE0 00044E40 B0 01 00 08 */ sth r0, 8(r1) +/* 80047EE4 00044E44 7C A3 2B 78 */ mr r3, r5 +/* 80047EE8 00044E48 48 00 46 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80047EEC 00044E4C 28 03 00 00 */ cmplwi r3, 0 +/* 80047EF0 00044E50 41 82 00 10 */ beq lbl_80047F00 +/* 80047EF4 00044E54 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80047EF8 00044E58 90 1F 00 00 */ stw r0, 0(r31) +/* 80047EFC 00044E5C 48 00 00 0C */ b lbl_80047F08 +lbl_80047F00: +/* 80047F00 00044E60 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80047F04 00044E64 90 1F 00 00 */ stw r0, 0(r31) +lbl_80047F08: +/* 80047F08 00044E68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80047F0C 00044E6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80047F10 00044E70 7C 08 03 A6 */ mtlr r0 +/* 80047F14 00044E74 38 21 00 20 */ addi r1, r1, 0x20 +/* 80047F18 00044E78 4E 80 00 20 */ blr + +.global GetIdForScript__13CStateManagerCF9TEditorId +GetIdForScript__13CStateManagerCF9TEditorId: +/* 80047F1C 00044E7C 80 E4 08 A0 */ lwz r7, 0x8a0(r4) +/* 80047F20 00044E80 39 00 00 00 */ li r8, 0 +/* 80047F24 00044E84 48 00 00 2C */ b lbl_80047F50 +lbl_80047F28: +/* 80047F28 00044E88 80 C7 00 10 */ lwz r6, 0x10(r7) +/* 80047F2C 00044E8C 80 05 00 00 */ lwz r0, 0(r5) +/* 80047F30 00044E90 54 C6 01 BE */ clrlwi r6, r6, 6 +/* 80047F34 00044E94 54 00 01 BE */ clrlwi r0, r0, 6 +/* 80047F38 00044E98 7C 06 00 40 */ cmplw r6, r0 +/* 80047F3C 00044E9C 41 80 00 10 */ blt lbl_80047F4C +/* 80047F40 00044EA0 7C E8 3B 78 */ mr r8, r7 +/* 80047F44 00044EA4 80 E7 00 00 */ lwz r7, 0(r7) +/* 80047F48 00044EA8 48 00 00 08 */ b lbl_80047F50 +lbl_80047F4C: +/* 80047F4C 00044EAC 80 E7 00 04 */ lwz r7, 4(r7) +lbl_80047F50: +/* 80047F50 00044EB0 28 07 00 00 */ cmplwi r7, 0 +/* 80047F54 00044EB4 40 82 FF D4 */ bne lbl_80047F28 +/* 80047F58 00044EB8 28 08 00 00 */ cmplwi r8, 0 +/* 80047F5C 00044EBC 38 C0 00 00 */ li r6, 0 +/* 80047F60 00044EC0 41 82 00 1C */ beq lbl_80047F7C +/* 80047F64 00044EC4 80 A5 00 00 */ lwz r5, 0(r5) +/* 80047F68 00044EC8 80 08 00 10 */ lwz r0, 0x10(r8) +/* 80047F6C 00044ECC 54 A5 01 BE */ clrlwi r5, r5, 6 +/* 80047F70 00044ED0 54 00 01 BE */ clrlwi r0, r0, 6 +/* 80047F74 00044ED4 7C 05 00 40 */ cmplw r5, r0 +/* 80047F78 00044ED8 40 80 00 08 */ bge lbl_80047F80 +lbl_80047F7C: +/* 80047F7C 00044EDC 38 C0 00 01 */ li r6, 1 +lbl_80047F80: +/* 80047F80 00044EE0 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80047F84 00044EE4 41 82 00 08 */ beq lbl_80047F8C +/* 80047F88 00044EE8 39 00 00 00 */ li r8, 0 +lbl_80047F8C: +/* 80047F8C 00044EEC 28 08 00 00 */ cmplwi r8, 0 +/* 80047F90 00044EF0 38 84 08 98 */ addi r4, r4, 0x898 +/* 80047F94 00044EF4 38 00 00 00 */ li r0, 0 +/* 80047F98 00044EF8 40 82 00 0C */ bne lbl_80047FA4 +/* 80047F9C 00044EFC 7C 04 20 40 */ cmplw r4, r4 +/* 80047FA0 00044F00 41 82 00 08 */ beq lbl_80047FA8 +lbl_80047FA4: +/* 80047FA4 00044F04 38 00 00 01 */ li r0, 1 +lbl_80047FA8: +/* 80047FA8 00044F08 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80047FAC 00044F0C 41 82 00 10 */ beq lbl_80047FBC +/* 80047FB0 00044F10 A0 08 00 14 */ lhz r0, 0x14(r8) +/* 80047FB4 00044F14 B0 03 00 00 */ sth r0, 0(r3) +/* 80047FB8 00044F18 4E 80 00 20 */ blr +lbl_80047FBC: +/* 80047FBC 00044F1C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80047FC0 00044F20 B0 03 00 00 */ sth r0, 0(r3) +/* 80047FC4 00044F24 4E 80 00 20 */ blr + +.global GetIdListForScript__13CStateManagerCF9TEditorId +GetIdListForScript__13CStateManagerCF9TEditorId: +/* 80047FC8 00044F28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80047FCC 00044F2C 7C 08 02 A6 */ mflr r0 +/* 80047FD0 00044F30 38 84 08 90 */ addi r4, r4, 0x890 +/* 80047FD4 00044F34 90 01 00 24 */ stw r0, 0x24(r1) +/* 80047FD8 00044F38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80047FDC 00044F3C 7C 7F 1B 78 */ mr r31, r3 +/* 80047FE0 00044F40 38 61 00 08 */ addi r3, r1, 8 +/* 80047FE4 00044F44 48 00 00 39 */ bl sub_8004801c +/* 80047FE8 00044F48 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80047FEC 00044F4C 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80047FF0 00044F50 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80047FF4 00044F54 80 01 00 08 */ lwz r0, 8(r1) +/* 80047FF8 00044F58 90 1F 00 00 */ stw r0, 0(r31) +/* 80047FFC 00044F5C 90 7F 00 04 */ stw r3, 4(r31) +/* 80048000 00044F60 90 9F 00 08 */ stw r4, 8(r31) +/* 80048004 00044F64 90 BF 00 0C */ stw r5, 0xc(r31) +/* 80048008 00044F68 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004800C 00044F6C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80048010 00044F70 7C 08 03 A6 */ mtlr r0 +/* 80048014 00044F74 38 21 00 20 */ addi r1, r1, 0x20 +/* 80048018 00044F78 4E 80 00 20 */ blr + +.global sub_8004801c +sub_8004801c: +/* 8004801C 00044F7C 81 44 00 10 */ lwz r10, 0x10(r4) +/* 80048020 00044F80 38 E0 00 00 */ li r7, 0 +/* 80048024 00044F84 7D 48 53 78 */ mr r8, r10 +/* 80048028 00044F88 48 00 00 2C */ b lbl_80048054 +lbl_8004802C: +/* 8004802C 00044F8C 80 C5 00 00 */ lwz r6, 0(r5) +/* 80048030 00044F90 80 08 00 10 */ lwz r0, 0x10(r8) +/* 80048034 00044F94 54 C6 01 BE */ clrlwi r6, r6, 6 +/* 80048038 00044F98 54 00 01 BE */ clrlwi r0, r0, 6 +/* 8004803C 00044F9C 7C 06 00 40 */ cmplw r6, r0 +/* 80048040 00044FA0 40 80 00 10 */ bge lbl_80048050 +/* 80048044 00044FA4 7D 07 43 78 */ mr r7, r8 +/* 80048048 00044FA8 81 08 00 00 */ lwz r8, 0(r8) +/* 8004804C 00044FAC 48 00 00 08 */ b lbl_80048054 +lbl_80048050: +/* 80048050 00044FB0 81 08 00 04 */ lwz r8, 4(r8) +lbl_80048054: +/* 80048054 00044FB4 28 08 00 00 */ cmplwi r8, 0 +/* 80048058 00044FB8 40 82 FF D4 */ bne lbl_8004802C +/* 8004805C 00044FBC 39 24 00 08 */ addi r9, r4, 8 +/* 80048060 00044FC0 39 00 00 00 */ li r8, 0 +/* 80048064 00044FC4 48 00 00 2C */ b lbl_80048090 +lbl_80048068: +/* 80048068 00044FC8 80 CA 00 10 */ lwz r6, 0x10(r10) +/* 8004806C 00044FCC 80 05 00 00 */ lwz r0, 0(r5) +/* 80048070 00044FD0 54 C6 01 BE */ clrlwi r6, r6, 6 +/* 80048074 00044FD4 54 00 01 BE */ clrlwi r0, r0, 6 +/* 80048078 00044FD8 7C 06 00 40 */ cmplw r6, r0 +/* 8004807C 00044FDC 41 80 00 10 */ blt lbl_8004808C +/* 80048080 00044FE0 7D 48 53 78 */ mr r8, r10 +/* 80048084 00044FE4 81 4A 00 00 */ lwz r10, 0(r10) +/* 80048088 00044FE8 48 00 00 08 */ b lbl_80048090 +lbl_8004808C: +/* 8004808C 00044FEC 81 4A 00 04 */ lwz r10, 4(r10) +lbl_80048090: +/* 80048090 00044FF0 28 0A 00 00 */ cmplwi r10, 0 +/* 80048094 00044FF4 40 82 FF D4 */ bne lbl_80048068 +/* 80048098 00044FF8 91 03 00 00 */ stw r8, 0(r3) +/* 8004809C 00044FFC 38 04 00 08 */ addi r0, r4, 8 +/* 800480A0 00045000 90 03 00 04 */ stw r0, 4(r3) +/* 800480A4 00045004 90 E3 00 08 */ stw r7, 8(r3) +/* 800480A8 00045008 91 23 00 0C */ stw r9, 0xc(r3) +/* 800480AC 0004500C 4E 80 00 20 */ blr + +.global "InitScriptObjects__13CStateManagerFRCQ24rstl18vector<9TEditorId>" +"InitScriptObjects__13CStateManagerFRCQ24rstl18vector<9TEditorId>": +/* 800480B0 00045010 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800480B4 00045014 7C 08 02 A6 */ mflr r0 +/* 800480B8 00045018 90 01 00 34 */ stw r0, 0x34(r1) +/* 800480BC 0004501C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800480C0 00045020 3B E0 00 00 */ li r31, 0 +/* 800480C4 00045024 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800480C8 00045028 3B C0 00 00 */ li r30, 0 +/* 800480CC 0004502C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800480D0 00045030 7C 9D 23 78 */ mr r29, r4 +/* 800480D4 00045034 93 81 00 20 */ stw r28, 0x20(r1) +/* 800480D8 00045038 7C 7C 1B 78 */ mr r28, r3 +/* 800480DC 0004503C 48 00 00 64 */ b lbl_80048140 +lbl_800480E0: +/* 800480E0 00045040 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 800480E4 00045044 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 800480E8 00045048 7C 66 F8 2E */ lwzx r3, r6, r31 +/* 800480EC 0004504C 54 00 01 BE */ clrlwi r0, r0, 6 +/* 800480F0 00045050 54 63 01 BE */ clrlwi r3, r3, 6 +/* 800480F4 00045054 7C 03 00 40 */ cmplw r3, r0 +/* 800480F8 00045058 41 82 00 40 */ beq lbl_80048138 +/* 800480FC 0004505C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80048100 00045060 7F 84 E3 78 */ mr r4, r28 +/* 80048104 00045064 38 61 00 0C */ addi r3, r1, 0xc +/* 80048108 00045068 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8004810C 0004506C B0 01 00 08 */ sth r0, 8(r1) +/* 80048110 00045070 7C 06 F8 2E */ lwzx r0, r6, r31 +/* 80048114 00045074 90 01 00 14 */ stw r0, 0x14(r1) +/* 80048118 00045078 4B FF FE 05 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8004811C 0004507C A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80048120 00045080 7F 83 E3 78 */ mr r3, r28 +/* 80048124 00045084 38 81 00 10 */ addi r4, r1, 0x10 +/* 80048128 00045088 38 A1 00 08 */ addi r5, r1, 8 +/* 8004812C 0004508C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80048130 00045090 38 C0 00 23 */ li r6, 0x23 +/* 80048134 00045094 4B FF BD 21 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId +lbl_80048138: +/* 80048138 00045098 3B FF 00 04 */ addi r31, r31, 4 +/* 8004813C 0004509C 3B DE 00 01 */ addi r30, r30, 1 +lbl_80048140: +/* 80048140 000450A0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80048144 000450A4 7C 1E 00 00 */ cmpw r30, r0 +/* 80048148 000450A8 41 80 FF 98 */ blt lbl_800480E0 +/* 8004814C 000450AC 7F 83 E3 78 */ mr r3, r28 +/* 80048150 000450B0 4B FF CF 6D */ bl MurderScriptInstanceNames__13CStateManagerFv +/* 80048154 000450B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80048158 000450B8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8004815C 000450BC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80048160 000450C0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80048164 000450C4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80048168 000450C8 7C 08 03 A6 */ mtlr r0 +/* 8004816C 000450CC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80048170 000450D0 4E 80 00 20 */ blr + +.global LoadScriptObjects__13CStateManagerF7TAreaIdR12CInputStreamQ213CStateManager18EScriptPersistence +LoadScriptObjects__13CStateManagerF7TAreaIdR12CInputStreamQ213CStateManager18EScriptPersistence: +/* 80048174 000450D4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80048178 000450D8 7C 08 02 A6 */ mflr r0 +/* 8004817C 000450DC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80048180 000450E0 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 80048184 000450E4 7C BD 2B 78 */ mr r29, r5 +/* 80048188 000450E8 7C 7B 1B 78 */ mr r27, r3 +/* 8004818C 000450EC 7C 9C 23 78 */ mr r28, r4 +/* 80048190 000450F0 7C DE 33 78 */ mr r30, r6 +/* 80048194 000450F4 7F A3 EB 78 */ mr r3, r29 +/* 80048198 000450F8 48 2F 6B 75 */ bl ReadChar__12CInputStreamFv +/* 8004819C 000450FC 7F A3 EB 78 */ mr r3, r29 +/* 800481A0 00045100 48 2F 6A E5 */ bl ReadLong__12CInputStreamFv +/* 800481A4 00045104 80 1E 00 04 */ lwz r0, 4(r30) +/* 800481A8 00045108 7C 64 1B 78 */ mr r4, r3 +/* 800481AC 0004510C 7C 9F 23 78 */ mr r31, r4 +/* 800481B0 00045110 7F C3 F3 78 */ mr r3, r30 +/* 800481B4 00045114 7C 84 02 14 */ add r4, r4, r0 +/* 800481B8 00045118 48 00 81 91 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 800481BC 0004511C 48 00 01 0C */ b lbl_800482C8 +lbl_800481C0: +/* 800481C0 00045120 7F A3 EB 78 */ mr r3, r29 +/* 800481C4 00045124 48 2F 6B 49 */ bl ReadChar__12CInputStreamFv +/* 800481C8 00045128 7C 7A 1B 78 */ mr r26, r3 +/* 800481CC 0004512C 7F A3 EB 78 */ mr r3, r29 +/* 800481D0 00045130 48 2F 6A B5 */ bl ReadLong__12CInputStreamFv +/* 800481D4 00045134 80 BD 00 18 */ lwz r5, 0x18(r29) +/* 800481D8 00045138 7C 67 1B 78 */ mr r7, r3 +/* 800481DC 0004513C 80 1C 00 00 */ lwz r0, 0(r28) +/* 800481E0 00045140 57 46 06 3E */ clrlwi r6, r26, 0x18 +/* 800481E4 00045144 90 A1 00 44 */ stw r5, 0x44(r1) +/* 800481E8 00045148 7F 64 DB 78 */ mr r4, r27 +/* 800481EC 0004514C 7F A8 EB 78 */ mr r8, r29 +/* 800481F0 00045150 38 61 00 1C */ addi r3, r1, 0x1c +/* 800481F4 00045154 90 C1 00 40 */ stw r6, 0x40(r1) +/* 800481F8 00045158 38 A1 00 0C */ addi r5, r1, 0xc +/* 800481FC 0004515C 90 E1 00 48 */ stw r7, 0x48(r1) +/* 80048200 00045160 90 01 00 0C */ stw r0, 0xc(r1) +/* 80048204 00045164 48 00 02 09 */ bl LoadScriptObject__13CStateManagerF7TAreaId17EScriptObjectTypeUiR12CInputStream +/* 80048208 00045168 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8004820C 0004516C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80048210 00045170 54 83 01 BE */ clrlwi r3, r4, 6 +/* 80048214 00045174 90 81 00 10 */ stw r4, 0x10(r1) +/* 80048218 00045178 54 00 01 BE */ clrlwi r0, r0, 6 +/* 8004821C 0004517C 7C 03 00 40 */ cmplw r3, r0 +/* 80048220 00045180 41 82 00 A8 */ beq lbl_800482C8 +/* 80048224 00045184 90 81 00 08 */ stw r4, 8(r1) +/* 80048228 00045188 7F 64 DB 78 */ mr r4, r27 +/* 8004822C 0004518C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80048230 00045190 38 A1 00 08 */ addi r5, r1, 8 +/* 80048234 00045194 4B FF FB D1 */ bl GetBuildForScript__13CStateManagerCF9TEditorId +/* 80048238 00045198 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004823C 0004519C 28 00 00 00 */ cmplwi r0, 0 +/* 80048240 000451A0 40 82 00 88 */ bne lbl_800482C8 +/* 80048244 000451A4 81 01 00 10 */ lwz r8, 0x10(r1) +/* 80048248 000451A8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8004824C 000451AC 80 E1 00 40 */ lwz r7, 0x40(r1) +/* 80048250 000451B0 38 9B 08 A4 */ addi r4, r27, 0x8a4 +/* 80048254 000451B4 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 80048258 000451B8 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8004825C 000451BC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80048260 000451C0 91 01 00 30 */ stw r8, 0x30(r1) +/* 80048264 000451C4 90 E1 00 34 */ stw r7, 0x34(r1) +/* 80048268 000451C8 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8004826C 000451CC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80048270 000451D0 80 BB 08 B4 */ lwz r5, 0x8b4(r27) +/* 80048274 000451D4 48 00 7C 51 */ bl "insert_into__Q24rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>FPQ34rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl38pair<9TEditorId,19SScriptObjectStream>" +/* 80048278 000451D8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8004827C 000451DC 80 BE 00 08 */ lwz r5, 8(r30) +/* 80048280 000451E0 7C 00 28 00 */ cmpw r0, r5 +/* 80048284 000451E4 41 80 00 1C */ blt lbl_800482A0 +/* 80048288 000451E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8004828C 000451EC 7F C3 F3 78 */ mr r3, r30 +/* 80048290 000451F0 38 80 00 04 */ li r4, 4 +/* 80048294 000451F4 41 82 00 08 */ beq lbl_8004829C +/* 80048298 000451F8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8004829C: +/* 8004829C 000451FC 48 00 80 AD */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +lbl_800482A0: +/* 800482A0 00045200 80 1E 00 04 */ lwz r0, 4(r30) +/* 800482A4 00045204 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800482A8 00045208 54 00 10 3A */ slwi r0, r0, 2 +/* 800482AC 0004520C 7C 63 02 15 */ add. r3, r3, r0 +/* 800482B0 00045210 41 82 00 0C */ beq lbl_800482BC +/* 800482B4 00045214 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800482B8 00045218 90 03 00 00 */ stw r0, 0(r3) +lbl_800482BC: +/* 800482BC 0004521C 80 7E 00 04 */ lwz r3, 4(r30) +/* 800482C0 00045220 38 03 00 01 */ addi r0, r3, 1 +/* 800482C4 00045224 90 1E 00 04 */ stw r0, 4(r30) +lbl_800482C8: +/* 800482C8 00045228 2C 1F 00 00 */ cmpwi r31, 0 +/* 800482CC 0004522C 3B FF FF FF */ addi r31, r31, -1 +/* 800482D0 00045230 40 82 FE F0 */ bne lbl_800481C0 +/* 800482D4 00045234 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 800482D8 00045238 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800482DC 0004523C 7C 08 03 A6 */ mtlr r0 +/* 800482E0 00045240 38 21 00 70 */ addi r1, r1, 0x70 +/* 800482E4 00045244 4E 80 00 20 */ blr + +.global GenerateObject__13CStateManagerF9TEditorId +GenerateObject__13CStateManagerF9TEditorId: +/* 800482E8 00045248 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800482EC 0004524C 7C 08 02 A6 */ mflr r0 +/* 800482F0 00045250 90 01 00 74 */ stw r0, 0x74(r1) +/* 800482F4 00045254 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800482F8 00045258 7C 9F 23 78 */ mr r31, r4 +/* 800482FC 0004525C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80048300 00045260 7C 7E 1B 78 */ mr r30, r3 +/* 80048304 00045264 38 61 00 34 */ addi r3, r1, 0x34 +/* 80048308 00045268 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8004830C 0004526C 93 81 00 60 */ stw r28, 0x60(r1) +/* 80048310 00045270 80 05 00 00 */ lwz r0, 0(r5) +/* 80048314 00045274 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80048318 00045278 90 01 00 28 */ stw r0, 0x28(r1) +/* 8004831C 0004527C 4B FF FA E9 */ bl GetBuildForScript__13CStateManagerCF9TEditorId +/* 80048320 00045280 83 81 00 34 */ lwz r28, 0x34(r1) +/* 80048324 00045284 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 80048328 00045288 28 1C 00 00 */ cmplwi r28, 0 +/* 8004832C 0004528C 80 7F 08 50 */ lwz r3, 0x850(r31) +/* 80048330 00045290 54 BD 85 BE */ rlwinm r29, r5, 0x10, 0x16, 0x1f +/* 80048334 00045294 41 82 00 A8 */ beq lbl_800483DC +/* 80048338 00045298 80 C3 00 20 */ lwz r6, 0x20(r3) +/* 8004833C 0004529C 57 A4 18 38 */ slwi r4, r29, 3 +/* 80048340 000452A0 93 A1 00 20 */ stw r29, 0x20(r1) +/* 80048344 000452A4 7C 66 22 14 */ add r3, r6, r4 +/* 80048348 000452A8 80 63 00 04 */ lwz r3, 4(r3) +/* 8004834C 000452AC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80048350 000452B0 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80048354 000452B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80048358 000452B8 41 82 00 84 */ beq lbl_800483DC +/* 8004835C 000452BC 38 64 00 04 */ addi r3, r4, 4 +/* 80048360 000452C0 54 A0 36 BE */ srwi r0, r5, 0x1a +/* 80048364 000452C4 7C 86 18 2E */ lwzx r4, r6, r3 +/* 80048368 000452C8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8004836C 000452CC 93 A1 00 18 */ stw r29, 0x18(r1) +/* 80048370 000452D0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80048374 000452D4 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 80048378 000452D8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8004837C 000452DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80048380 000452E0 48 01 5F 6D */ bl GetLayerScriptBuffer__9CGameAreaFi +/* 80048384 000452E4 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 80048388 000452E8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8004838C 000452EC 80 1C 00 04 */ lwz r0, 4(r28) +/* 80048390 000452F0 80 BC 00 08 */ lwz r5, 8(r28) +/* 80048394 000452F4 7C 84 02 14 */ add r4, r4, r0 +/* 80048398 000452F8 48 2F 6E 35 */ bl __ct__15CMemoryInStreamFPCvUl +/* 8004839C 000452FC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800483A0 00045300 7F C3 F3 78 */ mr r3, r30 +/* 800483A4 00045304 7F E4 FB 78 */ mr r4, r31 +/* 800483A8 00045308 38 A1 00 0C */ addi r5, r1, 0xc +/* 800483AC 0004530C 93 A1 00 08 */ stw r29, 8(r1) +/* 800483B0 00045310 39 01 00 3C */ addi r8, r1, 0x3c +/* 800483B4 00045314 80 DC 00 00 */ lwz r6, 0(r28) +/* 800483B8 00045318 80 FC 00 08 */ lwz r7, 8(r28) +/* 800483BC 0004531C 48 00 00 51 */ bl LoadScriptObject__13CStateManagerF7TAreaId17EScriptObjectTypeUiR12CInputStream +/* 800483C0 00045320 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 800483C4 00045324 38 61 00 3C */ addi r3, r1, 0x3c +/* 800483C8 00045328 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 800483CC 0004532C 38 80 00 00 */ li r4, 0 +/* 800483D0 00045330 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800483D4 00045334 48 2F 6C D9 */ bl __dt__12CInputStreamFv +/* 800483D8 00045338 48 00 00 14 */ b lbl_800483EC +lbl_800483DC: +/* 800483DC 0004533C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 800483E0 00045340 90 1E 00 00 */ stw r0, 0(r30) +/* 800483E4 00045344 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800483E8 00045348 B0 1E 00 04 */ sth r0, 4(r30) +lbl_800483EC: +/* 800483EC 0004534C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800483F0 00045350 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800483F4 00045354 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800483F8 00045358 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800483FC 0004535C 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80048400 00045360 7C 08 03 A6 */ mtlr r0 +/* 80048404 00045364 38 21 00 70 */ addi r1, r1, 0x70 +/* 80048408 00045368 4E 80 00 20 */ blr + +.global LoadScriptObject__13CStateManagerF7TAreaId17EScriptObjectTypeUiR12CInputStream +LoadScriptObject__13CStateManagerF7TAreaId17EScriptObjectTypeUiR12CInputStream: +/* 8004840C 0004536C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80048410 00045370 7C 08 02 A6 */ mflr r0 +/* 80048414 00045374 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80048418 00045378 BE A1 00 84 */ stmw r21, 0x84(r1) +/* 8004841C 0004537C 7D 1B 43 78 */ mr r27, r8 +/* 80048420 00045380 7C 77 1B 78 */ mr r23, r3 +/* 80048424 00045384 7C 98 23 78 */ mr r24, r4 +/* 80048428 00045388 7C B9 2B 78 */ mr r25, r5 +/* 8004842C 0004538C 7C DA 33 78 */ mr r26, r6 +/* 80048430 00045390 7C F5 3B 78 */ mr r21, r7 +/* 80048434 00045394 7F 63 DB 78 */ mr r3, r27 +/* 80048438 00045398 3B A0 00 00 */ li r29, 0 +/* 8004843C 0004539C 48 2F 68 49 */ bl ReadLong__12CInputStreamFv +/* 80048440 000453A0 38 00 00 00 */ li r0, 0 +/* 80048444 000453A4 90 61 00 48 */ stw r3, 0x48(r1) +/* 80048448 000453A8 7F 63 DB 78 */ mr r3, r27 +/* 8004844C 000453AC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80048450 000453B0 90 01 00 60 */ stw r0, 0x60(r1) +/* 80048454 000453B4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80048458 000453B8 48 2F 68 2D */ bl ReadLong__12CInputStreamFv +/* 8004845C 000453BC 7C 7F 1B 78 */ mr r31, r3 +/* 80048460 000453C0 38 61 00 58 */ addi r3, r1, 0x58 +/* 80048464 000453C4 3B D5 FF F8 */ addi r30, r21, -8 +/* 80048468 000453C8 7F E4 FB 78 */ mr r4, r31 +/* 8004846C 000453CC 48 00 7F C9 */ bl "reserve__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fi" +/* 80048470 000453D0 3B 80 00 00 */ li r28, 0 +/* 80048474 000453D4 48 00 00 A0 */ b lbl_80048514 +lbl_80048478: +/* 80048478 000453D8 7F 63 DB 78 */ mr r3, r27 +/* 8004847C 000453DC 48 2F 68 09 */ bl ReadLong__12CInputStreamFv +/* 80048480 000453E0 7C 75 1B 78 */ mr r21, r3 +/* 80048484 000453E4 7F 63 DB 78 */ mr r3, r27 +/* 80048488 000453E8 48 2F 67 FD */ bl ReadLong__12CInputStreamFv +/* 8004848C 000453EC 7C 76 1B 78 */ mr r22, r3 +/* 80048490 000453F0 7F 63 DB 78 */ mr r3, r27 +/* 80048494 000453F4 48 2F 67 F1 */ bl ReadLong__12CInputStreamFv +/* 80048498 000453F8 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8004849C 000453FC 3B DE FF F4 */ addi r30, r30, -12 +/* 800484A0 00045400 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 800484A4 00045404 90 61 00 44 */ stw r3, 0x44(r1) +/* 800484A8 00045408 7C 00 28 00 */ cmpw r0, r5 +/* 800484AC 0004540C 90 61 00 40 */ stw r3, 0x40(r1) +/* 800484B0 00045410 92 A1 00 4C */ stw r21, 0x4c(r1) +/* 800484B4 00045414 92 C1 00 50 */ stw r22, 0x50(r1) +/* 800484B8 00045418 90 61 00 54 */ stw r3, 0x54(r1) +/* 800484BC 0004541C 41 80 00 1C */ blt lbl_800484D8 +/* 800484C0 00045420 2C 05 00 00 */ cmpwi r5, 0 +/* 800484C4 00045424 38 61 00 58 */ addi r3, r1, 0x58 +/* 800484C8 00045428 38 80 00 04 */ li r4, 4 +/* 800484CC 0004542C 41 82 00 08 */ beq lbl_800484D4 +/* 800484D0 00045430 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800484D4: +/* 800484D4 00045434 48 00 7F 61 */ bl "reserve__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fi" +lbl_800484D8: +/* 800484D8 00045438 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 800484DC 0004543C 80 61 00 64 */ lwz r3, 0x64(r1) +/* 800484E0 00045440 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800484E4 00045444 7C 83 02 15 */ add. r4, r3, r0 +/* 800484E8 00045448 41 82 00 1C */ beq lbl_80048504 +/* 800484EC 0004544C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800484F0 00045450 80 61 00 50 */ lwz r3, 0x50(r1) +/* 800484F4 00045454 90 04 00 00 */ stw r0, 0(r4) +/* 800484F8 00045458 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800484FC 0004545C 90 64 00 04 */ stw r3, 4(r4) +/* 80048500 00045460 90 04 00 08 */ stw r0, 8(r4) +lbl_80048504: +/* 80048504 00045464 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80048508 00045468 3B 9C 00 01 */ addi r28, r28, 1 +/* 8004850C 0004546C 38 03 00 01 */ addi r0, r3, 1 +/* 80048510 00045470 90 01 00 5C */ stw r0, 0x5c(r1) +lbl_80048514: +/* 80048514 00045474 7C 1C F8 00 */ cmpw r28, r31 +/* 80048518 00045478 41 80 FF 60 */ blt lbl_80048478 +/* 8004851C 0004547C 7F 63 DB 78 */ mr r3, r27 +/* 80048520 00045480 48 2F 67 65 */ bl ReadLong__12CInputStreamFv +/* 80048524 00045484 2C 1A 00 8B */ cmpwi r26, 0x8b +/* 80048528 00045488 83 FB 00 18 */ lwz r31, 0x18(r27) +/* 8004852C 0004548C 7C 75 1B 78 */ mr r21, r3 +/* 80048530 00045490 3B 80 00 00 */ li r28, 0 +/* 80048534 00045494 3A C0 00 00 */ li r22, 0 +/* 80048538 00045498 3B DE FF FC */ addi r30, r30, -4 +/* 8004853C 0004549C 41 81 00 18 */ bgt lbl_80048554 +/* 80048540 000454A0 2C 1A 00 00 */ cmpwi r26, 0 +/* 80048544 000454A4 41 80 00 10 */ blt lbl_80048554 +/* 80048548 000454A8 57 40 10 3A */ slwi r0, r26, 2 +/* 8004854C 000454AC 7C 78 02 14 */ add r3, r24, r0 +/* 80048550 000454B0 82 C3 09 0C */ lwz r22, 0x90c(r3) +lbl_80048554: +/* 80048554 000454B4 28 16 00 00 */ cmplwi r22, 0 +/* 80048558 000454B8 41 82 00 90 */ beq lbl_800485E8 +/* 8004855C 000454BC 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 80048560 000454C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80048564 000454C4 80 19 00 00 */ lwz r0, 0(r25) +/* 80048568 000454C8 38 81 00 3C */ addi r4, r1, 0x3c +/* 8004856C 000454CC 90 A1 00 38 */ stw r5, 0x38(r1) +/* 80048570 000454D0 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80048574 000454D4 38 C1 00 38 */ addi r6, r1, 0x38 +/* 80048578 000454D8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8004857C 000454DC 48 00 8F 09 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 80048580 000454E0 7E CC B3 78 */ mr r12, r22 +/* 80048584 000454E4 7F 03 C3 78 */ mr r3, r24 +/* 80048588 000454E8 7F 64 DB 78 */ mr r4, r27 +/* 8004858C 000454EC 7E A5 AB 78 */ mr r5, r21 +/* 80048590 000454F0 38 C1 00 68 */ addi r6, r1, 0x68 +/* 80048594 000454F4 7D 89 03 A6 */ mtctr r12 +/* 80048598 000454F8 4E 80 04 21 */ bctrl +/* 8004859C 000454FC 80 01 00 70 */ lwz r0, 0x70(r1) +/* 800485A0 00045500 7C 7C 1B 78 */ mr r28, r3 +/* 800485A4 00045504 80 81 00 78 */ lwz r4, 0x78(r1) +/* 800485A8 00045508 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800485AC 0004550C 90 81 00 0C */ stw r4, 0xc(r1) +/* 800485B0 00045510 7C 83 23 78 */ mr r3, r4 +/* 800485B4 00045514 7C 04 02 14 */ add r0, r4, r0 +/* 800485B8 00045518 90 81 00 08 */ stw r4, 8(r1) +/* 800485BC 0004551C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800485C0 00045520 90 01 00 10 */ stw r0, 0x10(r1) +/* 800485C4 00045524 48 00 00 08 */ b lbl_800485CC +lbl_800485C8: +/* 800485C8 00045528 38 63 00 0C */ addi r3, r3, 0xc +lbl_800485CC: +/* 800485CC 0004552C 7C 03 00 40 */ cmplw r3, r0 +/* 800485D0 00045530 40 82 FF F8 */ bne lbl_800485C8 +/* 800485D4 00045534 28 04 00 00 */ cmplwi r4, 0 +/* 800485D8 00045538 41 82 00 14 */ beq lbl_800485EC +/* 800485DC 0004553C 7C 83 23 78 */ mr r3, r4 +/* 800485E0 00045540 48 2C D3 51 */ bl Free__7CMemoryFPCv +/* 800485E4 00045544 48 00 00 08 */ b lbl_800485EC +lbl_800485E8: +/* 800485E8 00045548 3B A0 00 01 */ li r29, 1 +lbl_800485EC: +/* 800485EC 0004554C 28 1C 00 00 */ cmplwi r28, 0 +/* 800485F0 00045550 41 82 00 14 */ beq lbl_80048604 +/* 800485F4 00045554 7F 03 C3 78 */ mr r3, r24 +/* 800485F8 00045558 7F 84 E3 78 */ mr r4, r28 +/* 800485FC 0004555C 48 00 45 19 */ bl AddObject__13CStateManagerFR7CEntity +/* 80048600 00045560 48 00 00 08 */ b lbl_80048608 +lbl_80048604: +/* 80048604 00045564 3B A0 00 01 */ li r29, 1 +lbl_80048608: +/* 80048608 00045568 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 8004860C 0004556C 7C 1F 00 50 */ subf r0, r31, r0 +/* 80048610 00045570 7F C0 F0 51 */ subf. r30, r0, r30 +/* 80048614 00045574 41 82 00 1C */ beq lbl_80048630 +/* 80048618 00045578 48 00 00 0C */ b lbl_80048624 +lbl_8004861C: +/* 8004861C 0004557C 7F 63 DB 78 */ mr r3, r27 +/* 80048620 00045580 48 2F 66 ED */ bl ReadChar__12CInputStreamFv +lbl_80048624: +/* 80048624 00045584 28 1E 00 00 */ cmplwi r30, 0 +/* 80048628 00045588 3B DE FF FF */ addi r30, r30, -1 +/* 8004862C 0004558C 40 82 FF F0 */ bne lbl_8004861C +lbl_80048630: +/* 80048630 00045590 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80048634 00045594 40 82 00 0C */ bne lbl_80048640 +/* 80048638 00045598 28 1C 00 00 */ cmplwi r28, 0 +/* 8004863C 0004559C 40 82 00 58 */ bne lbl_80048694 +lbl_80048640: +/* 80048640 000455A0 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80048644 000455A4 90 17 00 00 */ stw r0, 0(r23) +/* 80048648 000455A8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004864C 000455AC B0 17 00 04 */ sth r0, 4(r23) +/* 80048650 000455B0 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80048654 000455B4 80 61 00 64 */ lwz r3, 0x64(r1) +/* 80048658 000455B8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8004865C 000455BC 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80048660 000455C0 7C 64 1B 78 */ mr r4, r3 +/* 80048664 000455C4 7C 03 02 14 */ add r0, r3, r0 +/* 80048668 000455C8 90 61 00 28 */ stw r3, 0x28(r1) +/* 8004866C 000455CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80048670 000455D0 90 01 00 30 */ stw r0, 0x30(r1) +/* 80048674 000455D4 48 00 00 08 */ b lbl_8004867C +lbl_80048678: +/* 80048678 000455D8 38 84 00 0C */ addi r4, r4, 0xc +lbl_8004867C: +/* 8004867C 000455DC 7C 04 00 40 */ cmplw r4, r0 +/* 80048680 000455E0 40 82 FF F8 */ bne lbl_80048678 +/* 80048684 000455E4 28 03 00 00 */ cmplwi r3, 0 +/* 80048688 000455E8 41 82 00 5C */ beq lbl_800486E4 +/* 8004868C 000455EC 48 2C D2 A5 */ bl Free__7CMemoryFPCv +/* 80048690 000455F0 48 00 00 54 */ b lbl_800486E4 +lbl_80048694: +/* 80048694 000455F4 A0 7C 00 08 */ lhz r3, 8(r28) +/* 80048698 000455F8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8004869C 000455FC 90 17 00 00 */ stw r0, 0(r23) +/* 800486A0 00045600 B0 77 00 04 */ sth r3, 4(r23) +/* 800486A4 00045604 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 800486A8 00045608 80 61 00 64 */ lwz r3, 0x64(r1) +/* 800486AC 0004560C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800486B0 00045610 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800486B4 00045614 7C 64 1B 78 */ mr r4, r3 +/* 800486B8 00045618 7C 03 02 14 */ add r0, r3, r0 +/* 800486BC 0004561C 90 61 00 18 */ stw r3, 0x18(r1) +/* 800486C0 00045620 90 01 00 24 */ stw r0, 0x24(r1) +/* 800486C4 00045624 90 01 00 20 */ stw r0, 0x20(r1) +/* 800486C8 00045628 48 00 00 08 */ b lbl_800486D0 +lbl_800486CC: +/* 800486CC 0004562C 38 84 00 0C */ addi r4, r4, 0xc +lbl_800486D0: +/* 800486D0 00045630 7C 04 00 40 */ cmplw r4, r0 +/* 800486D4 00045634 40 82 FF F8 */ bne lbl_800486CC +/* 800486D8 00045638 28 03 00 00 */ cmplwi r3, 0 +/* 800486DC 0004563C 41 82 00 08 */ beq lbl_800486E4 +/* 800486E0 00045640 48 2C D2 51 */ bl Free__7CMemoryFPCv +lbl_800486E4: +/* 800486E4 00045644 BA A1 00 84 */ lmw r21, 0x84(r1) +/* 800486E8 00045648 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800486EC 0004564C 7C 08 03 A6 */ mtlr r0 +/* 800486F0 00045650 38 21 00 B0 */ addi r1, r1, 0xb0 + +.global sub_800486f4 +sub_800486f4: +/* 800486F4 00045654 4E 80 00 20 */ blr + +.global "__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv": +/* 800486F8 00045658 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800486FC 0004565C 7C 08 02 A6 */ mflr r0 +/* 80048700 00045660 90 01 00 24 */ stw r0, 0x24(r1) +/* 80048704 00045664 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80048708 00045668 7C 9F 23 78 */ mr r31, r4 +/* 8004870C 0004566C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80048710 00045670 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80048714 00045674 41 82 00 54 */ beq lbl_80048768 +/* 80048718 00045678 80 1E 00 04 */ lwz r0, 4(r30) +/* 8004871C 0004567C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80048720 00045680 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80048724 00045684 90 61 00 10 */ stw r3, 0x10(r1) +/* 80048728 00045688 7C 64 1B 78 */ mr r4, r3 +/* 8004872C 0004568C 7C 03 02 14 */ add r0, r3, r0 +/* 80048730 00045690 90 61 00 14 */ stw r3, 0x14(r1) +/* 80048734 00045694 90 01 00 08 */ stw r0, 8(r1) +/* 80048738 00045698 90 01 00 0C */ stw r0, 0xc(r1) +/* 8004873C 0004569C 48 00 00 08 */ b lbl_80048744 +lbl_80048740: +/* 80048740 000456A0 38 84 00 0C */ addi r4, r4, 0xc +lbl_80048744: +/* 80048744 000456A4 7C 04 00 40 */ cmplw r4, r0 +/* 80048748 000456A8 40 82 FF F8 */ bne lbl_80048740 +/* 8004874C 000456AC 28 03 00 00 */ cmplwi r3, 0 +/* 80048750 000456B0 41 82 00 08 */ beq lbl_80048758 +/* 80048754 000456B4 48 2C D1 DD */ bl Free__7CMemoryFPCv +lbl_80048758: +/* 80048758 000456B8 7F E0 07 35 */ extsh. r0, r31 +/* 8004875C 000456BC 40 81 00 0C */ ble lbl_80048768 +/* 80048760 000456C0 7F C3 F3 78 */ mr r3, r30 +/* 80048764 000456C4 48 2C D1 CD */ bl Free__7CMemoryFPCv +lbl_80048768: +/* 80048768 000456C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004876C 000456CC 7F C3 F3 78 */ mr r3, r30 +/* 80048770 000456D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80048774 000456D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80048778 000456D8 7C 08 03 A6 */ mtlr r0 +/* 8004877C 000456DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80048780 000456E0 4E 80 00 20 */ blr + +.global InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType +InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType: +/* 80048784 000456E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80048788 000456E8 7C 08 02 A6 */ mflr r0 +/* 8004878C 000456EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80048790 000456F0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80048794 000456F4 7C 7B 1B 78 */ mr r27, r3 +/* 80048798 000456F8 7C 9C 23 78 */ mr r28, r4 +/* 8004879C 000456FC 7C BD 2B 78 */ mr r29, r5 +/* 800487A0 00045700 83 E3 08 38 */ lwz r31, 0x838(r3) +/* 800487A4 00045704 AB DF 20 08 */ lha r30, 0x2008(r31) +/* 800487A8 00045708 48 00 00 AC */ b lbl_80048854 +lbl_800487AC: +/* 800487AC 0004570C 7F E3 FB 78 */ mr r3, r31 +/* 800487B0 00045710 7F C4 F3 78 */ mr r4, r30 +/* 800487B4 00045714 4B FC 75 61 */ bl __vc__11CObjectListFi +/* 800487B8 00045718 7C 64 1B 78 */ mr r4, r3 +/* 800487BC 0004571C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800487C0 00045720 48 06 42 9D */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 800487C4 00045724 80 63 00 04 */ lwz r3, 4(r3) +/* 800487C8 00045728 28 03 00 00 */ cmplwi r3, 0 +/* 800487CC 0004572C 41 82 00 6C */ beq lbl_80048838 +/* 800487D0 00045730 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800487D4 00045734 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800487D8 00045738 41 82 00 60 */ beq lbl_80048838 +/* 800487DC 0004573C 80 C3 00 04 */ lwz r6, 4(r3) +/* 800487E0 00045740 80 BB 08 50 */ lwz r5, 0x850(r27) +/* 800487E4 00045744 54 C4 18 38 */ slwi r4, r6, 3 +/* 800487E8 00045748 90 C1 00 08 */ stw r6, 8(r1) +/* 800487EC 0004574C 80 A5 00 20 */ lwz r5, 0x20(r5) +/* 800487F0 00045750 38 04 00 04 */ addi r0, r4, 4 +/* 800487F4 00045754 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800487F8 00045758 7C 85 00 2E */ lwzx r4, r5, r0 +/* 800487FC 0004575C 88 04 00 F0 */ lbz r0, 0xf0(r4) +/* 80048800 00045760 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80048804 00045764 41 82 00 10 */ beq lbl_80048814 +/* 80048808 00045768 80 84 01 2C */ lwz r4, 0x12c(r4) +/* 8004880C 0004576C 80 04 10 DC */ lwz r0, 0x10dc(r4) +/* 80048810 00045770 48 00 00 08 */ b lbl_80048818 +lbl_80048814: +/* 80048814 00045774 38 00 00 00 */ li r0, 0 +lbl_80048818: +/* 80048818 00045778 2C 00 00 00 */ cmpwi r0, 0 +/* 8004881C 0004577C 41 82 00 1C */ beq lbl_80048838 +/* 80048820 00045780 81 83 00 00 */ lwz r12, 0(r3) +/* 80048824 00045784 7F 84 E3 78 */ mr r4, r28 +/* 80048828 00045788 7F A5 EB 78 */ mr r5, r29 +/* 8004882C 0004578C 81 8C 00 9C */ lwz r12, 0x9c(r12) +/* 80048830 00045790 7D 89 03 A6 */ mtctr r12 +/* 80048834 00045794 4E 80 04 21 */ bctrl +lbl_80048838: +/* 80048838 00045798 2C 1E FF FF */ cmpwi r30, -1 +/* 8004883C 0004579C 41 82 00 14 */ beq lbl_80048850 +/* 80048840 000457A0 57 C3 18 38 */ slwi r3, r30, 3 +/* 80048844 000457A4 38 03 00 08 */ addi r0, r3, 8 +/* 80048848 000457A8 7F DF 02 AE */ lhax r30, r31, r0 +/* 8004884C 000457AC 48 00 00 08 */ b lbl_80048854 +lbl_80048850: +/* 80048850 000457B0 3B C0 FF FF */ li r30, -1 +lbl_80048854: +/* 80048854 000457B4 2C 1E FF FF */ cmpwi r30, -1 +/* 80048858 000457B8 40 82 FF 54 */ bne lbl_800487AC +/* 8004885C 000457BC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80048860 000457C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80048864 000457C4 7C 08 03 A6 */ mtlr r0 +/* 80048868 000457C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8004886C 000457CC 4E 80 00 20 */ blr + +.global Listen__3CAiFRC9CVector3f16EListenNoiseType +Listen__3CAiFRC9CVector3f16EListenNoiseType: +/* 80048870 000457D0 38 60 00 00 */ li r3, 0 +/* 80048874 000457D4 4E 80 00 20 */ blr + +.global KnockBackPlayer__13CStateManagerFR7CPlayerRC9CVector3fff +KnockBackPlayer__13CStateManagerFR7CPlayerRC9CVector3fff: +/* 80048878 000457D8 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8004887C 000457DC 7C 08 02 A6 */ mflr r0 +/* 80048880 000457E0 90 01 00 84 */ stw r0, 0x84(r1) +/* 80048884 000457E4 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80048888 000457E8 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8004888C 000457EC DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80048890 000457F0 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80048894 000457F4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80048898 000457F8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8004889C 000457FC 7C 9E 23 78 */ mr r30, r4 +/* 800488A0 00045800 38 80 00 00 */ li r4, 0 +/* 800488A4 00045804 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 800488A8 00045808 38 00 08 00 */ li r0, 0x800 +/* 800488AC 0004580C 80 DE 00 68 */ lwz r6, 0x68(r30) +/* 800488B0 00045810 7C BF 2B 78 */ mr r31, r5 +/* 800488B4 00045814 7C 63 20 38 */ and r3, r3, r4 +/* 800488B8 00045818 7C C0 00 38 */ and r0, r6, r0 +/* 800488BC 0004581C 7C 63 22 78 */ xor r3, r3, r4 +/* 800488C0 00045820 7C 00 22 78 */ xor r0, r0, r4 +/* 800488C4 00045824 7C 60 03 79 */ or. r0, r3, r0 +/* 800488C8 00045828 40 82 01 A8 */ bne lbl_80048A70 +/* 800488CC 0004582C 80 7E 02 F8 */ lwz r3, 0x2f8(r30) +/* 800488D0 00045830 2C 03 00 01 */ cmpwi r3, 1 +/* 800488D4 00045834 41 82 00 44 */ beq lbl_80048918 +/* 800488D8 00045838 C0 02 85 E0 */ lfs f0, lbl_805AA300@sda21(r2) +/* 800488DC 0004583C 80 1E 02 B0 */ lwz r0, 0x2b0(r30) +/* 800488E0 00045840 EF E1 00 32 */ fmuls f31, f1, f0 +/* 800488E4 00045844 2C 00 00 02 */ cmpwi r0, 2 +/* 800488E8 00045848 40 82 00 0C */ bne lbl_800488F4 +/* 800488EC 0004584C 80 1E 02 AC */ lwz r0, 0x2ac(r30) +/* 800488F0 00045850 48 00 00 08 */ b lbl_800488F8 +lbl_800488F4: +/* 800488F4 00045854 38 00 00 04 */ li r0, 4 +lbl_800488F8: +/* 800488F8 00045858 2C 00 00 00 */ cmpwi r0, 0 +/* 800488FC 0004585C 41 82 00 24 */ beq lbl_80048920 +/* 80048900 00045860 80 1E 03 04 */ lwz r0, 0x304(r30) +/* 80048904 00045864 2C 00 00 00 */ cmpwi r0, 0 +/* 80048908 00045868 40 82 00 18 */ bne lbl_80048920 +/* 8004890C 0004586C C0 02 85 B0 */ lfs f0, lbl_805AA2D0@sda21(r2) +/* 80048910 00045870 EF FF 00 24 */ fdivs f31, f31, f0 +/* 80048914 00045874 48 00 00 0C */ b lbl_80048920 +lbl_80048918: +/* 80048918 00045878 C0 02 85 E4 */ lfs f0, lbl_805AA304@sda21(r2) +/* 8004891C 0004587C EF E1 00 32 */ fmuls f31, f1, f0 +lbl_80048920: +/* 80048920 00045880 2C 03 00 01 */ cmpwi r3, 1 +/* 80048924 00045884 40 82 00 0C */ bne lbl_80048930 +/* 80048928 00045888 C0 02 85 E8 */ lfs f0, lbl_805AA308@sda21(r2) +/* 8004892C 0004588C 48 00 00 08 */ b lbl_80048934 +lbl_80048930: +/* 80048930 00045890 C0 02 85 EC */ lfs f0, lbl_805AA30C@sda21(r2) +lbl_80048934: +/* 80048934 00045894 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80048938 00045898 38 7E 01 38 */ addi r3, r30, 0x138 +/* 8004893C 0004589C 48 2C BF 7D */ bl Magnitude__9CVector3fCFv +/* 80048940 000458A0 FC 00 08 18 */ frsp f0, f1 +/* 80048944 000458A4 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80048948 000458A8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8004894C 000458AC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80048950 000458B0 40 80 00 0C */ bge lbl_8004895C +/* 80048954 000458B4 38 A1 00 08 */ addi r5, r1, 8 +/* 80048958 000458B8 48 00 00 08 */ b lbl_80048960 +lbl_8004895C: +/* 8004895C 000458BC 38 A1 00 0C */ addi r5, r1, 0xc +lbl_80048960: +/* 80048960 000458C0 C0 5E 01 40 */ lfs f2, 0x140(r30) +/* 80048964 000458C4 7F E3 FB 78 */ mr r3, r31 +/* 80048968 000458C8 C0 3E 01 3C */ lfs f1, 0x13c(r30) +/* 8004896C 000458CC 38 81 00 34 */ addi r4, r1, 0x34 +/* 80048970 000458D0 C0 1E 01 38 */ lfs f0, 0x138(r30) +/* 80048974 000458D4 FC 40 10 50 */ fneg f2, f2 +/* 80048978 000458D8 C3 C5 00 00 */ lfs f30, 0(r5) +/* 8004897C 000458DC FC 20 08 50 */ fneg f1, f1 +/* 80048980 000458E0 FC 00 00 50 */ fneg f0, f0 +/* 80048984 000458E4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80048988 000458E8 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8004898C 000458EC D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80048990 000458F0 48 2C BC A1 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 80048994 000458F4 C0 42 85 7C */ lfs f2, lbl_805AA29C@sda21(r2) +/* 80048998 000458F8 C0 02 85 F0 */ lfs f0, lbl_805AA310@sda21(r2) +/* 8004899C 000458FC EC 62 00 72 */ fmuls f3, f2, f1 +/* 800489A0 00045900 C0 82 85 64 */ lfs f4, lbl_805AA284@sda21(r2) +/* 800489A4 00045904 C0 5F 00 04 */ lfs f2, 4(r31) +/* 800489A8 00045908 C0 3F 00 08 */ lfs f1, 8(r31) +/* 800489AC 0004590C EC 63 00 24 */ fdivs f3, f3, f0 +/* 800489B0 00045910 C0 1F 00 00 */ lfs f0, 0(r31) +/* 800489B4 00045914 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800489B8 00045918 EF FF 00 F2 */ fmuls f31, f31, f3 +/* 800489BC 0004591C EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 800489C0 00045920 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 800489C4 00045924 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800489C8 00045928 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800489CC 0004592C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800489D0 00045930 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800489D4 00045934 4B FD 2B 61 */ bl Identity__10CAxisAngleFv +/* 800489D8 00045938 7C 65 1B 78 */ mr r5, r3 +/* 800489DC 0004593C 7F C3 F3 78 */ mr r3, r30 +/* 800489E0 00045940 38 81 00 28 */ addi r4, r1, 0x28 +/* 800489E4 00045944 48 0D 39 B5 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800489E8 00045948 7F C3 F3 78 */ mr r3, r30 +/* 800489EC 0004594C 48 0D 27 91 */ bl UseCollisionImpulses__13CPhysicsActorFv +/* 800489F0 00045950 C0 02 85 70 */ lfs f0, lbl_805AA290@sda21(r2) +/* 800489F4 00045954 38 61 00 40 */ addi r3, r1, 0x40 +/* 800489F8 00045958 D0 1E 02 D4 */ stfs f0, 0x2d4(r30) +/* 800489FC 0004595C C0 1E 01 38 */ lfs f0, 0x138(r30) +/* 80048A00 00045960 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80048A04 00045964 C0 1E 01 3C */ lfs f0, 0x13c(r30) +/* 80048A08 00045968 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80048A0C 0004596C C0 1E 01 40 */ lfs f0, 0x140(r30) +/* 80048A10 00045970 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80048A14 00045974 48 2C BE A5 */ bl Magnitude__9CVector3fCFv +/* 80048A18 00045978 FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 80048A1C 0004597C 40 81 00 54 */ ble lbl_80048A70 +/* 80048A20 00045980 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 80048A24 00045984 7F C3 F3 78 */ mr r3, r30 +/* 80048A28 00045988 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80048A2C 0004598C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80048A30 00045990 EC 80 08 24 */ fdivs f4, f0, f1 +/* 80048A34 00045994 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80048A38 00045998 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80048A3C 0004599C EC 64 00 B2 */ fmuls f3, f4, f2 +/* 80048A40 000459A0 EC 44 00 72 */ fmuls f2, f4, f1 +/* 80048A44 000459A4 EC 24 00 32 */ fmuls f1, f4, f0 +/* 80048A48 000459A8 EC 9E 00 F2 */ fmuls f4, f30, f3 +/* 80048A4C 000459AC D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80048A50 000459B0 EC 7E 00 B2 */ fmuls f3, f30, f2 +/* 80048A54 000459B4 EC 1E 00 72 */ fmuls f0, f30, f1 +/* 80048A58 000459B8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80048A5C 000459BC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80048A60 000459C0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80048A64 000459C4 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 80048A68 000459C8 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80048A6C 000459CC 48 0D 22 35 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_80048A70: +/* 80048A70 000459D0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80048A74 000459D4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80048A78 000459D8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80048A7C 000459DC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80048A80 000459E0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80048A84 000459E4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80048A88 000459E8 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80048A8C 000459EC 7C 08 03 A6 */ mtlr r0 +/* 80048A90 000459F0 38 21 00 80 */ addi r1, r1, 0x80 +/* 80048A94 000459F4 4E 80 00 20 */ blr + +.global ApplyKnockBack__13CStateManagerFR6CActorRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ff +ApplyKnockBack__13CStateManagerFR6CActorRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ff: +/* 80048A98 000459F8 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80048A9C 000459FC 7C 08 02 A6 */ mflr r0 +/* 80048AA0 00045A00 90 01 00 84 */ stw r0, 0x84(r1) +/* 80048AA4 00045A04 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80048AA8 00045A08 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80048AAC 00045A0C DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80048AB0 00045A10 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80048AB4 00045A14 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80048AB8 00045A18 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80048ABC 00045A1C BF 41 00 38 */ stmw r26, 0x38(r1) +/* 80048AC0 00045A20 FF A0 08 90 */ fmr f29, f1 +/* 80048AC4 00045A24 7C BC 2B 78 */ mr r28, r5 +/* 80048AC8 00045A28 7C 7A 1B 78 */ mr r26, r3 +/* 80048ACC 00045A2C 7C 9B 23 78 */ mr r27, r4 +/* 80048AD0 00045A30 7C FD 3B 78 */ mr r29, r7 +/* 80048AD4 00045A34 7C C3 33 78 */ mr r3, r6 +/* 80048AD8 00045A38 7F 84 E3 78 */ mr r4, r28 +/* 80048ADC 00045A3C 38 A0 00 00 */ li r5, 0 +/* 80048AE0 00045A40 48 0B 99 DD */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +/* 80048AE4 00045A44 2C 03 00 02 */ cmpwi r3, 2 +/* 80048AE8 00045A48 41 82 01 98 */ beq lbl_80048C80 +/* 80048AEC 00045A4C 7F 63 DB 78 */ mr r3, r27 +/* 80048AF0 00045A50 7F 44 D3 78 */ mr r4, r26 +/* 80048AF4 00045A54 81 9B 00 00 */ lwz r12, 0(r27) +/* 80048AF8 00045A58 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80048AFC 00045A5C 7D 89 03 A6 */ mtctr r12 +/* 80048B00 00045A60 4E 80 04 21 */ bctrl +/* 80048B04 00045A64 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80048B08 00045A68 41 82 01 78 */ beq lbl_80048C80 +/* 80048B0C 00045A6C C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) +/* 80048B10 00045A70 7F 64 DB 78 */ mr r4, r27 +/* 80048B14 00045A74 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 80048B18 00045A78 38 61 00 18 */ addi r3, r1, 0x18 +/* 80048B1C 00045A7C EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80048B20 00045A80 C3 FF 00 04 */ lfs f31, 4(r31) +/* 80048B24 00045A84 EF C1 00 32 */ fmuls f30, f1, f0 +/* 80048B28 00045A88 48 06 38 D9 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 80048B2C 00045A8C 83 C3 00 04 */ lwz r30, 4(r3) +/* 80048B30 00045A90 7F 64 DB 78 */ mr r4, r27 +/* 80048B34 00045A94 38 61 00 10 */ addi r3, r1, 0x10 +/* 80048B38 00045A98 48 06 3F 91 */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity" +/* 80048B3C 00045A9C 28 1E 00 00 */ cmplwi r30, 0 +/* 80048B40 00045AA0 80 63 00 04 */ lwz r3, 4(r3) +/* 80048B44 00045AA4 41 82 00 20 */ beq lbl_80048B64 +/* 80048B48 00045AA8 FC 20 F0 90 */ fmr f1, f30 +/* 80048B4C 00045AAC 7F 43 D3 78 */ mr r3, r26 +/* 80048B50 00045AB0 FC 40 F8 90 */ fmr f2, f31 +/* 80048B54 00045AB4 7F C4 F3 78 */ mr r4, r30 +/* 80048B58 00045AB8 7F A5 EB 78 */ mr r5, r29 +/* 80048B5C 00045ABC 4B FF FD 1D */ bl KnockBackPlayer__13CStateManagerFR7CPlayerRC9CVector3fff +/* 80048B60 00045AC0 48 00 01 20 */ b lbl_80048C80 +lbl_80048B64: +/* 80048B64 00045AC4 28 03 00 00 */ cmplwi r3, 0 +/* 80048B68 00045AC8 40 82 00 DC */ bne lbl_80048C44 +/* 80048B6C 00045ACC C0 3F 00 00 */ lfs f1, 0(r31) +/* 80048B70 00045AD0 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80048B74 00045AD4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80048B78 00045AD8 4C 40 13 82 */ cror 2, 0, 2 +/* 80048B7C 00045ADC 40 82 00 C8 */ bne lbl_80048C44 +/* 80048B80 00045AE0 FC 1E F8 40 */ fcmpo cr0, f30, f31 +/* 80048B84 00045AE4 40 81 00 FC */ ble lbl_80048C80 +/* 80048B88 00045AE8 7F 64 DB 78 */ mr r4, r27 +/* 80048B8C 00045AEC 38 61 00 08 */ addi r3, r1, 8 +/* 80048B90 00045AF0 48 06 3B C1 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" +/* 80048B94 00045AF4 83 E3 00 04 */ lwz r31, 4(r3) +/* 80048B98 00045AF8 28 1F 00 00 */ cmplwi r31, 0 +/* 80048B9C 00045AFC 41 82 00 E4 */ beq lbl_80048C80 +/* 80048BA0 00045B00 EC 3E F8 28 */ fsubs f1, f30, f31 +/* 80048BA4 00045B04 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80048BA8 00045B08 C0 82 85 F4 */ lfs f4, lbl_805AA314@sda21(r2) +/* 80048BAC 00045B0C 38 80 00 00 */ li r4, 0 +/* 80048BB0 00045B10 C0 5D 00 04 */ lfs f2, 4(r29) +/* 80048BB4 00045B14 38 00 08 00 */ li r0, 0x800 +/* 80048BB8 00045B18 EC 61 00 32 */ fmuls f3, f1, f0 +/* 80048BBC 00045B1C C0 3D 00 08 */ lfs f1, 8(r29) +/* 80048BC0 00045B20 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80048BC4 00045B24 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80048BC8 00045B28 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80048BCC 00045B2C EC 23 00 72 */ fmuls f1, f3, f1 +/* 80048BD0 00045B30 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80048BD4 00045B34 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80048BD8 00045B38 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80048BDC 00045B3C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80048BE0 00045B40 80 BF 00 68 */ lwz r5, 0x68(r31) +/* 80048BE4 00045B44 80 DF 00 6C */ lwz r6, 0x6c(r31) +/* 80048BE8 00045B48 7C A0 00 38 */ and r0, r5, r0 +/* 80048BEC 00045B4C 7C C3 20 38 */ and r3, r6, r4 +/* 80048BF0 00045B50 7C 63 22 78 */ xor r3, r3, r4 +/* 80048BF4 00045B54 7C 00 22 78 */ xor r0, r0, r4 +/* 80048BF8 00045B58 7C 60 03 79 */ or. r0, r3, r0 +/* 80048BFC 00045B5C 41 82 00 08 */ beq lbl_80048C04 +/* 80048C00 00045B60 38 80 00 01 */ li r4, 1 +lbl_80048C04: +/* 80048C04 00045B64 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80048C08 00045B68 40 82 00 78 */ bne lbl_80048C80 +/* 80048C0C 00045B6C 3C 00 00 08 */ lis r0, 8 +/* 80048C10 00045B70 38 80 00 00 */ li r4, 0 +/* 80048C14 00045B74 7C C3 00 38 */ and r3, r6, r0 +/* 80048C18 00045B78 7C A0 20 38 */ and r0, r5, r4 +/* 80048C1C 00045B7C 7C 63 22 78 */ xor r3, r3, r4 +/* 80048C20 00045B80 7C 00 22 78 */ xor r0, r0, r4 +/* 80048C24 00045B84 7C 60 03 79 */ or. r0, r3, r0 +/* 80048C28 00045B88 41 82 00 58 */ beq lbl_80048C80 +/* 80048C2C 00045B8C 4B FD 29 09 */ bl Identity__10CAxisAngleFv +/* 80048C30 00045B90 7C 65 1B 78 */ mr r5, r3 +/* 80048C34 00045B94 7F E3 FB 78 */ mr r3, r31 +/* 80048C38 00045B98 38 81 00 20 */ addi r4, r1, 0x20 +/* 80048C3C 00045B9C 48 0D 37 5D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 80048C40 00045BA0 48 00 00 40 */ b lbl_80048C80 +lbl_80048C44: +/* 80048C44 00045BA4 28 03 00 00 */ cmplwi r3, 0 +/* 80048C48 00045BA8 41 82 00 38 */ beq lbl_80048C80 +/* 80048C4C 00045BAC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80048C50 00045BB0 7F A4 EB 78 */ mr r4, r29 +/* 80048C54 00045BB4 7F 45 D3 78 */ mr r5, r26 +/* 80048C58 00045BB8 7F 86 E3 78 */ mr r6, r28 +/* 80048C5C 00045BBC FC 00 E8 00 */ fcmpu cr0, f0, f29 +/* 80048C60 00045BC0 FC 20 F0 90 */ fmr f1, f30 +/* 80048C64 00045BC4 7C 00 00 26 */ mfcr r0 +/* 80048C68 00045BC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80048C6C 00045BCC 54 07 1F FE */ rlwinm r7, r0, 3, 0x1f, 0x1f +/* 80048C70 00045BD0 39 00 00 00 */ li r8, 0 +/* 80048C74 00045BD4 81 8C 00 88 */ lwz r12, 0x88(r12) +/* 80048C78 00045BD8 7D 89 03 A6 */ mtctr r12 +/* 80048C7C 00045BDC 4E 80 04 21 */ bctrl +lbl_80048C80: +/* 80048C80 00045BE0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80048C84 00045BE4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80048C88 00045BE8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80048C8C 00045BEC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80048C90 00045BF0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80048C94 00045BF4 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80048C98 00045BF8 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 80048C9C 00045BFC 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80048CA0 00045C00 7C 08 03 A6 */ mtlr r0 +/* 80048CA4 00045C04 38 21 00 80 */ addi r1, r1, 0x80 +/* 80048CA8 00045C08 4E 80 00 20 */ blr + +.global ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter +ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter: +/* 80048CAC 00045C0C 94 21 F7 10 */ stwu r1, -0x8f0(r1) +/* 80048CB0 00045C10 7C 08 02 A6 */ mflr r0 +/* 80048CB4 00045C14 90 01 08 F4 */ stw r0, 0x8f4(r1) +/* 80048CB8 00045C18 BE 61 08 BC */ stmw r19, 0x8bc(r1) +/* 80048CBC 00045C1C 7C 73 1B 78 */ mr r19, r3 +/* 80048CC0 00045C20 7C 94 23 78 */ mr r20, r4 +/* 80048CC4 00045C24 7C B5 2B 78 */ mr r21, r5 +/* 80048CC8 00045C28 7C F7 3B 78 */ mr r23, r7 +/* 80048CCC 00045C2C 7C D6 33 78 */ mr r22, r6 +/* 80048CD0 00045C30 38 81 00 70 */ addi r4, r1, 0x70 +/* 80048CD4 00045C34 38 A1 00 64 */ addi r5, r1, 0x64 +/* 80048CD8 00045C38 C0 27 00 10 */ lfs f1, 0x10(r7) +/* 80048CDC 00045C3C C0 66 00 04 */ lfs f3, 4(r6) +/* 80048CE0 00045C40 FC C0 08 50 */ fneg f6, f1 +/* 80048CE4 00045C44 C0 46 00 08 */ lfs f2, 8(r6) +/* 80048CE8 00045C48 C0 06 00 00 */ lfs f0, 0(r6) +/* 80048CEC 00045C4C EC A3 08 2A */ fadds f5, f3, f1 +/* 80048CF0 00045C50 EC 82 08 2A */ fadds f4, f2, f1 +/* 80048CF4 00045C54 81 28 00 00 */ lwz r9, 0(r8) +/* 80048CF8 00045C58 EC 20 08 2A */ fadds f1, f0, f1 +/* 80048CFC 00045C5C 80 68 00 04 */ lwz r3, 4(r8) +/* 80048D00 00045C60 EC 63 30 2A */ fadds f3, f3, f6 +/* 80048D04 00045C64 80 C8 00 08 */ lwz r6, 8(r8) +/* 80048D08 00045C68 EC 42 30 2A */ fadds f2, f2, f6 +/* 80048D0C 00045C6C 80 E8 00 0C */ lwz r7, 0xc(r8) +/* 80048D10 00045C70 EC 00 30 2A */ fadds f0, f0, f6 +/* 80048D14 00045C74 80 08 00 10 */ lwz r0, 0x10(r8) +/* 80048D18 00045C78 90 61 00 9C */ stw r3, 0x9c(r1) +/* 80048D1C 00045C7C 38 61 00 7C */ addi r3, r1, 0x7c +/* 80048D20 00045C80 91 21 00 98 */ stw r9, 0x98(r1) +/* 80048D24 00045C84 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 80048D28 00045C88 90 C1 00 A0 */ stw r6, 0xa0(r1) +/* 80048D2C 00045C8C 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80048D30 00045C90 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80048D34 00045C94 D0 A1 00 68 */ stfs f5, 0x68(r1) +/* 80048D38 00045C98 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 80048D3C 00045C9C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80048D40 00045CA0 D0 61 00 74 */ stfs f3, 0x74(r1) +/* 80048D44 00045CA4 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80048D48 00045CA8 48 2E F7 C1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80048D4C 00045CAC 7E A4 AB 78 */ mr r4, r21 +/* 80048D50 00045CB0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80048D54 00045CB4 48 05 CB 45 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" +/* 80048D58 00045CB8 83 A3 00 04 */ lwz r29, 4(r3) +/* 80048D5C 00045CBC 3B 00 00 00 */ li r24, 0 +/* 80048D60 00045CC0 28 1D 00 00 */ cmplwi r29, 0 +/* 80048D64 00045CC4 41 82 00 2C */ beq lbl_80048D90 +/* 80048D68 00045CC8 80 9D 00 E8 */ lwz r4, 0xe8(r29) +/* 80048D6C 00045CCC 38 60 00 00 */ li r3, 0 +/* 80048D70 00045CD0 54 80 05 EE */ rlwinm r0, r4, 0, 0x17, 0x17 +/* 80048D74 00045CD4 2C 00 01 00 */ cmpwi r0, 0x100 +/* 80048D78 00045CD8 41 82 00 10 */ beq lbl_80048D88 +/* 80048D7C 00045CDC 54 80 05 AC */ rlwinm r0, r4, 0, 0x16, 0x16 +/* 80048D80 00045CE0 2C 00 02 00 */ cmpwi r0, 0x200 +/* 80048D84 00045CE4 40 82 00 08 */ bne lbl_80048D8C +lbl_80048D88: +/* 80048D88 00045CE8 38 60 00 01 */ li r3, 1 +lbl_80048D8C: +/* 80048D8C 00045CEC 7C 78 1B 78 */ mr r24, r3 +lbl_80048D90: +/* 80048D90 00045CF0 38 00 00 00 */ li r0, 0 +/* 80048D94 00045CF4 7E 63 9B 78 */ mr r3, r19 +/* 80048D98 00045CF8 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80048D9C 00045CFC 7E A7 AB 78 */ mr r7, r21 +/* 80048DA0 00045D00 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80048DA4 00045D04 38 A1 00 7C */ addi r5, r1, 0x7c +/* 80048DA8 00045D08 38 C1 00 98 */ addi r6, r1, 0x98 +/* 80048DAC 00045D0C 48 00 39 75 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80048DB0 00045D10 3B C1 00 B4 */ addi r30, r1, 0xb4 +/* 80048DB4 00045D14 57 1F 06 3E */ clrlwi r31, r24, 0x18 +/* 80048DB8 00045D18 7F DC F3 78 */ mr r28, r30 +/* 80048DBC 00045D1C 48 00 01 DC */ b lbl_80048F98 +lbl_80048DC0: +/* 80048DC0 00045D20 A0 1C 00 00 */ lhz r0, 0(r28) +/* 80048DC4 00045D24 7E 63 9B 78 */ mr r3, r19 +/* 80048DC8 00045D28 38 81 00 10 */ addi r4, r1, 0x10 +/* 80048DCC 00045D2C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80048DD0 00045D30 48 00 37 A5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80048DD4 00045D34 7C 60 1B 78 */ mr r0, r3 +/* 80048DD8 00045D38 38 61 00 34 */ addi r3, r1, 0x34 +/* 80048DDC 00045D3C 7C 1B 03 78 */ mr r27, r0 +/* 80048DE0 00045D40 7F 64 DB 78 */ mr r4, r27 +/* 80048DE4 00045D44 48 06 35 B1 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 80048DE8 00045D48 83 43 00 04 */ lwz r26, 4(r3) +/* 80048DEC 00045D4C 7E 63 9B 78 */ mr r3, r19 +/* 80048DF0 00045D50 A0 1C 00 00 */ lhz r0, 0(r28) +/* 80048DF4 00045D54 38 81 00 0C */ addi r4, r1, 0xc +/* 80048DF8 00045D58 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80048DFC 00045D5C 48 00 37 79 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80048E00 00045D60 7C 64 1B 78 */ mr r4, r3 +/* 80048E04 00045D64 38 61 00 2C */ addi r3, r1, 0x2c +/* 80048E08 00045D68 48 05 CE 09 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" +/* 80048E0C 00045D6C 83 23 00 04 */ lwz r25, 4(r3) +/* 80048E10 00045D70 7E 63 9B 78 */ mr r3, r19 +/* 80048E14 00045D74 A0 1C 00 00 */ lhz r0, 0(r28) +/* 80048E18 00045D78 38 81 00 08 */ addi r4, r1, 8 +/* 80048E1C 00045D7C B0 01 00 08 */ sth r0, 8(r1) +/* 80048E20 00045D80 48 00 37 55 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80048E24 00045D84 7C 64 1B 78 */ mr r4, r3 +/* 80048E28 00045D88 38 61 00 24 */ addi r3, r1, 0x24 +/* 80048E2C 00045D8C 48 05 D4 0D */ bl "__ct__29TCastToPtr<15CSnakeWeedSwarm>FP7CEntity" +/* 80048E30 00045D90 28 1F 00 00 */ cmplwi r31, 0 +/* 80048E34 00045D94 83 03 00 04 */ lwz r24, 4(r3) +/* 80048E38 00045D98 41 82 00 94 */ beq lbl_80048ECC +/* 80048E3C 00045D9C 28 1A 00 00 */ cmplwi r26, 0 +/* 80048E40 00045DA0 41 82 00 8C */ beq lbl_80048ECC +/* 80048E44 00045DA4 7F 43 D3 78 */ mr r3, r26 +/* 80048E48 00045DA8 4B FC CE B5 */ bl GetFrozenState__7CPlayerCFv +/* 80048E4C 00045DAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80048E50 00045DB0 41 82 00 58 */ beq lbl_80048EA8 +/* 80048E54 00045DB4 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80048E58 00045DB8 38 63 00 A8 */ addi r3, r3, 0xa8 +/* 80048E5C 00045DBC 48 18 C4 15 */ bl IncrementFrozenBallCount__14CSystemOptionsFv +/* 80048E60 00045DC0 38 61 00 54 */ addi r3, r1, 0x54 +/* 80048E64 00045DC4 38 8D 82 A4 */ addi r4, r13, lbl_805A6E64@sda21 +/* 80048E68 00045DC8 4B FC CB 89 */ bl wstring_l__4rstlFPCw +/* 80048E6C 00045DCC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80048E70 00045DD0 38 00 00 01 */ li r0, 1 +/* 80048E74 00045DD4 98 01 00 20 */ stb r0, 0x20(r1) +/* 80048E78 00045DD8 38 61 00 54 */ addi r3, r1, 0x54 +/* 80048E7C 00045DDC 38 81 00 1C */ addi r4, r1, 0x1c +/* 80048E80 00045DE0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80048E84 00045DE4 98 01 00 21 */ stb r0, 0x21(r1) +/* 80048E88 00045DE8 98 01 00 22 */ stb r0, 0x22(r1) +/* 80048E8C 00045DEC 48 02 2D DD */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo +/* 80048E90 00045DF0 38 61 00 54 */ addi r3, r1, 0x54 +/* 80048E94 00045DF4 48 2F 42 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80048E98 00045DF8 7F 43 D3 78 */ mr r3, r26 +/* 80048E9C 00045DFC 7E 64 9B 78 */ mr r4, r19 +/* 80048EA0 00045E00 4B FC CB 8D */ bl UnFreeze__7CPlayerFR13CStateManager +/* 80048EA4 00045E04 48 00 00 88 */ b lbl_80048F2C +lbl_80048EA8: +/* 80048EA8 00045E08 80 1D 00 E8 */ lwz r0, 0xe8(r29) +/* 80048EAC 00045E0C 54 00 05 EE */ rlwinm r0, r0, 0, 0x17, 0x17 +/* 80048EB0 00045E10 2C 00 01 00 */ cmpwi r0, 0x100 +/* 80048EB4 00045E14 40 82 00 78 */ bne lbl_80048F2C +/* 80048EB8 00045E18 7F 43 D3 78 */ mr r3, r26 +/* 80048EBC 00045E1C 7E C4 B3 78 */ mr r4, r22 +/* 80048EC0 00045E20 7E 65 9B 78 */ mr r5, r19 +/* 80048EC4 00045E24 48 23 C5 29 */ bl BombJump__7CPlayerFRC9CVector3fR13CStateManager +/* 80048EC8 00045E28 48 00 00 64 */ b lbl_80048F2C +lbl_80048ECC: +/* 80048ECC 00045E2C 28 1B 00 00 */ cmplwi r27, 0 +/* 80048ED0 00045E30 41 82 00 5C */ beq lbl_80048F2C +/* 80048ED4 00045E34 A0 7B 00 08 */ lhz r3, 8(r27) +/* 80048ED8 00045E38 A0 14 00 00 */ lhz r0, 0(r20) +/* 80048EDC 00045E3C 7C 03 00 40 */ cmplw r3, r0 +/* 80048EE0 00045E40 41 82 00 4C */ beq lbl_80048F2C +/* 80048EE4 00045E44 7E 63 9B 78 */ mr r3, r19 +/* 80048EE8 00045E48 7E A4 AB 78 */ mr r4, r21 +/* 80048EEC 00045E4C 7E C5 B3 78 */ mr r5, r22 +/* 80048EF0 00045E50 7F 66 DB 78 */ mr r6, r27 +/* 80048EF4 00045E54 48 00 0B D9 */ bl TestBombHittingWater__13CStateManagerFRC6CActorRC9CVector3fR6CActor +/* 80048EF8 00045E58 7E 63 9B 78 */ mr r3, r19 +/* 80048EFC 00045E5C 7E C4 B3 78 */ mr r4, r22 +/* 80048F00 00045E60 7F 65 DB 78 */ mr r5, r27 +/* 80048F04 00045E64 38 C1 00 B0 */ addi r6, r1, 0xb0 +/* 80048F08 00045E68 48 00 05 D9 */ bl "TestRayDamage__13CStateManagerRC9CVector3fRC6CActorRCQ24rstl49reserved_vector<9TUniqueId,1024>" +/* 80048F0C 00045E6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80048F10 00045E70 41 82 00 1C */ beq lbl_80048F2C +/* 80048F14 00045E74 7E 63 9B 78 */ mr r3, r19 +/* 80048F18 00045E78 7E A4 AB 78 */ mr r4, r21 +/* 80048F1C 00045E7C 7E C5 B3 78 */ mr r5, r22 +/* 80048F20 00045E80 7F 66 DB 78 */ mr r6, r27 +/* 80048F24 00045E84 7E E7 BB 78 */ mr r7, r23 +/* 80048F28 00045E88 48 00 02 C5 */ bl ApplyRadiusDamage__13CStateManagerFRC6CActorRC9CVector3fR6CActorRC11CDamageInfo +lbl_80048F2C: +/* 80048F2C 00045E8C 28 19 00 00 */ cmplwi r25, 0 +/* 80048F30 00045E90 41 82 00 30 */ beq lbl_80048F60 +/* 80048F34 00045E94 80 96 00 00 */ lwz r4, 0(r22) +/* 80048F38 00045E98 7F 23 CB 78 */ mr r3, r25 +/* 80048F3C 00045E9C 80 F6 00 04 */ lwz r7, 4(r22) +/* 80048F40 00045EA0 7E E5 BB 78 */ mr r5, r23 +/* 80048F44 00045EA4 80 16 00 08 */ lwz r0, 8(r22) +/* 80048F48 00045EA8 7E 66 9B 78 */ mr r6, r19 +/* 80048F4C 00045EAC 90 81 00 48 */ stw r4, 0x48(r1) +/* 80048F50 00045EB0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80048F54 00045EB4 90 E1 00 4C */ stw r7, 0x4c(r1) +/* 80048F58 00045EB8 90 01 00 50 */ stw r0, 0x50(r1) +/* 80048F5C 00045EBC 48 19 F9 15 */ bl ApplyRadiusDamage__17CWallCrawlerSwarmF9CVector3ffR13CStateManager +lbl_80048F60: +/* 80048F60 00045EC0 28 18 00 00 */ cmplwi r24, 0 +/* 80048F64 00045EC4 41 82 00 30 */ beq lbl_80048F94 +/* 80048F68 00045EC8 80 96 00 00 */ lwz r4, 0(r22) +/* 80048F6C 00045ECC 7F 03 C3 78 */ mr r3, r24 +/* 80048F70 00045ED0 80 F6 00 04 */ lwz r7, 4(r22) +/* 80048F74 00045ED4 7E E5 BB 78 */ mr r5, r23 +/* 80048F78 00045ED8 80 16 00 08 */ lwz r0, 8(r22) +/* 80048F7C 00045EDC 7E 66 9B 78 */ mr r6, r19 +/* 80048F80 00045EE0 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80048F84 00045EE4 38 81 00 3C */ addi r4, r1, 0x3c +/* 80048F88 00045EE8 90 E1 00 40 */ stw r7, 0x40(r1) +/* 80048F8C 00045EEC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80048F90 00045EF0 48 1F 3A 75 */ bl ApplyRadiusDamage__15CSnakeWeedSwarmF9CVector3ffR13CStateManager +lbl_80048F94: +/* 80048F94 00045EF4 3B 9C 00 02 */ addi r28, r28, 2 +lbl_80048F98: +/* 80048F98 00045EF8 80 A1 00 B0 */ lwz r5, 0xb0(r1) +/* 80048F9C 00045EFC 54 A0 08 3C */ slwi r0, r5, 1 +/* 80048FA0 00045F00 7C 1E 02 14 */ add r0, r30, r0 +/* 80048FA4 00045F04 7C 1C 00 40 */ cmplw r28, r0 +/* 80048FA8 00045F08 40 82 FE 18 */ bne lbl_80048DC0 +/* 80048FAC 00045F0C 2C 05 00 00 */ cmpwi r5, 0 +/* 80048FB0 00045F10 38 60 00 00 */ li r3, 0 +/* 80048FB4 00045F14 40 81 00 40 */ ble lbl_80048FF4 +/* 80048FB8 00045F18 2C 05 00 08 */ cmpwi r5, 8 +/* 80048FBC 00045F1C 38 85 FF F8 */ addi r4, r5, -8 +/* 80048FC0 00045F20 40 81 00 20 */ ble lbl_80048FE0 +/* 80048FC4 00045F24 38 04 00 07 */ addi r0, r4, 7 +/* 80048FC8 00045F28 54 00 E8 FE */ srwi r0, r0, 3 +/* 80048FCC 00045F2C 7C 09 03 A6 */ mtctr r0 +/* 80048FD0 00045F30 2C 04 00 00 */ cmpwi r4, 0 +/* 80048FD4 00045F34 40 81 00 0C */ ble lbl_80048FE0 +lbl_80048FD8: +/* 80048FD8 00045F38 38 63 00 08 */ addi r3, r3, 8 +/* 80048FDC 00045F3C 42 00 FF FC */ bdnz lbl_80048FD8 +lbl_80048FE0: +/* 80048FE0 00045F40 7C 03 28 50 */ subf r0, r3, r5 +/* 80048FE4 00045F44 7C 09 03 A6 */ mtctr r0 +/* 80048FE8 00045F48 7C 03 28 00 */ cmpw r3, r5 +/* 80048FEC 00045F4C 40 80 00 08 */ bge lbl_80048FF4 +lbl_80048FF0: +/* 80048FF0 00045F50 42 00 00 00 */ bdnz lbl_80048FF0 +lbl_80048FF4: +/* 80048FF4 00045F54 38 00 00 00 */ li r0, 0 +/* 80048FF8 00045F58 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80048FFC 00045F5C BA 61 08 BC */ lmw r19, 0x8bc(r1) +/* 80049000 00045F60 80 01 08 F4 */ lwz r0, 0x8f4(r1) +/* 80049004 00045F64 7C 08 03 A6 */ mtlr r0 +/* 80049008 00045F68 38 21 08 F0 */ addi r1, r1, 0x8f0 +/* 8004900C 00045F6C 4E 80 00 20 */ blr + +.global ProcessRadiusDamage__13CStateManagerFRC6CActorR6CActor9TUniqueIdRC11CDamageInfoRC15CMaterialFilter +ProcessRadiusDamage__13CStateManagerFRC6CActorR6CActor9TUniqueIdRC11CDamageInfoRC15CMaterialFilter: +/* 80049010 00045F70 94 21 F7 70 */ stwu r1, -0x890(r1) +/* 80049014 00045F74 7C 08 02 A6 */ mflr r0 +/* 80049018 00045F78 90 01 08 94 */ stw r0, 0x894(r1) +/* 8004901C 00045F7C BE E1 08 6C */ stmw r23, 0x86c(r1) +/* 80049020 00045F80 7C 9D 23 78 */ mr r29, r4 +/* 80049024 00045F84 7C DE 33 78 */ mr r30, r6 +/* 80049028 00045F88 7C 7C 1B 78 */ mr r28, r3 +/* 8004902C 00045F8C 7C FF 3B 78 */ mr r31, r7 +/* 80049030 00045F90 38 61 00 30 */ addi r3, r1, 0x30 +/* 80049034 00045F94 C0 07 00 10 */ lfs f0, 0x10(r7) +/* 80049038 00045F98 81 28 00 00 */ lwz r9, 0(r8) +/* 8004903C 00045F9C 81 48 00 04 */ lwz r10, 4(r8) +/* 80049040 00045FA0 FD 20 00 50 */ fneg f9, f0 +/* 80049044 00045FA4 C0 E4 00 50 */ lfs f7, 0x50(r4) +/* 80049048 00045FA8 C1 04 00 60 */ lfs f8, 0x60(r4) +/* 8004904C 00045FAC 38 81 00 18 */ addi r4, r1, 0x18 +/* 80049050 00045FB0 C0 7D 00 40 */ lfs f3, 0x40(r29) +/* 80049054 00045FB4 EC A7 00 2A */ fadds f5, f7, f0 +/* 80049058 00045FB8 80 C8 00 08 */ lwz r6, 8(r8) +/* 8004905C 00045FBC EC 88 00 2A */ fadds f4, f8, f0 +/* 80049060 00045FC0 80 E8 00 0C */ lwz r7, 0xc(r8) +/* 80049064 00045FC4 EC C3 00 2A */ fadds f6, f3, f0 +/* 80049068 00045FC8 80 08 00 10 */ lwz r0, 0x10(r8) +/* 8004906C 00045FCC 91 41 00 4C */ stw r10, 0x4c(r1) +/* 80049070 00045FD0 EC 43 48 2A */ fadds f2, f3, f9 +/* 80049074 00045FD4 EC 27 48 2A */ fadds f1, f7, f9 +/* 80049078 00045FD8 A3 7D 00 08 */ lhz r27, 8(r29) +/* 8004907C 00045FDC 91 21 00 48 */ stw r9, 0x48(r1) +/* 80049080 00045FE0 EC 08 48 2A */ fadds f0, f8, f9 +/* 80049084 00045FE4 90 E1 00 54 */ stw r7, 0x54(r1) +/* 80049088 00045FE8 90 C1 00 50 */ stw r6, 0x50(r1) +/* 8004908C 00045FEC 90 01 00 58 */ stw r0, 0x58(r1) +/* 80049090 00045FF0 A3 45 00 08 */ lhz r26, 8(r5) +/* 80049094 00045FF4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80049098 00045FF8 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8004909C 00045FFC D0 E1 00 28 */ stfs f7, 0x28(r1) +/* 800490A0 00046000 D1 01 00 2C */ stfs f8, 0x2c(r1) +/* 800490A4 00046004 D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 800490A8 00046008 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 800490AC 0004600C D0 81 00 14 */ stfs f4, 0x14(r1) +/* 800490B0 00046010 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800490B4 00046014 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800490B8 00046018 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800490BC 0004601C 48 2E F4 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800490C0 00046020 38 00 00 00 */ li r0, 0 +/* 800490C4 00046024 7F 83 E3 78 */ mr r3, r28 +/* 800490C8 00046028 90 01 00 60 */ stw r0, 0x60(r1) +/* 800490CC 0004602C 38 81 00 60 */ addi r4, r1, 0x60 +/* 800490D0 00046030 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800490D4 00046034 38 C1 00 48 */ addi r6, r1, 0x48 +/* 800490D8 00046038 38 E0 00 00 */ li r7, 0 +/* 800490DC 0004603C 48 00 36 45 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 800490E0 00046040 3B 21 00 64 */ addi r25, r1, 0x64 +/* 800490E4 00046044 7F 38 CB 78 */ mr r24, r25 +/* 800490E8 00046048 48 00 00 8C */ b lbl_80049174 +lbl_800490EC: +/* 800490EC 0004604C A0 18 00 00 */ lhz r0, 0(r24) +/* 800490F0 00046050 7F 83 E3 78 */ mr r3, r28 +/* 800490F4 00046054 38 81 00 08 */ addi r4, r1, 8 +/* 800490F8 00046058 B0 01 00 08 */ sth r0, 8(r1) +/* 800490FC 0004605C 48 00 34 79 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80049100 00046060 7C 77 1B 79 */ or. r23, r3, r3 +/* 80049104 00046064 41 82 00 6C */ beq lbl_80049170 +/* 80049108 00046068 A0 77 00 08 */ lhz r3, 8(r23) +/* 8004910C 0004606C 7C 1B 18 40 */ cmplw r27, r3 +/* 80049110 00046070 41 82 00 60 */ beq lbl_80049170 +/* 80049114 00046074 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80049118 00046078 7C 00 18 40 */ cmplw r0, r3 +/* 8004911C 0004607C 41 82 00 54 */ beq lbl_80049170 +/* 80049120 00046080 7C 1A 18 40 */ cmplw r26, r3 +/* 80049124 00046084 41 82 00 4C */ beq lbl_80049170 +/* 80049128 00046088 7F 83 E3 78 */ mr r3, r28 +/* 8004912C 0004608C 7F A4 EB 78 */ mr r4, r29 +/* 80049130 00046090 7E E6 BB 78 */ mr r6, r23 +/* 80049134 00046094 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80049138 00046098 48 00 09 95 */ bl TestBombHittingWater__13CStateManagerFRC6CActorRC9CVector3fR6CActor +/* 8004913C 0004609C 7F 83 E3 78 */ mr r3, r28 +/* 80049140 000460A0 7E E5 BB 78 */ mr r5, r23 +/* 80049144 000460A4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80049148 000460A8 38 C1 00 60 */ addi r6, r1, 0x60 +/* 8004914C 000460AC 48 00 03 95 */ bl "TestRayDamage__13CStateManagerRC9CVector3fRC6CActorRCQ24rstl49reserved_vector<9TUniqueId,1024>" +/* 80049150 000460B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80049154 000460B4 41 82 00 1C */ beq lbl_80049170 +/* 80049158 000460B8 7F 83 E3 78 */ mr r3, r28 +/* 8004915C 000460BC 7F A4 EB 78 */ mr r4, r29 +/* 80049160 000460C0 7E E6 BB 78 */ mr r6, r23 +/* 80049164 000460C4 7F E7 FB 78 */ mr r7, r31 +/* 80049168 000460C8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8004916C 000460CC 48 00 00 81 */ bl ApplyRadiusDamage__13CStateManagerFRC6CActorRC9CVector3fR6CActorRC11CDamageInfo +lbl_80049170: +/* 80049170 000460D0 3B 18 00 02 */ addi r24, r24, 2 +lbl_80049174: +/* 80049174 000460D4 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 80049178 000460D8 54 A0 08 3C */ slwi r0, r5, 1 +/* 8004917C 000460DC 7C 19 02 14 */ add r0, r25, r0 +/* 80049180 000460E0 7C 18 00 40 */ cmplw r24, r0 +/* 80049184 000460E4 40 82 FF 68 */ bne lbl_800490EC +/* 80049188 000460E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8004918C 000460EC 38 60 00 00 */ li r3, 0 +/* 80049190 000460F0 40 81 00 40 */ ble lbl_800491D0 +/* 80049194 000460F4 2C 05 00 08 */ cmpwi r5, 8 +/* 80049198 000460F8 38 85 FF F8 */ addi r4, r5, -8 +/* 8004919C 000460FC 40 81 00 20 */ ble lbl_800491BC +/* 800491A0 00046100 38 04 00 07 */ addi r0, r4, 7 +/* 800491A4 00046104 54 00 E8 FE */ srwi r0, r0, 3 +/* 800491A8 00046108 7C 09 03 A6 */ mtctr r0 +/* 800491AC 0004610C 2C 04 00 00 */ cmpwi r4, 0 +/* 800491B0 00046110 40 81 00 0C */ ble lbl_800491BC +lbl_800491B4: +/* 800491B4 00046114 38 63 00 08 */ addi r3, r3, 8 +/* 800491B8 00046118 42 00 FF FC */ bdnz lbl_800491B4 +lbl_800491BC: +/* 800491BC 0004611C 7C 03 28 50 */ subf r0, r3, r5 +/* 800491C0 00046120 7C 09 03 A6 */ mtctr r0 +/* 800491C4 00046124 7C 03 28 00 */ cmpw r3, r5 +/* 800491C8 00046128 40 80 00 08 */ bge lbl_800491D0 +lbl_800491CC: +/* 800491CC 0004612C 42 00 00 00 */ bdnz lbl_800491CC +lbl_800491D0: +/* 800491D0 00046130 38 00 00 00 */ li r0, 0 +/* 800491D4 00046134 90 01 00 60 */ stw r0, 0x60(r1) +/* 800491D8 00046138 BA E1 08 6C */ lmw r23, 0x86c(r1) +/* 800491DC 0004613C 80 01 08 94 */ lwz r0, 0x894(r1) +/* 800491E0 00046140 7C 08 03 A6 */ mtlr r0 +/* 800491E4 00046144 38 21 08 90 */ addi r1, r1, 0x890 +/* 800491E8 00046148 4E 80 00 20 */ blr + +.global ApplyRadiusDamage__13CStateManagerFRC6CActorRC9CVector3fR6CActorRC11CDamageInfo +ApplyRadiusDamage__13CStateManagerFRC6CActorRC9CVector3fR6CActorRC11CDamageInfo: +/* 800491EC 0004614C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800491F0 00046150 7C 08 02 A6 */ mflr r0 +/* 800491F4 00046154 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800491F8 00046158 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 800491FC 0004615C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80049200 00046160 BF 21 00 94 */ stmw r25, 0x94(r1) +/* 80049204 00046164 7C B9 2B 78 */ mr r25, r5 +/* 80049208 00046168 7C DA 33 78 */ mr r26, r6 +/* 8004920C 0004616C C0 66 00 50 */ lfs f3, 0x50(r6) +/* 80049210 00046170 7C FB 3B 78 */ mr r27, r7 +/* 80049214 00046174 C0 45 00 04 */ lfs f2, 4(r5) +/* 80049218 00046178 7C 7E 1B 78 */ mr r30, r3 +/* 8004921C 0004617C C0 26 00 40 */ lfs f1, 0x40(r6) +/* 80049220 00046180 7C 9F 23 78 */ mr r31, r4 +/* 80049224 00046184 C0 05 00 00 */ lfs f0, 0(r5) +/* 80049228 00046188 EC A3 10 28 */ fsubs f5, f3, f2 +/* 8004922C 0004618C C0 66 00 60 */ lfs f3, 0x60(r6) +/* 80049230 00046190 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80049234 00046194 C0 45 00 08 */ lfs f2, 8(r5) +/* 80049238 00046198 EC 25 01 72 */ fmuls f1, f5, f5 +/* 8004923C 0004619C C0 C7 00 10 */ lfs f6, 0x10(r7) +/* 80049240 000461A0 EC 83 10 28 */ fsubs f4, f3, f2 +/* 80049244 000461A4 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 80049248 000461A8 EC 40 00 32 */ fmuls f2, f0, f0 +/* 8004924C 000461AC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80049250 000461B0 EC 64 01 32 */ fmuls f3, f4, f4 +/* 80049254 000461B4 EC 06 01 B2 */ fmuls f0, f6, f6 +/* 80049258 000461B8 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 8004925C 000461BC EC 22 08 2A */ fadds f1, f2, f1 +/* 80049260 000461C0 EC 23 08 2A */ fadds f1, f3, f1 +/* 80049264 000461C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80049268 000461C8 41 80 00 84 */ blt lbl_800492EC +/* 8004926C 000461CC 7F 44 D3 78 */ mr r4, r26 +/* 80049270 000461D0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80049274 000461D4 81 9A 00 00 */ lwz r12, 0(r26) +/* 80049278 000461D8 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8004927C 000461DC 7D 89 03 A6 */ mtctr r12 +/* 80049280 000461E0 4E 80 04 21 */ bctrl +/* 80049284 000461E4 88 61 00 80 */ lbz r3, 0x80(r1) +/* 80049288 000461E8 38 00 00 00 */ li r0, 0 +/* 8004928C 000461EC 28 03 00 00 */ cmplwi r3, 0 +/* 80049290 000461F0 98 01 00 80 */ stb r0, 0x80(r1) +/* 80049294 000461F4 41 82 02 30 */ beq lbl_800494C4 +/* 80049298 000461F8 7F 44 D3 78 */ mr r4, r26 +/* 8004929C 000461FC 38 61 00 4C */ addi r3, r1, 0x4c +/* 800492A0 00046200 81 9A 00 00 */ lwz r12, 0(r26) +/* 800492A4 00046204 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 800492A8 00046208 7D 89 03 A6 */ mtctr r12 +/* 800492AC 0004620C 4E 80 04 21 */ bctrl +/* 800492B0 00046210 C0 7B 00 10 */ lfs f3, 0x10(r27) +/* 800492B4 00046214 38 61 00 24 */ addi r3, r1, 0x24 +/* 800492B8 00046218 C0 59 00 00 */ lfs f2, 0(r25) +/* 800492BC 0004621C 38 81 00 4C */ addi r4, r1, 0x4c +/* 800492C0 00046220 C0 39 00 04 */ lfs f1, 4(r25) +/* 800492C4 00046224 C0 19 00 08 */ lfs f0, 8(r25) +/* 800492C8 00046228 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 800492CC 0004622C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800492D0 00046230 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800492D4 00046234 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 800492D8 00046238 48 28 BF 25 */ bl Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox +/* 800492DC 0004623C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800492E0 00046240 38 60 00 00 */ li r3, 0 +/* 800492E4 00046244 98 61 00 64 */ stb r3, 0x64(r1) +/* 800492E8 00046248 41 82 01 DC */ beq lbl_800494C4 +lbl_800492EC: +/* 800492EC 0004624C C3 FB 00 10 */ lfs f31, 0x10(r27) +/* 800492F0 00046250 C0 02 85 88 */ lfs f0, lbl_805AA2A8@sda21(r2) +/* 800492F4 00046254 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800492F8 00046258 40 81 00 14 */ ble lbl_8004930C +/* 800492FC 0004625C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80049300 00046260 48 2C B5 B9 */ bl Magnitude__9CVector3fCFv +/* 80049304 00046264 EF E1 F8 24 */ fdivs f31, f1, f31 +/* 80049308 00046268 48 00 00 08 */ b lbl_80049310 +lbl_8004930C: +/* 8004930C 0004626C C3 E2 85 68 */ lfs f31, lbl_805AA288@sda21(r2) +lbl_80049310: +/* 80049310 00046270 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80049314 00046274 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80049318 00046278 40 81 00 0C */ ble lbl_80049324 +/* 8004931C 0004627C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80049320 00046280 48 2C B5 D9 */ bl Normalize__9CVector3fFv +lbl_80049324: +/* 80049324 00046284 7F 43 D3 78 */ mr r3, r26 +/* 80049328 00046288 7F C4 F3 78 */ mr r4, r30 +/* 8004932C 0004628C 81 9A 00 00 */ lwz r12, 0(r26) +/* 80049330 00046290 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80049334 00046294 7D 89 03 A6 */ mtctr r12 +/* 80049338 00046298 4E 80 04 21 */ bctrl +/* 8004933C 0004629C 28 03 00 00 */ cmplwi r3, 0 +/* 80049340 000462A0 3B A0 00 00 */ li r29, 0 +/* 80049344 000462A4 41 82 00 18 */ beq lbl_8004935C +/* 80049348 000462A8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8004934C 000462AC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80049350 000462B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80049354 000462B4 40 81 00 08 */ ble lbl_8004935C +/* 80049358 000462B8 3B A0 00 01 */ li r29, 1 +lbl_8004935C: +/* 8004935C 000462BC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80049360 000462C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80049364 000462C4 40 81 00 2C */ ble lbl_80049390 +/* 80049368 000462C8 7F 43 D3 78 */ mr r3, r26 +/* 8004936C 000462CC 7F 24 CB 78 */ mr r4, r25 +/* 80049370 000462D0 81 9A 00 00 */ lwz r12, 0(r26) +/* 80049374 000462D4 7F 66 DB 78 */ mr r6, r27 +/* 80049378 000462D8 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8004937C 000462DC 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80049380 000462E0 7D 89 03 A6 */ mtctr r12 +/* 80049384 000462E4 4E 80 04 21 */ bctrl +/* 80049388 000462E8 7C 7C 1B 78 */ mr r28, r3 +/* 8004938C 000462EC 48 00 00 1C */ b lbl_800493A8 +lbl_80049390: +/* 80049390 000462F0 7F 43 D3 78 */ mr r3, r26 +/* 80049394 000462F4 81 9A 00 00 */ lwz r12, 0(r26) +/* 80049398 000462F8 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8004939C 000462FC 7D 89 03 A6 */ mtctr r12 +/* 800493A0 00046300 4E 80 04 21 */ bctrl +/* 800493A4 00046304 7C 7C 1B 78 */ mr r28, r3 +lbl_800493A8: +/* 800493A8 00046308 7F 83 E3 78 */ mr r3, r28 +/* 800493AC 0004630C 7F 64 DB 78 */ mr r4, r27 +/* 800493B0 00046310 38 A0 00 01 */ li r5, 1 +/* 800493B4 00046314 48 0B 93 55 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 800493B8 00046318 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800493BC 0004631C 41 82 00 6C */ beq lbl_80049428 +/* 800493C0 00046320 7F 63 DB 78 */ mr r3, r27 +/* 800493C4 00046324 7F 84 E3 78 */ mr r4, r28 +/* 800493C8 00046328 48 07 A0 D1 */ bl GetRadiusDamage__11CDamageInfoCFRC20CDamageVulnerability +/* 800493CC 0004632C C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 800493D0 00046330 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800493D4 00046334 40 81 00 1C */ ble lbl_800493F0 +/* 800493D8 00046338 7F C3 F3 78 */ mr r3, r30 +/* 800493DC 0004633C 7F 24 CB 78 */ mr r4, r25 +/* 800493E0 00046340 7F 46 D3 78 */ mr r6, r26 +/* 800493E4 00046344 7F 67 DB 78 */ mr r7, r27 +/* 800493E8 00046348 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800493EC 0004634C 48 00 09 E9 */ bl ApplyLocalDamage__13CStateManagerFRC9CVector3fRC9CVector3fR6CActorfRC11CWeaponMode +lbl_800493F0: +/* 800493F0 00046350 7F 43 D3 78 */ mr r3, r26 +/* 800493F4 00046354 7F C5 F3 78 */ mr r5, r30 +/* 800493F8 00046358 38 80 00 16 */ li r4, 0x16 +/* 800493FC 0004635C 38 C0 FF FF */ li r6, -1 +/* 80049400 00046360 48 00 7C C1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80049404 00046364 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80049408 00046368 7F C3 F3 78 */ mr r3, r30 +/* 8004940C 0004636C 7F 44 D3 78 */ mr r4, r26 +/* 80049410 00046370 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80049414 00046374 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80049418 00046378 38 C0 00 29 */ li r6, 0x29 +/* 8004941C 0004637C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80049420 00046380 4B FF AA B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80049424 00046384 48 00 00 38 */ b lbl_8004945C +lbl_80049428: +/* 80049428 00046388 7F 43 D3 78 */ mr r3, r26 +/* 8004942C 0004638C 7F C5 F3 78 */ mr r5, r30 +/* 80049430 00046390 38 80 00 17 */ li r4, 0x17 +/* 80049434 00046394 38 C0 FF FF */ li r6, -1 +/* 80049438 00046398 48 00 7C 89 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8004943C 0004639C A0 1F 00 08 */ lhz r0, 8(r31) +/* 80049440 000463A0 7F C3 F3 78 */ mr r3, r30 +/* 80049444 000463A4 7F 44 D3 78 */ mr r4, r26 +/* 80049448 000463A8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8004944C 000463AC B0 01 00 08 */ sth r0, 8(r1) +/* 80049450 000463B0 38 C0 00 2A */ li r6, 0x2a +/* 80049454 000463B4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80049458 000463B8 4B FF AA 79 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_8004945C: +/* 8004945C 000463BC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80049460 000463C0 41 82 00 64 */ beq lbl_800494C4 +/* 80049464 000463C4 C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 80049468 000463C8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004946C 000463CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80049470 000463D0 40 81 00 54 */ ble lbl_800494C4 +/* 80049474 000463D4 C0 7A 00 50 */ lfs f3, 0x50(r26) +/* 80049478 000463D8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8004947C 000463DC C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80049480 000463E0 38 81 00 34 */ addi r4, r1, 0x34 +/* 80049484 000463E4 C0 5A 00 40 */ lfs f2, 0x40(r26) +/* 80049488 000463E8 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8004948C 000463EC EC 63 00 28 */ fsubs f3, f3, f0 +/* 80049490 000463F0 C0 02 85 F8 */ lfs f0, lbl_805AA318@sda21(r2) +/* 80049494 000463F4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80049498 000463F8 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 8004949C 000463FC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800494A0 00046400 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800494A4 00046404 48 2C B3 AD */ bl AsNormalized__9CVector3fCFv +/* 800494A8 00046408 FC 20 F8 90 */ fmr f1, f31 +/* 800494AC 0004640C 7F C3 F3 78 */ mr r3, r30 +/* 800494B0 00046410 7F 44 D3 78 */ mr r4, r26 +/* 800494B4 00046414 7F 65 DB 78 */ mr r5, r27 +/* 800494B8 00046418 7F 86 E3 78 */ mr r6, r28 +/* 800494BC 0004641C 38 E1 00 18 */ addi r7, r1, 0x18 +/* 800494C0 00046420 4B FF F5 D9 */ bl ApplyKnockBack__13CStateManagerFR6CActorRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ff +lbl_800494C4: +/* 800494C4 00046424 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 800494C8 00046428 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 800494CC 0004642C BB 21 00 94 */ lmw r25, 0x94(r1) +/* 800494D0 00046430 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800494D4 00046434 7C 08 03 A6 */ mtlr r0 +/* 800494D8 00046438 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800494DC 0004643C 4E 80 00 20 */ blr + +.global "TestRayDamage__13CStateManagerRC9CVector3fRC6CActorRCQ24rstl49reserved_vector<9TUniqueId,1024>" +"TestRayDamage__13CStateManagerRC9CVector3fRC6CActorRCQ24rstl49reserved_vector<9TUniqueId,1024>": +/* 800494E0 00046440 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 800494E4 00046444 7C 08 02 A6 */ mflr r0 +/* 800494E8 00046448 90 01 01 34 */ stw r0, 0x134(r1) +/* 800494EC 0004644C DB E1 01 20 */ stfd f31, 0x120(r1) +/* 800494F0 00046450 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 800494F4 00046454 BF 41 01 08 */ stmw r26, 0x108(r1) +/* 800494F8 00046458 7C BE 2B 78 */ mr r30, r5 +/* 800494FC 0004645C 7C 7C 1B 78 */ mr r28, r3 +/* 80049500 00046460 7F C3 F3 78 */ mr r3, r30 +/* 80049504 00046464 7C 9D 23 78 */ mr r29, r4 +/* 80049508 00046468 81 9E 00 00 */ lwz r12, 0(r30) +/* 8004950C 0004646C 7C DF 33 78 */ mr r31, r6 +/* 80049510 00046470 7F 84 E3 78 */ mr r4, r28 +/* 80049514 00046474 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80049518 00046478 7D 89 03 A6 */ mtctr r12 +/* 8004951C 0004647C 4E 80 04 21 */ bctrl +/* 80049520 00046480 28 03 00 00 */ cmplwi r3, 0 +/* 80049524 00046484 40 82 00 0C */ bne lbl_80049530 +/* 80049528 00046488 38 60 00 00 */ li r3, 0 +/* 8004952C 0004648C 48 00 03 90 */ b lbl_800498BC +lbl_80049530: +/* 80049530 00046490 88 0D A1 E1 */ lbz r0, lbl_805A8DA1@sda21(r13) +/* 80049534 00046494 7C 00 07 75 */ extsb. r0, r0 +/* 80049538 00046498 40 82 00 24 */ bne lbl_8004955C +/* 8004953C 0004649C 80 AD 82 74 */ lwz r5, lbl_805A6E34@sda21(r13) +/* 80049540 000464A0 38 60 00 00 */ li r3, 0 +/* 80049544 000464A4 38 80 00 01 */ li r4, 1 +/* 80049548 000464A8 48 34 09 AD */ bl __shl2i +/* 8004954C 000464AC 38 00 00 01 */ li r0, 1 +/* 80049550 000464B0 90 8D A1 EC */ stw r4, lbl_805A8DAC@sda21(r13) +/* 80049554 000464B4 90 6D A1 E8 */ stw r3, lbl_805A8DA8@sda21(r13) +/* 80049558 000464B8 98 0D A1 E1 */ stb r0, lbl_805A8DA1@sda21(r13) +lbl_8004955C: +/* 8004955C 000464BC 88 0D A1 F0 */ lbz r0, lbl_805A8DB0@sda21(r13) +/* 80049560 000464C0 7C 00 07 75 */ extsb. r0, r0 +/* 80049564 000464C4 40 82 00 74 */ bne lbl_800495D8 +/* 80049568 000464C8 80 AD 82 78 */ lwz r5, lbl_805A6E38@sda21(r13) +/* 8004956C 000464CC 38 60 00 00 */ li r3, 0 +/* 80049570 000464D0 38 80 00 01 */ li r4, 1 +/* 80049574 000464D4 48 34 09 81 */ bl __shl2i +/* 80049578 000464D8 80 AD 82 7C */ lwz r5, lbl_805A6E3C@sda21(r13) +/* 8004957C 000464DC 7C 9A 23 78 */ mr r26, r4 +/* 80049580 000464E0 7C 7B 1B 78 */ mr r27, r3 +/* 80049584 000464E4 38 60 00 00 */ li r3, 0 +/* 80049588 000464E8 38 80 00 01 */ li r4, 1 +/* 8004958C 000464EC 48 34 09 69 */ bl __shl2i +/* 80049590 000464F0 80 AD 82 80 */ lwz r5, lbl_805A6E40@sda21(r13) +/* 80049594 000464F4 7F 5A 23 78 */ or r26, r26, r4 +/* 80049598 000464F8 7F 7B 1B 78 */ or r27, r27, r3 +/* 8004959C 000464FC 38 60 00 00 */ li r3, 0 +/* 800495A0 00046500 38 80 00 01 */ li r4, 1 +/* 800495A4 00046504 48 34 09 51 */ bl __shl2i +/* 800495A8 00046508 80 AD 82 84 */ lwz r5, lbl_805A6E44@sda21(r13) +/* 800495AC 0004650C 7F 5A 23 78 */ or r26, r26, r4 +/* 800495B0 00046510 7F 7B 1B 78 */ or r27, r27, r3 +/* 800495B4 00046514 38 60 00 00 */ li r3, 0 +/* 800495B8 00046518 38 80 00 01 */ li r4, 1 +/* 800495BC 0004651C 48 34 09 39 */ bl __shl2i +/* 800495C0 00046520 7F 5A 23 78 */ or r26, r26, r4 +/* 800495C4 00046524 7F 7B 1B 78 */ or r27, r27, r3 +/* 800495C8 00046528 38 00 00 01 */ li r0, 1 +/* 800495CC 0004652C 93 4D A1 FC */ stw r26, lbl_805A8DBC@sda21(r13) +/* 800495D0 00046530 93 6D A1 F8 */ stw r27, lbl_805A8DB8@sda21(r13) +/* 800495D4 00046534 98 0D A1 F0 */ stb r0, lbl_805A8DB0@sda21(r13) +lbl_800495D8: +/* 800495D8 00046538 88 0D A2 00 */ lbz r0, lbl_805A8DC0@sda21(r13) +/* 800495DC 0004653C 7C 00 07 75 */ extsb. r0, r0 +/* 800495E0 00046540 40 82 00 40 */ bne lbl_80049620 +/* 800495E4 00046544 3C 60 80 46 */ lis r3, lbl_8045C580@ha +/* 800495E8 00046548 80 CD A1 E8 */ lwz r6, lbl_805A8DA8@sda21(r13) +/* 800495EC 0004654C 38 A3 C5 80 */ addi r5, r3, lbl_8045C580@l +/* 800495F0 00046550 39 00 00 03 */ li r8, 3 +/* 800495F4 00046554 80 ED A1 EC */ lwz r7, lbl_805A8DAC@sda21(r13) +/* 800495F8 00046558 38 00 00 01 */ li r0, 1 +/* 800495FC 0004655C 80 6D A1 F8 */ lwz r3, lbl_805A8DB8@sda21(r13) +/* 80049600 00046560 80 8D A1 FC */ lwz r4, lbl_805A8DBC@sda21(r13) +/* 80049604 00046564 91 01 00 68 */ stw r8, 0x68(r1) +/* 80049608 00046568 90 E5 00 04 */ stw r7, 4(r5) +/* 8004960C 0004656C 90 C5 00 00 */ stw r6, 0(r5) +/* 80049610 00046570 90 85 00 0C */ stw r4, 0xc(r5) +/* 80049614 00046574 90 65 00 08 */ stw r3, 8(r5) +/* 80049618 00046578 91 05 00 10 */ stw r8, 0x10(r5) +/* 8004961C 0004657C 98 0D A2 00 */ stb r0, lbl_805A8DC0@sda21(r13) +lbl_80049620: +/* 80049620 00046580 7F C4 F3 78 */ mr r4, r30 +/* 80049624 00046584 38 61 00 3C */ addi r3, r1, 0x3c +/* 80049628 00046588 81 9E 00 00 */ lwz r12, 0(r30) +/* 8004962C 0004658C 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80049630 00046590 7D 89 03 A6 */ mtctr r12 +/* 80049634 00046594 4E 80 04 21 */ bctrl +/* 80049638 00046598 88 01 00 54 */ lbz r0, 0x54(r1) +/* 8004963C 0004659C 28 00 00 00 */ cmplwi r0, 0 +/* 80049640 000465A0 98 01 00 88 */ stb r0, 0x88(r1) +/* 80049644 000465A4 41 82 00 3C */ beq lbl_80049680 +/* 80049648 000465A8 34 61 00 70 */ addic. r3, r1, 0x70 +/* 8004964C 000465AC 41 82 00 34 */ beq lbl_80049680 +/* 80049650 000465B0 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80049654 000465B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80049658 000465B8 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8004965C 000465BC D0 03 00 04 */ stfs f0, 4(r3) +/* 80049660 000465C0 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80049664 000465C4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80049668 000465C8 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8004966C 000465CC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80049670 000465D0 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80049674 000465D4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80049678 000465D8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8004967C 000465DC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80049680: +/* 80049680 000465E0 88 01 00 88 */ lbz r0, 0x88(r1) +/* 80049684 000465E4 38 60 00 00 */ li r3, 0 +/* 80049688 000465E8 98 61 00 54 */ stb r3, 0x54(r1) +/* 8004968C 000465EC 28 00 00 00 */ cmplwi r0, 0 +/* 80049690 000465F0 40 82 00 10 */ bne lbl_800496A0 +/* 80049694 000465F4 98 61 00 88 */ stb r3, 0x88(r1) +/* 80049698 000465F8 38 60 00 00 */ li r3, 0 +/* 8004969C 000465FC 48 00 02 20 */ b lbl_800498BC +lbl_800496A0: +/* 800496A0 00046600 38 61 00 0C */ addi r3, r1, 0xc +/* 800496A4 00046604 38 81 00 70 */ addi r4, r1, 0x70 +/* 800496A8 00046608 48 2E DF 65 */ bl GetCenterPoint__6CAABoxCFv +/* 800496AC 0004660C C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 800496B0 00046610 38 61 00 24 */ addi r3, r1, 0x24 +/* 800496B4 00046614 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 800496B8 00046618 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 800496BC 0004661C C0 5D 00 04 */ lfs f2, 4(r29) +/* 800496C0 00046620 C0 3D 00 08 */ lfs f1, 8(r29) +/* 800496C4 00046624 C0 1D 00 00 */ lfs f0, 0(r29) +/* 800496C8 00046628 EC 44 10 28 */ fsubs f2, f4, f2 +/* 800496CC 0004662C EC 23 08 28 */ fsubs f1, f3, f1 +/* 800496D0 00046630 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 800496D4 00046634 EC 05 00 28 */ fsubs f0, f5, f0 +/* 800496D8 00046638 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 800496DC 0004663C D0 61 00 38 */ stfs f3, 0x38(r1) +/* 800496E0 00046640 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800496E4 00046644 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800496E8 00046648 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800496EC 0004664C 48 2C B0 0D */ bl CanBeNormalized__9CVector3fCFv +/* 800496F0 00046650 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800496F4 00046654 41 82 01 BC */ beq lbl_800498B0 +/* 800496F8 00046658 38 61 00 24 */ addi r3, r1, 0x24 +/* 800496FC 0004665C 48 2C B1 BD */ bl Magnitude__9CVector3fCFv +/* 80049700 00046660 FF E0 08 90 */ fmr f31, f1 +/* 80049704 00046664 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) +/* 80049708 00046668 3C 60 80 46 */ lis r3, lbl_8045C580@ha +/* 8004970C 0004666C C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80049710 00046670 38 E3 C5 80 */ addi r7, r3, lbl_8045C580@l +/* 80049714 00046674 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80049718 00046678 EC 82 F8 24 */ fdivs f4, f2, f31 +/* 8004971C 0004667C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80049720 00046680 7F 83 E3 78 */ mr r3, r28 +/* 80049724 00046684 7F A4 EB 78 */ mr r4, r29 +/* 80049728 00046688 7F E6 FB 78 */ mr r6, r31 +/* 8004972C 0004668C 7F C8 F3 78 */ mr r8, r30 +/* 80049730 00046690 EC 43 01 32 */ fmuls f2, f3, f4 +/* 80049734 00046694 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80049738 00046698 EC 21 01 32 */ fmuls f1, f1, f4 +/* 8004973C 0004669C EC 00 01 32 */ fmuls f0, f0, f4 +/* 80049740 000466A0 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80049744 000466A4 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80049748 000466A8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8004974C 000466AC 48 00 38 21 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +/* 80049750 000466B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80049754 000466B4 41 82 00 14 */ beq lbl_80049768 +/* 80049758 000466B8 38 00 00 00 */ li r0, 0 +/* 8004975C 000466BC 38 60 00 01 */ li r3, 1 +/* 80049760 000466C0 98 01 00 88 */ stb r0, 0x88(r1) +/* 80049764 000466C4 48 00 01 58 */ b lbl_800498BC +lbl_80049768: +/* 80049768 000466C8 FC 20 F8 90 */ fmr f1, f31 +/* 8004976C 000466CC 7F A4 EB 78 */ mr r4, r29 +/* 80049770 000466D0 38 61 00 8C */ addi r3, r1, 0x8c +/* 80049774 000466D4 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80049778 000466D8 48 28 C8 F5 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff +/* 8004977C 000466DC C1 A1 00 8C */ lfs f13, 0x8c(r1) +/* 80049780 000466E0 3C 60 80 46 */ lis r3, lbl_8045C580@ha +/* 80049784 000466E4 C1 81 00 90 */ lfs f12, 0x90(r1) +/* 80049788 000466E8 38 A3 C5 80 */ addi r5, r3, lbl_8045C580@l +/* 8004978C 000466EC C1 61 00 94 */ lfs f11, 0x94(r1) +/* 80049790 000466F0 7F 83 E3 78 */ mr r3, r28 +/* 80049794 000466F4 C1 41 00 98 */ lfs f10, 0x98(r1) +/* 80049798 000466F8 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 8004979C 000466FC C1 21 00 9C */ lfs f9, 0x9c(r1) +/* 800497A0 00046700 C1 01 00 A0 */ lfs f8, 0xa0(r1) +/* 800497A4 00046704 C0 E1 00 A4 */ lfs f7, 0xa4(r1) +/* 800497A8 00046708 C0 C1 00 A8 */ lfs f6, 0xa8(r1) +/* 800497AC 0004670C C0 A1 00 AC */ lfs f5, 0xac(r1) +/* 800497B0 00046710 C0 81 00 B0 */ lfs f4, 0xb0(r1) +/* 800497B4 00046714 C0 61 00 B4 */ lfs f3, 0xb4(r1) +/* 800497B8 00046718 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 800497BC 0004671C C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 800497C0 00046720 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 800497C4 00046724 D1 A1 00 C4 */ stfs f13, 0xc4(r1) +/* 800497C8 00046728 D1 81 00 C8 */ stfs f12, 0xc8(r1) +/* 800497CC 0004672C D1 61 00 CC */ stfs f11, 0xcc(r1) +/* 800497D0 00046730 D1 41 00 D0 */ stfs f10, 0xd0(r1) +/* 800497D4 00046734 D1 21 00 D4 */ stfs f9, 0xd4(r1) +/* 800497D8 00046738 D1 01 00 D8 */ stfs f8, 0xd8(r1) +/* 800497DC 0004673C D0 E1 00 DC */ stfs f7, 0xdc(r1) +/* 800497E0 00046740 D0 C1 00 E0 */ stfs f6, 0xe0(r1) +/* 800497E4 00046744 D0 A1 00 E4 */ stfs f5, 0xe4(r1) +/* 800497E8 00046748 D0 81 00 E8 */ stfs f4, 0xe8(r1) +/* 800497EC 0004674C D0 61 00 EC */ stfs f3, 0xec(r1) +/* 800497F0 00046750 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 800497F4 00046754 D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 800497F8 00046758 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 800497FC 0004675C 48 00 00 DD */ bl MultiRayCollideWorld__13CStateManagerRC5CMRayRC15CMaterialFilter +/* 80049800 00046760 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80049804 00046764 40 82 00 14 */ bne lbl_80049818 +/* 80049808 00046768 38 00 00 00 */ li r0, 0 +/* 8004980C 0004676C 38 60 00 00 */ li r3, 0 +/* 80049810 00046770 98 01 00 88 */ stb r0, 0x88(r1) +/* 80049814 00046774 48 00 00 A8 */ b lbl_800498BC +lbl_80049818: +/* 80049818 00046778 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8004981C 0004677C 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 80049820 00046780 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 80049824 00046784 38 81 00 70 */ addi r4, r1, 0x70 +/* 80049828 00046788 C0 47 00 00 */ lfs f2, 0(r7) +/* 8004982C 0004678C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80049830 00046790 C0 27 00 04 */ lfs f1, 4(r7) +/* 80049834 00046794 38 C1 00 08 */ addi r6, r1, 8 +/* 80049838 00046798 C0 07 00 08 */ lfs f0, 8(r7) +/* 8004983C 0004679C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80049840 000467A0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80049844 000467A4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80049848 000467A8 48 28 9D 49 */ bl RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf +/* 8004984C 000467AC 2C 03 00 00 */ cmpwi r3, 0 +/* 80049850 000467B0 40 82 00 14 */ bne lbl_80049864 +/* 80049854 000467B4 38 00 00 00 */ li r0, 0 +/* 80049858 000467B8 38 60 00 01 */ li r3, 1 +/* 8004985C 000467BC 98 01 00 88 */ stb r0, 0x88(r1) +/* 80049860 000467C0 48 00 00 5C */ b lbl_800498BC +lbl_80049864: +/* 80049864 000467C4 2C 03 00 01 */ cmpwi r3, 1 +/* 80049868 000467C8 40 82 00 14 */ bne lbl_8004987C +/* 8004986C 000467CC 38 00 00 00 */ li r0, 0 +/* 80049870 000467D0 38 60 00 01 */ li r3, 1 +/* 80049874 000467D4 98 01 00 88 */ stb r0, 0x88(r1) +/* 80049878 000467D8 48 00 00 44 */ b lbl_800498BC +lbl_8004987C: +/* 8004987C 000467DC C0 01 00 08 */ lfs f0, 8(r1) +/* 80049880 000467E0 3C 60 80 46 */ lis r3, lbl_8045C580@ha +/* 80049884 000467E4 38 C3 C5 80 */ addi r6, r3, lbl_8045C580@l +/* 80049888 000467E8 7F A4 EB 78 */ mr r4, r29 +/* 8004988C 000467EC EC 20 07 F2 */ fmuls f1, f0, f31 +/* 80049890 000467F0 7F 83 E3 78 */ mr r3, r28 +/* 80049894 000467F4 7F E7 FB 78 */ mr r7, r31 +/* 80049898 000467F8 7F C8 F3 78 */ mr r8, r30 +/* 8004989C 000467FC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800498A0 00046800 48 13 B4 71 */ bl "RayDynamicIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterQ24rstl49reserved_vector<9TUniqueId,1024>PC6CActorf" +/* 800498A4 00046804 38 00 00 00 */ li r0, 0 +/* 800498A8 00046808 98 01 00 88 */ stb r0, 0x88(r1) +/* 800498AC 0004680C 48 00 00 10 */ b lbl_800498BC +lbl_800498B0: +/* 800498B0 00046810 38 00 00 00 */ li r0, 0 +/* 800498B4 00046814 38 60 00 01 */ li r3, 1 +/* 800498B8 00046818 98 01 00 88 */ stb r0, 0x88(r1) +lbl_800498BC: +/* 800498BC 0004681C E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 800498C0 00046820 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 800498C4 00046824 BB 41 01 08 */ lmw r26, 0x108(r1) +/* 800498C8 00046828 80 01 01 34 */ lwz r0, 0x134(r1) +/* 800498CC 0004682C 7C 08 03 A6 */ mtlr r0 +/* 800498D0 00046830 38 21 01 30 */ addi r1, r1, 0x130 +/* 800498D4 00046834 4E 80 00 20 */ blr + +.global MultiRayCollideWorld__13CStateManagerRC5CMRayRC15CMaterialFilter +MultiRayCollideWorld__13CStateManagerRC5CMRayRC15CMaterialFilter: +/* 800498D8 00046838 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800498DC 0004683C 7C 08 02 A6 */ mflr r0 +/* 800498E0 00046840 90 01 00 74 */ stw r0, 0x74(r1) +/* 800498E4 00046844 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800498E8 00046848 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800498EC 0004684C 7C BE 2B 78 */ mr r30, r5 +/* 800498F0 00046850 93 A1 00 64 */ stw r29, 0x64(r1) +/* 800498F4 00046854 7C 9D 23 78 */ mr r29, r4 +/* 800498F8 00046858 93 81 00 60 */ stw r28, 0x60(r1) +/* 800498FC 0004685C 7C 7C 1B 78 */ mr r28, r3 +/* 80049900 00046860 38 61 00 2C */ addi r3, r1, 0x2c +/* 80049904 00046864 C0 84 00 34 */ lfs f4, 0x34(r4) +/* 80049908 00046868 C0 64 00 30 */ lfs f3, 0x30(r4) +/* 8004990C 0004686C FC 20 20 50 */ fneg f1, f4 +/* 80049910 00046870 C0 A4 00 2C */ lfs f5, 0x2c(r4) +/* 80049914 00046874 EC 04 00 F2 */ fmuls f0, f4, f3 +/* 80049918 00046878 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 8004991C 0004687C EC 43 01 72 */ fmuls f2, f3, f5 +/* 80049920 00046880 38 81 00 20 */ addi r4, r1, 0x20 +/* 80049924 00046884 FC C0 08 18 */ frsp f6, f1 +/* 80049928 00046888 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8004992C 0004688C EC 25 01 78 */ fmsubs f1, f5, f5, f0 +/* 80049930 00046890 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 80049934 00046894 EC 05 01 B2 */ fmuls f0, f5, f6 +/* 80049938 00046898 EC 46 11 38 */ fmsubs f2, f6, f4, f2 +/* 8004993C 0004689C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80049940 000468A0 EC 03 00 F8 */ fmsubs f0, f3, f3, f0 +/* 80049944 000468A4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80049948 000468A8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8004994C 000468AC 48 2C AF 05 */ bl AsNormalized__9CVector3fCFv +/* 80049950 000468B0 C1 01 00 2C */ lfs f8, 0x2c(r1) +/* 80049954 000468B4 3B E0 00 00 */ li r31, 0 +/* 80049958 000468B8 C0 E1 00 30 */ lfs f7, 0x30(r1) +/* 8004995C 000468BC C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 80049960 000468C0 C0 7D 00 2C */ lfs f3, 0x2c(r29) +/* 80049964 000468C4 C0 9D 00 30 */ lfs f4, 0x30(r29) +/* 80049968 000468C8 C1 3D 00 34 */ lfs f9, 0x34(r29) +/* 8004996C 000468CC EC 06 00 F2 */ fmuls f0, f6, f3 +/* 80049970 000468D0 C0 A2 85 FC */ lfs f5, lbl_805AA31C@sda21(r2) +/* 80049974 000468D4 EC 48 01 32 */ fmuls f2, f8, f4 +/* 80049978 000468D8 EC 27 02 72 */ fmuls f1, f7, f9 +/* 8004997C 000468DC D1 01 00 44 */ stfs f8, 0x44(r1) +/* 80049980 000468E0 EC 09 02 38 */ fmsubs f0, f9, f8, f0 +/* 80049984 000468E4 EC 43 11 F8 */ fmsubs f2, f3, f7, f2 +/* 80049988 000468E8 D0 E1 00 48 */ stfs f7, 0x48(r1) +/* 8004998C 000468EC EC 24 09 B8 */ fmsubs f1, f4, f6, f1 +/* 80049990 000468F0 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80049994 000468F4 D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 80049998 000468F8 EC 65 00 B2 */ fmuls f3, f5, f2 +/* 8004999C 000468FC EC 85 00 72 */ fmuls f4, f5, f1 +/* 800499A0 00046900 EC 48 01 72 */ fmuls f2, f8, f5 +/* 800499A4 00046904 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800499A8 00046908 EC 27 01 72 */ fmuls f1, f7, f5 +/* 800499AC 0004690C EC 06 01 72 */ fmuls f0, f6, f5 +/* 800499B0 00046910 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 800499B4 00046914 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 800499B8 00046918 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800499BC 0004691C D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800499C0 00046920 D0 01 00 4C */ stfs f0, 0x4c(r1) +lbl_800499C4: +/* 800499C4 00046924 57 E0 07 BD */ rlwinm. r0, r31, 0, 0x1e, 0x1e +/* 800499C8 00046928 41 82 00 30 */ beq lbl_800499F8 +/* 800499CC 0004692C C0 41 00 50 */ lfs f2, 0x50(r1) +/* 800499D0 00046930 38 E1 00 08 */ addi r7, r1, 8 +/* 800499D4 00046934 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 800499D8 00046938 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800499DC 0004693C FC 40 10 50 */ fneg f2, f2 +/* 800499E0 00046940 FC 20 08 50 */ fneg f1, f1 +/* 800499E4 00046944 FC 00 00 50 */ fneg f0, f0 +/* 800499E8 00046948 D0 41 00 08 */ stfs f2, 8(r1) +/* 800499EC 0004694C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800499F0 00046950 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800499F4 00046954 48 00 00 08 */ b lbl_800499FC +lbl_800499F8: +/* 800499F8 00046958 38 E1 00 50 */ addi r7, r1, 0x50 +lbl_800499FC: +/* 800499FC 0004695C 57 E0 07 FF */ clrlwi. r0, r31, 0x1f +/* 80049A00 00046960 41 82 00 0C */ beq lbl_80049A0C +/* 80049A04 00046964 39 01 00 44 */ addi r8, r1, 0x44 +/* 80049A08 00046968 48 00 00 2C */ b lbl_80049A34 +lbl_80049A0C: +/* 80049A0C 0004696C C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80049A10 00046970 39 01 00 14 */ addi r8, r1, 0x14 +/* 80049A14 00046974 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80049A18 00046978 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80049A1C 0004697C FC 40 10 50 */ fneg f2, f2 +/* 80049A20 00046980 FC 20 08 50 */ fneg f1, f1 +/* 80049A24 00046984 FC 00 00 50 */ fneg f0, f0 +/* 80049A28 00046988 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80049A2C 0004698C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80049A30 00046990 D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_80049A34: +/* 80049A34 00046994 C0 7D 00 04 */ lfs f3, 4(r29) +/* 80049A38 00046998 7F 83 E3 78 */ mr r3, r28 +/* 80049A3C 0004699C C0 48 00 04 */ lfs f2, 4(r8) +/* 80049A40 000469A0 7F C6 F3 78 */ mr r6, r30 +/* 80049A44 000469A4 C0 3D 00 08 */ lfs f1, 8(r29) +/* 80049A48 000469A8 38 81 00 38 */ addi r4, r1, 0x38 +/* 80049A4C 000469AC C0 08 00 08 */ lfs f0, 8(r8) +/* 80049A50 000469B0 EC C3 10 2A */ fadds f6, f3, f2 +/* 80049A54 000469B4 C0 A7 00 04 */ lfs f5, 4(r7) +/* 80049A58 000469B8 38 BD 00 2C */ addi r5, r29, 0x2c +/* 80049A5C 000469BC C0 5D 00 00 */ lfs f2, 0(r29) +/* 80049A60 000469C0 EC 81 00 2A */ fadds f4, f1, f0 +/* 80049A64 000469C4 C0 28 00 00 */ lfs f1, 0(r8) +/* 80049A68 000469C8 C0 67 00 08 */ lfs f3, 8(r7) +/* 80049A6C 000469CC EC A6 28 2A */ fadds f5, f6, f5 +/* 80049A70 000469D0 C0 07 00 00 */ lfs f0, 0(r7) +/* 80049A74 000469D4 EC 42 08 2A */ fadds f2, f2, f1 +/* 80049A78 000469D8 EC 64 18 2A */ fadds f3, f4, f3 +/* 80049A7C 000469DC C0 3D 00 24 */ lfs f1, 0x24(r29) +/* 80049A80 000469E0 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 80049A84 000469E4 EC 02 00 2A */ fadds f0, f2, f0 +/* 80049A88 000469E8 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80049A8C 000469EC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80049A90 000469F0 48 13 B1 69 */ bl RayStaticIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80049A94 000469F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80049A98 000469F8 40 82 00 10 */ bne lbl_80049AA8 +/* 80049A9C 000469FC 3B FF 00 01 */ addi r31, r31, 1 +/* 80049AA0 00046A00 2C 1F 00 04 */ cmpwi r31, 4 +/* 80049AA4 00046A04 41 80 FF 20 */ blt lbl_800499C4 +lbl_80049AA8: +/* 80049AA8 00046A08 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80049AAC 00046A0C 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 80049AB0 00046A10 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80049AB4 00046A14 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80049AB8 00046A18 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80049ABC 00046A1C 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80049AC0 00046A20 7C 08 03 A6 */ mtlr r0 +/* 80049AC4 00046A24 38 21 00 70 */ addi r1, r1, 0x70 +/* 80049AC8 00046A28 4E 80 00 20 */ blr + +.global TestBombHittingWater__13CStateManagerFRC6CActorRC9CVector3fR6CActor +TestBombHittingWater__13CStateManagerFRC6CActorRC9CVector3fR6CActor: +/* 80049ACC 00046A2C 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80049AD0 00046A30 7C 08 02 A6 */ mflr r0 +/* 80049AD4 00046A34 90 01 01 14 */ stw r0, 0x114(r1) +/* 80049AD8 00046A38 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 80049ADC 00046A3C F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 80049AE0 00046A40 DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 80049AE4 00046A44 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 80049AE8 00046A48 BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 80049AEC 00046A4C 7C 7E 1B 78 */ mr r30, r3 +/* 80049AF0 00046A50 7C 9F 23 78 */ mr r31, r4 +/* 80049AF4 00046A54 7C BA 2B 78 */ mr r26, r5 +/* 80049AF8 00046A58 7C DB 33 78 */ mr r27, r6 +/* 80049AFC 00046A5C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80049B00 00046A60 3B 80 00 00 */ li r28, 0 +/* 80049B04 00046A64 48 05 BE 01 */ bl "__ct__20TCastToPtr<7CWeapon>FR7CEntity" +/* 80049B08 00046A68 80 63 00 04 */ lwz r3, 4(r3) +/* 80049B0C 00046A6C 28 03 00 00 */ cmplwi r3, 0 +/* 80049B10 00046A70 41 82 02 A0 */ beq lbl_80049DB0 +/* 80049B14 00046A74 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 80049B18 00046A78 54 60 05 AF */ rlwinm. r0, r3, 0, 0x16, 0x17 +/* 80049B1C 00046A7C 41 82 02 94 */ beq lbl_80049DB0 +/* 80049B20 00046A80 54 60 05 AD */ rlwinm. r0, r3, 0, 0x16, 0x16 +/* 80049B24 00046A84 41 82 00 08 */ beq lbl_80049B2C +/* 80049B28 00046A88 3B 80 00 01 */ li r28, 1 +lbl_80049B2C: +/* 80049B2C 00046A8C 7F 64 DB 78 */ mr r4, r27 +/* 80049B30 00046A90 38 61 00 38 */ addi r3, r1, 0x38 +/* 80049B34 00046A94 48 05 CD 99 */ bl "__ct__26TCastToPtr<12CScriptWater>FR7CEntity" +/* 80049B38 00046A98 83 63 00 04 */ lwz r27, 4(r3) +/* 80049B3C 00046A9C 28 1B 00 00 */ cmplwi r27, 0 +/* 80049B40 00046AA0 41 82 02 70 */ beq lbl_80049DB0 +/* 80049B44 00046AA4 7F 64 DB 78 */ mr r4, r27 +/* 80049B48 00046AA8 38 61 00 74 */ addi r3, r1, 0x74 +/* 80049B4C 00046AAC 48 02 CB 81 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80049B50 00046AB0 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 80049B54 00046AB4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80049B58 00046AB8 C0 61 00 88 */ lfs f3, 0x88(r1) +/* 80049B5C 00046ABC C0 9A 00 04 */ lfs f4, 4(r26) +/* 80049B60 00046AC0 C0 5A 00 00 */ lfs f2, 0(r26) +/* 80049B64 00046AC4 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 80049B68 00046AC8 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80049B6C 00046ACC D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 80049B70 00046AD0 D0 61 00 70 */ stfs f3, 0x70(r1) +/* 80049B74 00046AD4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80049B78 00046AD8 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80049B7C 00046ADC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80049B80 00046AE0 48 2C AD 79 */ bl Normalize__9CVector3fFv +/* 80049B84 00046AE4 7F 64 DB 78 */ mr r4, r27 +/* 80049B88 00046AE8 38 61 00 8C */ addi r3, r1, 0x8c +/* 80049B8C 00046AEC 48 02 CB 41 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80049B90 00046AF0 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80049B94 00046AF4 57 9D 10 3A */ slwi r29, r28, 2 +/* 80049B98 00046AF8 C0 1A 00 04 */ lfs f0, 4(r26) +/* 80049B9C 00046AFC 38 62 85 44 */ addi r3, r2, lbl_805AA264@sda21 +/* 80049BA0 00046B00 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 80049BA4 00046B04 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80049BA8 00046B08 C0 3A 00 00 */ lfs f1, 0(r26) +/* 80049BAC 00046B0C C0 41 00 48 */ lfs f2, 0x48(r1) +/* 80049BB0 00046B10 C0 A1 00 A0 */ lfs f5, 0xa0(r1) +/* 80049BB4 00046B14 EC 04 00 7A */ fmadds f0, f4, f1, f0 +/* 80049BB8 00046B18 C0 3A 00 08 */ lfs f1, 8(r26) +/* 80049BBC 00046B1C 7C C3 EC 2E */ lfsx f6, r3, r29 +/* 80049BC0 00046B20 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 80049BC4 00046B24 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80049BC8 00046B28 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 80049BCC 00046B2C EC 00 28 28 */ fsubs f0, f0, f5 +/* 80049BD0 00046B30 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80049BD4 00046B34 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 80049BD8 00046B38 FC 20 00 50 */ fneg f1, f0 +/* 80049BDC 00046B3C FC 01 30 40 */ fcmpo cr0, f1, f6 +/* 80049BE0 00046B40 4C 40 13 82 */ cror 2, 0, 2 +/* 80049BE4 00046B44 40 82 00 DC */ bne lbl_80049CC0 +/* 80049BE8 00046B48 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80049BEC 00046B4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80049BF0 00046B50 40 81 00 D0 */ ble lbl_80049CC0 +/* 80049BF4 00046B54 EC 01 30 24 */ fdivs f0, f1, f6 +/* 80049BF8 00046B58 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80049BFC 00046B5C C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) +/* 80049C00 00046B60 38 81 00 2C */ addi r4, r1, 0x2c +/* 80049C04 00046B64 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80049C08 00046B68 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80049C0C 00046B6C EF C1 00 28 */ fsubs f30, f1, f0 +/* 80049C10 00046B70 80 7E 08 7C */ lwz r3, 0x87c(r30) +/* 80049C14 00046B74 48 0E 59 6D */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId +/* 80049C18 00046B78 C0 02 86 00 */ lfs f0, lbl_805AA320@sda21(r2) +/* 80049C1C 00046B7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80049C20 00046B80 4C 41 13 82 */ cror 2, 1, 2 +/* 80049C24 00046B84 40 82 00 64 */ bne lbl_80049C88 +/* 80049C28 00046B88 C0 22 85 D0 */ lfs f1, lbl_805AA2F0@sda21(r2) +/* 80049C2C 00046B8C 38 62 85 54 */ addi r3, r2, lbl_805AA274@sda21 +/* 80049C30 00046B90 C0 02 85 70 */ lfs f0, lbl_805AA290@sda21(r2) +/* 80049C34 00046B94 EC 21 07 B2 */ fmuls f1, f1, f30 +/* 80049C38 00046B98 7F E3 EC 2E */ lfsx f31, r3, r29 +/* 80049C3C 00046B9C EC 21 00 32 */ fmuls f1, f1, f0 +/* 80049C40 00046BA0 48 2C B1 B1 */ bl FastSinR__5CMathFf +/* 80049C44 00046BA4 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80049C48 00046BA8 7F 66 DB 78 */ mr r6, r27 +/* 80049C4C 00046BAC C0 02 86 08 */ lfs f0, lbl_805AA328@sda21(r2) +/* 80049C50 00046BB0 7F C7 F3 78 */ mr r7, r30 +/* 80049C54 00046BB4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80049C58 00046BB8 38 81 00 24 */ addi r4, r1, 0x24 +/* 80049C5C 00046BBC EC 40 07 F2 */ fmuls f2, f0, f31 +/* 80049C60 00046BC0 C0 02 86 04 */ lfs f0, lbl_805AA324@sda21(r2) +/* 80049C64 00046BC4 80 7B 01 B4 */ lwz r3, 0x1b4(r27) +/* 80049C68 00046BC8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80049C6C 00046BCC B0 01 00 20 */ sth r0, 0x20(r1) +/* 80049C70 00046BD0 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80049C74 00046BD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80049C78 00046BD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80049C7C 00046BDC EC 20 0F FA */ fmadds f1, f0, f31, f1 +/* 80049C80 00046BE0 7D 89 03 A6 */ mtctr r12 +/* 80049C84 00046BE4 4E 80 04 21 */ bctrl +lbl_80049C88: +/* 80049C88 00046BE8 2C 1C 00 00 */ cmpwi r28, 0 +/* 80049C8C 00046BEC 40 82 01 24 */ bne lbl_80049DB0 +/* 80049C90 00046BF0 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80049C94 00046BF4 FC 20 F0 90 */ fmr f1, f30 +/* 80049C98 00046BF8 7F C5 F3 78 */ mr r5, r30 +/* 80049C9C 00046BFC 7F 66 DB 78 */ mr r6, r27 +/* 80049CA0 00046C00 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80049CA4 00046C04 38 81 00 1C */ addi r4, r1, 0x1c +/* 80049CA8 00046C08 38 E1 00 68 */ addi r7, r1, 0x68 +/* 80049CAC 00046C0C B0 01 00 18 */ sth r0, 0x18(r1) +/* 80049CB0 00046C10 39 00 00 01 */ li r8, 1 +/* 80049CB4 00046C14 80 7E 08 7C */ lwz r3, 0x87c(r30) +/* 80049CB8 00046C18 48 0E 56 01 */ bl CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb +/* 80049CBC 00046C1C 48 00 00 F4 */ b lbl_80049DB0 +lbl_80049CC0: +/* 80049CC0 00046C20 3B 82 85 4C */ addi r28, r2, lbl_805AA26C@sda21 +/* 80049CC4 00046C24 7C 1C EC 2E */ lfsx f0, r28, r29 +/* 80049CC8 00046C28 FC 00 00 50 */ fneg f0, f0 +/* 80049CCC 00046C2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80049CD0 00046C30 40 81 00 E0 */ ble lbl_80049DB0 +/* 80049CD4 00046C34 C0 42 85 68 */ lfs f2, lbl_805AA288@sda21(r2) +/* 80049CD8 00046C38 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80049CDC 00046C3C 40 80 00 D4 */ bge lbl_80049DB0 +/* 80049CE0 00046C40 FF E0 08 50 */ fneg f31, f1 +/* 80049CE4 00046C44 C0 02 85 A0 */ lfs f0, lbl_805AA2C0@sda21(r2) +/* 80049CE8 00046C48 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 80049CEC 00046C4C D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80049CF0 00046C50 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l +/* 80049CF4 00046C54 7F C4 F3 78 */ mr r4, r30 +/* 80049CF8 00046C58 FC 20 F8 90 */ fmr f1, f31 +/* 80049CFC 00046C5C D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80049D00 00046C60 7F 45 D3 78 */ mr r5, r26 +/* 80049D04 00046C64 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80049D08 00046C68 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80049D0C 00046C6C 38 C1 00 4C */ addi r6, r1, 0x4c +/* 80049D10 00046C70 48 00 32 89 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80049D14 00046C74 88 01 00 C8 */ lbz r0, 0xc8(r1) +/* 80049D18 00046C78 28 00 00 00 */ cmplwi r0, 0 +/* 80049D1C 00046C7C 40 82 00 94 */ bne lbl_80049DB0 +/* 80049D20 00046C80 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80049D24 00046C84 38 81 00 14 */ addi r4, r1, 0x14 +/* 80049D28 00046C88 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80049D2C 00046C8C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80049D30 00046C90 80 7E 08 7C */ lwz r3, 0x87c(r30) +/* 80049D34 00046C94 48 0E 58 4D */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId +/* 80049D38 00046C98 C0 02 86 00 */ lfs f0, lbl_805AA320@sda21(r2) +/* 80049D3C 00046C9C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80049D40 00046CA0 4C 41 13 82 */ cror 2, 1, 2 +/* 80049D44 00046CA4 40 82 00 6C */ bne lbl_80049DB0 +/* 80049D48 00046CA8 7C 1C EC 2E */ lfsx f0, r28, r29 +/* 80049D4C 00046CAC 38 62 85 5C */ addi r3, r2, lbl_805AA27C@sda21 +/* 80049D50 00046CB0 C0 42 85 D0 */ lfs f2, lbl_805AA2F0@sda21(r2) +/* 80049D54 00046CB4 EC 3F 00 24 */ fdivs f1, f31, f0 +/* 80049D58 00046CB8 C0 02 85 70 */ lfs f0, lbl_805AA290@sda21(r2) +/* 80049D5C 00046CBC 7F E3 EC 2E */ lfsx f31, r3, r29 +/* 80049D60 00046CC0 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80049D64 00046CC4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80049D68 00046CC8 48 2C B0 89 */ bl FastSinR__5CMathFf +/* 80049D6C 00046CCC A0 1F 00 08 */ lhz r0, 8(r31) +/* 80049D70 00046CD0 7F 66 DB 78 */ mr r6, r27 +/* 80049D74 00046CD4 C0 02 86 08 */ lfs f0, lbl_805AA328@sda21(r2) +/* 80049D78 00046CD8 7F C7 F3 78 */ mr r7, r30 +/* 80049D7C 00046CDC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80049D80 00046CE0 38 81 00 0C */ addi r4, r1, 0xc +/* 80049D84 00046CE4 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 80049D88 00046CE8 C0 02 86 04 */ lfs f0, lbl_805AA324@sda21(r2) +/* 80049D8C 00046CEC 80 7B 01 B4 */ lwz r3, 0x1b4(r27) +/* 80049D90 00046CF0 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80049D94 00046CF4 B0 01 00 08 */ sth r0, 8(r1) +/* 80049D98 00046CF8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80049D9C 00046CFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80049DA0 00046D00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80049DA4 00046D04 EC 20 0F FA */ fmadds f1, f0, f31, f1 +/* 80049DA8 00046D08 7D 89 03 A6 */ mtctr r12 +/* 80049DAC 00046D0C 4E 80 04 21 */ bctrl +lbl_80049DB0: +/* 80049DB0 00046D10 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 80049DB4 00046D14 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 80049DB8 00046D18 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 80049DBC 00046D1C CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 80049DC0 00046D20 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 80049DC4 00046D24 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80049DC8 00046D28 7C 08 03 A6 */ mtlr r0 +/* 80049DCC 00046D2C 38 21 01 10 */ addi r1, r1, 0x110 +/* 80049DD0 00046D30 4E 80 00 20 */ blr + +.global ApplyLocalDamage__13CStateManagerFRC9CVector3fRC9CVector3fR6CActorfRC11CWeaponMode +ApplyLocalDamage__13CStateManagerFRC9CVector3fRC9CVector3fR6CActorfRC11CWeaponMode: +/* 80049DD4 00046D34 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80049DD8 00046D38 7C 08 02 A6 */ mflr r0 +/* 80049DDC 00046D3C 90 01 00 84 */ stw r0, 0x84(r1) +/* 80049DE0 00046D40 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80049DE4 00046D44 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80049DE8 00046D48 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80049DEC 00046D4C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80049DF0 00046D50 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80049DF4 00046D54 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80049DF8 00046D58 BF 01 00 30 */ stmw r24, 0x30(r1) +/* 80049DFC 00046D5C 7C D8 33 78 */ mr r24, r6 +/* 80049E00 00046D60 7C 79 1B 78 */ mr r25, r3 +/* 80049E04 00046D64 7F 03 C3 78 */ mr r3, r24 +/* 80049E08 00046D68 7C 9A 23 78 */ mr r26, r4 +/* 80049E0C 00046D6C 81 98 00 00 */ lwz r12, 0(r24) +/* 80049E10 00046D70 FF A0 08 90 */ fmr f29, f1 +/* 80049E14 00046D74 7C BB 2B 78 */ mr r27, r5 +/* 80049E18 00046D78 7C FC 3B 78 */ mr r28, r7 +/* 80049E1C 00046D7C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80049E20 00046D80 7F 24 CB 78 */ mr r4, r25 +/* 80049E24 00046D84 7D 89 03 A6 */ mtctr r12 +/* 80049E28 00046D88 4E 80 04 21 */ bctrl +/* 80049E2C 00046D8C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80049E30 00046D90 41 82 00 10 */ beq lbl_80049E40 +/* 80049E34 00046D94 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80049E38 00046D98 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80049E3C 00046D9C 40 80 00 0C */ bge lbl_80049E48 +lbl_80049E40: +/* 80049E40 00046DA0 38 60 00 00 */ li r3, 0 +/* 80049E44 00046DA4 48 00 02 30 */ b lbl_8004A074 +lbl_80049E48: +/* 80049E48 00046DA8 C3 FF 00 00 */ lfs f31, 0(r31) +/* 80049E4C 00046DAC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80049E50 00046DB0 4C 40 13 82 */ cror 2, 0, 2 +/* 80049E54 00046DB4 40 82 00 0C */ bne lbl_80049E60 +/* 80049E58 00046DB8 38 60 00 01 */ li r3, 1 +/* 80049E5C 00046DBC 48 00 02 18 */ b lbl_8004A074 +lbl_80049E60: +/* 80049E60 00046DC0 FF C0 E8 90 */ fmr f30, f29 +/* 80049E64 00046DC4 7F 04 C3 78 */ mr r4, r24 +/* 80049E68 00046DC8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80049E6C 00046DCC 48 06 25 95 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 80049E70 00046DD0 83 C3 00 04 */ lwz r30, 4(r3) +/* 80049E74 00046DD4 7F 04 C3 78 */ mr r4, r24 +/* 80049E78 00046DD8 38 61 00 1C */ addi r3, r1, 0x1c +/* 80049E7C 00046DDC 48 06 2C 4D */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity" +/* 80049E80 00046DE0 83 A3 00 04 */ lwz r29, 4(r3) +/* 80049E84 00046DE4 28 1D 00 00 */ cmplwi r29, 0 +/* 80049E88 00046DE8 40 82 00 14 */ bne lbl_80049E9C +/* 80049E8C 00046DEC 7F 04 C3 78 */ mr r4, r24 +/* 80049E90 00046DF0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80049E94 00046DF4 48 06 51 AD */ bl "__ct__30TCastToPtr<16CDestroyableRock>FP7CEntity" +/* 80049E98 00046DF8 83 A3 00 04 */ lwz r29, 4(r3) +lbl_80049E9C: +/* 80049E9C 00046DFC 28 1E 00 00 */ cmplwi r30, 0 +/* 80049EA0 00046E00 41 82 00 FC */ beq lbl_80049F9C +/* 80049EA4 00046E04 80 79 08 70 */ lwz r3, 0x870(r25) +/* 80049EA8 00046E08 4B FC 0A 59 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80049EAC 00046E0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80049EB0 00046E10 40 82 00 28 */ bne lbl_80049ED8 +/* 80049EB4 00046E14 80 1C 00 00 */ lwz r0, 0(r28) +/* 80049EB8 00046E18 2C 00 00 08 */ cmpwi r0, 8 +/* 80049EBC 00046E1C 40 82 00 24 */ bne lbl_80049EE0 +/* 80049EC0 00046E20 80 79 08 B8 */ lwz r3, 0x8b8(r25) +/* 80049EC4 00046E24 38 80 00 17 */ li r4, 0x17 +/* 80049EC8 00046E28 80 63 00 00 */ lwz r3, 0(r3) +/* 80049ECC 00046E2C 48 04 7B F5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80049ED0 00046E30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80049ED4 00046E34 41 82 00 0C */ beq lbl_80049EE0 +lbl_80049ED8: +/* 80049ED8 00046E38 38 60 00 00 */ li r3, 0 +/* 80049EDC 00046E3C 48 00 01 98 */ b lbl_8004A074 +lbl_80049EE0: +/* 80049EE0 00046E40 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80049EE4 00046E44 88 03 02 28 */ lbz r0, 0x228(r3) +/* 80049EE8 00046E48 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80049EEC 00046E4C 41 82 00 0C */ beq lbl_80049EF8 +/* 80049EF0 00046E50 48 18 99 C9 */ bl GetHardModeDamageMultiplier__10CGameStateCFv +/* 80049EF4 00046E54 EF DE 00 72 */ fmuls f30, f30, f1 +lbl_80049EF8: +/* 80049EF8 00046E58 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80049EFC 00046E5C 38 80 00 16 */ li r4, 0x16 +/* 80049F00 00046E60 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80049F04 00046E64 80 79 08 B8 */ lwz r3, 0x8b8(r25) +/* 80049F08 00046E68 80 63 00 00 */ lwz r3, 0(r3) +/* 80049F0C 00046E6C 48 04 7B B5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80049F10 00046E70 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80049F14 00046E74 41 82 00 10 */ beq lbl_80049F24 +/* 80049F18 00046E78 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80049F1C 00046E7C C0 03 03 00 */ lfs f0, 0x300(r3) +/* 80049F20 00046E80 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_80049F24: +/* 80049F24 00046E84 80 79 08 B8 */ lwz r3, 0x8b8(r25) +/* 80049F28 00046E88 38 80 00 15 */ li r4, 0x15 +/* 80049F2C 00046E8C 80 63 00 00 */ lwz r3, 0(r3) +/* 80049F30 00046E90 48 04 7B 91 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80049F34 00046E94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80049F38 00046E98 41 82 00 24 */ beq lbl_80049F5C +/* 80049F3C 00046E9C 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 80049F40 00046EA0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80049F44 00046EA4 38 81 00 0C */ addi r4, r1, 0xc +/* 80049F48 00046EA8 C0 05 03 04 */ lfs f0, 0x304(r5) +/* 80049F4C 00046EAC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80049F50 00046EB0 48 00 57 E1 */ bl "Max__5CMathFRCfRCf" +/* 80049F54 00046EB4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80049F58 00046EB8 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_80049F5C: +/* 80049F5C 00046EBC 80 79 08 B8 */ lwz r3, 0x8b8(r25) +/* 80049F60 00046EC0 38 80 00 17 */ li r4, 0x17 +/* 80049F64 00046EC4 80 63 00 00 */ lwz r3, 0(r3) +/* 80049F68 00046EC8 48 04 7B 59 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80049F6C 00046ECC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80049F70 00046ED0 41 82 00 24 */ beq lbl_80049F94 +/* 80049F74 00046ED4 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 80049F78 00046ED8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80049F7C 00046EDC 38 81 00 08 */ addi r4, r1, 8 +/* 80049F80 00046EE0 C0 05 03 08 */ lfs f0, 0x308(r5) +/* 80049F84 00046EE4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80049F88 00046EE8 48 00 57 A9 */ bl "Max__5CMathFRCfRCf" +/* 80049F8C 00046EEC C0 03 00 00 */ lfs f0, 0(r3) +/* 80049F90 00046EF0 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_80049F94: +/* 80049F94 00046EF4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80049F98 00046EF8 EF C0 F7 BC */ fnmsubs f30, f0, f30, f30 +lbl_80049F9C: +/* 80049F9C 00046EFC EF BF F0 28 */ fsubs f29, f31, f30 +/* 80049FA0 00046F00 C8 02 86 10 */ lfd f0, lbl_805AA330@sda21(r2) +/* 80049FA4 00046F04 EC 3D F8 28 */ fsubs f1, f29, f31 +/* 80049FA8 00046F08 D3 BF 00 00 */ stfs f29, 0(r31) +/* 80049FAC 00046F0C FC 20 0A 10 */ fabs f1, f1 +/* 80049FB0 00046F10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80049FB4 00046F14 7C 00 00 26 */ mfcr r0 +/* 80049FB8 00046F18 28 1E 00 00 */ cmplwi r30, 0 +/* 80049FBC 00046F1C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80049FC0 00046F20 7C 00 00 34 */ cntlzw r0, r0 +/* 80049FC4 00046F24 54 1F D9 7E */ srwi r31, r0, 5 +/* 80049FC8 00046F28 41 82 00 4C */ beq lbl_8004A014 +/* 80049FCC 00046F2C FC 20 F0 90 */ fmr f1, f30 +/* 80049FD0 00046F30 80 DC 00 00 */ lwz r6, 0(r28) +/* 80049FD4 00046F34 7F C3 F3 78 */ mr r3, r30 +/* 80049FD8 00046F38 7F 45 D3 78 */ mr r5, r26 +/* 80049FDC 00046F3C 7F 27 CB 78 */ mr r7, r25 +/* 80049FE0 00046F40 57 E4 06 3E */ clrlwi r4, r31, 0x18 +/* 80049FE4 00046F44 4B FC 85 59 */ bl TakeDamage__7CPlayerFbRC9CVector3ff11EWeaponTypeR13CStateManager +/* 80049FE8 00046F48 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 80049FEC 00046F4C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80049FF0 00046F50 4C 40 13 82 */ cror 2, 0, 2 +/* 80049FF4 00046F54 40 82 00 7C */ bne lbl_8004A070 +/* 80049FF8 00046F58 80 79 08 B8 */ lwz r3, 0x8b8(r25) +/* 80049FFC 00046F5C 38 80 00 00 */ li r4, 0 +/* 8004A000 00046F60 80 63 00 00 */ lwz r3, 0(r3) +/* 8004A004 00046F64 88 03 00 00 */ lbz r0, 0(r3) +/* 8004A008 00046F68 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8004A00C 00046F6C 98 03 00 00 */ stb r0, 0(r3) +/* 8004A010 00046F70 48 00 00 60 */ b lbl_8004A070 +lbl_8004A014: +/* 8004A014 00046F74 28 1D 00 00 */ cmplwi r29, 0 +/* 8004A018 00046F78 41 82 00 58 */ beq lbl_8004A070 +/* 8004A01C 00046F7C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8004A020 00046F80 41 82 00 20 */ beq lbl_8004A040 +/* 8004A024 00046F84 7F A3 EB 78 */ mr r3, r29 +/* 8004A028 00046F88 FC 20 F0 90 */ fmr f1, f30 +/* 8004A02C 00046F8C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8004A030 00046F90 7F 64 DB 78 */ mr r4, r27 +/* 8004A034 00046F94 81 8C 00 90 */ lwz r12, 0x90(r12) +/* 8004A038 00046F98 7D 89 03 A6 */ mtctr r12 +/* 8004A03C 00046F9C 4E 80 04 21 */ bctrl +lbl_8004A040: +/* 8004A040 00046FA0 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004A044 00046FA4 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8004A048 00046FA8 4C 40 13 82 */ cror 2, 0, 2 +/* 8004A04C 00046FAC 40 82 00 24 */ bne lbl_8004A070 +/* 8004A050 00046FB0 7F A3 EB 78 */ mr r3, r29 +/* 8004A054 00046FB4 7F 24 CB 78 */ mr r4, r25 +/* 8004A058 00046FB8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8004A05C 00046FBC 7F 65 DB 78 */ mr r5, r27 +/* 8004A060 00046FC0 38 C0 00 14 */ li r6, 0x14 +/* 8004A064 00046FC4 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 8004A068 00046FC8 7D 89 03 A6 */ mtctr r12 +/* 8004A06C 00046FCC 4E 80 04 21 */ bctrl +lbl_8004A070: +/* 8004A070 00046FD0 57 E3 06 3E */ clrlwi r3, r31, 0x18 +lbl_8004A074: +/* 8004A074 00046FD4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8004A078 00046FD8 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8004A07C 00046FDC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8004A080 00046FE0 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8004A084 00046FE4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8004A088 00046FE8 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8004A08C 00046FEC BB 01 00 30 */ lmw r24, 0x30(r1) +/* 8004A090 00046FF0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8004A094 00046FF4 7C 08 03 A6 */ mtlr r0 +/* 8004A098 00046FF8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8004A09C 00046FFC 4E 80 00 20 */ blr + +.global ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f: +/* 8004A0A0 00047000 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8004A0A4 00047004 7C 08 02 A6 */ mflr r0 +/* 8004A0A8 00047008 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8004A0AC 0004700C BE A1 00 94 */ stmw r21, 0x94(r1) +/* 8004A0B0 00047010 7C 97 23 78 */ mr r23, r4 +/* 8004A0B4 00047014 7C 76 1B 78 */ mr r22, r3 +/* 8004A0B8 00047018 7C B5 2B 78 */ mr r21, r5 +/* 8004A0BC 0004701C 7C D8 33 78 */ mr r24, r6 +/* 8004A0C0 00047020 7C F9 3B 78 */ mr r25, r7 +/* 8004A0C4 00047024 7D 1A 43 78 */ mr r26, r8 +/* 8004A0C8 00047028 7D 3B 4B 78 */ mr r27, r9 +/* 8004A0CC 0004702C A0 04 00 00 */ lhz r0, 0(r4) +/* 8004A0D0 00047030 38 81 00 18 */ addi r4, r1, 0x18 +/* 8004A0D4 00047034 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8004A0D8 00047038 48 00 24 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8004A0DC 0004703C A0 15 00 00 */ lhz r0, 0(r21) +/* 8004A0E0 00047040 7C 75 1B 78 */ mr r21, r3 +/* 8004A0E4 00047044 7E C3 B3 78 */ mr r3, r22 +/* 8004A0E8 00047048 38 81 00 14 */ addi r4, r1, 0x14 +/* 8004A0EC 0004704C B0 01 00 14 */ sth r0, 0x14(r1) +/* 8004A0F0 00047050 48 00 24 85 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8004A0F4 00047054 7C 7F 1B 78 */ mr r31, r3 +/* 8004A0F8 00047058 7E A4 AB 78 */ mr r4, r21 +/* 8004A0FC 0004705C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8004A100 00047060 48 06 5B 91 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8004A104 00047064 83 C3 00 04 */ lwz r30, 4(r3) +/* 8004A108 00047068 7F E4 FB 78 */ mr r4, r31 +/* 8004A10C 0004706C 38 61 00 34 */ addi r3, r1, 0x34 +/* 8004A110 00047070 48 06 5B 81 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8004A114 00047074 83 A3 00 04 */ lwz r29, 4(r3) +/* 8004A118 00047078 7F E4 FB 78 */ mr r4, r31 +/* 8004A11C 0004707C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8004A120 00047080 48 06 22 75 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 8004A124 00047084 80 63 00 04 */ lwz r3, 4(r3) +/* 8004A128 00047088 28 1D 00 00 */ cmplwi r29, 0 +/* 8004A12C 0004708C 7C 03 00 D0 */ neg r0, r3 +/* 8004A130 00047090 7C 00 1B 78 */ or r0, r0, r3 +/* 8004A134 00047094 54 15 0F FE */ srwi r21, r0, 0x1f +/* 8004A138 00047098 41 82 03 08 */ beq lbl_8004A440 +/* 8004A13C 0004709C 7F A3 EB 78 */ mr r3, r29 +/* 8004A140 000470A0 7E C4 B3 78 */ mr r4, r22 +/* 8004A144 000470A4 81 9D 00 00 */ lwz r12, 0(r29) +/* 8004A148 000470A8 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8004A14C 000470AC 7D 89 03 A6 */ mtctr r12 +/* 8004A150 000470B0 4E 80 04 21 */ bctrl +/* 8004A154 000470B4 28 03 00 00 */ cmplwi r3, 0 +/* 8004A158 000470B8 41 82 02 4C */ beq lbl_8004A3A4 +/* 8004A15C 000470BC C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 8004A160 000470C0 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 8004A164 000470C4 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 8004A168 000470C8 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8004A16C 000470CC D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 8004A170 000470D0 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8004A174 000470D4 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 8004A178 000470D8 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 8004A17C 000470DC C0 03 00 00 */ lfs f0, 0(r3) +/* 8004A180 000470E0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8004A184 000470E4 7C 00 00 26 */ mfcr r0 +/* 8004A188 000470E8 28 1E 00 00 */ cmplwi r30, 0 +/* 8004A18C 000470EC 54 1C 17 FE */ rlwinm r28, r0, 2, 0x1f, 0x1f +/* 8004A190 000470F0 41 82 00 34 */ beq lbl_8004A1C4 +/* 8004A194 000470F4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8004A198 000470F8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8004A19C 000470FC C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8004A1A0 00047100 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 8004A1A4 00047104 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8004A1A8 00047108 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8004A1AC 0004710C C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 8004A1B0 00047110 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8004A1B4 00047114 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8004A1B8 00047118 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8004A1BC 0004711C D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 8004A1C0 00047120 D0 41 00 80 */ stfs f2, 0x80(r1) +lbl_8004A1C4: +/* 8004A1C4 00047124 28 1E 00 00 */ cmplwi r30, 0 +/* 8004A1C8 00047128 38 00 00 00 */ li r0, 0 +/* 8004A1CC 0004712C 40 82 00 0C */ bne lbl_8004A1D8 +/* 8004A1D0 00047130 28 15 00 00 */ cmplwi r21, 0 +/* 8004A1D4 00047134 41 82 00 08 */ beq lbl_8004A1DC +lbl_8004A1D8: +/* 8004A1D8 00047138 38 00 00 01 */ li r0, 1 +lbl_8004A1DC: +/* 8004A1DC 0004713C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8004A1E0 00047140 41 82 00 28 */ beq lbl_8004A208 +/* 8004A1E4 00047144 7F A3 EB 78 */ mr r3, r29 +/* 8004A1E8 00047148 7F 26 CB 78 */ mr r6, r25 +/* 8004A1EC 0004714C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8004A1F0 00047150 38 81 00 84 */ addi r4, r1, 0x84 +/* 8004A1F4 00047154 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8004A1F8 00047158 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 8004A1FC 0004715C 7D 89 03 A6 */ mtctr r12 +/* 8004A200 00047160 4E 80 04 21 */ bctrl +/* 8004A204 00047164 48 00 00 18 */ b lbl_8004A21C +lbl_8004A208: +/* 8004A208 00047168 7F A3 EB 78 */ mr r3, r29 +/* 8004A20C 0004716C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8004A210 00047170 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8004A214 00047174 7D 89 03 A6 */ mtctr r12 +/* 8004A218 00047178 4E 80 04 21 */ bctrl +lbl_8004A21C: +/* 8004A21C 0004717C 80 19 00 00 */ lwz r0, 0(r25) +/* 8004A220 00047180 7C 75 1B 78 */ mr r21, r3 +/* 8004A224 00047184 2C 00 FF FF */ cmpwi r0, -1 +/* 8004A228 00047188 41 82 00 18 */ beq lbl_8004A240 +/* 8004A22C 0004718C 7F 24 CB 78 */ mr r4, r25 +/* 8004A230 00047190 38 A0 00 00 */ li r5, 0 +/* 8004A234 00047194 48 0B 84 D5 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 8004A238 00047198 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004A23C 0004719C 41 82 00 68 */ beq lbl_8004A2A4 +lbl_8004A240: +/* 8004A240 000471A0 7F 23 CB 78 */ mr r3, r25 +/* 8004A244 000471A4 7E A4 AB 78 */ mr r4, r21 +/* 8004A248 000471A8 48 07 92 B5 */ bl GetDamage__11CDamageInfoCFRC20CDamageVulnerability +/* 8004A24C 000471AC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004A250 000471B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8004A254 000471B4 40 81 00 1C */ ble lbl_8004A270 +/* 8004A258 000471B8 7E C3 B3 78 */ mr r3, r22 +/* 8004A25C 000471BC 7F A6 EB 78 */ mr r6, r29 +/* 8004A260 000471C0 7F 27 CB 78 */ mr r7, r25 +/* 8004A264 000471C4 38 81 00 84 */ addi r4, r1, 0x84 +/* 8004A268 000471C8 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8004A26C 000471CC 4B FF FB 69 */ bl ApplyLocalDamage__13CStateManagerFRC9CVector3fRC9CVector3fR6CActorfRC11CWeaponMode +lbl_8004A270: +/* 8004A270 000471D0 7F A3 EB 78 */ mr r3, r29 +/* 8004A274 000471D4 7E C5 B3 78 */ mr r5, r22 +/* 8004A278 000471D8 38 80 00 16 */ li r4, 0x16 +/* 8004A27C 000471DC 38 C0 FF FF */ li r6, -1 +/* 8004A280 000471E0 48 00 6E 41 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8004A284 000471E4 A0 17 00 00 */ lhz r0, 0(r23) +/* 8004A288 000471E8 7E C3 B3 78 */ mr r3, r22 +/* 8004A28C 000471EC 7F A4 EB 78 */ mr r4, r29 +/* 8004A290 000471F0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8004A294 000471F4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8004A298 000471F8 38 C0 00 29 */ li r6, 0x29 +/* 8004A29C 000471FC 4B FF 9C 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8004A2A0 00047200 48 00 00 34 */ b lbl_8004A2D4 +lbl_8004A2A4: +/* 8004A2A4 00047204 7F A3 EB 78 */ mr r3, r29 +/* 8004A2A8 00047208 7E C5 B3 78 */ mr r5, r22 +/* 8004A2AC 0004720C 38 80 00 17 */ li r4, 0x17 +/* 8004A2B0 00047210 38 C0 FF FF */ li r6, -1 +/* 8004A2B4 00047214 48 00 6E 0D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8004A2B8 00047218 A0 17 00 00 */ lhz r0, 0(r23) +/* 8004A2BC 0004721C 7E C3 B3 78 */ mr r3, r22 +/* 8004A2C0 00047220 7F A4 EB 78 */ mr r4, r29 +/* 8004A2C4 00047224 38 A1 00 0C */ addi r5, r1, 0xc +/* 8004A2C8 00047228 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004A2CC 0004722C 38 C0 00 2A */ li r6, 0x2a +/* 8004A2D0 00047230 4B FF 9C 01 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_8004A2D4: +/* 8004A2D4 00047234 28 1C 00 00 */ cmplwi r28, 0 +/* 8004A2D8 00047238 41 82 00 CC */ beq lbl_8004A3A4 +/* 8004A2DC 0004723C 28 1E 00 00 */ cmplwi r30, 0 +/* 8004A2E0 00047240 41 82 00 C4 */ beq lbl_8004A3A4 +/* 8004A2E4 00047244 C0 19 00 14 */ lfs f0, 0x14(r25) +/* 8004A2E8 00047248 C0 82 85 68 */ lfs f4, lbl_805AA288@sda21(r2) +/* 8004A2EC 0004724C FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 8004A2F0 00047250 40 81 00 B4 */ ble lbl_8004A3A4 +/* 8004A2F4 00047254 C0 5D 00 50 */ lfs f2, 0x50(r29) +/* 8004A2F8 00047258 38 00 00 00 */ li r0, 0 +/* 8004A2FC 0004725C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8004A300 00047260 C0 1B 00 00 */ lfs f0, 0(r27) +/* 8004A304 00047264 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 8004A308 00047268 EC A2 08 28 */ fsubs f5, f2, f1 +/* 8004A30C 0004726C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8004A310 00047270 FC 04 00 00 */ fcmpu cr0, f4, f0 +/* 8004A314 00047274 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 8004A318 00047278 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8004A31C 0004727C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8004A320 00047280 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8004A324 00047284 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 8004A328 00047288 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8004A32C 0004728C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8004A330 00047290 40 82 00 1C */ bne lbl_8004A34C +/* 8004A334 00047294 C0 1B 00 04 */ lfs f0, 4(r27) +/* 8004A338 00047298 FC 04 00 00 */ fcmpu cr0, f4, f0 +/* 8004A33C 0004729C 40 82 00 10 */ bne lbl_8004A34C +/* 8004A340 000472A0 C0 1B 00 08 */ lfs f0, 8(r27) +/* 8004A344 000472A4 FC 04 00 00 */ fcmpu cr0, f4, f0 +/* 8004A348 000472A8 41 82 00 08 */ beq lbl_8004A350 +lbl_8004A34C: +/* 8004A34C 000472AC 38 00 00 01 */ li r0, 1 +lbl_8004A350: +/* 8004A350 000472B0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8004A354 000472B4 41 82 00 0C */ beq lbl_8004A360 +/* 8004A358 000472B8 7F 64 DB 78 */ mr r4, r27 +/* 8004A35C 000472BC 48 00 00 08 */ b lbl_8004A364 +lbl_8004A360: +/* 8004A360 000472C0 38 81 00 6C */ addi r4, r1, 0x6c +lbl_8004A364: +/* 8004A364 000472C4 C0 44 00 04 */ lfs f2, 4(r4) +/* 8004A368 000472C8 38 61 00 54 */ addi r3, r1, 0x54 +/* 8004A36C 000472CC C0 24 00 00 */ lfs f1, 0(r4) +/* 8004A370 000472D0 38 81 00 60 */ addi r4, r1, 0x60 +/* 8004A374 000472D4 C0 02 85 F8 */ lfs f0, lbl_805AA318@sda21(r2) +/* 8004A378 000472D8 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8004A37C 000472DC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8004A380 000472E0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8004A384 000472E4 48 2C A4 CD */ bl AsNormalized__9CVector3fCFv +/* 8004A388 000472E8 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 8004A38C 000472EC 7E C3 B3 78 */ mr r3, r22 +/* 8004A390 000472F0 7F A4 EB 78 */ mr r4, r29 +/* 8004A394 000472F4 7F 25 CB 78 */ mr r5, r25 +/* 8004A398 000472F8 7E A6 AB 78 */ mr r6, r21 +/* 8004A39C 000472FC 38 E1 00 54 */ addi r7, r1, 0x54 +/* 8004A3A0 00047300 4B FF E6 F9 */ bl ApplyKnockBack__13CStateManagerFR6CActorRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ff +lbl_8004A3A4: +/* 8004A3A4 00047304 28 1E 00 00 */ cmplwi r30, 0 +/* 8004A3A8 00047308 41 82 00 38 */ beq lbl_8004A3E0 +/* 8004A3AC 0004730C C0 39 00 10 */ lfs f1, 0x10(r25) +/* 8004A3B0 00047310 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004A3B4 00047314 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8004A3B8 00047318 40 81 00 28 */ ble lbl_8004A3E0 +/* 8004A3BC 0004731C A0 18 00 00 */ lhz r0, 0(r24) +/* 8004A3C0 00047320 7E C3 B3 78 */ mr r3, r22 +/* 8004A3C4 00047324 7F C4 F3 78 */ mr r4, r30 +/* 8004A3C8 00047328 7F A5 EB 78 */ mr r5, r29 +/* 8004A3CC 0004732C B0 01 00 08 */ sth r0, 8(r1) +/* 8004A3D0 00047330 7F 27 CB 78 */ mr r7, r25 +/* 8004A3D4 00047334 7F 48 D3 78 */ mr r8, r26 +/* 8004A3D8 00047338 38 C1 00 08 */ addi r6, r1, 8 +/* 8004A3DC 0004733C 4B FF EC 35 */ bl ProcessRadiusDamage__13CStateManagerFRC6CActorR6CActor9TUniqueIdRC11CDamageInfoRC15CMaterialFilter +lbl_8004A3E0: +/* 8004A3E0 00047340 7F E4 FB 78 */ mr r4, r31 +/* 8004A3E4 00047344 38 61 00 2C */ addi r3, r1, 0x2c +/* 8004A3E8 00047348 48 05 B8 29 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" +/* 8004A3EC 0004734C 80 63 00 04 */ lwz r3, 4(r3) +/* 8004A3F0 00047350 28 03 00 00 */ cmplwi r3, 0 +/* 8004A3F4 00047354 41 82 00 4C */ beq lbl_8004A440 +/* 8004A3F8 00047358 28 1E 00 00 */ cmplwi r30, 0 +/* 8004A3FC 0004735C 41 82 00 44 */ beq lbl_8004A440 +/* 8004A400 00047360 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 8004A404 00047364 7F 25 CB 78 */ mr r5, r25 +/* 8004A408 00047368 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8004A40C 0004736C 7E C6 B3 78 */ mr r6, r22 +/* 8004A410 00047370 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 8004A414 00047374 38 81 00 48 */ addi r4, r1, 0x48 +/* 8004A418 00047378 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8004A41C 0004737C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8004A420 00047380 81 01 00 3C */ lwz r8, 0x3c(r1) +/* 8004A424 00047384 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8004A428 00047388 80 E1 00 40 */ lwz r7, 0x40(r1) +/* 8004A42C 0004738C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8004A430 00047390 91 01 00 48 */ stw r8, 0x48(r1) +/* 8004A434 00047394 90 E1 00 4C */ stw r7, 0x4c(r1) +/* 8004A438 00047398 90 01 00 50 */ stw r0, 0x50(r1) +/* 8004A43C 0004739C 48 19 E4 35 */ bl ApplyRadiusDamage__17CWallCrawlerSwarmF9CVector3ffR13CStateManager +lbl_8004A440: +/* 8004A440 000473A0 BA A1 00 94 */ lmw r21, 0x94(r1) +/* 8004A444 000473A4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8004A448 000473A8 7C 08 03 A6 */ mtlr r0 +/* 8004A44C 000473AC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8004A450 000473B0 4E 80 00 20 */ blr + +.global UpdateAreaSounds__13CStateManagerFv +UpdateAreaSounds__13CStateManagerFv: +/* 8004A454 000473B4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8004A458 000473B8 7C 08 02 A6 */ mflr r0 +/* 8004A45C 000473BC 38 80 00 00 */ li r4, 0 +/* 8004A460 000473C0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8004A464 000473C4 2C 04 00 00 */ cmpwi r4, 0 +/* 8004A468 000473C8 7C 85 23 78 */ mr r5, r4 +/* 8004A46C 000473CC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8004A470 000473D0 3B E1 00 10 */ addi r31, r1, 0x10 +/* 8004A474 000473D4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8004A478 000473D8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8004A47C 000473DC 40 81 00 40 */ ble lbl_8004A4BC +/* 8004A480 000473E0 2C 04 00 08 */ cmpwi r4, 8 +/* 8004A484 000473E4 38 C0 FF F8 */ li r6, -8 +/* 8004A488 000473E8 40 81 00 20 */ ble lbl_8004A4A8 +/* 8004A48C 000473EC 38 00 FF FF */ li r0, -1 +/* 8004A490 000473F0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004A494 000473F4 7C 09 03 A6 */ mtctr r0 +/* 8004A498 000473F8 2C 06 00 00 */ cmpwi r6, 0 +/* 8004A49C 000473FC 40 81 00 0C */ ble lbl_8004A4A8 +lbl_8004A4A0: +/* 8004A4A0 00047400 38 A5 00 08 */ addi r5, r5, 8 +/* 8004A4A4 00047404 42 00 FF FC */ bdnz lbl_8004A4A0 +lbl_8004A4A8: +/* 8004A4A8 00047408 7C 05 00 D0 */ neg r0, r5 +/* 8004A4AC 0004740C 7C 09 03 A6 */ mtctr r0 +/* 8004A4B0 00047410 7C 05 20 00 */ cmpw r5, r4 +/* 8004A4B4 00047414 40 80 00 08 */ bge lbl_8004A4BC +lbl_8004A4B8: +/* 8004A4B8 00047418 42 00 00 00 */ bdnz lbl_8004A4B8 +lbl_8004A4BC: +/* 8004A4BC 0004741C 38 00 00 00 */ li r0, 0 +/* 8004A4C0 00047420 90 01 00 0C */ stw r0, 0xc(r1) +/* 8004A4C4 00047424 80 63 08 50 */ lwz r3, 0x850(r3) +/* 8004A4C8 00047428 83 C3 00 58 */ lwz r30, 0x58(r3) +/* 8004A4CC 0004742C 48 00 00 50 */ b lbl_8004A51C +lbl_8004A4D0: +/* 8004A4D0 00047430 88 1E 00 F0 */ lbz r0, 0xf0(r30) +/* 8004A4D4 00047434 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004A4D8 00047438 41 82 00 10 */ beq lbl_8004A4E8 +/* 8004A4DC 0004743C 80 7E 01 2C */ lwz r3, 0x12c(r30) +/* 8004A4E0 00047440 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 8004A4E4 00047444 48 00 00 08 */ b lbl_8004A4EC +lbl_8004A4E8: +/* 8004A4E8 00047448 38 00 00 00 */ li r0, 0 +lbl_8004A4EC: +/* 8004A4EC 0004744C 2C 00 00 01 */ cmpwi r0, 1 +/* 8004A4F0 00047450 40 82 00 28 */ bne lbl_8004A518 +/* 8004A4F4 00047454 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8004A4F8 00047458 80 9E 00 04 */ lwz r4, 4(r30) +/* 8004A4FC 0004745C 54 00 10 3A */ slwi r0, r0, 2 +/* 8004A500 00047460 7C 7F 02 15 */ add. r3, r31, r0 +/* 8004A504 00047464 41 82 00 08 */ beq lbl_8004A50C +/* 8004A508 00047468 90 83 00 00 */ stw r4, 0(r3) +lbl_8004A50C: +/* 8004A50C 0004746C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8004A510 00047470 38 03 00 01 */ addi r0, r3, 1 +/* 8004A514 00047474 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8004A518: +/* 8004A518 00047478 83 DE 01 30 */ lwz r30, 0x130(r30) +lbl_8004A51C: +/* 8004A51C 0004747C 38 61 00 08 */ addi r3, r1, 8 +/* 8004A520 00047480 4B FF C7 ED */ bl GetAliveAreasEnd__6CWorldFv +/* 8004A524 00047484 80 01 00 08 */ lwz r0, 8(r1) +/* 8004A528 00047488 7C 1E 00 40 */ cmplw r30, r0 +/* 8004A52C 0004748C 40 82 FF A4 */ bne lbl_8004A4D0 +/* 8004A530 00047490 38 61 00 0C */ addi r3, r1, 0xc +/* 8004A534 00047494 48 29 E3 6D */ bl "SetActiveAreas__11CSfxManagerFRCQ24rstl21reserved_vector" +/* 8004A538 00047498 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8004A53C 0004749C 38 60 00 00 */ li r3, 0 +/* 8004A540 000474A0 2C 05 00 00 */ cmpwi r5, 0 +/* 8004A544 000474A4 40 81 00 40 */ ble lbl_8004A584 +/* 8004A548 000474A8 2C 05 00 08 */ cmpwi r5, 8 +/* 8004A54C 000474AC 38 85 FF F8 */ addi r4, r5, -8 +/* 8004A550 000474B0 40 81 00 20 */ ble lbl_8004A570 +/* 8004A554 000474B4 38 04 00 07 */ addi r0, r4, 7 +/* 8004A558 000474B8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004A55C 000474BC 7C 09 03 A6 */ mtctr r0 +/* 8004A560 000474C0 2C 04 00 00 */ cmpwi r4, 0 +/* 8004A564 000474C4 40 81 00 0C */ ble lbl_8004A570 +lbl_8004A568: +/* 8004A568 000474C8 38 63 00 08 */ addi r3, r3, 8 +/* 8004A56C 000474CC 42 00 FF FC */ bdnz lbl_8004A568 +lbl_8004A570: +/* 8004A570 000474D0 7C 03 28 50 */ subf r0, r3, r5 +/* 8004A574 000474D4 7C 09 03 A6 */ mtctr r0 +/* 8004A578 000474D8 7C 03 28 00 */ cmpw r3, r5 +/* 8004A57C 000474DC 40 80 00 08 */ bge lbl_8004A584 +lbl_8004A580: +/* 8004A580 000474E0 42 00 00 00 */ bdnz lbl_8004A580 +lbl_8004A584: +/* 8004A584 000474E4 38 00 00 00 */ li r0, 0 +/* 8004A588 000474E8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8004A58C 000474EC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8004A590 000474F0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8004A594 000474F4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8004A598 000474F8 7C 08 03 A6 */ mtlr r0 +/* 8004A59C 000474FC 38 21 00 40 */ addi r1, r1, 0x40 +/* 8004A5A0 00047500 4E 80 00 20 */ blr + +.global FrameEnd__13CStateManagerFv +FrameEnd__13CStateManagerFv: +/* 8004A5A4 00047504 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004A5A8 00047508 7C 08 02 A6 */ mflr r0 +/* 8004A5AC 0004750C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004A5B0 00047510 48 30 AD DD */ bl FrameDone__6CModelFv +/* 8004A5B4 00047514 80 6D A0 64 */ lwz r3, gpSimplePool@sda21(r13) +/* 8004A5B8 00047518 81 83 00 00 */ lwz r12, 0(r3) +/* 8004A5BC 0004751C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8004A5C0 00047520 7D 89 03 A6 */ mtctr r12 +/* 8004A5C4 00047524 4E 80 04 21 */ bctrl +/* 8004A5C8 00047528 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004A5CC 0004752C 7C 08 03 A6 */ mtlr r0 +/* 8004A5D0 00047530 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004A5D4 00047534 4E 80 00 20 */ blr + +.global ProcessPlayerInput__13CStateManagerFv +ProcessPlayerInput__13CStateManagerFv: +/* 8004A5D8 00047538 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004A5DC 0004753C 7C 08 02 A6 */ mflr r0 +/* 8004A5E0 00047540 7C 65 1B 78 */ mr r5, r3 +/* 8004A5E4 00047544 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004A5E8 00047548 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 8004A5EC 0004754C 28 03 00 00 */ cmplwi r3, 0 +/* 8004A5F0 00047550 41 82 00 0C */ beq lbl_8004A5FC +/* 8004A5F4 00047554 38 85 0B 54 */ addi r4, r5, 0xb54 +/* 8004A5F8 00047558 4B FC A7 65 */ bl ProcessInput__7CPlayerFRC11CFinalInputR13CStateManager +lbl_8004A5FC: +/* 8004A5FC 0004755C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004A600 00047560 7C 08 03 A6 */ mtlr r0 +/* 8004A604 00047564 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004A608 00047568 4E 80 00 20 */ blr + +.global ProcessInput__13CStateManagerFRC11CFinalInput +ProcessInput__13CStateManagerFRC11CFinalInput: +/* 8004A60C 0004756C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004A610 00047570 7C 08 02 A6 */ mflr r0 +/* 8004A614 00047574 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004A618 00047578 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004A61C 0004757C 7C 9F 23 78 */ mr r31, r4 +/* 8004A620 00047580 93 C1 00 08 */ stw r30, 8(r1) +/* 8004A624 00047584 7C 7E 1B 78 */ mr r30, r3 +/* 8004A628 00047588 88 0D A1 E0 */ lbz r0, lbl_805A8DA0@sda21(r13) +/* 8004A62C 0004758C 7C 00 07 75 */ extsb. r0, r0 +/* 8004A630 00047590 40 82 00 18 */ bne lbl_8004A648 +/* 8004A634 00047594 3C 60 80 46 */ lis r3, lbl_8045C550@ha +/* 8004A638 00047598 38 63 C5 50 */ addi r3, r3, lbl_8045C550@l +/* 8004A63C 0004759C 48 2F F7 E5 */ bl __ct__11CFinalInputFv +/* 8004A640 000475A0 38 00 00 01 */ li r0, 1 +/* 8004A644 000475A4 98 0D A1 E0 */ stb r0, lbl_805A8DA0@sda21(r13) +lbl_8004A648: +/* 8004A648 000475A8 80 1F 00 04 */ lwz r0, 4(r31) +/* 8004A64C 000475AC 2C 00 00 00 */ cmpwi r0, 0 +/* 8004A650 000475B0 40 82 01 54 */ bne lbl_8004A7A4 +/* 8004A654 000475B4 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8004A658 000475B8 7F C4 F3 78 */ mr r4, r30 +/* 8004A65C 000475BC 4B FC 14 BD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8004A660 000475C0 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 8004A664 000475C4 88 63 01 70 */ lbz r3, 0x170(r3) +/* 8004A668 000475C8 88 04 09 C6 */ lbz r0, 0x9c6(r4) +/* 8004A66C 000475CC 54 63 D7 FE */ rlwinm r3, r3, 0x1a, 0x1f, 0x1f +/* 8004A670 000475D0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8004A674 000475D4 41 82 00 08 */ beq lbl_8004A67C +/* 8004A678 000475D8 38 60 00 01 */ li r3, 1 +lbl_8004A67C: +/* 8004A67C 000475DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004A680 000475E0 41 82 00 9C */ beq lbl_8004A71C +/* 8004A684 000475E4 3C 60 80 46 */ lis r3, lbl_8045C550@ha +/* 8004A688 000475E8 C4 03 C5 50 */ lfsu f0, lbl_8045C550@l(r3) +/* 8004A68C 000475EC D0 1E 0B 54 */ stfs f0, 0xb54(r30) +/* 8004A690 000475F0 80 03 00 04 */ lwz r0, 4(r3) +/* 8004A694 000475F4 90 1E 0B 58 */ stw r0, 0xb58(r30) +/* 8004A698 000475F8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8004A69C 000475FC D0 1E 0B 5C */ stfs f0, 0xb5c(r30) +/* 8004A6A0 00047600 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8004A6A4 00047604 D0 1E 0B 60 */ stfs f0, 0xb60(r30) +/* 8004A6A8 00047608 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8004A6AC 0004760C D0 1E 0B 64 */ stfs f0, 0xb64(r30) +/* 8004A6B0 00047610 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8004A6B4 00047614 D0 1E 0B 68 */ stfs f0, 0xb68(r30) +/* 8004A6B8 00047618 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8004A6BC 0004761C D0 1E 0B 6C */ stfs f0, 0xb6c(r30) +/* 8004A6C0 00047620 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8004A6C4 00047624 D0 1E 0B 70 */ stfs f0, 0xb70(r30) +/* 8004A6C8 00047628 88 03 00 20 */ lbz r0, 0x20(r3) +/* 8004A6CC 0004762C 98 1E 0B 74 */ stb r0, 0xb74(r30) +/* 8004A6D0 00047630 88 03 00 21 */ lbz r0, 0x21(r3) +/* 8004A6D4 00047634 98 1E 0B 75 */ stb r0, 0xb75(r30) +/* 8004A6D8 00047638 88 03 00 22 */ lbz r0, 0x22(r3) +/* 8004A6DC 0004763C 98 1E 0B 76 */ stb r0, 0xb76(r30) +/* 8004A6E0 00047640 88 03 00 23 */ lbz r0, 0x23(r3) +/* 8004A6E4 00047644 98 1E 0B 77 */ stb r0, 0xb77(r30) +/* 8004A6E8 00047648 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 8004A6EC 0004764C D0 1E 0B 78 */ stfs f0, 0xb78(r30) +/* 8004A6F0 00047650 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8004A6F4 00047654 D0 1E 0B 7C */ stfs f0, 0xb7c(r30) +/* 8004A6F8 00047658 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 8004A6FC 0004765C 98 1E 0B 80 */ stb r0, 0xb80(r30) +/* 8004A700 00047660 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 8004A704 00047664 98 1E 0B 81 */ stb r0, 0xb81(r30) +/* 8004A708 00047668 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 8004A70C 0004766C 98 1E 0B 82 */ stb r0, 0xb82(r30) +/* 8004A710 00047670 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8004A714 00047674 D0 1E 0B 54 */ stfs f0, 0xb54(r30) +/* 8004A718 00047678 48 00 00 8C */ b lbl_8004A7A4 +lbl_8004A71C: +/* 8004A71C 0004767C C0 1F 00 00 */ lfs f0, 0(r31) +/* 8004A720 00047680 D0 1E 0B 54 */ stfs f0, 0xb54(r30) +/* 8004A724 00047684 80 1F 00 04 */ lwz r0, 4(r31) +/* 8004A728 00047688 90 1E 0B 58 */ stw r0, 0xb58(r30) +/* 8004A72C 0004768C C0 1F 00 08 */ lfs f0, 8(r31) +/* 8004A730 00047690 D0 1E 0B 5C */ stfs f0, 0xb5c(r30) +/* 8004A734 00047694 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8004A738 00047698 D0 1E 0B 60 */ stfs f0, 0xb60(r30) +/* 8004A73C 0004769C C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8004A740 000476A0 D0 1E 0B 64 */ stfs f0, 0xb64(r30) +/* 8004A744 000476A4 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8004A748 000476A8 D0 1E 0B 68 */ stfs f0, 0xb68(r30) +/* 8004A74C 000476AC C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8004A750 000476B0 D0 1E 0B 6C */ stfs f0, 0xb6c(r30) +/* 8004A754 000476B4 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8004A758 000476B8 D0 1E 0B 70 */ stfs f0, 0xb70(r30) +/* 8004A75C 000476BC 88 1F 00 20 */ lbz r0, 0x20(r31) +/* 8004A760 000476C0 98 1E 0B 74 */ stb r0, 0xb74(r30) +/* 8004A764 000476C4 88 1F 00 21 */ lbz r0, 0x21(r31) +/* 8004A768 000476C8 98 1E 0B 75 */ stb r0, 0xb75(r30) +/* 8004A76C 000476CC 88 1F 00 22 */ lbz r0, 0x22(r31) +/* 8004A770 000476D0 98 1E 0B 76 */ stb r0, 0xb76(r30) +/* 8004A774 000476D4 88 1F 00 23 */ lbz r0, 0x23(r31) +/* 8004A778 000476D8 98 1E 0B 77 */ stb r0, 0xb77(r30) +/* 8004A77C 000476DC C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8004A780 000476E0 D0 1E 0B 78 */ stfs f0, 0xb78(r30) +/* 8004A784 000476E4 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 8004A788 000476E8 D0 1E 0B 7C */ stfs f0, 0xb7c(r30) +/* 8004A78C 000476EC 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 8004A790 000476F0 98 1E 0B 80 */ stb r0, 0xb80(r30) +/* 8004A794 000476F4 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 8004A798 000476F8 98 1E 0B 81 */ stb r0, 0xb81(r30) +/* 8004A79C 000476FC 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8004A7A0 00047700 98 1E 0B 82 */ stb r0, 0xb82(r30) +lbl_8004A7A4: +/* 8004A7A4 00047704 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8004A7A8 00047708 7F E4 FB 78 */ mr r4, r31 +/* 8004A7AC 0004770C 7F C5 F3 78 */ mr r5, r30 +/* 8004A7B0 00047710 4B FC 0C BD */ bl ProcessInput__14CCameraManagerFRC11CFinalInputR13CStateManager +/* 8004A7B4 00047714 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004A7B8 00047718 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004A7BC 0004771C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004A7C0 00047720 7C 08 03 A6 */ mtlr r0 +/* 8004A7C4 00047724 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004A7C8 00047728 4E 80 00 20 */ blr + +.global Update__13CStateManagerFf +Update__13CStateManagerFf: +/* 8004A7CC 0004772C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8004A7D0 00047730 7C 08 02 A6 */ mflr r0 +/* 8004A7D4 00047734 90 01 00 44 */ stw r0, 0x44(r1) +/* 8004A7D8 00047738 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8004A7DC 0004773C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8004A7E0 00047740 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8004A7E4 00047744 80 03 08 D8 */ lwz r0, 0x8d8(r3) +/* 8004A7E8 00047748 FF E0 08 90 */ fmr f31, f1 +/* 8004A7EC 0004774C 7C 7E 1B 78 */ mr r30, r3 +/* 8004A7F0 00047750 B0 0D 9C F8 */ sth r0, lbl_805A88B8@sda21(r13) +/* 8004A7F4 00047754 80 03 08 D8 */ lwz r0, 0x8d8(r3) +/* 8004A7F8 00047758 B0 0D 9E 50 */ sth r0, lbl_805A8A10@sda21(r13) +/* 8004A7FC 0004775C 80 03 08 D8 */ lwz r0, 0x8d8(r3) +/* 8004A800 00047760 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 8004A804 00047764 48 26 B0 49 */ bl SetGlobalSeed__6CDecalFUs +/* 8004A808 00047768 80 7E 08 D8 */ lwz r3, 0x8d8(r30) +/* 8004A80C 0004776C 48 26 48 FD */ bl SetGlobalSeed__17CProjectileWeaponFUs +/* 8004A810 00047770 C0 3E 0F 14 */ lfs f1, 0xf14(r30) +/* 8004A814 00047774 C0 02 86 18 */ lfs f0, lbl_805AA338@sda21(r2) +/* 8004A818 00047778 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8004A81C 0004777C D0 3E 0F 14 */ stfs f1, 0xf14(r30) +/* 8004A820 00047780 C0 3E 0F 14 */ lfs f1, 0xf14(r30) +/* 8004A824 00047784 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8004A828 00047788 40 81 00 0C */ ble lbl_8004A834 +/* 8004A82C 0004778C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8004A830 00047790 D0 1E 0F 14 */ stfs f0, 0xf14(r30) +lbl_8004A834: +/* 8004A834 00047794 38 00 FF FF */ li r0, -1 +/* 8004A838 00047798 90 1E 0F 08 */ stw r0, 0xf08(r30) +/* 8004A83C 0004779C 48 04 37 6D */ bl ResetParticleCounts__13CScriptEffectFv +/* 8004A840 000477A0 7F C3 F3 78 */ mr r3, r30 +/* 8004A844 000477A4 4B FF 9D 25 */ bl UpdateThermalVisor__13CStateManagerFv +/* 8004A848 000477A8 7F C3 F3 78 */ mr r3, r30 +/* 8004A84C 000477AC 48 00 0C B9 */ bl nullsub_34 +/* 8004A850 000477B0 7F C3 F3 78 */ mr r3, r30 +/* 8004A854 000477B4 48 00 0C B5 */ bl UpdateGameState__13CStateManagerFv +/* 8004A858 000477B8 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8004A85C 000477BC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004A860 000477C0 C0 23 09 F4 */ lfs f1, 0x9f4(r3) +/* 8004A864 000477C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8004A868 000477C8 7C 60 00 26 */ mfcr r3 +/* 8004A86C 000477CC 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 8004A870 000477D0 54 7F 17 FE */ rlwinm r31, r3, 2, 0x1f, 0x1f +/* 8004A874 000477D4 2C 00 00 00 */ cmpwi r0, 0 +/* 8004A878 000477D8 40 82 00 7C */ bne lbl_8004A8F4 +/* 8004A87C 000477DC 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8004A880 000477E0 7F C4 F3 78 */ mr r4, r30 +/* 8004A884 000477E4 4B FC 12 95 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8004A888 000477E8 7C 64 1B 78 */ mr r4, r3 +/* 8004A88C 000477EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8004A890 000477F0 48 06 4E A1 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" +/* 8004A894 000477F4 80 03 00 04 */ lwz r0, 4(r3) +/* 8004A898 000477F8 28 00 00 00 */ cmplwi r0, 0 +/* 8004A89C 000477FC 40 82 00 20 */ bne lbl_8004A8BC +/* 8004A8A0 00047800 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8004A8A4 00047804 C8 03 00 A0 */ lfd f0, 0xa0(r3) +/* 8004A8A8 00047808 FC 3F 00 2A */ fadd f1, f31, f0 +/* 8004A8AC 0004780C 48 18 90 29 */ bl SetTotalPlayTime__10CGameStateFd +/* 8004A8B0 00047810 FC 20 F8 90 */ fmr f1, f31 +/* 8004A8B4 00047814 7F C3 F3 78 */ mr r3, r30 +/* 8004A8B8 00047818 4B FF A4 81 */ bl UpdateHintState__13CStateManagerFf +lbl_8004A8BC: +/* 8004A8BC 0004781C 3B BE 0B 88 */ addi r29, r30, 0xb88 +/* 8004A8C0 00047820 3B 9E 0D 18 */ addi r28, r30, 0xd18 +/* 8004A8C4 00047824 3B 60 00 00 */ li r27, 0 +lbl_8004A8C8: +/* 8004A8C8 00047828 FC 20 F8 90 */ fmr f1, f31 +/* 8004A8CC 0004782C 7F A3 EB 78 */ mr r3, r29 +/* 8004A8D0 00047830 48 0A 29 4D */ bl Update__17CCameraFilterPassFf +/* 8004A8D4 00047834 FC 20 F8 90 */ fmr f1, f31 +/* 8004A8D8 00047838 7F 83 E3 78 */ mr r3, r28 +/* 8004A8DC 0004783C 48 0A 14 FD */ bl Update__15CCameraBlurPassFf +/* 8004A8E0 00047840 3B 7B 00 01 */ addi r27, r27, 1 +/* 8004A8E4 00047844 3B 9C 00 34 */ addi r28, r28, 0x34 +/* 8004A8E8 00047848 2C 1B 00 09 */ cmpwi r27, 9 +/* 8004A8EC 0004784C 3B BD 00 2C */ addi r29, r29, 0x2c +/* 8004A8F0 00047850 41 80 FF D8 */ blt lbl_8004A8C8 +lbl_8004A8F4: +/* 8004A8F4 00047854 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 8004A8F8 00047858 2C 00 00 02 */ cmpwi r0, 2 +/* 8004A8FC 0004785C 41 82 00 1C */ beq lbl_8004A918 +/* 8004A900 00047860 FC 20 F8 90 */ fmr f1, f31 +/* 8004A904 00047864 7F C3 F3 78 */ mr r3, r30 +/* 8004A908 00047868 48 00 02 E9 */ bl PreThinkObjects__13CStateManagerFf +/* 8004A90C 0004786C FC 20 F8 90 */ fmr f1, f31 +/* 8004A910 00047870 80 7E 08 7C */ lwz r3, 0x87c(r30) +/* 8004A914 00047874 48 0E 4D 21 */ bl Update__18CFluidPlaneManagerFf +lbl_8004A918: +/* 8004A918 00047878 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 8004A91C 0004787C 2C 00 00 00 */ cmpwi r0, 0 +/* 8004A920 00047880 40 82 00 84 */ bne lbl_8004A9A4 +/* 8004A924 00047884 28 1F 00 00 */ cmplwi r31, 0 +/* 8004A928 00047888 40 82 00 10 */ bne lbl_8004A938 +/* 8004A92C 0004788C FC 20 F8 90 */ fmr f1, f31 +/* 8004A930 00047890 7F C3 F3 78 */ mr r3, r30 +/* 8004A934 00047894 48 0C C6 85 */ bl Update__13CDecalManagerFfR13CStateManager +lbl_8004A938: +/* 8004A938 00047898 7F C3 F3 78 */ mr r3, r30 +/* 8004A93C 0004789C 48 00 1F 55 */ bl UpdateSortedLists__13CStateManagerFv +/* 8004A940 000478A0 28 1F 00 00 */ cmplwi r31, 0 +/* 8004A944 000478A4 40 82 00 1C */ bne lbl_8004A960 +/* 8004A948 000478A8 FC 20 F8 90 */ fmr f1, f31 +/* 8004A94C 000478AC 7F C3 F3 78 */ mr r3, r30 +/* 8004A950 000478B0 48 00 0A DD */ bl MovePlatforms__13CStateManagerFf +/* 8004A954 000478B4 FC 20 F8 90 */ fmr f1, f31 +/* 8004A958 000478B8 7F C3 F3 78 */ mr r3, r30 +/* 8004A95C 000478BC 48 00 09 31 */ bl MoveDoors__13CStateManagerFf +lbl_8004A960: +/* 8004A960 000478C0 7F C3 F3 78 */ mr r3, r30 +/* 8004A964 000478C4 4B FF FC 75 */ bl ProcessPlayerInput__13CStateManagerFv +/* 8004A968 000478C8 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 8004A96C 000478CC 2C 00 00 01 */ cmpwi r0, 1 +/* 8004A970 000478D0 41 82 00 18 */ beq lbl_8004A988 +/* 8004A974 000478D4 FC 20 F8 90 */ fmr f1, f31 +/* 8004A978 000478D8 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 8004A97C 000478DC 7F C3 F3 78 */ mr r3, r30 +/* 8004A980 000478E0 38 A0 00 00 */ li r5, 0 +/* 8004A984 000478E4 48 13 73 B5 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" +lbl_8004A988: +/* 8004A988 000478E8 7F C3 F3 78 */ mr r3, r30 +/* 8004A98C 000478EC 48 00 1F 05 */ bl UpdateSortedLists__13CStateManagerFv +/* 8004A990 000478F0 28 1F 00 00 */ cmplwi r31, 0 +/* 8004A994 000478F4 40 82 00 18 */ bne lbl_8004A9AC +/* 8004A998 000478F8 7F C3 F3 78 */ mr r3, r30 +/* 8004A99C 000478FC 48 00 05 95 */ bl CrossTouchActors__13CStateManagerFf +/* 8004A9A0 00047900 48 00 00 0C */ b lbl_8004A9AC +lbl_8004A9A4: +/* 8004A9A4 00047904 7F C3 F3 78 */ mr r3, r30 +/* 8004A9A8 00047908 4B FF FC 31 */ bl ProcessPlayerInput__13CStateManagerFv +lbl_8004A9AC: +/* 8004A9AC 0004790C 28 1F 00 00 */ cmplwi r31, 0 +/* 8004A9B0 00047910 40 82 00 20 */ bne lbl_8004A9D0 +/* 8004A9B4 00047914 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 8004A9B8 00047918 2C 00 00 00 */ cmpwi r0, 0 +/* 8004A9BC 0004791C 40 82 00 14 */ bne lbl_8004A9D0 +/* 8004A9C0 00047920 FC 20 F8 90 */ fmr f1, f31 +/* 8004A9C4 00047924 80 7E 08 84 */ lwz r3, 0x884(r30) +/* 8004A9C8 00047928 7F C4 F3 78 */ mr r4, r30 +/* 8004A9CC 0004792C 48 19 AC 81 */ bl Update__20CActorModelParticlesFfR13CStateManager +lbl_8004A9D0: +/* 8004A9D0 00047930 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 8004A9D4 00047934 2C 00 00 00 */ cmpwi r0, 0 +/* 8004A9D8 00047938 41 82 00 0C */ beq lbl_8004A9E4 +/* 8004A9DC 0004793C 2C 00 00 01 */ cmpwi r0, 1 +/* 8004A9E0 00047940 40 82 00 10 */ bne lbl_8004A9F0 +lbl_8004A9E4: +/* 8004A9E4 00047944 FC 20 F8 90 */ fmr f1, f31 +/* 8004A9E8 00047948 7F C3 F3 78 */ mr r3, r30 +/* 8004A9EC 0004794C 48 00 03 5D */ bl Think__13CStateManagerFf +lbl_8004A9F0: +/* 8004A9F0 00047950 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 8004A9F4 00047954 2C 00 00 01 */ cmpwi r0, 1 +/* 8004A9F8 00047958 41 82 00 58 */ beq lbl_8004AA50 +/* 8004A9FC 0004795C FC 20 F8 90 */ fmr f1, f31 +/* 8004AA00 00047960 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8004AA04 00047964 7F C4 F3 78 */ mr r4, r30 +/* 8004AA08 00047968 4B FC 0B 45 */ bl Update__14CCameraManagerFfR13CStateManager +/* 8004AA0C 0004796C 48 00 00 44 */ b lbl_8004AA50 +lbl_8004AA10: +/* 8004AA10 00047970 A0 1E 0F 76 */ lhz r0, 0xf76(r30) +/* 8004AA14 00047974 7F C3 F3 78 */ mr r3, r30 +/* 8004AA18 00047978 38 81 00 08 */ addi r4, r1, 8 +/* 8004AA1C 0004797C B0 01 00 08 */ sth r0, 8(r1) +/* 8004AA20 00047980 48 00 1B 55 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8004AA24 00047984 28 03 00 00 */ cmplwi r3, 0 +/* 8004AA28 00047988 40 82 00 10 */ bne lbl_8004AA38 +/* 8004AA2C 0004798C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004AA30 00047990 B0 1E 0F 76 */ sth r0, 0xf76(r30) +/* 8004AA34 00047994 48 00 00 2C */ b lbl_8004AA60 +lbl_8004AA38: +/* 8004AA38 00047998 81 83 00 00 */ lwz r12, 0(r3) +/* 8004AA3C 0004799C FC 20 F8 90 */ fmr f1, f31 +/* 8004AA40 000479A0 7F C4 F3 78 */ mr r4, r30 +/* 8004AA44 000479A4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8004AA48 000479A8 7D 89 03 A6 */ mtctr r12 +/* 8004AA4C 000479AC 4E 80 04 21 */ bctrl +lbl_8004AA50: +/* 8004AA50 000479B0 A0 7E 0F 76 */ lhz r3, 0xf76(r30) +/* 8004AA54 000479B4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004AA58 000479B8 7C 03 00 40 */ cmplw r3, r0 +/* 8004AA5C 000479BC 40 82 FF B4 */ bne lbl_8004AA10 +lbl_8004AA60: +/* 8004AA60 000479C0 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 8004AA64 000479C4 2C 00 00 02 */ cmpwi r0, 2 +/* 8004AA68 000479C8 41 82 00 10 */ beq lbl_8004AA78 +/* 8004AA6C 000479CC FC 20 F8 90 */ fmr f1, f31 +/* 8004AA70 000479D0 7F C3 F3 78 */ mr r3, r30 +/* 8004AA74 000479D4 48 00 01 55 */ bl PostUpdatePlayer__13CStateManagerFf +lbl_8004AA78: +/* 8004AA78 000479D8 80 7E 0F 84 */ lwz r3, 0xf84(r30) +/* 8004AA7C 000479DC 80 1E 0F 80 */ lwz r0, 0xf80(r30) +/* 8004AA80 000479E0 7C 03 00 40 */ cmplw r3, r0 +/* 8004AA84 000479E4 40 82 00 28 */ bne lbl_8004AAAC +/* 8004AA88 000479E8 80 9E 0F 88 */ lwz r4, 0xf88(r30) +/* 8004AA8C 000479EC 7F C3 F3 78 */ mr r3, r30 +/* 8004AA90 000479F0 C0 3E 0F 8C */ lfs f1, 0xf8c(r30) +/* 8004AA94 000479F4 4B FF 9D A1 */ bl ShowPausedHUDMemo__13CStateManagerFUif +/* 8004AA98 000479F8 80 7E 0F 84 */ lwz r3, 0xf84(r30) +/* 8004AA9C 000479FC 38 00 FF FF */ li r0, -1 +/* 8004AAA0 00047A00 38 63 FF FF */ addi r3, r3, -1 +/* 8004AAA4 00047A04 90 7E 0F 84 */ stw r3, 0xf84(r30) +/* 8004AAA8 00047A08 90 1E 0F 88 */ stw r0, 0xf88(r30) +lbl_8004AAAC: +/* 8004AAAC 00047A0C 28 1F 00 00 */ cmplwi r31, 0 +/* 8004AAB0 00047A10 40 82 00 2C */ bne lbl_8004AADC +/* 8004AAB4 00047A14 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 8004AAB8 00047A18 2C 00 00 00 */ cmpwi r0, 0 +/* 8004AABC 00047A1C 40 82 00 20 */ bne lbl_8004AADC +/* 8004AAC0 00047A20 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8004AAC4 00047A24 4B FB FE 3D */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 8004AAC8 00047A28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004AACC 00047A2C 40 82 00 10 */ bne lbl_8004AADC +/* 8004AAD0 00047A30 FC 20 F8 90 */ fmr f1, f31 +/* 8004AAD4 00047A34 7F C3 F3 78 */ mr r3, r30 +/* 8004AAD8 00047A38 4B FF A4 1D */ bl UpdateEscapeSequenceTimer__13CStateManagerFf +lbl_8004AADC: +/* 8004AADC 00047A3C FC 20 F8 90 */ fmr f1, f31 +/* 8004AAE0 00047A40 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 8004AAE4 00047A44 48 00 B8 51 */ bl Update__6CWorldFf +/* 8004AAE8 00047A48 FC 20 F8 90 */ fmr f1, f31 +/* 8004AAEC 00047A4C 80 7E 08 8C */ lwz r3, 0x88c(r30) +/* 8004AAF0 00047A50 48 1E 36 05 */ bl Update__14CRumbleManagerFf +/* 8004AAF4 00047A54 28 1F 00 00 */ cmplwi r31, 0 +/* 8004AAF8 00047A58 40 82 00 14 */ bne lbl_8004AB0C +/* 8004AAFC 00047A5C FC 20 F8 90 */ fmr f1, f31 +/* 8004AB00 00047A60 80 7E 08 80 */ lwz r3, 0x880(r30) +/* 8004AB04 00047A64 7F C4 F3 78 */ mr r4, r30 +/* 8004AB08 00047A68 48 1C 75 BD */ bl Update__13CEnvFxManagerFfR13CStateManager +lbl_8004AB0C: +/* 8004AB0C 00047A6C 7F C3 F3 78 */ mr r3, r30 +/* 8004AB10 00047A70 4B FF F9 45 */ bl UpdateAreaSounds__13CStateManagerFv +/* 8004AB14 00047A74 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 8004AB18 00047A78 38 60 00 01 */ li r3, 1 +/* 8004AB1C 00047A7C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8004AB20 00047A80 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 8004AB24 00047A84 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 8004AB28 00047A88 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8004AB2C 00047A8C 41 82 00 40 */ beq lbl_8004AB6C +/* 8004AB30 00047A90 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8004AB34 00047A94 3B E3 01 F8 */ addi r31, r3, 0x1f8 +/* 8004AB38 00047A98 7F E3 FB 78 */ mr r3, r31 +/* 8004AB3C 00047A9C 48 21 CB E1 */ bl GetCurrentDisplayedHint__12CHintOptionsCFv +/* 8004AB40 00047AA0 28 03 00 00 */ cmplwi r3, 0 +/* 8004AB44 00047AA4 41 82 00 18 */ beq lbl_8004AB5C +/* 8004AB48 00047AA8 48 21 D3 05 */ bl CanContinue__Q212CHintOptions10SHintStateFv +/* 8004AB4C 00047AAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004AB50 00047AB0 41 82 00 0C */ beq lbl_8004AB5C +/* 8004AB54 00047AB4 7F E3 FB 78 */ mr r3, r31 +/* 8004AB58 00047AB8 48 21 CA C9 */ bl DismissDisplayedHint__12CHintOptionsFv +lbl_8004AB5C: +/* 8004AB5C 00047ABC 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 8004AB60 00047AC0 38 60 00 00 */ li r3, 0 +/* 8004AB64 00047AC4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8004AB68 00047AC8 98 1E 0F 94 */ stb r0, 0xf94(r30) +lbl_8004AB6C: +/* 8004AB6C 00047ACC 80 1E 08 CC */ lwz r0, 0x8cc(r30) +/* 8004AB70 00047AD0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8004AB74 00047AD4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8004AB78 00047AD8 48 18 8E 35 */ bl CurrentWorldState__10CGameStateFv +/* 8004AB7C 00047ADC 38 81 00 0C */ addi r4, r1, 0xc +/* 8004AB80 00047AE0 48 18 A1 CD */ bl SetAreaId__11CWorldStateF7TAreaId +/* 8004AB84 00047AE4 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 8004AB88 00047AE8 7F C5 F3 78 */ mr r5, r30 +/* 8004AB8C 00047AEC 38 9E 08 CC */ addi r4, r30, 0x8cc +/* 8004AB90 00047AF0 38 C0 00 00 */ li r6, 0 +/* 8004AB94 00047AF4 48 00 D0 19 */ bl TravelToArea__6CWorldFRC7TAreaIdR13CStateManagerb +/* 8004AB98 00047AF8 7F C3 F3 78 */ mr r3, r30 +/* 8004AB9C 00047AFC 48 00 15 F9 */ bl BringOutYourDead__13CStateManagerFv +/* 8004ABA0 00047B00 80 7E 08 D8 */ lwz r3, 0x8d8(r30) +/* 8004ABA4 00047B04 38 03 00 01 */ addi r0, r3, 1 +/* 8004ABA8 00047B08 90 1E 08 D8 */ stw r0, 0x8d8(r30) +/* 8004ABAC 00047B0C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8004ABB0 00047B10 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8004ABB4 00047B14 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8004ABB8 00047B18 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8004ABBC 00047B1C 7C 08 03 A6 */ mtlr r0 +/* 8004ABC0 00047B20 38 21 00 40 */ addi r1, r1, 0x40 +/* 8004ABC4 00047B24 4E 80 00 20 */ blr + +.global PostUpdatePlayer__13CStateManagerFf +PostUpdatePlayer__13CStateManagerFf: +/* 8004ABC8 00047B28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004ABCC 00047B2C 7C 08 02 A6 */ mflr r0 +/* 8004ABD0 00047B30 7C 64 1B 78 */ mr r4, r3 +/* 8004ABD4 00047B34 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004ABD8 00047B38 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 8004ABDC 00047B3C 4B FC 61 55 */ bl PostUpdate__7CPlayerFfR13CStateManager +/* 8004ABE0 00047B40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004ABE4 00047B44 7C 08 03 A6 */ mtlr r0 +/* 8004ABE8 00047B48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004ABEC 00047B4C 4E 80 00 20 */ blr + +.global PreThinkObjects__13CStateManagerFf +PreThinkObjects__13CStateManagerFf: +/* 8004ABF0 00047B50 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8004ABF4 00047B54 7C 08 02 A6 */ mflr r0 +/* 8004ABF8 00047B58 90 01 00 44 */ stw r0, 0x44(r1) +/* 8004ABFC 00047B5C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8004AC00 00047B60 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8004AC04 00047B64 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8004AC08 00047B68 7C 7B 1B 78 */ mr r27, r3 +/* 8004AC0C 00047B6C C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004AC10 00047B70 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 8004AC14 00047B74 FF E0 08 90 */ fmr f31, f1 +/* 8004AC18 00047B78 C0 43 09 F4 */ lfs f2, 0x9f4(r3) +/* 8004AC1C 00047B7C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8004AC20 00047B80 40 81 00 10 */ ble lbl_8004AC30 +/* 8004AC24 00047B84 7F 64 DB 78 */ mr r4, r27 +/* 8004AC28 00047B88 4B FC 6D 59 */ bl DoPreThink__7CPlayerfRC13CStateManager +/* 8004AC2C 00047B8C 48 00 01 00 */ b lbl_8004AD2C +lbl_8004AC30: +/* 8004AC30 00047B90 80 1B 09 04 */ lwz r0, 0x904(r27) +/* 8004AC34 00047B94 83 FB 08 10 */ lwz r31, 0x810(r27) +/* 8004AC38 00047B98 2C 00 00 01 */ cmpwi r0, 1 +/* 8004AC3C 00047B9C 40 82 00 70 */ bne lbl_8004ACAC +/* 8004AC40 00047BA0 AB DF 20 08 */ lha r30, 0x2008(r31) +/* 8004AC44 00047BA4 48 00 00 5C */ b lbl_8004ACA0 +lbl_8004AC48: +/* 8004AC48 00047BA8 7F E3 FB 78 */ mr r3, r31 +/* 8004AC4C 00047BAC 7F C4 F3 78 */ mr r4, r30 +/* 8004AC50 00047BB0 4B FC 50 C5 */ bl __vc__11CObjectListFi +/* 8004AC54 00047BB4 7C 64 1B 78 */ mr r4, r3 +/* 8004AC58 00047BB8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8004AC5C 00047BBC 48 05 F1 81 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" +/* 8004AC60 00047BC0 80 63 00 04 */ lwz r3, 4(r3) +/* 8004AC64 00047BC4 28 03 00 00 */ cmplwi r3, 0 +/* 8004AC68 00047BC8 41 82 00 1C */ beq lbl_8004AC84 +/* 8004AC6C 00047BCC 81 83 00 00 */ lwz r12, 0(r3) +/* 8004AC70 00047BD0 FC 20 F8 90 */ fmr f1, f31 +/* 8004AC74 00047BD4 7F 64 DB 78 */ mr r4, r27 +/* 8004AC78 00047BD8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8004AC7C 00047BDC 7D 89 03 A6 */ mtctr r12 +/* 8004AC80 00047BE0 4E 80 04 21 */ bctrl +lbl_8004AC84: +/* 8004AC84 00047BE4 2C 1E FF FF */ cmpwi r30, -1 +/* 8004AC88 00047BE8 41 82 00 14 */ beq lbl_8004AC9C +/* 8004AC8C 00047BEC 57 C3 18 38 */ slwi r3, r30, 3 +/* 8004AC90 00047BF0 38 03 00 08 */ addi r0, r3, 8 +/* 8004AC94 00047BF4 7F DF 02 AE */ lhax r30, r31, r0 +/* 8004AC98 00047BF8 48 00 00 08 */ b lbl_8004ACA0 +lbl_8004AC9C: +/* 8004AC9C 00047BFC 3B C0 FF FF */ li r30, -1 +lbl_8004ACA0: +/* 8004ACA0 00047C00 2C 1E FF FF */ cmpwi r30, -1 +/* 8004ACA4 00047C04 40 82 FF A4 */ bne lbl_8004AC48 +/* 8004ACA8 00047C08 48 00 00 84 */ b lbl_8004AD2C +lbl_8004ACAC: +/* 8004ACAC 00047C0C 83 DB 08 28 */ lwz r30, 0x828(r27) +/* 8004ACB0 00047C10 AB BF 20 08 */ lha r29, 0x2008(r31) +/* 8004ACB4 00047C14 48 00 00 70 */ b lbl_8004AD24 +lbl_8004ACB8: +/* 8004ACB8 00047C18 7F E3 FB 78 */ mr r3, r31 +/* 8004ACBC 00047C1C 7F A4 EB 78 */ mr r4, r29 +/* 8004ACC0 00047C20 4B FC 50 55 */ bl __vc__11CObjectListFi +/* 8004ACC4 00047C24 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8004ACC8 00047C28 41 82 00 40 */ beq lbl_8004AD08 +/* 8004ACCC 00047C2C A0 1C 00 08 */ lhz r0, 8(r28) +/* 8004ACD0 00047C30 7F C3 F3 78 */ mr r3, r30 +/* 8004ACD4 00047C34 38 81 00 0C */ addi r4, r1, 0xc +/* 8004ACD8 00047C38 B0 01 00 08 */ sth r0, 8(r1) +/* 8004ACDC 00047C3C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004ACE0 00047C40 4B FC 51 69 */ bl GetObjectById__11CObjectListF9TUniqueId +/* 8004ACE4 00047C44 28 03 00 00 */ cmplwi r3, 0 +/* 8004ACE8 00047C48 40 82 00 20 */ bne lbl_8004AD08 +/* 8004ACEC 00047C4C 7F 83 E3 78 */ mr r3, r28 +/* 8004ACF0 00047C50 FC 20 F8 90 */ fmr f1, f31 +/* 8004ACF4 00047C54 81 9C 00 00 */ lwz r12, 0(r28) +/* 8004ACF8 00047C58 7F 64 DB 78 */ mr r4, r27 +/* 8004ACFC 00047C5C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8004AD00 00047C60 7D 89 03 A6 */ mtctr r12 +/* 8004AD04 00047C64 4E 80 04 21 */ bctrl +lbl_8004AD08: +/* 8004AD08 00047C68 2C 1D FF FF */ cmpwi r29, -1 +/* 8004AD0C 00047C6C 41 82 00 14 */ beq lbl_8004AD20 +/* 8004AD10 00047C70 57 A3 18 38 */ slwi r3, r29, 3 +/* 8004AD14 00047C74 38 03 00 08 */ addi r0, r3, 8 +/* 8004AD18 00047C78 7F BF 02 AE */ lhax r29, r31, r0 +/* 8004AD1C 00047C7C 48 00 00 08 */ b lbl_8004AD24 +lbl_8004AD20: +/* 8004AD20 00047C80 3B A0 FF FF */ li r29, -1 +lbl_8004AD24: +/* 8004AD24 00047C84 2C 1D FF FF */ cmpwi r29, -1 +/* 8004AD28 00047C88 40 82 FF 90 */ bne lbl_8004ACB8 +lbl_8004AD2C: +/* 8004AD2C 00047C8C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8004AD30 00047C90 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8004AD34 00047C94 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8004AD38 00047C98 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8004AD3C 00047C9C 7C 08 03 A6 */ mtlr r0 +/* 8004AD40 00047CA0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8004AD44 00047CA4 4E 80 00 20 */ blr + +.global Think__13CStateManagerFf +Think__13CStateManagerFf: +/* 8004AD48 00047CA8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8004AD4C 00047CAC 7C 08 02 A6 */ mflr r0 +/* 8004AD50 00047CB0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8004AD54 00047CB4 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8004AD58 00047CB8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8004AD5C 00047CBC BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8004AD60 00047CC0 7C 7B 1B 78 */ mr r27, r3 +/* 8004AD64 00047CC4 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004AD68 00047CC8 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 8004AD6C 00047CCC FF E0 08 90 */ fmr f31, f1 +/* 8004AD70 00047CD0 C0 43 09 F4 */ lfs f2, 0x9f4(r3) +/* 8004AD74 00047CD4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8004AD78 00047CD8 40 81 00 10 */ ble lbl_8004AD88 +/* 8004AD7C 00047CDC 7F 64 DB 78 */ mr r4, r27 +/* 8004AD80 00047CE0 4B FC 6C 85 */ bl DoThink__7CPlayerFfRC13CStateManager +/* 8004AD84 00047CE4 48 00 01 90 */ b lbl_8004AF14 +lbl_8004AD88: +/* 8004AD88 00047CE8 80 1B 09 04 */ lwz r0, 0x904(r27) +/* 8004AD8C 00047CEC 83 FB 08 10 */ lwz r31, 0x810(r27) +/* 8004AD90 00047CF0 2C 00 00 01 */ cmpwi r0, 1 +/* 8004AD94 00047CF4 40 82 00 70 */ bne lbl_8004AE04 +/* 8004AD98 00047CF8 AB 9F 20 08 */ lha r28, 0x2008(r31) +/* 8004AD9C 00047CFC 48 00 00 5C */ b lbl_8004ADF8 +lbl_8004ADA0: +/* 8004ADA0 00047D00 7F E3 FB 78 */ mr r3, r31 +/* 8004ADA4 00047D04 7F 84 E3 78 */ mr r4, r28 +/* 8004ADA8 00047D08 4B FC 4F 6D */ bl __vc__11CObjectListFi +/* 8004ADAC 00047D0C 7C 64 1B 78 */ mr r4, r3 +/* 8004ADB0 00047D10 38 61 00 20 */ addi r3, r1, 0x20 +/* 8004ADB4 00047D14 48 05 F0 29 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" +/* 8004ADB8 00047D18 80 63 00 04 */ lwz r3, 4(r3) +/* 8004ADBC 00047D1C 28 03 00 00 */ cmplwi r3, 0 +/* 8004ADC0 00047D20 41 82 00 1C */ beq lbl_8004ADDC +/* 8004ADC4 00047D24 81 83 00 00 */ lwz r12, 0(r3) +/* 8004ADC8 00047D28 FC 20 F8 90 */ fmr f1, f31 +/* 8004ADCC 00047D2C 7F 64 DB 78 */ mr r4, r27 +/* 8004ADD0 00047D30 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8004ADD4 00047D34 7D 89 03 A6 */ mtctr r12 +/* 8004ADD8 00047D38 4E 80 04 21 */ bctrl +lbl_8004ADDC: +/* 8004ADDC 00047D3C 2C 1C FF FF */ cmpwi r28, -1 +/* 8004ADE0 00047D40 41 82 00 14 */ beq lbl_8004ADF4 +/* 8004ADE4 00047D44 57 83 18 38 */ slwi r3, r28, 3 +/* 8004ADE8 00047D48 38 03 00 08 */ addi r0, r3, 8 +/* 8004ADEC 00047D4C 7F 9F 02 AE */ lhax r28, r31, r0 +/* 8004ADF0 00047D50 48 00 00 08 */ b lbl_8004ADF8 +lbl_8004ADF4: +/* 8004ADF4 00047D54 3B 80 FF FF */ li r28, -1 +lbl_8004ADF8: +/* 8004ADF8 00047D58 2C 1C FF FF */ cmpwi r28, -1 +/* 8004ADFC 00047D5C 40 82 FF A4 */ bne lbl_8004ADA0 +/* 8004AE00 00047D60 48 00 01 14 */ b lbl_8004AF14 +lbl_8004AE04: +/* 8004AE04 00047D64 83 DB 08 28 */ lwz r30, 0x828(r27) +/* 8004AE08 00047D68 AB BF 20 08 */ lha r29, 0x2008(r31) +/* 8004AE0C 00047D6C 48 00 01 00 */ b lbl_8004AF0C +lbl_8004AE10: +/* 8004AE10 00047D70 7F E3 FB 78 */ mr r3, r31 +/* 8004AE14 00047D74 7F A4 EB 78 */ mr r4, r29 +/* 8004AE18 00047D78 4B FC 4E FD */ bl __vc__11CObjectListFi +/* 8004AE1C 00047D7C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8004AE20 00047D80 41 82 00 D0 */ beq lbl_8004AEF0 +/* 8004AE24 00047D84 7F 84 E3 78 */ mr r4, r28 +/* 8004AE28 00047D88 38 61 00 18 */ addi r3, r1, 0x18 +/* 8004AE2C 00047D8C 48 06 1C 31 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8004AE30 00047D90 80 83 00 04 */ lwz r4, 4(r3) +/* 8004AE34 00047D94 28 04 00 00 */ cmplwi r4, 0 +/* 8004AE38 00047D98 41 82 00 7C */ beq lbl_8004AEB4 +/* 8004AE3C 00047D9C 88 1B 0F 94 */ lbz r0, 0xf94(r27) +/* 8004AE40 00047DA0 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f +/* 8004AE44 00047DA4 7C 03 00 34 */ cntlzw r3, r0 +/* 8004AE48 00047DA8 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 8004AE4C 00047DAC 54 65 D9 7E */ srwi r5, r3, 5 +/* 8004AE50 00047DB0 41 82 00 5C */ beq lbl_8004AEAC +/* 8004AE54 00047DB4 80 C4 00 04 */ lwz r6, 4(r4) +/* 8004AE58 00047DB8 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8004AE5C 00047DBC 7C 06 00 00 */ cmpw r6, r0 +/* 8004AE60 00047DC0 41 82 00 4C */ beq lbl_8004AEAC +/* 8004AE64 00047DC4 80 9B 08 50 */ lwz r4, 0x850(r27) +/* 8004AE68 00047DC8 54 C3 18 38 */ slwi r3, r6, 3 +/* 8004AE6C 00047DCC 38 03 00 04 */ addi r0, r3, 4 +/* 8004AE70 00047DD0 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8004AE74 00047DD4 80 64 00 20 */ lwz r3, 0x20(r4) +/* 8004AE78 00047DD8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8004AE7C 00047DDC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8004AE80 00047DE0 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8004AE84 00047DE4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004AE88 00047DE8 41 82 00 10 */ beq lbl_8004AE98 +/* 8004AE8C 00047DEC 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8004AE90 00047DF0 C0 23 10 E4 */ lfs f1, 0x10e4(r3) +/* 8004AE94 00047DF4 48 00 00 08 */ b lbl_8004AE9C +lbl_8004AE98: +/* 8004AE98 00047DF8 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +lbl_8004AE9C: +/* 8004AE9C 00047DFC C0 02 86 1C */ lfs f0, lbl_805AA33C@sda21(r2) +/* 8004AEA0 00047E00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8004AEA4 00047E04 40 81 00 08 */ ble lbl_8004AEAC +/* 8004AEA8 00047E08 38 A0 00 00 */ li r5, 0 +lbl_8004AEAC: +/* 8004AEAC 00047E0C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8004AEB0 00047E10 41 82 00 40 */ beq lbl_8004AEF0 +lbl_8004AEB4: +/* 8004AEB4 00047E14 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8004AEB8 00047E18 7F C3 F3 78 */ mr r3, r30 +/* 8004AEBC 00047E1C 38 81 00 0C */ addi r4, r1, 0xc +/* 8004AEC0 00047E20 B0 01 00 08 */ sth r0, 8(r1) +/* 8004AEC4 00047E24 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004AEC8 00047E28 4B FC 4F 81 */ bl GetObjectById__11CObjectListF9TUniqueId +/* 8004AECC 00047E2C 28 03 00 00 */ cmplwi r3, 0 +/* 8004AED0 00047E30 40 82 00 20 */ bne lbl_8004AEF0 +/* 8004AED4 00047E34 7F 83 E3 78 */ mr r3, r28 +/* 8004AED8 00047E38 FC 20 F8 90 */ fmr f1, f31 +/* 8004AEDC 00047E3C 81 9C 00 00 */ lwz r12, 0(r28) +/* 8004AEE0 00047E40 7F 64 DB 78 */ mr r4, r27 +/* 8004AEE4 00047E44 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8004AEE8 00047E48 7D 89 03 A6 */ mtctr r12 +/* 8004AEEC 00047E4C 4E 80 04 21 */ bctrl +lbl_8004AEF0: +/* 8004AEF0 00047E50 2C 1D FF FF */ cmpwi r29, -1 +/* 8004AEF4 00047E54 41 82 00 14 */ beq lbl_8004AF08 +/* 8004AEF8 00047E58 57 A3 18 38 */ slwi r3, r29, 3 +/* 8004AEFC 00047E5C 38 03 00 08 */ addi r0, r3, 8 +/* 8004AF00 00047E60 7F BF 02 AE */ lhax r29, r31, r0 +/* 8004AF04 00047E64 48 00 00 08 */ b lbl_8004AF0C +lbl_8004AF08: +/* 8004AF08 00047E68 3B A0 FF FF */ li r29, -1 +lbl_8004AF0C: +/* 8004AF0C 00047E6C 2C 1D FF FF */ cmpwi r29, -1 +/* 8004AF10 00047E70 40 82 FF 00 */ bne lbl_8004AE10 +lbl_8004AF14: +/* 8004AF14 00047E74 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8004AF18 00047E78 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8004AF1C 00047E7C BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8004AF20 00047E80 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8004AF24 00047E84 7C 08 03 A6 */ mtlr r0 +/* 8004AF28 00047E88 38 21 00 50 */ addi r1, r1, 0x50 +/* 8004AF2C 00047E8C 4E 80 00 20 */ blr + +.global CrossTouchActors__13CStateManagerFf +CrossTouchActors__13CStateManagerFf: +/* 8004AF30 00047E90 94 21 F3 30 */ stwu r1, -0xcd0(r1) +/* 8004AF34 00047E94 7C 08 02 A6 */ mflr r0 +/* 8004AF38 00047E98 38 80 00 00 */ li r4, 0 +/* 8004AF3C 00047E9C 38 A0 04 00 */ li r5, 0x400 +/* 8004AF40 00047EA0 90 01 0C D4 */ stw r0, 0xcd4(r1) +/* 8004AF44 00047EA4 BF 21 0C B4 */ stmw r25, 0xcb4(r1) +/* 8004AF48 00047EA8 7C 79 1B 78 */ mr r25, r3 +/* 8004AF4C 00047EAC 38 61 08 B0 */ addi r3, r1, 0x8b0 +/* 8004AF50 00047EB0 83 F9 08 18 */ lwz r31, 0x818(r25) +/* 8004AF54 00047EB4 4B FB 84 55 */ bl memset +/* 8004AF58 00047EB8 AB BF 20 08 */ lha r29, 0x2008(r31) +/* 8004AF5C 00047EBC 3B C1 00 B0 */ addi r30, r1, 0xb0 +/* 8004AF60 00047EC0 48 00 03 10 */ b lbl_8004B270 +lbl_8004AF64: +/* 8004AF64 00047EC4 7F E3 FB 78 */ mr r3, r31 +/* 8004AF68 00047EC8 7F A4 EB 78 */ mr r4, r29 +/* 8004AF6C 00047ECC 4B FC 4D A9 */ bl __vc__11CObjectListFi +/* 8004AF70 00047ED0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8004AF74 00047ED4 41 82 02 E0 */ beq lbl_8004B254 +/* 8004AF78 00047ED8 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8004AF7C 00047EDC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004AF80 00047EE0 41 82 02 D4 */ beq lbl_8004B254 +/* 8004AF84 00047EE4 48 00 94 45 */ bl GetCallTouch__6CActorCFv +/* 8004AF88 00047EE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004AF8C 00047EEC 41 82 02 C8 */ beq lbl_8004B254 +/* 8004AF90 00047EF0 7F 84 E3 78 */ mr r4, r28 +/* 8004AF94 00047EF4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8004AF98 00047EF8 81 9C 00 00 */ lwz r12, 0(r28) +/* 8004AF9C 00047EFC 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8004AFA0 00047F00 7D 89 03 A6 */ mtctr r12 +/* 8004AFA4 00047F04 4E 80 04 21 */ bctrl +/* 8004AFA8 00047F08 88 01 00 58 */ lbz r0, 0x58(r1) +/* 8004AFAC 00047F0C 28 00 00 00 */ cmplwi r0, 0 +/* 8004AFB0 00047F10 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 8004AFB4 00047F14 41 82 00 3C */ beq lbl_8004AFF0 +/* 8004AFB8 00047F18 34 61 00 90 */ addic. r3, r1, 0x90 +/* 8004AFBC 00047F1C 41 82 00 34 */ beq lbl_8004AFF0 +/* 8004AFC0 00047F20 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8004AFC4 00047F24 D0 03 00 00 */ stfs f0, 0(r3) +/* 8004AFC8 00047F28 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8004AFCC 00047F2C D0 03 00 04 */ stfs f0, 4(r3) +/* 8004AFD0 00047F30 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8004AFD4 00047F34 D0 03 00 08 */ stfs f0, 8(r3) +/* 8004AFD8 00047F38 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8004AFDC 00047F3C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8004AFE0 00047F40 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8004AFE4 00047F44 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8004AFE8 00047F48 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8004AFEC 00047F4C D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8004AFF0: +/* 8004AFF0 00047F50 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 8004AFF4 00047F54 38 A0 00 00 */ li r5, 0 +/* 8004AFF8 00047F58 98 A1 00 58 */ stb r5, 0x58(r1) +/* 8004AFFC 00047F5C 28 00 00 00 */ cmplwi r0, 0 +/* 8004B000 00047F60 40 82 00 0C */ bne lbl_8004B00C +/* 8004B004 00047F64 98 A1 00 A8 */ stb r5, 0xa8(r1) +/* 8004B008 00047F68 48 00 02 4C */ b lbl_8004B254 +lbl_8004B00C: +/* 8004B00C 00047F6C 90 A1 00 AC */ stw r5, 0xac(r1) +/* 8004B010 00047F70 38 00 00 04 */ li r0, 4 +/* 8004B014 00047F74 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 8004B018 00047F78 80 9C 00 6C */ lwz r4, 0x6c(r28) +/* 8004B01C 00047F7C 7C 60 00 38 */ and r0, r3, r0 +/* 8004B020 00047F80 7C 83 28 38 */ and r3, r4, r5 +/* 8004B024 00047F84 7C 63 2A 78 */ xor r3, r3, r5 +/* 8004B028 00047F88 7C 00 2A 78 */ xor r0, r0, r5 +/* 8004B02C 00047F8C 7C 60 03 79 */ or. r0, r3, r0 +/* 8004B030 00047F90 41 82 00 3C */ beq lbl_8004B06C +/* 8004B034 00047F94 80 AD 82 70 */ lwz r5, lbl_805A6E30@sda21(r13) +/* 8004B038 00047F98 38 60 00 00 */ li r3, 0 +/* 8004B03C 00047F9C 38 80 00 01 */ li r4, 1 +/* 8004B040 00047FA0 48 33 EE B5 */ bl __shl2i +/* 8004B044 00047FA4 38 C0 FF FF */ li r6, -1 +/* 8004B048 00047FA8 38 A0 00 00 */ li r5, 0 +/* 8004B04C 00047FAC 38 00 00 02 */ li r0, 2 +/* 8004B050 00047FB0 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 8004B054 00047FB4 39 21 00 28 */ addi r9, r1, 0x28 +/* 8004B058 00047FB8 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8004B05C 00047FBC 90 81 00 34 */ stw r4, 0x34(r1) +/* 8004B060 00047FC0 90 61 00 30 */ stw r3, 0x30(r1) +/* 8004B064 00047FC4 90 01 00 38 */ stw r0, 0x38(r1) +/* 8004B068 00047FC8 48 00 00 0C */ b lbl_8004B074 +lbl_8004B06C: +/* 8004B06C 00047FCC 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 8004B070 00047FD0 39 23 FD 18 */ addi r9, r3, lbl_8059FD18@l +lbl_8004B074: +/* 8004B074 00047FD4 80 09 00 00 */ lwz r0, 0(r9) +/* 8004B078 00047FD8 7F 23 CB 78 */ mr r3, r25 +/* 8004B07C 00047FDC 80 C9 00 04 */ lwz r6, 4(r9) +/* 8004B080 00047FE0 7F 87 E3 78 */ mr r7, r28 +/* 8004B084 00047FE4 38 81 00 AC */ addi r4, r1, 0xac +/* 8004B088 00047FE8 38 A1 00 90 */ addi r5, r1, 0x90 +/* 8004B08C 00047FEC 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 8004B090 00047FF0 38 C1 00 78 */ addi r6, r1, 0x78 +/* 8004B094 00047FF4 90 01 00 78 */ stw r0, 0x78(r1) +/* 8004B098 00047FF8 80 09 00 08 */ lwz r0, 8(r9) +/* 8004B09C 00047FFC 81 09 00 0C */ lwz r8, 0xc(r9) +/* 8004B0A0 00048000 91 01 00 84 */ stw r8, 0x84(r1) +/* 8004B0A4 00048004 90 01 00 80 */ stw r0, 0x80(r1) +/* 8004B0A8 00048008 80 09 00 10 */ lwz r0, 0x10(r9) +/* 8004B0AC 0004800C 90 01 00 88 */ stw r0, 0x88(r1) +/* 8004B0B0 00048010 48 00 16 71 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8004B0B4 00048014 7F DB F3 78 */ mr r27, r30 +/* 8004B0B8 00048018 48 00 01 30 */ b lbl_8004B1E8 +lbl_8004B0BC: +/* 8004B0BC 0004801C A0 1B 00 00 */ lhz r0, 0(r27) +/* 8004B0C0 00048020 7F 23 CB 78 */ mr r3, r25 +/* 8004B0C4 00048024 38 81 00 08 */ addi r4, r1, 8 +/* 8004B0C8 00048028 B0 01 00 08 */ sth r0, 8(r1) +/* 8004B0CC 0004802C 48 00 14 A9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8004B0D0 00048030 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8004B0D4 00048034 41 82 01 10 */ beq lbl_8004B1E4 +/* 8004B0D8 00048038 7F 44 D3 78 */ mr r4, r26 +/* 8004B0DC 0004803C 38 61 00 0C */ addi r3, r1, 0xc +/* 8004B0E0 00048040 81 9A 00 00 */ lwz r12, 0(r26) +/* 8004B0E4 00048044 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8004B0E8 00048048 7D 89 03 A6 */ mtctr r12 +/* 8004B0EC 0004804C 4E 80 04 21 */ bctrl +/* 8004B0F0 00048050 88 01 00 24 */ lbz r0, 0x24(r1) +/* 8004B0F4 00048054 28 00 00 00 */ cmplwi r0, 0 +/* 8004B0F8 00048058 98 01 00 74 */ stb r0, 0x74(r1) +/* 8004B0FC 0004805C 41 82 00 3C */ beq lbl_8004B138 +/* 8004B100 00048060 34 61 00 5C */ addic. r3, r1, 0x5c +/* 8004B104 00048064 41 82 00 34 */ beq lbl_8004B138 +/* 8004B108 00048068 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8004B10C 0004806C D0 03 00 00 */ stfs f0, 0(r3) +/* 8004B110 00048070 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8004B114 00048074 D0 03 00 04 */ stfs f0, 4(r3) +/* 8004B118 00048078 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8004B11C 0004807C D0 03 00 08 */ stfs f0, 8(r3) +/* 8004B120 00048080 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8004B124 00048084 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8004B128 00048088 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8004B12C 0004808C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8004B130 00048090 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8004B134 00048094 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8004B138: +/* 8004B138 00048098 38 00 00 00 */ li r0, 0 +/* 8004B13C 0004809C 98 01 00 24 */ stb r0, 0x24(r1) +/* 8004B140 000480A0 88 1A 00 30 */ lbz r0, 0x30(r26) +/* 8004B144 000480A4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004B148 000480A8 41 82 00 10 */ beq lbl_8004B158 +/* 8004B14C 000480AC 88 01 00 74 */ lbz r0, 0x74(r1) +/* 8004B150 000480B0 28 00 00 00 */ cmplwi r0, 0 +/* 8004B154 000480B4 40 82 00 10 */ bne lbl_8004B164 +lbl_8004B158: +/* 8004B158 000480B8 38 00 00 00 */ li r0, 0 +/* 8004B15C 000480BC 98 01 00 74 */ stb r0, 0x74(r1) +/* 8004B160 000480C0 48 00 00 84 */ b lbl_8004B1E4 +lbl_8004B164: +/* 8004B164 000480C4 A0 1A 00 08 */ lhz r0, 8(r26) +/* 8004B168 000480C8 38 61 08 B0 */ addi r3, r1, 0x8b0 +/* 8004B16C 000480CC 54 00 05 BE */ clrlwi r0, r0, 0x16 +/* 8004B170 000480D0 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8004B174 000480D4 28 00 00 00 */ cmplwi r0, 0 +/* 8004B178 000480D8 40 82 00 64 */ bne lbl_8004B1DC +/* 8004B17C 000480DC 38 61 00 90 */ addi r3, r1, 0x90 +/* 8004B180 000480E0 38 81 00 5C */ addi r4, r1, 0x5c +/* 8004B184 000480E4 48 2E CA 01 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 8004B188 000480E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004B18C 000480EC 41 82 00 3C */ beq lbl_8004B1C8 +/* 8004B190 000480F0 7F 83 E3 78 */ mr r3, r28 +/* 8004B194 000480F4 7F 44 D3 78 */ mr r4, r26 +/* 8004B198 000480F8 81 9C 00 00 */ lwz r12, 0(r28) +/* 8004B19C 000480FC 7F 25 CB 78 */ mr r5, r25 +/* 8004B1A0 00048100 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8004B1A4 00048104 7D 89 03 A6 */ mtctr r12 +/* 8004B1A8 00048108 4E 80 04 21 */ bctrl +/* 8004B1AC 0004810C 7F 43 D3 78 */ mr r3, r26 +/* 8004B1B0 00048110 7F 84 E3 78 */ mr r4, r28 +/* 8004B1B4 00048114 81 9A 00 00 */ lwz r12, 0(r26) +/* 8004B1B8 00048118 7F 25 CB 78 */ mr r5, r25 +/* 8004B1BC 0004811C 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8004B1C0 00048120 7D 89 03 A6 */ mtctr r12 +/* 8004B1C4 00048124 4E 80 04 21 */ bctrl +lbl_8004B1C8: +/* 8004B1C8 00048128 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8004B1CC 0004812C 38 61 08 B0 */ addi r3, r1, 0x8b0 +/* 8004B1D0 00048130 38 80 00 01 */ li r4, 1 +/* 8004B1D4 00048134 54 00 05 BE */ clrlwi r0, r0, 0x16 +/* 8004B1D8 00048138 7C 83 01 AE */ stbx r4, r3, r0 +lbl_8004B1DC: +/* 8004B1DC 0004813C 38 00 00 00 */ li r0, 0 +/* 8004B1E0 00048140 98 01 00 74 */ stb r0, 0x74(r1) +lbl_8004B1E4: +/* 8004B1E4 00048144 3B 7B 00 02 */ addi r27, r27, 2 +lbl_8004B1E8: +/* 8004B1E8 00048148 80 A1 00 AC */ lwz r5, 0xac(r1) +/* 8004B1EC 0004814C 54 A0 08 3C */ slwi r0, r5, 1 +/* 8004B1F0 00048150 7C 1E 02 14 */ add r0, r30, r0 +/* 8004B1F4 00048154 7C 1B 00 40 */ cmplw r27, r0 +/* 8004B1F8 00048158 40 82 FE C4 */ bne lbl_8004B0BC +/* 8004B1FC 0004815C 2C 05 00 00 */ cmpwi r5, 0 +/* 8004B200 00048160 38 60 00 00 */ li r3, 0 +/* 8004B204 00048164 40 81 00 44 */ ble lbl_8004B248 +/* 8004B208 00048168 2C 05 00 08 */ cmpwi r5, 8 +/* 8004B20C 0004816C 38 85 FF F8 */ addi r4, r5, -8 +/* 8004B210 00048170 40 81 00 20 */ ble lbl_8004B230 +/* 8004B214 00048174 38 04 00 07 */ addi r0, r4, 7 +/* 8004B218 00048178 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004B21C 0004817C 7C 09 03 A6 */ mtctr r0 +/* 8004B220 00048180 2C 04 00 00 */ cmpwi r4, 0 +/* 8004B224 00048184 40 81 00 0C */ ble lbl_8004B230 +lbl_8004B228: +/* 8004B228 00048188 38 63 00 08 */ addi r3, r3, 8 +/* 8004B22C 0004818C 42 00 FF FC */ bdnz lbl_8004B228 +lbl_8004B230: +/* 8004B230 00048190 7C 03 28 50 */ subf r0, r3, r5 +/* 8004B234 00048194 7C 09 03 A6 */ mtctr r0 +/* 8004B238 00048198 7C 03 28 00 */ cmpw r3, r5 +/* 8004B23C 0004819C 40 80 00 0C */ bge lbl_8004B248 +lbl_8004B240: +/* 8004B240 000481A0 38 63 00 01 */ addi r3, r3, 1 +/* 8004B244 000481A4 42 00 FF FC */ bdnz lbl_8004B240 +lbl_8004B248: +/* 8004B248 000481A8 38 00 00 00 */ li r0, 0 +/* 8004B24C 000481AC 90 01 00 AC */ stw r0, 0xac(r1) +/* 8004B250 000481B0 98 01 00 A8 */ stb r0, 0xa8(r1) +lbl_8004B254: +/* 8004B254 000481B4 2C 1D FF FF */ cmpwi r29, -1 +/* 8004B258 000481B8 41 82 00 14 */ beq lbl_8004B26C +/* 8004B25C 000481BC 57 A3 18 38 */ slwi r3, r29, 3 +/* 8004B260 000481C0 38 03 00 08 */ addi r0, r3, 8 +/* 8004B264 000481C4 7F BF 02 AE */ lhax r29, r31, r0 +/* 8004B268 000481C8 48 00 00 08 */ b lbl_8004B270 +lbl_8004B26C: +/* 8004B26C 000481CC 3B A0 FF FF */ li r29, -1 +lbl_8004B270: +/* 8004B270 000481D0 2C 1D FF FF */ cmpwi r29, -1 +/* 8004B274 000481D4 40 82 FC F0 */ bne lbl_8004AF64 +/* 8004B278 000481D8 BB 21 0C B4 */ lmw r25, 0xcb4(r1) +/* 8004B27C 000481DC 80 01 0C D4 */ lwz r0, 0xcd4(r1) +/* 8004B280 000481E0 7C 08 03 A6 */ mtlr r0 +/* 8004B284 000481E4 38 21 0C D0 */ addi r1, r1, 0xcd0 +/* 8004B288 000481E8 4E 80 00 20 */ blr + +.global MoveDoors__13CStateManagerFf +MoveDoors__13CStateManagerFf: +/* 8004B28C 000481EC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8004B290 000481F0 7C 08 02 A6 */ mflr r0 +/* 8004B294 000481F4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8004B298 000481F8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8004B29C 000481FC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8004B2A0 00048200 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8004B2A4 00048204 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8004B2A8 00048208 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8004B2AC 0004820C 93 81 00 30 */ stw r28, 0x30(r1) +/* 8004B2B0 00048210 83 E3 08 20 */ lwz r31, 0x820(r3) +/* 8004B2B4 00048214 FF E0 08 90 */ fmr f31, f1 +/* 8004B2B8 00048218 7C 7C 1B 78 */ mr r28, r3 +/* 8004B2BC 0004821C AB DF 20 08 */ lha r30, 0x2008(r31) +/* 8004B2C0 00048220 48 00 01 3C */ b lbl_8004B3FC +lbl_8004B2C4: +/* 8004B2C4 00048224 7F E3 FB 78 */ mr r3, r31 +/* 8004B2C8 00048228 7F C4 F3 78 */ mr r4, r30 +/* 8004B2CC 0004822C 4B FC 4A 49 */ bl __vc__11CObjectListFi +/* 8004B2D0 00048230 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8004B2D4 00048234 41 82 01 0C */ beq lbl_8004B3E0 +/* 8004B2D8 00048238 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 8004B2DC 0004823C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004B2E0 00048240 41 82 01 00 */ beq lbl_8004B3E0 +/* 8004B2E4 00048244 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 8004B2E8 00048248 C0 1D 00 E8 */ lfs f0, 0xe8(r29) +/* 8004B2EC 0004824C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8004B2F0 00048250 41 82 00 F0 */ beq lbl_8004B3E0 +/* 8004B2F4 00048254 7F A4 EB 78 */ mr r4, r29 +/* 8004B2F8 00048258 38 61 00 1C */ addi r3, r1, 0x1c +/* 8004B2FC 0004825C 48 06 17 61 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8004B300 00048260 80 E3 00 04 */ lwz r7, 4(r3) +/* 8004B304 00048264 28 07 00 00 */ cmplwi r7, 0 +/* 8004B308 00048268 41 82 00 A8 */ beq lbl_8004B3B0 +/* 8004B30C 0004826C 88 1C 0F 94 */ lbz r0, 0xf94(r28) +/* 8004B310 00048270 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f +/* 8004B314 00048274 7C 03 00 34 */ cntlzw r3, r0 +/* 8004B318 00048278 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 8004B31C 0004827C 54 65 D9 7E */ srwi r5, r3, 5 +/* 8004B320 00048280 41 82 00 5C */ beq lbl_8004B37C +/* 8004B324 00048284 80 C7 00 04 */ lwz r6, 4(r7) +/* 8004B328 00048288 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8004B32C 0004828C 7C 06 00 00 */ cmpw r6, r0 +/* 8004B330 00048290 41 82 00 4C */ beq lbl_8004B37C +/* 8004B334 00048294 80 9C 08 50 */ lwz r4, 0x850(r28) +/* 8004B338 00048298 54 C3 18 38 */ slwi r3, r6, 3 +/* 8004B33C 0004829C 38 03 00 04 */ addi r0, r3, 4 +/* 8004B340 000482A0 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8004B344 000482A4 80 64 00 20 */ lwz r3, 0x20(r4) +/* 8004B348 000482A8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8004B34C 000482AC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8004B350 000482B0 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8004B354 000482B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004B358 000482B8 41 82 00 10 */ beq lbl_8004B368 +/* 8004B35C 000482BC 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8004B360 000482C0 C0 23 10 E4 */ lfs f1, 0x10e4(r3) +/* 8004B364 000482C4 48 00 00 08 */ b lbl_8004B36C +lbl_8004B368: +/* 8004B368 000482C8 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +lbl_8004B36C: +/* 8004B36C 000482CC C0 02 86 1C */ lfs f0, lbl_805AA33C@sda21(r2) +/* 8004B370 000482D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8004B374 000482D4 40 81 00 08 */ ble lbl_8004B37C +/* 8004B378 000482D8 38 A0 00 00 */ li r5, 0 +lbl_8004B37C: +/* 8004B37C 000482DC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8004B380 000482E0 40 82 00 30 */ bne lbl_8004B3B0 +/* 8004B384 000482E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004B388 000482E8 7F 83 E3 78 */ mr r3, r28 +/* 8004B38C 000482EC 38 81 00 10 */ addi r4, r1, 0x10 +/* 8004B390 000482F0 38 A1 00 08 */ addi r5, r1, 8 +/* 8004B394 000482F4 B0 01 00 08 */ sth r0, 8(r1) +/* 8004B398 000482F8 38 C0 00 30 */ li r6, 0x30 +/* 8004B39C 000482FC A0 07 00 08 */ lhz r0, 8(r7) +/* 8004B3A0 00048300 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004B3A4 00048304 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8004B3A8 00048308 4B FF 8A AD */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId +/* 8004B3AC 0004830C 48 00 00 34 */ b lbl_8004B3E0 +lbl_8004B3B0: +/* 8004B3B0 00048310 80 1C 08 4C */ lwz r0, 0x84c(r28) +/* 8004B3B4 00048314 7C 1D 00 40 */ cmplw r29, r0 +/* 8004B3B8 00048318 41 82 00 28 */ beq lbl_8004B3E0 +/* 8004B3BC 0004831C 7F A3 EB 78 */ mr r3, r29 +/* 8004B3C0 00048320 48 16 D1 C5 */ bl IsPlatform__20CPlatformAndDoorListFPC7CEntity +/* 8004B3C4 00048324 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004B3C8 00048328 40 82 00 18 */ bne lbl_8004B3E0 +/* 8004B3CC 0004832C FC 20 F8 90 */ fmr f1, f31 +/* 8004B3D0 00048330 7F 83 E3 78 */ mr r3, r28 +/* 8004B3D4 00048334 7F A4 EB 78 */ mr r4, r29 +/* 8004B3D8 00048338 38 A0 00 00 */ li r5, 0 +/* 8004B3DC 0004833C 48 13 69 5D */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" +lbl_8004B3E0: +/* 8004B3E0 00048340 2C 1E FF FF */ cmpwi r30, -1 +/* 8004B3E4 00048344 41 82 00 14 */ beq lbl_8004B3F8 +/* 8004B3E8 00048348 57 C3 18 38 */ slwi r3, r30, 3 +/* 8004B3EC 0004834C 38 03 00 08 */ addi r0, r3, 8 +/* 8004B3F0 00048350 7F DF 02 AE */ lhax r30, r31, r0 +/* 8004B3F4 00048354 48 00 00 08 */ b lbl_8004B3FC +lbl_8004B3F8: +/* 8004B3F8 00048358 3B C0 FF FF */ li r30, -1 +lbl_8004B3FC: +/* 8004B3FC 0004835C 2C 1E FF FF */ cmpwi r30, -1 +/* 8004B400 00048360 40 82 FE C4 */ bne lbl_8004B2C4 +/* 8004B404 00048364 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8004B408 00048368 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8004B40C 0004836C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8004B410 00048370 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8004B414 00048374 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8004B418 00048378 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8004B41C 0004837C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8004B420 00048380 7C 08 03 A6 */ mtlr r0 +/* 8004B424 00048384 38 21 00 50 */ addi r1, r1, 0x50 +/* 8004B428 00048388 4E 80 00 20 */ blr + +.global MovePlatforms__13CStateManagerFf +MovePlatforms__13CStateManagerFf: +/* 8004B42C 0004838C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8004B430 00048390 7C 08 02 A6 */ mflr r0 +/* 8004B434 00048394 90 01 00 34 */ stw r0, 0x34(r1) +/* 8004B438 00048398 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8004B43C 0004839C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8004B440 000483A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8004B444 000483A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004B448 000483A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8004B44C 000483AC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8004B450 000483B0 83 E3 08 48 */ lwz r31, 0x848(r3) +/* 8004B454 000483B4 FF E0 08 90 */ fmr f31, f1 +/* 8004B458 000483B8 7C 7C 1B 78 */ mr r28, r3 +/* 8004B45C 000483BC AB DF 20 08 */ lha r30, 0x2008(r31) +/* 8004B460 000483C0 48 00 00 74 */ b lbl_8004B4D4 +lbl_8004B464: +/* 8004B464 000483C4 7F E3 FB 78 */ mr r3, r31 +/* 8004B468 000483C8 7F C4 F3 78 */ mr r4, r30 +/* 8004B46C 000483CC 4B FC 48 A9 */ bl __vc__11CObjectListFi +/* 8004B470 000483D0 7C 7D 1B 78 */ mr r29, r3 +/* 8004B474 000483D4 48 16 D1 11 */ bl IsPlatform__20CPlatformAndDoorListFPC7CEntity +/* 8004B478 000483D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004B47C 000483DC 41 82 00 3C */ beq lbl_8004B4B8 +/* 8004B480 000483E0 28 1D 00 00 */ cmplwi r29, 0 +/* 8004B484 000483E4 41 82 00 34 */ beq lbl_8004B4B8 +/* 8004B488 000483E8 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 8004B48C 000483EC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004B490 000483F0 41 82 00 28 */ beq lbl_8004B4B8 +/* 8004B494 000483F4 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 8004B498 000483F8 C0 1D 00 E8 */ lfs f0, 0xe8(r29) +/* 8004B49C 000483FC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8004B4A0 00048400 41 82 00 18 */ beq lbl_8004B4B8 +/* 8004B4A4 00048404 FC 20 F8 90 */ fmr f1, f31 +/* 8004B4A8 00048408 7F 83 E3 78 */ mr r3, r28 +/* 8004B4AC 0004840C 7F A4 EB 78 */ mr r4, r29 +/* 8004B4B0 00048410 38 A0 00 00 */ li r5, 0 +/* 8004B4B4 00048414 48 13 68 85 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" +lbl_8004B4B8: +/* 8004B4B8 00048418 2C 1E FF FF */ cmpwi r30, -1 +/* 8004B4BC 0004841C 41 82 00 14 */ beq lbl_8004B4D0 +/* 8004B4C0 00048420 57 C3 18 38 */ slwi r3, r30, 3 +/* 8004B4C4 00048424 38 03 00 08 */ addi r0, r3, 8 +/* 8004B4C8 00048428 7F DF 02 AE */ lhax r30, r31, r0 +/* 8004B4CC 0004842C 48 00 00 08 */ b lbl_8004B4D4 +lbl_8004B4D0: +/* 8004B4D0 00048430 3B C0 FF FF */ li r30, -1 +lbl_8004B4D4: +/* 8004B4D4 00048434 2C 1E FF FF */ cmpwi r30, -1 +/* 8004B4D8 00048438 40 82 FF 8C */ bne lbl_8004B464 +/* 8004B4DC 0004843C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8004B4E0 00048440 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8004B4E4 00048444 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8004B4E8 00048448 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004B4EC 0004844C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004B4F0 00048450 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8004B4F4 00048454 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8004B4F8 00048458 7C 08 03 A6 */ mtlr r0 +/* 8004B4FC 0004845C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8004B500 00048460 4E 80 00 20 */ blr + +.global nullsub_34 +nullsub_34: +/* 8004B504 00048464 4E 80 00 20 */ blr + +.global UpdateGameState__13CStateManagerFv +UpdateGameState__13CStateManagerFv: +/* 8004B508 00048468 4E 80 00 20 */ blr + +.global SwapOutAllPossibleMemory__13CStateManagerFv +SwapOutAllPossibleMemory__13CStateManagerFv: +/* 8004B50C 0004846C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004B510 00048470 7C 08 02 A6 */ mflr r0 +/* 8004B514 00048474 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004B518 00048478 48 32 17 E5 */ bl sub_8036ccfc +/* 8004B51C 0004847C 48 2F 91 ED */ bl WaitForAllDMAsToComplete__12CARAMManagerFv +/* 8004B520 00048480 48 30 D0 19 */ bl UpdateAllDMAs__10CARAMTokenFv +/* 8004B524 00048484 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004B528 00048488 38 60 00 01 */ li r3, 1 +/* 8004B52C 0004848C 7C 08 03 A6 */ mtlr r0 +/* 8004B530 00048490 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004B534 00048494 4E 80 00 20 */ blr + +.global MemoryAllocatorAllocationFailedCallback__13CStateManagerFPCvUi +MemoryAllocatorAllocationFailedCallback__13CStateManagerFPCvUi: +/* 8004B538 00048498 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004B53C 0004849C 7C 08 02 A6 */ mflr r0 +/* 8004B540 000484A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004B544 000484A4 4B FF FF C9 */ bl SwapOutAllPossibleMemory__13CStateManagerFv +/* 8004B548 000484A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004B54C 000484AC 7C 08 03 A6 */ mtlr r0 +/* 8004B550 000484B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004B554 000484B4 4E 80 00 20 */ blr + +.global SwapOutTexturesToARAM__13CStateManagerFiUi +SwapOutTexturesToARAM__13CStateManagerFiUi: +/* 8004B558 000484B8 4E 80 00 20 */ blr + +.global FrameBegin__13CStateManagerFUi +FrameBegin__13CStateManagerFUi: +/* 8004B55C 000484BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004B560 000484C0 7C 08 02 A6 */ mflr r0 +/* 8004B564 000484C4 3C A0 00 18 */ lis r5, 0x18 +/* 8004B568 000484C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004B56C 000484CC 90 83 08 D4 */ stw r4, 0x8d4(r3) +/* 8004B570 000484D0 38 80 00 02 */ li r4, 2 +/* 8004B574 000484D4 80 03 08 D4 */ lwz r0, 0x8d4(r3) +/* 8004B578 000484D8 90 0D A8 70 */ stw r0, lbl_805A9430@sda21(r13) +/* 8004B57C 000484DC 80 03 08 D4 */ lwz r0, 0x8d4(r3) +/* 8004B580 000484E0 90 0D A8 68 */ stw r0, lbl_805A9428@sda21(r13) +/* 8004B584 000484E4 4B FF FF D5 */ bl SwapOutTexturesToARAM__13CStateManagerFiUi +/* 8004B588 000484E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004B58C 000484EC 7C 08 03 A6 */ mtlr r0 +/* 8004B590 000484F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004B594 000484F4 4E 80 00 20 */ blr + +.global InitializeState__13CStateManagerFUi7TAreaIdUi +InitializeState__13CStateManagerFUi7TAreaIdUi: +/* 8004B598 000484F8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8004B59C 000484FC 7C 08 02 A6 */ mflr r0 +/* 8004B5A0 00048500 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8004B5A4 00048504 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 8004B5A8 00048508 7C 7F 1B 78 */ mr r31, r3 +/* 8004B5AC 0004850C 7C 9A 23 78 */ mr r26, r4 +/* 8004B5B0 00048510 7C BD 2B 78 */ mr r29, r5 +/* 8004B5B4 00048514 38 1F 08 FC */ addi r0, r31, 0x8fc +/* 8004B5B8 00048518 7C DC 33 78 */ mr r28, r6 +/* 8004B5BC 0004851C 80 83 09 00 */ lwz r4, 0x900(r3) +/* 8004B5C0 00048520 90 03 09 00 */ stw r0, 0x900(r3) +/* 8004B5C4 00048524 7C 04 00 D0 */ neg r0, r4 +/* 8004B5C8 00048528 7C 04 23 78 */ or r4, r0, r4 +/* 8004B5CC 0004852C 80 03 0B 3C */ lwz r0, 0xb3c(r3) +/* 8004B5D0 00048530 54 9E 0F FE */ srwi r30, r4, 0x1f +/* 8004B5D4 00048534 2C 00 00 00 */ cmpwi r0, 0 +/* 8004B5D8 00048538 40 82 00 64 */ bne lbl_8004B63C +/* 8004B5DC 0004853C 48 00 04 4D */ bl CreateStandardGameObjects__13CStateManagerFv +/* 8004B5E0 00048540 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004B5E4 00048544 38 60 01 1C */ li r3, 0x11c +/* 8004B5E8 00048548 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004B5EC 0004854C 38 A0 00 00 */ li r5, 0 +/* 8004B5F0 00048550 48 2C A2 7D */ bl __nw__FUlPCcPCc +/* 8004B5F4 00048554 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8004B5F8 00048558 41 82 00 18 */ beq lbl_8004B610 +/* 8004B5FC 0004855C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8004B600 00048560 7F 46 D3 78 */ mr r6, r26 +/* 8004B604 00048564 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 8004B608 00048568 48 00 D8 B5 */ bl __ct__6CWorldFR12IObjectStoreR11CResFactoryUi +/* 8004B60C 0004856C 7C 7B 1B 78 */ mr r27, r3 +lbl_8004B610: +/* 8004B610 00048570 80 7F 08 50 */ lwz r3, 0x850(r31) +/* 8004B614 00048574 28 03 00 00 */ cmplwi r3, 0 +/* 8004B618 00048578 41 82 00 18 */ beq lbl_8004B630 +/* 8004B61C 0004857C 81 83 00 00 */ lwz r12, 0(r3) +/* 8004B620 00048580 38 80 00 01 */ li r4, 1 +/* 8004B624 00048584 81 8C 00 08 */ lwz r12, 8(r12) +/* 8004B628 00048588 7D 89 03 A6 */ mtctr r12 +/* 8004B62C 0004858C 4E 80 04 21 */ bctrl +lbl_8004B630: +/* 8004B630 00048590 93 7F 08 50 */ stw r27, 0x850(r31) +/* 8004B634 00048594 38 00 00 01 */ li r0, 1 +/* 8004B638 00048598 90 1F 0B 3C */ stw r0, 0xb3c(r31) +lbl_8004B63C: +/* 8004B63C 0004859C 80 1F 0B 3C */ lwz r0, 0xb3c(r31) +/* 8004B640 000485A0 2C 00 00 01 */ cmpwi r0, 1 +/* 8004B644 000485A4 40 82 00 D8 */ bne lbl_8004B71C +/* 8004B648 000485A8 80 1F 08 F8 */ lwz r0, 0x8f8(r31) +/* 8004B64C 000485AC 28 00 00 00 */ cmplwi r0, 0 +/* 8004B650 000485B0 41 82 00 0C */ beq lbl_8004B65C +/* 8004B654 000485B4 38 60 00 01 */ li r3, 1 +/* 8004B658 000485B8 48 00 00 3C */ b lbl_8004B694 +lbl_8004B65C: +/* 8004B65C 000485BC 88 1F 08 F4 */ lbz r0, 0x8f4(r31) +/* 8004B660 000485C0 28 00 00 00 */ cmplwi r0, 0 +/* 8004B664 000485C4 41 82 00 2C */ beq lbl_8004B690 +/* 8004B668 000485C8 80 7F 08 F0 */ lwz r3, 0x8f0(r31) +/* 8004B66C 000485CC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8004B670 000485D0 28 00 00 00 */ cmplwi r0, 0 +/* 8004B674 000485D4 41 82 00 1C */ beq lbl_8004B690 +/* 8004B678 000485D8 38 7F 08 F0 */ addi r3, r31, 0x8f0 +/* 8004B67C 000485DC 48 2F 57 91 */ bl GetObj__6CTokenFv +/* 8004B680 000485E0 80 03 00 04 */ lwz r0, 4(r3) +/* 8004B684 000485E4 38 60 00 01 */ li r3, 1 +/* 8004B688 000485E8 90 1F 08 F8 */ stw r0, 0x8f8(r31) +/* 8004B68C 000485EC 48 00 00 08 */ b lbl_8004B694 +lbl_8004B690: +/* 8004B690 000485F0 38 60 00 00 */ li r3, 0 +lbl_8004B694: +/* 8004B694 000485F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004B698 000485F8 41 82 03 7C */ beq lbl_8004BA14 +/* 8004B69C 000485FC 80 1D 00 00 */ lwz r0, 0(r29) +/* 8004B6A0 00048600 7F E4 FB 78 */ mr r4, r31 +/* 8004B6A4 00048604 7F 86 E3 78 */ mr r6, r28 +/* 8004B6A8 00048608 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8004B6AC 0004860C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004B6B0 00048610 80 7F 08 50 */ lwz r3, 0x850(r31) +/* 8004B6B4 00048614 48 00 CC 75 */ bl CheckWorldComplete__6CWorldFP13CStateManager7TAreaIdUi +/* 8004B6B8 00048618 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004B6BC 0004861C 41 82 03 58 */ beq lbl_8004BA14 +/* 8004B6C0 00048620 80 7F 08 50 */ lwz r3, 0x850(r31) +/* 8004B6C4 00048624 7F E5 FB 78 */ mr r5, r31 +/* 8004B6C8 00048628 80 03 00 68 */ lwz r0, 0x68(r3) +/* 8004B6CC 0004862C 90 1F 08 CC */ stw r0, 0x8cc(r31) +/* 8004B6D0 00048630 80 FF 08 CC */ lwz r7, 0x8cc(r31) +/* 8004B6D4 00048634 80 7F 08 50 */ lwz r3, 0x850(r31) +/* 8004B6D8 00048638 54 E4 18 38 */ slwi r4, r7, 3 +/* 8004B6DC 0004863C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8004B6E0 00048640 80 C3 00 20 */ lwz r6, 0x20(r3) +/* 8004B6E4 00048644 38 04 00 04 */ addi r0, r4, 4 +/* 8004B6E8 00048648 90 E1 00 20 */ stw r7, 0x20(r1) +/* 8004B6EC 0004864C 7F 66 00 2E */ lwzx r27, r6, r0 +/* 8004B6F0 00048650 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 8004B6F4 00048654 7F 64 DB 78 */ mr r4, r27 +/* 8004B6F8 00048658 48 00 C7 59 */ bl ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager +/* 8004B6FC 0004865C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004B700 00048660 41 82 00 14 */ beq lbl_8004B714 +/* 8004B704 00048664 7F 63 DB 78 */ mr r3, r27 +/* 8004B708 00048668 7F E4 FB 78 */ mr r4, r31 +/* 8004B70C 0004866C 48 01 56 D9 */ bl StartStreamIn__9CGameAreaFR13CStateManager +/* 8004B710 00048670 48 00 03 04 */ b lbl_8004BA14 +lbl_8004B714: +/* 8004B714 00048674 38 00 00 02 */ li r0, 2 +/* 8004B718 00048678 90 1F 0B 3C */ stw r0, 0xb3c(r31) +lbl_8004B71C: +/* 8004B71C 0004867C 80 1F 08 CC */ lwz r0, 0x8cc(r31) +/* 8004B720 00048680 7F E3 FB 78 */ mr r3, r31 +/* 8004B724 00048684 38 81 00 18 */ addi r4, r1, 0x18 +/* 8004B728 00048688 90 01 00 18 */ stw r0, 0x18(r1) +/* 8004B72C 0004868C 48 00 09 A1 */ bl SetCurrentAreaId__13CStateManagerF7TAreaId +/* 8004B730 00048690 80 1F 08 CC */ lwz r0, 0x8cc(r31) +/* 8004B734 00048694 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8004B738 00048698 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004B73C 0004869C 48 18 82 71 */ bl CurrentWorldState__10CGameStateFv +/* 8004B740 000486A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8004B744 000486A4 48 18 96 09 */ bl SetAreaId__11CWorldStateF7TAreaId +/* 8004B748 000486A8 80 7F 08 50 */ lwz r3, 0x850(r31) +/* 8004B74C 000486AC 7F E5 FB 78 */ mr r5, r31 +/* 8004B750 000486B0 38 9F 08 CC */ addi r4, r31, 0x8cc +/* 8004B754 000486B4 38 C0 00 01 */ li r6, 1 +/* 8004B758 000486B8 48 00 C4 55 */ bl TravelToArea__6CWorldFRC7TAreaIdR13CStateManagerb +/* 8004B75C 000486BC 80 1F 08 CC */ lwz r0, 0x8cc(r31) +/* 8004B760 000486C0 7F E3 FB 78 */ mr r3, r31 +/* 8004B764 000486C4 38 81 00 10 */ addi r4, r1, 0x10 +/* 8004B768 000486C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8004B76C 000486CC 48 00 07 D9 */ bl UpdateRoomAcoustics__13CStateManagerF7TAreaId +/* 8004B770 000486D0 83 7F 08 10 */ lwz r27, 0x810(r31) +/* 8004B774 000486D4 AB 5B 20 08 */ lha r26, 0x2008(r27) +/* 8004B778 000486D8 48 00 00 48 */ b lbl_8004B7C0 +lbl_8004B77C: +/* 8004B77C 000486DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004B780 000486E0 7F 63 DB 78 */ mr r3, r27 +/* 8004B784 000486E4 7F 44 D3 78 */ mr r4, r26 +/* 8004B788 000486E8 B0 01 00 08 */ sth r0, 8(r1) +/* 8004B78C 000486EC 4B FC 45 89 */ bl __vc__11CObjectListFi +/* 8004B790 000486F0 7C 64 1B 78 */ mr r4, r3 +/* 8004B794 000486F4 7F E3 FB 78 */ mr r3, r31 +/* 8004B798 000486F8 38 A1 00 08 */ addi r5, r1, 8 +/* 8004B79C 000486FC 38 C0 00 24 */ li r6, 0x24 +/* 8004B7A0 00048700 4B FF 87 31 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8004B7A4 00048704 2C 1A FF FF */ cmpwi r26, -1 +/* 8004B7A8 00048708 41 82 00 14 */ beq lbl_8004B7BC +/* 8004B7AC 0004870C 57 43 18 38 */ slwi r3, r26, 3 +/* 8004B7B0 00048710 38 03 00 08 */ addi r0, r3, 8 +/* 8004B7B4 00048714 7F 5B 02 AE */ lhax r26, r27, r0 +/* 8004B7B8 00048718 48 00 00 08 */ b lbl_8004B7C0 +lbl_8004B7BC: +/* 8004B7BC 0004871C 3B 40 FF FF */ li r26, -1 +lbl_8004B7C0: +/* 8004B7C0 00048720 2C 1A FF FF */ cmpwi r26, -1 +/* 8004B7C4 00048724 40 82 FF B8 */ bne lbl_8004B77C +/* 8004B7C8 00048728 83 7F 08 10 */ lwz r27, 0x810(r31) +/* 8004B7CC 0004872C AB 5B 20 08 */ lha r26, 0x2008(r27) +/* 8004B7D0 00048730 48 00 02 00 */ b lbl_8004B9D0 +lbl_8004B7D4: +/* 8004B7D4 00048734 7F 63 DB 78 */ mr r3, r27 +/* 8004B7D8 00048738 7F 44 D3 78 */ mr r4, r26 +/* 8004B7DC 0004873C 4B FC 45 39 */ bl __vc__11CObjectListFi +/* 8004B7E0 00048740 7C 64 1B 78 */ mr r4, r3 +/* 8004B7E4 00048744 38 61 00 2C */ addi r3, r1, 0x2c +/* 8004B7E8 00048748 48 05 C9 DD */ bl "__ct__31TCastToPtr<17CScriptSpawnPoint>FP7CEntity" +/* 8004B7EC 0004874C 83 A3 00 04 */ lwz r29, 4(r3) +/* 8004B7F0 00048750 28 1D 00 00 */ cmplwi r29, 0 +/* 8004B7F4 00048754 41 82 01 C0 */ beq lbl_8004B9B4 +/* 8004B7F8 00048758 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 8004B7FC 0004875C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004B800 00048760 41 82 01 B4 */ beq lbl_8004B9B4 +/* 8004B804 00048764 88 1D 01 0C */ lbz r0, 0x10c(r29) +/* 8004B808 00048768 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004B80C 0004876C 41 82 01 A8 */ beq lbl_8004B9B4 +/* 8004B810 00048770 7F A3 EB 78 */ mr r3, r29 +/* 8004B814 00048774 48 09 6D E1 */ bl GetTransform__17CScriptSpawnPointCFv +/* 8004B818 00048778 C0 43 00 2C */ lfs f2, 0x2c(r3) +/* 8004B81C 0004877C C0 23 00 1C */ lfs f1, 0x1c(r3) +/* 8004B820 00048780 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8004B824 00048784 7F A3 EB 78 */ mr r3, r29 +/* 8004B828 00048788 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8004B82C 0004878C D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8004B830 00048790 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8004B834 00048794 48 09 6D C1 */ bl GetTransform__17CScriptSpawnPointCFv +/* 8004B838 00048798 C0 63 00 24 */ lfs f3, 0x24(r3) +/* 8004B83C 0004879C C0 43 00 14 */ lfs f2, 0x14(r3) +/* 8004B840 000487A0 C0 23 00 04 */ lfs f1, 4(r3) +/* 8004B844 000487A4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8004B848 000487A8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004B84C 000487AC D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8004B850 000487B0 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8004B854 000487B4 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8004B858 000487B8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8004B85C 000487BC 48 2C 8E 9D */ bl CanBeNormalized__9CVector3fCFv +/* 8004B860 000487C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004B864 000487C4 41 82 00 60 */ beq lbl_8004B8C4 +/* 8004B868 000487C8 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8004B86C 000487CC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8004B870 000487D0 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8004B874 000487D4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8004B878 000487D8 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 8004B87C 000487DC 38 61 00 58 */ addi r3, r1, 0x58 +/* 8004B880 000487E0 EC 81 00 2A */ fadds f4, f1, f0 +/* 8004B884 000487E4 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 8004B888 000487E8 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 8004B88C 000487EC 38 81 00 4C */ addi r4, r1, 0x4c +/* 8004B890 000487F0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8004B894 000487F4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8004B898 000487F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8004B89C 000487FC D0 81 00 38 */ stfs f4, 0x38(r1) +/* 8004B8A0 00048800 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8004B8A4 00048804 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8004B8A8 00048808 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8004B8AC 0004880C 48 2C 82 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8004B8B0 00048810 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8004B8B4 00048814 7F E5 FB 78 */ mr r5, r31 +/* 8004B8B8 00048818 38 81 00 58 */ addi r4, r1, 0x58 +/* 8004B8BC 0004881C 38 C0 00 01 */ li r6, 1 +/* 8004B8C0 00048820 48 23 97 DD */ bl Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb +lbl_8004B8C4: +/* 8004B8C4 00048824 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8004B8C8 00048828 88 03 02 28 */ lbz r0, 0x228(r3) +/* 8004B8CC 0004882C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8004B8D0 00048830 41 82 01 08 */ beq lbl_8004B9D8 +/* 8004B8D4 00048834 38 80 00 00 */ li r4, 0 +/* 8004B8D8 00048838 48 18 7F C5 */ bl SetDeferPowerupInit__10CGameStateFb +/* 8004B8DC 0004883C 3B 80 00 00 */ li r28, 0 +lbl_8004B8E0: +/* 8004B8E0 00048840 80 BF 08 B8 */ lwz r5, 0x8b8(r31) +/* 8004B8E4 00048844 7F A3 EB 78 */ mr r3, r29 +/* 8004B8E8 00048848 93 81 00 28 */ stw r28, 0x28(r1) +/* 8004B8EC 0004884C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8004B8F0 00048850 83 45 00 00 */ lwz r26, 0(r5) +/* 8004B8F4 00048854 48 09 6C D5 */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType +/* 8004B8F8 00048858 7C 7B 1B 78 */ mr r27, r3 +/* 8004B8FC 0004885C 7F 84 E3 78 */ mr r4, r28 +/* 8004B900 00048860 7F 43 D3 78 */ mr r3, r26 +/* 8004B904 00048864 48 04 61 95 */ bl GetPowerUp__12CPlayerStateFQ212CPlayerState9EItemType +/* 8004B908 00048868 7C 03 D8 00 */ cmpw r3, r27 +/* 8004B90C 0004886C 40 80 00 38 */ bge lbl_8004B944 +/* 8004B910 00048870 80 BF 08 B8 */ lwz r5, 0x8b8(r31) +/* 8004B914 00048874 7F A3 EB 78 */ mr r3, r29 +/* 8004B918 00048878 38 81 00 28 */ addi r4, r1, 0x28 +/* 8004B91C 0004887C 83 45 00 00 */ lwz r26, 0(r5) +/* 8004B920 00048880 48 09 6C A9 */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType +/* 8004B924 00048884 7C 7B 1B 78 */ mr r27, r3 +/* 8004B928 00048888 7F 84 E3 78 */ mr r4, r28 +/* 8004B92C 0004888C 7F 43 D3 78 */ mr r3, r26 +/* 8004B930 00048890 48 04 61 69 */ bl GetPowerUp__12CPlayerStateFQ212CPlayerState9EItemType +/* 8004B934 00048894 7C A3 D8 50 */ subf r5, r3, r27 +/* 8004B938 00048898 7F 84 E3 78 */ mr r4, r28 +/* 8004B93C 0004889C 7F 43 D3 78 */ mr r3, r26 +/* 8004B940 000488A0 48 04 64 29 */ bl InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei +lbl_8004B944: +/* 8004B944 000488A4 80 BF 08 B8 */ lwz r5, 0x8b8(r31) +/* 8004B948 000488A8 7F A3 EB 78 */ mr r3, r29 +/* 8004B94C 000488AC 38 81 00 28 */ addi r4, r1, 0x28 +/* 8004B950 000488B0 83 45 00 00 */ lwz r26, 0(r5) +/* 8004B954 000488B4 48 09 6C 75 */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType +/* 8004B958 000488B8 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8004B95C 000488BC 7C 7B 1B 78 */ mr r27, r3 +/* 8004B960 000488C0 7F 43 D3 78 */ mr r3, r26 +/* 8004B964 000488C4 48 04 61 B9 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8004B968 000488C8 7C 03 D8 00 */ cmpw r3, r27 +/* 8004B96C 000488CC 40 80 00 38 */ bge lbl_8004B9A4 +/* 8004B970 000488D0 80 BF 08 B8 */ lwz r5, 0x8b8(r31) +/* 8004B974 000488D4 7F A3 EB 78 */ mr r3, r29 +/* 8004B978 000488D8 38 81 00 28 */ addi r4, r1, 0x28 +/* 8004B97C 000488DC 83 45 00 00 */ lwz r26, 0(r5) +/* 8004B980 000488E0 48 09 6C 49 */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType +/* 8004B984 000488E4 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8004B988 000488E8 7C 7B 1B 78 */ mr r27, r3 +/* 8004B98C 000488EC 7F 43 D3 78 */ mr r3, r26 +/* 8004B990 000488F0 48 04 61 8D */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8004B994 000488F4 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8004B998 000488F8 7C A3 D8 50 */ subf r5, r3, r27 +/* 8004B99C 000488FC 7F 43 D3 78 */ mr r3, r26 +/* 8004B9A0 00048900 48 04 62 51 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei +lbl_8004B9A4: +/* 8004B9A4 00048904 3B 9C 00 01 */ addi r28, r28, 1 +/* 8004B9A8 00048908 2C 1C 00 29 */ cmpwi r28, 0x29 +/* 8004B9AC 0004890C 41 80 FF 34 */ blt lbl_8004B8E0 +/* 8004B9B0 00048910 48 00 00 28 */ b lbl_8004B9D8 +lbl_8004B9B4: +/* 8004B9B4 00048914 2C 1A FF FF */ cmpwi r26, -1 +/* 8004B9B8 00048918 41 82 00 14 */ beq lbl_8004B9CC +/* 8004B9BC 0004891C 57 43 18 38 */ slwi r3, r26, 3 +/* 8004B9C0 00048920 38 03 00 08 */ addi r0, r3, 8 +/* 8004B9C4 00048924 7F 5B 02 AE */ lhax r26, r27, r0 +/* 8004B9C8 00048928 48 00 00 08 */ b lbl_8004B9D0 +lbl_8004B9CC: +/* 8004B9CC 0004892C 3B 40 FF FF */ li r26, -1 +lbl_8004B9D0: +/* 8004B9D0 00048930 2C 1A FF FF */ cmpwi r26, -1 +/* 8004B9D4 00048934 40 82 FE 00 */ bne lbl_8004B7D4 +lbl_8004B9D8: +/* 8004B9D8 00048938 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8004B9DC 0004893C 7F E4 FB 78 */ mr r4, r31 +/* 8004B9E0 00048940 4B FC 61 4D */ bl AsyncLoadSuit__7CPlayerFR13CStateManager +/* 8004B9E4 00048944 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8004B9E8 00048948 7F E4 FB 78 */ mr r4, r31 +/* 8004B9EC 0004894C 4B FC 02 A5 */ bl ResetCameras__14CCameraManagerFR13CStateManager +/* 8004B9F0 00048950 28 1E 00 00 */ cmplwi r30, 0 +/* 8004B9F4 00048954 41 82 00 0C */ beq lbl_8004BA00 +/* 8004B9F8 00048958 38 1F 08 FC */ addi r0, r31, 0x8fc +/* 8004B9FC 0004895C 48 00 00 08 */ b lbl_8004BA04 +lbl_8004BA00: +/* 8004BA00 00048960 38 00 00 00 */ li r0, 0 +lbl_8004BA04: +/* 8004BA04 00048964 90 1F 09 00 */ stw r0, 0x900(r31) +/* 8004BA08 00048968 7F E4 FB 78 */ mr r4, r31 +/* 8004BA0C 0004896C 80 7F 08 80 */ lwz r3, 0x880(r31) +/* 8004BA10 00048970 48 1C 6D BD */ bl AsyncLoadResources__13CEnvFXManagerFR13CStateManager +lbl_8004BA14: +/* 8004BA14 00048974 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 8004BA18 00048978 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8004BA1C 0004897C 7C 08 03 A6 */ mtlr r0 +/* 8004BA20 00048980 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8004BA24 00048984 4E 80 00 20 */ blr + +.global CreateStandardGameObjects__13CStateManagerFv +CreateStandardGameObjects__13CStateManagerFv: +/* 8004BA28 00048988 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 8004BA2C 0004898C 7C 08 02 A6 */ mflr r0 +/* 8004BA30 00048990 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 8004BA34 00048994 DB E1 01 90 */ stfd f31, 0x190(r1) +/* 8004BA38 00048998 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 +/* 8004BA3C 0004899C DB C1 01 80 */ stfd f30, 0x180(r1) +/* 8004BA40 000489A0 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 +/* 8004BA44 000489A4 DB A1 01 70 */ stfd f29, 0x170(r1) +/* 8004BA48 000489A8 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 +/* 8004BA4C 000489AC 93 E1 01 6C */ stw r31, 0x16c(r1) +/* 8004BA50 000489B0 93 C1 01 68 */ stw r30, 0x168(r1) +/* 8004BA54 000489B4 80 CD A1 18 */ lwz r6, gpTweakPlayer@sda21(r13) +/* 8004BA58 000489B8 7C 7E 1B 78 */ mr r30, r3 +/* 8004BA5C 000489BC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) +/* 8004BA60 000489C0 38 61 00 9C */ addi r3, r1, 0x9c +/* 8004BA64 000489C4 C0 46 02 70 */ lfs f2, 0x270(r6) +/* 8004BA68 000489C8 38 81 00 84 */ addi r4, r1, 0x84 +/* 8004BA6C 000489CC C3 E6 02 74 */ lfs f31, 0x274(r6) +/* 8004BA70 000489D0 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8004BA74 000489D4 FC 60 10 50 */ fneg f3, f2 +/* 8004BA78 000489D8 C3 C6 02 78 */ lfs f30, 0x278(r6) +/* 8004BA7C 000489DC C0 26 02 6C */ lfs f1, 0x26c(r6) +/* 8004BA80 000489E0 C3 A6 02 7C */ lfs f29, 0x27c(r6) +/* 8004BA84 000489E4 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 8004BA88 000489E8 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8004BA8C 000489EC D0 21 00 80 */ stfs f1, 0x80(r1) +/* 8004BA90 000489F0 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 8004BA94 000489F4 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 8004BA98 000489F8 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8004BA9C 000489FC 48 2E CA 6D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8004BAA0 00048A00 7F C4 F3 78 */ mr r4, r30 +/* 8004BAA4 00048A04 38 61 00 0C */ addi r3, r1, 0xc +/* 8004BAA8 00048A08 48 00 16 35 */ bl AllocateUniqueId__13CStateManagerFv +/* 8004BAAC 00048A0C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8004BAB0 00048A10 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 8004BAB4 00048A14 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8004BAB8 00048A18 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8004BABC 00048A1C C0 A4 00 00 */ lfs f5, 0(r4) +/* 8004BAC0 00048A20 38 61 00 5C */ addi r3, r1, 0x5c +/* 8004BAC4 00048A24 C0 84 00 04 */ lfs f4, 4(r4) +/* 8004BAC8 00048A28 C0 64 00 08 */ lfs f3, 8(r4) +/* 8004BACC 00048A2C C0 42 86 20 */ lfs f2, lbl_805AA340@sda21(r2) +/* 8004BAD0 00048A30 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 8004BAD4 00048A34 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8004BAD8 00048A38 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 8004BADC 00048A3C D0 81 00 94 */ stfs f4, 0x94(r1) +/* 8004BAE0 00048A40 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 8004BAE4 00048A44 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8004BAE8 00048A48 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 8004BAEC 00048A4C D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8004BAF0 00048A50 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8004BAF4 00048A54 48 2C 8E 05 */ bl Normalize__9CVector3fFv +/* 8004BAF8 00048A58 38 61 00 68 */ addi r3, r1, 0x68 +/* 8004BAFC 00048A5C 38 81 00 5C */ addi r4, r1, 0x5c +/* 8004BB00 00048A60 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8004BB04 00048A64 48 2C 57 F1 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 8004BB08 00048A68 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8004BB0C 00048A6C 38 81 00 68 */ addi r4, r1, 0x68 +/* 8004BB10 00048A70 48 2C 65 7D */ bl BuildTransform__11CQuaternionCFv +/* 8004BB14 00048A74 38 61 01 38 */ addi r3, r1, 0x138 +/* 8004BB18 00048A78 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 8004BB1C 00048A7C 48 2C 45 09 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8004BB20 00048A80 C1 01 01 58 */ lfs f8, 0x158(r1) +/* 8004BB24 00048A84 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8004BB28 00048A88 C0 E1 01 4C */ lfs f7, 0x14c(r1) +/* 8004BB2C 00048A8C 38 81 00 50 */ addi r4, r1, 0x50 +/* 8004BB30 00048A90 C0 41 01 40 */ lfs f2, 0x140(r1) +/* 8004BB34 00048A94 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8004BB38 00048A98 C0 C1 01 54 */ lfs f6, 0x154(r1) +/* 8004BB3C 00048A9C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8004BB40 00048AA0 C0 A1 01 48 */ lfs f5, 0x148(r1) +/* 8004BB44 00048AA4 38 E1 00 90 */ addi r7, r1, 0x90 +/* 8004BB48 00048AA8 C0 21 01 3C */ lfs f1, 0x13c(r1) +/* 8004BB4C 00048AAC C0 81 01 50 */ lfs f4, 0x150(r1) +/* 8004BB50 00048AB0 C0 61 01 44 */ lfs f3, 0x144(r1) +/* 8004BB54 00048AB4 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 8004BB58 00048AB8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8004BB5C 00048ABC D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 8004BB60 00048AC0 D1 01 00 40 */ stfs f8, 0x40(r1) +/* 8004BB64 00048AC4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8004BB68 00048AC8 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 8004BB6C 00048ACC D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 8004BB70 00048AD0 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8004BB74 00048AD4 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 8004BB78 00048AD8 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8004BB7C 00048ADC 48 2C 72 E1 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 8004BB80 00048AE0 38 61 01 08 */ addi r3, r1, 0x108 +/* 8004BB84 00048AE4 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8004BB88 00048AE8 48 2C 6F ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8004BB8C 00048AEC 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004BB90 00048AF0 38 60 0A 38 */ li r3, 0xa38 +/* 8004BB94 00048AF4 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004BB98 00048AF8 38 A0 00 00 */ li r5, 0 +/* 8004BB9C 00048AFC 48 00 3B 59 */ bl "__nw__20TOneStatic<7CPlayer>FUlPCcPCc" +/* 8004BBA0 00048B00 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8004BBA4 00048B04 41 82 00 F0 */ beq lbl_8004BC94 +/* 8004BBA8 00048B08 38 00 00 00 */ li r0, 0 +/* 8004BBAC 00048B0C 80 AD 82 64 */ lwz r5, lbl_805A6E24@sda21(r13) +/* 8004BBB0 00048B10 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8004BBB4 00048B14 38 60 00 00 */ li r3, 0 +/* 8004BBB8 00048B18 38 80 00 01 */ li r4, 1 +/* 8004BBBC 00048B1C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8004BBC0 00048B20 48 33 E3 35 */ bl __shl2i +/* 8004BBC4 00048B24 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8004BBC8 00048B28 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8004BBCC 00048B2C 7C 00 1B 78 */ or r0, r0, r3 +/* 8004BBD0 00048B30 80 AD 82 68 */ lwz r5, lbl_805A6E28@sda21(r13) +/* 8004BBD4 00048B34 7C C4 23 78 */ or r4, r6, r4 +/* 8004BBD8 00048B38 90 01 00 18 */ stw r0, 0x18(r1) +/* 8004BBDC 00048B3C 38 60 00 00 */ li r3, 0 +/* 8004BBE0 00048B40 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8004BBE4 00048B44 38 80 00 01 */ li r4, 1 +/* 8004BBE8 00048B48 48 33 E3 0D */ bl __shl2i +/* 8004BBEC 00048B4C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8004BBF0 00048B50 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8004BBF4 00048B54 7C 00 1B 78 */ or r0, r0, r3 +/* 8004BBF8 00048B58 80 AD 82 6C */ lwz r5, lbl_805A6E2C@sda21(r13) +/* 8004BBFC 00048B5C 7C C4 23 78 */ or r4, r6, r4 +/* 8004BC00 00048B60 90 01 00 18 */ stw r0, 0x18(r1) +/* 8004BC04 00048B64 38 60 00 00 */ li r3, 0 +/* 8004BC08 00048B68 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8004BC0C 00048B6C 38 80 00 01 */ li r4, 1 +/* 8004BC10 00048B70 48 33 E2 E5 */ bl __shl2i +/* 8004BC14 00048B74 C0 02 86 24 */ lfs f0, lbl_805AA344@sda21(r2) +/* 8004BC18 00048B78 FC 40 F8 90 */ fmr f2, f31 +/* 8004BC1C 00048B7C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8004BC20 00048B80 FC 60 F0 90 */ fmr f3, f30 +/* 8004BC24 00048B84 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8004BC28 00048B88 FC 80 E8 90 */ fmr f4, f29 +/* 8004BC2C 00048B8C 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8004BC30 00048B90 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8004BC34 00048B94 7C 00 1B 78 */ or r0, r0, r3 +/* 8004BC38 00048B98 7C A6 23 78 */ or r6, r5, r4 +/* 8004BC3C 00048B9C 81 81 00 20 */ lwz r12, 0x20(r1) +/* 8004BC40 00048BA0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8004BC44 00048BA4 7F E3 FB 78 */ mr r3, r31 +/* 8004BC48 00048BA8 81 61 00 24 */ lwz r11, 0x24(r1) +/* 8004BC4C 00048BAC 38 81 00 08 */ addi r4, r1, 8 +/* 8004BC50 00048BB0 81 41 00 28 */ lwz r10, 0x28(r1) +/* 8004BC54 00048BB4 38 A1 01 08 */ addi r5, r1, 0x108 +/* 8004BC58 00048BB8 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8004BC5C 00048BBC 38 C1 00 9C */ addi r6, r1, 0x9c +/* 8004BC60 00048BC0 80 ED A1 4C */ lwz r7, gpTweakPlayerRes@sda21(r13) +/* 8004BC64 00048BC4 39 01 00 2C */ addi r8, r1, 0x2c +/* 8004BC68 00048BC8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8004BC6C 00048BCC 39 21 00 18 */ addi r9, r1, 0x18 +/* 8004BC70 00048BD0 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8004BC74 00048BD4 91 81 00 2C */ stw r12, 0x2c(r1) +/* 8004BC78 00048BD8 C0 22 86 28 */ lfs f1, lbl_805AA348@sda21(r2) +/* 8004BC7C 00048BDC 91 61 00 30 */ stw r11, 0x30(r1) +/* 8004BC80 00048BE0 91 41 00 34 */ stw r10, 0x34(r1) +/* 8004BC84 00048BE4 80 E7 00 C4 */ lwz r7, 0xc4(r7) +/* 8004BC88 00048BE8 B0 01 00 08 */ sth r0, 8(r1) +/* 8004BC8C 00048BEC 4B FC E5 B1 */ bl __ct__7CPlayerF9TUniqueIdRC12CTransform4fRC6CAABoxUi9CVector3fffffRC13CMaterialList +/* 8004BC90 00048BF0 7C 7F 1B 78 */ mr r31, r3 +lbl_8004BC94: +/* 8004BC94 00048BF4 93 FE 08 4C */ stw r31, 0x84c(r30) +/* 8004BC98 00048BF8 7F C3 F3 78 */ mr r3, r30 +/* 8004BC9C 00048BFC 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 8004BCA0 00048C00 48 00 0E 75 */ bl AddObject__13CStateManagerFR7CEntity +/* 8004BCA4 00048C04 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8004BCA8 00048C08 7F C4 F3 78 */ mr r4, r30 +/* 8004BCAC 00048C0C 4B FC 01 AD */ bl CreateStandardCameras__14CCameraManagerFR13CStateManager +/* 8004BCB0 00048C10 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 +/* 8004BCB4 00048C14 CB E1 01 90 */ lfd f31, 0x190(r1) +/* 8004BCB8 00048C18 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 +/* 8004BCBC 00048C1C CB C1 01 80 */ lfd f30, 0x180(r1) +/* 8004BCC0 00048C20 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 +/* 8004BCC4 00048C24 CB A1 01 70 */ lfd f29, 0x170(r1) +/* 8004BCC8 00048C28 83 E1 01 6C */ lwz r31, 0x16c(r1) +/* 8004BCCC 00048C2C 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 8004BCD0 00048C30 83 C1 01 68 */ lwz r30, 0x168(r1) +/* 8004BCD4 00048C34 7C 08 03 A6 */ mtlr r0 +/* 8004BCD8 00048C38 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 8004BCDC 00048C3C 4E 80 00 20 */ blr + +.global RemoveObject__13CStateManagerF9TUniqueId +RemoveObject__13CStateManagerF9TUniqueId: +/* 8004BCE0 00048C40 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8004BCE4 00048C44 7C 08 02 A6 */ mflr r0 +/* 8004BCE8 00048C48 90 01 00 74 */ stw r0, 0x74(r1) +/* 8004BCEC 00048C4C BF 01 00 50 */ stmw r24, 0x50(r1) +/* 8004BCF0 00048C50 7C 79 1B 78 */ mr r25, r3 +/* 8004BCF4 00048C54 7C 9A 23 78 */ mr r26, r4 +/* 8004BCF8 00048C58 3B 99 08 0C */ addi r28, r25, 0x80c +/* 8004BCFC 00048C5C A0 04 00 00 */ lhz r0, 0(r4) +/* 8004BD00 00048C60 38 81 00 10 */ addi r4, r1, 0x10 +/* 8004BD04 00048C64 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8004BD08 00048C68 80 63 08 10 */ lwz r3, 0x810(r3) +/* 8004BD0C 00048C6C 4B FC 40 91 */ bl GetValidObjectById__11CObjectListF9TUniqueId +/* 8004BD10 00048C70 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8004BD14 00048C74 41 82 01 58 */ beq lbl_8004BE6C +/* 8004BD18 00048C78 80 9B 00 0C */ lwz r4, 0xc(r27) +/* 8004BD1C 00048C7C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8004BD20 00048C80 54 83 01 BE */ clrlwi r3, r4, 6 +/* 8004BD24 00048C84 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8004BD28 00048C88 54 00 01 BE */ clrlwi r0, r0, 6 +/* 8004BD2C 00048C8C 7C 03 00 40 */ cmplw r3, r0 +/* 8004BD30 00048C90 41 82 00 CC */ beq lbl_8004BDFC +/* 8004BD34 00048C94 38 61 00 38 */ addi r3, r1, 0x38 +/* 8004BD38 00048C98 38 99 08 90 */ addi r4, r25, 0x890 +/* 8004BD3C 00048C9C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8004BD40 00048CA0 48 00 01 71 */ bl sub_8004beb0 +/* 8004BD44 00048CA4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8004BD48 00048CA8 3B B9 08 98 */ addi r29, r25, 0x898 +/* 8004BD4C 00048CAC 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8004BD50 00048CB0 90 61 00 30 */ stw r3, 0x30(r1) +/* 8004BD54 00048CB4 83 E1 00 40 */ lwz r31, 0x40(r1) +/* 8004BD58 00048CB8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8004BD5C 00048CBC 83 C1 00 44 */ lwz r30, 0x44(r1) +/* 8004BD60 00048CC0 48 00 00 74 */ b lbl_8004BDD4 +lbl_8004BD64: +/* 8004BD64 00048CC4 A0 64 00 14 */ lhz r3, 0x14(r4) +/* 8004BD68 00048CC8 A0 1A 00 00 */ lhz r0, 0(r26) +/* 8004BD6C 00048CCC 7C 03 00 40 */ cmplw r3, r0 +/* 8004BD70 00048CD0 40 82 00 58 */ bne lbl_8004BDC8 +/* 8004BD74 00048CD4 83 01 00 30 */ lwz r24, 0x30(r1) +/* 8004BD78 00048CD8 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8004BD7C 00048CDC 93 01 00 28 */ stw r24, 0x28(r1) +/* 8004BD80 00048CE0 7F 04 C3 78 */ mr r4, r24 +/* 8004BD84 00048CE4 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8004BD88 00048CE8 48 2F 08 59 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8004BD8C 00048CEC 90 61 00 28 */ stw r3, 0x28(r1) +/* 8004BD90 00048CF0 7F A3 EB 78 */ mr r3, r29 +/* 8004BD94 00048CF4 7F 04 C3 78 */ mr r4, r24 +/* 8004BD98 00048CF8 48 2F 08 E5 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 8004BD9C 00048CFC 28 03 00 00 */ cmplwi r3, 0 +/* 8004BDA0 00048D00 41 82 00 08 */ beq lbl_8004BDA8 +/* 8004BDA4 00048D04 48 2C 9B 8D */ bl Free__7CMemoryFPCv +lbl_8004BDA8: +/* 8004BDA8 00048D08 80 99 08 94 */ lwz r4, 0x894(r25) +/* 8004BDAC 00048D0C 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8004BDB0 00048D10 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8004BDB4 00048D14 38 84 FF FF */ addi r4, r4, -1 +/* 8004BDB8 00048D18 90 99 08 94 */ stw r4, 0x894(r25) +/* 8004BDBC 00048D1C 90 61 00 30 */ stw r3, 0x30(r1) +/* 8004BDC0 00048D20 90 01 00 34 */ stw r0, 0x34(r1) +/* 8004BDC4 00048D24 48 00 00 10 */ b lbl_8004BDD4 +lbl_8004BDC8: +/* 8004BDC8 00048D28 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8004BDCC 00048D2C 48 2F 08 15 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8004BDD0 00048D30 90 61 00 30 */ stw r3, 0x30(r1) +lbl_8004BDD4: +/* 8004BDD4 00048D34 80 81 00 30 */ lwz r4, 0x30(r1) +/* 8004BDD8 00048D38 38 60 00 00 */ li r3, 0 +/* 8004BDDC 00048D3C 7C 04 F8 40 */ cmplw r4, r31 +/* 8004BDE0 00048D40 40 82 00 10 */ bne lbl_8004BDF0 +/* 8004BDE4 00048D44 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8004BDE8 00048D48 7C 00 F0 40 */ cmplw r0, r30 +/* 8004BDEC 00048D4C 41 82 00 08 */ beq lbl_8004BDF4 +lbl_8004BDF0: +/* 8004BDF0 00048D50 38 60 00 01 */ li r3, 1 +lbl_8004BDF4: +/* 8004BDF4 00048D54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004BDF8 00048D58 40 82 FF 6C */ bne lbl_8004BD64 +lbl_8004BDFC: +/* 8004BDFC 00048D5C 80 BB 00 04 */ lwz r5, 4(r27) +/* 8004BE00 00048D60 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8004BE04 00048D64 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8004BE08 00048D68 7C 05 00 00 */ cmpw r5, r0 +/* 8004BE0C 00048D6C 41 82 00 40 */ beq lbl_8004BE4C +/* 8004BE10 00048D70 80 99 08 50 */ lwz r4, 0x850(r25) +/* 8004BE14 00048D74 54 A3 18 38 */ slwi r3, r5, 3 +/* 8004BE18 00048D78 38 03 00 04 */ addi r0, r3, 4 +/* 8004BE1C 00048D7C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8004BE20 00048D80 80 64 00 20 */ lwz r3, 0x20(r4) +/* 8004BE24 00048D84 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8004BE28 00048D88 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8004BE2C 00048D8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004BE30 00048D90 41 82 00 1C */ beq lbl_8004BE4C +/* 8004BE34 00048D94 A0 1A 00 00 */ lhz r0, 0(r26) +/* 8004BE38 00048D98 38 81 00 0C */ addi r4, r1, 0xc +/* 8004BE3C 00048D9C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004BE40 00048DA0 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8004BE44 00048DA4 80 63 10 C0 */ lwz r3, 0x10c0(r3) +/* 8004BE48 00048DA8 4B FC 40 5D */ bl RemoveObject__11CObjectListF9TUniqueId +lbl_8004BE4C: +/* 8004BE4C 00048DAC 7F 64 DB 78 */ mr r4, r27 +/* 8004BE50 00048DB0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8004BE54 00048DB4 48 06 3E 3D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8004BE58 00048DB8 80 83 00 04 */ lwz r4, 4(r3) +/* 8004BE5C 00048DBC 28 04 00 00 */ cmplwi r4, 0 +/* 8004BE60 00048DC0 41 82 00 0C */ beq lbl_8004BE6C +/* 8004BE64 00048DC4 80 79 08 74 */ lwz r3, 0x874(r25) +/* 8004BE68 00048DC8 48 0F E0 C5 */ bl Remove__Q22SL18CSortedListManagerFPC6CActor +lbl_8004BE6C: +/* 8004BE6C 00048DCC 3B 00 00 00 */ li r24, 0 +/* 8004BE70 00048DD0 48 00 00 20 */ b lbl_8004BE90 +lbl_8004BE74: +/* 8004BE74 00048DD4 A0 1A 00 00 */ lhz r0, 0(r26) +/* 8004BE78 00048DD8 38 81 00 08 */ addi r4, r1, 8 +/* 8004BE7C 00048DDC B0 01 00 08 */ sth r0, 8(r1) +/* 8004BE80 00048DE0 80 7C 00 04 */ lwz r3, 4(r28) +/* 8004BE84 00048DE4 4B FC 40 21 */ bl RemoveObject__11CObjectListF9TUniqueId +/* 8004BE88 00048DE8 3B 9C 00 08 */ addi r28, r28, 8 +/* 8004BE8C 00048DEC 3B 18 00 01 */ addi r24, r24, 1 +lbl_8004BE90: +/* 8004BE90 00048DF0 80 19 08 08 */ lwz r0, 0x808(r25) +/* 8004BE94 00048DF4 7C 18 00 00 */ cmpw r24, r0 +/* 8004BE98 00048DF8 41 80 FF DC */ blt lbl_8004BE74 +/* 8004BE9C 00048DFC BB 01 00 50 */ lmw r24, 0x50(r1) +/* 8004BEA0 00048E00 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8004BEA4 00048E04 7C 08 03 A6 */ mtlr r0 +/* 8004BEA8 00048E08 38 21 00 70 */ addi r1, r1, 0x70 +/* 8004BEAC 00048E0C 4E 80 00 20 */ blr + +.global sub_8004beb0 +sub_8004beb0: +/* 8004BEB0 00048E10 81 44 00 10 */ lwz r10, 0x10(r4) +/* 8004BEB4 00048E14 38 E0 00 00 */ li r7, 0 +/* 8004BEB8 00048E18 7D 48 53 78 */ mr r8, r10 +/* 8004BEBC 00048E1C 48 00 00 2C */ b lbl_8004BEE8 +lbl_8004BEC0: +/* 8004BEC0 00048E20 80 C5 00 00 */ lwz r6, 0(r5) +/* 8004BEC4 00048E24 80 08 00 10 */ lwz r0, 0x10(r8) +/* 8004BEC8 00048E28 54 C6 01 BE */ clrlwi r6, r6, 6 +/* 8004BECC 00048E2C 54 00 01 BE */ clrlwi r0, r0, 6 +/* 8004BED0 00048E30 7C 06 00 40 */ cmplw r6, r0 +/* 8004BED4 00048E34 40 80 00 10 */ bge lbl_8004BEE4 +/* 8004BED8 00048E38 7D 07 43 78 */ mr r7, r8 +/* 8004BEDC 00048E3C 81 08 00 00 */ lwz r8, 0(r8) +/* 8004BEE0 00048E40 48 00 00 08 */ b lbl_8004BEE8 +lbl_8004BEE4: +/* 8004BEE4 00048E44 81 08 00 04 */ lwz r8, 4(r8) +lbl_8004BEE8: +/* 8004BEE8 00048E48 28 08 00 00 */ cmplwi r8, 0 +/* 8004BEEC 00048E4C 40 82 FF D4 */ bne lbl_8004BEC0 +/* 8004BEF0 00048E50 39 24 00 08 */ addi r9, r4, 8 +/* 8004BEF4 00048E54 39 00 00 00 */ li r8, 0 +/* 8004BEF8 00048E58 48 00 00 2C */ b lbl_8004BF24 +lbl_8004BEFC: +/* 8004BEFC 00048E5C 80 CA 00 10 */ lwz r6, 0x10(r10) +/* 8004BF00 00048E60 80 05 00 00 */ lwz r0, 0(r5) +/* 8004BF04 00048E64 54 C6 01 BE */ clrlwi r6, r6, 6 +/* 8004BF08 00048E68 54 00 01 BE */ clrlwi r0, r0, 6 +/* 8004BF0C 00048E6C 7C 06 00 40 */ cmplw r6, r0 +/* 8004BF10 00048E70 41 80 00 10 */ blt lbl_8004BF20 +/* 8004BF14 00048E74 7D 48 53 78 */ mr r8, r10 +/* 8004BF18 00048E78 81 4A 00 00 */ lwz r10, 0(r10) +/* 8004BF1C 00048E7C 48 00 00 08 */ b lbl_8004BF24 +lbl_8004BF20: +/* 8004BF20 00048E80 81 4A 00 04 */ lwz r10, 4(r10) +lbl_8004BF24: +/* 8004BF24 00048E84 28 0A 00 00 */ cmplwi r10, 0 +/* 8004BF28 00048E88 40 82 FF D4 */ bne lbl_8004BEFC +/* 8004BF2C 00048E8C 91 03 00 00 */ stw r8, 0(r3) +/* 8004BF30 00048E90 38 04 00 08 */ addi r0, r4, 8 +/* 8004BF34 00048E94 90 03 00 04 */ stw r0, 4(r3) +/* 8004BF38 00048E98 90 E3 00 08 */ stw r7, 8(r3) +/* 8004BF3C 00048E9C 91 23 00 0C */ stw r9, 0xc(r3) +/* 8004BF40 00048EA0 4E 80 00 20 */ blr + +.global UpdateRoomAcoustics__13CStateManagerF7TAreaId +UpdateRoomAcoustics__13CStateManagerF7TAreaId: +/* 8004BF44 00048EA4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8004BF48 00048EA8 7C 08 02 A6 */ mflr r0 +/* 8004BF4C 00048EAC 90 01 00 74 */ stw r0, 0x74(r1) +/* 8004BF50 00048EB0 38 00 00 00 */ li r0, 0 +/* 8004BF54 00048EB4 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 8004BF58 00048EB8 7C 7B 1B 78 */ mr r27, r3 +/* 8004BF5C 00048EBC 7C 9C 23 78 */ mr r28, r4 +/* 8004BF60 00048EC0 3B C1 00 14 */ addi r30, r1, 0x14 +/* 8004BF64 00048EC4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8004BF68 00048EC8 83 E3 08 10 */ lwz r31, 0x810(r3) +/* 8004BF6C 00048ECC AB BF 20 08 */ lha r29, 0x2008(r31) +/* 8004BF70 00048ED0 48 00 00 84 */ b lbl_8004BFF4 +lbl_8004BF74: +/* 8004BF74 00048ED4 7F E3 FB 78 */ mr r3, r31 +/* 8004BF78 00048ED8 7F A4 EB 78 */ mr r4, r29 +/* 8004BF7C 00048EDC 4B FC 3D 99 */ bl __vc__11CObjectListFi +/* 8004BF80 00048EE0 7C 60 1B 78 */ mr r0, r3 +/* 8004BF84 00048EE4 38 61 00 08 */ addi r3, r1, 8 +/* 8004BF88 00048EE8 7C 04 03 78 */ mr r4, r0 +/* 8004BF8C 00048EEC 48 05 C8 61 */ bl "__ct__34TCastToPtr<20CScriptRoomAcoustics>FP7CEntity" +/* 8004BF90 00048EF0 80 83 00 04 */ lwz r4, 4(r3) +/* 8004BF94 00048EF4 28 04 00 00 */ cmplwi r4, 0 +/* 8004BF98 00048EF8 41 82 00 40 */ beq lbl_8004BFD8 +/* 8004BF9C 00048EFC 80 64 00 04 */ lwz r3, 4(r4) +/* 8004BFA0 00048F00 80 1C 00 00 */ lwz r0, 0(r28) +/* 8004BFA4 00048F04 7C 03 00 00 */ cmpw r3, r0 +/* 8004BFA8 00048F08 40 82 00 30 */ bne lbl_8004BFD8 +/* 8004BFAC 00048F0C 88 04 00 30 */ lbz r0, 0x30(r4) +/* 8004BFB0 00048F10 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004BFB4 00048F14 41 82 00 24 */ beq lbl_8004BFD8 +/* 8004BFB8 00048F18 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8004BFBC 00048F1C 54 00 10 3A */ slwi r0, r0, 2 +/* 8004BFC0 00048F20 7C 7E 02 15 */ add. r3, r30, r0 +/* 8004BFC4 00048F24 41 82 00 08 */ beq lbl_8004BFCC +/* 8004BFC8 00048F28 90 83 00 00 */ stw r4, 0(r3) +lbl_8004BFCC: +/* 8004BFCC 00048F2C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8004BFD0 00048F30 38 03 00 01 */ addi r0, r3, 1 +/* 8004BFD4 00048F34 90 01 00 10 */ stw r0, 0x10(r1) +lbl_8004BFD8: +/* 8004BFD8 00048F38 2C 1D FF FF */ cmpwi r29, -1 +/* 8004BFDC 00048F3C 41 82 00 14 */ beq lbl_8004BFF0 +/* 8004BFE0 00048F40 57 A3 18 38 */ slwi r3, r29, 3 +/* 8004BFE4 00048F44 38 03 00 08 */ addi r0, r3, 8 +/* 8004BFE8 00048F48 7F BF 02 AE */ lhax r29, r31, r0 +/* 8004BFEC 00048F4C 48 00 00 08 */ b lbl_8004BFF4 +lbl_8004BFF0: +/* 8004BFF0 00048F50 3B A0 FF FF */ li r29, -1 +lbl_8004BFF4: +/* 8004BFF4 00048F54 2C 1D FF FF */ cmpwi r29, -1 +/* 8004BFF8 00048F58 41 82 00 10 */ beq lbl_8004C008 +/* 8004BFFC 00048F5C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8004C000 00048F60 2C 00 00 0A */ cmpwi r0, 0xa +/* 8004C004 00048F64 41 80 FF 70 */ blt lbl_8004BF74 +lbl_8004C008: +/* 8004C008 00048F68 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8004C00C 00048F6C 2C 1C 00 00 */ cmpwi r28, 0 +/* 8004C010 00048F70 40 81 00 50 */ ble lbl_8004C060 +/* 8004C014 00048F74 80 7B 09 00 */ lwz r3, 0x900(r27) +/* 8004C018 00048F78 48 2C 64 C5 */ bl Float__9CRandom16Fv +/* 8004C01C 00048F7C 6F 83 80 00 */ xoris r3, r28, 0x8000 +/* 8004C020 00048F80 3C 00 43 30 */ lis r0, 0x4330 +/* 8004C024 00048F84 90 61 00 44 */ stw r3, 0x44(r1) +/* 8004C028 00048F88 C8 62 85 A8 */ lfd f3, lbl_805AA2C8@sda21(r2) +/* 8004C02C 00048F8C 90 01 00 40 */ stw r0, 0x40(r1) +/* 8004C030 00048F90 C0 02 86 2C */ lfs f0, lbl_805AA34C@sda21(r2) +/* 8004C034 00048F94 C8 41 00 40 */ lfd f2, 0x40(r1) +/* 8004C038 00048F98 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8004C03C 00048F9C EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8004C040 00048FA0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8004C044 00048FA4 FC 00 00 1E */ fctiwz f0, f0 +/* 8004C048 00048FA8 D8 01 00 48 */ stfd f0, 0x48(r1) +/* 8004C04C 00048FAC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8004C050 00048FB0 54 00 10 3A */ slwi r0, r0, 2 +/* 8004C054 00048FB4 7C 7E 00 2E */ lwzx r3, r30, r0 +/* 8004C058 00048FB8 48 15 1D 3D */ bl EnableAuxCallbacks__20CScriptRoomAcousticsFv +/* 8004C05C 00048FBC 48 00 00 08 */ b lbl_8004C064 +lbl_8004C060: +/* 8004C060 00048FC0 48 15 1D 05 */ bl DisableAuxCallbacks__20CScriptRoomAcousticsFv +lbl_8004C064: +/* 8004C064 00048FC4 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8004C068 00048FC8 38 60 00 00 */ li r3, 0 +/* 8004C06C 00048FCC 2C 05 00 00 */ cmpwi r5, 0 +/* 8004C070 00048FD0 40 81 00 40 */ ble lbl_8004C0B0 +/* 8004C074 00048FD4 2C 05 00 08 */ cmpwi r5, 8 +/* 8004C078 00048FD8 38 85 FF F8 */ addi r4, r5, -8 +/* 8004C07C 00048FDC 40 81 00 20 */ ble lbl_8004C09C +/* 8004C080 00048FE0 38 04 00 07 */ addi r0, r4, 7 +/* 8004C084 00048FE4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004C088 00048FE8 7C 09 03 A6 */ mtctr r0 +/* 8004C08C 00048FEC 2C 04 00 00 */ cmpwi r4, 0 +/* 8004C090 00048FF0 40 81 00 0C */ ble lbl_8004C09C +lbl_8004C094: +/* 8004C094 00048FF4 38 63 00 08 */ addi r3, r3, 8 +/* 8004C098 00048FF8 42 00 FF FC */ bdnz lbl_8004C094 +lbl_8004C09C: +/* 8004C09C 00048FFC 7C 03 28 50 */ subf r0, r3, r5 +/* 8004C0A0 00049000 7C 09 03 A6 */ mtctr r0 +/* 8004C0A4 00049004 7C 03 28 00 */ cmpw r3, r5 +/* 8004C0A8 00049008 40 80 00 08 */ bge lbl_8004C0B0 +lbl_8004C0AC: +/* 8004C0AC 0004900C 42 00 00 00 */ bdnz lbl_8004C0AC +lbl_8004C0B0: +/* 8004C0B0 00049010 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 8004C0B4 00049014 38 00 00 00 */ li r0, 0 +/* 8004C0B8 00049018 90 01 00 10 */ stw r0, 0x10(r1) +/* 8004C0BC 0004901C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8004C0C0 00049020 7C 08 03 A6 */ mtlr r0 +/* 8004C0C4 00049024 38 21 00 70 */ addi r1, r1, 0x70 +/* 8004C0C8 00049028 4E 80 00 20 */ blr + +.global SetCurrentAreaId__13CStateManagerF7TAreaId +SetCurrentAreaId__13CStateManagerF7TAreaId: +/* 8004C0CC 0004902C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004C0D0 00049030 7C 08 02 A6 */ mflr r0 +/* 8004C0D4 00049034 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004C0D8 00049038 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8004C0DC 0004903C 7C 7F 1B 78 */ mr r31, r3 +/* 8004C0E0 00049040 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004C0E4 00049044 7C 9E 23 78 */ mr r30, r4 +/* 8004C0E8 00049048 80 83 08 CC */ lwz r4, 0x8cc(r3) +/* 8004C0EC 0004904C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8004C0F0 00049050 7C 04 00 00 */ cmpw r4, r0 +/* 8004C0F4 00049054 41 82 00 20 */ beq lbl_8004C114 +/* 8004C0F8 00049058 90 9F 08 D0 */ stw r4, 0x8d0(r31) +/* 8004C0FC 0004905C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8004C100 00049060 80 1E 00 00 */ lwz r0, 0(r30) +/* 8004C104 00049064 90 01 00 10 */ stw r0, 0x10(r1) +/* 8004C108 00049068 4B FF FE 3D */ bl UpdateRoomAcoustics__13CStateManagerF7TAreaId +/* 8004C10C 0004906C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8004C110 00049070 90 1F 08 CC */ stw r0, 0x8cc(r31) +lbl_8004C114: +/* 8004C114 00049074 80 7E 00 00 */ lwz r3, 0(r30) +/* 8004C118 00049078 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8004C11C 0004907C 7C 03 00 00 */ cmpw r3, r0 +/* 8004C120 00049080 41 82 00 5C */ beq lbl_8004C17C +/* 8004C124 00049084 90 61 00 0C */ stw r3, 0xc(r1) +/* 8004C128 00049088 38 81 00 0C */ addi r4, r1, 0xc +/* 8004C12C 0004908C 80 7F 08 C0 */ lwz r3, 0x8c0(r31) +/* 8004C130 00049090 80 63 00 00 */ lwz r3, 0(r3) +/* 8004C134 00049094 48 11 BC 4D */ bl IsAreaVisited__13CMapWorldInfoCF7TAreaId +/* 8004C138 00049098 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004C13C 0004909C 40 82 00 40 */ bne lbl_8004C17C +/* 8004C140 000490A0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8004C144 000490A4 38 81 00 08 */ addi r4, r1, 8 +/* 8004C148 000490A8 38 A0 00 01 */ li r5, 1 +/* 8004C14C 000490AC 90 01 00 08 */ stw r0, 8(r1) +/* 8004C150 000490B0 80 7F 08 C0 */ lwz r3, 0x8c0(r31) +/* 8004C154 000490B4 80 63 00 00 */ lwz r3, 0(r3) +/* 8004C158 000490B8 48 11 C4 61 */ bl SetAreaVisited__13CMapWorldInfoF7TAreaIdb +/* 8004C15C 000490BC 80 7F 08 C0 */ lwz r3, 0x8c0(r31) +/* 8004C160 000490C0 83 DF 08 50 */ lwz r30, 0x850(r31) +/* 8004C164 000490C4 83 E3 00 00 */ lwz r31, 0(r3) +/* 8004C168 000490C8 7F C3 F3 78 */ mr r3, r30 +/* 8004C16C 000490CC 48 00 B5 31 */ bl GetMapWorld__6CWorldCFv +/* 8004C170 000490D0 7F E4 FB 78 */ mr r4, r31 +/* 8004C174 000490D4 7F C5 F3 78 */ mr r5, r30 +/* 8004C178 000490D8 48 05 36 E5 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld +lbl_8004C17C: +/* 8004C17C 000490DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004C180 000490E0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004C184 000490E4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004C188 000490E8 7C 08 03 A6 */ mtlr r0 +/* 8004C18C 000490EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004C190 000490F0 4E 80 00 20 */ blr + +.global BringOutYourDead__13CStateManagerFv +BringOutYourDead__13CStateManagerFv: +/* 8004C194 000490F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8004C198 000490F8 7C 08 02 A6 */ mflr r0 +/* 8004C19C 000490FC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8004C1A0 00049100 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8004C1A4 00049104 7C 7B 1B 78 */ mr r27, r3 +/* 8004C1A8 00049108 83 C3 08 58 */ lwz r30, 0x858(r3) +/* 8004C1AC 0004910C 48 00 00 84 */ b lbl_8004C230 +lbl_8004C1B0: +/* 8004C1B0 00049110 3B FE 00 08 */ addi r31, r30, 8 +/* 8004C1B4 00049114 3B BF 00 04 */ addi r29, r31, 4 +/* 8004C1B8 00049118 48 00 00 5C */ b lbl_8004C214 +lbl_8004C1BC: +/* 8004C1BC 0004911C A0 1D 00 00 */ lhz r0, 0(r29) +/* 8004C1C0 00049120 38 81 00 0C */ addi r4, r1, 0xc +/* 8004C1C4 00049124 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004C1C8 00049128 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8004C1CC 0004912C 80 7B 08 10 */ lwz r3, 0x810(r27) +/* 8004C1D0 00049130 4B FC 3B CD */ bl GetValidObjectById__11CObjectListF9TUniqueId +/* 8004C1D4 00049134 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8004C1D8 00049138 7C 7C 1B 78 */ mr r28, r3 +/* 8004C1DC 0004913C 7F 63 DB 78 */ mr r3, r27 +/* 8004C1E0 00049140 38 81 00 08 */ addi r4, r1, 8 +/* 8004C1E4 00049144 B0 01 00 08 */ sth r0, 8(r1) +/* 8004C1E8 00049148 4B FF FA F9 */ bl RemoveObject__13CStateManagerF9TUniqueId +/* 8004C1EC 0004914C 28 1C 00 00 */ cmplwi r28, 0 +/* 8004C1F0 00049150 41 82 00 20 */ beq lbl_8004C210 +/* 8004C1F4 00049154 41 82 00 1C */ beq lbl_8004C210 +/* 8004C1F8 00049158 7F 83 E3 78 */ mr r3, r28 +/* 8004C1FC 0004915C 38 80 00 01 */ li r4, 1 +/* 8004C200 00049160 81 9C 00 00 */ lwz r12, 0(r28) +/* 8004C204 00049164 81 8C 00 08 */ lwz r12, 8(r12) +/* 8004C208 00049168 7D 89 03 A6 */ mtctr r12 +/* 8004C20C 0004916C 4E 80 04 21 */ bctrl +lbl_8004C210: +/* 8004C210 00049170 3B BD 00 02 */ addi r29, r29, 2 +lbl_8004C214: +/* 8004C214 00049174 80 1F 00 00 */ lwz r0, 0(r31) +/* 8004C218 00049178 54 00 08 3C */ slwi r0, r0, 1 +/* 8004C21C 0004917C 7C 7F 02 14 */ add r3, r31, r0 +/* 8004C220 00049180 38 03 00 04 */ addi r0, r3, 4 +/* 8004C224 00049184 7C 1D 00 40 */ cmplw r29, r0 +/* 8004C228 00049188 40 82 FF 94 */ bne lbl_8004C1BC +/* 8004C22C 0004918C 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8004C230: +/* 8004C230 00049190 83 FB 08 5C */ lwz r31, 0x85c(r27) +/* 8004C234 00049194 7C 1E F8 40 */ cmplw r30, r31 +/* 8004C238 00049198 40 82 FF 78 */ bne lbl_8004C1B0 +/* 8004C23C 0004919C 80 9B 08 58 */ lwz r4, 0x858(r27) +/* 8004C240 000491A0 48 00 00 10 */ b lbl_8004C250 +lbl_8004C244: +/* 8004C244 000491A4 38 7B 08 54 */ addi r3, r27, 0x854 +/* 8004C248 000491A8 48 00 43 65 */ bl sub_800505ac +/* 8004C24C 000491AC 7C 64 1B 78 */ mr r4, r3 +lbl_8004C250: +/* 8004C250 000491B0 7C 04 F8 40 */ cmplw r4, r31 +/* 8004C254 000491B4 40 82 FF F0 */ bne lbl_8004C244 +/* 8004C258 000491B8 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8004C25C 000491BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8004C260 000491C0 7C 08 03 A6 */ mtlr r0 +/* 8004C264 000491C4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8004C268 000491C8 4E 80 00 20 */ blr + +.global FreeScriptObject__13CStateManagerF9TUniqueId +FreeScriptObject__13CStateManagerF9TUniqueId: +/* 8004C26C 000491CC 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8004C270 000491D0 7C 08 02 A6 */ mflr r0 +/* 8004C274 000491D4 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8004C278 000491D8 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8004C27C 000491DC 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8004C280 000491E0 7C 9E 23 78 */ mr r30, r4 +/* 8004C284 000491E4 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8004C288 000491E8 7C 7D 1B 78 */ mr r29, r3 +/* 8004C28C 000491EC A0 04 00 00 */ lhz r0, 0(r4) +/* 8004C290 000491F0 38 81 00 0C */ addi r4, r1, 0xc +/* 8004C294 000491F4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004C298 000491F8 48 00 02 DD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8004C29C 000491FC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8004C2A0 00049200 41 82 01 B0 */ beq lbl_8004C450 +/* 8004C2A4 00049204 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8004C2A8 00049208 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8004C2AC 0004920C 40 82 01 A4 */ bne lbl_8004C450 +/* 8004C2B0 00049210 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8004C2B4 00049214 38 60 00 01 */ li r3, 1 +/* 8004C2B8 00049218 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8004C2BC 0004921C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 8004C2C0 00049220 80 1D 08 68 */ lwz r0, 0x868(r29) +/* 8004C2C4 00049224 2C 00 00 00 */ cmpwi r0, 0 +/* 8004C2C8 00049228 40 82 00 70 */ bne lbl_8004C338 +/* 8004C2CC 0004922C 38 00 00 00 */ li r0, 0 +/* 8004C2D0 00049230 38 7D 08 54 */ addi r3, r29, 0x854 +/* 8004C2D4 00049234 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8004C2D8 00049238 38 81 00 5C */ addi r4, r1, 0x5c +/* 8004C2DC 0004923C 48 00 01 91 */ bl sub_8004c46c +/* 8004C2E0 00049240 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 8004C2E4 00049244 38 60 00 00 */ li r3, 0 +/* 8004C2E8 00049248 2C 05 00 00 */ cmpwi r5, 0 +/* 8004C2EC 0004924C 40 81 00 40 */ ble lbl_8004C32C +/* 8004C2F0 00049250 2C 05 00 08 */ cmpwi r5, 8 +/* 8004C2F4 00049254 38 85 FF F8 */ addi r4, r5, -8 +/* 8004C2F8 00049258 40 81 00 20 */ ble lbl_8004C318 +/* 8004C2FC 0004925C 38 04 00 07 */ addi r0, r4, 7 +/* 8004C300 00049260 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004C304 00049264 7C 09 03 A6 */ mtctr r0 +/* 8004C308 00049268 2C 04 00 00 */ cmpwi r4, 0 +/* 8004C30C 0004926C 40 81 00 0C */ ble lbl_8004C318 +lbl_8004C310: +/* 8004C310 00049270 38 63 00 08 */ addi r3, r3, 8 +/* 8004C314 00049274 42 00 FF FC */ bdnz lbl_8004C310 +lbl_8004C318: +/* 8004C318 00049278 7C 03 28 50 */ subf r0, r3, r5 +/* 8004C31C 0004927C 7C 09 03 A6 */ mtctr r0 +/* 8004C320 00049280 7C 03 28 00 */ cmpw r3, r5 +/* 8004C324 00049284 40 80 00 08 */ bge lbl_8004C32C +lbl_8004C328: +/* 8004C328 00049288 42 00 00 00 */ bdnz lbl_8004C328 +lbl_8004C32C: +/* 8004C32C 0004928C 38 00 00 00 */ li r0, 0 +/* 8004C330 00049290 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8004C334 00049294 48 00 00 80 */ b lbl_8004C3B4 +lbl_8004C338: +/* 8004C338 00049298 80 7D 08 5C */ lwz r3, 0x85c(r29) +/* 8004C33C 0004929C 80 63 00 00 */ lwz r3, 0(r3) +/* 8004C340 000492A0 80 03 00 08 */ lwz r0, 8(r3) +/* 8004C344 000492A4 2C 00 00 20 */ cmpwi r0, 0x20 +/* 8004C348 000492A8 40 82 00 6C */ bne lbl_8004C3B4 +/* 8004C34C 000492AC 38 00 00 00 */ li r0, 0 +/* 8004C350 000492B0 38 7D 08 54 */ addi r3, r29, 0x854 +/* 8004C354 000492B4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8004C358 000492B8 38 81 00 18 */ addi r4, r1, 0x18 +/* 8004C35C 000492BC 48 00 01 11 */ bl sub_8004c46c +/* 8004C360 000492C0 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8004C364 000492C4 38 60 00 00 */ li r3, 0 +/* 8004C368 000492C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8004C36C 000492CC 40 81 00 40 */ ble lbl_8004C3AC +/* 8004C370 000492D0 2C 05 00 08 */ cmpwi r5, 8 +/* 8004C374 000492D4 38 85 FF F8 */ addi r4, r5, -8 +/* 8004C378 000492D8 40 81 00 20 */ ble lbl_8004C398 +/* 8004C37C 000492DC 38 04 00 07 */ addi r0, r4, 7 +/* 8004C380 000492E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004C384 000492E4 7C 09 03 A6 */ mtctr r0 +/* 8004C388 000492E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8004C38C 000492EC 40 81 00 0C */ ble lbl_8004C398 +lbl_8004C390: +/* 8004C390 000492F0 38 63 00 08 */ addi r3, r3, 8 +/* 8004C394 000492F4 42 00 FF FC */ bdnz lbl_8004C390 +lbl_8004C398: +/* 8004C398 000492F8 7C 03 28 50 */ subf r0, r3, r5 +/* 8004C39C 000492FC 7C 09 03 A6 */ mtctr r0 +/* 8004C3A0 00049300 7C 03 28 00 */ cmpw r3, r5 +/* 8004C3A4 00049304 40 80 00 08 */ bge lbl_8004C3AC +lbl_8004C3A8: +/* 8004C3A8 00049308 42 00 00 00 */ bdnz lbl_8004C3A8 +lbl_8004C3AC: +/* 8004C3AC 0004930C 38 00 00 00 */ li r0, 0 +/* 8004C3B0 00049310 90 01 00 18 */ stw r0, 0x18(r1) +lbl_8004C3B4: +/* 8004C3B4 00049314 80 7D 08 5C */ lwz r3, 0x85c(r29) +/* 8004C3B8 00049318 80 63 00 00 */ lwz r3, 0(r3) +/* 8004C3BC 0004931C 38 E3 00 08 */ addi r7, r3, 8 +/* 8004C3C0 00049320 80 03 00 08 */ lwz r0, 8(r3) +/* 8004C3C4 00049324 54 00 08 3C */ slwi r0, r0, 1 +/* 8004C3C8 00049328 7C 67 02 14 */ add r3, r7, r0 +/* 8004C3CC 0004932C 34 63 00 04 */ addic. r3, r3, 4 +/* 8004C3D0 00049330 41 82 00 0C */ beq lbl_8004C3DC +/* 8004C3D4 00049334 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8004C3D8 00049338 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004C3DC: +/* 8004C3DC 0004933C 80 87 00 00 */ lwz r4, 0(r7) +/* 8004C3E0 00049340 7F E3 FB 78 */ mr r3, r31 +/* 8004C3E4 00049344 7F A6 EB 78 */ mr r6, r29 +/* 8004C3E8 00049348 38 A1 00 08 */ addi r5, r1, 8 +/* 8004C3EC 0004934C 38 04 00 01 */ addi r0, r4, 1 +/* 8004C3F0 00049350 38 80 00 22 */ li r4, 0x22 +/* 8004C3F4 00049354 90 07 00 00 */ stw r0, 0(r7) +/* 8004C3F8 00049358 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004C3FC 0004935C B0 01 00 08 */ sth r0, 8(r1) +/* 8004C400 00049360 81 9F 00 00 */ lwz r12, 0(r31) +/* 8004C404 00049364 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8004C408 00049368 7D 89 03 A6 */ mtctr r12 +/* 8004C40C 0004936C 4E 80 04 21 */ bctrl +/* 8004C410 00049370 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8004C414 00049374 38 60 00 01 */ li r3, 1 +/* 8004C418 00049378 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8004C41C 0004937C 7F E4 FB 78 */ mr r4, r31 +/* 8004C420 00049380 98 1F 00 30 */ stb r0, 0x30(r31) +/* 8004C424 00049384 38 61 00 10 */ addi r3, r1, 0x10 +/* 8004C428 00049388 48 06 38 69 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8004C42C 0004938C 83 C3 00 04 */ lwz r30, 4(r3) +/* 8004C430 00049390 28 1E 00 00 */ cmplwi r30, 0 +/* 8004C434 00049394 41 82 00 1C */ beq lbl_8004C450 +/* 8004C438 00049398 80 7D 08 74 */ lwz r3, 0x874(r29) +/* 8004C43C 0004939C 7F C4 F3 78 */ mr r4, r30 +/* 8004C440 000493A0 48 0F DA ED */ bl Remove__Q22SL18CSortedListManagerFPC6CActor +/* 8004C444 000493A4 7F C3 F3 78 */ mr r3, r30 +/* 8004C448 000493A8 38 80 00 00 */ li r4, 0 +/* 8004C44C 000493AC 48 00 7F 95 */ bl SetUseInSortedLists__6CActorFb +lbl_8004C450: +/* 8004C450 000493B0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8004C454 000493B4 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8004C458 000493B8 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8004C45C 000493BC 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8004C460 000493C0 7C 08 03 A6 */ mtlr r0 +/* 8004C464 000493C4 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8004C468 000493C8 4E 80 00 20 */ blr + +.global sub_8004c46c +sub_8004c46c: +/* 8004C46C 000493CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004C470 000493D0 7C 08 02 A6 */ mflr r0 +/* 8004C474 000493D4 7C 85 23 78 */ mr r5, r4 +/* 8004C478 000493D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004C47C 000493DC 80 83 00 08 */ lwz r4, 8(r3) +/* 8004C480 000493E0 48 00 00 15 */ bl sub_8004c494 +/* 8004C484 000493E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004C488 000493E8 7C 08 03 A6 */ mtlr r0 +/* 8004C48C 000493EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004C490 000493F0 4E 80 00 20 */ blr + +.global sub_8004c494 +sub_8004c494: +/* 8004C494 000493F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004C498 000493F8 7C 08 02 A6 */ mflr r0 +/* 8004C49C 000493FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004C4A0 00049400 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8004C4A4 00049404 7C 7F 1B 78 */ mr r31, r3 +/* 8004C4A8 00049408 38 60 00 4C */ li r3, 0x4c +/* 8004C4AC 0004940C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004C4B0 00049410 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8004C4B4 00049414 7C BD 2B 78 */ mr r29, r5 +/* 8004C4B8 00049418 38 A0 00 00 */ li r5, 0 +/* 8004C4BC 0004941C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8004C4C0 00049420 7C 9C 23 78 */ mr r28, r4 +/* 8004C4C4 00049424 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004C4C8 00049428 83 DC 00 00 */ lwz r30, 0(r28) +/* 8004C4CC 0004942C 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004C4D0 00049430 48 2C 93 49 */ bl __nwa__FUlPCcPCc +/* 8004C4D4 00049434 28 03 00 00 */ cmplwi r3, 0 +/* 8004C4D8 00049438 41 82 00 0C */ beq lbl_8004C4E4 +/* 8004C4DC 0004943C 93 C3 00 00 */ stw r30, 0(r3) +/* 8004C4E0 00049440 93 83 00 04 */ stw r28, 4(r3) +lbl_8004C4E4: +/* 8004C4E4 00049444 34 83 00 08 */ addic. r4, r3, 8 +/* 8004C4E8 00049448 41 82 00 40 */ beq lbl_8004C528 +/* 8004C4EC 0004944C 80 1D 00 00 */ lwz r0, 0(r29) +/* 8004C4F0 00049450 38 DD 00 04 */ addi r6, r29, 4 +/* 8004C4F4 00049454 38 A4 00 04 */ addi r5, r4, 4 +/* 8004C4F8 00049458 90 04 00 00 */ stw r0, 0(r4) +/* 8004C4FC 0004945C 80 04 00 00 */ lwz r0, 0(r4) +/* 8004C500 00049460 7C 09 03 A6 */ mtctr r0 +/* 8004C504 00049464 2C 00 00 00 */ cmpwi r0, 0 +/* 8004C508 00049468 40 81 00 20 */ ble lbl_8004C528 +lbl_8004C50C: +/* 8004C50C 0004946C 28 05 00 00 */ cmplwi r5, 0 +/* 8004C510 00049470 41 82 00 0C */ beq lbl_8004C51C +/* 8004C514 00049474 A0 06 00 00 */ lhz r0, 0(r6) +/* 8004C518 00049478 B0 05 00 00 */ sth r0, 0(r5) +lbl_8004C51C: +/* 8004C51C 0004947C 38 A5 00 02 */ addi r5, r5, 2 +/* 8004C520 00049480 38 C6 00 02 */ addi r6, r6, 2 +/* 8004C524 00049484 42 00 FF E8 */ bdnz lbl_8004C50C +lbl_8004C528: +/* 8004C528 00049488 80 1F 00 04 */ lwz r0, 4(r31) +/* 8004C52C 0004948C 7C 1C 00 40 */ cmplw r28, r0 +/* 8004C530 00049490 40 82 00 08 */ bne lbl_8004C538 +/* 8004C534 00049494 90 7F 00 04 */ stw r3, 4(r31) +lbl_8004C538: +/* 8004C538 00049498 80 83 00 00 */ lwz r4, 0(r3) +/* 8004C53C 0004949C 90 64 00 04 */ stw r3, 4(r4) +/* 8004C540 000494A0 80 83 00 04 */ lwz r4, 4(r3) +/* 8004C544 000494A4 90 64 00 00 */ stw r3, 0(r4) +/* 8004C548 000494A8 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 8004C54C 000494AC 38 04 00 01 */ addi r0, r4, 1 +/* 8004C550 000494B0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8004C554 000494B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004C558 000494B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004C55C 000494BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004C560 000494C0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8004C564 000494C4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8004C568 000494C8 7C 08 03 A6 */ mtlr r0 +/* 8004C56C 000494CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004C570 000494D0 4E 80 00 20 */ blr + +.global ObjectById__13CStateManagerF9TUniqueId +ObjectById__13CStateManagerF9TUniqueId: +/* 8004C574 000494D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004C578 000494D8 7C 08 02 A6 */ mflr r0 +/* 8004C57C 000494DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004C580 000494E0 A0 04 00 00 */ lhz r0, 0(r4) +/* 8004C584 000494E4 38 81 00 08 */ addi r4, r1, 8 +/* 8004C588 000494E8 B0 01 00 08 */ sth r0, 8(r1) +/* 8004C58C 000494EC 80 63 08 10 */ lwz r3, 0x810(r3) +/* 8004C590 000494F0 4B FC 38 B9 */ bl GetObjectById__11CObjectListF9TUniqueId +/* 8004C594 000494F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004C598 000494F8 7C 08 03 A6 */ mtlr r0 +/* 8004C59C 000494FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004C5A0 00049500 4E 80 00 20 */ blr + +.global GetObjectById__13CStateManagerCF9TUniqueId +GetObjectById__13CStateManagerCF9TUniqueId: +/* 8004C5A4 00049504 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004C5A8 00049508 7C 08 02 A6 */ mflr r0 +/* 8004C5AC 0004950C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004C5B0 00049510 A0 04 00 00 */ lhz r0, 0(r4) +/* 8004C5B4 00049514 38 81 00 08 */ addi r4, r1, 8 +/* 8004C5B8 00049518 80 63 08 10 */ lwz r3, 0x810(r3) +/* 8004C5BC 0004951C B0 01 00 08 */ sth r0, 8(r1) +/* 8004C5C0 00049520 4B FC 38 2D */ bl GetObjectById__11CObjectListCF9TUniqueId +/* 8004C5C4 00049524 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004C5C8 00049528 7C 08 03 A6 */ mtlr r0 +/* 8004C5CC 0004952C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004C5D0 00049530 4E 80 00 20 */ blr + +.global AreaUnloaded__13CStateManagerF7TAreaId +AreaUnloaded__13CStateManagerF7TAreaId: +/* 8004C5D4 00049534 4E 80 00 20 */ blr + +.global PrepareAreaUnload__13CStateManagerF7TAreaId +PrepareAreaUnload__13CStateManagerF7TAreaId: +/* 8004C5D8 00049538 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8004C5DC 0004953C 7C 08 02 A6 */ mflr r0 +/* 8004C5E0 00049540 90 01 00 34 */ stw r0, 0x34(r1) +/* 8004C5E4 00049544 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8004C5E8 00049548 7C 7B 1B 78 */ mr r27, r3 +/* 8004C5EC 0004954C 7C 9C 23 78 */ mr r28, r4 +/* 8004C5F0 00049550 83 E3 08 10 */ lwz r31, 0x810(r3) +/* 8004C5F4 00049554 AB DF 20 08 */ lha r30, 0x2008(r31) +/* 8004C5F8 00049558 48 00 00 70 */ b lbl_8004C668 +lbl_8004C5FC: +/* 8004C5FC 0004955C 7F E3 FB 78 */ mr r3, r31 +/* 8004C600 00049560 7F C4 F3 78 */ mr r4, r30 +/* 8004C604 00049564 4B FC 37 11 */ bl __vc__11CObjectListFi +/* 8004C608 00049568 7C 64 1B 78 */ mr r4, r3 +/* 8004C60C 0004956C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8004C610 00049570 48 05 DA E1 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 8004C614 00049574 83 A3 00 04 */ lwz r29, 4(r3) +/* 8004C618 00049578 28 1D 00 00 */ cmplwi r29, 0 +/* 8004C61C 0004957C 41 82 00 30 */ beq lbl_8004C64C +/* 8004C620 00049580 80 1C 00 00 */ lwz r0, 0(r28) +/* 8004C624 00049584 7F A3 EB 78 */ mr r3, r29 +/* 8004C628 00049588 7F 64 DB 78 */ mr r4, r27 +/* 8004C62C 0004958C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8004C630 00049590 90 01 00 0C */ stw r0, 0xc(r1) +/* 8004C634 00049594 48 03 1B 91 */ bl IsConnectedToArea__11CScriptDoorCFRC13CStateManager7TAreaId +/* 8004C638 00049598 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004C63C 0004959C 41 82 00 10 */ beq lbl_8004C64C +/* 8004C640 000495A0 7F A3 EB 78 */ mr r3, r29 +/* 8004C644 000495A4 7F 64 DB 78 */ mr r4, r27 +/* 8004C648 000495A8 48 03 1A 75 */ bl ForceClosed__11CScriptDoorFR13CStateManager +lbl_8004C64C: +/* 8004C64C 000495AC 2C 1E FF FF */ cmpwi r30, -1 +/* 8004C650 000495B0 41 82 00 14 */ beq lbl_8004C664 +/* 8004C654 000495B4 57 C3 18 38 */ slwi r3, r30, 3 +/* 8004C658 000495B8 38 03 00 08 */ addi r0, r3, 8 +/* 8004C65C 000495BC 7F DF 02 AE */ lhax r30, r31, r0 +/* 8004C660 000495C0 48 00 00 08 */ b lbl_8004C668 +lbl_8004C664: +/* 8004C664 000495C4 3B C0 FF FF */ li r30, -1 +lbl_8004C668: +/* 8004C668 000495C8 2C 1E FF FF */ cmpwi r30, -1 +/* 8004C66C 000495CC 40 82 FF 90 */ bne lbl_8004C5FC +/* 8004C670 000495D0 80 1C 00 00 */ lwz r0, 0(r28) +/* 8004C674 000495D4 7F 63 DB 78 */ mr r3, r27 +/* 8004C678 000495D8 38 81 00 08 */ addi r4, r1, 8 +/* 8004C67C 000495DC 90 01 00 08 */ stw r0, 8(r1) +/* 8004C680 000495E0 4B FF B5 B1 */ bl FreeScriptObjects__13CStateManagerF7TAreaId +/* 8004C684 000495E4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8004C688 000495E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8004C68C 000495EC 7C 08 03 A6 */ mtlr r0 +/* 8004C690 000495F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8004C694 000495F4 4E 80 00 20 */ blr + +.global AreaLoaded__13CStateManagerF7TAreaId +AreaLoaded__13CStateManagerF7TAreaId: +/* 8004C698 000495F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004C69C 000495FC 7C 08 02 A6 */ mflr r0 +/* 8004C6A0 00049600 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004C6A4 00049604 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004C6A8 00049608 7C 7F 1B 78 */ mr r31, r3 +/* 8004C6AC 0004960C 7F E5 FB 78 */ mr r5, r31 +/* 8004C6B0 00049610 80 63 08 BC */ lwz r3, 0x8bc(r3) +/* 8004C6B4 00049614 80 63 00 00 */ lwz r3, 0(r3) +/* 8004C6B8 00049618 48 09 54 B1 */ bl SendMsgs__14CScriptMailboxFRC7TAreaIdR13CStateManager +/* 8004C6BC 0004961C 80 7F 08 80 */ lwz r3, 0x880(r31) +/* 8004C6C0 00049620 48 1C 37 55 */ bl AreaLoaded__13CEnvFxManagerFv +/* 8004C6C4 00049624 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004C6C8 00049628 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004C6CC 0004962C 7C 08 03 A6 */ mtlr r0 +/* 8004C6D0 00049630 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004C6D4 00049634 4E 80 00 20 */ blr + +.global "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" +"BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor": +/* 8004C6D8 00049638 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004C6DC 0004963C 7C 08 02 A6 */ mflr r0 +/* 8004C6E0 00049640 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004C6E4 00049644 80 63 08 74 */ lwz r3, 0x874(r3) +/* 8004C6E8 00049648 48 0F CE ED */ bl "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" +/* 8004C6EC 0004964C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004C6F0 00049650 7C 08 03 A6 */ mtlr r0 +/* 8004C6F4 00049654 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004C6F8 00049658 4E 80 00 20 */ blr + +.global "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" +"BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox": +/* 8004C6FC 0004965C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004C700 00049660 7C 08 02 A6 */ mflr r0 +/* 8004C704 00049664 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004C708 00049668 80 63 08 74 */ lwz r3, 0x874(r3) +/* 8004C70C 0004966C 48 0F D0 25 */ bl "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" +/* 8004C710 00049670 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004C714 00049674 7C 08 03 A6 */ mtlr r0 +/* 8004C718 00049678 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004C71C 0004967C 4E 80 00 20 */ blr + +.global "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +"BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor": +/* 8004C720 00049680 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004C724 00049684 7C 08 02 A6 */ mflr r0 +/* 8004C728 00049688 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004C72C 0004968C 80 63 08 74 */ lwz r3, 0x874(r3) +/* 8004C730 00049690 48 0F D0 DD */ bl "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8004C734 00049694 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004C738 00049698 7C 08 03 A6 */ mtlr r0 +/* 8004C73C 0004969C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004C740 000496A0 4E 80 00 20 */ blr + +.global UpdateActorInSortedLists__13CStateManagerFR6CActor +UpdateActorInSortedLists__13CStateManagerFR6CActor: +/* 8004C744 000496A4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8004C748 000496A8 7C 08 02 A6 */ mflr r0 +/* 8004C74C 000496AC 90 01 00 54 */ stw r0, 0x54(r1) +/* 8004C750 000496B0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8004C754 000496B4 7C 9F 23 78 */ mr r31, r4 +/* 8004C758 000496B8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8004C75C 000496BC 7C 7E 1B 78 */ mr r30, r3 +/* 8004C760 000496C0 7F E3 FB 78 */ mr r3, r31 +/* 8004C764 000496C4 48 00 7C 8D */ bl GetUseInSortedLists__6CActorCFv +/* 8004C768 000496C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004C76C 000496CC 41 82 01 0C */ beq lbl_8004C878 +/* 8004C770 000496D0 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8004C774 000496D4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8004C778 000496D8 41 82 01 00 */ beq lbl_8004C878 +/* 8004C77C 000496DC 7F C4 F3 78 */ mr r4, r30 +/* 8004C780 000496E0 7F E5 FB 78 */ mr r5, r31 +/* 8004C784 000496E4 38 61 00 08 */ addi r3, r1, 8 +/* 8004C788 000496E8 48 00 01 99 */ bl CalculateObjectBounds__13CStateManagerFRC6CActor +/* 8004C78C 000496EC 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8004C790 000496F0 28 00 00 00 */ cmplwi r0, 0 +/* 8004C794 000496F4 98 01 00 3C */ stb r0, 0x3c(r1) +/* 8004C798 000496F8 41 82 00 3C */ beq lbl_8004C7D4 +/* 8004C79C 000496FC 34 61 00 24 */ addic. r3, r1, 0x24 +/* 8004C7A0 00049700 41 82 00 34 */ beq lbl_8004C7D4 +/* 8004C7A4 00049704 C0 01 00 08 */ lfs f0, 8(r1) +/* 8004C7A8 00049708 D0 03 00 00 */ stfs f0, 0(r3) +/* 8004C7AC 0004970C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8004C7B0 00049710 D0 03 00 04 */ stfs f0, 4(r3) +/* 8004C7B4 00049714 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8004C7B8 00049718 D0 03 00 08 */ stfs f0, 8(r3) +/* 8004C7BC 0004971C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8004C7C0 00049720 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8004C7C4 00049724 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8004C7C8 00049728 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8004C7CC 0004972C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8004C7D0 00049730 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8004C7D4: +/* 8004C7D4 00049734 38 00 00 00 */ li r0, 0 +/* 8004C7D8 00049738 7F E4 FB 78 */ mr r4, r31 +/* 8004C7DC 0004973C 98 01 00 20 */ stb r0, 0x20(r1) +/* 8004C7E0 00049740 80 7E 08 74 */ lwz r3, 0x874(r30) +/* 8004C7E4 00049744 48 0F DD 09 */ bl ActorInLists__Q22SL18CSortedListManagerCFPC6CActor +/* 8004C7E8 00049748 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004C7EC 0004974C 88 A1 00 3C */ lbz r5, 0x3c(r1) +/* 8004C7F0 00049750 40 82 00 0C */ bne lbl_8004C7FC +/* 8004C7F4 00049754 28 05 00 00 */ cmplwi r5, 0 +/* 8004C7F8 00049758 41 82 00 78 */ beq lbl_8004C870 +lbl_8004C7FC: +/* 8004C7FC 0004975C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004C800 00049760 88 7F 00 E4 */ lbz r3, 0xe4(r31) +/* 8004C804 00049764 38 80 00 00 */ li r4, 0 +/* 8004C808 00049768 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 8004C80C 0004976C 98 7F 00 E4 */ stb r3, 0xe4(r31) +/* 8004C810 00049770 41 82 00 3C */ beq lbl_8004C84C +/* 8004C814 00049774 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8004C818 00049778 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004C81C 0004977C 41 82 00 0C */ beq lbl_8004C828 +/* 8004C820 00049780 28 05 00 00 */ cmplwi r5, 0 +/* 8004C824 00049784 40 82 00 14 */ bne lbl_8004C838 +lbl_8004C828: +/* 8004C828 00049788 80 7E 08 74 */ lwz r3, 0x874(r30) +/* 8004C82C 0004978C 7F E4 FB 78 */ mr r4, r31 +/* 8004C830 00049790 48 0F D6 FD */ bl Remove__Q22SL18CSortedListManagerFPC6CActor +/* 8004C834 00049794 48 00 00 3C */ b lbl_8004C870 +lbl_8004C838: +/* 8004C838 00049798 80 7E 08 74 */ lwz r3, 0x874(r30) +/* 8004C83C 0004979C 7F E4 FB 78 */ mr r4, r31 +/* 8004C840 000497A0 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8004C844 000497A4 48 0F D6 1D */ bl Move__Q22SL18CSortedListManagerFPC6CActorRC6CAABox +/* 8004C848 000497A8 48 00 00 28 */ b lbl_8004C870 +lbl_8004C84C: +/* 8004C84C 000497AC 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8004C850 000497B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004C854 000497B4 41 82 00 1C */ beq lbl_8004C870 +/* 8004C858 000497B8 28 05 00 00 */ cmplwi r5, 0 +/* 8004C85C 000497BC 41 82 00 14 */ beq lbl_8004C870 +/* 8004C860 000497C0 80 7E 08 74 */ lwz r3, 0x874(r30) +/* 8004C864 000497C4 7F E4 FB 78 */ mr r4, r31 +/* 8004C868 000497C8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8004C86C 000497CC 48 0F D7 79 */ bl Insert__Q22SL18CSortedListManagerFP6CActorRC6CAABox +lbl_8004C870: +/* 8004C870 000497D0 38 00 00 00 */ li r0, 0 +/* 8004C874 000497D4 98 01 00 3C */ stb r0, 0x3c(r1) +lbl_8004C878: +/* 8004C878 000497D8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8004C87C 000497DC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8004C880 000497E0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8004C884 000497E4 7C 08 03 A6 */ mtlr r0 +/* 8004C888 000497E8 38 21 00 50 */ addi r1, r1, 0x50 +/* 8004C88C 000497EC 4E 80 00 20 */ blr + +.global UpdateSortedLists__13CStateManagerFv +UpdateSortedLists__13CStateManagerFv: +/* 8004C890 000497F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004C894 000497F4 7C 08 02 A6 */ mflr r0 +/* 8004C898 000497F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004C89C 000497FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8004C8A0 00049800 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004C8A4 00049804 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8004C8A8 00049808 7C 7D 1B 78 */ mr r29, r3 +/* 8004C8AC 0004980C 80 03 08 50 */ lwz r0, 0x850(r3) +/* 8004C8B0 00049810 28 00 00 00 */ cmplwi r0, 0 +/* 8004C8B4 00049814 41 82 00 50 */ beq lbl_8004C904 +/* 8004C8B8 00049818 83 FD 08 18 */ lwz r31, 0x818(r29) +/* 8004C8BC 0004981C AB DF 20 08 */ lha r30, 0x2008(r31) +/* 8004C8C0 00049820 48 00 00 3C */ b lbl_8004C8FC +lbl_8004C8C4: +/* 8004C8C4 00049824 7F E3 FB 78 */ mr r3, r31 +/* 8004C8C8 00049828 7F C4 F3 78 */ mr r4, r30 +/* 8004C8CC 0004982C 4B FC 34 49 */ bl __vc__11CObjectListFi +/* 8004C8D0 00049830 7C 64 1B 79 */ or. r4, r3, r3 +/* 8004C8D4 00049834 41 82 00 0C */ beq lbl_8004C8E0 +/* 8004C8D8 00049838 7F A3 EB 78 */ mr r3, r29 +/* 8004C8DC 0004983C 4B FF FE 69 */ bl UpdateActorInSortedLists__13CStateManagerFR6CActor +lbl_8004C8E0: +/* 8004C8E0 00049840 2C 1E FF FF */ cmpwi r30, -1 +/* 8004C8E4 00049844 41 82 00 14 */ beq lbl_8004C8F8 +/* 8004C8E8 00049848 57 C3 18 38 */ slwi r3, r30, 3 +/* 8004C8EC 0004984C 38 03 00 08 */ addi r0, r3, 8 +/* 8004C8F0 00049850 7F DF 02 AE */ lhax r30, r31, r0 +/* 8004C8F4 00049854 48 00 00 08 */ b lbl_8004C8FC +lbl_8004C8F8: +/* 8004C8F8 00049858 3B C0 FF FF */ li r30, -1 +lbl_8004C8FC: +/* 8004C8FC 0004985C 2C 1E FF FF */ cmpwi r30, -1 +/* 8004C900 00049860 40 82 FF C4 */ bne lbl_8004C8C4 +lbl_8004C904: +/* 8004C904 00049864 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004C908 00049868 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004C90C 0004986C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004C910 00049870 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8004C914 00049874 7C 08 03 A6 */ mtlr r0 +/* 8004C918 00049878 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004C91C 0004987C 4E 80 00 20 */ blr + +.global CalculateObjectBounds__13CStateManagerFRC6CActor +CalculateObjectBounds__13CStateManagerFRC6CActor: +/* 8004C920 00049880 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8004C924 00049884 7C 08 02 A6 */ mflr r0 +/* 8004C928 00049888 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8004C92C 0004988C 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8004C930 00049890 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8004C934 00049894 7C BE 2B 78 */ mr r30, r5 +/* 8004C938 00049898 7F C4 F3 78 */ mr r4, r30 +/* 8004C93C 0004989C 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8004C940 000498A0 7C 7D 1B 78 */ mr r29, r3 +/* 8004C944 000498A4 38 61 00 08 */ addi r3, r1, 8 +/* 8004C948 000498A8 48 05 FE 09 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" +/* 8004C94C 000498AC 7F C4 F3 78 */ mr r4, r30 +/* 8004C950 000498B0 83 C3 00 04 */ lwz r30, 4(r3) +/* 8004C954 000498B4 81 84 00 00 */ lwz r12, 0(r4) +/* 8004C958 000498B8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8004C95C 000498BC 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8004C960 000498C0 7D 89 03 A6 */ mtctr r12 +/* 8004C964 000498C4 4E 80 04 21 */ bctrl +/* 8004C968 000498C8 88 01 00 58 */ lbz r0, 0x58(r1) +/* 8004C96C 000498CC 28 00 00 00 */ cmplwi r0, 0 +/* 8004C970 000498D0 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8004C974 000498D4 41 82 00 3C */ beq lbl_8004C9B0 +/* 8004C978 000498D8 34 61 00 74 */ addic. r3, r1, 0x74 +/* 8004C97C 000498DC 41 82 00 34 */ beq lbl_8004C9B0 +/* 8004C980 000498E0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8004C984 000498E4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8004C988 000498E8 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8004C98C 000498EC D0 03 00 04 */ stfs f0, 4(r3) +/* 8004C990 000498F0 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8004C994 000498F4 D0 03 00 08 */ stfs f0, 8(r3) +/* 8004C998 000498F8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8004C99C 000498FC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8004C9A0 00049900 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8004C9A4 00049904 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8004C9A8 00049908 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8004C9AC 0004990C D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8004C9B0: +/* 8004C9B0 00049910 88 01 00 8C */ lbz r0, 0x8c(r1) +/* 8004C9B4 00049914 38 60 00 00 */ li r3, 0 +/* 8004C9B8 00049918 98 61 00 58 */ stb r3, 0x58(r1) +/* 8004C9BC 0004991C 28 00 00 00 */ cmplwi r0, 0 +/* 8004C9C0 00049920 41 82 00 D0 */ beq lbl_8004CA90 +/* 8004C9C4 00049924 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8004C9C8 00049928 3B E1 00 74 */ addi r31, r1, 0x74 +/* 8004C9CC 0004992C 38 A3 67 54 */ addi r5, r3, lbl_805A6754@l +/* 8004C9D0 00049930 38 61 00 5C */ addi r3, r1, 0x5c +/* 8004C9D4 00049934 C0 A5 00 00 */ lfs f5, 0(r5) +/* 8004C9D8 00049938 7F E4 FB 78 */ mr r4, r31 +/* 8004C9DC 0004993C C0 85 00 04 */ lfs f4, 4(r5) +/* 8004C9E0 00049940 C0 65 00 08 */ lfs f3, 8(r5) +/* 8004C9E4 00049944 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 8004C9E8 00049948 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8004C9EC 0004994C C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8004C9F0 00049950 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 8004C9F4 00049954 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 8004C9F8 00049958 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 8004C9FC 0004995C D0 41 00 68 */ stfs f2, 0x68(r1) +/* 8004CA00 00049960 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 8004CA04 00049964 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8004CA08 00049968 48 2E B1 01 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8004CA0C 0004996C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8004CA10 00049970 38 9F 00 0C */ addi r4, r31, 0xc +/* 8004CA14 00049974 48 2E B0 F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8004CA18 00049978 28 1E 00 00 */ cmplwi r30, 0 +/* 8004CA1C 0004997C 41 82 00 28 */ beq lbl_8004CA44 +/* 8004CA20 00049980 7F C4 F3 78 */ mr r4, r30 +/* 8004CA24 00049984 38 61 00 28 */ addi r3, r1, 0x28 +/* 8004CA28 00049988 48 0C DF 05 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8004CA2C 0004998C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8004CA30 00049990 38 81 00 28 */ addi r4, r1, 0x28 +/* 8004CA34 00049994 48 2E B0 D5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8004CA38 00049998 38 61 00 5C */ addi r3, r1, 0x5c +/* 8004CA3C 0004999C 38 81 00 34 */ addi r4, r1, 0x34 +/* 8004CA40 000499A0 48 2E B0 C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8004CA44: +/* 8004CA44 000499A4 38 00 00 01 */ li r0, 1 +/* 8004CA48 000499A8 28 1D 00 00 */ cmplwi r29, 0 +/* 8004CA4C 000499AC 98 1D 00 18 */ stb r0, 0x18(r29) +/* 8004CA50 000499B0 41 82 00 34 */ beq lbl_8004CA84 +/* 8004CA54 000499B4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8004CA58 000499B8 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8004CA5C 000499BC C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8004CA60 000499C0 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8004CA64 000499C4 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8004CA68 000499C8 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8004CA6C 000499CC C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8004CA70 000499D0 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8004CA74 000499D4 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8004CA78 000499D8 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 8004CA7C 000499DC C0 01 00 70 */ lfs f0, 0x70(r1) +/* 8004CA80 000499E0 D0 1D 00 14 */ stfs f0, 0x14(r29) +lbl_8004CA84: +/* 8004CA84 000499E4 38 00 00 00 */ li r0, 0 +/* 8004CA88 000499E8 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8004CA8C 000499EC 48 00 00 6C */ b lbl_8004CAF8 +lbl_8004CA90: +/* 8004CA90 000499F0 28 1E 00 00 */ cmplwi r30, 0 +/* 8004CA94 000499F4 41 82 00 5C */ beq lbl_8004CAF0 +/* 8004CA98 000499F8 7F C4 F3 78 */ mr r4, r30 +/* 8004CA9C 000499FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8004CAA0 00049A00 48 0C DE 8D */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8004CAA4 00049A04 38 00 00 01 */ li r0, 1 +/* 8004CAA8 00049A08 28 1D 00 00 */ cmplwi r29, 0 +/* 8004CAAC 00049A0C 98 1D 00 18 */ stb r0, 0x18(r29) +/* 8004CAB0 00049A10 41 82 00 34 */ beq lbl_8004CAE4 +/* 8004CAB4 00049A14 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8004CAB8 00049A18 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8004CABC 00049A1C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8004CAC0 00049A20 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8004CAC4 00049A24 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8004CAC8 00049A28 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8004CACC 00049A2C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8004CAD0 00049A30 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8004CAD4 00049A34 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8004CAD8 00049A38 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 8004CADC 00049A3C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8004CAE0 00049A40 D0 1D 00 14 */ stfs f0, 0x14(r29) +lbl_8004CAE4: +/* 8004CAE4 00049A44 38 00 00 00 */ li r0, 0 +/* 8004CAE8 00049A48 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8004CAEC 00049A4C 48 00 00 0C */ b lbl_8004CAF8 +lbl_8004CAF0: +/* 8004CAF0 00049A50 98 7D 00 18 */ stb r3, 0x18(r29) +/* 8004CAF4 00049A54 98 61 00 8C */ stb r3, 0x8c(r1) +lbl_8004CAF8: +/* 8004CAF8 00049A58 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8004CAFC 00049A5C 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8004CB00 00049A60 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8004CB04 00049A64 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8004CB08 00049A68 7C 08 03 A6 */ mtlr r0 +/* 8004CB0C 00049A6C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8004CB10 00049A70 4E 80 00 20 */ blr + +.global AddObject__13CStateManagerFR7CEntity +AddObject__13CStateManagerFR7CEntity: +/* 8004CB14 00049A74 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8004CB18 00049A78 7C 08 02 A6 */ mflr r0 +/* 8004CB1C 00049A7C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8004CB20 00049A80 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8004CB24 00049A84 7C 9F 23 78 */ mr r31, r4 +/* 8004CB28 00049A88 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8004CB2C 00049A8C 7C 7E 1B 78 */ mr r30, r3 +/* 8004CB30 00049A90 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8004CB34 00049A94 93 81 00 50 */ stw r28, 0x50(r1) +/* 8004CB38 00049A98 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8004CB3C 00049A9C 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 8004CB40 00049AA0 54 00 01 BE */ clrlwi r0, r0, 6 +/* 8004CB44 00049AA4 54 A3 01 BE */ clrlwi r3, r5, 6 +/* 8004CB48 00049AA8 7C 03 00 40 */ cmplw r3, r0 +/* 8004CB4C 00049AAC 41 82 00 24 */ beq lbl_8004CB70 +/* 8004CB50 00049AB0 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8004CB54 00049AB4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8004CB58 00049AB8 38 9E 08 90 */ addi r4, r30, 0x890 +/* 8004CB5C 00049ABC 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8004CB60 00049AC0 90 A1 00 30 */ stw r5, 0x30(r1) +/* 8004CB64 00049AC4 B0 01 00 34 */ sth r0, 0x34(r1) +/* 8004CB68 00049AC8 80 BE 08 A0 */ lwz r5, 0x8a0(r30) +/* 8004CB6C 00049ACC 48 00 31 51 */ bl "insert_into__Q24rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>FPQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl32pair<13TGameScriptId,9TUniqueId>" +lbl_8004CB70: +/* 8004CB70 00049AD0 3B BE 08 0C */ addi r29, r30, 0x80c +/* 8004CB74 00049AD4 7F BC EB 78 */ mr r28, r29 +/* 8004CB78 00049AD8 48 00 00 14 */ b lbl_8004CB8C +lbl_8004CB7C: +/* 8004CB7C 00049ADC 80 7C 00 04 */ lwz r3, 4(r28) +/* 8004CB80 00049AE0 7F E4 FB 78 */ mr r4, r31 +/* 8004CB84 00049AE4 4B FC 34 01 */ bl AddObject__11CObjectListFR7CEntity +/* 8004CB88 00049AE8 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8004CB8C: +/* 8004CB8C 00049AEC 80 1E 08 08 */ lwz r0, 0x808(r30) +/* 8004CB90 00049AF0 54 00 18 38 */ slwi r0, r0, 3 +/* 8004CB94 00049AF4 7C 1D 02 14 */ add r0, r29, r0 +/* 8004CB98 00049AF8 7C 1C 00 40 */ cmplw r28, r0 +/* 8004CB9C 00049AFC 40 82 FF E0 */ bne lbl_8004CB7C +/* 8004CBA0 00049B00 80 7F 00 04 */ lwz r3, 4(r31) +/* 8004CBA4 00049B04 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8004CBA8 00049B08 7C 03 00 00 */ cmpw r3, r0 +/* 8004CBAC 00049B0C 40 82 00 30 */ bne lbl_8004CBDC +/* 8004CBB0 00049B10 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 8004CBB4 00049B14 28 04 00 00 */ cmplwi r4, 0 +/* 8004CBB8 00049B18 41 82 00 24 */ beq lbl_8004CBDC +/* 8004CBBC 00049B1C A0 7F 00 08 */ lhz r3, 8(r31) +/* 8004CBC0 00049B20 A0 04 00 08 */ lhz r0, 8(r4) +/* 8004CBC4 00049B24 7C 03 00 40 */ cmplw r3, r0 +/* 8004CBC8 00049B28 41 82 00 14 */ beq lbl_8004CBDC +/* 8004CBCC 00049B2C 80 04 00 04 */ lwz r0, 4(r4) +/* 8004CBD0 00049B30 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8004CBD4 00049B34 90 01 00 20 */ stw r0, 0x20(r1) +/* 8004CBD8 00049B38 90 1F 00 04 */ stw r0, 4(r31) +lbl_8004CBDC: +/* 8004CBDC 00049B3C 80 BF 00 04 */ lwz r5, 4(r31) +/* 8004CBE0 00049B40 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8004CBE4 00049B44 90 A1 00 24 */ stw r5, 0x24(r1) +/* 8004CBE8 00049B48 7C 05 00 00 */ cmpw r5, r0 +/* 8004CBEC 00049B4C 41 82 00 38 */ beq lbl_8004CC24 +/* 8004CBF0 00049B50 80 9E 08 50 */ lwz r4, 0x850(r30) +/* 8004CBF4 00049B54 54 A3 18 38 */ slwi r3, r5, 3 +/* 8004CBF8 00049B58 38 03 00 04 */ addi r0, r3, 4 +/* 8004CBFC 00049B5C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8004CC00 00049B60 80 64 00 20 */ lwz r3, 0x20(r4) +/* 8004CC04 00049B64 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8004CC08 00049B68 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8004CC0C 00049B6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8004CC10 00049B70 41 82 00 14 */ beq lbl_8004CC24 +/* 8004CC14 00049B74 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8004CC18 00049B78 7F E4 FB 78 */ mr r4, r31 +/* 8004CC1C 00049B7C 80 63 10 C0 */ lwz r3, 0x10c0(r3) +/* 8004CC20 00049B80 4B FC 33 65 */ bl AddObject__11CObjectListFR7CEntity +lbl_8004CC24: +/* 8004CC24 00049B84 7F E4 FB 78 */ mr r4, r31 +/* 8004CC28 00049B88 38 61 00 28 */ addi r3, r1, 0x28 +/* 8004CC2C 00049B8C 48 06 30 D1 */ bl "__ct__19TCastToPtr<6CActor>FR7CEntity" +/* 8004CC30 00049B90 80 83 00 04 */ lwz r4, 4(r3) +/* 8004CC34 00049B94 28 04 00 00 */ cmplwi r4, 0 +/* 8004CC38 00049B98 41 82 00 0C */ beq lbl_8004CC44 +/* 8004CC3C 00049B9C 7F C3 F3 78 */ mr r3, r30 +/* 8004CC40 00049BA0 4B FF FB 05 */ bl UpdateActorInSortedLists__13CStateManagerFR6CActor +lbl_8004CC44: +/* 8004CC44 00049BA4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004CC48 00049BA8 7F E3 FB 78 */ mr r3, r31 +/* 8004CC4C 00049BAC 7F C6 F3 78 */ mr r6, r30 +/* 8004CC50 00049BB0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8004CC54 00049BB4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004CC58 00049BB8 38 80 00 21 */ li r4, 0x21 +/* 8004CC5C 00049BBC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8004CC60 00049BC0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8004CC64 00049BC4 7D 89 03 A6 */ mtctr r12 +/* 8004CC68 00049BC8 4E 80 04 21 */ bctrl +/* 8004CC6C 00049BCC 80 7F 00 04 */ lwz r3, 4(r31) +/* 8004CC70 00049BD0 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8004CC74 00049BD4 7C 03 00 00 */ cmpw r3, r0 +/* 8004CC78 00049BD8 41 82 00 5C */ beq lbl_8004CCD4 +/* 8004CC7C 00049BDC 7F C3 F3 78 */ mr r3, r30 +/* 8004CC80 00049BE0 48 00 00 9D */ bl sub_8004cd1c +/* 8004CC84 00049BE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004CC88 00049BE8 41 82 00 4C */ beq lbl_8004CCD4 +/* 8004CC8C 00049BEC 80 BF 00 04 */ lwz r5, 4(r31) +/* 8004CC90 00049BF0 80 9E 08 50 */ lwz r4, 0x850(r30) +/* 8004CC94 00049BF4 54 A3 18 38 */ slwi r3, r5, 3 +/* 8004CC98 00049BF8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8004CC9C 00049BFC 80 84 00 20 */ lwz r4, 0x20(r4) +/* 8004CCA0 00049C00 38 03 00 04 */ addi r0, r3, 4 +/* 8004CCA4 00049C04 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8004CCA8 00049C08 7C 64 00 2E */ lwzx r3, r4, r0 +/* 8004CCAC 00049C0C 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8004CCB0 00049C10 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8004CCB4 00049C14 41 82 00 20 */ beq lbl_8004CCD4 +/* 8004CCB8 00049C18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004CCBC 00049C1C 7F C3 F3 78 */ mr r3, r30 +/* 8004CCC0 00049C20 7F E4 FB 78 */ mr r4, r31 +/* 8004CCC4 00049C24 38 A1 00 08 */ addi r5, r1, 8 +/* 8004CCC8 00049C28 B0 01 00 08 */ sth r0, 8(r1) +/* 8004CCCC 00049C2C 38 C0 00 23 */ li r6, 0x23 +/* 8004CCD0 00049C30 4B FF 72 01 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_8004CCD4: +/* 8004CCD4 00049C34 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8004CCD8 00049C38 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8004CCDC 00049C3C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8004CCE0 00049C40 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8004CCE4 00049C44 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8004CCE8 00049C48 7C 08 03 A6 */ mtlr r0 +/* 8004CCEC 00049C4C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8004CCF0 00049C50 4E 80 00 20 */ blr + +.global AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence: +/* 8004CCF4 00049C54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004CCF8 00049C58 7C 08 02 A6 */ mflr r0 +/* 8004CCFC 00049C5C 28 04 00 00 */ cmplwi r4, 0 +/* 8004CD00 00049C60 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004CD04 00049C64 41 82 00 08 */ beq lbl_8004CD0C +/* 8004CD08 00049C68 4B FF FE 0D */ bl AddObject__13CStateManagerFR7CEntity +lbl_8004CD0C: +/* 8004CD0C 00049C6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004CD10 00049C70 7C 08 03 A6 */ mtlr r0 +/* 8004CD14 00049C74 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004CD18 00049C78 4E 80 00 20 */ blr + +.global sub_8004cd1c +sub_8004cd1c: +/* 8004CD1C 00049C7C 80 63 08 50 */ lwz r3, 0x850(r3) +/* 8004CD20 00049C80 7C 03 00 D0 */ neg r0, r3 +/* 8004CD24 00049C84 7C 00 1B 78 */ or r0, r0, r3 +/* 8004CD28 00049C88 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8004CD2C 00049C8C 4E 80 00 20 */ blr + +.global "RayCollideWorldInternal__13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterRCQ24rstl49reserved_vector<9TUniqueId,1024>RC6CActor" +"RayCollideWorldInternal__13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterRCQ24rstl49reserved_vector<9TUniqueId,1024>RC6CActor": +/* 8004CD30 00049C90 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8004CD34 00049C94 7C 08 02 A6 */ mflr r0 +/* 8004CD38 00049C98 90 01 00 44 */ stw r0, 0x44(r1) +/* 8004CD3C 00049C9C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8004CD40 00049CA0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8004CD44 00049CA4 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8004CD48 00049CA8 7C 9B 23 78 */ mr r27, r4 +/* 8004CD4C 00049CAC 7C 7A 1B 78 */ mr r26, r3 +/* 8004CD50 00049CB0 C0 25 00 04 */ lfs f1, 4(r5) +/* 8004CD54 00049CB4 7C DC 33 78 */ mr r28, r6 +/* 8004CD58 00049CB8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8004CD5C 00049CBC 7C FD 3B 78 */ mr r29, r7 +/* 8004CD60 00049CC0 C0 65 00 08 */ lfs f3, 8(r5) +/* 8004CD64 00049CC4 7D 1E 43 78 */ mr r30, r8 +/* 8004CD68 00049CC8 C0 44 00 08 */ lfs f2, 8(r4) +/* 8004CD6C 00049CCC EC 81 00 28 */ fsubs f4, f1, f0 +/* 8004CD70 00049CD0 C0 25 00 00 */ lfs f1, 0(r5) +/* 8004CD74 00049CD4 38 61 00 08 */ addi r3, r1, 8 +/* 8004CD78 00049CD8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8004CD7C 00049CDC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8004CD80 00049CE0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8004CD84 00049CE4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8004CD88 00049CE8 3B E0 00 01 */ li r31, 1 +/* 8004CD8C 00049CEC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8004CD90 00049CF0 D0 01 00 08 */ stfs f0, 8(r1) +/* 8004CD94 00049CF4 48 2C 79 65 */ bl CanBeNormalized__9CVector3fCFv +/* 8004CD98 00049CF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004CD9C 00049CFC 41 82 00 80 */ beq lbl_8004CE1C +/* 8004CDA0 00049D00 38 61 00 08 */ addi r3, r1, 8 +/* 8004CDA4 00049D04 48 2C 7B 15 */ bl Magnitude__9CVector3fCFv +/* 8004CDA8 00049D08 FF E0 08 90 */ fmr f31, f1 +/* 8004CDAC 00049D0C C0 62 85 64 */ lfs f3, lbl_805AA284@sda21(r2) +/* 8004CDB0 00049D10 C0 81 00 08 */ lfs f4, 8(r1) +/* 8004CDB4 00049D14 7F 43 D3 78 */ mr r3, r26 +/* 8004CDB8 00049D18 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8004CDBC 00049D1C 7F 64 DB 78 */ mr r4, r27 +/* 8004CDC0 00049D20 EC A3 F8 24 */ fdivs f5, f3, f31 +/* 8004CDC4 00049D24 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8004CDC8 00049D28 7F 86 E3 78 */ mr r6, r28 +/* 8004CDCC 00049D2C 38 A1 00 08 */ addi r5, r1, 8 +/* 8004CDD0 00049D30 EC 64 01 72 */ fmuls f3, f4, f5 +/* 8004CDD4 00049D34 EC 42 01 72 */ fmuls f2, f2, f5 +/* 8004CDD8 00049D38 EC 00 01 72 */ fmuls f0, f0, f5 +/* 8004CDDC 00049D3C D0 61 00 08 */ stfs f3, 8(r1) +/* 8004CDE0 00049D40 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8004CDE4 00049D44 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8004CDE8 00049D48 48 13 7E 11 */ bl RayStaticIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8004CDEC 00049D4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004CDF0 00049D50 7C 7F 1B 78 */ mr r31, r3 +/* 8004CDF4 00049D54 41 82 00 28 */ beq lbl_8004CE1C +/* 8004CDF8 00049D58 FC 20 F8 90 */ fmr f1, f31 +/* 8004CDFC 00049D5C 7F 43 D3 78 */ mr r3, r26 +/* 8004CE00 00049D60 7F 64 DB 78 */ mr r4, r27 +/* 8004CE04 00049D64 7F 86 E3 78 */ mr r6, r28 +/* 8004CE08 00049D68 7F A7 EB 78 */ mr r7, r29 +/* 8004CE0C 00049D6C 7F C8 F3 78 */ mr r8, r30 +/* 8004CE10 00049D70 38 A1 00 08 */ addi r5, r1, 8 +/* 8004CE14 00049D74 48 13 7E FD */ bl "RayDynamicIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterQ24rstl49reserved_vector<9TUniqueId,1024>PC6CActorf" +/* 8004CE18 00049D78 7C 7F 1B 78 */ mr r31, r3 +lbl_8004CE1C: +/* 8004CE1C 00049D7C 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 8004CE20 00049D80 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8004CE24 00049D84 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8004CE28 00049D88 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8004CE2C 00049D8C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8004CE30 00049D90 7C 08 03 A6 */ mtlr r0 +/* 8004CE34 00049D94 38 21 00 40 */ addi r1, r1, 0x40 +/* 8004CE38 00049D98 4E 80 00 20 */ blr + +.global RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor +RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor: +/* 8004CE3C 00049D9C 94 21 F7 D0 */ stwu r1, -0x830(r1) +/* 8004CE40 00049DA0 7C 08 02 A6 */ mflr r0 +/* 8004CE44 00049DA4 90 01 08 34 */ stw r0, 0x834(r1) +/* 8004CE48 00049DA8 38 00 00 00 */ li r0, 0 +/* 8004CE4C 00049DAC BF 61 08 1C */ stmw r27, 0x81c(r1) +/* 8004CE50 00049DB0 7C 7B 1B 78 */ mr r27, r3 +/* 8004CE54 00049DB4 7C 9C 23 78 */ mr r28, r4 +/* 8004CE58 00049DB8 7C BD 2B 78 */ mr r29, r5 +/* 8004CE5C 00049DBC 7C DE 33 78 */ mr r30, r6 +/* 8004CE60 00049DC0 7C FF 3B 78 */ mr r31, r7 +/* 8004CE64 00049DC4 38 61 00 08 */ addi r3, r1, 8 +/* 8004CE68 00049DC8 C0 25 00 04 */ lfs f1, 4(r5) +/* 8004CE6C 00049DCC C0 04 00 04 */ lfs f0, 4(r4) +/* 8004CE70 00049DD0 C0 65 00 08 */ lfs f3, 8(r5) +/* 8004CE74 00049DD4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8004CE78 00049DD8 C0 44 00 08 */ lfs f2, 8(r4) +/* 8004CE7C 00049DDC C0 25 00 00 */ lfs f1, 0(r5) +/* 8004CE80 00049DE0 C0 04 00 00 */ lfs f0, 0(r4) +/* 8004CE84 00049DE4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8004CE88 00049DE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004CE8C 00049DEC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8004CE90 00049DF0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8004CE94 00049DF4 D0 01 00 08 */ stfs f0, 8(r1) +/* 8004CE98 00049DF8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8004CE9C 00049DFC 48 2C 7A 1D */ bl Magnitude__9CVector3fCFv +/* 8004CEA0 00049E00 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 8004CEA4 00049E04 7F 63 DB 78 */ mr r3, r27 +/* 8004CEA8 00049E08 C0 61 00 08 */ lfs f3, 8(r1) +/* 8004CEAC 00049E0C 7F 85 E3 78 */ mr r5, r28 +/* 8004CEB0 00049E10 EC 80 08 24 */ fdivs f4, f0, f1 +/* 8004CEB4 00049E14 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8004CEB8 00049E18 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8004CEBC 00049E1C 7F C7 F3 78 */ mr r7, r30 +/* 8004CEC0 00049E20 7F E8 FB 78 */ mr r8, r31 +/* 8004CEC4 00049E24 38 81 00 14 */ addi r4, r1, 0x14 +/* 8004CEC8 00049E28 EC 63 01 32 */ fmuls f3, f3, f4 +/* 8004CECC 00049E2C 38 C1 00 08 */ addi r6, r1, 8 +/* 8004CED0 00049E30 EC 42 01 32 */ fmuls f2, f2, f4 +/* 8004CED4 00049E34 EC 00 01 32 */ fmuls f0, f0, f4 +/* 8004CED8 00049E38 D0 61 00 08 */ stfs f3, 8(r1) +/* 8004CEDC 00049E3C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8004CEE0 00049E40 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8004CEE4 00049E44 4B FF F7 F5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" +/* 8004CEE8 00049E48 7F 63 DB 78 */ mr r3, r27 +/* 8004CEEC 00049E4C 7F 84 E3 78 */ mr r4, r28 +/* 8004CEF0 00049E50 7F A5 EB 78 */ mr r5, r29 +/* 8004CEF4 00049E54 7F C6 F3 78 */ mr r6, r30 +/* 8004CEF8 00049E58 7F E8 FB 78 */ mr r8, r31 +/* 8004CEFC 00049E5C 38 E1 00 14 */ addi r7, r1, 0x14 +/* 8004CF00 00049E60 4B FF FE 31 */ bl "RayCollideWorldInternal__13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterRCQ24rstl49reserved_vector<9TUniqueId,1024>RC6CActor" +/* 8004CF04 00049E64 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 8004CF08 00049E68 38 80 00 00 */ li r4, 0 +/* 8004CF0C 00049E6C 2C 06 00 00 */ cmpwi r6, 0 +/* 8004CF10 00049E70 40 81 00 40 */ ble lbl_8004CF50 +/* 8004CF14 00049E74 2C 06 00 08 */ cmpwi r6, 8 +/* 8004CF18 00049E78 38 A6 FF F8 */ addi r5, r6, -8 +/* 8004CF1C 00049E7C 40 81 00 20 */ ble lbl_8004CF3C +/* 8004CF20 00049E80 38 05 00 07 */ addi r0, r5, 7 +/* 8004CF24 00049E84 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004CF28 00049E88 7C 09 03 A6 */ mtctr r0 +/* 8004CF2C 00049E8C 2C 05 00 00 */ cmpwi r5, 0 +/* 8004CF30 00049E90 40 81 00 0C */ ble lbl_8004CF3C +lbl_8004CF34: +/* 8004CF34 00049E94 38 84 00 08 */ addi r4, r4, 8 +/* 8004CF38 00049E98 42 00 FF FC */ bdnz lbl_8004CF34 +lbl_8004CF3C: +/* 8004CF3C 00049E9C 7C 04 30 50 */ subf r0, r4, r6 +/* 8004CF40 00049EA0 7C 09 03 A6 */ mtctr r0 +/* 8004CF44 00049EA4 7C 04 30 00 */ cmpw r4, r6 +/* 8004CF48 00049EA8 40 80 00 08 */ bge lbl_8004CF50 +lbl_8004CF4C: +/* 8004CF4C 00049EAC 42 00 00 00 */ bdnz lbl_8004CF4C +lbl_8004CF50: +/* 8004CF50 00049EB0 38 00 00 00 */ li r0, 0 +/* 8004CF54 00049EB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004CF58 00049EB8 BB 61 08 1C */ lmw r27, 0x81c(r1) +/* 8004CF5C 00049EBC 80 01 08 34 */ lwz r0, 0x834(r1) +/* 8004CF60 00049EC0 7C 08 03 A6 */ mtlr r0 +/* 8004CF64 00049EC4 38 21 08 30 */ addi r1, r1, 0x830 +/* 8004CF68 00049EC8 4E 80 00 20 */ blr + +.global "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +"RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor": +/* 8004CF6C 00049ECC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004CF70 00049ED0 7C 08 02 A6 */ mflr r0 +/* 8004CF74 00049ED4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004CF78 00049ED8 7C C0 33 78 */ mr r0, r6 +/* 8004CF7C 00049EDC 7C E6 3B 78 */ mr r6, r7 +/* 8004CF80 00049EE0 7C 07 03 78 */ mr r7, r0 +/* 8004CF84 00049EE4 4B FF FD AD */ bl "RayCollideWorldInternal__13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterRCQ24rstl49reserved_vector<9TUniqueId,1024>RC6CActor" +/* 8004CF88 00049EE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004CF8C 00049EEC 7C 08 03 A6 */ mtlr r0 +/* 8004CF90 00049EF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004CF94 00049EF4 4E 80 00 20 */ blr + +.global RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter: +/* 8004CF98 00049EF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004CF9C 00049EFC 7C 08 02 A6 */ mflr r0 +/* 8004CFA0 00049F00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004CFA4 00049F04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004CFA8 00049F08 7C 7F 1B 78 */ mr r31, r3 +/* 8004CFAC 00049F0C 48 13 78 5D */ bl RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8004CFB0 00049F10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004CFB4 00049F14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004CFB8 00049F18 7C 08 03 A6 */ mtlr r0 +/* 8004CFBC 00049F1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004CFC0 00049F20 4E 80 00 20 */ blr + +.global "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +"RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>": +/* 8004CFC4 00049F24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004CFC8 00049F28 7C 08 02 A6 */ mflr r0 +/* 8004CFCC 00049F2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004CFD0 00049F30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004CFD4 00049F34 7C 7F 1B 78 */ mr r31, r3 +/* 8004CFD8 00049F38 48 13 81 25 */ bl "RayWorldIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 8004CFDC 00049F3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004CFE0 00049F40 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004CFE4 00049F44 7C 08 03 A6 */ mtlr r0 +/* 8004CFE8 00049F48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004CFEC 00049F4C 4E 80 00 20 */ blr + +.global UpdateObjectInLists__13CStateManagerFR7CEntity +UpdateObjectInLists__13CStateManagerFR7CEntity: +/* 8004CFF0 00049F50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8004CFF4 00049F54 7C 08 02 A6 */ mflr r0 +/* 8004CFF8 00049F58 90 01 00 34 */ stw r0, 0x34(r1) +/* 8004CFFC 00049F5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8004D000 00049F60 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8004D004 00049F64 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8004D008 00049F68 7C 9D 23 78 */ mr r29, r4 +/* 8004D00C 00049F6C 93 81 00 20 */ stw r28, 0x20(r1) +/* 8004D010 00049F70 7C 7C 1B 78 */ mr r28, r3 +/* 8004D014 00049F74 3B FC 08 0C */ addi r31, r28, 0x80c +/* 8004D018 00049F78 7F FE FB 78 */ mr r30, r31 +/* 8004D01C 00049F7C 48 00 00 8C */ b lbl_8004D0A8 +lbl_8004D020: +/* 8004D020 00049F80 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8004D024 00049F84 38 81 00 1C */ addi r4, r1, 0x1c +/* 8004D028 00049F88 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8004D02C 00049F8C B0 01 00 18 */ sth r0, 0x18(r1) +/* 8004D030 00049F90 80 7E 00 04 */ lwz r3, 4(r30) +/* 8004D034 00049F94 4B FC 2D 19 */ bl GetValidObjectById__11CObjectListCF9TUniqueId +/* 8004D038 00049F98 28 03 00 00 */ cmplwi r3, 0 +/* 8004D03C 00049F9C 41 82 00 3C */ beq lbl_8004D078 +/* 8004D040 00049FA0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8004D044 00049FA4 7F A4 EB 78 */ mr r4, r29 +/* 8004D048 00049FA8 81 83 00 00 */ lwz r12, 0(r3) +/* 8004D04C 00049FAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8004D050 00049FB0 7D 89 03 A6 */ mtctr r12 +/* 8004D054 00049FB4 4E 80 04 21 */ bctrl +/* 8004D058 00049FB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004D05C 00049FBC 40 82 00 1C */ bne lbl_8004D078 +/* 8004D060 00049FC0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8004D064 00049FC4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8004D068 00049FC8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8004D06C 00049FCC B0 01 00 10 */ sth r0, 0x10(r1) +/* 8004D070 00049FD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8004D074 00049FD4 4B FC 2E 31 */ bl RemoveObject__11CObjectListF9TUniqueId +lbl_8004D078: +/* 8004D078 00049FD8 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8004D07C 00049FDC 38 81 00 0C */ addi r4, r1, 0xc +/* 8004D080 00049FE0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004D084 00049FE4 B0 01 00 08 */ sth r0, 8(r1) +/* 8004D088 00049FE8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8004D08C 00049FEC 4B FC 2C C1 */ bl GetValidObjectById__11CObjectListCF9TUniqueId +/* 8004D090 00049FF0 28 03 00 00 */ cmplwi r3, 0 +/* 8004D094 00049FF4 40 82 00 10 */ bne lbl_8004D0A4 +/* 8004D098 00049FF8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8004D09C 00049FFC 7F A4 EB 78 */ mr r4, r29 +/* 8004D0A0 0004A000 4B FC 2E E5 */ bl AddObject__11CObjectListFR7CEntity +lbl_8004D0A4: +/* 8004D0A4 0004A004 3B DE 00 08 */ addi r30, r30, 8 +lbl_8004D0A8: +/* 8004D0A8 0004A008 80 1C 08 08 */ lwz r0, 0x808(r28) +/* 8004D0AC 0004A00C 54 00 18 38 */ slwi r0, r0, 3 +/* 8004D0B0 0004A010 7C 1F 02 14 */ add r0, r31, r0 +/* 8004D0B4 0004A014 7C 1E 00 40 */ cmplw r30, r0 +/* 8004D0B8 0004A018 40 82 FF 68 */ bne lbl_8004D020 +/* 8004D0BC 0004A01C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8004D0C0 0004A020 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8004D0C4 0004A024 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8004D0C8 0004A028 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8004D0CC 0004A02C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8004D0D0 0004A030 7C 08 03 A6 */ mtlr r0 +/* 8004D0D4 0004A034 38 21 00 30 */ addi r1, r1, 0x30 +/* 8004D0D8 0004A038 4E 80 00 20 */ blr + +.global AllocateUniqueId__13CStateManagerFv +AllocateUniqueId__13CStateManagerFv: +/* 8004D0DC 0004A03C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004D0E0 0004A040 7C 08 02 A6 */ mflr r0 +/* 8004D0E4 0004A044 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004D0E8 0004A048 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8004D0EC 0004A04C 7C 9B 23 78 */ mr r27, r4 +/* 8004D0F0 0004A050 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004D0F4 0004A054 7C 7E 1B 78 */ mr r30, r3 +/* 8004D0F8 0004A058 3B A4 CE E0 */ addi r29, r4, lbl_803CCEE0@l +/* 8004D0FC 0004A05C A3 9B 00 00 */ lhz r28, 0(r27) +lbl_8004D100: +/* 8004D100 0004A060 A3 FB 00 00 */ lhz r31, 0(r27) +/* 8004D104 0004A064 38 7F 00 01 */ addi r3, r31, 1 +/* 8004D108 0004A068 54 60 B0 12 */ slwi r0, r3, 0x16 +/* 8004D10C 0004A06C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8004D110 0004A070 7C 03 00 50 */ subf r0, r3, r0 +/* 8004D114 0004A074 54 00 50 3E */ rotlwi r0, r0, 0xa +/* 8004D118 0004A078 7C 00 1A 14 */ add r0, r0, r3 +/* 8004D11C 0004A07C B0 1B 00 00 */ sth r0, 0(r27) +/* 8004D120 0004A080 A0 1B 00 00 */ lhz r0, 0(r27) +/* 8004D124 0004A084 7C 00 E0 40 */ cmplw r0, r28 +/* 8004D128 0004A088 40 82 00 10 */ bne lbl_8004D138 +/* 8004D12C 0004A08C 38 7D 00 16 */ addi r3, r29, 0x16 +/* 8004D130 0004A090 4C C6 31 82 */ crclr 6 +/* 8004D134 0004A094 48 28 96 F9 */ bl rs_debugger_printf__FPCce +lbl_8004D138: +/* 8004D138 0004A098 80 7B 08 10 */ lwz r3, 0x810(r27) +/* 8004D13C 0004A09C 7F E4 FB 78 */ mr r4, r31 +/* 8004D140 0004A0A0 4B FC 2B 8D */ bl GetObjectByIndex__11CObjectListCFi +/* 8004D144 0004A0A4 28 03 00 00 */ cmplwi r3, 0 +/* 8004D148 0004A0A8 40 82 FF B8 */ bne lbl_8004D100 +/* 8004D14C 0004A0AC 57 E0 08 3C */ slwi r0, r31, 1 +/* 8004D150 0004A0B0 7C 9B 02 14 */ add r4, r27, r0 +/* 8004D154 0004A0B4 A0 64 00 08 */ lhz r3, 8(r4) +/* 8004D158 0004A0B8 38 03 00 01 */ addi r0, r3, 1 +/* 8004D15C 0004A0BC 54 00 06 BE */ clrlwi r0, r0, 0x1a +/* 8004D160 0004A0C0 B0 04 00 08 */ sth r0, 8(r4) +/* 8004D164 0004A0C4 A0 64 00 08 */ lhz r3, 8(r4) +/* 8004D168 0004A0C8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004D16C 0004A0CC 54 63 51 AA */ rlwinm r3, r3, 0xa, 6, 0x15 +/* 8004D170 0004A0D0 7F E3 1B 78 */ or r3, r31, r3 +/* 8004D174 0004A0D4 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8004D178 0004A0D8 7C 03 00 40 */ cmplw r3, r0 +/* 8004D17C 0004A0DC 40 82 00 0C */ bne lbl_8004D188 +/* 8004D180 0004A0E0 38 00 00 00 */ li r0, 0 +/* 8004D184 0004A0E4 B0 04 00 08 */ sth r0, 8(r4) +lbl_8004D188: +/* 8004D188 0004A0E8 A0 04 00 08 */ lhz r0, 8(r4) +/* 8004D18C 0004A0EC 54 00 51 AA */ rlwinm r0, r0, 0xa, 6, 0x15 +/* 8004D190 0004A0F0 7F E0 03 78 */ or r0, r31, r0 +/* 8004D194 0004A0F4 B0 1E 00 00 */ sth r0, 0(r30) +/* 8004D198 0004A0F8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8004D19C 0004A0FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004D1A0 0004A100 7C 08 03 A6 */ mtlr r0 +/* 8004D1A4 0004A104 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004D1A8 0004A108 4E 80 00 20 */ blr + +.global __dt__13CStateManagerFv +__dt__13CStateManagerFv: +/* 8004D1AC 0004A10C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8004D1B0 0004A110 7C 08 02 A6 */ mflr r0 +/* 8004D1B4 0004A114 90 01 00 54 */ stw r0, 0x54(r1) +/* 8004D1B8 0004A118 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8004D1BC 0004A11C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8004D1C0 0004A120 7C 9E 23 78 */ mr r30, r4 +/* 8004D1C4 0004A124 41 82 04 D0 */ beq lbl_8004D694 +/* 8004D1C8 0004A128 80 1D 08 08 */ lwz r0, 0x808(r29) +/* 8004D1CC 0004A12C 1C 60 20 0C */ mulli r3, r0, 0x200c +/* 8004D1D0 0004A130 38 03 01 1C */ addi r0, r3, 0x11c +/* 8004D1D4 0004A134 7C 60 00 D0 */ neg r3, r0 +/* 8004D1D8 0004A138 48 2C 86 E9 */ bl OffsetFakeStatics__7CMemoryFi +/* 8004D1DC 0004A13C 80 7D 08 8C */ lwz r3, 0x88c(r29) +/* 8004D1E0 0004A140 48 31 CB 6D */ bl HardStopAll__16CRumbleGeneratorFv +/* 8004D1E4 0004A144 80 7D 08 80 */ lwz r3, 0x880(r29) +/* 8004D1E8 0004A148 48 1C 54 DD */ bl sub_802126c4 +/* 8004D1EC 0004A14C 38 1D 08 FC */ addi r0, r29, 0x8fc +/* 8004D1F0 0004A150 3B FD 08 0C */ addi r31, r29, 0x80c +/* 8004D1F4 0004A154 90 1D 09 00 */ stw r0, 0x900(r29) +/* 8004D1F8 0004A158 7F A3 EB 78 */ mr r3, r29 +/* 8004D1FC 0004A15C 83 7D 08 10 */ lwz r27, 0x810(r29) +/* 8004D200 0004A160 4B FF EF 95 */ bl BringOutYourDead__13CStateManagerFv +/* 8004D204 0004A164 3B 40 00 00 */ li r26, 0 +lbl_8004D208: +/* 8004D208 0004A168 7F 63 DB 78 */ mr r3, r27 +/* 8004D20C 0004A16C 7F 44 D3 78 */ mr r4, r26 +/* 8004D210 0004A170 4B FC 2B 05 */ bl __vc__11CObjectListFi +/* 8004D214 0004A174 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8004D218 0004A178 41 82 00 74 */ beq lbl_8004D28C +/* 8004D21C 0004A17C 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 8004D220 0004A180 A0 BC 00 08 */ lhz r5, 8(r28) +/* 8004D224 0004A184 A0 04 00 08 */ lhz r0, 8(r4) +/* 8004D228 0004A188 7C 05 00 40 */ cmplw r5, r0 +/* 8004D22C 0004A18C 41 82 00 60 */ beq lbl_8004D28C +/* 8004D230 0004A190 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004D234 0004A194 7F A6 EB 78 */ mr r6, r29 +/* 8004D238 0004A198 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8004D23C 0004A19C 38 80 00 22 */ li r4, 0x22 +/* 8004D240 0004A1A0 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8004D244 0004A1A4 81 83 00 00 */ lwz r12, 0(r3) +/* 8004D248 0004A1A8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8004D24C 0004A1AC 7D 89 03 A6 */ mtctr r12 +/* 8004D250 0004A1B0 4E 80 04 21 */ bctrl +/* 8004D254 0004A1B4 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8004D258 0004A1B8 7F A3 EB 78 */ mr r3, r29 +/* 8004D25C 0004A1BC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8004D260 0004A1C0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8004D264 0004A1C4 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8004D268 0004A1C8 4B FF EA 79 */ bl RemoveObject__13CStateManagerF9TUniqueId +/* 8004D26C 0004A1CC 28 1C 00 00 */ cmplwi r28, 0 +/* 8004D270 0004A1D0 41 82 00 1C */ beq lbl_8004D28C +/* 8004D274 0004A1D4 7F 83 E3 78 */ mr r3, r28 +/* 8004D278 0004A1D8 38 80 00 01 */ li r4, 1 +/* 8004D27C 0004A1DC 81 9C 00 00 */ lwz r12, 0(r28) +/* 8004D280 0004A1E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8004D284 0004A1E4 7D 89 03 A6 */ mtctr r12 +/* 8004D288 0004A1E8 4E 80 04 21 */ bctrl +lbl_8004D28C: +/* 8004D28C 0004A1EC 3B 5A 00 01 */ addi r26, r26, 1 +/* 8004D290 0004A1F0 2C 1A 04 00 */ cmpwi r26, 0x400 +/* 8004D294 0004A1F4 40 82 FF 74 */ bne lbl_8004D208 +/* 8004D298 0004A1F8 7F A3 EB 78 */ mr r3, r29 +/* 8004D29C 0004A1FC 4B FF EE F9 */ bl BringOutYourDead__13CStateManagerFv +/* 8004D2A0 0004A200 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004D2A4 0004A204 7F A6 EB 78 */ mr r6, r29 +/* 8004D2A8 0004A208 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8004D2AC 0004A20C 38 80 00 22 */ li r4, 0x22 +/* 8004D2B0 0004A210 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8004D2B4 0004A214 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8004D2B8 0004A218 81 83 00 00 */ lwz r12, 0(r3) +/* 8004D2BC 0004A21C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8004D2C0 0004A220 7D 89 03 A6 */ mtctr r12 +/* 8004D2C4 0004A224 4E 80 04 21 */ bctrl +/* 8004D2C8 0004A228 80 BD 08 4C */ lwz r5, 0x84c(r29) +/* 8004D2CC 0004A22C 7F A3 EB 78 */ mr r3, r29 +/* 8004D2D0 0004A230 38 81 00 0C */ addi r4, r1, 0xc +/* 8004D2D4 0004A234 A0 05 00 08 */ lhz r0, 8(r5) +/* 8004D2D8 0004A238 B0 01 00 08 */ sth r0, 8(r1) +/* 8004D2DC 0004A23C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8004D2E0 0004A240 4B FF EA 01 */ bl RemoveObject__13CStateManagerF9TUniqueId +/* 8004D2E4 0004A244 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8004D2E8 0004A248 28 03 00 00 */ cmplwi r3, 0 +/* 8004D2EC 0004A24C 41 82 00 18 */ beq lbl_8004D304 +/* 8004D2F0 0004A250 81 83 00 00 */ lwz r12, 0(r3) +/* 8004D2F4 0004A254 38 80 00 01 */ li r4, 1 +/* 8004D2F8 0004A258 81 8C 00 08 */ lwz r12, 8(r12) +/* 8004D2FC 0004A25C 7D 89 03 A6 */ mtctr r12 +/* 8004D300 0004A260 4E 80 04 21 */ bctrl +lbl_8004D304: +/* 8004D304 0004A264 38 00 00 00 */ li r0, 0 +/* 8004D308 0004A268 90 1D 08 4C */ stw r0, 0x84c(r29) +/* 8004D30C 0004A26C 48 28 15 8D */ bl Uninitialize__19CCollisionPrimitiveFv +/* 8004D310 0004A270 38 60 00 00 */ li r3, 0 +/* 8004D314 0004A274 38 80 00 00 */ li r4, 0 +/* 8004D318 0004A278 48 2C 85 DD */ bl SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv +/* 8004D31C 0004A27C 34 1D 0F 70 */ addic. r0, r29, 0xf70 +/* 8004D320 0004A280 41 82 00 0C */ beq lbl_8004D32C +/* 8004D324 0004A284 80 7D 0F 70 */ lwz r3, 0xf70(r29) +/* 8004D328 0004A288 48 2C 86 09 */ bl Free__7CMemoryFPCv +lbl_8004D32C: +/* 8004D32C 0004A28C 38 7D 0F 54 */ addi r3, r29, 0xf54 +/* 8004D330 0004A290 38 80 FF FF */ li r4, -1 +/* 8004D334 0004A294 48 00 32 01 */ bl sub_80050534 +/* 8004D338 0004A298 38 7D 0F 3C */ addi r3, r29, 0xf3c +/* 8004D33C 0004A29C 38 80 FF FF */ li r4, -1 +/* 8004D340 0004A2A0 48 00 31 F5 */ bl sub_80050534 +/* 8004D344 0004A2A4 38 7D 0D 14 */ addi r3, r29, 0xd14 +/* 8004D348 0004A2A8 38 80 FF FF */ li r4, -1 +/* 8004D34C 0004A2AC 48 00 0C F9 */ bl "__dt__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv" +/* 8004D350 0004A2B0 34 1D 0B 84 */ addic. r0, r29, 0xb84 +/* 8004D354 0004A2B4 41 82 00 6C */ beq lbl_8004D3C0 +/* 8004D358 0004A2B8 3B 5D 0B 88 */ addi r26, r29, 0xb88 +/* 8004D35C 0004A2BC 3B 80 00 00 */ li r28, 0 +/* 8004D360 0004A2C0 48 00 00 4C */ b lbl_8004D3AC +lbl_8004D364: +/* 8004D364 0004A2C4 28 1A 00 00 */ cmplwi r26, 0 +/* 8004D368 0004A2C8 41 82 00 3C */ beq lbl_8004D3A4 +/* 8004D36C 0004A2CC 34 1A 00 24 */ addic. r0, r26, 0x24 +/* 8004D370 0004A2D0 41 82 00 34 */ beq lbl_8004D3A4 +/* 8004D374 0004A2D4 88 1A 00 24 */ lbz r0, 0x24(r26) +/* 8004D378 0004A2D8 28 00 00 00 */ cmplwi r0, 0 +/* 8004D37C 0004A2DC 41 82 00 28 */ beq lbl_8004D3A4 +/* 8004D380 0004A2E0 83 7A 00 28 */ lwz r27, 0x28(r26) +/* 8004D384 0004A2E4 28 1B 00 00 */ cmplwi r27, 0 +/* 8004D388 0004A2E8 41 82 00 1C */ beq lbl_8004D3A4 +/* 8004D38C 0004A2EC 41 82 00 10 */ beq lbl_8004D39C +/* 8004D390 0004A2F0 7F 63 DB 78 */ mr r3, r27 +/* 8004D394 0004A2F4 38 80 00 00 */ li r4, 0 +/* 8004D398 0004A2F8 48 2F 3A A9 */ bl __dt__6CTokenFv +lbl_8004D39C: +/* 8004D39C 0004A2FC 7F 63 DB 78 */ mr r3, r27 +/* 8004D3A0 0004A300 48 2C 85 91 */ bl Free__7CMemoryFPCv +lbl_8004D3A4: +/* 8004D3A4 0004A304 3B 5A 00 2C */ addi r26, r26, 0x2c +/* 8004D3A8 0004A308 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8004D3AC: +/* 8004D3AC 0004A30C 80 1D 0B 84 */ lwz r0, 0xb84(r29) +/* 8004D3B0 0004A310 7C 1C 00 00 */ cmpw r28, r0 +/* 8004D3B4 0004A314 41 80 FF B0 */ blt lbl_8004D364 +/* 8004D3B8 0004A318 38 00 00 00 */ li r0, 0 +/* 8004D3BC 0004A31C 90 1D 0B 84 */ stw r0, 0xb84(r29) +lbl_8004D3C0: +/* 8004D3C0 0004A320 34 1D 0B 40 */ addic. r0, r29, 0xb40 +/* 8004D3C4 0004A324 41 82 00 34 */ beq lbl_8004D3F8 +/* 8004D3C8 0004A328 34 1D 0B 40 */ addic. r0, r29, 0xb40 +/* 8004D3CC 0004A32C 41 82 00 2C */ beq lbl_8004D3F8 +/* 8004D3D0 0004A330 80 9D 0B 50 */ lwz r4, 0xb50(r29) +/* 8004D3D4 0004A334 28 04 00 00 */ cmplwi r4, 0 +/* 8004D3D8 0004A338 41 82 00 0C */ beq lbl_8004D3E4 +/* 8004D3DC 0004A33C 38 7D 0B 40 */ addi r3, r29, 0xb40 +/* 8004D3E0 0004A340 48 00 21 DD */ bl sub_8004f5bc +lbl_8004D3E4: +/* 8004D3E4 0004A344 38 00 00 00 */ li r0, 0 +/* 8004D3E8 0004A348 90 1D 0B 50 */ stw r0, 0xb50(r29) +/* 8004D3EC 0004A34C 90 1D 0B 48 */ stw r0, 0xb48(r29) +/* 8004D3F0 0004A350 90 1D 0B 4C */ stw r0, 0xb4c(r29) +/* 8004D3F4 0004A354 90 1D 0B 44 */ stw r0, 0xb44(r29) +lbl_8004D3F8: +/* 8004D3F8 0004A358 34 1D 09 08 */ addic. r0, r29, 0x908 +/* 8004D3FC 0004A35C 41 82 00 58 */ beq lbl_8004D454 +/* 8004D400 0004A360 80 BD 09 08 */ lwz r5, 0x908(r29) +/* 8004D404 0004A364 38 60 00 00 */ li r3, 0 +/* 8004D408 0004A368 2C 05 00 00 */ cmpwi r5, 0 +/* 8004D40C 0004A36C 40 81 00 40 */ ble lbl_8004D44C +/* 8004D410 0004A370 2C 05 00 08 */ cmpwi r5, 8 +/* 8004D414 0004A374 38 85 FF F8 */ addi r4, r5, -8 +/* 8004D418 0004A378 40 81 00 20 */ ble lbl_8004D438 +/* 8004D41C 0004A37C 38 04 00 07 */ addi r0, r4, 7 +/* 8004D420 0004A380 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004D424 0004A384 7C 09 03 A6 */ mtctr r0 +/* 8004D428 0004A388 2C 04 00 00 */ cmpwi r4, 0 +/* 8004D42C 0004A38C 40 81 00 0C */ ble lbl_8004D438 +lbl_8004D430: +/* 8004D430 0004A390 38 63 00 08 */ addi r3, r3, 8 +/* 8004D434 0004A394 42 00 FF FC */ bdnz lbl_8004D430 +lbl_8004D438: +/* 8004D438 0004A398 7C 03 28 50 */ subf r0, r3, r5 +/* 8004D43C 0004A39C 7C 09 03 A6 */ mtctr r0 +/* 8004D440 0004A3A0 7C 03 28 00 */ cmpw r3, r5 +/* 8004D444 0004A3A4 40 80 00 08 */ bge lbl_8004D44C +lbl_8004D448: +/* 8004D448 0004A3A8 42 00 00 00 */ bdnz lbl_8004D448 +lbl_8004D44C: +/* 8004D44C 0004A3AC 38 00 00 00 */ li r0, 0 +/* 8004D450 0004A3B0 90 1D 09 08 */ stw r0, 0x908(r29) +lbl_8004D454: +/* 8004D454 0004A3B4 34 1D 08 F0 */ addic. r0, r29, 0x8f0 +/* 8004D458 0004A3B8 41 82 00 18 */ beq lbl_8004D470 +/* 8004D45C 0004A3BC 34 1D 08 F0 */ addic. r0, r29, 0x8f0 +/* 8004D460 0004A3C0 41 82 00 10 */ beq lbl_8004D470 +/* 8004D464 0004A3C4 38 7D 08 F0 */ addi r3, r29, 0x8f0 +/* 8004D468 0004A3C8 38 80 00 00 */ li r4, 0 +/* 8004D46C 0004A3CC 48 2F 39 D5 */ bl __dt__6CTokenFv +lbl_8004D470: +/* 8004D470 0004A3D0 34 1D 08 E0 */ addic. r0, r29, 0x8e0 +/* 8004D474 0004A3D4 41 82 00 44 */ beq lbl_8004D4B8 +/* 8004D478 0004A3D8 80 1D 08 E4 */ lwz r0, 0x8e4(r29) +/* 8004D47C 0004A3DC 80 7D 08 EC */ lwz r3, 0x8ec(r29) +/* 8004D480 0004A3E0 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 8004D484 0004A3E4 90 61 00 24 */ stw r3, 0x24(r1) +/* 8004D488 0004A3E8 7C 64 1B 78 */ mr r4, r3 +/* 8004D48C 0004A3EC 7C 03 02 14 */ add r0, r3, r0 +/* 8004D490 0004A3F0 90 61 00 20 */ stw r3, 0x20(r1) +/* 8004D494 0004A3F4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8004D498 0004A3F8 90 01 00 28 */ stw r0, 0x28(r1) +/* 8004D49C 0004A3FC 48 00 00 08 */ b lbl_8004D4A4 +lbl_8004D4A0: +/* 8004D4A0 0004A400 38 84 00 50 */ addi r4, r4, 0x50 +lbl_8004D4A4: +/* 8004D4A4 0004A404 7C 04 00 40 */ cmplw r4, r0 +/* 8004D4A8 0004A408 40 82 FF F8 */ bne lbl_8004D4A0 +/* 8004D4AC 0004A40C 28 03 00 00 */ cmplwi r3, 0 +/* 8004D4B0 0004A410 41 82 00 08 */ beq lbl_8004D4B8 +/* 8004D4B4 0004A414 48 2C 84 7D */ bl Free__7CMemoryFPCv +lbl_8004D4B8: +/* 8004D4B8 0004A418 34 1D 08 C8 */ addic. r0, r29, 0x8c8 +/* 8004D4BC 0004A41C 41 82 00 14 */ beq lbl_8004D4D0 +/* 8004D4C0 0004A420 34 1D 08 C8 */ addic. r0, r29, 0x8c8 +/* 8004D4C4 0004A424 41 82 00 0C */ beq lbl_8004D4D0 +/* 8004D4C8 0004A428 38 7D 08 C8 */ addi r3, r29, 0x8c8 +/* 8004D4CC 0004A42C 4B FB B9 01 */ bl sub_80008dcc +lbl_8004D4D0: +/* 8004D4D0 0004A430 34 1D 08 C4 */ addic. r0, r29, 0x8c4 +/* 8004D4D4 0004A434 41 82 00 14 */ beq lbl_8004D4E8 +/* 8004D4D8 0004A438 34 1D 08 C4 */ addic. r0, r29, 0x8c4 +/* 8004D4DC 0004A43C 41 82 00 0C */ beq lbl_8004D4E8 +/* 8004D4E0 0004A440 38 7D 08 C4 */ addi r3, r29, 0x8c4 +/* 8004D4E4 0004A444 4B FB B1 01 */ bl sub_800085e4 +lbl_8004D4E8: +/* 8004D4E8 0004A448 34 1D 08 C0 */ addic. r0, r29, 0x8c0 +/* 8004D4EC 0004A44C 41 82 00 14 */ beq lbl_8004D500 +/* 8004D4F0 0004A450 34 1D 08 C0 */ addic. r0, r29, 0x8c0 +/* 8004D4F4 0004A454 41 82 00 0C */ beq lbl_8004D500 +/* 8004D4F8 0004A458 38 7D 08 C0 */ addi r3, r29, 0x8c0 +/* 8004D4FC 0004A45C 4B FB B7 41 */ bl sub_80008c3c +lbl_8004D500: +/* 8004D500 0004A460 34 1D 08 BC */ addic. r0, r29, 0x8bc +/* 8004D504 0004A464 41 82 00 14 */ beq lbl_8004D518 +/* 8004D508 0004A468 34 1D 08 BC */ addic. r0, r29, 0x8bc +/* 8004D50C 0004A46C 41 82 00 0C */ beq lbl_8004D518 +/* 8004D510 0004A470 38 7D 08 BC */ addi r3, r29, 0x8bc +/* 8004D514 0004A474 4B FB B1 2D */ bl __dt__11CWorldStateFv +lbl_8004D518: +/* 8004D518 0004A478 34 1D 08 B8 */ addic. r0, r29, 0x8b8 +/* 8004D51C 0004A47C 41 82 00 14 */ beq lbl_8004D530 +/* 8004D520 0004A480 34 1D 08 B8 */ addic. r0, r29, 0x8b8 +/* 8004D524 0004A484 41 82 00 0C */ beq lbl_8004D530 +/* 8004D528 0004A488 38 7D 08 B8 */ addi r3, r29, 0x8b8 +/* 8004D52C 0004A48C 4B FB B9 E1 */ bl sub_80008f0c +lbl_8004D530: +/* 8004D530 0004A490 34 1D 08 A4 */ addic. r0, r29, 0x8a4 +/* 8004D534 0004A494 41 82 00 34 */ beq lbl_8004D568 +/* 8004D538 0004A498 34 1D 08 A4 */ addic. r0, r29, 0x8a4 +/* 8004D53C 0004A49C 41 82 00 2C */ beq lbl_8004D568 +/* 8004D540 0004A4A0 80 9D 08 B4 */ lwz r4, 0x8b4(r29) +/* 8004D544 0004A4A4 28 04 00 00 */ cmplwi r4, 0 +/* 8004D548 0004A4A8 41 82 00 0C */ beq lbl_8004D554 +/* 8004D54C 0004A4AC 38 7D 08 A4 */ addi r3, r29, 0x8a4 +/* 8004D550 0004A4B0 48 00 1F 9D */ bl sub_8004f4ec +lbl_8004D554: +/* 8004D554 0004A4B4 38 00 00 00 */ li r0, 0 +/* 8004D558 0004A4B8 90 1D 08 B4 */ stw r0, 0x8b4(r29) +/* 8004D55C 0004A4BC 90 1D 08 AC */ stw r0, 0x8ac(r29) +/* 8004D560 0004A4C0 90 1D 08 B0 */ stw r0, 0x8b0(r29) +/* 8004D564 0004A4C4 90 1D 08 A8 */ stw r0, 0x8a8(r29) +lbl_8004D568: +/* 8004D568 0004A4C8 34 1D 08 90 */ addic. r0, r29, 0x890 +/* 8004D56C 0004A4CC 41 82 00 34 */ beq lbl_8004D5A0 +/* 8004D570 0004A4D0 34 1D 08 90 */ addic. r0, r29, 0x890 +/* 8004D574 0004A4D4 41 82 00 2C */ beq lbl_8004D5A0 +/* 8004D578 0004A4D8 80 9D 08 A0 */ lwz r4, 0x8a0(r29) +/* 8004D57C 0004A4DC 28 04 00 00 */ cmplwi r4, 0 +/* 8004D580 0004A4E0 41 82 00 0C */ beq lbl_8004D58C +/* 8004D584 0004A4E4 38 7D 08 90 */ addi r3, r29, 0x890 +/* 8004D588 0004A4E8 48 00 1F CD */ bl sub_8004f554 +lbl_8004D58C: +/* 8004D58C 0004A4EC 38 00 00 00 */ li r0, 0 +/* 8004D590 0004A4F0 90 1D 08 A0 */ stw r0, 0x8a0(r29) +/* 8004D594 0004A4F4 90 1D 08 98 */ stw r0, 0x898(r29) +/* 8004D598 0004A4F8 90 1D 08 9C */ stw r0, 0x89c(r29) +/* 8004D59C 0004A4FC 90 1D 08 94 */ stw r0, 0x894(r29) +lbl_8004D5A0: +/* 8004D5A0 0004A500 38 7D 08 6C */ addi r3, r29, 0x86c +/* 8004D5A4 0004A504 38 80 FF FF */ li r4, -1 +/* 8004D5A8 0004A508 48 00 01 05 */ bl sub_8004d6ac +/* 8004D5AC 0004A50C 38 7D 08 54 */ addi r3, r29, 0x854 +/* 8004D5B0 0004A510 38 80 FF FF */ li r4, -1 +/* 8004D5B4 0004A514 48 00 30 D1 */ bl sub_80050684 +/* 8004D5B8 0004A518 34 1D 08 50 */ addic. r0, r29, 0x850 +/* 8004D5BC 0004A51C 41 82 00 24 */ beq lbl_8004D5E0 +/* 8004D5C0 0004A520 80 7D 08 50 */ lwz r3, 0x850(r29) +/* 8004D5C4 0004A524 28 03 00 00 */ cmplwi r3, 0 +/* 8004D5C8 0004A528 41 82 00 18 */ beq lbl_8004D5E0 +/* 8004D5CC 0004A52C 81 83 00 00 */ lwz r12, 0(r3) +/* 8004D5D0 0004A530 38 80 00 01 */ li r4, 1 +/* 8004D5D4 0004A534 81 8C 00 08 */ lwz r12, 8(r12) +/* 8004D5D8 0004A538 7D 89 03 A6 */ mtctr r12 +/* 8004D5DC 0004A53C 4E 80 04 21 */ bctrl +lbl_8004D5E0: +/* 8004D5E0 0004A540 34 1D 08 08 */ addic. r0, r29, 0x808 +/* 8004D5E4 0004A544 41 82 00 44 */ beq lbl_8004D628 +/* 8004D5E8 0004A548 3B 80 00 00 */ li r28, 0 +/* 8004D5EC 0004A54C 48 00 00 28 */ b lbl_8004D614 +lbl_8004D5F0: +/* 8004D5F0 0004A550 28 1F 00 00 */ cmplwi r31, 0 +/* 8004D5F4 0004A554 41 82 00 18 */ beq lbl_8004D60C +/* 8004D5F8 0004A558 88 1F 00 00 */ lbz r0, 0(r31) +/* 8004D5FC 0004A55C 28 00 00 00 */ cmplwi r0, 0 +/* 8004D600 0004A560 41 82 00 0C */ beq lbl_8004D60C +/* 8004D604 0004A564 80 7F 00 04 */ lwz r3, 4(r31) +/* 8004D608 0004A568 48 2C 83 29 */ bl Free__7CMemoryFPCv +lbl_8004D60C: +/* 8004D60C 0004A56C 3B FF 00 08 */ addi r31, r31, 8 +/* 8004D610 0004A570 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8004D614: +/* 8004D614 0004A574 80 1D 08 08 */ lwz r0, 0x808(r29) +/* 8004D618 0004A578 7C 1C 00 00 */ cmpw r28, r0 +/* 8004D61C 0004A57C 41 80 FF D4 */ blt lbl_8004D5F0 +/* 8004D620 0004A580 38 00 00 00 */ li r0, 0 +/* 8004D624 0004A584 90 1D 08 08 */ stw r0, 0x808(r29) +lbl_8004D628: +/* 8004D628 0004A588 34 1D 00 04 */ addic. r0, r29, 4 +/* 8004D62C 0004A58C 41 82 00 58 */ beq lbl_8004D684 +/* 8004D630 0004A590 80 BD 00 04 */ lwz r5, 4(r29) +/* 8004D634 0004A594 38 60 00 00 */ li r3, 0 +/* 8004D638 0004A598 2C 05 00 00 */ cmpwi r5, 0 +/* 8004D63C 0004A59C 40 81 00 40 */ ble lbl_8004D67C +/* 8004D640 0004A5A0 2C 05 00 08 */ cmpwi r5, 8 +/* 8004D644 0004A5A4 38 85 FF F8 */ addi r4, r5, -8 +/* 8004D648 0004A5A8 40 81 00 20 */ ble lbl_8004D668 +/* 8004D64C 0004A5AC 38 04 00 07 */ addi r0, r4, 7 +/* 8004D650 0004A5B0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004D654 0004A5B4 7C 09 03 A6 */ mtctr r0 +/* 8004D658 0004A5B8 2C 04 00 00 */ cmpwi r4, 0 +/* 8004D65C 0004A5BC 40 81 00 0C */ ble lbl_8004D668 +lbl_8004D660: +/* 8004D660 0004A5C0 38 63 00 08 */ addi r3, r3, 8 +/* 8004D664 0004A5C4 42 00 FF FC */ bdnz lbl_8004D660 +lbl_8004D668: +/* 8004D668 0004A5C8 7C 03 28 50 */ subf r0, r3, r5 +/* 8004D66C 0004A5CC 7C 09 03 A6 */ mtctr r0 +/* 8004D670 0004A5D0 7C 03 28 00 */ cmpw r3, r5 +/* 8004D674 0004A5D4 40 80 00 08 */ bge lbl_8004D67C +lbl_8004D678: +/* 8004D678 0004A5D8 42 00 00 00 */ bdnz lbl_8004D678 +lbl_8004D67C: +/* 8004D67C 0004A5DC 38 00 00 00 */ li r0, 0 +/* 8004D680 0004A5E0 90 1D 00 04 */ stw r0, 4(r29) +lbl_8004D684: +/* 8004D684 0004A5E4 7F C0 07 35 */ extsh. r0, r30 +/* 8004D688 0004A5E8 40 81 00 0C */ ble lbl_8004D694 +/* 8004D68C 0004A5EC 7F A3 EB 78 */ mr r3, r29 +/* 8004D690 0004A5F0 48 00 20 39 */ bl "__dl__27TOneStatic<13CStateManager>FPv" +lbl_8004D694: +/* 8004D694 0004A5F4 7F A3 EB 78 */ mr r3, r29 +/* 8004D698 0004A5F8 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8004D69C 0004A5FC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8004D6A0 0004A600 7C 08 03 A6 */ mtlr r0 +/* 8004D6A4 0004A604 38 21 00 50 */ addi r1, r1, 0x50 +/* 8004D6A8 0004A608 4E 80 00 20 */ blr + +.global sub_8004d6ac +sub_8004d6ac: +/* 8004D6AC 0004A60C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004D6B0 0004A610 7C 08 02 A6 */ mflr r0 +/* 8004D6B4 0004A614 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004D6B8 0004A618 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004D6BC 0004A61C 7C 9F 23 78 */ mr r31, r4 +/* 8004D6C0 0004A620 93 C1 00 08 */ stw r30, 8(r1) +/* 8004D6C4 0004A624 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8004D6C8 0004A628 41 82 00 20 */ beq lbl_8004D6E8 +/* 8004D6CC 0004A62C 80 7E 00 00 */ lwz r3, 0(r30) +/* 8004D6D0 0004A630 38 80 00 01 */ li r4, 1 +/* 8004D6D4 0004A634 48 00 00 31 */ bl __dt__22CStateManagerContainerFv +/* 8004D6D8 0004A638 7F E0 07 35 */ extsh. r0, r31 +/* 8004D6DC 0004A63C 40 81 00 0C */ ble lbl_8004D6E8 +/* 8004D6E0 0004A640 7F C3 F3 78 */ mr r3, r30 +/* 8004D6E4 0004A644 48 2C 82 4D */ bl Free__7CMemoryFPCv +lbl_8004D6E8: +/* 8004D6E8 0004A648 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004D6EC 0004A64C 7F C3 F3 78 */ mr r3, r30 +/* 8004D6F0 0004A650 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004D6F4 0004A654 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004D6F8 0004A658 7C 08 03 A6 */ mtlr r0 +/* 8004D6FC 0004A65C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004D700 0004A660 4E 80 00 20 */ blr + +.global __dt__22CStateManagerContainerFv +__dt__22CStateManagerContainerFv: +/* 8004D704 0004A664 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004D708 0004A668 7C 08 02 A6 */ mflr r0 +/* 8004D70C 0004A66C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004D710 0004A670 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004D714 0004A674 7C 9F 23 78 */ mr r31, r4 +/* 8004D718 0004A678 93 C1 00 08 */ stw r30, 8(r1) +/* 8004D71C 0004A67C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8004D720 0004A680 41 82 01 D4 */ beq lbl_8004D8F4 +/* 8004D724 0004A684 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D728 0004A688 34 03 F3 9C */ addic. r0, r3, -3172 +/* 8004D72C 0004A68C 41 82 00 5C */ beq lbl_8004D788 +/* 8004D730 0004A690 80 A3 F3 9C */ lwz r5, -0xc64(r3) +/* 8004D734 0004A694 38 60 00 00 */ li r3, 0 +/* 8004D738 0004A698 2C 05 00 00 */ cmpwi r5, 0 +/* 8004D73C 0004A69C 40 81 00 40 */ ble lbl_8004D77C +/* 8004D740 0004A6A0 2C 05 00 08 */ cmpwi r5, 8 +/* 8004D744 0004A6A4 38 85 FF F8 */ addi r4, r5, -8 +/* 8004D748 0004A6A8 40 81 00 20 */ ble lbl_8004D768 +/* 8004D74C 0004A6AC 38 04 00 07 */ addi r0, r4, 7 +/* 8004D750 0004A6B0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004D754 0004A6B4 7C 09 03 A6 */ mtctr r0 +/* 8004D758 0004A6B8 2C 04 00 00 */ cmpwi r4, 0 +/* 8004D75C 0004A6BC 40 81 00 0C */ ble lbl_8004D768 +lbl_8004D760: +/* 8004D760 0004A6C0 38 63 00 08 */ addi r3, r3, 8 +/* 8004D764 0004A6C4 42 00 FF FC */ bdnz lbl_8004D760 +lbl_8004D768: +/* 8004D768 0004A6C8 7C 03 28 50 */ subf r0, r3, r5 +/* 8004D76C 0004A6CC 7C 09 03 A6 */ mtctr r0 +/* 8004D770 0004A6D0 7C 03 28 00 */ cmpw r3, r5 +/* 8004D774 0004A6D4 40 80 00 08 */ bge lbl_8004D77C +lbl_8004D778: +/* 8004D778 0004A6D8 42 00 00 00 */ bdnz lbl_8004D778 +lbl_8004D77C: +/* 8004D77C 0004A6DC 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D780 0004A6E0 38 00 00 00 */ li r0, 0 +/* 8004D784 0004A6E4 90 03 F3 9C */ stw r0, -0xc64(r3) +lbl_8004D788: +/* 8004D788 0004A6E8 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D78C 0004A6EC 34 03 F3 70 */ addic. r0, r3, -3216 +/* 8004D790 0004A6F0 41 82 00 5C */ beq lbl_8004D7EC +/* 8004D794 0004A6F4 80 A3 F3 70 */ lwz r5, -0xc90(r3) +/* 8004D798 0004A6F8 38 60 00 00 */ li r3, 0 +/* 8004D79C 0004A6FC 2C 05 00 00 */ cmpwi r5, 0 +/* 8004D7A0 0004A700 40 81 00 40 */ ble lbl_8004D7E0 +/* 8004D7A4 0004A704 2C 05 00 08 */ cmpwi r5, 8 +/* 8004D7A8 0004A708 38 85 FF F8 */ addi r4, r5, -8 +/* 8004D7AC 0004A70C 40 81 00 20 */ ble lbl_8004D7CC +/* 8004D7B0 0004A710 38 04 00 07 */ addi r0, r4, 7 +/* 8004D7B4 0004A714 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004D7B8 0004A718 7C 09 03 A6 */ mtctr r0 +/* 8004D7BC 0004A71C 2C 04 00 00 */ cmpwi r4, 0 +/* 8004D7C0 0004A720 40 81 00 0C */ ble lbl_8004D7CC +lbl_8004D7C4: +/* 8004D7C4 0004A724 38 63 00 08 */ addi r3, r3, 8 +/* 8004D7C8 0004A728 42 00 FF FC */ bdnz lbl_8004D7C4 +lbl_8004D7CC: +/* 8004D7CC 0004A72C 7C 03 28 50 */ subf r0, r3, r5 +/* 8004D7D0 0004A730 7C 09 03 A6 */ mtctr r0 +/* 8004D7D4 0004A734 7C 03 28 00 */ cmpw r3, r5 +/* 8004D7D8 0004A738 40 80 00 08 */ bge lbl_8004D7E0 +lbl_8004D7DC: +/* 8004D7DC 0004A73C 42 00 00 00 */ bdnz lbl_8004D7DC +lbl_8004D7E0: +/* 8004D7E0 0004A740 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D7E4 0004A744 38 00 00 00 */ li r0, 0 +/* 8004D7E8 0004A748 90 03 F3 70 */ stw r0, -0xc90(r3) +lbl_8004D7EC: +/* 8004D7EC 0004A74C 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D7F0 0004A750 34 03 F3 44 */ addic. r0, r3, -3260 +/* 8004D7F4 0004A754 41 82 00 5C */ beq lbl_8004D850 +/* 8004D7F8 0004A758 80 A3 F3 44 */ lwz r5, -0xcbc(r3) +/* 8004D7FC 0004A75C 38 60 00 00 */ li r3, 0 +/* 8004D800 0004A760 2C 05 00 00 */ cmpwi r5, 0 +/* 8004D804 0004A764 40 81 00 40 */ ble lbl_8004D844 +/* 8004D808 0004A768 2C 05 00 08 */ cmpwi r5, 8 +/* 8004D80C 0004A76C 38 85 FF F8 */ addi r4, r5, -8 +/* 8004D810 0004A770 40 81 00 20 */ ble lbl_8004D830 +/* 8004D814 0004A774 38 04 00 07 */ addi r0, r4, 7 +/* 8004D818 0004A778 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004D81C 0004A77C 7C 09 03 A6 */ mtctr r0 +/* 8004D820 0004A780 2C 04 00 00 */ cmpwi r4, 0 +/* 8004D824 0004A784 40 81 00 0C */ ble lbl_8004D830 +lbl_8004D828: +/* 8004D828 0004A788 38 63 00 08 */ addi r3, r3, 8 +/* 8004D82C 0004A78C 42 00 FF FC */ bdnz lbl_8004D828 +lbl_8004D830: +/* 8004D830 0004A790 7C 03 28 50 */ subf r0, r3, r5 +/* 8004D834 0004A794 7C 09 03 A6 */ mtctr r0 +/* 8004D838 0004A798 7C 03 28 00 */ cmpw r3, r5 +/* 8004D83C 0004A79C 40 80 00 08 */ bge lbl_8004D844 +lbl_8004D840: +/* 8004D840 0004A7A0 42 00 00 00 */ bdnz lbl_8004D840 +lbl_8004D844: +/* 8004D844 0004A7A4 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D848 0004A7A8 38 00 00 00 */ li r0, 0 +/* 8004D84C 0004A7AC 90 03 F3 44 */ stw r0, -0xcbc(r3) +lbl_8004D850: +/* 8004D850 0004A7B0 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D854 0004A7B4 38 80 FF FF */ li r4, -1 +/* 8004D858 0004A7B8 38 63 F2 50 */ addi r3, r3, -3504 +/* 8004D85C 0004A7BC 48 1E 0A 39 */ bl __dt__14CRumbleManagerFv +/* 8004D860 0004A7C0 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D864 0004A7C4 38 80 FF FF */ li r4, -1 +/* 8004D868 0004A7C8 38 63 F1 68 */ addi r3, r3, -3736 +/* 8004D86C 0004A7CC 48 00 05 F9 */ bl __dt__20CActorModelParticlesFv +/* 8004D870 0004A7D0 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D874 0004A7D4 38 80 FF FF */ li r4, -1 +/* 8004D878 0004A7D8 38 63 E5 10 */ addi r3, r3, -6896 +/* 8004D87C 0004A7DC 48 00 03 41 */ bl __dt__13CEnvFxManagerFv +/* 8004D880 0004A7E0 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D884 0004A7E4 38 80 FF FF */ li r4, -1 +/* 8004D888 0004A7E8 38 63 E3 EC */ addi r3, r3, -7188 +/* 8004D88C 0004A7EC 48 00 02 39 */ bl __dt__18CFluidPlaneManagerFv +/* 8004D890 0004A7F0 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D894 0004A7F4 34 03 E3 D8 */ addic. r0, r3, -7208 +/* 8004D898 0004A7F8 41 82 00 40 */ beq lbl_8004D8D8 +/* 8004D89C 0004A7FC 34 03 E3 D8 */ addic. r0, r3, -7208 +/* 8004D8A0 0004A800 41 82 00 38 */ beq lbl_8004D8D8 +/* 8004D8A4 0004A804 34 03 E3 D8 */ addic. r0, r3, -7208 +/* 8004D8A8 0004A808 41 82 00 30 */ beq lbl_8004D8D8 +/* 8004D8AC 0004A80C 80 83 E3 E8 */ lwz r4, -0x1c18(r3) +/* 8004D8B0 0004A810 28 04 00 00 */ cmplwi r4, 0 +/* 8004D8B4 0004A814 41 82 00 0C */ beq lbl_8004D8C0 +/* 8004D8B8 0004A818 38 63 E3 D8 */ addi r3, r3, -7208 +/* 8004D8BC 0004A81C 48 00 28 75 */ bl __dt__10CWeaponMgrFv +lbl_8004D8C0: +/* 8004D8C0 0004A820 3C 7E 00 01 */ addis r3, r30, 1 +/* 8004D8C4 0004A824 38 00 00 00 */ li r0, 0 +/* 8004D8C8 0004A828 90 03 E3 E8 */ stw r0, -0x1c18(r3) +/* 8004D8CC 0004A82C 90 03 E3 E0 */ stw r0, -0x1c20(r3) +/* 8004D8D0 0004A830 90 03 E3 E4 */ stw r0, -0x1c1c(r3) +/* 8004D8D4 0004A834 90 03 E3 DC */ stw r0, -0x1c24(r3) +lbl_8004D8D8: +/* 8004D8D8 0004A838 7F C3 F3 78 */ mr r3, r30 +/* 8004D8DC 0004A83C 38 80 FF FF */ li r4, -1 +/* 8004D8E0 0004A840 48 00 00 31 */ bl __dt__14CCameraManagerFv +/* 8004D8E4 0004A844 7F E0 07 35 */ extsh. r0, r31 +/* 8004D8E8 0004A848 40 81 00 0C */ ble lbl_8004D8F4 +/* 8004D8EC 0004A84C 7F C3 F3 78 */ mr r3, r30 +/* 8004D8F0 0004A850 48 00 1D 7D */ bl "__dl__36TOneStatic<22CStateManagerContainer>FPv" +lbl_8004D8F4: +/* 8004D8F4 0004A854 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004D8F8 0004A858 7F C3 F3 78 */ mr r3, r30 +/* 8004D8FC 0004A85C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004D900 0004A860 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004D904 0004A864 7C 08 03 A6 */ mtlr r0 +/* 8004D908 0004A868 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004D90C 0004A86C 4E 80 00 20 */ blr + +.global __dt__14CCameraManagerFv +__dt__14CCameraManagerFv: +/* 8004D910 0004A870 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004D914 0004A874 7C 08 02 A6 */ mflr r0 +/* 8004D918 0004A878 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004D91C 0004A87C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8004D920 0004A880 7C 9F 23 78 */ mr r31, r4 +/* 8004D924 0004A884 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004D928 0004A888 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8004D92C 0004A88C 41 82 01 7C */ beq lbl_8004DAA8 +/* 8004D930 0004A890 34 1E 03 34 */ addic. r0, r30, 0x334 +/* 8004D934 0004A894 41 82 00 58 */ beq lbl_8004D98C +/* 8004D938 0004A898 80 BE 03 34 */ lwz r5, 0x334(r30) +/* 8004D93C 0004A89C 38 60 00 00 */ li r3, 0 +/* 8004D940 0004A8A0 2C 05 00 00 */ cmpwi r5, 0 +/* 8004D944 0004A8A4 40 81 00 40 */ ble lbl_8004D984 +/* 8004D948 0004A8A8 2C 05 00 08 */ cmpwi r5, 8 +/* 8004D94C 0004A8AC 38 85 FF F8 */ addi r4, r5, -8 +/* 8004D950 0004A8B0 40 81 00 20 */ ble lbl_8004D970 +/* 8004D954 0004A8B4 38 04 00 07 */ addi r0, r4, 7 +/* 8004D958 0004A8B8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004D95C 0004A8BC 7C 09 03 A6 */ mtctr r0 +/* 8004D960 0004A8C0 2C 04 00 00 */ cmpwi r4, 0 +/* 8004D964 0004A8C4 40 81 00 0C */ ble lbl_8004D970 +lbl_8004D968: +/* 8004D968 0004A8C8 38 63 00 08 */ addi r3, r3, 8 +/* 8004D96C 0004A8CC 42 00 FF FC */ bdnz lbl_8004D968 +lbl_8004D970: +/* 8004D970 0004A8D0 7C 03 28 50 */ subf r0, r3, r5 +/* 8004D974 0004A8D4 7C 09 03 A6 */ mtctr r0 +/* 8004D978 0004A8D8 7C 03 28 00 */ cmpw r3, r5 +/* 8004D97C 0004A8DC 40 80 00 08 */ bge lbl_8004D984 +lbl_8004D980: +/* 8004D980 0004A8E0 42 00 00 00 */ bdnz lbl_8004D980 +lbl_8004D984: +/* 8004D984 0004A8E4 38 00 00 00 */ li r0, 0 +/* 8004D988 0004A8E8 90 1E 03 34 */ stw r0, 0x334(r30) +lbl_8004D98C: +/* 8004D98C 0004A8EC 34 1E 02 B0 */ addic. r0, r30, 0x2b0 +/* 8004D990 0004A8F0 41 82 00 58 */ beq lbl_8004D9E8 +/* 8004D994 0004A8F4 80 BE 02 B0 */ lwz r5, 0x2b0(r30) +/* 8004D998 0004A8F8 38 60 00 00 */ li r3, 0 +/* 8004D99C 0004A8FC 2C 05 00 00 */ cmpwi r5, 0 +/* 8004D9A0 0004A900 40 81 00 40 */ ble lbl_8004D9E0 +/* 8004D9A4 0004A904 2C 05 00 08 */ cmpwi r5, 8 +/* 8004D9A8 0004A908 38 85 FF F8 */ addi r4, r5, -8 +/* 8004D9AC 0004A90C 40 81 00 20 */ ble lbl_8004D9CC +/* 8004D9B0 0004A910 38 04 00 07 */ addi r0, r4, 7 +/* 8004D9B4 0004A914 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004D9B8 0004A918 7C 09 03 A6 */ mtctr r0 +/* 8004D9BC 0004A91C 2C 04 00 00 */ cmpwi r4, 0 +/* 8004D9C0 0004A920 40 81 00 0C */ ble lbl_8004D9CC +lbl_8004D9C4: +/* 8004D9C4 0004A924 38 63 00 08 */ addi r3, r3, 8 +/* 8004D9C8 0004A928 42 00 FF FC */ bdnz lbl_8004D9C4 +lbl_8004D9CC: +/* 8004D9CC 0004A92C 7C 03 28 50 */ subf r0, r3, r5 +/* 8004D9D0 0004A930 7C 09 03 A6 */ mtctr r0 +/* 8004D9D4 0004A934 7C 03 28 00 */ cmpw r3, r5 +/* 8004D9D8 0004A938 40 80 00 08 */ bge lbl_8004D9E0 +lbl_8004D9DC: +/* 8004D9DC 0004A93C 42 00 00 00 */ bdnz lbl_8004D9DC +lbl_8004D9E0: +/* 8004D9E0 0004A940 38 00 00 00 */ li r0, 0 +/* 8004D9E4 0004A944 90 1E 02 B0 */ stw r0, 0x2b0(r30) +lbl_8004D9E8: +/* 8004D9E8 0004A948 34 1E 00 AC */ addic. r0, r30, 0xac +/* 8004D9EC 0004A94C 41 82 00 58 */ beq lbl_8004DA44 +/* 8004D9F0 0004A950 80 BE 00 AC */ lwz r5, 0xac(r30) +/* 8004D9F4 0004A954 38 60 00 00 */ li r3, 0 +/* 8004D9F8 0004A958 2C 05 00 00 */ cmpwi r5, 0 +/* 8004D9FC 0004A95C 40 81 00 40 */ ble lbl_8004DA3C +/* 8004DA00 0004A960 2C 05 00 08 */ cmpwi r5, 8 +/* 8004DA04 0004A964 38 85 FF F8 */ addi r4, r5, -8 +/* 8004DA08 0004A968 40 81 00 20 */ ble lbl_8004DA28 +/* 8004DA0C 0004A96C 38 04 00 07 */ addi r0, r4, 7 +/* 8004DA10 0004A970 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004DA14 0004A974 7C 09 03 A6 */ mtctr r0 +/* 8004DA18 0004A978 2C 04 00 00 */ cmpwi r4, 0 +/* 8004DA1C 0004A97C 40 81 00 0C */ ble lbl_8004DA28 +lbl_8004DA20: +/* 8004DA20 0004A980 38 63 00 08 */ addi r3, r3, 8 +/* 8004DA24 0004A984 42 00 FF FC */ bdnz lbl_8004DA20 +lbl_8004DA28: +/* 8004DA28 0004A988 7C 03 28 50 */ subf r0, r3, r5 +/* 8004DA2C 0004A98C 7C 09 03 A6 */ mtctr r0 +/* 8004DA30 0004A990 7C 03 28 00 */ cmpw r3, r5 +/* 8004DA34 0004A994 40 80 00 08 */ bge lbl_8004DA3C +lbl_8004DA38: +/* 8004DA38 0004A998 42 00 00 00 */ bdnz lbl_8004DA38 +lbl_8004DA3C: +/* 8004DA3C 0004A99C 38 00 00 00 */ li r0, 0 +/* 8004DA40 0004A9A0 90 1E 00 AC */ stw r0, 0xac(r30) +lbl_8004DA44: +/* 8004DA44 0004A9A4 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8004DA48 0004A9A8 38 80 FF FF */ li r4, -1 +/* 8004DA4C 0004A9AC 4B FB EB 69 */ bl sub_8000c5b4 +/* 8004DA50 0004A9B0 34 1E 00 04 */ addic. r0, r30, 4 +/* 8004DA54 0004A9B4 41 82 00 44 */ beq lbl_8004DA98 +/* 8004DA58 0004A9B8 80 1E 00 08 */ lwz r0, 8(r30) +/* 8004DA5C 0004A9BC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8004DA60 0004A9C0 54 00 08 3C */ slwi r0, r0, 1 +/* 8004DA64 0004A9C4 7C 03 02 14 */ add r0, r3, r0 +/* 8004DA68 0004A9C8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8004DA6C 0004A9CC 7C 64 1B 78 */ mr r4, r3 +/* 8004DA70 0004A9D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004DA74 0004A9D4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8004DA78 0004A9D8 90 61 00 08 */ stw r3, 8(r1) +/* 8004DA7C 0004A9DC 48 00 00 08 */ b lbl_8004DA84 +lbl_8004DA80: +/* 8004DA80 0004A9E0 38 84 00 02 */ addi r4, r4, 2 +lbl_8004DA84: +/* 8004DA84 0004A9E4 7C 04 00 40 */ cmplw r4, r0 +/* 8004DA88 0004A9E8 40 82 FF F8 */ bne lbl_8004DA80 +/* 8004DA8C 0004A9EC 28 03 00 00 */ cmplwi r3, 0 +/* 8004DA90 0004A9F0 41 82 00 08 */ beq lbl_8004DA98 +/* 8004DA94 0004A9F4 48 2C 7E 9D */ bl Free__7CMemoryFPCv +lbl_8004DA98: +/* 8004DA98 0004A9F8 7F E0 07 35 */ extsh. r0, r31 +/* 8004DA9C 0004A9FC 40 81 00 0C */ ble lbl_8004DAA8 +/* 8004DAA0 0004AA00 7F C3 F3 78 */ mr r3, r30 +/* 8004DAA4 0004AA04 48 2C 7E 8D */ bl Free__7CMemoryFPCv +lbl_8004DAA8: +/* 8004DAA8 0004AA08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004DAAC 0004AA0C 7F C3 F3 78 */ mr r3, r30 +/* 8004DAB0 0004AA10 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004DAB4 0004AA14 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004DAB8 0004AA18 7C 08 03 A6 */ mtlr r0 +/* 8004DABC 0004AA1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004DAC0 0004AA20 4E 80 00 20 */ blr + +.global __dt__18CFluidPlaneManagerFv +__dt__18CFluidPlaneManagerFv: +/* 8004DAC4 0004AA24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004DAC8 0004AA28 7C 08 02 A6 */ mflr r0 +/* 8004DACC 0004AA2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004DAD0 0004AA30 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8004DAD4 0004AA34 7C 9F 23 78 */ mr r31, r4 +/* 8004DAD8 0004AA38 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004DADC 0004AA3C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8004DAE0 0004AA40 41 82 00 C0 */ beq lbl_8004DBA0 +/* 8004DAE4 0004AA44 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8004DAE8 0004AA48 41 82 00 58 */ beq lbl_8004DB40 +/* 8004DAEC 0004AA4C 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 8004DAF0 0004AA50 38 60 00 00 */ li r3, 0 +/* 8004DAF4 0004AA54 2C 05 00 00 */ cmpwi r5, 0 +/* 8004DAF8 0004AA58 40 81 00 40 */ ble lbl_8004DB38 +/* 8004DAFC 0004AA5C 2C 05 00 08 */ cmpwi r5, 8 +/* 8004DB00 0004AA60 38 85 FF F8 */ addi r4, r5, -8 +/* 8004DB04 0004AA64 40 81 00 20 */ ble lbl_8004DB24 +/* 8004DB08 0004AA68 38 04 00 07 */ addi r0, r4, 7 +/* 8004DB0C 0004AA6C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004DB10 0004AA70 7C 09 03 A6 */ mtctr r0 +/* 8004DB14 0004AA74 2C 04 00 00 */ cmpwi r4, 0 +/* 8004DB18 0004AA78 40 81 00 0C */ ble lbl_8004DB24 +lbl_8004DB1C: +/* 8004DB1C 0004AA7C 38 63 00 08 */ addi r3, r3, 8 +/* 8004DB20 0004AA80 42 00 FF FC */ bdnz lbl_8004DB1C +lbl_8004DB24: +/* 8004DB24 0004AA84 7C 03 28 50 */ subf r0, r3, r5 +/* 8004DB28 0004AA88 7C 09 03 A6 */ mtctr r0 +/* 8004DB2C 0004AA8C 7C 03 28 00 */ cmpw r3, r5 +/* 8004DB30 0004AA90 40 80 00 08 */ bge lbl_8004DB38 +lbl_8004DB34: +/* 8004DB34 0004AA94 42 00 00 00 */ bdnz lbl_8004DB34 +lbl_8004DB38: +/* 8004DB38 0004AA98 38 00 00 00 */ li r0, 0 +/* 8004DB3C 0004AA9C 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_8004DB40: +/* 8004DB40 0004AAA0 28 1E 00 00 */ cmplwi r30, 0 +/* 8004DB44 0004AAA4 41 82 00 4C */ beq lbl_8004DB90 +/* 8004DB48 0004AAA8 34 1E 00 04 */ addic. r0, r30, 4 +/* 8004DB4C 0004AAAC 41 82 00 44 */ beq lbl_8004DB90 +/* 8004DB50 0004AAB0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8004DB54 0004AAB4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8004DB58 0004AAB8 54 00 30 32 */ slwi r0, r0, 6 +/* 8004DB5C 0004AABC 7C 03 02 14 */ add r0, r3, r0 +/* 8004DB60 0004AAC0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8004DB64 0004AAC4 7C 64 1B 78 */ mr r4, r3 +/* 8004DB68 0004AAC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004DB6C 0004AACC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8004DB70 0004AAD0 90 61 00 08 */ stw r3, 8(r1) +/* 8004DB74 0004AAD4 48 00 00 08 */ b lbl_8004DB7C +lbl_8004DB78: +/* 8004DB78 0004AAD8 38 84 00 40 */ addi r4, r4, 0x40 +lbl_8004DB7C: +/* 8004DB7C 0004AADC 7C 04 00 40 */ cmplw r4, r0 +/* 8004DB80 0004AAE0 40 82 FF F8 */ bne lbl_8004DB78 +/* 8004DB84 0004AAE4 28 03 00 00 */ cmplwi r3, 0 +/* 8004DB88 0004AAE8 41 82 00 08 */ beq lbl_8004DB90 +/* 8004DB8C 0004AAEC 48 2C 7D A5 */ bl Free__7CMemoryFPCv +lbl_8004DB90: +/* 8004DB90 0004AAF0 7F E0 07 35 */ extsh. r0, r31 +/* 8004DB94 0004AAF4 40 81 00 0C */ ble lbl_8004DBA0 +/* 8004DB98 0004AAF8 7F C3 F3 78 */ mr r3, r30 +/* 8004DB9C 0004AAFC 48 2C 7D 95 */ bl Free__7CMemoryFPCv +lbl_8004DBA0: +/* 8004DBA0 0004AB00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004DBA4 0004AB04 7F C3 F3 78 */ mr r3, r30 +/* 8004DBA8 0004AB08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004DBAC 0004AB0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004DBB0 0004AB10 7C 08 03 A6 */ mtlr r0 +/* 8004DBB4 0004AB14 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004DBB8 0004AB18 4E 80 00 20 */ blr + +.global __dt__13CEnvFxManagerFv +__dt__13CEnvFxManagerFv: +/* 8004DBBC 0004AB1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004DBC0 0004AB20 7C 08 02 A6 */ mflr r0 +/* 8004DBC4 0004AB24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004DBC8 0004AB28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004DBCC 0004AB2C 7C 9F 23 78 */ mr r31, r4 +/* 8004DBD0 0004AB30 93 C1 00 08 */ stw r30, 8(r1) +/* 8004DBD4 0004AB34 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8004DBD8 0004AB38 41 82 01 4C */ beq lbl_8004DD24 +/* 8004DBDC 0004AB3C 34 1E 0C 48 */ addic. r0, r30, 0xc48 +/* 8004DBE0 0004AB40 41 82 00 30 */ beq lbl_8004DC10 +/* 8004DBE4 0004AB44 88 1E 0C 54 */ lbz r0, 0xc54(r30) +/* 8004DBE8 0004AB48 28 00 00 00 */ cmplwi r0, 0 +/* 8004DBEC 0004AB4C 41 82 00 1C */ beq lbl_8004DC08 +/* 8004DBF0 0004AB50 34 7E 0C 48 */ addic. r3, r30, 0xc48 +/* 8004DBF4 0004AB54 41 82 00 14 */ beq lbl_8004DC08 +/* 8004DBF8 0004AB58 28 03 00 00 */ cmplwi r3, 0 +/* 8004DBFC 0004AB5C 41 82 00 0C */ beq lbl_8004DC08 +/* 8004DC00 0004AB60 38 80 00 00 */ li r4, 0 +/* 8004DC04 0004AB64 48 2F 32 3D */ bl __dt__6CTokenFv +lbl_8004DC08: +/* 8004DC08 0004AB68 38 00 00 00 */ li r0, 0 +/* 8004DC0C 0004AB6C 98 1E 0C 54 */ stb r0, 0xc54(r30) +lbl_8004DC10: +/* 8004DC10 0004AB70 34 1E 0B 84 */ addic. r0, r30, 0xb84 +/* 8004DC14 0004AB74 41 82 00 58 */ beq lbl_8004DC6C +/* 8004DC18 0004AB78 80 BE 0B 84 */ lwz r5, 0xb84(r30) +/* 8004DC1C 0004AB7C 38 60 00 00 */ li r3, 0 +/* 8004DC20 0004AB80 2C 05 00 00 */ cmpwi r5, 0 +/* 8004DC24 0004AB84 40 81 00 40 */ ble lbl_8004DC64 +/* 8004DC28 0004AB88 2C 05 00 08 */ cmpwi r5, 8 +/* 8004DC2C 0004AB8C 38 85 FF F8 */ addi r4, r5, -8 +/* 8004DC30 0004AB90 40 81 00 20 */ ble lbl_8004DC50 +/* 8004DC34 0004AB94 38 04 00 07 */ addi r0, r4, 7 +/* 8004DC38 0004AB98 54 00 E8 FE */ srwi r0, r0, 3 +/* 8004DC3C 0004AB9C 7C 09 03 A6 */ mtctr r0 +/* 8004DC40 0004ABA0 2C 04 00 00 */ cmpwi r4, 0 +/* 8004DC44 0004ABA4 40 81 00 0C */ ble lbl_8004DC50 +lbl_8004DC48: +/* 8004DC48 0004ABA8 38 63 00 08 */ addi r3, r3, 8 +/* 8004DC4C 0004ABAC 42 00 FF FC */ bdnz lbl_8004DC48 +lbl_8004DC50: +/* 8004DC50 0004ABB0 7C 03 28 50 */ subf r0, r3, r5 +/* 8004DC54 0004ABB4 7C 09 03 A6 */ mtctr r0 +/* 8004DC58 0004ABB8 7C 03 28 00 */ cmpw r3, r5 +/* 8004DC5C 0004ABBC 40 80 00 08 */ bge lbl_8004DC64 +lbl_8004DC60: +/* 8004DC60 0004ABC0 42 00 00 00 */ bdnz lbl_8004DC60 +lbl_8004DC64: +/* 8004DC64 0004ABC4 38 00 00 00 */ li r0, 0 +/* 8004DC68 0004ABC8 90 1E 0B 84 */ stw r0, 0xb84(r30) +lbl_8004DC6C: +/* 8004DC6C 0004ABCC 34 1E 0B 74 */ addic. r0, r30, 0xb74 +/* 8004DC70 0004ABD0 41 82 00 30 */ beq lbl_8004DCA0 +/* 8004DC74 0004ABD4 88 1E 0B 80 */ lbz r0, 0xb80(r30) +/* 8004DC78 0004ABD8 28 00 00 00 */ cmplwi r0, 0 +/* 8004DC7C 0004ABDC 41 82 00 1C */ beq lbl_8004DC98 +/* 8004DC80 0004ABE0 34 7E 0B 74 */ addic. r3, r30, 0xb74 +/* 8004DC84 0004ABE4 41 82 00 14 */ beq lbl_8004DC98 +/* 8004DC88 0004ABE8 28 03 00 00 */ cmplwi r3, 0 +/* 8004DC8C 0004ABEC 41 82 00 0C */ beq lbl_8004DC98 +/* 8004DC90 0004ABF0 38 80 00 00 */ li r4, 0 +/* 8004DC94 0004ABF4 48 2F 31 AD */ bl __dt__6CTokenFv +lbl_8004DC98: +/* 8004DC98 0004ABF8 38 00 00 00 */ li r0, 0 +/* 8004DC9C 0004ABFC 98 1E 0B 80 */ stb r0, 0xb80(r30) +lbl_8004DCA0: +/* 8004DCA0 0004AC00 34 1E 0B 58 */ addic. r0, r30, 0xb58 +/* 8004DCA4 0004AC04 41 82 00 30 */ beq lbl_8004DCD4 +/* 8004DCA8 0004AC08 88 1E 0B 64 */ lbz r0, 0xb64(r30) +/* 8004DCAC 0004AC0C 28 00 00 00 */ cmplwi r0, 0 +/* 8004DCB0 0004AC10 41 82 00 1C */ beq lbl_8004DCCC +/* 8004DCB4 0004AC14 34 7E 0B 58 */ addic. r3, r30, 0xb58 +/* 8004DCB8 0004AC18 41 82 00 14 */ beq lbl_8004DCCC +/* 8004DCBC 0004AC1C 28 03 00 00 */ cmplwi r3, 0 +/* 8004DCC0 0004AC20 41 82 00 0C */ beq lbl_8004DCCC +/* 8004DCC4 0004AC24 38 80 00 00 */ li r4, 0 +/* 8004DCC8 0004AC28 48 2F 31 79 */ bl __dt__6CTokenFv +lbl_8004DCCC: +/* 8004DCCC 0004AC2C 38 00 00 00 */ li r0, 0 +/* 8004DCD0 0004AC30 98 1E 0B 64 */ stb r0, 0xb64(r30) +lbl_8004DCD4: +/* 8004DCD4 0004AC34 38 7E 00 50 */ addi r3, r30, 0x50 +/* 8004DCD8 0004AC38 38 80 FF FF */ li r4, -1 +/* 8004DCDC 0004AC3C 48 00 00 65 */ bl sub_8004dd40 +/* 8004DCE0 0004AC40 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 8004DCE4 0004AC44 41 82 00 30 */ beq lbl_8004DD14 +/* 8004DCE8 0004AC48 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 8004DCEC 0004AC4C 28 00 00 00 */ cmplwi r0, 0 +/* 8004DCF0 0004AC50 41 82 00 1C */ beq lbl_8004DD0C +/* 8004DCF4 0004AC54 34 7E 00 40 */ addic. r3, r30, 0x40 +/* 8004DCF8 0004AC58 41 82 00 14 */ beq lbl_8004DD0C +/* 8004DCFC 0004AC5C 28 03 00 00 */ cmplwi r3, 0 +/* 8004DD00 0004AC60 41 82 00 0C */ beq lbl_8004DD0C +/* 8004DD04 0004AC64 38 80 00 00 */ li r4, 0 +/* 8004DD08 0004AC68 48 2F 31 39 */ bl __dt__6CTokenFv +lbl_8004DD0C: +/* 8004DD0C 0004AC6C 38 00 00 00 */ li r0, 0 +/* 8004DD10 0004AC70 98 1E 00 4C */ stb r0, 0x4c(r30) +lbl_8004DD14: +/* 8004DD14 0004AC74 7F E0 07 35 */ extsh. r0, r31 +/* 8004DD18 0004AC78 40 81 00 0C */ ble lbl_8004DD24 +/* 8004DD1C 0004AC7C 7F C3 F3 78 */ mr r3, r30 +/* 8004DD20 0004AC80 48 2C 7C 11 */ bl Free__7CMemoryFPCv +lbl_8004DD24: +/* 8004DD24 0004AC84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004DD28 0004AC88 7F C3 F3 78 */ mr r3, r30 +/* 8004DD2C 0004AC8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004DD30 0004AC90 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004DD34 0004AC94 7C 08 03 A6 */ mtlr r0 +/* 8004DD38 0004AC98 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004DD3C 0004AC9C 4E 80 00 20 */ blr + +.global sub_8004dd40 +sub_8004dd40: +/* 8004DD40 0004ACA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004DD44 0004ACA4 7C 08 02 A6 */ mflr r0 +/* 8004DD48 0004ACA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004DD4C 0004ACAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004DD50 0004ACB0 7C 9F 23 78 */ mr r31, r4 +/* 8004DD54 0004ACB4 93 C1 00 08 */ stw r30, 8(r1) +/* 8004DD58 0004ACB8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8004DD5C 0004ACBC 41 82 00 18 */ beq lbl_8004DD74 +/* 8004DD60 0004ACC0 48 00 00 31 */ bl sub_8004dd90 +/* 8004DD64 0004ACC4 7F E0 07 35 */ extsh. r0, r31 +/* 8004DD68 0004ACC8 40 81 00 0C */ ble lbl_8004DD74 +/* 8004DD6C 0004ACCC 7F C3 F3 78 */ mr r3, r30 +/* 8004DD70 0004ACD0 48 2C 7B C1 */ bl Free__7CMemoryFPCv +lbl_8004DD74: +/* 8004DD74 0004ACD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004DD78 0004ACD8 7F C3 F3 78 */ mr r3, r30 +/* 8004DD7C 0004ACDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004DD80 0004ACE0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004DD84 0004ACE4 7C 08 03 A6 */ mtlr r0 +/* 8004DD88 0004ACE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004DD8C 0004ACEC 4E 80 00 20 */ blr + +.global sub_8004dd90 +sub_8004dd90: +/* 8004DD90 0004ACF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004DD94 0004ACF4 7C 08 02 A6 */ mflr r0 +/* 8004DD98 0004ACF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004DD9C 0004ACFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8004DDA0 0004AD00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004DDA4 0004AD04 3B C0 00 00 */ li r30, 0 +/* 8004DDA8 0004AD08 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8004DDAC 0004AD0C 7C 7D 1B 78 */ mr r29, r3 +/* 8004DDB0 0004AD10 3B FD 00 04 */ addi r31, r29, 4 +/* 8004DDB4 0004AD14 48 00 00 14 */ b lbl_8004DDC8 +lbl_8004DDB8: +/* 8004DDB8 0004AD18 7F E3 FB 78 */ mr r3, r31 +/* 8004DDBC 0004AD1C 48 00 00 3D */ bl sub_8004ddf8 +/* 8004DDC0 0004AD20 3B FF 00 2C */ addi r31, r31, 0x2c +/* 8004DDC4 0004AD24 3B DE 00 01 */ addi r30, r30, 1 +lbl_8004DDC8: +/* 8004DDC8 0004AD28 80 1D 00 00 */ lwz r0, 0(r29) +/* 8004DDCC 0004AD2C 7C 1E 00 00 */ cmpw r30, r0 +/* 8004DDD0 0004AD30 41 80 FF E8 */ blt lbl_8004DDB8 +/* 8004DDD4 0004AD34 38 00 00 00 */ li r0, 0 +/* 8004DDD8 0004AD38 90 1D 00 00 */ stw r0, 0(r29) +/* 8004DDDC 0004AD3C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004DDE0 0004AD40 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004DDE4 0004AD44 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004DDE8 0004AD48 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8004DDEC 0004AD4C 7C 08 03 A6 */ mtlr r0 +/* 8004DDF0 0004AD50 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004DDF4 0004AD54 4E 80 00 20 */ blr + +.global sub_8004ddf8 +sub_8004ddf8: +/* 8004DDF8 0004AD58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004DDFC 0004AD5C 7C 08 02 A6 */ mflr r0 +/* 8004DE00 0004AD60 28 03 00 00 */ cmplwi r3, 0 +/* 8004DE04 0004AD64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004DE08 0004AD68 41 82 00 4C */ beq lbl_8004DE54 +/* 8004DE0C 0004AD6C 34 03 00 1C */ addic. r0, r3, 0x1c +/* 8004DE10 0004AD70 41 82 00 44 */ beq lbl_8004DE54 +/* 8004DE14 0004AD74 80 03 00 20 */ lwz r0, 0x20(r3) +/* 8004DE18 0004AD78 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8004DE1C 0004AD7C 1C 00 00 06 */ mulli r0, r0, 6 +/* 8004DE20 0004AD80 90 61 00 0C */ stw r3, 0xc(r1) +/* 8004DE24 0004AD84 7C 64 1B 78 */ mr r4, r3 +/* 8004DE28 0004AD88 7C 03 02 14 */ add r0, r3, r0 +/* 8004DE2C 0004AD8C 90 61 00 08 */ stw r3, 8(r1) +/* 8004DE30 0004AD90 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004DE34 0004AD94 90 01 00 10 */ stw r0, 0x10(r1) +/* 8004DE38 0004AD98 48 00 00 08 */ b lbl_8004DE40 +lbl_8004DE3C: +/* 8004DE3C 0004AD9C 38 84 00 06 */ addi r4, r4, 6 +lbl_8004DE40: +/* 8004DE40 0004ADA0 7C 04 00 40 */ cmplw r4, r0 +/* 8004DE44 0004ADA4 40 82 FF F8 */ bne lbl_8004DE3C +/* 8004DE48 0004ADA8 28 03 00 00 */ cmplwi r3, 0 +/* 8004DE4C 0004ADAC 41 82 00 08 */ beq lbl_8004DE54 +/* 8004DE50 0004ADB0 48 2C 7A E1 */ bl Free__7CMemoryFPCv +lbl_8004DE54: +/* 8004DE54 0004ADB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004DE58 0004ADB8 7C 08 03 A6 */ mtlr r0 +/* 8004DE5C 0004ADBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004DE60 0004ADC0 4E 80 00 20 */ blr + +.global __dt__20CActorModelParticlesFv +__dt__20CActorModelParticlesFv: +/* 8004DE64 0004ADC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004DE68 0004ADC8 7C 08 02 A6 */ mflr r0 +/* 8004DE6C 0004ADCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004DE70 0004ADD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004DE74 0004ADD4 7C 9F 23 78 */ mr r31, r4 +/* 8004DE78 0004ADD8 93 C1 00 08 */ stw r30, 8(r1) +/* 8004DE7C 0004ADDC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8004DE80 0004ADE0 41 82 00 B0 */ beq lbl_8004DF30 +/* 8004DE84 0004ADE4 38 7E 00 50 */ addi r3, r30, 0x50 +/* 8004DE88 0004ADE8 38 80 FF FF */ li r4, -1 +/* 8004DE8C 0004ADEC 48 00 00 C1 */ bl sub_8004df4c +/* 8004DE90 0004ADF0 38 7E 00 48 */ addi r3, r30, 0x48 +/* 8004DE94 0004ADF4 38 80 FF FF */ li r4, -1 +/* 8004DE98 0004ADF8 48 2F 2F A9 */ bl __dt__6CTokenFv +/* 8004DE9C 0004ADFC 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 8004DEA0 0004AE00 41 82 00 10 */ beq lbl_8004DEB0 +/* 8004DEA4 0004AE04 38 7E 00 40 */ addi r3, r30, 0x40 +/* 8004DEA8 0004AE08 38 80 00 00 */ li r4, 0 +/* 8004DEAC 0004AE0C 48 2F 2F 95 */ bl __dt__6CTokenFv +lbl_8004DEB0: +/* 8004DEB0 0004AE10 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 8004DEB4 0004AE14 41 82 00 10 */ beq lbl_8004DEC4 +/* 8004DEB8 0004AE18 38 7E 00 38 */ addi r3, r30, 0x38 +/* 8004DEBC 0004AE1C 38 80 00 00 */ li r4, 0 +/* 8004DEC0 0004AE20 48 2F 2F 81 */ bl __dt__6CTokenFv +lbl_8004DEC4: +/* 8004DEC4 0004AE24 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8004DEC8 0004AE28 41 82 00 10 */ beq lbl_8004DED8 +/* 8004DECC 0004AE2C 38 7E 00 30 */ addi r3, r30, 0x30 +/* 8004DED0 0004AE30 38 80 00 00 */ li r4, 0 +/* 8004DED4 0004AE34 48 2F 2F 6D */ bl __dt__6CTokenFv +lbl_8004DED8: +/* 8004DED8 0004AE38 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 8004DEDC 0004AE3C 41 82 00 10 */ beq lbl_8004DEEC +/* 8004DEE0 0004AE40 38 7E 00 28 */ addi r3, r30, 0x28 +/* 8004DEE4 0004AE44 38 80 00 00 */ li r4, 0 +/* 8004DEE8 0004AE48 48 2F 2F 59 */ bl __dt__6CTokenFv +lbl_8004DEEC: +/* 8004DEEC 0004AE4C 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8004DEF0 0004AE50 41 82 00 10 */ beq lbl_8004DF00 +/* 8004DEF4 0004AE54 38 7E 00 20 */ addi r3, r30, 0x20 +/* 8004DEF8 0004AE58 38 80 00 00 */ li r4, 0 +/* 8004DEFC 0004AE5C 48 2F 2F 45 */ bl __dt__6CTokenFv +lbl_8004DF00: +/* 8004DF00 0004AE60 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8004DF04 0004AE64 41 82 00 10 */ beq lbl_8004DF14 +/* 8004DF08 0004AE68 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8004DF0C 0004AE6C 38 80 00 00 */ li r4, 0 +/* 8004DF10 0004AE70 48 2F 2F 31 */ bl __dt__6CTokenFv +lbl_8004DF14: +/* 8004DF14 0004AE74 7F C3 F3 78 */ mr r3, r30 +/* 8004DF18 0004AE78 38 80 FF FF */ li r4, -1 +/* 8004DF1C 0004AE7C 48 00 28 45 */ bl sub_80050760 +/* 8004DF20 0004AE80 7F E0 07 35 */ extsh. r0, r31 +/* 8004DF24 0004AE84 40 81 00 0C */ ble lbl_8004DF30 +/* 8004DF28 0004AE88 7F C3 F3 78 */ mr r3, r30 +/* 8004DF2C 0004AE8C 48 2C 7A 05 */ bl Free__7CMemoryFPCv +lbl_8004DF30: +/* 8004DF30 0004AE90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004DF34 0004AE94 7F C3 F3 78 */ mr r3, r30 +/* 8004DF38 0004AE98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004DF3C 0004AE9C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004DF40 0004AEA0 7C 08 03 A6 */ mtlr r0 +/* 8004DF44 0004AEA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004DF48 0004AEA8 4E 80 00 20 */ blr + +.global sub_8004df4c +sub_8004df4c: +/* 8004DF4C 0004AEAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004DF50 0004AEB0 7C 08 02 A6 */ mflr r0 +/* 8004DF54 0004AEB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004DF58 0004AEB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004DF5C 0004AEBC 7C 9F 23 78 */ mr r31, r4 +/* 8004DF60 0004AEC0 93 C1 00 08 */ stw r30, 8(r1) +/* 8004DF64 0004AEC4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8004DF68 0004AEC8 41 82 00 18 */ beq lbl_8004DF80 +/* 8004DF6C 0004AECC 48 00 00 31 */ bl sub_8004df9c +/* 8004DF70 0004AED0 7F E0 07 35 */ extsh. r0, r31 +/* 8004DF74 0004AED4 40 81 00 0C */ ble lbl_8004DF80 +/* 8004DF78 0004AED8 7F C3 F3 78 */ mr r3, r30 +/* 8004DF7C 0004AEDC 48 2C 79 B5 */ bl Free__7CMemoryFPCv +lbl_8004DF80: +/* 8004DF80 0004AEE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004DF84 0004AEE4 7F C3 F3 78 */ mr r3, r30 +/* 8004DF88 0004AEE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004DF8C 0004AEEC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004DF90 0004AEF0 7C 08 03 A6 */ mtlr r0 +/* 8004DF94 0004AEF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004DF98 0004AEF8 4E 80 00 20 */ blr + +.global sub_8004df9c +sub_8004df9c: +/* 8004DF9C 0004AEFC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8004DFA0 0004AF00 7C 08 02 A6 */ mflr r0 +/* 8004DFA4 0004AF04 90 01 00 34 */ stw r0, 0x34(r1) +/* 8004DFA8 0004AF08 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8004DFAC 0004AF0C 7C 7B 1B 78 */ mr r27, r3 +/* 8004DFB0 0004AF10 3B 80 00 00 */ li r28, 0 +/* 8004DFB4 0004AF14 3B DB 00 04 */ addi r30, r27, 4 +/* 8004DFB8 0004AF18 48 00 00 64 */ b lbl_8004E01C +lbl_8004DFBC: +/* 8004DFBC 0004AF1C 28 1E 00 00 */ cmplwi r30, 0 +/* 8004DFC0 0004AF20 41 82 00 54 */ beq lbl_8004E014 +/* 8004DFC4 0004AF24 41 82 00 50 */ beq lbl_8004E014 +/* 8004DFC8 0004AF28 80 1E 00 04 */ lwz r0, 4(r30) +/* 8004DFCC 0004AF2C 83 BE 00 0C */ lwz r29, 0xc(r30) +/* 8004DFD0 0004AF30 54 00 18 38 */ slwi r0, r0, 3 +/* 8004DFD4 0004AF34 7F FD 02 14 */ add r31, r29, r0 +/* 8004DFD8 0004AF38 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8004DFDC 0004AF3C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8004DFE0 0004AF40 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8004DFE4 0004AF44 93 A1 00 08 */ stw r29, 8(r1) +/* 8004DFE8 0004AF48 48 00 00 14 */ b lbl_8004DFFC +lbl_8004DFEC: +/* 8004DFEC 0004AF4C 7F A3 EB 78 */ mr r3, r29 +/* 8004DFF0 0004AF50 38 80 FF FF */ li r4, -1 +/* 8004DFF4 0004AF54 48 2F 2E 4D */ bl __dt__6CTokenFv +/* 8004DFF8 0004AF58 3B BD 00 08 */ addi r29, r29, 8 +lbl_8004DFFC: +/* 8004DFFC 0004AF5C 7C 1D F8 40 */ cmplw r29, r31 +/* 8004E000 0004AF60 40 82 FF EC */ bne lbl_8004DFEC +/* 8004E004 0004AF64 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8004E008 0004AF68 28 03 00 00 */ cmplwi r3, 0 +/* 8004E00C 0004AF6C 41 82 00 08 */ beq lbl_8004E014 +/* 8004E010 0004AF70 48 2C 79 21 */ bl Free__7CMemoryFPCv +lbl_8004E014: +/* 8004E014 0004AF74 3B DE 00 18 */ addi r30, r30, 0x18 +/* 8004E018 0004AF78 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8004E01C: +/* 8004E01C 0004AF7C 80 1B 00 00 */ lwz r0, 0(r27) +/* 8004E020 0004AF80 7C 1C 00 00 */ cmpw r28, r0 +/* 8004E024 0004AF84 41 80 FF 98 */ blt lbl_8004DFBC +/* 8004E028 0004AF88 38 00 00 00 */ li r0, 0 +/* 8004E02C 0004AF8C 90 1B 00 00 */ stw r0, 0(r27) +/* 8004E030 0004AF90 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8004E034 0004AF94 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8004E038 0004AF98 7C 08 03 A6 */ mtlr r0 +/* 8004E03C 0004AF9C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8004E040 0004AFA0 4E 80 00 20 */ blr + +.global "__dt__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv" +"__dt__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv": +/* 8004E044 0004AFA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004E048 0004AFA8 7C 08 02 A6 */ mflr r0 +/* 8004E04C 0004AFAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004E050 0004AFB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004E054 0004AFB4 7C 9F 23 78 */ mr r31, r4 +/* 8004E058 0004AFB8 93 C1 00 08 */ stw r30, 8(r1) +/* 8004E05C 0004AFBC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8004E060 0004AFC0 41 82 00 18 */ beq lbl_8004E078 +/* 8004E064 0004AFC4 48 00 00 31 */ bl "clear__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv" +/* 8004E068 0004AFC8 7F E0 07 35 */ extsh. r0, r31 +/* 8004E06C 0004AFCC 40 81 00 0C */ ble lbl_8004E078 +/* 8004E070 0004AFD0 7F C3 F3 78 */ mr r3, r30 +/* 8004E074 0004AFD4 48 2C 78 BD */ bl Free__7CMemoryFPCv +lbl_8004E078: +/* 8004E078 0004AFD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004E07C 0004AFDC 7F C3 F3 78 */ mr r3, r30 +/* 8004E080 0004AFE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004E084 0004AFE4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004E088 0004AFE8 7C 08 03 A6 */ mtlr r0 +/* 8004E08C 0004AFEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004E090 0004AFF0 4E 80 00 20 */ blr + +.global "clear__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv" +"clear__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv": +/* 8004E094 0004AFF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004E098 0004AFF8 7C 08 02 A6 */ mflr r0 +/* 8004E09C 0004AFFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004E0A0 0004B000 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8004E0A4 0004B004 3B E0 00 00 */ li r31, 0 +/* 8004E0A8 0004B008 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004E0AC 0004B00C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8004E0B0 0004B010 3B A0 00 00 */ li r29, 0 +/* 8004E0B4 0004B014 93 81 00 10 */ stw r28, 0x10(r1) +/* 8004E0B8 0004B018 7C 7C 1B 78 */ mr r28, r3 +/* 8004E0BC 0004B01C 3B DC 00 04 */ addi r30, r28, 4 +/* 8004E0C0 0004B020 48 00 00 40 */ b lbl_8004E100 +lbl_8004E0C4: +/* 8004E0C4 0004B024 28 1E 00 00 */ cmplwi r30, 0 +/* 8004E0C8 0004B028 41 82 00 30 */ beq lbl_8004E0F8 +/* 8004E0CC 0004B02C 41 82 00 2C */ beq lbl_8004E0F8 +/* 8004E0D0 0004B030 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 8004E0D4 0004B034 28 00 00 00 */ cmplwi r0, 0 +/* 8004E0D8 0004B038 41 82 00 1C */ beq lbl_8004E0F4 +/* 8004E0DC 0004B03C 28 1E 00 00 */ cmplwi r30, 0 +/* 8004E0E0 0004B040 41 82 00 14 */ beq lbl_8004E0F4 +/* 8004E0E4 0004B044 41 82 00 10 */ beq lbl_8004E0F4 +/* 8004E0E8 0004B048 7F C3 F3 78 */ mr r3, r30 +/* 8004E0EC 0004B04C 38 80 00 00 */ li r4, 0 +/* 8004E0F0 0004B050 48 2F 2D 51 */ bl __dt__6CTokenFv +lbl_8004E0F4: +/* 8004E0F4 0004B054 9B FE 00 0C */ stb r31, 0xc(r30) +lbl_8004E0F8: +/* 8004E0F8 0004B058 3B DE 00 34 */ addi r30, r30, 0x34 +/* 8004E0FC 0004B05C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8004E100: +/* 8004E100 0004B060 80 1C 00 00 */ lwz r0, 0(r28) +/* 8004E104 0004B064 7C 1D 00 00 */ cmpw r29, r0 +/* 8004E108 0004B068 41 80 FF BC */ blt lbl_8004E0C4 +/* 8004E10C 0004B06C 38 00 00 00 */ li r0, 0 +/* 8004E110 0004B070 90 1C 00 00 */ stw r0, 0(r28) +/* 8004E114 0004B074 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004E118 0004B078 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004E11C 0004B07C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004E120 0004B080 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8004E124 0004B084 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8004E128 0004B088 7C 08 03 A6 */ mtlr r0 +/* 8004E12C 0004B08C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004E130 0004B090 4E 80 00 20 */ blr + +.global "__ct__13CStateManagerFRCQ24rstl26ncrc_ptr<14CScriptMailbox>RCQ24rstl25ncrc_ptr<13CMapWorldInfo>RCQ24rstl24ncrc_ptr<12CPlayerState>RCQ24rstl30ncrc_ptr<18CWorldTransManager>" +"__ct__13CStateManagerFRCQ24rstl26ncrc_ptr<14CScriptMailbox>RCQ24rstl25ncrc_ptr<13CMapWorldInfo>RCQ24rstl24ncrc_ptr<12CPlayerState>RCQ24rstl30ncrc_ptr<18CWorldTransManager>": +/* 8004E134 0004B094 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8004E138 0004B098 7C 08 02 A6 */ mflr r0 +/* 8004E13C 0004B09C 39 20 00 00 */ li r9, 0 +/* 8004E140 0004B0A0 90 01 01 04 */ stw r0, 0x104(r1) +/* 8004E144 0004B0A4 38 00 00 80 */ li r0, 0x80 +/* 8004E148 0004B0A8 BF 21 00 E4 */ stmw r25, 0xe4(r1) +/* 8004E14C 0004B0AC 7C 7F 1B 78 */ mr r31, r3 +/* 8004E150 0004B0B0 7C 9A 23 78 */ mr r26, r4 +/* 8004E154 0004B0B4 7C BB 2B 78 */ mr r27, r5 +/* 8004E158 0004B0B8 7C DC 33 78 */ mr r28, r6 +/* 8004E15C 0004B0BC 7C FD 3B 78 */ mr r29, r7 +/* 8004E160 0004B0C0 7D 1E 43 78 */ mr r30, r8 +/* 8004E164 0004B0C4 B1 23 00 00 */ sth r9, 0(r3) +/* 8004E168 0004B0C8 38 60 04 00 */ li r3, 0x400 +/* 8004E16C 0004B0CC 90 7F 00 04 */ stw r3, 4(r31) +/* 8004E170 0004B0D0 38 7F 00 08 */ addi r3, r31, 8 +/* 8004E174 0004B0D4 7C 09 03 A6 */ mtctr r0 +lbl_8004E178: +/* 8004E178 0004B0D8 28 03 00 00 */ cmplwi r3, 0 +/* 8004E17C 0004B0DC 41 82 00 0C */ beq lbl_8004E188 +/* 8004E180 0004B0E0 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) +/* 8004E184 0004B0E4 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004E188: +/* 8004E188 0004B0E8 34 63 00 02 */ addic. r3, r3, 2 +/* 8004E18C 0004B0EC 41 82 00 0C */ beq lbl_8004E198 +/* 8004E190 0004B0F0 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) +/* 8004E194 0004B0F4 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004E198: +/* 8004E198 0004B0F8 34 63 00 02 */ addic. r3, r3, 2 +/* 8004E19C 0004B0FC 41 82 00 0C */ beq lbl_8004E1A8 +/* 8004E1A0 0004B100 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) +/* 8004E1A4 0004B104 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004E1A8: +/* 8004E1A8 0004B108 34 63 00 02 */ addic. r3, r3, 2 +/* 8004E1AC 0004B10C 41 82 00 0C */ beq lbl_8004E1B8 +/* 8004E1B0 0004B110 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) +/* 8004E1B4 0004B114 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004E1B8: +/* 8004E1B8 0004B118 34 63 00 02 */ addic. r3, r3, 2 +/* 8004E1BC 0004B11C 41 82 00 0C */ beq lbl_8004E1C8 +/* 8004E1C0 0004B120 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) +/* 8004E1C4 0004B124 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004E1C8: +/* 8004E1C8 0004B128 34 63 00 02 */ addic. r3, r3, 2 +/* 8004E1CC 0004B12C 41 82 00 0C */ beq lbl_8004E1D8 +/* 8004E1D0 0004B130 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) +/* 8004E1D4 0004B134 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004E1D8: +/* 8004E1D8 0004B138 34 63 00 02 */ addic. r3, r3, 2 +/* 8004E1DC 0004B13C 41 82 00 0C */ beq lbl_8004E1E8 +/* 8004E1E0 0004B140 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) +/* 8004E1E4 0004B144 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004E1E8: +/* 8004E1E8 0004B148 34 63 00 02 */ addic. r3, r3, 2 +/* 8004E1EC 0004B14C 41 82 00 0C */ beq lbl_8004E1F8 +/* 8004E1F0 0004B150 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) +/* 8004E1F4 0004B154 B0 03 00 00 */ sth r0, 0(r3) +lbl_8004E1F8: +/* 8004E1F8 0004B158 39 29 00 07 */ addi r9, r9, 7 +/* 8004E1FC 0004B15C 38 63 00 02 */ addi r3, r3, 2 +/* 8004E200 0004B160 42 00 FF 78 */ bdnz lbl_8004E178 +/* 8004E204 0004B164 38 60 00 00 */ li r3, 0 +/* 8004E208 0004B168 38 00 00 08 */ li r0, 8 +/* 8004E20C 0004B16C 34 9F 08 0C */ addic. r4, r31, 0x80c +/* 8004E210 0004B170 98 61 00 6C */ stb r3, 0x6c(r1) +/* 8004E214 0004B174 90 61 00 70 */ stw r3, 0x70(r1) +/* 8004E218 0004B178 90 1F 08 08 */ stw r0, 0x808(r31) +/* 8004E21C 0004B17C 41 82 00 10 */ beq lbl_8004E22C +/* 8004E220 0004B180 98 64 00 00 */ stb r3, 0(r4) +/* 8004E224 0004B184 98 61 00 6C */ stb r3, 0x6c(r1) +/* 8004E228 0004B188 90 64 00 04 */ stw r3, 4(r4) +lbl_8004E22C: +/* 8004E22C 0004B18C 34 84 00 08 */ addic. r4, r4, 8 +/* 8004E230 0004B190 41 82 00 14 */ beq lbl_8004E244 +/* 8004E234 0004B194 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8004E238 0004B198 98 04 00 00 */ stb r0, 0(r4) +/* 8004E23C 0004B19C 90 64 00 04 */ stw r3, 4(r4) +/* 8004E240 0004B1A0 98 61 00 6C */ stb r3, 0x6c(r1) +lbl_8004E244: +/* 8004E244 0004B1A4 34 84 00 08 */ addic. r4, r4, 8 +/* 8004E248 0004B1A8 41 82 00 14 */ beq lbl_8004E25C +/* 8004E24C 0004B1AC 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8004E250 0004B1B0 98 04 00 00 */ stb r0, 0(r4) +/* 8004E254 0004B1B4 90 64 00 04 */ stw r3, 4(r4) +/* 8004E258 0004B1B8 98 61 00 6C */ stb r3, 0x6c(r1) +lbl_8004E25C: +/* 8004E25C 0004B1BC 34 84 00 08 */ addic. r4, r4, 8 +/* 8004E260 0004B1C0 41 82 00 14 */ beq lbl_8004E274 +/* 8004E264 0004B1C4 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8004E268 0004B1C8 98 04 00 00 */ stb r0, 0(r4) +/* 8004E26C 0004B1CC 90 64 00 04 */ stw r3, 4(r4) +/* 8004E270 0004B1D0 98 61 00 6C */ stb r3, 0x6c(r1) +lbl_8004E274: +/* 8004E274 0004B1D4 34 84 00 08 */ addic. r4, r4, 8 +/* 8004E278 0004B1D8 41 82 00 14 */ beq lbl_8004E28C +/* 8004E27C 0004B1DC 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8004E280 0004B1E0 98 04 00 00 */ stb r0, 0(r4) +/* 8004E284 0004B1E4 90 64 00 04 */ stw r3, 4(r4) +/* 8004E288 0004B1E8 98 61 00 6C */ stb r3, 0x6c(r1) +lbl_8004E28C: +/* 8004E28C 0004B1EC 34 84 00 08 */ addic. r4, r4, 8 +/* 8004E290 0004B1F0 41 82 00 14 */ beq lbl_8004E2A4 +/* 8004E294 0004B1F4 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8004E298 0004B1F8 98 04 00 00 */ stb r0, 0(r4) +/* 8004E29C 0004B1FC 90 64 00 04 */ stw r3, 4(r4) +/* 8004E2A0 0004B200 98 61 00 6C */ stb r3, 0x6c(r1) +lbl_8004E2A4: +/* 8004E2A4 0004B204 34 84 00 08 */ addic. r4, r4, 8 +/* 8004E2A8 0004B208 41 82 00 14 */ beq lbl_8004E2BC +/* 8004E2AC 0004B20C 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8004E2B0 0004B210 98 04 00 00 */ stb r0, 0(r4) +/* 8004E2B4 0004B214 90 64 00 04 */ stw r3, 4(r4) +/* 8004E2B8 0004B218 98 61 00 6C */ stb r3, 0x6c(r1) +lbl_8004E2BC: +/* 8004E2BC 0004B21C 34 84 00 08 */ addic. r4, r4, 8 +/* 8004E2C0 0004B220 41 82 00 14 */ beq lbl_8004E2D4 +/* 8004E2C4 0004B224 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8004E2C8 0004B228 98 04 00 00 */ stb r0, 0(r4) +/* 8004E2CC 0004B22C 90 64 00 04 */ stw r3, 4(r4) +/* 8004E2D0 0004B230 98 61 00 6C */ stb r3, 0x6c(r1) +lbl_8004E2D4: +/* 8004E2D4 0004B234 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8004E2D8 0004B238 28 00 00 00 */ cmplwi r0, 0 +/* 8004E2DC 0004B23C 41 82 00 0C */ beq lbl_8004E2E8 +/* 8004E2E0 0004B240 80 61 00 70 */ lwz r3, 0x70(r1) +/* 8004E2E4 0004B244 48 2C 76 4D */ bl Free__7CMemoryFPCv +lbl_8004E2E8: +/* 8004E2E8 0004B248 38 C0 00 00 */ li r6, 0 +/* 8004E2EC 0004B24C 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha +/* 8004E2F0 0004B250 90 DF 08 4C */ stw r6, 0x84c(r31) +/* 8004E2F4 0004B254 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l +/* 8004E2F8 0004B258 3C 60 00 01 */ lis r3, 0x0000F3C8@ha +/* 8004E2FC 0004B25C 38 1F 08 60 */ addi r0, r31, 0x860 +/* 8004E300 0004B260 90 DF 08 50 */ stw r6, 0x850(r31) +/* 8004E304 0004B264 38 63 F3 C8 */ addi r3, r3, 0x0000F3C8@l +/* 8004E308 0004B268 38 A0 00 00 */ li r5, 0 +/* 8004E30C 0004B26C 90 1F 08 58 */ stw r0, 0x858(r31) +/* 8004E310 0004B270 90 1F 08 5C */ stw r0, 0x85c(r31) +/* 8004E314 0004B274 90 1F 08 60 */ stw r0, 0x860(r31) +/* 8004E318 0004B278 90 1F 08 64 */ stw r0, 0x864(r31) +/* 8004E31C 0004B27C 90 DF 08 68 */ stw r6, 0x868(r31) +/* 8004E320 0004B280 48 00 13 1D */ bl "__nw__36TOneStatic<22CStateManagerContainer>FUlPCcPCc" +/* 8004E324 0004B284 7C 79 1B 79 */ or. r25, r3, r3 +/* 8004E328 0004B288 41 82 00 6C */ beq lbl_8004E394 +/* 8004E32C 0004B28C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004E330 0004B290 38 81 00 20 */ addi r4, r1, 0x20 +/* 8004E334 0004B294 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8004E338 0004B298 4B FB DD A9 */ bl __ct__14CCameraManagerF9TUniqueId +/* 8004E33C 0004B29C 38 79 03 C0 */ addi r3, r25, 0x3c0 +/* 8004E340 0004B2A0 48 0F C6 E9 */ bl __ct__Q22SL18CSortedListManagerFv +/* 8004E344 0004B2A4 3C 79 00 01 */ addis r3, r25, 1 +/* 8004E348 0004B2A8 38 63 E3 D8 */ addi r3, r3, -7208 +/* 8004E34C 0004B2AC 48 07 3F 89 */ bl __ct__10CWeaponMgrFv +/* 8004E350 0004B2B0 3C 79 00 01 */ addis r3, r25, 1 +/* 8004E354 0004B2B4 38 63 E3 EC */ addi r3, r3, -7188 +/* 8004E358 0004B2B8 48 0E 13 71 */ bl __ct__18CFluidPlaneManagerFv +/* 8004E35C 0004B2BC 3C 79 00 01 */ addis r3, r25, 1 +/* 8004E360 0004B2C0 38 63 E5 10 */ addi r3, r3, -6896 +/* 8004E364 0004B2C4 48 1C 4F 35 */ bl __ct__13CEnvFxManagerFv +/* 8004E368 0004B2C8 3C 79 00 01 */ addis r3, r25, 1 +/* 8004E36C 0004B2CC 38 63 F1 68 */ addi r3, r3, -3736 +/* 8004E370 0004B2D0 48 19 73 99 */ bl __ct__20CActorModelParticlesFv +/* 8004E374 0004B2D4 3C 79 00 01 */ addis r3, r25, 1 +/* 8004E378 0004B2D8 38 63 F2 50 */ addi r3, r3, -3504 +/* 8004E37C 0004B2DC 48 1D FF 75 */ bl __ct__14CRumbleManagerFv +/* 8004E380 0004B2E0 3C 79 00 01 */ addis r3, r25, 1 +/* 8004E384 0004B2E4 38 00 00 00 */ li r0, 0 +/* 8004E388 0004B2E8 90 03 F3 44 */ stw r0, -0xcbc(r3) +/* 8004E38C 0004B2EC 90 03 F3 70 */ stw r0, -0xc90(r3) +/* 8004E390 0004B2F0 90 03 F3 9C */ stw r0, -0xc64(r3) +lbl_8004E394: +/* 8004E394 0004B2F4 93 3F 08 6C */ stw r25, 0x86c(r31) +/* 8004E398 0004B2F8 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha +/* 8004E39C 0004B2FC 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l +/* 8004E3A0 0004B300 89 01 00 10 */ lbz r8, 0x10(r1) +/* 8004E3A4 0004B304 80 BF 08 6C */ lwz r5, 0x86c(r31) +/* 8004E3A8 0004B308 38 00 00 00 */ li r0, 0 +/* 8004E3AC 0004B30C 88 E1 00 1C */ lbz r7, 0x1c(r1) +/* 8004E3B0 0004B310 38 61 00 64 */ addi r3, r1, 0x64 +/* 8004E3B4 0004B314 90 BF 08 70 */ stw r5, 0x870(r31) +/* 8004E3B8 0004B318 38 A4 00 28 */ addi r5, r4, 0x28 +/* 8004E3BC 0004B31C 88 C1 00 0C */ lbz r6, 0xc(r1) +/* 8004E3C0 0004B320 81 3F 08 6C */ lwz r9, 0x86c(r31) +/* 8004E3C4 0004B324 88 81 00 18 */ lbz r4, 0x18(r1) +/* 8004E3C8 0004B328 39 29 03 C0 */ addi r9, r9, 0x3c0 +/* 8004E3CC 0004B32C 91 3F 08 74 */ stw r9, 0x874(r31) +/* 8004E3D0 0004B330 81 3F 08 6C */ lwz r9, 0x86c(r31) +/* 8004E3D4 0004B334 3D 29 00 01 */ addis r9, r9, 1 +/* 8004E3D8 0004B338 39 29 E3 D8 */ addi r9, r9, -7208 +/* 8004E3DC 0004B33C 91 3F 08 78 */ stw r9, 0x878(r31) +/* 8004E3E0 0004B340 81 3F 08 6C */ lwz r9, 0x86c(r31) +/* 8004E3E4 0004B344 3D 29 00 01 */ addis r9, r9, 1 +/* 8004E3E8 0004B348 39 29 E3 EC */ addi r9, r9, -7188 +/* 8004E3EC 0004B34C 91 3F 08 7C */ stw r9, 0x87c(r31) +/* 8004E3F0 0004B350 81 3F 08 6C */ lwz r9, 0x86c(r31) +/* 8004E3F4 0004B354 3D 29 00 01 */ addis r9, r9, 1 +/* 8004E3F8 0004B358 39 29 E5 10 */ addi r9, r9, -6896 +/* 8004E3FC 0004B35C 91 3F 08 80 */ stw r9, 0x880(r31) +/* 8004E400 0004B360 81 3F 08 6C */ lwz r9, 0x86c(r31) +/* 8004E404 0004B364 3D 29 00 01 */ addis r9, r9, 1 +/* 8004E408 0004B368 39 29 F1 68 */ addi r9, r9, -3736 +/* 8004E40C 0004B36C 91 3F 08 84 */ stw r9, 0x884(r31) +/* 8004E410 0004B370 81 3F 08 6C */ lwz r9, 0x86c(r31) +/* 8004E414 0004B374 3D 29 00 01 */ addis r9, r9, 1 +/* 8004E418 0004B378 39 29 F2 50 */ addi r9, r9, -3504 +/* 8004E41C 0004B37C 91 3F 08 8C */ stw r9, 0x88c(r31) +/* 8004E420 0004B380 99 1F 08 90 */ stb r8, 0x890(r31) +/* 8004E424 0004B384 98 FF 08 91 */ stb r7, 0x891(r31) +/* 8004E428 0004B388 90 1F 08 94 */ stw r0, 0x894(r31) +/* 8004E42C 0004B38C 90 1F 08 98 */ stw r0, 0x898(r31) +/* 8004E430 0004B390 90 1F 08 9C */ stw r0, 0x89c(r31) +/* 8004E434 0004B394 90 1F 08 A0 */ stw r0, 0x8a0(r31) +/* 8004E438 0004B398 98 DF 08 A4 */ stb r6, 0x8a4(r31) +/* 8004E43C 0004B39C 98 9F 08 A5 */ stb r4, 0x8a5(r31) +/* 8004E440 0004B3A0 90 1F 08 A8 */ stw r0, 0x8a8(r31) +/* 8004E444 0004B3A4 90 1F 08 AC */ stw r0, 0x8ac(r31) +/* 8004E448 0004B3A8 90 1F 08 B0 */ stw r0, 0x8b0(r31) +/* 8004E44C 0004B3AC 90 1F 08 B4 */ stw r0, 0x8b4(r31) +/* 8004E450 0004B3B0 80 9C 00 00 */ lwz r4, 0(r28) +/* 8004E454 0004B3B4 90 9F 08 B8 */ stw r4, 0x8b8(r31) +/* 8004E458 0004B3B8 80 DF 08 B8 */ lwz r6, 0x8b8(r31) +/* 8004E45C 0004B3BC 80 86 00 04 */ lwz r4, 4(r6) +/* 8004E460 0004B3C0 38 84 00 01 */ addi r4, r4, 1 +/* 8004E464 0004B3C4 90 86 00 04 */ stw r4, 4(r6) +/* 8004E468 0004B3C8 80 9A 00 00 */ lwz r4, 0(r26) +/* 8004E46C 0004B3CC 90 9F 08 BC */ stw r4, 0x8bc(r31) +/* 8004E470 0004B3D0 80 DF 08 BC */ lwz r6, 0x8bc(r31) +/* 8004E474 0004B3D4 80 86 00 04 */ lwz r4, 4(r6) +/* 8004E478 0004B3D8 38 84 00 01 */ addi r4, r4, 1 +/* 8004E47C 0004B3DC 90 86 00 04 */ stw r4, 4(r6) +/* 8004E480 0004B3E0 80 9B 00 00 */ lwz r4, 0(r27) +/* 8004E484 0004B3E4 90 9F 08 C0 */ stw r4, 0x8c0(r31) +/* 8004E488 0004B3E8 80 DF 08 C0 */ lwz r6, 0x8c0(r31) +/* 8004E48C 0004B3EC 80 86 00 04 */ lwz r4, 4(r6) +/* 8004E490 0004B3F0 38 84 00 01 */ addi r4, r4, 1 +/* 8004E494 0004B3F4 90 86 00 04 */ stw r4, 4(r6) +/* 8004E498 0004B3F8 80 9D 00 00 */ lwz r4, 0(r29) +/* 8004E49C 0004B3FC 90 9F 08 C4 */ stw r4, 0x8c4(r31) +/* 8004E4A0 0004B400 80 DF 08 C4 */ lwz r6, 0x8c4(r31) +/* 8004E4A4 0004B404 80 86 00 04 */ lwz r4, 4(r6) +/* 8004E4A8 0004B408 38 84 00 01 */ addi r4, r4, 1 +/* 8004E4AC 0004B40C 90 86 00 04 */ stw r4, 4(r6) +/* 8004E4B0 0004B410 80 9E 00 00 */ lwz r4, 0(r30) +/* 8004E4B4 0004B414 90 9F 08 C8 */ stw r4, 0x8c8(r31) +/* 8004E4B8 0004B418 80 DF 08 C8 */ lwz r6, 0x8c8(r31) +/* 8004E4BC 0004B41C 80 86 00 04 */ lwz r4, 4(r6) +/* 8004E4C0 0004B420 38 84 00 01 */ addi r4, r4, 1 +/* 8004E4C4 0004B424 90 86 00 04 */ stw r4, 4(r6) +/* 8004E4C8 0004B428 90 1F 08 CC */ stw r0, 0x8cc(r31) +/* 8004E4CC 0004B42C 80 8D A3 90 */ lwz r4, lbl_805A8F50@sda21(r13) +/* 8004E4D0 0004B430 90 9F 08 D0 */ stw r4, 0x8d0(r31) +/* 8004E4D4 0004B434 90 1F 08 D4 */ stw r0, 0x8d4(r31) +/* 8004E4D8 0004B438 90 1F 08 D8 */ stw r0, 0x8d8(r31) +/* 8004E4DC 0004B43C 90 1F 08 DC */ stw r0, 0x8dc(r31) +/* 8004E4E0 0004B440 90 1F 08 E4 */ stw r0, 0x8e4(r31) +/* 8004E4E4 0004B444 90 1F 08 E8 */ stw r0, 0x8e8(r31) +/* 8004E4E8 0004B448 90 1F 08 EC */ stw r0, 0x8ec(r31) +/* 8004E4EC 0004B44C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8004E4F0 0004B450 81 84 00 00 */ lwz r12, 0(r4) +/* 8004E4F4 0004B454 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8004E4F8 0004B458 7D 89 03 A6 */ mtctr r12 +/* 8004E4FC 0004B45C 4E 80 04 21 */ bctrl +/* 8004E500 0004B460 3B 3F 08 F0 */ addi r25, r31, 0x8f0 +/* 8004E504 0004B464 38 81 00 64 */ addi r4, r1, 0x64 +/* 8004E508 0004B468 7F 23 CB 78 */ mr r3, r25 +/* 8004E50C 0004B46C 48 2F 29 9D */ bl __ct__6CTokenFRC6CToken +/* 8004E510 0004B470 38 00 00 00 */ li r0, 0 +/* 8004E514 0004B474 38 61 00 64 */ addi r3, r1, 0x64 +/* 8004E518 0004B478 90 19 00 08 */ stw r0, 8(r25) +/* 8004E51C 0004B47C 38 80 FF FF */ li r4, -1 +/* 8004E520 0004B480 48 2F 29 21 */ bl __dt__6CTokenFv +/* 8004E524 0004B484 38 7F 08 FC */ addi r3, r31, 0x8fc +/* 8004E528 0004B488 38 80 00 00 */ li r4, 0 +/* 8004E52C 0004B48C 48 2C 40 C1 */ bl __ct__9CRandom16FUi +/* 8004E530 0004B490 38 A0 00 00 */ li r5, 0 +/* 8004E534 0004B494 88 81 00 08 */ lbz r4, 8(r1) +/* 8004E538 0004B498 90 BF 09 00 */ stw r5, 0x900(r31) +/* 8004E53C 0004B49C 38 7F 0B 54 */ addi r3, r31, 0xb54 +/* 8004E540 0004B4A0 88 01 00 14 */ lbz r0, 0x14(r1) +/* 8004E544 0004B4A4 90 BF 09 04 */ stw r5, 0x904(r31) +/* 8004E548 0004B4A8 90 BF 09 08 */ stw r5, 0x908(r31) +/* 8004E54C 0004B4AC 90 BF 0B 3C */ stw r5, 0xb3c(r31) +/* 8004E550 0004B4B0 98 9F 0B 40 */ stb r4, 0xb40(r31) +/* 8004E554 0004B4B4 98 1F 0B 41 */ stb r0, 0xb41(r31) +/* 8004E558 0004B4B8 90 BF 0B 44 */ stw r5, 0xb44(r31) +/* 8004E55C 0004B4BC 90 BF 0B 48 */ stw r5, 0xb48(r31) +/* 8004E560 0004B4C0 90 BF 0B 4C */ stw r5, 0xb4c(r31) +/* 8004E564 0004B4C4 90 BF 0B 50 */ stw r5, 0xb50(r31) +/* 8004E568 0004B4C8 48 2F B8 B9 */ bl __ct__11CFinalInputFv +/* 8004E56C 0004B4CC 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8004E570 0004B4D0 48 09 F2 1D */ bl __ct__17CCameraFilterPassFv +/* 8004E574 0004B4D4 38 60 00 09 */ li r3, 9 +/* 8004E578 0004B4D8 38 00 00 09 */ li r0, 9 +/* 8004E57C 0004B4DC 90 7F 0B 84 */ stw r3, 0xb84(r31) +/* 8004E580 0004B4E0 38 9F 0B 88 */ addi r4, r31, 0xb88 +/* 8004E584 0004B4E4 38 A1 00 CC */ addi r5, r1, 0xcc +/* 8004E588 0004B4E8 7C 09 03 A6 */ mtctr r0 +lbl_8004E58C: +/* 8004E58C 0004B4EC 28 04 00 00 */ cmplwi r4, 0 +/* 8004E590 0004B4F0 41 82 00 64 */ beq lbl_8004E5F4 +/* 8004E594 0004B4F4 80 61 00 A8 */ lwz r3, 0xa8(r1) +/* 8004E598 0004B4F8 38 00 00 00 */ li r0, 0 +/* 8004E59C 0004B4FC 90 64 00 00 */ stw r3, 0(r4) +/* 8004E5A0 0004B500 80 61 00 AC */ lwz r3, 0xac(r1) +/* 8004E5A4 0004B504 90 64 00 04 */ stw r3, 4(r4) +/* 8004E5A8 0004B508 80 61 00 B0 */ lwz r3, 0xb0(r1) +/* 8004E5AC 0004B50C 90 64 00 08 */ stw r3, 8(r4) +/* 8004E5B0 0004B510 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 8004E5B4 0004B514 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 8004E5B8 0004B518 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8004E5BC 0004B51C D0 04 00 10 */ stfs f0, 0x10(r4) +/* 8004E5C0 0004B520 80 61 00 BC */ lwz r3, 0xbc(r1) +/* 8004E5C4 0004B524 90 64 00 14 */ stw r3, 0x14(r4) +/* 8004E5C8 0004B528 80 61 00 C0 */ lwz r3, 0xc0(r1) +/* 8004E5CC 0004B52C 90 64 00 18 */ stw r3, 0x18(r4) +/* 8004E5D0 0004B530 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 8004E5D4 0004B534 90 64 00 1C */ stw r3, 0x1c(r4) +/* 8004E5D8 0004B538 80 61 00 C8 */ lwz r3, 0xc8(r1) +/* 8004E5DC 0004B53C 90 64 00 20 */ stw r3, 0x20(r4) +/* 8004E5E0 0004B540 88 61 00 CC */ lbz r3, 0xcc(r1) +/* 8004E5E4 0004B544 98 64 00 24 */ stb r3, 0x24(r4) +/* 8004E5E8 0004B548 80 61 00 D0 */ lwz r3, 0xd0(r1) +/* 8004E5EC 0004B54C 90 64 00 28 */ stw r3, 0x28(r4) +/* 8004E5F0 0004B550 98 01 00 CC */ stb r0, 0xcc(r1) +lbl_8004E5F4: +/* 8004E5F4 0004B554 38 84 00 2C */ addi r4, r4, 0x2c +/* 8004E5F8 0004B558 42 00 FF 94 */ bdnz lbl_8004E58C +/* 8004E5FC 0004B55C 28 05 00 00 */ cmplwi r5, 0 +/* 8004E600 0004B560 41 82 00 34 */ beq lbl_8004E634 +/* 8004E604 0004B564 88 01 00 CC */ lbz r0, 0xcc(r1) +/* 8004E608 0004B568 28 00 00 00 */ cmplwi r0, 0 +/* 8004E60C 0004B56C 41 82 00 28 */ beq lbl_8004E634 +/* 8004E610 0004B570 83 21 00 D0 */ lwz r25, 0xd0(r1) +/* 8004E614 0004B574 28 19 00 00 */ cmplwi r25, 0 +/* 8004E618 0004B578 41 82 00 1C */ beq lbl_8004E634 +/* 8004E61C 0004B57C 41 82 00 10 */ beq lbl_8004E62C +/* 8004E620 0004B580 7F 23 CB 78 */ mr r3, r25 +/* 8004E624 0004B584 38 80 00 00 */ li r4, 0 +/* 8004E628 0004B588 48 2F 28 19 */ bl __dt__6CTokenFv +lbl_8004E62C: +/* 8004E62C 0004B58C 7F 23 CB 78 */ mr r3, r25 +/* 8004E630 0004B590 48 2C 73 01 */ bl Free__7CMemoryFPCv +lbl_8004E634: +/* 8004E634 0004B594 38 61 00 74 */ addi r3, r1, 0x74 +/* 8004E638 0004B598 48 09 DA 05 */ bl __ct__15CCameraBlurPassFv +/* 8004E63C 0004B59C 38 7F 0D 14 */ addi r3, r31, 0xd14 +/* 8004E640 0004B5A0 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8004E644 0004B5A4 38 80 00 09 */ li r4, 9 +/* 8004E648 0004B5A8 48 00 0C 99 */ bl sub_8004f2e0 +/* 8004E64C 0004B5AC 88 01 00 80 */ lbz r0, 0x80(r1) +/* 8004E650 0004B5B0 28 00 00 00 */ cmplwi r0, 0 +/* 8004E654 0004B5B4 41 82 00 1C */ beq lbl_8004E670 +/* 8004E658 0004B5B8 34 61 00 74 */ addic. r3, r1, 0x74 +/* 8004E65C 0004B5BC 41 82 00 14 */ beq lbl_8004E670 +/* 8004E660 0004B5C0 28 03 00 00 */ cmplwi r3, 0 +/* 8004E664 0004B5C4 41 82 00 0C */ beq lbl_8004E670 +/* 8004E668 0004B5C8 38 80 00 00 */ li r4, 0 +/* 8004E66C 0004B5CC 48 2F 27 D5 */ bl __dt__6CTokenFv +lbl_8004E670: +/* 8004E670 0004B5D0 38 C0 00 00 */ li r6, 0 +/* 8004E674 0004B5D4 38 00 FF FF */ li r0, -1 +/* 8004E678 0004B5D8 98 C1 00 80 */ stb r6, 0x80(r1) +/* 8004E67C 0004B5DC 38 7F 0E F8 */ addi r3, r31, 0xef8 +/* 8004E680 0004B5E0 38 80 00 00 */ li r4, 0 +/* 8004E684 0004B5E4 38 A0 00 00 */ li r5, 0 +/* 8004E688 0004B5E8 90 1F 0E EC */ stw r0, 0xeec(r31) +/* 8004E68C 0004B5EC 90 DF 0E F0 */ stw r6, 0xef0(r31) +/* 8004E690 0004B5F0 90 1F 0E F4 */ stw r0, 0xef4(r31) +/* 8004E694 0004B5F4 48 2C 5C B9 */ bl __ct__9CVector2iFii +/* 8004E698 0004B5F8 38 7F 0F 00 */ addi r3, r31, 0xf00 +/* 8004E69C 0004B5FC 38 80 00 00 */ li r4, 0 +/* 8004E6A0 0004B600 38 A0 00 00 */ li r5, 0 +/* 8004E6A4 0004B604 48 2C 5C A9 */ bl __ct__9CVector2iFii +/* 8004E6A8 0004B608 39 40 FF FF */ li r10, -1 +/* 8004E6AC 0004B60C 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha +/* 8004E6B0 0004B610 91 5F 0F 08 */ stw r10, 0xf08(r31) +/* 8004E6B4 0004B614 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l +/* 8004E6B8 0004B618 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) +/* 8004E6BC 0004B61C 39 00 00 00 */ li r8, 0 +/* 8004E6C0 0004B620 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) +/* 8004E6C4 0004B624 38 E0 00 02 */ li r7, 2 +/* 8004E6C8 0004B628 D0 3F 0F 0C */ stfs f1, 0xf0c(r31) +/* 8004E6CC 0004B62C 38 DF 0F 48 */ addi r6, r31, 0xf48 +/* 8004E6D0 0004B630 38 1F 0F 60 */ addi r0, r31, 0xf60 +/* 8004E6D4 0004B634 38 60 20 0C */ li r3, 0x200c +/* 8004E6D8 0004B638 D0 3F 0F 10 */ stfs f1, 0xf10(r31) +/* 8004E6DC 0004B63C 38 A0 00 00 */ li r5, 0 +/* 8004E6E0 0004B640 D0 3F 0F 14 */ stfs f1, 0xf14(r31) +/* 8004E6E4 0004B644 A1 2D A3 8C */ lhz r9, lbl_805A8F4C@sda21(r13) +/* 8004E6E8 0004B648 B1 3F 0F 18 */ sth r9, 0xf18(r31) +/* 8004E6EC 0004B64C D0 3F 0F 1C */ stfs f1, 0xf1c(r31) +/* 8004E6F0 0004B650 91 1F 0F 20 */ stw r8, 0xf20(r31) +/* 8004E6F4 0004B654 D0 3F 0F 24 */ stfs f1, 0xf24(r31) +/* 8004E6F8 0004B658 D0 3F 0F 28 */ stfs f1, 0xf28(r31) +/* 8004E6FC 0004B65C D0 1F 0F 2C */ stfs f0, 0xf2c(r31) +/* 8004E700 0004B660 D0 1F 0F 30 */ stfs f0, 0xf30(r31) +/* 8004E704 0004B664 90 FF 0F 34 */ stw r7, 0xf34(r31) +/* 8004E708 0004B668 A0 ED A3 8C */ lhz r7, lbl_805A8F4C@sda21(r13) +/* 8004E70C 0004B66C B0 FF 0F 38 */ sth r7, 0xf38(r31) +/* 8004E710 0004B670 90 DF 0F 40 */ stw r6, 0xf40(r31) +/* 8004E714 0004B674 90 DF 0F 44 */ stw r6, 0xf44(r31) +/* 8004E718 0004B678 90 DF 0F 48 */ stw r6, 0xf48(r31) +/* 8004E71C 0004B67C 90 DF 0F 4C */ stw r6, 0xf4c(r31) +/* 8004E720 0004B680 91 1F 0F 50 */ stw r8, 0xf50(r31) +/* 8004E724 0004B684 90 1F 0F 58 */ stw r0, 0xf58(r31) +/* 8004E728 0004B688 90 1F 0F 5C */ stw r0, 0xf5c(r31) +/* 8004E72C 0004B68C 90 1F 0F 60 */ stw r0, 0xf60(r31) +/* 8004E730 0004B690 90 1F 0F 64 */ stw r0, 0xf64(r31) +/* 8004E734 0004B694 91 1F 0F 68 */ stw r8, 0xf68(r31) +/* 8004E738 0004B698 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004E73C 0004B69C B0 1F 0F 6C */ sth r0, 0xf6c(r31) +/* 8004E740 0004B6A0 91 1F 0F 70 */ stw r8, 0xf70(r31) +/* 8004E744 0004B6A4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004E748 0004B6A8 B0 1F 0F 74 */ sth r0, 0xf74(r31) +/* 8004E74C 0004B6AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8004E750 0004B6B0 B0 1F 0F 76 */ sth r0, 0xf76(r31) +/* 8004E754 0004B6B4 D0 3F 0F 78 */ stfs f1, 0xf78(r31) +/* 8004E758 0004B6B8 91 1F 0F 7C */ stw r8, 0xf7c(r31) +/* 8004E75C 0004B6BC 91 1F 0F 80 */ stw r8, 0xf80(r31) +/* 8004E760 0004B6C0 91 5F 0F 84 */ stw r10, 0xf84(r31) +/* 8004E764 0004B6C4 91 5F 0F 88 */ stw r10, 0xf88(r31) +/* 8004E768 0004B6C8 D0 3F 0F 8C */ stfs f1, 0xf8c(r31) +/* 8004E76C 0004B6CC 91 1F 0F 90 */ stw r8, 0xf90(r31) +/* 8004E770 0004B6D0 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 8004E774 0004B6D4 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 +/* 8004E778 0004B6D8 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 8004E77C 0004B6DC 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 8004E780 0004B6E0 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 +/* 8004E784 0004B6E4 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 8004E788 0004B6E8 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 8004E78C 0004B6EC 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a +/* 8004E790 0004B6F0 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 8004E794 0004B6F4 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 8004E798 0004B6F8 51 00 26 F6 */ rlwimi r0, r8, 4, 0x1b, 0x1b +/* 8004E79C 0004B6FC 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 8004E7A0 0004B700 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 8004E7A4 0004B704 51 00 1F 38 */ rlwimi r0, r8, 3, 0x1c, 0x1c +/* 8004E7A8 0004B708 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 8004E7AC 0004B70C 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 8004E7B0 0004B710 51 00 17 7A */ rlwimi r0, r8, 2, 0x1d, 0x1d +/* 8004E7B4 0004B714 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 8004E7B8 0004B718 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 8004E7BC 0004B71C 51 00 0F BC */ rlwimi r0, r8, 1, 0x1e, 0x1e +/* 8004E7C0 0004B720 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 8004E7C4 0004B724 48 2C 70 A9 */ bl __nw__FUlPCcPCc +/* 8004E7C8 0004B728 7C 64 1B 79 */ or. r4, r3, r3 +/* 8004E7CC 0004B72C 41 82 00 10 */ beq lbl_8004E7DC +/* 8004E7D0 0004B730 38 80 00 00 */ li r4, 0 +/* 8004E7D4 0004B734 4B FC 18 65 */ bl __ct__11CObjectListF15EGameObjectList +/* 8004E7D8 0004B738 7C 64 1B 78 */ mr r4, r3 +lbl_8004E7DC: +/* 8004E7DC 0004B73C 7C 04 00 D0 */ neg r0, r4 +/* 8004E7E0 0004B740 3B 3F 08 0C */ addi r25, r31, 0x80c +/* 8004E7E4 0004B744 7C 03 23 78 */ or r3, r0, r4 +/* 8004E7E8 0004B748 38 01 00 5C */ addi r0, r1, 0x5c +/* 8004E7EC 0004B74C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8004E7F0 0004B750 90 81 00 60 */ stw r4, 0x60(r1) +/* 8004E7F4 0004B754 7C 00 C8 40 */ cmplw r0, r25 +/* 8004E7F8 0004B758 98 61 00 5C */ stb r3, 0x5c(r1) +/* 8004E7FC 0004B75C 41 82 00 30 */ beq lbl_8004E82C +/* 8004E800 0004B760 88 19 00 00 */ lbz r0, 0(r25) +/* 8004E804 0004B764 28 00 00 00 */ cmplwi r0, 0 +/* 8004E808 0004B768 41 82 00 0C */ beq lbl_8004E814 +/* 8004E80C 0004B76C 80 79 00 04 */ lwz r3, 4(r25) +/* 8004E810 0004B770 48 2C 71 21 */ bl Free__7CMemoryFPCv +lbl_8004E814: +/* 8004E814 0004B774 88 61 00 5C */ lbz r3, 0x5c(r1) +/* 8004E818 0004B778 38 00 00 00 */ li r0, 0 +/* 8004E81C 0004B77C 98 79 00 00 */ stb r3, 0(r25) +/* 8004E820 0004B780 80 61 00 60 */ lwz r3, 0x60(r1) +/* 8004E824 0004B784 90 79 00 04 */ stw r3, 4(r25) +/* 8004E828 0004B788 98 01 00 5C */ stb r0, 0x5c(r1) +lbl_8004E82C: +/* 8004E82C 0004B78C 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 8004E830 0004B790 28 00 00 00 */ cmplwi r0, 0 +/* 8004E834 0004B794 41 82 00 0C */ beq lbl_8004E840 +/* 8004E838 0004B798 80 61 00 60 */ lwz r3, 0x60(r1) +/* 8004E83C 0004B79C 48 2C 70 F5 */ bl Free__7CMemoryFPCv +lbl_8004E840: +/* 8004E840 0004B7A0 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004E844 0004B7A4 38 60 20 0C */ li r3, 0x200c +/* 8004E848 0004B7A8 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004E84C 0004B7AC 38 A0 00 00 */ li r5, 0 +/* 8004E850 0004B7B0 48 2C 70 1D */ bl __nw__FUlPCcPCc +/* 8004E854 0004B7B4 7C 64 1B 79 */ or. r4, r3, r3 +/* 8004E858 0004B7B8 41 82 00 0C */ beq lbl_8004E864 +/* 8004E85C 0004B7BC 48 16 A0 09 */ bl __ct__10CActorListFv +/* 8004E860 0004B7C0 7C 64 1B 78 */ mr r4, r3 +lbl_8004E864: +/* 8004E864 0004B7C4 7C 04 00 D0 */ neg r0, r4 +/* 8004E868 0004B7C8 3B 3F 08 14 */ addi r25, r31, 0x814 +/* 8004E86C 0004B7CC 7C 03 23 78 */ or r3, r0, r4 +/* 8004E870 0004B7D0 38 01 00 54 */ addi r0, r1, 0x54 +/* 8004E874 0004B7D4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8004E878 0004B7D8 90 81 00 58 */ stw r4, 0x58(r1) +/* 8004E87C 0004B7DC 7C 00 C8 40 */ cmplw r0, r25 +/* 8004E880 0004B7E0 98 61 00 54 */ stb r3, 0x54(r1) +/* 8004E884 0004B7E4 41 82 00 30 */ beq lbl_8004E8B4 +/* 8004E888 0004B7E8 88 19 00 00 */ lbz r0, 0(r25) +/* 8004E88C 0004B7EC 28 00 00 00 */ cmplwi r0, 0 +/* 8004E890 0004B7F0 41 82 00 0C */ beq lbl_8004E89C +/* 8004E894 0004B7F4 80 79 00 04 */ lwz r3, 4(r25) +/* 8004E898 0004B7F8 48 2C 70 99 */ bl Free__7CMemoryFPCv +lbl_8004E89C: +/* 8004E89C 0004B7FC 88 61 00 54 */ lbz r3, 0x54(r1) +/* 8004E8A0 0004B800 38 00 00 00 */ li r0, 0 +/* 8004E8A4 0004B804 98 79 00 00 */ stb r3, 0(r25) +/* 8004E8A8 0004B808 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8004E8AC 0004B80C 90 79 00 04 */ stw r3, 4(r25) +/* 8004E8B0 0004B810 98 01 00 54 */ stb r0, 0x54(r1) +lbl_8004E8B4: +/* 8004E8B4 0004B814 88 01 00 54 */ lbz r0, 0x54(r1) +/* 8004E8B8 0004B818 28 00 00 00 */ cmplwi r0, 0 +/* 8004E8BC 0004B81C 41 82 00 0C */ beq lbl_8004E8C8 +/* 8004E8C0 0004B820 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8004E8C4 0004B824 48 2C 70 6D */ bl Free__7CMemoryFPCv +lbl_8004E8C8: +/* 8004E8C8 0004B828 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004E8CC 0004B82C 38 60 20 0C */ li r3, 0x200c +/* 8004E8D0 0004B830 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004E8D4 0004B834 38 A0 00 00 */ li r5, 0 +/* 8004E8D8 0004B838 48 2C 6F 95 */ bl __nw__FUlPCcPCc +/* 8004E8DC 0004B83C 7C 64 1B 79 */ or. r4, r3, r3 +/* 8004E8E0 0004B840 41 82 00 0C */ beq lbl_8004E8EC +/* 8004E8E4 0004B844 48 16 9F 0D */ bl __ct__17CPhysicsActorListFv +/* 8004E8E8 0004B848 7C 64 1B 78 */ mr r4, r3 +lbl_8004E8EC: +/* 8004E8EC 0004B84C 7C 04 00 D0 */ neg r0, r4 +/* 8004E8F0 0004B850 3B 3F 08 1C */ addi r25, r31, 0x81c +/* 8004E8F4 0004B854 7C 03 23 78 */ or r3, r0, r4 +/* 8004E8F8 0004B858 38 01 00 4C */ addi r0, r1, 0x4c +/* 8004E8FC 0004B85C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8004E900 0004B860 90 81 00 50 */ stw r4, 0x50(r1) +/* 8004E904 0004B864 7C 00 C8 40 */ cmplw r0, r25 +/* 8004E908 0004B868 98 61 00 4C */ stb r3, 0x4c(r1) +/* 8004E90C 0004B86C 41 82 00 30 */ beq lbl_8004E93C +/* 8004E910 0004B870 88 19 00 00 */ lbz r0, 0(r25) +/* 8004E914 0004B874 28 00 00 00 */ cmplwi r0, 0 +/* 8004E918 0004B878 41 82 00 0C */ beq lbl_8004E924 +/* 8004E91C 0004B87C 80 79 00 04 */ lwz r3, 4(r25) +/* 8004E920 0004B880 48 2C 70 11 */ bl Free__7CMemoryFPCv +lbl_8004E924: +/* 8004E924 0004B884 88 61 00 4C */ lbz r3, 0x4c(r1) +/* 8004E928 0004B888 38 00 00 00 */ li r0, 0 +/* 8004E92C 0004B88C 98 79 00 00 */ stb r3, 0(r25) +/* 8004E930 0004B890 80 61 00 50 */ lwz r3, 0x50(r1) +/* 8004E934 0004B894 90 79 00 04 */ stw r3, 4(r25) +/* 8004E938 0004B898 98 01 00 4C */ stb r0, 0x4c(r1) +lbl_8004E93C: +/* 8004E93C 0004B89C 88 01 00 4C */ lbz r0, 0x4c(r1) +/* 8004E940 0004B8A0 28 00 00 00 */ cmplwi r0, 0 +/* 8004E944 0004B8A4 41 82 00 0C */ beq lbl_8004E950 +/* 8004E948 0004B8A8 80 61 00 50 */ lwz r3, 0x50(r1) +/* 8004E94C 0004B8AC 48 2C 6F E5 */ bl Free__7CMemoryFPCv +lbl_8004E950: +/* 8004E950 0004B8B0 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004E954 0004B8B4 38 60 20 0C */ li r3, 0x200c +/* 8004E958 0004B8B8 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004E95C 0004B8BC 38 A0 00 00 */ li r5, 0 +/* 8004E960 0004B8C0 48 2C 6F 0D */ bl __nw__FUlPCcPCc +/* 8004E964 0004B8C4 7C 64 1B 79 */ or. r4, r3, r3 +/* 8004E968 0004B8C8 41 82 00 0C */ beq lbl_8004E974 +/* 8004E96C 0004B8CC 48 16 9E 11 */ bl __ct__15CGameCameraListFv +/* 8004E970 0004B8D0 7C 64 1B 78 */ mr r4, r3 +lbl_8004E974: +/* 8004E974 0004B8D4 7C 04 00 D0 */ neg r0, r4 +/* 8004E978 0004B8D8 3B 3F 08 24 */ addi r25, r31, 0x824 +/* 8004E97C 0004B8DC 7C 03 23 78 */ or r3, r0, r4 +/* 8004E980 0004B8E0 38 01 00 44 */ addi r0, r1, 0x44 +/* 8004E984 0004B8E4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8004E988 0004B8E8 90 81 00 48 */ stw r4, 0x48(r1) +/* 8004E98C 0004B8EC 7C 00 C8 40 */ cmplw r0, r25 +/* 8004E990 0004B8F0 98 61 00 44 */ stb r3, 0x44(r1) +/* 8004E994 0004B8F4 41 82 00 30 */ beq lbl_8004E9C4 +/* 8004E998 0004B8F8 88 19 00 00 */ lbz r0, 0(r25) +/* 8004E99C 0004B8FC 28 00 00 00 */ cmplwi r0, 0 +/* 8004E9A0 0004B900 41 82 00 0C */ beq lbl_8004E9AC +/* 8004E9A4 0004B904 80 79 00 04 */ lwz r3, 4(r25) +/* 8004E9A8 0004B908 48 2C 6F 89 */ bl Free__7CMemoryFPCv +lbl_8004E9AC: +/* 8004E9AC 0004B90C 88 61 00 44 */ lbz r3, 0x44(r1) +/* 8004E9B0 0004B910 38 00 00 00 */ li r0, 0 +/* 8004E9B4 0004B914 98 79 00 00 */ stb r3, 0(r25) +/* 8004E9B8 0004B918 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8004E9BC 0004B91C 90 79 00 04 */ stw r3, 4(r25) +/* 8004E9C0 0004B920 98 01 00 44 */ stb r0, 0x44(r1) +lbl_8004E9C4: +/* 8004E9C4 0004B924 88 01 00 44 */ lbz r0, 0x44(r1) +/* 8004E9C8 0004B928 28 00 00 00 */ cmplwi r0, 0 +/* 8004E9CC 0004B92C 41 82 00 0C */ beq lbl_8004E9D8 +/* 8004E9D0 0004B930 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8004E9D4 0004B934 48 2C 6F 5D */ bl Free__7CMemoryFPCv +lbl_8004E9D8: +/* 8004E9D8 0004B938 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004E9DC 0004B93C 38 60 20 0C */ li r3, 0x200c +/* 8004E9E0 0004B940 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004E9E4 0004B944 38 A0 00 00 */ li r5, 0 +/* 8004E9E8 0004B948 48 2C 6E 85 */ bl __nw__FUlPCcPCc +/* 8004E9EC 0004B94C 7C 64 1B 79 */ or. r4, r3, r3 +/* 8004E9F0 0004B950 41 82 00 0C */ beq lbl_8004E9FC +/* 8004E9F4 0004B954 48 16 9A BD */ bl __ct__14CGameLightListFv +/* 8004E9F8 0004B958 7C 64 1B 78 */ mr r4, r3 +lbl_8004E9FC: +/* 8004E9FC 0004B95C 7C 04 00 D0 */ neg r0, r4 +/* 8004EA00 0004B960 3B 3F 08 2C */ addi r25, r31, 0x82c +/* 8004EA04 0004B964 7C 03 23 78 */ or r3, r0, r4 +/* 8004EA08 0004B968 38 01 00 3C */ addi r0, r1, 0x3c +/* 8004EA0C 0004B96C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8004EA10 0004B970 90 81 00 40 */ stw r4, 0x40(r1) +/* 8004EA14 0004B974 7C 00 C8 40 */ cmplw r0, r25 +/* 8004EA18 0004B978 98 61 00 3C */ stb r3, 0x3c(r1) +/* 8004EA1C 0004B97C 41 82 00 30 */ beq lbl_8004EA4C +/* 8004EA20 0004B980 88 19 00 00 */ lbz r0, 0(r25) +/* 8004EA24 0004B984 28 00 00 00 */ cmplwi r0, 0 +/* 8004EA28 0004B988 41 82 00 0C */ beq lbl_8004EA34 +/* 8004EA2C 0004B98C 80 79 00 04 */ lwz r3, 4(r25) +/* 8004EA30 0004B990 48 2C 6F 01 */ bl Free__7CMemoryFPCv +lbl_8004EA34: +/* 8004EA34 0004B994 88 61 00 3C */ lbz r3, 0x3c(r1) +/* 8004EA38 0004B998 38 00 00 00 */ li r0, 0 +/* 8004EA3C 0004B99C 98 79 00 00 */ stb r3, 0(r25) +/* 8004EA40 0004B9A0 80 61 00 40 */ lwz r3, 0x40(r1) +/* 8004EA44 0004B9A4 90 79 00 04 */ stw r3, 4(r25) +/* 8004EA48 0004B9A8 98 01 00 3C */ stb r0, 0x3c(r1) +lbl_8004EA4C: +/* 8004EA4C 0004B9AC 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 8004EA50 0004B9B0 28 00 00 00 */ cmplwi r0, 0 +/* 8004EA54 0004B9B4 41 82 00 0C */ beq lbl_8004EA60 +/* 8004EA58 0004B9B8 80 61 00 40 */ lwz r3, 0x40(r1) +/* 8004EA5C 0004B9BC 48 2C 6E D5 */ bl Free__7CMemoryFPCv +lbl_8004EA60: +/* 8004EA60 0004B9C0 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004EA64 0004B9C4 38 60 20 0C */ li r3, 0x200c +/* 8004EA68 0004B9C8 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004EA6C 0004B9CC 38 A0 00 00 */ li r5, 0 +/* 8004EA70 0004B9D0 48 2C 6D FD */ bl __nw__FUlPCcPCc +/* 8004EA74 0004B9D4 7C 64 1B 79 */ or. r4, r3, r3 +/* 8004EA78 0004B9D8 41 82 00 0C */ beq lbl_8004EA84 +/* 8004EA7C 0004B9DC 48 16 9C 8D */ bl __ct__16CListeningAiListFv +/* 8004EA80 0004B9E0 7C 64 1B 78 */ mr r4, r3 +lbl_8004EA84: +/* 8004EA84 0004B9E4 7C 04 00 D0 */ neg r0, r4 +/* 8004EA88 0004B9E8 3B 3F 08 34 */ addi r25, r31, 0x834 +/* 8004EA8C 0004B9EC 7C 03 23 78 */ or r3, r0, r4 +/* 8004EA90 0004B9F0 38 01 00 34 */ addi r0, r1, 0x34 +/* 8004EA94 0004B9F4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8004EA98 0004B9F8 90 81 00 38 */ stw r4, 0x38(r1) +/* 8004EA9C 0004B9FC 7C 00 C8 40 */ cmplw r0, r25 +/* 8004EAA0 0004BA00 98 61 00 34 */ stb r3, 0x34(r1) +/* 8004EAA4 0004BA04 41 82 00 30 */ beq lbl_8004EAD4 +/* 8004EAA8 0004BA08 88 19 00 00 */ lbz r0, 0(r25) +/* 8004EAAC 0004BA0C 28 00 00 00 */ cmplwi r0, 0 +/* 8004EAB0 0004BA10 41 82 00 0C */ beq lbl_8004EABC +/* 8004EAB4 0004BA14 80 79 00 04 */ lwz r3, 4(r25) +/* 8004EAB8 0004BA18 48 2C 6E 79 */ bl Free__7CMemoryFPCv +lbl_8004EABC: +/* 8004EABC 0004BA1C 88 61 00 34 */ lbz r3, 0x34(r1) +/* 8004EAC0 0004BA20 38 00 00 00 */ li r0, 0 +/* 8004EAC4 0004BA24 98 79 00 00 */ stb r3, 0(r25) +/* 8004EAC8 0004BA28 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8004EACC 0004BA2C 90 79 00 04 */ stw r3, 4(r25) +/* 8004EAD0 0004BA30 98 01 00 34 */ stb r0, 0x34(r1) +lbl_8004EAD4: +/* 8004EAD4 0004BA34 88 01 00 34 */ lbz r0, 0x34(r1) +/* 8004EAD8 0004BA38 28 00 00 00 */ cmplwi r0, 0 +/* 8004EADC 0004BA3C 41 82 00 0C */ beq lbl_8004EAE8 +/* 8004EAE0 0004BA40 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8004EAE4 0004BA44 48 2C 6E 4D */ bl Free__7CMemoryFPCv +lbl_8004EAE8: +/* 8004EAE8 0004BA48 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004EAEC 0004BA4C 38 60 20 0C */ li r3, 0x200c +/* 8004EAF0 0004BA50 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004EAF4 0004BA54 38 A0 00 00 */ li r5, 0 +/* 8004EAF8 0004BA58 48 2C 6D 75 */ bl __nw__FUlPCcPCc +/* 8004EAFC 0004BA5C 7C 64 1B 79 */ or. r4, r3, r3 +/* 8004EB00 0004BA60 41 82 00 0C */ beq lbl_8004EB0C +/* 8004EB04 0004BA64 48 16 9B 69 */ bl __ct__15CAiWaypointListFv +/* 8004EB08 0004BA68 7C 64 1B 78 */ mr r4, r3 +lbl_8004EB0C: +/* 8004EB0C 0004BA6C 7C 04 00 D0 */ neg r0, r4 +/* 8004EB10 0004BA70 3B 3F 08 3C */ addi r25, r31, 0x83c +/* 8004EB14 0004BA74 7C 03 23 78 */ or r3, r0, r4 +/* 8004EB18 0004BA78 38 01 00 2C */ addi r0, r1, 0x2c +/* 8004EB1C 0004BA7C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8004EB20 0004BA80 90 81 00 30 */ stw r4, 0x30(r1) +/* 8004EB24 0004BA84 7C 00 C8 40 */ cmplw r0, r25 +/* 8004EB28 0004BA88 98 61 00 2C */ stb r3, 0x2c(r1) +/* 8004EB2C 0004BA8C 41 82 00 30 */ beq lbl_8004EB5C +/* 8004EB30 0004BA90 88 19 00 00 */ lbz r0, 0(r25) +/* 8004EB34 0004BA94 28 00 00 00 */ cmplwi r0, 0 +/* 8004EB38 0004BA98 41 82 00 0C */ beq lbl_8004EB44 +/* 8004EB3C 0004BA9C 80 79 00 04 */ lwz r3, 4(r25) +/* 8004EB40 0004BAA0 48 2C 6D F1 */ bl Free__7CMemoryFPCv +lbl_8004EB44: +/* 8004EB44 0004BAA4 88 61 00 2C */ lbz r3, 0x2c(r1) +/* 8004EB48 0004BAA8 38 00 00 00 */ li r0, 0 +/* 8004EB4C 0004BAAC 98 79 00 00 */ stb r3, 0(r25) +/* 8004EB50 0004BAB0 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8004EB54 0004BAB4 90 79 00 04 */ stw r3, 4(r25) +/* 8004EB58 0004BAB8 98 01 00 2C */ stb r0, 0x2c(r1) +lbl_8004EB5C: +/* 8004EB5C 0004BABC 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 8004EB60 0004BAC0 28 00 00 00 */ cmplwi r0, 0 +/* 8004EB64 0004BAC4 41 82 00 0C */ beq lbl_8004EB70 +/* 8004EB68 0004BAC8 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8004EB6C 0004BACC 48 2C 6D C5 */ bl Free__7CMemoryFPCv +lbl_8004EB70: +/* 8004EB70 0004BAD0 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004EB74 0004BAD4 38 60 20 0C */ li r3, 0x200c +/* 8004EB78 0004BAD8 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004EB7C 0004BADC 38 A0 00 00 */ li r5, 0 +/* 8004EB80 0004BAE0 48 2C 6C ED */ bl __nw__FUlPCcPCc +/* 8004EB84 0004BAE4 7C 64 1B 79 */ or. r4, r3, r3 +/* 8004EB88 0004BAE8 41 82 00 0C */ beq lbl_8004EB94 +/* 8004EB8C 0004BAEC 48 16 9A 31 */ bl __ct__20CPlatformAndDoorListFv +/* 8004EB90 0004BAF0 7C 64 1B 78 */ mr r4, r3 +lbl_8004EB94: +/* 8004EB94 0004BAF4 7C 04 00 D0 */ neg r0, r4 +/* 8004EB98 0004BAF8 3B 3F 08 44 */ addi r25, r31, 0x844 +/* 8004EB9C 0004BAFC 7C 03 23 78 */ or r3, r0, r4 +/* 8004EBA0 0004BB00 38 01 00 24 */ addi r0, r1, 0x24 +/* 8004EBA4 0004BB04 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8004EBA8 0004BB08 90 81 00 28 */ stw r4, 0x28(r1) +/* 8004EBAC 0004BB0C 7C 00 C8 40 */ cmplw r0, r25 +/* 8004EBB0 0004BB10 98 61 00 24 */ stb r3, 0x24(r1) +/* 8004EBB4 0004BB14 41 82 00 30 */ beq lbl_8004EBE4 +/* 8004EBB8 0004BB18 88 19 00 00 */ lbz r0, 0(r25) +/* 8004EBBC 0004BB1C 28 00 00 00 */ cmplwi r0, 0 +/* 8004EBC0 0004BB20 41 82 00 0C */ beq lbl_8004EBCC +/* 8004EBC4 0004BB24 80 79 00 04 */ lwz r3, 4(r25) +/* 8004EBC8 0004BB28 48 2C 6D 69 */ bl Free__7CMemoryFPCv +lbl_8004EBCC: +/* 8004EBCC 0004BB2C 88 61 00 24 */ lbz r3, 0x24(r1) +/* 8004EBD0 0004BB30 38 00 00 00 */ li r0, 0 +/* 8004EBD4 0004BB34 98 79 00 00 */ stb r3, 0(r25) +/* 8004EBD8 0004BB38 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8004EBDC 0004BB3C 90 79 00 04 */ stw r3, 4(r25) +/* 8004EBE0 0004BB40 98 01 00 24 */ stb r0, 0x24(r1) +lbl_8004EBE4: +/* 8004EBE4 0004BB44 88 01 00 24 */ lbz r0, 0x24(r1) +/* 8004EBE8 0004BB48 28 00 00 00 */ cmplwi r0, 0 +/* 8004EBEC 0004BB4C 41 82 00 0C */ beq lbl_8004EBF8 +/* 8004EBF0 0004BB50 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8004EBF4 0004BB54 48 2C 6D 3D */ bl Free__7CMemoryFPCv +lbl_8004EBF8: +/* 8004EBF8 0004BB58 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8004EBFC 0004BB5C 3C 80 80 04 */ lis r4, RendererDrawCallback__13CStateManagerFPCvPCvi@ha +/* 8004EC00 0004BB60 38 84 79 B8 */ addi r4, r4, RendererDrawCallback__13CStateManagerFPCvPCvi@l +/* 8004EC04 0004BB64 7F E5 FB 78 */ mr r5, r31 +/* 8004EC08 0004BB68 81 83 00 00 */ lwz r12, 0(r3) +/* 8004EC0C 0004BB6C 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8004EC10 0004BB70 7D 89 03 A6 */ mtctr r12 +/* 8004EC14 0004BB74 4E 80 04 21 */ bctrl +/* 8004EC18 0004BB78 3C 60 80 05 */ lis r3, MemoryAllocatorAllocationFailedCallback__13CStateManagerFPCvUi@ha +/* 8004EC1C 0004BB7C 7F E4 FB 78 */ mr r4, r31 +/* 8004EC20 0004BB80 38 63 B5 38 */ addi r3, r3, MemoryAllocatorAllocationFailedCallback__13CStateManagerFPCvUi@l +/* 8004EC24 0004BB84 48 2C 6C D1 */ bl SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv +/* 8004EC28 0004BB88 38 BF 09 08 */ addi r5, r31, 0x908 +/* 8004EC2C 0004BB8C 80 7F 09 08 */ lwz r3, 0x908(r31) +/* 8004EC30 0004BB90 2C 03 00 8C */ cmpwi r3, 0x8c +/* 8004EC34 0004BB94 40 80 00 40 */ bge lbl_8004EC74 +/* 8004EC38 0004BB98 54 60 10 3A */ slwi r0, r3, 2 +/* 8004EC3C 0004BB9C 20 83 00 8C */ subfic r4, r3, 0x8c +/* 8004EC40 0004BBA0 7C 65 02 14 */ add r3, r5, r0 +/* 8004EC44 0004BBA4 38 00 00 00 */ li r0, 0 +/* 8004EC48 0004BBA8 7C 89 03 A6 */ mtctr r4 +/* 8004EC4C 0004BBAC 2C 04 00 00 */ cmpwi r4, 0 +/* 8004EC50 0004BBB0 38 63 00 04 */ addi r3, r3, 4 +/* 8004EC54 0004BBB4 40 81 00 18 */ ble lbl_8004EC6C +lbl_8004EC58: +/* 8004EC58 0004BBB8 28 03 00 00 */ cmplwi r3, 0 +/* 8004EC5C 0004BBBC 41 82 00 08 */ beq lbl_8004EC64 +/* 8004EC60 0004BBC0 90 03 00 00 */ stw r0, 0(r3) +lbl_8004EC64: +/* 8004EC64 0004BBC4 38 63 00 04 */ addi r3, r3, 4 +/* 8004EC68 0004BBC8 42 00 FF F0 */ bdnz lbl_8004EC58 +lbl_8004EC6C: +/* 8004EC6C 0004BBCC 38 00 00 8C */ li r0, 0x8c +/* 8004EC70 0004BBD0 90 1F 09 08 */ stw r0, 0x908(r31) +lbl_8004EC74: +/* 8004EC74 0004BBD4 3C 60 80 0E */ lis r3, LoadTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EC78 0004BBD8 3C 80 80 0E */ lis r4, LoadDamageableTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EC7C 0004BBDC 38 03 9A 3C */ addi r0, r3, LoadTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EC80 0004BBE0 3C 60 80 0D */ lis r3, LoadActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EC84 0004BBE4 90 1F 09 1C */ stw r0, 0x91c(r31) +/* 8004EC88 0004BBE8 38 04 93 80 */ addi r0, r4, LoadDamageableTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EC8C 0004BBEC 3C A0 80 0D */ lis r5, LoadEnemy__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EC90 0004BBF0 3C 80 80 0D */ lis r4, LoadWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EC94 0004BBF4 90 1F 09 74 */ stw r0, 0x974(r31) +/* 8004EC98 0004BBF8 38 03 77 58 */ addi r0, r3, LoadActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EC9C 0004BBFC 3C 60 80 0D */ lis r3, LoadDoor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECA0 0004BC00 3D 20 80 0D */ lis r9, LoadEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECA4 0004BC04 90 1F 09 0C */ stw r0, 0x90c(r31) +/* 8004ECA8 0004BC08 38 05 73 08 */ addi r0, r5, LoadEnemy__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ECAC 0004BC0C 3D 00 80 0D */ lis r8, LoadTimer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECB0 0004BC10 3C E0 80 0D */ lis r7, LoadCounter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECB4 0004BC14 90 1F 09 10 */ stw r0, 0x910(r31) +/* 8004ECB8 0004BC18 38 04 6B 58 */ addi r0, r4, LoadWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ECBC 0004BC1C 3C C0 80 0D */ lis r6, LoadSound__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECC0 0004BC20 3C A0 80 0D */ lis r5, LoadPlatform__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECC4 0004BC24 90 1F 09 14 */ stw r0, 0x914(r31) +/* 8004ECC8 0004BC28 38 03 68 18 */ addi r0, r3, LoadDoor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ECCC 0004BC2C 3C 80 80 0D */ lis r4, LoadGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECD0 0004BC30 3C 60 80 0E */ lis r3, LoadDock__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECD4 0004BC34 90 1F 09 18 */ stw r0, 0x918(r31) +/* 8004ECD8 0004BC38 38 09 64 A8 */ addi r0, r9, LoadEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ECDC 0004BC3C 3F 60 80 0D */ lis r27, LoadCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECE0 0004BC40 3F 40 80 0D */ lis r26, LoadCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECE4 0004BC44 90 1F 09 28 */ stw r0, 0x928(r31) +/* 8004ECE8 0004BC48 38 08 63 A0 */ addi r0, r8, LoadTimer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ECEC 0004BC4C 3F 20 80 0D */ lis r25, LoadNewIntroBoss__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECF0 0004BC50 3D 80 80 0E */ lis r12, LoadSpawnPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ECF4 0004BC54 90 1F 09 20 */ stw r0, 0x920(r31) +/* 8004ECF8 0004BC58 38 07 62 B8 */ addi r0, r7, LoadCounter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ECFC 0004BC5C 3D 60 80 0D */ lis r11, LoadCameraHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ED00 0004BC60 3D 40 80 0E */ lis r10, LoadCameraHintTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ED04 0004BC64 90 1F 09 24 */ stw r0, 0x924(r31) +/* 8004ED08 0004BC68 38 06 5F 98 */ addi r0, r6, LoadSound__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED0C 0004BC6C 3D 20 80 0D */ lis r9, LoadPickup__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ED10 0004BC70 3D 00 80 0E */ lis r8, LoadJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ED14 0004BC74 90 1F 09 30 */ stw r0, 0x930(r31) +/* 8004ED18 0004BC78 38 05 58 20 */ addi r0, r5, LoadPlatform__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED1C 0004BC7C 3C E0 80 0D */ lis r7, LoadRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ED20 0004BC80 3C C0 80 0D */ lis r6, LoadRandomRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ED24 0004BC84 90 1F 09 2C */ stw r0, 0x92c(r31) +/* 8004ED28 0004BC88 38 04 61 8C */ addi r0, r4, LoadGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED2C 0004BC8C 3C A0 80 0D */ lis r5, LoadFaultyRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ED30 0004BC90 3C 80 80 0D */ lis r4, LoadBeetle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ED34 0004BC94 90 1F 09 34 */ stw r0, 0x934(r31) +/* 8004ED38 0004BC98 38 03 82 18 */ addi r0, r3, LoadDock__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED3C 0004BC9C 3C 60 80 0D */ lis r3, LoadHUDMemo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004ED40 0004BCA0 3B 7B 54 68 */ addi r27, r27, LoadCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED44 0004BCA4 90 1F 09 38 */ stw r0, 0x938(r31) +/* 8004ED48 0004BCA8 3B 5A 57 40 */ addi r26, r26, LoadCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED4C 0004BCAC 38 19 08 14 */ addi r0, r25, LoadNewIntroBoss__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED50 0004BCB0 39 8C 83 3C */ addi r12, r12, LoadSpawnPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED54 0004BCB4 93 7F 09 3C */ stw r27, 0x93c(r31) +/* 8004ED58 0004BCB8 39 6B 7E 3C */ addi r11, r11, LoadCameraHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED5C 0004BCBC 39 4A 97 C8 */ addi r10, r10, LoadCameraHintTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED60 0004BCC0 39 29 73 10 */ addi r9, r9, LoadPickup__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED64 0004BCC4 93 5F 09 40 */ stw r26, 0x940(r31) +/* 8004ED68 0004BCC8 39 08 83 34 */ addi r8, r8, LoadJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED6C 0004BCCC 38 E7 48 8C */ addi r7, r7, LoadRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED70 0004BCD0 38 C6 47 9C */ addi r6, r6, LoadRandomRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED74 0004BCD4 90 1F 09 44 */ stw r0, 0x944(r31) +/* 8004ED78 0004BCD8 38 A5 46 94 */ addi r5, r5, LoadFaultyRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED7C 0004BCDC 38 84 6F 60 */ addi r4, r4, LoadBeetle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED80 0004BCE0 38 03 45 80 */ addi r0, r3, LoadHUDMemo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004ED84 0004BCE4 91 9F 09 48 */ stw r12, 0x948(r31) +/* 8004ED88 0004BCE8 91 7F 09 4C */ stw r11, 0x94c(r31) +/* 8004ED8C 0004BCEC 91 5F 0A D8 */ stw r10, 0xad8(r31) +/* 8004ED90 0004BCF0 91 3F 09 50 */ stw r9, 0x950(r31) +/* 8004ED94 0004BCF4 91 1F 09 54 */ stw r8, 0x954(r31) +/* 8004ED98 0004BCF8 90 FF 09 58 */ stw r7, 0x958(r31) +/* 8004ED9C 0004BCFC 90 DF 09 5C */ stw r6, 0x95c(r31) +/* 8004EDA0 0004BD00 90 BF 09 60 */ stw r5, 0x960(r31) +/* 8004EDA4 0004BD04 90 9F 09 64 */ stw r4, 0x964(r31) +/* 8004EDA8 0004BD08 90 1F 09 68 */ stw r0, 0x968(r31) +/* 8004EDAC 0004BD0C 3C 60 80 0D */ lis r3, LoadCameraFilterKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDB0 0004BD10 3C 80 80 0D */ lis r4, LoadCameraBlurKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDB4 0004BD14 38 03 44 08 */ addi r0, r3, LoadCameraFilterKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EDB8 0004BD18 3C 60 80 0D */ lis r3, LoadDebris__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDBC 0004BD1C 90 1F 09 6C */ stw r0, 0x96c(r31) +/* 8004EDC0 0004BD20 38 04 42 E8 */ addi r0, r4, LoadCameraBlurKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EDC4 0004BD24 3C A0 80 0D */ lis r5, LoadCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDC8 0004BD28 3C 80 80 0D */ lis r4, LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDCC 0004BD2C 90 1F 09 70 */ stw r0, 0x970(r31) +/* 8004EDD0 0004BD30 38 03 40 78 */ addi r0, r3, LoadDebris__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EDD4 0004BD34 3C 60 80 0D */ lis r3, LoadAIKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDD8 0004BD38 3D 20 80 0E */ lis r9, LoadWater__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDDC 0004BD3C 90 1F 09 78 */ stw r0, 0x978(r31) +/* 8004EDE0 0004BD40 38 05 3A A4 */ addi r0, r5, LoadCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EDE4 0004BD44 3D 00 80 0E */ lis r8, LoadSteam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDE8 0004BD48 3C E0 80 0E */ lis r7, LoadRipple__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDEC 0004BD4C 90 1F 09 7C */ stw r0, 0x97c(r31) +/* 8004EDF0 0004BD50 38 04 35 8C */ addi r0, r4, LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EDF4 0004BD54 3C C0 80 0D */ lis r6, LoadWarWasp__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDF8 0004BD58 3C A0 80 0D */ lis r5, LoadMapStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EDFC 0004BD5C 90 1F 09 80 */ stw r0, 0x980(r31) +/* 8004EE00 0004BD60 38 03 35 54 */ addi r0, r3, LoadAIKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE04 0004BD64 3C 80 80 0D */ lis r4, LoadSpacePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE08 0004BD68 3C 60 80 0D */ lis r3, LoadCoverPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE0C 0004BD6C 90 1F 0A 10 */ stw r0, 0xa10(r31) +/* 8004EE10 0004BD70 38 09 88 F4 */ addi r0, r9, LoadWater__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE14 0004BD74 3F 60 80 0D */ lis r27, LoadSpiderBallWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE18 0004BD78 3F 40 80 0D */ lis r26, LoadBloodFlower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE1C 0004BD7C 90 1F 09 8C */ stw r0, 0x98c(r31) +/* 8004EE20 0004BD80 38 08 86 CC */ addi r0, r8, LoadSteam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE24 0004BD84 3F 20 80 0D */ lis r25, LoadPathCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE28 0004BD88 3D 80 80 0D */ lis r12, LoadGrapplePoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE2C 0004BD8C 90 1F 0A 24 */ stw r0, 0xa24(r31) +/* 8004EE30 0004BD90 38 07 85 D4 */ addi r0, r7, LoadRipple__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE34 0004BD94 3D 60 80 0D */ lis r11, LoadFlickerBat__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE38 0004BD98 3D 40 80 0D */ lis r10, LoadChozoGhost__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE3C 0004BD9C 90 1F 0A 28 */ stw r0, 0xa28(r31) +/* 8004EE40 0004BDA0 38 06 6C B0 */ addi r0, r6, LoadWarWasp__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE44 0004BDA4 3D 20 80 0D */ lis r9, LoadPuddleSpore__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE48 0004BDA8 3D 00 80 0D */ lis r8, LoadDebugCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE4C 0004BDAC 90 1F 09 90 */ stw r0, 0x990(r31) +/* 8004EE50 0004BDB0 38 05 2E 2C */ addi r0, r5, LoadMapStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE54 0004BDB4 3C E0 80 0D */ lis r7, LoadSpiderBallAttractionSurface__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE58 0004BDB8 3C C0 80 0D */ lis r6, LoadPuddleToadGamma__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE5C 0004BDBC 90 1F 09 94 */ stw r0, 0x994(r31) +/* 8004EE60 0004BDC0 38 04 2B CC */ addi r0, r4, LoadSpacePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE64 0004BDC4 3C A0 80 0D */ lis r5, LoadFireFlea__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE68 0004BDC8 3C 80 80 0D */ lis r4, LoadDistanceFog__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE6C 0004BDCC 90 1F 09 9C */ stw r0, 0x99c(r31) +/* 8004EE70 0004BDD0 38 03 28 DC */ addi r0, r3, LoadCoverPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE74 0004BDD4 3C 60 80 0D */ lis r3, LoadDockAreaChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EE78 0004BDD8 3B 7B 27 2C */ addi r27, r27, LoadSpiderBallWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE7C 0004BDDC 90 1F 09 B4 */ stw r0, 0x9b4(r31) +/* 8004EE80 0004BDE0 3B 5A 24 8C */ addi r26, r26, LoadBloodFlower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE84 0004BDE4 38 19 53 28 */ addi r0, r25, LoadPathCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE88 0004BDE8 39 8C 23 0C */ addi r12, r12, LoadGrapplePoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE8C 0004BDEC 93 7F 09 BC */ stw r27, 0x9bc(r31) +/* 8004EE90 0004BDF0 39 6B 20 C8 */ addi r11, r11, LoadFlickerBat__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE94 0004BDF4 39 4A 1C B4 */ addi r10, r10, LoadChozoGhost__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE98 0004BDF8 39 29 19 C4 */ addi r9, r9, LoadPuddleSpore__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EE9C 0004BDFC 93 5F 09 C0 */ stw r26, 0x9c0(r31) +/* 8004EEA0 0004BE00 39 08 18 20 */ addi r8, r8, LoadDebugCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EEA4 0004BE04 38 E7 18 F0 */ addi r7, r7, LoadSpiderBallAttractionSurface__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EEA8 0004BE08 38 C6 15 38 */ addi r6, r6, LoadPuddleToadGamma__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EEAC 0004BE0C 90 1F 09 C8 */ stw r0, 0x9c8(r31) +/* 8004EEB0 0004BE10 38 A5 13 3C */ addi r5, r5, LoadFireFlea__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EEB4 0004BE14 38 84 0F 0C */ addi r4, r4, LoadDistanceFog__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EEB8 0004BE18 38 03 0D 04 */ addi r0, r3, LoadDockAreaChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EEBC 0004BE1C 91 9F 09 CC */ stw r12, 0x9cc(r31) +/* 8004EEC0 0004BE20 91 7F 09 C4 */ stw r11, 0x9c4(r31) +/* 8004EEC4 0004BE24 91 5F 09 AC */ stw r10, 0x9ac(r31) +/* 8004EEC8 0004BE28 91 3F 09 D0 */ stw r9, 0x9d0(r31) +/* 8004EECC 0004BE2C 91 1F 09 D4 */ stw r8, 0x9d4(r31) +/* 8004EED0 0004BE30 90 FF 09 D8 */ stw r7, 0x9d8(r31) +/* 8004EED4 0004BE34 90 DF 09 DC */ stw r6, 0x9dc(r31) +/* 8004EED8 0004BE38 90 BF 09 E4 */ stw r5, 0x9e4(r31) +/* 8004EEDC 0004BE3C 90 9F 09 E0 */ stw r4, 0x9e0(r31) +/* 8004EEE0 0004BE40 90 1F 09 EC */ stw r0, 0x9ec(r31) +/* 8004EEE4 0004BE44 3C 60 80 0D */ lis r3, LoadActorRotate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EEE8 0004BE48 3C 80 80 0D */ lis r4, LoadSpecialFunction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EEEC 0004BE4C 38 03 32 E8 */ addi r0, r3, LoadActorRotate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EEF0 0004BE50 3C 60 80 0D */ lis r3, LoadMetaree__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EEF4 0004BE54 90 1F 09 F0 */ stw r0, 0x9f0(r31) +/* 8004EEF8 0004BE58 38 04 30 74 */ addi r0, r4, LoadSpecialFunction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EEFC 0004BE5C 3C A0 80 0D */ lis r5, LoadSpankWeed__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF00 0004BE60 3C 80 80 0D */ lis r4, LoadParasite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF04 0004BE64 90 1F 09 F4 */ stw r0, 0x9f4(r31) +/* 8004EF08 0004BE68 38 03 0A 4C */ addi r0, r3, LoadMetaree__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF0C 0004BE6C 3C 60 80 0D */ lis r3, LoadPlayerHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF10 0004BE70 3D 20 80 0D */ lis r9, LoadRipper__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF14 0004BE74 90 1F 09 E8 */ stw r0, 0x9e8(r31) +/* 8004EF18 0004BE78 38 05 10 E8 */ addi r0, r5, LoadSpankWeed__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF1C 0004BE7C 3D 00 80 0D */ lis r8, LoadPickupGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF20 0004BE80 3C E0 80 0D */ lis r7, LoadPointOfInterest__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF24 0004BE84 90 1F 09 F8 */ stw r0, 0x9f8(r31) +/* 8004EF28 0004BE88 38 04 00 FC */ addi r0, r4, LoadParasite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF2C 0004BE8C 3C C0 80 0D */ lis r6, LoadDrone__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF30 0004BE90 3C A0 80 0D */ lis r5, LoadMetroid__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF34 0004BE94 90 1F 0A 00 */ stw r0, 0xa00(r31) +/* 8004EF38 0004BE98 38 03 7D 60 */ addi r0, r3, LoadPlayerHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF3C 0004BE9C 3C 80 80 0D */ lis r4, LoadDebrisExtended__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF40 0004BEA0 3C 60 80 0D */ lis r3, LoadBallTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF44 0004BEA4 90 1F 0A 04 */ stw r0, 0xa04(r31) +/* 8004EF48 0004BEA8 38 09 FE 90 */ addi r0, r9, LoadRipper__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF4C 0004BEAC 3F 60 80 0D */ lis r27, LoadTargetingPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF50 0004BEB0 3F 40 80 0D */ lis r26, LoadEMPulse__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF54 0004BEB4 90 1F 0A 08 */ stw r0, 0xa08(r31) +/* 8004EF58 0004BEB8 38 08 FD 98 */ addi r0, r8, LoadPickupGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF5C 0004BEBC 3F 20 80 0D */ lis r25, LoadIceSheegoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF60 0004BEC0 3D 80 80 0D */ lis r12, LoadPlayerActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF64 0004BEC4 90 1F 0A 0C */ stw r0, 0xa0c(r31) +/* 8004EF68 0004BEC8 38 07 7C 60 */ addi r0, r7, LoadPointOfInterest__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF6C 0004BECC 3D 60 80 0D */ lis r11, LoadFlaahgra__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF70 0004BED0 3D 40 80 0D */ lis r10, LoadAreaAttributes__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF74 0004BED4 90 1F 0A 14 */ stw r0, 0xa14(r31) +/* 8004EF78 0004BED8 38 06 D8 6C */ addi r0, r6, LoadDrone__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF7C 0004BEDC 3D 20 80 0D */ lis r9, LoadFishCloud__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF80 0004BEE0 3D 00 80 0D */ lis r8, LoadFishCloudModifier__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF84 0004BEE4 90 1F 0A 18 */ stw r0, 0xa18(r31) +/* 8004EF88 0004BEE8 38 05 FA AC */ addi r0, r5, LoadMetroid__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF8C 0004BEEC 3C E0 80 0D */ lis r7, LoadVisorFlare__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF90 0004BEF0 3C C0 80 0D */ lis r6, LoadWorldTeleporter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EF94 0004BEF4 90 1F 0A 1C */ stw r0, 0xa1c(r31) +/* 8004EF98 0004BEF8 38 04 3C 08 */ addi r0, r4, LoadDebrisExtended__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EF9C 0004BEFC 3C A0 80 0D */ lis r5, LoadVisorGoo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EFA0 0004BF00 3C 80 80 0D */ lis r4, LoadJellyZap__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EFA4 0004BF04 90 1F 0A 20 */ stw r0, 0xa20(r31) +/* 8004EFA8 0004BF08 38 03 F7 14 */ addi r0, r3, LoadBallTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFAC 0004BF0C 3C 60 80 0D */ lis r3, LoadControllerAction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004EFB0 0004BF10 3B 7B F6 44 */ addi r27, r27, LoadTargetingPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFB4 0004BF14 90 1F 0A 2C */ stw r0, 0xa2c(r31) +/* 8004EFB8 0004BF18 38 1A F4 FC */ addi r0, r26, LoadEMPulse__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFBC 0004BF1C 3B 39 F3 10 */ addi r25, r25, LoadIceSheegoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFC0 0004BF20 39 8C EE F4 */ addi r12, r12, LoadPlayerActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFC4 0004BF24 93 7F 0A 30 */ stw r27, 0xa30(r31) +/* 8004EFC8 0004BF28 39 6B 05 C8 */ addi r11, r11, LoadFlaahgra__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFCC 0004BF2C 39 4A 0D CC */ addi r10, r10, LoadAreaAttributes__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFD0 0004BF30 39 29 E8 08 */ addi r9, r9, LoadFishCloud__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFD4 0004BF34 90 1F 0A 34 */ stw r0, 0xa34(r31) +/* 8004EFD8 0004BF38 39 08 E6 BC */ addi r8, r8, LoadFishCloudModifier__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFDC 0004BF3C 38 E7 D0 9C */ addi r7, r7, LoadVisorFlare__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFE0 0004BF40 38 06 CC B0 */ addi r0, r6, LoadWorldTeleporter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFE4 0004BF44 93 3F 0A 38 */ stw r25, 0xa38(r31) +/* 8004EFE8 0004BF48 38 A5 C7 EC */ addi r5, r5, LoadVisorGoo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFEC 0004BF4C 38 84 C4 84 */ addi r4, r4, LoadJellyZap__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFF0 0004BF50 38 63 CB 74 */ addi r3, r3, LoadControllerAction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004EFF4 0004BF54 91 9F 0A 3C */ stw r12, 0xa3c(r31) +/* 8004EFF8 0004BF58 91 7F 0A 40 */ stw r11, 0xa40(r31) +/* 8004EFFC 0004BF5C 91 5F 0A 44 */ stw r10, 0xa44(r31) +/* 8004F000 0004BF60 91 3F 0A 48 */ stw r9, 0xa48(r31) +/* 8004F004 0004BF64 91 1F 0A 4C */ stw r8, 0xa4c(r31) +/* 8004F008 0004BF68 90 FF 0A 50 */ stw r7, 0xa50(r31) +/* 8004F00C 0004BF6C 90 1F 0A 54 */ stw r0, 0xa54(r31) +/* 8004F010 0004BF70 90 BF 0A 58 */ stw r5, 0xa58(r31) +/* 8004F014 0004BF74 90 9F 0A 5C */ stw r4, 0xa5c(r31) +/* 8004F018 0004BF78 90 7F 0A 60 */ stw r3, 0xa60(r31) +/* 8004F01C 0004BF7C 3C 60 80 0D */ lis r3, LoadSwitch__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F020 0004BF80 3C 80 80 0D */ lis r4, LoadPlayerStateChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F024 0004BF84 38 A3 CA 9C */ addi r5, r3, LoadSwitch__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F028 0004BF88 3C 60 80 0D */ lis r3, LoadThardus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F02C 0004BF8C 90 BF 0A 64 */ stw r5, 0xa64(r31) +/* 8004F030 0004BF90 38 C4 C9 94 */ addi r6, r4, LoadPlayerStateChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F034 0004BF94 3C A0 80 0D */ lis r5, LoadSaveStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F038 0004BF98 3C 80 80 0D */ lis r4, LoadWallCrawlerSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F03C 0004BF9C 90 DF 0A 68 */ stw r6, 0xa68(r31) +/* 8004F040 0004BFA0 38 C3 BC 24 */ addi r6, r3, LoadThardus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F044 0004BFA4 3C 60 80 0D */ lis r3, LoadAiJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F048 0004BFA8 3D 00 80 0D */ lis r8, LoadFlaahgraTentacle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F04C 0004BFAC 90 DF 0A 6C */ stw r6, 0xa6c(r31) +/* 8004F050 0004BFB0 38 A5 C9 8C */ addi r5, r5, LoadSaveStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F054 0004BFB4 3C E0 80 0D */ lis r7, LoadRoomAcoustics__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F058 0004BFB8 3C C0 80 0D */ lis r6, LoadFlyingPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F05C 0004BFBC 90 BF 0A 70 */ stw r5, 0xa70(r31) +/* 8004F060 0004BFC0 39 24 B7 A4 */ addi r9, r4, LoadWallCrawlerSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F064 0004BFC4 3C A0 80 0D */ lis r5, LoadColorModulate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F068 0004BFC8 3C 80 80 0D */ lis r4, LoadThardusRockProjectile__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F06C 0004BFCC 91 3F 0A 74 */ stw r9, 0xa74(r31) +/* 8004F070 0004BFD0 39 23 27 F4 */ addi r9, r3, LoadAiJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F074 0004BFD4 3C 60 80 0D */ lis r3, LoadMidi__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F078 0004BFD8 3F 60 80 0D */ lis r27, LoadStreamedMusic__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F07C 0004BFDC 91 3F 0A 78 */ stw r9, 0xa78(r31) +/* 8004F080 0004BFE0 39 08 B5 D8 */ addi r8, r8, LoadFlaahgraTentacle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F084 0004BFE4 3F 40 80 0D */ lis r26, LoadRepulsor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F088 0004BFE8 3F 20 80 0D */ lis r25, LoadGunTurret__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F08C 0004BFEC 91 1F 0A 7C */ stw r8, 0xa7c(r31) +/* 8004F090 0004BFF0 38 E7 EC 4C */ addi r7, r7, LoadRoomAcoustics__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F094 0004BFF4 3D 80 80 0D */ lis r12, LoadFogVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F098 0004BFF8 3D 60 80 0D */ lis r11, LoadBabygoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F09C 0004BFFC 90 FF 0A 80 */ stw r7, 0xa80(r31) +/* 8004F0A0 0004C000 38 C6 29 FC */ addi r6, r6, LoadFlyingPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0A4 0004C004 3D 40 80 0D */ lis r10, LoadEyeBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F0A8 0004C008 3D 20 80 0D */ lis r9, LoadRadialDamage__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F0AC 0004C00C 90 DF 09 A0 */ stw r6, 0x9a0(r31) +/* 8004F0B0 0004C010 38 A5 33 E8 */ addi r5, r5, LoadColorModulate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0B4 0004C014 3D 00 80 0D */ lis r8, LoadScriptCameraPitchVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F0B8 0004C018 3C E0 80 0D */ lis r7, LoadElitePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F0BC 0004C01C 90 BF 0A 84 */ stw r5, 0xa84(r31) +/* 8004F0C0 0004C020 38 84 B2 8C */ addi r4, r4, LoadThardusRockProjectile__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0C4 0004C024 3C C0 80 0D */ lis r6, LoadMetroidBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F0C8 0004C028 3C A0 80 0D */ lis r5, LoadEnvFxDensityController__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F0CC 0004C02C 90 9F 0A 88 */ stw r4, 0xa88(r31) +/* 8004F0D0 0004C030 3B 83 B1 84 */ addi r28, r3, LoadMidi__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0D4 0004C034 3C 80 80 0D */ lis r4, LoadMagdolite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F0D8 0004C038 3C 60 80 0D */ lis r3, LoadTeamAiMgr__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F0DC 0004C03C 93 9F 0A 8C */ stw r28, 0xa8c(r31) +/* 8004F0E0 0004C040 3B 7B B0 3C */ addi r27, r27, LoadStreamedMusic__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0E4 0004C044 3B 5A AF 44 */ addi r26, r26, LoadRepulsor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0E8 0004C048 3B 39 AB F8 */ addi r25, r25, LoadGunTurret__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0EC 0004C04C 93 7F 0A 90 */ stw r27, 0xa90(r31) +/* 8004F0F0 0004C050 39 8C 2E 34 */ addi r12, r12, LoadFogVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0F4 0004C054 39 6B AA 0C */ addi r11, r11, LoadBabygoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0F8 0004C058 39 4A A7 0C */ addi r10, r10, LoadEyeBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F0FC 0004C05C 90 1F 0A 94 */ stw r0, 0xa94(r31) +/* 8004F100 0004C060 39 29 A5 4C */ addi r9, r9, LoadRadialDamage__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F104 0004C064 39 08 A4 00 */ addi r8, r8, LoadScriptCameraPitchVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F108 0004C068 38 E7 A1 F4 */ addi r7, r7, LoadElitePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F10C 0004C06C 93 5F 0A 98 */ stw r26, 0xa98(r31) +/* 8004F110 0004C070 38 C6 F8 98 */ addi r6, r6, LoadMetroidBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F114 0004C074 38 A5 A0 20 */ addi r5, r5, LoadEnvFxDensityController__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F118 0004C078 38 84 9C 3C */ addi r4, r4, LoadMagdolite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F11C 0004C07C 93 3F 0A 9C */ stw r25, 0xa9c(r31) +/* 8004F120 0004C080 38 03 9B 60 */ addi r0, r3, LoadTeamAiMgr__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F124 0004C084 91 9F 0A A0 */ stw r12, 0xaa0(r31) +/* 8004F128 0004C088 91 7F 0A A4 */ stw r11, 0xaa4(r31) +/* 8004F12C 0004C08C 91 5F 0A A8 */ stw r10, 0xaa8(r31) +/* 8004F130 0004C090 91 3F 0A AC */ stw r9, 0xaac(r31) +/* 8004F134 0004C094 91 1F 0A B0 */ stw r8, 0xab0(r31) +/* 8004F138 0004C098 90 FF 09 A4 */ stw r7, 0x9a4(r31) +/* 8004F13C 0004C09C 90 DF 09 A8 */ stw r6, 0x9a8(r31) +/* 8004F140 0004C0A0 90 BF 0A B4 */ stw r5, 0xab4(r31) +/* 8004F144 0004C0A4 90 9F 0A B8 */ stw r4, 0xab8(r31) +/* 8004F148 0004C0A8 90 1F 0A BC */ stw r0, 0xabc(r31) +/* 8004F14C 0004C0AC 3C 60 80 0D */ lis r3, LoadSnakeWeedSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F150 0004C0B0 3C 80 80 0D */ lis r4, LoadActorContraption__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F154 0004C0B4 38 03 97 2C */ addi r0, r3, LoadSnakeWeedSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F158 0004C0B8 3C 60 80 0D */ lis r3, LoadAtomicAlpha__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F15C 0004C0BC 90 1F 0A C0 */ stw r0, 0xac0(r31) +/* 8004F160 0004C0C0 38 04 93 34 */ addi r0, r4, LoadActorContraption__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F164 0004C0C4 3C A0 80 0D */ lis r5, LoadOcculus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F168 0004C0C8 3C 80 80 0D */ lis r4, LoadGeemer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F16C 0004C0CC 90 1F 0A C4 */ stw r0, 0xac4(r31) +/* 8004F170 0004C0D0 38 03 8A 24 */ addi r0, r3, LoadAtomicAlpha__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F174 0004C0D4 3C 60 80 0D */ lis r3, LoadSpindleCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F178 0004C0D8 3D 00 80 0D */ lis r8, LoadRumbleEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F17C 0004C0DC 90 1F 0A D4 */ stw r0, 0xad4(r31) +/* 8004F180 0004C0E0 38 05 90 08 */ addi r0, r5, LoadOcculus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F184 0004C0E4 3C E0 80 0D */ lis r7, LoadAmbientAI__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F188 0004C0E8 3C C0 80 0D */ lis r6, LoadAtomicBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F18C 0004C0EC 90 1F 0A C8 */ stw r0, 0xac8(r31) +/* 8004F190 0004C0F0 38 04 8C 7C */ addi r0, r4, LoadGeemer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F194 0004C0F4 3C A0 80 0C */ lis r5, LoadIceZoomer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F198 0004C0F8 3C 80 80 0C */ lis r4, LoadPuffer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F19C 0004C0FC 90 1F 0A CC */ stw r0, 0xacc(r31) +/* 8004F1A0 0004C100 38 03 49 94 */ addi r0, r3, LoadSpindleCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F1A4 0004C104 3C 60 80 0C */ lis r3, LoadTryclops__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1A8 0004C108 3F C0 80 0C */ lis r30, LoadRidley__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1AC 0004C10C 90 1F 0A D0 */ stw r0, 0xad0(r31) +/* 8004F1B0 0004C110 38 08 88 10 */ addi r0, r8, LoadRumbleEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F1B4 0004C114 3F A0 80 0C */ lis r29, LoadSeedling__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1B8 0004C118 3F 80 80 0C */ lis r28, LoadThermalHeatFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1BC 0004C11C 90 1F 0A DC */ stw r0, 0xadc(r31) +/* 8004F1C0 0004C120 38 07 84 34 */ addi r0, r7, LoadAmbientAI__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F1C4 0004C124 3F 60 80 0C */ lis r27, LoadBurrower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1C8 0004C128 3F 40 80 0C */ lis r26, LoadScriptBeam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1CC 0004C12C 90 1F 0A E0 */ stw r0, 0xae0(r31) +/* 8004F1D0 0004C130 38 00 00 00 */ li r0, 0 +/* 8004F1D4 0004C134 3D 80 80 0C */ lis r12, LoadMetroidPrimeRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1D8 0004C138 3D 60 80 0C */ lis r11, LoadWorldLightFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1DC 0004C13C 90 1F 0A E4 */ stw r0, 0xae4(r31) +/* 8004F1E0 0004C140 38 C6 81 24 */ addi r6, r6, LoadAtomicBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F1E4 0004C144 3D 40 80 0C */ lis r10, LoadMetroidPrimeEssence__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1E8 0004C148 3D 20 80 0C */ lis r9, LoadMazeNode__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1EC 0004C14C 90 DF 0A E8 */ stw r6, 0xae8(r31) +/* 8004F1F0 0004C150 38 A5 7D 9C */ addi r5, r5, LoadIceZoomer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F1F4 0004C154 3D 00 80 0C */ lis r8, LoadOmegaPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1F8 0004C158 3C E0 80 0C */ lis r7, LoadPhazonPool__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F1FC 0004C15C 90 BF 0A EC */ stw r5, 0xaec(r31) +/* 8004F200 0004C160 38 84 79 68 */ addi r4, r4, LoadPuffer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F204 0004C164 3C C0 80 0C */ lis r6, LoadPhazonHealingNodule__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F208 0004C168 3C A0 80 0D */ lis r5, LoadNewCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F20C 0004C16C 90 9F 0A F0 */ stw r4, 0xaf0(r31) +/* 8004F210 0004C170 3B 23 77 28 */ addi r25, r3, LoadTryclops__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F214 0004C174 3C 80 80 0C */ lis r4, LoadShadowProjector__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F218 0004C178 3C 60 80 0C */ lis r3, LoadEnergyBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha +/* 8004F21C 0004C17C 93 3F 0A F4 */ stw r25, 0xaf4(r31) +/* 8004F220 0004C180 3B DE 7B D8 */ addi r30, r30, LoadRidley__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F224 0004C184 3B BD 74 28 */ addi r29, r29, LoadSeedling__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F228 0004C188 3B 9C 72 B8 */ addi r28, r28, LoadThermalHeatFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F22C 0004C18C 93 DF 0A F8 */ stw r30, 0xaf8(r31) +/* 8004F230 0004C190 3B 7B 70 54 */ addi r27, r27, LoadBurrower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F234 0004C194 3B 5A 63 CC */ addi r26, r26, LoadScriptBeam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F238 0004C198 39 8C 66 60 */ addi r12, r12, LoadMetroidPrimeRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F23C 0004C19C 93 BF 0A FC */ stw r29, 0xafc(r31) +/* 8004F240 0004C1A0 39 6B 62 5C */ addi r11, r11, LoadWorldLightFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F244 0004C1A4 39 4A 5F F0 */ addi r10, r10, LoadMetroidPrimeEssence__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F248 0004C1A8 39 29 5E CC */ addi r9, r9, LoadMazeNode__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F24C 0004C1AC 93 9F 0B 00 */ stw r28, 0xb00(r31) +/* 8004F250 0004C1B0 39 08 5C A4 */ addi r8, r8, LoadOmegaPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F254 0004C1B4 38 E7 5A 4C */ addi r7, r7, LoadPhazonPool__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F258 0004C1B8 38 C6 58 58 */ addi r6, r6, LoadPhazonHealingNodule__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F25C 0004C1BC 90 1F 0B 04 */ stw r0, 0xb04(r31) +/* 8004F260 0004C1C0 38 A5 37 3C */ addi r5, r5, LoadNewCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F264 0004C1C4 38 84 56 FC */ addi r4, r4, LoadShadowProjector__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F268 0004C1C8 38 63 52 7C */ addi r3, r3, LoadEnergyBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l +/* 8004F26C 0004C1CC 93 7F 0B 08 */ stw r27, 0xb08(r31) +/* 8004F270 0004C1D0 93 5F 0B 10 */ stw r26, 0xb10(r31) +/* 8004F274 0004C1D4 90 1F 0B 0C */ stw r0, 0xb0c(r31) +/* 8004F278 0004C1D8 91 9F 0B 1C */ stw r12, 0xb1c(r31) +/* 8004F27C 0004C1DC 90 1F 09 88 */ stw r0, 0x988(r31) +/* 8004F280 0004C1E0 90 1F 09 98 */ stw r0, 0x998(r31) +/* 8004F284 0004C1E4 91 7F 0B 14 */ stw r11, 0xb14(r31) +/* 8004F288 0004C1E8 91 5F 0B 18 */ stw r10, 0xb18(r31) +/* 8004F28C 0004C1EC 91 3F 0B 20 */ stw r9, 0xb20(r31) +/* 8004F290 0004C1F0 91 1F 0B 24 */ stw r8, 0xb24(r31) +/* 8004F294 0004C1F4 90 FF 0B 28 */ stw r7, 0xb28(r31) +/* 8004F298 0004C1F8 90 DF 0B 2C */ stw r6, 0xb2c(r31) +/* 8004F29C 0004C1FC 90 BF 0B 30 */ stw r5, 0xb30(r31) +/* 8004F2A0 0004C200 90 9F 0B 34 */ stw r4, 0xb34(r31) +/* 8004F2A4 0004C204 90 7F 0B 38 */ stw r3, 0xb38(r31) +/* 8004F2A8 0004C208 48 13 60 69 */ bl InitCollision__14CGameCollisionFv +/* 8004F2AC 0004C20C 80 1F 08 08 */ lwz r0, 0x808(r31) +/* 8004F2B0 0004C210 1C 60 20 0C */ mulli r3, r0, 0x200c +/* 8004F2B4 0004C214 38 63 01 1C */ addi r3, r3, 0x11c +/* 8004F2B8 0004C218 48 2C 66 09 */ bl OffsetFakeStatics__7CMemoryFi +/* 8004F2BC 0004C21C 4B FB D4 E1 */ bl ResetCommandFilters__13ControlMapperFv +/* 8004F2C0 0004C220 38 7F 08 F0 */ addi r3, r31, 0x8f0 +/* 8004F2C4 0004C224 48 2F 1A C1 */ bl Lock__6CTokenFv +/* 8004F2C8 0004C228 7F E3 FB 78 */ mr r3, r31 +/* 8004F2CC 0004C22C BB 21 00 E4 */ lmw r25, 0xe4(r1) +/* 8004F2D0 0004C230 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8004F2D4 0004C234 7C 08 03 A6 */ mtlr r0 +/* 8004F2D8 0004C238 38 21 01 00 */ addi r1, r1, 0x100 +/* 8004F2DC 0004C23C 4E 80 00 20 */ blr + +.global sub_8004f2e0 +sub_8004f2e0: +/* 8004F2E0 0004C240 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004F2E4 0004C244 7C 08 02 A6 */ mflr r0 +/* 8004F2E8 0004C248 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004F2EC 0004C24C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004F2F0 0004C250 7C 7F 1B 78 */ mr r31, r3 +/* 8004F2F4 0004C254 90 83 00 00 */ stw r4, 0(r3) +/* 8004F2F8 0004C258 38 7F 00 04 */ addi r3, r31, 4 +/* 8004F2FC 0004C25C 48 00 00 1D */ bl sub_8004f318 +/* 8004F300 0004C260 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004F304 0004C264 7F E3 FB 78 */ mr r3, r31 +/* 8004F308 0004C268 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004F30C 0004C26C 7C 08 03 A6 */ mtlr r0 +/* 8004F310 0004C270 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004F314 0004C274 4E 80 00 20 */ blr + +.global sub_8004f318 +sub_8004f318: +/* 8004F318 0004C278 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004F31C 0004C27C 7C 08 02 A6 */ mflr r0 +/* 8004F320 0004C280 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004F324 0004C284 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8004F328 0004C288 7C 7F 1B 78 */ mr r31, r3 +/* 8004F32C 0004C28C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8004F330 0004C290 3B C0 00 00 */ li r30, 0 +/* 8004F334 0004C294 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8004F338 0004C298 7C BD 2B 78 */ mr r29, r5 +/* 8004F33C 0004C29C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8004F340 0004C2A0 7C 9C 23 78 */ mr r28, r4 +/* 8004F344 0004C2A4 48 00 00 94 */ b lbl_8004F3D8 +lbl_8004F348: +/* 8004F348 0004C2A8 28 1F 00 00 */ cmplwi r31, 0 +/* 8004F34C 0004C2AC 41 82 00 84 */ beq lbl_8004F3D0 +/* 8004F350 0004C2B0 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 8004F354 0004C2B4 98 1F 00 0C */ stb r0, 0xc(r31) +/* 8004F358 0004C2B8 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 8004F35C 0004C2BC 28 00 00 00 */ cmplwi r0, 0 +/* 8004F360 0004C2C0 41 82 00 20 */ beq lbl_8004F380 +/* 8004F364 0004C2C4 28 1F 00 00 */ cmplwi r31, 0 +/* 8004F368 0004C2C8 41 82 00 18 */ beq lbl_8004F380 +/* 8004F36C 0004C2CC 7F E3 FB 78 */ mr r3, r31 +/* 8004F370 0004C2D0 7F A4 EB 78 */ mr r4, r29 +/* 8004F374 0004C2D4 48 2F 1B 35 */ bl __ct__6CTokenFRC6CToken +/* 8004F378 0004C2D8 80 1D 00 08 */ lwz r0, 8(r29) +/* 8004F37C 0004C2DC 90 1F 00 08 */ stw r0, 8(r31) +lbl_8004F380: +/* 8004F380 0004C2E0 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8004F384 0004C2E4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8004F388 0004C2E8 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 8004F38C 0004C2EC 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8004F390 0004C2F0 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 8004F394 0004C2F4 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8004F398 0004C2F8 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 8004F39C 0004C2FC D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8004F3A0 0004C300 C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 8004F3A4 0004C304 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 8004F3A8 0004C308 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 8004F3AC 0004C30C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8004F3B0 0004C310 C0 1D 00 28 */ lfs f0, 0x28(r29) +/* 8004F3B4 0004C314 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 8004F3B8 0004C318 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 8004F3BC 0004C31C 98 1F 00 2C */ stb r0, 0x2c(r31) +/* 8004F3C0 0004C320 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 8004F3C4 0004C324 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 8004F3C8 0004C328 80 1D 00 30 */ lwz r0, 0x30(r29) +/* 8004F3CC 0004C32C 90 1F 00 30 */ stw r0, 0x30(r31) +lbl_8004F3D0: +/* 8004F3D0 0004C330 3B DE 00 01 */ addi r30, r30, 1 +/* 8004F3D4 0004C334 3B FF 00 34 */ addi r31, r31, 0x34 +lbl_8004F3D8: +/* 8004F3D8 0004C338 7C 1E E0 00 */ cmpw r30, r28 +/* 8004F3DC 0004C33C 41 80 FF 6C */ blt lbl_8004F348 +/* 8004F3E0 0004C340 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004F3E4 0004C344 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8004F3E8 0004C348 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8004F3EC 0004C34C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8004F3F0 0004C350 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8004F3F4 0004C354 7C 08 03 A6 */ mtlr r0 +/* 8004F3F8 0004C358 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004F3FC 0004C35C 4E 80 00 20 */ blr + +.global "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" +"__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea": +/* 8004F400 0004C360 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8004F404 0004C364 7C 08 02 A6 */ mflr r0 +/* 8004F408 0004C368 90 01 00 44 */ stw r0, 0x44(r1) +/* 8004F40C 0004C36C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8004F410 0004C370 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8004F414 0004C374 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8004F418 0004C378 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8004F41C 0004C37C 7C 7E 1B 78 */ mr r30, r3 +/* 8004F420 0004C380 80 04 00 04 */ lwz r0, 4(r4) +/* 8004F424 0004C384 80 65 00 04 */ lwz r3, 4(r5) +/* 8004F428 0004C388 7C BF 2B 78 */ mr r31, r5 +/* 8004F42C 0004C38C 7C 00 18 00 */ cmpw r0, r3 +/* 8004F430 0004C390 40 82 00 0C */ bne lbl_8004F43C +/* 8004F434 0004C394 38 60 00 00 */ li r3, 0 +/* 8004F438 0004C398 48 00 00 94 */ b lbl_8004F4CC +lbl_8004F43C: +/* 8004F43C 0004C39C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8004F440 0004C3A0 7C 00 28 00 */ cmpw r0, r5 +/* 8004F444 0004C3A4 40 82 00 0C */ bne lbl_8004F450 +/* 8004F448 0004C3A8 38 60 00 00 */ li r3, 0 +/* 8004F44C 0004C3AC 48 00 00 80 */ b lbl_8004F4CC +lbl_8004F450: +/* 8004F450 0004C3B0 7C 03 28 00 */ cmpw r3, r5 +/* 8004F454 0004C3B4 40 82 00 0C */ bne lbl_8004F460 +/* 8004F458 0004C3B8 38 60 00 01 */ li r3, 1 +/* 8004F45C 0004C3BC 48 00 00 70 */ b lbl_8004F4CC +lbl_8004F460: +/* 8004F460 0004C3C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8004F464 0004C3C4 38 84 00 6C */ addi r4, r4, 0x6c +/* 8004F468 0004C3C8 48 2E 81 A5 */ bl GetCenterPoint__6CAABoxCFv +/* 8004F46C 0004C3CC C0 3E 00 04 */ lfs f1, 4(r30) +/* 8004F470 0004C3D0 38 61 00 08 */ addi r3, r1, 8 +/* 8004F474 0004C3D4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8004F478 0004C3D8 38 9F 00 6C */ addi r4, r31, 0x6c +/* 8004F47C 0004C3DC C0 5E 00 00 */ lfs f2, 0(r30) +/* 8004F480 0004C3E0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8004F484 0004C3E4 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8004F488 0004C3E8 C0 9E 00 08 */ lfs f4, 8(r30) +/* 8004F48C 0004C3EC C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 8004F490 0004C3F0 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8004F494 0004C3F4 EF E4 00 FA */ fmadds f31, f4, f3, f0 +/* 8004F498 0004C3F8 48 2E 81 75 */ bl GetCenterPoint__6CAABoxCFv +/* 8004F49C 0004C3FC C0 3E 00 04 */ lfs f1, 4(r30) +/* 8004F4A0 0004C400 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8004F4A4 0004C404 C0 5E 00 00 */ lfs f2, 0(r30) +/* 8004F4A8 0004C408 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8004F4AC 0004C40C C0 21 00 08 */ lfs f1, 8(r1) +/* 8004F4B0 0004C410 C0 9E 00 08 */ lfs f4, 8(r30) +/* 8004F4B4 0004C414 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 8004F4B8 0004C418 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8004F4BC 0004C41C EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 8004F4C0 0004C420 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8004F4C4 0004C424 7C 00 00 26 */ mfcr r0 +/* 8004F4C8 0004C428 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +lbl_8004F4CC: +/* 8004F4CC 0004C42C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8004F4D0 0004C430 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8004F4D4 0004C434 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8004F4D8 0004C438 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8004F4DC 0004C43C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8004F4E0 0004C440 7C 08 03 A6 */ mtlr r0 +/* 8004F4E4 0004C444 38 21 00 40 */ addi r1, r1, 0x40 +/* 8004F4E8 0004C448 4E 80 00 20 */ blr + +.global sub_8004f4ec +sub_8004f4ec: +/* 8004F4EC 0004C44C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004F4F0 0004C450 7C 08 02 A6 */ mflr r0 +/* 8004F4F4 0004C454 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004F4F8 0004C458 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004F4FC 0004C45C 7C 9F 23 78 */ mr r31, r4 +/* 8004F500 0004C460 93 C1 00 08 */ stw r30, 8(r1) +/* 8004F504 0004C464 7C 7E 1B 78 */ mr r30, r3 +/* 8004F508 0004C468 80 84 00 00 */ lwz r4, 0(r4) +/* 8004F50C 0004C46C 28 04 00 00 */ cmplwi r4, 0 +/* 8004F510 0004C470 41 82 00 08 */ beq lbl_8004F518 +/* 8004F514 0004C474 4B FF FF D9 */ bl sub_8004f4ec +lbl_8004F518: +/* 8004F518 0004C478 80 9F 00 04 */ lwz r4, 4(r31) +/* 8004F51C 0004C47C 28 04 00 00 */ cmplwi r4, 0 +/* 8004F520 0004C480 41 82 00 0C */ beq lbl_8004F52C +/* 8004F524 0004C484 7F C3 F3 78 */ mr r3, r30 +/* 8004F528 0004C488 4B FF FF C5 */ bl sub_8004f4ec +lbl_8004F52C: +/* 8004F52C 0004C48C 28 1F 00 00 */ cmplwi r31, 0 +/* 8004F530 0004C490 41 82 00 0C */ beq lbl_8004F53C +/* 8004F534 0004C494 7F E3 FB 78 */ mr r3, r31 +/* 8004F538 0004C498 48 2C 63 F9 */ bl Free__7CMemoryFPCv +lbl_8004F53C: +/* 8004F53C 0004C49C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004F540 0004C4A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004F544 0004C4A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004F548 0004C4A8 7C 08 03 A6 */ mtlr r0 +/* 8004F54C 0004C4AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004F550 0004C4B0 4E 80 00 20 */ blr + +.global sub_8004f554 +sub_8004f554: +/* 8004F554 0004C4B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004F558 0004C4B8 7C 08 02 A6 */ mflr r0 +/* 8004F55C 0004C4BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004F560 0004C4C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004F564 0004C4C4 7C 9F 23 78 */ mr r31, r4 +/* 8004F568 0004C4C8 93 C1 00 08 */ stw r30, 8(r1) +/* 8004F56C 0004C4CC 7C 7E 1B 78 */ mr r30, r3 +/* 8004F570 0004C4D0 80 84 00 00 */ lwz r4, 0(r4) +/* 8004F574 0004C4D4 28 04 00 00 */ cmplwi r4, 0 +/* 8004F578 0004C4D8 41 82 00 08 */ beq lbl_8004F580 +/* 8004F57C 0004C4DC 4B FF FF D9 */ bl sub_8004f554 +lbl_8004F580: +/* 8004F580 0004C4E0 80 9F 00 04 */ lwz r4, 4(r31) +/* 8004F584 0004C4E4 28 04 00 00 */ cmplwi r4, 0 +/* 8004F588 0004C4E8 41 82 00 0C */ beq lbl_8004F594 +/* 8004F58C 0004C4EC 7F C3 F3 78 */ mr r3, r30 +/* 8004F590 0004C4F0 4B FF FF C5 */ bl sub_8004f554 +lbl_8004F594: +/* 8004F594 0004C4F4 28 1F 00 00 */ cmplwi r31, 0 +/* 8004F598 0004C4F8 41 82 00 0C */ beq lbl_8004F5A4 +/* 8004F59C 0004C4FC 7F E3 FB 78 */ mr r3, r31 +/* 8004F5A0 0004C500 48 2C 63 91 */ bl Free__7CMemoryFPCv +lbl_8004F5A4: +/* 8004F5A4 0004C504 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004F5A8 0004C508 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004F5AC 0004C50C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004F5B0 0004C510 7C 08 03 A6 */ mtlr r0 +/* 8004F5B4 0004C514 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004F5B8 0004C518 4E 80 00 20 */ blr + +.global sub_8004f5bc +sub_8004f5bc: +/* 8004F5BC 0004C51C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004F5C0 0004C520 7C 08 02 A6 */ mflr r0 +/* 8004F5C4 0004C524 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004F5C8 0004C528 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8004F5CC 0004C52C 7C 9F 23 78 */ mr r31, r4 +/* 8004F5D0 0004C530 93 C1 00 08 */ stw r30, 8(r1) +/* 8004F5D4 0004C534 7C 7E 1B 78 */ mr r30, r3 +/* 8004F5D8 0004C538 80 84 00 00 */ lwz r4, 0(r4) +/* 8004F5DC 0004C53C 28 04 00 00 */ cmplwi r4, 0 +/* 8004F5E0 0004C540 41 82 00 08 */ beq lbl_8004F5E8 +/* 8004F5E4 0004C544 4B FF FF D9 */ bl sub_8004f5bc +lbl_8004F5E8: +/* 8004F5E8 0004C548 80 9F 00 04 */ lwz r4, 4(r31) +/* 8004F5EC 0004C54C 28 04 00 00 */ cmplwi r4, 0 +/* 8004F5F0 0004C550 41 82 00 0C */ beq lbl_8004F5FC +/* 8004F5F4 0004C554 7F C3 F3 78 */ mr r3, r30 +/* 8004F5F8 0004C558 4B FF FF C5 */ bl sub_8004f5bc +lbl_8004F5FC: +/* 8004F5FC 0004C55C 28 1F 00 00 */ cmplwi r31, 0 +/* 8004F600 0004C560 41 82 00 14 */ beq lbl_8004F614 +/* 8004F604 0004C564 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8004F608 0004C568 41 82 00 0C */ beq lbl_8004F614 +/* 8004F60C 0004C56C 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8004F610 0004C570 48 2E E4 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8004F614: +/* 8004F614 0004C574 28 1F 00 00 */ cmplwi r31, 0 +/* 8004F618 0004C578 41 82 00 0C */ beq lbl_8004F624 +/* 8004F61C 0004C57C 7F E3 FB 78 */ mr r3, r31 +/* 8004F620 0004C580 48 2C 63 11 */ bl Free__7CMemoryFPCv +lbl_8004F624: +/* 8004F624 0004C584 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004F628 0004C588 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8004F62C 0004C58C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8004F630 0004C590 7C 08 03 A6 */ mtlr r0 +/* 8004F634 0004C594 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004F638 0004C598 4E 80 00 20 */ blr + +.global "__nw__36TOneStatic<22CStateManagerContainer>FUlPCcPCc" +"__nw__36TOneStatic<22CStateManagerContainer>FUlPCcPCc": +/* 8004F63C 0004C59C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004F640 0004C5A0 7C 08 02 A6 */ mflr r0 +/* 8004F644 0004C5A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004F648 0004C5A8 48 00 00 5D */ bl "ReferenceCount__36TOneStatic<22CStateManagerContainer>Fv" +/* 8004F64C 0004C5AC 80 83 00 00 */ lwz r4, 0(r3) +/* 8004F650 0004C5B0 38 04 00 01 */ addi r0, r4, 1 +/* 8004F654 0004C5B4 90 03 00 00 */ stw r0, 0(r3) +/* 8004F658 0004C5B8 48 00 00 41 */ bl "GetAllocSpace__36TOneStatic<22CStateManagerContainer>Fv" +/* 8004F65C 0004C5BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004F660 0004C5C0 7C 08 03 A6 */ mtlr r0 +/* 8004F664 0004C5C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004F668 0004C5C8 4E 80 00 20 */ blr + +.global "__dl__36TOneStatic<22CStateManagerContainer>FPv" +"__dl__36TOneStatic<22CStateManagerContainer>FPv": +/* 8004F66C 0004C5CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004F670 0004C5D0 7C 08 02 A6 */ mflr r0 +/* 8004F674 0004C5D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004F678 0004C5D8 48 00 00 2D */ bl "ReferenceCount__36TOneStatic<22CStateManagerContainer>Fv" +/* 8004F67C 0004C5DC 80 83 00 00 */ lwz r4, 0(r3) +/* 8004F680 0004C5E0 38 04 FF FF */ addi r0, r4, -1 +/* 8004F684 0004C5E4 90 03 00 00 */ stw r0, 0(r3) +/* 8004F688 0004C5E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004F68C 0004C5EC 7C 08 03 A6 */ mtlr r0 +/* 8004F690 0004C5F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004F694 0004C5F4 4E 80 00 20 */ blr + +.global "GetAllocSpace__36TOneStatic<22CStateManagerContainer>Fv" +"GetAllocSpace__36TOneStatic<22CStateManagerContainer>Fv": +/* 8004F698 0004C5F8 3C 60 80 46 */ lis r3, lbl_8045C5B4@ha +/* 8004F69C 0004C5FC 38 63 C5 B4 */ addi r3, r3, lbl_8045C5B4@l +/* 8004F6A0 0004C600 4E 80 00 20 */ blr + +.global "ReferenceCount__36TOneStatic<22CStateManagerContainer>Fv" +"ReferenceCount__36TOneStatic<22CStateManagerContainer>Fv": +/* 8004F6A4 0004C604 88 0D A2 14 */ lbz r0, lbl_805A8DD4@sda21(r13) +/* 8004F6A8 0004C608 7C 00 07 75 */ extsb. r0, r0 +/* 8004F6AC 0004C60C 40 82 00 14 */ bne lbl_8004F6C0 +/* 8004F6B0 0004C610 38 60 00 00 */ li r3, 0 +/* 8004F6B4 0004C614 38 00 00 01 */ li r0, 1 +/* 8004F6B8 0004C618 90 6D A2 10 */ stw r3, lbl_805A8DD0@sda21(r13) +/* 8004F6BC 0004C61C 98 0D A2 14 */ stb r0, lbl_805A8DD4@sda21(r13) +lbl_8004F6C0: +/* 8004F6C0 0004C620 38 6D A2 10 */ addi r3, r13, lbl_805A8DD0@sda21 +/* 8004F6C4 0004C624 4E 80 00 20 */ blr + +.global "__dl__27TOneStatic<13CStateManager>FPv" +"__dl__27TOneStatic<13CStateManager>FPv": +/* 8004F6C8 0004C628 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004F6CC 0004C62C 7C 08 02 A6 */ mflr r0 +/* 8004F6D0 0004C630 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004F6D4 0004C634 4B FD 5A 45 */ bl "ReferenceCount__27TOneStatic<13CStateManager>Fv" +/* 8004F6D8 0004C638 80 83 00 00 */ lwz r4, 0(r3) +/* 8004F6DC 0004C63C 38 04 FF FF */ addi r0, r4, -1 +/* 8004F6E0 0004C640 90 03 00 00 */ stw r0, 0(r3) +/* 8004F6E4 0004C644 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004F6E8 0004C648 7C 08 03 A6 */ mtlr r0 +/* 8004F6EC 0004C64C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004F6F0 0004C650 4E 80 00 20 */ blr + +.global "__nw__20TOneStatic<7CPlayer>FUlPCcPCc" +"__nw__20TOneStatic<7CPlayer>FUlPCcPCc": +/* 8004F6F4 0004C654 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8004F6F8 0004C658 7C 08 02 A6 */ mflr r0 +/* 8004F6FC 0004C65C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004F700 0004C660 4B FC B9 1D */ bl "ReferenceCount__20TOneStatic<7CPlayer>Fv" +/* 8004F704 0004C664 80 83 00 00 */ lwz r4, 0(r3) +/* 8004F708 0004C668 38 04 00 01 */ addi r0, r4, 1 +/* 8004F70C 0004C66C 90 03 00 00 */ stw r0, 0(r3) +/* 8004F710 0004C670 48 00 00 15 */ bl "GetAllocSpace__20TOneStatic<7CPlayer>Fv" +/* 8004F714 0004C674 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8004F718 0004C678 7C 08 03 A6 */ mtlr r0 +/* 8004F71C 0004C67C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8004F720 0004C680 4E 80 00 20 */ blr + +.global "GetAllocSpace__20TOneStatic<7CPlayer>Fv" +"GetAllocSpace__20TOneStatic<7CPlayer>Fv": +/* 8004F724 0004C684 3C 60 80 47 */ lis r3, lbl_8046B97C@ha +/* 8004F728 0004C688 38 63 B9 7C */ addi r3, r3, lbl_8046B97C@l +/* 8004F72C 0004C68C 4E 80 00 20 */ blr + +.global "Max__5CMathFRCfRCf" +"Max__5CMathFRCfRCf": +/* 8004F730 0004C690 C0 23 00 00 */ lfs f1, 0(r3) +/* 8004F734 0004C694 C0 04 00 00 */ lfs f0, 0(r4) +/* 8004F738 0004C698 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8004F73C 0004C69C 4D 81 00 20 */ bgtlr +/* 8004F740 0004C6A0 7C 83 23 78 */ mr r3, r4 +/* 8004F744 0004C6A4 4E 80 00 20 */ blr + +.global "sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" +"sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter": +/* 8004F748 0004C6A8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8004F74C 0004C6AC 7C 08 02 A6 */ mflr r0 +/* 8004F750 0004C6B0 90 01 00 64 */ stw r0, 0x64(r1) +/* 8004F754 0004C6B4 BF 41 00 48 */ stmw r26, 0x48(r1) +/* 8004F758 0004C6B8 7C 7D 1B 78 */ mr r29, r3 +/* 8004F75C 0004C6BC 7C 9E 23 78 */ mr r30, r4 +/* 8004F760 0004C6C0 7C BF 2B 78 */ mr r31, r5 +/* 8004F764 0004C6C4 7C 1D F0 50 */ subf r0, r29, r30 +/* 8004F768 0004C6C8 7C 00 16 70 */ srawi r0, r0, 2 +/* 8004F76C 0004C6CC 7C A0 01 94 */ addze r5, r0 +/* 8004F770 0004C6D0 2C 05 00 01 */ cmpwi r5, 1 +/* 8004F774 0004C6D4 40 81 01 50 */ ble lbl_8004F8C4 +/* 8004F778 0004C6D8 2C 05 00 14 */ cmpwi r5, 0x14 +/* 8004F77C 0004C6DC 41 81 00 30 */ bgt lbl_8004F7AC +/* 8004F780 0004C6E0 81 1F 00 00 */ lwz r8, 0(r31) +/* 8004F784 0004C6E4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8004F788 0004C6E8 80 FF 00 04 */ lwz r7, 4(r31) +/* 8004F78C 0004C6EC 80 DF 00 08 */ lwz r6, 8(r31) +/* 8004F790 0004C6F0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8004F794 0004C6F4 91 01 00 38 */ stw r8, 0x38(r1) +/* 8004F798 0004C6F8 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 8004F79C 0004C6FC 90 C1 00 40 */ stw r6, 0x40(r1) +/* 8004F7A0 0004C700 90 01 00 44 */ stw r0, 0x44(r1) +/* 8004F7A4 0004C704 48 00 10 51 */ bl "__insertion_sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" +/* 8004F7A8 0004C708 48 00 01 1C */ b lbl_8004F8C4 +lbl_8004F7AC: +/* 8004F7AC 0004C70C 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 8004F7B0 0004C710 80 9F 00 00 */ lwz r4, 0(r31) +/* 8004F7B4 0004C714 7C 00 2A 14 */ add r0, r0, r5 +/* 8004F7B8 0004C718 81 1F 00 04 */ lwz r8, 4(r31) +/* 8004F7BC 0004C71C 7C 05 0E 70 */ srawi r5, r0, 1 +/* 8004F7C0 0004C720 80 FF 00 08 */ lwz r7, 8(r31) +/* 8004F7C4 0004C724 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8004F7C8 0004C728 54 A5 10 3A */ slwi r5, r5, 2 +/* 8004F7CC 0004C72C 7F 9D 2A 14 */ add r28, r29, r5 +/* 8004F7D0 0004C730 3B 7E FF FC */ addi r27, r30, -4 +/* 8004F7D4 0004C734 90 81 00 28 */ stw r4, 0x28(r1) +/* 8004F7D8 0004C738 7F 84 E3 78 */ mr r4, r28 +/* 8004F7DC 0004C73C 7F 65 DB 78 */ mr r5, r27 +/* 8004F7E0 0004C740 38 C1 00 28 */ addi r6, r1, 0x28 +/* 8004F7E4 0004C744 91 01 00 2C */ stw r8, 0x2c(r1) +/* 8004F7E8 0004C748 90 E1 00 30 */ stw r7, 0x30(r1) +/* 8004F7EC 0004C74C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8004F7F0 0004C750 48 00 15 D9 */ bl "__sort3__4rstlFRPC9CGameAreaRPC9CGameAreaRPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" +/* 8004F7F4 0004C754 83 9C 00 00 */ lwz r28, 0(r28) +/* 8004F7F8 0004C758 3B 5D 00 04 */ addi r26, r29, 4 +/* 8004F7FC 0004C75C 3B 7B FF FC */ addi r27, r27, -4 +/* 8004F800 0004C760 48 00 00 08 */ b lbl_8004F808 +lbl_8004F804: +/* 8004F804 0004C764 3B 5A 00 04 */ addi r26, r26, 4 +lbl_8004F808: +/* 8004F808 0004C768 80 9A 00 00 */ lwz r4, 0(r26) +/* 8004F80C 0004C76C 7F E3 FB 78 */ mr r3, r31 +/* 8004F810 0004C770 7F 85 E3 78 */ mr r5, r28 +/* 8004F814 0004C774 4B FF FB ED */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" +/* 8004F818 0004C778 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004F81C 0004C77C 40 82 FF E8 */ bne lbl_8004F804 +/* 8004F820 0004C780 48 00 00 08 */ b lbl_8004F828 +lbl_8004F824: +/* 8004F824 0004C784 3B 7B FF FC */ addi r27, r27, -4 +lbl_8004F828: +/* 8004F828 0004C788 80 BB 00 00 */ lwz r5, 0(r27) +/* 8004F82C 0004C78C 7F E3 FB 78 */ mr r3, r31 +/* 8004F830 0004C790 7F 84 E3 78 */ mr r4, r28 +/* 8004F834 0004C794 4B FF FB CD */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" +/* 8004F838 0004C798 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8004F83C 0004C79C 40 82 FF E8 */ bne lbl_8004F824 +/* 8004F840 0004C7A0 7C 1A D8 40 */ cmplw r26, r27 +/* 8004F844 0004C7A4 40 80 00 20 */ bge lbl_8004F864 +/* 8004F848 0004C7A8 80 7A 00 00 */ lwz r3, 0(r26) +/* 8004F84C 0004C7AC 80 1B 00 00 */ lwz r0, 0(r27) +/* 8004F850 0004C7B0 90 1A 00 00 */ stw r0, 0(r26) +/* 8004F854 0004C7B4 3B 5A 00 04 */ addi r26, r26, 4 +/* 8004F858 0004C7B8 90 7B 00 00 */ stw r3, 0(r27) +/* 8004F85C 0004C7BC 3B 7B FF FC */ addi r27, r27, -4 +/* 8004F860 0004C7C0 4B FF FF A8 */ b lbl_8004F808 +lbl_8004F864: +/* 8004F864 0004C7C4 81 1F 00 00 */ lwz r8, 0(r31) +/* 8004F868 0004C7C8 7F A3 EB 78 */ mr r3, r29 +/* 8004F86C 0004C7CC 80 FF 00 04 */ lwz r7, 4(r31) +/* 8004F870 0004C7D0 7F 44 D3 78 */ mr r4, r26 +/* 8004F874 0004C7D4 80 DF 00 08 */ lwz r6, 8(r31) +/* 8004F878 0004C7D8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8004F87C 0004C7DC 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8004F880 0004C7E0 91 01 00 18 */ stw r8, 0x18(r1) +/* 8004F884 0004C7E4 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 8004F888 0004C7E8 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8004F88C 0004C7EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004F890 0004C7F0 4B FF FE B9 */ bl "sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" +/* 8004F894 0004C7F4 81 1F 00 00 */ lwz r8, 0(r31) +/* 8004F898 0004C7F8 7F 43 D3 78 */ mr r3, r26 +/* 8004F89C 0004C7FC 80 FF 00 04 */ lwz r7, 4(r31) +/* 8004F8A0 0004C800 7F C4 F3 78 */ mr r4, r30 +/* 8004F8A4 0004C804 80 DF 00 08 */ lwz r6, 8(r31) +/* 8004F8A8 0004C808 38 A1 00 08 */ addi r5, r1, 8 +/* 8004F8AC 0004C80C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8004F8B0 0004C810 91 01 00 08 */ stw r8, 8(r1) +/* 8004F8B4 0004C814 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8004F8B8 0004C818 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8004F8BC 0004C81C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8004F8C0 0004C820 4B FF FE 89 */ bl "sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" +lbl_8004F8C4: +/* 8004F8C4 0004C824 BB 41 00 48 */ lmw r26, 0x48(r1) +/* 8004F8C8 0004C828 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8004F8CC 0004C82C 7C 08 03 A6 */ mtlr r0 +/* 8004F8D0 0004C830 38 21 00 60 */ addi r1, r1, 0x60 +/* 8004F8D4 0004C834 4E 80 00 20 */ blr + +.global sub_8004f8d8 +sub_8004f8d8: +/* 8004F8D8 0004C838 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8004F8DC 0004C83C 7C 08 02 A6 */ mflr r0 +/* 8004F8E0 0004C840 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8004F8E4 0004C844 DB E1 00 A8 */ stfd f31, 0xa8(r1) +/* 8004F8E8 0004C848 93 E1 00 A4 */ stw r31, 0xa4(r1) +/* 8004F8EC 0004C84C 7C BF 2B 78 */ mr r31, r5 +/* 8004F8F0 0004C850 93 C1 00 A0 */ stw r30, 0xa0(r1) +/* 8004F8F4 0004C854 7C 9E 23 78 */ mr r30, r4 +/* 8004F8F8 0004C858 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 8004F8FC 0004C85C 93 A1 00 9C */ stw r29, 0x9c(r1) +/* 8004F900 0004C860 7C 7D 1B 78 */ mr r29, r3 +/* 8004F904 0004C864 38 84 66 67 */ addi r4, r4, 0x66666667@l +/* 8004F908 0004C868 93 81 00 98 */ stw r28, 0x98(r1) +/* 8004F90C 0004C86C 80 63 00 00 */ lwz r3, 0(r3) +/* 8004F910 0004C870 80 DE 00 00 */ lwz r6, 0(r30) +/* 8004F914 0004C874 7C 03 30 50 */ subf r0, r3, r6 +/* 8004F918 0004C878 7C 04 00 96 */ mulhw r0, r4, r0 +/* 8004F91C 0004C87C 7C 00 2E 70 */ srawi r0, r0, 5 +/* 8004F920 0004C880 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8004F924 0004C884 7C 80 22 14 */ add r4, r0, r4 +/* 8004F928 0004C888 2C 04 00 01 */ cmpwi r4, 1 +/* 8004F92C 0004C88C 40 81 01 E0 */ ble lbl_8004FB0C +/* 8004F930 0004C890 2C 04 00 14 */ cmpwi r4, 0x14 +/* 8004F934 0004C894 41 81 00 30 */ bgt lbl_8004F964 +/* 8004F938 0004C898 88 FF 00 00 */ lbz r7, 0(r31) +/* 8004F93C 0004C89C 38 61 00 34 */ addi r3, r1, 0x34 +/* 8004F940 0004C8A0 80 DE 00 00 */ lwz r6, 0(r30) +/* 8004F944 0004C8A4 38 81 00 30 */ addi r4, r1, 0x30 +/* 8004F948 0004C8A8 80 1D 00 00 */ lwz r0, 0(r29) +/* 8004F94C 0004C8AC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8004F950 0004C8B0 98 E1 00 14 */ stb r7, 0x14(r1) +/* 8004F954 0004C8B4 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8004F958 0004C8B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8004F95C 0004C8BC 48 00 15 19 */ bl "__insertion_sort,Q24rstl17rmemory_allocator>,15CLightPredicate>__4rstlFQ24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>15CLightPredicate" +/* 8004F960 0004C8C0 48 00 01 AC */ b lbl_8004FB0C +lbl_8004F964: +/* 8004F964 0004C8C4 54 80 0F FE */ srwi r0, r4, 0x1f +/* 8004F968 0004C8C8 38 A6 FF B0 */ addi r5, r6, -80 +/* 8004F96C 0004C8CC 7C 80 22 14 */ add r4, r0, r4 +/* 8004F970 0004C8D0 88 1F 00 00 */ lbz r0, 0(r31) +/* 8004F974 0004C8D4 7C 84 0E 70 */ srawi r4, r4, 1 +/* 8004F978 0004C8D8 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 8004F97C 0004C8DC 1C 84 00 50 */ mulli r4, r4, 0x50 +/* 8004F980 0004C8E0 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8004F984 0004C8E4 98 01 00 10 */ stb r0, 0x10(r1) +/* 8004F988 0004C8E8 7F 83 22 14 */ add r28, r3, r4 +/* 8004F98C 0004C8EC 7F 84 E3 78 */ mr r4, r28 +/* 8004F990 0004C8F0 48 00 0E ED */ bl sub_8005087c +/* 8004F994 0004C8F4 7F 84 E3 78 */ mr r4, r28 +/* 8004F998 0004C8F8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8004F99C 0004C8FC 4B FE BB D5 */ bl __ct__6CLightFCR6CLight +/* 8004F9A0 0004C900 80 9D 00 00 */ lwz r4, 0(r29) +/* 8004F9A4 0004C904 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8004F9A8 0004C908 38 84 00 50 */ addi r4, r4, 0x50 +/* 8004F9AC 0004C90C 38 03 FF B0 */ addi r0, r3, -80 +/* 8004F9B0 0004C910 90 81 00 38 */ stw r4, 0x38(r1) +/* 8004F9B4 0004C914 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8004F9B8 0004C918 48 00 00 10 */ b lbl_8004F9C8 +lbl_8004F9BC: +/* 8004F9BC 0004C91C 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8004F9C0 0004C920 38 03 00 50 */ addi r0, r3, 0x50 +/* 8004F9C4 0004C924 90 01 00 38 */ stw r0, 0x38(r1) +lbl_8004F9C8: +/* 8004F9C8 0004C928 83 81 00 38 */ lwz r28, 0x38(r1) +/* 8004F9CC 0004C92C 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8004F9D0 0004C930 80 7C 00 3C */ lwz r3, 0x3c(r28) +/* 8004F9D4 0004C934 7C 03 00 00 */ cmpw r3, r0 +/* 8004F9D8 0004C938 40 81 00 0C */ ble lbl_8004F9E4 +/* 8004F9DC 0004C93C 38 00 00 01 */ li r0, 1 +/* 8004F9E0 0004C940 48 00 00 30 */ b lbl_8004FA10 +lbl_8004F9E4: +/* 8004F9E4 0004C944 40 82 00 28 */ bne lbl_8004FA0C +/* 8004F9E8 0004C948 38 61 00 40 */ addi r3, r1, 0x40 +/* 8004F9EC 0004C94C 48 2B 67 69 */ bl GetIntensity__6CLightCFv +/* 8004F9F0 0004C950 FF E0 08 90 */ fmr f31, f1 +/* 8004F9F4 0004C954 7F 83 E3 78 */ mr r3, r28 +/* 8004F9F8 0004C958 48 2B 67 5D */ bl GetIntensity__6CLightCFv +/* 8004F9FC 0004C95C FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8004FA00 0004C960 7C 00 00 26 */ mfcr r0 +/* 8004FA04 0004C964 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 8004FA08 0004C968 48 00 00 08 */ b lbl_8004FA10 +lbl_8004FA0C: +/* 8004FA0C 0004C96C 38 00 00 00 */ li r0, 0 +lbl_8004FA10: +/* 8004FA10 0004C970 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8004FA14 0004C974 40 82 FF A8 */ bne lbl_8004F9BC +/* 8004FA18 0004C978 48 00 00 10 */ b lbl_8004FA28 +lbl_8004FA1C: +/* 8004FA1C 0004C97C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8004FA20 0004C980 38 03 FF B0 */ addi r0, r3, -80 +/* 8004FA24 0004C984 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_8004FA28: +/* 8004FA28 0004C988 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8004FA2C 0004C98C 80 81 00 7C */ lwz r4, 0x7c(r1) +/* 8004FA30 0004C990 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8004FA34 0004C994 7C 04 00 00 */ cmpw r4, r0 +/* 8004FA38 0004C998 40 81 00 0C */ ble lbl_8004FA44 +/* 8004FA3C 0004C99C 38 00 00 01 */ li r0, 1 +/* 8004FA40 0004C9A0 48 00 00 2C */ b lbl_8004FA6C +lbl_8004FA44: +/* 8004FA44 0004C9A4 40 82 00 24 */ bne lbl_8004FA68 +/* 8004FA48 0004C9A8 48 2B 67 0D */ bl GetIntensity__6CLightCFv +/* 8004FA4C 0004C9AC FF E0 08 90 */ fmr f31, f1 +/* 8004FA50 0004C9B0 38 61 00 40 */ addi r3, r1, 0x40 +/* 8004FA54 0004C9B4 48 2B 67 01 */ bl GetIntensity__6CLightCFv +/* 8004FA58 0004C9B8 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8004FA5C 0004C9BC 7C 00 00 26 */ mfcr r0 +/* 8004FA60 0004C9C0 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 8004FA64 0004C9C4 48 00 00 08 */ b lbl_8004FA6C +lbl_8004FA68: +/* 8004FA68 0004C9C8 38 00 00 00 */ li r0, 0 +lbl_8004FA6C: +/* 8004FA6C 0004C9CC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8004FA70 0004C9D0 40 82 FF AC */ bne lbl_8004FA1C +/* 8004FA74 0004C9D4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8004FA78 0004C9D8 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8004FA7C 0004C9DC 7C 03 00 40 */ cmplw r3, r0 +/* 8004FA80 0004C9E0 40 80 00 3C */ bge lbl_8004FABC +/* 8004FA84 0004C9E4 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 8004FA88 0004C9E8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8004FA8C 0004C9EC 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8004FA90 0004C9F0 38 81 00 28 */ addi r4, r1, 0x28 +/* 8004FA94 0004C9F4 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8004FA98 0004C9F8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8004FA9C 0004C9FC 48 00 00 95 */ bl sub_8004fb30 +/* 8004FAA0 0004CA00 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8004FAA4 0004CA04 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8004FAA8 0004CA08 38 84 00 50 */ addi r4, r4, 0x50 +/* 8004FAAC 0004CA0C 38 03 FF B0 */ addi r0, r3, -80 +/* 8004FAB0 0004CA10 90 81 00 38 */ stw r4, 0x38(r1) +/* 8004FAB4 0004CA14 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8004FAB8 0004CA18 4B FF FF 10 */ b lbl_8004F9C8 +lbl_8004FABC: +/* 8004FABC 0004CA1C 88 FF 00 00 */ lbz r7, 0(r31) +/* 8004FAC0 0004CA20 38 61 00 24 */ addi r3, r1, 0x24 +/* 8004FAC4 0004CA24 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 8004FAC8 0004CA28 38 81 00 20 */ addi r4, r1, 0x20 +/* 8004FACC 0004CA2C 80 1D 00 00 */ lwz r0, 0(r29) +/* 8004FAD0 0004CA30 38 A1 00 0C */ addi r5, r1, 0xc +/* 8004FAD4 0004CA34 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8004FAD8 0004CA38 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8004FADC 0004CA3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004FAE0 0004CA40 4B FF FD F9 */ bl sub_8004f8d8 +/* 8004FAE4 0004CA44 88 FF 00 00 */ lbz r7, 0(r31) +/* 8004FAE8 0004CA48 38 61 00 1C */ addi r3, r1, 0x1c +/* 8004FAEC 0004CA4C 80 DE 00 00 */ lwz r6, 0(r30) +/* 8004FAF0 0004CA50 38 81 00 18 */ addi r4, r1, 0x18 +/* 8004FAF4 0004CA54 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8004FAF8 0004CA58 38 A1 00 08 */ addi r5, r1, 8 +/* 8004FAFC 0004CA5C 98 E1 00 08 */ stb r7, 8(r1) +/* 8004FB00 0004CA60 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8004FB04 0004CA64 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8004FB08 0004CA68 4B FF FD D1 */ bl sub_8004f8d8 +lbl_8004FB0C: +/* 8004FB0C 0004CA6C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8004FB10 0004CA70 CB E1 00 A8 */ lfd f31, 0xa8(r1) +/* 8004FB14 0004CA74 83 E1 00 A4 */ lwz r31, 0xa4(r1) +/* 8004FB18 0004CA78 83 C1 00 A0 */ lwz r30, 0xa0(r1) +/* 8004FB1C 0004CA7C 83 A1 00 9C */ lwz r29, 0x9c(r1) +/* 8004FB20 0004CA80 83 81 00 98 */ lwz r28, 0x98(r1) +/* 8004FB24 0004CA84 7C 08 03 A6 */ mtlr r0 +/* 8004FB28 0004CA88 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8004FB2C 0004CA8C 4E 80 00 20 */ blr + +.global sub_8004fb30 +sub_8004fb30: +/* 8004FB30 0004CA90 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8004FB34 0004CA94 7C 08 02 A6 */ mflr r0 +/* 8004FB38 0004CA98 90 01 00 64 */ stw r0, 0x64(r1) +/* 8004FB3C 0004CA9C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8004FB40 0004CAA0 7C 9F 23 78 */ mr r31, r4 +/* 8004FB44 0004CAA4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8004FB48 0004CAA8 7C 7E 1B 78 */ mr r30, r3 +/* 8004FB4C 0004CAAC 80 83 00 00 */ lwz r4, 0(r3) +/* 8004FB50 0004CAB0 38 61 00 08 */ addi r3, r1, 8 +/* 8004FB54 0004CAB4 4B FE BA 1D */ bl __ct__6CLightFCR6CLight +/* 8004FB58 0004CAB8 80 9F 00 00 */ lwz r4, 0(r31) +/* 8004FB5C 0004CABC 80 BE 00 00 */ lwz r5, 0(r30) +/* 8004FB60 0004CAC0 80 64 00 00 */ lwz r3, 0(r4) +/* 8004FB64 0004CAC4 80 04 00 04 */ lwz r0, 4(r4) +/* 8004FB68 0004CAC8 90 65 00 00 */ stw r3, 0(r5) +/* 8004FB6C 0004CACC 90 05 00 04 */ stw r0, 4(r5) +/* 8004FB70 0004CAD0 80 04 00 08 */ lwz r0, 8(r4) +/* 8004FB74 0004CAD4 90 05 00 08 */ stw r0, 8(r5) +/* 8004FB78 0004CAD8 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8004FB7C 0004CADC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8004FB80 0004CAE0 90 65 00 0C */ stw r3, 0xc(r5) +/* 8004FB84 0004CAE4 90 05 00 10 */ stw r0, 0x10(r5) +/* 8004FB88 0004CAE8 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8004FB8C 0004CAEC 90 05 00 14 */ stw r0, 0x14(r5) +/* 8004FB90 0004CAF0 80 04 00 18 */ lwz r0, 0x18(r4) +/* 8004FB94 0004CAF4 90 05 00 18 */ stw r0, 0x18(r5) +/* 8004FB98 0004CAF8 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 8004FB9C 0004CAFC 90 05 00 1C */ stw r0, 0x1c(r5) +/* 8004FBA0 0004CB00 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8004FBA4 0004CB04 D0 05 00 20 */ stfs f0, 0x20(r5) +/* 8004FBA8 0004CB08 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 8004FBAC 0004CB0C D0 05 00 24 */ stfs f0, 0x24(r5) +/* 8004FBB0 0004CB10 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 8004FBB4 0004CB14 D0 05 00 28 */ stfs f0, 0x28(r5) +/* 8004FBB8 0004CB18 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8004FBBC 0004CB1C D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 8004FBC0 0004CB20 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 8004FBC4 0004CB24 D0 05 00 30 */ stfs f0, 0x30(r5) +/* 8004FBC8 0004CB28 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 8004FBCC 0004CB2C D0 05 00 34 */ stfs f0, 0x34(r5) +/* 8004FBD0 0004CB30 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 8004FBD4 0004CB34 D0 05 00 38 */ stfs f0, 0x38(r5) +/* 8004FBD8 0004CB38 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 8004FBDC 0004CB3C 90 05 00 3C */ stw r0, 0x3c(r5) +/* 8004FBE0 0004CB40 80 04 00 40 */ lwz r0, 0x40(r4) +/* 8004FBE4 0004CB44 90 05 00 40 */ stw r0, 0x40(r5) +/* 8004FBE8 0004CB48 C0 04 00 44 */ lfs f0, 0x44(r4) +/* 8004FBEC 0004CB4C D0 05 00 44 */ stfs f0, 0x44(r5) +/* 8004FBF0 0004CB50 C0 04 00 48 */ lfs f0, 0x48(r4) +/* 8004FBF4 0004CB54 D0 05 00 48 */ stfs f0, 0x48(r5) +/* 8004FBF8 0004CB58 88 04 00 4C */ lbz r0, 0x4c(r4) +/* 8004FBFC 0004CB5C 98 05 00 4C */ stb r0, 0x4c(r5) +/* 8004FC00 0004CB60 80 9F 00 00 */ lwz r4, 0(r31) +/* 8004FC04 0004CB64 80 61 00 08 */ lwz r3, 8(r1) +/* 8004FC08 0004CB68 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8004FC0C 0004CB6C 90 64 00 00 */ stw r3, 0(r4) +/* 8004FC10 0004CB70 90 04 00 04 */ stw r0, 4(r4) +/* 8004FC14 0004CB74 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8004FC18 0004CB78 90 04 00 08 */ stw r0, 8(r4) +/* 8004FC1C 0004CB7C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8004FC20 0004CB80 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8004FC24 0004CB84 90 64 00 0C */ stw r3, 0xc(r4) +/* 8004FC28 0004CB88 90 04 00 10 */ stw r0, 0x10(r4) +/* 8004FC2C 0004CB8C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8004FC30 0004CB90 90 04 00 14 */ stw r0, 0x14(r4) +/* 8004FC34 0004CB94 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8004FC38 0004CB98 90 04 00 18 */ stw r0, 0x18(r4) +/* 8004FC3C 0004CB9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004FC40 0004CBA0 90 04 00 1C */ stw r0, 0x1c(r4) +/* 8004FC44 0004CBA4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8004FC48 0004CBA8 D0 04 00 20 */ stfs f0, 0x20(r4) +/* 8004FC4C 0004CBAC C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8004FC50 0004CBB0 D0 04 00 24 */ stfs f0, 0x24(r4) +/* 8004FC54 0004CBB4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8004FC58 0004CBB8 D0 04 00 28 */ stfs f0, 0x28(r4) +/* 8004FC5C 0004CBBC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8004FC60 0004CBC0 D0 04 00 2C */ stfs f0, 0x2c(r4) +/* 8004FC64 0004CBC4 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8004FC68 0004CBC8 D0 04 00 30 */ stfs f0, 0x30(r4) +/* 8004FC6C 0004CBCC C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8004FC70 0004CBD0 D0 04 00 34 */ stfs f0, 0x34(r4) +/* 8004FC74 0004CBD4 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8004FC78 0004CBD8 D0 04 00 38 */ stfs f0, 0x38(r4) +/* 8004FC7C 0004CBDC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8004FC80 0004CBE0 90 04 00 3C */ stw r0, 0x3c(r4) +/* 8004FC84 0004CBE4 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8004FC88 0004CBE8 90 04 00 40 */ stw r0, 0x40(r4) +/* 8004FC8C 0004CBEC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8004FC90 0004CBF0 D0 04 00 44 */ stfs f0, 0x44(r4) +/* 8004FC94 0004CBF4 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8004FC98 0004CBF8 D0 04 00 48 */ stfs f0, 0x48(r4) +/* 8004FC9C 0004CBFC 88 01 00 54 */ lbz r0, 0x54(r1) +/* 8004FCA0 0004CC00 98 04 00 4C */ stb r0, 0x4c(r4) +/* 8004FCA4 0004CC04 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8004FCA8 0004CC08 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8004FCAC 0004CC0C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8004FCB0 0004CC10 7C 08 03 A6 */ mtlr r0 +/* 8004FCB4 0004CC14 38 21 00 60 */ addi r1, r1, 0x60 +/* 8004FCB8 0004CC18 4E 80 00 20 */ blr + +.global "insert_into__Q24rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>FPQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl32pair<13TGameScriptId,9TUniqueId>" +"insert_into__Q24rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>FPQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl32pair<13TGameScriptId,9TUniqueId>": +/* 8004FCBC 0004CC1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004FCC0 0004CC20 7C 08 02 A6 */ mflr r0 +/* 8004FCC4 0004CC24 28 05 00 00 */ cmplwi r5, 0 +/* 8004FCC8 0004CC28 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004FCCC 0004CC2C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8004FCD0 0004CC30 7C 7C 1B 78 */ mr r28, r3 +/* 8004FCD4 0004CC34 7C 9D 23 78 */ mr r29, r4 +/* 8004FCD8 0004CC38 7C DE 33 78 */ mr r30, r6 +/* 8004FCDC 0004CC3C 40 82 00 88 */ bne lbl_8004FD64 +/* 8004FCE0 0004CC40 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004FCE4 0004CC44 38 60 00 18 */ li r3, 0x18 +/* 8004FCE8 0004CC48 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004FCEC 0004CC4C 38 A0 00 00 */ li r5, 0 +/* 8004FCF0 0004CC50 48 2C 5B 29 */ bl __nwa__FUlPCcPCc +/* 8004FCF4 0004CC54 28 03 00 00 */ cmplwi r3, 0 +/* 8004FCF8 0004CC58 41 82 00 30 */ beq lbl_8004FD28 +/* 8004FCFC 0004CC5C 38 00 00 00 */ li r0, 0 +/* 8004FD00 0004CC60 34 83 00 10 */ addic. r4, r3, 0x10 +/* 8004FD04 0004CC64 90 03 00 00 */ stw r0, 0(r3) +/* 8004FD08 0004CC68 90 03 00 04 */ stw r0, 4(r3) +/* 8004FD0C 0004CC6C 90 03 00 08 */ stw r0, 8(r3) +/* 8004FD10 0004CC70 90 03 00 0C */ stw r0, 0xc(r3) +/* 8004FD14 0004CC74 41 82 00 14 */ beq lbl_8004FD28 +/* 8004FD18 0004CC78 80 1E 00 00 */ lwz r0, 0(r30) +/* 8004FD1C 0004CC7C 90 04 00 00 */ stw r0, 0(r4) +/* 8004FD20 0004CC80 A0 1E 00 04 */ lhz r0, 4(r30) +/* 8004FD24 0004CC84 B0 04 00 04 */ sth r0, 4(r4) +lbl_8004FD28: +/* 8004FD28 0004CC88 90 7D 00 10 */ stw r3, 0x10(r29) +/* 8004FD2C 0004CC8C 38 1D 00 08 */ addi r0, r29, 8 +/* 8004FD30 0004CC90 80 7D 00 04 */ lwz r3, 4(r29) +/* 8004FD34 0004CC94 38 63 00 01 */ addi r3, r3, 1 +/* 8004FD38 0004CC98 90 7D 00 04 */ stw r3, 4(r29) +/* 8004FD3C 0004CC9C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8004FD40 0004CCA0 90 7D 00 08 */ stw r3, 8(r29) +/* 8004FD44 0004CCA4 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8004FD48 0004CCA8 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8004FD4C 0004CCAC 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8004FD50 0004CCB0 90 7C 00 00 */ stw r3, 0(r28) +/* 8004FD54 0004CCB4 90 1C 00 04 */ stw r0, 4(r28) +/* 8004FD58 0004CCB8 88 0D 82 9F */ lbz r0, lbl_805A6E5F@sda21(r13) +/* 8004FD5C 0004CCBC 98 1C 00 08 */ stb r0, 8(r28) +/* 8004FD60 0004CCC0 48 00 01 50 */ b lbl_8004FEB0 +lbl_8004FD64: +/* 8004FD64 0004CCC4 7C BF 2B 78 */ mr r31, r5 +/* 8004FD68 0004CCC8 3B 60 00 00 */ li r27, 0 +/* 8004FD6C 0004CCCC 48 00 01 10 */ b lbl_8004FE7C +lbl_8004FD70: +/* 8004FD70 0004CCD0 80 7E 00 00 */ lwz r3, 0(r30) +/* 8004FD74 0004CCD4 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8004FD78 0004CCD8 54 63 01 BE */ clrlwi r3, r3, 6 +/* 8004FD7C 0004CCDC 54 00 01 BE */ clrlwi r0, r0, 6 +/* 8004FD80 0004CCE0 7C 03 00 40 */ cmplw r3, r0 +/* 8004FD84 0004CCE4 40 80 00 80 */ bge lbl_8004FE04 +/* 8004FD88 0004CCE8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8004FD8C 0004CCEC 28 00 00 00 */ cmplwi r0, 0 +/* 8004FD90 0004CCF0 40 82 00 6C */ bne lbl_8004FDFC +/* 8004FD94 0004CCF4 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004FD98 0004CCF8 38 60 00 18 */ li r3, 0x18 +/* 8004FD9C 0004CCFC 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004FDA0 0004CD00 38 A0 00 00 */ li r5, 0 +/* 8004FDA4 0004CD04 48 2C 5A 75 */ bl __nwa__FUlPCcPCc +/* 8004FDA8 0004CD08 28 03 00 00 */ cmplwi r3, 0 +/* 8004FDAC 0004CD0C 41 82 00 34 */ beq lbl_8004FDE0 +/* 8004FDB0 0004CD10 38 80 00 00 */ li r4, 0 +/* 8004FDB4 0004CD14 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 8004FDB8 0004CD18 90 83 00 00 */ stw r4, 0(r3) +/* 8004FDBC 0004CD1C 38 00 00 01 */ li r0, 1 +/* 8004FDC0 0004CD20 90 83 00 04 */ stw r4, 4(r3) +/* 8004FDC4 0004CD24 93 E3 00 08 */ stw r31, 8(r3) +/* 8004FDC8 0004CD28 90 03 00 0C */ stw r0, 0xc(r3) +/* 8004FDCC 0004CD2C 41 82 00 14 */ beq lbl_8004FDE0 +/* 8004FDD0 0004CD30 80 1E 00 00 */ lwz r0, 0(r30) +/* 8004FDD4 0004CD34 90 05 00 00 */ stw r0, 0(r5) +/* 8004FDD8 0004CD38 A0 1E 00 04 */ lhz r0, 4(r30) +/* 8004FDDC 0004CD3C B0 05 00 04 */ sth r0, 4(r5) +lbl_8004FDE0: +/* 8004FDE0 0004CD40 90 7F 00 00 */ stw r3, 0(r31) +/* 8004FDE4 0004CD44 7C 7B 1B 78 */ mr r27, r3 +/* 8004FDE8 0004CD48 80 1D 00 08 */ lwz r0, 8(r29) +/* 8004FDEC 0004CD4C 7C 1F 00 40 */ cmplw r31, r0 +/* 8004FDF0 0004CD50 40 82 00 8C */ bne lbl_8004FE7C +/* 8004FDF4 0004CD54 90 7D 00 08 */ stw r3, 8(r29) +/* 8004FDF8 0004CD58 48 00 00 84 */ b lbl_8004FE7C +lbl_8004FDFC: +/* 8004FDFC 0004CD5C 7C 1F 03 78 */ mr r31, r0 +/* 8004FE00 0004CD60 48 00 00 7C */ b lbl_8004FE7C +lbl_8004FE04: +/* 8004FE04 0004CD64 80 1F 00 04 */ lwz r0, 4(r31) +/* 8004FE08 0004CD68 28 00 00 00 */ cmplwi r0, 0 +/* 8004FE0C 0004CD6C 40 82 00 6C */ bne lbl_8004FE78 +/* 8004FE10 0004CD70 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004FE14 0004CD74 38 60 00 18 */ li r3, 0x18 +/* 8004FE18 0004CD78 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004FE1C 0004CD7C 38 A0 00 00 */ li r5, 0 +/* 8004FE20 0004CD80 48 2C 59 F9 */ bl __nwa__FUlPCcPCc +/* 8004FE24 0004CD84 28 03 00 00 */ cmplwi r3, 0 +/* 8004FE28 0004CD88 41 82 00 34 */ beq lbl_8004FE5C +/* 8004FE2C 0004CD8C 38 80 00 00 */ li r4, 0 +/* 8004FE30 0004CD90 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 8004FE34 0004CD94 90 83 00 00 */ stw r4, 0(r3) +/* 8004FE38 0004CD98 38 00 00 01 */ li r0, 1 +/* 8004FE3C 0004CD9C 90 83 00 04 */ stw r4, 4(r3) +/* 8004FE40 0004CDA0 93 E3 00 08 */ stw r31, 8(r3) +/* 8004FE44 0004CDA4 90 03 00 0C */ stw r0, 0xc(r3) +/* 8004FE48 0004CDA8 41 82 00 14 */ beq lbl_8004FE5C +/* 8004FE4C 0004CDAC 80 1E 00 00 */ lwz r0, 0(r30) +/* 8004FE50 0004CDB0 90 05 00 00 */ stw r0, 0(r5) +/* 8004FE54 0004CDB4 A0 1E 00 04 */ lhz r0, 4(r30) +/* 8004FE58 0004CDB8 B0 05 00 04 */ sth r0, 4(r5) +lbl_8004FE5C: +/* 8004FE5C 0004CDBC 90 7F 00 04 */ stw r3, 4(r31) +/* 8004FE60 0004CDC0 7C 7B 1B 78 */ mr r27, r3 +/* 8004FE64 0004CDC4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8004FE68 0004CDC8 7C 1F 00 40 */ cmplw r31, r0 +/* 8004FE6C 0004CDCC 40 82 00 10 */ bne lbl_8004FE7C +/* 8004FE70 0004CDD0 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8004FE74 0004CDD4 48 00 00 08 */ b lbl_8004FE7C +lbl_8004FE78: +/* 8004FE78 0004CDD8 7C 1F 03 78 */ mr r31, r0 +lbl_8004FE7C: +/* 8004FE7C 0004CDDC 28 1B 00 00 */ cmplwi r27, 0 +/* 8004FE80 0004CDE0 41 82 FE F0 */ beq lbl_8004FD70 +/* 8004FE84 0004CDE4 80 BD 00 04 */ lwz r5, 4(r29) +/* 8004FE88 0004CDE8 7F 64 DB 78 */ mr r4, r27 +/* 8004FE8C 0004CDEC 38 7D 00 08 */ addi r3, r29, 8 +/* 8004FE90 0004CDF0 38 05 00 01 */ addi r0, r5, 1 +/* 8004FE94 0004CDF4 90 1D 00 04 */ stw r0, 4(r29) +/* 8004FE98 0004CDF8 48 2E CC 01 */ bl rbtree_rebalance__4rstlFPvPv +/* 8004FE9C 0004CDFC 93 7C 00 00 */ stw r27, 0(r28) +/* 8004FEA0 0004CE00 38 1D 00 08 */ addi r0, r29, 8 +/* 8004FEA4 0004CE04 90 1C 00 04 */ stw r0, 4(r28) +/* 8004FEA8 0004CE08 88 0D 82 A0 */ lbz r0, lbl_805A6E60@sda21(r13) +/* 8004FEAC 0004CE0C 98 1C 00 08 */ stb r0, 8(r28) +lbl_8004FEB0: +/* 8004FEB0 0004CE10 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8004FEB4 0004CE14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8004FEB8 0004CE18 7C 08 03 A6 */ mtlr r0 +/* 8004FEBC 0004CE1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8004FEC0 0004CE20 4E 80 00 20 */ blr + +.global "insert_into__Q24rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>FPQ34rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl38pair<9TEditorId,19SScriptObjectStream>" +"insert_into__Q24rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>FPQ34rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl38pair<9TEditorId,19SScriptObjectStream>": +/* 8004FEC4 0004CE24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8004FEC8 0004CE28 7C 08 02 A6 */ mflr r0 +/* 8004FECC 0004CE2C 28 05 00 00 */ cmplwi r5, 0 +/* 8004FED0 0004CE30 90 01 00 24 */ stw r0, 0x24(r1) +/* 8004FED4 0004CE34 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8004FED8 0004CE38 7C 7B 1B 78 */ mr r27, r3 +/* 8004FEDC 0004CE3C 7C 9C 23 78 */ mr r28, r4 +/* 8004FEE0 0004CE40 7C DD 33 78 */ mr r29, r6 +/* 8004FEE4 0004CE44 40 82 00 98 */ bne lbl_8004FF7C +/* 8004FEE8 0004CE48 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004FEEC 0004CE4C 38 60 00 20 */ li r3, 0x20 +/* 8004FEF0 0004CE50 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004FEF4 0004CE54 38 A0 00 00 */ li r5, 0 +/* 8004FEF8 0004CE58 48 2C 59 21 */ bl __nwa__FUlPCcPCc +/* 8004FEFC 0004CE5C 28 03 00 00 */ cmplwi r3, 0 +/* 8004FF00 0004CE60 41 82 00 40 */ beq lbl_8004FF40 +/* 8004FF04 0004CE64 38 00 00 00 */ li r0, 0 +/* 8004FF08 0004CE68 34 83 00 10 */ addic. r4, r3, 0x10 +/* 8004FF0C 0004CE6C 90 03 00 00 */ stw r0, 0(r3) +/* 8004FF10 0004CE70 90 03 00 04 */ stw r0, 4(r3) +/* 8004FF14 0004CE74 90 03 00 08 */ stw r0, 8(r3) +/* 8004FF18 0004CE78 90 03 00 0C */ stw r0, 0xc(r3) +/* 8004FF1C 0004CE7C 41 82 00 24 */ beq lbl_8004FF40 +/* 8004FF20 0004CE80 80 1D 00 00 */ lwz r0, 0(r29) +/* 8004FF24 0004CE84 90 04 00 00 */ stw r0, 0(r4) +/* 8004FF28 0004CE88 80 1D 00 04 */ lwz r0, 4(r29) +/* 8004FF2C 0004CE8C 90 04 00 04 */ stw r0, 4(r4) +/* 8004FF30 0004CE90 80 1D 00 08 */ lwz r0, 8(r29) +/* 8004FF34 0004CE94 90 04 00 08 */ stw r0, 8(r4) +/* 8004FF38 0004CE98 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8004FF3C 0004CE9C 90 04 00 0C */ stw r0, 0xc(r4) +lbl_8004FF40: +/* 8004FF40 0004CEA0 90 7C 00 10 */ stw r3, 0x10(r28) +/* 8004FF44 0004CEA4 38 1C 00 08 */ addi r0, r28, 8 +/* 8004FF48 0004CEA8 80 7C 00 04 */ lwz r3, 4(r28) +/* 8004FF4C 0004CEAC 38 63 00 01 */ addi r3, r3, 1 +/* 8004FF50 0004CEB0 90 7C 00 04 */ stw r3, 4(r28) +/* 8004FF54 0004CEB4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8004FF58 0004CEB8 90 7C 00 08 */ stw r3, 8(r28) +/* 8004FF5C 0004CEBC 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8004FF60 0004CEC0 90 7C 00 0C */ stw r3, 0xc(r28) +/* 8004FF64 0004CEC4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8004FF68 0004CEC8 90 7B 00 00 */ stw r3, 0(r27) +/* 8004FF6C 0004CECC 90 1B 00 04 */ stw r0, 4(r27) +/* 8004FF70 0004CED0 88 0D 82 9C */ lbz r0, lbl_805A6E5C@sda21(r13) +/* 8004FF74 0004CED4 98 1B 00 08 */ stb r0, 8(r27) +/* 8004FF78 0004CED8 48 00 01 A4 */ b lbl_8005011C +lbl_8004FF7C: +/* 8004FF7C 0004CEDC 7C BF 2B 78 */ mr r31, r5 +/* 8004FF80 0004CEE0 3B C0 00 00 */ li r30, 0 +/* 8004FF84 0004CEE4 48 00 01 64 */ b lbl_800500E8 +lbl_8004FF88: +/* 8004FF88 0004CEE8 80 7D 00 00 */ lwz r3, 0(r29) +/* 8004FF8C 0004CEEC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8004FF90 0004CEF0 54 63 01 BE */ clrlwi r3, r3, 6 +/* 8004FF94 0004CEF4 54 04 01 BE */ clrlwi r4, r0, 6 +/* 8004FF98 0004CEF8 7C 80 1A 78 */ xor r0, r4, r3 +/* 8004FF9C 0004CEFC 7C 00 00 34 */ cntlzw r0, r0 +/* 8004FFA0 0004CF00 7C 80 00 30 */ slw r0, r4, r0 +/* 8004FFA4 0004CF04 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 8004FFA8 0004CF08 40 82 00 24 */ bne lbl_8004FFCC +/* 8004FFAC 0004CF0C 7C 04 18 40 */ cmplw r4, r3 +/* 8004FFB0 0004CF10 41 80 00 1C */ blt lbl_8004FFCC +/* 8004FFB4 0004CF14 93 FB 00 00 */ stw r31, 0(r27) +/* 8004FFB8 0004CF18 38 1C 00 08 */ addi r0, r28, 8 +/* 8004FFBC 0004CF1C 90 1B 00 04 */ stw r0, 4(r27) +/* 8004FFC0 0004CF20 88 0D 82 9D */ lbz r0, lbl_805A6E5D@sda21(r13) +/* 8004FFC4 0004CF24 98 1B 00 08 */ stb r0, 8(r27) +/* 8004FFC8 0004CF28 48 00 01 54 */ b lbl_8005011C +lbl_8004FFCC: +/* 8004FFCC 0004CF2C 28 00 00 00 */ cmplwi r0, 0 +/* 8004FFD0 0004CF30 41 82 00 90 */ beq lbl_80050060 +/* 8004FFD4 0004CF34 80 1F 00 00 */ lwz r0, 0(r31) +/* 8004FFD8 0004CF38 28 00 00 00 */ cmplwi r0, 0 +/* 8004FFDC 0004CF3C 40 82 00 7C */ bne lbl_80050058 +/* 8004FFE0 0004CF40 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 8004FFE4 0004CF44 38 60 00 20 */ li r3, 0x20 +/* 8004FFE8 0004CF48 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 8004FFEC 0004CF4C 38 A0 00 00 */ li r5, 0 +/* 8004FFF0 0004CF50 48 2C 58 29 */ bl __nwa__FUlPCcPCc +/* 8004FFF4 0004CF54 28 03 00 00 */ cmplwi r3, 0 +/* 8004FFF8 0004CF58 41 82 00 44 */ beq lbl_8005003C +/* 8004FFFC 0004CF5C 38 80 00 00 */ li r4, 0 +/* 80050000 0004CF60 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80050004 0004CF64 90 83 00 00 */ stw r4, 0(r3) +/* 80050008 0004CF68 38 00 00 01 */ li r0, 1 +/* 8005000C 0004CF6C 90 83 00 04 */ stw r4, 4(r3) +/* 80050010 0004CF70 93 E3 00 08 */ stw r31, 8(r3) +/* 80050014 0004CF74 90 03 00 0C */ stw r0, 0xc(r3) +/* 80050018 0004CF78 41 82 00 24 */ beq lbl_8005003C +/* 8005001C 0004CF7C 80 1D 00 00 */ lwz r0, 0(r29) +/* 80050020 0004CF80 90 05 00 00 */ stw r0, 0(r5) +/* 80050024 0004CF84 80 1D 00 04 */ lwz r0, 4(r29) +/* 80050028 0004CF88 90 05 00 04 */ stw r0, 4(r5) +/* 8005002C 0004CF8C 80 1D 00 08 */ lwz r0, 8(r29) +/* 80050030 0004CF90 90 05 00 08 */ stw r0, 8(r5) +/* 80050034 0004CF94 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80050038 0004CF98 90 05 00 0C */ stw r0, 0xc(r5) +lbl_8005003C: +/* 8005003C 0004CF9C 90 7F 00 00 */ stw r3, 0(r31) +/* 80050040 0004CFA0 7C 7E 1B 78 */ mr r30, r3 +/* 80050044 0004CFA4 80 1C 00 08 */ lwz r0, 8(r28) +/* 80050048 0004CFA8 7C 1F 00 40 */ cmplw r31, r0 +/* 8005004C 0004CFAC 40 82 00 9C */ bne lbl_800500E8 +/* 80050050 0004CFB0 90 7C 00 08 */ stw r3, 8(r28) +/* 80050054 0004CFB4 48 00 00 94 */ b lbl_800500E8 +lbl_80050058: +/* 80050058 0004CFB8 7C 1F 03 78 */ mr r31, r0 +/* 8005005C 0004CFBC 48 00 00 8C */ b lbl_800500E8 +lbl_80050060: +/* 80050060 0004CFC0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80050064 0004CFC4 28 00 00 00 */ cmplwi r0, 0 +/* 80050068 0004CFC8 40 82 00 7C */ bne lbl_800500E4 +/* 8005006C 0004CFCC 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 80050070 0004CFD0 38 60 00 20 */ li r3, 0x20 +/* 80050074 0004CFD4 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 80050078 0004CFD8 38 A0 00 00 */ li r5, 0 +/* 8005007C 0004CFDC 48 2C 57 9D */ bl __nwa__FUlPCcPCc +/* 80050080 0004CFE0 28 03 00 00 */ cmplwi r3, 0 +/* 80050084 0004CFE4 41 82 00 44 */ beq lbl_800500C8 +/* 80050088 0004CFE8 38 80 00 00 */ li r4, 0 +/* 8005008C 0004CFEC 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80050090 0004CFF0 90 83 00 00 */ stw r4, 0(r3) +/* 80050094 0004CFF4 38 00 00 01 */ li r0, 1 +/* 80050098 0004CFF8 90 83 00 04 */ stw r4, 4(r3) +/* 8005009C 0004CFFC 93 E3 00 08 */ stw r31, 8(r3) +/* 800500A0 0004D000 90 03 00 0C */ stw r0, 0xc(r3) +/* 800500A4 0004D004 41 82 00 24 */ beq lbl_800500C8 +/* 800500A8 0004D008 80 1D 00 00 */ lwz r0, 0(r29) +/* 800500AC 0004D00C 90 05 00 00 */ stw r0, 0(r5) +/* 800500B0 0004D010 80 1D 00 04 */ lwz r0, 4(r29) +/* 800500B4 0004D014 90 05 00 04 */ stw r0, 4(r5) +/* 800500B8 0004D018 80 1D 00 08 */ lwz r0, 8(r29) +/* 800500BC 0004D01C 90 05 00 08 */ stw r0, 8(r5) +/* 800500C0 0004D020 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800500C4 0004D024 90 05 00 0C */ stw r0, 0xc(r5) +lbl_800500C8: +/* 800500C8 0004D028 90 7F 00 04 */ stw r3, 4(r31) +/* 800500CC 0004D02C 7C 7E 1B 78 */ mr r30, r3 +/* 800500D0 0004D030 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 800500D4 0004D034 7C 1F 00 40 */ cmplw r31, r0 +/* 800500D8 0004D038 40 82 00 10 */ bne lbl_800500E8 +/* 800500DC 0004D03C 90 7C 00 0C */ stw r3, 0xc(r28) +/* 800500E0 0004D040 48 00 00 08 */ b lbl_800500E8 +lbl_800500E4: +/* 800500E4 0004D044 7C 1F 03 78 */ mr r31, r0 +lbl_800500E8: +/* 800500E8 0004D048 28 1E 00 00 */ cmplwi r30, 0 +/* 800500EC 0004D04C 41 82 FE 9C */ beq lbl_8004FF88 +/* 800500F0 0004D050 80 BC 00 04 */ lwz r5, 4(r28) +/* 800500F4 0004D054 7F C4 F3 78 */ mr r4, r30 +/* 800500F8 0004D058 38 7C 00 08 */ addi r3, r28, 8 +/* 800500FC 0004D05C 38 05 00 01 */ addi r0, r5, 1 +/* 80050100 0004D060 90 1C 00 04 */ stw r0, 4(r28) +/* 80050104 0004D064 48 2E C9 95 */ bl rbtree_rebalance__4rstlFPvPv +/* 80050108 0004D068 93 DB 00 00 */ stw r30, 0(r27) +/* 8005010C 0004D06C 38 1C 00 08 */ addi r0, r28, 8 +/* 80050110 0004D070 90 1B 00 04 */ stw r0, 4(r27) +/* 80050114 0004D074 88 0D 82 9E */ lbz r0, lbl_805A6E5E@sda21(r13) +/* 80050118 0004D078 98 1B 00 08 */ stb r0, 8(r27) +lbl_8005011C: +/* 8005011C 0004D07C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80050120 0004D080 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80050124 0004D084 7C 08 03 A6 */ mtlr r0 +/* 80050128 0004D088 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005012C 0004D08C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CTweakGame.s b/asm/Kyoto_CWD/CTweakGame.s new file mode 100644 index 00000000..621cb55f --- /dev/null +++ b/asm/Kyoto_CWD/CTweakGame.s @@ -0,0 +1,151 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __ct__10CTweakGameFR12CInputStream +__ct__10CTweakGameFR12CInputStream: +/* 800371E4 00034144 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800371E8 00034148 7C 08 02 A6 */ mflr r0 +/* 800371EC 0003414C 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha +/* 800371F0 00034150 90 01 00 24 */ stw r0, 0x24(r1) +/* 800371F4 00034154 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l +/* 800371F8 00034158 38 A1 00 0C */ addi r5, r1, 0xc +/* 800371FC 0003415C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80037200 00034160 7C 9F 23 78 */ mr r31, r4 +/* 80037204 00034164 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80037208 00034168 7C 7E 1B 78 */ mr r30, r3 +/* 8003720C 0003416C 3C 60 80 3E */ lis r3, lbl_803D9CD0@ha +/* 80037210 00034170 90 1E 00 00 */ stw r0, 0(r30) +/* 80037214 00034174 38 03 9C D0 */ addi r0, r3, lbl_803D9CD0@l +/* 80037218 00034178 38 7E 00 04 */ addi r3, r30, 4 +/* 8003721C 0003417C 90 1E 00 00 */ stw r0, 0(r30) +/* 80037220 00034180 48 30 70 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80037224 00034184 7F E4 FB 78 */ mr r4, r31 +/* 80037228 00034188 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8003722C 0003418C 38 A1 00 08 */ addi r5, r1, 8 +/* 80037230 00034190 48 30 70 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80037234 00034194 7F E3 FB 78 */ mr r3, r31 +/* 80037238 00034198 48 30 79 F1 */ bl ReadFloat__12CInputStreamFv +/* 8003723C 0003419C D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 80037240 000341A0 7F E3 FB 78 */ mr r3, r31 +/* 80037244 000341A4 48 30 7A 99 */ bl ReadBool__12CInputStreamFv +/* 80037248 000341A8 98 7E 00 28 */ stb r3, 0x28(r30) +/* 8003724C 000341AC 7F E3 FB 78 */ mr r3, r31 +/* 80037250 000341B0 48 30 7A 8D */ bl ReadBool__12CInputStreamFv +/* 80037254 000341B4 98 7E 00 29 */ stb r3, 0x29(r30) +/* 80037258 000341B8 7F E3 FB 78 */ mr r3, r31 +/* 8003725C 000341BC 48 30 7A 81 */ bl ReadBool__12CInputStreamFv +/* 80037260 000341C0 98 7E 00 2A */ stb r3, 0x2a(r30) +/* 80037264 000341C4 7F E3 FB 78 */ mr r3, r31 +/* 80037268 000341C8 48 30 7A 75 */ bl ReadBool__12CInputStreamFv +/* 8003726C 000341CC 98 7E 00 2B */ stb r3, 0x2b(r30) +/* 80037270 000341D0 7F E3 FB 78 */ mr r3, r31 +/* 80037274 000341D4 48 30 79 B5 */ bl ReadFloat__12CInputStreamFv +/* 80037278 000341D8 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 8003727C 000341DC 7F E3 FB 78 */ mr r3, r31 +/* 80037280 000341E0 48 30 79 A9 */ bl ReadFloat__12CInputStreamFv +/* 80037284 000341E4 D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 80037288 000341E8 7F E3 FB 78 */ mr r3, r31 +/* 8003728C 000341EC 48 30 79 9D */ bl ReadFloat__12CInputStreamFv +/* 80037290 000341F0 D0 3E 00 34 */ stfs f1, 0x34(r30) +/* 80037294 000341F4 7F E3 FB 78 */ mr r3, r31 +/* 80037298 000341F8 48 30 79 91 */ bl ReadFloat__12CInputStreamFv +/* 8003729C 000341FC D0 3E 00 38 */ stfs f1, 0x38(r30) +/* 800372A0 00034200 7F E3 FB 78 */ mr r3, r31 +/* 800372A4 00034204 48 30 79 85 */ bl ReadFloat__12CInputStreamFv +/* 800372A8 00034208 D0 3E 00 3C */ stfs f1, 0x3c(r30) +/* 800372AC 0003420C 7F E3 FB 78 */ mr r3, r31 +/* 800372B0 00034210 48 30 79 79 */ bl ReadFloat__12CInputStreamFv +/* 800372B4 00034214 D0 3E 00 40 */ stfs f1, 0x40(r30) +/* 800372B8 00034218 7F E3 FB 78 */ mr r3, r31 +/* 800372BC 0003421C 48 30 79 6D */ bl ReadFloat__12CInputStreamFv +/* 800372C0 00034220 D0 3E 00 44 */ stfs f1, 0x44(r30) +/* 800372C4 00034224 7F E3 FB 78 */ mr r3, r31 +/* 800372C8 00034228 48 30 79 61 */ bl ReadFloat__12CInputStreamFv +/* 800372CC 0003422C D0 3E 00 48 */ stfs f1, 0x48(r30) +/* 800372D0 00034230 7F E3 FB 78 */ mr r3, r31 +/* 800372D4 00034234 48 30 79 55 */ bl ReadFloat__12CInputStreamFv +/* 800372D8 00034238 D0 3E 00 4C */ stfs f1, 0x4c(r30) +/* 800372DC 0003423C 7F E3 FB 78 */ mr r3, r31 +/* 800372E0 00034240 48 30 79 49 */ bl ReadFloat__12CInputStreamFv +/* 800372E4 00034244 D0 3E 00 50 */ stfs f1, 0x50(r30) +/* 800372E8 00034248 7F E3 FB 78 */ mr r3, r31 +/* 800372EC 0003424C 48 30 79 3D */ bl ReadFloat__12CInputStreamFv +/* 800372F0 00034250 D0 3E 00 54 */ stfs f1, 0x54(r30) +/* 800372F4 00034254 7F E3 FB 78 */ mr r3, r31 +/* 800372F8 00034258 48 30 79 31 */ bl ReadFloat__12CInputStreamFv +/* 800372FC 0003425C D0 3E 00 58 */ stfs f1, 0x58(r30) +/* 80037300 00034260 7F E3 FB 78 */ mr r3, r31 +/* 80037304 00034264 48 30 79 25 */ bl ReadFloat__12CInputStreamFv +/* 80037308 00034268 D0 3E 00 5C */ stfs f1, 0x5c(r30) +/* 8003730C 0003426C 7F E3 FB 78 */ mr r3, r31 +/* 80037310 00034270 48 30 79 19 */ bl ReadFloat__12CInputStreamFv +/* 80037314 00034274 D0 3E 00 60 */ stfs f1, 0x60(r30) +/* 80037318 00034278 7F E3 FB 78 */ mr r3, r31 +/* 8003731C 0003427C 48 30 79 0D */ bl ReadFloat__12CInputStreamFv +/* 80037320 00034280 D0 3E 00 64 */ stfs f1, 0x64(r30) +/* 80037324 00034284 38 00 00 00 */ li r0, 0 +/* 80037328 00034288 7F C3 F3 78 */ mr r3, r30 +/* 8003732C 0003428C 98 1E 00 2B */ stb r0, 0x2b(r30) +/* 80037330 00034290 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80037334 00034294 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80037338 00034298 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8003733C 0003429C 7C 08 03 A6 */ mtlr r0 +/* 80037340 000342A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80037344 000342A4 4E 80 00 20 */ blr + +.global __dt__10CTweakGameFv +__dt__10CTweakGameFv: +/* 80037348 000342A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003734C 000342AC 7C 08 02 A6 */ mflr r0 +/* 80037350 000342B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80037354 000342B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80037358 000342B8 7C 9F 23 78 */ mr r31, r4 +/* 8003735C 000342BC 93 C1 00 08 */ stw r30, 8(r1) +/* 80037360 000342C0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80037364 000342C4 41 82 00 54 */ beq lbl_800373B8 +/* 80037368 000342C8 3C 60 80 3E */ lis r3, lbl_803D9CD0@ha +/* 8003736C 000342CC 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80037370 000342D0 38 03 9C D0 */ addi r0, r3, lbl_803D9CD0@l +/* 80037374 000342D4 90 1E 00 00 */ stw r0, 0(r30) +/* 80037378 000342D8 41 82 00 0C */ beq lbl_80037384 +/* 8003737C 000342DC 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80037380 000342E0 48 30 67 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80037384: +/* 80037384 000342E4 34 1E 00 04 */ addic. r0, r30, 4 +/* 80037388 000342E8 41 82 00 0C */ beq lbl_80037394 +/* 8003738C 000342EC 38 7E 00 04 */ addi r3, r30, 4 +/* 80037390 000342F0 48 30 67 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80037394: +/* 80037394 000342F4 28 1E 00 00 */ cmplwi r30, 0 +/* 80037398 000342F8 41 82 00 10 */ beq lbl_800373A8 +/* 8003739C 000342FC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 800373A0 00034300 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 800373A4 00034304 90 1E 00 00 */ stw r0, 0(r30) +lbl_800373A8: +/* 800373A8 00034308 7F E0 07 35 */ extsh. r0, r31 +/* 800373AC 0003430C 40 81 00 0C */ ble lbl_800373B8 +/* 800373B0 00034310 7F C3 F3 78 */ mr r3, r30 +/* 800373B4 00034314 48 00 00 21 */ bl "__dl__24TOneStatic<10CTweakGame>FPv" +lbl_800373B8: +/* 800373B8 00034318 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800373BC 0003431C 7F C3 F3 78 */ mr r3, r30 +/* 800373C0 00034320 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800373C4 00034324 83 C1 00 08 */ lwz r30, 8(r1) +/* 800373C8 00034328 7C 08 03 A6 */ mtlr r0 +/* 800373CC 0003432C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800373D0 00034330 4E 80 00 20 */ blr + +.global "__dl__24TOneStatic<10CTweakGame>FPv" +"__dl__24TOneStatic<10CTweakGame>FPv": +/* 800373D4 00034334 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800373D8 00034338 7C 08 02 A6 */ mflr r0 +/* 800373DC 0003433C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800373E0 00034340 4B FF FD 45 */ bl "ReferenceCount__24TOneStatic<10CTweakGame>Fv" +/* 800373E4 00034344 80 83 00 00 */ lwz r4, 0(r3) +/* 800373E8 00034348 38 04 FF FF */ addi r0, r4, -1 +/* 800373EC 0003434C 90 03 00 00 */ stw r0, 0(r3) +/* 800373F0 00034350 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800373F4 00034354 7C 08 03 A6 */ mtlr r0 +/* 800373F8 00034358 38 21 00 10 */ addi r1, r1, 0x10 +/* 800373FC 0003435C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CTweakPlayer.s b/asm/Kyoto_CWD/CTweakPlayer.s new file mode 100644 index 00000000..b0b3eabd --- /dev/null +++ b/asm/Kyoto_CWD/CTweakPlayer.s @@ -0,0 +1,763 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __ct__12CTweakPlayerFR12CInputStream +__ct__12CTweakPlayerFR12CInputStream: +/* 80034E04 00031D64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80034E08 00031D68 7C 08 02 A6 */ mflr r0 +/* 80034E0C 00031D6C 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha +/* 80034E10 00031D70 3C A0 80 3E */ lis r5, lbl_803D9CB8@ha +/* 80034E14 00031D74 90 01 00 24 */ stw r0, 0x24(r1) +/* 80034E18 00031D78 38 05 9C B8 */ addi r0, r5, lbl_803D9CB8@l +/* 80034E1C 00031D7C C0 02 83 F8 */ lfs f0, lbl_805AA118@sda21(r2) +/* 80034E20 00031D80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80034E24 00031D84 7C 9F 23 78 */ mr r31, r4 +/* 80034E28 00031D88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80034E2C 00031D8C 7C 7E 1B 78 */ mr r30, r3 +/* 80034E30 00031D90 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l +/* 80034E34 00031D94 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80034E38 00031D98 3B A0 00 00 */ li r29, 0 +/* 80034E3C 00031D9C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80034E40 00031DA0 3B 80 00 00 */ li r28, 0 +/* 80034E44 00031DA4 90 7E 00 00 */ stw r3, 0(r30) +/* 80034E48 00031DA8 90 1E 00 00 */ stw r0, 0(r30) +/* 80034E4C 00031DAC D0 1E 02 D8 */ stfs f0, 0x2d8(r30) +/* 80034E50 00031DB0 D0 1E 02 DC */ stfs f0, 0x2dc(r30) +/* 80034E54 00031DB4 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) +/* 80034E58 00031DB8 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) +lbl_80034E5C: +/* 80034E5C 00031DBC 7F E3 FB 78 */ mr r3, r31 +/* 80034E60 00031DC0 48 30 9D C9 */ bl ReadFloat__12CInputStreamFv +/* 80034E64 00031DC4 3B 9C 00 01 */ addi r28, r28, 1 +/* 80034E68 00031DC8 38 1D 00 04 */ addi r0, r29, 4 +/* 80034E6C 00031DCC 2C 1C 00 08 */ cmpwi r28, 8 +/* 80034E70 00031DD0 7C 3E 05 2E */ stfsx f1, r30, r0 +/* 80034E74 00031DD4 3B BD 00 04 */ addi r29, r29, 4 +/* 80034E78 00031DD8 41 80 FF E4 */ blt lbl_80034E5C +/* 80034E7C 00031DDC 3B 80 00 00 */ li r28, 0 +/* 80034E80 00031DE0 7F 9D E3 78 */ mr r29, r28 +lbl_80034E84: +/* 80034E84 00031DE4 7F E3 FB 78 */ mr r3, r31 +/* 80034E88 00031DE8 48 30 9D A1 */ bl ReadFloat__12CInputStreamFv +/* 80034E8C 00031DEC 3B 9C 00 01 */ addi r28, r28, 1 +/* 80034E90 00031DF0 38 1D 00 24 */ addi r0, r29, 0x24 +/* 80034E94 00031DF4 2C 1C 00 08 */ cmpwi r28, 8 +/* 80034E98 00031DF8 7C 3E 05 2E */ stfsx f1, r30, r0 +/* 80034E9C 00031DFC 3B BD 00 04 */ addi r29, r29, 4 +/* 80034EA0 00031E00 41 80 FF E4 */ blt lbl_80034E84 +/* 80034EA4 00031E04 3B 80 00 00 */ li r28, 0 +/* 80034EA8 00031E08 7F 9D E3 78 */ mr r29, r28 +lbl_80034EAC: +/* 80034EAC 00031E0C 7F E3 FB 78 */ mr r3, r31 +/* 80034EB0 00031E10 48 30 9D 79 */ bl ReadFloat__12CInputStreamFv +/* 80034EB4 00031E14 3B 9C 00 01 */ addi r28, r28, 1 +/* 80034EB8 00031E18 38 1D 00 44 */ addi r0, r29, 0x44 +/* 80034EBC 00031E1C 2C 1C 00 08 */ cmpwi r28, 8 +/* 80034EC0 00031E20 7C 3E 05 2E */ stfsx f1, r30, r0 +/* 80034EC4 00031E24 3B BD 00 04 */ addi r29, r29, 4 +/* 80034EC8 00031E28 41 80 FF E4 */ blt lbl_80034EAC +/* 80034ECC 00031E2C 3B 80 00 00 */ li r28, 0 +/* 80034ED0 00031E30 7F 9D E3 78 */ mr r29, r28 +lbl_80034ED4: +/* 80034ED4 00031E34 7F E3 FB 78 */ mr r3, r31 +/* 80034ED8 00031E38 48 30 9D 51 */ bl ReadFloat__12CInputStreamFv +/* 80034EDC 00031E3C 3B 9C 00 01 */ addi r28, r28, 1 +/* 80034EE0 00031E40 38 1D 00 64 */ addi r0, r29, 0x64 +/* 80034EE4 00031E44 2C 1C 00 08 */ cmpwi r28, 8 +/* 80034EE8 00031E48 7C 3E 05 2E */ stfsx f1, r30, r0 +/* 80034EEC 00031E4C 3B BD 00 04 */ addi r29, r29, 4 +/* 80034EF0 00031E50 41 80 FF E4 */ blt lbl_80034ED4 +/* 80034EF4 00031E54 3B 80 00 00 */ li r28, 0 +/* 80034EF8 00031E58 7F 9D E3 78 */ mr r29, r28 +lbl_80034EFC: +/* 80034EFC 00031E5C 7F E3 FB 78 */ mr r3, r31 +/* 80034F00 00031E60 48 30 9D 29 */ bl ReadFloat__12CInputStreamFv +/* 80034F04 00031E64 3B 9C 00 01 */ addi r28, r28, 1 +/* 80034F08 00031E68 38 1D 00 84 */ addi r0, r29, 0x84 +/* 80034F0C 00031E6C 2C 1C 00 08 */ cmpwi r28, 8 +/* 80034F10 00031E70 7C 3E 05 2E */ stfsx f1, r30, r0 +/* 80034F14 00031E74 3B BD 00 04 */ addi r29, r29, 4 +/* 80034F18 00031E78 41 80 FF E4 */ blt lbl_80034EFC +/* 80034F1C 00031E7C 3B 80 00 00 */ li r28, 0 +/* 80034F20 00031E80 7F 9D E3 78 */ mr r29, r28 +lbl_80034F24: +/* 80034F24 00031E84 7F E3 FB 78 */ mr r3, r31 +/* 80034F28 00031E88 48 30 9D 01 */ bl ReadFloat__12CInputStreamFv +/* 80034F2C 00031E8C 3B 9C 00 01 */ addi r28, r28, 1 +/* 80034F30 00031E90 38 1D 00 A4 */ addi r0, r29, 0xa4 +/* 80034F34 00031E94 2C 1C 00 08 */ cmpwi r28, 8 +/* 80034F38 00031E98 7C 3E 05 2E */ stfsx f1, r30, r0 +/* 80034F3C 00031E9C 3B BD 00 04 */ addi r29, r29, 4 +/* 80034F40 00031EA0 41 80 FF E4 */ blt lbl_80034F24 +/* 80034F44 00031EA4 7F E3 FB 78 */ mr r3, r31 +/* 80034F48 00031EA8 48 30 9C E1 */ bl ReadFloat__12CInputStreamFv +/* 80034F4C 00031EAC D0 3E 00 C4 */ stfs f1, 0xc4(r30) +/* 80034F50 00031EB0 7F E3 FB 78 */ mr r3, r31 +/* 80034F54 00031EB4 48 30 9C D5 */ bl ReadFloat__12CInputStreamFv +/* 80034F58 00031EB8 D0 3E 00 C8 */ stfs f1, 0xc8(r30) +/* 80034F5C 00031EBC 7F E3 FB 78 */ mr r3, r31 +/* 80034F60 00031EC0 48 30 9C C9 */ bl ReadFloat__12CInputStreamFv +/* 80034F64 00031EC4 D0 3E 00 CC */ stfs f1, 0xcc(r30) +/* 80034F68 00031EC8 7F E3 FB 78 */ mr r3, r31 +/* 80034F6C 00031ECC 48 30 9C BD */ bl ReadFloat__12CInputStreamFv +/* 80034F70 00031ED0 D0 3E 00 D0 */ stfs f1, 0xd0(r30) +/* 80034F74 00031ED4 7F E3 FB 78 */ mr r3, r31 +/* 80034F78 00031ED8 48 30 9C B1 */ bl ReadFloat__12CInputStreamFv +/* 80034F7C 00031EDC D0 3E 00 D4 */ stfs f1, 0xd4(r30) +/* 80034F80 00031EE0 7F E3 FB 78 */ mr r3, r31 +/* 80034F84 00031EE4 48 30 9C A5 */ bl ReadFloat__12CInputStreamFv +/* 80034F88 00031EE8 D0 3E 00 D8 */ stfs f1, 0xd8(r30) +/* 80034F8C 00031EEC 7F E3 FB 78 */ mr r3, r31 +/* 80034F90 00031EF0 48 30 9C 99 */ bl ReadFloat__12CInputStreamFv +/* 80034F94 00031EF4 D0 3E 00 DC */ stfs f1, 0xdc(r30) +/* 80034F98 00031EF8 7F E3 FB 78 */ mr r3, r31 +/* 80034F9C 00031EFC 48 30 9C 8D */ bl ReadFloat__12CInputStreamFv +/* 80034FA0 00031F00 D0 3E 00 E0 */ stfs f1, 0xe0(r30) +/* 80034FA4 00031F04 7F E3 FB 78 */ mr r3, r31 +/* 80034FA8 00031F08 48 30 9C 81 */ bl ReadFloat__12CInputStreamFv +/* 80034FAC 00031F0C D0 3E 00 E4 */ stfs f1, 0xe4(r30) +/* 80034FB0 00031F10 7F E3 FB 78 */ mr r3, r31 +/* 80034FB4 00031F14 48 30 9C 75 */ bl ReadFloat__12CInputStreamFv +/* 80034FB8 00031F18 D0 3E 00 E8 */ stfs f1, 0xe8(r30) +/* 80034FBC 00031F1C 7F E3 FB 78 */ mr r3, r31 +/* 80034FC0 00031F20 48 30 9C 69 */ bl ReadFloat__12CInputStreamFv +/* 80034FC4 00031F24 D0 3E 00 EC */ stfs f1, 0xec(r30) +/* 80034FC8 00031F28 7F E3 FB 78 */ mr r3, r31 +/* 80034FCC 00031F2C 48 30 9C 5D */ bl ReadFloat__12CInputStreamFv +/* 80034FD0 00031F30 D0 3E 00 F0 */ stfs f1, 0xf0(r30) +/* 80034FD4 00031F34 7F E3 FB 78 */ mr r3, r31 +/* 80034FD8 00031F38 48 30 9C 51 */ bl ReadFloat__12CInputStreamFv +/* 80034FDC 00031F3C D0 3E 00 F4 */ stfs f1, 0xf4(r30) +/* 80034FE0 00031F40 7F E3 FB 78 */ mr r3, r31 +/* 80034FE4 00031F44 48 30 9C 45 */ bl ReadFloat__12CInputStreamFv +/* 80034FE8 00031F48 D0 3E 00 F8 */ stfs f1, 0xf8(r30) +/* 80034FEC 00031F4C 7F E3 FB 78 */ mr r3, r31 +/* 80034FF0 00031F50 48 30 9C 39 */ bl ReadFloat__12CInputStreamFv +/* 80034FF4 00031F54 D0 3E 00 FC */ stfs f1, 0xfc(r30) +/* 80034FF8 00031F58 7F E3 FB 78 */ mr r3, r31 +/* 80034FFC 00031F5C 48 30 9C 2D */ bl ReadFloat__12CInputStreamFv +/* 80035000 00031F60 D0 3E 01 00 */ stfs f1, 0x100(r30) +/* 80035004 00031F64 7F E3 FB 78 */ mr r3, r31 +/* 80035008 00031F68 48 30 9C 21 */ bl ReadFloat__12CInputStreamFv +/* 8003500C 00031F6C D0 3E 01 04 */ stfs f1, 0x104(r30) +/* 80035010 00031F70 7F E3 FB 78 */ mr r3, r31 +/* 80035014 00031F74 48 30 9C 15 */ bl ReadFloat__12CInputStreamFv +/* 80035018 00031F78 D0 3E 01 08 */ stfs f1, 0x108(r30) +/* 8003501C 00031F7C 7F E3 FB 78 */ mr r3, r31 +/* 80035020 00031F80 48 30 9C 09 */ bl ReadFloat__12CInputStreamFv +/* 80035024 00031F84 D0 3E 01 0C */ stfs f1, 0x10c(r30) +/* 80035028 00031F88 7F E3 FB 78 */ mr r3, r31 +/* 8003502C 00031F8C 48 30 9B FD */ bl ReadFloat__12CInputStreamFv +/* 80035030 00031F90 D0 3E 01 10 */ stfs f1, 0x110(r30) +/* 80035034 00031F94 7F E3 FB 78 */ mr r3, r31 +/* 80035038 00031F98 48 30 9B F1 */ bl ReadFloat__12CInputStreamFv +/* 8003503C 00031F9C D0 3E 01 14 */ stfs f1, 0x114(r30) +/* 80035040 00031FA0 7F E3 FB 78 */ mr r3, r31 +/* 80035044 00031FA4 48 30 9B E5 */ bl ReadFloat__12CInputStreamFv +/* 80035048 00031FA8 D0 3E 01 18 */ stfs f1, 0x118(r30) +/* 8003504C 00031FAC 7F E3 FB 78 */ mr r3, r31 +/* 80035050 00031FB0 48 30 9B D9 */ bl ReadFloat__12CInputStreamFv +/* 80035054 00031FB4 D0 3E 01 1C */ stfs f1, 0x11c(r30) +/* 80035058 00031FB8 7F E3 FB 78 */ mr r3, r31 +/* 8003505C 00031FBC 48 30 9B CD */ bl ReadFloat__12CInputStreamFv +/* 80035060 00031FC0 D0 3E 01 20 */ stfs f1, 0x120(r30) +/* 80035064 00031FC4 7F E3 FB 78 */ mr r3, r31 +/* 80035068 00031FC8 48 30 9B C1 */ bl ReadFloat__12CInputStreamFv +/* 8003506C 00031FCC D0 3E 01 24 */ stfs f1, 0x124(r30) +/* 80035070 00031FD0 7F E3 FB 78 */ mr r3, r31 +/* 80035074 00031FD4 48 30 9B B5 */ bl ReadFloat__12CInputStreamFv +/* 80035078 00031FD8 D0 3E 01 28 */ stfs f1, 0x128(r30) +/* 8003507C 00031FDC 7F E3 FB 78 */ mr r3, r31 +/* 80035080 00031FE0 48 30 9B A9 */ bl ReadFloat__12CInputStreamFv +/* 80035084 00031FE4 D0 3E 01 2C */ stfs f1, 0x12c(r30) +/* 80035088 00031FE8 7F E3 FB 78 */ mr r3, r31 +/* 8003508C 00031FEC 48 30 9B 9D */ bl ReadFloat__12CInputStreamFv +/* 80035090 00031FF0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035094 00031FF4 7F E3 FB 78 */ mr r3, r31 +/* 80035098 00031FF8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8003509C 00031FFC D0 1E 01 30 */ stfs f0, 0x130(r30) +/* 800350A0 00032000 48 30 9B 89 */ bl ReadFloat__12CInputStreamFv +/* 800350A4 00032004 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800350A8 00032008 7F E3 FB 78 */ mr r3, r31 +/* 800350AC 0003200C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800350B0 00032010 D0 1E 01 34 */ stfs f0, 0x134(r30) +/* 800350B4 00032014 48 30 9B 75 */ bl ReadFloat__12CInputStreamFv +/* 800350B8 00032018 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800350BC 0003201C 7F E3 FB 78 */ mr r3, r31 +/* 800350C0 00032020 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800350C4 00032024 D0 1E 01 38 */ stfs f0, 0x138(r30) +/* 800350C8 00032028 48 30 9B 61 */ bl ReadFloat__12CInputStreamFv +/* 800350CC 0003202C C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800350D0 00032030 7F E3 FB 78 */ mr r3, r31 +/* 800350D4 00032034 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800350D8 00032038 D0 1E 01 3C */ stfs f0, 0x13c(r30) +/* 800350DC 0003203C 48 30 9B 4D */ bl ReadFloat__12CInputStreamFv +/* 800350E0 00032040 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800350E4 00032044 7F E3 FB 78 */ mr r3, r31 +/* 800350E8 00032048 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800350EC 0003204C D0 1E 01 40 */ stfs f0, 0x140(r30) +/* 800350F0 00032050 48 30 9B 39 */ bl ReadFloat__12CInputStreamFv +/* 800350F4 00032054 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800350F8 00032058 7F E3 FB 78 */ mr r3, r31 +/* 800350FC 0003205C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035100 00032060 D0 1E 01 44 */ stfs f0, 0x144(r30) +/* 80035104 00032064 48 30 9B 25 */ bl ReadFloat__12CInputStreamFv +/* 80035108 00032068 D0 3E 01 48 */ stfs f1, 0x148(r30) +/* 8003510C 0003206C 7F E3 FB 78 */ mr r3, r31 +/* 80035110 00032070 48 30 9B 19 */ bl ReadFloat__12CInputStreamFv +/* 80035114 00032074 D0 3E 01 4C */ stfs f1, 0x14c(r30) +/* 80035118 00032078 7F E3 FB 78 */ mr r3, r31 +/* 8003511C 0003207C 48 30 9B 0D */ bl ReadFloat__12CInputStreamFv +/* 80035120 00032080 D0 3E 01 50 */ stfs f1, 0x150(r30) +/* 80035124 00032084 7F E3 FB 78 */ mr r3, r31 +/* 80035128 00032088 48 30 9B 01 */ bl ReadFloat__12CInputStreamFv +/* 8003512C 0003208C D0 3E 01 54 */ stfs f1, 0x154(r30) +/* 80035130 00032090 7F E3 FB 78 */ mr r3, r31 +/* 80035134 00032094 48 30 9B A9 */ bl ReadBool__12CInputStreamFv +/* 80035138 00032098 88 1E 02 28 */ lbz r0, 0x228(r30) +/* 8003513C 0003209C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80035140 000320A0 7F E3 FB 78 */ mr r3, r31 +/* 80035144 000320A4 98 1E 02 28 */ stb r0, 0x228(r30) +/* 80035148 000320A8 48 30 9B 95 */ bl ReadBool__12CInputStreamFv +/* 8003514C 000320AC 88 1E 02 28 */ lbz r0, 0x228(r30) +/* 80035150 000320B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80035154 000320B4 7F E3 FB 78 */ mr r3, r31 +/* 80035158 000320B8 98 1E 02 28 */ stb r0, 0x228(r30) +/* 8003515C 000320BC 48 30 9B 81 */ bl ReadBool__12CInputStreamFv +/* 80035160 000320C0 88 1E 02 28 */ lbz r0, 0x228(r30) +/* 80035164 000320C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80035168 000320C8 7F E3 FB 78 */ mr r3, r31 +/* 8003516C 000320CC 98 1E 02 28 */ stb r0, 0x228(r30) +/* 80035170 000320D0 48 30 9B 6D */ bl ReadBool__12CInputStreamFv +/* 80035174 000320D4 88 1E 02 28 */ lbz r0, 0x228(r30) +/* 80035178 000320D8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8003517C 000320DC 7F E3 FB 78 */ mr r3, r31 +/* 80035180 000320E0 98 1E 02 28 */ stb r0, 0x228(r30) +/* 80035184 000320E4 48 30 9B 59 */ bl ReadBool__12CInputStreamFv +/* 80035188 000320E8 88 1E 02 28 */ lbz r0, 0x228(r30) +/* 8003518C 000320EC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80035190 000320F0 7F E3 FB 78 */ mr r3, r31 +/* 80035194 000320F4 98 1E 02 28 */ stb r0, 0x228(r30) +/* 80035198 000320F8 48 30 9B 45 */ bl ReadBool__12CInputStreamFv +/* 8003519C 000320FC 88 1E 02 28 */ lbz r0, 0x228(r30) +/* 800351A0 00032100 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800351A4 00032104 7F E3 FB 78 */ mr r3, r31 +/* 800351A8 00032108 98 1E 02 28 */ stb r0, 0x228(r30) +/* 800351AC 0003210C 48 30 9B 31 */ bl ReadBool__12CInputStreamFv +/* 800351B0 00032110 88 1E 02 28 */ lbz r0, 0x228(r30) +/* 800351B4 00032114 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 800351B8 00032118 7F E3 FB 78 */ mr r3, r31 +/* 800351BC 0003211C 98 1E 02 28 */ stb r0, 0x228(r30) +/* 800351C0 00032120 48 30 9B 1D */ bl ReadBool__12CInputStreamFv +/* 800351C4 00032124 88 1E 02 28 */ lbz r0, 0x228(r30) +/* 800351C8 00032128 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 800351CC 0003212C 7F E3 FB 78 */ mr r3, r31 +/* 800351D0 00032130 98 1E 02 28 */ stb r0, 0x228(r30) +/* 800351D4 00032134 48 30 9B 09 */ bl ReadBool__12CInputStreamFv +/* 800351D8 00032138 88 1E 02 29 */ lbz r0, 0x229(r30) +/* 800351DC 0003213C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800351E0 00032140 7F E3 FB 78 */ mr r3, r31 +/* 800351E4 00032144 98 1E 02 29 */ stb r0, 0x229(r30) +/* 800351E8 00032148 48 30 9A F5 */ bl ReadBool__12CInputStreamFv +/* 800351EC 0003214C 88 1E 02 29 */ lbz r0, 0x229(r30) +/* 800351F0 00032150 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800351F4 00032154 7F E3 FB 78 */ mr r3, r31 +/* 800351F8 00032158 98 1E 02 29 */ stb r0, 0x229(r30) +/* 800351FC 0003215C 48 30 9A E1 */ bl ReadBool__12CInputStreamFv +/* 80035200 00032160 88 1E 02 29 */ lbz r0, 0x229(r30) +/* 80035204 00032164 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80035208 00032168 7F E3 FB 78 */ mr r3, r31 +/* 8003520C 0003216C 98 1E 02 29 */ stb r0, 0x229(r30) +/* 80035210 00032170 48 30 9A CD */ bl ReadBool__12CInputStreamFv +/* 80035214 00032174 88 1E 02 29 */ lbz r0, 0x229(r30) +/* 80035218 00032178 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8003521C 0003217C 7F E3 FB 78 */ mr r3, r31 +/* 80035220 00032180 98 1E 02 29 */ stb r0, 0x229(r30) +/* 80035224 00032184 48 30 9A B9 */ bl ReadBool__12CInputStreamFv +/* 80035228 00032188 88 1E 02 29 */ lbz r0, 0x229(r30) +/* 8003522C 0003218C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80035230 00032190 7F E3 FB 78 */ mr r3, r31 +/* 80035234 00032194 98 1E 02 29 */ stb r0, 0x229(r30) +/* 80035238 00032198 48 30 9A A5 */ bl ReadBool__12CInputStreamFv +/* 8003523C 0003219C 88 1E 02 29 */ lbz r0, 0x229(r30) +/* 80035240 000321A0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80035244 000321A4 7F E3 FB 78 */ mr r3, r31 +/* 80035248 000321A8 98 1E 02 29 */ stb r0, 0x229(r30) +/* 8003524C 000321AC 48 30 9A 91 */ bl ReadBool__12CInputStreamFv +/* 80035250 000321B0 88 1E 02 29 */ lbz r0, 0x229(r30) +/* 80035254 000321B4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80035258 000321B8 7F E3 FB 78 */ mr r3, r31 +/* 8003525C 000321BC 98 1E 02 29 */ stb r0, 0x229(r30) +/* 80035260 000321C0 48 30 9A 7D */ bl ReadBool__12CInputStreamFv +/* 80035264 000321C4 88 1E 02 29 */ lbz r0, 0x229(r30) +/* 80035268 000321C8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8003526C 000321CC 7F E3 FB 78 */ mr r3, r31 +/* 80035270 000321D0 98 1E 02 29 */ stb r0, 0x229(r30) +/* 80035274 000321D4 48 30 9A 69 */ bl ReadBool__12CInputStreamFv +/* 80035278 000321D8 88 1E 02 2A */ lbz r0, 0x22a(r30) +/* 8003527C 000321DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80035280 000321E0 7F E3 FB 78 */ mr r3, r31 +/* 80035284 000321E4 98 1E 02 2A */ stb r0, 0x22a(r30) +/* 80035288 000321E8 48 30 9A 55 */ bl ReadBool__12CInputStreamFv +/* 8003528C 000321EC 88 1E 02 2A */ lbz r0, 0x22a(r30) +/* 80035290 000321F0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80035294 000321F4 7F E3 FB 78 */ mr r3, r31 +/* 80035298 000321F8 98 1E 02 2A */ stb r0, 0x22a(r30) +/* 8003529C 000321FC 48 30 9A 41 */ bl ReadBool__12CInputStreamFv +/* 800352A0 00032200 88 1E 02 2A */ lbz r0, 0x22a(r30) +/* 800352A4 00032204 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800352A8 00032208 7F E3 FB 78 */ mr r3, r31 +/* 800352AC 0003220C 98 1E 02 2A */ stb r0, 0x22a(r30) +/* 800352B0 00032210 48 30 9A 2D */ bl ReadBool__12CInputStreamFv +/* 800352B4 00032214 88 1E 02 2A */ lbz r0, 0x22a(r30) +/* 800352B8 00032218 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800352BC 0003221C 7F E3 FB 78 */ mr r3, r31 +/* 800352C0 00032220 98 1E 02 2A */ stb r0, 0x22a(r30) +/* 800352C4 00032224 48 30 9A 19 */ bl ReadBool__12CInputStreamFv +/* 800352C8 00032228 88 1E 02 2A */ lbz r0, 0x22a(r30) +/* 800352CC 0003222C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800352D0 00032230 7F E3 FB 78 */ mr r3, r31 +/* 800352D4 00032234 98 1E 02 2A */ stb r0, 0x22a(r30) +/* 800352D8 00032238 48 30 99 51 */ bl ReadFloat__12CInputStreamFv +/* 800352DC 0003223C D0 3E 02 2C */ stfs f1, 0x22c(r30) +/* 800352E0 00032240 7F E3 FB 78 */ mr r3, r31 +/* 800352E4 00032244 48 30 99 45 */ bl ReadFloat__12CInputStreamFv +/* 800352E8 00032248 D0 3E 02 30 */ stfs f1, 0x230(r30) +/* 800352EC 0003224C 7F E3 FB 78 */ mr r3, r31 +/* 800352F0 00032250 48 30 99 39 */ bl ReadFloat__12CInputStreamFv +/* 800352F4 00032254 D0 3E 02 34 */ stfs f1, 0x234(r30) +/* 800352F8 00032258 7F E3 FB 78 */ mr r3, r31 +/* 800352FC 0003225C 48 30 99 2D */ bl ReadFloat__12CInputStreamFv +/* 80035300 00032260 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035304 00032264 7F E3 FB 78 */ mr r3, r31 +/* 80035308 00032268 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8003530C 0003226C D0 1E 02 38 */ stfs f0, 0x238(r30) +/* 80035310 00032270 48 30 99 19 */ bl ReadFloat__12CInputStreamFv +/* 80035314 00032274 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035318 00032278 7F E3 FB 78 */ mr r3, r31 +/* 8003531C 0003227C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035320 00032280 D0 1E 02 3C */ stfs f0, 0x23c(r30) +/* 80035324 00032284 48 30 99 05 */ bl ReadFloat__12CInputStreamFv +/* 80035328 00032288 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 8003532C 0003228C 7F E3 FB 78 */ mr r3, r31 +/* 80035330 00032290 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035334 00032294 D0 1E 02 40 */ stfs f0, 0x240(r30) +/* 80035338 00032298 48 30 98 F1 */ bl ReadFloat__12CInputStreamFv +/* 8003533C 0003229C C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035340 000322A0 7F E3 FB 78 */ mr r3, r31 +/* 80035344 000322A4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035348 000322A8 D0 1E 02 44 */ stfs f0, 0x244(r30) +/* 8003534C 000322AC 48 30 98 DD */ bl ReadFloat__12CInputStreamFv +/* 80035350 000322B0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035354 000322B4 7F E3 FB 78 */ mr r3, r31 +/* 80035358 000322B8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8003535C 000322BC D0 1E 02 48 */ stfs f0, 0x248(r30) +/* 80035360 000322C0 48 30 98 C9 */ bl ReadFloat__12CInputStreamFv +/* 80035364 000322C4 D0 3E 02 4C */ stfs f1, 0x24c(r30) +/* 80035368 000322C8 7F E3 FB 78 */ mr r3, r31 +/* 8003536C 000322CC 48 30 98 BD */ bl ReadFloat__12CInputStreamFv +/* 80035370 000322D0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035374 000322D4 7F E3 FB 78 */ mr r3, r31 +/* 80035378 000322D8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8003537C 000322DC D0 1E 02 50 */ stfs f0, 0x250(r30) +/* 80035380 000322E0 48 30 98 A9 */ bl ReadFloat__12CInputStreamFv +/* 80035384 000322E4 D0 3E 02 54 */ stfs f1, 0x254(r30) +/* 80035388 000322E8 7F E3 FB 78 */ mr r3, r31 +/* 8003538C 000322EC 48 30 98 9D */ bl ReadFloat__12CInputStreamFv +/* 80035390 000322F0 D0 3E 02 58 */ stfs f1, 0x258(r30) +/* 80035394 000322F4 7F E3 FB 78 */ mr r3, r31 +/* 80035398 000322F8 48 30 98 91 */ bl ReadFloat__12CInputStreamFv +/* 8003539C 000322FC D0 3E 02 5C */ stfs f1, 0x25c(r30) +/* 800353A0 00032300 7F E3 FB 78 */ mr r3, r31 +/* 800353A4 00032304 48 30 98 85 */ bl ReadFloat__12CInputStreamFv +/* 800353A8 00032308 D0 3E 02 60 */ stfs f1, 0x260(r30) +/* 800353AC 0003230C 7F E3 FB 78 */ mr r3, r31 +/* 800353B0 00032310 48 30 98 79 */ bl ReadFloat__12CInputStreamFv +/* 800353B4 00032314 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800353B8 00032318 7F E3 FB 78 */ mr r3, r31 +/* 800353BC 0003231C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800353C0 00032320 D0 1E 02 64 */ stfs f0, 0x264(r30) +/* 800353C4 00032324 48 30 98 65 */ bl ReadFloat__12CInputStreamFv +/* 800353C8 00032328 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800353CC 0003232C 3B 80 00 00 */ li r28, 0 +/* 800353D0 00032330 7F 9D E3 78 */ mr r29, r28 +/* 800353D4 00032334 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800353D8 00032338 D0 1E 02 68 */ stfs f0, 0x268(r30) +lbl_800353DC: +/* 800353DC 0003233C 7F E3 FB 78 */ mr r3, r31 +/* 800353E0 00032340 48 30 98 49 */ bl ReadFloat__12CInputStreamFv +/* 800353E4 00032344 38 1D 01 58 */ addi r0, r29, 0x158 +/* 800353E8 00032348 7F E3 FB 78 */ mr r3, r31 +/* 800353EC 0003234C 7C 3E 05 2E */ stfsx f1, r30, r0 +/* 800353F0 00032350 48 30 98 39 */ bl ReadFloat__12CInputStreamFv +/* 800353F4 00032354 38 1D 01 64 */ addi r0, r29, 0x164 +/* 800353F8 00032358 7F E3 FB 78 */ mr r3, r31 +/* 800353FC 0003235C 7C 3E 05 2E */ stfsx f1, r30, r0 +/* 80035400 00032360 48 30 98 29 */ bl ReadFloat__12CInputStreamFv +/* 80035404 00032364 3B 9C 00 01 */ addi r28, r28, 1 +/* 80035408 00032368 38 1D 01 70 */ addi r0, r29, 0x170 +/* 8003540C 0003236C 2C 1C 00 03 */ cmpwi r28, 3 +/* 80035410 00032370 7C 3E 05 2E */ stfsx f1, r30, r0 +/* 80035414 00032374 3B BD 00 04 */ addi r29, r29, 4 +/* 80035418 00032378 41 80 FF C4 */ blt lbl_800353DC +/* 8003541C 0003237C 7F E3 FB 78 */ mr r3, r31 +/* 80035420 00032380 48 30 98 09 */ bl ReadFloat__12CInputStreamFv +/* 80035424 00032384 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035428 00032388 7F E3 FB 78 */ mr r3, r31 +/* 8003542C 0003238C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035430 00032390 D0 1E 01 7C */ stfs f0, 0x17c(r30) +/* 80035434 00032394 48 30 97 F5 */ bl ReadFloat__12CInputStreamFv +/* 80035438 00032398 D0 3E 01 80 */ stfs f1, 0x180(r30) +/* 8003543C 0003239C 7F E3 FB 78 */ mr r3, r31 +/* 80035440 000323A0 48 30 97 E9 */ bl ReadFloat__12CInputStreamFv +/* 80035444 000323A4 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035448 000323A8 7F E3 FB 78 */ mr r3, r31 +/* 8003544C 000323AC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035450 000323B0 D0 1E 01 84 */ stfs f0, 0x184(r30) +/* 80035454 000323B4 48 30 97 D5 */ bl ReadFloat__12CInputStreamFv +/* 80035458 000323B8 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 8003545C 000323BC 7F E3 FB 78 */ mr r3, r31 +/* 80035460 000323C0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035464 000323C4 D0 1E 01 88 */ stfs f0, 0x188(r30) +/* 80035468 000323C8 48 30 97 C1 */ bl ReadFloat__12CInputStreamFv +/* 8003546C 000323CC C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035470 000323D0 7F E3 FB 78 */ mr r3, r31 +/* 80035474 000323D4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035478 000323D8 D0 1E 01 8C */ stfs f0, 0x18c(r30) +/* 8003547C 000323DC 48 30 97 AD */ bl ReadFloat__12CInputStreamFv +/* 80035480 000323E0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035484 000323E4 7F E3 FB 78 */ mr r3, r31 +/* 80035488 000323E8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8003548C 000323EC D0 1E 01 90 */ stfs f0, 0x190(r30) +/* 80035490 000323F0 48 30 97 99 */ bl ReadFloat__12CInputStreamFv +/* 80035494 000323F4 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035498 000323F8 7F E3 FB 78 */ mr r3, r31 +/* 8003549C 000323FC EC 00 00 72 */ fmuls f0, f0, f1 +/* 800354A0 00032400 D0 1E 01 94 */ stfs f0, 0x194(r30) +/* 800354A4 00032404 48 30 97 85 */ bl ReadFloat__12CInputStreamFv +/* 800354A8 00032408 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800354AC 0003240C 7F E3 FB 78 */ mr r3, r31 +/* 800354B0 00032410 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800354B4 00032414 D0 1E 01 98 */ stfs f0, 0x198(r30) +/* 800354B8 00032418 48 30 97 71 */ bl ReadFloat__12CInputStreamFv +/* 800354BC 0003241C D0 3E 01 9C */ stfs f1, 0x19c(r30) +/* 800354C0 00032420 7F E3 FB 78 */ mr r3, r31 +/* 800354C4 00032424 48 30 97 65 */ bl ReadFloat__12CInputStreamFv +/* 800354C8 00032428 D0 3E 01 A0 */ stfs f1, 0x1a0(r30) +/* 800354CC 0003242C 7F E3 FB 78 */ mr r3, r31 +/* 800354D0 00032430 48 30 97 59 */ bl ReadFloat__12CInputStreamFv +/* 800354D4 00032434 3B 80 00 00 */ li r28, 0 +/* 800354D8 00032438 D0 3E 01 A4 */ stfs f1, 0x1a4(r30) +/* 800354DC 0003243C 7F 9D E3 78 */ mr r29, r28 +lbl_800354E0: +/* 800354E0 00032440 7F E3 FB 78 */ mr r3, r31 +/* 800354E4 00032444 48 30 97 A1 */ bl ReadLong__12CInputStreamFv +/* 800354E8 00032448 38 1D 01 A8 */ addi r0, r29, 0x1a8 +/* 800354EC 0003244C 7C 7E 01 2E */ stwx r3, r30, r0 +/* 800354F0 00032450 7F E3 FB 78 */ mr r3, r31 +/* 800354F4 00032454 48 30 97 91 */ bl ReadLong__12CInputStreamFv +/* 800354F8 00032458 38 1D 01 B0 */ addi r0, r29, 0x1b0 +/* 800354FC 0003245C 7C 7E 01 2E */ stwx r3, r30, r0 +/* 80035500 00032460 7F E3 FB 78 */ mr r3, r31 +/* 80035504 00032464 48 30 97 81 */ bl ReadLong__12CInputStreamFv +/* 80035508 00032468 38 1D 01 B8 */ addi r0, r29, 0x1b8 +/* 8003550C 0003246C 7C 7E 01 2E */ stwx r3, r30, r0 +/* 80035510 00032470 7F E3 FB 78 */ mr r3, r31 +/* 80035514 00032474 48 30 97 71 */ bl ReadLong__12CInputStreamFv +/* 80035518 00032478 38 1D 01 C0 */ addi r0, r29, 0x1c0 +/* 8003551C 0003247C 7C 7E 01 2E */ stwx r3, r30, r0 +/* 80035520 00032480 7F E3 FB 78 */ mr r3, r31 +/* 80035524 00032484 48 30 97 61 */ bl ReadLong__12CInputStreamFv +/* 80035528 00032488 38 1D 01 C8 */ addi r0, r29, 0x1c8 +/* 8003552C 0003248C 7C 7E 01 2E */ stwx r3, r30, r0 +/* 80035530 00032490 7F E3 FB 78 */ mr r3, r31 +/* 80035534 00032494 48 30 97 51 */ bl ReadLong__12CInputStreamFv +/* 80035538 00032498 3B 9C 00 01 */ addi r28, r28, 1 +/* 8003553C 0003249C 38 1D 01 D0 */ addi r0, r29, 0x1d0 +/* 80035540 000324A0 2C 1C 00 02 */ cmpwi r28, 2 +/* 80035544 000324A4 7C 7E 01 2E */ stwx r3, r30, r0 +/* 80035548 000324A8 3B BD 00 04 */ addi r29, r29, 4 +/* 8003554C 000324AC 41 80 FF 94 */ blt lbl_800354E0 +/* 80035550 000324B0 7F E3 FB 78 */ mr r3, r31 +/* 80035554 000324B4 48 30 96 D5 */ bl ReadFloat__12CInputStreamFv +/* 80035558 000324B8 D0 3E 01 D8 */ stfs f1, 0x1d8(r30) +/* 8003555C 000324BC 7F E3 FB 78 */ mr r3, r31 +/* 80035560 000324C0 48 30 96 C9 */ bl ReadFloat__12CInputStreamFv +/* 80035564 000324C4 D0 3E 01 DC */ stfs f1, 0x1dc(r30) +/* 80035568 000324C8 7F E3 FB 78 */ mr r3, r31 +/* 8003556C 000324CC 48 30 96 BD */ bl ReadFloat__12CInputStreamFv +/* 80035570 000324D0 D0 3E 01 E0 */ stfs f1, 0x1e0(r30) +/* 80035574 000324D4 7F E3 FB 78 */ mr r3, r31 +/* 80035578 000324D8 48 30 96 B1 */ bl ReadFloat__12CInputStreamFv +/* 8003557C 000324DC D0 3E 01 E4 */ stfs f1, 0x1e4(r30) +/* 80035580 000324E0 7F E3 FB 78 */ mr r3, r31 +/* 80035584 000324E4 48 30 96 A5 */ bl ReadFloat__12CInputStreamFv +/* 80035588 000324E8 D0 3E 01 E8 */ stfs f1, 0x1e8(r30) +/* 8003558C 000324EC 7F E3 FB 78 */ mr r3, r31 +/* 80035590 000324F0 48 30 96 99 */ bl ReadFloat__12CInputStreamFv +/* 80035594 000324F4 D0 3E 01 EC */ stfs f1, 0x1ec(r30) +/* 80035598 000324F8 7F E3 FB 78 */ mr r3, r31 +/* 8003559C 000324FC 48 30 96 8D */ bl ReadFloat__12CInputStreamFv +/* 800355A0 00032500 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800355A4 00032504 7F E3 FB 78 */ mr r3, r31 +/* 800355A8 00032508 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800355AC 0003250C D0 1E 01 F0 */ stfs f0, 0x1f0(r30) +/* 800355B0 00032510 48 30 96 79 */ bl ReadFloat__12CInputStreamFv +/* 800355B4 00032514 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800355B8 00032518 7F E3 FB 78 */ mr r3, r31 +/* 800355BC 0003251C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800355C0 00032520 D0 1E 01 F4 */ stfs f0, 0x1f4(r30) +/* 800355C4 00032524 48 30 96 65 */ bl ReadFloat__12CInputStreamFv +/* 800355C8 00032528 D0 3E 01 F8 */ stfs f1, 0x1f8(r30) +/* 800355CC 0003252C 7F E3 FB 78 */ mr r3, r31 +/* 800355D0 00032530 48 30 96 59 */ bl ReadFloat__12CInputStreamFv +/* 800355D4 00032534 D0 3E 01 FC */ stfs f1, 0x1fc(r30) +/* 800355D8 00032538 7F E3 FB 78 */ mr r3, r31 +/* 800355DC 0003253C 48 30 97 01 */ bl ReadBool__12CInputStreamFv +/* 800355E0 00032540 88 1E 02 00 */ lbz r0, 0x200(r30) +/* 800355E4 00032544 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800355E8 00032548 7F E3 FB 78 */ mr r3, r31 +/* 800355EC 0003254C 98 1E 02 00 */ stb r0, 0x200(r30) +/* 800355F0 00032550 48 30 96 ED */ bl ReadBool__12CInputStreamFv +/* 800355F4 00032554 88 1E 02 00 */ lbz r0, 0x200(r30) +/* 800355F8 00032558 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800355FC 0003255C 7F E3 FB 78 */ mr r3, r31 +/* 80035600 00032560 98 1E 02 00 */ stb r0, 0x200(r30) +/* 80035604 00032564 48 30 96 25 */ bl ReadFloat__12CInputStreamFv +/* 80035608 00032568 D0 3E 02 04 */ stfs f1, 0x204(r30) +/* 8003560C 0003256C 7F E3 FB 78 */ mr r3, r31 +/* 80035610 00032570 48 30 96 19 */ bl ReadFloat__12CInputStreamFv +/* 80035614 00032574 D0 3E 02 08 */ stfs f1, 0x208(r30) +/* 80035618 00032578 7F E3 FB 78 */ mr r3, r31 +/* 8003561C 0003257C 48 30 96 0D */ bl ReadFloat__12CInputStreamFv +/* 80035620 00032580 D0 3E 02 0C */ stfs f1, 0x20c(r30) +/* 80035624 00032584 7F E3 FB 78 */ mr r3, r31 +/* 80035628 00032588 48 30 96 01 */ bl ReadFloat__12CInputStreamFv +/* 8003562C 0003258C D0 3E 02 10 */ stfs f1, 0x210(r30) +/* 80035630 00032590 7F E3 FB 78 */ mr r3, r31 +/* 80035634 00032594 48 30 95 F5 */ bl ReadFloat__12CInputStreamFv +/* 80035638 00032598 D0 3E 02 14 */ stfs f1, 0x214(r30) +/* 8003563C 0003259C 7F E3 FB 78 */ mr r3, r31 +/* 80035640 000325A0 48 30 95 E9 */ bl ReadFloat__12CInputStreamFv +/* 80035644 000325A4 D0 3E 02 18 */ stfs f1, 0x218(r30) +/* 80035648 000325A8 7F E3 FB 78 */ mr r3, r31 +/* 8003564C 000325AC 48 30 96 91 */ bl ReadBool__12CInputStreamFv +/* 80035650 000325B0 88 1E 02 1C */ lbz r0, 0x21c(r30) +/* 80035654 000325B4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80035658 000325B8 7F E3 FB 78 */ mr r3, r31 +/* 8003565C 000325BC 98 1E 02 1C */ stb r0, 0x21c(r30) +/* 80035660 000325C0 48 30 96 7D */ bl ReadBool__12CInputStreamFv +/* 80035664 000325C4 88 1E 02 1C */ lbz r0, 0x21c(r30) +/* 80035668 000325C8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8003566C 000325CC 7F E3 FB 78 */ mr r3, r31 +/* 80035670 000325D0 98 1E 02 1C */ stb r0, 0x21c(r30) +/* 80035674 000325D4 48 30 96 69 */ bl ReadBool__12CInputStreamFv +/* 80035678 000325D8 88 1E 02 1C */ lbz r0, 0x21c(r30) +/* 8003567C 000325DC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80035680 000325E0 7F E3 FB 78 */ mr r3, r31 +/* 80035684 000325E4 98 1E 02 1C */ stb r0, 0x21c(r30) +/* 80035688 000325E8 48 30 95 A1 */ bl ReadFloat__12CInputStreamFv +/* 8003568C 000325EC D0 3E 02 20 */ stfs f1, 0x220(r30) +/* 80035690 000325F0 7F E3 FB 78 */ mr r3, r31 +/* 80035694 000325F4 48 30 95 95 */ bl ReadFloat__12CInputStreamFv +/* 80035698 000325F8 D0 3E 02 24 */ stfs f1, 0x224(r30) +/* 8003569C 000325FC 7F E3 FB 78 */ mr r3, r31 +/* 800356A0 00032600 48 30 95 89 */ bl ReadFloat__12CInputStreamFv +/* 800356A4 00032604 D0 3E 02 A0 */ stfs f1, 0x2a0(r30) +/* 800356A8 00032608 7F E3 FB 78 */ mr r3, r31 +/* 800356AC 0003260C 48 30 95 7D */ bl ReadFloat__12CInputStreamFv +/* 800356B0 00032610 D0 3E 02 A4 */ stfs f1, 0x2a4(r30) +/* 800356B4 00032614 7F E3 FB 78 */ mr r3, r31 +/* 800356B8 00032618 48 30 95 71 */ bl ReadFloat__12CInputStreamFv +/* 800356BC 0003261C D0 3E 02 A8 */ stfs f1, 0x2a8(r30) +/* 800356C0 00032620 7F E3 FB 78 */ mr r3, r31 +/* 800356C4 00032624 48 30 95 65 */ bl ReadFloat__12CInputStreamFv +/* 800356C8 00032628 D0 3E 02 AC */ stfs f1, 0x2ac(r30) +/* 800356CC 0003262C 7F E3 FB 78 */ mr r3, r31 +/* 800356D0 00032630 48 30 95 59 */ bl ReadFloat__12CInputStreamFv +/* 800356D4 00032634 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800356D8 00032638 7F E3 FB 78 */ mr r3, r31 +/* 800356DC 0003263C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800356E0 00032640 D0 1E 02 B0 */ stfs f0, 0x2b0(r30) +/* 800356E4 00032644 48 30 95 45 */ bl ReadFloat__12CInputStreamFv +/* 800356E8 00032648 D0 3E 02 B4 */ stfs f1, 0x2b4(r30) +/* 800356EC 0003264C 7F E3 FB 78 */ mr r3, r31 +/* 800356F0 00032650 48 30 95 39 */ bl ReadFloat__12CInputStreamFv +/* 800356F4 00032654 D0 3E 02 B8 */ stfs f1, 0x2b8(r30) +/* 800356F8 00032658 7F E3 FB 78 */ mr r3, r31 +/* 800356FC 0003265C 48 30 95 2D */ bl ReadFloat__12CInputStreamFv +/* 80035700 00032660 D0 3E 02 BC */ stfs f1, 0x2bc(r30) +/* 80035704 00032664 7F E3 FB 78 */ mr r3, r31 +/* 80035708 00032668 48 30 95 21 */ bl ReadFloat__12CInputStreamFv +/* 8003570C 0003266C C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035710 00032670 7F E3 FB 78 */ mr r3, r31 +/* 80035714 00032674 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035718 00032678 D0 1E 02 C0 */ stfs f0, 0x2c0(r30) +/* 8003571C 0003267C 48 30 95 0D */ bl ReadFloat__12CInputStreamFv +/* 80035720 00032680 D0 3E 02 C4 */ stfs f1, 0x2c4(r30) +/* 80035724 00032684 7F E3 FB 78 */ mr r3, r31 +/* 80035728 00032688 48 30 95 01 */ bl ReadFloat__12CInputStreamFv +/* 8003572C 0003268C D0 3E 02 C8 */ stfs f1, 0x2c8(r30) +/* 80035730 00032690 7F E3 FB 78 */ mr r3, r31 +/* 80035734 00032694 48 30 94 F5 */ bl ReadFloat__12CInputStreamFv +/* 80035738 00032698 D0 3E 02 CC */ stfs f1, 0x2cc(r30) +/* 8003573C 0003269C 7F E3 FB 78 */ mr r3, r31 +/* 80035740 000326A0 48 30 95 45 */ bl ReadLong__12CInputStreamFv +/* 80035744 000326A4 90 7E 02 D0 */ stw r3, 0x2d0(r30) +/* 80035748 000326A8 7F E3 FB 78 */ mr r3, r31 +/* 8003574C 000326AC 48 30 95 91 */ bl ReadBool__12CInputStreamFv +/* 80035750 000326B0 98 7E 02 D4 */ stb r3, 0x2d4(r30) +/* 80035754 000326B4 7F E3 FB 78 */ mr r3, r31 +/* 80035758 000326B8 48 30 95 85 */ bl ReadBool__12CInputStreamFv +/* 8003575C 000326BC 98 7E 02 D5 */ stb r3, 0x2d5(r30) +/* 80035760 000326C0 7F E3 FB 78 */ mr r3, r31 +/* 80035764 000326C4 48 30 94 C5 */ bl ReadFloat__12CInputStreamFv +/* 80035768 000326C8 D0 3E 02 D8 */ stfs f1, 0x2d8(r30) +/* 8003576C 000326CC 7F E3 FB 78 */ mr r3, r31 +/* 80035770 000326D0 48 30 94 B9 */ bl ReadFloat__12CInputStreamFv +/* 80035774 000326D4 D0 3E 02 DC */ stfs f1, 0x2dc(r30) +/* 80035778 000326D8 7F E3 FB 78 */ mr r3, r31 +/* 8003577C 000326DC 48 30 94 AD */ bl ReadFloat__12CInputStreamFv +/* 80035780 000326E0 D0 3E 02 E0 */ stfs f1, 0x2e0(r30) +/* 80035784 000326E4 7F E3 FB 78 */ mr r3, r31 +/* 80035788 000326E8 48 30 94 A1 */ bl ReadFloat__12CInputStreamFv +/* 8003578C 000326EC D0 3E 02 E4 */ stfs f1, 0x2e4(r30) +/* 80035790 000326F0 7F E3 FB 78 */ mr r3, r31 +/* 80035794 000326F4 48 30 94 95 */ bl ReadFloat__12CInputStreamFv +/* 80035798 000326F8 D0 3E 02 6C */ stfs f1, 0x26c(r30) +/* 8003579C 000326FC 7F E3 FB 78 */ mr r3, r31 +/* 800357A0 00032700 48 30 94 89 */ bl ReadFloat__12CInputStreamFv +/* 800357A4 00032704 D0 3E 02 70 */ stfs f1, 0x270(r30) +/* 800357A8 00032708 7F E3 FB 78 */ mr r3, r31 +/* 800357AC 0003270C 48 30 94 7D */ bl ReadFloat__12CInputStreamFv +/* 800357B0 00032710 D0 3E 02 74 */ stfs f1, 0x274(r30) +/* 800357B4 00032714 7F E3 FB 78 */ mr r3, r31 +/* 800357B8 00032718 48 30 94 71 */ bl ReadFloat__12CInputStreamFv +/* 800357BC 0003271C D0 3E 02 78 */ stfs f1, 0x278(r30) +/* 800357C0 00032720 7F E3 FB 78 */ mr r3, r31 +/* 800357C4 00032724 48 30 94 65 */ bl ReadFloat__12CInputStreamFv +/* 800357C8 00032728 D0 3E 02 7C */ stfs f1, 0x27c(r30) +/* 800357CC 0003272C 7F E3 FB 78 */ mr r3, r31 +/* 800357D0 00032730 48 30 94 59 */ bl ReadFloat__12CInputStreamFv +/* 800357D4 00032734 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800357D8 00032738 7F E3 FB 78 */ mr r3, r31 +/* 800357DC 0003273C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800357E0 00032740 D0 1E 02 80 */ stfs f0, 0x280(r30) +/* 800357E4 00032744 48 30 94 45 */ bl ReadFloat__12CInputStreamFv +/* 800357E8 00032748 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 800357EC 0003274C 7F E3 FB 78 */ mr r3, r31 +/* 800357F0 00032750 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800357F4 00032754 D0 1E 02 84 */ stfs f0, 0x284(r30) +/* 800357F8 00032758 48 30 94 31 */ bl ReadFloat__12CInputStreamFv +/* 800357FC 0003275C D0 3E 02 88 */ stfs f1, 0x288(r30) +/* 80035800 00032760 7F E3 FB 78 */ mr r3, r31 +/* 80035804 00032764 48 30 94 25 */ bl ReadFloat__12CInputStreamFv +/* 80035808 00032768 D0 3E 02 8C */ stfs f1, 0x28c(r30) +/* 8003580C 0003276C 7F E3 FB 78 */ mr r3, r31 +/* 80035810 00032770 48 30 94 19 */ bl ReadFloat__12CInputStreamFv +/* 80035814 00032774 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035818 00032778 7F E3 FB 78 */ mr r3, r31 +/* 8003581C 0003277C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80035820 00032780 D0 1E 02 90 */ stfs f0, 0x290(r30) +/* 80035824 00032784 48 30 94 05 */ bl ReadFloat__12CInputStreamFv +/* 80035828 00032788 D0 3E 02 94 */ stfs f1, 0x294(r30) +/* 8003582C 0003278C 7F E3 FB 78 */ mr r3, r31 +/* 80035830 00032790 48 30 93 F9 */ bl ReadFloat__12CInputStreamFv +/* 80035834 00032794 D0 3E 02 98 */ stfs f1, 0x298(r30) +/* 80035838 00032798 7F E3 FB 78 */ mr r3, r31 +/* 8003583C 0003279C 48 30 93 ED */ bl ReadFloat__12CInputStreamFv +/* 80035840 000327A0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) +/* 80035844 000327A4 7F E3 FB 78 */ mr r3, r31 +/* 80035848 000327A8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8003584C 000327AC D0 1E 02 9C */ stfs f0, 0x29c(r30) +/* 80035850 000327B0 48 30 93 D9 */ bl ReadFloat__12CInputStreamFv +/* 80035854 000327B4 D0 3E 02 E8 */ stfs f1, 0x2e8(r30) +/* 80035858 000327B8 7F E3 FB 78 */ mr r3, r31 +/* 8003585C 000327BC 48 30 93 CD */ bl ReadFloat__12CInputStreamFv +/* 80035860 000327C0 D0 3E 02 EC */ stfs f1, 0x2ec(r30) +/* 80035864 000327C4 7F E3 FB 78 */ mr r3, r31 +/* 80035868 000327C8 48 30 93 C1 */ bl ReadFloat__12CInputStreamFv +/* 8003586C 000327CC D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 80035870 000327D0 7F E3 FB 78 */ mr r3, r31 +/* 80035874 000327D4 48 30 94 69 */ bl ReadBool__12CInputStreamFv +/* 80035878 000327D8 98 7E 02 F4 */ stb r3, 0x2f4(r30) +/* 8003587C 000327DC 7F E3 FB 78 */ mr r3, r31 +/* 80035880 000327E0 48 30 93 A9 */ bl ReadFloat__12CInputStreamFv +/* 80035884 000327E4 D0 3E 02 F8 */ stfs f1, 0x2f8(r30) +/* 80035888 000327E8 7F E3 FB 78 */ mr r3, r31 +/* 8003588C 000327EC 48 30 93 F9 */ bl ReadLong__12CInputStreamFv +/* 80035890 000327F0 90 7E 02 FC */ stw r3, 0x2fc(r30) +/* 80035894 000327F4 7F E3 FB 78 */ mr r3, r31 +/* 80035898 000327F8 48 30 93 91 */ bl ReadFloat__12CInputStreamFv +/* 8003589C 000327FC D0 3E 03 00 */ stfs f1, 0x300(r30) +/* 800358A0 00032800 7F E3 FB 78 */ mr r3, r31 +/* 800358A4 00032804 48 30 93 85 */ bl ReadFloat__12CInputStreamFv +/* 800358A8 00032808 D0 3E 03 04 */ stfs f1, 0x304(r30) +/* 800358AC 0003280C 7F E3 FB 78 */ mr r3, r31 +/* 800358B0 00032810 48 30 93 79 */ bl ReadFloat__12CInputStreamFv +/* 800358B4 00032814 D0 3E 03 08 */ stfs f1, 0x308(r30) +/* 800358B8 00032818 7F C3 F3 78 */ mr r3, r30 +/* 800358BC 0003281C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800358C0 00032820 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800358C4 00032824 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800358C8 00032828 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800358CC 0003282C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800358D0 00032830 7C 08 03 A6 */ mtlr r0 +/* 800358D4 00032834 38 21 00 20 */ addi r1, r1, 0x20 +/* 800358D8 00032838 4E 80 00 20 */ blr + +.global __dt__12CTweakPlayerFv +__dt__12CTweakPlayerFv: +/* 800358DC 0003283C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800358E0 00032840 7C 08 02 A6 */ mflr r0 +/* 800358E4 00032844 90 01 00 14 */ stw r0, 0x14(r1) +/* 800358E8 00032848 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800358EC 0003284C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800358F0 00032850 41 82 00 30 */ beq lbl_80035920 +/* 800358F4 00032854 3C 60 80 3E */ lis r3, lbl_803D9CB8@ha +/* 800358F8 00032858 38 03 9C B8 */ addi r0, r3, lbl_803D9CB8@l +/* 800358FC 0003285C 90 1F 00 00 */ stw r0, 0(r31) +/* 80035900 00032860 41 82 00 10 */ beq lbl_80035910 +/* 80035904 00032864 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 80035908 00032868 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 8003590C 0003286C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80035910: +/* 80035910 00032870 7C 80 07 35 */ extsh. r0, r4 +/* 80035914 00032874 40 81 00 0C */ ble lbl_80035920 +/* 80035918 00032878 7F E3 FB 78 */ mr r3, r31 +/* 8003591C 0003287C 48 00 00 1D */ bl "__dl__26TOneStatic<12CTweakPlayer>FPv" +lbl_80035920: +/* 80035920 00032880 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80035924 00032884 7F E3 FB 78 */ mr r3, r31 +/* 80035928 00032888 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8003592C 0003288C 7C 08 03 A6 */ mtlr r0 +/* 80035930 00032890 38 21 00 10 */ addi r1, r1, 0x10 +/* 80035934 00032894 4E 80 00 20 */ blr + +.global "__dl__26TOneStatic<12CTweakPlayer>FPv" +"__dl__26TOneStatic<12CTweakPlayer>FPv": +/* 80035938 00032898 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003593C 0003289C 7C 08 02 A6 */ mflr r0 +/* 80035940 000328A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80035944 000328A4 48 00 00 21 */ bl "ReferenceCount__26TOneStatic<12CTweakPlayer>Fv" +/* 80035948 000328A8 80 83 00 00 */ lwz r4, 0(r3) +/* 8003594C 000328AC 38 04 FF FF */ addi r0, r4, -1 +/* 80035950 000328B0 90 03 00 00 */ stw r0, 0(r3) +/* 80035954 000328B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80035958 000328B8 7C 08 03 A6 */ mtlr r0 +/* 8003595C 000328BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80035960 000328C0 4E 80 00 20 */ blr + +.global "ReferenceCount__26TOneStatic<12CTweakPlayer>Fv" +"ReferenceCount__26TOneStatic<12CTweakPlayer>Fv": +/* 80035964 000328C4 88 0D A1 14 */ lbz r0, lbl_805A8CD4@sda21(r13) +/* 80035968 000328C8 7C 00 07 75 */ extsb. r0, r0 +/* 8003596C 000328CC 40 82 00 14 */ bne lbl_80035980 +/* 80035970 000328D0 38 60 00 00 */ li r3, 0 +/* 80035974 000328D4 38 00 00 01 */ li r0, 1 +/* 80035978 000328D8 90 6D A1 10 */ stw r3, lbl_805A8CD0@sda21(r13) +/* 8003597C 000328DC 98 0D A1 14 */ stb r0, lbl_805A8CD4@sda21(r13) +lbl_80035980: +/* 80035980 000328E0 38 6D A1 10 */ addi r3, r13, lbl_805A8CD0@sda21 +/* 80035984 000328E4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CTweaks.s b/asm/Kyoto_CWD/CTweaks.s new file mode 100644 index 00000000..ec147d3b --- /dev/null +++ b/asm/Kyoto_CWD/CTweaks.s @@ -0,0 +1,1774 @@ +.include "macros.inc" + +.section .text, "ax" + +.global RegisterResourceTweaks__7CTweaksFv +RegisterResourceTweaks__7CTweaksFv: +/* 80035988 000328E8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8003598C 000328EC 7C 08 02 A6 */ mflr r0 +/* 80035990 000328F0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80035994 000328F4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80035998 000328F8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8003599C 000328FC 7C 7E 1B 78 */ mr r30, r3 +/* 800359A0 00032900 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800359A4 00032904 80 0D A1 48 */ lwz r0, gpTweakGunRes@sda21(r13) +/* 800359A8 00032908 83 ED A0 60 */ lwz r31, gpResourceFactory@sda21(r13) +/* 800359AC 0003290C 28 00 00 00 */ cmplwi r0, 0 +/* 800359B0 00032910 40 82 01 38 */ bne lbl_80035AE8 +/* 800359B4 00032914 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 800359B8 00032918 7F E3 FB 78 */ mr r3, r31 +/* 800359BC 0003291C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 800359C0 00032920 48 00 13 99 */ bl IDFromFactory__FR11CResFactoryPCc +/* 800359C4 00032924 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 800359C8 00032928 90 61 00 24 */ stw r3, 0x24(r1) +/* 800359CC 0003292C 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 800359D0 00032930 38 7F 00 04 */ addi r3, r31, 4 +/* 800359D4 00032934 90 01 00 20 */ stw r0, 0x20(r1) +/* 800359D8 00032938 38 81 00 20 */ addi r4, r1, 0x20 +/* 800359DC 0003293C 38 A0 00 00 */ li r5, 0 +/* 800359E0 00032940 48 30 5F 89 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 800359E4 00032944 7C 03 00 D0 */ neg r0, r3 +/* 800359E8 00032948 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 800359EC 0003294C 7C 00 1B 78 */ or r0, r0, r3 +/* 800359F0 00032950 90 61 00 34 */ stw r3, 0x34(r1) +/* 800359F4 00032954 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800359F8 00032958 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 800359FC 0003295C 98 01 00 30 */ stb r0, 0x30(r1) +/* 80035A00 00032960 38 60 00 C8 */ li r3, 0xc8 +/* 80035A04 00032964 38 84 00 07 */ addi r4, r4, 7 +/* 80035A08 00032968 38 A0 00 00 */ li r5, 0 +/* 80035A0C 0003296C 48 00 14 3D */ bl sub_80036e48 +/* 80035A10 00032970 7C 64 1B 79 */ or. r4, r3, r3 +/* 80035A14 00032974 41 82 00 10 */ beq lbl_80035A24 +/* 80035A18 00032978 80 81 00 34 */ lwz r4, 0x34(r1) +/* 80035A1C 0003297C 48 08 5F CD */ bl __ct__12CTweakGunResFR12CInputStream +/* 80035A20 00032980 7C 64 1B 78 */ mr r4, r3 +lbl_80035A24: +/* 80035A24 00032984 7C 04 00 D0 */ neg r0, r4 +/* 80035A28 00032988 3B BE 00 54 */ addi r29, r30, 0x54 +/* 80035A2C 0003298C 7C 03 23 78 */ or r3, r0, r4 +/* 80035A30 00032990 38 01 00 18 */ addi r0, r1, 0x18 +/* 80035A34 00032994 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80035A38 00032998 90 8D A1 48 */ stw r4, gpTweakGunRes@sda21(r13) +/* 80035A3C 0003299C 7C 00 E8 40 */ cmplw r0, r29 +/* 80035A40 000329A0 98 61 00 18 */ stb r3, 0x18(r1) +/* 80035A44 000329A4 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80035A48 000329A8 41 82 00 48 */ beq lbl_80035A90 +/* 80035A4C 000329AC 88 1D 00 00 */ lbz r0, 0(r29) +/* 80035A50 000329B0 28 00 00 00 */ cmplwi r0, 0 +/* 80035A54 000329B4 41 82 00 24 */ beq lbl_80035A78 +/* 80035A58 000329B8 80 7D 00 04 */ lwz r3, 4(r29) +/* 80035A5C 000329BC 28 03 00 00 */ cmplwi r3, 0 +/* 80035A60 000329C0 41 82 00 18 */ beq lbl_80035A78 +/* 80035A64 000329C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80035A68 000329C8 38 80 00 01 */ li r4, 1 +/* 80035A6C 000329CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035A70 000329D0 7D 89 03 A6 */ mtctr r12 +/* 80035A74 000329D4 4E 80 04 21 */ bctrl +lbl_80035A78: +/* 80035A78 000329D8 88 61 00 18 */ lbz r3, 0x18(r1) +/* 80035A7C 000329DC 38 00 00 00 */ li r0, 0 +/* 80035A80 000329E0 98 7D 00 00 */ stb r3, 0(r29) +/* 80035A84 000329E4 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80035A88 000329E8 90 7D 00 04 */ stw r3, 4(r29) +/* 80035A8C 000329EC 98 01 00 18 */ stb r0, 0x18(r1) +lbl_80035A90: +/* 80035A90 000329F0 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80035A94 000329F4 28 00 00 00 */ cmplwi r0, 0 +/* 80035A98 000329F8 41 82 00 24 */ beq lbl_80035ABC +/* 80035A9C 000329FC 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80035AA0 00032A00 28 03 00 00 */ cmplwi r3, 0 +/* 80035AA4 00032A04 41 82 00 18 */ beq lbl_80035ABC +/* 80035AA8 00032A08 81 83 00 00 */ lwz r12, 0(r3) +/* 80035AAC 00032A0C 38 80 00 01 */ li r4, 1 +/* 80035AB0 00032A10 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035AB4 00032A14 7D 89 03 A6 */ mtctr r12 +/* 80035AB8 00032A18 4E 80 04 21 */ bctrl +lbl_80035ABC: +/* 80035ABC 00032A1C 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80035AC0 00032A20 28 00 00 00 */ cmplwi r0, 0 +/* 80035AC4 00032A24 41 82 00 24 */ beq lbl_80035AE8 +/* 80035AC8 00032A28 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80035ACC 00032A2C 28 03 00 00 */ cmplwi r3, 0 +/* 80035AD0 00032A30 41 82 00 18 */ beq lbl_80035AE8 +/* 80035AD4 00032A34 81 83 00 00 */ lwz r12, 0(r3) +/* 80035AD8 00032A38 38 80 00 01 */ li r4, 1 +/* 80035ADC 00032A3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035AE0 00032A40 7D 89 03 A6 */ mtctr r12 +/* 80035AE4 00032A44 4E 80 04 21 */ bctrl +lbl_80035AE8: +/* 80035AE8 00032A48 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) +/* 80035AEC 00032A4C 28 00 00 00 */ cmplwi r0, 0 +/* 80035AF0 00032A50 40 82 01 3C */ bne lbl_80035C2C +/* 80035AF4 00032A54 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80035AF8 00032A58 7F E3 FB 78 */ mr r3, r31 +/* 80035AFC 00032A5C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80035B00 00032A60 38 84 00 0E */ addi r4, r4, 0xe +/* 80035B04 00032A64 48 00 12 55 */ bl IDFromFactory__FR11CResFactoryPCc +/* 80035B08 00032A68 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 80035B0C 00032A6C 90 61 00 14 */ stw r3, 0x14(r1) +/* 80035B10 00032A70 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 80035B14 00032A74 38 7F 00 04 */ addi r3, r31, 4 +/* 80035B18 00032A78 90 01 00 10 */ stw r0, 0x10(r1) +/* 80035B1C 00032A7C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80035B20 00032A80 38 A0 00 00 */ li r5, 0 +/* 80035B24 00032A84 48 30 5E 45 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80035B28 00032A88 7C 03 00 D0 */ neg r0, r3 +/* 80035B2C 00032A8C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80035B30 00032A90 7C 00 1B 78 */ or r0, r0, r3 +/* 80035B34 00032A94 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80035B38 00032A98 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80035B3C 00032A9C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80035B40 00032AA0 98 01 00 28 */ stb r0, 0x28(r1) +/* 80035B44 00032AA4 38 60 00 F4 */ li r3, 0xf4 +/* 80035B48 00032AA8 38 84 00 07 */ addi r4, r4, 7 +/* 80035B4C 00032AAC 38 A0 00 00 */ li r5, 0 +/* 80035B50 00032AB0 48 00 12 99 */ bl sub_80036de8 +/* 80035B54 00032AB4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80035B58 00032AB8 41 82 00 10 */ beq lbl_80035B68 +/* 80035B5C 00032ABC 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 80035B60 00032AC0 48 17 67 01 */ bl __ct__15CTweakPlayerResFR12CInputStream +/* 80035B64 00032AC4 7C 64 1B 78 */ mr r4, r3 +lbl_80035B68: +/* 80035B68 00032AC8 7C 04 00 D0 */ neg r0, r4 +/* 80035B6C 00032ACC 3B BE 00 5C */ addi r29, r30, 0x5c +/* 80035B70 00032AD0 7C 03 23 78 */ or r3, r0, r4 +/* 80035B74 00032AD4 38 01 00 08 */ addi r0, r1, 8 +/* 80035B78 00032AD8 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80035B7C 00032ADC 90 8D A1 4C */ stw r4, gpTweakPlayerRes@sda21(r13) +/* 80035B80 00032AE0 7C 00 E8 40 */ cmplw r0, r29 +/* 80035B84 00032AE4 98 61 00 08 */ stb r3, 8(r1) +/* 80035B88 00032AE8 90 81 00 0C */ stw r4, 0xc(r1) +/* 80035B8C 00032AEC 41 82 00 48 */ beq lbl_80035BD4 +/* 80035B90 00032AF0 88 1D 00 00 */ lbz r0, 0(r29) +/* 80035B94 00032AF4 28 00 00 00 */ cmplwi r0, 0 +/* 80035B98 00032AF8 41 82 00 24 */ beq lbl_80035BBC +/* 80035B9C 00032AFC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80035BA0 00032B00 28 03 00 00 */ cmplwi r3, 0 +/* 80035BA4 00032B04 41 82 00 18 */ beq lbl_80035BBC +/* 80035BA8 00032B08 81 83 00 00 */ lwz r12, 0(r3) +/* 80035BAC 00032B0C 38 80 00 01 */ li r4, 1 +/* 80035BB0 00032B10 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035BB4 00032B14 7D 89 03 A6 */ mtctr r12 +/* 80035BB8 00032B18 4E 80 04 21 */ bctrl +lbl_80035BBC: +/* 80035BBC 00032B1C 88 61 00 08 */ lbz r3, 8(r1) +/* 80035BC0 00032B20 38 00 00 00 */ li r0, 0 +/* 80035BC4 00032B24 98 7D 00 00 */ stb r3, 0(r29) +/* 80035BC8 00032B28 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80035BCC 00032B2C 90 7D 00 04 */ stw r3, 4(r29) +/* 80035BD0 00032B30 98 01 00 08 */ stb r0, 8(r1) +lbl_80035BD4: +/* 80035BD4 00032B34 88 01 00 08 */ lbz r0, 8(r1) +/* 80035BD8 00032B38 28 00 00 00 */ cmplwi r0, 0 +/* 80035BDC 00032B3C 41 82 00 24 */ beq lbl_80035C00 +/* 80035BE0 00032B40 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80035BE4 00032B44 28 03 00 00 */ cmplwi r3, 0 +/* 80035BE8 00032B48 41 82 00 18 */ beq lbl_80035C00 +/* 80035BEC 00032B4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80035BF0 00032B50 38 80 00 01 */ li r4, 1 +/* 80035BF4 00032B54 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035BF8 00032B58 7D 89 03 A6 */ mtctr r12 +/* 80035BFC 00032B5C 4E 80 04 21 */ bctrl +lbl_80035C00: +/* 80035C00 00032B60 88 01 00 28 */ lbz r0, 0x28(r1) +/* 80035C04 00032B64 28 00 00 00 */ cmplwi r0, 0 +/* 80035C08 00032B68 41 82 00 24 */ beq lbl_80035C2C +/* 80035C0C 00032B6C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80035C10 00032B70 28 03 00 00 */ cmplwi r3, 0 +/* 80035C14 00032B74 41 82 00 18 */ beq lbl_80035C2C +/* 80035C18 00032B78 81 83 00 00 */ lwz r12, 0(r3) +/* 80035C1C 00032B7C 38 80 00 01 */ li r4, 1 +/* 80035C20 00032B80 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035C24 00032B84 7D 89 03 A6 */ mtctr r12 +/* 80035C28 00032B88 4E 80 04 21 */ bctrl +lbl_80035C2C: +/* 80035C2C 00032B8C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80035C30 00032B90 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80035C34 00032B94 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80035C38 00032B98 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80035C3C 00032B9C 7C 08 03 A6 */ mtlr r0 +/* 80035C40 00032BA0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80035C44 00032BA4 4E 80 00 20 */ blr + +.global RegisterTweaks__7CTweaksFv +RegisterTweaks__7CTweaksFv: +/* 80035C48 00032BA8 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 80035C4C 00032BAC 7C 08 02 A6 */ mflr r0 +/* 80035C50 00032BB0 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80035C54 00032BB4 90 01 01 54 */ stw r0, 0x154(r1) +/* 80035C58 00032BB8 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80035C5C 00032BBC 38 84 00 18 */ addi r4, r4, 0x18 +/* 80035C60 00032BC0 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 80035C64 00032BC4 93 C1 01 48 */ stw r30, 0x148(r1) +/* 80035C68 00032BC8 7C 7E 1B 78 */ mr r30, r3 +/* 80035C6C 00032BCC 93 A1 01 44 */ stw r29, 0x144(r1) +/* 80035C70 00032BD0 80 0D A0 60 */ lwz r0, gpResourceFactory@sda21(r13) +/* 80035C74 00032BD4 7C 1F 03 78 */ mr r31, r0 +/* 80035C78 00032BD8 7C 03 03 78 */ mr r3, r0 +/* 80035C7C 00032BDC 48 00 10 DD */ bl IDFromFactory__FR11CResFactoryPCc +/* 80035C80 00032BE0 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 80035C84 00032BE4 90 61 00 CC */ stw r3, 0xcc(r1) +/* 80035C88 00032BE8 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 80035C8C 00032BEC 38 7F 00 04 */ addi r3, r31, 4 +/* 80035C90 00032BF0 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 80035C94 00032BF4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80035C98 00032BF8 38 A0 00 00 */ li r5, 0 +/* 80035C9C 00032BFC 48 30 5C CD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80035CA0 00032C00 7C 03 00 D0 */ neg r0, r3 +/* 80035CA4 00032C04 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80035CA8 00032C08 7C 00 1B 78 */ or r0, r0, r3 +/* 80035CAC 00032C0C 90 61 01 34 */ stw r3, 0x134(r1) +/* 80035CB0 00032C10 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80035CB4 00032C14 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80035CB8 00032C18 98 01 01 30 */ stb r0, 0x130(r1) +/* 80035CBC 00032C1C 38 60 00 34 */ li r3, 0x34 +/* 80035CC0 00032C20 38 84 00 07 */ addi r4, r4, 7 +/* 80035CC4 00032C24 38 A0 00 00 */ li r5, 0 +/* 80035CC8 00032C28 48 00 13 C1 */ bl "__nw__28TOneStatic<14CTweakParticle>FUlPCcPCc" +/* 80035CCC 00032C2C 7C 64 1B 79 */ or. r4, r3, r3 +/* 80035CD0 00032C30 41 82 00 10 */ beq lbl_80035CE0 +/* 80035CD4 00032C34 80 81 01 34 */ lwz r4, 0x134(r1) +/* 80035CD8 00032C38 48 02 42 49 */ bl __ct__14CTweakParticleFR12CInputStream +/* 80035CDC 00032C3C 7C 64 1B 78 */ mr r4, r3 +lbl_80035CE0: +/* 80035CE0 00032C40 7C 04 00 D0 */ neg r0, r4 +/* 80035CE4 00032C44 3B BE 00 14 */ addi r29, r30, 0x14 +/* 80035CE8 00032C48 7C 03 23 78 */ or r3, r0, r4 +/* 80035CEC 00032C4C 38 01 00 C0 */ addi r0, r1, 0xc0 +/* 80035CF0 00032C50 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80035CF4 00032C54 90 8D A1 24 */ stw r4, gpTweakParticle@sda21(r13) +/* 80035CF8 00032C58 7C 00 E8 40 */ cmplw r0, r29 +/* 80035CFC 00032C5C 98 61 00 C0 */ stb r3, 0xc0(r1) +/* 80035D00 00032C60 90 81 00 C4 */ stw r4, 0xc4(r1) +/* 80035D04 00032C64 41 82 00 48 */ beq lbl_80035D4C +/* 80035D08 00032C68 88 1D 00 00 */ lbz r0, 0(r29) +/* 80035D0C 00032C6C 28 00 00 00 */ cmplwi r0, 0 +/* 80035D10 00032C70 41 82 00 24 */ beq lbl_80035D34 +/* 80035D14 00032C74 80 7D 00 04 */ lwz r3, 4(r29) +/* 80035D18 00032C78 28 03 00 00 */ cmplwi r3, 0 +/* 80035D1C 00032C7C 41 82 00 18 */ beq lbl_80035D34 +/* 80035D20 00032C80 81 83 00 00 */ lwz r12, 0(r3) +/* 80035D24 00032C84 38 80 00 01 */ li r4, 1 +/* 80035D28 00032C88 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035D2C 00032C8C 7D 89 03 A6 */ mtctr r12 +/* 80035D30 00032C90 4E 80 04 21 */ bctrl +lbl_80035D34: +/* 80035D34 00032C94 88 61 00 C0 */ lbz r3, 0xc0(r1) +/* 80035D38 00032C98 38 00 00 00 */ li r0, 0 +/* 80035D3C 00032C9C 98 7D 00 00 */ stb r3, 0(r29) +/* 80035D40 00032CA0 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 80035D44 00032CA4 90 7D 00 04 */ stw r3, 4(r29) +/* 80035D48 00032CA8 98 01 00 C0 */ stb r0, 0xc0(r1) +lbl_80035D4C: +/* 80035D4C 00032CAC 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 80035D50 00032CB0 28 00 00 00 */ cmplwi r0, 0 +/* 80035D54 00032CB4 41 82 00 24 */ beq lbl_80035D78 +/* 80035D58 00032CB8 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 80035D5C 00032CBC 28 03 00 00 */ cmplwi r3, 0 +/* 80035D60 00032CC0 41 82 00 18 */ beq lbl_80035D78 +/* 80035D64 00032CC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80035D68 00032CC8 38 80 00 01 */ li r4, 1 +/* 80035D6C 00032CCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035D70 00032CD0 7D 89 03 A6 */ mtctr r12 +/* 80035D74 00032CD4 4E 80 04 21 */ bctrl +lbl_80035D78: +/* 80035D78 00032CD8 88 01 01 30 */ lbz r0, 0x130(r1) +/* 80035D7C 00032CDC 28 00 00 00 */ cmplwi r0, 0 +/* 80035D80 00032CE0 41 82 00 24 */ beq lbl_80035DA4 +/* 80035D84 00032CE4 80 61 01 34 */ lwz r3, 0x134(r1) +/* 80035D88 00032CE8 28 03 00 00 */ cmplwi r3, 0 +/* 80035D8C 00032CEC 41 82 00 18 */ beq lbl_80035DA4 +/* 80035D90 00032CF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80035D94 00032CF4 38 80 00 01 */ li r4, 1 +/* 80035D98 00032CF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035D9C 00032CFC 7D 89 03 A6 */ mtctr r12 +/* 80035DA0 00032D00 4E 80 04 21 */ bctrl +lbl_80035DA4: +/* 80035DA4 00032D04 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80035DA8 00032D08 7F E3 FB 78 */ mr r3, r31 +/* 80035DAC 00032D0C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80035DB0 00032D10 38 84 00 21 */ addi r4, r4, 0x21 +/* 80035DB4 00032D14 48 00 0F A5 */ bl IDFromFactory__FR11CResFactoryPCc +/* 80035DB8 00032D18 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 80035DBC 00032D1C 90 61 00 BC */ stw r3, 0xbc(r1) +/* 80035DC0 00032D20 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 80035DC4 00032D24 38 7F 00 04 */ addi r3, r31, 4 +/* 80035DC8 00032D28 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80035DCC 00032D2C 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80035DD0 00032D30 38 A0 00 00 */ li r5, 0 +/* 80035DD4 00032D34 48 30 5B 95 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80035DD8 00032D38 7C 03 00 D0 */ neg r0, r3 +/* 80035DDC 00032D3C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80035DE0 00032D40 7C 00 1B 78 */ or r0, r0, r3 +/* 80035DE4 00032D44 90 61 01 2C */ stw r3, 0x12c(r1) +/* 80035DE8 00032D48 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80035DEC 00032D4C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80035DF0 00032D50 98 01 01 28 */ stb r0, 0x128(r1) +/* 80035DF4 00032D54 38 60 03 0C */ li r3, 0x30c +/* 80035DF8 00032D58 38 84 00 07 */ addi r4, r4, 7 +/* 80035DFC 00032D5C 38 A0 00 00 */ li r5, 0 +/* 80035E00 00032D60 48 00 13 A9 */ bl "__nw__26TOneStatic<12CTweakPlayer>FUlPCcPCc" +/* 80035E04 00032D64 7C 64 1B 79 */ or. r4, r3, r3 +/* 80035E08 00032D68 41 82 00 10 */ beq lbl_80035E18 +/* 80035E0C 00032D6C 80 81 01 2C */ lwz r4, 0x12c(r1) +/* 80035E10 00032D70 4B FF EF F5 */ bl __ct__12CTweakPlayerFR12CInputStream +/* 80035E14 00032D74 7C 64 1B 78 */ mr r4, r3 +lbl_80035E18: +/* 80035E18 00032D78 7C 04 00 D0 */ neg r0, r4 +/* 80035E1C 00032D7C 3B BE 00 04 */ addi r29, r30, 4 +/* 80035E20 00032D80 7C 03 23 78 */ or r3, r0, r4 +/* 80035E24 00032D84 38 01 00 B0 */ addi r0, r1, 0xb0 +/* 80035E28 00032D88 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80035E2C 00032D8C 90 8D A1 18 */ stw r4, gpTweakPlayer@sda21(r13) +/* 80035E30 00032D90 7C 00 E8 40 */ cmplw r0, r29 +/* 80035E34 00032D94 98 61 00 B0 */ stb r3, 0xb0(r1) +/* 80035E38 00032D98 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 80035E3C 00032D9C 41 82 00 48 */ beq lbl_80035E84 +/* 80035E40 00032DA0 88 1D 00 00 */ lbz r0, 0(r29) +/* 80035E44 00032DA4 28 00 00 00 */ cmplwi r0, 0 +/* 80035E48 00032DA8 41 82 00 24 */ beq lbl_80035E6C +/* 80035E4C 00032DAC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80035E50 00032DB0 28 03 00 00 */ cmplwi r3, 0 +/* 80035E54 00032DB4 41 82 00 18 */ beq lbl_80035E6C +/* 80035E58 00032DB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80035E5C 00032DBC 38 80 00 01 */ li r4, 1 +/* 80035E60 00032DC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035E64 00032DC4 7D 89 03 A6 */ mtctr r12 +/* 80035E68 00032DC8 4E 80 04 21 */ bctrl +lbl_80035E6C: +/* 80035E6C 00032DCC 88 61 00 B0 */ lbz r3, 0xb0(r1) +/* 80035E70 00032DD0 38 00 00 00 */ li r0, 0 +/* 80035E74 00032DD4 98 7D 00 00 */ stb r3, 0(r29) +/* 80035E78 00032DD8 80 61 00 B4 */ lwz r3, 0xb4(r1) +/* 80035E7C 00032DDC 90 7D 00 04 */ stw r3, 4(r29) +/* 80035E80 00032DE0 98 01 00 B0 */ stb r0, 0xb0(r1) +lbl_80035E84: +/* 80035E84 00032DE4 88 01 00 B0 */ lbz r0, 0xb0(r1) +/* 80035E88 00032DE8 28 00 00 00 */ cmplwi r0, 0 +/* 80035E8C 00032DEC 41 82 00 24 */ beq lbl_80035EB0 +/* 80035E90 00032DF0 80 61 00 B4 */ lwz r3, 0xb4(r1) +/* 80035E94 00032DF4 28 03 00 00 */ cmplwi r3, 0 +/* 80035E98 00032DF8 41 82 00 18 */ beq lbl_80035EB0 +/* 80035E9C 00032DFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80035EA0 00032E00 38 80 00 01 */ li r4, 1 +/* 80035EA4 00032E04 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035EA8 00032E08 7D 89 03 A6 */ mtctr r12 +/* 80035EAC 00032E0C 4E 80 04 21 */ bctrl +lbl_80035EB0: +/* 80035EB0 00032E10 88 01 01 28 */ lbz r0, 0x128(r1) +/* 80035EB4 00032E14 28 00 00 00 */ cmplwi r0, 0 +/* 80035EB8 00032E18 41 82 00 24 */ beq lbl_80035EDC +/* 80035EBC 00032E1C 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 80035EC0 00032E20 28 03 00 00 */ cmplwi r3, 0 +/* 80035EC4 00032E24 41 82 00 18 */ beq lbl_80035EDC +/* 80035EC8 00032E28 81 83 00 00 */ lwz r12, 0(r3) +/* 80035ECC 00032E2C 38 80 00 01 */ li r4, 1 +/* 80035ED0 00032E30 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035ED4 00032E34 7D 89 03 A6 */ mtctr r12 +/* 80035ED8 00032E38 4E 80 04 21 */ bctrl +lbl_80035EDC: +/* 80035EDC 00032E3C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80035EE0 00032E40 7F E3 FB 78 */ mr r3, r31 +/* 80035EE4 00032E44 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80035EE8 00032E48 38 84 00 28 */ addi r4, r4, 0x28 +/* 80035EEC 00032E4C 48 00 0E 6D */ bl IDFromFactory__FR11CResFactoryPCc +/* 80035EF0 00032E50 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 80035EF4 00032E54 90 61 00 AC */ stw r3, 0xac(r1) +/* 80035EF8 00032E58 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 80035EFC 00032E5C 38 7F 00 04 */ addi r3, r31, 4 +/* 80035F00 00032E60 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80035F04 00032E64 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80035F08 00032E68 38 A0 00 00 */ li r5, 0 +/* 80035F0C 00032E6C 48 30 5A 5D */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80035F10 00032E70 7C 03 00 D0 */ neg r0, r3 +/* 80035F14 00032E74 90 61 01 24 */ stw r3, 0x124(r1) +/* 80035F18 00032E78 7C 00 1B 78 */ or r0, r0, r3 +/* 80035F1C 00032E7C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80035F20 00032E80 98 01 01 20 */ stb r0, 0x120(r1) +/* 80035F24 00032E84 48 0B 42 61 */ bl ReadTweaks__16CPlayerCameraBobFR12CInputStream +/* 80035F28 00032E88 88 01 01 20 */ lbz r0, 0x120(r1) +/* 80035F2C 00032E8C 28 00 00 00 */ cmplwi r0, 0 +/* 80035F30 00032E90 41 82 00 24 */ beq lbl_80035F54 +/* 80035F34 00032E94 80 61 01 24 */ lwz r3, 0x124(r1) +/* 80035F38 00032E98 28 03 00 00 */ cmplwi r3, 0 +/* 80035F3C 00032E9C 41 82 00 18 */ beq lbl_80035F54 +/* 80035F40 00032EA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80035F44 00032EA4 38 80 00 01 */ li r4, 1 +/* 80035F48 00032EA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80035F4C 00032EAC 7D 89 03 A6 */ mtctr r12 +/* 80035F50 00032EB0 4E 80 04 21 */ bctrl +lbl_80035F54: +/* 80035F54 00032EB4 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80035F58 00032EB8 7F E3 FB 78 */ mr r3, r31 +/* 80035F5C 00032EBC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80035F60 00032EC0 38 84 00 32 */ addi r4, r4, 0x32 +/* 80035F64 00032EC4 48 00 0D F5 */ bl IDFromFactory__FR11CResFactoryPCc +/* 80035F68 00032EC8 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 80035F6C 00032ECC 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 80035F70 00032ED0 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 80035F74 00032ED4 38 7F 00 04 */ addi r3, r31, 4 +/* 80035F78 00032ED8 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80035F7C 00032EDC 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80035F80 00032EE0 38 A0 00 00 */ li r5, 0 +/* 80035F84 00032EE4 48 30 59 E5 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80035F88 00032EE8 7C 03 00 D0 */ neg r0, r3 +/* 80035F8C 00032EEC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80035F90 00032EF0 7C 00 1B 78 */ or r0, r0, r3 +/* 80035F94 00032EF4 90 61 01 1C */ stw r3, 0x11c(r1) +/* 80035F98 00032EF8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80035F9C 00032EFC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80035FA0 00032F00 98 01 01 18 */ stb r0, 0x118(r1) +/* 80035FA4 00032F04 38 60 02 38 */ li r3, 0x238 +/* 80035FA8 00032F08 38 84 00 07 */ addi r4, r4, 7 +/* 80035FAC 00032F0C 38 A0 00 00 */ li r5, 0 +/* 80035FB0 00032F10 48 00 11 99 */ bl "__nw__24TOneStatic<10CTweakBall>FUlPCcPCc" +/* 80035FB4 00032F14 7C 64 1B 79 */ or. r4, r3, r3 +/* 80035FB8 00032F18 41 82 00 10 */ beq lbl_80035FC8 +/* 80035FBC 00032F1C 80 81 01 1C */ lwz r4, 0x11c(r1) +/* 80035FC0 00032F20 48 05 AB 95 */ bl __ct__10CTweakBallFR12CInputStream +/* 80035FC4 00032F24 7C 64 1B 78 */ mr r4, r3 +lbl_80035FC8: +/* 80035FC8 00032F28 7C 04 00 D0 */ neg r0, r4 +/* 80035FCC 00032F2C 3B BE 00 3C */ addi r29, r30, 0x3c +/* 80035FD0 00032F30 7C 03 23 78 */ or r3, r0, r4 +/* 80035FD4 00032F34 38 01 00 98 */ addi r0, r1, 0x98 +/* 80035FD8 00032F38 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80035FDC 00032F3C 90 8D A1 1C */ stw r4, gpTweakBall@sda21(r13) +/* 80035FE0 00032F40 7C 00 E8 40 */ cmplw r0, r29 +/* 80035FE4 00032F44 98 61 00 98 */ stb r3, 0x98(r1) +/* 80035FE8 00032F48 90 81 00 9C */ stw r4, 0x9c(r1) +/* 80035FEC 00032F4C 41 82 00 48 */ beq lbl_80036034 +/* 80035FF0 00032F50 88 1D 00 00 */ lbz r0, 0(r29) +/* 80035FF4 00032F54 28 00 00 00 */ cmplwi r0, 0 +/* 80035FF8 00032F58 41 82 00 24 */ beq lbl_8003601C +/* 80035FFC 00032F5C 80 7D 00 04 */ lwz r3, 4(r29) +/* 80036000 00032F60 28 03 00 00 */ cmplwi r3, 0 +/* 80036004 00032F64 41 82 00 18 */ beq lbl_8003601C +/* 80036008 00032F68 81 83 00 00 */ lwz r12, 0(r3) +/* 8003600C 00032F6C 38 80 00 01 */ li r4, 1 +/* 80036010 00032F70 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036014 00032F74 7D 89 03 A6 */ mtctr r12 +/* 80036018 00032F78 4E 80 04 21 */ bctrl +lbl_8003601C: +/* 8003601C 00032F7C 88 61 00 98 */ lbz r3, 0x98(r1) +/* 80036020 00032F80 38 00 00 00 */ li r0, 0 +/* 80036024 00032F84 98 7D 00 00 */ stb r3, 0(r29) +/* 80036028 00032F88 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 8003602C 00032F8C 90 7D 00 04 */ stw r3, 4(r29) +/* 80036030 00032F90 98 01 00 98 */ stb r0, 0x98(r1) +lbl_80036034: +/* 80036034 00032F94 88 01 00 98 */ lbz r0, 0x98(r1) +/* 80036038 00032F98 28 00 00 00 */ cmplwi r0, 0 +/* 8003603C 00032F9C 41 82 00 24 */ beq lbl_80036060 +/* 80036040 00032FA0 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 80036044 00032FA4 28 03 00 00 */ cmplwi r3, 0 +/* 80036048 00032FA8 41 82 00 18 */ beq lbl_80036060 +/* 8003604C 00032FAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80036050 00032FB0 38 80 00 01 */ li r4, 1 +/* 80036054 00032FB4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036058 00032FB8 7D 89 03 A6 */ mtctr r12 +/* 8003605C 00032FBC 4E 80 04 21 */ bctrl +lbl_80036060: +/* 80036060 00032FC0 88 01 01 18 */ lbz r0, 0x118(r1) +/* 80036064 00032FC4 28 00 00 00 */ cmplwi r0, 0 +/* 80036068 00032FC8 41 82 00 24 */ beq lbl_8003608C +/* 8003606C 00032FCC 80 61 01 1C */ lwz r3, 0x11c(r1) +/* 80036070 00032FD0 28 03 00 00 */ cmplwi r3, 0 +/* 80036074 00032FD4 41 82 00 18 */ beq lbl_8003608C +/* 80036078 00032FD8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003607C 00032FDC 38 80 00 01 */ li r4, 1 +/* 80036080 00032FE0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036084 00032FE4 7D 89 03 A6 */ mtctr r12 +/* 80036088 00032FE8 4E 80 04 21 */ bctrl +lbl_8003608C: +/* 8003608C 00032FEC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036090 00032FF0 7F E3 FB 78 */ mr r3, r31 +/* 80036094 00032FF4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036098 00032FF8 38 84 00 37 */ addi r4, r4, 0x37 +/* 8003609C 00032FFC 48 00 0C BD */ bl IDFromFactory__FR11CResFactoryPCc +/* 800360A0 00033000 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 800360A4 00033004 90 61 00 94 */ stw r3, 0x94(r1) +/* 800360A8 00033008 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 800360AC 0003300C 38 7F 00 04 */ addi r3, r31, 4 +/* 800360B0 00033010 90 01 00 90 */ stw r0, 0x90(r1) +/* 800360B4 00033014 38 81 00 90 */ addi r4, r1, 0x90 +/* 800360B8 00033018 38 A0 00 00 */ li r5, 0 +/* 800360BC 0003301C 48 30 58 AD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 800360C0 00033020 7C 03 00 D0 */ neg r0, r3 +/* 800360C4 00033024 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 800360C8 00033028 7C 00 1B 78 */ or r0, r0, r3 +/* 800360CC 0003302C 90 61 01 14 */ stw r3, 0x114(r1) +/* 800360D0 00033030 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800360D4 00033034 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 800360D8 00033038 98 01 01 10 */ stb r0, 0x110(r1) +/* 800360DC 0003303C 38 60 02 98 */ li r3, 0x298 +/* 800360E0 00033040 38 84 00 07 */ addi r4, r4, 7 +/* 800360E4 00033044 38 A0 00 00 */ li r5, 0 +/* 800360E8 00033048 48 00 0F 41 */ bl "__nw__29TOneStatic<15CTweakPlayerGun>FUlPCcPCc" +/* 800360EC 0003304C 7C 64 1B 79 */ or. r4, r3, r3 +/* 800360F0 00033050 41 82 00 10 */ beq lbl_80036100 +/* 800360F4 00033054 80 81 01 14 */ lwz r4, 0x114(r1) +/* 800360F8 00033058 48 03 9E A1 */ bl __ct__15CTweakPlayerGunFR12CInputStream +/* 800360FC 0003305C 7C 64 1B 78 */ mr r4, r3 +lbl_80036100: +/* 80036100 00033060 7C 04 00 D0 */ neg r0, r4 +/* 80036104 00033064 3B BE 00 24 */ addi r29, r30, 0x24 +/* 80036108 00033068 7C 03 23 78 */ or r3, r0, r4 +/* 8003610C 0003306C 38 01 00 88 */ addi r0, r1, 0x88 +/* 80036110 00033070 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80036114 00033074 90 8D A1 34 */ stw r4, gpTweakPlayerGun@sda21(r13) +/* 80036118 00033078 7C 00 E8 40 */ cmplw r0, r29 +/* 8003611C 0003307C 98 61 00 88 */ stb r3, 0x88(r1) +/* 80036120 00033080 90 81 00 8C */ stw r4, 0x8c(r1) +/* 80036124 00033084 41 82 00 48 */ beq lbl_8003616C +/* 80036128 00033088 88 1D 00 00 */ lbz r0, 0(r29) +/* 8003612C 0003308C 28 00 00 00 */ cmplwi r0, 0 +/* 80036130 00033090 41 82 00 24 */ beq lbl_80036154 +/* 80036134 00033094 80 7D 00 04 */ lwz r3, 4(r29) +/* 80036138 00033098 28 03 00 00 */ cmplwi r3, 0 +/* 8003613C 0003309C 41 82 00 18 */ beq lbl_80036154 +/* 80036140 000330A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80036144 000330A4 38 80 00 01 */ li r4, 1 +/* 80036148 000330A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003614C 000330AC 7D 89 03 A6 */ mtctr r12 +/* 80036150 000330B0 4E 80 04 21 */ bctrl +lbl_80036154: +/* 80036154 000330B4 88 61 00 88 */ lbz r3, 0x88(r1) +/* 80036158 000330B8 38 00 00 00 */ li r0, 0 +/* 8003615C 000330BC 98 7D 00 00 */ stb r3, 0(r29) +/* 80036160 000330C0 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 80036164 000330C4 90 7D 00 04 */ stw r3, 4(r29) +/* 80036168 000330C8 98 01 00 88 */ stb r0, 0x88(r1) +lbl_8003616C: +/* 8003616C 000330CC 88 01 00 88 */ lbz r0, 0x88(r1) +/* 80036170 000330D0 28 00 00 00 */ cmplwi r0, 0 +/* 80036174 000330D4 41 82 00 24 */ beq lbl_80036198 +/* 80036178 000330D8 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 8003617C 000330DC 28 03 00 00 */ cmplwi r3, 0 +/* 80036180 000330E0 41 82 00 18 */ beq lbl_80036198 +/* 80036184 000330E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80036188 000330E8 38 80 00 01 */ li r4, 1 +/* 8003618C 000330EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036190 000330F0 7D 89 03 A6 */ mtctr r12 +/* 80036194 000330F4 4E 80 04 21 */ bctrl +lbl_80036198: +/* 80036198 000330F8 88 01 01 10 */ lbz r0, 0x110(r1) +/* 8003619C 000330FC 28 00 00 00 */ cmplwi r0, 0 +/* 800361A0 00033100 41 82 00 24 */ beq lbl_800361C4 +/* 800361A4 00033104 80 61 01 14 */ lwz r3, 0x114(r1) +/* 800361A8 00033108 28 03 00 00 */ cmplwi r3, 0 +/* 800361AC 0003310C 41 82 00 18 */ beq lbl_800361C4 +/* 800361B0 00033110 81 83 00 00 */ lwz r12, 0(r3) +/* 800361B4 00033114 38 80 00 01 */ li r4, 1 +/* 800361B8 00033118 81 8C 00 08 */ lwz r12, 8(r12) +/* 800361BC 0003311C 7D 89 03 A6 */ mtctr r12 +/* 800361C0 00033120 4E 80 04 21 */ bctrl +lbl_800361C4: +/* 800361C4 00033124 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 800361C8 00033128 7F E3 FB 78 */ mr r3, r31 +/* 800361CC 0003312C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 800361D0 00033130 38 84 00 41 */ addi r4, r4, 0x41 +/* 800361D4 00033134 48 00 0B 85 */ bl IDFromFactory__FR11CResFactoryPCc +/* 800361D8 00033138 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 800361DC 0003313C 90 61 00 84 */ stw r3, 0x84(r1) +/* 800361E0 00033140 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 800361E4 00033144 38 7F 00 04 */ addi r3, r31, 4 +/* 800361E8 00033148 90 01 00 80 */ stw r0, 0x80(r1) +/* 800361EC 0003314C 38 81 00 80 */ addi r4, r1, 0x80 +/* 800361F0 00033150 38 A0 00 00 */ li r5, 0 +/* 800361F4 00033154 48 30 57 75 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 800361F8 00033158 7C 03 00 D0 */ neg r0, r3 +/* 800361FC 0003315C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036200 00033160 7C 00 1B 78 */ or r0, r0, r3 +/* 80036204 00033164 90 61 01 0C */ stw r3, 0x10c(r1) +/* 80036208 00033168 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8003620C 0003316C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036210 00033170 98 01 01 08 */ stb r0, 0x108(r1) +/* 80036214 00033174 38 60 02 28 */ li r3, 0x228 +/* 80036218 00033178 38 84 00 07 */ addi r4, r4, 7 +/* 8003621C 0003317C 38 A0 00 00 */ li r5, 0 +/* 80036220 00033180 48 00 0C E9 */ bl "__nw__29TOneStatic<15CTweakTargeting>FUlPCcPCc" +/* 80036224 00033184 7C 64 1B 79 */ or. r4, r3, r3 +/* 80036228 00033188 41 82 00 10 */ beq lbl_80036238 +/* 8003622C 0003318C 80 81 01 0C */ lwz r4, 0x10c(r1) +/* 80036230 00033190 48 07 F7 99 */ bl __ct__15CTweakTargetingFR12CInputStream +/* 80036234 00033194 7C 64 1B 78 */ mr r4, r3 +lbl_80036238: +/* 80036238 00033198 7C 04 00 D0 */ neg r0, r4 +/* 8003623C 0003319C 3B BE 00 44 */ addi r29, r30, 0x44 +/* 80036240 000331A0 7C 03 23 78 */ or r3, r0, r4 +/* 80036244 000331A4 38 01 00 78 */ addi r0, r1, 0x78 +/* 80036248 000331A8 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8003624C 000331AC 90 8D A1 40 */ stw r4, gpTweakTargeting@sda21(r13) +/* 80036250 000331B0 7C 00 E8 40 */ cmplw r0, r29 +/* 80036254 000331B4 98 61 00 78 */ stb r3, 0x78(r1) +/* 80036258 000331B8 90 81 00 7C */ stw r4, 0x7c(r1) +/* 8003625C 000331BC 41 82 00 48 */ beq lbl_800362A4 +/* 80036260 000331C0 88 1D 00 00 */ lbz r0, 0(r29) +/* 80036264 000331C4 28 00 00 00 */ cmplwi r0, 0 +/* 80036268 000331C8 41 82 00 24 */ beq lbl_8003628C +/* 8003626C 000331CC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80036270 000331D0 28 03 00 00 */ cmplwi r3, 0 +/* 80036274 000331D4 41 82 00 18 */ beq lbl_8003628C +/* 80036278 000331D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003627C 000331DC 38 80 00 01 */ li r4, 1 +/* 80036280 000331E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036284 000331E4 7D 89 03 A6 */ mtctr r12 +/* 80036288 000331E8 4E 80 04 21 */ bctrl +lbl_8003628C: +/* 8003628C 000331EC 88 61 00 78 */ lbz r3, 0x78(r1) +/* 80036290 000331F0 38 00 00 00 */ li r0, 0 +/* 80036294 000331F4 98 7D 00 00 */ stb r3, 0(r29) +/* 80036298 000331F8 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 8003629C 000331FC 90 7D 00 04 */ stw r3, 4(r29) +/* 800362A0 00033200 98 01 00 78 */ stb r0, 0x78(r1) +lbl_800362A4: +/* 800362A4 00033204 88 01 00 78 */ lbz r0, 0x78(r1) +/* 800362A8 00033208 28 00 00 00 */ cmplwi r0, 0 +/* 800362AC 0003320C 41 82 00 24 */ beq lbl_800362D0 +/* 800362B0 00033210 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 800362B4 00033214 28 03 00 00 */ cmplwi r3, 0 +/* 800362B8 00033218 41 82 00 18 */ beq lbl_800362D0 +/* 800362BC 0003321C 81 83 00 00 */ lwz r12, 0(r3) +/* 800362C0 00033220 38 80 00 01 */ li r4, 1 +/* 800362C4 00033224 81 8C 00 08 */ lwz r12, 8(r12) +/* 800362C8 00033228 7D 89 03 A6 */ mtctr r12 +/* 800362CC 0003322C 4E 80 04 21 */ bctrl +lbl_800362D0: +/* 800362D0 00033230 88 01 01 08 */ lbz r0, 0x108(r1) +/* 800362D4 00033234 28 00 00 00 */ cmplwi r0, 0 +/* 800362D8 00033238 41 82 00 24 */ beq lbl_800362FC +/* 800362DC 0003323C 80 61 01 0C */ lwz r3, 0x10c(r1) +/* 800362E0 00033240 28 03 00 00 */ cmplwi r3, 0 +/* 800362E4 00033244 41 82 00 18 */ beq lbl_800362FC +/* 800362E8 00033248 81 83 00 00 */ lwz r12, 0(r3) +/* 800362EC 0003324C 38 80 00 01 */ li r4, 1 +/* 800362F0 00033250 81 8C 00 08 */ lwz r12, 8(r12) +/* 800362F4 00033254 7D 89 03 A6 */ mtctr r12 +/* 800362F8 00033258 4E 80 04 21 */ bctrl +lbl_800362FC: +/* 800362FC 0003325C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036300 00033260 7F E3 FB 78 */ mr r3, r31 +/* 80036304 00033264 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036308 00033268 38 84 00 4B */ addi r4, r4, 0x4b +/* 8003630C 0003326C 48 00 0A 4D */ bl IDFromFactory__FR11CResFactoryPCc +/* 80036310 00033270 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 80036314 00033274 90 61 00 74 */ stw r3, 0x74(r1) +/* 80036318 00033278 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 8003631C 0003327C 38 7F 00 04 */ addi r3, r31, 4 +/* 80036320 00033280 90 01 00 70 */ stw r0, 0x70(r1) +/* 80036324 00033284 38 81 00 70 */ addi r4, r1, 0x70 +/* 80036328 00033288 38 A0 00 00 */ li r5, 0 +/* 8003632C 0003328C 48 30 56 3D */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80036330 00033290 7C 03 00 D0 */ neg r0, r3 +/* 80036334 00033294 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036338 00033298 7C 00 1B 78 */ or r0, r0, r3 +/* 8003633C 0003329C 90 61 01 04 */ stw r3, 0x104(r1) +/* 80036340 000332A0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80036344 000332A4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036348 000332A8 98 01 01 00 */ stb r0, 0x100(r1) +/* 8003634C 000332AC 38 60 00 68 */ li r3, 0x68 +/* 80036350 000332B0 38 84 00 07 */ addi r4, r4, 7 +/* 80036354 000332B4 38 A0 00 00 */ li r5, 0 +/* 80036358 000332B8 48 00 0D 91 */ bl "__nw__24TOneStatic<10CTweakGame>FUlPCcPCc" +/* 8003635C 000332BC 7C 64 1B 79 */ or. r4, r3, r3 +/* 80036360 000332C0 41 82 00 10 */ beq lbl_80036370 +/* 80036364 000332C4 80 81 01 04 */ lwz r4, 0x104(r1) +/* 80036368 000332C8 48 00 0E 7D */ bl __ct__10CTweakGameFR12CInputStream +/* 8003636C 000332CC 7C 64 1B 78 */ mr r4, r3 +lbl_80036370: +/* 80036370 000332D0 7C 04 00 D0 */ neg r0, r4 +/* 80036374 000332D4 3B BE 00 0C */ addi r29, r30, 0xc +/* 80036378 000332D8 7C 03 23 78 */ or r3, r0, r4 +/* 8003637C 000332DC 38 01 00 68 */ addi r0, r1, 0x68 +/* 80036380 000332E0 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80036384 000332E4 90 8D A1 20 */ stw r4, gpTweakGame@sda21(r13) +/* 80036388 000332E8 7C 00 E8 40 */ cmplw r0, r29 +/* 8003638C 000332EC 98 61 00 68 */ stb r3, 0x68(r1) +/* 80036390 000332F0 90 81 00 6C */ stw r4, 0x6c(r1) +/* 80036394 000332F4 41 82 00 48 */ beq lbl_800363DC +/* 80036398 000332F8 88 1D 00 00 */ lbz r0, 0(r29) +/* 8003639C 000332FC 28 00 00 00 */ cmplwi r0, 0 +/* 800363A0 00033300 41 82 00 24 */ beq lbl_800363C4 +/* 800363A4 00033304 80 7D 00 04 */ lwz r3, 4(r29) +/* 800363A8 00033308 28 03 00 00 */ cmplwi r3, 0 +/* 800363AC 0003330C 41 82 00 18 */ beq lbl_800363C4 +/* 800363B0 00033310 81 83 00 00 */ lwz r12, 0(r3) +/* 800363B4 00033314 38 80 00 01 */ li r4, 1 +/* 800363B8 00033318 81 8C 00 08 */ lwz r12, 8(r12) +/* 800363BC 0003331C 7D 89 03 A6 */ mtctr r12 +/* 800363C0 00033320 4E 80 04 21 */ bctrl +lbl_800363C4: +/* 800363C4 00033324 88 61 00 68 */ lbz r3, 0x68(r1) +/* 800363C8 00033328 38 00 00 00 */ li r0, 0 +/* 800363CC 0003332C 98 7D 00 00 */ stb r3, 0(r29) +/* 800363D0 00033330 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 800363D4 00033334 90 7D 00 04 */ stw r3, 4(r29) +/* 800363D8 00033338 98 01 00 68 */ stb r0, 0x68(r1) +lbl_800363DC: +/* 800363DC 0003333C 88 01 00 68 */ lbz r0, 0x68(r1) +/* 800363E0 00033340 28 00 00 00 */ cmplwi r0, 0 +/* 800363E4 00033344 41 82 00 24 */ beq lbl_80036408 +/* 800363E8 00033348 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 800363EC 0003334C 28 03 00 00 */ cmplwi r3, 0 +/* 800363F0 00033350 41 82 00 18 */ beq lbl_80036408 +/* 800363F4 00033354 81 83 00 00 */ lwz r12, 0(r3) +/* 800363F8 00033358 38 80 00 01 */ li r4, 1 +/* 800363FC 0003335C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036400 00033360 7D 89 03 A6 */ mtctr r12 +/* 80036404 00033364 4E 80 04 21 */ bctrl +lbl_80036408: +/* 80036408 00033368 88 01 01 00 */ lbz r0, 0x100(r1) +/* 8003640C 0003336C 28 00 00 00 */ cmplwi r0, 0 +/* 80036410 00033370 41 82 00 24 */ beq lbl_80036434 +/* 80036414 00033374 80 61 01 04 */ lwz r3, 0x104(r1) +/* 80036418 00033378 28 03 00 00 */ cmplwi r3, 0 +/* 8003641C 0003337C 41 82 00 18 */ beq lbl_80036434 +/* 80036420 00033380 81 83 00 00 */ lwz r12, 0(r3) +/* 80036424 00033384 38 80 00 01 */ li r4, 1 +/* 80036428 00033388 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003642C 0003338C 7D 89 03 A6 */ mtctr r12 +/* 80036430 00033390 4E 80 04 21 */ bctrl +lbl_80036434: +/* 80036434 00033394 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036438 00033398 7F E3 FB 78 */ mr r3, r31 +/* 8003643C 0003339C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036440 000333A0 38 84 00 50 */ addi r4, r4, 0x50 +/* 80036444 000333A4 48 00 09 15 */ bl IDFromFactory__FR11CResFactoryPCc +/* 80036448 000333A8 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 8003644C 000333AC 90 61 00 64 */ stw r3, 0x64(r1) +/* 80036450 000333B0 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 80036454 000333B4 38 7F 00 04 */ addi r3, r31, 4 +/* 80036458 000333B8 90 01 00 60 */ stw r0, 0x60(r1) +/* 8003645C 000333BC 38 81 00 60 */ addi r4, r1, 0x60 +/* 80036460 000333C0 38 A0 00 00 */ li r5, 0 +/* 80036464 000333C4 48 30 55 05 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80036468 000333C8 7C 03 00 D0 */ neg r0, r3 +/* 8003646C 000333CC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036470 000333D0 7C 00 1B 78 */ or r0, r0, r3 +/* 80036474 000333D4 90 61 00 FC */ stw r3, 0xfc(r1) +/* 80036478 000333D8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8003647C 000333DC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036480 000333E0 98 01 00 F8 */ stb r0, 0xf8(r1) +/* 80036484 000333E4 38 60 02 54 */ li r3, 0x254 +/* 80036488 000333E8 38 84 00 07 */ addi r4, r4, 7 +/* 8003648C 000333EC 38 A0 00 00 */ li r5, 0 +/* 80036490 000333F0 48 00 0A D9 */ bl "__nw__29TOneStatic<15CTweakGuiColors>FUlPCcPCc" +/* 80036494 000333F4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80036498 000333F8 41 82 00 10 */ beq lbl_800364A8 +/* 8003649C 000333FC 80 81 00 FC */ lwz r4, 0xfc(r1) +/* 800364A0 00033400 48 19 75 8D */ bl __ct__15CTweakGuiColorsFR12CInputStream +/* 800364A4 00033404 7C 64 1B 78 */ mr r4, r3 +lbl_800364A8: +/* 800364A8 00033408 7C 04 00 D0 */ neg r0, r4 +/* 800364AC 0003340C 3B BE 00 34 */ addi r29, r30, 0x34 +/* 800364B0 00033410 7C 03 23 78 */ or r3, r0, r4 +/* 800364B4 00033414 38 01 00 58 */ addi r0, r1, 0x58 +/* 800364B8 00033418 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800364BC 0003341C 90 8D A1 3C */ stw r4, gpTweakGuiColors@sda21(r13) +/* 800364C0 00033420 7C 00 E8 40 */ cmplw r0, r29 +/* 800364C4 00033424 98 61 00 58 */ stb r3, 0x58(r1) +/* 800364C8 00033428 90 81 00 5C */ stw r4, 0x5c(r1) +/* 800364CC 0003342C 41 82 00 48 */ beq lbl_80036514 +/* 800364D0 00033430 88 1D 00 00 */ lbz r0, 0(r29) +/* 800364D4 00033434 28 00 00 00 */ cmplwi r0, 0 +/* 800364D8 00033438 41 82 00 24 */ beq lbl_800364FC +/* 800364DC 0003343C 80 7D 00 04 */ lwz r3, 4(r29) +/* 800364E0 00033440 28 03 00 00 */ cmplwi r3, 0 +/* 800364E4 00033444 41 82 00 18 */ beq lbl_800364FC +/* 800364E8 00033448 81 83 00 00 */ lwz r12, 0(r3) +/* 800364EC 0003344C 38 80 00 01 */ li r4, 1 +/* 800364F0 00033450 81 8C 00 08 */ lwz r12, 8(r12) +/* 800364F4 00033454 7D 89 03 A6 */ mtctr r12 +/* 800364F8 00033458 4E 80 04 21 */ bctrl +lbl_800364FC: +/* 800364FC 0003345C 88 61 00 58 */ lbz r3, 0x58(r1) +/* 80036500 00033460 38 00 00 00 */ li r0, 0 +/* 80036504 00033464 98 7D 00 00 */ stb r3, 0(r29) +/* 80036508 00033468 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 8003650C 0003346C 90 7D 00 04 */ stw r3, 4(r29) +/* 80036510 00033470 98 01 00 58 */ stb r0, 0x58(r1) +lbl_80036514: +/* 80036514 00033474 88 01 00 58 */ lbz r0, 0x58(r1) +/* 80036518 00033478 28 00 00 00 */ cmplwi r0, 0 +/* 8003651C 0003347C 41 82 00 24 */ beq lbl_80036540 +/* 80036520 00033480 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80036524 00033484 28 03 00 00 */ cmplwi r3, 0 +/* 80036528 00033488 41 82 00 18 */ beq lbl_80036540 +/* 8003652C 0003348C 81 83 00 00 */ lwz r12, 0(r3) +/* 80036530 00033490 38 80 00 01 */ li r4, 1 +/* 80036534 00033494 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036538 00033498 7D 89 03 A6 */ mtctr r12 +/* 8003653C 0003349C 4E 80 04 21 */ bctrl +lbl_80036540: +/* 80036540 000334A0 88 01 00 F8 */ lbz r0, 0xf8(r1) +/* 80036544 000334A4 28 00 00 00 */ cmplwi r0, 0 +/* 80036548 000334A8 41 82 00 24 */ beq lbl_8003656C +/* 8003654C 000334AC 80 61 00 FC */ lwz r3, 0xfc(r1) +/* 80036550 000334B0 28 03 00 00 */ cmplwi r3, 0 +/* 80036554 000334B4 41 82 00 18 */ beq lbl_8003656C +/* 80036558 000334B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003655C 000334BC 38 80 00 01 */ li r4, 1 +/* 80036560 000334C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036564 000334C4 7D 89 03 A6 */ mtctr r12 +/* 80036568 000334C8 4E 80 04 21 */ bctrl +lbl_8003656C: +/* 8003656C 000334CC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036570 000334D0 7F E3 FB 78 */ mr r3, r31 +/* 80036574 000334D4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036578 000334D8 38 84 00 5A */ addi r4, r4, 0x5a +/* 8003657C 000334DC 48 00 07 DD */ bl IDFromFactory__FR11CResFactoryPCc +/* 80036580 000334E0 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 80036584 000334E4 90 61 00 54 */ stw r3, 0x54(r1) +/* 80036588 000334E8 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 8003658C 000334EC 38 7F 00 04 */ addi r3, r31, 4 +/* 80036590 000334F0 90 01 00 50 */ stw r0, 0x50(r1) +/* 80036594 000334F4 38 81 00 50 */ addi r4, r1, 0x50 +/* 80036598 000334F8 38 A0 00 00 */ li r5, 0 +/* 8003659C 000334FC 48 30 53 CD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 800365A0 00033500 7C 03 00 D0 */ neg r0, r3 +/* 800365A4 00033504 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 800365A8 00033508 7C 00 1B 78 */ or r0, r0, r3 +/* 800365AC 0003350C 90 61 00 F4 */ stw r3, 0xf4(r1) +/* 800365B0 00033510 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800365B4 00033514 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 800365B8 00033518 98 01 00 F0 */ stb r0, 0xf0(r1) +/* 800365BC 0003351C 38 60 01 20 */ li r3, 0x120 +/* 800365C0 00033520 38 84 00 07 */ addi r4, r4, 7 +/* 800365C4 00033524 38 A0 00 00 */ li r5, 0 +/* 800365C8 00033528 48 00 08 E1 */ bl "__nw__30TOneStatic<16CTweakAutoMapper>FUlPCcPCc" +/* 800365CC 0003352C 7C 64 1B 79 */ or. r4, r3, r3 +/* 800365D0 00033530 41 82 00 10 */ beq lbl_800365E0 +/* 800365D4 00033534 80 81 00 F4 */ lwz r4, 0xf4(r1) +/* 800365D8 00033538 48 08 03 E5 */ bl __ct__16CTweakAutoMapperFR12CInputStream +/* 800365DC 0003353C 7C 64 1B 78 */ mr r4, r3 +lbl_800365E0: +/* 800365E0 00033540 7C 04 00 D0 */ neg r0, r4 +/* 800365E4 00033544 3B BE 00 4C */ addi r29, r30, 0x4c +/* 800365E8 00033548 7C 03 23 78 */ or r3, r0, r4 +/* 800365EC 0003354C 38 01 00 48 */ addi r0, r1, 0x48 +/* 800365F0 00033550 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800365F4 00033554 90 8D A1 44 */ stw r4, gpTweakAutoMapper@sda21(r13) +/* 800365F8 00033558 7C 00 E8 40 */ cmplw r0, r29 +/* 800365FC 0003355C 98 61 00 48 */ stb r3, 0x48(r1) +/* 80036600 00033560 90 81 00 4C */ stw r4, 0x4c(r1) +/* 80036604 00033564 41 82 00 48 */ beq lbl_8003664C +/* 80036608 00033568 88 1D 00 00 */ lbz r0, 0(r29) +/* 8003660C 0003356C 28 00 00 00 */ cmplwi r0, 0 +/* 80036610 00033570 41 82 00 24 */ beq lbl_80036634 +/* 80036614 00033574 80 7D 00 04 */ lwz r3, 4(r29) +/* 80036618 00033578 28 03 00 00 */ cmplwi r3, 0 +/* 8003661C 0003357C 41 82 00 18 */ beq lbl_80036634 +/* 80036620 00033580 81 83 00 00 */ lwz r12, 0(r3) +/* 80036624 00033584 38 80 00 01 */ li r4, 1 +/* 80036628 00033588 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003662C 0003358C 7D 89 03 A6 */ mtctr r12 +/* 80036630 00033590 4E 80 04 21 */ bctrl +lbl_80036634: +/* 80036634 00033594 88 61 00 48 */ lbz r3, 0x48(r1) +/* 80036638 00033598 38 00 00 00 */ li r0, 0 +/* 8003663C 0003359C 98 7D 00 00 */ stb r3, 0(r29) +/* 80036640 000335A0 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 80036644 000335A4 90 7D 00 04 */ stw r3, 4(r29) +/* 80036648 000335A8 98 01 00 48 */ stb r0, 0x48(r1) +lbl_8003664C: +/* 8003664C 000335AC 88 01 00 48 */ lbz r0, 0x48(r1) +/* 80036650 000335B0 28 00 00 00 */ cmplwi r0, 0 +/* 80036654 000335B4 41 82 00 24 */ beq lbl_80036678 +/* 80036658 000335B8 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8003665C 000335BC 28 03 00 00 */ cmplwi r3, 0 +/* 80036660 000335C0 41 82 00 18 */ beq lbl_80036678 +/* 80036664 000335C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80036668 000335C8 38 80 00 01 */ li r4, 1 +/* 8003666C 000335CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036670 000335D0 7D 89 03 A6 */ mtctr r12 +/* 80036674 000335D4 4E 80 04 21 */ bctrl +lbl_80036678: +/* 80036678 000335D8 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 8003667C 000335DC 48 0B 2D ED */ bl ReadAutomapperTweaks__15CMappableObjectFRC16CTweakAutoMapper +/* 80036680 000335E0 88 01 00 F0 */ lbz r0, 0xf0(r1) +/* 80036684 000335E4 28 00 00 00 */ cmplwi r0, 0 +/* 80036688 000335E8 41 82 00 24 */ beq lbl_800366AC +/* 8003668C 000335EC 80 61 00 F4 */ lwz r3, 0xf4(r1) +/* 80036690 000335F0 28 03 00 00 */ cmplwi r3, 0 +/* 80036694 000335F4 41 82 00 18 */ beq lbl_800366AC +/* 80036698 000335F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003669C 000335FC 38 80 00 01 */ li r4, 1 +/* 800366A0 00033600 81 8C 00 08 */ lwz r12, 8(r12) +/* 800366A4 00033604 7D 89 03 A6 */ mtctr r12 +/* 800366A8 00033608 4E 80 04 21 */ bctrl +lbl_800366AC: +/* 800366AC 0003360C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 800366B0 00033610 7F E3 FB 78 */ mr r3, r31 +/* 800366B4 00033614 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 800366B8 00033618 38 84 00 65 */ addi r4, r4, 0x65 +/* 800366BC 0003361C 48 00 06 9D */ bl IDFromFactory__FR11CResFactoryPCc +/* 800366C0 00033620 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 800366C4 00033624 90 61 00 44 */ stw r3, 0x44(r1) +/* 800366C8 00033628 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 800366CC 0003362C 38 7F 00 04 */ addi r3, r31, 4 +/* 800366D0 00033630 90 01 00 40 */ stw r0, 0x40(r1) +/* 800366D4 00033634 38 81 00 40 */ addi r4, r1, 0x40 +/* 800366D8 00033638 38 A0 00 00 */ li r5, 0 +/* 800366DC 0003363C 48 30 52 8D */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 800366E0 00033640 7C 03 00 D0 */ neg r0, r3 +/* 800366E4 00033644 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 800366E8 00033648 7C 00 1B 78 */ or r0, r0, r3 +/* 800366EC 0003364C 90 61 00 EC */ stw r3, 0xec(r1) +/* 800366F0 00033650 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800366F4 00033654 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 800366F8 00033658 98 01 00 E8 */ stb r0, 0xe8(r1) +/* 800366FC 0003365C 38 60 03 68 */ li r3, 0x368 +/* 80036700 00033660 38 84 00 07 */ addi r4, r4, 7 +/* 80036704 00033664 38 A0 00 00 */ li r5, 0 +/* 80036708 00033668 48 00 08 C1 */ bl "__nw__22TOneStatic<9CTweakGui>FUlPCcPCc" +/* 8003670C 0003366C 7C 64 1B 79 */ or. r4, r3, r3 +/* 80036710 00033670 41 82 00 10 */ beq lbl_80036720 +/* 80036714 00033674 80 81 00 EC */ lwz r4, 0xec(r1) +/* 80036718 00033678 48 03 DC 49 */ bl __ct__9CTweakGuiFR12CInputStream +/* 8003671C 0003367C 7C 64 1B 78 */ mr r4, r3 +lbl_80036720: +/* 80036720 00033680 7C 04 00 D0 */ neg r0, r4 +/* 80036724 00033684 3B BE 00 2C */ addi r29, r30, 0x2c +/* 80036728 00033688 7C 03 23 78 */ or r3, r0, r4 +/* 8003672C 0003368C 38 01 00 38 */ addi r0, r1, 0x38 +/* 80036730 00033690 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80036734 00033694 90 8D A1 38 */ stw r4, gpTweakGui@sda21(r13) +/* 80036738 00033698 7C 00 E8 40 */ cmplw r0, r29 +/* 8003673C 0003369C 98 61 00 38 */ stb r3, 0x38(r1) +/* 80036740 000336A0 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80036744 000336A4 41 82 00 48 */ beq lbl_8003678C +/* 80036748 000336A8 88 1D 00 00 */ lbz r0, 0(r29) +/* 8003674C 000336AC 28 00 00 00 */ cmplwi r0, 0 +/* 80036750 000336B0 41 82 00 24 */ beq lbl_80036774 +/* 80036754 000336B4 80 7D 00 04 */ lwz r3, 4(r29) +/* 80036758 000336B8 28 03 00 00 */ cmplwi r3, 0 +/* 8003675C 000336BC 41 82 00 18 */ beq lbl_80036774 +/* 80036760 000336C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80036764 000336C4 38 80 00 01 */ li r4, 1 +/* 80036768 000336C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003676C 000336CC 7D 89 03 A6 */ mtctr r12 +/* 80036770 000336D0 4E 80 04 21 */ bctrl +lbl_80036774: +/* 80036774 000336D4 88 61 00 38 */ lbz r3, 0x38(r1) +/* 80036778 000336D8 38 00 00 00 */ li r0, 0 +/* 8003677C 000336DC 98 7D 00 00 */ stb r3, 0(r29) +/* 80036780 000336E0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80036784 000336E4 90 7D 00 04 */ stw r3, 4(r29) +/* 80036788 000336E8 98 01 00 38 */ stb r0, 0x38(r1) +lbl_8003678C: +/* 8003678C 000336EC 88 01 00 38 */ lbz r0, 0x38(r1) +/* 80036790 000336F0 28 00 00 00 */ cmplwi r0, 0 +/* 80036794 000336F4 41 82 00 24 */ beq lbl_800367B8 +/* 80036798 000336F8 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8003679C 000336FC 28 03 00 00 */ cmplwi r3, 0 +/* 800367A0 00033700 41 82 00 18 */ beq lbl_800367B8 +/* 800367A4 00033704 81 83 00 00 */ lwz r12, 0(r3) +/* 800367A8 00033708 38 80 00 01 */ li r4, 1 +/* 800367AC 0003370C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800367B0 00033710 7D 89 03 A6 */ mtctr r12 +/* 800367B4 00033714 4E 80 04 21 */ bctrl +lbl_800367B8: +/* 800367B8 00033718 88 01 00 E8 */ lbz r0, 0xe8(r1) +/* 800367BC 0003371C 28 00 00 00 */ cmplwi r0, 0 +/* 800367C0 00033720 41 82 00 24 */ beq lbl_800367E4 +/* 800367C4 00033724 80 61 00 EC */ lwz r3, 0xec(r1) +/* 800367C8 00033728 28 03 00 00 */ cmplwi r3, 0 +/* 800367CC 0003372C 41 82 00 18 */ beq lbl_800367E4 +/* 800367D0 00033730 81 83 00 00 */ lwz r12, 0(r3) +/* 800367D4 00033734 38 80 00 01 */ li r4, 1 +/* 800367D8 00033738 81 8C 00 08 */ lwz r12, 8(r12) +/* 800367DC 0003373C 7D 89 03 A6 */ mtctr r12 +/* 800367E0 00033740 4E 80 04 21 */ bctrl +lbl_800367E4: +/* 800367E4 00033744 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 800367E8 00033748 7F E3 FB 78 */ mr r3, r31 +/* 800367EC 0003374C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 800367F0 00033750 38 84 00 69 */ addi r4, r4, 0x69 +/* 800367F4 00033754 48 00 05 65 */ bl IDFromFactory__FR11CResFactoryPCc +/* 800367F8 00033758 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 800367FC 0003375C 90 61 00 34 */ stw r3, 0x34(r1) +/* 80036800 00033760 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 80036804 00033764 38 7F 00 04 */ addi r3, r31, 4 +/* 80036808 00033768 90 01 00 30 */ stw r0, 0x30(r1) +/* 8003680C 0003376C 38 81 00 30 */ addi r4, r1, 0x30 +/* 80036810 00033770 38 A0 00 00 */ li r5, 0 +/* 80036814 00033774 48 30 51 55 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80036818 00033778 7C 03 00 D0 */ neg r0, r3 +/* 8003681C 0003377C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036820 00033780 7C 00 1B 78 */ or r0, r0, r3 +/* 80036824 00033784 90 61 00 E4 */ stw r3, 0xe4(r1) +/* 80036828 00033788 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8003682C 0003378C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036830 00033790 98 01 00 E0 */ stb r0, 0xe0(r1) +/* 80036834 00033794 38 60 01 14 */ li r3, 0x114 +/* 80036838 00033798 38 84 00 07 */ addi r4, r4, 7 +/* 8003683C 0003379C 38 A0 00 00 */ li r5, 0 +/* 80036840 000337A0 48 2D F0 2D */ bl __nw__FUlPCcPCc +/* 80036844 000337A4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80036848 000337A8 41 82 00 10 */ beq lbl_80036858 +/* 8003684C 000337AC 80 81 00 E4 */ lwz r4, 0xe4(r1) +/* 80036850 000337B0 48 03 91 2D */ bl __ct__19CTweakPlayerControlFR12CInputStream +/* 80036854 000337B4 7C 64 1B 78 */ mr r4, r3 +lbl_80036858: +/* 80036858 000337B8 7C 04 00 D0 */ neg r0, r4 +/* 8003685C 000337BC 3B BE 00 1C */ addi r29, r30, 0x1c +/* 80036860 000337C0 7C 03 23 78 */ or r3, r0, r4 +/* 80036864 000337C4 38 01 00 28 */ addi r0, r1, 0x28 +/* 80036868 000337C8 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8003686C 000337CC 90 8D A1 28 */ stw r4, gpTweakPlayerControlCurrent@sda21(r13) +/* 80036870 000337D0 7C 00 E8 40 */ cmplw r0, r29 +/* 80036874 000337D4 98 61 00 28 */ stb r3, 0x28(r1) +/* 80036878 000337D8 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8003687C 000337DC 41 82 00 48 */ beq lbl_800368C4 +/* 80036880 000337E0 88 1D 00 00 */ lbz r0, 0(r29) +/* 80036884 000337E4 28 00 00 00 */ cmplwi r0, 0 +/* 80036888 000337E8 41 82 00 24 */ beq lbl_800368AC +/* 8003688C 000337EC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80036890 000337F0 28 03 00 00 */ cmplwi r3, 0 +/* 80036894 000337F4 41 82 00 18 */ beq lbl_800368AC +/* 80036898 000337F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8003689C 000337FC 38 80 00 01 */ li r4, 1 +/* 800368A0 00033800 81 8C 00 08 */ lwz r12, 8(r12) +/* 800368A4 00033804 7D 89 03 A6 */ mtctr r12 +/* 800368A8 00033808 4E 80 04 21 */ bctrl +lbl_800368AC: +/* 800368AC 0003380C 88 61 00 28 */ lbz r3, 0x28(r1) +/* 800368B0 00033810 38 00 00 00 */ li r0, 0 +/* 800368B4 00033814 98 7D 00 00 */ stb r3, 0(r29) +/* 800368B8 00033818 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800368BC 0003381C 90 7D 00 04 */ stw r3, 4(r29) +/* 800368C0 00033820 98 01 00 28 */ stb r0, 0x28(r1) +lbl_800368C4: +/* 800368C4 00033824 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800368C8 00033828 28 00 00 00 */ cmplwi r0, 0 +/* 800368CC 0003382C 41 82 00 24 */ beq lbl_800368F0 +/* 800368D0 00033830 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800368D4 00033834 28 03 00 00 */ cmplwi r3, 0 +/* 800368D8 00033838 41 82 00 18 */ beq lbl_800368F0 +/* 800368DC 0003383C 81 83 00 00 */ lwz r12, 0(r3) +/* 800368E0 00033840 38 80 00 01 */ li r4, 1 +/* 800368E4 00033844 81 8C 00 08 */ lwz r12, 8(r12) +/* 800368E8 00033848 7D 89 03 A6 */ mtctr r12 +/* 800368EC 0003384C 4E 80 04 21 */ bctrl +lbl_800368F0: +/* 800368F0 00033850 88 01 00 E0 */ lbz r0, 0xe0(r1) +/* 800368F4 00033854 80 6D A1 28 */ lwz r3, gpTweakPlayerControlCurrent@sda21(r13) +/* 800368F8 00033858 28 00 00 00 */ cmplwi r0, 0 +/* 800368FC 0003385C 90 6D A1 2C */ stw r3, gpTweakPlayerControl1@sda21(r13) +/* 80036900 00033860 41 82 00 24 */ beq lbl_80036924 +/* 80036904 00033864 80 61 00 E4 */ lwz r3, 0xe4(r1) +/* 80036908 00033868 28 03 00 00 */ cmplwi r3, 0 +/* 8003690C 0003386C 41 82 00 18 */ beq lbl_80036924 +/* 80036910 00033870 81 83 00 00 */ lwz r12, 0(r3) +/* 80036914 00033874 38 80 00 01 */ li r4, 1 +/* 80036918 00033878 81 8C 00 08 */ lwz r12, 8(r12) +/* 8003691C 0003387C 7D 89 03 A6 */ mtctr r12 +/* 80036920 00033880 4E 80 04 21 */ bctrl +lbl_80036924: +/* 80036924 00033884 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036928 00033888 7F E3 FB 78 */ mr r3, r31 +/* 8003692C 0003388C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036930 00033890 38 84 00 78 */ addi r4, r4, 0x78 +/* 80036934 00033894 48 00 04 25 */ bl IDFromFactory__FR11CResFactoryPCc +/* 80036938 00033898 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 8003693C 0003389C 90 61 00 24 */ stw r3, 0x24(r1) +/* 80036940 000338A0 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 80036944 000338A4 38 7F 00 04 */ addi r3, r31, 4 +/* 80036948 000338A8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8003694C 000338AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80036950 000338B0 38 A0 00 00 */ li r5, 0 +/* 80036954 000338B4 48 30 50 15 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80036958 000338B8 7C 03 00 D0 */ neg r0, r3 +/* 8003695C 000338BC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036960 000338C0 7C 00 1B 78 */ or r0, r0, r3 +/* 80036964 000338C4 90 61 00 DC */ stw r3, 0xdc(r1) +/* 80036968 000338C8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8003696C 000338CC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036970 000338D0 98 01 00 D8 */ stb r0, 0xd8(r1) +/* 80036974 000338D4 38 60 01 14 */ li r3, 0x114 +/* 80036978 000338D8 38 84 00 07 */ addi r4, r4, 7 +/* 8003697C 000338DC 38 A0 00 00 */ li r5, 0 +/* 80036980 000338E0 48 2D EE ED */ bl __nw__FUlPCcPCc +/* 80036984 000338E4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80036988 000338E8 41 82 00 10 */ beq lbl_80036998 +/* 8003698C 000338EC 80 81 00 DC */ lwz r4, 0xdc(r1) +/* 80036990 000338F0 48 03 8F ED */ bl __ct__19CTweakPlayerControlFR12CInputStream +/* 80036994 000338F4 7C 64 1B 78 */ mr r4, r3 +lbl_80036998: +/* 80036998 000338F8 7C 04 00 D0 */ neg r0, r4 +/* 8003699C 000338FC 3B BE 00 6C */ addi r29, r30, 0x6c +/* 800369A0 00033900 7C 03 23 78 */ or r3, r0, r4 +/* 800369A4 00033904 38 01 00 18 */ addi r0, r1, 0x18 +/* 800369A8 00033908 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800369AC 0003390C 90 8D A1 30 */ stw r4, gpTweakPlayerControl2@sda21(r13) +/* 800369B0 00033910 7C 00 E8 40 */ cmplw r0, r29 +/* 800369B4 00033914 98 61 00 18 */ stb r3, 0x18(r1) +/* 800369B8 00033918 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800369BC 0003391C 41 82 00 48 */ beq lbl_80036A04 +/* 800369C0 00033920 88 1D 00 00 */ lbz r0, 0(r29) +/* 800369C4 00033924 28 00 00 00 */ cmplwi r0, 0 +/* 800369C8 00033928 41 82 00 24 */ beq lbl_800369EC +/* 800369CC 0003392C 80 7D 00 04 */ lwz r3, 4(r29) +/* 800369D0 00033930 28 03 00 00 */ cmplwi r3, 0 +/* 800369D4 00033934 41 82 00 18 */ beq lbl_800369EC +/* 800369D8 00033938 81 83 00 00 */ lwz r12, 0(r3) +/* 800369DC 0003393C 38 80 00 01 */ li r4, 1 +/* 800369E0 00033940 81 8C 00 08 */ lwz r12, 8(r12) +/* 800369E4 00033944 7D 89 03 A6 */ mtctr r12 +/* 800369E8 00033948 4E 80 04 21 */ bctrl +lbl_800369EC: +/* 800369EC 0003394C 88 61 00 18 */ lbz r3, 0x18(r1) +/* 800369F0 00033950 38 00 00 00 */ li r0, 0 +/* 800369F4 00033954 98 7D 00 00 */ stb r3, 0(r29) +/* 800369F8 00033958 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 800369FC 0003395C 90 7D 00 04 */ stw r3, 4(r29) +/* 80036A00 00033960 98 01 00 18 */ stb r0, 0x18(r1) +lbl_80036A04: +/* 80036A04 00033964 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80036A08 00033968 28 00 00 00 */ cmplwi r0, 0 +/* 80036A0C 0003396C 41 82 00 24 */ beq lbl_80036A30 +/* 80036A10 00033970 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80036A14 00033974 28 03 00 00 */ cmplwi r3, 0 +/* 80036A18 00033978 41 82 00 18 */ beq lbl_80036A30 +/* 80036A1C 0003397C 81 83 00 00 */ lwz r12, 0(r3) +/* 80036A20 00033980 38 80 00 01 */ li r4, 1 +/* 80036A24 00033984 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036A28 00033988 7D 89 03 A6 */ mtctr r12 +/* 80036A2C 0003398C 4E 80 04 21 */ bctrl +lbl_80036A30: +/* 80036A30 00033990 88 01 00 D8 */ lbz r0, 0xd8(r1) +/* 80036A34 00033994 28 00 00 00 */ cmplwi r0, 0 +/* 80036A38 00033998 41 82 00 24 */ beq lbl_80036A5C +/* 80036A3C 0003399C 80 61 00 DC */ lwz r3, 0xdc(r1) +/* 80036A40 000339A0 28 03 00 00 */ cmplwi r3, 0 +/* 80036A44 000339A4 41 82 00 18 */ beq lbl_80036A5C +/* 80036A48 000339A8 81 83 00 00 */ lwz r12, 0(r3) +/* 80036A4C 000339AC 38 80 00 01 */ li r4, 1 +/* 80036A50 000339B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036A54 000339B4 7D 89 03 A6 */ mtctr r12 +/* 80036A58 000339B8 4E 80 04 21 */ bctrl +lbl_80036A5C: +/* 80036A5C 000339BC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036A60 000339C0 7F E3 FB 78 */ mr r3, r31 +/* 80036A64 000339C4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036A68 000339C8 38 84 00 88 */ addi r4, r4, 0x88 +/* 80036A6C 000339CC 48 00 02 ED */ bl IDFromFactory__FR11CResFactoryPCc +/* 80036A70 000339D0 3C 80 43 54 */ lis r4, 0x4354574B@ha +/* 80036A74 000339D4 90 61 00 14 */ stw r3, 0x14(r1) +/* 80036A78 000339D8 38 04 57 4B */ addi r0, r4, 0x4354574B@l +/* 80036A7C 000339DC 38 7F 00 04 */ addi r3, r31, 4 +/* 80036A80 000339E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80036A84 000339E4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80036A88 000339E8 38 A0 00 00 */ li r5, 0 +/* 80036A8C 000339EC 48 30 4E DD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 80036A90 000339F0 7C 03 00 D0 */ neg r0, r3 +/* 80036A94 000339F4 3C 80 80 3D */ lis r4, lbl_803CCD88@ha +/* 80036A98 000339F8 7C 00 1B 78 */ or r0, r0, r3 +/* 80036A9C 000339FC 90 61 00 D4 */ stw r3, 0xd4(r1) +/* 80036AA0 00033A00 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80036AA4 00033A04 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l +/* 80036AA8 00033A08 98 01 00 D0 */ stb r0, 0xd0(r1) +/* 80036AAC 00033A0C 38 60 00 5C */ li r3, 0x5c +/* 80036AB0 00033A10 38 84 00 07 */ addi r4, r4, 7 +/* 80036AB4 00033A14 38 A0 00 00 */ li r5, 0 +/* 80036AB8 00033A18 48 00 02 D1 */ bl "__nw__29TOneStatic<15CTweakSlideShow>FUlPCcPCc" +/* 80036ABC 00033A1C 7C 64 1B 79 */ or. r4, r3, r3 +/* 80036AC0 00033A20 41 82 00 10 */ beq lbl_80036AD0 +/* 80036AC4 00033A24 80 81 00 D4 */ lwz r4, 0xd4(r1) +/* 80036AC8 00033A28 48 26 5B 31 */ bl __ct__15CTweakSlideShowFR12CInputStream +/* 80036ACC 00033A2C 7C 64 1B 78 */ mr r4, r3 +lbl_80036AD0: +/* 80036AD0 00033A30 7C 04 00 D0 */ neg r0, r4 +/* 80036AD4 00033A34 3B BE 00 64 */ addi r29, r30, 0x64 +/* 80036AD8 00033A38 7C 03 23 78 */ or r3, r0, r4 +/* 80036ADC 00033A3C 38 01 00 08 */ addi r0, r1, 8 +/* 80036AE0 00033A40 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80036AE4 00033A44 90 8D A1 50 */ stw r4, gpTweakSlideShow@sda21(r13) +/* 80036AE8 00033A48 7C 00 E8 40 */ cmplw r0, r29 +/* 80036AEC 00033A4C 98 61 00 08 */ stb r3, 8(r1) +/* 80036AF0 00033A50 90 81 00 0C */ stw r4, 0xc(r1) +/* 80036AF4 00033A54 41 82 00 48 */ beq lbl_80036B3C +/* 80036AF8 00033A58 88 1D 00 00 */ lbz r0, 0(r29) +/* 80036AFC 00033A5C 28 00 00 00 */ cmplwi r0, 0 +/* 80036B00 00033A60 41 82 00 24 */ beq lbl_80036B24 +/* 80036B04 00033A64 80 7D 00 04 */ lwz r3, 4(r29) +/* 80036B08 00033A68 28 03 00 00 */ cmplwi r3, 0 +/* 80036B0C 00033A6C 41 82 00 18 */ beq lbl_80036B24 +/* 80036B10 00033A70 81 83 00 00 */ lwz r12, 0(r3) +/* 80036B14 00033A74 38 80 00 01 */ li r4, 1 +/* 80036B18 00033A78 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036B1C 00033A7C 7D 89 03 A6 */ mtctr r12 +/* 80036B20 00033A80 4E 80 04 21 */ bctrl +lbl_80036B24: +/* 80036B24 00033A84 88 61 00 08 */ lbz r3, 8(r1) +/* 80036B28 00033A88 38 00 00 00 */ li r0, 0 +/* 80036B2C 00033A8C 98 7D 00 00 */ stb r3, 0(r29) +/* 80036B30 00033A90 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80036B34 00033A94 90 7D 00 04 */ stw r3, 4(r29) +/* 80036B38 00033A98 98 01 00 08 */ stb r0, 8(r1) +lbl_80036B3C: +/* 80036B3C 00033A9C 88 01 00 08 */ lbz r0, 8(r1) +/* 80036B40 00033AA0 28 00 00 00 */ cmplwi r0, 0 +/* 80036B44 00033AA4 41 82 00 24 */ beq lbl_80036B68 +/* 80036B48 00033AA8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80036B4C 00033AAC 28 03 00 00 */ cmplwi r3, 0 +/* 80036B50 00033AB0 41 82 00 18 */ beq lbl_80036B68 +/* 80036B54 00033AB4 81 83 00 00 */ lwz r12, 0(r3) +/* 80036B58 00033AB8 38 80 00 01 */ li r4, 1 +/* 80036B5C 00033ABC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036B60 00033AC0 7D 89 03 A6 */ mtctr r12 +/* 80036B64 00033AC4 4E 80 04 21 */ bctrl +lbl_80036B68: +/* 80036B68 00033AC8 88 01 00 D0 */ lbz r0, 0xd0(r1) +/* 80036B6C 00033ACC 28 00 00 00 */ cmplwi r0, 0 +/* 80036B70 00033AD0 41 82 00 24 */ beq lbl_80036B94 +/* 80036B74 00033AD4 80 61 00 D4 */ lwz r3, 0xd4(r1) +/* 80036B78 00033AD8 28 03 00 00 */ cmplwi r3, 0 +/* 80036B7C 00033ADC 41 82 00 18 */ beq lbl_80036B94 +/* 80036B80 00033AE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80036B84 00033AE4 38 80 00 01 */ li r4, 1 +/* 80036B88 00033AE8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036B8C 00033AEC 7D 89 03 A6 */ mtctr r12 +/* 80036B90 00033AF0 4E 80 04 21 */ bctrl +lbl_80036B94: +/* 80036B94 00033AF4 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80036B98 00033AF8 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 80036B9C 00033AFC 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 80036BA0 00033B00 83 A1 01 44 */ lwz r29, 0x144(r1) +/* 80036BA4 00033B04 7C 08 03 A6 */ mtlr r0 +/* 80036BA8 00033B08 38 21 01 50 */ addi r1, r1, 0x150 +/* 80036BAC 00033B0C 4E 80 00 20 */ blr + +.global sub_80036bb0 +sub_80036bb0: +/* 80036BB0 00033B10 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80036BB4 00033B14 7C 08 02 A6 */ mflr r0 +/* 80036BB8 00033B18 90 01 00 24 */ stw r0, 0x24(r1) +/* 80036BBC 00033B1C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80036BC0 00033B20 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80036BC4 00033B24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80036BC8 00033B28 7C 9D 23 78 */ mr r29, r4 +/* 80036BCC 00033B2C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80036BD0 00033B30 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80036BD4 00033B34 41 82 00 A8 */ beq lbl_80036C7C +/* 80036BD8 00033B38 3B E0 00 00 */ li r31, 0 +/* 80036BDC 00033B3C 93 ED A1 18 */ stw r31, gpTweakPlayer@sda21(r13) +/* 80036BE0 00033B40 93 ED A1 1C */ stw r31, gpTweakBall@sda21(r13) +/* 80036BE4 00033B44 93 ED A1 20 */ stw r31, gpTweakGame@sda21(r13) +/* 80036BE8 00033B48 93 ED A1 24 */ stw r31, gpTweakParticle@sda21(r13) +/* 80036BEC 00033B4C 93 ED A1 28 */ stw r31, gpTweakPlayerControlCurrent@sda21(r13) +/* 80036BF0 00033B50 93 ED A1 34 */ stw r31, gpTweakPlayerGun@sda21(r13) +/* 80036BF4 00033B54 93 ED A1 38 */ stw r31, gpTweakGui@sda21(r13) +/* 80036BF8 00033B58 93 ED A1 3C */ stw r31, gpTweakGuiColors@sda21(r13) +/* 80036BFC 00033B5C 93 ED A1 40 */ stw r31, gpTweakTargeting@sda21(r13) +/* 80036C00 00033B60 93 ED A1 44 */ stw r31, gpTweakAutoMapper@sda21(r13) +/* 80036C04 00033B64 93 ED A1 48 */ stw r31, gpTweakGunRes@sda21(r13) +/* 80036C08 00033B68 93 ED A1 4C */ stw r31, gpTweakPlayerRes@sda21(r13) +/* 80036C0C 00033B6C 93 ED A1 50 */ stw r31, gpTweakSlideShow@sda21(r13) +/* 80036C10 00033B70 41 82 00 5C */ beq lbl_80036C6C +/* 80036C14 00033B74 3B DC 00 04 */ addi r30, r28, 4 +/* 80036C18 00033B78 48 00 00 40 */ b lbl_80036C58 +lbl_80036C1C: +/* 80036C1C 00033B7C 28 1E 00 00 */ cmplwi r30, 0 +/* 80036C20 00033B80 41 82 00 30 */ beq lbl_80036C50 +/* 80036C24 00033B84 88 1E 00 00 */ lbz r0, 0(r30) +/* 80036C28 00033B88 28 00 00 00 */ cmplwi r0, 0 +/* 80036C2C 00033B8C 41 82 00 24 */ beq lbl_80036C50 +/* 80036C30 00033B90 80 7E 00 04 */ lwz r3, 4(r30) +/* 80036C34 00033B94 28 03 00 00 */ cmplwi r3, 0 +/* 80036C38 00033B98 41 82 00 18 */ beq lbl_80036C50 +/* 80036C3C 00033B9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80036C40 00033BA0 38 80 00 01 */ li r4, 1 +/* 80036C44 00033BA4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036C48 00033BA8 7D 89 03 A6 */ mtctr r12 +/* 80036C4C 00033BAC 4E 80 04 21 */ bctrl +lbl_80036C50: +/* 80036C50 00033BB0 3B DE 00 08 */ addi r30, r30, 8 +/* 80036C54 00033BB4 3B FF 00 01 */ addi r31, r31, 1 +lbl_80036C58: +/* 80036C58 00033BB8 80 1C 00 00 */ lwz r0, 0(r28) +/* 80036C5C 00033BBC 7C 1F 00 00 */ cmpw r31, r0 +/* 80036C60 00033BC0 41 80 FF BC */ blt lbl_80036C1C +/* 80036C64 00033BC4 38 00 00 00 */ li r0, 0 +/* 80036C68 00033BC8 90 1C 00 00 */ stw r0, 0(r28) +lbl_80036C6C: +/* 80036C6C 00033BCC 7F A0 07 35 */ extsh. r0, r29 +/* 80036C70 00033BD0 40 81 00 0C */ ble lbl_80036C7C +/* 80036C74 00033BD4 7F 83 E3 78 */ mr r3, r28 +/* 80036C78 00033BD8 48 2D EC B9 */ bl Free__7CMemoryFPCv +lbl_80036C7C: +/* 80036C7C 00033BDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80036C80 00033BE0 7F 83 E3 78 */ mr r3, r28 +/* 80036C84 00033BE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80036C88 00033BE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80036C8C 00033BEC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80036C90 00033BF0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80036C94 00033BF4 7C 08 03 A6 */ mtlr r0 +/* 80036C98 00033BF8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80036C9C 00033BFC 4E 80 00 20 */ blr + +.global __ct__7CTweaksFv +__ct__7CTweaksFv: +/* 80036CA0 00033C00 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80036CA4 00033C04 7C 08 02 A6 */ mflr r0 +/* 80036CA8 00033C08 38 80 00 00 */ li r4, 0 +/* 80036CAC 00033C0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80036CB0 00033C10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80036CB4 00033C14 7C 7F 1B 78 */ mr r31, r3 +/* 80036CB8 00033C18 90 83 00 00 */ stw r4, 0(r3) +/* 80036CBC 00033C1C 80 63 00 00 */ lwz r3, 0(r3) +/* 80036CC0 00033C20 98 81 00 08 */ stb r4, 8(r1) +/* 80036CC4 00033C24 2C 03 00 0E */ cmpwi r3, 0xe +/* 80036CC8 00033C28 90 81 00 0C */ stw r4, 0xc(r1) +/* 80036CCC 00033C2C 40 80 00 48 */ bge lbl_80036D14 +/* 80036CD0 00033C30 54 60 18 38 */ slwi r0, r3, 3 +/* 80036CD4 00033C34 20 A3 00 0E */ subfic r5, r3, 0xe +/* 80036CD8 00033C38 7C 7F 02 14 */ add r3, r31, r0 +/* 80036CDC 00033C3C 7C A9 03 A6 */ mtctr r5 +/* 80036CE0 00033C40 2C 05 00 00 */ cmpwi r5, 0 +/* 80036CE4 00033C44 38 63 00 04 */ addi r3, r3, 4 +/* 80036CE8 00033C48 40 81 00 24 */ ble lbl_80036D0C +lbl_80036CEC: +/* 80036CEC 00033C4C 28 03 00 00 */ cmplwi r3, 0 +/* 80036CF0 00033C50 41 82 00 14 */ beq lbl_80036D04 +/* 80036CF4 00033C54 88 01 00 08 */ lbz r0, 8(r1) +/* 80036CF8 00033C58 98 03 00 00 */ stb r0, 0(r3) +/* 80036CFC 00033C5C 90 83 00 04 */ stw r4, 4(r3) +/* 80036D00 00033C60 98 81 00 08 */ stb r4, 8(r1) +lbl_80036D04: +/* 80036D04 00033C64 38 63 00 08 */ addi r3, r3, 8 +/* 80036D08 00033C68 42 00 FF E4 */ bdnz lbl_80036CEC +lbl_80036D0C: +/* 80036D0C 00033C6C 38 00 00 0E */ li r0, 0xe +/* 80036D10 00033C70 90 1F 00 00 */ stw r0, 0(r31) +lbl_80036D14: +/* 80036D14 00033C74 88 01 00 08 */ lbz r0, 8(r1) +/* 80036D18 00033C78 28 00 00 00 */ cmplwi r0, 0 +/* 80036D1C 00033C7C 41 82 00 24 */ beq lbl_80036D40 +/* 80036D20 00033C80 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80036D24 00033C84 28 03 00 00 */ cmplwi r3, 0 +/* 80036D28 00033C88 41 82 00 18 */ beq lbl_80036D40 +/* 80036D2C 00033C8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80036D30 00033C90 38 80 00 01 */ li r4, 1 +/* 80036D34 00033C94 81 8C 00 08 */ lwz r12, 8(r12) +/* 80036D38 00033C98 7D 89 03 A6 */ mtctr r12 +/* 80036D3C 00033C9C 4E 80 04 21 */ bctrl +lbl_80036D40: +/* 80036D40 00033CA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80036D44 00033CA4 7F E3 FB 78 */ mr r3, r31 +/* 80036D48 00033CA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80036D4C 00033CAC 7C 08 03 A6 */ mtlr r0 +/* 80036D50 00033CB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80036D54 00033CB4 4E 80 00 20 */ blr + +.global IDFromFactory__FR11CResFactoryPCc +IDFromFactory__FR11CResFactoryPCc: +/* 80036D58 00033CB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80036D5C 00033CBC 7C 08 02 A6 */ mflr r0 +/* 80036D60 00033CC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80036D64 00033CC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80036D68 00033CC8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80036D6C 00033CCC 7D 89 03 A6 */ mtctr r12 +/* 80036D70 00033CD0 4E 80 04 21 */ bctrl +/* 80036D74 00033CD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80036D78 00033CD8 80 63 00 04 */ lwz r3, 4(r3) +/* 80036D7C 00033CDC 7C 08 03 A6 */ mtlr r0 +/* 80036D80 00033CE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80036D84 00033CE4 4E 80 00 20 */ blr + +.global "__nw__29TOneStatic<15CTweakSlideShow>FUlPCcPCc" +"__nw__29TOneStatic<15CTweakSlideShow>FUlPCcPCc": +/* 80036D88 00033CE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80036D8C 00033CEC 7C 08 02 A6 */ mflr r0 +/* 80036D90 00033CF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80036D94 00033CF4 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv" +/* 80036D98 00033CF8 80 83 00 00 */ lwz r4, 0(r3) +/* 80036D9C 00033CFC 38 04 00 01 */ addi r0, r4, 1 +/* 80036DA0 00033D00 90 03 00 00 */ stw r0, 0(r3) +/* 80036DA4 00033D04 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakSlideShow>FUlPCcPCc" +/* 80036DA8 00033D08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80036DAC 00033D0C 7C 08 03 A6 */ mtlr r0 +/* 80036DB0 00033D10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80036DB4 00033D14 4E 80 00 20 */ blr + +.global "GetAllocSpace__29TOneStatic<15CTweakSlideShow>FUlPCcPCc" +"GetAllocSpace__29TOneStatic<15CTweakSlideShow>FUlPCcPCc": +/* 80036DB8 00033D18 3C 60 80 46 */ lis r3, lbl_8045B180@ha +/* 80036DBC 00033D1C 38 63 B1 80 */ addi r3, r3, lbl_8045B180@l +/* 80036DC0 00033D20 4E 80 00 20 */ blr + +.global "ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv" +"ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv": +/* 80036DC4 00033D24 88 0D A1 58 */ lbz r0, lbl_805A8D18@sda21(r13) +/* 80036DC8 00033D28 7C 00 07 75 */ extsb. r0, r0 +/* 80036DCC 00033D2C 40 82 00 14 */ bne lbl_80036DE0 +/* 80036DD0 00033D30 38 60 00 00 */ li r3, 0 +/* 80036DD4 00033D34 38 00 00 01 */ li r0, 1 +/* 80036DD8 00033D38 90 6D A1 54 */ stw r3, lbl_805A8D14@sda21(r13) +/* 80036DDC 00033D3C 98 0D A1 58 */ stb r0, lbl_805A8D18@sda21(r13) +lbl_80036DE0: +/* 80036DE0 00033D40 38 6D A1 54 */ addi r3, r13, lbl_805A8D14@sda21 +/* 80036DE4 00033D44 4E 80 00 20 */ blr + +.global sub_80036de8 +sub_80036de8: +/* 80036DE8 00033D48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80036DEC 00033D4C 7C 08 02 A6 */ mflr r0 +/* 80036DF0 00033D50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80036DF4 00033D54 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv" +/* 80036DF8 00033D58 80 83 00 00 */ lwz r4, 0(r3) +/* 80036DFC 00033D5C 38 04 00 01 */ addi r0, r4, 1 +/* 80036E00 00033D60 90 03 00 00 */ stw r0, 0(r3) +/* 80036E04 00033D64 48 00 00 15 */ bl sub_80036e18 +/* 80036E08 00033D68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80036E0C 00033D6C 7C 08 03 A6 */ mtlr r0 +/* 80036E10 00033D70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80036E14 00033D74 4E 80 00 20 */ blr + +.global sub_80036e18 +sub_80036e18: +/* 80036E18 00033D78 3C 60 80 46 */ lis r3, lbl_8045B1DC@ha +/* 80036E1C 00033D7C 38 63 B1 DC */ addi r3, r3, lbl_8045B1DC@l +/* 80036E20 00033D80 4E 80 00 20 */ blr + +.global "ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv" +"ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv": +/* 80036E24 00033D84 88 0D A1 60 */ lbz r0, lbl_805A8D20@sda21(r13) +/* 80036E28 00033D88 7C 00 07 75 */ extsb. r0, r0 +/* 80036E2C 00033D8C 40 82 00 14 */ bne lbl_80036E40 +/* 80036E30 00033D90 38 60 00 00 */ li r3, 0 +/* 80036E34 00033D94 38 00 00 01 */ li r0, 1 +/* 80036E38 00033D98 90 6D A1 5C */ stw r3, lbl_805A8D1C@sda21(r13) +/* 80036E3C 00033D9C 98 0D A1 60 */ stb r0, lbl_805A8D20@sda21(r13) +lbl_80036E40: +/* 80036E40 00033DA0 38 6D A1 5C */ addi r3, r13, lbl_805A8D1C@sda21 +/* 80036E44 00033DA4 4E 80 00 20 */ blr + +.global sub_80036e48 +sub_80036e48: +/* 80036E48 00033DA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80036E4C 00033DAC 7C 08 02 A6 */ mflr r0 +/* 80036E50 00033DB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80036E54 00033DB4 48 00 00 31 */ bl "ReferenceCount__26TOneStatic<12CTweakGunRes>Fv" +/* 80036E58 00033DB8 80 83 00 00 */ lwz r4, 0(r3) +/* 80036E5C 00033DBC 38 04 00 01 */ addi r0, r4, 1 +/* 80036E60 00033DC0 90 03 00 00 */ stw r0, 0(r3) +/* 80036E64 00033DC4 48 00 00 15 */ bl sub_80036e78 +/* 80036E68 00033DC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80036E6C 00033DCC 7C 08 03 A6 */ mtlr r0 +/* 80036E70 00033DD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80036E74 00033DD4 4E 80 00 20 */ blr + +.global sub_80036e78 +sub_80036e78: +/* 80036E78 00033DD8 3C 60 80 46 */ lis r3, lbl_8045B2D0@ha +/* 80036E7C 00033DDC 38 63 B2 D0 */ addi r3, r3, lbl_8045B2D0@l +/* 80036E80 00033DE0 4E 80 00 20 */ blr + +.global "ReferenceCount__26TOneStatic<12CTweakGunRes>Fv" +"ReferenceCount__26TOneStatic<12CTweakGunRes>Fv": +/* 80036E84 00033DE4 88 0D A1 68 */ lbz r0, lbl_805A8D28@sda21(r13) +/* 80036E88 00033DE8 7C 00 07 75 */ extsb. r0, r0 +/* 80036E8C 00033DEC 40 82 00 14 */ bne lbl_80036EA0 +/* 80036E90 00033DF0 38 60 00 00 */ li r3, 0 +/* 80036E94 00033DF4 38 00 00 01 */ li r0, 1 +/* 80036E98 00033DF8 90 6D A1 64 */ stw r3, lbl_805A8D24@sda21(r13) +/* 80036E9C 00033DFC 98 0D A1 68 */ stb r0, lbl_805A8D28@sda21(r13) +lbl_80036EA0: +/* 80036EA0 00033E00 38 6D A1 64 */ addi r3, r13, lbl_805A8D24@sda21 +/* 80036EA4 00033E04 4E 80 00 20 */ blr + +.global "__nw__30TOneStatic<16CTweakAutoMapper>FUlPCcPCc" +"__nw__30TOneStatic<16CTweakAutoMapper>FUlPCcPCc": +/* 80036EA8 00033E08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80036EAC 00033E0C 7C 08 02 A6 */ mflr r0 +/* 80036EB0 00033E10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80036EB4 00033E14 48 00 00 31 */ bl "ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv" +/* 80036EB8 00033E18 80 83 00 00 */ lwz r4, 0(r3) +/* 80036EBC 00033E1C 38 04 00 01 */ addi r0, r4, 1 +/* 80036EC0 00033E20 90 03 00 00 */ stw r0, 0(r3) +/* 80036EC4 00033E24 48 00 00 15 */ bl "GetAllocSpace__30TOneStatic<16CTweakAutoMapper>Fv" +/* 80036EC8 00033E28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80036ECC 00033E2C 7C 08 03 A6 */ mtlr r0 +/* 80036ED0 00033E30 38 21 00 10 */ addi r1, r1, 0x10 +/* 80036ED4 00033E34 4E 80 00 20 */ blr + +.global "GetAllocSpace__30TOneStatic<16CTweakAutoMapper>Fv" +"GetAllocSpace__30TOneStatic<16CTweakAutoMapper>Fv": +/* 80036ED8 00033E38 3C 60 80 46 */ lis r3, lbl_8045B398@ha +/* 80036EDC 00033E3C 38 63 B3 98 */ addi r3, r3, lbl_8045B398@l +/* 80036EE0 00033E40 4E 80 00 20 */ blr + +.global "ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv" +"ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv": +/* 80036EE4 00033E44 88 0D A1 70 */ lbz r0, lbl_805A8D30@sda21(r13) +/* 80036EE8 00033E48 7C 00 07 75 */ extsb. r0, r0 +/* 80036EEC 00033E4C 40 82 00 14 */ bne lbl_80036F00 +/* 80036EF0 00033E50 38 60 00 00 */ li r3, 0 +/* 80036EF4 00033E54 38 00 00 01 */ li r0, 1 +/* 80036EF8 00033E58 90 6D A1 6C */ stw r3, lbl_805A8D2C@sda21(r13) +/* 80036EFC 00033E5C 98 0D A1 70 */ stb r0, lbl_805A8D30@sda21(r13) +lbl_80036F00: +/* 80036F00 00033E60 38 6D A1 6C */ addi r3, r13, lbl_805A8D2C@sda21 +/* 80036F04 00033E64 4E 80 00 20 */ blr + +.global "__nw__29TOneStatic<15CTweakTargeting>FUlPCcPCc" +"__nw__29TOneStatic<15CTweakTargeting>FUlPCcPCc": +/* 80036F08 00033E68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80036F0C 00033E6C 7C 08 02 A6 */ mflr r0 +/* 80036F10 00033E70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80036F14 00033E74 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakTargeting>Fv" +/* 80036F18 00033E78 80 83 00 00 */ lwz r4, 0(r3) +/* 80036F1C 00033E7C 38 04 00 01 */ addi r0, r4, 1 +/* 80036F20 00033E80 90 03 00 00 */ stw r0, 0(r3) +/* 80036F24 00033E84 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakTargeting>Fv" +/* 80036F28 00033E88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80036F2C 00033E8C 7C 08 03 A6 */ mtlr r0 +/* 80036F30 00033E90 38 21 00 10 */ addi r1, r1, 0x10 +/* 80036F34 00033E94 4E 80 00 20 */ blr + +.global "GetAllocSpace__29TOneStatic<15CTweakTargeting>Fv" +"GetAllocSpace__29TOneStatic<15CTweakTargeting>Fv": +/* 80036F38 00033E98 3C 60 80 46 */ lis r3, lbl_8045B4B8@ha +/* 80036F3C 00033E9C 38 63 B4 B8 */ addi r3, r3, lbl_8045B4B8@l +/* 80036F40 00033EA0 4E 80 00 20 */ blr + +.global "ReferenceCount__29TOneStatic<15CTweakTargeting>Fv" +"ReferenceCount__29TOneStatic<15CTweakTargeting>Fv": +/* 80036F44 00033EA4 88 0D A1 78 */ lbz r0, lbl_805A8D38@sda21(r13) +/* 80036F48 00033EA8 7C 00 07 75 */ extsb. r0, r0 +/* 80036F4C 00033EAC 40 82 00 14 */ bne lbl_80036F60 +/* 80036F50 00033EB0 38 60 00 00 */ li r3, 0 +/* 80036F54 00033EB4 38 00 00 01 */ li r0, 1 +/* 80036F58 00033EB8 90 6D A1 74 */ stw r3, lbl_805A8D34@sda21(r13) +/* 80036F5C 00033EBC 98 0D A1 78 */ stb r0, lbl_805A8D38@sda21(r13) +lbl_80036F60: +/* 80036F60 00033EC0 38 6D A1 74 */ addi r3, r13, lbl_805A8D34@sda21 +/* 80036F64 00033EC4 4E 80 00 20 */ blr + +.global "__nw__29TOneStatic<15CTweakGuiColors>FUlPCcPCc" +"__nw__29TOneStatic<15CTweakGuiColors>FUlPCcPCc": +/* 80036F68 00033EC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80036F6C 00033ECC 7C 08 02 A6 */ mflr r0 +/* 80036F70 00033ED0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80036F74 00033ED4 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv" +/* 80036F78 00033ED8 80 83 00 00 */ lwz r4, 0(r3) +/* 80036F7C 00033EDC 38 04 00 01 */ addi r0, r4, 1 +/* 80036F80 00033EE0 90 03 00 00 */ stw r0, 0(r3) +/* 80036F84 00033EE4 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakGuiColors>Fv" +/* 80036F88 00033EE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80036F8C 00033EEC 7C 08 03 A6 */ mtlr r0 +/* 80036F90 00033EF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80036F94 00033EF4 4E 80 00 20 */ blr + +.global "GetAllocSpace__29TOneStatic<15CTweakGuiColors>Fv" +"GetAllocSpace__29TOneStatic<15CTweakGuiColors>Fv": +/* 80036F98 00033EF8 3C 60 80 46 */ lis r3, lbl_8045B6E0@ha +/* 80036F9C 00033EFC 38 63 B6 E0 */ addi r3, r3, lbl_8045B6E0@l +/* 80036FA0 00033F00 4E 80 00 20 */ blr + +.global "ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv" +"ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv": +/* 80036FA4 00033F04 88 0D A1 80 */ lbz r0, lbl_805A8D40@sda21(r13) +/* 80036FA8 00033F08 7C 00 07 75 */ extsb. r0, r0 +/* 80036FAC 00033F0C 40 82 00 14 */ bne lbl_80036FC0 +/* 80036FB0 00033F10 38 60 00 00 */ li r3, 0 +/* 80036FB4 00033F14 38 00 00 01 */ li r0, 1 +/* 80036FB8 00033F18 90 6D A1 7C */ stw r3, lbl_805A8D3C@sda21(r13) +/* 80036FBC 00033F1C 98 0D A1 80 */ stb r0, lbl_805A8D40@sda21(r13) +lbl_80036FC0: +/* 80036FC0 00033F20 38 6D A1 7C */ addi r3, r13, lbl_805A8D3C@sda21 +/* 80036FC4 00033F24 4E 80 00 20 */ blr + +.global "__nw__22TOneStatic<9CTweakGui>FUlPCcPCc" +"__nw__22TOneStatic<9CTweakGui>FUlPCcPCc": +/* 80036FC8 00033F28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80036FCC 00033F2C 7C 08 02 A6 */ mflr r0 +/* 80036FD0 00033F30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80036FD4 00033F34 48 00 00 31 */ bl "ReferenceCount__22TOneStatic<9CTweakGui>Fv" +/* 80036FD8 00033F38 80 83 00 00 */ lwz r4, 0(r3) +/* 80036FDC 00033F3C 38 04 00 01 */ addi r0, r4, 1 +/* 80036FE0 00033F40 90 03 00 00 */ stw r0, 0(r3) +/* 80036FE4 00033F44 48 00 00 15 */ bl "GetAllocSpace__22TOneStatic<9CTweakGui>Fv" +/* 80036FE8 00033F48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80036FEC 00033F4C 7C 08 03 A6 */ mtlr r0 +/* 80036FF0 00033F50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80036FF4 00033F54 4E 80 00 20 */ blr + +.global "GetAllocSpace__22TOneStatic<9CTweakGui>Fv" +"GetAllocSpace__22TOneStatic<9CTweakGui>Fv": +/* 80036FF8 00033F58 3C 60 80 46 */ lis r3, lbl_8045B934@ha +/* 80036FFC 00033F5C 38 63 B9 34 */ addi r3, r3, lbl_8045B934@l +/* 80037000 00033F60 4E 80 00 20 */ blr + +.global "ReferenceCount__22TOneStatic<9CTweakGui>Fv" +"ReferenceCount__22TOneStatic<9CTweakGui>Fv": +/* 80037004 00033F64 88 0D A1 88 */ lbz r0, lbl_805A8D48@sda21(r13) +/* 80037008 00033F68 7C 00 07 75 */ extsb. r0, r0 +/* 8003700C 00033F6C 40 82 00 14 */ bne lbl_80037020 +/* 80037010 00033F70 38 60 00 00 */ li r3, 0 +/* 80037014 00033F74 38 00 00 01 */ li r0, 1 +/* 80037018 00033F78 90 6D A1 84 */ stw r3, lbl_805A8D44@sda21(r13) +/* 8003701C 00033F7C 98 0D A1 88 */ stb r0, lbl_805A8D48@sda21(r13) +lbl_80037020: +/* 80037020 00033F80 38 6D A1 84 */ addi r3, r13, lbl_805A8D44@sda21 +/* 80037024 00033F84 4E 80 00 20 */ blr + +.global "__nw__29TOneStatic<15CTweakPlayerGun>FUlPCcPCc" +"__nw__29TOneStatic<15CTweakPlayerGun>FUlPCcPCc": +/* 80037028 00033F88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003702C 00033F8C 7C 08 02 A6 */ mflr r0 +/* 80037030 00033F90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80037034 00033F94 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv" +/* 80037038 00033F98 80 83 00 00 */ lwz r4, 0(r3) +/* 8003703C 00033F9C 38 04 00 01 */ addi r0, r4, 1 +/* 80037040 00033FA0 90 03 00 00 */ stw r0, 0(r3) +/* 80037044 00033FA4 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakPlayerGun>Fv" +/* 80037048 00033FA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003704C 00033FAC 7C 08 03 A6 */ mtlr r0 +/* 80037050 00033FB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80037054 00033FB4 4E 80 00 20 */ blr + +.global "GetAllocSpace__29TOneStatic<15CTweakPlayerGun>Fv" +"GetAllocSpace__29TOneStatic<15CTweakPlayerGun>Fv": +/* 80037058 00033FB8 3C 60 80 46 */ lis r3, lbl_8045BC9C@ha +/* 8003705C 00033FBC 38 63 BC 9C */ addi r3, r3, lbl_8045BC9C@l +/* 80037060 00033FC0 4E 80 00 20 */ blr + +.global "ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv" +"ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv": +/* 80037064 00033FC4 88 0D A1 90 */ lbz r0, lbl_805A8D50@sda21(r13) +/* 80037068 00033FC8 7C 00 07 75 */ extsb. r0, r0 +/* 8003706C 00033FCC 40 82 00 14 */ bne lbl_80037080 +/* 80037070 00033FD0 38 60 00 00 */ li r3, 0 +/* 80037074 00033FD4 38 00 00 01 */ li r0, 1 +/* 80037078 00033FD8 90 6D A1 8C */ stw r3, lbl_805A8D4C@sda21(r13) +/* 8003707C 00033FDC 98 0D A1 90 */ stb r0, lbl_805A8D50@sda21(r13) +lbl_80037080: +/* 80037080 00033FE0 38 6D A1 8C */ addi r3, r13, lbl_805A8D4C@sda21 +/* 80037084 00033FE4 4E 80 00 20 */ blr + +.global "__nw__28TOneStatic<14CTweakParticle>FUlPCcPCc" +"__nw__28TOneStatic<14CTweakParticle>FUlPCcPCc": +/* 80037088 00033FE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003708C 00033FEC 7C 08 02 A6 */ mflr r0 +/* 80037090 00033FF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80037094 00033FF4 48 00 00 31 */ bl "ReferenceCount__28TOneStatic<14CTweakParticle>Fv" +/* 80037098 00033FF8 80 83 00 00 */ lwz r4, 0(r3) +/* 8003709C 00033FFC 38 04 00 01 */ addi r0, r4, 1 +/* 800370A0 00034000 90 03 00 00 */ stw r0, 0(r3) +/* 800370A4 00034004 48 00 00 15 */ bl "GetAllocSpace__28TOneStatic<14CTweakParticle>Fv" +/* 800370A8 00034008 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800370AC 0003400C 7C 08 03 A6 */ mtlr r0 +/* 800370B0 00034010 38 21 00 10 */ addi r1, r1, 0x10 +/* 800370B4 00034014 4E 80 00 20 */ blr + +.global "GetAllocSpace__28TOneStatic<14CTweakParticle>Fv" +"GetAllocSpace__28TOneStatic<14CTweakParticle>Fv": +/* 800370B8 00034018 3C 60 80 46 */ lis r3, lbl_8045BF34@ha +/* 800370BC 0003401C 38 63 BF 34 */ addi r3, r3, lbl_8045BF34@l +/* 800370C0 00034020 4E 80 00 20 */ blr + +.global "ReferenceCount__28TOneStatic<14CTweakParticle>Fv" +"ReferenceCount__28TOneStatic<14CTweakParticle>Fv": +/* 800370C4 00034024 88 0D A1 98 */ lbz r0, lbl_805A8D58@sda21(r13) +/* 800370C8 00034028 7C 00 07 75 */ extsb. r0, r0 +/* 800370CC 0003402C 40 82 00 14 */ bne lbl_800370E0 +/* 800370D0 00034030 38 60 00 00 */ li r3, 0 +/* 800370D4 00034034 38 00 00 01 */ li r0, 1 +/* 800370D8 00034038 90 6D A1 94 */ stw r3, lbl_805A8D54@sda21(r13) +/* 800370DC 0003403C 98 0D A1 98 */ stb r0, lbl_805A8D58@sda21(r13) +lbl_800370E0: +/* 800370E0 00034040 38 6D A1 94 */ addi r3, r13, lbl_805A8D54@sda21 +/* 800370E4 00034044 4E 80 00 20 */ blr + +.global "__nw__24TOneStatic<10CTweakGame>FUlPCcPCc" +"__nw__24TOneStatic<10CTweakGame>FUlPCcPCc": +/* 800370E8 00034048 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800370EC 0003404C 7C 08 02 A6 */ mflr r0 +/* 800370F0 00034050 90 01 00 14 */ stw r0, 0x14(r1) +/* 800370F4 00034054 48 00 00 31 */ bl "ReferenceCount__24TOneStatic<10CTweakGame>Fv" +/* 800370F8 00034058 80 83 00 00 */ lwz r4, 0(r3) +/* 800370FC 0003405C 38 04 00 01 */ addi r0, r4, 1 +/* 80037100 00034060 90 03 00 00 */ stw r0, 0(r3) +/* 80037104 00034064 48 00 00 15 */ bl "GetAllocSpace__24TOneStatic<10CTweakGame>Fv" +/* 80037108 00034068 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003710C 0003406C 7C 08 03 A6 */ mtlr r0 +/* 80037110 00034070 38 21 00 10 */ addi r1, r1, 0x10 +/* 80037114 00034074 4E 80 00 20 */ blr + +.global "GetAllocSpace__24TOneStatic<10CTweakGame>Fv" +"GetAllocSpace__24TOneStatic<10CTweakGame>Fv": +/* 80037118 00034078 3C 60 80 46 */ lis r3, lbl_8045BF68@ha +/* 8003711C 0003407C 38 63 BF 68 */ addi r3, r3, lbl_8045BF68@l +/* 80037120 00034080 4E 80 00 20 */ blr + +.global "ReferenceCount__24TOneStatic<10CTweakGame>Fv" +"ReferenceCount__24TOneStatic<10CTweakGame>Fv": +/* 80037124 00034084 88 0D A1 A0 */ lbz r0, lbl_805A8D60@sda21(r13) +/* 80037128 00034088 7C 00 07 75 */ extsb. r0, r0 +/* 8003712C 0003408C 40 82 00 14 */ bne lbl_80037140 +/* 80037130 00034090 38 60 00 00 */ li r3, 0 +/* 80037134 00034094 38 00 00 01 */ li r0, 1 +/* 80037138 00034098 90 6D A1 9C */ stw r3, lbl_805A8D5C@sda21(r13) +/* 8003713C 0003409C 98 0D A1 A0 */ stb r0, lbl_805A8D60@sda21(r13) +lbl_80037140: +/* 80037140 000340A0 38 6D A1 9C */ addi r3, r13, lbl_805A8D5C@sda21 +/* 80037144 000340A4 4E 80 00 20 */ blr + +.global "__nw__24TOneStatic<10CTweakBall>FUlPCcPCc" +"__nw__24TOneStatic<10CTweakBall>FUlPCcPCc": +/* 80037148 000340A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8003714C 000340AC 7C 08 02 A6 */ mflr r0 +/* 80037150 000340B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80037154 000340B4 48 00 00 31 */ bl "ReferenceCount__24TOneStatic<10CTweakBall>Fv" +/* 80037158 000340B8 80 83 00 00 */ lwz r4, 0(r3) +/* 8003715C 000340BC 38 04 00 01 */ addi r0, r4, 1 +/* 80037160 000340C0 90 03 00 00 */ stw r0, 0(r3) +/* 80037164 000340C4 48 00 00 15 */ bl "GetAllocSpace__24TOneStatic<10CTweakBall>Fv" +/* 80037168 000340C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8003716C 000340CC 7C 08 03 A6 */ mtlr r0 +/* 80037170 000340D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80037174 000340D4 4E 80 00 20 */ blr + +.global "GetAllocSpace__24TOneStatic<10CTweakBall>Fv" +"GetAllocSpace__24TOneStatic<10CTweakBall>Fv": +/* 80037178 000340D8 3C 60 80 46 */ lis r3, lbl_8045BFD0@ha +/* 8003717C 000340DC 38 63 BF D0 */ addi r3, r3, lbl_8045BFD0@l +/* 80037180 000340E0 4E 80 00 20 */ blr + +.global "ReferenceCount__24TOneStatic<10CTweakBall>Fv" +"ReferenceCount__24TOneStatic<10CTweakBall>Fv": +/* 80037184 000340E4 88 0D A1 A8 */ lbz r0, lbl_805A8D68@sda21(r13) +/* 80037188 000340E8 7C 00 07 75 */ extsb. r0, r0 +/* 8003718C 000340EC 40 82 00 14 */ bne lbl_800371A0 +/* 80037190 000340F0 38 60 00 00 */ li r3, 0 +/* 80037194 000340F4 38 00 00 01 */ li r0, 1 +/* 80037198 000340F8 90 6D A1 A4 */ stw r3, lbl_805A8D64@sda21(r13) +/* 8003719C 000340FC 98 0D A1 A8 */ stb r0, lbl_805A8D68@sda21(r13) +lbl_800371A0: +/* 800371A0 00034100 38 6D A1 A4 */ addi r3, r13, lbl_805A8D64@sda21 +/* 800371A4 00034104 4E 80 00 20 */ blr + +.global "__nw__26TOneStatic<12CTweakPlayer>FUlPCcPCc" +"__nw__26TOneStatic<12CTweakPlayer>FUlPCcPCc": +/* 800371A8 00034108 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800371AC 0003410C 7C 08 02 A6 */ mflr r0 +/* 800371B0 00034110 90 01 00 14 */ stw r0, 0x14(r1) +/* 800371B4 00034114 4B FF E7 B1 */ bl "ReferenceCount__26TOneStatic<12CTweakPlayer>Fv" +/* 800371B8 00034118 80 83 00 00 */ lwz r4, 0(r3) +/* 800371BC 0003411C 38 04 00 01 */ addi r0, r4, 1 +/* 800371C0 00034120 90 03 00 00 */ stw r0, 0(r3) +/* 800371C4 00034124 48 00 00 15 */ bl "GetAllocSpace__26TOneStatic<12CTweakPlayer>Fv" +/* 800371C8 00034128 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800371CC 0003412C 7C 08 03 A6 */ mtlr r0 +/* 800371D0 00034130 38 21 00 10 */ addi r1, r1, 0x10 +/* 800371D4 00034134 4E 80 00 20 */ blr + +.global "GetAllocSpace__26TOneStatic<12CTweakPlayer>Fv" +"GetAllocSpace__26TOneStatic<12CTweakPlayer>Fv": +/* 800371D8 00034138 3C 60 80 46 */ lis r3, lbl_8045C208@ha +/* 800371DC 0003413C 38 63 C2 08 */ addi r3, r3, lbl_8045C208@l +/* 800371E0 00034140 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CWeaponMgr.s b/asm/Kyoto_CWD/CWeaponMgr.s new file mode 100644 index 00000000..1cffa0b4 --- /dev/null +++ b/asm/Kyoto_CWD/CWeaponMgr.s @@ -0,0 +1,137602 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __dt__10CWeaponMgrFv +__dt__10CWeaponMgrFv: +/* 80050130 0004D090 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80050134 0004D094 7C 08 02 A6 */ mflr r0 +/* 80050138 0004D098 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005013C 0004D09C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80050140 0004D0A0 7C 9F 23 78 */ mr r31, r4 +/* 80050144 0004D0A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80050148 0004D0A8 7C 7E 1B 78 */ mr r30, r3 +/* 8005014C 0004D0AC 80 84 00 00 */ lwz r4, 0(r4) +/* 80050150 0004D0B0 28 04 00 00 */ cmplwi r4, 0 +/* 80050154 0004D0B4 41 82 00 08 */ beq lbl_8005015C +/* 80050158 0004D0B8 4B FF FF D9 */ bl __dt__10CWeaponMgrFv +lbl_8005015C: +/* 8005015C 0004D0BC 80 9F 00 04 */ lwz r4, 4(r31) +/* 80050160 0004D0C0 28 04 00 00 */ cmplwi r4, 0 +/* 80050164 0004D0C4 41 82 00 0C */ beq lbl_80050170 +/* 80050168 0004D0C8 7F C3 F3 78 */ mr r3, r30 +/* 8005016C 0004D0CC 4B FF FF C5 */ bl __dt__10CWeaponMgrFv +lbl_80050170: +/* 80050170 0004D0D0 28 1F 00 00 */ cmplwi r31, 0 +/* 80050174 0004D0D4 41 82 00 68 */ beq lbl_800501DC +/* 80050178 0004D0D8 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8005017C 0004D0DC 41 82 00 60 */ beq lbl_800501DC +/* 80050180 0004D0E0 34 BF 00 14 */ addic. r5, r31, 0x14 +/* 80050184 0004D0E4 41 82 00 58 */ beq lbl_800501DC +/* 80050188 0004D0E8 80 C5 00 00 */ lwz r6, 0(r5) +/* 8005018C 0004D0EC 38 60 00 00 */ li r3, 0 +/* 80050190 0004D0F0 2C 06 00 00 */ cmpwi r6, 0 +/* 80050194 0004D0F4 40 81 00 40 */ ble lbl_800501D4 +/* 80050198 0004D0F8 2C 06 00 08 */ cmpwi r6, 8 +/* 8005019C 0004D0FC 38 86 FF F8 */ addi r4, r6, -8 +/* 800501A0 0004D100 40 81 00 20 */ ble lbl_800501C0 +/* 800501A4 0004D104 38 04 00 07 */ addi r0, r4, 7 +/* 800501A8 0004D108 54 00 E8 FE */ srwi r0, r0, 3 +/* 800501AC 0004D10C 7C 09 03 A6 */ mtctr r0 +/* 800501B0 0004D110 2C 04 00 00 */ cmpwi r4, 0 +/* 800501B4 0004D114 40 81 00 0C */ ble lbl_800501C0 +lbl_800501B8: +/* 800501B8 0004D118 38 63 00 08 */ addi r3, r3, 8 +/* 800501BC 0004D11C 42 00 FF FC */ bdnz lbl_800501B8 +lbl_800501C0: +/* 800501C0 0004D120 7C 03 30 50 */ subf r0, r3, r6 +/* 800501C4 0004D124 7C 09 03 A6 */ mtctr r0 +/* 800501C8 0004D128 7C 03 30 00 */ cmpw r3, r6 +/* 800501CC 0004D12C 40 80 00 08 */ bge lbl_800501D4 +lbl_800501D0: +/* 800501D0 0004D130 42 00 00 00 */ bdnz lbl_800501D0 +lbl_800501D4: +/* 800501D4 0004D134 38 00 00 00 */ li r0, 0 +/* 800501D8 0004D138 90 05 00 00 */ stw r0, 0(r5) +lbl_800501DC: +/* 800501DC 0004D13C 28 1F 00 00 */ cmplwi r31, 0 +/* 800501E0 0004D140 41 82 00 0C */ beq lbl_800501EC +/* 800501E4 0004D144 7F E3 FB 78 */ mr r3, r31 +/* 800501E8 0004D148 48 2C 57 49 */ bl Free__7CMemoryFPCv +lbl_800501EC: +/* 800501EC 0004D14C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800501F0 0004D150 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800501F4 0004D154 83 C1 00 08 */ lwz r30, 8(r1) +/* 800501F8 0004D158 7C 08 03 A6 */ mtlr r0 +/* 800501FC 0004D15C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80050200 0004D160 4E 80 00 20 */ blr + +.global sub_80050204 +sub_80050204: +/* 80050204 0004D164 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80050208 0004D168 7C 08 02 A6 */ mflr r0 +/* 8005020C 0004D16C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80050210 0004D170 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80050214 0004D174 7C 9F 23 78 */ mr r31, r4 +/* 80050218 0004D178 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8005021C 0004D17C 7C 7E 1B 78 */ mr r30, r3 +/* 80050220 0004D180 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80050224 0004D184 80 03 00 08 */ lwz r0, 8(r3) +/* 80050228 0004D188 7C 1F 00 00 */ cmpw r31, r0 +/* 8005022C 0004D18C 40 81 00 98 */ ble lbl_800502C4 +/* 80050230 0004D190 1C 7F 00 50 */ mulli r3, r31, 0x50 +/* 80050234 0004D194 2C 03 00 00 */ cmpwi r3, 0 +/* 80050238 0004D198 40 82 00 0C */ bne lbl_80050244 +/* 8005023C 0004D19C 3B A0 00 00 */ li r29, 0 +/* 80050240 0004D1A0 48 00 00 18 */ b lbl_80050258 +lbl_80050244: +/* 80050244 0004D1A4 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 80050248 0004D1A8 38 A0 00 00 */ li r5, 0 +/* 8005024C 0004D1AC 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 80050250 0004D1B0 48 2C 55 C9 */ bl __nwa__FUlPCcPCc +/* 80050254 0004D1B4 7C 7D 1B 78 */ mr r29, r3 +lbl_80050258: +/* 80050258 0004D1B8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005025C 0004D1BC 7F A5 EB 78 */ mr r5, r29 +/* 80050260 0004D1C0 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80050264 0004D1C4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80050268 0004D1C8 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 8005026C 0004D1CC 38 81 00 0C */ addi r4, r1, 0xc +/* 80050270 0004D1D0 7C C6 02 14 */ add r6, r6, r0 +/* 80050274 0004D1D4 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80050278 0004D1D8 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8005027C 0004D1DC 90 C1 00 08 */ stw r6, 8(r1) +/* 80050280 0004D1E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80050284 0004D1E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80050288 0004D1E8 48 00 00 59 */ bl sub_800502e0 +/* 8005028C 0004D1EC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80050290 0004D1F0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80050294 0004D1F4 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80050298 0004D1F8 7C 64 1B 78 */ mr r4, r3 +/* 8005029C 0004D1FC 7C 03 02 14 */ add r0, r3, r0 +/* 800502A0 0004D200 48 00 00 08 */ b lbl_800502A8 +lbl_800502A4: +/* 800502A4 0004D204 38 84 00 50 */ addi r4, r4, 0x50 +lbl_800502A8: +/* 800502A8 0004D208 7C 04 00 40 */ cmplw r4, r0 +/* 800502AC 0004D20C 40 82 FF F8 */ bne lbl_800502A4 +/* 800502B0 0004D210 28 03 00 00 */ cmplwi r3, 0 +/* 800502B4 0004D214 41 82 00 08 */ beq lbl_800502BC +/* 800502B8 0004D218 48 2C 56 79 */ bl Free__7CMemoryFPCv +lbl_800502BC: +/* 800502BC 0004D21C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800502C0 0004D220 93 FE 00 08 */ stw r31, 8(r30) +lbl_800502C4: +/* 800502C4 0004D224 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800502C8 0004D228 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800502CC 0004D22C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800502D0 0004D230 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800502D4 0004D234 7C 08 03 A6 */ mtlr r0 +/* 800502D8 0004D238 38 21 00 30 */ addi r1, r1, 0x30 +/* 800502DC 0004D23C 4E 80 00 20 */ blr + +.global sub_800502e0 +sub_800502e0: +/* 800502E0 0004D240 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800502E4 0004D244 7C 08 02 A6 */ mflr r0 +/* 800502E8 0004D248 90 01 00 24 */ stw r0, 0x24(r1) +/* 800502EC 0004D24C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800502F0 0004D250 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800502F4 0004D254 7C BE 2B 78 */ mr r30, r5 +/* 800502F8 0004D258 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800502FC 0004D25C 7C 9D 23 78 */ mr r29, r4 +/* 80050300 0004D260 83 E3 00 00 */ lwz r31, 0(r3) +/* 80050304 0004D264 48 00 00 18 */ b lbl_8005031C +lbl_80050308: +/* 80050308 0004D268 7F C3 F3 78 */ mr r3, r30 +/* 8005030C 0004D26C 7F E4 FB 78 */ mr r4, r31 +/* 80050310 0004D270 4B FF 57 31 */ bl sub_80045a40 +/* 80050314 0004D274 3B DE 00 50 */ addi r30, r30, 0x50 +/* 80050318 0004D278 3B FF 00 50 */ addi r31, r31, 0x50 +lbl_8005031C: +/* 8005031C 0004D27C 80 1D 00 00 */ lwz r0, 0(r29) +/* 80050320 0004D280 7C 1F 00 40 */ cmplw r31, r0 +/* 80050324 0004D284 40 82 FF E4 */ bne lbl_80050308 +/* 80050328 0004D288 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005032C 0004D28C 7F C3 F3 78 */ mr r3, r30 +/* 80050330 0004D290 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80050334 0004D294 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80050338 0004D298 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8005033C 0004D29C 7C 08 03 A6 */ mtlr r0 +/* 80050340 0004D2A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80050344 0004D2A4 4E 80 00 20 */ blr + +.global "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi": +/* 80050348 0004D2A8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005034C 0004D2AC 7C 08 02 A6 */ mflr r0 +/* 80050350 0004D2B0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80050354 0004D2B4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80050358 0004D2B8 7C 9F 23 78 */ mr r31, r4 +/* 8005035C 0004D2BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80050360 0004D2C0 7C 7E 1B 78 */ mr r30, r3 +/* 80050364 0004D2C4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80050368 0004D2C8 80 03 00 08 */ lwz r0, 8(r3) +/* 8005036C 0004D2CC 7C 1F 00 00 */ cmpw r31, r0 +/* 80050370 0004D2D0 40 81 00 A8 */ ble lbl_80050418 +/* 80050374 0004D2D4 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80050378 0004D2D8 40 82 00 0C */ bne lbl_80050384 +/* 8005037C 0004D2DC 3B A0 00 00 */ li r29, 0 +/* 80050380 0004D2E0 48 00 00 18 */ b lbl_80050398 +lbl_80050384: +/* 80050384 0004D2E4 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 80050388 0004D2E8 38 A0 00 00 */ li r5, 0 +/* 8005038C 0004D2EC 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 80050390 0004D2F0 48 2C 54 89 */ bl __nwa__FUlPCcPCc +/* 80050394 0004D2F4 7C 7D 1B 78 */ mr r29, r3 +lbl_80050398: +/* 80050398 0004D2F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005039C 0004D2FC 7F A4 EB 78 */ mr r4, r29 +/* 800503A0 0004D300 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800503A4 0004D304 54 00 10 3A */ slwi r0, r0, 2 +/* 800503A8 0004D308 7C 65 02 14 */ add r3, r5, r0 +/* 800503AC 0004D30C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800503B0 0004D310 90 61 00 08 */ stw r3, 8(r1) +/* 800503B4 0004D314 90 61 00 0C */ stw r3, 0xc(r1) +/* 800503B8 0004D318 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800503BC 0004D31C 48 00 00 1C */ b lbl_800503D8 +lbl_800503C0: +/* 800503C0 0004D320 28 04 00 00 */ cmplwi r4, 0 +/* 800503C4 0004D324 41 82 00 0C */ beq lbl_800503D0 +/* 800503C8 0004D328 80 05 00 00 */ lwz r0, 0(r5) +/* 800503CC 0004D32C 90 04 00 00 */ stw r0, 0(r4) +lbl_800503D0: +/* 800503D0 0004D330 38 84 00 04 */ addi r4, r4, 4 +/* 800503D4 0004D334 38 A5 00 04 */ addi r5, r5, 4 +lbl_800503D8: +/* 800503D8 0004D338 7C 05 18 40 */ cmplw r5, r3 +/* 800503DC 0004D33C 40 82 FF E4 */ bne lbl_800503C0 +/* 800503E0 0004D340 80 1E 00 04 */ lwz r0, 4(r30) +/* 800503E4 0004D344 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800503E8 0004D348 54 00 10 3A */ slwi r0, r0, 2 +/* 800503EC 0004D34C 7C 64 1B 78 */ mr r4, r3 +/* 800503F0 0004D350 7C 03 02 14 */ add r0, r3, r0 +/* 800503F4 0004D354 48 00 00 08 */ b lbl_800503FC +lbl_800503F8: +/* 800503F8 0004D358 38 84 00 04 */ addi r4, r4, 4 +lbl_800503FC: +/* 800503FC 0004D35C 7C 04 00 40 */ cmplw r4, r0 +/* 80050400 0004D360 40 82 FF F8 */ bne lbl_800503F8 +/* 80050404 0004D364 28 03 00 00 */ cmplwi r3, 0 +/* 80050408 0004D368 41 82 00 08 */ beq lbl_80050410 +/* 8005040C 0004D36C 48 2C 55 25 */ bl Free__7CMemoryFPCv +lbl_80050410: +/* 80050410 0004D370 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80050414 0004D374 93 FE 00 08 */ stw r31, 8(r30) +lbl_80050418: +/* 80050418 0004D378 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005041C 0004D37C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80050420 0004D380 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80050424 0004D384 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80050428 0004D388 7C 08 03 A6 */ mtlr r0 +/* 8005042C 0004D38C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80050430 0004D390 4E 80 00 20 */ blr + +.global "reserve__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fi": +/* 80050434 0004D394 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80050438 0004D398 7C 08 02 A6 */ mflr r0 +/* 8005043C 0004D39C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80050440 0004D3A0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80050444 0004D3A4 7C 9F 23 78 */ mr r31, r4 +/* 80050448 0004D3A8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8005044C 0004D3AC 7C 7E 1B 78 */ mr r30, r3 +/* 80050450 0004D3B0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80050454 0004D3B4 80 03 00 08 */ lwz r0, 8(r3) +/* 80050458 0004D3B8 7C 1F 00 00 */ cmpw r31, r0 +/* 8005045C 0004D3BC 40 81 00 BC */ ble lbl_80050518 +/* 80050460 0004D3C0 1C 7F 00 0C */ mulli r3, r31, 0xc +/* 80050464 0004D3C4 2C 03 00 00 */ cmpwi r3, 0 +/* 80050468 0004D3C8 40 82 00 0C */ bne lbl_80050474 +/* 8005046C 0004D3CC 3B A0 00 00 */ li r29, 0 +/* 80050470 0004D3D0 48 00 00 18 */ b lbl_80050488 +lbl_80050474: +/* 80050474 0004D3D4 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha +/* 80050478 0004D3D8 38 A0 00 00 */ li r5, 0 +/* 8005047C 0004D3DC 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l +/* 80050480 0004D3E0 48 2C 53 99 */ bl __nwa__FUlPCcPCc +/* 80050484 0004D3E4 7C 7D 1B 78 */ mr r29, r3 +lbl_80050488: +/* 80050488 0004D3E8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005048C 0004D3EC 7F A4 EB 78 */ mr r4, r29 +/* 80050490 0004D3F0 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80050494 0004D3F4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80050498 0004D3F8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8005049C 0004D3FC 7C 65 02 14 */ add r3, r5, r0 +/* 800504A0 0004D400 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800504A4 0004D404 90 61 00 08 */ stw r3, 8(r1) +/* 800504A8 0004D408 90 61 00 0C */ stw r3, 0xc(r1) +/* 800504AC 0004D40C 48 00 00 2C */ b lbl_800504D8 +lbl_800504B0: +/* 800504B0 0004D410 28 04 00 00 */ cmplwi r4, 0 +/* 800504B4 0004D414 41 82 00 1C */ beq lbl_800504D0 +/* 800504B8 0004D418 80 05 00 00 */ lwz r0, 0(r5) +/* 800504BC 0004D41C 90 04 00 00 */ stw r0, 0(r4) +/* 800504C0 0004D420 80 05 00 04 */ lwz r0, 4(r5) +/* 800504C4 0004D424 90 04 00 04 */ stw r0, 4(r4) +/* 800504C8 0004D428 80 05 00 08 */ lwz r0, 8(r5) +/* 800504CC 0004D42C 90 04 00 08 */ stw r0, 8(r4) +lbl_800504D0: +/* 800504D0 0004D430 38 84 00 0C */ addi r4, r4, 0xc +/* 800504D4 0004D434 38 A5 00 0C */ addi r5, r5, 0xc +lbl_800504D8: +/* 800504D8 0004D438 7C 05 18 40 */ cmplw r5, r3 +/* 800504DC 0004D43C 40 82 FF D4 */ bne lbl_800504B0 +/* 800504E0 0004D440 80 1E 00 04 */ lwz r0, 4(r30) +/* 800504E4 0004D444 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800504E8 0004D448 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800504EC 0004D44C 7C 64 1B 78 */ mr r4, r3 +/* 800504F0 0004D450 7C 03 02 14 */ add r0, r3, r0 +/* 800504F4 0004D454 48 00 00 08 */ b lbl_800504FC +lbl_800504F8: +/* 800504F8 0004D458 38 84 00 0C */ addi r4, r4, 0xc +lbl_800504FC: +/* 800504FC 0004D45C 7C 04 00 40 */ cmplw r4, r0 +/* 80050500 0004D460 40 82 FF F8 */ bne lbl_800504F8 +/* 80050504 0004D464 28 03 00 00 */ cmplwi r3, 0 +/* 80050508 0004D468 41 82 00 08 */ beq lbl_80050510 +/* 8005050C 0004D46C 48 2C 54 25 */ bl Free__7CMemoryFPCv +lbl_80050510: +/* 80050510 0004D470 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80050514 0004D474 93 FE 00 08 */ stw r31, 8(r30) +lbl_80050518: +/* 80050518 0004D478 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005051C 0004D47C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80050520 0004D480 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80050524 0004D484 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80050528 0004D488 7C 08 03 A6 */ mtlr r0 +/* 8005052C 0004D48C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80050530 0004D490 4E 80 00 20 */ blr + +.global sub_80050534 +sub_80050534: +/* 80050534 0004D494 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80050538 0004D498 7C 08 02 A6 */ mflr r0 +/* 8005053C 0004D49C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80050540 0004D4A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80050544 0004D4A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80050548 0004D4A8 7C 9E 23 78 */ mr r30, r4 +/* 8005054C 0004D4AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80050550 0004D4B0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80050554 0004D4B4 41 82 00 38 */ beq lbl_8005058C +/* 80050558 0004D4B8 83 FD 00 04 */ lwz r31, 4(r29) +/* 8005055C 0004D4BC 48 00 00 14 */ b lbl_80050570 +lbl_80050560: +/* 80050560 0004D4C0 7F E3 FB 79 */ or. r3, r31, r31 +/* 80050564 0004D4C4 83 FF 00 04 */ lwz r31, 4(r31) +/* 80050568 0004D4C8 41 82 00 08 */ beq lbl_80050570 +/* 8005056C 0004D4CC 48 2C 53 C5 */ bl Free__7CMemoryFPCv +lbl_80050570: +/* 80050570 0004D4D0 80 1D 00 08 */ lwz r0, 8(r29) +/* 80050574 0004D4D4 7C 1F 00 40 */ cmplw r31, r0 +/* 80050578 0004D4D8 40 82 FF E8 */ bne lbl_80050560 +/* 8005057C 0004D4DC 7F C0 07 35 */ extsh. r0, r30 +/* 80050580 0004D4E0 40 81 00 0C */ ble lbl_8005058C +/* 80050584 0004D4E4 7F A3 EB 78 */ mr r3, r29 +/* 80050588 0004D4E8 48 2C 53 A9 */ bl Free__7CMemoryFPCv +lbl_8005058C: +/* 8005058C 0004D4EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80050590 0004D4F0 7F A3 EB 78 */ mr r3, r29 +/* 80050594 0004D4F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80050598 0004D4F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005059C 0004D4FC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800505A0 0004D500 7C 08 03 A6 */ mtlr r0 +/* 800505A4 0004D504 38 21 00 20 */ addi r1, r1, 0x20 +/* 800505A8 0004D508 4E 80 00 20 */ blr + +.global sub_800505ac +sub_800505ac: +/* 800505AC 0004D50C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800505B0 0004D510 7C 08 02 A6 */ mflr r0 +/* 800505B4 0004D514 90 01 00 14 */ stw r0, 0x14(r1) +/* 800505B8 0004D518 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800505BC 0004D51C 93 C1 00 08 */ stw r30, 8(r1) +/* 800505C0 0004D520 7C 7E 1B 78 */ mr r30, r3 +/* 800505C4 0004D524 80 03 00 04 */ lwz r0, 4(r3) +/* 800505C8 0004D528 83 E4 00 04 */ lwz r31, 4(r4) +/* 800505CC 0004D52C 7C 04 00 40 */ cmplw r4, r0 +/* 800505D0 0004D530 40 82 00 08 */ bne lbl_800505D8 +/* 800505D4 0004D534 93 FE 00 04 */ stw r31, 4(r30) +lbl_800505D8: +/* 800505D8 0004D538 80 04 00 04 */ lwz r0, 4(r4) +/* 800505DC 0004D53C 34 A4 00 08 */ addic. r5, r4, 8 +/* 800505E0 0004D540 80 64 00 00 */ lwz r3, 0(r4) +/* 800505E4 0004D544 90 03 00 04 */ stw r0, 4(r3) +/* 800505E8 0004D548 80 04 00 00 */ lwz r0, 0(r4) +/* 800505EC 0004D54C 80 64 00 04 */ lwz r3, 4(r4) +/* 800505F0 0004D550 90 03 00 00 */ stw r0, 0(r3) +/* 800505F4 0004D554 41 82 00 58 */ beq lbl_8005064C +/* 800505F8 0004D558 80 E5 00 00 */ lwz r7, 0(r5) +/* 800505FC 0004D55C 38 60 00 00 */ li r3, 0 +/* 80050600 0004D560 2C 07 00 00 */ cmpwi r7, 0 +/* 80050604 0004D564 40 81 00 40 */ ble lbl_80050644 +/* 80050608 0004D568 2C 07 00 08 */ cmpwi r7, 8 +/* 8005060C 0004D56C 38 C7 FF F8 */ addi r6, r7, -8 +/* 80050610 0004D570 40 81 00 20 */ ble lbl_80050630 +/* 80050614 0004D574 38 06 00 07 */ addi r0, r6, 7 +/* 80050618 0004D578 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005061C 0004D57C 7C 09 03 A6 */ mtctr r0 +/* 80050620 0004D580 2C 06 00 00 */ cmpwi r6, 0 +/* 80050624 0004D584 40 81 00 0C */ ble lbl_80050630 +lbl_80050628: +/* 80050628 0004D588 38 63 00 08 */ addi r3, r3, 8 +/* 8005062C 0004D58C 42 00 FF FC */ bdnz lbl_80050628 +lbl_80050630: +/* 80050630 0004D590 7C 03 38 50 */ subf r0, r3, r7 +/* 80050634 0004D594 7C 09 03 A6 */ mtctr r0 +/* 80050638 0004D598 7C 03 38 00 */ cmpw r3, r7 +/* 8005063C 0004D59C 40 80 00 08 */ bge lbl_80050644 +lbl_80050640: +/* 80050640 0004D5A0 42 00 00 00 */ bdnz lbl_80050640 +lbl_80050644: +/* 80050644 0004D5A4 38 00 00 00 */ li r0, 0 +/* 80050648 0004D5A8 90 05 00 00 */ stw r0, 0(r5) +lbl_8005064C: +/* 8005064C 0004D5AC 28 04 00 00 */ cmplwi r4, 0 +/* 80050650 0004D5B0 41 82 00 0C */ beq lbl_8005065C +/* 80050654 0004D5B4 7C 83 23 78 */ mr r3, r4 +/* 80050658 0004D5B8 48 2C 52 D9 */ bl Free__7CMemoryFPCv +lbl_8005065C: +/* 8005065C 0004D5BC 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80050660 0004D5C0 7F E3 FB 78 */ mr r3, r31 +/* 80050664 0004D5C4 38 04 FF FF */ addi r0, r4, -1 +/* 80050668 0004D5C8 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8005066C 0004D5CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80050670 0004D5D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80050674 0004D5D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80050678 0004D5D8 7C 08 03 A6 */ mtlr r0 +/* 8005067C 0004D5DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80050680 0004D5E0 4E 80 00 20 */ blr + +.global sub_80050684 +sub_80050684: +/* 80050684 0004D5E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80050688 0004D5E8 7C 08 02 A6 */ mflr r0 +/* 8005068C 0004D5EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80050690 0004D5F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80050694 0004D5F4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80050698 0004D5F8 7C 9E 23 78 */ mr r30, r4 +/* 8005069C 0004D5FC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800506A0 0004D600 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800506A4 0004D604 41 82 00 9C */ beq lbl_80050740 +/* 800506A8 0004D608 83 FD 00 04 */ lwz r31, 4(r29) +/* 800506AC 0004D60C 48 00 00 78 */ b lbl_80050724 +lbl_800506B0: +/* 800506B0 0004D610 7F E3 FB 78 */ mr r3, r31 +/* 800506B4 0004D614 83 FF 00 04 */ lwz r31, 4(r31) +/* 800506B8 0004D618 34 A3 00 08 */ addic. r5, r3, 8 +/* 800506BC 0004D61C 41 82 00 5C */ beq lbl_80050718 +/* 800506C0 0004D620 80 E5 00 00 */ lwz r7, 0(r5) +/* 800506C4 0004D624 38 80 00 00 */ li r4, 0 +/* 800506C8 0004D628 2C 07 00 00 */ cmpwi r7, 0 +/* 800506CC 0004D62C 40 81 00 44 */ ble lbl_80050710 +/* 800506D0 0004D630 2C 07 00 08 */ cmpwi r7, 8 +/* 800506D4 0004D634 38 C7 FF F8 */ addi r6, r7, -8 +/* 800506D8 0004D638 40 81 00 20 */ ble lbl_800506F8 +/* 800506DC 0004D63C 38 06 00 07 */ addi r0, r6, 7 +/* 800506E0 0004D640 54 00 E8 FE */ srwi r0, r0, 3 +/* 800506E4 0004D644 7C 09 03 A6 */ mtctr r0 +/* 800506E8 0004D648 2C 06 00 00 */ cmpwi r6, 0 +/* 800506EC 0004D64C 40 81 00 0C */ ble lbl_800506F8 +lbl_800506F0: +/* 800506F0 0004D650 38 84 00 08 */ addi r4, r4, 8 +/* 800506F4 0004D654 42 00 FF FC */ bdnz lbl_800506F0 +lbl_800506F8: +/* 800506F8 0004D658 7C 04 38 50 */ subf r0, r4, r7 +/* 800506FC 0004D65C 7C 09 03 A6 */ mtctr r0 +/* 80050700 0004D660 7C 04 38 00 */ cmpw r4, r7 +/* 80050704 0004D664 40 80 00 0C */ bge lbl_80050710 +lbl_80050708: +/* 80050708 0004D668 38 84 00 01 */ addi r4, r4, 1 +/* 8005070C 0004D66C 42 00 FF FC */ bdnz lbl_80050708 +lbl_80050710: +/* 80050710 0004D670 38 00 00 00 */ li r0, 0 +/* 80050714 0004D674 90 05 00 00 */ stw r0, 0(r5) +lbl_80050718: +/* 80050718 0004D678 28 03 00 00 */ cmplwi r3, 0 +/* 8005071C 0004D67C 41 82 00 08 */ beq lbl_80050724 +/* 80050720 0004D680 48 2C 52 11 */ bl Free__7CMemoryFPCv +lbl_80050724: +/* 80050724 0004D684 80 1D 00 08 */ lwz r0, 8(r29) +/* 80050728 0004D688 7C 1F 00 40 */ cmplw r31, r0 +/* 8005072C 0004D68C 40 82 FF 84 */ bne lbl_800506B0 +/* 80050730 0004D690 7F C0 07 35 */ extsh. r0, r30 +/* 80050734 0004D694 40 81 00 0C */ ble lbl_80050740 +/* 80050738 0004D698 7F A3 EB 78 */ mr r3, r29 +/* 8005073C 0004D69C 48 2C 51 F5 */ bl Free__7CMemoryFPCv +lbl_80050740: +/* 80050740 0004D6A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80050744 0004D6A4 7F A3 EB 78 */ mr r3, r29 +/* 80050748 0004D6A8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005074C 0004D6AC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80050750 0004D6B0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80050754 0004D6B4 7C 08 03 A6 */ mtlr r0 +/* 80050758 0004D6B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005075C 0004D6BC 4E 80 00 20 */ blr + +.global sub_80050760 +sub_80050760: +/* 80050760 0004D6C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80050764 0004D6C4 7C 08 02 A6 */ mflr r0 +/* 80050768 0004D6C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005076C 0004D6CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80050770 0004D6D0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80050774 0004D6D4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80050778 0004D6D8 7C 9D 23 78 */ mr r29, r4 +/* 8005077C 0004D6DC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80050780 0004D6E0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80050784 0004D6E4 41 82 00 4C */ beq lbl_800507D0 +/* 80050788 0004D6E8 83 FC 00 04 */ lwz r31, 4(r28) +/* 8005078C 0004D6EC 48 00 00 28 */ b lbl_800507B4 +lbl_80050790: +/* 80050790 0004D6F0 7F FE FB 78 */ mr r30, r31 +/* 80050794 0004D6F4 83 FF 00 04 */ lwz r31, 4(r31) +/* 80050798 0004D6F8 38 7E 00 08 */ addi r3, r30, 8 +/* 8005079C 0004D6FC 38 80 FF FF */ li r4, -1 +/* 800507A0 0004D700 48 19 65 21 */ bl __dt__Q220CActorModelParticles5CItemFv +/* 800507A4 0004D704 28 1E 00 00 */ cmplwi r30, 0 +/* 800507A8 0004D708 41 82 00 0C */ beq lbl_800507B4 +/* 800507AC 0004D70C 7F C3 F3 78 */ mr r3, r30 +/* 800507B0 0004D710 48 2C 51 81 */ bl Free__7CMemoryFPCv +lbl_800507B4: +/* 800507B4 0004D714 80 1C 00 08 */ lwz r0, 8(r28) +/* 800507B8 0004D718 7C 1F 00 40 */ cmplw r31, r0 +/* 800507BC 0004D71C 40 82 FF D4 */ bne lbl_80050790 +/* 800507C0 0004D720 7F A0 07 35 */ extsh. r0, r29 +/* 800507C4 0004D724 40 81 00 0C */ ble lbl_800507D0 +/* 800507C8 0004D728 7F 83 E3 78 */ mr r3, r28 +/* 800507CC 0004D72C 48 2C 51 65 */ bl Free__7CMemoryFPCv +lbl_800507D0: +/* 800507D0 0004D730 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800507D4 0004D734 7F 83 E3 78 */ mr r3, r28 +/* 800507D8 0004D738 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800507DC 0004D73C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800507E0 0004D740 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800507E4 0004D744 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800507E8 0004D748 7C 08 03 A6 */ mtlr r0 +/* 800507EC 0004D74C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800507F0 0004D750 4E 80 00 20 */ blr + +.global "__insertion_sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" +"__insertion_sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter": +/* 800507F4 0004D754 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800507F8 0004D758 7C 08 02 A6 */ mflr r0 +/* 800507FC 0004D75C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80050800 0004D760 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80050804 0004D764 7C 79 1B 78 */ mr r25, r3 +/* 80050808 0004D768 7C 9A 23 78 */ mr r26, r4 +/* 8005080C 0004D76C 7C BB 2B 78 */ mr r27, r5 +/* 80050810 0004D770 3B F9 00 04 */ addi r31, r25, 4 +/* 80050814 0004D774 48 00 00 4C */ b lbl_80050860 +lbl_80050818: +/* 80050818 0004D778 83 DF 00 00 */ lwz r30, 0(r31) +/* 8005081C 0004D77C 7F FC FB 78 */ mr r28, r31 +/* 80050820 0004D780 3B BF FF FC */ addi r29, r31, -4 +/* 80050824 0004D784 48 00 00 14 */ b lbl_80050838 +lbl_80050828: +/* 80050828 0004D788 80 1D 00 00 */ lwz r0, 0(r29) +/* 8005082C 0004D78C 3B BD FF FC */ addi r29, r29, -4 +/* 80050830 0004D790 90 1C 00 00 */ stw r0, 0(r28) +/* 80050834 0004D794 3B 9C FF FC */ addi r28, r28, -4 +lbl_80050838: +/* 80050838 0004D798 7C 19 E0 40 */ cmplw r25, r28 +/* 8005083C 0004D79C 40 80 00 1C */ bge lbl_80050858 +/* 80050840 0004D7A0 80 BD 00 00 */ lwz r5, 0(r29) +/* 80050844 0004D7A4 7F 63 DB 78 */ mr r3, r27 +/* 80050848 0004D7A8 7F C4 F3 78 */ mr r4, r30 +/* 8005084C 0004D7AC 4B FF EB B5 */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" +/* 80050850 0004D7B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80050854 0004D7B4 40 82 FF D4 */ bne lbl_80050828 +lbl_80050858: +/* 80050858 0004D7B8 93 DC 00 00 */ stw r30, 0(r28) +/* 8005085C 0004D7BC 3B FF 00 04 */ addi r31, r31, 4 +lbl_80050860: +/* 80050860 0004D7C0 7C 1F D0 40 */ cmplw r31, r26 +/* 80050864 0004D7C4 41 80 FF B4 */ blt lbl_80050818 +/* 80050868 0004D7C8 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8005086C 0004D7CC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80050870 0004D7D0 7C 08 03 A6 */ mtlr r0 +/* 80050874 0004D7D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80050878 0004D7D8 4E 80 00 20 */ blr + +.global sub_8005087c +sub_8005087c: +/* 8005087C 0004D7DC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80050880 0004D7E0 7C 08 02 A6 */ mflr r0 +/* 80050884 0004D7E4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80050888 0004D7E8 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8005088C 0004D7EC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80050890 0004D7F0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80050894 0004D7F4 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80050898 0004D7F8 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8005089C 0004D7FC 7C 7D 1B 78 */ mr r29, r3 +/* 800508A0 0004D800 7C 9E 23 78 */ mr r30, r4 +/* 800508A4 0004D804 80 84 00 3C */ lwz r4, 0x3c(r4) +/* 800508A8 0004D808 7C BF 2B 78 */ mr r31, r5 +/* 800508AC 0004D80C 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 800508B0 0004D810 7C 04 00 00 */ cmpw r4, r0 +/* 800508B4 0004D814 40 81 00 0C */ ble lbl_800508C0 +/* 800508B8 0004D818 38 00 00 01 */ li r0, 1 +/* 800508BC 0004D81C 48 00 00 2C */ b lbl_800508E8 +lbl_800508C0: +/* 800508C0 0004D820 40 82 00 24 */ bne lbl_800508E4 +/* 800508C4 0004D824 48 2B 58 91 */ bl GetIntensity__6CLightCFv +/* 800508C8 0004D828 FF E0 08 90 */ fmr f31, f1 +/* 800508CC 0004D82C 7F C3 F3 78 */ mr r3, r30 +/* 800508D0 0004D830 48 2B 58 85 */ bl GetIntensity__6CLightCFv +/* 800508D4 0004D834 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 800508D8 0004D838 7C 00 00 26 */ mfcr r0 +/* 800508DC 0004D83C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 800508E0 0004D840 48 00 00 08 */ b lbl_800508E8 +lbl_800508E4: +/* 800508E4 0004D844 38 00 00 00 */ li r0, 0 +lbl_800508E8: +/* 800508E8 0004D848 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800508EC 0004D84C 41 82 00 10 */ beq lbl_800508FC +/* 800508F0 0004D850 7F A3 EB 78 */ mr r3, r29 +/* 800508F4 0004D854 7F C4 F3 78 */ mr r4, r30 +/* 800508F8 0004D858 48 00 03 51 */ bl sub_80050c48 +lbl_800508FC: +/* 800508FC 0004D85C 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80050900 0004D860 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80050904 0004D864 7C 03 00 00 */ cmpw r3, r0 +/* 80050908 0004D868 40 81 00 0C */ ble lbl_80050914 +/* 8005090C 0004D86C 38 00 00 01 */ li r0, 1 +/* 80050910 0004D870 48 00 00 30 */ b lbl_80050940 +lbl_80050914: +/* 80050914 0004D874 40 82 00 28 */ bne lbl_8005093C +/* 80050918 0004D878 7F C3 F3 78 */ mr r3, r30 +/* 8005091C 0004D87C 48 2B 58 39 */ bl GetIntensity__6CLightCFv +/* 80050920 0004D880 FF E0 08 90 */ fmr f31, f1 +/* 80050924 0004D884 7F E3 FB 78 */ mr r3, r31 +/* 80050928 0004D888 48 2B 58 2D */ bl GetIntensity__6CLightCFv +/* 8005092C 0004D88C FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80050930 0004D890 7C 00 00 26 */ mfcr r0 +/* 80050934 0004D894 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 80050938 0004D898 48 00 00 08 */ b lbl_80050940 +lbl_8005093C: +/* 8005093C 0004D89C 38 00 00 00 */ li r0, 0 +lbl_80050940: +/* 80050940 0004D8A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80050944 0004D8A4 41 82 02 E0 */ beq lbl_80050C24 +/* 80050948 0004D8A8 7F E4 FB 78 */ mr r4, r31 +/* 8005094C 0004D8AC 38 61 00 08 */ addi r3, r1, 8 +/* 80050950 0004D8B0 4B FE AC 21 */ bl __ct__6CLightFCR6CLight +/* 80050954 0004D8B4 80 7E 00 00 */ lwz r3, 0(r30) +/* 80050958 0004D8B8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005095C 0004D8BC 90 7F 00 00 */ stw r3, 0(r31) +/* 80050960 0004D8C0 90 1F 00 04 */ stw r0, 4(r31) +/* 80050964 0004D8C4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80050968 0004D8C8 90 1F 00 08 */ stw r0, 8(r31) +/* 8005096C 0004D8CC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80050970 0004D8D0 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80050974 0004D8D4 90 7F 00 0C */ stw r3, 0xc(r31) +/* 80050978 0004D8D8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8005097C 0004D8DC 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80050980 0004D8E0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80050984 0004D8E4 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 80050988 0004D8E8 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8005098C 0004D8EC 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80050990 0004D8F0 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80050994 0004D8F4 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80050998 0004D8F8 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 8005099C 0004D8FC C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 800509A0 0004D900 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 800509A4 0004D904 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 800509A8 0004D908 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 800509AC 0004D90C C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 800509B0 0004D910 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 800509B4 0004D914 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 800509B8 0004D918 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 800509BC 0004D91C C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 800509C0 0004D920 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 800509C4 0004D924 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 800509C8 0004D928 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 800509CC 0004D92C 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 800509D0 0004D930 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 800509D4 0004D934 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 800509D8 0004D938 90 1F 00 40 */ stw r0, 0x40(r31) +/* 800509DC 0004D93C C0 1E 00 44 */ lfs f0, 0x44(r30) +/* 800509E0 0004D940 D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 800509E4 0004D944 C0 1E 00 48 */ lfs f0, 0x48(r30) +/* 800509E8 0004D948 D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 800509EC 0004D94C 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 800509F0 0004D950 98 1F 00 4C */ stb r0, 0x4c(r31) +/* 800509F4 0004D954 80 61 00 44 */ lwz r3, 0x44(r1) +/* 800509F8 0004D958 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 800509FC 0004D95C 7C 03 00 00 */ cmpw r3, r0 +/* 80050A00 0004D960 40 81 00 0C */ ble lbl_80050A0C +/* 80050A04 0004D964 38 00 00 01 */ li r0, 1 +/* 80050A08 0004D968 48 00 00 30 */ b lbl_80050A38 +lbl_80050A0C: +/* 80050A0C 0004D96C 40 82 00 28 */ bne lbl_80050A34 +/* 80050A10 0004D970 7F A3 EB 78 */ mr r3, r29 +/* 80050A14 0004D974 48 2B 57 41 */ bl GetIntensity__6CLightCFv +/* 80050A18 0004D978 FF E0 08 90 */ fmr f31, f1 +/* 80050A1C 0004D97C 38 61 00 08 */ addi r3, r1, 8 +/* 80050A20 0004D980 48 2B 57 35 */ bl GetIntensity__6CLightCFv +/* 80050A24 0004D984 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80050A28 0004D988 7C 00 00 26 */ mfcr r0 +/* 80050A2C 0004D98C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 80050A30 0004D990 48 00 00 08 */ b lbl_80050A38 +lbl_80050A34: +/* 80050A34 0004D994 38 00 00 00 */ li r0, 0 +lbl_80050A38: +/* 80050A38 0004D998 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80050A3C 0004D99C 41 82 01 48 */ beq lbl_80050B84 +/* 80050A40 0004D9A0 80 7D 00 00 */ lwz r3, 0(r29) +/* 80050A44 0004D9A4 80 1D 00 04 */ lwz r0, 4(r29) +/* 80050A48 0004D9A8 90 7E 00 00 */ stw r3, 0(r30) +/* 80050A4C 0004D9AC 90 1E 00 04 */ stw r0, 4(r30) +/* 80050A50 0004D9B0 80 1D 00 08 */ lwz r0, 8(r29) +/* 80050A54 0004D9B4 90 1E 00 08 */ stw r0, 8(r30) +/* 80050A58 0004D9B8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80050A5C 0004D9BC 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 80050A60 0004D9C0 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80050A64 0004D9C4 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80050A68 0004D9C8 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 80050A6C 0004D9CC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80050A70 0004D9D0 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 80050A74 0004D9D4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80050A78 0004D9D8 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 80050A7C 0004D9DC 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80050A80 0004D9E0 C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 80050A84 0004D9E4 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80050A88 0004D9E8 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 80050A8C 0004D9EC D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80050A90 0004D9F0 C0 1D 00 28 */ lfs f0, 0x28(r29) +/* 80050A94 0004D9F4 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 80050A98 0004D9F8 C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 80050A9C 0004D9FC D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 80050AA0 0004DA00 C0 1D 00 30 */ lfs f0, 0x30(r29) +/* 80050AA4 0004DA04 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 80050AA8 0004DA08 C0 1D 00 34 */ lfs f0, 0x34(r29) +/* 80050AAC 0004DA0C D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 80050AB0 0004DA10 C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 80050AB4 0004DA14 D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 80050AB8 0004DA18 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 80050ABC 0004DA1C 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 80050AC0 0004DA20 80 1D 00 40 */ lwz r0, 0x40(r29) +/* 80050AC4 0004DA24 90 1E 00 40 */ stw r0, 0x40(r30) +/* 80050AC8 0004DA28 C0 1D 00 44 */ lfs f0, 0x44(r29) +/* 80050ACC 0004DA2C D0 1E 00 44 */ stfs f0, 0x44(r30) +/* 80050AD0 0004DA30 C0 1D 00 48 */ lfs f0, 0x48(r29) +/* 80050AD4 0004DA34 D0 1E 00 48 */ stfs f0, 0x48(r30) +/* 80050AD8 0004DA38 88 1D 00 4C */ lbz r0, 0x4c(r29) +/* 80050ADC 0004DA3C 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 80050AE0 0004DA40 80 61 00 08 */ lwz r3, 8(r1) +/* 80050AE4 0004DA44 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80050AE8 0004DA48 90 7D 00 00 */ stw r3, 0(r29) +/* 80050AEC 0004DA4C 90 1D 00 04 */ stw r0, 4(r29) +/* 80050AF0 0004DA50 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80050AF4 0004DA54 90 1D 00 08 */ stw r0, 8(r29) +/* 80050AF8 0004DA58 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80050AFC 0004DA5C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80050B00 0004DA60 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80050B04 0004DA64 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80050B08 0004DA68 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80050B0C 0004DA6C 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80050B10 0004DA70 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80050B14 0004DA74 90 1D 00 18 */ stw r0, 0x18(r29) +/* 80050B18 0004DA78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80050B1C 0004DA7C 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 80050B20 0004DA80 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80050B24 0004DA84 D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 80050B28 0004DA88 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80050B2C 0004DA8C D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 80050B30 0004DA90 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80050B34 0004DA94 D0 1D 00 28 */ stfs f0, 0x28(r29) +/* 80050B38 0004DA98 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80050B3C 0004DA9C D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 80050B40 0004DAA0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80050B44 0004DAA4 D0 1D 00 30 */ stfs f0, 0x30(r29) +/* 80050B48 0004DAA8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80050B4C 0004DAAC D0 1D 00 34 */ stfs f0, 0x34(r29) +/* 80050B50 0004DAB0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80050B54 0004DAB4 D0 1D 00 38 */ stfs f0, 0x38(r29) +/* 80050B58 0004DAB8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80050B5C 0004DABC 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 80050B60 0004DAC0 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80050B64 0004DAC4 90 1D 00 40 */ stw r0, 0x40(r29) +/* 80050B68 0004DAC8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80050B6C 0004DACC D0 1D 00 44 */ stfs f0, 0x44(r29) +/* 80050B70 0004DAD0 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80050B74 0004DAD4 D0 1D 00 48 */ stfs f0, 0x48(r29) +/* 80050B78 0004DAD8 88 01 00 54 */ lbz r0, 0x54(r1) +/* 80050B7C 0004DADC 98 1D 00 4C */ stb r0, 0x4c(r29) +/* 80050B80 0004DAE0 48 00 00 A4 */ b lbl_80050C24 +lbl_80050B84: +/* 80050B84 0004DAE4 80 61 00 08 */ lwz r3, 8(r1) +/* 80050B88 0004DAE8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80050B8C 0004DAEC 90 7E 00 00 */ stw r3, 0(r30) +/* 80050B90 0004DAF0 90 1E 00 04 */ stw r0, 4(r30) +/* 80050B94 0004DAF4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80050B98 0004DAF8 90 1E 00 08 */ stw r0, 8(r30) +/* 80050B9C 0004DAFC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80050BA0 0004DB00 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80050BA4 0004DB04 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80050BA8 0004DB08 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80050BAC 0004DB0C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80050BB0 0004DB10 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80050BB4 0004DB14 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80050BB8 0004DB18 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80050BBC 0004DB1C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80050BC0 0004DB20 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80050BC4 0004DB24 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80050BC8 0004DB28 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80050BCC 0004DB2C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80050BD0 0004DB30 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80050BD4 0004DB34 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80050BD8 0004DB38 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 80050BDC 0004DB3C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80050BE0 0004DB40 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 80050BE4 0004DB44 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80050BE8 0004DB48 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 80050BEC 0004DB4C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80050BF0 0004DB50 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 80050BF4 0004DB54 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80050BF8 0004DB58 D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 80050BFC 0004DB5C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80050C00 0004DB60 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 80050C04 0004DB64 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80050C08 0004DB68 90 1E 00 40 */ stw r0, 0x40(r30) +/* 80050C0C 0004DB6C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80050C10 0004DB70 D0 1E 00 44 */ stfs f0, 0x44(r30) +/* 80050C14 0004DB74 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80050C18 0004DB78 D0 1E 00 48 */ stfs f0, 0x48(r30) +/* 80050C1C 0004DB7C 88 01 00 54 */ lbz r0, 0x54(r1) +/* 80050C20 0004DB80 98 1E 00 4C */ stb r0, 0x4c(r30) +lbl_80050C24: +/* 80050C24 0004DB84 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80050C28 0004DB88 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80050C2C 0004DB8C CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80050C30 0004DB90 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80050C34 0004DB94 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80050C38 0004DB98 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80050C3C 0004DB9C 7C 08 03 A6 */ mtlr r0 +/* 80050C40 0004DBA0 38 21 00 80 */ addi r1, r1, 0x80 +/* 80050C44 0004DBA4 4E 80 00 20 */ blr + +.global sub_80050c48 +sub_80050c48: +/* 80050C48 0004DBA8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80050C4C 0004DBAC 7C 08 02 A6 */ mflr r0 +/* 80050C50 0004DBB0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80050C54 0004DBB4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80050C58 0004DBB8 7C 9F 23 78 */ mr r31, r4 +/* 80050C5C 0004DBBC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80050C60 0004DBC0 7C 7E 1B 78 */ mr r30, r3 +/* 80050C64 0004DBC4 7F C4 F3 78 */ mr r4, r30 +/* 80050C68 0004DBC8 38 61 00 08 */ addi r3, r1, 8 +/* 80050C6C 0004DBCC 4B FE A9 05 */ bl __ct__6CLightFCR6CLight +/* 80050C70 0004DBD0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80050C74 0004DBD4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80050C78 0004DBD8 90 7E 00 00 */ stw r3, 0(r30) +/* 80050C7C 0004DBDC 90 1E 00 04 */ stw r0, 4(r30) +/* 80050C80 0004DBE0 80 1F 00 08 */ lwz r0, 8(r31) +/* 80050C84 0004DBE4 90 1E 00 08 */ stw r0, 8(r30) +/* 80050C88 0004DBE8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80050C8C 0004DBEC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80050C90 0004DBF0 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80050C94 0004DBF4 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80050C98 0004DBF8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80050C9C 0004DBFC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80050CA0 0004DC00 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80050CA4 0004DC04 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80050CA8 0004DC08 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80050CAC 0004DC0C 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80050CB0 0004DC10 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 80050CB4 0004DC14 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80050CB8 0004DC18 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 80050CBC 0004DC1C D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80050CC0 0004DC20 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 80050CC4 0004DC24 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 80050CC8 0004DC28 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 80050CCC 0004DC2C D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 80050CD0 0004DC30 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 80050CD4 0004DC34 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 80050CD8 0004DC38 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 80050CDC 0004DC3C D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 80050CE0 0004DC40 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80050CE4 0004DC44 D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 80050CE8 0004DC48 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80050CEC 0004DC4C 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 80050CF0 0004DC50 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 80050CF4 0004DC54 90 1E 00 40 */ stw r0, 0x40(r30) +/* 80050CF8 0004DC58 C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 80050CFC 0004DC5C D0 1E 00 44 */ stfs f0, 0x44(r30) +/* 80050D00 0004DC60 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 80050D04 0004DC64 D0 1E 00 48 */ stfs f0, 0x48(r30) +/* 80050D08 0004DC68 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80050D0C 0004DC6C 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 80050D10 0004DC70 80 61 00 08 */ lwz r3, 8(r1) +/* 80050D14 0004DC74 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80050D18 0004DC78 90 7F 00 00 */ stw r3, 0(r31) +/* 80050D1C 0004DC7C 90 1F 00 04 */ stw r0, 4(r31) +/* 80050D20 0004DC80 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80050D24 0004DC84 90 1F 00 08 */ stw r0, 8(r31) +/* 80050D28 0004DC88 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80050D2C 0004DC8C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80050D30 0004DC90 90 7F 00 0C */ stw r3, 0xc(r31) +/* 80050D34 0004DC94 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80050D38 0004DC98 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80050D3C 0004DC9C 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80050D40 0004DCA0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80050D44 0004DCA4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80050D48 0004DCA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80050D4C 0004DCAC 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80050D50 0004DCB0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80050D54 0004DCB4 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80050D58 0004DCB8 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80050D5C 0004DCBC D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80050D60 0004DCC0 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80050D64 0004DCC4 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 80050D68 0004DCC8 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80050D6C 0004DCCC D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 80050D70 0004DCD0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80050D74 0004DCD4 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 80050D78 0004DCD8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80050D7C 0004DCDC D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 80050D80 0004DCE0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80050D84 0004DCE4 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 80050D88 0004DCE8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80050D8C 0004DCEC 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 80050D90 0004DCF0 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80050D94 0004DCF4 90 1F 00 40 */ stw r0, 0x40(r31) +/* 80050D98 0004DCF8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80050D9C 0004DCFC D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 80050DA0 0004DD00 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80050DA4 0004DD04 D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 80050DA8 0004DD08 88 01 00 54 */ lbz r0, 0x54(r1) +/* 80050DAC 0004DD0C 98 1F 00 4C */ stb r0, 0x4c(r31) +/* 80050DB0 0004DD10 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80050DB4 0004DD14 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80050DB8 0004DD18 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80050DBC 0004DD1C 7C 08 03 A6 */ mtlr r0 +/* 80050DC0 0004DD20 38 21 00 60 */ addi r1, r1, 0x60 +/* 80050DC4 0004DD24 4E 80 00 20 */ blr + +.global "__sort3__4rstlFRPC9CGameAreaRPC9CGameAreaRPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" +"__sort3__4rstlFRPC9CGameAreaRPC9CGameAreaRPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter": +/* 80050DC8 0004DD28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80050DCC 0004DD2C 7C 08 02 A6 */ mflr r0 +/* 80050DD0 0004DD30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80050DD4 0004DD34 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80050DD8 0004DD38 7C 9C 23 78 */ mr r28, r4 +/* 80050DDC 0004DD3C 7C 7B 1B 78 */ mr r27, r3 +/* 80050DE0 0004DD40 7C BD 2B 78 */ mr r29, r5 +/* 80050DE4 0004DD44 7C DE 33 78 */ mr r30, r6 +/* 80050DE8 0004DD48 7F C3 F3 78 */ mr r3, r30 +/* 80050DEC 0004DD4C 80 84 00 00 */ lwz r4, 0(r4) +/* 80050DF0 0004DD50 80 BB 00 00 */ lwz r5, 0(r27) +/* 80050DF4 0004DD54 4B FF E6 0D */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" +/* 80050DF8 0004DD58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80050DFC 0004DD5C 41 82 00 14 */ beq lbl_80050E10 +/* 80050E00 0004DD60 80 7B 00 00 */ lwz r3, 0(r27) +/* 80050E04 0004DD64 80 1C 00 00 */ lwz r0, 0(r28) +/* 80050E08 0004DD68 90 1B 00 00 */ stw r0, 0(r27) +/* 80050E0C 0004DD6C 90 7C 00 00 */ stw r3, 0(r28) +lbl_80050E10: +/* 80050E10 0004DD70 80 9D 00 00 */ lwz r4, 0(r29) +/* 80050E14 0004DD74 7F C3 F3 78 */ mr r3, r30 +/* 80050E18 0004DD78 80 BC 00 00 */ lwz r5, 0(r28) +/* 80050E1C 0004DD7C 4B FF E5 E5 */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" +/* 80050E20 0004DD80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80050E24 0004DD84 41 82 00 3C */ beq lbl_80050E60 +/* 80050E28 0004DD88 83 FD 00 00 */ lwz r31, 0(r29) +/* 80050E2C 0004DD8C 7F C3 F3 78 */ mr r3, r30 +/* 80050E30 0004DD90 80 1C 00 00 */ lwz r0, 0(r28) +/* 80050E34 0004DD94 7F E4 FB 78 */ mr r4, r31 +/* 80050E38 0004DD98 90 1D 00 00 */ stw r0, 0(r29) +/* 80050E3C 0004DD9C 80 BB 00 00 */ lwz r5, 0(r27) +/* 80050E40 0004DDA0 4B FF E5 C1 */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" +/* 80050E44 0004DDA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80050E48 0004DDA8 41 82 00 14 */ beq lbl_80050E5C +/* 80050E4C 0004DDAC 80 1B 00 00 */ lwz r0, 0(r27) +/* 80050E50 0004DDB0 90 1C 00 00 */ stw r0, 0(r28) +/* 80050E54 0004DDB4 93 FB 00 00 */ stw r31, 0(r27) +/* 80050E58 0004DDB8 48 00 00 08 */ b lbl_80050E60 +lbl_80050E5C: +/* 80050E5C 0004DDBC 93 FC 00 00 */ stw r31, 0(r28) +lbl_80050E60: +/* 80050E60 0004DDC0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80050E64 0004DDC4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80050E68 0004DDC8 7C 08 03 A6 */ mtlr r0 +/* 80050E6C 0004DDCC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80050E70 0004DDD0 4E 80 00 20 */ blr + +.global "__insertion_sort,Q24rstl17rmemory_allocator>,15CLightPredicate>__4rstlFQ24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>15CLightPredicate" +"__insertion_sort,Q24rstl17rmemory_allocator>,15CLightPredicate>__4rstlFQ24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>15CLightPredicate": +/* 80050E74 0004DDD4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80050E78 0004DDD8 7C 08 02 A6 */ mflr r0 +/* 80050E7C 0004DDDC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80050E80 0004DDE0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80050E84 0004DDE4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80050E88 0004DDE8 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 80050E8C 0004DDEC 7C 7B 1B 78 */ mr r27, r3 +/* 80050E90 0004DDF0 7C 9C 23 78 */ mr r28, r4 +/* 80050E94 0004DDF4 83 E3 00 00 */ lwz r31, 0(r3) +/* 80050E98 0004DDF8 3B FF 00 50 */ addi r31, r31, 0x50 +/* 80050E9C 0004DDFC 48 00 01 C0 */ b lbl_8005105C +lbl_80050EA0: +/* 80050EA0 0004DE00 7F E4 FB 78 */ mr r4, r31 +/* 80050EA4 0004DE04 38 61 00 08 */ addi r3, r1, 8 +/* 80050EA8 0004DE08 4B FE A6 C9 */ bl __ct__6CLightFCR6CLight +/* 80050EAC 0004DE0C 7F FD FB 78 */ mr r29, r31 +/* 80050EB0 0004DE10 3B DF FF B0 */ addi r30, r31, -80 +/* 80050EB4 0004DE14 48 00 00 AC */ b lbl_80050F60 +lbl_80050EB8: +/* 80050EB8 0004DE18 80 7E 00 00 */ lwz r3, 0(r30) +/* 80050EBC 0004DE1C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80050EC0 0004DE20 90 7D 00 00 */ stw r3, 0(r29) +/* 80050EC4 0004DE24 90 1D 00 04 */ stw r0, 4(r29) +/* 80050EC8 0004DE28 80 1E 00 08 */ lwz r0, 8(r30) +/* 80050ECC 0004DE2C 90 1D 00 08 */ stw r0, 8(r29) +/* 80050ED0 0004DE30 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80050ED4 0004DE34 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80050ED8 0004DE38 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80050EDC 0004DE3C 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80050EE0 0004DE40 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80050EE4 0004DE44 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80050EE8 0004DE48 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 80050EEC 0004DE4C 90 1D 00 18 */ stw r0, 0x18(r29) +/* 80050EF0 0004DE50 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80050EF4 0004DE54 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 80050EF8 0004DE58 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80050EFC 0004DE5C D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 80050F00 0004DE60 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 80050F04 0004DE64 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 80050F08 0004DE68 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 80050F0C 0004DE6C D0 1D 00 28 */ stfs f0, 0x28(r29) +/* 80050F10 0004DE70 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 80050F14 0004DE74 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 80050F18 0004DE78 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 80050F1C 0004DE7C D0 1D 00 30 */ stfs f0, 0x30(r29) +/* 80050F20 0004DE80 C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 80050F24 0004DE84 D0 1D 00 34 */ stfs f0, 0x34(r29) +/* 80050F28 0004DE88 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 80050F2C 0004DE8C D0 1D 00 38 */ stfs f0, 0x38(r29) +/* 80050F30 0004DE90 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80050F34 0004DE94 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 80050F38 0004DE98 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 80050F3C 0004DE9C 90 1D 00 40 */ stw r0, 0x40(r29) +/* 80050F40 0004DEA0 C0 1E 00 44 */ lfs f0, 0x44(r30) +/* 80050F44 0004DEA4 D0 1D 00 44 */ stfs f0, 0x44(r29) +/* 80050F48 0004DEA8 C0 1E 00 48 */ lfs f0, 0x48(r30) +/* 80050F4C 0004DEAC D0 1D 00 48 */ stfs f0, 0x48(r29) +/* 80050F50 0004DEB0 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 80050F54 0004DEB4 3B DE FF B0 */ addi r30, r30, -80 +/* 80050F58 0004DEB8 98 1D 00 4C */ stb r0, 0x4c(r29) +/* 80050F5C 0004DEBC 3B BD FF B0 */ addi r29, r29, -80 +lbl_80050F60: +/* 80050F60 0004DEC0 80 1B 00 00 */ lwz r0, 0(r27) +/* 80050F64 0004DEC4 7C 00 E8 40 */ cmplw r0, r29 +/* 80050F68 0004DEC8 40 80 00 50 */ bge lbl_80050FB8 +/* 80050F6C 0004DECC 80 61 00 44 */ lwz r3, 0x44(r1) +/* 80050F70 0004DED0 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80050F74 0004DED4 7C 03 00 00 */ cmpw r3, r0 +/* 80050F78 0004DED8 40 81 00 0C */ ble lbl_80050F84 +/* 80050F7C 0004DEDC 38 00 00 01 */ li r0, 1 +/* 80050F80 0004DEE0 48 00 00 30 */ b lbl_80050FB0 +lbl_80050F84: +/* 80050F84 0004DEE4 40 82 00 28 */ bne lbl_80050FAC +/* 80050F88 0004DEE8 7F C3 F3 78 */ mr r3, r30 +/* 80050F8C 0004DEEC 48 2B 51 C9 */ bl GetIntensity__6CLightCFv +/* 80050F90 0004DEF0 FF E0 08 90 */ fmr f31, f1 +/* 80050F94 0004DEF4 38 61 00 08 */ addi r3, r1, 8 +/* 80050F98 0004DEF8 48 2B 51 BD */ bl GetIntensity__6CLightCFv +/* 80050F9C 0004DEFC FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80050FA0 0004DF00 7C 00 00 26 */ mfcr r0 +/* 80050FA4 0004DF04 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 80050FA8 0004DF08 48 00 00 08 */ b lbl_80050FB0 +lbl_80050FAC: +/* 80050FAC 0004DF0C 38 00 00 00 */ li r0, 0 +lbl_80050FB0: +/* 80050FB0 0004DF10 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80050FB4 0004DF14 40 82 FF 04 */ bne lbl_80050EB8 +lbl_80050FB8: +/* 80050FB8 0004DF18 80 61 00 08 */ lwz r3, 8(r1) +/* 80050FBC 0004DF1C 3B FF 00 50 */ addi r31, r31, 0x50 +/* 80050FC0 0004DF20 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80050FC4 0004DF24 90 7D 00 00 */ stw r3, 0(r29) +/* 80050FC8 0004DF28 90 1D 00 04 */ stw r0, 4(r29) +/* 80050FCC 0004DF2C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80050FD0 0004DF30 90 1D 00 08 */ stw r0, 8(r29) +/* 80050FD4 0004DF34 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80050FD8 0004DF38 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80050FDC 0004DF3C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80050FE0 0004DF40 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80050FE4 0004DF44 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80050FE8 0004DF48 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80050FEC 0004DF4C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80050FF0 0004DF50 90 1D 00 18 */ stw r0, 0x18(r29) +/* 80050FF4 0004DF54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80050FF8 0004DF58 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 80050FFC 0004DF5C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80051000 0004DF60 D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 80051004 0004DF64 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80051008 0004DF68 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 8005100C 0004DF6C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80051010 0004DF70 D0 1D 00 28 */ stfs f0, 0x28(r29) +/* 80051014 0004DF74 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80051018 0004DF78 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 8005101C 0004DF7C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80051020 0004DF80 D0 1D 00 30 */ stfs f0, 0x30(r29) +/* 80051024 0004DF84 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80051028 0004DF88 D0 1D 00 34 */ stfs f0, 0x34(r29) +/* 8005102C 0004DF8C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80051030 0004DF90 D0 1D 00 38 */ stfs f0, 0x38(r29) +/* 80051034 0004DF94 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80051038 0004DF98 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 8005103C 0004DF9C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80051040 0004DFA0 90 1D 00 40 */ stw r0, 0x40(r29) +/* 80051044 0004DFA4 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80051048 0004DFA8 D0 1D 00 44 */ stfs f0, 0x44(r29) +/* 8005104C 0004DFAC C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80051050 0004DFB0 D0 1D 00 48 */ stfs f0, 0x48(r29) +/* 80051054 0004DFB4 88 01 00 54 */ lbz r0, 0x54(r1) +/* 80051058 0004DFB8 98 1D 00 4C */ stb r0, 0x4c(r29) +lbl_8005105C: +/* 8005105C 0004DFBC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80051060 0004DFC0 7C 1F 00 40 */ cmplw r31, r0 +/* 80051064 0004DFC4 41 80 FE 3C */ blt lbl_80050EA0 +/* 80051068 0004DFC8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8005106C 0004DFCC CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80051070 0004DFD0 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 80051074 0004DFD4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80051078 0004DFD8 7C 08 03 A6 */ mtlr r0 +/* 8005107C 0004DFDC 38 21 00 80 */ addi r1, r1, 0x80 +/* 80051080 0004DFE0 4E 80 00 20 */ blr + +.global GetAreaId__7CEntityCFv +GetAreaId__7CEntityCFv: +/* 80051084 0004DFE4 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80051088 0004DFE8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8005108C 0004DFEC 41 82 00 0C */ beq lbl_80051098 +/* 80051090 0004DFF0 38 8D A3 90 */ addi r4, r13, lbl_805A8F50@sda21 +/* 80051094 0004DFF4 48 00 00 08 */ b lbl_8005109C +lbl_80051098: +/* 80051098 0004DFF8 38 84 00 04 */ addi r4, r4, 4 +lbl_8005109C: +/* 8005109C 0004DFFC 80 04 00 00 */ lwz r0, 0(r4) +/* 800510A0 0004E000 90 03 00 00 */ stw r0, 0(r3) +/* 800510A4 0004E004 4E 80 00 20 */ blr + +.global SetActive__7CEntityFb +SetActive__7CEntityFb: +/* 800510A8 0004E008 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800510AC 0004E00C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800510B0 0004E010 98 03 00 30 */ stb r0, 0x30(r3) +/* 800510B4 0004E014 4E 80 00 20 */ blr + +.global Think__7CEntityFfR13CStateManager +Think__7CEntityFfR13CStateManager: +/* 800510B8 0004E018 4E 80 00 20 */ blr + +.global PreThink__7CEntityFfR13CStateManager +PreThink__7CEntityFfR13CStateManager: +/* 800510BC 0004E01C 4E 80 00 20 */ blr + +.global SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage: +/* 800510C0 0004E020 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800510C4 0004E024 7C 08 02 A6 */ mflr r0 +/* 800510C8 0004E028 90 01 00 34 */ stw r0, 0x34(r1) +/* 800510CC 0004E02C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800510D0 0004E030 7C 7B 1B 78 */ mr r27, r3 +/* 800510D4 0004E034 7C 9C 23 78 */ mr r28, r4 +/* 800510D8 0004E038 7C BD 2B 78 */ mr r29, r5 +/* 800510DC 0004E03C 7C DE 33 78 */ mr r30, r6 +/* 800510E0 0004E040 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 800510E4 0004E044 48 00 00 4C */ b lbl_80051130 +lbl_800510E8: +/* 800510E8 0004E048 80 1F 00 00 */ lwz r0, 0(r31) +/* 800510EC 0004E04C 7C 1C 00 00 */ cmpw r28, r0 +/* 800510F0 0004E050 40 82 00 3C */ bne lbl_8005112C +/* 800510F4 0004E054 80 1F 00 04 */ lwz r0, 4(r31) +/* 800510F8 0004E058 7C 1E 00 00 */ cmpw r30, r0 +/* 800510FC 0004E05C 41 82 00 30 */ beq lbl_8005112C +/* 80051100 0004E060 80 1F 00 08 */ lwz r0, 8(r31) +/* 80051104 0004E064 7F A3 EB 78 */ mr r3, r29 +/* 80051108 0004E068 7F 87 E3 78 */ mr r7, r28 +/* 8005110C 0004E06C 38 81 00 0C */ addi r4, r1, 0xc +/* 80051110 0004E070 90 01 00 10 */ stw r0, 0x10(r1) +/* 80051114 0004E074 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80051118 0004E078 A0 1B 00 08 */ lhz r0, 8(r27) +/* 8005111C 0004E07C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80051120 0004E080 B0 01 00 08 */ sth r0, 8(r1) +/* 80051124 0004E084 80 DF 00 04 */ lwz r6, 4(r31) +/* 80051128 0004E088 4B FF 6A 15 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState +lbl_8005112C: +/* 8005112C 0004E08C 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80051130: +/* 80051130 0004E090 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 80051134 0004E094 80 7B 00 2C */ lwz r3, 0x2c(r27) +/* 80051138 0004E098 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005113C 0004E09C 7C 03 02 14 */ add r0, r3, r0 +/* 80051140 0004E0A0 7C 1F 00 40 */ cmplw r31, r0 +/* 80051144 0004E0A4 40 82 FF A4 */ bne lbl_800510E8 +/* 80051148 0004E0A8 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8005114C 0004E0AC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80051150 0004E0B0 7C 08 03 A6 */ mtlr r0 +/* 80051154 0004E0B4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80051158 0004E0B8 4E 80 00 20 */ blr + +.global AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8005115C 0004E0BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80051160 0004E0C0 7C 08 02 A6 */ mflr r0 +/* 80051164 0004E0C4 2C 04 00 04 */ cmpwi r4, 4 +/* 80051168 0004E0C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005116C 0004E0CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80051170 0004E0D0 7C DF 33 78 */ mr r31, r6 +/* 80051174 0004E0D4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80051178 0004E0D8 7C 7E 1B 78 */ mr r30, r3 +/* 8005117C 0004E0DC 41 82 00 58 */ beq lbl_800511D4 +/* 80051180 0004E0E0 40 80 00 10 */ bge lbl_80051190 +/* 80051184 0004E0E4 2C 04 00 01 */ cmpwi r4, 1 +/* 80051188 0004E0E8 41 82 00 14 */ beq lbl_8005119C +/* 8005118C 0004E0EC 48 00 00 D0 */ b lbl_8005125C +lbl_80051190: +/* 80051190 0004E0F0 2C 04 00 11 */ cmpwi r4, 0x11 +/* 80051194 0004E0F4 41 82 00 78 */ beq lbl_8005120C +/* 80051198 0004E0F8 48 00 00 C4 */ b lbl_8005125C +lbl_8005119C: +/* 8005119C 0004E0FC 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800511A0 0004E100 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800511A4 0004E104 40 82 00 B8 */ bne lbl_8005125C +/* 800511A8 0004E108 81 83 00 00 */ lwz r12, 0(r3) +/* 800511AC 0004E10C 38 80 00 01 */ li r4, 1 +/* 800511B0 0004E110 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800511B4 0004E114 7D 89 03 A6 */ mtctr r12 +/* 800511B8 0004E118 4E 80 04 21 */ bctrl +/* 800511BC 0004E11C 7F C3 F3 78 */ mr r3, r30 +/* 800511C0 0004E120 7F E5 FB 78 */ mr r5, r31 +/* 800511C4 0004E124 38 80 00 00 */ li r4, 0 +/* 800511C8 0004E128 38 C0 FF FF */ li r6, -1 +/* 800511CC 0004E12C 4B FF FE F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800511D0 0004E130 48 00 00 8C */ b lbl_8005125C +lbl_800511D4: +/* 800511D4 0004E134 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800511D8 0004E138 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800511DC 0004E13C 41 82 00 80 */ beq lbl_8005125C +/* 800511E0 0004E140 81 83 00 00 */ lwz r12, 0(r3) +/* 800511E4 0004E144 38 80 00 00 */ li r4, 0 +/* 800511E8 0004E148 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800511EC 0004E14C 7D 89 03 A6 */ mtctr r12 +/* 800511F0 0004E150 4E 80 04 21 */ bctrl +/* 800511F4 0004E154 7F C3 F3 78 */ mr r3, r30 +/* 800511F8 0004E158 7F E5 FB 78 */ mr r5, r31 +/* 800511FC 0004E15C 38 80 00 05 */ li r4, 5 +/* 80051200 0004E160 38 C0 FF FF */ li r6, -1 +/* 80051204 0004E164 4B FF FE BD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80051208 0004E168 48 00 00 54 */ b lbl_8005125C +lbl_8005120C: +/* 8005120C 0004E16C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80051210 0004E170 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80051214 0004E174 40 82 00 28 */ bne lbl_8005123C +/* 80051218 0004E178 A0 05 00 00 */ lhz r0, 0(r5) +/* 8005121C 0004E17C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80051220 0004E180 38 80 00 01 */ li r4, 1 +/* 80051224 0004E184 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80051228 0004E188 81 83 00 00 */ lwz r12, 0(r3) +/* 8005122C 0004E18C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80051230 0004E190 7D 89 03 A6 */ mtctr r12 +/* 80051234 0004E194 4E 80 04 21 */ bctrl +/* 80051238 0004E198 48 00 00 24 */ b lbl_8005125C +lbl_8005123C: +/* 8005123C 0004E19C A0 05 00 00 */ lhz r0, 0(r5) +/* 80051240 0004E1A0 38 A1 00 08 */ addi r5, r1, 8 +/* 80051244 0004E1A4 38 80 00 04 */ li r4, 4 +/* 80051248 0004E1A8 B0 01 00 08 */ sth r0, 8(r1) +/* 8005124C 0004E1AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80051250 0004E1B0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80051254 0004E1B4 7D 89 03 A6 */ mtctr r12 +/* 80051258 0004E1B8 4E 80 04 21 */ bctrl +lbl_8005125C: +/* 8005125C 0004E1BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80051260 0004E1C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051264 0004E1C4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80051268 0004E1C8 7C 08 03 A6 */ mtlr r0 +/* 8005126C 0004E1CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80051270 0004E1D0 4E 80 00 20 */ blr + +.global __dt__7CEntityFv +__dt__7CEntityFv: +/* 80051274 0004E1D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80051278 0004E1D8 7C 08 02 A6 */ mflr r0 +/* 8005127C 0004E1DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80051280 0004E1E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80051284 0004E1E4 7C 9F 23 78 */ mr r31, r4 +/* 80051288 0004E1E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005128C 0004E1EC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80051290 0004E1F0 41 82 00 78 */ beq lbl_80051308 +/* 80051294 0004E1F4 3C 60 80 3E */ lis r3, lbl_803D9E30@ha +/* 80051298 0004E1F8 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8005129C 0004E1FC 38 03 9E 30 */ addi r0, r3, lbl_803D9E30@l +/* 800512A0 0004E200 90 1E 00 00 */ stw r0, 0(r30) +/* 800512A4 0004E204 41 82 00 44 */ beq lbl_800512E8 +/* 800512A8 0004E208 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 800512AC 0004E20C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 800512B0 0004E210 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800512B4 0004E214 90 61 00 0C */ stw r3, 0xc(r1) +/* 800512B8 0004E218 7C 64 1B 78 */ mr r4, r3 +/* 800512BC 0004E21C 7C 03 02 14 */ add r0, r3, r0 +/* 800512C0 0004E220 90 61 00 08 */ stw r3, 8(r1) +/* 800512C4 0004E224 90 01 00 14 */ stw r0, 0x14(r1) +/* 800512C8 0004E228 90 01 00 10 */ stw r0, 0x10(r1) +/* 800512CC 0004E22C 48 00 00 08 */ b lbl_800512D4 +lbl_800512D0: +/* 800512D0 0004E230 38 84 00 0C */ addi r4, r4, 0xc +lbl_800512D4: +/* 800512D4 0004E234 7C 04 00 40 */ cmplw r4, r0 +/* 800512D8 0004E238 40 82 FF F8 */ bne lbl_800512D0 +/* 800512DC 0004E23C 28 03 00 00 */ cmplwi r3, 0 +/* 800512E0 0004E240 41 82 00 08 */ beq lbl_800512E8 +/* 800512E4 0004E244 48 2C 46 4D */ bl Free__7CMemoryFPCv +lbl_800512E8: +/* 800512E8 0004E248 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 800512EC 0004E24C 41 82 00 0C */ beq lbl_800512F8 +/* 800512F0 0004E250 38 7E 00 10 */ addi r3, r30, 0x10 +/* 800512F4 0004E254 48 2E C7 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800512F8: +/* 800512F8 0004E258 7F E0 07 35 */ extsh. r0, r31 +/* 800512FC 0004E25C 40 81 00 0C */ ble lbl_80051308 +/* 80051300 0004E260 7F C3 F3 78 */ mr r3, r30 +/* 80051304 0004E264 48 2C 46 2D */ bl Free__7CMemoryFPCv +lbl_80051308: +/* 80051308 0004E268 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005130C 0004E26C 7F C3 F3 78 */ mr r3, r30 +/* 80051310 0004E270 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051314 0004E274 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80051318 0004E278 7C 08 03 A6 */ mtlr r0 +/* 8005131C 0004E27C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80051320 0004E280 4E 80 00 20 */ blr + +.global "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 80051324 0004E284 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80051328 0004E288 7C 08 02 A6 */ mflr r0 +/* 8005132C 0004E28C 3D 00 80 3E */ lis r8, lbl_803D9E30@ha +/* 80051330 0004E290 90 01 00 24 */ stw r0, 0x24(r1) +/* 80051334 0004E294 38 08 9E 30 */ addi r0, r8, lbl_803D9E30@l +/* 80051338 0004E298 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005133C 0004E29C 7C DF 33 78 */ mr r31, r6 +/* 80051340 0004E2A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80051344 0004E2A4 7C 7E 1B 78 */ mr r30, r3 +/* 80051348 0004E2A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005134C 0004E2AC 7C BD 2B 78 */ mr r29, r5 +/* 80051350 0004E2B0 90 03 00 00 */ stw r0, 0(r3) +/* 80051354 0004E2B4 38 7E 00 10 */ addi r3, r30, 0x10 +/* 80051358 0004E2B8 80 05 00 00 */ lwz r0, 0(r5) +/* 8005135C 0004E2BC 90 1E 00 04 */ stw r0, 4(r30) +/* 80051360 0004E2C0 A0 04 00 00 */ lhz r0, 0(r4) +/* 80051364 0004E2C4 7C E4 3B 78 */ mr r4, r7 +/* 80051368 0004E2C8 B0 1E 00 08 */ sth r0, 8(r30) +/* 8005136C 0004E2CC 80 05 00 14 */ lwz r0, 0x14(r5) +/* 80051370 0004E2D0 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80051374 0004E2D4 48 2E CD ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80051378 0004E2D8 80 1D 00 08 */ lwz r0, 8(r29) +/* 8005137C 0004E2DC 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80051380 0004E2E0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80051384 0004E2E4 90 1E 00 28 */ stw r0, 0x28(r30) +/* 80051388 0004E2E8 80 1D 00 08 */ lwz r0, 8(r29) +/* 8005138C 0004E2EC 2C 00 00 00 */ cmpwi r0, 0 +/* 80051390 0004E2F0 40 82 00 1C */ bne lbl_800513AC +/* 80051394 0004E2F4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80051398 0004E2F8 2C 00 00 00 */ cmpwi r0, 0 +/* 8005139C 0004E2FC 40 82 00 10 */ bne lbl_800513AC +/* 800513A0 0004E300 38 00 00 00 */ li r0, 0 +/* 800513A4 0004E304 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 800513A8 0004E308 48 00 00 78 */ b lbl_80051420 +lbl_800513AC: +/* 800513AC 0004E30C 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 800513B0 0004E310 1C 60 00 0C */ mulli r3, r0, 0xc +/* 800513B4 0004E314 2C 03 00 00 */ cmpwi r3, 0 +/* 800513B8 0004E318 40 82 00 10 */ bne lbl_800513C8 +/* 800513BC 0004E31C 38 00 00 00 */ li r0, 0 +/* 800513C0 0004E320 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 800513C4 0004E324 48 00 00 18 */ b lbl_800513DC +lbl_800513C8: +/* 800513C8 0004E328 3C 80 80 3D */ lis r4, lbl_803CCF18@ha +/* 800513CC 0004E32C 38 A0 00 00 */ li r5, 0 +/* 800513D0 0004E330 38 84 CF 18 */ addi r4, r4, lbl_803CCF18@l +/* 800513D4 0004E334 48 2C 44 45 */ bl __nwa__FUlPCcPCc +/* 800513D8 0004E338 90 7E 00 2C */ stw r3, 0x2c(r30) +lbl_800513DC: +/* 800513DC 0004E33C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 800513E0 0004E340 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 800513E4 0004E344 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 800513E8 0004E348 7C 09 03 A6 */ mtctr r0 +/* 800513EC 0004E34C 2C 00 00 00 */ cmpwi r0, 0 +/* 800513F0 0004E350 40 81 00 30 */ ble lbl_80051420 +lbl_800513F4: +/* 800513F4 0004E354 28 03 00 00 */ cmplwi r3, 0 +/* 800513F8 0004E358 41 82 00 1C */ beq lbl_80051414 +/* 800513FC 0004E35C 80 04 00 00 */ lwz r0, 0(r4) +/* 80051400 0004E360 90 03 00 00 */ stw r0, 0(r3) +/* 80051404 0004E364 80 04 00 04 */ lwz r0, 4(r4) +/* 80051408 0004E368 90 03 00 04 */ stw r0, 4(r3) +/* 8005140C 0004E36C 80 04 00 08 */ lwz r0, 8(r4) +/* 80051410 0004E370 90 03 00 08 */ stw r0, 8(r3) +lbl_80051414: +/* 80051414 0004E374 38 63 00 0C */ addi r3, r3, 0xc +/* 80051418 0004E378 38 84 00 0C */ addi r4, r4, 0xc +/* 8005141C 0004E37C 42 00 FF D8 */ bdnz lbl_800513F4 +lbl_80051420: +/* 80051420 0004E380 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80051424 0004E384 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 +/* 80051428 0004E388 38 80 00 00 */ li r4, 0 +/* 8005142C 0004E38C 7F C3 F3 78 */ mr r3, r30 +/* 80051430 0004E390 98 1E 00 30 */ stb r0, 0x30(r30) +/* 80051434 0004E394 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80051438 0004E398 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8005143C 0004E39C 98 1E 00 30 */ stb r0, 0x30(r30) +/* 80051440 0004E3A0 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80051444 0004E3A4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80051448 0004E3A8 98 1E 00 30 */ stb r0, 0x30(r30) +/* 8005144C 0004E3AC 80 BE 00 04 */ lwz r5, 4(r30) +/* 80051450 0004E3B0 80 8D A3 90 */ lwz r4, lbl_805A8F50@sda21(r13) +/* 80051454 0004E3B4 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80051458 0004E3B8 7C 85 20 50 */ subf r4, r5, r4 +/* 8005145C 0004E3BC 7C 84 00 34 */ cntlzw r4, r4 +/* 80051460 0004E3C0 50 80 FE F6 */ rlwimi r0, r4, 0x1f, 0x1b, 0x1b +/* 80051464 0004E3C4 98 1E 00 30 */ stb r0, 0x30(r30) +/* 80051468 0004E3C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005146C 0004E3CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051470 0004E3D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80051474 0004E3D4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80051478 0004E3D8 7C 08 03 A6 */ mtlr r0 +/* 8005147C 0004E3DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80051480 0004E3E0 4E 80 00 20 */ blr + +.global "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +"__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId": +/* 80051484 0004E3E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80051488 0004E3E8 7C 08 02 A6 */ mflr r0 +/* 8005148C 0004E3EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80051490 0004E3F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80051494 0004E3F4 7C DF 33 78 */ mr r31, r6 +/* 80051498 0004E3F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005149C 0004E3FC 7C 7E 1B 78 */ mr r30, r3 +/* 800514A0 0004E400 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800514A4 0004E404 7C BD 2B 78 */ mr r29, r5 +/* 800514A8 0004E408 80 04 00 00 */ lwz r0, 0(r4) +/* 800514AC 0004E40C 90 03 00 00 */ stw r0, 0(r3) +/* 800514B0 0004E410 80 05 00 04 */ lwz r0, 4(r5) +/* 800514B4 0004E414 90 03 00 08 */ stw r0, 8(r3) +/* 800514B8 0004E418 80 05 00 08 */ lwz r0, 8(r5) +/* 800514BC 0004E41C 90 03 00 0C */ stw r0, 0xc(r3) +/* 800514C0 0004E420 80 05 00 04 */ lwz r0, 4(r5) +/* 800514C4 0004E424 2C 00 00 00 */ cmpwi r0, 0 +/* 800514C8 0004E428 40 82 00 1C */ bne lbl_800514E4 +/* 800514CC 0004E42C 80 1D 00 08 */ lwz r0, 8(r29) +/* 800514D0 0004E430 2C 00 00 00 */ cmpwi r0, 0 +/* 800514D4 0004E434 40 82 00 10 */ bne lbl_800514E4 +/* 800514D8 0004E438 38 00 00 00 */ li r0, 0 +/* 800514DC 0004E43C 90 1E 00 10 */ stw r0, 0x10(r30) +/* 800514E0 0004E440 48 00 00 78 */ b lbl_80051558 +lbl_800514E4: +/* 800514E4 0004E444 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 800514E8 0004E448 1C 60 00 0C */ mulli r3, r0, 0xc +/* 800514EC 0004E44C 2C 03 00 00 */ cmpwi r3, 0 +/* 800514F0 0004E450 40 82 00 10 */ bne lbl_80051500 +/* 800514F4 0004E454 38 00 00 00 */ li r0, 0 +/* 800514F8 0004E458 90 1E 00 10 */ stw r0, 0x10(r30) +/* 800514FC 0004E45C 48 00 00 18 */ b lbl_80051514 +lbl_80051500: +/* 80051500 0004E460 3C 80 80 3D */ lis r4, lbl_803CCF18@ha +/* 80051504 0004E464 38 A0 00 00 */ li r5, 0 +/* 80051508 0004E468 38 84 CF 18 */ addi r4, r4, lbl_803CCF18@l +/* 8005150C 0004E46C 48 2C 43 0D */ bl __nwa__FUlPCcPCc +/* 80051510 0004E470 90 7E 00 10 */ stw r3, 0x10(r30) +lbl_80051514: +/* 80051514 0004E474 80 1E 00 08 */ lwz r0, 8(r30) +/* 80051518 0004E478 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8005151C 0004E47C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80051520 0004E480 7C 09 03 A6 */ mtctr r0 +/* 80051524 0004E484 2C 00 00 00 */ cmpwi r0, 0 +/* 80051528 0004E488 40 81 00 30 */ ble lbl_80051558 +lbl_8005152C: +/* 8005152C 0004E48C 28 03 00 00 */ cmplwi r3, 0 +/* 80051530 0004E490 41 82 00 1C */ beq lbl_8005154C +/* 80051534 0004E494 80 04 00 00 */ lwz r0, 0(r4) +/* 80051538 0004E498 90 03 00 00 */ stw r0, 0(r3) +/* 8005153C 0004E49C 80 04 00 04 */ lwz r0, 4(r4) +/* 80051540 0004E4A0 90 03 00 04 */ stw r0, 4(r3) +/* 80051544 0004E4A4 80 04 00 08 */ lwz r0, 8(r4) +/* 80051548 0004E4A8 90 03 00 08 */ stw r0, 8(r3) +lbl_8005154C: +/* 8005154C 0004E4AC 38 63 00 0C */ addi r3, r3, 0xc +/* 80051550 0004E4B0 38 84 00 0C */ addi r4, r4, 0xc +/* 80051554 0004E4B4 42 00 FF D8 */ bdnz lbl_8005152C +lbl_80051558: +/* 80051558 0004E4B8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8005155C 0004E4BC 7F C3 F3 78 */ mr r3, r30 +/* 80051560 0004E4C0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80051564 0004E4C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051568 0004E4C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005156C 0004E4CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80051570 0004E4D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80051574 0004E4D4 7C 08 03 A6 */ mtlr r0 +/* 80051578 0004E4D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005157C 0004E4DC 4E 80 00 20 */ blr + +.global __sinit_CEntity_cpp +__sinit_CEntity_cpp: +/* 80051580 0004E4E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80051584 0004E4E4 7C 08 02 A6 */ mflr r0 +/* 80051588 0004E4E8 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8005158C 0004E4EC 3C 80 80 05 */ lis r4, "__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv"@ha +/* 80051590 0004E4F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80051594 0004E4F4 3C A0 80 47 */ lis r5, lbl_8046C3B8@ha +/* 80051598 0004E4F8 38 63 D4 10 */ addi r3, r3, lbl_8056D410@l +/* 8005159C 0004E4FC 38 00 00 00 */ li r0, 0 +/* 800515A0 0004E500 90 03 00 04 */ stw r0, 4(r3) +/* 800515A4 0004E504 38 84 86 F8 */ addi r4, r4, "__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv"@l +/* 800515A8 0004E508 38 A5 C3 B8 */ addi r5, r5, lbl_8046C3B8@l +/* 800515AC 0004E50C 90 03 00 08 */ stw r0, 8(r3) +/* 800515B0 0004E510 90 03 00 0C */ stw r0, 0xc(r3) +/* 800515B4 0004E514 48 33 80 D9 */ bl __register_global_object +/* 800515B8 0004E518 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800515BC 0004E51C 7C 08 03 A6 */ mtlr r0 +/* 800515C0 0004E520 38 21 00 10 */ addi r1, r1, 0x10 +/* 800515C4 0004E524 4E 80 00 20 */ blr + +.global __dt__17CArchMsgParmInt32Fv +__dt__17CArchMsgParmInt32Fv: +/* 800515C8 0004E528 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800515CC 0004E52C 7C 08 02 A6 */ mflr r0 +/* 800515D0 0004E530 90 01 00 14 */ stw r0, 0x14(r1) +/* 800515D4 0004E534 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800515D8 0004E538 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800515DC 0004E53C 41 82 00 30 */ beq lbl_8005160C +/* 800515E0 0004E540 3C 60 80 3E */ lis r3, lbl_803D9E50@ha +/* 800515E4 0004E544 38 03 9E 50 */ addi r0, r3, lbl_803D9E50@l +/* 800515E8 0004E548 90 1F 00 00 */ stw r0, 0(r31) +/* 800515EC 0004E54C 41 82 00 10 */ beq lbl_800515FC +/* 800515F0 0004E550 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha +/* 800515F4 0004E554 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l +/* 800515F8 0004E558 90 1F 00 00 */ stw r0, 0(r31) +lbl_800515FC: +/* 800515FC 0004E55C 7C 80 07 35 */ extsh. r0, r4 +/* 80051600 0004E560 40 81 00 0C */ ble lbl_8005160C +/* 80051604 0004E564 7F E3 FB 78 */ mr r3, r31 +/* 80051608 0004E568 48 2C 43 29 */ bl Free__7CMemoryFPCv +lbl_8005160C: +/* 8005160C 0004E56C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80051610 0004E570 7F E3 FB 78 */ mr r3, r31 +/* 80051614 0004E574 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80051618 0004E578 7C 08 03 A6 */ mtlr r0 +/* 8005161C 0004E57C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80051620 0004E580 4E 80 00 20 */ blr + +.global __ct__17CArchMsgParmInt32Fi +__ct__17CArchMsgParmInt32Fi: +/* 80051624 0004E584 3C C0 80 3E */ lis r6, lbl_803D8E9C@ha +/* 80051628 0004E588 3C A0 80 3E */ lis r5, lbl_803D9E50@ha +/* 8005162C 0004E58C 38 C6 8E 9C */ addi r6, r6, lbl_803D8E9C@l +/* 80051630 0004E590 90 C3 00 00 */ stw r6, 0(r3) +/* 80051634 0004E594 38 05 9E 50 */ addi r0, r5, lbl_803D9E50@l +/* 80051638 0004E598 90 03 00 00 */ stw r0, 0(r3) +/* 8005163C 0004E59C 90 83 00 04 */ stw r4, 4(r3) +/* 80051640 0004E5A0 4E 80 00 20 */ blr + +.global __dt__29CArchMsgParmInt32Int32VoidPtrFv +__dt__29CArchMsgParmInt32Int32VoidPtrFv: +/* 80051644 0004E5A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80051648 0004E5A8 7C 08 02 A6 */ mflr r0 +/* 8005164C 0004E5AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80051650 0004E5B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80051654 0004E5B4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80051658 0004E5B8 41 82 00 30 */ beq lbl_80051688 +/* 8005165C 0004E5BC 3C 60 80 3E */ lis r3, lbl_803D9E60@ha +/* 80051660 0004E5C0 38 03 9E 60 */ addi r0, r3, lbl_803D9E60@l +/* 80051664 0004E5C4 90 1F 00 00 */ stw r0, 0(r31) +/* 80051668 0004E5C8 41 82 00 10 */ beq lbl_80051678 +/* 8005166C 0004E5CC 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha +/* 80051670 0004E5D0 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l +/* 80051674 0004E5D4 90 1F 00 00 */ stw r0, 0(r31) +lbl_80051678: +/* 80051678 0004E5D8 7C 80 07 35 */ extsh. r0, r4 +/* 8005167C 0004E5DC 40 81 00 0C */ ble lbl_80051688 +/* 80051680 0004E5E0 7F E3 FB 78 */ mr r3, r31 +/* 80051684 0004E5E4 48 2C 42 AD */ bl Free__7CMemoryFPCv +lbl_80051688: +/* 80051688 0004E5E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005168C 0004E5EC 7F E3 FB 78 */ mr r3, r31 +/* 80051690 0004E5F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80051694 0004E5F4 7C 08 03 A6 */ mtlr r0 +/* 80051698 0004E5F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005169C 0004E5FC 4E 80 00 20 */ blr + +.global __ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv +__ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv: +/* 800516A0 0004E600 3D 00 80 3E */ lis r8, lbl_803D8E9C@ha +/* 800516A4 0004E604 3C E0 80 3E */ lis r7, lbl_803D9E60@ha +/* 800516A8 0004E608 39 08 8E 9C */ addi r8, r8, lbl_803D8E9C@l +/* 800516AC 0004E60C 91 03 00 00 */ stw r8, 0(r3) +/* 800516B0 0004E610 38 07 9E 60 */ addi r0, r7, lbl_803D9E60@l +/* 800516B4 0004E614 90 03 00 00 */ stw r0, 0(r3) +/* 800516B8 0004E618 90 83 00 04 */ stw r4, 4(r3) +/* 800516BC 0004E61C 90 A3 00 08 */ stw r5, 8(r3) +/* 800516C0 0004E620 90 C3 00 0C */ stw r6, 0xc(r3) +/* 800516C4 0004E624 4E 80 00 20 */ blr + +.global __dt__16CArchMsgParmNullFv +__dt__16CArchMsgParmNullFv: +/* 800516C8 0004E628 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800516CC 0004E62C 7C 08 02 A6 */ mflr r0 +/* 800516D0 0004E630 90 01 00 14 */ stw r0, 0x14(r1) +/* 800516D4 0004E634 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800516D8 0004E638 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800516DC 0004E63C 41 82 00 30 */ beq lbl_8005170C +/* 800516E0 0004E640 3C 60 80 3E */ lis r3, lbl_803D9E70@ha +/* 800516E4 0004E644 38 03 9E 70 */ addi r0, r3, lbl_803D9E70@l +/* 800516E8 0004E648 90 1F 00 00 */ stw r0, 0(r31) +/* 800516EC 0004E64C 41 82 00 10 */ beq lbl_800516FC +/* 800516F0 0004E650 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha +/* 800516F4 0004E654 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l +/* 800516F8 0004E658 90 1F 00 00 */ stw r0, 0(r31) +lbl_800516FC: +/* 800516FC 0004E65C 7C 80 07 35 */ extsh. r0, r4 +/* 80051700 0004E660 40 81 00 0C */ ble lbl_8005170C +/* 80051704 0004E664 7F E3 FB 78 */ mr r3, r31 +/* 80051708 0004E668 48 2C 42 29 */ bl Free__7CMemoryFPCv +lbl_8005170C: +/* 8005170C 0004E66C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80051710 0004E670 7F E3 FB 78 */ mr r3, r31 +/* 80051714 0004E674 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80051718 0004E678 7C 08 03 A6 */ mtlr r0 +/* 8005171C 0004E67C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80051720 0004E680 4E 80 00 20 */ blr + +.global __ct__16CArchMsgParmNullFv +__ct__16CArchMsgParmNullFv: +/* 80051724 0004E684 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha +/* 80051728 0004E688 3C 80 80 3E */ lis r4, lbl_803D9E70@ha +/* 8005172C 0004E68C 38 A5 8E 9C */ addi r5, r5, lbl_803D8E9C@l +/* 80051730 0004E690 90 A3 00 00 */ stw r5, 0(r3) +/* 80051734 0004E694 38 04 9E 70 */ addi r0, r4, lbl_803D9E70@l +/* 80051738 0004E698 90 03 00 00 */ stw r0, 0(r3) +/* 8005173C 0004E69C 4E 80 00 20 */ blr + +.global __dt__18CArchMsgParmReal32Fv +__dt__18CArchMsgParmReal32Fv: +/* 80051740 0004E6A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80051744 0004E6A4 7C 08 02 A6 */ mflr r0 +/* 80051748 0004E6A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005174C 0004E6AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80051750 0004E6B0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80051754 0004E6B4 41 82 00 30 */ beq lbl_80051784 +/* 80051758 0004E6B8 3C 60 80 3E */ lis r3, lbl_803D9E80@ha +/* 8005175C 0004E6BC 38 03 9E 80 */ addi r0, r3, lbl_803D9E80@l +/* 80051760 0004E6C0 90 1F 00 00 */ stw r0, 0(r31) +/* 80051764 0004E6C4 41 82 00 10 */ beq lbl_80051774 +/* 80051768 0004E6C8 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha +/* 8005176C 0004E6CC 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l +/* 80051770 0004E6D0 90 1F 00 00 */ stw r0, 0(r31) +lbl_80051774: +/* 80051774 0004E6D4 7C 80 07 35 */ extsh. r0, r4 +/* 80051778 0004E6D8 40 81 00 0C */ ble lbl_80051784 +/* 8005177C 0004E6DC 7F E3 FB 78 */ mr r3, r31 +/* 80051780 0004E6E0 48 2C 41 B1 */ bl Free__7CMemoryFPCv +lbl_80051784: +/* 80051784 0004E6E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80051788 0004E6E8 7F E3 FB 78 */ mr r3, r31 +/* 8005178C 0004E6EC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80051790 0004E6F0 7C 08 03 A6 */ mtlr r0 +/* 80051794 0004E6F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80051798 0004E6F8 4E 80 00 20 */ blr + +.global __ct__18CArchMsgParmReal32Ff +__ct__18CArchMsgParmReal32Ff: +/* 8005179C 0004E6FC 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha +/* 800517A0 0004E700 3C 80 80 3E */ lis r4, lbl_803D9E80@ha +/* 800517A4 0004E704 38 A5 8E 9C */ addi r5, r5, lbl_803D8E9C@l +/* 800517A8 0004E708 90 A3 00 00 */ stw r5, 0(r3) +/* 800517AC 0004E70C 38 04 9E 80 */ addi r0, r4, lbl_803D9E80@l +/* 800517B0 0004E710 90 03 00 00 */ stw r0, 0(r3) +/* 800517B4 0004E714 D0 23 00 04 */ stfs f1, 4(r3) +/* 800517B8 0004E718 4E 80 00 20 */ blr + +.global CreateFrameEnd__7MakeMsgF14EArchMsgTargetRCi +CreateFrameEnd__7MakeMsgF14EArchMsgTargetRCi: +/* 800517BC 0004E71C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800517C0 0004E720 7C 08 02 A6 */ mflr r0 +/* 800517C4 0004E724 3C C0 80 3D */ lis r6, lbl_803CCF20@ha +/* 800517C8 0004E728 90 01 00 24 */ stw r0, 0x24(r1) +/* 800517CC 0004E72C 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l +/* 800517D0 0004E730 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800517D4 0004E734 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800517D8 0004E738 7C BE 2B 78 */ mr r30, r5 +/* 800517DC 0004E73C 38 A0 00 00 */ li r5, 0 +/* 800517E0 0004E740 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800517E4 0004E744 7C 9D 23 78 */ mr r29, r4 +/* 800517E8 0004E748 7C 04 03 78 */ mr r4, r0 +/* 800517EC 0004E74C 93 81 00 10 */ stw r28, 0x10(r1) +/* 800517F0 0004E750 7C 7C 1B 78 */ mr r28, r3 +/* 800517F4 0004E754 38 60 00 08 */ li r3, 8 +/* 800517F8 0004E758 48 2C 40 75 */ bl __nw__FUlPCcPCc +/* 800517FC 0004E75C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80051800 0004E760 41 82 00 10 */ beq lbl_80051810 +/* 80051804 0004E764 80 9E 00 00 */ lwz r4, 0(r30) +/* 80051808 0004E768 4B FF FE 1D */ bl __ct__17CArchMsgParmInt32Fi +/* 8005180C 0004E76C 7C 7F 1B 78 */ mr r31, r3 +lbl_80051810: +/* 80051810 0004E770 3C 80 80 3D */ lis r4, lbl_803CCF20@ha +/* 80051814 0004E774 38 60 00 08 */ li r3, 8 +/* 80051818 0004E778 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l +/* 8005181C 0004E77C 38 A0 00 00 */ li r5, 0 +/* 80051820 0004E780 48 2C 40 4D */ bl __nw__FUlPCcPCc +/* 80051824 0004E784 28 03 00 00 */ cmplwi r3, 0 +/* 80051828 0004E788 41 82 00 10 */ beq lbl_80051838 +/* 8005182C 0004E78C 93 E3 00 00 */ stw r31, 0(r3) +/* 80051830 0004E790 38 00 00 01 */ li r0, 1 +/* 80051834 0004E794 90 03 00 04 */ stw r0, 4(r3) +lbl_80051838: +/* 80051838 0004E798 90 61 00 08 */ stw r3, 8(r1) +/* 8005183C 0004E79C 38 00 00 0B */ li r0, 0xb +/* 80051840 0004E7A0 38 61 00 08 */ addi r3, r1, 8 +/* 80051844 0004E7A4 93 BC 00 00 */ stw r29, 0(r28) +/* 80051848 0004E7A8 90 1C 00 04 */ stw r0, 4(r28) +/* 8005184C 0004E7AC 80 01 00 08 */ lwz r0, 8(r1) +/* 80051850 0004E7B0 90 1C 00 08 */ stw r0, 8(r28) +/* 80051854 0004E7B4 80 BC 00 08 */ lwz r5, 8(r28) +/* 80051858 0004E7B8 80 85 00 04 */ lwz r4, 4(r5) +/* 8005185C 0004E7BC 38 04 00 01 */ addi r0, r4, 1 +/* 80051860 0004E7C0 90 05 00 04 */ stw r0, 4(r5) +/* 80051864 0004E7C4 4B FB 6E A9 */ bl sub_8000870c +/* 80051868 0004E7C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005186C 0004E7CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051870 0004E7D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80051874 0004E7D4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80051878 0004E7D8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8005187C 0004E7DC 7C 08 03 A6 */ mtlr r0 +/* 80051880 0004E7E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80051884 0004E7E4 4E 80 00 20 */ blr + +.global GetParm__20CArchitectureMessageCFv +GetParm__20CArchitectureMessageCFv: +/* 80051888 0004E7E8 80 63 00 08 */ lwz r3, 8(r3) +/* 8005188C 0004E7EC 80 63 00 00 */ lwz r3, 0(r3) +/* 80051890 0004E7F0 4E 80 00 20 */ blr + +.global CreateFrameBegin__7MakeMsgF14EArchMsgTargetRCi +CreateFrameBegin__7MakeMsgF14EArchMsgTargetRCi: +/* 80051894 0004E7F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80051898 0004E7F8 7C 08 02 A6 */ mflr r0 +/* 8005189C 0004E7FC 3C C0 80 3D */ lis r6, lbl_803CCF20@ha +/* 800518A0 0004E800 90 01 00 24 */ stw r0, 0x24(r1) +/* 800518A4 0004E804 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l +/* 800518A8 0004E808 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800518AC 0004E80C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800518B0 0004E810 7C BE 2B 78 */ mr r30, r5 +/* 800518B4 0004E814 38 A0 00 00 */ li r5, 0 +/* 800518B8 0004E818 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800518BC 0004E81C 7C 9D 23 78 */ mr r29, r4 +/* 800518C0 0004E820 7C 04 03 78 */ mr r4, r0 +/* 800518C4 0004E824 93 81 00 10 */ stw r28, 0x10(r1) +/* 800518C8 0004E828 7C 7C 1B 78 */ mr r28, r3 +/* 800518CC 0004E82C 38 60 00 08 */ li r3, 8 +/* 800518D0 0004E830 48 2C 3F 9D */ bl __nw__FUlPCcPCc +/* 800518D4 0004E834 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800518D8 0004E838 41 82 00 10 */ beq lbl_800518E8 +/* 800518DC 0004E83C 80 9E 00 00 */ lwz r4, 0(r30) +/* 800518E0 0004E840 4B FF FD 45 */ bl __ct__17CArchMsgParmInt32Fi +/* 800518E4 0004E844 7C 7F 1B 78 */ mr r31, r3 +lbl_800518E8: +/* 800518E8 0004E848 3C 80 80 3D */ lis r4, lbl_803CCF20@ha +/* 800518EC 0004E84C 38 60 00 08 */ li r3, 8 +/* 800518F0 0004E850 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l +/* 800518F4 0004E854 38 A0 00 00 */ li r5, 0 +/* 800518F8 0004E858 48 2C 3F 75 */ bl __nw__FUlPCcPCc +/* 800518FC 0004E85C 28 03 00 00 */ cmplwi r3, 0 +/* 80051900 0004E860 41 82 00 10 */ beq lbl_80051910 +/* 80051904 0004E864 93 E3 00 00 */ stw r31, 0(r3) +/* 80051908 0004E868 38 00 00 01 */ li r0, 1 +/* 8005190C 0004E86C 90 03 00 04 */ stw r0, 4(r3) +lbl_80051910: +/* 80051910 0004E870 90 61 00 08 */ stw r3, 8(r1) +/* 80051914 0004E874 38 00 00 0A */ li r0, 0xa +/* 80051918 0004E878 38 61 00 08 */ addi r3, r1, 8 +/* 8005191C 0004E87C 93 BC 00 00 */ stw r29, 0(r28) +/* 80051920 0004E880 90 1C 00 04 */ stw r0, 4(r28) +/* 80051924 0004E884 80 01 00 08 */ lwz r0, 8(r1) +/* 80051928 0004E888 90 1C 00 08 */ stw r0, 8(r28) +/* 8005192C 0004E88C 80 BC 00 08 */ lwz r5, 8(r28) +/* 80051930 0004E890 80 85 00 04 */ lwz r4, 4(r5) +/* 80051934 0004E894 38 04 00 01 */ addi r0, r4, 1 +/* 80051938 0004E898 90 05 00 04 */ stw r0, 4(r5) +/* 8005193C 0004E89C 4B FB 6D D1 */ bl sub_8000870c +/* 80051940 0004E8A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80051944 0004E8A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051948 0004E8A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005194C 0004E8AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80051950 0004E8B0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80051954 0004E8B4 7C 08 03 A6 */ mtlr r0 +/* 80051958 0004E8B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005195C 0004E8BC 4E 80 00 20 */ blr + +.global CreateQuitGameplay__7MakeMsgF14EArchMsgTarget +CreateQuitGameplay__7MakeMsgF14EArchMsgTarget: +/* 80051960 0004E8C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80051964 0004E8C4 7C 08 02 A6 */ mflr r0 +/* 80051968 0004E8C8 3C A0 80 3D */ lis r5, lbl_803CCF20@ha +/* 8005196C 0004E8CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80051970 0004E8D0 38 05 CF 20 */ addi r0, r5, lbl_803CCF20@l +/* 80051974 0004E8D4 38 A0 00 00 */ li r5, 0 +/* 80051978 0004E8D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005197C 0004E8DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80051980 0004E8E0 7C 9E 23 78 */ mr r30, r4 +/* 80051984 0004E8E4 7C 04 03 78 */ mr r4, r0 +/* 80051988 0004E8E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005198C 0004E8EC 7C 7D 1B 78 */ mr r29, r3 +/* 80051990 0004E8F0 38 60 00 04 */ li r3, 4 +/* 80051994 0004E8F4 48 2C 3E D9 */ bl __nw__FUlPCcPCc +/* 80051998 0004E8F8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8005199C 0004E8FC 41 82 00 0C */ beq lbl_800519A8 +/* 800519A0 0004E900 4B FF FD 85 */ bl __ct__16CArchMsgParmNullFv +/* 800519A4 0004E904 7C 7F 1B 78 */ mr r31, r3 +lbl_800519A8: +/* 800519A8 0004E908 3C 80 80 3D */ lis r4, lbl_803CCF20@ha +/* 800519AC 0004E90C 38 60 00 08 */ li r3, 8 +/* 800519B0 0004E910 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l +/* 800519B4 0004E914 38 A0 00 00 */ li r5, 0 +/* 800519B8 0004E918 48 2C 3E B5 */ bl __nw__FUlPCcPCc +/* 800519BC 0004E91C 28 03 00 00 */ cmplwi r3, 0 +/* 800519C0 0004E920 41 82 00 10 */ beq lbl_800519D0 +/* 800519C4 0004E924 93 E3 00 00 */ stw r31, 0(r3) +/* 800519C8 0004E928 38 00 00 01 */ li r0, 1 +/* 800519CC 0004E92C 90 03 00 04 */ stw r0, 4(r3) +lbl_800519D0: +/* 800519D0 0004E930 90 61 00 08 */ stw r3, 8(r1) +/* 800519D4 0004E934 38 00 00 08 */ li r0, 8 +/* 800519D8 0004E938 38 61 00 08 */ addi r3, r1, 8 +/* 800519DC 0004E93C 93 DD 00 00 */ stw r30, 0(r29) +/* 800519E0 0004E940 90 1D 00 04 */ stw r0, 4(r29) +/* 800519E4 0004E944 80 01 00 08 */ lwz r0, 8(r1) +/* 800519E8 0004E948 90 1D 00 08 */ stw r0, 8(r29) +/* 800519EC 0004E94C 80 BD 00 08 */ lwz r5, 8(r29) +/* 800519F0 0004E950 80 85 00 04 */ lwz r4, 4(r5) +/* 800519F4 0004E954 38 04 00 01 */ addi r0, r4, 1 +/* 800519F8 0004E958 90 05 00 04 */ stw r0, 4(r5) +/* 800519FC 0004E95C 4B FB 6D 11 */ bl sub_8000870c +/* 80051A00 0004E960 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80051A04 0004E964 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051A08 0004E968 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80051A0C 0004E96C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80051A10 0004E970 7C 08 03 A6 */ mtlr r0 +/* 80051A14 0004E974 38 21 00 20 */ addi r1, r1, 0x20 +/* 80051A18 0004E978 4E 80 00 20 */ blr + +.global CreateControllerStatus__7MakeMsgF14EArchMsgTargetRCsRCb +CreateControllerStatus__7MakeMsgF14EArchMsgTargetRCsRCb: +/* 80051A1C 0004E97C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80051A20 0004E980 7C 08 02 A6 */ mflr r0 +/* 80051A24 0004E984 3C E0 80 3D */ lis r7, lbl_803CCF20@ha +/* 80051A28 0004E988 90 01 00 34 */ stw r0, 0x34(r1) +/* 80051A2C 0004E98C 38 07 CF 20 */ addi r0, r7, lbl_803CCF20@l +/* 80051A30 0004E990 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80051A34 0004E994 7C 7B 1B 78 */ mr r27, r3 +/* 80051A38 0004E998 7C 9C 23 78 */ mr r28, r4 +/* 80051A3C 0004E99C 7C BD 2B 78 */ mr r29, r5 +/* 80051A40 0004E9A0 7C DE 33 78 */ mr r30, r6 +/* 80051A44 0004E9A4 7C 04 03 78 */ mr r4, r0 +/* 80051A48 0004E9A8 38 60 00 08 */ li r3, 8 +/* 80051A4C 0004E9AC 38 A0 00 00 */ li r5, 0 +/* 80051A50 0004E9B0 48 2C 3E 1D */ bl __nw__FUlPCcPCc +/* 80051A54 0004E9B4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80051A58 0004E9B8 41 82 00 14 */ beq lbl_80051A6C +/* 80051A5C 0004E9BC A8 9D 00 00 */ lha r4, 0(r29) +/* 80051A60 0004E9C0 88 BE 00 00 */ lbz r5, 0(r30) +/* 80051A64 0004E9C4 48 00 86 89 */ bl __ct__28CArchMsgParmControllerStatusFsb +/* 80051A68 0004E9C8 7C 7F 1B 78 */ mr r31, r3 +lbl_80051A6C: +/* 80051A6C 0004E9CC 3C 80 80 3D */ lis r4, lbl_803CCF20@ha +/* 80051A70 0004E9D0 38 60 00 08 */ li r3, 8 +/* 80051A74 0004E9D4 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l +/* 80051A78 0004E9D8 38 A0 00 00 */ li r5, 0 +/* 80051A7C 0004E9DC 48 2C 3D F1 */ bl __nw__FUlPCcPCc +/* 80051A80 0004E9E0 28 03 00 00 */ cmplwi r3, 0 +/* 80051A84 0004E9E4 41 82 00 10 */ beq lbl_80051A94 +/* 80051A88 0004E9E8 93 E3 00 00 */ stw r31, 0(r3) +/* 80051A8C 0004E9EC 38 00 00 01 */ li r0, 1 +/* 80051A90 0004E9F0 90 03 00 04 */ stw r0, 4(r3) +lbl_80051A94: +/* 80051A94 0004E9F4 90 61 00 08 */ stw r3, 8(r1) +/* 80051A98 0004E9F8 38 00 00 07 */ li r0, 7 +/* 80051A9C 0004E9FC 38 61 00 08 */ addi r3, r1, 8 +/* 80051AA0 0004EA00 93 9B 00 00 */ stw r28, 0(r27) +/* 80051AA4 0004EA04 90 1B 00 04 */ stw r0, 4(r27) +/* 80051AA8 0004EA08 80 01 00 08 */ lwz r0, 8(r1) +/* 80051AAC 0004EA0C 90 1B 00 08 */ stw r0, 8(r27) +/* 80051AB0 0004EA10 80 BB 00 08 */ lwz r5, 8(r27) +/* 80051AB4 0004EA14 80 85 00 04 */ lwz r4, 4(r5) +/* 80051AB8 0004EA18 38 04 00 01 */ addi r0, r4, 1 +/* 80051ABC 0004EA1C 90 05 00 04 */ stw r0, 4(r5) +/* 80051AC0 0004EA20 4B FB 6C 4D */ bl sub_8000870c +/* 80051AC4 0004EA24 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80051AC8 0004EA28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80051ACC 0004EA2C 7C 08 03 A6 */ mtlr r0 +/* 80051AD0 0004EA30 38 21 00 30 */ addi r1, r1, 0x30 +/* 80051AD4 0004EA34 4E 80 00 20 */ blr + +.global GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage +GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage: +/* 80051AD8 0004EA38 80 63 00 08 */ lwz r3, 8(r3) +/* 80051ADC 0004EA3C 80 63 00 00 */ lwz r3, 0(r3) +/* 80051AE0 0004EA40 4E 80 00 20 */ blr + +.global GetParmUserInput__7MakeMsgFRC20CArchitectureMessage +GetParmUserInput__7MakeMsgFRC20CArchitectureMessage: +/* 80051AE4 0004EA44 80 63 00 08 */ lwz r3, 8(r3) +/* 80051AE8 0004EA48 80 63 00 00 */ lwz r3, 0(r3) +/* 80051AEC 0004EA4C 4E 80 00 20 */ blr + +.global CreateUserInput__7MakeMsgF14EArchMsgTargetRC11CFinalInput +CreateUserInput__7MakeMsgF14EArchMsgTargetRC11CFinalInput: +/* 80051AF0 0004EA50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80051AF4 0004EA54 7C 08 02 A6 */ mflr r0 +/* 80051AF8 0004EA58 3C C0 80 3D */ lis r6, lbl_803CCF20@ha +/* 80051AFC 0004EA5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80051B00 0004EA60 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l +/* 80051B04 0004EA64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80051B08 0004EA68 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80051B0C 0004EA6C 7C BE 2B 78 */ mr r30, r5 +/* 80051B10 0004EA70 38 A0 00 00 */ li r5, 0 +/* 80051B14 0004EA74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80051B18 0004EA78 7C 9D 23 78 */ mr r29, r4 +/* 80051B1C 0004EA7C 7C 04 03 78 */ mr r4, r0 +/* 80051B20 0004EA80 93 81 00 10 */ stw r28, 0x10(r1) +/* 80051B24 0004EA84 7C 7C 1B 78 */ mr r28, r3 +/* 80051B28 0004EA88 38 60 00 34 */ li r3, 0x34 +/* 80051B2C 0004EA8C 48 2C 3D 41 */ bl __nw__FUlPCcPCc +/* 80051B30 0004EA90 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80051B34 0004EA94 41 82 00 10 */ beq lbl_80051B44 +/* 80051B38 0004EA98 7F C4 F3 78 */ mr r4, r30 +/* 80051B3C 0004EA9C 4B FC 9F 0D */ bl __ct__21CArchMsgParmUserInputFRC11CFinalInput +/* 80051B40 0004EAA0 7C 7F 1B 78 */ mr r31, r3 +lbl_80051B44: +/* 80051B44 0004EAA4 3C 80 80 3D */ lis r4, lbl_803CCF20@ha +/* 80051B48 0004EAA8 38 60 00 08 */ li r3, 8 +/* 80051B4C 0004EAAC 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l +/* 80051B50 0004EAB0 38 A0 00 00 */ li r5, 0 +/* 80051B54 0004EAB4 48 2C 3D 19 */ bl __nw__FUlPCcPCc +/* 80051B58 0004EAB8 28 03 00 00 */ cmplwi r3, 0 +/* 80051B5C 0004EABC 41 82 00 10 */ beq lbl_80051B6C +/* 80051B60 0004EAC0 93 E3 00 00 */ stw r31, 0(r3) +/* 80051B64 0004EAC4 38 00 00 01 */ li r0, 1 +/* 80051B68 0004EAC8 90 03 00 04 */ stw r0, 4(r3) +lbl_80051B6C: +/* 80051B6C 0004EACC 90 61 00 08 */ stw r3, 8(r1) +/* 80051B70 0004EAD0 38 00 00 05 */ li r0, 5 +/* 80051B74 0004EAD4 38 61 00 08 */ addi r3, r1, 8 +/* 80051B78 0004EAD8 93 BC 00 00 */ stw r29, 0(r28) +/* 80051B7C 0004EADC 90 1C 00 04 */ stw r0, 4(r28) +/* 80051B80 0004EAE0 80 01 00 08 */ lwz r0, 8(r1) +/* 80051B84 0004EAE4 90 1C 00 08 */ stw r0, 8(r28) +/* 80051B88 0004EAE8 80 BC 00 08 */ lwz r5, 8(r28) +/* 80051B8C 0004EAEC 80 85 00 04 */ lwz r4, 4(r5) +/* 80051B90 0004EAF0 38 04 00 01 */ addi r0, r4, 1 +/* 80051B94 0004EAF4 90 05 00 04 */ stw r0, 4(r5) +/* 80051B98 0004EAF8 4B FB 6B 75 */ bl sub_8000870c +/* 80051B9C 0004EAFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80051BA0 0004EB00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051BA4 0004EB04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80051BA8 0004EB08 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80051BAC 0004EB0C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80051BB0 0004EB10 7C 08 03 A6 */ mtlr r0 +/* 80051BB4 0004EB14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80051BB8 0004EB18 4E 80 00 20 */ blr + +.global GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage: +/* 80051BBC 0004EB1C 80 63 00 08 */ lwz r3, 8(r3) +/* 80051BC0 0004EB20 80 63 00 00 */ lwz r3, 0(r3) +/* 80051BC4 0004EB24 4E 80 00 20 */ blr + +.global CreateTimerTick__7MakeMsgF14EArchMsgTargetRCf +CreateTimerTick__7MakeMsgF14EArchMsgTargetRCf: +/* 80051BC8 0004EB28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80051BCC 0004EB2C 7C 08 02 A6 */ mflr r0 +/* 80051BD0 0004EB30 3C C0 80 3D */ lis r6, lbl_803CCF20@ha +/* 80051BD4 0004EB34 90 01 00 24 */ stw r0, 0x24(r1) +/* 80051BD8 0004EB38 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l +/* 80051BDC 0004EB3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80051BE0 0004EB40 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80051BE4 0004EB44 7C BE 2B 78 */ mr r30, r5 +/* 80051BE8 0004EB48 38 A0 00 00 */ li r5, 0 +/* 80051BEC 0004EB4C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80051BF0 0004EB50 7C 9D 23 78 */ mr r29, r4 +/* 80051BF4 0004EB54 7C 04 03 78 */ mr r4, r0 +/* 80051BF8 0004EB58 93 81 00 10 */ stw r28, 0x10(r1) +/* 80051BFC 0004EB5C 7C 7C 1B 78 */ mr r28, r3 +/* 80051C00 0004EB60 38 60 00 08 */ li r3, 8 +/* 80051C04 0004EB64 48 2C 3C 69 */ bl __nw__FUlPCcPCc +/* 80051C08 0004EB68 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80051C0C 0004EB6C 41 82 00 10 */ beq lbl_80051C1C +/* 80051C10 0004EB70 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80051C14 0004EB74 4B FF FB 89 */ bl __ct__18CArchMsgParmReal32Ff +/* 80051C18 0004EB78 7C 7F 1B 78 */ mr r31, r3 +lbl_80051C1C: +/* 80051C1C 0004EB7C 3C 80 80 3D */ lis r4, lbl_803CCF20@ha +/* 80051C20 0004EB80 38 60 00 08 */ li r3, 8 +/* 80051C24 0004EB84 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l +/* 80051C28 0004EB88 38 A0 00 00 */ li r5, 0 +/* 80051C2C 0004EB8C 48 2C 3C 41 */ bl __nw__FUlPCcPCc +/* 80051C30 0004EB90 28 03 00 00 */ cmplwi r3, 0 +/* 80051C34 0004EB94 41 82 00 10 */ beq lbl_80051C44 +/* 80051C38 0004EB98 93 E3 00 00 */ stw r31, 0(r3) +/* 80051C3C 0004EB9C 38 00 00 01 */ li r0, 1 +/* 80051C40 0004EBA0 90 03 00 04 */ stw r0, 4(r3) +lbl_80051C44: +/* 80051C44 0004EBA4 90 61 00 08 */ stw r3, 8(r1) +/* 80051C48 0004EBA8 38 00 00 04 */ li r0, 4 +/* 80051C4C 0004EBAC 38 61 00 08 */ addi r3, r1, 8 +/* 80051C50 0004EBB0 93 BC 00 00 */ stw r29, 0(r28) +/* 80051C54 0004EBB4 90 1C 00 04 */ stw r0, 4(r28) +/* 80051C58 0004EBB8 80 01 00 08 */ lwz r0, 8(r1) +/* 80051C5C 0004EBBC 90 1C 00 08 */ stw r0, 8(r28) +/* 80051C60 0004EBC0 80 BC 00 08 */ lwz r5, 8(r28) +/* 80051C64 0004EBC4 80 85 00 04 */ lwz r4, 4(r5) +/* 80051C68 0004EBC8 38 04 00 01 */ addi r0, r4, 1 +/* 80051C6C 0004EBCC 90 05 00 04 */ stw r0, 4(r5) +/* 80051C70 0004EBD0 4B FB 6A 9D */ bl sub_8000870c +/* 80051C74 0004EBD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80051C78 0004EBD8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051C7C 0004EBDC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80051C80 0004EBE0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80051C84 0004EBE4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80051C88 0004EBE8 7C 08 03 A6 */ mtlr r0 +/* 80051C8C 0004EBEC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80051C90 0004EBF0 4E 80 00 20 */ blr + +.global GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage +GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage: +/* 80051C94 0004EBF4 80 63 00 08 */ lwz r3, 8(r3) +/* 80051C98 0004EBF8 80 63 00 00 */ lwz r3, 0(r3) +/* 80051C9C 0004EBFC 4E 80 00 20 */ blr + +.global GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage +GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage: +/* 80051CA0 0004EC00 80 63 00 08 */ lwz r3, 8(r3) +/* 80051CA4 0004EC04 80 63 00 00 */ lwz r3, 0(r3) +/* 80051CA8 0004EC08 4E 80 00 20 */ blr + +.global CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin +CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin: +/* 80051CAC 0004EC0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80051CB0 0004EC10 7C 08 02 A6 */ mflr r0 +/* 80051CB4 0004EC14 3D 00 80 3D */ lis r8, lbl_803CCF20@ha +/* 80051CB8 0004EC18 90 01 00 34 */ stw r0, 0x34(r1) +/* 80051CBC 0004EC1C 38 08 CF 20 */ addi r0, r8, lbl_803CCF20@l +/* 80051CC0 0004EC20 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80051CC4 0004EC24 7C 7A 1B 78 */ mr r26, r3 +/* 80051CC8 0004EC28 7C 9B 23 78 */ mr r27, r4 +/* 80051CCC 0004EC2C 7C BC 2B 78 */ mr r28, r5 +/* 80051CD0 0004EC30 7C DD 33 78 */ mr r29, r6 +/* 80051CD4 0004EC34 7C FE 3B 78 */ mr r30, r7 +/* 80051CD8 0004EC38 7C 04 03 78 */ mr r4, r0 +/* 80051CDC 0004EC3C 38 60 00 10 */ li r3, 0x10 +/* 80051CE0 0004EC40 38 A0 00 00 */ li r5, 0 +/* 80051CE4 0004EC44 48 2C 3B 89 */ bl __nw__FUlPCcPCc +/* 80051CE8 0004EC48 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80051CEC 0004EC4C 41 82 00 18 */ beq lbl_80051D04 +/* 80051CF0 0004EC50 80 9C 00 00 */ lwz r4, 0(r28) +/* 80051CF4 0004EC54 80 BD 00 00 */ lwz r5, 0(r29) +/* 80051CF8 0004EC58 80 DE 00 00 */ lwz r6, 0(r30) +/* 80051CFC 0004EC5C 4B FF F9 A5 */ bl __ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv +/* 80051D00 0004EC60 7C 7F 1B 78 */ mr r31, r3 +lbl_80051D04: +/* 80051D04 0004EC64 3C 80 80 3D */ lis r4, lbl_803CCF20@ha +/* 80051D08 0004EC68 38 60 00 08 */ li r3, 8 +/* 80051D0C 0004EC6C 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l +/* 80051D10 0004EC70 38 A0 00 00 */ li r5, 0 +/* 80051D14 0004EC74 48 2C 3B 59 */ bl __nw__FUlPCcPCc +/* 80051D18 0004EC78 28 03 00 00 */ cmplwi r3, 0 +/* 80051D1C 0004EC7C 41 82 00 10 */ beq lbl_80051D2C +/* 80051D20 0004EC80 93 E3 00 00 */ stw r31, 0(r3) +/* 80051D24 0004EC84 38 00 00 01 */ li r0, 1 +/* 80051D28 0004EC88 90 03 00 04 */ stw r0, 4(r3) +lbl_80051D2C: +/* 80051D2C 0004EC8C 90 61 00 08 */ stw r3, 8(r1) +/* 80051D30 0004EC90 38 00 00 01 */ li r0, 1 +/* 80051D34 0004EC94 38 61 00 08 */ addi r3, r1, 8 +/* 80051D38 0004EC98 93 7A 00 00 */ stw r27, 0(r26) +/* 80051D3C 0004EC9C 90 1A 00 04 */ stw r0, 4(r26) +/* 80051D40 0004ECA0 80 01 00 08 */ lwz r0, 8(r1) +/* 80051D44 0004ECA4 90 1A 00 08 */ stw r0, 8(r26) +/* 80051D48 0004ECA8 80 BA 00 08 */ lwz r5, 8(r26) +/* 80051D4C 0004ECAC 80 85 00 04 */ lwz r4, 4(r5) +/* 80051D50 0004ECB0 38 04 00 01 */ addi r0, r4, 1 +/* 80051D54 0004ECB4 90 05 00 04 */ stw r0, 4(r5) +/* 80051D58 0004ECB8 4B FB 69 B5 */ bl sub_8000870c +/* 80051D5C 0004ECBC BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80051D60 0004ECC0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80051D64 0004ECC4 7C 08 03 A6 */ mtlr r0 +/* 80051D68 0004ECC8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80051D6C 0004ECCC 4E 80 00 20 */ blr + +.global GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage +GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage: +/* 80051D70 0004ECD0 80 63 00 08 */ lwz r3, 8(r3) +/* 80051D74 0004ECD4 80 63 00 00 */ lwz r3, 0(r3) +/* 80051D78 0004ECD8 4E 80 00 20 */ blr + +.global sub_80051d7c +sub_80051d7c: +/* 80051D7C 0004ECDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80051D80 0004ECE0 7C 08 02 A6 */ mflr r0 +/* 80051D84 0004ECE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80051D88 0004ECE8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80051D8C 0004ECEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80051D90 0004ECF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80051D94 0004ECF4 7C 9D 23 78 */ mr r29, r4 +/* 80051D98 0004ECF8 93 81 00 10 */ stw r28, 0x10(r1) +/* 80051D9C 0004ECFC 7C 7C 1B 78 */ mr r28, r3 +/* 80051DA0 0004ED00 80 03 00 04 */ lwz r0, 4(r3) +/* 80051DA4 0004ED04 83 C4 00 04 */ lwz r30, 4(r4) +/* 80051DA8 0004ED08 7C 1D 00 40 */ cmplw r29, r0 +/* 80051DAC 0004ED0C 40 82 00 08 */ bne lbl_80051DB4 +/* 80051DB0 0004ED10 93 DC 00 04 */ stw r30, 4(r28) +lbl_80051DB4: +/* 80051DB4 0004ED14 80 1D 00 04 */ lwz r0, 4(r29) +/* 80051DB8 0004ED18 37 FD 00 08 */ addic. r31, r29, 8 +/* 80051DBC 0004ED1C 80 7D 00 00 */ lwz r3, 0(r29) +/* 80051DC0 0004ED20 90 03 00 04 */ stw r0, 4(r3) +/* 80051DC4 0004ED24 80 1D 00 00 */ lwz r0, 0(r29) +/* 80051DC8 0004ED28 80 7D 00 04 */ lwz r3, 4(r29) +/* 80051DCC 0004ED2C 90 03 00 00 */ stw r0, 0(r3) +/* 80051DD0 0004ED30 41 82 00 54 */ beq lbl_80051E24 +/* 80051DD4 0004ED34 34 1F 00 08 */ addic. r0, r31, 8 +/* 80051DD8 0004ED38 41 82 00 4C */ beq lbl_80051E24 +/* 80051DDC 0004ED3C 80 9F 00 08 */ lwz r4, 8(r31) +/* 80051DE0 0004ED40 80 64 00 04 */ lwz r3, 4(r4) +/* 80051DE4 0004ED44 34 03 FF FF */ addic. r0, r3, -1 +/* 80051DE8 0004ED48 90 04 00 04 */ stw r0, 4(r4) +/* 80051DEC 0004ED4C 41 81 00 38 */ bgt lbl_80051E24 +/* 80051DF0 0004ED50 80 7F 00 08 */ lwz r3, 8(r31) +/* 80051DF4 0004ED54 80 63 00 00 */ lwz r3, 0(r3) +/* 80051DF8 0004ED58 28 03 00 00 */ cmplwi r3, 0 +/* 80051DFC 0004ED5C 41 82 00 18 */ beq lbl_80051E14 +/* 80051E00 0004ED60 81 83 00 00 */ lwz r12, 0(r3) +/* 80051E04 0004ED64 38 80 00 01 */ li r4, 1 +/* 80051E08 0004ED68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80051E0C 0004ED6C 7D 89 03 A6 */ mtctr r12 +/* 80051E10 0004ED70 4E 80 04 21 */ bctrl +lbl_80051E14: +/* 80051E14 0004ED74 80 7F 00 08 */ lwz r3, 8(r31) +/* 80051E18 0004ED78 28 03 00 00 */ cmplwi r3, 0 +/* 80051E1C 0004ED7C 41 82 00 08 */ beq lbl_80051E24 +/* 80051E20 0004ED80 48 2C 3B 11 */ bl Free__7CMemoryFPCv +lbl_80051E24: +/* 80051E24 0004ED84 28 1D 00 00 */ cmplwi r29, 0 +/* 80051E28 0004ED88 41 82 00 0C */ beq lbl_80051E34 +/* 80051E2C 0004ED8C 7F A3 EB 78 */ mr r3, r29 +/* 80051E30 0004ED90 48 2C 3B 01 */ bl Free__7CMemoryFPCv +lbl_80051E34: +/* 80051E34 0004ED94 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 80051E38 0004ED98 7F C3 F3 78 */ mr r3, r30 +/* 80051E3C 0004ED9C 38 04 FF FF */ addi r0, r4, -1 +/* 80051E40 0004EDA0 90 1C 00 14 */ stw r0, 0x14(r28) +/* 80051E44 0004EDA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80051E48 0004EDA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80051E4C 0004EDAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80051E50 0004EDB0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80051E54 0004EDB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80051E58 0004EDB8 7C 08 03 A6 */ mtlr r0 +/* 80051E5C 0004EDBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80051E60 0004EDC0 4E 80 00 20 */ blr + +.global GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv: +/* 80051E64 0004EDC4 80 04 00 00 */ lwz r0, 0(r4) +/* 80051E68 0004EDC8 90 03 00 00 */ stw r0, 0(r3) +/* 80051E6C 0004EDCC 80 83 00 00 */ lwz r4, 0(r3) +/* 80051E70 0004EDD0 80 64 00 04 */ lwz r3, 4(r4) +/* 80051E74 0004EDD4 38 03 00 01 */ addi r0, r3, 1 +/* 80051E78 0004EDD8 90 04 00 04 */ stw r0, 4(r4) +/* 80051E7C 0004EDDC 4E 80 00 20 */ blr + +.global OnIOWinMessage__13CIOWinManagerFRC20CArchitectureMessage +OnIOWinMessage__13CIOWinManagerFRC20CArchitectureMessage: +/* 80051E80 0004EDE0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80051E84 0004EDE4 7C 08 02 A6 */ mflr r0 +/* 80051E88 0004EDE8 90 01 00 44 */ stw r0, 0x44(r1) +/* 80051E8C 0004EDEC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80051E90 0004EDF0 7C 7F 1B 78 */ mr r31, r3 +/* 80051E94 0004EDF4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80051E98 0004EDF8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80051E9C 0004EDFC 93 81 00 30 */ stw r28, 0x30(r1) +/* 80051EA0 0004EE00 80 04 00 04 */ lwz r0, 4(r4) +/* 80051EA4 0004EE04 2C 00 00 02 */ cmpwi r0, 2 +/* 80051EA8 0004EE08 41 82 01 18 */ beq lbl_80051FC0 +/* 80051EAC 0004EE0C 40 80 00 14 */ bge lbl_80051EC0 +/* 80051EB0 0004EE10 2C 00 00 00 */ cmpwi r0, 0 +/* 80051EB4 0004EE14 41 82 00 18 */ beq lbl_80051ECC +/* 80051EB8 0004EE18 40 80 00 8C */ bge lbl_80051F44 +/* 80051EBC 0004EE1C 48 00 01 98 */ b lbl_80052054 +lbl_80051EC0: +/* 80051EC0 0004EE20 2C 00 00 04 */ cmpwi r0, 4 +/* 80051EC4 0004EE24 40 80 01 90 */ bge lbl_80052054 +/* 80051EC8 0004EE28 48 00 01 80 */ b lbl_80052048 +lbl_80051ECC: +/* 80051ECC 0004EE2C 7C 83 23 78 */ mr r3, r4 +/* 80051ED0 0004EE30 4B FF FE A1 */ bl GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage +/* 80051ED4 0004EE34 7C 65 1B 78 */ mr r5, r3 +/* 80051ED8 0004EE38 7F E4 FB 78 */ mr r4, r31 +/* 80051EDC 0004EE3C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80051EE0 0004EE40 38 A5 00 04 */ addi r5, r5, 4 +/* 80051EE4 0004EE44 48 00 06 05 */ bl sub_800524e8 +/* 80051EE8 0004EE48 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80051EEC 0004EE4C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80051EF0 0004EE50 90 A1 00 24 */ stw r5, 0x24(r1) +/* 80051EF4 0004EE54 80 85 00 04 */ lwz r4, 4(r5) +/* 80051EF8 0004EE58 38 04 00 01 */ addi r0, r4, 1 +/* 80051EFC 0004EE5C 90 05 00 04 */ stw r0, 4(r5) +/* 80051F00 0004EE60 4B FB 67 9D */ bl sub_8000869c +/* 80051F04 0004EE64 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 80051F08 0004EE68 80 06 00 00 */ lwz r0, 0(r6) +/* 80051F0C 0004EE6C 28 00 00 00 */ cmplwi r0, 0 +/* 80051F10 0004EE70 41 82 00 28 */ beq lbl_80051F38 +/* 80051F14 0004EE74 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80051F18 0004EE78 7F E3 FB 78 */ mr r3, r31 +/* 80051F1C 0004EE7C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80051F20 0004EE80 80 A6 00 04 */ lwz r5, 4(r6) +/* 80051F24 0004EE84 38 05 00 01 */ addi r0, r5, 1 +/* 80051F28 0004EE88 90 06 00 04 */ stw r0, 4(r6) +/* 80051F2C 0004EE8C 48 00 08 E9 */ bl "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" +/* 80051F30 0004EE90 38 61 00 14 */ addi r3, r1, 0x14 +/* 80051F34 0004EE94 4B FB 67 69 */ bl sub_8000869c +lbl_80051F38: +/* 80051F38 0004EE98 38 61 00 24 */ addi r3, r1, 0x24 +/* 80051F3C 0004EE9C 4B FB 67 61 */ bl sub_8000869c +/* 80051F40 0004EEA0 48 00 01 14 */ b lbl_80052054 +lbl_80051F44: +/* 80051F44 0004EEA4 7C 83 23 78 */ mr r3, r4 +/* 80051F48 0004EEA8 4B FF FD 59 */ bl GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage +/* 80051F4C 0004EEAC 3C 80 80 3D */ lis r4, lbl_803CCF28@ha +/* 80051F50 0004EEB0 83 C3 00 04 */ lwz r30, 4(r3) +/* 80051F54 0004EEB4 38 84 CF 28 */ addi r4, r4, lbl_803CCF28@l +/* 80051F58 0004EEB8 83 A3 00 08 */ lwz r29, 8(r3) +/* 80051F5C 0004EEBC 83 83 00 0C */ lwz r28, 0xc(r3) +/* 80051F60 0004EEC0 38 84 00 33 */ addi r4, r4, 0x33 +/* 80051F64 0004EEC4 38 60 00 08 */ li r3, 8 +/* 80051F68 0004EEC8 38 A0 00 00 */ li r5, 0 +/* 80051F6C 0004EECC 48 2C 39 01 */ bl __nw__FUlPCcPCc +/* 80051F70 0004EED0 7C 68 1B 79 */ or. r8, r3, r3 +/* 80051F74 0004EED4 41 82 00 10 */ beq lbl_80051F84 +/* 80051F78 0004EED8 93 88 00 00 */ stw r28, 0(r8) +/* 80051F7C 0004EEDC 38 00 00 01 */ li r0, 1 +/* 80051F80 0004EEE0 90 08 00 04 */ stw r0, 4(r8) +lbl_80051F84: +/* 80051F84 0004EEE4 91 01 00 20 */ stw r8, 0x20(r1) +/* 80051F88 0004EEE8 7F E3 FB 78 */ mr r3, r31 +/* 80051F8C 0004EEEC 7F C5 F3 78 */ mr r5, r30 +/* 80051F90 0004EEF0 7F A6 EB 78 */ mr r6, r29 +/* 80051F94 0004EEF4 91 01 00 10 */ stw r8, 0x10(r1) +/* 80051F98 0004EEF8 38 81 00 10 */ addi r4, r1, 0x10 +/* 80051F9C 0004EEFC 80 E8 00 04 */ lwz r7, 4(r8) +/* 80051FA0 0004EF00 38 07 00 01 */ addi r0, r7, 1 +/* 80051FA4 0004EF04 90 08 00 04 */ stw r0, 4(r8) +/* 80051FA8 0004EF08 48 00 09 A9 */ bl "AddIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>ii" +/* 80051FAC 0004EF0C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80051FB0 0004EF10 4B FB 66 ED */ bl sub_8000869c +/* 80051FB4 0004EF14 38 61 00 20 */ addi r3, r1, 0x20 +/* 80051FB8 0004EF18 4B FB 66 E5 */ bl sub_8000869c +/* 80051FBC 0004EF1C 48 00 00 98 */ b lbl_80052054 +lbl_80051FC0: +/* 80051FC0 0004EF20 7C 83 23 78 */ mr r3, r4 +/* 80051FC4 0004EF24 4B FF FC D1 */ bl GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage +/* 80051FC8 0004EF28 7C 65 1B 78 */ mr r5, r3 +/* 80051FCC 0004EF2C 7F E4 FB 78 */ mr r4, r31 +/* 80051FD0 0004EF30 83 83 00 04 */ lwz r28, 4(r3) +/* 80051FD4 0004EF34 38 61 00 0C */ addi r3, r1, 0xc +/* 80051FD8 0004EF38 83 A5 00 08 */ lwz r29, 8(r5) +/* 80051FDC 0004EF3C 38 A5 00 0C */ addi r5, r5, 0xc +/* 80051FE0 0004EF40 48 00 05 09 */ bl sub_800524e8 +/* 80051FE4 0004EF44 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80051FE8 0004EF48 38 61 00 0C */ addi r3, r1, 0xc +/* 80051FEC 0004EF4C 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80051FF0 0004EF50 80 85 00 04 */ lwz r4, 4(r5) +/* 80051FF4 0004EF54 38 04 00 01 */ addi r0, r4, 1 +/* 80051FF8 0004EF58 90 05 00 04 */ stw r0, 4(r5) +/* 80051FFC 0004EF5C 4B FB 66 A1 */ bl sub_8000869c +/* 80052000 0004EF60 81 01 00 1C */ lwz r8, 0x1c(r1) +/* 80052004 0004EF64 80 08 00 00 */ lwz r0, 0(r8) +/* 80052008 0004EF68 28 00 00 00 */ cmplwi r0, 0 +/* 8005200C 0004EF6C 41 82 00 30 */ beq lbl_8005203C +/* 80052010 0004EF70 91 01 00 08 */ stw r8, 8(r1) +/* 80052014 0004EF74 7F E3 FB 78 */ mr r3, r31 +/* 80052018 0004EF78 7F 85 E3 78 */ mr r5, r28 +/* 8005201C 0004EF7C 7F A6 EB 78 */ mr r6, r29 +/* 80052020 0004EF80 80 E8 00 04 */ lwz r7, 4(r8) +/* 80052024 0004EF84 38 81 00 08 */ addi r4, r1, 8 +/* 80052028 0004EF88 38 07 00 01 */ addi r0, r7, 1 +/* 8005202C 0004EF8C 90 08 00 04 */ stw r0, 4(r8) +/* 80052030 0004EF90 48 00 05 D9 */ bl sub_80052608 +/* 80052034 0004EF94 38 61 00 08 */ addi r3, r1, 8 +/* 80052038 0004EF98 4B FB 66 65 */ bl sub_8000869c +lbl_8005203C: +/* 8005203C 0004EF9C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80052040 0004EFA0 4B FB 66 5D */ bl sub_8000869c +/* 80052044 0004EFA4 48 00 00 10 */ b lbl_80052054 +lbl_80052048: +/* 80052048 0004EFA8 48 00 07 4D */ bl RemoveAllIOWins__13CIOWinManagerFv +/* 8005204C 0004EFAC 38 60 00 01 */ li r3, 1 +/* 80052050 0004EFB0 48 00 00 08 */ b lbl_80052058 +lbl_80052054: +/* 80052054 0004EFB4 38 60 00 00 */ li r3, 0 +lbl_80052058: +/* 80052058 0004EFB8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8005205C 0004EFBC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80052060 0004EFC0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80052064 0004EFC4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80052068 0004EFC8 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8005206C 0004EFCC 7C 08 03 A6 */ mtlr r0 +/* 80052070 0004EFD0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80052074 0004EFD4 4E 80 00 20 */ blr + +.global Draw__13CIOWinManagerCFv +Draw__13CIOWinManagerCFv: +/* 80052078 0004EFD8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005207C 0004EFDC 7C 08 02 A6 */ mflr r0 +/* 80052080 0004EFE0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80052084 0004EFE4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80052088 0004EFE8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8005208C 0004EFEC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80052090 0004EFF0 7C 7D 1B 78 */ mr r29, r3 +/* 80052094 0004EFF4 83 C3 00 00 */ lwz r30, 0(r3) +/* 80052098 0004EFF8 48 00 00 6C */ b lbl_80052104 +lbl_8005209C: +/* 8005209C 0004EFFC 7F C4 F3 78 */ mr r4, r30 +/* 800520A0 0004F000 38 61 00 14 */ addi r3, r1, 0x14 +/* 800520A4 0004F004 4B FF FD C1 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 800520A8 0004F008 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800520AC 0004F00C 80 63 00 00 */ lwz r3, 0(r3) +/* 800520B0 0004F010 81 83 00 00 */ lwz r12, 0(r3) +/* 800520B4 0004F014 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800520B8 0004F018 7D 89 03 A6 */ mtctr r12 +/* 800520BC 0004F01C 4E 80 04 21 */ bctrl +/* 800520C0 0004F020 38 61 00 14 */ addi r3, r1, 0x14 +/* 800520C4 0004F024 4B FB 65 D9 */ bl sub_8000869c +/* 800520C8 0004F028 7F C4 F3 78 */ mr r4, r30 +/* 800520CC 0004F02C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800520D0 0004F030 4B FF FD 95 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 800520D4 0004F034 80 61 00 10 */ lwz r3, 0x10(r1) +/* 800520D8 0004F038 80 63 00 00 */ lwz r3, 0(r3) +/* 800520DC 0004F03C 81 83 00 00 */ lwz r12, 0(r3) +/* 800520E0 0004F040 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800520E4 0004F044 7D 89 03 A6 */ mtctr r12 +/* 800520E8 0004F048 4E 80 04 21 */ bctrl +/* 800520EC 0004F04C 7C 7F 1B 78 */ mr r31, r3 +/* 800520F0 0004F050 38 61 00 10 */ addi r3, r1, 0x10 +/* 800520F4 0004F054 4B FB 65 A9 */ bl sub_8000869c +/* 800520F8 0004F058 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800520FC 0004F05C 41 82 00 10 */ beq lbl_8005210C +/* 80052100 0004F060 83 DE 00 08 */ lwz r30, 8(r30) +lbl_80052104: +/* 80052104 0004F064 28 1E 00 00 */ cmplwi r30, 0 +/* 80052108 0004F068 40 82 FF 94 */ bne lbl_8005209C +lbl_8005210C: +/* 8005210C 0004F06C 83 DD 00 00 */ lwz r30, 0(r29) +/* 80052110 0004F070 48 00 00 6C */ b lbl_8005217C +lbl_80052114: +/* 80052114 0004F074 7F C4 F3 78 */ mr r4, r30 +/* 80052118 0004F078 38 61 00 0C */ addi r3, r1, 0xc +/* 8005211C 0004F07C 4B FF FD 49 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 80052120 0004F080 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80052124 0004F084 80 63 00 00 */ lwz r3, 0(r3) +/* 80052128 0004F088 81 83 00 00 */ lwz r12, 0(r3) +/* 8005212C 0004F08C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80052130 0004F090 7D 89 03 A6 */ mtctr r12 +/* 80052134 0004F094 4E 80 04 21 */ bctrl +/* 80052138 0004F098 38 61 00 0C */ addi r3, r1, 0xc +/* 8005213C 0004F09C 4B FB 65 61 */ bl sub_8000869c +/* 80052140 0004F0A0 7F C4 F3 78 */ mr r4, r30 +/* 80052144 0004F0A4 38 61 00 08 */ addi r3, r1, 8 +/* 80052148 0004F0A8 4B FF FD 1D */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 8005214C 0004F0AC 80 61 00 08 */ lwz r3, 8(r1) +/* 80052150 0004F0B0 80 63 00 00 */ lwz r3, 0(r3) +/* 80052154 0004F0B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80052158 0004F0B8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8005215C 0004F0BC 7D 89 03 A6 */ mtctr r12 +/* 80052160 0004F0C0 4E 80 04 21 */ bctrl +/* 80052164 0004F0C4 7C 7F 1B 78 */ mr r31, r3 +/* 80052168 0004F0C8 38 61 00 08 */ addi r3, r1, 8 +/* 8005216C 0004F0CC 4B FB 65 31 */ bl sub_8000869c +/* 80052170 0004F0D0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80052174 0004F0D4 41 82 00 10 */ beq lbl_80052184 +/* 80052178 0004F0D8 83 DE 00 08 */ lwz r30, 8(r30) +lbl_8005217C: +/* 8005217C 0004F0DC 28 1E 00 00 */ cmplwi r30, 0 +/* 80052180 0004F0E0 40 82 FF 94 */ bne lbl_80052114 +lbl_80052184: +/* 80052184 0004F0E4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80052188 0004F0E8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8005218C 0004F0EC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80052190 0004F0F0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80052194 0004F0F4 7C 08 03 A6 */ mtlr r0 +/* 80052198 0004F0F8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8005219C 0004F0FC 4E 80 00 20 */ blr + +.global DistributeOneMessage__13CIOWinManagerFRC20CArchitectureMessageR18CArchitectureQueue +DistributeOneMessage__13CIOWinManagerFRC20CArchitectureMessageR18CArchitectureQueue: +/* 800521A0 0004F100 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800521A4 0004F104 7C 08 02 A6 */ mflr r0 +/* 800521A8 0004F108 90 01 00 54 */ stw r0, 0x54(r1) +/* 800521AC 0004F10C BF 21 00 34 */ stmw r25, 0x34(r1) +/* 800521B0 0004F110 7C 79 1B 78 */ mr r25, r3 +/* 800521B4 0004F114 3B A1 00 28 */ addi r29, r1, 0x28 +/* 800521B8 0004F118 3B C1 00 1C */ addi r30, r1, 0x1c +/* 800521BC 0004F11C 7C 9A 23 78 */ mr r26, r4 +/* 800521C0 0004F120 7C BB 2B 78 */ mr r27, r5 +/* 800521C4 0004F124 83 83 00 04 */ lwz r28, 4(r3) +/* 800521C8 0004F128 48 00 01 A4 */ b lbl_8005236C +lbl_800521CC: +/* 800521CC 0004F12C 7F 84 E3 78 */ mr r4, r28 +/* 800521D0 0004F130 38 61 00 0C */ addi r3, r1, 0xc +/* 800521D4 0004F134 4B FF FC 91 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 800521D8 0004F138 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 800521DC 0004F13C 38 61 00 0C */ addi r3, r1, 0xc +/* 800521E0 0004F140 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800521E4 0004F144 80 85 00 04 */ lwz r4, 4(r5) +/* 800521E8 0004F148 38 04 00 01 */ addi r0, r4, 1 +/* 800521EC 0004F14C 90 05 00 04 */ stw r0, 4(r5) +/* 800521F0 0004F150 4B FB 64 AD */ bl sub_8000869c +/* 800521F4 0004F154 80 61 00 10 */ lwz r3, 0x10(r1) +/* 800521F8 0004F158 7F 44 D3 78 */ mr r4, r26 +/* 800521FC 0004F15C 38 B9 00 08 */ addi r5, r25, 8 +/* 80052200 0004F160 80 63 00 00 */ lwz r3, 0(r3) +/* 80052204 0004F164 81 83 00 00 */ lwz r12, 0(r3) +/* 80052208 0004F168 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8005220C 0004F16C 7D 89 03 A6 */ mtctr r12 +/* 80052210 0004F170 4E 80 04 21 */ bctrl +/* 80052214 0004F174 7C 7F 1B 78 */ mr r31, r3 +/* 80052218 0004F178 48 00 00 E0 */ b lbl_800522F8 +lbl_8005221C: +/* 8005221C 0004F17C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80052220 0004F180 38 99 00 08 */ addi r4, r25, 8 +/* 80052224 0004F184 48 00 01 69 */ bl sub_8005238c +/* 80052228 0004F188 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8005222C 0004F18C 28 1E 00 00 */ cmplwi r30, 0 +/* 80052230 0004F190 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80052234 0004F194 80 9E 00 00 */ lwz r4, 0(r30) +/* 80052238 0004F198 90 61 00 20 */ stw r3, 0x20(r1) +/* 8005223C 0004F19C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80052240 0004F1A0 90 9D 00 00 */ stw r4, 0(r29) +/* 80052244 0004F1A4 80 64 00 04 */ lwz r3, 4(r4) +/* 80052248 0004F1A8 38 03 00 01 */ addi r0, r3, 1 +/* 8005224C 0004F1AC 90 04 00 04 */ stw r0, 4(r4) +/* 80052250 0004F1B0 41 82 00 0C */ beq lbl_8005225C +/* 80052254 0004F1B4 7F C3 F3 78 */ mr r3, r30 +/* 80052258 0004F1B8 4B FB 64 B5 */ bl sub_8000870c +lbl_8005225C: +/* 8005225C 0004F1BC 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80052260 0004F1C0 2C 00 00 00 */ cmpwi r0, 0 +/* 80052264 0004F1C4 40 82 00 78 */ bne lbl_800522DC +/* 80052268 0004F1C8 7F 23 CB 78 */ mr r3, r25 +/* 8005226C 0004F1CC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80052270 0004F1D0 4B FF FC 11 */ bl OnIOWinMessage__13CIOWinManagerFRC20CArchitectureMessage +/* 80052274 0004F1D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80052278 0004F1D8 41 82 00 70 */ beq lbl_800522E8 +/* 8005227C 0004F1DC 83 59 00 10 */ lwz r26, 0x10(r25) +/* 80052280 0004F1E0 80 99 00 0C */ lwz r4, 0xc(r25) +/* 80052284 0004F1E4 48 00 00 10 */ b lbl_80052294 +lbl_80052288: +/* 80052288 0004F1E8 38 79 00 08 */ addi r3, r25, 8 +/* 8005228C 0004F1EC 4B FF FA F1 */ bl sub_80051d7c +/* 80052290 0004F1F0 7C 64 1B 78 */ mr r4, r3 +lbl_80052294: +/* 80052294 0004F1F4 7C 04 D0 40 */ cmplw r4, r26 +/* 80052298 0004F1F8 40 82 FF F0 */ bne lbl_80052288 +/* 8005229C 0004F1FC 83 3B 00 08 */ lwz r25, 8(r27) +/* 800522A0 0004F200 80 9B 00 04 */ lwz r4, 4(r27) +/* 800522A4 0004F204 48 00 00 10 */ b lbl_800522B4 +lbl_800522A8: +/* 800522A8 0004F208 7F 63 DB 78 */ mr r3, r27 +/* 800522AC 0004F20C 4B FF FA D1 */ bl sub_80051d7c +/* 800522B0 0004F210 7C 64 1B 78 */ mr r4, r3 +lbl_800522B4: +/* 800522B4 0004F214 7C 04 C8 40 */ cmplw r4, r25 +/* 800522B8 0004F218 40 82 FF F0 */ bne lbl_800522A8 +/* 800522BC 0004F21C 28 1D 00 00 */ cmplwi r29, 0 +/* 800522C0 0004F220 41 82 00 0C */ beq lbl_800522CC +/* 800522C4 0004F224 7F A3 EB 78 */ mr r3, r29 +/* 800522C8 0004F228 4B FB 64 45 */ bl sub_8000870c +lbl_800522CC: +/* 800522CC 0004F22C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800522D0 0004F230 4B FB 63 CD */ bl sub_8000869c +/* 800522D4 0004F234 38 60 00 01 */ li r3, 1 +/* 800522D8 0004F238 48 00 00 A0 */ b lbl_80052378 +lbl_800522DC: +/* 800522DC 0004F23C 7F 63 DB 78 */ mr r3, r27 +/* 800522E0 0004F240 38 81 00 20 */ addi r4, r1, 0x20 +/* 800522E4 0004F244 4B FB 4A 1D */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage +lbl_800522E8: +/* 800522E8 0004F248 28 1D 00 00 */ cmplwi r29, 0 +/* 800522EC 0004F24C 41 82 00 0C */ beq lbl_800522F8 +/* 800522F0 0004F250 7F A3 EB 78 */ mr r3, r29 +/* 800522F4 0004F254 4B FB 64 19 */ bl sub_8000870c +lbl_800522F8: +/* 800522F8 0004F258 80 19 00 1C */ lwz r0, 0x1c(r25) +/* 800522FC 0004F25C 2C 00 00 00 */ cmpwi r0, 0 +/* 80052300 0004F260 40 82 FF 1C */ bne lbl_8005221C +/* 80052304 0004F264 2C 1F 00 02 */ cmpwi r31, 2 +/* 80052308 0004F268 41 82 00 0C */ beq lbl_80052314 +/* 8005230C 0004F26C 2C 1F 00 03 */ cmpwi r31, 3 +/* 80052310 0004F270 40 82 00 34 */ bne lbl_80052344 +lbl_80052314: +/* 80052314 0004F274 83 9C 00 08 */ lwz r28, 8(r28) +/* 80052318 0004F278 7F 23 CB 78 */ mr r3, r25 +/* 8005231C 0004F27C 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 80052320 0004F280 38 81 00 08 */ addi r4, r1, 8 +/* 80052324 0004F284 90 C1 00 08 */ stw r6, 8(r1) +/* 80052328 0004F288 80 A6 00 04 */ lwz r5, 4(r6) +/* 8005232C 0004F28C 38 05 00 01 */ addi r0, r5, 1 +/* 80052330 0004F290 90 06 00 04 */ stw r0, 4(r6) +/* 80052334 0004F294 48 00 04 E1 */ bl "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" +/* 80052338 0004F298 38 61 00 08 */ addi r3, r1, 8 +/* 8005233C 0004F29C 4B FB 63 61 */ bl sub_8000869c +/* 80052340 0004F2A0 48 00 00 08 */ b lbl_80052348 +lbl_80052344: +/* 80052344 0004F2A4 83 9C 00 08 */ lwz r28, 8(r28) +lbl_80052348: +/* 80052348 0004F2A8 2C 1F 00 01 */ cmpwi r31, 1 +/* 8005234C 0004F2AC 41 82 00 0C */ beq lbl_80052358 +/* 80052350 0004F2B0 2C 1F 00 02 */ cmpwi r31, 2 +/* 80052354 0004F2B4 40 82 00 10 */ bne lbl_80052364 +lbl_80052358: +/* 80052358 0004F2B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8005235C 0004F2BC 4B FB 63 41 */ bl sub_8000869c +/* 80052360 0004F2C0 48 00 00 14 */ b lbl_80052374 +lbl_80052364: +/* 80052364 0004F2C4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80052368 0004F2C8 4B FB 63 35 */ bl sub_8000869c +lbl_8005236C: +/* 8005236C 0004F2CC 28 1C 00 00 */ cmplwi r28, 0 +/* 80052370 0004F2D0 40 82 FE 5C */ bne lbl_800521CC +lbl_80052374: +/* 80052374 0004F2D4 38 60 00 00 */ li r3, 0 +lbl_80052378: +/* 80052378 0004F2D8 BB 21 00 34 */ lmw r25, 0x34(r1) +/* 8005237C 0004F2DC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80052380 0004F2E0 7C 08 03 A6 */ mtlr r0 +/* 80052384 0004F2E4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80052388 0004F2E8 4E 80 00 20 */ blr + +.global sub_8005238c +sub_8005238c: +/* 8005238C 0004F2EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80052390 0004F2F0 7C 08 02 A6 */ mflr r0 +/* 80052394 0004F2F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80052398 0004F2F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005239C 0004F2FC 3B E1 00 10 */ addi r31, r1, 0x10 +/* 800523A0 0004F300 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800523A4 0004F304 7C 7E 1B 78 */ mr r30, r3 +/* 800523A8 0004F308 7C 83 23 78 */ mr r3, r4 +/* 800523AC 0004F30C 80 A4 00 04 */ lwz r5, 4(r4) +/* 800523B0 0004F310 80 05 00 08 */ lwz r0, 8(r5) +/* 800523B4 0004F314 90 01 00 08 */ stw r0, 8(r1) +/* 800523B8 0004F318 80 05 00 0C */ lwz r0, 0xc(r5) +/* 800523BC 0004F31C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800523C0 0004F320 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 800523C4 0004F324 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800523C8 0004F328 80 A6 00 04 */ lwz r5, 4(r6) +/* 800523CC 0004F32C 38 05 00 01 */ addi r0, r5, 1 +/* 800523D0 0004F330 90 06 00 04 */ stw r0, 4(r6) +/* 800523D4 0004F334 80 84 00 04 */ lwz r4, 4(r4) +/* 800523D8 0004F338 4B FF F9 A5 */ bl sub_80051d7c +/* 800523DC 0004F33C 80 01 00 08 */ lwz r0, 8(r1) +/* 800523E0 0004F340 28 1F 00 00 */ cmplwi r31, 0 +/* 800523E4 0004F344 90 1E 00 00 */ stw r0, 0(r30) +/* 800523E8 0004F348 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800523EC 0004F34C 90 1E 00 04 */ stw r0, 4(r30) +/* 800523F0 0004F350 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800523F4 0004F354 90 1E 00 08 */ stw r0, 8(r30) +/* 800523F8 0004F358 80 9E 00 08 */ lwz r4, 8(r30) +/* 800523FC 0004F35C 80 64 00 04 */ lwz r3, 4(r4) +/* 80052400 0004F360 38 03 00 01 */ addi r0, r3, 1 +/* 80052404 0004F364 90 04 00 04 */ stw r0, 4(r4) +/* 80052408 0004F368 41 82 00 0C */ beq lbl_80052414 +/* 8005240C 0004F36C 7F E3 FB 78 */ mr r3, r31 +/* 80052410 0004F370 4B FB 62 FD */ bl sub_8000870c +lbl_80052414: +/* 80052414 0004F374 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80052418 0004F378 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005241C 0004F37C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80052420 0004F380 7C 08 03 A6 */ mtlr r0 +/* 80052424 0004F384 38 21 00 20 */ addi r1, r1, 0x20 +/* 80052428 0004F388 4E 80 00 20 */ blr + +.global PumpMessages__13CIOWinManagerFR18CArchitectureQueue +PumpMessages__13CIOWinManagerFR18CArchitectureQueue: +/* 8005242C 0004F38C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80052430 0004F390 7C 08 02 A6 */ mflr r0 +/* 80052434 0004F394 90 01 00 34 */ stw r0, 0x34(r1) +/* 80052438 0004F398 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8005243C 0004F39C 3B E1 00 10 */ addi r31, r1, 0x10 +/* 80052440 0004F3A0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80052444 0004F3A4 3B C1 00 1C */ addi r30, r1, 0x1c +/* 80052448 0004F3A8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8005244C 0004F3AC 7C 9D 23 78 */ mr r29, r4 +/* 80052450 0004F3B0 93 81 00 20 */ stw r28, 0x20(r1) +/* 80052454 0004F3B4 7C 7C 1B 78 */ mr r28, r3 +/* 80052458 0004F3B8 48 00 00 64 */ b lbl_800524BC +lbl_8005245C: +/* 8005245C 0004F3BC 7F A4 EB 78 */ mr r4, r29 +/* 80052460 0004F3C0 38 61 00 08 */ addi r3, r1, 8 +/* 80052464 0004F3C4 4B FF FF 29 */ bl sub_8005238c +/* 80052468 0004F3C8 80 61 00 08 */ lwz r3, 8(r1) +/* 8005246C 0004F3CC 28 1F 00 00 */ cmplwi r31, 0 +/* 80052470 0004F3D0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80052474 0004F3D4 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80052478 0004F3D8 90 61 00 14 */ stw r3, 0x14(r1) +/* 8005247C 0004F3DC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80052480 0004F3E0 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80052484 0004F3E4 80 64 00 04 */ lwz r3, 4(r4) +/* 80052488 0004F3E8 38 03 00 01 */ addi r0, r3, 1 +/* 8005248C 0004F3EC 90 04 00 04 */ stw r0, 4(r4) +/* 80052490 0004F3F0 41 82 00 0C */ beq lbl_8005249C +/* 80052494 0004F3F4 7F E3 FB 78 */ mr r3, r31 +/* 80052498 0004F3F8 4B FB 62 75 */ bl sub_8000870c +lbl_8005249C: +/* 8005249C 0004F3FC 7F 83 E3 78 */ mr r3, r28 +/* 800524A0 0004F400 7F A5 EB 78 */ mr r5, r29 +/* 800524A4 0004F404 38 81 00 14 */ addi r4, r1, 0x14 +/* 800524A8 0004F408 4B FF FC F9 */ bl DistributeOneMessage__13CIOWinManagerFRC20CArchitectureMessageR18CArchitectureQueue +/* 800524AC 0004F40C 28 1E 00 00 */ cmplwi r30, 0 +/* 800524B0 0004F410 41 82 00 0C */ beq lbl_800524BC +/* 800524B4 0004F414 7F C3 F3 78 */ mr r3, r30 +/* 800524B8 0004F418 4B FB 62 55 */ bl sub_8000870c +lbl_800524BC: +/* 800524BC 0004F41C 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 800524C0 0004F420 2C 00 00 00 */ cmpwi r0, 0 +/* 800524C4 0004F424 40 82 FF 98 */ bne lbl_8005245C +/* 800524C8 0004F428 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800524CC 0004F42C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800524D0 0004F430 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800524D4 0004F434 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800524D8 0004F438 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800524DC 0004F43C 7C 08 03 A6 */ mtlr r0 +/* 800524E0 0004F440 38 21 00 30 */ addi r1, r1, 0x30 +/* 800524E4 0004F444 4E 80 00 20 */ blr + +.global sub_800524e8 +sub_800524e8: +/* 800524E8 0004F448 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800524EC 0004F44C 7C 08 02 A6 */ mflr r0 +/* 800524F0 0004F450 90 01 00 34 */ stw r0, 0x34(r1) +/* 800524F4 0004F454 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800524F8 0004F458 7C 9C 23 78 */ mr r28, r4 +/* 800524FC 0004F45C 7C 7B 1B 78 */ mr r27, r3 +/* 80052500 0004F460 7C BD 2B 78 */ mr r29, r5 +/* 80052504 0004F464 83 C4 00 04 */ lwz r30, 4(r4) +/* 80052508 0004F468 48 00 00 4C */ b lbl_80052554 +lbl_8005250C: +/* 8005250C 0004F46C 7F C4 F3 78 */ mr r4, r30 +/* 80052510 0004F470 38 61 00 0C */ addi r3, r1, 0xc +/* 80052514 0004F474 4B FF F9 51 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 80052518 0004F478 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8005251C 0004F47C 80 63 00 00 */ lwz r3, 0(r3) +/* 80052520 0004F480 48 00 06 7D */ bl GetName__6CIOWinCFv +/* 80052524 0004F484 7F A4 EB 78 */ mr r4, r29 +/* 80052528 0004F488 48 00 00 B9 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 8005252C 0004F48C 7C 7F 1B 78 */ mr r31, r3 +/* 80052530 0004F490 38 61 00 0C */ addi r3, r1, 0xc +/* 80052534 0004F494 4B FB 61 69 */ bl sub_8000869c +/* 80052538 0004F498 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8005253C 0004F49C 41 82 00 14 */ beq lbl_80052550 +/* 80052540 0004F4A0 7F 63 DB 78 */ mr r3, r27 +/* 80052544 0004F4A4 7F C4 F3 78 */ mr r4, r30 +/* 80052548 0004F4A8 4B FF F9 1D */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 8005254C 0004F4AC 48 00 00 80 */ b lbl_800525CC +lbl_80052550: +/* 80052550 0004F4B0 83 DE 00 08 */ lwz r30, 8(r30) +lbl_80052554: +/* 80052554 0004F4B4 28 1E 00 00 */ cmplwi r30, 0 +/* 80052558 0004F4B8 40 82 FF B4 */ bne lbl_8005250C +/* 8005255C 0004F4BC 83 DC 00 00 */ lwz r30, 0(r28) +/* 80052560 0004F4C0 48 00 00 4C */ b lbl_800525AC +lbl_80052564: +/* 80052564 0004F4C4 7F C4 F3 78 */ mr r4, r30 +/* 80052568 0004F4C8 38 61 00 08 */ addi r3, r1, 8 +/* 8005256C 0004F4CC 4B FF F8 F9 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 80052570 0004F4D0 80 61 00 08 */ lwz r3, 8(r1) +/* 80052574 0004F4D4 80 63 00 00 */ lwz r3, 0(r3) +/* 80052578 0004F4D8 48 00 06 25 */ bl GetName__6CIOWinCFv +/* 8005257C 0004F4DC 7F A4 EB 78 */ mr r4, r29 +/* 80052580 0004F4E0 48 00 00 61 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 80052584 0004F4E4 7C 7F 1B 78 */ mr r31, r3 +/* 80052588 0004F4E8 38 61 00 08 */ addi r3, r1, 8 +/* 8005258C 0004F4EC 4B FB 61 11 */ bl sub_8000869c +/* 80052590 0004F4F0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80052594 0004F4F4 41 82 00 14 */ beq lbl_800525A8 +/* 80052598 0004F4F8 7F 63 DB 78 */ mr r3, r27 +/* 8005259C 0004F4FC 7F C4 F3 78 */ mr r4, r30 +/* 800525A0 0004F500 4B FF F8 C5 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 800525A4 0004F504 48 00 00 28 */ b lbl_800525CC +lbl_800525A8: +/* 800525A8 0004F508 83 DE 00 08 */ lwz r30, 8(r30) +lbl_800525AC: +/* 800525AC 0004F50C 28 1E 00 00 */ cmplwi r30, 0 +/* 800525B0 0004F510 40 82 FF B4 */ bne lbl_80052564 +/* 800525B4 0004F514 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 800525B8 0004F518 90 1B 00 00 */ stw r0, 0(r27) +/* 800525BC 0004F51C 80 9B 00 00 */ lwz r4, 0(r27) +/* 800525C0 0004F520 80 64 00 04 */ lwz r3, 4(r4) +/* 800525C4 0004F524 38 03 00 01 */ addi r0, r3, 1 +/* 800525C8 0004F528 90 04 00 04 */ stw r0, 4(r4) +lbl_800525CC: +/* 800525CC 0004F52C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 800525D0 0004F530 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800525D4 0004F534 7C 08 03 A6 */ mtlr r0 +/* 800525D8 0004F538 38 21 00 30 */ addi r1, r1, 0x30 +/* 800525DC 0004F53C 4E 80 00 20 */ blr + +.global "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +"find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat": +/* 800525E0 0004F540 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800525E4 0004F544 7C 08 02 A6 */ mflr r0 +/* 800525E8 0004F548 90 01 00 14 */ stw r0, 0x14(r1) +/* 800525EC 0004F54C 4B FD 81 89 */ bl sub_8002a774 +/* 800525F0 0004F550 7C 60 00 34 */ cntlzw r0, r3 +/* 800525F4 0004F554 54 03 D9 7E */ srwi r3, r0, 5 +/* 800525F8 0004F558 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800525FC 0004F55C 7C 08 03 A6 */ mtlr r0 +/* 80052600 0004F560 38 21 00 10 */ addi r1, r1, 0x10 +/* 80052604 0004F564 4E 80 00 20 */ blr + +.global sub_80052608 +sub_80052608: +/* 80052608 0004F568 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005260C 0004F56C 7C 08 02 A6 */ mflr r0 +/* 80052610 0004F570 90 01 00 34 */ stw r0, 0x34(r1) +/* 80052614 0004F574 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80052618 0004F578 7C 7E 1B 78 */ mr r30, r3 +/* 8005261C 0004F57C 7C 99 23 78 */ mr r25, r4 +/* 80052620 0004F580 7C BA 2B 78 */ mr r26, r5 +/* 80052624 0004F584 7C DF 33 78 */ mr r31, r6 +/* 80052628 0004F588 3B 80 00 00 */ li r28, 0 +/* 8005262C 0004F58C 83 63 00 04 */ lwz r27, 4(r3) +/* 80052630 0004F590 48 00 00 9C */ b lbl_800526CC +lbl_80052634: +/* 80052634 0004F594 7F 64 DB 78 */ mr r4, r27 +/* 80052638 0004F598 38 61 00 0C */ addi r3, r1, 0xc +/* 8005263C 0004F59C 4B FF F8 29 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 80052640 0004F5A0 7F 24 CB 78 */ mr r4, r25 +/* 80052644 0004F5A4 38 61 00 0C */ addi r3, r1, 0xc +/* 80052648 0004F5A8 48 00 05 25 */ bl "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" +/* 8005264C 0004F5AC 7C 7D 1B 78 */ mr r29, r3 +/* 80052650 0004F5B0 38 61 00 0C */ addi r3, r1, 0xc +/* 80052654 0004F5B4 4B FB 60 49 */ bl sub_8000869c +/* 80052658 0004F5B8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8005265C 0004F5BC 41 82 00 68 */ beq lbl_800526C4 +/* 80052660 0004F5C0 28 1C 00 00 */ cmplwi r28, 0 +/* 80052664 0004F5C4 40 82 00 10 */ bne lbl_80052674 +/* 80052668 0004F5C8 80 1B 00 08 */ lwz r0, 8(r27) +/* 8005266C 0004F5CC 90 1E 00 04 */ stw r0, 4(r30) +/* 80052670 0004F5D0 48 00 00 0C */ b lbl_8005267C +lbl_80052674: +/* 80052674 0004F5D4 80 1B 00 08 */ lwz r0, 8(r27) +/* 80052678 0004F5D8 90 1C 00 08 */ stw r0, 8(r28) +lbl_8005267C: +/* 8005267C 0004F5DC 93 5B 00 04 */ stw r26, 4(r27) +/* 80052680 0004F5E0 38 60 00 00 */ li r3, 0 +/* 80052684 0004F5E4 80 9E 00 04 */ lwz r4, 4(r30) +/* 80052688 0004F5E8 48 00 00 0C */ b lbl_80052694 +lbl_8005268C: +/* 8005268C 0004F5EC 7C 83 23 78 */ mr r3, r4 +/* 80052690 0004F5F0 80 84 00 08 */ lwz r4, 8(r4) +lbl_80052694: +/* 80052694 0004F5F4 28 04 00 00 */ cmplwi r4, 0 +/* 80052698 0004F5F8 41 82 00 10 */ beq lbl_800526A8 +/* 8005269C 0004F5FC 80 04 00 04 */ lwz r0, 4(r4) +/* 800526A0 0004F600 7C 00 D0 00 */ cmpw r0, r26 +/* 800526A4 0004F604 41 81 FF E8 */ bgt lbl_8005268C +lbl_800526A8: +/* 800526A8 0004F608 28 03 00 00 */ cmplwi r3, 0 +/* 800526AC 0004F60C 90 9B 00 08 */ stw r4, 8(r27) +/* 800526B0 0004F610 40 82 00 0C */ bne lbl_800526BC +/* 800526B4 0004F614 93 7E 00 04 */ stw r27, 4(r30) +/* 800526B8 0004F618 48 00 00 1C */ b lbl_800526D4 +lbl_800526BC: +/* 800526BC 0004F61C 93 63 00 08 */ stw r27, 8(r3) +/* 800526C0 0004F620 48 00 00 14 */ b lbl_800526D4 +lbl_800526C4: +/* 800526C4 0004F624 7F 7C DB 78 */ mr r28, r27 +/* 800526C8 0004F628 83 7B 00 08 */ lwz r27, 8(r27) +lbl_800526CC: +/* 800526CC 0004F62C 28 1B 00 00 */ cmplwi r27, 0 +/* 800526D0 0004F630 40 82 FF 64 */ bne lbl_80052634 +lbl_800526D4: +/* 800526D4 0004F634 83 7E 00 00 */ lwz r27, 0(r30) +/* 800526D8 0004F638 3B 80 00 00 */ li r28, 0 +/* 800526DC 0004F63C 48 00 00 9C */ b lbl_80052778 +lbl_800526E0: +/* 800526E0 0004F640 7F 64 DB 78 */ mr r4, r27 +/* 800526E4 0004F644 38 61 00 08 */ addi r3, r1, 8 +/* 800526E8 0004F648 4B FF F7 7D */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 800526EC 0004F64C 7F 24 CB 78 */ mr r4, r25 +/* 800526F0 0004F650 38 61 00 08 */ addi r3, r1, 8 +/* 800526F4 0004F654 48 00 04 79 */ bl "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" +/* 800526F8 0004F658 7C 7D 1B 78 */ mr r29, r3 +/* 800526FC 0004F65C 38 61 00 08 */ addi r3, r1, 8 +/* 80052700 0004F660 4B FB 5F 9D */ bl sub_8000869c +/* 80052704 0004F664 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80052708 0004F668 41 82 00 68 */ beq lbl_80052770 +/* 8005270C 0004F66C 28 1C 00 00 */ cmplwi r28, 0 +/* 80052710 0004F670 40 82 00 10 */ bne lbl_80052720 +/* 80052714 0004F674 80 1B 00 08 */ lwz r0, 8(r27) +/* 80052718 0004F678 90 1E 00 00 */ stw r0, 0(r30) +/* 8005271C 0004F67C 48 00 00 0C */ b lbl_80052728 +lbl_80052720: +/* 80052720 0004F680 80 1B 00 08 */ lwz r0, 8(r27) +/* 80052724 0004F684 90 1C 00 08 */ stw r0, 8(r28) +lbl_80052728: +/* 80052728 0004F688 93 FB 00 04 */ stw r31, 4(r27) +/* 8005272C 0004F68C 38 60 00 00 */ li r3, 0 +/* 80052730 0004F690 80 9E 00 00 */ lwz r4, 0(r30) +/* 80052734 0004F694 48 00 00 0C */ b lbl_80052740 +lbl_80052738: +/* 80052738 0004F698 7C 83 23 78 */ mr r3, r4 +/* 8005273C 0004F69C 80 84 00 08 */ lwz r4, 8(r4) +lbl_80052740: +/* 80052740 0004F6A0 28 04 00 00 */ cmplwi r4, 0 +/* 80052744 0004F6A4 41 82 00 10 */ beq lbl_80052754 +/* 80052748 0004F6A8 80 04 00 04 */ lwz r0, 4(r4) +/* 8005274C 0004F6AC 7C 00 F8 00 */ cmpw r0, r31 +/* 80052750 0004F6B0 41 81 FF E8 */ bgt lbl_80052738 +lbl_80052754: +/* 80052754 0004F6B4 28 03 00 00 */ cmplwi r3, 0 +/* 80052758 0004F6B8 90 9B 00 08 */ stw r4, 8(r27) +/* 8005275C 0004F6BC 40 82 00 0C */ bne lbl_80052768 +/* 80052760 0004F6C0 93 7E 00 00 */ stw r27, 0(r30) +/* 80052764 0004F6C4 48 00 00 1C */ b lbl_80052780 +lbl_80052768: +/* 80052768 0004F6C8 93 63 00 08 */ stw r27, 8(r3) +/* 8005276C 0004F6CC 48 00 00 14 */ b lbl_80052780 +lbl_80052770: +/* 80052770 0004F6D0 7F 7C DB 78 */ mr r28, r27 +/* 80052774 0004F6D4 83 7B 00 08 */ lwz r27, 8(r27) +lbl_80052778: +/* 80052778 0004F6D8 28 1B 00 00 */ cmplwi r27, 0 +/* 8005277C 0004F6DC 40 82 FF 64 */ bne lbl_800526E0 +lbl_80052780: +/* 80052780 0004F6E0 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80052784 0004F6E4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80052788 0004F6E8 7C 08 03 A6 */ mtlr r0 +/* 8005278C 0004F6EC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80052790 0004F6F0 4E 80 00 20 */ blr + +.global RemoveAllIOWins__13CIOWinManagerFv +RemoveAllIOWins__13CIOWinManagerFv: +/* 80052794 0004F6F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80052798 0004F6F8 7C 08 02 A6 */ mflr r0 +/* 8005279C 0004F6FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800527A0 0004F700 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800527A4 0004F704 7C 7F 1B 78 */ mr r31, r3 +/* 800527A8 0004F708 48 00 00 20 */ b lbl_800527C8 +lbl_800527AC: +/* 800527AC 0004F70C 38 61 00 0C */ addi r3, r1, 0xc +/* 800527B0 0004F710 4B FF F6 B5 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 800527B4 0004F714 7F E3 FB 78 */ mr r3, r31 +/* 800527B8 0004F718 38 81 00 0C */ addi r4, r1, 0xc +/* 800527BC 0004F71C 48 00 00 59 */ bl "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" +/* 800527C0 0004F720 38 61 00 0C */ addi r3, r1, 0xc +/* 800527C4 0004F724 4B FB 5E D9 */ bl sub_8000869c +lbl_800527C8: +/* 800527C8 0004F728 80 9F 00 00 */ lwz r4, 0(r31) +/* 800527CC 0004F72C 28 04 00 00 */ cmplwi r4, 0 +/* 800527D0 0004F730 40 82 FF DC */ bne lbl_800527AC +/* 800527D4 0004F734 48 00 00 20 */ b lbl_800527F4 +lbl_800527D8: +/* 800527D8 0004F738 38 61 00 08 */ addi r3, r1, 8 +/* 800527DC 0004F73C 4B FF F6 89 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 800527E0 0004F740 7F E3 FB 78 */ mr r3, r31 +/* 800527E4 0004F744 38 81 00 08 */ addi r4, r1, 8 +/* 800527E8 0004F748 48 00 00 2D */ bl "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" +/* 800527EC 0004F74C 38 61 00 08 */ addi r3, r1, 8 +/* 800527F0 0004F750 4B FB 5E AD */ bl sub_8000869c +lbl_800527F4: +/* 800527F4 0004F754 80 9F 00 04 */ lwz r4, 4(r31) +/* 800527F8 0004F758 28 04 00 00 */ cmplwi r4, 0 +/* 800527FC 0004F75C 40 82 FF DC */ bne lbl_800527D8 +/* 80052800 0004F760 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80052804 0004F764 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80052808 0004F768 7C 08 03 A6 */ mtlr r0 +/* 8005280C 0004F76C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80052810 0004F770 4E 80 00 20 */ blr + +.global "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" +"RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>": +/* 80052814 0004F774 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80052818 0004F778 7C 08 02 A6 */ mflr r0 +/* 8005281C 0004F77C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80052820 0004F780 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80052824 0004F784 7C 7B 1B 78 */ mr r27, r3 +/* 80052828 0004F788 7C 9C 23 78 */ mr r28, r4 +/* 8005282C 0004F78C 3B A0 00 00 */ li r29, 0 +/* 80052830 0004F790 83 C3 00 04 */ lwz r30, 4(r3) +/* 80052834 0004F794 48 00 00 78 */ b lbl_800528AC +lbl_80052838: +/* 80052838 0004F798 7F C4 F3 78 */ mr r4, r30 +/* 8005283C 0004F79C 38 61 00 0C */ addi r3, r1, 0xc +/* 80052840 0004F7A0 4B FF F6 25 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 80052844 0004F7A4 7F 84 E3 78 */ mr r4, r28 +/* 80052848 0004F7A8 38 61 00 0C */ addi r3, r1, 0xc +/* 8005284C 0004F7AC 48 00 03 21 */ bl "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" +/* 80052850 0004F7B0 7C 7F 1B 78 */ mr r31, r3 +/* 80052854 0004F7B4 38 61 00 0C */ addi r3, r1, 0xc +/* 80052858 0004F7B8 4B FB 5E 45 */ bl sub_8000869c +/* 8005285C 0004F7BC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80052860 0004F7C0 41 82 00 44 */ beq lbl_800528A4 +/* 80052864 0004F7C4 28 1D 00 00 */ cmplwi r29, 0 +/* 80052868 0004F7C8 40 82 00 10 */ bne lbl_80052878 +/* 8005286C 0004F7CC 80 1E 00 08 */ lwz r0, 8(r30) +/* 80052870 0004F7D0 90 1B 00 04 */ stw r0, 4(r27) +/* 80052874 0004F7D4 48 00 00 0C */ b lbl_80052880 +lbl_80052878: +/* 80052878 0004F7D8 80 1E 00 08 */ lwz r0, 8(r30) +/* 8005287C 0004F7DC 90 1D 00 08 */ stw r0, 8(r29) +lbl_80052880: +/* 80052880 0004F7E0 28 1E 00 00 */ cmplwi r30, 0 +/* 80052884 0004F7E4 41 82 00 30 */ beq lbl_800528B4 +/* 80052888 0004F7E8 41 82 00 10 */ beq lbl_80052898 +/* 8005288C 0004F7EC 41 82 00 0C */ beq lbl_80052898 +/* 80052890 0004F7F0 7F C3 F3 78 */ mr r3, r30 +/* 80052894 0004F7F4 4B FB 5E 09 */ bl sub_8000869c +lbl_80052898: +/* 80052898 0004F7F8 7F C3 F3 78 */ mr r3, r30 +/* 8005289C 0004F7FC 48 2C 30 95 */ bl Free__7CMemoryFPCv +/* 800528A0 0004F800 48 00 00 14 */ b lbl_800528B4 +lbl_800528A4: +/* 800528A4 0004F804 7F DD F3 78 */ mr r29, r30 +/* 800528A8 0004F808 83 DE 00 08 */ lwz r30, 8(r30) +lbl_800528AC: +/* 800528AC 0004F80C 28 1E 00 00 */ cmplwi r30, 0 +/* 800528B0 0004F810 40 82 FF 88 */ bne lbl_80052838 +lbl_800528B4: +/* 800528B4 0004F814 83 BB 00 00 */ lwz r29, 0(r27) +/* 800528B8 0004F818 3B C0 00 00 */ li r30, 0 +/* 800528BC 0004F81C 48 00 00 78 */ b lbl_80052934 +lbl_800528C0: +/* 800528C0 0004F820 7F A4 EB 78 */ mr r4, r29 +/* 800528C4 0004F824 38 61 00 08 */ addi r3, r1, 8 +/* 800528C8 0004F828 4B FF F5 9D */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv +/* 800528CC 0004F82C 7F 84 E3 78 */ mr r4, r28 +/* 800528D0 0004F830 38 61 00 08 */ addi r3, r1, 8 +/* 800528D4 0004F834 48 00 02 99 */ bl "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" +/* 800528D8 0004F838 7C 7F 1B 78 */ mr r31, r3 +/* 800528DC 0004F83C 38 61 00 08 */ addi r3, r1, 8 +/* 800528E0 0004F840 4B FB 5D BD */ bl sub_8000869c +/* 800528E4 0004F844 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800528E8 0004F848 41 82 00 44 */ beq lbl_8005292C +/* 800528EC 0004F84C 28 1E 00 00 */ cmplwi r30, 0 +/* 800528F0 0004F850 40 82 00 10 */ bne lbl_80052900 +/* 800528F4 0004F854 80 1D 00 08 */ lwz r0, 8(r29) +/* 800528F8 0004F858 90 1B 00 00 */ stw r0, 0(r27) +/* 800528FC 0004F85C 48 00 00 0C */ b lbl_80052908 +lbl_80052900: +/* 80052900 0004F860 80 1D 00 08 */ lwz r0, 8(r29) +/* 80052904 0004F864 90 1E 00 08 */ stw r0, 8(r30) +lbl_80052908: +/* 80052908 0004F868 28 1D 00 00 */ cmplwi r29, 0 +/* 8005290C 0004F86C 41 82 00 30 */ beq lbl_8005293C +/* 80052910 0004F870 41 82 00 10 */ beq lbl_80052920 +/* 80052914 0004F874 41 82 00 0C */ beq lbl_80052920 +/* 80052918 0004F878 7F A3 EB 78 */ mr r3, r29 +/* 8005291C 0004F87C 4B FB 5D 81 */ bl sub_8000869c +lbl_80052920: +/* 80052920 0004F880 7F A3 EB 78 */ mr r3, r29 +/* 80052924 0004F884 48 2C 30 0D */ bl Free__7CMemoryFPCv +/* 80052928 0004F888 48 00 00 14 */ b lbl_8005293C +lbl_8005292C: +/* 8005292C 0004F88C 7F BE EB 78 */ mr r30, r29 +/* 80052930 0004F890 83 BD 00 08 */ lwz r29, 8(r29) +lbl_80052934: +/* 80052934 0004F894 28 1D 00 00 */ cmplwi r29, 0 +/* 80052938 0004F898 40 82 FF 88 */ bne lbl_800528C0 +lbl_8005293C: +/* 8005293C 0004F89C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80052940 0004F8A0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80052944 0004F8A4 7C 08 03 A6 */ mtlr r0 +/* 80052948 0004F8A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8005294C 0004F8AC 4E 80 00 20 */ blr + +.global "AddIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>ii" +"AddIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>ii": +/* 80052950 0004F8B0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80052954 0004F8B4 7C 08 02 A6 */ mflr r0 +/* 80052958 0004F8B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005295C 0004F8BC BF 01 00 10 */ stmw r24, 0x10(r1) +/* 80052960 0004F8C0 7C 7D 1B 78 */ mr r29, r3 +/* 80052964 0004F8C4 7C 9E 23 78 */ mr r30, r4 +/* 80052968 0004F8C8 7C B9 2B 78 */ mr r25, r5 +/* 8005296C 0004F8CC 7C DF 33 78 */ mr r31, r6 +/* 80052970 0004F8D0 3B 60 00 00 */ li r27, 0 +/* 80052974 0004F8D4 83 43 00 04 */ lwz r26, 4(r3) +/* 80052978 0004F8D8 48 00 00 0C */ b lbl_80052984 +lbl_8005297C: +/* 8005297C 0004F8DC 7F 5B D3 78 */ mr r27, r26 +/* 80052980 0004F8E0 83 5A 00 08 */ lwz r26, 8(r26) +lbl_80052984: +/* 80052984 0004F8E4 28 1A 00 00 */ cmplwi r26, 0 +/* 80052988 0004F8E8 41 82 00 10 */ beq lbl_80052998 +/* 8005298C 0004F8EC 80 1A 00 04 */ lwz r0, 4(r26) +/* 80052990 0004F8F0 7C 00 C8 00 */ cmpw r0, r25 +/* 80052994 0004F8F4 41 81 FF E8 */ bgt lbl_8005297C +lbl_80052998: +/* 80052998 0004F8F8 3C 60 80 3D */ lis r3, lbl_803CCF28@ha +/* 8005299C 0004F8FC 3B 00 00 00 */ li r24, 0 +/* 800529A0 0004F900 38 83 CF 28 */ addi r4, r3, lbl_803CCF28@l +/* 800529A4 0004F904 38 60 00 0C */ li r3, 0xc +/* 800529A8 0004F908 38 84 00 33 */ addi r4, r4, 0x33 +/* 800529AC 0004F90C 38 A0 00 00 */ li r5, 0 +/* 800529B0 0004F910 48 2C 2E BD */ bl __nw__FUlPCcPCc +/* 800529B4 0004F914 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800529B8 0004F918 41 82 00 30 */ beq lbl_800529E8 +/* 800529BC 0004F91C 81 1E 00 00 */ lwz r8, 0(r30) +/* 800529C0 0004F920 7F 25 CB 78 */ mr r5, r25 +/* 800529C4 0004F924 7F 46 D3 78 */ mr r6, r26 +/* 800529C8 0004F928 38 81 00 0C */ addi r4, r1, 0xc +/* 800529CC 0004F92C 91 01 00 0C */ stw r8, 0xc(r1) +/* 800529D0 0004F930 3B 00 00 01 */ li r24, 1 +/* 800529D4 0004F934 80 E8 00 04 */ lwz r7, 4(r8) +/* 800529D8 0004F938 38 07 00 01 */ addi r0, r7, 1 +/* 800529DC 0004F93C 90 08 00 04 */ stw r0, 4(r8) +/* 800529E0 0004F940 48 00 00 DD */ bl "__ct__Q213CIOWinManager11IOWinPQNodeFQ24rstl17ncrc_ptr<6CIOWin>iPQ213CIOWinManager11IOWinPQNode" +/* 800529E4 0004F944 7C 7C 1B 78 */ mr r28, r3 +lbl_800529E8: +/* 800529E8 0004F948 7F 00 07 75 */ extsb. r0, r24 +/* 800529EC 0004F94C 41 82 00 0C */ beq lbl_800529F8 +/* 800529F0 0004F950 38 61 00 0C */ addi r3, r1, 0xc +/* 800529F4 0004F954 4B FB 5C A9 */ bl sub_8000869c +lbl_800529F8: +/* 800529F8 0004F958 28 1B 00 00 */ cmplwi r27, 0 +/* 800529FC 0004F95C 40 82 00 0C */ bne lbl_80052A08 +/* 80052A00 0004F960 93 9D 00 04 */ stw r28, 4(r29) +/* 80052A04 0004F964 48 00 00 08 */ b lbl_80052A0C +lbl_80052A08: +/* 80052A08 0004F968 93 9B 00 08 */ stw r28, 8(r27) +lbl_80052A0C: +/* 80052A0C 0004F96C 83 7D 00 00 */ lwz r27, 0(r29) +/* 80052A10 0004F970 3B 40 00 00 */ li r26, 0 +/* 80052A14 0004F974 48 00 00 0C */ b lbl_80052A20 +lbl_80052A18: +/* 80052A18 0004F978 7F 7A DB 78 */ mr r26, r27 +/* 80052A1C 0004F97C 83 7B 00 08 */ lwz r27, 8(r27) +lbl_80052A20: +/* 80052A20 0004F980 28 1B 00 00 */ cmplwi r27, 0 +/* 80052A24 0004F984 41 82 00 10 */ beq lbl_80052A34 +/* 80052A28 0004F988 80 1B 00 04 */ lwz r0, 4(r27) +/* 80052A2C 0004F98C 7C 00 F8 00 */ cmpw r0, r31 +/* 80052A30 0004F990 41 81 FF E8 */ bgt lbl_80052A18 +lbl_80052A34: +/* 80052A34 0004F994 3C 60 80 3D */ lis r3, lbl_803CCF28@ha +/* 80052A38 0004F998 3B 00 00 00 */ li r24, 0 +/* 80052A3C 0004F99C 38 83 CF 28 */ addi r4, r3, lbl_803CCF28@l +/* 80052A40 0004F9A0 38 60 00 0C */ li r3, 0xc +/* 80052A44 0004F9A4 38 84 00 33 */ addi r4, r4, 0x33 +/* 80052A48 0004F9A8 38 A0 00 00 */ li r5, 0 +/* 80052A4C 0004F9AC 48 2C 2E 21 */ bl __nw__FUlPCcPCc +/* 80052A50 0004F9B0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80052A54 0004F9B4 41 82 00 30 */ beq lbl_80052A84 +/* 80052A58 0004F9B8 81 1E 00 00 */ lwz r8, 0(r30) +/* 80052A5C 0004F9BC 7F E5 FB 78 */ mr r5, r31 +/* 80052A60 0004F9C0 7F 66 DB 78 */ mr r6, r27 +/* 80052A64 0004F9C4 38 81 00 08 */ addi r4, r1, 8 +/* 80052A68 0004F9C8 91 01 00 08 */ stw r8, 8(r1) +/* 80052A6C 0004F9CC 3B 00 00 01 */ li r24, 1 +/* 80052A70 0004F9D0 80 E8 00 04 */ lwz r7, 4(r8) +/* 80052A74 0004F9D4 38 07 00 01 */ addi r0, r7, 1 +/* 80052A78 0004F9D8 90 08 00 04 */ stw r0, 4(r8) +/* 80052A7C 0004F9DC 48 00 00 41 */ bl "__ct__Q213CIOWinManager11IOWinPQNodeFQ24rstl17ncrc_ptr<6CIOWin>iPQ213CIOWinManager11IOWinPQNode" +/* 80052A80 0004F9E0 7C 7C 1B 78 */ mr r28, r3 +lbl_80052A84: +/* 80052A84 0004F9E4 7F 00 07 75 */ extsb. r0, r24 +/* 80052A88 0004F9E8 41 82 00 0C */ beq lbl_80052A94 +/* 80052A8C 0004F9EC 38 61 00 08 */ addi r3, r1, 8 +/* 80052A90 0004F9F0 4B FB 5C 0D */ bl sub_8000869c +lbl_80052A94: +/* 80052A94 0004F9F4 28 1A 00 00 */ cmplwi r26, 0 +/* 80052A98 0004F9F8 40 82 00 0C */ bne lbl_80052AA4 +/* 80052A9C 0004F9FC 93 9D 00 00 */ stw r28, 0(r29) +/* 80052AA0 0004FA00 48 00 00 08 */ b lbl_80052AA8 +lbl_80052AA4: +/* 80052AA4 0004FA04 93 9A 00 08 */ stw r28, 8(r26) +lbl_80052AA8: +/* 80052AA8 0004FA08 BB 01 00 10 */ lmw r24, 0x10(r1) +/* 80052AAC 0004FA0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80052AB0 0004FA10 7C 08 03 A6 */ mtlr r0 +/* 80052AB4 0004FA14 38 21 00 30 */ addi r1, r1, 0x30 +/* 80052AB8 0004FA18 4E 80 00 20 */ blr + +.global "__ct__Q213CIOWinManager11IOWinPQNodeFQ24rstl17ncrc_ptr<6CIOWin>iPQ213CIOWinManager11IOWinPQNode" +"__ct__Q213CIOWinManager11IOWinPQNodeFQ24rstl17ncrc_ptr<6CIOWin>iPQ213CIOWinManager11IOWinPQNode": +/* 80052ABC 0004FA1C 80 04 00 00 */ lwz r0, 0(r4) +/* 80052AC0 0004FA20 90 03 00 00 */ stw r0, 0(r3) +/* 80052AC4 0004FA24 80 E3 00 00 */ lwz r7, 0(r3) +/* 80052AC8 0004FA28 80 87 00 04 */ lwz r4, 4(r7) +/* 80052ACC 0004FA2C 38 04 00 01 */ addi r0, r4, 1 +/* 80052AD0 0004FA30 90 07 00 04 */ stw r0, 4(r7) +/* 80052AD4 0004FA34 90 A3 00 04 */ stw r5, 4(r3) +/* 80052AD8 0004FA38 90 C3 00 08 */ stw r6, 8(r3) +/* 80052ADC 0004FA3C 4E 80 00 20 */ blr + +.global sub_80052ae0 +sub_80052ae0: +/* 80052AE0 0004FA40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80052AE4 0004FA44 7C 08 02 A6 */ mflr r0 +/* 80052AE8 0004FA48 90 01 00 14 */ stw r0, 0x14(r1) +/* 80052AEC 0004FA4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80052AF0 0004FA50 7C 9F 23 78 */ mr r31, r4 +/* 80052AF4 0004FA54 93 C1 00 08 */ stw r30, 8(r1) +/* 80052AF8 0004FA58 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80052AFC 0004FA5C 41 82 00 2C */ beq lbl_80052B28 +/* 80052B00 0004FA60 4B FF FC 95 */ bl RemoveAllIOWins__13CIOWinManagerFv +/* 80052B04 0004FA64 34 1E 00 08 */ addic. r0, r30, 8 +/* 80052B08 0004FA68 41 82 00 10 */ beq lbl_80052B18 +/* 80052B0C 0004FA6C 38 7E 00 08 */ addi r3, r30, 8 +/* 80052B10 0004FA70 38 80 FF FF */ li r4, -1 +/* 80052B14 0004FA74 4B FB 65 95 */ bl sub_800090a8 +lbl_80052B18: +/* 80052B18 0004FA78 7F E0 07 35 */ extsh. r0, r31 +/* 80052B1C 0004FA7C 40 81 00 0C */ ble lbl_80052B28 +/* 80052B20 0004FA80 7F C3 F3 78 */ mr r3, r30 +/* 80052B24 0004FA84 48 2C 2E 0D */ bl Free__7CMemoryFPCv +lbl_80052B28: +/* 80052B28 0004FA88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80052B2C 0004FA8C 7F C3 F3 78 */ mr r3, r30 +/* 80052B30 0004FA90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80052B34 0004FA94 83 C1 00 08 */ lwz r30, 8(r1) +/* 80052B38 0004FA98 7C 08 03 A6 */ mtlr r0 +/* 80052B3C 0004FA9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80052B40 0004FAA0 4E 80 00 20 */ blr + +.global __ct__13CIOWinManagerFv +__ct__13CIOWinManagerFv: +/* 80052B44 0004FAA4 38 80 00 00 */ li r4, 0 +/* 80052B48 0004FAA8 38 03 00 14 */ addi r0, r3, 0x14 +/* 80052B4C 0004FAAC 90 83 00 00 */ stw r4, 0(r3) +/* 80052B50 0004FAB0 90 83 00 04 */ stw r4, 4(r3) +/* 80052B54 0004FAB4 90 03 00 0C */ stw r0, 0xc(r3) +/* 80052B58 0004FAB8 90 03 00 10 */ stw r0, 0x10(r3) +/* 80052B5C 0004FABC 90 03 00 14 */ stw r0, 0x14(r3) +/* 80052B60 0004FAC0 90 03 00 18 */ stw r0, 0x18(r3) +/* 80052B64 0004FAC4 90 83 00 1C */ stw r4, 0x1c(r3) +/* 80052B68 0004FAC8 4E 80 00 20 */ blr + +.global "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" +"__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>": +/* 80052B6C 0004FACC 80 A3 00 00 */ lwz r5, 0(r3) +/* 80052B70 0004FAD0 80 64 00 00 */ lwz r3, 0(r4) +/* 80052B74 0004FAD4 80 85 00 00 */ lwz r4, 0(r5) +/* 80052B78 0004FAD8 80 03 00 00 */ lwz r0, 0(r3) +/* 80052B7C 0004FADC 7C 04 00 50 */ subf r0, r4, r0 +/* 80052B80 0004FAE0 7C 00 00 34 */ cntlzw r0, r0 +/* 80052B84 0004FAE4 54 03 D9 7E */ srwi r3, r0, 5 +/* 80052B88 0004FAE8 4E 80 00 20 */ blr + +.global PreDraw__6CIOWinCFv +PreDraw__6CIOWinCFv: +/* 80052B8C 0004FAEC 4E 80 00 20 */ blr + +.global Draw__6CIOWinCFv +Draw__6CIOWinCFv: +/* 80052B90 0004FAF0 4E 80 00 20 */ blr + +.global GetIsContinueDraw__6CIOWinCFv +GetIsContinueDraw__6CIOWinCFv: +/* 80052B94 0004FAF4 38 60 00 01 */ li r3, 1 +/* 80052B98 0004FAF8 4E 80 00 20 */ blr + +.global GetName__6CIOWinCFv +GetName__6CIOWinCFv: +/* 80052B9C 0004FAFC 38 63 00 04 */ addi r3, r3, 4 +/* 80052BA0 0004FB00 4E 80 00 20 */ blr + +.global __dt__6CIOWinFv +__dt__6CIOWinFv: +/* 80052BA4 0004FB04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80052BA8 0004FB08 7C 08 02 A6 */ mflr r0 +/* 80052BAC 0004FB0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80052BB0 0004FB10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80052BB4 0004FB14 7C 9F 23 78 */ mr r31, r4 +/* 80052BB8 0004FB18 93 C1 00 08 */ stw r30, 8(r1) +/* 80052BBC 0004FB1C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80052BC0 0004FB20 41 82 00 30 */ beq lbl_80052BF0 +/* 80052BC4 0004FB24 3C 60 80 3E */ lis r3, lbl_803D9E90@ha +/* 80052BC8 0004FB28 34 1E 00 04 */ addic. r0, r30, 4 +/* 80052BCC 0004FB2C 38 03 9E 90 */ addi r0, r3, lbl_803D9E90@l +/* 80052BD0 0004FB30 90 1E 00 00 */ stw r0, 0(r30) +/* 80052BD4 0004FB34 41 82 00 0C */ beq lbl_80052BE0 +/* 80052BD8 0004FB38 38 7E 00 04 */ addi r3, r30, 4 +/* 80052BDC 0004FB3C 48 2E AF 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80052BE0: +/* 80052BE0 0004FB40 7F E0 07 35 */ extsh. r0, r31 +/* 80052BE4 0004FB44 40 81 00 0C */ ble lbl_80052BF0 +/* 80052BE8 0004FB48 7F C3 F3 78 */ mr r3, r30 +/* 80052BEC 0004FB4C 48 2C 2D 45 */ bl Free__7CMemoryFPCv +lbl_80052BF0: +/* 80052BF0 0004FB50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80052BF4 0004FB54 7F C3 F3 78 */ mr r3, r30 +/* 80052BF8 0004FB58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80052BFC 0004FB5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80052C00 0004FB60 7C 08 03 A6 */ mtlr r0 +/* 80052C04 0004FB64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80052C08 0004FB68 4E 80 00 20 */ blr + +.global "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 80052C0C 0004FB6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80052C10 0004FB70 7C 08 02 A6 */ mflr r0 +/* 80052C14 0004FB74 3C A0 80 3E */ lis r5, lbl_803D9E90@ha +/* 80052C18 0004FB78 90 01 00 14 */ stw r0, 0x14(r1) +/* 80052C1C 0004FB7C 38 05 9E 90 */ addi r0, r5, lbl_803D9E90@l +/* 80052C20 0004FB80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80052C24 0004FB84 7C 7F 1B 78 */ mr r31, r3 +/* 80052C28 0004FB88 90 03 00 00 */ stw r0, 0(r3) +/* 80052C2C 0004FB8C 38 7F 00 04 */ addi r3, r31, 4 +/* 80052C30 0004FB90 48 2E B5 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80052C34 0004FB94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80052C38 0004FB98 7F E3 FB 78 */ mr r3, r31 +/* 80052C3C 0004FB9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80052C40 0004FBA0 7C 08 03 A6 */ mtlr r0 +/* 80052C44 0004FBA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80052C48 0004FBA8 4E 80 00 20 */ blr + +.global UpdateSfxEmitters__6CActorFv +UpdateSfxEmitters__6CActorFv: +/* 80052C4C 0004FBAC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80052C50 0004FBB0 7C 08 02 A6 */ mflr r0 +/* 80052C54 0004FBB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80052C58 0004FBB8 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80052C5C 0004FBBC 7C 7A 1B 78 */ mr r26, r3 +/* 80052C60 0004FBC0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80052C64 0004FBC4 3B 60 00 00 */ li r27, 0 +/* 80052C68 0004FBC8 3B BA 00 DC */ addi r29, r26, 0xdc +/* 80052C6C 0004FBCC 3B E0 00 00 */ li r31, 0 +/* 80052C70 0004FBD0 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 80052C74 0004FBD4 83 9A 00 D8 */ lwz r28, 0xd8(r26) +/* 80052C78 0004FBD8 48 00 00 40 */ b lbl_80052CB8 +lbl_80052C7C: +/* 80052C7C 0004FBDC C0 5A 00 60 */ lfs f2, 0x60(r26) +/* 80052C80 0004FBE0 7F C5 F3 78 */ mr r5, r30 +/* 80052C84 0004FBE4 C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80052C88 0004FBE8 38 61 00 08 */ addi r3, r1, 8 +/* 80052C8C 0004FBEC C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 80052C90 0004FBF0 38 81 00 0C */ addi r4, r1, 0xc +/* 80052C94 0004FBF4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80052C98 0004FBF8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80052C9C 0004FBFC D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80052CA0 0004FC00 7C 1D F8 2E */ lwzx r0, r29, r31 +/* 80052CA4 0004FC04 90 01 00 08 */ stw r0, 8(r1) +/* 80052CA8 0004FC08 88 DA 00 D4 */ lbz r6, 0xd4(r26) +/* 80052CAC 0004FC0C 48 29 72 05 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +/* 80052CB0 0004FC10 3B 7B 00 01 */ addi r27, r27, 1 +/* 80052CB4 0004FC14 3B FF 00 04 */ addi r31, r31, 4 +lbl_80052CB8: +/* 80052CB8 0004FC18 7C 1B E0 40 */ cmplw r27, r28 +/* 80052CBC 0004FC1C 41 80 FF C0 */ blt lbl_80052C7C +/* 80052CC0 0004FC20 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80052CC4 0004FC24 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80052CC8 0004FC28 7C 08 03 A6 */ mtlr r0 +/* 80052CCC 0004FC2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80052CD0 0004FC30 4E 80 00 20 */ blr + +.global CanDrawStatic__6CActorCFv +CanDrawStatic__6CActorCFv: +/* 80052CD4 0004FC34 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80052CD8 0004FC38 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80052CDC 0004FC3C 41 82 00 48 */ beq lbl_80052D24 +/* 80052CE0 0004FC40 80 A3 00 64 */ lwz r5, 0x64(r3) +/* 80052CE4 0004FC44 38 80 00 00 */ li r4, 0 +/* 80052CE8 0004FC48 28 05 00 00 */ cmplwi r5, 0 +/* 80052CEC 0004FC4C 41 82 00 20 */ beq lbl_80052D0C +/* 80052CF0 0004FC50 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80052CF4 0004FC54 28 00 00 00 */ cmplwi r0, 0 +/* 80052CF8 0004FC58 40 82 00 10 */ bne lbl_80052D08 +/* 80052CFC 0004FC5C 88 05 00 28 */ lbz r0, 0x28(r5) +/* 80052D00 0004FC60 28 00 00 00 */ cmplwi r0, 0 +/* 80052D04 0004FC64 41 82 00 08 */ beq lbl_80052D0C +lbl_80052D08: +/* 80052D08 0004FC68 38 80 00 01 */ li r4, 1 +lbl_80052D0C: +/* 80052D0C 0004FC6C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80052D10 0004FC70 41 82 00 14 */ beq lbl_80052D24 +/* 80052D14 0004FC74 88 03 00 B4 */ lbz r0, 0xb4(r3) +/* 80052D18 0004FC78 7C 00 07 74 */ extsb r0, r0 +/* 80052D1C 0004FC7C 2C 00 00 04 */ cmpwi r0, 4 +/* 80052D20 0004FC80 40 81 00 0C */ ble lbl_80052D2C +lbl_80052D24: +/* 80052D24 0004FC84 38 60 00 00 */ li r3, 0 +/* 80052D28 0004FC88 4E 80 00 20 */ blr +lbl_80052D2C: +/* 80052D2C 0004FC8C 80 85 00 10 */ lwz r4, 0x10(r5) +/* 80052D30 0004FC90 38 60 00 00 */ li r3, 0 +/* 80052D34 0004FC94 28 04 00 00 */ cmplwi r4, 0 +/* 80052D38 0004FC98 40 82 00 14 */ bne lbl_80052D4C +/* 80052D3C 0004FC9C 88 05 00 28 */ lbz r0, 0x28(r5) +/* 80052D40 0004FCA0 28 00 00 00 */ cmplwi r0, 0 +/* 80052D44 0004FCA4 40 82 00 08 */ bne lbl_80052D4C +/* 80052D48 0004FCA8 38 60 00 01 */ li r3, 1 +lbl_80052D4C: +/* 80052D4C 0004FCAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80052D50 0004FCB0 40 82 00 0C */ bne lbl_80052D5C +/* 80052D54 0004FCB4 28 04 00 00 */ cmplwi r4, 0 +/* 80052D58 0004FCB8 41 82 00 0C */ beq lbl_80052D64 +lbl_80052D5C: +/* 80052D5C 0004FCBC 38 60 00 00 */ li r3, 0 +/* 80052D60 0004FCC0 4E 80 00 20 */ blr +lbl_80052D64: +/* 80052D64 0004FCC4 38 60 00 01 */ li r3, 1 +/* 80052D68 0004FCC8 4E 80 00 20 */ blr + +.global CreateShadow__6CActorFb +CreateShadow__6CActorFb: +/* 80052D6C 0004FCCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80052D70 0004FCD0 7C 08 02 A6 */ mflr r0 +/* 80052D74 0004FCD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80052D78 0004FCD8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80052D7C 0004FCDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80052D80 0004FCE0 7C 9F 23 78 */ mr r31, r4 +/* 80052D84 0004FCE4 93 C1 00 08 */ stw r30, 8(r1) +/* 80052D88 0004FCE8 7C 7E 1B 78 */ mr r30, r3 +/* 80052D8C 0004FCEC 41 82 00 2C */ beq lbl_80052DB8 +/* 80052D90 0004FCF0 48 00 00 4D */ bl CreateShadow__6CActorFv +/* 80052D94 0004FCF4 88 7E 00 E5 */ lbz r3, 0xe5(r30) +/* 80052D98 0004FCF8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80052D9C 0004FCFC 40 82 00 1C */ bne lbl_80052DB8 +/* 80052DA0 0004FD00 80 1E 00 94 */ lwz r0, 0x94(r30) +/* 80052DA4 0004FD04 28 00 00 00 */ cmplwi r0, 0 +/* 80052DA8 0004FD08 41 82 00 10 */ beq lbl_80052DB8 +/* 80052DAC 0004FD0C 38 00 00 01 */ li r0, 1 +/* 80052DB0 0004FD10 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 80052DB4 0004FD14 98 7E 00 E5 */ stb r3, 0xe5(r30) +lbl_80052DB8: +/* 80052DB8 0004FD18 88 1E 00 E5 */ lbz r0, 0xe5(r30) +/* 80052DBC 0004FD1C 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 +/* 80052DC0 0004FD20 98 1E 00 E5 */ stb r0, 0xe5(r30) +/* 80052DC4 0004FD24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80052DC8 0004FD28 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80052DCC 0004FD2C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80052DD0 0004FD30 7C 08 03 A6 */ mtlr r0 +/* 80052DD4 0004FD34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80052DD8 0004FD38 4E 80 00 20 */ blr + +.global CreateShadow__6CActorFv +CreateShadow__6CActorFv: +/* 80052DDC 0004FD3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80052DE0 0004FD40 7C 08 02 A6 */ mflr r0 +/* 80052DE4 0004FD44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80052DE8 0004FD48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80052DEC 0004FD4C 93 C1 00 08 */ stw r30, 8(r1) +/* 80052DF0 0004FD50 7C 7E 1B 78 */ mr r30, r3 +/* 80052DF4 0004FD54 80 03 00 94 */ lwz r0, 0x94(r3) +/* 80052DF8 0004FD58 28 00 00 00 */ cmplwi r0, 0 +/* 80052DFC 0004FD5C 40 82 00 78 */ bne lbl_80052E74 +/* 80052E00 0004FD60 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 80052E04 0004FD64 38 60 00 00 */ li r3, 0 +/* 80052E08 0004FD68 28 04 00 00 */ cmplwi r4, 0 +/* 80052E0C 0004FD6C 41 82 00 20 */ beq lbl_80052E2C +/* 80052E10 0004FD70 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80052E14 0004FD74 28 00 00 00 */ cmplwi r0, 0 +/* 80052E18 0004FD78 40 82 00 10 */ bne lbl_80052E28 +/* 80052E1C 0004FD7C 88 04 00 28 */ lbz r0, 0x28(r4) +/* 80052E20 0004FD80 28 00 00 00 */ cmplwi r0, 0 +/* 80052E24 0004FD84 41 82 00 08 */ beq lbl_80052E2C +lbl_80052E28: +/* 80052E28 0004FD88 38 60 00 01 */ li r3, 1 +lbl_80052E2C: +/* 80052E2C 0004FD8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80052E30 0004FD90 41 82 00 44 */ beq lbl_80052E74 +/* 80052E34 0004FD94 3C 80 80 3D */ lis r4, lbl_803CCF68@ha +/* 80052E38 0004FD98 38 60 00 4C */ li r3, 0x4c +/* 80052E3C 0004FD9C 38 84 CF 68 */ addi r4, r4, lbl_803CCF68@l +/* 80052E40 0004FDA0 38 A0 00 00 */ li r5, 0 +/* 80052E44 0004FDA4 48 2C 2A 29 */ bl __nw__FUlPCcPCc +/* 80052E48 0004FDA8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80052E4C 0004FDAC 41 82 00 1C */ beq lbl_80052E68 +/* 80052E50 0004FDB0 C0 22 86 30 */ lfs f1, lbl_805AA350@sda21(r2) +/* 80052E54 0004FDB4 C0 62 86 34 */ lfs f3, lbl_805AA354@sda21(r2) +/* 80052E58 0004FDB8 FC 40 08 90 */ fmr f2, f1 +/* 80052E5C 0004FDBC C0 82 86 38 */ lfs f4, lbl_805AA358@sda21(r2) +/* 80052E60 0004FDC0 48 0B 34 E1 */ bl __ct__13CSimpleShadowFffff +/* 80052E64 0004FDC4 7C 7F 1B 78 */ mr r31, r3 +lbl_80052E68: +/* 80052E68 0004FDC8 80 7E 00 94 */ lwz r3, 0x94(r30) +/* 80052E6C 0004FDCC 48 2C 2A C5 */ bl Free__7CMemoryFPCv +/* 80052E70 0004FDD0 93 FE 00 94 */ stw r31, 0x94(r30) +lbl_80052E74: +/* 80052E74 0004FDD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80052E78 0004FDD8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80052E7C 0004FDDC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80052E80 0004FDE0 7C 08 03 A6 */ mtlr r0 +/* 80052E84 0004FDE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80052E88 0004FDE8 4E 80 00 20 */ blr + +.global SetTranslation__6CActorFRC9CVector3f +SetTranslation__6CActorFRC9CVector3f: +/* 80052E8C 0004FDEC C0 04 00 00 */ lfs f0, 0(r4) +/* 80052E90 0004FDF0 38 A0 00 01 */ li r5, 1 +/* 80052E94 0004FDF4 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 80052E98 0004FDF8 C0 04 00 04 */ lfs f0, 4(r4) +/* 80052E9C 0004FDFC D0 03 00 50 */ stfs f0, 0x50(r3) +/* 80052EA0 0004FE00 C0 04 00 08 */ lfs f0, 8(r4) +/* 80052EA4 0004FE04 D0 03 00 60 */ stfs f0, 0x60(r3) +/* 80052EA8 0004FE08 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 80052EAC 0004FE0C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80052EB0 0004FE10 98 03 00 E4 */ stb r0, 0xe4(r3) +/* 80052EB4 0004FE14 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 80052EB8 0004FE18 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80052EBC 0004FE1C 98 03 00 E4 */ stb r0, 0xe4(r3) +/* 80052EC0 0004FE20 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 80052EC4 0004FE24 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80052EC8 0004FE28 98 03 00 E4 */ stb r0, 0xe4(r3) +/* 80052ECC 0004FE2C 4E 80 00 20 */ blr + +.global "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 80052ED0 0004FE30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80052ED4 0004FE34 7C 08 02 A6 */ mflr r0 +/* 80052ED8 0004FE38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80052EDC 0004FE3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80052EE0 0004FE40 7C 7F 1B 78 */ mr r31, r3 +/* 80052EE4 0004FE44 80 84 00 64 */ lwz r4, 0x64(r4) +/* 80052EE8 0004FE48 48 0C 2A B9 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80052EEC 0004FE4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80052EF0 0004FE50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80052EF4 0004FE54 7C 08 03 A6 */ mtlr r0 +/* 80052EF8 0004FE58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80052EFC 0004FE5C 4E 80 00 20 */ blr + +.global "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 80052F00 0004FE60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80052F04 0004FE64 7C 08 02 A6 */ mflr r0 +/* 80052F08 0004FE68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80052F0C 0004FE6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80052F10 0004FE70 7C 7F 1B 78 */ mr r31, r3 +/* 80052F14 0004FE74 80 84 00 64 */ lwz r4, 0x64(r4) +/* 80052F18 0004FE78 48 0C 2B 55 */ bl "GetLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80052F1C 0004FE7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80052F20 0004FE80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80052F24 0004FE84 7C 08 03 A6 */ mtlr r0 +/* 80052F28 0004FE88 38 21 00 10 */ addi r1, r1, 0x10 +/* 80052F2C 0004FE8C 4E 80 00 20 */ blr + +.global ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager +ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager: +/* 80052F30 0004FE90 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80052F34 0004FE94 7C 08 02 A6 */ mflr r0 +/* 80052F38 0004FE98 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80052F3C 0004FE9C DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 80052F40 0004FEA0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80052F44 0004FEA4 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 80052F48 0004FEA8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 80052F4C 0004FEAC DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 80052F50 0004FEB0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 80052F54 0004FEB4 BE 41 00 78 */ stmw r18, 0x78(r1) +/* 80052F58 0004FEB8 C0 88 00 00 */ lfs f4, 0(r8) +/* 80052F5C 0004FEBC FF C0 18 90 */ fmr f30, f3 +/* 80052F60 0004FEC0 C0 08 00 04 */ lfs f0, 4(r8) +/* 80052F64 0004FEC4 FF E0 08 90 */ fmr f31, f1 +/* 80052F68 0004FEC8 EC 64 01 32 */ fmuls f3, f4, f4 +/* 80052F6C 0004FECC C0 88 00 08 */ lfs f4, 8(r8) +/* 80052F70 0004FED0 EC 20 00 32 */ fmuls f1, f0, f0 +/* 80052F74 0004FED4 EC 84 01 32 */ fmuls f4, f4, f4 +/* 80052F78 0004FED8 82 E1 00 E8 */ lwz r23, 0xe8(r1) +/* 80052F7C 0004FEDC EC 1E 07 B2 */ fmuls f0, f30, f30 +/* 80052F80 0004FEE0 EC 23 08 2A */ fadds f1, f3, f1 +/* 80052F84 0004FEE4 88 01 00 EF */ lbz r0, 0xef(r1) +/* 80052F88 0004FEE8 FF A0 10 90 */ fmr f29, f2 +/* 80052F8C 0004FEEC 7C 7F 1B 78 */ mr r31, r3 +/* 80052F90 0004FEF0 7C 98 23 78 */ mr r24, r4 +/* 80052F94 0004FEF4 EC 24 08 2A */ fadds f1, f4, f1 +/* 80052F98 0004FEF8 7C B2 2B 78 */ mr r18, r5 +/* 80052F9C 0004FEFC 7C D3 33 78 */ mr r19, r6 +/* 80052FA0 0004FF00 7C F4 3B 78 */ mr r20, r7 +/* 80052FA4 0004FF04 7D 35 4B 78 */ mr r21, r9 +/* 80052FA8 0004FF08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80052FAC 0004FF0C 7D 56 53 78 */ mr r22, r10 +/* 80052FB0 0004FF10 40 80 02 E4 */ bge lbl_80053294 +/* 80052FB4 0004FF14 28 00 00 00 */ cmplwi r0, 0 +/* 80052FB8 0004FF18 41 82 00 10 */ beq lbl_80052FC8 +/* 80052FBC 0004FF1C 57 03 04 3E */ clrlwi r3, r24, 0x10 +/* 80052FC0 0004FF20 48 29 59 F1 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80052FC4 0004FF24 48 00 00 08 */ b lbl_80052FCC +lbl_80052FC8: +/* 80052FC8 0004FF28 57 03 04 3E */ clrlwi r3, r24, 0x10 +lbl_80052FCC: +/* 80052FCC 0004FF2C 56 40 07 39 */ rlwinm. r0, r18, 0, 0x1c, 0x1c +/* 80052FD0 0004FF30 56 44 CF FE */ rlwinm r4, r18, 0x19, 0x1f, 0x1f +/* 80052FD4 0004FF34 7C 7E 1B 78 */ mr r30, r3 +/* 80052FD8 0004FF38 57 1B 0F FE */ srwi r27, r24, 0x1f +/* 80052FDC 0004FF3C 57 1A 17 FE */ rlwinm r26, r24, 2, 0x1f, 0x1f +/* 80052FE0 0004FF40 57 19 1F FE */ rlwinm r25, r24, 3, 0x1f, 0x1f +/* 80052FE4 0004FF44 68 98 00 01 */ xori r24, r4, 1 +/* 80052FE8 0004FF48 38 A0 00 01 */ li r5, 1 +/* 80052FEC 0004FF4C 41 82 00 08 */ beq lbl_80052FF4 +/* 80052FF0 0004FF50 60 A5 00 08 */ ori r5, r5, 8 +lbl_80052FF4: +/* 80052FF4 0004FF54 C0 02 86 3C */ lfs f0, lbl_805AA35C@sda21(r2) +/* 80052FF8 0004FF58 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80052FFC 0004FF5C 38 80 00 00 */ li r4, 0 +/* 80053000 0004FF60 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 80053004 0004FF64 B0 81 00 64 */ sth r4, 0x64(r1) +/* 80053008 0004FF68 3B A1 00 4C */ addi r29, r1, 0x4c +/* 8005300C 0004FF6C 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 80053010 0004FF70 57 DC 04 3E */ clrlwi r28, r30, 0x10 +/* 80053014 0004FF74 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80053018 0004FF78 C0 B5 00 00 */ lfs f5, 0(r21) +/* 8005301C 0004FF7C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80053020 0004FF80 C0 95 00 04 */ lfs f4, 4(r21) +/* 80053024 0004FF84 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80053028 0004FF88 C0 75 00 08 */ lfs f3, 8(r21) +/* 8005302C 0004FF8C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80053030 0004FF90 C0 23 00 04 */ lfs f1, 4(r3) +/* 80053034 0004FF94 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80053038 0004FF98 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8005303C 0004FF9C C0 03 00 08 */ lfs f0, 8(r3) +/* 80053040 0004FFA0 D3 C1 00 58 */ stfs f30, 0x58(r1) +/* 80053044 0004FFA4 D3 A1 00 5C */ stfs f29, 0x5c(r1) +/* 80053048 0004FFA8 90 A1 00 60 */ stw r5, 0x60(r1) +/* 8005304C 0004FFAC 9A 81 00 66 */ stb r20, 0x66(r1) +/* 80053050 0004FFB0 9A 61 00 67 */ stb r19, 0x67(r1) +/* 80053054 0004FFB4 98 81 00 68 */ stb r4, 0x68(r1) +/* 80053058 0004FFB8 98 01 00 69 */ stb r0, 0x69(r1) +/* 8005305C 0004FFBC D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 80053060 0004FFC0 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 80053064 0004FFC4 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 80053068 0004FFC8 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8005306C 0004FFCC D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80053070 0004FFD0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80053074 0004FFD4 B3 C1 00 64 */ sth r30, 0x64(r1) +/* 80053078 0004FFD8 80 77 09 00 */ lwz r3, 0x900(r23) +/* 8005307C 0004FFDC 48 2B F4 61 */ bl Float__9CRandom16Fv +/* 80053080 0004FFE0 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80053084 0004FFE4 4C 40 13 82 */ cror 2, 0, 2 +/* 80053088 0004FFE8 40 82 02 0C */ bne lbl_80053294 +/* 8005308C 0004FFEC 28 1B 00 00 */ cmplwi r27, 0 +/* 80053090 0004FFF0 41 82 01 48 */ beq lbl_800531D8 +/* 80053094 0004FFF4 80 9F 00 8C */ lwz r4, 0x8c(r31) +/* 80053098 0004FFF8 A0 1F 00 88 */ lhz r0, 0x88(r31) +/* 8005309C 0004FFFC 28 04 00 00 */ cmplwi r4, 0 +/* 800530A0 00050000 90 81 00 3C */ stw r4, 0x3c(r1) +/* 800530A4 00050004 40 82 00 98 */ bne lbl_8005313C +/* 800530A8 00050008 28 1A 00 00 */ cmplwi r26, 0 +/* 800530AC 0005000C 41 82 00 34 */ beq lbl_800530E0 +/* 800530B0 00050010 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800530B4 00050014 7F C4 F3 78 */ mr r4, r30 +/* 800530B8 00050018 7E CA B3 78 */ mr r10, r22 +/* 800530BC 0005001C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800530C0 00050020 38 A0 00 7F */ li r5, 0x7f +/* 800530C4 00050024 38 C0 00 40 */ li r6, 0x40 +/* 800530C8 00050028 38 E0 00 01 */ li r7, 1 +/* 800530CC 0005002C 39 20 00 01 */ li r9, 1 +/* 800530D0 00050030 48 29 6C A5 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800530D4 00050034 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800530D8 00050038 90 01 00 38 */ stw r0, 0x38(r1) +/* 800530DC 0005003C 48 00 00 28 */ b lbl_80053104 +lbl_800530E0: +/* 800530E0 00050040 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 800530E4 00050044 7E C8 B3 78 */ mr r8, r22 +/* 800530E8 00050048 38 61 00 28 */ addi r3, r1, 0x28 +/* 800530EC 0005004C 38 81 00 40 */ addi r4, r1, 0x40 +/* 800530F0 00050050 57 05 06 3E */ clrlwi r5, r24, 0x18 +/* 800530F4 00050054 38 E0 00 01 */ li r7, 1 +/* 800530F8 00050058 48 29 6E E9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 800530FC 0005005C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80053100 00050060 90 01 00 38 */ stw r0, 0x38(r1) +lbl_80053104: +/* 80053104 00050064 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80053108 00050068 28 00 00 00 */ cmplwi r0, 0 +/* 8005310C 0005006C 41 82 01 88 */ beq lbl_80053294 +/* 80053110 00050070 B3 9F 00 88 */ sth r28, 0x88(r31) +/* 80053114 00050074 90 1F 00 8C */ stw r0, 0x8c(r31) +/* 80053118 00050078 88 1F 00 E6 */ lbz r0, 0xe6(r31) +/* 8005311C 0005007C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80053120 00050080 41 82 01 74 */ beq lbl_80053294 +/* 80053124 00050084 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80053128 00050088 38 61 00 24 */ addi r3, r1, 0x24 +/* 8005312C 0005008C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80053130 00050090 80 9F 00 C0 */ lwz r4, 0xc0(r31) +/* 80053134 00050094 48 29 5D 79 */ bl PitchBend__11CSfxManagerF10CSfxHandlei +/* 80053138 00050098 48 00 01 5C */ b lbl_80053294 +lbl_8005313C: +/* 8005313C 0005009C 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80053140 000500A0 7F 80 E3 78 */ mr r0, r28 +/* 80053144 000500A4 7C 03 00 40 */ cmplw r3, r0 +/* 80053148 000500A8 40 82 00 20 */ bne lbl_80053168 +/* 8005314C 000500AC 90 81 00 20 */ stw r4, 0x20(r1) +/* 80053150 000500B0 7F A5 EB 78 */ mr r5, r29 +/* 80053154 000500B4 7E 86 A3 78 */ mr r6, r20 +/* 80053158 000500B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005315C 000500BC 38 81 00 40 */ addi r4, r1, 0x40 +/* 80053160 000500C0 48 29 6D 51 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +/* 80053164 000500C4 48 00 01 30 */ b lbl_80053294 +lbl_80053168: +/* 80053168 000500C8 56 40 07 7B */ rlwinm. r0, r18, 0, 0x1d, 0x1d +/* 8005316C 000500CC 41 82 01 28 */ beq lbl_80053294 +/* 80053170 000500D0 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80053174 000500D4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80053178 000500D8 48 29 6D 0D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 8005317C 000500DC A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 80053180 000500E0 7E C8 B3 78 */ mr r8, r22 +/* 80053184 000500E4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80053188 000500E8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8005318C 000500EC 57 05 06 3E */ clrlwi r5, r24, 0x18 +/* 80053190 000500F0 38 E0 00 01 */ li r7, 1 +/* 80053194 000500F4 48 29 6E 4D */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 80053198 000500F8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8005319C 000500FC 28 03 00 00 */ cmplwi r3, 0 +/* 800531A0 00050100 90 61 00 34 */ stw r3, 0x34(r1) +/* 800531A4 00050104 41 82 00 F0 */ beq lbl_80053294 +/* 800531A8 00050108 B3 9F 00 88 */ sth r28, 0x88(r31) +/* 800531AC 0005010C 90 7F 00 8C */ stw r3, 0x8c(r31) +/* 800531B0 00050110 88 1F 00 E6 */ lbz r0, 0xe6(r31) +/* 800531B4 00050114 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800531B8 00050118 41 82 00 DC */ beq lbl_80053294 +/* 800531BC 0005011C 28 03 00 00 */ cmplwi r3, 0 +/* 800531C0 00050120 41 82 00 D4 */ beq lbl_80053294 +/* 800531C4 00050124 90 61 00 14 */ stw r3, 0x14(r1) +/* 800531C8 00050128 38 61 00 14 */ addi r3, r1, 0x14 +/* 800531CC 0005012C 80 9F 00 C0 */ lwz r4, 0xc0(r31) +/* 800531D0 00050130 48 29 5C DD */ bl PitchBend__11CSfxManagerF10CSfxHandlei +/* 800531D4 00050134 48 00 00 C0 */ b lbl_80053294 +lbl_800531D8: +/* 800531D8 00050138 28 1A 00 00 */ cmplwi r26, 0 +/* 800531DC 0005013C 41 82 00 34 */ beq lbl_80053210 +/* 800531E0 00050140 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800531E4 00050144 7F C4 F3 78 */ mr r4, r30 +/* 800531E8 00050148 7E CA B3 78 */ mr r10, r22 +/* 800531EC 0005014C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800531F0 00050150 57 07 06 3E */ clrlwi r7, r24, 0x18 +/* 800531F4 00050154 38 A0 00 7F */ li r5, 0x7f +/* 800531F8 00050158 38 C0 00 40 */ li r6, 0x40 +/* 800531FC 0005015C 39 20 00 00 */ li r9, 0 +/* 80053200 00050160 48 29 6B 75 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80053204 00050164 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80053208 00050168 90 01 00 30 */ stw r0, 0x30(r1) +/* 8005320C 0005016C 48 00 00 28 */ b lbl_80053234 +lbl_80053210: +/* 80053210 00050170 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 80053214 00050174 7E C8 B3 78 */ mr r8, r22 +/* 80053218 00050178 38 61 00 0C */ addi r3, r1, 0xc +/* 8005321C 0005017C 38 81 00 40 */ addi r4, r1, 0x40 +/* 80053220 00050180 57 05 06 3E */ clrlwi r5, r24, 0x18 +/* 80053224 00050184 38 E0 00 00 */ li r7, 0 +/* 80053228 00050188 48 29 6D B9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 8005322C 0005018C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80053230 00050190 90 01 00 30 */ stw r0, 0x30(r1) +lbl_80053234: +/* 80053234 00050194 28 19 00 00 */ cmplwi r25, 0 +/* 80053238 00050198 41 82 00 3C */ beq lbl_80053274 +/* 8005323C 0005019C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80053240 000501A0 80 81 00 30 */ lwz r4, 0x30(r1) +/* 80053244 000501A4 54 00 EE FA */ rlwinm r0, r0, 0x1d, 0x1b, 0x1d +/* 80053248 000501A8 7C 7F 02 14 */ add r3, r31, r0 +/* 8005324C 000501AC 90 83 00 DC */ stw r4, 0xdc(r3) +/* 80053250 000501B0 88 BF 00 E4 */ lbz r5, 0xe4(r31) +/* 80053254 000501B4 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 80053258 000501B8 54 A4 DF 7E */ rlwinm r4, r5, 0x1b, 0x1d, 0x1f +/* 8005325C 000501BC 38 84 00 01 */ addi r4, r4, 1 +/* 80053260 000501C0 7C 04 1B D6 */ divw r0, r4, r3 +/* 80053264 000501C4 7C 00 19 D6 */ mullw r0, r0, r3 +/* 80053268 000501C8 7C 00 20 50 */ subf r0, r0, r4 +/* 8005326C 000501CC 50 05 2E 34 */ rlwimi r5, r0, 5, 0x18, 0x1a +/* 80053270 000501D0 98 BF 00 E4 */ stb r5, 0xe4(r31) +lbl_80053274: +/* 80053274 000501D4 88 1F 00 E6 */ lbz r0, 0xe6(r31) +/* 80053278 000501D8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8005327C 000501DC 41 82 00 18 */ beq lbl_80053294 +/* 80053280 000501E0 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80053284 000501E4 38 61 00 08 */ addi r3, r1, 8 +/* 80053288 000501E8 90 01 00 08 */ stw r0, 8(r1) +/* 8005328C 000501EC 80 9F 00 C0 */ lwz r4, 0xc0(r31) +/* 80053290 000501F0 48 29 5C 1D */ bl PitchBend__11CSfxManagerF10CSfxHandlei +lbl_80053294: +/* 80053294 000501F4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80053298 000501F8 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8005329C 000501FC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 800532A0 00050200 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 800532A4 00050204 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 800532A8 00050208 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 800532AC 0005020C BA 41 00 78 */ lmw r18, 0x78(r1) +/* 800532B0 00050210 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800532B4 00050214 7C 08 03 A6 */ mtlr r0 +/* 800532B8 00050218 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800532BC 0005021C 4E 80 00 20 */ blr + +.global SetInFluid__6CActorFb9TUniqueId +SetInFluid__6CActorFb9TUniqueId: +/* 800532C0 00050220 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800532C4 00050224 41 82 00 24 */ beq lbl_800532E8 +/* 800532C8 00050228 88 C3 00 E6 */ lbz r6, 0xe6(r3) +/* 800532CC 0005022C 54 C4 DF 7E */ rlwinm r4, r6, 0x1b, 0x1d, 0x1f +/* 800532D0 00050230 38 04 00 01 */ addi r0, r4, 1 +/* 800532D4 00050234 50 06 2E 34 */ rlwimi r6, r0, 5, 0x18, 0x1a +/* 800532D8 00050238 98 C3 00 E6 */ stb r6, 0xe6(r3) +/* 800532DC 0005023C A0 05 00 00 */ lhz r0, 0(r5) +/* 800532E0 00050240 B0 03 00 C4 */ sth r0, 0xc4(r3) +/* 800532E4 00050244 4E 80 00 20 */ blr +lbl_800532E8: +/* 800532E8 00050248 88 83 00 E6 */ lbz r4, 0xe6(r3) +/* 800532EC 0005024C 54 85 DF 7F */ rlwinm. r5, r4, 0x1b, 0x1d, 0x1f +/* 800532F0 00050250 4D 82 00 20 */ beqlr +/* 800532F4 00050254 38 05 FF FF */ addi r0, r5, -1 +/* 800532F8 00050258 50 04 2E 34 */ rlwimi r4, r0, 5, 0x18, 0x1a +/* 800532FC 0005025C 98 83 00 E6 */ stb r4, 0xe6(r3) +/* 80053300 00050260 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80053304 00050264 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f +/* 80053308 00050268 4C 82 00 20 */ bnelr +/* 8005330C 0005026C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80053310 00050270 B0 03 00 C4 */ sth r0, 0xc4(r3) +/* 80053314 00050274 4E 80 00 20 */ blr + +.global GetSfxHandle__6CActorCFv +GetSfxHandle__6CActorCFv: +/* 80053318 00050278 80 04 00 8C */ lwz r0, 0x8c(r4) +/* 8005331C 0005027C 90 03 00 00 */ stw r0, 0(r3) +/* 80053320 00050280 4E 80 00 20 */ blr + +.global SetSoundEventPitchBend__6CActorFi +SetSoundEventPitchBend__6CActorFi: +/* 80053324 00050284 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80053328 00050288 7C 08 02 A6 */ mflr r0 +/* 8005332C 0005028C 38 A0 00 01 */ li r5, 1 +/* 80053330 00050290 90 01 00 14 */ stw r0, 0x14(r1) +/* 80053334 00050294 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80053338 00050298 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 8005333C 0005029C 98 03 00 E6 */ stb r0, 0xe6(r3) +/* 80053340 000502A0 90 83 00 C0 */ stw r4, 0xc0(r3) +/* 80053344 000502A4 80 03 00 8C */ lwz r0, 0x8c(r3) +/* 80053348 000502A8 28 00 00 00 */ cmplwi r0, 0 +/* 8005334C 000502AC 41 82 00 14 */ beq lbl_80053360 +/* 80053350 000502B0 80 03 00 8C */ lwz r0, 0x8c(r3) +/* 80053354 000502B4 38 61 00 08 */ addi r3, r1, 8 +/* 80053358 000502B8 90 01 00 08 */ stw r0, 8(r1) +/* 8005335C 000502BC 48 29 5B 51 */ bl PitchBend__11CSfxManagerF10CSfxHandlei +lbl_80053360: +/* 80053360 000502C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80053364 000502C4 7C 08 03 A6 */ mtlr r0 +/* 80053368 000502C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005336C 000502CC 4E 80 00 20 */ blr + +.global SetVolume__6CActorFUc +SetVolume__6CActorFUc: +/* 80053370 000502D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80053374 000502D4 7C 08 02 A6 */ mflr r0 +/* 80053378 000502D8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005337C 000502DC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80053380 000502E0 7C 9F 23 78 */ mr r31, r4 +/* 80053384 000502E4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80053388 000502E8 7C 7E 1B 78 */ mr r30, r3 +/* 8005338C 000502EC 80 03 00 8C */ lwz r0, 0x8c(r3) +/* 80053390 000502F0 28 00 00 00 */ cmplwi r0, 0 +/* 80053394 000502F4 90 01 00 0C */ stw r0, 0xc(r1) +/* 80053398 000502F8 41 82 00 38 */ beq lbl_800533D0 +/* 8005339C 000502FC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800533A0 00050300 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800533A4 00050304 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800533A8 00050308 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 800533AC 0005030C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800533B0 00050310 7F E6 FB 78 */ mr r6, r31 +/* 800533B4 00050314 38 61 00 08 */ addi r3, r1, 8 +/* 800533B8 00050318 38 81 00 10 */ addi r4, r1, 0x10 +/* 800533BC 0005031C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800533C0 00050320 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800533C4 00050324 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800533C8 00050328 90 01 00 08 */ stw r0, 8(r1) +/* 800533CC 0005032C 48 29 6A E5 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_800533D0: +/* 800533D0 00050330 9B FE 00 D4 */ stb r31, 0xd4(r30) +/* 800533D4 00050334 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800533D8 00050338 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800533DC 0005033C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800533E0 00050340 7C 08 03 A6 */ mtlr r0 +/* 800533E4 00050344 38 21 00 30 */ addi r1, r1, 0x30 +/* 800533E8 00050348 4E 80 00 20 */ blr + +.global SetMuted__6CActorFb +SetMuted__6CActorFb: +/* 800533EC 0005034C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800533F0 00050350 7C 08 02 A6 */ mflr r0 +/* 800533F4 00050354 90 01 00 14 */ stw r0, 0x14(r1) +/* 800533F8 00050358 88 03 00 E5 */ lbz r0, 0xe5(r3) +/* 800533FC 0005035C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80053400 00050360 98 03 00 E5 */ stb r0, 0xe5(r3) +/* 80053404 00050364 48 00 1E 41 */ bl RemoveEmitter__6CActorFv +/* 80053408 00050368 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005340C 0005036C 7C 08 03 A6 */ mtlr r0 +/* 80053410 00050370 38 21 00 10 */ addi r1, r1, 0x10 +/* 80053414 00050374 4E 80 00 20 */ blr + +.global MoveScannableObjectInfoToActor__6CActorFP6CActorR13CStateManager +MoveScannableObjectInfoToActor__6CActorFP6CActorR13CStateManager: +/* 80053418 00050378 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005341C 0005037C 7C 08 02 A6 */ mflr r0 +/* 80053420 00050380 90 01 00 24 */ stw r0, 0x24(r1) +/* 80053424 00050384 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80053428 00050388 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005342C 0005038C 7C BE 2B 78 */ mr r30, r5 +/* 80053430 00050390 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80053434 00050394 7C 9D 23 79 */ or. r29, r4, r4 +/* 80053438 00050398 93 81 00 10 */ stw r28, 0x10(r1) +/* 8005343C 0005039C 7C 7C 1B 78 */ mr r28, r3 +/* 80053440 000503A0 41 82 00 68 */ beq lbl_800534A8 +/* 80053444 000503A4 38 7C 00 98 */ addi r3, r28, 0x98 +/* 80053448 000503A8 38 1D 00 98 */ addi r0, r29, 0x98 +/* 8005344C 000503AC 7C 03 00 40 */ cmplw r3, r0 +/* 80053450 000503B0 41 82 00 38 */ beq lbl_80053488 +/* 80053454 000503B4 83 FD 00 98 */ lwz r31, 0x98(r29) +/* 80053458 000503B8 28 1F 00 00 */ cmplwi r31, 0 +/* 8005345C 000503BC 41 82 00 1C */ beq lbl_80053478 +/* 80053460 000503C0 41 82 00 10 */ beq lbl_80053470 +/* 80053464 000503C4 7F E3 FB 78 */ mr r3, r31 +/* 80053468 000503C8 38 80 00 00 */ li r4, 0 +/* 8005346C 000503CC 48 2E D9 D5 */ bl __dt__6CTokenFv +lbl_80053470: +/* 80053470 000503D0 7F E3 FB 78 */ mr r3, r31 +/* 80053474 000503D4 48 2C 24 BD */ bl Free__7CMemoryFPCv +lbl_80053478: +/* 80053478 000503D8 80 7C 00 98 */ lwz r3, 0x98(r28) +/* 8005347C 000503DC 38 00 00 00 */ li r0, 0 +/* 80053480 000503E0 90 7D 00 98 */ stw r3, 0x98(r29) +/* 80053484 000503E4 90 1C 00 98 */ stw r0, 0x98(r28) +lbl_80053488: +/* 80053488 000503E8 7F A3 EB 78 */ mr r3, r29 +/* 8005348C 000503EC 7F C5 F3 78 */ mr r5, r30 +/* 80053490 000503F0 38 80 00 27 */ li r4, 0x27 +/* 80053494 000503F4 48 00 0E BD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80053498 000503F8 7F 83 E3 78 */ mr r3, r28 +/* 8005349C 000503FC 7F C5 F3 78 */ mr r5, r30 +/* 800534A0 00050400 38 80 00 27 */ li r4, 0x27 +/* 800534A4 00050404 48 00 0A DD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_800534A8: +/* 800534A8 00050408 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800534AC 0005040C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800534B0 00050410 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800534B4 00050414 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800534B8 00050418 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800534BC 0005041C 7C 08 03 A6 */ mtlr r0 +/* 800534C0 00050420 38 21 00 20 */ addi r1, r1, 0x20 +/* 800534C4 00050424 4E 80 00 20 */ blr + +.global GetScannableObjectInfo__6CActorCFv +GetScannableObjectInfo__6CActorCFv: +/* 800534C8 00050428 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800534CC 0005042C 7C 08 02 A6 */ mflr r0 +/* 800534D0 00050430 90 01 00 14 */ stw r0, 0x14(r1) +/* 800534D4 00050434 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800534D8 00050438 93 C1 00 08 */ stw r30, 8(r1) +/* 800534DC 0005043C 7C 7E 1B 78 */ mr r30, r3 +/* 800534E0 00050440 83 E3 00 98 */ lwz r31, 0x98(r3) +/* 800534E4 00050444 28 1F 00 00 */ cmplwi r31, 0 +/* 800534E8 00050448 40 82 00 0C */ bne lbl_800534F4 +/* 800534EC 0005044C 38 60 00 00 */ li r3, 0 +/* 800534F0 00050450 48 00 00 68 */ b lbl_80053558 +lbl_800534F4: +/* 800534F4 00050454 80 1F 00 08 */ lwz r0, 8(r31) +/* 800534F8 00050458 28 00 00 00 */ cmplwi r0, 0 +/* 800534FC 0005045C 41 82 00 0C */ beq lbl_80053508 +/* 80053500 00050460 38 60 00 01 */ li r3, 1 +/* 80053504 00050464 48 00 00 3C */ b lbl_80053540 +lbl_80053508: +/* 80053508 00050468 88 1F 00 04 */ lbz r0, 4(r31) +/* 8005350C 0005046C 28 00 00 00 */ cmplwi r0, 0 +/* 80053510 00050470 41 82 00 2C */ beq lbl_8005353C +/* 80053514 00050474 80 7F 00 00 */ lwz r3, 0(r31) +/* 80053518 00050478 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8005351C 0005047C 28 00 00 00 */ cmplwi r0, 0 +/* 80053520 00050480 41 82 00 1C */ beq lbl_8005353C +/* 80053524 00050484 7F E3 FB 78 */ mr r3, r31 +/* 80053528 00050488 48 2E D8 E5 */ bl GetObj__6CTokenFv +/* 8005352C 0005048C 80 03 00 04 */ lwz r0, 4(r3) +/* 80053530 00050490 38 60 00 01 */ li r3, 1 +/* 80053534 00050494 90 1F 00 08 */ stw r0, 8(r31) +/* 80053538 00050498 48 00 00 08 */ b lbl_80053540 +lbl_8005353C: +/* 8005353C 0005049C 38 60 00 00 */ li r3, 0 +lbl_80053540: +/* 80053540 000504A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80053544 000504A4 41 82 00 10 */ beq lbl_80053554 +/* 80053548 000504A8 80 7E 00 98 */ lwz r3, 0x98(r30) +/* 8005354C 000504AC 80 63 00 08 */ lwz r3, 8(r3) +/* 80053550 000504B0 48 00 00 08 */ b lbl_80053558 +lbl_80053554: +/* 80053554 000504B4 38 60 00 00 */ li r3, 0 +lbl_80053558: +/* 80053558 000504B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005355C 000504BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80053560 000504C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80053564 000504C4 7C 08 03 A6 */ mtlr r0 +/* 80053568 000504C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005356C 000504CC 4E 80 00 20 */ blr + +.global OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager +OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager: +/* 80053570 000504D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80053574 000504D4 7C 08 02 A6 */ mflr r0 +/* 80053578 000504D8 2C 04 00 01 */ cmpwi r4, 1 +/* 8005357C 000504DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80053580 000504E0 41 82 00 30 */ beq lbl_800535B0 +/* 80053584 000504E4 40 80 00 10 */ bge lbl_80053594 +/* 80053588 000504E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8005358C 000504EC 40 80 00 14 */ bge lbl_800535A0 +/* 80053590 000504F0 48 00 00 3C */ b lbl_800535CC +lbl_80053594: +/* 80053594 000504F4 2C 04 00 03 */ cmpwi r4, 3 +/* 80053598 000504F8 40 80 00 34 */ bge lbl_800535CC +/* 8005359C 000504FC 48 00 00 24 */ b lbl_800535C0 +lbl_800535A0: +/* 800535A0 00050500 38 80 00 1A */ li r4, 0x1a +/* 800535A4 00050504 38 C0 FF FF */ li r6, -1 +/* 800535A8 00050508 4B FF DB 19 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800535AC 0005050C 48 00 00 20 */ b lbl_800535CC +lbl_800535B0: +/* 800535B0 00050510 38 80 00 1B */ li r4, 0x1b +/* 800535B4 00050514 38 C0 FF FF */ li r6, -1 +/* 800535B8 00050518 4B FF DB 09 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800535BC 0005051C 48 00 00 10 */ b lbl_800535CC +lbl_800535C0: +/* 800535C0 00050520 38 80 00 1C */ li r4, 0x1c +/* 800535C4 00050524 38 C0 FF FF */ li r6, -1 +/* 800535C8 00050528 4B FF DA F9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_800535CC: +/* 800535CC 0005052C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800535D0 00050530 7C 08 03 A6 */ mtlr r0 +/* 800535D4 00050534 38 21 00 10 */ addi r1, r1, 0x10 +/* 800535D8 00050538 4E 80 00 20 */ blr + +.global FluidFXThink__6CActorFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager +FluidFXThink__6CActorFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: +/* 800535DC 0005053C 4E 80 00 20 */ blr + +.global GetSortingBounds__6CActorCFRC12CTransform4f +GetSortingBounds__6CActorCFRC12CTransform4f: +/* 800535E0 00050540 C0 04 00 9C */ lfs f0, 0x9c(r4) +/* 800535E4 00050544 D0 03 00 00 */ stfs f0, 0(r3) +/* 800535E8 00050548 C0 04 00 A0 */ lfs f0, 0xa0(r4) +/* 800535EC 0005054C D0 03 00 04 */ stfs f0, 4(r3) +/* 800535F0 00050550 C0 04 00 A4 */ lfs f0, 0xa4(r4) +/* 800535F4 00050554 D0 03 00 08 */ stfs f0, 8(r3) +/* 800535F8 00050558 C0 04 00 A8 */ lfs f0, 0xa8(r4) +/* 800535FC 0005055C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80053600 00050560 C0 04 00 AC */ lfs f0, 0xac(r4) +/* 80053604 00050564 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80053608 00050568 C0 04 00 B0 */ lfs f0, 0xb0(r4) +/* 8005360C 0005056C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80053610 00050570 4E 80 00 20 */ blr + +.global AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80053614 00050574 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80053618 00050578 7C 08 02 A6 */ mflr r0 +/* 8005361C 0005057C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80053620 00050580 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80053624 00050584 7C 9D 23 78 */ mr r29, r4 +/* 80053628 00050588 28 1D 00 27 */ cmplwi r29, 0x27 +/* 8005362C 0005058C 7C 7C 1B 78 */ mr r28, r3 +/* 80053630 00050590 7C BE 2B 78 */ mr r30, r5 +/* 80053634 00050594 7C DF 33 78 */ mr r31, r6 +/* 80053638 00050598 41 81 01 E4 */ bgt lbl_8005381C +/* 8005363C 0005059C 3C 80 80 3E */ lis r4, lbl_803D9F1C@ha +/* 80053640 000505A0 57 A0 10 3A */ slwi r0, r29, 2 +/* 80053644 000505A4 38 84 9F 1C */ addi r4, r4, lbl_803D9F1C@l +/* 80053648 000505A8 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8005364C 000505AC 7C 09 03 A6 */ mtctr r0 +/* 80053650 000505B0 4E 80 04 20 */ bctr +/* 80053654 000505B4 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80053658 000505B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005365C 000505BC 40 82 01 C0 */ bne lbl_8005381C +/* 80053660 000505C0 48 2B 68 81 */ bl GetSecondsMod900__9CGraphicsFv +/* 80053664 000505C4 D0 3C 00 BC */ stfs f1, 0xbc(r28) +/* 80053668 000505C8 48 00 01 B4 */ b lbl_8005381C +/* 8005366C 000505CC 48 00 1B D9 */ bl RemoveEmitter__6CActorFv +/* 80053670 000505D0 48 00 01 AC */ b lbl_8005381C +/* 80053674 000505D4 48 00 1B D1 */ bl RemoveEmitter__6CActorFv +/* 80053678 000505D8 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 8005367C 000505DC 38 60 00 00 */ li r3, 0 +/* 80053680 000505E0 28 04 00 00 */ cmplwi r4, 0 +/* 80053684 000505E4 41 82 00 20 */ beq lbl_800536A4 +/* 80053688 000505E8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8005368C 000505EC 28 00 00 00 */ cmplwi r0, 0 +/* 80053690 000505F0 40 82 00 10 */ bne lbl_800536A0 +/* 80053694 000505F4 88 04 00 28 */ lbz r0, 0x28(r4) +/* 80053698 000505F8 28 00 00 00 */ cmplwi r0, 0 +/* 8005369C 000505FC 41 82 00 08 */ beq lbl_800536A4 +lbl_800536A0: +/* 800536A0 00050600 38 60 00 01 */ li r3, 1 +lbl_800536A4: +/* 800536A4 00050604 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800536A8 00050608 41 82 01 74 */ beq lbl_8005381C +/* 800536AC 0005060C 80 64 00 10 */ lwz r3, 0x10(r4) +/* 800536B0 00050610 28 03 00 00 */ cmplwi r3, 0 +/* 800536B4 00050614 41 82 01 68 */ beq lbl_8005381C +/* 800536B8 00050618 7F E4 FB 78 */ mr r4, r31 +/* 800536BC 0005061C 38 63 01 20 */ addi r3, r3, 0x120 +/* 800536C0 00050620 48 06 46 71 */ bl DeleteAllLights__17CParticleDatabaseCFR13CStateManager +/* 800536C4 00050624 48 00 01 58 */ b lbl_8005381C +/* 800536C8 00050628 80 1C 00 98 */ lwz r0, 0x98(r28) +/* 800536CC 0005062C 28 00 00 00 */ cmplwi r0, 0 +/* 800536D0 00050630 41 82 00 14 */ beq lbl_800536E4 +/* 800536D4 00050634 7F E5 FB 78 */ mr r5, r31 +/* 800536D8 00050638 38 80 00 27 */ li r4, 0x27 +/* 800536DC 0005063C 48 00 0C 75 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 800536E0 00050640 48 00 00 10 */ b lbl_800536F0 +lbl_800536E4: +/* 800536E4 00050644 7F E5 FB 78 */ mr r5, r31 +/* 800536E8 00050648 38 80 00 27 */ li r4, 0x27 +/* 800536EC 0005064C 48 00 08 95 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_800536F0: +/* 800536F0 00050650 80 BC 00 64 */ lwz r5, 0x64(r28) +/* 800536F4 00050654 38 60 00 00 */ li r3, 0 +/* 800536F8 00050658 28 05 00 00 */ cmplwi r5, 0 +/* 800536FC 0005065C 41 82 00 14 */ beq lbl_80053710 +/* 80053700 00050660 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80053704 00050664 28 00 00 00 */ cmplwi r0, 0 +/* 80053708 00050668 41 82 00 08 */ beq lbl_80053710 +/* 8005370C 0005066C 38 60 00 01 */ li r3, 1 +lbl_80053710: +/* 80053710 00050670 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80053714 00050674 41 82 01 08 */ beq lbl_8005381C +/* 80053718 00050678 C0 05 00 00 */ lfs f0, 0(r5) +/* 8005371C 0005067C 7F 84 E3 78 */ mr r4, r28 +/* 80053720 00050680 38 61 00 20 */ addi r3, r1, 0x20 +/* 80053724 00050684 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80053728 00050688 C0 05 00 04 */ lfs f0, 4(r5) +/* 8005372C 0005068C D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80053730 00050690 C0 05 00 08 */ lfs f0, 8(r5) +/* 80053734 00050694 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80053738 00050698 4B FF D9 4D */ bl GetAreaId__7CEntityCFv +/* 8005373C 0005069C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80053740 000506A0 7F E4 FB 78 */ mr r4, r31 +/* 80053744 000506A4 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80053748 000506A8 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8005374C 000506AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80053750 000506B0 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80053754 000506B4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80053758 000506B8 4B FD 77 15 */ bl InitializeEffects__9CAnimDataFR13CStateManager7TAreaIdRC9CVector3f +/* 8005375C 000506BC 48 00 00 C0 */ b lbl_8005381C +/* 80053760 000506C0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80053764 000506C4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80053768 000506C8 38 80 00 01 */ li r4, 1 +/* 8005376C 000506CC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80053770 000506D0 4B FF FB 51 */ bl SetInFluid__6CActorFb9TUniqueId +/* 80053774 000506D4 48 00 00 A8 */ b lbl_8005381C +/* 80053778 000506D8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8005377C 000506DC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80053780 000506E0 38 80 00 00 */ li r4, 0 +/* 80053784 000506E4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80053788 000506E8 4B FF FB 39 */ bl SetInFluid__6CActorFb9TUniqueId +/* 8005378C 000506EC 48 00 00 90 */ b lbl_8005381C +/* 80053790 000506F0 83 7C 00 2C */ lwz r27, 0x2c(r28) +/* 80053794 000506F4 48 00 00 70 */ b lbl_80053804 +lbl_80053798: +/* 80053798 000506F8 80 1B 00 00 */ lwz r0, 0(r27) +/* 8005379C 000506FC 2C 00 00 1E */ cmpwi r0, 0x1e +/* 800537A0 00050700 40 82 00 60 */ bne lbl_80053800 +/* 800537A4 00050704 80 1B 00 08 */ lwz r0, 8(r27) +/* 800537A8 00050708 7F E4 FB 78 */ mr r4, r31 +/* 800537AC 0005070C 38 61 00 0C */ addi r3, r1, 0xc +/* 800537B0 00050710 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800537B4 00050714 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800537B8 00050718 4B FF 47 65 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800537BC 0005071C A0 01 00 0C */ lhz r0, 0xc(r1) +/* 800537C0 00050720 7F E3 FB 78 */ mr r3, r31 +/* 800537C4 00050724 38 81 00 10 */ addi r4, r1, 0x10 +/* 800537C8 00050728 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800537CC 0005072C 4B FF 8D A9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800537D0 00050730 7C 64 1B 78 */ mr r4, r3 +/* 800537D4 00050734 38 61 00 28 */ addi r3, r1, 0x28 +/* 800537D8 00050738 48 05 C4 B9 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800537DC 0005073C 80 83 00 04 */ lwz r4, 4(r3) +/* 800537E0 00050740 28 04 00 00 */ cmplwi r4, 0 +/* 800537E4 00050744 41 82 00 1C */ beq lbl_80053800 +/* 800537E8 00050748 A0 7C 00 C6 */ lhz r3, 0xc6(r28) +/* 800537EC 0005074C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800537F0 00050750 7C 03 00 40 */ cmplw r3, r0 +/* 800537F4 00050754 40 82 00 0C */ bne lbl_80053800 +/* 800537F8 00050758 A0 04 00 08 */ lhz r0, 8(r4) +/* 800537FC 0005075C B0 1C 00 C6 */ sth r0, 0xc6(r28) +lbl_80053800: +/* 80053800 00050760 3B 7B 00 0C */ addi r27, r27, 0xc +lbl_80053804: +/* 80053804 00050764 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 80053808 00050768 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 8005380C 0005076C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80053810 00050770 7C 03 02 14 */ add r0, r3, r0 +/* 80053814 00050774 7C 1B 00 40 */ cmplw r27, r0 +/* 80053818 00050778 40 82 FF 80 */ bne lbl_80053798 +lbl_8005381C: +/* 8005381C 0005077C A0 1E 00 00 */ lhz r0, 0(r30) +/* 80053820 00050780 7F 83 E3 78 */ mr r3, r28 +/* 80053824 00050784 7F A4 EB 78 */ mr r4, r29 +/* 80053828 00050788 7F E6 FB 78 */ mr r6, r31 +/* 8005382C 0005078C B0 01 00 08 */ sth r0, 8(r1) +/* 80053830 00050790 38 A1 00 08 */ addi r5, r1, 8 +/* 80053834 00050794 4B FF D9 29 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80053838 00050798 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 8005383C 0005079C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80053840 000507A0 7C 08 03 A6 */ mtlr r0 +/* 80053844 000507A4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80053848 000507A8 4E 80 00 20 */ blr + +.global SetActive__6CActorFb +SetActive__6CActorFb: +/* 8005384C 000507AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80053850 000507B0 7C 08 02 A6 */ mflr r0 +/* 80053854 000507B4 38 C0 00 01 */ li r6, 1 +/* 80053858 000507B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005385C 000507BC 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 80053860 000507C0 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80053864 000507C4 98 03 00 E4 */ stb r0, 0xe4(r3) +/* 80053868 000507C8 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 8005386C 000507CC 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 80053870 000507D0 98 03 00 E4 */ stb r0, 0xe4(r3) +/* 80053874 000507D4 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 80053878 000507D8 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 8005387C 000507DC 98 03 00 E4 */ stb r0, 0xe4(r3) +/* 80053880 000507E0 88 03 00 E7 */ lbz r0, 0xe7(r3) +/* 80053884 000507E4 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80053888 000507E8 98 03 00 E7 */ stb r0, 0xe7(r3) +/* 8005388C 000507EC 4B FF D8 1D */ bl SetActive__7CEntityFb +/* 80053890 000507F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80053894 000507F4 7C 08 03 A6 */ mtlr r0 +/* 80053898 000507F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005389C 000507FC 4E 80 00 20 */ blr + +.global SetMaterialFilter__6CActorFRC15CMaterialFilter +SetMaterialFilter__6CActorFRC15CMaterialFilter: +/* 800538A0 00050800 C8 04 00 00 */ lfd f0, 0(r4) +/* 800538A4 00050804 D8 03 00 70 */ stfd f0, 0x70(r3) +/* 800538A8 00050808 C8 04 00 08 */ lfd f0, 8(r4) +/* 800538AC 0005080C D8 03 00 78 */ stfd f0, 0x78(r3) +/* 800538B0 00050810 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800538B4 00050814 90 03 00 80 */ stw r0, 0x80(r3) +/* 800538B8 00050818 4E 80 00 20 */ blr + +.global GetMaterialFilter__6CActorCFv +GetMaterialFilter__6CActorCFv: +/* 800538BC 0005081C 38 63 00 70 */ addi r3, r3, 0x70 +/* 800538C0 00050820 4E 80 00 20 */ blr + +.global sub_800538c4 +sub_800538c4: +/* 800538C4 00050824 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800538C8 00050828 7C 08 02 A6 */ mflr r0 +/* 800538CC 0005082C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800538D0 00050830 38 00 00 00 */ li r0, 0 +/* 800538D4 00050834 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800538D8 00050838 93 C1 00 08 */ stw r30, 8(r1) +/* 800538DC 0005083C 7C 7E 1B 78 */ mr r30, r3 +/* 800538E0 00050840 98 04 00 00 */ stb r0, 0(r4) +/* 800538E4 00050844 83 E4 00 04 */ lwz r31, 4(r4) +/* 800538E8 00050848 38 80 00 01 */ li r4, 1 +/* 800538EC 0005084C 80 63 00 90 */ lwz r3, 0x90(r3) +/* 800538F0 00050850 48 0B 17 E5 */ bl __dt__12CActorLightsFv +/* 800538F4 00050854 93 FE 00 90 */ stw r31, 0x90(r30) +/* 800538F8 00050858 38 60 00 01 */ li r3, 1 +/* 800538FC 0005085C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80053900 00050860 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80053904 00050864 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80053908 00050868 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005390C 0005086C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80053910 00050870 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80053914 00050874 7C 08 03 A6 */ mtlr r0 +/* 80053918 00050878 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005391C 0005087C 4E 80 00 20 */ blr + +.global SetCalculateLighting__6CActorFb +SetCalculateLighting__6CActorFb: +/* 80053920 00050880 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80053924 00050884 7C 08 02 A6 */ mflr r0 +/* 80053928 00050888 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005392C 0005088C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80053930 00050890 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80053934 00050894 7C 9E 23 78 */ mr r30, r4 +/* 80053938 00050898 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8005393C 0005089C 7C 7D 1B 78 */ mr r29, r3 +/* 80053940 000508A0 80 03 00 90 */ lwz r0, 0x90(r3) +/* 80053944 000508A4 28 00 00 00 */ cmplwi r0, 0 +/* 80053948 000508A8 40 82 00 78 */ bne lbl_800539C0 +/* 8005394C 000508AC 3C 80 80 3D */ lis r4, lbl_803CCF68@ha +/* 80053950 000508B0 38 60 02 E0 */ li r3, 0x2e0 +/* 80053954 000508B4 38 84 CF 68 */ addi r4, r4, lbl_803CCF68@l +/* 80053958 000508B8 38 A0 00 00 */ li r5, 0 +/* 8005395C 000508BC 48 2C 1F 11 */ bl __nw__FUlPCcPCc +/* 80053960 000508C0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80053964 000508C4 41 82 00 4C */ beq lbl_800539B0 +/* 80053968 000508C8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8005396C 000508CC C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) +/* 80053970 000508D0 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 80053974 000508D4 38 A1 00 08 */ addi r5, r1, 8 +/* 80053978 000508D8 81 07 00 00 */ lwz r8, 0(r7) +/* 8005397C 000508DC 38 80 00 08 */ li r4, 8 +/* 80053980 000508E0 81 67 00 04 */ lwz r11, 4(r7) +/* 80053984 000508E4 38 C0 00 04 */ li r6, 4 +/* 80053988 000508E8 80 07 00 08 */ lwz r0, 8(r7) +/* 8005398C 000508EC 38 E0 00 04 */ li r7, 4 +/* 80053990 000508F0 91 01 00 08 */ stw r8, 8(r1) +/* 80053994 000508F4 39 00 00 00 */ li r8, 0 +/* 80053998 000508F8 39 20 00 00 */ li r9, 0 +/* 8005399C 000508FC 39 40 00 00 */ li r10, 0 +/* 800539A0 00050900 91 61 00 0C */ stw r11, 0xc(r1) +/* 800539A4 00050904 90 01 00 10 */ stw r0, 0x10(r1) +/* 800539A8 00050908 48 0B 18 25 */ bl __ct__12CActorLightsFUi9CVector3fiif +/* 800539AC 0005090C 7C 7F 1B 78 */ mr r31, r3 +lbl_800539B0: +/* 800539B0 00050910 80 7D 00 90 */ lwz r3, 0x90(r29) +/* 800539B4 00050914 38 80 00 01 */ li r4, 1 +/* 800539B8 00050918 48 0B 17 1D */ bl __dt__12CActorLightsFv +/* 800539BC 0005091C 93 FD 00 90 */ stw r31, 0x90(r29) +lbl_800539C0: +/* 800539C0 00050920 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800539C4 00050924 53 C0 07 FE */ rlwimi r0, r30, 0, 0x1f, 0x1f +/* 800539C8 00050928 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800539CC 0005092C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800539D0 00050930 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800539D4 00050934 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800539D8 00050938 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800539DC 0005093C 7C 08 03 A6 */ mtlr r0 +/* 800539E0 00050940 38 21 00 30 */ addi r1, r1, 0x30 +/* 800539E4 00050944 4E 80 00 20 */ blr + +.global IsModelOpaque__6CActorCFRC13CStateManager +IsModelOpaque__6CActorCFRC13CStateManager: +/* 800539E8 00050948 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800539EC 0005094C 7C 08 02 A6 */ mflr r0 +/* 800539F0 00050950 90 01 00 14 */ stw r0, 0x14(r1) +/* 800539F4 00050954 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800539F8 00050958 7C 7F 1B 78 */ mr r31, r3 +/* 800539FC 0005095C 88 03 00 E5 */ lbz r0, 0xe5(r3) +/* 80053A00 00050960 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80053A04 00050964 41 82 00 0C */ beq lbl_80053A10 +/* 80053A08 00050968 38 60 00 00 */ li r3, 0 +/* 80053A0C 0005096C 48 00 00 70 */ b lbl_80053A7C +lbl_80053A10: +/* 80053A10 00050970 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 80053A14 00050974 38 60 00 00 */ li r3, 0 +/* 80053A18 00050978 28 05 00 00 */ cmplwi r5, 0 +/* 80053A1C 0005097C 41 82 00 20 */ beq lbl_80053A3C +/* 80053A20 00050980 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80053A24 00050984 28 00 00 00 */ cmplwi r0, 0 +/* 80053A28 00050988 40 82 00 10 */ bne lbl_80053A38 +/* 80053A2C 0005098C 88 05 00 28 */ lbz r0, 0x28(r5) +/* 80053A30 00050990 28 00 00 00 */ cmplwi r0, 0 +/* 80053A34 00050994 41 82 00 08 */ beq lbl_80053A3C +lbl_80053A38: +/* 80053A38 00050998 38 60 00 01 */ li r3, 1 +lbl_80053A3C: +/* 80053A3C 0005099C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80053A40 000509A0 40 82 00 0C */ bne lbl_80053A4C +/* 80053A44 000509A4 38 60 00 01 */ li r3, 1 +/* 80053A48 000509A8 48 00 00 34 */ b lbl_80053A7C +lbl_80053A4C: +/* 80053A4C 000509AC 88 1F 00 B4 */ lbz r0, 0xb4(r31) +/* 80053A50 000509B0 7C 00 07 74 */ extsb r0, r0 +/* 80053A54 000509B4 2C 00 00 04 */ cmpwi r0, 4 +/* 80053A58 000509B8 40 81 00 0C */ ble lbl_80053A64 +/* 80053A5C 000509BC 38 60 00 00 */ li r3, 0 +/* 80053A60 000509C0 48 00 00 1C */ b lbl_80053A7C +lbl_80053A64: +/* 80053A64 000509C4 7C 83 23 78 */ mr r3, r4 +/* 80053A68 000509C8 48 0C 14 75 */ bl GetRenderingModel__10CModelDataFRC13CStateManager +/* 80053A6C 000509CC 7C 60 1B 78 */ mr r0, r3 +/* 80053A70 000509D0 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80053A74 000509D4 7C 04 03 78 */ mr r4, r0 +/* 80053A78 000509D8 48 0C 1A 05 */ bl IsDefinitelyOpaque__10CModelDataCFQ210CModelData11EWhichModel +lbl_80053A7C: +/* 80053A7C 000509DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80053A80 000509E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80053A84 000509E4 7C 08 03 A6 */ mtlr r0 +/* 80053A88 000509E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80053A8C 000509EC 4E 80 00 20 */ blr + +.global GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager +GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager: +/* 80053A90 000509F0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80053A94 000509F4 7C 08 02 A6 */ mflr r0 +/* 80053A98 000509F8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80053A9C 000509FC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80053AA0 00050A00 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80053AA4 00050A04 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80053AA8 00050A08 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80053AAC 00050A0C DB A1 00 70 */ stfd f29, 0x70(r1) +/* 80053AB0 00050A10 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 80053AB4 00050A14 DB 81 00 60 */ stfd f28, 0x60(r1) +/* 80053AB8 00050A18 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 80053ABC 00050A1C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80053AC0 00050A20 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80053AC4 00050A24 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80053AC8 00050A28 93 81 00 50 */ stw r28, 0x50(r1) +/* 80053ACC 00050A2C 7C BE 2B 78 */ mr r30, r5 +/* 80053AD0 00050A30 7C 7C 1B 78 */ mr r28, r3 +/* 80053AD4 00050A34 80 65 08 70 */ lwz r3, 0x870(r5) +/* 80053AD8 00050A38 7C 9D 23 78 */ mr r29, r4 +/* 80053ADC 00050A3C 7F C4 F3 78 */ mr r4, r30 +/* 80053AE0 00050A40 4B FB 80 39 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80053AE4 00050A44 7F A4 EB 78 */ mr r4, r29 +/* 80053AE8 00050A48 7C 7F 1B 78 */ mr r31, r3 +/* 80053AEC 00050A4C 81 9D 00 00 */ lwz r12, 0(r29) +/* 80053AF0 00050A50 7F C5 F3 78 */ mr r5, r30 +/* 80053AF4 00050A54 38 61 00 40 */ addi r3, r1, 0x40 +/* 80053AF8 00050A58 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 80053AFC 00050A5C 7D 89 03 A6 */ mtctr r12 +/* 80053B00 00050A60 4E 80 04 21 */ bctrl +/* 80053B04 00050A64 C3 A1 00 40 */ lfs f29, 0x40(r1) +/* 80053B08 00050A68 38 61 00 34 */ addi r3, r1, 0x34 +/* 80053B0C 00050A6C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80053B10 00050A70 C3 E1 00 44 */ lfs f31, 0x44(r1) +/* 80053B14 00050A74 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 80053B18 00050A78 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 80053B1C 00050A7C C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 80053B20 00050A80 C3 C1 00 48 */ lfs f30, 0x48(r1) +/* 80053B24 00050A84 EC 42 F8 28 */ fsubs f2, f2, f31 +/* 80053B28 00050A88 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80053B2C 00050A8C EC 01 F0 28 */ fsubs f0, f1, f30 +/* 80053B30 00050A90 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80053B34 00050A94 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80053B38 00050A98 48 2C 0D 81 */ bl Magnitude__9CVector3fCFv +/* 80053B3C 00050A9C C0 9D 00 A8 */ lfs f4, 0xa8(r29) +/* 80053B40 00050AA0 C0 7D 00 9C */ lfs f3, 0x9c(r29) +/* 80053B44 00050AA4 C0 5D 00 B0 */ lfs f2, 0xb0(r29) +/* 80053B48 00050AA8 C0 1D 00 A4 */ lfs f0, 0xa4(r29) +/* 80053B4C 00050AAC EC 84 18 28 */ fsubs f4, f4, f3 +/* 80053B50 00050AB0 C0 7D 00 AC */ lfs f3, 0xac(r29) +/* 80053B54 00050AB4 EC A2 00 28 */ fsubs f5, f2, f0 +/* 80053B58 00050AB8 C0 1D 00 A0 */ lfs f0, 0xa0(r29) +/* 80053B5C 00050ABC D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80053B60 00050AC0 EC 43 00 28 */ fsubs f2, f3, f0 +/* 80053B64 00050AC4 FC 05 20 40 */ fcmpo cr0, f5, f4 +/* 80053B68 00050AC8 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80053B6C 00050ACC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80053B70 00050AD0 40 80 00 0C */ bge lbl_80053B7C +/* 80053B74 00050AD4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80053B78 00050AD8 48 00 00 08 */ b lbl_80053B80 +lbl_80053B7C: +/* 80053B7C 00050ADC 38 61 00 14 */ addi r3, r1, 0x14 +lbl_80053B80: +/* 80053B80 00050AE0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80053B84 00050AE4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80053B88 00050AE8 40 80 00 08 */ bge lbl_80053B90 +/* 80053B8C 00050AEC 38 61 00 0C */ addi r3, r1, 0xc +lbl_80053B90: +/* 80053B90 00050AF0 C0 62 86 40 */ lfs f3, lbl_805AA360@sda21(r2) +/* 80053B94 00050AF4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80053B98 00050AF8 C0 02 86 44 */ lfs f0, lbl_805AA364@sda21(r2) +/* 80053B9C 00050AFC EC 63 00 B2 */ fmuls f3, f3, f2 +/* 80053BA0 00050B00 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80053BA4 00050B04 C0 5F 01 60 */ lfs f2, 0x160(r31) +/* 80053BA8 00050B08 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80053BAC 00050B0C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80053BB0 00050B10 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80053BB4 00050B14 D0 01 00 08 */ stfs f0, 8(r1) +/* 80053BB8 00050B18 40 80 00 0C */ bge lbl_80053BC4 +/* 80053BBC 00050B1C 38 61 00 08 */ addi r3, r1, 8 +/* 80053BC0 00050B20 48 00 00 08 */ b lbl_80053BC8 +lbl_80053BC4: +/* 80053BC4 00050B24 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80053BC8: +/* 80053BC8 00050B28 C3 83 00 00 */ lfs f28, 0(r3) +/* 80053BCC 00050B2C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80053BD0 00050B30 38 81 00 1C */ addi r4, r1, 0x1c +/* 80053BD4 00050B34 D3 81 00 18 */ stfs f28, 0x18(r1) +/* 80053BD8 00050B38 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 80053BDC 00050B3C C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 80053BE0 00050B40 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80053BE4 00050B44 EC 5F 10 28 */ fsubs f2, f31, f2 +/* 80053BE8 00050B48 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 80053BEC 00050B4C EC 1D 00 28 */ fsubs f0, f29, f0 +/* 80053BF0 00050B50 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80053BF4 00050B54 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80053BF8 00050B58 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80053BFC 00050B5C 48 2C 0C 55 */ bl AsNormalized__9CVector3fCFv +/* 80053C00 00050B60 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80053C04 00050B64 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80053C08 00050B68 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80053C0C 00050B6C C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80053C10 00050B70 EC 5C 00 B2 */ fmuls f2, f28, f2 +/* 80053C14 00050B74 EC 3C 00 72 */ fmuls f1, f28, f1 +/* 80053C18 00050B78 EC 1D 00 28 */ fsubs f0, f29, f0 +/* 80053C1C 00050B7C EC 5F 10 28 */ fsubs f2, f31, f2 +/* 80053C20 00050B80 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 80053C24 00050B84 D0 1C 00 00 */ stfs f0, 0(r28) +/* 80053C28 00050B88 D0 5C 00 04 */ stfs f2, 4(r28) +/* 80053C2C 00050B8C D0 3C 00 08 */ stfs f1, 8(r28) +/* 80053C30 00050B90 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80053C34 00050B94 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80053C38 00050B98 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80053C3C 00050B9C CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80053C40 00050BA0 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 80053C44 00050BA4 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 80053C48 00050BA8 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 80053C4C 00050BAC CB 81 00 60 */ lfd f28, 0x60(r1) +/* 80053C50 00050BB0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80053C54 00050BB4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80053C58 00050BB8 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80053C5C 00050BBC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80053C60 00050BC0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 80053C64 00050BC4 7C 08 03 A6 */ mtlr r0 +/* 80053C68 00050BC8 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80053C6C 00050BCC 4E 80 00 20 */ blr + +.global GetHomingPosition__6CActorCFRC13CStateManagerf +GetHomingPosition__6CActorCFRC13CStateManagerf: +/* 80053C70 00050BD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80053C74 00050BD4 7C 08 02 A6 */ mflr r0 +/* 80053C78 00050BD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80053C7C 00050BDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80053C80 00050BE0 7C 7F 1B 78 */ mr r31, r3 +/* 80053C84 00050BE4 81 84 00 00 */ lwz r12, 0(r4) +/* 80053C88 00050BE8 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80053C8C 00050BEC 7D 89 03 A6 */ mtctr r12 +/* 80053C90 00050BF0 4E 80 04 21 */ bctrl +/* 80053C94 00050BF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80053C98 00050BF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80053C9C 00050BFC 7C 08 03 A6 */ mtlr r0 +/* 80053CA0 00050C00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80053CA4 00050C04 4E 80 00 20 */ blr + +.global GetAimPosition__6CActorCFRC13CStateManagerf +GetAimPosition__6CActorCFRC13CStateManagerf: +/* 80053CA8 00050C08 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 80053CAC 00050C0C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80053CB0 00050C10 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80053CB4 00050C14 D0 03 00 00 */ stfs f0, 0(r3) +/* 80053CB8 00050C18 D0 23 00 04 */ stfs f1, 4(r3) +/* 80053CBC 00050C1C D0 43 00 08 */ stfs f2, 8(r3) +/* 80053CC0 00050C20 4E 80 00 20 */ blr + +.global GetOrbitPosition__6CActorCFRC13CStateManager +GetOrbitPosition__6CActorCFRC13CStateManager: +/* 80053CC4 00050C24 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 80053CC8 00050C28 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80053CCC 00050C2C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80053CD0 00050C30 D0 03 00 00 */ stfs f0, 0(r3) +/* 80053CD4 00050C34 D0 23 00 04 */ stfs f1, 4(r3) +/* 80053CD8 00050C38 D0 43 00 08 */ stfs f2, 8(r3) +/* 80053CDC 00050C3C 4E 80 00 20 */ blr + +.global GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 80053CE0 00050C40 38 60 00 0D */ li r3, 0xd +/* 80053CE4 00050C44 4E 80 00 20 */ blr + +.global RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: +/* 80053CE8 00050C48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80053CEC 00050C4C 7C 08 02 A6 */ mflr r0 +/* 80053CF0 00050C50 90 01 00 24 */ stw r0, 0x24(r1) +/* 80053CF4 00050C54 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80053CF8 00050C58 7C 7D 1B 78 */ mr r29, r3 +/* 80053CFC 00050C5C 7C BB 2B 78 */ mr r27, r5 +/* 80053D00 00050C60 7C 85 23 78 */ mr r5, r4 +/* 80053D04 00050C64 7C DC 33 78 */ mr r28, r6 +/* 80053D08 00050C68 7C FE 3B 78 */ mr r30, r7 +/* 80053D0C 00050C6C 7D 1F 43 78 */ mr r31, r8 +/* 80053D10 00050C70 38 60 00 00 */ li r3, 0 +/* 80053D14 00050C74 38 80 00 01 */ li r4, 1 +/* 80053D18 00050C78 48 33 61 DD */ bl __shl2i +/* 80053D1C 00050C7C 80 1D 00 6C */ lwz r0, 0x6c(r29) +/* 80053D20 00050C80 7C 85 20 F8 */ nor r5, r4, r4 +/* 80053D24 00050C84 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 80053D28 00050C88 7C 63 18 F8 */ nor r3, r3, r3 +/* 80053D2C 00050C8C 7C 00 28 38 */ and r0, r0, r5 +/* 80053D30 00050C90 7F 65 DB 78 */ mr r5, r27 +/* 80053D34 00050C94 90 1D 00 6C */ stw r0, 0x6c(r29) +/* 80053D38 00050C98 7C 80 18 38 */ and r0, r4, r3 +/* 80053D3C 00050C9C 38 60 00 00 */ li r3, 0 +/* 80053D40 00050CA0 38 80 00 01 */ li r4, 1 +/* 80053D44 00050CA4 90 1D 00 68 */ stw r0, 0x68(r29) +/* 80053D48 00050CA8 48 33 61 AD */ bl __shl2i +/* 80053D4C 00050CAC 80 1D 00 6C */ lwz r0, 0x6c(r29) +/* 80053D50 00050CB0 7C 85 20 F8 */ nor r5, r4, r4 +/* 80053D54 00050CB4 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 80053D58 00050CB8 7C 63 18 F8 */ nor r3, r3, r3 +/* 80053D5C 00050CBC 7C 00 28 38 */ and r0, r0, r5 +/* 80053D60 00050CC0 7F 85 E3 78 */ mr r5, r28 +/* 80053D64 00050CC4 90 1D 00 6C */ stw r0, 0x6c(r29) +/* 80053D68 00050CC8 7C 80 18 38 */ and r0, r4, r3 +/* 80053D6C 00050CCC 38 60 00 00 */ li r3, 0 +/* 80053D70 00050CD0 38 80 00 01 */ li r4, 1 +/* 80053D74 00050CD4 90 1D 00 68 */ stw r0, 0x68(r29) +/* 80053D78 00050CD8 48 33 61 7D */ bl __shl2i +/* 80053D7C 00050CDC 80 1D 00 6C */ lwz r0, 0x6c(r29) +/* 80053D80 00050CE0 7C 85 20 F8 */ nor r5, r4, r4 +/* 80053D84 00050CE4 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 80053D88 00050CE8 7C 63 18 F8 */ nor r3, r3, r3 +/* 80053D8C 00050CEC 7C 00 28 38 */ and r0, r0, r5 +/* 80053D90 00050CF0 7F C5 F3 78 */ mr r5, r30 +/* 80053D94 00050CF4 90 1D 00 6C */ stw r0, 0x6c(r29) +/* 80053D98 00050CF8 7C 80 18 38 */ and r0, r4, r3 +/* 80053D9C 00050CFC 38 60 00 00 */ li r3, 0 +/* 80053DA0 00050D00 38 80 00 01 */ li r4, 1 +/* 80053DA4 00050D04 90 1D 00 68 */ stw r0, 0x68(r29) +/* 80053DA8 00050D08 48 33 61 4D */ bl __shl2i +/* 80053DAC 00050D0C 80 1D 00 6C */ lwz r0, 0x6c(r29) +/* 80053DB0 00050D10 7C 86 20 F8 */ nor r6, r4, r4 +/* 80053DB4 00050D14 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 80053DB8 00050D18 7C 65 18 F8 */ nor r5, r3, r3 +/* 80053DBC 00050D1C 7C 00 30 38 */ and r0, r0, r6 +/* 80053DC0 00050D20 7F E3 FB 78 */ mr r3, r31 +/* 80053DC4 00050D24 90 1D 00 6C */ stw r0, 0x6c(r29) +/* 80053DC8 00050D28 7C 80 28 38 */ and r0, r4, r5 +/* 80053DCC 00050D2C 7F A4 EB 78 */ mr r4, r29 +/* 80053DD0 00050D30 90 1D 00 68 */ stw r0, 0x68(r29) +/* 80053DD4 00050D34 4B FF 92 1D */ bl UpdateObjectInLists__13CStateManagerFR7CEntity +/* 80053DD8 00050D38 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80053DDC 00050D3C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80053DE0 00050D40 7C 08 03 A6 */ mtlr r0 +/* 80053DE4 00050D44 38 21 00 20 */ addi r1, r1, 0x20 +/* 80053DE8 00050D48 4E 80 00 20 */ blr + +.global RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: +/* 80053DEC 00050D4C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80053DF0 00050D50 7C 08 02 A6 */ mflr r0 +/* 80053DF4 00050D54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80053DF8 00050D58 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80053DFC 00050D5C 7C FF 3B 78 */ mr r31, r7 +/* 80053E00 00050D60 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80053E04 00050D64 7C 7E 1B 78 */ mr r30, r3 +/* 80053E08 00050D68 38 60 00 00 */ li r3, 0 +/* 80053E0C 00050D6C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80053E10 00050D70 7C DD 33 78 */ mr r29, r6 +/* 80053E14 00050D74 93 81 00 10 */ stw r28, 0x10(r1) +/* 80053E18 00050D78 7C BC 2B 78 */ mr r28, r5 +/* 80053E1C 00050D7C 7C 85 23 78 */ mr r5, r4 +/* 80053E20 00050D80 38 80 00 01 */ li r4, 1 +/* 80053E24 00050D84 48 33 60 D1 */ bl __shl2i +/* 80053E28 00050D88 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80053E2C 00050D8C 7C 85 20 F8 */ nor r5, r4, r4 +/* 80053E30 00050D90 80 9E 00 68 */ lwz r4, 0x68(r30) +/* 80053E34 00050D94 7C 63 18 F8 */ nor r3, r3, r3 +/* 80053E38 00050D98 7C 00 28 38 */ and r0, r0, r5 +/* 80053E3C 00050D9C 7F 85 E3 78 */ mr r5, r28 +/* 80053E40 00050DA0 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80053E44 00050DA4 7C 80 18 38 */ and r0, r4, r3 +/* 80053E48 00050DA8 38 60 00 00 */ li r3, 0 +/* 80053E4C 00050DAC 38 80 00 01 */ li r4, 1 +/* 80053E50 00050DB0 90 1E 00 68 */ stw r0, 0x68(r30) +/* 80053E54 00050DB4 48 33 60 A1 */ bl __shl2i +/* 80053E58 00050DB8 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80053E5C 00050DBC 7C 85 20 F8 */ nor r5, r4, r4 +/* 80053E60 00050DC0 80 9E 00 68 */ lwz r4, 0x68(r30) +/* 80053E64 00050DC4 7C 63 18 F8 */ nor r3, r3, r3 +/* 80053E68 00050DC8 7C 00 28 38 */ and r0, r0, r5 +/* 80053E6C 00050DCC 7F A5 EB 78 */ mr r5, r29 +/* 80053E70 00050DD0 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80053E74 00050DD4 7C 80 18 38 */ and r0, r4, r3 +/* 80053E78 00050DD8 38 60 00 00 */ li r3, 0 +/* 80053E7C 00050DDC 38 80 00 01 */ li r4, 1 +/* 80053E80 00050DE0 90 1E 00 68 */ stw r0, 0x68(r30) +/* 80053E84 00050DE4 48 33 60 71 */ bl __shl2i +/* 80053E88 00050DE8 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80053E8C 00050DEC 7C 86 20 F8 */ nor r6, r4, r4 +/* 80053E90 00050DF0 80 9E 00 68 */ lwz r4, 0x68(r30) +/* 80053E94 00050DF4 7C 65 18 F8 */ nor r5, r3, r3 +/* 80053E98 00050DF8 7C 00 30 38 */ and r0, r0, r6 +/* 80053E9C 00050DFC 7F E3 FB 78 */ mr r3, r31 +/* 80053EA0 00050E00 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80053EA4 00050E04 7C 80 28 38 */ and r0, r4, r5 +/* 80053EA8 00050E08 7F C4 F3 78 */ mr r4, r30 +/* 80053EAC 00050E0C 90 1E 00 68 */ stw r0, 0x68(r30) +/* 80053EB0 00050E10 4B FF 91 41 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity +/* 80053EB4 00050E14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80053EB8 00050E18 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80053EBC 00050E1C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80053EC0 00050E20 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80053EC4 00050E24 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80053EC8 00050E28 7C 08 03 A6 */ mtlr r0 +/* 80053ECC 00050E2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80053ED0 00050E30 4E 80 00 20 */ blr + +.global RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager: +/* 80053ED4 00050E34 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80053ED8 00050E38 7C 08 02 A6 */ mflr r0 +/* 80053EDC 00050E3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80053EE0 00050E40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80053EE4 00050E44 7C DF 33 78 */ mr r31, r6 +/* 80053EE8 00050E48 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80053EEC 00050E4C 7C BE 2B 78 */ mr r30, r5 +/* 80053EF0 00050E50 7C 85 23 78 */ mr r5, r4 +/* 80053EF4 00050E54 38 80 00 01 */ li r4, 1 +/* 80053EF8 00050E58 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80053EFC 00050E5C 7C 7D 1B 78 */ mr r29, r3 +/* 80053F00 00050E60 38 60 00 00 */ li r3, 0 +/* 80053F04 00050E64 48 33 5F F1 */ bl __shl2i +/* 80053F08 00050E68 80 1D 00 6C */ lwz r0, 0x6c(r29) +/* 80053F0C 00050E6C 7C 85 20 F8 */ nor r5, r4, r4 +/* 80053F10 00050E70 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 80053F14 00050E74 7C 63 18 F8 */ nor r3, r3, r3 +/* 80053F18 00050E78 7C 00 28 38 */ and r0, r0, r5 +/* 80053F1C 00050E7C 7F C5 F3 78 */ mr r5, r30 +/* 80053F20 00050E80 90 1D 00 6C */ stw r0, 0x6c(r29) +/* 80053F24 00050E84 7C 80 18 38 */ and r0, r4, r3 +/* 80053F28 00050E88 38 60 00 00 */ li r3, 0 +/* 80053F2C 00050E8C 38 80 00 01 */ li r4, 1 +/* 80053F30 00050E90 90 1D 00 68 */ stw r0, 0x68(r29) +/* 80053F34 00050E94 48 33 5F C1 */ bl __shl2i +/* 80053F38 00050E98 80 1D 00 6C */ lwz r0, 0x6c(r29) +/* 80053F3C 00050E9C 7C 86 20 F8 */ nor r6, r4, r4 +/* 80053F40 00050EA0 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 80053F44 00050EA4 7C 65 18 F8 */ nor r5, r3, r3 +/* 80053F48 00050EA8 7C 00 30 38 */ and r0, r0, r6 +/* 80053F4C 00050EAC 7F E3 FB 78 */ mr r3, r31 +/* 80053F50 00050EB0 90 1D 00 6C */ stw r0, 0x6c(r29) +/* 80053F54 00050EB4 7C 80 28 38 */ and r0, r4, r5 +/* 80053F58 00050EB8 7F A4 EB 78 */ mr r4, r29 +/* 80053F5C 00050EBC 90 1D 00 68 */ stw r0, 0x68(r29) +/* 80053F60 00050EC0 4B FF 90 91 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity +/* 80053F64 00050EC4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80053F68 00050EC8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80053F6C 00050ECC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80053F70 00050ED0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80053F74 00050ED4 7C 08 03 A6 */ mtlr r0 +/* 80053F78 00050ED8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80053F7C 00050EDC 4E 80 00 20 */ blr + +.global RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager: +/* 80053F80 00050EE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80053F84 00050EE4 7C 08 02 A6 */ mflr r0 +/* 80053F88 00050EE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80053F8C 00050EEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80053F90 00050EF0 7C BF 2B 78 */ mr r31, r5 +/* 80053F94 00050EF4 7C 85 23 78 */ mr r5, r4 +/* 80053F98 00050EF8 38 80 00 01 */ li r4, 1 +/* 80053F9C 00050EFC 93 C1 00 08 */ stw r30, 8(r1) +/* 80053FA0 00050F00 7C 7E 1B 78 */ mr r30, r3 +/* 80053FA4 00050F04 38 60 00 00 */ li r3, 0 +/* 80053FA8 00050F08 48 33 5F 4D */ bl __shl2i +/* 80053FAC 00050F0C 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80053FB0 00050F10 7C 86 20 F8 */ nor r6, r4, r4 +/* 80053FB4 00050F14 80 9E 00 68 */ lwz r4, 0x68(r30) +/* 80053FB8 00050F18 7C 65 18 F8 */ nor r5, r3, r3 +/* 80053FBC 00050F1C 7C 00 30 38 */ and r0, r0, r6 +/* 80053FC0 00050F20 7F E3 FB 78 */ mr r3, r31 +/* 80053FC4 00050F24 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80053FC8 00050F28 7C 80 28 38 */ and r0, r4, r5 +/* 80053FCC 00050F2C 7F C4 F3 78 */ mr r4, r30 +/* 80053FD0 00050F30 90 1E 00 68 */ stw r0, 0x68(r30) +/* 80053FD4 00050F34 4B FF 90 1D */ bl UpdateObjectInLists__13CStateManagerFR7CEntity +/* 80053FD8 00050F38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80053FDC 00050F3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80053FE0 00050F40 83 C1 00 08 */ lwz r30, 8(r1) +/* 80053FE4 00050F44 7C 08 03 A6 */ mtlr r0 +/* 80053FE8 00050F48 38 21 00 10 */ addi r1, r1, 0x10 +/* 80053FEC 00050F4C 4E 80 00 20 */ blr + +.global AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: +/* 80053FF0 00050F50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80053FF4 00050F54 7C 08 02 A6 */ mflr r0 +/* 80053FF8 00050F58 90 01 00 24 */ stw r0, 0x24(r1) +/* 80053FFC 00050F5C BF 41 00 08 */ stmw r26, 8(r1) +/* 80054000 00050F60 7C 7E 1B 78 */ mr r30, r3 +/* 80054004 00050F64 7C BA 2B 78 */ mr r26, r5 +/* 80054008 00050F68 7C 85 23 78 */ mr r5, r4 +/* 8005400C 00050F6C 7C DB 33 78 */ mr r27, r6 +/* 80054010 00050F70 7C FC 3B 78 */ mr r28, r7 +/* 80054014 00050F74 7D 1D 43 78 */ mr r29, r8 +/* 80054018 00050F78 7D 3F 4B 78 */ mr r31, r9 +/* 8005401C 00050F7C 38 60 00 00 */ li r3, 0 +/* 80054020 00050F80 38 80 00 01 */ li r4, 1 +/* 80054024 00050F84 48 33 5E D1 */ bl __shl2i +/* 80054028 00050F88 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 8005402C 00050F8C 7F 45 D3 78 */ mr r5, r26 +/* 80054030 00050F90 80 DE 00 68 */ lwz r6, 0x68(r30) +/* 80054034 00050F94 7C 00 23 78 */ or r0, r0, r4 +/* 80054038 00050F98 38 80 00 01 */ li r4, 1 +/* 8005403C 00050F9C 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80054040 00050FA0 7C C0 1B 78 */ or r0, r6, r3 +/* 80054044 00050FA4 38 60 00 00 */ li r3, 0 +/* 80054048 00050FA8 90 1E 00 68 */ stw r0, 0x68(r30) +/* 8005404C 00050FAC 48 33 5E A9 */ bl __shl2i +/* 80054050 00050FB0 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80054054 00050FB4 7F 65 DB 78 */ mr r5, r27 +/* 80054058 00050FB8 80 DE 00 68 */ lwz r6, 0x68(r30) +/* 8005405C 00050FBC 7C 00 23 78 */ or r0, r0, r4 +/* 80054060 00050FC0 38 80 00 01 */ li r4, 1 +/* 80054064 00050FC4 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80054068 00050FC8 7C C0 1B 78 */ or r0, r6, r3 +/* 8005406C 00050FCC 38 60 00 00 */ li r3, 0 +/* 80054070 00050FD0 90 1E 00 68 */ stw r0, 0x68(r30) +/* 80054074 00050FD4 48 33 5E 81 */ bl __shl2i +/* 80054078 00050FD8 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 8005407C 00050FDC 7F 85 E3 78 */ mr r5, r28 +/* 80054080 00050FE0 80 DE 00 68 */ lwz r6, 0x68(r30) +/* 80054084 00050FE4 7C 00 23 78 */ or r0, r0, r4 +/* 80054088 00050FE8 38 80 00 01 */ li r4, 1 +/* 8005408C 00050FEC 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80054090 00050FF0 7C C0 1B 78 */ or r0, r6, r3 +/* 80054094 00050FF4 38 60 00 00 */ li r3, 0 +/* 80054098 00050FF8 90 1E 00 68 */ stw r0, 0x68(r30) +/* 8005409C 00050FFC 48 33 5E 59 */ bl __shl2i +/* 800540A0 00051000 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 800540A4 00051004 7F A5 EB 78 */ mr r5, r29 +/* 800540A8 00051008 80 DE 00 68 */ lwz r6, 0x68(r30) +/* 800540AC 0005100C 7C 00 23 78 */ or r0, r0, r4 +/* 800540B0 00051010 38 80 00 01 */ li r4, 1 +/* 800540B4 00051014 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 800540B8 00051018 7C C0 1B 78 */ or r0, r6, r3 +/* 800540BC 0005101C 38 60 00 00 */ li r3, 0 +/* 800540C0 00051020 90 1E 00 68 */ stw r0, 0x68(r30) +/* 800540C4 00051024 48 33 5E 31 */ bl __shl2i +/* 800540C8 00051028 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 800540CC 0005102C 80 BE 00 68 */ lwz r5, 0x68(r30) +/* 800540D0 00051030 7C 00 23 78 */ or r0, r0, r4 +/* 800540D4 00051034 7F C4 F3 78 */ mr r4, r30 +/* 800540D8 00051038 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 800540DC 0005103C 7C A0 1B 78 */ or r0, r5, r3 +/* 800540E0 00051040 7F E3 FB 78 */ mr r3, r31 +/* 800540E4 00051044 90 1E 00 68 */ stw r0, 0x68(r30) +/* 800540E8 00051048 4B FF 8F 09 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity +/* 800540EC 0005104C BB 41 00 08 */ lmw r26, 8(r1) +/* 800540F0 00051050 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800540F4 00051054 7C 08 03 A6 */ mtlr r0 +/* 800540F8 00051058 38 21 00 20 */ addi r1, r1, 0x20 +/* 800540FC 0005105C 4E 80 00 20 */ blr + +.global AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: +/* 80054100 00051060 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80054104 00051064 7C 08 02 A6 */ mflr r0 +/* 80054108 00051068 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005410C 0005106C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80054110 00051070 7C 7E 1B 78 */ mr r30, r3 +/* 80054114 00051074 7C BB 2B 78 */ mr r27, r5 +/* 80054118 00051078 7C 85 23 78 */ mr r5, r4 +/* 8005411C 0005107C 7C DC 33 78 */ mr r28, r6 +/* 80054120 00051080 7C FD 3B 78 */ mr r29, r7 +/* 80054124 00051084 7D 1F 43 78 */ mr r31, r8 +/* 80054128 00051088 38 60 00 00 */ li r3, 0 +/* 8005412C 0005108C 38 80 00 01 */ li r4, 1 +/* 80054130 00051090 48 33 5D C5 */ bl __shl2i +/* 80054134 00051094 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80054138 00051098 7F 65 DB 78 */ mr r5, r27 +/* 8005413C 0005109C 80 DE 00 68 */ lwz r6, 0x68(r30) +/* 80054140 000510A0 7C 00 23 78 */ or r0, r0, r4 +/* 80054144 000510A4 38 80 00 01 */ li r4, 1 +/* 80054148 000510A8 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 8005414C 000510AC 7C C0 1B 78 */ or r0, r6, r3 +/* 80054150 000510B0 38 60 00 00 */ li r3, 0 +/* 80054154 000510B4 90 1E 00 68 */ stw r0, 0x68(r30) +/* 80054158 000510B8 48 33 5D 9D */ bl __shl2i +/* 8005415C 000510BC 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80054160 000510C0 7F 85 E3 78 */ mr r5, r28 +/* 80054164 000510C4 80 DE 00 68 */ lwz r6, 0x68(r30) +/* 80054168 000510C8 7C 00 23 78 */ or r0, r0, r4 +/* 8005416C 000510CC 38 80 00 01 */ li r4, 1 +/* 80054170 000510D0 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80054174 000510D4 7C C0 1B 78 */ or r0, r6, r3 +/* 80054178 000510D8 38 60 00 00 */ li r3, 0 +/* 8005417C 000510DC 90 1E 00 68 */ stw r0, 0x68(r30) +/* 80054180 000510E0 48 33 5D 75 */ bl __shl2i +/* 80054184 000510E4 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80054188 000510E8 7F A5 EB 78 */ mr r5, r29 +/* 8005418C 000510EC 80 DE 00 68 */ lwz r6, 0x68(r30) +/* 80054190 000510F0 7C 00 23 78 */ or r0, r0, r4 +/* 80054194 000510F4 38 80 00 01 */ li r4, 1 +/* 80054198 000510F8 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 8005419C 000510FC 7C C0 1B 78 */ or r0, r6, r3 +/* 800541A0 00051100 38 60 00 00 */ li r3, 0 +/* 800541A4 00051104 90 1E 00 68 */ stw r0, 0x68(r30) +/* 800541A8 00051108 48 33 5D 4D */ bl __shl2i +/* 800541AC 0005110C 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 800541B0 00051110 80 BE 00 68 */ lwz r5, 0x68(r30) +/* 800541B4 00051114 7C 00 23 78 */ or r0, r0, r4 +/* 800541B8 00051118 7F C4 F3 78 */ mr r4, r30 +/* 800541BC 0005111C 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 800541C0 00051120 7C A0 1B 78 */ or r0, r5, r3 +/* 800541C4 00051124 7F E3 FB 78 */ mr r3, r31 +/* 800541C8 00051128 90 1E 00 68 */ stw r0, 0x68(r30) +/* 800541CC 0005112C 4B FF 8E 25 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity +/* 800541D0 00051130 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 800541D4 00051134 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800541D8 00051138 7C 08 03 A6 */ mtlr r0 +/* 800541DC 0005113C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800541E0 00051140 4E 80 00 20 */ blr + +.global AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: +/* 800541E4 00051144 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800541E8 00051148 7C 08 02 A6 */ mflr r0 +/* 800541EC 0005114C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800541F0 00051150 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800541F4 00051154 7C FF 3B 78 */ mr r31, r7 +/* 800541F8 00051158 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800541FC 0005115C 7C DE 33 78 */ mr r30, r6 +/* 80054200 00051160 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80054204 00051164 7C BD 2B 78 */ mr r29, r5 +/* 80054208 00051168 7C 85 23 78 */ mr r5, r4 +/* 8005420C 0005116C 38 80 00 01 */ li r4, 1 +/* 80054210 00051170 93 81 00 10 */ stw r28, 0x10(r1) +/* 80054214 00051174 7C 7C 1B 78 */ mr r28, r3 +/* 80054218 00051178 38 60 00 00 */ li r3, 0 +/* 8005421C 0005117C 48 33 5C D9 */ bl __shl2i +/* 80054220 00051180 80 1C 00 6C */ lwz r0, 0x6c(r28) +/* 80054224 00051184 7F A5 EB 78 */ mr r5, r29 +/* 80054228 00051188 80 DC 00 68 */ lwz r6, 0x68(r28) +/* 8005422C 0005118C 7C 00 23 78 */ or r0, r0, r4 +/* 80054230 00051190 38 80 00 01 */ li r4, 1 +/* 80054234 00051194 90 1C 00 6C */ stw r0, 0x6c(r28) +/* 80054238 00051198 7C C0 1B 78 */ or r0, r6, r3 +/* 8005423C 0005119C 38 60 00 00 */ li r3, 0 +/* 80054240 000511A0 90 1C 00 68 */ stw r0, 0x68(r28) +/* 80054244 000511A4 48 33 5C B1 */ bl __shl2i +/* 80054248 000511A8 80 1C 00 6C */ lwz r0, 0x6c(r28) +/* 8005424C 000511AC 7F C5 F3 78 */ mr r5, r30 +/* 80054250 000511B0 80 DC 00 68 */ lwz r6, 0x68(r28) +/* 80054254 000511B4 7C 00 23 78 */ or r0, r0, r4 +/* 80054258 000511B8 38 80 00 01 */ li r4, 1 +/* 8005425C 000511BC 90 1C 00 6C */ stw r0, 0x6c(r28) +/* 80054260 000511C0 7C C0 1B 78 */ or r0, r6, r3 +/* 80054264 000511C4 38 60 00 00 */ li r3, 0 +/* 80054268 000511C8 90 1C 00 68 */ stw r0, 0x68(r28) +/* 8005426C 000511CC 48 33 5C 89 */ bl __shl2i +/* 80054270 000511D0 80 1C 00 6C */ lwz r0, 0x6c(r28) +/* 80054274 000511D4 80 BC 00 68 */ lwz r5, 0x68(r28) +/* 80054278 000511D8 7C 00 23 78 */ or r0, r0, r4 +/* 8005427C 000511DC 7F 84 E3 78 */ mr r4, r28 +/* 80054280 000511E0 90 1C 00 6C */ stw r0, 0x6c(r28) +/* 80054284 000511E4 7C A0 1B 78 */ or r0, r5, r3 +/* 80054288 000511E8 7F E3 FB 78 */ mr r3, r31 +/* 8005428C 000511EC 90 1C 00 68 */ stw r0, 0x68(r28) +/* 80054290 000511F0 4B FF 8D 61 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity +/* 80054294 000511F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80054298 000511F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005429C 000511FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800542A0 00051200 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800542A4 00051204 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800542A8 00051208 7C 08 03 A6 */ mtlr r0 +/* 800542AC 0005120C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800542B0 00051210 4E 80 00 20 */ blr + +.global AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager: +/* 800542B4 00051214 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800542B8 00051218 7C 08 02 A6 */ mflr r0 +/* 800542BC 0005121C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800542C0 00051220 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800542C4 00051224 7C DF 33 78 */ mr r31, r6 +/* 800542C8 00051228 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800542CC 0005122C 7C BE 2B 78 */ mr r30, r5 +/* 800542D0 00051230 7C 85 23 78 */ mr r5, r4 +/* 800542D4 00051234 38 80 00 01 */ li r4, 1 +/* 800542D8 00051238 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800542DC 0005123C 7C 7D 1B 78 */ mr r29, r3 +/* 800542E0 00051240 38 60 00 00 */ li r3, 0 +/* 800542E4 00051244 48 33 5C 11 */ bl __shl2i +/* 800542E8 00051248 80 1D 00 6C */ lwz r0, 0x6c(r29) +/* 800542EC 0005124C 7F C5 F3 78 */ mr r5, r30 +/* 800542F0 00051250 80 DD 00 68 */ lwz r6, 0x68(r29) +/* 800542F4 00051254 7C 00 23 78 */ or r0, r0, r4 +/* 800542F8 00051258 38 80 00 01 */ li r4, 1 +/* 800542FC 0005125C 90 1D 00 6C */ stw r0, 0x6c(r29) +/* 80054300 00051260 7C C0 1B 78 */ or r0, r6, r3 +/* 80054304 00051264 38 60 00 00 */ li r3, 0 +/* 80054308 00051268 90 1D 00 68 */ stw r0, 0x68(r29) +/* 8005430C 0005126C 48 33 5B E9 */ bl __shl2i +/* 80054310 00051270 80 1D 00 6C */ lwz r0, 0x6c(r29) +/* 80054314 00051274 80 BD 00 68 */ lwz r5, 0x68(r29) +/* 80054318 00051278 7C 00 23 78 */ or r0, r0, r4 +/* 8005431C 0005127C 7F A4 EB 78 */ mr r4, r29 +/* 80054320 00051280 90 1D 00 6C */ stw r0, 0x6c(r29) +/* 80054324 00051284 7C A0 1B 78 */ or r0, r5, r3 +/* 80054328 00051288 7F E3 FB 78 */ mr r3, r31 +/* 8005432C 0005128C 90 1D 00 68 */ stw r0, 0x68(r29) +/* 80054330 00051290 4B FF 8C C1 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity +/* 80054334 00051294 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80054338 00051298 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005433C 0005129C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80054340 000512A0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80054344 000512A4 7C 08 03 A6 */ mtlr r0 +/* 80054348 000512A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005434C 000512AC 4E 80 00 20 */ blr + +.global AddMaterial__6CActorF14EMaterialTypesR13CStateManager +AddMaterial__6CActorF14EMaterialTypesR13CStateManager: +/* 80054350 000512B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80054354 000512B4 7C 08 02 A6 */ mflr r0 +/* 80054358 000512B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005435C 000512BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80054360 000512C0 7C BF 2B 78 */ mr r31, r5 +/* 80054364 000512C4 7C 85 23 78 */ mr r5, r4 +/* 80054368 000512C8 38 80 00 01 */ li r4, 1 +/* 8005436C 000512CC 93 C1 00 08 */ stw r30, 8(r1) +/* 80054370 000512D0 7C 7E 1B 78 */ mr r30, r3 +/* 80054374 000512D4 38 60 00 00 */ li r3, 0 +/* 80054378 000512D8 48 33 5B 7D */ bl __shl2i +/* 8005437C 000512DC 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80054380 000512E0 80 BE 00 68 */ lwz r5, 0x68(r30) +/* 80054384 000512E4 7C 00 23 78 */ or r0, r0, r4 +/* 80054388 000512E8 7F C4 F3 78 */ mr r4, r30 +/* 8005438C 000512EC 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80054390 000512F0 7C A0 1B 78 */ or r0, r5, r3 +/* 80054394 000512F4 7F E3 FB 78 */ mr r3, r31 +/* 80054398 000512F8 90 1E 00 68 */ stw r0, 0x68(r30) +/* 8005439C 000512FC 4B FF 8C 55 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity +/* 800543A0 00051300 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800543A4 00051304 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800543A8 00051308 83 C1 00 08 */ lwz r30, 8(r1) +/* 800543AC 0005130C 7C 08 03 A6 */ mtlr r0 +/* 800543B0 00051310 38 21 00 10 */ addi r1, r1, 0x10 +/* 800543B4 00051314 4E 80 00 20 */ blr + +.global SetCallTouch__6CActorFb +SetCallTouch__6CActorFb: +/* 800543B8 00051318 88 03 00 E5 */ lbz r0, 0xe5(r3) +/* 800543BC 0005131C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 800543C0 00051320 98 03 00 E5 */ stb r0, 0xe5(r3) +/* 800543C4 00051324 4E 80 00 20 */ blr + +.global GetCallTouch__6CActorCFv +GetCallTouch__6CActorCFv: +/* 800543C8 00051328 88 03 00 E5 */ lbz r0, 0xe5(r3) +/* 800543CC 0005132C 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 800543D0 00051330 7C 03 00 D0 */ neg r0, r3 +/* 800543D4 00051334 7C 00 1B 78 */ or r0, r0, r3 +/* 800543D8 00051338 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800543DC 0005133C 4E 80 00 20 */ blr + +.global SetUseInSortedLists__6CActorFb +SetUseInSortedLists__6CActorFb: +/* 800543E0 00051340 88 03 00 E5 */ lbz r0, 0xe5(r3) +/* 800543E4 00051344 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 800543E8 00051348 98 03 00 E5 */ stb r0, 0xe5(r3) +/* 800543EC 0005134C 4E 80 00 20 */ blr + +.global GetUseInSortedLists__6CActorCFv +GetUseInSortedLists__6CActorCFv: +/* 800543F0 00051350 88 03 00 E5 */ lbz r0, 0xe5(r3) +/* 800543F4 00051354 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 800543F8 00051358 7C 03 00 D0 */ neg r0, r3 +/* 800543FC 0005135C 7C 00 1B 78 */ or r0, r0, r3 +/* 80054400 00051360 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80054404 00051364 4E 80 00 20 */ blr + +.global Touch__6CActorFR6CActorR13CStateManager +Touch__6CActorFR6CActorR13CStateManager: +/* 80054408 00051368 4E 80 00 20 */ blr + +.global GetTouchBounds__6CActorCFv +GetTouchBounds__6CActorCFv: +/* 8005440C 0005136C 38 00 00 00 */ li r0, 0 +/* 80054410 00051370 98 03 00 18 */ stb r0, 0x18(r3) +/* 80054414 00051374 4E 80 00 20 */ blr + +.global GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo +GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo: +/* 80054418 00051378 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005441C 0005137C 7C 08 02 A6 */ mflr r0 +/* 80054420 00051380 90 01 00 14 */ stw r0, 0x14(r1) +/* 80054424 00051384 81 83 00 00 */ lwz r12, 0(r3) +/* 80054428 00051388 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8005442C 0005138C 7D 89 03 A6 */ mtctr r12 +/* 80054430 00051390 4E 80 04 21 */ bctrl +/* 80054434 00051394 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80054438 00051398 7C 08 03 A6 */ mtlr r0 +/* 8005443C 0005139C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80054440 000513A0 4E 80 00 20 */ blr + +.global GetDamageVulnerability__6CActorCFv +GetDamageVulnerability__6CActorCFv: +/* 80054444 000513A4 3C 60 80 57 */ lis r3, lbl_8056D578@ha +/* 80054448 000513A8 38 63 D5 78 */ addi r3, r3, lbl_8056D578@l +/* 8005444C 000513AC 4E 80 00 20 */ blr + +.global HealthInfo__6CActorFR13CStateManager +HealthInfo__6CActorFR13CStateManager: +/* 80054450 000513B0 38 60 00 00 */ li r3, 0 +/* 80054454 000513B4 4E 80 00 20 */ blr + +.global GetPitch__6CActorCFv +GetPitch__6CActorCFv: +/* 80054458 000513B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005445C 000513BC 7C 08 02 A6 */ mflr r0 +/* 80054460 000513C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80054464 000513C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80054468 000513C8 7C 7F 1B 78 */ mr r31, r3 +/* 8005446C 000513CC C0 23 00 48 */ lfs f1, 0x48(r3) +/* 80054470 000513D0 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 80054474 000513D4 EC 21 00 72 */ fmuls f1, f1, f1 +/* 80054478 000513D8 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8005447C 000513DC EC 21 00 2A */ fadds f1, f1, f0 +/* 80054480 000513E0 48 2C 10 81 */ bl SqrtF__5CMathFf +/* 80054484 000513E4 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 80054488 000513E8 FC 40 08 90 */ fmr f2, f1 +/* 8005448C 000513EC FC 20 00 50 */ fneg f1, f0 +/* 80054490 000513F0 48 34 07 DD */ bl atan2 +/* 80054494 000513F4 FC 00 08 50 */ fneg f0, f1 +/* 80054498 000513F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005449C 000513FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800544A0 00051400 FC 20 00 18 */ frsp f1, f0 +/* 800544A4 00051404 7C 08 03 A6 */ mtlr r0 +/* 800544A8 00051408 38 21 00 10 */ addi r1, r1, 0x10 +/* 800544AC 0005140C 4E 80 00 20 */ blr + +.global GetYaw__6CActorCFv +GetYaw__6CActorCFv: +/* 800544B0 00051410 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800544B4 00051414 7C 08 02 A6 */ mflr r0 +/* 800544B8 00051418 C8 22 86 48 */ lfd f1, lbl_805AA368@sda21(r2) +/* 800544BC 0005141C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800544C0 00051420 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 800544C4 00051424 C0 43 00 48 */ lfs f2, 0x48(r3) +/* 800544C8 00051428 EC 00 00 32 */ fmuls f0, f0, f0 +/* 800544CC 0005142C EC 82 00 BA */ fmadds f4, f2, f2, f0 +/* 800544D0 00051430 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 800544D4 00051434 40 81 00 58 */ ble lbl_8005452C +/* 800544D8 00051438 FC 20 20 34 */ frsqrte f1, f4 +/* 800544DC 0005143C C8 62 86 50 */ lfd f3, lbl_805AA370@sda21(r2) +/* 800544E0 00051440 C8 42 86 58 */ lfd f2, lbl_805AA378@sda21(r2) +/* 800544E4 00051444 FC 01 00 72 */ fmul f0, f1, f1 +/* 800544E8 00051448 FC 23 00 72 */ fmul f1, f3, f1 +/* 800544EC 0005144C FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 800544F0 00051450 FC 21 00 32 */ fmul f1, f1, f0 +/* 800544F4 00051454 FC 01 00 72 */ fmul f0, f1, f1 +/* 800544F8 00051458 FC 23 00 72 */ fmul f1, f3, f1 +/* 800544FC 0005145C FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80054500 00051460 FC 21 00 32 */ fmul f1, f1, f0 +/* 80054504 00051464 FC 01 00 72 */ fmul f0, f1, f1 +/* 80054508 00051468 FC 23 00 72 */ fmul f1, f3, f1 +/* 8005450C 0005146C FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80054510 00051470 FC 21 00 32 */ fmul f1, f1, f0 +/* 80054514 00051474 FC 01 00 72 */ fmul f0, f1, f1 +/* 80054518 00051478 FC 23 00 72 */ fmul f1, f3, f1 +/* 8005451C 0005147C FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80054520 00051480 FC 01 00 32 */ fmul f0, f1, f0 +/* 80054524 00051484 FC 24 00 32 */ fmul f1, f4, f0 +/* 80054528 00051488 48 00 00 2C */ b lbl_80054554 +lbl_8005452C: +/* 8005452C 0005148C FC 01 20 00 */ fcmpu cr0, f1, f4 +/* 80054530 00051490 40 82 00 08 */ bne lbl_80054538 +/* 80054534 00051494 48 00 00 20 */ b lbl_80054554 +lbl_80054538: +/* 80054538 00051498 FC 04 08 00 */ fcmpu cr0, f4, f1 +/* 8005453C 0005149C 41 82 00 10 */ beq lbl_8005454C +/* 80054540 000514A0 3C 80 80 5B */ lis r4, lbl_805A8BA0@ha +/* 80054544 000514A4 C0 24 8B A0 */ lfs f1, lbl_805A8BA0@l(r4) +/* 80054548 000514A8 48 00 00 0C */ b lbl_80054554 +lbl_8005454C: +/* 8005454C 000514AC 3C 80 80 5B */ lis r4, lbl_805A8BA4@ha +/* 80054550 000514B0 C0 24 8B A4 */ lfs f1, lbl_805A8BA4@l(r4) +lbl_80054554: +/* 80054554 000514B4 FC 20 08 18 */ frsp f1, f1 +/* 80054558 000514B8 C0 02 86 60 */ lfs f0, lbl_805AA380@sda21(r2) +/* 8005455C 000514BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80054560 000514C0 40 81 00 1C */ ble lbl_8005457C +/* 80054564 000514C4 C0 23 00 38 */ lfs f1, 0x38(r3) +/* 80054568 000514C8 C0 43 00 48 */ lfs f2, 0x48(r3) +/* 8005456C 000514CC 48 34 07 01 */ bl atan2 +/* 80054570 000514D0 FC 00 08 50 */ fneg f0, f1 +/* 80054574 000514D4 FC 20 00 18 */ frsp f1, f0 +/* 80054578 000514D8 48 00 00 08 */ b lbl_80054580 +lbl_8005457C: +/* 8005457C 000514DC C0 22 86 3C */ lfs f1, lbl_805AA35C@sda21(r2) +lbl_80054580: +/* 80054580 000514E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80054584 000514E4 7C 08 03 A6 */ mtlr r0 +/* 80054588 000514E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005458C 000514EC 4E 80 00 20 */ blr + +.global RenderInternal__6CActorCFRC13CStateManager +RenderInternal__6CActorCFRC13CStateManager: +/* 80054590 000514F0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80054594 000514F4 7C 08 02 A6 */ mflr r0 +/* 80054598 000514F8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8005459C 000514FC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 800545A0 00051500 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 800545A4 00051504 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 800545A8 00051508 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 800545AC 0005150C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800545B0 00051510 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800545B4 00051514 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800545B8 00051518 7C 9D 23 78 */ mr r29, r4 +/* 800545BC 0005151C 7C 7F 1B 78 */ mr r31, r3 +/* 800545C0 00051520 7F A3 EB 78 */ mr r3, r29 +/* 800545C4 00051524 48 0C 09 19 */ bl GetRenderingModel__10CModelDataFRC13CStateManager +/* 800545C8 00051528 7C 7E 1B 78 */ mr r30, r3 +/* 800545CC 0005152C 2C 1E 00 03 */ cmpwi r30, 3 +/* 800545D0 00051530 40 82 01 90 */ bne lbl_80054760 +/* 800545D4 00051534 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800545D8 00051538 88 03 00 14 */ lbz r0, 0x14(r3) +/* 800545DC 0005153C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800545E0 00051540 41 82 00 B0 */ beq lbl_80054690 +/* 800545E4 00051544 E0 3F A0 BB */ psq_l f1, 187(r31), 1, qr2 +/* 800545E8 00051548 C0 02 86 64 */ lfs f0, lbl_805AA384@sda21(r2) +/* 800545EC 0005154C C0 9F 00 D0 */ lfs f4, 0xd0(r31) +/* 800545F0 00051550 C0 42 86 30 */ lfs f2, lbl_805AA350@sda21(r2) +/* 800545F4 00051554 EC 60 00 72 */ fmuls f3, f0, f1 +/* 800545F8 00051558 FC 04 10 40 */ fcmpo cr0, f4, f2 +/* 800545FC 0005155C 4C 40 13 82 */ cror 2, 0, 2 +/* 80054600 00051560 40 82 00 10 */ bne lbl_80054610 +/* 80054604 00051564 FC 40 20 90 */ fmr f2, f4 +/* 80054608 00051568 39 20 00 00 */ li r9, 0 +/* 8005460C 0005156C 48 00 00 2C */ b lbl_80054638 +lbl_80054610: +/* 80054610 00051570 C0 02 86 68 */ lfs f0, lbl_805AA388@sda21(r2) +/* 80054614 00051574 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80054618 00051578 40 80 00 1C */ bge lbl_80054634 +/* 8005461C 0005157C EC 04 10 28 */ fsubs f0, f4, f2 +/* 80054620 00051580 C0 22 86 6C */ lfs f1, lbl_805AA38C@sda21(r2) +/* 80054624 00051584 EF E1 00 32 */ fmuls f31, f1, f0 +/* 80054628 00051588 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 +/* 8005462C 0005158C 89 21 00 0A */ lbz r9, 0xa(r1) +/* 80054630 00051590 48 00 00 08 */ b lbl_80054638 +lbl_80054634: +/* 80054634 00051594 39 20 00 FF */ li r9, 0xff +lbl_80054638: +/* 80054638 00051598 C0 02 86 6C */ lfs f0, lbl_805AA38C@sda21(r2) +/* 8005463C 0005159C EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80054640 000515A0 EF C0 00 F2 */ fmuls f30, f0, f3 +/* 80054644 000515A4 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 80054648 000515A8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8005464C 000515AC 88 7F 00 BB */ lbz r3, 0xbb(r31) +/* 80054650 000515B0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80054654 000515B4 89 01 00 09 */ lbz r8, 9(r1) +/* 80054658 000515B8 38 C1 00 1C */ addi r6, r1, 0x1c +/* 8005465C 000515BC 54 60 F6 BE */ rlwinm r0, r3, 0x1e, 0x1a, 0x1f +/* 80054660 000515C0 98 61 00 23 */ stb r3, 0x23(r1) +/* 80054664 000515C4 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80054668 000515C8 38 FF 00 B4 */ addi r7, r31, 0xb4 +/* 8005466C 000515CC 99 01 00 20 */ stb r8, 0x20(r1) +/* 80054670 000515D0 99 01 00 21 */ stb r8, 0x21(r1) +/* 80054674 000515D4 99 01 00 22 */ stb r8, 0x22(r1) +/* 80054678 000515D8 99 21 00 1C */ stb r9, 0x1c(r1) +/* 8005467C 000515DC 99 21 00 1D */ stb r9, 0x1d(r1) +/* 80054680 000515E0 99 21 00 1E */ stb r9, 0x1e(r1) +/* 80054684 000515E4 98 01 00 1F */ stb r0, 0x1f(r1) +/* 80054688 000515E8 48 0C 1C 19 */ bl RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags +/* 8005468C 000515EC 48 00 00 EC */ b lbl_80054778 +lbl_80054690: +/* 80054690 000515F0 C0 3D 0F 28 */ lfs f1, 0xf28(r29) +/* 80054694 000515F4 C0 02 86 70 */ lfs f0, lbl_805AA390@sda21(r2) +/* 80054698 000515F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005469C 000515FC 40 81 00 C4 */ ble lbl_80054760 +/* 800546A0 00051600 88 1F 00 B4 */ lbz r0, 0xb4(r31) +/* 800546A4 00051604 7C 00 07 75 */ extsb. r0, r0 +/* 800546A8 00051608 40 82 00 B8 */ bne lbl_80054760 +/* 800546AC 0005160C C0 1D 0F 24 */ lfs f0, 0xf24(r29) +/* 800546B0 00051610 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800546B4 00051614 EC 01 00 2A */ fadds f0, f1, f0 +/* 800546B8 00051618 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800546BC 0005161C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800546C0 00051620 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800546C4 00051624 40 80 00 0C */ bge lbl_800546D0 +/* 800546C8 00051628 38 61 00 10 */ addi r3, r1, 0x10 +/* 800546CC 0005162C 48 00 00 08 */ b lbl_800546D4 +lbl_800546D0: +/* 800546D0 00051630 38 61 00 14 */ addi r3, r1, 0x14 +lbl_800546D4: +/* 800546D4 00051634 C0 22 86 6C */ lfs f1, lbl_805AA38C@sda21(r2) +/* 800546D8 00051638 38 81 00 0C */ addi r4, r1, 0xc +/* 800546DC 0005163C C0 03 00 00 */ lfs f0, 0(r3) +/* 800546E0 00051640 38 6D 82 B0 */ addi r3, r13, lbl_805A6E70@sda21 +/* 800546E4 00051644 38 AD 82 B4 */ addi r5, r13, lbl_805A6E74@sda21 +/* 800546E8 00051648 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800546EC 0005164C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800546F0 00051650 4B FB 7B C5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800546F4 00051654 C3 C3 00 00 */ lfs f30, 0(r3) +/* 800546F8 00051658 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 800546FC 0005165C 39 60 00 FF */ li r11, 0xff +/* 80054700 00051660 88 7F 00 B4 */ lbz r3, 0xb4(r31) +/* 80054704 00051664 39 00 00 02 */ li r8, 2 +/* 80054708 00051668 88 C1 00 08 */ lbz r6, 8(r1) +/* 8005470C 0005166C 7F C4 F3 78 */ mr r4, r30 +/* 80054710 00051670 80 1F 00 B8 */ lwz r0, 0xb8(r31) +/* 80054714 00051674 38 BF 00 34 */ addi r5, r31, 0x34 +/* 80054718 00051678 98 C1 00 18 */ stb r6, 0x18(r1) +/* 8005471C 0005167C 38 E1 00 24 */ addi r7, r1, 0x24 +/* 80054720 00051680 89 5F 00 B5 */ lbz r10, 0xb5(r31) +/* 80054724 00051684 98 61 00 24 */ stb r3, 0x24(r1) +/* 80054728 00051688 A1 3F 00 B6 */ lhz r9, 0xb6(r31) +/* 8005472C 0005168C 98 C1 00 19 */ stb r6, 0x19(r1) +/* 80054730 00051690 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80054734 00051694 98 C1 00 1A */ stb r6, 0x1a(r1) +/* 80054738 00051698 80 DF 00 90 */ lwz r6, 0x90(r31) +/* 8005473C 0005169C 99 61 00 1B */ stb r11, 0x1b(r1) +/* 80054740 000516A0 90 01 00 28 */ stw r0, 0x28(r1) +/* 80054744 000516A4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80054748 000516A8 99 41 00 25 */ stb r10, 0x25(r1) +/* 8005474C 000516AC B1 21 00 26 */ sth r9, 0x26(r1) +/* 80054750 000516B0 99 01 00 24 */ stb r8, 0x24(r1) +/* 80054754 000516B4 90 01 00 28 */ stw r0, 0x28(r1) +/* 80054758 000516B8 48 0C 21 1D */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 8005475C 000516BC 48 00 00 1C */ b lbl_80054778 +lbl_80054760: +/* 80054760 000516C0 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80054764 000516C4 7F C4 F3 78 */ mr r4, r30 +/* 80054768 000516C8 80 DF 00 90 */ lwz r6, 0x90(r31) +/* 8005476C 000516CC 38 BF 00 34 */ addi r5, r31, 0x34 +/* 80054770 000516D0 38 FF 00 B4 */ addi r7, r31, 0xb4 +/* 80054774 000516D4 48 0C 21 01 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_80054778: +/* 80054778 000516D8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8005477C 000516DC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80054780 000516E0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80054784 000516E4 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80054788 000516E8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8005478C 000516EC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80054790 000516F0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80054794 000516F4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80054798 000516F8 7C 08 03 A6 */ mtlr r0 +/* 8005479C 000516FC 38 21 00 60 */ addi r1, r1, 0x60 +/* 800547A0 00051700 4E 80 00 20 */ blr + +.global Render__6CActorCFRC13CStateManager +Render__6CActorCFRC13CStateManager: +/* 800547A4 00051704 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800547A8 00051708 7C 08 02 A6 */ mflr r0 +/* 800547AC 0005170C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800547B0 00051710 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800547B4 00051714 7C 9F 23 78 */ mr r31, r4 +/* 800547B8 00051718 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800547BC 0005171C 7C 7E 1B 78 */ mr r30, r3 +/* 800547C0 00051720 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800547C4 00051724 80 83 00 64 */ lwz r4, 0x64(r3) +/* 800547C8 00051728 28 04 00 00 */ cmplwi r4, 0 +/* 800547CC 0005172C 41 82 01 44 */ beq lbl_80054910 +/* 800547D0 00051730 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 800547D4 00051734 38 60 00 00 */ li r3, 0 +/* 800547D8 00051738 28 05 00 00 */ cmplwi r5, 0 +/* 800547DC 0005173C 40 82 00 14 */ bne lbl_800547F0 +/* 800547E0 00051740 88 04 00 28 */ lbz r0, 0x28(r4) +/* 800547E4 00051744 28 00 00 00 */ cmplwi r0, 0 +/* 800547E8 00051748 40 82 00 08 */ bne lbl_800547F0 +/* 800547EC 0005174C 38 60 00 01 */ li r3, 1 +lbl_800547F0: +/* 800547F0 00051750 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800547F4 00051754 40 82 01 1C */ bne lbl_80054910 +/* 800547F8 00051758 88 1E 00 E6 */ lbz r0, 0xe6(r30) +/* 800547FC 0005175C 3B A0 00 00 */ li r29, 0 +/* 80054800 00051760 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80054804 00051764 41 82 00 18 */ beq lbl_8005481C +/* 80054808 00051768 28 04 00 00 */ cmplwi r4, 0 +/* 8005480C 0005176C 41 82 00 10 */ beq lbl_8005481C +/* 80054810 00051770 28 05 00 00 */ cmplwi r5, 0 +/* 80054814 00051774 41 82 00 08 */ beq lbl_8005481C +/* 80054818 00051778 3B A0 00 01 */ li r29, 1 +lbl_8005481C: +/* 8005481C 0005177C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80054820 00051780 41 82 00 0C */ beq lbl_8005482C +/* 80054824 00051784 38 65 01 20 */ addi r3, r5, 0x120 +/* 80054828 00051788 48 06 37 8D */ bl RenderSystemsToBeDrawnFirst__17CParticleDatabaseCFv +lbl_8005482C: +/* 8005482C 0005178C 88 1E 00 E7 */ lbz r0, 0xe7(r30) +/* 80054830 00051790 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80054834 00051794 41 82 00 C4 */ beq lbl_800548F8 +/* 80054838 00051798 88 1E 00 E5 */ lbz r0, 0xe5(r30) +/* 8005483C 0005179C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80054840 000517A0 41 82 00 10 */ beq lbl_80054850 +/* 80054844 000517A4 7F E3 FB 78 */ mr r3, r31 +/* 80054848 000517A8 7F C4 F3 78 */ mr r4, r30 +/* 8005484C 000517AC 4B FF 08 3D */ bl SetupParticleHook__13CStateManagerCFRC6CActor +lbl_80054850: +/* 80054850 000517B0 88 1E 00 E5 */ lbz r0, 0xe5(r30) +/* 80054854 000517B4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80054858 000517B8 41 82 00 14 */ beq lbl_8005486C +/* 8005485C 000517BC 7F C3 F3 78 */ mr r3, r30 +/* 80054860 000517C0 7F E4 FB 78 */ mr r4, r31 +/* 80054864 000517C4 4B FF FD 2D */ bl RenderInternal__6CActorCFRC13CStateManager +/* 80054868 000517C8 48 00 00 70 */ b lbl_800548D8 +lbl_8005486C: +/* 8005486C 000517CC 48 2B 56 75 */ bl GetSecondsMod900__9CGraphicsFv +/* 80054870 000517D0 C0 1E 00 BC */ lfs f0, 0xbc(r30) +/* 80054874 000517D4 3C 00 43 30 */ lis r0, 0x4330 +/* 80054878 000517D8 C0 62 86 74 */ lfs f3, lbl_805AA394@sda21(r2) +/* 8005487C 000517DC 38 61 00 0C */ addi r3, r1, 0xc +/* 80054880 000517E0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80054884 000517E4 90 01 00 20 */ stw r0, 0x20(r1) +/* 80054888 000517E8 C8 42 86 80 */ lfd f2, lbl_805AA3A0@sda21(r2) +/* 8005488C 000517EC 38 81 00 08 */ addi r4, r1, 8 +/* 80054890 000517F0 C0 02 86 78 */ lfs f0, lbl_805AA398@sda21(r2) +/* 80054894 000517F4 EC 24 00 F2 */ fmuls f1, f4, f3 +/* 80054898 000517F8 FC 20 08 1E */ fctiwz f1, f1 +/* 8005489C 000517FC D8 21 00 18 */ stfd f1, 0x18(r1) +/* 800548A0 00051800 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800548A4 00051804 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800548A8 00051808 90 01 00 24 */ stw r0, 0x24(r1) +/* 800548AC 0005180C C8 21 00 20 */ lfd f1, 0x20(r1) +/* 800548B0 00051810 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800548B4 00051814 EC 01 20 3C */ fnmsubs f0, f1, f0, f4 +/* 800548B8 00051818 D0 01 00 08 */ stfs f0, 8(r1) +/* 800548BC 0005181C 48 30 3A 19 */ bl __ct__13CTimeProviderFRCf +/* 800548C0 00051820 7F C3 F3 78 */ mr r3, r30 +/* 800548C4 00051824 7F E4 FB 78 */ mr r4, r31 +/* 800548C8 00051828 4B FF FC C9 */ bl RenderInternal__6CActorCFRC13CStateManager +/* 800548CC 0005182C 38 61 00 0C */ addi r3, r1, 0xc +/* 800548D0 00051830 38 80 FF FF */ li r4, -1 +/* 800548D4 00051834 48 30 39 89 */ bl __dt__13CTimeProviderFv +lbl_800548D8: +/* 800548D8 00051838 88 1E 00 E5 */ lbz r0, 0xe5(r30) +/* 800548DC 0005183C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800548E0 00051840 41 82 00 18 */ beq lbl_800548F8 +/* 800548E4 00051844 48 2F DE 25 */ bl ClearPointGeneratorFunc__13CSkinnedModelFv +/* 800548E8 00051848 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 800548EC 0005184C 7F E4 FB 78 */ mr r4, r31 +/* 800548F0 00051850 7F C5 F3 78 */ mr r5, r30 +/* 800548F4 00051854 48 18 F5 31 */ bl Render__20CActorModelParticlesCFRC6CActor +lbl_800548F8: +/* 800548F8 00051858 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 800548FC 0005185C 41 82 00 14 */ beq lbl_80054910 +/* 80054900 00051860 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80054904 00051864 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80054908 00051868 38 63 01 20 */ addi r3, r3, 0x120 +/* 8005490C 0005186C 48 06 36 19 */ bl RenderSystemsToBeDrawnLast__17CParticleDatabaseCFv +lbl_80054910: +/* 80054910 00051870 7F C3 F3 78 */ mr r3, r30 +/* 80054914 00051874 48 00 00 B5 */ bl DrawTouchBounds__6CActorCFv +/* 80054918 00051878 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8005491C 0005187C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80054920 00051880 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80054924 00051884 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80054928 00051888 7C 08 03 A6 */ mtlr r0 +/* 8005492C 0005188C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80054930 00051890 4E 80 00 20 */ blr + +.global CanRenderUnsorted__6CActorCFRC13CStateManager +CanRenderUnsorted__6CActorCFRC13CStateManager: +/* 80054934 00051894 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80054938 00051898 7C 08 02 A6 */ mflr r0 +/* 8005493C 0005189C 38 A0 00 00 */ li r5, 0 +/* 80054940 000518A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80054944 000518A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80054948 000518A8 80 C3 00 64 */ lwz r6, 0x64(r3) +/* 8005494C 000518AC 28 06 00 00 */ cmplwi r6, 0 +/* 80054950 000518B0 41 82 00 14 */ beq lbl_80054964 +/* 80054954 000518B4 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80054958 000518B8 28 00 00 00 */ cmplwi r0, 0 +/* 8005495C 000518BC 41 82 00 08 */ beq lbl_80054964 +/* 80054960 000518C0 38 A0 00 01 */ li r5, 1 +lbl_80054964: +/* 80054964 000518C4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80054968 000518C8 41 82 00 28 */ beq lbl_80054990 +/* 8005496C 000518CC 80 A6 00 10 */ lwz r5, 0x10(r6) +/* 80054970 000518D0 88 05 01 D4 */ lbz r0, 0x1d4(r5) +/* 80054974 000518D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80054978 000518D8 41 82 00 18 */ beq lbl_80054990 +/* 8005497C 000518DC 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80054980 000518E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80054984 000518E4 41 82 00 0C */ beq lbl_80054990 +/* 80054988 000518E8 38 60 00 00 */ li r3, 0 +/* 8005498C 000518EC 48 00 00 28 */ b lbl_800549B4 +lbl_80054990: +/* 80054990 000518F0 88 03 00 E5 */ lbz r0, 0xe5(r3) +/* 80054994 000518F4 3B E0 00 00 */ li r31, 0 +/* 80054998 000518F8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8005499C 000518FC 40 82 00 10 */ bne lbl_800549AC +/* 800549A0 00051900 4B FF F0 49 */ bl IsModelOpaque__6CActorCFRC13CStateManager +/* 800549A4 00051904 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800549A8 00051908 41 82 00 08 */ beq lbl_800549B0 +lbl_800549AC: +/* 800549AC 0005190C 3B E0 00 01 */ li r31, 1 +lbl_800549B0: +/* 800549B0 00051910 7F E3 FB 78 */ mr r3, r31 +lbl_800549B4: +/* 800549B4 00051914 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800549B8 00051918 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800549BC 0005191C 7C 08 03 A6 */ mtlr r0 +/* 800549C0 00051920 38 21 00 10 */ addi r1, r1, 0x10 +/* 800549C4 00051924 4E 80 00 20 */ blr + +.global DrawTouchBounds__6CActorCFv +DrawTouchBounds__6CActorCFv: +/* 800549C8 00051928 4E 80 00 20 */ blr + +.global EnsureRendered__6CActorCFRC13CStateManager +EnsureRendered__6CActorCFRC13CStateManager: +/* 800549CC 0005192C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800549D0 00051930 7C 08 02 A6 */ mflr r0 +/* 800549D4 00051934 90 01 00 74 */ stw r0, 0x74(r1) +/* 800549D8 00051938 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800549DC 0005193C 7C 9F 23 78 */ mr r31, r4 +/* 800549E0 00051940 7F E5 FB 78 */ mr r5, r31 +/* 800549E4 00051944 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800549E8 00051948 7C 7E 1B 78 */ mr r30, r3 +/* 800549EC 0005194C 7F C4 F3 78 */ mr r4, r30 +/* 800549F0 00051950 38 61 00 2C */ addi r3, r1, 0x2c +/* 800549F4 00051954 81 9E 00 00 */ lwz r12, 0(r30) +/* 800549F8 00051958 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800549FC 0005195C 7D 89 03 A6 */ mtctr r12 +/* 80054A00 00051960 4E 80 04 21 */ bctrl +/* 80054A04 00051964 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 80054A08 00051968 C1 01 00 2C */ lfs f8, 0x2c(r1) +/* 80054A0C 0005196C 38 C3 61 D4 */ addi r6, r3, lbl_805A61D4@l +/* 80054A10 00051970 C0 E1 00 30 */ lfs f7, 0x30(r1) +/* 80054A14 00051974 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 80054A18 00051978 38 61 00 08 */ addi r3, r1, 8 +/* 80054A1C 0005197C C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 80054A20 00051980 38 81 00 44 */ addi r4, r1, 0x44 +/* 80054A24 00051984 C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 80054A28 00051988 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80054A2C 0005198C C0 61 00 40 */ lfs f3, 0x40(r1) +/* 80054A30 00051990 C0 46 00 04 */ lfs f2, 4(r6) +/* 80054A34 00051994 C0 26 00 14 */ lfs f1, 0x14(r6) +/* 80054A38 00051998 C0 06 00 24 */ lfs f0, 0x24(r6) +/* 80054A3C 0005199C D1 01 00 44 */ stfs f8, 0x44(r1) +/* 80054A40 000519A0 D0 E1 00 48 */ stfs f7, 0x48(r1) +/* 80054A44 000519A4 D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 80054A48 000519A8 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 80054A4C 000519AC D0 81 00 54 */ stfs f4, 0x54(r1) +/* 80054A50 000519B0 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80054A54 000519B4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80054A58 000519B8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80054A5C 000519BC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80054A60 000519C0 48 2E 27 7D */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 80054A64 000519C4 C0 41 00 08 */ lfs f2, 8(r1) +/* 80054A68 000519C8 7F C3 F3 78 */ mr r3, r30 +/* 80054A6C 000519CC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80054A70 000519D0 7F E4 FB 78 */ mr r4, r31 +/* 80054A74 000519D4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80054A78 000519D8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80054A7C 000519DC D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80054A80 000519E0 38 C1 00 44 */ addi r6, r1, 0x44 +/* 80054A84 000519E4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80054A88 000519E8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80054A8C 000519EC 48 00 00 1D */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f +/* 80054A90 000519F0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80054A94 000519F4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80054A98 000519F8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80054A9C 000519FC 7C 08 03 A6 */ mtlr r0 +/* 80054AA0 00051A00 38 21 00 70 */ addi r1, r1, 0x70 +/* 80054AA4 00051A04 4E 80 00 20 */ blr + +.global EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f +EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f: +/* 80054AA8 00051A08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80054AAC 00051A0C 7C 08 02 A6 */ mflr r0 +/* 80054AB0 00051A10 90 01 00 24 */ stw r0, 0x24(r1) +/* 80054AB4 00051A14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80054AB8 00051A18 7C DF 33 78 */ mr r31, r6 +/* 80054ABC 00051A1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80054AC0 00051A20 7C BE 2B 78 */ mr r30, r5 +/* 80054AC4 00051A24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80054AC8 00051A28 7C 9D 23 78 */ mr r29, r4 +/* 80054ACC 00051A2C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80054AD0 00051A30 7C 7C 1B 78 */ mr r28, r3 +/* 80054AD4 00051A34 80 03 00 64 */ lwz r0, 0x64(r3) +/* 80054AD8 00051A38 28 00 00 00 */ cmplwi r0, 0 +/* 80054ADC 00051A3C 41 82 00 28 */ beq lbl_80054B04 +/* 80054AE0 00051A40 7F A3 EB 78 */ mr r3, r29 +/* 80054AE4 00051A44 48 0C 03 F9 */ bl GetRenderingModel__10CModelDataFRC13CStateManager +/* 80054AE8 00051A48 7C 60 1B 78 */ mr r0, r3 +/* 80054AEC 00051A4C 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80054AF0 00051A50 80 DC 00 90 */ lwz r6, 0x90(r28) +/* 80054AF4 00051A54 7C 04 03 78 */ mr r4, r0 +/* 80054AF8 00051A58 38 BC 00 34 */ addi r5, r28, 0x34 +/* 80054AFC 00051A5C 38 FC 00 B4 */ addi r7, r28, 0xb4 +/* 80054B00 00051A60 48 0C 1C 2D */ bl RenderUnsortedParts__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_80054B04: +/* 80054B04 00051A64 7F A3 EB 78 */ mr r3, r29 +/* 80054B08 00051A68 7F 84 E3 78 */ mr r4, r28 +/* 80054B0C 00051A6C 7F C5 F3 78 */ mr r5, r30 +/* 80054B10 00051A70 7F E6 FB 78 */ mr r6, r31 +/* 80054B14 00051A74 4B FE FE 5D */ bl AddDrawableActor__13CStateManagerCFRC6CActorRC9CVector3fRC6CAABox +/* 80054B18 00051A78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80054B1C 00051A7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80054B20 00051A80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80054B24 00051A84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80054B28 00051A88 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80054B2C 00051A8C 7C 08 03 A6 */ mtlr r0 +/* 80054B30 00051A90 38 21 00 20 */ addi r1, r1, 0x20 +/* 80054B34 00051A94 4E 80 00 20 */ blr + +.global AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager: +/* 80054B38 00051A98 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80054B3C 00051A9C 7C 08 02 A6 */ mflr r0 +/* 80054B40 00051AA0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80054B44 00051AA4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80054B48 00051AA8 7C 9F 23 78 */ mr r31, r4 +/* 80054B4C 00051AAC 38 80 00 00 */ li r4, 0 +/* 80054B50 00051AB0 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80054B54 00051AB4 7C 7E 1B 78 */ mr r30, r3 +/* 80054B58 00051AB8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80054B5C 00051ABC 7C BD 2B 78 */ mr r29, r5 +/* 80054B60 00051AC0 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80054B64 00051AC4 28 03 00 00 */ cmplwi r3, 0 +/* 80054B68 00051AC8 41 82 00 20 */ beq lbl_80054B88 +/* 80054B6C 00051ACC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80054B70 00051AD0 28 00 00 00 */ cmplwi r0, 0 +/* 80054B74 00051AD4 40 82 00 10 */ bne lbl_80054B84 +/* 80054B78 00051AD8 88 03 00 28 */ lbz r0, 0x28(r3) +/* 80054B7C 00051ADC 28 00 00 00 */ cmplwi r0, 0 +/* 80054B80 00051AE0 41 82 00 08 */ beq lbl_80054B88 +lbl_80054B84: +/* 80054B84 00051AE4 38 80 00 01 */ li r4, 1 +lbl_80054B88: +/* 80054B88 00051AE8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80054B8C 00051AEC 41 82 01 38 */ beq lbl_80054CC4 +/* 80054B90 00051AF0 88 1E 00 E6 */ lbz r0, 0xe6(r30) +/* 80054B94 00051AF4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80054B98 00051AF8 41 82 00 0C */ beq lbl_80054BA4 +/* 80054B9C 00051AFC 7F E4 FB 78 */ mr r4, r31 +/* 80054BA0 00051B00 48 0C 10 E1 */ bl RenderParticles__10CModelDataCFRC14CFrustumPlanes +lbl_80054BA4: +/* 80054BA4 00051B04 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80054BA8 00051B08 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80054BAC 00051B0C 40 82 00 4C */ bne lbl_80054BF8 +/* 80054BB0 00051B10 7F C3 F3 78 */ mr r3, r30 +/* 80054BB4 00051B14 7F A4 EB 78 */ mr r4, r29 +/* 80054BB8 00051B18 81 9E 00 00 */ lwz r12, 0(r30) +/* 80054BBC 00051B1C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80054BC0 00051B20 7D 89 03 A6 */ mtctr r12 +/* 80054BC4 00051B24 4E 80 04 21 */ bctrl +/* 80054BC8 00051B28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80054BCC 00051B2C 41 82 00 20 */ beq lbl_80054BEC +/* 80054BD0 00051B30 7F C3 F3 78 */ mr r3, r30 +/* 80054BD4 00051B34 7F A4 EB 78 */ mr r4, r29 +/* 80054BD8 00051B38 81 9E 00 00 */ lwz r12, 0(r30) +/* 80054BDC 00051B3C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80054BE0 00051B40 7D 89 03 A6 */ mtctr r12 +/* 80054BE4 00051B44 4E 80 04 21 */ bctrl +/* 80054BE8 00051B48 48 00 00 10 */ b lbl_80054BF8 +lbl_80054BEC: +/* 80054BEC 00051B4C 7F C3 F3 78 */ mr r3, r30 +/* 80054BF0 00051B50 7F A4 EB 78 */ mr r4, r29 +/* 80054BF4 00051B54 4B FF FD D9 */ bl EnsureRendered__6CActorCFRC13CStateManager +lbl_80054BF8: +/* 80054BF8 00051B58 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 80054BFC 00051B5C 7F A4 EB 78 */ mr r4, r29 +/* 80054C00 00051B60 80 63 00 00 */ lwz r3, 0(r3) +/* 80054C04 00051B64 48 03 C9 55 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80054C08 00051B68 2C 03 00 01 */ cmpwi r3, 1 +/* 80054C0C 00051B6C 41 82 00 B8 */ beq lbl_80054CC4 +/* 80054C10 00051B70 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 80054C14 00051B74 7F A4 EB 78 */ mr r4, r29 +/* 80054C18 00051B78 80 63 00 00 */ lwz r3, 0(r3) +/* 80054C1C 00051B7C 48 03 C9 3D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80054C20 00051B80 2C 03 00 03 */ cmpwi r3, 3 +/* 80054C24 00051B84 41 82 00 A0 */ beq lbl_80054CC4 +/* 80054C28 00051B88 88 1E 00 E5 */ lbz r0, 0xe5(r30) +/* 80054C2C 00051B8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80054C30 00051B90 41 82 00 94 */ beq lbl_80054CC4 +/* 80054C34 00051B94 80 7E 00 94 */ lwz r3, 0x94(r30) +/* 80054C38 00051B98 48 0B 0E C9 */ bl Valid__13CSimpleShadowCFv +/* 80054C3C 00051B9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80054C40 00051BA0 41 82 00 84 */ beq lbl_80054CC4 +/* 80054C44 00051BA4 80 9E 00 94 */ lwz r4, 0x94(r30) +/* 80054C48 00051BA8 38 61 00 2C */ addi r3, r1, 0x2c +/* 80054C4C 00051BAC 48 0B 10 29 */ bl GetBounds__13CSimpleShadowCFv +/* 80054C50 00051BB0 7F E3 FB 78 */ mr r3, r31 +/* 80054C54 00051BB4 38 81 00 2C */ addi r4, r1, 0x2c +/* 80054C58 00051BB8 48 2F 05 79 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 80054C5C 00051BBC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80054C60 00051BC0 28 00 00 01 */ cmplwi r0, 1 +/* 80054C64 00051BC4 40 82 00 60 */ bne lbl_80054CC4 +/* 80054C68 00051BC8 83 FE 00 94 */ lwz r31, 0x94(r30) +/* 80054C6C 00051BCC 7F E3 FB 78 */ mr r3, r31 +/* 80054C70 00051BD0 48 0B 10 A1 */ bl GetTransform__13CSimpleShadowCFv +/* 80054C74 00051BD4 C0 43 00 2C */ lfs f2, 0x2c(r3) +/* 80054C78 00051BD8 7F E4 FB 78 */ mr r4, r31 +/* 80054C7C 00051BDC C0 23 00 1C */ lfs f1, 0x1c(r3) +/* 80054C80 00051BE0 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80054C84 00051BE4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80054C88 00051BE8 83 DE 00 94 */ lwz r30, 0x94(r30) +/* 80054C8C 00051BEC D0 01 00 08 */ stfs f0, 8(r1) +/* 80054C90 00051BF0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80054C94 00051BF4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80054C98 00051BF8 48 0B 0F DD */ bl GetBounds__13CSimpleShadowCFv +/* 80054C9C 00051BFC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80054CA0 00051C00 7F C4 F3 78 */ mr r4, r30 +/* 80054CA4 00051C04 38 A1 00 08 */ addi r5, r1, 8 +/* 80054CA8 00051C08 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80054CAC 00051C0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80054CB0 00051C10 38 E0 00 01 */ li r7, 1 +/* 80054CB4 00051C14 39 00 00 00 */ li r8, 0 +/* 80054CB8 00051C18 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80054CBC 00051C1C 7D 89 03 A6 */ mtctr r12 +/* 80054CC0 00051C20 4E 80 04 21 */ bctrl +lbl_80054CC4: +/* 80054CC4 00051C24 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80054CC8 00051C28 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80054CCC 00051C2C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80054CD0 00051C30 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80054CD4 00051C34 7C 08 03 A6 */ mtlr r0 +/* 80054CD8 00051C38 38 21 00 60 */ addi r1, r1, 0x60 +/* 80054CDC 00051C3C 4E 80 00 20 */ blr + +.global PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes +PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes: +/* 80054CE0 00051C40 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80054CE4 00051C44 7C 08 02 A6 */ mflr r0 +/* 80054CE8 00051C48 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80054CEC 00051C4C 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 80054CF0 00051C50 7C BF 2B 78 */ mr r31, r5 +/* 80054CF4 00051C54 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 80054CF8 00051C58 7C 9E 23 78 */ mr r30, r4 +/* 80054CFC 00051C5C 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 80054D00 00051C60 7C 7D 1B 78 */ mr r29, r3 +/* 80054D04 00051C64 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 80054D08 00051C68 80 83 00 64 */ lwz r4, 0x64(r3) +/* 80054D0C 00051C6C 38 60 00 00 */ li r3, 0 +/* 80054D10 00051C70 28 04 00 00 */ cmplwi r4, 0 +/* 80054D14 00051C74 41 82 00 20 */ beq lbl_80054D34 +/* 80054D18 00051C78 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80054D1C 00051C7C 28 00 00 00 */ cmplwi r0, 0 +/* 80054D20 00051C80 40 82 00 10 */ bne lbl_80054D30 +/* 80054D24 00051C84 88 04 00 28 */ lbz r0, 0x28(r4) +/* 80054D28 00051C88 28 00 00 00 */ cmplwi r0, 0 +/* 80054D2C 00051C8C 41 82 00 08 */ beq lbl_80054D34 +lbl_80054D30: +/* 80054D30 00051C90 38 60 00 01 */ li r3, 1 +lbl_80054D34: +/* 80054D34 00051C94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80054D38 00051C98 41 82 02 D8 */ beq lbl_80055010 +/* 80054D3C 00051C9C 7F E3 FB 78 */ mr r3, r31 +/* 80054D40 00051CA0 38 9D 00 9C */ addi r4, r29, 0x9c +/* 80054D44 00051CA4 48 2F 04 8D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 80054D48 00051CA8 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 80054D4C 00051CAC 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80054D50 00051CB0 7C 63 00 34 */ cntlzw r3, r3 +/* 80054D54 00051CB4 50 60 E7 BC */ rlwimi r0, r3, 0x1c, 0x1e, 0x1e +/* 80054D58 00051CB8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80054D5C 00051CBC 88 7D 00 E4 */ lbz r3, 0xe4(r29) +/* 80054D60 00051CC0 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 80054D64 00051CC4 40 82 01 F4 */ bne lbl_80054F58 +/* 80054D68 00051CC8 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 80054D6C 00051CCC 3B E0 00 00 */ li r31, 0 +/* 80054D70 00051CD0 41 82 00 2C */ beq lbl_80054D9C +/* 80054D74 00051CD4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80054D78 00051CD8 38 60 00 00 */ li r3, 0 +/* 80054D7C 00051CDC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80054D80 00051CE0 38 60 00 01 */ li r3, 1 +/* 80054D84 00051CE4 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80054D88 00051CE8 3B E0 00 01 */ li r31, 1 +/* 80054D8C 00051CEC 88 1D 00 E5 */ lbz r0, 0xe5(r29) +/* 80054D90 00051CF0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80054D94 00051CF4 98 1D 00 E5 */ stb r0, 0xe5(r29) +/* 80054D98 00051CF8 48 00 00 38 */ b lbl_80054DD0 +lbl_80054D9C: +/* 80054D9C 00051CFC 88 1D 00 E7 */ lbz r0, 0xe7(r29) +/* 80054DA0 00051D00 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80054DA4 00051D04 41 82 00 0C */ beq lbl_80054DB0 +/* 80054DA8 00051D08 3B E0 00 01 */ li r31, 1 +/* 80054DAC 00051D0C 48 00 00 24 */ b lbl_80054DD0 +lbl_80054DB0: +/* 80054DB0 00051D10 80 7D 00 90 */ lwz r3, 0x90(r29) +/* 80054DB4 00051D14 28 03 00 00 */ cmplwi r3, 0 +/* 80054DB8 00051D18 41 82 00 18 */ beq lbl_80054DD0 +/* 80054DBC 00051D1C 88 03 02 98 */ lbz r0, 0x298(r3) +/* 80054DC0 00051D20 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 80054DC4 00051D24 28 00 00 01 */ cmplwi r0, 1 +/* 80054DC8 00051D28 40 82 00 08 */ bne lbl_80054DD0 +/* 80054DCC 00051D2C 3B E0 00 01 */ li r31, 1 +lbl_80054DD0: +/* 80054DD0 00051D30 88 1D 00 E5 */ lbz r0, 0xe5(r29) +/* 80054DD4 00051D34 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80054DD8 00051D38 41 82 00 4C */ beq lbl_80054E24 +/* 80054DDC 00051D3C 88 1D 00 E5 */ lbz r0, 0xe5(r29) +/* 80054DE0 00051D40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80054DE4 00051D44 41 82 00 40 */ beq lbl_80054E24 +/* 80054DE8 00051D48 83 9D 00 94 */ lwz r28, 0x94(r29) +/* 80054DEC 00051D4C 28 1C 00 00 */ cmplwi r28, 0 +/* 80054DF0 00051D50 41 82 00 34 */ beq lbl_80054E24 +/* 80054DF4 00051D54 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80054DF8 00051D58 38 61 00 78 */ addi r3, r1, 0x78 +/* 80054DFC 00051D5C 48 0C 07 C9 */ bl GetBounds__10CModelDataCFv +/* 80054E00 00051D60 7F 83 E3 78 */ mr r3, r28 +/* 80054E04 00051D64 7F C6 F3 78 */ mr r6, r30 +/* 80054E08 00051D68 38 81 00 78 */ addi r4, r1, 0x78 +/* 80054E0C 00051D6C 38 BD 00 34 */ addi r5, r29, 0x34 +/* 80054E10 00051D70 48 0B 10 B9 */ bl Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager +/* 80054E14 00051D74 88 1D 00 E5 */ lbz r0, 0xe5(r29) +/* 80054E18 00051D78 38 60 00 00 */ li r3, 0 +/* 80054E1C 00051D7C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80054E20 00051D80 98 1D 00 E5 */ stb r0, 0xe5(r29) +lbl_80054E24: +/* 80054E24 00051D84 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80054E28 00051D88 38 60 00 00 */ li r3, 0 +/* 80054E2C 00051D8C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80054E30 00051D90 41 82 00 14 */ beq lbl_80054E44 +/* 80054E34 00051D94 80 1D 00 90 */ lwz r0, 0x90(r29) +/* 80054E38 00051D98 28 00 00 00 */ cmplwi r0, 0 +/* 80054E3C 00051D9C 41 82 00 08 */ beq lbl_80054E44 +/* 80054E40 00051DA0 38 60 00 01 */ li r3, 1 +lbl_80054E44: +/* 80054E44 00051DA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80054E48 00051DA8 41 82 00 F4 */ beq lbl_80054F3C +/* 80054E4C 00051DAC 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80054E50 00051DB0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80054E54 00051DB4 38 BD 00 34 */ addi r5, r29, 0x34 +/* 80054E58 00051DB8 48 0C 09 5D */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 80054E5C 00051DBC C0 A1 00 60 */ lfs f5, 0x60(r1) +/* 80054E60 00051DC0 7F C4 F3 78 */ mr r4, r30 +/* 80054E64 00051DC4 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 80054E68 00051DC8 C0 61 00 68 */ lfs f3, 0x68(r1) +/* 80054E6C 00051DCC C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 80054E70 00051DD0 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 80054E74 00051DD4 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80054E78 00051DD8 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 80054E7C 00051DDC D0 81 00 94 */ stfs f4, 0x94(r1) +/* 80054E80 00051DE0 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 80054E84 00051DE4 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 80054E88 00051DE8 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80054E8C 00051DEC D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80054E90 00051DF0 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80054E94 00051DF4 80 63 00 00 */ lwz r3, 0(r3) +/* 80054E98 00051DF8 48 03 C6 C1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80054E9C 00051DFC 2C 03 00 03 */ cmpwi r3, 3 +/* 80054EA0 00051E00 40 82 00 10 */ bne lbl_80054EB0 +/* 80054EA4 00051E04 80 7D 00 90 */ lwz r3, 0x90(r29) +/* 80054EA8 00051E08 48 0A E1 DD */ bl BuildConstantAmbientLighting__12CActorLightsFv +/* 80054EAC 00051E0C 48 00 00 90 */ b lbl_80054F3C +lbl_80054EB0: +/* 80054EB0 00051E10 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 80054EB4 00051E14 28 00 00 01 */ cmplwi r0, 1 +/* 80054EB8 00051E18 40 82 00 74 */ bne lbl_80054F2C +/* 80054EBC 00051E1C 80 BD 00 04 */ lwz r5, 4(r29) +/* 80054EC0 00051E20 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80054EC4 00051E24 7C 05 00 00 */ cmpw r5, r0 +/* 80054EC8 00051E28 41 82 00 64 */ beq lbl_80054F2C +/* 80054ECC 00051E2C 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 80054ED0 00051E30 54 A4 18 38 */ slwi r4, r5, 3 +/* 80054ED4 00051E34 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80054ED8 00051E38 80 E3 00 20 */ lwz r7, 0x20(r3) +/* 80054EDC 00051E3C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80054EE0 00051E40 7C 67 22 14 */ add r3, r7, r4 +/* 80054EE4 00051E44 80 63 00 04 */ lwz r3, 4(r3) +/* 80054EE8 00051E48 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80054EEC 00051E4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80054EF0 00051E50 41 82 00 3C */ beq lbl_80054F2C +/* 80054EF4 00051E54 38 04 00 04 */ addi r0, r4, 4 +/* 80054EF8 00051E58 90 A1 00 08 */ stw r5, 8(r1) +/* 80054EFC 00051E5C 80 7D 00 90 */ lwz r3, 0x90(r29) +/* 80054F00 00051E60 7F C4 F3 78 */ mr r4, r30 +/* 80054F04 00051E64 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80054F08 00051E68 38 C1 00 90 */ addi r6, r1, 0x90 +/* 80054F0C 00051E6C 7C A7 00 2E */ lwzx r5, r7, r0 +/* 80054F10 00051E70 48 0A EE B1 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox +/* 80054F14 00051E74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80054F18 00051E78 41 82 00 14 */ beq lbl_80054F2C +/* 80054F1C 00051E7C 88 1D 00 E7 */ lbz r0, 0xe7(r29) +/* 80054F20 00051E80 38 60 00 00 */ li r3, 0 +/* 80054F24 00051E84 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80054F28 00051E88 98 1D 00 E7 */ stb r0, 0xe7(r29) +lbl_80054F2C: +/* 80054F2C 00051E8C 80 7D 00 90 */ lwz r3, 0x90(r29) +/* 80054F30 00051E90 7F C4 F3 78 */ mr r4, r30 +/* 80054F34 00051E94 38 A1 00 90 */ addi r5, r1, 0x90 +/* 80054F38 00051E98 48 0A E7 D9 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox +lbl_80054F3C: +/* 80054F3C 00051E9C 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80054F40 00051EA0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80054F44 00051EA4 28 00 00 00 */ cmplwi r0, 0 +/* 80054F48 00051EA8 41 82 00 C8 */ beq lbl_80055010 +/* 80054F4C 00051EAC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80054F50 00051EB0 4B FD 7A B5 */ bl PreRender__9CAnimDataFv +/* 80054F54 00051EB4 48 00 00 BC */ b lbl_80055010 +lbl_80054F58: +/* 80054F58 00051EB8 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 80054F5C 00051EBC 41 82 00 24 */ beq lbl_80054F80 +/* 80054F60 00051EC0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80054F64 00051EC4 38 60 00 00 */ li r3, 0 +/* 80054F68 00051EC8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80054F6C 00051ECC 38 60 00 01 */ li r3, 1 +/* 80054F70 00051ED0 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80054F74 00051ED4 88 1D 00 E5 */ lbz r0, 0xe5(r29) +/* 80054F78 00051ED8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80054F7C 00051EDC 98 1D 00 E5 */ stb r0, 0xe5(r29) +lbl_80054F80: +/* 80054F80 00051EE0 88 1D 00 E5 */ lbz r0, 0xe5(r29) +/* 80054F84 00051EE4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80054F88 00051EE8 41 82 00 88 */ beq lbl_80055010 +/* 80054F8C 00051EEC 88 1D 00 E5 */ lbz r0, 0xe5(r29) +/* 80054F90 00051EF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80054F94 00051EF4 41 82 00 7C */ beq lbl_80055010 +/* 80054F98 00051EF8 83 9D 00 94 */ lwz r28, 0x94(r29) +/* 80054F9C 00051EFC 28 1C 00 00 */ cmplwi r28, 0 +/* 80054FA0 00051F00 41 82 00 70 */ beq lbl_80055010 +/* 80054FA4 00051F04 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80054FA8 00051F08 38 61 00 30 */ addi r3, r1, 0x30 +/* 80054FAC 00051F0C 38 BD 00 34 */ addi r5, r29, 0x34 +/* 80054FB0 00051F10 48 0C 08 05 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 80054FB4 00051F14 7F 84 E3 78 */ mr r4, r28 +/* 80054FB8 00051F18 38 61 00 48 */ addi r3, r1, 0x48 +/* 80054FBC 00051F1C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80054FC0 00051F20 48 0B 0B 4D */ bl GetMaxShadowBox__13CSimpleShadowCFRC6CAABox +/* 80054FC4 00051F24 7F E3 FB 78 */ mr r3, r31 +/* 80054FC8 00051F28 38 81 00 48 */ addi r4, r1, 0x48 +/* 80054FCC 00051F2C 48 2F 02 05 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 80054FD0 00051F30 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80054FD4 00051F34 28 00 00 01 */ cmplwi r0, 1 +/* 80054FD8 00051F38 40 82 00 38 */ bne lbl_80055010 +/* 80054FDC 00051F3C 83 FD 00 94 */ lwz r31, 0x94(r29) +/* 80054FE0 00051F40 38 61 00 18 */ addi r3, r1, 0x18 +/* 80054FE4 00051F44 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80054FE8 00051F48 48 0C 05 DD */ bl GetBounds__10CModelDataCFv +/* 80054FEC 00051F4C 7F E3 FB 78 */ mr r3, r31 +/* 80054FF0 00051F50 7F C6 F3 78 */ mr r6, r30 +/* 80054FF4 00051F54 38 81 00 18 */ addi r4, r1, 0x18 +/* 80054FF8 00051F58 38 BD 00 34 */ addi r5, r29, 0x34 +/* 80054FFC 00051F5C 48 0B 0E CD */ bl Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager +/* 80055000 00051F60 88 1D 00 E5 */ lbz r0, 0xe5(r29) +/* 80055004 00051F64 38 60 00 00 */ li r3, 0 +/* 80055008 00051F68 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8005500C 00051F6C 98 1D 00 E5 */ stb r0, 0xe5(r29) +lbl_80055010: +/* 80055010 00051F70 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80055014 00051F74 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 80055018 00051F78 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8005501C 00051F7C 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80055020 00051F80 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 80055024 00051F84 7C 08 03 A6 */ mtlr r0 +/* 80055028 00051F88 38 21 00 C0 */ addi r1, r1, 0xc0 + +.global sub_8005502c +sub_8005502c: +/* 8005502C 00051F8C 4E 80 00 20 */ blr + +.global SetModelData__6CActorFRC10CModelData +SetModelData__6CActorFRC10CModelData: +/* 80055030 00051F90 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80055034 00051F94 7C 08 02 A6 */ mflr r0 +/* 80055038 00051F98 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005503C 00051F9C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80055040 00051FA0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80055044 00051FA4 7C 9E 23 78 */ mr r30, r4 +/* 80055048 00051FA8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005504C 00051FAC 7C 7D 1B 78 */ mr r29, r3 +/* 80055050 00051FB0 38 60 00 00 */ li r3, 0 +/* 80055054 00051FB4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80055058 00051FB8 28 00 00 00 */ cmplwi r0, 0 +/* 8005505C 00051FBC 40 82 00 14 */ bne lbl_80055070 +/* 80055060 00051FC0 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 80055064 00051FC4 28 00 00 00 */ cmplwi r0, 0 +/* 80055068 00051FC8 40 82 00 08 */ bne lbl_80055070 +/* 8005506C 00051FCC 38 60 00 01 */ li r3, 1 +lbl_80055070: +/* 80055070 00051FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80055074 00051FD4 41 82 00 0C */ beq lbl_80055080 +/* 80055078 00051FD8 3B E0 00 00 */ li r31, 0 +/* 8005507C 00051FDC 48 00 00 2C */ b lbl_800550A8 +lbl_80055080: +/* 80055080 00051FE0 3C 80 80 3D */ lis r4, lbl_803CCF68@ha +/* 80055084 00051FE4 38 60 00 4C */ li r3, 0x4c +/* 80055088 00051FE8 38 84 CF 68 */ addi r4, r4, lbl_803CCF68@l +/* 8005508C 00051FEC 38 A0 00 00 */ li r5, 0 +/* 80055090 00051FF0 48 2C 07 DD */ bl __nw__FUlPCcPCc +/* 80055094 00051FF4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80055098 00051FF8 41 82 00 10 */ beq lbl_800550A8 +/* 8005509C 00051FFC 7F C4 F3 78 */ mr r4, r30 +/* 800550A0 00052000 4B FC 3C ED */ bl __ct__10CModelDataFRC10CModelData +/* 800550A4 00052004 7C 7F 1B 78 */ mr r31, r3 +lbl_800550A8: +/* 800550A8 00052008 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 800550AC 0005200C 38 80 00 01 */ li r4, 1 +/* 800550B0 00052010 48 0C 19 9D */ bl __dt__10CModelDataFv +/* 800550B4 00052014 93 FD 00 64 */ stw r31, 0x64(r29) +/* 800550B8 00052018 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800550BC 0005201C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800550C0 00052020 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800550C4 00052024 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800550C8 00052028 7C 08 03 A6 */ mtlr r0 +/* 800550CC 0005202C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800550D0 00052030 4E 80 00 20 */ blr + +.global CalculateRenderBounds__6CActorFv +CalculateRenderBounds__6CActorFv: +/* 800550D4 00052034 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800550D8 00052038 7C 08 02 A6 */ mflr r0 +/* 800550DC 0005203C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800550E0 00052040 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800550E4 00052044 7C 7F 1B 78 */ mr r31, r3 +/* 800550E8 00052048 38 60 00 00 */ li r3, 0 +/* 800550EC 0005204C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 800550F0 00052050 28 04 00 00 */ cmplwi r4, 0 +/* 800550F4 00052054 41 82 00 20 */ beq lbl_80055114 +/* 800550F8 00052058 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800550FC 0005205C 28 00 00 00 */ cmplwi r0, 0 +/* 80055100 00052060 40 82 00 10 */ bne lbl_80055110 +/* 80055104 00052064 88 04 00 28 */ lbz r0, 0x28(r4) +/* 80055108 00052068 28 00 00 00 */ cmplwi r0, 0 +/* 8005510C 0005206C 41 82 00 08 */ beq lbl_80055114 +lbl_80055110: +/* 80055110 00052070 38 60 00 01 */ li r3, 1 +lbl_80055114: +/* 80055114 00052074 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80055118 00052078 41 82 00 44 */ beq lbl_8005515C +/* 8005511C 0005207C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80055120 00052080 38 BF 00 34 */ addi r5, r31, 0x34 +/* 80055124 00052084 48 0C 06 91 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 80055128 00052088 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8005512C 0005208C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80055130 00052090 90 7F 00 9C */ stw r3, 0x9c(r31) +/* 80055134 00052094 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 80055138 00052098 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005513C 0005209C 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 80055140 000520A0 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80055144 000520A4 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80055148 000520A8 90 7F 00 A8 */ stw r3, 0xa8(r31) +/* 8005514C 000520AC 90 1F 00 AC */ stw r0, 0xac(r31) +/* 80055150 000520B0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80055154 000520B4 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 80055158 000520B8 48 00 00 5C */ b lbl_800551B4 +lbl_8005515C: +/* 8005515C 000520BC C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80055160 000520C0 38 81 00 08 */ addi r4, r1, 8 +/* 80055164 000520C4 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80055168 000520C8 7C 85 23 78 */ mr r5, r4 +/* 8005516C 000520CC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80055170 000520D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80055174 000520D4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80055178 000520D8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8005517C 000520DC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80055180 000520E0 48 2E 33 89 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80055184 000520E4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80055188 000520E8 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8005518C 000520EC 90 7F 00 9C */ stw r3, 0x9c(r31) +/* 80055190 000520F0 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 80055194 000520F4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80055198 000520F8 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 8005519C 000520FC 80 61 00 20 */ lwz r3, 0x20(r1) +/* 800551A0 00052100 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800551A4 00052104 90 7F 00 A8 */ stw r3, 0xa8(r31) +/* 800551A8 00052108 90 1F 00 AC */ stw r0, 0xac(r31) +/* 800551AC 0005210C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 800551B0 00052110 90 1F 00 B0 */ stw r0, 0xb0(r31) +lbl_800551B4: +/* 800551B4 00052114 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800551B8 00052118 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800551BC 0005211C 7C 08 03 A6 */ mtlr r0 +/* 800551C0 00052120 38 21 00 50 */ addi r1, r1, 0x50 +/* 800551C4 00052124 4E 80 00 20 */ blr + +.global GetAverageAnimVelocity__6CActorFi +GetAverageAnimVelocity__6CActorFi: +/* 800551C8 00052128 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800551CC 0005212C 7C 08 02 A6 */ mflr r0 +/* 800551D0 00052130 90 01 00 14 */ stw r0, 0x14(r1) +/* 800551D4 00052134 80 A3 00 64 */ lwz r5, 0x64(r3) +/* 800551D8 00052138 38 60 00 00 */ li r3, 0 +/* 800551DC 0005213C 28 05 00 00 */ cmplwi r5, 0 +/* 800551E0 00052140 41 82 00 14 */ beq lbl_800551F4 +/* 800551E4 00052144 80 05 00 10 */ lwz r0, 0x10(r5) +/* 800551E8 00052148 28 00 00 00 */ cmplwi r0, 0 +/* 800551EC 0005214C 41 82 00 08 */ beq lbl_800551F4 +/* 800551F0 00052150 38 60 00 01 */ li r3, 1 +lbl_800551F4: +/* 800551F4 00052154 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800551F8 00052158 41 82 00 10 */ beq lbl_80055208 +/* 800551FC 0005215C 80 65 00 10 */ lwz r3, 0x10(r5) +/* 80055200 00052160 4B FD 93 21 */ bl GetAverageVelocity__9CAnimDataCFi +/* 80055204 00052164 48 00 00 08 */ b lbl_8005520C +lbl_80055208: +/* 80055208 00052168 C0 22 86 3C */ lfs f1, lbl_805AA35C@sda21(r2) +lbl_8005520C: +/* 8005520C 0005216C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80055210 00052170 7C 08 03 A6 */ mtlr r0 +/* 80055214 00052174 38 21 00 10 */ addi r1, r1, 0x10 +/* 80055218 00052178 4E 80 00 20 */ blr + +.global DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 8005521C 0005217C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80055220 00052180 7C 08 02 A6 */ mflr r0 +/* 80055224 00052184 2C 06 00 02 */ cmpwi r6, 2 +/* 80055228 00052188 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005522C 0005218C 40 82 00 08 */ bne lbl_80055234 +/* 80055230 00052190 48 00 00 15 */ bl RemoveEmitter__6CActorFv +lbl_80055234: +/* 80055234 00052194 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80055238 00052198 7C 08 03 A6 */ mtlr r0 +/* 8005523C 0005219C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80055240 000521A0 4E 80 00 20 */ blr + +.global RemoveEmitter__6CActorFv +RemoveEmitter__6CActorFv: +/* 80055244 000521A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80055248 000521A8 7C 08 02 A6 */ mflr r0 +/* 8005524C 000521AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80055250 000521B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80055254 000521B4 7C 7F 1B 78 */ mr r31, r3 +/* 80055258 000521B8 80 03 00 8C */ lwz r0, 0x8c(r3) +/* 8005525C 000521BC 28 00 00 00 */ cmplwi r0, 0 +/* 80055260 000521C0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80055264 000521C4 41 82 00 24 */ beq lbl_80055288 +/* 80055268 000521C8 90 01 00 08 */ stw r0, 8(r1) +/* 8005526C 000521CC 38 61 00 08 */ addi r3, r1, 8 +/* 80055270 000521D0 48 29 4C 15 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80055274 000521D4 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 80055278 000521D8 38 00 00 00 */ li r0, 0 +/* 8005527C 000521DC 38 63 FF FF */ addi r3, r3, 0x0000FFFF@l +/* 80055280 000521E0 B0 7F 00 88 */ sth r3, 0x88(r31) +/* 80055284 000521E4 90 1F 00 8C */ stw r0, 0x8c(r31) +lbl_80055288: +/* 80055288 000521E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005528C 000521EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80055290 000521F0 7C 08 03 A6 */ mtlr r0 +/* 80055294 000521F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80055298 000521F8 4E 80 00 20 */ blr + +.global UpdateAnimation__6CActorFfR13CStateManagerb +UpdateAnimation__6CActorFfR13CStateManagerb: +/* 8005529C 000521FC 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800552A0 00052200 7C 08 02 A6 */ mflr r0 +/* 800552A4 00052204 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800552A8 00052208 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 800552AC 0005220C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 800552B0 00052210 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 800552B4 00052214 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 800552B8 00052218 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 800552BC 0005221C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 800552C0 00052220 DB 81 00 B0 */ stfd f28, 0xb0(r1) +/* 800552C4 00052224 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 +/* 800552C8 00052228 DB 61 00 A0 */ stfd f27, 0xa0(r1) +/* 800552CC 0005222C F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 +/* 800552D0 00052230 DB 41 00 90 */ stfd f26, 0x90(r1) +/* 800552D4 00052234 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 +/* 800552D8 00052238 DB 21 00 80 */ stfd f25, 0x80(r1) +/* 800552DC 0005223C F3 21 00 88 */ psq_st f25, 136(r1), 0, qr0 +/* 800552E0 00052240 DB 01 00 70 */ stfd f24, 0x70(r1) +/* 800552E4 00052244 F3 01 00 78 */ psq_st f24, 120(r1), 0, qr0 +/* 800552E8 00052248 BF 01 00 50 */ stmw r24, 0x50(r1) +/* 800552EC 0005224C FF 00 08 90 */ fmr f24, f1 +/* 800552F0 00052250 7C 7A 1B 78 */ mr r26, r3 +/* 800552F4 00052254 7C 9B 23 78 */ mr r27, r4 +/* 800552F8 00052258 7C BC 2B 78 */ mr r28, r5 +/* 800552FC 0005225C 7C D8 33 78 */ mr r24, r6 +/* 80055300 00052260 38 61 00 10 */ addi r3, r1, 0x10 +/* 80055304 00052264 4B FF BD 81 */ bl GetAreaId__7CEntityCFv +/* 80055308 00052268 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8005530C 0005226C FC 20 C0 90 */ fmr f1, f24 +/* 80055310 00052270 7F 85 E3 78 */ mr r5, r28 +/* 80055314 00052274 38 61 00 30 */ addi r3, r1, 0x30 +/* 80055318 00052278 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005531C 0005227C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80055320 00052280 57 07 06 3E */ clrlwi r7, r24, 0x18 +/* 80055324 00052284 80 9B 00 64 */ lwz r4, 0x64(r27) +/* 80055328 00052288 48 0C 08 0D */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb +/* 8005532C 0005228C FC 20 C0 90 */ fmr f1, f24 +/* 80055330 00052290 C3 E1 00 30 */ lfs f31, 0x30(r1) +/* 80055334 00052294 C3 C1 00 34 */ lfs f30, 0x34(r1) +/* 80055338 00052298 7F 85 E3 78 */ mr r5, r28 +/* 8005533C 0005229C C3 A1 00 38 */ lfs f29, 0x38(r1) +/* 80055340 000522A0 38 9B 00 34 */ addi r4, r27, 0x34 +/* 80055344 000522A4 C3 81 00 3C */ lfs f28, 0x3c(r1) +/* 80055348 000522A8 C3 61 00 40 */ lfs f27, 0x40(r1) +/* 8005534C 000522AC C3 41 00 44 */ lfs f26, 0x44(r1) +/* 80055350 000522B0 C3 21 00 48 */ lfs f25, 0x48(r1) +/* 80055354 000522B4 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 80055358 000522B8 48 0C 02 35 */ bl AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager +/* 8005535C 000522BC 7F 63 DB 78 */ mr r3, r27 +/* 80055360 000522C0 4B FF D8 ED */ bl UpdateSfxEmitters__6CActorFv +/* 80055364 000522C4 80 9B 00 64 */ lwz r4, 0x64(r27) +/* 80055368 000522C8 38 60 00 00 */ li r3, 0 +/* 8005536C 000522CC 28 04 00 00 */ cmplwi r4, 0 +/* 80055370 000522D0 41 82 00 14 */ beq lbl_80055384 +/* 80055374 000522D4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80055378 000522D8 28 00 00 00 */ cmplwi r0, 0 +/* 8005537C 000522DC 41 82 00 08 */ beq lbl_80055384 +/* 80055380 000522E0 38 60 00 01 */ li r3, 1 +lbl_80055384: +/* 80055384 000522E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80055388 000522E8 41 82 02 F8 */ beq lbl_80055680 +/* 8005538C 000522EC 8B DB 00 D4 */ lbz r30, 0xd4(r27) +/* 80055390 000522F0 7F 84 E3 78 */ mr r4, r28 +/* 80055394 000522F4 83 FB 00 04 */ lwz r31, 4(r27) +/* 80055398 000522F8 80 7C 08 70 */ lwz r3, 0x870(r28) +/* 8005539C 000522FC 4B FB 67 7D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800553A0 00052300 C0 BB 00 60 */ lfs f5, 0x60(r27) +/* 800553A4 00052304 3B A0 00 00 */ li r29, 0 +/* 800553A8 00052308 C0 9B 00 50 */ lfs f4, 0x50(r27) +/* 800553AC 0005230C 38 80 00 00 */ li r4, 0 +/* 800553B0 00052310 C0 7B 00 40 */ lfs f3, 0x40(r27) +/* 800553B4 00052314 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 800553B8 00052318 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 800553BC 0005231C D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 800553C0 00052320 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 800553C4 00052324 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 800553C8 00052328 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 800553CC 0005232C EC 42 20 28 */ fsubs f2, f2, f4 +/* 800553D0 00052330 EC 21 28 28 */ fsubs f1, f1, f5 +/* 800553D4 00052334 EC 00 18 28 */ fsubs f0, f0, f3 +/* 800553D8 00052338 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800553DC 0005233C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800553E0 00052340 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800553E4 00052344 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 800553E8 00052348 28 03 00 00 */ cmplwi r3, 0 +/* 800553EC 0005234C 41 82 00 14 */ beq lbl_80055400 +/* 800553F0 00052350 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800553F4 00052354 28 00 00 00 */ cmplwi r0, 0 +/* 800553F8 00052358 41 82 00 08 */ beq lbl_80055400 +/* 800553FC 0005235C 38 80 00 01 */ li r4, 1 +lbl_80055400: +/* 80055400 00052360 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80055404 00052364 41 82 00 1C */ beq lbl_80055420 +/* 80055408 00052368 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8005540C 0005236C 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha +/* 80055410 00052370 38 63 C9 EC */ addi r3, r3, lbl_8056C9EC@l +/* 80055414 00052374 83 A4 02 18 */ lwz r29, 0x218(r4) +/* 80055418 00052378 3B 23 00 04 */ addi r25, r3, 4 +/* 8005541C 0005237C 48 00 00 08 */ b lbl_80055424 +lbl_80055420: +/* 80055420 00052380 3B 20 00 00 */ li r25, 0 +lbl_80055424: +/* 80055424 00052384 2C 1D 00 00 */ cmpwi r29, 0 +/* 80055428 00052388 40 81 00 98 */ ble lbl_800554C0 +/* 8005542C 0005238C 28 19 00 00 */ cmplwi r25, 0 +/* 80055430 00052390 41 82 00 90 */ beq lbl_800554C0 +/* 80055434 00052394 3B 00 00 00 */ li r24, 0 +/* 80055438 00052398 48 00 00 80 */ b lbl_800554B8 +lbl_8005543C: +/* 8005543C 0005239C A0 19 00 18 */ lhz r0, 0x18(r25) +/* 80055440 000523A0 80 99 00 30 */ lwz r4, 0x30(r25) +/* 80055444 000523A4 2C 00 00 08 */ cmpwi r0, 8 +/* 80055448 000523A8 40 82 00 68 */ bne lbl_800554B0 +/* 8005544C 000523AC 88 1B 00 E5 */ lbz r0, 0xe5(r27) +/* 80055450 000523B0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80055454 000523B4 40 82 00 5C */ bne lbl_800554B0 +/* 80055458 000523B8 2C 04 FF FF */ cmpwi r4, -1 +/* 8005545C 000523BC 41 82 00 18 */ beq lbl_80055474 +/* 80055460 000523C0 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 80055464 000523C4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80055468 000523C8 80 03 02 04 */ lwz r0, 0x204(r3) +/* 8005546C 000523CC 7C 04 00 00 */ cmpw r4, r0 +/* 80055470 000523D0 40 82 00 40 */ bne lbl_800554B0 +lbl_80055474: +/* 80055474 000523D4 93 81 00 08 */ stw r28, 8(r1) +/* 80055478 000523D8 38 00 00 01 */ li r0, 1 +/* 8005547C 000523DC 7F 63 DB 78 */ mr r3, r27 +/* 80055480 000523E0 7F C7 F3 78 */ mr r7, r30 +/* 80055484 000523E4 90 01 00 0C */ stw r0, 0xc(r1) +/* 80055488 000523E8 7F EA FB 78 */ mr r10, r31 +/* 8005548C 000523EC 39 01 00 18 */ addi r8, r1, 0x18 +/* 80055490 000523F0 39 21 00 24 */ addi r9, r1, 0x24 +/* 80055494 000523F4 80 99 00 38 */ lwz r4, 0x38(r25) +/* 80055498 000523F8 38 C0 00 14 */ li r6, 0x14 +/* 8005549C 000523FC C0 39 00 2C */ lfs f1, 0x2c(r25) +/* 800554A0 00052400 80 B9 00 34 */ lwz r5, 0x34(r25) +/* 800554A4 00052404 C0 59 00 3C */ lfs f2, 0x3c(r25) +/* 800554A8 00052408 C0 79 00 40 */ lfs f3, 0x40(r25) +/* 800554AC 0005240C 4B FF DA 85 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager +lbl_800554B0: +/* 800554B0 00052410 3B 39 00 44 */ addi r25, r25, 0x44 +/* 800554B4 00052414 3B 18 00 01 */ addi r24, r24, 1 +lbl_800554B8: +/* 800554B8 00052418 7C 18 E8 00 */ cmpw r24, r29 +/* 800554BC 0005241C 41 80 FF 80 */ blt lbl_8005543C +lbl_800554C0: +/* 800554C0 00052420 80 9B 00 64 */ lwz r4, 0x64(r27) +/* 800554C4 00052424 3B A0 00 00 */ li r29, 0 +/* 800554C8 00052428 38 60 00 00 */ li r3, 0 +/* 800554CC 0005242C 28 04 00 00 */ cmplwi r4, 0 +/* 800554D0 00052430 41 82 00 14 */ beq lbl_800554E4 +/* 800554D4 00052434 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800554D8 00052438 28 00 00 00 */ cmplwi r0, 0 +/* 800554DC 0005243C 41 82 00 08 */ beq lbl_800554E4 +/* 800554E0 00052440 38 60 00 01 */ li r3, 1 +lbl_800554E4: +/* 800554E4 00052444 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800554E8 00052448 41 82 00 1C */ beq lbl_80055504 +/* 800554EC 0005244C 80 84 00 10 */ lwz r4, 0x10(r4) +/* 800554F0 00052450 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 800554F4 00052454 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l +/* 800554F8 00052458 83 A4 02 10 */ lwz r29, 0x210(r4) +/* 800554FC 0005245C 3B 23 00 04 */ addi r25, r3, 4 +/* 80055500 00052460 48 00 00 08 */ b lbl_80055508 +lbl_80055504: +/* 80055504 00052464 3B 20 00 00 */ li r25, 0 +lbl_80055508: +/* 80055508 00052468 2C 1D 00 00 */ cmpwi r29, 0 +/* 8005550C 0005246C 40 81 00 C8 */ ble lbl_800555D4 +/* 80055510 00052470 28 19 00 00 */ cmplwi r25, 0 +/* 80055514 00052474 41 82 00 C0 */ beq lbl_800555D4 +/* 80055518 00052478 3B 00 00 00 */ li r24, 0 +/* 8005551C 0005247C 48 00 00 B0 */ b lbl_800555CC +lbl_80055520: +/* 80055520 00052480 A0 B9 00 18 */ lhz r5, 0x18(r25) +/* 80055524 00052484 80 99 00 30 */ lwz r4, 0x30(r25) +/* 80055528 00052488 2C 05 00 04 */ cmpwi r5, 4 +/* 8005552C 0005248C 40 82 00 6C */ bne lbl_80055598 +/* 80055530 00052490 88 1B 00 E5 */ lbz r0, 0xe5(r27) +/* 80055534 00052494 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80055538 00052498 40 82 00 60 */ bne lbl_80055598 +/* 8005553C 0005249C 2C 04 FF FF */ cmpwi r4, -1 +/* 80055540 000524A0 41 82 00 18 */ beq lbl_80055558 +/* 80055544 000524A4 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 80055548 000524A8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8005554C 000524AC 80 03 02 04 */ lwz r0, 0x204(r3) +/* 80055550 000524B0 7C 04 00 00 */ cmpw r4, r0 +/* 80055554 000524B4 40 82 00 44 */ bne lbl_80055598 +lbl_80055558: +/* 80055558 000524B8 93 81 00 08 */ stw r28, 8(r1) +/* 8005555C 000524BC 38 00 00 01 */ li r0, 1 +/* 80055560 000524C0 C0 42 86 44 */ lfs f2, lbl_805AA364@sda21(r2) +/* 80055564 000524C4 7F 63 DB 78 */ mr r3, r27 +/* 80055568 000524C8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8005556C 000524CC 7F C7 F3 78 */ mr r7, r30 +/* 80055570 000524D0 C0 62 86 88 */ lfs f3, lbl_805AA3A8@sda21(r2) +/* 80055574 000524D4 7F EA FB 78 */ mr r10, r31 +/* 80055578 000524D8 80 99 00 38 */ lwz r4, 0x38(r25) +/* 8005557C 000524DC 39 01 00 18 */ addi r8, r1, 0x18 +/* 80055580 000524E0 C0 39 00 2C */ lfs f1, 0x2c(r25) +/* 80055584 000524E4 39 21 00 24 */ addi r9, r1, 0x24 +/* 80055588 000524E8 80 B9 00 34 */ lwz r5, 0x34(r25) +/* 8005558C 000524EC 38 C0 00 14 */ li r6, 0x14 +/* 80055590 000524F0 4B FF D9 A1 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager +/* 80055594 000524F4 48 00 00 30 */ b lbl_800555C4 +lbl_80055598: +/* 80055598 000524F8 2C 05 00 06 */ cmpwi r5, 6 +/* 8005559C 000524FC 40 82 00 28 */ bne lbl_800555C4 +/* 800555A0 00052500 7F 63 DB 78 */ mr r3, r27 +/* 800555A4 00052504 FC 20 C0 90 */ fmr f1, f24 +/* 800555A8 00052508 81 9B 00 00 */ lwz r12, 0(r27) +/* 800555AC 0005250C 7F 84 E3 78 */ mr r4, r28 +/* 800555B0 00052510 7F 25 CB 78 */ mr r5, r25 +/* 800555B4 00052514 80 D9 00 38 */ lwz r6, 0x38(r25) +/* 800555B8 00052518 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800555BC 0005251C 7D 89 03 A6 */ mtctr r12 +/* 800555C0 00052520 4E 80 04 21 */ bctrl +lbl_800555C4: +/* 800555C4 00052524 3B 39 00 4C */ addi r25, r25, 0x4c +/* 800555C8 00052528 3B 18 00 01 */ addi r24, r24, 1 +lbl_800555CC: +/* 800555CC 0005252C 7C 18 E8 00 */ cmpw r24, r29 +/* 800555D0 00052530 41 80 FF 50 */ blt lbl_80055520 +lbl_800555D4: +/* 800555D4 00052534 80 9B 00 64 */ lwz r4, 0x64(r27) +/* 800555D8 00052538 3B 00 00 00 */ li r24, 0 +/* 800555DC 0005253C 38 60 00 00 */ li r3, 0 +/* 800555E0 00052540 28 04 00 00 */ cmplwi r4, 0 +/* 800555E4 00052544 41 82 00 14 */ beq lbl_800555F8 +/* 800555E8 00052548 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800555EC 0005254C 28 00 00 00 */ cmplwi r0, 0 +/* 800555F0 00052550 41 82 00 08 */ beq lbl_800555F8 +/* 800555F4 00052554 38 60 00 01 */ li r3, 1 +lbl_800555F8: +/* 800555F8 00052558 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800555FC 0005255C 41 82 00 1C */ beq lbl_80055618 +/* 80055600 00052560 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80055604 00052564 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha +/* 80055608 00052568 38 63 C2 B8 */ addi r3, r3, lbl_8056C2B8@l +/* 8005560C 0005256C 83 04 02 14 */ lwz r24, 0x214(r4) +/* 80055610 00052570 3B 23 00 04 */ addi r25, r3, 4 +/* 80055614 00052574 48 00 00 08 */ b lbl_8005561C +lbl_80055618: +/* 80055618 00052578 3B 20 00 00 */ li r25, 0 +lbl_8005561C: +/* 8005561C 0005257C 2C 18 00 00 */ cmpwi r24, 0 +/* 80055620 00052580 40 81 00 60 */ ble lbl_80055680 +/* 80055624 00052584 28 19 00 00 */ cmplwi r25, 0 +/* 80055628 00052588 41 82 00 58 */ beq lbl_80055680 +/* 8005562C 0005258C 3B A0 00 00 */ li r29, 0 +/* 80055630 00052590 48 00 00 48 */ b lbl_80055678 +lbl_80055634: +/* 80055634 00052594 80 99 00 30 */ lwz r4, 0x30(r25) +/* 80055638 00052598 2C 04 FF FF */ cmpwi r4, -1 +/* 8005563C 0005259C 41 82 00 18 */ beq lbl_80055654 +/* 80055640 000525A0 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 80055644 000525A4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80055648 000525A8 80 03 02 04 */ lwz r0, 0x204(r3) +/* 8005564C 000525AC 7C 04 00 00 */ cmpw r4, r0 +/* 80055650 000525B0 40 82 00 20 */ bne lbl_80055670 +lbl_80055654: +/* 80055654 000525B4 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 80055658 000525B8 7F 86 E3 78 */ mr r6, r28 +/* 8005565C 000525BC 38 99 00 08 */ addi r4, r25, 8 +/* 80055660 000525C0 38 A0 00 01 */ li r5, 1 +/* 80055664 000525C4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80055668 000525C8 38 63 01 20 */ addi r3, r3, 0x120 +/* 8005566C 000525CC 48 06 35 5D */ bl "SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager" +lbl_80055670: +/* 80055670 000525D0 3B 39 00 5C */ addi r25, r25, 0x5c +/* 80055674 000525D4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80055678: +/* 80055678 000525D8 7C 1D C0 00 */ cmpw r29, r24 +/* 8005567C 000525DC 41 80 FF B8 */ blt lbl_80055634 +lbl_80055680: +/* 80055680 000525E0 D3 FA 00 00 */ stfs f31, 0(r26) +/* 80055684 000525E4 D3 DA 00 04 */ stfs f30, 4(r26) +/* 80055688 000525E8 D3 BA 00 08 */ stfs f29, 8(r26) +/* 8005568C 000525EC D3 9A 00 0C */ stfs f28, 0xc(r26) +/* 80055690 000525F0 D3 7A 00 10 */ stfs f27, 0x10(r26) +/* 80055694 000525F4 D3 5A 00 14 */ stfs f26, 0x14(r26) +/* 80055698 000525F8 D3 3A 00 18 */ stfs f25, 0x18(r26) +/* 8005569C 000525FC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 800556A0 00052600 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 800556A4 00052604 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 800556A8 00052608 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 800556AC 0005260C E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 800556B0 00052610 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 800556B4 00052614 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 +/* 800556B8 00052618 CB 81 00 B0 */ lfd f28, 0xb0(r1) +/* 800556BC 0005261C E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 +/* 800556C0 00052620 CB 61 00 A0 */ lfd f27, 0xa0(r1) +/* 800556C4 00052624 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 +/* 800556C8 00052628 CB 41 00 90 */ lfd f26, 0x90(r1) +/* 800556CC 0005262C E3 21 00 88 */ psq_l f25, 136(r1), 0, qr0 +/* 800556D0 00052630 CB 21 00 80 */ lfd f25, 0x80(r1) +/* 800556D4 00052634 E3 01 00 78 */ psq_l f24, 120(r1), 0, qr0 +/* 800556D8 00052638 CB 01 00 70 */ lfd f24, 0x70(r1) +/* 800556DC 0005263C BB 01 00 50 */ lmw r24, 0x50(r1) +/* 800556E0 00052640 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800556E4 00052644 7C 08 03 A6 */ mtlr r0 +/* 800556E8 00052648 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 800556EC 0005264C 4E 80 00 20 */ blr + +.global __dt__6CActorFv +__dt__6CActorFv: +/* 800556F0 00052650 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800556F4 00052654 7C 08 02 A6 */ mflr r0 +/* 800556F8 00052658 90 01 00 24 */ stw r0, 0x24(r1) +/* 800556FC 0005265C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80055700 00052660 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80055704 00052664 7C 9E 23 78 */ mr r30, r4 +/* 80055708 00052668 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005570C 0005266C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80055710 00052670 41 82 00 F0 */ beq lbl_80055800 +/* 80055714 00052674 3C 80 80 3E */ lis r4, lbl_803D9EB0@ha +/* 80055718 00052678 38 04 9E B0 */ addi r0, r4, lbl_803D9EB0@l +/* 8005571C 0005267C 90 1D 00 00 */ stw r0, 0(r29) +/* 80055720 00052680 4B FF FB 25 */ bl RemoveEmitter__6CActorFv +/* 80055724 00052684 34 1D 00 D8 */ addic. r0, r29, 0xd8 +/* 80055728 00052688 41 82 00 58 */ beq lbl_80055780 +/* 8005572C 0005268C 80 BD 00 D8 */ lwz r5, 0xd8(r29) +/* 80055730 00052690 38 60 00 00 */ li r3, 0 +/* 80055734 00052694 2C 05 00 00 */ cmpwi r5, 0 +/* 80055738 00052698 40 81 00 40 */ ble lbl_80055778 +/* 8005573C 0005269C 2C 05 00 08 */ cmpwi r5, 8 +/* 80055740 000526A0 38 85 FF F8 */ addi r4, r5, -8 +/* 80055744 000526A4 40 81 00 20 */ ble lbl_80055764 +/* 80055748 000526A8 38 04 00 07 */ addi r0, r4, 7 +/* 8005574C 000526AC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80055750 000526B0 7C 09 03 A6 */ mtctr r0 +/* 80055754 000526B4 2C 04 00 00 */ cmpwi r4, 0 +/* 80055758 000526B8 40 81 00 0C */ ble lbl_80055764 +lbl_8005575C: +/* 8005575C 000526BC 38 63 00 08 */ addi r3, r3, 8 +/* 80055760 000526C0 42 00 FF FC */ bdnz lbl_8005575C +lbl_80055764: +/* 80055764 000526C4 7C 03 28 50 */ subf r0, r3, r5 +/* 80055768 000526C8 7C 09 03 A6 */ mtctr r0 +/* 8005576C 000526CC 7C 03 28 00 */ cmpw r3, r5 +/* 80055770 000526D0 40 80 00 08 */ bge lbl_80055778 +lbl_80055774: +/* 80055774 000526D4 42 00 00 00 */ bdnz lbl_80055774 +lbl_80055778: +/* 80055778 000526D8 38 00 00 00 */ li r0, 0 +/* 8005577C 000526DC 90 1D 00 D8 */ stw r0, 0xd8(r29) +lbl_80055780: +/* 80055780 000526E0 34 1D 00 98 */ addic. r0, r29, 0x98 +/* 80055784 000526E4 41 82 00 28 */ beq lbl_800557AC +/* 80055788 000526E8 83 FD 00 98 */ lwz r31, 0x98(r29) +/* 8005578C 000526EC 28 1F 00 00 */ cmplwi r31, 0 +/* 80055790 000526F0 41 82 00 1C */ beq lbl_800557AC +/* 80055794 000526F4 41 82 00 10 */ beq lbl_800557A4 +/* 80055798 000526F8 7F E3 FB 78 */ mr r3, r31 +/* 8005579C 000526FC 38 80 00 00 */ li r4, 0 +/* 800557A0 00052700 48 2E B6 A1 */ bl __dt__6CTokenFv +lbl_800557A4: +/* 800557A4 00052704 7F E3 FB 78 */ mr r3, r31 +/* 800557A8 00052708 48 2C 01 89 */ bl Free__7CMemoryFPCv +lbl_800557AC: +/* 800557AC 0005270C 34 1D 00 94 */ addic. r0, r29, 0x94 +/* 800557B0 00052710 41 82 00 0C */ beq lbl_800557BC +/* 800557B4 00052714 80 7D 00 94 */ lwz r3, 0x94(r29) +/* 800557B8 00052718 48 2C 01 79 */ bl Free__7CMemoryFPCv +lbl_800557BC: +/* 800557BC 0005271C 34 1D 00 90 */ addic. r0, r29, 0x90 +/* 800557C0 00052720 41 82 00 10 */ beq lbl_800557D0 +/* 800557C4 00052724 80 7D 00 90 */ lwz r3, 0x90(r29) +/* 800557C8 00052728 38 80 00 01 */ li r4, 1 +/* 800557CC 0005272C 48 0A F9 09 */ bl __dt__12CActorLightsFv +lbl_800557D0: +/* 800557D0 00052730 34 1D 00 64 */ addic. r0, r29, 0x64 +/* 800557D4 00052734 41 82 00 10 */ beq lbl_800557E4 +/* 800557D8 00052738 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 800557DC 0005273C 38 80 00 01 */ li r4, 1 +/* 800557E0 00052740 48 0C 12 6D */ bl __dt__10CModelDataFv +lbl_800557E4: +/* 800557E4 00052744 7F A3 EB 78 */ mr r3, r29 +/* 800557E8 00052748 38 80 00 00 */ li r4, 0 +/* 800557EC 0005274C 4B FF BA 89 */ bl __dt__7CEntityFv +/* 800557F0 00052750 7F C0 07 35 */ extsh. r0, r30 +/* 800557F4 00052754 40 81 00 0C */ ble lbl_80055800 +/* 800557F8 00052758 7F A3 EB 78 */ mr r3, r29 +/* 800557FC 0005275C 48 2C 01 35 */ bl Free__7CMemoryFPCv +lbl_80055800: +/* 80055800 00052760 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80055804 00052764 7F A3 EB 78 */ mr r3, r29 +/* 80055808 00052768 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005580C 0005276C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80055810 00052770 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80055814 00052774 7C 08 03 A6 */ mtlr r0 +/* 80055818 00052778 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005581C 0005277C 4E 80 00 20 */ blr + +.global "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +"__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId": +/* 80055820 00052780 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80055824 00052784 7C 08 02 A6 */ mflr r0 +/* 80055828 00052788 90 01 00 74 */ stw r0, 0x74(r1) +/* 8005582C 0005278C BF 21 00 54 */ stmw r25, 0x54(r1) +/* 80055830 00052790 7C BA 2B 78 */ mr r26, r5 +/* 80055834 00052794 83 A1 00 78 */ lwz r29, 0x78(r1) +/* 80055838 00052798 7C 7F 1B 78 */ mr r31, r3 +/* 8005583C 0005279C 83 C1 00 7C */ lwz r30, 0x7c(r1) +/* 80055840 000527A0 7D 19 43 78 */ mr r25, r8 +/* 80055844 000527A4 7D 3B 4B 78 */ mr r27, r9 +/* 80055848 000527A8 7D 5C 53 78 */ mr r28, r10 +/* 8005584C 000527AC 7C E5 3B 78 */ mr r5, r7 +/* 80055850 000527B0 A0 04 00 00 */ lhz r0, 0(r4) +/* 80055854 000527B4 7C C4 33 78 */ mr r4, r6 +/* 80055858 000527B8 7C 87 23 78 */ mr r7, r4 +/* 8005585C 000527BC 7F 46 D3 78 */ mr r6, r26 +/* 80055860 000527C0 B0 01 00 08 */ sth r0, 8(r1) +/* 80055864 000527C4 38 81 00 08 */ addi r4, r1, 8 +/* 80055868 000527C8 4B FF BA BD */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8005586C 000527CC 3C 60 80 3E */ lis r3, lbl_803D9EB0@ha +/* 80055870 000527D0 7F 24 CB 78 */ mr r4, r25 +/* 80055874 000527D4 38 03 9E B0 */ addi r0, r3, lbl_803D9EB0@l +/* 80055878 000527D8 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8005587C 000527DC 90 1F 00 00 */ stw r0, 0(r31) +/* 80055880 000527E0 48 2B D2 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80055884 000527E4 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 80055888 000527E8 38 60 00 00 */ li r3, 0 +/* 8005588C 000527EC 28 00 00 00 */ cmplwi r0, 0 +/* 80055890 000527F0 40 82 00 14 */ bne lbl_800558A4 +/* 80055894 000527F4 88 1B 00 28 */ lbz r0, 0x28(r27) +/* 80055898 000527F8 28 00 00 00 */ cmplwi r0, 0 +/* 8005589C 000527FC 40 82 00 08 */ bne lbl_800558A4 +/* 800558A0 00052800 38 60 00 01 */ li r3, 1 +lbl_800558A4: +/* 800558A4 00052804 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800558A8 00052808 41 82 00 0C */ beq lbl_800558B4 +/* 800558AC 0005280C 38 00 00 00 */ li r0, 0 +/* 800558B0 00052810 48 00 00 2C */ b lbl_800558DC +lbl_800558B4: +/* 800558B4 00052814 3C 80 80 3D */ lis r4, lbl_803CCF68@ha +/* 800558B8 00052818 38 60 00 4C */ li r3, 0x4c +/* 800558BC 0005281C 38 84 CF 68 */ addi r4, r4, lbl_803CCF68@l +/* 800558C0 00052820 38 A0 00 00 */ li r5, 0 +/* 800558C4 00052824 48 2B FF A9 */ bl __nw__FUlPCcPCc +/* 800558C8 00052828 7C 60 1B 79 */ or. r0, r3, r3 +/* 800558CC 0005282C 41 82 00 10 */ beq lbl_800558DC +/* 800558D0 00052830 7F 64 DB 78 */ mr r4, r27 +/* 800558D4 00052834 4B FC 34 B9 */ bl __ct__10CModelDataFRC10CModelData +/* 800558D8 00052838 7C 60 1B 78 */ mr r0, r3 +lbl_800558DC: +/* 800558DC 0005283C 90 1F 00 64 */ stw r0, 0x64(r31) +/* 800558E0 00052840 7F 84 E3 78 */ mr r4, r28 +/* 800558E4 00052844 7F A5 EB 78 */ mr r5, r29 +/* 800558E8 00052848 38 61 00 30 */ addi r3, r1, 0x30 +/* 800558EC 0005284C 48 00 04 3D */ bl MakeActorMaterialList__FRC13CMaterialListRC16CActorParameters +/* 800558F0 00052850 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800558F4 00052854 38 60 00 00 */ li r3, 0 +/* 800558F8 00052858 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800558FC 0005285C 38 80 00 01 */ li r4, 1 +/* 80055900 00052860 90 BF 00 6C */ stw r5, 0x6c(r31) +/* 80055904 00052864 90 1F 00 68 */ stw r0, 0x68(r31) +/* 80055908 00052868 80 AD 82 A8 */ lwz r5, lbl_805A6E68@sda21(r13) +/* 8005590C 0005286C 48 33 45 E9 */ bl __shl2i +/* 80055910 00052870 90 9F 00 74 */ stw r4, 0x74(r31) +/* 80055914 00052874 38 A0 00 03 */ li r5, 3 +/* 80055918 00052878 38 80 00 00 */ li r4, 0 +/* 8005591C 0005287C 38 C0 00 00 */ li r6, 0 +/* 80055920 00052880 90 7F 00 70 */ stw r3, 0x70(r31) +/* 80055924 00052884 90 9F 00 7C */ stw r4, 0x7c(r31) +/* 80055928 00052888 90 9F 00 78 */ stw r4, 0x78(r31) +/* 8005592C 0005288C 90 BF 00 80 */ stw r5, 0x80(r31) +/* 80055930 00052890 A0 0D 82 AC */ lhz r0, lbl_805A6E6C@sda21(r13) +/* 80055934 00052894 90 A1 00 48 */ stw r5, 0x48(r1) +/* 80055938 00052898 B0 1F 00 88 */ sth r0, 0x88(r31) +/* 8005593C 0005289C 90 9F 00 8C */ stw r4, 0x8c(r31) +/* 80055940 000528A0 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 80055944 000528A4 28 00 00 00 */ cmplwi r0, 0 +/* 80055948 000528A8 40 82 00 14 */ bne lbl_8005595C +/* 8005594C 000528AC 88 1B 00 28 */ lbz r0, 0x28(r27) +/* 80055950 000528B0 28 00 00 00 */ cmplwi r0, 0 +/* 80055954 000528B4 40 82 00 08 */ bne lbl_8005595C +/* 80055958 000528B8 38 80 00 01 */ li r4, 1 +lbl_8005595C: +/* 8005595C 000528BC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80055960 000528C0 41 82 00 0C */ beq lbl_8005596C +/* 80055964 000528C4 38 60 00 00 */ li r3, 0 +/* 80055968 000528C8 48 00 00 20 */ b lbl_80055988 +lbl_8005596C: +/* 8005596C 000528CC 7F A4 EB 78 */ mr r4, r29 +/* 80055970 000528D0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80055974 000528D4 48 0B 0A 9D */ bl MakeActorLights__16CLightParametersCFv +/* 80055978 000528D8 38 00 00 00 */ li r0, 0 +/* 8005597C 000528DC 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80055980 000528E0 98 01 00 24 */ stb r0, 0x24(r1) +/* 80055984 000528E4 38 C0 00 01 */ li r6, 1 +lbl_80055988: +/* 80055988 000528E8 7C C0 07 75 */ extsb. r0, r6 +/* 8005598C 000528EC 90 7F 00 90 */ stw r3, 0x90(r31) +/* 80055990 000528F0 41 82 00 1C */ beq lbl_800559AC +/* 80055994 000528F4 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80055998 000528F8 28 00 00 00 */ cmplwi r0, 0 +/* 8005599C 000528FC 41 82 00 10 */ beq lbl_800559AC +/* 800559A0 00052900 80 61 00 28 */ lwz r3, 0x28(r1) +/* 800559A4 00052904 38 80 00 01 */ li r4, 1 +/* 800559A8 00052908 48 0A F7 2D */ bl __dt__12CActorLightsFv +lbl_800559AC: +/* 800559AC 0005290C 38 A0 00 00 */ li r5, 0 +/* 800559B0 00052910 C0 22 86 30 */ lfs f1, lbl_805AA350@sda21(r2) +/* 800559B4 00052914 90 BF 00 94 */ stw r5, 0x94(r31) +/* 800559B8 00052918 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 800559BC 0005291C FC 40 08 90 */ fmr f2, f1 +/* 800559C0 00052920 38 00 00 03 */ li r0, 3 +/* 800559C4 00052924 90 BF 00 98 */ stw r5, 0x98(r31) +/* 800559C8 00052928 FC 60 08 90 */ fmr f3, f1 +/* 800559CC 0005292C FC 80 08 90 */ fmr f4, f1 +/* 800559D0 00052930 38 61 00 20 */ addi r3, r1, 0x20 +/* 800559D4 00052934 C4 04 67 54 */ lfsu f0, lbl_805A6754@l(r4) +/* 800559D8 00052938 D0 1F 00 9C */ stfs f0, 0x9c(r31) +/* 800559DC 0005293C C0 04 00 04 */ lfs f0, 4(r4) +/* 800559E0 00052940 D0 1F 00 A0 */ stfs f0, 0xa0(r31) +/* 800559E4 00052944 C0 04 00 08 */ lfs f0, 8(r4) +/* 800559E8 00052948 D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 800559EC 0005294C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 800559F0 00052950 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 800559F4 00052954 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 800559F8 00052958 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 800559FC 0005295C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80055A00 00052960 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 80055A04 00052964 98 A1 00 1C */ stb r5, 0x1c(r1) +/* 80055A08 00052968 98 A1 00 1D */ stb r5, 0x1d(r1) +/* 80055A0C 0005296C B0 01 00 1E */ sth r0, 0x1e(r1) +/* 80055A10 00052970 48 30 D9 DD */ bl __ct__6CColorFffff +/* 80055A14 00052974 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 80055A18 00052978 38 C0 20 00 */ li r6, 0x2000 +/* 80055A1C 0005297C C0 02 86 3C */ lfs f0, lbl_805AA35C@sda21(r2) +/* 80055A20 00052980 38 A0 FF FF */ li r5, -1 +/* 80055A24 00052984 98 1F 00 B4 */ stb r0, 0xb4(r31) +/* 80055A28 00052988 35 1F 00 DC */ addic. r8, r31, 0xdc +/* 80055A2C 0005298C 88 82 CC 40 */ lbz r4, lbl_805AE960@sda21(r2) +/* 80055A30 00052990 38 60 00 02 */ li r3, 2 +/* 80055A34 00052994 88 E1 00 1D */ lbz r7, 0x1d(r1) +/* 80055A38 00052998 38 00 00 00 */ li r0, 0 +/* 80055A3C 0005299C 98 FF 00 B5 */ stb r7, 0xb5(r31) +/* 80055A40 000529A0 A0 E1 00 1E */ lhz r7, 0x1e(r1) +/* 80055A44 000529A4 B0 FF 00 B6 */ sth r7, 0xb6(r31) +/* 80055A48 000529A8 80 E1 00 20 */ lwz r7, 0x20(r1) +/* 80055A4C 000529AC 90 FF 00 B8 */ stw r7, 0xb8(r31) +/* 80055A50 000529B0 D0 1F 00 BC */ stfs f0, 0xbc(r31) +/* 80055A54 000529B4 90 DF 00 C0 */ stw r6, 0xc0(r31) +/* 80055A58 000529B8 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) +/* 80055A5C 000529BC B0 DF 00 C4 */ sth r6, 0xc4(r31) +/* 80055A60 000529C0 A0 DE 00 00 */ lhz r6, 0(r30) +/* 80055A64 000529C4 B0 DF 00 C6 */ sth r6, 0xc6(r31) +/* 80055A68 000529C8 90 BF 00 C8 */ stw r5, 0xc8(r31) +/* 80055A6C 000529CC 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 80055A70 000529D0 C0 1D 00 64 */ lfs f0, 0x64(r29) +/* 80055A74 000529D4 D0 1F 00 D0 */ stfs f0, 0xd0(r31) +/* 80055A78 000529D8 98 9F 00 D4 */ stb r4, 0xd4(r31) +/* 80055A7C 000529DC 90 7F 00 D8 */ stw r3, 0xd8(r31) +/* 80055A80 000529E0 41 82 00 08 */ beq lbl_80055A88 +/* 80055A84 000529E4 90 08 00 00 */ stw r0, 0(r8) +lbl_80055A88: +/* 80055A88 000529E8 35 08 00 04 */ addic. r8, r8, 4 +/* 80055A8C 000529EC 41 82 00 08 */ beq lbl_80055A94 +/* 80055A90 000529F0 90 08 00 00 */ stw r0, 0(r8) +lbl_80055A94: +/* 80055A94 000529F4 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055A98 000529F8 38 A0 00 00 */ li r5, 0 +/* 80055A9C 000529FC 50 A0 E8 04 */ rlwimi r0, r5, 0x1d, 0, 2 +/* 80055AA0 00052A00 38 80 00 01 */ li r4, 1 +/* 80055AA4 00052A04 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055AA8 00052A08 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055AAC 00052A0C 50 80 E0 C6 */ rlwimi r0, r4, 0x1c, 3, 3 +/* 80055AB0 00052A10 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055AB4 00052A14 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055AB8 00052A18 50 80 D9 08 */ rlwimi r0, r4, 0x1b, 4, 4 +/* 80055ABC 00052A1C 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055AC0 00052A20 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055AC4 00052A24 50 80 D1 4A */ rlwimi r0, r4, 0x1a, 5, 5 +/* 80055AC8 00052A28 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055ACC 00052A2C 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055AD0 00052A30 50 A0 C9 8C */ rlwimi r0, r5, 0x19, 6, 6 +/* 80055AD4 00052A34 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055AD8 00052A38 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055ADC 00052A3C 50 80 C1 CE */ rlwimi r0, r4, 0x18, 7, 7 +/* 80055AE0 00052A40 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055AE4 00052A44 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055AE8 00052A48 50 A0 BA 10 */ rlwimi r0, r5, 0x17, 8, 8 +/* 80055AEC 00052A4C 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055AF0 00052A50 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055AF4 00052A54 50 A0 B2 52 */ rlwimi r0, r5, 0x16, 9, 9 +/* 80055AF8 00052A58 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055AFC 00052A5C 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B00 00052A60 50 A0 AA 94 */ rlwimi r0, r5, 0x15, 0xa, 0xa +/* 80055B04 00052A64 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B08 00052A68 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B0C 00052A6C 50 80 A2 D6 */ rlwimi r0, r4, 0x14, 0xb, 0xb +/* 80055B10 00052A70 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B14 00052A74 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B18 00052A78 50 80 9B 18 */ rlwimi r0, r4, 0x13, 0xc, 0xc +/* 80055B1C 00052A7C 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B20 00052A80 88 7D 00 58 */ lbz r3, 0x58(r29) +/* 80055B24 00052A84 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B28 00052A88 50 60 5B 5A */ rlwimi r0, r3, 0xb, 0xd, 0xd +/* 80055B2C 00052A8C 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B30 00052A90 88 7D 00 58 */ lbz r3, 0x58(r29) +/* 80055B34 00052A94 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B38 00052A98 50 60 63 9C */ rlwimi r0, r3, 0xc, 0xe, 0xe +/* 80055B3C 00052A9C 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B40 00052AA0 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B44 00052AA4 50 A0 83 DE */ rlwimi r0, r5, 0x10, 0xf, 0xf +/* 80055B48 00052AA8 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B4C 00052AAC 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B50 00052AB0 50 A0 6C 24 */ rlwimi r0, r5, 0xd, 0x10, 0x12 +/* 80055B54 00052AB4 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B58 00052AB8 88 1D 00 58 */ lbz r0, 0x58(r29) +/* 80055B5C 00052ABC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80055B60 00052AC0 41 82 00 08 */ beq lbl_80055B68 +/* 80055B64 00052AC4 38 80 00 02 */ li r4, 2 +lbl_80055B68: +/* 80055B68 00052AC8 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B6C 00052ACC 50 80 5C E8 */ rlwimi r0, r4, 0xb, 0x13, 0x14 +/* 80055B70 00052AD0 38 C0 00 01 */ li r6, 1 +/* 80055B74 00052AD4 38 A0 00 00 */ li r5, 0 +/* 80055B78 00052AD8 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B7C 00052ADC 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B80 00052AE0 50 C0 55 6A */ rlwimi r0, r6, 0xa, 0x15, 0x15 +/* 80055B84 00052AE4 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B88 00052AE8 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B8C 00052AEC 50 A0 4D AC */ rlwimi r0, r5, 9, 0x16, 0x16 +/* 80055B90 00052AF0 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055B94 00052AF4 88 9D 00 54 */ lbz r4, 0x54(r29) +/* 80055B98 00052AF8 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055B9C 00052AFC 50 80 0D F4 */ rlwimi r0, r4, 1, 0x17, 0x1a +/* 80055BA0 00052B00 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055BA4 00052B04 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055BA8 00052B08 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80055BAC 00052B0C 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055BB0 00052B10 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055BB4 00052B14 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80055BB8 00052B18 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055BBC 00052B1C 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055BC0 00052B20 53 40 17 7A */ rlwimi r0, r26, 2, 0x1d, 0x1d +/* 80055BC4 00052B24 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055BC8 00052B28 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055BCC 00052B2C 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 80055BD0 00052B30 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055BD4 00052B34 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80055BD8 00052B38 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 80055BDC 00052B3C 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80055BE0 00052B40 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80055BE4 00052B44 28 03 00 00 */ cmplwi r3, 0 +/* 80055BE8 00052B48 41 82 00 70 */ beq lbl_80055C58 +/* 80055BEC 00052B4C 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 80055BF0 00052B50 28 00 00 00 */ cmplwi r0, 0 +/* 80055BF4 00052B54 41 82 00 0C */ beq lbl_80055C00 +/* 80055BF8 00052B58 38 9D 00 44 */ addi r4, r29, 0x44 +/* 80055BFC 00052B5C 48 0B F3 F5 */ bl "SetXRayModel__10CModelDataFRCQ24rstl11pair" +lbl_80055C00: +/* 80055C00 00052B60 80 1D 00 4C */ lwz r0, 0x4c(r29) +/* 80055C04 00052B64 28 00 00 00 */ cmplwi r0, 0 +/* 80055C08 00052B68 41 82 00 10 */ beq lbl_80055C18 +/* 80055C0C 00052B6C 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80055C10 00052B70 38 9D 00 4C */ addi r4, r29, 0x4c +/* 80055C14 00052B74 48 0B F6 41 */ bl "SetInfraModel__10CModelDataFRCQ24rstl11pair" +lbl_80055C18: +/* 80055C18 00052B78 88 1D 00 1C */ lbz r0, 0x1c(r29) +/* 80055C1C 00052B7C 28 00 00 00 */ cmplwi r0, 0 +/* 80055C20 00052B80 41 82 00 10 */ beq lbl_80055C30 +/* 80055C24 00052B84 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 80055C28 00052B88 2C 00 00 00 */ cmpwi r0, 0 +/* 80055C2C 00052B8C 40 82 00 10 */ bne lbl_80055C3C +lbl_80055C30: +/* 80055C30 00052B90 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 80055C34 00052B94 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80055C38 00052B98 90 03 00 18 */ stw r0, 0x18(r3) +lbl_80055C3C: +/* 80055C3C 00052B9C 88 1D 00 58 */ lbz r0, 0x58(r29) +/* 80055C40 00052BA0 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80055C44 00052BA4 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f +/* 80055C48 00052BA8 7C 04 00 34 */ cntlzw r4, r0 +/* 80055C4C 00052BAC 88 03 00 14 */ lbz r0, 0x14(r3) +/* 80055C50 00052BB0 50 80 0E 72 */ rlwimi r0, r4, 1, 0x19, 0x19 +/* 80055C54 00052BB4 98 03 00 14 */ stb r0, 0x14(r3) +lbl_80055C58: +/* 80055C58 00052BB8 83 7D 00 40 */ lwz r27, 0x40(r29) +/* 80055C5C 00052BBC 3C 1B 00 01 */ addis r0, r27, 1 +/* 80055C60 00052BC0 28 00 FF FF */ cmplwi r0, 0xffff +/* 80055C64 00052BC4 41 82 00 AC */ beq lbl_80055D10 +/* 80055C68 00052BC8 3C 60 80 3D */ lis r3, lbl_803CCF68@ha +/* 80055C6C 00052BCC 3B 20 00 00 */ li r25, 0 +/* 80055C70 00052BD0 38 83 CF 68 */ addi r4, r3, lbl_803CCF68@l +/* 80055C74 00052BD4 38 A0 00 00 */ li r5, 0 +/* 80055C78 00052BD8 38 60 00 0C */ li r3, 0xc +/* 80055C7C 00052BDC 48 2B FB F1 */ bl __nw__FUlPCcPCc +/* 80055C80 00052BE0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80055C84 00052BE4 41 82 00 48 */ beq lbl_80055CCC +/* 80055C88 00052BE8 3C 60 53 43 */ lis r3, 0x5343414E@ha +/* 80055C8C 00052BEC 93 61 00 18 */ stw r27, 0x18(r1) +/* 80055C90 00052BF0 38 03 41 4E */ addi r0, r3, 0x5343414E@l +/* 80055C94 00052BF4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80055C98 00052BF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80055C9C 00052BFC 38 61 00 0C */ addi r3, r1, 0xc +/* 80055CA0 00052C00 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80055CA4 00052C04 81 84 00 00 */ lwz r12, 0(r4) +/* 80055CA8 00052C08 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80055CAC 00052C0C 7D 89 03 A6 */ mtctr r12 +/* 80055CB0 00052C10 4E 80 04 21 */ bctrl +/* 80055CB4 00052C14 7F 43 D3 78 */ mr r3, r26 +/* 80055CB8 00052C18 38 81 00 0C */ addi r4, r1, 0xc +/* 80055CBC 00052C1C 3B 20 00 01 */ li r25, 1 +/* 80055CC0 00052C20 48 2E B1 E9 */ bl __ct__6CTokenFRC6CToken +/* 80055CC4 00052C24 38 00 00 00 */ li r0, 0 +/* 80055CC8 00052C28 90 1A 00 08 */ stw r0, 8(r26) +lbl_80055CCC: +/* 80055CCC 00052C2C 83 7F 00 98 */ lwz r27, 0x98(r31) +/* 80055CD0 00052C30 28 1B 00 00 */ cmplwi r27, 0 +/* 80055CD4 00052C34 41 82 00 1C */ beq lbl_80055CF0 +/* 80055CD8 00052C38 41 82 00 10 */ beq lbl_80055CE8 +/* 80055CDC 00052C3C 7F 63 DB 78 */ mr r3, r27 +/* 80055CE0 00052C40 38 80 00 00 */ li r4, 0 +/* 80055CE4 00052C44 48 2E B1 5D */ bl __dt__6CTokenFv +lbl_80055CE8: +/* 80055CE8 00052C48 7F 63 DB 78 */ mr r3, r27 +/* 80055CEC 00052C4C 48 2B FC 45 */ bl Free__7CMemoryFPCv +lbl_80055CF0: +/* 80055CF0 00052C50 7F 20 07 75 */ extsb. r0, r25 +/* 80055CF4 00052C54 93 5F 00 98 */ stw r26, 0x98(r31) +/* 80055CF8 00052C58 41 82 00 10 */ beq lbl_80055D08 +/* 80055CFC 00052C5C 38 61 00 0C */ addi r3, r1, 0xc +/* 80055D00 00052C60 38 80 FF FF */ li r4, -1 +/* 80055D04 00052C64 48 2E B1 3D */ bl __dt__6CTokenFv +lbl_80055D08: +/* 80055D08 00052C68 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 80055D0C 00052C6C 48 2E B0 79 */ bl Lock__6CTokenFv +lbl_80055D10: +/* 80055D10 00052C70 7F E3 FB 78 */ mr r3, r31 +/* 80055D14 00052C74 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 80055D18 00052C78 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80055D1C 00052C7C 7C 08 03 A6 */ mtlr r0 +/* 80055D20 00052C80 38 21 00 70 */ addi r1, r1, 0x70 +/* 80055D24 00052C84 4E 80 00 20 */ blr + +.global MakeActorMaterialList__FRC13CMaterialListRC16CActorParameters +MakeActorMaterialList__FRC13CMaterialListRC16CActorParameters: +/* 80055D28 00052C88 88 05 00 54 */ lbz r0, 0x54(r5) +/* 80055D2C 00052C8C 80 C4 00 00 */ lwz r6, 0(r4) +/* 80055D30 00052C90 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80055D34 00052C94 80 84 00 04 */ lwz r4, 4(r4) +/* 80055D38 00052C98 41 82 00 08 */ beq lbl_80055D40 +/* 80055D3C 00052C9C 60 C6 40 00 */ ori r6, r6, 0x4000 +lbl_80055D40: +/* 80055D40 00052CA0 88 05 00 54 */ lbz r0, 0x54(r5) +/* 80055D44 00052CA4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80055D48 00052CA8 41 82 00 0C */ beq lbl_80055D54 +/* 80055D4C 00052CAC 3C 00 08 00 */ lis r0, 0x800 +/* 80055D50 00052CB0 7C 84 03 78 */ or r4, r4, r0 +lbl_80055D54: +/* 80055D54 00052CB4 90 83 00 04 */ stw r4, 4(r3) +/* 80055D58 00052CB8 90 C3 00 00 */ stw r6, 0(r3) +/* 80055D5C 00052CBC 4E 80 00 20 */ blr + +.global CyclePauseState__6CWorldFv +CyclePauseState__6CWorldFv: +/* 80055D60 00052CC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80055D64 00052CC4 7C 08 02 A6 */ mflr r0 +/* 80055D68 00052CC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80055D6C 00052CCC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80055D70 00052CD0 7C 7F 1B 78 */ mr r31, r3 +/* 80055D74 00052CD4 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80055D78 00052CD8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80055D7C 00052CDC 40 82 00 18 */ bne lbl_80055D94 +/* 80055D80 00052CE0 38 80 00 01 */ li r4, 1 +/* 80055D84 00052CE4 48 00 02 71 */ bl SetLoadPauseState__6CWorldFb +/* 80055D88 00052CE8 7F E3 FB 78 */ mr r3, r31 +/* 80055D8C 00052CEC 38 80 00 00 */ li r4, 0 +/* 80055D90 00052CF0 48 00 02 65 */ bl SetLoadPauseState__6CWorldFb +lbl_80055D94: +/* 80055D94 00052CF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80055D98 00052CF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80055D9C 00052CFC 7C 08 03 A6 */ mtlr r0 +/* 80055DA0 00052D00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80055DA4 00052D04 4E 80 00 20 */ blr + +.global StopSounds__6CWorldFv +StopSounds__6CWorldFv: +/* 80055DA8 00052D08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80055DAC 00052D0C 7C 08 02 A6 */ mflr r0 +/* 80055DB0 00052D10 90 01 00 24 */ stw r0, 0x24(r1) +/* 80055DB4 00052D14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80055DB8 00052D18 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80055DBC 00052D1C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80055DC0 00052D20 7C 7D 1B 78 */ mr r29, r3 +/* 80055DC4 00052D24 3B FD 00 CC */ addi r31, r29, 0xcc +/* 80055DC8 00052D28 7F FE FB 78 */ mr r30, r31 +/* 80055DCC 00052D2C 48 00 00 18 */ b lbl_80055DE4 +lbl_80055DD0: +/* 80055DD0 00052D30 80 1E 00 04 */ lwz r0, 4(r30) +/* 80055DD4 00052D34 38 61 00 08 */ addi r3, r1, 8 +/* 80055DD8 00052D38 90 01 00 08 */ stw r0, 8(r1) +/* 80055DDC 00052D3C 48 29 40 A9 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80055DE0 00052D40 3B DE 00 08 */ addi r30, r30, 8 +lbl_80055DE4: +/* 80055DE4 00052D44 80 BD 00 C8 */ lwz r5, 0xc8(r29) +/* 80055DE8 00052D48 54 A0 18 38 */ slwi r0, r5, 3 +/* 80055DEC 00052D4C 7C 1F 02 14 */ add r0, r31, r0 +/* 80055DF0 00052D50 7C 1E 00 40 */ cmplw r30, r0 +/* 80055DF4 00052D54 40 82 FF DC */ bne lbl_80055DD0 +/* 80055DF8 00052D58 2C 05 00 00 */ cmpwi r5, 0 +/* 80055DFC 00052D5C 38 60 00 00 */ li r3, 0 +/* 80055E00 00052D60 40 81 00 40 */ ble lbl_80055E40 +/* 80055E04 00052D64 2C 05 00 08 */ cmpwi r5, 8 +/* 80055E08 00052D68 38 85 FF F8 */ addi r4, r5, -8 +/* 80055E0C 00052D6C 40 81 00 20 */ ble lbl_80055E2C +/* 80055E10 00052D70 38 04 00 07 */ addi r0, r4, 7 +/* 80055E14 00052D74 54 00 E8 FE */ srwi r0, r0, 3 +/* 80055E18 00052D78 7C 09 03 A6 */ mtctr r0 +/* 80055E1C 00052D7C 2C 04 00 00 */ cmpwi r4, 0 +/* 80055E20 00052D80 40 81 00 0C */ ble lbl_80055E2C +lbl_80055E24: +/* 80055E24 00052D84 38 63 00 08 */ addi r3, r3, 8 +/* 80055E28 00052D88 42 00 FF FC */ bdnz lbl_80055E24 +lbl_80055E2C: +/* 80055E2C 00052D8C 7C 03 28 50 */ subf r0, r3, r5 +/* 80055E30 00052D90 7C 09 03 A6 */ mtctr r0 +/* 80055E34 00052D94 7C 03 28 00 */ cmpw r3, r5 +/* 80055E38 00052D98 40 80 00 08 */ bge lbl_80055E40 +lbl_80055E3C: +/* 80055E3C 00052D9C 42 00 00 00 */ bdnz lbl_80055E3C +lbl_80055E40: +/* 80055E40 00052DA0 38 00 00 00 */ li r0, 0 +/* 80055E44 00052DA4 90 1D 00 C8 */ stw r0, 0xc8(r29) +/* 80055E48 00052DA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80055E4C 00052DAC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80055E50 00052DB0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80055E54 00052DB4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80055E58 00052DB8 7C 08 03 A6 */ mtlr r0 +/* 80055E5C 00052DBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80055E60 00052DC0 4E 80 00 20 */ blr + +.global StopSound__6CWorldFs +StopSound__6CWorldFs: +/* 80055E64 00052DC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80055E68 00052DC8 7C 08 02 A6 */ mflr r0 +/* 80055E6C 00052DCC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80055E70 00052DD0 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 80055E74 00052DD4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80055E78 00052DD8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80055E7C 00052DDC 7C 7E 1B 78 */ mr r30, r3 +/* 80055E80 00052DE0 3B FE 00 CC */ addi r31, r30, 0xcc +/* 80055E84 00052DE4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80055E88 00052DE8 7F FD FB 78 */ mr r29, r31 +/* 80055E8C 00052DEC 80 63 00 C8 */ lwz r3, 0xc8(r3) +/* 80055E90 00052DF0 54 63 18 38 */ slwi r3, r3, 3 +/* 80055E94 00052DF4 7C 9F 1A 14 */ add r4, r31, r3 +/* 80055E98 00052DF8 48 00 00 80 */ b lbl_80055F18 +lbl_80055E9C: +/* 80055E9C 00052DFC A0 7D 00 00 */ lhz r3, 0(r29) +/* 80055EA0 00052E00 7C 03 00 40 */ cmplw r3, r0 +/* 80055EA4 00052E04 40 82 00 70 */ bne lbl_80055F14 +/* 80055EA8 00052E08 80 1D 00 04 */ lwz r0, 4(r29) +/* 80055EAC 00052E0C 38 61 00 08 */ addi r3, r1, 8 +/* 80055EB0 00052E10 90 01 00 08 */ stw r0, 8(r1) +/* 80055EB4 00052E14 48 29 3F D1 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80055EB8 00052E18 7C 1D F8 40 */ cmplw r29, r31 +/* 80055EBC 00052E1C 41 80 00 64 */ blt lbl_80055F20 +/* 80055EC0 00052E20 80 1E 00 C8 */ lwz r0, 0xc8(r30) +/* 80055EC4 00052E24 54 00 18 38 */ slwi r0, r0, 3 +/* 80055EC8 00052E28 7C 1F 02 14 */ add r0, r31, r0 +/* 80055ECC 00052E2C 7C 1D 00 40 */ cmplw r29, r0 +/* 80055ED0 00052E30 40 80 00 50 */ bge lbl_80055F20 +/* 80055ED4 00052E34 7F A5 EB 78 */ mr r5, r29 +/* 80055ED8 00052E38 48 00 00 18 */ b lbl_80055EF0 +lbl_80055EDC: +/* 80055EDC 00052E3C A0 05 00 08 */ lhz r0, 8(r5) +/* 80055EE0 00052E40 B0 05 00 00 */ sth r0, 0(r5) +/* 80055EE4 00052E44 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80055EE8 00052E48 90 05 00 04 */ stw r0, 4(r5) +/* 80055EEC 00052E4C 38 A5 00 08 */ addi r5, r5, 8 +lbl_80055EF0: +/* 80055EF0 00052E50 80 9E 00 C8 */ lwz r4, 0xc8(r30) +/* 80055EF4 00052E54 54 83 18 38 */ slwi r3, r4, 3 +/* 80055EF8 00052E58 38 03 FF F8 */ addi r0, r3, -8 +/* 80055EFC 00052E5C 7C 1F 02 14 */ add r0, r31, r0 +/* 80055F00 00052E60 7C 05 00 40 */ cmplw r5, r0 +/* 80055F04 00052E64 41 80 FF D8 */ blt lbl_80055EDC +/* 80055F08 00052E68 38 04 FF FF */ addi r0, r4, -1 +/* 80055F0C 00052E6C 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 80055F10 00052E70 48 00 00 10 */ b lbl_80055F20 +lbl_80055F14: +/* 80055F14 00052E74 3B BD 00 08 */ addi r29, r29, 8 +lbl_80055F18: +/* 80055F18 00052E78 7C 1D 20 40 */ cmplw r29, r4 +/* 80055F1C 00052E7C 40 82 FF 80 */ bne lbl_80055E9C +lbl_80055F20: +/* 80055F20 00052E80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80055F24 00052E84 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80055F28 00052E88 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80055F2C 00052E8C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80055F30 00052E90 7C 08 03 A6 */ mtlr r0 +/* 80055F34 00052E94 38 21 00 20 */ addi r1, r1, 0x20 + +.global sub_80055f38 +sub_80055f38: +/* 80055F38 00052E98 4E 80 00 20 */ blr + +.global AddGlobalSound__6CWorldFUs10CSfxHandle +AddGlobalSound__6CWorldFUs10CSfxHandle: +/* 80055F3C 00052E9C 80 03 00 C8 */ lwz r0, 0xc8(r3) +/* 80055F40 00052EA0 2C 00 00 0A */ cmpwi r0, 0xa +/* 80055F44 00052EA4 4C 80 00 20 */ bgelr +/* 80055F48 00052EA8 54 00 18 38 */ slwi r0, r0, 3 +/* 80055F4C 00052EAC 80 C5 00 00 */ lwz r6, 0(r5) +/* 80055F50 00052EB0 7C A3 02 14 */ add r5, r3, r0 +/* 80055F54 00052EB4 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 80055F58 00052EB8 34 A5 00 CC */ addic. r5, r5, 0xcc +/* 80055F5C 00052EBC 41 82 00 0C */ beq lbl_80055F68 +/* 80055F60 00052EC0 B0 05 00 00 */ sth r0, 0(r5) +/* 80055F64 00052EC4 90 C5 00 04 */ stw r6, 4(r5) +lbl_80055F68: +/* 80055F68 00052EC8 80 83 00 C8 */ lwz r4, 0xc8(r3) +/* 80055F6C 00052ECC 38 04 00 01 */ addi r0, r4, 1 +/* 80055F70 00052ED0 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 80055F74 00052ED4 4E 80 00 20 */ blr + +.global IsPlayingSound__6CWorldCFUi +IsPlayingSound__6CWorldCFUi: +/* 80055F78 00052ED8 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 80055F7C 00052EDC 38 C3 00 CC */ addi r6, r3, 0xcc +/* 80055F80 00052EE0 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 80055F84 00052EE4 54 A3 18 38 */ slwi r3, r5, 3 +/* 80055F88 00052EE8 7C 86 1A 14 */ add r4, r6, r3 +/* 80055F8C 00052EEC 48 00 00 1C */ b lbl_80055FA8 +lbl_80055F90: +/* 80055F90 00052EF0 A0 66 00 00 */ lhz r3, 0(r6) +/* 80055F94 00052EF4 7C 03 00 40 */ cmplw r3, r0 +/* 80055F98 00052EF8 40 82 00 0C */ bne lbl_80055FA4 +/* 80055F9C 00052EFC 38 60 00 01 */ li r3, 1 +/* 80055FA0 00052F00 4E 80 00 20 */ blr +lbl_80055FA4: +/* 80055FA4 00052F04 38 C6 00 08 */ addi r6, r6, 8 +lbl_80055FA8: +/* 80055FA8 00052F08 7C 06 20 40 */ cmplw r6, r4 +/* 80055FAC 00052F0C 40 82 FF E4 */ bne lbl_80055F90 +/* 80055FB0 00052F10 38 60 00 00 */ li r3, 0 +/* 80055FB4 00052F14 4E 80 00 20 */ blr + +.global MoveAreaToChain3__6CWorldF7TAreaId +MoveAreaToChain3__6CWorldF7TAreaId: +/* 80055FB8 00052F18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80055FBC 00052F1C 7C 08 02 A6 */ mflr r0 +/* 80055FC0 00052F20 38 A0 00 03 */ li r5, 3 +/* 80055FC4 00052F24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80055FC8 00052F28 80 04 00 00 */ lwz r0, 0(r4) +/* 80055FCC 00052F2C 80 C3 00 20 */ lwz r6, 0x20(r3) +/* 80055FD0 00052F30 54 04 18 38 */ slwi r4, r0, 3 +/* 80055FD4 00052F34 90 01 00 08 */ stw r0, 8(r1) +/* 80055FD8 00052F38 38 04 00 04 */ addi r0, r4, 4 +/* 80055FDC 00052F3C 7C 86 00 2E */ lwzx r4, r6, r0 +/* 80055FE0 00052F40 48 00 1B 55 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +/* 80055FE4 00052F44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80055FE8 00052F48 7C 08 03 A6 */ mtlr r0 +/* 80055FEC 00052F4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80055FF0 00052F50 4E 80 00 20 */ blr + +.global SetLoadPauseState__6CWorldFb +SetLoadPauseState__6CWorldFb: +/* 80055FF4 00052F54 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80055FF8 00052F58 7C 08 02 A6 */ mflr r0 +/* 80055FFC 00052F5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80056000 00052F60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80056004 00052F64 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80056008 00052F68 7C 9E 23 78 */ mr r30, r4 +/* 8005600C 00052F6C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80056010 00052F70 7C 7D 1B 78 */ mr r29, r3 +/* 80056014 00052F74 83 E3 00 54 */ lwz r31, 0x54(r3) +/* 80056018 00052F78 48 00 00 14 */ b lbl_8005602C +lbl_8005601C: +/* 8005601C 00052F7C 7F E3 FB 78 */ mr r3, r31 +/* 80056020 00052F80 7F C4 F3 78 */ mr r4, r30 +/* 80056024 00052F84 48 00 82 39 */ bl SetLoadPauseState__9CGameAreaFb +/* 80056028 00052F88 83 FF 01 30 */ lwz r31, 0x130(r31) +lbl_8005602C: +/* 8005602C 00052F8C 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13) +/* 80056030 00052F90 7C 00 F8 40 */ cmplw r0, r31 +/* 80056034 00052F94 40 82 FF E8 */ bne lbl_8005601C +/* 80056038 00052F98 88 1D 00 70 */ lbz r0, 0x70(r29) +/* 8005603C 00052F9C 53 C0 36 72 */ rlwimi r0, r30, 6, 0x19, 0x19 +/* 80056040 00052FA0 98 1D 00 70 */ stb r0, 0x70(r29) +/* 80056044 00052FA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80056048 00052FA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005604C 00052FAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80056050 00052FB0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80056054 00052FB4 7C 08 03 A6 */ mtlr r0 +/* 80056058 00052FB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005605C 00052FBC 4E 80 00 20 */ blr + +.global sub_80056060 +sub_80056060: +/* 80056060 00052FC0 3C 05 00 01 */ addis r0, r5, 1 +/* 80056064 00052FC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80056068 00052FC8 28 00 FF FF */ cmplwi r0, 0xffff +/* 8005606C 00052FCC 39 00 FF FF */ li r8, -1 +/* 80056070 00052FD0 41 82 00 50 */ beq lbl_800560C0 +/* 80056074 00052FD4 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80056078 00052FD8 39 20 00 00 */ li r9, 0 +/* 8005607C 00052FDC 38 C0 00 00 */ li r6, 0 +/* 80056080 00052FE0 7C 09 03 A6 */ mtctr r0 +/* 80056084 00052FE4 2C 00 00 00 */ cmpwi r0, 0 +/* 80056088 00052FE8 40 81 00 38 */ ble lbl_800560C0 +lbl_8005608C: +/* 8005608C 00052FEC 80 E4 00 20 */ lwz r7, 0x20(r4) +/* 80056090 00052FF0 38 06 00 04 */ addi r0, r6, 4 +/* 80056094 00052FF4 91 21 00 08 */ stw r9, 8(r1) +/* 80056098 00052FF8 7C E7 00 2E */ lwzx r7, r7, r0 +/* 8005609C 00052FFC 91 21 00 0C */ stw r9, 0xc(r1) +/* 800560A0 00053000 80 07 00 88 */ lwz r0, 0x88(r7) +/* 800560A4 00053004 7C 05 00 40 */ cmplw r5, r0 +/* 800560A8 00053008 40 82 00 0C */ bne lbl_800560B4 +/* 800560AC 0005300C 7D 28 4B 78 */ mr r8, r9 +/* 800560B0 00053010 48 00 00 10 */ b lbl_800560C0 +lbl_800560B4: +/* 800560B4 00053014 39 29 00 01 */ addi r9, r9, 1 +/* 800560B8 00053018 38 C6 00 08 */ addi r6, r6, 8 +/* 800560BC 0005301C 42 00 FF D0 */ bdnz lbl_8005608C +lbl_800560C0: +/* 800560C0 00053020 91 03 00 00 */ stw r8, 0(r3) +/* 800560C4 00053024 38 21 00 10 */ addi r1, r1, 0x10 +/* 800560C8 00053028 4E 80 00 20 */ blr + +.global IGetAreaId__6CWorldCF7TAreaId +IGetAreaId__6CWorldCF7TAreaId: +/* 800560CC 0005302C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800560D0 00053030 7C 08 02 A6 */ mflr r0 +/* 800560D4 00053034 90 01 00 14 */ stw r0, 0x14(r1) +/* 800560D8 00053038 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800560DC 0005303C 7C 7F 1B 78 */ mr r31, r3 +/* 800560E0 00053040 48 00 00 19 */ bl sub_800560f8 +/* 800560E4 00053044 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800560E8 00053048 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800560EC 0005304C 7C 08 03 A6 */ mtlr r0 +/* 800560F0 00053050 38 21 00 10 */ addi r1, r1, 0x10 +/* 800560F4 00053054 4E 80 00 20 */ blr + +.global sub_800560f8 +sub_800560f8: +/* 800560F8 00053058 3C 05 00 01 */ addis r0, r5, 1 +/* 800560FC 0005305C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80056100 00053060 28 00 FF FF */ cmplwi r0, 0xffff +/* 80056104 00053064 39 00 FF FF */ li r8, -1 +/* 80056108 00053068 41 82 00 50 */ beq lbl_80056158 +/* 8005610C 0005306C 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80056110 00053070 39 20 00 00 */ li r9, 0 +/* 80056114 00053074 38 C0 00 00 */ li r6, 0 +/* 80056118 00053078 7C 09 03 A6 */ mtctr r0 +/* 8005611C 0005307C 2C 00 00 00 */ cmpwi r0, 0 +/* 80056120 00053080 40 81 00 38 */ ble lbl_80056158 +lbl_80056124: +/* 80056124 00053084 80 E4 00 20 */ lwz r7, 0x20(r4) +/* 80056128 00053088 38 06 00 04 */ addi r0, r6, 4 +/* 8005612C 0005308C 91 21 00 08 */ stw r9, 8(r1) +/* 80056130 00053090 7C E7 00 2E */ lwzx r7, r7, r0 +/* 80056134 00053094 91 21 00 0C */ stw r9, 0xc(r1) +/* 80056138 00053098 80 07 00 84 */ lwz r0, 0x84(r7) +/* 8005613C 0005309C 7C 05 00 40 */ cmplw r5, r0 +/* 80056140 000530A0 40 82 00 0C */ bne lbl_8005614C +/* 80056144 000530A4 7D 28 4B 78 */ mr r8, r9 +/* 80056148 000530A8 48 00 00 10 */ b lbl_80056158 +lbl_8005614C: +/* 8005614C 000530AC 39 29 00 01 */ addi r9, r9, 1 +/* 80056150 000530B0 38 C6 00 08 */ addi r6, r6, 8 +/* 80056154 000530B4 42 00 FF D0 */ bdnz lbl_80056124 +lbl_80056158: +/* 80056158 000530B8 91 03 00 00 */ stw r8, 0(r3) +/* 8005615C 000530BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80056160 000530C0 4E 80 00 20 */ blr + +.global AreSkyNeedsMet__6CWorldCFv +AreSkyNeedsMet__6CWorldCFv: +/* 80056164 000530C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80056168 000530C8 7C 08 02 A6 */ mflr r0 +/* 8005616C 000530CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80056170 000530D0 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80056174 000530D4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80056178 000530D8 41 82 00 44 */ beq lbl_800561BC +/* 8005617C 000530DC 88 03 00 C0 */ lbz r0, 0xc0(r3) +/* 80056180 000530E0 28 00 00 00 */ cmplwi r0, 0 +/* 80056184 000530E4 41 82 00 14 */ beq lbl_80056198 +/* 80056188 000530E8 80 63 00 BC */ lwz r3, 0xbc(r3) +/* 8005618C 000530EC 38 80 00 00 */ li r4, 0 +/* 80056190 000530F0 48 2F F4 19 */ bl IsLoaded__6CModelCFi +/* 80056194 000530F4 48 00 00 2C */ b lbl_800561C0 +lbl_80056198: +/* 80056198 000530F8 88 03 00 B0 */ lbz r0, 0xb0(r3) +/* 8005619C 000530FC 28 00 00 00 */ cmplwi r0, 0 +/* 800561A0 00053100 41 82 00 14 */ beq lbl_800561B4 +/* 800561A4 00053104 80 63 00 AC */ lwz r3, 0xac(r3) +/* 800561A8 00053108 38 80 00 00 */ li r4, 0 +/* 800561AC 0005310C 48 2F F3 FD */ bl IsLoaded__6CModelCFi +/* 800561B0 00053110 48 00 00 10 */ b lbl_800561C0 +lbl_800561B4: +/* 800561B4 00053114 38 60 00 00 */ li r3, 0 +/* 800561B8 00053118 48 00 00 08 */ b lbl_800561C0 +lbl_800561BC: +/* 800561BC 0005311C 38 60 00 01 */ li r3, 1 +lbl_800561C0: +/* 800561C0 00053120 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800561C4 00053124 7C 08 03 A6 */ mtlr r0 +/* 800561C8 00053128 38 21 00 10 */ addi r1, r1, 0x10 +/* 800561CC 0005312C 4E 80 00 20 */ blr + +.global DrawSky__6CWorldCFRC12CTransform4f +DrawSky__6CWorldCFRC12CTransform4f: +/* 800561D0 00053130 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800561D4 00053134 7C 08 02 A6 */ mflr r0 +/* 800561D8 00053138 90 01 00 24 */ stw r0, 0x24(r1) +/* 800561DC 0005313C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800561E0 00053140 7C 7F 1B 78 */ mr r31, r3 +/* 800561E4 00053144 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800561E8 00053148 7C 9E 23 78 */ mr r30, r4 +/* 800561EC 0005314C 88 03 00 B0 */ lbz r0, 0xb0(r3) +/* 800561F0 00053150 28 00 00 00 */ cmplwi r0, 0 +/* 800561F4 00053154 40 82 00 10 */ bne lbl_80056204 +/* 800561F8 00053158 88 1F 00 C0 */ lbz r0, 0xc0(r31) +/* 800561FC 0005315C 28 00 00 00 */ cmplwi r0, 0 +/* 80056200 00053160 41 82 00 D8 */ beq lbl_800562D8 +lbl_80056204: +/* 80056204 00053164 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80056208 00053168 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8005620C 0005316C 41 82 00 CC */ beq lbl_800562D8 +/* 80056210 00053170 48 2B 67 6D */ bl DisableAllLights__9CGraphicsFv +/* 80056214 00053174 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80056218 00053178 7F C4 F3 78 */ mr r4, r30 +/* 8005621C 0005317C 81 83 00 00 */ lwz r12, 0(r3) +/* 80056220 00053180 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80056224 00053184 7D 89 03 A6 */ mtctr r12 +/* 80056228 00053188 4E 80 04 21 */ bctrl +/* 8005622C 0005318C 48 2F 3D 81 */ bl White__6CColorFv +/* 80056230 00053190 7C 64 1B 78 */ mr r4, r3 +/* 80056234 00053194 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80056238 00053198 81 83 00 00 */ lwz r12, 0(r3) +/* 8005623C 0005319C 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80056240 000531A0 7D 89 03 A6 */ mtctr r12 +/* 80056244 000531A4 4E 80 04 21 */ bctrl +/* 80056248 000531A8 C0 22 86 90 */ lfs f1, lbl_805AA3B0@sda21(r2) +/* 8005624C 000531AC C0 42 86 94 */ lfs f2, lbl_805AA3B4@sda21(r2) +/* 80056250 000531B0 48 2B 41 91 */ bl SetDepthRange__9CGraphicsFff +/* 80056254 000531B4 C0 22 86 94 */ lfs f1, lbl_805AA3B4@sda21(r2) +/* 80056258 000531B8 38 80 00 00 */ li r4, 0 +/* 8005625C 000531BC 38 00 00 03 */ li r0, 3 +/* 80056260 000531C0 98 81 00 08 */ stb r4, 8(r1) +/* 80056264 000531C4 FC 40 08 90 */ fmr f2, f1 +/* 80056268 000531C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8005626C 000531CC FC 60 08 90 */ fmr f3, f1 +/* 80056270 000531D0 98 81 00 09 */ stb r4, 9(r1) +/* 80056274 000531D4 FC 80 08 90 */ fmr f4, f1 +/* 80056278 000531D8 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8005627C 000531DC 48 30 D1 71 */ bl __ct__6CColorFffff +/* 80056280 000531E0 A0 61 00 0A */ lhz r3, 0xa(r1) +/* 80056284 000531E4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80056288 000531E8 88 1F 00 C0 */ lbz r0, 0xc0(r31) +/* 8005628C 000531EC 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d +/* 80056290 000531F0 88 E1 00 08 */ lbz r7, 8(r1) +/* 80056294 000531F4 60 65 00 01 */ ori r5, r3, 1 +/* 80056298 000531F8 88 C1 00 09 */ lbz r6, 9(r1) +/* 8005629C 000531FC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800562A0 00053200 28 00 00 00 */ cmplwi r0, 0 +/* 800562A4 00053204 98 E1 00 10 */ stb r7, 0x10(r1) +/* 800562A8 00053208 98 C1 00 11 */ stb r6, 0x11(r1) +/* 800562AC 0005320C B0 A1 00 12 */ sth r5, 0x12(r1) +/* 800562B0 00053210 90 61 00 14 */ stw r3, 0x14(r1) +/* 800562B4 00053214 41 82 00 0C */ beq lbl_800562C0 +/* 800562B8 00053218 38 7F 00 B4 */ addi r3, r31, 0xb4 +/* 800562BC 0005321C 48 00 00 08 */ b lbl_800562C4 +lbl_800562C0: +/* 800562C0 00053220 38 7F 00 A4 */ addi r3, r31, 0xa4 +lbl_800562C4: +/* 800562C4 00053224 80 63 00 08 */ lwz r3, 8(r3) +/* 800562C8 00053228 48 2F F9 0D */ bl Draw__6CModelCFRC11CModelFlags +/* 800562CC 0005322C C0 22 86 98 */ lfs f1, lbl_805AA3B8@sda21(r2) +/* 800562D0 00053230 C0 42 86 94 */ lfs f2, lbl_805AA3B4@sda21(r2) +/* 800562D4 00053234 48 2B 41 0D */ bl SetDepthRange__9CGraphicsFff +lbl_800562D8: +/* 800562D8 00053238 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800562DC 0005323C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800562E0 00053240 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800562E4 00053244 7C 08 03 A6 */ mtlr r0 +/* 800562E8 00053248 38 21 00 20 */ addi r1, r1, 0x20 +/* 800562EC 0005324C 4E 80 00 20 */ blr + +.global PreRender__6CWorldFv +PreRender__6CWorldFv: +/* 800562F0 00053250 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800562F4 00053254 7C 08 02 A6 */ mflr r0 +/* 800562F8 00053258 90 01 00 14 */ stw r0, 0x14(r1) +/* 800562FC 0005325C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80056300 00053260 83 E3 00 58 */ lwz r31, 0x58(r3) +/* 80056304 00053264 48 00 00 10 */ b lbl_80056314 +lbl_80056308: +/* 80056308 00053268 7F E3 FB 78 */ mr r3, r31 +/* 8005630C 0005326C 48 00 93 49 */ bl PreRender__9CGameAreaFv +/* 80056310 00053270 83 FF 01 30 */ lwz r31, 0x130(r31) +lbl_80056314: +/* 80056314 00053274 80 0D A2 1C */ lwz r0, lbl_805A8DDC@sda21(r13) +/* 80056318 00053278 7C 00 F8 40 */ cmplw r0, r31 +/* 8005631C 0005327C 40 82 FF EC */ bne lbl_80056308 +/* 80056320 00053280 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80056324 00053284 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80056328 00053288 7C 08 03 A6 */ mtlr r0 +/* 8005632C 0005328C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80056330 00053290 4E 80 00 20 */ blr + +.global Update__6CWorldFf +Update__6CWorldFf: +/* 80056334 00053294 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80056338 00053298 7C 08 02 A6 */ mflr r0 +/* 8005633C 0005329C 90 01 00 84 */ stw r0, 0x84(r1) +/* 80056340 000532A0 38 00 00 00 */ li r0, 0 +/* 80056344 000532A4 DB E1 00 78 */ stfd f31, 0x78(r1) +/* 80056348 000532A8 FF E0 08 90 */ fmr f31, f1 +/* 8005634C 000532AC BF 41 00 60 */ stmw r26, 0x60(r1) +/* 80056350 000532B0 7C 7C 1B 78 */ mr r28, r3 +/* 80056354 000532B4 3B E0 00 00 */ li r31, 0 +/* 80056358 000532B8 3B C0 00 00 */ li r30, 0 +/* 8005635C 000532BC 3B 40 00 00 */ li r26, 0 +/* 80056360 000532C0 3B A0 FF FF */ li r29, -1 +/* 80056364 000532C4 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 80056368 000532C8 83 63 00 58 */ lwz r27, 0x58(r3) +/* 8005636C 000532CC 48 00 00 8C */ b lbl_800563F8 +lbl_80056370: +/* 80056370 000532D0 FC 20 F8 90 */ fmr f1, f31 +/* 80056374 000532D4 7F 63 DB 78 */ mr r3, r27 +/* 80056378 000532D8 48 00 93 29 */ bl AliveUpdate__9CGameAreaFf +/* 8005637C 000532DC 7F 63 DB 78 */ mr r3, r27 +/* 80056380 000532E0 48 00 88 B5 */ bl DoesAreaNeedSkyNow__9CGameAreaCFv +/* 80056384 000532E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80056388 000532E8 41 82 00 54 */ beq lbl_800563DC +/* 8005638C 000532EC 80 7B 01 2C */ lwz r3, 0x12c(r27) +/* 80056390 000532F0 80 63 10 D8 */ lwz r3, 0x10d8(r3) +/* 80056394 000532F4 28 03 00 00 */ cmplwi r3, 0 +/* 80056398 000532F8 41 82 00 18 */ beq lbl_800563B0 +/* 8005639C 000532FC 80 63 00 4C */ lwz r3, 0x4c(r3) +/* 800563A0 00053300 3C 03 00 01 */ addis r0, r3, 1 +/* 800563A4 00053304 28 00 FF FF */ cmplwi r0, 0xffff +/* 800563A8 00053308 41 82 00 08 */ beq lbl_800563B0 +/* 800563AC 0005330C 7C 7D 1B 78 */ mr r29, r3 +lbl_800563B0: +/* 800563B0 00053310 88 1B 00 F0 */ lbz r0, 0xf0(r27) +/* 800563B4 00053314 3B E0 00 01 */ li r31, 1 +/* 800563B8 00053318 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800563BC 0005331C 41 82 00 10 */ beq lbl_800563CC +/* 800563C0 00053320 80 7B 01 2C */ lwz r3, 0x12c(r27) +/* 800563C4 00053324 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800563C8 00053328 48 00 00 08 */ b lbl_800563D0 +lbl_800563CC: +/* 800563CC 0005332C 38 00 00 00 */ li r0, 0 +lbl_800563D0: +/* 800563D0 00053330 2C 00 00 01 */ cmpwi r0, 1 +/* 800563D4 00053334 40 82 00 08 */ bne lbl_800563DC +/* 800563D8 00053338 3B C0 00 01 */ li r30, 1 +lbl_800563DC: +/* 800563DC 0005333C 7F 63 DB 78 */ mr r3, r27 +/* 800563E0 00053340 48 00 88 11 */ bl DoesAreaNeedEnvFx__9CGameAreaCFv +/* 800563E4 00053344 2C 03 00 00 */ cmpwi r3, 0 +/* 800563E8 00053348 41 82 00 08 */ beq lbl_800563F0 +/* 800563EC 0005334C 90 7C 00 C4 */ stw r3, 0xc4(r28) +lbl_800563F0: +/* 800563F0 00053350 83 7B 01 30 */ lwz r27, 0x130(r27) +/* 800563F4 00053354 3B 5A 00 01 */ addi r26, r26, 1 +lbl_800563F8: +/* 800563F8 00053358 80 0D A2 1C */ lwz r0, lbl_805A8DDC@sda21(r13) +/* 800563FC 0005335C 7C 00 D8 40 */ cmplw r0, r27 +/* 80056400 00053360 40 82 FF 70 */ bne lbl_80056370 +/* 80056404 00053364 2C 1A 00 00 */ cmpwi r26, 0 +/* 80056408 00053368 41 82 04 D8 */ beq lbl_800568E0 +/* 8005640C 0005336C 3C 1D 00 01 */ addis r0, r29, 1 +/* 80056410 00053370 28 00 FF FF */ cmplwi r0, 0xffff +/* 80056414 00053374 41 82 01 C0 */ beq lbl_800565D4 +/* 80056418 00053378 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8005641C 0005337C 41 82 01 B8 */ beq lbl_800565D4 +/* 80056420 00053380 88 1C 00 70 */ lbz r0, 0x70(r28) +/* 80056424 00053384 38 60 00 01 */ li r3, 1 +/* 80056428 00053388 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8005642C 0005338C 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 80056430 00053390 98 1C 00 70 */ stb r0, 0x70(r28) +/* 80056434 00053394 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 80056438 00053398 38 61 00 08 */ addi r3, r1, 8 +/* 8005643C 0005339C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80056440 000533A0 88 9C 00 70 */ lbz r4, 0x70(r28) +/* 80056444 000533A4 53 C4 26 F6 */ rlwimi r4, r30, 4, 0x1b, 0x1b +/* 80056448 000533A8 98 9C 00 70 */ stb r4, 0x70(r28) +/* 8005644C 000533AC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80056450 000533B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80056454 000533B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80056458 000533B8 81 84 00 00 */ lwz r12, 0(r4) +/* 8005645C 000533BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80056460 000533C0 7D 89 03 A6 */ mtctr r12 +/* 80056464 000533C4 4E 80 04 21 */ bctrl +/* 80056468 000533C8 3B 41 00 54 */ addi r26, r1, 0x54 +/* 8005646C 000533CC 38 81 00 08 */ addi r4, r1, 8 +/* 80056470 000533D0 7F 43 D3 78 */ mr r3, r26 +/* 80056474 000533D4 48 2E AA 35 */ bl __ct__6CTokenFRC6CToken +/* 80056478 000533D8 7F 43 D3 78 */ mr r3, r26 +/* 8005647C 000533DC 48 2E A9 91 */ bl GetObj__6CTokenFv +/* 80056480 000533E0 80 03 00 04 */ lwz r0, 4(r3) +/* 80056484 000533E4 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80056488 000533E8 88 1C 00 C0 */ lbz r0, 0xc0(r28) +/* 8005648C 000533EC 28 00 00 00 */ cmplwi r0, 0 +/* 80056490 000533F0 40 82 00 34 */ bne lbl_800564C4 +/* 80056494 000533F4 37 BC 00 B4 */ addic. r29, r28, 0xb4 +/* 80056498 000533F8 41 82 00 20 */ beq lbl_800564B8 +/* 8005649C 000533FC 7F A3 EB 78 */ mr r3, r29 +/* 800564A0 00053400 7F 44 D3 78 */ mr r4, r26 +/* 800564A4 00053404 48 2E AA 05 */ bl __ct__6CTokenFRC6CToken +/* 800564A8 00053408 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 800564AC 0005340C 7F A3 EB 78 */ mr r3, r29 +/* 800564B0 00053410 90 1D 00 08 */ stw r0, 8(r29) +/* 800564B4 00053414 48 2E A8 D1 */ bl Lock__6CTokenFv +lbl_800564B8: +/* 800564B8 00053418 38 00 00 01 */ li r0, 1 +/* 800564BC 0005341C 98 1C 00 C0 */ stb r0, 0xc0(r28) +/* 800564C0 00053420 48 00 00 1C */ b lbl_800564DC +lbl_800564C4: +/* 800564C4 00053424 3B BC 00 B4 */ addi r29, r28, 0xb4 +/* 800564C8 00053428 7F 44 D3 78 */ mr r4, r26 +/* 800564CC 0005342C 7F A3 EB 78 */ mr r3, r29 +/* 800564D0 00053430 48 2E A7 F5 */ bl __as__6CTokenFRC6CToken +/* 800564D4 00053434 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 800564D8 00053438 90 1D 00 08 */ stw r0, 8(r29) +lbl_800564DC: +/* 800564DC 0005343C 38 61 00 54 */ addi r3, r1, 0x54 +/* 800564E0 00053440 38 80 00 00 */ li r4, 0 +/* 800564E4 00053444 48 2E A9 5D */ bl __dt__6CTokenFv +/* 800564E8 00053448 38 61 00 08 */ addi r3, r1, 8 +/* 800564EC 0005344C 38 80 FF FF */ li r4, -1 +/* 800564F0 00053450 48 2E A9 51 */ bl __dt__6CTokenFv +/* 800564F4 00053454 3B BC 00 A4 */ addi r29, r28, 0xa4 +/* 800564F8 00053458 38 81 00 44 */ addi r4, r1, 0x44 +/* 800564FC 0005345C 38 00 00 00 */ li r0, 0 +/* 80056500 00053460 7C 1D 20 40 */ cmplw r29, r4 +/* 80056504 00053464 98 01 00 50 */ stb r0, 0x50(r1) +/* 80056508 00053468 41 82 00 84 */ beq lbl_8005658C +/* 8005650C 0005346C 28 00 00 00 */ cmplwi r0, 0 +/* 80056510 00053470 41 82 00 50 */ beq lbl_80056560 +/* 80056514 00053474 88 1C 00 B0 */ lbz r0, 0xb0(r28) +/* 80056518 00053478 28 00 00 00 */ cmplwi r0, 0 +/* 8005651C 0005347C 40 82 00 30 */ bne lbl_8005654C +/* 80056520 00053480 37 BC 00 A4 */ addic. r29, r28, 0xa4 +/* 80056524 00053484 41 82 00 1C */ beq lbl_80056540 +/* 80056528 00053488 7F A3 EB 78 */ mr r3, r29 +/* 8005652C 0005348C 48 2E A9 7D */ bl __ct__6CTokenFRC6CToken +/* 80056530 00053490 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80056534 00053494 7F A3 EB 78 */ mr r3, r29 +/* 80056538 00053498 90 1D 00 08 */ stw r0, 8(r29) +/* 8005653C 0005349C 48 2E A8 49 */ bl Lock__6CTokenFv +lbl_80056540: +/* 80056540 000534A0 38 00 00 01 */ li r0, 1 +/* 80056544 000534A4 98 1C 00 B0 */ stb r0, 0xb0(r28) +/* 80056548 000534A8 48 00 00 44 */ b lbl_8005658C +lbl_8005654C: +/* 8005654C 000534AC 7F A3 EB 78 */ mr r3, r29 +/* 80056550 000534B0 48 2E A7 75 */ bl __as__6CTokenFRC6CToken +/* 80056554 000534B4 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80056558 000534B8 90 1D 00 08 */ stw r0, 8(r29) +/* 8005655C 000534BC 48 00 00 30 */ b lbl_8005658C +lbl_80056560: +/* 80056560 000534C0 88 1C 00 B0 */ lbz r0, 0xb0(r28) +/* 80056564 000534C4 28 00 00 00 */ cmplwi r0, 0 +/* 80056568 000534C8 41 82 00 1C */ beq lbl_80056584 +/* 8005656C 000534CC 34 7C 00 A4 */ addic. r3, r28, 0xa4 +/* 80056570 000534D0 41 82 00 14 */ beq lbl_80056584 +/* 80056574 000534D4 28 03 00 00 */ cmplwi r3, 0 +/* 80056578 000534D8 41 82 00 0C */ beq lbl_80056584 +/* 8005657C 000534DC 38 80 00 00 */ li r4, 0 +/* 80056580 000534E0 48 2E A8 C1 */ bl __dt__6CTokenFv +lbl_80056584: +/* 80056584 000534E4 38 00 00 00 */ li r0, 0 +/* 80056588 000534E8 98 1C 00 B0 */ stb r0, 0xb0(r28) +lbl_8005658C: +/* 8005658C 000534EC 88 01 00 50 */ lbz r0, 0x50(r1) +/* 80056590 000534F0 28 00 00 00 */ cmplwi r0, 0 +/* 80056594 000534F4 41 82 00 1C */ beq lbl_800565B0 +/* 80056598 000534F8 34 61 00 44 */ addic. r3, r1, 0x44 +/* 8005659C 000534FC 41 82 00 14 */ beq lbl_800565B0 +/* 800565A0 00053500 28 03 00 00 */ cmplwi r3, 0 +/* 800565A4 00053504 41 82 00 0C */ beq lbl_800565B0 +/* 800565A8 00053508 38 80 00 00 */ li r4, 0 +/* 800565AC 0005350C 48 2E A8 95 */ bl __dt__6CTokenFv +lbl_800565B0: +/* 800565B0 00053510 38 80 00 00 */ li r4, 0 +/* 800565B4 00053514 98 81 00 50 */ stb r4, 0x50(r1) +/* 800565B8 00053518 88 1C 00 A0 */ lbz r0, 0xa0(r28) +/* 800565BC 0005351C 28 00 00 00 */ cmplwi r0, 0 +/* 800565C0 00053520 41 82 03 20 */ beq lbl_800568E0 +/* 800565C4 00053524 90 9C 00 9C */ stw r4, 0x9c(r28) +/* 800565C8 00053528 38 7C 00 94 */ addi r3, r28, 0x94 +/* 800565CC 0005352C 48 2E A7 75 */ bl Unlock__6CTokenFv +/* 800565D0 00053530 48 00 03 10 */ b lbl_800568E0 +lbl_800565D4: +/* 800565D4 00053534 3B BC 00 B4 */ addi r29, r28, 0xb4 +/* 800565D8 00053538 38 81 00 34 */ addi r4, r1, 0x34 +/* 800565DC 0005353C 38 00 00 00 */ li r0, 0 +/* 800565E0 00053540 7C 1D 20 40 */ cmplw r29, r4 +/* 800565E4 00053544 98 01 00 40 */ stb r0, 0x40(r1) +/* 800565E8 00053548 41 82 00 84 */ beq lbl_8005666C +/* 800565EC 0005354C 28 00 00 00 */ cmplwi r0, 0 +/* 800565F0 00053550 41 82 00 50 */ beq lbl_80056640 +/* 800565F4 00053554 88 1C 00 C0 */ lbz r0, 0xc0(r28) +/* 800565F8 00053558 28 00 00 00 */ cmplwi r0, 0 +/* 800565FC 0005355C 40 82 00 30 */ bne lbl_8005662C +/* 80056600 00053560 37 BC 00 B4 */ addic. r29, r28, 0xb4 +/* 80056604 00053564 41 82 00 1C */ beq lbl_80056620 +/* 80056608 00053568 7F A3 EB 78 */ mr r3, r29 +/* 8005660C 0005356C 48 2E A8 9D */ bl __ct__6CTokenFRC6CToken +/* 80056610 00053570 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80056614 00053574 7F A3 EB 78 */ mr r3, r29 +/* 80056618 00053578 90 1D 00 08 */ stw r0, 8(r29) +/* 8005661C 0005357C 48 2E A7 69 */ bl Lock__6CTokenFv +lbl_80056620: +/* 80056620 00053580 38 00 00 01 */ li r0, 1 +/* 80056624 00053584 98 1C 00 C0 */ stb r0, 0xc0(r28) +/* 80056628 00053588 48 00 00 44 */ b lbl_8005666C +lbl_8005662C: +/* 8005662C 0005358C 7F A3 EB 78 */ mr r3, r29 +/* 80056630 00053590 48 2E A6 95 */ bl __as__6CTokenFRC6CToken +/* 80056634 00053594 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80056638 00053598 90 1D 00 08 */ stw r0, 8(r29) +/* 8005663C 0005359C 48 00 00 30 */ b lbl_8005666C +lbl_80056640: +/* 80056640 000535A0 88 1C 00 C0 */ lbz r0, 0xc0(r28) +/* 80056644 000535A4 28 00 00 00 */ cmplwi r0, 0 +/* 80056648 000535A8 41 82 00 1C */ beq lbl_80056664 +/* 8005664C 000535AC 34 7C 00 B4 */ addic. r3, r28, 0xb4 +/* 80056650 000535B0 41 82 00 14 */ beq lbl_80056664 +/* 80056654 000535B4 28 03 00 00 */ cmplwi r3, 0 +/* 80056658 000535B8 41 82 00 0C */ beq lbl_80056664 +/* 8005665C 000535BC 38 80 00 00 */ li r4, 0 +/* 80056660 000535C0 48 2E A7 E1 */ bl __dt__6CTokenFv +lbl_80056664: +/* 80056664 000535C4 38 00 00 00 */ li r0, 0 +/* 80056668 000535C8 98 1C 00 C0 */ stb r0, 0xc0(r28) +lbl_8005666C: +/* 8005666C 000535CC 88 01 00 40 */ lbz r0, 0x40(r1) +/* 80056670 000535D0 28 00 00 00 */ cmplwi r0, 0 +/* 80056674 000535D4 41 82 00 1C */ beq lbl_80056690 +/* 80056678 000535D8 34 61 00 34 */ addic. r3, r1, 0x34 +/* 8005667C 000535DC 41 82 00 14 */ beq lbl_80056690 +/* 80056680 000535E0 28 03 00 00 */ cmplwi r3, 0 +/* 80056684 000535E4 41 82 00 0C */ beq lbl_80056690 +/* 80056688 000535E8 38 80 00 00 */ li r4, 0 +/* 8005668C 000535EC 48 2E A7 B5 */ bl __dt__6CTokenFv +lbl_80056690: +/* 80056690 000535F0 38 60 00 00 */ li r3, 0 +/* 80056694 000535F4 98 61 00 40 */ stb r3, 0x40(r1) +/* 80056698 000535F8 88 1C 00 A0 */ lbz r0, 0xa0(r28) +/* 8005669C 000535FC 28 00 00 00 */ cmplwi r0, 0 +/* 800566A0 00053600 40 82 00 20 */ bne lbl_800566C0 +/* 800566A4 00053604 88 1C 00 70 */ lbz r0, 0x70(r28) +/* 800566A8 00053608 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800566AC 0005360C 98 1C 00 70 */ stb r0, 0x70(r28) +/* 800566B0 00053610 88 1C 00 70 */ lbz r0, 0x70(r28) +/* 800566B4 00053614 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800566B8 00053618 98 1C 00 70 */ stb r0, 0x70(r28) +/* 800566BC 0005361C 48 00 02 24 */ b lbl_800568E0 +lbl_800566C0: +/* 800566C0 00053620 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800566C4 00053624 40 82 00 F0 */ bne lbl_800567B4 +/* 800566C8 00053628 3B BC 00 A4 */ addi r29, r28, 0xa4 +/* 800566CC 0005362C 38 81 00 24 */ addi r4, r1, 0x24 +/* 800566D0 00053630 7C 1D 20 40 */ cmplw r29, r4 +/* 800566D4 00053634 98 61 00 30 */ stb r3, 0x30(r1) +/* 800566D8 00053638 41 82 00 84 */ beq lbl_8005675C +/* 800566DC 0005363C 28 03 00 00 */ cmplwi r3, 0 +/* 800566E0 00053640 41 82 00 50 */ beq lbl_80056730 +/* 800566E4 00053644 88 1C 00 B0 */ lbz r0, 0xb0(r28) +/* 800566E8 00053648 28 00 00 00 */ cmplwi r0, 0 +/* 800566EC 0005364C 40 82 00 30 */ bne lbl_8005671C +/* 800566F0 00053650 37 BC 00 A4 */ addic. r29, r28, 0xa4 +/* 800566F4 00053654 41 82 00 1C */ beq lbl_80056710 +/* 800566F8 00053658 7F A3 EB 78 */ mr r3, r29 +/* 800566FC 0005365C 48 2E A7 AD */ bl __ct__6CTokenFRC6CToken +/* 80056700 00053660 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80056704 00053664 7F A3 EB 78 */ mr r3, r29 +/* 80056708 00053668 90 1D 00 08 */ stw r0, 8(r29) +/* 8005670C 0005366C 48 2E A6 79 */ bl Lock__6CTokenFv +lbl_80056710: +/* 80056710 00053670 38 00 00 01 */ li r0, 1 +/* 80056714 00053674 98 1C 00 B0 */ stb r0, 0xb0(r28) +/* 80056718 00053678 48 00 00 44 */ b lbl_8005675C +lbl_8005671C: +/* 8005671C 0005367C 7F A3 EB 78 */ mr r3, r29 +/* 80056720 00053680 48 2E A5 A5 */ bl __as__6CTokenFRC6CToken +/* 80056724 00053684 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80056728 00053688 90 1D 00 08 */ stw r0, 8(r29) +/* 8005672C 0005368C 48 00 00 30 */ b lbl_8005675C +lbl_80056730: +/* 80056730 00053690 88 1C 00 B0 */ lbz r0, 0xb0(r28) +/* 80056734 00053694 28 00 00 00 */ cmplwi r0, 0 +/* 80056738 00053698 41 82 00 1C */ beq lbl_80056754 +/* 8005673C 0005369C 34 7C 00 A4 */ addic. r3, r28, 0xa4 +/* 80056740 000536A0 41 82 00 14 */ beq lbl_80056754 +/* 80056744 000536A4 28 03 00 00 */ cmplwi r3, 0 +/* 80056748 000536A8 41 82 00 0C */ beq lbl_80056754 +/* 8005674C 000536AC 38 80 00 00 */ li r4, 0 +/* 80056750 000536B0 48 2E A6 F1 */ bl __dt__6CTokenFv +lbl_80056754: +/* 80056754 000536B4 38 00 00 00 */ li r0, 0 +/* 80056758 000536B8 98 1C 00 B0 */ stb r0, 0xb0(r28) +lbl_8005675C: +/* 8005675C 000536BC 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80056760 000536C0 28 00 00 00 */ cmplwi r0, 0 +/* 80056764 000536C4 41 82 00 1C */ beq lbl_80056780 +/* 80056768 000536C8 34 61 00 24 */ addic. r3, r1, 0x24 +/* 8005676C 000536CC 41 82 00 14 */ beq lbl_80056780 +/* 80056770 000536D0 28 03 00 00 */ cmplwi r3, 0 +/* 80056774 000536D4 41 82 00 0C */ beq lbl_80056780 +/* 80056778 000536D8 38 80 00 00 */ li r4, 0 +/* 8005677C 000536DC 48 2E A6 C5 */ bl __dt__6CTokenFv +lbl_80056780: +/* 80056780 000536E0 38 00 00 00 */ li r0, 0 +/* 80056784 000536E4 38 7C 00 94 */ addi r3, r28, 0x94 +/* 80056788 000536E8 98 01 00 30 */ stb r0, 0x30(r1) +/* 8005678C 000536EC 90 1C 00 9C */ stw r0, 0x9c(r28) +/* 80056790 000536F0 48 2E A5 B1 */ bl Unlock__6CTokenFv +/* 80056794 000536F4 88 1C 00 70 */ lbz r0, 0x70(r28) +/* 80056798 000536F8 38 60 00 00 */ li r3, 0 +/* 8005679C 000536FC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800567A0 00053700 98 1C 00 70 */ stb r0, 0x70(r28) +/* 800567A4 00053704 88 1C 00 70 */ lbz r0, 0x70(r28) +/* 800567A8 00053708 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800567AC 0005370C 98 1C 00 70 */ stb r0, 0x70(r28) +/* 800567B0 00053710 48 00 01 30 */ b lbl_800568E0 +lbl_800567B4: +/* 800567B4 00053714 88 1C 00 B0 */ lbz r0, 0xb0(r28) +/* 800567B8 00053718 28 00 00 00 */ cmplwi r0, 0 +/* 800567BC 0005371C 40 82 01 08 */ bne lbl_800568C4 +/* 800567C0 00053720 38 7C 00 94 */ addi r3, r28, 0x94 +/* 800567C4 00053724 48 2E A5 C1 */ bl Lock__6CTokenFv +/* 800567C8 00053728 3B BC 00 94 */ addi r29, r28, 0x94 +/* 800567CC 0005372C 80 1C 00 9C */ lwz r0, 0x9c(r28) +/* 800567D0 00053730 28 00 00 00 */ cmplwi r0, 0 +/* 800567D4 00053734 41 82 00 0C */ beq lbl_800567E0 +/* 800567D8 00053738 38 60 00 01 */ li r3, 1 +/* 800567DC 0005373C 48 00 00 3C */ b lbl_80056818 +lbl_800567E0: +/* 800567E0 00053740 88 1D 00 04 */ lbz r0, 4(r29) +/* 800567E4 00053744 28 00 00 00 */ cmplwi r0, 0 +/* 800567E8 00053748 41 82 00 2C */ beq lbl_80056814 +/* 800567EC 0005374C 80 7D 00 00 */ lwz r3, 0(r29) +/* 800567F0 00053750 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800567F4 00053754 28 00 00 00 */ cmplwi r0, 0 +/* 800567F8 00053758 41 82 00 1C */ beq lbl_80056814 +/* 800567FC 0005375C 7F A3 EB 78 */ mr r3, r29 +/* 80056800 00053760 48 2E A6 0D */ bl GetObj__6CTokenFv +/* 80056804 00053764 80 03 00 04 */ lwz r0, 4(r3) +/* 80056808 00053768 38 60 00 01 */ li r3, 1 +/* 8005680C 0005376C 90 1D 00 08 */ stw r0, 8(r29) +/* 80056810 00053770 48 00 00 08 */ b lbl_80056818 +lbl_80056814: +/* 80056814 00053774 38 60 00 00 */ li r3, 0 +lbl_80056818: +/* 80056818 00053778 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005681C 0005377C 41 82 00 A8 */ beq lbl_800568C4 +/* 80056820 00053780 83 BC 00 9C */ lwz r29, 0x9c(r28) +/* 80056824 00053784 38 80 00 00 */ li r4, 0 +/* 80056828 00053788 7F A3 EB 78 */ mr r3, r29 +/* 8005682C 0005378C 48 2F EE 09 */ bl Touch__6CModelCFi +/* 80056830 00053790 7F A3 EB 78 */ mr r3, r29 +/* 80056834 00053794 38 80 00 00 */ li r4, 0 +/* 80056838 00053798 48 2F ED 71 */ bl IsLoaded__6CModelCFi +/* 8005683C 0005379C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80056840 000537A0 41 82 00 84 */ beq lbl_800568C4 +/* 80056844 000537A4 3B 41 00 18 */ addi r26, r1, 0x18 +/* 80056848 000537A8 38 9C 00 94 */ addi r4, r28, 0x94 +/* 8005684C 000537AC 7F 43 D3 78 */ mr r3, r26 +/* 80056850 000537B0 48 2E A6 59 */ bl __ct__6CTokenFRC6CToken +/* 80056854 000537B4 7F 43 D3 78 */ mr r3, r26 +/* 80056858 000537B8 48 2E A5 B5 */ bl GetObj__6CTokenFv +/* 8005685C 000537BC 80 03 00 04 */ lwz r0, 4(r3) +/* 80056860 000537C0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80056864 000537C4 88 1C 00 B0 */ lbz r0, 0xb0(r28) +/* 80056868 000537C8 28 00 00 00 */ cmplwi r0, 0 +/* 8005686C 000537CC 40 82 00 34 */ bne lbl_800568A0 +/* 80056870 000537D0 37 BC 00 A4 */ addic. r29, r28, 0xa4 +/* 80056874 000537D4 41 82 00 20 */ beq lbl_80056894 +/* 80056878 000537D8 7F A3 EB 78 */ mr r3, r29 +/* 8005687C 000537DC 7F 44 D3 78 */ mr r4, r26 +/* 80056880 000537E0 48 2E A6 29 */ bl __ct__6CTokenFRC6CToken +/* 80056884 000537E4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80056888 000537E8 7F A3 EB 78 */ mr r3, r29 +/* 8005688C 000537EC 90 1D 00 08 */ stw r0, 8(r29) +/* 80056890 000537F0 48 2E A4 F5 */ bl Lock__6CTokenFv +lbl_80056894: +/* 80056894 000537F4 38 00 00 01 */ li r0, 1 +/* 80056898 000537F8 98 1C 00 B0 */ stb r0, 0xb0(r28) +/* 8005689C 000537FC 48 00 00 1C */ b lbl_800568B8 +lbl_800568A0: +/* 800568A0 00053800 3B BC 00 A4 */ addi r29, r28, 0xa4 +/* 800568A4 00053804 7F 44 D3 78 */ mr r4, r26 +/* 800568A8 00053808 7F A3 EB 78 */ mr r3, r29 +/* 800568AC 0005380C 48 2E A4 19 */ bl __as__6CTokenFRC6CToken +/* 800568B0 00053810 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800568B4 00053814 90 1D 00 08 */ stw r0, 8(r29) +lbl_800568B8: +/* 800568B8 00053818 38 61 00 18 */ addi r3, r1, 0x18 +/* 800568BC 0005381C 38 80 00 00 */ li r4, 0 +/* 800568C0 00053820 48 2E A5 81 */ bl __dt__6CTokenFv +lbl_800568C4: +/* 800568C4 00053824 88 1C 00 70 */ lbz r0, 0x70(r28) +/* 800568C8 00053828 38 60 00 01 */ li r3, 1 +/* 800568CC 0005382C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800568D0 00053830 98 1C 00 70 */ stb r0, 0x70(r28) +/* 800568D4 00053834 88 1C 00 70 */ lbz r0, 0x70(r28) +/* 800568D8 00053838 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b +/* 800568DC 0005383C 98 1C 00 70 */ stb r0, 0x70(r28) +lbl_800568E0: +/* 800568E0 00053840 CB E1 00 78 */ lfd f31, 0x78(r1) +/* 800568E4 00053844 BB 41 00 60 */ lmw r26, 0x60(r1) +/* 800568E8 00053848 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800568EC 0005384C 7C 08 03 A6 */ mtlr r0 +/* 800568F0 00053850 38 21 00 80 */ addi r1, r1, 0x80 +/* 800568F4 00053854 4E 80 00 20 */ blr + +.global TouchSky__6CWorldCFv +TouchSky__6CWorldCFv: +/* 800568F8 00053858 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800568FC 0005385C 7C 08 02 A6 */ mflr r0 +/* 80056900 00053860 90 01 00 14 */ stw r0, 0x14(r1) +/* 80056904 00053864 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80056908 00053868 7C 7F 1B 78 */ mr r31, r3 +/* 8005690C 0005386C 88 03 00 B0 */ lbz r0, 0xb0(r3) +/* 80056910 00053870 28 00 00 00 */ cmplwi r0, 0 +/* 80056914 00053874 41 82 00 10 */ beq lbl_80056924 +/* 80056918 00053878 80 7F 00 AC */ lwz r3, 0xac(r31) +/* 8005691C 0005387C 38 80 00 00 */ li r4, 0 +/* 80056920 00053880 48 2F ED 15 */ bl Touch__6CModelCFi +lbl_80056924: +/* 80056924 00053884 88 1F 00 C0 */ lbz r0, 0xc0(r31) +/* 80056928 00053888 28 00 00 00 */ cmplwi r0, 0 +/* 8005692C 0005388C 41 82 00 10 */ beq lbl_8005693C +/* 80056930 00053890 80 7F 00 BC */ lwz r3, 0xbc(r31) +/* 80056934 00053894 38 80 00 00 */ li r4, 0 +/* 80056938 00053898 48 2F EC FD */ bl Touch__6CModelCFi +lbl_8005693C: +/* 8005693C 0005389C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80056940 000538A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80056944 000538A4 7C 08 03 A6 */ mtlr r0 +/* 80056948 000538A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005694C 000538AC 4E 80 00 20 */ blr + +.global IGetAreaCount__11CDummyWorldFv +IGetAreaCount__11CDummyWorldFv: +/* 80056950 000538B0 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 80056954 000538B4 4E 80 00 20 */ blr + +.global IGetDefaultAudioTrack__11CDummyWorldCFv +IGetDefaultAudioTrack__11CDummyWorldCFv: +/* 80056958 000538B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005695C 000538BC 7C 08 02 A6 */ mflr r0 +/* 80056960 000538C0 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80056964 000538C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80056968 000538C8 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 8005696C 000538CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80056970 000538D0 7C 7F 1B 78 */ mr r31, r3 +/* 80056974 000538D4 4B FA E3 45 */ bl string_l__4rstlFPCc +/* 80056978 000538D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005697C 000538DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80056980 000538E0 7C 08 03 A6 */ mtlr r0 +/* 80056984 000538E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80056988 000538E8 4E 80 00 20 */ blr + +.global IGetAreaId__11CDummyWorldCF7TAreaId +IGetAreaId__11CDummyWorldCF7TAreaId: +/* 8005698C 000538EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80056990 000538F0 7C 08 02 A6 */ mflr r0 +/* 80056994 000538F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80056998 000538F8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8005699C 000538FC 7C BD 2B 78 */ mr r29, r5 +/* 800569A0 00053900 3C 1D 00 01 */ addis r0, r29, 1 +/* 800569A4 00053904 7C 7B 1B 78 */ mr r27, r3 +/* 800569A8 00053908 28 00 FF FF */ cmplwi r0, 0xffff +/* 800569AC 0005390C 7C 9C 23 78 */ mr r28, r4 +/* 800569B0 00053910 41 82 00 5C */ beq lbl_80056A0C +/* 800569B4 00053914 83 FC 00 1C */ lwz r31, 0x1c(r28) +/* 800569B8 00053918 3B C0 00 00 */ li r30, 0 +/* 800569BC 0005391C 48 00 00 48 */ b lbl_80056A04 +lbl_800569C0: +/* 800569C0 00053920 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800569C4 00053924 7F 83 E3 78 */ mr r3, r28 +/* 800569C8 00053928 38 81 00 0C */ addi r4, r1, 0xc +/* 800569CC 0005392C 81 9C 00 00 */ lwz r12, 0(r28) +/* 800569D0 00053930 93 C1 00 08 */ stw r30, 8(r1) +/* 800569D4 00053934 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800569D8 00053938 7D 89 03 A6 */ mtctr r12 +/* 800569DC 0005393C 4E 80 04 21 */ bctrl +/* 800569E0 00053940 81 83 00 00 */ lwz r12, 0(r3) +/* 800569E4 00053944 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800569E8 00053948 7D 89 03 A6 */ mtctr r12 +/* 800569EC 0005394C 4E 80 04 21 */ bctrl +/* 800569F0 00053950 7C 1D 18 40 */ cmplw r29, r3 +/* 800569F4 00053954 40 82 00 0C */ bne lbl_80056A00 +/* 800569F8 00053958 93 DB 00 00 */ stw r30, 0(r27) +/* 800569FC 0005395C 48 00 00 18 */ b lbl_80056A14 +lbl_80056A00: +/* 80056A00 00053960 3B DE 00 01 */ addi r30, r30, 1 +lbl_80056A04: +/* 80056A04 00053964 7C 1E F8 00 */ cmpw r30, r31 +/* 80056A08 00053968 41 80 FF B8 */ blt lbl_800569C0 +lbl_80056A0C: +/* 80056A0C 0005396C 38 00 FF FF */ li r0, -1 +/* 80056A10 00053970 90 1B 00 00 */ stw r0, 0(r27) +lbl_80056A14: +/* 80056A14 00053974 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80056A18 00053978 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80056A1C 0005397C 7C 08 03 A6 */ mtlr r0 +/* 80056A20 00053980 38 21 00 30 */ addi r1, r1, 0x30 +/* 80056A24 00053984 4E 80 00 20 */ blr + +.global IGetCurrentAreaId__11CDummyWorldCFv +IGetCurrentAreaId__11CDummyWorldCFv: +/* 80056A28 00053988 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 80056A2C 0005398C 90 03 00 00 */ stw r0, 0(r3) +/* 80056A30 00053990 4E 80 00 20 */ blr + +.global IGetAreaAlways__11CDummyWorldCF7TAreaId +IGetAreaAlways__11CDummyWorldCF7TAreaId: +/* 80056A34 00053994 80 04 00 00 */ lwz r0, 0(r4) +/* 80056A38 00053998 80 83 00 24 */ lwz r4, 0x24(r3) +/* 80056A3C 0005399C 54 03 18 38 */ slwi r3, r0, 3 +/* 80056A40 000539A0 38 03 00 04 */ addi r0, r3, 4 +/* 80056A44 000539A4 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80056A48 000539A8 4E 80 00 20 */ blr + +.global IMapWorld__11CDummyWorldFv +IMapWorld__11CDummyWorldFv: +/* 80056A4C 000539AC 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 80056A50 000539B0 80 63 00 08 */ lwz r3, 8(r3) +/* 80056A54 000539B4 4E 80 00 20 */ blr + +.global IGetMapWorld__11CDummyWorldCFv +IGetMapWorld__11CDummyWorldCFv: +/* 80056A58 000539B8 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 80056A5C 000539BC 80 63 00 08 */ lwz r3, 8(r3) +/* 80056A60 000539C0 4E 80 00 20 */ blr + +.global IGetStringTableAssetId__11CDummyWorldCFv +IGetStringTableAssetId__11CDummyWorldCFv: +/* 80056A64 000539C4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80056A68 000539C8 4E 80 00 20 */ blr + +.global IGetSaveWorldAssetId__11CDummyWorldCFv +IGetSaveWorldAssetId__11CDummyWorldCFv: +/* 80056A6C 000539CC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80056A70 000539D0 4E 80 00 20 */ blr + +.global IGetWorldAssetId__11CDummyWorldCFv +IGetWorldAssetId__11CDummyWorldCFv: +/* 80056A74 000539D4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80056A78 000539D8 4E 80 00 20 */ blr + +.global ICheckWorldComplete__11CDummyWorldFv +ICheckWorldComplete__11CDummyWorldFv: +/* 80056A7C 000539DC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80056A80 000539E0 7C 08 02 A6 */ mflr r0 +/* 80056A84 000539E4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80056A88 000539E8 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 80056A8C 000539EC 7C 7B 1B 78 */ mr r27, r3 +/* 80056A90 000539F0 80 03 00 08 */ lwz r0, 8(r3) +/* 80056A94 000539F4 2C 00 00 02 */ cmpwi r0, 2 +/* 80056A98 000539F8 41 82 04 54 */ beq lbl_80056EEC +/* 80056A9C 000539FC 40 80 00 14 */ bge lbl_80056AB0 +/* 80056AA0 00053A00 2C 00 00 00 */ cmpwi r0, 0 +/* 80056AA4 00053A04 41 82 00 18 */ beq lbl_80056ABC +/* 80056AA8 00053A08 40 80 03 B8 */ bge lbl_80056E60 +/* 80056AAC 00053A0C 48 00 04 6C */ b lbl_80056F18 +lbl_80056AB0: +/* 80056AB0 00053A10 2C 00 00 04 */ cmpwi r0, 4 +/* 80056AB4 00053A14 40 80 04 64 */ bge lbl_80056F18 +/* 80056AB8 00053A18 48 00 04 58 */ b lbl_80056F10 +lbl_80056ABC: +/* 80056ABC 00053A1C 80 7B 00 30 */ lwz r3, 0x30(r27) +/* 80056AC0 00053A20 81 83 00 00 */ lwz r12, 0(r3) +/* 80056AC4 00053A24 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80056AC8 00053A28 7D 89 03 A6 */ mtctr r12 +/* 80056ACC 00053A2C 4E 80 04 21 */ bctrl +/* 80056AD0 00053A30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80056AD4 00053A34 40 82 00 0C */ bne lbl_80056AE0 +/* 80056AD8 00053A38 38 60 00 00 */ li r3, 0 +/* 80056ADC 00053A3C 48 00 04 40 */ b lbl_80056F1C +lbl_80056AE0: +/* 80056AE0 00053A40 80 9B 00 34 */ lwz r4, 0x34(r27) +/* 80056AE4 00053A44 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056AE8 00053A48 80 BB 00 38 */ lwz r5, 0x38(r27) +/* 80056AEC 00053A4C 48 2E 86 E1 */ bl __ct__15CMemoryInStreamFPCvUl +/* 80056AF0 00053A50 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056AF4 00053A54 48 2E 81 91 */ bl ReadLong__12CInputStreamFv +/* 80056AF8 00053A58 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056AFC 00053A5C 48 2E 81 89 */ bl ReadLong__12CInputStreamFv +/* 80056B00 00053A60 7C 7D 1B 78 */ mr r29, r3 +/* 80056B04 00053A64 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056B08 00053A68 48 2E 81 7D */ bl ReadLong__12CInputStreamFv +/* 80056B0C 00053A6C 28 1D 00 0F */ cmplwi r29, 0xf +/* 80056B10 00053A70 90 7B 00 10 */ stw r3, 0x10(r27) +/* 80056B14 00053A74 41 80 00 10 */ blt lbl_80056B24 +/* 80056B18 00053A78 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056B1C 00053A7C 48 2E 81 69 */ bl ReadLong__12CInputStreamFv +/* 80056B20 00053A80 90 7B 00 14 */ stw r3, 0x14(r27) +lbl_80056B24: +/* 80056B24 00053A84 28 1D 00 0C */ cmplwi r29, 0xc +/* 80056B28 00053A88 41 80 00 0C */ blt lbl_80056B34 +/* 80056B2C 00053A8C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056B30 00053A90 48 2E 81 55 */ bl ReadLong__12CInputStreamFv +lbl_80056B34: +/* 80056B34 00053A94 28 1D 00 11 */ cmplwi r29, 0x11 +/* 80056B38 00053A98 41 80 00 54 */ blt lbl_80056B8C +/* 80056B3C 00053A9C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80056B40 00053AA0 38 81 00 58 */ addi r4, r1, 0x58 +/* 80056B44 00053AA4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80056B48 00053AA8 48 00 06 91 */ bl "LoadRelays__FR12CInputStreamRQ24rstl44vector" +/* 80056B4C 00053AAC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80056B50 00053AB0 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80056B54 00053AB4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80056B58 00053AB8 90 61 00 14 */ stw r3, 0x14(r1) +/* 80056B5C 00053ABC 7C 64 1B 78 */ mr r4, r3 +/* 80056B60 00053AC0 7C 03 02 14 */ add r0, r3, r0 +/* 80056B64 00053AC4 90 61 00 10 */ stw r3, 0x10(r1) +/* 80056B68 00053AC8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80056B6C 00053ACC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80056B70 00053AD0 48 00 00 08 */ b lbl_80056B78 +lbl_80056B74: +/* 80056B74 00053AD4 38 84 00 0C */ addi r4, r4, 0xc +lbl_80056B78: +/* 80056B78 00053AD8 7C 04 00 40 */ cmplw r4, r0 +/* 80056B7C 00053ADC 40 82 FF F8 */ bne lbl_80056B74 +/* 80056B80 00053AE0 28 03 00 00 */ cmplwi r3, 0 +/* 80056B84 00053AE4 41 82 00 08 */ beq lbl_80056B8C +/* 80056B88 00053AE8 48 2B ED A9 */ bl Free__7CMemoryFPCv +lbl_80056B8C: +/* 80056B8C 00053AEC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056B90 00053AF0 48 2E 80 F5 */ bl ReadLong__12CInputStreamFv +/* 80056B94 00053AF4 7C 7E 1B 78 */ mr r30, r3 +/* 80056B98 00053AF8 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056B9C 00053AFC 48 2E 80 E9 */ bl ReadLong__12CInputStreamFv +/* 80056BA0 00053B00 7F C4 F3 78 */ mr r4, r30 +/* 80056BA4 00053B04 38 7B 00 18 */ addi r3, r27, 0x18 +/* 80056BA8 00053B08 48 00 2D E9 */ bl sub_80059990 +/* 80056BAC 00053B0C 3C 60 80 3D */ lis r3, lbl_803CCF70@ha +/* 80056BB0 00053B10 3B 80 00 00 */ li r28, 0 +/* 80056BB4 00053B14 3B E3 CF 70 */ addi r31, r3, lbl_803CCF70@l +/* 80056BB8 00053B18 48 00 00 D4 */ b lbl_80056C8C +lbl_80056BBC: +/* 80056BBC 00053B1C 38 9F 00 01 */ addi r4, r31, 1 +/* 80056BC0 00053B20 38 60 00 64 */ li r3, 0x64 +/* 80056BC4 00053B24 38 A0 00 00 */ li r5, 0 +/* 80056BC8 00053B28 48 2B EC A5 */ bl __nw__FUlPCcPCc +/* 80056BCC 00053B2C 7C 64 1B 79 */ or. r4, r3, r3 +/* 80056BD0 00053B30 41 82 00 18 */ beq lbl_80056BE8 +/* 80056BD4 00053B34 7F 85 E3 78 */ mr r5, r28 +/* 80056BD8 00053B38 7F A6 EB 78 */ mr r6, r29 +/* 80056BDC 00053B3C 38 81 00 58 */ addi r4, r1, 0x58 +/* 80056BE0 00053B40 48 00 77 F1 */ bl __ct__14CDummyGameAreaFR12CInputStreamii +/* 80056BE4 00053B44 7C 64 1B 78 */ mr r4, r3 +lbl_80056BE8: +/* 80056BE8 00053B48 7C 64 00 D0 */ neg r3, r4 +/* 80056BEC 00053B4C 80 1B 00 1C */ lwz r0, 0x1c(r27) +/* 80056BF0 00053B50 80 BB 00 20 */ lwz r5, 0x20(r27) +/* 80056BF4 00053B54 7C 63 23 78 */ or r3, r3, r4 +/* 80056BF8 00053B58 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80056BFC 00053B5C 90 81 00 34 */ stw r4, 0x34(r1) +/* 80056C00 00053B60 7C 00 28 00 */ cmpw r0, r5 +/* 80056C04 00053B64 98 61 00 30 */ stb r3, 0x30(r1) +/* 80056C08 00053B68 41 80 00 1C */ blt lbl_80056C24 +/* 80056C0C 00053B6C 2C 05 00 00 */ cmpwi r5, 0 +/* 80056C10 00053B70 38 7B 00 18 */ addi r3, r27, 0x18 +/* 80056C14 00053B74 38 80 00 04 */ li r4, 4 +/* 80056C18 00053B78 41 82 00 08 */ beq lbl_80056C20 +/* 80056C1C 00053B7C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80056C20: +/* 80056C20 00053B80 48 00 2D 71 */ bl sub_80059990 +lbl_80056C24: +/* 80056C24 00053B84 80 1B 00 1C */ lwz r0, 0x1c(r27) +/* 80056C28 00053B88 80 7B 00 24 */ lwz r3, 0x24(r27) +/* 80056C2C 00053B8C 54 00 18 38 */ slwi r0, r0, 3 +/* 80056C30 00053B90 7C A3 02 15 */ add. r5, r3, r0 +/* 80056C34 00053B94 41 82 00 1C */ beq lbl_80056C50 +/* 80056C38 00053B98 88 81 00 30 */ lbz r4, 0x30(r1) +/* 80056C3C 00053B9C 38 00 00 00 */ li r0, 0 +/* 80056C40 00053BA0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80056C44 00053BA4 98 85 00 00 */ stb r4, 0(r5) +/* 80056C48 00053BA8 90 65 00 04 */ stw r3, 4(r5) +/* 80056C4C 00053BAC 98 01 00 30 */ stb r0, 0x30(r1) +lbl_80056C50: +/* 80056C50 00053BB0 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 80056C54 00053BB4 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80056C58 00053BB8 38 63 00 01 */ addi r3, r3, 1 +/* 80056C5C 00053BBC 28 00 00 00 */ cmplwi r0, 0 +/* 80056C60 00053BC0 90 7B 00 1C */ stw r3, 0x1c(r27) +/* 80056C64 00053BC4 41 82 00 24 */ beq lbl_80056C88 +/* 80056C68 00053BC8 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80056C6C 00053BCC 28 03 00 00 */ cmplwi r3, 0 +/* 80056C70 00053BD0 41 82 00 18 */ beq lbl_80056C88 +/* 80056C74 00053BD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80056C78 00053BD8 38 80 00 01 */ li r4, 1 +/* 80056C7C 00053BDC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80056C80 00053BE0 7D 89 03 A6 */ mtctr r12 +/* 80056C84 00053BE4 4E 80 04 21 */ bctrl +lbl_80056C88: +/* 80056C88 00053BE8 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80056C8C: +/* 80056C8C 00053BEC 7C 1C F0 00 */ cmpw r28, r30 +/* 80056C90 00053BF0 41 80 FF 2C */ blt lbl_80056BBC +/* 80056C94 00053BF4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056C98 00053BF8 48 2E 7F ED */ bl ReadLong__12CInputStreamFv +/* 80056C9C 00053BFC 90 7B 00 28 */ stw r3, 0x28(r27) +/* 80056CA0 00053C00 88 1B 00 04 */ lbz r0, 4(r27) +/* 80056CA4 00053C04 28 00 00 00 */ cmplwi r0, 0 +/* 80056CA8 00053C08 41 82 00 B4 */ beq lbl_80056D5C +/* 80056CAC 00053C0C 3C 60 80 3D */ lis r3, lbl_803CCF70@ha +/* 80056CB0 00053C10 3B E0 00 00 */ li r31, 0 +/* 80056CB4 00053C14 38 83 CF 70 */ addi r4, r3, lbl_803CCF70@l +/* 80056CB8 00053C18 38 60 00 0C */ li r3, 0xc +/* 80056CBC 00053C1C 38 84 00 01 */ addi r4, r4, 1 +/* 80056CC0 00053C20 38 A0 00 00 */ li r5, 0 +/* 80056CC4 00053C24 48 2B EB A9 */ bl __nw__FUlPCcPCc +/* 80056CC8 00053C28 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80056CCC 00053C2C 41 82 00 4C */ beq lbl_80056D18 +/* 80056CD0 00053C30 80 DB 00 28 */ lwz r6, 0x28(r27) +/* 80056CD4 00053C34 3C 60 4D 41 */ lis r3, 0x4D415057@ha +/* 80056CD8 00053C38 38 03 50 57 */ addi r0, r3, 0x4D415057@l +/* 80056CDC 00053C3C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80056CE0 00053C40 90 01 00 28 */ stw r0, 0x28(r1) +/* 80056CE4 00053C44 38 61 00 20 */ addi r3, r1, 0x20 +/* 80056CE8 00053C48 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80056CEC 00053C4C 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80056CF0 00053C50 81 84 00 00 */ lwz r12, 0(r4) +/* 80056CF4 00053C54 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80056CF8 00053C58 7D 89 03 A6 */ mtctr r12 +/* 80056CFC 00053C5C 4E 80 04 21 */ bctrl +/* 80056D00 00053C60 7F 83 E3 78 */ mr r3, r28 +/* 80056D04 00053C64 38 81 00 20 */ addi r4, r1, 0x20 +/* 80056D08 00053C68 3B E0 00 01 */ li r31, 1 +/* 80056D0C 00053C6C 48 2E A1 9D */ bl __ct__6CTokenFRC6CToken +/* 80056D10 00053C70 38 00 00 00 */ li r0, 0 +/* 80056D14 00053C74 90 1C 00 08 */ stw r0, 8(r28) +lbl_80056D18: +/* 80056D18 00053C78 83 DB 00 2C */ lwz r30, 0x2c(r27) +/* 80056D1C 00053C7C 28 1E 00 00 */ cmplwi r30, 0 +/* 80056D20 00053C80 41 82 00 1C */ beq lbl_80056D3C +/* 80056D24 00053C84 41 82 00 10 */ beq lbl_80056D34 +/* 80056D28 00053C88 7F C3 F3 78 */ mr r3, r30 +/* 80056D2C 00053C8C 38 80 00 00 */ li r4, 0 +/* 80056D30 00053C90 48 2E A1 11 */ bl __dt__6CTokenFv +lbl_80056D34: +/* 80056D34 00053C94 7F C3 F3 78 */ mr r3, r30 +/* 80056D38 00053C98 48 2B EB F9 */ bl Free__7CMemoryFPCv +lbl_80056D3C: +/* 80056D3C 00053C9C 7F E0 07 75 */ extsb. r0, r31 +/* 80056D40 00053CA0 93 9B 00 2C */ stw r28, 0x2c(r27) +/* 80056D44 00053CA4 41 82 00 10 */ beq lbl_80056D54 +/* 80056D48 00053CA8 38 61 00 20 */ addi r3, r1, 0x20 +/* 80056D4C 00053CAC 38 80 FF FF */ li r4, -1 +/* 80056D50 00053CB0 48 2E A0 F1 */ bl __dt__6CTokenFv +lbl_80056D54: +/* 80056D54 00053CB4 80 7B 00 2C */ lwz r3, 0x2c(r27) +/* 80056D58 00053CB8 48 2E A0 2D */ bl Lock__6CTokenFv +lbl_80056D5C: +/* 80056D5C 00053CBC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056D60 00053CC0 48 2E 7F AD */ bl ReadChar__12CInputStreamFv +/* 80056D64 00053CC4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056D68 00053CC8 48 2E 7F 1D */ bl ReadLong__12CInputStreamFv +/* 80056D6C 00053CCC 28 1D 00 0A */ cmplwi r29, 0xa +/* 80056D70 00053CD0 40 81 00 34 */ ble lbl_80056DA4 +/* 80056D74 00053CD4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056D78 00053CD8 48 2E 7F 0D */ bl ReadLong__12CInputStreamFv +/* 80056D7C 00053CDC 7C 7C 1B 78 */ mr r28, r3 +/* 80056D80 00053CE0 3B C0 00 00 */ li r30, 0 +/* 80056D84 00053CE4 48 00 00 18 */ b lbl_80056D9C +lbl_80056D88: +/* 80056D88 00053CE8 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056D8C 00053CEC 48 2E 7E F9 */ bl ReadLong__12CInputStreamFv +/* 80056D90 00053CF0 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056D94 00053CF4 48 2E 7E F1 */ bl ReadLong__12CInputStreamFv +/* 80056D98 00053CF8 3B DE 00 01 */ addi r30, r30, 1 +lbl_80056D9C: +/* 80056D9C 00053CFC 7C 1E E0 00 */ cmpw r30, r28 +/* 80056DA0 00053D00 41 80 FF E8 */ blt lbl_80056D88 +lbl_80056DA4: +/* 80056DA4 00053D04 28 1D 00 0C */ cmplwi r29, 0xc +/* 80056DA8 00053D08 40 81 00 1C */ ble lbl_80056DC4 +/* 80056DAC 00053D0C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80056DB0 00053D10 38 81 00 58 */ addi r4, r1, 0x58 +/* 80056DB4 00053D14 38 A1 00 08 */ addi r5, r1, 8 +/* 80056DB8 00053D18 48 2E 75 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80056DBC 00053D1C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80056DC0 00053D20 48 2E 6D 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80056DC4: +/* 80056DC4 00053D24 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 80056DC8 00053D28 7F A4 EB 78 */ mr r4, r29 +/* 80056DCC 00053D2C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056DD0 00053D30 48 00 24 4D */ bl ReadWorldLayers__12CWorldLayersFR12CInputStream +/* 80056DD4 00053D34 80 7B 00 30 */ lwz r3, 0x30(r27) +/* 80056DD8 00053D38 28 03 00 00 */ cmplwi r3, 0 +/* 80056DDC 00053D3C 41 82 00 18 */ beq lbl_80056DF4 +/* 80056DE0 00053D40 81 83 00 00 */ lwz r12, 0(r3) +/* 80056DE4 00053D44 38 80 00 01 */ li r4, 1 +/* 80056DE8 00053D48 81 8C 00 08 */ lwz r12, 8(r12) +/* 80056DEC 00053D4C 7D 89 03 A6 */ mtctr r12 +/* 80056DF0 00053D50 4E 80 04 21 */ bctrl +lbl_80056DF4: +/* 80056DF4 00053D54 38 00 00 00 */ li r0, 0 +/* 80056DF8 00053D58 90 1B 00 30 */ stw r0, 0x30(r27) +/* 80056DFC 00053D5C 80 7B 00 34 */ lwz r3, 0x34(r27) +/* 80056E00 00053D60 48 2B EB 31 */ bl Free__7CMemoryFPCv +/* 80056E04 00053D64 38 00 00 00 */ li r0, 0 +/* 80056E08 00053D68 90 1B 00 34 */ stw r0, 0x34(r27) +/* 80056E0C 00053D6C 90 1B 00 38 */ stw r0, 0x38(r27) +/* 80056E10 00053D70 88 1B 00 04 */ lbz r0, 4(r27) +/* 80056E14 00053D74 28 00 00 00 */ cmplwi r0, 0 +/* 80056E18 00053D78 40 82 00 28 */ bne lbl_80056E40 +/* 80056E1C 00053D7C 38 00 00 03 */ li r0, 3 +/* 80056E20 00053D80 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 80056E24 00053D84 90 1B 00 08 */ stw r0, 8(r27) +/* 80056E28 00053D88 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 80056E2C 00053D8C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056E30 00053D90 38 80 00 00 */ li r4, 0 +/* 80056E34 00053D94 90 01 00 58 */ stw r0, 0x58(r1) +/* 80056E38 00053D98 48 2E 82 75 */ bl __dt__12CInputStreamFv +/* 80056E3C 00053D9C 48 00 00 DC */ b lbl_80056F18 +lbl_80056E40: +/* 80056E40 00053DA0 38 00 00 01 */ li r0, 1 +/* 80056E44 00053DA4 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 80056E48 00053DA8 90 1B 00 08 */ stw r0, 8(r27) +/* 80056E4C 00053DAC 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 80056E50 00053DB0 38 61 00 58 */ addi r3, r1, 0x58 +/* 80056E54 00053DB4 38 80 00 00 */ li r4, 0 +/* 80056E58 00053DB8 90 01 00 58 */ stw r0, 0x58(r1) +/* 80056E5C 00053DBC 48 2E 82 51 */ bl __dt__12CInputStreamFv +lbl_80056E60: +/* 80056E60 00053DC0 83 9B 00 2C */ lwz r28, 0x2c(r27) +/* 80056E64 00053DC4 80 1C 00 08 */ lwz r0, 8(r28) +/* 80056E68 00053DC8 28 00 00 00 */ cmplwi r0, 0 +/* 80056E6C 00053DCC 41 82 00 0C */ beq lbl_80056E78 +/* 80056E70 00053DD0 38 60 00 01 */ li r3, 1 +/* 80056E74 00053DD4 48 00 00 3C */ b lbl_80056EB0 +lbl_80056E78: +/* 80056E78 00053DD8 88 1C 00 04 */ lbz r0, 4(r28) +/* 80056E7C 00053DDC 28 00 00 00 */ cmplwi r0, 0 +/* 80056E80 00053DE0 41 82 00 2C */ beq lbl_80056EAC +/* 80056E84 00053DE4 80 7C 00 00 */ lwz r3, 0(r28) +/* 80056E88 00053DE8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80056E8C 00053DEC 28 00 00 00 */ cmplwi r0, 0 +/* 80056E90 00053DF0 41 82 00 1C */ beq lbl_80056EAC +/* 80056E94 00053DF4 7F 83 E3 78 */ mr r3, r28 +/* 80056E98 00053DF8 48 2E 9F 75 */ bl GetObj__6CTokenFv +/* 80056E9C 00053DFC 80 03 00 04 */ lwz r0, 4(r3) +/* 80056EA0 00053E00 38 60 00 01 */ li r3, 1 +/* 80056EA4 00053E04 90 1C 00 08 */ stw r0, 8(r28) +/* 80056EA8 00053E08 48 00 00 08 */ b lbl_80056EB0 +lbl_80056EAC: +/* 80056EAC 00053E0C 38 60 00 00 */ li r3, 0 +lbl_80056EB0: +/* 80056EB0 00053E10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80056EB4 00053E14 40 82 00 0C */ bne lbl_80056EC0 +/* 80056EB8 00053E18 38 60 00 00 */ li r3, 0 +/* 80056EBC 00053E1C 48 00 00 60 */ b lbl_80056F1C +lbl_80056EC0: +/* 80056EC0 00053E20 7F 63 DB 78 */ mr r3, r27 +/* 80056EC4 00053E24 81 9B 00 00 */ lwz r12, 0(r27) +/* 80056EC8 00053E28 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80056ECC 00053E2C 7D 89 03 A6 */ mtctr r12 +/* 80056ED0 00053E30 4E 80 04 21 */ bctrl +/* 80056ED4 00053E34 7F 64 DB 78 */ mr r4, r27 +/* 80056ED8 00053E38 38 A0 00 00 */ li r5, 0 +/* 80056EDC 00053E3C 38 C0 27 0F */ li r6, 0x270f +/* 80056EE0 00053E40 48 04 A3 29 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii +/* 80056EE4 00053E44 38 00 00 02 */ li r0, 2 +/* 80056EE8 00053E48 90 1B 00 08 */ stw r0, 8(r27) +lbl_80056EEC: +/* 80056EEC 00053E4C 80 7B 00 2C */ lwz r3, 0x2c(r27) +/* 80056EF0 00053E50 80 63 00 08 */ lwz r3, 8(r3) +/* 80056EF4 00053E54 48 04 A2 8D */ bl IsMapAreasStreaming__9CMapWorldCFv +/* 80056EF8 00053E58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80056EFC 00053E5C 41 82 00 0C */ beq lbl_80056F08 +/* 80056F00 00053E60 38 60 00 00 */ li r3, 0 +/* 80056F04 00053E64 48 00 00 18 */ b lbl_80056F1C +lbl_80056F08: +/* 80056F08 00053E68 38 00 00 03 */ li r0, 3 +/* 80056F0C 00053E6C 90 1B 00 08 */ stw r0, 8(r27) +lbl_80056F10: +/* 80056F10 00053E70 38 60 00 01 */ li r3, 1 +/* 80056F14 00053E74 48 00 00 08 */ b lbl_80056F1C +lbl_80056F18: +/* 80056F18 00053E78 38 60 00 00 */ li r3, 0 +lbl_80056F1C: +/* 80056F1C 00053E7C BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 80056F20 00053E80 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80056F24 00053E84 7C 08 03 A6 */ mtlr r0 +/* 80056F28 00053E88 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80056F2C 00053E8C 4E 80 00 20 */ blr + +.global __dt__14CDummyGameAreaFv +__dt__14CDummyGameAreaFv: +/* 80056F30 00053E90 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80056F34 00053E94 7C 08 02 A6 */ mflr r0 +/* 80056F38 00053E98 90 01 00 24 */ stw r0, 0x24(r1) +/* 80056F3C 00053E9C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80056F40 00053EA0 7C 9F 23 78 */ mr r31, r4 +/* 80056F44 00053EA4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80056F48 00053EA8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80056F4C 00053EAC 41 82 00 80 */ beq lbl_80056FCC +/* 80056F50 00053EB0 3C 80 80 3E */ lis r4, lbl_803DA208@ha +/* 80056F54 00053EB4 38 7E 00 54 */ addi r3, r30, 0x54 +/* 80056F58 00053EB8 38 04 A2 08 */ addi r0, r4, lbl_803DA208@l +/* 80056F5C 00053EBC 38 80 FF FF */ li r4, -1 +/* 80056F60 00053EC0 90 1E 00 00 */ stw r0, 0(r30) +/* 80056F64 00053EC4 48 00 00 85 */ bl sub_80056fe8 +/* 80056F68 00053EC8 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 80056F6C 00053ECC 41 82 00 44 */ beq lbl_80056FB0 +/* 80056F70 00053ED0 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 80056F74 00053ED4 80 7E 00 50 */ lwz r3, 0x50(r30) +/* 80056F78 00053ED8 54 00 08 3C */ slwi r0, r0, 1 +/* 80056F7C 00053EDC 7C 03 02 14 */ add r0, r3, r0 +/* 80056F80 00053EE0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80056F84 00053EE4 7C 64 1B 78 */ mr r4, r3 +/* 80056F88 00053EE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80056F8C 00053EEC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80056F90 00053EF0 90 61 00 08 */ stw r3, 8(r1) +/* 80056F94 00053EF4 48 00 00 08 */ b lbl_80056F9C +lbl_80056F98: +/* 80056F98 00053EF8 38 84 00 02 */ addi r4, r4, 2 +lbl_80056F9C: +/* 80056F9C 00053EFC 7C 04 00 40 */ cmplw r4, r0 +/* 80056FA0 00053F00 40 82 FF F8 */ bne lbl_80056F98 +/* 80056FA4 00053F04 28 03 00 00 */ cmplwi r3, 0 +/* 80056FA8 00053F08 41 82 00 08 */ beq lbl_80056FB0 +/* 80056FAC 00053F0C 48 2B E9 85 */ bl Free__7CMemoryFPCv +lbl_80056FB0: +/* 80056FB0 00053F10 7F C3 F3 78 */ mr r3, r30 +/* 80056FB4 00053F14 38 80 00 00 */ li r4, 0 +/* 80056FB8 00053F18 48 00 CB 25 */ bl __dt__9IGameAreaFv +/* 80056FBC 00053F1C 7F E0 07 35 */ extsh. r0, r31 +/* 80056FC0 00053F20 40 81 00 0C */ ble lbl_80056FCC +/* 80056FC4 00053F24 7F C3 F3 78 */ mr r3, r30 +/* 80056FC8 00053F28 48 2B E9 69 */ bl Free__7CMemoryFPCv +lbl_80056FCC: +/* 80056FCC 00053F2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80056FD0 00053F30 7F C3 F3 78 */ mr r3, r30 +/* 80056FD4 00053F34 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80056FD8 00053F38 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80056FDC 00053F3C 7C 08 03 A6 */ mtlr r0 +/* 80056FE0 00053F40 38 21 00 20 */ addi r1, r1, 0x20 +/* 80056FE4 00053F44 4E 80 00 20 */ blr + +.global sub_80056fe8 +sub_80056fe8: +/* 80056FE8 00053F48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80056FEC 00053F4C 7C 08 02 A6 */ mflr r0 +/* 80056FF0 00053F50 90 01 00 24 */ stw r0, 0x24(r1) +/* 80056FF4 00053F54 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80056FF8 00053F58 7C 9F 23 78 */ mr r31, r4 +/* 80056FFC 00053F5C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80057000 00053F60 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80057004 00053F64 41 82 00 54 */ beq lbl_80057058 +/* 80057008 00053F68 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005700C 00053F6C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80057010 00053F70 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80057014 00053F74 38 81 00 0C */ addi r4, r1, 0xc +/* 80057018 00053F78 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 8005701C 00053F7C 7C A5 02 14 */ add r5, r5, r0 +/* 80057020 00053F80 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80057024 00053F84 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80057028 00053F88 90 A1 00 08 */ stw r5, 8(r1) +/* 8005702C 00053F8C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80057030 00053F90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80057034 00053F94 48 00 00 41 */ bl sub_80057074 +/* 80057038 00053F98 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8005703C 00053F9C 28 03 00 00 */ cmplwi r3, 0 +/* 80057040 00053FA0 41 82 00 08 */ beq lbl_80057048 +/* 80057044 00053FA4 48 2B E8 ED */ bl Free__7CMemoryFPCv +lbl_80057048: +/* 80057048 00053FA8 7F E0 07 35 */ extsh. r0, r31 +/* 8005704C 00053FAC 40 81 00 0C */ ble lbl_80057058 +/* 80057050 00053FB0 7F C3 F3 78 */ mr r3, r30 +/* 80057054 00053FB4 48 2B E8 DD */ bl Free__7CMemoryFPCv +lbl_80057058: +/* 80057058 00053FB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005705C 00053FBC 7F C3 F3 78 */ mr r3, r30 +/* 80057060 00053FC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80057064 00053FC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80057068 00053FC8 7C 08 03 A6 */ mtlr r0 +/* 8005706C 00053FCC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80057070 00053FD0 4E 80 00 20 */ blr + +.global sub_80057074 +sub_80057074: +/* 80057074 00053FD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80057078 00053FD8 7C 08 02 A6 */ mflr r0 +/* 8005707C 00053FDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80057080 00053FE0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80057084 00053FE4 93 C1 00 08 */ stw r30, 8(r1) +/* 80057088 00053FE8 7C 9E 23 78 */ mr r30, r4 +/* 8005708C 00053FEC 83 E3 00 00 */ lwz r31, 0(r3) +/* 80057090 00053FF0 48 00 00 10 */ b lbl_800570A0 +lbl_80057094: +/* 80057094 00053FF4 7F E3 FB 78 */ mr r3, r31 +/* 80057098 00053FF8 48 00 00 2D */ bl sub_800570c4 +/* 8005709C 00053FFC 3B FF 00 4C */ addi r31, r31, 0x4c +lbl_800570A0: +/* 800570A0 00054000 80 1E 00 00 */ lwz r0, 0(r30) +/* 800570A4 00054004 7C 1F 00 40 */ cmplw r31, r0 +/* 800570A8 00054008 40 82 FF EC */ bne lbl_80057094 +/* 800570AC 0005400C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800570B0 00054010 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800570B4 00054014 83 C1 00 08 */ lwz r30, 8(r1) +/* 800570B8 00054018 7C 08 03 A6 */ mtlr r0 +/* 800570BC 0005401C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800570C0 00054020 4E 80 00 20 */ blr + +.global sub_800570c4 +sub_800570c4: +/* 800570C4 00054024 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800570C8 00054028 7C 08 02 A6 */ mflr r0 +/* 800570CC 0005402C 38 80 FF FF */ li r4, -1 +/* 800570D0 00054030 90 01 00 14 */ stw r0, 0x14(r1) +/* 800570D4 00054034 48 00 00 15 */ bl sub_800570e8 +/* 800570D8 00054038 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800570DC 0005403C 7C 08 03 A6 */ mtlr r0 +/* 800570E0 00054040 38 21 00 10 */ addi r1, r1, 0x10 +/* 800570E4 00054044 4E 80 00 20 */ blr + +.global sub_800570e8 +sub_800570e8: +/* 800570E8 00054048 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800570EC 0005404C 7C 08 02 A6 */ mflr r0 +/* 800570F0 00054050 90 01 00 24 */ stw r0, 0x24(r1) +/* 800570F4 00054054 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800570F8 00054058 7C 9F 23 78 */ mr r31, r4 +/* 800570FC 0005405C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80057100 00054060 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80057104 00054064 41 82 00 B8 */ beq lbl_800571BC +/* 80057108 00054068 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8005710C 0005406C 41 82 00 58 */ beq lbl_80057164 +/* 80057110 00054070 80 BE 00 14 */ lwz r5, 0x14(r30) +/* 80057114 00054074 38 60 00 00 */ li r3, 0 +/* 80057118 00054078 2C 05 00 00 */ cmpwi r5, 0 +/* 8005711C 0005407C 40 81 00 40 */ ble lbl_8005715C +/* 80057120 00054080 2C 05 00 08 */ cmpwi r5, 8 +/* 80057124 00054084 38 85 FF F8 */ addi r4, r5, -8 +/* 80057128 00054088 40 81 00 20 */ ble lbl_80057148 +/* 8005712C 0005408C 38 04 00 07 */ addi r0, r4, 7 +/* 80057130 00054090 54 00 E8 FE */ srwi r0, r0, 3 +/* 80057134 00054094 7C 09 03 A6 */ mtctr r0 +/* 80057138 00054098 2C 04 00 00 */ cmpwi r4, 0 +/* 8005713C 0005409C 40 81 00 0C */ ble lbl_80057148 +lbl_80057140: +/* 80057140 000540A0 38 63 00 08 */ addi r3, r3, 8 +/* 80057144 000540A4 42 00 FF FC */ bdnz lbl_80057140 +lbl_80057148: +/* 80057148 000540A8 7C 03 28 50 */ subf r0, r3, r5 +/* 8005714C 000540AC 7C 09 03 A6 */ mtctr r0 +/* 80057150 000540B0 7C 03 28 00 */ cmpw r3, r5 +/* 80057154 000540B4 40 80 00 08 */ bge lbl_8005715C +lbl_80057158: +/* 80057158 000540B8 42 00 00 00 */ bdnz lbl_80057158 +lbl_8005715C: +/* 8005715C 000540BC 38 00 00 00 */ li r0, 0 +/* 80057160 000540C0 90 1E 00 14 */ stw r0, 0x14(r30) +lbl_80057164: +/* 80057164 000540C4 34 1E 00 04 */ addic. r0, r30, 4 +/* 80057168 000540C8 41 82 00 44 */ beq lbl_800571AC +/* 8005716C 000540CC 80 1E 00 08 */ lwz r0, 8(r30) +/* 80057170 000540D0 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80057174 000540D4 54 00 18 38 */ slwi r0, r0, 3 +/* 80057178 000540D8 7C 03 02 14 */ add r0, r3, r0 +/* 8005717C 000540DC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80057180 000540E0 7C 64 1B 78 */ mr r4, r3 +/* 80057184 000540E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80057188 000540E8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8005718C 000540EC 90 61 00 08 */ stw r3, 8(r1) +/* 80057190 000540F0 48 00 00 08 */ b lbl_80057198 +lbl_80057194: +/* 80057194 000540F4 38 84 00 08 */ addi r4, r4, 8 +lbl_80057198: +/* 80057198 000540F8 7C 04 00 40 */ cmplw r4, r0 +/* 8005719C 000540FC 40 82 FF F8 */ bne lbl_80057194 +/* 800571A0 00054100 28 03 00 00 */ cmplwi r3, 0 +/* 800571A4 00054104 41 82 00 08 */ beq lbl_800571AC +/* 800571A8 00054108 48 2B E7 89 */ bl Free__7CMemoryFPCv +lbl_800571AC: +/* 800571AC 0005410C 7F E0 07 35 */ extsh. r0, r31 +/* 800571B0 00054110 40 81 00 0C */ ble lbl_800571BC +/* 800571B4 00054114 7F C3 F3 78 */ mr r3, r30 +/* 800571B8 00054118 48 2B E7 79 */ bl Free__7CMemoryFPCv +lbl_800571BC: +/* 800571BC 0005411C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800571C0 00054120 7F C3 F3 78 */ mr r3, r30 +/* 800571C4 00054124 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800571C8 00054128 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800571CC 0005412C 7C 08 03 A6 */ mtlr r0 +/* 800571D0 00054130 38 21 00 20 */ addi r1, r1, 0x20 +/* 800571D4 00054134 4E 80 00 20 */ blr + +.global "LoadRelays__FR12CInputStreamRQ24rstl44vector" +"LoadRelays__FR12CInputStreamRQ24rstl44vector": +/* 800571D8 00054138 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800571DC 0005413C 7C 08 02 A6 */ mflr r0 +/* 800571E0 00054140 90 01 00 34 */ stw r0, 0x34(r1) +/* 800571E4 00054144 38 00 00 00 */ li r0, 0 +/* 800571E8 00054148 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800571EC 0005414C 7C 9F 23 78 */ mr r31, r4 +/* 800571F0 00054150 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800571F4 00054154 7C 7E 1B 78 */ mr r30, r3 +/* 800571F8 00054158 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800571FC 0005415C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80057200 00054160 90 03 00 04 */ stw r0, 4(r3) +/* 80057204 00054164 7F E3 FB 78 */ mr r3, r31 +/* 80057208 00054168 90 1E 00 08 */ stw r0, 8(r30) +/* 8005720C 0005416C 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80057210 00054170 48 2E 7A 75 */ bl ReadLong__12CInputStreamFv +/* 80057214 00054174 7C 7D 1B 78 */ mr r29, r3 +/* 80057218 00054178 7F C3 F3 78 */ mr r3, r30 +/* 8005721C 0005417C 7F A4 EB 78 */ mr r4, r29 +/* 80057220 00054180 48 00 23 DD */ bl "reserve__Q24rstl44vectorFi" +/* 80057224 00054184 3B 80 00 00 */ li r28, 0 +/* 80057228 00054188 48 00 00 7C */ b lbl_800572A4 +lbl_8005722C: +/* 8005722C 0005418C 7F E4 FB 78 */ mr r4, r31 +/* 80057230 00054190 38 61 00 08 */ addi r3, r1, 8 +/* 80057234 00054194 48 00 1F 81 */ bl __ct__6CRelayFR12CInputStream +/* 80057238 00054198 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005723C 0005419C 80 BE 00 08 */ lwz r5, 8(r30) +/* 80057240 000541A0 7C 00 28 00 */ cmpw r0, r5 +/* 80057244 000541A4 41 80 00 1C */ blt lbl_80057260 +/* 80057248 000541A8 2C 05 00 00 */ cmpwi r5, 0 +/* 8005724C 000541AC 7F C3 F3 78 */ mr r3, r30 +/* 80057250 000541B0 38 80 00 04 */ li r4, 4 +/* 80057254 000541B4 41 82 00 08 */ beq lbl_8005725C +/* 80057258 000541B8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005725C: +/* 8005725C 000541BC 48 00 23 A1 */ bl "reserve__Q24rstl44vectorFi" +lbl_80057260: +/* 80057260 000541C0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80057264 000541C4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80057268 000541C8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005726C 000541CC 7C 63 02 15 */ add. r3, r3, r0 +/* 80057270 000541D0 41 82 00 24 */ beq lbl_80057294 +/* 80057274 000541D4 80 01 00 08 */ lwz r0, 8(r1) +/* 80057278 000541D8 90 03 00 00 */ stw r0, 0(r3) +/* 8005727C 000541DC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80057280 000541E0 90 03 00 04 */ stw r0, 4(r3) +/* 80057284 000541E4 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80057288 000541E8 B0 03 00 08 */ sth r0, 8(r3) +/* 8005728C 000541EC 88 01 00 12 */ lbz r0, 0x12(r1) +/* 80057290 000541F0 98 03 00 0A */ stb r0, 0xa(r3) +lbl_80057294: +/* 80057294 000541F4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80057298 000541F8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8005729C 000541FC 38 03 00 01 */ addi r0, r3, 1 +/* 800572A0 00054200 90 1E 00 04 */ stw r0, 4(r30) +lbl_800572A4: +/* 800572A4 00054204 7C 1C E8 00 */ cmpw r28, r29 +/* 800572A8 00054208 41 80 FF 84 */ blt lbl_8005722C +/* 800572AC 0005420C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800572B0 00054210 7F C3 F3 78 */ mr r3, r30 +/* 800572B4 00054214 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800572B8 00054218 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800572BC 0005421C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800572C0 00054220 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800572C4 00054224 7C 08 03 A6 */ mtlr r0 +/* 800572C8 00054228 38 21 00 30 */ addi r1, r1, 0x30 +/* 800572CC 0005422C 4E 80 00 20 */ blr + +.global __dt__11CDummyWorldFv +__dt__11CDummyWorldFv: +/* 800572D0 00054230 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800572D4 00054234 7C 08 02 A6 */ mflr r0 +/* 800572D8 00054238 90 01 00 24 */ stw r0, 0x24(r1) +/* 800572DC 0005423C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800572E0 00054240 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800572E4 00054244 7C 9E 23 78 */ mr r30, r4 +/* 800572E8 00054248 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800572EC 0005424C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800572F0 00054250 41 82 00 9C */ beq lbl_8005738C +/* 800572F4 00054254 3C 60 80 3E */ lis r3, lbl_803D9FC0@ha +/* 800572F8 00054258 34 1D 00 34 */ addic. r0, r29, 0x34 +/* 800572FC 0005425C 38 03 9F C0 */ addi r0, r3, lbl_803D9FC0@l +/* 80057300 00054260 90 1D 00 00 */ stw r0, 0(r29) +/* 80057304 00054264 41 82 00 0C */ beq lbl_80057310 +/* 80057308 00054268 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 8005730C 0005426C 48 2B E6 25 */ bl Free__7CMemoryFPCv +lbl_80057310: +/* 80057310 00054270 34 1D 00 30 */ addic. r0, r29, 0x30 +/* 80057314 00054274 41 82 00 24 */ beq lbl_80057338 +/* 80057318 00054278 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8005731C 0005427C 28 03 00 00 */ cmplwi r3, 0 +/* 80057320 00054280 41 82 00 18 */ beq lbl_80057338 +/* 80057324 00054284 81 83 00 00 */ lwz r12, 0(r3) +/* 80057328 00054288 38 80 00 01 */ li r4, 1 +/* 8005732C 0005428C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80057330 00054290 7D 89 03 A6 */ mtctr r12 +/* 80057334 00054294 4E 80 04 21 */ bctrl +lbl_80057338: +/* 80057338 00054298 34 1D 00 2C */ addic. r0, r29, 0x2c +/* 8005733C 0005429C 41 82 00 28 */ beq lbl_80057364 +/* 80057340 000542A0 83 FD 00 2C */ lwz r31, 0x2c(r29) +/* 80057344 000542A4 28 1F 00 00 */ cmplwi r31, 0 +/* 80057348 000542A8 41 82 00 1C */ beq lbl_80057364 +/* 8005734C 000542AC 41 82 00 10 */ beq lbl_8005735C +/* 80057350 000542B0 7F E3 FB 78 */ mr r3, r31 +/* 80057354 000542B4 38 80 00 00 */ li r4, 0 +/* 80057358 000542B8 48 2E 9A E9 */ bl __dt__6CTokenFv +lbl_8005735C: +/* 8005735C 000542BC 7F E3 FB 78 */ mr r3, r31 +/* 80057360 000542C0 48 2B E5 D1 */ bl Free__7CMemoryFPCv +lbl_80057364: +/* 80057364 000542C4 38 7D 00 18 */ addi r3, r29, 0x18 +/* 80057368 000542C8 38 80 FF FF */ li r4, -1 +/* 8005736C 000542CC 48 00 00 41 */ bl sub_800573ac +/* 80057370 000542D0 7F A3 EB 78 */ mr r3, r29 +/* 80057374 000542D4 38 80 00 00 */ li r4, 0 +/* 80057378 000542D8 48 00 1D F5 */ bl __dt__6IWorldFv +/* 8005737C 000542DC 7F C0 07 35 */ extsh. r0, r30 +/* 80057380 000542E0 40 81 00 0C */ ble lbl_8005738C +/* 80057384 000542E4 7F A3 EB 78 */ mr r3, r29 +/* 80057388 000542E8 48 2B E5 A9 */ bl Free__7CMemoryFPCv +lbl_8005738C: +/* 8005738C 000542EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80057390 000542F0 7F A3 EB 78 */ mr r3, r29 +/* 80057394 000542F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80057398 000542F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005739C 000542FC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800573A0 00054300 7C 08 03 A6 */ mtlr r0 +/* 800573A4 00054304 38 21 00 20 */ addi r1, r1, 0x20 +/* 800573A8 00054308 4E 80 00 20 */ blr + +.global sub_800573ac +sub_800573ac: +/* 800573AC 0005430C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800573B0 00054310 7C 08 02 A6 */ mflr r0 +/* 800573B4 00054314 90 01 00 34 */ stw r0, 0x34(r1) +/* 800573B8 00054318 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800573BC 0005431C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800573C0 00054320 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800573C4 00054324 7C 9D 23 78 */ mr r29, r4 +/* 800573C8 00054328 93 81 00 20 */ stw r28, 0x20(r1) +/* 800573CC 0005432C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800573D0 00054330 41 82 00 88 */ beq lbl_80057458 +/* 800573D4 00054334 80 1C 00 04 */ lwz r0, 4(r28) +/* 800573D8 00054338 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 800573DC 0005433C 54 00 18 38 */ slwi r0, r0, 3 +/* 800573E0 00054340 7F FE 02 14 */ add r31, r30, r0 +/* 800573E4 00054344 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800573E8 00054348 93 E1 00 08 */ stw r31, 8(r1) +/* 800573EC 0005434C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800573F0 00054350 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800573F4 00054354 48 00 00 3C */ b lbl_80057430 +lbl_800573F8: +/* 800573F8 00054358 28 1E 00 00 */ cmplwi r30, 0 +/* 800573FC 0005435C 41 82 00 30 */ beq lbl_8005742C +/* 80057400 00054360 88 1E 00 00 */ lbz r0, 0(r30) +/* 80057404 00054364 28 00 00 00 */ cmplwi r0, 0 +/* 80057408 00054368 41 82 00 24 */ beq lbl_8005742C +/* 8005740C 0005436C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80057410 00054370 28 03 00 00 */ cmplwi r3, 0 +/* 80057414 00054374 41 82 00 18 */ beq lbl_8005742C +/* 80057418 00054378 81 83 00 00 */ lwz r12, 0(r3) +/* 8005741C 0005437C 38 80 00 01 */ li r4, 1 +/* 80057420 00054380 81 8C 00 08 */ lwz r12, 8(r12) +/* 80057424 00054384 7D 89 03 A6 */ mtctr r12 +/* 80057428 00054388 4E 80 04 21 */ bctrl +lbl_8005742C: +/* 8005742C 0005438C 3B DE 00 08 */ addi r30, r30, 8 +lbl_80057430: +/* 80057430 00054390 7C 1E F8 40 */ cmplw r30, r31 +/* 80057434 00054394 40 82 FF C4 */ bne lbl_800573F8 +/* 80057438 00054398 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8005743C 0005439C 28 03 00 00 */ cmplwi r3, 0 +/* 80057440 000543A0 41 82 00 08 */ beq lbl_80057448 +/* 80057444 000543A4 48 2B E4 ED */ bl Free__7CMemoryFPCv +lbl_80057448: +/* 80057448 000543A8 7F A0 07 35 */ extsh. r0, r29 +/* 8005744C 000543AC 40 81 00 0C */ ble lbl_80057458 +/* 80057450 000543B0 7F 83 E3 78 */ mr r3, r28 +/* 80057454 000543B4 48 2B E4 DD */ bl Free__7CMemoryFPCv +lbl_80057458: +/* 80057458 000543B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005745C 000543BC 7F 83 E3 78 */ mr r3, r28 +/* 80057460 000543C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80057464 000543C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80057468 000543C8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8005746C 000543CC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80057470 000543D0 7C 08 03 A6 */ mtlr r0 +/* 80057474 000543D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80057478 000543D8 4E 80 00 20 */ blr + +.global __ct__11CDummyWorldFUi +__ct__11CDummyWorldFUi: +/* 8005747C 000543DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80057480 000543E0 7C 08 02 A6 */ mflr r0 +/* 80057484 000543E4 3C C0 80 3E */ lis r6, lbl_803D9FC0@ha +/* 80057488 000543E8 3C E0 80 3E */ lis r7, lbl_803DA04C@ha +/* 8005748C 000543EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80057490 000543F0 38 07 A0 4C */ addi r0, r7, lbl_803DA04C@l +/* 80057494 000543F4 39 06 9F C0 */ addi r8, r6, lbl_803D9FC0@l +/* 80057498 000543F8 38 E0 00 00 */ li r7, 0 +/* 8005749C 000543FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800574A0 00054400 7C 7F 1B 78 */ mr r31, r3 +/* 800574A4 00054404 38 C0 FF FF */ li r6, -1 +/* 800574A8 00054408 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha +/* 800574AC 0005440C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800574B0 00054410 90 1F 00 00 */ stw r0, 0(r31) +/* 800574B4 00054414 38 03 56 4C */ addi r0, r3, 0x4D4C564C@l +/* 800574B8 00054418 91 1F 00 00 */ stw r8, 0(r31) +/* 800574BC 0005441C 98 BF 00 04 */ stb r5, 4(r31) +/* 800574C0 00054420 90 FF 00 08 */ stw r7, 8(r31) +/* 800574C4 00054424 90 9F 00 0C */ stw r4, 0xc(r31) +/* 800574C8 00054428 90 DF 00 14 */ stw r6, 0x14(r31) +/* 800574CC 0005442C 90 FF 00 1C */ stw r7, 0x1c(r31) +/* 800574D0 00054430 90 FF 00 20 */ stw r7, 0x20(r31) +/* 800574D4 00054434 90 FF 00 24 */ stw r7, 0x24(r31) +/* 800574D8 00054438 90 DF 00 28 */ stw r6, 0x28(r31) +/* 800574DC 0005443C 90 FF 00 2C */ stw r7, 0x2c(r31) +/* 800574E0 00054440 90 FF 00 30 */ stw r7, 0x30(r31) +/* 800574E4 00054444 90 FF 00 34 */ stw r7, 0x34(r31) +/* 800574E8 00054448 90 FF 00 38 */ stw r7, 0x38(r31) +/* 800574EC 0005444C 80 6D A3 90 */ lwz r3, lbl_805A8F50@sda21(r13) +/* 800574F0 00054450 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 800574F4 00054454 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800574F8 00054458 90 81 00 14 */ stw r4, 0x14(r1) +/* 800574FC 0005445C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80057500 00054460 38 63 00 04 */ addi r3, r3, 4 +/* 80057504 00054464 90 01 00 10 */ stw r0, 0x10(r1) +/* 80057508 00054468 48 2E 47 49 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 8005750C 0005446C 3C A0 80 3D */ lis r5, lbl_803CCF70@ha +/* 80057510 00054470 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80057514 00054474 90 7F 00 38 */ stw r3, 0x38(r31) +/* 80057518 00054478 38 A5 CF 70 */ addi r5, r5, lbl_803CCF70@l +/* 8005751C 0005447C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80057520 00054480 38 61 00 08 */ addi r3, r1, 8 +/* 80057524 00054484 38 A5 00 01 */ addi r5, r5, 1 +/* 80057528 00054488 38 80 FF FF */ li r4, -1 +/* 8005752C 0005448C 48 27 EE A9 */ bl __ct__10CCallStackFUiPCcPCc +/* 80057530 00054490 7C 67 1B 78 */ mr r7, r3 +/* 80057534 00054494 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80057538 00054498 38 80 00 02 */ li r4, 2 +/* 8005753C 0005449C 38 A0 00 01 */ li r5, 1 +/* 80057540 000544A0 38 C0 00 00 */ li r6, 0 +/* 80057544 000544A4 48 2B E4 51 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80057548 000544A8 7C 7E 1B 78 */ mr r30, r3 +/* 8005754C 000544AC 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80057550 000544B0 48 2B E3 E1 */ bl Free__7CMemoryFPCv +/* 80057554 000544B4 93 DF 00 34 */ stw r30, 0x34(r31) +/* 80057558 000544B8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8005755C 000544BC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80057560 000544C0 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 80057564 000544C4 38 63 00 04 */ addi r3, r3, 4 +/* 80057568 000544C8 48 2E 46 11 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc +/* 8005756C 000544CC 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 80057570 000544D0 7C 7E 1B 78 */ mr r30, r3 +/* 80057574 000544D4 28 00 00 00 */ cmplwi r0, 0 +/* 80057578 000544D8 41 82 00 1C */ beq lbl_80057594 +/* 8005757C 000544DC 7C 03 03 78 */ mr r3, r0 +/* 80057580 000544E0 38 80 00 01 */ li r4, 1 +/* 80057584 000544E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80057588 000544E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8005758C 000544EC 7D 89 03 A6 */ mtctr r12 +/* 80057590 000544F0 4E 80 04 21 */ bctrl +lbl_80057594: +/* 80057594 000544F4 93 DF 00 30 */ stw r30, 0x30(r31) +/* 80057598 000544F8 7F E3 FB 78 */ mr r3, r31 +/* 8005759C 000544FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800575A0 00054500 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800575A4 00054504 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800575A8 00054508 7C 08 03 A6 */ mtlr r0 +/* 800575AC 0005450C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800575B0 00054510 4E 80 00 20 */ blr + +.global IGetGameAreas__6CWorldCFv +IGetGameAreas__6CWorldCFv: +/* 800575B4 00054514 80 63 00 18 */ lwz r3, 0x18(r3) +/* 800575B8 00054518 4E 80 00 20 */ blr + +.global IGetDefaultAudioTrack__6CWorldCFv +IGetDefaultAudioTrack__6CWorldCFv: +/* 800575BC 0005451C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800575C0 00054520 7C 08 02 A6 */ mflr r0 +/* 800575C4 00054524 38 84 00 84 */ addi r4, r4, 0x84 +/* 800575C8 00054528 90 01 00 14 */ stw r0, 0x14(r1) +/* 800575CC 0005452C 48 2E 6B 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800575D0 00054530 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800575D4 00054534 7C 08 03 A6 */ mtlr r0 +/* 800575D8 00054538 38 21 00 10 */ addi r1, r1, 0x10 +/* 800575DC 0005453C 4E 80 00 20 */ blr + +.global ICheckWorldComplete__6CWorldFv +ICheckWorldComplete__6CWorldFv: +/* 800575E0 00054540 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800575E4 00054544 7C 08 02 A6 */ mflr r0 +/* 800575E8 00054548 38 80 00 00 */ li r4, 0 +/* 800575EC 0005454C 38 C0 FF FF */ li r6, -1 +/* 800575F0 00054550 90 01 00 14 */ stw r0, 0x14(r1) +/* 800575F4 00054554 38 A1 00 08 */ addi r5, r1, 8 +/* 800575F8 00054558 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800575FC 0005455C 90 01 00 08 */ stw r0, 8(r1) +/* 80057600 00054560 48 00 0D 29 */ bl CheckWorldComplete__6CWorldFP13CStateManager7TAreaIdUi +/* 80057604 00054564 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80057608 00054568 7C 08 03 A6 */ mtlr r0 +/* 8005760C 0005456C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80057610 00054570 4E 80 00 20 */ blr + +.global IGetCurrentAreaId__6CWorldCFv +IGetCurrentAreaId__6CWorldCFv: +/* 80057614 00054574 80 04 00 68 */ lwz r0, 0x68(r4) +/* 80057618 00054578 90 03 00 00 */ stw r0, 0(r3) +/* 8005761C 0005457C 4E 80 00 20 */ blr + +.global IGetAreaAlways__6CWorldCF7TAreaId +IGetAreaAlways__6CWorldCF7TAreaId: +/* 80057620 00054580 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80057624 00054584 80 04 00 00 */ lwz r0, 0(r4) +/* 80057628 00054588 80 83 00 20 */ lwz r4, 0x20(r3) +/* 8005762C 0005458C 54 03 18 38 */ slwi r3, r0, 3 +/* 80057630 00054590 90 01 00 08 */ stw r0, 8(r1) +/* 80057634 00054594 38 03 00 04 */ addi r0, r3, 4 +/* 80057638 00054598 7C 64 00 2E */ lwzx r3, r4, r0 +/* 8005763C 0005459C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80057640 000545A0 4E 80 00 20 */ blr + +.global IMapWorld__6CWorldFv +IMapWorld__6CWorldFv: +/* 80057644 000545A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80057648 000545A8 7C 08 02 A6 */ mflr r0 +/* 8005764C 000545AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80057650 000545B0 48 00 00 4D */ bl GetMapWorld__6CWorldCFv +/* 80057654 000545B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80057658 000545B8 7C 08 03 A6 */ mtlr r0 +/* 8005765C 000545BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80057660 000545C0 4E 80 00 20 */ blr + +.global IGetMapWorld__6CWorldCFv +IGetMapWorld__6CWorldCFv: +/* 80057664 000545C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80057668 000545C8 7C 08 02 A6 */ mflr r0 +/* 8005766C 000545CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80057670 000545D0 48 00 00 2D */ bl GetMapWorld__6CWorldCFv +/* 80057674 000545D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80057678 000545D8 7C 08 03 A6 */ mtlr r0 +/* 8005767C 000545DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80057680 000545E0 4E 80 00 20 */ blr + +.global IGetSaveWorldAssetId__6CWorldCFv +IGetSaveWorldAssetId__6CWorldCFv: +/* 80057684 000545E4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80057688 000545E8 4E 80 00 20 */ blr + +.global IGetStringTableAssetId__6CWorldCFv +IGetStringTableAssetId__6CWorldCFv: +/* 8005768C 000545EC 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80057690 000545F0 4E 80 00 20 */ blr + +.global IGetWorldAssetId__6CWorldCFv +IGetWorldAssetId__6CWorldCFv: +/* 80057694 000545F4 80 63 00 08 */ lwz r3, 8(r3) +/* 80057698 000545F8 4E 80 00 20 */ blr + +.global GetMapWorld__6CWorldCFv +GetMapWorld__6CWorldCFv: +/* 8005769C 000545FC 80 63 00 28 */ lwz r3, 0x28(r3) +/* 800576A0 00054600 80 63 00 08 */ lwz r3, 8(r3) +/* 800576A4 00054604 4E 80 00 20 */ blr + +.global UnloadSoundGroups__6CWorldFv +UnloadSoundGroups__6CWorldFv: +/* 800576A8 00054608 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800576AC 0005460C 7C 08 02 A6 */ mflr r0 +/* 800576B0 00054610 90 01 00 14 */ stw r0, 0x14(r1) +/* 800576B4 00054614 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800576B8 00054618 3B E0 00 00 */ li r31, 0 +/* 800576BC 0005461C 93 C1 00 08 */ stw r30, 8(r1) +/* 800576C0 00054620 7C 7E 1B 78 */ mr r30, r3 +/* 800576C4 00054624 48 00 00 0C */ b lbl_800576D0 +lbl_800576C8: +/* 800576C8 00054628 48 2F 42 29 */ bl SysPopGroupFromARAM__9CAudioSysFv +/* 800576CC 0005462C 3B FF 00 01 */ addi r31, r31, 1 +lbl_800576D0: +/* 800576D0 00054630 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 800576D4 00054634 7C 1F 00 40 */ cmplw r31, r0 +/* 800576D8 00054638 41 80 FF F0 */ blt lbl_800576C8 +/* 800576DC 0005463C 83 FE 00 80 */ lwz r31, 0x80(r30) +/* 800576E0 00054640 48 00 00 1C */ b lbl_800576FC +lbl_800576E4: +/* 800576E4 00054644 88 1F 00 08 */ lbz r0, 8(r31) +/* 800576E8 00054648 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800576EC 0005464C 41 82 00 0C */ beq lbl_800576F8 +/* 800576F0 00054650 38 7F 00 0C */ addi r3, r31, 0xc +/* 800576F4 00054654 48 2F 43 75 */ bl "SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_800576F8: +/* 800576F8 00054658 3B FF 00 28 */ addi r31, r31, 0x28 +lbl_800576FC: +/* 800576FC 0005465C 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80057700 00054660 80 7E 00 80 */ lwz r3, 0x80(r30) +/* 80057704 00054664 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80057708 00054668 7C 03 02 14 */ add r0, r3, r0 +/* 8005770C 0005466C 7C 1F 00 40 */ cmplw r31, r0 +/* 80057710 00054670 40 82 FF D4 */ bne lbl_800576E4 +/* 80057714 00054674 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80057718 00054678 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005771C 0005467C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80057720 00054680 7C 08 03 A6 */ mtlr r0 +/* 80057724 00054684 38 21 00 10 */ addi r1, r1, 0x10 +/* 80057728 00054688 4E 80 00 20 */ blr + +.global LoadSoundGroup__6CWorldFUcUiRQ26CWorld15CSoundGroupData +LoadSoundGroup__6CWorldFUcUiRQ26CWorld15CSoundGroupData: +/* 8005772C 0005468C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80057730 00054690 7C 08 02 A6 */ mflr r0 +/* 80057734 00054694 90 01 00 34 */ stw r0, 0x34(r1) +/* 80057738 00054698 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8005773C 0005469C 7C DF 33 78 */ mr r31, r6 +/* 80057740 000546A0 38 C0 00 01 */ li r6, 1 +/* 80057744 000546A4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80057748 000546A8 7C BE 2B 78 */ mr r30, r5 +/* 8005774C 000546AC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80057750 000546B0 7C 9D 23 78 */ mr r29, r4 +/* 80057754 000546B4 7F C4 F3 78 */ mr r4, r30 +/* 80057758 000546B8 93 81 00 20 */ stw r28, 0x20(r1) +/* 8005775C 000546BC 7C 7C 1B 78 */ mr r28, r3 +/* 80057760 000546C0 88 1F 00 08 */ lbz r0, 8(r31) +/* 80057764 000546C4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80057768 000546C8 98 1F 00 08 */ stb r0, 8(r31) +/* 8005776C 000546CC 80 6D A0 64 */ lwz r3, gpSimplePool@sda21(r13) +/* 80057770 000546D0 48 2F 4B 41 */ bl SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi +/* 80057774 000546D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80057778 000546D8 40 82 00 70 */ bne lbl_800577E8 +/* 8005777C 000546DC 7F C3 F3 78 */ mr r3, r30 +/* 80057780 000546E0 48 2F 40 C5 */ bl SysGetGroupSetName__9CAudioSysFUi +/* 80057784 000546E4 7C 64 1B 78 */ mr r4, r3 +/* 80057788 000546E8 38 61 00 08 */ addi r3, r1, 8 +/* 8005778C 000546EC 48 2E 69 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80057790 000546F0 7F A4 EB 78 */ mr r4, r29 +/* 80057794 000546F4 38 61 00 08 */ addi r3, r1, 8 +/* 80057798 000546F8 48 2F 41 79 */ bl "SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Uc" +/* 8005779C 000546FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800577A0 00054700 41 82 00 38 */ beq lbl_800577D8 +/* 800577A4 00054704 88 1F 00 08 */ lbz r0, 8(r31) +/* 800577A8 00054708 38 60 00 01 */ li r3, 1 +/* 800577AC 0005470C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800577B0 00054710 38 7F 00 0C */ addi r3, r31, 0xc +/* 800577B4 00054714 98 1F 00 08 */ stb r0, 8(r31) +/* 800577B8 00054718 38 81 00 08 */ addi r4, r1, 8 +/* 800577BC 0005471C 48 2E 65 A1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800577C0 00054720 80 9C 00 6C */ lwz r4, 0x6c(r28) +/* 800577C4 00054724 38 61 00 08 */ addi r3, r1, 8 +/* 800577C8 00054728 38 04 00 01 */ addi r0, r4, 1 +/* 800577CC 0005472C 90 1C 00 6C */ stw r0, 0x6c(r28) +/* 800577D0 00054730 48 2F 48 15 */ bl "SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800577D4 00054734 48 00 00 0C */ b lbl_800577E0 +lbl_800577D8: +/* 800577D8 00054738 38 61 00 08 */ addi r3, r1, 8 +/* 800577DC 0005473C 48 2F 42 8D */ bl "SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_800577E0: +/* 800577E0 00054740 38 61 00 08 */ addi r3, r1, 8 +/* 800577E4 00054744 48 2E 62 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800577E8: +/* 800577E8 00054748 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800577EC 0005474C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800577F0 00054750 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800577F4 00054754 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800577F8 00054758 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800577FC 0005475C 7C 08 03 A6 */ mtlr r0 +/* 80057800 00054760 38 21 00 30 */ addi r1, r1, 0x30 +/* 80057804 00054764 4E 80 00 20 */ blr + +.global LoadSoundGroups__6CWorldFv +LoadSoundGroups__6CWorldFv: +/* 80057808 00054768 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8005780C 0005476C 7C 08 02 A6 */ mflr r0 +/* 80057810 00054770 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80057814 00054774 BF 21 00 94 */ stmw r25, 0x94(r1) +/* 80057818 00054778 7C 7B 1B 78 */ mr r27, r3 +/* 8005781C 0005477C 81 83 00 00 */ lwz r12, 0(r3) +/* 80057820 00054780 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80057824 00054784 7D 89 03 A6 */ mtctr r12 +/* 80057828 00054788 4E 80 04 21 */ bctrl +/* 8005782C 0005478C 80 8D A0 88 */ lwz r4, gpTweakManager@sda21(r13) +/* 80057830 00054790 7C 65 1B 78 */ mr r5, r3 +/* 80057834 00054794 38 61 00 40 */ addi r3, r1, 0x40 +/* 80057838 00054798 48 1C 49 2D */ bl sub_8021c164 +/* 8005783C 0005479C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80057840 000547A0 80 61 00 48 */ lwz r3, 0x48(r1) +/* 80057844 000547A4 2C 00 00 00 */ cmpwi r0, 0 +/* 80057848 000547A8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8005784C 000547AC 90 61 00 58 */ stw r3, 0x58(r1) +/* 80057850 000547B0 40 82 00 18 */ bne lbl_80057868 +/* 80057854 000547B4 2C 03 00 00 */ cmpwi r3, 0 +/* 80057858 000547B8 40 82 00 10 */ bne lbl_80057868 +/* 8005785C 000547BC 38 00 00 00 */ li r0, 0 +/* 80057860 000547C0 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80057864 000547C4 48 00 00 68 */ b lbl_800578CC +lbl_80057868: +/* 80057868 000547C8 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8005786C 000547CC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 80057870 000547D0 40 82 00 10 */ bne lbl_80057880 +/* 80057874 000547D4 38 00 00 00 */ li r0, 0 +/* 80057878 000547D8 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8005787C 000547DC 48 00 00 1C */ b lbl_80057898 +lbl_80057880: +/* 80057880 000547E0 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80057884 000547E4 38 A0 00 00 */ li r5, 0 +/* 80057888 000547E8 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 8005788C 000547EC 38 84 00 01 */ addi r4, r4, 1 +/* 80057890 000547F0 48 2B DF 89 */ bl __nwa__FUlPCcPCc +/* 80057894 000547F4 90 61 00 5C */ stw r3, 0x5c(r1) +lbl_80057898: +/* 80057898 000547F8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8005789C 000547FC 80 81 00 4C */ lwz r4, 0x4c(r1) +/* 800578A0 00054800 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 800578A4 00054804 7C 09 03 A6 */ mtctr r0 +/* 800578A8 00054808 2C 00 00 00 */ cmpwi r0, 0 +/* 800578AC 0005480C 40 81 00 20 */ ble lbl_800578CC +lbl_800578B0: +/* 800578B0 00054810 28 03 00 00 */ cmplwi r3, 0 +/* 800578B4 00054814 41 82 00 0C */ beq lbl_800578C0 +/* 800578B8 00054818 80 04 00 00 */ lwz r0, 0(r4) +/* 800578BC 0005481C 90 03 00 00 */ stw r0, 0(r3) +lbl_800578C0: +/* 800578C0 00054820 38 63 00 04 */ addi r3, r3, 4 +/* 800578C4 00054824 38 84 00 04 */ addi r4, r4, 4 +/* 800578C8 00054828 42 00 FF E8 */ bdnz lbl_800578B0 +lbl_800578CC: +/* 800578CC 0005482C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800578D0 00054830 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 800578D4 00054834 54 00 10 3A */ slwi r0, r0, 2 +/* 800578D8 00054838 7C 03 02 14 */ add r0, r3, r0 +/* 800578DC 0005483C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800578E0 00054840 7C 64 1B 78 */ mr r4, r3 +/* 800578E4 00054844 90 01 00 24 */ stw r0, 0x24(r1) +/* 800578E8 00054848 90 01 00 20 */ stw r0, 0x20(r1) +/* 800578EC 0005484C 90 61 00 18 */ stw r3, 0x18(r1) +/* 800578F0 00054850 48 00 00 08 */ b lbl_800578F8 +lbl_800578F4: +/* 800578F4 00054854 38 84 00 04 */ addi r4, r4, 4 +lbl_800578F8: +/* 800578F8 00054858 7C 04 00 40 */ cmplw r4, r0 +/* 800578FC 0005485C 40 82 FF F8 */ bne lbl_800578F4 +/* 80057900 00054860 28 03 00 00 */ cmplwi r3, 0 +/* 80057904 00054864 41 82 00 08 */ beq lbl_8005790C +/* 80057908 00054868 48 2B E0 29 */ bl Free__7CMemoryFPCv +lbl_8005790C: +/* 8005790C 0005486C 80 81 00 54 */ lwz r4, 0x54(r1) +/* 80057910 00054870 2C 04 00 00 */ cmpwi r4, 0 +/* 80057914 00054874 40 81 01 84 */ ble lbl_80057A98 +/* 80057918 00054878 80 1B 00 78 */ lwz r0, 0x78(r27) +/* 8005791C 0005487C 38 7B 00 74 */ addi r3, r27, 0x74 +/* 80057920 00054880 7C 80 22 14 */ add r4, r0, r4 +/* 80057924 00054884 48 00 1D E5 */ bl "reserve__Q24rstl61vectorFi" +/* 80057928 00054888 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8005792C 0005488C 3C 60 43 53 */ lis r3, 0x43534E47@ha +/* 80057930 00054890 83 C1 00 5C */ lwz r30, 0x5c(r1) +/* 80057934 00054894 3B A1 00 6C */ addi r29, r1, 0x6c +/* 80057938 00054898 54 00 10 3A */ slwi r0, r0, 2 +/* 8005793C 0005489C 3B 81 00 7C */ addi r28, r1, 0x7c +/* 80057940 000548A0 3B E3 4E 47 */ addi r31, r3, 0x43534E47@l +/* 80057944 000548A4 7F 5E 02 14 */ add r26, r30, r0 +/* 80057948 000548A8 48 00 01 48 */ b lbl_80057A90 +lbl_8005794C: +/* 8005794C 000548AC 80 1E 00 00 */ lwz r0, 0(r30) +/* 80057950 000548B0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80057954 000548B4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80057958 000548B8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8005795C 000548BC 93 E1 00 30 */ stw r31, 0x30(r1) +/* 80057960 000548C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80057964 000548C4 81 84 00 00 */ lwz r12, 0(r4) +/* 80057968 000548C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8005796C 000548CC 7D 89 03 A6 */ mtctr r12 +/* 80057970 000548D0 4E 80 04 21 */ bctrl +/* 80057974 000548D4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80057978 000548D8 38 81 00 28 */ addi r4, r1, 0x28 +/* 8005797C 000548DC 48 2E 95 2D */ bl __ct__6CTokenFRC6CToken +/* 80057980 000548E0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80057984 000548E4 38 80 FF FF */ li r4, -1 +/* 80057988 000548E8 48 2E 94 B9 */ bl __dt__6CTokenFv +/* 8005798C 000548EC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80057990 000548F0 48 2E 94 7D */ bl GetObj__6CTokenFv +/* 80057994 000548F4 80 83 00 04 */ lwz r4, 4(r3) +/* 80057998 000548F8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8005799C 000548FC 83 24 00 04 */ lwz r25, 4(r4) +/* 800579A0 00054900 48 2E 94 6D */ bl GetObj__6CTokenFv +/* 800579A4 00054904 80 83 00 04 */ lwz r4, 4(r3) +/* 800579A8 00054908 7F 25 CB 78 */ mr r5, r25 +/* 800579AC 0005490C 38 61 00 60 */ addi r3, r1, 0x60 +/* 800579B0 00054910 A8 84 00 02 */ lha r4, 2(r4) +/* 800579B4 00054914 48 00 16 C9 */ bl __ct__Q26CWorld15CSoundGroupDataFiUi +/* 800579B8 00054918 80 1B 00 78 */ lwz r0, 0x78(r27) +/* 800579BC 0005491C 80 BB 00 7C */ lwz r5, 0x7c(r27) +/* 800579C0 00054920 7C 00 28 00 */ cmpw r0, r5 +/* 800579C4 00054924 41 80 00 1C */ blt lbl_800579E0 +/* 800579C8 00054928 2C 05 00 00 */ cmpwi r5, 0 +/* 800579CC 0005492C 38 7B 00 74 */ addi r3, r27, 0x74 +/* 800579D0 00054930 38 80 00 04 */ li r4, 4 +/* 800579D4 00054934 41 82 00 08 */ beq lbl_800579DC +/* 800579D8 00054938 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800579DC: +/* 800579DC 0005493C 48 00 1D 2D */ bl "reserve__Q24rstl61vectorFi" +lbl_800579E0: +/* 800579E0 00054940 80 1B 00 78 */ lwz r0, 0x78(r27) +/* 800579E4 00054944 80 7B 00 80 */ lwz r3, 0x80(r27) +/* 800579E8 00054948 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 800579EC 0005494C 7F 23 02 15 */ add. r25, r3, r0 +/* 800579F0 00054950 41 82 00 4C */ beq lbl_80057A3C +/* 800579F4 00054954 80 01 00 60 */ lwz r0, 0x60(r1) +/* 800579F8 00054958 7F A4 EB 78 */ mr r4, r29 +/* 800579FC 0005495C 38 79 00 0C */ addi r3, r25, 0xc +/* 80057A00 00054960 90 19 00 00 */ stw r0, 0(r25) +/* 80057A04 00054964 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80057A08 00054968 90 19 00 04 */ stw r0, 4(r25) +/* 80057A0C 0005496C 88 01 00 68 */ lbz r0, 0x68(r1) +/* 80057A10 00054970 98 19 00 08 */ stb r0, 8(r25) +/* 80057A14 00054974 48 2E 67 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80057A18 00054978 88 01 00 84 */ lbz r0, 0x84(r1) +/* 80057A1C 0005497C 98 19 00 24 */ stb r0, 0x24(r25) +/* 80057A20 00054980 88 01 00 84 */ lbz r0, 0x84(r1) +/* 80057A24 00054984 28 00 00 00 */ cmplwi r0, 0 +/* 80057A28 00054988 41 82 00 14 */ beq lbl_80057A3C +/* 80057A2C 0005498C 34 79 00 1C */ addic. r3, r25, 0x1c +/* 80057A30 00054990 41 82 00 0C */ beq lbl_80057A3C +/* 80057A34 00054994 7F 84 E3 78 */ mr r4, r28 +/* 80057A38 00054998 48 2E 94 71 */ bl __ct__6CTokenFRC6CToken +lbl_80057A3C: +/* 80057A3C 0005499C 80 7B 00 78 */ lwz r3, 0x78(r27) +/* 80057A40 000549A0 28 1C 00 00 */ cmplwi r28, 0 +/* 80057A44 000549A4 38 03 00 01 */ addi r0, r3, 1 +/* 80057A48 000549A8 90 1B 00 78 */ stw r0, 0x78(r27) +/* 80057A4C 000549AC 41 82 00 24 */ beq lbl_80057A70 +/* 80057A50 000549B0 88 01 00 84 */ lbz r0, 0x84(r1) +/* 80057A54 000549B4 28 00 00 00 */ cmplwi r0, 0 +/* 80057A58 000549B8 41 82 00 10 */ beq lbl_80057A68 +/* 80057A5C 000549BC 7F 83 E3 78 */ mr r3, r28 +/* 80057A60 000549C0 38 80 FF FF */ li r4, -1 +/* 80057A64 000549C4 48 2E 93 DD */ bl __dt__6CTokenFv +lbl_80057A68: +/* 80057A68 000549C8 38 00 00 00 */ li r0, 0 +/* 80057A6C 000549CC 98 01 00 84 */ stb r0, 0x84(r1) +lbl_80057A70: +/* 80057A70 000549D0 28 1D 00 00 */ cmplwi r29, 0 +/* 80057A74 000549D4 41 82 00 0C */ beq lbl_80057A80 +/* 80057A78 000549D8 7F A3 EB 78 */ mr r3, r29 +/* 80057A7C 000549DC 48 2E 60 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80057A80: +/* 80057A80 000549E0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80057A84 000549E4 38 80 00 00 */ li r4, 0 +/* 80057A88 000549E8 48 2E 93 B9 */ bl __dt__6CTokenFv +/* 80057A8C 000549EC 3B DE 00 04 */ addi r30, r30, 4 +lbl_80057A90: +/* 80057A90 000549F0 7C 1E D0 40 */ cmplw r30, r26 +/* 80057A94 000549F4 40 82 FE B8 */ bne lbl_8005794C +lbl_80057A98: +/* 80057A98 000549F8 83 3B 00 80 */ lwz r25, 0x80(r27) +/* 80057A9C 000549FC 48 00 00 2C */ b lbl_80057AC8 +lbl_80057AA0: +/* 80057AA0 00054A00 88 19 00 08 */ lbz r0, 8(r25) +/* 80057AA4 00054A04 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80057AA8 00054A08 40 82 00 1C */ bne lbl_80057AC4 +/* 80057AAC 00054A0C 80 19 00 00 */ lwz r0, 0(r25) +/* 80057AB0 00054A10 7F 63 DB 78 */ mr r3, r27 +/* 80057AB4 00054A14 80 B9 00 04 */ lwz r5, 4(r25) +/* 80057AB8 00054A18 7F 26 CB 78 */ mr r6, r25 +/* 80057ABC 00054A1C 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 80057AC0 00054A20 4B FF FC 6D */ bl LoadSoundGroup__6CWorldFUcUiRQ26CWorld15CSoundGroupData +lbl_80057AC4: +/* 80057AC4 00054A24 3B 39 00 28 */ addi r25, r25, 0x28 +lbl_80057AC8: +/* 80057AC8 00054A28 80 1B 00 78 */ lwz r0, 0x78(r27) +/* 80057ACC 00054A2C 80 7B 00 80 */ lwz r3, 0x80(r27) +/* 80057AD0 00054A30 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80057AD4 00054A34 7C 03 02 14 */ add r0, r3, r0 +/* 80057AD8 00054A38 7C 19 00 40 */ cmplw r25, r0 +/* 80057ADC 00054A3C 40 82 FF C4 */ bne lbl_80057AA0 +/* 80057AE0 00054A40 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80057AE4 00054A44 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80057AE8 00054A48 54 00 10 3A */ slwi r0, r0, 2 +/* 80057AEC 00054A4C 7C 03 02 14 */ add r0, r3, r0 +/* 80057AF0 00054A50 90 61 00 0C */ stw r3, 0xc(r1) +/* 80057AF4 00054A54 7C 64 1B 78 */ mr r4, r3 +/* 80057AF8 00054A58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80057AFC 00054A5C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80057B00 00054A60 90 61 00 08 */ stw r3, 8(r1) +/* 80057B04 00054A64 48 00 00 08 */ b lbl_80057B0C +lbl_80057B08: +/* 80057B08 00054A68 38 84 00 04 */ addi r4, r4, 4 +lbl_80057B0C: +/* 80057B0C 00054A6C 7C 04 00 40 */ cmplw r4, r0 +/* 80057B10 00054A70 40 82 FF F8 */ bne lbl_80057B08 +/* 80057B14 00054A74 28 03 00 00 */ cmplwi r3, 0 +/* 80057B18 00054A78 41 82 00 08 */ beq lbl_80057B20 +/* 80057B1C 00054A7C 48 2B DE 15 */ bl Free__7CMemoryFPCv +lbl_80057B20: +/* 80057B20 00054A80 BB 21 00 94 */ lmw r25, 0x94(r1) +/* 80057B24 00054A84 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80057B28 00054A88 7C 08 03 A6 */ mtlr r0 +/* 80057B2C 00054A8C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80057B30 00054A90 4E 80 00 20 */ blr + +.global MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain: +/* 80057B34 00054A94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80057B38 00054A98 7C 08 02 A6 */ mflr r0 +/* 80057B3C 00054A9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80057B40 00054AA0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80057B44 00054AA4 93 C1 00 08 */ stw r30, 8(r1) +/* 80057B48 00054AA8 7C 9E 23 78 */ mr r30, r4 +/* 80057B4C 00054AAC 80 04 01 38 */ lwz r0, 0x138(r4) +/* 80057B50 00054AB0 7C 05 00 00 */ cmpw r5, r0 +/* 80057B54 00054AB4 41 82 00 40 */ beq lbl_80057B94 +/* 80057B58 00054AB8 2C 00 FF FF */ cmpwi r0, -1 +/* 80057B5C 00054ABC 41 82 00 20 */ beq lbl_80057B7C +/* 80057B60 00054AC0 54 00 10 3A */ slwi r0, r0, 2 +/* 80057B64 00054AC4 7C 83 02 14 */ add r4, r3, r0 +/* 80057B68 00054AC8 80 04 00 4C */ lwz r0, 0x4c(r4) +/* 80057B6C 00054ACC 7C 00 F0 40 */ cmplw r0, r30 +/* 80057B70 00054AD0 40 82 00 0C */ bne lbl_80057B7C +/* 80057B74 00054AD4 80 1E 01 30 */ lwz r0, 0x130(r30) +/* 80057B78 00054AD8 90 04 00 4C */ stw r0, 0x4c(r4) +lbl_80057B7C: +/* 80057B7C 00054ADC 54 A0 10 3A */ slwi r0, r5, 2 +/* 80057B80 00054AE0 7F E3 02 14 */ add r31, r3, r0 +/* 80057B84 00054AE4 7F C3 F3 78 */ mr r3, r30 +/* 80057B88 00054AE8 80 9F 00 4C */ lwz r4, 0x4c(r31) +/* 80057B8C 00054AEC 48 00 80 05 */ bl SetChain__9CGameAreaFP9CGameAreai +/* 80057B90 00054AF0 93 DF 00 4C */ stw r30, 0x4c(r31) +lbl_80057B94: +/* 80057B94 00054AF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80057B98 00054AF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80057B9C 00054AFC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80057BA0 00054B00 7C 08 03 A6 */ mtlr r0 +/* 80057BA4 00054B04 38 21 00 10 */ addi r1, r1, 0x10 +/* 80057BA8 00054B08 4E 80 00 20 */ blr + +.global TravelToArea__6CWorldFRC7TAreaIdR13CStateManagerb +TravelToArea__6CWorldFRC7TAreaIdR13CStateManagerb: +/* 80057BAC 00054B0C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80057BB0 00054B10 7C 08 02 A6 */ mflr r0 +/* 80057BB4 00054B14 90 01 00 44 */ stw r0, 0x44(r1) +/* 80057BB8 00054B18 BE 81 00 10 */ stmw r20, 0x10(r1) +/* 80057BBC 00054B1C 7C 75 1B 78 */ mr r21, r3 +/* 80057BC0 00054B20 7C 96 23 78 */ mr r22, r4 +/* 80057BC4 00054B24 7C B7 2B 78 */ mr r23, r5 +/* 80057BC8 00054B28 7C D8 33 78 */ mr r24, r6 +/* 80057BCC 00054B2C 80 64 00 00 */ lwz r3, 0(r4) +/* 80057BD0 00054B30 2C 03 00 00 */ cmpwi r3, 0 +/* 80057BD4 00054B34 41 80 02 68 */ blt lbl_80057E3C +/* 80057BD8 00054B38 80 15 00 18 */ lwz r0, 0x18(r21) +/* 80057BDC 00054B3C 7C 03 00 00 */ cmpw r3, r0 +/* 80057BE0 00054B40 41 80 00 08 */ blt lbl_80057BE8 +/* 80057BE4 00054B44 48 00 02 58 */ b lbl_80057E3C +lbl_80057BE8: +/* 80057BE8 00054B48 88 15 00 70 */ lbz r0, 0x70(r21) +/* 80057BEC 00054B4C 38 60 00 00 */ li r3, 0 +/* 80057BF0 00054B50 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80057BF4 00054B54 98 15 00 70 */ stb r0, 0x70(r21) +/* 80057BF8 00054B58 80 16 00 00 */ lwz r0, 0(r22) +/* 80057BFC 00054B5C 90 15 00 68 */ stw r0, 0x68(r21) +/* 80057C00 00054B60 82 95 00 4C */ lwz r20, 0x4c(r21) +/* 80057C04 00054B64 48 00 00 30 */ b lbl_80057C34 +lbl_80057C08: +/* 80057C08 00054B68 7E 83 A3 78 */ mr r3, r20 +/* 80057C0C 00054B6C 7E E4 BB 78 */ mr r4, r23 +/* 80057C10 00054B70 48 00 8D A9 */ bl Invalidate__9CGameAreaFP13CStateManager +/* 80057C14 00054B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80057C18 00054B78 41 82 00 18 */ beq lbl_80057C30 +/* 80057C1C 00054B7C 7E A3 AB 78 */ mr r3, r21 +/* 80057C20 00054B80 7E 84 A3 78 */ mr r4, r20 +/* 80057C24 00054B84 38 A0 00 01 */ li r5, 1 +/* 80057C28 00054B88 4B FF FF 0D */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +/* 80057C2C 00054B8C 48 00 00 10 */ b lbl_80057C3C +lbl_80057C30: +/* 80057C30 00054B90 82 94 01 30 */ lwz r20, 0x130(r20) +lbl_80057C34: +/* 80057C34 00054B94 28 14 00 00 */ cmplwi r20, 0 +/* 80057C38 00054B98 40 82 FF D0 */ bne lbl_80057C08 +lbl_80057C3C: +/* 80057C3C 00054B9C 82 95 00 58 */ lwz r20, 0x58(r21) +/* 80057C40 00054BA0 48 00 00 18 */ b lbl_80057C58 +lbl_80057C44: +/* 80057C44 00054BA4 7E 84 A3 78 */ mr r4, r20 +/* 80057C48 00054BA8 82 94 01 30 */ lwz r20, 0x130(r20) +/* 80057C4C 00054BAC 7E A3 AB 78 */ mr r3, r21 +/* 80057C50 00054BB0 38 A0 00 04 */ li r5, 4 +/* 80057C54 00054BB4 4B FF FE E1 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +lbl_80057C58: +/* 80057C58 00054BB8 28 14 00 00 */ cmplwi r20, 0 +/* 80057C5C 00054BBC 40 82 FF E8 */ bne lbl_80057C44 +/* 80057C60 00054BC0 82 95 00 54 */ lwz r20, 0x54(r21) +/* 80057C64 00054BC4 48 00 00 18 */ b lbl_80057C7C +lbl_80057C68: +/* 80057C68 00054BC8 7E 84 A3 78 */ mr r4, r20 +/* 80057C6C 00054BCC 82 94 01 30 */ lwz r20, 0x130(r20) +/* 80057C70 00054BD0 7E A3 AB 78 */ mr r3, r21 +/* 80057C74 00054BD4 38 A0 00 00 */ li r5, 0 +/* 80057C78 00054BD8 4B FF FE BD */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +lbl_80057C7C: +/* 80057C7C 00054BDC 28 14 00 00 */ cmplwi r20, 0 +/* 80057C80 00054BE0 40 82 FF E8 */ bne lbl_80057C68 +/* 80057C84 00054BE4 80 16 00 00 */ lwz r0, 0(r22) +/* 80057C88 00054BE8 80 95 00 20 */ lwz r4, 0x20(r21) +/* 80057C8C 00054BEC 54 03 18 38 */ slwi r3, r0, 3 +/* 80057C90 00054BF0 38 03 00 04 */ addi r0, r3, 4 +/* 80057C94 00054BF4 7F 84 00 2E */ lwzx r28, r4, r0 +/* 80057C98 00054BF8 80 1C 01 38 */ lwz r0, 0x138(r28) +/* 80057C9C 00054BFC 2C 00 00 04 */ cmpwi r0, 4 +/* 80057CA0 00054C00 41 82 00 14 */ beq lbl_80057CB4 +/* 80057CA4 00054C04 88 15 00 70 */ lbz r0, 0x70(r21) +/* 80057CA8 00054C08 38 60 00 01 */ li r3, 1 +/* 80057CAC 00054C0C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80057CB0 00054C10 98 15 00 70 */ stb r0, 0x70(r21) +lbl_80057CB4: +/* 80057CB4 00054C14 7F 83 E3 78 */ mr r3, r28 +/* 80057CB8 00054C18 7E E4 BB 78 */ mr r4, r23 +/* 80057CBC 00054C1C 48 00 93 E9 */ bl Validate__9CGameAreaFR13CStateManager +/* 80057CC0 00054C20 7E A3 AB 78 */ mr r3, r21 +/* 80057CC4 00054C24 7F 84 E3 78 */ mr r4, r28 +/* 80057CC8 00054C28 38 A0 00 03 */ li r5, 3 +/* 80057CCC 00054C2C 4B FF FE 69 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +/* 80057CD0 00054C30 7F 83 E3 78 */ mr r3, r28 +/* 80057CD4 00054C34 38 80 00 01 */ li r4, 1 +/* 80057CD8 00054C38 48 00 7A 51 */ bl SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState +/* 80057CDC 00054C3C 2C 18 00 00 */ cmpwi r24, 0 +/* 80057CE0 00054C40 3B 60 00 00 */ li r27, 0 +/* 80057CE4 00054C44 3B 40 00 00 */ li r26, 0 +/* 80057CE8 00054C48 40 82 00 C8 */ bne lbl_80057DB0 +/* 80057CEC 00054C4C 3B 20 00 00 */ li r25, 0 +/* 80057CF0 00054C50 3B A0 00 00 */ li r29, 0 +/* 80057CF4 00054C54 48 00 00 B0 */ b lbl_80057DA4 +lbl_80057CF8: +/* 80057CF8 00054C58 80 1C 00 D8 */ lwz r0, 0xd8(r28) +/* 80057CFC 00054C5C 3B 00 00 00 */ li r24, 0 +/* 80057D00 00054C60 7F E0 EA 14 */ add r31, r0, r29 +/* 80057D04 00054C64 83 DF 00 08 */ lwz r30, 8(r31) +/* 80057D08 00054C68 48 00 00 8C */ b lbl_80057D94 +lbl_80057D0C: +/* 80057D0C 00054C6C 7F E3 FB 78 */ mr r3, r31 +/* 80057D10 00054C70 7F 04 C3 78 */ mr r4, r24 +/* 80057D14 00054C74 48 00 75 A9 */ bl ShouldLoadOtherArea__Q29IGameArea4DockCFi +/* 80057D18 00054C78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80057D1C 00054C7C 41 82 00 74 */ beq lbl_80057D90 +/* 80057D20 00054C80 7F E4 FB 78 */ mr r4, r31 +/* 80057D24 00054C84 7F 05 C3 78 */ mr r5, r24 +/* 80057D28 00054C88 38 61 00 08 */ addi r3, r1, 8 +/* 80057D2C 00054C8C 48 00 75 F9 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 80057D30 00054C90 80 01 00 08 */ lwz r0, 8(r1) +/* 80057D34 00054C94 80 95 00 20 */ lwz r4, 0x20(r21) +/* 80057D38 00054C98 54 03 18 38 */ slwi r3, r0, 3 +/* 80057D3C 00054C9C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80057D40 00054CA0 38 03 00 04 */ addi r0, r3, 4 +/* 80057D44 00054CA4 7E 84 00 2E */ lwzx r20, r4, r0 +/* 80057D48 00054CA8 88 14 00 F0 */ lbz r0, 0xf0(r20) +/* 80057D4C 00054CAC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80057D50 00054CB0 41 82 00 40 */ beq lbl_80057D90 +/* 80057D54 00054CB4 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80057D58 00054CB8 40 82 00 28 */ bne lbl_80057D80 +/* 80057D5C 00054CBC 7E A3 AB 78 */ mr r3, r21 +/* 80057D60 00054CC0 7E 84 A3 78 */ mr r4, r20 +/* 80057D64 00054CC4 7E E5 BB 78 */ mr r5, r23 +/* 80057D68 00054CC8 48 00 00 E9 */ bl ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager +/* 80057D6C 00054CCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80057D70 00054CD0 7C 7B 1B 78 */ mr r27, r3 +/* 80057D74 00054CD4 41 82 00 1C */ beq lbl_80057D90 +/* 80057D78 00054CD8 7E 9A A3 78 */ mr r26, r20 +/* 80057D7C 00054CDC 48 00 00 14 */ b lbl_80057D90 +lbl_80057D80: +/* 80057D80 00054CE0 7E A3 AB 78 */ mr r3, r21 +/* 80057D84 00054CE4 7E 84 A3 78 */ mr r4, r20 +/* 80057D88 00054CE8 7E E5 BB 78 */ mr r5, r23 +/* 80057D8C 00054CEC 48 00 00 C5 */ bl ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager +lbl_80057D90: +/* 80057D90 00054CF0 3B 18 00 01 */ addi r24, r24, 1 +lbl_80057D94: +/* 80057D94 00054CF4 7C 18 F0 00 */ cmpw r24, r30 +/* 80057D98 00054CF8 41 80 FF 74 */ blt lbl_80057D0C +/* 80057D9C 00054CFC 3B BD 00 4C */ addi r29, r29, 0x4c +/* 80057DA0 00054D00 3B 39 00 01 */ addi r25, r25, 1 +lbl_80057DA4: +/* 80057DA4 00054D04 80 1C 00 D0 */ lwz r0, 0xd0(r28) +/* 80057DA8 00054D08 7C 19 00 00 */ cmpw r25, r0 +/* 80057DAC 00054D0C 41 80 FF 4C */ blt lbl_80057CF8 +lbl_80057DB0: +/* 80057DB0 00054D10 82 95 00 5C */ lwz r20, 0x5c(r21) +/* 80057DB4 00054D14 3B 00 00 00 */ li r24, 0 +/* 80057DB8 00054D18 48 00 00 18 */ b lbl_80057DD0 +lbl_80057DBC: +/* 80057DBC 00054D1C 7E 84 A3 78 */ mr r4, r20 +/* 80057DC0 00054D20 82 94 01 30 */ lwz r20, 0x130(r20) +/* 80057DC4 00054D24 7E A3 AB 78 */ mr r3, r21 +/* 80057DC8 00054D28 38 A0 00 00 */ li r5, 0 +/* 80057DCC 00054D2C 4B FF FD 69 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +lbl_80057DD0: +/* 80057DD0 00054D30 28 14 00 00 */ cmplwi r20, 0 +/* 80057DD4 00054D34 40 82 FF E8 */ bne lbl_80057DBC +/* 80057DD8 00054D38 82 95 00 4C */ lwz r20, 0x4c(r21) +/* 80057DDC 00054D3C 48 00 00 14 */ b lbl_80057DF0 +lbl_80057DE0: +/* 80057DE0 00054D40 7E 83 A3 78 */ mr r3, r20 +/* 80057DE4 00054D44 48 00 79 C9 */ bl RemoveStaticGeometry__9CGameAreaFv +/* 80057DE8 00054D48 82 94 01 30 */ lwz r20, 0x130(r20) +/* 80057DEC 00054D4C 3B 18 00 01 */ addi r24, r24, 1 +lbl_80057DF0: +/* 80057DF0 00054D50 28 14 00 00 */ cmplwi r20, 0 +/* 80057DF4 00054D54 40 82 FF EC */ bne lbl_80057DE0 +/* 80057DF8 00054D58 2C 18 00 00 */ cmpwi r24, 0 +/* 80057DFC 00054D5C 40 82 00 24 */ bne lbl_80057E20 +/* 80057E00 00054D60 28 1A 00 00 */ cmplwi r26, 0 +/* 80057E04 00054D64 41 82 00 1C */ beq lbl_80057E20 +/* 80057E08 00054D68 88 15 00 70 */ lbz r0, 0x70(r21) +/* 80057E0C 00054D6C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80057E10 00054D70 40 82 00 10 */ bne lbl_80057E20 +/* 80057E14 00054D74 7F 43 D3 78 */ mr r3, r26 +/* 80057E18 00054D78 7E E4 BB 78 */ mr r4, r23 +/* 80057E1C 00054D7C 48 00 8F C9 */ bl StartStreamIn__9CGameAreaFR13CStateManager +lbl_80057E20: +/* 80057E20 00054D80 82 96 00 00 */ lwz r20, 0(r22) +/* 80057E24 00054D84 7E A3 AB 78 */ mr r3, r21 +/* 80057E28 00054D88 4B FF F8 75 */ bl GetMapWorld__6CWorldCFv +/* 80057E2C 00054D8C 7E A4 AB 78 */ mr r4, r21 +/* 80057E30 00054D90 7E 85 A3 78 */ mr r5, r20 +/* 80057E34 00054D94 38 C0 00 03 */ li r6, 3 +/* 80057E38 00054D98 48 04 93 D1 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii +lbl_80057E3C: +/* 80057E3C 00054D9C BA 81 00 10 */ lmw r20, 0x10(r1) +/* 80057E40 00054DA0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80057E44 00054DA4 7C 08 03 A6 */ mtlr r0 +/* 80057E48 00054DA8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80057E4C 00054DAC 4E 80 00 20 */ blr + +.global ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager +ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager: +/* 80057E50 00054DB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80057E54 00054DB4 7C 08 02 A6 */ mflr r0 +/* 80057E58 00054DB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80057E5C 00054DBC 88 04 00 F0 */ lbz r0, 0xf0(r4) +/* 80057E60 00054DC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80057E64 00054DC4 40 82 00 14 */ bne lbl_80057E78 +/* 80057E68 00054DC8 38 A0 00 02 */ li r5, 2 +/* 80057E6C 00054DCC 4B FF FC C9 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +/* 80057E70 00054DD0 38 60 00 01 */ li r3, 1 +/* 80057E74 00054DD4 48 00 00 34 */ b lbl_80057EA8 +lbl_80057E78: +/* 80057E78 00054DD8 80 04 01 38 */ lwz r0, 0x138(r4) +/* 80057E7C 00054DDC 2C 00 00 03 */ cmpwi r0, 3 +/* 80057E80 00054DE0 41 82 00 24 */ beq lbl_80057EA4 +/* 80057E84 00054DE4 2C 00 00 04 */ cmpwi r0, 4 +/* 80057E88 00054DE8 41 82 00 14 */ beq lbl_80057E9C +/* 80057E8C 00054DEC 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80057E90 00054DF0 38 A0 00 01 */ li r5, 1 +/* 80057E94 00054DF4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80057E98 00054DF8 98 03 00 70 */ stb r0, 0x70(r3) +lbl_80057E9C: +/* 80057E9C 00054DFC 38 A0 00 03 */ li r5, 3 +/* 80057EA0 00054E00 4B FF FC 95 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +lbl_80057EA4: +/* 80057EA4 00054E04 38 60 00 00 */ li r3, 0 +lbl_80057EA8: +/* 80057EA8 00054E08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80057EAC 00054E0C 7C 08 03 A6 */ mtlr r0 +/* 80057EB0 00054E10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80057EB4 00054E14 4E 80 00 20 */ blr + +.global __dt__6CWorldFv +__dt__6CWorldFv: +/* 80057EB8 00054E18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80057EBC 00054E1C 7C 08 02 A6 */ mflr r0 +/* 80057EC0 00054E20 90 01 00 34 */ stw r0, 0x34(r1) +/* 80057EC4 00054E24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80057EC8 00054E28 7C 9F 23 78 */ mr r31, r4 +/* 80057ECC 00054E2C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80057ED0 00054E30 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80057ED4 00054E34 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80057ED8 00054E38 41 82 02 9C */ beq lbl_80058174 +/* 80057EDC 00054E3C 3C 80 80 3E */ lis r4, lbl_803DA014@ha +/* 80057EE0 00054E40 38 04 A0 14 */ addi r0, r4, lbl_803DA014@l +/* 80057EE4 00054E44 90 1E 00 00 */ stw r0, 0(r30) +/* 80057EE8 00054E48 4B FF DE C1 */ bl StopSounds__6CWorldFv +/* 80057EEC 00054E4C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80057EF0 00054E50 48 17 BA 29 */ bl WorldTransitionManager__10CGameStateFv +/* 80057EF4 00054E54 80 63 00 00 */ lwz r3, 0(r3) +/* 80057EF8 00054E58 80 63 00 00 */ lwz r3, 0(r3) +/* 80057EFC 00054E5C 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80057F00 00054E60 2C 00 00 00 */ cmpwi r0, 0 +/* 80057F04 00054E64 41 82 00 1C */ beq lbl_80057F20 +/* 80057F08 00054E68 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 80057F0C 00054E6C 80 03 01 2C */ lwz r0, 0x12c(r3) +/* 80057F10 00054E70 2C 00 00 00 */ cmpwi r0, 0 +/* 80057F14 00054E74 40 82 00 0C */ bne lbl_80057F20 +/* 80057F18 00054E78 48 30 D8 A1 */ bl StopOneShot__19CStreamAudioManagerFv +/* 80057F1C 00054E7C 48 00 00 08 */ b lbl_80057F24 +lbl_80057F20: +/* 80057F20 00054E80 48 30 D9 85 */ bl StopAll__19CStreamAudioManagerFv +lbl_80057F24: +/* 80057F24 00054E84 7F C3 F3 78 */ mr r3, r30 +/* 80057F28 00054E88 4B FF F7 81 */ bl UnloadSoundGroups__6CWorldFv +/* 80057F2C 00054E8C 48 14 5E 39 */ bl DisableAuxCallbacks__20CScriptRoomAcousticsFv +/* 80057F30 00054E90 34 1E 00 C8 */ addic. r0, r30, 0xc8 +/* 80057F34 00054E94 41 82 00 58 */ beq lbl_80057F8C +/* 80057F38 00054E98 80 BE 00 C8 */ lwz r5, 0xc8(r30) +/* 80057F3C 00054E9C 38 60 00 00 */ li r3, 0 +/* 80057F40 00054EA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80057F44 00054EA4 40 81 00 40 */ ble lbl_80057F84 +/* 80057F48 00054EA8 2C 05 00 08 */ cmpwi r5, 8 +/* 80057F4C 00054EAC 38 85 FF F8 */ addi r4, r5, -8 +/* 80057F50 00054EB0 40 81 00 20 */ ble lbl_80057F70 +/* 80057F54 00054EB4 38 04 00 07 */ addi r0, r4, 7 +/* 80057F58 00054EB8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80057F5C 00054EBC 7C 09 03 A6 */ mtctr r0 +/* 80057F60 00054EC0 2C 04 00 00 */ cmpwi r4, 0 +/* 80057F64 00054EC4 40 81 00 0C */ ble lbl_80057F70 +lbl_80057F68: +/* 80057F68 00054EC8 38 63 00 08 */ addi r3, r3, 8 +/* 80057F6C 00054ECC 42 00 FF FC */ bdnz lbl_80057F68 +lbl_80057F70: +/* 80057F70 00054ED0 7C 03 28 50 */ subf r0, r3, r5 +/* 80057F74 00054ED4 7C 09 03 A6 */ mtctr r0 +/* 80057F78 00054ED8 7C 03 28 00 */ cmpw r3, r5 +/* 80057F7C 00054EDC 40 80 00 08 */ bge lbl_80057F84 +lbl_80057F80: +/* 80057F80 00054EE0 42 00 00 00 */ bdnz lbl_80057F80 +lbl_80057F84: +/* 80057F84 00054EE4 38 00 00 00 */ li r0, 0 +/* 80057F88 00054EE8 90 1E 00 C8 */ stw r0, 0xc8(r30) +lbl_80057F8C: +/* 80057F8C 00054EEC 34 1E 00 B4 */ addic. r0, r30, 0xb4 +/* 80057F90 00054EF0 41 82 00 30 */ beq lbl_80057FC0 +/* 80057F94 00054EF4 88 1E 00 C0 */ lbz r0, 0xc0(r30) +/* 80057F98 00054EF8 28 00 00 00 */ cmplwi r0, 0 +/* 80057F9C 00054EFC 41 82 00 1C */ beq lbl_80057FB8 +/* 80057FA0 00054F00 34 7E 00 B4 */ addic. r3, r30, 0xb4 +/* 80057FA4 00054F04 41 82 00 14 */ beq lbl_80057FB8 +/* 80057FA8 00054F08 28 03 00 00 */ cmplwi r3, 0 +/* 80057FAC 00054F0C 41 82 00 0C */ beq lbl_80057FB8 +/* 80057FB0 00054F10 38 80 00 00 */ li r4, 0 +/* 80057FB4 00054F14 48 2E 8E 8D */ bl __dt__6CTokenFv +lbl_80057FB8: +/* 80057FB8 00054F18 38 00 00 00 */ li r0, 0 +/* 80057FBC 00054F1C 98 1E 00 C0 */ stb r0, 0xc0(r30) +lbl_80057FC0: +/* 80057FC0 00054F20 34 1E 00 A4 */ addic. r0, r30, 0xa4 +/* 80057FC4 00054F24 41 82 00 30 */ beq lbl_80057FF4 +/* 80057FC8 00054F28 88 1E 00 B0 */ lbz r0, 0xb0(r30) +/* 80057FCC 00054F2C 28 00 00 00 */ cmplwi r0, 0 +/* 80057FD0 00054F30 41 82 00 1C */ beq lbl_80057FEC +/* 80057FD4 00054F34 34 7E 00 A4 */ addic. r3, r30, 0xa4 +/* 80057FD8 00054F38 41 82 00 14 */ beq lbl_80057FEC +/* 80057FDC 00054F3C 28 03 00 00 */ cmplwi r3, 0 +/* 80057FE0 00054F40 41 82 00 0C */ beq lbl_80057FEC +/* 80057FE4 00054F44 38 80 00 00 */ li r4, 0 +/* 80057FE8 00054F48 48 2E 8E 59 */ bl __dt__6CTokenFv +lbl_80057FEC: +/* 80057FEC 00054F4C 38 00 00 00 */ li r0, 0 +/* 80057FF0 00054F50 98 1E 00 B0 */ stb r0, 0xb0(r30) +lbl_80057FF4: +/* 80057FF4 00054F54 34 1E 00 94 */ addic. r0, r30, 0x94 +/* 80057FF8 00054F58 41 82 00 30 */ beq lbl_80058028 +/* 80057FFC 00054F5C 88 1E 00 A0 */ lbz r0, 0xa0(r30) +/* 80058000 00054F60 28 00 00 00 */ cmplwi r0, 0 +/* 80058004 00054F64 41 82 00 1C */ beq lbl_80058020 +/* 80058008 00054F68 34 7E 00 94 */ addic. r3, r30, 0x94 +/* 8005800C 00054F6C 41 82 00 14 */ beq lbl_80058020 +/* 80058010 00054F70 28 03 00 00 */ cmplwi r3, 0 +/* 80058014 00054F74 41 82 00 0C */ beq lbl_80058020 +/* 80058018 00054F78 38 80 00 00 */ li r4, 0 +/* 8005801C 00054F7C 48 2E 8E 25 */ bl __dt__6CTokenFv +lbl_80058020: +/* 80058020 00054F80 38 00 00 00 */ li r0, 0 +/* 80058024 00054F84 98 1E 00 A0 */ stb r0, 0xa0(r30) +lbl_80058028: +/* 80058028 00054F88 34 1E 00 84 */ addic. r0, r30, 0x84 +/* 8005802C 00054F8C 41 82 00 0C */ beq lbl_80058038 +/* 80058030 00054F90 38 7E 00 84 */ addi r3, r30, 0x84 +/* 80058034 00054F94 48 2E 5A AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80058038: +/* 80058038 00054F98 38 7E 00 74 */ addi r3, r30, 0x74 +/* 8005803C 00054F9C 38 80 FF FF */ li r4, -1 +/* 80058040 00054FA0 48 00 02 25 */ bl sub_80058264 +/* 80058044 00054FA4 34 1E 00 48 */ addic. r0, r30, 0x48 +/* 80058048 00054FA8 41 82 00 58 */ beq lbl_800580A0 +/* 8005804C 00054FAC 80 BE 00 48 */ lwz r5, 0x48(r30) +/* 80058050 00054FB0 38 60 00 00 */ li r3, 0 +/* 80058054 00054FB4 2C 05 00 00 */ cmpwi r5, 0 +/* 80058058 00054FB8 40 81 00 40 */ ble lbl_80058098 +/* 8005805C 00054FBC 2C 05 00 08 */ cmpwi r5, 8 +/* 80058060 00054FC0 38 85 FF F8 */ addi r4, r5, -8 +/* 80058064 00054FC4 40 81 00 20 */ ble lbl_80058084 +/* 80058068 00054FC8 38 04 00 07 */ addi r0, r4, 7 +/* 8005806C 00054FCC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80058070 00054FD0 7C 09 03 A6 */ mtctr r0 +/* 80058074 00054FD4 2C 04 00 00 */ cmpwi r4, 0 +/* 80058078 00054FD8 40 81 00 0C */ ble lbl_80058084 +lbl_8005807C: +/* 8005807C 00054FDC 38 63 00 08 */ addi r3, r3, 8 +/* 80058080 00054FE0 42 00 FF FC */ bdnz lbl_8005807C +lbl_80058084: +/* 80058084 00054FE4 7C 03 28 50 */ subf r0, r3, r5 +/* 80058088 00054FE8 7C 09 03 A6 */ mtctr r0 +/* 8005808C 00054FEC 7C 03 28 00 */ cmpw r3, r5 +/* 80058090 00054FF0 40 80 00 08 */ bge lbl_80058098 +lbl_80058094: +/* 80058094 00054FF4 42 00 00 00 */ bdnz lbl_80058094 +lbl_80058098: +/* 80058098 00054FF8 38 00 00 00 */ li r0, 0 +/* 8005809C 00054FFC 90 1E 00 48 */ stw r0, 0x48(r30) +lbl_800580A0: +/* 800580A0 00055000 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 800580A4 00055004 41 82 00 0C */ beq lbl_800580B0 +/* 800580A8 00055008 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 800580AC 0005500C 48 2B D8 85 */ bl Free__7CMemoryFPCv +lbl_800580B0: +/* 800580B0 00055010 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 800580B4 00055014 41 82 00 24 */ beq lbl_800580D8 +/* 800580B8 00055018 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 800580BC 0005501C 28 03 00 00 */ cmplwi r3, 0 +/* 800580C0 00055020 41 82 00 18 */ beq lbl_800580D8 +/* 800580C4 00055024 81 83 00 00 */ lwz r12, 0(r3) +/* 800580C8 00055028 38 80 00 01 */ li r4, 1 +/* 800580CC 0005502C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800580D0 00055030 7D 89 03 A6 */ mtctr r12 +/* 800580D4 00055034 4E 80 04 21 */ bctrl +lbl_800580D8: +/* 800580D8 00055038 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 800580DC 0005503C 41 82 00 44 */ beq lbl_80058120 +/* 800580E0 00055040 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 800580E4 00055044 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 800580E8 00055048 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800580EC 0005504C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800580F0 00055050 7C 64 1B 78 */ mr r4, r3 +/* 800580F4 00055054 7C 03 02 14 */ add r0, r3, r0 +/* 800580F8 00055058 90 61 00 08 */ stw r3, 8(r1) +/* 800580FC 0005505C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80058100 00055060 90 01 00 10 */ stw r0, 0x10(r1) +/* 80058104 00055064 48 00 00 08 */ b lbl_8005810C +lbl_80058108: +/* 80058108 00055068 38 84 00 0C */ addi r4, r4, 0xc +lbl_8005810C: +/* 8005810C 0005506C 7C 04 00 40 */ cmplw r4, r0 +/* 80058110 00055070 40 82 FF F8 */ bne lbl_80058108 +/* 80058114 00055074 28 03 00 00 */ cmplwi r3, 0 +/* 80058118 00055078 41 82 00 08 */ beq lbl_80058120 +/* 8005811C 0005507C 48 2B D8 15 */ bl Free__7CMemoryFPCv +lbl_80058120: +/* 80058120 00055080 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 80058124 00055084 41 82 00 28 */ beq lbl_8005814C +/* 80058128 00055088 83 BE 00 28 */ lwz r29, 0x28(r30) +/* 8005812C 0005508C 28 1D 00 00 */ cmplwi r29, 0 +/* 80058130 00055090 41 82 00 1C */ beq lbl_8005814C +/* 80058134 00055094 41 82 00 10 */ beq lbl_80058144 +/* 80058138 00055098 7F A3 EB 78 */ mr r3, r29 +/* 8005813C 0005509C 38 80 00 00 */ li r4, 0 +/* 80058140 000550A0 48 2E 8D 01 */ bl __dt__6CTokenFv +lbl_80058144: +/* 80058144 000550A4 7F A3 EB 78 */ mr r3, r29 +/* 80058148 000550A8 48 2B D7 E9 */ bl Free__7CMemoryFPCv +lbl_8005814C: +/* 8005814C 000550AC 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80058150 000550B0 38 80 FF FF */ li r4, -1 +/* 80058154 000550B4 48 00 00 41 */ bl sub_80058194 +/* 80058158 000550B8 7F C3 F3 78 */ mr r3, r30 +/* 8005815C 000550BC 38 80 00 00 */ li r4, 0 +/* 80058160 000550C0 48 00 10 0D */ bl __dt__6IWorldFv +/* 80058164 000550C4 7F E0 07 35 */ extsh. r0, r31 +/* 80058168 000550C8 40 81 00 0C */ ble lbl_80058174 +/* 8005816C 000550CC 7F C3 F3 78 */ mr r3, r30 +/* 80058170 000550D0 48 2B D7 C1 */ bl Free__7CMemoryFPCv +lbl_80058174: +/* 80058174 000550D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80058178 000550D8 7F C3 F3 78 */ mr r3, r30 +/* 8005817C 000550DC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80058180 000550E0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80058184 000550E4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80058188 000550E8 7C 08 03 A6 */ mtlr r0 +/* 8005818C 000550EC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80058190 000550F0 4E 80 00 20 */ blr + +.global sub_80058194 +sub_80058194: +/* 80058194 000550F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80058198 000550F8 7C 08 02 A6 */ mflr r0 +/* 8005819C 000550FC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800581A0 00055100 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800581A4 00055104 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800581A8 00055108 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800581AC 0005510C 7C 9D 23 78 */ mr r29, r4 +/* 800581B0 00055110 93 81 00 20 */ stw r28, 0x20(r1) +/* 800581B4 00055114 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800581B8 00055118 41 82 00 88 */ beq lbl_80058240 +/* 800581BC 0005511C 80 1C 00 04 */ lwz r0, 4(r28) +/* 800581C0 00055120 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 800581C4 00055124 54 00 18 38 */ slwi r0, r0, 3 +/* 800581C8 00055128 7F FE 02 14 */ add r31, r30, r0 +/* 800581CC 0005512C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800581D0 00055130 93 E1 00 08 */ stw r31, 8(r1) +/* 800581D4 00055134 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800581D8 00055138 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800581DC 0005513C 48 00 00 3C */ b lbl_80058218 +lbl_800581E0: +/* 800581E0 00055140 28 1E 00 00 */ cmplwi r30, 0 +/* 800581E4 00055144 41 82 00 30 */ beq lbl_80058214 +/* 800581E8 00055148 88 1E 00 00 */ lbz r0, 0(r30) +/* 800581EC 0005514C 28 00 00 00 */ cmplwi r0, 0 +/* 800581F0 00055150 41 82 00 24 */ beq lbl_80058214 +/* 800581F4 00055154 80 7E 00 04 */ lwz r3, 4(r30) +/* 800581F8 00055158 28 03 00 00 */ cmplwi r3, 0 +/* 800581FC 0005515C 41 82 00 18 */ beq lbl_80058214 +/* 80058200 00055160 81 83 00 00 */ lwz r12, 0(r3) +/* 80058204 00055164 38 80 00 01 */ li r4, 1 +/* 80058208 00055168 81 8C 00 08 */ lwz r12, 8(r12) +/* 8005820C 0005516C 7D 89 03 A6 */ mtctr r12 +/* 80058210 00055170 4E 80 04 21 */ bctrl +lbl_80058214: +/* 80058214 00055174 3B DE 00 08 */ addi r30, r30, 8 +lbl_80058218: +/* 80058218 00055178 7C 1E F8 40 */ cmplw r30, r31 +/* 8005821C 0005517C 40 82 FF C4 */ bne lbl_800581E0 +/* 80058220 00055180 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80058224 00055184 28 03 00 00 */ cmplwi r3, 0 +/* 80058228 00055188 41 82 00 08 */ beq lbl_80058230 +/* 8005822C 0005518C 48 2B D7 05 */ bl Free__7CMemoryFPCv +lbl_80058230: +/* 80058230 00055190 7F A0 07 35 */ extsh. r0, r29 +/* 80058234 00055194 40 81 00 0C */ ble lbl_80058240 +/* 80058238 00055198 7F 83 E3 78 */ mr r3, r28 +/* 8005823C 0005519C 48 2B D6 F5 */ bl Free__7CMemoryFPCv +lbl_80058240: +/* 80058240 000551A0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80058244 000551A4 7F 83 E3 78 */ mr r3, r28 +/* 80058248 000551A8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8005824C 000551AC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80058250 000551B0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80058254 000551B4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80058258 000551B8 7C 08 03 A6 */ mtlr r0 +/* 8005825C 000551BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80058260 000551C0 4E 80 00 20 */ blr + +.global sub_80058264 +sub_80058264: +/* 80058264 000551C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80058268 000551C8 7C 08 02 A6 */ mflr r0 +/* 8005826C 000551CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80058270 000551D0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80058274 000551D4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80058278 000551D8 7C 9C 23 78 */ mr r28, r4 +/* 8005827C 000551DC 41 82 00 94 */ beq lbl_80058310 +/* 80058280 000551E0 80 1B 00 04 */ lwz r0, 4(r27) +/* 80058284 000551E4 3B E0 00 00 */ li r31, 0 +/* 80058288 000551E8 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 8005828C 000551EC 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80058290 000551F0 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80058294 000551F4 7F DD 02 14 */ add r30, r29, r0 +/* 80058298 000551F8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005829C 000551FC 93 C1 00 08 */ stw r30, 8(r1) +/* 800582A0 00055200 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800582A4 00055204 48 00 00 44 */ b lbl_800582E8 +lbl_800582A8: +/* 800582A8 00055208 28 1D 00 00 */ cmplwi r29, 0 +/* 800582AC 0005520C 41 82 00 38 */ beq lbl_800582E4 +/* 800582B0 00055210 34 1D 00 1C */ addic. r0, r29, 0x1c +/* 800582B4 00055214 41 82 00 20 */ beq lbl_800582D4 +/* 800582B8 00055218 88 1D 00 24 */ lbz r0, 0x24(r29) +/* 800582BC 0005521C 28 00 00 00 */ cmplwi r0, 0 +/* 800582C0 00055220 41 82 00 10 */ beq lbl_800582D0 +/* 800582C4 00055224 38 7D 00 1C */ addi r3, r29, 0x1c +/* 800582C8 00055228 38 80 FF FF */ li r4, -1 +/* 800582CC 0005522C 48 2E 8B 75 */ bl __dt__6CTokenFv +lbl_800582D0: +/* 800582D0 00055230 9B FD 00 24 */ stb r31, 0x24(r29) +lbl_800582D4: +/* 800582D4 00055234 34 1D 00 0C */ addic. r0, r29, 0xc +/* 800582D8 00055238 41 82 00 0C */ beq lbl_800582E4 +/* 800582DC 0005523C 38 7D 00 0C */ addi r3, r29, 0xc +/* 800582E0 00055240 48 2E 58 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800582E4: +/* 800582E4 00055244 3B BD 00 28 */ addi r29, r29, 0x28 +lbl_800582E8: +/* 800582E8 00055248 7C 1D F0 40 */ cmplw r29, r30 +/* 800582EC 0005524C 40 82 FF BC */ bne lbl_800582A8 +/* 800582F0 00055250 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 800582F4 00055254 28 03 00 00 */ cmplwi r3, 0 +/* 800582F8 00055258 41 82 00 08 */ beq lbl_80058300 +/* 800582FC 0005525C 48 2B D6 35 */ bl Free__7CMemoryFPCv +lbl_80058300: +/* 80058300 00055260 7F 80 07 35 */ extsh. r0, r28 +/* 80058304 00055264 40 81 00 0C */ ble lbl_80058310 +/* 80058308 00055268 7F 63 DB 78 */ mr r3, r27 +/* 8005830C 0005526C 48 2B D6 25 */ bl Free__7CMemoryFPCv +lbl_80058310: +/* 80058310 00055270 7F 63 DB 78 */ mr r3, r27 +/* 80058314 00055274 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80058318 00055278 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005831C 0005527C 7C 08 03 A6 */ mtlr r0 +/* 80058320 00055280 38 21 00 30 */ addi r1, r1, 0x30 +/* 80058324 00055284 4E 80 00 20 */ blr + +.global CheckWorldComplete__6CWorldFP13CStateManager7TAreaIdUi +CheckWorldComplete__6CWorldFP13CStateManager7TAreaIdUi: +/* 80058328 00055288 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 8005832C 0005528C 7C 08 02 A6 */ mflr r0 +/* 80058330 00055290 90 01 01 54 */ stw r0, 0x154(r1) +/* 80058334 00055294 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 80058338 00055298 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 8005833C 0005529C BF 21 01 24 */ stmw r25, 0x124(r1) +/* 80058340 000552A0 3C 06 00 01 */ addis r0, r6, 1 +/* 80058344 000552A4 7C 7F 1B 78 */ mr r31, r3 +/* 80058348 000552A8 28 00 FF FF */ cmplwi r0, 0xffff +/* 8005834C 000552AC 7C 9A 23 78 */ mr r26, r4 +/* 80058350 000552B0 41 82 00 58 */ beq lbl_800583A8 +/* 80058354 000552B4 38 80 00 00 */ li r4, 0 +/* 80058358 000552B8 38 A0 00 00 */ li r5, 0 +/* 8005835C 000552BC 90 9F 00 68 */ stw r4, 0x68(r31) +/* 80058360 000552C0 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80058364 000552C4 7C 09 03 A6 */ mtctr r0 +/* 80058368 000552C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8005836C 000552CC 40 81 00 44 */ ble lbl_800583B0 +lbl_80058370: +/* 80058370 000552D0 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80058374 000552D4 38 04 00 04 */ addi r0, r4, 4 +/* 80058378 000552D8 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8005837C 000552DC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80058380 000552E0 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 80058384 000552E4 80 03 00 84 */ lwz r0, 0x84(r3) +/* 80058388 000552E8 7C 06 00 40 */ cmplw r6, r0 +/* 8005838C 000552EC 40 82 00 0C */ bne lbl_80058398 +/* 80058390 000552F0 90 BF 00 68 */ stw r5, 0x68(r31) +/* 80058394 000552F4 48 00 00 1C */ b lbl_800583B0 +lbl_80058398: +/* 80058398 000552F8 38 A5 00 01 */ addi r5, r5, 1 +/* 8005839C 000552FC 38 84 00 08 */ addi r4, r4, 8 +/* 800583A0 00055300 42 00 FF D0 */ bdnz lbl_80058370 +/* 800583A4 00055304 48 00 00 0C */ b lbl_800583B0 +lbl_800583A8: +/* 800583A8 00055308 80 05 00 00 */ lwz r0, 0(r5) +/* 800583AC 0005530C 90 1F 00 68 */ stw r0, 0x68(r31) +lbl_800583B0: +/* 800583B0 00055310 80 1F 00 04 */ lwz r0, 4(r31) +/* 800583B4 00055314 7C 7A 00 D0 */ neg r3, r26 +/* 800583B8 00055318 7C 63 D3 78 */ or r3, r3, r26 +/* 800583BC 0005531C 2C 00 00 03 */ cmpwi r0, 3 +/* 800583C0 00055320 54 79 0F FE */ srwi r25, r3, 0x1f +/* 800583C4 00055324 41 82 07 C0 */ beq lbl_80058B84 +/* 800583C8 00055328 40 80 00 1C */ bge lbl_800583E4 +/* 800583CC 0005532C 2C 00 00 01 */ cmpwi r0, 1 +/* 800583D0 00055330 41 82 06 E4 */ beq lbl_80058AB4 +/* 800583D4 00055334 40 80 07 8C */ bge lbl_80058B60 +/* 800583D8 00055338 2C 00 00 00 */ cmpwi r0, 0 +/* 800583DC 0005533C 40 80 00 18 */ bge lbl_800583F4 +/* 800583E0 00055340 48 00 09 B0 */ b lbl_80058D90 +lbl_800583E4: +/* 800583E4 00055344 2C 00 00 05 */ cmpwi r0, 5 +/* 800583E8 00055348 41 82 09 A0 */ beq lbl_80058D88 +/* 800583EC 0005534C 40 80 09 A4 */ bge lbl_80058D90 +/* 800583F0 00055350 48 00 09 08 */ b lbl_80058CF8 +lbl_800583F4: +/* 800583F4 00055354 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 800583F8 00055358 81 83 00 00 */ lwz r12, 0(r3) +/* 800583FC 0005535C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80058400 00055360 7D 89 03 A6 */ mtctr r12 +/* 80058404 00055364 4E 80 04 21 */ bctrl +/* 80058408 00055368 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005840C 0005536C 40 82 00 0C */ bne lbl_80058418 +/* 80058410 00055370 38 60 00 00 */ li r3, 0 +/* 80058414 00055374 48 00 09 80 */ b lbl_80058D94 +lbl_80058418: +/* 80058418 00055378 80 9F 00 40 */ lwz r4, 0x40(r31) +/* 8005841C 0005537C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058420 00055380 80 BF 00 44 */ lwz r5, 0x44(r31) +/* 80058424 00055384 48 2E 6D A9 */ bl __ct__15CMemoryInStreamFPCvUl +/* 80058428 00055388 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8005842C 0005538C 48 2E 68 59 */ bl ReadLong__12CInputStreamFv +/* 80058430 00055390 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058434 00055394 48 2E 68 51 */ bl ReadLong__12CInputStreamFv +/* 80058438 00055398 7C 7E 1B 78 */ mr r30, r3 +/* 8005843C 0005539C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058440 000553A0 48 2E 68 45 */ bl ReadLong__12CInputStreamFv +/* 80058444 000553A4 28 1E 00 0F */ cmplwi r30, 0xf +/* 80058448 000553A8 90 7F 00 0C */ stw r3, 0xc(r31) +/* 8005844C 000553AC 41 80 00 10 */ blt lbl_8005845C +/* 80058450 000553B0 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058454 000553B4 48 2E 68 31 */ bl ReadLong__12CInputStreamFv +/* 80058458 000553B8 90 7F 00 10 */ stw r3, 0x10(r31) +lbl_8005845C: +/* 8005845C 000553BC 28 1E 00 0C */ cmplwi r30, 0xc +/* 80058460 000553C0 41 80 00 CC */ blt lbl_8005852C +/* 80058464 000553C4 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058468 000553C8 48 2E 68 1D */ bl ReadLong__12CInputStreamFv +/* 8005846C 000553CC 3C 03 00 01 */ addis r0, r3, 1 +/* 80058470 000553D0 28 00 FF FF */ cmplwi r0, 0xffff +/* 80058474 000553D4 41 82 00 B8 */ beq lbl_8005852C +/* 80058478 000553D8 28 19 00 00 */ cmplwi r25, 0 +/* 8005847C 000553DC 41 82 00 B0 */ beq lbl_8005852C +/* 80058480 000553E0 3C 80 43 4D */ lis r4, 0x434D444C@ha +/* 80058484 000553E4 90 61 00 64 */ stw r3, 0x64(r1) +/* 80058488 000553E8 38 04 44 4C */ addi r0, r4, 0x434D444C@l +/* 8005848C 000553EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80058490 000553F0 90 01 00 60 */ stw r0, 0x60(r1) +/* 80058494 000553F4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80058498 000553F8 38 A1 00 60 */ addi r5, r1, 0x60 +/* 8005849C 000553FC 81 84 00 00 */ lwz r12, 0(r4) +/* 800584A0 00055400 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800584A4 00055404 7D 89 03 A6 */ mtctr r12 +/* 800584A8 00055408 4E 80 04 21 */ bctrl +/* 800584AC 0005540C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800584B0 00055410 38 81 00 58 */ addi r4, r1, 0x58 +/* 800584B4 00055414 48 2E 89 F5 */ bl __ct__6CTokenFRC6CToken +/* 800584B8 00055418 38 00 00 00 */ li r0, 0 +/* 800584BC 0005541C 90 01 00 AC */ stw r0, 0xac(r1) +/* 800584C0 00055420 88 1F 00 A0 */ lbz r0, 0xa0(r31) +/* 800584C4 00055424 28 00 00 00 */ cmplwi r0, 0 +/* 800584C8 00055428 40 82 00 2C */ bne lbl_800584F4 +/* 800584CC 0005542C 37 3F 00 94 */ addic. r25, r31, 0x94 +/* 800584D0 00055430 41 82 00 18 */ beq lbl_800584E8 +/* 800584D4 00055434 7F 23 CB 78 */ mr r3, r25 +/* 800584D8 00055438 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 800584DC 0005543C 48 2E 89 CD */ bl __ct__6CTokenFRC6CToken +/* 800584E0 00055440 80 01 00 AC */ lwz r0, 0xac(r1) +/* 800584E4 00055444 90 19 00 08 */ stw r0, 8(r25) +lbl_800584E8: +/* 800584E8 00055448 38 00 00 01 */ li r0, 1 +/* 800584EC 0005544C 98 1F 00 A0 */ stb r0, 0xa0(r31) +/* 800584F0 00055450 48 00 00 1C */ b lbl_8005850C +lbl_800584F4: +/* 800584F4 00055454 3B 3F 00 94 */ addi r25, r31, 0x94 +/* 800584F8 00055458 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 800584FC 0005545C 7F 23 CB 78 */ mr r3, r25 +/* 80058500 00055460 48 2E 87 C5 */ bl __as__6CTokenFRC6CToken +/* 80058504 00055464 80 01 00 AC */ lwz r0, 0xac(r1) +/* 80058508 00055468 90 19 00 08 */ stw r0, 8(r25) +lbl_8005850C: +/* 8005850C 0005546C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80058510 00055470 38 80 00 00 */ li r4, 0 +/* 80058514 00055474 48 2E 89 2D */ bl __dt__6CTokenFv +/* 80058518 00055478 38 61 00 58 */ addi r3, r1, 0x58 +/* 8005851C 0005547C 38 80 FF FF */ li r4, -1 +/* 80058520 00055480 48 2E 89 21 */ bl __dt__6CTokenFv +/* 80058524 00055484 38 7F 00 94 */ addi r3, r31, 0x94 +/* 80058528 00055488 48 2E 88 5D */ bl Lock__6CTokenFv +lbl_8005852C: +/* 8005852C 0005548C 28 1E 00 11 */ cmplwi r30, 0x11 +/* 80058530 00055490 41 80 00 60 */ blt lbl_80058590 +/* 80058534 00055494 38 61 00 94 */ addi r3, r1, 0x94 +/* 80058538 00055498 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8005853C 0005549C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80058540 000554A0 4B FF EC 99 */ bl "LoadRelays__FR12CInputStreamRQ24rstl44vector" +/* 80058544 000554A4 38 7F 00 2C */ addi r3, r31, 0x2c +/* 80058548 000554A8 38 81 00 94 */ addi r4, r1, 0x94 +/* 8005854C 000554AC 48 00 08 65 */ bl sub_80058db0 +/* 80058550 000554B0 80 01 00 98 */ lwz r0, 0x98(r1) +/* 80058554 000554B4 80 61 00 A0 */ lwz r3, 0xa0(r1) +/* 80058558 000554B8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005855C 000554BC 90 61 00 28 */ stw r3, 0x28(r1) +/* 80058560 000554C0 7C 64 1B 78 */ mr r4, r3 +/* 80058564 000554C4 7C 03 02 14 */ add r0, r3, r0 +/* 80058568 000554C8 90 61 00 24 */ stw r3, 0x24(r1) +/* 8005856C 000554CC 90 01 00 30 */ stw r0, 0x30(r1) +/* 80058570 000554D0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80058574 000554D4 48 00 00 08 */ b lbl_8005857C +lbl_80058578: +/* 80058578 000554D8 38 84 00 0C */ addi r4, r4, 0xc +lbl_8005857C: +/* 8005857C 000554DC 7C 04 00 40 */ cmplw r4, r0 +/* 80058580 000554E0 40 82 FF F8 */ bne lbl_80058578 +/* 80058584 000554E4 28 03 00 00 */ cmplwi r3, 0 +/* 80058588 000554E8 41 82 00 08 */ beq lbl_80058590 +/* 8005858C 000554EC 48 2B D3 A5 */ bl Free__7CMemoryFPCv +lbl_80058590: +/* 80058590 000554F0 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058594 000554F4 48 2E 66 F1 */ bl ReadLong__12CInputStreamFv +/* 80058598 000554F8 7C 7C 1B 78 */ mr r28, r3 +/* 8005859C 000554FC 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800585A0 00055500 48 2E 66 E5 */ bl ReadLong__12CInputStreamFv +/* 800585A4 00055504 7F 84 E3 78 */ mr r4, r28 +/* 800585A8 00055508 38 7F 00 14 */ addi r3, r31, 0x14 +/* 800585AC 0005550C 48 00 12 C1 */ bl sub_8005986c +/* 800585B0 00055510 3C 60 80 3D */ lis r3, lbl_803CCF70@ha +/* 800585B4 00055514 3B 60 00 00 */ li r27, 0 +/* 800585B8 00055518 3B A3 CF 70 */ addi r29, r3, lbl_803CCF70@l +/* 800585BC 0005551C 48 00 00 D4 */ b lbl_80058690 +lbl_800585C0: +/* 800585C0 00055520 38 9D 00 01 */ addi r4, r29, 1 +/* 800585C4 00055524 38 60 01 3C */ li r3, 0x13c +/* 800585C8 00055528 38 A0 00 00 */ li r5, 0 +/* 800585CC 0005552C 48 2B D2 A1 */ bl __nw__FUlPCcPCc +/* 800585D0 00055530 7C 64 1B 79 */ or. r4, r3, r3 +/* 800585D4 00055534 41 82 00 18 */ beq lbl_800585EC +/* 800585D8 00055538 7F 65 DB 78 */ mr r5, r27 +/* 800585DC 0005553C 7F C6 F3 78 */ mr r6, r30 +/* 800585E0 00055540 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800585E4 00055544 48 00 AC 81 */ bl __ct__9CGameAreaFR12CInputStreami +/* 800585E8 00055548 7C 64 1B 78 */ mr r4, r3 +lbl_800585EC: +/* 800585EC 0005554C 7C 64 00 D0 */ neg r3, r4 +/* 800585F0 00055550 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 800585F4 00055554 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 800585F8 00055558 7C 63 23 78 */ or r3, r3, r4 +/* 800585FC 0005555C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80058600 00055560 90 81 00 54 */ stw r4, 0x54(r1) +/* 80058604 00055564 7C 00 28 00 */ cmpw r0, r5 +/* 80058608 00055568 98 61 00 50 */ stb r3, 0x50(r1) +/* 8005860C 0005556C 41 80 00 1C */ blt lbl_80058628 +/* 80058610 00055570 2C 05 00 00 */ cmpwi r5, 0 +/* 80058614 00055574 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80058618 00055578 38 80 00 04 */ li r4, 4 +/* 8005861C 0005557C 41 82 00 08 */ beq lbl_80058624 +/* 80058620 00055580 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80058624: +/* 80058624 00055584 48 00 12 49 */ bl sub_8005986c +lbl_80058628: +/* 80058628 00055588 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8005862C 0005558C 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80058630 00055590 54 00 18 38 */ slwi r0, r0, 3 +/* 80058634 00055594 7C A3 02 15 */ add. r5, r3, r0 +/* 80058638 00055598 41 82 00 1C */ beq lbl_80058654 +/* 8005863C 0005559C 88 81 00 50 */ lbz r4, 0x50(r1) +/* 80058640 000555A0 38 00 00 00 */ li r0, 0 +/* 80058644 000555A4 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80058648 000555A8 98 85 00 00 */ stb r4, 0(r5) +/* 8005864C 000555AC 90 65 00 04 */ stw r3, 4(r5) +/* 80058650 000555B0 98 01 00 50 */ stb r0, 0x50(r1) +lbl_80058654: +/* 80058654 000555B4 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 80058658 000555B8 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8005865C 000555BC 38 63 00 01 */ addi r3, r3, 1 +/* 80058660 000555C0 28 00 00 00 */ cmplwi r0, 0 +/* 80058664 000555C4 90 7F 00 18 */ stw r3, 0x18(r31) +/* 80058668 000555C8 41 82 00 24 */ beq lbl_8005868C +/* 8005866C 000555CC 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80058670 000555D0 28 03 00 00 */ cmplwi r3, 0 +/* 80058674 000555D4 41 82 00 18 */ beq lbl_8005868C +/* 80058678 000555D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8005867C 000555DC 38 80 00 01 */ li r4, 1 +/* 80058680 000555E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80058684 000555E4 7D 89 03 A6 */ mtctr r12 +/* 80058688 000555E8 4E 80 04 21 */ bctrl +lbl_8005868C: +/* 8005868C 000555EC 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80058690: +/* 80058690 000555F0 7C 1B E0 00 */ cmpw r27, r28 +/* 80058694 000555F4 41 80 FF 2C */ blt lbl_800585C0 +/* 80058698 000555F8 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 8005869C 000555FC 2C 03 00 05 */ cmpwi r3, 5 +/* 800586A0 00055600 40 80 00 40 */ bge lbl_800586E0 +/* 800586A4 00055604 54 60 10 3A */ slwi r0, r3, 2 +/* 800586A8 00055608 20 83 00 05 */ subfic r4, r3, 5 +/* 800586AC 0005560C 7C 7F 02 14 */ add r3, r31, r0 +/* 800586B0 00055610 38 00 00 00 */ li r0, 0 +/* 800586B4 00055614 7C 89 03 A6 */ mtctr r4 +/* 800586B8 00055618 2C 04 00 00 */ cmpwi r4, 0 +/* 800586BC 0005561C 38 63 00 4C */ addi r3, r3, 0x4c +/* 800586C0 00055620 40 81 00 18 */ ble lbl_800586D8 +lbl_800586C4: +/* 800586C4 00055624 28 03 00 00 */ cmplwi r3, 0 +/* 800586C8 00055628 41 82 00 08 */ beq lbl_800586D0 +/* 800586CC 0005562C 90 03 00 00 */ stw r0, 0(r3) +lbl_800586D0: +/* 800586D0 00055630 38 63 00 04 */ addi r3, r3, 4 +/* 800586D4 00055634 42 00 FF F0 */ bdnz lbl_800586C4 +lbl_800586D8: +/* 800586D8 00055638 38 00 00 05 */ li r0, 5 +/* 800586DC 0005563C 90 1F 00 48 */ stw r0, 0x48(r31) +lbl_800586E0: +/* 800586E0 00055640 3B 60 00 00 */ li r27, 0 +/* 800586E4 00055644 3B 20 00 00 */ li r25, 0 +/* 800586E8 00055648 48 00 00 24 */ b lbl_8005870C +lbl_800586EC: +/* 800586EC 0005564C 80 9F 00 20 */ lwz r4, 0x20(r31) +/* 800586F0 00055650 38 19 00 04 */ addi r0, r25, 4 +/* 800586F4 00055654 7F E3 FB 78 */ mr r3, r31 +/* 800586F8 00055658 38 A0 00 01 */ li r5, 1 +/* 800586FC 0005565C 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80058700 00055660 4B FF F4 35 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain +/* 80058704 00055664 3B 39 00 08 */ addi r25, r25, 8 +/* 80058708 00055668 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8005870C: +/* 8005870C 0005566C 7C 1B E0 00 */ cmpw r27, r28 +/* 80058710 00055670 41 80 FF DC */ blt lbl_800586EC +/* 80058714 00055674 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058718 00055678 48 2E 65 6D */ bl ReadLong__12CInputStreamFv +/* 8005871C 0005567C 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80058720 00055680 90 7F 00 24 */ stw r3, 0x24(r31) +/* 80058724 00055684 38 64 CF 70 */ addi r3, r4, lbl_803CCF70@l +/* 80058728 00055688 3B 20 00 00 */ li r25, 0 +/* 8005872C 0005568C 38 83 00 01 */ addi r4, r3, 1 +/* 80058730 00055690 38 60 00 0C */ li r3, 0xc +/* 80058734 00055694 38 A0 00 00 */ li r5, 0 +/* 80058738 00055698 48 2B D1 35 */ bl __nw__FUlPCcPCc +/* 8005873C 0005569C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80058740 000556A0 41 82 00 4C */ beq lbl_8005878C +/* 80058744 000556A4 80 DF 00 24 */ lwz r6, 0x24(r31) +/* 80058748 000556A8 3C 60 4D 41 */ lis r3, 0x4D415057@ha +/* 8005874C 000556AC 38 03 50 57 */ addi r0, r3, 0x4D415057@l +/* 80058750 000556B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80058754 000556B4 90 01 00 48 */ stw r0, 0x48(r1) +/* 80058758 000556B8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8005875C 000556BC 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80058760 000556C0 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 80058764 000556C4 81 84 00 00 */ lwz r12, 0(r4) +/* 80058768 000556C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8005876C 000556CC 7D 89 03 A6 */ mtctr r12 +/* 80058770 000556D0 4E 80 04 21 */ bctrl +/* 80058774 000556D4 7F 63 DB 78 */ mr r3, r27 +/* 80058778 000556D8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8005877C 000556DC 3B 20 00 01 */ li r25, 1 +/* 80058780 000556E0 48 2E 87 29 */ bl __ct__6CTokenFRC6CToken +/* 80058784 000556E4 38 00 00 00 */ li r0, 0 +/* 80058788 000556E8 90 1B 00 08 */ stw r0, 8(r27) +lbl_8005878C: +/* 8005878C 000556EC 83 9F 00 28 */ lwz r28, 0x28(r31) +/* 80058790 000556F0 28 1C 00 00 */ cmplwi r28, 0 +/* 80058794 000556F4 41 82 00 1C */ beq lbl_800587B0 +/* 80058798 000556F8 41 82 00 10 */ beq lbl_800587A8 +/* 8005879C 000556FC 7F 83 E3 78 */ mr r3, r28 +/* 800587A0 00055700 38 80 00 00 */ li r4, 0 +/* 800587A4 00055704 48 2E 86 9D */ bl __dt__6CTokenFv +lbl_800587A8: +/* 800587A8 00055708 7F 83 E3 78 */ mr r3, r28 +/* 800587AC 0005570C 48 2B D1 85 */ bl Free__7CMemoryFPCv +lbl_800587B0: +/* 800587B0 00055710 7F 20 07 75 */ extsb. r0, r25 +/* 800587B4 00055714 93 7F 00 28 */ stw r27, 0x28(r31) +/* 800587B8 00055718 41 82 00 10 */ beq lbl_800587C8 +/* 800587BC 0005571C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800587C0 00055720 38 80 FF FF */ li r4, -1 +/* 800587C4 00055724 48 2E 86 7D */ bl __dt__6CTokenFv +lbl_800587C8: +/* 800587C8 00055728 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 800587CC 0005572C 48 2E 85 B9 */ bl Lock__6CTokenFv +/* 800587D0 00055730 28 1A 00 00 */ cmplwi r26, 0 +/* 800587D4 00055734 41 82 00 7C */ beq lbl_80058850 +/* 800587D8 00055738 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800587DC 0005573C 38 E0 00 00 */ li r7, 0 +/* 800587E0 00055740 90 E1 00 C4 */ stw r7, 0xc4(r1) +/* 800587E4 00055744 7F 43 D3 78 */ mr r3, r26 +/* 800587E8 00055748 38 81 00 34 */ addi r4, r1, 0x34 +/* 800587EC 0005574C 38 A1 00 F8 */ addi r5, r1, 0xf8 +/* 800587F0 00055750 90 E1 00 C8 */ stw r7, 0xc8(r1) +/* 800587F4 00055754 38 C1 00 C0 */ addi r6, r1, 0xc0 +/* 800587F8 00055758 90 E1 00 CC */ stw r7, 0xcc(r1) +/* 800587FC 0005575C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80058800 00055760 4B FE F9 75 */ bl LoadScriptObjects__13CStateManagerF7TAreaIdR12CInputStreamQ213CStateManager18EScriptPersistence +/* 80058804 00055764 7F 43 D3 78 */ mr r3, r26 +/* 80058808 00055768 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8005880C 0005576C 4B FE F8 A5 */ bl "InitScriptObjects__13CStateManagerFRCQ24rstl18vector<9TEditorId>" +/* 80058810 00055770 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80058814 00055774 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 80058818 00055778 54 00 10 3A */ slwi r0, r0, 2 +/* 8005881C 0005577C 7C 03 02 14 */ add r0, r3, r0 +/* 80058820 00055780 90 61 00 18 */ stw r3, 0x18(r1) +/* 80058824 00055784 7C 64 1B 78 */ mr r4, r3 +/* 80058828 00055788 90 01 00 20 */ stw r0, 0x20(r1) +/* 8005882C 0005578C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80058830 00055790 90 61 00 14 */ stw r3, 0x14(r1) +/* 80058834 00055794 48 00 00 08 */ b lbl_8005883C +lbl_80058838: +/* 80058838 00055798 38 84 00 04 */ addi r4, r4, 4 +lbl_8005883C: +/* 8005883C 0005579C 7C 04 00 40 */ cmplw r4, r0 +/* 80058840 000557A0 40 82 FF F8 */ bne lbl_80058838 +/* 80058844 000557A4 28 03 00 00 */ cmplwi r3, 0 +/* 80058848 000557A8 41 82 00 08 */ beq lbl_80058850 +/* 8005884C 000557AC 48 2B D0 E5 */ bl Free__7CMemoryFPCv +lbl_80058850: +/* 80058850 000557B0 28 1E 00 0A */ cmplwi r30, 0xa +/* 80058854 000557B4 40 81 01 28 */ ble lbl_8005897C +/* 80058858 000557B8 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8005885C 000557BC 48 2E 64 29 */ bl ReadLong__12CInputStreamFv +/* 80058860 000557C0 7C 7C 1B 78 */ mr r28, r3 +/* 80058864 000557C4 38 7F 00 74 */ addi r3, r31, 0x74 +/* 80058868 000557C8 7F 84 E3 78 */ mr r4, r28 +/* 8005886C 000557CC 48 00 0E 9D */ bl "reserve__Q24rstl61vectorFi" +/* 80058870 000557D0 3B A1 00 DC */ addi r29, r1, 0xdc +/* 80058874 000557D4 3B 61 00 EC */ addi r27, r1, 0xec +/* 80058878 000557D8 3B 40 00 00 */ li r26, 0 +/* 8005887C 000557DC 48 00 00 F4 */ b lbl_80058970 +lbl_80058880: +/* 80058880 000557E0 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058884 000557E4 48 2E 64 01 */ bl ReadLong__12CInputStreamFv +/* 80058888 000557E8 7C 79 1B 78 */ mr r25, r3 +/* 8005888C 000557EC 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058890 000557F0 48 2E 63 F5 */ bl ReadLong__12CInputStreamFv +/* 80058894 000557F4 7C 65 1B 78 */ mr r5, r3 +/* 80058898 000557F8 7F 24 CB 78 */ mr r4, r25 +/* 8005889C 000557FC 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800588A0 00055800 48 00 07 DD */ bl __ct__Q26CWorld15CSoundGroupDataFiUi +/* 800588A4 00055804 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 800588A8 00055808 80 BF 00 7C */ lwz r5, 0x7c(r31) +/* 800588AC 0005580C 7C 00 28 00 */ cmpw r0, r5 +/* 800588B0 00055810 41 80 00 1C */ blt lbl_800588CC +/* 800588B4 00055814 2C 05 00 00 */ cmpwi r5, 0 +/* 800588B8 00055818 38 7F 00 74 */ addi r3, r31, 0x74 +/* 800588BC 0005581C 38 80 00 04 */ li r4, 4 +/* 800588C0 00055820 41 82 00 08 */ beq lbl_800588C8 +/* 800588C4 00055824 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800588C8: +/* 800588C8 00055828 48 00 0E 41 */ bl "reserve__Q24rstl61vectorFi" +lbl_800588CC: +/* 800588CC 0005582C 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 800588D0 00055830 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 800588D4 00055834 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 800588D8 00055838 7F 23 02 15 */ add. r25, r3, r0 +/* 800588DC 0005583C 41 82 00 4C */ beq lbl_80058928 +/* 800588E0 00055840 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 800588E4 00055844 7F A4 EB 78 */ mr r4, r29 +/* 800588E8 00055848 38 79 00 0C */ addi r3, r25, 0xc +/* 800588EC 0005584C 90 19 00 00 */ stw r0, 0(r25) +/* 800588F0 00055850 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800588F4 00055854 90 19 00 04 */ stw r0, 4(r25) +/* 800588F8 00055858 88 01 00 D8 */ lbz r0, 0xd8(r1) +/* 800588FC 0005585C 98 19 00 08 */ stb r0, 8(r25) +/* 80058900 00055860 48 2E 58 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80058904 00055864 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 80058908 00055868 98 19 00 24 */ stb r0, 0x24(r25) +/* 8005890C 0005586C 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 80058910 00055870 28 00 00 00 */ cmplwi r0, 0 +/* 80058914 00055874 41 82 00 14 */ beq lbl_80058928 +/* 80058918 00055878 34 79 00 1C */ addic. r3, r25, 0x1c +/* 8005891C 0005587C 41 82 00 0C */ beq lbl_80058928 +/* 80058920 00055880 7F 64 DB 78 */ mr r4, r27 +/* 80058924 00055884 48 2E 85 85 */ bl __ct__6CTokenFRC6CToken +lbl_80058928: +/* 80058928 00055888 80 7F 00 78 */ lwz r3, 0x78(r31) +/* 8005892C 0005588C 28 1B 00 00 */ cmplwi r27, 0 +/* 80058930 00055890 38 03 00 01 */ addi r0, r3, 1 +/* 80058934 00055894 90 1F 00 78 */ stw r0, 0x78(r31) +/* 80058938 00055898 41 82 00 24 */ beq lbl_8005895C +/* 8005893C 0005589C 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 80058940 000558A0 28 00 00 00 */ cmplwi r0, 0 +/* 80058944 000558A4 41 82 00 10 */ beq lbl_80058954 +/* 80058948 000558A8 7F 63 DB 78 */ mr r3, r27 +/* 8005894C 000558AC 38 80 FF FF */ li r4, -1 +/* 80058950 000558B0 48 2E 84 F1 */ bl __dt__6CTokenFv +lbl_80058954: +/* 80058954 000558B4 38 00 00 00 */ li r0, 0 +/* 80058958 000558B8 98 01 00 F4 */ stb r0, 0xf4(r1) +lbl_8005895C: +/* 8005895C 000558BC 28 1D 00 00 */ cmplwi r29, 0 +/* 80058960 000558C0 41 82 00 0C */ beq lbl_8005896C +/* 80058964 000558C4 7F A3 EB 78 */ mr r3, r29 +/* 80058968 000558C8 48 2E 51 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8005896C: +/* 8005896C 000558CC 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80058970: +/* 80058970 000558D0 7C 1A E0 00 */ cmpw r26, r28 +/* 80058974 000558D4 41 80 FF 0C */ blt lbl_80058880 +/* 80058978 000558D8 48 2F 1E 9D */ bl sub_8034a814 +lbl_8005897C: +/* 8005897C 000558DC 28 1E 00 0C */ cmplwi r30, 0xc +/* 80058980 000558E0 40 81 00 C8 */ ble lbl_80058A48 +/* 80058984 000558E4 38 61 00 84 */ addi r3, r1, 0x84 +/* 80058988 000558E8 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8005898C 000558EC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80058990 000558F0 48 2E 59 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80058994 000558F4 38 7F 00 84 */ addi r3, r31, 0x84 +/* 80058998 000558F8 38 81 00 84 */ addi r4, r1, 0x84 +/* 8005899C 000558FC 48 2E 53 C1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800589A0 00055900 38 61 00 84 */ addi r3, r1, 0x84 +/* 800589A4 00055904 48 2E 51 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800589A8 00055908 80 9F 00 08 */ lwz r4, 8(r31) +/* 800589AC 0005590C 38 61 00 74 */ addi r3, r1, 0x74 +/* 800589B0 00055910 48 1C 42 3D */ bl sub_8021cbec +/* 800589B4 00055914 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800589B8 00055918 38 81 00 74 */ addi r4, r1, 0x74 +/* 800589BC 0005591C 48 2E 57 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800589C0 00055920 38 61 00 74 */ addi r3, r1, 0x74 +/* 800589C4 00055924 48 2E 51 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800589C8 00055928 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) +/* 800589CC 0005592C 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800589D0 00055930 3B 20 00 7F */ li r25, 0x7f +/* 800589D4 00055934 48 1C 46 1D */ bl "HasTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800589D8 00055938 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800589DC 0005593C 41 82 00 40 */ beq lbl_80058A1C +/* 800589E0 00055940 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) +/* 800589E4 00055944 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800589E8 00055948 48 1C 42 BD */ bl "GetTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800589EC 0005594C 7C 64 1B 78 */ mr r4, r3 +/* 800589F0 00055950 38 7F 00 84 */ addi r3, r31, 0x84 +/* 800589F4 00055954 38 84 00 30 */ addi r4, r4, 0x30 +/* 800589F8 00055958 48 2E 53 65 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800589FC 0005595C 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) +/* 80058A00 00055960 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80058A04 00055964 48 1C 42 A1 */ bl "GetTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80058A08 00055968 C0 22 86 9C */ lfs f1, lbl_805AA3BC@sda21(r2) +/* 80058A0C 0005596C C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 80058A10 00055970 EF E1 00 32 */ fmuls f31, f1, f0 +/* 80058A14 00055974 F3 E1 C0 08 */ psq_st f31, 8(r1), 1, qr4 +/* 80058A18 00055978 8B 21 00 08 */ lbz r25, 8(r1) +lbl_80058A1C: +/* 80058A1C 0005597C 38 7F 00 84 */ addi r3, r31, 0x84 +/* 80058A20 00055980 48 1B 3C 51 */ bl IsDSPFile__20CScriptStreamedMusicFRCQ24rstl6string +/* 80058A24 00055984 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80058A28 00055988 40 82 00 18 */ bne lbl_80058A40 +/* 80058A2C 0005598C C0 22 86 A0 */ lfs f1, lbl_805AA3C0@sda21(r2) +/* 80058A30 00055990 38 7F 00 84 */ addi r3, r31, 0x84 +/* 80058A34 00055994 57 24 06 3E */ clrlwi r4, r25, 0x18 +/* 80058A38 00055998 FC 40 08 90 */ fmr f2, f1 +/* 80058A3C 0005599C 48 30 D1 7D */ bl "SetDefaultAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" +lbl_80058A40: +/* 80058A40 000559A0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80058A44 000559A4 48 2E 50 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80058A48: +/* 80058A48 000559A8 80 BF 00 08 */ lwz r5, 8(r31) +/* 80058A4C 000559AC 7F C4 F3 78 */ mr r4, r30 +/* 80058A50 000559B0 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058A54 000559B4 48 00 07 C9 */ bl ReadWorldLayers__12CWorldLayersFR12CInputStream +/* 80058A58 000559B8 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80058A5C 000559BC 28 03 00 00 */ cmplwi r3, 0 +/* 80058A60 000559C0 41 82 00 18 */ beq lbl_80058A78 +/* 80058A64 000559C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80058A68 000559C8 38 80 00 01 */ li r4, 1 +/* 80058A6C 000559CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80058A70 000559D0 7D 89 03 A6 */ mtctr r12 +/* 80058A74 000559D4 4E 80 04 21 */ bctrl +lbl_80058A78: +/* 80058A78 000559D8 38 00 00 00 */ li r0, 0 +/* 80058A7C 000559DC 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 80058A80 000559E0 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80058A84 000559E4 48 2B CE AD */ bl Free__7CMemoryFPCv +/* 80058A88 000559E8 38 80 00 00 */ li r4, 0 +/* 80058A8C 000559EC 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 80058A90 000559F0 90 9F 00 40 */ stw r4, 0x40(r31) +/* 80058A94 000559F4 38 A0 00 01 */ li r5, 1 +/* 80058A98 000559F8 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 80058A9C 000559FC 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80058AA0 00055A00 90 9F 00 44 */ stw r4, 0x44(r31) +/* 80058AA4 00055A04 38 80 00 00 */ li r4, 0 +/* 80058AA8 00055A08 90 BF 00 04 */ stw r5, 4(r31) +/* 80058AAC 00055A0C 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 80058AB0 00055A10 48 2E 65 FD */ bl __dt__12CInputStreamFv +lbl_80058AB4: +/* 80058AB4 00055A14 83 5F 00 28 */ lwz r26, 0x28(r31) +/* 80058AB8 00055A18 80 1A 00 08 */ lwz r0, 8(r26) +/* 80058ABC 00055A1C 28 00 00 00 */ cmplwi r0, 0 +/* 80058AC0 00055A20 41 82 00 0C */ beq lbl_80058ACC +/* 80058AC4 00055A24 38 60 00 01 */ li r3, 1 +/* 80058AC8 00055A28 48 00 00 3C */ b lbl_80058B04 +lbl_80058ACC: +/* 80058ACC 00055A2C 88 1A 00 04 */ lbz r0, 4(r26) +/* 80058AD0 00055A30 28 00 00 00 */ cmplwi r0, 0 +/* 80058AD4 00055A34 41 82 00 2C */ beq lbl_80058B00 +/* 80058AD8 00055A38 80 7A 00 00 */ lwz r3, 0(r26) +/* 80058ADC 00055A3C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80058AE0 00055A40 28 00 00 00 */ cmplwi r0, 0 +/* 80058AE4 00055A44 41 82 00 1C */ beq lbl_80058B00 +/* 80058AE8 00055A48 7F 43 D3 78 */ mr r3, r26 +/* 80058AEC 00055A4C 48 2E 83 21 */ bl GetObj__6CTokenFv +/* 80058AF0 00055A50 80 03 00 04 */ lwz r0, 4(r3) +/* 80058AF4 00055A54 38 60 00 01 */ li r3, 1 +/* 80058AF8 00055A58 90 1A 00 08 */ stw r0, 8(r26) +/* 80058AFC 00055A5C 48 00 00 08 */ b lbl_80058B04 +lbl_80058B00: +/* 80058B00 00055A60 38 60 00 00 */ li r3, 0 +lbl_80058B04: +/* 80058B04 00055A64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80058B08 00055A68 40 82 00 0C */ bne lbl_80058B14 +/* 80058B0C 00055A6C 38 60 00 00 */ li r3, 0 +/* 80058B10 00055A70 48 00 02 84 */ b lbl_80058D94 +lbl_80058B14: +/* 80058B14 00055A74 83 3F 00 68 */ lwz r25, 0x68(r31) +/* 80058B18 00055A78 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80058B1C 00055A7C 7C 19 00 00 */ cmpw r25, r0 +/* 80058B20 00055A80 40 82 00 20 */ bne lbl_80058B40 +/* 80058B24 00055A84 7F E3 FB 78 */ mr r3, r31 +/* 80058B28 00055A88 4B FF EB 75 */ bl GetMapWorld__6CWorldCFv +/* 80058B2C 00055A8C 7F E4 FB 78 */ mr r4, r31 +/* 80058B30 00055A90 38 A0 00 00 */ li r5, 0 +/* 80058B34 00055A94 38 C0 27 0F */ li r6, 0x270f +/* 80058B38 00055A98 48 04 86 D1 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii +/* 80058B3C 00055A9C 48 00 00 1C */ b lbl_80058B58 +lbl_80058B40: +/* 80058B40 00055AA0 7F E3 FB 78 */ mr r3, r31 +/* 80058B44 00055AA4 4B FF EB 59 */ bl GetMapWorld__6CWorldCFv +/* 80058B48 00055AA8 7F E4 FB 78 */ mr r4, r31 +/* 80058B4C 00055AAC 7F 25 CB 78 */ mr r5, r25 +/* 80058B50 00055AB0 38 C0 00 03 */ li r6, 3 +/* 80058B54 00055AB4 48 04 86 B5 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii +lbl_80058B58: +/* 80058B58 00055AB8 38 00 00 02 */ li r0, 2 +/* 80058B5C 00055ABC 90 1F 00 04 */ stw r0, 4(r31) +lbl_80058B60: +/* 80058B60 00055AC0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80058B64 00055AC4 80 63 00 08 */ lwz r3, 8(r3) +/* 80058B68 00055AC8 48 04 86 19 */ bl IsMapAreasStreaming__9CMapWorldCFv +/* 80058B6C 00055ACC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80058B70 00055AD0 41 82 00 0C */ beq lbl_80058B7C +/* 80058B74 00055AD4 38 60 00 00 */ li r3, 0 +/* 80058B78 00055AD8 48 00 02 1C */ b lbl_80058D94 +lbl_80058B7C: +/* 80058B7C 00055ADC 38 00 00 03 */ li r0, 3 +/* 80058B80 00055AE0 90 1F 00 04 */ stw r0, 4(r31) +lbl_80058B84: +/* 80058B84 00055AE4 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80058B88 00055AE8 38 80 00 01 */ li r4, 1 +/* 80058B8C 00055AEC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80058B90 00055AF0 38 60 00 00 */ li r3, 0 +/* 80058B94 00055AF4 98 1F 00 70 */ stb r0, 0x70(r31) +/* 80058B98 00055AF8 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80058B9C 00055AFC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80058BA0 00055B00 98 1F 00 70 */ stb r0, 0x70(r31) +/* 80058BA4 00055B04 88 1F 00 A0 */ lbz r0, 0xa0(r31) +/* 80058BA8 00055B08 28 00 00 00 */ cmplwi r0, 0 +/* 80058BAC 00055B0C 41 82 01 0C */ beq lbl_80058CB8 +/* 80058BB0 00055B10 3B 3F 00 94 */ addi r25, r31, 0x94 +/* 80058BB4 00055B14 80 1F 00 9C */ lwz r0, 0x9c(r31) +/* 80058BB8 00055B18 28 00 00 00 */ cmplwi r0, 0 +/* 80058BBC 00055B1C 41 82 00 08 */ beq lbl_80058BC4 +/* 80058BC0 00055B20 48 00 00 3C */ b lbl_80058BFC +lbl_80058BC4: +/* 80058BC4 00055B24 88 19 00 04 */ lbz r0, 4(r25) +/* 80058BC8 00055B28 28 00 00 00 */ cmplwi r0, 0 +/* 80058BCC 00055B2C 41 82 00 2C */ beq lbl_80058BF8 +/* 80058BD0 00055B30 80 79 00 00 */ lwz r3, 0(r25) +/* 80058BD4 00055B34 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80058BD8 00055B38 28 00 00 00 */ cmplwi r0, 0 +/* 80058BDC 00055B3C 41 82 00 1C */ beq lbl_80058BF8 +/* 80058BE0 00055B40 7F 23 CB 78 */ mr r3, r25 +/* 80058BE4 00055B44 48 2E 82 29 */ bl GetObj__6CTokenFv +/* 80058BE8 00055B48 80 03 00 04 */ lwz r0, 4(r3) +/* 80058BEC 00055B4C 38 80 00 01 */ li r4, 1 +/* 80058BF0 00055B50 90 19 00 08 */ stw r0, 8(r25) +/* 80058BF4 00055B54 48 00 00 08 */ b lbl_80058BFC +lbl_80058BF8: +/* 80058BF8 00055B58 38 80 00 00 */ li r4, 0 +lbl_80058BFC: +/* 80058BFC 00055B5C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80058C00 00055B60 40 82 00 0C */ bne lbl_80058C0C +/* 80058C04 00055B64 38 60 00 00 */ li r3, 0 +/* 80058C08 00055B68 48 00 01 8C */ b lbl_80058D94 +lbl_80058C0C: +/* 80058C0C 00055B6C 83 3F 00 9C */ lwz r25, 0x9c(r31) +/* 80058C10 00055B70 38 80 00 00 */ li r4, 0 +/* 80058C14 00055B74 7F 23 CB 78 */ mr r3, r25 +/* 80058C18 00055B78 48 2F CA 1D */ bl Touch__6CModelCFi +/* 80058C1C 00055B7C 7F 23 CB 78 */ mr r3, r25 +/* 80058C20 00055B80 38 80 00 00 */ li r4, 0 +/* 80058C24 00055B84 48 2F C9 85 */ bl IsLoaded__6CModelCFi +/* 80058C28 00055B88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80058C2C 00055B8C 40 82 00 0C */ bne lbl_80058C38 +/* 80058C30 00055B90 38 60 00 00 */ li r3, 0 +/* 80058C34 00055B94 48 00 01 60 */ b lbl_80058D94 +lbl_80058C38: +/* 80058C38 00055B98 3B 21 00 68 */ addi r25, r1, 0x68 +/* 80058C3C 00055B9C 38 9F 00 94 */ addi r4, r31, 0x94 +/* 80058C40 00055BA0 7F 23 CB 78 */ mr r3, r25 +/* 80058C44 00055BA4 48 2E 82 65 */ bl __ct__6CTokenFRC6CToken +/* 80058C48 00055BA8 7F 23 CB 78 */ mr r3, r25 +/* 80058C4C 00055BAC 48 2E 81 C1 */ bl GetObj__6CTokenFv +/* 80058C50 00055BB0 80 03 00 04 */ lwz r0, 4(r3) +/* 80058C54 00055BB4 90 01 00 70 */ stw r0, 0x70(r1) +/* 80058C58 00055BB8 88 1F 00 B0 */ lbz r0, 0xb0(r31) +/* 80058C5C 00055BBC 28 00 00 00 */ cmplwi r0, 0 +/* 80058C60 00055BC0 40 82 00 34 */ bne lbl_80058C94 +/* 80058C64 00055BC4 37 3F 00 A4 */ addic. r25, r31, 0xa4 +/* 80058C68 00055BC8 41 82 00 20 */ beq lbl_80058C88 +/* 80058C6C 00055BCC 7F 23 CB 78 */ mr r3, r25 +/* 80058C70 00055BD0 38 81 00 68 */ addi r4, r1, 0x68 +/* 80058C74 00055BD4 48 2E 82 35 */ bl __ct__6CTokenFRC6CToken +/* 80058C78 00055BD8 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80058C7C 00055BDC 7F 23 CB 78 */ mr r3, r25 +/* 80058C80 00055BE0 90 19 00 08 */ stw r0, 8(r25) +/* 80058C84 00055BE4 48 2E 81 01 */ bl Lock__6CTokenFv +lbl_80058C88: +/* 80058C88 00055BE8 38 00 00 01 */ li r0, 1 +/* 80058C8C 00055BEC 98 1F 00 B0 */ stb r0, 0xb0(r31) +/* 80058C90 00055BF0 48 00 00 1C */ b lbl_80058CAC +lbl_80058C94: +/* 80058C94 00055BF4 3B 3F 00 A4 */ addi r25, r31, 0xa4 +/* 80058C98 00055BF8 38 81 00 68 */ addi r4, r1, 0x68 +/* 80058C9C 00055BFC 7F 23 CB 78 */ mr r3, r25 +/* 80058CA0 00055C00 48 2E 80 25 */ bl __as__6CTokenFRC6CToken +/* 80058CA4 00055C04 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80058CA8 00055C08 90 19 00 08 */ stw r0, 8(r25) +lbl_80058CAC: +/* 80058CAC 00055C0C 38 61 00 68 */ addi r3, r1, 0x68 +/* 80058CB0 00055C10 38 80 00 00 */ li r4, 0 +/* 80058CB4 00055C14 48 2E 81 8D */ bl __dt__6CTokenFv +lbl_80058CB8: +/* 80058CB8 00055C18 83 3F 00 80 */ lwz r25, 0x80(r31) +/* 80058CBC 00055C1C 48 00 00 1C */ b lbl_80058CD8 +lbl_80058CC0: +/* 80058CC0 00055C20 88 19 00 24 */ lbz r0, 0x24(r25) +/* 80058CC4 00055C24 28 00 00 00 */ cmplwi r0, 0 +/* 80058CC8 00055C28 41 82 00 0C */ beq lbl_80058CD4 +/* 80058CCC 00055C2C 38 79 00 1C */ addi r3, r25, 0x1c +/* 80058CD0 00055C30 48 2E 80 B5 */ bl Lock__6CTokenFv +lbl_80058CD4: +/* 80058CD4 00055C34 3B 39 00 28 */ addi r25, r25, 0x28 +lbl_80058CD8: +/* 80058CD8 00055C38 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 80058CDC 00055C3C 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80058CE0 00055C40 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80058CE4 00055C44 7C 03 02 14 */ add r0, r3, r0 +/* 80058CE8 00055C48 7C 19 00 40 */ cmplw r25, r0 +/* 80058CEC 00055C4C 40 82 FF D4 */ bne lbl_80058CC0 +/* 80058CF0 00055C50 38 00 00 04 */ li r0, 4 +/* 80058CF4 00055C54 90 1F 00 04 */ stw r0, 4(r31) +lbl_80058CF8: +/* 80058CF8 00055C58 83 3F 00 80 */ lwz r25, 0x80(r31) +/* 80058CFC 00055C5C 3B 40 00 01 */ li r26, 1 +/* 80058D00 00055C60 48 00 00 50 */ b lbl_80058D50 +lbl_80058D04: +/* 80058D04 00055C64 88 19 00 24 */ lbz r0, 0x24(r25) +/* 80058D08 00055C68 28 00 00 00 */ cmplwi r0, 0 +/* 80058D0C 00055C6C 41 82 00 40 */ beq lbl_80058D4C +/* 80058D10 00055C70 80 79 00 1C */ lwz r3, 0x1c(r25) +/* 80058D14 00055C74 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80058D18 00055C78 28 00 00 00 */ cmplwi r0, 0 +/* 80058D1C 00055C7C 41 82 00 2C */ beq lbl_80058D48 +/* 80058D20 00055C80 88 19 00 08 */ lbz r0, 8(r25) +/* 80058D24 00055C84 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80058D28 00055C88 40 82 00 24 */ bne lbl_80058D4C +/* 80058D2C 00055C8C 80 19 00 00 */ lwz r0, 0(r25) +/* 80058D30 00055C90 7F E3 FB 78 */ mr r3, r31 +/* 80058D34 00055C94 80 B9 00 04 */ lwz r5, 4(r25) +/* 80058D38 00055C98 7F 26 CB 78 */ mr r6, r25 +/* 80058D3C 00055C9C 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 80058D40 00055CA0 4B FF E9 ED */ bl LoadSoundGroup__6CWorldFUcUiRQ26CWorld15CSoundGroupData +/* 80058D44 00055CA4 48 00 00 08 */ b lbl_80058D4C +lbl_80058D48: +/* 80058D48 00055CA8 3B 40 00 00 */ li r26, 0 +lbl_80058D4C: +/* 80058D4C 00055CAC 3B 39 00 28 */ addi r25, r25, 0x28 +lbl_80058D50: +/* 80058D50 00055CB0 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 80058D54 00055CB4 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80058D58 00055CB8 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80058D5C 00055CBC 7C 03 02 14 */ add r0, r3, r0 +/* 80058D60 00055CC0 7C 19 00 40 */ cmplw r25, r0 +/* 80058D64 00055CC4 40 82 FF A0 */ bne lbl_80058D04 +/* 80058D68 00055CC8 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80058D6C 00055CCC 40 82 00 0C */ bne lbl_80058D78 +/* 80058D70 00055CD0 38 60 00 00 */ li r3, 0 +/* 80058D74 00055CD4 48 00 00 20 */ b lbl_80058D94 +lbl_80058D78: +/* 80058D78 00055CD8 7F E3 FB 78 */ mr r3, r31 +/* 80058D7C 00055CDC 4B FF EA 8D */ bl LoadSoundGroups__6CWorldFv +/* 80058D80 00055CE0 38 00 00 05 */ li r0, 5 +/* 80058D84 00055CE4 90 1F 00 04 */ stw r0, 4(r31) +lbl_80058D88: +/* 80058D88 00055CE8 38 60 00 01 */ li r3, 1 +/* 80058D8C 00055CEC 48 00 00 08 */ b lbl_80058D94 +lbl_80058D90: +/* 80058D90 00055CF0 38 60 00 00 */ li r3, 0 +lbl_80058D94: +/* 80058D94 00055CF4 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 80058D98 00055CF8 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 80058D9C 00055CFC BB 21 01 24 */ lmw r25, 0x124(r1) +/* 80058DA0 00055D00 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80058DA4 00055D04 7C 08 03 A6 */ mtlr r0 +/* 80058DA8 00055D08 38 21 01 50 */ addi r1, r1, 0x150 +/* 80058DAC 00055D0C 4E 80 00 20 */ blr + +.global sub_80058db0 +sub_80058db0: +/* 80058DB0 00055D10 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80058DB4 00055D14 7C 08 02 A6 */ mflr r0 +/* 80058DB8 00055D18 90 01 00 24 */ stw r0, 0x24(r1) +/* 80058DBC 00055D1C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80058DC0 00055D20 7C 9F 23 78 */ mr r31, r4 +/* 80058DC4 00055D24 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80058DC8 00055D28 7C 7E 1B 78 */ mr r30, r3 +/* 80058DCC 00055D2C 7C 1E F8 40 */ cmplw r30, r31 +/* 80058DD0 00055D30 40 82 00 08 */ bne lbl_80058DD8 +/* 80058DD4 00055D34 48 00 00 D0 */ b lbl_80058EA4 +lbl_80058DD8: +/* 80058DD8 00055D38 80 1E 00 04 */ lwz r0, 4(r30) +/* 80058DDC 00055D3C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80058DE0 00055D40 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80058DE4 00055D44 90 61 00 0C */ stw r3, 0xc(r1) +/* 80058DE8 00055D48 7C 03 02 14 */ add r0, r3, r0 +/* 80058DEC 00055D4C 90 61 00 08 */ stw r3, 8(r1) +/* 80058DF0 00055D50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80058DF4 00055D54 90 01 00 10 */ stw r0, 0x10(r1) +/* 80058DF8 00055D58 48 00 00 08 */ b lbl_80058E00 +lbl_80058DFC: +/* 80058DFC 00055D5C 38 63 00 0C */ addi r3, r3, 0xc +lbl_80058E00: +/* 80058E00 00055D60 7C 03 00 40 */ cmplw r3, r0 +/* 80058E04 00055D64 40 82 FF F8 */ bne lbl_80058DFC +/* 80058E08 00055D68 38 00 00 00 */ li r0, 0 +/* 80058E0C 00055D6C 90 1E 00 04 */ stw r0, 4(r30) +/* 80058E10 00055D70 80 9F 00 04 */ lwz r4, 4(r31) +/* 80058E14 00055D74 2C 04 00 00 */ cmpwi r4, 0 +/* 80058E18 00055D78 40 82 00 28 */ bne lbl_80058E40 +/* 80058E1C 00055D7C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80058E20 00055D80 28 03 00 00 */ cmplwi r3, 0 +/* 80058E24 00055D84 41 82 00 08 */ beq lbl_80058E2C +/* 80058E28 00055D88 48 2B CB 09 */ bl Free__7CMemoryFPCv +lbl_80058E2C: +/* 80058E2C 00055D8C 38 00 00 00 */ li r0, 0 +/* 80058E30 00055D90 90 1E 00 04 */ stw r0, 4(r30) +/* 80058E34 00055D94 90 1E 00 08 */ stw r0, 8(r30) +/* 80058E38 00055D98 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80058E3C 00055D9C 48 00 00 64 */ b lbl_80058EA0 +lbl_80058E40: +/* 80058E40 00055DA0 7F C3 F3 78 */ mr r3, r30 +/* 80058E44 00055DA4 48 00 07 B9 */ bl "reserve__Q24rstl44vectorFi" +/* 80058E48 00055DA8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80058E4C 00055DAC 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80058E50 00055DB0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80058E54 00055DB4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80058E58 00055DB8 7C 85 02 14 */ add r4, r5, r0 +/* 80058E5C 00055DBC 48 00 00 34 */ b lbl_80058E90 +lbl_80058E60: +/* 80058E60 00055DC0 28 03 00 00 */ cmplwi r3, 0 +/* 80058E64 00055DC4 41 82 00 24 */ beq lbl_80058E88 +/* 80058E68 00055DC8 80 05 00 00 */ lwz r0, 0(r5) +/* 80058E6C 00055DCC 90 03 00 00 */ stw r0, 0(r3) +/* 80058E70 00055DD0 80 05 00 04 */ lwz r0, 4(r5) +/* 80058E74 00055DD4 90 03 00 04 */ stw r0, 4(r3) +/* 80058E78 00055DD8 A0 05 00 08 */ lhz r0, 8(r5) +/* 80058E7C 00055DDC B0 03 00 08 */ sth r0, 8(r3) +/* 80058E80 00055DE0 88 05 00 0A */ lbz r0, 0xa(r5) +/* 80058E84 00055DE4 98 03 00 0A */ stb r0, 0xa(r3) +lbl_80058E88: +/* 80058E88 00055DE8 38 63 00 0C */ addi r3, r3, 0xc +/* 80058E8C 00055DEC 38 A5 00 0C */ addi r5, r5, 0xc +lbl_80058E90: +/* 80058E90 00055DF0 7C 05 20 40 */ cmplw r5, r4 +/* 80058E94 00055DF4 40 82 FF CC */ bne lbl_80058E60 +/* 80058E98 00055DF8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80058E9C 00055DFC 90 1E 00 04 */ stw r0, 4(r30) +lbl_80058EA0: +/* 80058EA0 00055E00 7F C3 F3 78 */ mr r3, r30 +lbl_80058EA4: +/* 80058EA4 00055E04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80058EA8 00055E08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80058EAC 00055E0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80058EB0 00055E10 7C 08 03 A6 */ mtlr r0 +/* 80058EB4 00055E14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80058EB8 00055E18 4E 80 00 20 */ blr + +.global __ct__6CWorldFR12IObjectStoreR11CResFactoryUi +__ct__6CWorldFR12IObjectStoreR11CResFactoryUi: +/* 80058EBC 00055E1C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80058EC0 00055E20 7C 08 02 A6 */ mflr r0 +/* 80058EC4 00055E24 3D 00 80 3E */ lis r8, lbl_803DA04C@ha +/* 80058EC8 00055E28 3C E0 80 3E */ lis r7, lbl_803DA014@ha +/* 80058ECC 00055E2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80058ED0 00055E30 38 07 A0 14 */ addi r0, r7, lbl_803DA014@l +/* 80058ED4 00055E34 39 08 A0 4C */ addi r8, r8, lbl_803DA04C@l +/* 80058ED8 00055E38 39 20 00 00 */ li r9, 0 +/* 80058EDC 00055E3C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80058EE0 00055E40 7C BF 2B 78 */ mr r31, r5 +/* 80058EE4 00055E44 38 E0 00 01 */ li r7, 1 +/* 80058EE8 00055E48 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 80058EEC 00055E4C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80058EF0 00055E50 7C 7E 1B 78 */ mr r30, r3 +/* 80058EF4 00055E54 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha +/* 80058EF8 00055E58 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80058EFC 00055E5C 91 1E 00 00 */ stw r8, 0(r30) +/* 80058F00 00055E60 39 00 FF FF */ li r8, -1 +/* 80058F04 00055E64 90 1E 00 00 */ stw r0, 0(r30) +/* 80058F08 00055E68 38 03 56 4C */ addi r0, r3, 0x4D4C564C@l +/* 80058F0C 00055E6C 91 3E 00 04 */ stw r9, 4(r30) +/* 80058F10 00055E70 90 DE 00 08 */ stw r6, 8(r30) +/* 80058F14 00055E74 91 1E 00 0C */ stw r8, 0xc(r30) +/* 80058F18 00055E78 91 1E 00 10 */ stw r8, 0x10(r30) +/* 80058F1C 00055E7C 91 3E 00 18 */ stw r9, 0x18(r30) +/* 80058F20 00055E80 91 3E 00 1C */ stw r9, 0x1c(r30) +/* 80058F24 00055E84 91 3E 00 20 */ stw r9, 0x20(r30) +/* 80058F28 00055E88 91 1E 00 24 */ stw r8, 0x24(r30) +/* 80058F2C 00055E8C 91 3E 00 28 */ stw r9, 0x28(r30) +/* 80058F30 00055E90 91 3E 00 30 */ stw r9, 0x30(r30) +/* 80058F34 00055E94 91 3E 00 34 */ stw r9, 0x34(r30) +/* 80058F38 00055E98 91 3E 00 38 */ stw r9, 0x38(r30) +/* 80058F3C 00055E9C 91 3E 00 3C */ stw r9, 0x3c(r30) +/* 80058F40 00055EA0 91 3E 00 40 */ stw r9, 0x40(r30) +/* 80058F44 00055EA4 91 3E 00 44 */ stw r9, 0x44(r30) +/* 80058F48 00055EA8 91 3E 00 48 */ stw r9, 0x48(r30) +/* 80058F4C 00055EAC 90 9E 00 60 */ stw r4, 0x60(r30) +/* 80058F50 00055EB0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80058F54 00055EB4 93 FE 00 64 */ stw r31, 0x64(r30) +/* 80058F58 00055EB8 80 6D A3 90 */ lwz r3, lbl_805A8F50@sda21(r13) +/* 80058F5C 00055EBC 90 7E 00 68 */ stw r3, 0x68(r30) +/* 80058F60 00055EC0 91 3E 00 6C */ stw r9, 0x6c(r30) +/* 80058F64 00055EC4 88 7E 00 70 */ lbz r3, 0x70(r30) +/* 80058F68 00055EC8 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18 +/* 80058F6C 00055ECC 98 7E 00 70 */ stb r3, 0x70(r30) +/* 80058F70 00055ED0 88 7E 00 70 */ lbz r3, 0x70(r30) +/* 80058F74 00055ED4 51 23 36 72 */ rlwimi r3, r9, 6, 0x19, 0x19 +/* 80058F78 00055ED8 98 7E 00 70 */ stb r3, 0x70(r30) +/* 80058F7C 00055EDC 88 7E 00 70 */ lbz r3, 0x70(r30) +/* 80058F80 00055EE0 51 23 2E B4 */ rlwimi r3, r9, 5, 0x1a, 0x1a +/* 80058F84 00055EE4 98 7E 00 70 */ stb r3, 0x70(r30) +/* 80058F88 00055EE8 88 7E 00 70 */ lbz r3, 0x70(r30) +/* 80058F8C 00055EEC 51 23 26 F6 */ rlwimi r3, r9, 4, 0x1b, 0x1b +/* 80058F90 00055EF0 98 7E 00 70 */ stb r3, 0x70(r30) +/* 80058F94 00055EF4 91 3E 00 78 */ stw r9, 0x78(r30) +/* 80058F98 00055EF8 91 3E 00 7C */ stw r9, 0x7c(r30) +/* 80058F9C 00055EFC 91 3E 00 80 */ stw r9, 0x80(r30) +/* 80058FA0 00055F00 90 BE 00 84 */ stw r5, 0x84(r30) +/* 80058FA4 00055F04 91 3E 00 88 */ stw r9, 0x88(r30) +/* 80058FA8 00055F08 91 3E 00 8C */ stw r9, 0x8c(r30) +/* 80058FAC 00055F0C 99 3E 00 A0 */ stb r9, 0xa0(r30) +/* 80058FB0 00055F10 99 3E 00 B0 */ stb r9, 0xb0(r30) +/* 80058FB4 00055F14 99 3E 00 C0 */ stb r9, 0xc0(r30) +/* 80058FB8 00055F18 91 3E 00 C4 */ stw r9, 0xc4(r30) +/* 80058FBC 00055F1C 91 3E 00 C8 */ stw r9, 0xc8(r30) +/* 80058FC0 00055F20 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80058FC4 00055F24 90 01 00 10 */ stw r0, 0x10(r1) +/* 80058FC8 00055F28 38 63 00 04 */ addi r3, r3, 4 +/* 80058FCC 00055F2C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80058FD0 00055F30 48 2E 2C 81 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 80058FD4 00055F34 3C A0 80 3D */ lis r5, lbl_803CCF70@ha +/* 80058FD8 00055F38 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80058FDC 00055F3C 90 7E 00 44 */ stw r3, 0x44(r30) +/* 80058FE0 00055F40 38 A5 CF 70 */ addi r5, r5, lbl_803CCF70@l +/* 80058FE4 00055F44 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80058FE8 00055F48 38 61 00 08 */ addi r3, r1, 8 +/* 80058FEC 00055F4C 38 A5 00 01 */ addi r5, r5, 1 +/* 80058FF0 00055F50 38 80 FF FF */ li r4, -1 +/* 80058FF4 00055F54 48 27 D3 E1 */ bl __ct__10CCallStackFUiPCcPCc +/* 80058FF8 00055F58 7C 67 1B 78 */ mr r7, r3 +/* 80058FFC 00055F5C 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 80059000 00055F60 38 80 00 02 */ li r4, 2 +/* 80059004 00055F64 38 A0 00 01 */ li r5, 1 +/* 80059008 00055F68 38 C0 00 00 */ li r6, 0 +/* 8005900C 00055F6C 48 2B C9 89 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80059010 00055F70 7C 7D 1B 78 */ mr r29, r3 +/* 80059014 00055F74 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 80059018 00055F78 48 2B C9 19 */ bl Free__7CMemoryFPCv +/* 8005901C 00055F7C 93 BE 00 40 */ stw r29, 0x40(r30) +/* 80059020 00055F80 38 7F 00 04 */ addi r3, r31, 4 +/* 80059024 00055F84 38 81 00 10 */ addi r4, r1, 0x10 +/* 80059028 00055F88 80 BE 00 40 */ lwz r5, 0x40(r30) +/* 8005902C 00055F8C 48 2E 2B 4D */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc +/* 80059030 00055F90 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80059034 00055F94 7C 7F 1B 78 */ mr r31, r3 +/* 80059038 00055F98 28 00 00 00 */ cmplwi r0, 0 +/* 8005903C 00055F9C 41 82 00 1C */ beq lbl_80059058 +/* 80059040 00055FA0 7C 03 03 78 */ mr r3, r0 +/* 80059044 00055FA4 38 80 00 01 */ li r4, 1 +/* 80059048 00055FA8 81 83 00 00 */ lwz r12, 0(r3) +/* 8005904C 00055FAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80059050 00055FB0 7D 89 03 A6 */ mtctr r12 +/* 80059054 00055FB4 4E 80 04 21 */ bctrl +lbl_80059058: +/* 80059058 00055FB8 93 FE 00 3C */ stw r31, 0x3c(r30) +/* 8005905C 00055FBC 7F C3 F3 78 */ mr r3, r30 +/* 80059060 00055FC0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80059064 00055FC4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80059068 00055FC8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8005906C 00055FCC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80059070 00055FD0 7C 08 03 A6 */ mtlr r0 +/* 80059074 00055FD4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80059078 00055FD8 4E 80 00 20 */ blr + +.global __ct__Q26CWorld15CSoundGroupDataFiUi +__ct__Q26CWorld15CSoundGroupDataFiUi: +/* 8005907C 00055FDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80059080 00055FE0 7C 08 02 A6 */ mflr r0 +/* 80059084 00055FE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80059088 00055FE8 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8005908C 00055FEC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80059090 00055FF0 7C BF 2B 78 */ mr r31, r5 +/* 80059094 00055FF4 38 A0 00 00 */ li r5, 0 +/* 80059098 00055FF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005909C 00055FFC 7C 7E 1B 78 */ mr r30, r3 +/* 800590A0 00056000 90 83 00 00 */ stw r4, 0(r3) +/* 800590A4 00056004 7F E3 FB 78 */ mr r3, r31 +/* 800590A8 00056008 93 FE 00 04 */ stw r31, 4(r30) +/* 800590AC 0005600C 88 9E 00 08 */ lbz r4, 8(r30) +/* 800590B0 00056010 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 +/* 800590B4 00056014 98 9E 00 08 */ stb r4, 8(r30) +/* 800590B8 00056018 88 9E 00 08 */ lbz r4, 8(r30) +/* 800590BC 0005601C 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 +/* 800590C0 00056020 98 9E 00 08 */ stb r4, 8(r30) +/* 800590C4 00056024 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800590C8 00056028 90 BE 00 10 */ stw r5, 0x10(r30) +/* 800590CC 0005602C 90 BE 00 14 */ stw r5, 0x14(r30) +/* 800590D0 00056030 98 BE 00 24 */ stb r5, 0x24(r30) +/* 800590D4 00056034 48 2F 27 71 */ bl SysGetGroupSetName__9CAudioSysFUi +/* 800590D8 00056038 48 2F 2F 81 */ bl "SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800590DC 0005603C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800590E0 00056040 40 82 00 70 */ bne lbl_80059150 +/* 800590E4 00056044 3C 60 41 47 */ lis r3, 0x41475343@ha +/* 800590E8 00056048 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800590EC 0005604C 38 03 53 43 */ addi r0, r3, 0x41475343@l +/* 800590F0 00056050 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800590F4 00056054 90 01 00 10 */ stw r0, 0x10(r1) +/* 800590F8 00056058 38 61 00 08 */ addi r3, r1, 8 +/* 800590FC 0005605C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80059100 00056060 81 84 00 00 */ lwz r12, 0(r4) +/* 80059104 00056064 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80059108 00056068 7D 89 03 A6 */ mtctr r12 +/* 8005910C 0005606C 4E 80 04 21 */ bctrl +/* 80059110 00056070 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 80059114 00056074 28 00 00 00 */ cmplwi r0, 0 +/* 80059118 00056078 40 82 00 20 */ bne lbl_80059138 +/* 8005911C 0005607C 34 7E 00 1C */ addic. r3, r30, 0x1c +/* 80059120 00056080 41 82 00 0C */ beq lbl_8005912C +/* 80059124 00056084 38 81 00 08 */ addi r4, r1, 8 +/* 80059128 00056088 48 2E 7D 81 */ bl __ct__6CTokenFRC6CToken +lbl_8005912C: +/* 8005912C 0005608C 38 00 00 01 */ li r0, 1 +/* 80059130 00056090 98 1E 00 24 */ stb r0, 0x24(r30) +/* 80059134 00056094 48 00 00 10 */ b lbl_80059144 +lbl_80059138: +/* 80059138 00056098 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8005913C 0005609C 38 81 00 08 */ addi r4, r1, 8 +/* 80059140 000560A0 48 2E 7B 85 */ bl __as__6CTokenFRC6CToken +lbl_80059144: +/* 80059144 000560A4 38 61 00 08 */ addi r3, r1, 8 +/* 80059148 000560A8 38 80 FF FF */ li r4, -1 +/* 8005914C 000560AC 48 2E 7C F5 */ bl __dt__6CTokenFv +lbl_80059150: +/* 80059150 000560B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80059154 000560B4 7F C3 F3 78 */ mr r3, r30 +/* 80059158 000560B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005915C 000560BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80059160 000560C0 7C 08 03 A6 */ mtlr r0 +/* 80059164 000560C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80059168 000560C8 4E 80 00 20 */ blr + +.global __dt__6IWorldFv +__dt__6IWorldFv: +/* 8005916C 000560CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80059170 000560D0 7C 08 02 A6 */ mflr r0 +/* 80059174 000560D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80059178 000560D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005917C 000560DC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80059180 000560E0 41 82 00 1C */ beq lbl_8005919C +/* 80059184 000560E4 3C A0 80 3E */ lis r5, lbl_803DA04C@ha +/* 80059188 000560E8 7C 80 07 35 */ extsh. r0, r4 +/* 8005918C 000560EC 38 05 A0 4C */ addi r0, r5, lbl_803DA04C@l +/* 80059190 000560F0 90 1F 00 00 */ stw r0, 0(r31) +/* 80059194 000560F4 40 81 00 08 */ ble lbl_8005919C +/* 80059198 000560F8 48 2B C7 99 */ bl Free__7CMemoryFPCv +lbl_8005919C: +/* 8005919C 000560FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800591A0 00056100 7F E3 FB 78 */ mr r3, r31 +/* 800591A4 00056104 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800591A8 00056108 7C 08 03 A6 */ mtlr r0 +/* 800591AC 0005610C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800591B0 00056110 4E 80 00 20 */ blr + +.global __ct__6CRelayFR12CInputStream +__ct__6CRelayFR12CInputStream: +/* 800591B4 00056114 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800591B8 00056118 7C 08 02 A6 */ mflr r0 +/* 800591BC 0005611C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800591C0 00056120 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800591C4 00056124 7C 9F 23 78 */ mr r31, r4 +/* 800591C8 00056128 93 C1 00 08 */ stw r30, 8(r1) +/* 800591CC 0005612C 7C 7E 1B 78 */ mr r30, r3 +/* 800591D0 00056130 7F E3 FB 78 */ mr r3, r31 +/* 800591D4 00056134 48 2E 5A B1 */ bl ReadLong__12CInputStreamFv +/* 800591D8 00056138 90 7E 00 00 */ stw r3, 0(r30) +/* 800591DC 0005613C 7F E3 FB 78 */ mr r3, r31 +/* 800591E0 00056140 48 2E 5A A5 */ bl ReadLong__12CInputStreamFv +/* 800591E4 00056144 90 7E 00 04 */ stw r3, 4(r30) +/* 800591E8 00056148 7F E3 FB 78 */ mr r3, r31 +/* 800591EC 0005614C 48 2E 5A C5 */ bl ReadShort__12CInputStreamFv +/* 800591F0 00056150 B0 7E 00 08 */ sth r3, 8(r30) +/* 800591F4 00056154 7F E3 FB 78 */ mr r3, r31 +/* 800591F8 00056158 48 2E 5A E5 */ bl ReadBool__12CInputStreamFv +/* 800591FC 0005615C 98 7E 00 0A */ stb r3, 0xa(r30) +/* 80059200 00056160 7F C3 F3 78 */ mr r3, r30 +/* 80059204 00056164 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80059208 00056168 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005920C 0005616C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80059210 00056170 7C 08 03 A6 */ mtlr r0 +/* 80059214 00056174 38 21 00 10 */ addi r1, r1, 0x10 +/* 80059218 00056178 4E 80 00 20 */ blr + +.global ReadWorldLayers__12CWorldLayersFR12CInputStream +ReadWorldLayers__12CWorldLayersFR12CInputStream: +/* 8005921C 0005617C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80059220 00056180 7C 08 02 A6 */ mflr r0 +/* 80059224 00056184 28 04 00 0E */ cmplwi r4, 0xe +/* 80059228 00056188 90 01 00 64 */ stw r0, 0x64(r1) +/* 8005922C 0005618C BF 41 00 48 */ stmw r26, 0x48(r1) +/* 80059230 00056190 7C 7E 1B 78 */ mr r30, r3 +/* 80059234 00056194 7C BF 2B 78 */ mr r31, r5 +/* 80059238 00056198 40 81 02 70 */ ble lbl_800594A8 +/* 8005923C 0005619C 7F C4 F3 78 */ mr r4, r30 +/* 80059240 000561A0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80059244 000561A4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80059248 000561A8 48 00 02 D9 */ bl sub_80059520 +/* 8005924C 000561AC 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80059250 000561B0 38 60 00 10 */ li r3, 0x10 +/* 80059254 000561B4 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 80059258 000561B8 38 A0 00 00 */ li r5, 0 +/* 8005925C 000561BC 38 84 00 01 */ addi r4, r4, 1 +/* 80059260 000561C0 48 2B C6 0D */ bl __nw__FUlPCcPCc +/* 80059264 000561C4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80059268 000561C8 41 82 00 B4 */ beq lbl_8005931C +/* 8005926C 000561CC 38 00 00 00 */ li r0, 0 +/* 80059270 000561D0 7F C3 F3 78 */ mr r3, r30 +/* 80059274 000561D4 90 1D 00 04 */ stw r0, 4(r29) +/* 80059278 000561D8 90 1D 00 08 */ stw r0, 8(r29) +/* 8005927C 000561DC 90 1D 00 0C */ stw r0, 0xc(r29) +/* 80059280 000561E0 48 2E 5A 05 */ bl ReadLong__12CInputStreamFv +/* 80059284 000561E4 7C 7A 1B 78 */ mr r26, r3 +/* 80059288 000561E8 7F A3 EB 78 */ mr r3, r29 +/* 8005928C 000561EC 7F 44 D3 78 */ mr r4, r26 +/* 80059290 000561F0 48 00 09 25 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +/* 80059294 000561F4 3B 81 00 08 */ addi r28, r1, 8 +/* 80059298 000561F8 3B 60 00 00 */ li r27, 0 +/* 8005929C 000561FC 48 00 00 78 */ b lbl_80059314 +lbl_800592A0: +/* 800592A0 00056200 88 0D A2 20 */ lbz r0, lbl_805A8DE0@sda21(r13) +/* 800592A4 00056204 7F C4 F3 78 */ mr r4, r30 +/* 800592A8 00056208 7F 85 E3 78 */ mr r5, r28 +/* 800592AC 0005620C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800592B0 00056210 98 01 00 08 */ stb r0, 8(r1) +/* 800592B4 00056214 48 00 02 09 */ bl sub_800594bc +/* 800592B8 00056218 80 1D 00 04 */ lwz r0, 4(r29) +/* 800592BC 0005621C 80 BD 00 08 */ lwz r5, 8(r29) +/* 800592C0 00056220 7C 00 28 00 */ cmpw r0, r5 +/* 800592C4 00056224 41 80 00 1C */ blt lbl_800592E0 +/* 800592C8 00056228 2C 05 00 00 */ cmpwi r5, 0 +/* 800592CC 0005622C 7F A3 EB 78 */ mr r3, r29 +/* 800592D0 00056230 38 80 00 04 */ li r4, 4 +/* 800592D4 00056234 41 82 00 08 */ beq lbl_800592DC +/* 800592D8 00056238 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800592DC: +/* 800592DC 0005623C 48 00 08 D9 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +lbl_800592E0: +/* 800592E0 00056240 80 1D 00 04 */ lwz r0, 4(r29) +/* 800592E4 00056244 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 800592E8 00056248 54 00 20 36 */ slwi r0, r0, 4 +/* 800592EC 0005624C 7C 63 02 15 */ add. r3, r3, r0 +/* 800592F0 00056250 41 82 00 0C */ beq lbl_800592FC +/* 800592F4 00056254 38 81 00 28 */ addi r4, r1, 0x28 +/* 800592F8 00056258 48 2E 4E 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_800592FC: +/* 800592FC 0005625C 80 9D 00 04 */ lwz r4, 4(r29) +/* 80059300 00056260 38 61 00 28 */ addi r3, r1, 0x28 +/* 80059304 00056264 38 04 00 01 */ addi r0, r4, 1 +/* 80059308 00056268 90 1D 00 04 */ stw r0, 4(r29) +/* 8005930C 0005626C 48 2E 47 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80059310 00056270 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80059314: +/* 80059314 00056274 7C 1B D0 00 */ cmpw r27, r26 +/* 80059318 00056278 41 80 FF 88 */ blt lbl_800592A0 +lbl_8005931C: +/* 8005931C 0005627C 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80059320 00056280 38 60 00 08 */ li r3, 8 +/* 80059324 00056284 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 80059328 00056288 38 A0 00 00 */ li r5, 0 +/* 8005932C 0005628C 38 84 00 01 */ addi r4, r4, 1 +/* 80059330 00056290 48 2B C5 3D */ bl __nw__FUlPCcPCc +/* 80059334 00056294 28 03 00 00 */ cmplwi r3, 0 +/* 80059338 00056298 41 82 00 10 */ beq lbl_80059348 +/* 8005933C 0005629C 93 A3 00 00 */ stw r29, 0(r3) +/* 80059340 000562A0 38 00 00 01 */ li r0, 1 +/* 80059344 000562A4 90 03 00 04 */ stw r0, 4(r3) +lbl_80059348: +/* 80059348 000562A8 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 8005934C 000562AC 90 61 00 24 */ stw r3, 0x24(r1) +/* 80059350 000562B0 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 80059354 000562B4 38 60 00 10 */ li r3, 0x10 +/* 80059358 000562B8 38 84 00 01 */ addi r4, r4, 1 +/* 8005935C 000562BC 38 A0 00 00 */ li r5, 0 +/* 80059360 000562C0 48 2B C5 0D */ bl __nw__FUlPCcPCc +/* 80059364 000562C4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80059368 000562C8 41 82 00 98 */ beq lbl_80059400 +/* 8005936C 000562CC 38 00 00 00 */ li r0, 0 +/* 80059370 000562D0 7F C3 F3 78 */ mr r3, r30 +/* 80059374 000562D4 90 1B 00 04 */ stw r0, 4(r27) +/* 80059378 000562D8 90 1B 00 08 */ stw r0, 8(r27) +/* 8005937C 000562DC 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80059380 000562E0 48 2E 59 05 */ bl ReadLong__12CInputStreamFv +/* 80059384 000562E4 7C 7A 1B 78 */ mr r26, r3 +/* 80059388 000562E8 7F 63 DB 78 */ mr r3, r27 +/* 8005938C 000562EC 7F 44 D3 78 */ mr r4, r26 +/* 80059390 000562F0 48 00 09 19 */ bl "reserve__Q24rstl36vectorFi" +/* 80059394 000562F4 3B 80 00 00 */ li r28, 0 +/* 80059398 000562F8 48 00 00 60 */ b lbl_800593F8 +lbl_8005939C: +/* 8005939C 000562FC 7F C3 F3 78 */ mr r3, r30 +/* 800593A0 00056300 48 2E 58 E5 */ bl ReadLong__12CInputStreamFv +/* 800593A4 00056304 80 1B 00 04 */ lwz r0, 4(r27) +/* 800593A8 00056308 7C 7D 1B 78 */ mr r29, r3 +/* 800593AC 0005630C 80 BB 00 08 */ lwz r5, 8(r27) +/* 800593B0 00056310 7C 00 28 00 */ cmpw r0, r5 +/* 800593B4 00056314 41 80 00 1C */ blt lbl_800593D0 +/* 800593B8 00056318 2C 05 00 00 */ cmpwi r5, 0 +/* 800593BC 0005631C 7F 63 DB 78 */ mr r3, r27 +/* 800593C0 00056320 38 80 00 04 */ li r4, 4 +/* 800593C4 00056324 41 82 00 08 */ beq lbl_800593CC +/* 800593C8 00056328 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800593CC: +/* 800593CC 0005632C 48 00 08 DD */ bl "reserve__Q24rstl36vectorFi" +lbl_800593D0: +/* 800593D0 00056330 80 1B 00 04 */ lwz r0, 4(r27) +/* 800593D4 00056334 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 800593D8 00056338 54 00 10 3A */ slwi r0, r0, 2 +/* 800593DC 0005633C 7C 63 02 15 */ add. r3, r3, r0 +/* 800593E0 00056340 41 82 00 08 */ beq lbl_800593E8 +/* 800593E4 00056344 93 A3 00 00 */ stw r29, 0(r3) +lbl_800593E8: +/* 800593E8 00056348 80 7B 00 04 */ lwz r3, 4(r27) +/* 800593EC 0005634C 3B 9C 00 01 */ addi r28, r28, 1 +/* 800593F0 00056350 38 03 00 01 */ addi r0, r3, 1 +/* 800593F4 00056354 90 1B 00 04 */ stw r0, 4(r27) +lbl_800593F8: +/* 800593F8 00056358 7C 1C D0 00 */ cmpw r28, r26 +/* 800593FC 0005635C 41 80 FF A0 */ blt lbl_8005939C +lbl_80059400: +/* 80059400 00056360 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80059404 00056364 38 60 00 08 */ li r3, 8 +/* 80059408 00056368 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 8005940C 0005636C 38 A0 00 00 */ li r5, 0 +/* 80059410 00056370 38 84 00 01 */ addi r4, r4, 1 +/* 80059414 00056374 48 2B C4 59 */ bl __nw__FUlPCcPCc +/* 80059418 00056378 28 03 00 00 */ cmplwi r3, 0 +/* 8005941C 0005637C 41 82 00 10 */ beq lbl_8005942C +/* 80059420 00056380 93 63 00 00 */ stw r27, 0(r3) +/* 80059424 00056384 38 00 00 01 */ li r0, 1 +/* 80059428 00056388 90 03 00 04 */ stw r0, 4(r3) +lbl_8005942C: +/* 8005942C 0005638C 90 61 00 20 */ stw r3, 0x20(r1) +/* 80059430 00056390 7F E4 FB 78 */ mr r4, r31 +/* 80059434 00056394 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80059438 00056398 48 17 A5 A1 */ bl StateForWorld__10CGameStateFUi +/* 8005943C 0005639C 48 17 B8 F9 */ bl GetLayerState__11CWorldStateFv +/* 80059440 000563A0 80 63 00 00 */ lwz r3, 0(r3) +/* 80059444 000563A4 38 81 00 38 */ addi r4, r1, 0x38 +/* 80059448 000563A8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8005944C 000563AC 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80059450 000563B0 80 63 00 00 */ lwz r3, 0(r3) +/* 80059454 000563B4 48 1D AB 75 */ bl "InitializeWorldLayers__16CWorldLayerStateFQ24rstl6vector" +/* 80059458 000563B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005945C 000563BC 48 00 0A 09 */ bl sub_80059e64 +/* 80059460 000563C0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80059464 000563C4 48 00 09 35 */ bl sub_80059d98 +/* 80059468 000563C8 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8005946C 000563CC 80 61 00 44 */ lwz r3, 0x44(r1) +/* 80059470 000563D0 54 00 20 36 */ slwi r0, r0, 4 +/* 80059474 000563D4 7C 03 02 14 */ add r0, r3, r0 +/* 80059478 000563D8 90 61 00 14 */ stw r3, 0x14(r1) +/* 8005947C 000563DC 7C 64 1B 78 */ mr r4, r3 +/* 80059480 000563E0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80059484 000563E4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80059488 000563E8 90 61 00 10 */ stw r3, 0x10(r1) +/* 8005948C 000563EC 48 00 00 08 */ b lbl_80059494 +lbl_80059490: +/* 80059490 000563F0 38 84 00 10 */ addi r4, r4, 0x10 +lbl_80059494: +/* 80059494 000563F4 7C 04 00 40 */ cmplw r4, r0 +/* 80059498 000563F8 40 82 FF F8 */ bne lbl_80059490 +/* 8005949C 000563FC 28 03 00 00 */ cmplwi r3, 0 +/* 800594A0 00056400 41 82 00 08 */ beq lbl_800594A8 +/* 800594A4 00056404 48 2B C4 8D */ bl Free__7CMemoryFPCv +lbl_800594A8: +/* 800594A8 00056408 BB 41 00 48 */ lmw r26, 0x48(r1) +/* 800594AC 0005640C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800594B0 00056410 7C 08 03 A6 */ mtlr r0 +/* 800594B4 00056414 38 21 00 60 */ addi r1, r1, 0x60 +/* 800594B8 00056418 4E 80 00 20 */ blr + +.global sub_800594bc +sub_800594bc: +/* 800594BC 0005641C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800594C0 00056420 7C 08 02 A6 */ mflr r0 +/* 800594C4 00056424 7C 85 23 78 */ mr r5, r4 +/* 800594C8 00056428 90 01 00 24 */ stw r0, 0x24(r1) +/* 800594CC 0005642C 38 81 00 08 */ addi r4, r1, 8 +/* 800594D0 00056430 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800594D4 00056434 7C 7F 1B 78 */ mr r31, r3 +/* 800594D8 00056438 88 0D A2 24 */ lbz r0, lbl_805A8DE4@sda21(r13) +/* 800594DC 0005643C 98 01 00 08 */ stb r0, 8(r1) +/* 800594E0 00056440 48 00 00 19 */ bl sub_800594f8 +/* 800594E4 00056444 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800594E8 00056448 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800594EC 0005644C 7C 08 03 A6 */ mtlr r0 +/* 800594F0 00056450 38 21 00 20 */ addi r1, r1, 0x20 +/* 800594F4 00056454 4E 80 00 20 */ blr + +.global sub_800594f8 +sub_800594f8: +/* 800594F8 00056458 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800594FC 0005645C 7C 08 02 A6 */ mflr r0 +/* 80059500 00056460 7C A4 2B 78 */ mr r4, r5 +/* 80059504 00056464 90 01 00 14 */ stw r0, 0x14(r1) +/* 80059508 00056468 38 A1 00 08 */ addi r5, r1, 8 +/* 8005950C 0005646C 48 2E 4D ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80059510 00056470 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80059514 00056474 7C 08 03 A6 */ mtlr r0 +/* 80059518 00056478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005951C 0005647C 4E 80 00 20 */ blr + +.global sub_80059520 +sub_80059520: +/* 80059520 00056480 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80059524 00056484 7C 08 02 A6 */ mflr r0 +/* 80059528 00056488 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005952C 0005648C 38 00 00 00 */ li r0, 0 +/* 80059530 00056490 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80059534 00056494 7C 79 1B 78 */ mr r25, r3 +/* 80059538 00056498 7C 9A 23 78 */ mr r26, r4 +/* 8005953C 0005649C 90 03 00 04 */ stw r0, 4(r3) +/* 80059540 000564A0 7F 43 D3 78 */ mr r3, r26 +/* 80059544 000564A4 90 19 00 08 */ stw r0, 8(r25) +/* 80059548 000564A8 90 19 00 0C */ stw r0, 0xc(r25) +/* 8005954C 000564AC 48 2E 57 39 */ bl ReadLong__12CInputStreamFv +/* 80059550 000564B0 7C 7C 1B 78 */ mr r28, r3 +/* 80059554 000564B4 7F 23 CB 78 */ mr r3, r25 +/* 80059558 000564B8 7F 84 E3 78 */ mr r4, r28 +/* 8005955C 000564BC 48 00 05 59 */ bl sub_80059ab4 +/* 80059560 000564C0 3B 60 00 00 */ li r27, 0 +/* 80059564 000564C4 48 00 00 78 */ b lbl_800595DC +lbl_80059568: +/* 80059568 000564C8 7F 43 D3 78 */ mr r3, r26 +/* 8005956C 000564CC 48 2E 57 19 */ bl ReadLong__12CInputStreamFv +/* 80059570 000564D0 7C 7D 1B 78 */ mr r29, r3 +/* 80059574 000564D4 7F 43 D3 78 */ mr r3, r26 +/* 80059578 000564D8 48 2E 56 DD */ bl ReadLongLong__12CInputStreamFv +/* 8005957C 000564DC 80 19 00 04 */ lwz r0, 4(r25) +/* 80059580 000564E0 7C 9E 23 78 */ mr r30, r4 +/* 80059584 000564E4 80 B9 00 08 */ lwz r5, 8(r25) +/* 80059588 000564E8 7C 7F 1B 78 */ mr r31, r3 +/* 8005958C 000564EC 7C 00 28 00 */ cmpw r0, r5 +/* 80059590 000564F0 41 80 00 1C */ blt lbl_800595AC +/* 80059594 000564F4 2C 05 00 00 */ cmpwi r5, 0 +/* 80059598 000564F8 7F 23 CB 78 */ mr r3, r25 +/* 8005959C 000564FC 38 80 00 04 */ li r4, 4 +/* 800595A0 00056500 41 82 00 08 */ beq lbl_800595A8 +/* 800595A4 00056504 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800595A8: +/* 800595A8 00056508 48 00 05 0D */ bl sub_80059ab4 +lbl_800595AC: +/* 800595AC 0005650C 80 19 00 04 */ lwz r0, 4(r25) +/* 800595B0 00056510 80 79 00 0C */ lwz r3, 0xc(r25) +/* 800595B4 00056514 54 00 20 36 */ slwi r0, r0, 4 +/* 800595B8 00056518 7C 63 02 15 */ add. r3, r3, r0 +/* 800595BC 0005651C 41 82 00 10 */ beq lbl_800595CC +/* 800595C0 00056520 93 A3 00 00 */ stw r29, 0(r3) +/* 800595C4 00056524 93 C3 00 0C */ stw r30, 0xc(r3) +/* 800595C8 00056528 93 E3 00 08 */ stw r31, 8(r3) +lbl_800595CC: +/* 800595CC 0005652C 80 79 00 04 */ lwz r3, 4(r25) +/* 800595D0 00056530 3B 7B 00 01 */ addi r27, r27, 1 +/* 800595D4 00056534 38 03 00 01 */ addi r0, r3, 1 +/* 800595D8 00056538 90 19 00 04 */ stw r0, 4(r25) +lbl_800595DC: +/* 800595DC 0005653C 7C 1B E0 00 */ cmpw r27, r28 +/* 800595E0 00056540 41 80 FF 88 */ blt lbl_80059568 +/* 800595E4 00056544 7F 23 CB 78 */ mr r3, r25 +/* 800595E8 00056548 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 800595EC 0005654C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800595F0 00056550 7C 08 03 A6 */ mtlr r0 +/* 800595F4 00056554 38 21 00 30 */ addi r1, r1, 0x30 +/* 800595F8 00056558 4E 80 00 20 */ blr + +.global "reserve__Q24rstl44vectorFi" +"reserve__Q24rstl44vectorFi": +/* 800595FC 0005655C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80059600 00056560 7C 08 02 A6 */ mflr r0 +/* 80059604 00056564 90 01 00 34 */ stw r0, 0x34(r1) +/* 80059608 00056568 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8005960C 0005656C 7C 9F 23 78 */ mr r31, r4 +/* 80059610 00056570 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80059614 00056574 7C 7E 1B 78 */ mr r30, r3 +/* 80059618 00056578 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8005961C 0005657C 80 03 00 08 */ lwz r0, 8(r3) +/* 80059620 00056580 7C 1F 00 00 */ cmpw r31, r0 +/* 80059624 00056584 40 81 00 C8 */ ble lbl_800596EC +/* 80059628 00056588 1C 7F 00 0C */ mulli r3, r31, 0xc +/* 8005962C 0005658C 2C 03 00 00 */ cmpwi r3, 0 +/* 80059630 00056590 40 82 00 0C */ bne lbl_8005963C +/* 80059634 00056594 3B A0 00 00 */ li r29, 0 +/* 80059638 00056598 48 00 00 1C */ b lbl_80059654 +lbl_8005963C: +/* 8005963C 0005659C 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80059640 000565A0 38 A0 00 00 */ li r5, 0 +/* 80059644 000565A4 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 80059648 000565A8 38 84 00 01 */ addi r4, r4, 1 +/* 8005964C 000565AC 48 2B C1 CD */ bl __nwa__FUlPCcPCc +/* 80059650 000565B0 7C 7D 1B 78 */ mr r29, r3 +lbl_80059654: +/* 80059654 000565B4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80059658 000565B8 7F A4 EB 78 */ mr r4, r29 +/* 8005965C 000565BC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80059660 000565C0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80059664 000565C4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80059668 000565C8 7C 65 02 14 */ add r3, r5, r0 +/* 8005966C 000565CC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80059670 000565D0 90 61 00 08 */ stw r3, 8(r1) +/* 80059674 000565D4 90 61 00 0C */ stw r3, 0xc(r1) +/* 80059678 000565D8 48 00 00 34 */ b lbl_800596AC +lbl_8005967C: +/* 8005967C 000565DC 28 04 00 00 */ cmplwi r4, 0 +/* 80059680 000565E0 41 82 00 24 */ beq lbl_800596A4 +/* 80059684 000565E4 80 05 00 00 */ lwz r0, 0(r5) +/* 80059688 000565E8 90 04 00 00 */ stw r0, 0(r4) +/* 8005968C 000565EC 80 05 00 04 */ lwz r0, 4(r5) +/* 80059690 000565F0 90 04 00 04 */ stw r0, 4(r4) +/* 80059694 000565F4 A0 05 00 08 */ lhz r0, 8(r5) +/* 80059698 000565F8 B0 04 00 08 */ sth r0, 8(r4) +/* 8005969C 000565FC 88 05 00 0A */ lbz r0, 0xa(r5) +/* 800596A0 00056600 98 04 00 0A */ stb r0, 0xa(r4) +lbl_800596A4: +/* 800596A4 00056604 38 84 00 0C */ addi r4, r4, 0xc +/* 800596A8 00056608 38 A5 00 0C */ addi r5, r5, 0xc +lbl_800596AC: +/* 800596AC 0005660C 7C 05 18 40 */ cmplw r5, r3 +/* 800596B0 00056610 40 82 FF CC */ bne lbl_8005967C +/* 800596B4 00056614 80 1E 00 04 */ lwz r0, 4(r30) +/* 800596B8 00056618 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800596BC 0005661C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800596C0 00056620 7C 64 1B 78 */ mr r4, r3 +/* 800596C4 00056624 7C 03 02 14 */ add r0, r3, r0 +/* 800596C8 00056628 48 00 00 08 */ b lbl_800596D0 +lbl_800596CC: +/* 800596CC 0005662C 38 84 00 0C */ addi r4, r4, 0xc +lbl_800596D0: +/* 800596D0 00056630 7C 04 00 40 */ cmplw r4, r0 +/* 800596D4 00056634 40 82 FF F8 */ bne lbl_800596CC +/* 800596D8 00056638 28 03 00 00 */ cmplwi r3, 0 +/* 800596DC 0005663C 41 82 00 08 */ beq lbl_800596E4 +/* 800596E0 00056640 48 2B C2 51 */ bl Free__7CMemoryFPCv +lbl_800596E4: +/* 800596E4 00056644 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800596E8 00056648 93 FE 00 08 */ stw r31, 8(r30) +lbl_800596EC: +/* 800596EC 0005664C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800596F0 00056650 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800596F4 00056654 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800596F8 00056658 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800596FC 0005665C 7C 08 03 A6 */ mtlr r0 +/* 80059700 00056660 38 21 00 30 */ addi r1, r1, 0x30 +/* 80059704 00056664 4E 80 00 20 */ blr + +.global "reserve__Q24rstl61vectorFi" +"reserve__Q24rstl61vectorFi": +/* 80059708 00056668 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005970C 0005666C 7C 08 02 A6 */ mflr r0 +/* 80059710 00056670 90 01 00 34 */ stw r0, 0x34(r1) +/* 80059714 00056674 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80059718 00056678 7C 9E 23 78 */ mr r30, r4 +/* 8005971C 0005667C 7C 7D 1B 78 */ mr r29, r3 +/* 80059720 00056680 80 03 00 08 */ lwz r0, 8(r3) +/* 80059724 00056684 7C 1E 00 00 */ cmpw r30, r0 +/* 80059728 00056688 40 81 01 30 */ ble lbl_80059858 +/* 8005972C 0005668C 1C 7E 00 28 */ mulli r3, r30, 0x28 +/* 80059730 00056690 2C 03 00 00 */ cmpwi r3, 0 +/* 80059734 00056694 40 82 00 0C */ bne lbl_80059740 +/* 80059738 00056698 3B E0 00 00 */ li r31, 0 +/* 8005973C 0005669C 48 00 00 1C */ b lbl_80059758 +lbl_80059740: +/* 80059740 000566A0 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80059744 000566A4 38 A0 00 00 */ li r5, 0 +/* 80059748 000566A8 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 8005974C 000566AC 38 84 00 01 */ addi r4, r4, 1 +/* 80059750 000566B0 48 2B C0 C9 */ bl __nwa__FUlPCcPCc +/* 80059754 000566B4 7C 7F 1B 78 */ mr r31, r3 +lbl_80059758: +/* 80059758 000566B8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8005975C 000566BC 7F FB FB 78 */ mr r27, r31 +/* 80059760 000566C0 83 5D 00 0C */ lwz r26, 0xc(r29) +/* 80059764 000566C4 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 80059768 000566C8 93 41 00 10 */ stw r26, 0x10(r1) +/* 8005976C 000566CC 7F 9A 02 14 */ add r28, r26, r0 +/* 80059770 000566D0 93 41 00 14 */ stw r26, 0x14(r1) +/* 80059774 000566D4 93 81 00 08 */ stw r28, 8(r1) +/* 80059778 000566D8 93 81 00 0C */ stw r28, 0xc(r1) +/* 8005977C 000566DC 48 00 00 5C */ b lbl_800597D8 +lbl_80059780: +/* 80059780 000566E0 28 1B 00 00 */ cmplwi r27, 0 +/* 80059784 000566E4 41 82 00 4C */ beq lbl_800597D0 +/* 80059788 000566E8 80 1A 00 00 */ lwz r0, 0(r26) +/* 8005978C 000566EC 38 7B 00 0C */ addi r3, r27, 0xc +/* 80059790 000566F0 38 9A 00 0C */ addi r4, r26, 0xc +/* 80059794 000566F4 90 1B 00 00 */ stw r0, 0(r27) +/* 80059798 000566F8 80 1A 00 04 */ lwz r0, 4(r26) +/* 8005979C 000566FC 90 1B 00 04 */ stw r0, 4(r27) +/* 800597A0 00056700 88 1A 00 08 */ lbz r0, 8(r26) +/* 800597A4 00056704 98 1B 00 08 */ stb r0, 8(r27) +/* 800597A8 00056708 48 2E 49 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800597AC 0005670C 88 1A 00 24 */ lbz r0, 0x24(r26) +/* 800597B0 00056710 98 1B 00 24 */ stb r0, 0x24(r27) +/* 800597B4 00056714 88 1A 00 24 */ lbz r0, 0x24(r26) +/* 800597B8 00056718 28 00 00 00 */ cmplwi r0, 0 +/* 800597BC 0005671C 41 82 00 14 */ beq lbl_800597D0 +/* 800597C0 00056720 34 7B 00 1C */ addic. r3, r27, 0x1c +/* 800597C4 00056724 38 9A 00 1C */ addi r4, r26, 0x1c +/* 800597C8 00056728 41 82 00 08 */ beq lbl_800597D0 +/* 800597CC 0005672C 48 2E 76 DD */ bl __ct__6CTokenFRC6CToken +lbl_800597D0: +/* 800597D0 00056730 3B 7B 00 28 */ addi r27, r27, 0x28 +/* 800597D4 00056734 3B 5A 00 28 */ addi r26, r26, 0x28 +lbl_800597D8: +/* 800597D8 00056738 7C 1A E0 40 */ cmplw r26, r28 +/* 800597DC 0005673C 40 82 FF A4 */ bne lbl_80059780 +/* 800597E0 00056740 80 1D 00 04 */ lwz r0, 4(r29) +/* 800597E4 00056744 3B 80 00 00 */ li r28, 0 +/* 800597E8 00056748 83 5D 00 0C */ lwz r26, 0xc(r29) +/* 800597EC 0005674C 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 800597F0 00056750 7F 7A 02 14 */ add r27, r26, r0 +/* 800597F4 00056754 48 00 00 44 */ b lbl_80059838 +lbl_800597F8: +/* 800597F8 00056758 28 1A 00 00 */ cmplwi r26, 0 +/* 800597FC 0005675C 41 82 00 38 */ beq lbl_80059834 +/* 80059800 00056760 34 1A 00 1C */ addic. r0, r26, 0x1c +/* 80059804 00056764 41 82 00 20 */ beq lbl_80059824 +/* 80059808 00056768 88 1A 00 24 */ lbz r0, 0x24(r26) +/* 8005980C 0005676C 28 00 00 00 */ cmplwi r0, 0 +/* 80059810 00056770 41 82 00 10 */ beq lbl_80059820 +/* 80059814 00056774 38 7A 00 1C */ addi r3, r26, 0x1c +/* 80059818 00056778 38 80 FF FF */ li r4, -1 +/* 8005981C 0005677C 48 2E 76 25 */ bl __dt__6CTokenFv +lbl_80059820: +/* 80059820 00056780 9B 9A 00 24 */ stb r28, 0x24(r26) +lbl_80059824: +/* 80059824 00056784 34 1A 00 0C */ addic. r0, r26, 0xc +/* 80059828 00056788 41 82 00 0C */ beq lbl_80059834 +/* 8005982C 0005678C 38 7A 00 0C */ addi r3, r26, 0xc +/* 80059830 00056790 48 2E 42 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80059834: +/* 80059834 00056794 3B 5A 00 28 */ addi r26, r26, 0x28 +lbl_80059838: +/* 80059838 00056798 7C 1A D8 40 */ cmplw r26, r27 +/* 8005983C 0005679C 40 82 FF BC */ bne lbl_800597F8 +/* 80059840 000567A0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80059844 000567A4 28 03 00 00 */ cmplwi r3, 0 +/* 80059848 000567A8 41 82 00 08 */ beq lbl_80059850 +/* 8005984C 000567AC 48 2B C0 E5 */ bl Free__7CMemoryFPCv +lbl_80059850: +/* 80059850 000567B0 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80059854 000567B4 93 DD 00 08 */ stw r30, 8(r29) +lbl_80059858: +/* 80059858 000567B8 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8005985C 000567BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80059860 000567C0 7C 08 03 A6 */ mtlr r0 +/* 80059864 000567C4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80059868 000567C8 4E 80 00 20 */ blr + +.global sub_8005986c +sub_8005986c: +/* 8005986C 000567CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80059870 000567D0 7C 08 02 A6 */ mflr r0 +/* 80059874 000567D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80059878 000567D8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8005987C 000567DC 7C 9F 23 78 */ mr r31, r4 +/* 80059880 000567E0 7C 7E 1B 78 */ mr r30, r3 +/* 80059884 000567E4 80 03 00 08 */ lwz r0, 8(r3) +/* 80059888 000567E8 7C 1F 00 00 */ cmpw r31, r0 +/* 8005988C 000567EC 40 81 00 F0 */ ble lbl_8005997C +/* 80059890 000567F0 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 80059894 000567F4 40 82 00 0C */ bne lbl_800598A0 +/* 80059898 000567F8 3B A0 00 00 */ li r29, 0 +/* 8005989C 000567FC 48 00 00 1C */ b lbl_800598B8 +lbl_800598A0: +/* 800598A0 00056800 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 800598A4 00056804 38 A0 00 00 */ li r5, 0 +/* 800598A8 00056808 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 800598AC 0005680C 38 84 00 01 */ addi r4, r4, 1 +/* 800598B0 00056810 48 2B BF 69 */ bl __nwa__FUlPCcPCc +/* 800598B4 00056814 7C 7D 1B 78 */ mr r29, r3 +lbl_800598B8: +/* 800598B8 00056818 80 7E 00 04 */ lwz r3, 4(r30) +/* 800598BC 0005681C 7F A5 EB 78 */ mr r5, r29 +/* 800598C0 00056820 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 800598C4 00056824 38 00 00 00 */ li r0, 0 +/* 800598C8 00056828 54 63 18 38 */ slwi r3, r3, 3 +/* 800598CC 0005682C 7C 86 1A 14 */ add r4, r6, r3 +/* 800598D0 00056830 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800598D4 00056834 90 81 00 08 */ stw r4, 8(r1) +/* 800598D8 00056838 90 81 00 0C */ stw r4, 0xc(r1) +/* 800598DC 0005683C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800598E0 00056840 48 00 00 28 */ b lbl_80059908 +lbl_800598E4: +/* 800598E4 00056844 28 05 00 00 */ cmplwi r5, 0 +/* 800598E8 00056848 41 82 00 18 */ beq lbl_80059900 +/* 800598EC 0005684C 88 66 00 00 */ lbz r3, 0(r6) +/* 800598F0 00056850 98 65 00 00 */ stb r3, 0(r5) +/* 800598F4 00056854 80 66 00 04 */ lwz r3, 4(r6) +/* 800598F8 00056858 90 65 00 04 */ stw r3, 4(r5) +/* 800598FC 0005685C 98 06 00 00 */ stb r0, 0(r6) +lbl_80059900: +/* 80059900 00056860 38 A5 00 08 */ addi r5, r5, 8 +/* 80059904 00056864 38 C6 00 08 */ addi r6, r6, 8 +lbl_80059908: +/* 80059908 00056868 7C 06 20 40 */ cmplw r6, r4 +/* 8005990C 0005686C 40 82 FF D8 */ bne lbl_800598E4 +/* 80059910 00056870 80 1E 00 04 */ lwz r0, 4(r30) +/* 80059914 00056874 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 80059918 00056878 54 00 18 38 */ slwi r0, r0, 3 +/* 8005991C 0005687C 7F 9B 02 14 */ add r28, r27, r0 +/* 80059920 00056880 48 00 00 3C */ b lbl_8005995C +lbl_80059924: +/* 80059924 00056884 28 1B 00 00 */ cmplwi r27, 0 +/* 80059928 00056888 41 82 00 30 */ beq lbl_80059958 +/* 8005992C 0005688C 88 1B 00 00 */ lbz r0, 0(r27) +/* 80059930 00056890 28 00 00 00 */ cmplwi r0, 0 +/* 80059934 00056894 41 82 00 24 */ beq lbl_80059958 +/* 80059938 00056898 80 7B 00 04 */ lwz r3, 4(r27) +/* 8005993C 0005689C 28 03 00 00 */ cmplwi r3, 0 +/* 80059940 000568A0 41 82 00 18 */ beq lbl_80059958 +/* 80059944 000568A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80059948 000568A8 38 80 00 01 */ li r4, 1 +/* 8005994C 000568AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80059950 000568B0 7D 89 03 A6 */ mtctr r12 +/* 80059954 000568B4 4E 80 04 21 */ bctrl +lbl_80059958: +/* 80059958 000568B8 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8005995C: +/* 8005995C 000568BC 7C 1B E0 40 */ cmplw r27, r28 +/* 80059960 000568C0 40 82 FF C4 */ bne lbl_80059924 +/* 80059964 000568C4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80059968 000568C8 28 03 00 00 */ cmplwi r3, 0 +/* 8005996C 000568CC 41 82 00 08 */ beq lbl_80059974 +/* 80059970 000568D0 48 2B BF C1 */ bl Free__7CMemoryFPCv +lbl_80059974: +/* 80059974 000568D4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80059978 000568D8 93 FE 00 08 */ stw r31, 8(r30) +lbl_8005997C: +/* 8005997C 000568DC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80059980 000568E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80059984 000568E4 7C 08 03 A6 */ mtlr r0 +/* 80059988 000568E8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8005998C 000568EC 4E 80 00 20 */ blr + +.global sub_80059990 +sub_80059990: +/* 80059990 000568F0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80059994 000568F4 7C 08 02 A6 */ mflr r0 +/* 80059998 000568F8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005999C 000568FC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800599A0 00056900 7C 9F 23 78 */ mr r31, r4 +/* 800599A4 00056904 7C 7E 1B 78 */ mr r30, r3 +/* 800599A8 00056908 80 03 00 08 */ lwz r0, 8(r3) +/* 800599AC 0005690C 7C 1F 00 00 */ cmpw r31, r0 +/* 800599B0 00056910 40 81 00 F0 */ ble lbl_80059AA0 +/* 800599B4 00056914 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 800599B8 00056918 40 82 00 0C */ bne lbl_800599C4 +/* 800599BC 0005691C 3B A0 00 00 */ li r29, 0 +/* 800599C0 00056920 48 00 00 1C */ b lbl_800599DC +lbl_800599C4: +/* 800599C4 00056924 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 800599C8 00056928 38 A0 00 00 */ li r5, 0 +/* 800599CC 0005692C 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 800599D0 00056930 38 84 00 01 */ addi r4, r4, 1 +/* 800599D4 00056934 48 2B BE 45 */ bl __nwa__FUlPCcPCc +/* 800599D8 00056938 7C 7D 1B 78 */ mr r29, r3 +lbl_800599DC: +/* 800599DC 0005693C 80 7E 00 04 */ lwz r3, 4(r30) +/* 800599E0 00056940 7F A5 EB 78 */ mr r5, r29 +/* 800599E4 00056944 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 800599E8 00056948 38 00 00 00 */ li r0, 0 +/* 800599EC 0005694C 54 63 18 38 */ slwi r3, r3, 3 +/* 800599F0 00056950 7C 86 1A 14 */ add r4, r6, r3 +/* 800599F4 00056954 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800599F8 00056958 90 81 00 08 */ stw r4, 8(r1) +/* 800599FC 0005695C 90 81 00 0C */ stw r4, 0xc(r1) +/* 80059A00 00056960 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80059A04 00056964 48 00 00 28 */ b lbl_80059A2C +lbl_80059A08: +/* 80059A08 00056968 28 05 00 00 */ cmplwi r5, 0 +/* 80059A0C 0005696C 41 82 00 18 */ beq lbl_80059A24 +/* 80059A10 00056970 88 66 00 00 */ lbz r3, 0(r6) +/* 80059A14 00056974 98 65 00 00 */ stb r3, 0(r5) +/* 80059A18 00056978 80 66 00 04 */ lwz r3, 4(r6) +/* 80059A1C 0005697C 90 65 00 04 */ stw r3, 4(r5) +/* 80059A20 00056980 98 06 00 00 */ stb r0, 0(r6) +lbl_80059A24: +/* 80059A24 00056984 38 A5 00 08 */ addi r5, r5, 8 +/* 80059A28 00056988 38 C6 00 08 */ addi r6, r6, 8 +lbl_80059A2C: +/* 80059A2C 0005698C 7C 06 20 40 */ cmplw r6, r4 +/* 80059A30 00056990 40 82 FF D8 */ bne lbl_80059A08 +/* 80059A34 00056994 80 1E 00 04 */ lwz r0, 4(r30) +/* 80059A38 00056998 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 80059A3C 0005699C 54 00 18 38 */ slwi r0, r0, 3 +/* 80059A40 000569A0 7F 9B 02 14 */ add r28, r27, r0 +/* 80059A44 000569A4 48 00 00 3C */ b lbl_80059A80 +lbl_80059A48: +/* 80059A48 000569A8 28 1B 00 00 */ cmplwi r27, 0 +/* 80059A4C 000569AC 41 82 00 30 */ beq lbl_80059A7C +/* 80059A50 000569B0 88 1B 00 00 */ lbz r0, 0(r27) +/* 80059A54 000569B4 28 00 00 00 */ cmplwi r0, 0 +/* 80059A58 000569B8 41 82 00 24 */ beq lbl_80059A7C +/* 80059A5C 000569BC 80 7B 00 04 */ lwz r3, 4(r27) +/* 80059A60 000569C0 28 03 00 00 */ cmplwi r3, 0 +/* 80059A64 000569C4 41 82 00 18 */ beq lbl_80059A7C +/* 80059A68 000569C8 81 83 00 00 */ lwz r12, 0(r3) +/* 80059A6C 000569CC 38 80 00 01 */ li r4, 1 +/* 80059A70 000569D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80059A74 000569D4 7D 89 03 A6 */ mtctr r12 +/* 80059A78 000569D8 4E 80 04 21 */ bctrl +lbl_80059A7C: +/* 80059A7C 000569DC 3B 7B 00 08 */ addi r27, r27, 8 +lbl_80059A80: +/* 80059A80 000569E0 7C 1B E0 40 */ cmplw r27, r28 +/* 80059A84 000569E4 40 82 FF C4 */ bne lbl_80059A48 +/* 80059A88 000569E8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80059A8C 000569EC 28 03 00 00 */ cmplwi r3, 0 +/* 80059A90 000569F0 41 82 00 08 */ beq lbl_80059A98 +/* 80059A94 000569F4 48 2B BE 9D */ bl Free__7CMemoryFPCv +lbl_80059A98: +/* 80059A98 000569F8 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80059A9C 000569FC 93 FE 00 08 */ stw r31, 8(r30) +lbl_80059AA0: +/* 80059AA0 00056A00 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80059AA4 00056A04 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80059AA8 00056A08 7C 08 03 A6 */ mtlr r0 +/* 80059AAC 00056A0C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80059AB0 00056A10 4E 80 00 20 */ blr + +.global sub_80059ab4 +sub_80059ab4: +/* 80059AB4 00056A14 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80059AB8 00056A18 7C 08 02 A6 */ mflr r0 +/* 80059ABC 00056A1C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80059AC0 00056A20 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80059AC4 00056A24 7C 9F 23 78 */ mr r31, r4 +/* 80059AC8 00056A28 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80059ACC 00056A2C 7C 7E 1B 78 */ mr r30, r3 +/* 80059AD0 00056A30 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80059AD4 00056A34 80 03 00 08 */ lwz r0, 8(r3) +/* 80059AD8 00056A38 7C 1F 00 00 */ cmpw r31, r0 +/* 80059ADC 00056A3C 40 81 00 BC */ ble lbl_80059B98 +/* 80059AE0 00056A40 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 80059AE4 00056A44 40 82 00 0C */ bne lbl_80059AF0 +/* 80059AE8 00056A48 3B A0 00 00 */ li r29, 0 +/* 80059AEC 00056A4C 48 00 00 1C */ b lbl_80059B08 +lbl_80059AF0: +/* 80059AF0 00056A50 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80059AF4 00056A54 38 A0 00 00 */ li r5, 0 +/* 80059AF8 00056A58 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 80059AFC 00056A5C 38 84 00 01 */ addi r4, r4, 1 +/* 80059B00 00056A60 48 2B BD 19 */ bl __nwa__FUlPCcPCc +/* 80059B04 00056A64 7C 7D 1B 78 */ mr r29, r3 +lbl_80059B08: +/* 80059B08 00056A68 80 1E 00 04 */ lwz r0, 4(r30) +/* 80059B0C 00056A6C 7F A5 EB 78 */ mr r5, r29 +/* 80059B10 00056A70 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80059B14 00056A74 54 00 20 36 */ slwi r0, r0, 4 +/* 80059B18 00056A78 7C 86 02 14 */ add r4, r6, r0 +/* 80059B1C 00056A7C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80059B20 00056A80 90 81 00 08 */ stw r4, 8(r1) +/* 80059B24 00056A84 90 81 00 0C */ stw r4, 0xc(r1) +/* 80059B28 00056A88 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80059B2C 00056A8C 48 00 00 2C */ b lbl_80059B58 +lbl_80059B30: +/* 80059B30 00056A90 28 05 00 00 */ cmplwi r5, 0 +/* 80059B34 00056A94 41 82 00 1C */ beq lbl_80059B50 +/* 80059B38 00056A98 80 06 00 00 */ lwz r0, 0(r6) +/* 80059B3C 00056A9C 90 05 00 00 */ stw r0, 0(r5) +/* 80059B40 00056AA0 80 06 00 08 */ lwz r0, 8(r6) +/* 80059B44 00056AA4 80 66 00 0C */ lwz r3, 0xc(r6) +/* 80059B48 00056AA8 90 65 00 0C */ stw r3, 0xc(r5) +/* 80059B4C 00056AAC 90 05 00 08 */ stw r0, 8(r5) +lbl_80059B50: +/* 80059B50 00056AB0 38 A5 00 10 */ addi r5, r5, 0x10 +/* 80059B54 00056AB4 38 C6 00 10 */ addi r6, r6, 0x10 +lbl_80059B58: +/* 80059B58 00056AB8 7C 06 20 40 */ cmplw r6, r4 +/* 80059B5C 00056ABC 40 82 FF D4 */ bne lbl_80059B30 +/* 80059B60 00056AC0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80059B64 00056AC4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80059B68 00056AC8 54 00 20 36 */ slwi r0, r0, 4 +/* 80059B6C 00056ACC 7C 64 1B 78 */ mr r4, r3 +/* 80059B70 00056AD0 7C 03 02 14 */ add r0, r3, r0 +/* 80059B74 00056AD4 48 00 00 08 */ b lbl_80059B7C +lbl_80059B78: +/* 80059B78 00056AD8 38 84 00 10 */ addi r4, r4, 0x10 +lbl_80059B7C: +/* 80059B7C 00056ADC 7C 04 00 40 */ cmplw r4, r0 +/* 80059B80 00056AE0 40 82 FF F8 */ bne lbl_80059B78 +/* 80059B84 00056AE4 28 03 00 00 */ cmplwi r3, 0 +/* 80059B88 00056AE8 41 82 00 08 */ beq lbl_80059B90 +/* 80059B8C 00056AEC 48 2B BD A5 */ bl Free__7CMemoryFPCv +lbl_80059B90: +/* 80059B90 00056AF0 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80059B94 00056AF4 93 FE 00 08 */ stw r31, 8(r30) +lbl_80059B98: +/* 80059B98 00056AF8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80059B9C 00056AFC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80059BA0 00056B00 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80059BA4 00056B04 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80059BA8 00056B08 7C 08 03 A6 */ mtlr r0 +/* 80059BAC 00056B0C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80059BB0 00056B10 4E 80 00 20 */ blr + +.global "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi": +/* 80059BB4 00056B14 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80059BB8 00056B18 7C 08 02 A6 */ mflr r0 +/* 80059BBC 00056B1C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80059BC0 00056B20 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80059BC4 00056B24 7C 9F 23 78 */ mr r31, r4 +/* 80059BC8 00056B28 7C 7E 1B 78 */ mr r30, r3 +/* 80059BCC 00056B2C 80 03 00 08 */ lwz r0, 8(r3) +/* 80059BD0 00056B30 7C 1F 00 00 */ cmpw r31, r0 +/* 80059BD4 00056B34 40 81 00 C0 */ ble lbl_80059C94 +/* 80059BD8 00056B38 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 80059BDC 00056B3C 40 82 00 0C */ bne lbl_80059BE8 +/* 80059BE0 00056B40 3B 80 00 00 */ li r28, 0 +/* 80059BE4 00056B44 48 00 00 1C */ b lbl_80059C00 +lbl_80059BE8: +/* 80059BE8 00056B48 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80059BEC 00056B4C 38 A0 00 00 */ li r5, 0 +/* 80059BF0 00056B50 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 80059BF4 00056B54 38 84 00 01 */ addi r4, r4, 1 +/* 80059BF8 00056B58 48 2B BC 21 */ bl __nwa__FUlPCcPCc +/* 80059BFC 00056B5C 7C 7C 1B 78 */ mr r28, r3 +lbl_80059C00: +/* 80059C00 00056B60 80 1E 00 04 */ lwz r0, 4(r30) +/* 80059C04 00056B64 7F 9B E3 78 */ mr r27, r28 +/* 80059C08 00056B68 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80059C0C 00056B6C 54 00 20 36 */ slwi r0, r0, 4 +/* 80059C10 00056B70 7F BA 02 14 */ add r29, r26, r0 +/* 80059C14 00056B74 93 41 00 10 */ stw r26, 0x10(r1) +/* 80059C18 00056B78 93 A1 00 08 */ stw r29, 8(r1) +/* 80059C1C 00056B7C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80059C20 00056B80 93 41 00 14 */ stw r26, 0x14(r1) +/* 80059C24 00056B84 48 00 00 20 */ b lbl_80059C44 +lbl_80059C28: +/* 80059C28 00056B88 28 1B 00 00 */ cmplwi r27, 0 +/* 80059C2C 00056B8C 41 82 00 10 */ beq lbl_80059C3C +/* 80059C30 00056B90 7F 63 DB 78 */ mr r3, r27 +/* 80059C34 00056B94 7F 44 D3 78 */ mr r4, r26 +/* 80059C38 00056B98 48 2E 45 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80059C3C: +/* 80059C3C 00056B9C 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 80059C40 00056BA0 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_80059C44: +/* 80059C44 00056BA4 7C 1A E8 40 */ cmplw r26, r29 +/* 80059C48 00056BA8 40 82 FF E0 */ bne lbl_80059C28 +/* 80059C4C 00056BAC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80059C50 00056BB0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80059C54 00056BB4 54 00 20 36 */ slwi r0, r0, 4 +/* 80059C58 00056BB8 7F 7A 02 14 */ add r27, r26, r0 +/* 80059C5C 00056BBC 48 00 00 18 */ b lbl_80059C74 +lbl_80059C60: +/* 80059C60 00056BC0 28 1A 00 00 */ cmplwi r26, 0 +/* 80059C64 00056BC4 41 82 00 0C */ beq lbl_80059C70 +/* 80059C68 00056BC8 7F 43 D3 78 */ mr r3, r26 +/* 80059C6C 00056BCC 48 2E 3E 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80059C70: +/* 80059C70 00056BD0 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_80059C74: +/* 80059C74 00056BD4 7C 1A D8 40 */ cmplw r26, r27 +/* 80059C78 00056BD8 40 82 FF E8 */ bne lbl_80059C60 +/* 80059C7C 00056BDC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80059C80 00056BE0 28 03 00 00 */ cmplwi r3, 0 +/* 80059C84 00056BE4 41 82 00 08 */ beq lbl_80059C8C +/* 80059C88 00056BE8 48 2B BC A9 */ bl Free__7CMemoryFPCv +lbl_80059C8C: +/* 80059C8C 00056BEC 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80059C90 00056BF0 93 FE 00 08 */ stw r31, 8(r30) +lbl_80059C94: +/* 80059C94 00056BF4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80059C98 00056BF8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80059C9C 00056BFC 7C 08 03 A6 */ mtlr r0 +/* 80059CA0 00056C00 38 21 00 30 */ addi r1, r1, 0x30 +/* 80059CA4 00056C04 4E 80 00 20 */ blr + +.global "reserve__Q24rstl36vectorFi" +"reserve__Q24rstl36vectorFi": +/* 80059CA8 00056C08 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80059CAC 00056C0C 7C 08 02 A6 */ mflr r0 +/* 80059CB0 00056C10 90 01 00 34 */ stw r0, 0x34(r1) +/* 80059CB4 00056C14 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80059CB8 00056C18 7C 9F 23 78 */ mr r31, r4 +/* 80059CBC 00056C1C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80059CC0 00056C20 7C 7E 1B 78 */ mr r30, r3 +/* 80059CC4 00056C24 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80059CC8 00056C28 80 03 00 08 */ lwz r0, 8(r3) +/* 80059CCC 00056C2C 7C 1F 00 00 */ cmpw r31, r0 +/* 80059CD0 00056C30 40 81 00 AC */ ble lbl_80059D7C +/* 80059CD4 00056C34 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80059CD8 00056C38 40 82 00 0C */ bne lbl_80059CE4 +/* 80059CDC 00056C3C 3B A0 00 00 */ li r29, 0 +/* 80059CE0 00056C40 48 00 00 1C */ b lbl_80059CFC +lbl_80059CE4: +/* 80059CE4 00056C44 3C 80 80 3D */ lis r4, lbl_803CCF70@ha +/* 80059CE8 00056C48 38 A0 00 00 */ li r5, 0 +/* 80059CEC 00056C4C 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l +/* 80059CF0 00056C50 38 84 00 01 */ addi r4, r4, 1 +/* 80059CF4 00056C54 48 2B BB 25 */ bl __nwa__FUlPCcPCc +/* 80059CF8 00056C58 7C 7D 1B 78 */ mr r29, r3 +lbl_80059CFC: +/* 80059CFC 00056C5C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80059D00 00056C60 7F A4 EB 78 */ mr r4, r29 +/* 80059D04 00056C64 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80059D08 00056C68 54 00 10 3A */ slwi r0, r0, 2 +/* 80059D0C 00056C6C 7C 65 02 14 */ add r3, r5, r0 +/* 80059D10 00056C70 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80059D14 00056C74 90 61 00 08 */ stw r3, 8(r1) +/* 80059D18 00056C78 90 61 00 0C */ stw r3, 0xc(r1) +/* 80059D1C 00056C7C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80059D20 00056C80 48 00 00 1C */ b lbl_80059D3C +lbl_80059D24: +/* 80059D24 00056C84 28 04 00 00 */ cmplwi r4, 0 +/* 80059D28 00056C88 41 82 00 0C */ beq lbl_80059D34 +/* 80059D2C 00056C8C 80 05 00 00 */ lwz r0, 0(r5) +/* 80059D30 00056C90 90 04 00 00 */ stw r0, 0(r4) +lbl_80059D34: +/* 80059D34 00056C94 38 84 00 04 */ addi r4, r4, 4 +/* 80059D38 00056C98 38 A5 00 04 */ addi r5, r5, 4 +lbl_80059D3C: +/* 80059D3C 00056C9C 7C 05 18 40 */ cmplw r5, r3 +/* 80059D40 00056CA0 40 82 FF E4 */ bne lbl_80059D24 +/* 80059D44 00056CA4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80059D48 00056CA8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80059D4C 00056CAC 54 00 10 3A */ slwi r0, r0, 2 +/* 80059D50 00056CB0 7C 64 1B 78 */ mr r4, r3 +/* 80059D54 00056CB4 7C 03 02 14 */ add r0, r3, r0 +/* 80059D58 00056CB8 48 00 00 08 */ b lbl_80059D60 +lbl_80059D5C: +/* 80059D5C 00056CBC 38 84 00 04 */ addi r4, r4, 4 +lbl_80059D60: +/* 80059D60 00056CC0 7C 04 00 40 */ cmplw r4, r0 +/* 80059D64 00056CC4 40 82 FF F8 */ bne lbl_80059D5C +/* 80059D68 00056CC8 28 03 00 00 */ cmplwi r3, 0 +/* 80059D6C 00056CCC 41 82 00 08 */ beq lbl_80059D74 +/* 80059D70 00056CD0 48 2B BB C1 */ bl Free__7CMemoryFPCv +lbl_80059D74: +/* 80059D74 00056CD4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80059D78 00056CD8 93 FE 00 08 */ stw r31, 8(r30) +lbl_80059D7C: +/* 80059D7C 00056CDC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80059D80 00056CE0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80059D84 00056CE4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80059D88 00056CE8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80059D8C 00056CEC 7C 08 03 A6 */ mtlr r0 +/* 80059D90 00056CF0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80059D94 00056CF4 4E 80 00 20 */ blr + +.global sub_80059d98 +sub_80059d98: +/* 80059D98 00056CF8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80059D9C 00056CFC 7C 08 02 A6 */ mflr r0 +/* 80059DA0 00056D00 90 01 00 34 */ stw r0, 0x34(r1) +/* 80059DA4 00056D04 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80059DA8 00056D08 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80059DAC 00056D0C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80059DB0 00056D10 93 81 00 20 */ stw r28, 0x20(r1) +/* 80059DB4 00056D14 7C 7C 1B 78 */ mr r28, r3 +/* 80059DB8 00056D18 80 83 00 00 */ lwz r4, 0(r3) +/* 80059DBC 00056D1C 80 64 00 04 */ lwz r3, 4(r4) +/* 80059DC0 00056D20 34 03 FF FF */ addic. r0, r3, -1 +/* 80059DC4 00056D24 90 04 00 04 */ stw r0, 4(r4) +/* 80059DC8 00056D28 41 81 00 7C */ bgt lbl_80059E44 +/* 80059DCC 00056D2C 80 7C 00 00 */ lwz r3, 0(r28) +/* 80059DD0 00056D30 83 A3 00 00 */ lwz r29, 0(r3) +/* 80059DD4 00056D34 28 1D 00 00 */ cmplwi r29, 0 +/* 80059DD8 00056D38 41 82 00 5C */ beq lbl_80059E34 +/* 80059DDC 00056D3C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80059DE0 00056D40 83 DD 00 0C */ lwz r30, 0xc(r29) +/* 80059DE4 00056D44 54 00 20 36 */ slwi r0, r0, 4 +/* 80059DE8 00056D48 7F FE 02 14 */ add r31, r30, r0 +/* 80059DEC 00056D4C 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80059DF0 00056D50 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80059DF4 00056D54 93 E1 00 10 */ stw r31, 0x10(r1) +/* 80059DF8 00056D58 93 C1 00 08 */ stw r30, 8(r1) +/* 80059DFC 00056D5C 48 00 00 18 */ b lbl_80059E14 +lbl_80059E00: +/* 80059E00 00056D60 28 1E 00 00 */ cmplwi r30, 0 +/* 80059E04 00056D64 41 82 00 0C */ beq lbl_80059E10 +/* 80059E08 00056D68 7F C3 F3 78 */ mr r3, r30 +/* 80059E0C 00056D6C 48 2E 3C D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80059E10: +/* 80059E10 00056D70 3B DE 00 10 */ addi r30, r30, 0x10 +lbl_80059E14: +/* 80059E14 00056D74 7C 1E F8 40 */ cmplw r30, r31 +/* 80059E18 00056D78 40 82 FF E8 */ bne lbl_80059E00 +/* 80059E1C 00056D7C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80059E20 00056D80 28 03 00 00 */ cmplwi r3, 0 +/* 80059E24 00056D84 41 82 00 08 */ beq lbl_80059E2C +/* 80059E28 00056D88 48 2B BB 09 */ bl Free__7CMemoryFPCv +lbl_80059E2C: +/* 80059E2C 00056D8C 7F A3 EB 78 */ mr r3, r29 +/* 80059E30 00056D90 48 2B BB 01 */ bl Free__7CMemoryFPCv +lbl_80059E34: +/* 80059E34 00056D94 80 7C 00 00 */ lwz r3, 0(r28) +/* 80059E38 00056D98 28 03 00 00 */ cmplwi r3, 0 +/* 80059E3C 00056D9C 41 82 00 08 */ beq lbl_80059E44 +/* 80059E40 00056DA0 48 2B BA F1 */ bl Free__7CMemoryFPCv +lbl_80059E44: +/* 80059E44 00056DA4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80059E48 00056DA8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80059E4C 00056DAC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80059E50 00056DB0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80059E54 00056DB4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80059E58 00056DB8 7C 08 03 A6 */ mtlr r0 +/* 80059E5C 00056DBC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80059E60 00056DC0 4E 80 00 20 */ blr + +.global sub_80059e64 +sub_80059e64: +/* 80059E64 00056DC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80059E68 00056DC8 7C 08 02 A6 */ mflr r0 +/* 80059E6C 00056DCC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80059E70 00056DD0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80059E74 00056DD4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80059E78 00056DD8 7C 7E 1B 78 */ mr r30, r3 +/* 80059E7C 00056DDC 80 83 00 00 */ lwz r4, 0(r3) +/* 80059E80 00056DE0 80 64 00 04 */ lwz r3, 4(r4) +/* 80059E84 00056DE4 34 03 FF FF */ addic. r0, r3, -1 +/* 80059E88 00056DE8 90 04 00 04 */ stw r0, 4(r4) +/* 80059E8C 00056DEC 41 81 00 6C */ bgt lbl_80059EF8 +/* 80059E90 00056DF0 80 7E 00 00 */ lwz r3, 0(r30) +/* 80059E94 00056DF4 83 E3 00 00 */ lwz r31, 0(r3) +/* 80059E98 00056DF8 28 1F 00 00 */ cmplwi r31, 0 +/* 80059E9C 00056DFC 41 82 00 4C */ beq lbl_80059EE8 +/* 80059EA0 00056E00 80 1F 00 04 */ lwz r0, 4(r31) +/* 80059EA4 00056E04 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80059EA8 00056E08 54 00 10 3A */ slwi r0, r0, 2 +/* 80059EAC 00056E0C 7C 03 02 14 */ add r0, r3, r0 +/* 80059EB0 00056E10 90 61 00 0C */ stw r3, 0xc(r1) +/* 80059EB4 00056E14 7C 64 1B 78 */ mr r4, r3 +/* 80059EB8 00056E18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80059EBC 00056E1C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80059EC0 00056E20 90 61 00 08 */ stw r3, 8(r1) +/* 80059EC4 00056E24 48 00 00 08 */ b lbl_80059ECC +lbl_80059EC8: +/* 80059EC8 00056E28 38 84 00 04 */ addi r4, r4, 4 +lbl_80059ECC: +/* 80059ECC 00056E2C 7C 04 00 40 */ cmplw r4, r0 +/* 80059ED0 00056E30 40 82 FF F8 */ bne lbl_80059EC8 +/* 80059ED4 00056E34 28 03 00 00 */ cmplwi r3, 0 +/* 80059ED8 00056E38 41 82 00 08 */ beq lbl_80059EE0 +/* 80059EDC 00056E3C 48 2B BA 55 */ bl Free__7CMemoryFPCv +lbl_80059EE0: +/* 80059EE0 00056E40 7F E3 FB 78 */ mr r3, r31 +/* 80059EE4 00056E44 48 2B BA 4D */ bl Free__7CMemoryFPCv +lbl_80059EE8: +/* 80059EE8 00056E48 80 7E 00 00 */ lwz r3, 0(r30) +/* 80059EEC 00056E4C 28 03 00 00 */ cmplwi r3, 0 +/* 80059EF0 00056E50 41 82 00 08 */ beq lbl_80059EF8 +/* 80059EF4 00056E54 48 2B BA 3D */ bl Free__7CMemoryFPCv +lbl_80059EF8: +/* 80059EF8 00056E58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80059EFC 00056E5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80059F00 00056E60 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80059F04 00056E64 7C 08 03 A6 */ mtlr r0 +/* 80059F08 00056E68 38 21 00 20 */ addi r1, r1, 0x20 +/* 80059F0C 00056E6C 4E 80 00 20 */ blr + +.global __sinit_CWorld_cpp +__sinit_CWorld_cpp: +/* 80059F10 00056E70 38 00 00 00 */ li r0, 0 +/* 80059F14 00056E74 90 0D A2 18 */ stw r0, lbl_805A8DD8@sda21(r13) +/* 80059F18 00056E78 90 0D A2 1C */ stw r0, lbl_805A8DDC@sda21(r13) +/* 80059F1C 00056E7C 4E 80 00 20 */ blr + +.global __ct__14CTweakParticleFR12CInputStream +__ct__14CTweakParticleFR12CInputStream: +/* 80059F20 00056E80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80059F24 00056E84 7C 08 02 A6 */ mflr r0 +/* 80059F28 00056E88 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha +/* 80059F2C 00056E8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80059F30 00056E90 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l +/* 80059F34 00056E94 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80059F38 00056E98 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80059F3C 00056E9C 7C 9F 23 78 */ mr r31, r4 +/* 80059F40 00056EA0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80059F44 00056EA4 7C 7E 1B 78 */ mr r30, r3 +/* 80059F48 00056EA8 3C 60 80 3E */ lis r3, lbl_803DA088@ha +/* 80059F4C 00056EAC 90 1E 00 00 */ stw r0, 0(r30) +/* 80059F50 00056EB0 38 03 A0 88 */ addi r0, r3, lbl_803DA088@l +/* 80059F54 00056EB4 38 7E 00 04 */ addi r3, r30, 4 +/* 80059F58 00056EB8 90 1E 00 00 */ stw r0, 0(r30) +/* 80059F5C 00056EBC 48 2E 43 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80059F60 00056EC0 7F E4 FB 78 */ mr r4, r31 +/* 80059F64 00056EC4 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80059F68 00056EC8 38 A1 00 0C */ addi r5, r1, 0xc +/* 80059F6C 00056ECC 48 2E 43 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80059F70 00056ED0 7F E4 FB 78 */ mr r4, r31 +/* 80059F74 00056ED4 38 7E 00 24 */ addi r3, r30, 0x24 +/* 80059F78 00056ED8 38 A1 00 08 */ addi r5, r1, 8 +/* 80059F7C 00056EDC 48 2E 43 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80059F80 00056EE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80059F84 00056EE4 7F C3 F3 78 */ mr r3, r30 +/* 80059F88 00056EE8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80059F8C 00056EEC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80059F90 00056EF0 7C 08 03 A6 */ mtlr r0 +/* 80059F94 00056EF4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80059F98 00056EF8 4E 80 00 20 */ blr + +.global __dt__14CTweakParticleFv +__dt__14CTweakParticleFv: +/* 80059F9C 00056EFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80059FA0 00056F00 7C 08 02 A6 */ mflr r0 +/* 80059FA4 00056F04 90 01 00 14 */ stw r0, 0x14(r1) +/* 80059FA8 00056F08 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80059FAC 00056F0C 7C 9F 23 78 */ mr r31, r4 +/* 80059FB0 00056F10 93 C1 00 08 */ stw r30, 8(r1) +/* 80059FB4 00056F14 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80059FB8 00056F18 41 82 00 64 */ beq lbl_8005A01C +/* 80059FBC 00056F1C 3C 60 80 3E */ lis r3, lbl_803DA088@ha +/* 80059FC0 00056F20 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 80059FC4 00056F24 38 03 A0 88 */ addi r0, r3, lbl_803DA088@l +/* 80059FC8 00056F28 90 1E 00 00 */ stw r0, 0(r30) +/* 80059FCC 00056F2C 41 82 00 0C */ beq lbl_80059FD8 +/* 80059FD0 00056F30 38 7E 00 24 */ addi r3, r30, 0x24 +/* 80059FD4 00056F34 48 2E 3B 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80059FD8: +/* 80059FD8 00056F38 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80059FDC 00056F3C 41 82 00 0C */ beq lbl_80059FE8 +/* 80059FE0 00056F40 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80059FE4 00056F44 48 2E 3A FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80059FE8: +/* 80059FE8 00056F48 34 1E 00 04 */ addic. r0, r30, 4 +/* 80059FEC 00056F4C 41 82 00 0C */ beq lbl_80059FF8 +/* 80059FF0 00056F50 38 7E 00 04 */ addi r3, r30, 4 +/* 80059FF4 00056F54 48 2E 3A ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80059FF8: +/* 80059FF8 00056F58 28 1E 00 00 */ cmplwi r30, 0 +/* 80059FFC 00056F5C 41 82 00 10 */ beq lbl_8005A00C +/* 8005A000 00056F60 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 8005A004 00056F64 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 8005A008 00056F68 90 1E 00 00 */ stw r0, 0(r30) +lbl_8005A00C: +/* 8005A00C 00056F6C 7F E0 07 35 */ extsh. r0, r31 +/* 8005A010 00056F70 40 81 00 0C */ ble lbl_8005A01C +/* 8005A014 00056F74 7F C3 F3 78 */ mr r3, r30 +/* 8005A018 00056F78 48 00 00 21 */ bl "__dl__28TOneStatic<14CTweakParticle>FPv" +lbl_8005A01C: +/* 8005A01C 00056F7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005A020 00056F80 7F C3 F3 78 */ mr r3, r30 +/* 8005A024 00056F84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005A028 00056F88 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005A02C 00056F8C 7C 08 03 A6 */ mtlr r0 +/* 8005A030 00056F90 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005A034 00056F94 4E 80 00 20 */ blr + +.global "__dl__28TOneStatic<14CTweakParticle>FPv" +"__dl__28TOneStatic<14CTweakParticle>FPv": +/* 8005A038 00056F98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005A03C 00056F9C 7C 08 02 A6 */ mflr r0 +/* 8005A040 00056FA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005A044 00056FA4 4B FD D0 81 */ bl "ReferenceCount__28TOneStatic<14CTweakParticle>Fv" +/* 8005A048 00056FA8 80 83 00 00 */ lwz r4, 0(r3) +/* 8005A04C 00056FAC 38 04 FF FF */ addi r0, r4, -1 +/* 8005A050 00056FB0 90 03 00 00 */ stw r0, 0(r3) +/* 8005A054 00056FB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005A058 00056FB8 7C 08 03 A6 */ mtlr r0 +/* 8005A05C 00056FBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005A060 00056FC0 4E 80 00 20 */ blr + +.global "Clamp__5CMathFRCiRCiRCi" +"Clamp__5CMathFRCiRCiRCi": +/* 8005A064 00056FC4 80 03 00 00 */ lwz r0, 0(r3) +/* 8005A068 00056FC8 80 C4 00 00 */ lwz r6, 0(r4) +/* 8005A06C 00056FCC 7C 00 30 00 */ cmpw r0, r6 +/* 8005A070 00056FD0 4D 81 00 20 */ bgtlr +/* 8005A074 00056FD4 80 05 00 00 */ lwz r0, 0(r5) +/* 8005A078 00056FD8 7C 00 30 00 */ cmpw r0, r6 +/* 8005A07C 00056FDC 40 80 00 0C */ bge lbl_8005A088 +/* 8005A080 00056FE0 7C A3 2B 78 */ mr r3, r5 +/* 8005A084 00056FE4 4E 80 00 20 */ blr +lbl_8005A088: +/* 8005A088 00056FE8 7C 83 23 78 */ mr r3, r4 +/* 8005A08C 00056FEC 4E 80 00 20 */ blr + +.global sub_8005a090 +sub_8005a090: +/* 8005A090 00056FF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005A094 00056FF4 7C 08 02 A6 */ mflr r0 +/* 8005A098 00056FF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005A09C 00056FFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005A0A0 00057000 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8005A0A4 00057004 41 82 00 30 */ beq lbl_8005A0D4 +/* 8005A0A8 00057008 3C 60 80 3E */ lis r3, lbl_803DA098@ha +/* 8005A0AC 0005700C 38 03 A0 98 */ addi r0, r3, lbl_803DA098@l +/* 8005A0B0 00057010 90 1F 00 00 */ stw r0, 0(r31) +/* 8005A0B4 00057014 41 82 00 10 */ beq lbl_8005A0C4 +/* 8005A0B8 00057018 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha +/* 8005A0BC 0005701C 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l +/* 8005A0C0 00057020 90 1F 00 00 */ stw r0, 0(r31) +lbl_8005A0C4: +/* 8005A0C4 00057024 7C 80 07 35 */ extsh. r0, r4 +/* 8005A0C8 00057028 40 81 00 0C */ ble lbl_8005A0D4 +/* 8005A0CC 0005702C 7F E3 FB 78 */ mr r3, r31 +/* 8005A0D0 00057030 48 2B B8 61 */ bl Free__7CMemoryFPCv +lbl_8005A0D4: +/* 8005A0D4 00057034 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005A0D8 00057038 7F E3 FB 78 */ mr r3, r31 +/* 8005A0DC 0005703C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005A0E0 00057040 7C 08 03 A6 */ mtlr r0 +/* 8005A0E4 00057044 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005A0E8 00057048 4E 80 00 20 */ blr + +.global __ct__28CArchMsgParmControllerStatusFsb +__ct__28CArchMsgParmControllerStatusFsb: +/* 8005A0EC 0005704C 3C E0 80 3E */ lis r7, lbl_803D8E9C@ha +/* 8005A0F0 00057050 3C C0 80 3E */ lis r6, lbl_803DA098@ha +/* 8005A0F4 00057054 38 E7 8E 9C */ addi r7, r7, lbl_803D8E9C@l +/* 8005A0F8 00057058 90 E3 00 00 */ stw r7, 0(r3) +/* 8005A0FC 0005705C 38 06 A0 98 */ addi r0, r6, lbl_803DA098@l +/* 8005A100 00057060 90 03 00 00 */ stw r0, 0(r3) +/* 8005A104 00057064 B0 83 00 04 */ sth r4, 4(r3) +/* 8005A108 00057068 98 A3 00 06 */ stb r5, 6(r3) +/* 8005A10C 0005706C 4E 80 00 20 */ blr + +.global sub_8005a110 +sub_8005a110: +/* 8005A110 00057070 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005A114 00057074 7C 08 02 A6 */ mflr r0 +/* 8005A118 00057078 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005A11C 0005707C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005A120 00057080 7C 9F 23 78 */ mr r31, r4 +/* 8005A124 00057084 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005A128 00057088 7C 7E 1B 78 */ mr r30, r3 +/* 8005A12C 0005708C 80 04 0F 34 */ lwz r0, 0xf34(r4) +/* 8005A130 00057090 2C 00 00 00 */ cmpwi r0, 0 +/* 8005A134 00057094 40 82 00 48 */ bne lbl_8005A17C +/* 8005A138 00057098 88 1E 00 F4 */ lbz r0, 0xf4(r30) +/* 8005A13C 0005709C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005A140 000570A0 41 82 00 3C */ beq lbl_8005A17C +/* 8005A144 000570A4 38 00 00 01 */ li r0, 1 +/* 8005A148 000570A8 38 60 00 01 */ li r3, 1 +/* 8005A14C 000570AC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) +/* 8005A150 000570B0 48 2E B6 99 */ bl SetRenderModelBlack__10CCubeModelFb +/* 8005A154 000570B4 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8005A158 000570B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8005A15C 000570BC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8005A160 000570C0 7D 89 03 A6 */ mtctr r12 +/* 8005A164 000570C4 4E 80 04 21 */ bctrl +/* 8005A168 000570C8 38 60 00 00 */ li r3, 0 +/* 8005A16C 000570CC 48 2E B6 7D */ bl SetRenderModelBlack__10CCubeModelFb +/* 8005A170 000570D0 38 00 00 00 */ li r0, 0 +/* 8005A174 000570D4 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) +/* 8005A178 000570D8 48 00 00 64 */ b lbl_8005A1DC +lbl_8005A17C: +/* 8005A17C 000570DC 88 1E 00 F4 */ lbz r0, 0xf4(r30) +/* 8005A180 000570E0 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 8005A184 000570E4 7C 00 00 34 */ cntlzw r0, r0 +/* 8005A188 000570E8 54 00 D9 7E */ srwi r0, r0, 5 +/* 8005A18C 000570EC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) +/* 8005A190 000570F0 48 2E FE 25 */ bl Black__6CColorFv +/* 8005A194 000570F4 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2) +/* 8005A198 000570F8 7C 64 1B 78 */ mr r4, r3 +/* 8005A19C 000570FC C0 42 86 AC */ lfs f2, lbl_805AA3CC@sda21(r2) +/* 8005A1A0 00057100 38 60 00 02 */ li r3, 2 +/* 8005A1A4 00057104 48 2B 00 E5 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor +/* 8005A1A8 00057108 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8005A1AC 0005710C 81 83 00 00 */ lwz r12, 0(r3) +/* 8005A1B0 00057110 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8005A1B4 00057114 7D 89 03 A6 */ mtctr r12 +/* 8005A1B8 00057118 4E 80 04 21 */ bctrl +/* 8005A1BC 0005711C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005A1C0 00057120 7F E3 FB 78 */ mr r3, r31 +/* 8005A1C4 00057124 38 81 00 0C */ addi r4, r1, 0xc +/* 8005A1C8 00057128 90 01 00 08 */ stw r0, 8(r1) +/* 8005A1CC 0005712C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8005A1D0 00057130 4B FE CB B1 */ bl SetupFogForArea__13CStateManagerCF7TAreaId +/* 8005A1D4 00057134 38 00 00 00 */ li r0, 0 +/* 8005A1D8 00057138 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) +lbl_8005A1DC: +/* 8005A1DC 0005713C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005A1E0 00057140 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005A1E4 00057144 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005A1E8 00057148 7C 08 03 A6 */ mtlr r0 +/* 8005A1EC 0005714C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005A1F0 00057150 4E 80 00 20 */ blr + +.global sub_8005a1f4 +sub_8005a1f4: +/* 8005A1F4 00057154 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8005A1F8 00057158 7C 08 02 A6 */ mflr r0 +/* 8005A1FC 0005715C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8005A200 00057160 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8005A204 00057164 7C 7F 1B 78 */ mr r31, r3 +/* 8005A208 00057168 38 61 00 2C */ addi r3, r1, 0x2c +/* 8005A20C 0005716C 80 9F 00 E8 */ lwz r4, 0xe8(r31) +/* 8005A210 00057170 81 84 00 00 */ lwz r12, 0(r4) +/* 8005A214 00057174 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8005A218 00057178 7D 89 03 A6 */ mtctr r12 +/* 8005A21C 0005717C 4E 80 04 21 */ bctrl +/* 8005A220 00057180 88 01 00 44 */ lbz r0, 0x44(r1) +/* 8005A224 00057184 28 00 00 00 */ cmplwi r0, 0 +/* 8005A228 00057188 98 01 00 60 */ stb r0, 0x60(r1) +/* 8005A22C 0005718C 41 82 00 3C */ beq lbl_8005A268 +/* 8005A230 00057190 34 61 00 48 */ addic. r3, r1, 0x48 +/* 8005A234 00057194 41 82 00 34 */ beq lbl_8005A268 +/* 8005A238 00057198 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8005A23C 0005719C D0 03 00 00 */ stfs f0, 0(r3) +/* 8005A240 000571A0 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8005A244 000571A4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005A248 000571A8 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8005A24C 000571AC D0 03 00 08 */ stfs f0, 8(r3) +/* 8005A250 000571B0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8005A254 000571B4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8005A258 000571B8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8005A25C 000571BC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8005A260 000571C0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8005A264 000571C4 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8005A268: +/* 8005A268 000571C8 88 01 00 60 */ lbz r0, 0x60(r1) +/* 8005A26C 000571CC 38 60 00 00 */ li r3, 0 +/* 8005A270 000571D0 98 61 00 44 */ stb r3, 0x44(r1) +/* 8005A274 000571D4 28 00 00 00 */ cmplwi r0, 0 +/* 8005A278 000571D8 41 82 00 48 */ beq lbl_8005A2C0 +/* 8005A27C 000571DC 80 81 00 48 */ lwz r4, 0x48(r1) +/* 8005A280 000571E0 38 60 00 01 */ li r3, 1 +/* 8005A284 000571E4 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8005A288 000571E8 90 9F 00 9C */ stw r4, 0x9c(r31) +/* 8005A28C 000571EC 80 81 00 50 */ lwz r4, 0x50(r1) +/* 8005A290 000571F0 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 8005A294 000571F4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8005A298 000571F8 90 9F 00 A4 */ stw r4, 0xa4(r31) +/* 8005A29C 000571FC 80 81 00 58 */ lwz r4, 0x58(r1) +/* 8005A2A0 00057200 90 1F 00 A8 */ stw r0, 0xa8(r31) +/* 8005A2A4 00057204 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8005A2A8 00057208 90 9F 00 AC */ stw r4, 0xac(r31) +/* 8005A2AC 0005720C 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 8005A2B0 00057210 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8005A2B4 00057214 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8005A2B8 00057218 98 1F 00 F4 */ stb r0, 0xf4(r31) +/* 8005A2BC 0005721C 48 00 00 68 */ b lbl_8005A324 +lbl_8005A2C0: +/* 8005A2C0 00057220 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8005A2C4 00057224 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8005A2C8 00057228 38 81 00 08 */ addi r4, r1, 8 +/* 8005A2CC 0005722C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8005A2D0 00057230 98 1F 00 F4 */ stb r0, 0xf4(r31) +/* 8005A2D4 00057234 7C 85 23 78 */ mr r5, r4 +/* 8005A2D8 00057238 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8005A2DC 0005723C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8005A2E0 00057240 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8005A2E4 00057244 D0 01 00 08 */ stfs f0, 8(r1) +/* 8005A2E8 00057248 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8005A2EC 0005724C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8005A2F0 00057250 48 2D E2 19 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8005A2F4 00057254 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8005A2F8 00057258 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8005A2FC 0005725C 90 7F 00 9C */ stw r3, 0x9c(r31) +/* 8005A300 00057260 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 8005A304 00057264 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8005A308 00057268 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 8005A30C 0005726C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8005A310 00057270 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005A314 00057274 90 7F 00 A8 */ stw r3, 0xa8(r31) +/* 8005A318 00057278 90 1F 00 AC */ stw r0, 0xac(r31) +/* 8005A31C 0005727C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8005A320 00057280 90 1F 00 B0 */ stw r0, 0xb0(r31) +lbl_8005A324: +/* 8005A324 00057284 38 00 00 00 */ li r0, 0 +/* 8005A328 00057288 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8005A32C 0005728C 98 01 00 60 */ stb r0, 0x60(r1) +/* 8005A330 00057290 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8005A334 00057294 7C 08 03 A6 */ mtlr r0 +/* 8005A338 00057298 38 21 00 70 */ addi r1, r1, 0x70 +/* 8005A33C 0005729C 4E 80 00 20 */ blr + +.global sub_8005a340 +sub_8005a340: +/* 8005A340 000572A0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8005A344 000572A4 7C 08 02 A6 */ mflr r0 +/* 8005A348 000572A8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8005A34C 000572AC BE E1 00 AC */ stmw r23, 0xac(r1) +/* 8005A350 000572B0 7C 9D 23 78 */ mr r29, r4 +/* 8005A354 000572B4 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 8005A358 000572B8 7C 7C 1B 78 */ mr r28, r3 +/* 8005A35C 000572BC 7C BE 2B 78 */ mr r30, r5 +/* 8005A360 000572C0 7C DF 33 78 */ mr r31, r6 +/* 8005A364 000572C4 41 82 01 44 */ beq lbl_8005A4A8 +/* 8005A368 000572C8 40 80 01 6C */ bge lbl_8005A4D4 +/* 8005A36C 000572CC 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 8005A370 000572D0 40 80 00 08 */ bge lbl_8005A378 +/* 8005A374 000572D4 48 00 01 60 */ b lbl_8005A4D4 +lbl_8005A378: +/* 8005A378 000572D8 80 7C 00 E8 */ lwz r3, 0xe8(r28) +/* 8005A37C 000572DC 81 83 00 00 */ lwz r12, 0(r3) +/* 8005A380 000572E0 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 8005A384 000572E4 7D 89 03 A6 */ mtctr r12 +/* 8005A388 000572E8 4E 80 04 21 */ bctrl +/* 8005A38C 000572EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005A390 000572F0 41 82 01 44 */ beq lbl_8005A4D4 +/* 8005A394 000572F4 7F E4 FB 78 */ mr r4, r31 +/* 8005A398 000572F8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8005A39C 000572FC 4B FF 2D 41 */ bl AllocateUniqueId__13CStateManagerFv +/* 8005A3A0 00057300 A0 01 00 2C */ lhz r0, 0x2c(r1) +/* 8005A3A4 00057304 3C 60 80 3D */ lis r3, lbl_803CCF78@ha +/* 8005A3A8 00057308 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l +/* 8005A3AC 0005730C 3B 60 00 00 */ li r27, 0 +/* 8005A3B0 00057310 B0 1C 00 EC */ sth r0, 0xec(r28) +/* 8005A3B4 00057314 3A E0 00 00 */ li r23, 0 +/* 8005A3B8 00057318 38 60 01 48 */ li r3, 0x148 +/* 8005A3BC 0005731C 38 A0 00 00 */ li r5, 0 +/* 8005A3C0 00057320 83 1C 00 F0 */ lwz r24, 0xf0(r28) +/* 8005A3C4 00057324 48 2B B4 A9 */ bl __nw__FUlPCcPCc +/* 8005A3C8 00057328 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8005A3CC 0005732C 41 82 00 AC */ beq lbl_8005A478 +/* 8005A3D0 00057330 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8005A3D4 00057334 3C 60 80 3D */ lis r3, lbl_803CCF78@ha +/* 8005A3D8 00057338 83 3C 00 E8 */ lwz r25, 0xe8(r28) +/* 8005A3DC 0005733C 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l +/* 8005A3E0 00057340 B0 01 00 24 */ sth r0, 0x24(r1) +/* 8005A3E4 00057344 38 61 00 48 */ addi r3, r1, 0x48 +/* 8005A3E8 00057348 38 84 00 07 */ addi r4, r4, 7 +/* 8005A3EC 0005734C B0 01 00 28 */ sth r0, 0x28(r1) +/* 8005A3F0 00057350 4B FA A8 C9 */ bl string_l__4rstlFPCc +/* 8005A3F4 00057354 38 61 00 38 */ addi r3, r1, 0x38 +/* 8005A3F8 00057358 38 81 00 48 */ addi r4, r1, 0x48 +/* 8005A3FC 0005735C 38 BC 00 10 */ addi r5, r28, 0x10 +/* 8005A400 00057360 3B 60 00 01 */ li r27, 1 +/* 8005A404 00057364 4B FA A8 59 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8005A408 00057368 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8005A40C 0005736C 7F 24 CB 78 */ mr r4, r25 +/* 8005A410 00057370 80 BC 00 04 */ lwz r5, 4(r28) +/* 8005A414 00057374 38 61 00 58 */ addi r3, r1, 0x58 +/* 8005A418 00057378 54 19 CF FE */ rlwinm r25, r0, 0x19, 0x1f, 0x1f +/* 8005A41C 0005737C 3A E0 00 01 */ li r23, 1 +/* 8005A420 00057380 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8005A424 00057384 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 8005A428 00057388 90 A1 00 30 */ stw r5, 0x30(r1) +/* 8005A42C 0005738C B0 01 00 20 */ sth r0, 0x20(r1) +/* 8005A430 00057390 81 84 00 00 */ lwz r12, 0(r4) +/* 8005A434 00057394 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8005A438 00057398 7D 89 03 A6 */ mtctr r12 +/* 8005A43C 0005739C 4E 80 04 21 */ bctrl +/* 8005A440 000573A0 93 01 00 08 */ stw r24, 8(r1) +/* 8005A444 000573A4 38 00 00 01 */ li r0, 1 +/* 8005A448 000573A8 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2) +/* 8005A44C 000573AC 7F 43 D3 78 */ mr r3, r26 +/* 8005A450 000573B0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8005A454 000573B4 7F 26 CB 78 */ mr r6, r25 +/* 8005A458 000573B8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8005A45C 000573BC 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8005A460 000573C0 38 E1 00 38 */ addi r7, r1, 0x38 +/* 8005A464 000573C4 39 1C 00 34 */ addi r8, r28, 0x34 +/* 8005A468 000573C8 39 21 00 28 */ addi r9, r1, 0x28 +/* 8005A46C 000573CC 39 41 00 58 */ addi r10, r1, 0x58 +/* 8005A470 000573D0 48 05 B3 B5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +/* 8005A474 000573D4 7C 7A 1B 78 */ mr r26, r3 +lbl_8005A478: +/* 8005A478 000573D8 7F E3 FB 78 */ mr r3, r31 +/* 8005A47C 000573DC 7F 44 D3 78 */ mr r4, r26 +/* 8005A480 000573E0 4B FF 28 75 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8005A484 000573E4 7E E0 07 75 */ extsb. r0, r23 +/* 8005A488 000573E8 41 82 00 0C */ beq lbl_8005A494 +/* 8005A48C 000573EC 38 61 00 38 */ addi r3, r1, 0x38 +/* 8005A490 000573F0 48 2E 36 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8005A494: +/* 8005A494 000573F4 7F 60 07 75 */ extsb. r0, r27 +/* 8005A498 000573F8 41 82 00 3C */ beq lbl_8005A4D4 +/* 8005A49C 000573FC 38 61 00 48 */ addi r3, r1, 0x48 +/* 8005A4A0 00057400 48 2E 36 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8005A4A4 00057404 48 00 00 30 */ b lbl_8005A4D4 +lbl_8005A4A8: +/* 8005A4A8 00057408 A0 7C 00 EC */ lhz r3, 0xec(r28) +/* 8005A4AC 0005740C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8005A4B0 00057410 7C 03 00 40 */ cmplw r3, r0 +/* 8005A4B4 00057414 41 82 00 20 */ beq lbl_8005A4D4 +/* 8005A4B8 00057418 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 8005A4BC 0005741C 7F E3 FB 78 */ mr r3, r31 +/* 8005A4C0 00057420 38 81 00 1C */ addi r4, r1, 0x1c +/* 8005A4C4 00057424 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8005A4C8 00057428 4B FF 1D A5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8005A4CC 0005742C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8005A4D0 00057430 B0 1C 00 EC */ sth r0, 0xec(r28) +lbl_8005A4D4: +/* 8005A4D4 00057434 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8005A4D8 00057438 7F 83 E3 78 */ mr r3, r28 +/* 8005A4DC 0005743C 7F A4 EB 78 */ mr r4, r29 +/* 8005A4E0 00057440 7F E6 FB 78 */ mr r6, r31 +/* 8005A4E4 00057444 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8005A4E8 00057448 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8005A4EC 0005744C 4B FF 91 29 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8005A4F0 00057450 A0 7C 00 EC */ lhz r3, 0xec(r28) +/* 8005A4F4 00057454 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8005A4F8 00057458 7C 03 00 40 */ cmplw r3, r0 +/* 8005A4FC 0005745C 41 82 00 28 */ beq lbl_8005A524 +/* 8005A500 00057460 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8005A504 00057464 7F E3 FB 78 */ mr r3, r31 +/* 8005A508 00057468 7F A6 EB 78 */ mr r6, r29 +/* 8005A50C 0005746C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8005A510 00057470 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8005A514 00057474 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8005A518 00057478 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 8005A51C 0005747C B0 01 00 14 */ sth r0, 0x14(r1) +/* 8005A520 00057480 4B FE 99 35 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId +lbl_8005A524: +/* 8005A524 00057484 BA E1 00 AC */ lmw r23, 0xac(r1) +/* 8005A528 00057488 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8005A52C 0005748C 7C 08 03 A6 */ mtlr r0 +/* 8005A530 00057490 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8005A534 00057494 4E 80 00 20 */ blr + +.global Accept__10CExplosionFR8IVisitor +Accept__10CExplosionFR8IVisitor: +/* 8005A538 00057498 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005A53C 0005749C 7C 08 02 A6 */ mflr r0 +/* 8005A540 000574A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005A544 000574A4 7C 60 1B 78 */ mr r0, r3 +/* 8005A548 000574A8 7C 83 23 78 */ mr r3, r4 +/* 8005A54C 000574AC 81 84 00 00 */ lwz r12, 0(r4) +/* 8005A550 000574B0 7C 04 03 78 */ mr r4, r0 +/* 8005A554 000574B4 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8005A558 000574B8 7D 89 03 A6 */ mtctr r12 +/* 8005A55C 000574BC 4E 80 04 21 */ bctrl +/* 8005A560 000574C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005A564 000574C4 7C 08 03 A6 */ mtlr r0 +/* 8005A568 000574C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005A56C 000574CC 4E 80 00 20 */ blr + +.global sub_8005a570 +sub_8005a570: +/* 8005A570 000574D0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8005A574 000574D4 7C 08 02 A6 */ mflr r0 +/* 8005A578 000574D8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8005A57C 000574DC DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8005A580 000574E0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8005A584 000574E4 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8005A588 000574E8 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8005A58C 000574EC 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8005A590 000574F0 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 8005A594 000574F4 FF E0 08 90 */ fmr f31, f1 +/* 8005A598 000574F8 7C 7D 1B 78 */ mr r29, r3 +/* 8005A59C 000574FC 7C 9E 23 78 */ mr r30, r4 +/* 8005A5A0 00057500 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8005A5A4 00057504 41 82 00 6C */ beq lbl_8005A610 +/* 8005A5A8 00057508 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 8005A5AC 0005750C 38 81 00 24 */ addi r4, r1, 0x24 +/* 8005A5B0 00057510 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8005A5B4 00057514 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8005A5B8 00057518 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8005A5BC 0005751C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8005A5C0 00057520 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8005A5C4 00057524 80 7D 00 E8 */ lwz r3, 0xe8(r29) +/* 8005A5C8 00057528 81 83 00 00 */ lwz r12, 0(r3) +/* 8005A5CC 0005752C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8005A5D0 00057530 7D 89 03 A6 */ mtctr r12 +/* 8005A5D4 00057534 4E 80 04 21 */ bctrl +/* 8005A5D8 00057538 83 FD 00 E8 */ lwz r31, 0xe8(r29) +/* 8005A5DC 0005753C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8005A5E0 00057540 38 9D 00 34 */ addi r4, r29, 0x34 +/* 8005A5E4 00057544 48 2B 86 5D */ bl GetRotation__12CTransform4fCFv +/* 8005A5E8 00057548 7F E3 FB 78 */ mr r3, r31 +/* 8005A5EC 0005754C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8005A5F0 00057550 81 9F 00 00 */ lwz r12, 0(r31) +/* 8005A5F4 00057554 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8005A5F8 00057558 7D 89 03 A6 */ mtctr r12 +/* 8005A5FC 0005755C 4E 80 04 21 */ bctrl +/* 8005A600 00057560 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8005A604 00057564 38 60 00 00 */ li r3, 0 +/* 8005A608 00057568 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8005A60C 0005756C 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_8005A610: +/* 8005A610 00057570 80 7D 00 E8 */ lwz r3, 0xe8(r29) +/* 8005A614 00057574 FC 20 F8 90 */ fmr f1, f31 +/* 8005A618 00057578 81 83 00 00 */ lwz r12, 0(r3) +/* 8005A61C 0005757C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8005A620 00057580 7D 89 03 A6 */ mtctr r12 +/* 8005A624 00057584 4E 80 04 21 */ bctrl +/* 8005A628 00057588 A0 7D 00 EC */ lhz r3, 0xec(r29) +/* 8005A62C 0005758C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8005A630 00057590 7C 03 00 40 */ cmplw r3, r0 +/* 8005A634 00057594 41 82 00 60 */ beq lbl_8005A694 +/* 8005A638 00057598 A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 8005A63C 0005759C 7F C3 F3 78 */ mr r3, r30 +/* 8005A640 000575A0 38 81 00 18 */ addi r4, r1, 0x18 +/* 8005A644 000575A4 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8005A648 000575A8 4B FF 1F 2D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8005A64C 000575AC 7C 64 1B 78 */ mr r4, r3 +/* 8005A650 000575B0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8005A654 000575B4 48 05 34 31 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 8005A658 000575B8 83 E3 00 04 */ lwz r31, 4(r3) +/* 8005A65C 000575BC 28 1F 00 00 */ cmplwi r31, 0 +/* 8005A660 000575C0 41 82 00 34 */ beq lbl_8005A694 +/* 8005A664 000575C4 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 8005A668 000575C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005A66C 000575CC 41 82 00 28 */ beq lbl_8005A694 +/* 8005A670 000575D0 80 9D 00 E8 */ lwz r4, 0xe8(r29) +/* 8005A674 000575D4 38 61 00 60 */ addi r3, r1, 0x60 +/* 8005A678 000575D8 81 84 00 00 */ lwz r12, 0(r4) +/* 8005A67C 000575DC 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8005A680 000575E0 7D 89 03 A6 */ mtctr r12 +/* 8005A684 000575E4 4E 80 04 21 */ bctrl +/* 8005A688 000575E8 7F E3 FB 78 */ mr r3, r31 +/* 8005A68C 000575EC 38 81 00 60 */ addi r4, r1, 0x60 +/* 8005A690 000575F0 48 05 B0 B5 */ bl SetLight__10CGameLightFRC6CLight +lbl_8005A694: +/* 8005A694 000575F4 C0 3D 00 F8 */ lfs f1, 0xf8(r29) +/* 8005A698 000575F8 C0 02 86 B0 */ lfs f0, lbl_805AA3D0@sda21(r2) +/* 8005A69C 000575FC EC 21 F8 2A */ fadds f1, f1, f31 +/* 8005A6A0 00057600 D0 3D 00 F8 */ stfs f1, 0xf8(r29) +/* 8005A6A4 00057604 C0 3D 00 F8 */ lfs f1, 0xf8(r29) +/* 8005A6A8 00057608 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005A6AC 0005760C 40 81 00 20 */ ble lbl_8005A6CC +/* 8005A6B0 00057610 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8005A6B4 00057614 7F C3 F3 78 */ mr r3, r30 +/* 8005A6B8 00057618 38 81 00 14 */ addi r4, r1, 0x14 +/* 8005A6BC 0005761C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8005A6C0 00057620 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8005A6C4 00057624 4B FF 1B A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8005A6C8 00057628 48 00 00 38 */ b lbl_8005A700 +lbl_8005A6CC: +/* 8005A6CC 0005762C 80 7D 00 E8 */ lwz r3, 0xe8(r29) +/* 8005A6D0 00057630 81 83 00 00 */ lwz r12, 0(r3) +/* 8005A6D4 00057634 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8005A6D8 00057638 7D 89 03 A6 */ mtctr r12 +/* 8005A6DC 0005763C 4E 80 04 21 */ bctrl +/* 8005A6E0 00057640 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005A6E4 00057644 41 82 00 1C */ beq lbl_8005A700 +/* 8005A6E8 00057648 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8005A6EC 0005764C 7F C3 F3 78 */ mr r3, r30 +/* 8005A6F0 00057650 38 81 00 0C */ addi r4, r1, 0xc +/* 8005A6F4 00057654 B0 01 00 08 */ sth r0, 8(r1) +/* 8005A6F8 00057658 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8005A6FC 0005765C 4B FF 1B 71 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_8005A700: +/* 8005A700 00057660 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8005A704 00057664 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8005A708 00057668 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8005A70C 0005766C 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8005A710 00057670 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8005A714 00057674 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8005A718 00057678 7C 08 03 A6 */ mtlr r0 +/* 8005A71C 0005767C 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8005A720 00057680 4E 80 00 20 */ blr + +.global sub_8005a724 +sub_8005a724: +/* 8005A724 00057684 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005A728 00057688 7C 08 02 A6 */ mflr r0 +/* 8005A72C 0005768C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005A730 00057690 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005A734 00057694 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005A738 00057698 7C BE 2B 78 */ mr r30, r5 +/* 8005A73C 0005769C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005A740 000576A0 7C 7D 1B 78 */ mr r29, r3 +/* 8005A744 000576A4 4B FF A5 9D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes +/* 8005A748 000576A8 88 1D 00 F4 */ lbz r0, 0xf4(r29) +/* 8005A74C 000576AC 3B E0 00 00 */ li r31, 0 +/* 8005A750 000576B0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8005A754 000576B4 41 82 00 18 */ beq lbl_8005A76C +/* 8005A758 000576B8 7F C3 F3 78 */ mr r3, r30 +/* 8005A75C 000576BC 38 9D 00 9C */ addi r4, r29, 0x9c +/* 8005A760 000576C0 48 2E AA 71 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 8005A764 000576C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005A768 000576C8 40 82 00 08 */ bne lbl_8005A770 +lbl_8005A76C: +/* 8005A76C 000576CC 3B E0 00 01 */ li r31, 1 +lbl_8005A770: +/* 8005A770 000576D0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8005A774 000576D4 53 E0 0F BC */ rlwimi r0, r31, 1, 0x1e, 0x1e +/* 8005A778 000576D8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8005A77C 000576DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005A780 000576E0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005A784 000576E4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005A788 000576E8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8005A78C 000576EC 7C 08 03 A6 */ mtlr r0 +/* 8005A790 000576F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005A794 000576F4 4E 80 00 20 */ blr + +.global sub_8005a798 +sub_8005a798: +/* 8005A798 000576F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005A79C 000576FC 7C 08 02 A6 */ mflr r0 +/* 8005A7A0 00057700 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005A7A4 00057704 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005A7A8 00057708 7C BF 2B 78 */ mr r31, r5 +/* 8005A7AC 0005770C 93 C1 00 08 */ stw r30, 8(r1) +/* 8005A7B0 00057710 7C 7E 1B 78 */ mr r30, r3 +/* 8005A7B4 00057714 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 8005A7B8 00057718 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8005A7BC 0005771C 40 82 00 68 */ bne lbl_8005A824 +/* 8005A7C0 00057720 88 1E 00 F4 */ lbz r0, 0xf4(r30) +/* 8005A7C4 00057724 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005A7C8 00057728 41 82 00 10 */ beq lbl_8005A7D8 +/* 8005A7CC 0005772C 80 1F 0F 34 */ lwz r0, 0xf34(r31) +/* 8005A7D0 00057730 2C 00 00 00 */ cmpwi r0, 0 +/* 8005A7D4 00057734 41 82 00 28 */ beq lbl_8005A7FC +lbl_8005A7D8: +/* 8005A7D8 00057738 88 1E 00 F4 */ lbz r0, 0xf4(r30) +/* 8005A7DC 0005773C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8005A7E0 00057740 41 82 00 2C */ beq lbl_8005A80C +/* 8005A7E4 00057744 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8005A7E8 00057748 7F E4 FB 78 */ mr r4, r31 +/* 8005A7EC 0005774C 80 63 00 00 */ lwz r3, 0(r3) +/* 8005A7F0 00057750 48 03 6D 69 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8005A7F4 00057754 2C 03 00 01 */ cmpwi r3, 1 +/* 8005A7F8 00057758 40 82 00 14 */ bne lbl_8005A80C +lbl_8005A7FC: +/* 8005A7FC 0005775C 7F C3 F3 78 */ mr r3, r30 +/* 8005A800 00057760 7F E4 FB 78 */ mr r4, r31 +/* 8005A804 00057764 4B FF A1 C9 */ bl EnsureRendered__6CActorCFRC13CStateManager +/* 8005A808 00057768 48 00 00 1C */ b lbl_8005A824 +lbl_8005A80C: +/* 8005A80C 0005776C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8005A810 00057770 80 9E 00 E8 */ lwz r4, 0xe8(r30) +/* 8005A814 00057774 81 83 00 00 */ lwz r12, 0(r3) +/* 8005A818 00057778 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8005A81C 0005777C 7D 89 03 A6 */ mtctr r12 +/* 8005A820 00057780 4E 80 04 21 */ bctrl +lbl_8005A824: +/* 8005A824 00057784 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005A828 00057788 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005A82C 0005778C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005A830 00057790 7C 08 03 A6 */ mtlr r0 +/* 8005A834 00057794 38 21 00 10 */ addi r1, r1, 0x10 + +.global sub_8005a838 +sub_8005a838: +/* 8005A838 00057798 4E 80 00 20 */ blr + +.global __dt__10CExplosionFv +__dt__10CExplosionFv: +/* 8005A83C 0005779C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005A840 000577A0 7C 08 02 A6 */ mflr r0 +/* 8005A844 000577A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005A848 000577A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005A84C 000577AC 7C 9F 23 78 */ mr r31, r4 +/* 8005A850 000577B0 93 C1 00 08 */ stw r30, 8(r1) +/* 8005A854 000577B4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8005A858 000577B8 41 82 00 68 */ beq lbl_8005A8C0 +/* 8005A85C 000577BC 3C 60 80 3E */ lis r3, lbl_803DA0A8@ha +/* 8005A860 000577C0 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8005A864 000577C4 38 03 A0 A8 */ addi r0, r3, lbl_803DA0A8@l +/* 8005A868 000577C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8005A86C 000577CC 41 82 00 24 */ beq lbl_8005A890 +/* 8005A870 000577D0 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8005A874 000577D4 28 03 00 00 */ cmplwi r3, 0 +/* 8005A878 000577D8 41 82 00 18 */ beq lbl_8005A890 +/* 8005A87C 000577DC 81 83 00 00 */ lwz r12, 0(r3) +/* 8005A880 000577E0 38 80 00 01 */ li r4, 1 +/* 8005A884 000577E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8005A888 000577E8 7D 89 03 A6 */ mtctr r12 +/* 8005A88C 000577EC 4E 80 04 21 */ bctrl +lbl_8005A890: +/* 8005A890 000577F0 28 1E 00 00 */ cmplwi r30, 0 +/* 8005A894 000577F4 41 82 00 1C */ beq lbl_8005A8B0 +/* 8005A898 000577F8 3C 80 80 3E */ lis r4, lbl_803DA118@ha +/* 8005A89C 000577FC 7F C3 F3 78 */ mr r3, r30 +/* 8005A8A0 00057800 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l +/* 8005A8A4 00057804 38 80 00 00 */ li r4, 0 +/* 8005A8A8 00057808 90 1E 00 00 */ stw r0, 0(r30) +/* 8005A8AC 0005780C 4B FF AE 45 */ bl __dt__6CActorFv +lbl_8005A8B0: +/* 8005A8B0 00057810 7F E0 07 35 */ extsh. r0, r31 +/* 8005A8B4 00057814 40 81 00 0C */ ble lbl_8005A8C0 +/* 8005A8B8 00057818 7F C3 F3 78 */ mr r3, r30 +/* 8005A8BC 0005781C 48 2B B0 75 */ bl Free__7CMemoryFPCv +lbl_8005A8C0: +/* 8005A8C0 00057820 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005A8C4 00057824 7F C3 F3 78 */ mr r3, r30 +/* 8005A8C8 00057828 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005A8CC 0005782C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005A8D0 00057830 7C 08 03 A6 */ mtlr r0 +/* 8005A8D4 00057834 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005A8D8 00057838 4E 80 00 20 */ blr + +.global "__ct__10CExplosionFRC31TLockedToken<20CElectricDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +"__ct__10CExplosionFRC31TLockedToken<20CElectricDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor": +/* 8005A8DC 0005783C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8005A8E0 00057840 7C 08 02 A6 */ mflr r0 +/* 8005A8E4 00057844 90 01 00 84 */ stw r0, 0x84(r1) +/* 8005A8E8 00057848 BF 01 00 60 */ stmw r24, 0x60(r1) +/* 8005A8EC 0005784C 7C 9B 23 78 */ mr r27, r4 +/* 8005A8F0 00057850 7D 3C 4B 78 */ mr r28, r9 +/* 8005A8F4 00057854 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8005A8F8 00057858 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8005A8FC 0005785C 7C 7A 1B 78 */ mr r26, r3 +/* 8005A900 00057860 7D 5D 53 78 */ mr r29, r10 +/* 8005A904 00057864 38 81 00 08 */ addi r4, r1, 8 +/* 8005A908 00057868 A0 05 00 00 */ lhz r0, 0(r5) +/* 8005A90C 0005786C 7C E5 3B 78 */ mr r5, r7 +/* 8005A910 00057870 7D 07 43 78 */ mr r7, r8 +/* 8005A914 00057874 7F 88 E3 78 */ mr r8, r28 +/* 8005A918 00057878 B0 01 00 08 */ sth r0, 8(r1) +/* 8005A91C 0005787C 48 00 04 35 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f" +/* 8005A920 00057880 3C 80 80 3E */ lis r4, lbl_803DA0A8@ha +/* 8005A924 00057884 3C 60 80 3D */ lis r3, lbl_803CCF78@ha +/* 8005A928 00057888 38 04 A0 A8 */ addi r0, r4, lbl_803DA0A8@l +/* 8005A92C 0005788C 3B 00 00 00 */ li r24, 0 +/* 8005A930 00057890 90 1A 00 00 */ stw r0, 0(r26) +/* 8005A934 00057894 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l +/* 8005A938 00057898 38 60 04 58 */ li r3, 0x458 +/* 8005A93C 0005789C 38 A0 00 00 */ li r5, 0 +/* 8005A940 000578A0 48 2B AF 2D */ bl __nw__FUlPCcPCc +/* 8005A944 000578A4 7C 79 1B 79 */ or. r25, r3, r3 +/* 8005A948 000578A8 41 82 00 24 */ beq lbl_8005A96C +/* 8005A94C 000578AC 7F 64 DB 78 */ mr r4, r27 +/* 8005A950 000578B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8005A954 000578B4 48 2E 65 55 */ bl __ct__6CTokenFRC6CToken +/* 8005A958 000578B8 7F 23 CB 78 */ mr r3, r25 +/* 8005A95C 000578BC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8005A960 000578C0 3B 00 00 01 */ li r24, 1 +/* 8005A964 000578C4 48 30 78 0D */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 8005A968 000578C8 7C 79 1B 78 */ mr r25, r3 +lbl_8005A96C: +/* 8005A96C 000578CC 7F 00 07 75 */ extsb. r0, r24 +/* 8005A970 000578D0 93 3A 00 E8 */ stw r25, 0xe8(r26) +/* 8005A974 000578D4 41 82 00 10 */ beq lbl_8005A984 +/* 8005A978 000578D8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8005A97C 000578DC 38 80 00 00 */ li r4, 0 +/* 8005A980 000578E0 48 2E 64 C1 */ bl __dt__6CTokenFv +lbl_8005A984: +/* 8005A984 000578E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8005A988 000578E8 7F 64 DB 78 */ mr r4, r27 +/* 8005A98C 000578EC 38 61 00 0C */ addi r3, r1, 0xc +/* 8005A990 000578F0 B0 1A 00 EC */ sth r0, 0xec(r26) +/* 8005A994 000578F4 48 2E 65 15 */ bl __ct__6CTokenFRC6CToken +/* 8005A998 000578F8 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8005A99C 000578FC 38 61 00 0C */ addi r3, r1, 0xc +/* 8005A9A0 00057900 38 80 FF FF */ li r4, -1 +/* 8005A9A4 00057904 80 05 00 08 */ lwz r0, 8(r5) +/* 8005A9A8 00057908 90 1A 00 F0 */ stw r0, 0xf0(r26) +/* 8005A9AC 0005790C 48 2E 64 95 */ bl __dt__6CTokenFv +/* 8005A9B0 00057910 88 7A 00 F4 */ lbz r3, 0xf4(r26) +/* 8005A9B4 00057914 53 A3 2E 30 */ rlwimi r3, r29, 5, 0x18, 0x18 +/* 8005A9B8 00057918 57 A0 07 FF */ clrlwi. r0, r29, 0x1f +/* 8005A9BC 0005791C 38 A0 00 01 */ li r5, 1 +/* 8005A9C0 00057920 98 7A 00 F4 */ stb r3, 0xf4(r26) +/* 8005A9C4 00057924 88 1A 00 F4 */ lbz r0, 0xf4(r26) +/* 8005A9C8 00057928 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8005A9CC 0005792C 98 1A 00 F4 */ stb r0, 0xf4(r26) +/* 8005A9D0 00057930 38 00 00 02 */ li r0, 2 +/* 8005A9D4 00057934 88 7A 00 F4 */ lbz r3, 0xf4(r26) +/* 8005A9D8 00057938 53 A3 16 B4 */ rlwimi r3, r29, 2, 0x1a, 0x1a +/* 8005A9DC 0005793C 98 7A 00 F4 */ stb r3, 0xf4(r26) +/* 8005A9E0 00057940 41 82 00 08 */ beq lbl_8005A9E8 +/* 8005A9E4 00057944 7C A0 2B 78 */ mr r0, r5 +lbl_8005A9E8: +/* 8005A9E8 00057948 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 8005A9EC 0005794C 88 1A 00 E6 */ lbz r0, 0xe6(r26) +/* 8005A9F0 00057950 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c +/* 8005A9F4 00057954 38 81 00 1C */ addi r4, r1, 0x1c +/* 8005A9F8 00057958 98 1A 00 E6 */ stb r0, 0xe6(r26) +/* 8005A9FC 0005795C C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 8005AA00 00057960 C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 8005AA04 00057964 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 8005AA08 00057968 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8005AA0C 0005796C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8005AA10 00057970 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8005AA14 00057974 80 7A 00 E8 */ lwz r3, 0xe8(r26) +/* 8005AA18 00057978 81 83 00 00 */ lwz r12, 0(r3) +/* 8005AA1C 0005797C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8005AA20 00057980 7D 89 03 A6 */ mtctr r12 +/* 8005AA24 00057984 4E 80 04 21 */ bctrl +/* 8005AA28 00057988 83 3A 00 E8 */ lwz r25, 0xe8(r26) +/* 8005AA2C 0005798C 7F 84 E3 78 */ mr r4, r28 +/* 8005AA30 00057990 38 61 00 28 */ addi r3, r1, 0x28 +/* 8005AA34 00057994 48 2B 82 0D */ bl GetRotation__12CTransform4fCFv +/* 8005AA38 00057998 7F 23 CB 78 */ mr r3, r25 +/* 8005AA3C 0005799C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8005AA40 000579A0 81 99 00 00 */ lwz r12, 0(r25) +/* 8005AA44 000579A4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8005AA48 000579A8 7D 89 03 A6 */ mtctr r12 +/* 8005AA4C 000579AC 4E 80 04 21 */ bctrl +/* 8005AA50 000579B0 80 7A 00 E8 */ lwz r3, 0xe8(r26) +/* 8005AA54 000579B4 7F C4 F3 78 */ mr r4, r30 +/* 8005AA58 000579B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8005AA5C 000579BC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8005AA60 000579C0 7D 89 03 A6 */ mtctr r12 +/* 8005AA64 000579C4 4E 80 04 21 */ bctrl +/* 8005AA68 000579C8 80 7A 00 E8 */ lwz r3, 0xe8(r26) +/* 8005AA6C 000579CC 7F E4 FB 78 */ mr r4, r31 +/* 8005AA70 000579D0 81 83 00 00 */ lwz r12, 0(r3) +/* 8005AA74 000579D4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8005AA78 000579D8 7D 89 03 A6 */ mtctr r12 +/* 8005AA7C 000579DC 4E 80 04 21 */ bctrl +/* 8005AA80 000579E0 7F 43 D3 78 */ mr r3, r26 +/* 8005AA84 000579E4 BB 01 00 60 */ lmw r24, 0x60(r1) +/* 8005AA88 000579E8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8005AA8C 000579EC 7C 08 03 A6 */ mtlr r0 +/* 8005AA90 000579F0 38 21 00 80 */ addi r1, r1, 0x80 +/* 8005AA94 000579F4 4E 80 00 20 */ blr + +.global __dt__7CEffectFv +__dt__7CEffectFv: +/* 8005AA98 000579F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005AA9C 000579FC 7C 08 02 A6 */ mflr r0 +/* 8005AAA0 00057A00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005AAA4 00057A04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005AAA8 00057A08 7C 9F 23 78 */ mr r31, r4 +/* 8005AAAC 00057A0C 93 C1 00 08 */ stw r30, 8(r1) +/* 8005AAB0 00057A10 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8005AAB4 00057A14 41 82 00 28 */ beq lbl_8005AADC +/* 8005AAB8 00057A18 3C A0 80 3E */ lis r5, lbl_803DA118@ha +/* 8005AABC 00057A1C 38 80 00 00 */ li r4, 0 +/* 8005AAC0 00057A20 38 05 A1 18 */ addi r0, r5, lbl_803DA118@l +/* 8005AAC4 00057A24 90 1E 00 00 */ stw r0, 0(r30) +/* 8005AAC8 00057A28 4B FF AC 29 */ bl __dt__6CActorFv +/* 8005AACC 00057A2C 7F E0 07 35 */ extsh. r0, r31 +/* 8005AAD0 00057A30 40 81 00 0C */ ble lbl_8005AADC +/* 8005AAD4 00057A34 7F C3 F3 78 */ mr r3, r30 +/* 8005AAD8 00057A38 48 2B AE 59 */ bl Free__7CMemoryFPCv +lbl_8005AADC: +/* 8005AADC 00057A3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005AAE0 00057A40 7F C3 F3 78 */ mr r3, r30 +/* 8005AAE4 00057A44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005AAE8 00057A48 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005AAEC 00057A4C 7C 08 03 A6 */ mtlr r0 +/* 8005AAF0 00057A50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005AAF4 00057A54 4E 80 00 20 */ blr + +.global "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +"__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor": +/* 8005AAF8 00057A58 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8005AAFC 00057A5C 7C 08 02 A6 */ mflr r0 +/* 8005AB00 00057A60 90 01 00 84 */ stw r0, 0x84(r1) +/* 8005AB04 00057A64 BF 01 00 60 */ stmw r24, 0x60(r1) +/* 8005AB08 00057A68 7C 9B 23 78 */ mr r27, r4 +/* 8005AB0C 00057A6C 7D 3C 4B 78 */ mr r28, r9 +/* 8005AB10 00057A70 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8005AB14 00057A74 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8005AB18 00057A78 7C 7A 1B 78 */ mr r26, r3 +/* 8005AB1C 00057A7C 7D 5D 53 78 */ mr r29, r10 +/* 8005AB20 00057A80 38 81 00 08 */ addi r4, r1, 8 +/* 8005AB24 00057A84 A0 05 00 00 */ lhz r0, 0(r5) +/* 8005AB28 00057A88 7C E5 3B 78 */ mr r5, r7 +/* 8005AB2C 00057A8C 7D 07 43 78 */ mr r7, r8 +/* 8005AB30 00057A90 7F 88 E3 78 */ mr r8, r28 +/* 8005AB34 00057A94 B0 01 00 08 */ sth r0, 8(r1) +/* 8005AB38 00057A98 48 00 02 19 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f" +/* 8005AB3C 00057A9C 3C 80 80 3E */ lis r4, lbl_803DA0A8@ha +/* 8005AB40 00057AA0 3C 60 80 3D */ lis r3, lbl_803CCF78@ha +/* 8005AB44 00057AA4 38 04 A0 A8 */ addi r0, r4, lbl_803DA0A8@l +/* 8005AB48 00057AA8 3B 00 00 00 */ li r24, 0 +/* 8005AB4C 00057AAC 90 1A 00 00 */ stw r0, 0(r26) +/* 8005AB50 00057AB0 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l +/* 8005AB54 00057AB4 38 60 03 40 */ li r3, 0x340 +/* 8005AB58 00057AB8 38 A0 00 00 */ li r5, 0 +/* 8005AB5C 00057ABC 48 2B AD 11 */ bl __nw__FUlPCcPCc +/* 8005AB60 00057AC0 7C 79 1B 79 */ or. r25, r3, r3 +/* 8005AB64 00057AC4 41 82 00 38 */ beq lbl_8005AB9C +/* 8005AB68 00057AC8 7F 64 DB 78 */ mr r4, r27 +/* 8005AB6C 00057ACC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8005AB70 00057AD0 48 2E 63 39 */ bl __ct__6CTokenFRC6CToken +/* 8005AB74 00057AD4 57 A0 07 BD */ rlwinm. r0, r29, 0, 0x1e, 0x1e +/* 8005AB78 00057AD8 7F 23 CB 78 */ mr r3, r25 +/* 8005AB7C 00057ADC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8005AB80 00057AE0 3B 00 00 01 */ li r24, 1 +/* 8005AB84 00057AE4 38 A0 00 00 */ li r5, 0 +/* 8005AB88 00057AE8 38 C0 00 01 */ li r6, 1 +/* 8005AB8C 00057AEC 41 82 00 08 */ beq lbl_8005AB94 +/* 8005AB90 00057AF0 38 C0 00 02 */ li r6, 2 +lbl_8005AB94: +/* 8005AB94 00057AF4 48 2C 48 4D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8005AB98 00057AF8 7C 79 1B 78 */ mr r25, r3 +lbl_8005AB9C: +/* 8005AB9C 00057AFC 7F 00 07 75 */ extsb. r0, r24 +/* 8005ABA0 00057B00 93 3A 00 E8 */ stw r25, 0xe8(r26) +/* 8005ABA4 00057B04 41 82 00 10 */ beq lbl_8005ABB4 +/* 8005ABA8 00057B08 38 61 00 14 */ addi r3, r1, 0x14 +/* 8005ABAC 00057B0C 38 80 00 00 */ li r4, 0 +/* 8005ABB0 00057B10 48 2E 62 91 */ bl __dt__6CTokenFv +lbl_8005ABB4: +/* 8005ABB4 00057B14 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8005ABB8 00057B18 7F 64 DB 78 */ mr r4, r27 +/* 8005ABBC 00057B1C 38 61 00 0C */ addi r3, r1, 0xc +/* 8005ABC0 00057B20 B0 1A 00 EC */ sth r0, 0xec(r26) +/* 8005ABC4 00057B24 48 2E 62 E5 */ bl __ct__6CTokenFRC6CToken +/* 8005ABC8 00057B28 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8005ABCC 00057B2C 38 61 00 0C */ addi r3, r1, 0xc +/* 8005ABD0 00057B30 38 80 FF FF */ li r4, -1 +/* 8005ABD4 00057B34 80 05 00 08 */ lwz r0, 8(r5) +/* 8005ABD8 00057B38 90 1A 00 F0 */ stw r0, 0xf0(r26) +/* 8005ABDC 00057B3C 48 2E 62 65 */ bl __dt__6CTokenFv +/* 8005ABE0 00057B40 88 7A 00 F4 */ lbz r3, 0xf4(r26) +/* 8005ABE4 00057B44 53 A3 2E 30 */ rlwimi r3, r29, 5, 0x18, 0x18 +/* 8005ABE8 00057B48 57 A0 07 FF */ clrlwi. r0, r29, 0x1f +/* 8005ABEC 00057B4C 38 A0 00 01 */ li r5, 1 +/* 8005ABF0 00057B50 98 7A 00 F4 */ stb r3, 0xf4(r26) +/* 8005ABF4 00057B54 38 00 00 02 */ li r0, 2 +/* 8005ABF8 00057B58 C0 02 86 A8 */ lfs f0, lbl_805AA3C8@sda21(r2) +/* 8005ABFC 00057B5C 88 7A 00 F4 */ lbz r3, 0xf4(r26) +/* 8005AC00 00057B60 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19 +/* 8005AC04 00057B64 98 7A 00 F4 */ stb r3, 0xf4(r26) +/* 8005AC08 00057B68 88 7A 00 F4 */ lbz r3, 0xf4(r26) +/* 8005AC0C 00057B6C 53 A3 16 B4 */ rlwimi r3, r29, 2, 0x1a, 0x1a +/* 8005AC10 00057B70 98 7A 00 F4 */ stb r3, 0xf4(r26) +/* 8005AC14 00057B74 D0 1A 00 F8 */ stfs f0, 0xf8(r26) +/* 8005AC18 00057B78 41 82 00 08 */ beq lbl_8005AC20 +/* 8005AC1C 00057B7C 7C A0 2B 78 */ mr r0, r5 +lbl_8005AC20: +/* 8005AC20 00057B80 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 8005AC24 00057B84 88 1A 00 E6 */ lbz r0, 0xe6(r26) +/* 8005AC28 00057B88 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c +/* 8005AC2C 00057B8C 38 81 00 1C */ addi r4, r1, 0x1c +/* 8005AC30 00057B90 98 1A 00 E6 */ stb r0, 0xe6(r26) +/* 8005AC34 00057B94 C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 8005AC38 00057B98 C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 8005AC3C 00057B9C C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 8005AC40 00057BA0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8005AC44 00057BA4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8005AC48 00057BA8 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8005AC4C 00057BAC 80 7A 00 E8 */ lwz r3, 0xe8(r26) +/* 8005AC50 00057BB0 81 83 00 00 */ lwz r12, 0(r3) +/* 8005AC54 00057BB4 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8005AC58 00057BB8 7D 89 03 A6 */ mtctr r12 +/* 8005AC5C 00057BBC 4E 80 04 21 */ bctrl +/* 8005AC60 00057BC0 83 3A 00 E8 */ lwz r25, 0xe8(r26) +/* 8005AC64 00057BC4 7F 84 E3 78 */ mr r4, r28 +/* 8005AC68 00057BC8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8005AC6C 00057BCC 48 2B 7F D5 */ bl GetRotation__12CTransform4fCFv +/* 8005AC70 00057BD0 7F 23 CB 78 */ mr r3, r25 +/* 8005AC74 00057BD4 38 81 00 28 */ addi r4, r1, 0x28 +/* 8005AC78 00057BD8 81 99 00 00 */ lwz r12, 0(r25) +/* 8005AC7C 00057BDC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8005AC80 00057BE0 7D 89 03 A6 */ mtctr r12 +/* 8005AC84 00057BE4 4E 80 04 21 */ bctrl +/* 8005AC88 00057BE8 80 7A 00 E8 */ lwz r3, 0xe8(r26) +/* 8005AC8C 00057BEC 7F C4 F3 78 */ mr r4, r30 +/* 8005AC90 00057BF0 81 83 00 00 */ lwz r12, 0(r3) +/* 8005AC94 00057BF4 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8005AC98 00057BF8 7D 89 03 A6 */ mtctr r12 +/* 8005AC9C 00057BFC 4E 80 04 21 */ bctrl +/* 8005ACA0 00057C00 80 7A 00 E8 */ lwz r3, 0xe8(r26) +/* 8005ACA4 00057C04 7F E4 FB 78 */ mr r4, r31 +/* 8005ACA8 00057C08 81 83 00 00 */ lwz r12, 0(r3) +/* 8005ACAC 00057C0C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8005ACB0 00057C10 7D 89 03 A6 */ mtctr r12 +/* 8005ACB4 00057C14 4E 80 04 21 */ bctrl +/* 8005ACB8 00057C18 7F 43 D3 78 */ mr r3, r26 +/* 8005ACBC 00057C1C BB 01 00 60 */ lmw r24, 0x60(r1) +/* 8005ACC0 00057C20 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8005ACC4 00057C24 7C 08 03 A6 */ mtlr r0 +/* 8005ACC8 00057C28 38 21 00 80 */ addi r1, r1, 0x80 +/* 8005ACCC 00057C2C 4E 80 00 20 */ blr + +.global __dt__12CParticleGenFv +__dt__12CParticleGenFv: +/* 8005ACD0 00057C30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005ACD4 00057C34 7C 08 02 A6 */ mflr r0 +/* 8005ACD8 00057C38 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005ACDC 00057C3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005ACE0 00057C40 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005ACE4 00057C44 7C 9E 23 78 */ mr r30, r4 +/* 8005ACE8 00057C48 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005ACEC 00057C4C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8005ACF0 00057C50 41 82 00 38 */ beq lbl_8005AD28 +/* 8005ACF4 00057C54 83 FD 00 04 */ lwz r31, 4(r29) +/* 8005ACF8 00057C58 48 00 00 14 */ b lbl_8005AD0C +lbl_8005ACFC: +/* 8005ACFC 00057C5C 7F E3 FB 79 */ or. r3, r31, r31 +/* 8005AD00 00057C60 83 FF 00 04 */ lwz r31, 4(r31) +/* 8005AD04 00057C64 41 82 00 08 */ beq lbl_8005AD0C +/* 8005AD08 00057C68 48 2B AC 29 */ bl Free__7CMemoryFPCv +lbl_8005AD0C: +/* 8005AD0C 00057C6C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8005AD10 00057C70 7C 1F 00 40 */ cmplw r31, r0 +/* 8005AD14 00057C74 40 82 FF E8 */ bne lbl_8005ACFC +/* 8005AD18 00057C78 7F C0 07 35 */ extsh. r0, r30 +/* 8005AD1C 00057C7C 40 81 00 0C */ ble lbl_8005AD28 +/* 8005AD20 00057C80 7F A3 EB 78 */ mr r3, r29 +/* 8005AD24 00057C84 48 2B AC 0D */ bl Free__7CMemoryFPCv +lbl_8005AD28: +/* 8005AD28 00057C88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005AD2C 00057C8C 7F A3 EB 78 */ mr r3, r29 +/* 8005AD30 00057C90 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005AD34 00057C94 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005AD38 00057C98 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8005AD3C 00057C9C 7C 08 03 A6 */ mtlr r0 +/* 8005AD40 00057CA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005AD44 00057CA4 4E 80 00 20 */ blr + +.global nullsub_83 +nullsub_83: +/* 8005AD48 00057CA8 4E 80 00 20 */ blr + +.global nullsub_84 +nullsub_84: +/* 8005AD4C 00057CAC 4E 80 00 20 */ blr + +.global "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f" +"__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f": +/* 8005AD50 00057CB0 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8005AD54 00057CB4 7C 08 02 A6 */ mflr r0 +/* 8005AD58 00057CB8 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8005AD5C 00057CBC BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 8005AD60 00057CC0 7C 7F 1B 78 */ mr r31, r3 +/* 8005AD64 00057CC4 7C 9A 23 78 */ mr r26, r4 +/* 8005AD68 00057CC8 7C BB 2B 78 */ mr r27, r5 +/* 8005AD6C 00057CCC 7C DC 33 78 */ mr r28, r6 +/* 8005AD70 00057CD0 7C FD 3B 78 */ mr r29, r7 +/* 8005AD74 00057CD4 7D 1E 43 78 */ mr r30, r8 +/* 8005AD78 00057CD8 38 61 00 88 */ addi r3, r1, 0x88 +/* 8005AD7C 00057CDC 4B FD FA 29 */ bl CModelDataNull__10CModelDataFv +/* 8005AD80 00057CE0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005AD84 00057CE4 4B FC 00 B5 */ bl None__16CActorParametersFv +/* 8005AD88 00057CE8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8005AD8C 00057CEC 38 00 00 00 */ li r0, 0 +/* 8005AD90 00057CF0 80 AD 82 B8 */ lwz r5, lbl_805A6E78@sda21(r13) +/* 8005AD94 00057CF4 38 60 00 00 */ li r3, 0 +/* 8005AD98 00057CF8 B0 81 00 10 */ sth r4, 0x10(r1) +/* 8005AD9C 00057CFC 38 80 00 01 */ li r4, 1 +/* 8005ADA0 00057D00 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8005ADA4 00057D04 90 01 00 18 */ stw r0, 0x18(r1) +/* 8005ADA8 00057D08 48 32 F1 4D */ bl __shl2i +/* 8005ADAC 00057D0C 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8005ADB0 00057D10 39 61 00 20 */ addi r11, r1, 0x20 +/* 8005ADB4 00057D14 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8005ADB8 00057D18 38 01 00 10 */ addi r0, r1, 0x10 +/* 8005ADBC 00057D1C 7C A3 1B 78 */ or r3, r5, r3 +/* 8005ADC0 00057D20 A1 3A 00 00 */ lhz r9, 0(r26) +/* 8005ADC4 00057D24 7C C4 23 78 */ or r4, r6, r4 +/* 8005ADC8 00057D28 90 61 00 18 */ stw r3, 0x18(r1) +/* 8005ADCC 00057D2C 7F E3 FB 78 */ mr r3, r31 +/* 8005ADD0 00057D30 7F 85 E3 78 */ mr r5, r28 +/* 8005ADD4 00057D34 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8005ADD8 00057D38 7F A6 EB 78 */ mr r6, r29 +/* 8005ADDC 00057D3C 7F 67 DB 78 */ mr r7, r27 +/* 8005ADE0 00057D40 7F C8 F3 78 */ mr r8, r30 +/* 8005ADE4 00057D44 B1 21 00 14 */ sth r9, 0x14(r1) +/* 8005ADE8 00057D48 38 81 00 14 */ addi r4, r1, 0x14 +/* 8005ADEC 00057D4C 39 21 00 88 */ addi r9, r1, 0x88 +/* 8005ADF0 00057D50 39 41 00 18 */ addi r10, r1, 0x18 +/* 8005ADF4 00057D54 91 61 00 08 */ stw r11, 8(r1) +/* 8005ADF8 00057D58 90 01 00 0C */ stw r0, 0xc(r1) +/* 8005ADFC 00057D5C 4B FF AA 25 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8005AE00 00057D60 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005AE04 00057D64 38 80 FF FF */ li r4, -1 +/* 8005AE08 00057D68 48 0A B8 01 */ bl __dt__16CActorParametersFv +/* 8005AE0C 00057D6C 38 61 00 88 */ addi r3, r1, 0x88 +/* 8005AE10 00057D70 38 80 FF FF */ li r4, -1 +/* 8005AE14 00057D74 48 0B BC 39 */ bl __dt__10CModelDataFv +/* 8005AE18 00057D78 3C 80 80 3E */ lis r4, lbl_803DA118@ha +/* 8005AE1C 00057D7C 7F E3 FB 78 */ mr r3, r31 +/* 8005AE20 00057D80 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l +/* 8005AE24 00057D84 90 1F 00 00 */ stw r0, 0(r31) +/* 8005AE28 00057D88 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 8005AE2C 00057D8C 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8005AE30 00057D90 7C 08 03 A6 */ mtlr r0 +/* 8005AE34 00057D94 38 21 00 F0 */ addi r1, r1, 0xf0 + +.global sub_8005ae38 +sub_8005ae38: +/* 8005AE38 00057D98 4E 80 00 20 */ blr + +.global UpdatePerspective__11CGameCameraFf +UpdatePerspective__11CGameCameraFf: +/* 8005AE3C 00057D9C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005AE40 00057DA0 7C 08 02 A6 */ mflr r0 +/* 8005AE44 00057DA4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005AE48 00057DA8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8005AE4C 00057DAC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8005AE50 00057DB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005AE54 00057DB4 7C 7F 1B 78 */ mr r31, r3 +/* 8005AE58 00057DB8 C0 42 86 B8 */ lfs f2, lbl_805AA3D8@sda21(r2) +/* 8005AE5C 00057DBC C0 03 01 74 */ lfs f0, 0x174(r3) +/* 8005AE60 00057DC0 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8005AE64 00057DC4 40 81 00 10 */ ble lbl_8005AE74 +/* 8005AE68 00057DC8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8005AE6C 00057DCC D0 1F 01 74 */ stfs f0, 0x174(r31) +/* 8005AE70 00057DD0 48 00 00 8C */ b lbl_8005AEFC +lbl_8005AE74: +/* 8005AE74 00057DD4 C0 1F 01 78 */ lfs f0, 0x178(r31) +/* 8005AE78 00057DD8 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8005AE7C 00057DDC 40 81 00 80 */ ble lbl_8005AEFC +/* 8005AE80 00057DE0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8005AE84 00057DE4 D0 1F 01 78 */ stfs f0, 0x178(r31) +/* 8005AE88 00057DE8 C0 3F 01 78 */ lfs f1, 0x178(r31) +/* 8005AE8C 00057DEC FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 8005AE90 00057DF0 4C 40 13 82 */ cror 2, 0, 2 +/* 8005AE94 00057DF4 40 82 00 20 */ bne lbl_8005AEB4 +/* 8005AE98 00057DF8 C0 1F 01 84 */ lfs f0, 0x184(r31) +/* 8005AE9C 00057DFC 38 60 00 01 */ li r3, 1 +/* 8005AEA0 00057E00 D0 1F 01 5C */ stfs f0, 0x15c(r31) +/* 8005AEA4 00057E04 88 1F 01 70 */ lbz r0, 0x170(r31) +/* 8005AEA8 00057E08 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8005AEAC 00057E0C 98 1F 01 70 */ stb r0, 0x170(r31) +/* 8005AEB0 00057E10 48 00 00 4C */ b lbl_8005AEFC +lbl_8005AEB4: +/* 8005AEB4 00057E14 C0 1F 01 7C */ lfs f0, 0x17c(r31) +/* 8005AEB8 00057E18 38 81 00 08 */ addi r4, r1, 8 +/* 8005AEBC 00057E1C C0 5F 01 80 */ lfs f2, 0x180(r31) +/* 8005AEC0 00057E20 38 6D 82 D0 */ addi r3, r13, lbl_805A6E90@sda21 +/* 8005AEC4 00057E24 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8005AEC8 00057E28 C0 3F 01 84 */ lfs f1, 0x184(r31) +/* 8005AECC 00057E2C 38 AD 82 D4 */ addi r5, r13, lbl_805A6E94@sda21 +/* 8005AED0 00057E30 EF E2 08 28 */ fsubs f31, f2, f1 +/* 8005AED4 00057E34 D0 01 00 08 */ stfs f0, 8(r1) +/* 8005AED8 00057E38 4B FB 13 DD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8005AEDC 00057E3C C0 23 00 00 */ lfs f1, 0(r3) +/* 8005AEE0 00057E40 38 60 00 01 */ li r3, 1 +/* 8005AEE4 00057E44 C0 1F 01 84 */ lfs f0, 0x184(r31) +/* 8005AEE8 00057E48 EC 1F 00 7A */ fmadds f0, f31, f1, f0 +/* 8005AEEC 00057E4C D0 1F 01 5C */ stfs f0, 0x15c(r31) +/* 8005AEF0 00057E50 88 1F 01 70 */ lbz r0, 0x170(r31) +/* 8005AEF4 00057E54 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8005AEF8 00057E58 98 1F 01 70 */ stb r0, 0x170(r31) +lbl_8005AEFC: +/* 8005AEFC 00057E5C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8005AF00 00057E60 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005AF04 00057E64 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8005AF08 00057E68 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005AF0C 00057E6C 7C 08 03 A6 */ mtlr r0 +/* 8005AF10 00057E70 38 21 00 30 */ addi r1, r1, 0x30 +/* 8005AF14 00057E74 4E 80 00 20 */ blr + +.global SetFovInterpolation__11CGameCameraFffff +SetFovInterpolation__11CGameCameraFffff: +/* 8005AF18 00057E78 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005AF1C 00057E7C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8005AF20 00057E80 4C 40 13 82 */ cror 2, 0, 2 +/* 8005AF24 00057E84 40 82 00 28 */ bne lbl_8005AF4C +/* 8005AF28 00057E88 D0 43 01 5C */ stfs f2, 0x15c(r3) +/* 8005AF2C 00057E8C 38 80 00 01 */ li r4, 1 +/* 8005AF30 00057E90 88 03 01 70 */ lbz r0, 0x170(r3) +/* 8005AF34 00057E94 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8005AF38 00057E98 98 03 01 70 */ stb r0, 0x170(r3) +/* 8005AF3C 00057E9C D0 43 01 84 */ stfs f2, 0x184(r3) +/* 8005AF40 00057EA0 D0 03 01 78 */ stfs f0, 0x178(r3) +/* 8005AF44 00057EA4 D0 03 01 74 */ stfs f0, 0x174(r3) +/* 8005AF48 00057EA8 4E 80 00 20 */ blr +lbl_8005AF4C: +/* 8005AF4C 00057EAC FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8005AF50 00057EB0 40 80 00 0C */ bge lbl_8005AF5C +/* 8005AF54 00057EB4 D0 03 01 74 */ stfs f0, 0x174(r3) +/* 8005AF58 00057EB8 48 00 00 08 */ b lbl_8005AF60 +lbl_8005AF5C: +/* 8005AF5C 00057EBC D0 83 01 74 */ stfs f4, 0x174(r3) +lbl_8005AF60: +/* 8005AF60 00057EC0 D0 63 01 7C */ stfs f3, 0x17c(r3) +/* 8005AF64 00057EC4 38 80 00 01 */ li r4, 1 +/* 8005AF68 00057EC8 D0 63 01 78 */ stfs f3, 0x178(r3) +/* 8005AF6C 00057ECC D0 23 01 80 */ stfs f1, 0x180(r3) +/* 8005AF70 00057ED0 D0 43 01 84 */ stfs f2, 0x184(r3) +/* 8005AF74 00057ED4 D0 23 01 5C */ stfs f1, 0x15c(r3) +/* 8005AF78 00057ED8 88 03 01 70 */ lbz r0, 0x170(r3) +/* 8005AF7C 00057EDC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8005AF80 00057EE0 98 03 01 70 */ stb r0, 0x170(r3) +/* 8005AF84 00057EE4 4E 80 00 20 */ blr + +.global SkipFovInterpolation__11CGameCameraFv +SkipFovInterpolation__11CGameCameraFv: +/* 8005AF88 00057EE8 C0 23 01 78 */ lfs f1, 0x178(r3) +/* 8005AF8C 00057EEC C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005AF90 00057EF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005AF94 00057EF4 40 81 00 1C */ ble lbl_8005AFB0 +/* 8005AF98 00057EF8 C0 03 01 84 */ lfs f0, 0x184(r3) +/* 8005AF9C 00057EFC 38 80 00 01 */ li r4, 1 +/* 8005AFA0 00057F00 D0 03 01 5C */ stfs f0, 0x15c(r3) +/* 8005AFA4 00057F04 88 03 01 70 */ lbz r0, 0x170(r3) +/* 8005AFA8 00057F08 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8005AFAC 00057F0C 98 03 01 70 */ stb r0, 0x170(r3) +lbl_8005AFB0: +/* 8005AFB0 00057F10 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005AFB4 00057F14 D0 03 01 78 */ stfs f0, 0x178(r3) +/* 8005AFB8 00057F18 D0 03 01 74 */ stfs f0, 0x174(r3) +/* 8005AFBC 00057F1C 4E 80 00 20 */ blr + +.global ValidateCameraTransform__11CGameCameraFRC12CTransform4fRC12CTransform4f +ValidateCameraTransform__11CGameCameraFRC12CTransform4fRC12CTransform4f: +/* 8005AFC0 00057F20 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 8005AFC4 00057F24 7C 08 02 A6 */ mflr r0 +/* 8005AFC8 00057F28 90 01 01 84 */ stw r0, 0x184(r1) +/* 8005AFCC 00057F2C 93 E1 01 7C */ stw r31, 0x17c(r1) +/* 8005AFD0 00057F30 7C DF 33 78 */ mr r31, r6 +/* 8005AFD4 00057F34 93 C1 01 78 */ stw r30, 0x178(r1) +/* 8005AFD8 00057F38 7C BE 2B 78 */ mr r30, r5 +/* 8005AFDC 00057F3C 7F C4 F3 78 */ mr r4, r30 +/* 8005AFE0 00057F40 93 A1 01 74 */ stw r29, 0x174(r1) +/* 8005AFE4 00057F44 7C 7D 1B 78 */ mr r29, r3 +/* 8005AFE8 00057F48 38 61 01 40 */ addi r3, r1, 0x140 +/* 8005AFEC 00057F4C 48 2B 7B 89 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8005AFF0 00057F50 C0 5E 00 20 */ lfs f2, 0x20(r30) +/* 8005AFF4 00057F54 38 61 00 88 */ addi r3, r1, 0x88 +/* 8005AFF8 00057F58 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 8005AFFC 00057F5C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8005B000 00057F60 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 8005B004 00057F64 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8005B008 00057F68 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8005B00C 00057F6C 48 2B 98 AD */ bl Magnitude__9CVector3fCFv +/* 8005B010 00057F70 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) +/* 8005B014 00057F74 C8 02 86 C0 */ lfd f0, lbl_805AA3E0@sda21(r2) +/* 8005B018 00057F78 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8005B01C 00057F7C FC 20 0A 10 */ fabs f1, f1 +/* 8005B020 00057F80 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005B024 00057F84 40 80 00 74 */ bge lbl_8005B098 +/* 8005B028 00057F88 C0 5E 00 24 */ lfs f2, 0x24(r30) +/* 8005B02C 00057F8C 38 61 00 7C */ addi r3, r1, 0x7c +/* 8005B030 00057F90 C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 8005B034 00057F94 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8005B038 00057F98 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 8005B03C 00057F9C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8005B040 00057FA0 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8005B044 00057FA4 48 2B 98 75 */ bl Magnitude__9CVector3fCFv +/* 8005B048 00057FA8 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) +/* 8005B04C 00057FAC C8 02 86 C0 */ lfd f0, lbl_805AA3E0@sda21(r2) +/* 8005B050 00057FB0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8005B054 00057FB4 FC 20 0A 10 */ fabs f1, f1 +/* 8005B058 00057FB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005B05C 00057FBC 40 80 00 3C */ bge lbl_8005B098 +/* 8005B060 00057FC0 C0 5E 00 28 */ lfs f2, 0x28(r30) +/* 8005B064 00057FC4 38 61 00 70 */ addi r3, r1, 0x70 +/* 8005B068 00057FC8 C0 3E 00 18 */ lfs f1, 0x18(r30) +/* 8005B06C 00057FCC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8005B070 00057FD0 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 8005B074 00057FD4 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8005B078 00057FD8 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 8005B07C 00057FDC 48 2B 98 3D */ bl Magnitude__9CVector3fCFv +/* 8005B080 00057FE0 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) +/* 8005B084 00057FE4 C8 02 86 C0 */ lfd f0, lbl_805AA3E0@sda21(r2) +/* 8005B088 00057FE8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8005B08C 00057FEC FC 20 0A 10 */ fabs f1, f1 +/* 8005B090 00057FF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005B094 00057FF4 41 80 00 0C */ blt lbl_8005B0A0 +lbl_8005B098: +/* 8005B098 00057FF8 38 61 01 40 */ addi r3, r1, 0x140 +/* 8005B09C 00057FFC 48 2B 83 09 */ bl Orthonormalize__12CTransform4fFv +lbl_8005B0A0: +/* 8005B0A0 00058000 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8005B0A4 00058004 C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 8005B0A8 00058008 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l +/* 8005B0AC 0005800C C0 7E 00 04 */ lfs f3, 4(r30) +/* 8005B0B0 00058010 C0 03 00 04 */ lfs f0, 4(r3) +/* 8005B0B4 00058014 C0 43 00 00 */ lfs f2, 0(r3) +/* 8005B0B8 00058018 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8005B0BC 0005801C C0 BE 00 24 */ lfs f5, 0x24(r30) +/* 8005B0C0 00058020 C0 83 00 08 */ lfs f4, 8(r3) +/* 8005B0C4 00058024 C8 02 86 C8 */ lfd f0, lbl_805AA3E8@sda21(r2) +/* 8005B0C8 00058028 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 8005B0CC 0005802C EC 45 09 3A */ fmadds f2, f5, f4, f1 +/* 8005B0D0 00058030 FC 20 12 10 */ fabs f1, f2 +/* 8005B0D4 00058034 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005B0D8 00058038 40 81 00 14 */ ble lbl_8005B0EC +/* 8005B0DC 0005803C C0 02 86 D0 */ lfs f0, lbl_805AA3F0@sda21(r2) +/* 8005B0E0 00058040 C0 22 86 BC */ lfs f1, lbl_805AA3DC@sda21(r2) +/* 8005B0E4 00058044 FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 8005B0E8 00058048 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_8005B0EC: +/* 8005B0EC 0005804C FC 20 12 10 */ fabs f1, f2 +/* 8005B0F0 00058050 C0 02 86 D4 */ lfs f0, lbl_805AA3F4@sda21(r2) +/* 8005B0F4 00058054 FC 20 08 18 */ frsp f1, f1 +/* 8005B0F8 00058058 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005B0FC 0005805C 40 81 00 10 */ ble lbl_8005B10C +/* 8005B100 00058060 7F E4 FB 78 */ mr r4, r31 +/* 8005B104 00058064 38 61 01 40 */ addi r3, r1, 0x140 +/* 8005B108 00058068 48 2B 7A 39 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_8005B10C: +/* 8005B10C 0005806C C0 21 01 68 */ lfs f1, 0x168(r1) +/* 8005B110 00058070 C0 02 86 D8 */ lfs f0, lbl_805AA3F8@sda21(r2) +/* 8005B114 00058074 C0 61 01 48 */ lfs f3, 0x148(r1) +/* 8005B118 00058078 C0 41 01 58 */ lfs f2, 0x158(r1) +/* 8005B11C 0005807C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005B120 00058080 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 8005B124 00058084 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 8005B128 00058088 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 8005B12C 0005808C 40 80 00 88 */ bge lbl_8005B1B4 +/* 8005B130 00058090 C0 62 86 DC */ lfs f3, lbl_805AA3FC@sda21(r2) +/* 8005B134 00058094 38 61 00 48 */ addi r3, r1, 0x48 +/* 8005B138 00058098 C0 41 01 44 */ lfs f2, 0x144(r1) +/* 8005B13C 0005809C 38 81 00 3C */ addi r4, r1, 0x3c +/* 8005B140 000580A0 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 8005B144 000580A4 C0 01 01 64 */ lfs f0, 0x164(r1) +/* 8005B148 000580A8 D0 61 00 08 */ stfs f3, 8(r1) +/* 8005B14C 000580AC D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8005B150 000580B0 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8005B154 000580B4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8005B158 000580B8 48 2B 8C 79 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8005B15C 000580BC 7C 64 1B 78 */ mr r4, r3 +/* 8005B160 000580C0 38 61 00 54 */ addi r3, r1, 0x54 +/* 8005B164 000580C4 38 A1 00 08 */ addi r5, r1, 8 +/* 8005B168 000580C8 48 2B 61 8D */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 8005B16C 000580CC C0 61 00 54 */ lfs f3, 0x54(r1) +/* 8005B170 000580D0 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8005B174 000580D4 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 8005B178 000580D8 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 8005B17C 000580DC C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 8005B180 000580E0 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8005B184 000580E4 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 8005B188 000580E8 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8005B18C 000580EC D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 8005B190 000580F0 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8005B194 000580F4 48 2B 6E 25 */ bl BuildTransform4f__11CQuaternionCFv +/* 8005B198 000580F8 38 61 01 10 */ addi r3, r1, 0x110 +/* 8005B19C 000580FC 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 8005B1A0 00058100 38 A1 01 40 */ addi r5, r1, 0x140 +/* 8005B1A4 00058104 48 2B 77 AD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8005B1A8 00058108 38 61 01 40 */ addi r3, r1, 0x140 +/* 8005B1AC 0005810C 38 81 01 10 */ addi r4, r1, 0x110 +/* 8005B1B0 00058110 48 2B 79 91 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_8005B1B4: +/* 8005B1B4 00058114 C0 21 01 60 */ lfs f1, 0x160(r1) +/* 8005B1B8 00058118 C0 A2 86 B8 */ lfs f5, lbl_805AA3D8@sda21(r2) +/* 8005B1BC 0005811C C0 61 01 40 */ lfs f3, 0x140(r1) +/* 8005B1C0 00058120 EC 01 28 28 */ fsubs f0, f1, f5 +/* 8005B1C4 00058124 C0 41 01 50 */ lfs f2, 0x150(r1) +/* 8005B1C8 00058128 C0 82 86 E0 */ lfs f4, lbl_805AA400@sda21(r2) +/* 8005B1CC 0005812C D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8005B1D0 00058130 FC 00 02 10 */ fabs f0, f0 +/* 8005B1D4 00058134 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8005B1D8 00058138 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 8005B1DC 0005813C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8005B1E0 00058140 41 80 00 B4 */ blt lbl_8005B294 +/* 8005B1E4 00058144 C0 21 01 68 */ lfs f1, 0x168(r1) +/* 8005B1E8 00058148 C0 61 01 48 */ lfs f3, 0x148(r1) +/* 8005B1EC 0005814C EC 01 28 28 */ fsubs f0, f1, f5 +/* 8005B1F0 00058150 C0 41 01 58 */ lfs f2, 0x158(r1) +/* 8005B1F4 00058154 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8005B1F8 00058158 FC 00 02 10 */ fabs f0, f0 +/* 8005B1FC 0005815C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8005B200 00058160 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8005B204 00058164 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 8005B208 00058168 41 80 00 8C */ blt lbl_8005B294 +/* 8005B20C 0005816C C0 01 01 64 */ lfs f0, 0x164(r1) +/* 8005B210 00058170 38 61 00 94 */ addi r3, r1, 0x94 +/* 8005B214 00058174 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 8005B218 00058178 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8005B21C 0005817C C0 01 01 44 */ lfs f0, 0x144(r1) +/* 8005B220 00058180 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8005B224 00058184 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8005B228 00058188 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 8005B22C 0005818C 48 2B 94 CD */ bl CanBeNormalized__9CVector3fCFv +/* 8005B230 00058190 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005B234 00058194 41 82 00 54 */ beq lbl_8005B288 +/* 8005B238 00058198 C0 41 01 44 */ lfs f2, 0x144(r1) +/* 8005B23C 0005819C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8005B240 000581A0 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 8005B244 000581A4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8005B248 000581A8 C0 01 01 64 */ lfs f0, 0x164(r1) +/* 8005B24C 000581AC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8005B250 000581B0 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8005B254 000581B4 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8005B258 000581B8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8005B25C 000581BC 48 2B 8B 75 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8005B260 000581C0 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 8005B264 000581C4 7C 64 1B 78 */ mr r4, r3 +/* 8005B268 000581C8 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 8005B26C 000581CC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8005B270 000581D0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8005B274 000581D4 48 2B 88 9D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8005B278 000581D8 38 61 01 40 */ addi r3, r1, 0x140 +/* 8005B27C 000581DC 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8005B280 000581E0 48 2B 78 C1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8005B284 000581E4 48 00 00 10 */ b lbl_8005B294 +lbl_8005B288: +/* 8005B288 000581E8 7F E4 FB 78 */ mr r4, r31 +/* 8005B28C 000581EC 38 61 01 40 */ addi r3, r1, 0x140 +/* 8005B290 000581F0 48 2B 78 B1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_8005B294: +/* 8005B294 000581F4 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 8005B298 000581F8 7F A3 EB 78 */ mr r3, r29 +/* 8005B29C 000581FC C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 8005B2A0 00058200 38 81 01 40 */ addi r4, r1, 0x140 +/* 8005B2A4 00058204 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8005B2A8 00058208 D0 21 01 5C */ stfs f1, 0x15c(r1) +/* 8005B2AC 0005820C D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 8005B2B0 00058210 D0 41 01 6C */ stfs f2, 0x16c(r1) +/* 8005B2B4 00058214 48 2B 78 C1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8005B2B8 00058218 80 01 01 84 */ lwz r0, 0x184(r1) +/* 8005B2BC 0005821C 83 E1 01 7C */ lwz r31, 0x17c(r1) +/* 8005B2C0 00058220 83 C1 01 78 */ lwz r30, 0x178(r1) +/* 8005B2C4 00058224 83 A1 01 74 */ lwz r29, 0x174(r1) +/* 8005B2C8 00058228 7C 08 03 A6 */ mtlr r0 +/* 8005B2CC 0005822C 38 21 01 80 */ addi r1, r1, 0x180 +/* 8005B2D0 00058230 4E 80 00 20 */ blr + +.global Accept__11CGameCameraFR8IVisitor +Accept__11CGameCameraFR8IVisitor: +/* 8005B2D4 00058234 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005B2D8 00058238 7C 08 02 A6 */ mflr r0 +/* 8005B2DC 0005823C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005B2E0 00058240 7C 60 1B 78 */ mr r0, r3 +/* 8005B2E4 00058244 7C 83 23 78 */ mr r3, r4 +/* 8005B2E8 00058248 81 84 00 00 */ lwz r12, 0(r4) +/* 8005B2EC 0005824C 7C 04 03 78 */ mr r4, r0 +/* 8005B2F0 00058250 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8005B2F4 00058254 7D 89 03 A6 */ mtctr r12 +/* 8005B2F8 00058258 4E 80 04 21 */ bctrl +/* 8005B2FC 0005825C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005B300 00058260 7C 08 03 A6 */ mtlr r0 +/* 8005B304 00058264 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005B308 00058268 4E 80 00 20 */ blr + +.global SetActive__11CGameCameraFb +SetActive__11CGameCameraFb: +/* 8005B30C 0005826C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005B310 00058270 7C 08 02 A6 */ mflr r0 +/* 8005B314 00058274 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005B318 00058278 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005B31C 0005827C 7C 7F 1B 78 */ mr r31, r3 +/* 8005B320 00058280 4B FF 85 2D */ bl SetActive__6CActorFb +/* 8005B324 00058284 88 1F 00 E7 */ lbz r0, 0xe7(r31) +/* 8005B328 00058288 38 60 00 00 */ li r3, 0 +/* 8005B32C 0005828C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8005B330 00058290 98 1F 00 E7 */ stb r0, 0xe7(r31) +/* 8005B334 00058294 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005B338 00058298 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005B33C 0005829C 7C 08 03 A6 */ mtlr r0 +/* 8005B340 000582A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005B344 000582A4 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8005B348 000582A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005B34C 000582AC 7C 08 02 A6 */ mflr r0 +/* 8005B350 000582B0 2C 04 00 26 */ cmpwi r4, 0x26 +/* 8005B354 000582B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005B358 000582B8 41 82 00 58 */ beq lbl_8005B3B0 +/* 8005B35C 000582BC 40 80 00 10 */ bge lbl_8005B36C +/* 8005B360 000582C0 2C 04 00 25 */ cmpwi r4, 0x25 +/* 8005B364 000582C4 40 80 00 14 */ bge lbl_8005B378 +/* 8005B368 000582C8 48 00 00 48 */ b lbl_8005B3B0 +lbl_8005B36C: +/* 8005B36C 000582CC 2C 04 00 28 */ cmpwi r4, 0x28 +/* 8005B370 000582D0 40 80 00 40 */ bge lbl_8005B3B0 +/* 8005B374 000582D4 48 00 00 20 */ b lbl_8005B394 +lbl_8005B378: +/* 8005B378 000582D8 A0 05 00 00 */ lhz r0, 0(r5) +/* 8005B37C 000582DC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8005B380 000582E0 38 80 00 01 */ li r4, 1 +/* 8005B384 000582E4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8005B388 000582E8 80 66 08 70 */ lwz r3, 0x870(r6) +/* 8005B38C 000582EC 4B FB 01 91 */ bl SetInsideFluid__14CCameraManagerFb9TUniqueId +/* 8005B390 000582F0 48 00 00 30 */ b lbl_8005B3C0 +lbl_8005B394: +/* 8005B394 000582F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8005B398 000582F8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8005B39C 000582FC 38 80 00 00 */ li r4, 0 +/* 8005B3A0 00058300 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8005B3A4 00058304 80 66 08 70 */ lwz r3, 0x870(r6) +/* 8005B3A8 00058308 4B FB 01 75 */ bl SetInsideFluid__14CCameraManagerFb9TUniqueId +/* 8005B3AC 0005830C 48 00 00 14 */ b lbl_8005B3C0 +lbl_8005B3B0: +/* 8005B3B0 00058310 A0 05 00 00 */ lhz r0, 0(r5) +/* 8005B3B4 00058314 38 A1 00 08 */ addi r5, r1, 8 +/* 8005B3B8 00058318 B0 01 00 08 */ sth r0, 8(r1) +/* 8005B3BC 0005831C 4B FF 82 59 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_8005B3C0: +/* 8005B3C0 00058320 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005B3C4 00058324 7C 08 03 A6 */ mtlr r0 +/* 8005B3C8 00058328 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005B3CC 0005832C 4E 80 00 20 */ blr + +.global FindClosestLengthOnSpline__13CCameraSplineCFf9CVector3f +FindClosestLengthOnSpline__13CCameraSplineCFf9CVector3f: +/* 8005B3D0 00058330 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 8005B3D4 00058334 7C 08 02 A6 */ mflr r0 +/* 8005B3D8 00058338 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 8005B3DC 0005833C DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 8005B3E0 00058340 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 8005B3E4 00058344 DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 8005B3E8 00058348 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 8005B3EC 0005834C DB A1 01 C0 */ stfd f29, 0x1c0(r1) +/* 8005B3F0 00058350 F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 +/* 8005B3F4 00058354 DB 81 01 B0 */ stfd f28, 0x1b0(r1) +/* 8005B3F8 00058358 F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 +/* 8005B3FC 0005835C DB 61 01 A0 */ stfd f27, 0x1a0(r1) +/* 8005B400 00058360 F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 +/* 8005B404 00058364 DB 41 01 90 */ stfd f26, 0x190(r1) +/* 8005B408 00058368 F3 41 01 98 */ psq_st f26, 408(r1), 0, qr0 +/* 8005B40C 0005836C DB 21 01 80 */ stfd f25, 0x180(r1) +/* 8005B410 00058370 F3 21 01 88 */ psq_st f25, 392(r1), 0, qr0 +/* 8005B414 00058374 DB 01 01 70 */ stfd f24, 0x170(r1) +/* 8005B418 00058378 F3 01 01 78 */ psq_st f24, 376(r1), 0, qr0 +/* 8005B41C 0005837C DA E1 01 60 */ stfd f23, 0x160(r1) +/* 8005B420 00058380 F2 E1 01 68 */ psq_st f23, 360(r1), 0, qr0 +/* 8005B424 00058384 DA C1 01 50 */ stfd f22, 0x150(r1) +/* 8005B428 00058388 F2 C1 01 58 */ psq_st f22, 344(r1), 0, qr0 +/* 8005B42C 0005838C DA A1 01 40 */ stfd f21, 0x140(r1) +/* 8005B430 00058390 F2 A1 01 48 */ psq_st f21, 328(r1), 0, qr0 +/* 8005B434 00058394 DA 81 01 30 */ stfd f20, 0x130(r1) +/* 8005B438 00058398 F2 81 01 38 */ psq_st f20, 312(r1), 0, qr0 +/* 8005B43C 0005839C DA 61 01 20 */ stfd f19, 0x120(r1) +/* 8005B440 000583A0 F2 61 01 28 */ psq_st f19, 296(r1), 0, qr0 +/* 8005B444 000583A4 DA 41 01 10 */ stfd f18, 0x110(r1) +/* 8005B448 000583A8 F2 41 01 18 */ psq_st f18, 280(r1), 0, qr0 +/* 8005B44C 000583AC DA 21 01 00 */ stfd f17, 0x100(r1) +/* 8005B450 000583B0 F2 21 01 08 */ psq_st f17, 264(r1), 0, qr0 +/* 8005B454 000583B4 DA 01 00 F0 */ stfd f16, 0xf0(r1) +/* 8005B458 000583B8 F2 01 00 F8 */ psq_st f16, 248(r1), 0, qr0 +/* 8005B45C 000583BC D9 E1 00 E0 */ stfd f15, 0xe0(r1) +/* 8005B460 000583C0 F1 E1 00 E8 */ psq_st f15, 232(r1), 0, qr0 +/* 8005B464 000583C4 BF 41 00 C8 */ stmw r26, 0xc8(r1) +/* 8005B468 000583C8 7C 7A 1B 78 */ mr r26, r3 +/* 8005B46C 000583CC C3 62 86 E4 */ lfs f27, lbl_805AA404@sda21(r2) +/* 8005B470 000583D0 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8005B474 000583D4 FF 20 08 90 */ fmr f25, f1 +/* 8005B478 000583D8 80 63 00 08 */ lwz r3, 8(r3) +/* 8005B47C 000583DC FF 40 D8 90 */ fmr f26, f27 +/* 8005B480 000583E0 28 00 00 00 */ cmplwi r0, 0 +/* 8005B484 000583E4 C3 82 86 D0 */ lfs f28, lbl_805AA3F0@sda21(r2) +/* 8005B488 000583E8 7C 9B 23 78 */ mr r27, r4 +/* 8005B48C 000583EC 3B A3 FF FF */ addi r29, r3, -1 +/* 8005B490 000583F0 41 82 00 08 */ beq lbl_8005B498 +/* 8005B494 000583F4 3B BD 00 01 */ addi r29, r29, 1 +lbl_8005B498: +/* 8005B498 000583F8 3B E0 00 00 */ li r31, 0 +/* 8005B49C 000583FC C3 02 86 B8 */ lfs f24, lbl_805AA3D8@sda21(r2) +/* 8005B4A0 00058400 7F FE FB 78 */ mr r30, r31 +/* 8005B4A4 00058404 3B 80 00 00 */ li r28, 0 +/* 8005B4A8 00058408 48 00 05 20 */ b lbl_8005B9C8 +lbl_8005B4AC: +/* 8005B4AC 0005840C 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8005B4B0 00058410 88 1A 00 48 */ lbz r0, 0x48(r26) +/* 8005B4B4 00058414 7C 64 FA 14 */ add r3, r4, r31 +/* 8005B4B8 00058418 28 00 00 00 */ cmplwi r0, 0 +/* 8005B4BC 0005841C C2 C3 00 00 */ lfs f22, 0(r3) +/* 8005B4C0 00058420 C2 E3 00 04 */ lfs f23, 4(r3) +/* 8005B4C4 00058424 C2 A3 00 08 */ lfs f21, 8(r3) +/* 8005B4C8 00058428 40 82 00 20 */ bne lbl_8005B4E8 +/* 8005B4CC 0005842C 38 1C 00 01 */ addi r0, r28, 1 +/* 8005B4D0 00058430 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005B4D4 00058434 7C 64 02 14 */ add r3, r4, r0 +/* 8005B4D8 00058438 C2 83 00 00 */ lfs f20, 0(r3) +/* 8005B4DC 0005843C C2 63 00 04 */ lfs f19, 4(r3) +/* 8005B4E0 00058440 C2 43 00 08 */ lfs f18, 8(r3) +/* 8005B4E4 00058444 48 00 00 3C */ b lbl_8005B520 +lbl_8005B4E8: +/* 8005B4E8 00058448 80 7A 00 08 */ lwz r3, 8(r26) +/* 8005B4EC 0005844C 38 03 FF FF */ addi r0, r3, -1 +/* 8005B4F0 00058450 7C 1C 00 00 */ cmpw r28, r0 +/* 8005B4F4 00058454 40 82 00 14 */ bne lbl_8005B508 +/* 8005B4F8 00058458 C2 84 00 00 */ lfs f20, 0(r4) +/* 8005B4FC 0005845C C2 64 00 04 */ lfs f19, 4(r4) +/* 8005B500 00058460 C2 44 00 08 */ lfs f18, 8(r4) +/* 8005B504 00058464 48 00 00 1C */ b lbl_8005B520 +lbl_8005B508: +/* 8005B508 00058468 38 1C 00 01 */ addi r0, r28, 1 +/* 8005B50C 0005846C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005B510 00058470 7C 64 02 14 */ add r3, r4, r0 +/* 8005B514 00058474 C2 83 00 00 */ lfs f20, 0(r3) +/* 8005B518 00058478 C2 63 00 04 */ lfs f19, 4(r3) +/* 8005B51C 0005847C C2 43 00 08 */ lfs f18, 8(r3) +lbl_8005B520: +/* 8005B520 00058480 EE 34 B0 28 */ fsubs f17, f20, f22 +/* 8005B524 00058484 2C 1C 00 00 */ cmpwi r28, 0 +/* 8005B528 00058488 EE 13 B8 28 */ fsubs f16, f19, f23 +/* 8005B52C 0005848C ED F2 A8 28 */ fsubs f15, f18, f21 +/* 8005B530 00058490 EF F6 A0 28 */ fsubs f31, f22, f20 +/* 8005B534 00058494 D2 21 00 80 */ stfs f17, 0x80(r1) +/* 8005B538 00058498 EF D7 98 28 */ fsubs f30, f23, f19 +/* 8005B53C 0005849C EF B5 90 28 */ fsubs f29, f21, f18 +/* 8005B540 000584A0 D2 01 00 84 */ stfs f16, 0x84(r1) +/* 8005B544 000584A4 D1 E1 00 88 */ stfs f15, 0x88(r1) +/* 8005B548 000584A8 D3 E1 00 74 */ stfs f31, 0x74(r1) +/* 8005B54C 000584AC D3 C1 00 78 */ stfs f30, 0x78(r1) +/* 8005B550 000584B0 D3 A1 00 7C */ stfs f29, 0x7c(r1) +/* 8005B554 000584B4 41 82 00 48 */ beq lbl_8005B59C +/* 8005B558 000584B8 38 1C FF FF */ addi r0, r28, -1 +/* 8005B55C 000584BC 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 8005B560 000584C0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005B564 000584C4 7C 63 02 14 */ add r3, r3, r0 +/* 8005B568 000584C8 C0 43 00 04 */ lfs f2, 4(r3) +/* 8005B56C 000584CC C0 23 00 08 */ lfs f1, 8(r3) +/* 8005B570 000584D0 C0 03 00 00 */ lfs f0, 0(r3) +/* 8005B574 000584D4 EC 57 10 28 */ fsubs f2, f23, f2 +/* 8005B578 000584D8 EC 35 08 28 */ fsubs f1, f21, f1 +/* 8005B57C 000584DC EC 16 00 28 */ fsubs f0, f22, f0 +/* 8005B580 000584E0 EC 42 80 2A */ fadds f2, f2, f16 +/* 8005B584 000584E4 EC 21 78 2A */ fadds f1, f1, f15 +/* 8005B588 000584E8 EC 00 88 2A */ fadds f0, f0, f17 +/* 8005B58C 000584EC D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8005B590 000584F0 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8005B594 000584F4 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8005B598 000584F8 48 00 00 84 */ b lbl_8005B61C +lbl_8005B59C: +/* 8005B59C 000584FC 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8005B5A0 00058500 88 1A 00 48 */ lbz r0, 0x48(r26) +/* 8005B5A4 00058504 C0 A4 00 00 */ lfs f5, 0(r4) +/* 8005B5A8 00058508 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8005B5AC 0005850C 28 00 00 00 */ cmplwi r0, 0 +/* 8005B5B0 00058510 C0 64 00 04 */ lfs f3, 4(r4) +/* 8005B5B4 00058514 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 8005B5B8 00058518 EC 85 00 28 */ fsubs f4, f5, f0 +/* 8005B5BC 0005851C C0 24 00 08 */ lfs f1, 8(r4) +/* 8005B5C0 00058520 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8005B5C4 00058524 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8005B5C8 00058528 EC 85 20 2A */ fadds f4, f5, f4 +/* 8005B5CC 0005852C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8005B5D0 00058530 EC 63 10 2A */ fadds f3, f3, f2 +/* 8005B5D4 00058534 EC 01 00 2A */ fadds f0, f1, f0 +/* 8005B5D8 00058538 41 82 00 20 */ beq lbl_8005B5F8 +/* 8005B5DC 0005853C 80 7A 00 08 */ lwz r3, 8(r26) +/* 8005B5E0 00058540 38 03 FF FF */ addi r0, r3, -1 +/* 8005B5E4 00058544 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005B5E8 00058548 7C 64 02 14 */ add r3, r4, r0 +/* 8005B5EC 0005854C C0 83 00 00 */ lfs f4, 0(r3) +/* 8005B5F0 00058550 C0 63 00 04 */ lfs f3, 4(r3) +/* 8005B5F4 00058554 C0 03 00 08 */ lfs f0, 8(r3) +lbl_8005B5F8: +/* 8005B5F8 00058558 EC 56 20 28 */ fsubs f2, f22, f4 +/* 8005B5FC 0005855C EC 37 18 28 */ fsubs f1, f23, f3 +/* 8005B600 00058560 EC 15 00 28 */ fsubs f0, f21, f0 +/* 8005B604 00058564 EC 42 88 2A */ fadds f2, f2, f17 +/* 8005B608 00058568 EC 21 80 2A */ fadds f1, f1, f16 +/* 8005B60C 0005856C EC 00 78 2A */ fadds f0, f0, f15 +/* 8005B610 00058570 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 8005B614 00058574 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 8005B618 00058578 D0 01 00 88 */ stfs f0, 0x88(r1) +lbl_8005B61C: +/* 8005B61C 0005857C 38 61 00 80 */ addi r3, r1, 0x80 +/* 8005B620 00058580 48 2B 92 D9 */ bl Normalize__9CVector3fFv +/* 8005B624 00058584 80 7A 00 08 */ lwz r3, 8(r26) +/* 8005B628 00058588 38 03 FF FE */ addi r0, r3, -2 +/* 8005B62C 0005858C 7C 1C 00 00 */ cmpw r28, r0 +/* 8005B630 00058590 40 80 00 48 */ bge lbl_8005B678 +/* 8005B634 00058594 38 1C 00 02 */ addi r0, r28, 2 +/* 8005B638 00058598 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 8005B63C 0005859C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005B640 000585A0 7C 63 02 14 */ add r3, r3, r0 +/* 8005B644 000585A4 C0 43 00 04 */ lfs f2, 4(r3) +/* 8005B648 000585A8 C0 23 00 08 */ lfs f1, 8(r3) +/* 8005B64C 000585AC C0 03 00 00 */ lfs f0, 0(r3) +/* 8005B650 000585B0 EC 53 10 28 */ fsubs f2, f19, f2 +/* 8005B654 000585B4 EC 32 08 28 */ fsubs f1, f18, f1 +/* 8005B658 000585B8 EC 14 00 28 */ fsubs f0, f20, f0 +/* 8005B65C 000585BC EC 42 F0 2A */ fadds f2, f2, f30 +/* 8005B660 000585C0 EC 21 E8 2A */ fadds f1, f1, f29 +/* 8005B664 000585C4 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8005B668 000585C8 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 8005B66C 000585CC D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8005B670 000585D0 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 8005B674 000585D4 48 00 00 A4 */ b lbl_8005B718 +lbl_8005B678: +/* 8005B678 000585D8 88 1A 00 48 */ lbz r0, 0x48(r26) +/* 8005B67C 000585DC 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8005B680 000585E0 28 00 00 00 */ cmplwi r0, 0 +/* 8005B684 000585E4 41 82 00 30 */ beq lbl_8005B6B4 +/* 8005B688 000585E8 38 1D FF FF */ addi r0, r29, -1 +/* 8005B68C 000585EC 7C 1C 00 00 */ cmpw r28, r0 +/* 8005B690 000585F0 40 82 00 14 */ bne lbl_8005B6A4 +/* 8005B694 000585F4 C0 84 00 0C */ lfs f4, 0xc(r4) +/* 8005B698 000585F8 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 8005B69C 000585FC C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8005B6A0 00058600 48 00 00 54 */ b lbl_8005B6F4 +lbl_8005B6A4: +/* 8005B6A4 00058604 C0 84 00 00 */ lfs f4, 0(r4) +/* 8005B6A8 00058608 C0 64 00 04 */ lfs f3, 4(r4) +/* 8005B6AC 0005860C C0 04 00 08 */ lfs f0, 8(r4) +/* 8005B6B0 00058610 48 00 00 44 */ b lbl_8005B6F4 +lbl_8005B6B4: +/* 8005B6B4 00058614 38 1C 00 01 */ addi r0, r28, 1 +/* 8005B6B8 00058618 7C 64 FA 14 */ add r3, r4, r31 +/* 8005B6BC 0005861C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005B6C0 00058620 C0 83 00 00 */ lfs f4, 0(r3) +/* 8005B6C4 00058624 C0 43 00 04 */ lfs f2, 4(r3) +/* 8005B6C8 00058628 C0 03 00 08 */ lfs f0, 8(r3) +/* 8005B6CC 0005862C 7C 64 02 14 */ add r3, r4, r0 +/* 8005B6D0 00058630 C0 A3 00 00 */ lfs f5, 0(r3) +/* 8005B6D4 00058634 C0 63 00 04 */ lfs f3, 4(r3) +/* 8005B6D8 00058638 C0 23 00 08 */ lfs f1, 8(r3) +/* 8005B6DC 0005863C EC 85 20 28 */ fsubs f4, f5, f4 +/* 8005B6E0 00058640 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8005B6E4 00058644 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8005B6E8 00058648 EC 85 20 2A */ fadds f4, f5, f4 +/* 8005B6EC 0005864C EC 63 10 2A */ fadds f3, f3, f2 +/* 8005B6F0 00058650 EC 01 00 2A */ fadds f0, f1, f0 +lbl_8005B6F4: +/* 8005B6F4 00058654 EC 54 20 28 */ fsubs f2, f20, f4 +/* 8005B6F8 00058658 EC 33 18 28 */ fsubs f1, f19, f3 +/* 8005B6FC 0005865C EC 12 00 28 */ fsubs f0, f18, f0 +/* 8005B700 00058660 EC 42 F8 2A */ fadds f2, f2, f31 +/* 8005B704 00058664 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8005B708 00058668 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8005B70C 0005866C D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8005B710 00058670 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 8005B714 00058674 D0 01 00 7C */ stfs f0, 0x7c(r1) +lbl_8005B718: +/* 8005B718 00058678 38 61 00 74 */ addi r3, r1, 0x74 +/* 8005B71C 0005867C 48 2B 91 DD */ bl Normalize__9CVector3fFv +/* 8005B720 00058680 C0 1B 00 04 */ lfs f0, 4(r27) +/* 8005B724 00058684 38 61 00 50 */ addi r3, r1, 0x50 +/* 8005B728 00058688 C0 3B 00 00 */ lfs f1, 0(r27) +/* 8005B72C 0005868C 38 81 00 44 */ addi r4, r1, 0x44 +/* 8005B730 00058690 EC A0 B8 28 */ fsubs f5, f0, f23 +/* 8005B734 00058694 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8005B738 00058698 EC 61 B0 28 */ fsubs f3, f1, f22 +/* 8005B73C 0005869C C0 5B 00 08 */ lfs f2, 8(r27) +/* 8005B740 000586A0 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8005B744 000586A4 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8005B748 000586A8 EC 82 A8 28 */ fsubs f4, f2, f21 +/* 8005B74C 000586AC C0 41 00 88 */ lfs f2, 0x88(r1) +/* 8005B750 000586B0 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 8005B754 000586B4 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 8005B758 000586B8 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 8005B75C 000586BC EE E4 00 BA */ fmadds f23, f4, f2, f0 +/* 8005B760 000586C0 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 8005B764 000586C4 D2 21 00 38 */ stfs f17, 0x38(r1) +/* 8005B768 000586C8 D2 01 00 3C */ stfs f16, 0x3c(r1) +/* 8005B76C 000586CC D1 E1 00 40 */ stfs f15, 0x40(r1) +/* 8005B770 000586D0 D2 21 00 44 */ stfs f17, 0x44(r1) +/* 8005B774 000586D4 D2 01 00 48 */ stfs f16, 0x48(r1) +/* 8005B778 000586D8 D1 E1 00 4C */ stfs f15, 0x4c(r1) +/* 8005B77C 000586DC 48 2B 90 D5 */ bl AsNormalized__9CVector3fCFv +/* 8005B780 000586E0 C0 1B 00 04 */ lfs f0, 4(r27) +/* 8005B784 000586E4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005B788 000586E8 C0 3B 00 00 */ lfs f1, 0(r27) +/* 8005B78C 000586EC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8005B790 000586F0 EC E0 98 28 */ fsubs f7, f0, f19 +/* 8005B794 000586F4 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8005B798 000586F8 C0 81 00 84 */ lfs f4, 0x84(r1) +/* 8005B79C 000586FC EC 41 A0 28 */ fsubs f2, f1, f20 +/* 8005B7A0 00058700 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 8005B7A4 00058704 EC 07 00 32 */ fmuls f0, f7, f0 +/* 8005B7A8 00058708 C0 7B 00 08 */ lfs f3, 8(r27) +/* 8005B7AC 0005870C EC 84 00 72 */ fmuls f4, f4, f1 +/* 8005B7B0 00058710 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 8005B7B4 00058714 EC C3 90 28 */ fsubs f6, f3, f18 +/* 8005B7B8 00058718 C0 A1 00 80 */ lfs f5, 0x80(r1) +/* 8005B7BC 0005871C C0 61 00 50 */ lfs f3, 0x50(r1) +/* 8005B7C0 00058720 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8005B7C4 00058724 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 8005B7C8 00058728 EC 65 20 FA */ fmadds f3, f5, f3, f4 +/* 8005B7CC 0005872C C0 81 00 88 */ lfs f4, 0x88(r1) +/* 8005B7D0 00058730 EE C6 00 7A */ fmadds f22, f6, f1, f0 +/* 8005B7D4 00058734 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8005B7D8 00058738 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8005B7DC 0005873C ED E4 18 3A */ fmadds f15, f4, f0, f3 +/* 8005B7E0 00058740 D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 8005B7E4 00058744 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 8005B7E8 00058748 D3 E1 00 08 */ stfs f31, 8(r1) +/* 8005B7EC 0005874C D3 C1 00 0C */ stfs f30, 0xc(r1) +/* 8005B7F0 00058750 D3 A1 00 10 */ stfs f29, 0x10(r1) +/* 8005B7F4 00058754 D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 8005B7F8 00058758 D3 C1 00 18 */ stfs f30, 0x18(r1) +/* 8005B7FC 0005875C D3 A1 00 1C */ stfs f29, 0x1c(r1) +/* 8005B800 00058760 48 2B 90 51 */ bl AsNormalized__9CVector3fCFv +/* 8005B804 00058764 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8005B808 00058768 EC B7 78 24 */ fdivs f5, f23, f15 +/* 8005B80C 0005876C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8005B810 00058770 88 1A 00 48 */ lbz r0, 0x48(r26) +/* 8005B814 00058774 C0 61 00 74 */ lfs f3, 0x74(r1) +/* 8005B818 00058778 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8005B81C 0005877C 28 00 00 00 */ cmplwi r0, 0 +/* 8005B820 00058780 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8005B824 00058784 C0 81 00 7C */ lfs f4, 0x7c(r1) +/* 8005B828 00058788 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8005B82C 0005878C EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 8005B830 00058790 EC 04 00 7A */ fmadds f0, f4, f1, f0 +/* 8005B834 00058794 EC 16 00 24 */ fdivs f0, f22, f0 +/* 8005B838 00058798 EC 05 00 2A */ fadds f0, f5, f0 +/* 8005B83C 0005879C EC 45 00 24 */ fdivs f2, f5, f0 +/* 8005B840 000587A0 40 82 00 3C */ bne lbl_8005B87C +/* 8005B844 000587A4 2C 1C 00 00 */ cmpwi r28, 0 +/* 8005B848 000587A8 40 82 00 14 */ bne lbl_8005B85C +/* 8005B84C 000587AC C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005B850 000587B0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8005B854 000587B4 40 80 00 08 */ bge lbl_8005B85C +/* 8005B858 000587B8 FC 40 00 90 */ fmr f2, f0 +lbl_8005B85C: +/* 8005B85C 000587BC 80 7A 00 08 */ lwz r3, 8(r26) +/* 8005B860 000587C0 38 03 FF FE */ addi r0, r3, -2 +/* 8005B864 000587C4 7C 1C 00 00 */ cmpw r28, r0 +/* 8005B868 000587C8 40 82 00 14 */ bne lbl_8005B87C +/* 8005B86C 000587CC C0 02 86 BC */ lfs f0, lbl_805AA3DC@sda21(r2) +/* 8005B870 000587D0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8005B874 000587D4 40 81 00 08 */ ble lbl_8005B87C +/* 8005B878 000587D8 FC 40 00 90 */ fmr f2, f0 +lbl_8005B87C: +/* 8005B87C 000587DC FC 02 C0 40 */ fcmpo cr0, f2, f24 +/* 8005B880 000587E0 4C 41 13 82 */ cror 2, 1, 2 +/* 8005B884 000587E4 40 82 01 38 */ bne lbl_8005B9BC +/* 8005B888 000587E8 C0 02 86 BC */ lfs f0, lbl_805AA3DC@sda21(r2) +/* 8005B88C 000587EC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8005B890 000587F0 4C 40 13 82 */ cror 2, 0, 2 +/* 8005B894 000587F4 40 82 01 28 */ bne lbl_8005B9BC +/* 8005B898 000587F8 80 7A 00 08 */ lwz r3, 8(r26) +/* 8005B89C 000587FC 38 03 FF FF */ addi r0, r3, -1 +/* 8005B8A0 00058800 7C 1C 00 00 */ cmpw r28, r0 +/* 8005B8A4 00058804 40 82 00 18 */ bne lbl_8005B8BC +/* 8005B8A8 00058808 80 7A 00 30 */ lwz r3, 0x30(r26) +/* 8005B8AC 0005880C C0 3A 00 44 */ lfs f1, 0x44(r26) +/* 8005B8B0 00058810 7C 03 F4 2E */ lfsx f0, r3, r30 +/* 8005B8B4 00058814 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8005B8B8 00058818 48 00 00 1C */ b lbl_8005B8D4 +lbl_8005B8BC: +/* 8005B8BC 0005881C 38 1C 00 01 */ addi r0, r28, 1 +/* 8005B8C0 00058820 80 7A 00 30 */ lwz r3, 0x30(r26) +/* 8005B8C4 00058824 54 00 10 3A */ slwi r0, r0, 2 +/* 8005B8C8 00058828 7C 23 04 2E */ lfsx f1, r3, r0 +/* 8005B8CC 0005882C 7C 03 F4 2E */ lfsx f0, r3, r30 +/* 8005B8D0 00058830 EC 21 00 28 */ fsubs f1, f1, f0 +lbl_8005B8D4: +/* 8005B8D4 00058834 80 BA 00 30 */ lwz r5, 0x30(r26) +/* 8005B8D8 00058838 7F 44 D3 78 */ mr r4, r26 +/* 8005B8DC 0005883C 38 61 00 8C */ addi r3, r1, 0x8c +/* 8005B8E0 00058840 7C 05 F4 2E */ lfsx f0, r5, r30 +/* 8005B8E4 00058844 ED E2 00 7A */ fmadds f15, f2, f1, f0 +/* 8005B8E8 00058848 FC 20 78 90 */ fmr f1, f15 +/* 8005B8EC 0005884C 48 00 01 95 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf +/* 8005B8F0 00058850 C0 3B 00 04 */ lfs f1, 4(r27) +/* 8005B8F4 00058854 38 61 00 68 */ addi r3, r1, 0x68 +/* 8005B8F8 00058858 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 8005B8FC 0005885C C0 7B 00 08 */ lfs f3, 8(r27) +/* 8005B900 00058860 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 8005B904 00058864 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8005B908 00058868 C0 3B 00 00 */ lfs f1, 0(r27) +/* 8005B90C 0005886C C0 01 00 98 */ lfs f0, 0x98(r1) +/* 8005B910 00058870 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8005B914 00058874 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 8005B918 00058878 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8005B91C 0005887C C2 02 86 B8 */ lfs f16, lbl_805AA3D8@sda21(r2) +/* 8005B920 00058880 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8005B924 00058884 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8005B928 00058888 48 2B 8D D1 */ bl CanBeNormalized__9CVector3fCFv +/* 8005B92C 0005888C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005B930 00058890 41 82 00 10 */ beq lbl_8005B940 +/* 8005B934 00058894 38 61 00 68 */ addi r3, r1, 0x68 +/* 8005B938 00058898 48 2B 8F 81 */ bl Magnitude__9CVector3fCFv +/* 8005B93C 0005889C FE 00 08 90 */ fmr f16, f1 +lbl_8005B940: +/* 8005B940 000588A0 EC 0F C8 28 */ fsubs f0, f15, f25 +/* 8005B944 000588A4 88 1A 00 48 */ lbz r0, 0x48(r26) +/* 8005B948 000588A8 28 00 00 00 */ cmplwi r0, 0 +/* 8005B94C 000588AC FC 00 02 10 */ fabs f0, f0 +/* 8005B950 000588B0 FC 20 00 18 */ frsp f1, f0 +/* 8005B954 000588B4 FC 60 08 90 */ fmr f3, f1 +/* 8005B958 000588B8 41 82 00 18 */ beq lbl_8005B970 +/* 8005B95C 000588BC C0 1A 00 44 */ lfs f0, 0x44(r26) +/* 8005B960 000588C0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8005B964 000588C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005B968 000588C8 40 81 00 08 */ ble lbl_8005B970 +/* 8005B96C 000588CC FC 60 00 90 */ fmr f3, f0 +lbl_8005B970: +/* 8005B970 000588D0 EC 50 D0 28 */ fsubs f2, f16, f26 +/* 8005B974 000588D4 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) +/* 8005B978 000588D8 C0 02 86 E0 */ lfs f0, lbl_805AA400@sda21(r2) +/* 8005B97C 000588DC FC 40 12 10 */ fabs f2, f2 +/* 8005B980 000588E0 FC 40 10 18 */ frsp f2, f2 +/* 8005B984 000588E4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8005B988 000588E8 FC 20 0A 10 */ fabs f1, f1 +/* 8005B98C 000588EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005B990 000588F0 40 80 00 18 */ bge lbl_8005B9A8 +/* 8005B994 000588F4 FC 03 D8 40 */ fcmpo cr0, f3, f27 +/* 8005B998 000588F8 40 80 00 24 */ bge lbl_8005B9BC +/* 8005B99C 000588FC FF 80 78 90 */ fmr f28, f15 +/* 8005B9A0 00058900 FF 60 18 90 */ fmr f27, f3 +/* 8005B9A4 00058904 48 00 00 18 */ b lbl_8005B9BC +lbl_8005B9A8: +/* 8005B9A8 00058908 FC 10 D0 40 */ fcmpo cr0, f16, f26 +/* 8005B9AC 0005890C 40 80 00 10 */ bge lbl_8005B9BC +/* 8005B9B0 00058910 FF 80 78 90 */ fmr f28, f15 +/* 8005B9B4 00058914 FF 60 18 90 */ fmr f27, f3 +/* 8005B9B8 00058918 FF 40 80 90 */ fmr f26, f16 +lbl_8005B9BC: +/* 8005B9BC 0005891C 3B FF 00 0C */ addi r31, r31, 0xc +/* 8005B9C0 00058920 3B DE 00 04 */ addi r30, r30, 4 +/* 8005B9C4 00058924 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8005B9C8: +/* 8005B9C8 00058928 7C 1C E8 00 */ cmpw r28, r29 +/* 8005B9CC 0005892C 41 80 FA E0 */ blt lbl_8005B4AC +/* 8005B9D0 00058930 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005B9D4 00058934 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 8005B9D8 00058938 40 80 00 08 */ bge lbl_8005B9E0 +/* 8005B9DC 0005893C FF 80 00 90 */ fmr f28, f0 +lbl_8005B9E0: +/* 8005B9E0 00058940 FC 20 E0 90 */ fmr f1, f28 +/* 8005B9E4 00058944 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 8005B9E8 00058948 CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 8005B9EC 0005894C E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 8005B9F0 00058950 CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 8005B9F4 00058954 E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 +/* 8005B9F8 00058958 CB A1 01 C0 */ lfd f29, 0x1c0(r1) +/* 8005B9FC 0005895C E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 +/* 8005BA00 00058960 CB 81 01 B0 */ lfd f28, 0x1b0(r1) +/* 8005BA04 00058964 E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 +/* 8005BA08 00058968 CB 61 01 A0 */ lfd f27, 0x1a0(r1) +/* 8005BA0C 0005896C E3 41 01 98 */ psq_l f26, 408(r1), 0, qr0 +/* 8005BA10 00058970 CB 41 01 90 */ lfd f26, 0x190(r1) +/* 8005BA14 00058974 E3 21 01 88 */ psq_l f25, 392(r1), 0, qr0 +/* 8005BA18 00058978 CB 21 01 80 */ lfd f25, 0x180(r1) +/* 8005BA1C 0005897C E3 01 01 78 */ psq_l f24, 376(r1), 0, qr0 +/* 8005BA20 00058980 CB 01 01 70 */ lfd f24, 0x170(r1) +/* 8005BA24 00058984 E2 E1 01 68 */ psq_l f23, 360(r1), 0, qr0 +/* 8005BA28 00058988 CA E1 01 60 */ lfd f23, 0x160(r1) +/* 8005BA2C 0005898C E2 C1 01 58 */ psq_l f22, 344(r1), 0, qr0 +/* 8005BA30 00058990 CA C1 01 50 */ lfd f22, 0x150(r1) +/* 8005BA34 00058994 E2 A1 01 48 */ psq_l f21, 328(r1), 0, qr0 +/* 8005BA38 00058998 CA A1 01 40 */ lfd f21, 0x140(r1) +/* 8005BA3C 0005899C E2 81 01 38 */ psq_l f20, 312(r1), 0, qr0 +/* 8005BA40 000589A0 CA 81 01 30 */ lfd f20, 0x130(r1) +/* 8005BA44 000589A4 E2 61 01 28 */ psq_l f19, 296(r1), 0, qr0 +/* 8005BA48 000589A8 CA 61 01 20 */ lfd f19, 0x120(r1) +/* 8005BA4C 000589AC E2 41 01 18 */ psq_l f18, 280(r1), 0, qr0 +/* 8005BA50 000589B0 CA 41 01 10 */ lfd f18, 0x110(r1) +/* 8005BA54 000589B4 E2 21 01 08 */ psq_l f17, 264(r1), 0, qr0 +/* 8005BA58 000589B8 CA 21 01 00 */ lfd f17, 0x100(r1) +/* 8005BA5C 000589BC E2 01 00 F8 */ psq_l f16, 248(r1), 0, qr0 +/* 8005BA60 000589C0 CA 01 00 F0 */ lfd f16, 0xf0(r1) +/* 8005BA64 000589C4 E1 E1 00 E8 */ psq_l f15, 232(r1), 0, qr0 +/* 8005BA68 000589C8 C9 E1 00 E0 */ lfd f15, 0xe0(r1) +/* 8005BA6C 000589CC BB 41 00 C8 */ lmw r26, 0xc8(r1) +/* 8005BA70 000589D0 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 8005BA74 000589D4 7C 08 03 A6 */ mtlr r0 +/* 8005BA78 000589D8 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 8005BA7C 000589DC 4E 80 00 20 */ blr + +.global GetInterpolatedSplinePointByLength__13CCameraSplineCFf +GetInterpolatedSplinePointByLength__13CCameraSplineCFf: +/* 8005BA80 000589E0 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 8005BA84 000589E4 7C 08 02 A6 */ mflr r0 +/* 8005BA88 000589E8 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 8005BA8C 000589EC DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 8005BA90 000589F0 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 8005BA94 000589F4 93 E1 01 AC */ stw r31, 0x1ac(r1) +/* 8005BA98 000589F8 93 C1 01 A8 */ stw r30, 0x1a8(r1) +/* 8005BA9C 000589FC 93 A1 01 A4 */ stw r29, 0x1a4(r1) +/* 8005BAA0 00058A00 80 A4 00 08 */ lwz r5, 8(r4) +/* 8005BAA4 00058A04 7C 9E 23 78 */ mr r30, r4 +/* 8005BAA8 00058A08 7C 7D 1B 78 */ mr r29, r3 +/* 8005BAAC 00058A0C 2C 05 00 00 */ cmpwi r5, 0 +/* 8005BAB0 00058A10 40 81 04 EC */ ble lbl_8005BF9C +/* 8005BAB4 00058A14 38 05 FF FF */ addi r0, r5, -1 +/* 8005BAB8 00058A18 3B E0 00 00 */ li r31, 0 +/* 8005BABC 00058A1C 38 C0 00 01 */ li r6, 1 +/* 8005BAC0 00058A20 38 80 00 04 */ li r4, 4 +/* 8005BAC4 00058A24 7C 09 03 A6 */ mtctr r0 +/* 8005BAC8 00058A28 2C 05 00 01 */ cmpwi r5, 1 +/* 8005BACC 00058A2C 40 81 00 28 */ ble lbl_8005BAF4 +lbl_8005BAD0: +/* 8005BAD0 00058A30 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8005BAD4 00058A34 7C 03 24 2E */ lfsx f0, r3, r4 +/* 8005BAD8 00058A38 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8005BADC 00058A3C 40 81 00 0C */ ble lbl_8005BAE8 +/* 8005BAE0 00058A40 3B E6 FF FF */ addi r31, r6, -1 +/* 8005BAE4 00058A44 48 00 00 10 */ b lbl_8005BAF4 +lbl_8005BAE8: +/* 8005BAE8 00058A48 38 84 00 04 */ addi r4, r4, 4 +/* 8005BAEC 00058A4C 38 C6 00 01 */ addi r6, r6, 1 +/* 8005BAF0 00058A50 42 00 FF E0 */ bdnz lbl_8005BAD0 +lbl_8005BAF4: +/* 8005BAF4 00058A54 7C 06 28 00 */ cmpw r6, r5 +/* 8005BAF8 00058A58 40 82 00 08 */ bne lbl_8005BB00 +/* 8005BAFC 00058A5C 3B E6 FF FF */ addi r31, r6, -1 +lbl_8005BB00: +/* 8005BB00 00058A60 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005BB04 00058A64 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005BB08 00058A68 40 80 00 08 */ bge lbl_8005BB10 +/* 8005BB0C 00058A6C 3B E0 00 00 */ li r31, 0 +lbl_8005BB10: +/* 8005BB10 00058A70 C0 5E 00 44 */ lfs f2, 0x44(r30) +/* 8005BB14 00058A74 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 8005BB18 00058A78 4C 41 13 82 */ cror 2, 1, 2 +/* 8005BB1C 00058A7C 40 82 00 24 */ bne lbl_8005BB40 +/* 8005BB20 00058A80 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 8005BB24 00058A84 28 00 00 00 */ cmplwi r0, 0 +/* 8005BB28 00058A88 41 82 00 10 */ beq lbl_8005BB38 +/* 8005BB2C 00058A8C EC 21 10 28 */ fsubs f1, f1, f2 +/* 8005BB30 00058A90 3B E0 00 00 */ li r31, 0 +/* 8005BB34 00058A94 48 00 00 0C */ b lbl_8005BB40 +lbl_8005BB38: +/* 8005BB38 00058A98 3B E5 FF FE */ addi r31, r5, -2 +/* 8005BB3C 00058A9C FC 20 10 90 */ fmr f1, f2 +lbl_8005BB40: +/* 8005BB40 00058AA0 38 05 FF FF */ addi r0, r5, -1 +/* 8005BB44 00058AA4 7C 1F 00 00 */ cmpw r31, r0 +/* 8005BB48 00058AA8 40 82 00 3C */ bne lbl_8005BB84 +/* 8005BB4C 00058AAC 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 8005BB50 00058AB0 28 00 00 00 */ cmplwi r0, 0 +/* 8005BB54 00058AB4 41 82 00 18 */ beq lbl_8005BB6C +/* 8005BB58 00058AB8 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8005BB5C 00058ABC 57 E0 10 3A */ slwi r0, r31, 2 +/* 8005BB60 00058AC0 7C 03 04 2E */ lfsx f0, r3, r0 +/* 8005BB64 00058AC4 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8005BB68 00058AC8 48 00 00 38 */ b lbl_8005BBA0 +lbl_8005BB6C: +/* 8005BB6C 00058ACC 38 05 FF FE */ addi r0, r5, -2 +/* 8005BB70 00058AD0 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8005BB74 00058AD4 54 00 10 3A */ slwi r0, r0, 2 +/* 8005BB78 00058AD8 7C 03 04 2E */ lfsx f0, r3, r0 +/* 8005BB7C 00058ADC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8005BB80 00058AE0 48 00 00 20 */ b lbl_8005BBA0 +lbl_8005BB84: +/* 8005BB84 00058AE4 38 1F 00 01 */ addi r0, r31, 1 +/* 8005BB88 00058AE8 80 9E 00 30 */ lwz r4, 0x30(r30) +/* 8005BB8C 00058AEC 57 E3 10 3A */ slwi r3, r31, 2 +/* 8005BB90 00058AF0 54 00 10 3A */ slwi r0, r0, 2 +/* 8005BB94 00058AF4 7C 04 1C 2E */ lfsx f0, r4, r3 +/* 8005BB98 00058AF8 7C 44 04 2E */ lfsx f2, r4, r0 +/* 8005BB9C 00058AFC EC 42 00 28 */ fsubs f2, f2, f0 +lbl_8005BBA0: +/* 8005BBA0 00058B00 80 BE 00 30 */ lwz r5, 0x30(r30) +/* 8005BBA4 00058B04 57 E0 10 3A */ slwi r0, r31, 2 +/* 8005BBA8 00058B08 38 81 00 0C */ addi r4, r1, 0xc +/* 8005BBAC 00058B0C 38 6D 82 C8 */ addi r3, r13, lbl_805A6E88@sda21 +/* 8005BBB0 00058B10 7C 05 04 2E */ lfsx f0, r5, r0 +/* 8005BBB4 00058B14 38 AD 82 CC */ addi r5, r13, lbl_805A6E8C@sda21 +/* 8005BBB8 00058B18 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8005BBBC 00058B1C EC 00 10 24 */ fdivs f0, f0, f2 +/* 8005BBC0 00058B20 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8005BBC4 00058B24 4B FB 06 F1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8005BBC8 00058B28 C3 E3 00 00 */ lfs f31, 0(r3) +/* 8005BBCC 00058B2C 38 00 00 00 */ li r0, 0 +/* 8005BBD0 00058B30 7F C3 F3 78 */ mr r3, r30 +/* 8005BBD4 00058B34 7F E4 FB 78 */ mr r4, r31 +/* 8005BBD8 00058B38 90 01 01 6C */ stw r0, 0x16c(r1) +/* 8005BBDC 00058B3C 38 A1 01 6C */ addi r5, r1, 0x16c +/* 8005BBE0 00058B40 38 C1 01 38 */ addi r6, r1, 0x138 +/* 8005BBE4 00058B44 90 01 01 38 */ stw r0, 0x138(r1) +/* 8005BBE8 00058B48 48 00 0C 21 */ bl "GetSurroundingPoints__13CCameraSplineFiRQ24rstl27reserved_vector<9CVector3f>RQ24rstl27reserved_vector<9CVector3f>" +/* 8005BBEC 00058B4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005BBF0 00058B50 41 82 03 08 */ beq lbl_8005BEF8 +/* 8005BBF4 00058B54 C0 21 01 4C */ lfs f1, 0x14c(r1) +/* 8005BBF8 00058B58 3B C1 01 54 */ addi r30, r1, 0x154 +/* 8005BBFC 00058B5C C0 01 01 58 */ lfs f0, 0x158(r1) +/* 8005BC00 00058B60 3B E1 01 48 */ addi r31, r1, 0x148 +/* 8005BC04 00058B64 C0 41 01 48 */ lfs f2, 0x148(r1) +/* 8005BC08 00058B68 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8005BC0C 00058B6C C0 21 01 54 */ lfs f1, 0x154(r1) +/* 8005BC10 00058B70 C0 81 01 50 */ lfs f4, 0x150(r1) +/* 8005BC14 00058B74 C0 61 01 5C */ lfs f3, 0x15c(r1) +/* 8005BC18 00058B78 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8005BC1C 00058B7C C8 02 86 C8 */ lfd f0, lbl_805AA3E8@sda21(r2) +/* 8005BC20 00058B80 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8005BC24 00058B84 FC 40 0A 10 */ fabs f2, f1 +/* 8005BC28 00058B88 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8005BC2C 00058B8C 40 81 00 14 */ ble lbl_8005BC40 +/* 8005BC30 00058B90 C0 02 86 D0 */ lfs f0, lbl_805AA3F0@sda21(r2) +/* 8005BC34 00058B94 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) +/* 8005BC38 00058B98 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 8005BC3C 00058B9C EC 22 00 32 */ fmuls f1, f2, f0 +lbl_8005BC40: +/* 8005BC40 00058BA0 C0 02 86 E8 */ lfs f0, lbl_805AA408@sda21(r2) +/* 8005BC44 00058BA4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005BC48 00058BA8 4C 41 13 82 */ cror 2, 1, 2 +/* 8005BC4C 00058BAC 40 82 01 14 */ bne lbl_8005BD60 +/* 8005BC50 00058BB0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8005BC54 00058BB4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8005BC58 00058BB8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8005BC5C 00058BBC 7F C5 F3 78 */ mr r5, r30 +/* 8005BC60 00058BC0 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8005BC64 00058BC4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8005BC68 00058BC8 48 2B 7E A9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8005BC6C 00058BCC 38 61 01 08 */ addi r3, r1, 0x108 +/* 8005BC70 00058BD0 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8005BC74 00058BD4 48 2B 6F 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8005BC78 00058BD8 FC 20 F8 90 */ fmr f1, f31 +/* 8005BC7C 00058BDC 38 81 01 70 */ addi r4, r1, 0x170 +/* 8005BC80 00058BE0 38 E4 00 24 */ addi r7, r4, 0x24 +/* 8005BC84 00058BE4 38 61 00 50 */ addi r3, r1, 0x50 +/* 8005BC88 00058BE8 38 A4 00 0C */ addi r5, r4, 0xc +/* 8005BC8C 00058BEC 38 C4 00 18 */ addi r6, r4, 0x18 +/* 8005BC90 00058BF0 48 2B 94 35 */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8005BC94 00058BF4 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 8005BC98 00058BF8 7F A3 EB 78 */ mr r3, r29 +/* 8005BC9C 00058BFC C0 21 00 54 */ lfs f1, 0x54(r1) +/* 8005BCA0 00058C00 38 81 01 08 */ addi r4, r1, 0x108 +/* 8005BCA4 00058C04 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8005BCA8 00058C08 D0 41 01 14 */ stfs f2, 0x114(r1) +/* 8005BCAC 00058C0C D0 21 01 24 */ stfs f1, 0x124(r1) +/* 8005BCB0 00058C10 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 8005BCB4 00058C14 48 2B 6E C1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8005BCB8 00058C18 80 A1 01 38 */ lwz r5, 0x138(r1) +/* 8005BCBC 00058C1C 38 60 00 00 */ li r3, 0 +/* 8005BCC0 00058C20 2C 05 00 00 */ cmpwi r5, 0 +/* 8005BCC4 00058C24 40 81 00 40 */ ble lbl_8005BD04 +/* 8005BCC8 00058C28 2C 05 00 08 */ cmpwi r5, 8 +/* 8005BCCC 00058C2C 38 85 FF F8 */ addi r4, r5, -8 +/* 8005BCD0 00058C30 40 81 00 20 */ ble lbl_8005BCF0 +/* 8005BCD4 00058C34 38 04 00 07 */ addi r0, r4, 7 +/* 8005BCD8 00058C38 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005BCDC 00058C3C 7C 09 03 A6 */ mtctr r0 +/* 8005BCE0 00058C40 2C 04 00 00 */ cmpwi r4, 0 +/* 8005BCE4 00058C44 40 81 00 0C */ ble lbl_8005BCF0 +lbl_8005BCE8: +/* 8005BCE8 00058C48 38 63 00 08 */ addi r3, r3, 8 +/* 8005BCEC 00058C4C 42 00 FF FC */ bdnz lbl_8005BCE8 +lbl_8005BCF0: +/* 8005BCF0 00058C50 7C 03 28 50 */ subf r0, r3, r5 +/* 8005BCF4 00058C54 7C 09 03 A6 */ mtctr r0 +/* 8005BCF8 00058C58 7C 03 28 00 */ cmpw r3, r5 +/* 8005BCFC 00058C5C 40 80 00 08 */ bge lbl_8005BD04 +lbl_8005BD00: +/* 8005BD00 00058C60 42 00 00 00 */ bdnz lbl_8005BD00 +lbl_8005BD04: +/* 8005BD04 00058C64 80 A1 01 6C */ lwz r5, 0x16c(r1) +/* 8005BD08 00058C68 38 60 00 00 */ li r3, 0 +/* 8005BD0C 00058C6C 90 61 01 38 */ stw r3, 0x138(r1) +/* 8005BD10 00058C70 2C 05 00 00 */ cmpwi r5, 0 +/* 8005BD14 00058C74 40 81 00 40 */ ble lbl_8005BD54 +/* 8005BD18 00058C78 2C 05 00 08 */ cmpwi r5, 8 +/* 8005BD1C 00058C7C 38 85 FF F8 */ addi r4, r5, -8 +/* 8005BD20 00058C80 40 81 00 20 */ ble lbl_8005BD40 +/* 8005BD24 00058C84 38 04 00 07 */ addi r0, r4, 7 +/* 8005BD28 00058C88 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005BD2C 00058C8C 7C 09 03 A6 */ mtctr r0 +/* 8005BD30 00058C90 2C 04 00 00 */ cmpwi r4, 0 +/* 8005BD34 00058C94 40 81 00 0C */ ble lbl_8005BD40 +lbl_8005BD38: +/* 8005BD38 00058C98 38 63 00 08 */ addi r3, r3, 8 +/* 8005BD3C 00058C9C 42 00 FF FC */ bdnz lbl_8005BD38 +lbl_8005BD40: +/* 8005BD40 00058CA0 7C 03 28 50 */ subf r0, r3, r5 +/* 8005BD44 00058CA4 7C 09 03 A6 */ mtctr r0 +/* 8005BD48 00058CA8 7C 03 28 00 */ cmpw r3, r5 +/* 8005BD4C 00058CAC 40 80 00 08 */ bge lbl_8005BD54 +lbl_8005BD50: +/* 8005BD50 00058CB0 42 00 00 00 */ bdnz lbl_8005BD50 +lbl_8005BD54: +/* 8005BD54 00058CB4 38 00 00 00 */ li r0, 0 +/* 8005BD58 00058CB8 90 01 01 6C */ stw r0, 0x16c(r1) +/* 8005BD5C 00058CBC 48 00 02 50 */ b lbl_8005BFAC +lbl_8005BD60: +/* 8005BD60 00058CC0 48 33 8E CD */ bl acos +/* 8005BD64 00058CC4 FC 00 08 18 */ frsp f0, f1 +/* 8005BD68 00058CC8 7F C4 F3 78 */ mr r4, r30 +/* 8005BD6C 00058CCC 38 61 00 28 */ addi r3, r1, 0x28 +/* 8005BD70 00058CD0 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8005BD74 00058CD4 D0 01 00 08 */ stfs f0, 8(r1) +/* 8005BD78 00058CD8 48 2B 80 59 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8005BD7C 00058CDC 7C 7E 1B 78 */ mr r30, r3 +/* 8005BD80 00058CE0 7F E4 FB 78 */ mr r4, r31 +/* 8005BD84 00058CE4 38 61 00 34 */ addi r3, r1, 0x34 +/* 8005BD88 00058CE8 48 2B 80 49 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8005BD8C 00058CEC 7C 64 1B 78 */ mr r4, r3 +/* 8005BD90 00058CF0 7F C5 F3 78 */ mr r5, r30 +/* 8005BD94 00058CF4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8005BD98 00058CF8 38 C1 00 08 */ addi r6, r1, 8 +/* 8005BD9C 00058CFC 48 2B 58 F9 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 8005BDA0 00058D00 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 8005BDA4 00058D04 7F E5 FB 78 */ mr r5, r31 +/* 8005BDA8 00058D08 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8005BDAC 00058D0C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8005BDB0 00058D10 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8005BDB4 00058D14 38 81 00 68 */ addi r4, r1, 0x68 +/* 8005BDB8 00058D18 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8005BDBC 00058D1C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 8005BDC0 00058D20 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8005BDC4 00058D24 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8005BDC8 00058D28 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8005BDCC 00058D2C 48 2B 54 99 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 8005BDD0 00058D30 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8005BDD4 00058D34 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8005BDD8 00058D38 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8005BDDC 00058D3C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8005BDE0 00058D40 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8005BDE4 00058D44 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8005BDE8 00058D48 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 8005BDEC 00058D4C 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8005BDF0 00058D50 38 61 00 78 */ addi r3, r1, 0x78 +/* 8005BDF4 00058D54 38 A1 00 5C */ addi r5, r1, 0x5c +/* 8005BDF8 00058D58 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8005BDFC 00058D5C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8005BE00 00058D60 48 2B 7D 11 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8005BE04 00058D64 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8005BE08 00058D68 38 81 00 78 */ addi r4, r1, 0x78 +/* 8005BE0C 00058D6C 48 2B 6D 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8005BE10 00058D70 FC 20 F8 90 */ fmr f1, f31 +/* 8005BE14 00058D74 38 81 01 70 */ addi r4, r1, 0x170 +/* 8005BE18 00058D78 38 E4 00 24 */ addi r7, r4, 0x24 +/* 8005BE1C 00058D7C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8005BE20 00058D80 38 A4 00 0C */ addi r5, r4, 0xc +/* 8005BE24 00058D84 38 C4 00 18 */ addi r6, r4, 0x18 +/* 8005BE28 00058D88 48 2B 92 9D */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8005BE2C 00058D8C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8005BE30 00058D90 7F A3 EB 78 */ mr r3, r29 +/* 8005BE34 00058D94 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8005BE38 00058D98 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8005BE3C 00058D9C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8005BE40 00058DA0 D0 41 00 E4 */ stfs f2, 0xe4(r1) +/* 8005BE44 00058DA4 D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 8005BE48 00058DA8 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 8005BE4C 00058DAC 48 2B 6D 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8005BE50 00058DB0 80 A1 01 38 */ lwz r5, 0x138(r1) +/* 8005BE54 00058DB4 38 60 00 00 */ li r3, 0 +/* 8005BE58 00058DB8 2C 05 00 00 */ cmpwi r5, 0 +/* 8005BE5C 00058DBC 40 81 00 40 */ ble lbl_8005BE9C +/* 8005BE60 00058DC0 2C 05 00 08 */ cmpwi r5, 8 +/* 8005BE64 00058DC4 38 85 FF F8 */ addi r4, r5, -8 +/* 8005BE68 00058DC8 40 81 00 20 */ ble lbl_8005BE88 +/* 8005BE6C 00058DCC 38 04 00 07 */ addi r0, r4, 7 +/* 8005BE70 00058DD0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005BE74 00058DD4 7C 09 03 A6 */ mtctr r0 +/* 8005BE78 00058DD8 2C 04 00 00 */ cmpwi r4, 0 +/* 8005BE7C 00058DDC 40 81 00 0C */ ble lbl_8005BE88 +lbl_8005BE80: +/* 8005BE80 00058DE0 38 63 00 08 */ addi r3, r3, 8 +/* 8005BE84 00058DE4 42 00 FF FC */ bdnz lbl_8005BE80 +lbl_8005BE88: +/* 8005BE88 00058DE8 7C 03 28 50 */ subf r0, r3, r5 +/* 8005BE8C 00058DEC 7C 09 03 A6 */ mtctr r0 +/* 8005BE90 00058DF0 7C 03 28 00 */ cmpw r3, r5 +/* 8005BE94 00058DF4 40 80 00 08 */ bge lbl_8005BE9C +lbl_8005BE98: +/* 8005BE98 00058DF8 42 00 00 00 */ bdnz lbl_8005BE98 +lbl_8005BE9C: +/* 8005BE9C 00058DFC 80 A1 01 6C */ lwz r5, 0x16c(r1) +/* 8005BEA0 00058E00 38 60 00 00 */ li r3, 0 +/* 8005BEA4 00058E04 90 61 01 38 */ stw r3, 0x138(r1) +/* 8005BEA8 00058E08 2C 05 00 00 */ cmpwi r5, 0 +/* 8005BEAC 00058E0C 40 81 00 40 */ ble lbl_8005BEEC +/* 8005BEB0 00058E10 2C 05 00 08 */ cmpwi r5, 8 +/* 8005BEB4 00058E14 38 85 FF F8 */ addi r4, r5, -8 +/* 8005BEB8 00058E18 40 81 00 20 */ ble lbl_8005BED8 +/* 8005BEBC 00058E1C 38 04 00 07 */ addi r0, r4, 7 +/* 8005BEC0 00058E20 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005BEC4 00058E24 7C 09 03 A6 */ mtctr r0 +/* 8005BEC8 00058E28 2C 04 00 00 */ cmpwi r4, 0 +/* 8005BECC 00058E2C 40 81 00 0C */ ble lbl_8005BED8 +lbl_8005BED0: +/* 8005BED0 00058E30 38 63 00 08 */ addi r3, r3, 8 +/* 8005BED4 00058E34 42 00 FF FC */ bdnz lbl_8005BED0 +lbl_8005BED8: +/* 8005BED8 00058E38 7C 03 28 50 */ subf r0, r3, r5 +/* 8005BEDC 00058E3C 7C 09 03 A6 */ mtctr r0 +/* 8005BEE0 00058E40 7C 03 28 00 */ cmpw r3, r5 +/* 8005BEE4 00058E44 40 80 00 08 */ bge lbl_8005BEEC +lbl_8005BEE8: +/* 8005BEE8 00058E48 42 00 00 00 */ bdnz lbl_8005BEE8 +lbl_8005BEEC: +/* 8005BEEC 00058E4C 38 00 00 00 */ li r0, 0 +/* 8005BEF0 00058E50 90 01 01 6C */ stw r0, 0x16c(r1) +/* 8005BEF4 00058E54 48 00 00 B8 */ b lbl_8005BFAC +lbl_8005BEF8: +/* 8005BEF8 00058E58 80 A1 01 38 */ lwz r5, 0x138(r1) +/* 8005BEFC 00058E5C 38 60 00 00 */ li r3, 0 +/* 8005BF00 00058E60 2C 05 00 00 */ cmpwi r5, 0 +/* 8005BF04 00058E64 40 81 00 40 */ ble lbl_8005BF44 +/* 8005BF08 00058E68 2C 05 00 08 */ cmpwi r5, 8 +/* 8005BF0C 00058E6C 38 85 FF F8 */ addi r4, r5, -8 +/* 8005BF10 00058E70 40 81 00 20 */ ble lbl_8005BF30 +/* 8005BF14 00058E74 38 04 00 07 */ addi r0, r4, 7 +/* 8005BF18 00058E78 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005BF1C 00058E7C 7C 09 03 A6 */ mtctr r0 +/* 8005BF20 00058E80 2C 04 00 00 */ cmpwi r4, 0 +/* 8005BF24 00058E84 40 81 00 0C */ ble lbl_8005BF30 +lbl_8005BF28: +/* 8005BF28 00058E88 38 63 00 08 */ addi r3, r3, 8 +/* 8005BF2C 00058E8C 42 00 FF FC */ bdnz lbl_8005BF28 +lbl_8005BF30: +/* 8005BF30 00058E90 7C 03 28 50 */ subf r0, r3, r5 +/* 8005BF34 00058E94 7C 09 03 A6 */ mtctr r0 +/* 8005BF38 00058E98 7C 03 28 00 */ cmpw r3, r5 +/* 8005BF3C 00058E9C 40 80 00 08 */ bge lbl_8005BF44 +lbl_8005BF40: +/* 8005BF40 00058EA0 42 00 00 00 */ bdnz lbl_8005BF40 +lbl_8005BF44: +/* 8005BF44 00058EA4 80 A1 01 6C */ lwz r5, 0x16c(r1) +/* 8005BF48 00058EA8 38 60 00 00 */ li r3, 0 +/* 8005BF4C 00058EAC 90 61 01 38 */ stw r3, 0x138(r1) +/* 8005BF50 00058EB0 2C 05 00 00 */ cmpwi r5, 0 +/* 8005BF54 00058EB4 40 81 00 40 */ ble lbl_8005BF94 +/* 8005BF58 00058EB8 2C 05 00 08 */ cmpwi r5, 8 +/* 8005BF5C 00058EBC 38 85 FF F8 */ addi r4, r5, -8 +/* 8005BF60 00058EC0 40 81 00 20 */ ble lbl_8005BF80 +/* 8005BF64 00058EC4 38 04 00 07 */ addi r0, r4, 7 +/* 8005BF68 00058EC8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005BF6C 00058ECC 7C 09 03 A6 */ mtctr r0 +/* 8005BF70 00058ED0 2C 04 00 00 */ cmpwi r4, 0 +/* 8005BF74 00058ED4 40 81 00 0C */ ble lbl_8005BF80 +lbl_8005BF78: +/* 8005BF78 00058ED8 38 63 00 08 */ addi r3, r3, 8 +/* 8005BF7C 00058EDC 42 00 FF FC */ bdnz lbl_8005BF78 +lbl_8005BF80: +/* 8005BF80 00058EE0 7C 03 28 50 */ subf r0, r3, r5 +/* 8005BF84 00058EE4 7C 09 03 A6 */ mtctr r0 +/* 8005BF88 00058EE8 7C 03 28 00 */ cmpw r3, r5 +/* 8005BF8C 00058EEC 40 80 00 08 */ bge lbl_8005BF94 +lbl_8005BF90: +/* 8005BF90 00058EF0 42 00 00 00 */ bdnz lbl_8005BF90 +lbl_8005BF94: +/* 8005BF94 00058EF4 38 00 00 00 */ li r0, 0 +/* 8005BF98 00058EF8 90 01 01 6C */ stw r0, 0x16c(r1) +lbl_8005BF9C: +/* 8005BF9C 00058EFC 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8005BFA0 00058F00 7F A3 EB 78 */ mr r3, r29 +/* 8005BFA4 00058F04 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8005BFA8 00058F08 48 2B 6B CD */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8005BFAC: +/* 8005BFAC 00058F0C E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 +/* 8005BFB0 00058F10 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 8005BFB4 00058F14 CB E1 01 B0 */ lfd f31, 0x1b0(r1) +/* 8005BFB8 00058F18 83 E1 01 AC */ lwz r31, 0x1ac(r1) +/* 8005BFBC 00058F1C 83 C1 01 A8 */ lwz r30, 0x1a8(r1) +/* 8005BFC0 00058F20 83 A1 01 A4 */ lwz r29, 0x1a4(r1) +/* 8005BFC4 00058F24 7C 08 03 A6 */ mtlr r0 +/* 8005BFC8 00058F28 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 8005BFCC 00058F2C 4E 80 00 20 */ blr + +.global GetInterpolatedSplinePointByTime__13CCameraSplineCFff +GetInterpolatedSplinePointByTime__13CCameraSplineCFff: +/* 8005BFD0 00058F30 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8005BFD4 00058F34 7C 08 02 A6 */ mflr r0 +/* 8005BFD8 00058F38 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8005BFDC 00058F3C DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8005BFE0 00058F40 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8005BFE4 00058F44 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8005BFE8 00058F48 80 C4 00 08 */ lwz r6, 8(r4) +/* 8005BFEC 00058F4C 7C 7F 1B 78 */ mr r31, r3 +/* 8005BFF0 00058F50 2C 06 00 00 */ cmpwi r6, 0 +/* 8005BFF4 00058F54 40 81 01 FC */ ble lbl_8005C1F0 +/* 8005BFF8 00058F58 38 A6 FF FF */ addi r5, r6, -1 +/* 8005BFFC 00058F5C 3C 00 43 30 */ lis r0, 0x4330 +/* 8005C000 00058F60 6C A3 80 00 */ xoris r3, r5, 0x8000 +/* 8005C004 00058F64 90 01 00 70 */ stw r0, 0x70(r1) +/* 8005C008 00058F68 C8 62 86 F0 */ lfd f3, lbl_805AA410@sda21(r2) +/* 8005C00C 00058F6C 90 61 00 74 */ stw r3, 0x74(r1) +/* 8005C010 00058F70 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8005C014 00058F74 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8005C018 00058F78 EC 62 00 24 */ fdivs f3, f2, f0 +/* 8005C01C 00058F7C EC 01 18 24 */ fdivs f0, f1, f3 +/* 8005C020 00058F80 FC 00 00 1E */ fctiwz f0, f0 +/* 8005C024 00058F84 D8 01 00 78 */ stfd f0, 0x78(r1) +/* 8005C028 00058F88 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8005C02C 00058F8C 7C 00 30 00 */ cmpw r0, r6 +/* 8005C030 00058F90 7C 06 03 78 */ mr r6, r0 +/* 8005C034 00058F94 41 80 00 08 */ blt lbl_8005C03C +/* 8005C038 00058F98 7C A6 2B 78 */ mr r6, r5 +lbl_8005C03C: +/* 8005C03C 00058F9C 6C C0 80 00 */ xoris r0, r6, 0x8000 +/* 8005C040 00058FA0 3C A0 43 30 */ lis r5, 0x4330 +/* 8005C044 00058FA4 90 01 00 84 */ stw r0, 0x84(r1) +/* 8005C048 00058FA8 38 00 00 00 */ li r0, 0 +/* 8005C04C 00058FAC C8 42 86 F0 */ lfd f2, lbl_805AA410@sda21(r2) +/* 8005C050 00058FB0 7C 83 23 78 */ mr r3, r4 +/* 8005C054 00058FB4 90 A1 00 80 */ stw r5, 0x80(r1) +/* 8005C058 00058FB8 7C C4 33 78 */ mr r4, r6 +/* 8005C05C 00058FBC 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8005C060 00058FC0 38 C1 00 08 */ addi r6, r1, 8 +/* 8005C064 00058FC4 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 8005C068 00058FC8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8005C06C 00058FCC EC 00 10 28 */ fsubs f0, f0, f2 +/* 8005C070 00058FD0 90 01 00 08 */ stw r0, 8(r1) +/* 8005C074 00058FD4 EC 00 08 FC */ fnmsubs f0, f0, f3, f1 +/* 8005C078 00058FD8 EF E0 18 24 */ fdivs f31, f0, f3 +/* 8005C07C 00058FDC 48 00 07 8D */ bl "GetSurroundingPoints__13CCameraSplineFiRQ24rstl27reserved_vector<9CVector3f>RQ24rstl27reserved_vector<9CVector3f>" +/* 8005C080 00058FE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005C084 00058FE4 41 82 00 C8 */ beq lbl_8005C14C +/* 8005C088 00058FE8 FC 20 F8 90 */ fmr f1, f31 +/* 8005C08C 00058FEC 38 81 00 40 */ addi r4, r1, 0x40 +/* 8005C090 00058FF0 38 E4 00 24 */ addi r7, r4, 0x24 +/* 8005C094 00058FF4 7F E3 FB 78 */ mr r3, r31 +/* 8005C098 00058FF8 38 A4 00 0C */ addi r5, r4, 0xc +/* 8005C09C 00058FFC 38 C4 00 18 */ addi r6, r4, 0x18 +/* 8005C0A0 00059000 48 2B 90 25 */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8005C0A4 00059004 80 A1 00 08 */ lwz r5, 8(r1) +/* 8005C0A8 00059008 38 60 00 00 */ li r3, 0 +/* 8005C0AC 0005900C 2C 05 00 00 */ cmpwi r5, 0 +/* 8005C0B0 00059010 40 81 00 40 */ ble lbl_8005C0F0 +/* 8005C0B4 00059014 2C 05 00 08 */ cmpwi r5, 8 +/* 8005C0B8 00059018 38 85 FF F8 */ addi r4, r5, -8 +/* 8005C0BC 0005901C 40 81 00 20 */ ble lbl_8005C0DC +/* 8005C0C0 00059020 38 04 00 07 */ addi r0, r4, 7 +/* 8005C0C4 00059024 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005C0C8 00059028 7C 09 03 A6 */ mtctr r0 +/* 8005C0CC 0005902C 2C 04 00 00 */ cmpwi r4, 0 +/* 8005C0D0 00059030 40 81 00 0C */ ble lbl_8005C0DC +lbl_8005C0D4: +/* 8005C0D4 00059034 38 63 00 08 */ addi r3, r3, 8 +/* 8005C0D8 00059038 42 00 FF FC */ bdnz lbl_8005C0D4 +lbl_8005C0DC: +/* 8005C0DC 0005903C 7C 03 28 50 */ subf r0, r3, r5 +/* 8005C0E0 00059040 7C 09 03 A6 */ mtctr r0 +/* 8005C0E4 00059044 7C 03 28 00 */ cmpw r3, r5 +/* 8005C0E8 00059048 40 80 00 08 */ bge lbl_8005C0F0 +lbl_8005C0EC: +/* 8005C0EC 0005904C 42 00 00 00 */ bdnz lbl_8005C0EC +lbl_8005C0F0: +/* 8005C0F0 00059050 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 8005C0F4 00059054 38 60 00 00 */ li r3, 0 +/* 8005C0F8 00059058 90 61 00 08 */ stw r3, 8(r1) +/* 8005C0FC 0005905C 2C 05 00 00 */ cmpwi r5, 0 +/* 8005C100 00059060 40 81 00 40 */ ble lbl_8005C140 +/* 8005C104 00059064 2C 05 00 08 */ cmpwi r5, 8 +/* 8005C108 00059068 38 85 FF F8 */ addi r4, r5, -8 +/* 8005C10C 0005906C 40 81 00 20 */ ble lbl_8005C12C +/* 8005C110 00059070 38 04 00 07 */ addi r0, r4, 7 +/* 8005C114 00059074 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005C118 00059078 7C 09 03 A6 */ mtctr r0 +/* 8005C11C 0005907C 2C 04 00 00 */ cmpwi r4, 0 +/* 8005C120 00059080 40 81 00 0C */ ble lbl_8005C12C +lbl_8005C124: +/* 8005C124 00059084 38 63 00 08 */ addi r3, r3, 8 +/* 8005C128 00059088 42 00 FF FC */ bdnz lbl_8005C124 +lbl_8005C12C: +/* 8005C12C 0005908C 7C 03 28 50 */ subf r0, r3, r5 +/* 8005C130 00059090 7C 09 03 A6 */ mtctr r0 +/* 8005C134 00059094 7C 03 28 00 */ cmpw r3, r5 +/* 8005C138 00059098 40 80 00 08 */ bge lbl_8005C140 +lbl_8005C13C: +/* 8005C13C 0005909C 42 00 00 00 */ bdnz lbl_8005C13C +lbl_8005C140: +/* 8005C140 000590A0 38 00 00 00 */ li r0, 0 +/* 8005C144 000590A4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8005C148 000590A8 48 00 00 C4 */ b lbl_8005C20C +lbl_8005C14C: +/* 8005C14C 000590AC 80 A1 00 08 */ lwz r5, 8(r1) +/* 8005C150 000590B0 38 60 00 00 */ li r3, 0 +/* 8005C154 000590B4 2C 05 00 00 */ cmpwi r5, 0 +/* 8005C158 000590B8 40 81 00 40 */ ble lbl_8005C198 +/* 8005C15C 000590BC 2C 05 00 08 */ cmpwi r5, 8 +/* 8005C160 000590C0 38 85 FF F8 */ addi r4, r5, -8 +/* 8005C164 000590C4 40 81 00 20 */ ble lbl_8005C184 +/* 8005C168 000590C8 38 04 00 07 */ addi r0, r4, 7 +/* 8005C16C 000590CC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005C170 000590D0 7C 09 03 A6 */ mtctr r0 +/* 8005C174 000590D4 2C 04 00 00 */ cmpwi r4, 0 +/* 8005C178 000590D8 40 81 00 0C */ ble lbl_8005C184 +lbl_8005C17C: +/* 8005C17C 000590DC 38 63 00 08 */ addi r3, r3, 8 +/* 8005C180 000590E0 42 00 FF FC */ bdnz lbl_8005C17C +lbl_8005C184: +/* 8005C184 000590E4 7C 03 28 50 */ subf r0, r3, r5 +/* 8005C188 000590E8 7C 09 03 A6 */ mtctr r0 +/* 8005C18C 000590EC 7C 03 28 00 */ cmpw r3, r5 +/* 8005C190 000590F0 40 80 00 08 */ bge lbl_8005C198 +lbl_8005C194: +/* 8005C194 000590F4 42 00 00 00 */ bdnz lbl_8005C194 +lbl_8005C198: +/* 8005C198 000590F8 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 8005C19C 000590FC 38 60 00 00 */ li r3, 0 +/* 8005C1A0 00059100 90 61 00 08 */ stw r3, 8(r1) +/* 8005C1A4 00059104 2C 05 00 00 */ cmpwi r5, 0 +/* 8005C1A8 00059108 40 81 00 40 */ ble lbl_8005C1E8 +/* 8005C1AC 0005910C 2C 05 00 08 */ cmpwi r5, 8 +/* 8005C1B0 00059110 38 85 FF F8 */ addi r4, r5, -8 +/* 8005C1B4 00059114 40 81 00 20 */ ble lbl_8005C1D4 +/* 8005C1B8 00059118 38 04 00 07 */ addi r0, r4, 7 +/* 8005C1BC 0005911C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8005C1C0 00059120 7C 09 03 A6 */ mtctr r0 +/* 8005C1C4 00059124 2C 04 00 00 */ cmpwi r4, 0 +/* 8005C1C8 00059128 40 81 00 0C */ ble lbl_8005C1D4 +lbl_8005C1CC: +/* 8005C1CC 0005912C 38 63 00 08 */ addi r3, r3, 8 +/* 8005C1D0 00059130 42 00 FF FC */ bdnz lbl_8005C1CC +lbl_8005C1D4: +/* 8005C1D4 00059134 7C 03 28 50 */ subf r0, r3, r5 +/* 8005C1D8 00059138 7C 09 03 A6 */ mtctr r0 +/* 8005C1DC 0005913C 7C 03 28 00 */ cmpw r3, r5 +/* 8005C1E0 00059140 40 80 00 08 */ bge lbl_8005C1E8 +lbl_8005C1E4: +/* 8005C1E4 00059144 42 00 00 00 */ bdnz lbl_8005C1E4 +lbl_8005C1E8: +/* 8005C1E8 00059148 38 00 00 00 */ li r0, 0 +/* 8005C1EC 0005914C 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_8005C1F0: +/* 8005C1F0 00059150 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8005C1F4 00059154 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8005C1F8 00059158 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8005C1FC 0005915C C0 03 00 04 */ lfs f0, 4(r3) +/* 8005C200 00059160 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8005C204 00059164 C0 03 00 08 */ lfs f0, 8(r3) +/* 8005C208 00059168 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_8005C20C: +/* 8005C20C 0005916C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8005C210 00059170 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8005C214 00059174 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8005C218 00059178 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8005C21C 0005917C 7C 08 03 A6 */ mtlr r0 +/* 8005C220 00059180 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8005C224 00059184 4E 80 00 20 */ blr + +.global ValidateLength__13CCameraSplineCFf +ValidateLength__13CCameraSplineCFf: +/* 8005C228 00059188 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005C22C 0005918C 7C 08 02 A6 */ mflr r0 +/* 8005C230 00059190 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005C234 00059194 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8005C238 00059198 D0 21 00 08 */ stfs f1, 8(r1) +/* 8005C23C 0005919C 28 00 00 00 */ cmplwi r0, 0 +/* 8005C240 000591A0 41 82 00 50 */ beq lbl_8005C290 +/* 8005C244 000591A4 48 00 00 10 */ b lbl_8005C254 +lbl_8005C248: +/* 8005C248 000591A8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8005C24C 000591AC EC 00 08 28 */ fsubs f0, f0, f1 +/* 8005C250 000591B0 D0 01 00 08 */ stfs f0, 8(r1) +lbl_8005C254: +/* 8005C254 000591B4 C0 01 00 08 */ lfs f0, 8(r1) +/* 8005C258 000591B8 C0 23 00 44 */ lfs f1, 0x44(r3) +/* 8005C25C 000591BC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8005C260 000591C0 4C 41 13 82 */ cror 2, 1, 2 +/* 8005C264 000591C4 41 82 FF E4 */ beq lbl_8005C248 +/* 8005C268 000591C8 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005C26C 000591CC 48 00 00 14 */ b lbl_8005C280 +lbl_8005C270: +/* 8005C270 000591D0 C0 41 00 08 */ lfs f2, 8(r1) +/* 8005C274 000591D4 C0 23 00 44 */ lfs f1, 0x44(r3) +/* 8005C278 000591D8 EC 22 08 2A */ fadds f1, f2, f1 +/* 8005C27C 000591DC D0 21 00 08 */ stfs f1, 8(r1) +lbl_8005C280: +/* 8005C280 000591E0 C0 21 00 08 */ lfs f1, 8(r1) +/* 8005C284 000591E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005C288 000591E8 41 80 FF E8 */ blt lbl_8005C270 +/* 8005C28C 000591EC 48 00 00 1C */ b lbl_8005C2A8 +lbl_8005C290: +/* 8005C290 000591F0 38 81 00 08 */ addi r4, r1, 8 +/* 8005C294 000591F4 38 A3 00 44 */ addi r5, r3, 0x44 +/* 8005C298 000591F8 38 6D 82 C4 */ addi r3, r13, lbl_805A6E84@sda21 +/* 8005C29C 000591FC 4B FB 00 19 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8005C2A0 00059200 C0 03 00 00 */ lfs f0, 0(r3) +/* 8005C2A4 00059204 D0 01 00 08 */ stfs f0, 8(r1) +lbl_8005C2A8: +/* 8005C2A8 00059208 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005C2AC 0005920C C0 21 00 08 */ lfs f1, 8(r1) +/* 8005C2B0 00059210 7C 08 03 A6 */ mtlr r0 +/* 8005C2B4 00059214 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005C2B8 00059218 4E 80 00 20 */ blr + +.global CalculateSplineLength__13CCameraSplineFv +CalculateSplineLength__13CCameraSplineFv: +/* 8005C2BC 0005921C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8005C2C0 00059220 7C 08 02 A6 */ mflr r0 +/* 8005C2C4 00059224 90 01 01 24 */ stw r0, 0x124(r1) +/* 8005C2C8 00059228 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8005C2CC 0005922C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8005C2D0 00059230 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8005C2D4 00059234 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 8005C2D8 00059238 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 8005C2DC 0005923C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 8005C2E0 00059240 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 8005C2E4 00059244 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 8005C2E8 00059248 DB 61 00 D0 */ stfd f27, 0xd0(r1) +/* 8005C2EC 0005924C F3 61 00 D8 */ psq_st f27, 216(r1), 0, qr0 +/* 8005C2F0 00059250 DB 41 00 C0 */ stfd f26, 0xc0(r1) +/* 8005C2F4 00059254 F3 41 00 C8 */ psq_st f26, 200(r1), 0, qr0 +/* 8005C2F8 00059258 DB 21 00 B0 */ stfd f25, 0xb0(r1) +/* 8005C2FC 0005925C F3 21 00 B8 */ psq_st f25, 184(r1), 0, qr0 +/* 8005C300 00059260 DB 01 00 A0 */ stfd f24, 0xa0(r1) +/* 8005C304 00059264 F3 01 00 A8 */ psq_st f24, 168(r1), 0, qr0 +/* 8005C308 00059268 DA E1 00 90 */ stfd f23, 0x90(r1) +/* 8005C30C 0005926C F2 E1 00 98 */ psq_st f23, 152(r1), 0, qr0 +/* 8005C310 00059270 DA C1 00 80 */ stfd f22, 0x80(r1) +/* 8005C314 00059274 F2 C1 00 88 */ psq_st f22, 136(r1), 0, qr0 +/* 8005C318 00059278 DA A1 00 70 */ stfd f21, 0x70(r1) +/* 8005C31C 0005927C F2 A1 00 78 */ psq_st f21, 120(r1), 0, qr0 +/* 8005C320 00059280 DA 81 00 60 */ stfd f20, 0x60(r1) +/* 8005C324 00059284 F2 81 00 68 */ psq_st f20, 104(r1), 0, qr0 +/* 8005C328 00059288 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8005C32C 0005928C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8005C330 00059290 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8005C334 00059294 80 03 00 28 */ lwz r0, 0x28(r3) +/* 8005C338 00059298 7C 7F 1B 78 */ mr r31, r3 +/* 8005C33C 0005929C 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8005C340 000592A0 54 00 10 3A */ slwi r0, r0, 2 +/* 8005C344 000592A4 C3 E2 86 B8 */ lfs f31, lbl_805AA3D8@sda21(r2) +/* 8005C348 000592A8 7C 03 02 14 */ add r0, r3, r0 +/* 8005C34C 000592AC 90 61 00 0C */ stw r3, 0xc(r1) +/* 8005C350 000592B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005C354 000592B4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8005C358 000592B8 90 61 00 08 */ stw r3, 8(r1) +/* 8005C35C 000592BC 48 00 00 08 */ b lbl_8005C364 +lbl_8005C360: +/* 8005C360 000592C0 38 63 00 04 */ addi r3, r3, 4 +lbl_8005C364: +/* 8005C364 000592C4 7C 03 00 40 */ cmplw r3, r0 +/* 8005C368 000592C8 40 82 FF F8 */ bne lbl_8005C360 +/* 8005C36C 000592CC 38 00 00 00 */ li r0, 0 +/* 8005C370 000592D0 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8005C374 000592D4 80 7F 00 08 */ lwz r3, 8(r31) +/* 8005C378 000592D8 2C 03 00 00 */ cmpwi r3, 0 +/* 8005C37C 000592DC 40 81 01 F8 */ ble lbl_8005C574 +/* 8005C380 000592E0 38 03 FF FF */ addi r0, r3, -1 +/* 8005C384 000592E4 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8005C388 000592E8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8005C38C 000592EC 3F C0 43 30 */ lis r30, 0x4330 +/* 8005C390 000592F0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8005C394 000592F4 3B A0 00 00 */ li r29, 0 +/* 8005C398 000592F8 CB A2 86 F0 */ lfd f29, lbl_805AA410@sda21(r2) +/* 8005C39C 000592FC 93 C1 00 40 */ stw r30, 0x40(r1) +/* 8005C3A0 00059300 C0 22 86 BC */ lfs f1, lbl_805AA3DC@sda21(r2) +/* 8005C3A4 00059304 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 8005C3A8 00059308 C3 83 00 00 */ lfs f28, 0(r3) +/* 8005C3AC 0005930C EC 00 E8 28 */ fsubs f0, f0, f29 +/* 8005C3B0 00059310 C3 63 00 04 */ lfs f27, 4(r3) +/* 8005C3B4 00059314 C3 43 00 08 */ lfs f26, 8(r3) +/* 8005C3B8 00059318 C3 C2 86 F8 */ lfs f30, lbl_805AA418@sda21(r2) +/* 8005C3BC 0005931C EE C1 00 24 */ fdivs f22, f1, f0 +/* 8005C3C0 00059320 48 00 00 E4 */ b lbl_8005C4A4 +lbl_8005C3C4: +/* 8005C3C4 00059324 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 8005C3C8 00059328 93 C1 00 40 */ stw r30, 0x40(r1) +/* 8005C3CC 0005932C 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8005C3D0 00059330 90 61 00 44 */ stw r3, 0x44(r1) +/* 8005C3D4 00059334 80 BF 00 2C */ lwz r5, 0x2c(r31) +/* 8005C3D8 00059338 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 8005C3DC 0005933C 7C 00 28 00 */ cmpw r0, r5 +/* 8005C3E0 00059340 C2 82 86 B8 */ lfs f20, lbl_805AA3D8@sda21(r2) +/* 8005C3E4 00059344 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 8005C3E8 00059348 EE A0 05 B2 */ fmuls f21, f0, f22 +/* 8005C3EC 0005934C 41 80 00 1C */ blt lbl_8005C408 +/* 8005C3F0 00059350 2C 05 00 00 */ cmpwi r5, 0 +/* 8005C3F4 00059354 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8005C3F8 00059358 38 80 00 04 */ li r4, 4 +/* 8005C3FC 0005935C 41 82 00 08 */ beq lbl_8005C404 +/* 8005C400 00059360 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005C404: +/* 8005C404 00059364 48 00 19 F5 */ bl "reserve__Q24rstl36vectorFi" +lbl_8005C408: +/* 8005C408 00059368 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8005C40C 0005936C 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8005C410 00059370 54 00 10 3A */ slwi r0, r0, 2 +/* 8005C414 00059374 7C 63 02 15 */ add. r3, r3, r0 +/* 8005C418 00059378 41 82 00 08 */ beq lbl_8005C420 +/* 8005C41C 0005937C D3 E3 00 00 */ stfs f31, 0(r3) +lbl_8005C420: +/* 8005C420 00059380 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8005C424 00059384 38 03 00 01 */ addi r0, r3, 1 +/* 8005C428 00059388 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8005C42C 0005938C 48 00 00 68 */ b lbl_8005C494 +lbl_8005C430: +/* 8005C430 00059390 EE 96 A7 BA */ fmadds f20, f22, f30, f20 +/* 8005C434 00059394 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) +/* 8005C438 00059398 7F E4 FB 78 */ mr r4, r31 +/* 8005C43C 0005939C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8005C440 000593A0 EC 35 A0 2A */ fadds f1, f21, f20 +/* 8005C444 000593A4 4B FF FB 8D */ bl GetInterpolatedSplinePointByTime__13CCameraSplineCFff +/* 8005C448 000593A8 C2 E1 00 18 */ lfs f23, 0x18(r1) +/* 8005C44C 000593AC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8005C450 000593B0 C3 21 00 1C */ lfs f25, 0x1c(r1) +/* 8005C454 000593B4 C3 01 00 20 */ lfs f24, 0x20(r1) +/* 8005C458 000593B8 EC 57 E0 28 */ fsubs f2, f23, f28 +/* 8005C45C 000593BC EC 39 D8 28 */ fsubs f1, f25, f27 +/* 8005C460 000593C0 EC 18 D0 28 */ fsubs f0, f24, f26 +/* 8005C464 000593C4 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8005C468 000593C8 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8005C46C 000593CC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8005C470 000593D0 48 2B 82 89 */ bl CanBeNormalized__9CVector3fCFv +/* 8005C474 000593D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005C478 000593D8 41 82 00 1C */ beq lbl_8005C494 +/* 8005C47C 000593DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8005C480 000593E0 48 2B 84 39 */ bl Magnitude__9CVector3fCFv +/* 8005C484 000593E4 FF 80 B8 90 */ fmr f28, f23 +/* 8005C488 000593E8 FF 60 C8 90 */ fmr f27, f25 +/* 8005C48C 000593EC FF 40 C0 90 */ fmr f26, f24 +/* 8005C490 000593F0 EF FF 08 2A */ fadds f31, f31, f1 +lbl_8005C494: +/* 8005C494 000593F4 FC 14 B0 40 */ fcmpo cr0, f20, f22 +/* 8005C498 000593F8 4C 40 13 82 */ cror 2, 0, 2 +/* 8005C49C 000593FC 41 82 FF 94 */ beq lbl_8005C430 +/* 8005C4A0 00059400 3B BD 00 01 */ addi r29, r29, 1 +lbl_8005C4A4: +/* 8005C4A4 00059404 80 7F 00 08 */ lwz r3, 8(r31) +/* 8005C4A8 00059408 38 03 FF FF */ addi r0, r3, -1 +/* 8005C4AC 0005940C 7C 1D 00 00 */ cmpw r29, r0 +/* 8005C4B0 00059410 41 80 FF 14 */ blt lbl_8005C3C4 +/* 8005C4B4 00059414 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8005C4B8 00059418 80 BF 00 2C */ lwz r5, 0x2c(r31) +/* 8005C4BC 0005941C 7C 00 28 00 */ cmpw r0, r5 +/* 8005C4C0 00059420 41 80 00 1C */ blt lbl_8005C4DC +/* 8005C4C4 00059424 2C 05 00 00 */ cmpwi r5, 0 +/* 8005C4C8 00059428 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8005C4CC 0005942C 38 80 00 04 */ li r4, 4 +/* 8005C4D0 00059430 41 82 00 08 */ beq lbl_8005C4D8 +/* 8005C4D4 00059434 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005C4D8: +/* 8005C4D8 00059438 48 00 19 21 */ bl "reserve__Q24rstl36vectorFi" +lbl_8005C4DC: +/* 8005C4DC 0005943C 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8005C4E0 00059440 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8005C4E4 00059444 54 00 10 3A */ slwi r0, r0, 2 +/* 8005C4E8 00059448 7C 63 02 15 */ add. r3, r3, r0 +/* 8005C4EC 0005944C 41 82 00 08 */ beq lbl_8005C4F4 +/* 8005C4F0 00059450 D3 E3 00 00 */ stfs f31, 0(r3) +lbl_8005C4F4: +/* 8005C4F4 00059454 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8005C4F8 00059458 38 03 00 01 */ addi r0, r3, 1 +/* 8005C4FC 0005945C 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8005C500 00059460 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8005C504 00059464 28 00 00 00 */ cmplwi r0, 0 +/* 8005C508 00059468 41 82 00 64 */ beq lbl_8005C56C +/* 8005C50C 0005946C 80 9F 00 08 */ lwz r4, 8(r31) +/* 8005C510 00059470 38 61 00 24 */ addi r3, r1, 0x24 +/* 8005C514 00059474 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 8005C518 00059478 38 04 FF FF */ addi r0, r4, -1 +/* 8005C51C 0005947C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005C520 00059480 C0 A5 00 04 */ lfs f5, 4(r5) +/* 8005C524 00059484 C0 65 00 08 */ lfs f3, 8(r5) +/* 8005C528 00059488 C0 25 00 00 */ lfs f1, 0(r5) +/* 8005C52C 0005948C 7C 85 02 14 */ add r4, r5, r0 +/* 8005C530 00059490 C0 84 00 04 */ lfs f4, 4(r4) +/* 8005C534 00059494 C0 44 00 08 */ lfs f2, 8(r4) +/* 8005C538 00059498 C0 04 00 00 */ lfs f0, 0(r4) +/* 8005C53C 0005949C EC 85 20 28 */ fsubs f4, f5, f4 +/* 8005C540 000594A0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8005C544 000594A4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8005C548 000594A8 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 8005C54C 000594AC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8005C550 000594B0 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8005C554 000594B4 48 2B 81 A5 */ bl CanBeNormalized__9CVector3fCFv +/* 8005C558 000594B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005C55C 000594BC 41 82 00 10 */ beq lbl_8005C56C +/* 8005C560 000594C0 38 61 00 24 */ addi r3, r1, 0x24 +/* 8005C564 000594C4 48 2B 83 55 */ bl Magnitude__9CVector3fCFv +/* 8005C568 000594C8 EF FF 08 2A */ fadds f31, f31, f1 +lbl_8005C56C: +/* 8005C56C 000594CC FC 20 F8 90 */ fmr f1, f31 +/* 8005C570 000594D0 48 00 00 08 */ b lbl_8005C578 +lbl_8005C574: +/* 8005C574 000594D4 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) +lbl_8005C578: +/* 8005C578 000594D8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8005C57C 000594DC CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8005C580 000594E0 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 8005C584 000594E4 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8005C588 000594E8 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 8005C58C 000594EC CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 8005C590 000594F0 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 8005C594 000594F4 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 8005C598 000594F8 E3 61 00 D8 */ psq_l f27, 216(r1), 0, qr0 +/* 8005C59C 000594FC CB 61 00 D0 */ lfd f27, 0xd0(r1) +/* 8005C5A0 00059500 E3 41 00 C8 */ psq_l f26, 200(r1), 0, qr0 +/* 8005C5A4 00059504 CB 41 00 C0 */ lfd f26, 0xc0(r1) +/* 8005C5A8 00059508 E3 21 00 B8 */ psq_l f25, 184(r1), 0, qr0 +/* 8005C5AC 0005950C CB 21 00 B0 */ lfd f25, 0xb0(r1) +/* 8005C5B0 00059510 E3 01 00 A8 */ psq_l f24, 168(r1), 0, qr0 +/* 8005C5B4 00059514 CB 01 00 A0 */ lfd f24, 0xa0(r1) +/* 8005C5B8 00059518 E2 E1 00 98 */ psq_l f23, 152(r1), 0, qr0 +/* 8005C5BC 0005951C CA E1 00 90 */ lfd f23, 0x90(r1) +/* 8005C5C0 00059520 E2 C1 00 88 */ psq_l f22, 136(r1), 0, qr0 +/* 8005C5C4 00059524 CA C1 00 80 */ lfd f22, 0x80(r1) +/* 8005C5C8 00059528 E2 A1 00 78 */ psq_l f21, 120(r1), 0, qr0 +/* 8005C5CC 0005952C CA A1 00 70 */ lfd f21, 0x70(r1) +/* 8005C5D0 00059530 E2 81 00 68 */ psq_l f20, 104(r1), 0, qr0 +/* 8005C5D4 00059534 CA 81 00 60 */ lfd f20, 0x60(r1) +/* 8005C5D8 00059538 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8005C5DC 0005953C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8005C5E0 00059540 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8005C5E4 00059544 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8005C5E8 00059548 7C 08 03 A6 */ mtlr r0 +/* 8005C5EC 0005954C 38 21 01 20 */ addi r1, r1, 0x120 +/* 8005C5F0 00059550 4E 80 00 20 */ blr + +.global ClampLength__13CCameraSplineCFRC9CVector3fbRC15CMaterialFilterRC13CStateManager +ClampLength__13CCameraSplineCFRC9CVector3fbRC15CMaterialFilterRC13CStateManager: +/* 8005C5F4 00059554 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8005C5F8 00059558 7C 08 02 A6 */ mflr r0 +/* 8005C5FC 0005955C 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8005C600 00059560 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 8005C604 00059564 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8005C608 00059568 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 8005C60C 0005956C F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 8005C610 00059570 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 8005C614 00059574 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 8005C618 00059578 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8005C61C 0005957C 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8005C620 00059580 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8005C624 00059584 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 8005C628 00059588 7C 7C 1B 78 */ mr r28, r3 +/* 8005C62C 0005958C 7C BF 2B 78 */ mr r31, r5 +/* 8005C630 00059590 80 63 00 08 */ lwz r3, 8(r3) +/* 8005C634 00059594 7C DD 33 78 */ mr r29, r6 +/* 8005C638 00059598 7C FE 3B 78 */ mr r30, r7 +/* 8005C63C 0005959C 2C 03 00 00 */ cmpwi r3, 0 +/* 8005C640 000595A0 40 82 00 0C */ bne lbl_8005C64C +/* 8005C644 000595A4 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) +/* 8005C648 000595A8 48 00 01 88 */ b lbl_8005C7D0 +lbl_8005C64C: +/* 8005C64C 000595AC 88 1C 00 48 */ lbz r0, 0x48(r28) +/* 8005C650 000595B0 28 00 00 00 */ cmplwi r0, 0 +/* 8005C654 000595B4 41 82 00 0C */ beq lbl_8005C660 +/* 8005C658 000595B8 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) +/* 8005C65C 000595BC 48 00 01 74 */ b lbl_8005C7D0 +lbl_8005C660: +/* 8005C660 000595C0 80 BC 00 10 */ lwz r5, 0x10(r28) +/* 8005C664 000595C4 38 03 FF FF */ addi r0, r3, -1 +/* 8005C668 000595C8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005C66C 000595CC C0 64 00 04 */ lfs f3, 4(r4) +/* 8005C670 000595D0 C0 25 00 00 */ lfs f1, 0(r5) +/* 8005C674 000595D4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8005C678 000595D8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8005C67C 000595DC D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8005C680 000595E0 7C C5 02 14 */ add r6, r5, r0 +/* 8005C684 000595E4 C0 44 00 08 */ lfs f2, 8(r4) +/* 8005C688 000595E8 C0 85 00 04 */ lfs f4, 4(r5) +/* 8005C68C 000595EC EC 20 08 28 */ fsubs f1, f0, f1 +/* 8005C690 000595F0 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 8005C694 000595F4 EC C3 20 28 */ fsubs f6, f3, f4 +/* 8005C698 000595F8 C0 85 00 08 */ lfs f4, 8(r5) +/* 8005C69C 000595FC D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 8005C6A0 00059600 EC A2 20 28 */ fsubs f5, f2, f4 +/* 8005C6A4 00059604 C0 86 00 00 */ lfs f4, 0(r6) +/* 8005C6A8 00059608 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 8005C6AC 0005960C EC 00 20 28 */ fsubs f0, f0, f4 +/* 8005C6B0 00059610 C0 86 00 04 */ lfs f4, 4(r6) +/* 8005C6B4 00059614 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8005C6B8 00059618 EC 83 20 28 */ fsubs f4, f3, f4 +/* 8005C6BC 0005961C C0 66 00 08 */ lfs f3, 8(r6) +/* 8005C6C0 00059620 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8005C6C4 00059624 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 8005C6C8 00059628 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8005C6CC 0005962C D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 8005C6D0 00059630 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 8005C6D4 00059634 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8005C6D8 00059638 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8005C6DC 0005963C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8005C6E0 00059640 48 2B 81 D9 */ bl Magnitude__9CVector3fCFv +/* 8005C6E4 00059644 FF A0 08 90 */ fmr f29, f1 +/* 8005C6E8 00059648 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005C6EC 0005964C 48 2B 81 CD */ bl Magnitude__9CVector3fCFv +/* 8005C6F0 00059650 FF C0 08 90 */ fmr f30, f1 +/* 8005C6F4 00059654 38 61 00 2C */ addi r3, r1, 0x2c +/* 8005C6F8 00059658 48 2B 80 01 */ bl CanBeNormalized__9CVector3fCFv +/* 8005C6FC 0005965C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005C700 00059660 40 82 00 0C */ bne lbl_8005C70C +/* 8005C704 00059664 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) +/* 8005C708 00059668 48 00 00 C8 */ b lbl_8005C7D0 +lbl_8005C70C: +/* 8005C70C 0005966C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005C710 00059670 48 2B 7F E9 */ bl CanBeNormalized__9CVector3fCFv +/* 8005C714 00059674 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005C718 00059678 40 82 00 0C */ bne lbl_8005C724 +/* 8005C71C 0005967C C0 3C 00 44 */ lfs f1, 0x44(r28) +/* 8005C720 00059680 48 00 00 B0 */ b lbl_8005C7D0 +lbl_8005C724: +/* 8005C724 00059684 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8005C728 00059688 41 82 00 94 */ beq lbl_8005C7BC +/* 8005C72C 0005968C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8005C730 00059690 48 2B 81 89 */ bl Magnitude__9CVector3fCFv +/* 8005C734 00059694 FF E0 08 90 */ fmr f31, f1 +/* 8005C738 00059698 38 61 00 14 */ addi r3, r1, 0x14 +/* 8005C73C 0005969C 38 81 00 2C */ addi r4, r1, 0x2c +/* 8005C740 000596A0 48 2B 81 11 */ bl AsNormalized__9CVector3fCFv +/* 8005C744 000596A4 FC 20 F8 90 */ fmr f1, f31 +/* 8005C748 000596A8 7F C4 F3 78 */ mr r4, r30 +/* 8005C74C 000596AC 7F A7 EB 78 */ mr r7, r29 +/* 8005C750 000596B0 38 61 00 80 */ addi r3, r1, 0x80 +/* 8005C754 000596B4 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8005C758 000596B8 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8005C75C 000596BC 4B FF 08 3D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8005C760 000596C0 8B E1 00 A0 */ lbz r31, 0xa0(r1) +/* 8005C764 000596C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005C768 000596C8 48 2B 81 51 */ bl Magnitude__9CVector3fCFv +/* 8005C76C 000596CC FF E0 08 90 */ fmr f31, f1 +/* 8005C770 000596D0 38 61 00 08 */ addi r3, r1, 8 +/* 8005C774 000596D4 38 81 00 20 */ addi r4, r1, 0x20 +/* 8005C778 000596D8 48 2B 80 D9 */ bl AsNormalized__9CVector3fCFv +/* 8005C77C 000596DC FC 20 F8 90 */ fmr f1, f31 +/* 8005C780 000596E0 7F C4 F3 78 */ mr r4, r30 +/* 8005C784 000596E4 7F A7 EB 78 */ mr r7, r29 +/* 8005C788 000596E8 38 61 00 50 */ addi r3, r1, 0x50 +/* 8005C78C 000596EC 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8005C790 000596F0 38 C1 00 08 */ addi r6, r1, 8 +/* 8005C794 000596F4 4B FF 08 05 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8005C798 000596F8 28 1F 00 00 */ cmplwi r31, 0 +/* 8005C79C 000596FC 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8005C7A0 00059700 41 82 00 0C */ beq lbl_8005C7AC +/* 8005C7A4 00059704 C0 3C 00 44 */ lfs f1, 0x44(r28) +/* 8005C7A8 00059708 48 00 00 28 */ b lbl_8005C7D0 +lbl_8005C7AC: +/* 8005C7AC 0005970C 28 00 00 00 */ cmplwi r0, 0 +/* 8005C7B0 00059710 41 82 00 0C */ beq lbl_8005C7BC +/* 8005C7B4 00059714 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) +/* 8005C7B8 00059718 48 00 00 18 */ b lbl_8005C7D0 +lbl_8005C7BC: +/* 8005C7BC 0005971C FC 1D F0 40 */ fcmpo cr0, f29, f30 +/* 8005C7C0 00059720 40 80 00 0C */ bge lbl_8005C7CC +/* 8005C7C4 00059724 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) +/* 8005C7C8 00059728 48 00 00 08 */ b lbl_8005C7D0 +lbl_8005C7CC: +/* 8005C7CC 0005972C C0 3C 00 44 */ lfs f1, 0x44(r28) +lbl_8005C7D0: +/* 8005C7D0 00059730 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 8005C7D4 00059734 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 8005C7D8 00059738 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 8005C7DC 0005973C CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 8005C7E0 00059740 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 8005C7E4 00059744 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 8005C7E8 00059748 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8005C7EC 0005974C 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8005C7F0 00059750 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8005C7F4 00059754 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8005C7F8 00059758 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 8005C7FC 0005975C 7C 08 03 A6 */ mtlr r0 +/* 8005C800 00059760 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8005C804 00059764 4E 80 00 20 */ blr + +.global "GetSurroundingPoints__13CCameraSplineFiRQ24rstl27reserved_vector<9CVector3f>RQ24rstl27reserved_vector<9CVector3f>" +"GetSurroundingPoints__13CCameraSplineFiRQ24rstl27reserved_vector<9CVector3f>RQ24rstl27reserved_vector<9CVector3f>": +/* 8005C808 00059768 80 E3 00 08 */ lwz r7, 8(r3) +/* 8005C80C 0005976C 2C 07 00 03 */ cmpwi r7, 3 +/* 8005C810 00059770 40 81 00 14 */ ble lbl_8005C824 +/* 8005C814 00059774 2C 04 00 00 */ cmpwi r4, 0 +/* 8005C818 00059778 41 80 00 0C */ blt lbl_8005C824 +/* 8005C81C 0005977C 7C 04 38 00 */ cmpw r4, r7 +/* 8005C820 00059780 41 80 00 0C */ blt lbl_8005C82C +lbl_8005C824: +/* 8005C824 00059784 38 60 00 00 */ li r3, 0 +/* 8005C828 00059788 4E 80 00 20 */ blr +lbl_8005C82C: +/* 8005C82C 0005978C 2C 04 00 00 */ cmpwi r4, 0 +/* 8005C830 00059790 40 81 00 90 */ ble lbl_8005C8C0 +/* 8005C834 00059794 80 05 00 00 */ lwz r0, 0(r5) +/* 8005C838 00059798 39 04 FF FF */ addi r8, r4, -1 +/* 8005C83C 0005979C 1D 48 00 0C */ mulli r10, r8, 0xc +/* 8005C840 000597A0 81 03 00 10 */ lwz r8, 0x10(r3) +/* 8005C844 000597A4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005C848 000597A8 7D 28 52 14 */ add r9, r8, r10 +/* 8005C84C 000597AC 7D 05 02 14 */ add r8, r5, r0 +/* 8005C850 000597B0 35 08 00 04 */ addic. r8, r8, 4 +/* 8005C854 000597B4 41 82 00 1C */ beq lbl_8005C870 +/* 8005C858 000597B8 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005C85C 000597BC D0 08 00 00 */ stfs f0, 0(r8) +/* 8005C860 000597C0 C0 09 00 04 */ lfs f0, 4(r9) +/* 8005C864 000597C4 D0 08 00 04 */ stfs f0, 4(r8) +/* 8005C868 000597C8 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005C86C 000597CC D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005C870: +/* 8005C870 000597D0 81 05 00 00 */ lwz r8, 0(r5) +/* 8005C874 000597D4 38 08 00 01 */ addi r0, r8, 1 +/* 8005C878 000597D8 90 05 00 00 */ stw r0, 0(r5) +/* 8005C87C 000597DC 80 06 00 00 */ lwz r0, 0(r6) +/* 8005C880 000597E0 81 03 00 40 */ lwz r8, 0x40(r3) +/* 8005C884 000597E4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005C888 000597E8 7D 28 52 14 */ add r9, r8, r10 +/* 8005C88C 000597EC 7D 06 02 14 */ add r8, r6, r0 +/* 8005C890 000597F0 35 08 00 04 */ addic. r8, r8, 4 +/* 8005C894 000597F4 41 82 00 1C */ beq lbl_8005C8B0 +/* 8005C898 000597F8 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005C89C 000597FC D0 08 00 00 */ stfs f0, 0(r8) +/* 8005C8A0 00059800 C0 09 00 04 */ lfs f0, 4(r9) +/* 8005C8A4 00059804 D0 08 00 04 */ stfs f0, 4(r8) +/* 8005C8A8 00059808 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005C8AC 0005980C D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005C8B0: +/* 8005C8B0 00059810 81 06 00 00 */ lwz r8, 0(r6) +/* 8005C8B4 00059814 38 08 00 01 */ addi r0, r8, 1 +/* 8005C8B8 00059818 90 06 00 00 */ stw r0, 0(r6) +/* 8005C8BC 0005981C 48 00 01 38 */ b lbl_8005C9F4 +lbl_8005C8C0: +/* 8005C8C0 00059820 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8005C8C4 00059824 28 00 00 00 */ cmplwi r0, 0 +/* 8005C8C8 00059828 41 82 00 90 */ beq lbl_8005C958 +/* 8005C8CC 0005982C 80 05 00 00 */ lwz r0, 0(r5) +/* 8005C8D0 00059830 39 07 FF FF */ addi r8, r7, -1 +/* 8005C8D4 00059834 1D 48 00 0C */ mulli r10, r8, 0xc +/* 8005C8D8 00059838 81 03 00 10 */ lwz r8, 0x10(r3) +/* 8005C8DC 0005983C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005C8E0 00059840 7D 28 52 14 */ add r9, r8, r10 +/* 8005C8E4 00059844 7D 05 02 14 */ add r8, r5, r0 +/* 8005C8E8 00059848 35 08 00 04 */ addic. r8, r8, 4 +/* 8005C8EC 0005984C 41 82 00 1C */ beq lbl_8005C908 +/* 8005C8F0 00059850 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005C8F4 00059854 D0 08 00 00 */ stfs f0, 0(r8) +/* 8005C8F8 00059858 C0 09 00 04 */ lfs f0, 4(r9) +/* 8005C8FC 0005985C D0 08 00 04 */ stfs f0, 4(r8) +/* 8005C900 00059860 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005C904 00059864 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005C908: +/* 8005C908 00059868 81 05 00 00 */ lwz r8, 0(r5) +/* 8005C90C 0005986C 38 08 00 01 */ addi r0, r8, 1 +/* 8005C910 00059870 90 05 00 00 */ stw r0, 0(r5) +/* 8005C914 00059874 80 06 00 00 */ lwz r0, 0(r6) +/* 8005C918 00059878 81 03 00 40 */ lwz r8, 0x40(r3) +/* 8005C91C 0005987C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005C920 00059880 7D 28 52 14 */ add r9, r8, r10 +/* 8005C924 00059884 7D 06 02 14 */ add r8, r6, r0 +/* 8005C928 00059888 35 08 00 04 */ addic. r8, r8, 4 +/* 8005C92C 0005988C 41 82 00 1C */ beq lbl_8005C948 +/* 8005C930 00059890 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005C934 00059894 D0 08 00 00 */ stfs f0, 0(r8) +/* 8005C938 00059898 C0 09 00 04 */ lfs f0, 4(r9) +/* 8005C93C 0005989C D0 08 00 04 */ stfs f0, 4(r8) +/* 8005C940 000598A0 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005C944 000598A4 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005C948: +/* 8005C948 000598A8 81 06 00 00 */ lwz r8, 0(r6) +/* 8005C94C 000598AC 38 08 00 01 */ addi r0, r8, 1 +/* 8005C950 000598B0 90 06 00 00 */ stw r0, 0(r6) +/* 8005C954 000598B4 48 00 00 A0 */ b lbl_8005C9F4 +lbl_8005C958: +/* 8005C958 000598B8 81 23 00 10 */ lwz r9, 0x10(r3) +/* 8005C95C 000598BC 80 05 00 00 */ lwz r0, 0(r5) +/* 8005C960 000598C0 C0 A9 00 00 */ lfs f5, 0(r9) +/* 8005C964 000598C4 C0 09 00 0C */ lfs f0, 0xc(r9) +/* 8005C968 000598C8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005C96C 000598CC C0 69 00 04 */ lfs f3, 4(r9) +/* 8005C970 000598D0 C0 49 00 10 */ lfs f2, 0x10(r9) +/* 8005C974 000598D4 EC 80 28 28 */ fsubs f4, f0, f5 +/* 8005C978 000598D8 7D 05 02 14 */ add r8, r5, r0 +/* 8005C97C 000598DC C0 29 00 08 */ lfs f1, 8(r9) +/* 8005C980 000598E0 C0 09 00 14 */ lfs f0, 0x14(r9) +/* 8005C984 000598E4 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8005C988 000598E8 EC 85 20 28 */ fsubs f4, f5, f4 +/* 8005C98C 000598EC EC 00 08 28 */ fsubs f0, f0, f1 +/* 8005C990 000598F0 35 08 00 04 */ addic. r8, r8, 4 +/* 8005C994 000598F4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8005C998 000598F8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8005C99C 000598FC 41 82 00 10 */ beq lbl_8005C9AC +/* 8005C9A0 00059900 D0 88 00 00 */ stfs f4, 0(r8) +/* 8005C9A4 00059904 D0 48 00 04 */ stfs f2, 4(r8) +/* 8005C9A8 00059908 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005C9AC: +/* 8005C9AC 0005990C 81 05 00 00 */ lwz r8, 0(r5) +/* 8005C9B0 00059910 38 08 00 01 */ addi r0, r8, 1 +/* 8005C9B4 00059914 90 05 00 00 */ stw r0, 0(r5) +/* 8005C9B8 00059918 80 06 00 00 */ lwz r0, 0(r6) +/* 8005C9BC 0005991C 81 23 00 40 */ lwz r9, 0x40(r3) +/* 8005C9C0 00059920 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005C9C4 00059924 7D 06 02 14 */ add r8, r6, r0 +/* 8005C9C8 00059928 35 08 00 04 */ addic. r8, r8, 4 +/* 8005C9CC 0005992C 41 82 00 1C */ beq lbl_8005C9E8 +/* 8005C9D0 00059930 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005C9D4 00059934 D0 08 00 00 */ stfs f0, 0(r8) +/* 8005C9D8 00059938 C0 09 00 04 */ lfs f0, 4(r9) +/* 8005C9DC 0005993C D0 08 00 04 */ stfs f0, 4(r8) +/* 8005C9E0 00059940 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005C9E4 00059944 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005C9E8: +/* 8005C9E8 00059948 81 06 00 00 */ lwz r8, 0(r6) +/* 8005C9EC 0005994C 38 08 00 01 */ addi r0, r8, 1 +/* 8005C9F0 00059950 90 06 00 00 */ stw r0, 0(r6) +lbl_8005C9F4: +/* 8005C9F4 00059954 80 05 00 00 */ lwz r0, 0(r5) +/* 8005C9F8 00059958 1D 44 00 0C */ mulli r10, r4, 0xc +/* 8005C9FC 0005995C 81 03 00 10 */ lwz r8, 0x10(r3) +/* 8005CA00 00059960 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CA04 00059964 7D 28 52 14 */ add r9, r8, r10 +/* 8005CA08 00059968 7D 05 02 14 */ add r8, r5, r0 +/* 8005CA0C 0005996C 35 08 00 04 */ addic. r8, r8, 4 +/* 8005CA10 00059970 41 82 00 1C */ beq lbl_8005CA2C +/* 8005CA14 00059974 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005CA18 00059978 D0 08 00 00 */ stfs f0, 0(r8) +/* 8005CA1C 0005997C C0 09 00 04 */ lfs f0, 4(r9) +/* 8005CA20 00059980 D0 08 00 04 */ stfs f0, 4(r8) +/* 8005CA24 00059984 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005CA28 00059988 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005CA2C: +/* 8005CA2C 0005998C 81 05 00 00 */ lwz r8, 0(r5) +/* 8005CA30 00059990 38 08 00 01 */ addi r0, r8, 1 +/* 8005CA34 00059994 90 05 00 00 */ stw r0, 0(r5) +/* 8005CA38 00059998 80 06 00 00 */ lwz r0, 0(r6) +/* 8005CA3C 0005999C 81 03 00 40 */ lwz r8, 0x40(r3) +/* 8005CA40 000599A0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CA44 000599A4 7D 28 52 14 */ add r9, r8, r10 +/* 8005CA48 000599A8 7D 06 02 14 */ add r8, r6, r0 +/* 8005CA4C 000599AC 35 08 00 04 */ addic. r8, r8, 4 +/* 8005CA50 000599B0 41 82 00 1C */ beq lbl_8005CA6C +/* 8005CA54 000599B4 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005CA58 000599B8 D0 08 00 00 */ stfs f0, 0(r8) +/* 8005CA5C 000599BC C0 09 00 04 */ lfs f0, 4(r9) +/* 8005CA60 000599C0 D0 08 00 04 */ stfs f0, 4(r8) +/* 8005CA64 000599C4 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005CA68 000599C8 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005CA6C: +/* 8005CA6C 000599CC 81 26 00 00 */ lwz r9, 0(r6) +/* 8005CA70 000599D0 39 04 00 01 */ addi r8, r4, 1 +/* 8005CA74 000599D4 7C 08 38 00 */ cmpw r8, r7 +/* 8005CA78 000599D8 38 09 00 01 */ addi r0, r9, 1 +/* 8005CA7C 000599DC 90 06 00 00 */ stw r0, 0(r6) +/* 8005CA80 000599E0 41 80 01 58 */ blt lbl_8005CBD8 +/* 8005CA84 000599E4 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8005CA88 000599E8 28 00 00 00 */ cmplwi r0, 0 +/* 8005CA8C 000599EC 41 82 00 90 */ beq lbl_8005CB1C +/* 8005CA90 000599F0 80 05 00 00 */ lwz r0, 0(r5) +/* 8005CA94 000599F4 7D 07 40 50 */ subf r8, r7, r8 +/* 8005CA98 000599F8 1D 48 00 0C */ mulli r10, r8, 0xc +/* 8005CA9C 000599FC 81 03 00 10 */ lwz r8, 0x10(r3) +/* 8005CAA0 00059A00 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CAA4 00059A04 7D 28 52 14 */ add r9, r8, r10 +/* 8005CAA8 00059A08 7D 05 02 14 */ add r8, r5, r0 +/* 8005CAAC 00059A0C 35 08 00 04 */ addic. r8, r8, 4 +/* 8005CAB0 00059A10 41 82 00 1C */ beq lbl_8005CACC +/* 8005CAB4 00059A14 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005CAB8 00059A18 D0 08 00 00 */ stfs f0, 0(r8) +/* 8005CABC 00059A1C C0 09 00 04 */ lfs f0, 4(r9) +/* 8005CAC0 00059A20 D0 08 00 04 */ stfs f0, 4(r8) +/* 8005CAC4 00059A24 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005CAC8 00059A28 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005CACC: +/* 8005CACC 00059A2C 81 05 00 00 */ lwz r8, 0(r5) +/* 8005CAD0 00059A30 38 08 00 01 */ addi r0, r8, 1 +/* 8005CAD4 00059A34 90 05 00 00 */ stw r0, 0(r5) +/* 8005CAD8 00059A38 80 06 00 00 */ lwz r0, 0(r6) +/* 8005CADC 00059A3C 81 03 00 40 */ lwz r8, 0x40(r3) +/* 8005CAE0 00059A40 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CAE4 00059A44 7D 28 52 14 */ add r9, r8, r10 +/* 8005CAE8 00059A48 7D 06 02 14 */ add r8, r6, r0 +/* 8005CAEC 00059A4C 35 08 00 04 */ addic. r8, r8, 4 +/* 8005CAF0 00059A50 41 82 00 1C */ beq lbl_8005CB0C +/* 8005CAF4 00059A54 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005CAF8 00059A58 D0 08 00 00 */ stfs f0, 0(r8) +/* 8005CAFC 00059A5C C0 09 00 04 */ lfs f0, 4(r9) +/* 8005CB00 00059A60 D0 08 00 04 */ stfs f0, 4(r8) +/* 8005CB04 00059A64 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005CB08 00059A68 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005CB0C: +/* 8005CB0C 00059A6C 81 06 00 00 */ lwz r8, 0(r6) +/* 8005CB10 00059A70 38 08 00 01 */ addi r0, r8, 1 +/* 8005CB14 00059A74 90 06 00 00 */ stw r0, 0(r6) +/* 8005CB18 00059A78 48 00 01 44 */ b lbl_8005CC5C +lbl_8005CB1C: +/* 8005CB1C 00059A7C 38 07 FF FF */ addi r0, r7, -1 +/* 8005CB20 00059A80 39 07 FF FE */ addi r8, r7, -2 +/* 8005CB24 00059A84 1D 60 00 0C */ mulli r11, r0, 0xc +/* 8005CB28 00059A88 81 23 00 10 */ lwz r9, 0x10(r3) +/* 8005CB2C 00059A8C 80 05 00 00 */ lwz r0, 0(r5) +/* 8005CB30 00059A90 7D 49 5A 14 */ add r10, r9, r11 +/* 8005CB34 00059A94 1D 08 00 0C */ mulli r8, r8, 0xc +/* 8005CB38 00059A98 C0 AA 00 00 */ lfs f5, 0(r10) +/* 8005CB3C 00059A9C C0 6A 00 04 */ lfs f3, 4(r10) +/* 8005CB40 00059AA0 C0 2A 00 08 */ lfs f1, 8(r10) +/* 8005CB44 00059AA4 7D 09 42 14 */ add r8, r9, r8 +/* 8005CB48 00059AA8 C0 88 00 00 */ lfs f4, 0(r8) +/* 8005CB4C 00059AAC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CB50 00059AB0 C0 48 00 04 */ lfs f2, 4(r8) +/* 8005CB54 00059AB4 C0 08 00 08 */ lfs f0, 8(r8) +/* 8005CB58 00059AB8 EC 84 28 28 */ fsubs f4, f4, f5 +/* 8005CB5C 00059ABC EC 42 18 28 */ fsubs f2, f2, f3 +/* 8005CB60 00059AC0 7D 05 02 14 */ add r8, r5, r0 +/* 8005CB64 00059AC4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8005CB68 00059AC8 35 08 00 04 */ addic. r8, r8, 4 +/* 8005CB6C 00059ACC EC 85 20 28 */ fsubs f4, f5, f4 +/* 8005CB70 00059AD0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8005CB74 00059AD4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8005CB78 00059AD8 41 82 00 10 */ beq lbl_8005CB88 +/* 8005CB7C 00059ADC D0 88 00 00 */ stfs f4, 0(r8) +/* 8005CB80 00059AE0 D0 48 00 04 */ stfs f2, 4(r8) +/* 8005CB84 00059AE4 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005CB88: +/* 8005CB88 00059AE8 81 05 00 00 */ lwz r8, 0(r5) +/* 8005CB8C 00059AEC 38 08 00 01 */ addi r0, r8, 1 +/* 8005CB90 00059AF0 90 05 00 00 */ stw r0, 0(r5) +/* 8005CB94 00059AF4 80 06 00 00 */ lwz r0, 0(r6) +/* 8005CB98 00059AF8 81 03 00 40 */ lwz r8, 0x40(r3) +/* 8005CB9C 00059AFC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CBA0 00059B00 7D 28 5A 14 */ add r9, r8, r11 +/* 8005CBA4 00059B04 7D 06 02 14 */ add r8, r6, r0 +/* 8005CBA8 00059B08 35 08 00 04 */ addic. r8, r8, 4 +/* 8005CBAC 00059B0C 41 82 00 1C */ beq lbl_8005CBC8 +/* 8005CBB0 00059B10 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005CBB4 00059B14 D0 08 00 00 */ stfs f0, 0(r8) +/* 8005CBB8 00059B18 C0 09 00 04 */ lfs f0, 4(r9) +/* 8005CBBC 00059B1C D0 08 00 04 */ stfs f0, 4(r8) +/* 8005CBC0 00059B20 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005CBC4 00059B24 D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005CBC8: +/* 8005CBC8 00059B28 81 06 00 00 */ lwz r8, 0(r6) +/* 8005CBCC 00059B2C 38 08 00 01 */ addi r0, r8, 1 +/* 8005CBD0 00059B30 90 06 00 00 */ stw r0, 0(r6) +/* 8005CBD4 00059B34 48 00 00 88 */ b lbl_8005CC5C +lbl_8005CBD8: +/* 8005CBD8 00059B38 80 05 00 00 */ lwz r0, 0(r5) +/* 8005CBDC 00059B3C 1D 48 00 0C */ mulli r10, r8, 0xc +/* 8005CBE0 00059B40 81 03 00 10 */ lwz r8, 0x10(r3) +/* 8005CBE4 00059B44 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CBE8 00059B48 7D 28 52 14 */ add r9, r8, r10 +/* 8005CBEC 00059B4C 7D 05 02 14 */ add r8, r5, r0 +/* 8005CBF0 00059B50 35 08 00 04 */ addic. r8, r8, 4 +/* 8005CBF4 00059B54 41 82 00 1C */ beq lbl_8005CC10 +/* 8005CBF8 00059B58 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005CBFC 00059B5C D0 08 00 00 */ stfs f0, 0(r8) +/* 8005CC00 00059B60 C0 09 00 04 */ lfs f0, 4(r9) +/* 8005CC04 00059B64 D0 08 00 04 */ stfs f0, 4(r8) +/* 8005CC08 00059B68 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005CC0C 00059B6C D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005CC10: +/* 8005CC10 00059B70 81 05 00 00 */ lwz r8, 0(r5) +/* 8005CC14 00059B74 38 08 00 01 */ addi r0, r8, 1 +/* 8005CC18 00059B78 90 05 00 00 */ stw r0, 0(r5) +/* 8005CC1C 00059B7C 80 06 00 00 */ lwz r0, 0(r6) +/* 8005CC20 00059B80 81 03 00 40 */ lwz r8, 0x40(r3) +/* 8005CC24 00059B84 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CC28 00059B88 7D 28 52 14 */ add r9, r8, r10 +/* 8005CC2C 00059B8C 7D 06 02 14 */ add r8, r6, r0 +/* 8005CC30 00059B90 35 08 00 04 */ addic. r8, r8, 4 +/* 8005CC34 00059B94 41 82 00 1C */ beq lbl_8005CC50 +/* 8005CC38 00059B98 C0 09 00 00 */ lfs f0, 0(r9) +/* 8005CC3C 00059B9C D0 08 00 00 */ stfs f0, 0(r8) +/* 8005CC40 00059BA0 C0 09 00 04 */ lfs f0, 4(r9) +/* 8005CC44 00059BA4 D0 08 00 04 */ stfs f0, 4(r8) +/* 8005CC48 00059BA8 C0 09 00 08 */ lfs f0, 8(r9) +/* 8005CC4C 00059BAC D0 08 00 08 */ stfs f0, 8(r8) +lbl_8005CC50: +/* 8005CC50 00059BB0 81 06 00 00 */ lwz r8, 0(r6) +/* 8005CC54 00059BB4 38 08 00 01 */ addi r0, r8, 1 +/* 8005CC58 00059BB8 90 06 00 00 */ stw r0, 0(r6) +lbl_8005CC5C: +/* 8005CC5C 00059BBC 38 84 00 02 */ addi r4, r4, 2 +/* 8005CC60 00059BC0 7C 04 38 00 */ cmpw r4, r7 +/* 8005CC64 00059BC4 41 80 01 58 */ blt lbl_8005CDBC +/* 8005CC68 00059BC8 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8005CC6C 00059BCC 28 00 00 00 */ cmplwi r0, 0 +/* 8005CC70 00059BD0 41 82 00 90 */ beq lbl_8005CD00 +/* 8005CC74 00059BD4 80 05 00 00 */ lwz r0, 0(r5) +/* 8005CC78 00059BD8 7C 87 20 50 */ subf r4, r7, r4 +/* 8005CC7C 00059BDC 1D 04 00 0C */ mulli r8, r4, 0xc +/* 8005CC80 00059BE0 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8005CC84 00059BE4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CC88 00059BE8 7C E4 42 14 */ add r7, r4, r8 +/* 8005CC8C 00059BEC 7C 85 02 14 */ add r4, r5, r0 +/* 8005CC90 00059BF0 34 84 00 04 */ addic. r4, r4, 4 +/* 8005CC94 00059BF4 41 82 00 1C */ beq lbl_8005CCB0 +/* 8005CC98 00059BF8 C0 07 00 00 */ lfs f0, 0(r7) +/* 8005CC9C 00059BFC D0 04 00 00 */ stfs f0, 0(r4) +/* 8005CCA0 00059C00 C0 07 00 04 */ lfs f0, 4(r7) +/* 8005CCA4 00059C04 D0 04 00 04 */ stfs f0, 4(r4) +/* 8005CCA8 00059C08 C0 07 00 08 */ lfs f0, 8(r7) +/* 8005CCAC 00059C0C D0 04 00 08 */ stfs f0, 8(r4) +lbl_8005CCB0: +/* 8005CCB0 00059C10 80 85 00 00 */ lwz r4, 0(r5) +/* 8005CCB4 00059C14 38 04 00 01 */ addi r0, r4, 1 +/* 8005CCB8 00059C18 90 05 00 00 */ stw r0, 0(r5) +/* 8005CCBC 00059C1C 80 06 00 00 */ lwz r0, 0(r6) +/* 8005CCC0 00059C20 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8005CCC4 00059C24 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CCC8 00059C28 7C 83 42 14 */ add r4, r3, r8 +/* 8005CCCC 00059C2C 7C 66 02 14 */ add r3, r6, r0 +/* 8005CCD0 00059C30 34 63 00 04 */ addic. r3, r3, 4 +/* 8005CCD4 00059C34 41 82 00 1C */ beq lbl_8005CCF0 +/* 8005CCD8 00059C38 C0 04 00 00 */ lfs f0, 0(r4) +/* 8005CCDC 00059C3C D0 03 00 00 */ stfs f0, 0(r3) +/* 8005CCE0 00059C40 C0 04 00 04 */ lfs f0, 4(r4) +/* 8005CCE4 00059C44 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005CCE8 00059C48 C0 04 00 08 */ lfs f0, 8(r4) +/* 8005CCEC 00059C4C D0 03 00 08 */ stfs f0, 8(r3) +lbl_8005CCF0: +/* 8005CCF0 00059C50 80 66 00 00 */ lwz r3, 0(r6) +/* 8005CCF4 00059C54 38 03 00 01 */ addi r0, r3, 1 +/* 8005CCF8 00059C58 90 06 00 00 */ stw r0, 0(r6) +/* 8005CCFC 00059C5C 48 00 01 44 */ b lbl_8005CE40 +lbl_8005CD00: +/* 8005CD00 00059C60 38 07 FF FF */ addi r0, r7, -1 +/* 8005CD04 00059C64 38 87 FF FE */ addi r4, r7, -2 +/* 8005CD08 00059C68 1D 20 00 0C */ mulli r9, r0, 0xc +/* 8005CD0C 00059C6C 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 8005CD10 00059C70 80 05 00 00 */ lwz r0, 0(r5) +/* 8005CD14 00059C74 7D 07 4A 14 */ add r8, r7, r9 +/* 8005CD18 00059C78 1C 84 00 0C */ mulli r4, r4, 0xc +/* 8005CD1C 00059C7C C0 A8 00 00 */ lfs f5, 0(r8) +/* 8005CD20 00059C80 C0 68 00 04 */ lfs f3, 4(r8) +/* 8005CD24 00059C84 C0 28 00 08 */ lfs f1, 8(r8) +/* 8005CD28 00059C88 7C 87 22 14 */ add r4, r7, r4 +/* 8005CD2C 00059C8C C0 84 00 00 */ lfs f4, 0(r4) +/* 8005CD30 00059C90 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CD34 00059C94 C0 44 00 04 */ lfs f2, 4(r4) +/* 8005CD38 00059C98 C0 04 00 08 */ lfs f0, 8(r4) +/* 8005CD3C 00059C9C EC 84 28 28 */ fsubs f4, f4, f5 +/* 8005CD40 00059CA0 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8005CD44 00059CA4 7C 85 02 14 */ add r4, r5, r0 +/* 8005CD48 00059CA8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8005CD4C 00059CAC 34 84 00 04 */ addic. r4, r4, 4 +/* 8005CD50 00059CB0 EC 85 20 28 */ fsubs f4, f5, f4 +/* 8005CD54 00059CB4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8005CD58 00059CB8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8005CD5C 00059CBC 41 82 00 10 */ beq lbl_8005CD6C +/* 8005CD60 00059CC0 D0 84 00 00 */ stfs f4, 0(r4) +/* 8005CD64 00059CC4 D0 44 00 04 */ stfs f2, 4(r4) +/* 8005CD68 00059CC8 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8005CD6C: +/* 8005CD6C 00059CCC 80 85 00 00 */ lwz r4, 0(r5) +/* 8005CD70 00059CD0 38 04 00 01 */ addi r0, r4, 1 +/* 8005CD74 00059CD4 90 05 00 00 */ stw r0, 0(r5) +/* 8005CD78 00059CD8 80 06 00 00 */ lwz r0, 0(r6) +/* 8005CD7C 00059CDC 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8005CD80 00059CE0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CD84 00059CE4 7C 83 4A 14 */ add r4, r3, r9 +/* 8005CD88 00059CE8 7C 66 02 14 */ add r3, r6, r0 +/* 8005CD8C 00059CEC 34 63 00 04 */ addic. r3, r3, 4 +/* 8005CD90 00059CF0 41 82 00 1C */ beq lbl_8005CDAC +/* 8005CD94 00059CF4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8005CD98 00059CF8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8005CD9C 00059CFC C0 04 00 04 */ lfs f0, 4(r4) +/* 8005CDA0 00059D00 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005CDA4 00059D04 C0 04 00 08 */ lfs f0, 8(r4) +/* 8005CDA8 00059D08 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8005CDAC: +/* 8005CDAC 00059D0C 80 66 00 00 */ lwz r3, 0(r6) +/* 8005CDB0 00059D10 38 03 00 01 */ addi r0, r3, 1 +/* 8005CDB4 00059D14 90 06 00 00 */ stw r0, 0(r6) +/* 8005CDB8 00059D18 48 00 00 88 */ b lbl_8005CE40 +lbl_8005CDBC: +/* 8005CDBC 00059D1C 80 05 00 00 */ lwz r0, 0(r5) +/* 8005CDC0 00059D20 1D 04 00 0C */ mulli r8, r4, 0xc +/* 8005CDC4 00059D24 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8005CDC8 00059D28 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CDCC 00059D2C 7C E4 42 14 */ add r7, r4, r8 +/* 8005CDD0 00059D30 7C 85 02 14 */ add r4, r5, r0 +/* 8005CDD4 00059D34 34 84 00 04 */ addic. r4, r4, 4 +/* 8005CDD8 00059D38 41 82 00 1C */ beq lbl_8005CDF4 +/* 8005CDDC 00059D3C C0 07 00 00 */ lfs f0, 0(r7) +/* 8005CDE0 00059D40 D0 04 00 00 */ stfs f0, 0(r4) +/* 8005CDE4 00059D44 C0 07 00 04 */ lfs f0, 4(r7) +/* 8005CDE8 00059D48 D0 04 00 04 */ stfs f0, 4(r4) +/* 8005CDEC 00059D4C C0 07 00 08 */ lfs f0, 8(r7) +/* 8005CDF0 00059D50 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8005CDF4: +/* 8005CDF4 00059D54 80 85 00 00 */ lwz r4, 0(r5) +/* 8005CDF8 00059D58 38 04 00 01 */ addi r0, r4, 1 +/* 8005CDFC 00059D5C 90 05 00 00 */ stw r0, 0(r5) +/* 8005CE00 00059D60 80 06 00 00 */ lwz r0, 0(r6) +/* 8005CE04 00059D64 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8005CE08 00059D68 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CE0C 00059D6C 7C 83 42 14 */ add r4, r3, r8 +/* 8005CE10 00059D70 7C 66 02 14 */ add r3, r6, r0 +/* 8005CE14 00059D74 34 63 00 04 */ addic. r3, r3, 4 +/* 8005CE18 00059D78 41 82 00 1C */ beq lbl_8005CE34 +/* 8005CE1C 00059D7C C0 04 00 00 */ lfs f0, 0(r4) +/* 8005CE20 00059D80 D0 03 00 00 */ stfs f0, 0(r3) +/* 8005CE24 00059D84 C0 04 00 04 */ lfs f0, 4(r4) +/* 8005CE28 00059D88 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005CE2C 00059D8C C0 04 00 08 */ lfs f0, 8(r4) +/* 8005CE30 00059D90 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8005CE34: +/* 8005CE34 00059D94 80 66 00 00 */ lwz r3, 0(r6) +/* 8005CE38 00059D98 38 03 00 01 */ addi r0, r3, 1 +/* 8005CE3C 00059D9C 90 06 00 00 */ stw r0, 0(r6) +lbl_8005CE40: +/* 8005CE40 00059DA0 38 60 00 01 */ li r3, 1 +/* 8005CE44 00059DA4 4E 80 00 20 */ blr + +.global Reset__13CCameraSplineFi +Reset__13CCameraSplineFi: +/* 8005CE48 00059DA8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8005CE4C 00059DAC 7C 08 02 A6 */ mflr r0 +/* 8005CE50 00059DB0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8005CE54 00059DB4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8005CE58 00059DB8 7C 9F 23 78 */ mr r31, r4 +/* 8005CE5C 00059DBC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8005CE60 00059DC0 7C 7E 1B 78 */ mr r30, r3 +/* 8005CE64 00059DC4 80 03 00 08 */ lwz r0, 8(r3) +/* 8005CE68 00059DC8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8005CE6C 00059DCC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CE70 00059DD0 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8005CE74 00059DD4 7C 03 02 14 */ add r0, r3, r0 +/* 8005CE78 00059DD8 90 61 00 28 */ stw r3, 0x28(r1) +/* 8005CE7C 00059DDC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005CE80 00059DE0 90 01 00 30 */ stw r0, 0x30(r1) +/* 8005CE84 00059DE4 48 00 00 08 */ b lbl_8005CE8C +lbl_8005CE88: +/* 8005CE88 00059DE8 38 63 00 0C */ addi r3, r3, 0xc +lbl_8005CE8C: +/* 8005CE8C 00059DEC 7C 03 00 40 */ cmplw r3, r0 +/* 8005CE90 00059DF0 40 82 FF F8 */ bne lbl_8005CE88 +/* 8005CE94 00059DF4 38 00 00 00 */ li r0, 0 +/* 8005CE98 00059DF8 90 1E 00 08 */ stw r0, 8(r30) +/* 8005CE9C 00059DFC 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8005CEA0 00059E00 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8005CEA4 00059E04 54 00 10 3A */ slwi r0, r0, 2 +/* 8005CEA8 00059E08 7C 03 02 14 */ add r0, r3, r0 +/* 8005CEAC 00059E0C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8005CEB0 00059E10 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005CEB4 00059E14 90 01 00 20 */ stw r0, 0x20(r1) +/* 8005CEB8 00059E18 90 61 00 18 */ stw r3, 0x18(r1) +/* 8005CEBC 00059E1C 48 00 00 08 */ b lbl_8005CEC4 +lbl_8005CEC0: +/* 8005CEC0 00059E20 38 63 00 04 */ addi r3, r3, 4 +lbl_8005CEC4: +/* 8005CEC4 00059E24 7C 03 00 40 */ cmplw r3, r0 +/* 8005CEC8 00059E28 40 82 FF F8 */ bne lbl_8005CEC0 +/* 8005CECC 00059E2C 38 00 00 00 */ li r0, 0 +/* 8005CED0 00059E30 90 1E 00 28 */ stw r0, 0x28(r30) +/* 8005CED4 00059E34 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 8005CED8 00059E38 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 8005CEDC 00059E3C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CEE0 00059E40 90 61 00 0C */ stw r3, 0xc(r1) +/* 8005CEE4 00059E44 7C 03 02 14 */ add r0, r3, r0 +/* 8005CEE8 00059E48 90 61 00 08 */ stw r3, 8(r1) +/* 8005CEEC 00059E4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005CEF0 00059E50 90 01 00 10 */ stw r0, 0x10(r1) +/* 8005CEF4 00059E54 48 00 00 08 */ b lbl_8005CEFC +lbl_8005CEF8: +/* 8005CEF8 00059E58 38 63 00 0C */ addi r3, r3, 0xc +lbl_8005CEFC: +/* 8005CEFC 00059E5C 7C 03 00 40 */ cmplw r3, r0 +/* 8005CF00 00059E60 40 82 FF F8 */ bne lbl_8005CEF8 +/* 8005CF04 00059E64 38 00 00 00 */ li r0, 0 +/* 8005CF08 00059E68 28 1F 00 00 */ cmplwi r31, 0 +/* 8005CF0C 00059E6C 90 1E 00 38 */ stw r0, 0x38(r30) +/* 8005CF10 00059E70 41 82 00 28 */ beq lbl_8005CF38 +/* 8005CF14 00059E74 7F E4 FB 78 */ mr r4, r31 +/* 8005CF18 00059E78 38 7E 00 04 */ addi r3, r30, 4 +/* 8005CF1C 00059E7C 48 00 0D DD */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 8005CF20 00059E80 7F E4 FB 78 */ mr r4, r31 +/* 8005CF24 00059E84 38 7E 00 24 */ addi r3, r30, 0x24 +/* 8005CF28 00059E88 48 00 0E D1 */ bl "reserve__Q24rstl36vectorFi" +/* 8005CF2C 00059E8C 7F E4 FB 78 */ mr r4, r31 +/* 8005CF30 00059E90 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8005CF34 00059E94 48 00 0D C5 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8005CF38: +/* 8005CF38 00059E98 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8005CF3C 00059E9C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8005CF40 00059EA0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8005CF44 00059EA4 7C 08 03 A6 */ mtlr r0 +/* 8005CF48 00059EA8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8005CF4C 00059EAC 4E 80 00 20 */ blr + +.global AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f: +/* 8005CF50 00059EB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005CF54 00059EB4 7C 08 02 A6 */ mflr r0 +/* 8005CF58 00059EB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005CF5C 00059EBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005CF60 00059EC0 7C 7F 1B 78 */ mr r31, r3 +/* 8005CF64 00059EC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005CF68 00059EC8 7C BE 2B 78 */ mr r30, r5 +/* 8005CF6C 00059ECC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005CF70 00059ED0 7C 9D 23 78 */ mr r29, r4 +/* 8005CF74 00059ED4 80 03 00 08 */ lwz r0, 8(r3) +/* 8005CF78 00059ED8 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 8005CF7C 00059EDC 7C 00 28 00 */ cmpw r0, r5 +/* 8005CF80 00059EE0 41 80 00 1C */ blt lbl_8005CF9C +/* 8005CF84 00059EE4 2C 05 00 00 */ cmpwi r5, 0 +/* 8005CF88 00059EE8 38 7F 00 04 */ addi r3, r31, 4 +/* 8005CF8C 00059EEC 38 80 00 04 */ li r4, 4 +/* 8005CF90 00059EF0 41 82 00 08 */ beq lbl_8005CF98 +/* 8005CF94 00059EF4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005CF98: +/* 8005CF98 00059EF8 48 00 0D 61 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8005CF9C: +/* 8005CF9C 00059EFC 80 1F 00 08 */ lwz r0, 8(r31) +/* 8005CFA0 00059F00 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8005CFA4 00059F04 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005CFA8 00059F08 7C 63 02 15 */ add. r3, r3, r0 +/* 8005CFAC 00059F0C 41 82 00 1C */ beq lbl_8005CFC8 +/* 8005CFB0 00059F10 C0 1D 00 00 */ lfs f0, 0(r29) +/* 8005CFB4 00059F14 D0 03 00 00 */ stfs f0, 0(r3) +/* 8005CFB8 00059F18 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8005CFBC 00059F1C D0 03 00 04 */ stfs f0, 4(r3) +/* 8005CFC0 00059F20 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8005CFC4 00059F24 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8005CFC8: +/* 8005CFC8 00059F28 80 7F 00 08 */ lwz r3, 8(r31) +/* 8005CFCC 00059F2C 38 03 00 01 */ addi r0, r3, 1 +/* 8005CFD0 00059F30 90 1F 00 08 */ stw r0, 8(r31) +/* 8005CFD4 00059F34 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8005CFD8 00059F38 80 BF 00 3C */ lwz r5, 0x3c(r31) +/* 8005CFDC 00059F3C 7C 00 28 00 */ cmpw r0, r5 +/* 8005CFE0 00059F40 41 80 00 1C */ blt lbl_8005CFFC +/* 8005CFE4 00059F44 2C 05 00 00 */ cmpwi r5, 0 +/* 8005CFE8 00059F48 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8005CFEC 00059F4C 38 80 00 04 */ li r4, 4 +/* 8005CFF0 00059F50 41 82 00 08 */ beq lbl_8005CFF8 +/* 8005CFF4 00059F54 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005CFF8: +/* 8005CFF8 00059F58 48 00 0D 01 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8005CFFC: +/* 8005CFFC 00059F5C 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8005D000 00059F60 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8005D004 00059F64 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005D008 00059F68 7C 63 02 15 */ add. r3, r3, r0 +/* 8005D00C 00059F6C 41 82 00 1C */ beq lbl_8005D028 +/* 8005D010 00059F70 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8005D014 00059F74 D0 03 00 00 */ stfs f0, 0(r3) +/* 8005D018 00059F78 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8005D01C 00059F7C D0 03 00 04 */ stfs f0, 4(r3) +/* 8005D020 00059F80 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8005D024 00059F84 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8005D028: +/* 8005D028 00059F88 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8005D02C 00059F8C 38 03 00 01 */ addi r0, r3, 1 +/* 8005D030 00059F90 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8005D034 00059F94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005D038 00059F98 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005D03C 00059F9C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8005D040 00059FA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005D044 00059FA4 7C 08 03 A6 */ mtlr r0 +/* 8005D048 00059FA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005D04C 00059FAC 4E 80 00 20 */ blr + +.global SetKnotPosition__13CCameraSplineFiRC9CVector3f +SetKnotPosition__13CCameraSplineFiRC9CVector3f: +/* 8005D050 00059FB0 80 03 00 08 */ lwz r0, 8(r3) +/* 8005D054 00059FB4 7C 04 00 00 */ cmpw r4, r0 +/* 8005D058 00059FB8 4C 80 00 20 */ bgelr +/* 8005D05C 00059FBC 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8005D060 00059FC0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8005D064 00059FC4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8005D068 00059FC8 7C 63 02 14 */ add r3, r3, r0 +/* 8005D06C 00059FCC D0 03 00 00 */ stfs f0, 0(r3) +/* 8005D070 00059FD0 C0 05 00 04 */ lfs f0, 4(r5) +/* 8005D074 00059FD4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005D078 00059FD8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8005D07C 00059FDC D0 03 00 08 */ stfs f0, 8(r3) +/* 8005D080 00059FE0 4E 80 00 20 */ blr + +.global GetKnotPosition__11CBallCameraCFi +GetKnotPosition__11CBallCameraCFi: +/* 8005D084 00059FE4 80 04 00 08 */ lwz r0, 8(r4) +/* 8005D088 00059FE8 7C 05 00 00 */ cmpw r5, r0 +/* 8005D08C 00059FEC 40 80 00 2C */ bge lbl_8005D0B8 +/* 8005D090 00059FF0 1C 05 00 0C */ mulli r0, r5, 0xc +/* 8005D094 00059FF4 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8005D098 00059FF8 7C 84 02 14 */ add r4, r4, r0 +/* 8005D09C 00059FFC C0 04 00 00 */ lfs f0, 0(r4) +/* 8005D0A0 0005A000 D0 03 00 00 */ stfs f0, 0(r3) +/* 8005D0A4 0005A004 C0 04 00 04 */ lfs f0, 4(r4) +/* 8005D0A8 0005A008 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005D0AC 0005A00C C0 04 00 08 */ lfs f0, 8(r4) +/* 8005D0B0 0005A010 D0 03 00 08 */ stfs f0, 8(r3) +/* 8005D0B4 0005A014 4E 80 00 20 */ blr +lbl_8005D0B8: +/* 8005D0B8 0005A018 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8005D0BC 0005A01C C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 8005D0C0 0005A020 D0 03 00 00 */ stfs f0, 0(r3) +/* 8005D0C4 0005A024 C0 04 00 04 */ lfs f0, 4(r4) +/* 8005D0C8 0005A028 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005D0CC 0005A02C C0 04 00 08 */ lfs f0, 8(r4) +/* 8005D0D0 0005A030 D0 03 00 08 */ stfs f0, 8(r3) +/* 8005D0D4 0005A034 4E 80 00 20 */ blr + +.global GetKnotT__13CCameraSplineCFi +GetKnotT__13CCameraSplineCFi: +/* 8005D0D8 0005A038 80 03 00 08 */ lwz r0, 8(r3) +/* 8005D0DC 0005A03C 7C 04 00 00 */ cmpw r4, r0 +/* 8005D0E0 0005A040 40 80 00 14 */ bge lbl_8005D0F4 +/* 8005D0E4 0005A044 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8005D0E8 0005A048 54 80 10 3A */ slwi r0, r4, 2 +/* 8005D0EC 0005A04C 7C 23 04 2E */ lfsx f1, r3, r0 +/* 8005D0F0 0005A050 4E 80 00 20 */ blr +lbl_8005D0F4: +/* 8005D0F4 0005A054 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) +/* 8005D0F8 0005A058 4E 80 00 20 */ blr + +.global "CalculateKnots__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager" +"CalculateKnots__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager": +/* 8005D0FC 0005A05C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8005D100 0005A060 7C 08 02 A6 */ mflr r0 +/* 8005D104 0005A064 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8005D108 0005A068 BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 8005D10C 0005A06C 7C 7B 1B 78 */ mr r27, r3 +/* 8005D110 0005A070 7C DC 33 78 */ mr r28, r6 +/* 8005D114 0005A074 3B E0 00 00 */ li r31, 0 +/* 8005D118 0005A078 80 05 00 04 */ lwz r0, 4(r5) +/* 8005D11C 0005A07C 80 85 00 0C */ lwz r4, 0xc(r5) +/* 8005D120 0005A080 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005D124 0005A084 7C 64 02 14 */ add r3, r4, r0 +/* 8005D128 0005A088 48 00 00 24 */ b lbl_8005D14C +lbl_8005D12C: +/* 8005D12C 0005A08C 80 04 00 00 */ lwz r0, 0(r4) +/* 8005D130 0005A090 2C 00 00 0F */ cmpwi r0, 0xf +/* 8005D134 0005A094 40 82 00 14 */ bne lbl_8005D148 +/* 8005D138 0005A098 80 04 00 04 */ lwz r0, 4(r4) +/* 8005D13C 0005A09C 2C 00 00 06 */ cmpwi r0, 6 +/* 8005D140 0005A0A0 40 82 00 08 */ bne lbl_8005D148 +/* 8005D144 0005A0A4 7C 9F 23 78 */ mr r31, r4 +lbl_8005D148: +/* 8005D148 0005A0A8 38 84 00 0C */ addi r4, r4, 0xc +lbl_8005D14C: +/* 8005D14C 0005A0AC 7C 04 18 40 */ cmplw r4, r3 +/* 8005D150 0005A0B0 40 82 FF DC */ bne lbl_8005D12C +/* 8005D154 0005A0B4 28 1F 00 00 */ cmplwi r31, 0 +/* 8005D158 0005A0B8 41 82 03 44 */ beq lbl_8005D49C +/* 8005D15C 0005A0BC 80 1F 00 08 */ lwz r0, 8(r31) +/* 8005D160 0005A0C0 7F 84 E3 78 */ mr r4, r28 +/* 8005D164 0005A0C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005D168 0005A0C8 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8005D16C 0005A0CC 90 01 00 74 */ stw r0, 0x74(r1) +/* 8005D170 0005A0D0 4B FE AD AD */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8005D174 0005A0D4 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 8005D178 0005A0D8 7F 83 E3 78 */ mr r3, r28 +/* 8005D17C 0005A0DC 38 81 00 24 */ addi r4, r1, 0x24 +/* 8005D180 0005A0E0 B0 01 00 24 */ sth r0, 0x24(r1) +/* 8005D184 0005A0E4 4B FE F3 F1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8005D188 0005A0E8 7C 64 1B 78 */ mr r4, r3 +/* 8005D18C 0005A0EC 38 61 00 90 */ addi r3, r1, 0x90 +/* 8005D190 0005A0F0 48 04 DC 15 */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" +/* 8005D194 0005A0F4 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 8005D198 0005A0F8 3B A0 00 00 */ li r29, 0 +/* 8005D19C 0005A0FC 80 9B 00 20 */ lwz r4, 0x20(r27) +/* 8005D1A0 0005A100 54 00 08 3C */ slwi r0, r0, 1 +/* 8005D1A4 0005A104 83 C3 00 04 */ lwz r30, 4(r3) +/* 8005D1A8 0005A108 7C 04 02 14 */ add r0, r4, r0 +/* 8005D1AC 0005A10C 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8005D1B0 0005A110 90 01 00 44 */ stw r0, 0x44(r1) +/* 8005D1B4 0005A114 90 01 00 40 */ stw r0, 0x40(r1) +/* 8005D1B8 0005A118 90 81 00 38 */ stw r4, 0x38(r1) +/* 8005D1BC 0005A11C 48 00 00 08 */ b lbl_8005D1C4 +lbl_8005D1C0: +/* 8005D1C0 0005A120 38 84 00 02 */ addi r4, r4, 2 +lbl_8005D1C4: +/* 8005D1C4 0005A124 7C 04 00 40 */ cmplw r4, r0 +/* 8005D1C8 0005A128 40 82 FF F8 */ bne lbl_8005D1C0 +/* 8005D1CC 0005A12C 38 00 00 00 */ li r0, 0 +/* 8005D1D0 0005A130 38 7B 00 14 */ addi r3, r27, 0x14 +/* 8005D1D4 0005A134 90 1B 00 18 */ stw r0, 0x18(r27) +/* 8005D1D8 0005A138 38 80 00 04 */ li r4, 4 +/* 8005D1DC 0005A13C 4B FA F2 2D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 8005D1E0 0005A140 48 00 01 00 */ b lbl_8005D2E0 +lbl_8005D1E4: +/* 8005D1E4 0005A144 80 DB 00 18 */ lwz r6, 0x18(r27) +/* 8005D1E8 0005A148 80 1B 00 20 */ lwz r0, 0x20(r27) +/* 8005D1EC 0005A14C 54 C4 08 3C */ slwi r4, r6, 1 +/* 8005D1F0 0005A150 A0 FE 00 08 */ lhz r7, 8(r30) +/* 8005D1F4 0005A154 7C A0 22 14 */ add r5, r0, r4 +/* 8005D1F8 0005A158 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8005D1FC 0005A15C 90 A1 00 60 */ stw r5, 0x60(r1) +/* 8005D200 0005A160 90 01 00 70 */ stw r0, 0x70(r1) +/* 8005D204 0005A164 90 A1 00 64 */ stw r5, 0x64(r1) +/* 8005D208 0005A168 90 A1 00 68 */ stw r5, 0x68(r1) +/* 8005D20C 0005A16C 48 00 00 10 */ b lbl_8005D21C +lbl_8005D210: +/* 8005D210 0005A170 80 61 00 70 */ lwz r3, 0x70(r1) +/* 8005D214 0005A174 38 03 00 02 */ addi r0, r3, 2 +/* 8005D218 0005A178 90 01 00 70 */ stw r0, 0x70(r1) +lbl_8005D21C: +/* 8005D21C 0005A17C 80 61 00 70 */ lwz r3, 0x70(r1) +/* 8005D220 0005A180 7C 03 28 40 */ cmplw r3, r5 +/* 8005D224 0005A184 41 82 00 10 */ beq lbl_8005D234 +/* 8005D228 0005A188 A0 03 00 00 */ lhz r0, 0(r3) +/* 8005D22C 0005A18C 7C 00 38 40 */ cmplw r0, r7 +/* 8005D230 0005A190 40 82 FF E0 */ bne lbl_8005D210 +lbl_8005D234: +/* 8005D234 0005A194 80 61 00 70 */ lwz r3, 0x70(r1) +/* 8005D238 0005A198 80 01 00 60 */ lwz r0, 0x60(r1) +/* 8005D23C 0005A19C 7C 03 00 40 */ cmplw r3, r0 +/* 8005D240 0005A1A0 40 82 00 A8 */ bne lbl_8005D2E8 +/* 8005D244 0005A1A4 80 1B 00 1C */ lwz r0, 0x1c(r27) +/* 8005D248 0005A1A8 7C 06 00 00 */ cmpw r6, r0 +/* 8005D24C 0005A1AC 40 82 00 0C */ bne lbl_8005D258 +/* 8005D250 0005A1B0 38 7B 00 14 */ addi r3, r27, 0x14 +/* 8005D254 0005A1B4 4B FA F1 B5 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_8005D258: +/* 8005D258 0005A1B8 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 8005D25C 0005A1BC 80 BB 00 1C */ lwz r5, 0x1c(r27) +/* 8005D260 0005A1C0 A3 5E 00 08 */ lhz r26, 8(r30) +/* 8005D264 0005A1C4 7C 00 28 00 */ cmpw r0, r5 +/* 8005D268 0005A1C8 41 80 00 1C */ blt lbl_8005D284 +/* 8005D26C 0005A1CC 2C 05 00 00 */ cmpwi r5, 0 +/* 8005D270 0005A1D0 38 7B 00 14 */ addi r3, r27, 0x14 +/* 8005D274 0005A1D4 38 80 00 04 */ li r4, 4 +/* 8005D278 0005A1D8 41 82 00 08 */ beq lbl_8005D280 +/* 8005D27C 0005A1DC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005D280: +/* 8005D280 0005A1E0 4B FA F1 89 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_8005D284: +/* 8005D284 0005A1E4 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 8005D288 0005A1E8 80 7B 00 20 */ lwz r3, 0x20(r27) +/* 8005D28C 0005A1EC 54 00 08 3C */ slwi r0, r0, 1 +/* 8005D290 0005A1F0 7C 63 02 15 */ add. r3, r3, r0 +/* 8005D294 0005A1F4 41 82 00 08 */ beq lbl_8005D29C +/* 8005D298 0005A1F8 B3 43 00 00 */ sth r26, 0(r3) +lbl_8005D29C: +/* 8005D29C 0005A1FC 80 DB 00 18 */ lwz r6, 0x18(r27) +/* 8005D2A0 0005A200 7F C4 F3 78 */ mr r4, r30 +/* 8005D2A4 0005A204 7F 85 E3 78 */ mr r5, r28 +/* 8005D2A8 0005A208 38 61 00 18 */ addi r3, r1, 0x18 +/* 8005D2AC 0005A20C 38 06 00 01 */ addi r0, r6, 1 +/* 8005D2B0 0005A210 3B BD 00 01 */ addi r29, r29, 1 +/* 8005D2B4 0005A214 90 1B 00 18 */ stw r0, 0x18(r27) +/* 8005D2B8 0005A218 48 05 7F 51 */ bl GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager +/* 8005D2BC 0005A21C A0 01 00 18 */ lhz r0, 0x18(r1) +/* 8005D2C0 0005A220 7F 83 E3 78 */ mr r3, r28 +/* 8005D2C4 0005A224 38 81 00 1C */ addi r4, r1, 0x1c +/* 8005D2C8 0005A228 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8005D2CC 0005A22C 4B FE F2 A9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8005D2D0 0005A230 7C 64 1B 78 */ mr r4, r3 +/* 8005D2D4 0005A234 38 61 00 88 */ addi r3, r1, 0x88 +/* 8005D2D8 0005A238 48 04 DA CD */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" +/* 8005D2DC 0005A23C 83 C3 00 04 */ lwz r30, 4(r3) +lbl_8005D2E0: +/* 8005D2E0 0005A240 28 1E 00 00 */ cmplwi r30, 0 +/* 8005D2E4 0005A244 40 82 FF 00 */ bne lbl_8005D1E4 +lbl_8005D2E8: +/* 8005D2E8 0005A248 7F 63 DB 78 */ mr r3, r27 +/* 8005D2EC 0005A24C 7F A4 EB 78 */ mr r4, r29 +/* 8005D2F0 0005A250 4B FF FB 59 */ bl Reset__13CCameraSplineFi +/* 8005D2F4 0005A254 38 00 00 00 */ li r0, 0 +/* 8005D2F8 0005A258 38 7B 00 14 */ addi r3, r27, 0x14 +/* 8005D2FC 0005A25C 90 01 00 CC */ stw r0, 0xcc(r1) +/* 8005D300 0005A260 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8005D304 0005A264 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 8005D308 0005A268 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8005D30C 0005A26C 48 00 01 A5 */ bl sub_8005d4b0 +/* 8005D310 0005A270 80 01 00 CC */ lwz r0, 0xcc(r1) +/* 8005D314 0005A274 80 61 00 D4 */ lwz r3, 0xd4(r1) +/* 8005D318 0005A278 54 00 08 3C */ slwi r0, r0, 1 +/* 8005D31C 0005A27C 7C 03 02 14 */ add r0, r3, r0 +/* 8005D320 0005A280 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8005D324 0005A284 7C 64 1B 78 */ mr r4, r3 +/* 8005D328 0005A288 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005D32C 0005A28C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8005D330 0005A290 90 61 00 28 */ stw r3, 0x28(r1) +/* 8005D334 0005A294 48 00 00 08 */ b lbl_8005D33C +lbl_8005D338: +/* 8005D338 0005A298 38 84 00 02 */ addi r4, r4, 2 +lbl_8005D33C: +/* 8005D33C 0005A29C 7C 04 00 40 */ cmplw r4, r0 +/* 8005D340 0005A2A0 40 82 FF F8 */ bne lbl_8005D338 +/* 8005D344 0005A2A4 28 03 00 00 */ cmplwi r3, 0 +/* 8005D348 0005A2A8 41 82 00 08 */ beq lbl_8005D350 +/* 8005D34C 0005A2AC 48 2B 85 E5 */ bl Free__7CMemoryFPCv +lbl_8005D350: +/* 8005D350 0005A2B0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8005D354 0005A2B4 7F 84 E3 78 */ mr r4, r28 +/* 8005D358 0005A2B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8005D35C 0005A2BC 38 A1 00 5C */ addi r5, r1, 0x5c +/* 8005D360 0005A2C0 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8005D364 0005A2C4 4B FE AB B9 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8005D368 0005A2C8 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8005D36C 0005A2CC 7F 83 E3 78 */ mr r3, r28 +/* 8005D370 0005A2D0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8005D374 0005A2D4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8005D378 0005A2D8 4B FE F1 FD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8005D37C 0005A2DC 7C 64 1B 78 */ mr r4, r3 +/* 8005D380 0005A2E0 38 61 00 80 */ addi r3, r1, 0x80 +/* 8005D384 0005A2E4 48 04 DA 21 */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" +/* 8005D388 0005A2E8 83 E3 00 04 */ lwz r31, 4(r3) +/* 8005D38C 0005A2EC 48 00 01 08 */ b lbl_8005D494 +lbl_8005D390: +/* 8005D390 0005A2F0 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 8005D394 0005A2F4 80 7B 00 20 */ lwz r3, 0x20(r27) +/* 8005D398 0005A2F8 54 00 08 3C */ slwi r0, r0, 1 +/* 8005D39C 0005A2FC A0 BF 00 08 */ lhz r5, 8(r31) +/* 8005D3A0 0005A300 7C 83 02 14 */ add r4, r3, r0 +/* 8005D3A4 0005A304 90 61 00 54 */ stw r3, 0x54(r1) +/* 8005D3A8 0005A308 90 81 00 48 */ stw r4, 0x48(r1) +/* 8005D3AC 0005A30C 90 61 00 58 */ stw r3, 0x58(r1) +/* 8005D3B0 0005A310 90 81 00 4C */ stw r4, 0x4c(r1) +/* 8005D3B4 0005A314 90 81 00 50 */ stw r4, 0x50(r1) +/* 8005D3B8 0005A318 48 00 00 10 */ b lbl_8005D3C8 +lbl_8005D3BC: +/* 8005D3BC 0005A31C 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8005D3C0 0005A320 38 03 00 02 */ addi r0, r3, 2 +/* 8005D3C4 0005A324 90 01 00 58 */ stw r0, 0x58(r1) +lbl_8005D3C8: +/* 8005D3C8 0005A328 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8005D3CC 0005A32C 7C 03 20 40 */ cmplw r3, r4 +/* 8005D3D0 0005A330 41 82 00 10 */ beq lbl_8005D3E0 +/* 8005D3D4 0005A334 A0 03 00 00 */ lhz r0, 0(r3) +/* 8005D3D8 0005A338 7C 00 28 40 */ cmplw r0, r5 +/* 8005D3DC 0005A33C 40 82 FF E0 */ bne lbl_8005D3BC +lbl_8005D3E0: +/* 8005D3E0 0005A340 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8005D3E4 0005A344 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8005D3E8 0005A348 7C 03 00 40 */ cmplw r3, r0 +/* 8005D3EC 0005A34C 40 82 00 B0 */ bne lbl_8005D49C +/* 8005D3F0 0005A350 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 8005D3F4 0005A354 7F 63 DB 78 */ mr r3, r27 +/* 8005D3F8 0005A358 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 8005D3FC 0005A35C 38 81 00 BC */ addi r4, r1, 0xbc +/* 8005D400 0005A360 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8005D404 0005A364 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 8005D408 0005A368 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8005D40C 0005A36C D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8005D410 0005A370 80 C1 00 9C */ lwz r6, 0x9c(r1) +/* 8005D414 0005A374 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 8005D418 0005A378 80 E1 00 98 */ lwz r7, 0x98(r1) +/* 8005D41C 0005A37C 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 8005D420 0005A380 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 8005D424 0005A384 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 8005D428 0005A388 90 01 00 AC */ stw r0, 0xac(r1) +/* 8005D42C 0005A38C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8005D430 0005A390 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8005D434 0005A394 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8005D438 0005A398 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 8005D43C 0005A39C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8005D440 0005A3A0 80 C1 00 B4 */ lwz r6, 0xb4(r1) +/* 8005D444 0005A3A4 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 8005D448 0005A3A8 80 E1 00 B0 */ lwz r7, 0xb0(r1) +/* 8005D44C 0005A3AC 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8005D450 0005A3B0 90 E1 00 BC */ stw r7, 0xbc(r1) +/* 8005D454 0005A3B4 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 8005D458 0005A3B8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8005D45C 0005A3BC 4B FF FA F5 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +/* 8005D460 0005A3C0 7F E4 FB 78 */ mr r4, r31 +/* 8005D464 0005A3C4 7F 85 E3 78 */ mr r5, r28 +/* 8005D468 0005A3C8 38 61 00 08 */ addi r3, r1, 8 +/* 8005D46C 0005A3CC 48 05 7D 9D */ bl GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager +/* 8005D470 0005A3D0 A0 01 00 08 */ lhz r0, 8(r1) +/* 8005D474 0005A3D4 7F 83 E3 78 */ mr r3, r28 +/* 8005D478 0005A3D8 38 81 00 0C */ addi r4, r1, 0xc +/* 8005D47C 0005A3DC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8005D480 0005A3E0 4B FE F0 F5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8005D484 0005A3E4 7C 64 1B 78 */ mr r4, r3 +/* 8005D488 0005A3E8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8005D48C 0005A3EC 48 04 D9 19 */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" +/* 8005D490 0005A3F0 83 E3 00 04 */ lwz r31, 4(r3) +lbl_8005D494: +/* 8005D494 0005A3F4 28 1F 00 00 */ cmplwi r31, 0 +/* 8005D498 0005A3F8 40 82 FE F8 */ bne lbl_8005D390 +lbl_8005D49C: +/* 8005D49C 0005A3FC BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 8005D4A0 0005A400 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8005D4A4 0005A404 7C 08 03 A6 */ mtlr r0 +/* 8005D4A8 0005A408 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8005D4AC 0005A40C 4E 80 00 20 */ blr + +.global sub_8005d4b0 +sub_8005d4b0: +/* 8005D4B0 0005A410 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005D4B4 0005A414 7C 08 02 A6 */ mflr r0 +/* 8005D4B8 0005A418 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005D4BC 0005A41C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005D4C0 0005A420 7C 7F 1B 78 */ mr r31, r3 +/* 8005D4C4 0005A424 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005D4C8 0005A428 7C 9E 23 78 */ mr r30, r4 +/* 8005D4CC 0005A42C 7C 1F F0 40 */ cmplw r31, r30 +/* 8005D4D0 0005A430 40 82 00 08 */ bne lbl_8005D4D8 +/* 8005D4D4 0005A434 48 00 00 B8 */ b lbl_8005D58C +lbl_8005D4D8: +/* 8005D4D8 0005A438 80 1F 00 04 */ lwz r0, 4(r31) +/* 8005D4DC 0005A43C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8005D4E0 0005A440 54 00 08 3C */ slwi r0, r0, 1 +/* 8005D4E4 0005A444 7C 03 02 14 */ add r0, r3, r0 +/* 8005D4E8 0005A448 90 61 00 0C */ stw r3, 0xc(r1) +/* 8005D4EC 0005A44C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005D4F0 0005A450 90 01 00 10 */ stw r0, 0x10(r1) +/* 8005D4F4 0005A454 90 61 00 08 */ stw r3, 8(r1) +/* 8005D4F8 0005A458 48 00 00 08 */ b lbl_8005D500 +lbl_8005D4FC: +/* 8005D4FC 0005A45C 38 63 00 02 */ addi r3, r3, 2 +lbl_8005D500: +/* 8005D500 0005A460 7C 03 00 40 */ cmplw r3, r0 +/* 8005D504 0005A464 40 82 FF F8 */ bne lbl_8005D4FC +/* 8005D508 0005A468 38 00 00 00 */ li r0, 0 +/* 8005D50C 0005A46C 90 1F 00 04 */ stw r0, 4(r31) +/* 8005D510 0005A470 80 9E 00 04 */ lwz r4, 4(r30) +/* 8005D514 0005A474 2C 04 00 00 */ cmpwi r4, 0 +/* 8005D518 0005A478 40 82 00 28 */ bne lbl_8005D540 +/* 8005D51C 0005A47C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8005D520 0005A480 28 03 00 00 */ cmplwi r3, 0 +/* 8005D524 0005A484 41 82 00 08 */ beq lbl_8005D52C +/* 8005D528 0005A488 48 2B 84 09 */ bl Free__7CMemoryFPCv +lbl_8005D52C: +/* 8005D52C 0005A48C 38 00 00 00 */ li r0, 0 +/* 8005D530 0005A490 90 1F 00 04 */ stw r0, 4(r31) +/* 8005D534 0005A494 90 1F 00 08 */ stw r0, 8(r31) +/* 8005D538 0005A498 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8005D53C 0005A49C 48 00 00 4C */ b lbl_8005D588 +lbl_8005D540: +/* 8005D540 0005A4A0 7F E3 FB 78 */ mr r3, r31 +/* 8005D544 0005A4A4 4B FA EE C5 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 8005D548 0005A4A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005D54C 0005A4AC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8005D550 0005A4B0 54 00 08 3C */ slwi r0, r0, 1 +/* 8005D554 0005A4B4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8005D558 0005A4B8 7C 85 02 14 */ add r4, r5, r0 +/* 8005D55C 0005A4BC 48 00 00 1C */ b lbl_8005D578 +lbl_8005D560: +/* 8005D560 0005A4C0 28 03 00 00 */ cmplwi r3, 0 +/* 8005D564 0005A4C4 41 82 00 0C */ beq lbl_8005D570 +/* 8005D568 0005A4C8 A0 05 00 00 */ lhz r0, 0(r5) +/* 8005D56C 0005A4CC B0 03 00 00 */ sth r0, 0(r3) +lbl_8005D570: +/* 8005D570 0005A4D0 38 63 00 02 */ addi r3, r3, 2 +/* 8005D574 0005A4D4 38 A5 00 02 */ addi r5, r5, 2 +lbl_8005D578: +/* 8005D578 0005A4D8 7C 05 20 40 */ cmplw r5, r4 +/* 8005D57C 0005A4DC 40 82 FF E4 */ bne lbl_8005D560 +/* 8005D580 0005A4E0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005D584 0005A4E4 90 1F 00 04 */ stw r0, 4(r31) +lbl_8005D588: +/* 8005D588 0005A4E8 7F E3 FB 78 */ mr r3, r31 +lbl_8005D58C: +/* 8005D58C 0005A4EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005D590 0005A4F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005D594 0005A4F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005D598 0005A4F8 7C 08 03 A6 */ mtlr r0 +/* 8005D59C 0005A4FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005D5A0 0005A500 4E 80 00 20 */ blr + +.global "Initialise__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager" +"Initialise__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager": +/* 8005D5A4 0005A504 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005D5A8 0005A508 7C 08 02 A6 */ mflr r0 +/* 8005D5AC 0005A50C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005D5B0 0005A510 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005D5B4 0005A514 7C 7F 1B 78 */ mr r31, r3 +/* 8005D5B8 0005A518 A0 04 00 00 */ lhz r0, 0(r4) +/* 8005D5BC 0005A51C 38 81 00 08 */ addi r4, r1, 8 +/* 8005D5C0 0005A520 B0 01 00 08 */ sth r0, 8(r1) +/* 8005D5C4 0005A524 4B FF FB 39 */ bl "CalculateKnots__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager" +/* 8005D5C8 0005A528 7F E3 FB 78 */ mr r3, r31 +/* 8005D5CC 0005A52C 4B FF EC F1 */ bl CalculateSplineLength__13CCameraSplineFv +/* 8005D5D0 0005A530 D0 3F 00 44 */ stfs f1, 0x44(r31) +/* 8005D5D4 0005A534 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005D5D8 0005A538 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005D5DC 0005A53C 7C 08 03 A6 */ mtlr r0 +/* 8005D5E0 0005A540 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005D5E4 0005A544 4E 80 00 20 */ blr + +.global __dt__13CCameraSplineFv +__dt__13CCameraSplineFv: +/* 8005D5E8 0005A548 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8005D5EC 0005A54C 7C 08 02 A6 */ mflr r0 +/* 8005D5F0 0005A550 90 01 00 54 */ stw r0, 0x54(r1) +/* 8005D5F4 0005A554 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8005D5F8 0005A558 7C 9F 23 78 */ mr r31, r4 +/* 8005D5FC 0005A55C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8005D600 0005A560 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8005D604 0005A564 41 82 01 40 */ beq lbl_8005D744 +/* 8005D608 0005A568 3C 60 80 3E */ lis r3, lbl_803DA188@ha +/* 8005D60C 0005A56C 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 8005D610 0005A570 38 03 A1 88 */ addi r0, r3, lbl_803DA188@l +/* 8005D614 0005A574 90 1E 00 00 */ stw r0, 0(r30) +/* 8005D618 0005A578 41 82 00 44 */ beq lbl_8005D65C +/* 8005D61C 0005A57C 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 8005D620 0005A580 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 8005D624 0005A584 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005D628 0005A588 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8005D62C 0005A58C 7C 64 1B 78 */ mr r4, r3 +/* 8005D630 0005A590 7C 03 02 14 */ add r0, r3, r0 +/* 8005D634 0005A594 90 61 00 38 */ stw r3, 0x38(r1) +/* 8005D638 0005A598 90 01 00 44 */ stw r0, 0x44(r1) +/* 8005D63C 0005A59C 90 01 00 40 */ stw r0, 0x40(r1) +/* 8005D640 0005A5A0 48 00 00 08 */ b lbl_8005D648 +lbl_8005D644: +/* 8005D644 0005A5A4 38 84 00 0C */ addi r4, r4, 0xc +lbl_8005D648: +/* 8005D648 0005A5A8 7C 04 00 40 */ cmplw r4, r0 +/* 8005D64C 0005A5AC 40 82 FF F8 */ bne lbl_8005D644 +/* 8005D650 0005A5B0 28 03 00 00 */ cmplwi r3, 0 +/* 8005D654 0005A5B4 41 82 00 08 */ beq lbl_8005D65C +/* 8005D658 0005A5B8 48 2B 82 D9 */ bl Free__7CMemoryFPCv +lbl_8005D65C: +/* 8005D65C 0005A5BC 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 8005D660 0005A5C0 41 82 00 44 */ beq lbl_8005D6A4 +/* 8005D664 0005A5C4 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8005D668 0005A5C8 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8005D66C 0005A5CC 54 00 10 3A */ slwi r0, r0, 2 +/* 8005D670 0005A5D0 7C 03 02 14 */ add r0, r3, r0 +/* 8005D674 0005A5D4 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8005D678 0005A5D8 7C 64 1B 78 */ mr r4, r3 +/* 8005D67C 0005A5DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005D680 0005A5E0 90 01 00 30 */ stw r0, 0x30(r1) +/* 8005D684 0005A5E4 90 61 00 28 */ stw r3, 0x28(r1) +/* 8005D688 0005A5E8 48 00 00 08 */ b lbl_8005D690 +lbl_8005D68C: +/* 8005D68C 0005A5EC 38 84 00 04 */ addi r4, r4, 4 +lbl_8005D690: +/* 8005D690 0005A5F0 7C 04 00 40 */ cmplw r4, r0 +/* 8005D694 0005A5F4 40 82 FF F8 */ bne lbl_8005D68C +/* 8005D698 0005A5F8 28 03 00 00 */ cmplwi r3, 0 +/* 8005D69C 0005A5FC 41 82 00 08 */ beq lbl_8005D6A4 +/* 8005D6A0 0005A600 48 2B 82 91 */ bl Free__7CMemoryFPCv +lbl_8005D6A4: +/* 8005D6A4 0005A604 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8005D6A8 0005A608 41 82 00 44 */ beq lbl_8005D6EC +/* 8005D6AC 0005A60C 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8005D6B0 0005A610 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 8005D6B4 0005A614 54 00 08 3C */ slwi r0, r0, 1 +/* 8005D6B8 0005A618 7C 03 02 14 */ add r0, r3, r0 +/* 8005D6BC 0005A61C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8005D6C0 0005A620 7C 64 1B 78 */ mr r4, r3 +/* 8005D6C4 0005A624 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005D6C8 0005A628 90 01 00 20 */ stw r0, 0x20(r1) +/* 8005D6CC 0005A62C 90 61 00 18 */ stw r3, 0x18(r1) +/* 8005D6D0 0005A630 48 00 00 08 */ b lbl_8005D6D8 +lbl_8005D6D4: +/* 8005D6D4 0005A634 38 84 00 02 */ addi r4, r4, 2 +lbl_8005D6D8: +/* 8005D6D8 0005A638 7C 04 00 40 */ cmplw r4, r0 +/* 8005D6DC 0005A63C 40 82 FF F8 */ bne lbl_8005D6D4 +/* 8005D6E0 0005A640 28 03 00 00 */ cmplwi r3, 0 +/* 8005D6E4 0005A644 41 82 00 08 */ beq lbl_8005D6EC +/* 8005D6E8 0005A648 48 2B 82 49 */ bl Free__7CMemoryFPCv +lbl_8005D6EC: +/* 8005D6EC 0005A64C 34 1E 00 04 */ addic. r0, r30, 4 +/* 8005D6F0 0005A650 41 82 00 44 */ beq lbl_8005D734 +/* 8005D6F4 0005A654 80 1E 00 08 */ lwz r0, 8(r30) +/* 8005D6F8 0005A658 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8005D6FC 0005A65C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005D700 0005A660 90 61 00 0C */ stw r3, 0xc(r1) +/* 8005D704 0005A664 7C 64 1B 78 */ mr r4, r3 +/* 8005D708 0005A668 7C 03 02 14 */ add r0, r3, r0 +/* 8005D70C 0005A66C 90 61 00 08 */ stw r3, 8(r1) +/* 8005D710 0005A670 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005D714 0005A674 90 01 00 10 */ stw r0, 0x10(r1) +/* 8005D718 0005A678 48 00 00 08 */ b lbl_8005D720 +lbl_8005D71C: +/* 8005D71C 0005A67C 38 84 00 0C */ addi r4, r4, 0xc +lbl_8005D720: +/* 8005D720 0005A680 7C 04 00 40 */ cmplw r4, r0 +/* 8005D724 0005A684 40 82 FF F8 */ bne lbl_8005D71C +/* 8005D728 0005A688 28 03 00 00 */ cmplwi r3, 0 +/* 8005D72C 0005A68C 41 82 00 08 */ beq lbl_8005D734 +/* 8005D730 0005A690 48 2B 82 01 */ bl Free__7CMemoryFPCv +lbl_8005D734: +/* 8005D734 0005A694 7F E0 07 35 */ extsh. r0, r31 +/* 8005D738 0005A698 40 81 00 0C */ ble lbl_8005D744 +/* 8005D73C 0005A69C 7F C3 F3 78 */ mr r3, r30 +/* 8005D740 0005A6A0 48 2B 81 F1 */ bl Free__7CMemoryFPCv +lbl_8005D744: +/* 8005D744 0005A6A4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8005D748 0005A6A8 7F C3 F3 78 */ mr r3, r30 +/* 8005D74C 0005A6AC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8005D750 0005A6B0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8005D754 0005A6B4 7C 08 03 A6 */ mtlr r0 +/* 8005D758 0005A6B8 38 21 00 50 */ addi r1, r1, 0x50 +/* 8005D75C 0005A6BC 4E 80 00 20 */ blr + +.global __ct__13CCameraSplineFb +__ct__13CCameraSplineFb: +/* 8005D760 0005A6C0 3C A0 80 3E */ lis r5, lbl_803DA188@ha +/* 8005D764 0005A6C4 38 00 00 00 */ li r0, 0 +/* 8005D768 0005A6C8 38 A5 A1 88 */ addi r5, r5, lbl_803DA188@l +/* 8005D76C 0005A6CC C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005D770 0005A6D0 90 A3 00 00 */ stw r5, 0(r3) +/* 8005D774 0005A6D4 90 03 00 08 */ stw r0, 8(r3) +/* 8005D778 0005A6D8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8005D77C 0005A6DC 90 03 00 10 */ stw r0, 0x10(r3) +/* 8005D780 0005A6E0 90 03 00 18 */ stw r0, 0x18(r3) +/* 8005D784 0005A6E4 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8005D788 0005A6E8 90 03 00 20 */ stw r0, 0x20(r3) +/* 8005D78C 0005A6EC 90 03 00 28 */ stw r0, 0x28(r3) +/* 8005D790 0005A6F0 90 03 00 2C */ stw r0, 0x2c(r3) +/* 8005D794 0005A6F4 90 03 00 30 */ stw r0, 0x30(r3) +/* 8005D798 0005A6F8 90 03 00 38 */ stw r0, 0x38(r3) +/* 8005D79C 0005A6FC 90 03 00 3C */ stw r0, 0x3c(r3) +/* 8005D7A0 0005A700 90 03 00 40 */ stw r0, 0x40(r3) +/* 8005D7A4 0005A704 D0 03 00 44 */ stfs f0, 0x44(r3) +/* 8005D7A8 0005A708 98 83 00 48 */ stb r4, 0x48(r3) +/* 8005D7AC 0005A70C 4E 80 00 20 */ blr + +.global Reset__13CCameraSpringFv +Reset__13CCameraSpringFv: +/* 8005D7B0 0005A710 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005D7B4 0005A714 7C 08 02 A6 */ mflr r0 +/* 8005D7B8 0005A718 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005D7BC 0005A71C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005D7C0 0005A720 7C 7F 1B 78 */ mr r31, r3 +/* 8005D7C4 0005A724 C0 23 00 00 */ lfs f1, 0(r3) +/* 8005D7C8 0005A728 48 2B 7D 39 */ bl SqrtF__5CMathFf +/* 8005D7CC 0005A72C C0 42 86 FC */ lfs f2, lbl_805AA41C@sda21(r2) +/* 8005D7D0 0005A730 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005D7D4 0005A734 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8005D7D8 0005A738 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8005D7DC 0005A73C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8005D7E0 0005A740 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005D7E4 0005A744 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005D7E8 0005A748 7C 08 03 A6 */ mtlr r0 +/* 8005D7EC 0005A74C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005D7F0 0005A750 4E 80 00 20 */ blr + +.global ApplyDistanceSpringNoMax__13CCameraSpringFfff +ApplyDistanceSpringNoMax__13CCameraSpringFfff: +/* 8005D7F4 0005A754 C0 E3 00 10 */ lfs f7, 0x10(r3) +/* 8005D7F8 0005A758 EC 81 10 28 */ fsubs f4, f1, f2 +/* 8005D7FC 0005A75C C0 03 00 04 */ lfs f0, 4(r3) +/* 8005D800 0005A760 C0 A3 00 00 */ lfs f5, 0(r3) +/* 8005D804 0005A764 EC C7 00 F2 */ fmuls f6, f7, f3 +/* 8005D808 0005A768 EC 00 01 F2 */ fmuls f0, f0, f7 +/* 8005D80C 0005A76C C1 03 00 0C */ lfs f8, 0xc(r3) +/* 8005D810 0005A770 EC 48 11 BA */ fmadds f2, f8, f6, f2 +/* 8005D814 0005A774 EC 05 01 38 */ fmsubs f0, f5, f4, f0 +/* 8005D818 0005A778 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 8005D81C 0005A77C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8005D820 0005A780 EC 08 38 3A */ fmadds f0, f8, f0, f7 +/* 8005D824 0005A784 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8005D828 0005A788 40 80 00 08 */ bge lbl_8005D830 +/* 8005D82C 0005A78C FC 40 08 90 */ fmr f2, f1 +lbl_8005D830: +/* 8005D830 0005A790 FC 20 10 90 */ fmr f1, f2 +/* 8005D834 0005A794 4E 80 00 20 */ blr + +.global ApplyDistanceSpring__13CCameraSpringFfff +ApplyDistanceSpring__13CCameraSpringFfff: +/* 8005D838 0005A798 C0 E3 00 10 */ lfs f7, 0x10(r3) +/* 8005D83C 0005A79C EC 81 10 28 */ fsubs f4, f1, f2 +/* 8005D840 0005A7A0 C0 03 00 04 */ lfs f0, 4(r3) +/* 8005D844 0005A7A4 C0 A3 00 00 */ lfs f5, 0(r3) +/* 8005D848 0005A7A8 EC C7 00 F2 */ fmuls f6, f7, f3 +/* 8005D84C 0005A7AC EC 00 01 F2 */ fmuls f0, f0, f7 +/* 8005D850 0005A7B0 C1 03 00 0C */ lfs f8, 0xc(r3) +/* 8005D854 0005A7B4 EC C8 11 BA */ fmadds f6, f8, f6, f2 +/* 8005D858 0005A7B8 EC 05 01 38 */ fmsubs f0, f5, f4, f0 +/* 8005D85C 0005A7BC FC 06 08 40 */ fcmpo cr0, f6, f1 +/* 8005D860 0005A7C0 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8005D864 0005A7C4 EC 08 38 3A */ fmadds f0, f8, f0, f7 +/* 8005D868 0005A7C8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8005D86C 0005A7CC 40 80 00 08 */ bge lbl_8005D874 +/* 8005D870 0005A7D0 FC C0 08 90 */ fmr f6, f1 +lbl_8005D874: +/* 8005D874 0005A7D4 EC 06 08 28 */ fsubs f0, f6, f1 +/* 8005D878 0005A7D8 C0 43 00 08 */ lfs f2, 8(r3) +/* 8005D87C 0005A7DC FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8005D880 0005A7E0 40 81 00 08 */ ble lbl_8005D888 +/* 8005D884 0005A7E4 EC C1 10 2A */ fadds f6, f1, f2 +lbl_8005D888: +/* 8005D888 0005A7E8 FC 20 30 90 */ fmr f1, f6 +/* 8005D88C 0005A7EC 4E 80 00 20 */ blr + +.global ConvertToScreenSpace__11CGameCameraCFRC9CVector3f +ConvertToScreenSpace__11CGameCameraCFRC9CVector3f: +/* 8005D890 0005A7F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8005D894 0005A7F4 7C 08 02 A6 */ mflr r0 +/* 8005D898 0005A7F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8005D89C 0005A7FC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8005D8A0 0005A800 7C 9F 23 78 */ mr r31, r4 +/* 8005D8A4 0005A804 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8005D8A8 0005A808 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8005D8AC 0005A80C 7C 7E 1B 78 */ mr r30, r3 +/* 8005D8B0 0005A810 38 61 00 14 */ addi r3, r1, 0x14 +/* 8005D8B4 0005A814 C0 25 00 08 */ lfs f1, 8(r5) +/* 8005D8B8 0005A818 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8005D8BC 0005A81C C0 65 00 04 */ lfs f3, 4(r5) +/* 8005D8C0 0005A820 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8005D8C4 0005A824 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 8005D8C8 0005A828 C0 25 00 00 */ lfs f1, 0(r5) +/* 8005D8CC 0005A82C 38 A1 00 08 */ addi r5, r1, 8 +/* 8005D8D0 0005A830 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8005D8D4 0005A834 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8005D8D8 0005A838 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8005D8DC 0005A83C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8005D8E0 0005A840 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8005D8E4 0005A844 D0 01 00 08 */ stfs f0, 8(r1) +/* 8005D8E8 0005A848 48 2B 51 3D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8005D8EC 0005A84C C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8005D8F0 0005A850 38 00 00 00 */ li r0, 0 +/* 8005D8F4 0005A854 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005D8F8 0005A858 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8005D8FC 0005A85C C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 8005D900 0005A860 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 8005D904 0005A864 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8005D908 0005A868 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8005D90C 0005A86C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8005D910 0005A870 40 82 00 14 */ bne lbl_8005D924 +/* 8005D914 0005A874 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 8005D918 0005A878 40 82 00 0C */ bne lbl_8005D924 +/* 8005D91C 0005A87C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 8005D920 0005A880 41 82 00 08 */ beq lbl_8005D928 +lbl_8005D924: +/* 8005D924 0005A884 38 00 00 01 */ li r0, 1 +lbl_8005D928: +/* 8005D928 0005A888 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8005D92C 0005A88C 41 82 00 20 */ beq lbl_8005D94C +/* 8005D930 0005A890 7F E3 FB 78 */ mr r3, r31 +/* 8005D934 0005A894 48 00 00 45 */ bl GetPerspectiveMatrix__11CGameCameraCFv +/* 8005D938 0005A898 7C 64 1B 78 */ mr r4, r3 +/* 8005D93C 0005A89C 7F C3 F3 78 */ mr r3, r30 +/* 8005D940 0005A8A0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8005D944 0005A8A4 48 2B 2E 0D */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +/* 8005D948 0005A8A8 48 00 00 18 */ b lbl_8005D960 +lbl_8005D94C: +/* 8005D94C 0005A8AC C0 22 86 D0 */ lfs f1, lbl_805AA3F0@sda21(r2) +/* 8005D950 0005A8B0 C0 02 86 BC */ lfs f0, lbl_805AA3DC@sda21(r2) +/* 8005D954 0005A8B4 D0 3E 00 00 */ stfs f1, 0(r30) +/* 8005D958 0005A8B8 D0 3E 00 04 */ stfs f1, 4(r30) +/* 8005D95C 0005A8BC D0 1E 00 08 */ stfs f0, 8(r30) +lbl_8005D960: +/* 8005D960 0005A8C0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8005D964 0005A8C4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8005D968 0005A8C8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8005D96C 0005A8CC 7C 08 03 A6 */ mtlr r0 +/* 8005D970 0005A8D0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8005D974 0005A8D4 4E 80 00 20 */ blr + +.global GetPerspectiveMatrix__11CGameCameraCFv +GetPerspectiveMatrix__11CGameCameraCFv: +/* 8005D978 0005A8D8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8005D97C 0005A8DC 7C 08 02 A6 */ mflr r0 +/* 8005D980 0005A8E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8005D984 0005A8E4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8005D988 0005A8E8 7C 7F 1B 78 */ mr r31, r3 +/* 8005D98C 0005A8EC 88 03 01 70 */ lbz r0, 0x170(r3) +/* 8005D990 0005A8F0 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 8005D994 0005A8F4 28 00 00 01 */ cmplwi r0, 1 +/* 8005D998 0005A8F8 40 82 00 AC */ bne lbl_8005DA44 +/* 8005D99C 0005A8FC C0 3F 01 5C */ lfs f1, 0x15c(r31) +/* 8005D9A0 0005A900 38 61 00 08 */ addi r3, r1, 8 +/* 8005D9A4 0005A904 C0 5F 01 68 */ lfs f2, 0x168(r31) +/* 8005D9A8 0005A908 C0 7F 01 60 */ lfs f3, 0x160(r31) +/* 8005D9AC 0005A90C C0 9F 01 64 */ lfs f4, 0x164(r31) +/* 8005D9B0 0005A910 48 2A E7 D9 */ bl CalculatePerspectiveMatrix__9CGraphicsFffff +/* 8005D9B4 0005A914 C0 21 00 08 */ lfs f1, 8(r1) +/* 8005D9B8 0005A918 38 60 00 00 */ li r3, 0 +/* 8005D9BC 0005A91C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8005D9C0 0005A920 D0 3F 00 EC */ stfs f1, 0xec(r31) +/* 8005D9C4 0005A924 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8005D9C8 0005A928 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 8005D9CC 0005A92C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8005D9D0 0005A930 D0 3F 00 F4 */ stfs f1, 0xf4(r31) +/* 8005D9D4 0005A934 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8005D9D8 0005A938 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 8005D9DC 0005A93C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8005D9E0 0005A940 D0 3F 00 FC */ stfs f1, 0xfc(r31) +/* 8005D9E4 0005A944 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8005D9E8 0005A948 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 8005D9EC 0005A94C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8005D9F0 0005A950 D0 3F 01 04 */ stfs f1, 0x104(r31) +/* 8005D9F4 0005A954 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8005D9F8 0005A958 D0 1F 01 08 */ stfs f0, 0x108(r31) +/* 8005D9FC 0005A95C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8005DA00 0005A960 D0 3F 01 0C */ stfs f1, 0x10c(r31) +/* 8005DA04 0005A964 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8005DA08 0005A968 D0 1F 01 10 */ stfs f0, 0x110(r31) +/* 8005DA0C 0005A96C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8005DA10 0005A970 D0 3F 01 14 */ stfs f1, 0x114(r31) +/* 8005DA14 0005A974 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8005DA18 0005A978 D0 1F 01 18 */ stfs f0, 0x118(r31) +/* 8005DA1C 0005A97C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8005DA20 0005A980 D0 3F 01 1C */ stfs f1, 0x11c(r31) +/* 8005DA24 0005A984 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 8005DA28 0005A988 D0 1F 01 20 */ stfs f0, 0x120(r31) +/* 8005DA2C 0005A98C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8005DA30 0005A990 D0 3F 01 24 */ stfs f1, 0x124(r31) +/* 8005DA34 0005A994 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 8005DA38 0005A998 88 1F 01 70 */ lbz r0, 0x170(r31) +/* 8005DA3C 0005A99C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8005DA40 0005A9A0 98 1F 01 70 */ stb r0, 0x170(r31) +lbl_8005DA44: +/* 8005DA44 0005A9A4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8005DA48 0005A9A8 38 7F 00 EC */ addi r3, r31, 0xec +/* 8005DA4C 0005A9AC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8005DA50 0005A9B0 7C 08 03 A6 */ mtlr r0 +/* 8005DA54 0005A9B4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8005DA58 0005A9B8 4E 80 00 20 */ blr + +.global __dt__11CGameCameraFv +__dt__11CGameCameraFv: +/* 8005DA5C 0005A9BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005DA60 0005A9C0 7C 08 02 A6 */ mflr r0 +/* 8005DA64 0005A9C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005DA68 0005A9C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005DA6C 0005A9CC 7C 9F 23 78 */ mr r31, r4 +/* 8005DA70 0005A9D0 93 C1 00 08 */ stw r30, 8(r1) +/* 8005DA74 0005A9D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8005DA78 0005A9D8 41 82 00 28 */ beq lbl_8005DAA0 +/* 8005DA7C 0005A9DC 3C A0 80 3E */ lis r5, lbl_803DA194@ha +/* 8005DA80 0005A9E0 38 80 00 00 */ li r4, 0 +/* 8005DA84 0005A9E4 38 05 A1 94 */ addi r0, r5, lbl_803DA194@l +/* 8005DA88 0005A9E8 90 1E 00 00 */ stw r0, 0(r30) +/* 8005DA8C 0005A9EC 4B FF 7C 65 */ bl __dt__6CActorFv +/* 8005DA90 0005A9F0 7F E0 07 35 */ extsh. r0, r31 +/* 8005DA94 0005A9F4 40 81 00 0C */ ble lbl_8005DAA0 +/* 8005DA98 0005A9F8 7F C3 F3 78 */ mr r3, r30 +/* 8005DA9C 0005A9FC 48 2B 7E 95 */ bl Free__7CMemoryFPCv +lbl_8005DAA0: +/* 8005DAA0 0005AA00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005DAA4 0005AA04 7F C3 F3 78 */ mr r3, r30 +/* 8005DAA8 0005AA08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005DAAC 0005AA0C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005DAB0 0005AA10 7C 08 03 A6 */ mtlr r0 +/* 8005DAB4 0005AA14 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005DAB8 0005AA18 4E 80 00 20 */ blr + +.global "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" +"__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi": +/* 8005DABC 0005AA1C 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8005DAC0 0005AA20 7C 08 02 A6 */ mflr r0 +/* 8005DAC4 0005AA24 90 01 01 44 */ stw r0, 0x144(r1) +/* 8005DAC8 0005AA28 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8005DACC 0005AA2C F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8005DAD0 0005AA30 DB C1 01 20 */ stfd f30, 0x120(r1) +/* 8005DAD4 0005AA34 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 8005DAD8 0005AA38 DB A1 01 10 */ stfd f29, 0x110(r1) +/* 8005DADC 0005AA3C F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 8005DAE0 0005AA40 DB 81 01 00 */ stfd f28, 0x100(r1) +/* 8005DAE4 0005AA44 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 8005DAE8 0005AA48 BE E1 00 DC */ stmw r23, 0xdc(r1) +/* 8005DAEC 0005AA4C FF 80 08 90 */ fmr f28, f1 +/* 8005DAF0 0005AA50 7C 78 1B 78 */ mr r24, r3 +/* 8005DAF4 0005AA54 FF A0 10 90 */ fmr f29, f2 +/* 8005DAF8 0005AA58 83 E1 01 48 */ lwz r31, 0x148(r1) +/* 8005DAFC 0005AA5C FF C0 18 90 */ fmr f30, f3 +/* 8005DB00 0005AA60 7C 97 23 78 */ mr r23, r4 +/* 8005DB04 0005AA64 FF E0 20 90 */ fmr f31, f4 +/* 8005DB08 0005AA68 7C B9 2B 78 */ mr r25, r5 +/* 8005DB0C 0005AA6C 7C DA 33 78 */ mr r26, r6 +/* 8005DB10 0005AA70 7C FB 3B 78 */ mr r27, r7 +/* 8005DB14 0005AA74 7D 1C 43 78 */ mr r28, r8 +/* 8005DB18 0005AA78 7D 3D 4B 78 */ mr r29, r9 +/* 8005DB1C 0005AA7C 7D 5E 53 78 */ mr r30, r10 +/* 8005DB20 0005AA80 38 61 00 88 */ addi r3, r1, 0x88 +/* 8005DB24 0005AA84 4B FD CC 81 */ bl CModelDataNull__10CModelDataFv +/* 8005DB28 0005AA88 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005DB2C 0005AA8C 4B FB D3 0D */ bl None__16CActorParametersFv +/* 8005DB30 0005AA90 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8005DB34 0005AA94 38 00 00 00 */ li r0, 0 +/* 8005DB38 0005AA98 80 AD 82 C0 */ lwz r5, lbl_805A6E80@sda21(r13) +/* 8005DB3C 0005AA9C 38 60 00 00 */ li r3, 0 +/* 8005DB40 0005AAA0 B0 81 00 10 */ sth r4, 0x10(r1) +/* 8005DB44 0005AAA4 38 80 00 01 */ li r4, 1 +/* 8005DB48 0005AAA8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8005DB4C 0005AAAC 90 01 00 18 */ stw r0, 0x18(r1) +/* 8005DB50 0005AAB0 48 32 C3 A5 */ bl __shl2i +/* 8005DB54 0005AAB4 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8005DB58 0005AAB8 39 61 00 20 */ addi r11, r1, 0x20 +/* 8005DB5C 0005AABC 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8005DB60 0005AAC0 38 01 00 10 */ addi r0, r1, 0x10 +/* 8005DB64 0005AAC4 7C A3 1B 78 */ or r3, r5, r3 +/* 8005DB68 0005AAC8 A1 37 00 00 */ lhz r9, 0(r23) +/* 8005DB6C 0005AACC 7C C4 23 78 */ or r4, r6, r4 +/* 8005DB70 0005AAD0 90 61 00 18 */ stw r3, 0x18(r1) +/* 8005DB74 0005AAD4 7F 03 C3 78 */ mr r3, r24 +/* 8005DB78 0005AAD8 7F 25 CB 78 */ mr r5, r25 +/* 8005DB7C 0005AADC 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8005DB80 0005AAE0 7F 46 D3 78 */ mr r6, r26 +/* 8005DB84 0005AAE4 7F 67 DB 78 */ mr r7, r27 +/* 8005DB88 0005AAE8 7F 88 E3 78 */ mr r8, r28 +/* 8005DB8C 0005AAEC B1 21 00 14 */ sth r9, 0x14(r1) +/* 8005DB90 0005AAF0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8005DB94 0005AAF4 39 21 00 88 */ addi r9, r1, 0x88 +/* 8005DB98 0005AAF8 39 41 00 18 */ addi r10, r1, 0x18 +/* 8005DB9C 0005AAFC 91 61 00 08 */ stw r11, 8(r1) +/* 8005DBA0 0005AB00 90 01 00 0C */ stw r0, 0xc(r1) +/* 8005DBA4 0005AB04 4B FF 7C 7D */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8005DBA8 0005AB08 38 61 00 20 */ addi r3, r1, 0x20 +/* 8005DBAC 0005AB0C 38 80 FF FF */ li r4, -1 +/* 8005DBB0 0005AB10 48 0A 8A 59 */ bl __dt__16CActorParametersFv +/* 8005DBB4 0005AB14 38 61 00 88 */ addi r3, r1, 0x88 +/* 8005DBB8 0005AB18 38 80 FF FF */ li r4, -1 +/* 8005DBBC 0005AB1C 48 0B 8E 91 */ bl __dt__10CModelDataFv +/* 8005DBC0 0005AB20 3C 80 80 3E */ lis r4, lbl_803DA194@ha +/* 8005DBC4 0005AB24 3C 60 80 5A */ lis r3, lbl_805A6620@ha +/* 8005DBC8 0005AB28 38 04 A1 94 */ addi r0, r4, lbl_803DA194@l +/* 8005DBCC 0005AB2C 7F 84 E3 78 */ mr r4, r28 +/* 8005DBD0 0005AB30 90 18 00 00 */ stw r0, 0(r24) +/* 8005DBD4 0005AB34 38 A3 66 20 */ addi r5, r3, lbl_805A6620@l +/* 8005DBD8 0005AB38 38 78 01 2C */ addi r3, r24, 0x12c +/* 8005DBDC 0005AB3C A0 1D 00 00 */ lhz r0, 0(r29) +/* 8005DBE0 0005AB40 B0 18 00 E8 */ sth r0, 0xe8(r24) +/* 8005DBE4 0005AB44 C0 05 00 00 */ lfs f0, 0(r5) +/* 8005DBE8 0005AB48 D0 18 00 EC */ stfs f0, 0xec(r24) +/* 8005DBEC 0005AB4C C0 05 00 04 */ lfs f0, 4(r5) +/* 8005DBF0 0005AB50 D0 18 00 F0 */ stfs f0, 0xf0(r24) +/* 8005DBF4 0005AB54 C0 05 00 08 */ lfs f0, 8(r5) +/* 8005DBF8 0005AB58 D0 18 00 F4 */ stfs f0, 0xf4(r24) +/* 8005DBFC 0005AB5C C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8005DC00 0005AB60 D0 18 00 F8 */ stfs f0, 0xf8(r24) +/* 8005DC04 0005AB64 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8005DC08 0005AB68 D0 18 00 FC */ stfs f0, 0xfc(r24) +/* 8005DC0C 0005AB6C C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8005DC10 0005AB70 D0 18 01 00 */ stfs f0, 0x100(r24) +/* 8005DC14 0005AB74 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8005DC18 0005AB78 D0 18 01 04 */ stfs f0, 0x104(r24) +/* 8005DC1C 0005AB7C C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 8005DC20 0005AB80 D0 18 01 08 */ stfs f0, 0x108(r24) +/* 8005DC24 0005AB84 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 8005DC28 0005AB88 D0 18 01 0C */ stfs f0, 0x10c(r24) +/* 8005DC2C 0005AB8C C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8005DC30 0005AB90 D0 18 01 10 */ stfs f0, 0x110(r24) +/* 8005DC34 0005AB94 C0 05 00 28 */ lfs f0, 0x28(r5) +/* 8005DC38 0005AB98 D0 18 01 14 */ stfs f0, 0x114(r24) +/* 8005DC3C 0005AB9C C0 05 00 2C */ lfs f0, 0x2c(r5) +/* 8005DC40 0005ABA0 D0 18 01 18 */ stfs f0, 0x118(r24) +/* 8005DC44 0005ABA4 C0 05 00 30 */ lfs f0, 0x30(r5) +/* 8005DC48 0005ABA8 D0 18 01 1C */ stfs f0, 0x11c(r24) +/* 8005DC4C 0005ABAC C0 05 00 34 */ lfs f0, 0x34(r5) +/* 8005DC50 0005ABB0 D0 18 01 20 */ stfs f0, 0x120(r24) +/* 8005DC54 0005ABB4 C0 05 00 38 */ lfs f0, 0x38(r5) +/* 8005DC58 0005ABB8 D0 18 01 24 */ stfs f0, 0x124(r24) +/* 8005DC5C 0005ABBC C0 05 00 3C */ lfs f0, 0x3c(r5) +/* 8005DC60 0005ABC0 D0 18 01 28 */ stfs f0, 0x128(r24) +/* 8005DC64 0005ABC4 48 2B 4F 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8005DC68 0005ABC8 D3 98 01 5C */ stfs f28, 0x15c(r24) +/* 8005DC6C 0005ABCC 38 C0 00 01 */ li r6, 1 +/* 8005DC70 0005ABD0 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) +/* 8005DC74 0005ABD4 38 80 00 00 */ li r4, 0 +/* 8005DC78 0005ABD8 D3 B8 01 60 */ stfs f29, 0x160(r24) +/* 8005DC7C 0005ABDC 7F 03 C3 78 */ mr r3, r24 +/* 8005DC80 0005ABE0 D3 D8 01 64 */ stfs f30, 0x164(r24) +/* 8005DC84 0005ABE4 D3 F8 01 68 */ stfs f31, 0x168(r24) +/* 8005DC88 0005ABE8 93 F8 01 6C */ stw r31, 0x16c(r24) +/* 8005DC8C 0005ABEC 88 18 01 70 */ lbz r0, 0x170(r24) +/* 8005DC90 0005ABF0 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8005DC94 0005ABF4 98 18 01 70 */ stb r0, 0x170(r24) +/* 8005DC98 0005ABF8 88 18 01 70 */ lbz r0, 0x170(r24) +/* 8005DC9C 0005ABFC 53 C0 36 72 */ rlwimi r0, r30, 6, 0x19, 0x19 +/* 8005DCA0 0005AC00 98 18 01 70 */ stb r0, 0x170(r24) +/* 8005DCA4 0005AC04 D0 18 01 74 */ stfs f0, 0x174(r24) +/* 8005DCA8 0005AC08 D0 18 01 78 */ stfs f0, 0x178(r24) +/* 8005DCAC 0005AC0C D0 18 01 7C */ stfs f0, 0x17c(r24) +/* 8005DCB0 0005AC10 D3 98 01 80 */ stfs f28, 0x180(r24) +/* 8005DCB4 0005AC14 D3 98 01 84 */ stfs f28, 0x184(r24) +/* 8005DCB8 0005AC18 88 18 00 E7 */ lbz r0, 0xe7(r24) +/* 8005DCBC 0005AC1C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8005DCC0 0005AC20 98 18 00 E7 */ stb r0, 0xe7(r24) +/* 8005DCC4 0005AC24 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8005DCC8 0005AC28 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8005DCCC 0005AC2C E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 8005DCD0 0005AC30 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 8005DCD4 0005AC34 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 8005DCD8 0005AC38 CB A1 01 10 */ lfd f29, 0x110(r1) +/* 8005DCDC 0005AC3C E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 8005DCE0 0005AC40 CB 81 01 00 */ lfd f28, 0x100(r1) +/* 8005DCE4 0005AC44 BA E1 00 DC */ lmw r23, 0xdc(r1) +/* 8005DCE8 0005AC48 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8005DCEC 0005AC4C 7C 08 03 A6 */ mtlr r0 +/* 8005DCF0 0005AC50 38 21 01 40 */ addi r1, r1, 0x140 +/* 8005DCF4 0005AC54 4E 80 00 20 */ blr + +.global "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi": +/* 8005DCF8 0005AC58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005DCFC 0005AC5C 7C 08 02 A6 */ mflr r0 +/* 8005DD00 0005AC60 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005DD04 0005AC64 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8005DD08 0005AC68 7C 9F 23 78 */ mr r31, r4 +/* 8005DD0C 0005AC6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8005DD10 0005AC70 7C 7E 1B 78 */ mr r30, r3 +/* 8005DD14 0005AC74 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8005DD18 0005AC78 80 03 00 08 */ lwz r0, 8(r3) +/* 8005DD1C 0005AC7C 7C 1F 00 00 */ cmpw r31, r0 +/* 8005DD20 0005AC80 40 81 00 BC */ ble lbl_8005DDDC +/* 8005DD24 0005AC84 1C 7F 00 0C */ mulli r3, r31, 0xc +/* 8005DD28 0005AC88 2C 03 00 00 */ cmpwi r3, 0 +/* 8005DD2C 0005AC8C 40 82 00 0C */ bne lbl_8005DD38 +/* 8005DD30 0005AC90 3B A0 00 00 */ li r29, 0 +/* 8005DD34 0005AC94 48 00 00 18 */ b lbl_8005DD4C +lbl_8005DD38: +/* 8005DD38 0005AC98 3C 80 80 3D */ lis r4, lbl_803CCF90@ha +/* 8005DD3C 0005AC9C 38 A0 00 00 */ li r5, 0 +/* 8005DD40 0005ACA0 38 84 CF 90 */ addi r4, r4, lbl_803CCF90@l +/* 8005DD44 0005ACA4 48 2B 7A D5 */ bl __nwa__FUlPCcPCc +/* 8005DD48 0005ACA8 7C 7D 1B 78 */ mr r29, r3 +lbl_8005DD4C: +/* 8005DD4C 0005ACAC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005DD50 0005ACB0 7F A3 EB 78 */ mr r3, r29 +/* 8005DD54 0005ACB4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8005DD58 0005ACB8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005DD5C 0005ACBC 90 81 00 10 */ stw r4, 0x10(r1) +/* 8005DD60 0005ACC0 7C 04 02 14 */ add r0, r4, r0 +/* 8005DD64 0005ACC4 90 81 00 14 */ stw r4, 0x14(r1) +/* 8005DD68 0005ACC8 90 01 00 08 */ stw r0, 8(r1) +/* 8005DD6C 0005ACCC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8005DD70 0005ACD0 48 00 00 2C */ b lbl_8005DD9C +lbl_8005DD74: +/* 8005DD74 0005ACD4 28 03 00 00 */ cmplwi r3, 0 +/* 8005DD78 0005ACD8 41 82 00 1C */ beq lbl_8005DD94 +/* 8005DD7C 0005ACDC C0 04 00 00 */ lfs f0, 0(r4) +/* 8005DD80 0005ACE0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8005DD84 0005ACE4 C0 04 00 04 */ lfs f0, 4(r4) +/* 8005DD88 0005ACE8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005DD8C 0005ACEC C0 04 00 08 */ lfs f0, 8(r4) +/* 8005DD90 0005ACF0 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8005DD94: +/* 8005DD94 0005ACF4 38 63 00 0C */ addi r3, r3, 0xc +/* 8005DD98 0005ACF8 38 84 00 0C */ addi r4, r4, 0xc +lbl_8005DD9C: +/* 8005DD9C 0005ACFC 7C 04 00 40 */ cmplw r4, r0 +/* 8005DDA0 0005AD00 40 82 FF D4 */ bne lbl_8005DD74 +/* 8005DDA4 0005AD04 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005DDA8 0005AD08 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8005DDAC 0005AD0C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005DDB0 0005AD10 7C 64 1B 78 */ mr r4, r3 +/* 8005DDB4 0005AD14 7C 03 02 14 */ add r0, r3, r0 +/* 8005DDB8 0005AD18 48 00 00 08 */ b lbl_8005DDC0 +lbl_8005DDBC: +/* 8005DDBC 0005AD1C 38 84 00 0C */ addi r4, r4, 0xc +lbl_8005DDC0: +/* 8005DDC0 0005AD20 7C 04 00 40 */ cmplw r4, r0 +/* 8005DDC4 0005AD24 40 82 FF F8 */ bne lbl_8005DDBC +/* 8005DDC8 0005AD28 28 03 00 00 */ cmplwi r3, 0 +/* 8005DDCC 0005AD2C 41 82 00 08 */ beq lbl_8005DDD4 +/* 8005DDD0 0005AD30 48 2B 7B 61 */ bl Free__7CMemoryFPCv +lbl_8005DDD4: +/* 8005DDD4 0005AD34 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8005DDD8 0005AD38 93 FE 00 08 */ stw r31, 8(r30) +lbl_8005DDDC: +/* 8005DDDC 0005AD3C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005DDE0 0005AD40 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8005DDE4 0005AD44 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8005DDE8 0005AD48 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8005DDEC 0005AD4C 7C 08 03 A6 */ mtlr r0 +/* 8005DDF0 0005AD50 38 21 00 30 */ addi r1, r1, 0x30 +/* 8005DDF4 0005AD54 4E 80 00 20 */ blr + +.global "reserve__Q24rstl36vectorFi" +"reserve__Q24rstl36vectorFi": +/* 8005DDF8 0005AD58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005DDFC 0005AD5C 7C 08 02 A6 */ mflr r0 +/* 8005DE00 0005AD60 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005DE04 0005AD64 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8005DE08 0005AD68 7C 9F 23 78 */ mr r31, r4 +/* 8005DE0C 0005AD6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8005DE10 0005AD70 7C 7E 1B 78 */ mr r30, r3 +/* 8005DE14 0005AD74 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8005DE18 0005AD78 80 03 00 08 */ lwz r0, 8(r3) +/* 8005DE1C 0005AD7C 7C 1F 00 00 */ cmpw r31, r0 +/* 8005DE20 0005AD80 40 81 00 A8 */ ble lbl_8005DEC8 +/* 8005DE24 0005AD84 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 8005DE28 0005AD88 40 82 00 0C */ bne lbl_8005DE34 +/* 8005DE2C 0005AD8C 3B A0 00 00 */ li r29, 0 +/* 8005DE30 0005AD90 48 00 00 18 */ b lbl_8005DE48 +lbl_8005DE34: +/* 8005DE34 0005AD94 3C 80 80 3D */ lis r4, lbl_803CCF90@ha +/* 8005DE38 0005AD98 38 A0 00 00 */ li r5, 0 +/* 8005DE3C 0005AD9C 38 84 CF 90 */ addi r4, r4, lbl_803CCF90@l +/* 8005DE40 0005ADA0 48 2B 79 D9 */ bl __nwa__FUlPCcPCc +/* 8005DE44 0005ADA4 7C 7D 1B 78 */ mr r29, r3 +lbl_8005DE48: +/* 8005DE48 0005ADA8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005DE4C 0005ADAC 7F A3 EB 78 */ mr r3, r29 +/* 8005DE50 0005ADB0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8005DE54 0005ADB4 54 00 10 3A */ slwi r0, r0, 2 +/* 8005DE58 0005ADB8 7C 04 02 14 */ add r0, r4, r0 +/* 8005DE5C 0005ADBC 90 81 00 10 */ stw r4, 0x10(r1) +/* 8005DE60 0005ADC0 90 01 00 08 */ stw r0, 8(r1) +/* 8005DE64 0005ADC4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8005DE68 0005ADC8 90 81 00 14 */ stw r4, 0x14(r1) +/* 8005DE6C 0005ADCC 48 00 00 1C */ b lbl_8005DE88 +lbl_8005DE70: +/* 8005DE70 0005ADD0 28 03 00 00 */ cmplwi r3, 0 +/* 8005DE74 0005ADD4 41 82 00 0C */ beq lbl_8005DE80 +/* 8005DE78 0005ADD8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8005DE7C 0005ADDC D0 03 00 00 */ stfs f0, 0(r3) +lbl_8005DE80: +/* 8005DE80 0005ADE0 38 63 00 04 */ addi r3, r3, 4 +/* 8005DE84 0005ADE4 38 84 00 04 */ addi r4, r4, 4 +lbl_8005DE88: +/* 8005DE88 0005ADE8 7C 04 00 40 */ cmplw r4, r0 +/* 8005DE8C 0005ADEC 40 82 FF E4 */ bne lbl_8005DE70 +/* 8005DE90 0005ADF0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005DE94 0005ADF4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8005DE98 0005ADF8 54 00 10 3A */ slwi r0, r0, 2 +/* 8005DE9C 0005ADFC 7C 64 1B 78 */ mr r4, r3 +/* 8005DEA0 0005AE00 7C 03 02 14 */ add r0, r3, r0 +/* 8005DEA4 0005AE04 48 00 00 08 */ b lbl_8005DEAC +lbl_8005DEA8: +/* 8005DEA8 0005AE08 38 84 00 04 */ addi r4, r4, 4 +lbl_8005DEAC: +/* 8005DEAC 0005AE0C 7C 04 00 40 */ cmplw r4, r0 +/* 8005DEB0 0005AE10 40 82 FF F8 */ bne lbl_8005DEA8 +/* 8005DEB4 0005AE14 28 03 00 00 */ cmplwi r3, 0 +/* 8005DEB8 0005AE18 41 82 00 08 */ beq lbl_8005DEC0 +/* 8005DEBC 0005AE1C 48 2B 7A 75 */ bl Free__7CMemoryFPCv +lbl_8005DEC0: +/* 8005DEC0 0005AE20 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8005DEC4 0005AE24 93 FE 00 08 */ stw r31, 8(r30) +lbl_8005DEC8: +/* 8005DEC8 0005AE28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005DECC 0005AE2C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8005DED0 0005AE30 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8005DED4 0005AE34 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8005DED8 0005AE38 7C 08 03 A6 */ mtlr r0 +/* 8005DEDC 0005AE3C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8005DEE0 0005AE40 4E 80 00 20 */ blr + +.global sub_8005dee4 +sub_8005dee4: +/* 8005DEE4 0005AE44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005DEE8 0005AE48 7C 08 02 A6 */ mflr r0 +/* 8005DEEC 0005AE4C 38 80 FF FF */ li r4, -1 +/* 8005DEF0 0005AE50 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005DEF4 0005AE54 4B FF 91 F5 */ bl sub_800570e8 +/* 8005DEF8 0005AE58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005DEFC 0005AE5C 7C 08 03 A6 */ mtlr r0 +/* 8005DF00 0005AE60 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005DF04 0005AE64 4E 80 00 20 */ blr + +.global Get2ndPVSLightFeature__9CGameAreaFUi +Get2ndPVSLightFeature__9CGameAreaFUi: +/* 8005DF08 0005AE68 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005DF0C 0005AE6C 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 8005DF10 0005AE70 80 63 00 A0 */ lwz r3, 0xa0(r3) +/* 8005DF14 0005AE74 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8005DF18 0005AE78 41 82 00 0C */ beq lbl_8005DF24 +/* 8005DF1C 0005AE7C 28 03 00 00 */ cmplwi r3, 0 +/* 8005DF20 0005AE80 40 82 00 0C */ bne lbl_8005DF2C +lbl_8005DF24: +/* 8005DF24 0005AE84 38 60 FF FF */ li r3, -1 +/* 8005DF28 0005AE88 4E 80 00 20 */ blr +lbl_8005DF2C: +/* 8005DF2C 0005AE8C 80 03 00 00 */ lwz r0, 0(r3) +/* 8005DF30 0005AE90 7C 60 22 14 */ add r3, r0, r4 +/* 8005DF34 0005AE94 4E 80 00 20 */ blr + +.global Get1stPVSLightFeature__9CGameAreaFUi +Get1stPVSLightFeature__9CGameAreaFUi: +/* 8005DF38 0005AE98 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005DF3C 0005AE9C 80 63 00 A0 */ lwz r3, 0xa0(r3) +/* 8005DF40 0005AEA0 28 03 00 00 */ cmplwi r3, 0 +/* 8005DF44 0005AEA4 40 82 00 0C */ bne lbl_8005DF50 +/* 8005DF48 0005AEA8 38 60 FF FF */ li r3, -1 +/* 8005DF4C 0005AEAC 4E 80 00 20 */ blr +lbl_8005DF50: +/* 8005DF50 0005AEB0 80 03 00 08 */ lwz r0, 8(r3) +/* 8005DF54 0005AEB4 80 A3 00 00 */ lwz r5, 0(r3) +/* 8005DF58 0005AEB8 7C 60 22 14 */ add r3, r0, r4 +/* 8005DF5C 0005AEBC 7C 65 1A 14 */ add r3, r5, r3 +/* 8005DF60 0005AEC0 4E 80 00 20 */ blr + +.global LookupPVSUniqueID__9CGameAreaF9TUniqueId +LookupPVSUniqueID__9CGameAreaF9TUniqueId: +/* 8005DF64 0005AEC4 A0 05 00 00 */ lhz r0, 0(r5) +/* 8005DF68 0005AEC8 80 84 01 2C */ lwz r4, 0x12c(r4) +/* 8005DF6C 0005AECC 54 00 15 3A */ rlwinm r0, r0, 2, 0x14, 0x1d +/* 8005DF70 0005AED0 7C 84 02 14 */ add r4, r4, r0 +/* 8005DF74 0005AED4 A0 04 00 AA */ lhz r0, 0xaa(r4) +/* 8005DF78 0005AED8 B0 03 00 00 */ sth r0, 0(r3) +/* 8005DF7C 0005AEDC 4E 80 00 20 */ blr + +.global LookupPVSID__9CGameAreaF9TUniqueId +LookupPVSID__9CGameAreaF9TUniqueId: +/* 8005DF80 0005AEE0 A0 04 00 00 */ lhz r0, 0(r4) +/* 8005DF84 0005AEE4 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005DF88 0005AEE8 54 00 15 3A */ rlwinm r0, r0, 2, 0x14, 0x1d +/* 8005DF8C 0005AEEC 7C 63 02 14 */ add r3, r3, r0 +/* 8005DF90 0005AEF0 A0 63 00 A8 */ lhz r3, 0xa8(r3) +/* 8005DF94 0005AEF4 4E 80 00 20 */ blr + +.global UpdateWeaponWorldLighting__9CGameAreaFf +UpdateWeaponWorldLighting__9CGameAreaFf: +/* 8005DF98 0005AEF8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005DF9C 0005AEFC 7C 08 02 A6 */ mflr r0 +/* 8005DFA0 0005AF00 C0 62 87 00 */ lfs f3, lbl_805AA420@sda21(r2) +/* 8005DFA4 0005AF04 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005DFA8 0005AF08 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8005DFAC 0005AF0C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8005DFB0 0005AF10 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8005DFB4 0005AF14 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005DFB8 0005AF18 C0 84 11 28 */ lfs f4, 0x1128(r4) +/* 8005DFBC 0005AF1C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8005DFC0 0005AF20 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005DFC4 0005AF24 C0 04 11 2C */ lfs f0, 0x112c(r4) +/* 8005DFC8 0005AF28 FC 03 00 00 */ fcmpu cr0, f3, f0 +/* 8005DFCC 0005AF2C 41 82 00 4C */ beq lbl_8005E018 +/* 8005DFD0 0005AF30 C0 44 11 30 */ lfs f2, 0x1130(r4) +/* 8005DFD4 0005AF34 EC A1 00 32 */ fmuls f5, f1, f0 +/* 8005DFD8 0005AF38 EC 02 20 28 */ fsubs f0, f2, f4 +/* 8005DFDC 0005AF3C FC 00 02 10 */ fabs f0, f0 +/* 8005DFE0 0005AF40 FC 00 00 18 */ frsp f0, f0 +/* 8005DFE4 0005AF44 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 8005DFE8 0005AF48 40 80 00 14 */ bge lbl_8005DFFC +/* 8005DFEC 0005AF4C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8005DFF0 0005AF50 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005DFF4 0005AF54 D0 64 11 34 */ stfs f3, 0x1134(r4) +/* 8005DFF8 0005AF58 48 00 00 20 */ b lbl_8005E018 +lbl_8005DFFC: +/* 8005DFFC 0005AF5C FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 8005E000 0005AF60 40 80 00 10 */ bge lbl_8005E010 +/* 8005E004 0005AF64 EC 04 28 28 */ fsubs f0, f4, f5 +/* 8005E008 0005AF68 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8005E00C 0005AF6C 48 00 00 0C */ b lbl_8005E018 +lbl_8005E010: +/* 8005E010 0005AF70 EC 04 28 2A */ fadds f0, f4, f5 +/* 8005E014 0005AF74 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_8005E018: +/* 8005E018 0005AF78 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005E01C 0005AF7C C0 A2 87 00 */ lfs f5, lbl_805AA420@sda21(r2) +/* 8005E020 0005AF80 C0 04 11 34 */ lfs f0, 0x1134(r4) +/* 8005E024 0005AF84 FC 05 00 00 */ fcmpu cr0, f5, f0 +/* 8005E028 0005AF88 41 82 00 A4 */ beq lbl_8005E0CC +/* 8005E02C 0005AF8C C0 84 11 28 */ lfs f4, 0x1128(r4) +/* 8005E030 0005AF90 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8005E034 0005AF94 D0 81 00 08 */ stfs f4, 8(r1) +/* 8005E038 0005AF98 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005E03C 0005AF9C C0 44 11 38 */ lfs f2, 0x1138(r4) +/* 8005E040 0005AFA0 C0 64 11 34 */ lfs f3, 0x1134(r4) +/* 8005E044 0005AFA4 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8005E048 0005AFA8 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 8005E04C 0005AFAC FC 00 02 10 */ fabs f0, f0 +/* 8005E050 0005AFB0 FC 00 00 18 */ frsp f0, f0 +/* 8005E054 0005AFB4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8005E058 0005AFB8 40 80 00 14 */ bge lbl_8005E06C +/* 8005E05C 0005AFBC D0 41 00 08 */ stfs f2, 8(r1) +/* 8005E060 0005AFC0 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005E064 0005AFC4 D0 A4 11 34 */ stfs f5, 0x1134(r4) +/* 8005E068 0005AFC8 48 00 00 20 */ b lbl_8005E088 +lbl_8005E06C: +/* 8005E06C 0005AFCC FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 8005E070 0005AFD0 40 80 00 10 */ bge lbl_8005E080 +/* 8005E074 0005AFD4 EC 04 08 28 */ fsubs f0, f4, f1 +/* 8005E078 0005AFD8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8005E07C 0005AFDC 48 00 00 0C */ b lbl_8005E088 +lbl_8005E080: +/* 8005E080 0005AFE0 EC 04 08 2A */ fadds f0, f4, f1 +/* 8005E084 0005AFE4 D0 01 00 08 */ stfs f0, 8(r1) +lbl_8005E088: +/* 8005E088 0005AFE8 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005E08C 0005AFEC C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) +/* 8005E090 0005AFF0 C0 04 11 2C */ lfs f0, 0x112c(r4) +/* 8005E094 0005AFF4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8005E098 0005AFF8 41 82 00 2C */ beq lbl_8005E0C4 +/* 8005E09C 0005AFFC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8005E0A0 0005B000 C0 01 00 08 */ lfs f0, 8(r1) +/* 8005E0A4 0005B004 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005E0A8 0005B008 40 80 00 0C */ bge lbl_8005E0B4 +/* 8005E0AC 0005B00C 38 81 00 0C */ addi r4, r1, 0xc +/* 8005E0B0 0005B010 48 00 00 08 */ b lbl_8005E0B8 +lbl_8005E0B4: +/* 8005E0B4 0005B014 38 81 00 08 */ addi r4, r1, 8 +lbl_8005E0B8: +/* 8005E0B8 0005B018 C0 04 00 00 */ lfs f0, 0(r4) +/* 8005E0BC 0005B01C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8005E0C0 0005B020 48 00 00 0C */ b lbl_8005E0CC +lbl_8005E0C4: +/* 8005E0C4 0005B024 C0 01 00 08 */ lfs f0, 8(r1) +/* 8005E0C8 0005B028 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_8005E0CC: +/* 8005E0CC 0005B02C 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005E0D0 0005B030 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8005E0D4 0005B034 C0 24 11 28 */ lfs f1, 0x1128(r4) +/* 8005E0D8 0005B038 C0 02 87 04 */ lfs f0, lbl_805AA424@sda21(r2) +/* 8005E0DC 0005B03C EC 21 10 28 */ fsubs f1, f1, f2 +/* 8005E0E0 0005B040 FC 20 0A 10 */ fabs f1, f1 +/* 8005E0E4 0005B044 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8005E0E8 0005B048 41 80 00 70 */ blt lbl_8005E158 +/* 8005E0EC 0005B04C D0 44 11 28 */ stfs f2, 0x1128(r4) +/* 8005E0F0 0005B050 3B E0 00 01 */ li r31, 1 +/* 8005E0F4 0005B054 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005E0F8 0005B058 83 C3 10 C0 */ lwz r30, 0x10c0(r3) +/* 8005E0FC 0005B05C AB BE 20 08 */ lha r29, 0x2008(r30) +/* 8005E100 0005B060 48 00 00 50 */ b lbl_8005E150 +lbl_8005E104: +/* 8005E104 0005B064 7F C3 F3 78 */ mr r3, r30 +/* 8005E108 0005B068 7F A4 EB 78 */ mr r4, r29 +/* 8005E10C 0005B06C 4B FB 1C 09 */ bl __vc__11CObjectListFi +/* 8005E110 0005B070 7C 64 1B 78 */ mr r4, r3 +/* 8005E114 0005B074 38 61 00 10 */ addi r3, r1, 0x10 +/* 8005E118 0005B078 48 05 1B 79 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8005E11C 0005B07C 80 63 00 04 */ lwz r3, 4(r3) +/* 8005E120 0005B080 28 03 00 00 */ cmplwi r3, 0 +/* 8005E124 0005B084 41 82 00 10 */ beq lbl_8005E134 +/* 8005E128 0005B088 88 03 00 E7 */ lbz r0, 0xe7(r3) +/* 8005E12C 0005B08C 53 E0 1F 38 */ rlwimi r0, r31, 3, 0x1c, 0x1c +/* 8005E130 0005B090 98 03 00 E7 */ stb r0, 0xe7(r3) +lbl_8005E134: +/* 8005E134 0005B094 2C 1D FF FF */ cmpwi r29, -1 +/* 8005E138 0005B098 41 82 00 14 */ beq lbl_8005E14C +/* 8005E13C 0005B09C 57 A3 18 38 */ slwi r3, r29, 3 +/* 8005E140 0005B0A0 38 03 00 08 */ addi r0, r3, 8 +/* 8005E144 0005B0A4 7F BE 02 AE */ lhax r29, r30, r0 +/* 8005E148 0005B0A8 48 00 00 08 */ b lbl_8005E150 +lbl_8005E14C: +/* 8005E14C 0005B0AC 3B A0 FF FF */ li r29, -1 +lbl_8005E150: +/* 8005E150 0005B0B0 2C 1D FF FF */ cmpwi r29, -1 +/* 8005E154 0005B0B4 40 82 FF B0 */ bne lbl_8005E104 +lbl_8005E158: +/* 8005E158 0005B0B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005E15C 0005B0BC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8005E160 0005B0C0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8005E164 0005B0C4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8005E168 0005B0C8 7C 08 03 A6 */ mtlr r0 +/* 8005E16C 0005B0CC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8005E170 0005B0D0 4E 80 00 20 */ blr + +.global UpdateThermalVisor__9CGameAreaFf +UpdateThermalVisor__9CGameAreaFf: +/* 8005E174 0005B0D4 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005E178 0005B0D8 C0 42 87 00 */ lfs f2, lbl_805AA420@sda21(r2) +/* 8005E17C 0005B0DC C0 04 11 20 */ lfs f0, 0x1120(r4) +/* 8005E180 0005B0E0 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 8005E184 0005B0E4 4D 82 00 20 */ beqlr +/* 8005E188 0005B0E8 C0 64 11 1C */ lfs f3, 0x111c(r4) +/* 8005E18C 0005B0EC EC 81 00 32 */ fmuls f4, f1, f0 +/* 8005E190 0005B0F0 C0 24 11 24 */ lfs f1, 0x1124(r4) +/* 8005E194 0005B0F4 EC 01 18 28 */ fsubs f0, f1, f3 +/* 8005E198 0005B0F8 FC 00 02 10 */ fabs f0, f0 +/* 8005E19C 0005B0FC FC 00 00 18 */ frsp f0, f0 +/* 8005E1A0 0005B100 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 8005E1A4 0005B104 40 80 00 10 */ bge lbl_8005E1B4 +/* 8005E1A8 0005B108 FC 60 08 90 */ fmr f3, f1 +/* 8005E1AC 0005B10C D0 44 11 20 */ stfs f2, 0x1120(r4) +/* 8005E1B0 0005B110 48 00 00 18 */ b lbl_8005E1C8 +lbl_8005E1B4: +/* 8005E1B4 0005B114 FC 01 18 40 */ fcmpo cr0, f1, f3 +/* 8005E1B8 0005B118 40 80 00 0C */ bge lbl_8005E1C4 +/* 8005E1BC 0005B11C EC 63 20 28 */ fsubs f3, f3, f4 +/* 8005E1C0 0005B120 48 00 00 08 */ b lbl_8005E1C8 +lbl_8005E1C4: +/* 8005E1C4 0005B124 EC 63 20 2A */ fadds f3, f3, f4 +lbl_8005E1C8: +/* 8005E1C8 0005B128 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005E1CC 0005B12C D0 63 11 1C */ stfs f3, 0x111c(r3) +/* 8005E1D0 0005B130 4E 80 00 20 */ blr + +.global SetWeaponWorldLighting__9CGameAreaFff +SetWeaponWorldLighting__9CGameAreaFff: +/* 8005E1D4 0005B134 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005E1D8 0005B138 D0 24 11 34 */ stfs f1, 0x1134(r4) +/* 8005E1DC 0005B13C 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005E1E0 0005B140 D0 43 11 38 */ stfs f2, 0x1138(r3) +/* 8005E1E4 0005B144 4E 80 00 20 */ blr + +.global sub_8005e1e8 +sub_8005e1e8: +/* 8005E1E8 0005B148 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005E1EC 0005B14C D0 24 11 2C */ stfs f1, 0x112c(r4) +/* 8005E1F0 0005B150 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005E1F4 0005B154 D0 43 11 30 */ stfs f2, 0x1130(r3) +/* 8005E1F8 0005B158 4E 80 00 20 */ blr + +.global sub_8005e1fc +sub_8005e1fc: +/* 8005E1FC 0005B15C 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005E200 0005B160 D0 24 11 20 */ stfs f1, 0x1120(r4) +/* 8005E204 0005B164 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005E208 0005B168 D0 43 11 24 */ stfs f2, 0x1124(r3) +/* 8005E20C 0005B16C 4E 80 00 20 */ blr + +.global sub_8005e210 +sub_8005e210: +/* 8005E210 0005B170 80 A3 01 2C */ lwz r5, 0x12c(r3) +/* 8005E214 0005B174 28 04 00 00 */ cmplwi r4, 0 +/* 8005E218 0005B178 90 85 10 D8 */ stw r4, 0x10d8(r5) +/* 8005E21C 0005B17C 4D 82 00 20 */ beqlr +/* 8005E220 0005B180 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8005E224 0005B184 80 A3 01 2C */ lwz r5, 0x12c(r3) +/* 8005E228 0005B188 D0 05 11 1C */ stfs f0, 0x111c(r5) +/* 8005E22C 0005B18C C0 04 00 48 */ lfs f0, 0x48(r4) +/* 8005E230 0005B190 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005E234 0005B194 D0 03 11 28 */ stfs f0, 0x1128(r3) +/* 8005E238 0005B198 4E 80 00 20 */ blr + +.global GetXRayFogDistance__9CGameAreaFv +GetXRayFogDistance__9CGameAreaFv: +/* 8005E23C 0005B19C 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005E240 0005B1A0 80 63 10 D8 */ lwz r3, 0x10d8(r3) +/* 8005E244 0005B1A4 28 03 00 00 */ cmplwi r3, 0 +/* 8005E248 0005B1A8 41 82 00 0C */ beq lbl_8005E254 +/* 8005E24C 0005B1AC C0 23 00 44 */ lfs f1, 0x44(r3) +/* 8005E250 0005B1B0 4E 80 00 20 */ blr +lbl_8005E254: +/* 8005E254 0005B1B4 C0 22 87 08 */ lfs f1, lbl_805AA428@sda21(r2) +/* 8005E258 0005B1B8 4E 80 00 20 */ blr + +.global SetLoadPauseState__9CGameAreaFb +SetLoadPauseState__9CGameAreaFb: +/* 8005E25C 0005B1BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005E260 0005B1C0 7C 08 02 A6 */ mflr r0 +/* 8005E264 0005B1C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005E268 0005B1C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005E26C 0005B1CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005E270 0005B1D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005E274 0005B1D4 7C 7D 1B 78 */ mr r29, r3 +/* 8005E278 0005B1D8 88 63 00 F0 */ lbz r3, 0xf0(r3) +/* 8005E27C 0005B1DC 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8005E280 0005B1E0 40 82 00 50 */ bne lbl_8005E2D0 +/* 8005E284 0005B1E4 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 8005E288 0005B1E8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8005E28C 0005B1EC 98 7D 00 F0 */ stb r3, 0xf0(r29) +/* 8005E290 0005B1F0 41 82 00 40 */ beq lbl_8005E2D0 +/* 8005E294 0005B1F4 3B C0 00 00 */ li r30, 0 +/* 8005E298 0005B1F8 3B E0 00 00 */ li r31, 0 +/* 8005E29C 0005B1FC 48 00 00 28 */ b lbl_8005E2C4 +lbl_8005E2A0: +/* 8005E2A0 0005B200 80 1D 00 E8 */ lwz r0, 0xe8(r29) +/* 8005E2A4 0005B204 7C 60 FA 14 */ add r3, r0, r31 +/* 8005E2A8 0005B208 80 83 00 00 */ lwz r4, 0(r3) +/* 8005E2AC 0005B20C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8005E2B0 0005B210 28 00 00 00 */ cmplwi r0, 0 +/* 8005E2B4 0005B214 40 82 00 08 */ bne lbl_8005E2BC +/* 8005E2B8 0005B218 48 2E 2A 89 */ bl Unlock__6CTokenFv +lbl_8005E2BC: +/* 8005E2BC 0005B21C 3B FF 00 08 */ addi r31, r31, 8 +/* 8005E2C0 0005B220 3B DE 00 01 */ addi r30, r30, 1 +lbl_8005E2C4: +/* 8005E2C4 0005B224 80 1D 00 E0 */ lwz r0, 0xe0(r29) +/* 8005E2C8 0005B228 7C 1E 00 00 */ cmpw r30, r0 +/* 8005E2CC 0005B22C 41 80 FF D4 */ blt lbl_8005E2A0 +lbl_8005E2D0: +/* 8005E2D0 0005B230 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005E2D4 0005B234 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005E2D8 0005B238 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005E2DC 0005B23C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8005E2E0 0005B240 7C 08 03 A6 */ mtlr r0 +/* 8005E2E4 0005B244 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005E2E8 0005B248 4E 80 00 20 */ blr + +.global GetLayerScriptBuffer__9CGameAreaFi +GetLayerScriptBuffer__9CGameAreaFi: +/* 8005E2EC 0005B24C 88 04 00 F0 */ lbz r0, 0xf0(r4) +/* 8005E2F0 0005B250 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005E2F4 0005B254 41 82 00 34 */ beq lbl_8005E328 +/* 8005E2F8 0005B258 80 84 01 2C */ lwz r4, 0x12c(r4) +/* 8005E2FC 0005B25C 80 05 00 00 */ lwz r0, 0(r5) +/* 8005E300 0005B260 80 A4 11 18 */ lwz r5, 0x1118(r4) +/* 8005E304 0005B264 54 00 18 38 */ slwi r0, r0, 3 +/* 8005E308 0005B268 80 84 10 CC */ lwz r4, 0x10cc(r4) +/* 8005E30C 0005B26C 7C A5 02 14 */ add r5, r5, r0 +/* 8005E310 0005B270 80 05 00 00 */ lwz r0, 0(r5) +/* 8005E314 0005B274 7C 04 02 14 */ add r0, r4, r0 +/* 8005E318 0005B278 90 03 00 00 */ stw r0, 0(r3) +/* 8005E31C 0005B27C 80 05 00 04 */ lwz r0, 4(r5) +/* 8005E320 0005B280 90 03 00 04 */ stw r0, 4(r3) +/* 8005E324 0005B284 4E 80 00 20 */ blr +lbl_8005E328: +/* 8005E328 0005B288 38 00 00 00 */ li r0, 0 +/* 8005E32C 0005B28C 90 03 00 00 */ stw r0, 0(r3) +/* 8005E330 0005B290 80 0D 82 E8 */ lwz r0, lbl_805A6EA8@sda21(r13) +/* 8005E334 0005B294 90 03 00 04 */ stw r0, 4(r3) +/* 8005E338 0005B298 4E 80 00 20 */ blr + +.global IsFinishedOccluding__9CGameAreaCFv +IsFinishedOccluding__9CGameAreaCFv: +/* 8005E33C 0005B29C 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005E340 0005B2A0 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 8005E344 0005B2A4 2C 00 00 00 */ cmpwi r0, 0 +/* 8005E348 0005B2A8 40 82 00 10 */ bne lbl_8005E358 +/* 8005E34C 0005B2AC 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 8005E350 0005B2B0 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 8005E354 0005B2B4 4E 80 00 20 */ blr +lbl_8005E358: +/* 8005E358 0005B2B8 38 60 00 01 */ li r3, 1 +/* 8005E35C 0005B2BC 4E 80 00 20 */ blr + +.global IGetScriptingMemoryAlways__14CDummyGameAreaCFv +IGetScriptingMemoryAlways__14CDummyGameAreaCFv: +/* 8005E360 0005B2C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005E364 0005B2C4 7C 08 02 A6 */ mflr r0 +/* 8005E368 0005B2C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005E36C 0005B2CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005E370 0005B2D0 7C 7F 1B 78 */ mr r31, r3 +/* 8005E374 0005B2D4 48 00 46 51 */ bl GetScriptingMemoryAlways__FRC9IGameArea +/* 8005E378 0005B2D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005E37C 0005B2DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005E380 0005B2E0 7C 08 03 A6 */ mtlr r0 +/* 8005E384 0005B2E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005E388 0005B2E8 4E 80 00 20 */ blr + +.global IGetAreaId__14CDummyGameAreaCFv +IGetAreaId__14CDummyGameAreaCFv: +/* 8005E38C 0005B2EC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8005E390 0005B2F0 4E 80 00 20 */ blr + +.global IGetAreaAssetID__14CDummyGameAreaCFv +IGetAreaAssetID__14CDummyGameAreaCFv: +/* 8005E394 0005B2F4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8005E398 0005B2F8 4E 80 00 20 */ blr + +.global IIsActive__14CDummyGameAreaCFv +IIsActive__14CDummyGameAreaCFv: +/* 8005E39C 0005B2FC 38 60 00 01 */ li r3, 1 +/* 8005E3A0 0005B300 4E 80 00 20 */ blr + +.global IGetAttachedAreaId__14CDummyGameAreaCFi +IGetAttachedAreaId__14CDummyGameAreaCFi: +/* 8005E3A4 0005B304 80 84 00 50 */ lwz r4, 0x50(r4) +/* 8005E3A8 0005B308 54 A0 08 3C */ slwi r0, r5, 1 +/* 8005E3AC 0005B30C 7C 04 02 2E */ lhzx r0, r4, r0 +/* 8005E3B0 0005B310 90 03 00 00 */ stw r0, 0(r3) +/* 8005E3B4 0005B314 4E 80 00 20 */ blr + +.global IGetNumAttachedAreas__14CDummyGameAreaCFv +IGetNumAttachedAreas__14CDummyGameAreaCFv: +/* 8005E3B8 0005B318 80 63 00 48 */ lwz r3, 0x48(r3) +/* 8005E3BC 0005B31C 4E 80 00 20 */ blr + +.global IGetStringTableAssetId__14CDummyGameAreaCFv +IGetStringTableAssetId__14CDummyGameAreaCFv: +/* 8005E3C0 0005B320 80 63 00 08 */ lwz r3, 8(r3) +/* 8005E3C4 0005B324 4E 80 00 20 */ blr + +.global IGetTM__14CDummyGameAreaCFv +IGetTM__14CDummyGameAreaCFv: +/* 8005E3C8 0005B328 38 63 00 14 */ addi r3, r3, 0x14 +/* 8005E3CC 0005B32C 4E 80 00 20 */ blr + +.global __ct__14CDummyGameAreaFR12CInputStreamii +__ct__14CDummyGameAreaFR12CInputStreamii: +/* 8005E3D0 0005B330 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8005E3D4 0005B334 7C 08 02 A6 */ mflr r0 +/* 8005E3D8 0005B338 3C E0 80 3E */ lis r7, lbl_803DA26C@ha +/* 8005E3DC 0005B33C 90 01 01 44 */ stw r0, 0x144(r1) +/* 8005E3E0 0005B340 38 07 A2 6C */ addi r0, r7, lbl_803DA26C@l +/* 8005E3E4 0005B344 38 E0 FF FF */ li r7, -1 +/* 8005E3E8 0005B348 BF 41 01 28 */ stmw r26, 0x128(r1) +/* 8005E3EC 0005B34C 7C 7D 1B 78 */ mr r29, r3 +/* 8005E3F0 0005B350 3C 60 80 3E */ lis r3, lbl_803DA208@ha +/* 8005E3F4 0005B354 7C 9E 23 78 */ mr r30, r4 +/* 8005E3F8 0005B358 7C DF 33 78 */ mr r31, r6 +/* 8005E3FC 0005B35C 90 1D 00 00 */ stw r0, 0(r29) +/* 8005E400 0005B360 38 03 A2 08 */ addi r0, r3, lbl_803DA208@l +/* 8005E404 0005B364 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8005E408 0005B368 90 1D 00 00 */ stw r0, 0(r29) +/* 8005E40C 0005B36C 38 03 66 70 */ addi r0, r3, skIdentity4f@l +/* 8005E410 0005B370 7C 04 03 78 */ mr r4, r0 +/* 8005E414 0005B374 38 7D 00 14 */ addi r3, r29, 0x14 +/* 8005E418 0005B378 90 BD 00 04 */ stw r5, 4(r29) +/* 8005E41C 0005B37C 90 FD 00 08 */ stw r7, 8(r29) +/* 8005E420 0005B380 48 2B 47 55 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8005E424 0005B384 38 00 00 00 */ li r0, 0 +/* 8005E428 0005B388 7F C3 F3 78 */ mr r3, r30 +/* 8005E42C 0005B38C 90 1D 00 48 */ stw r0, 0x48(r29) +/* 8005E430 0005B390 90 1D 00 4C */ stw r0, 0x4c(r29) +/* 8005E434 0005B394 90 1D 00 50 */ stw r0, 0x50(r29) +/* 8005E438 0005B398 90 1D 00 58 */ stw r0, 0x58(r29) +/* 8005E43C 0005B39C 90 1D 00 5C */ stw r0, 0x5c(r29) +/* 8005E440 0005B3A0 90 1D 00 60 */ stw r0, 0x60(r29) +/* 8005E444 0005B3A4 48 2E 08 41 */ bl ReadLong__12CInputStreamFv +/* 8005E448 0005B3A8 90 7D 00 08 */ stw r3, 8(r29) +/* 8005E44C 0005B3AC 7F C4 F3 78 */ mr r4, r30 +/* 8005E450 0005B3B0 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8005E454 0005B3B4 48 2B 4E 89 */ bl __ct__12CTransform4fFR12CInputStream +/* 8005E458 0005B3B8 7C 64 1B 78 */ mr r4, r3 +/* 8005E45C 0005B3BC 38 7D 00 14 */ addi r3, r29, 0x14 +/* 8005E460 0005B3C0 48 2B 46 E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8005E464 0005B3C4 7F C4 F3 78 */ mr r4, r30 +/* 8005E468 0005B3C8 38 61 00 90 */ addi r3, r1, 0x90 +/* 8005E46C 0005B3CC 48 2D A0 D1 */ bl __ct__6CAABoxFR12CInputStream +/* 8005E470 0005B3D0 7F C3 F3 78 */ mr r3, r30 +/* 8005E474 0005B3D4 48 2E 08 11 */ bl ReadLong__12CInputStreamFv +/* 8005E478 0005B3D8 2C 1F 00 0F */ cmpwi r31, 0xf +/* 8005E47C 0005B3DC 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8005E480 0005B3E0 40 81 00 10 */ ble lbl_8005E490 +/* 8005E484 0005B3E4 7F C3 F3 78 */ mr r3, r30 +/* 8005E488 0005B3E8 48 2E 07 FD */ bl ReadLong__12CInputStreamFv +/* 8005E48C 0005B3EC 90 7D 00 10 */ stw r3, 0x10(r29) +lbl_8005E490: +/* 8005E490 0005B3F0 38 00 00 00 */ li r0, 0 +/* 8005E494 0005B3F4 7F C3 F3 78 */ mr r3, r30 +/* 8005E498 0005B3F8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8005E49C 0005B3FC 90 01 00 58 */ stw r0, 0x58(r1) +/* 8005E4A0 0005B400 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8005E4A4 0005B404 48 2E 07 E1 */ bl ReadLong__12CInputStreamFv +/* 8005E4A8 0005B408 7C 7A 1B 78 */ mr r26, r3 +/* 8005E4AC 0005B40C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8005E4B0 0005B410 7F 44 D3 78 */ mr r4, r26 +/* 8005E4B4 0005B414 48 00 5E 4D */ bl "reserve__Q24rstl37vectorFi" +/* 8005E4B8 0005B418 3B 60 00 00 */ li r27, 0 +/* 8005E4BC 0005B41C 48 00 00 60 */ b lbl_8005E51C +lbl_8005E4C0: +/* 8005E4C0 0005B420 7F C3 F3 78 */ mr r3, r30 +/* 8005E4C4 0005B424 48 2E 07 ED */ bl ReadShort__12CInputStreamFv +/* 8005E4C8 0005B428 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8005E4CC 0005B42C 7C 7C 1B 78 */ mr r28, r3 +/* 8005E4D0 0005B430 80 A1 00 58 */ lwz r5, 0x58(r1) +/* 8005E4D4 0005B434 7C 00 28 00 */ cmpw r0, r5 +/* 8005E4D8 0005B438 41 80 00 1C */ blt lbl_8005E4F4 +/* 8005E4DC 0005B43C 2C 05 00 00 */ cmpwi r5, 0 +/* 8005E4E0 0005B440 38 61 00 50 */ addi r3, r1, 0x50 +/* 8005E4E4 0005B444 38 80 00 04 */ li r4, 4 +/* 8005E4E8 0005B448 41 82 00 08 */ beq lbl_8005E4F0 +/* 8005E4EC 0005B44C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005E4F0: +/* 8005E4F0 0005B450 48 00 5E 11 */ bl "reserve__Q24rstl37vectorFi" +lbl_8005E4F4: +/* 8005E4F4 0005B454 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8005E4F8 0005B458 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 8005E4FC 0005B45C 54 00 08 3C */ slwi r0, r0, 1 +/* 8005E500 0005B460 7C 63 02 15 */ add. r3, r3, r0 +/* 8005E504 0005B464 41 82 00 08 */ beq lbl_8005E50C +/* 8005E508 0005B468 B3 83 00 00 */ sth r28, 0(r3) +lbl_8005E50C: +/* 8005E50C 0005B46C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8005E510 0005B470 3B 7B 00 01 */ addi r27, r27, 1 +/* 8005E514 0005B474 38 03 00 01 */ addi r0, r3, 1 +/* 8005E518 0005B478 90 01 00 54 */ stw r0, 0x54(r1) +lbl_8005E51C: +/* 8005E51C 0005B47C 7C 1B D0 00 */ cmpw r27, r26 +/* 8005E520 0005B480 41 80 FF A0 */ blt lbl_8005E4C0 +/* 8005E524 0005B484 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8005E528 0005B488 38 81 00 50 */ addi r4, r1, 0x50 +/* 8005E52C 0005B48C 48 00 04 DD */ bl sub_8005ea08 +/* 8005E530 0005B490 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8005E534 0005B494 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 8005E538 0005B498 54 00 08 3C */ slwi r0, r0, 1 +/* 8005E53C 0005B49C 7C 03 02 14 */ add r0, r3, r0 +/* 8005E540 0005B4A0 90 61 00 44 */ stw r3, 0x44(r1) +/* 8005E544 0005B4A4 7C 64 1B 78 */ mr r4, r3 +/* 8005E548 0005B4A8 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8005E54C 0005B4AC 90 01 00 48 */ stw r0, 0x48(r1) +/* 8005E550 0005B4B0 90 61 00 40 */ stw r3, 0x40(r1) +/* 8005E554 0005B4B4 48 00 00 08 */ b lbl_8005E55C +lbl_8005E558: +/* 8005E558 0005B4B8 38 84 00 02 */ addi r4, r4, 2 +lbl_8005E55C: +/* 8005E55C 0005B4BC 7C 04 00 40 */ cmplw r4, r0 +/* 8005E560 0005B4C0 40 82 FF F8 */ bne lbl_8005E558 +/* 8005E564 0005B4C4 28 03 00 00 */ cmplwi r3, 0 +/* 8005E568 0005B4C8 41 82 00 08 */ beq lbl_8005E570 +/* 8005E56C 0005B4CC 48 2B 73 C5 */ bl Free__7CMemoryFPCv +lbl_8005E570: +/* 8005E570 0005B4D0 7F C4 F3 78 */ mr r4, r30 +/* 8005E574 0005B4D4 38 61 00 80 */ addi r3, r1, 0x80 +/* 8005E578 0005B4D8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8005E57C 0005B4DC 48 00 03 B9 */ bl ReadDependencyList__9CGameArea +/* 8005E580 0005B4E0 7F C4 F3 78 */ mr r4, r30 +/* 8005E584 0005B4E4 38 61 00 70 */ addi r3, r1, 0x70 +/* 8005E588 0005B4E8 38 A1 00 08 */ addi r5, r1, 8 +/* 8005E58C 0005B4EC 48 00 03 A9 */ bl ReadDependencyList__9CGameArea +/* 8005E590 0005B4F0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8005E594 0005B4F4 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 8005E598 0005B4F8 54 00 18 38 */ slwi r0, r0, 3 +/* 8005E59C 0005B4FC 7C 03 02 14 */ add r0, r3, r0 +/* 8005E5A0 0005B500 90 61 00 34 */ stw r3, 0x34(r1) +/* 8005E5A4 0005B504 7C 64 1B 78 */ mr r4, r3 +/* 8005E5A8 0005B508 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8005E5AC 0005B50C 90 01 00 38 */ stw r0, 0x38(r1) +/* 8005E5B0 0005B510 90 61 00 30 */ stw r3, 0x30(r1) +/* 8005E5B4 0005B514 48 00 00 08 */ b lbl_8005E5BC +lbl_8005E5B8: +/* 8005E5B8 0005B518 38 84 00 08 */ addi r4, r4, 8 +lbl_8005E5BC: +/* 8005E5BC 0005B51C 7C 04 00 40 */ cmplw r4, r0 +/* 8005E5C0 0005B520 40 82 FF F8 */ bne lbl_8005E5B8 +/* 8005E5C4 0005B524 28 03 00 00 */ cmplwi r3, 0 +/* 8005E5C8 0005B528 41 82 00 08 */ beq lbl_8005E5D0 +/* 8005E5CC 0005B52C 48 2B 73 65 */ bl Free__7CMemoryFPCv +lbl_8005E5D0: +/* 8005E5D0 0005B530 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8005E5D4 0005B534 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 8005E5D8 0005B538 54 00 18 38 */ slwi r0, r0, 3 +/* 8005E5DC 0005B53C 7C 03 02 14 */ add r0, r3, r0 +/* 8005E5E0 0005B540 90 61 00 24 */ stw r3, 0x24(r1) +/* 8005E5E4 0005B544 7C 64 1B 78 */ mr r4, r3 +/* 8005E5E8 0005B548 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8005E5EC 0005B54C 90 01 00 28 */ stw r0, 0x28(r1) +/* 8005E5F0 0005B550 90 61 00 20 */ stw r3, 0x20(r1) +/* 8005E5F4 0005B554 48 00 00 08 */ b lbl_8005E5FC +lbl_8005E5F8: +/* 8005E5F8 0005B558 38 84 00 08 */ addi r4, r4, 8 +lbl_8005E5FC: +/* 8005E5FC 0005B55C 7C 04 00 40 */ cmplw r4, r0 +/* 8005E600 0005B560 40 82 FF F8 */ bne lbl_8005E5F8 +/* 8005E604 0005B564 28 03 00 00 */ cmplwi r3, 0 +/* 8005E608 0005B568 41 82 00 08 */ beq lbl_8005E610 +/* 8005E60C 0005B56C 48 2B 73 25 */ bl Free__7CMemoryFPCv +lbl_8005E610: +/* 8005E610 0005B570 2C 1F 00 0D */ cmpwi r31, 0xd +/* 8005E614 0005B574 40 81 00 D8 */ ble lbl_8005E6EC +/* 8005E618 0005B578 38 00 00 00 */ li r0, 0 +/* 8005E61C 0005B57C 7F C3 F3 78 */ mr r3, r30 +/* 8005E620 0005B580 90 01 00 64 */ stw r0, 0x64(r1) +/* 8005E624 0005B584 90 01 00 68 */ stw r0, 0x68(r1) +/* 8005E628 0005B588 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8005E62C 0005B58C 48 2E 06 59 */ bl ReadLong__12CInputStreamFv +/* 8005E630 0005B590 7C 7A 1B 78 */ mr r26, r3 +/* 8005E634 0005B594 38 61 00 60 */ addi r3, r1, 0x60 +/* 8005E638 0005B598 7F 44 D3 78 */ mr r4, r26 +/* 8005E63C 0005B59C 48 00 54 E9 */ bl "reserve__Q24rstl37vectorFi" +/* 8005E640 0005B5A0 3B 60 00 00 */ li r27, 0 +/* 8005E644 0005B5A4 48 00 00 60 */ b lbl_8005E6A4 +lbl_8005E648: +/* 8005E648 0005B5A8 7F C3 F3 78 */ mr r3, r30 +/* 8005E64C 0005B5AC 48 2E 06 39 */ bl ReadLong__12CInputStreamFv +/* 8005E650 0005B5B0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8005E654 0005B5B4 7C 7F 1B 78 */ mr r31, r3 +/* 8005E658 0005B5B8 80 A1 00 68 */ lwz r5, 0x68(r1) +/* 8005E65C 0005B5BC 7C 00 28 00 */ cmpw r0, r5 +/* 8005E660 0005B5C0 41 80 00 1C */ blt lbl_8005E67C +/* 8005E664 0005B5C4 2C 05 00 00 */ cmpwi r5, 0 +/* 8005E668 0005B5C8 38 61 00 60 */ addi r3, r1, 0x60 +/* 8005E66C 0005B5CC 38 80 00 04 */ li r4, 4 +/* 8005E670 0005B5D0 41 82 00 08 */ beq lbl_8005E678 +/* 8005E674 0005B5D4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005E678: +/* 8005E678 0005B5D8 48 00 54 AD */ bl "reserve__Q24rstl37vectorFi" +lbl_8005E67C: +/* 8005E67C 0005B5DC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8005E680 0005B5E0 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 8005E684 0005B5E4 54 00 10 3A */ slwi r0, r0, 2 +/* 8005E688 0005B5E8 7C 63 02 15 */ add. r3, r3, r0 +/* 8005E68C 0005B5EC 41 82 00 08 */ beq lbl_8005E694 +/* 8005E690 0005B5F0 93 E3 00 00 */ stw r31, 0(r3) +lbl_8005E694: +/* 8005E694 0005B5F4 80 61 00 64 */ lwz r3, 0x64(r1) +/* 8005E698 0005B5F8 3B 7B 00 01 */ addi r27, r27, 1 +/* 8005E69C 0005B5FC 38 03 00 01 */ addi r0, r3, 1 +/* 8005E6A0 0005B600 90 01 00 64 */ stw r0, 0x64(r1) +lbl_8005E6A4: +/* 8005E6A4 0005B604 7C 1B D0 00 */ cmpw r27, r26 +/* 8005E6A8 0005B608 41 80 FF A0 */ blt lbl_8005E648 +/* 8005E6AC 0005B60C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8005E6B0 0005B610 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 8005E6B4 0005B614 54 00 10 3A */ slwi r0, r0, 2 +/* 8005E6B8 0005B618 7C 03 02 14 */ add r0, r3, r0 +/* 8005E6BC 0005B61C 90 61 00 14 */ stw r3, 0x14(r1) +/* 8005E6C0 0005B620 7C 64 1B 78 */ mr r4, r3 +/* 8005E6C4 0005B624 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8005E6C8 0005B628 90 01 00 18 */ stw r0, 0x18(r1) +/* 8005E6CC 0005B62C 90 61 00 10 */ stw r3, 0x10(r1) +/* 8005E6D0 0005B630 48 00 00 08 */ b lbl_8005E6D8 +lbl_8005E6D4: +/* 8005E6D4 0005B634 38 84 00 04 */ addi r4, r4, 4 +lbl_8005E6D8: +/* 8005E6D8 0005B638 7C 04 00 40 */ cmplw r4, r0 +/* 8005E6DC 0005B63C 40 82 FF F8 */ bne lbl_8005E6D4 +/* 8005E6E0 0005B640 28 03 00 00 */ cmplwi r3, 0 +/* 8005E6E4 0005B644 41 82 00 08 */ beq lbl_8005E6EC +/* 8005E6E8 0005B648 48 2B 72 49 */ bl Free__7CMemoryFPCv +lbl_8005E6EC: +/* 8005E6EC 0005B64C 7F C3 F3 78 */ mr r3, r30 +/* 8005E6F0 0005B650 48 2E 05 95 */ bl ReadLong__12CInputStreamFv +/* 8005E6F4 0005B654 7C 7A 1B 78 */ mr r26, r3 +/* 8005E6F8 0005B658 38 7D 00 54 */ addi r3, r29, 0x54 +/* 8005E6FC 0005B65C 7F 44 D3 78 */ mr r4, r26 +/* 8005E700 0005B660 48 00 5C ED */ bl sub_800643ec +/* 8005E704 0005B664 3B 60 00 00 */ li r27, 0 +/* 8005E708 0005B668 48 00 00 30 */ b lbl_8005E738 +lbl_8005E70C: +/* 8005E70C 0005B66C 7F C4 F3 78 */ mr r4, r30 +/* 8005E710 0005B670 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8005E714 0005B674 38 BD 00 14 */ addi r5, r29, 0x14 +/* 8005E718 0005B678 48 00 0C 69 */ bl __ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f +/* 8005E71C 0005B67C 38 7D 00 54 */ addi r3, r29, 0x54 +/* 8005E720 0005B680 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8005E724 0005B684 48 00 00 35 */ bl sub_8005e758 +/* 8005E728 0005B688 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8005E72C 0005B68C 38 80 FF FF */ li r4, -1 +/* 8005E730 0005B690 4B FF 89 B9 */ bl sub_800570e8 +/* 8005E734 0005B694 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8005E738: +/* 8005E738 0005B698 7C 1B D0 00 */ cmpw r27, r26 +/* 8005E73C 0005B69C 41 80 FF D0 */ blt lbl_8005E70C +/* 8005E740 0005B6A0 7F A3 EB 78 */ mr r3, r29 +/* 8005E744 0005B6A4 BB 41 01 28 */ lmw r26, 0x128(r1) +/* 8005E748 0005B6A8 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8005E74C 0005B6AC 7C 08 03 A6 */ mtlr r0 +/* 8005E750 0005B6B0 38 21 01 40 */ addi r1, r1, 0x140 +/* 8005E754 0005B6B4 4E 80 00 20 */ blr + +.global sub_8005e758 +sub_8005e758: +/* 8005E758 0005B6B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005E75C 0005B6BC 7C 08 02 A6 */ mflr r0 +/* 8005E760 0005B6C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005E764 0005B6C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005E768 0005B6C8 7C 9F 23 78 */ mr r31, r4 +/* 8005E76C 0005B6CC 93 C1 00 08 */ stw r30, 8(r1) +/* 8005E770 0005B6D0 7C 7E 1B 78 */ mr r30, r3 +/* 8005E774 0005B6D4 80 03 00 04 */ lwz r0, 4(r3) +/* 8005E778 0005B6D8 80 A3 00 08 */ lwz r5, 8(r3) +/* 8005E77C 0005B6DC 7C 00 28 00 */ cmpw r0, r5 +/* 8005E780 0005B6E0 41 80 00 18 */ blt lbl_8005E798 +/* 8005E784 0005B6E4 2C 05 00 00 */ cmpwi r5, 0 +/* 8005E788 0005B6E8 38 80 00 04 */ li r4, 4 +/* 8005E78C 0005B6EC 41 82 00 08 */ beq lbl_8005E794 +/* 8005E790 0005B6F0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005E794: +/* 8005E794 0005B6F4 48 00 5C 59 */ bl sub_800643ec +lbl_8005E798: +/* 8005E798 0005B6F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005E79C 0005B6FC 7F E4 FB 78 */ mr r4, r31 +/* 8005E7A0 0005B700 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8005E7A4 0005B704 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 8005E7A8 0005B708 7C 63 02 14 */ add r3, r3, r0 +/* 8005E7AC 0005B70C 48 00 00 29 */ bl sub_8005e7d4 +/* 8005E7B0 0005B710 80 7E 00 04 */ lwz r3, 4(r30) +/* 8005E7B4 0005B714 38 03 00 01 */ addi r0, r3, 1 +/* 8005E7B8 0005B718 90 1E 00 04 */ stw r0, 4(r30) +/* 8005E7BC 0005B71C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005E7C0 0005B720 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005E7C4 0005B724 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005E7C8 0005B728 7C 08 03 A6 */ mtlr r0 +/* 8005E7CC 0005B72C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005E7D0 0005B730 4E 80 00 20 */ blr + +.global sub_8005e7d4 +sub_8005e7d4: +/* 8005E7D4 0005B734 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005E7D8 0005B738 7C 08 02 A6 */ mflr r0 +/* 8005E7DC 0005B73C 28 03 00 00 */ cmplwi r3, 0 +/* 8005E7E0 0005B740 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005E7E4 0005B744 41 82 00 08 */ beq lbl_8005E7EC +/* 8005E7E8 0005B748 48 00 00 15 */ bl sub_8005e7fc +lbl_8005E7EC: +/* 8005E7EC 0005B74C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005E7F0 0005B750 7C 08 03 A6 */ mtlr r0 +/* 8005E7F4 0005B754 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005E7F8 0005B758 4E 80 00 20 */ blr + +.global sub_8005e7fc +sub_8005e7fc: +/* 8005E7FC 0005B75C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005E800 0005B760 7C 08 02 A6 */ mflr r0 +/* 8005E804 0005B764 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005E808 0005B768 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005E80C 0005B76C 7C 9F 23 78 */ mr r31, r4 +/* 8005E810 0005B770 93 C1 00 08 */ stw r30, 8(r1) +/* 8005E814 0005B774 7C 7E 1B 78 */ mr r30, r3 +/* 8005E818 0005B778 80 04 00 00 */ lwz r0, 0(r4) +/* 8005E81C 0005B77C 90 03 00 00 */ stw r0, 0(r3) +/* 8005E820 0005B780 80 04 00 08 */ lwz r0, 8(r4) +/* 8005E824 0005B784 90 03 00 08 */ stw r0, 8(r3) +/* 8005E828 0005B788 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8005E82C 0005B78C 90 03 00 0C */ stw r0, 0xc(r3) +/* 8005E830 0005B790 80 04 00 08 */ lwz r0, 8(r4) +/* 8005E834 0005B794 2C 00 00 00 */ cmpwi r0, 0 +/* 8005E838 0005B798 40 82 00 1C */ bne lbl_8005E854 +/* 8005E83C 0005B79C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8005E840 0005B7A0 2C 00 00 00 */ cmpwi r0, 0 +/* 8005E844 0005B7A4 40 82 00 10 */ bne lbl_8005E854 +/* 8005E848 0005B7A8 38 00 00 00 */ li r0, 0 +/* 8005E84C 0005B7AC 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8005E850 0005B7B0 48 00 00 74 */ b lbl_8005E8C4 +lbl_8005E854: +/* 8005E854 0005B7B4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8005E858 0005B7B8 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 8005E85C 0005B7BC 40 82 00 10 */ bne lbl_8005E86C +/* 8005E860 0005B7C0 38 00 00 00 */ li r0, 0 +/* 8005E864 0005B7C4 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8005E868 0005B7C8 48 00 00 18 */ b lbl_8005E880 +lbl_8005E86C: +/* 8005E86C 0005B7CC 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 8005E870 0005B7D0 38 A0 00 00 */ li r5, 0 +/* 8005E874 0005B7D4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 8005E878 0005B7D8 48 2B 6F A1 */ bl __nwa__FUlPCcPCc +/* 8005E87C 0005B7DC 90 7E 00 10 */ stw r3, 0x10(r30) +lbl_8005E880: +/* 8005E880 0005B7E0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8005E884 0005B7E4 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8005E888 0005B7E8 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8005E88C 0005B7EC 7C 09 03 A6 */ mtctr r0 +/* 8005E890 0005B7F0 2C 00 00 00 */ cmpwi r0, 0 +/* 8005E894 0005B7F4 40 81 00 30 */ ble lbl_8005E8C4 +lbl_8005E898: +/* 8005E898 0005B7F8 28 03 00 00 */ cmplwi r3, 0 +/* 8005E89C 0005B7FC 41 82 00 1C */ beq lbl_8005E8B8 +/* 8005E8A0 0005B800 80 04 00 00 */ lwz r0, 0(r4) +/* 8005E8A4 0005B804 90 03 00 00 */ stw r0, 0(r3) +/* 8005E8A8 0005B808 A8 04 00 04 */ lha r0, 4(r4) +/* 8005E8AC 0005B80C B0 03 00 04 */ sth r0, 4(r3) +/* 8005E8B0 0005B810 A8 04 00 06 */ lha r0, 6(r4) +/* 8005E8B4 0005B814 B0 03 00 06 */ sth r0, 6(r3) +lbl_8005E8B8: +/* 8005E8B8 0005B818 38 63 00 08 */ addi r3, r3, 8 +/* 8005E8BC 0005B81C 38 84 00 08 */ addi r4, r4, 8 +/* 8005E8C0 0005B820 42 00 FF D8 */ bdnz lbl_8005E898 +lbl_8005E8C4: +/* 8005E8C4 0005B824 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8005E8C8 0005B828 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8005E8CC 0005B82C 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8005E8D0 0005B830 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8005E8D4 0005B834 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8005E8D8 0005B838 7C 09 03 A6 */ mtctr r0 +/* 8005E8DC 0005B83C 2C 00 00 00 */ cmpwi r0, 0 +/* 8005E8E0 0005B840 40 81 00 30 */ ble lbl_8005E910 +lbl_8005E8E4: +/* 8005E8E4 0005B844 28 03 00 00 */ cmplwi r3, 0 +/* 8005E8E8 0005B848 41 82 00 1C */ beq lbl_8005E904 +/* 8005E8EC 0005B84C C0 04 00 00 */ lfs f0, 0(r4) +/* 8005E8F0 0005B850 D0 03 00 00 */ stfs f0, 0(r3) +/* 8005E8F4 0005B854 C0 04 00 04 */ lfs f0, 4(r4) +/* 8005E8F8 0005B858 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005E8FC 0005B85C C0 04 00 08 */ lfs f0, 8(r4) +/* 8005E900 0005B860 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8005E904: +/* 8005E904 0005B864 38 63 00 0C */ addi r3, r3, 0xc +/* 8005E908 0005B868 38 84 00 0C */ addi r4, r4, 0xc +/* 8005E90C 0005B86C 42 00 FF D8 */ bdnz lbl_8005E8E4 +lbl_8005E910: +/* 8005E910 0005B870 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8005E914 0005B874 7F C3 F3 78 */ mr r3, r30 +/* 8005E918 0005B878 98 1E 00 48 */ stb r0, 0x48(r30) +/* 8005E91C 0005B87C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005E920 0005B880 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005E924 0005B884 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005E928 0005B888 7C 08 03 A6 */ mtlr r0 +/* 8005E92C 0005B88C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005E930 0005B890 4E 80 00 20 */ blr + +.global ReadDependencyList__9CGameArea +ReadDependencyList__9CGameArea: +/* 8005E934 0005B894 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005E938 0005B898 7C 08 02 A6 */ mflr r0 +/* 8005E93C 0005B89C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005E940 0005B8A0 38 00 00 00 */ li r0, 0 +/* 8005E944 0005B8A4 BF 41 00 08 */ stmw r26, 8(r1) +/* 8005E948 0005B8A8 7C 7A 1B 78 */ mr r26, r3 +/* 8005E94C 0005B8AC 7C 9B 23 78 */ mr r27, r4 +/* 8005E950 0005B8B0 90 03 00 04 */ stw r0, 4(r3) +/* 8005E954 0005B8B4 7F 63 DB 78 */ mr r3, r27 +/* 8005E958 0005B8B8 90 1A 00 08 */ stw r0, 8(r26) +/* 8005E95C 0005B8BC 90 1A 00 0C */ stw r0, 0xc(r26) +/* 8005E960 0005B8C0 48 2E 03 25 */ bl ReadLong__12CInputStreamFv +/* 8005E964 0005B8C4 7C 7D 1B 78 */ mr r29, r3 +/* 8005E968 0005B8C8 7F 43 D3 78 */ mr r3, r26 +/* 8005E96C 0005B8CC 7F A4 EB 78 */ mr r4, r29 +/* 8005E970 0005B8D0 4B FA A0 DD */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +/* 8005E974 0005B8D4 3B 80 00 00 */ li r28, 0 +/* 8005E978 0005B8D8 48 00 00 70 */ b lbl_8005E9E8 +lbl_8005E97C: +/* 8005E97C 0005B8DC 7F 63 DB 78 */ mr r3, r27 +/* 8005E980 0005B8E0 48 2E 03 05 */ bl ReadLong__12CInputStreamFv +/* 8005E984 0005B8E4 7C 7E 1B 78 */ mr r30, r3 +/* 8005E988 0005B8E8 7F 63 DB 78 */ mr r3, r27 +/* 8005E98C 0005B8EC 48 2E 02 F9 */ bl ReadLong__12CInputStreamFv +/* 8005E990 0005B8F0 80 1A 00 04 */ lwz r0, 4(r26) +/* 8005E994 0005B8F4 7C 7F 1B 78 */ mr r31, r3 +/* 8005E998 0005B8F8 80 BA 00 08 */ lwz r5, 8(r26) +/* 8005E99C 0005B8FC 7C 00 28 00 */ cmpw r0, r5 +/* 8005E9A0 0005B900 41 80 00 1C */ blt lbl_8005E9BC +/* 8005E9A4 0005B904 2C 05 00 00 */ cmpwi r5, 0 +/* 8005E9A8 0005B908 7F 43 D3 78 */ mr r3, r26 +/* 8005E9AC 0005B90C 38 80 00 04 */ li r4, 4 +/* 8005E9B0 0005B910 41 82 00 08 */ beq lbl_8005E9B8 +/* 8005E9B4 0005B914 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8005E9B8: +/* 8005E9B8 0005B918 4B FA A0 95 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +lbl_8005E9BC: +/* 8005E9BC 0005B91C 80 1A 00 04 */ lwz r0, 4(r26) +/* 8005E9C0 0005B920 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 8005E9C4 0005B924 54 00 18 38 */ slwi r0, r0, 3 +/* 8005E9C8 0005B928 7C 63 02 15 */ add. r3, r3, r0 +/* 8005E9CC 0005B92C 41 82 00 0C */ beq lbl_8005E9D8 +/* 8005E9D0 0005B930 93 C3 00 00 */ stw r30, 0(r3) +/* 8005E9D4 0005B934 93 E3 00 04 */ stw r31, 4(r3) +lbl_8005E9D8: +/* 8005E9D8 0005B938 80 7A 00 04 */ lwz r3, 4(r26) +/* 8005E9DC 0005B93C 3B 9C 00 01 */ addi r28, r28, 1 +/* 8005E9E0 0005B940 38 03 00 01 */ addi r0, r3, 1 +/* 8005E9E4 0005B944 90 1A 00 04 */ stw r0, 4(r26) +lbl_8005E9E8: +/* 8005E9E8 0005B948 7C 1C E8 00 */ cmpw r28, r29 +/* 8005E9EC 0005B94C 41 80 FF 90 */ blt lbl_8005E97C +/* 8005E9F0 0005B950 7F 43 D3 78 */ mr r3, r26 +/* 8005E9F4 0005B954 BB 41 00 08 */ lmw r26, 8(r1) +/* 8005E9F8 0005B958 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005E9FC 0005B95C 7C 08 03 A6 */ mtlr r0 +/* 8005EA00 0005B960 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005EA04 0005B964 4E 80 00 20 */ blr + +.global sub_8005ea08 +sub_8005ea08: +/* 8005EA08 0005B968 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005EA0C 0005B96C 7C 08 02 A6 */ mflr r0 +/* 8005EA10 0005B970 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005EA14 0005B974 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005EA18 0005B978 7C 7F 1B 78 */ mr r31, r3 +/* 8005EA1C 0005B97C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005EA20 0005B980 7C 9E 23 78 */ mr r30, r4 +/* 8005EA24 0005B984 7C 1F F0 40 */ cmplw r31, r30 +/* 8005EA28 0005B988 40 82 00 08 */ bne lbl_8005EA30 +/* 8005EA2C 0005B98C 48 00 00 B8 */ b lbl_8005EAE4 +lbl_8005EA30: +/* 8005EA30 0005B990 80 1F 00 04 */ lwz r0, 4(r31) +/* 8005EA34 0005B994 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8005EA38 0005B998 54 00 08 3C */ slwi r0, r0, 1 +/* 8005EA3C 0005B99C 7C 03 02 14 */ add r0, r3, r0 +/* 8005EA40 0005B9A0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8005EA44 0005B9A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005EA48 0005B9A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8005EA4C 0005B9AC 90 61 00 08 */ stw r3, 8(r1) +/* 8005EA50 0005B9B0 48 00 00 08 */ b lbl_8005EA58 +lbl_8005EA54: +/* 8005EA54 0005B9B4 38 63 00 02 */ addi r3, r3, 2 +lbl_8005EA58: +/* 8005EA58 0005B9B8 7C 03 00 40 */ cmplw r3, r0 +/* 8005EA5C 0005B9BC 40 82 FF F8 */ bne lbl_8005EA54 +/* 8005EA60 0005B9C0 38 00 00 00 */ li r0, 0 +/* 8005EA64 0005B9C4 90 1F 00 04 */ stw r0, 4(r31) +/* 8005EA68 0005B9C8 80 9E 00 04 */ lwz r4, 4(r30) +/* 8005EA6C 0005B9CC 2C 04 00 00 */ cmpwi r4, 0 +/* 8005EA70 0005B9D0 40 82 00 28 */ bne lbl_8005EA98 +/* 8005EA74 0005B9D4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8005EA78 0005B9D8 28 03 00 00 */ cmplwi r3, 0 +/* 8005EA7C 0005B9DC 41 82 00 08 */ beq lbl_8005EA84 +/* 8005EA80 0005B9E0 48 2B 6E B1 */ bl Free__7CMemoryFPCv +lbl_8005EA84: +/* 8005EA84 0005B9E4 38 00 00 00 */ li r0, 0 +/* 8005EA88 0005B9E8 90 1F 00 04 */ stw r0, 4(r31) +/* 8005EA8C 0005B9EC 90 1F 00 08 */ stw r0, 8(r31) +/* 8005EA90 0005B9F0 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8005EA94 0005B9F4 48 00 00 4C */ b lbl_8005EAE0 +lbl_8005EA98: +/* 8005EA98 0005B9F8 7F E3 FB 78 */ mr r3, r31 +/* 8005EA9C 0005B9FC 48 00 58 65 */ bl "reserve__Q24rstl37vectorFi" +/* 8005EAA0 0005BA00 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005EAA4 0005BA04 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8005EAA8 0005BA08 54 00 08 3C */ slwi r0, r0, 1 +/* 8005EAAC 0005BA0C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8005EAB0 0005BA10 7C 85 02 14 */ add r4, r5, r0 +/* 8005EAB4 0005BA14 48 00 00 1C */ b lbl_8005EAD0 +lbl_8005EAB8: +/* 8005EAB8 0005BA18 28 03 00 00 */ cmplwi r3, 0 +/* 8005EABC 0005BA1C 41 82 00 0C */ beq lbl_8005EAC8 +/* 8005EAC0 0005BA20 A0 05 00 00 */ lhz r0, 0(r5) +/* 8005EAC4 0005BA24 B0 03 00 00 */ sth r0, 0(r3) +lbl_8005EAC8: +/* 8005EAC8 0005BA28 38 63 00 02 */ addi r3, r3, 2 +/* 8005EACC 0005BA2C 38 A5 00 02 */ addi r5, r5, 2 +lbl_8005EAD0: +/* 8005EAD0 0005BA30 7C 05 20 40 */ cmplw r5, r4 +/* 8005EAD4 0005BA34 40 82 FF E4 */ bne lbl_8005EAB8 +/* 8005EAD8 0005BA38 80 1E 00 04 */ lwz r0, 4(r30) +/* 8005EADC 0005BA3C 90 1F 00 04 */ stw r0, 4(r31) +lbl_8005EAE0: +/* 8005EAE0 0005BA40 7F E3 FB 78 */ mr r3, r31 +lbl_8005EAE4: +/* 8005EAE4 0005BA44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005EAE8 0005BA48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005EAEC 0005BA4C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005EAF0 0005BA50 7C 08 03 A6 */ mtlr r0 +/* 8005EAF4 0005BA54 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005EAF8 0005BA58 4E 80 00 20 */ blr + +.global IGetScriptingMemoryAlways__9CGameAreaCFv +IGetScriptingMemoryAlways__9CGameAreaCFv: +/* 8005EAFC 0005BA5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005EB00 0005BA60 7C 08 02 A6 */ mflr r0 +/* 8005EB04 0005BA64 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005EB08 0005BA68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005EB0C 0005BA6C 7C 7F 1B 78 */ mr r31, r3 +/* 8005EB10 0005BA70 48 00 3E B5 */ bl GetScriptingMemoryAlways__FRC9IGameArea +/* 8005EB14 0005BA74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005EB18 0005BA78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005EB1C 0005BA7C 7C 08 03 A6 */ mtlr r0 +/* 8005EB20 0005BA80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005EB24 0005BA84 4E 80 00 20 */ blr + +.global IGetAreaId__9CGameAreaCFv +IGetAreaId__9CGameAreaCFv: +/* 8005EB28 0005BA88 80 63 00 88 */ lwz r3, 0x88(r3) +/* 8005EB2C 0005BA8C 4E 80 00 20 */ blr + +.global IGetAreaAssetID__9CGameAreaCFv +IGetAreaAssetID__9CGameAreaCFv: +/* 8005EB30 0005BA90 80 63 00 84 */ lwz r3, 0x84(r3) +/* 8005EB34 0005BA94 4E 80 00 20 */ blr + +.global IIsActive__9CGameAreaCFv +IIsActive__9CGameAreaCFv: +/* 8005EB38 0005BA98 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8005EB3C 0005BA9C 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 8005EB40 0005BAA0 4E 80 00 20 */ blr + +.global IGetAttachedAreaId__9CGameAreaCFi +IGetAttachedAreaId__9CGameAreaCFi: +/* 8005EB44 0005BAA4 80 84 00 98 */ lwz r4, 0x98(r4) +/* 8005EB48 0005BAA8 54 A0 08 3C */ slwi r0, r5, 1 +/* 8005EB4C 0005BAAC 7C 04 02 2E */ lhzx r0, r4, r0 +/* 8005EB50 0005BAB0 90 03 00 00 */ stw r0, 0(r3) +/* 8005EB54 0005BAB4 4E 80 00 20 */ blr + +.global IGetNumAttachedAreas__9CGameAreaCFv +IGetNumAttachedAreas__9CGameAreaCFv: +/* 8005EB58 0005BAB8 80 63 00 90 */ lwz r3, 0x90(r3) +/* 8005EB5C 0005BABC 4E 80 00 20 */ blr + +.global IGetStringTableAssetId__9CGameAreaCFv +IGetStringTableAssetId__9CGameAreaCFv: +/* 8005EB60 0005BAC0 80 63 00 08 */ lwz r3, 8(r3) +/* 8005EB64 0005BAC4 4E 80 00 20 */ blr + +.global IGetTM__9CGameAreaCFv +IGetTM__9CGameAreaCFv: +/* 8005EB68 0005BAC8 38 63 00 0C */ addi r3, r3, 0xc +/* 8005EB6C 0005BACC 4E 80 00 20 */ blr + +.global TryTakingOutOfARAM__9CGameAreaFv +TryTakingOutOfARAM__9CGameAreaFv: +/* 8005EB70 0005BAD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005EB74 0005BAD4 7C 08 02 A6 */ mflr r0 +/* 8005EB78 0005BAD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005EB7C 0005BADC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005EB80 0005BAE0 93 C1 00 08 */ stw r30, 8(r1) +/* 8005EB84 0005BAE4 7C 7E 1B 78 */ mr r30, r3 +/* 8005EB88 0005BAE8 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005EB8C 0005BAEC 80 04 10 DC */ lwz r0, 0x10dc(r4) +/* 8005EB90 0005BAF0 2C 00 00 00 */ cmpwi r0, 0 +/* 8005EB94 0005BAF4 40 82 00 14 */ bne lbl_8005EBA8 +/* 8005EB98 0005BAF8 88 04 11 08 */ lbz r0, 0x1108(r4) +/* 8005EB9C 0005BAFC 38 60 00 01 */ li r3, 1 +/* 8005EBA0 0005BB00 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8005EBA4 0005BB04 98 04 11 08 */ stb r0, 0x1108(r4) +lbl_8005EBA8: +/* 8005EBA8 0005BB08 7F C3 F3 78 */ mr r3, r30 +/* 8005EBAC 0005BB0C 3B E0 00 00 */ li r31, 0 +/* 8005EBB0 0005BB10 38 80 00 01 */ li r4, 1 +/* 8005EBB4 0005BB14 48 00 0E 61 */ bl TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer +/* 8005EBB8 0005BB18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005EBBC 0005BB1C 41 82 00 18 */ beq lbl_8005EBD4 +/* 8005EBC0 0005BB20 7F C3 F3 78 */ mr r3, r30 +/* 8005EBC4 0005BB24 48 00 1B 09 */ bl ReloadAllUnloadedTextures__9CGameAreaFv +/* 8005EBC8 0005BB28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005EBCC 0005BB2C 41 82 00 08 */ beq lbl_8005EBD4 +/* 8005EBD0 0005BB30 3B E0 00 01 */ li r31, 1 +lbl_8005EBD4: +/* 8005EBD4 0005BB34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005EBD8 0005BB38 7F E3 FB 78 */ mr r3, r31 +/* 8005EBDC 0005BB3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005EBE0 0005BB40 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005EBE4 0005BB44 7C 08 03 A6 */ mtlr r0 +/* 8005EBE8 0005BB48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005EBEC 0005BB4C 4E 80 00 20 */ blr + +.global DoesAreaNeedEnvFx__9CGameAreaCFv +DoesAreaNeedEnvFx__9CGameAreaCFv: +/* 8005EBF0 0005BB50 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005EBF4 0005BB54 28 03 00 00 */ cmplwi r3, 0 +/* 8005EBF8 0005BB58 40 82 00 0C */ bne lbl_8005EC04 +/* 8005EBFC 0005BB5C 38 60 00 00 */ li r3, 0 +/* 8005EC00 0005BB60 4E 80 00 20 */ blr +lbl_8005EC04: +/* 8005EC04 0005BB64 80 83 10 D8 */ lwz r4, 0x10d8(r3) +/* 8005EC08 0005BB68 28 04 00 00 */ cmplwi r4, 0 +/* 8005EC0C 0005BB6C 40 82 00 0C */ bne lbl_8005EC18 +/* 8005EC10 0005BB70 38 60 00 00 */ li r3, 0 +/* 8005EC14 0005BB74 4E 80 00 20 */ blr +lbl_8005EC18: +/* 8005EC18 0005BB78 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 8005EC1C 0005BB7C 2C 00 00 01 */ cmpwi r0, 1 +/* 8005EC20 0005BB80 41 82 00 0C */ beq lbl_8005EC2C +/* 8005EC24 0005BB84 38 60 00 00 */ li r3, 0 +/* 8005EC28 0005BB88 4E 80 00 20 */ blr +lbl_8005EC2C: +/* 8005EC2C 0005BB8C 80 64 00 38 */ lwz r3, 0x38(r4) +/* 8005EC30 0005BB90 4E 80 00 20 */ blr + +.global DoesAreaNeedSkyNow__9CGameAreaCFv +DoesAreaNeedSkyNow__9CGameAreaCFv: +/* 8005EC34 0005BB94 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005EC38 0005BB98 28 03 00 00 */ cmplwi r3, 0 +/* 8005EC3C 0005BB9C 40 82 00 0C */ bne lbl_8005EC48 +/* 8005EC40 0005BBA0 38 60 00 00 */ li r3, 0 +/* 8005EC44 0005BBA4 4E 80 00 20 */ blr +lbl_8005EC48: +/* 8005EC48 0005BBA8 80 63 10 D8 */ lwz r3, 0x10d8(r3) +/* 8005EC4C 0005BBAC 28 03 00 00 */ cmplwi r3, 0 +/* 8005EC50 0005BBB0 41 82 00 10 */ beq lbl_8005EC60 +/* 8005EC54 0005BBB4 88 03 00 34 */ lbz r0, 0x34(r3) +/* 8005EC58 0005BBB8 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 8005EC5C 0005BBBC 4E 80 00 20 */ blr +lbl_8005EC60: +/* 8005EC60 0005BBC0 38 60 00 00 */ li r3, 0 +/* 8005EC64 0005BBC4 4E 80 00 20 */ blr + +.global SetCurrent__Q29CGameArea8CAreaFogCFv +SetCurrent__Q29CGameArea8CAreaFogCFv: +/* 8005EC68 0005BBC8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8005EC6C 0005BBCC 7C 08 02 A6 */ mflr r0 +/* 8005EC70 0005BBD0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8005EC74 0005BBD4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8005EC78 0005BBD8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8005EC7C 0005BBDC DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8005EC80 0005BBE0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8005EC84 0005BBE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005EC88 0005BBE8 7C 7F 1B 78 */ mr r31, r3 +/* 8005EC8C 0005BBEC C0 82 87 08 */ lfs f4, lbl_805AA428@sda21(r2) +/* 8005EC90 0005BBF0 C3 E3 00 08 */ lfs f31, 8(r3) +/* 8005EC94 0005BBF4 38 61 00 08 */ addi r3, r1, 8 +/* 8005EC98 0005BBF8 C3 DF 00 04 */ lfs f30, 4(r31) +/* 8005EC9C 0005BBFC C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8005ECA0 0005BC00 C0 5F 00 20 */ lfs f2, 0x20(r31) +/* 8005ECA4 0005BC04 C0 7F 00 24 */ lfs f3, 0x24(r31) +/* 8005ECA8 0005BC08 48 30 47 45 */ bl __ct__6CColorFffff +/* 8005ECAC 0005BC0C 7C 65 1B 78 */ mr r5, r3 +/* 8005ECB0 0005BC10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8005ECB4 0005BC14 FC 20 F0 90 */ fmr f1, f30 +/* 8005ECB8 0005BC18 80 9F 00 00 */ lwz r4, 0(r31) +/* 8005ECBC 0005BC1C 81 83 00 00 */ lwz r12, 0(r3) +/* 8005ECC0 0005BC20 FC 40 F8 90 */ fmr f2, f31 +/* 8005ECC4 0005BC24 81 8C 00 E0 */ lwz r12, 0xe0(r12) +/* 8005ECC8 0005BC28 7D 89 03 A6 */ mtctr r12 +/* 8005ECCC 0005BC2C 4E 80 04 21 */ bctrl +/* 8005ECD0 0005BC30 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8005ECD4 0005BC34 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8005ECD8 0005BC38 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8005ECDC 0005BC3C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8005ECE0 0005BC40 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8005ECE4 0005BC44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005ECE8 0005BC48 7C 08 03 A6 */ mtlr r0 +/* 8005ECEC 0005BC4C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8005ECF0 0005BC50 4E 80 00 20 */ blr + +.global Update__Q29CGameArea8CAreaFogFf +Update__Q29CGameArea8CAreaFogFf: +/* 8005ECF4 0005BC54 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8005ECF8 0005BC58 7C 08 02 A6 */ mflr r0 +/* 8005ECFC 0005BC5C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8005ED00 0005BC60 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8005ED04 0005BC64 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8005ED08 0005BC68 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8005ED0C 0005BC6C 7C 7F 1B 78 */ mr r31, r3 +/* 8005ED10 0005BC70 FF E0 08 90 */ fmr f31, f1 +/* 8005ED14 0005BC74 80 03 00 00 */ lwz r0, 0(r3) +/* 8005ED18 0005BC78 2C 00 00 00 */ cmpwi r0, 0 +/* 8005ED1C 0005BC7C 41 82 01 DC */ beq lbl_8005EEF8 +/* 8005ED20 0005BC80 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8005ED24 0005BC84 C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) +/* 8005ED28 0005BC88 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8005ED2C 0005BC8C 41 81 00 24 */ bgt lbl_8005ED50 +/* 8005ED30 0005BC90 FC 40 08 90 */ fmr f2, f1 +/* 8005ED34 0005BC94 38 61 00 18 */ addi r3, r1, 0x18 +/* 8005ED38 0005BC98 48 2B 54 C9 */ bl __ct__9CVector2fFff +/* 8005ED3C 0005BC9C 7C 64 1B 78 */ mr r4, r3 +/* 8005ED40 0005BCA0 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8005ED44 0005BCA4 48 2B 51 C5 */ bl __eq__FRC9CVector2fRC9CVector2f +/* 8005ED48 0005BCA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005ED4C 0005BCAC 40 82 01 AC */ bne lbl_8005EEF8 +lbl_8005ED50: +/* 8005ED50 0005BCB0 3C 60 80 3D */ lis r3, lbl_803D0004@ha +/* 8005ED54 0005BCB4 84 03 CF 98 */ lwzu r0, -0x3068(r3) +/* 8005ED58 0005BCB8 C0 5F 00 34 */ lfs f2, 0x34(r31) +/* 8005ED5C 0005BCBC 38 E1 00 5C */ addi r7, r1, 0x5c +/* 8005ED60 0005BCC0 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8005ED64 0005BCC4 39 01 00 48 */ addi r8, r1, 0x48 +/* 8005ED68 0005BCC8 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8005ED6C 0005BCCC ED 82 07 F2 */ fmuls f12, f2, f31 +/* 8005ED70 0005BCD0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8005ED74 0005BCD4 ED 7F 00 72 */ fmuls f11, f31, f1 +/* 8005ED78 0005BCD8 80 C3 00 04 */ lwz r6, lbl_803D0004@l(r3) +/* 8005ED7C 0005BCDC ED 5F 00 32 */ fmuls f10, f31, f0 +/* 8005ED80 0005BCE0 80 A3 00 08 */ lwz r5, 8(r3) +/* 8005ED84 0005BCE4 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8005ED88 0005BCE8 38 00 00 05 */ li r0, 5 +/* 8005ED8C 0005BCEC 90 C1 00 24 */ stw r6, 0x24(r1) +/* 8005ED90 0005BCF0 38 C1 00 34 */ addi r6, r1, 0x34 +/* 8005ED94 0005BCF4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8005ED98 0005BCF8 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8005ED9C 0005BCFC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8005EDA0 0005BD00 C1 3F 00 1C */ lfs f9, 0x1c(r31) +/* 8005EDA4 0005BD04 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8005EDA8 0005BD08 38 80 00 00 */ li r4, 0 +/* 8005EDAC 0005BD0C C1 1F 00 28 */ lfs f8, 0x28(r31) +/* 8005EDB0 0005BD10 C0 FF 00 20 */ lfs f7, 0x20(r31) +/* 8005EDB4 0005BD14 C0 DF 00 2C */ lfs f6, 0x2c(r31) +/* 8005EDB8 0005BD18 90 61 00 30 */ stw r3, 0x30(r1) +/* 8005EDBC 0005BD1C C0 BF 00 24 */ lfs f5, 0x24(r31) +/* 8005EDC0 0005BD20 C0 9F 00 30 */ lfs f4, 0x30(r31) +/* 8005EDC4 0005BD24 C0 7F 00 04 */ lfs f3, 4(r31) +/* 8005EDC8 0005BD28 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8005EDCC 0005BD2C C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 8005EDD0 0005BD30 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8005EDD4 0005BD34 D1 81 00 20 */ stfs f12, 0x20(r1) +/* 8005EDD8 0005BD38 D1 81 00 24 */ stfs f12, 0x24(r1) +/* 8005EDDC 0005BD3C D1 81 00 28 */ stfs f12, 0x28(r1) +/* 8005EDE0 0005BD40 D1 61 00 2C */ stfs f11, 0x2c(r1) +/* 8005EDE4 0005BD44 D1 41 00 30 */ stfs f10, 0x30(r1) +/* 8005EDE8 0005BD48 D1 21 00 5C */ stfs f9, 0x5c(r1) +/* 8005EDEC 0005BD4C D1 01 00 48 */ stfs f8, 0x48(r1) +/* 8005EDF0 0005BD50 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 8005EDF4 0005BD54 D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 8005EDF8 0005BD58 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 8005EDFC 0005BD5C D0 81 00 50 */ stfs f4, 0x50(r1) +/* 8005EE00 0005BD60 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 8005EE04 0005BD64 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8005EE08 0005BD68 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8005EE0C 0005BD6C D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8005EE10 0005BD70 7C 09 03 A6 */ mtctr r0 +lbl_8005EE14: +/* 8005EE14 0005BD74 C0 48 00 00 */ lfs f2, 0(r8) +/* 8005EE18 0005BD78 C0 27 00 00 */ lfs f1, 0(r7) +/* 8005EE1C 0005BD7C C0 85 00 00 */ lfs f4, 0(r5) +/* 8005EE20 0005BD80 EC 62 08 28 */ fsubs f3, f2, f1 +/* 8005EE24 0005BD84 FC 00 1A 10 */ fabs f0, f3 +/* 8005EE28 0005BD88 FC 00 00 18 */ frsp f0, f0 +/* 8005EE2C 0005BD8C FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 8005EE30 0005BD90 4C 40 13 82 */ cror 2, 0, 2 +/* 8005EE34 0005BD94 40 82 00 10 */ bne lbl_8005EE44 +/* 8005EE38 0005BD98 D0 46 00 00 */ stfs f2, 0(r6) +/* 8005EE3C 0005BD9C 38 84 00 01 */ addi r4, r4, 1 +/* 8005EE40 0005BDA0 48 00 00 14 */ b lbl_8005EE54 +lbl_8005EE44: +/* 8005EE44 0005BDA4 FC 00 20 50 */ fneg f0, f4 +/* 8005EE48 0005BDA8 FC 03 01 2E */ fsel f0, f3, f4, f0 +/* 8005EE4C 0005BDAC EC 01 00 2A */ fadds f0, f1, f0 +/* 8005EE50 0005BDB0 D0 06 00 00 */ stfs f0, 0(r6) +lbl_8005EE54: +/* 8005EE54 0005BDB4 38 E7 00 04 */ addi r7, r7, 4 +/* 8005EE58 0005BDB8 39 08 00 04 */ addi r8, r8, 4 +/* 8005EE5C 0005BDBC 38 A5 00 04 */ addi r5, r5, 4 +/* 8005EE60 0005BDC0 38 C6 00 04 */ addi r6, r6, 4 +/* 8005EE64 0005BDC4 42 00 FF B0 */ bdnz lbl_8005EE14 +/* 8005EE68 0005BDC8 2C 04 00 05 */ cmpwi r4, 5 +/* 8005EE6C 0005BDCC 40 82 00 40 */ bne lbl_8005EEAC +/* 8005EE70 0005BDD0 C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) +/* 8005EE74 0005BDD4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8005EE78 0005BDD8 FC 40 08 90 */ fmr f2, f1 +/* 8005EE7C 0005BDDC D0 3F 00 34 */ stfs f1, 0x34(r31) +/* 8005EE80 0005BDE0 48 2B 53 81 */ bl __ct__9CVector2fFff +/* 8005EE84 0005BDE4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8005EE88 0005BDE8 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 8005EE8C 0005BDEC D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8005EE90 0005BDF0 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8005EE94 0005BDF4 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8005EE98 0005BDF8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8005EE9C 0005BDFC D0 5F 00 18 */ stfs f2, 0x18(r31) +/* 8005EEA0 0005BE00 40 82 00 0C */ bne lbl_8005EEAC +/* 8005EEA4 0005BE04 38 00 00 00 */ li r0, 0 +/* 8005EEA8 0005BE08 90 1F 00 00 */ stw r0, 0(r31) +lbl_8005EEAC: +/* 8005EEAC 0005BE0C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8005EEB0 0005BE10 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 8005EEB4 0005BE14 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8005EEB8 0005BE18 40 81 00 08 */ ble lbl_8005EEC0 +/* 8005EEBC 0005BE1C D0 21 00 40 */ stfs f1, 0x40(r1) +lbl_8005EEC0: +/* 8005EEC0 0005BE20 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8005EEC4 0005BE24 38 61 00 08 */ addi r3, r1, 8 +/* 8005EEC8 0005BE28 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8005EECC 0005BE2C D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8005EED0 0005BE30 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8005EED4 0005BE34 D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 8005EED8 0005BE38 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 8005EEDC 0005BE3C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8005EEE0 0005BE40 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8005EEE4 0005BE44 48 2B 53 1D */ bl __ct__9CVector2fFff +/* 8005EEE8 0005BE48 C0 01 00 08 */ lfs f0, 8(r1) +/* 8005EEEC 0005BE4C D0 1F 00 04 */ stfs f0, 4(r31) +/* 8005EEF0 0005BE50 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8005EEF4 0005BE54 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_8005EEF8: +/* 8005EEF8 0005BE58 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8005EEFC 0005BE5C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8005EF00 0005BE60 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8005EF04 0005BE64 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8005EF08 0005BE68 7C 08 03 A6 */ mtlr r0 +/* 8005EF0C 0005BE6C 38 21 00 90 */ addi r1, r1, 0x90 +/* 8005EF10 0005BE70 4E 80 00 20 */ blr + +.global UpdateFog__9CGameAreaFf +UpdateFog__9CGameAreaFf: +/* 8005EF14 0005BE74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005EF18 0005BE78 7C 08 02 A6 */ mflr r0 +/* 8005EF1C 0005BE7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005EF20 0005BE80 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005EF24 0005BE84 80 63 10 C4 */ lwz r3, 0x10c4(r3) +/* 8005EF28 0005BE88 28 03 00 00 */ cmplwi r3, 0 +/* 8005EF2C 0005BE8C 41 82 00 08 */ beq lbl_8005EF34 +/* 8005EF30 0005BE90 4B FF FD C5 */ bl Update__Q29CGameArea8CAreaFogFf +lbl_8005EF34: +/* 8005EF34 0005BE94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005EF38 0005BE98 7C 08 03 A6 */ mtlr r0 +/* 8005EF3C 0005BE9C 38 21 00 10 */ addi r1, r1, 0x10 + +.global sub_8005ef40 +sub_8005ef40: +/* 8005EF40 0005BEA0 4E 80 00 20 */ blr + +.global RollFogOut__Q29CGameArea8CAreaFogFffRC6CColor +RollFogOut__Q29CGameArea8CAreaFogFffRC6CColor: +/* 8005EF44 0005BEA4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005EF48 0005BEA8 7C 08 02 A6 */ mflr r0 +/* 8005EF4C 0005BEAC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005EF50 0005BEB0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8005EF54 0005BEB4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8005EF58 0005BEB8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005EF5C 0005BEBC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005EF60 0005BEC0 C0 02 87 10 */ lfs f0, lbl_805AA430@sda21(r2) +/* 8005EF64 0005BEC4 FF E0 10 90 */ fmr f31, f2 +/* 8005EF68 0005BEC8 7C 7E 1B 78 */ mr r30, r3 +/* 8005EF6C 0005BECC 7C 9F 23 78 */ mr r31, r4 +/* 8005EF70 0005BED0 EC 40 00 72 */ fmuls f2, f0, f1 +/* 8005EF74 0005BED4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8005EF78 0005BED8 48 2B 52 89 */ bl __ct__9CVector2fFff +/* 8005EF7C 0005BEDC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8005EF80 0005BEE0 38 61 00 08 */ addi r3, r1, 8 +/* 8005EF84 0005BEE4 C0 22 87 14 */ lfs f1, lbl_805AA434@sda21(r2) +/* 8005EF88 0005BEE8 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8005EF8C 0005BEEC FC 40 08 90 */ fmr f2, f1 +/* 8005EF90 0005BEF0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8005EF94 0005BEF4 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8005EF98 0005BEF8 48 2B 52 69 */ bl __ct__9CVector2fFff +/* 8005EF9C 0005BEFC C0 01 00 08 */ lfs f0, 8(r1) +/* 8005EFA0 0005BF00 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8005EFA4 0005BF04 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8005EFA8 0005BF08 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8005EFAC 0005BF0C D3 FE 00 34 */ stfs f31, 0x34(r30) +/* 8005EFB0 0005BF10 E0 7F A0 02 */ psq_l f3, 2(r31), 1, qr2 +/* 8005EFB4 0005BF14 E0 3F A0 01 */ psq_l f1, 1(r31), 1, qr2 +/* 8005EFB8 0005BF18 E0 5F A0 00 */ psq_l f2, 0(r31), 1, qr2 +/* 8005EFBC 0005BF1C C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2) +/* 8005EFC0 0005BF20 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8005EFC4 0005BF24 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8005EFC8 0005BF28 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8005EFCC 0005BF2C D0 5E 00 28 */ stfs f2, 0x28(r30) +/* 8005EFD0 0005BF30 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 8005EFD4 0005BF34 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 8005EFD8 0005BF38 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8005EFDC 0005BF3C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005EFE0 0005BF40 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8005EFE4 0005BF44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005EFE8 0005BF48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005EFEC 0005BF4C 7C 08 03 A6 */ mtlr r0 +/* 8005EFF0 0005BF50 38 21 00 30 */ addi r1, r1, 0x30 +/* 8005EFF4 0005BF54 4E 80 00 20 */ blr + +.global FadeFog__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2ffRC9CVector2f +FadeFog__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2ffRC9CVector2f: +/* 8005EFF8 0005BF58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8005EFFC 0005BF5C 7C 08 02 A6 */ mflr r0 +/* 8005F000 0005BF60 90 01 00 34 */ stw r0, 0x34(r1) +/* 8005F004 0005BF64 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8005F008 0005BF68 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8005F00C 0005BF6C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8005F010 0005BF70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8005F014 0005BF74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8005F018 0005BF78 7C 7D 1B 78 */ mr r29, r3 +/* 8005F01C 0005BF7C FF E0 08 90 */ fmr f31, f1 +/* 8005F020 0005BF80 80 03 00 00 */ lwz r0, 0(r3) +/* 8005F024 0005BF84 7C DE 33 78 */ mr r30, r6 +/* 8005F028 0005BF88 7C FF 3B 78 */ mr r31, r7 +/* 8005F02C 0005BF8C 2C 00 00 00 */ cmpwi r0, 0 +/* 8005F030 0005BF90 40 82 00 7C */ bne lbl_8005F0AC +/* 8005F034 0005BF94 90 9D 00 00 */ stw r4, 0(r29) +/* 8005F038 0005BF98 E0 65 A0 02 */ psq_l f3, 2(r5), 1, qr2 +/* 8005F03C 0005BF9C E0 25 A0 01 */ psq_l f1, 1(r5), 1, qr2 +/* 8005F040 0005BFA0 E0 45 A0 00 */ psq_l f2, 0(r5), 1, qr2 +/* 8005F044 0005BFA4 38 61 00 08 */ addi r3, r1, 8 +/* 8005F048 0005BFA8 C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2) +/* 8005F04C 0005BFAC EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8005F050 0005BFB0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8005F054 0005BFB4 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8005F058 0005BFB8 D0 5D 00 28 */ stfs f2, 0x28(r29) +/* 8005F05C 0005BFBC D0 3D 00 2C */ stfs f1, 0x2c(r29) +/* 8005F060 0005BFC0 D0 1D 00 30 */ stfs f0, 0x30(r29) +/* 8005F064 0005BFC4 C0 1D 00 28 */ lfs f0, 0x28(r29) +/* 8005F068 0005BFC8 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 8005F06C 0005BFCC C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 8005F070 0005BFD0 D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 8005F074 0005BFD4 C0 1D 00 30 */ lfs f0, 0x30(r29) +/* 8005F078 0005BFD8 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 8005F07C 0005BFDC C0 3E 00 04 */ lfs f1, 4(r30) +/* 8005F080 0005BFE0 FC 40 08 90 */ fmr f2, f1 +/* 8005F084 0005BFE4 48 2B 51 7D */ bl __ct__9CVector2fFff +/* 8005F088 0005BFE8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8005F08C 0005BFEC D0 1D 00 04 */ stfs f0, 4(r29) +/* 8005F090 0005BFF0 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8005F094 0005BFF4 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8005F098 0005BFF8 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8005F09C 0005BFFC D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8005F0A0 0005C000 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8005F0A4 0005C004 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 8005F0A8 0005C008 48 00 00 40 */ b lbl_8005F0E8 +lbl_8005F0AC: +/* 8005F0AC 0005C00C 90 9D 00 00 */ stw r4, 0(r29) +/* 8005F0B0 0005C010 E0 65 A0 02 */ psq_l f3, 2(r5), 1, qr2 +/* 8005F0B4 0005C014 E0 25 A0 01 */ psq_l f1, 1(r5), 1, qr2 +/* 8005F0B8 0005C018 E0 45 A0 00 */ psq_l f2, 0(r5), 1, qr2 +/* 8005F0BC 0005C01C C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2) +/* 8005F0C0 0005C020 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8005F0C4 0005C024 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8005F0C8 0005C028 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8005F0CC 0005C02C D0 5D 00 28 */ stfs f2, 0x28(r29) +/* 8005F0D0 0005C030 D0 3D 00 2C */ stfs f1, 0x2c(r29) +/* 8005F0D4 0005C034 D0 1D 00 30 */ stfs f0, 0x30(r29) +/* 8005F0D8 0005C038 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8005F0DC 0005C03C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8005F0E0 0005C040 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8005F0E4 0005C044 D0 1D 00 10 */ stfs f0, 0x10(r29) +lbl_8005F0E8: +/* 8005F0E8 0005C048 D3 FD 00 34 */ stfs f31, 0x34(r29) +/* 8005F0EC 0005C04C C0 1F 00 00 */ lfs f0, 0(r31) +/* 8005F0F0 0005C050 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8005F0F4 0005C054 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8005F0F8 0005C058 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 8005F0FC 0005C05C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8005F100 0005C060 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8005F104 0005C064 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8005F108 0005C068 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8005F10C 0005C06C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8005F110 0005C070 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8005F114 0005C074 7C 08 03 A6 */ mtlr r0 +/* 8005F118 0005C078 38 21 00 30 */ addi r1, r1, 0x30 +/* 8005F11C 0005C07C 4E 80 00 20 */ blr + +.global SetFogExplicit__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2f +SetFogExplicit__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2f: +/* 8005F120 0005C080 90 83 00 00 */ stw r4, 0(r3) +/* 8005F124 0005C084 E0 65 A0 02 */ psq_l f3, 2(r5), 1, qr2 +/* 8005F128 0005C088 E0 25 A0 01 */ psq_l f1, 1(r5), 1, qr2 +/* 8005F12C 0005C08C E0 45 A0 00 */ psq_l f2, 0(r5), 1, qr2 +/* 8005F130 0005C090 C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2) +/* 8005F134 0005C094 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8005F138 0005C098 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8005F13C 0005C09C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8005F140 0005C0A0 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 8005F144 0005C0A4 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 8005F148 0005C0A8 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8005F14C 0005C0AC C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8005F150 0005C0B0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8005F154 0005C0B4 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 8005F158 0005C0B8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8005F15C 0005C0BC C0 03 00 30 */ lfs f0, 0x30(r3) +/* 8005F160 0005C0C0 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8005F164 0005C0C4 C0 06 00 00 */ lfs f0, 0(r6) +/* 8005F168 0005C0C8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8005F16C 0005C0CC C0 06 00 04 */ lfs f0, 4(r6) +/* 8005F170 0005C0D0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8005F174 0005C0D4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8005F178 0005C0D8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005F17C 0005C0DC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8005F180 0005C0E0 D0 03 00 08 */ stfs f0, 8(r3) +/* 8005F184 0005C0E4 4E 80 00 20 */ blr + +.global IsFogDisabled__Q29CGameArea8CAreaFogCFv +IsFogDisabled__Q29CGameArea8CAreaFogCFv: +/* 8005F188 0005C0E8 80 03 00 00 */ lwz r0, 0(r3) +/* 8005F18C 0005C0EC 7C 00 00 34 */ cntlzw r0, r0 +/* 8005F190 0005C0F0 54 03 D9 7E */ srwi r3, r0, 5 +/* 8005F194 0005C0F4 4E 80 00 20 */ blr + +.global DisableFog__Q29CGameArea8CAreaFogFv +DisableFog__Q29CGameArea8CAreaFogFv: +/* 8005F198 0005C0F8 38 00 00 00 */ li r0, 0 +/* 8005F19C 0005C0FC 90 03 00 00 */ stw r0, 0(r3) +/* 8005F1A0 0005C100 4E 80 00 20 */ blr + +.global __ct__Q29CGameArea8CAreaFogFv +__ct__Q29CGameArea8CAreaFogFv: +/* 8005F1A4 0005C104 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005F1A8 0005C108 7C 08 02 A6 */ mflr r0 +/* 8005F1AC 0005C10C C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) +/* 8005F1B0 0005C110 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005F1B4 0005C114 38 00 00 00 */ li r0, 0 +/* 8005F1B8 0005C118 C0 42 87 18 */ lfs f2, lbl_805AA438@sda21(r2) +/* 8005F1BC 0005C11C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005F1C0 0005C120 7C 7F 1B 78 */ mr r31, r3 +/* 8005F1C4 0005C124 90 03 00 00 */ stw r0, 0(r3) +/* 8005F1C8 0005C128 38 7F 00 04 */ addi r3, r31, 4 +/* 8005F1CC 0005C12C 48 2B 50 35 */ bl __ct__9CVector2fFff +/* 8005F1D0 0005C130 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8005F1D4 0005C134 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8005F1D8 0005C138 C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) +/* 8005F1DC 0005C13C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8005F1E0 0005C140 FC 40 08 90 */ fmr f2, f1 +/* 8005F1E4 0005C144 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8005F1E8 0005C148 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8005F1EC 0005C14C 48 2B 50 15 */ bl __ct__9CVector2fFff +/* 8005F1F0 0005C150 C0 22 87 1C */ lfs f1, lbl_805AA43C@sda21(r2) +/* 8005F1F4 0005C154 7F E3 FB 78 */ mr r3, r31 +/* 8005F1F8 0005C158 C0 02 87 00 */ lfs f0, lbl_805AA420@sda21(r2) +/* 8005F1FC 0005C15C D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 8005F200 0005C160 D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 8005F204 0005C164 D0 3F 00 24 */ stfs f1, 0x24(r31) +/* 8005F208 0005C168 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8005F20C 0005C16C D0 3F 00 28 */ stfs f1, 0x28(r31) +/* 8005F210 0005C170 C0 3F 00 20 */ lfs f1, 0x20(r31) +/* 8005F214 0005C174 D0 3F 00 2C */ stfs f1, 0x2c(r31) +/* 8005F218 0005C178 C0 3F 00 24 */ lfs f1, 0x24(r31) +/* 8005F21C 0005C17C D0 3F 00 30 */ stfs f1, 0x30(r31) +/* 8005F220 0005C180 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 8005F224 0005C184 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005F228 0005C188 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005F22C 0005C18C 7C 08 03 A6 */ mtlr r0 +/* 8005F230 0005C190 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005F234 0005C194 4E 80 00 20 */ blr + +.global IsQualified__Q29CGameArea15CAreaObjectListFRC7CEntity +IsQualified__Q29CGameArea15CAreaObjectListFRC7CEntity: +/* 8005F238 0005C198 80 63 20 0C */ lwz r3, 0x200c(r3) +/* 8005F23C 0005C19C 80 04 00 04 */ lwz r0, 4(r4) +/* 8005F240 0005C1A0 7C 03 00 50 */ subf r0, r3, r0 +/* 8005F244 0005C1A4 7C 00 00 34 */ cntlzw r0, r0 +/* 8005F248 0005C1A8 54 03 DE 3E */ rlwinm r3, r0, 0x1b, 0x18, 0x1f +/* 8005F24C 0005C1AC 4E 80 00 20 */ blr + +.global GetShouldLoadOther__Q29IGameArea4DockCFi +GetShouldLoadOther__Q29IGameArea4DockCFi: +/* 8005F250 0005C1B0 80 03 00 08 */ lwz r0, 8(r3) +/* 8005F254 0005C1B4 7C 04 00 00 */ cmpw r4, r0 +/* 8005F258 0005C1B8 40 80 00 30 */ bge lbl_8005F288 +/* 8005F25C 0005C1BC 54 84 18 38 */ slwi r4, r4, 3 +/* 8005F260 0005C1C0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8005F264 0005C1C4 38 04 00 06 */ addi r0, r4, 6 +/* 8005F268 0005C1C8 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8005F26C 0005C1CC 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1 +/* 8005F270 0005C1D0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8005F274 0005C1D4 7C 03 07 74 */ extsb r3, r0 +/* 8005F278 0005C1D8 7C 03 00 D0 */ neg r0, r3 +/* 8005F27C 0005C1DC 7C 00 1B 78 */ or r0, r0, r3 +/* 8005F280 0005C1E0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8005F284 0005C1E4 4E 80 00 20 */ blr +lbl_8005F288: +/* 8005F288 0005C1E8 38 60 00 00 */ li r3, 0 +/* 8005F28C 0005C1EC 4E 80 00 20 */ blr + +.global SetShouldLoadOther__Q29IGameArea4DockFib +SetShouldLoadOther__Q29IGameArea4DockFib: +/* 8005F290 0005C1F0 80 03 00 08 */ lwz r0, 8(r3) +/* 8005F294 0005C1F4 7C 04 00 00 */ cmpw r4, r0 +/* 8005F298 0005C1F8 4C 80 00 20 */ bgelr +/* 8005F29C 0005C1FC 54 84 18 38 */ slwi r4, r4, 3 +/* 8005F2A0 0005C200 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 8005F2A4 0005C204 38 64 00 06 */ addi r3, r4, 6 +/* 8005F2A8 0005C208 7C A4 07 74 */ extsb r4, r5 +/* 8005F2AC 0005C20C 7C 06 18 AE */ lbzx r0, r6, r3 +/* 8005F2B0 0005C210 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8005F2B4 0005C214 7C 06 19 AE */ stbx r0, r6, r3 +/* 8005F2B8 0005C218 4E 80 00 20 */ blr + +.global ShouldLoadOtherArea__Q29IGameArea4DockCFi +ShouldLoadOtherArea__Q29IGameArea4DockCFi: +/* 8005F2BC 0005C21C 80 03 00 08 */ lwz r0, 8(r3) +/* 8005F2C0 0005C220 2C 00 00 00 */ cmpwi r0, 0 +/* 8005F2C4 0005C224 40 82 00 0C */ bne lbl_8005F2D0 +/* 8005F2C8 0005C228 38 60 00 00 */ li r3, 0 +/* 8005F2CC 0005C22C 4E 80 00 20 */ blr +lbl_8005F2D0: +/* 8005F2D0 0005C230 54 84 18 38 */ slwi r4, r4, 3 +/* 8005F2D4 0005C234 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8005F2D8 0005C238 38 04 00 06 */ addi r0, r4, 6 +/* 8005F2DC 0005C23C 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8005F2E0 0005C240 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1 +/* 8005F2E4 0005C244 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8005F2E8 0005C248 7C 03 07 74 */ extsb r3, r0 +/* 8005F2EC 0005C24C 7C 03 00 D0 */ neg r0, r3 +/* 8005F2F0 0005C250 7C 00 1B 78 */ or r0, r0, r3 +/* 8005F2F4 0005C254 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8005F2F8 0005C258 4E 80 00 20 */ blr + +.global GetOtherDockNumber__Q29IGameArea4DockCFi +GetOtherDockNumber__Q29IGameArea4DockCFi: +/* 8005F2FC 0005C25C 80 03 00 08 */ lwz r0, 8(r3) +/* 8005F300 0005C260 2C 00 00 00 */ cmpwi r0, 0 +/* 8005F304 0005C264 40 82 00 0C */ bne lbl_8005F310 +/* 8005F308 0005C268 38 60 FF FF */ li r3, -1 +/* 8005F30C 0005C26C 4E 80 00 20 */ blr +lbl_8005F310: +/* 8005F310 0005C270 54 84 18 38 */ slwi r4, r4, 3 +/* 8005F314 0005C274 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8005F318 0005C278 38 04 00 04 */ addi r0, r4, 4 +/* 8005F31C 0005C27C 7C 63 02 AE */ lhax r3, r3, r0 +/* 8005F320 0005C280 4E 80 00 20 */ blr + +.global GetConnectedAreaId__Q29IGameArea4DockCFi +GetConnectedAreaId__Q29IGameArea4DockCFi: +/* 8005F324 0005C284 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005F328 0005C288 80 04 00 08 */ lwz r0, 8(r4) +/* 8005F32C 0005C28C 2C 00 00 00 */ cmpwi r0, 0 +/* 8005F330 0005C290 40 82 00 14 */ bne lbl_8005F344 +/* 8005F334 0005C294 38 00 FF FF */ li r0, -1 +/* 8005F338 0005C298 38 81 00 08 */ addi r4, r1, 8 +/* 8005F33C 0005C29C 90 01 00 08 */ stw r0, 8(r1) +/* 8005F340 0005C2A0 48 00 00 10 */ b lbl_8005F350 +lbl_8005F344: +/* 8005F344 0005C2A4 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8005F348 0005C2A8 54 A0 18 38 */ slwi r0, r5, 3 +/* 8005F34C 0005C2AC 7C 84 02 14 */ add r4, r4, r0 +lbl_8005F350: +/* 8005F350 0005C2B0 80 04 00 00 */ lwz r0, 0(r4) +/* 8005F354 0005C2B4 90 03 00 00 */ stw r0, 0(r3) +/* 8005F358 0005C2B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005F35C 0005C2BC 4E 80 00 20 */ blr + +.global SetReferenceCount__Q29IGameArea4DockFi +SetReferenceCount__Q29IGameArea4DockFi: +/* 8005F360 0005C2C0 90 83 00 00 */ stw r4, 0(r3) +/* 8005F364 0005C2C4 38 00 00 01 */ li r0, 1 +/* 8005F368 0005C2C8 98 03 00 48 */ stb r0, 0x48(r3) +/* 8005F36C 0005C2CC 4E 80 00 20 */ blr + +.global GetReferenceCount__Q29IGameArea4DockCFv +GetReferenceCount__Q29IGameArea4DockCFv: +/* 8005F370 0005C2D0 80 63 00 00 */ lwz r3, 0(r3) +/* 8005F374 0005C2D4 4E 80 00 20 */ blr + +.global IsReferenced__Q29IGameArea4DockCFv +IsReferenced__Q29IGameArea4DockCFv: +/* 8005F378 0005C2D8 88 63 00 48 */ lbz r3, 0x48(r3) +/* 8005F37C 0005C2DC 4E 80 00 20 */ blr + +.global __ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f +__ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f: +/* 8005F380 0005C2E0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8005F384 0005C2E4 7C 08 02 A6 */ mflr r0 +/* 8005F388 0005C2E8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8005F38C 0005C2EC 38 00 00 00 */ li r0, 0 +/* 8005F390 0005C2F0 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 8005F394 0005C2F4 7C 7B 1B 78 */ mr r27, r3 +/* 8005F398 0005C2F8 7C 9C 23 78 */ mr r28, r4 +/* 8005F39C 0005C2FC 7C BD 2B 78 */ mr r29, r5 +/* 8005F3A0 0005C300 90 03 00 00 */ stw r0, 0(r3) +/* 8005F3A4 0005C304 90 03 00 08 */ stw r0, 8(r3) +/* 8005F3A8 0005C308 7F 83 E3 78 */ mr r3, r28 +/* 8005F3AC 0005C30C 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8005F3B0 0005C310 90 1B 00 10 */ stw r0, 0x10(r27) +/* 8005F3B4 0005C314 90 1B 00 14 */ stw r0, 0x14(r27) +/* 8005F3B8 0005C318 98 1B 00 48 */ stb r0, 0x48(r27) +/* 8005F3BC 0005C31C 48 2D F8 C9 */ bl ReadLong__12CInputStreamFv +/* 8005F3C0 0005C320 7C 7F 1B 78 */ mr r31, r3 +/* 8005F3C4 0005C324 38 7B 00 04 */ addi r3, r27, 4 +/* 8005F3C8 0005C328 7F E4 FB 78 */ mr r4, r31 +/* 8005F3CC 0005C32C 48 00 4A B5 */ bl "reserve__Q24rstl68vectorFi" +/* 8005F3D0 0005C330 3B C0 00 00 */ li r30, 0 +/* 8005F3D4 0005C334 48 00 00 94 */ b lbl_8005F468 +lbl_8005F3D8: +/* 8005F3D8 0005C338 7F 83 E3 78 */ mr r3, r28 +/* 8005F3DC 0005C33C 48 2D F8 A9 */ bl ReadLong__12CInputStreamFv +/* 8005F3E0 0005C340 7C 7A 1B 78 */ mr r26, r3 +/* 8005F3E4 0005C344 7F 83 E3 78 */ mr r3, r28 +/* 8005F3E8 0005C348 48 2D F8 9D */ bl ReadLong__12CInputStreamFv +/* 8005F3EC 0005C34C 80 1B 00 08 */ lwz r0, 8(r27) +/* 8005F3F0 0005C350 38 A0 00 00 */ li r5, 0 +/* 8005F3F4 0005C354 80 DB 00 0C */ lwz r6, 0xc(r27) +/* 8005F3F8 0005C358 A8 81 00 0E */ lha r4, 0xe(r1) +/* 8005F3FC 0005C35C 50 A4 7C 20 */ rlwimi r4, r5, 0xf, 0x10, 0x10 +/* 8005F400 0005C360 7C 00 30 00 */ cmpw r0, r6 +/* 8005F404 0005C364 93 41 00 08 */ stw r26, 8(r1) +/* 8005F408 0005C368 B0 61 00 0C */ sth r3, 0xc(r1) +/* 8005F40C 0005C36C B0 81 00 0E */ sth r4, 0xe(r1) +/* 8005F410 0005C370 41 80 00 1C */ blt lbl_8005F42C +/* 8005F414 0005C374 2C 06 00 00 */ cmpwi r6, 0 +/* 8005F418 0005C378 38 7B 00 04 */ addi r3, r27, 4 +/* 8005F41C 0005C37C 38 80 00 04 */ li r4, 4 +/* 8005F420 0005C380 41 82 00 08 */ beq lbl_8005F428 +/* 8005F424 0005C384 54 C4 08 3C */ slwi r4, r6, 1 +lbl_8005F428: +/* 8005F428 0005C388 48 00 4A 59 */ bl "reserve__Q24rstl68vectorFi" +lbl_8005F42C: +/* 8005F42C 0005C38C 80 1B 00 08 */ lwz r0, 8(r27) +/* 8005F430 0005C390 80 7B 00 10 */ lwz r3, 0x10(r27) +/* 8005F434 0005C394 54 00 18 38 */ slwi r0, r0, 3 +/* 8005F438 0005C398 7C 83 02 15 */ add. r4, r3, r0 +/* 8005F43C 0005C39C 41 82 00 1C */ beq lbl_8005F458 +/* 8005F440 0005C3A0 80 01 00 08 */ lwz r0, 8(r1) +/* 8005F444 0005C3A4 A8 61 00 0C */ lha r3, 0xc(r1) +/* 8005F448 0005C3A8 90 04 00 00 */ stw r0, 0(r4) +/* 8005F44C 0005C3AC A8 01 00 0E */ lha r0, 0xe(r1) +/* 8005F450 0005C3B0 B0 64 00 04 */ sth r3, 4(r4) +/* 8005F454 0005C3B4 B0 04 00 06 */ sth r0, 6(r4) +lbl_8005F458: +/* 8005F458 0005C3B8 80 7B 00 08 */ lwz r3, 8(r27) +/* 8005F45C 0005C3BC 3B DE 00 01 */ addi r30, r30, 1 +/* 8005F460 0005C3C0 38 03 00 01 */ addi r0, r3, 1 +/* 8005F464 0005C3C4 90 1B 00 08 */ stw r0, 8(r27) +lbl_8005F468: +/* 8005F468 0005C3C8 7C 1E F8 00 */ cmpw r30, r31 +/* 8005F46C 0005C3CC 41 80 FF 6C */ blt lbl_8005F3D8 +/* 8005F470 0005C3D0 7F 83 E3 78 */ mr r3, r28 +/* 8005F474 0005C3D4 48 2D F8 11 */ bl ReadLong__12CInputStreamFv +/* 8005F478 0005C3D8 7C 7E 1B 78 */ mr r30, r3 +/* 8005F47C 0005C3DC 3B 5B 00 14 */ addi r26, r27, 0x14 +/* 8005F480 0005C3E0 3B E0 00 00 */ li r31, 0 +/* 8005F484 0005C3E4 48 00 00 5C */ b lbl_8005F4E0 +lbl_8005F488: +/* 8005F488 0005C3E8 7F 84 E3 78 */ mr r4, r28 +/* 8005F48C 0005C3EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8005F490 0005C3F0 48 2B 56 FD */ bl __ct__9CVector3fFR12CInputStream +/* 8005F494 0005C3F4 7C 65 1B 78 */ mr r5, r3 +/* 8005F498 0005C3F8 7F A4 EB 78 */ mr r4, r29 +/* 8005F49C 0005C3FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8005F4A0 0005C400 48 2B 36 49 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8005F4A4 0005C404 80 1A 00 00 */ lwz r0, 0(r26) +/* 8005F4A8 0005C408 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005F4AC 0005C40C 7C 7A 02 14 */ add r3, r26, r0 +/* 8005F4B0 0005C410 34 63 00 04 */ addic. r3, r3, 4 +/* 8005F4B4 0005C414 41 82 00 1C */ beq lbl_8005F4D0 +/* 8005F4B8 0005C418 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8005F4BC 0005C41C D0 03 00 00 */ stfs f0, 0(r3) +/* 8005F4C0 0005C420 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8005F4C4 0005C424 D0 03 00 04 */ stfs f0, 4(r3) +/* 8005F4C8 0005C428 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8005F4CC 0005C42C D0 03 00 08 */ stfs f0, 8(r3) +lbl_8005F4D0: +/* 8005F4D0 0005C430 80 7B 00 14 */ lwz r3, 0x14(r27) +/* 8005F4D4 0005C434 3B FF 00 01 */ addi r31, r31, 1 +/* 8005F4D8 0005C438 38 03 00 01 */ addi r0, r3, 1 +/* 8005F4DC 0005C43C 90 1B 00 14 */ stw r0, 0x14(r27) +lbl_8005F4E0: +/* 8005F4E0 0005C440 7C 1F F0 00 */ cmpw r31, r30 +/* 8005F4E4 0005C444 41 80 FF A4 */ blt lbl_8005F488 +/* 8005F4E8 0005C448 7F 63 DB 78 */ mr r3, r27 +/* 8005F4EC 0005C44C BB 41 00 28 */ lmw r26, 0x28(r1) +/* 8005F4F0 0005C450 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8005F4F4 0005C454 7C 08 03 A6 */ mtlr r0 +/* 8005F4F8 0005C458 38 21 00 40 */ addi r1, r1, 0x40 +/* 8005F4FC 0005C45C 4E 80 00 20 */ blr + +.global OtherAreaOcclusionChanged__9CGameAreaFv +OtherAreaOcclusionChanged__9CGameAreaFv: +/* 8005F500 0005C460 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005F504 0005C464 7C 08 02 A6 */ mflr r0 +/* 8005F508 0005C468 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005F50C 0005C46C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005F510 0005C470 93 C1 00 08 */ stw r30, 8(r1) +/* 8005F514 0005C474 7C 7E 1B 78 */ mr r30, r3 +/* 8005F518 0005C478 80 83 01 2C */ lwz r4, 0x12c(r3) +/* 8005F51C 0005C47C 80 04 10 E0 */ lwz r0, 0x10e0(r4) +/* 8005F520 0005C480 2C 00 00 03 */ cmpwi r0, 3 +/* 8005F524 0005C484 40 82 00 4C */ bne lbl_8005F570 +/* 8005F528 0005C488 80 04 10 DC */ lwz r0, 0x10dc(r4) +/* 8005F52C 0005C48C 2C 00 00 00 */ cmpwi r0, 0 +/* 8005F530 0005C490 40 82 00 40 */ bne lbl_8005F570 +/* 8005F534 0005C494 48 00 10 D1 */ bl UnloadAllloadedTextures__9CGameAreaFv +/* 8005F538 0005C498 7C 7F 1B 78 */ mr r31, r3 +/* 8005F53C 0005C49C 7F C3 F3 78 */ mr r3, r30 +/* 8005F540 0005C4A0 48 00 03 81 */ bl TransferTokensToARAM__9CGameAreaFv +/* 8005F544 0005C4A4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8005F548 0005C4A8 38 80 00 00 */ li r4, 0 +/* 8005F54C 0005C4AC 41 82 00 10 */ beq lbl_8005F55C +/* 8005F550 0005C4B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005F554 0005C4B4 41 82 00 08 */ beq lbl_8005F55C +/* 8005F558 0005C4B8 38 80 00 01 */ li r4, 1 +lbl_8005F55C: +/* 8005F55C 0005C4BC 80 7E 01 2C */ lwz r3, 0x12c(r30) +/* 8005F560 0005C4C0 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 8005F564 0005C4C4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8005F568 0005C4C8 98 03 11 08 */ stb r0, 0x1108(r3) +/* 8005F56C 0005C4CC 48 00 00 18 */ b lbl_8005F584 +lbl_8005F570: +/* 8005F570 0005C4D0 80 04 10 DC */ lwz r0, 0x10dc(r4) +/* 8005F574 0005C4D4 2C 00 00 01 */ cmpwi r0, 1 +/* 8005F578 0005C4D8 40 82 00 0C */ bne lbl_8005F584 +/* 8005F57C 0005C4DC 7F C3 F3 78 */ mr r3, r30 +/* 8005F580 0005C4E0 48 00 11 4D */ bl ReloadAllUnloadedTextures__9CGameAreaFv +lbl_8005F584: +/* 8005F584 0005C4E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005F588 0005C4E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005F58C 0005C4EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005F590 0005C4F0 7C 08 03 A6 */ mtlr r0 +/* 8005F594 0005C4F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005F598 0005C4F8 4E 80 00 20 */ blr + +.global PingOcclusionState__9CGameAreaFv +PingOcclusionState__9CGameAreaFv: +/* 8005F59C 0005C4FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005F5A0 0005C500 7C 08 02 A6 */ mflr r0 +/* 8005F5A4 0005C504 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005F5A8 0005C508 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005F5AC 0005C50C 93 C1 00 08 */ stw r30, 8(r1) +/* 8005F5B0 0005C510 7C 7E 1B 78 */ mr r30, r3 +/* 8005F5B4 0005C514 80 A3 01 2C */ lwz r5, 0x12c(r3) +/* 8005F5B8 0005C518 80 05 10 DC */ lwz r0, 0x10dc(r5) +/* 8005F5BC 0005C51C 2C 00 00 00 */ cmpwi r0, 0 +/* 8005F5C0 0005C520 40 82 00 68 */ bne lbl_8005F628 +/* 8005F5C4 0005C524 80 85 10 E0 */ lwz r4, 0x10e0(r5) +/* 8005F5C8 0005C528 2C 04 00 02 */ cmpwi r4, 2 +/* 8005F5CC 0005C52C 40 80 00 10 */ bge lbl_8005F5DC +/* 8005F5D0 0005C530 38 04 00 01 */ addi r0, r4, 1 +/* 8005F5D4 0005C534 90 05 10 E0 */ stw r0, 0x10e0(r5) +/* 8005F5D8 0005C538 48 00 00 64 */ b lbl_8005F63C +lbl_8005F5DC: +/* 8005F5DC 0005C53C 38 00 00 03 */ li r0, 3 +/* 8005F5E0 0005C540 90 05 10 E0 */ stw r0, 0x10e0(r5) +/* 8005F5E4 0005C544 80 9E 01 2C */ lwz r4, 0x12c(r30) +/* 8005F5E8 0005C548 88 04 11 08 */ lbz r0, 0x1108(r4) +/* 8005F5EC 0005C54C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8005F5F0 0005C550 40 82 00 38 */ bne lbl_8005F628 +/* 8005F5F4 0005C554 48 00 10 11 */ bl UnloadAllloadedTextures__9CGameAreaFv +/* 8005F5F8 0005C558 7C 7F 1B 78 */ mr r31, r3 +/* 8005F5FC 0005C55C 7F C3 F3 78 */ mr r3, r30 +/* 8005F600 0005C560 48 00 02 C1 */ bl TransferTokensToARAM__9CGameAreaFv +/* 8005F604 0005C564 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8005F608 0005C568 41 82 00 20 */ beq lbl_8005F628 +/* 8005F60C 0005C56C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005F610 0005C570 41 82 00 18 */ beq lbl_8005F628 +/* 8005F614 0005C574 80 7E 01 2C */ lwz r3, 0x12c(r30) +/* 8005F618 0005C578 38 80 00 01 */ li r4, 1 +/* 8005F61C 0005C57C 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 8005F620 0005C580 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8005F624 0005C584 98 03 11 08 */ stb r0, 0x1108(r3) +lbl_8005F628: +/* 8005F628 0005C588 80 7E 01 2C */ lwz r3, 0x12c(r30) +/* 8005F62C 0005C58C 38 80 00 01 */ li r4, 1 +/* 8005F630 0005C590 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 8005F634 0005C594 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8005F638 0005C598 98 03 11 08 */ stb r0, 0x1108(r3) +lbl_8005F63C: +/* 8005F63C 0005C59C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005F640 0005C5A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005F644 0005C5A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8005F648 0005C5A8 7C 08 03 A6 */ mtlr r0 +/* 8005F64C 0005C5AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005F650 0005C5B0 4E 80 00 20 */ blr + +.global PreRender__9CGameAreaFv +PreRender__9CGameAreaFv: +/* 8005F654 0005C5B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005F658 0005C5B8 7C 08 02 A6 */ mflr r0 +/* 8005F65C 0005C5BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005F660 0005C5C0 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8005F664 0005C5C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005F668 0005C5C8 41 82 00 28 */ beq lbl_8005F690 +/* 8005F66C 0005C5CC 80 A3 01 2C */ lwz r5, 0x12c(r3) +/* 8005F670 0005C5D0 88 85 11 08 */ lbz r4, 0x1108(r5) +/* 8005F674 0005C5D4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 8005F678 0005C5D8 41 82 00 14 */ beq lbl_8005F68C +/* 8005F67C 0005C5DC 38 00 00 00 */ li r0, 0 +/* 8005F680 0005C5E0 50 04 1F 38 */ rlwimi r4, r0, 3, 0x1c, 0x1c +/* 8005F684 0005C5E4 98 85 11 08 */ stb r4, 0x1108(r5) +/* 8005F688 0005C5E8 48 00 00 08 */ b lbl_8005F690 +lbl_8005F68C: +/* 8005F68C 0005C5EC 4B FF FF 11 */ bl PingOcclusionState__9CGameAreaFv +lbl_8005F690: +/* 8005F690 0005C5F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005F694 0005C5F4 7C 08 03 A6 */ mtlr r0 +/* 8005F698 0005C5F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005F69C 0005C5FC 4E 80 00 20 */ blr + +.global AliveUpdate__9CGameAreaFf +AliveUpdate__9CGameAreaFf: +/* 8005F6A0 0005C600 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8005F6A4 0005C604 7C 08 02 A6 */ mflr r0 +/* 8005F6A8 0005C608 90 01 00 24 */ stw r0, 0x24(r1) +/* 8005F6AC 0005C60C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8005F6B0 0005C610 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8005F6B4 0005C614 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005F6B8 0005C618 7C 7F 1B 78 */ mr r31, r3 +/* 8005F6BC 0005C61C FF E0 08 90 */ fmr f31, f1 +/* 8005F6C0 0005C620 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005F6C4 0005C624 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 8005F6C8 0005C628 2C 00 00 00 */ cmpwi r0, 0 +/* 8005F6CC 0005C62C 40 82 00 14 */ bne lbl_8005F6E0 +/* 8005F6D0 0005C630 C0 03 10 E4 */ lfs f0, 0x10e4(r3) +/* 8005F6D4 0005C634 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8005F6D8 0005C638 D0 03 10 E4 */ stfs f0, 0x10e4(r3) +/* 8005F6DC 0005C63C 48 00 00 0C */ b lbl_8005F6E8 +lbl_8005F6E0: +/* 8005F6E0 0005C640 C0 02 87 00 */ lfs f0, lbl_805AA420@sda21(r2) +/* 8005F6E4 0005C644 D0 03 10 E4 */ stfs f0, 0x10e4(r3) +lbl_8005F6E8: +/* 8005F6E8 0005C648 FC 20 F8 90 */ fmr f1, f31 +/* 8005F6EC 0005C64C 7F E3 FB 78 */ mr r3, r31 +/* 8005F6F0 0005C650 4B FF F8 25 */ bl UpdateFog__9CGameAreaFf +/* 8005F6F4 0005C654 FC 20 F8 90 */ fmr f1, f31 +/* 8005F6F8 0005C658 7F E3 FB 78 */ mr r3, r31 +/* 8005F6FC 0005C65C 4B FF EA 79 */ bl UpdateThermalVisor__9CGameAreaFf +/* 8005F700 0005C660 FC 20 F8 90 */ fmr f1, f31 +/* 8005F704 0005C664 7F E3 FB 78 */ mr r3, r31 +/* 8005F708 0005C668 4B FF E8 91 */ bl UpdateWeaponWorldLighting__9CGameAreaFf +/* 8005F70C 0005C66C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8005F710 0005C670 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8005F714 0005C674 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8005F718 0005C678 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005F71C 0005C67C 7C 08 03 A6 */ mtlr r0 +/* 8005F720 0005C680 38 21 00 20 */ addi r1, r1, 0x20 +/* 8005F724 0005C684 4E 80 00 20 */ blr + +.global SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState +SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState: +/* 8005F728 0005C688 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005F72C 0005C68C 7C 08 02 A6 */ mflr r0 +/* 8005F730 0005C690 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005F734 0005C694 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005F738 0005C698 7C 7F 1B 78 */ mr r31, r3 +/* 8005F73C 0005C69C 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8005F740 0005C6A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005F744 0005C6A4 41 82 00 54 */ beq lbl_8005F798 +/* 8005F748 0005C6A8 80 DF 01 2C */ lwz r6, 0x12c(r31) +/* 8005F74C 0005C6AC 80 06 10 DC */ lwz r0, 0x10dc(r6) +/* 8005F750 0005C6B0 7C 04 00 00 */ cmpw r4, r0 +/* 8005F754 0005C6B4 41 82 00 44 */ beq lbl_8005F798 +/* 8005F758 0005C6B8 2C 04 00 00 */ cmpwi r4, 0 +/* 8005F75C 0005C6BC 40 82 00 30 */ bne lbl_8005F78C +/* 8005F760 0005C6C0 88 06 11 08 */ lbz r0, 0x1108(r6) +/* 8005F764 0005C6C4 38 80 00 01 */ li r4, 1 +/* 8005F768 0005C6C8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8005F76C 0005C6CC 38 A0 00 00 */ li r5, 0 +/* 8005F770 0005C6D0 98 06 11 08 */ stb r0, 0x1108(r6) +/* 8005F774 0005C6D4 80 9F 01 2C */ lwz r4, 0x12c(r31) +/* 8005F778 0005C6D8 88 04 11 08 */ lbz r0, 0x1108(r4) +/* 8005F77C 0005C6DC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8005F780 0005C6E0 98 04 11 08 */ stb r0, 0x1108(r4) +/* 8005F784 0005C6E4 48 00 00 29 */ bl RemoveStaticGeometry__9CGameAreaFv +/* 8005F788 0005C6E8 48 00 00 10 */ b lbl_8005F798 +lbl_8005F78C: +/* 8005F78C 0005C6EC 48 00 0F 41 */ bl ReloadAllUnloadedTextures__9CGameAreaFv +/* 8005F790 0005C6F0 7F E3 FB 78 */ mr r3, r31 +/* 8005F794 0005C6F4 48 00 00 89 */ bl AddStaticGeometry__9CGameAreaFv +lbl_8005F798: +/* 8005F798 0005C6F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005F79C 0005C6FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005F7A0 0005C700 7C 08 03 A6 */ mtlr r0 +/* 8005F7A4 0005C704 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005F7A8 0005C708 4E 80 00 20 */ blr + +.global RemoveStaticGeometry__9CGameAreaFv +RemoveStaticGeometry__9CGameAreaFv: +/* 8005F7AC 0005C70C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005F7B0 0005C710 7C 08 02 A6 */ mflr r0 +/* 8005F7B4 0005C714 7C 64 1B 78 */ mr r4, r3 +/* 8005F7B8 0005C718 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005F7BC 0005C71C 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8005F7C0 0005C720 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005F7C4 0005C724 41 82 00 48 */ beq lbl_8005F80C +/* 8005F7C8 0005C728 80 64 01 2C */ lwz r3, 0x12c(r4) +/* 8005F7CC 0005C72C 28 03 00 00 */ cmplwi r3, 0 +/* 8005F7D0 0005C730 41 82 00 3C */ beq lbl_8005F80C +/* 8005F7D4 0005C734 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 8005F7D8 0005C738 2C 00 00 00 */ cmpwi r0, 0 +/* 8005F7DC 0005C73C 41 82 00 30 */ beq lbl_8005F80C +/* 8005F7E0 0005C740 38 00 00 00 */ li r0, 0 +/* 8005F7E4 0005C744 90 03 10 E0 */ stw r0, 0x10e0(r3) +/* 8005F7E8 0005C748 80 64 01 2C */ lwz r3, 0x12c(r4) +/* 8005F7EC 0005C74C 90 03 10 DC */ stw r0, 0x10dc(r3) +/* 8005F7F0 0005C750 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8005F7F4 0005C754 80 84 01 2C */ lwz r4, 0x12c(r4) +/* 8005F7F8 0005C758 81 83 00 00 */ lwz r12, 0(r3) +/* 8005F7FC 0005C75C 38 84 00 4C */ addi r4, r4, 0x4c +/* 8005F800 0005C760 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8005F804 0005C764 7D 89 03 A6 */ mtctr r12 +/* 8005F808 0005C768 4E 80 04 21 */ bctrl +lbl_8005F80C: +/* 8005F80C 0005C76C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005F810 0005C770 7C 08 03 A6 */ mtlr r0 +/* 8005F814 0005C774 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005F818 0005C778 4E 80 00 20 */ blr + +.global AddStaticGeometry__9CGameAreaFv +AddStaticGeometry__9CGameAreaFv: +/* 8005F81C 0005C77C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8005F820 0005C780 7C 08 02 A6 */ mflr r0 +/* 8005F824 0005C784 90 01 00 14 */ stw r0, 0x14(r1) +/* 8005F828 0005C788 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8005F82C 0005C78C 7C 7F 1B 78 */ mr r31, r3 +/* 8005F830 0005C790 80 A3 01 2C */ lwz r5, 0x12c(r3) +/* 8005F834 0005C794 80 05 10 DC */ lwz r0, 0x10dc(r5) +/* 8005F838 0005C798 2C 00 00 01 */ cmpwi r0, 1 +/* 8005F83C 0005C79C 41 82 00 70 */ beq lbl_8005F8AC +/* 8005F840 0005C7A0 38 80 00 00 */ li r4, 0 +/* 8005F844 0005C7A4 38 00 00 01 */ li r0, 1 +/* 8005F848 0005C7A8 90 85 10 E0 */ stw r4, 0x10e0(r5) +/* 8005F84C 0005C7AC 38 80 00 00 */ li r4, 0 +/* 8005F850 0005C7B0 80 BF 01 2C */ lwz r5, 0x12c(r31) +/* 8005F854 0005C7B4 90 05 10 DC */ stw r0, 0x10dc(r5) +/* 8005F858 0005C7B8 48 00 01 BD */ bl TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer +/* 8005F85C 0005C7BC 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 8005F860 0005C7C0 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 8005F864 0005C7C4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8005F868 0005C7C8 40 82 00 0C */ bne lbl_8005F874 +/* 8005F86C 0005C7CC 7F E3 FB 78 */ mr r3, r31 +/* 8005F870 0005C7D0 48 00 2C D9 */ bl FillInStaticGeometry__9CGameAreaFv +lbl_8005F874: +/* 8005F874 0005C7D4 80 9F 01 2C */ lwz r4, 0x12c(r31) +/* 8005F878 0005C7D8 80 DF 00 04 */ lwz r6, 4(r31) +/* 8005F87C 0005C7DC 88 04 00 48 */ lbz r0, 0x48(r4) +/* 8005F880 0005C7E0 28 00 00 00 */ cmplwi r0, 0 +/* 8005F884 0005C7E4 41 82 00 0C */ beq lbl_8005F890 +/* 8005F888 0005C7E8 38 A4 00 0C */ addi r5, r4, 0xc +/* 8005F88C 0005C7EC 48 00 00 08 */ b lbl_8005F894 +lbl_8005F890: +/* 8005F890 0005C7F0 38 A0 00 00 */ li r5, 0 +lbl_8005F894: +/* 8005F894 0005C7F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8005F898 0005C7F8 38 84 00 4C */ addi r4, r4, 0x4c +/* 8005F89C 0005C7FC 81 83 00 00 */ lwz r12, 0(r3) +/* 8005F8A0 0005C800 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8005F8A4 0005C804 7D 89 03 A6 */ mtctr r12 +/* 8005F8A8 0005C808 4E 80 04 21 */ bctrl +lbl_8005F8AC: +/* 8005F8AC 0005C80C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8005F8B0 0005C810 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8005F8B4 0005C814 7C 08 03 A6 */ mtlr r0 +/* 8005F8B8 0005C818 38 21 00 10 */ addi r1, r1, 0x10 +/* 8005F8BC 0005C81C 4E 80 00 20 */ blr + +.global TransferTokensToARAM__9CGameAreaFv +TransferTokensToARAM__9CGameAreaFv: +/* 8005F8C0 0005C820 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8005F8C4 0005C824 7C 08 02 A6 */ mflr r0 +/* 8005F8C8 0005C828 90 01 00 44 */ stw r0, 0x44(r1) +/* 8005F8CC 0005C82C 38 00 00 00 */ li r0, 0 +/* 8005F8D0 0005C830 BE E1 00 1C */ stmw r23, 0x1c(r1) +/* 8005F8D4 0005C834 7C 7B 1B 78 */ mr r27, r3 +/* 8005F8D8 0005C838 3B E1 00 08 */ addi r31, r1, 8 +/* 8005F8DC 0005C83C 3B 80 00 01 */ li r28, 1 +/* 8005F8E0 0005C840 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005F8E4 0005C844 80 83 10 E8 */ lwz r4, 0x10e8(r3) +/* 8005F8E8 0005C848 83 C3 10 FC */ lwz r30, 0x10fc(r3) +/* 8005F8EC 0005C84C 1F A4 00 0C */ mulli r29, r4, 0xc +/* 8005F8F0 0005C850 98 01 00 08 */ stb r0, 8(r1) +/* 8005F8F4 0005C854 90 01 00 0C */ stw r0, 0xc(r1) +/* 8005F8F8 0005C858 48 00 00 B4 */ b lbl_8005F9AC +lbl_8005F8FC: +/* 8005F8FC 0005C85C 7F B8 EB 78 */ mr r24, r29 +/* 8005F900 0005C860 3A E0 00 00 */ li r23, 0 +/* 8005F904 0005C864 3B 40 00 00 */ li r26, 0 +/* 8005F908 0005C868 48 00 00 48 */ b lbl_8005F950 +lbl_8005F90C: +/* 8005F90C 0005C86C 80 1B 01 1C */ lwz r0, 0x11c(r27) +/* 8005F910 0005C870 7F 20 C2 14 */ add r25, r0, r24 +/* 8005F914 0005C874 7C 1F C8 40 */ cmplw r31, r25 +/* 8005F918 0005C878 41 82 00 2C */ beq lbl_8005F944 +/* 8005F91C 0005C87C 88 19 00 00 */ lbz r0, 0(r25) +/* 8005F920 0005C880 28 00 00 00 */ cmplwi r0, 0 +/* 8005F924 0005C884 41 82 00 0C */ beq lbl_8005F930 +/* 8005F928 0005C888 80 79 00 04 */ lwz r3, 4(r25) +/* 8005F92C 0005C88C 48 2B 60 05 */ bl Free__7CMemoryFPCv +lbl_8005F930: +/* 8005F930 0005C890 88 01 00 08 */ lbz r0, 8(r1) +/* 8005F934 0005C894 98 19 00 00 */ stb r0, 0(r25) +/* 8005F938 0005C898 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8005F93C 0005C89C 90 19 00 04 */ stw r0, 4(r25) +/* 8005F940 0005C8A0 9B 41 00 08 */ stb r26, 8(r1) +lbl_8005F944: +/* 8005F944 0005C8A4 3B 18 00 0C */ addi r24, r24, 0xc +/* 8005F948 0005C8A8 3B BD 00 0C */ addi r29, r29, 0xc +/* 8005F94C 0005C8AC 3A F7 00 01 */ addi r23, r23, 1 +lbl_8005F950: +/* 8005F950 0005C8B0 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 8005F954 0005C8B4 7C 17 00 00 */ cmpw r23, r0 +/* 8005F958 0005C8B8 41 80 FF B4 */ blt lbl_8005F90C +/* 8005F95C 0005C8BC 82 FE 00 00 */ lwz r23, 0(r30) +/* 8005F960 0005C8C0 7F C3 F3 78 */ mr r3, r30 +/* 8005F964 0005C8C4 48 2F 8D 15 */ bl LoadToARAM__10CARAMTokenFv +/* 8005F968 0005C8C8 2C 17 00 01 */ cmpwi r23, 1 +/* 8005F96C 0005C8CC 40 82 00 24 */ bne lbl_8005F990 +/* 8005F970 0005C8D0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8005F974 0005C8D4 2C 00 00 01 */ cmpwi r0, 1 +/* 8005F978 0005C8D8 41 82 00 18 */ beq lbl_8005F990 +/* 8005F97C 0005C8DC 80 9B 01 2C */ lwz r4, 0x12c(r27) +/* 8005F980 0005C8E0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8005F984 0005C8E4 80 64 11 00 */ lwz r3, 0x1100(r4) +/* 8005F988 0005C8E8 7C 03 02 14 */ add r0, r3, r0 +/* 8005F98C 0005C8EC 90 04 11 00 */ stw r0, 0x1100(r4) +lbl_8005F990: +/* 8005F990 0005C8F0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8005F994 0005C8F4 2C 00 00 02 */ cmpwi r0, 2 +/* 8005F998 0005C8F8 41 80 00 10 */ blt lbl_8005F9A8 +/* 8005F99C 0005C8FC 2C 00 00 05 */ cmpwi r0, 5 +/* 8005F9A0 0005C900 41 81 00 08 */ bgt lbl_8005F9A8 +/* 8005F9A4 0005C904 3B 80 00 00 */ li r28, 0 +lbl_8005F9A8: +/* 8005F9A8 0005C908 3B DE 00 24 */ addi r30, r30, 0x24 +lbl_8005F9AC: +/* 8005F9AC 0005C90C 80 BB 01 2C */ lwz r5, 0x12c(r27) +/* 8005F9B0 0005C910 80 05 10 F4 */ lwz r0, 0x10f4(r5) +/* 8005F9B4 0005C914 80 65 10 FC */ lwz r3, 0x10fc(r5) +/* 8005F9B8 0005C918 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8005F9BC 0005C91C 7C 03 02 14 */ add r0, r3, r0 +/* 8005F9C0 0005C920 7C 1E 00 40 */ cmplw r30, r0 +/* 8005F9C4 0005C924 40 82 FF 38 */ bne lbl_8005F8FC +/* 8005F9C8 0005C928 88 05 11 08 */ lbz r0, 0x1108(r5) +/* 8005F9CC 0005C92C 38 80 00 00 */ li r4, 0 +/* 8005F9D0 0005C930 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8005F9D4 0005C934 98 05 11 08 */ stb r0, 0x1108(r5) +/* 8005F9D8 0005C938 80 7B 01 2C */ lwz r3, 0x12c(r27) +/* 8005F9DC 0005C93C 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 8005F9E0 0005C940 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8005F9E4 0005C944 98 03 11 08 */ stb r0, 0x1108(r3) +/* 8005F9E8 0005C948 88 01 00 08 */ lbz r0, 8(r1) +/* 8005F9EC 0005C94C 28 00 00 00 */ cmplwi r0, 0 +/* 8005F9F0 0005C950 41 82 00 0C */ beq lbl_8005F9FC +/* 8005F9F4 0005C954 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8005F9F8 0005C958 48 2B 5F 39 */ bl Free__7CMemoryFPCv +lbl_8005F9FC: +/* 8005F9FC 0005C95C 7F 83 E3 78 */ mr r3, r28 +/* 8005FA00 0005C960 BA E1 00 1C */ lmw r23, 0x1c(r1) +/* 8005FA04 0005C964 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8005FA08 0005C968 7C 08 03 A6 */ mtlr r0 +/* 8005FA0C 0005C96C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8005FA10 0005C970 4E 80 00 20 */ blr + +.global TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer +TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer: +/* 8005FA14 0005C974 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8005FA18 0005C978 7C 08 02 A6 */ mflr r0 +/* 8005FA1C 0005C97C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8005FA20 0005C980 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 8005FA24 0005C984 7C 77 1B 78 */ mr r23, r3 +/* 8005FA28 0005C988 7C 98 23 78 */ mr r24, r4 +/* 8005FA2C 0005C98C 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8005FA30 0005C990 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 8005FA34 0005C994 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005FA38 0005C998 41 82 00 0C */ beq lbl_8005FA44 +/* 8005FA3C 0005C99C 38 60 00 01 */ li r3, 1 +/* 8005FA40 0005C9A0 48 00 01 3C */ b lbl_8005FB7C +lbl_8005FA44: +/* 8005FA44 0005C9A4 80 03 10 E8 */ lwz r0, 0x10e8(r3) +/* 8005FA48 0005C9A8 3B 60 00 01 */ li r27, 1 +/* 8005FA4C 0005C9AC 83 C3 10 FC */ lwz r30, 0x10fc(r3) +/* 8005FA50 0005C9B0 1F 80 00 0C */ mulli r28, r0, 0xc +/* 8005FA54 0005C9B4 48 00 00 FC */ b lbl_8005FB50 +lbl_8005FA58: +/* 8005FA58 0005C9B8 80 1E 00 00 */ lwz r0, 0(r30) +/* 8005FA5C 0005C9BC 2C 00 00 01 */ cmpwi r0, 1 +/* 8005FA60 0005C9C0 41 82 00 14 */ beq lbl_8005FA74 +/* 8005FA64 0005C9C4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8005FA68 0005C9C8 80 04 11 00 */ lwz r0, 0x1100(r4) +/* 8005FA6C 0005C9CC 7C 03 00 50 */ subf r0, r3, r0 +/* 8005FA70 0005C9D0 90 04 11 00 */ stw r0, 0x1100(r4) +lbl_8005FA74: +/* 8005FA74 0005C9D4 2C 18 00 01 */ cmpwi r24, 1 +/* 8005FA78 0005C9D8 40 82 00 1C */ bne lbl_8005FA94 +/* 8005FA7C 0005C9DC 7F C3 F3 78 */ mr r3, r30 +/* 8005FA80 0005C9E0 48 2F 8C ED */ bl LoadToMRAM__10CARAMTokenFv +/* 8005FA84 0005C9E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8005FA88 0005C9E8 40 82 00 0C */ bne lbl_8005FA94 +/* 8005FA8C 0005C9EC 3B 60 00 00 */ li r27, 0 +/* 8005FA90 0005C9F0 48 00 00 BC */ b lbl_8005FB4C +lbl_8005FA94: +/* 8005FA94 0005C9F4 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8005FA98 0005C9F8 41 82 00 B4 */ beq lbl_8005FB4C +/* 8005FA9C 0005C9FC 7F C3 F3 78 */ mr r3, r30 +/* 8005FAA0 0005CA00 48 2F 88 95 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8005FAA4 0005CA04 7C 7F 1B 78 */ mr r31, r3 +/* 8005FAA8 0005CA08 7F 9D E3 78 */ mr r29, r28 +/* 8005FAAC 0005CA0C 3A C1 00 08 */ addi r22, r1, 8 +/* 8005FAB0 0005CA10 3B 40 00 00 */ li r26, 0 +/* 8005FAB4 0005CA14 3B 20 00 00 */ li r25, 0 +/* 8005FAB8 0005CA18 48 00 00 88 */ b lbl_8005FB40 +lbl_8005FABC: +/* 8005FABC 0005CA1C 7C 9F D2 14 */ add r4, r31, r26 +/* 8005FAC0 0005CA20 38 00 00 00 */ li r0, 0 +/* 8005FAC4 0005CA24 7C 64 00 D0 */ neg r3, r4 +/* 8005FAC8 0005CA28 90 81 00 0C */ stw r4, 0xc(r1) +/* 8005FACC 0005CA2C 7C 63 23 78 */ or r3, r3, r4 +/* 8005FAD0 0005CA30 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8005FAD4 0005CA34 98 61 00 08 */ stb r3, 8(r1) +/* 8005FAD8 0005CA38 98 01 00 08 */ stb r0, 8(r1) +/* 8005FADC 0005CA3C 80 17 01 1C */ lwz r0, 0x11c(r23) +/* 8005FAE0 0005CA40 7E A0 EA 14 */ add r21, r0, r29 +/* 8005FAE4 0005CA44 80 15 00 08 */ lwz r0, 8(r21) +/* 8005FAE8 0005CA48 7C 16 A8 40 */ cmplw r22, r21 +/* 8005FAEC 0005CA4C 7F 5A 02 14 */ add r26, r26, r0 +/* 8005FAF0 0005CA50 41 82 00 30 */ beq lbl_8005FB20 +/* 8005FAF4 0005CA54 88 15 00 00 */ lbz r0, 0(r21) +/* 8005FAF8 0005CA58 28 00 00 00 */ cmplwi r0, 0 +/* 8005FAFC 0005CA5C 41 82 00 0C */ beq lbl_8005FB08 +/* 8005FB00 0005CA60 80 75 00 04 */ lwz r3, 4(r21) +/* 8005FB04 0005CA64 48 2B 5E 2D */ bl Free__7CMemoryFPCv +lbl_8005FB08: +/* 8005FB08 0005CA68 88 61 00 08 */ lbz r3, 8(r1) +/* 8005FB0C 0005CA6C 38 00 00 00 */ li r0, 0 +/* 8005FB10 0005CA70 98 75 00 00 */ stb r3, 0(r21) +/* 8005FB14 0005CA74 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8005FB18 0005CA78 90 75 00 04 */ stw r3, 4(r21) +/* 8005FB1C 0005CA7C 98 01 00 08 */ stb r0, 8(r1) +lbl_8005FB20: +/* 8005FB20 0005CA80 88 01 00 08 */ lbz r0, 8(r1) +/* 8005FB24 0005CA84 3B BD 00 0C */ addi r29, r29, 0xc +/* 8005FB28 0005CA88 3B 9C 00 0C */ addi r28, r28, 0xc +/* 8005FB2C 0005CA8C 28 00 00 00 */ cmplwi r0, 0 +/* 8005FB30 0005CA90 41 82 00 0C */ beq lbl_8005FB3C +/* 8005FB34 0005CA94 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8005FB38 0005CA98 48 2B 5D F9 */ bl Free__7CMemoryFPCv +lbl_8005FB3C: +/* 8005FB3C 0005CA9C 3B 39 00 01 */ addi r25, r25, 1 +lbl_8005FB40: +/* 8005FB40 0005CAA0 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 8005FB44 0005CAA4 7C 19 00 00 */ cmpw r25, r0 +/* 8005FB48 0005CAA8 41 80 FF 74 */ blt lbl_8005FABC +lbl_8005FB4C: +/* 8005FB4C 0005CAAC 3B DE 00 24 */ addi r30, r30, 0x24 +lbl_8005FB50: +/* 8005FB50 0005CAB0 80 97 01 2C */ lwz r4, 0x12c(r23) +/* 8005FB54 0005CAB4 80 04 10 F4 */ lwz r0, 0x10f4(r4) +/* 8005FB58 0005CAB8 80 64 10 FC */ lwz r3, 0x10fc(r4) +/* 8005FB5C 0005CABC 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8005FB60 0005CAC0 7C 03 02 14 */ add r0, r3, r0 +/* 8005FB64 0005CAC4 7C 1E 00 40 */ cmplw r30, r0 +/* 8005FB68 0005CAC8 40 82 FE F0 */ bne lbl_8005FA58 +/* 8005FB6C 0005CACC 88 04 11 08 */ lbz r0, 0x1108(r4) +/* 8005FB70 0005CAD0 53 60 3E 30 */ rlwimi r0, r27, 7, 0x18, 0x18 +/* 8005FB74 0005CAD4 7F 63 DB 78 */ mr r3, r27 +/* 8005FB78 0005CAD8 98 04 11 08 */ stb r0, 0x1108(r4) +lbl_8005FB7C: +/* 8005FB7C 0005CADC BA A1 00 14 */ lmw r21, 0x14(r1) +/* 8005FB80 0005CAE0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8005FB84 0005CAE4 7C 08 03 A6 */ mtlr r0 +/* 8005FB88 0005CAE8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8005FB8C 0005CAEC 4E 80 00 20 */ blr + +.global SetChain__9CGameAreaFP9CGameAreai +SetChain__9CGameAreaFP9CGameAreai: +/* 8005FB90 0005CAF0 80 03 01 38 */ lwz r0, 0x138(r3) +/* 8005FB94 0005CAF4 7C 00 28 00 */ cmpw r0, r5 +/* 8005FB98 0005CAF8 40 82 00 0C */ bne lbl_8005FBA4 +/* 8005FB9C 0005CAFC 7C 03 03 78 */ mr r3, r0 +/* 8005FBA0 0005CB00 4E 80 00 20 */ blr +lbl_8005FBA4: +/* 8005FBA4 0005CB04 80 C3 01 34 */ lwz r6, 0x134(r3) +/* 8005FBA8 0005CB08 28 06 00 00 */ cmplwi r6, 0 +/* 8005FBAC 0005CB0C 41 82 00 0C */ beq lbl_8005FBB8 +/* 8005FBB0 0005CB10 80 03 01 30 */ lwz r0, 0x130(r3) +/* 8005FBB4 0005CB14 90 06 01 30 */ stw r0, 0x130(r6) +lbl_8005FBB8: +/* 8005FBB8 0005CB18 80 C3 01 30 */ lwz r6, 0x130(r3) +/* 8005FBBC 0005CB1C 28 06 00 00 */ cmplwi r6, 0 +/* 8005FBC0 0005CB20 41 82 00 0C */ beq lbl_8005FBCC +/* 8005FBC4 0005CB24 80 03 01 34 */ lwz r0, 0x134(r3) +/* 8005FBC8 0005CB28 90 06 01 34 */ stw r0, 0x134(r6) +lbl_8005FBCC: +/* 8005FBCC 0005CB2C 38 00 00 00 */ li r0, 0 +/* 8005FBD0 0005CB30 28 04 00 00 */ cmplwi r4, 0 +/* 8005FBD4 0005CB34 90 03 01 34 */ stw r0, 0x134(r3) +/* 8005FBD8 0005CB38 90 83 01 30 */ stw r4, 0x130(r3) +/* 8005FBDC 0005CB3C 41 82 00 08 */ beq lbl_8005FBE4 +/* 8005FBE0 0005CB40 90 64 01 34 */ stw r3, 0x134(r4) +lbl_8005FBE4: +/* 8005FBE4 0005CB44 80 03 01 38 */ lwz r0, 0x138(r3) +/* 8005FBE8 0005CB48 90 A3 01 38 */ stw r5, 0x138(r3) +/* 8005FBEC 0005CB4C 7C 03 03 78 */ mr r3, r0 +/* 8005FBF0 0005CB50 4E 80 00 20 */ blr + +.global StartStreamingMainArea__9CGameAreaFv +StartStreamingMainArea__9CGameAreaFv: +/* 8005FBF4 0005CB54 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8005FBF8 0005CB58 7C 08 02 A6 */ mflr r0 +/* 8005FBFC 0005CB5C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8005FC00 0005CB60 BE E1 00 4C */ stmw r23, 0x4c(r1) +/* 8005FC04 0005CB64 7C 7E 1B 78 */ mr r30, r3 +/* 8005FC08 0005CB68 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8005FC0C 0005CB6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8005FC10 0005CB70 41 82 00 0C */ beq lbl_8005FC1C +/* 8005FC14 0005CB74 38 60 00 00 */ li r3, 0 +/* 8005FC18 0005CB78 48 00 04 A4 */ b lbl_800600BC +lbl_8005FC1C: +/* 8005FC1C 0005CB7C 80 1E 00 F4 */ lwz r0, 0xf4(r30) +/* 8005FC20 0005CB80 2C 00 00 02 */ cmpwi r0, 2 +/* 8005FC24 0005CB84 41 82 00 C4 */ beq lbl_8005FCE8 +/* 8005FC28 0005CB88 40 80 00 14 */ bge lbl_8005FC3C +/* 8005FC2C 0005CB8C 2C 00 00 00 */ cmpwi r0, 0 +/* 8005FC30 0005CB90 41 82 00 1C */ beq lbl_8005FC4C +/* 8005FC34 0005CB94 40 80 00 6C */ bge lbl_8005FCA0 +/* 8005FC38 0005CB98 48 00 04 80 */ b lbl_800600B8 +lbl_8005FC3C: +/* 8005FC3C 0005CB9C 2C 00 00 04 */ cmpwi r0, 4 +/* 8005FC40 0005CBA0 41 82 04 60 */ beq lbl_800600A0 +/* 8005FC44 0005CBA4 40 80 04 74 */ bge lbl_800600B8 +/* 8005FC48 0005CBA8 48 00 00 F0 */ b lbl_8005FD38 +lbl_8005FC4C: +/* 8005FC4C 0005CBAC 38 7E 01 10 */ addi r3, r30, 0x110 +/* 8005FC50 0005CBB0 38 80 00 02 */ li r4, 2 +/* 8005FC54 0005CBB4 48 00 49 1D */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" +/* 8005FC58 0005CBB8 7F C3 F3 78 */ mr r3, r30 +/* 8005FC5C 0005CBBC 38 80 00 00 */ li r4, 0 +/* 8005FC60 0005CBC0 38 A0 00 60 */ li r5, 0x60 +/* 8005FC64 0005CBC4 48 00 0B 39 */ bl AllocNewAreaData__9CGameAreaFii +/* 8005FC68 0005CBC8 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 8005FC6C 0005CBCC 38 60 11 40 */ li r3, 0x1140 +/* 8005FC70 0005CBD0 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 8005FC74 0005CBD4 38 A0 00 00 */ li r5, 0 +/* 8005FC78 0005CBD8 48 2B 5B F5 */ bl __nw__FUlPCcPCc +/* 8005FC7C 0005CBDC 7C 64 1B 79 */ or. r4, r3, r3 +/* 8005FC80 0005CBE0 41 82 00 0C */ beq lbl_8005FC8C +/* 8005FC84 0005CBE4 48 00 3B 6D */ bl __ct__Q29CGameArea16CPostConstructedFv +/* 8005FC88 0005CBE8 7C 64 1B 78 */ mr r4, r3 +lbl_8005FC8C: +/* 8005FC8C 0005CBEC 38 7E 01 2C */ addi r3, r30, 0x12c +/* 8005FC90 0005CBF0 48 00 04 41 */ bl sub_800600d0 +/* 8005FC94 0005CBF4 38 00 00 01 */ li r0, 1 +/* 8005FC98 0005CBF8 90 1E 00 F4 */ stw r0, 0xf4(r30) +/* 8005FC9C 0005CBFC 48 00 04 1C */ b lbl_800600B8 +lbl_8005FCA0: +/* 8005FCA0 0005CC00 48 00 10 E1 */ bl CullDeadAreaRequests__9CGameAreaFv +/* 8005FCA4 0005CC04 80 1E 01 0C */ lwz r0, 0x10c(r30) +/* 8005FCA8 0005CC08 2C 00 00 00 */ cmpwi r0, 0 +/* 8005FCAC 0005CC0C 40 82 04 0C */ bne lbl_800600B8 +/* 8005FCB0 0005CC10 7F C3 F3 78 */ mr r3, r30 +/* 8005FCB4 0005CC14 48 00 3D E9 */ bl VerifyHeader__9CGameAreaCFv +/* 8005FCB8 0005CC18 7F C3 F3 78 */ mr r3, r30 +/* 8005FCBC 0005CC1C 48 00 0A D1 */ bl GetNumPartSizes__9CGameAreaCFv +/* 8005FCC0 0005CC20 80 BE 01 1C */ lwz r5, 0x11c(r30) +/* 8005FCC4 0005CC24 54 64 10 3A */ slwi r4, r3, 2 +/* 8005FCC8 0005CC28 38 04 00 1F */ addi r0, r4, 0x1f +/* 8005FCCC 0005CC2C 7F C3 F3 78 */ mr r3, r30 +/* 8005FCD0 0005CC30 80 85 00 08 */ lwz r4, 8(r5) +/* 8005FCD4 0005CC34 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 8005FCD8 0005CC38 48 00 0A C5 */ bl AllocNewAreaData__9CGameAreaFii +/* 8005FCDC 0005CC3C 38 00 00 02 */ li r0, 2 +/* 8005FCE0 0005CC40 90 1E 00 F4 */ stw r0, 0xf4(r30) +/* 8005FCE4 0005CC44 48 00 03 D4 */ b lbl_800600B8 +lbl_8005FCE8: +/* 8005FCE8 0005CC48 48 00 10 99 */ bl CullDeadAreaRequests__9CGameAreaFv +/* 8005FCEC 0005CC4C 80 1E 01 0C */ lwz r0, 0x10c(r30) +/* 8005FCF0 0005CC50 2C 00 00 00 */ cmpwi r0, 0 +/* 8005FCF4 0005CC54 40 82 03 C4 */ bne lbl_800600B8 +/* 8005FCF8 0005CC58 7F C3 F3 78 */ mr r3, r30 +/* 8005FCFC 0005CC5C 48 00 0A 91 */ bl GetNumPartSizes__9CGameAreaCFv +/* 8005FD00 0005CC60 7C 64 1B 78 */ mr r4, r3 +/* 8005FD04 0005CC64 38 7E 01 10 */ addi r3, r30, 0x110 +/* 8005FD08 0005CC68 38 84 00 02 */ addi r4, r4, 2 +/* 8005FD0C 0005CC6C 48 00 48 65 */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" +/* 8005FD10 0005CC70 80 9E 01 1C */ lwz r4, 0x11c(r30) +/* 8005FD14 0005CC74 38 60 00 00 */ li r3, 0 +/* 8005FD18 0005CC78 38 00 00 03 */ li r0, 3 +/* 8005FD1C 0005CC7C 80 A4 00 08 */ lwz r5, 8(r4) +/* 8005FD20 0005CC80 80 84 00 14 */ lwz r4, 0x14(r4) +/* 8005FD24 0005CC84 90 7E 01 24 */ stw r3, 0x124(r30) +/* 8005FD28 0005CC88 7C A5 22 14 */ add r5, r5, r4 +/* 8005FD2C 0005CC8C 90 BE 01 28 */ stw r5, 0x128(r30) +/* 8005FD30 0005CC90 90 1E 00 F4 */ stw r0, 0xf4(r30) +/* 8005FD34 0005CC94 48 00 03 84 */ b lbl_800600B8 +lbl_8005FD38: +/* 8005FD38 0005CC98 48 00 10 49 */ bl CullDeadAreaRequests__9CGameAreaFv +/* 8005FD3C 0005CC9C 83 BE 01 24 */ lwz r29, 0x124(r30) +/* 8005FD40 0005CCA0 7F C3 F3 78 */ mr r3, r30 +/* 8005FD44 0005CCA4 3B 60 00 00 */ li r27, 0 +/* 8005FD48 0005CCA8 48 00 0A 45 */ bl GetNumPartSizes__9CGameAreaCFv +/* 8005FD4C 0005CCAC 80 BE 01 1C */ lwz r5, 0x11c(r30) +/* 8005FD50 0005CCB0 7C 7C 1B 78 */ mr r28, r3 +/* 8005FD54 0005CCB4 3C 80 4D 52 */ lis r4, 0x4D524541@ha +/* 8005FD58 0005CCB8 57 A3 10 3A */ slwi r3, r29, 2 +/* 8005FD5C 0005CCBC 83 25 00 10 */ lwz r25, 0x10(r5) +/* 8005FD60 0005CCC0 38 84 45 41 */ addi r4, r4, 0x4D524541@l +/* 8005FD64 0005CCC4 80 BE 00 84 */ lwz r5, 0x84(r30) +/* 8005FD68 0005CCC8 7C 1D E0 50 */ subf r0, r29, r28 +/* 8005FD6C 0005CCCC 7F 59 1A 14 */ add r26, r25, r3 +/* 8005FD70 0005CCD0 7F BF EB 78 */ mr r31, r29 +/* 8005FD74 0005CCD4 7F 46 D3 78 */ mr r6, r26 +/* 8005FD78 0005CCD8 90 81 00 28 */ stw r4, 0x28(r1) +/* 8005FD7C 0005CCDC 3C 60 00 01 */ lis r3, 1 +/* 8005FD80 0005CCE0 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 8005FD84 0005CCE4 7C 09 03 A6 */ mtctr r0 +/* 8005FD88 0005CCE8 7C 1D E0 00 */ cmpw r29, r28 +/* 8005FD8C 0005CCEC 40 80 00 2C */ bge lbl_8005FDB8 +lbl_8005FD90: +/* 8005FD90 0005CCF0 7C 1F E8 00 */ cmpw r31, r29 +/* 8005FD94 0005CCF4 80 86 00 00 */ lwz r4, 0(r6) +/* 8005FD98 0005CCF8 41 82 00 10 */ beq lbl_8005FDA8 +/* 8005FD9C 0005CCFC 7C 04 DA 14 */ add r0, r4, r27 +/* 8005FDA0 0005CD00 7C 00 18 00 */ cmpw r0, r3 +/* 8005FDA4 0005CD04 41 81 00 14 */ bgt lbl_8005FDB8 +lbl_8005FDA8: +/* 8005FDA8 0005CD08 7F 7B 22 14 */ add r27, r27, r4 +/* 8005FDAC 0005CD0C 38 C6 00 04 */ addi r6, r6, 4 +/* 8005FDB0 0005CD10 3B FF 00 01 */ addi r31, r31, 1 +/* 8005FDB4 0005CD14 42 00 FF DC */ bdnz lbl_8005FD90 +lbl_8005FDB8: +/* 8005FDB8 0005CD18 3C 60 80 3D */ lis r3, lbl_803CCFAC@ha +/* 8005FDBC 0005CD1C 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8005FDC0 0005CD20 38 A3 CF AC */ addi r5, r3, lbl_803CCFAC@l +/* 8005FDC4 0005CD24 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8005FDC8 0005CD28 38 61 00 10 */ addi r3, r1, 0x10 +/* 8005FDCC 0005CD2C 38 80 FF FF */ li r4, -1 +/* 8005FDD0 0005CD30 48 27 66 05 */ bl __ct__10CCallStackFUiPCcPCc +/* 8005FDD4 0005CD34 7C 67 1B 78 */ mr r7, r3 +/* 8005FDD8 0005CD38 7F 63 DB 78 */ mr r3, r27 +/* 8005FDDC 0005CD3C 38 80 00 02 */ li r4, 2 +/* 8005FDE0 0005CD40 38 A0 00 01 */ li r5, 1 +/* 8005FDE4 0005CD44 38 C0 00 00 */ li r6, 0 +/* 8005FDE8 0005CD48 48 2B 5B AD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8005FDEC 0005CD4C 7C 03 00 D0 */ neg r0, r3 +/* 8005FDF0 0005CD50 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13) +/* 8005FDF4 0005CD54 7C 00 1B 78 */ or r0, r0, r3 +/* 8005FDF8 0005CD58 80 BE 01 28 */ lwz r5, 0x128(r30) +/* 8005FDFC 0005CD5C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8005FE00 0005CD60 90 61 00 24 */ stw r3, 0x24(r1) +/* 8005FE04 0005CD64 7C 67 1B 78 */ mr r7, r3 +/* 8005FE08 0005CD68 38 64 00 04 */ addi r3, r4, 4 +/* 8005FE0C 0005CD6C 98 01 00 20 */ stb r0, 0x20(r1) +/* 8005FE10 0005CD70 7F 66 DB 78 */ mr r6, r27 +/* 8005FE14 0005CD74 38 81 00 28 */ addi r4, r1, 0x28 +/* 8005FE18 0005CD78 48 2D BC E5 */ bl LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc +/* 8005FE1C 0005CD7C 7C 03 00 D0 */ neg r0, r3 +/* 8005FE20 0005CD80 82 FE 01 00 */ lwz r23, 0x100(r30) +/* 8005FE24 0005CD84 7C 00 1B 78 */ or r0, r0, r3 +/* 8005FE28 0005CD88 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 8005FE2C 0005CD8C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8005FE30 0005CD90 90 61 00 0C */ stw r3, 0xc(r1) +/* 8005FE34 0005CD94 83 17 00 00 */ lwz r24, 0(r23) +/* 8005FE38 0005CD98 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 8005FE3C 0005CD9C 98 01 00 08 */ stb r0, 8(r1) +/* 8005FE40 0005CDA0 38 60 00 10 */ li r3, 0x10 +/* 8005FE44 0005CDA4 38 A0 00 00 */ li r5, 0 +/* 8005FE48 0005CDA8 48 2B 59 D1 */ bl __nwa__FUlPCcPCc +/* 8005FE4C 0005CDAC 28 03 00 00 */ cmplwi r3, 0 +/* 8005FE50 0005CDB0 41 82 00 0C */ beq lbl_8005FE5C +/* 8005FE54 0005CDB4 93 03 00 00 */ stw r24, 0(r3) +/* 8005FE58 0005CDB8 92 E3 00 04 */ stw r23, 4(r3) +lbl_8005FE5C: +/* 8005FE5C 0005CDBC 34 C3 00 08 */ addic. r6, r3, 8 +/* 8005FE60 0005CDC0 41 82 00 1C */ beq lbl_8005FE7C +/* 8005FE64 0005CDC4 88 A1 00 08 */ lbz r5, 8(r1) +/* 8005FE68 0005CDC8 38 00 00 00 */ li r0, 0 +/* 8005FE6C 0005CDCC 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8005FE70 0005CDD0 98 A6 00 00 */ stb r5, 0(r6) +/* 8005FE74 0005CDD4 90 86 00 04 */ stw r4, 4(r6) +/* 8005FE78 0005CDD8 98 01 00 08 */ stb r0, 8(r1) +lbl_8005FE7C: +/* 8005FE7C 0005CDDC 80 1E 00 FC */ lwz r0, 0xfc(r30) +/* 8005FE80 0005CDE0 7C 17 00 40 */ cmplw r23, r0 +/* 8005FE84 0005CDE4 40 82 00 08 */ bne lbl_8005FE8C +/* 8005FE88 0005CDE8 90 7E 00 FC */ stw r3, 0xfc(r30) +lbl_8005FE8C: +/* 8005FE8C 0005CDEC 80 83 00 00 */ lwz r4, 0(r3) +/* 8005FE90 0005CDF0 88 01 00 08 */ lbz r0, 8(r1) +/* 8005FE94 0005CDF4 90 64 00 04 */ stw r3, 4(r4) +/* 8005FE98 0005CDF8 28 00 00 00 */ cmplwi r0, 0 +/* 8005FE9C 0005CDFC 80 83 00 04 */ lwz r4, 4(r3) +/* 8005FEA0 0005CE00 90 64 00 00 */ stw r3, 0(r4) +/* 8005FEA4 0005CE04 80 7E 01 0C */ lwz r3, 0x10c(r30) +/* 8005FEA8 0005CE08 38 03 00 01 */ addi r0, r3, 1 +/* 8005FEAC 0005CE0C 90 1E 01 0C */ stw r0, 0x10c(r30) +/* 8005FEB0 0005CE10 41 82 00 24 */ beq lbl_8005FED4 +/* 8005FEB4 0005CE14 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8005FEB8 0005CE18 28 03 00 00 */ cmplwi r3, 0 +/* 8005FEBC 0005CE1C 41 82 00 18 */ beq lbl_8005FED4 +/* 8005FEC0 0005CE20 81 83 00 00 */ lwz r12, 0(r3) +/* 8005FEC4 0005CE24 38 80 00 01 */ li r4, 1 +/* 8005FEC8 0005CE28 81 8C 00 08 */ lwz r12, 8(r12) +/* 8005FECC 0005CE2C 7D 89 03 A6 */ mtctr r12 +/* 8005FED0 0005CE30 4E 80 04 21 */ bctrl +lbl_8005FED4: +/* 8005FED4 0005CE34 80 1E 01 28 */ lwz r0, 0x128(r30) +/* 8005FED8 0005CE38 38 60 00 00 */ li r3, 0 +/* 8005FEDC 0005CE3C 88 A1 00 20 */ lbz r5, 0x20(r1) +/* 8005FEE0 0005CE40 7C 00 DA 14 */ add r0, r0, r27 +/* 8005FEE4 0005CE44 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8005FEE8 0005CE48 90 1E 01 28 */ stw r0, 0x128(r30) +/* 8005FEEC 0005CE4C 80 1E 01 14 */ lwz r0, 0x114(r30) +/* 8005FEF0 0005CE50 80 DA 00 00 */ lwz r6, 0(r26) +/* 8005FEF4 0005CE54 80 FE 01 18 */ lwz r7, 0x118(r30) +/* 8005FEF8 0005CE58 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 8005FEFC 0005CE5C 7C D8 33 78 */ mr r24, r6 +/* 8005FF00 0005CE60 7C 00 38 00 */ cmpw r0, r7 +/* 8005FF04 0005CE64 90 81 00 40 */ stw r4, 0x40(r1) +/* 8005FF08 0005CE68 98 61 00 20 */ stb r3, 0x20(r1) +/* 8005FF0C 0005CE6C 90 C1 00 44 */ stw r6, 0x44(r1) +/* 8005FF10 0005CE70 41 80 00 1C */ blt lbl_8005FF2C +/* 8005FF14 0005CE74 2C 07 00 00 */ cmpwi r7, 0 +/* 8005FF18 0005CE78 38 7E 01 10 */ addi r3, r30, 0x110 +/* 8005FF1C 0005CE7C 38 80 00 04 */ li r4, 4 +/* 8005FF20 0005CE80 41 82 00 08 */ beq lbl_8005FF28 +/* 8005FF24 0005CE84 54 E4 08 3C */ slwi r4, r7, 1 +lbl_8005FF28: +/* 8005FF28 0005CE88 48 00 46 49 */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" +lbl_8005FF2C: +/* 8005FF2C 0005CE8C 80 1E 01 14 */ lwz r0, 0x114(r30) +/* 8005FF30 0005CE90 80 7E 01 1C */ lwz r3, 0x11c(r30) +/* 8005FF34 0005CE94 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005FF38 0005CE98 7C A3 02 15 */ add. r5, r3, r0 +/* 8005FF3C 0005CE9C 41 82 00 24 */ beq lbl_8005FF60 +/* 8005FF40 0005CEA0 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 8005FF44 0005CEA4 38 60 00 00 */ li r3, 0 +/* 8005FF48 0005CEA8 80 81 00 40 */ lwz r4, 0x40(r1) +/* 8005FF4C 0005CEAC 98 05 00 00 */ stb r0, 0(r5) +/* 8005FF50 0005CEB0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8005FF54 0005CEB4 90 85 00 04 */ stw r4, 4(r5) +/* 8005FF58 0005CEB8 98 61 00 3C */ stb r3, 0x3c(r1) +/* 8005FF5C 0005CEBC 90 05 00 08 */ stw r0, 8(r5) +lbl_8005FF60: +/* 8005FF60 0005CEC0 80 7E 01 14 */ lwz r3, 0x114(r30) +/* 8005FF64 0005CEC4 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 8005FF68 0005CEC8 38 63 00 01 */ addi r3, r3, 1 +/* 8005FF6C 0005CECC 28 00 00 00 */ cmplwi r0, 0 +/* 8005FF70 0005CED0 90 7E 01 14 */ stw r3, 0x114(r30) +/* 8005FF74 0005CED4 41 82 00 0C */ beq lbl_8005FF80 +/* 8005FF78 0005CED8 80 61 00 40 */ lwz r3, 0x40(r1) +/* 8005FF7C 0005CEDC 48 2B 59 B5 */ bl Free__7CMemoryFPCv +lbl_8005FF80: +/* 8005FF80 0005CEE0 3A FD 00 01 */ addi r23, r29, 1 +/* 8005FF84 0005CEE4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8005FF88 0005CEE8 56 E0 10 3A */ slwi r0, r23, 2 +/* 8005FF8C 0005CEEC 7F 59 02 14 */ add r26, r25, r0 +/* 8005FF90 0005CEF0 48 00 00 D4 */ b lbl_80060064 +lbl_8005FF94: +/* 8005FF94 0005CEF4 7C BD C2 14 */ add r5, r29, r24 +/* 8005FF98 0005CEF8 38 60 00 00 */ li r3, 0 +/* 8005FF9C 0005CEFC 7C 05 00 D0 */ neg r0, r5 +/* 8005FFA0 0005CF00 83 7A 00 00 */ lwz r27, 0(r26) +/* 8005FFA4 0005CF04 7C 04 2B 78 */ or r4, r0, r5 +/* 8005FFA8 0005CF08 80 1E 01 14 */ lwz r0, 0x114(r30) +/* 8005FFAC 0005CF0C 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8005FFB0 0005CF10 80 DE 01 18 */ lwz r6, 0x118(r30) +/* 8005FFB4 0005CF14 98 81 00 18 */ stb r4, 0x18(r1) +/* 8005FFB8 0005CF18 7C 00 30 00 */ cmpw r0, r6 +/* 8005FFBC 0005CF1C 98 61 00 18 */ stb r3, 0x18(r1) +/* 8005FFC0 0005CF20 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8005FFC4 0005CF24 98 61 00 30 */ stb r3, 0x30(r1) +/* 8005FFC8 0005CF28 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8005FFCC 0005CF2C 98 61 00 18 */ stb r3, 0x18(r1) +/* 8005FFD0 0005CF30 93 61 00 38 */ stw r27, 0x38(r1) +/* 8005FFD4 0005CF34 41 80 00 1C */ blt lbl_8005FFF0 +/* 8005FFD8 0005CF38 2C 06 00 00 */ cmpwi r6, 0 +/* 8005FFDC 0005CF3C 38 7E 01 10 */ addi r3, r30, 0x110 +/* 8005FFE0 0005CF40 38 80 00 04 */ li r4, 4 +/* 8005FFE4 0005CF44 41 82 00 08 */ beq lbl_8005FFEC +/* 8005FFE8 0005CF48 54 C4 08 3C */ slwi r4, r6, 1 +lbl_8005FFEC: +/* 8005FFEC 0005CF4C 48 00 45 85 */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" +lbl_8005FFF0: +/* 8005FFF0 0005CF50 80 1E 01 14 */ lwz r0, 0x114(r30) +/* 8005FFF4 0005CF54 80 7E 01 1C */ lwz r3, 0x11c(r30) +/* 8005FFF8 0005CF58 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8005FFFC 0005CF5C 7C A3 02 15 */ add. r5, r3, r0 +/* 80060000 0005CF60 41 82 00 24 */ beq lbl_80060024 +/* 80060004 0005CF64 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80060008 0005CF68 38 60 00 00 */ li r3, 0 +/* 8006000C 0005CF6C 80 81 00 34 */ lwz r4, 0x34(r1) +/* 80060010 0005CF70 98 05 00 00 */ stb r0, 0(r5) +/* 80060014 0005CF74 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80060018 0005CF78 90 85 00 04 */ stw r4, 4(r5) +/* 8006001C 0005CF7C 98 61 00 30 */ stb r3, 0x30(r1) +/* 80060020 0005CF80 90 05 00 08 */ stw r0, 8(r5) +lbl_80060024: +/* 80060024 0005CF84 80 7E 01 14 */ lwz r3, 0x114(r30) +/* 80060028 0005CF88 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8006002C 0005CF8C 38 63 00 01 */ addi r3, r3, 1 +/* 80060030 0005CF90 28 00 00 00 */ cmplwi r0, 0 +/* 80060034 0005CF94 90 7E 01 14 */ stw r3, 0x114(r30) +/* 80060038 0005CF98 41 82 00 0C */ beq lbl_80060044 +/* 8006003C 0005CF9C 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80060040 0005CFA0 48 2B 58 F1 */ bl Free__7CMemoryFPCv +lbl_80060044: +/* 80060044 0005CFA4 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80060048 0005CFA8 7F 18 DA 14 */ add r24, r24, r27 +/* 8006004C 0005CFAC 28 00 00 00 */ cmplwi r0, 0 +/* 80060050 0005CFB0 41 82 00 0C */ beq lbl_8006005C +/* 80060054 0005CFB4 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80060058 0005CFB8 48 2B 58 D9 */ bl Free__7CMemoryFPCv +lbl_8006005C: +/* 8006005C 0005CFBC 3B 5A 00 04 */ addi r26, r26, 4 +/* 80060060 0005CFC0 3A F7 00 01 */ addi r23, r23, 1 +lbl_80060064: +/* 80060064 0005CFC4 7C 17 F8 00 */ cmpw r23, r31 +/* 80060068 0005CFC8 41 80 FF 2C */ blt lbl_8005FF94 +/* 8006006C 0005CFCC 7C 1F E0 00 */ cmpw r31, r28 +/* 80060070 0005CFD0 93 FE 01 24 */ stw r31, 0x124(r30) +/* 80060074 0005CFD4 40 82 00 14 */ bne lbl_80060088 +/* 80060078 0005CFD8 80 7E 01 28 */ lwz r3, 0x128(r30) +/* 8006007C 0005CFDC 38 00 00 04 */ li r0, 4 +/* 80060080 0005CFE0 90 7E 01 20 */ stw r3, 0x120(r30) +/* 80060084 0005CFE4 90 1E 00 F4 */ stw r0, 0xf4(r30) +lbl_80060088: +/* 80060088 0005CFE8 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8006008C 0005CFEC 28 00 00 00 */ cmplwi r0, 0 +/* 80060090 0005CFF0 41 82 00 28 */ beq lbl_800600B8 +/* 80060094 0005CFF4 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80060098 0005CFF8 48 2B 58 99 */ bl Free__7CMemoryFPCv +/* 8006009C 0005CFFC 48 00 00 1C */ b lbl_800600B8 +lbl_800600A0: +/* 800600A0 0005D000 48 00 0C E1 */ bl CullDeadAreaRequests__9CGameAreaFv +/* 800600A4 0005D004 80 1E 01 0C */ lwz r0, 0x10c(r30) +/* 800600A8 0005D008 2C 00 00 00 */ cmpwi r0, 0 +/* 800600AC 0005D00C 40 82 00 0C */ bne lbl_800600B8 +/* 800600B0 0005D010 38 60 00 00 */ li r3, 0 +/* 800600B4 0005D014 48 00 00 08 */ b lbl_800600BC +lbl_800600B8: +/* 800600B8 0005D018 38 60 00 01 */ li r3, 1 +lbl_800600BC: +/* 800600BC 0005D01C BA E1 00 4C */ lmw r23, 0x4c(r1) +/* 800600C0 0005D020 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800600C4 0005D024 7C 08 03 A6 */ mtlr r0 +/* 800600C8 0005D028 38 21 00 70 */ addi r1, r1, 0x70 +/* 800600CC 0005D02C 4E 80 00 20 */ blr + +.global sub_800600d0 +sub_800600d0: +/* 800600D0 0005D030 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800600D4 0005D034 7C 08 02 A6 */ mflr r0 +/* 800600D8 0005D038 90 01 00 14 */ stw r0, 0x14(r1) +/* 800600DC 0005D03C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800600E0 0005D040 7C 9F 23 78 */ mr r31, r4 +/* 800600E4 0005D044 38 80 00 01 */ li r4, 1 +/* 800600E8 0005D048 93 C1 00 08 */ stw r30, 8(r1) +/* 800600EC 0005D04C 7C 7E 1B 78 */ mr r30, r3 +/* 800600F0 0005D050 80 63 00 00 */ lwz r3, 0(r3) +/* 800600F4 0005D054 48 00 00 25 */ bl __dt__Q29CGameArea16CPostConstructedFv +/* 800600F8 0005D058 93 FE 00 00 */ stw r31, 0(r30) +/* 800600FC 0005D05C 7F C3 F3 78 */ mr r3, r30 +/* 80060100 0005D060 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80060104 0005D064 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80060108 0005D068 83 C1 00 08 */ lwz r30, 8(r1) +/* 8006010C 0005D06C 7C 08 03 A6 */ mtlr r0 +/* 80060110 0005D070 38 21 00 10 */ addi r1, r1, 0x10 +/* 80060114 0005D074 4E 80 00 20 */ blr + +.global __dt__Q29CGameArea16CPostConstructedFv +__dt__Q29CGameArea16CPostConstructedFv: +/* 80060118 0005D078 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8006011C 0005D07C 7C 08 02 A6 */ mflr r0 +/* 80060120 0005D080 90 01 00 84 */ stw r0, 0x84(r1) +/* 80060124 0005D084 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80060128 0005D088 7C 9F 23 78 */ mr r31, r4 +/* 8006012C 0005D08C 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80060130 0005D090 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80060134 0005D094 93 A1 00 74 */ stw r29, 0x74(r1) +/* 80060138 0005D098 93 81 00 70 */ stw r28, 0x70(r1) +/* 8006013C 0005D09C 41 82 03 5C */ beq lbl_80060498 +/* 80060140 0005D0A0 34 1E 11 0C */ addic. r0, r30, 0x110c +/* 80060144 0005D0A4 41 82 00 44 */ beq lbl_80060188 +/* 80060148 0005D0A8 80 1E 11 10 */ lwz r0, 0x1110(r30) +/* 8006014C 0005D0AC 80 7E 11 18 */ lwz r3, 0x1118(r30) +/* 80060150 0005D0B0 54 00 18 38 */ slwi r0, r0, 3 +/* 80060154 0005D0B4 7C 03 02 14 */ add r0, r3, r0 +/* 80060158 0005D0B8 90 61 00 5C */ stw r3, 0x5c(r1) +/* 8006015C 0005D0BC 7C 64 1B 78 */ mr r4, r3 +/* 80060160 0005D0C0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80060164 0005D0C4 90 01 00 60 */ stw r0, 0x60(r1) +/* 80060168 0005D0C8 90 61 00 58 */ stw r3, 0x58(r1) +/* 8006016C 0005D0CC 48 00 00 08 */ b lbl_80060174 +lbl_80060170: +/* 80060170 0005D0D0 38 84 00 08 */ addi r4, r4, 8 +lbl_80060174: +/* 80060174 0005D0D4 7C 04 00 40 */ cmplw r4, r0 +/* 80060178 0005D0D8 40 82 FF F8 */ bne lbl_80060170 +/* 8006017C 0005D0DC 28 03 00 00 */ cmplwi r3, 0 +/* 80060180 0005D0E0 41 82 00 08 */ beq lbl_80060188 +/* 80060184 0005D0E4 48 2B 57 AD */ bl Free__7CMemoryFPCv +lbl_80060188: +/* 80060188 0005D0E8 34 1E 10 F0 */ addic. r0, r30, 0x10f0 +/* 8006018C 0005D0EC 41 82 00 58 */ beq lbl_800601E4 +/* 80060190 0005D0F0 80 1E 10 F4 */ lwz r0, 0x10f4(r30) +/* 80060194 0005D0F4 83 9E 10 FC */ lwz r28, 0x10fc(r30) +/* 80060198 0005D0F8 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8006019C 0005D0FC 93 81 00 4C */ stw r28, 0x4c(r1) +/* 800601A0 0005D100 7F BC 02 14 */ add r29, r28, r0 +/* 800601A4 0005D104 93 81 00 48 */ stw r28, 0x48(r1) +/* 800601A8 0005D108 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800601AC 0005D10C 93 A1 00 50 */ stw r29, 0x50(r1) +/* 800601B0 0005D110 48 00 00 1C */ b lbl_800601CC +lbl_800601B4: +/* 800601B4 0005D114 28 1C 00 00 */ cmplwi r28, 0 +/* 800601B8 0005D118 41 82 00 10 */ beq lbl_800601C8 +/* 800601BC 0005D11C 7F 83 E3 78 */ mr r3, r28 +/* 800601C0 0005D120 38 80 FF FF */ li r4, -1 +/* 800601C4 0005D124 48 2F 87 81 */ bl __dt__10CARAMTokenFv +lbl_800601C8: +/* 800601C8 0005D128 3B 9C 00 24 */ addi r28, r28, 0x24 +lbl_800601CC: +/* 800601CC 0005D12C 7C 1C E8 40 */ cmplw r28, r29 +/* 800601D0 0005D130 40 82 FF E4 */ bne lbl_800601B4 +/* 800601D4 0005D134 80 7E 10 FC */ lwz r3, 0x10fc(r30) +/* 800601D8 0005D138 28 03 00 00 */ cmplwi r3, 0 +/* 800601DC 0005D13C 41 82 00 08 */ beq lbl_800601E4 +/* 800601E0 0005D140 48 2B 57 51 */ bl Free__7CMemoryFPCv +lbl_800601E4: +/* 800601E4 0005D144 34 1E 10 C8 */ addic. r0, r30, 0x10c8 +/* 800601E8 0005D148 41 82 00 18 */ beq lbl_80060200 +/* 800601EC 0005D14C 88 1E 10 C8 */ lbz r0, 0x10c8(r30) +/* 800601F0 0005D150 28 00 00 00 */ cmplwi r0, 0 +/* 800601F4 0005D154 41 82 00 0C */ beq lbl_80060200 +/* 800601F8 0005D158 80 7E 10 CC */ lwz r3, 0x10cc(r30) +/* 800601FC 0005D15C 48 2B 57 35 */ bl Free__7CMemoryFPCv +lbl_80060200: +/* 80060200 0005D160 34 1E 10 C4 */ addic. r0, r30, 0x10c4 +/* 80060204 0005D164 41 82 00 0C */ beq lbl_80060210 +/* 80060208 0005D168 80 7E 10 C4 */ lwz r3, 0x10c4(r30) +/* 8006020C 0005D16C 48 2B 57 25 */ bl Free__7CMemoryFPCv +lbl_80060210: +/* 80060210 0005D170 34 1E 10 C0 */ addic. r0, r30, 0x10c0 +/* 80060214 0005D174 41 82 00 0C */ beq lbl_80060220 +/* 80060218 0005D178 80 7E 10 C0 */ lwz r3, 0x10c0(r30) +/* 8006021C 0005D17C 48 2B 57 15 */ bl Free__7CMemoryFPCv +lbl_80060220: +/* 80060220 0005D180 34 1E 10 AC */ addic. r0, r30, 0x10ac +/* 80060224 0005D184 41 82 00 30 */ beq lbl_80060254 +/* 80060228 0005D188 88 1E 10 B8 */ lbz r0, 0x10b8(r30) +/* 8006022C 0005D18C 28 00 00 00 */ cmplwi r0, 0 +/* 80060230 0005D190 41 82 00 1C */ beq lbl_8006024C +/* 80060234 0005D194 34 7E 10 AC */ addic. r3, r30, 0x10ac +/* 80060238 0005D198 41 82 00 14 */ beq lbl_8006024C +/* 8006023C 0005D19C 28 03 00 00 */ cmplwi r3, 0 +/* 80060240 0005D1A0 41 82 00 0C */ beq lbl_8006024C +/* 80060244 0005D1A4 38 80 00 00 */ li r4, 0 +/* 80060248 0005D1A8 48 2E 0B F9 */ bl __dt__6CTokenFv +lbl_8006024C: +/* 8006024C 0005D1AC 38 00 00 00 */ li r0, 0 +/* 80060250 0005D1B0 98 1E 10 B8 */ stb r0, 0x10b8(r30) +lbl_80060254: +/* 80060254 0005D1B4 34 1E 00 A4 */ addic. r0, r30, 0xa4 +/* 80060258 0005D1B8 41 82 00 58 */ beq lbl_800602B0 +/* 8006025C 0005D1BC 80 BE 00 A4 */ lwz r5, 0xa4(r30) +/* 80060260 0005D1C0 38 60 00 00 */ li r3, 0 +/* 80060264 0005D1C4 2C 05 00 00 */ cmpwi r5, 0 +/* 80060268 0005D1C8 40 81 00 40 */ ble lbl_800602A8 +/* 8006026C 0005D1CC 2C 05 00 08 */ cmpwi r5, 8 +/* 80060270 0005D1D0 38 85 FF F8 */ addi r4, r5, -8 +/* 80060274 0005D1D4 40 81 00 20 */ ble lbl_80060294 +/* 80060278 0005D1D8 38 04 00 07 */ addi r0, r4, 7 +/* 8006027C 0005D1DC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80060280 0005D1E0 7C 09 03 A6 */ mtctr r0 +/* 80060284 0005D1E4 2C 04 00 00 */ cmpwi r4, 0 +/* 80060288 0005D1E8 40 81 00 0C */ ble lbl_80060294 +lbl_8006028C: +/* 8006028C 0005D1EC 38 63 00 08 */ addi r3, r3, 8 +/* 80060290 0005D1F0 42 00 FF FC */ bdnz lbl_8006028C +lbl_80060294: +/* 80060294 0005D1F4 7C 03 28 50 */ subf r0, r3, r5 +/* 80060298 0005D1F8 7C 09 03 A6 */ mtctr r0 +/* 8006029C 0005D1FC 7C 03 28 00 */ cmpw r3, r5 +/* 800602A0 0005D200 40 80 00 08 */ bge lbl_800602A8 +lbl_800602A4: +/* 800602A4 0005D204 42 00 00 00 */ bdnz lbl_800602A4 +lbl_800602A8: +/* 800602A8 0005D208 38 00 00 00 */ li r0, 0 +/* 800602AC 0005D20C 90 1E 00 A4 */ stw r0, 0xa4(r30) +lbl_800602B0: +/* 800602B0 0005D210 34 1E 00 A0 */ addic. r0, r30, 0xa0 +/* 800602B4 0005D214 41 82 00 3C */ beq lbl_800602F0 +/* 800602B8 0005D218 83 BE 00 A0 */ lwz r29, 0xa0(r30) +/* 800602BC 0005D21C 28 1D 00 00 */ cmplwi r29, 0 +/* 800602C0 0005D220 41 82 00 30 */ beq lbl_800602F0 +/* 800602C4 0005D224 34 1D 00 20 */ addic. r0, r29, 0x20 +/* 800602C8 0005D228 41 82 00 20 */ beq lbl_800602E8 +/* 800602CC 0005D22C 34 1D 00 40 */ addic. r0, r29, 0x40 +/* 800602D0 0005D230 41 82 00 18 */ beq lbl_800602E8 +/* 800602D4 0005D234 88 1D 00 40 */ lbz r0, 0x40(r29) +/* 800602D8 0005D238 28 00 00 00 */ cmplwi r0, 0 +/* 800602DC 0005D23C 41 82 00 0C */ beq lbl_800602E8 +/* 800602E0 0005D240 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 800602E4 0005D244 48 2B 56 4D */ bl Free__7CMemoryFPCv +lbl_800602E8: +/* 800602E8 0005D248 7F A3 EB 78 */ mr r3, r29 +/* 800602EC 0005D24C 48 2B 56 45 */ bl Free__7CMemoryFPCv +lbl_800602F0: +/* 800602F0 0005D250 34 1E 00 90 */ addic. r0, r30, 0x90 +/* 800602F4 0005D254 41 82 00 44 */ beq lbl_80060338 +/* 800602F8 0005D258 80 1E 00 94 */ lwz r0, 0x94(r30) +/* 800602FC 0005D25C 80 7E 00 9C */ lwz r3, 0x9c(r30) +/* 80060300 0005D260 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80060304 0005D264 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80060308 0005D268 7C 64 1B 78 */ mr r4, r3 +/* 8006030C 0005D26C 7C 03 02 14 */ add r0, r3, r0 +/* 80060310 0005D270 90 61 00 38 */ stw r3, 0x38(r1) +/* 80060314 0005D274 90 01 00 44 */ stw r0, 0x44(r1) +/* 80060318 0005D278 90 01 00 40 */ stw r0, 0x40(r1) +/* 8006031C 0005D27C 48 00 00 08 */ b lbl_80060324 +lbl_80060320: +/* 80060320 0005D280 38 84 00 50 */ addi r4, r4, 0x50 +lbl_80060324: +/* 80060324 0005D284 7C 04 00 40 */ cmplw r4, r0 +/* 80060328 0005D288 40 82 FF F8 */ bne lbl_80060320 +/* 8006032C 0005D28C 28 03 00 00 */ cmplwi r3, 0 +/* 80060330 0005D290 41 82 00 08 */ beq lbl_80060338 +/* 80060334 0005D294 48 2B 55 FD */ bl Free__7CMemoryFPCv +lbl_80060338: +/* 80060338 0005D298 34 1E 00 80 */ addic. r0, r30, 0x80 +/* 8006033C 0005D29C 41 82 00 44 */ beq lbl_80060380 +/* 80060340 0005D2A0 80 1E 00 84 */ lwz r0, 0x84(r30) +/* 80060344 0005D2A4 80 7E 00 8C */ lwz r3, 0x8c(r30) +/* 80060348 0005D2A8 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 8006034C 0005D2AC 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80060350 0005D2B0 7C 64 1B 78 */ mr r4, r3 +/* 80060354 0005D2B4 7C 03 02 14 */ add r0, r3, r0 +/* 80060358 0005D2B8 90 61 00 28 */ stw r3, 0x28(r1) +/* 8006035C 0005D2BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80060360 0005D2C0 90 01 00 30 */ stw r0, 0x30(r1) +/* 80060364 0005D2C4 48 00 00 08 */ b lbl_8006036C +lbl_80060368: +/* 80060368 0005D2C8 38 84 00 44 */ addi r4, r4, 0x44 +lbl_8006036C: +/* 8006036C 0005D2CC 7C 04 00 40 */ cmplw r4, r0 +/* 80060370 0005D2D0 40 82 FF F8 */ bne lbl_80060368 +/* 80060374 0005D2D4 28 03 00 00 */ cmplwi r3, 0 +/* 80060378 0005D2D8 41 82 00 08 */ beq lbl_80060380 +/* 8006037C 0005D2DC 48 2B 55 B5 */ bl Free__7CMemoryFPCv +lbl_80060380: +/* 80060380 0005D2E0 34 1E 00 70 */ addic. r0, r30, 0x70 +/* 80060384 0005D2E4 41 82 00 44 */ beq lbl_800603C8 +/* 80060388 0005D2E8 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8006038C 0005D2EC 80 7E 00 7C */ lwz r3, 0x7c(r30) +/* 80060390 0005D2F0 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80060394 0005D2F4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80060398 0005D2F8 7C 64 1B 78 */ mr r4, r3 +/* 8006039C 0005D2FC 7C 03 02 14 */ add r0, r3, r0 +/* 800603A0 0005D300 90 61 00 18 */ stw r3, 0x18(r1) +/* 800603A4 0005D304 90 01 00 24 */ stw r0, 0x24(r1) +/* 800603A8 0005D308 90 01 00 20 */ stw r0, 0x20(r1) +/* 800603AC 0005D30C 48 00 00 08 */ b lbl_800603B4 +lbl_800603B0: +/* 800603B0 0005D310 38 84 00 50 */ addi r4, r4, 0x50 +lbl_800603B4: +/* 800603B4 0005D314 7C 04 00 40 */ cmplw r4, r0 +/* 800603B8 0005D318 40 82 FF F8 */ bne lbl_800603B0 +/* 800603BC 0005D31C 28 03 00 00 */ cmplwi r3, 0 +/* 800603C0 0005D320 41 82 00 08 */ beq lbl_800603C8 +/* 800603C4 0005D324 48 2B 55 6D */ bl Free__7CMemoryFPCv +lbl_800603C8: +/* 800603C8 0005D328 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 800603CC 0005D32C 41 82 00 44 */ beq lbl_80060410 +/* 800603D0 0005D330 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 800603D4 0005D334 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 800603D8 0005D338 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 800603DC 0005D33C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800603E0 0005D340 7C 64 1B 78 */ mr r4, r3 +/* 800603E4 0005D344 7C 03 02 14 */ add r0, r3, r0 +/* 800603E8 0005D348 90 61 00 08 */ stw r3, 8(r1) +/* 800603EC 0005D34C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800603F0 0005D350 90 01 00 10 */ stw r0, 0x10(r1) +/* 800603F4 0005D354 48 00 00 08 */ b lbl_800603FC +lbl_800603F8: +/* 800603F8 0005D358 38 84 00 44 */ addi r4, r4, 0x44 +lbl_800603FC: +/* 800603FC 0005D35C 7C 04 00 40 */ cmplw r4, r0 +/* 80060400 0005D360 40 82 FF F8 */ bne lbl_800603F8 +/* 80060404 0005D364 28 03 00 00 */ cmplwi r3, 0 +/* 80060408 0005D368 41 82 00 08 */ beq lbl_80060410 +/* 8006040C 0005D36C 48 2B 55 25 */ bl Free__7CMemoryFPCv +lbl_80060410: +/* 80060410 0005D370 34 1E 00 5C */ addic. r0, r30, 0x5c +/* 80060414 0005D374 41 82 00 0C */ beq lbl_80060420 +/* 80060418 0005D378 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 8006041C 0005D37C 48 2B 55 15 */ bl Free__7CMemoryFPCv +lbl_80060420: +/* 80060420 0005D380 38 7E 00 4C */ addi r3, r30, 0x4c +/* 80060424 0005D384 38 80 FF FF */ li r4, -1 +/* 80060428 0005D388 48 00 00 95 */ bl sub_800604bc +/* 8006042C 0005D38C 34 1E 00 0C */ addic. r0, r30, 0xc +/* 80060430 0005D390 41 82 00 3C */ beq lbl_8006046C +/* 80060434 0005D394 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 80060438 0005D398 28 00 00 00 */ cmplwi r0, 0 +/* 8006043C 0005D39C 41 82 00 28 */ beq lbl_80060464 +/* 80060440 0005D3A0 34 7E 00 0C */ addic. r3, r30, 0xc +/* 80060444 0005D3A4 41 82 00 20 */ beq lbl_80060464 +/* 80060448 0005D3A8 28 03 00 00 */ cmplwi r3, 0 +/* 8006044C 0005D3AC 41 82 00 18 */ beq lbl_80060464 +/* 80060450 0005D3B0 88 03 00 00 */ lbz r0, 0(r3) +/* 80060454 0005D3B4 28 00 00 00 */ cmplwi r0, 0 +/* 80060458 0005D3B8 41 82 00 0C */ beq lbl_80060464 +/* 8006045C 0005D3BC 80 63 00 04 */ lwz r3, 4(r3) +/* 80060460 0005D3C0 48 2B 54 D1 */ bl Free__7CMemoryFPCv +lbl_80060464: +/* 80060464 0005D3C4 38 00 00 00 */ li r0, 0 +/* 80060468 0005D3C8 98 1E 00 48 */ stb r0, 0x48(r30) +lbl_8006046C: +/* 8006046C 0005D3CC 28 1E 00 00 */ cmplwi r30, 0 +/* 80060470 0005D3D0 41 82 00 18 */ beq lbl_80060488 +/* 80060474 0005D3D4 88 1E 00 00 */ lbz r0, 0(r30) +/* 80060478 0005D3D8 28 00 00 00 */ cmplwi r0, 0 +/* 8006047C 0005D3DC 41 82 00 0C */ beq lbl_80060488 +/* 80060480 0005D3E0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80060484 0005D3E4 48 2B 54 AD */ bl Free__7CMemoryFPCv +lbl_80060488: +/* 80060488 0005D3E8 7F E0 07 35 */ extsh. r0, r31 +/* 8006048C 0005D3EC 40 81 00 0C */ ble lbl_80060498 +/* 80060490 0005D3F0 7F C3 F3 78 */ mr r3, r30 +/* 80060494 0005D3F4 48 2B 54 9D */ bl Free__7CMemoryFPCv +lbl_80060498: +/* 80060498 0005D3F8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8006049C 0005D3FC 7F C3 F3 78 */ mr r3, r30 +/* 800604A0 0005D400 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 800604A4 0005D404 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 800604A8 0005D408 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 800604AC 0005D40C 83 81 00 70 */ lwz r28, 0x70(r1) +/* 800604B0 0005D410 7C 08 03 A6 */ mtlr r0 +/* 800604B4 0005D414 38 21 00 80 */ addi r1, r1, 0x80 +/* 800604B8 0005D418 4E 80 00 20 */ blr + +.global sub_800604bc +sub_800604bc: +/* 800604BC 0005D41C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800604C0 0005D420 7C 08 02 A6 */ mflr r0 +/* 800604C4 0005D424 90 01 00 24 */ stw r0, 0x24(r1) +/* 800604C8 0005D428 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800604CC 0005D42C 7C 9F 23 78 */ mr r31, r4 +/* 800604D0 0005D430 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800604D4 0005D434 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800604D8 0005D438 41 82 00 54 */ beq lbl_8006052C +/* 800604DC 0005D43C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800604E0 0005D440 38 61 00 14 */ addi r3, r1, 0x14 +/* 800604E4 0005D444 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800604E8 0005D448 38 81 00 0C */ addi r4, r1, 0xc +/* 800604EC 0005D44C 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 800604F0 0005D450 7C A5 02 14 */ add r5, r5, r0 +/* 800604F4 0005D454 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800604F8 0005D458 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 800604FC 0005D45C 90 A1 00 08 */ stw r5, 8(r1) +/* 80060500 0005D460 90 01 00 10 */ stw r0, 0x10(r1) +/* 80060504 0005D464 90 01 00 14 */ stw r0, 0x14(r1) +/* 80060508 0005D468 48 00 00 41 */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 8006050C 0005D46C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80060510 0005D470 28 03 00 00 */ cmplwi r3, 0 +/* 80060514 0005D474 41 82 00 08 */ beq lbl_8006051C +/* 80060518 0005D478 48 2B 54 19 */ bl Free__7CMemoryFPCv +lbl_8006051C: +/* 8006051C 0005D47C 7F E0 07 35 */ extsh. r0, r31 +/* 80060520 0005D480 40 81 00 0C */ ble lbl_8006052C +/* 80060524 0005D484 7F C3 F3 78 */ mr r3, r30 +/* 80060528 0005D488 48 2B 54 09 */ bl Free__7CMemoryFPCv +lbl_8006052C: +/* 8006052C 0005D48C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80060530 0005D490 7F C3 F3 78 */ mr r3, r30 +/* 80060534 0005D494 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80060538 0005D498 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8006053C 0005D49C 7C 08 03 A6 */ mtlr r0 +/* 80060540 0005D4A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80060544 0005D4A4 4E 80 00 20 */ blr + +.global "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +"destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": +/* 80060548 0005D4A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006054C 0005D4AC 7C 08 02 A6 */ mflr r0 +/* 80060550 0005D4B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80060554 0005D4B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80060558 0005D4B8 93 C1 00 08 */ stw r30, 8(r1) +/* 8006055C 0005D4BC 7C 9E 23 78 */ mr r30, r4 +/* 80060560 0005D4C0 83 E3 00 00 */ lwz r31, 0(r3) +/* 80060564 0005D4C4 48 00 00 10 */ b lbl_80060574 +lbl_80060568: +/* 80060568 0005D4C8 7F E3 FB 78 */ mr r3, r31 +/* 8006056C 0005D4CC 48 00 00 2D */ bl __dt__21CMetroidModelInstanceFv +/* 80060570 0005D4D0 3B FF 00 74 */ addi r31, r31, 0x74 +lbl_80060574: +/* 80060574 0005D4D4 80 1E 00 00 */ lwz r0, 0(r30) +/* 80060578 0005D4D8 7C 1F 00 40 */ cmplw r31, r0 +/* 8006057C 0005D4DC 40 82 FF EC */ bne lbl_80060568 +/* 80060580 0005D4E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80060584 0005D4E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80060588 0005D4E8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8006058C 0005D4EC 7C 08 03 A6 */ mtlr r0 +/* 80060590 0005D4F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80060594 0005D4F4 4E 80 00 20 */ blr + +.global __dt__21CMetroidModelInstanceFv +__dt__21CMetroidModelInstanceFv: +/* 80060598 0005D4F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006059C 0005D4FC 7C 08 02 A6 */ mflr r0 +/* 800605A0 0005D500 28 03 00 00 */ cmplwi r3, 0 +/* 800605A4 0005D504 90 01 00 24 */ stw r0, 0x24(r1) +/* 800605A8 0005D508 41 82 00 4C */ beq lbl_800605F4 +/* 800605AC 0005D50C 34 03 00 50 */ addic. r0, r3, 0x50 +/* 800605B0 0005D510 41 82 00 44 */ beq lbl_800605F4 +/* 800605B4 0005D514 80 03 00 54 */ lwz r0, 0x54(r3) +/* 800605B8 0005D518 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 800605BC 0005D51C 54 00 10 3A */ slwi r0, r0, 2 +/* 800605C0 0005D520 7C 03 02 14 */ add r0, r3, r0 +/* 800605C4 0005D524 90 61 00 0C */ stw r3, 0xc(r1) +/* 800605C8 0005D528 7C 64 1B 78 */ mr r4, r3 +/* 800605CC 0005D52C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800605D0 0005D530 90 01 00 10 */ stw r0, 0x10(r1) +/* 800605D4 0005D534 90 61 00 08 */ stw r3, 8(r1) +/* 800605D8 0005D538 48 00 00 08 */ b lbl_800605E0 +lbl_800605DC: +/* 800605DC 0005D53C 38 84 00 04 */ addi r4, r4, 4 +lbl_800605E0: +/* 800605E0 0005D540 7C 04 00 40 */ cmplw r4, r0 +/* 800605E4 0005D544 40 82 FF F8 */ bne lbl_800605DC +/* 800605E8 0005D548 28 03 00 00 */ cmplwi r3, 0 +/* 800605EC 0005D54C 41 82 00 08 */ beq lbl_800605F4 +/* 800605F0 0005D550 48 2B 53 41 */ bl Free__7CMemoryFPCv +lbl_800605F4: +/* 800605F4 0005D554 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800605F8 0005D558 7C 08 03 A6 */ mtlr r0 +/* 800605FC 0005D55C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80060600 0005D560 4E 80 00 20 */ blr + +.global UnloadAllloadedTextures__9CGameAreaFv +UnloadAllloadedTextures__9CGameAreaFv: +/* 80060604 0005D564 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80060608 0005D568 7C 08 02 A6 */ mflr r0 +/* 8006060C 0005D56C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80060610 0005D570 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80060614 0005D574 7C 7B 1B 78 */ mr r27, r3 +/* 80060618 0005D578 3B A0 00 01 */ li r29, 1 +/* 8006061C 0005D57C 3B 80 00 00 */ li r28, 0 +/* 80060620 0005D580 3B C0 00 00 */ li r30, 0 +/* 80060624 0005D584 48 00 00 84 */ b lbl_800606A8 +lbl_80060628: +/* 80060628 0005D588 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 8006062C 0005D58C 7C 80 F2 14 */ add r4, r0, r30 +/* 80060630 0005D590 80 A4 00 00 */ lwz r5, 0(r4) +/* 80060634 0005D594 80 65 00 04 */ lwz r3, 4(r5) +/* 80060638 0005D598 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 8006063C 0005D59C 28 00 54 52 */ cmplwi r0, 0x5452 +/* 80060640 0005D5A0 40 82 00 60 */ bne lbl_800606A0 +/* 80060644 0005D5A4 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80060648 0005D5A8 28 00 00 00 */ cmplwi r0, 0 +/* 8006064C 0005D5AC 41 82 00 54 */ beq lbl_800606A0 +/* 80060650 0005D5B0 88 04 00 04 */ lbz r0, 4(r4) +/* 80060654 0005D5B4 28 00 00 00 */ cmplwi r0, 0 +/* 80060658 0005D5B8 41 82 00 48 */ beq lbl_800606A0 +/* 8006065C 0005D5BC 38 61 00 08 */ addi r3, r1, 8 +/* 80060660 0005D5C0 48 2E 08 49 */ bl __ct__6CTokenFRC6CToken +/* 80060664 0005D5C4 38 61 00 08 */ addi r3, r1, 8 +/* 80060668 0005D5C8 48 2E 07 A5 */ bl GetObj__6CTokenFv +/* 8006066C 0005D5CC 83 E3 00 04 */ lwz r31, 4(r3) +/* 80060670 0005D5D0 7F E3 FB 78 */ mr r3, r31 +/* 80060674 0005D5D4 48 2A DB 45 */ bl MakeSwappable__8CTextureCFv +/* 80060678 0005D5D8 7F E3 FB 78 */ mr r3, r31 +/* 8006067C 0005D5DC 48 2A E5 05 */ bl LoadToARAM__8CTextureCFv +/* 80060680 0005D5E0 7F E3 FB 78 */ mr r3, r31 +/* 80060684 0005D5E4 48 2A E4 C9 */ bl IsARAMTransferInProgress__8CTextureCFv +/* 80060688 0005D5E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8006068C 0005D5EC 41 82 00 08 */ beq lbl_80060694 +/* 80060690 0005D5F0 3B A0 00 00 */ li r29, 0 +lbl_80060694: +/* 80060694 0005D5F4 38 61 00 08 */ addi r3, r1, 8 +/* 80060698 0005D5F8 38 80 00 00 */ li r4, 0 +/* 8006069C 0005D5FC 48 2E 07 A5 */ bl __dt__6CTokenFv +lbl_800606A0: +/* 800606A0 0005D600 3B DE 00 08 */ addi r30, r30, 8 +/* 800606A4 0005D604 3B 9C 00 01 */ addi r28, r28, 1 +lbl_800606A8: +/* 800606A8 0005D608 80 1B 00 E0 */ lwz r0, 0xe0(r27) +/* 800606AC 0005D60C 7C 1C 00 00 */ cmpw r28, r0 +/* 800606B0 0005D610 41 80 FF 78 */ blt lbl_80060628 +/* 800606B4 0005D614 7F A3 EB 78 */ mr r3, r29 +/* 800606B8 0005D618 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 800606BC 0005D61C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800606C0 0005D620 7C 08 03 A6 */ mtlr r0 +/* 800606C4 0005D624 38 21 00 30 */ addi r1, r1, 0x30 +/* 800606C8 0005D628 4E 80 00 20 */ blr + +.global ReloadAllUnloadedTextures__9CGameAreaFv +ReloadAllUnloadedTextures__9CGameAreaFv: +/* 800606CC 0005D62C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800606D0 0005D630 7C 08 02 A6 */ mflr r0 +/* 800606D4 0005D634 90 01 00 34 */ stw r0, 0x34(r1) +/* 800606D8 0005D638 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800606DC 0005D63C 7C 7B 1B 78 */ mr r27, r3 +/* 800606E0 0005D640 3B A0 00 01 */ li r29, 1 +/* 800606E4 0005D644 3B 80 00 00 */ li r28, 0 +/* 800606E8 0005D648 3B C0 00 00 */ li r30, 0 +/* 800606EC 0005D64C 48 00 00 7C */ b lbl_80060768 +lbl_800606F0: +/* 800606F0 0005D650 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 800606F4 0005D654 7C 80 F2 14 */ add r4, r0, r30 +/* 800606F8 0005D658 80 A4 00 00 */ lwz r5, 0(r4) +/* 800606FC 0005D65C 80 65 00 04 */ lwz r3, 4(r5) +/* 80060700 0005D660 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 80060704 0005D664 28 00 54 52 */ cmplwi r0, 0x5452 +/* 80060708 0005D668 40 82 00 58 */ bne lbl_80060760 +/* 8006070C 0005D66C 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80060710 0005D670 28 00 00 00 */ cmplwi r0, 0 +/* 80060714 0005D674 41 82 00 4C */ beq lbl_80060760 +/* 80060718 0005D678 88 04 00 04 */ lbz r0, 4(r4) +/* 8006071C 0005D67C 28 00 00 00 */ cmplwi r0, 0 +/* 80060720 0005D680 41 82 00 40 */ beq lbl_80060760 +/* 80060724 0005D684 38 61 00 08 */ addi r3, r1, 8 +/* 80060728 0005D688 48 2E 07 81 */ bl __ct__6CTokenFRC6CToken +/* 8006072C 0005D68C 38 61 00 08 */ addi r3, r1, 8 +/* 80060730 0005D690 48 2E 06 DD */ bl GetObj__6CTokenFv +/* 80060734 0005D694 83 E3 00 04 */ lwz r31, 4(r3) +/* 80060738 0005D698 7F E3 FB 78 */ mr r3, r31 +/* 8006073C 0005D69C 48 2A DA 7D */ bl MakeSwappable__8CTextureCFv +/* 80060740 0005D6A0 7F E3 FB 78 */ mr r3, r31 +/* 80060744 0005D6A4 48 2A E4 E5 */ bl LoadToMRAM__8CTextureCFv +/* 80060748 0005D6A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8006074C 0005D6AC 40 82 00 08 */ bne lbl_80060754 +/* 80060750 0005D6B0 3B A0 00 00 */ li r29, 0 +lbl_80060754: +/* 80060754 0005D6B4 38 61 00 08 */ addi r3, r1, 8 +/* 80060758 0005D6B8 38 80 00 00 */ li r4, 0 +/* 8006075C 0005D6BC 48 2E 06 E5 */ bl __dt__6CTokenFv +lbl_80060760: +/* 80060760 0005D6C0 3B DE 00 08 */ addi r30, r30, 8 +/* 80060764 0005D6C4 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80060768: +/* 80060768 0005D6C8 80 1B 00 E0 */ lwz r0, 0xe0(r27) +/* 8006076C 0005D6CC 7C 1C 00 00 */ cmpw r28, r0 +/* 80060770 0005D6D0 41 80 FF 80 */ blt lbl_800606F0 +/* 80060774 0005D6D4 7F A3 EB 78 */ mr r3, r29 +/* 80060778 0005D6D8 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8006077C 0005D6DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80060780 0005D6E0 7C 08 03 A6 */ mtlr r0 +/* 80060784 0005D6E4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80060788 0005D6E8 4E 80 00 20 */ blr + +.global GetNumPartSizes__9CGameAreaCFv +GetNumPartSizes__9CGameAreaCFv: +/* 8006078C 0005D6EC 80 63 01 1C */ lwz r3, 0x11c(r3) +/* 80060790 0005D6F0 80 63 00 04 */ lwz r3, 4(r3) +/* 80060794 0005D6F4 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 80060798 0005D6F8 4E 80 00 20 */ blr + +.global AllocNewAreaData__9CGameAreaFii +AllocNewAreaData__9CGameAreaFii: +/* 8006079C 0005D6FC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800607A0 0005D700 7C 08 02 A6 */ mflr r0 +/* 800607A4 0005D704 3C C0 80 3D */ lis r6, lbl_803D6AA8@ha +/* 800607A8 0005D708 3C E0 80 3D */ lis r7, lbl_803CCFAC@ha +/* 800607AC 0005D70C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800607B0 0005D710 38 07 CF AC */ addi r0, r7, lbl_803CCFAC@l +/* 800607B4 0005D714 38 C6 6A A8 */ addi r6, r6, lbl_803D6AA8@l +/* 800607B8 0005D718 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800607BC 0005D71C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800607C0 0005D720 7C BE 2B 78 */ mr r30, r5 +/* 800607C4 0005D724 7C 05 03 78 */ mr r5, r0 +/* 800607C8 0005D728 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800607CC 0005D72C 7C 9D 23 78 */ mr r29, r4 +/* 800607D0 0005D730 38 80 FF FF */ li r4, -1 +/* 800607D4 0005D734 93 81 00 40 */ stw r28, 0x40(r1) +/* 800607D8 0005D738 7C 7C 1B 78 */ mr r28, r3 +/* 800607DC 0005D73C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800607E0 0005D740 48 27 5B F5 */ bl __ct__10CCallStackFUiPCcPCc +/* 800607E4 0005D744 7C 67 1B 78 */ mr r7, r3 +/* 800607E8 0005D748 7F C3 F3 78 */ mr r3, r30 +/* 800607EC 0005D74C 38 80 00 02 */ li r4, 2 +/* 800607F0 0005D750 38 A0 00 01 */ li r5, 1 +/* 800607F4 0005D754 38 C0 00 00 */ li r6, 0 +/* 800607F8 0005D758 48 2B 51 9D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 800607FC 0005D75C 7C 7F 1B 78 */ mr r31, r3 +/* 80060800 0005D760 38 00 00 00 */ li r0, 0 +/* 80060804 0005D764 7C 9F 00 D0 */ neg r4, r31 +/* 80060808 0005D768 93 C1 00 30 */ stw r30, 0x30(r1) +/* 8006080C 0005D76C 7C 84 FB 78 */ or r4, r4, r31 +/* 80060810 0005D770 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80060814 0005D774 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80060818 0005D778 98 81 00 10 */ stb r4, 0x10(r1) +/* 8006081C 0005D77C 98 81 00 28 */ stb r4, 0x28(r1) +/* 80060820 0005D780 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80060824 0005D784 98 01 00 10 */ stb r0, 0x10(r1) +/* 80060828 0005D788 48 00 00 08 */ b lbl_80060830 +/* 8006082C 0005D78C 48 2B 51 05 */ bl Free__7CMemoryFPCv +lbl_80060830: +/* 80060830 0005D790 80 1C 01 14 */ lwz r0, 0x114(r28) +/* 80060834 0005D794 80 BC 01 18 */ lwz r5, 0x118(r28) +/* 80060838 0005D798 7C 00 28 00 */ cmpw r0, r5 +/* 8006083C 0005D79C 41 80 00 1C */ blt lbl_80060858 +/* 80060840 0005D7A0 2C 05 00 00 */ cmpwi r5, 0 +/* 80060844 0005D7A4 38 7C 01 10 */ addi r3, r28, 0x110 +/* 80060848 0005D7A8 38 80 00 04 */ li r4, 4 +/* 8006084C 0005D7AC 41 82 00 08 */ beq lbl_80060854 +/* 80060850 0005D7B0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80060854: +/* 80060854 0005D7B4 48 00 3D 1D */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" +lbl_80060858: +/* 80060858 0005D7B8 80 1C 01 14 */ lwz r0, 0x114(r28) +/* 8006085C 0005D7BC 80 7C 01 1C */ lwz r3, 0x11c(r28) +/* 80060860 0005D7C0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80060864 0005D7C4 7C A3 02 15 */ add. r5, r3, r0 +/* 80060868 0005D7C8 41 82 00 24 */ beq lbl_8006088C +/* 8006086C 0005D7CC 88 01 00 28 */ lbz r0, 0x28(r1) +/* 80060870 0005D7D0 38 60 00 00 */ li r3, 0 +/* 80060874 0005D7D4 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 80060878 0005D7D8 98 05 00 00 */ stb r0, 0(r5) +/* 8006087C 0005D7DC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80060880 0005D7E0 90 85 00 04 */ stw r4, 4(r5) +/* 80060884 0005D7E4 98 61 00 28 */ stb r3, 0x28(r1) +/* 80060888 0005D7E8 90 05 00 08 */ stw r0, 8(r5) +lbl_8006088C: +/* 8006088C 0005D7EC 80 9C 01 14 */ lwz r4, 0x114(r28) +/* 80060890 0005D7F0 3C 60 4D 52 */ lis r3, 0x4D524541@ha +/* 80060894 0005D7F4 38 03 45 41 */ addi r0, r3, 0x4D524541@l +/* 80060898 0005D7F8 7F A5 EB 78 */ mr r5, r29 +/* 8006089C 0005D7FC 38 64 00 01 */ addi r3, r4, 1 +/* 800608A0 0005D800 7F C6 F3 78 */ mr r6, r30 +/* 800608A4 0005D804 90 7C 01 14 */ stw r3, 0x114(r28) +/* 800608A8 0005D808 7F E7 FB 78 */ mr r7, r31 +/* 800608AC 0005D80C 38 81 00 20 */ addi r4, r1, 0x20 +/* 800608B0 0005D810 81 1C 00 84 */ lwz r8, 0x84(r28) +/* 800608B4 0005D814 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800608B8 0005D818 90 01 00 20 */ stw r0, 0x20(r1) +/* 800608BC 0005D81C 38 63 00 04 */ addi r3, r3, 4 +/* 800608C0 0005D820 91 01 00 24 */ stw r8, 0x24(r1) +/* 800608C4 0005D824 48 2D B2 39 */ bl LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc +/* 800608C8 0005D828 7C 03 00 D0 */ neg r0, r3 +/* 800608CC 0005D82C 83 BC 01 00 */ lwz r29, 0x100(r28) +/* 800608D0 0005D830 7C 00 1B 78 */ or r0, r0, r3 +/* 800608D4 0005D834 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 800608D8 0005D838 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800608DC 0005D83C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800608E0 0005D840 83 DD 00 00 */ lwz r30, 0(r29) +/* 800608E4 0005D844 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 800608E8 0005D848 98 01 00 08 */ stb r0, 8(r1) +/* 800608EC 0005D84C 38 60 00 10 */ li r3, 0x10 +/* 800608F0 0005D850 38 A0 00 00 */ li r5, 0 +/* 800608F4 0005D854 48 2B 4F 25 */ bl __nwa__FUlPCcPCc +/* 800608F8 0005D858 28 03 00 00 */ cmplwi r3, 0 +/* 800608FC 0005D85C 41 82 00 0C */ beq lbl_80060908 +/* 80060900 0005D860 93 C3 00 00 */ stw r30, 0(r3) +/* 80060904 0005D864 93 A3 00 04 */ stw r29, 4(r3) +lbl_80060908: +/* 80060908 0005D868 34 C3 00 08 */ addic. r6, r3, 8 +/* 8006090C 0005D86C 41 82 00 1C */ beq lbl_80060928 +/* 80060910 0005D870 88 A1 00 08 */ lbz r5, 8(r1) +/* 80060914 0005D874 38 00 00 00 */ li r0, 0 +/* 80060918 0005D878 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8006091C 0005D87C 98 A6 00 00 */ stb r5, 0(r6) +/* 80060920 0005D880 90 86 00 04 */ stw r4, 4(r6) +/* 80060924 0005D884 98 01 00 08 */ stb r0, 8(r1) +lbl_80060928: +/* 80060928 0005D888 80 1C 00 FC */ lwz r0, 0xfc(r28) +/* 8006092C 0005D88C 7C 1D 00 40 */ cmplw r29, r0 +/* 80060930 0005D890 40 82 00 08 */ bne lbl_80060938 +/* 80060934 0005D894 90 7C 00 FC */ stw r3, 0xfc(r28) +lbl_80060938: +/* 80060938 0005D898 80 83 00 00 */ lwz r4, 0(r3) +/* 8006093C 0005D89C 88 01 00 08 */ lbz r0, 8(r1) +/* 80060940 0005D8A0 90 64 00 04 */ stw r3, 4(r4) +/* 80060944 0005D8A4 28 00 00 00 */ cmplwi r0, 0 +/* 80060948 0005D8A8 80 83 00 04 */ lwz r4, 4(r3) +/* 8006094C 0005D8AC 90 64 00 00 */ stw r3, 0(r4) +/* 80060950 0005D8B0 80 7C 01 0C */ lwz r3, 0x10c(r28) +/* 80060954 0005D8B4 38 03 00 01 */ addi r0, r3, 1 +/* 80060958 0005D8B8 90 1C 01 0C */ stw r0, 0x10c(r28) +/* 8006095C 0005D8BC 41 82 00 24 */ beq lbl_80060980 +/* 80060960 0005D8C0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80060964 0005D8C4 28 03 00 00 */ cmplwi r3, 0 +/* 80060968 0005D8C8 41 82 00 18 */ beq lbl_80060980 +/* 8006096C 0005D8CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80060970 0005D8D0 38 80 00 01 */ li r4, 1 +/* 80060974 0005D8D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80060978 0005D8D8 7D 89 03 A6 */ mtctr r12 +/* 8006097C 0005D8DC 4E 80 04 21 */ bctrl +lbl_80060980: +/* 80060980 0005D8E0 88 01 00 28 */ lbz r0, 0x28(r1) +/* 80060984 0005D8E4 28 00 00 00 */ cmplwi r0, 0 +/* 80060988 0005D8E8 41 82 00 0C */ beq lbl_80060994 +/* 8006098C 0005D8EC 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80060990 0005D8F0 48 2B 4F A1 */ bl Free__7CMemoryFPCv +lbl_80060994: +/* 80060994 0005D8F4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80060998 0005D8F8 7F E3 FB 78 */ mr r3, r31 +/* 8006099C 0005D8FC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800609A0 0005D900 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800609A4 0005D904 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800609A8 0005D908 83 81 00 40 */ lwz r28, 0x40(r1) +/* 800609AC 0005D90C 7C 08 03 A6 */ mtlr r0 +/* 800609B0 0005D910 38 21 00 50 */ addi r1, r1, 0x50 +/* 800609B4 0005D914 4E 80 00 20 */ blr + +.global Invalidate__9CGameAreaFP13CStateManager +Invalidate__9CGameAreaFP13CStateManager: +/* 800609B8 0005D918 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800609BC 0005D91C 7C 08 02 A6 */ mflr r0 +/* 800609C0 0005D920 90 01 00 34 */ stw r0, 0x34(r1) +/* 800609C4 0005D924 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800609C8 0005D928 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800609CC 0005D92C 7C 9E 23 78 */ mr r30, r4 +/* 800609D0 0005D930 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800609D4 0005D934 7C 7D 1B 78 */ mr r29, r3 +/* 800609D8 0005D938 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800609DC 0005D93C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800609E0 0005D940 40 82 00 9C */ bne lbl_80060A7C +/* 800609E4 0005D944 48 00 25 0D */ bl ClearTokenList__9CGameAreaFv +/* 800609E8 0005D948 83 FD 00 FC */ lwz r31, 0xfc(r29) +/* 800609EC 0005D94C 48 00 00 4C */ b lbl_80060A38 +lbl_800609F0: +/* 800609F0 0005D950 7F FE FB 78 */ mr r30, r31 +/* 800609F4 0005D954 83 FF 00 04 */ lwz r31, 4(r31) +/* 800609F8 0005D958 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800609FC 0005D95C 81 83 00 00 */ lwz r12, 0(r3) +/* 80060A00 0005D960 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80060A04 0005D964 7D 89 03 A6 */ mtctr r12 +/* 80060A08 0005D968 4E 80 04 21 */ bctrl +/* 80060A0C 0005D96C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80060A10 0005D970 40 82 00 1C */ bne lbl_80060A2C +/* 80060A14 0005D974 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80060A18 0005D978 81 83 00 00 */ lwz r12, 0(r3) +/* 80060A1C 0005D97C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80060A20 0005D980 7D 89 03 A6 */ mtctr r12 +/* 80060A24 0005D984 4E 80 04 21 */ bctrl +/* 80060A28 0005D988 48 00 00 10 */ b lbl_80060A38 +lbl_80060A2C: +/* 80060A2C 0005D98C 7F C4 F3 78 */ mr r4, r30 +/* 80060A30 0005D990 38 7D 00 F8 */ addi r3, r29, 0xf8 +/* 80060A34 0005D994 48 00 3C 55 */ bl "pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv" +lbl_80060A38: +/* 80060A38 0005D998 80 1D 01 00 */ lwz r0, 0x100(r29) +/* 80060A3C 0005D99C 7C 1F 00 40 */ cmplw r31, r0 +/* 80060A40 0005D9A0 40 82 FF B0 */ bne lbl_800609F0 +/* 80060A44 0005D9A4 80 1D 01 0C */ lwz r0, 0x10c(r29) +/* 80060A48 0005D9A8 2C 00 00 00 */ cmpwi r0, 0 +/* 80060A4C 0005D9AC 41 82 00 0C */ beq lbl_80060A58 +/* 80060A50 0005D9B0 38 60 00 00 */ li r3, 0 +/* 80060A54 0005D9B4 48 00 00 D4 */ b lbl_80060B28 +lbl_80060A58: +/* 80060A58 0005D9B8 38 7D 01 2C */ addi r3, r29, 0x12c +/* 80060A5C 0005D9BC 38 80 00 00 */ li r4, 0 +/* 80060A60 0005D9C0 4B FF F6 71 */ bl sub_800600d0 +/* 80060A64 0005D9C4 38 00 00 00 */ li r0, 0 +/* 80060A68 0005D9C8 7F A3 EB 78 */ mr r3, r29 +/* 80060A6C 0005D9CC 90 1D 00 F4 */ stw r0, 0xf4(r29) +/* 80060A70 0005D9D0 48 00 00 D5 */ bl sub_80060b44 +/* 80060A74 0005D9D4 38 60 00 01 */ li r3, 1 +/* 80060A78 0005D9D8 48 00 00 B0 */ b lbl_80060B28 +lbl_80060A7C: +/* 80060A7C 0005D9DC 28 1E 00 00 */ cmplwi r30, 0 +/* 80060A80 0005D9E0 41 82 00 1C */ beq lbl_80060A9C +/* 80060A84 0005D9E4 80 1D 00 04 */ lwz r0, 4(r29) +/* 80060A88 0005D9E8 7F C3 F3 78 */ mr r3, r30 +/* 80060A8C 0005D9EC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80060A90 0005D9F0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80060A94 0005D9F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80060A98 0005D9F8 4B FE BB 41 */ bl PrepareAreaUnload__13CStateManagerF7TAreaId +lbl_80060A9C: +/* 80060A9C 0005D9FC 7F A3 EB 78 */ mr r3, r29 +/* 80060AA0 0005DA00 48 00 2F 45 */ bl GetPostConstructedSize__9CGameAreaCFv +/* 80060AA4 0005DA04 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) +/* 80060AA8 0005DA08 7C 03 00 50 */ subf r0, r3, r0 +/* 80060AAC 0005DA0C 7F A3 EB 78 */ mr r3, r29 +/* 80060AB0 0005DA10 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) +/* 80060AB4 0005DA14 4B FF EC F9 */ bl RemoveStaticGeometry__9CGameAreaFv +/* 80060AB8 0005DA18 38 7D 01 2C */ addi r3, r29, 0x12c +/* 80060ABC 0005DA1C 38 80 00 00 */ li r4, 0 +/* 80060AC0 0005DA20 4B FF F6 11 */ bl sub_800600d0 +/* 80060AC4 0005DA24 88 1D 00 F0 */ lbz r0, 0xf0(r29) +/* 80060AC8 0005DA28 38 80 00 00 */ li r4, 0 +/* 80060ACC 0005DA2C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80060AD0 0005DA30 7F A3 EB 78 */ mr r3, r29 +/* 80060AD4 0005DA34 98 1D 00 F0 */ stb r0, 0xf0(r29) +/* 80060AD8 0005DA38 88 1D 00 F0 */ lbz r0, 0xf0(r29) +/* 80060ADC 0005DA3C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80060AE0 0005DA40 98 1D 00 F0 */ stb r0, 0xf0(r29) +/* 80060AE4 0005DA44 90 9D 00 F4 */ stw r4, 0xf4(r29) +/* 80060AE8 0005DA48 48 00 02 99 */ bl CullDeadAreaRequests__9CGameAreaFv +/* 80060AEC 0005DA4C 7F A3 EB 78 */ mr r3, r29 +/* 80060AF0 0005DA50 48 00 00 55 */ bl sub_80060b44 +/* 80060AF4 0005DA54 38 00 00 00 */ li r0, 0 +/* 80060AF8 0005DA58 7F A3 EB 78 */ mr r3, r29 +/* 80060AFC 0005DA5C 90 1D 01 20 */ stw r0, 0x120(r29) +/* 80060B00 0005DA60 48 00 23 F1 */ bl ClearTokenList__9CGameAreaFv +/* 80060B04 0005DA64 28 1E 00 00 */ cmplwi r30, 0 +/* 80060B08 0005DA68 41 82 00 1C */ beq lbl_80060B24 +/* 80060B0C 0005DA6C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80060B10 0005DA70 7F C3 F3 78 */ mr r3, r30 +/* 80060B14 0005DA74 38 81 00 0C */ addi r4, r1, 0xc +/* 80060B18 0005DA78 90 01 00 08 */ stw r0, 8(r1) +/* 80060B1C 0005DA7C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80060B20 0005DA80 4B FE BA B5 */ bl AreaUnloaded__13CStateManagerF7TAreaId +lbl_80060B24: +/* 80060B24 0005DA84 38 60 00 01 */ li r3, 1 +lbl_80060B28: +/* 80060B28 0005DA88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80060B2C 0005DA8C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80060B30 0005DA90 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80060B34 0005DA94 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80060B38 0005DA98 7C 08 03 A6 */ mtlr r0 +/* 80060B3C 0005DA9C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80060B40 0005DAA0 4E 80 00 20 */ blr + +.global sub_80060b44 +sub_80060b44: +/* 80060B44 0005DAA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80060B48 0005DAA8 7C 08 02 A6 */ mflr r0 +/* 80060B4C 0005DAAC 38 63 01 10 */ addi r3, r3, 0x110 +/* 80060B50 0005DAB0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80060B54 0005DAB4 38 00 00 00 */ li r0, 0 +/* 80060B58 0005DAB8 38 81 00 08 */ addi r4, r1, 8 +/* 80060B5C 0005DABC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80060B60 0005DAC0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80060B64 0005DAC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80060B68 0005DAC8 48 00 00 21 */ bl sub_80060b88 +/* 80060B6C 0005DACC 38 61 00 08 */ addi r3, r1, 8 +/* 80060B70 0005DAD0 38 80 FF FF */ li r4, -1 +/* 80060B74 0005DAD4 48 00 01 51 */ bl sub_80060cc4 +/* 80060B78 0005DAD8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80060B7C 0005DADC 7C 08 03 A6 */ mtlr r0 +/* 80060B80 0005DAE0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80060B84 0005DAE4 4E 80 00 20 */ blr + +.global sub_80060b88 +sub_80060b88: +/* 80060B88 0005DAE8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80060B8C 0005DAEC 7C 08 02 A6 */ mflr r0 +/* 80060B90 0005DAF0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80060B94 0005DAF4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80060B98 0005DAF8 7C 9F 23 78 */ mr r31, r4 +/* 80060B9C 0005DAFC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80060BA0 0005DB00 7C 7E 1B 78 */ mr r30, r3 +/* 80060BA4 0005DB04 7C 1E F8 40 */ cmplw r30, r31 +/* 80060BA8 0005DB08 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80060BAC 0005DB0C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80060BB0 0005DB10 40 82 00 08 */ bne lbl_80060BB8 +/* 80060BB4 0005DB14 48 00 00 F0 */ b lbl_80060CA4 +lbl_80060BB8: +/* 80060BB8 0005DB18 80 1E 00 04 */ lwz r0, 4(r30) +/* 80060BBC 0005DB1C 83 9E 00 0C */ lwz r28, 0xc(r30) +/* 80060BC0 0005DB20 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80060BC4 0005DB24 93 81 00 0C */ stw r28, 0xc(r1) +/* 80060BC8 0005DB28 7F BC 02 14 */ add r29, r28, r0 +/* 80060BCC 0005DB2C 93 81 00 08 */ stw r28, 8(r1) +/* 80060BD0 0005DB30 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80060BD4 0005DB34 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80060BD8 0005DB38 48 00 00 28 */ b lbl_80060C00 +lbl_80060BDC: +/* 80060BDC 0005DB3C 28 1C 00 00 */ cmplwi r28, 0 +/* 80060BE0 0005DB40 41 82 00 1C */ beq lbl_80060BFC +/* 80060BE4 0005DB44 41 82 00 18 */ beq lbl_80060BFC +/* 80060BE8 0005DB48 88 1C 00 00 */ lbz r0, 0(r28) +/* 80060BEC 0005DB4C 28 00 00 00 */ cmplwi r0, 0 +/* 80060BF0 0005DB50 41 82 00 0C */ beq lbl_80060BFC +/* 80060BF4 0005DB54 80 7C 00 04 */ lwz r3, 4(r28) +/* 80060BF8 0005DB58 48 2B 4D 39 */ bl Free__7CMemoryFPCv +lbl_80060BFC: +/* 80060BFC 0005DB5C 3B 9C 00 0C */ addi r28, r28, 0xc +lbl_80060C00: +/* 80060C00 0005DB60 7C 1C E8 40 */ cmplw r28, r29 +/* 80060C04 0005DB64 40 82 FF D8 */ bne lbl_80060BDC +/* 80060C08 0005DB68 38 00 00 00 */ li r0, 0 +/* 80060C0C 0005DB6C 90 1E 00 04 */ stw r0, 4(r30) +/* 80060C10 0005DB70 80 9F 00 04 */ lwz r4, 4(r31) +/* 80060C14 0005DB74 2C 04 00 00 */ cmpwi r4, 0 +/* 80060C18 0005DB78 40 82 00 28 */ bne lbl_80060C40 +/* 80060C1C 0005DB7C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80060C20 0005DB80 28 03 00 00 */ cmplwi r3, 0 +/* 80060C24 0005DB84 41 82 00 08 */ beq lbl_80060C2C +/* 80060C28 0005DB88 48 2B 4D 09 */ bl Free__7CMemoryFPCv +lbl_80060C2C: +/* 80060C2C 0005DB8C 38 00 00 00 */ li r0, 0 +/* 80060C30 0005DB90 90 1E 00 04 */ stw r0, 4(r30) +/* 80060C34 0005DB94 90 1E 00 08 */ stw r0, 8(r30) +/* 80060C38 0005DB98 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80060C3C 0005DB9C 48 00 00 64 */ b lbl_80060CA0 +lbl_80060C40: +/* 80060C40 0005DBA0 7F C3 F3 78 */ mr r3, r30 +/* 80060C44 0005DBA4 48 00 39 2D */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" +/* 80060C48 0005DBA8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80060C4C 0005DBAC 38 60 00 00 */ li r3, 0 +/* 80060C50 0005DBB0 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 80060C54 0005DBB4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80060C58 0005DBB8 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80060C5C 0005DBBC 7C A6 02 14 */ add r5, r6, r0 +/* 80060C60 0005DBC0 48 00 00 30 */ b lbl_80060C90 +lbl_80060C64: +/* 80060C64 0005DBC4 28 04 00 00 */ cmplwi r4, 0 +/* 80060C68 0005DBC8 41 82 00 20 */ beq lbl_80060C88 +/* 80060C6C 0005DBCC 88 06 00 00 */ lbz r0, 0(r6) +/* 80060C70 0005DBD0 98 04 00 00 */ stb r0, 0(r4) +/* 80060C74 0005DBD4 80 06 00 04 */ lwz r0, 4(r6) +/* 80060C78 0005DBD8 90 04 00 04 */ stw r0, 4(r4) +/* 80060C7C 0005DBDC 98 66 00 00 */ stb r3, 0(r6) +/* 80060C80 0005DBE0 80 06 00 08 */ lwz r0, 8(r6) +/* 80060C84 0005DBE4 90 04 00 08 */ stw r0, 8(r4) +lbl_80060C88: +/* 80060C88 0005DBE8 38 84 00 0C */ addi r4, r4, 0xc +/* 80060C8C 0005DBEC 38 C6 00 0C */ addi r6, r6, 0xc +lbl_80060C90: +/* 80060C90 0005DBF0 7C 06 28 40 */ cmplw r6, r5 +/* 80060C94 0005DBF4 40 82 FF D0 */ bne lbl_80060C64 +/* 80060C98 0005DBF8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80060C9C 0005DBFC 90 1E 00 04 */ stw r0, 4(r30) +lbl_80060CA0: +/* 80060CA0 0005DC00 7F C3 F3 78 */ mr r3, r30 +lbl_80060CA4: +/* 80060CA4 0005DC04 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80060CA8 0005DC08 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80060CAC 0005DC0C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80060CB0 0005DC10 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80060CB4 0005DC14 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80060CB8 0005DC18 7C 08 03 A6 */ mtlr r0 +/* 80060CBC 0005DC1C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80060CC0 0005DC20 4E 80 00 20 */ blr + +.global sub_80060cc4 +sub_80060cc4: +/* 80060CC4 0005DC24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80060CC8 0005DC28 7C 08 02 A6 */ mflr r0 +/* 80060CCC 0005DC2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80060CD0 0005DC30 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80060CD4 0005DC34 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80060CD8 0005DC38 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80060CDC 0005DC3C 7C 9D 23 78 */ mr r29, r4 +/* 80060CE0 0005DC40 93 81 00 20 */ stw r28, 0x20(r1) +/* 80060CE4 0005DC44 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80060CE8 0005DC48 41 82 00 74 */ beq lbl_80060D5C +/* 80060CEC 0005DC4C 80 1C 00 04 */ lwz r0, 4(r28) +/* 80060CF0 0005DC50 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 80060CF4 0005DC54 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80060CF8 0005DC58 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80060CFC 0005DC5C 7F FE 02 14 */ add r31, r30, r0 +/* 80060D00 0005DC60 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80060D04 0005DC64 93 E1 00 08 */ stw r31, 8(r1) +/* 80060D08 0005DC68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80060D0C 0005DC6C 48 00 00 28 */ b lbl_80060D34 +lbl_80060D10: +/* 80060D10 0005DC70 28 1E 00 00 */ cmplwi r30, 0 +/* 80060D14 0005DC74 41 82 00 1C */ beq lbl_80060D30 +/* 80060D18 0005DC78 41 82 00 18 */ beq lbl_80060D30 +/* 80060D1C 0005DC7C 88 1E 00 00 */ lbz r0, 0(r30) +/* 80060D20 0005DC80 28 00 00 00 */ cmplwi r0, 0 +/* 80060D24 0005DC84 41 82 00 0C */ beq lbl_80060D30 +/* 80060D28 0005DC88 80 7E 00 04 */ lwz r3, 4(r30) +/* 80060D2C 0005DC8C 48 2B 4C 05 */ bl Free__7CMemoryFPCv +lbl_80060D30: +/* 80060D30 0005DC90 3B DE 00 0C */ addi r30, r30, 0xc +lbl_80060D34: +/* 80060D34 0005DC94 7C 1E F8 40 */ cmplw r30, r31 +/* 80060D38 0005DC98 40 82 FF D8 */ bne lbl_80060D10 +/* 80060D3C 0005DC9C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80060D40 0005DCA0 28 03 00 00 */ cmplwi r3, 0 +/* 80060D44 0005DCA4 41 82 00 08 */ beq lbl_80060D4C +/* 80060D48 0005DCA8 48 2B 4B E9 */ bl Free__7CMemoryFPCv +lbl_80060D4C: +/* 80060D4C 0005DCAC 7F A0 07 35 */ extsh. r0, r29 +/* 80060D50 0005DCB0 40 81 00 0C */ ble lbl_80060D5C +/* 80060D54 0005DCB4 7F 83 E3 78 */ mr r3, r28 +/* 80060D58 0005DCB8 48 2B 4B D9 */ bl Free__7CMemoryFPCv +lbl_80060D5C: +/* 80060D5C 0005DCBC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80060D60 0005DCC0 7F 83 E3 78 */ mr r3, r28 +/* 80060D64 0005DCC4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80060D68 0005DCC8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80060D6C 0005DCCC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80060D70 0005DCD0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80060D74 0005DCD4 7C 08 03 A6 */ mtlr r0 +/* 80060D78 0005DCD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80060D7C 0005DCDC 4E 80 00 20 */ blr + +.global CullDeadAreaRequests__9CGameAreaFv +CullDeadAreaRequests__9CGameAreaFv: +/* 80060D80 0005DCE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80060D84 0005DCE4 7C 08 02 A6 */ mflr r0 +/* 80060D88 0005DCE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80060D8C 0005DCEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80060D90 0005DCF0 7C 7F 1B 78 */ mr r31, r3 +/* 80060D94 0005DCF4 48 00 00 10 */ b lbl_80060DA4 +lbl_80060D98: +/* 80060D98 0005DCF8 80 9F 00 FC */ lwz r4, 0xfc(r31) +/* 80060D9C 0005DCFC 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 80060DA0 0005DD00 48 00 38 E9 */ bl "pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv" +lbl_80060DA4: +/* 80060DA4 0005DD04 80 1F 01 0C */ lwz r0, 0x10c(r31) +/* 80060DA8 0005DD08 2C 00 00 00 */ cmpwi r0, 0 +/* 80060DAC 0005DD0C 41 82 00 24 */ beq lbl_80060DD0 +/* 80060DB0 0005DD10 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 80060DB4 0005DD14 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80060DB8 0005DD18 81 83 00 00 */ lwz r12, 0(r3) +/* 80060DBC 0005DD1C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80060DC0 0005DD20 7D 89 03 A6 */ mtctr r12 +/* 80060DC4 0005DD24 4E 80 04 21 */ bctrl +/* 80060DC8 0005DD28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80060DCC 0005DD2C 40 82 FF CC */ bne lbl_80060D98 +lbl_80060DD0: +/* 80060DD0 0005DD30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80060DD4 0005DD34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80060DD8 0005DD38 7C 08 03 A6 */ mtlr r0 +/* 80060DDC 0005DD3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80060DE0 0005DD40 4E 80 00 20 */ blr + +.global StartStreamIn__9CGameAreaFR13CStateManager +StartStreamIn__9CGameAreaFR13CStateManager: +/* 80060DE4 0005DD44 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80060DE8 0005DD48 7C 08 02 A6 */ mflr r0 +/* 80060DEC 0005DD4C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80060DF0 0005DD50 BF 21 00 24 */ stmw r25, 0x24(r1) +/* 80060DF4 0005DD54 7C 7A 1B 78 */ mr r26, r3 +/* 80060DF8 0005DD58 7C 9B 23 78 */ mr r27, r4 +/* 80060DFC 0005DD5C 88 A3 00 F0 */ lbz r5, 0xf0(r3) +/* 80060E00 0005DD60 80 C4 0B 3C */ lwz r6, 0xb3c(r4) +/* 80060E04 0005DD64 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f +/* 80060E08 0005DD68 20 C6 00 02 */ subfic r6, r6, 2 +/* 80060E0C 0005DD6C 7C C6 00 34 */ cntlzw r6, r6 +/* 80060E10 0005DD70 54 DF D9 7E */ srwi r31, r6, 5 +/* 80060E14 0005DD74 40 82 01 38 */ bne lbl_80060F4C +/* 80060E18 0005DD78 54 A0 E7 FF */ rlwinm. r0, r5, 0x1c, 0x1f, 0x1f +/* 80060E1C 0005DD7C 40 82 01 30 */ bne lbl_80060F4C +/* 80060E20 0005DD80 48 00 1F 65 */ bl VerifyTokenList__9CGameAreaFv +/* 80060E24 0005DD84 88 1A 00 F0 */ lbz r0, 0xf0(r26) +/* 80060E28 0005DD88 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80060E2C 0005DD8C 40 82 00 EC */ bne lbl_80060F18 +/* 80060E30 0005DD90 3B A0 00 00 */ li r29, 0 +/* 80060E34 0005DD94 3B 80 00 00 */ li r28, 0 +/* 80060E38 0005DD98 3B C0 00 00 */ li r30, 0 +/* 80060E3C 0005DD9C 48 00 00 B0 */ b lbl_80060EEC +lbl_80060E40: +/* 80060E40 0005DDA0 80 1A 00 E8 */ lwz r0, 0xe8(r26) +/* 80060E44 0005DDA4 7F 20 F2 14 */ add r25, r0, r30 +/* 80060E48 0005DDA8 80 79 00 00 */ lwz r3, 0(r25) +/* 80060E4C 0005DDAC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80060E50 0005DDB0 28 00 00 00 */ cmplwi r0, 0 +/* 80060E54 0005DDB4 41 82 00 60 */ beq lbl_80060EB4 +/* 80060E58 0005DDB8 7F 23 CB 78 */ mr r3, r25 +/* 80060E5C 0005DDBC 48 2D FF 29 */ bl Lock__6CTokenFv +/* 80060E60 0005DDC0 80 79 00 00 */ lwz r3, 0(r25) +/* 80060E64 0005DDC4 80 63 00 04 */ lwz r3, 4(r3) +/* 80060E68 0005DDC8 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 80060E6C 0005DDCC 28 00 54 52 */ cmplwi r0, 0x5452 +/* 80060E70 0005DDD0 40 82 00 74 */ bne lbl_80060EE4 +/* 80060E74 0005DDD4 7F 24 CB 78 */ mr r4, r25 +/* 80060E78 0005DDD8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80060E7C 0005DDDC 48 2E 00 2D */ bl __ct__6CTokenFRC6CToken +/* 80060E80 0005DDE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80060E84 0005DDE4 48 2D FF 89 */ bl GetObj__6CTokenFv +/* 80060E88 0005DDE8 83 23 00 04 */ lwz r25, 4(r3) +/* 80060E8C 0005DDEC 7F 23 CB 78 */ mr r3, r25 +/* 80060E90 0005DDF0 48 2A D3 29 */ bl MakeSwappable__8CTextureCFv +/* 80060E94 0005DDF4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80060E98 0005DDF8 41 82 00 0C */ beq lbl_80060EA4 +/* 80060E9C 0005DDFC 7F 23 CB 78 */ mr r3, r25 +/* 80060EA0 0005DE00 48 2A DC E1 */ bl LoadToARAM__8CTextureCFv +lbl_80060EA4: +/* 80060EA4 0005DE04 38 61 00 10 */ addi r3, r1, 0x10 +/* 80060EA8 0005DE08 38 80 00 00 */ li r4, 0 +/* 80060EAC 0005DE0C 48 2D FF 95 */ bl __dt__6CTokenFv +/* 80060EB0 0005DE10 48 00 00 34 */ b lbl_80060EE4 +lbl_80060EB4: +/* 80060EB4 0005DE14 80 BA 00 84 */ lwz r5, 0x84(r26) +/* 80060EB8 0005DE18 3C 60 4D 52 */ lis r3, 0x4D524541@ha +/* 80060EBC 0005DE1C 38 03 45 41 */ addi r0, r3, 0x4D524541@l +/* 80060EC0 0005DE20 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80060EC4 0005DE24 90 01 00 08 */ stw r0, 8(r1) +/* 80060EC8 0005DE28 38 81 00 08 */ addi r4, r1, 8 +/* 80060ECC 0005DE2C 38 63 00 04 */ addi r3, r3, 4 +/* 80060ED0 0005DE30 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80060ED4 0005DE34 48 2D B0 A5 */ bl FindResource__10CResLoaderCFRC10SObjectTag +/* 80060ED8 0005DE38 7F 23 CB 78 */ mr r3, r25 +/* 80060EDC 0005DE3C 48 2D FE A9 */ bl Lock__6CTokenFv +/* 80060EE0 0005DE40 3B BD 00 01 */ addi r29, r29, 1 +lbl_80060EE4: +/* 80060EE4 0005DE44 3B DE 00 08 */ addi r30, r30, 8 +/* 80060EE8 0005DE48 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80060EEC: +/* 80060EEC 0005DE4C 80 1A 00 E0 */ lwz r0, 0xe0(r26) +/* 80060EF0 0005DE50 7C 1C 00 00 */ cmpw r28, r0 +/* 80060EF4 0005DE54 41 80 FF 4C */ blt lbl_80060E40 +/* 80060EF8 0005DE58 2C 1D 00 00 */ cmpwi r29, 0 +/* 80060EFC 0005DE5C 40 82 00 50 */ bne lbl_80060F4C +/* 80060F00 0005DE60 88 1A 00 F0 */ lbz r0, 0xf0(r26) +/* 80060F04 0005DE64 38 60 00 01 */ li r3, 1 +/* 80060F08 0005DE68 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80060F0C 0005DE6C 98 1A 00 F0 */ stb r0, 0xf0(r26) +/* 80060F10 0005DE70 48 00 00 08 */ b lbl_80060F18 +/* 80060F14 0005DE74 48 00 00 38 */ b lbl_80060F4C +lbl_80060F18: +/* 80060F18 0005DE78 7F 43 D3 78 */ mr r3, r26 +/* 80060F1C 0005DE7C 4B FF EC D9 */ bl StartStreamingMainArea__9CGameAreaFv +/* 80060F20 0005DE80 80 1A 00 F4 */ lwz r0, 0xf4(r26) +/* 80060F24 0005DE84 2C 00 00 04 */ cmpwi r0, 4 +/* 80060F28 0005DE88 40 82 00 24 */ bne lbl_80060F4C +/* 80060F2C 0005DE8C 7F 43 D3 78 */ mr r3, r26 +/* 80060F30 0005DE90 4B FF FE 51 */ bl CullDeadAreaRequests__9CGameAreaFv +/* 80060F34 0005DE94 80 1A 01 0C */ lwz r0, 0x10c(r26) +/* 80060F38 0005DE98 2C 00 00 00 */ cmpwi r0, 0 +/* 80060F3C 0005DE9C 40 82 00 10 */ bne lbl_80060F4C +/* 80060F40 0005DEA0 7F 43 D3 78 */ mr r3, r26 +/* 80060F44 0005DEA4 7F 64 DB 78 */ mr r4, r27 +/* 80060F48 0005DEA8 48 00 01 5D */ bl Validate__9CGameAreaFR13CStateManager +lbl_80060F4C: +/* 80060F4C 0005DEAC BB 21 00 24 */ lmw r25, 0x24(r1) +/* 80060F50 0005DEB0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80060F54 0005DEB4 7C 08 03 A6 */ mtlr r0 +/* 80060F58 0005DEB8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80060F5C 0005DEBC 4E 80 00 20 */ blr + +.global LoadScriptObjects__9CGameAreaFR13CStateManager +LoadScriptObjects__9CGameAreaFR13CStateManager: +/* 80060F60 0005DEC0 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80060F64 0005DEC4 7C 08 02 A6 */ mflr r0 +/* 80060F68 0005DEC8 90 01 00 94 */ stw r0, 0x94(r1) +/* 80060F6C 0005DECC 38 00 00 00 */ li r0, 0 +/* 80060F70 0005DED0 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 80060F74 0005DED4 7C 9C 23 78 */ mr r28, r4 +/* 80060F78 0005DED8 7C 7B 1B 78 */ mr r27, r3 +/* 80060F7C 0005DEDC 38 81 00 2C */ addi r4, r1, 0x2c +/* 80060F80 0005DEE0 90 01 00 40 */ stw r0, 0x40(r1) +/* 80060F84 0005DEE4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80060F88 0005DEE8 90 01 00 48 */ stw r0, 0x48(r1) +/* 80060F8C 0005DEEC 80 7C 08 C8 */ lwz r3, 0x8c8(r28) +/* 80060F90 0005DEF0 80 1B 00 04 */ lwz r0, 4(r27) +/* 80060F94 0005DEF4 83 C3 00 00 */ lwz r30, 0(r3) +/* 80060F98 0005DEF8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80060F9C 0005DEFC 7F C3 F3 78 */ mr r3, r30 +/* 80060FA0 0005DF00 48 1D 30 15 */ bl GetAreaLayerCount__16CWorldLayerStateFi +/* 80060FA4 0005DF04 7C 7F 1B 78 */ mr r31, r3 +/* 80060FA8 0005DF08 3B A0 00 00 */ li r29, 0 +/* 80060FAC 0005DF0C 48 00 00 90 */ b lbl_8006103C +lbl_80060FB0: +/* 80060FB0 0005DF10 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80060FB4 0005DF14 7F C3 F3 78 */ mr r3, r30 +/* 80060FB8 0005DF18 38 81 00 28 */ addi r4, r1, 0x28 +/* 80060FBC 0005DF1C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80060FC0 0005DF20 80 1B 00 04 */ lwz r0, 4(r27) +/* 80060FC4 0005DF24 93 A1 00 30 */ stw r29, 0x30(r1) +/* 80060FC8 0005DF28 90 01 00 28 */ stw r0, 0x28(r1) +/* 80060FCC 0005DF2C 48 1D 32 A5 */ bl IsLayerActive__16CWorldLayerStateFii +/* 80060FD0 0005DF30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80060FD4 0005DF34 41 82 00 64 */ beq lbl_80061038 +/* 80060FD8 0005DF38 7F A0 EB 78 */ mr r0, r29 +/* 80060FDC 0005DF3C 7F 64 DB 78 */ mr r4, r27 +/* 80060FE0 0005DF40 90 01 00 20 */ stw r0, 0x20(r1) +/* 80060FE4 0005DF44 38 61 00 34 */ addi r3, r1, 0x34 +/* 80060FE8 0005DF48 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80060FEC 0005DF4C 4B FF D3 01 */ bl GetLayerScriptBuffer__9CGameAreaFi +/* 80060FF0 0005DF50 80 81 00 34 */ lwz r4, 0x34(r1) +/* 80060FF4 0005DF54 38 61 00 4C */ addi r3, r1, 0x4c +/* 80060FF8 0005DF58 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 80060FFC 0005DF5C 48 2D E1 D1 */ bl __ct__15CMemoryInStreamFPCvUl +/* 80061000 0005DF60 80 1B 00 04 */ lwz r0, 4(r27) +/* 80061004 0005DF64 7F 83 E3 78 */ mr r3, r28 +/* 80061008 0005DF68 38 81 00 1C */ addi r4, r1, 0x1c +/* 8006100C 0005DF6C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 80061010 0005DF70 90 01 00 18 */ stw r0, 0x18(r1) +/* 80061014 0005DF74 38 C1 00 3C */ addi r6, r1, 0x3c +/* 80061018 0005DF78 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8006101C 0005DF7C 4B FE 71 59 */ bl LoadScriptObjects__13CStateManagerF7TAreaIdR12CInputStreamQ213CStateManager18EScriptPersistence +/* 80061020 0005DF80 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80061024 0005DF84 38 61 00 4C */ addi r3, r1, 0x4c +/* 80061028 0005DF88 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8006102C 0005DF8C 38 80 00 00 */ li r4, 0 +/* 80061030 0005DF90 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80061034 0005DF94 48 2D E0 79 */ bl __dt__12CInputStreamFv +lbl_80061038: +/* 80061038 0005DF98 3B BD 00 01 */ addi r29, r29, 1 +lbl_8006103C: +/* 8006103C 0005DF9C 7C 1D F8 00 */ cmpw r29, r31 +/* 80061040 0005DFA0 41 80 FF 70 */ blt lbl_80060FB0 +/* 80061044 0005DFA4 7F 83 E3 78 */ mr r3, r28 +/* 80061048 0005DFA8 38 81 00 3C */ addi r4, r1, 0x3c +/* 8006104C 0005DFAC 4B FE 70 65 */ bl "InitScriptObjects__13CStateManagerFRCQ24rstl18vector<9TEditorId>" +/* 80061050 0005DFB0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80061054 0005DFB4 80 61 00 48 */ lwz r3, 0x48(r1) +/* 80061058 0005DFB8 54 00 10 3A */ slwi r0, r0, 2 +/* 8006105C 0005DFBC 7C 03 02 14 */ add r0, r3, r0 +/* 80061060 0005DFC0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80061064 0005DFC4 7C 64 1B 78 */ mr r4, r3 +/* 80061068 0005DFC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006106C 0005DFCC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80061070 0005DFD0 90 61 00 08 */ stw r3, 8(r1) +/* 80061074 0005DFD4 48 00 00 08 */ b lbl_8006107C +lbl_80061078: +/* 80061078 0005DFD8 38 84 00 04 */ addi r4, r4, 4 +lbl_8006107C: +/* 8006107C 0005DFDC 7C 04 00 40 */ cmplw r4, r0 +/* 80061080 0005DFE0 40 82 FF F8 */ bne lbl_80061078 +/* 80061084 0005DFE4 28 03 00 00 */ cmplwi r3, 0 +/* 80061088 0005DFE8 41 82 00 08 */ beq lbl_80061090 +/* 8006108C 0005DFEC 48 2B 48 A5 */ bl Free__7CMemoryFPCv +lbl_80061090: +/* 80061090 0005DFF0 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 80061094 0005DFF4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80061098 0005DFF8 7C 08 03 A6 */ mtlr r0 +/* 8006109C 0005DFFC 38 21 00 90 */ addi r1, r1, 0x90 +/* 800610A0 0005E000 4E 80 00 20 */ blr + +.global Validate__9CGameAreaFR13CStateManager +Validate__9CGameAreaFR13CStateManager: +/* 800610A4 0005E004 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800610A8 0005E008 7C 08 02 A6 */ mflr r0 +/* 800610AC 0005E00C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800610B0 0005E010 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800610B4 0005E014 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800610B8 0005E018 7C 9E 23 78 */ mr r30, r4 +/* 800610BC 0005E01C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800610C0 0005E020 7C 7D 1B 78 */ mr r29, r3 +/* 800610C4 0005E024 93 81 00 30 */ stw r28, 0x30(r1) +/* 800610C8 0005E028 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800610CC 0005E02C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800610D0 0005E030 40 82 02 00 */ bne lbl_800612D0 +lbl_800610D4: +/* 800610D4 0005E034 7F A3 EB 78 */ mr r3, r29 +/* 800610D8 0005E038 4B FF EB 1D */ bl StartStreamingMainArea__9CGameAreaFv +/* 800610DC 0005E03C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800610E0 0005E040 40 82 FF F4 */ bne lbl_800610D4 +/* 800610E4 0005E044 83 FD 00 FC */ lwz r31, 0xfc(r29) +/* 800610E8 0005E048 48 00 00 24 */ b lbl_8006110C +lbl_800610EC: +/* 800610EC 0005E04C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800610F0 0005E050 28 03 00 00 */ cmplwi r3, 0 +/* 800610F4 0005E054 41 82 00 14 */ beq lbl_80061108 +/* 800610F8 0005E058 81 83 00 00 */ lwz r12, 0(r3) +/* 800610FC 0005E05C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80061100 0005E060 7D 89 03 A6 */ mtctr r12 +/* 80061104 0005E064 4E 80 04 21 */ bctrl +lbl_80061108: +/* 80061108 0005E068 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8006110C: +/* 8006110C 0005E06C 80 1D 01 00 */ lwz r0, 0x100(r29) +/* 80061110 0005E070 7C 1F 00 40 */ cmplw r31, r0 +/* 80061114 0005E074 40 82 FF D8 */ bne lbl_800610EC +/* 80061118 0005E078 80 1D 00 E0 */ lwz r0, 0xe0(r29) +/* 8006111C 0005E07C 2C 00 00 00 */ cmpwi r0, 0 +/* 80061120 0005E080 40 82 00 74 */ bne lbl_80061194 +/* 80061124 0005E084 7F A3 EB 78 */ mr r3, r29 +/* 80061128 0005E088 7F C4 F3 78 */ mr r4, r30 +/* 8006112C 0005E08C 48 00 1C 59 */ bl VerifyTokenList__9CGameAreaFv +/* 80061130 0005E090 83 FD 00 E8 */ lwz r31, 0xe8(r29) +/* 80061134 0005E094 48 00 00 10 */ b lbl_80061144 +lbl_80061138: +/* 80061138 0005E098 7F E3 FB 78 */ mr r3, r31 +/* 8006113C 0005E09C 48 2D FC 49 */ bl Lock__6CTokenFv +/* 80061140 0005E0A0 3B FF 00 08 */ addi r31, r31, 8 +lbl_80061144: +/* 80061144 0005E0A4 80 1D 00 E0 */ lwz r0, 0xe0(r29) +/* 80061148 0005E0A8 83 9D 00 E8 */ lwz r28, 0xe8(r29) +/* 8006114C 0005E0AC 54 00 18 38 */ slwi r0, r0, 3 +/* 80061150 0005E0B0 7C 1C 02 14 */ add r0, r28, r0 +/* 80061154 0005E0B4 7C 1F 00 40 */ cmplw r31, r0 +/* 80061158 0005E0B8 40 82 FF E0 */ bne lbl_80061138 +/* 8006115C 0005E0BC 48 00 00 10 */ b lbl_8006116C +lbl_80061160: +/* 80061160 0005E0C0 7F 83 E3 78 */ mr r3, r28 +/* 80061164 0005E0C4 48 2D FC A9 */ bl GetObj__6CTokenFv +/* 80061168 0005E0C8 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8006116C: +/* 8006116C 0005E0CC 80 1D 00 E0 */ lwz r0, 0xe0(r29) +/* 80061170 0005E0D0 80 7D 00 E8 */ lwz r3, 0xe8(r29) +/* 80061174 0005E0D4 54 00 18 38 */ slwi r0, r0, 3 +/* 80061178 0005E0D8 7C 03 02 14 */ add r0, r3, r0 +/* 8006117C 0005E0DC 7C 1C 00 40 */ cmplw r28, r0 +/* 80061180 0005E0E0 40 82 FF E0 */ bne lbl_80061160 +/* 80061184 0005E0E4 88 1D 00 F0 */ lbz r0, 0xf0(r29) +/* 80061188 0005E0E8 38 60 00 01 */ li r3, 1 +/* 8006118C 0005E0EC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80061190 0005E0F0 98 1D 00 F0 */ stb r0, 0xf0(r29) +lbl_80061194: +/* 80061194 0005E0F4 83 FD 01 00 */ lwz r31, 0x100(r29) +/* 80061198 0005E0F8 80 9D 00 FC */ lwz r4, 0xfc(r29) +/* 8006119C 0005E0FC 48 00 00 10 */ b lbl_800611AC +lbl_800611A0: +/* 800611A0 0005E100 38 7D 00 F8 */ addi r3, r29, 0xf8 +/* 800611A4 0005E104 48 00 34 E5 */ bl "pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv" +/* 800611A8 0005E108 7C 64 1B 78 */ mr r4, r3 +lbl_800611AC: +/* 800611AC 0005E10C 7C 04 F8 40 */ cmplw r4, r31 +/* 800611B0 0005E110 40 82 FF F0 */ bne lbl_800611A0 +/* 800611B4 0005E114 38 00 00 00 */ li r0, 0 +/* 800611B8 0005E118 7F A3 EB 78 */ mr r3, r29 +/* 800611BC 0005E11C 90 1D 00 F4 */ stw r0, 0xf4(r29) +/* 800611C0 0005E120 48 00 01 31 */ bl PostConstructArea__9CGameAreaFv +/* 800611C4 0005E124 80 7D 00 04 */ lwz r3, 4(r29) +/* 800611C8 0005E128 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800611CC 0005E12C 7C 03 00 00 */ cmpw r3, r0 +/* 800611D0 0005E130 41 82 00 18 */ beq lbl_800611E8 +/* 800611D4 0005E134 80 1D 00 04 */ lwz r0, 4(r29) +/* 800611D8 0005E138 38 81 00 28 */ addi r4, r1, 0x28 +/* 800611DC 0005E13C 90 01 00 28 */ stw r0, 0x28(r1) +/* 800611E0 0005E140 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 800611E4 0005E144 4B FF 4D D5 */ bl MoveAreaToChain3__6CWorldF7TAreaId +lbl_800611E8: +/* 800611E8 0005E148 7F A3 EB 78 */ mr r3, r29 +/* 800611EC 0005E14C 7F C4 F3 78 */ mr r4, r30 +/* 800611F0 0005E150 4B FF FD 71 */ bl LoadScriptObjects__9CGameAreaFR13CStateManager +/* 800611F4 0005E154 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 800611F8 0005E158 80 03 00 A0 */ lwz r0, 0xa0(r3) +/* 800611FC 0005E15C 28 00 00 00 */ cmplwi r0, 0 +/* 80061200 0005E160 41 82 00 A8 */ beq lbl_800612A8 +/* 80061204 0005E164 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 80061208 0005E168 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8006120C 0005E16C 41 82 00 9C */ beq lbl_800612A8 +/* 80061210 0005E170 3B E0 00 00 */ li r31, 0 +/* 80061214 0005E174 48 00 00 80 */ b lbl_80061294 +lbl_80061218: +/* 80061218 0005E178 80 64 00 A0 */ lwz r3, 0xa0(r4) +/* 8006121C 0005E17C 7F E4 FB 78 */ mr r4, r31 +/* 80061220 0005E180 48 24 D1 C5 */ bl GetEntityIdByIndex__13CPVSVisOctreeFi +/* 80061224 0005E184 80 1D 00 04 */ lwz r0, 4(r29) +/* 80061228 0005E188 7F C4 F3 78 */ mr r4, r30 +/* 8006122C 0005E18C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80061230 0005E190 54 00 80 1E */ slwi r0, r0, 0x10 +/* 80061234 0005E194 7C 60 03 78 */ or r0, r3, r0 +/* 80061238 0005E198 38 61 00 0C */ addi r3, r1, 0xc +/* 8006123C 0005E19C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80061240 0005E1A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80061244 0005E1A4 4B FE 6C D9 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80061248 0005E1A8 A0 C1 00 0C */ lhz r6, 0xc(r1) +/* 8006124C 0005E1AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80061250 0005E1B0 B0 C1 00 10 */ sth r6, 0x10(r1) +/* 80061254 0005E1B4 7C 06 00 40 */ cmplw r6, r0 +/* 80061258 0005E1B8 41 82 00 38 */ beq lbl_80061290 +/* 8006125C 0005E1BC 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80061260 0005E1C0 54 C0 15 3A */ rlwinm r0, r6, 2, 0x14, 0x1d +/* 80061264 0005E1C4 B0 C1 00 08 */ sth r6, 8(r1) +/* 80061268 0005E1C8 80 83 00 A0 */ lwz r4, 0xa0(r3) +/* 8006126C 0005E1CC 7C A3 02 14 */ add r5, r3, r0 +/* 80061270 0005E1D0 B0 C1 00 1E */ sth r6, 0x1e(r1) +/* 80061274 0005E1D4 80 64 00 0C */ lwz r3, 0xc(r4) +/* 80061278 0005E1D8 80 04 00 00 */ lwz r0, 0(r4) +/* 8006127C 0005E1DC 7C 03 00 50 */ subf r0, r3, r0 +/* 80061280 0005E1E0 7C 1F 02 14 */ add r0, r31, r0 +/* 80061284 0005E1E4 B0 05 00 A8 */ sth r0, 0xa8(r5) +/* 80061288 0005E1E8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8006128C 0005E1EC B0 C5 00 AA */ sth r6, 0xaa(r5) +lbl_80061290: +/* 80061290 0005E1F0 3B FF 00 01 */ addi r31, r31, 1 +lbl_80061294: +/* 80061294 0005E1F4 80 9D 01 2C */ lwz r4, 0x12c(r29) +/* 80061298 0005E1F8 80 64 00 A0 */ lwz r3, 0xa0(r4) +/* 8006129C 0005E1FC 80 03 00 0C */ lwz r0, 0xc(r3) +/* 800612A0 0005E200 7C 1F 00 00 */ cmpw r31, r0 +/* 800612A4 0005E204 41 80 FF 74 */ blt lbl_80061218 +lbl_800612A8: +/* 800612A8 0005E208 88 1D 00 F0 */ lbz r0, 0xf0(r29) +/* 800612AC 0005E20C 38 60 00 01 */ li r3, 1 +/* 800612B0 0005E210 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800612B4 0005E214 7F C3 F3 78 */ mr r3, r30 +/* 800612B8 0005E218 98 1D 00 F0 */ stb r0, 0xf0(r29) +/* 800612BC 0005E21C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800612C0 0005E220 80 1D 00 04 */ lwz r0, 4(r29) +/* 800612C4 0005E224 90 01 00 14 */ stw r0, 0x14(r1) +/* 800612C8 0005E228 90 01 00 18 */ stw r0, 0x18(r1) +/* 800612CC 0005E22C 4B FE B3 CD */ bl AreaLoaded__13CStateManagerF7TAreaId +lbl_800612D0: +/* 800612D0 0005E230 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800612D4 0005E234 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800612D8 0005E238 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800612DC 0005E23C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800612E0 0005E240 83 81 00 30 */ lwz r28, 0x30(r1) +/* 800612E4 0005E244 7C 08 03 A6 */ mtlr r0 +/* 800612E8 0005E248 38 21 00 40 */ addi r1, r1, 0x40 +/* 800612EC 0005E24C 4E 80 00 20 */ blr + +.global PostConstructArea__9CGameAreaFv +PostConstructArea__9CGameAreaFv: +/* 800612F0 0005E250 94 21 FC C0 */ stwu r1, -0x340(r1) +/* 800612F4 0005E254 7C 08 02 A6 */ mflr r0 +/* 800612F8 0005E258 90 01 03 44 */ stw r0, 0x344(r1) +/* 800612FC 0005E25C BE C1 03 18 */ stmw r22, 0x318(r1) +/* 80061300 0005E260 7C 7F 1B 78 */ mr r31, r3 +/* 80061304 0005E264 48 00 27 99 */ bl VerifyHeader__9CGameAreaCFv +/* 80061308 0005E268 83 5F 01 1C */ lwz r26, 0x11c(r31) +/* 8006130C 0005E26C 7C 7E 1B 78 */ mr r30, r3 +/* 80061310 0005E270 3B 7F 00 0C */ addi r27, r31, 0xc +/* 80061314 0005E274 3B 80 00 00 */ li r28, 0 +/* 80061318 0005E278 83 3A 00 04 */ lwz r25, 4(r26) +/* 8006131C 0005E27C 3B 19 00 08 */ addi r24, r25, 8 +lbl_80061320: +/* 80061320 0005E280 80 D8 00 00 */ lwz r6, 0(r24) +/* 80061324 0005E284 7F 63 DB 78 */ mr r3, r27 +/* 80061328 0005E288 80 B8 00 04 */ lwz r5, 4(r24) +/* 8006132C 0005E28C 38 81 00 AC */ addi r4, r1, 0xac +/* 80061330 0005E290 80 18 00 08 */ lwz r0, 8(r24) +/* 80061334 0005E294 90 C1 00 84 */ stw r6, 0x84(r1) +/* 80061338 0005E298 C0 22 87 20 */ lfs f1, lbl_805AA440@sda21(r2) +/* 8006133C 0005E29C 90 A1 00 88 */ stw r5, 0x88(r1) +/* 80061340 0005E2A0 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80061344 0005E2A4 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80061348 0005E2A8 C0 61 00 88 */ lfs f3, 0x88(r1) +/* 8006134C 0005E2AC C0 41 00 8C */ lfs f2, 0x8c(r1) +/* 80061350 0005E2B0 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80061354 0005E2B4 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 80061358 0005E2B8 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 8006135C 0005E2BC 48 2A EC 09 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80061360 0005E2C0 3B 9C 00 01 */ addi r28, r28, 1 +/* 80061364 0005E2C4 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 80061368 0005E2C8 2C 1C 00 03 */ cmpwi r28, 3 +/* 8006136C 0005E2CC 3B 18 00 10 */ addi r24, r24, 0x10 +/* 80061370 0005E2D0 41 80 FF B0 */ blt lbl_80061320 +/* 80061374 0005E2D4 C0 39 00 14 */ lfs f1, 0x14(r25) +/* 80061378 0005E2D8 38 61 00 60 */ addi r3, r1, 0x60 +/* 8006137C 0005E2DC C0 59 00 24 */ lfs f2, 0x24(r25) +/* 80061380 0005E2E0 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80061384 0005E2E4 C0 19 00 34 */ lfs f0, 0x34(r25) +/* 80061388 0005E2E8 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 8006138C 0005E2EC C0 22 87 20 */ lfs f1, lbl_805AA440@sda21(r2) +/* 80061390 0005E2F0 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80061394 0005E2F4 80 C1 00 6C */ lwz r6, 0x6c(r1) +/* 80061398 0005E2F8 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8006139C 0005E2FC 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 800613A0 0005E300 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800613A4 0005E304 90 C1 00 78 */ stw r6, 0x78(r1) +/* 800613A8 0005E308 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 800613AC 0005E30C C0 61 00 78 */ lfs f3, 0x78(r1) +/* 800613B0 0005E310 90 01 00 80 */ stw r0, 0x80(r1) +/* 800613B4 0005E314 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 800613B8 0005E318 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800613BC 0005E31C D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 800613C0 0005E320 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 800613C4 0005E324 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 800613C8 0005E328 C0 7F 00 38 */ lfs f3, 0x38(r31) +/* 800613CC 0005E32C C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 800613D0 0005E330 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 800613D4 0005E334 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800613D8 0005E338 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 800613DC 0005E33C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 800613E0 0005E340 48 2A EB 85 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 800613E4 0005E344 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 800613E8 0005E348 38 1A 00 18 */ addi r0, r26, 0x18 +/* 800613EC 0005E34C 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha +/* 800613F0 0005E350 83 B9 00 38 */ lwz r29, 0x38(r25) +/* 800613F4 0005E354 7C 03 00 50 */ subf r0, r3, r0 +/* 800613F8 0005E358 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 800613FC 0005E35C 38 A4 AA AB */ addi r5, r4, 0x2AAAAAAB@l +/* 80061400 0005E360 7F A4 EB 78 */ mr r4, r29 +/* 80061404 0005E364 7C 05 00 96 */ mulhw r0, r5, r0 +/* 80061408 0005E368 3B 5A 00 24 */ addi r26, r26, 0x24 +/* 8006140C 0005E36C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80061410 0005E370 54 05 0F FE */ srwi r5, r0, 0x1f +/* 80061414 0005E374 7F 80 2A 14 */ add r28, r0, r5 +/* 80061418 0005E378 93 83 10 EC */ stw r28, 0x10ec(r3) +/* 8006141C 0005E37C 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061420 0005E380 38 63 00 4C */ addi r3, r3, 0x4c +/* 80061424 0005E384 48 00 28 D9 */ bl sub_80063cfc +/* 80061428 0005E388 2C 1D 00 00 */ cmpwi r29, 0 +/* 8006142C 0005E38C 38 60 00 00 */ li r3, 0 +/* 80061430 0005E390 40 81 00 F4 */ ble lbl_80061524 +/* 80061434 0005E394 2C 1D 00 08 */ cmpwi r29, 8 +/* 80061438 0005E398 38 9D FF F8 */ addi r4, r29, -8 +/* 8006143C 0005E39C 40 81 00 C0 */ ble lbl_800614FC +/* 80061440 0005E3A0 38 04 00 07 */ addi r0, r4, 7 +/* 80061444 0005E3A4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80061448 0005E3A8 7C 09 03 A6 */ mtctr r0 +/* 8006144C 0005E3AC 2C 04 00 00 */ cmpwi r4, 0 +/* 80061450 0005E3B0 40 81 00 AC */ ble lbl_800614FC +lbl_80061454: +/* 80061454 0005E3B4 80 9A 00 4C */ lwz r4, 0x4c(r26) +/* 80061458 0005E3B8 3B 5A 00 54 */ addi r26, r26, 0x54 +/* 8006145C 0005E3BC 38 63 00 08 */ addi r3, r3, 8 +/* 80061460 0005E3C0 80 04 00 00 */ lwz r0, 0(r4) +/* 80061464 0005E3C4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80061468 0005E3C8 7F 5A 02 14 */ add r26, r26, r0 +/* 8006146C 0005E3CC 80 9A 00 4C */ lwz r4, 0x4c(r26) +/* 80061470 0005E3D0 3B 5A 00 54 */ addi r26, r26, 0x54 +/* 80061474 0005E3D4 80 04 00 00 */ lwz r0, 0(r4) +/* 80061478 0005E3D8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8006147C 0005E3DC 7F 5A 02 14 */ add r26, r26, r0 +/* 80061480 0005E3E0 80 9A 00 4C */ lwz r4, 0x4c(r26) +/* 80061484 0005E3E4 3B 5A 00 54 */ addi r26, r26, 0x54 +/* 80061488 0005E3E8 80 04 00 00 */ lwz r0, 0(r4) +/* 8006148C 0005E3EC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80061490 0005E3F0 7F 5A 02 14 */ add r26, r26, r0 +/* 80061494 0005E3F4 80 9A 00 4C */ lwz r4, 0x4c(r26) +/* 80061498 0005E3F8 3B 5A 00 54 */ addi r26, r26, 0x54 +/* 8006149C 0005E3FC 80 04 00 00 */ lwz r0, 0(r4) +/* 800614A0 0005E400 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800614A4 0005E404 7F 5A 02 14 */ add r26, r26, r0 +/* 800614A8 0005E408 80 9A 00 4C */ lwz r4, 0x4c(r26) +/* 800614AC 0005E40C 3B 5A 00 54 */ addi r26, r26, 0x54 +/* 800614B0 0005E410 80 04 00 00 */ lwz r0, 0(r4) +/* 800614B4 0005E414 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800614B8 0005E418 7F 5A 02 14 */ add r26, r26, r0 +/* 800614BC 0005E41C 80 9A 00 4C */ lwz r4, 0x4c(r26) +/* 800614C0 0005E420 3B 5A 00 54 */ addi r26, r26, 0x54 +/* 800614C4 0005E424 80 04 00 00 */ lwz r0, 0(r4) +/* 800614C8 0005E428 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800614CC 0005E42C 7F 5A 02 14 */ add r26, r26, r0 +/* 800614D0 0005E430 80 9A 00 4C */ lwz r4, 0x4c(r26) +/* 800614D4 0005E434 3B 5A 00 54 */ addi r26, r26, 0x54 +/* 800614D8 0005E438 80 04 00 00 */ lwz r0, 0(r4) +/* 800614DC 0005E43C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800614E0 0005E440 7F 5A 02 14 */ add r26, r26, r0 +/* 800614E4 0005E444 80 9A 00 4C */ lwz r4, 0x4c(r26) +/* 800614E8 0005E448 3B 5A 00 54 */ addi r26, r26, 0x54 +/* 800614EC 0005E44C 80 04 00 00 */ lwz r0, 0(r4) +/* 800614F0 0005E450 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800614F4 0005E454 7F 5A 02 14 */ add r26, r26, r0 +/* 800614F8 0005E458 42 00 FF 5C */ bdnz lbl_80061454 +lbl_800614FC: +/* 800614FC 0005E45C 7C 03 E8 50 */ subf r0, r3, r29 +/* 80061500 0005E460 7C 09 03 A6 */ mtctr r0 +/* 80061504 0005E464 7C 03 E8 00 */ cmpw r3, r29 +/* 80061508 0005E468 40 80 00 1C */ bge lbl_80061524 +lbl_8006150C: +/* 8006150C 0005E46C 80 7A 00 4C */ lwz r3, 0x4c(r26) +/* 80061510 0005E470 3B 5A 00 54 */ addi r26, r26, 0x54 +/* 80061514 0005E474 80 03 00 00 */ lwz r0, 0(r3) +/* 80061518 0005E478 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8006151C 0005E47C 7F 5A 02 14 */ add r26, r26, r0 +/* 80061520 0005E480 42 00 FF EC */ bdnz lbl_8006150C +lbl_80061524: +/* 80061524 0005E484 80 1F 01 1C */ lwz r0, 0x11c(r31) +/* 80061528 0005E488 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha +/* 8006152C 0005E48C 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l +/* 80061530 0005E490 2C 1E 00 0F */ cmpwi r30, 0xf +/* 80061534 0005E494 7C 00 D0 50 */ subf r0, r0, r26 +/* 80061538 0005E498 7C 03 00 96 */ mulhw r0, r3, r0 +/* 8006153C 0005E49C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80061540 0005E4A0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80061544 0005E4A4 7F 60 1A 14 */ add r27, r0, r3 +/* 80061548 0005E4A8 41 80 00 78 */ blt lbl_800615C0 +/* 8006154C 0005E4AC 80 19 00 5C */ lwz r0, 0x5c(r25) +/* 80061550 0005E4B0 2C 00 FF FF */ cmpwi r0, -1 +/* 80061554 0005E4B4 41 82 00 6C */ beq lbl_800615C0 +/* 80061558 0005E4B8 80 DA 00 04 */ lwz r6, 4(r26) +/* 8006155C 0005E4BC 38 00 00 00 */ li r0, 0 +/* 80061560 0005E4C0 38 61 00 FC */ addi r3, r1, 0xfc +/* 80061564 0005E4C4 38 81 00 4C */ addi r4, r1, 0x4c +/* 80061568 0005E4C8 7C A6 00 D0 */ neg r5, r6 +/* 8006156C 0005E4CC 90 C1 00 50 */ stw r6, 0x50(r1) +/* 80061570 0005E4D0 7C A5 33 78 */ or r5, r5, r6 +/* 80061574 0005E4D4 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 80061578 0005E4D8 98 A1 00 4C */ stb r5, 0x4c(r1) +/* 8006157C 0005E4DC 98 01 00 4C */ stb r0, 0x4c(r1) +/* 80061580 0005E4E0 48 24 D6 C9 */ bl sub_802aec48 +/* 80061584 0005E4E4 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061588 0005E4E8 38 81 00 FC */ addi r4, r1, 0xfc +/* 8006158C 0005E4EC 38 63 00 0C */ addi r3, r3, 0xc +/* 80061590 0005E4F0 48 00 0E 19 */ bl sub_800623a8 +/* 80061594 0005E4F4 88 01 00 FC */ lbz r0, 0xfc(r1) +/* 80061598 0005E4F8 28 00 00 00 */ cmplwi r0, 0 +/* 8006159C 0005E4FC 41 82 00 0C */ beq lbl_800615A8 +/* 800615A0 0005E500 80 61 01 00 */ lwz r3, 0x100(r1) +/* 800615A4 0005E504 48 2B 43 8D */ bl Free__7CMemoryFPCv +lbl_800615A8: +/* 800615A8 0005E508 88 01 00 4C */ lbz r0, 0x4c(r1) +/* 800615AC 0005E50C 3B 5A 00 0C */ addi r26, r26, 0xc +/* 800615B0 0005E510 28 00 00 00 */ cmplwi r0, 0 +/* 800615B4 0005E514 41 82 00 0C */ beq lbl_800615C0 +/* 800615B8 0005E518 80 61 00 50 */ lwz r3, 0x50(r1) +/* 800615BC 0005E51C 48 2B 43 75 */ bl Free__7CMemoryFPCv +lbl_800615C0: +/* 800615C0 0005E520 80 9A 00 04 */ lwz r4, 4(r26) +/* 800615C4 0005E524 38 01 00 44 */ addi r0, r1, 0x44 +/* 800615C8 0005E528 7C 64 00 D0 */ neg r3, r4 +/* 800615CC 0005E52C 90 81 00 48 */ stw r4, 0x48(r1) +/* 800615D0 0005E530 7C 63 23 78 */ or r3, r3, r4 +/* 800615D4 0005E534 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800615D8 0005E538 98 61 00 44 */ stb r3, 0x44(r1) +/* 800615DC 0005E53C 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 800615E0 0005E540 3B 23 10 C8 */ addi r25, r3, 0x10c8 +/* 800615E4 0005E544 7C 00 C8 40 */ cmplw r0, r25 +/* 800615E8 0005E548 41 82 00 30 */ beq lbl_80061618 +/* 800615EC 0005E54C 88 19 00 00 */ lbz r0, 0(r25) +/* 800615F0 0005E550 28 00 00 00 */ cmplwi r0, 0 +/* 800615F4 0005E554 41 82 00 0C */ beq lbl_80061600 +/* 800615F8 0005E558 80 79 00 04 */ lwz r3, 4(r25) +/* 800615FC 0005E55C 48 2B 43 35 */ bl Free__7CMemoryFPCv +lbl_80061600: +/* 80061600 0005E560 88 61 00 44 */ lbz r3, 0x44(r1) +/* 80061604 0005E564 38 00 00 00 */ li r0, 0 +/* 80061608 0005E568 98 79 00 00 */ stb r3, 0(r25) +/* 8006160C 0005E56C 80 61 00 48 */ lwz r3, 0x48(r1) +/* 80061610 0005E570 90 79 00 04 */ stw r3, 4(r25) +/* 80061614 0005E574 98 01 00 44 */ stb r0, 0x44(r1) +lbl_80061618: +/* 80061618 0005E578 88 01 00 44 */ lbz r0, 0x44(r1) +/* 8006161C 0005E57C 28 00 00 00 */ cmplwi r0, 0 +/* 80061620 0005E580 41 82 00 0C */ beq lbl_8006162C +/* 80061624 0005E584 80 61 00 48 */ lwz r3, 0x48(r1) +/* 80061628 0005E588 48 2B 43 09 */ bl Free__7CMemoryFPCv +lbl_8006162C: +/* 8006162C 0005E58C 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061630 0005E590 38 00 00 00 */ li r0, 0 +/* 80061634 0005E594 98 03 10 C8 */ stb r0, 0x10c8(r3) +/* 80061638 0005E598 80 1A 00 08 */ lwz r0, 8(r26) +/* 8006163C 0005E59C 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061640 0005E5A0 90 03 10 D0 */ stw r0, 0x10d0(r3) +/* 80061644 0005E5A4 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 80061648 0005E5A8 38 63 00 01 */ addi r3, r3, 1 +/* 8006164C 0005E5AC 48 00 00 08 */ b lbl_80061654 +lbl_80061650: +/* 80061650 0005E5B0 38 63 00 01 */ addi r3, r3, 1 +lbl_80061654: +/* 80061654 0005E5B4 54 60 07 BF */ clrlwi. r0, r3, 0x1e +/* 80061658 0005E5B8 40 82 FF F8 */ bne lbl_80061650 +/* 8006165C 0005E5BC 83 A3 00 00 */ lwz r29, 0(r3) +/* 80061660 0005E5C0 38 00 00 00 */ li r0, 0 +/* 80061664 0005E5C4 38 63 00 04 */ addi r3, r3, 4 +/* 80061668 0005E5C8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8006166C 0005E5CC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80061670 0005E5D0 7F A4 EB 78 */ mr r4, r29 +/* 80061674 0005E5D4 38 C1 00 08 */ addi r6, r1, 8 +/* 80061678 0005E5D8 98 01 00 08 */ stb r0, 8(r1) +/* 8006167C 0005E5DC 48 24 14 AD */ bl MakeFromMemory__12CAreaOctTreeFPvUiPP12CAreaOctTreePb +/* 80061680 0005E5E0 80 81 00 20 */ lwz r4, 0x20(r1) +/* 80061684 0005E5E4 38 01 00 3C */ addi r0, r1, 0x3c +/* 80061688 0005E5E8 7C 64 00 D0 */ neg r3, r4 +/* 8006168C 0005E5EC 90 81 00 40 */ stw r4, 0x40(r1) +/* 80061690 0005E5F0 7C 63 23 78 */ or r3, r3, r4 +/* 80061694 0005E5F4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80061698 0005E5F8 98 61 00 3C */ stb r3, 0x3c(r1) +/* 8006169C 0005E5FC 83 3F 01 2C */ lwz r25, 0x12c(r31) +/* 800616A0 0005E600 7C 00 C8 40 */ cmplw r0, r25 +/* 800616A4 0005E604 41 82 00 30 */ beq lbl_800616D4 +/* 800616A8 0005E608 88 19 00 00 */ lbz r0, 0(r25) +/* 800616AC 0005E60C 28 00 00 00 */ cmplwi r0, 0 +/* 800616B0 0005E610 41 82 00 0C */ beq lbl_800616BC +/* 800616B4 0005E614 80 79 00 04 */ lwz r3, 4(r25) +/* 800616B8 0005E618 48 2B 42 79 */ bl Free__7CMemoryFPCv +lbl_800616BC: +/* 800616BC 0005E61C 88 61 00 3C */ lbz r3, 0x3c(r1) +/* 800616C0 0005E620 38 00 00 00 */ li r0, 0 +/* 800616C4 0005E624 98 79 00 00 */ stb r3, 0(r25) +/* 800616C8 0005E628 80 61 00 40 */ lwz r3, 0x40(r1) +/* 800616CC 0005E62C 90 79 00 04 */ stw r3, 4(r25) +/* 800616D0 0005E630 98 01 00 3C */ stb r0, 0x3c(r1) +lbl_800616D4: +/* 800616D4 0005E634 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 800616D8 0005E638 28 00 00 00 */ cmplwi r0, 0 +/* 800616DC 0005E63C 41 82 00 0C */ beq lbl_800616E8 +/* 800616E0 0005E640 80 61 00 40 */ lwz r3, 0x40(r1) +/* 800616E4 0005E644 48 2B 42 4D */ bl Free__7CMemoryFPCv +lbl_800616E8: +/* 800616E8 0005E648 88 01 00 08 */ lbz r0, 8(r1) +/* 800616EC 0005E64C 28 00 00 00 */ cmplwi r0, 0 +/* 800616F0 0005E650 40 82 00 10 */ bne lbl_80061700 +/* 800616F4 0005E654 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 800616F8 0005E658 38 00 00 00 */ li r0, 0 +/* 800616FC 0005E65C 98 03 00 00 */ stb r0, 0(r3) +lbl_80061700: +/* 80061700 0005E660 80 9F 01 2C */ lwz r4, 0x12c(r31) +/* 80061704 0005E664 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80061708 0005E668 93 A4 00 08 */ stw r29, 8(r4) +/* 8006170C 0005E66C 80 9A 00 1C */ lwz r4, 0x1c(r26) +/* 80061710 0005E670 80 BA 00 20 */ lwz r5, 0x20(r26) +/* 80061714 0005E674 3B 5A 00 18 */ addi r26, r26, 0x18 +/* 80061718 0005E678 48 2D DA B5 */ bl __ct__15CMemoryInStreamFPCvUl +/* 8006171C 0005E67C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80061720 0005E680 38 60 00 01 */ li r3, 1 +/* 80061724 0005E684 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80061728 0005E688 38 A0 00 00 */ li r5, 0 +/* 8006172C 0005E68C 48 2B 41 41 */ bl __nw__FUlPCcPCc +/* 80061730 0005E690 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80061734 0005E694 41 82 00 14 */ beq lbl_80061748 +/* 80061738 0005E698 38 81 01 C8 */ addi r4, r1, 0x1c8 +/* 8006173C 0005E69C 38 BF 00 0C */ addi r5, r31, 0xc +/* 80061740 0005E6A0 48 24 11 E1 */ bl sub_802a2920 +/* 80061744 0005E6A4 7C 7D 1B 78 */ mr r29, r3 +lbl_80061748: +/* 80061748 0005E6A8 83 3F 01 2C */ lwz r25, 0x12c(r31) +/* 8006174C 0005E6AC 80 79 00 5C */ lwz r3, 0x5c(r25) +/* 80061750 0005E6B0 48 2B 41 E1 */ bl Free__7CMemoryFPCv +/* 80061754 0005E6B4 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 80061758 0005E6B8 93 B9 00 5C */ stw r29, 0x5c(r25) +/* 8006175C 0005E6BC 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 80061760 0005E6C0 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80061764 0005E6C4 90 01 01 C8 */ stw r0, 0x1c8(r1) +/* 80061768 0005E6C8 38 80 00 00 */ li r4, 0 +/* 8006176C 0005E6CC 48 2D D9 41 */ bl __dt__12CInputStreamFv +/* 80061770 0005E6D0 2C 1E 00 06 */ cmpwi r30, 6 +/* 80061774 0005E6D4 40 81 01 9C */ ble lbl_80061910 +/* 80061778 0005E6D8 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8006177C 0005E6DC 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 80061780 0005E6E0 80 BA 00 14 */ lwz r5, 0x14(r26) +/* 80061784 0005E6E4 3B 5A 00 0C */ addi r26, r26, 0xc +/* 80061788 0005E6E8 48 2D DA 45 */ bl __ct__15CMemoryInStreamFPCvUl +/* 8006178C 0005E6EC 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 80061790 0005E6F0 48 2D D4 F5 */ bl ReadLong__12CInputStreamFv +/* 80061794 0005E6F4 3C 80 BA BF */ lis r4, 0xBABEDEAD@ha +/* 80061798 0005E6F8 38 04 DE AD */ addi r0, r4, 0xBABEDEAD@l +/* 8006179C 0005E6FC 7C 03 00 50 */ subf r0, r3, r0 +/* 800617A0 0005E700 7C 04 00 34 */ cntlzw r4, r0 +/* 800617A4 0005E704 54 80 DE 3F */ rlwinm. r0, r4, 0x1b, 0x18, 0x1f +/* 800617A8 0005E708 54 97 D9 7E */ srwi r23, r4, 5 +/* 800617AC 0005E70C 41 82 00 14 */ beq lbl_800617C0 +/* 800617B0 0005E710 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800617B4 0005E714 48 2D D4 D1 */ bl ReadLong__12CInputStreamFv +/* 800617B8 0005E718 7C 79 1B 78 */ mr r25, r3 +/* 800617BC 0005E71C 48 00 00 08 */ b lbl_800617C4 +lbl_800617C0: +/* 800617C0 0005E720 7C 79 1B 78 */ mr r25, r3 +lbl_800617C4: +/* 800617C4 0005E724 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 800617C8 0005E728 7F 24 CB 78 */ mr r4, r25 +/* 800617CC 0005E72C 38 63 00 60 */ addi r3, r3, 0x60 +/* 800617D0 0005E730 48 00 27 AD */ bl sub_80063f7c +/* 800617D4 0005E734 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 800617D8 0005E738 7F 24 CB 78 */ mr r4, r25 +/* 800617DC 0005E73C 38 63 00 70 */ addi r3, r3, 0x70 +/* 800617E0 0005E740 4B FE EA 25 */ bl sub_80050204 +/* 800617E4 0005E744 3A C0 00 00 */ li r22, 0 +/* 800617E8 0005E748 3B 00 00 00 */ li r24, 0 +/* 800617EC 0005E74C 48 00 00 48 */ b lbl_80061834 +lbl_800617F0: +/* 800617F0 0005E750 83 BF 01 2C */ lwz r29, 0x12c(r31) +/* 800617F4 0005E754 38 61 02 D0 */ addi r3, r1, 0x2d0 +/* 800617F8 0005E758 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 800617FC 0005E75C 48 24 60 91 */ bl __ct__11CWorldLightFR12CInputStream +/* 80061800 0005E760 7C 64 1B 78 */ mr r4, r3 +/* 80061804 0005E764 38 7D 00 60 */ addi r3, r29, 0x60 +/* 80061808 0005E768 48 00 0A A1 */ bl sub_800622a8 +/* 8006180C 0005E76C 83 BF 01 2C */ lwz r29, 0x12c(r31) +/* 80061810 0005E770 38 61 02 80 */ addi r3, r1, 0x280 +/* 80061814 0005E774 80 1D 00 6C */ lwz r0, 0x6c(r29) +/* 80061818 0005E778 7C 80 C2 14 */ add r4, r0, r24 +/* 8006181C 0005E77C 48 24 5D E1 */ bl GetAsCGraphicsLight__11CWorldLightCFv +/* 80061820 0005E780 38 7D 00 70 */ addi r3, r29, 0x70 +/* 80061824 0005E784 38 81 02 80 */ addi r4, r1, 0x280 +/* 80061828 0005E788 4B FE 41 9D */ bl sub_800459c4 +/* 8006182C 0005E78C 3B 18 00 44 */ addi r24, r24, 0x44 +/* 80061830 0005E790 3A D6 00 01 */ addi r22, r22, 1 +lbl_80061834: +/* 80061834 0005E794 7C 16 C8 00 */ cmpw r22, r25 +/* 80061838 0005E798 41 80 FF B8 */ blt lbl_800617F0 +/* 8006183C 0005E79C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 80061840 0005E7A0 41 82 00 8C */ beq lbl_800618CC +/* 80061844 0005E7A4 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 80061848 0005E7A8 48 2D D4 3D */ bl ReadLong__12CInputStreamFv +/* 8006184C 0005E7AC 7C 79 1B 79 */ or. r25, r3, r3 +/* 80061850 0005E7B0 41 82 00 7C */ beq lbl_800618CC +/* 80061854 0005E7B4 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061858 0005E7B8 7F 24 CB 78 */ mr r4, r25 +/* 8006185C 0005E7BC 38 63 00 80 */ addi r3, r3, 0x80 +/* 80061860 0005E7C0 48 00 27 1D */ bl sub_80063f7c +/* 80061864 0005E7C4 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061868 0005E7C8 7F 24 CB 78 */ mr r4, r25 +/* 8006186C 0005E7CC 38 63 00 90 */ addi r3, r3, 0x90 +/* 80061870 0005E7D0 4B FE E9 95 */ bl sub_80050204 +/* 80061874 0005E7D4 3A C0 00 00 */ li r22, 0 +/* 80061878 0005E7D8 3B 00 00 00 */ li r24, 0 +/* 8006187C 0005E7DC 48 00 00 48 */ b lbl_800618C4 +lbl_80061880: +/* 80061880 0005E7E0 83 BF 01 2C */ lwz r29, 0x12c(r31) +/* 80061884 0005E7E4 38 61 02 3C */ addi r3, r1, 0x23c +/* 80061888 0005E7E8 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 8006188C 0005E7EC 48 24 60 01 */ bl __ct__11CWorldLightFR12CInputStream +/* 80061890 0005E7F0 7C 64 1B 78 */ mr r4, r3 +/* 80061894 0005E7F4 38 7D 00 80 */ addi r3, r29, 0x80 +/* 80061898 0005E7F8 48 00 0A 11 */ bl sub_800622a8 +/* 8006189C 0005E7FC 83 BF 01 2C */ lwz r29, 0x12c(r31) +/* 800618A0 0005E800 38 61 01 EC */ addi r3, r1, 0x1ec +/* 800618A4 0005E804 80 1D 00 8C */ lwz r0, 0x8c(r29) +/* 800618A8 0005E808 7C 80 C2 14 */ add r4, r0, r24 +/* 800618AC 0005E80C 48 24 5D 51 */ bl GetAsCGraphicsLight__11CWorldLightCFv +/* 800618B0 0005E810 38 7D 00 90 */ addi r3, r29, 0x90 +/* 800618B4 0005E814 38 81 01 EC */ addi r4, r1, 0x1ec +/* 800618B8 0005E818 4B FE 41 0D */ bl sub_800459c4 +/* 800618BC 0005E81C 3B 18 00 44 */ addi r24, r24, 0x44 +/* 800618C0 0005E820 3A D6 00 01 */ addi r22, r22, 1 +lbl_800618C4: +/* 800618C4 0005E824 7C 16 C8 00 */ cmpw r22, r25 +/* 800618C8 0005E828 41 80 FF B8 */ blt lbl_80061880 +lbl_800618CC: +/* 800618CC 0005E82C 80 9F 01 2C */ lwz r4, 0x12c(r31) +/* 800618D0 0005E830 80 04 00 84 */ lwz r0, 0x84(r4) +/* 800618D4 0005E834 2C 00 00 00 */ cmpwi r0, 0 +/* 800618D8 0005E838 40 82 00 20 */ bne lbl_800618F8 +/* 800618DC 0005E83C 38 64 00 80 */ addi r3, r4, 0x80 +/* 800618E0 0005E840 38 84 00 60 */ addi r4, r4, 0x60 +/* 800618E4 0005E844 48 00 08 45 */ bl sub_80062128 +/* 800618E8 0005E848 80 9F 01 2C */ lwz r4, 0x12c(r31) +/* 800618EC 0005E84C 38 64 00 90 */ addi r3, r4, 0x90 +/* 800618F0 0005E850 38 84 00 70 */ addi r4, r4, 0x70 +/* 800618F4 0005E854 4B FE 41 75 */ bl sub_80045a68 +lbl_800618F8: +/* 800618F8 0005E858 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 800618FC 0005E85C 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 80061900 0005E860 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80061904 0005E864 38 80 00 00 */ li r4, 0 +/* 80061908 0005E868 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 8006190C 0005E86C 48 2D D7 A1 */ bl __dt__12CInputStreamFv +lbl_80061910: +/* 80061910 0005E870 2C 1E 00 07 */ cmpwi r30, 7 +/* 80061914 0005E874 40 81 01 44 */ ble lbl_80061A58 +/* 80061918 0005E878 82 DA 00 14 */ lwz r22, 0x14(r26) +/* 8006191C 0005E87C 3B 5A 00 0C */ addi r26, r26, 0xc +/* 80061920 0005E880 2C 16 00 40 */ cmpwi r22, 0x40 +/* 80061924 0005E884 40 81 01 34 */ ble lbl_80061A58 +/* 80061928 0005E888 82 FA 00 04 */ lwz r23, 4(r26) +/* 8006192C 0005E88C 7E C5 B3 78 */ mr r5, r22 +/* 80061930 0005E890 38 61 01 80 */ addi r3, r1, 0x180 +/* 80061934 0005E894 7E E4 BB 78 */ mr r4, r23 +/* 80061938 0005E898 48 2D D8 95 */ bl __ct__15CMemoryInStreamFPCvUl +/* 8006193C 0005E89C 38 61 01 80 */ addi r3, r1, 0x180 +/* 80061940 0005E8A0 48 2D D3 45 */ bl ReadLong__12CInputStreamFv +/* 80061944 0005E8A4 3C 03 A9 B7 */ addis r0, r3, 0xa9b7 +/* 80061948 0005E8A8 28 00 53 49 */ cmplwi r0, 0x5349 +/* 8006194C 0005E8AC 40 82 00 F4 */ bne lbl_80061A40 +/* 80061950 0005E8B0 38 61 01 80 */ addi r3, r1, 0x180 +/* 80061954 0005E8B4 48 2D D3 31 */ bl ReadLong__12CInputStreamFv +/* 80061958 0005E8B8 80 9F 01 2C */ lwz r4, 0x12c(r31) +/* 8006195C 0005E8BC 90 64 10 A8 */ stw r3, 0x10a8(r4) +/* 80061960 0005E8C0 83 1F 01 2C */ lwz r24, 0x12c(r31) +/* 80061964 0005E8C4 80 18 10 A8 */ lwz r0, 0x10a8(r24) +/* 80061968 0005E8C8 2C 00 00 02 */ cmpwi r0, 2 +/* 8006196C 0005E8CC 40 82 00 D4 */ bne lbl_80061A40 +/* 80061970 0005E8D0 38 61 01 80 */ addi r3, r1, 0x180 +/* 80061974 0005E8D4 48 2D D3 69 */ bl ReadBool__12CInputStreamFv +/* 80061978 0005E8D8 88 18 11 08 */ lbz r0, 0x1108(r24) +/* 8006197C 0005E8DC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80061980 0005E8E0 38 61 01 80 */ addi r3, r1, 0x180 +/* 80061984 0005E8E4 98 18 11 08 */ stb r0, 0x1108(r24) +/* 80061988 0005E8E8 83 3F 01 2C */ lwz r25, 0x12c(r31) +/* 8006198C 0005E8EC 48 2D D3 51 */ bl ReadBool__12CInputStreamFv +/* 80061990 0005E8F0 88 19 11 08 */ lbz r0, 0x1108(r25) +/* 80061994 0005E8F4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80061998 0005E8F8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8006199C 0005E8FC 98 19 11 08 */ stb r0, 0x1108(r25) +/* 800619A0 0005E900 80 01 01 98 */ lwz r0, 0x198(r1) +/* 800619A4 0005E904 7C 97 02 14 */ add r4, r23, r0 +/* 800619A8 0005E908 7C A0 B0 50 */ subf r5, r0, r22 +/* 800619AC 0005E90C 48 24 CA E1 */ bl __ct__11CPVSAreaSetFPCci +/* 800619B0 0005E910 38 00 00 00 */ li r0, 0 +/* 800619B4 0005E914 83 01 00 38 */ lwz r24, 0x38(r1) +/* 800619B8 0005E918 98 01 00 34 */ stb r0, 0x34(r1) +/* 800619BC 0005E91C 83 3F 01 2C */ lwz r25, 0x12c(r31) +/* 800619C0 0005E920 83 B9 00 A0 */ lwz r29, 0xa0(r25) +/* 800619C4 0005E924 28 1D 00 00 */ cmplwi r29, 0 +/* 800619C8 0005E928 41 82 00 30 */ beq lbl_800619F8 +/* 800619CC 0005E92C 34 1D 00 20 */ addic. r0, r29, 0x20 +/* 800619D0 0005E930 41 82 00 20 */ beq lbl_800619F0 +/* 800619D4 0005E934 34 1D 00 40 */ addic. r0, r29, 0x40 +/* 800619D8 0005E938 41 82 00 18 */ beq lbl_800619F0 +/* 800619DC 0005E93C 88 1D 00 40 */ lbz r0, 0x40(r29) +/* 800619E0 0005E940 28 00 00 00 */ cmplwi r0, 0 +/* 800619E4 0005E944 41 82 00 0C */ beq lbl_800619F0 +/* 800619E8 0005E948 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 800619EC 0005E94C 48 2B 3F 45 */ bl Free__7CMemoryFPCv +lbl_800619F0: +/* 800619F0 0005E950 7F A3 EB 78 */ mr r3, r29 +/* 800619F4 0005E954 48 2B 3F 3D */ bl Free__7CMemoryFPCv +lbl_800619F8: +/* 800619F8 0005E958 93 19 00 A0 */ stw r24, 0xa0(r25) +/* 800619FC 0005E95C 88 01 00 34 */ lbz r0, 0x34(r1) +/* 80061A00 0005E960 28 00 00 00 */ cmplwi r0, 0 +/* 80061A04 0005E964 41 82 00 3C */ beq lbl_80061A40 +/* 80061A08 0005E968 83 21 00 38 */ lwz r25, 0x38(r1) +/* 80061A0C 0005E96C 28 19 00 00 */ cmplwi r25, 0 +/* 80061A10 0005E970 41 82 00 30 */ beq lbl_80061A40 +/* 80061A14 0005E974 34 19 00 20 */ addic. r0, r25, 0x20 +/* 80061A18 0005E978 41 82 00 20 */ beq lbl_80061A38 +/* 80061A1C 0005E97C 34 19 00 40 */ addic. r0, r25, 0x40 +/* 80061A20 0005E980 41 82 00 18 */ beq lbl_80061A38 +/* 80061A24 0005E984 88 19 00 40 */ lbz r0, 0x40(r25) +/* 80061A28 0005E988 28 00 00 00 */ cmplwi r0, 0 +/* 80061A2C 0005E98C 41 82 00 0C */ beq lbl_80061A38 +/* 80061A30 0005E990 80 79 00 44 */ lwz r3, 0x44(r25) +/* 80061A34 0005E994 48 2B 3E FD */ bl Free__7CMemoryFPCv +lbl_80061A38: +/* 80061A38 0005E998 7F 23 CB 78 */ mr r3, r25 +/* 80061A3C 0005E99C 48 2B 3E F5 */ bl Free__7CMemoryFPCv +lbl_80061A40: +/* 80061A40 0005E9A0 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80061A44 0005E9A4 38 61 01 80 */ addi r3, r1, 0x180 +/* 80061A48 0005E9A8 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80061A4C 0005E9AC 38 80 00 00 */ li r4, 0 +/* 80061A50 0005E9B0 90 01 01 80 */ stw r0, 0x180(r1) +/* 80061A54 0005E9B4 48 2D D6 59 */ bl __dt__12CInputStreamFv +lbl_80061A58: +/* 80061A58 0005E9B8 2C 1E 00 09 */ cmpwi r30, 9 +/* 80061A5C 0005E9BC 40 81 01 20 */ ble lbl_80061B7C +/* 80061A60 0005E9C0 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 80061A64 0005E9C4 38 61 01 5C */ addi r3, r1, 0x15c +/* 80061A68 0005E9C8 80 BA 00 14 */ lwz r5, 0x14(r26) +/* 80061A6C 0005E9CC 48 2D D7 61 */ bl __ct__15CMemoryInStreamFPCvUl +/* 80061A70 0005E9D0 38 61 01 5C */ addi r3, r1, 0x15c +/* 80061A74 0005E9D4 48 2D D2 11 */ bl ReadLong__12CInputStreamFv +/* 80061A78 0005E9D8 3C 03 00 01 */ addis r0, r3, 1 +/* 80061A7C 0005E9DC 28 00 FF FF */ cmplwi r0, 0xffff +/* 80061A80 0005E9E0 41 82 00 E4 */ beq lbl_80061B64 +/* 80061A84 0005E9E4 3C 80 50 41 */ lis r4, 0x50415448@ha +/* 80061A88 0005E9E8 90 61 00 30 */ stw r3, 0x30(r1) +/* 80061A8C 0005E9EC 38 04 54 48 */ addi r0, r4, 0x50415448@l +/* 80061A90 0005E9F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80061A94 0005E9F4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80061A98 0005E9F8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80061A9C 0005E9FC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80061AA0 0005EA00 81 84 00 00 */ lwz r12, 0(r4) +/* 80061AA4 0005EA04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80061AA8 0005EA08 7D 89 03 A6 */ mtctr r12 +/* 80061AAC 0005EA0C 4E 80 04 21 */ bctrl +/* 80061AB0 0005EA10 3A C1 00 54 */ addi r22, r1, 0x54 +/* 80061AB4 0005EA14 38 81 00 24 */ addi r4, r1, 0x24 +/* 80061AB8 0005EA18 7E C3 B3 78 */ mr r3, r22 +/* 80061ABC 0005EA1C 48 2D F3 ED */ bl __ct__6CTokenFRC6CToken +/* 80061AC0 0005EA20 7E C3 B3 78 */ mr r3, r22 +/* 80061AC4 0005EA24 48 2D F3 49 */ bl GetObj__6CTokenFv +/* 80061AC8 0005EA28 80 03 00 04 */ lwz r0, 4(r3) +/* 80061ACC 0005EA2C 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80061AD0 0005EA30 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061AD4 0005EA34 3B 23 10 AC */ addi r25, r3, 0x10ac +/* 80061AD8 0005EA38 88 03 10 B8 */ lbz r0, 0x10b8(r3) +/* 80061ADC 0005EA3C 28 00 00 00 */ cmplwi r0, 0 +/* 80061AE0 0005EA40 40 82 00 38 */ bne lbl_80061B18 +/* 80061AE4 0005EA44 28 19 00 00 */ cmplwi r25, 0 +/* 80061AE8 0005EA48 41 82 00 24 */ beq lbl_80061B0C +/* 80061AEC 0005EA4C 7F 36 CB 78 */ mr r22, r25 +/* 80061AF0 0005EA50 7F 23 CB 78 */ mr r3, r25 +/* 80061AF4 0005EA54 38 81 00 54 */ addi r4, r1, 0x54 +/* 80061AF8 0005EA58 48 2D F3 B1 */ bl __ct__6CTokenFRC6CToken +/* 80061AFC 0005EA5C 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80061B00 0005EA60 7E C3 B3 78 */ mr r3, r22 +/* 80061B04 0005EA64 90 16 00 08 */ stw r0, 8(r22) +/* 80061B08 0005EA68 48 2D F2 7D */ bl Lock__6CTokenFv +lbl_80061B0C: +/* 80061B0C 0005EA6C 38 00 00 01 */ li r0, 1 +/* 80061B10 0005EA70 98 19 00 0C */ stb r0, 0xc(r25) +/* 80061B14 0005EA74 48 00 00 18 */ b lbl_80061B2C +lbl_80061B18: +/* 80061B18 0005EA78 7F 23 CB 78 */ mr r3, r25 +/* 80061B1C 0005EA7C 7E C4 B3 78 */ mr r4, r22 +/* 80061B20 0005EA80 48 2D F1 A5 */ bl __as__6CTokenFRC6CToken +/* 80061B24 0005EA84 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80061B28 0005EA88 90 19 00 08 */ stw r0, 8(r25) +lbl_80061B2C: +/* 80061B2C 0005EA8C 38 61 00 54 */ addi r3, r1, 0x54 +/* 80061B30 0005EA90 38 80 00 00 */ li r4, 0 +/* 80061B34 0005EA94 48 2D F3 0D */ bl __dt__6CTokenFv +/* 80061B38 0005EA98 38 61 00 24 */ addi r3, r1, 0x24 +/* 80061B3C 0005EA9C 38 80 FF FF */ li r4, -1 +/* 80061B40 0005EAA0 48 2D F3 01 */ bl __dt__6CTokenFv +/* 80061B44 0005EAA4 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061B48 0005EAA8 38 9F 00 0C */ addi r4, r31, 0xc +/* 80061B4C 0005EAAC 80 03 10 B4 */ lwz r0, 0x10b4(r3) +/* 80061B50 0005EAB0 90 03 10 BC */ stw r0, 0x10bc(r3) +/* 80061B54 0005EAB4 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061B58 0005EAB8 80 63 10 BC */ lwz r3, 0x10bc(r3) +/* 80061B5C 0005EABC 38 63 01 88 */ addi r3, r3, 0x188 +/* 80061B60 0005EAC0 48 2B 0F E1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80061B64: +/* 80061B64 0005EAC4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80061B68 0005EAC8 38 61 01 5C */ addi r3, r1, 0x15c +/* 80061B6C 0005EACC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80061B70 0005EAD0 38 80 00 00 */ li r4, 0 +/* 80061B74 0005EAD4 90 01 01 5C */ stw r0, 0x15c(r1) +/* 80061B78 0005EAD8 48 2D D5 35 */ bl __dt__12CInputStreamFv +lbl_80061B7C: +/* 80061B7C 0005EADC 80 7F 01 14 */ lwz r3, 0x114(r31) +/* 80061B80 0005EAE0 7F 99 E3 78 */ mr r25, r28 +/* 80061B84 0005EAE4 1C 9C 00 0C */ mulli r4, r28, 0xc +/* 80061B88 0005EAE8 7C 1C 18 50 */ subf r0, r28, r3 +/* 80061B8C 0005EAEC 7C 09 03 A6 */ mtctr r0 +/* 80061B90 0005EAF0 7C 1C 18 00 */ cmpw r28, r3 +/* 80061B94 0005EAF4 40 80 00 20 */ bge lbl_80061BB4 +lbl_80061B98: +/* 80061B98 0005EAF8 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 80061B9C 0005EAFC 7C 03 20 AE */ lbzx r0, r3, r4 +/* 80061BA0 0005EB00 28 00 00 00 */ cmplwi r0, 0 +/* 80061BA4 0005EB04 40 82 00 10 */ bne lbl_80061BB4 +/* 80061BA8 0005EB08 38 84 00 0C */ addi r4, r4, 0xc +/* 80061BAC 0005EB0C 3B 39 00 01 */ addi r25, r25, 1 +/* 80061BB0 0005EB10 42 00 FF E8 */ bdnz lbl_80061B98 +lbl_80061BB4: +/* 80061BB4 0005EB14 7C 19 D8 50 */ subf r0, r25, r27 +/* 80061BB8 0005EB18 7F 7A DB 78 */ mr r26, r27 +/* 80061BBC 0005EB1C 1C 9B 00 0C */ mulli r4, r27, 0xc +/* 80061BC0 0005EB20 7C 09 03 A6 */ mtctr r0 +/* 80061BC4 0005EB24 7C 1B C8 00 */ cmpw r27, r25 +/* 80061BC8 0005EB28 40 81 00 20 */ ble lbl_80061BE8 +lbl_80061BCC: +/* 80061BCC 0005EB2C 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 80061BD0 0005EB30 7C 03 20 AE */ lbzx r0, r3, r4 +/* 80061BD4 0005EB34 28 00 00 00 */ cmplwi r0, 0 +/* 80061BD8 0005EB38 40 82 00 10 */ bne lbl_80061BE8 +/* 80061BDC 0005EB3C 38 84 FF F4 */ addi r4, r4, -12 +/* 80061BE0 0005EB40 3B 5A FF FF */ addi r26, r26, -1 +/* 80061BE4 0005EB44 42 00 FF E8 */ bdnz lbl_80061BCC +lbl_80061BE8: +/* 80061BE8 0005EB48 7C 19 D0 00 */ cmpw r25, r26 +/* 80061BEC 0005EB4C 40 80 02 00 */ bge lbl_80061DEC +/* 80061BF0 0005EB50 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061BF4 0005EB54 1C B9 00 0C */ mulli r5, r25, 0xc +/* 80061BF8 0005EB58 7C 19 D0 50 */ subf r0, r25, r26 +/* 80061BFC 0005EB5C 93 23 10 E8 */ stw r25, 0x10e8(r3) +/* 80061C00 0005EB60 38 80 00 00 */ li r4, 0 +/* 80061C04 0005EB64 7C 09 03 A6 */ mtctr r0 +/* 80061C08 0005EB68 40 80 00 20 */ bge lbl_80061C28 +lbl_80061C0C: +/* 80061C0C 0005EB6C 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 80061C10 0005EB70 7C 03 28 AE */ lbzx r0, r3, r5 +/* 80061C14 0005EB74 28 00 00 00 */ cmplwi r0, 0 +/* 80061C18 0005EB78 41 82 00 08 */ beq lbl_80061C20 +/* 80061C1C 0005EB7C 38 84 00 01 */ addi r4, r4, 1 +lbl_80061C20: +/* 80061C20 0005EB80 38 A5 00 0C */ addi r5, r5, 0xc +/* 80061C24 0005EB84 42 00 FF E8 */ bdnz lbl_80061C0C +lbl_80061C28: +/* 80061C28 0005EB88 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061C2C 0005EB8C 38 63 10 F0 */ addi r3, r3, 0x10f0 +/* 80061C30 0005EB90 48 00 24 DD */ bl sub_8006410c +/* 80061C34 0005EB94 1F 99 00 0C */ mulli r28, r25, 0xc +/* 80061C38 0005EB98 48 00 01 74 */ b lbl_80061DAC +lbl_80061C3C: +/* 80061C3C 0005EB9C 80 DF 01 1C */ lwz r6, 0x11c(r31) +/* 80061C40 0005EBA0 7F 36 CB 78 */ mr r22, r25 +/* 80061C44 0005EBA4 3B 39 00 01 */ addi r25, r25, 1 +/* 80061C48 0005EBA8 7C 66 E2 14 */ add r3, r6, r28 +/* 80061C4C 0005EBAC 3B 9C 00 0C */ addi r28, r28, 0xc +/* 80061C50 0005EBB0 1C 99 00 0C */ mulli r4, r25, 0xc +/* 80061C54 0005EBB4 83 63 00 08 */ lwz r27, 8(r3) +/* 80061C58 0005EBB8 48 00 00 18 */ b lbl_80061C70 +lbl_80061C5C: +/* 80061C5C 0005EBBC 80 03 00 08 */ lwz r0, 8(r3) +/* 80061C60 0005EBC0 38 84 00 0C */ addi r4, r4, 0xc +/* 80061C64 0005EBC4 3B 39 00 01 */ addi r25, r25, 1 +/* 80061C68 0005EBC8 3B 9C 00 0C */ addi r28, r28, 0xc +/* 80061C6C 0005EBCC 7F 7B 02 14 */ add r27, r27, r0 +lbl_80061C70: +/* 80061C70 0005EBD0 7C 19 D0 00 */ cmpw r25, r26 +/* 80061C74 0005EBD4 40 80 00 14 */ bge lbl_80061C88 +/* 80061C78 0005EBD8 7C 66 22 14 */ add r3, r6, r4 +/* 80061C7C 0005EBDC 88 03 00 00 */ lbz r0, 0(r3) +/* 80061C80 0005EBE0 28 00 00 00 */ cmplwi r0, 0 +/* 80061C84 0005EBE4 41 82 FF D8 */ beq lbl_80061C5C +lbl_80061C88: +/* 80061C88 0005EBE8 1C 96 00 0C */ mulli r4, r22, 0xc +/* 80061C8C 0005EBEC 38 00 00 00 */ li r0, 0 +/* 80061C90 0005EBF0 7F 65 DB 78 */ mr r5, r27 +/* 80061C94 0005EBF4 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80061C98 0005EBF8 7C 86 22 14 */ add r4, r6, r4 +/* 80061C9C 0005EBFC 38 C0 00 01 */ li r6, 1 +/* 80061CA0 0005EC00 98 04 00 00 */ stb r0, 0(r4) +/* 80061CA4 0005EC04 80 84 00 04 */ lwz r4, 4(r4) +/* 80061CA8 0005EC08 48 2F 6D A5 */ bl __ct__10CARAMTokenFPvUi +/* 80061CAC 0005EC0C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80061CB0 0005EC10 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80061CB4 0005EC14 48 2F 6D 19 */ bl __ct__10CARAMTokenFRC10CARAMToken +/* 80061CB8 0005EC18 7C 16 C8 50 */ subf r0, r22, r25 +/* 80061CBC 0005EC1C 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 80061CC0 0005EC20 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061CC4 0005EC24 3B A3 10 F0 */ addi r29, r3, 0x10f0 +/* 80061CC8 0005EC28 80 03 10 F4 */ lwz r0, 0x10f4(r3) +/* 80061CCC 0005EC2C 80 A3 10 F8 */ lwz r5, 0x10f8(r3) +/* 80061CD0 0005EC30 7C 00 28 00 */ cmpw r0, r5 +/* 80061CD4 0005EC34 41 80 00 1C */ blt lbl_80061CF0 +/* 80061CD8 0005EC38 2C 05 00 00 */ cmpwi r5, 0 +/* 80061CDC 0005EC3C 7F A3 EB 78 */ mr r3, r29 +/* 80061CE0 0005EC40 38 80 00 04 */ li r4, 4 +/* 80061CE4 0005EC44 41 82 00 08 */ beq lbl_80061CEC +/* 80061CE8 0005EC48 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80061CEC: +/* 80061CEC 0005EC4C 48 00 24 21 */ bl sub_8006410c +lbl_80061CF0: +/* 80061CF0 0005EC50 80 1D 00 04 */ lwz r0, 4(r29) +/* 80061CF4 0005EC54 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80061CF8 0005EC58 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80061CFC 0005EC5C 7F C3 02 15 */ add. r30, r3, r0 +/* 80061D00 0005EC60 41 82 00 18 */ beq lbl_80061D18 +/* 80061D04 0005EC64 7F C3 F3 78 */ mr r3, r30 +/* 80061D08 0005EC68 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 80061D0C 0005EC6C 48 2F 6C C1 */ bl __ct__10CARAMTokenFRC10CARAMToken +/* 80061D10 0005EC70 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 80061D14 0005EC74 90 1E 00 20 */ stw r0, 0x20(r30) +lbl_80061D18: +/* 80061D18 0005EC78 80 BD 00 04 */ lwz r5, 4(r29) +/* 80061D1C 0005EC7C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80061D20 0005EC80 38 80 FF FF */ li r4, -1 +/* 80061D24 0005EC84 38 05 00 01 */ addi r0, r5, 1 +/* 80061D28 0005EC88 90 1D 00 04 */ stw r0, 4(r29) +/* 80061D2C 0005EC8C 48 2F 6C 19 */ bl __dt__10CARAMTokenFv +/* 80061D30 0005EC90 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80061D34 0005EC94 38 80 FF FF */ li r4, -1 +/* 80061D38 0005EC98 48 2F 6C 0D */ bl __dt__10CARAMTokenFv +/* 80061D3C 0005EC9C 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061D40 0005ECA0 80 03 11 04 */ lwz r0, 0x1104(r3) +/* 80061D44 0005ECA4 7C 00 DA 14 */ add r0, r0, r27 +/* 80061D48 0005ECA8 90 03 11 04 */ stw r0, 0x1104(r3) +/* 80061D4C 0005ECAC 88 1F 00 F0 */ lbz r0, 0xf0(r31) +/* 80061D50 0005ECB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80061D54 0005ECB4 41 82 00 10 */ beq lbl_80061D64 +/* 80061D58 0005ECB8 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061D5C 0005ECBC 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 80061D60 0005ECC0 48 00 00 08 */ b lbl_80061D68 +lbl_80061D64: +/* 80061D64 0005ECC4 38 00 00 00 */ li r0, 0 +lbl_80061D68: +/* 80061D68 0005ECC8 2C 00 00 00 */ cmpwi r0, 0 +/* 80061D6C 0005ECCC 40 82 00 40 */ bne lbl_80061DAC +/* 80061D70 0005ECD0 80 9F 01 2C */ lwz r4, 0x12c(r31) +/* 80061D74 0005ECD4 80 64 10 F4 */ lwz r3, 0x10f4(r4) +/* 80061D78 0005ECD8 80 84 10 FC */ lwz r4, 0x10fc(r4) +/* 80061D7C 0005ECDC 38 03 FF FF */ addi r0, r3, -1 +/* 80061D80 0005ECE0 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80061D84 0005ECE4 7F 04 02 14 */ add r24, r4, r0 +/* 80061D88 0005ECE8 7F 03 C3 78 */ mr r3, r24 +/* 80061D8C 0005ECEC 48 2F 68 ED */ bl LoadToARAM__10CARAMTokenFv +/* 80061D90 0005ECF0 80 18 00 00 */ lwz r0, 0(r24) +/* 80061D94 0005ECF4 2C 00 00 01 */ cmpwi r0, 1 +/* 80061D98 0005ECF8 41 82 00 14 */ beq lbl_80061DAC +/* 80061D9C 0005ECFC 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061DA0 0005ED00 80 03 11 00 */ lwz r0, 0x1100(r3) +/* 80061DA4 0005ED04 7C 00 DA 14 */ add r0, r0, r27 +/* 80061DA8 0005ED08 90 03 11 00 */ stw r0, 0x1100(r3) +lbl_80061DAC: +/* 80061DAC 0005ED0C 7C 19 D0 00 */ cmpw r25, r26 +/* 80061DB0 0005ED10 41 80 FE 8C */ blt lbl_80061C3C +/* 80061DB4 0005ED14 88 1F 00 F0 */ lbz r0, 0xf0(r31) +/* 80061DB8 0005ED18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80061DBC 0005ED1C 41 82 00 10 */ beq lbl_80061DCC +/* 80061DC0 0005ED20 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061DC4 0005ED24 80 83 10 DC */ lwz r4, 0x10dc(r3) +/* 80061DC8 0005ED28 48 00 00 08 */ b lbl_80061DD0 +lbl_80061DCC: +/* 80061DCC 0005ED2C 38 80 00 00 */ li r4, 0 +lbl_80061DD0: +/* 80061DD0 0005ED30 7C 04 00 D0 */ neg r0, r4 +/* 80061DD4 0005ED34 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061DD8 0005ED38 7C 00 23 78 */ or r0, r0, r4 +/* 80061DDC 0005ED3C 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80061DE0 0005ED40 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 80061DE4 0005ED44 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80061DE8 0005ED48 98 03 11 08 */ stb r0, 0x1108(r3) +lbl_80061DEC: +/* 80061DEC 0005ED4C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80061DF0 0005ED50 38 60 20 10 */ li r3, 0x2010 +/* 80061DF4 0005ED54 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80061DF8 0005ED58 38 A0 00 00 */ li r5, 0 +/* 80061DFC 0005ED5C 48 2B 3A 71 */ bl __nw__FUlPCcPCc +/* 80061E00 0005ED60 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80061E04 0005ED64 41 82 00 28 */ beq lbl_80061E2C +/* 80061E08 0005ED68 80 1F 00 04 */ lwz r0, 4(r31) +/* 80061E0C 0005ED6C 38 80 FF FF */ li r4, -1 +/* 80061E10 0005ED70 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80061E14 0005ED74 4B FA E2 25 */ bl __ct__11CObjectListF15EGameObjectList +/* 80061E18 0005ED78 3C 60 80 3E */ lis r3, lbl_803DA260@ha +/* 80061E1C 0005ED7C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80061E20 0005ED80 38 63 A2 60 */ addi r3, r3, lbl_803DA260@l +/* 80061E24 0005ED84 90 7A 00 00 */ stw r3, 0(r26) +/* 80061E28 0005ED88 90 1A 20 0C */ stw r0, 0x200c(r26) +lbl_80061E2C: +/* 80061E2C 0005ED8C 83 3F 01 2C */ lwz r25, 0x12c(r31) +/* 80061E30 0005ED90 80 79 10 C0 */ lwz r3, 0x10c0(r25) +/* 80061E34 0005ED94 48 2B 3A FD */ bl Free__7CMemoryFPCv +/* 80061E38 0005ED98 3C 60 80 3D */ lis r3, lbl_803CCFAC@ha +/* 80061E3C 0005ED9C 93 59 10 C0 */ stw r26, 0x10c0(r25) +/* 80061E40 0005EDA0 38 83 CF AC */ addi r4, r3, lbl_803CCFAC@l +/* 80061E44 0005EDA4 38 A0 00 00 */ li r5, 0 +/* 80061E48 0005EDA8 38 60 00 38 */ li r3, 0x38 +/* 80061E4C 0005EDAC 48 2B 3A 21 */ bl __nw__FUlPCcPCc +/* 80061E50 0005EDB0 7C 78 1B 79 */ or. r24, r3, r3 +/* 80061E54 0005EDB4 41 82 00 0C */ beq lbl_80061E60 +/* 80061E58 0005EDB8 4B FF D3 4D */ bl __ct__Q29CGameArea8CAreaFogFv +/* 80061E5C 0005EDBC 7C 78 1B 78 */ mr r24, r3 +lbl_80061E60: +/* 80061E60 0005EDC0 83 3F 01 2C */ lwz r25, 0x12c(r31) +/* 80061E64 0005EDC4 80 79 10 C4 */ lwz r3, 0x10c4(r25) +/* 80061E68 0005EDC8 48 2B 3A C9 */ bl Free__7CMemoryFPCv +/* 80061E6C 0005EDCC 93 19 10 C4 */ stw r24, 0x10c4(r25) +/* 80061E70 0005EDD0 38 80 00 01 */ li r4, 1 +/* 80061E74 0005EDD4 7F E3 FB 78 */ mr r3, r31 +/* 80061E78 0005EDD8 88 1F 00 F0 */ lbz r0, 0xf0(r31) +/* 80061E7C 0005EDDC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80061E80 0005EDE0 98 1F 00 F0 */ stb r0, 0xf0(r31) +/* 80061E84 0005EDE4 48 00 1B 61 */ bl GetPostConstructedSize__9CGameAreaCFv +/* 80061E88 0005EDE8 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) +/* 80061E8C 0005EDEC 7C 00 1A 14 */ add r0, r0, r3 +/* 80061E90 0005EDF0 38 61 01 38 */ addi r3, r1, 0x138 +/* 80061E94 0005EDF4 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) +/* 80061E98 0005EDF8 88 1F 00 F0 */ lbz r0, 0xf0(r31) +/* 80061E9C 0005EDFC 80 BF 01 2C */ lwz r5, 0x12c(r31) +/* 80061EA0 0005EE00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80061EA4 0005EE04 80 85 10 CC */ lwz r4, 0x10cc(r5) +/* 80061EA8 0005EE08 41 82 00 0C */ beq lbl_80061EB4 +/* 80061EAC 0005EE0C 80 A5 10 D0 */ lwz r5, 0x10d0(r5) +/* 80061EB0 0005EE10 48 00 00 08 */ b lbl_80061EB8 +lbl_80061EB4: +/* 80061EB4 0005EE14 38 A0 00 00 */ li r5, 0 +lbl_80061EB8: +/* 80061EB8 0005EE18 48 2D D3 15 */ bl __ct__15CMemoryInStreamFPCvUl +/* 80061EBC 0005EE1C 38 61 01 38 */ addi r3, r1, 0x138 +/* 80061EC0 0005EE20 48 2D CD C5 */ bl ReadLong__12CInputStreamFv +/* 80061EC4 0005EE24 3C 03 AC BD */ addis r0, r3, 0xacbd +/* 80061EC8 0005EE28 28 00 4C 59 */ cmplwi r0, 0x4c59 +/* 80061ECC 0005EE2C 40 82 01 A8 */ bne lbl_80062074 +/* 80061ED0 0005EE30 38 61 01 38 */ addi r3, r1, 0x138 +/* 80061ED4 0005EE34 48 2D CD B1 */ bl ReadLong__12CInputStreamFv +/* 80061ED8 0005EE38 38 61 01 38 */ addi r3, r1, 0x138 +/* 80061EDC 0005EE3C 48 2D CD A9 */ bl ReadLong__12CInputStreamFv +/* 80061EE0 0005EE40 38 00 00 00 */ li r0, 0 +/* 80061EE4 0005EE44 7C 7B 1B 78 */ mr r27, r3 +/* 80061EE8 0005EE48 90 01 00 94 */ stw r0, 0x94(r1) +/* 80061EEC 0005EE4C 38 61 00 90 */ addi r3, r1, 0x90 +/* 80061EF0 0005EE50 7F 64 DB 78 */ mr r4, r27 +/* 80061EF4 0005EE54 90 01 00 98 */ stw r0, 0x98(r1) +/* 80061EF8 0005EE58 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80061EFC 0005EE5C 4B FF 7D AD */ bl "reserve__Q24rstl36vectorFi" +/* 80061F00 0005EE60 3A C0 00 00 */ li r22, 0 +/* 80061F04 0005EE64 48 00 00 60 */ b lbl_80061F64 +lbl_80061F08: +/* 80061F08 0005EE68 38 61 01 38 */ addi r3, r1, 0x138 +/* 80061F0C 0005EE6C 48 2D CD 79 */ bl ReadLong__12CInputStreamFv +/* 80061F10 0005EE70 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80061F14 0005EE74 7C 79 1B 78 */ mr r25, r3 +/* 80061F18 0005EE78 80 A1 00 98 */ lwz r5, 0x98(r1) +/* 80061F1C 0005EE7C 7C 00 28 00 */ cmpw r0, r5 +/* 80061F20 0005EE80 41 80 00 1C */ blt lbl_80061F3C +/* 80061F24 0005EE84 2C 05 00 00 */ cmpwi r5, 0 +/* 80061F28 0005EE88 38 61 00 90 */ addi r3, r1, 0x90 +/* 80061F2C 0005EE8C 38 80 00 04 */ li r4, 4 +/* 80061F30 0005EE90 41 82 00 08 */ beq lbl_80061F38 +/* 80061F34 0005EE94 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80061F38: +/* 80061F38 0005EE98 4B FF 7D 71 */ bl "reserve__Q24rstl36vectorFi" +lbl_80061F3C: +/* 80061F3C 0005EE9C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80061F40 0005EEA0 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 80061F44 0005EEA4 54 00 10 3A */ slwi r0, r0, 2 +/* 80061F48 0005EEA8 7C 63 02 15 */ add. r3, r3, r0 +/* 80061F4C 0005EEAC 41 82 00 08 */ beq lbl_80061F54 +/* 80061F50 0005EEB0 93 23 00 00 */ stw r25, 0(r3) +lbl_80061F54: +/* 80061F54 0005EEB4 80 61 00 94 */ lwz r3, 0x94(r1) +/* 80061F58 0005EEB8 3A D6 00 01 */ addi r22, r22, 1 +/* 80061F5C 0005EEBC 38 03 00 01 */ addi r0, r3, 1 +/* 80061F60 0005EEC0 90 01 00 94 */ stw r0, 0x94(r1) +lbl_80061F64: +/* 80061F64 0005EEC4 7C 16 D8 00 */ cmpw r22, r27 +/* 80061F68 0005EEC8 41 80 FF A0 */ blt lbl_80061F08 +/* 80061F6C 0005EECC 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061F70 0005EED0 38 1B 00 03 */ addi r0, r27, 3 +/* 80061F74 0005EED4 7F 64 DB 78 */ mr r4, r27 +/* 80061F78 0005EED8 54 19 10 3A */ slwi r25, r0, 2 +/* 80061F7C 0005EEDC 38 63 11 0C */ addi r3, r3, 0x110c +/* 80061F80 0005EEE0 48 00 22 8D */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" +/* 80061F84 0005EEE4 3B 80 00 00 */ li r28, 0 +/* 80061F88 0005EEE8 3B 40 00 00 */ li r26, 0 +/* 80061F8C 0005EEEC 48 00 00 9C */ b lbl_80062028 +lbl_80061F90: +/* 80061F90 0005EEF0 2C 1C 00 00 */ cmpwi r28, 0 +/* 80061F94 0005EEF4 40 82 00 0C */ bne lbl_80061FA0 +/* 80061F98 0005EEF8 7F 38 CB 78 */ mr r24, r25 +/* 80061F9C 0005EEFC 48 00 00 24 */ b lbl_80061FC0 +lbl_80061FA0: +/* 80061FA0 0005EF00 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061FA4 0005EF04 38 1C FF FF */ addi r0, r28, -1 +/* 80061FA8 0005EF08 54 00 18 38 */ slwi r0, r0, 3 +/* 80061FAC 0005EF0C 80 63 11 18 */ lwz r3, 0x1118(r3) +/* 80061FB0 0005EF10 7C 83 02 14 */ add r4, r3, r0 +/* 80061FB4 0005EF14 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80061FB8 0005EF18 80 04 00 04 */ lwz r0, 4(r4) +/* 80061FBC 0005EF1C 7F 03 02 14 */ add r24, r3, r0 +lbl_80061FC0: +/* 80061FC0 0005EF20 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80061FC4 0005EF24 80 81 00 9C */ lwz r4, 0x9c(r1) +/* 80061FC8 0005EF28 3B A3 11 0C */ addi r29, r3, 0x110c +/* 80061FCC 0005EF2C 80 03 11 10 */ lwz r0, 0x1110(r3) +/* 80061FD0 0005EF30 80 A3 11 14 */ lwz r5, 0x1114(r3) +/* 80061FD4 0005EF34 7F C4 D0 2E */ lwzx r30, r4, r26 +/* 80061FD8 0005EF38 7C 00 28 00 */ cmpw r0, r5 +/* 80061FDC 0005EF3C 41 80 00 1C */ blt lbl_80061FF8 +/* 80061FE0 0005EF40 2C 05 00 00 */ cmpwi r5, 0 +/* 80061FE4 0005EF44 7F A3 EB 78 */ mr r3, r29 +/* 80061FE8 0005EF48 38 80 00 04 */ li r4, 4 +/* 80061FEC 0005EF4C 41 82 00 08 */ beq lbl_80061FF4 +/* 80061FF0 0005EF50 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80061FF4: +/* 80061FF4 0005EF54 48 00 22 19 */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" +lbl_80061FF8: +/* 80061FF8 0005EF58 80 1D 00 04 */ lwz r0, 4(r29) +/* 80061FFC 0005EF5C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80062000 0005EF60 54 00 18 38 */ slwi r0, r0, 3 +/* 80062004 0005EF64 7C 63 02 15 */ add. r3, r3, r0 +/* 80062008 0005EF68 41 82 00 0C */ beq lbl_80062014 +/* 8006200C 0005EF6C 93 03 00 00 */ stw r24, 0(r3) +/* 80062010 0005EF70 93 C3 00 04 */ stw r30, 4(r3) +lbl_80062014: +/* 80062014 0005EF74 80 7D 00 04 */ lwz r3, 4(r29) +/* 80062018 0005EF78 3B 5A 00 04 */ addi r26, r26, 4 +/* 8006201C 0005EF7C 3B 9C 00 01 */ addi r28, r28, 1 +/* 80062020 0005EF80 38 03 00 01 */ addi r0, r3, 1 +/* 80062024 0005EF84 90 1D 00 04 */ stw r0, 4(r29) +lbl_80062028: +/* 80062028 0005EF88 7C 1C D8 00 */ cmpw r28, r27 +/* 8006202C 0005EF8C 41 80 FF 64 */ blt lbl_80061F90 +/* 80062030 0005EF90 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80062034 0005EF94 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 80062038 0005EF98 54 00 10 3A */ slwi r0, r0, 2 +/* 8006203C 0005EF9C 7C 03 02 14 */ add r0, r3, r0 +/* 80062040 0005EFA0 90 61 00 10 */ stw r3, 0x10(r1) +/* 80062044 0005EFA4 7C 64 1B 78 */ mr r4, r3 +/* 80062048 0005EFA8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8006204C 0005EFAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80062050 0005EFB0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80062054 0005EFB4 48 00 00 08 */ b lbl_8006205C +lbl_80062058: +/* 80062058 0005EFB8 38 84 00 04 */ addi r4, r4, 4 +lbl_8006205C: +/* 8006205C 0005EFBC 7C 04 00 40 */ cmplw r4, r0 +/* 80062060 0005EFC0 40 82 FF F8 */ bne lbl_80062058 +/* 80062064 0005EFC4 28 03 00 00 */ cmplwi r3, 0 +/* 80062068 0005EFC8 41 82 00 94 */ beq lbl_800620FC +/* 8006206C 0005EFCC 48 2B 38 C5 */ bl Free__7CMemoryFPCv +/* 80062070 0005EFD0 48 00 00 8C */ b lbl_800620FC +lbl_80062074: +/* 80062074 0005EFD4 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80062078 0005EFD8 38 80 00 01 */ li r4, 1 +/* 8006207C 0005EFDC 38 63 11 0C */ addi r3, r3, 0x110c +/* 80062080 0005EFE0 48 00 21 8D */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" +/* 80062084 0005EFE4 88 1F 00 F0 */ lbz r0, 0xf0(r31) +/* 80062088 0005EFE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8006208C 0005EFEC 41 82 00 10 */ beq lbl_8006209C +/* 80062090 0005EFF0 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 80062094 0005EFF4 83 03 10 D0 */ lwz r24, 0x10d0(r3) +/* 80062098 0005EFF8 48 00 00 08 */ b lbl_800620A0 +lbl_8006209C: +/* 8006209C 0005EFFC 3B 00 00 00 */ li r24, 0 +lbl_800620A0: +/* 800620A0 0005F000 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 800620A4 0005F004 83 4D 82 E4 */ lwz r26, lbl_805A6EA4@sda21(r13) +/* 800620A8 0005F008 3B 23 11 0C */ addi r25, r3, 0x110c +/* 800620AC 0005F00C 80 03 11 10 */ lwz r0, 0x1110(r3) +/* 800620B0 0005F010 80 A3 11 14 */ lwz r5, 0x1114(r3) +/* 800620B4 0005F014 7C 00 28 00 */ cmpw r0, r5 +/* 800620B8 0005F018 41 80 00 1C */ blt lbl_800620D4 +/* 800620BC 0005F01C 2C 05 00 00 */ cmpwi r5, 0 +/* 800620C0 0005F020 7F 23 CB 78 */ mr r3, r25 +/* 800620C4 0005F024 38 80 00 04 */ li r4, 4 +/* 800620C8 0005F028 41 82 00 08 */ beq lbl_800620D0 +/* 800620CC 0005F02C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800620D0: +/* 800620D0 0005F030 48 00 21 3D */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" +lbl_800620D4: +/* 800620D4 0005F034 80 19 00 04 */ lwz r0, 4(r25) +/* 800620D8 0005F038 80 79 00 0C */ lwz r3, 0xc(r25) +/* 800620DC 0005F03C 54 00 18 38 */ slwi r0, r0, 3 +/* 800620E0 0005F040 7C 63 02 15 */ add. r3, r3, r0 +/* 800620E4 0005F044 41 82 00 0C */ beq lbl_800620F0 +/* 800620E8 0005F048 93 43 00 00 */ stw r26, 0(r3) +/* 800620EC 0005F04C 93 03 00 04 */ stw r24, 4(r3) +lbl_800620F0: +/* 800620F0 0005F050 80 79 00 04 */ lwz r3, 4(r25) +/* 800620F4 0005F054 38 03 00 01 */ addi r0, r3, 1 +/* 800620F8 0005F058 90 19 00 04 */ stw r0, 4(r25) +lbl_800620FC: +/* 800620FC 0005F05C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80062100 0005F060 38 61 01 38 */ addi r3, r1, 0x138 +/* 80062104 0005F064 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80062108 0005F068 38 80 00 00 */ li r4, 0 +/* 8006210C 0005F06C 90 01 01 38 */ stw r0, 0x138(r1) +/* 80062110 0005F070 48 2D CF 9D */ bl __dt__12CInputStreamFv +/* 80062114 0005F074 BA C1 03 18 */ lmw r22, 0x318(r1) +/* 80062118 0005F078 80 01 03 44 */ lwz r0, 0x344(r1) +/* 8006211C 0005F07C 7C 08 03 A6 */ mtlr r0 +/* 80062120 0005F080 38 21 03 40 */ addi r1, r1, 0x340 +/* 80062124 0005F084 4E 80 00 20 */ blr + +.global sub_80062128 +sub_80062128: +/* 80062128 0005F088 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006212C 0005F08C 7C 08 02 A6 */ mflr r0 +/* 80062130 0005F090 90 01 00 24 */ stw r0, 0x24(r1) +/* 80062134 0005F094 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80062138 0005F098 7C 9F 23 78 */ mr r31, r4 +/* 8006213C 0005F09C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80062140 0005F0A0 7C 7E 1B 78 */ mr r30, r3 +/* 80062144 0005F0A4 7C 1E F8 40 */ cmplw r30, r31 +/* 80062148 0005F0A8 40 82 00 08 */ bne lbl_80062150 +/* 8006214C 0005F0AC 48 00 00 98 */ b lbl_800621E4 +lbl_80062150: +/* 80062150 0005F0B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80062154 0005F0B4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80062158 0005F0B8 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 8006215C 0005F0BC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80062160 0005F0C0 7C 03 02 14 */ add r0, r3, r0 +/* 80062164 0005F0C4 90 61 00 08 */ stw r3, 8(r1) +/* 80062168 0005F0C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006216C 0005F0CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80062170 0005F0D0 48 00 00 08 */ b lbl_80062178 +lbl_80062174: +/* 80062174 0005F0D4 38 63 00 44 */ addi r3, r3, 0x44 +lbl_80062178: +/* 80062178 0005F0D8 7C 03 00 40 */ cmplw r3, r0 +/* 8006217C 0005F0DC 40 82 FF F8 */ bne lbl_80062174 +/* 80062180 0005F0E0 38 00 00 00 */ li r0, 0 +/* 80062184 0005F0E4 90 1E 00 04 */ stw r0, 4(r30) +/* 80062188 0005F0E8 80 9F 00 04 */ lwz r4, 4(r31) +/* 8006218C 0005F0EC 2C 04 00 00 */ cmpwi r4, 0 +/* 80062190 0005F0F0 40 82 00 28 */ bne lbl_800621B8 +/* 80062194 0005F0F4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80062198 0005F0F8 28 03 00 00 */ cmplwi r3, 0 +/* 8006219C 0005F0FC 41 82 00 08 */ beq lbl_800621A4 +/* 800621A0 0005F100 48 2B 37 91 */ bl Free__7CMemoryFPCv +lbl_800621A4: +/* 800621A4 0005F104 38 00 00 00 */ li r0, 0 +/* 800621A8 0005F108 90 1E 00 04 */ stw r0, 4(r30) +/* 800621AC 0005F10C 90 1E 00 08 */ stw r0, 8(r30) +/* 800621B0 0005F110 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800621B4 0005F114 48 00 00 2C */ b lbl_800621E0 +lbl_800621B8: +/* 800621B8 0005F118 7F C3 F3 78 */ mr r3, r30 +/* 800621BC 0005F11C 48 00 1D C1 */ bl sub_80063f7c +/* 800621C0 0005F120 80 1F 00 04 */ lwz r0, 4(r31) +/* 800621C4 0005F124 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800621C8 0005F128 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 800621CC 0005F12C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800621D0 0005F130 7C 83 02 14 */ add r4, r3, r0 +/* 800621D4 0005F134 48 00 00 29 */ bl sub_800621fc +/* 800621D8 0005F138 80 1F 00 04 */ lwz r0, 4(r31) +/* 800621DC 0005F13C 90 1E 00 04 */ stw r0, 4(r30) +lbl_800621E0: +/* 800621E0 0005F140 7F C3 F3 78 */ mr r3, r30 +lbl_800621E4: +/* 800621E4 0005F144 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800621E8 0005F148 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800621EC 0005F14C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800621F0 0005F150 7C 08 03 A6 */ mtlr r0 +/* 800621F4 0005F154 38 21 00 20 */ addi r1, r1, 0x20 +/* 800621F8 0005F158 4E 80 00 20 */ blr + +.global sub_800621fc +sub_800621fc: +/* 800621FC 0005F15C 48 00 00 9C */ b lbl_80062298 +lbl_80062200: +/* 80062200 0005F160 28 05 00 00 */ cmplwi r5, 0 +/* 80062204 0005F164 41 82 00 8C */ beq lbl_80062290 +/* 80062208 0005F168 80 03 00 00 */ lwz r0, 0(r3) +/* 8006220C 0005F16C 90 05 00 00 */ stw r0, 0(r5) +/* 80062210 0005F170 C0 03 00 04 */ lfs f0, 4(r3) +/* 80062214 0005F174 D0 05 00 04 */ stfs f0, 4(r5) +/* 80062218 0005F178 C0 03 00 08 */ lfs f0, 8(r3) +/* 8006221C 0005F17C D0 05 00 08 */ stfs f0, 8(r5) +/* 80062220 0005F180 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80062224 0005F184 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 80062228 0005F188 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8006222C 0005F18C D0 05 00 10 */ stfs f0, 0x10(r5) +/* 80062230 0005F190 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80062234 0005F194 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 80062238 0005F198 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8006223C 0005F19C D0 05 00 18 */ stfs f0, 0x18(r5) +/* 80062240 0005F1A0 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80062244 0005F1A4 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 80062248 0005F1A8 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 8006224C 0005F1AC D0 05 00 20 */ stfs f0, 0x20(r5) +/* 80062250 0005F1B0 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80062254 0005F1B4 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 80062258 0005F1B8 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8006225C 0005F1BC D0 05 00 28 */ stfs f0, 0x28(r5) +/* 80062260 0005F1C0 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 80062264 0005F1C4 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 80062268 0005F1C8 C0 03 00 30 */ lfs f0, 0x30(r3) +/* 8006226C 0005F1CC D0 05 00 30 */ stfs f0, 0x30(r5) +/* 80062270 0005F1D0 88 03 00 34 */ lbz r0, 0x34(r3) +/* 80062274 0005F1D4 98 05 00 34 */ stb r0, 0x34(r5) +/* 80062278 0005F1D8 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8006227C 0005F1DC D0 05 00 38 */ stfs f0, 0x38(r5) +/* 80062280 0005F1E0 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80062284 0005F1E4 90 05 00 3C */ stw r0, 0x3c(r5) +/* 80062288 0005F1E8 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8006228C 0005F1EC D0 05 00 40 */ stfs f0, 0x40(r5) +lbl_80062290: +/* 80062290 0005F1F0 38 A5 00 44 */ addi r5, r5, 0x44 +/* 80062294 0005F1F4 38 63 00 44 */ addi r3, r3, 0x44 +lbl_80062298: +/* 80062298 0005F1F8 7C 03 20 40 */ cmplw r3, r4 +/* 8006229C 0005F1FC 40 82 FF 64 */ bne lbl_80062200 +/* 800622A0 0005F200 7C A3 2B 78 */ mr r3, r5 +/* 800622A4 0005F204 4E 80 00 20 */ blr + +.global sub_800622a8 +sub_800622a8: +/* 800622A8 0005F208 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800622AC 0005F20C 7C 08 02 A6 */ mflr r0 +/* 800622B0 0005F210 90 01 00 14 */ stw r0, 0x14(r1) +/* 800622B4 0005F214 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800622B8 0005F218 7C 9F 23 78 */ mr r31, r4 +/* 800622BC 0005F21C 93 C1 00 08 */ stw r30, 8(r1) +/* 800622C0 0005F220 7C 7E 1B 78 */ mr r30, r3 +/* 800622C4 0005F224 80 03 00 04 */ lwz r0, 4(r3) +/* 800622C8 0005F228 80 A3 00 08 */ lwz r5, 8(r3) +/* 800622CC 0005F22C 7C 00 28 00 */ cmpw r0, r5 +/* 800622D0 0005F230 41 80 00 18 */ blt lbl_800622E8 +/* 800622D4 0005F234 2C 05 00 00 */ cmpwi r5, 0 +/* 800622D8 0005F238 38 80 00 04 */ li r4, 4 +/* 800622DC 0005F23C 41 82 00 08 */ beq lbl_800622E4 +/* 800622E0 0005F240 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800622E4: +/* 800622E4 0005F244 48 00 1C 99 */ bl sub_80063f7c +lbl_800622E8: +/* 800622E8 0005F248 80 1E 00 04 */ lwz r0, 4(r30) +/* 800622EC 0005F24C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800622F0 0005F250 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 800622F4 0005F254 7C 63 02 15 */ add. r3, r3, r0 +/* 800622F8 0005F258 41 82 00 8C */ beq lbl_80062384 +/* 800622FC 0005F25C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80062300 0005F260 90 03 00 00 */ stw r0, 0(r3) +/* 80062304 0005F264 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80062308 0005F268 D0 03 00 04 */ stfs f0, 4(r3) +/* 8006230C 0005F26C C0 1F 00 08 */ lfs f0, 8(r31) +/* 80062310 0005F270 D0 03 00 08 */ stfs f0, 8(r3) +/* 80062314 0005F274 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80062318 0005F278 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8006231C 0005F27C C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80062320 0005F280 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80062324 0005F284 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80062328 0005F288 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8006232C 0005F28C C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 80062330 0005F290 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80062334 0005F294 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 80062338 0005F298 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8006233C 0005F29C C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 80062340 0005F2A0 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80062344 0005F2A4 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 80062348 0005F2A8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8006234C 0005F2AC C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 80062350 0005F2B0 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80062354 0005F2B4 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 80062358 0005F2B8 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8006235C 0005F2BC C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 80062360 0005F2C0 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 80062364 0005F2C4 88 1F 00 34 */ lbz r0, 0x34(r31) +/* 80062368 0005F2C8 98 03 00 34 */ stb r0, 0x34(r3) +/* 8006236C 0005F2CC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80062370 0005F2D0 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 80062374 0005F2D4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80062378 0005F2D8 90 03 00 3C */ stw r0, 0x3c(r3) +/* 8006237C 0005F2DC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80062380 0005F2E0 D0 03 00 40 */ stfs f0, 0x40(r3) +lbl_80062384: +/* 80062384 0005F2E4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80062388 0005F2E8 38 03 00 01 */ addi r0, r3, 1 +/* 8006238C 0005F2EC 90 1E 00 04 */ stw r0, 4(r30) +/* 80062390 0005F2F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80062394 0005F2F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80062398 0005F2F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006239C 0005F2FC 7C 08 03 A6 */ mtlr r0 +/* 800623A0 0005F300 38 21 00 10 */ addi r1, r1, 0x10 +/* 800623A4 0005F304 4E 80 00 20 */ blr + +.global sub_800623a8 +sub_800623a8: +/* 800623A8 0005F308 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800623AC 0005F30C 7C 08 02 A6 */ mflr r0 +/* 800623B0 0005F310 90 01 00 14 */ stw r0, 0x14(r1) +/* 800623B4 0005F314 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800623B8 0005F318 7C 7F 1B 78 */ mr r31, r3 +/* 800623BC 0005F31C 48 00 00 1D */ bl sub_800623d8 +/* 800623C0 0005F320 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800623C4 0005F324 7F E3 FB 78 */ mr r3, r31 +/* 800623C8 0005F328 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800623CC 0005F32C 7C 08 03 A6 */ mtlr r0 +/* 800623D0 0005F330 38 21 00 10 */ addi r1, r1, 0x10 +/* 800623D4 0005F334 4E 80 00 20 */ blr + +.global sub_800623d8 +sub_800623d8: +/* 800623D8 0005F338 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800623DC 0005F33C 7C 08 02 A6 */ mflr r0 +/* 800623E0 0005F340 90 01 00 14 */ stw r0, 0x14(r1) +/* 800623E4 0005F344 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800623E8 0005F348 7C 9F 23 78 */ mr r31, r4 +/* 800623EC 0005F34C 93 C1 00 08 */ stw r30, 8(r1) +/* 800623F0 0005F350 7C 7E 1B 78 */ mr r30, r3 +/* 800623F4 0005F354 88 03 00 3C */ lbz r0, 0x3c(r3) +/* 800623F8 0005F358 28 00 00 00 */ cmplwi r0, 0 +/* 800623FC 0005F35C 40 82 00 98 */ bne lbl_80062494 +/* 80062400 0005F360 28 1E 00 00 */ cmplwi r30, 0 +/* 80062404 0005F364 41 82 00 84 */ beq lbl_80062488 +/* 80062408 0005F368 88 7F 00 00 */ lbz r3, 0(r31) +/* 8006240C 0005F36C 38 00 00 00 */ li r0, 0 +/* 80062410 0005F370 98 7E 00 00 */ stb r3, 0(r30) +/* 80062414 0005F374 80 7F 00 04 */ lwz r3, 4(r31) +/* 80062418 0005F378 90 7E 00 04 */ stw r3, 4(r30) +/* 8006241C 0005F37C 98 1F 00 00 */ stb r0, 0(r31) +/* 80062420 0005F380 80 1F 00 08 */ lwz r0, 8(r31) +/* 80062424 0005F384 90 1E 00 08 */ stw r0, 8(r30) +/* 80062428 0005F388 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8006242C 0005F38C 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80062430 0005F390 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80062434 0005F394 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80062438 0005F398 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8006243C 0005F39C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80062440 0005F3A0 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 80062444 0005F3A4 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80062448 0005F3A8 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8006244C 0005F3AC D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80062450 0005F3B0 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 80062454 0005F3B4 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80062458 0005F3B8 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8006245C 0005F3BC D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80062460 0005F3C0 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 80062464 0005F3C4 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 80062468 0005F3C8 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8006246C 0005F3CC D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 80062470 0005F3D0 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 80062474 0005F3D4 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80062478 0005F3D8 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8006247C 0005F3DC 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80062480 0005F3E0 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 80062484 0005F3E4 90 1E 00 38 */ stw r0, 0x38(r30) +lbl_80062488: +/* 80062488 0005F3E8 38 00 00 01 */ li r0, 1 +/* 8006248C 0005F3EC 98 1E 00 3C */ stb r0, 0x3c(r30) +/* 80062490 0005F3F0 48 00 00 A0 */ b lbl_80062530 +lbl_80062494: +/* 80062494 0005F3F4 7C 1F F0 40 */ cmplw r31, r30 +/* 80062498 0005F3F8 41 82 00 30 */ beq lbl_800624C8 +/* 8006249C 0005F3FC 88 1E 00 00 */ lbz r0, 0(r30) +/* 800624A0 0005F400 28 00 00 00 */ cmplwi r0, 0 +/* 800624A4 0005F404 41 82 00 0C */ beq lbl_800624B0 +/* 800624A8 0005F408 80 7E 00 04 */ lwz r3, 4(r30) +/* 800624AC 0005F40C 48 2B 34 85 */ bl Free__7CMemoryFPCv +lbl_800624B0: +/* 800624B0 0005F410 88 7F 00 00 */ lbz r3, 0(r31) +/* 800624B4 0005F414 38 00 00 00 */ li r0, 0 +/* 800624B8 0005F418 98 7E 00 00 */ stb r3, 0(r30) +/* 800624BC 0005F41C 80 7F 00 04 */ lwz r3, 4(r31) +/* 800624C0 0005F420 90 7E 00 04 */ stw r3, 4(r30) +/* 800624C4 0005F424 98 1F 00 00 */ stb r0, 0(r31) +lbl_800624C8: +/* 800624C8 0005F428 80 1F 00 08 */ lwz r0, 8(r31) +/* 800624CC 0005F42C 90 1E 00 08 */ stw r0, 8(r30) +/* 800624D0 0005F430 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 800624D4 0005F434 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800624D8 0005F438 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 800624DC 0005F43C 90 1E 00 10 */ stw r0, 0x10(r30) +/* 800624E0 0005F440 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 800624E4 0005F444 90 1E 00 14 */ stw r0, 0x14(r30) +/* 800624E8 0005F448 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 800624EC 0005F44C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 800624F0 0005F450 90 7E 00 18 */ stw r3, 0x18(r30) +/* 800624F4 0005F454 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 800624F8 0005F458 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 800624FC 0005F45C 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80062500 0005F460 90 7E 00 20 */ stw r3, 0x20(r30) +/* 80062504 0005F464 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80062508 0005F468 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8006250C 0005F46C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80062510 0005F470 90 7E 00 28 */ stw r3, 0x28(r30) +/* 80062514 0005F474 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 80062518 0005F478 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 8006251C 0005F47C 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80062520 0005F480 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80062524 0005F484 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80062528 0005F488 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8006252C 0005F48C 90 1E 00 38 */ stw r0, 0x38(r30) +lbl_80062530: +/* 80062530 0005F490 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80062534 0005F494 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80062538 0005F498 83 C1 00 08 */ lwz r30, 8(r1) +/* 8006253C 0005F49C 7C 08 03 A6 */ mtlr r0 +/* 80062540 0005F4A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80062544 0005F4A4 4E 80 00 20 */ blr + +.global FillInStaticGeometry__9CGameAreaFv +FillInStaticGeometry__9CGameAreaFv: +/* 80062548 0005F4A8 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8006254C 0005F4AC 7C 08 02 A6 */ mflr r0 +/* 80062550 0005F4B0 90 01 01 04 */ stw r0, 0x104(r1) +/* 80062554 0005F4B4 BE 41 00 C8 */ stmw r18, 0xc8(r1) +/* 80062558 0005F4B8 7C 72 1B 78 */ mr r18, r3 +/* 8006255C 0005F4BC 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80062560 0005F4C0 82 72 01 1C */ lwz r19, 0x11c(r18) +/* 80062564 0005F4C4 80 03 10 EC */ lwz r0, 0x10ec(r3) +/* 80062568 0005F4C8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8006256C 0005F4CC 7E 73 02 14 */ add r19, r19, r0 +/* 80062570 0005F4D0 80 13 00 04 */ lwz r0, 4(r19) +/* 80062574 0005F4D4 90 03 10 D4 */ stw r0, 0x10d4(r3) +/* 80062578 0005F4D8 80 72 01 2C */ lwz r3, 0x12c(r18) +/* 8006257C 0005F4DC 38 63 00 4C */ addi r3, r3, 0x4c +/* 80062580 0005F4E0 48 00 03 E5 */ bl "clear__Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>Fv" +/* 80062584 0005F4E4 80 72 01 2C */ lwz r3, 0x12c(r18) +/* 80062588 0005F4E8 38 00 00 00 */ li r0, 0 +/* 8006258C 0005F4EC 3B 61 00 A0 */ addi r27, r1, 0xa0 +/* 80062590 0005F4F0 3B 93 00 0C */ addi r28, r19, 0xc +/* 80062594 0005F4F4 83 A3 00 54 */ lwz r29, 0x54(r3) +/* 80062598 0005F4F8 3B 40 00 00 */ li r26, 0 +/* 8006259C 0005F4FC 90 01 00 44 */ stw r0, 0x44(r1) +/* 800625A0 0005F500 90 01 00 48 */ stw r0, 0x48(r1) +/* 800625A4 0005F504 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800625A8 0005F508 48 00 01 68 */ b lbl_80062710 +lbl_800625AC: +/* 800625AC 0005F50C 80 7C 00 4C */ lwz r3, 0x4c(r28) +/* 800625B0 0005F510 83 3C 00 04 */ lwz r25, 4(r28) +/* 800625B4 0005F514 83 C3 00 00 */ lwz r30, 0(r3) +/* 800625B8 0005F518 83 1C 00 10 */ lwz r24, 0x10(r28) +/* 800625BC 0005F51C 28 1E 00 00 */ cmplwi r30, 0 +/* 800625C0 0005F520 82 FC 00 1C */ lwz r23, 0x1c(r28) +/* 800625C4 0005F524 82 DC 00 28 */ lwz r22, 0x28(r28) +/* 800625C8 0005F528 82 BC 00 34 */ lwz r21, 0x34(r28) +/* 800625CC 0005F52C 82 9C 00 40 */ lwz r20, 0x40(r28) +/* 800625D0 0005F530 3B 9C 00 54 */ addi r28, r28, 0x54 +/* 800625D4 0005F534 41 82 01 38 */ beq lbl_8006270C +/* 800625D8 0005F538 7F C4 F3 78 */ mr r4, r30 +/* 800625DC 0005F53C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800625E0 0005F540 48 00 16 31 */ bl sub_80063c10 +/* 800625E4 0005F544 3A 60 00 00 */ li r19, 0 +/* 800625E8 0005F548 48 00 00 5C */ b lbl_80062644 +lbl_800625EC: +/* 800625EC 0005F54C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800625F0 0005F550 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 800625F4 0005F554 83 FC 00 04 */ lwz r31, 4(r28) +/* 800625F8 0005F558 7C 00 28 00 */ cmpw r0, r5 +/* 800625FC 0005F55C 41 80 00 1C */ blt lbl_80062618 +/* 80062600 0005F560 2C 05 00 00 */ cmpwi r5, 0 +/* 80062604 0005F564 38 61 00 40 */ addi r3, r1, 0x40 +/* 80062608 0005F568 38 80 00 04 */ li r4, 4 +/* 8006260C 0005F56C 41 82 00 08 */ beq lbl_80062614 +/* 80062610 0005F570 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80062614: +/* 80062614 0005F574 48 00 15 FD */ bl sub_80063c10 +lbl_80062618: +/* 80062618 0005F578 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8006261C 0005F57C 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 80062620 0005F580 54 00 10 3A */ slwi r0, r0, 2 +/* 80062624 0005F584 7C 63 02 15 */ add. r3, r3, r0 +/* 80062628 0005F588 41 82 00 08 */ beq lbl_80062630 +/* 8006262C 0005F58C 93 E3 00 00 */ stw r31, 0(r3) +lbl_80062630: +/* 80062630 0005F590 80 61 00 44 */ lwz r3, 0x44(r1) +/* 80062634 0005F594 3B 9C 00 0C */ addi r28, r28, 0xc +/* 80062638 0005F598 3A 73 00 01 */ addi r19, r19, 1 +/* 8006263C 0005F59C 38 03 00 01 */ addi r0, r3, 1 +/* 80062640 0005F5A0 90 01 00 44 */ stw r0, 0x44(r1) +lbl_80062644: +/* 80062644 0005F5A4 7C 13 F0 40 */ cmplw r19, r30 +/* 80062648 0005F5A8 41 80 FF A4 */ blt lbl_800625EC +/* 8006264C 0005F5AC 38 01 00 40 */ addi r0, r1, 0x40 +/* 80062650 0005F5B0 7F 24 CB 78 */ mr r4, r25 +/* 80062654 0005F5B4 90 01 00 08 */ stw r0, 8(r1) +/* 80062658 0005F5B8 7F 06 C3 78 */ mr r6, r24 +/* 8006265C 0005F5BC 7E E7 BB 78 */ mr r7, r23 +/* 80062660 0005F5C0 7E C8 B3 78 */ mr r8, r22 +/* 80062664 0005F5C4 80 B2 01 2C */ lwz r5, 0x12c(r18) +/* 80062668 0005F5C8 7E A9 AB 78 */ mr r9, r21 +/* 8006266C 0005F5CC 7E 8A A3 78 */ mr r10, r20 +/* 80062670 0005F5D0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80062674 0005F5D4 80 A5 10 D4 */ lwz r5, 0x10d4(r5) +/* 80062678 0005F5D8 48 24 01 01 */ bl "__ct__21CMetroidModelInstanceFPCvPCvPCvPCvPCvPCvPCvRCQ24rstl37vector" +/* 8006267C 0005F5DC 80 72 01 2C */ lwz r3, 0x12c(r18) +/* 80062680 0005F5E0 38 81 00 50 */ addi r4, r1, 0x50 +/* 80062684 0005F5E4 38 63 00 4C */ addi r3, r3, 0x4c +/* 80062688 0005F5E8 48 00 00 F9 */ bl sub_80062780 +/* 8006268C 0005F5EC 28 1B 00 00 */ cmplwi r27, 0 +/* 80062690 0005F5F0 41 82 00 44 */ beq lbl_800626D4 +/* 80062694 0005F5F4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80062698 0005F5F8 80 61 00 AC */ lwz r3, 0xac(r1) +/* 8006269C 0005F5FC 54 00 10 3A */ slwi r0, r0, 2 +/* 800626A0 0005F600 7C 03 02 14 */ add r0, r3, r0 +/* 800626A4 0005F604 90 61 00 14 */ stw r3, 0x14(r1) +/* 800626A8 0005F608 7C 64 1B 78 */ mr r4, r3 +/* 800626AC 0005F60C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800626B0 0005F610 90 01 00 18 */ stw r0, 0x18(r1) +/* 800626B4 0005F614 90 61 00 10 */ stw r3, 0x10(r1) +/* 800626B8 0005F618 48 00 00 08 */ b lbl_800626C0 +lbl_800626BC: +/* 800626BC 0005F61C 38 84 00 04 */ addi r4, r4, 4 +lbl_800626C0: +/* 800626C0 0005F620 7C 04 00 40 */ cmplw r4, r0 +/* 800626C4 0005F624 40 82 FF F8 */ bne lbl_800626BC +/* 800626C8 0005F628 28 03 00 00 */ cmplwi r3, 0 +/* 800626CC 0005F62C 41 82 00 08 */ beq lbl_800626D4 +/* 800626D0 0005F630 48 2B 32 61 */ bl Free__7CMemoryFPCv +lbl_800626D4: +/* 800626D4 0005F634 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800626D8 0005F638 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 800626DC 0005F63C 54 00 10 3A */ slwi r0, r0, 2 +/* 800626E0 0005F640 7C 03 02 14 */ add r0, r3, r0 +/* 800626E4 0005F644 90 61 00 34 */ stw r3, 0x34(r1) +/* 800626E8 0005F648 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800626EC 0005F64C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800626F0 0005F650 90 61 00 30 */ stw r3, 0x30(r1) +/* 800626F4 0005F654 48 00 00 08 */ b lbl_800626FC +lbl_800626F8: +/* 800626F8 0005F658 38 63 00 04 */ addi r3, r3, 4 +lbl_800626FC: +/* 800626FC 0005F65C 7C 03 00 40 */ cmplw r3, r0 +/* 80062700 0005F660 40 82 FF F8 */ bne lbl_800626F8 +/* 80062704 0005F664 38 00 00 00 */ li r0, 0 +/* 80062708 0005F668 90 01 00 44 */ stw r0, 0x44(r1) +lbl_8006270C: +/* 8006270C 0005F66C 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80062710: +/* 80062710 0005F670 7C 1A E8 00 */ cmpw r26, r29 +/* 80062714 0005F674 41 80 FE 98 */ blt lbl_800625AC +/* 80062718 0005F678 80 72 01 2C */ lwz r3, 0x12c(r18) +/* 8006271C 0005F67C 38 80 00 01 */ li r4, 1 +/* 80062720 0005F680 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 80062724 0005F684 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80062728 0005F688 98 03 11 08 */ stb r0, 0x1108(r3) +/* 8006272C 0005F68C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80062730 0005F690 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 80062734 0005F694 54 00 10 3A */ slwi r0, r0, 2 +/* 80062738 0005F698 7C 03 02 14 */ add r0, r3, r0 +/* 8006273C 0005F69C 90 61 00 24 */ stw r3, 0x24(r1) +/* 80062740 0005F6A0 7C 64 1B 78 */ mr r4, r3 +/* 80062744 0005F6A4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80062748 0005F6A8 90 01 00 28 */ stw r0, 0x28(r1) +/* 8006274C 0005F6AC 90 61 00 20 */ stw r3, 0x20(r1) +/* 80062750 0005F6B0 48 00 00 08 */ b lbl_80062758 +lbl_80062754: +/* 80062754 0005F6B4 38 84 00 04 */ addi r4, r4, 4 +lbl_80062758: +/* 80062758 0005F6B8 7C 04 00 40 */ cmplw r4, r0 +/* 8006275C 0005F6BC 40 82 FF F8 */ bne lbl_80062754 +/* 80062760 0005F6C0 28 03 00 00 */ cmplwi r3, 0 +/* 80062764 0005F6C4 41 82 00 08 */ beq lbl_8006276C +/* 80062768 0005F6C8 48 2B 31 C9 */ bl Free__7CMemoryFPCv +lbl_8006276C: +/* 8006276C 0005F6CC BA 41 00 C8 */ lmw r18, 0xc8(r1) +/* 80062770 0005F6D0 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80062774 0005F6D4 7C 08 03 A6 */ mtlr r0 +/* 80062778 0005F6D8 38 21 01 00 */ addi r1, r1, 0x100 +/* 8006277C 0005F6DC 4E 80 00 20 */ blr + +.global sub_80062780 +sub_80062780: +/* 80062780 0005F6E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80062784 0005F6E4 7C 08 02 A6 */ mflr r0 +/* 80062788 0005F6E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006278C 0005F6EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80062790 0005F6F0 7C 9F 23 78 */ mr r31, r4 +/* 80062794 0005F6F4 93 C1 00 08 */ stw r30, 8(r1) +/* 80062798 0005F6F8 7C 7E 1B 78 */ mr r30, r3 +/* 8006279C 0005F6FC 80 03 00 04 */ lwz r0, 4(r3) +/* 800627A0 0005F700 80 A3 00 08 */ lwz r5, 8(r3) +/* 800627A4 0005F704 7C 00 28 00 */ cmpw r0, r5 +/* 800627A8 0005F708 41 80 00 18 */ blt lbl_800627C0 +/* 800627AC 0005F70C 2C 05 00 00 */ cmpwi r5, 0 +/* 800627B0 0005F710 38 80 00 04 */ li r4, 4 +/* 800627B4 0005F714 41 82 00 08 */ beq lbl_800627BC +/* 800627B8 0005F718 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800627BC: +/* 800627BC 0005F71C 48 00 15 41 */ bl sub_80063cfc +lbl_800627C0: +/* 800627C0 0005F720 80 1E 00 04 */ lwz r0, 4(r30) +/* 800627C4 0005F724 7F E4 FB 78 */ mr r4, r31 +/* 800627C8 0005F728 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800627CC 0005F72C 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 800627D0 0005F730 7C 63 02 14 */ add r3, r3, r0 +/* 800627D4 0005F734 48 00 00 29 */ bl sub_800627fc +/* 800627D8 0005F738 80 7E 00 04 */ lwz r3, 4(r30) +/* 800627DC 0005F73C 38 03 00 01 */ addi r0, r3, 1 +/* 800627E0 0005F740 90 1E 00 04 */ stw r0, 4(r30) +/* 800627E4 0005F744 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800627E8 0005F748 83 C1 00 08 */ lwz r30, 8(r1) +/* 800627EC 0005F74C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800627F0 0005F750 7C 08 03 A6 */ mtlr r0 +/* 800627F4 0005F754 38 21 00 10 */ addi r1, r1, 0x10 +/* 800627F8 0005F758 4E 80 00 20 */ blr + +.global sub_800627fc +sub_800627fc: +/* 800627FC 0005F75C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80062800 0005F760 7C 08 02 A6 */ mflr r0 +/* 80062804 0005F764 28 03 00 00 */ cmplwi r3, 0 +/* 80062808 0005F768 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006280C 0005F76C 41 82 00 08 */ beq lbl_80062814 +/* 80062810 0005F770 48 00 00 15 */ bl sub_80062824 +lbl_80062814: +/* 80062814 0005F774 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80062818 0005F778 7C 08 03 A6 */ mtlr r0 +/* 8006281C 0005F77C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80062820 0005F780 4E 80 00 20 */ blr + +.global sub_80062824 +sub_80062824: +/* 80062824 0005F784 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80062828 0005F788 7C 08 02 A6 */ mflr r0 +/* 8006282C 0005F78C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80062830 0005F790 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80062834 0005F794 7C 9F 23 78 */ mr r31, r4 +/* 80062838 0005F798 93 C1 00 08 */ stw r30, 8(r1) +/* 8006283C 0005F79C 7C 7E 1B 78 */ mr r30, r3 +/* 80062840 0005F7A0 38 7E 00 04 */ addi r3, r30, 4 +/* 80062844 0005F7A4 80 04 00 00 */ lwz r0, 0(r4) +/* 80062848 0005F7A8 38 9F 00 04 */ addi r4, r31, 4 +/* 8006284C 0005F7AC 90 1E 00 00 */ stw r0, 0(r30) +/* 80062850 0005F7B0 48 2B 03 25 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80062854 0005F7B4 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 80062858 0005F7B8 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 8006285C 0005F7BC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80062860 0005F7C0 D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 80062864 0005F7C4 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80062868 0005F7C8 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 8006286C 0005F7CC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80062870 0005F7D0 D0 1E 00 40 */ stfs f0, 0x40(r30) +/* 80062874 0005F7D4 C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 80062878 0005F7D8 D0 1E 00 44 */ stfs f0, 0x44(r30) +/* 8006287C 0005F7DC C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 80062880 0005F7E0 D0 1E 00 48 */ stfs f0, 0x48(r30) +/* 80062884 0005F7E4 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80062888 0005F7E8 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 8006288C 0005F7EC 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 80062890 0005F7F0 90 1E 00 54 */ stw r0, 0x54(r30) +/* 80062894 0005F7F4 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80062898 0005F7F8 90 1E 00 58 */ stw r0, 0x58(r30) +/* 8006289C 0005F7FC 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 800628A0 0005F800 2C 00 00 00 */ cmpwi r0, 0 +/* 800628A4 0005F804 40 82 00 1C */ bne lbl_800628C0 +/* 800628A8 0005F808 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 800628AC 0005F80C 2C 00 00 00 */ cmpwi r0, 0 +/* 800628B0 0005F810 40 82 00 10 */ bne lbl_800628C0 +/* 800628B4 0005F814 38 00 00 00 */ li r0, 0 +/* 800628B8 0005F818 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 800628BC 0005F81C 48 00 00 64 */ b lbl_80062920 +lbl_800628C0: +/* 800628C0 0005F820 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 800628C4 0005F824 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 800628C8 0005F828 40 82 00 10 */ bne lbl_800628D8 +/* 800628CC 0005F82C 38 00 00 00 */ li r0, 0 +/* 800628D0 0005F830 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 800628D4 0005F834 48 00 00 18 */ b lbl_800628EC +lbl_800628D8: +/* 800628D8 0005F838 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 800628DC 0005F83C 38 A0 00 00 */ li r5, 0 +/* 800628E0 0005F840 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 800628E4 0005F844 48 2B 2F 35 */ bl __nwa__FUlPCcPCc +/* 800628E8 0005F848 90 7E 00 5C */ stw r3, 0x5c(r30) +lbl_800628EC: +/* 800628EC 0005F84C 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 800628F0 0005F850 80 9F 00 5C */ lwz r4, 0x5c(r31) +/* 800628F4 0005F854 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 800628F8 0005F858 7C 09 03 A6 */ mtctr r0 +/* 800628FC 0005F85C 2C 00 00 00 */ cmpwi r0, 0 +/* 80062900 0005F860 40 81 00 20 */ ble lbl_80062920 +lbl_80062904: +/* 80062904 0005F864 28 03 00 00 */ cmplwi r3, 0 +/* 80062908 0005F868 41 82 00 0C */ beq lbl_80062914 +/* 8006290C 0005F86C 80 04 00 00 */ lwz r0, 0(r4) +/* 80062910 0005F870 90 03 00 00 */ stw r0, 0(r3) +lbl_80062914: +/* 80062914 0005F874 38 63 00 04 */ addi r3, r3, 4 +/* 80062918 0005F878 38 84 00 04 */ addi r4, r4, 4 +/* 8006291C 0005F87C 42 00 FF E8 */ bdnz lbl_80062904 +lbl_80062920: +/* 80062920 0005F880 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80062924 0005F884 7F C3 F3 78 */ mr r3, r30 +/* 80062928 0005F888 90 1E 00 60 */ stw r0, 0x60(r30) +/* 8006292C 0005F88C 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 80062930 0005F890 90 1E 00 64 */ stw r0, 0x64(r30) +/* 80062934 0005F894 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 80062938 0005F898 90 1E 00 68 */ stw r0, 0x68(r30) +/* 8006293C 0005F89C 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 80062940 0005F8A0 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80062944 0005F8A4 80 1F 00 70 */ lwz r0, 0x70(r31) +/* 80062948 0005F8A8 90 1E 00 70 */ stw r0, 0x70(r30) +/* 8006294C 0005F8AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80062950 0005F8B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80062954 0005F8B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80062958 0005F8B8 7C 08 03 A6 */ mtlr r0 +/* 8006295C 0005F8BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80062960 0005F8C0 4E 80 00 20 */ blr + +.global "clear__Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>Fv" +"clear__Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>Fv": +/* 80062964 0005F8C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80062968 0005F8C8 7C 08 02 A6 */ mflr r0 +/* 8006296C 0005F8CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80062970 0005F8D0 38 81 00 0C */ addi r4, r1, 0xc +/* 80062974 0005F8D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80062978 0005F8D8 7C 7F 1B 78 */ mr r31, r3 +/* 8006297C 0005F8DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80062980 0005F8E0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80062984 0005F8E4 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80062988 0005F8E8 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8006298C 0005F8EC 7C A5 02 14 */ add r5, r5, r0 +/* 80062990 0005F8F0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80062994 0005F8F4 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80062998 0005F8F8 90 A1 00 08 */ stw r5, 8(r1) +/* 8006299C 0005F8FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 800629A0 0005F900 90 01 00 14 */ stw r0, 0x14(r1) +/* 800629A4 0005F904 4B FF DB A5 */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 800629A8 0005F908 38 00 00 00 */ li r0, 0 +/* 800629AC 0005F90C 90 1F 00 04 */ stw r0, 4(r31) +/* 800629B0 0005F910 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800629B4 0005F914 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800629B8 0005F918 7C 08 03 A6 */ mtlr r0 +/* 800629BC 0005F91C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800629C0 0005F920 4E 80 00 20 */ blr + +.global GetScriptingMemoryAlways__FRC9IGameArea +GetScriptingMemoryAlways__FRC9IGameArea: +/* 800629C4 0005F924 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800629C8 0005F928 7C 08 02 A6 */ mflr r0 +/* 800629CC 0005F92C 90 01 00 74 */ stw r0, 0x74(r1) +/* 800629D0 0005F930 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 800629D4 0005F934 7C 7D 1B 78 */ mr r29, r3 +/* 800629D8 0005F938 7C 83 23 78 */ mr r3, r4 +/* 800629DC 0005F93C 81 84 00 00 */ lwz r12, 0(r4) +/* 800629E0 0005F940 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800629E4 0005F944 7D 89 03 A6 */ mtctr r12 +/* 800629E8 0005F948 4E 80 04 21 */ bctrl +/* 800629EC 0005F94C 3C A0 4D 52 */ lis r5, 0x4D524541@ha +/* 800629F0 0005F950 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 800629F4 0005F954 38 05 45 41 */ addi r0, r5, 0x4D524541@l +/* 800629F8 0005F958 90 61 00 40 */ stw r3, 0x40(r1) +/* 800629FC 0005F95C 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80062A00 0005F960 38 60 00 60 */ li r3, 0x60 +/* 80062A04 0005F964 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80062A08 0005F968 38 A0 00 00 */ li r5, 0 +/* 80062A0C 0005F96C 48 2B 2E 0D */ bl __nwa__FUlPCcPCc +/* 80062A10 0005F970 7C 03 00 D0 */ neg r0, r3 +/* 80062A14 0005F974 7C 7B 1B 78 */ mr r27, r3 +/* 80062A18 0005F978 7C 00 1B 78 */ or r0, r0, r3 +/* 80062A1C 0005F97C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 80062A20 0005F980 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80062A24 0005F984 90 61 00 38 */ stw r3, 0x38(r1) +/* 80062A28 0005F988 38 65 00 04 */ addi r3, r5, 4 +/* 80062A2C 0005F98C 38 81 00 3C */ addi r4, r1, 0x3c +/* 80062A30 0005F990 98 01 00 34 */ stb r0, 0x34(r1) +/* 80062A34 0005F994 7F 67 DB 78 */ mr r7, r27 +/* 80062A38 0005F998 38 A0 00 00 */ li r5, 0 +/* 80062A3C 0005F99C 38 C0 00 60 */ li r6, 0x60 +/* 80062A40 0005F9A0 48 2D 8C 71 */ bl LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc +/* 80062A44 0005F9A4 28 03 00 00 */ cmplwi r3, 0 +/* 80062A48 0005F9A8 90 61 00 20 */ stw r3, 0x20(r1) +/* 80062A4C 0005F9AC 41 82 02 C8 */ beq lbl_80062D14 +/* 80062A50 0005F9B0 80 7B 00 00 */ lwz r3, 0(r27) +/* 80062A54 0005F9B4 80 9B 00 04 */ lwz r4, 4(r27) +/* 80062A58 0005F9B8 3C 03 21 53 */ addis r0, r3, 0x2153 +/* 80062A5C 0005F9BC 28 00 BE EF */ cmplwi r0, 0xbeef +/* 80062A60 0005F9C0 40 82 02 B4 */ bne lbl_80062D14 +/* 80062A64 0005F9C4 2C 04 00 0C */ cmpwi r4, 0xc +/* 80062A68 0005F9C8 41 80 02 AC */ blt lbl_80062D14 +/* 80062A6C 0005F9CC 2C 04 00 0F */ cmpwi r4, 0xf +/* 80062A70 0005F9D0 41 81 02 A4 */ bgt lbl_80062D14 +/* 80062A74 0005F9D4 83 9B 00 3C */ lwz r28, 0x3c(r27) +/* 80062A78 0005F9D8 38 81 00 3C */ addi r4, r1, 0x3c +/* 80062A7C 0005F9DC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80062A80 0005F9E0 38 A0 00 60 */ li r5, 0x60 +/* 80062A84 0005F9E4 57 86 10 3A */ slwi r6, r28, 2 +/* 80062A88 0005F9E8 83 FB 00 44 */ lwz r31, 0x44(r27) +/* 80062A8C 0005F9EC 38 06 00 1F */ addi r0, r6, 0x1f +/* 80062A90 0005F9F0 38 63 00 04 */ addi r3, r3, 4 +/* 80062A94 0005F9F4 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a +/* 80062A98 0005F9F8 38 E0 00 00 */ li r7, 0 +/* 80062A9C 0005F9FC 7F 66 DB 78 */ mr r6, r27 +/* 80062AA0 0005FA00 48 2D 8C 11 */ bl LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc +/* 80062AA4 0005FA04 38 00 00 00 */ li r0, 0 +/* 80062AA8 0005FA08 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80062AAC 0005FA0C 7F 84 E3 78 */ mr r4, r28 +/* 80062AB0 0005FA10 38 61 00 44 */ addi r3, r1, 0x44 +/* 80062AB4 0005FA14 90 01 00 48 */ stw r0, 0x48(r1) +/* 80062AB8 0005FA18 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80062ABC 0005FA1C 90 01 00 50 */ stw r0, 0x50(r1) +/* 80062AC0 0005FA20 4B FF 71 E9 */ bl "reserve__Q24rstl36vectorFi" +/* 80062AC4 0005FA24 3B 40 00 00 */ li r26, 0 +/* 80062AC8 0005FA28 48 00 00 60 */ b lbl_80062B28 +lbl_80062ACC: +/* 80062ACC 0005FA2C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80062AD0 0005FA30 48 2D C1 B5 */ bl ReadLong__12CInputStreamFv +/* 80062AD4 0005FA34 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80062AD8 0005FA38 7C 7E 1B 78 */ mr r30, r3 +/* 80062ADC 0005FA3C 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 80062AE0 0005FA40 7C 00 28 00 */ cmpw r0, r5 +/* 80062AE4 0005FA44 41 80 00 1C */ blt lbl_80062B00 +/* 80062AE8 0005FA48 2C 05 00 00 */ cmpwi r5, 0 +/* 80062AEC 0005FA4C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80062AF0 0005FA50 38 80 00 04 */ li r4, 4 +/* 80062AF4 0005FA54 41 82 00 08 */ beq lbl_80062AFC +/* 80062AF8 0005FA58 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80062AFC: +/* 80062AFC 0005FA5C 4B FF 71 AD */ bl "reserve__Q24rstl36vectorFi" +lbl_80062B00: +/* 80062B00 0005FA60 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80062B04 0005FA64 80 61 00 50 */ lwz r3, 0x50(r1) +/* 80062B08 0005FA68 54 00 10 3A */ slwi r0, r0, 2 +/* 80062B0C 0005FA6C 7C 63 02 15 */ add. r3, r3, r0 +/* 80062B10 0005FA70 41 82 00 08 */ beq lbl_80062B18 +/* 80062B14 0005FA74 93 C3 00 00 */ stw r30, 0(r3) +lbl_80062B18: +/* 80062B18 0005FA78 80 61 00 48 */ lwz r3, 0x48(r1) +/* 80062B1C 0005FA7C 3B 5A 00 01 */ addi r26, r26, 1 +/* 80062B20 0005FA80 38 03 00 01 */ addi r0, r3, 1 +/* 80062B24 0005FA84 90 01 00 48 */ stw r0, 0x48(r1) +lbl_80062B28: +/* 80062B28 0005FA88 7C 1A E0 00 */ cmpw r26, r28 +/* 80062B2C 0005FA8C 41 80 FF A0 */ blt lbl_80062ACC +/* 80062B30 0005FA90 2C 1F 00 00 */ cmpwi r31, 0 +/* 80062B34 0005FA94 3B DB 00 60 */ addi r30, r27, 0x60 +/* 80062B38 0005FA98 38 A0 00 00 */ li r5, 0 +/* 80062B3C 0005FA9C 40 81 00 A0 */ ble lbl_80062BDC +/* 80062B40 0005FAA0 2C 1F 00 08 */ cmpwi r31, 8 +/* 80062B44 0005FAA4 38 7F FF F8 */ addi r3, r31, -8 +/* 80062B48 0005FAA8 40 81 00 68 */ ble lbl_80062BB0 +/* 80062B4C 0005FAAC 38 03 00 07 */ addi r0, r3, 7 +/* 80062B50 0005FAB0 80 81 00 50 */ lwz r4, 0x50(r1) +/* 80062B54 0005FAB4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80062B58 0005FAB8 7C 09 03 A6 */ mtctr r0 +/* 80062B5C 0005FABC 2C 03 00 00 */ cmpwi r3, 0 +/* 80062B60 0005FAC0 40 81 00 50 */ ble lbl_80062BB0 +lbl_80062B64: +/* 80062B64 0005FAC4 80 64 00 00 */ lwz r3, 0(r4) +/* 80062B68 0005FAC8 38 A5 00 08 */ addi r5, r5, 8 +/* 80062B6C 0005FACC 80 04 00 04 */ lwz r0, 4(r4) +/* 80062B70 0005FAD0 7F DE 1A 14 */ add r30, r30, r3 +/* 80062B74 0005FAD4 80 64 00 08 */ lwz r3, 8(r4) +/* 80062B78 0005FAD8 7F DE 02 14 */ add r30, r30, r0 +/* 80062B7C 0005FADC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80062B80 0005FAE0 7F DE 1A 14 */ add r30, r30, r3 +/* 80062B84 0005FAE4 80 64 00 10 */ lwz r3, 0x10(r4) +/* 80062B88 0005FAE8 7F DE 02 14 */ add r30, r30, r0 +/* 80062B8C 0005FAEC 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80062B90 0005FAF0 7F DE 1A 14 */ add r30, r30, r3 +/* 80062B94 0005FAF4 80 64 00 18 */ lwz r3, 0x18(r4) +/* 80062B98 0005FAF8 7F DE 02 14 */ add r30, r30, r0 +/* 80062B9C 0005FAFC 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 80062BA0 0005FB00 7F DE 1A 14 */ add r30, r30, r3 +/* 80062BA4 0005FB04 38 84 00 20 */ addi r4, r4, 0x20 +/* 80062BA8 0005FB08 7F DE 02 14 */ add r30, r30, r0 +/* 80062BAC 0005FB0C 42 00 FF B8 */ bdnz lbl_80062B64 +lbl_80062BB0: +/* 80062BB0 0005FB10 80 81 00 50 */ lwz r4, 0x50(r1) +/* 80062BB4 0005FB14 54 A3 10 3A */ slwi r3, r5, 2 +/* 80062BB8 0005FB18 7C 05 F8 50 */ subf r0, r5, r31 +/* 80062BBC 0005FB1C 7C 64 1A 14 */ add r3, r4, r3 +/* 80062BC0 0005FB20 7C 09 03 A6 */ mtctr r0 +/* 80062BC4 0005FB24 7C 05 F8 00 */ cmpw r5, r31 +/* 80062BC8 0005FB28 40 80 00 14 */ bge lbl_80062BDC +lbl_80062BCC: +/* 80062BCC 0005FB2C 80 03 00 00 */ lwz r0, 0(r3) +/* 80062BD0 0005FB30 38 63 00 04 */ addi r3, r3, 4 +/* 80062BD4 0005FB34 7F DE 02 14 */ add r30, r30, r0 +/* 80062BD8 0005FB38 42 00 FF F4 */ bdnz lbl_80062BCC +lbl_80062BDC: +/* 80062BDC 0005FB3C 80 81 00 50 */ lwz r4, 0x50(r1) +/* 80062BE0 0005FB40 57 E0 10 3A */ slwi r0, r31, 2 +/* 80062BE4 0005FB44 3C 60 80 3D */ lis r3, lbl_803CCFAC@ha +/* 80062BE8 0005FB48 38 A0 00 00 */ li r5, 0 +/* 80062BEC 0005FB4C 7F 44 00 2E */ lwzx r26, r4, r0 +/* 80062BF0 0005FB50 38 83 CF AC */ addi r4, r3, lbl_803CCFAC@l +/* 80062BF4 0005FB54 7F 43 D3 78 */ mr r3, r26 +/* 80062BF8 0005FB58 48 2B 2C 21 */ bl __nwa__FUlPCcPCc +/* 80062BFC 0005FB5C 7C 03 00 D0 */ neg r0, r3 +/* 80062C00 0005FB60 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13) +/* 80062C04 0005FB64 7C 00 1B 78 */ or r0, r0, r3 +/* 80062C08 0005FB68 90 61 00 30 */ stw r3, 0x30(r1) +/* 80062C0C 0005FB6C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80062C10 0005FB70 7C 67 1B 78 */ mr r7, r3 +/* 80062C14 0005FB74 98 01 00 2C */ stb r0, 0x2c(r1) +/* 80062C18 0005FB78 38 64 00 04 */ addi r3, r4, 4 +/* 80062C1C 0005FB7C 7F C5 F3 78 */ mr r5, r30 +/* 80062C20 0005FB80 7F 46 D3 78 */ mr r6, r26 +/* 80062C24 0005FB84 38 81 00 3C */ addi r4, r1, 0x3c +/* 80062C28 0005FB88 48 2D 8A 89 */ bl LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc +/* 80062C2C 0005FB8C 88 A1 00 2C */ lbz r5, 0x2c(r1) +/* 80062C30 0005FB90 38 00 00 00 */ li r0, 0 +/* 80062C34 0005FB94 80 81 00 30 */ lwz r4, 0x30(r1) +/* 80062C38 0005FB98 28 03 00 00 */ cmplwi r3, 0 +/* 80062C3C 0005FB9C 98 BD 00 00 */ stb r5, 0(r29) +/* 80062C40 0005FBA0 90 9D 00 04 */ stw r4, 4(r29) +/* 80062C44 0005FBA4 90 61 00 18 */ stw r3, 0x18(r1) +/* 80062C48 0005FBA8 98 01 00 2C */ stb r0, 0x2c(r1) +/* 80062C4C 0005FBAC 93 5D 00 08 */ stw r26, 8(r29) +/* 80062C50 0005FBB0 41 82 00 18 */ beq lbl_80062C68 +/* 80062C54 0005FBB4 81 83 00 00 */ lwz r12, 0(r3) +/* 80062C58 0005FBB8 38 80 00 01 */ li r4, 1 +/* 80062C5C 0005FBBC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80062C60 0005FBC0 7D 89 03 A6 */ mtctr r12 +/* 80062C64 0005FBC4 4E 80 04 21 */ bctrl +lbl_80062C68: +/* 80062C68 0005FBC8 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 80062C6C 0005FBCC 28 00 00 00 */ cmplwi r0, 0 +/* 80062C70 0005FBD0 41 82 00 0C */ beq lbl_80062C7C +/* 80062C74 0005FBD4 80 61 00 30 */ lwz r3, 0x30(r1) +/* 80062C78 0005FBD8 48 2B 2C B9 */ bl Free__7CMemoryFPCv +lbl_80062C7C: +/* 80062C7C 0005FBDC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80062C80 0005FBE0 80 61 00 50 */ lwz r3, 0x50(r1) +/* 80062C84 0005FBE4 54 00 10 3A */ slwi r0, r0, 2 +/* 80062C88 0005FBE8 7C 03 02 14 */ add r0, r3, r0 +/* 80062C8C 0005FBEC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80062C90 0005FBF0 7C 64 1B 78 */ mr r4, r3 +/* 80062C94 0005FBF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80062C98 0005FBF8 90 01 00 10 */ stw r0, 0x10(r1) +/* 80062C9C 0005FBFC 90 61 00 08 */ stw r3, 8(r1) +/* 80062CA0 0005FC00 48 00 00 08 */ b lbl_80062CA8 +lbl_80062CA4: +/* 80062CA4 0005FC04 38 84 00 04 */ addi r4, r4, 4 +lbl_80062CA8: +/* 80062CA8 0005FC08 7C 04 00 40 */ cmplw r4, r0 +/* 80062CAC 0005FC0C 40 82 FF F8 */ bne lbl_80062CA4 +/* 80062CB0 0005FC10 28 03 00 00 */ cmplwi r3, 0 +/* 80062CB4 0005FC14 41 82 00 08 */ beq lbl_80062CBC +/* 80062CB8 0005FC18 48 2B 2C 79 */ bl Free__7CMemoryFPCv +lbl_80062CBC: +/* 80062CBC 0005FC1C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80062CC0 0005FC20 28 03 00 00 */ cmplwi r3, 0 +/* 80062CC4 0005FC24 41 82 00 18 */ beq lbl_80062CDC +/* 80062CC8 0005FC28 81 83 00 00 */ lwz r12, 0(r3) +/* 80062CCC 0005FC2C 38 80 00 01 */ li r4, 1 +/* 80062CD0 0005FC30 81 8C 00 08 */ lwz r12, 8(r12) +/* 80062CD4 0005FC34 7D 89 03 A6 */ mtctr r12 +/* 80062CD8 0005FC38 4E 80 04 21 */ bctrl +lbl_80062CDC: +/* 80062CDC 0005FC3C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80062CE0 0005FC40 28 03 00 00 */ cmplwi r3, 0 +/* 80062CE4 0005FC44 41 82 00 18 */ beq lbl_80062CFC +/* 80062CE8 0005FC48 81 83 00 00 */ lwz r12, 0(r3) +/* 80062CEC 0005FC4C 38 80 00 01 */ li r4, 1 +/* 80062CF0 0005FC50 81 8C 00 08 */ lwz r12, 8(r12) +/* 80062CF4 0005FC54 7D 89 03 A6 */ mtctr r12 +/* 80062CF8 0005FC58 4E 80 04 21 */ bctrl +lbl_80062CFC: +/* 80062CFC 0005FC5C 88 01 00 34 */ lbz r0, 0x34(r1) +/* 80062D00 0005FC60 28 00 00 00 */ cmplwi r0, 0 +/* 80062D04 0005FC64 41 82 00 6C */ beq lbl_80062D70 +/* 80062D08 0005FC68 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80062D0C 0005FC6C 48 2B 2C 25 */ bl Free__7CMemoryFPCv +/* 80062D10 0005FC70 48 00 00 60 */ b lbl_80062D70 +lbl_80062D14: +/* 80062D14 0005FC74 38 60 00 00 */ li r3, 0 +/* 80062D18 0005FC78 98 7D 00 00 */ stb r3, 0(r29) +/* 80062D1C 0005FC7C 90 7D 00 04 */ stw r3, 4(r29) +/* 80062D20 0005FC80 98 61 00 24 */ stb r3, 0x24(r1) +/* 80062D24 0005FC84 80 0D 82 E0 */ lwz r0, lbl_805A6EA0@sda21(r13) +/* 80062D28 0005FC88 90 61 00 28 */ stw r3, 0x28(r1) +/* 80062D2C 0005FC8C 98 61 00 24 */ stb r3, 0x24(r1) +/* 80062D30 0005FC90 90 1D 00 08 */ stw r0, 8(r29) +/* 80062D34 0005FC94 48 00 00 08 */ b lbl_80062D3C +/* 80062D38 0005FC98 48 2B 2B F9 */ bl Free__7CMemoryFPCv +lbl_80062D3C: +/* 80062D3C 0005FC9C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80062D40 0005FCA0 28 03 00 00 */ cmplwi r3, 0 +/* 80062D44 0005FCA4 41 82 00 18 */ beq lbl_80062D5C +/* 80062D48 0005FCA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80062D4C 0005FCAC 38 80 00 01 */ li r4, 1 +/* 80062D50 0005FCB0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80062D54 0005FCB4 7D 89 03 A6 */ mtctr r12 +/* 80062D58 0005FCB8 4E 80 04 21 */ bctrl +lbl_80062D5C: +/* 80062D5C 0005FCBC 88 01 00 34 */ lbz r0, 0x34(r1) +/* 80062D60 0005FCC0 28 00 00 00 */ cmplwi r0, 0 +/* 80062D64 0005FCC4 41 82 00 0C */ beq lbl_80062D70 +/* 80062D68 0005FCC8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80062D6C 0005FCCC 48 2B 2B C5 */ bl Free__7CMemoryFPCv +lbl_80062D70: +/* 80062D70 0005FCD0 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 80062D74 0005FCD4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80062D78 0005FCD8 7C 08 03 A6 */ mtlr r0 +/* 80062D7C 0005FCDC 38 21 00 70 */ addi r1, r1, 0x70 +/* 80062D80 0005FCE0 4E 80 00 20 */ blr + +.global VerifyTokenList__9CGameAreaFv +VerifyTokenList__9CGameAreaFv: +/* 80062D84 0005FCE4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80062D88 0005FCE8 7C 08 02 A6 */ mflr r0 +/* 80062D8C 0005FCEC 90 01 00 54 */ stw r0, 0x54(r1) +/* 80062D90 0005FCF0 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 80062D94 0005FCF4 7C 7A 1B 78 */ mr r26, r3 +/* 80062D98 0005FCF8 7C 99 23 78 */ mr r25, r4 +/* 80062D9C 0005FCFC 80 03 00 E0 */ lwz r0, 0xe0(r3) +/* 80062DA0 0005FD00 2C 00 00 00 */ cmpwi r0, 0 +/* 80062DA4 0005FD04 40 82 01 38 */ bne lbl_80062EDC +/* 80062DA8 0005FD08 48 00 01 49 */ bl ClearTokenList__9CGameAreaFv +/* 80062DAC 0005FD0C 80 1A 00 B0 */ lwz r0, 0xb0(r26) +/* 80062DB0 0005FD10 80 79 08 C8 */ lwz r3, 0x8c8(r25) +/* 80062DB4 0005FD14 2C 00 00 00 */ cmpwi r0, 0 +/* 80062DB8 0005FD18 83 E3 00 00 */ lwz r31, 0(r3) +/* 80062DBC 0005FD1C 41 82 01 20 */ beq lbl_80062EDC +/* 80062DC0 0005FD20 80 7A 00 C0 */ lwz r3, 0xc0(r26) +/* 80062DC4 0005FD24 3B A3 FF FF */ addi r29, r3, -1 +/* 80062DC8 0005FD28 57 BE 10 3A */ slwi r30, r29, 2 +/* 80062DCC 0005FD2C 48 00 01 08 */ b lbl_80062ED4 +lbl_80062DD0: +/* 80062DD0 0005FD30 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80062DD4 0005FD34 7F E3 FB 78 */ mr r3, r31 +/* 80062DD8 0005FD38 38 81 00 10 */ addi r4, r1, 0x10 +/* 80062DDC 0005FD3C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80062DE0 0005FD40 80 1A 00 04 */ lwz r0, 4(r26) +/* 80062DE4 0005FD44 93 A1 00 08 */ stw r29, 8(r1) +/* 80062DE8 0005FD48 90 01 00 10 */ stw r0, 0x10(r1) +/* 80062DEC 0005FD4C 48 1D 14 85 */ bl IsLayerActive__16CWorldLayerStateFii +/* 80062DF0 0005FD50 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80062DF4 0005FD54 41 82 00 D8 */ beq lbl_80062ECC +/* 80062DF8 0005FD58 80 1A 00 C0 */ lwz r0, 0xc0(r26) +/* 80062DFC 0005FD5C 38 7D 00 01 */ addi r3, r29, 1 +/* 80062E00 0005FD60 80 9A 00 C8 */ lwz r4, 0xc8(r26) +/* 80062E04 0005FD64 7C 03 00 00 */ cmpw r3, r0 +/* 80062E08 0005FD68 7C A4 F0 2E */ lwzx r5, r4, r30 +/* 80062E0C 0005FD6C 40 80 00 10 */ bge lbl_80062E1C +/* 80062E10 0005FD70 54 60 10 3A */ slwi r0, r3, 2 +/* 80062E14 0005FD74 7F 84 00 2E */ lwzx r28, r4, r0 +/* 80062E18 0005FD78 48 00 00 08 */ b lbl_80062E20 +lbl_80062E1C: +/* 80062E1C 0005FD7C 83 9A 00 B0 */ lwz r28, 0xb0(r26) +lbl_80062E20: +/* 80062E20 0005FD80 7C BB 2B 78 */ mr r27, r5 +/* 80062E24 0005FD84 54 B9 18 38 */ slwi r25, r5, 3 +/* 80062E28 0005FD88 48 00 00 9C */ b lbl_80062EC4 +lbl_80062E2C: +/* 80062E2C 0005FD8C 80 1A 00 B8 */ lwz r0, 0xb8(r26) +/* 80062E30 0005FD90 38 61 00 14 */ addi r3, r1, 0x14 +/* 80062E34 0005FD94 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80062E38 0005FD98 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80062E3C 0005FD9C 7C C0 CA 14 */ add r6, r0, r25 +/* 80062E40 0005FDA0 80 E6 00 00 */ lwz r7, 0(r6) +/* 80062E44 0005FDA4 80 06 00 04 */ lwz r0, 4(r6) +/* 80062E48 0005FDA8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80062E4C 0005FDAC 90 E1 00 20 */ stw r7, 0x20(r1) +/* 80062E50 0005FDB0 81 84 00 00 */ lwz r12, 0(r4) +/* 80062E54 0005FDB4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80062E58 0005FDB8 7D 89 03 A6 */ mtctr r12 +/* 80062E5C 0005FDBC 4E 80 04 21 */ bctrl +/* 80062E60 0005FDC0 80 1A 00 E0 */ lwz r0, 0xe0(r26) +/* 80062E64 0005FDC4 80 BA 00 E4 */ lwz r5, 0xe4(r26) +/* 80062E68 0005FDC8 7C 00 28 00 */ cmpw r0, r5 +/* 80062E6C 0005FDCC 41 80 00 1C */ blt lbl_80062E88 +/* 80062E70 0005FDD0 2C 05 00 00 */ cmpwi r5, 0 +/* 80062E74 0005FDD4 38 7A 00 DC */ addi r3, r26, 0xdc +/* 80062E78 0005FDD8 38 80 00 04 */ li r4, 4 +/* 80062E7C 0005FDDC 41 82 00 08 */ beq lbl_80062E84 +/* 80062E80 0005FDE0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80062E84: +/* 80062E84 0005FDE4 4B FA 5A D9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_80062E88: +/* 80062E88 0005FDE8 80 1A 00 E0 */ lwz r0, 0xe0(r26) +/* 80062E8C 0005FDEC 80 7A 00 E8 */ lwz r3, 0xe8(r26) +/* 80062E90 0005FDF0 54 00 18 38 */ slwi r0, r0, 3 +/* 80062E94 0005FDF4 7C 63 02 15 */ add. r3, r3, r0 +/* 80062E98 0005FDF8 41 82 00 0C */ beq lbl_80062EA4 +/* 80062E9C 0005FDFC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80062EA0 0005FE00 48 2D E0 09 */ bl __ct__6CTokenFRC6CToken +lbl_80062EA4: +/* 80062EA4 0005FE04 80 BA 00 E0 */ lwz r5, 0xe0(r26) +/* 80062EA8 0005FE08 38 61 00 14 */ addi r3, r1, 0x14 +/* 80062EAC 0005FE0C 38 80 FF FF */ li r4, -1 +/* 80062EB0 0005FE10 38 05 00 01 */ addi r0, r5, 1 +/* 80062EB4 0005FE14 90 1A 00 E0 */ stw r0, 0xe0(r26) +/* 80062EB8 0005FE18 48 2D DF 89 */ bl __dt__6CTokenFv +/* 80062EBC 0005FE1C 3B 39 00 08 */ addi r25, r25, 8 +/* 80062EC0 0005FE20 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80062EC4: +/* 80062EC4 0005FE24 7C 1B E0 00 */ cmpw r27, r28 +/* 80062EC8 0005FE28 41 80 FF 64 */ blt lbl_80062E2C +lbl_80062ECC: +/* 80062ECC 0005FE2C 3B DE FF FC */ addi r30, r30, -4 +/* 80062ED0 0005FE30 3B BD FF FF */ addi r29, r29, -1 +lbl_80062ED4: +/* 80062ED4 0005FE34 2C 1D 00 00 */ cmpwi r29, 0 +/* 80062ED8 0005FE38 40 80 FE F8 */ bge lbl_80062DD0 +lbl_80062EDC: +/* 80062EDC 0005FE3C BB 21 00 34 */ lmw r25, 0x34(r1) +/* 80062EE0 0005FE40 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80062EE4 0005FE44 7C 08 03 A6 */ mtlr r0 +/* 80062EE8 0005FE48 38 21 00 50 */ addi r1, r1, 0x50 +/* 80062EEC 0005FE4C 4E 80 00 20 */ blr + +.global ClearTokenList__9CGameAreaFv +ClearTokenList__9CGameAreaFv: +/* 80062EF0 0005FE50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80062EF4 0005FE54 7C 08 02 A6 */ mflr r0 +/* 80062EF8 0005FE58 90 01 00 34 */ stw r0, 0x34(r1) +/* 80062EFC 0005FE5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80062F00 0005FE60 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80062F04 0005FE64 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80062F08 0005FE68 7C 7D 1B 78 */ mr r29, r3 +/* 80062F0C 0005FE6C 80 03 00 E4 */ lwz r0, 0xe4(r3) +/* 80062F10 0005FE70 2C 00 00 00 */ cmpwi r0, 0 +/* 80062F14 0005FE74 40 82 00 14 */ bne lbl_80062F28 +/* 80062F18 0005FE78 80 9D 00 B0 */ lwz r4, 0xb0(r29) +/* 80062F1C 0005FE7C 38 7D 00 DC */ addi r3, r29, 0xdc +/* 80062F20 0005FE80 4B FA 5A 3D */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 80062F24 0005FE84 48 00 00 48 */ b lbl_80062F6C +lbl_80062F28: +/* 80062F28 0005FE88 80 1D 00 E0 */ lwz r0, 0xe0(r29) +/* 80062F2C 0005FE8C 83 DD 00 E8 */ lwz r30, 0xe8(r29) +/* 80062F30 0005FE90 54 00 18 38 */ slwi r0, r0, 3 +/* 80062F34 0005FE94 7F FE 02 14 */ add r31, r30, r0 +/* 80062F38 0005FE98 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80062F3C 0005FE9C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80062F40 0005FEA0 93 E1 00 10 */ stw r31, 0x10(r1) +/* 80062F44 0005FEA4 93 C1 00 08 */ stw r30, 8(r1) +/* 80062F48 0005FEA8 48 00 00 14 */ b lbl_80062F5C +lbl_80062F4C: +/* 80062F4C 0005FEAC 7F C3 F3 78 */ mr r3, r30 +/* 80062F50 0005FEB0 38 80 FF FF */ li r4, -1 +/* 80062F54 0005FEB4 48 2D DE ED */ bl __dt__6CTokenFv +/* 80062F58 0005FEB8 3B DE 00 08 */ addi r30, r30, 8 +lbl_80062F5C: +/* 80062F5C 0005FEBC 7C 1E F8 40 */ cmplw r30, r31 +/* 80062F60 0005FEC0 40 82 FF EC */ bne lbl_80062F4C +/* 80062F64 0005FEC4 38 00 00 00 */ li r0, 0 +/* 80062F68 0005FEC8 90 1D 00 E0 */ stw r0, 0xe0(r29) +lbl_80062F6C: +/* 80062F6C 0005FECC 88 1D 00 F0 */ lbz r0, 0xf0(r29) +/* 80062F70 0005FED0 38 60 00 00 */ li r3, 0 +/* 80062F74 0005FED4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80062F78 0005FED8 98 1D 00 F0 */ stb r0, 0xf0(r29) +/* 80062F7C 0005FEDC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80062F80 0005FEE0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80062F84 0005FEE4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80062F88 0005FEE8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80062F8C 0005FEEC 7C 08 03 A6 */ mtlr r0 +/* 80062F90 0005FEF0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80062F94 0005FEF4 4E 80 00 20 */ blr + +.global __dt__9CGameAreaFv +__dt__9CGameAreaFv: +/* 80062F98 0005FEF8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80062F9C 0005FEFC 7C 08 02 A6 */ mflr r0 +/* 80062FA0 0005FF00 90 01 00 74 */ stw r0, 0x74(r1) +/* 80062FA4 0005FF04 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80062FA8 0005FF08 7C 9F 23 78 */ mr r31, r4 +/* 80062FAC 0005FF0C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80062FB0 0005FF10 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80062FB4 0005FF14 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80062FB8 0005FF18 93 81 00 60 */ stw r28, 0x60(r1) +/* 80062FBC 0005FF1C 41 82 02 2C */ beq lbl_800631E8 +/* 80062FC0 0005FF20 3C 80 80 3E */ lis r4, lbl_803DA234@ha +/* 80062FC4 0005FF24 38 04 A2 34 */ addi r0, r4, lbl_803DA234@l +/* 80062FC8 0005FF28 90 1E 00 00 */ stw r0, 0(r30) +/* 80062FCC 0005FF2C 88 1E 00 F0 */ lbz r0, 0xf0(r30) +/* 80062FD0 0005FF30 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80062FD4 0005FF34 41 82 00 14 */ beq lbl_80062FE8 +/* 80062FD8 0005FF38 48 00 0A 0D */ bl GetPostConstructedSize__9CGameAreaCFv +/* 80062FDC 0005FF3C 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) +/* 80062FE0 0005FF40 7C 03 00 50 */ subf r0, r3, r0 +/* 80062FE4 0005FF44 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) +lbl_80062FE8: +/* 80062FE8 0005FF48 7F C3 F3 78 */ mr r3, r30 +/* 80062FEC 0005FF4C 48 00 0A 79 */ bl GetPreConstructedSize__9CGameAreaCFv +/* 80062FF0 0005FF50 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) +/* 80062FF4 0005FF54 7C 03 00 50 */ subf r0, r3, r0 +/* 80062FF8 0005FF58 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) +/* 80062FFC 0005FF5C 88 1E 00 F0 */ lbz r0, 0xf0(r30) +/* 80063000 0005FF60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80063004 0005FF64 41 82 00 10 */ beq lbl_80063014 +/* 80063008 0005FF68 7F C3 F3 78 */ mr r3, r30 +/* 8006300C 0005FF6C 4B FF C7 A1 */ bl RemoveStaticGeometry__9CGameAreaFv +/* 80063010 0005FF70 48 00 00 18 */ b lbl_80063028 +lbl_80063014: +/* 80063014 0005FF74 7F C3 F3 78 */ mr r3, r30 +/* 80063018 0005FF78 38 80 00 00 */ li r4, 0 +/* 8006301C 0005FF7C 4B FF D9 9D */ bl Invalidate__9CGameAreaFP13CStateManager +/* 80063020 0005FF80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80063024 0005FF84 41 82 FF F0 */ beq lbl_80063014 +lbl_80063028: +/* 80063028 0005FF88 38 7E 01 2C */ addi r3, r30, 0x12c +/* 8006302C 0005FF8C 38 80 FF FF */ li r4, -1 +/* 80063030 0005FF90 48 00 01 DD */ bl sub_8006320c +/* 80063034 0005FF94 38 7E 01 10 */ addi r3, r30, 0x110 +/* 80063038 0005FF98 38 80 FF FF */ li r4, -1 +/* 8006303C 0005FF9C 4B FF DC 89 */ bl sub_80060cc4 +/* 80063040 0005FFA0 38 7E 00 F8 */ addi r3, r30, 0xf8 +/* 80063044 0005FFA4 38 80 FF FF */ li r4, -1 +/* 80063048 0005FFA8 48 00 16 FD */ bl sub_80064744 +/* 8006304C 0005FFAC 34 1E 00 DC */ addic. r0, r30, 0xdc +/* 80063050 0005FFB0 41 82 00 50 */ beq lbl_800630A0 +/* 80063054 0005FFB4 80 1E 00 E0 */ lwz r0, 0xe0(r30) +/* 80063058 0005FFB8 83 9E 00 E8 */ lwz r28, 0xe8(r30) +/* 8006305C 0005FFBC 54 00 18 38 */ slwi r0, r0, 3 +/* 80063060 0005FFC0 7F BC 02 14 */ add r29, r28, r0 +/* 80063064 0005FFC4 93 81 00 4C */ stw r28, 0x4c(r1) +/* 80063068 0005FFC8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8006306C 0005FFCC 93 A1 00 50 */ stw r29, 0x50(r1) +/* 80063070 0005FFD0 93 81 00 48 */ stw r28, 0x48(r1) +/* 80063074 0005FFD4 48 00 00 14 */ b lbl_80063088 +lbl_80063078: +/* 80063078 0005FFD8 7F 83 E3 78 */ mr r3, r28 +/* 8006307C 0005FFDC 38 80 FF FF */ li r4, -1 +/* 80063080 0005FFE0 48 2D DD C1 */ bl __dt__6CTokenFv +/* 80063084 0005FFE4 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80063088: +/* 80063088 0005FFE8 7C 1C E8 40 */ cmplw r28, r29 +/* 8006308C 0005FFEC 40 82 FF EC */ bne lbl_80063078 +/* 80063090 0005FFF0 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 80063094 0005FFF4 28 03 00 00 */ cmplwi r3, 0 +/* 80063098 0005FFF8 41 82 00 08 */ beq lbl_800630A0 +/* 8006309C 0005FFFC 48 2B 28 95 */ bl Free__7CMemoryFPCv +lbl_800630A0: +/* 800630A0 00060000 38 7E 00 CC */ addi r3, r30, 0xcc +/* 800630A4 00060004 38 80 FF FF */ li r4, -1 +/* 800630A8 00060008 4B FF 3F 41 */ bl sub_80056fe8 +/* 800630AC 0006000C 34 1E 00 BC */ addic. r0, r30, 0xbc +/* 800630B0 00060010 41 82 00 44 */ beq lbl_800630F4 +/* 800630B4 00060014 80 1E 00 C0 */ lwz r0, 0xc0(r30) +/* 800630B8 00060018 80 7E 00 C8 */ lwz r3, 0xc8(r30) +/* 800630BC 0006001C 54 00 10 3A */ slwi r0, r0, 2 +/* 800630C0 00060020 7C 03 02 14 */ add r0, r3, r0 +/* 800630C4 00060024 90 61 00 3C */ stw r3, 0x3c(r1) +/* 800630C8 00060028 7C 64 1B 78 */ mr r4, r3 +/* 800630CC 0006002C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800630D0 00060030 90 01 00 40 */ stw r0, 0x40(r1) +/* 800630D4 00060034 90 61 00 38 */ stw r3, 0x38(r1) +/* 800630D8 00060038 48 00 00 08 */ b lbl_800630E0 +lbl_800630DC: +/* 800630DC 0006003C 38 84 00 04 */ addi r4, r4, 4 +lbl_800630E0: +/* 800630E0 00060040 7C 04 00 40 */ cmplw r4, r0 +/* 800630E4 00060044 40 82 FF F8 */ bne lbl_800630DC +/* 800630E8 00060048 28 03 00 00 */ cmplwi r3, 0 +/* 800630EC 0006004C 41 82 00 08 */ beq lbl_800630F4 +/* 800630F0 00060050 48 2B 28 41 */ bl Free__7CMemoryFPCv +lbl_800630F4: +/* 800630F4 00060054 34 1E 00 AC */ addic. r0, r30, 0xac +/* 800630F8 00060058 41 82 00 44 */ beq lbl_8006313C +/* 800630FC 0006005C 80 1E 00 B0 */ lwz r0, 0xb0(r30) +/* 80063100 00060060 80 7E 00 B8 */ lwz r3, 0xb8(r30) +/* 80063104 00060064 54 00 18 38 */ slwi r0, r0, 3 +/* 80063108 00060068 7C 03 02 14 */ add r0, r3, r0 +/* 8006310C 0006006C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80063110 00060070 7C 64 1B 78 */ mr r4, r3 +/* 80063114 00060074 90 01 00 34 */ stw r0, 0x34(r1) +/* 80063118 00060078 90 01 00 30 */ stw r0, 0x30(r1) +/* 8006311C 0006007C 90 61 00 28 */ stw r3, 0x28(r1) +/* 80063120 00060080 48 00 00 08 */ b lbl_80063128 +lbl_80063124: +/* 80063124 00060084 38 84 00 08 */ addi r4, r4, 8 +lbl_80063128: +/* 80063128 00060088 7C 04 00 40 */ cmplw r4, r0 +/* 8006312C 0006008C 40 82 FF F8 */ bne lbl_80063124 +/* 80063130 00060090 28 03 00 00 */ cmplwi r3, 0 +/* 80063134 00060094 41 82 00 08 */ beq lbl_8006313C +/* 80063138 00060098 48 2B 27 F9 */ bl Free__7CMemoryFPCv +lbl_8006313C: +/* 8006313C 0006009C 34 1E 00 9C */ addic. r0, r30, 0x9c +/* 80063140 000600A0 41 82 00 44 */ beq lbl_80063184 +/* 80063144 000600A4 80 1E 00 A0 */ lwz r0, 0xa0(r30) +/* 80063148 000600A8 80 7E 00 A8 */ lwz r3, 0xa8(r30) +/* 8006314C 000600AC 54 00 18 38 */ slwi r0, r0, 3 +/* 80063150 000600B0 7C 03 02 14 */ add r0, r3, r0 +/* 80063154 000600B4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80063158 000600B8 7C 64 1B 78 */ mr r4, r3 +/* 8006315C 000600BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80063160 000600C0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80063164 000600C4 90 61 00 18 */ stw r3, 0x18(r1) +/* 80063168 000600C8 48 00 00 08 */ b lbl_80063170 +lbl_8006316C: +/* 8006316C 000600CC 38 84 00 08 */ addi r4, r4, 8 +lbl_80063170: +/* 80063170 000600D0 7C 04 00 40 */ cmplw r4, r0 +/* 80063174 000600D4 40 82 FF F8 */ bne lbl_8006316C +/* 80063178 000600D8 28 03 00 00 */ cmplwi r3, 0 +/* 8006317C 000600DC 41 82 00 08 */ beq lbl_80063184 +/* 80063180 000600E0 48 2B 27 B1 */ bl Free__7CMemoryFPCv +lbl_80063184: +/* 80063184 000600E4 34 1E 00 8C */ addic. r0, r30, 0x8c +/* 80063188 000600E8 41 82 00 44 */ beq lbl_800631CC +/* 8006318C 000600EC 80 1E 00 90 */ lwz r0, 0x90(r30) +/* 80063190 000600F0 80 7E 00 98 */ lwz r3, 0x98(r30) +/* 80063194 000600F4 54 00 08 3C */ slwi r0, r0, 1 +/* 80063198 000600F8 7C 03 02 14 */ add r0, r3, r0 +/* 8006319C 000600FC 90 61 00 0C */ stw r3, 0xc(r1) +/* 800631A0 00060100 7C 64 1B 78 */ mr r4, r3 +/* 800631A4 00060104 90 01 00 14 */ stw r0, 0x14(r1) +/* 800631A8 00060108 90 01 00 10 */ stw r0, 0x10(r1) +/* 800631AC 0006010C 90 61 00 08 */ stw r3, 8(r1) +/* 800631B0 00060110 48 00 00 08 */ b lbl_800631B8 +lbl_800631B4: +/* 800631B4 00060114 38 84 00 02 */ addi r4, r4, 2 +lbl_800631B8: +/* 800631B8 00060118 7C 04 00 40 */ cmplw r4, r0 +/* 800631BC 0006011C 40 82 FF F8 */ bne lbl_800631B4 +/* 800631C0 00060120 28 03 00 00 */ cmplwi r3, 0 +/* 800631C4 00060124 41 82 00 08 */ beq lbl_800631CC +/* 800631C8 00060128 48 2B 27 69 */ bl Free__7CMemoryFPCv +lbl_800631CC: +/* 800631CC 0006012C 7F C3 F3 78 */ mr r3, r30 +/* 800631D0 00060130 38 80 00 00 */ li r4, 0 +/* 800631D4 00060134 48 00 09 09 */ bl __dt__9IGameAreaFv +/* 800631D8 00060138 7F E0 07 35 */ extsh. r0, r31 +/* 800631DC 0006013C 40 81 00 0C */ ble lbl_800631E8 +/* 800631E0 00060140 7F C3 F3 78 */ mr r3, r30 +/* 800631E4 00060144 48 2B 27 4D */ bl Free__7CMemoryFPCv +lbl_800631E8: +/* 800631E8 00060148 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800631EC 0006014C 7F C3 F3 78 */ mr r3, r30 +/* 800631F0 00060150 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800631F4 00060154 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800631F8 00060158 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800631FC 0006015C 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80063200 00060160 7C 08 03 A6 */ mtlr r0 +/* 80063204 00060164 38 21 00 70 */ addi r1, r1, 0x70 +/* 80063208 00060168 4E 80 00 20 */ blr + +.global sub_8006320c +sub_8006320c: +/* 8006320C 0006016C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80063210 00060170 7C 08 02 A6 */ mflr r0 +/* 80063214 00060174 90 01 00 14 */ stw r0, 0x14(r1) +/* 80063218 00060178 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006321C 0006017C 7C 9F 23 78 */ mr r31, r4 +/* 80063220 00060180 93 C1 00 08 */ stw r30, 8(r1) +/* 80063224 00060184 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80063228 00060188 41 82 00 20 */ beq lbl_80063248 +/* 8006322C 0006018C 80 7E 00 00 */ lwz r3, 0(r30) +/* 80063230 00060190 38 80 00 01 */ li r4, 1 +/* 80063234 00060194 4B FF CE E5 */ bl __dt__Q29CGameArea16CPostConstructedFv +/* 80063238 00060198 7F E0 07 35 */ extsh. r0, r31 +/* 8006323C 0006019C 40 81 00 0C */ ble lbl_80063248 +/* 80063240 000601A0 7F C3 F3 78 */ mr r3, r30 +/* 80063244 000601A4 48 2B 26 ED */ bl Free__7CMemoryFPCv +lbl_80063248: +/* 80063248 000601A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006324C 000601AC 7F C3 F3 78 */ mr r3, r30 +/* 80063250 000601B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80063254 000601B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80063258 000601B8 7C 08 03 A6 */ mtlr r0 +/* 8006325C 000601BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80063260 000601C0 4E 80 00 20 */ blr + +.global __ct__9CGameAreaFR12CInputStreami +__ct__9CGameAreaFR12CInputStreami: +/* 80063264 000601C4 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 80063268 000601C8 7C 08 02 A6 */ mflr r0 +/* 8006326C 000601CC 3D 00 80 3E */ lis r8, lbl_803DA26C@ha +/* 80063270 000601D0 3C E0 80 3E */ lis r7, lbl_803DA234@ha +/* 80063274 000601D4 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80063278 000601D8 38 07 A2 34 */ addi r0, r7, lbl_803DA234@l +/* 8006327C 000601DC BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 80063280 000601E0 7C 7D 1B 78 */ mr r29, r3 +/* 80063284 000601E4 38 68 A2 6C */ addi r3, r8, lbl_803DA26C@l +/* 80063288 000601E8 7C 9E 23 78 */ mr r30, r4 +/* 8006328C 000601EC 7C DF 33 78 */ mr r31, r6 +/* 80063290 000601F0 90 7D 00 00 */ stw r3, 0(r29) +/* 80063294 000601F4 7F C3 F3 78 */ mr r3, r30 +/* 80063298 000601F8 90 1D 00 00 */ stw r0, 0(r29) +/* 8006329C 000601FC 90 BD 00 04 */ stw r5, 4(r29) +/* 800632A0 00060200 48 2D B9 E5 */ bl ReadLong__12CInputStreamFv +/* 800632A4 00060204 90 7D 00 08 */ stw r3, 8(r29) +/* 800632A8 00060208 7F C4 F3 78 */ mr r4, r30 +/* 800632AC 0006020C 38 7D 00 0C */ addi r3, r29, 0xc +/* 800632B0 00060210 48 2B 00 2D */ bl __ct__12CTransform4fFR12CInputStream +/* 800632B4 00060214 38 61 00 58 */ addi r3, r1, 0x58 +/* 800632B8 00060218 38 9D 00 0C */ addi r4, r29, 0xc +/* 800632BC 0006021C 48 2A F4 25 */ bl GetInverse__12CTransform4fCFv +/* 800632C0 00060220 38 7D 00 3C */ addi r3, r29, 0x3c +/* 800632C4 00060224 38 81 00 58 */ addi r4, r1, 0x58 +/* 800632C8 00060228 48 2A F8 AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800632CC 0006022C 7F C4 F3 78 */ mr r4, r30 +/* 800632D0 00060230 38 7D 00 6C */ addi r3, r29, 0x6c +/* 800632D4 00060234 48 2D 52 69 */ bl __ct__6CAABoxFR12CInputStream +/* 800632D8 00060238 7F C3 F3 78 */ mr r3, r30 +/* 800632DC 0006023C 48 2D B9 A9 */ bl ReadLong__12CInputStreamFv +/* 800632E0 00060240 2C 1F 00 0F */ cmpwi r31, 0xf +/* 800632E4 00060244 90 7D 00 84 */ stw r3, 0x84(r29) +/* 800632E8 00060248 40 81 00 10 */ ble lbl_800632F8 +/* 800632EC 0006024C 7F C3 F3 78 */ mr r3, r30 +/* 800632F0 00060250 48 2D B9 95 */ bl ReadLong__12CInputStreamFv +/* 800632F4 00060254 48 00 00 08 */ b lbl_800632FC +lbl_800632F8: +/* 800632F8 00060258 38 60 FF FF */ li r3, -1 +lbl_800632FC: +/* 800632FC 0006025C 90 7D 00 88 */ stw r3, 0x88(r29) +/* 80063300 00060260 38 00 00 00 */ li r0, 0 +/* 80063304 00060264 7F C3 F3 78 */ mr r3, r30 +/* 80063308 00060268 90 1D 00 90 */ stw r0, 0x90(r29) +/* 8006330C 0006026C 90 1D 00 94 */ stw r0, 0x94(r29) +/* 80063310 00060270 90 1D 00 98 */ stw r0, 0x98(r29) +/* 80063314 00060274 48 2D B9 71 */ bl ReadLong__12CInputStreamFv +/* 80063318 00060278 7C 7A 1B 78 */ mr r26, r3 +/* 8006331C 0006027C 38 7D 00 8C */ addi r3, r29, 0x8c +/* 80063320 00060280 7F 44 D3 78 */ mr r4, r26 +/* 80063324 00060284 48 00 0F DD */ bl "reserve__Q24rstl37vectorFi" +/* 80063328 00060288 3B 60 00 00 */ li r27, 0 +/* 8006332C 0006028C 48 00 00 60 */ b lbl_8006338C +lbl_80063330: +/* 80063330 00060290 7F C3 F3 78 */ mr r3, r30 +/* 80063334 00060294 48 2D B9 7D */ bl ReadShort__12CInputStreamFv +/* 80063338 00060298 80 1D 00 90 */ lwz r0, 0x90(r29) +/* 8006333C 0006029C 7C 7C 1B 78 */ mr r28, r3 +/* 80063340 000602A0 80 BD 00 94 */ lwz r5, 0x94(r29) +/* 80063344 000602A4 7C 00 28 00 */ cmpw r0, r5 +/* 80063348 000602A8 41 80 00 1C */ blt lbl_80063364 +/* 8006334C 000602AC 2C 05 00 00 */ cmpwi r5, 0 +/* 80063350 000602B0 38 7D 00 8C */ addi r3, r29, 0x8c +/* 80063354 000602B4 38 80 00 04 */ li r4, 4 +/* 80063358 000602B8 41 82 00 08 */ beq lbl_80063360 +/* 8006335C 000602BC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80063360: +/* 80063360 000602C0 48 00 0F A1 */ bl "reserve__Q24rstl37vectorFi" +lbl_80063364: +/* 80063364 000602C4 80 1D 00 90 */ lwz r0, 0x90(r29) +/* 80063368 000602C8 80 7D 00 98 */ lwz r3, 0x98(r29) +/* 8006336C 000602CC 54 00 08 3C */ slwi r0, r0, 1 +/* 80063370 000602D0 7C 63 02 15 */ add. r3, r3, r0 +/* 80063374 000602D4 41 82 00 08 */ beq lbl_8006337C +/* 80063378 000602D8 B3 83 00 00 */ sth r28, 0(r3) +lbl_8006337C: +/* 8006337C 000602DC 80 7D 00 90 */ lwz r3, 0x90(r29) +/* 80063380 000602E0 3B 7B 00 01 */ addi r27, r27, 1 +/* 80063384 000602E4 38 03 00 01 */ addi r0, r3, 1 +/* 80063388 000602E8 90 1D 00 90 */ stw r0, 0x90(r29) +lbl_8006338C: +/* 8006338C 000602EC 7C 1B D0 00 */ cmpw r27, r26 +/* 80063390 000602F0 41 80 FF A0 */ blt lbl_80063330 +/* 80063394 000602F4 7F C4 F3 78 */ mr r4, r30 +/* 80063398 000602F8 38 7D 00 9C */ addi r3, r29, 0x9c +/* 8006339C 000602FC 38 A1 00 0C */ addi r5, r1, 0xc +/* 800633A0 00060300 4B FF B5 95 */ bl ReadDependencyList__9CGameArea +/* 800633A4 00060304 7F C4 F3 78 */ mr r4, r30 +/* 800633A8 00060308 38 7D 00 AC */ addi r3, r29, 0xac +/* 800633AC 0006030C 38 A1 00 08 */ addi r5, r1, 8 +/* 800633B0 00060310 4B FF B5 85 */ bl ReadDependencyList__9CGameArea +/* 800633B4 00060314 39 20 00 00 */ li r9, 0 +/* 800633B8 00060318 39 00 00 01 */ li r8, 1 +/* 800633BC 0006031C 91 3D 00 C0 */ stw r9, 0xc0(r29) +/* 800633C0 00060320 38 DD 01 04 */ addi r6, r29, 0x104 +/* 800633C4 00060324 38 00 FF FF */ li r0, -1 +/* 800633C8 00060328 38 61 00 40 */ addi r3, r1, 0x40 +/* 800633CC 0006032C 91 3D 00 C4 */ stw r9, 0xc4(r29) +/* 800633D0 00060330 38 9D 00 6C */ addi r4, r29, 0x6c +/* 800633D4 00060334 38 BD 00 0C */ addi r5, r29, 0xc +/* 800633D8 00060338 91 3D 00 C8 */ stw r9, 0xc8(r29) +/* 800633DC 0006033C 91 3D 00 D0 */ stw r9, 0xd0(r29) +/* 800633E0 00060340 91 3D 00 D4 */ stw r9, 0xd4(r29) +/* 800633E4 00060344 91 3D 00 D8 */ stw r9, 0xd8(r29) +/* 800633E8 00060348 91 3D 00 E0 */ stw r9, 0xe0(r29) +/* 800633EC 0006034C 91 3D 00 E4 */ stw r9, 0xe4(r29) +/* 800633F0 00060350 91 3D 00 E8 */ stw r9, 0xe8(r29) +/* 800633F4 00060354 91 3D 00 EC */ stw r9, 0xec(r29) +/* 800633F8 00060358 88 FD 00 F0 */ lbz r7, 0xf0(r29) +/* 800633FC 0006035C 51 27 3E 30 */ rlwimi r7, r9, 7, 0x18, 0x18 +/* 80063400 00060360 98 FD 00 F0 */ stb r7, 0xf0(r29) +/* 80063404 00060364 88 FD 00 F0 */ lbz r7, 0xf0(r29) +/* 80063408 00060368 51 07 36 72 */ rlwimi r7, r8, 6, 0x19, 0x19 +/* 8006340C 0006036C 98 FD 00 F0 */ stb r7, 0xf0(r29) +/* 80063410 00060370 88 FD 00 F0 */ lbz r7, 0xf0(r29) +/* 80063414 00060374 51 27 2E B4 */ rlwimi r7, r9, 5, 0x1a, 0x1a +/* 80063418 00060378 98 FD 00 F0 */ stb r7, 0xf0(r29) +/* 8006341C 0006037C 88 FD 00 F0 */ lbz r7, 0xf0(r29) +/* 80063420 00060380 51 27 26 F6 */ rlwimi r7, r9, 4, 0x1b, 0x1b +/* 80063424 00060384 98 FD 00 F0 */ stb r7, 0xf0(r29) +/* 80063428 00060388 88 FD 00 F0 */ lbz r7, 0xf0(r29) +/* 8006342C 0006038C 51 27 1F 38 */ rlwimi r7, r9, 3, 0x1c, 0x1c +/* 80063430 00060390 98 FD 00 F0 */ stb r7, 0xf0(r29) +/* 80063434 00060394 91 3D 00 F4 */ stw r9, 0xf4(r29) +/* 80063438 00060398 90 DD 00 FC */ stw r6, 0xfc(r29) +/* 8006343C 0006039C 90 DD 01 00 */ stw r6, 0x100(r29) +/* 80063440 000603A0 90 DD 01 04 */ stw r6, 0x104(r29) +/* 80063444 000603A4 90 DD 01 08 */ stw r6, 0x108(r29) +/* 80063448 000603A8 91 3D 01 0C */ stw r9, 0x10c(r29) +/* 8006344C 000603AC 91 3D 01 14 */ stw r9, 0x114(r29) +/* 80063450 000603B0 91 3D 01 18 */ stw r9, 0x118(r29) +/* 80063454 000603B4 91 3D 01 1C */ stw r9, 0x11c(r29) +/* 80063458 000603B8 91 3D 01 20 */ stw r9, 0x120(r29) +/* 8006345C 000603BC 91 3D 01 24 */ stw r9, 0x124(r29) +/* 80063460 000603C0 91 3D 01 28 */ stw r9, 0x128(r29) +/* 80063464 000603C4 91 3D 01 2C */ stw r9, 0x12c(r29) +/* 80063468 000603C8 91 3D 01 30 */ stw r9, 0x130(r29) +/* 8006346C 000603CC 91 3D 01 34 */ stw r9, 0x134(r29) +/* 80063470 000603D0 90 1D 01 38 */ stw r0, 0x138(r29) +/* 80063474 000603D4 48 2D 44 89 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 80063478 000603D8 80 61 00 40 */ lwz r3, 0x40(r1) +/* 8006347C 000603DC 2C 1F 00 0D */ cmpwi r31, 0xd +/* 80063480 000603E0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80063484 000603E4 90 7D 00 6C */ stw r3, 0x6c(r29) +/* 80063488 000603E8 90 1D 00 70 */ stw r0, 0x70(r29) +/* 8006348C 000603EC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80063490 000603F0 90 1D 00 74 */ stw r0, 0x74(r29) +/* 80063494 000603F4 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 80063498 000603F8 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8006349C 000603FC 90 7D 00 78 */ stw r3, 0x78(r29) +/* 800634A0 00060400 90 1D 00 7C */ stw r0, 0x7c(r29) +/* 800634A4 00060404 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800634A8 00060408 90 1D 00 80 */ stw r0, 0x80(r29) +/* 800634AC 0006040C 40 81 00 E8 */ ble lbl_80063594 +/* 800634B0 00060410 38 00 00 00 */ li r0, 0 +/* 800634B4 00060414 7F C3 F3 78 */ mr r3, r30 +/* 800634B8 00060418 90 01 00 34 */ stw r0, 0x34(r1) +/* 800634BC 0006041C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800634C0 00060420 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800634C4 00060424 48 2D B7 C1 */ bl ReadLong__12CInputStreamFv +/* 800634C8 00060428 7C 7A 1B 78 */ mr r26, r3 +/* 800634CC 0006042C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800634D0 00060430 7F 44 D3 78 */ mr r4, r26 +/* 800634D4 00060434 48 00 06 51 */ bl "reserve__Q24rstl37vectorFi" +/* 800634D8 00060438 3B 60 00 00 */ li r27, 0 +/* 800634DC 0006043C 48 00 00 60 */ b lbl_8006353C +lbl_800634E0: +/* 800634E0 00060440 7F C3 F3 78 */ mr r3, r30 +/* 800634E4 00060444 48 2D B7 A1 */ bl ReadLong__12CInputStreamFv +/* 800634E8 00060448 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800634EC 0006044C 7C 7F 1B 78 */ mr r31, r3 +/* 800634F0 00060450 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 800634F4 00060454 7C 00 28 00 */ cmpw r0, r5 +/* 800634F8 00060458 41 80 00 1C */ blt lbl_80063514 +/* 800634FC 0006045C 2C 05 00 00 */ cmpwi r5, 0 +/* 80063500 00060460 38 61 00 30 */ addi r3, r1, 0x30 +/* 80063504 00060464 38 80 00 04 */ li r4, 4 +/* 80063508 00060468 41 82 00 08 */ beq lbl_80063510 +/* 8006350C 0006046C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80063510: +/* 80063510 00060470 48 00 06 15 */ bl "reserve__Q24rstl37vectorFi" +lbl_80063514: +/* 80063514 00060474 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80063518 00060478 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8006351C 0006047C 54 00 10 3A */ slwi r0, r0, 2 +/* 80063520 00060480 7C 63 02 15 */ add. r3, r3, r0 +/* 80063524 00060484 41 82 00 08 */ beq lbl_8006352C +/* 80063528 00060488 93 E3 00 00 */ stw r31, 0(r3) +lbl_8006352C: +/* 8006352C 0006048C 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80063530 00060490 3B 7B 00 01 */ addi r27, r27, 1 +/* 80063534 00060494 38 03 00 01 */ addi r0, r3, 1 +/* 80063538 00060498 90 01 00 34 */ stw r0, 0x34(r1) +lbl_8006353C: +/* 8006353C 0006049C 7C 1B D0 00 */ cmpw r27, r26 +/* 80063540 000604A0 41 80 FF A0 */ blt lbl_800634E0 +/* 80063544 000604A4 38 7D 00 BC */ addi r3, r29, 0xbc +/* 80063548 000604A8 38 81 00 30 */ addi r4, r1, 0x30 +/* 8006354C 000604AC 48 00 01 B1 */ bl "clear__Q24rstl37vectorFv" +/* 80063550 000604B0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80063554 000604B4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80063558 000604B8 54 00 10 3A */ slwi r0, r0, 2 +/* 8006355C 000604BC 7C 03 02 14 */ add r0, r3, r0 +/* 80063560 000604C0 90 61 00 14 */ stw r3, 0x14(r1) +/* 80063564 000604C4 7C 64 1B 78 */ mr r4, r3 +/* 80063568 000604C8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8006356C 000604CC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80063570 000604D0 90 61 00 10 */ stw r3, 0x10(r1) +/* 80063574 000604D4 48 00 00 08 */ b lbl_8006357C +lbl_80063578: +/* 80063578 000604D8 38 84 00 04 */ addi r4, r4, 4 +lbl_8006357C: +/* 8006357C 000604DC 7C 04 00 40 */ cmplw r4, r0 +/* 80063580 000604E0 40 82 FF F8 */ bne lbl_80063578 +/* 80063584 000604E4 28 03 00 00 */ cmplwi r3, 0 +/* 80063588 000604E8 41 82 00 68 */ beq lbl_800635F0 +/* 8006358C 000604EC 48 2B 23 A5 */ bl Free__7CMemoryFPCv +/* 80063590 000604F0 48 00 00 60 */ b lbl_800635F0 +lbl_80063594: +/* 80063594 000604F4 38 7D 00 BC */ addi r3, r29, 0xbc +/* 80063598 000604F8 38 80 00 01 */ li r4, 1 +/* 8006359C 000604FC 48 00 05 89 */ bl "reserve__Q24rstl37vectorFi" +/* 800635A0 00060500 80 1D 00 C0 */ lwz r0, 0xc0(r29) +/* 800635A4 00060504 80 BD 00 C4 */ lwz r5, 0xc4(r29) +/* 800635A8 00060508 7C 00 28 00 */ cmpw r0, r5 +/* 800635AC 0006050C 41 80 00 1C */ blt lbl_800635C8 +/* 800635B0 00060510 2C 05 00 00 */ cmpwi r5, 0 +/* 800635B4 00060514 38 7D 00 BC */ addi r3, r29, 0xbc +/* 800635B8 00060518 38 80 00 04 */ li r4, 4 +/* 800635BC 0006051C 41 82 00 08 */ beq lbl_800635C4 +/* 800635C0 00060520 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800635C4: +/* 800635C4 00060524 48 00 05 61 */ bl "reserve__Q24rstl37vectorFi" +lbl_800635C8: +/* 800635C8 00060528 80 1D 00 C0 */ lwz r0, 0xc0(r29) +/* 800635CC 0006052C 80 7D 00 C8 */ lwz r3, 0xc8(r29) +/* 800635D0 00060530 54 00 10 3A */ slwi r0, r0, 2 +/* 800635D4 00060534 7C 63 02 15 */ add. r3, r3, r0 +/* 800635D8 00060538 41 82 00 0C */ beq lbl_800635E4 +/* 800635DC 0006053C 80 0D 82 DC */ lwz r0, lbl_805A6E9C@sda21(r13) +/* 800635E0 00060540 90 03 00 00 */ stw r0, 0(r3) +lbl_800635E4: +/* 800635E4 00060544 80 7D 00 C0 */ lwz r3, 0xc0(r29) +/* 800635E8 00060548 38 03 00 01 */ addi r0, r3, 1 +/* 800635EC 0006054C 90 1D 00 C0 */ stw r0, 0xc0(r29) +lbl_800635F0: +/* 800635F0 00060550 7F C3 F3 78 */ mr r3, r30 +/* 800635F4 00060554 48 2D B6 91 */ bl ReadLong__12CInputStreamFv +/* 800635F8 00060558 7C 7A 1B 78 */ mr r26, r3 +/* 800635FC 0006055C 38 7D 00 CC */ addi r3, r29, 0xcc +/* 80063600 00060560 7F 44 D3 78 */ mr r4, r26 +/* 80063604 00060564 48 00 0D E9 */ bl sub_800643ec +/* 80063608 00060568 3B 60 00 00 */ li r27, 0 +/* 8006360C 0006056C 48 00 00 30 */ b lbl_8006363C +lbl_80063610: +/* 80063610 00060570 7F C4 F3 78 */ mr r4, r30 +/* 80063614 00060574 38 61 00 88 */ addi r3, r1, 0x88 +/* 80063618 00060578 38 BD 00 0C */ addi r5, r29, 0xc +/* 8006361C 0006057C 4B FF BD 65 */ bl __ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f +/* 80063620 00060580 38 7D 00 CC */ addi r3, r29, 0xcc +/* 80063624 00060584 38 81 00 88 */ addi r4, r1, 0x88 +/* 80063628 00060588 4B FF B1 31 */ bl sub_8005e758 +/* 8006362C 0006058C 38 61 00 88 */ addi r3, r1, 0x88 +/* 80063630 00060590 38 80 FF FF */ li r4, -1 +/* 80063634 00060594 4B FF 3A B5 */ bl sub_800570e8 +/* 80063638 00060598 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8006363C: +/* 8006363C 0006059C 7C 1B D0 00 */ cmpw r27, r26 +/* 80063640 000605A0 41 80 FF D0 */ blt lbl_80063610 +/* 80063644 000605A4 7F A3 EB 78 */ mr r3, r29 +/* 80063648 000605A8 4B FF F8 A9 */ bl ClearTokenList__9CGameAreaFv +/* 8006364C 000605AC 3B 60 00 00 */ li r27, 0 +/* 80063650 000605B0 3B 40 00 00 */ li r26, 0 +/* 80063654 000605B4 48 00 00 40 */ b lbl_80063694 +lbl_80063658: +/* 80063658 000605B8 80 1D 00 B8 */ lwz r0, 0xb8(r29) +/* 8006365C 000605BC 38 81 00 28 */ addi r4, r1, 0x28 +/* 80063660 000605C0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80063664 000605C4 7C C0 D2 14 */ add r6, r0, r26 +/* 80063668 000605C8 80 A6 00 00 */ lwz r5, 0(r6) +/* 8006366C 000605CC 38 63 00 04 */ addi r3, r3, 4 +/* 80063670 000605D0 80 06 00 04 */ lwz r0, 4(r6) +/* 80063674 000605D4 90 01 00 28 */ stw r0, 0x28(r1) +/* 80063678 000605D8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 8006367C 000605DC 48 2D 85 D5 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 80063680 000605E0 80 1D 00 EC */ lwz r0, 0xec(r29) +/* 80063684 000605E4 3B 5A 00 08 */ addi r26, r26, 8 +/* 80063688 000605E8 3B 7B 00 01 */ addi r27, r27, 1 +/* 8006368C 000605EC 7C 00 1A 14 */ add r0, r0, r3 +/* 80063690 000605F0 90 1D 00 EC */ stw r0, 0xec(r29) +lbl_80063694: +/* 80063694 000605F4 80 1D 00 E0 */ lwz r0, 0xe0(r29) +/* 80063698 000605F8 7C 1B 00 00 */ cmpw r27, r0 +/* 8006369C 000605FC 41 80 FF BC */ blt lbl_80063658 +/* 800636A0 00060600 80 BD 00 84 */ lwz r5, 0x84(r29) +/* 800636A4 00060604 3C 60 4D 52 */ lis r3, 0x4D524541@ha +/* 800636A8 00060608 38 03 45 41 */ addi r0, r3, 0x4D524541@l +/* 800636AC 0006060C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800636B0 00060610 90 01 00 20 */ stw r0, 0x20(r1) +/* 800636B4 00060614 38 81 00 20 */ addi r4, r1, 0x20 +/* 800636B8 00060618 38 63 00 04 */ addi r3, r3, 4 +/* 800636BC 0006061C 90 A1 00 24 */ stw r5, 0x24(r1) +/* 800636C0 00060620 48 2D 85 91 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 800636C4 00060624 80 1D 00 EC */ lwz r0, 0xec(r29) +/* 800636C8 00060628 7C 00 1A 14 */ add r0, r0, r3 +/* 800636CC 0006062C 7F A3 EB 78 */ mr r3, r29 +/* 800636D0 00060630 90 1D 00 EC */ stw r0, 0xec(r29) +/* 800636D4 00060634 48 00 03 91 */ bl GetPreConstructedSize__9CGameAreaCFv +/* 800636D8 00060638 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) +/* 800636DC 0006063C 7C 00 1A 14 */ add r0, r0, r3 +/* 800636E0 00060640 7F A3 EB 78 */ mr r3, r29 +/* 800636E4 00060644 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) +/* 800636E8 00060648 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 800636EC 0006064C 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800636F0 00060650 7C 08 03 A6 */ mtlr r0 +/* 800636F4 00060654 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 800636F8 00060658 4E 80 00 20 */ blr + +.global "clear__Q24rstl37vectorFv" +"clear__Q24rstl37vectorFv": +/* 800636FC 0006065C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80063700 00060660 7C 08 02 A6 */ mflr r0 +/* 80063704 00060664 90 01 00 24 */ stw r0, 0x24(r1) +/* 80063708 00060668 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8006370C 0006066C 7C 7F 1B 78 */ mr r31, r3 +/* 80063710 00060670 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80063714 00060674 7C 9E 23 78 */ mr r30, r4 +/* 80063718 00060678 7C 1F F0 40 */ cmplw r31, r30 +/* 8006371C 0006067C 40 82 00 08 */ bne lbl_80063724 +/* 80063720 00060680 48 00 00 B8 */ b lbl_800637D8 +lbl_80063724: +/* 80063724 00060684 80 1F 00 04 */ lwz r0, 4(r31) +/* 80063728 00060688 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8006372C 0006068C 54 00 10 3A */ slwi r0, r0, 2 +/* 80063730 00060690 7C 03 02 14 */ add r0, r3, r0 +/* 80063734 00060694 90 61 00 0C */ stw r3, 0xc(r1) +/* 80063738 00060698 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006373C 0006069C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80063740 000606A0 90 61 00 08 */ stw r3, 8(r1) +/* 80063744 000606A4 48 00 00 08 */ b lbl_8006374C +lbl_80063748: +/* 80063748 000606A8 38 63 00 04 */ addi r3, r3, 4 +lbl_8006374C: +/* 8006374C 000606AC 7C 03 00 40 */ cmplw r3, r0 +/* 80063750 000606B0 40 82 FF F8 */ bne lbl_80063748 +/* 80063754 000606B4 38 00 00 00 */ li r0, 0 +/* 80063758 000606B8 90 1F 00 04 */ stw r0, 4(r31) +/* 8006375C 000606BC 80 9E 00 04 */ lwz r4, 4(r30) +/* 80063760 000606C0 2C 04 00 00 */ cmpwi r4, 0 +/* 80063764 000606C4 40 82 00 28 */ bne lbl_8006378C +/* 80063768 000606C8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8006376C 000606CC 28 03 00 00 */ cmplwi r3, 0 +/* 80063770 000606D0 41 82 00 08 */ beq lbl_80063778 +/* 80063774 000606D4 48 2B 21 BD */ bl Free__7CMemoryFPCv +lbl_80063778: +/* 80063778 000606D8 38 00 00 00 */ li r0, 0 +/* 8006377C 000606DC 90 1F 00 04 */ stw r0, 4(r31) +/* 80063780 000606E0 90 1F 00 08 */ stw r0, 8(r31) +/* 80063784 000606E4 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80063788 000606E8 48 00 00 4C */ b lbl_800637D4 +lbl_8006378C: +/* 8006378C 000606EC 7F E3 FB 78 */ mr r3, r31 +/* 80063790 000606F0 48 00 03 95 */ bl "reserve__Q24rstl37vectorFi" +/* 80063794 000606F4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80063798 000606F8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8006379C 000606FC 54 00 10 3A */ slwi r0, r0, 2 +/* 800637A0 00060700 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800637A4 00060704 7C 85 02 14 */ add r4, r5, r0 +/* 800637A8 00060708 48 00 00 1C */ b lbl_800637C4 +lbl_800637AC: +/* 800637AC 0006070C 28 03 00 00 */ cmplwi r3, 0 +/* 800637B0 00060710 41 82 00 0C */ beq lbl_800637BC +/* 800637B4 00060714 80 05 00 00 */ lwz r0, 0(r5) +/* 800637B8 00060718 90 03 00 00 */ stw r0, 0(r3) +lbl_800637BC: +/* 800637BC 0006071C 38 63 00 04 */ addi r3, r3, 4 +/* 800637C0 00060720 38 A5 00 04 */ addi r5, r5, 4 +lbl_800637C4: +/* 800637C4 00060724 7C 05 20 40 */ cmplw r5, r4 +/* 800637C8 00060728 40 82 FF E4 */ bne lbl_800637AC +/* 800637CC 0006072C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800637D0 00060730 90 1F 00 04 */ stw r0, 4(r31) +lbl_800637D4: +/* 800637D4 00060734 7F E3 FB 78 */ mr r3, r31 +lbl_800637D8: +/* 800637D8 00060738 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800637DC 0006073C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800637E0 00060740 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800637E4 00060744 7C 08 03 A6 */ mtlr r0 +/* 800637E8 00060748 38 21 00 20 */ addi r1, r1, 0x20 +/* 800637EC 0006074C 4E 80 00 20 */ blr + +.global __ct__Q29CGameArea16CPostConstructedFv +__ct__Q29CGameArea16CPostConstructedFv: +/* 800637F0 00060750 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800637F4 00060754 38 E0 00 00 */ li r7, 0 +/* 800637F8 00060758 3C 80 00 01 */ lis r4, 0x0000FFFF@ha +/* 800637FC 0006075C 38 C0 04 00 */ li r6, 0x400 +/* 80063800 00060760 98 E3 00 00 */ stb r7, 0(r3) +/* 80063804 00060764 38 A4 FF FF */ addi r5, r4, 0x0000FFFF@l +/* 80063808 00060768 38 00 00 80 */ li r0, 0x80 +/* 8006380C 0006076C 39 03 00 A8 */ addi r8, r3, 0xa8 +/* 80063810 00060770 90 E3 00 04 */ stw r7, 4(r3) +/* 80063814 00060774 90 E3 00 08 */ stw r7, 8(r3) +/* 80063818 00060778 98 E3 00 48 */ stb r7, 0x48(r3) +/* 8006381C 0006077C 90 E3 00 50 */ stw r7, 0x50(r3) +/* 80063820 00060780 90 E3 00 54 */ stw r7, 0x54(r3) +/* 80063824 00060784 90 E3 00 58 */ stw r7, 0x58(r3) +/* 80063828 00060788 90 E3 00 5C */ stw r7, 0x5c(r3) +/* 8006382C 0006078C 90 E3 00 64 */ stw r7, 0x64(r3) +/* 80063830 00060790 90 E3 00 68 */ stw r7, 0x68(r3) +/* 80063834 00060794 90 E3 00 6C */ stw r7, 0x6c(r3) +/* 80063838 00060798 90 E3 00 74 */ stw r7, 0x74(r3) +/* 8006383C 0006079C 90 E3 00 78 */ stw r7, 0x78(r3) +/* 80063840 000607A0 90 E3 00 7C */ stw r7, 0x7c(r3) +/* 80063844 000607A4 90 E3 00 84 */ stw r7, 0x84(r3) +/* 80063848 000607A8 90 E3 00 88 */ stw r7, 0x88(r3) +/* 8006384C 000607AC 90 E3 00 8C */ stw r7, 0x8c(r3) +/* 80063850 000607B0 90 E3 00 94 */ stw r7, 0x94(r3) +/* 80063854 000607B4 90 E3 00 98 */ stw r7, 0x98(r3) +/* 80063858 000607B8 90 E3 00 9C */ stw r7, 0x9c(r3) +/* 8006385C 000607BC 90 E3 00 A0 */ stw r7, 0xa0(r3) +/* 80063860 000607C0 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80063864 000607C4 B0 81 00 08 */ sth r4, 8(r1) +/* 80063868 000607C8 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8006386C 000607CC 90 C3 00 A4 */ stw r6, 0xa4(r3) +/* 80063870 000607D0 7C 09 03 A6 */ mtctr r0 +lbl_80063874: +/* 80063874 000607D4 28 08 00 00 */ cmplwi r8, 0 +/* 80063878 000607D8 41 82 00 0C */ beq lbl_80063884 +/* 8006387C 000607DC B0 A8 00 00 */ sth r5, 0(r8) +/* 80063880 000607E0 B0 88 00 02 */ sth r4, 2(r8) +lbl_80063884: +/* 80063884 000607E4 35 08 00 04 */ addic. r8, r8, 4 +/* 80063888 000607E8 41 82 00 0C */ beq lbl_80063894 +/* 8006388C 000607EC B0 A8 00 00 */ sth r5, 0(r8) +/* 80063890 000607F0 B0 88 00 02 */ sth r4, 2(r8) +lbl_80063894: +/* 80063894 000607F4 35 08 00 04 */ addic. r8, r8, 4 +/* 80063898 000607F8 41 82 00 0C */ beq lbl_800638A4 +/* 8006389C 000607FC B0 A8 00 00 */ sth r5, 0(r8) +/* 800638A0 00060800 B0 88 00 02 */ sth r4, 2(r8) +lbl_800638A4: +/* 800638A4 00060804 35 08 00 04 */ addic. r8, r8, 4 +/* 800638A8 00060808 41 82 00 0C */ beq lbl_800638B4 +/* 800638AC 0006080C B0 A8 00 00 */ sth r5, 0(r8) +/* 800638B0 00060810 B0 88 00 02 */ sth r4, 2(r8) +lbl_800638B4: +/* 800638B4 00060814 35 08 00 04 */ addic. r8, r8, 4 +/* 800638B8 00060818 41 82 00 0C */ beq lbl_800638C4 +/* 800638BC 0006081C B0 A8 00 00 */ sth r5, 0(r8) +/* 800638C0 00060820 B0 88 00 02 */ sth r4, 2(r8) +lbl_800638C4: +/* 800638C4 00060824 35 08 00 04 */ addic. r8, r8, 4 +/* 800638C8 00060828 41 82 00 0C */ beq lbl_800638D4 +/* 800638CC 0006082C B0 A8 00 00 */ sth r5, 0(r8) +/* 800638D0 00060830 B0 88 00 02 */ sth r4, 2(r8) +lbl_800638D4: +/* 800638D4 00060834 35 08 00 04 */ addic. r8, r8, 4 +/* 800638D8 00060838 41 82 00 0C */ beq lbl_800638E4 +/* 800638DC 0006083C B0 A8 00 00 */ sth r5, 0(r8) +/* 800638E0 00060840 B0 88 00 02 */ sth r4, 2(r8) +lbl_800638E4: +/* 800638E4 00060844 35 08 00 04 */ addic. r8, r8, 4 +/* 800638E8 00060848 41 82 00 0C */ beq lbl_800638F4 +/* 800638EC 0006084C B0 A8 00 00 */ sth r5, 0(r8) +/* 800638F0 00060850 B0 88 00 02 */ sth r4, 2(r8) +lbl_800638F4: +/* 800638F4 00060854 38 E7 00 07 */ addi r7, r7, 7 +/* 800638F8 00060858 39 08 00 04 */ addi r8, r8, 4 +/* 800638FC 0006085C 42 00 FF 78 */ bdnz lbl_80063874 +/* 80063900 00060860 38 80 00 00 */ li r4, 0 +/* 80063904 00060864 38 00 FF FF */ li r0, -1 +/* 80063908 00060868 90 83 10 A8 */ stw r4, 0x10a8(r3) +/* 8006390C 0006086C C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) +/* 80063910 00060870 98 83 10 B8 */ stb r4, 0x10b8(r3) +/* 80063914 00060874 C0 02 87 08 */ lfs f0, lbl_805AA428@sda21(r2) +/* 80063918 00060878 90 83 10 BC */ stw r4, 0x10bc(r3) +/* 8006391C 0006087C 90 83 10 C0 */ stw r4, 0x10c0(r3) +/* 80063920 00060880 90 83 10 C4 */ stw r4, 0x10c4(r3) +/* 80063924 00060884 98 83 10 C8 */ stb r4, 0x10c8(r3) +/* 80063928 00060888 90 83 10 CC */ stw r4, 0x10cc(r3) +/* 8006392C 0006088C 90 83 10 D0 */ stw r4, 0x10d0(r3) +/* 80063930 00060890 90 83 10 D4 */ stw r4, 0x10d4(r3) +/* 80063934 00060894 90 83 10 D8 */ stw r4, 0x10d8(r3) +/* 80063938 00060898 90 83 10 DC */ stw r4, 0x10dc(r3) +/* 8006393C 0006089C 90 83 10 E0 */ stw r4, 0x10e0(r3) +/* 80063940 000608A0 C0 4D 82 D8 */ lfs f2, lbl_805A6E98@sda21(r13) +/* 80063944 000608A4 D0 43 10 E4 */ stfs f2, 0x10e4(r3) +/* 80063948 000608A8 90 03 10 E8 */ stw r0, 0x10e8(r3) +/* 8006394C 000608AC 90 83 10 EC */ stw r4, 0x10ec(r3) +/* 80063950 000608B0 90 83 10 F4 */ stw r4, 0x10f4(r3) +/* 80063954 000608B4 90 83 10 F8 */ stw r4, 0x10f8(r3) +/* 80063958 000608B8 90 83 10 FC */ stw r4, 0x10fc(r3) +/* 8006395C 000608BC 90 83 11 00 */ stw r4, 0x1100(r3) +/* 80063960 000608C0 90 83 11 04 */ stw r4, 0x1104(r3) +/* 80063964 000608C4 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 80063968 000608C8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8006396C 000608CC 98 03 11 08 */ stb r0, 0x1108(r3) +/* 80063970 000608D0 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 80063974 000608D4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80063978 000608D8 98 03 11 08 */ stb r0, 0x1108(r3) +/* 8006397C 000608DC 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 80063980 000608E0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80063984 000608E4 98 03 11 08 */ stb r0, 0x1108(r3) +/* 80063988 000608E8 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 8006398C 000608EC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80063990 000608F0 98 03 11 08 */ stb r0, 0x1108(r3) +/* 80063994 000608F4 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 80063998 000608F8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8006399C 000608FC 98 03 11 08 */ stb r0, 0x1108(r3) +/* 800639A0 00060900 88 03 11 08 */ lbz r0, 0x1108(r3) +/* 800639A4 00060904 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 800639A8 00060908 98 03 11 08 */ stb r0, 0x1108(r3) +/* 800639AC 0006090C 90 83 11 10 */ stw r4, 0x1110(r3) +/* 800639B0 00060910 90 83 11 14 */ stw r4, 0x1114(r3) +/* 800639B4 00060914 90 83 11 18 */ stw r4, 0x1118(r3) +/* 800639B8 00060918 D0 23 11 1C */ stfs f1, 0x111c(r3) +/* 800639BC 0006091C D0 23 11 20 */ stfs f1, 0x1120(r3) +/* 800639C0 00060920 D0 23 11 24 */ stfs f1, 0x1124(r3) +/* 800639C4 00060924 D0 03 11 28 */ stfs f0, 0x1128(r3) +/* 800639C8 00060928 D0 23 11 2C */ stfs f1, 0x112c(r3) +/* 800639CC 0006092C D0 03 11 30 */ stfs f0, 0x1130(r3) +/* 800639D0 00060930 D0 23 11 34 */ stfs f1, 0x1134(r3) +/* 800639D4 00060934 D0 03 11 38 */ stfs f0, 0x1138(r3) +/* 800639D8 00060938 90 83 11 3C */ stw r4, 0x113c(r3) +/* 800639DC 0006093C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800639E0 00060940 4E 80 00 20 */ blr + +.global GetPostConstructedSize__9CGameAreaCFv +GetPostConstructedSize__9CGameAreaCFv: +/* 800639E4 00060944 80 E3 01 2C */ lwz r7, 0x12c(r3) +/* 800639E8 00060948 39 00 00 00 */ li r8, 0 +/* 800639EC 0006094C 80 A7 00 58 */ lwz r5, 0x58(r7) +/* 800639F0 00060950 48 00 00 14 */ b lbl_80063A04 +lbl_800639F4: +/* 800639F4 00060954 80 05 00 54 */ lwz r0, 0x54(r5) +/* 800639F8 00060958 38 A5 00 74 */ addi r5, r5, 0x74 +/* 800639FC 0006095C 54 00 10 3A */ slwi r0, r0, 2 +/* 80063A00 00060960 7D 08 02 14 */ add r8, r8, r0 +lbl_80063A04: +/* 80063A04 00060964 80 07 00 50 */ lwz r0, 0x50(r7) +/* 80063A08 00060968 80 87 00 58 */ lwz r4, 0x58(r7) +/* 80063A0C 0006096C 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 80063A10 00060970 7C 04 02 14 */ add r0, r4, r0 +/* 80063A14 00060974 7C 05 00 40 */ cmplw r5, r0 +/* 80063A18 00060978 40 82 FF DC */ bne lbl_800639F4 +/* 80063A1C 0006097C 80 87 00 50 */ lwz r4, 0x50(r7) +/* 80063A20 00060980 80 07 00 64 */ lwz r0, 0x64(r7) +/* 80063A24 00060984 80 C7 00 84 */ lwz r6, 0x84(r7) +/* 80063A28 00060988 1C 84 00 74 */ mulli r4, r4, 0x74 +/* 80063A2C 0006098C 80 A7 11 04 */ lwz r5, 0x1104(r7) +/* 80063A30 00060990 80 63 01 20 */ lwz r3, 0x120(r3) +/* 80063A34 00060994 80 E7 11 10 */ lwz r7, 0x1110(r7) +/* 80063A38 00060998 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 80063A3C 0006099C 7C 65 18 50 */ subf r3, r5, r3 +/* 80063A40 000609A0 54 E5 18 38 */ slwi r5, r7, 3 +/* 80063A44 000609A4 7C 63 22 14 */ add r3, r3, r4 +/* 80063A48 000609A8 1C 86 00 44 */ mulli r4, r6, 0x44 +/* 80063A4C 000609AC 7C 03 02 14 */ add r0, r3, r0 +/* 80063A50 000609B0 7C 00 22 14 */ add r0, r0, r4 +/* 80063A54 000609B4 7C 60 2A 14 */ add r3, r0, r5 +/* 80063A58 000609B8 38 63 20 10 */ addi r3, r3, 0x2010 +/* 80063A5C 000609BC 7C 68 1A 14 */ add r3, r8, r3 +/* 80063A60 000609C0 4E 80 00 20 */ blr + +.global GetPreConstructedSize__9CGameAreaCFv +GetPreConstructedSize__9CGameAreaCFv: +/* 80063A64 000609C4 80 83 00 A0 */ lwz r4, 0xa0(r3) +/* 80063A68 000609C8 80 03 00 B0 */ lwz r0, 0xb0(r3) +/* 80063A6C 000609CC 80 A3 00 90 */ lwz r5, 0x90(r3) +/* 80063A70 000609D0 7C 04 02 14 */ add r0, r4, r0 +/* 80063A74 000609D4 80 C3 00 C0 */ lwz r6, 0xc0(r3) +/* 80063A78 000609D8 54 A4 08 3C */ slwi r4, r5, 1 +/* 80063A7C 000609DC 80 A3 00 E4 */ lwz r5, 0xe4(r3) +/* 80063A80 000609E0 54 00 18 38 */ slwi r0, r0, 3 +/* 80063A84 000609E4 54 C3 10 3A */ slwi r3, r6, 2 +/* 80063A88 000609E8 7C 04 02 14 */ add r0, r4, r0 +/* 80063A8C 000609EC 7C 00 1A 14 */ add r0, r0, r3 +/* 80063A90 000609F0 7C 60 2A 14 */ add r3, r0, r5 +/* 80063A94 000609F4 38 63 01 44 */ addi r3, r3, 0x144 +/* 80063A98 000609F8 4E 80 00 20 */ blr + +.global VerifyHeader__9CGameAreaCFv +VerifyHeader__9CGameAreaCFv: +/* 80063A9C 000609FC 80 03 01 14 */ lwz r0, 0x114(r3) +/* 80063AA0 00060A00 2C 00 00 00 */ cmpwi r0, 0 +/* 80063AA4 00060A04 41 82 00 30 */ beq lbl_80063AD4 +/* 80063AA8 00060A08 80 63 01 1C */ lwz r3, 0x11c(r3) +/* 80063AAC 00060A0C 80 83 00 04 */ lwz r4, 4(r3) +/* 80063AB0 00060A10 80 64 00 00 */ lwz r3, 0(r4) +/* 80063AB4 00060A14 3C 03 21 53 */ addis r0, r3, 0x2153 +/* 80063AB8 00060A18 28 00 BE EF */ cmplwi r0, 0xbeef +/* 80063ABC 00060A1C 40 82 00 18 */ bne lbl_80063AD4 +/* 80063AC0 00060A20 80 64 00 04 */ lwz r3, 4(r4) +/* 80063AC4 00060A24 2C 03 00 0C */ cmpwi r3, 0xc +/* 80063AC8 00060A28 41 80 00 0C */ blt lbl_80063AD4 +/* 80063ACC 00060A2C 2C 03 00 0F */ cmpwi r3, 0xf +/* 80063AD0 00060A30 4C 81 00 20 */ blelr +lbl_80063AD4: +/* 80063AD4 00060A34 38 60 00 00 */ li r3, 0 +/* 80063AD8 00060A38 4E 80 00 20 */ blr + +.global __dt__9IGameAreaFv +__dt__9IGameAreaFv: +/* 80063ADC 00060A3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80063AE0 00060A40 7C 08 02 A6 */ mflr r0 +/* 80063AE4 00060A44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80063AE8 00060A48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80063AEC 00060A4C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80063AF0 00060A50 41 82 00 1C */ beq lbl_80063B0C +/* 80063AF4 00060A54 3C A0 80 3E */ lis r5, lbl_803DA26C@ha +/* 80063AF8 00060A58 7C 80 07 35 */ extsh. r0, r4 +/* 80063AFC 00060A5C 38 05 A2 6C */ addi r0, r5, lbl_803DA26C@l +/* 80063B00 00060A60 90 1F 00 00 */ stw r0, 0(r31) +/* 80063B04 00060A64 40 81 00 08 */ ble lbl_80063B0C +/* 80063B08 00060A68 48 2B 1E 29 */ bl Free__7CMemoryFPCv +lbl_80063B0C: +/* 80063B0C 00060A6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80063B10 00060A70 7F E3 FB 78 */ mr r3, r31 +/* 80063B14 00060A74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80063B18 00060A78 7C 08 03 A6 */ mtlr r0 +/* 80063B1C 00060A7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80063B20 00060A80 4E 80 00 20 */ blr + +.global "reserve__Q24rstl37vectorFi" +"reserve__Q24rstl37vectorFi": +/* 80063B24 00060A84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80063B28 00060A88 7C 08 02 A6 */ mflr r0 +/* 80063B2C 00060A8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80063B30 00060A90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80063B34 00060A94 7C 9F 23 78 */ mr r31, r4 +/* 80063B38 00060A98 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80063B3C 00060A9C 7C 7E 1B 78 */ mr r30, r3 +/* 80063B40 00060AA0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80063B44 00060AA4 80 03 00 08 */ lwz r0, 8(r3) +/* 80063B48 00060AA8 7C 1F 00 00 */ cmpw r31, r0 +/* 80063B4C 00060AAC 40 81 00 A8 */ ble lbl_80063BF4 +/* 80063B50 00060AB0 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80063B54 00060AB4 40 82 00 0C */ bne lbl_80063B60 +/* 80063B58 00060AB8 3B A0 00 00 */ li r29, 0 +/* 80063B5C 00060ABC 48 00 00 18 */ b lbl_80063B74 +lbl_80063B60: +/* 80063B60 00060AC0 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80063B64 00060AC4 38 A0 00 00 */ li r5, 0 +/* 80063B68 00060AC8 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80063B6C 00060ACC 48 2B 1C AD */ bl __nwa__FUlPCcPCc +/* 80063B70 00060AD0 7C 7D 1B 78 */ mr r29, r3 +lbl_80063B74: +/* 80063B74 00060AD4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80063B78 00060AD8 7F A4 EB 78 */ mr r4, r29 +/* 80063B7C 00060ADC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80063B80 00060AE0 54 00 10 3A */ slwi r0, r0, 2 +/* 80063B84 00060AE4 7C 65 02 14 */ add r3, r5, r0 +/* 80063B88 00060AE8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80063B8C 00060AEC 90 61 00 08 */ stw r3, 8(r1) +/* 80063B90 00060AF0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80063B94 00060AF4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80063B98 00060AF8 48 00 00 1C */ b lbl_80063BB4 +lbl_80063B9C: +/* 80063B9C 00060AFC 28 04 00 00 */ cmplwi r4, 0 +/* 80063BA0 00060B00 41 82 00 0C */ beq lbl_80063BAC +/* 80063BA4 00060B04 80 05 00 00 */ lwz r0, 0(r5) +/* 80063BA8 00060B08 90 04 00 00 */ stw r0, 0(r4) +lbl_80063BAC: +/* 80063BAC 00060B0C 38 84 00 04 */ addi r4, r4, 4 +/* 80063BB0 00060B10 38 A5 00 04 */ addi r5, r5, 4 +lbl_80063BB4: +/* 80063BB4 00060B14 7C 05 18 40 */ cmplw r5, r3 +/* 80063BB8 00060B18 40 82 FF E4 */ bne lbl_80063B9C +/* 80063BBC 00060B1C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80063BC0 00060B20 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80063BC4 00060B24 54 00 10 3A */ slwi r0, r0, 2 +/* 80063BC8 00060B28 7C 64 1B 78 */ mr r4, r3 +/* 80063BCC 00060B2C 7C 03 02 14 */ add r0, r3, r0 +/* 80063BD0 00060B30 48 00 00 08 */ b lbl_80063BD8 +lbl_80063BD4: +/* 80063BD4 00060B34 38 84 00 04 */ addi r4, r4, 4 +lbl_80063BD8: +/* 80063BD8 00060B38 7C 04 00 40 */ cmplw r4, r0 +/* 80063BDC 00060B3C 40 82 FF F8 */ bne lbl_80063BD4 +/* 80063BE0 00060B40 28 03 00 00 */ cmplwi r3, 0 +/* 80063BE4 00060B44 41 82 00 08 */ beq lbl_80063BEC +/* 80063BE8 00060B48 48 2B 1D 49 */ bl Free__7CMemoryFPCv +lbl_80063BEC: +/* 80063BEC 00060B4C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80063BF0 00060B50 93 FE 00 08 */ stw r31, 8(r30) +lbl_80063BF4: +/* 80063BF4 00060B54 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80063BF8 00060B58 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80063BFC 00060B5C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80063C00 00060B60 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80063C04 00060B64 7C 08 03 A6 */ mtlr r0 +/* 80063C08 00060B68 38 21 00 30 */ addi r1, r1, 0x30 +/* 80063C0C 00060B6C 4E 80 00 20 */ blr + +.global sub_80063c10 +sub_80063c10: +/* 80063C10 00060B70 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80063C14 00060B74 7C 08 02 A6 */ mflr r0 +/* 80063C18 00060B78 90 01 00 34 */ stw r0, 0x34(r1) +/* 80063C1C 00060B7C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80063C20 00060B80 7C 9F 23 78 */ mr r31, r4 +/* 80063C24 00060B84 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80063C28 00060B88 7C 7E 1B 78 */ mr r30, r3 +/* 80063C2C 00060B8C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80063C30 00060B90 80 03 00 08 */ lwz r0, 8(r3) +/* 80063C34 00060B94 7C 1F 00 00 */ cmpw r31, r0 +/* 80063C38 00060B98 40 81 00 A8 */ ble lbl_80063CE0 +/* 80063C3C 00060B9C 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80063C40 00060BA0 40 82 00 0C */ bne lbl_80063C4C +/* 80063C44 00060BA4 3B A0 00 00 */ li r29, 0 +/* 80063C48 00060BA8 48 00 00 18 */ b lbl_80063C60 +lbl_80063C4C: +/* 80063C4C 00060BAC 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80063C50 00060BB0 38 A0 00 00 */ li r5, 0 +/* 80063C54 00060BB4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80063C58 00060BB8 48 2B 1B C1 */ bl __nwa__FUlPCcPCc +/* 80063C5C 00060BBC 7C 7D 1B 78 */ mr r29, r3 +lbl_80063C60: +/* 80063C60 00060BC0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80063C64 00060BC4 7F A4 EB 78 */ mr r4, r29 +/* 80063C68 00060BC8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80063C6C 00060BCC 54 00 10 3A */ slwi r0, r0, 2 +/* 80063C70 00060BD0 7C 65 02 14 */ add r3, r5, r0 +/* 80063C74 00060BD4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80063C78 00060BD8 90 61 00 08 */ stw r3, 8(r1) +/* 80063C7C 00060BDC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80063C80 00060BE0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80063C84 00060BE4 48 00 00 1C */ b lbl_80063CA0 +lbl_80063C88: +/* 80063C88 00060BE8 28 04 00 00 */ cmplwi r4, 0 +/* 80063C8C 00060BEC 41 82 00 0C */ beq lbl_80063C98 +/* 80063C90 00060BF0 80 05 00 00 */ lwz r0, 0(r5) +/* 80063C94 00060BF4 90 04 00 00 */ stw r0, 0(r4) +lbl_80063C98: +/* 80063C98 00060BF8 38 84 00 04 */ addi r4, r4, 4 +/* 80063C9C 00060BFC 38 A5 00 04 */ addi r5, r5, 4 +lbl_80063CA0: +/* 80063CA0 00060C00 7C 05 18 40 */ cmplw r5, r3 +/* 80063CA4 00060C04 40 82 FF E4 */ bne lbl_80063C88 +/* 80063CA8 00060C08 80 1E 00 04 */ lwz r0, 4(r30) +/* 80063CAC 00060C0C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80063CB0 00060C10 54 00 10 3A */ slwi r0, r0, 2 +/* 80063CB4 00060C14 7C 64 1B 78 */ mr r4, r3 +/* 80063CB8 00060C18 7C 03 02 14 */ add r0, r3, r0 +/* 80063CBC 00060C1C 48 00 00 08 */ b lbl_80063CC4 +lbl_80063CC0: +/* 80063CC0 00060C20 38 84 00 04 */ addi r4, r4, 4 +lbl_80063CC4: +/* 80063CC4 00060C24 7C 04 00 40 */ cmplw r4, r0 +/* 80063CC8 00060C28 40 82 FF F8 */ bne lbl_80063CC0 +/* 80063CCC 00060C2C 28 03 00 00 */ cmplwi r3, 0 +/* 80063CD0 00060C30 41 82 00 08 */ beq lbl_80063CD8 +/* 80063CD4 00060C34 48 2B 1C 5D */ bl Free__7CMemoryFPCv +lbl_80063CD8: +/* 80063CD8 00060C38 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80063CDC 00060C3C 93 FE 00 08 */ stw r31, 8(r30) +lbl_80063CE0: +/* 80063CE0 00060C40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80063CE4 00060C44 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80063CE8 00060C48 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80063CEC 00060C4C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80063CF0 00060C50 7C 08 03 A6 */ mtlr r0 +/* 80063CF4 00060C54 38 21 00 30 */ addi r1, r1, 0x30 +/* 80063CF8 00060C58 4E 80 00 20 */ blr + +.global sub_80063cfc +sub_80063cfc: +/* 80063CFC 00060C5C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80063D00 00060C60 7C 08 02 A6 */ mflr r0 +/* 80063D04 00060C64 90 01 00 34 */ stw r0, 0x34(r1) +/* 80063D08 00060C68 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80063D0C 00060C6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80063D10 00060C70 7C 9E 23 78 */ mr r30, r4 +/* 80063D14 00060C74 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80063D18 00060C78 7C 7D 1B 78 */ mr r29, r3 +/* 80063D1C 00060C7C 80 03 00 08 */ lwz r0, 8(r3) +/* 80063D20 00060C80 7C 1E 00 00 */ cmpw r30, r0 +/* 80063D24 00060C84 40 81 00 8C */ ble lbl_80063DB0 +/* 80063D28 00060C88 1C 7E 00 74 */ mulli r3, r30, 0x74 +/* 80063D2C 00060C8C 2C 03 00 00 */ cmpwi r3, 0 +/* 80063D30 00060C90 40 82 00 0C */ bne lbl_80063D3C +/* 80063D34 00060C94 3B E0 00 00 */ li r31, 0 +/* 80063D38 00060C98 48 00 00 18 */ b lbl_80063D50 +lbl_80063D3C: +/* 80063D3C 00060C9C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80063D40 00060CA0 38 A0 00 00 */ li r5, 0 +/* 80063D44 00060CA4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80063D48 00060CA8 48 2B 1A D1 */ bl __nwa__FUlPCcPCc +/* 80063D4C 00060CAC 7C 7F 1B 78 */ mr r31, r3 +lbl_80063D50: +/* 80063D50 00060CB0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80063D54 00060CB4 7F E5 FB 78 */ mr r5, r31 +/* 80063D58 00060CB8 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80063D5C 00060CBC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80063D60 00060CC0 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 80063D64 00060CC4 38 81 00 0C */ addi r4, r1, 0xc +/* 80063D68 00060CC8 7C C6 02 14 */ add r6, r6, r0 +/* 80063D6C 00060CCC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80063D70 00060CD0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80063D74 00060CD4 90 C1 00 08 */ stw r6, 8(r1) +/* 80063D78 00060CD8 90 01 00 10 */ stw r0, 0x10(r1) +/* 80063D7C 00060CDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80063D80 00060CE0 48 00 00 99 */ bl sub_80063e18 +/* 80063D84 00060CE4 80 1D 00 04 */ lwz r0, 4(r29) +/* 80063D88 00060CE8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80063D8C 00060CEC 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 80063D90 00060CF0 7C 83 02 14 */ add r4, r3, r0 +/* 80063D94 00060CF4 48 00 00 39 */ bl sub_80063dcc +/* 80063D98 00060CF8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80063D9C 00060CFC 28 03 00 00 */ cmplwi r3, 0 +/* 80063DA0 00060D00 41 82 00 08 */ beq lbl_80063DA8 +/* 80063DA4 00060D04 48 2B 1B 8D */ bl Free__7CMemoryFPCv +lbl_80063DA8: +/* 80063DA8 00060D08 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80063DAC 00060D0C 93 DD 00 08 */ stw r30, 8(r29) +lbl_80063DB0: +/* 80063DB0 00060D10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80063DB4 00060D14 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80063DB8 00060D18 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80063DBC 00060D1C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80063DC0 00060D20 7C 08 03 A6 */ mtlr r0 +/* 80063DC4 00060D24 38 21 00 30 */ addi r1, r1, 0x30 +/* 80063DC8 00060D28 4E 80 00 20 */ blr + +.global sub_80063dcc +sub_80063dcc: +/* 80063DCC 00060D2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80063DD0 00060D30 7C 08 02 A6 */ mflr r0 +/* 80063DD4 00060D34 90 01 00 14 */ stw r0, 0x14(r1) +/* 80063DD8 00060D38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80063DDC 00060D3C 7C 7F 1B 78 */ mr r31, r3 +/* 80063DE0 00060D40 93 C1 00 08 */ stw r30, 8(r1) +/* 80063DE4 00060D44 7C 9E 23 78 */ mr r30, r4 +/* 80063DE8 00060D48 48 00 00 10 */ b lbl_80063DF8 +lbl_80063DEC: +/* 80063DEC 00060D4C 7F E3 FB 78 */ mr r3, r31 +/* 80063DF0 00060D50 4B FF C7 A9 */ bl __dt__21CMetroidModelInstanceFv +/* 80063DF4 00060D54 3B FF 00 74 */ addi r31, r31, 0x74 +lbl_80063DF8: +/* 80063DF8 00060D58 7C 1F F0 40 */ cmplw r31, r30 +/* 80063DFC 00060D5C 40 82 FF F0 */ bne lbl_80063DEC +/* 80063E00 00060D60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80063E04 00060D64 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80063E08 00060D68 83 C1 00 08 */ lwz r30, 8(r1) +/* 80063E0C 00060D6C 7C 08 03 A6 */ mtlr r0 +/* 80063E10 00060D70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80063E14 00060D74 4E 80 00 20 */ blr + +.global sub_80063e18 +sub_80063e18: +/* 80063E18 00060D78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80063E1C 00060D7C 7C 08 02 A6 */ mflr r0 +/* 80063E20 00060D80 90 01 00 24 */ stw r0, 0x24(r1) +/* 80063E24 00060D84 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80063E28 00060D88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80063E2C 00060D8C 7C BE 2B 78 */ mr r30, r5 +/* 80063E30 00060D90 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80063E34 00060D94 7C 9D 23 78 */ mr r29, r4 +/* 80063E38 00060D98 83 E3 00 00 */ lwz r31, 0(r3) +/* 80063E3C 00060D9C 48 00 00 18 */ b lbl_80063E54 +lbl_80063E40: +/* 80063E40 00060DA0 7F C3 F3 78 */ mr r3, r30 +/* 80063E44 00060DA4 7F E4 FB 78 */ mr r4, r31 +/* 80063E48 00060DA8 4B FF E9 B5 */ bl sub_800627fc +/* 80063E4C 00060DAC 3B DE 00 74 */ addi r30, r30, 0x74 +/* 80063E50 00060DB0 3B FF 00 74 */ addi r31, r31, 0x74 +lbl_80063E54: +/* 80063E54 00060DB4 80 1D 00 00 */ lwz r0, 0(r29) +/* 80063E58 00060DB8 7C 1F 00 40 */ cmplw r31, r0 +/* 80063E5C 00060DBC 40 82 FF E4 */ bne lbl_80063E40 +/* 80063E60 00060DC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80063E64 00060DC4 7F C3 F3 78 */ mr r3, r30 +/* 80063E68 00060DC8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80063E6C 00060DCC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80063E70 00060DD0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80063E74 00060DD4 7C 08 03 A6 */ mtlr r0 +/* 80063E78 00060DD8 38 21 00 20 */ addi r1, r1, 0x20 + +.global sub_80063e7c +sub_80063e7c: +/* 80063E7C 00060DDC 4E 80 00 20 */ blr + +.global "reserve__Q24rstl68vectorFi" +"reserve__Q24rstl68vectorFi": +/* 80063E80 00060DE0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80063E84 00060DE4 7C 08 02 A6 */ mflr r0 +/* 80063E88 00060DE8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80063E8C 00060DEC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80063E90 00060DF0 7C 9F 23 78 */ mr r31, r4 +/* 80063E94 00060DF4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80063E98 00060DF8 7C 7E 1B 78 */ mr r30, r3 +/* 80063E9C 00060DFC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80063EA0 00060E00 80 03 00 08 */ lwz r0, 8(r3) +/* 80063EA4 00060E04 7C 1F 00 00 */ cmpw r31, r0 +/* 80063EA8 00060E08 40 81 00 B8 */ ble lbl_80063F60 +/* 80063EAC 00060E0C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 80063EB0 00060E10 40 82 00 0C */ bne lbl_80063EBC +/* 80063EB4 00060E14 3B A0 00 00 */ li r29, 0 +/* 80063EB8 00060E18 48 00 00 18 */ b lbl_80063ED0 +lbl_80063EBC: +/* 80063EBC 00060E1C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80063EC0 00060E20 38 A0 00 00 */ li r5, 0 +/* 80063EC4 00060E24 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80063EC8 00060E28 48 2B 19 51 */ bl __nwa__FUlPCcPCc +/* 80063ECC 00060E2C 7C 7D 1B 78 */ mr r29, r3 +lbl_80063ED0: +/* 80063ED0 00060E30 80 1E 00 04 */ lwz r0, 4(r30) +/* 80063ED4 00060E34 7F A4 EB 78 */ mr r4, r29 +/* 80063ED8 00060E38 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80063EDC 00060E3C 54 00 18 38 */ slwi r0, r0, 3 +/* 80063EE0 00060E40 7C 65 02 14 */ add r3, r5, r0 +/* 80063EE4 00060E44 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80063EE8 00060E48 90 61 00 08 */ stw r3, 8(r1) +/* 80063EEC 00060E4C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80063EF0 00060E50 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80063EF4 00060E54 48 00 00 2C */ b lbl_80063F20 +lbl_80063EF8: +/* 80063EF8 00060E58 28 04 00 00 */ cmplwi r4, 0 +/* 80063EFC 00060E5C 41 82 00 1C */ beq lbl_80063F18 +/* 80063F00 00060E60 80 05 00 00 */ lwz r0, 0(r5) +/* 80063F04 00060E64 90 04 00 00 */ stw r0, 0(r4) +/* 80063F08 00060E68 A8 05 00 04 */ lha r0, 4(r5) +/* 80063F0C 00060E6C B0 04 00 04 */ sth r0, 4(r4) +/* 80063F10 00060E70 A8 05 00 06 */ lha r0, 6(r5) +/* 80063F14 00060E74 B0 04 00 06 */ sth r0, 6(r4) +lbl_80063F18: +/* 80063F18 00060E78 38 84 00 08 */ addi r4, r4, 8 +/* 80063F1C 00060E7C 38 A5 00 08 */ addi r5, r5, 8 +lbl_80063F20: +/* 80063F20 00060E80 7C 05 18 40 */ cmplw r5, r3 +/* 80063F24 00060E84 40 82 FF D4 */ bne lbl_80063EF8 +/* 80063F28 00060E88 80 1E 00 04 */ lwz r0, 4(r30) +/* 80063F2C 00060E8C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80063F30 00060E90 54 00 18 38 */ slwi r0, r0, 3 +/* 80063F34 00060E94 7C 64 1B 78 */ mr r4, r3 +/* 80063F38 00060E98 7C 03 02 14 */ add r0, r3, r0 +/* 80063F3C 00060E9C 48 00 00 08 */ b lbl_80063F44 +lbl_80063F40: +/* 80063F40 00060EA0 38 84 00 08 */ addi r4, r4, 8 +lbl_80063F44: +/* 80063F44 00060EA4 7C 04 00 40 */ cmplw r4, r0 +/* 80063F48 00060EA8 40 82 FF F8 */ bne lbl_80063F40 +/* 80063F4C 00060EAC 28 03 00 00 */ cmplwi r3, 0 +/* 80063F50 00060EB0 41 82 00 08 */ beq lbl_80063F58 +/* 80063F54 00060EB4 48 2B 19 DD */ bl Free__7CMemoryFPCv +lbl_80063F58: +/* 80063F58 00060EB8 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80063F5C 00060EBC 93 FE 00 08 */ stw r31, 8(r30) +lbl_80063F60: +/* 80063F60 00060EC0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80063F64 00060EC4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80063F68 00060EC8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80063F6C 00060ECC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80063F70 00060ED0 7C 08 03 A6 */ mtlr r0 +/* 80063F74 00060ED4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80063F78 00060ED8 4E 80 00 20 */ blr + +.global sub_80063f7c +sub_80063f7c: +/* 80063F7C 00060EDC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80063F80 00060EE0 7C 08 02 A6 */ mflr r0 +/* 80063F84 00060EE4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80063F88 00060EE8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80063F8C 00060EEC 7C 9F 23 78 */ mr r31, r4 +/* 80063F90 00060EF0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80063F94 00060EF4 7C 7E 1B 78 */ mr r30, r3 +/* 80063F98 00060EF8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80063F9C 00060EFC 80 03 00 08 */ lwz r0, 8(r3) +/* 80063FA0 00060F00 7C 1F 00 00 */ cmpw r31, r0 +/* 80063FA4 00060F04 40 81 00 98 */ ble lbl_8006403C +/* 80063FA8 00060F08 1C 7F 00 44 */ mulli r3, r31, 0x44 +/* 80063FAC 00060F0C 2C 03 00 00 */ cmpwi r3, 0 +/* 80063FB0 00060F10 40 82 00 0C */ bne lbl_80063FBC +/* 80063FB4 00060F14 3B A0 00 00 */ li r29, 0 +/* 80063FB8 00060F18 48 00 00 18 */ b lbl_80063FD0 +lbl_80063FBC: +/* 80063FBC 00060F1C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80063FC0 00060F20 38 A0 00 00 */ li r5, 0 +/* 80063FC4 00060F24 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80063FC8 00060F28 48 2B 18 51 */ bl __nwa__FUlPCcPCc +/* 80063FCC 00060F2C 7C 7D 1B 78 */ mr r29, r3 +lbl_80063FD0: +/* 80063FD0 00060F30 80 1E 00 04 */ lwz r0, 4(r30) +/* 80063FD4 00060F34 7F A5 EB 78 */ mr r5, r29 +/* 80063FD8 00060F38 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80063FDC 00060F3C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80063FE0 00060F40 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 80063FE4 00060F44 38 81 00 0C */ addi r4, r1, 0xc +/* 80063FE8 00060F48 7C C6 02 14 */ add r6, r6, r0 +/* 80063FEC 00060F4C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80063FF0 00060F50 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80063FF4 00060F54 90 C1 00 08 */ stw r6, 8(r1) +/* 80063FF8 00060F58 90 01 00 10 */ stw r0, 0x10(r1) +/* 80063FFC 00060F5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80064000 00060F60 48 00 00 59 */ bl sub_80064058 +/* 80064004 00060F64 80 1E 00 04 */ lwz r0, 4(r30) +/* 80064008 00060F68 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8006400C 00060F6C 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 80064010 00060F70 7C 64 1B 78 */ mr r4, r3 +/* 80064014 00060F74 7C 03 02 14 */ add r0, r3, r0 +/* 80064018 00060F78 48 00 00 08 */ b lbl_80064020 +lbl_8006401C: +/* 8006401C 00060F7C 38 84 00 44 */ addi r4, r4, 0x44 +lbl_80064020: +/* 80064020 00060F80 7C 04 00 40 */ cmplw r4, r0 +/* 80064024 00060F84 40 82 FF F8 */ bne lbl_8006401C +/* 80064028 00060F88 28 03 00 00 */ cmplwi r3, 0 +/* 8006402C 00060F8C 41 82 00 08 */ beq lbl_80064034 +/* 80064030 00060F90 48 2B 19 01 */ bl Free__7CMemoryFPCv +lbl_80064034: +/* 80064034 00060F94 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80064038 00060F98 93 FE 00 08 */ stw r31, 8(r30) +lbl_8006403C: +/* 8006403C 00060F9C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80064040 00060FA0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80064044 00060FA4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80064048 00060FA8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8006404C 00060FAC 7C 08 03 A6 */ mtlr r0 +/* 80064050 00060FB0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80064054 00060FB4 4E 80 00 20 */ blr + +.global sub_80064058 +sub_80064058: +/* 80064058 00060FB8 80 63 00 00 */ lwz r3, 0(r3) +/* 8006405C 00060FBC 48 00 00 9C */ b lbl_800640F8 +lbl_80064060: +/* 80064060 00060FC0 28 05 00 00 */ cmplwi r5, 0 +/* 80064064 00060FC4 41 82 00 8C */ beq lbl_800640F0 +/* 80064068 00060FC8 80 03 00 00 */ lwz r0, 0(r3) +/* 8006406C 00060FCC 90 05 00 00 */ stw r0, 0(r5) +/* 80064070 00060FD0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80064074 00060FD4 D0 05 00 04 */ stfs f0, 4(r5) +/* 80064078 00060FD8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8006407C 00060FDC D0 05 00 08 */ stfs f0, 8(r5) +/* 80064080 00060FE0 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80064084 00060FE4 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 80064088 00060FE8 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8006408C 00060FEC D0 05 00 10 */ stfs f0, 0x10(r5) +/* 80064090 00060FF0 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80064094 00060FF4 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 80064098 00060FF8 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8006409C 00060FFC D0 05 00 18 */ stfs f0, 0x18(r5) +/* 800640A0 00061000 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 800640A4 00061004 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 800640A8 00061008 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 800640AC 0006100C D0 05 00 20 */ stfs f0, 0x20(r5) +/* 800640B0 00061010 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 800640B4 00061014 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 800640B8 00061018 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 800640BC 0006101C D0 05 00 28 */ stfs f0, 0x28(r5) +/* 800640C0 00061020 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 800640C4 00061024 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 800640C8 00061028 C0 03 00 30 */ lfs f0, 0x30(r3) +/* 800640CC 0006102C D0 05 00 30 */ stfs f0, 0x30(r5) +/* 800640D0 00061030 88 03 00 34 */ lbz r0, 0x34(r3) +/* 800640D4 00061034 98 05 00 34 */ stb r0, 0x34(r5) +/* 800640D8 00061038 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 800640DC 0006103C D0 05 00 38 */ stfs f0, 0x38(r5) +/* 800640E0 00061040 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 800640E4 00061044 90 05 00 3C */ stw r0, 0x3c(r5) +/* 800640E8 00061048 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 800640EC 0006104C D0 05 00 40 */ stfs f0, 0x40(r5) +lbl_800640F0: +/* 800640F0 00061050 38 A5 00 44 */ addi r5, r5, 0x44 +/* 800640F4 00061054 38 63 00 44 */ addi r3, r3, 0x44 +lbl_800640F8: +/* 800640F8 00061058 80 04 00 00 */ lwz r0, 0(r4) +/* 800640FC 0006105C 7C 03 00 40 */ cmplw r3, r0 +/* 80064100 00061060 40 82 FF 60 */ bne lbl_80064060 +/* 80064104 00061064 7C A3 2B 78 */ mr r3, r5 +/* 80064108 00061068 4E 80 00 20 */ blr + +.global sub_8006410c +sub_8006410c: +/* 8006410C 0006106C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80064110 00061070 7C 08 02 A6 */ mflr r0 +/* 80064114 00061074 90 01 00 34 */ stw r0, 0x34(r1) +/* 80064118 00061078 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8006411C 0006107C 7C 9F 23 78 */ mr r31, r4 +/* 80064120 00061080 7C 7E 1B 78 */ mr r30, r3 +/* 80064124 00061084 80 03 00 08 */ lwz r0, 8(r3) +/* 80064128 00061088 7C 1F 00 00 */ cmpw r31, r0 +/* 8006412C 0006108C 40 81 00 CC */ ble lbl_800641F8 +/* 80064130 00061090 1C 7F 00 24 */ mulli r3, r31, 0x24 +/* 80064134 00061094 2C 03 00 00 */ cmpwi r3, 0 +/* 80064138 00061098 40 82 00 0C */ bne lbl_80064144 +/* 8006413C 0006109C 3B 80 00 00 */ li r28, 0 +/* 80064140 000610A0 48 00 00 18 */ b lbl_80064158 +lbl_80064144: +/* 80064144 000610A4 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80064148 000610A8 38 A0 00 00 */ li r5, 0 +/* 8006414C 000610AC 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80064150 000610B0 48 2B 16 C9 */ bl __nwa__FUlPCcPCc +/* 80064154 000610B4 7C 7C 1B 78 */ mr r28, r3 +lbl_80064158: +/* 80064158 000610B8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006415C 000610BC 7F 9B E3 78 */ mr r27, r28 +/* 80064160 000610C0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80064164 000610C4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80064168 000610C8 93 41 00 10 */ stw r26, 0x10(r1) +/* 8006416C 000610CC 7F BA 02 14 */ add r29, r26, r0 +/* 80064170 000610D0 93 41 00 14 */ stw r26, 0x14(r1) +/* 80064174 000610D4 93 A1 00 08 */ stw r29, 8(r1) +/* 80064178 000610D8 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8006417C 000610DC 48 00 00 28 */ b lbl_800641A4 +lbl_80064180: +/* 80064180 000610E0 28 1B 00 00 */ cmplwi r27, 0 +/* 80064184 000610E4 41 82 00 18 */ beq lbl_8006419C +/* 80064188 000610E8 7F 63 DB 78 */ mr r3, r27 +/* 8006418C 000610EC 7F 44 D3 78 */ mr r4, r26 +/* 80064190 000610F0 48 2F 48 3D */ bl __ct__10CARAMTokenFRC10CARAMToken +/* 80064194 000610F4 80 1A 00 20 */ lwz r0, 0x20(r26) +/* 80064198 000610F8 90 1B 00 20 */ stw r0, 0x20(r27) +lbl_8006419C: +/* 8006419C 000610FC 3B 7B 00 24 */ addi r27, r27, 0x24 +/* 800641A0 00061100 3B 5A 00 24 */ addi r26, r26, 0x24 +lbl_800641A4: +/* 800641A4 00061104 7C 1A E8 40 */ cmplw r26, r29 +/* 800641A8 00061108 40 82 FF D8 */ bne lbl_80064180 +/* 800641AC 0006110C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800641B0 00061110 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 800641B4 00061114 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 800641B8 00061118 7F 7A 02 14 */ add r27, r26, r0 +/* 800641BC 0006111C 48 00 00 1C */ b lbl_800641D8 +lbl_800641C0: +/* 800641C0 00061120 28 1A 00 00 */ cmplwi r26, 0 +/* 800641C4 00061124 41 82 00 10 */ beq lbl_800641D4 +/* 800641C8 00061128 7F 43 D3 78 */ mr r3, r26 +/* 800641CC 0006112C 38 80 FF FF */ li r4, -1 +/* 800641D0 00061130 48 2F 47 75 */ bl __dt__10CARAMTokenFv +lbl_800641D4: +/* 800641D4 00061134 3B 5A 00 24 */ addi r26, r26, 0x24 +lbl_800641D8: +/* 800641D8 00061138 7C 1A D8 40 */ cmplw r26, r27 +/* 800641DC 0006113C 40 82 FF E4 */ bne lbl_800641C0 +/* 800641E0 00061140 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800641E4 00061144 28 03 00 00 */ cmplwi r3, 0 +/* 800641E8 00061148 41 82 00 08 */ beq lbl_800641F0 +/* 800641EC 0006114C 48 2B 17 45 */ bl Free__7CMemoryFPCv +lbl_800641F0: +/* 800641F0 00061150 93 9E 00 0C */ stw r28, 0xc(r30) +/* 800641F4 00061154 93 FE 00 08 */ stw r31, 8(r30) +lbl_800641F8: +/* 800641F8 00061158 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800641FC 0006115C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80064200 00061160 7C 08 03 A6 */ mtlr r0 +/* 80064204 00061164 38 21 00 30 */ addi r1, r1, 0x30 +/* 80064208 00061168 4E 80 00 20 */ blr + +.global "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi": +/* 8006420C 0006116C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80064210 00061170 7C 08 02 A6 */ mflr r0 +/* 80064214 00061174 90 01 00 34 */ stw r0, 0x34(r1) +/* 80064218 00061178 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8006421C 0006117C 7C 9F 23 78 */ mr r31, r4 +/* 80064220 00061180 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80064224 00061184 7C 7E 1B 78 */ mr r30, r3 +/* 80064228 00061188 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8006422C 0006118C 80 03 00 08 */ lwz r0, 8(r3) +/* 80064230 00061190 7C 1F 00 00 */ cmpw r31, r0 +/* 80064234 00061194 40 81 00 B0 */ ble lbl_800642E4 +/* 80064238 00061198 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8006423C 0006119C 40 82 00 0C */ bne lbl_80064248 +/* 80064240 000611A0 3B A0 00 00 */ li r29, 0 +/* 80064244 000611A4 48 00 00 18 */ b lbl_8006425C +lbl_80064248: +/* 80064248 000611A8 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 8006424C 000611AC 38 A0 00 00 */ li r5, 0 +/* 80064250 000611B0 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80064254 000611B4 48 2B 15 C5 */ bl __nwa__FUlPCcPCc +/* 80064258 000611B8 7C 7D 1B 78 */ mr r29, r3 +lbl_8006425C: +/* 8006425C 000611BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80064260 000611C0 7F A4 EB 78 */ mr r4, r29 +/* 80064264 000611C4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80064268 000611C8 54 00 18 38 */ slwi r0, r0, 3 +/* 8006426C 000611CC 7C 65 02 14 */ add r3, r5, r0 +/* 80064270 000611D0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80064274 000611D4 90 61 00 08 */ stw r3, 8(r1) +/* 80064278 000611D8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8006427C 000611DC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80064280 000611E0 48 00 00 24 */ b lbl_800642A4 +lbl_80064284: +/* 80064284 000611E4 28 04 00 00 */ cmplwi r4, 0 +/* 80064288 000611E8 41 82 00 14 */ beq lbl_8006429C +/* 8006428C 000611EC 80 05 00 00 */ lwz r0, 0(r5) +/* 80064290 000611F0 90 04 00 00 */ stw r0, 0(r4) +/* 80064294 000611F4 80 05 00 04 */ lwz r0, 4(r5) +/* 80064298 000611F8 90 04 00 04 */ stw r0, 4(r4) +lbl_8006429C: +/* 8006429C 000611FC 38 84 00 08 */ addi r4, r4, 8 +/* 800642A0 00061200 38 A5 00 08 */ addi r5, r5, 8 +lbl_800642A4: +/* 800642A4 00061204 7C 05 18 40 */ cmplw r5, r3 +/* 800642A8 00061208 40 82 FF DC */ bne lbl_80064284 +/* 800642AC 0006120C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800642B0 00061210 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800642B4 00061214 54 00 18 38 */ slwi r0, r0, 3 +/* 800642B8 00061218 7C 64 1B 78 */ mr r4, r3 +/* 800642BC 0006121C 7C 03 02 14 */ add r0, r3, r0 +/* 800642C0 00061220 48 00 00 08 */ b lbl_800642C8 +lbl_800642C4: +/* 800642C4 00061224 38 84 00 08 */ addi r4, r4, 8 +lbl_800642C8: +/* 800642C8 00061228 7C 04 00 40 */ cmplw r4, r0 +/* 800642CC 0006122C 40 82 FF F8 */ bne lbl_800642C4 +/* 800642D0 00061230 28 03 00 00 */ cmplwi r3, 0 +/* 800642D4 00061234 41 82 00 08 */ beq lbl_800642DC +/* 800642D8 00061238 48 2B 16 59 */ bl Free__7CMemoryFPCv +lbl_800642DC: +/* 800642DC 0006123C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800642E0 00061240 93 FE 00 08 */ stw r31, 8(r30) +lbl_800642E4: +/* 800642E4 00061244 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800642E8 00061248 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800642EC 0006124C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800642F0 00061250 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800642F4 00061254 7C 08 03 A6 */ mtlr r0 +/* 800642F8 00061258 38 21 00 30 */ addi r1, r1, 0x30 +/* 800642FC 0006125C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl37vectorFi" +"reserve__Q24rstl37vectorFi": +/* 80064300 00061260 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80064304 00061264 7C 08 02 A6 */ mflr r0 +/* 80064308 00061268 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006430C 0006126C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80064310 00061270 7C 9F 23 78 */ mr r31, r4 +/* 80064314 00061274 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80064318 00061278 7C 7E 1B 78 */ mr r30, r3 +/* 8006431C 0006127C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80064320 00061280 80 03 00 08 */ lwz r0, 8(r3) +/* 80064324 00061284 7C 1F 00 00 */ cmpw r31, r0 +/* 80064328 00061288 40 81 00 A8 */ ble lbl_800643D0 +/* 8006432C 0006128C 57 E3 08 3D */ rlwinm. r3, r31, 1, 0, 0x1e +/* 80064330 00061290 40 82 00 0C */ bne lbl_8006433C +/* 80064334 00061294 3B A0 00 00 */ li r29, 0 +/* 80064338 00061298 48 00 00 18 */ b lbl_80064350 +lbl_8006433C: +/* 8006433C 0006129C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80064340 000612A0 38 A0 00 00 */ li r5, 0 +/* 80064344 000612A4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80064348 000612A8 48 2B 14 D1 */ bl __nwa__FUlPCcPCc +/* 8006434C 000612AC 7C 7D 1B 78 */ mr r29, r3 +lbl_80064350: +/* 80064350 000612B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80064354 000612B4 7F A4 EB 78 */ mr r4, r29 +/* 80064358 000612B8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8006435C 000612BC 54 00 08 3C */ slwi r0, r0, 1 +/* 80064360 000612C0 7C 65 02 14 */ add r3, r5, r0 +/* 80064364 000612C4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80064368 000612C8 90 61 00 08 */ stw r3, 8(r1) +/* 8006436C 000612CC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80064370 000612D0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80064374 000612D4 48 00 00 1C */ b lbl_80064390 +lbl_80064378: +/* 80064378 000612D8 28 04 00 00 */ cmplwi r4, 0 +/* 8006437C 000612DC 41 82 00 0C */ beq lbl_80064388 +/* 80064380 000612E0 A0 05 00 00 */ lhz r0, 0(r5) +/* 80064384 000612E4 B0 04 00 00 */ sth r0, 0(r4) +lbl_80064388: +/* 80064388 000612E8 38 84 00 02 */ addi r4, r4, 2 +/* 8006438C 000612EC 38 A5 00 02 */ addi r5, r5, 2 +lbl_80064390: +/* 80064390 000612F0 7C 05 18 40 */ cmplw r5, r3 +/* 80064394 000612F4 40 82 FF E4 */ bne lbl_80064378 +/* 80064398 000612F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006439C 000612FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800643A0 00061300 54 00 08 3C */ slwi r0, r0, 1 +/* 800643A4 00061304 7C 64 1B 78 */ mr r4, r3 +/* 800643A8 00061308 7C 03 02 14 */ add r0, r3, r0 +/* 800643AC 0006130C 48 00 00 08 */ b lbl_800643B4 +lbl_800643B0: +/* 800643B0 00061310 38 84 00 02 */ addi r4, r4, 2 +lbl_800643B4: +/* 800643B4 00061314 7C 04 00 40 */ cmplw r4, r0 +/* 800643B8 00061318 40 82 FF F8 */ bne lbl_800643B0 +/* 800643BC 0006131C 28 03 00 00 */ cmplwi r3, 0 +/* 800643C0 00061320 41 82 00 08 */ beq lbl_800643C8 +/* 800643C4 00061324 48 2B 15 6D */ bl Free__7CMemoryFPCv +lbl_800643C8: +/* 800643C8 00061328 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800643CC 0006132C 93 FE 00 08 */ stw r31, 8(r30) +lbl_800643D0: +/* 800643D0 00061330 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800643D4 00061334 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800643D8 00061338 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800643DC 0006133C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800643E0 00061340 7C 08 03 A6 */ mtlr r0 +/* 800643E4 00061344 38 21 00 30 */ addi r1, r1, 0x30 +/* 800643E8 00061348 4E 80 00 20 */ blr + +.global sub_800643ec +sub_800643ec: +/* 800643EC 0006134C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800643F0 00061350 7C 08 02 A6 */ mflr r0 +/* 800643F4 00061354 90 01 00 34 */ stw r0, 0x34(r1) +/* 800643F8 00061358 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800643FC 0006135C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80064400 00061360 7C 9E 23 78 */ mr r30, r4 +/* 80064404 00061364 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80064408 00061368 7C 7D 1B 78 */ mr r29, r3 +/* 8006440C 0006136C 80 03 00 08 */ lwz r0, 8(r3) +/* 80064410 00061370 7C 1E 00 00 */ cmpw r30, r0 +/* 80064414 00061374 40 81 00 8C */ ble lbl_800644A0 +/* 80064418 00061378 1C 7E 00 4C */ mulli r3, r30, 0x4c +/* 8006441C 0006137C 2C 03 00 00 */ cmpwi r3, 0 +/* 80064420 00061380 40 82 00 0C */ bne lbl_8006442C +/* 80064424 00061384 3B E0 00 00 */ li r31, 0 +/* 80064428 00061388 48 00 00 18 */ b lbl_80064440 +lbl_8006442C: +/* 8006442C 0006138C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 80064430 00061390 38 A0 00 00 */ li r5, 0 +/* 80064434 00061394 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 80064438 00061398 48 2B 13 E1 */ bl __nwa__FUlPCcPCc +/* 8006443C 0006139C 7C 7F 1B 78 */ mr r31, r3 +lbl_80064440: +/* 80064440 000613A0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80064444 000613A4 7F E5 FB 78 */ mr r5, r31 +/* 80064448 000613A8 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 8006444C 000613AC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80064450 000613B0 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 80064454 000613B4 38 81 00 0C */ addi r4, r1, 0xc +/* 80064458 000613B8 7C C6 02 14 */ add r6, r6, r0 +/* 8006445C 000613BC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80064460 000613C0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80064464 000613C4 90 C1 00 08 */ stw r6, 8(r1) +/* 80064468 000613C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8006446C 000613CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80064470 000613D0 48 00 00 99 */ bl sub_80064508 +/* 80064474 000613D4 80 1D 00 04 */ lwz r0, 4(r29) +/* 80064478 000613D8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8006447C 000613DC 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 80064480 000613E0 7C 83 02 14 */ add r4, r3, r0 +/* 80064484 000613E4 48 00 00 39 */ bl sub_800644bc +/* 80064488 000613E8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8006448C 000613EC 28 03 00 00 */ cmplwi r3, 0 +/* 80064490 000613F0 41 82 00 08 */ beq lbl_80064498 +/* 80064494 000613F4 48 2B 14 9D */ bl Free__7CMemoryFPCv +lbl_80064498: +/* 80064498 000613F8 93 FD 00 0C */ stw r31, 0xc(r29) +/* 8006449C 000613FC 93 DD 00 08 */ stw r30, 8(r29) +lbl_800644A0: +/* 800644A0 00061400 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800644A4 00061404 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800644A8 00061408 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800644AC 0006140C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800644B0 00061410 7C 08 03 A6 */ mtlr r0 +/* 800644B4 00061414 38 21 00 30 */ addi r1, r1, 0x30 +/* 800644B8 00061418 4E 80 00 20 */ blr + +.global sub_800644bc +sub_800644bc: +/* 800644BC 0006141C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800644C0 00061420 7C 08 02 A6 */ mflr r0 +/* 800644C4 00061424 90 01 00 14 */ stw r0, 0x14(r1) +/* 800644C8 00061428 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800644CC 0006142C 7C 7F 1B 78 */ mr r31, r3 +/* 800644D0 00061430 93 C1 00 08 */ stw r30, 8(r1) +/* 800644D4 00061434 7C 9E 23 78 */ mr r30, r4 +/* 800644D8 00061438 48 00 00 10 */ b lbl_800644E8 +lbl_800644DC: +/* 800644DC 0006143C 7F E3 FB 78 */ mr r3, r31 +/* 800644E0 00061440 4B FF 9A 05 */ bl sub_8005dee4 +/* 800644E4 00061444 3B FF 00 4C */ addi r31, r31, 0x4c +lbl_800644E8: +/* 800644E8 00061448 7C 1F F0 40 */ cmplw r31, r30 +/* 800644EC 0006144C 40 82 FF F0 */ bne lbl_800644DC +/* 800644F0 00061450 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800644F4 00061454 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800644F8 00061458 83 C1 00 08 */ lwz r30, 8(r1) +/* 800644FC 0006145C 7C 08 03 A6 */ mtlr r0 +/* 80064500 00061460 38 21 00 10 */ addi r1, r1, 0x10 +/* 80064504 00061464 4E 80 00 20 */ blr + +.global sub_80064508 +sub_80064508: +/* 80064508 00061468 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006450C 0006146C 7C 08 02 A6 */ mflr r0 +/* 80064510 00061470 90 01 00 24 */ stw r0, 0x24(r1) +/* 80064514 00061474 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80064518 00061478 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8006451C 0006147C 7C BE 2B 78 */ mr r30, r5 +/* 80064520 00061480 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80064524 00061484 7C 9D 23 78 */ mr r29, r4 +/* 80064528 00061488 83 E3 00 00 */ lwz r31, 0(r3) +/* 8006452C 0006148C 48 00 00 18 */ b lbl_80064544 +lbl_80064530: +/* 80064530 00061490 7F C3 F3 78 */ mr r3, r30 +/* 80064534 00061494 7F E4 FB 78 */ mr r4, r31 +/* 80064538 00061498 4B FF A2 9D */ bl sub_8005e7d4 +/* 8006453C 0006149C 3B DE 00 4C */ addi r30, r30, 0x4c +/* 80064540 000614A0 3B FF 00 4C */ addi r31, r31, 0x4c +lbl_80064544: +/* 80064544 000614A4 80 1D 00 00 */ lwz r0, 0(r29) +/* 80064548 000614A8 7C 1F 00 40 */ cmplw r31, r0 +/* 8006454C 000614AC 40 82 FF E4 */ bne lbl_80064530 +/* 80064550 000614B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80064554 000614B4 7F C3 F3 78 */ mr r3, r30 +/* 80064558 000614B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8006455C 000614BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80064560 000614C0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80064564 000614C4 7C 08 03 A6 */ mtlr r0 +/* 80064568 000614C8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8006456C 000614CC 4E 80 00 20 */ blr + +.global "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi": +/* 80064570 000614D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80064574 000614D4 7C 08 02 A6 */ mflr r0 +/* 80064578 000614D8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006457C 000614DC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80064580 000614E0 7C 9F 23 78 */ mr r31, r4 +/* 80064584 000614E4 7C 7E 1B 78 */ mr r30, r3 +/* 80064588 000614E8 80 03 00 08 */ lwz r0, 8(r3) +/* 8006458C 000614EC 7C 1F 00 00 */ cmpw r31, r0 +/* 80064590 000614F0 40 81 00 E4 */ ble lbl_80064674 +/* 80064594 000614F4 1C 7F 00 0C */ mulli r3, r31, 0xc +/* 80064598 000614F8 2C 03 00 00 */ cmpwi r3, 0 +/* 8006459C 000614FC 40 82 00 0C */ bne lbl_800645A8 +/* 800645A0 00061500 3B A0 00 00 */ li r29, 0 +/* 800645A4 00061504 48 00 00 18 */ b lbl_800645BC +lbl_800645A8: +/* 800645A8 00061508 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha +/* 800645AC 0006150C 38 A0 00 00 */ li r5, 0 +/* 800645B0 00061510 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l +/* 800645B4 00061514 48 2B 12 65 */ bl __nwa__FUlPCcPCc +/* 800645B8 00061518 7C 7D 1B 78 */ mr r29, r3 +lbl_800645BC: +/* 800645BC 0006151C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800645C0 00061520 7F A5 EB 78 */ mr r5, r29 +/* 800645C4 00061524 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 800645C8 00061528 38 60 00 00 */ li r3, 0 +/* 800645CC 0006152C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800645D0 00061530 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800645D4 00061534 7C 86 02 14 */ add r4, r6, r0 +/* 800645D8 00061538 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800645DC 0006153C 90 81 00 08 */ stw r4, 8(r1) +/* 800645E0 00061540 90 81 00 0C */ stw r4, 0xc(r1) +/* 800645E4 00061544 48 00 00 30 */ b lbl_80064614 +lbl_800645E8: +/* 800645E8 00061548 28 05 00 00 */ cmplwi r5, 0 +/* 800645EC 0006154C 41 82 00 20 */ beq lbl_8006460C +/* 800645F0 00061550 88 06 00 00 */ lbz r0, 0(r6) +/* 800645F4 00061554 98 05 00 00 */ stb r0, 0(r5) +/* 800645F8 00061558 80 06 00 04 */ lwz r0, 4(r6) +/* 800645FC 0006155C 90 05 00 04 */ stw r0, 4(r5) +/* 80064600 00061560 98 66 00 00 */ stb r3, 0(r6) +/* 80064604 00061564 80 06 00 08 */ lwz r0, 8(r6) +/* 80064608 00061568 90 05 00 08 */ stw r0, 8(r5) +lbl_8006460C: +/* 8006460C 0006156C 38 A5 00 0C */ addi r5, r5, 0xc +/* 80064610 00061570 38 C6 00 0C */ addi r6, r6, 0xc +lbl_80064614: +/* 80064614 00061574 7C 06 20 40 */ cmplw r6, r4 +/* 80064618 00061578 40 82 FF D0 */ bne lbl_800645E8 +/* 8006461C 0006157C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80064620 00061580 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 80064624 00061584 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80064628 00061588 7F 9B 02 14 */ add r28, r27, r0 +/* 8006462C 0006158C 48 00 00 28 */ b lbl_80064654 +lbl_80064630: +/* 80064630 00061590 28 1B 00 00 */ cmplwi r27, 0 +/* 80064634 00061594 41 82 00 1C */ beq lbl_80064650 +/* 80064638 00061598 41 82 00 18 */ beq lbl_80064650 +/* 8006463C 0006159C 88 1B 00 00 */ lbz r0, 0(r27) +/* 80064640 000615A0 28 00 00 00 */ cmplwi r0, 0 +/* 80064644 000615A4 41 82 00 0C */ beq lbl_80064650 +/* 80064648 000615A8 80 7B 00 04 */ lwz r3, 4(r27) +/* 8006464C 000615AC 48 2B 12 E5 */ bl Free__7CMemoryFPCv +lbl_80064650: +/* 80064650 000615B0 3B 7B 00 0C */ addi r27, r27, 0xc +lbl_80064654: +/* 80064654 000615B4 7C 1B E0 40 */ cmplw r27, r28 +/* 80064658 000615B8 40 82 FF D8 */ bne lbl_80064630 +/* 8006465C 000615BC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80064660 000615C0 28 03 00 00 */ cmplwi r3, 0 +/* 80064664 000615C4 41 82 00 08 */ beq lbl_8006466C +/* 80064668 000615C8 48 2B 12 C9 */ bl Free__7CMemoryFPCv +lbl_8006466C: +/* 8006466C 000615CC 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80064670 000615D0 93 FE 00 08 */ stw r31, 8(r30) +lbl_80064674: +/* 80064674 000615D4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80064678 000615D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006467C 000615DC 7C 08 03 A6 */ mtlr r0 +/* 80064680 000615E0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80064684 000615E4 4E 80 00 20 */ blr + +.global "pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv" +"pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv": +/* 80064688 000615E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006468C 000615EC 7C 08 02 A6 */ mflr r0 +/* 80064690 000615F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80064694 000615F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80064698 000615F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8006469C 000615FC 7C 9E 23 78 */ mr r30, r4 +/* 800646A0 00061600 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800646A4 00061604 7C 7D 1B 78 */ mr r29, r3 +/* 800646A8 00061608 80 03 00 04 */ lwz r0, 4(r3) +/* 800646AC 0006160C 83 E4 00 04 */ lwz r31, 4(r4) +/* 800646B0 00061610 7C 1E 00 40 */ cmplw r30, r0 +/* 800646B4 00061614 40 82 00 08 */ bne lbl_800646BC +/* 800646B8 00061618 93 FD 00 04 */ stw r31, 4(r29) +lbl_800646BC: +/* 800646BC 0006161C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800646C0 00061620 34 9E 00 08 */ addic. r4, r30, 8 +/* 800646C4 00061624 80 7E 00 00 */ lwz r3, 0(r30) +/* 800646C8 00061628 90 03 00 04 */ stw r0, 4(r3) +/* 800646CC 0006162C 80 1E 00 00 */ lwz r0, 0(r30) +/* 800646D0 00061630 80 7E 00 04 */ lwz r3, 4(r30) +/* 800646D4 00061634 90 03 00 00 */ stw r0, 0(r3) +/* 800646D8 00061638 41 82 00 30 */ beq lbl_80064708 +/* 800646DC 0006163C 88 04 00 00 */ lbz r0, 0(r4) +/* 800646E0 00061640 28 00 00 00 */ cmplwi r0, 0 +/* 800646E4 00061644 41 82 00 24 */ beq lbl_80064708 +/* 800646E8 00061648 80 64 00 04 */ lwz r3, 4(r4) +/* 800646EC 0006164C 28 03 00 00 */ cmplwi r3, 0 +/* 800646F0 00061650 41 82 00 18 */ beq lbl_80064708 +/* 800646F4 00061654 81 83 00 00 */ lwz r12, 0(r3) +/* 800646F8 00061658 38 80 00 01 */ li r4, 1 +/* 800646FC 0006165C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80064700 00061660 7D 89 03 A6 */ mtctr r12 +/* 80064704 00061664 4E 80 04 21 */ bctrl +lbl_80064708: +/* 80064708 00061668 28 1E 00 00 */ cmplwi r30, 0 +/* 8006470C 0006166C 41 82 00 0C */ beq lbl_80064718 +/* 80064710 00061670 7F C3 F3 78 */ mr r3, r30 +/* 80064714 00061674 48 2B 12 1D */ bl Free__7CMemoryFPCv +lbl_80064718: +/* 80064718 00061678 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8006471C 0006167C 7F E3 FB 78 */ mr r3, r31 +/* 80064720 00061680 38 04 FF FF */ addi r0, r4, -1 +/* 80064724 00061684 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80064728 00061688 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8006472C 0006168C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80064730 00061690 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80064734 00061694 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80064738 00061698 7C 08 03 A6 */ mtlr r0 +/* 8006473C 0006169C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80064740 000616A0 4E 80 00 20 */ blr + +.global sub_80064744 +sub_80064744: +/* 80064744 000616A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80064748 000616A8 7C 08 02 A6 */ mflr r0 +/* 8006474C 000616AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80064750 000616B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80064754 000616B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80064758 000616B8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8006475C 000616BC 7C 9D 23 78 */ mr r29, r4 +/* 80064760 000616C0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80064764 000616C4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80064768 000616C8 41 82 00 74 */ beq lbl_800647DC +/* 8006476C 000616CC 83 FC 00 04 */ lwz r31, 4(r28) +/* 80064770 000616D0 48 00 00 50 */ b lbl_800647C0 +lbl_80064774: +/* 80064774 000616D4 7F FE FB 78 */ mr r30, r31 +/* 80064778 000616D8 83 FF 00 04 */ lwz r31, 4(r31) +/* 8006477C 000616DC 34 7E 00 08 */ addic. r3, r30, 8 +/* 80064780 000616E0 41 82 00 30 */ beq lbl_800647B0 +/* 80064784 000616E4 88 03 00 00 */ lbz r0, 0(r3) +/* 80064788 000616E8 28 00 00 00 */ cmplwi r0, 0 +/* 8006478C 000616EC 41 82 00 24 */ beq lbl_800647B0 +/* 80064790 000616F0 80 63 00 04 */ lwz r3, 4(r3) +/* 80064794 000616F4 28 03 00 00 */ cmplwi r3, 0 +/* 80064798 000616F8 41 82 00 18 */ beq lbl_800647B0 +/* 8006479C 000616FC 81 83 00 00 */ lwz r12, 0(r3) +/* 800647A0 00061700 38 80 00 01 */ li r4, 1 +/* 800647A4 00061704 81 8C 00 08 */ lwz r12, 8(r12) +/* 800647A8 00061708 7D 89 03 A6 */ mtctr r12 +/* 800647AC 0006170C 4E 80 04 21 */ bctrl +lbl_800647B0: +/* 800647B0 00061710 28 1E 00 00 */ cmplwi r30, 0 +/* 800647B4 00061714 41 82 00 0C */ beq lbl_800647C0 +/* 800647B8 00061718 7F C3 F3 78 */ mr r3, r30 +/* 800647BC 0006171C 48 2B 11 75 */ bl Free__7CMemoryFPCv +lbl_800647C0: +/* 800647C0 00061720 80 1C 00 08 */ lwz r0, 8(r28) +/* 800647C4 00061724 7C 1F 00 40 */ cmplw r31, r0 +/* 800647C8 00061728 40 82 FF AC */ bne lbl_80064774 +/* 800647CC 0006172C 7F A0 07 35 */ extsh. r0, r29 +/* 800647D0 00061730 40 81 00 0C */ ble lbl_800647DC +/* 800647D4 00061734 7F 83 E3 78 */ mr r3, r28 +/* 800647D8 00061738 48 2B 11 59 */ bl Free__7CMemoryFPCv +lbl_800647DC: +/* 800647DC 0006173C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800647E0 00061740 7F 83 E3 78 */ mr r3, r28 +/* 800647E4 00061744 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800647E8 00061748 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800647EC 0006174C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800647F0 00061750 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800647F4 00061754 7C 08 03 A6 */ mtlr r0 +/* 800647F8 00061758 38 21 00 20 */ addi r1, r1, 0x20 +/* 800647FC 0006175C 4E 80 00 20 */ blr + +.global "SetMessage__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" +"SetMessage__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms": +/* 80064800 00061760 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80064804 00061764 7C 08 02 A6 */ mflr r0 +/* 80064808 00061768 90 01 00 44 */ stw r0, 0x44(r1) +/* 8006480C 0006176C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80064810 00061770 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80064814 00061774 7C BE 2B 78 */ mr r30, r5 +/* 80064818 00061778 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8006481C 0006177C 7C 7D 1B 78 */ mr r29, r3 +/* 80064820 00061780 93 81 00 30 */ stw r28, 0x30(r1) +/* 80064824 00061784 7C 9C 23 78 */ mr r28, r4 +/* 80064828 00061788 80 63 05 98 */ lwz r3, 0x598(r3) +/* 8006482C 0006178C 81 83 00 00 */ lwz r12, 0(r3) +/* 80064830 00061790 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80064834 00061794 7D 89 03 A6 */ mtctr r12 +/* 80064838 00061798 4E 80 04 21 */ bctrl +/* 8006483C 0006179C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80064840 000617A0 7C 7F 1B 78 */ mr r31, r3 +/* 80064844 000617A4 41 82 00 10 */ beq lbl_80064854 +/* 80064848 000617A8 88 1E 00 06 */ lbz r0, 6(r30) +/* 8006484C 000617AC 28 00 00 00 */ cmplwi r0, 0 +/* 80064850 000617B0 41 82 01 D4 */ beq lbl_80064A24 +lbl_80064854: +/* 80064854 000617B4 88 1E 00 05 */ lbz r0, 5(r30) +/* 80064858 000617B8 28 00 00 00 */ cmplwi r0, 0 +/* 8006485C 000617BC 41 82 00 48 */ beq lbl_800648A4 +/* 80064860 000617C0 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 80064864 000617C4 D0 1D 05 58 */ stfs f0, 0x558(r29) +/* 80064868 000617C8 88 1E 00 06 */ lbz r0, 6(r30) +/* 8006486C 000617CC 28 00 00 00 */ cmplwi r0, 0 +/* 80064870 000617D0 41 82 01 B4 */ beq lbl_80064A24 +/* 80064874 000617D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80064878 000617D8 41 82 01 AC */ beq lbl_80064A24 +/* 8006487C 000617DC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80064880 000617E0 38 61 00 0C */ addi r3, r1, 0xc +/* 80064884 000617E4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80064888 000617E8 38 80 05 A9 */ li r4, 0x5a9 +/* 8006488C 000617EC 38 A0 00 7F */ li r5, 0x7f +/* 80064890 000617F0 38 C0 00 40 */ li r6, 0x40 +/* 80064894 000617F4 38 E0 00 00 */ li r7, 0 +/* 80064898 000617F8 39 20 00 00 */ li r9, 0 +/* 8006489C 000617FC 48 28 54 D9 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800648A0 00061800 48 00 01 84 */ b lbl_80064A24 +lbl_800648A4: +/* 800648A4 00061804 48 2E 57 09 */ bl White__6CColorFv +/* 800648A8 00061808 7C 64 1B 78 */ mr r4, r3 +/* 800648AC 0006180C 80 7D 05 98 */ lwz r3, 0x598(r29) +/* 800648B0 00061810 48 26 5F BD */ bl SetColor__10CGuiWidgetFRC6CColor +/* 800648B4 00061814 80 7D 05 98 */ lwz r3, 0x598(r29) +/* 800648B8 00061818 38 80 00 00 */ li r4, 0 +/* 800648BC 0006181C 38 A0 00 01 */ li r5, 1 +/* 800648C0 00061820 48 26 5E 29 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +/* 800648C4 00061824 88 1E 00 06 */ lbz r0, 6(r30) +/* 800648C8 00061828 28 00 00 00 */ cmplwi r0, 0 +/* 800648CC 0006182C 41 82 00 0C */ beq lbl_800648D8 +/* 800648D0 00061830 80 7D 05 98 */ lwz r3, 0x598(r29) +/* 800648D4 00061834 48 00 00 08 */ b lbl_800648DC +lbl_800648D8: +/* 800648D8 00061838 80 7D 05 9C */ lwz r3, 0x59c(r29) +lbl_800648DC: +/* 800648DC 0006183C 38 80 00 01 */ li r4, 1 +/* 800648E0 00061840 38 A0 00 01 */ li r5, 1 +/* 800648E4 00061844 48 26 5E 05 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +/* 800648E8 00061848 80 7D 05 9C */ lwz r3, 0x59c(r29) +/* 800648EC 0006184C 38 80 00 01 */ li r4, 1 +/* 800648F0 00061850 C0 22 87 2C */ lfs f1, lbl_805AA44C@sda21(r2) +/* 800648F4 00061854 C0 42 87 30 */ lfs f2, lbl_805AA450@sda21(r2) +/* 800648F8 00061858 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 800648FC 0006185C 48 26 38 1D */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff +/* 80064900 00061860 88 1E 00 04 */ lbz r0, 4(r30) +/* 80064904 00061864 28 00 00 00 */ cmplwi r0, 0 +/* 80064908 00061868 41 82 00 2C */ beq lbl_80064934 +/* 8006490C 0006186C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80064910 00061870 7F 84 E3 78 */ mr r4, r28 +/* 80064914 00061874 38 A0 00 00 */ li r5, 0 +/* 80064918 00061878 D0 1D 05 5C */ stfs f0, 0x55c(r29) +/* 8006491C 0006187C 80 7D 05 9C */ lwz r3, 0x59c(r29) +/* 80064920 00061880 D0 03 01 10 */ stfs f0, 0x110(r3) +/* 80064924 00061884 80 7D 05 9C */ lwz r3, 0x59c(r29) +/* 80064928 00061888 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8006492C 0006188C 48 26 4F 59 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80064930 00061890 48 00 00 6C */ b lbl_8006499C +lbl_80064934: +/* 80064934 00061894 80 7D 05 9C */ lwz r3, 0x59c(r29) +/* 80064938 00061898 80 03 00 DC */ lwz r0, 0xdc(r3) +/* 8006493C 0006189C 2C 00 00 00 */ cmpwi r0, 0 +/* 80064940 000618A0 40 82 00 20 */ bne lbl_80064960 +/* 80064944 000618A4 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80064948 000618A8 7F 84 E3 78 */ mr r4, r28 +/* 8006494C 000618AC D0 1D 05 5C */ stfs f0, 0x55c(r29) +/* 80064950 000618B0 80 7D 05 9C */ lwz r3, 0x59c(r29) +/* 80064954 000618B4 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80064958 000618B8 48 26 4E 29 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring +/* 8006495C 000618BC 48 00 00 40 */ b lbl_8006499C +lbl_80064960: +/* 80064960 000618C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80064964 000618C4 38 8D 83 90 */ addi r4, r13, lbl_805A6F50@sda21 +/* 80064968 000618C8 4B FB 10 89 */ bl wstring_l__4rstlFPCw +/* 8006496C 000618CC 7F 85 E3 78 */ mr r5, r28 +/* 80064970 000618D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80064974 000618D4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80064978 000618D8 4B FB B6 ED */ bl sub_80020064 +/* 8006497C 000618DC 80 7D 05 9C */ lwz r3, 0x59c(r29) +/* 80064980 000618E0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80064984 000618E4 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80064988 000618E8 48 26 4D F9 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring +/* 8006498C 000618EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80064990 000618F0 48 2D 87 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80064994 000618F4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80064998 000618F8 48 2D 87 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8006499C: +/* 8006499C 000618FC 48 2E 56 11 */ bl White__6CColorFv +/* 800649A0 00061900 7C 64 1B 78 */ mr r4, r3 +/* 800649A4 00061904 80 7D 05 9C */ lwz r3, 0x59c(r29) +/* 800649A8 00061908 48 26 5E C5 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 800649AC 0006190C 48 2E 56 01 */ bl White__6CColorFv +/* 800649B0 00061910 7C 64 1B 78 */ mr r4, r3 +/* 800649B4 00061914 80 7D 05 98 */ lwz r3, 0x598(r29) +/* 800649B8 00061918 48 26 5E B5 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 800649BC 0006191C C0 1E 00 00 */ lfs f0, 0(r30) +/* 800649C0 00061920 D0 1D 05 58 */ stfs f0, 0x558(r29) +/* 800649C4 00061924 88 1E 00 06 */ lbz r0, 6(r30) +/* 800649C8 00061928 28 00 00 00 */ cmplwi r0, 0 +/* 800649CC 0006192C 41 82 00 40 */ beq lbl_80064A0C +/* 800649D0 00061930 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800649D4 00061934 40 82 00 50 */ bne lbl_80064A24 +/* 800649D8 00061938 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 800649DC 0006193C 38 61 00 08 */ addi r3, r1, 8 +/* 800649E0 00061940 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800649E4 00061944 38 80 05 A3 */ li r4, 0x5a3 +/* 800649E8 00061948 D0 1D 05 84 */ stfs f0, 0x584(r29) +/* 800649EC 0006194C 38 A0 00 7F */ li r5, 0x7f +/* 800649F0 00061950 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800649F4 00061954 38 C0 00 40 */ li r6, 0x40 +/* 800649F8 00061958 D0 1D 05 60 */ stfs f0, 0x560(r29) +/* 800649FC 0006195C 38 E0 00 00 */ li r7, 0 +/* 80064A00 00061960 39 20 00 00 */ li r9, 0 +/* 80064A04 00061964 48 28 53 71 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80064A08 00061968 48 00 00 1C */ b lbl_80064A24 +lbl_80064A0C: +/* 80064A0C 0006196C 83 BD 05 98 */ lwz r29, 0x598(r29) +/* 80064A10 00061970 38 9D 00 74 */ addi r4, r29, 0x74 +/* 80064A14 00061974 38 7D 00 04 */ addi r3, r29, 4 +/* 80064A18 00061978 48 2A E1 29 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80064A1C 0006197C 7F A3 EB 78 */ mr r3, r29 +/* 80064A20 00061980 48 25 FD C9 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_80064A24: +/* 80064A24 00061984 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80064A28 00061988 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80064A2C 0006198C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80064A30 00061990 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80064A34 00061994 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80064A38 00061998 7C 08 03 A6 */ mtlr r0 +/* 80064A3C 0006199C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80064A40 000619A0 4E 80 00 20 */ blr + +.global GetIsVisible__10CGuiWidgetCFv +GetIsVisible__10CGuiWidgetCFv: +/* 80064A44 000619A4 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 80064A48 000619A8 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 80064A4C 000619AC 4E 80 00 20 */ blr + +.global UpdateCameraDebugSettings__9CSamusHudFv +UpdateCameraDebugSettings__9CSamusHudFv: +/* 80064A50 000619B0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80064A54 000619B4 7C 08 02 A6 */ mflr r0 +/* 80064A58 000619B8 90 01 00 64 */ stw r0, 0x64(r1) +/* 80064A5C 000619BC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80064A60 000619C0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80064A64 000619C4 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80064A68 000619C8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80064A6C 000619CC DB A1 00 30 */ stfd f29, 0x30(r1) +/* 80064A70 000619D0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 80064A74 000619D4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80064A78 000619D8 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) +/* 80064A7C 000619DC 7C 7F 1B 78 */ mr r31, r3 +/* 80064A80 000619E0 80 63 02 A0 */ lwz r3, 0x2a0(r3) +/* 80064A84 000619E4 80 A6 00 A8 */ lwz r5, 0xa8(r6) +/* 80064A88 000619E8 80 86 00 AC */ lwz r4, 0xac(r6) +/* 80064A8C 000619EC 28 03 00 00 */ cmplwi r3, 0 +/* 80064A90 000619F0 80 06 00 B0 */ lwz r0, 0xb0(r6) +/* 80064A94 000619F4 54 A5 10 3A */ slwi r5, r5, 2 +/* 80064A98 000619F8 54 84 10 3A */ slwi r4, r4, 2 +/* 80064A9C 000619FC 54 00 10 3A */ slwi r0, r0, 2 +/* 80064AA0 00061A00 7C DF 2A 14 */ add r6, r31, r5 +/* 80064AA4 00061A04 7C BF 22 14 */ add r5, r31, r4 +/* 80064AA8 00061A08 C3 E6 05 EC */ lfs f31, 0x5ec(r6) +/* 80064AAC 00061A0C 7C 9F 02 14 */ add r4, r31, r0 +/* 80064AB0 00061A10 C3 C5 06 2C */ lfs f30, 0x62c(r5) +/* 80064AB4 00061A14 C3 A4 07 2C */ lfs f29, 0x72c(r4) +/* 80064AB8 00061A18 41 82 00 14 */ beq lbl_80064ACC +/* 80064ABC 00061A1C FC 20 F8 90 */ fmr f1, f31 +/* 80064AC0 00061A20 FC 40 F0 90 */ fmr f2, f30 +/* 80064AC4 00061A24 FC 60 E8 90 */ fmr f3, f29 +/* 80064AC8 00061A28 48 12 C1 59 */ bl UpdateCameraDebugSettings__19CHudHelmetInterfaceFfff +lbl_80064ACC: +/* 80064ACC 00061A2C 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 80064AD0 00061A30 28 03 00 00 */ cmplwi r3, 0 +/* 80064AD4 00061A34 41 82 00 20 */ beq lbl_80064AF4 +/* 80064AD8 00061A38 81 83 00 00 */ lwz r12, 0(r3) +/* 80064ADC 00061A3C FC 20 F8 90 */ fmr f1, f31 +/* 80064AE0 00061A40 FC 40 F0 90 */ fmr f2, f30 +/* 80064AE4 00061A44 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80064AE8 00061A48 FC 60 E8 90 */ fmr f3, f29 +/* 80064AEC 00061A4C 7D 89 03 A6 */ mtctr r12 +/* 80064AF0 00061A50 4E 80 04 21 */ bctrl +lbl_80064AF4: +/* 80064AF4 00061A54 80 7F 02 74 */ lwz r3, 0x274(r31) +/* 80064AF8 00061A58 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80064AFC 00061A5C 81 03 00 14 */ lwz r8, 0x14(r3) +/* 80064B00 00061A60 80 08 00 BC */ lwz r0, 0xbc(r8) +/* 80064B04 00061A64 80 E8 00 C0 */ lwz r7, 0xc0(r8) +/* 80064B08 00061A68 90 01 00 08 */ stw r0, 8(r1) +/* 80064B0C 00061A6C 80 C8 00 C4 */ lwz r6, 0xc4(r8) +/* 80064B10 00061A70 D3 E1 00 08 */ stfs f31, 8(r1) +/* 80064B14 00061A74 80 A8 00 C8 */ lwz r5, 0xc8(r8) +/* 80064B18 00061A78 80 88 00 CC */ lwz r4, 0xcc(r8) +/* 80064B1C 00061A7C 80 68 00 D0 */ lwz r3, 0xd0(r8) +/* 80064B20 00061A80 80 01 00 08 */ lwz r0, 8(r1) +/* 80064B24 00061A84 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80064B28 00061A88 90 08 00 BC */ stw r0, 0xbc(r8) +/* 80064B2C 00061A8C 90 E8 00 C0 */ stw r7, 0xc0(r8) +/* 80064B30 00061A90 90 C8 00 C4 */ stw r6, 0xc4(r8) +/* 80064B34 00061A94 90 A8 00 C8 */ stw r5, 0xc8(r8) +/* 80064B38 00061A98 90 88 00 CC */ stw r4, 0xcc(r8) +/* 80064B3C 00061A9C 90 68 00 D0 */ stw r3, 0xd0(r8) +/* 80064B40 00061AA0 D0 1F 03 10 */ stfs f0, 0x310(r31) +/* 80064B44 00061AA4 D3 DF 03 14 */ stfs f30, 0x314(r31) +/* 80064B48 00061AA8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80064B4C 00061AAC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80064B50 00061AB0 90 81 00 18 */ stw r4, 0x18(r1) +/* 80064B54 00061AB4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80064B58 00061AB8 D3 BF 03 18 */ stfs f29, 0x318(r31) +/* 80064B5C 00061ABC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80064B60 00061AC0 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80064B64 00061AC4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80064B68 00061AC8 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80064B6C 00061ACC E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80064B70 00061AD0 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80064B74 00061AD4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80064B78 00061AD8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80064B7C 00061ADC 7C 08 03 A6 */ mtlr r0 +/* 80064B80 00061AE0 38 21 00 60 */ addi r1, r1, 0x60 +/* 80064B84 00061AE4 4E 80 00 20 */ blr + +.global ApplyClassicLag__9CSamusHudFRC13CUnitVector3fR11CQuaternionRC13CStateManagerfb +ApplyClassicLag__9CSamusHudFRC13CUnitVector3fR11CQuaternionRC13CStateManagerfb: +/* 80064B88 00061AE8 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 80064B8C 00061AEC 7C 08 02 A6 */ mflr r0 +/* 80064B90 00061AF0 90 01 01 84 */ stw r0, 0x184(r1) +/* 80064B94 00061AF4 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 80064B98 00061AF8 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 80064B9C 00061AFC DB C1 01 60 */ stfd f30, 0x160(r1) +/* 80064BA0 00061B00 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 80064BA4 00061B04 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 80064BA8 00061B08 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 80064BAC 00061B0C DB 81 01 40 */ stfd f28, 0x140(r1) +/* 80064BB0 00061B10 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 80064BB4 00061B14 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 80064BB8 00061B18 93 C1 01 38 */ stw r30, 0x138(r1) +/* 80064BBC 00061B1C 93 A1 01 34 */ stw r29, 0x134(r1) +/* 80064BC0 00061B20 93 81 01 30 */ stw r28, 0x130(r1) +/* 80064BC4 00061B24 3C C0 80 5A */ lis r6, lbl_805A6724@ha +/* 80064BC8 00061B28 C0 C2 87 38 */ lfs f6, lbl_805AA458@sda21(r2) +/* 80064BCC 00061B2C 3B C6 67 24 */ addi r30, r6, lbl_805A6724@l +/* 80064BD0 00061B30 C0 44 00 00 */ lfs f2, 0(r4) +/* 80064BD4 00061B34 C0 BE 00 00 */ lfs f5, 0(r30) +/* 80064BD8 00061B38 7C 7C 1B 78 */ mr r28, r3 +/* 80064BDC 00061B3C C0 9E 00 04 */ lfs f4, 4(r30) +/* 80064BE0 00061B40 FF E0 08 90 */ fmr f31, f1 +/* 80064BE4 00061B44 C0 7E 00 08 */ lfs f3, 8(r30) +/* 80064BE8 00061B48 7C BF 2B 78 */ mr r31, r5 +/* 80064BEC 00061B4C C0 24 00 04 */ lfs f1, 4(r4) +/* 80064BF0 00061B50 7C FD 3B 78 */ mr r29, r7 +/* 80064BF4 00061B54 C0 04 00 08 */ lfs f0, 8(r4) +/* 80064BF8 00061B58 D0 C1 00 14 */ stfs f6, 0x14(r1) +/* 80064BFC 00061B5C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80064C00 00061B60 38 81 00 AC */ addi r4, r1, 0xac +/* 80064C04 00061B64 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 80064C08 00061B68 D0 A1 00 A0 */ stfs f5, 0xa0(r1) +/* 80064C0C 00061B6C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80064C10 00061B70 D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 80064C14 00061B74 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 80064C18 00061B78 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 80064C1C 00061B7C D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80064C20 00061B80 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80064C24 00061B84 48 2A CA 71 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 80064C28 00061B88 C0 61 00 B8 */ lfs f3, 0xb8(r1) +/* 80064C2C 00061B8C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80064C30 00061B90 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 80064C34 00061B94 C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 80064C38 00061B98 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80064C3C 00061B9C D0 61 00 D8 */ stfs f3, 0xd8(r1) +/* 80064C40 00061BA0 D0 41 00 DC */ stfs f2, 0xdc(r1) +/* 80064C44 00061BA4 D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 80064C48 00061BA8 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 80064C4C 00061BAC 41 82 00 60 */ beq lbl_80064CAC +/* 80064C50 00061BB0 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 80064C54 00061BB4 C0 62 87 38 */ lfs f3, lbl_805AA458@sda21(r2) +/* 80064C58 00061BB8 C0 43 67 24 */ lfs f2, lbl_805A6724@l(r3) +/* 80064C5C 00061BBC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80064C60 00061BC0 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80064C64 00061BC4 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 80064C68 00061BC8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80064C6C 00061BCC 38 BC 02 F8 */ addi r5, r28, 0x2f8 +/* 80064C70 00061BD0 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80064C74 00061BD4 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 80064C78 00061BD8 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 80064C7C 00061BDC D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80064C80 00061BE0 48 2A C5 E5 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80064C84 00061BE4 38 61 00 7C */ addi r3, r1, 0x7c +/* 80064C88 00061BE8 38 81 00 88 */ addi r4, r1, 0x88 +/* 80064C8C 00061BEC 48 2A F1 45 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80064C90 00061BF0 7C 64 1B 78 */ mr r4, r3 +/* 80064C94 00061BF4 38 61 00 6C */ addi r3, r1, 0x6c +/* 80064C98 00061BF8 38 A1 00 94 */ addi r5, r1, 0x94 +/* 80064C9C 00061BFC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80064CA0 00061C00 48 2A C9 F5 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 80064CA4 00061C04 38 C1 00 6C */ addi r6, r1, 0x6c +/* 80064CA8 00061C08 48 00 00 5C */ b lbl_80064D04 +lbl_80064CAC: +/* 80064CAC 00061C0C 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 80064CB0 00061C10 C0 62 87 38 */ lfs f3, lbl_805AA458@sda21(r2) +/* 80064CB4 00061C14 C0 43 67 24 */ lfs f2, lbl_805A6724@l(r3) +/* 80064CB8 00061C18 38 61 00 60 */ addi r3, r1, 0x60 +/* 80064CBC 00061C1C C0 3E 00 04 */ lfs f1, 4(r30) +/* 80064CC0 00061C20 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 80064CC4 00061C24 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80064CC8 00061C28 38 BC 02 F8 */ addi r5, r28, 0x2f8 +/* 80064CCC 00061C2C D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80064CD0 00061C30 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80064CD4 00061C34 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80064CD8 00061C38 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80064CDC 00061C3C 48 2A C5 89 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80064CE0 00061C40 38 61 00 54 */ addi r3, r1, 0x54 +/* 80064CE4 00061C44 38 81 00 60 */ addi r4, r1, 0x60 +/* 80064CE8 00061C48 48 2A F0 E9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80064CEC 00061C4C 7C 65 1B 78 */ mr r5, r3 +/* 80064CF0 00061C50 38 61 00 38 */ addi r3, r1, 0x38 +/* 80064CF4 00061C54 38 81 00 48 */ addi r4, r1, 0x48 +/* 80064CF8 00061C58 38 C1 00 0C */ addi r6, r1, 0xc +/* 80064CFC 00061C5C 48 2A C9 99 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 80064D00 00061C60 38 C1 00 38 */ addi r6, r1, 0x38 +lbl_80064D04: +/* 80064D04 00061C64 C0 06 00 00 */ lfs f0, 0(r6) +/* 80064D08 00061C68 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80064D0C 00061C6C 7C 85 23 78 */ mr r5, r4 +/* 80064D10 00061C70 38 61 00 18 */ addi r3, r1, 0x18 +/* 80064D14 00061C74 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 80064D18 00061C78 C0 06 00 04 */ lfs f0, 4(r6) +/* 80064D1C 00061C7C D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 80064D20 00061C80 C0 06 00 08 */ lfs f0, 8(r6) +/* 80064D24 00061C84 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 80064D28 00061C88 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 80064D2C 00061C8C D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 80064D30 00061C90 48 2A C4 71 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80064D34 00061C94 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80064D38 00061C98 38 61 01 0C */ addi r3, r1, 0x10c +/* 80064D3C 00061C9C 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80064D40 00061CA0 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80064D44 00061CA4 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80064D48 00061CA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80064D4C 00061CAC D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 80064D50 00061CB0 90 C1 00 CC */ stw r6, 0xcc(r1) +/* 80064D54 00061CB4 90 A1 00 D0 */ stw r5, 0xd0(r1) +/* 80064D58 00061CB8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80064D5C 00061CBC 48 2A D3 31 */ bl BuildTransform__11CQuaternionCFv +/* 80064D60 00061CC0 C3 81 01 28 */ lfs f28, 0x128(r1) +/* 80064D64 00061CC4 7F E4 FB 78 */ mr r4, r31 +/* 80064D68 00061CC8 C3 A1 01 1C */ lfs f29, 0x11c(r1) +/* 80064D6C 00061CCC 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80064D70 00061CD0 C3 C1 01 10 */ lfs f30, 0x110(r1) +/* 80064D74 00061CD4 48 2A D3 19 */ bl BuildTransform__11CQuaternionCFv +/* 80064D78 00061CD8 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 80064D7C 00061CDC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80064D80 00061CE0 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80064D84 00061CE4 C0 21 00 EC */ lfs f1, 0xec(r1) +/* 80064D88 00061CE8 C0 63 01 38 */ lfs f3, 0x138(r3) +/* 80064D8C 00061CEC C0 41 01 04 */ lfs f2, 0x104(r1) +/* 80064D90 00061CF0 EC 21 07 BA */ fmadds f1, f1, f30, f0 +/* 80064D94 00061CF4 C0 82 87 3C */ lfs f4, lbl_805AA45C@sda21(r2) +/* 80064D98 00061CF8 EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 80064D9C 00061CFC C8 02 87 40 */ lfd f0, lbl_805AA460@sda21(r2) +/* 80064DA0 00061D00 EC 22 0F 3A */ fmadds f1, f2, f28, f1 +/* 80064DA4 00061D04 EF C4 00 F2 */ fmuls f30, f4, f3 +/* 80064DA8 00061D08 FC 40 0A 10 */ fabs f2, f1 +/* 80064DAC 00061D0C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80064DB0 00061D10 40 81 00 14 */ ble lbl_80064DC4 +/* 80064DB4 00061D14 C0 02 87 48 */ lfs f0, lbl_805AA468@sda21(r2) +/* 80064DB8 00061D18 C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) +/* 80064DBC 00061D1C FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 80064DC0 00061D20 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_80064DC4: +/* 80064DC4 00061D24 48 32 FE 69 */ bl acos +/* 80064DC8 00061D28 FC 40 08 18 */ frsp f2, f1 +/* 80064DCC 00061D2C C0 22 87 4C */ lfs f1, lbl_805AA46C@sda21(r2) +/* 80064DD0 00061D30 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80064DD4 00061D34 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 80064DD8 00061D38 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80064DDC 00061D3C 40 81 00 08 */ ble lbl_80064DE4 +/* 80064DE0 00061D40 EC 1E 10 24 */ fdivs f0, f30, f2 +lbl_80064DE4: +/* 80064DE4 00061D44 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80064DE8 00061D48 38 81 00 08 */ addi r4, r1, 8 +/* 80064DEC 00061D4C 38 6D 83 88 */ addi r3, r13, lbl_805A6F48@sda21 +/* 80064DF0 00061D50 38 AD 83 8C */ addi r5, r13, lbl_805A6F4C@sda21 +/* 80064DF4 00061D54 D0 01 00 08 */ stfs f0, 8(r1) +/* 80064DF8 00061D58 4B FA 74 BD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80064DFC 00061D5C C0 23 00 00 */ lfs f1, 0(r3) +/* 80064E00 00061D60 7F E4 FB 78 */ mr r4, r31 +/* 80064E04 00061D64 38 61 00 28 */ addi r3, r1, 0x28 +/* 80064E08 00061D68 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 80064E0C 00061D6C 48 2A C7 AD */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 80064E10 00061D70 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80064E14 00061D74 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 80064E18 00061D78 80 61 00 30 */ lwz r3, 0x30(r1) +/* 80064E1C 00061D7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80064E20 00061D80 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 80064E24 00061D84 90 81 00 CC */ stw r4, 0xcc(r1) +/* 80064E28 00061D88 90 61 00 D0 */ stw r3, 0xd0(r1) +/* 80064E2C 00061D8C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80064E30 00061D90 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80064E34 00061D94 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 80064E38 00061D98 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 80064E3C 00061D9C 90 7F 00 04 */ stw r3, 4(r31) +/* 80064E40 00061DA0 90 1F 00 08 */ stw r0, 8(r31) +/* 80064E44 00061DA4 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80064E48 00061DA8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80064E4C 00061DAC E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80064E50 00061DB0 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 80064E54 00061DB4 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 80064E58 00061DB8 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 80064E5C 00061DBC E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80064E60 00061DC0 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 80064E64 00061DC4 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 80064E68 00061DC8 CB 81 01 40 */ lfd f28, 0x140(r1) +/* 80064E6C 00061DCC 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 80064E70 00061DD0 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 80064E74 00061DD4 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 80064E78 00061DD8 80 01 01 84 */ lwz r0, 0x184(r1) +/* 80064E7C 00061DDC 83 81 01 30 */ lwz r28, 0x130(r1) +/* 80064E80 00061DE0 7C 08 03 A6 */ mtlr r0 +/* 80064E84 00061DE4 38 21 01 80 */ addi r1, r1, 0x180 +/* 80064E88 00061DE8 4E 80 00 20 */ blr + +.global UpdateHudLag__9CSamusHudFfRC13CStateManager +UpdateHudLag__9CSamusHudFfRC13CStateManager: +/* 80064E8C 00061DEC 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 80064E90 00061DF0 7C 08 02 A6 */ mflr r0 +/* 80064E94 00061DF4 90 01 02 04 */ stw r0, 0x204(r1) +/* 80064E98 00061DF8 DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 80064E9C 00061DFC F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 80064EA0 00061E00 93 E1 01 EC */ stw r31, 0x1ec(r1) +/* 80064EA4 00061E04 93 C1 01 E8 */ stw r30, 0x1e8(r1) +/* 80064EA8 00061E08 7C 7E 1B 78 */ mr r30, r3 +/* 80064EAC 00061E0C FF E0 08 90 */ fmr f31, f1 +/* 80064EB0 00061E10 80 03 02 9C */ lwz r0, 0x29c(r3) +/* 80064EB4 00061E14 7C 9F 23 78 */ mr r31, r4 +/* 80064EB8 00061E18 28 00 00 00 */ cmplwi r0, 0 +/* 80064EBC 00061E1C 41 82 00 20 */ beq lbl_80064EDC +/* 80064EC0 00061E20 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80064EC4 00061E24 4B FE F5 ED */ bl GetYaw__6CActorCFv +/* 80064EC8 00061E28 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 80064ECC 00061E2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80064ED0 00061E30 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80064ED4 00061E34 7D 89 03 A6 */ mtctr r12 +/* 80064ED8 00061E38 4E 80 04 21 */ bctrl +lbl_80064EDC: +/* 80064EDC 00061E3C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80064EE0 00061E40 88 03 01 E4 */ lbz r0, 0x1e4(r3) +/* 80064EE4 00061E44 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80064EE8 00061E48 40 82 01 18 */ bne lbl_80065000 +/* 80064EEC 00061E4C 80 7E 02 A0 */ lwz r3, 0x2a0(r30) +/* 80064EF0 00061E50 28 03 00 00 */ cmplwi r3, 0 +/* 80064EF4 00061E54 41 82 00 20 */ beq lbl_80064F14 +/* 80064EF8 00061E58 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 80064EFC 00061E5C 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 80064F00 00061E60 48 12 BC 89 */ bl SetHudLagRotation__19CHudHelmetInterfaceFRC9CMatrix3f +/* 80064F04 00061E64 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80064F08 00061E68 80 7E 02 A0 */ lwz r3, 0x2a0(r30) +/* 80064F0C 00061E6C 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80064F10 00061E70 48 12 BC 4D */ bl SetHudLagOffset__19CHudHelmetInterfaceFRC9CVector3f +lbl_80064F14: +/* 80064F14 00061E74 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 80064F18 00061E78 28 03 00 00 */ cmplwi r3, 0 +/* 80064F1C 00061E7C 41 82 00 54 */ beq lbl_80064F70 +/* 80064F20 00061E80 81 83 00 00 */ lwz r12, 0(r3) +/* 80064F24 00061E84 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 80064F28 00061E88 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 80064F2C 00061E8C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80064F30 00061E90 7D 89 03 A6 */ mtctr r12 +/* 80064F34 00061E94 4E 80 04 21 */ bctrl +/* 80064F38 00061E98 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 80064F3C 00061E9C 3C 80 80 5A */ lis r4, lbl_805A6660@ha +/* 80064F40 00061EA0 38 84 66 60 */ addi r4, r4, lbl_805A6660@l +/* 80064F44 00061EA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80064F48 00061EA8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80064F4C 00061EAC 7D 89 03 A6 */ mtctr r12 +/* 80064F50 00061EB0 4E 80 04 21 */ bctrl +/* 80064F54 00061EB4 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 80064F58 00061EB8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80064F5C 00061EBC 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80064F60 00061EC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80064F64 00061EC4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80064F68 00061EC8 7D 89 03 A6 */ mtctr r12 +/* 80064F6C 00061ECC 4E 80 04 21 */ bctrl +lbl_80064F70: +/* 80064F70 00061ED0 80 9E 05 88 */ lwz r4, 0x588(r30) +/* 80064F74 00061ED4 38 61 00 78 */ addi r3, r1, 0x78 +/* 80064F78 00061ED8 48 26 02 C1 */ bl GetWorldPosition__10CGuiObjectCFv +/* 80064F7C 00061EDC 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 80064F80 00061EE0 38 61 01 88 */ addi r3, r1, 0x188 +/* 80064F84 00061EE4 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 80064F88 00061EE8 38 A1 00 78 */ addi r5, r1, 0x78 +/* 80064F8C 00061EEC 48 2A E2 ED */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80064F90 00061EF0 83 FE 05 88 */ lwz r31, 0x588(r30) +/* 80064F94 00061EF4 38 81 01 88 */ addi r4, r1, 0x188 +/* 80064F98 00061EF8 38 7F 00 74 */ addi r3, r31, 0x74 +/* 80064F9C 00061EFC 48 2A DB A5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80064FA0 00061F00 7F E3 FB 78 */ mr r3, r31 +/* 80064FA4 00061F04 48 26 56 C1 */ bl ReapplyXform__10CGuiWidgetFv +/* 80064FA8 00061F08 80 BE 02 74 */ lwz r5, 0x274(r30) +/* 80064FAC 00061F0C 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80064FB0 00061F10 38 83 66 60 */ addi r4, r3, lbl_805A6660@l +/* 80064FB4 00061F14 38 DE 03 10 */ addi r6, r30, 0x310 +/* 80064FB8 00061F18 83 E5 00 14 */ lwz r31, 0x14(r5) +/* 80064FBC 00061F1C 38 61 01 58 */ addi r3, r1, 0x158 +/* 80064FC0 00061F20 38 BE 03 04 */ addi r5, r30, 0x304 +/* 80064FC4 00061F24 48 00 85 DD */ bl BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f +/* 80064FC8 00061F28 7F E3 FB 78 */ mr r3, r31 +/* 80064FCC 00061F2C 38 81 01 58 */ addi r4, r1, 0x158 +/* 80064FD0 00061F30 48 25 F7 69 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f +/* 80064FD4 00061F34 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80064FD8 00061F38 38 83 66 60 */ addi r4, r3, lbl_805A6660@l +/* 80064FDC 00061F3C C0 04 00 00 */ lfs f0, 0(r4) +/* 80064FE0 00061F40 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80064FE4 00061F44 80 64 00 04 */ lwz r3, 4(r4) +/* 80064FE8 00061F48 80 04 00 08 */ lwz r0, 8(r4) +/* 80064FEC 00061F4C 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80064FF0 00061F50 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80064FF4 00061F54 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80064FF8 00061F58 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80064FFC 00061F5C 48 00 02 EC */ b lbl_800652E8 +lbl_80065000: +/* 80065000 00061F60 C0 1E 02 F8 */ lfs f0, 0x2f8(r30) +/* 80065004 00061F64 7F E4 FB 78 */ mr r4, r31 +/* 80065008 00061F68 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8006500C 00061F6C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 80065010 00061F70 C0 1E 02 FC */ lfs f0, 0x2fc(r30) +/* 80065014 00061F74 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80065018 00061F78 C0 1E 03 00 */ lfs f0, 0x300(r30) +/* 8006501C 00061F7C D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80065020 00061F80 4B FA 6A F9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80065024 00061F84 7C 64 1B 78 */ mr r4, r3 +/* 80065028 00061F88 38 61 00 0C */ addi r3, r1, 0xc +/* 8006502C 00061F8C 48 04 94 49 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" +/* 80065030 00061F90 80 83 00 04 */ lwz r4, 4(r3) +/* 80065034 00061F94 28 04 00 00 */ cmplwi r4, 0 +/* 80065038 00061F98 41 82 00 34 */ beq lbl_8006506C +/* 8006503C 00061F9C 38 61 01 34 */ addi r3, r1, 0x134 +/* 80065040 00061FA0 38 84 00 34 */ addi r4, r4, 0x34 +/* 80065044 00061FA4 48 2A E0 B1 */ bl BuildMatrix3f__12CTransform4fCFv +/* 80065048 00061FA8 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 8006504C 00061FAC 38 81 01 34 */ addi r4, r1, 0x134 +/* 80065050 00061FB0 48 2A AF D5 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80065054 00061FB4 C0 41 01 D4 */ lfs f2, 0x1d4(r1) +/* 80065058 00061FB8 C0 21 01 C8 */ lfs f1, 0x1c8(r1) +/* 8006505C 00061FBC C0 01 01 BC */ lfs f0, 0x1bc(r1) +/* 80065060 00061FC0 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 80065064 00061FC4 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 80065068 00061FC8 D0 41 00 B8 */ stfs f2, 0xb8(r1) +lbl_8006506C: +/* 8006506C 00061FCC FC 20 F8 90 */ fmr f1, f31 +/* 80065070 00061FD0 7F C3 F3 78 */ mr r3, r30 +/* 80065074 00061FD4 7F E6 FB 78 */ mr r6, r31 +/* 80065078 00061FD8 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8006507C 00061FDC 38 BE 03 1C */ addi r5, r30, 0x31c +/* 80065080 00061FE0 38 E0 00 00 */ li r7, 0 +/* 80065084 00061FE4 4B FF FB 05 */ bl ApplyClassicLag__9CSamusHudFRC13CUnitVector3fR11CQuaternionRC13CStateManagerfb +/* 80065088 00061FE8 FC 20 F8 90 */ fmr f1, f31 +/* 8006508C 00061FEC 7F C3 F3 78 */ mr r3, r30 +/* 80065090 00061FF0 7F E6 FB 78 */ mr r6, r31 +/* 80065094 00061FF4 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80065098 00061FF8 38 BE 03 2C */ addi r5, r30, 0x32c +/* 8006509C 00061FFC 38 E0 00 01 */ li r7, 1 +/* 800650A0 00062000 4B FF FA E9 */ bl ApplyClassicLag__9CSamusHudFRC13CUnitVector3fR11CQuaternionRC13CStateManagerfb +/* 800650A4 00062004 C0 02 87 38 */ lfs f0, lbl_805AA458@sda21(r2) +/* 800650A8 00062008 38 61 00 5C */ addi r3, r1, 0x5c +/* 800650AC 0006200C 38 9E 02 F8 */ addi r4, r30, 0x2f8 +/* 800650B0 00062010 D0 01 00 08 */ stfs f0, 8(r1) +/* 800650B4 00062014 48 2A ED 1D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800650B8 00062018 7C 64 1B 78 */ mr r4, r3 +/* 800650BC 0006201C 38 61 00 68 */ addi r3, r1, 0x68 +/* 800650C0 00062020 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 800650C4 00062024 38 C1 00 08 */ addi r6, r1, 8 +/* 800650C8 00062028 48 2A C5 CD */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 800650CC 0006202C C0 61 00 68 */ lfs f3, 0x68(r1) +/* 800650D0 00062030 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800650D4 00062034 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 800650D8 00062038 7C 85 23 78 */ mr r5, r4 +/* 800650DC 0006203C C0 21 00 70 */ lfs f1, 0x70(r1) +/* 800650E0 00062040 38 61 00 24 */ addi r3, r1, 0x24 +/* 800650E4 00062044 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 800650E8 00062048 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 800650EC 0006204C D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 800650F0 00062050 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 800650F4 00062054 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 800650F8 00062058 48 2A C0 A9 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 800650FC 0006205C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80065100 00062060 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80065104 00062064 80 E1 00 28 */ lwz r7, 0x28(r1) +/* 80065108 00062068 7C 85 23 78 */ mr r5, r4 +/* 8006510C 0006206C 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 80065110 00062070 38 61 00 14 */ addi r3, r1, 0x14 +/* 80065114 00062074 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80065118 00062078 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8006511C 0006207C 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 80065120 00062080 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 80065124 00062084 90 01 00 AC */ stw r0, 0xac(r1) +/* 80065128 00062088 48 2A C0 79 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8006512C 0006208C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80065130 00062090 38 61 00 50 */ addi r3, r1, 0x50 +/* 80065134 00062094 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80065138 00062098 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8006513C 0006209C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80065140 000620A0 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 80065144 000620A4 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 80065148 000620A8 90 81 00 A8 */ stw r4, 0xa8(r1) +/* 8006514C 000620AC 90 01 00 AC */ stw r0, 0xac(r1) +/* 80065150 000620B0 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80065154 000620B4 80 81 00 A4 */ lwz r4, 0xa4(r1) +/* 80065158 000620B8 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 8006515C 000620BC 90 9E 00 0C */ stw r4, 0xc(r30) +/* 80065160 000620C0 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80065164 000620C4 80 01 00 AC */ lwz r0, 0xac(r1) +/* 80065168 000620C8 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8006516C 000620CC 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80065170 000620D0 80 84 07 6C */ lwz r4, 0x76c(r4) +/* 80065174 000620D4 48 08 4B 75 */ bl GetHelmetBobTranslation__16CPlayerCameraBobCFv +/* 80065178 000620D8 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8006517C 000620DC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80065180 000620E0 C0 5E 04 20 */ lfs f2, 0x420(r30) +/* 80065184 000620E4 38 9E 04 4C */ addi r4, r30, 0x44c +/* 80065188 000620E8 C0 A5 01 DC */ lfs f5, 0x1dc(r5) +/* 8006518C 000620EC 38 BE 03 1C */ addi r5, r30, 0x31c +/* 80065190 000620F0 C0 3E 04 24 */ lfs f1, 0x424(r30) +/* 80065194 000620F4 C0 1E 04 1C */ lfs f0, 0x41c(r30) +/* 80065198 000620F8 EC 65 00 B2 */ fmuls f3, f5, f2 +/* 8006519C 000620FC C0 82 87 34 */ lfs f4, lbl_805AA454@sda21(r2) +/* 800651A0 00062100 EC 25 00 72 */ fmuls f1, f5, f1 +/* 800651A4 00062104 EC 05 00 32 */ fmuls f0, f5, f0 +/* 800651A8 00062108 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 800651AC 0006210C EC 64 18 2A */ fadds f3, f4, f3 +/* 800651B0 00062110 EC 22 08 2A */ fadds f1, f2, f1 +/* 800651B4 00062114 EC 04 00 2A */ fadds f0, f4, f0 +/* 800651B8 00062118 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 800651BC 0006211C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800651C0 00062120 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 800651C4 00062124 48 2A BF DD */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 800651C8 00062128 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 800651CC 0006212C C0 41 00 44 */ lfs f2, 0x44(r1) +/* 800651D0 00062130 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 800651D4 00062134 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800651D8 00062138 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 800651DC 0006213C D0 41 00 88 */ stfs f2, 0x88(r1) +/* 800651E0 00062140 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 800651E4 00062144 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800651E8 00062148 83 FE 02 A0 */ lwz r31, 0x2a0(r30) +/* 800651EC 0006214C 28 1F 00 00 */ cmplwi r31, 0 +/* 800651F0 00062150 41 82 00 28 */ beq lbl_80065218 +/* 800651F4 00062154 38 61 01 10 */ addi r3, r1, 0x110 +/* 800651F8 00062158 38 81 00 84 */ addi r4, r1, 0x84 +/* 800651FC 0006215C 48 2A CE 91 */ bl BuildTransform__11CQuaternionCFv +/* 80065200 00062160 7F E3 FB 78 */ mr r3, r31 +/* 80065204 00062164 38 81 01 10 */ addi r4, r1, 0x110 +/* 80065208 00062168 48 12 B9 81 */ bl SetHudLagRotation__19CHudHelmetInterfaceFRC9CMatrix3f +/* 8006520C 0006216C 80 7E 02 A0 */ lwz r3, 0x2a0(r30) +/* 80065210 00062170 38 81 00 94 */ addi r4, r1, 0x94 +/* 80065214 00062174 48 12 B9 49 */ bl SetHudLagOffset__19CHudHelmetInterfaceFRC9CVector3f +lbl_80065218: +/* 80065218 00062178 83 FE 02 9C */ lwz r31, 0x29c(r30) +/* 8006521C 0006217C 28 1F 00 00 */ cmplwi r31, 0 +/* 80065220 00062180 41 82 00 58 */ beq lbl_80065278 +/* 80065224 00062184 38 61 00 EC */ addi r3, r1, 0xec +/* 80065228 00062188 38 9E 03 2C */ addi r4, r30, 0x32c +/* 8006522C 0006218C 48 2A CE 61 */ bl BuildTransform__11CQuaternionCFv +/* 80065230 00062190 7F E3 FB 78 */ mr r3, r31 +/* 80065234 00062194 38 81 00 EC */ addi r4, r1, 0xec +/* 80065238 00062198 81 9F 00 00 */ lwz r12, 0(r31) +/* 8006523C 0006219C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80065240 000621A0 7D 89 03 A6 */ mtctr r12 +/* 80065244 000621A4 4E 80 04 21 */ bctrl +/* 80065248 000621A8 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 8006524C 000621AC 38 81 00 84 */ addi r4, r1, 0x84 +/* 80065250 000621B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80065254 000621B4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80065258 000621B8 7D 89 03 A6 */ mtctr r12 +/* 8006525C 000621BC 4E 80 04 21 */ bctrl +/* 80065260 000621C0 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 80065264 000621C4 38 81 00 94 */ addi r4, r1, 0x94 +/* 80065268 000621C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8006526C 000621CC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80065270 000621D0 7D 89 03 A6 */ mtctr r12 +/* 80065274 000621D4 4E 80 04 21 */ bctrl +lbl_80065278: +/* 80065278 000621D8 C0 3E 03 08 */ lfs f1, 0x308(r30) +/* 8006527C 000621DC 38 61 00 BC */ addi r3, r1, 0xbc +/* 80065280 000621E0 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 80065284 000621E4 38 81 00 84 */ addi r4, r1, 0x84 +/* 80065288 000621E8 C0 7E 03 0C */ lfs f3, 0x30c(r30) +/* 8006528C 000621EC 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80065290 000621F0 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 80065294 000621F4 EC 81 00 2A */ fadds f4, f1, f0 +/* 80065298 000621F8 C0 3E 03 04 */ lfs f1, 0x304(r30) +/* 8006529C 000621FC 38 DE 03 10 */ addi r6, r30, 0x310 +/* 800652A0 00062200 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 800652A4 00062204 EC 43 10 2A */ fadds f2, f3, f2 +/* 800652A8 00062208 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 800652AC 0006220C EC 01 00 2A */ fadds f0, f1, f0 +/* 800652B0 00062210 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800652B4 00062214 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800652B8 00062218 80 FE 02 74 */ lwz r7, 0x274(r30) +/* 800652BC 0006221C 83 E7 00 14 */ lwz r31, 0x14(r7) +/* 800652C0 00062220 48 00 82 E1 */ bl BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f +/* 800652C4 00062224 7F E3 FB 78 */ mr r3, r31 +/* 800652C8 00062228 38 81 00 BC */ addi r4, r1, 0xbc +/* 800652CC 0006222C 48 25 F4 6D */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f +/* 800652D0 00062230 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 800652D4 00062234 D0 1E 02 F8 */ stfs f0, 0x2f8(r30) +/* 800652D8 00062238 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 800652DC 0006223C D0 1E 02 FC */ stfs f0, 0x2fc(r30) +/* 800652E0 00062240 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 800652E4 00062244 D0 1E 03 00 */ stfs f0, 0x300(r30) +lbl_800652E8: +/* 800652E8 00062248 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 800652EC 0006224C 80 01 02 04 */ lwz r0, 0x204(r1) +/* 800652F0 00062250 CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 800652F4 00062254 83 E1 01 EC */ lwz r31, 0x1ec(r1) +/* 800652F8 00062258 83 C1 01 E8 */ lwz r30, 0x1e8(r1) +/* 800652FC 0006225C 7C 08 03 A6 */ mtlr r0 +/* 80065300 00062260 38 21 02 00 */ addi r1, r1, 0x200 +/* 80065304 00062264 4E 80 00 20 */ blr + +.global SetReticuleTransform__17CHudDecoInterfaceFRC9CMatrix3f +SetReticuleTransform__17CHudDecoInterfaceFRC9CMatrix3f: +/* 80065308 00062268 4E 80 00 20 */ blr + +.global SetDecoRotation__17IHudDecoInterfaceFf +SetDecoRotation__17IHudDecoInterfaceFf: +/* 8006530C 0006226C 4E 80 00 20 */ blr + +.global ShowDamage__9CSamusHudF9CVector3fffRC13CStateManager +ShowDamage__9CSamusHudF9CVector3fffRC13CStateManager: +/* 80065310 00062270 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80065314 00062274 7C 08 02 A6 */ mflr r0 +/* 80065318 00062278 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8006531C 0006227C DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80065320 00062280 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80065324 00062284 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80065328 00062288 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8006532C 0006228C BF 41 00 88 */ stmw r26, 0x88(r1) +/* 80065330 00062290 FF C0 08 90 */ fmr f30, f1 +/* 80065334 00062294 7C 7E 1B 78 */ mr r30, r3 +/* 80065338 00062298 FF E0 10 90 */ fmr f31, f2 +/* 8006533C 0006229C 7C 9F 23 78 */ mr r31, r4 +/* 80065340 000622A0 7C BA 2B 78 */ mr r26, r5 +/* 80065344 000622A4 48 00 02 19 */ bl GetRelativeDirection__9CSamusHudCFRC9CVector3fRC13CStateManager +/* 80065348 000622A8 7C 7D 1B 78 */ mr r29, r3 +/* 8006534C 000622AC 80 7A 08 70 */ lwz r3, 0x870(r26) +/* 80065350 000622B0 7F 44 D3 78 */ mr r4, r26 +/* 80065354 000622B4 4B FA 67 C5 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80065358 000622B8 7C 64 1B 78 */ mr r4, r3 +/* 8006535C 000622BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80065360 000622C0 48 04 91 15 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" +/* 80065364 000622C4 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80065368 000622C8 83 63 00 04 */ lwz r27, 4(r3) +/* 8006536C 000622CC C0 24 00 48 */ lfs f1, 0x48(r4) +/* 80065370 000622D0 C0 04 00 44 */ lfs f0, 0x44(r4) +/* 80065374 000622D4 EC 01 07 BA */ fmadds f0, f1, f30, f0 +/* 80065378 000622D8 D0 1E 04 04 */ stfs f0, 0x404(r30) +/* 8006537C 000622DC 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80065380 000622E0 C0 02 87 50 */ lfs f0, lbl_805AA470@sda21(r2) +/* 80065384 000622E4 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 80065388 000622E8 C0 23 00 4C */ lfs f1, 0x4c(r3) +/* 8006538C 000622EC EC 22 0F BA */ fmadds f1, f2, f30, f1 +/* 80065390 000622F0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80065394 000622F4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80065398 000622F8 40 80 00 0C */ bge lbl_800653A4 +/* 8006539C 000622FC 38 61 00 0C */ addi r3, r1, 0xc +/* 800653A0 00062300 48 00 00 08 */ b lbl_800653A8 +lbl_800653A4: +/* 800653A4 00062304 38 62 87 50 */ addi r3, r2, lbl_805AA470@sda21 +lbl_800653A8: +/* 800653A8 00062308 C0 03 00 00 */ lfs f0, 0(r3) +/* 800653AC 0006230C D0 1E 03 FC */ stfs f0, 0x3fc(r30) +/* 800653B0 00062310 C0 1E 03 FC */ lfs f0, 0x3fc(r30) +/* 800653B4 00062314 D0 1E 04 00 */ stfs f0, 0x400(r30) +/* 800653B8 00062318 83 9E 03 D4 */ lwz r28, 0x3d4(r30) +/* 800653BC 0006231C 28 1C 00 00 */ cmplwi r28, 0 +/* 800653C0 00062320 41 82 00 20 */ beq lbl_800653E0 +/* 800653C4 00062324 1C 1D 00 30 */ mulli r0, r29, 0x30 +/* 800653C8 00062328 80 9E 03 E4 */ lwz r4, 0x3e4(r30) +/* 800653CC 0006232C 38 7C 00 04 */ addi r3, r28, 4 +/* 800653D0 00062330 7C 84 02 14 */ add r4, r4, r0 +/* 800653D4 00062334 48 2A D7 6D */ bl __as__12CTransform4fFRC12CTransform4f +/* 800653D8 00062338 7F 83 E3 78 */ mr r3, r28 +/* 800653DC 0006233C 48 25 F4 0D */ bl RecalculateTransforms__10CGuiObjectFv +lbl_800653E0: +/* 800653E0 00062340 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 800653E4 00062344 C0 23 01 BC */ lfs f1, 0x1bc(r3) +/* 800653E8 00062348 C0 03 01 B8 */ lfs f0, 0x1b8(r3) +/* 800653EC 0006234C EC 01 07 BA */ fmadds f0, f1, f30, f0 +/* 800653F0 00062350 D0 1E 03 F8 */ stfs f0, 0x3f8(r30) +/* 800653F4 00062354 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 800653F8 00062358 C0 23 01 C4 */ lfs f1, 0x1c4(r3) +/* 800653FC 0006235C C0 03 01 C0 */ lfs f0, 0x1c0(r3) +/* 80065400 00062360 EC 01 07 BA */ fmadds f0, f1, f30, f0 +/* 80065404 00062364 D0 1E 03 F0 */ stfs f0, 0x3f0(r30) +/* 80065408 00062368 C0 1E 03 F0 */ lfs f0, 0x3f0(r30) +/* 8006540C 0006236C D0 1E 03 F4 */ stfs f0, 0x3f4(r30) +/* 80065410 00062370 80 1E 03 A4 */ lwz r0, 0x3a4(r30) +/* 80065414 00062374 28 00 00 00 */ cmplwi r0, 0 +/* 80065418 00062378 40 82 00 64 */ bne lbl_8006547C +/* 8006541C 0006237C 81 7A 08 4C */ lwz r11, 0x84c(r26) +/* 80065420 00062380 38 61 00 08 */ addi r3, r1, 8 +/* 80065424 00062384 A9 22 C5 F8 */ lha r9, lbl_805AE318@sda21(r2) +/* 80065428 00062388 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8006542C 0006238C C0 4B 00 58 */ lfs f2, 0x58(r11) +/* 80065430 00062390 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80065434 00062394 C0 2B 00 48 */ lfs f1, 0x48(r11) +/* 80065438 00062398 38 80 05 69 */ li r4, 0x569 +/* 8006543C 0006239C C0 0B 00 38 */ lfs f0, 0x38(r11) +/* 80065440 000623A0 38 E0 00 00 */ li r7, 0 +/* 80065444 000623A4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80065448 000623A8 39 00 00 01 */ li r8, 1 +/* 8006544C 000623AC D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80065450 000623B0 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80065454 000623B4 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80065458 000623B8 C0 4B 00 60 */ lfs f2, 0x60(r11) +/* 8006545C 000623BC C0 2B 00 50 */ lfs f1, 0x50(r11) +/* 80065460 000623C0 C0 0B 00 40 */ lfs f0, 0x40(r11) +/* 80065464 000623C4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80065468 000623C8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8006546C 000623CC D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80065470 000623D0 48 28 4E 41 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 80065474 000623D4 80 01 00 08 */ lwz r0, 8(r1) +/* 80065478 000623D8 90 1E 03 A4 */ stw r0, 0x3a4(r30) +lbl_8006547C: +/* 8006547C 000623DC 28 1B 00 00 */ cmplwi r27, 0 +/* 80065480 000623E0 41 82 00 B8 */ beq lbl_80065538 +/* 80065484 000623E4 38 61 00 54 */ addi r3, r1, 0x54 +/* 80065488 000623E8 38 9B 00 34 */ addi r4, r27, 0x34 +/* 8006548C 000623EC 48 2A D8 11 */ bl GetQuickInverse__12CTransform4fCFv +/* 80065490 000623F0 7F E5 FB 78 */ mr r5, r31 +/* 80065494 000623F4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80065498 000623F8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8006549C 000623FC 48 2A D6 4D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800654A0 00062400 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 800654A4 00062404 38 61 00 18 */ addi r3, r1, 0x18 +/* 800654A8 00062408 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 800654AC 0006240C 38 81 00 48 */ addi r4, r1, 0x48 +/* 800654B0 00062410 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800654B4 00062414 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 800654B8 00062418 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 800654BC 0006241C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800654C0 00062420 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800654C4 00062424 C0 25 00 88 */ lfs f1, 0x88(r5) +/* 800654C8 00062428 C0 05 00 84 */ lfs f0, 0x84(r5) +/* 800654CC 0006242C EC 1F 00 7A */ fmadds f0, f31, f1, f0 +/* 800654D0 00062430 D0 1E 04 18 */ stfs f0, 0x418(r30) +/* 800654D4 00062434 C0 1E 04 18 */ lfs f0, 0x418(r30) +/* 800654D8 00062438 D0 1E 04 14 */ stfs f0, 0x414(r30) +/* 800654DC 0006243C 48 2A F3 75 */ bl AsNormalized__9CVector3fCFv +/* 800654E0 00062440 C0 62 87 48 */ lfs f3, lbl_805AA468@sda21(r2) +/* 800654E4 00062444 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800654E8 00062448 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 800654EC 0006244C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 800654F0 00062450 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800654F4 00062454 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800654F8 00062458 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800654FC 0006245C D0 1E 04 08 */ stfs f0, 0x408(r30) +/* 80065500 00062460 D0 5E 04 0C */ stfs f2, 0x40c(r30) +/* 80065504 00062464 D0 3E 04 10 */ stfs f1, 0x410(r30) +/* 80065508 00062468 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 8006550C 0006246C C0 23 00 98 */ lfs f1, 0x98(r3) +/* 80065510 00062470 C0 03 00 94 */ lfs f0, 0x94(r3) +/* 80065514 00062474 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 80065518 00062478 D0 1E 04 64 */ stfs f0, 0x464(r30) +/* 8006551C 0006247C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80065520 00062480 C0 23 00 A0 */ lfs f1, 0xa0(r3) +/* 80065524 00062484 C0 03 00 9C */ lfs f0, 0x9c(r3) +/* 80065528 00062488 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 8006552C 0006248C D0 1E 04 5C */ stfs f0, 0x45c(r30) +/* 80065530 00062490 C0 1E 04 5C */ lfs f0, 0x45c(r30) +/* 80065534 00062494 D0 1E 04 60 */ stfs f0, 0x460(r30) +lbl_80065538: +/* 80065538 00062498 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8006553C 0006249C CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80065540 000624A0 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80065544 000624A4 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80065548 000624A8 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 8006554C 000624AC 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80065550 000624B0 7C 08 03 A6 */ mtlr r0 +/* 80065554 000624B4 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80065558 000624B8 4E 80 00 20 */ blr + +.global GetRelativeDirection__9CSamusHudCFRC9CVector3fRC13CStateManager +GetRelativeDirection__9CSamusHudCFRC9CVector3fRC13CStateManager: +/* 8006555C 000624BC 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80065560 000624C0 7C 08 02 A6 */ mflr r0 +/* 80065564 000624C4 90 01 01 24 */ stw r0, 0x124(r1) +/* 80065568 000624C8 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8006556C 000624CC F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 80065570 000624D0 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 80065574 000624D4 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 80065578 000624D8 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 8006557C 000624DC F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 80065580 000624E0 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 80065584 000624E4 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 80065588 000624E8 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 8006558C 000624EC 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80065590 000624F0 80 65 08 70 */ lwz r3, 0x870(r5) +/* 80065594 000624F4 7C 9E 23 78 */ mr r30, r4 +/* 80065598 000624F8 7C A4 2B 78 */ mr r4, r5 +/* 8006559C 000624FC 4B FA 65 7D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800655A0 00062500 7C 64 1B 78 */ mr r4, r3 +/* 800655A4 00062504 38 61 00 0C */ addi r3, r1, 0xc +/* 800655A8 00062508 48 04 8E CD */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" +/* 800655AC 0006250C 83 E3 00 04 */ lwz r31, 4(r3) +/* 800655B0 00062510 28 1F 00 00 */ cmplwi r31, 0 +/* 800655B4 00062514 40 82 00 0C */ bne lbl_800655C0 +/* 800655B8 00062518 38 60 00 00 */ li r3, 0 +/* 800655BC 0006251C 48 00 02 AC */ b lbl_80065868 +lbl_800655C0: +/* 800655C0 00062520 C0 3E 00 08 */ lfs f1, 8(r30) +/* 800655C4 00062524 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800655C8 00062528 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 800655CC 0006252C 38 61 00 98 */ addi r3, r1, 0x98 +/* 800655D0 00062530 C0 7E 00 04 */ lfs f3, 4(r30) +/* 800655D4 00062534 38 A1 00 64 */ addi r5, r1, 0x64 +/* 800655D8 00062538 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800655DC 0006253C C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 800655E0 00062540 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800655E4 00062544 C0 3E 00 00 */ lfs f1, 0(r30) +/* 800655E8 00062548 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800655EC 0006254C D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 800655F0 00062550 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800655F4 00062554 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 800655F8 00062558 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800655FC 0006255C 48 2A D4 29 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80065600 00062560 C0 61 00 98 */ lfs f3, 0x98(r1) +/* 80065604 00062564 38 00 00 00 */ li r0, 0 +/* 80065608 00062568 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8006560C 0006256C C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 80065610 00062570 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 80065614 00062574 FC 03 00 00 */ fcmpu cr0, f3, f0 +/* 80065618 00062578 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 8006561C 0006257C D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 80065620 00062580 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 80065624 00062584 40 82 00 20 */ bne lbl_80065644 +/* 80065628 00062588 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8006562C 0006258C FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 80065630 00062590 40 82 00 14 */ bne lbl_80065644 +/* 80065634 00062594 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80065638 00062598 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8006563C 0006259C 40 82 00 08 */ bne lbl_80065644 +/* 80065640 000625A0 38 00 00 01 */ li r0, 1 +lbl_80065644: +/* 80065644 000625A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80065648 000625A8 41 82 00 0C */ beq lbl_80065654 +/* 8006564C 000625AC 38 60 00 00 */ li r3, 0 +/* 80065650 000625B0 48 00 02 18 */ b lbl_80065868 +lbl_80065654: +/* 80065654 000625B4 C0 42 87 3C */ lfs f2, lbl_805AA45C@sda21(r2) +/* 80065658 000625B8 C0 3F 01 5C */ lfs f1, 0x15c(r31) +/* 8006565C 000625BC C0 02 87 54 */ lfs f0, lbl_805AA474@sda21(r2) +/* 80065660 000625C0 EC 62 00 72 */ fmuls f3, f2, f1 +/* 80065664 000625C4 C0 5F 01 68 */ lfs f2, 0x168(r31) +/* 80065668 000625C8 C0 22 87 38 */ lfs f1, lbl_805AA458@sda21(r2) +/* 8006566C 000625CC EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80065670 000625D0 EF A3 00 B2 */ fmuls f29, f3, f2 +/* 80065674 000625D4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80065678 000625D8 48 32 ED 79 */ bl cos +/* 8006567C 000625DC C0 02 87 54 */ lfs f0, lbl_805AA474@sda21(r2) +/* 80065680 000625E0 FF C0 08 18 */ frsp f30, f1 +/* 80065684 000625E4 C0 22 87 38 */ lfs f1, lbl_805AA458@sda21(r2) +/* 80065688 000625E8 EC 00 07 72 */ fmuls f0, f0, f29 +/* 8006568C 000625EC EC 21 00 32 */ fmuls f1, f1, f0 +/* 80065690 000625F0 48 32 ED 61 */ bl cos +/* 80065694 000625F4 FF A0 08 18 */ frsp f29, f1 +/* 80065698 000625F8 C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 8006569C 000625FC C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 800656A0 00062600 38 61 00 34 */ addi r3, r1, 0x34 +/* 800656A4 00062604 48 2A EB 5D */ bl __ct__9CVector2fFff +/* 800656A8 00062608 7C 64 1B 78 */ mr r4, r3 +/* 800656AC 0006260C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800656B0 00062610 48 2A E9 D1 */ bl AsNormalized__9CVector2fCFv +/* 800656B4 00062614 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 800656B8 00062618 38 61 00 54 */ addi r3, r1, 0x54 +/* 800656BC 0006261C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 800656C0 00062620 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800656C4 00062624 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 800656C8 00062628 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800656CC 0006262C C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) +/* 800656D0 00062630 48 2A EB 31 */ bl __ct__9CVector2fFff +/* 800656D4 00062634 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 800656D8 00062638 38 61 00 24 */ addi r3, r1, 0x24 +/* 800656DC 0006263C C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 800656E0 00062640 48 2A EB 21 */ bl __ct__9CVector2fFff +/* 800656E4 00062644 7C 64 1B 78 */ mr r4, r3 +/* 800656E8 00062648 38 61 00 2C */ addi r3, r1, 0x2c +/* 800656EC 0006264C 48 2A E9 95 */ bl AsNormalized__9CVector2fCFv +/* 800656F0 00062650 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800656F4 00062654 38 61 00 44 */ addi r3, r1, 0x44 +/* 800656F8 00062658 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800656FC 0006265C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80065700 00062660 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 80065704 00062664 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80065708 00062668 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) +/* 8006570C 0006266C 48 2A EA F5 */ bl __ct__9CVector2fFff +/* 80065710 00062670 38 61 00 5C */ addi r3, r1, 0x5c +/* 80065714 00062674 38 81 00 54 */ addi r4, r1, 0x54 +/* 80065718 00062678 48 2A E8 91 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 8006571C 0006267C FF E0 08 90 */ fmr f31, f1 +/* 80065720 00062680 38 61 00 4C */ addi r3, r1, 0x4c +/* 80065724 00062684 38 81 00 44 */ addi r4, r1, 0x44 +/* 80065728 00062688 48 2A E8 81 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 8006572C 0006268C FC 1F E8 40 */ fcmpo cr0, f31, f29 +/* 80065730 00062690 40 81 00 14 */ ble lbl_80065744 +/* 80065734 00062694 FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 80065738 00062698 40 81 00 0C */ ble lbl_80065744 +/* 8006573C 0006269C 38 60 00 00 */ li r3, 0 +/* 80065740 000626A0 48 00 01 28 */ b lbl_80065868 +lbl_80065744: +/* 80065744 000626A4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80065748 000626A8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8006574C 000626AC 38 AD 83 80 */ addi r5, r13, lbl_805A6F40@sda21 +/* 80065750 000626B0 48 2A E7 85 */ bl __ml__FRC9CVector2fRCf +/* 80065754 000626B4 38 61 00 5C */ addi r3, r1, 0x5c +/* 80065758 000626B8 38 81 00 1C */ addi r4, r1, 0x1c +/* 8006575C 000626BC 48 2A E8 4D */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 80065760 000626C0 FF E0 08 90 */ fmr f31, f1 +/* 80065764 000626C4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80065768 000626C8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8006576C 000626CC 38 AD 83 84 */ addi r5, r13, lbl_805A6F44@sda21 +/* 80065770 000626D0 48 2A E7 65 */ bl __ml__FRC9CVector2fRCf +/* 80065774 000626D4 38 61 00 4C */ addi r3, r1, 0x4c +/* 80065778 000626D8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8006577C 000626DC 48 2A E8 2D */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 80065780 000626E0 FC 1F E8 40 */ fcmpo cr0, f31, f29 +/* 80065784 000626E4 40 81 00 14 */ ble lbl_80065798 +/* 80065788 000626E8 FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 8006578C 000626EC 40 81 00 0C */ ble lbl_80065798 +/* 80065790 000626F0 38 60 00 01 */ li r3, 1 +/* 80065794 000626F4 48 00 00 D4 */ b lbl_80065868 +lbl_80065798: +/* 80065798 000626F8 38 61 00 8C */ addi r3, r1, 0x8c +/* 8006579C 000626FC 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 800657A0 00062700 48 2A F0 B1 */ bl AsNormalized__9CVector3fCFv +/* 800657A4 00062704 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) +/* 800657A8 00062708 38 61 00 7C */ addi r3, r1, 0x7c +/* 800657AC 0006270C C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 800657B0 00062710 38 81 00 08 */ addi r4, r1, 8 +/* 800657B4 00062714 C0 02 87 58 */ lfs f0, lbl_805AA478@sda21(r2) +/* 800657B8 00062718 3B E0 FF FF */ li r31, -1 +/* 800657BC 0006271C D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 800657C0 00062720 C3 A1 00 8C */ lfs f29, 0x8c(r1) +/* 800657C4 00062724 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 800657C8 00062728 C3 C1 00 90 */ lfs f30, 0x90(r1) +/* 800657CC 0006272C D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 800657D0 00062730 C3 E1 00 94 */ lfs f31, 0x94(r1) +/* 800657D4 00062734 D0 01 00 08 */ stfs f0, 8(r1) +/* 800657D8 00062738 C3 82 87 48 */ lfs f28, lbl_805AA468@sda21(r2) +/* 800657DC 0006273C 48 2A B9 55 */ bl YRotation__11CQuaternionFRC9CRelAngle +/* 800657E0 00062740 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 800657E4 00062744 3B C0 00 00 */ li r30, 0 +/* 800657E8 00062748 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 800657EC 0006274C C0 21 00 84 */ lfs f1, 0x84(r1) +/* 800657F0 00062750 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 800657F4 00062754 D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 800657F8 00062758 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 800657FC 0006275C D0 21 00 AC */ stfs f1, 0xac(r1) +/* 80065800 00062760 D0 01 00 B0 */ stfs f0, 0xb0(r1) +lbl_80065804: +/* 80065804 00062764 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 80065808 00062768 38 1E 00 02 */ addi r0, r30, 2 +/* 8006580C 0006276C C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80065810 00062770 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80065814 00062774 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 80065818 00062778 EC 1D 00 7A */ fmadds f0, f29, f1, f0 +/* 8006581C 0006277C EC 1F 00 BA */ fmadds f0, f31, f2, f0 +/* 80065820 00062780 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 80065824 00062784 40 81 00 0C */ ble lbl_80065830 +/* 80065828 00062788 FF 80 00 90 */ fmr f28, f0 +/* 8006582C 0006278C 7C 1F 03 78 */ mr r31, r0 +lbl_80065830: +/* 80065830 00062790 38 61 00 70 */ addi r3, r1, 0x70 +/* 80065834 00062794 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80065838 00062798 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 8006583C 0006279C 48 2A BA 29 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80065840 000627A0 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80065844 000627A4 3B DE 00 01 */ addi r30, r30, 1 +/* 80065848 000627A8 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 8006584C 000627AC 2C 1E 00 08 */ cmpwi r30, 8 +/* 80065850 000627B0 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 80065854 000627B4 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80065858 000627B8 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8006585C 000627BC D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80065860 000627C0 41 80 FF A4 */ blt lbl_80065804 +/* 80065864 000627C4 7F E3 FB 78 */ mr r3, r31 +lbl_80065868: +/* 80065868 000627C8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8006586C 000627CC CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80065870 000627D0 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 80065874 000627D4 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 80065878 000627D8 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 8006587C 000627DC CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 80065880 000627E0 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 80065884 000627E4 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 80065888 000627E8 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8006588C 000627EC 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80065890 000627F0 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80065894 000627F4 7C 08 03 A6 */ mtlr r0 +/* 80065898 000627F8 38 21 01 20 */ addi r1, r1, 0x120 +/* 8006589C 000627FC 4E 80 00 20 */ blr + +.global GetDesiredHudState__9CSamusHudCFRC13CStateManager +GetDesiredHudState__9CSamusHudCFRC13CStateManager: +/* 800658A0 00062800 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 800658A4 00062804 80 63 02 F8 */ lwz r3, 0x2f8(r3) +/* 800658A8 00062808 38 03 FF FF */ addi r0, r3, -1 +/* 800658AC 0006280C 28 00 00 01 */ cmplwi r0, 1 +/* 800658B0 00062810 40 81 00 0C */ ble lbl_800658BC +/* 800658B4 00062814 2C 03 00 03 */ cmpwi r3, 3 +/* 800658B8 00062818 40 82 00 0C */ bne lbl_800658C4 +lbl_800658BC: +/* 800658BC 0006281C 38 60 00 04 */ li r3, 4 +/* 800658C0 00062820 4E 80 00 20 */ blr +lbl_800658C4: +/* 800658C4 00062824 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 800658C8 00062828 80 63 00 00 */ lwz r3, 0(r3) +/* 800658CC 0006282C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 800658D0 00062830 2C 00 00 02 */ cmpwi r0, 2 +/* 800658D4 00062834 41 82 00 34 */ beq lbl_80065908 +/* 800658D8 00062838 40 80 00 14 */ bge lbl_800658EC +/* 800658DC 0006283C 2C 00 00 00 */ cmpwi r0, 0 +/* 800658E0 00062840 41 82 00 18 */ beq lbl_800658F8 +/* 800658E4 00062844 40 80 00 1C */ bge lbl_80065900 +/* 800658E8 00062848 48 00 00 30 */ b lbl_80065918 +lbl_800658EC: +/* 800658EC 0006284C 2C 00 00 04 */ cmpwi r0, 4 +/* 800658F0 00062850 40 80 00 28 */ bge lbl_80065918 +/* 800658F4 00062854 48 00 00 1C */ b lbl_80065910 +lbl_800658F8: +/* 800658F8 00062858 38 60 00 00 */ li r3, 0 +/* 800658FC 0006285C 4E 80 00 20 */ blr +lbl_80065900: +/* 80065900 00062860 38 60 00 01 */ li r3, 1 +/* 80065904 00062864 4E 80 00 20 */ blr +lbl_80065908: +/* 80065908 00062868 38 60 00 03 */ li r3, 3 +/* 8006590C 0006286C 4E 80 00 20 */ blr +lbl_80065910: +/* 80065910 00062870 38 60 00 02 */ li r3, 2 +/* 80065914 00062874 4E 80 00 20 */ blr +lbl_80065918: +/* 80065918 00062878 38 60 00 05 */ li r3, 5 +/* 8006591C 0006287C 4E 80 00 20 */ blr + +.global GetTargetingManager__9CSamusHudCFv +GetTargetingManager__9CSamusHudCFv: +/* 80065920 00062880 38 63 00 08 */ addi r3, r3, 8 +/* 80065924 00062884 4E 80 00 20 */ blr + +.global ProcessControllerInput__9CSamusHudFRC11CFinalInput +ProcessControllerInput__9CSamusHudFRC11CFinalInput: +/* 80065928 00062888 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006592C 0006288C 7C 08 02 A6 */ mflr r0 +/* 80065930 00062890 90 01 00 14 */ stw r0, 0x14(r1) +/* 80065934 00062894 80 63 02 9C */ lwz r3, 0x29c(r3) +/* 80065938 00062898 28 03 00 00 */ cmplwi r3, 0 +/* 8006593C 0006289C 41 82 00 14 */ beq lbl_80065950 +/* 80065940 000628A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80065944 000628A4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80065948 000628A8 7D 89 03 A6 */ mtctr r12 +/* 8006594C 000628AC 4E 80 04 21 */ bctrl +lbl_80065950: +/* 80065950 000628B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80065954 000628B4 7C 08 03 A6 */ mtlr r0 +/* 80065958 000628B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006595C 000628BC 4E 80 00 20 */ blr + +.global ProcessInput__17IHudDecoInterfaceFRC11CFinalInput +ProcessInput__17IHudDecoInterfaceFRC11CFinalInput: +/* 80065960 000628C0 4E 80 00 20 */ blr + +.global Draw__9CSamusHudCFRC13CStateManagerfUibb +Draw__9CSamusHudCFRC13CStateManagerfUibb: +/* 80065964 000628C4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80065968 000628C8 7C 08 02 A6 */ mflr r0 +/* 8006596C 000628CC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80065970 000628D0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80065974 000628D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80065978 000628D8 BE A1 00 44 */ stmw r21, 0x44(r1) +/* 8006597C 000628DC 7C 7F 1B 78 */ mr r31, r3 +/* 80065980 000628E0 FF E0 08 90 */ fmr f31, f1 +/* 80065984 000628E4 80 03 02 BC */ lwz r0, 0x2bc(r3) +/* 80065988 000628E8 7C 9C 23 78 */ mr r28, r4 +/* 8006598C 000628EC 7C B8 2B 78 */ mr r24, r5 +/* 80065990 000628F0 7C D7 33 78 */ mr r23, r6 +/* 80065994 000628F4 2C 00 00 05 */ cmpwi r0, 5 +/* 80065998 000628F8 7C F5 3B 78 */ mr r21, r7 +/* 8006599C 000628FC 41 82 04 04 */ beq lbl_80065DA0 +/* 800659A0 00062900 80 9C 08 4C */ lwz r4, 0x84c(r28) +/* 800659A4 00062904 38 7F 03 A8 */ addi r3, r31, 0x3a8 +/* 800659A8 00062908 83 24 02 F8 */ lwz r25, 0x2f8(r4) +/* 800659AC 0006290C 48 08 68 E5 */ bl Draw__17CCameraFilterPassCFv +/* 800659B0 00062910 2C 19 00 00 */ cmpwi r25, 0 +/* 800659B4 00062914 40 82 00 30 */ bne lbl_800659E4 +/* 800659B8 00062918 7F E3 FB 78 */ mr r3, r31 +/* 800659BC 0006291C 7F 84 E3 78 */ mr r4, r28 +/* 800659C0 00062920 48 00 08 31 */ bl DrawAttachedEnemyEffect__9CSamusHudCFRC13CStateManager +/* 800659C4 00062924 38 7F 05 1C */ addi r3, r31, 0x51c +/* 800659C8 00062928 48 08 68 C9 */ bl Draw__17CCameraFilterPassCFv +/* 800659CC 0006292C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 800659D0 00062930 41 82 00 14 */ beq lbl_800659E4 +/* 800659D4 00062934 7F 84 E3 78 */ mr r4, r28 +/* 800659D8 00062938 38 7F 00 08 */ addi r3, r31, 8 +/* 800659DC 0006293C 38 A0 00 00 */ li r5, 0 +/* 800659E0 00062940 48 05 71 ED */ bl Draw__17CTargetingManagerCFRC13CStateManager +lbl_800659E4: +/* 800659E4 00062944 48 31 F9 C5 */ bl OSGetTime +/* 800659E8 00062948 38 00 00 00 */ li r0, 0 +/* 800659EC 0006294C 28 18 00 00 */ cmplwi r24, 0 +/* 800659F0 00062950 90 1F 07 BC */ stw r0, 0x7bc(r31) +/* 800659F4 00062954 7C 9B 23 78 */ mr r27, r4 +/* 800659F8 00062958 7C 7A 1B 78 */ mr r26, r3 +/* 800659FC 0006295C 3B A0 00 00 */ li r29, 0 +/* 80065A00 00062960 90 1F 07 B8 */ stw r0, 0x7b8(r31) +/* 80065A04 00062964 3B 20 00 00 */ li r25, 0 +/* 80065A08 00062968 90 1F 07 CC */ stw r0, 0x7cc(r31) +/* 80065A0C 0006296C 90 1F 07 C8 */ stw r0, 0x7c8(r31) +/* 80065A10 00062970 90 1F 07 DC */ stw r0, 0x7dc(r31) +/* 80065A14 00062974 90 1F 07 D8 */ stw r0, 0x7d8(r31) +/* 80065A18 00062978 90 1F 07 EC */ stw r0, 0x7ec(r31) +/* 80065A1C 0006297C 90 1F 07 E8 */ stw r0, 0x7e8(r31) +/* 80065A20 00062980 90 1F 07 FC */ stw r0, 0x7fc(r31) +/* 80065A24 00062984 90 1F 07 F8 */ stw r0, 0x7f8(r31) +/* 80065A28 00062988 90 1F 08 0C */ stw r0, 0x80c(r31) +/* 80065A2C 0006298C 90 1F 08 08 */ stw r0, 0x808(r31) +/* 80065A30 00062990 90 1F 08 1C */ stw r0, 0x81c(r31) +/* 80065A34 00062994 90 1F 08 18 */ stw r0, 0x818(r31) +/* 80065A38 00062998 90 1F 08 2C */ stw r0, 0x82c(r31) +/* 80065A3C 0006299C 90 1F 08 28 */ stw r0, 0x828(r31) +/* 80065A40 000629A0 90 1F 08 3C */ stw r0, 0x83c(r31) +/* 80065A44 000629A4 90 1F 08 38 */ stw r0, 0x838(r31) +/* 80065A48 000629A8 90 1F 08 4C */ stw r0, 0x84c(r31) +/* 80065A4C 000629AC 90 1F 08 48 */ stw r0, 0x848(r31) +/* 80065A50 000629B0 90 1F 08 5C */ stw r0, 0x85c(r31) +/* 80065A54 000629B4 90 1F 08 58 */ stw r0, 0x858(r31) +/* 80065A58 000629B8 90 1F 08 6C */ stw r0, 0x86c(r31) +/* 80065A5C 000629BC 90 1F 08 68 */ stw r0, 0x868(r31) +/* 80065A60 000629C0 90 1F 08 7C */ stw r0, 0x87c(r31) +/* 80065A64 000629C4 90 1F 08 78 */ stw r0, 0x878(r31) +/* 80065A68 000629C8 90 1F 08 8C */ stw r0, 0x88c(r31) +/* 80065A6C 000629CC 90 1F 08 88 */ stw r0, 0x888(r31) +/* 80065A70 000629D0 90 1F 08 9C */ stw r0, 0x89c(r31) +/* 80065A74 000629D4 90 1F 08 98 */ stw r0, 0x898(r31) +/* 80065A78 000629D8 41 82 01 E0 */ beq lbl_80065C58 +/* 80065A7C 000629DC 48 31 F9 2D */ bl OSGetTime +/* 80065A80 000629E0 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha +/* 80065A84 000629E4 7C 9B 20 10 */ subfc r4, r27, r4 +/* 80065A88 000629E8 3B C5 FD 30 */ addi r30, r5, mData__10CStopwatch@l +/* 80065A8C 000629EC 7C 7A 19 10 */ subfe r3, r26, r3 +/* 80065A90 000629F0 80 BE 00 08 */ lwz r5, 8(r30) +/* 80065A94 000629F4 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80065A98 000629F8 48 32 41 35 */ bl __div2i +/* 80065A9C 000629FC 7C 9D 23 78 */ mr r29, r4 +/* 80065AA0 00062A00 28 18 00 05 */ cmplwi r24, 5 +/* 80065AA4 00062A04 93 BF 08 6C */ stw r29, 0x86c(r31) +/* 80065AA8 00062A08 7C 79 1B 78 */ mr r25, r3 +/* 80065AAC 00062A0C 93 3F 08 68 */ stw r25, 0x868(r31) +/* 80065AB0 00062A10 40 80 01 A8 */ bge lbl_80065C58 +/* 80065AB4 00062A14 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 80065AB8 00062A18 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80065ABC 00062A1C 40 80 00 24 */ bge lbl_80065AE0 +/* 80065AC0 00062A20 48 2E 44 ED */ bl White__6CColorFv +/* 80065AC4 00062A24 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 80065AC8 00062A28 7C 65 1B 78 */ mr r5, r3 +/* 80065ACC 00062A2C 38 60 00 08 */ li r3, 8 +/* 80065AD0 00062A30 38 80 00 08 */ li r4, 8 +/* 80065AD4 00062A34 EC 20 F8 28 */ fsubs f1, f0, f31 +/* 80065AD8 00062A38 38 C0 00 00 */ li r6, 0 +/* 80065ADC 00062A3C 48 08 66 6D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_80065AE0: +/* 80065AE0 00062A40 80 7F 02 88 */ lwz r3, 0x288(r31) +/* 80065AE4 00062A44 28 03 00 00 */ cmplwi r3, 0 +/* 80065AE8 00062A48 41 82 01 20 */ beq lbl_80065C08 +/* 80065AEC 00062A4C 80 9C 08 4C */ lwz r4, 0x84c(r28) +/* 80065AF0 00062A50 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80065AF4 00062A54 C0 44 09 F4 */ lfs f2, 0x9f4(r4) +/* 80065AF8 00062A58 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80065AFC 00062A5C 40 81 00 A4 */ ble lbl_80065BA0 +/* 80065B00 00062A60 80 04 02 F8 */ lwz r0, 0x2f8(r4) +/* 80065B04 00062A64 2C 00 00 00 */ cmpwi r0, 0 +/* 80065B08 00062A68 41 82 00 64 */ beq lbl_80065B6C +/* 80065B0C 00062A6C C0 02 80 F0 */ lfs f0, lbl_805A9E10@sda21(r2) +/* 80065B10 00062A70 38 81 00 08 */ addi r4, r1, 8 +/* 80065B14 00062A74 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 80065B18 00062A78 38 6D 83 78 */ addi r3, r13, lbl_805A6F38@sda21 +/* 80065B1C 00062A7C EC 02 00 24 */ fdivs f0, f2, f0 +/* 80065B20 00062A80 38 AD 83 7C */ addi r5, r13, lbl_805A6F3C@sda21 +/* 80065B24 00062A84 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80065B28 00062A88 D0 01 00 08 */ stfs f0, 8(r1) +/* 80065B2C 00062A8C 4B FA 67 89 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80065B30 00062A90 C0 23 00 00 */ lfs f1, 0(r3) +/* 80065B34 00062A94 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80065B38 00062A98 C0 1F 02 C8 */ lfs f0, 0x2c8(r31) +/* 80065B3C 00062A9C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80065B40 00062AA0 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 80065B44 00062AA4 EC 60 00 72 */ fmuls f3, f0, f1 +/* 80065B48 00062AA8 C0 23 00 04 */ lfs f1, 4(r3) +/* 80065B4C 00062AAC C0 03 00 08 */ lfs f0, 8(r3) +/* 80065B50 00062AB0 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80065B54 00062AB4 80 7F 02 88 */ lwz r3, 0x288(r31) +/* 80065B58 00062AB8 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80065B5C 00062ABC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80065B60 00062AC0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80065B64 00062AC4 48 25 CB D1 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +/* 80065B68 00062AC8 48 00 00 68 */ b lbl_80065BD0 +lbl_80065B6C: +/* 80065B6C 00062ACC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80065B70 00062AD0 C0 7F 02 C8 */ lfs f3, 0x2c8(r31) +/* 80065B74 00062AD4 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80065B78 00062AD8 C0 45 00 00 */ lfs f2, 0(r5) +/* 80065B7C 00062ADC 38 81 00 1C */ addi r4, r1, 0x1c +/* 80065B80 00062AE0 C0 25 00 04 */ lfs f1, 4(r5) +/* 80065B84 00062AE4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80065B88 00062AE8 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80065B8C 00062AEC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80065B90 00062AF0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80065B94 00062AF4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80065B98 00062AF8 48 25 CB 9D */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +/* 80065B9C 00062AFC 48 00 00 34 */ b lbl_80065BD0 +lbl_80065BA0: +/* 80065BA0 00062B00 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80065BA4 00062B04 C0 7F 02 C8 */ lfs f3, 0x2c8(r31) +/* 80065BA8 00062B08 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80065BAC 00062B0C C0 45 00 00 */ lfs f2, 0(r5) +/* 80065BB0 00062B10 38 81 00 0C */ addi r4, r1, 0xc +/* 80065BB4 00062B14 C0 25 00 04 */ lfs f1, 4(r5) +/* 80065BB8 00062B18 C0 05 00 08 */ lfs f0, 8(r5) +/* 80065BBC 00062B1C D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80065BC0 00062B20 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80065BC4 00062B24 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80065BC8 00062B28 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80065BCC 00062B2C 48 25 CB 69 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +lbl_80065BD0: +/* 80065BD0 00062B30 7F B6 EB 78 */ mr r22, r29 +/* 80065BD4 00062B34 7F 35 CB 78 */ mr r21, r25 +/* 80065BD8 00062B38 48 31 F7 D1 */ bl OSGetTime +/* 80065BDC 00062B3C 7C 9B 20 10 */ subfc r4, r27, r4 +/* 80065BE0 00062B40 80 BE 00 08 */ lwz r5, 8(r30) +/* 80065BE4 00062B44 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80065BE8 00062B48 7C 7A 19 10 */ subfe r3, r26, r3 +/* 80065BEC 00062B4C 48 32 3F E1 */ bl __div2i +/* 80065BF0 00062B50 7C 9D 23 78 */ mr r29, r4 +/* 80065BF4 00062B54 7C 79 1B 78 */ mr r25, r3 +/* 80065BF8 00062B58 7C 16 E8 10 */ subfc r0, r22, r29 +/* 80065BFC 00062B5C 90 1F 08 0C */ stw r0, 0x80c(r31) +/* 80065C00 00062B60 7C 15 C9 10 */ subfe r0, r21, r25 +/* 80065C04 00062B64 90 1F 08 08 */ stw r0, 0x808(r31) +lbl_80065C08: +/* 80065C08 00062B68 80 7F 02 74 */ lwz r3, 0x274(r31) +/* 80065C0C 00062B6C 28 03 00 00 */ cmplwi r3, 0 +/* 80065C10 00062B70 41 82 00 48 */ beq lbl_80065C58 +/* 80065C14 00062B74 3C 80 80 5A */ lis r4, lbl_8059FD08@ha +/* 80065C18 00062B78 38 84 FD 08 */ addi r4, r4, lbl_8059FD08@l +/* 80065C1C 00062B7C 48 25 CB 19 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +/* 80065C20 00062B80 7F B5 EB 78 */ mr r21, r29 +/* 80065C24 00062B84 7F 36 CB 78 */ mr r22, r25 +/* 80065C28 00062B88 48 31 F7 81 */ bl OSGetTime +/* 80065C2C 00062B8C 7C 9B 20 10 */ subfc r4, r27, r4 +/* 80065C30 00062B90 80 BE 00 08 */ lwz r5, 8(r30) +/* 80065C34 00062B94 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80065C38 00062B98 7C 7A 19 10 */ subfe r3, r26, r3 +/* 80065C3C 00062B9C 48 32 3F 91 */ bl __div2i +/* 80065C40 00062BA0 7C 9D 23 78 */ mr r29, r4 +/* 80065C44 00062BA4 7C 79 1B 78 */ mr r25, r3 +/* 80065C48 00062BA8 7C 15 E8 10 */ subfc r0, r21, r29 +/* 80065C4C 00062BAC 90 1F 08 1C */ stw r0, 0x81c(r31) +/* 80065C50 00062BB0 7C 16 C9 10 */ subfe r0, r22, r25 +/* 80065C54 00062BB4 90 1F 08 18 */ stw r0, 0x818(r31) +lbl_80065C58: +/* 80065C58 00062BB8 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 80065C5C 00062BBC 28 03 00 00 */ cmplwi r3, 0 +/* 80065C60 00062BC0 41 82 00 60 */ beq lbl_80065CC0 +/* 80065C64 00062BC4 80 1F 02 CC */ lwz r0, 0x2cc(r31) +/* 80065C68 00062BC8 2C 00 00 00 */ cmpwi r0, 0 +/* 80065C6C 00062BCC 40 82 00 54 */ bne lbl_80065CC0 +/* 80065C70 00062BD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80065C74 00062BD4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80065C78 00062BD8 7D 89 03 A6 */ mtctr r12 +/* 80065C7C 00062BDC 4E 80 04 21 */ bctrl +/* 80065C80 00062BE0 7F B6 EB 78 */ mr r22, r29 +/* 80065C84 00062BE4 7F 3E CB 78 */ mr r30, r25 +/* 80065C88 00062BE8 48 31 F7 21 */ bl OSGetTime +/* 80065C8C 00062BEC 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha +/* 80065C90 00062BF0 7C 9B 20 10 */ subfc r4, r27, r4 +/* 80065C94 00062BF4 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l +/* 80065C98 00062BF8 7C 7A 19 10 */ subfe r3, r26, r3 +/* 80065C9C 00062BFC 80 A6 00 08 */ lwz r5, 8(r6) +/* 80065CA0 00062C00 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 80065CA4 00062C04 48 32 3F 29 */ bl __div2i +/* 80065CA8 00062C08 7C 9D 23 78 */ mr r29, r4 +/* 80065CAC 00062C0C 7C 79 1B 78 */ mr r25, r3 +/* 80065CB0 00062C10 7C 16 E8 10 */ subfc r0, r22, r29 +/* 80065CB4 00062C14 90 1F 08 7C */ stw r0, 0x87c(r31) +/* 80065CB8 00062C18 7C 1E C9 10 */ subfe r0, r30, r25 +/* 80065CBC 00062C1C 90 1F 08 78 */ stw r0, 0x878(r31) +lbl_80065CC0: +/* 80065CC0 00062C20 80 7F 02 BC */ lwz r3, 0x2bc(r31) +/* 80065CC4 00062C24 38 00 00 00 */ li r0, 0 +/* 80065CC8 00062C28 2C 03 00 00 */ cmpwi r3, 0 +/* 80065CCC 00062C2C 41 80 00 10 */ blt lbl_80065CDC +/* 80065CD0 00062C30 2C 03 00 03 */ cmpwi r3, 3 +/* 80065CD4 00062C34 41 81 00 08 */ bgt lbl_80065CDC +/* 80065CD8 00062C38 38 00 00 01 */ li r0, 1 +lbl_80065CDC: +/* 80065CDC 00062C3C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80065CE0 00062C40 41 82 00 98 */ beq lbl_80065D78 +/* 80065CE4 00062C44 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 80065CE8 00062C48 41 82 00 74 */ beq lbl_80065D5C +/* 80065CEC 00062C4C 28 18 00 00 */ cmplwi r24, 0 +/* 80065CF0 00062C50 41 82 00 6C */ beq lbl_80065D5C +/* 80065CF4 00062C54 28 18 00 05 */ cmplwi r24, 5 +/* 80065CF8 00062C58 40 80 00 64 */ bge lbl_80065D5C +/* 80065CFC 00062C5C 80 7C 08 B8 */ lwz r3, 0x8b8(r28) +/* 80065D00 00062C60 80 63 00 00 */ lwz r3, 0(r3) +/* 80065D04 00062C64 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80065D08 00062C68 2C 00 00 00 */ cmpwi r0, 0 +/* 80065D0C 00062C6C 40 82 00 0C */ bne lbl_80065D18 +/* 80065D10 00062C70 48 02 BB 55 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 80065D14 00062C74 48 00 00 08 */ b lbl_80065D1C +lbl_80065D18: +/* 80065D18 00062C78 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +lbl_80065D1C: +/* 80065D1C 00062C7C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80065D20 00062C80 80 7F 02 AC */ lwz r3, 0x2ac(r31) +/* 80065D24 00062C84 7F 84 E3 78 */ mr r4, r28 +/* 80065D28 00062C88 48 12 C4 AD */ bl Draw__18CHudRadarInterfaceCFRC13CStateManagerf +/* 80065D2C 00062C8C 48 31 F6 7D */ bl OSGetTime +/* 80065D30 00062C90 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha +/* 80065D34 00062C94 7C 9B 20 10 */ subfc r4, r27, r4 +/* 80065D38 00062C98 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l +/* 80065D3C 00062C9C 7C 7A 19 10 */ subfe r3, r26, r3 +/* 80065D40 00062CA0 80 A6 00 08 */ lwz r5, 8(r6) +/* 80065D44 00062CA4 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 80065D48 00062CA8 48 32 3E 85 */ bl __div2i +/* 80065D4C 00062CAC 7C 1D 20 10 */ subfc r0, r29, r4 +/* 80065D50 00062CB0 90 1F 07 BC */ stw r0, 0x7bc(r31) +/* 80065D54 00062CB4 7C 19 19 10 */ subfe r0, r25, r3 +/* 80065D58 00062CB8 90 1F 07 B8 */ stw r0, 0x7b8(r31) +lbl_80065D5C: +/* 80065D5C 00062CBC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80065D60 00062CC0 38 80 00 01 */ li r4, 1 +/* 80065D64 00062CC4 38 A0 00 01 */ li r5, 1 +/* 80065D68 00062CC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80065D6C 00062CCC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80065D70 00062CD0 7D 89 03 A6 */ mtctr r12 +/* 80065D74 00062CD4 4E 80 04 21 */ bctrl +lbl_80065D78: +/* 80065D78 00062CD8 48 31 F6 31 */ bl OSGetTime +/* 80065D7C 00062CDC 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha +/* 80065D80 00062CE0 7C 9B 20 10 */ subfc r4, r27, r4 +/* 80065D84 00062CE4 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l +/* 80065D88 00062CE8 7C 7A 19 10 */ subfe r3, r26, r3 +/* 80065D8C 00062CEC 80 A6 00 08 */ lwz r5, 8(r6) +/* 80065D90 00062CF0 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 80065D94 00062CF4 48 32 3E 39 */ bl __div2i +/* 80065D98 00062CF8 90 9F 08 9C */ stw r4, 0x89c(r31) +/* 80065D9C 00062CFC 90 7F 08 98 */ stw r3, 0x898(r31) +lbl_80065DA0: +/* 80065DA0 00062D00 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80065DA4 00062D04 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80065DA8 00062D08 BA A1 00 44 */ lmw r21, 0x44(r1) +/* 80065DAC 00062D0C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80065DB0 00062D10 7C 08 03 A6 */ mtlr r0 +/* 80065DB4 00062D14 38 21 00 80 */ addi r1, r1, 0x80 +/* 80065DB8 00062D18 4E 80 00 20 */ blr + +.global Draw__17IHudDecoInterfaceCFv +Draw__17IHudDecoInterfaceCFv: +/* 80065DBC 00062D1C 4E 80 00 20 */ blr + +.global DrawHelmet__9CSamusHudFRC13CStateManagerf +DrawHelmet__9CSamusHudFRC13CStateManagerf: +/* 80065DC0 00062D20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80065DC4 00062D24 7C 08 02 A6 */ mflr r0 +/* 80065DC8 00062D28 90 01 00 24 */ stw r0, 0x24(r1) +/* 80065DCC 00062D2C 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80065DD0 00062D30 80 03 02 64 */ lwz r0, 0x264(r3) +/* 80065DD4 00062D34 80 84 02 F8 */ lwz r4, 0x2f8(r4) +/* 80065DD8 00062D38 28 00 00 00 */ cmplwi r0, 0 +/* 80065DDC 00062D3C 7C 80 00 34 */ cntlzw r0, r4 +/* 80065DE0 00062D40 54 00 D9 7E */ srwi r0, r0, 5 +/* 80065DE4 00062D44 41 82 00 74 */ beq lbl_80065E58 +/* 80065DE8 00062D48 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80065DEC 00062D4C 41 82 00 6C */ beq lbl_80065E58 +/* 80065DF0 00062D50 80 03 02 BC */ lwz r0, 0x2bc(r3) +/* 80065DF4 00062D54 2C 00 00 04 */ cmpwi r0, 4 +/* 80065DF8 00062D58 41 82 00 60 */ beq lbl_80065E58 +/* 80065DFC 00062D5C 80 03 02 C4 */ lwz r0, 0x2c4(r3) +/* 80065E00 00062D60 38 80 00 00 */ li r4, 0 +/* 80065E04 00062D64 2C 00 00 03 */ cmpwi r0, 3 +/* 80065E08 00062D68 40 82 00 14 */ bne lbl_80065E1C +/* 80065E0C 00062D6C 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80065E10 00062D70 2C 00 00 04 */ cmpwi r0, 4 +/* 80065E14 00062D74 40 82 00 08 */ bne lbl_80065E1C +/* 80065E18 00062D78 38 80 00 01 */ li r4, 1 +lbl_80065E1C: +/* 80065E1C 00062D7C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80065E20 00062D80 41 82 00 0C */ beq lbl_80065E2C +/* 80065E24 00062D84 C0 63 02 C8 */ lfs f3, 0x2c8(r3) +/* 80065E28 00062D88 48 00 00 08 */ b lbl_80065E30 +lbl_80065E2C: +/* 80065E2C 00062D8C C0 62 87 28 */ lfs f3, lbl_805AA448@sda21(r2) +lbl_80065E30: +/* 80065E30 00062D90 C0 02 87 5C */ lfs f0, lbl_805AA47C@sda21(r2) +/* 80065E34 00062D94 38 81 00 08 */ addi r4, r1, 8 +/* 80065E38 00062D98 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) +/* 80065E3C 00062D9C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80065E40 00062DA0 D0 61 00 08 */ stfs f3, 8(r1) +/* 80065E44 00062DA4 80 63 02 64 */ lwz r3, 0x264(r3) +/* 80065E48 00062DA8 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80065E4C 00062DAC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80065E50 00062DB0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80065E54 00062DB4 48 25 C8 E1 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +lbl_80065E58: +/* 80065E58 00062DB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80065E5C 00062DBC 7C 08 03 A6 */ mtlr r0 +/* 80065E60 00062DC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80065E64 00062DC4 4E 80 00 20 */ blr + +.global LeaveFirstPerson__9CSamusHudFRC13CStateManager +LeaveFirstPerson__9CSamusHudFRC13CStateManager: +/* 80065E68 00062DC8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80065E6C 00062DCC 7C 08 02 A6 */ mflr r0 +/* 80065E70 00062DD0 38 80 00 00 */ li r4, 0 +/* 80065E74 00062DD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80065E78 00062DD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80065E7C 00062DDC 7C 7F 1B 78 */ mr r31, r3 +/* 80065E80 00062DE0 38 61 00 0C */ addi r3, r1, 0xc +/* 80065E84 00062DE4 80 1F 05 08 */ lwz r0, 0x508(r31) +/* 80065E88 00062DE8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80065E8C 00062DEC 48 28 3D CD */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 80065E90 00062DF0 80 1F 05 0C */ lwz r0, 0x50c(r31) +/* 80065E94 00062DF4 38 61 00 08 */ addi r3, r1, 8 +/* 80065E98 00062DF8 38 80 00 00 */ li r4, 0 +/* 80065E9C 00062DFC 90 01 00 08 */ stw r0, 8(r1) +/* 80065EA0 00062E00 48 28 3D B9 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 80065EA4 00062E04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80065EA8 00062E08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80065EAC 00062E0C 7C 08 03 A6 */ mtlr r0 +/* 80065EB0 00062E10 38 21 00 20 */ addi r1, r1, 0x20 +/* 80065EB4 00062E14 4E 80 00 20 */ blr + +.global EnterFirstPerson__9CSamusHudFRC13CStateManager +EnterFirstPerson__9CSamusHudFRC13CStateManager: +/* 80065EB8 00062E18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80065EBC 00062E1C 7C 08 02 A6 */ mflr r0 +/* 80065EC0 00062E20 38 80 00 7F */ li r4, 0x7f +/* 80065EC4 00062E24 90 01 00 24 */ stw r0, 0x24(r1) +/* 80065EC8 00062E28 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80065ECC 00062E2C 7C 7F 1B 78 */ mr r31, r3 +/* 80065ED0 00062E30 38 61 00 0C */ addi r3, r1, 0xc +/* 80065ED4 00062E34 80 1F 05 08 */ lwz r0, 0x508(r31) +/* 80065ED8 00062E38 90 01 00 0C */ stw r0, 0xc(r1) +/* 80065EDC 00062E3C 48 28 3D 7D */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 80065EE0 00062E40 80 1F 05 0C */ lwz r0, 0x50c(r31) +/* 80065EE4 00062E44 38 61 00 08 */ addi r3, r1, 8 +/* 80065EE8 00062E48 38 80 00 7F */ li r4, 0x7f +/* 80065EEC 00062E4C 90 01 00 08 */ stw r0, 8(r1) +/* 80065EF0 00062E50 48 28 3D 69 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 80065EF4 00062E54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80065EF8 00062E58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80065EFC 00062E5C 7C 08 03 A6 */ mtlr r0 +/* 80065F00 00062E60 38 21 00 20 */ addi r1, r1, 0x20 +/* 80065F04 00062E64 4E 80 00 20 */ blr + +.global BuildPlayerHasBeams__9CSamusHudCFRC13CStateManager +BuildPlayerHasBeams__9CSamusHudCFRC13CStateManager: +/* 80065F08 00062E68 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80065F0C 00062E6C 7C 08 02 A6 */ mflr r0 +/* 80065F10 00062E70 90 01 00 24 */ stw r0, 0x24(r1) +/* 80065F14 00062E74 38 00 00 00 */ li r0, 0 +/* 80065F18 00062E78 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80065F1C 00062E7C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80065F20 00062E80 7C 7E 1B 78 */ mr r30, r3 +/* 80065F24 00062E84 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80065F28 00062E88 80 85 08 B8 */ lwz r4, 0x8b8(r5) +/* 80065F2C 00062E8C 90 01 00 08 */ stw r0, 8(r1) +/* 80065F30 00062E90 83 A4 00 00 */ lwz r29, 0(r4) +/* 80065F34 00062E94 38 80 00 00 */ li r4, 0 +/* 80065F38 00062E98 7F A3 EB 78 */ mr r3, r29 +/* 80065F3C 00062E9C 48 02 BB 85 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80065F40 00062EA0 80 01 00 08 */ lwz r0, 8(r1) +/* 80065F44 00062EA4 3B E1 00 0C */ addi r31, r1, 0xc +/* 80065F48 00062EA8 7C 9F 02 15 */ add. r4, r31, r0 +/* 80065F4C 00062EAC 41 82 00 08 */ beq lbl_80065F54 +/* 80065F50 00062EB0 98 64 00 00 */ stb r3, 0(r4) +lbl_80065F54: +/* 80065F54 00062EB4 80 A1 00 08 */ lwz r5, 8(r1) +/* 80065F58 00062EB8 7F A3 EB 78 */ mr r3, r29 +/* 80065F5C 00062EBC 38 80 00 01 */ li r4, 1 +/* 80065F60 00062EC0 38 05 00 01 */ addi r0, r5, 1 +/* 80065F64 00062EC4 90 01 00 08 */ stw r0, 8(r1) +/* 80065F68 00062EC8 48 02 BB 59 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80065F6C 00062ECC 80 01 00 08 */ lwz r0, 8(r1) +/* 80065F70 00062ED0 7C 9F 02 15 */ add. r4, r31, r0 +/* 80065F74 00062ED4 41 82 00 08 */ beq lbl_80065F7C +/* 80065F78 00062ED8 98 64 00 00 */ stb r3, 0(r4) +lbl_80065F7C: +/* 80065F7C 00062EDC 80 A1 00 08 */ lwz r5, 8(r1) +/* 80065F80 00062EE0 7F A3 EB 78 */ mr r3, r29 +/* 80065F84 00062EE4 38 80 00 02 */ li r4, 2 +/* 80065F88 00062EE8 38 05 00 01 */ addi r0, r5, 1 +/* 80065F8C 00062EEC 90 01 00 08 */ stw r0, 8(r1) +/* 80065F90 00062EF0 48 02 BB 31 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80065F94 00062EF4 80 01 00 08 */ lwz r0, 8(r1) +/* 80065F98 00062EF8 7C 9F 02 15 */ add. r4, r31, r0 +/* 80065F9C 00062EFC 41 82 00 08 */ beq lbl_80065FA4 +/* 80065FA0 00062F00 98 64 00 00 */ stb r3, 0(r4) +lbl_80065FA4: +/* 80065FA4 00062F04 80 A1 00 08 */ lwz r5, 8(r1) +/* 80065FA8 00062F08 7F A3 EB 78 */ mr r3, r29 +/* 80065FAC 00062F0C 38 80 00 03 */ li r4, 3 +/* 80065FB0 00062F10 38 05 00 01 */ addi r0, r5, 1 +/* 80065FB4 00062F14 90 01 00 08 */ stw r0, 8(r1) +/* 80065FB8 00062F18 48 02 BB 09 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80065FBC 00062F1C 80 01 00 08 */ lwz r0, 8(r1) +/* 80065FC0 00062F20 7C 9F 02 15 */ add. r4, r31, r0 +/* 80065FC4 00062F24 41 82 00 08 */ beq lbl_80065FCC +/* 80065FC8 00062F28 98 64 00 00 */ stb r3, 0(r4) +lbl_80065FCC: +/* 80065FCC 00062F2C 80 61 00 08 */ lwz r3, 8(r1) +/* 80065FD0 00062F30 38 9E 00 04 */ addi r4, r30, 4 +/* 80065FD4 00062F34 38 03 00 01 */ addi r0, r3, 1 +/* 80065FD8 00062F38 90 1E 00 00 */ stw r0, 0(r30) +/* 80065FDC 00062F3C 80 7E 00 00 */ lwz r3, 0(r30) +/* 80065FE0 00062F40 90 01 00 08 */ stw r0, 8(r1) +/* 80065FE4 00062F44 7C 69 03 A6 */ mtctr r3 +/* 80065FE8 00062F48 2C 03 00 00 */ cmpwi r3, 0 +/* 80065FEC 00062F4C 40 81 00 20 */ ble lbl_8006600C +lbl_80065FF0: +/* 80065FF0 00062F50 28 04 00 00 */ cmplwi r4, 0 +/* 80065FF4 00062F54 41 82 00 0C */ beq lbl_80066000 +/* 80065FF8 00062F58 88 1F 00 00 */ lbz r0, 0(r31) +/* 80065FFC 00062F5C 98 04 00 00 */ stb r0, 0(r4) +lbl_80066000: +/* 80066000 00062F60 38 84 00 01 */ addi r4, r4, 1 +/* 80066004 00062F64 3B FF 00 01 */ addi r31, r31, 1 +/* 80066008 00062F68 42 00 FF E8 */ bdnz lbl_80065FF0 +lbl_8006600C: +/* 8006600C 00062F6C 80 A1 00 08 */ lwz r5, 8(r1) +/* 80066010 00062F70 38 60 00 00 */ li r3, 0 +/* 80066014 00062F74 2C 05 00 00 */ cmpwi r5, 0 +/* 80066018 00062F78 40 81 00 40 */ ble lbl_80066058 +/* 8006601C 00062F7C 2C 05 00 08 */ cmpwi r5, 8 +/* 80066020 00062F80 38 85 FF F8 */ addi r4, r5, -8 +/* 80066024 00062F84 40 81 00 20 */ ble lbl_80066044 +/* 80066028 00062F88 38 04 00 07 */ addi r0, r4, 7 +/* 8006602C 00062F8C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80066030 00062F90 7C 09 03 A6 */ mtctr r0 +/* 80066034 00062F94 2C 04 00 00 */ cmpwi r4, 0 +/* 80066038 00062F98 40 81 00 0C */ ble lbl_80066044 +lbl_8006603C: +/* 8006603C 00062F9C 38 63 00 08 */ addi r3, r3, 8 +/* 80066040 00062FA0 42 00 FF FC */ bdnz lbl_8006603C +lbl_80066044: +/* 80066044 00062FA4 7C 03 28 50 */ subf r0, r3, r5 +/* 80066048 00062FA8 7C 09 03 A6 */ mtctr r0 +/* 8006604C 00062FAC 7C 03 28 00 */ cmpw r3, r5 +/* 80066050 00062FB0 40 80 00 08 */ bge lbl_80066058 +lbl_80066054: +/* 80066054 00062FB4 42 00 00 00 */ bdnz lbl_80066054 +lbl_80066058: +/* 80066058 00062FB8 38 00 00 00 */ li r0, 0 +/* 8006605C 00062FBC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80066060 00062FC0 90 01 00 08 */ stw r0, 8(r1) +/* 80066064 00062FC4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80066068 00062FC8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8006606C 00062FCC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80066070 00062FD0 7C 08 03 A6 */ mtlr r0 +/* 80066074 00062FD4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80066078 00062FD8 4E 80 00 20 */ blr + +.global BuildPlayerHasVisors__9CSamusHudCFRC13CStateManager +BuildPlayerHasVisors__9CSamusHudCFRC13CStateManager: +/* 8006607C 00062FDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80066080 00062FE0 7C 08 02 A6 */ mflr r0 +/* 80066084 00062FE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80066088 00062FE8 38 00 00 00 */ li r0, 0 +/* 8006608C 00062FEC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80066090 00062FF0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80066094 00062FF4 7C 7E 1B 78 */ mr r30, r3 +/* 80066098 00062FF8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8006609C 00062FFC 80 85 08 B8 */ lwz r4, 0x8b8(r5) +/* 800660A0 00063000 90 01 00 08 */ stw r0, 8(r1) +/* 800660A4 00063004 83 A4 00 00 */ lwz r29, 0(r4) +/* 800660A8 00063008 38 80 00 11 */ li r4, 0x11 +/* 800660AC 0006300C 7F A3 EB 78 */ mr r3, r29 +/* 800660B0 00063010 48 02 BA 11 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800660B4 00063014 80 01 00 08 */ lwz r0, 8(r1) +/* 800660B8 00063018 3B E1 00 0C */ addi r31, r1, 0xc +/* 800660BC 0006301C 7C 9F 02 15 */ add. r4, r31, r0 +/* 800660C0 00063020 41 82 00 08 */ beq lbl_800660C8 +/* 800660C4 00063024 98 64 00 00 */ stb r3, 0(r4) +lbl_800660C8: +/* 800660C8 00063028 80 A1 00 08 */ lwz r5, 8(r1) +/* 800660CC 0006302C 7F A3 EB 78 */ mr r3, r29 +/* 800660D0 00063030 38 80 00 0D */ li r4, 0xd +/* 800660D4 00063034 38 05 00 01 */ addi r0, r5, 1 +/* 800660D8 00063038 90 01 00 08 */ stw r0, 8(r1) +/* 800660DC 0006303C 48 02 B9 E5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800660E0 00063040 80 01 00 08 */ lwz r0, 8(r1) +/* 800660E4 00063044 7C 9F 02 15 */ add. r4, r31, r0 +/* 800660E8 00063048 41 82 00 08 */ beq lbl_800660F0 +/* 800660EC 0006304C 98 64 00 00 */ stb r3, 0(r4) +lbl_800660F0: +/* 800660F0 00063050 80 A1 00 08 */ lwz r5, 8(r1) +/* 800660F4 00063054 7F A3 EB 78 */ mr r3, r29 +/* 800660F8 00063058 38 80 00 05 */ li r4, 5 +/* 800660FC 0006305C 38 05 00 01 */ addi r0, r5, 1 +/* 80066100 00063060 90 01 00 08 */ stw r0, 8(r1) +/* 80066104 00063064 48 02 B9 BD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80066108 00063068 80 01 00 08 */ lwz r0, 8(r1) +/* 8006610C 0006306C 7C 9F 02 15 */ add. r4, r31, r0 +/* 80066110 00063070 41 82 00 08 */ beq lbl_80066118 +/* 80066114 00063074 98 64 00 00 */ stb r3, 0(r4) +lbl_80066118: +/* 80066118 00063078 80 A1 00 08 */ lwz r5, 8(r1) +/* 8006611C 0006307C 7F A3 EB 78 */ mr r3, r29 +/* 80066120 00063080 38 80 00 09 */ li r4, 9 +/* 80066124 00063084 38 05 00 01 */ addi r0, r5, 1 +/* 80066128 00063088 90 01 00 08 */ stw r0, 8(r1) +/* 8006612C 0006308C 48 02 B9 95 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80066130 00063090 80 01 00 08 */ lwz r0, 8(r1) +/* 80066134 00063094 7C 9F 02 15 */ add. r4, r31, r0 +/* 80066138 00063098 41 82 00 08 */ beq lbl_80066140 +/* 8006613C 0006309C 98 64 00 00 */ stb r3, 0(r4) +lbl_80066140: +/* 80066140 000630A0 80 61 00 08 */ lwz r3, 8(r1) +/* 80066144 000630A4 38 9E 00 04 */ addi r4, r30, 4 +/* 80066148 000630A8 38 03 00 01 */ addi r0, r3, 1 +/* 8006614C 000630AC 90 1E 00 00 */ stw r0, 0(r30) +/* 80066150 000630B0 80 7E 00 00 */ lwz r3, 0(r30) +/* 80066154 000630B4 90 01 00 08 */ stw r0, 8(r1) +/* 80066158 000630B8 7C 69 03 A6 */ mtctr r3 +/* 8006615C 000630BC 2C 03 00 00 */ cmpwi r3, 0 +/* 80066160 000630C0 40 81 00 20 */ ble lbl_80066180 +lbl_80066164: +/* 80066164 000630C4 28 04 00 00 */ cmplwi r4, 0 +/* 80066168 000630C8 41 82 00 0C */ beq lbl_80066174 +/* 8006616C 000630CC 88 1F 00 00 */ lbz r0, 0(r31) +/* 80066170 000630D0 98 04 00 00 */ stb r0, 0(r4) +lbl_80066174: +/* 80066174 000630D4 38 84 00 01 */ addi r4, r4, 1 +/* 80066178 000630D8 3B FF 00 01 */ addi r31, r31, 1 +/* 8006617C 000630DC 42 00 FF E8 */ bdnz lbl_80066164 +lbl_80066180: +/* 80066180 000630E0 80 A1 00 08 */ lwz r5, 8(r1) +/* 80066184 000630E4 38 60 00 00 */ li r3, 0 +/* 80066188 000630E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8006618C 000630EC 40 81 00 40 */ ble lbl_800661CC +/* 80066190 000630F0 2C 05 00 08 */ cmpwi r5, 8 +/* 80066194 000630F4 38 85 FF F8 */ addi r4, r5, -8 +/* 80066198 000630F8 40 81 00 20 */ ble lbl_800661B8 +/* 8006619C 000630FC 38 04 00 07 */ addi r0, r4, 7 +/* 800661A0 00063100 54 00 E8 FE */ srwi r0, r0, 3 +/* 800661A4 00063104 7C 09 03 A6 */ mtctr r0 +/* 800661A8 00063108 2C 04 00 00 */ cmpwi r4, 0 +/* 800661AC 0006310C 40 81 00 0C */ ble lbl_800661B8 +lbl_800661B0: +/* 800661B0 00063110 38 63 00 08 */ addi r3, r3, 8 +/* 800661B4 00063114 42 00 FF FC */ bdnz lbl_800661B0 +lbl_800661B8: +/* 800661B8 00063118 7C 03 28 50 */ subf r0, r3, r5 +/* 800661BC 0006311C 7C 09 03 A6 */ mtctr r0 +/* 800661C0 00063120 7C 03 28 00 */ cmpw r3, r5 +/* 800661C4 00063124 40 80 00 08 */ bge lbl_800661CC +lbl_800661C8: +/* 800661C8 00063128 42 00 00 00 */ bdnz lbl_800661C8 +lbl_800661CC: +/* 800661CC 0006312C 38 00 00 00 */ li r0, 0 +/* 800661D0 00063130 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800661D4 00063134 90 01 00 08 */ stw r0, 8(r1) +/* 800661D8 00063138 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800661DC 0006313C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800661E0 00063140 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800661E4 00063144 7C 08 03 A6 */ mtlr r0 +/* 800661E8 00063148 38 21 00 20 */ addi r1, r1, 0x20 +/* 800661EC 0006314C 4E 80 00 20 */ blr + +.global DrawAttachedEnemyEffect__9CSamusHudCFRC13CStateManager +DrawAttachedEnemyEffect__9CSamusHudCFRC13CStateManager: +/* 800661F0 00063150 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800661F4 00063154 7C 08 02 A6 */ mflr r0 +/* 800661F8 00063158 90 01 00 44 */ stw r0, 0x44(r1) +/* 800661FC 0006315C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80066200 00063160 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80066204 00063164 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80066208 00063168 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8006620C 0006316C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80066210 00063170 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 80066214 00063174 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80066218 00063178 C0 23 02 84 */ lfs f1, 0x284(r3) +/* 8006621C 0006317C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066220 00063180 40 81 00 E4 */ ble lbl_80066304 +/* 80066224 00063184 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80066228 00063188 C0 02 87 60 */ lfs f0, lbl_805AA480@sda21(r2) +/* 8006622C 0006318C C3 C3 01 C8 */ lfs f30, 0x1c8(r3) +/* 80066230 00063190 88 03 01 CC */ lbz r0, 0x1cc(r3) +/* 80066234 00063194 EC 40 07 B2 */ fmuls f2, f0, f30 +/* 80066238 00063198 83 ED A1 3C */ lwz r31, gpTweakGuiColors@sda21(r13) +/* 8006623C 0006319C 28 00 00 00 */ cmplwi r0, 0 +/* 80066240 000631A0 41 82 00 2C */ beq lbl_8006626C +/* 80066244 000631A4 C0 02 87 38 */ lfs f0, lbl_805AA458@sda21(r2) +/* 80066248 000631A8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8006624C 000631AC EC 00 F0 24 */ fdivs f0, f0, f30 +/* 80066250 000631B0 EC 22 00 2A */ fadds f1, f2, f0 +/* 80066254 000631B4 48 2A EB 9D */ bl FastSinR__5CMathFf +/* 80066258 000631B8 C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) +/* 8006625C 000631BC C0 02 87 3C */ lfs f0, lbl_805AA45C@sda21(r2) +/* 80066260 000631C0 EC 22 08 2A */ fadds f1, f2, f1 +/* 80066264 000631C4 EC 40 00 72 */ fmuls f2, f0, f1 +/* 80066268 000631C8 48 00 00 3C */ b lbl_800662A4 +lbl_8006626C: +/* 8006626C 000631CC FC 40 F0 90 */ fmr f2, f30 +/* 80066270 000631D0 48 32 EA 3D */ bl fmod +/* 80066274 000631D4 FC 20 08 18 */ frsp f1, f1 +/* 80066278 000631D8 C0 02 87 3C */ lfs f0, lbl_805AA45C@sda21(r2) +/* 8006627C 000631DC EC 40 07 B2 */ fmuls f2, f0, f30 +/* 80066280 000631E0 FC 00 0A 10 */ fabs f0, f1 +/* 80066284 000631E4 FC 00 00 18 */ frsp f0, f0 +/* 80066288 000631E8 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8006628C 000631EC 40 80 00 0C */ bge lbl_80066298 +/* 80066290 000631F0 EC 00 10 24 */ fdivs f0, f0, f2 +/* 80066294 000631F4 48 00 00 0C */ b lbl_800662A0 +lbl_80066298: +/* 80066298 000631F8 EC 1E 00 28 */ fsubs f0, f30, f0 +/* 8006629C 000631FC EC 00 10 24 */ fdivs f0, f0, f2 +lbl_800662A0: +/* 800662A0 00063200 FC 40 00 90 */ fmr f2, f0 +lbl_800662A4: +/* 800662A4 00063204 88 7F 00 E3 */ lbz r3, 0xe3(r31) +/* 800662A8 00063208 3C 00 43 30 */ lis r0, 0x4330 +/* 800662AC 0006320C 90 01 00 10 */ stw r0, 0x10(r1) +/* 800662B0 00063210 C8 22 87 68 */ lfd f1, lbl_805AA488@sda21(r2) +/* 800662B4 00063214 90 61 00 14 */ stw r3, 0x14(r1) +/* 800662B8 00063218 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 800662BC 0006321C EC 00 08 28 */ fsubs f0, f0, f1 +/* 800662C0 00063220 EF E2 00 32 */ fmuls f31, f2, f0 +/* 800662C4 00063224 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800662C8 00063228 38 60 00 05 */ li r3, 5 +/* 800662CC 0006322C 80 BF 00 E0 */ lwz r5, 0xe0(r31) +/* 800662D0 00063230 88 01 00 08 */ lbz r0, 8(r1) +/* 800662D4 00063234 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 800662D8 00063238 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 800662DC 0006323C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800662E0 00063240 88 04 01 CD */ lbz r0, 0x1cd(r4) +/* 800662E4 00063244 28 00 00 00 */ cmplwi r0, 0 +/* 800662E8 00063248 41 82 00 08 */ beq lbl_800662F0 +/* 800662EC 0006324C 38 60 00 03 */ li r3, 3 +lbl_800662F0: +/* 800662F0 00063250 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 800662F4 00063254 38 A1 00 0C */ addi r5, r1, 0xc +/* 800662F8 00063258 38 80 00 00 */ li r4, 0 +/* 800662FC 0006325C 38 C0 00 00 */ li r6, 0 +/* 80066300 00063260 48 08 5E 49 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_80066304: +/* 80066304 00063264 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80066308 00063268 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8006630C 0006326C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80066310 00063270 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80066314 00063274 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80066318 00063278 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8006631C 0006327C 7C 08 03 A6 */ mtlr r0 +/* 80066320 00063280 38 21 00 40 */ addi r1, r1, 0x40 +/* 80066324 00063284 4E 80 00 20 */ blr + +.global Touch__9CSamusHudCFv +Touch__9CSamusHudCFv: +/* 80066328 00063288 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006632C 0006328C 7C 08 02 A6 */ mflr r0 +/* 80066330 00063290 90 01 00 14 */ stw r0, 0x14(r1) +/* 80066334 00063294 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80066338 00063298 7C 7F 1B 78 */ mr r31, r3 +/* 8006633C 0006329C 80 63 02 64 */ lwz r3, 0x264(r3) +/* 80066340 000632A0 28 03 00 00 */ cmplwi r3, 0 +/* 80066344 000632A4 41 82 00 08 */ beq lbl_8006634C +/* 80066348 000632A8 48 25 C2 A9 */ bl Touch__9CGuiFrameCFv +lbl_8006634C: +/* 8006634C 000632AC 80 7F 02 74 */ lwz r3, 0x274(r31) +/* 80066350 000632B0 28 03 00 00 */ cmplwi r3, 0 +/* 80066354 000632B4 41 82 00 08 */ beq lbl_8006635C +/* 80066358 000632B8 48 25 C2 99 */ bl Touch__9CGuiFrameCFv +lbl_8006635C: +/* 8006635C 000632BC 80 7F 02 88 */ lwz r3, 0x288(r31) +/* 80066360 000632C0 28 03 00 00 */ cmplwi r3, 0 +/* 80066364 000632C4 41 82 00 08 */ beq lbl_8006636C +/* 80066368 000632C8 48 25 C2 89 */ bl Touch__9CGuiFrameCFv +lbl_8006636C: +/* 8006636C 000632CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80066370 000632D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80066374 000632D4 7C 08 03 A6 */ mtlr r0 +/* 80066378 000632D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006637C 000632DC 4E 80 00 20 */ blr + +.global Update__9CSamusHudFfRC13CStateManagerUibb +Update__9CSamusHudFfRC13CStateManagerUibb: +/* 80066380 000632E0 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 80066384 000632E4 7C 08 02 A6 */ mflr r0 +/* 80066388 000632E8 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 8006638C 000632EC DB E1 01 90 */ stfd f31, 0x190(r1) +/* 80066390 000632F0 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 +/* 80066394 000632F4 DB C1 01 80 */ stfd f30, 0x180(r1) +/* 80066398 000632F8 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 +/* 8006639C 000632FC DB A1 01 70 */ stfd f29, 0x170(r1) +/* 800663A0 00063300 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 +/* 800663A4 00063304 DB 81 01 60 */ stfd f28, 0x160(r1) +/* 800663A8 00063308 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 +/* 800663AC 0006330C DB 61 01 50 */ stfd f27, 0x150(r1) +/* 800663B0 00063310 F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 +/* 800663B4 00063314 DB 41 01 40 */ stfd f26, 0x140(r1) +/* 800663B8 00063318 F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 +/* 800663BC 0006331C BF 21 01 24 */ stmw r25, 0x124(r1) +/* 800663C0 00063320 7C BB 2B 78 */ mr r27, r5 +/* 800663C4 00063324 FF 80 08 90 */ fmr f28, f1 +/* 800663C8 00063328 7C 1B 00 D0 */ neg r0, r27 +/* 800663CC 0006332C 7C 7F 1B 78 */ mr r31, r3 +/* 800663D0 00063330 7C 00 DB 78 */ or r0, r0, r27 +/* 800663D4 00063334 7C 9E 23 78 */ mr r30, r4 +/* 800663D8 00063338 7C FC 3B 78 */ mr r28, r7 +/* 800663DC 0006333C 54 1D 0F FE */ srwi r29, r0, 0x1f +/* 800663E0 00063340 48 00 0C ED */ bl UpdateStateTransition__9CSamusHudFfRC13CStateManager +/* 800663E4 00063344 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 800663E8 00063348 3B 40 00 00 */ li r26, 0 +/* 800663EC 0006334C 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 800663F0 00063350 2C 00 00 00 */ cmpwi r0, 0 +/* 800663F4 00063354 40 82 00 18 */ bne lbl_8006640C +/* 800663F8 00063358 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 800663FC 0006335C 4B FA 45 05 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80066400 00063360 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80066404 00063364 40 82 00 08 */ bne lbl_8006640C +/* 80066408 00063368 3B 40 00 01 */ li r26, 1 +lbl_8006640C: +/* 8006640C 0006336C 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 80066410 00063370 57 43 06 3E */ clrlwi r3, r26, 0x18 +/* 80066414 00063374 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f +/* 80066418 00063378 7C 03 00 40 */ cmplw r3, r0 +/* 8006641C 0006337C 41 82 00 34 */ beq lbl_80066450 +/* 80066420 00063380 28 03 00 00 */ cmplwi r3, 0 +/* 80066424 00063384 41 82 00 14 */ beq lbl_80066438 +/* 80066428 00063388 7F E3 FB 78 */ mr r3, r31 +/* 8006642C 0006338C 7F C4 F3 78 */ mr r4, r30 +/* 80066430 00063390 4B FF FA 89 */ bl EnterFirstPerson__9CSamusHudFRC13CStateManager +/* 80066434 00063394 48 00 00 10 */ b lbl_80066444 +lbl_80066438: +/* 80066438 00063398 7F E3 FB 78 */ mr r3, r31 +/* 8006643C 0006339C 7F C4 F3 78 */ mr r4, r30 +/* 80066440 000633A0 4B FF FA 29 */ bl LeaveFirstPerson__9CSamusHudFRC13CStateManager +lbl_80066444: +/* 80066444 000633A4 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 80066448 000633A8 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a +/* 8006644C 000633AC 98 1F 02 E0 */ stb r0, 0x2e0(r31) +lbl_80066450: +/* 80066450 000633B0 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80066454 000633B4 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 80066458 000633B8 80 85 02 F8 */ lwz r4, 0x2f8(r5) +/* 8006645C 000633BC 2C 04 00 02 */ cmpwi r4, 2 +/* 80066460 000633C0 20 64 00 01 */ subfic r3, r4, 1 +/* 80066464 000633C4 38 04 FF FF */ addi r0, r4, -1 +/* 80066468 000633C8 7C 60 03 78 */ or r0, r3, r0 +/* 8006646C 000633CC 54 1A 0F FE */ srwi r26, r0, 0x1f +/* 80066470 000633D0 41 82 00 30 */ beq lbl_800664A0 +/* 80066474 000633D4 40 80 00 14 */ bge lbl_80066488 +/* 80066478 000633D8 2C 04 00 00 */ cmpwi r4, 0 +/* 8006647C 000633DC 41 82 00 98 */ beq lbl_80066514 +/* 80066480 000633E0 40 80 00 14 */ bge lbl_80066494 +/* 80066484 000633E4 48 00 00 90 */ b lbl_80066514 +lbl_80066488: +/* 80066488 000633E8 2C 04 00 04 */ cmpwi r4, 4 +/* 8006648C 000633EC 40 80 00 88 */ bge lbl_80066514 +/* 80066490 000633F0 48 00 00 4C */ b lbl_800664DC +lbl_80066494: +/* 80066494 000633F4 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 80066498 000633F8 48 00 00 7C */ b lbl_80066514 +/* 8006649C 000633FC 48 00 00 78 */ b lbl_80066514 +lbl_800664A0: +/* 800664A0 00063400 C0 45 05 78 */ lfs f2, 0x578(r5) +/* 800664A4 00063404 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 800664A8 00063408 40 82 00 0C */ bne lbl_800664B4 +/* 800664AC 0006340C FC 00 08 90 */ fmr f0, f1 +/* 800664B0 00063410 48 00 00 24 */ b lbl_800664D4 +lbl_800664B4: +/* 800664B4 00063414 C0 05 05 74 */ lfs f0, 0x574(r5) +/* 800664B8 00063418 38 81 00 18 */ addi r4, r1, 0x18 +/* 800664BC 0006341C 38 6D 82 F0 */ addi r3, r13, lbl_805A6EB0@sda21 +/* 800664C0 00063420 38 AD 82 F4 */ addi r5, r13, lbl_805A6EB4@sda21 +/* 800664C4 00063424 EC 00 10 24 */ fdivs f0, f0, f2 +/* 800664C8 00063428 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800664CC 0006342C 4B FA 5D E9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800664D0 00063430 C0 03 00 00 */ lfs f0, 0(r3) +lbl_800664D4: +/* 800664D4 00063434 FC 20 00 90 */ fmr f1, f0 +/* 800664D8 00063438 48 00 00 3C */ b lbl_80066514 +lbl_800664DC: +/* 800664DC 0006343C C0 45 05 78 */ lfs f2, 0x578(r5) +/* 800664E0 00063440 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 800664E4 00063444 40 82 00 08 */ bne lbl_800664EC +/* 800664E8 00063448 48 00 00 24 */ b lbl_8006650C +lbl_800664EC: +/* 800664EC 0006344C C0 05 05 74 */ lfs f0, 0x574(r5) +/* 800664F0 00063450 38 81 00 14 */ addi r4, r1, 0x14 +/* 800664F4 00063454 38 6D 82 F0 */ addi r3, r13, lbl_805A6EB0@sda21 +/* 800664F8 00063458 38 AD 82 F4 */ addi r5, r13, lbl_805A6EB4@sda21 +/* 800664FC 0006345C EC 00 10 24 */ fdivs f0, f0, f2 +/* 80066500 00063460 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80066504 00063464 4B FA 5D B1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80066508 00063468 C0 23 00 00 */ lfs f1, 0(r3) +lbl_8006650C: +/* 8006650C 0006346C C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 80066510 00063470 EC 20 08 28 */ fsubs f1, f0, f1 +lbl_80066514: +/* 80066514 00063474 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80066518 00063478 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 8006651C 0006347C C0 43 02 54 */ lfs f2, 0x254(r3) +/* 80066520 00063480 EC 01 00 BC */ fnmsubs f0, f1, f2, f0 +/* 80066524 00063484 D0 1F 05 04 */ stfs f0, 0x504(r31) +/* 80066528 00063488 80 7F 02 B0 */ lwz r3, 0x2b0(r31) +/* 8006652C 0006348C 28 03 00 00 */ cmplwi r3, 0 +/* 80066530 00063490 41 82 00 08 */ beq lbl_80066538 +/* 80066534 00063494 48 16 70 79 */ bl SetBallModeFactor__17CHudBallInterfaceFf +lbl_80066538: +/* 80066538 00063498 28 1A 00 00 */ cmplwi r26, 0 +/* 8006653C 0006349C 3B 40 00 00 */ li r26, 0 +/* 80066540 000634A0 3B 20 00 00 */ li r25, 0 +/* 80066544 000634A4 38 00 00 00 */ li r0, 0 +/* 80066548 000634A8 41 82 00 40 */ beq lbl_80066588 +/* 8006654C 000634AC 2C 1B 00 03 */ cmpwi r27, 3 +/* 80066550 000634B0 41 82 00 30 */ beq lbl_80066580 +/* 80066554 000634B4 40 80 00 10 */ bge lbl_80066564 +/* 80066558 000634B8 2C 1B 00 02 */ cmpwi r27, 2 +/* 8006655C 000634BC 40 80 00 28 */ bge lbl_80066584 +/* 80066560 000634C0 48 00 00 28 */ b lbl_80066588 +lbl_80066564: +/* 80066564 000634C4 2C 1B 00 05 */ cmpwi r27, 5 +/* 80066568 000634C8 41 82 00 0C */ beq lbl_80066574 +/* 8006656C 000634CC 40 80 00 1C */ bge lbl_80066588 +/* 80066570 000634D0 48 00 00 0C */ b lbl_8006657C +lbl_80066574: +/* 80066574 000634D4 3B 40 00 01 */ li r26, 1 +/* 80066578 000634D8 48 00 00 10 */ b lbl_80066588 +lbl_8006657C: +/* 8006657C 000634DC 3B 20 00 01 */ li r25, 1 +lbl_80066580: +/* 80066580 000634E0 3B 40 00 01 */ li r26, 1 +lbl_80066584: +/* 80066584 000634E4 38 00 00 01 */ li r0, 1 +lbl_80066588: +/* 80066588 000634E8 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8006658C 000634EC 28 03 00 00 */ cmplwi r3, 0 +/* 80066590 000634F0 41 82 00 18 */ beq lbl_800665A8 +/* 80066594 000634F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80066598 000634F8 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 8006659C 000634FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800665A0 00063500 7D 89 03 A6 */ mtctr r12 +/* 800665A4 00063504 4E 80 04 21 */ bctrl +lbl_800665A8: +/* 800665A8 00063508 80 7F 02 A0 */ lwz r3, 0x2a0(r31) +/* 800665AC 0006350C 28 03 00 00 */ cmplwi r3, 0 +/* 800665B0 00063510 41 82 00 10 */ beq lbl_800665C0 +/* 800665B4 00063514 57 44 06 3E */ clrlwi r4, r26, 0x18 +/* 800665B8 00063518 57 25 06 3E */ clrlwi r5, r25, 0x18 +/* 800665BC 0006351C 48 12 A8 4D */ bl SetIsVisibleDebug__19CHudHelmetInterfaceFbb +lbl_800665C0: +/* 800665C0 00063520 80 7F 05 90 */ lwz r3, 0x590(r31) +/* 800665C4 00063524 38 80 00 00 */ li r4, 0 +/* 800665C8 00063528 48 26 40 65 */ bl SetIsVisible__10CGuiWidgetFb +/* 800665CC 0006352C FC 20 E0 90 */ fmr f1, f28 +/* 800665D0 00063530 7F E3 FB 78 */ mr r3, r31 +/* 800665D4 00063534 7F C4 F3 78 */ mr r4, r30 +/* 800665D8 00063538 48 00 42 79 */ bl UpdateEnergyLow__9CSamusHudFfRC13CStateManager +/* 800665DC 0006353C 38 00 00 00 */ li r0, 0 +/* 800665E0 00063540 90 1F 07 B4 */ stw r0, 0x7b4(r31) +/* 800665E4 00063544 90 1F 07 B0 */ stw r0, 0x7b0(r31) +/* 800665E8 00063548 90 1F 07 C4 */ stw r0, 0x7c4(r31) +/* 800665EC 0006354C 90 1F 07 C0 */ stw r0, 0x7c0(r31) +/* 800665F0 00063550 90 1F 07 D4 */ stw r0, 0x7d4(r31) +/* 800665F4 00063554 90 1F 07 D0 */ stw r0, 0x7d0(r31) +/* 800665F8 00063558 90 1F 07 E4 */ stw r0, 0x7e4(r31) +/* 800665FC 0006355C 90 1F 07 E0 */ stw r0, 0x7e0(r31) +/* 80066600 00063560 90 1F 07 F4 */ stw r0, 0x7f4(r31) +/* 80066604 00063564 90 1F 07 F0 */ stw r0, 0x7f0(r31) +/* 80066608 00063568 90 1F 08 04 */ stw r0, 0x804(r31) +/* 8006660C 0006356C 90 1F 08 00 */ stw r0, 0x800(r31) +/* 80066610 00063570 90 1F 08 14 */ stw r0, 0x814(r31) +/* 80066614 00063574 90 1F 08 10 */ stw r0, 0x810(r31) +/* 80066618 00063578 90 1F 08 24 */ stw r0, 0x824(r31) +/* 8006661C 0006357C 90 1F 08 20 */ stw r0, 0x820(r31) +/* 80066620 00063580 90 1F 08 34 */ stw r0, 0x834(r31) +/* 80066624 00063584 90 1F 08 30 */ stw r0, 0x830(r31) +/* 80066628 00063588 90 1F 08 44 */ stw r0, 0x844(r31) +/* 8006662C 0006358C 90 1F 08 40 */ stw r0, 0x840(r31) +/* 80066630 00063590 90 1F 08 54 */ stw r0, 0x854(r31) +/* 80066634 00063594 90 1F 08 50 */ stw r0, 0x850(r31) +/* 80066638 00063598 90 1F 08 64 */ stw r0, 0x864(r31) +/* 8006663C 0006359C 90 1F 08 60 */ stw r0, 0x860(r31) +/* 80066640 000635A0 90 1F 08 74 */ stw r0, 0x874(r31) +/* 80066644 000635A4 90 1F 08 70 */ stw r0, 0x870(r31) +/* 80066648 000635A8 90 1F 08 84 */ stw r0, 0x884(r31) +/* 8006664C 000635AC 90 1F 08 80 */ stw r0, 0x880(r31) +/* 80066650 000635B0 90 1F 08 94 */ stw r0, 0x894(r31) +/* 80066654 000635B4 90 1F 08 90 */ stw r0, 0x890(r31) +/* 80066658 000635B8 80 7F 02 AC */ lwz r3, 0x2ac(r31) +/* 8006665C 000635BC 28 03 00 00 */ cmplwi r3, 0 +/* 80066660 000635C0 41 82 00 10 */ beq lbl_80066670 +/* 80066664 000635C4 FC 20 E0 90 */ fmr f1, f28 +/* 80066668 000635C8 7F C4 F3 78 */ mr r4, r30 +/* 8006666C 000635CC 48 12 C1 B5 */ bl Update__18CHudRadarInterfaceFfRC13CStateManager +lbl_80066670: +/* 80066670 000635D0 FC 20 E0 90 */ fmr f1, f28 +/* 80066674 000635D4 7F E3 FB 78 */ mr r3, r31 +/* 80066678 000635D8 7F C4 F3 78 */ mr r4, r30 +/* 8006667C 000635DC 4B FF E8 11 */ bl UpdateHudLag__9CSamusHudFfRC13CStateManager +/* 80066680 000635E0 FC 20 E0 90 */ fmr f1, f28 +/* 80066684 000635E4 7F E3 FB 78 */ mr r3, r31 +/* 80066688 000635E8 7F C4 F3 78 */ mr r4, r30 +/* 8006668C 000635EC 48 00 1B 65 */ bl UpdateHudDynamicLights__9CSamusHudFfRC13CStateManager +/* 80066690 000635F0 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80066694 000635F4 41 82 00 14 */ beq lbl_800666A8 +/* 80066698 000635F8 FC 20 E0 90 */ fmr f1, f28 +/* 8006669C 000635FC 7F C4 F3 78 */ mr r4, r30 +/* 800666A0 00063600 38 7F 00 08 */ addi r3, r31, 8 +/* 800666A4 00063604 48 05 66 C1 */ bl Update__17CTargetingManagerFfRC13CStateManager +lbl_800666A8: +/* 800666A8 00063608 FC 20 E0 90 */ fmr f1, f28 +/* 800666AC 0006360C 7F E3 FB 78 */ mr r3, r31 +/* 800666B0 00063610 7F C4 F3 78 */ mr r4, r30 +/* 800666B4 00063614 7F 65 DB 78 */ mr r5, r27 +/* 800666B8 00063618 48 00 11 65 */ bl UpdateHudDamage__9CSamusHudFfRC13CStateManagerUi +/* 800666BC 0006361C FC 20 E0 90 */ fmr f1, f28 +/* 800666C0 00063620 7F E3 FB 78 */ mr r3, r31 +/* 800666C4 00063624 7F C4 F3 78 */ mr r4, r30 +/* 800666C8 00063628 48 00 2E ED */ bl UpdateStaticInterference__9CSamusHudFfRC13CStateManager +/* 800666CC 0006362C 28 1D 00 00 */ cmplwi r29, 0 +/* 800666D0 00063630 41 82 01 44 */ beq lbl_80066814 +/* 800666D4 00063634 80 1F 02 BC */ lwz r0, 0x2bc(r31) +/* 800666D8 00063638 2C 00 00 05 */ cmpwi r0, 5 +/* 800666DC 0006363C 41 82 00 28 */ beq lbl_80066704 +/* 800666E0 00063640 FC 20 E0 90 */ fmr f1, f28 +/* 800666E4 00063644 7F E3 FB 78 */ mr r3, r31 +/* 800666E8 00063648 7F C4 F3 78 */ mr r4, r30 +/* 800666EC 0006364C 38 A0 00 00 */ li r5, 0 +/* 800666F0 00063650 48 00 2A C9 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb +/* 800666F4 00063654 FC 20 E0 90 */ fmr f1, f28 +/* 800666F8 00063658 7F E3 FB 78 */ mr r3, r31 +/* 800666FC 0006365C 7F C4 F3 78 */ mr r4, r30 +/* 80066700 00063660 48 00 30 75 */ bl UpdateFreeLook__9CSamusHudFfRC13CStateManager +lbl_80066704: +/* 80066704 00063664 80 7F 02 BC */ lwz r3, 0x2bc(r31) +/* 80066708 00063668 2C 03 00 04 */ cmpwi r3, 4 +/* 8006670C 0006366C 40 82 00 18 */ bne lbl_80066724 +/* 80066710 00063670 7F E3 FB 78 */ mr r3, r31 +/* 80066714 00063674 7F C4 F3 78 */ mr r4, r30 +/* 80066718 00063678 38 A0 00 00 */ li r5, 0 +/* 8006671C 0006367C 48 00 28 A9 */ bl UpdateBallMode__9CSamusHudFRC13CStateManagerb +/* 80066720 00063680 48 00 00 58 */ b lbl_80066778 +lbl_80066724: +/* 80066724 00063684 2C 03 00 00 */ cmpwi r3, 0 +/* 80066728 00063688 38 00 00 00 */ li r0, 0 +/* 8006672C 0006368C 41 80 00 10 */ blt lbl_8006673C +/* 80066730 00063690 2C 03 00 03 */ cmpwi r3, 3 +/* 80066734 00063694 41 81 00 08 */ bgt lbl_8006673C +/* 80066738 00063698 38 00 00 01 */ li r0, 1 +lbl_8006673C: +/* 8006673C 0006369C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80066740 000636A0 41 82 00 38 */ beq lbl_80066778 +/* 80066744 000636A4 FC 20 E0 90 */ fmr f1, f28 +/* 80066748 000636A8 7F E3 FB 78 */ mr r3, r31 +/* 8006674C 000636AC 7F C4 F3 78 */ mr r4, r30 +/* 80066750 000636B0 48 00 4F 65 */ bl UpdateThreatAssessment__9CSamusHudFfRC13CStateManager +/* 80066754 000636B4 FC 20 E0 90 */ fmr f1, f28 +/* 80066758 000636B8 7F E3 FB 78 */ mr r3, r31 +/* 8006675C 000636BC 7F C4 F3 78 */ mr r4, r30 +/* 80066760 000636C0 38 A0 00 00 */ li r5, 0 +/* 80066764 000636C4 48 00 29 31 */ bl UpdateMissile__9CSamusHudFfRC13CStateManagerb +/* 80066768 000636C8 FC 20 E0 90 */ fmr f1, f28 +/* 8006676C 000636CC 7F E3 FB 78 */ mr r3, r31 +/* 80066770 000636D0 7F C4 F3 78 */ mr r4, r30 +/* 80066774 000636D4 48 00 2F A9 */ bl UpdateVideoBands__9CSamusHudFfRC13CStateManager +lbl_80066778: +/* 80066778 000636D8 FC 20 E0 90 */ fmr f1, f28 +/* 8006677C 000636DC 7F E3 FB 78 */ mr r3, r31 +/* 80066780 000636E0 7F C4 F3 78 */ mr r4, r30 +/* 80066784 000636E4 48 00 33 F5 */ bl UpdateVisorAndBeamMenus__9CSamusHudFfRC13CStateManager +/* 80066788 000636E8 83 5E 08 4C */ lwz r26, 0x84c(r30) +/* 8006678C 000636EC 7F 43 D3 78 */ mr r3, r26 +/* 80066790 000636F0 4B FA BD A5 */ bl WasDamaged__7CPlayerCFv +/* 80066794 000636F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80066798 000636F8 41 82 00 7C */ beq lbl_80066814 +/* 8006679C 000636FC 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 800667A0 00063700 2C 00 00 00 */ cmpwi r0, 0 +/* 800667A4 00063704 40 82 00 70 */ bne lbl_80066814 +/* 800667A8 00063708 7F 44 D3 78 */ mr r4, r26 +/* 800667AC 0006370C 38 61 00 80 */ addi r3, r1, 0x80 +/* 800667B0 00063710 4B FA BD 59 */ bl GetDamageLocationWR__7CPlayerCFv +/* 800667B4 00063714 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 800667B8 00063718 7F 43 D3 78 */ mr r3, r26 +/* 800667BC 0006371C C0 21 00 84 */ lfs f1, 0x84(r1) +/* 800667C0 00063720 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 800667C4 00063724 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 800667C8 00063728 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 800667CC 0006372C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 800667D0 00063730 4B FA BD 5D */ bl GetDamageAmount__7CPlayerCFv +/* 800667D4 00063734 FF 60 08 90 */ fmr f27, f1 +/* 800667D8 00063738 7F 43 D3 78 */ mr r3, r26 +/* 800667DC 0006373C 4B FA BD 49 */ bl GetPrevDamageAmount__7CPlayerCFv +/* 800667E0 00063740 FC 00 08 90 */ fmr f0, f1 +/* 800667E4 00063744 80 81 00 9C */ lwz r4, 0x9c(r1) +/* 800667E8 00063748 80 C1 00 A0 */ lwz r6, 0xa0(r1) +/* 800667EC 0006374C FC 20 D8 90 */ fmr f1, f27 +/* 800667F0 00063750 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800667F4 00063754 7F E3 FB 78 */ mr r3, r31 +/* 800667F8 00063758 90 81 00 74 */ stw r4, 0x74(r1) +/* 800667FC 0006375C FC 40 00 90 */ fmr f2, f0 +/* 80066800 00063760 7F C5 F3 78 */ mr r5, r30 +/* 80066804 00063764 38 81 00 74 */ addi r4, r1, 0x74 +/* 80066808 00063768 90 C1 00 78 */ stw r6, 0x78(r1) +/* 8006680C 0006376C 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80066810 00063770 4B FF EB 01 */ bl ShowDamage__9CSamusHudF9CVector3fffRC13CStateManager +lbl_80066814: +/* 80066814 00063774 80 1F 05 54 */ lwz r0, 0x554(r31) +/* 80066818 00063778 C3 5F 05 84 */ lfs f26, 0x584(r31) +/* 8006681C 0006377C 2C 00 00 00 */ cmpwi r0, 0 +/* 80066820 00063780 40 82 00 28 */ bne lbl_80066848 +/* 80066824 00063784 C0 42 87 70 */ lfs f2, lbl_805AA490@sda21(r2) +/* 80066828 00063788 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 8006682C 0006378C EC 22 D7 3A */ fmadds f1, f2, f28, f26 +/* 80066830 00063790 D0 3F 05 84 */ stfs f1, 0x584(r31) +/* 80066834 00063794 C0 3F 05 84 */ lfs f1, 0x584(r31) +/* 80066838 00063798 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8006683C 0006379C 40 81 00 0C */ ble lbl_80066848 +/* 80066840 000637A0 EC 01 10 28 */ fsubs f0, f1, f2 +/* 80066844 000637A4 D0 1F 05 84 */ stfs f0, 0x584(r31) +lbl_80066848: +/* 80066848 000637A8 C0 1F 05 84 */ lfs f0, 0x584(r31) +/* 8006684C 000637AC FF 60 02 10 */ fabs f27, f0 +/* 80066850 000637B0 48 2E 37 5D */ bl White__6CColorFv +/* 80066854 000637B4 FC 00 D8 18 */ frsp f0, f27 +/* 80066858 000637B8 C0 22 87 74 */ lfs f1, lbl_805AA494@sda21(r2) +/* 8006685C 000637BC EF E1 00 32 */ fmuls f31, f1, f0 +/* 80066860 000637C0 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 +/* 80066864 000637C4 38 81 00 44 */ addi r4, r1, 0x44 +/* 80066868 000637C8 80 63 00 00 */ lwz r3, 0(r3) +/* 8006686C 000637CC 88 01 00 0A */ lbz r0, 0xa(r1) +/* 80066870 000637D0 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80066874 000637D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80066878 000637D8 80 7F 05 A0 */ lwz r3, 0x5a0(r31) +/* 8006687C 000637DC 48 26 3F F1 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80066880 000637E0 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80066884 000637E4 3B 60 00 00 */ li r27, 0 +/* 80066888 000637E8 4B FA 40 79 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 8006688C 000637EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80066890 000637F0 40 82 00 60 */ bne lbl_800668F0 +/* 80066894 000637F4 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 80066898 000637F8 FC 1A 08 40 */ fcmpo cr0, f26, f1 +/* 8006689C 000637FC 40 80 00 54 */ bge lbl_800668F0 +/* 800668A0 00063800 C0 1F 05 84 */ lfs f0, 0x584(r31) +/* 800668A4 00063804 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800668A8 00063808 4C 41 13 82 */ cror 2, 1, 2 +/* 800668AC 0006380C 40 82 00 44 */ bne lbl_800668F0 +/* 800668B0 00063810 80 7F 05 98 */ lwz r3, 0x598(r31) +/* 800668B4 00063814 81 83 00 00 */ lwz r12, 0(r3) +/* 800668B8 00063818 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800668BC 0006381C 7D 89 03 A6 */ mtctr r12 +/* 800668C0 00063820 4E 80 04 21 */ bctrl +/* 800668C4 00063824 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800668C8 00063828 41 82 00 28 */ beq lbl_800668F0 +/* 800668CC 0006382C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 800668D0 00063830 C0 3F 05 58 */ lfs f1, 0x558(r31) +/* 800668D4 00063834 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800668D8 00063838 41 82 00 14 */ beq lbl_800668EC +/* 800668DC 0006383C C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 800668E0 00063840 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800668E4 00063844 4C 41 13 82 */ cror 2, 1, 2 +/* 800668E8 00063848 40 82 00 08 */ bne lbl_800668F0 +lbl_800668EC: +/* 800668EC 0006384C 3B 60 00 01 */ li r27, 1 +lbl_800668F0: +/* 800668F0 00063850 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 800668F4 00063854 41 82 00 28 */ beq lbl_8006691C +/* 800668F8 00063858 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800668FC 0006385C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80066900 00063860 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80066904 00063864 38 80 05 A2 */ li r4, 0x5a2 +/* 80066908 00063868 38 A0 00 7F */ li r5, 0x7f +/* 8006690C 0006386C 38 C0 00 40 */ li r6, 0x40 +/* 80066910 00063870 38 E0 00 00 */ li r7, 0 +/* 80066914 00063874 39 20 00 00 */ li r9, 0 +/* 80066918 00063878 48 28 34 5D */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8006691C: +/* 8006691C 0006387C 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 80066920 00063880 28 03 00 00 */ cmplwi r3, 0 +/* 80066924 00063884 40 82 00 0C */ bne lbl_80066930 +/* 80066928 00063888 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 8006692C 0006388C 48 00 00 14 */ b lbl_80066940 +lbl_80066930: +/* 80066930 00063890 81 83 00 00 */ lwz r12, 0(r3) +/* 80066934 00063894 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80066938 00063898 7D 89 03 A6 */ mtctr r12 +/* 8006693C 0006389C 4E 80 04 21 */ bctrl +lbl_80066940: +/* 80066940 000638A0 C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) +/* 80066944 000638A4 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80066948 000638A8 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 8006694C 000638AC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80066950 000638B0 C0 3F 05 58 */ lfs f1, 0x558(r31) +/* 80066954 000638B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066958 000638B8 40 81 00 28 */ ble lbl_80066980 +/* 8006695C 000638BC C0 0D 83 50 */ lfs f0, lbl_805A6F10@sda21(r13) +/* 80066960 000638C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066964 000638C4 40 80 00 0C */ bge lbl_80066970 +/* 80066968 000638C8 38 7F 05 58 */ addi r3, r31, 0x558 +/* 8006696C 000638CC 48 00 00 08 */ b lbl_80066974 +lbl_80066970: +/* 80066970 000638D0 38 6D 83 50 */ addi r3, r13, lbl_805A6F10@sda21 +lbl_80066974: +/* 80066974 000638D4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80066978 000638D8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8006697C 000638DC 48 00 00 44 */ b lbl_800669C0 +lbl_80066980: +/* 80066980 000638E0 80 7F 05 9C */ lwz r3, 0x59c(r31) +/* 80066984 000638E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80066988 000638E8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8006698C 000638EC 7D 89 03 A6 */ mtctr r12 +/* 80066990 000638F0 4E 80 04 21 */ bctrl +/* 80066994 000638F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80066998 000638F8 40 82 00 28 */ bne lbl_800669C0 +/* 8006699C 000638FC 80 7F 05 98 */ lwz r3, 0x598(r31) +/* 800669A0 00063900 81 83 00 00 */ lwz r12, 0(r3) +/* 800669A4 00063904 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800669A8 00063908 7D 89 03 A6 */ mtctr r12 +/* 800669AC 0006390C 4E 80 04 21 */ bctrl +/* 800669B0 00063910 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800669B4 00063914 40 82 00 0C */ bne lbl_800669C0 +/* 800669B8 00063918 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 800669BC 0006391C D0 01 00 4C */ stfs f0, 0x4c(r1) +lbl_800669C0: +/* 800669C0 00063920 80 7F 02 B4 */ lwz r3, 0x2b4(r31) +/* 800669C4 00063924 28 03 00 00 */ cmplwi r3, 0 +/* 800669C8 00063928 41 82 00 14 */ beq lbl_800669DC +/* 800669CC 0006392C C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 800669D0 00063930 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800669D4 00063934 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800669D8 00063938 48 12 8A A5 */ bl SetAlpha__23CHudBossEnergyInterfaceFf +lbl_800669DC: +/* 800669DC 0006393C 80 7F 05 50 */ lwz r3, 0x550(r31) +/* 800669E0 00063940 28 03 00 00 */ cmplwi r3, 0 +/* 800669E4 00063944 41 82 00 78 */ beq lbl_80066A5C +/* 800669E8 00063948 80 83 00 00 */ lwz r4, 0(r3) +/* 800669EC 0006394C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800669F0 00063950 28 00 00 00 */ cmplwi r0, 0 +/* 800669F4 00063954 41 82 00 68 */ beq lbl_80066A5C +/* 800669F8 00063958 48 2D A4 15 */ bl GetObj__6CTokenFv +/* 800669FC 0006395C 80 63 00 04 */ lwz r3, 4(r3) +/* 80066A00 00063960 80 9F 05 54 */ lwz r4, 0x554(r31) +/* 80066A04 00063964 48 2E FC F9 */ bl GetString__12CStringTableCFi +/* 80066A08 00063968 7C 64 1B 78 */ mr r4, r3 +/* 80066A0C 0006396C 38 61 00 64 */ addi r3, r1, 0x64 +/* 80066A10 00063970 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80066A14 00063974 38 A0 FF FF */ li r5, -1 +/* 80066A18 00063978 48 2D 6D A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80066A1C 0006397C 7F E3 FB 78 */ mr r3, r31 +/* 80066A20 00063980 38 81 00 64 */ addi r4, r1, 0x64 +/* 80066A24 00063984 38 BF 05 48 */ addi r5, r31, 0x548 +/* 80066A28 00063988 4B FF DD D9 */ bl "SetMessage__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" +/* 80066A2C 0006398C 38 61 00 64 */ addi r3, r1, 0x64 +/* 80066A30 00063990 48 2D 67 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80066A34 00063994 83 7F 05 50 */ lwz r27, 0x550(r31) +/* 80066A38 00063998 28 1B 00 00 */ cmplwi r27, 0 +/* 80066A3C 0006399C 41 82 00 18 */ beq lbl_80066A54 +/* 80066A40 000639A0 7F 63 DB 78 */ mr r3, r27 +/* 80066A44 000639A4 38 80 00 00 */ li r4, 0 +/* 80066A48 000639A8 48 2D A3 F9 */ bl __dt__6CTokenFv +/* 80066A4C 000639AC 7F 63 DB 78 */ mr r3, r27 +/* 80066A50 000639B0 48 2A EE E1 */ bl Free__7CMemoryFPCv +lbl_80066A54: +/* 80066A54 000639B4 38 00 00 00 */ li r0, 0 +/* 80066A58 000639B8 90 1F 05 50 */ stw r0, 0x550(r31) +lbl_80066A5C: +/* 80066A5C 000639BC C0 3F 05 58 */ lfs f1, 0x558(r31) +/* 80066A60 000639C0 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80066A64 000639C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066A68 000639C8 40 81 00 60 */ ble lbl_80066AC8 +/* 80066A6C 000639CC EC 21 E0 28 */ fsubs f1, f1, f28 +/* 80066A70 000639D0 C0 0D 83 54 */ lfs f0, lbl_805A6F14@sda21(r13) +/* 80066A74 000639D4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80066A78 000639D8 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80066A7C 000639DC 40 80 00 0C */ bge lbl_80066A88 +/* 80066A80 000639E0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80066A84 000639E4 48 00 00 08 */ b lbl_80066A8C +lbl_80066A88: +/* 80066A88 000639E8 38 6D 83 54 */ addi r3, r13, lbl_805A6F14@sda21 +lbl_80066A8C: +/* 80066A8C 000639EC C0 03 00 00 */ lfs f0, 0(r3) +/* 80066A90 000639F0 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 80066A94 000639F4 D0 1F 05 58 */ stfs f0, 0x558(r31) +/* 80066A98 000639F8 C0 1F 05 58 */ lfs f0, 0x558(r31) +/* 80066A9C 000639FC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80066AA0 00063A00 40 82 00 28 */ bne lbl_80066AC8 +/* 80066AA4 00063A04 80 7F 05 9C */ lwz r3, 0x59c(r31) +/* 80066AA8 00063A08 38 80 00 00 */ li r4, 0 +/* 80066AAC 00063A0C C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) +/* 80066AB0 00063A10 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80066AB4 00063A14 48 26 16 65 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff +/* 80066AB8 00063A18 80 7F 05 98 */ lwz r3, 0x598(r31) +/* 80066ABC 00063A1C 38 80 00 00 */ li r4, 0 +/* 80066AC0 00063A20 38 A0 00 01 */ li r5, 1 +/* 80066AC4 00063A24 48 26 3C 25 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +lbl_80066AC8: +/* 80066AC8 00063A28 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 80066ACC 00063A2C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80066AD0 00063A30 C3 E2 87 28 */ lfs f31, lbl_805AA448@sda21(r2) +/* 80066AD4 00063A34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066AD8 00063A38 40 80 00 0C */ bge lbl_80066AE4 +/* 80066ADC 00063A3C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80066AE0 00063A40 48 00 00 08 */ b lbl_80066AE8 +lbl_80066AE4: +/* 80066AE4 00063A44 38 81 00 4C */ addi r4, r1, 0x4c +lbl_80066AE8: +/* 80066AE8 00063A48 80 7F 05 98 */ lwz r3, 0x598(r31) +/* 80066AEC 00063A4C C3 44 00 00 */ lfs f26, 0(r4) +/* 80066AF0 00063A50 81 83 00 00 */ lwz r12, 0(r3) +/* 80066AF4 00063A54 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80066AF8 00063A58 7D 89 03 A6 */ mtctr r12 +/* 80066AFC 00063A5C 4E 80 04 21 */ bctrl +/* 80066B00 00063A60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80066B04 00063A64 41 82 00 0C */ beq lbl_80066B10 +/* 80066B08 00063A68 83 5F 05 98 */ lwz r26, 0x598(r31) +/* 80066B0C 00063A6C 48 00 00 08 */ b lbl_80066B14 +lbl_80066B10: +/* 80066B10 00063A70 83 5F 05 9C */ lwz r26, 0x59c(r31) +lbl_80066B14: +/* 80066B14 00063A74 48 2E 34 99 */ bl White__6CColorFv +/* 80066B18 00063A78 C0 02 87 74 */ lfs f0, lbl_805AA494@sda21(r2) +/* 80066B1C 00063A7C EF C0 06 B2 */ fmuls f30, f0, f26 +/* 80066B20 00063A80 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 80066B24 00063A84 38 81 00 38 */ addi r4, r1, 0x38 +/* 80066B28 00063A88 80 A3 00 00 */ lwz r5, 0(r3) +/* 80066B2C 00063A8C 7F 43 D3 78 */ mr r3, r26 +/* 80066B30 00063A90 88 01 00 09 */ lbz r0, 9(r1) +/* 80066B34 00063A94 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 80066B38 00063A98 90 01 00 38 */ stw r0, 0x38(r1) +/* 80066B3C 00063A9C 48 26 3D 31 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80066B40 00063AA0 80 1F 05 98 */ lwz r0, 0x598(r31) +/* 80066B44 00063AA4 7C 1A 00 40 */ cmplw r26, r0 +/* 80066B48 00063AA8 40 82 01 48 */ bne lbl_80066C90 +/* 80066B4C 00063AAC C0 3F 05 58 */ lfs f1, 0x558(r31) +/* 80066B50 00063AB0 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80066B54 00063AB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066B58 00063AB8 40 81 00 28 */ ble lbl_80066B80 +/* 80066B5C 00063ABC C0 0D 83 58 */ lfs f0, lbl_805A6F18@sda21(r13) +/* 80066B60 00063AC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066B64 00063AC4 40 80 00 0C */ bge lbl_80066B70 +/* 80066B68 00063AC8 38 7F 05 58 */ addi r3, r31, 0x558 +/* 80066B6C 00063ACC 48 00 00 08 */ b lbl_80066B74 +lbl_80066B70: +/* 80066B70 00063AD0 38 6D 83 58 */ addi r3, r13, lbl_805A6F18@sda21 +lbl_80066B74: +/* 80066B74 00063AD4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80066B78 00063AD8 D0 1F 05 60 */ stfs f0, 0x560(r31) +/* 80066B7C 00063ADC 48 00 00 30 */ b lbl_80066BAC +lbl_80066B80: +/* 80066B80 00063AE0 C0 3F 05 60 */ lfs f1, 0x560(r31) +/* 80066B84 00063AE4 C0 0D 83 5C */ lfs f0, lbl_805A6F1C@sda21(r13) +/* 80066B88 00063AE8 EC 21 E0 2A */ fadds f1, f1, f28 +/* 80066B8C 00063AEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066B90 00063AF0 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80066B94 00063AF4 40 80 00 0C */ bge lbl_80066BA0 +/* 80066B98 00063AF8 38 61 00 34 */ addi r3, r1, 0x34 +/* 80066B9C 00063AFC 48 00 00 08 */ b lbl_80066BA4 +lbl_80066BA0: +/* 80066BA0 00063B00 38 6D 83 5C */ addi r3, r13, lbl_805A6F1C@sda21 +lbl_80066BA4: +/* 80066BA4 00063B04 C0 03 00 00 */ lfs f0, 0(r3) +/* 80066BA8 00063B08 D0 1F 05 60 */ stfs f0, 0x560(r31) +lbl_80066BAC: +/* 80066BAC 00063B0C C0 5F 05 60 */ lfs f2, 0x560(r31) +/* 80066BB0 00063B10 C0 02 87 78 */ lfs f0, lbl_805AA498@sda21(r2) +/* 80066BB4 00063B14 C0 22 87 7C */ lfs f1, lbl_805AA49C@sda21(r2) +/* 80066BB8 00063B18 EC 42 00 28 */ fsubs f2, f2, f0 +/* 80066BBC 00063B1C C0 0D 83 60 */ lfs f0, lbl_805A6F20@sda21(r13) +/* 80066BC0 00063B20 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80066BC4 00063B24 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80066BC8 00063B28 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80066BCC 00063B2C 40 80 00 0C */ bge lbl_80066BD8 +/* 80066BD0 00063B30 38 61 00 30 */ addi r3, r1, 0x30 +/* 80066BD4 00063B34 48 00 00 08 */ b lbl_80066BDC +lbl_80066BD8: +/* 80066BD8 00063B38 38 6D 83 60 */ addi r3, r13, lbl_805A6F20@sda21 +lbl_80066BDC: +/* 80066BDC 00063B3C C0 43 00 00 */ lfs f2, 0(r3) +/* 80066BE0 00063B40 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) +/* 80066BE4 00063B44 FC 04 10 00 */ fcmpu cr0, f4, f2 +/* 80066BE8 00063B48 41 82 00 64 */ beq lbl_80066C4C +/* 80066BEC 00063B4C C0 22 87 80 */ lfs f1, lbl_805AA4A0@sda21(r2) +/* 80066BF0 00063B50 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80066BF4 00063B54 40 80 00 0C */ bge lbl_80066C00 +/* 80066BF8 00063B58 EF E2 08 24 */ fdivs f31, f2, f1 +/* 80066BFC 00063B5C 48 00 00 50 */ b lbl_80066C4C +lbl_80066C00: +/* 80066C00 00063B60 C0 02 87 84 */ lfs f0, lbl_805AA4A4@sda21(r2) +/* 80066C04 00063B64 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80066C08 00063B68 40 80 00 24 */ bge lbl_80066C2C +/* 80066C0C 00063B6C EC 42 08 28 */ fsubs f2, f2, f1 +/* 80066C10 00063B70 C0 22 87 90 */ lfs f1, lbl_805AA4B0@sda21(r2) +/* 80066C14 00063B74 C0 62 87 8C */ lfs f3, lbl_805AA4AC@sda21(r2) +/* 80066C18 00063B78 C0 02 87 88 */ lfs f0, lbl_805AA4A8@sda21(r2) +/* 80066C1C 00063B7C EC 22 08 24 */ fdivs f1, f2, f1 +/* 80066C20 00063B80 EC 24 08 28 */ fsubs f1, f4, f1 +/* 80066C24 00063B84 EF E3 00 7A */ fmadds f31, f3, f1, f0 +/* 80066C28 00063B88 48 00 00 24 */ b lbl_80066C4C +lbl_80066C2C: +/* 80066C2C 00063B8C EC 42 08 28 */ fsubs f2, f2, f1 +/* 80066C30 00063B90 C0 02 87 90 */ lfs f0, lbl_805AA4B0@sda21(r2) +/* 80066C34 00063B94 C0 22 87 94 */ lfs f1, lbl_805AA4B4@sda21(r2) +/* 80066C38 00063B98 C0 62 87 8C */ lfs f3, lbl_805AA4AC@sda21(r2) +/* 80066C3C 00063B9C EC 42 00 28 */ fsubs f2, f2, f0 +/* 80066C40 00063BA0 C0 02 87 88 */ lfs f0, lbl_805AA4A8@sda21(r2) +/* 80066C44 00063BA4 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80066C48 00063BA8 EF E3 00 7A */ fmadds f31, f3, f1, f0 +lbl_80066C4C: +/* 80066C4C 00063BAC C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) +/* 80066C50 00063BB0 FC 20 F8 90 */ fmr f1, f31 +/* 80066C54 00063BB4 80 9F 05 98 */ lwz r4, 0x598(r31) +/* 80066C58 00063BB8 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80066C5C 00063BBC FC 60 10 90 */ fmr f3, f2 +/* 80066C60 00063BC0 3B 44 00 74 */ addi r26, r4, 0x74 +/* 80066C64 00063BC4 48 2A C5 A5 */ bl Scale__12CTransform4fFfff +/* 80066C68 00063BC8 7F 44 D3 78 */ mr r4, r26 +/* 80066C6C 00063BCC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80066C70 00063BD0 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 80066C74 00063BD4 48 2A BC DD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80066C78 00063BD8 83 7F 05 98 */ lwz r27, 0x598(r31) +/* 80066C7C 00063BDC 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 80066C80 00063BE0 38 7B 00 04 */ addi r3, r27, 4 +/* 80066C84 00063BE4 48 2A BE BD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80066C88 00063BE8 7F 63 DB 78 */ mr r3, r27 +/* 80066C8C 00063BEC 48 25 DB 5D */ bl RecalculateTransforms__10CGuiObjectFv +lbl_80066C90: +/* 80066C90 00063BF0 80 7F 05 9C */ lwz r3, 0x59c(r31) +/* 80066C94 00063BF4 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80066C98 00063BF8 48 26 13 7D */ bl GetNumCharactersPrinted__15CGuiTextSupportCFv +/* 80066C9C 00063BFC 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80066CA0 00063C00 C0 1F 05 5C */ lfs f0, 0x55c(r31) +/* 80066CA4 00063C04 C0 43 02 78 */ lfs f2, 0x278(r3) +/* 80066CA8 00063C08 EC 00 10 2A */ fadds f0, f0, f2 +/* 80066CAC 00063C0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066CB0 00063C10 4C 41 13 82 */ cror 2, 1, 2 +/* 80066CB4 00063C14 40 82 00 54 */ bne lbl_80066D08 +/* 80066CB8 00063C18 D0 1F 05 5C */ stfs f0, 0x55c(r31) +/* 80066CBC 00063C1C 80 7F 05 98 */ lwz r3, 0x598(r31) +/* 80066CC0 00063C20 81 83 00 00 */ lwz r12, 0(r3) +/* 80066CC4 00063C24 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80066CC8 00063C28 7D 89 03 A6 */ mtctr r12 +/* 80066CCC 00063C2C 4E 80 04 21 */ bctrl +/* 80066CD0 00063C30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80066CD4 00063C34 41 82 00 10 */ beq lbl_80066CE4 +/* 80066CD8 00063C38 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 80066CDC 00063C3C FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80066CE0 00063C40 40 82 00 28 */ bne lbl_80066D08 +lbl_80066CE4: +/* 80066CE4 00063C44 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80066CE8 00063C48 38 61 00 2C */ addi r3, r1, 0x2c +/* 80066CEC 00063C4C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80066CF0 00063C50 38 80 05 8A */ li r4, 0x58a +/* 80066CF4 00063C54 38 A0 00 7F */ li r5, 0x7f +/* 80066CF8 00063C58 38 C0 00 40 */ li r6, 0x40 +/* 80066CFC 00063C5C 38 E0 00 00 */ li r7, 0 +/* 80066D00 00063C60 39 20 00 00 */ li r9, 0 +/* 80066D04 00063C64 48 28 30 71 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_80066D08: +/* 80066D08 00063C68 7F C3 F3 78 */ mr r3, r30 +/* 80066D0C 00063C6C 4B FD E3 69 */ bl GetEscapeSequenceTimer__13CStateManagerCFv +/* 80066D10 00063C70 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80066D14 00063C74 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066D18 00063C78 40 81 01 58 */ ble lbl_80066E70 +/* 80066D1C 00063C7C C0 02 87 98 */ lfs f0, lbl_805AA4B8@sda21(r2) +/* 80066D20 00063C80 FC 40 08 1E */ fctiwz f2, f1 +/* 80066D24 00063C84 3C 80 88 89 */ lis r4, 0x88888889@ha +/* 80066D28 00063C88 3C 60 51 EC */ lis r3, 0x51EB851F@ha +/* 80066D2C 00063C8C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80066D30 00063C90 3C A0 80 3D */ lis r5, lbl_803CD0C0@ha +/* 80066D34 00063C94 D8 41 01 08 */ stfd f2, 0x108(r1) +/* 80066D38 00063C98 38 C5 D0 C0 */ addi r6, r5, lbl_803CD0C0@l +/* 80066D3C 00063C9C 38 A4 88 89 */ addi r5, r4, 0x88888889@l +/* 80066D40 00063CA0 FC 00 00 1E */ fctiwz f0, f0 +/* 80066D44 00063CA4 81 41 01 0C */ lwz r10, 0x10c(r1) +/* 80066D48 00063CA8 38 03 85 1F */ addi r0, r3, 0x51EB851F@l +/* 80066D4C 00063CAC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80066D50 00063CB0 38 86 01 2C */ addi r4, r6, 0x12c +/* 80066D54 00063CB4 D8 01 01 10 */ stfd f0, 0x110(r1) +/* 80066D58 00063CB8 7C A5 50 96 */ mulhw r5, r5, r10 +/* 80066D5C 00063CBC 80 E1 01 14 */ lwz r7, 0x114(r1) +/* 80066D60 00063CC0 7C C5 52 14 */ add r6, r5, r10 +/* 80066D64 00063CC4 7C C5 2E 70 */ srawi r5, r6, 5 +/* 80066D68 00063CC8 7C C6 2E 70 */ srawi r6, r6, 5 +/* 80066D6C 00063CCC 7C 00 38 96 */ mulhw r0, r0, r7 +/* 80066D70 00063CD0 54 A9 0F FE */ srwi r9, r5, 0x1f +/* 80066D74 00063CD4 54 C8 0F FE */ srwi r8, r6, 0x1f +/* 80066D78 00063CD8 7C A5 4A 14 */ add r5, r5, r9 +/* 80066D7C 00063CDC 7D 06 42 14 */ add r8, r6, r8 +/* 80066D80 00063CE0 7C 00 2E 70 */ srawi r0, r0, 5 +/* 80066D84 00063CE4 54 06 0F FE */ srwi r6, r0, 0x1f +/* 80066D88 00063CE8 7C 00 32 14 */ add r0, r0, r6 +/* 80066D8C 00063CEC 1C C8 00 3C */ mulli r6, r8, 0x3c +/* 80066D90 00063CF0 1C 00 00 64 */ mulli r0, r0, 0x64 +/* 80066D94 00063CF4 7C C6 50 50 */ subf r6, r6, r10 +/* 80066D98 00063CF8 7C E0 38 50 */ subf r7, r0, r7 +/* 80066D9C 00063CFC 4C C6 31 82 */ crclr 6 +/* 80066DA0 00063D00 48 32 6F 3D */ bl sprintf +/* 80066DA4 00063D04 38 61 00 54 */ addi r3, r1, 0x54 +/* 80066DA8 00063D08 38 81 00 8C */ addi r4, r1, 0x8c +/* 80066DAC 00063D0C 38 C1 00 0C */ addi r6, r1, 0xc +/* 80066DB0 00063D10 38 A0 FF FF */ li r5, -1 +/* 80066DB4 00063D14 48 2D 73 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80066DB8 00063D18 80 7F 05 94 */ lwz r3, 0x594(r31) +/* 80066DBC 00063D1C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80066DC0 00063D20 38 A0 00 00 */ li r5, 0 +/* 80066DC4 00063D24 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80066DC8 00063D28 48 26 2D 41 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80066DCC 00063D2C 38 61 00 54 */ addi r3, r1, 0x54 +/* 80066DD0 00063D30 48 2D 6D 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80066DD4 00063D34 80 7F 05 94 */ lwz r3, 0x594(r31) +/* 80066DD8 00063D38 38 80 00 01 */ li r4, 1 +/* 80066DDC 00063D3C 48 26 38 51 */ bl SetIsVisible__10CGuiWidgetFb +/* 80066DE0 00063D40 C0 3F 05 58 */ lfs f1, 0x558(r31) +/* 80066DE4 00063D44 C0 0D 83 64 */ lfs f0, lbl_805A6F24@sda21(r13) +/* 80066DE8 00063D48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066DEC 00063D4C 40 80 00 0C */ bge lbl_80066DF8 +/* 80066DF0 00063D50 38 7F 05 58 */ addi r3, r31, 0x558 +/* 80066DF4 00063D54 48 00 00 08 */ b lbl_80066DFC +lbl_80066DF8: +/* 80066DF8 00063D58 38 6D 83 64 */ addi r3, r13, lbl_805A6F24@sda21 +lbl_80066DFC: +/* 80066DFC 00063D5C C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) +/* 80066E00 00063D60 C0 23 00 00 */ lfs f1, 0(r3) +/* 80066E04 00063D64 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80066E08 00063D68 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80066E0C 00063D6C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066E10 00063D70 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80066E14 00063D74 40 80 00 0C */ bge lbl_80066E20 +/* 80066E18 00063D78 38 61 00 28 */ addi r3, r1, 0x28 +/* 80066E1C 00063D7C 48 00 00 08 */ b lbl_80066E24 +lbl_80066E20: +/* 80066E20 00063D80 38 61 00 50 */ addi r3, r1, 0x50 +lbl_80066E24: +/* 80066E24 00063D84 C0 03 00 00 */ lfs f0, 0(r3) +/* 80066E28 00063D88 38 81 00 48 */ addi r4, r1, 0x48 +/* 80066E2C 00063D8C 38 6D 83 68 */ addi r3, r13, lbl_805A6F28@sda21 +/* 80066E30 00063D90 38 AD 83 6C */ addi r5, r13, lbl_805A6F2C@sda21 +/* 80066E34 00063D94 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80066E38 00063D98 4B FA 54 7D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80066E3C 00063D9C C3 C3 00 00 */ lfs f30, 0(r3) +/* 80066E40 00063DA0 48 2E 31 6D */ bl White__6CColorFv +/* 80066E44 00063DA4 C0 02 87 74 */ lfs f0, lbl_805AA494@sda21(r2) +/* 80066E48 00063DA8 EF A0 07 B2 */ fmuls f29, f0, f30 +/* 80066E4C 00063DAC F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 +/* 80066E50 00063DB0 38 81 00 24 */ addi r4, r1, 0x24 +/* 80066E54 00063DB4 80 63 00 00 */ lwz r3, 0(r3) +/* 80066E58 00063DB8 88 01 00 08 */ lbz r0, 8(r1) +/* 80066E5C 00063DBC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80066E60 00063DC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80066E64 00063DC4 80 7F 05 94 */ lwz r3, 0x594(r31) +/* 80066E68 00063DC8 48 26 3A 05 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80066E6C 00063DCC 48 00 00 10 */ b lbl_80066E7C +lbl_80066E70: +/* 80066E70 00063DD0 80 7F 05 94 */ lwz r3, 0x594(r31) +/* 80066E74 00063DD4 38 80 00 00 */ li r4, 0 +/* 80066E78 00063DD8 48 26 37 B5 */ bl SetIsVisible__10CGuiWidgetFb +lbl_80066E7C: +/* 80066E7C 00063DDC FC 20 E0 90 */ fmr f1, f28 +/* 80066E80 00063DE0 80 7F 02 74 */ lwz r3, 0x274(r31) +/* 80066E84 00063DE4 48 25 B8 81 */ bl Update__9CGuiFrameFf +/* 80066E88 00063DE8 80 7F 02 88 */ lwz r3, 0x288(r31) +/* 80066E8C 00063DEC 28 03 00 00 */ cmplwi r3, 0 +/* 80066E90 00063DF0 41 82 00 0C */ beq lbl_80066E9C +/* 80066E94 00063DF4 FC 20 E0 90 */ fmr f1, f28 +/* 80066E98 00063DF8 48 25 B8 6D */ bl Update__9CGuiFrameFf +lbl_80066E9C: +/* 80066E9C 00063DFC 80 7F 02 B4 */ lwz r3, 0x2b4(r31) +/* 80066EA0 00063E00 28 03 00 00 */ cmplwi r3, 0 +/* 80066EA4 00063E04 41 82 00 0C */ beq lbl_80066EB0 +/* 80066EA8 00063E08 FC 20 E0 90 */ fmr f1, f28 +/* 80066EAC 00063E0C 48 12 84 B9 */ bl Update__23CHudBossEnergyInterfaceFf +lbl_80066EB0: +/* 80066EB0 00063E10 80 7F 02 8C */ lwz r3, 0x28c(r31) +/* 80066EB4 00063E14 28 03 00 00 */ cmplwi r3, 0 +/* 80066EB8 00063E18 41 82 00 10 */ beq lbl_80066EC8 +/* 80066EBC 00063E1C FC 20 E0 90 */ fmr f1, f28 +/* 80066EC0 00063E20 C0 5F 05 80 */ lfs f2, 0x580(r31) +/* 80066EC4 00063E24 48 12 87 5D */ bl Update__19CHudEnergyInterfaceFff +lbl_80066EC8: +/* 80066EC8 00063E28 80 7F 02 90 */ lwz r3, 0x290(r31) +/* 80066ECC 00063E2C 28 03 00 00 */ cmplwi r3, 0 +/* 80066ED0 00063E30 41 82 00 18 */ beq lbl_80066EE8 +/* 80066ED4 00063E34 81 83 00 00 */ lwz r12, 0(r3) +/* 80066ED8 00063E38 FC 20 E0 90 */ fmr f1, f28 +/* 80066EDC 00063E3C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80066EE0 00063E40 7D 89 03 A6 */ mtctr r12 +/* 80066EE4 00063E44 4E 80 04 21 */ bctrl +lbl_80066EE8: +/* 80066EE8 00063E48 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 80066EEC 00063E4C 28 03 00 00 */ cmplwi r3, 0 +/* 80066EF0 00063E50 41 82 00 10 */ beq lbl_80066F00 +/* 80066EF4 00063E54 FC 20 E0 90 */ fmr f1, f28 +/* 80066EF8 00063E58 7F C4 F3 78 */ mr r4, r30 +/* 80066EFC 00063E5C 48 12 A0 DD */ bl Update__20CHudMissileInterfaceFfRC13CStateManager +lbl_80066F00: +/* 80066F00 00063E60 80 7F 02 98 */ lwz r3, 0x298(r31) +/* 80066F04 00063E64 28 03 00 00 */ cmplwi r3, 0 +/* 80066F08 00063E68 41 82 00 18 */ beq lbl_80066F20 +/* 80066F0C 00063E6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80066F10 00063E70 FC 20 E0 90 */ fmr f1, f28 +/* 80066F14 00063E74 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80066F18 00063E78 7D 89 03 A6 */ mtctr r12 +/* 80066F1C 00063E7C 4E 80 04 21 */ bctrl +lbl_80066F20: +/* 80066F20 00063E80 80 7F 02 A0 */ lwz r3, 0x2a0(r31) +/* 80066F24 00063E84 28 03 00 00 */ cmplwi r3, 0 +/* 80066F28 00063E88 41 82 00 0C */ beq lbl_80066F34 +/* 80066F2C 00063E8C FC 20 E0 90 */ fmr f1, f28 +/* 80066F30 00063E90 48 12 9B 95 */ bl Update__19CHudHelmetInterfaceFf +lbl_80066F34: +/* 80066F34 00063E94 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80066F38 00063E98 80 9E 08 B8 */ lwz r4, 0x8b8(r30) +/* 80066F3C 00063E9C 80 03 03 A8 */ lwz r0, 0x3a8(r3) +/* 80066F40 00063EA0 80 64 00 00 */ lwz r3, 0(r4) +/* 80066F44 00063EA4 2C 00 00 00 */ cmpwi r0, 0 +/* 80066F48 00063EA8 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80066F4C 00063EAC 80 A3 00 18 */ lwz r5, 0x18(r3) +/* 80066F50 00063EB0 40 82 00 38 */ bne lbl_80066F88 +/* 80066F54 00063EB4 C0 42 87 70 */ lfs f2, lbl_805AA490@sda21(r2) +/* 80066F58 00063EB8 C0 3F 02 F0 */ lfs f1, 0x2f0(r31) +/* 80066F5C 00063EBC C0 0D 83 70 */ lfs f0, lbl_805A6F30@sda21(r13) +/* 80066F60 00063EC0 EC 22 0F 3A */ fmadds f1, f2, f28, f1 +/* 80066F64 00063EC4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80066F68 00063EC8 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80066F6C 00063ECC 40 80 00 0C */ bge lbl_80066F78 +/* 80066F70 00063ED0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80066F74 00063ED4 48 00 00 08 */ b lbl_80066F7C +lbl_80066F78: +/* 80066F78 00063ED8 38 8D 83 70 */ addi r4, r13, lbl_805A6F30@sda21 +lbl_80066F7C: +/* 80066F7C 00063EDC C0 04 00 00 */ lfs f0, 0(r4) +/* 80066F80 00063EE0 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) +/* 80066F84 00063EE4 48 00 00 34 */ b lbl_80066FB8 +lbl_80066F88: +/* 80066F88 00063EE8 C0 42 87 70 */ lfs f2, lbl_805AA490@sda21(r2) +/* 80066F8C 00063EEC C0 3F 02 F0 */ lfs f1, 0x2f0(r31) +/* 80066F90 00063EF0 C0 0D 83 74 */ lfs f0, lbl_805A6F34@sda21(r13) +/* 80066F94 00063EF4 EC 22 0F 3C */ fnmsubs f1, f2, f28, f1 +/* 80066F98 00063EF8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80066F9C 00063EFC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80066FA0 00063F00 40 80 00 0C */ bge lbl_80066FAC +/* 80066FA4 00063F04 38 81 00 1C */ addi r4, r1, 0x1c +/* 80066FA8 00063F08 48 00 00 08 */ b lbl_80066FB0 +lbl_80066FAC: +/* 80066FAC 00063F0C 38 8D 83 74 */ addi r4, r13, lbl_805A6F34@sda21 +lbl_80066FB0: +/* 80066FB0 00063F10 C0 04 00 00 */ lfs f0, 0(r4) +/* 80066FB4 00063F14 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) +lbl_80066FB8: +/* 80066FB8 00063F18 2C 00 00 02 */ cmpwi r0, 2 +/* 80066FBC 00063F1C C3 42 87 34 */ lfs f26, lbl_805AA454@sda21(r2) +/* 80066FC0 00063F20 41 82 00 1C */ beq lbl_80066FDC +/* 80066FC4 00063F24 2C 05 00 02 */ cmpwi r5, 2 +/* 80066FC8 00063F28 40 82 00 10 */ bne lbl_80066FD8 +/* 80066FCC 00063F2C 48 02 A8 99 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 80066FD0 00063F30 FF 40 08 90 */ fmr f26, f1 +/* 80066FD4 00063F34 48 00 00 08 */ b lbl_80066FDC +lbl_80066FD8: +/* 80066FD8 00063F38 C3 42 87 28 */ lfs f26, lbl_805AA448@sda21(r2) +lbl_80066FDC: +/* 80066FDC 00063F3C 80 7F 02 A4 */ lwz r3, 0x2a4(r31) +/* 80066FE0 00063F40 28 03 00 00 */ cmplwi r3, 0 +/* 80066FE4 00063F44 41 82 00 34 */ beq lbl_80067018 +/* 80066FE8 00063F48 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80066FEC 00063F4C 88 04 01 E4 */ lbz r0, 0x1e4(r4) +/* 80066FF0 00063F50 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80066FF4 00063F54 41 82 00 0C */ beq lbl_80067000 +/* 80066FF8 00063F58 FC 20 D0 90 */ fmr f1, f26 +/* 80066FFC 00063F5C 48 00 00 08 */ b lbl_80067004 +lbl_80067000: +/* 80067000 00063F60 C0 3F 02 F0 */ lfs f1, 0x2f0(r31) +lbl_80067004: +/* 80067004 00063F64 48 12 D2 D5 */ bl UpdateHudAlpha__17CHudVisorBeamMenuFf +/* 80067008 00063F68 FC 20 E0 90 */ fmr f1, f28 +/* 8006700C 00063F6C 80 7F 02 A4 */ lwz r3, 0x2a4(r31) +/* 80067010 00063F70 38 80 00 00 */ li r4, 0 +/* 80067014 00063F74 48 12 CA 4D */ bl Update__17CHudVisorBeamMenuFfb +lbl_80067018: +/* 80067018 00063F78 80 7F 02 A8 */ lwz r3, 0x2a8(r31) +/* 8006701C 00063F7C 28 03 00 00 */ cmplwi r3, 0 +/* 80067020 00063F80 41 82 00 34 */ beq lbl_80067054 +/* 80067024 00063F84 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80067028 00063F88 88 04 01 E4 */ lbz r0, 0x1e4(r4) +/* 8006702C 00063F8C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80067030 00063F90 41 82 00 0C */ beq lbl_8006703C +/* 80067034 00063F94 C0 3F 02 F0 */ lfs f1, 0x2f0(r31) +/* 80067038 00063F98 48 00 00 08 */ b lbl_80067040 +lbl_8006703C: +/* 8006703C 00063F9C FC 20 D0 90 */ fmr f1, f26 +lbl_80067040: +/* 80067040 00063FA0 48 12 D2 99 */ bl UpdateHudAlpha__17CHudVisorBeamMenuFf +/* 80067044 00063FA4 FC 20 E0 90 */ fmr f1, f28 +/* 80067048 00063FA8 80 7F 02 A8 */ lwz r3, 0x2a8(r31) +/* 8006704C 00063FAC 38 80 00 00 */ li r4, 0 +/* 80067050 00063FB0 48 12 CA 11 */ bl Update__17CHudVisorBeamMenuFfb +lbl_80067054: +/* 80067054 00063FB4 7F E3 FB 78 */ mr r3, r31 +/* 80067058 00063FB8 4B FF D9 F9 */ bl UpdateCameraDebugSettings__9CSamusHudFv +/* 8006705C 00063FBC 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 80067060 00063FC0 28 03 00 00 */ cmplwi r3, 0 +/* 80067064 00063FC4 41 82 00 1C */ beq lbl_80067080 +/* 80067068 00063FC8 81 83 00 00 */ lwz r12, 0(r3) +/* 8006706C 00063FCC FC 20 E0 90 */ fmr f1, f28 +/* 80067070 00063FD0 7F C4 F3 78 */ mr r4, r30 +/* 80067074 00063FD4 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80067078 00063FD8 7D 89 03 A6 */ mtctr r12 +/* 8006707C 00063FDC 4E 80 04 21 */ bctrl +lbl_80067080: +/* 80067080 00063FE0 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 +/* 80067084 00063FE4 CB E1 01 90 */ lfd f31, 0x190(r1) +/* 80067088 00063FE8 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 +/* 8006708C 00063FEC CB C1 01 80 */ lfd f30, 0x180(r1) +/* 80067090 00063FF0 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 +/* 80067094 00063FF4 CB A1 01 70 */ lfd f29, 0x170(r1) +/* 80067098 00063FF8 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 +/* 8006709C 00063FFC CB 81 01 60 */ lfd f28, 0x160(r1) +/* 800670A0 00064000 E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 +/* 800670A4 00064004 CB 61 01 50 */ lfd f27, 0x150(r1) +/* 800670A8 00064008 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 +/* 800670AC 0006400C CB 41 01 40 */ lfd f26, 0x140(r1) +/* 800670B0 00064010 BB 21 01 24 */ lmw r25, 0x124(r1) +/* 800670B4 00064014 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 800670B8 00064018 7C 08 03 A6 */ mtlr r0 +/* 800670BC 0006401C 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 800670C0 00064020 4E 80 00 20 */ blr + +.global GetMessageTextAlpha__17IHudDecoInterfaceCFv +GetMessageTextAlpha__17IHudDecoInterfaceCFv: +/* 800670C4 00064024 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 800670C8 00064028 4E 80 00 20 */ blr + +.global UpdateStateTransition__9CSamusHudFfRC13CStateManager +UpdateStateTransition__9CSamusHudFfRC13CStateManager: +/* 800670CC 0006402C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800670D0 00064030 7C 08 02 A6 */ mflr r0 +/* 800670D4 00064034 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800670D8 00064038 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 800670DC 0006403C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 800670E0 00064040 93 E1 00 AC */ stw r31, 0xac(r1) +/* 800670E4 00064044 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 800670E8 00064048 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 800670EC 0006404C 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 800670F0 00064050 7C 7D 1B 78 */ mr r29, r3 +/* 800670F4 00064054 3C A0 80 3D */ lis r5, lbl_803CCFB8@ha +/* 800670F8 00064058 80 03 02 CC */ lwz r0, 0x2cc(r3) +/* 800670FC 0006405C FF E0 08 90 */ fmr f31, f1 +/* 80067100 00064060 7C 9E 23 78 */ mr r30, r4 +/* 80067104 00064064 3B E5 CF B8 */ addi r31, r5, lbl_803CCFB8@l +/* 80067108 00064068 2C 00 00 00 */ cmpwi r0, 0 +/* 8006710C 0006406C 40 82 00 54 */ bne lbl_80067160 +/* 80067110 00064070 4B FF E7 91 */ bl GetDesiredHudState__9CSamusHudCFRC13CStateManager +/* 80067114 00064074 80 1D 02 C0 */ lwz r0, 0x2c0(r29) +/* 80067118 00064078 7C 03 00 00 */ cmpw r3, r0 +/* 8006711C 0006407C 41 82 00 44 */ beq lbl_80067160 +/* 80067120 00064080 2C 03 00 04 */ cmpwi r3, 4 +/* 80067124 00064084 90 7D 02 C0 */ stw r3, 0x2c0(r29) +/* 80067128 00064088 38 60 00 00 */ li r3, 0 +/* 8006712C 0006408C 41 82 00 10 */ beq lbl_8006713C +/* 80067130 00064090 80 1D 02 BC */ lwz r0, 0x2bc(r29) +/* 80067134 00064094 2C 00 00 04 */ cmpwi r0, 4 +/* 80067138 00064098 40 82 00 08 */ bne lbl_80067140 +lbl_8006713C: +/* 8006713C 0006409C 38 60 00 01 */ li r3, 1 +lbl_80067140: +/* 80067140 000640A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80067144 000640A4 41 82 00 0C */ beq lbl_80067150 +/* 80067148 000640A8 C0 02 87 9C */ lfs f0, lbl_805AA4BC@sda21(r2) +/* 8006714C 000640AC 48 00 00 08 */ b lbl_80067154 +lbl_80067150: +/* 80067150 000640B0 C0 1D 02 C8 */ lfs f0, 0x2c8(r29) +lbl_80067154: +/* 80067154 000640B4 D0 1D 02 C8 */ stfs f0, 0x2c8(r29) +/* 80067158 000640B8 38 00 00 01 */ li r0, 1 +/* 8006715C 000640BC 90 1D 02 C4 */ stw r0, 0x2c4(r29) +lbl_80067160: +/* 80067160 000640C0 80 1D 02 C4 */ lwz r0, 0x2c4(r29) +/* 80067164 000640C4 2C 00 00 02 */ cmpwi r0, 2 +/* 80067168 000640C8 41 82 05 7C */ beq lbl_800676E4 +/* 8006716C 000640CC 40 80 00 14 */ bge lbl_80067180 +/* 80067170 000640D0 2C 00 00 00 */ cmpwi r0, 0 +/* 80067174 000640D4 41 82 06 80 */ beq lbl_800677F4 +/* 80067178 000640D8 40 80 00 14 */ bge lbl_8006718C +/* 8006717C 000640DC 48 00 06 78 */ b lbl_800677F4 +lbl_80067180: +/* 80067180 000640E0 2C 00 00 04 */ cmpwi r0, 4 +/* 80067184 000640E4 40 80 06 70 */ bge lbl_800677F4 +/* 80067188 000640E8 48 00 06 24 */ b lbl_800677AC +lbl_8006718C: +/* 8006718C 000640EC 80 7D 02 CC */ lwz r3, 0x2cc(r29) +/* 80067190 000640F0 2C 03 00 00 */ cmpwi r3, 0 +/* 80067194 000640F4 40 82 00 58 */ bne lbl_800671EC +/* 80067198 000640F8 C0 42 87 A0 */ lfs f2, lbl_805AA4C0@sda21(r2) +/* 8006719C 000640FC C0 3D 02 C8 */ lfs f1, 0x2c8(r29) +/* 800671A0 00064100 C0 0D 83 48 */ lfs f0, lbl_805A6F08@sda21(r13) +/* 800671A4 00064104 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 +/* 800671A8 00064108 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800671AC 0006410C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800671B0 00064110 40 80 00 0C */ bge lbl_800671BC +/* 800671B4 00064114 38 6D 83 48 */ addi r3, r13, lbl_805A6F08@sda21 +/* 800671B8 00064118 48 00 00 08 */ b lbl_800671C0 +lbl_800671BC: +/* 800671BC 0006411C 38 61 00 0C */ addi r3, r1, 0xc +lbl_800671C0: +/* 800671C0 00064120 C0 03 00 00 */ lfs f0, 0(r3) +/* 800671C4 00064124 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 800671C8 00064128 D0 1D 02 C8 */ stfs f0, 0x2c8(r29) +/* 800671CC 0006412C C0 1D 02 C8 */ lfs f0, 0x2c8(r29) +/* 800671D0 00064130 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800671D4 00064134 40 82 05 04 */ bne lbl_800676D8 +/* 800671D8 00064138 38 60 00 02 */ li r3, 2 +/* 800671DC 0006413C 38 00 00 00 */ li r0, 0 +/* 800671E0 00064140 90 7D 02 CC */ stw r3, 0x2cc(r29) +/* 800671E4 00064144 90 1D 02 88 */ stw r0, 0x288(r29) +/* 800671E8 00064148 48 00 04 F0 */ b lbl_800676D8 +lbl_800671EC: +/* 800671EC 0006414C 38 03 FF FF */ addi r0, r3, -1 +/* 800671F0 00064150 90 1D 02 CC */ stw r0, 0x2cc(r29) +/* 800671F4 00064154 80 1D 02 CC */ lwz r0, 0x2cc(r29) +/* 800671F8 00064158 2C 00 00 00 */ cmpwi r0, 0 +/* 800671FC 0006415C 40 82 04 DC */ bne lbl_800676D8 +/* 80067200 00064160 7F A3 EB 78 */ mr r3, r29 +/* 80067204 00064164 48 00 4A A1 */ bl UninitializeFrameGlueMutable__9CSamusHudFv +/* 80067208 00064168 3B 9D 02 78 */ addi r28, r29, 0x278 +/* 8006720C 0006416C 38 81 00 84 */ addi r4, r1, 0x84 +/* 80067210 00064170 38 00 00 00 */ li r0, 0 +/* 80067214 00064174 7C 1C 20 40 */ cmplw r28, r4 +/* 80067218 00064178 98 01 00 90 */ stb r0, 0x90(r1) +/* 8006721C 0006417C 41 82 00 7C */ beq lbl_80067298 +/* 80067220 00064180 28 00 00 00 */ cmplwi r0, 0 +/* 80067224 00064184 41 82 00 48 */ beq lbl_8006726C +/* 80067228 00064188 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 8006722C 0006418C 28 00 00 00 */ cmplwi r0, 0 +/* 80067230 00064190 40 82 00 28 */ bne lbl_80067258 +/* 80067234 00064194 37 9D 02 78 */ addic. r28, r29, 0x278 +/* 80067238 00064198 41 82 00 14 */ beq lbl_8006724C +/* 8006723C 0006419C 7F 83 E3 78 */ mr r3, r28 +/* 80067240 000641A0 48 2D 9C 69 */ bl __ct__6CTokenFRC6CToken +/* 80067244 000641A4 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80067248 000641A8 90 1C 00 08 */ stw r0, 8(r28) +lbl_8006724C: +/* 8006724C 000641AC 38 00 00 01 */ li r0, 1 +/* 80067250 000641B0 98 1D 02 84 */ stb r0, 0x284(r29) +/* 80067254 000641B4 48 00 00 44 */ b lbl_80067298 +lbl_80067258: +/* 80067258 000641B8 7F 83 E3 78 */ mr r3, r28 +/* 8006725C 000641BC 48 2D 9A 69 */ bl __as__6CTokenFRC6CToken +/* 80067260 000641C0 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80067264 000641C4 90 1C 00 08 */ stw r0, 8(r28) +/* 80067268 000641C8 48 00 00 30 */ b lbl_80067298 +lbl_8006726C: +/* 8006726C 000641CC 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 80067270 000641D0 28 00 00 00 */ cmplwi r0, 0 +/* 80067274 000641D4 41 82 00 1C */ beq lbl_80067290 +/* 80067278 000641D8 34 7D 02 78 */ addic. r3, r29, 0x278 +/* 8006727C 000641DC 41 82 00 14 */ beq lbl_80067290 +/* 80067280 000641E0 28 03 00 00 */ cmplwi r3, 0 +/* 80067284 000641E4 41 82 00 0C */ beq lbl_80067290 +/* 80067288 000641E8 38 80 00 00 */ li r4, 0 +/* 8006728C 000641EC 48 2D 9B B5 */ bl __dt__6CTokenFv +lbl_80067290: +/* 80067290 000641F0 38 00 00 00 */ li r0, 0 +/* 80067294 000641F4 98 1D 02 84 */ stb r0, 0x284(r29) +lbl_80067298: +/* 80067298 000641F8 88 01 00 90 */ lbz r0, 0x90(r1) +/* 8006729C 000641FC 28 00 00 00 */ cmplwi r0, 0 +/* 800672A0 00064200 41 82 00 1C */ beq lbl_800672BC +/* 800672A4 00064204 34 61 00 84 */ addic. r3, r1, 0x84 +/* 800672A8 00064208 41 82 00 14 */ beq lbl_800672BC +/* 800672AC 0006420C 28 03 00 00 */ cmplwi r3, 0 +/* 800672B0 00064210 41 82 00 0C */ beq lbl_800672BC +/* 800672B4 00064214 38 80 00 00 */ li r4, 0 +/* 800672B8 00064218 48 2D 9B 89 */ bl __dt__6CTokenFv +lbl_800672BC: +/* 800672BC 0006421C 38 00 00 00 */ li r0, 0 +/* 800672C0 00064220 98 01 00 90 */ stb r0, 0x90(r1) +/* 800672C4 00064224 80 1D 02 C0 */ lwz r0, 0x2c0(r29) +/* 800672C8 00064228 2C 00 00 02 */ cmpwi r0, 2 +/* 800672CC 0006422C 41 82 00 28 */ beq lbl_800672F4 +/* 800672D0 00064230 40 80 00 14 */ bge lbl_800672E4 +/* 800672D4 00064234 2C 00 00 00 */ cmpwi r0, 0 +/* 800672D8 00064238 41 82 00 BC */ beq lbl_80067394 +/* 800672DC 0006423C 40 80 01 F8 */ bge lbl_800674D4 +/* 800672E0 00064240 48 00 03 34 */ b lbl_80067614 +lbl_800672E4: +/* 800672E4 00064244 2C 00 00 04 */ cmpwi r0, 4 +/* 800672E8 00064248 41 82 02 8C */ beq lbl_80067574 +/* 800672EC 0006424C 40 80 03 28 */ bge lbl_80067614 +/* 800672F0 00064250 48 00 01 44 */ b lbl_80067434 +lbl_800672F4: +/* 800672F4 00064254 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800672F8 00064258 38 61 00 30 */ addi r3, r1, 0x30 +/* 800672FC 0006425C 38 BF 00 4C */ addi r5, r31, 0x4c +/* 80067300 00064260 81 84 00 00 */ lwz r12, 0(r4) +/* 80067304 00064264 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80067308 00064268 7D 89 03 A6 */ mtctr r12 +/* 8006730C 0006426C 4E 80 04 21 */ bctrl +/* 80067310 00064270 38 61 00 78 */ addi r3, r1, 0x78 +/* 80067314 00064274 38 81 00 30 */ addi r4, r1, 0x30 +/* 80067318 00064278 48 2D 9B 91 */ bl __ct__6CTokenFRC6CToken +/* 8006731C 0006427C 38 00 00 00 */ li r0, 0 +/* 80067320 00064280 90 01 00 80 */ stw r0, 0x80(r1) +/* 80067324 00064284 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 80067328 00064288 28 00 00 00 */ cmplwi r0, 0 +/* 8006732C 0006428C 40 82 00 2C */ bne lbl_80067358 +/* 80067330 00064290 37 9D 02 78 */ addic. r28, r29, 0x278 +/* 80067334 00064294 41 82 00 18 */ beq lbl_8006734C +/* 80067338 00064298 7F 83 E3 78 */ mr r3, r28 +/* 8006733C 0006429C 38 81 00 78 */ addi r4, r1, 0x78 +/* 80067340 000642A0 48 2D 9B 69 */ bl __ct__6CTokenFRC6CToken +/* 80067344 000642A4 80 01 00 80 */ lwz r0, 0x80(r1) +/* 80067348 000642A8 90 1C 00 08 */ stw r0, 8(r28) +lbl_8006734C: +/* 8006734C 000642AC 38 00 00 01 */ li r0, 1 +/* 80067350 000642B0 98 1D 02 84 */ stb r0, 0x284(r29) +/* 80067354 000642B4 48 00 00 1C */ b lbl_80067370 +lbl_80067358: +/* 80067358 000642B8 3B 9D 02 78 */ addi r28, r29, 0x278 +/* 8006735C 000642BC 38 81 00 78 */ addi r4, r1, 0x78 +/* 80067360 000642C0 7F 83 E3 78 */ mr r3, r28 +/* 80067364 000642C4 48 2D 99 61 */ bl __as__6CTokenFRC6CToken +/* 80067368 000642C8 80 01 00 80 */ lwz r0, 0x80(r1) +/* 8006736C 000642CC 90 1C 00 08 */ stw r0, 8(r28) +lbl_80067370: +/* 80067370 000642D0 38 61 00 78 */ addi r3, r1, 0x78 +/* 80067374 000642D4 38 80 00 00 */ li r4, 0 +/* 80067378 000642D8 48 2D 9A C9 */ bl __dt__6CTokenFv +/* 8006737C 000642DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80067380 000642E0 38 80 FF FF */ li r4, -1 +/* 80067384 000642E4 48 2D 9A BD */ bl __dt__6CTokenFv +/* 80067388 000642E8 38 7D 02 78 */ addi r3, r29, 0x278 +/* 8006738C 000642EC 48 2D 99 F9 */ bl Lock__6CTokenFv +/* 80067390 000642F0 48 00 03 40 */ b lbl_800676D0 +lbl_80067394: +/* 80067394 000642F4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80067398 000642F8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8006739C 000642FC 38 BF 00 1C */ addi r5, r31, 0x1c +/* 800673A0 00064300 81 84 00 00 */ lwz r12, 0(r4) +/* 800673A4 00064304 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800673A8 00064308 7D 89 03 A6 */ mtctr r12 +/* 800673AC 0006430C 4E 80 04 21 */ bctrl +/* 800673B0 00064310 38 61 00 6C */ addi r3, r1, 0x6c +/* 800673B4 00064314 38 81 00 28 */ addi r4, r1, 0x28 +/* 800673B8 00064318 48 2D 9A F1 */ bl __ct__6CTokenFRC6CToken +/* 800673BC 0006431C 38 00 00 00 */ li r0, 0 +/* 800673C0 00064320 90 01 00 74 */ stw r0, 0x74(r1) +/* 800673C4 00064324 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 800673C8 00064328 28 00 00 00 */ cmplwi r0, 0 +/* 800673CC 0006432C 40 82 00 2C */ bne lbl_800673F8 +/* 800673D0 00064330 37 9D 02 78 */ addic. r28, r29, 0x278 +/* 800673D4 00064334 41 82 00 18 */ beq lbl_800673EC +/* 800673D8 00064338 7F 83 E3 78 */ mr r3, r28 +/* 800673DC 0006433C 38 81 00 6C */ addi r4, r1, 0x6c +/* 800673E0 00064340 48 2D 9A C9 */ bl __ct__6CTokenFRC6CToken +/* 800673E4 00064344 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800673E8 00064348 90 1C 00 08 */ stw r0, 8(r28) +lbl_800673EC: +/* 800673EC 0006434C 38 00 00 01 */ li r0, 1 +/* 800673F0 00064350 98 1D 02 84 */ stb r0, 0x284(r29) +/* 800673F4 00064354 48 00 00 1C */ b lbl_80067410 +lbl_800673F8: +/* 800673F8 00064358 3B 9D 02 78 */ addi r28, r29, 0x278 +/* 800673FC 0006435C 38 81 00 6C */ addi r4, r1, 0x6c +/* 80067400 00064360 7F 83 E3 78 */ mr r3, r28 +/* 80067404 00064364 48 2D 98 C1 */ bl __as__6CTokenFRC6CToken +/* 80067408 00064368 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8006740C 0006436C 90 1C 00 08 */ stw r0, 8(r28) +lbl_80067410: +/* 80067410 00064370 38 61 00 6C */ addi r3, r1, 0x6c +/* 80067414 00064374 38 80 00 00 */ li r4, 0 +/* 80067418 00064378 48 2D 9A 29 */ bl __dt__6CTokenFv +/* 8006741C 0006437C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80067420 00064380 38 80 FF FF */ li r4, -1 +/* 80067424 00064384 48 2D 9A 1D */ bl __dt__6CTokenFv +/* 80067428 00064388 38 7D 02 78 */ addi r3, r29, 0x278 +/* 8006742C 0006438C 48 2D 99 59 */ bl Lock__6CTokenFv +/* 80067430 00064390 48 00 02 A0 */ b lbl_800676D0 +lbl_80067434: +/* 80067434 00064394 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80067438 00064398 38 61 00 20 */ addi r3, r1, 0x20 +/* 8006743C 0006439C 38 BF 00 3C */ addi r5, r31, 0x3c +/* 80067440 000643A0 81 84 00 00 */ lwz r12, 0(r4) +/* 80067444 000643A4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80067448 000643A8 7D 89 03 A6 */ mtctr r12 +/* 8006744C 000643AC 4E 80 04 21 */ bctrl +/* 80067450 000643B0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80067454 000643B4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80067458 000643B8 48 2D 9A 51 */ bl __ct__6CTokenFRC6CToken +/* 8006745C 000643BC 38 00 00 00 */ li r0, 0 +/* 80067460 000643C0 90 01 00 68 */ stw r0, 0x68(r1) +/* 80067464 000643C4 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 80067468 000643C8 28 00 00 00 */ cmplwi r0, 0 +/* 8006746C 000643CC 40 82 00 2C */ bne lbl_80067498 +/* 80067470 000643D0 37 9D 02 78 */ addic. r28, r29, 0x278 +/* 80067474 000643D4 41 82 00 18 */ beq lbl_8006748C +/* 80067478 000643D8 7F 83 E3 78 */ mr r3, r28 +/* 8006747C 000643DC 38 81 00 60 */ addi r4, r1, 0x60 +/* 80067480 000643E0 48 2D 9A 29 */ bl __ct__6CTokenFRC6CToken +/* 80067484 000643E4 80 01 00 68 */ lwz r0, 0x68(r1) +/* 80067488 000643E8 90 1C 00 08 */ stw r0, 8(r28) +lbl_8006748C: +/* 8006748C 000643EC 38 00 00 01 */ li r0, 1 +/* 80067490 000643F0 98 1D 02 84 */ stb r0, 0x284(r29) +/* 80067494 000643F4 48 00 00 1C */ b lbl_800674B0 +lbl_80067498: +/* 80067498 000643F8 3B 9D 02 78 */ addi r28, r29, 0x278 +/* 8006749C 000643FC 38 81 00 60 */ addi r4, r1, 0x60 +/* 800674A0 00064400 7F 83 E3 78 */ mr r3, r28 +/* 800674A4 00064404 48 2D 98 21 */ bl __as__6CTokenFRC6CToken +/* 800674A8 00064408 80 01 00 68 */ lwz r0, 0x68(r1) +/* 800674AC 0006440C 90 1C 00 08 */ stw r0, 8(r28) +lbl_800674B0: +/* 800674B0 00064410 38 61 00 60 */ addi r3, r1, 0x60 +/* 800674B4 00064414 38 80 00 00 */ li r4, 0 +/* 800674B8 00064418 48 2D 99 89 */ bl __dt__6CTokenFv +/* 800674BC 0006441C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800674C0 00064420 38 80 FF FF */ li r4, -1 +/* 800674C4 00064424 48 2D 99 7D */ bl __dt__6CTokenFv +/* 800674C8 00064428 38 7D 02 78 */ addi r3, r29, 0x278 +/* 800674CC 0006442C 48 2D 98 B9 */ bl Lock__6CTokenFv +/* 800674D0 00064430 48 00 02 00 */ b lbl_800676D0 +lbl_800674D4: +/* 800674D4 00064434 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800674D8 00064438 38 61 00 18 */ addi r3, r1, 0x18 +/* 800674DC 0006443C 38 BF 00 2C */ addi r5, r31, 0x2c +/* 800674E0 00064440 81 84 00 00 */ lwz r12, 0(r4) +/* 800674E4 00064444 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800674E8 00064448 7D 89 03 A6 */ mtctr r12 +/* 800674EC 0006444C 4E 80 04 21 */ bctrl +/* 800674F0 00064450 38 61 00 54 */ addi r3, r1, 0x54 +/* 800674F4 00064454 38 81 00 18 */ addi r4, r1, 0x18 +/* 800674F8 00064458 48 2D 99 B1 */ bl __ct__6CTokenFRC6CToken +/* 800674FC 0006445C 38 00 00 00 */ li r0, 0 +/* 80067500 00064460 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80067504 00064464 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 80067508 00064468 28 00 00 00 */ cmplwi r0, 0 +/* 8006750C 0006446C 40 82 00 2C */ bne lbl_80067538 +/* 80067510 00064470 37 9D 02 78 */ addic. r28, r29, 0x278 +/* 80067514 00064474 41 82 00 18 */ beq lbl_8006752C +/* 80067518 00064478 7F 83 E3 78 */ mr r3, r28 +/* 8006751C 0006447C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80067520 00064480 48 2D 99 89 */ bl __ct__6CTokenFRC6CToken +/* 80067524 00064484 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80067528 00064488 90 1C 00 08 */ stw r0, 8(r28) +lbl_8006752C: +/* 8006752C 0006448C 38 00 00 01 */ li r0, 1 +/* 80067530 00064490 98 1D 02 84 */ stb r0, 0x284(r29) +/* 80067534 00064494 48 00 00 1C */ b lbl_80067550 +lbl_80067538: +/* 80067538 00064498 3B 9D 02 78 */ addi r28, r29, 0x278 +/* 8006753C 0006449C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80067540 000644A0 7F 83 E3 78 */ mr r3, r28 +/* 80067544 000644A4 48 2D 97 81 */ bl __as__6CTokenFRC6CToken +/* 80067548 000644A8 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8006754C 000644AC 90 1C 00 08 */ stw r0, 8(r28) +lbl_80067550: +/* 80067550 000644B0 38 61 00 54 */ addi r3, r1, 0x54 +/* 80067554 000644B4 38 80 00 00 */ li r4, 0 +/* 80067558 000644B8 48 2D 98 E9 */ bl __dt__6CTokenFv +/* 8006755C 000644BC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80067560 000644C0 38 80 FF FF */ li r4, -1 +/* 80067564 000644C4 48 2D 98 DD */ bl __dt__6CTokenFv +/* 80067568 000644C8 38 7D 02 78 */ addi r3, r29, 0x278 +/* 8006756C 000644CC 48 2D 98 19 */ bl Lock__6CTokenFv +/* 80067570 000644D0 48 00 01 60 */ b lbl_800676D0 +lbl_80067574: +/* 80067574 000644D4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80067578 000644D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8006757C 000644DC 38 BF 00 5C */ addi r5, r31, 0x5c +/* 80067580 000644E0 81 84 00 00 */ lwz r12, 0(r4) +/* 80067584 000644E4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80067588 000644E8 7D 89 03 A6 */ mtctr r12 +/* 8006758C 000644EC 4E 80 04 21 */ bctrl +/* 80067590 000644F0 38 61 00 48 */ addi r3, r1, 0x48 +/* 80067594 000644F4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80067598 000644F8 48 2D 99 11 */ bl __ct__6CTokenFRC6CToken +/* 8006759C 000644FC 38 00 00 00 */ li r0, 0 +/* 800675A0 00064500 90 01 00 50 */ stw r0, 0x50(r1) +/* 800675A4 00064504 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 800675A8 00064508 28 00 00 00 */ cmplwi r0, 0 +/* 800675AC 0006450C 40 82 00 2C */ bne lbl_800675D8 +/* 800675B0 00064510 37 9D 02 78 */ addic. r28, r29, 0x278 +/* 800675B4 00064514 41 82 00 18 */ beq lbl_800675CC +/* 800675B8 00064518 7F 83 E3 78 */ mr r3, r28 +/* 800675BC 0006451C 38 81 00 48 */ addi r4, r1, 0x48 +/* 800675C0 00064520 48 2D 98 E9 */ bl __ct__6CTokenFRC6CToken +/* 800675C4 00064524 80 01 00 50 */ lwz r0, 0x50(r1) +/* 800675C8 00064528 90 1C 00 08 */ stw r0, 8(r28) +lbl_800675CC: +/* 800675CC 0006452C 38 00 00 01 */ li r0, 1 +/* 800675D0 00064530 98 1D 02 84 */ stb r0, 0x284(r29) +/* 800675D4 00064534 48 00 00 1C */ b lbl_800675F0 +lbl_800675D8: +/* 800675D8 00064538 3B 9D 02 78 */ addi r28, r29, 0x278 +/* 800675DC 0006453C 38 81 00 48 */ addi r4, r1, 0x48 +/* 800675E0 00064540 7F 83 E3 78 */ mr r3, r28 +/* 800675E4 00064544 48 2D 96 E1 */ bl __as__6CTokenFRC6CToken +/* 800675E8 00064548 80 01 00 50 */ lwz r0, 0x50(r1) +/* 800675EC 0006454C 90 1C 00 08 */ stw r0, 8(r28) +lbl_800675F0: +/* 800675F0 00064550 38 61 00 48 */ addi r3, r1, 0x48 +/* 800675F4 00064554 38 80 00 00 */ li r4, 0 +/* 800675F8 00064558 48 2D 98 49 */ bl __dt__6CTokenFv +/* 800675FC 0006455C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80067600 00064560 38 80 FF FF */ li r4, -1 +/* 80067604 00064564 48 2D 98 3D */ bl __dt__6CTokenFv +/* 80067608 00064568 38 7D 02 78 */ addi r3, r29, 0x278 +/* 8006760C 0006456C 48 2D 97 79 */ bl Lock__6CTokenFv +/* 80067610 00064570 48 00 00 C0 */ b lbl_800676D0 +lbl_80067614: +/* 80067614 00064574 3B FD 02 78 */ addi r31, r29, 0x278 +/* 80067618 00064578 38 81 00 38 */ addi r4, r1, 0x38 +/* 8006761C 0006457C 38 00 00 00 */ li r0, 0 +/* 80067620 00064580 7C 1F 20 40 */ cmplw r31, r4 +/* 80067624 00064584 98 01 00 44 */ stb r0, 0x44(r1) +/* 80067628 00064588 41 82 00 7C */ beq lbl_800676A4 +/* 8006762C 0006458C 28 00 00 00 */ cmplwi r0, 0 +/* 80067630 00064590 41 82 00 48 */ beq lbl_80067678 +/* 80067634 00064594 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 80067638 00064598 28 00 00 00 */ cmplwi r0, 0 +/* 8006763C 0006459C 40 82 00 28 */ bne lbl_80067664 +/* 80067640 000645A0 37 9D 02 78 */ addic. r28, r29, 0x278 +/* 80067644 000645A4 41 82 00 14 */ beq lbl_80067658 +/* 80067648 000645A8 7F 83 E3 78 */ mr r3, r28 +/* 8006764C 000645AC 48 2D 98 5D */ bl __ct__6CTokenFRC6CToken +/* 80067650 000645B0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80067654 000645B4 90 1C 00 08 */ stw r0, 8(r28) +lbl_80067658: +/* 80067658 000645B8 38 00 00 01 */ li r0, 1 +/* 8006765C 000645BC 98 1D 02 84 */ stb r0, 0x284(r29) +/* 80067660 000645C0 48 00 00 44 */ b lbl_800676A4 +lbl_80067664: +/* 80067664 000645C4 7F E3 FB 78 */ mr r3, r31 +/* 80067668 000645C8 48 2D 96 5D */ bl __as__6CTokenFRC6CToken +/* 8006766C 000645CC 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80067670 000645D0 90 1F 00 08 */ stw r0, 8(r31) +/* 80067674 000645D4 48 00 00 30 */ b lbl_800676A4 +lbl_80067678: +/* 80067678 000645D8 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 8006767C 000645DC 28 00 00 00 */ cmplwi r0, 0 +/* 80067680 000645E0 41 82 00 1C */ beq lbl_8006769C +/* 80067684 000645E4 34 7D 02 78 */ addic. r3, r29, 0x278 +/* 80067688 000645E8 41 82 00 14 */ beq lbl_8006769C +/* 8006768C 000645EC 28 03 00 00 */ cmplwi r3, 0 +/* 80067690 000645F0 41 82 00 0C */ beq lbl_8006769C +/* 80067694 000645F4 38 80 00 00 */ li r4, 0 +/* 80067698 000645F8 48 2D 97 A9 */ bl __dt__6CTokenFv +lbl_8006769C: +/* 8006769C 000645FC 38 00 00 00 */ li r0, 0 +/* 800676A0 00064600 98 1D 02 84 */ stb r0, 0x284(r29) +lbl_800676A4: +/* 800676A4 00064604 88 01 00 44 */ lbz r0, 0x44(r1) +/* 800676A8 00064608 28 00 00 00 */ cmplwi r0, 0 +/* 800676AC 0006460C 41 82 00 1C */ beq lbl_800676C8 +/* 800676B0 00064610 34 61 00 38 */ addic. r3, r1, 0x38 +/* 800676B4 00064614 41 82 00 14 */ beq lbl_800676C8 +/* 800676B8 00064618 28 03 00 00 */ cmplwi r3, 0 +/* 800676BC 0006461C 41 82 00 0C */ beq lbl_800676C8 +/* 800676C0 00064620 38 80 00 00 */ li r4, 0 +/* 800676C4 00064624 48 2D 97 7D */ bl __dt__6CTokenFv +lbl_800676C8: +/* 800676C8 00064628 38 00 00 00 */ li r0, 0 +/* 800676CC 0006462C 98 01 00 44 */ stb r0, 0x44(r1) +lbl_800676D0: +/* 800676D0 00064630 38 00 00 02 */ li r0, 2 +/* 800676D4 00064634 90 1D 02 C4 */ stw r0, 0x2c4(r29) +lbl_800676D8: +/* 800676D8 00064638 80 1D 02 C4 */ lwz r0, 0x2c4(r29) +/* 800676DC 0006463C 2C 00 00 02 */ cmpwi r0, 2 +/* 800676E0 00064640 40 82 01 14 */ bne lbl_800677F4 +lbl_800676E4: +/* 800676E4 00064644 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 800676E8 00064648 28 00 00 00 */ cmplwi r0, 0 +/* 800676EC 0006464C 41 82 00 A4 */ beq lbl_80067790 +/* 800676F0 00064650 3B 9D 02 78 */ addi r28, r29, 0x278 +/* 800676F4 00064654 80 1D 02 80 */ lwz r0, 0x280(r29) +/* 800676F8 00064658 28 00 00 00 */ cmplwi r0, 0 +/* 800676FC 0006465C 41 82 00 0C */ beq lbl_80067708 +/* 80067700 00064660 38 60 00 01 */ li r3, 1 +/* 80067704 00064664 48 00 00 3C */ b lbl_80067740 +lbl_80067708: +/* 80067708 00064668 88 1C 00 04 */ lbz r0, 4(r28) +/* 8006770C 0006466C 28 00 00 00 */ cmplwi r0, 0 +/* 80067710 00064670 41 82 00 2C */ beq lbl_8006773C +/* 80067714 00064674 80 7C 00 00 */ lwz r3, 0(r28) +/* 80067718 00064678 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8006771C 0006467C 28 00 00 00 */ cmplwi r0, 0 +/* 80067720 00064680 41 82 00 1C */ beq lbl_8006773C +/* 80067724 00064684 7F 83 E3 78 */ mr r3, r28 +/* 80067728 00064688 48 2D 96 E5 */ bl GetObj__6CTokenFv +/* 8006772C 0006468C 80 03 00 04 */ lwz r0, 4(r3) +/* 80067730 00064690 38 60 00 01 */ li r3, 1 +/* 80067734 00064694 90 1C 00 08 */ stw r0, 8(r28) +/* 80067738 00064698 48 00 00 08 */ b lbl_80067740 +lbl_8006773C: +/* 8006773C 0006469C 38 60 00 00 */ li r3, 0 +lbl_80067740: +/* 80067740 000646A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80067744 000646A4 41 82 00 B0 */ beq lbl_800677F4 +/* 80067748 000646A8 80 7D 02 80 */ lwz r3, 0x280(r29) +/* 8006774C 000646AC 48 25 AE 05 */ bl GetIsFinishedLoading__9CGuiFrameCFv +/* 80067750 000646B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80067754 000646B4 41 82 00 A0 */ beq lbl_800677F4 +/* 80067758 000646B8 80 1D 02 80 */ lwz r0, 0x280(r29) +/* 8006775C 000646BC 7F A3 EB 78 */ mr r3, r29 +/* 80067760 000646C0 7F C4 F3 78 */ mr r4, r30 +/* 80067764 000646C4 90 1D 02 88 */ stw r0, 0x288(r29) +/* 80067768 000646C8 80 1D 02 BC */ lwz r0, 0x2bc(r29) +/* 8006776C 000646CC 90 1D 02 B8 */ stw r0, 0x2b8(r29) +/* 80067770 000646D0 80 1D 02 C0 */ lwz r0, 0x2c0(r29) +/* 80067774 000646D4 90 1D 02 BC */ stw r0, 0x2bc(r29) +/* 80067778 000646D8 48 00 46 CD */ bl InitializeFrameGlueMutable__9CSamusHudFRC13CStateManager +/* 8006777C 000646DC 38 00 00 03 */ li r0, 3 +/* 80067780 000646E0 7F A3 EB 78 */ mr r3, r29 +/* 80067784 000646E4 90 1D 02 C4 */ stw r0, 0x2c4(r29) +/* 80067788 000646E8 4B FF D2 C9 */ bl UpdateCameraDebugSettings__9CSamusHudFv +/* 8006778C 000646EC 48 00 00 68 */ b lbl_800677F4 +lbl_80067790: +/* 80067790 000646F0 80 7D 02 BC */ lwz r3, 0x2bc(r29) +/* 80067794 000646F4 38 00 00 00 */ li r0, 0 +/* 80067798 000646F8 90 7D 02 B8 */ stw r3, 0x2b8(r29) +/* 8006779C 000646FC 80 7D 02 C0 */ lwz r3, 0x2c0(r29) +/* 800677A0 00064700 90 7D 02 BC */ stw r3, 0x2bc(r29) +/* 800677A4 00064704 90 1D 02 C4 */ stw r0, 0x2c4(r29) +/* 800677A8 00064708 48 00 00 4C */ b lbl_800677F4 +lbl_800677AC: +/* 800677AC 0006470C C0 42 87 A0 */ lfs f2, lbl_805AA4C0@sda21(r2) +/* 800677B0 00064710 C0 3D 02 C8 */ lfs f1, 0x2c8(r29) +/* 800677B4 00064714 C0 0D 83 4C */ lfs f0, lbl_805A6F0C@sda21(r13) +/* 800677B8 00064718 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 800677BC 0006471C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800677C0 00064720 D0 21 00 08 */ stfs f1, 8(r1) +/* 800677C4 00064724 40 80 00 0C */ bge lbl_800677D0 +/* 800677C8 00064728 38 6D 83 4C */ addi r3, r13, lbl_805A6F0C@sda21 +/* 800677CC 0006472C 48 00 00 08 */ b lbl_800677D4 +lbl_800677D0: +/* 800677D0 00064730 38 61 00 08 */ addi r3, r1, 8 +lbl_800677D4: +/* 800677D4 00064734 C0 03 00 00 */ lfs f0, 0(r3) +/* 800677D8 00064738 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 800677DC 0006473C D0 1D 02 C8 */ stfs f0, 0x2c8(r29) +/* 800677E0 00064740 C0 1D 02 C8 */ lfs f0, 0x2c8(r29) +/* 800677E4 00064744 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800677E8 00064748 40 82 00 0C */ bne lbl_800677F4 +/* 800677EC 0006474C 38 00 00 00 */ li r0, 0 +/* 800677F0 00064750 90 1D 02 C4 */ stw r0, 0x2c4(r29) +lbl_800677F4: +/* 800677F4 00064754 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 800677F8 00064758 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800677FC 0006475C CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80067800 00064760 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80067804 00064764 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80067808 00064768 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8006780C 0006476C 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 80067810 00064770 7C 08 03 A6 */ mtlr r0 +/* 80067814 00064774 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80067818 00064778 4E 80 00 20 */ blr + +.global UpdateHudDamage__9CSamusHudFfRC13CStateManagerUi +UpdateHudDamage__9CSamusHudFfRC13CStateManagerUi: +/* 8006781C 0006477C 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 80067820 00064780 7C 08 02 A6 */ mflr r0 +/* 80067824 00064784 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 80067828 00064788 DB E1 01 90 */ stfd f31, 0x190(r1) +/* 8006782C 0006478C F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 +/* 80067830 00064790 DB C1 01 80 */ stfd f30, 0x180(r1) +/* 80067834 00064794 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 +/* 80067838 00064798 DB A1 01 70 */ stfd f29, 0x170(r1) +/* 8006783C 0006479C F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 +/* 80067840 000647A0 DB 81 01 60 */ stfd f28, 0x160(r1) +/* 80067844 000647A4 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 +/* 80067848 000647A8 DB 61 01 50 */ stfd f27, 0x150(r1) +/* 8006784C 000647AC F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 +/* 80067850 000647B0 BF 21 01 34 */ stmw r25, 0x134(r1) +/* 80067854 000647B4 FF 80 08 90 */ fmr f28, f1 +/* 80067858 000647B8 7C 9E 23 78 */ mr r30, r4 +/* 8006785C 000647BC 7C 7D 1B 78 */ mr r29, r3 +/* 80067860 000647C0 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 80067864 000647C4 4B FA AC D1 */ bl WasDamaged__7CPlayerCFv +/* 80067868 000647C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8006786C 000647CC 41 82 00 20 */ beq lbl_8006788C +/* 80067870 000647D0 80 1E 09 04 */ lwz r0, 0x904(r30) +/* 80067874 000647D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80067878 000647D8 40 82 00 14 */ bne lbl_8006788C +/* 8006787C 000647DC C0 1D 03 E8 */ lfs f0, 0x3e8(r29) +/* 80067880 000647E0 EC 00 E0 2A */ fadds f0, f0, f28 +/* 80067884 000647E4 D0 1D 03 E8 */ stfs f0, 0x3e8(r29) +/* 80067888 000647E8 48 00 00 0C */ b lbl_80067894 +lbl_8006788C: +/* 8006788C 000647EC C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80067890 000647F0 D0 1D 03 E8 */ stfs f0, 0x3e8(r29) +lbl_80067894: +/* 80067894 000647F4 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80067898 000647F8 C0 3D 03 E8 */ lfs f1, 0x3e8(r29) +/* 8006789C 000647FC C3 63 01 D0 */ lfs f27, 0x1d0(r3) +/* 800678A0 00064800 FC 40 D8 90 */ fmr f2, f27 +/* 800678A4 00064804 48 32 D4 09 */ bl fmod +/* 800678A8 00064808 FC 20 08 18 */ frsp f1, f1 +/* 800678AC 0006480C C0 02 87 3C */ lfs f0, lbl_805AA45C@sda21(r2) +/* 800678B0 00064810 EC 40 06 F2 */ fmuls f2, f0, f27 +/* 800678B4 00064814 FC 00 0A 10 */ fabs f0, f1 +/* 800678B8 00064818 FC 00 00 18 */ frsp f0, f0 +/* 800678BC 0006481C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 800678C0 00064820 40 80 00 0C */ bge lbl_800678CC +/* 800678C4 00064824 EC 00 10 24 */ fdivs f0, f0, f2 +/* 800678C8 00064828 48 00 00 0C */ b lbl_800678D4 +lbl_800678CC: +/* 800678CC 0006482C EC 1B 00 28 */ fsubs f0, f27, f0 +/* 800678D0 00064830 EC 00 10 24 */ fdivs f0, f0, f2 +lbl_800678D4: +/* 800678D4 00064834 D0 1D 03 EC */ stfs f0, 0x3ec(r29) +/* 800678D8 00064838 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 800678DC 0006483C 4B FA AC 51 */ bl GetDamageAmount__7CPlayerCFv +/* 800678E0 00064840 FC 40 08 18 */ frsp f2, f1 +/* 800678E4 00064844 C0 02 87 A4 */ lfs f0, lbl_805AA4C4@sda21(r2) +/* 800678E8 00064848 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800678EC 0006484C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800678F0 00064850 40 80 00 0C */ bge lbl_800678FC +/* 800678F4 00064854 38 61 00 3C */ addi r3, r1, 0x3c +/* 800678F8 00064858 48 00 00 08 */ b lbl_80067900 +lbl_800678FC: +/* 800678FC 0006485C 38 62 87 A4 */ addi r3, r2, lbl_805AA4C4@sda21 +lbl_80067900: +/* 80067900 00064860 C0 3D 03 EC */ lfs f1, 0x3ec(r29) +/* 80067904 00064864 38 81 00 40 */ addi r4, r1, 0x40 +/* 80067908 00064868 C0 03 00 00 */ lfs f0, 0(r3) +/* 8006790C 0006486C 38 6D 83 24 */ addi r3, r13, lbl_805A6EE4@sda21 +/* 80067910 00064870 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) +/* 80067914 00064874 38 AD 83 28 */ addi r5, r13, lbl_805A6EE8@sda21 +/* 80067918 00064878 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8006791C 0006487C C0 26 01 D4 */ lfs f1, 0x1d4(r6) +/* 80067920 00064880 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80067924 00064884 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80067928 00064888 4B FA 49 8D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8006792C 0006488C C0 03 00 00 */ lfs f0, 0(r3) +/* 80067930 00064890 D0 1D 03 EC */ stfs f0, 0x3ec(r29) +/* 80067934 00064894 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 80067938 00064898 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8006793C 0006489C 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80067940 000648A0 E0 21 A0 5C */ psq_l f1, 92(r1), 1, qr2 +/* 80067944 000648A4 E0 41 A0 5F */ psq_l f2, 95(r1), 1, qr2 +/* 80067948 000648A8 E0 61 A0 5D */ psq_l f3, 93(r1), 1, qr2 +/* 8006794C 000648AC E0 E1 A0 5F */ psq_l f7, 95(r1), 1, qr2 +/* 80067950 000648B0 E1 01 A0 5E */ psq_l f8, 94(r1), 1, qr2 +/* 80067954 000648B4 E1 21 A0 5F */ psq_l f9, 95(r1), 1, qr2 +/* 80067958 000648B8 38 61 00 58 */ addi r3, r1, 0x58 +/* 8006795C 000648BC C0 02 87 A8 */ lfs f0, lbl_805AA4C8@sda21(r2) +/* 80067960 000648C0 C1 5D 03 EC */ lfs f10, 0x3ec(r29) +/* 80067964 000648C4 EC C0 00 72 */ fmuls f6, f0, f1 +/* 80067968 000648C8 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) +/* 8006796C 000648CC EC 20 00 B2 */ fmuls f1, f0, f2 +/* 80067970 000648D0 EC A0 00 F2 */ fmuls f5, f0, f3 +/* 80067974 000648D4 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 80067978 000648D8 EC 60 02 32 */ fmuls f3, f0, f8 +/* 8006797C 000648DC EC 00 02 72 */ fmuls f0, f0, f9 +/* 80067980 000648E0 EC 26 50 7A */ fmadds f1, f6, f1, f10 +/* 80067984 000648E4 EC 45 50 BA */ fmadds f2, f5, f2, f10 +/* 80067988 000648E8 EC 63 50 3A */ fmadds f3, f3, f0, f10 +/* 8006798C 000648EC 48 2F BA 61 */ bl __ct__6CColorFffff +/* 80067990 000648F0 80 7D 03 D4 */ lwz r3, 0x3d4(r29) +/* 80067994 000648F4 28 03 00 00 */ cmplwi r3, 0 +/* 80067998 000648F8 41 82 00 0C */ beq lbl_800679A4 +/* 8006799C 000648FC 80 01 00 58 */ lwz r0, 0x58(r1) +/* 800679A0 00064900 90 03 00 DC */ stw r0, 0xdc(r3) +lbl_800679A4: +/* 800679A4 00064904 C0 3D 03 F4 */ lfs f1, 0x3f4(r29) +/* 800679A8 00064908 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 800679AC 0006490C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800679B0 00064910 40 81 00 54 */ ble lbl_80067A04 +/* 800679B4 00064914 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 800679B8 00064918 C0 0D 83 2C */ lfs f0, lbl_805A6EEC@sda21(r13) +/* 800679BC 0006491C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800679C0 00064920 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800679C4 00064924 40 80 00 0C */ bge lbl_800679D0 +/* 800679C8 00064928 38 61 00 38 */ addi r3, r1, 0x38 +/* 800679CC 0006492C 48 00 00 08 */ b lbl_800679D4 +lbl_800679D0: +/* 800679D0 00064930 38 6D 83 2C */ addi r3, r13, lbl_805A6EEC@sda21 +lbl_800679D4: +/* 800679D4 00064934 C0 03 00 00 */ lfs f0, 0(r3) +/* 800679D8 00064938 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 800679DC 0006493C D0 1D 03 F4 */ stfs f0, 0x3f4(r29) +/* 800679E0 00064940 C0 1D 03 F4 */ lfs f0, 0x3f4(r29) +/* 800679E4 00064944 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800679E8 00064948 40 82 00 1C */ bne lbl_80067A04 +/* 800679EC 0006494C 80 1D 03 A4 */ lwz r0, 0x3a4(r29) +/* 800679F0 00064950 38 61 00 34 */ addi r3, r1, 0x34 +/* 800679F4 00064954 90 01 00 34 */ stw r0, 0x34(r1) +/* 800679F8 00064958 48 28 24 8D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 800679FC 0006495C 38 00 00 00 */ li r0, 0 +/* 80067A00 00064960 90 1D 03 A4 */ stw r0, 0x3a4(r29) +lbl_80067A04: +/* 80067A04 00064964 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80067A08 00064968 C0 5D 03 F0 */ lfs f2, 0x3f0(r29) +/* 80067A0C 0006496C C0 03 01 B4 */ lfs f0, 0x1b4(r3) +/* 80067A10 00064970 C0 3D 03 F4 */ lfs f1, 0x3f4(r29) +/* 80067A14 00064974 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80067A18 00064978 83 2D A1 3C */ lwz r25, gpTweakGuiColors@sda21(r13) +/* 80067A1C 0006497C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80067A20 00064980 40 81 00 14 */ ble lbl_80067A34 +/* 80067A24 00064984 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80067A28 00064988 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80067A2C 0006498C EC 01 00 24 */ fdivs f0, f1, f0 +/* 80067A30 00064990 48 00 00 08 */ b lbl_80067A38 +lbl_80067A34: +/* 80067A34 00064994 EC 01 00 24 */ fdivs f0, f1, f0 +lbl_80067A38: +/* 80067A38 00064998 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80067A3C 0006499C FC 20 00 18 */ frsp f1, f0 +/* 80067A40 000649A0 38 81 00 54 */ addi r4, r1, 0x54 +/* 80067A44 000649A4 38 6D 83 30 */ addi r3, r13, lbl_805A6EF0@sda21 +/* 80067A48 000649A8 C0 1D 03 F8 */ lfs f0, 0x3f8(r29) +/* 80067A4C 000649AC 38 AD 83 34 */ addi r5, r13, lbl_805A6EF4@sda21 +/* 80067A50 000649B0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80067A54 000649B4 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80067A58 000649B8 4B FA 48 5D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80067A5C 000649BC C0 23 00 00 */ lfs f1, 0(r3) +/* 80067A60 000649C0 3C A0 43 30 */ lis r5, 0x4330 +/* 80067A64 000649C4 90 A1 01 20 */ stw r5, 0x120(r1) +/* 80067A68 000649C8 C8 42 87 68 */ lfd f2, lbl_805AA488@sda21(r2) +/* 80067A6C 000649CC D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80067A70 000649D0 88 19 00 C7 */ lbz r0, 0xc7(r25) +/* 80067A74 000649D4 90 01 01 24 */ stw r0, 0x124(r1) +/* 80067A78 000649D8 C8 01 01 20 */ lfd f0, 0x120(r1) +/* 80067A7C 000649DC EC 00 10 28 */ fsubs f0, f0, f2 +/* 80067A80 000649E0 EF E1 00 32 */ fmuls f31, f1, f0 +/* 80067A84 000649E4 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 +/* 80067A88 000649E8 80 79 00 C4 */ lwz r3, 0xc4(r25) +/* 80067A8C 000649EC 88 01 00 0A */ lbz r0, 0xa(r1) +/* 80067A90 000649F0 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80067A94 000649F4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80067A98 000649F8 90 01 00 50 */ stw r0, 0x50(r1) +/* 80067A9C 000649FC 88 04 00 E7 */ lbz r0, 0xe7(r4) +/* 80067AA0 00064A00 90 A1 01 28 */ stw r5, 0x128(r1) +/* 80067AA4 00064A04 C0 3D 03 EC */ lfs f1, 0x3ec(r29) +/* 80067AA8 00064A08 90 01 01 2C */ stw r0, 0x12c(r1) +/* 80067AAC 00064A0C C8 01 01 28 */ lfd f0, 0x128(r1) +/* 80067AB0 00064A10 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80067AB4 00064A14 EF C1 00 32 */ fmuls f30, f1, f0 +/* 80067AB8 00064A18 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 80067ABC 00064A1C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80067AC0 00064A20 80 C4 00 E4 */ lwz r6, 0xe4(r4) +/* 80067AC4 00064A24 38 81 00 50 */ addi r4, r1, 0x50 +/* 80067AC8 00064A28 88 01 00 09 */ lbz r0, 9(r1) +/* 80067ACC 00064A2C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 80067AD0 00064A30 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 80067AD4 00064A34 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80067AD8 00064A38 48 2F B5 D9 */ bl Add__6CColorFRC6CColorRC6CColor +/* 80067ADC 00064A3C 80 81 00 30 */ lwz r4, 0x30(r1) +/* 80067AE0 00064A40 90 81 00 48 */ stw r4, 0x48(r1) +/* 80067AE4 00064A44 88 A1 00 4B */ lbz r5, 0x4b(r1) +/* 80067AE8 00064A48 28 05 00 00 */ cmplwi r5, 0 +/* 80067AEC 00064A4C 41 82 00 64 */ beq lbl_80067B50 +/* 80067AF0 00064A50 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80067AF4 00064A54 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80067AF8 00064A58 2C 00 00 00 */ cmpwi r0, 0 +/* 80067AFC 00064A5C 41 82 00 34 */ beq lbl_80067B30 +/* 80067B00 00064A60 3C 00 43 30 */ lis r0, 0x4330 +/* 80067B04 00064A64 90 A1 01 2C */ stw r5, 0x12c(r1) +/* 80067B08 00064A68 C8 22 87 68 */ lfd f1, lbl_805AA488@sda21(r2) +/* 80067B0C 00064A6C 90 01 01 28 */ stw r0, 0x128(r1) +/* 80067B10 00064A70 C0 42 87 78 */ lfs f2, lbl_805AA498@sda21(r2) +/* 80067B14 00064A74 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 80067B18 00064A78 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80067B1C 00064A7C EF A2 00 32 */ fmuls f29, f2, f0 +/* 80067B20 00064A80 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 +/* 80067B24 00064A84 88 01 00 08 */ lbz r0, 8(r1) +/* 80067B28 00064A88 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 +/* 80067B2C 00064A8C 90 01 00 48 */ stw r0, 0x48(r1) +lbl_80067B30: +/* 80067B30 00064A90 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 80067B34 00064A94 38 7D 03 A8 */ addi r3, r29, 0x3a8 +/* 80067B38 00064A98 38 C1 00 48 */ addi r6, r1, 0x48 +/* 80067B3C 00064A9C 38 80 00 03 */ li r4, 3 +/* 80067B40 00064AA0 38 A0 00 00 */ li r5, 0 +/* 80067B44 00064AA4 38 E0 FF FF */ li r7, -1 +/* 80067B48 00064AA8 48 08 58 59 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +/* 80067B4C 00064AAC 48 00 00 10 */ b lbl_80067B5C +lbl_80067B50: +/* 80067B50 00064AB0 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 80067B54 00064AB4 38 7D 03 A8 */ addi r3, r29, 0x3a8 +/* 80067B58 00064AB8 48 08 58 11 */ bl DisableFilter__17CCameraFilterPassFf +lbl_80067B5C: +/* 80067B5C 00064ABC 80 1D 03 A4 */ lwz r0, 0x3a4(r29) +/* 80067B60 00064AC0 28 00 00 00 */ cmplwi r0, 0 +/* 80067B64 00064AC4 41 82 00 54 */ beq lbl_80067BB8 +/* 80067B68 00064AC8 80 FE 08 4C */ lwz r7, 0x84c(r30) +/* 80067B6C 00064ACC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80067B70 00064AD0 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80067B74 00064AD4 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80067B78 00064AD8 C0 47 00 58 */ lfs f2, 0x58(r7) +/* 80067B7C 00064ADC 38 C0 00 7F */ li r6, 0x7f +/* 80067B80 00064AE0 C0 27 00 48 */ lfs f1, 0x48(r7) +/* 80067B84 00064AE4 C0 07 00 38 */ lfs f0, 0x38(r7) +/* 80067B88 00064AE8 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80067B8C 00064AEC D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80067B90 00064AF0 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 80067B94 00064AF4 C0 47 00 60 */ lfs f2, 0x60(r7) +/* 80067B98 00064AF8 C0 27 00 50 */ lfs f1, 0x50(r7) +/* 80067B9C 00064AFC C0 07 00 40 */ lfs f0, 0x40(r7) +/* 80067BA0 00064B00 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80067BA4 00064B04 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 80067BA8 00064B08 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80067BAC 00064B0C 80 1D 03 A4 */ lwz r0, 0x3a4(r29) +/* 80067BB0 00064B10 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80067BB4 00064B14 48 28 22 FD */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80067BB8: +/* 80067BB8 00064B18 C0 3D 04 00 */ lfs f1, 0x400(r29) +/* 80067BBC 00064B1C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80067BC0 00064B20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80067BC4 00064B24 40 81 01 18 */ ble lbl_80067CDC +/* 80067BC8 00064B28 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 80067BCC 00064B2C C0 0D 83 38 */ lfs f0, lbl_805A6EF8@sda21(r13) +/* 80067BD0 00064B30 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80067BD4 00064B34 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80067BD8 00064B38 40 80 00 0C */ bge lbl_80067BE4 +/* 80067BDC 00064B3C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80067BE0 00064B40 48 00 00 08 */ b lbl_80067BE8 +lbl_80067BE4: +/* 80067BE4 00064B44 38 6D 83 38 */ addi r3, r13, lbl_805A6EF8@sda21 +lbl_80067BE8: +/* 80067BE8 00064B48 C0 03 00 00 */ lfs f0, 0(r3) +/* 80067BEC 00064B4C D0 1D 04 00 */ stfs f0, 0x400(r29) +/* 80067BF0 00064B50 C0 3D 04 00 */ lfs f1, 0x400(r29) +/* 80067BF4 00064B54 C0 1D 03 FC */ lfs f0, 0x3fc(r29) +/* 80067BF8 00064B58 80 7D 02 8C */ lwz r3, 0x28c(r29) +/* 80067BFC 00064B5C EF 61 00 24 */ fdivs f27, f1, f0 +/* 80067C00 00064B60 28 03 00 00 */ cmplwi r3, 0 +/* 80067C04 00064B64 41 82 00 0C */ beq lbl_80067C10 +/* 80067C08 00064B68 FC 20 D8 90 */ fmr f1, f27 +/* 80067C0C 00064B6C 48 12 7E 49 */ bl SetFlashMagnitude__19CHudEnergyInterfaceFf +lbl_80067C10: +/* 80067C10 00064B70 C0 3D 04 04 */ lfs f1, 0x404(r29) +/* 80067C14 00064B74 C0 0D 83 3C */ lfs f0, lbl_805A6EFC@sda21(r13) +/* 80067C18 00064B78 EC 3B 00 72 */ fmuls f1, f27, f1 +/* 80067C1C 00064B7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80067C20 00064B80 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80067C24 00064B84 40 80 00 0C */ bge lbl_80067C30 +/* 80067C28 00064B88 38 61 00 24 */ addi r3, r1, 0x24 +/* 80067C2C 00064B8C 48 00 00 08 */ b lbl_80067C34 +lbl_80067C30: +/* 80067C30 00064B90 38 6D 83 3C */ addi r3, r13, lbl_805A6EFC@sda21 +lbl_80067C34: +/* 80067C34 00064B94 C3 63 00 00 */ lfs f27, 0(r3) +/* 80067C38 00064B98 80 7D 02 A0 */ lwz r3, 0x2a0(r29) +/* 80067C3C 00064B9C FC 20 D8 90 */ fmr f1, f27 +/* 80067C40 00064BA0 48 12 8F 85 */ bl AddHelmetLightValue__19CHudHelmetInterfaceFf +/* 80067C44 00064BA4 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 80067C48 00064BA8 28 03 00 00 */ cmplwi r3, 0 +/* 80067C4C 00064BAC 41 82 00 90 */ beq lbl_80067CDC +/* 80067C50 00064BB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80067C54 00064BB4 FC 20 D8 90 */ fmr f1, f27 +/* 80067C58 00064BB8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80067C5C 00064BBC 7D 89 03 A6 */ mtctr r12 +/* 80067C60 00064BC0 4E 80 04 21 */ bctrl +/* 80067C64 00064BC4 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80067C68 00064BC8 FC 1B 00 40 */ fcmpo cr0, f27, f0 +/* 80067C6C 00064BCC 40 81 00 58 */ ble lbl_80067CC4 +/* 80067C70 00064BD0 FC 20 D8 90 */ fmr f1, f27 +/* 80067C74 00064BD4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80067C78 00064BD8 FC 40 D8 90 */ fmr f2, f27 +/* 80067C7C 00064BDC FC 60 D8 90 */ fmr f3, f27 +/* 80067C80 00064BE0 FC 80 D8 90 */ fmr f4, f27 +/* 80067C84 00064BE4 48 2F B7 69 */ bl __ct__6CColorFffff +/* 80067C88 00064BE8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80067C8C 00064BEC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80067C90 00064BF0 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80067C94 00064BF4 38 84 00 40 */ addi r4, r4, 0x40 +/* 80067C98 00064BF8 48 2F B4 E1 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80067C9C 00064BFC 80 7D 03 D4 */ lwz r3, 0x3d4(r29) +/* 80067CA0 00064C00 38 81 00 20 */ addi r4, r1, 0x20 +/* 80067CA4 00064C04 48 26 2B C9 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80067CA8 00064C08 80 7D 03 D4 */ lwz r3, 0x3d4(r29) +/* 80067CAC 00064C0C 38 80 00 01 */ li r4, 1 +/* 80067CB0 00064C10 81 83 00 00 */ lwz r12, 0(r3) +/* 80067CB4 00064C14 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80067CB8 00064C18 7D 89 03 A6 */ mtctr r12 +/* 80067CBC 00064C1C 4E 80 04 21 */ bctrl +/* 80067CC0 00064C20 48 00 00 1C */ b lbl_80067CDC +lbl_80067CC4: +/* 80067CC4 00064C24 80 7D 03 D4 */ lwz r3, 0x3d4(r29) +/* 80067CC8 00064C28 38 80 00 00 */ li r4, 0 +/* 80067CCC 00064C2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80067CD0 00064C30 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80067CD4 00064C34 7D 89 03 A6 */ mtctr r12 +/* 80067CD8 00064C38 4E 80 04 21 */ bctrl +lbl_80067CDC: +/* 80067CDC 00064C3C C0 3D 04 14 */ lfs f1, 0x414(r29) +/* 80067CE0 00064C40 38 00 00 00 */ li r0, 0 +/* 80067CE4 00064C44 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80067CE8 00064C48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80067CEC 00064C4C 40 81 00 58 */ ble lbl_80067D44 +/* 80067CF0 00064C50 C0 02 87 AC */ lfs f0, lbl_805AA4CC@sda21(r2) +/* 80067CF4 00064C54 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80067CF8 00064C58 EC 20 07 32 */ fmuls f1, f0, f28 +/* 80067CFC 00064C5C C0 5D 04 18 */ lfs f2, 0x418(r29) +/* 80067D00 00064C60 C0 03 00 90 */ lfs f0, 0x90(r3) +/* 80067D04 00064C64 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80067D08 00064C68 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80067D0C 00064C6C D0 1D 04 18 */ stfs f0, 0x418(r29) +/* 80067D10 00064C70 C0 5D 04 14 */ lfs f2, 0x414(r29) +/* 80067D14 00064C74 C0 3D 04 18 */ lfs f1, 0x418(r29) +/* 80067D18 00064C78 C0 0D 83 40 */ lfs f0, lbl_805A6F00@sda21(r13) +/* 80067D1C 00064C7C EC 22 08 2A */ fadds f1, f2, f1 +/* 80067D20 00064C80 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80067D24 00064C84 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80067D28 00064C88 40 80 00 0C */ bge lbl_80067D34 +/* 80067D2C 00064C8C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80067D30 00064C90 48 00 00 08 */ b lbl_80067D38 +lbl_80067D34: +/* 80067D34 00064C94 38 6D 83 40 */ addi r3, r13, lbl_805A6F00@sda21 +lbl_80067D38: +/* 80067D38 00064C98 C0 03 00 00 */ lfs f0, 0(r3) +/* 80067D3C 00064C9C 38 00 00 01 */ li r0, 1 +/* 80067D40 00064CA0 D0 1D 04 14 */ stfs f0, 0x414(r29) +lbl_80067D44: +/* 80067D44 00064CA4 C0 3D 04 60 */ lfs f1, 0x460(r29) +/* 80067D48 00064CA8 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80067D4C 00064CAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80067D50 00064CB0 40 81 02 74 */ ble lbl_80067FC4 +/* 80067D54 00064CB4 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 80067D58 00064CB8 C0 0D 83 44 */ lfs f0, lbl_805A6F04@sda21(r13) +/* 80067D5C 00064CBC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80067D60 00064CC0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80067D64 00064CC4 40 80 00 0C */ bge lbl_80067D70 +/* 80067D68 00064CC8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80067D6C 00064CCC 48 00 00 08 */ b lbl_80067D74 +lbl_80067D70: +/* 80067D70 00064CD0 38 6D 83 44 */ addi r3, r13, lbl_805A6F04@sda21 +lbl_80067D74: +/* 80067D74 00064CD4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80067D78 00064CD8 D0 1D 04 60 */ stfs f0, 0x460(r29) +/* 80067D7C 00064CDC C0 3D 04 60 */ lfs f1, 0x460(r29) +/* 80067D80 00064CE0 C0 1D 04 5C */ lfs f0, 0x45c(r29) +/* 80067D84 00064CE4 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80067D88 00064CE8 EC 21 00 24 */ fdivs f1, f1, f0 +/* 80067D8C 00064CEC C0 1D 04 64 */ lfs f0, 0x464(r29) +/* 80067D90 00064CF0 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80067D94 00064CF4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80067D98 00064CF8 C4 03 00 A4 */ lfsu f0, 0xa4(r3) +/* 80067D9C 00064CFC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80067DA0 00064D00 40 80 00 08 */ bge lbl_80067DA8 +/* 80067DA4 00064D04 48 00 00 08 */ b lbl_80067DAC +lbl_80067DA8: +/* 80067DA8 00064D08 38 61 00 14 */ addi r3, r1, 0x14 +lbl_80067DAC: +/* 80067DAC 00064D0C C3 A3 00 00 */ lfs f29, 0(r3) +/* 80067DB0 00064D10 48 32 80 CD */ bl rand +/* 80067DB4 00064D14 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80067DB8 00064D18 3C 00 43 30 */ lis r0, 0x4330 +/* 80067DBC 00064D1C 90 61 01 2C */ stw r3, 0x12c(r1) +/* 80067DC0 00064D20 38 61 00 8C */ addi r3, r1, 0x8c +/* 80067DC4 00064D24 C8 42 87 B8 */ lfd f2, lbl_805AA4D8@sda21(r2) +/* 80067DC8 00064D28 38 81 00 10 */ addi r4, r1, 0x10 +/* 80067DCC 00064D2C 90 01 01 28 */ stw r0, 0x128(r1) +/* 80067DD0 00064D30 C0 02 87 B4 */ lfs f0, lbl_805AA4D4@sda21(r2) +/* 80067DD4 00064D34 C8 21 01 28 */ lfd f1, 0x128(r1) +/* 80067DD8 00064D38 C0 62 87 B0 */ lfs f3, lbl_805AA4D0@sda21(r2) +/* 80067DDC 00064D3C EC 21 10 28 */ fsubs f1, f1, f2 +/* 80067DE0 00064D40 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80067DE4 00064D44 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80067DE8 00064D48 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80067DEC 00064D4C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80067DF0 00064D50 48 2A 93 79 */ bl XRotation__11CQuaternionFRC9CRelAngle +/* 80067DF4 00064D54 C0 61 00 8C */ lfs f3, 0x8c(r1) +/* 80067DF8 00064D58 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 80067DFC 00064D5C C0 21 00 94 */ lfs f1, 0x94(r1) +/* 80067E00 00064D60 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 80067E04 00064D64 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 80067E08 00064D68 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 80067E0C 00064D6C D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 80067E10 00064D70 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 80067E14 00064D74 48 32 80 69 */ bl rand +/* 80067E18 00064D78 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80067E1C 00064D7C 3C 00 43 30 */ lis r0, 0x4330 +/* 80067E20 00064D80 90 61 01 24 */ stw r3, 0x124(r1) +/* 80067E24 00064D84 38 61 00 7C */ addi r3, r1, 0x7c +/* 80067E28 00064D88 C8 42 87 B8 */ lfd f2, lbl_805AA4D8@sda21(r2) +/* 80067E2C 00064D8C 38 81 00 0C */ addi r4, r1, 0xc +/* 80067E30 00064D90 90 01 01 20 */ stw r0, 0x120(r1) +/* 80067E34 00064D94 C0 02 87 B4 */ lfs f0, lbl_805AA4D4@sda21(r2) +/* 80067E38 00064D98 C8 21 01 20 */ lfd f1, 0x120(r1) +/* 80067E3C 00064D9C C0 62 87 B0 */ lfs f3, lbl_805AA4D0@sda21(r2) +/* 80067E40 00064DA0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80067E44 00064DA4 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80067E48 00064DA8 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80067E4C 00064DAC EC 03 00 32 */ fmuls f0, f3, f0 +/* 80067E50 00064DB0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80067E54 00064DB4 48 2A 92 A5 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80067E58 00064DB8 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 80067E5C 00064DBC 38 61 00 6C */ addi r3, r1, 0x6c +/* 80067E60 00064DC0 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 80067E64 00064DC4 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 80067E68 00064DC8 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80067E6C 00064DCC 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 80067E70 00064DD0 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80067E74 00064DD4 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 80067E78 00064DD8 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 80067E7C 00064DDC D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 80067E80 00064DE0 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 80067E84 00064DE4 48 2A 93 1D */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80067E88 00064DE8 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80067E8C 00064DEC 3C 80 38 E4 */ lis r4, 0x38E38E39@ha +/* 80067E90 00064DF0 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 80067E94 00064DF4 3C E0 80 5A */ lis r7, lbl_805A6718@ha +/* 80067E98 00064DF8 D0 1D 04 4C */ stfs f0, 0x44c(r29) +/* 80067E9C 00064DFC 3C C0 80 5A */ lis r6, lbl_805A6724@ha +/* 80067EA0 00064E00 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 80067EA4 00064E04 CB E2 87 B8 */ lfd f31, lbl_805AA4D8@sda21(r2) +/* 80067EA8 00064E08 81 01 00 70 */ lwz r8, 0x70(r1) +/* 80067EAC 00064E0C 3B E4 8E 39 */ addi r31, r4, 0x38E38E39@l +/* 80067EB0 00064E10 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80067EB4 00064E14 3B 43 55 56 */ addi r26, r3, 0x55555556@l +/* 80067EB8 00064E18 C3 C2 87 B4 */ lfs f30, lbl_805AA4D4@sda21(r2) +/* 80067EBC 00064E1C 3B 61 00 F8 */ addi r27, r1, 0xf8 +/* 80067EC0 00064E20 91 1D 04 50 */ stw r8, 0x450(r29) +/* 80067EC4 00064E24 3B C0 00 00 */ li r30, 0 +/* 80067EC8 00064E28 C3 82 87 3C */ lfs f28, lbl_805AA45C@sda21(r2) +/* 80067ECC 00064E2C 3F 80 43 30 */ lis r28, 0x4330 +/* 80067ED0 00064E30 90 1D 04 54 */ stw r0, 0x454(r29) +/* 80067ED4 00064E34 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80067ED8 00064E38 90 1D 04 58 */ stw r0, 0x458(r29) +/* 80067EDC 00064E3C C5 07 67 18 */ lfsu f8, lbl_805A6718@l(r7) +/* 80067EE0 00064E40 C4 A6 67 24 */ lfsu f5, lbl_805A6724@l(r6) +/* 80067EE4 00064E44 C4 45 66 F4 */ lfsu f2, lbl_805A66F4@l(r5) +/* 80067EE8 00064E48 C0 E7 00 04 */ lfs f7, 4(r7) +/* 80067EEC 00064E4C C0 C7 00 08 */ lfs f6, 8(r7) +/* 80067EF0 00064E50 C0 86 00 04 */ lfs f4, 4(r6) +/* 80067EF4 00064E54 C0 66 00 08 */ lfs f3, 8(r6) +/* 80067EF8 00064E58 C0 25 00 04 */ lfs f1, 4(r5) +/* 80067EFC 00064E5C C0 05 00 08 */ lfs f0, 8(r5) +/* 80067F00 00064E60 D1 01 00 F8 */ stfs f8, 0xf8(r1) +/* 80067F04 00064E64 D0 E1 00 FC */ stfs f7, 0xfc(r1) +/* 80067F08 00064E68 D0 C1 01 00 */ stfs f6, 0x100(r1) +/* 80067F0C 00064E6C D0 A1 01 04 */ stfs f5, 0x104(r1) +/* 80067F10 00064E70 D0 81 01 08 */ stfs f4, 0x108(r1) +/* 80067F14 00064E74 D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 80067F18 00064E78 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 80067F1C 00064E7C D0 21 01 14 */ stfs f1, 0x114(r1) +/* 80067F20 00064E80 D0 01 01 18 */ stfs f0, 0x118(r1) +lbl_80067F24: +/* 80067F24 00064E84 48 32 7F 59 */ bl rand +/* 80067F28 00064E88 7C 79 1B 78 */ mr r25, r3 +/* 80067F2C 00064E8C 48 32 7F 51 */ bl rand +/* 80067F30 00064E90 6F 20 80 00 */ xoris r0, r25, 0x8000 +/* 80067F34 00064E94 3B DE 00 01 */ addi r30, r30, 1 +/* 80067F38 00064E98 90 01 01 2C */ stw r0, 0x12c(r1) +/* 80067F3C 00064E9C 7C 1F 18 96 */ mulhw r0, r31, r3 +/* 80067F40 00064EA0 2C 1E 00 04 */ cmpwi r30, 4 +/* 80067F44 00064EA4 93 81 01 28 */ stw r28, 0x128(r1) +/* 80067F48 00064EA8 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 80067F4C 00064EAC 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80067F50 00064EB0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80067F54 00064EB4 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80067F58 00064EB8 7C 00 22 14 */ add r0, r0, r4 +/* 80067F5C 00064EBC 1C 00 00 09 */ mulli r0, r0, 9 +/* 80067F60 00064EC0 EC 00 F0 24 */ fdivs f0, f0, f30 +/* 80067F64 00064EC4 7C A0 18 50 */ subf r5, r0, r3 +/* 80067F68 00064EC8 7C 7A 28 96 */ mulhw r3, r26, r5 +/* 80067F6C 00064ECC 54 60 0F FE */ srwi r0, r3, 0x1f +/* 80067F70 00064ED0 7C 83 02 14 */ add r4, r3, r0 +/* 80067F74 00064ED4 1C 04 00 03 */ mulli r0, r4, 3 +/* 80067F78 00064ED8 7C 00 28 50 */ subf r0, r0, r5 +/* 80067F7C 00064EDC EC 00 E0 28 */ fsubs f0, f0, f28 +/* 80067F80 00064EE0 1C 60 00 0C */ mulli r3, r0, 0xc +/* 80067F84 00064EE4 54 80 10 3A */ slwi r0, r4, 2 +/* 80067F88 00064EE8 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80067F8C 00064EEC 7C 03 02 14 */ add r0, r3, r0 +/* 80067F90 00064EF0 7C 3B 04 2E */ lfsx f1, r27, r0 +/* 80067F94 00064EF4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80067F98 00064EF8 7C 1B 05 2E */ stfsx f0, r27, r0 +/* 80067F9C 00064EFC 41 80 FF 88 */ blt lbl_80067F24 +/* 80067FA0 00064F00 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80067FA4 00064F04 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80067FA8 00064F08 38 A1 01 04 */ addi r5, r1, 0x104 +/* 80067FAC 00064F0C 38 C1 01 10 */ addi r6, r1, 0x110 +/* 80067FB0 00064F10 48 2A 86 CD */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80067FB4 00064F14 7C 64 1B 78 */ mr r4, r3 +/* 80067FB8 00064F18 38 7D 04 28 */ addi r3, r29, 0x428 +/* 80067FBC 00064F1C 48 2A 80 3D */ bl __as__9CMatrix3fFRC9CMatrix3f +/* 80067FC0 00064F20 38 00 00 01 */ li r0, 1 +lbl_80067FC4: +/* 80067FC4 00064F24 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80067FC8 00064F28 41 82 00 98 */ beq lbl_80068060 +/* 80067FCC 00064F2C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80067FD0 00064F30 C0 1D 04 14 */ lfs f0, 0x414(r29) +/* 80067FD4 00064F34 C4 23 00 8C */ lfsu f1, 0x8c(r3) +/* 80067FD8 00064F38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80067FDC 00064F3C 40 80 00 08 */ bge lbl_80067FE4 +/* 80067FE0 00064F40 48 00 00 08 */ b lbl_80067FE8 +lbl_80067FE4: +/* 80067FE4 00064F44 38 7D 04 14 */ addi r3, r29, 0x414 +lbl_80067FE8: +/* 80067FE8 00064F48 C0 63 00 00 */ lfs f3, 0(r3) +/* 80067FEC 00064F4C C0 1D 04 08 */ lfs f0, 0x408(r29) +/* 80067FF0 00064F50 C0 5D 04 0C */ lfs f2, 0x40c(r29) +/* 80067FF4 00064F54 C0 3D 04 10 */ lfs f1, 0x410(r29) +/* 80067FF8 00064F58 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80067FFC 00064F5C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80068000 00064F60 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80068004 00064F64 D0 1D 04 1C */ stfs f0, 0x41c(r29) +/* 80068008 00064F68 D0 5D 04 20 */ stfs f2, 0x420(r29) +/* 8006800C 00064F6C D0 3D 04 24 */ stfs f1, 0x424(r29) +/* 80068010 00064F70 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 80068014 00064F74 28 03 00 00 */ cmplwi r3, 0 +/* 80068018 00064F78 41 82 00 48 */ beq lbl_80068060 +/* 8006801C 00064F7C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 80068020 00064F80 38 9D 04 28 */ addi r4, r29, 0x428 +/* 80068024 00064F84 C0 5D 04 20 */ lfs f2, 0x420(r29) +/* 80068028 00064F88 C0 65 01 D8 */ lfs f3, 0x1d8(r5) +/* 8006802C 00064F8C 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80068030 00064F90 C0 3D 04 24 */ lfs f1, 0x424(r29) +/* 80068034 00064F94 C0 1D 04 1C */ lfs f0, 0x41c(r29) +/* 80068038 00064F98 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8006803C 00064F9C EC 23 00 72 */ fmuls f1, f3, f1 +/* 80068040 00064FA0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80068044 00064FA4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80068048 00064FA8 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8006804C 00064FAC D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80068050 00064FB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80068054 00064FB4 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80068058 00064FB8 7D 89 03 A6 */ mtctr r12 +/* 8006805C 00064FBC 4E 80 04 21 */ bctrl +lbl_80068060: +/* 80068060 00064FC0 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 +/* 80068064 00064FC4 CB E1 01 90 */ lfd f31, 0x190(r1) +/* 80068068 00064FC8 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 +/* 8006806C 00064FCC CB C1 01 80 */ lfd f30, 0x180(r1) +/* 80068070 00064FD0 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 +/* 80068074 00064FD4 CB A1 01 70 */ lfd f29, 0x170(r1) +/* 80068078 00064FD8 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 +/* 8006807C 00064FDC CB 81 01 60 */ lfd f28, 0x160(r1) +/* 80068080 00064FE0 E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 +/* 80068084 00064FE4 CB 61 01 50 */ lfd f27, 0x150(r1) +/* 80068088 00064FE8 BB 21 01 34 */ lmw r25, 0x134(r1) +/* 8006808C 00064FEC 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 80068090 00064FF0 7C 08 03 A6 */ mtlr r0 +/* 80068094 00064FF4 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 80068098 00064FF8 4E 80 00 20 */ blr + +.global SetFrameColorValue__17IHudDecoInterfaceFf +SetFrameColorValue__17IHudDecoInterfaceFf: +/* 8006809C 00064FFC 4E 80 00 20 */ blr + +.global GetVisorHudLightColor__9CSamusHudFRC6CColorRC13CStateManager +GetVisorHudLightColor__9CSamusHudFRC6CColorRC13CStateManager: +/* 800680A0 00065000 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800680A4 00065004 7C 08 02 A6 */ mflr r0 +/* 800680A8 00065008 90 01 00 54 */ stw r0, 0x54(r1) +/* 800680AC 0006500C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 800680B0 00065010 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 800680B4 00065014 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800680B8 00065018 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800680BC 0006501C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800680C0 00065020 80 86 08 B8 */ lwz r4, 0x8b8(r6) +/* 800680C4 00065024 7C 7D 1B 78 */ mr r29, r3 +/* 800680C8 00065028 7C BE 2B 78 */ mr r30, r5 +/* 800680CC 0006502C 80 64 00 00 */ lwz r3, 0(r4) +/* 800680D0 00065030 83 E3 00 14 */ lwz r31, 0x14(r3) +/* 800680D4 00065034 48 02 97 91 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 800680D8 00065038 80 1E 00 00 */ lwz r0, 0(r30) +/* 800680DC 0006503C 2C 1F 00 02 */ cmpwi r31, 2 +/* 800680E0 00065040 FF E0 08 90 */ fmr f31, f1 +/* 800680E4 00065044 90 01 00 20 */ stw r0, 0x20(r1) +/* 800680E8 00065048 41 82 00 24 */ beq lbl_8006810C +/* 800680EC 0006504C 40 80 00 14 */ bge lbl_80068100 +/* 800680F0 00065050 2C 1F 00 00 */ cmpwi r31, 0 +/* 800680F4 00065054 41 82 00 D0 */ beq lbl_800681C4 +/* 800680F8 00065058 40 80 00 7C */ bge lbl_80068174 +/* 800680FC 0006505C 48 00 00 C8 */ b lbl_800681C4 +lbl_80068100: +/* 80068100 00065060 2C 1F 00 04 */ cmpwi r31, 4 +/* 80068104 00065064 40 80 00 C0 */ bge lbl_800681C4 +/* 80068108 00065068 48 00 00 44 */ b lbl_8006814C +lbl_8006810C: +/* 8006810C 0006506C 48 2E 1E A1 */ bl White__6CColorFv +/* 80068110 00065070 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) +/* 80068114 00065074 FC 20 F8 90 */ fmr f1, f31 +/* 80068118 00065078 7C 64 1B 78 */ mr r4, r3 +/* 8006811C 0006507C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80068120 00065080 38 A5 00 D4 */ addi r5, r5, 0xd4 +/* 80068124 00065084 48 2F B1 89 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80068128 00065088 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006812C 0006508C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80068130 00065090 38 81 00 20 */ addi r4, r1, 0x20 +/* 80068134 00065094 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80068138 00065098 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8006813C 0006509C 48 2F B0 3D */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80068140 000650A0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80068144 000650A4 90 01 00 20 */ stw r0, 0x20(r1) +/* 80068148 000650A8 48 00 00 7C */ b lbl_800681C4 +lbl_8006814C: +/* 8006814C 000650AC 80 CD A1 3C */ lwz r6, gpTweakGuiColors@sda21(r13) +/* 80068150 000650B0 38 61 00 0C */ addi r3, r1, 0xc +/* 80068154 000650B4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80068158 000650B8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8006815C 000650BC 80 06 00 DC */ lwz r0, 0xdc(r6) +/* 80068160 000650C0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80068164 000650C4 48 2F B0 15 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80068168 000650C8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006816C 000650CC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80068170 000650D0 48 00 00 54 */ b lbl_800681C4 +lbl_80068174: +/* 80068174 000650D4 E0 A1 A0 22 */ psq_l f5, 34(r1), 1, qr2 +/* 80068178 000650D8 E0 41 A0 20 */ psq_l f2, 32(r1), 1, qr2 +/* 8006817C 000650DC E0 01 A0 21 */ psq_l f0, 33(r1), 1, qr2 +/* 80068180 000650E0 38 61 00 08 */ addi r3, r1, 8 +/* 80068184 000650E4 C0 82 87 A8 */ lfs f4, lbl_805AA4C8@sda21(r2) +/* 80068188 000650E8 C0 22 87 C0 */ lfs f1, lbl_805AA4E0@sda21(r2) +/* 8006818C 000650EC EC 04 00 32 */ fmuls f0, f4, f0 +/* 80068190 000650F0 C0 62 87 94 */ lfs f3, lbl_805AA4B4@sda21(r2) +/* 80068194 000650F4 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80068198 000650F8 C0 C2 87 2C */ lfs f6, lbl_805AA44C@sda21(r2) +/* 8006819C 000650FC EC A4 01 72 */ fmuls f5, f4, f5 +/* 800681A0 00065100 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) +/* 800681A4 00065104 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800681A8 00065108 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 800681AC 0006510C EC 26 01 7A */ fmadds f1, f6, f5, f0 +/* 800681B0 00065110 FC 40 08 90 */ fmr f2, f1 +/* 800681B4 00065114 FC 60 08 90 */ fmr f3, f1 +/* 800681B8 00065118 48 2F B2 35 */ bl __ct__6CColorFffff +/* 800681BC 0006511C 80 01 00 08 */ lwz r0, 8(r1) +/* 800681C0 00065120 90 01 00 20 */ stw r0, 0x20(r1) +lbl_800681C4: +/* 800681C4 00065124 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800681C8 00065128 90 1D 00 00 */ stw r0, 0(r29) +/* 800681CC 0006512C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 800681D0 00065130 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800681D4 00065134 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 800681D8 00065138 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800681DC 0006513C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800681E0 00065140 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800681E4 00065144 7C 08 03 A6 */ mtlr r0 +/* 800681E8 00065148 38 21 00 50 */ addi r1, r1, 0x50 +/* 800681EC 0006514C 4E 80 00 20 */ blr + +.global UpdateHudDynamicLights__9CSamusHudFfRC13CStateManager +UpdateHudDynamicLights__9CSamusHudFfRC13CStateManager: +/* 800681F0 00065150 94 21 FB D0 */ stwu r1, -0x430(r1) +/* 800681F4 00065154 7C 08 02 A6 */ mflr r0 +/* 800681F8 00065158 90 01 04 34 */ stw r0, 0x434(r1) +/* 800681FC 0006515C DB E1 04 20 */ stfd f31, 0x420(r1) +/* 80068200 00065160 F3 E1 04 28 */ psq_st f31, 1064(r1), 0, qr0 +/* 80068204 00065164 DB C1 04 10 */ stfd f30, 0x410(r1) +/* 80068208 00065168 F3 C1 04 18 */ psq_st f30, 1048(r1), 0, qr0 +/* 8006820C 0006516C DB A1 04 00 */ stfd f29, 0x400(r1) +/* 80068210 00065170 F3 A1 04 08 */ psq_st f29, 1032(r1), 0, qr0 +/* 80068214 00065174 DB 81 03 F0 */ stfd f28, 0x3f0(r1) +/* 80068218 00065178 F3 81 03 F8 */ psq_st f28, 1016(r1), 0, qr0 +/* 8006821C 0006517C DB 61 03 E0 */ stfd f27, 0x3e0(r1) +/* 80068220 00065180 F3 61 03 E8 */ psq_st f27, 1000(r1), 0, qr0 +/* 80068224 00065184 DB 41 03 D0 */ stfd f26, 0x3d0(r1) +/* 80068228 00065188 F3 41 03 D8 */ psq_st f26, 984(r1), 0, qr0 +/* 8006822C 0006518C DB 21 03 C0 */ stfd f25, 0x3c0(r1) +/* 80068230 00065190 F3 21 03 C8 */ psq_st f25, 968(r1), 0, qr0 +/* 80068234 00065194 DB 01 03 B0 */ stfd f24, 0x3b0(r1) +/* 80068238 00065198 F3 01 03 B8 */ psq_st f24, 952(r1), 0, qr0 +/* 8006823C 0006519C DA E1 03 A0 */ stfd f23, 0x3a0(r1) +/* 80068240 000651A0 F2 E1 03 A8 */ psq_st f23, 936(r1), 0, qr0 +/* 80068244 000651A4 DA C1 03 90 */ stfd f22, 0x390(r1) +/* 80068248 000651A8 F2 C1 03 98 */ psq_st f22, 920(r1), 0, qr0 +/* 8006824C 000651AC DA A1 03 80 */ stfd f21, 0x380(r1) +/* 80068250 000651B0 F2 A1 03 88 */ psq_st f21, 904(r1), 0, qr0 +/* 80068254 000651B4 BE 61 03 4C */ stmw r19, 0x34c(r1) +/* 80068258 000651B8 FF 20 08 90 */ fmr f25, f1 +/* 8006825C 000651BC 7C 9F 23 78 */ mr r31, r4 +/* 80068260 000651C0 7C 7E 1B 78 */ mr r30, r3 +/* 80068264 000651C4 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80068268 000651C8 4B FA 38 B1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8006826C 000651CC 7C 64 1B 78 */ mr r4, r3 +/* 80068270 000651D0 38 61 00 98 */ addi r3, r1, 0x98 +/* 80068274 000651D4 48 04 62 01 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" +/* 80068278 000651D8 83 63 00 04 */ lwz r27, 4(r3) +/* 8006827C 000651DC 28 1B 00 00 */ cmplwi r27, 0 +/* 80068280 000651E0 41 82 0B 4C */ beq lbl_80068DCC +/* 80068284 000651E4 C3 7B 00 60 */ lfs f27, 0x60(r27) +/* 80068288 000651E8 38 61 01 8C */ addi r3, r1, 0x18c +/* 8006828C 000651EC C0 A2 87 C8 */ lfs f5, lbl_805AA4E8@sda21(r2) +/* 80068290 000651F0 38 81 01 10 */ addi r4, r1, 0x110 +/* 80068294 000651F4 C3 9B 00 50 */ lfs f28, 0x50(r27) +/* 80068298 000651F8 38 A1 01 04 */ addi r5, r1, 0x104 +/* 8006829C 000651FC C3 BB 00 40 */ lfs f29, 0x40(r27) +/* 800682A0 00065200 EC 7B 28 2A */ fadds f3, f27, f5 +/* 800682A4 00065204 EC 9C 28 2A */ fadds f4, f28, f5 +/* 800682A8 00065208 C3 DB 00 38 */ lfs f30, 0x38(r27) +/* 800682AC 0006520C EC 1D 28 2A */ fadds f0, f29, f5 +/* 800682B0 00065210 C3 FB 00 48 */ lfs f31, 0x48(r27) +/* 800682B4 00065214 C3 5B 00 58 */ lfs f26, 0x58(r27) +/* 800682B8 00065218 EC 5D 28 28 */ fsubs f2, f29, f5 +/* 800682BC 0006521C EC 3C 28 28 */ fsubs f1, f28, f5 +/* 800682C0 00065220 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 800682C4 00065224 EC 1B 28 28 */ fsubs f0, f27, f5 +/* 800682C8 00065228 D0 81 01 08 */ stfs f4, 0x108(r1) +/* 800682CC 0006522C D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 800682D0 00065230 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 800682D4 00065234 D0 21 01 14 */ stfs f1, 0x114(r1) +/* 800682D8 00065238 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 800682DC 0006523C 48 2D 02 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800682E0 00065240 83 9E 03 3C */ lwz r28, 0x33c(r30) +/* 800682E4 00065244 38 60 00 00 */ li r3, 0 +/* 800682E8 00065248 88 1C 02 98 */ lbz r0, 0x298(r28) +/* 800682EC 0006524C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800682F0 00065250 98 1C 02 98 */ stb r0, 0x298(r28) +/* 800682F4 00065254 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 800682F8 00065258 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800682FC 0006525C 80 A3 00 04 */ lwz r5, 4(r3) +/* 80068300 00065260 7C 05 00 00 */ cmpw r5, r0 +/* 80068304 00065264 90 A1 00 8C */ stw r5, 0x8c(r1) +/* 80068308 00065268 41 82 0A C4 */ beq lbl_80068DCC +/* 8006830C 0006526C 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 80068310 00065270 54 A3 18 38 */ slwi r3, r5, 3 +/* 80068314 00065274 38 03 00 04 */ addi r0, r3, 4 +/* 80068318 00065278 90 A1 00 74 */ stw r5, 0x74(r1) +/* 8006831C 0006527C 80 A4 00 20 */ lwz r5, 0x20(r4) +/* 80068320 00065280 7F 83 E3 78 */ mr r3, r28 +/* 80068324 00065284 7F E4 FB 78 */ mr r4, r31 +/* 80068328 00065288 38 C1 01 8C */ addi r6, r1, 0x18c +/* 8006832C 0006528C 7C A5 00 2E */ lwzx r5, r5, r0 +/* 80068330 00065290 48 09 BA 91 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox +/* 80068334 00065294 3A BE 03 44 */ addi r21, r30, 0x344 +/* 80068338 00065298 C2 A2 87 34 */ lfs f21, lbl_805AA454@sda21(r2) +/* 8006833C 0006529C 3A 80 00 00 */ li r20, 0 +/* 80068340 000652A0 7E B3 AB 78 */ mr r19, r21 +lbl_80068344: +/* 80068344 000652A4 C0 53 00 04 */ lfs f2, 4(r19) +/* 80068348 000652A8 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8006834C 000652AC C0 33 00 08 */ lfs f1, 8(r19) +/* 80068350 000652B0 38 81 00 EC */ addi r4, r1, 0xec +/* 80068354 000652B4 C0 13 00 00 */ lfs f0, 0(r19) +/* 80068358 000652B8 EC 42 E0 28 */ fsubs f2, f2, f28 +/* 8006835C 000652BC EC 21 D8 28 */ fsubs f1, f1, f27 +/* 80068360 000652C0 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 80068364 000652C4 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 80068368 000652C8 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 8006836C 000652CC D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 80068370 000652D0 48 2A C4 E1 */ bl AsNormalized__9CVector3fCFv +/* 80068374 000652D4 C0 13 00 1C */ lfs f0, 0x1c(r19) +/* 80068378 000652D8 C0 41 00 F8 */ lfs f2, 0xf8(r1) +/* 8006837C 000652DC FC 00 A8 40 */ fcmpo cr0, f0, f21 +/* 80068380 000652E0 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 80068384 000652E4 C0 61 01 00 */ lfs f3, 0x100(r1) +/* 80068388 000652E8 40 81 00 48 */ ble lbl_800683D0 +/* 8006838C 000652EC EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80068390 000652F0 C0 02 87 CC */ lfs f0, lbl_805AA4EC@sda21(r2) +/* 80068394 000652F4 EC 3E 08 BA */ fmadds f1, f30, f2, f1 +/* 80068398 000652F8 EC 3A 08 FA */ fmadds f1, f26, f3, f1 +/* 8006839C 000652FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800683A0 00065300 4C 40 13 82 */ cror 2, 0, 2 +/* 800683A4 00065304 41 82 00 1C */ beq lbl_800683C0 +/* 800683A8 00065308 7F C3 F3 78 */ mr r3, r30 +/* 800683AC 0006530C 7E 64 9B 78 */ mr r4, r19 +/* 800683B0 00065310 7F 85 E3 78 */ mr r5, r28 +/* 800683B4 00065314 48 00 0B 51 */ bl IsCachedLightInAreaLights__9CSamusHudCFRCQ29CSamusHud15SCachedHudLightRC12CActorLights +/* 800683B8 00065318 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800683BC 0006531C 40 82 00 14 */ bne lbl_800683D0 +lbl_800683C0: +/* 800683C0 00065320 C0 33 00 1C */ lfs f1, 0x1c(r19) +/* 800683C4 00065324 C0 02 87 48 */ lfs f0, lbl_805AA468@sda21(r2) +/* 800683C8 00065328 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800683CC 0006532C D0 13 00 1C */ stfs f0, 0x1c(r19) +lbl_800683D0: +/* 800683D0 00065330 3A 94 00 01 */ addi r20, r20, 1 +/* 800683D4 00065334 3A 73 00 20 */ addi r19, r19, 0x20 +/* 800683D8 00065338 2C 14 00 03 */ cmpwi r20, 3 +/* 800683DC 0006533C 41 80 FF 68 */ blt lbl_80068344 +/* 800683E0 00065340 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 800683E4 00065344 3A C0 00 00 */ li r22, 0 +/* 800683E8 00065348 C0 35 00 1C */ lfs f1, 0x1c(r21) +/* 800683EC 0006534C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800683F0 00065350 4C 40 13 82 */ cror 2, 0, 2 +/* 800683F4 00065354 40 82 00 08 */ bne lbl_800683FC +/* 800683F8 00065358 3A C0 00 01 */ li r22, 1 +lbl_800683FC: +/* 800683FC 0006535C C0 35 00 3C */ lfs f1, 0x3c(r21) +/* 80068400 00065360 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80068404 00065364 4C 40 13 82 */ cror 2, 0, 2 +/* 80068408 00065368 40 82 00 08 */ bne lbl_80068410 +/* 8006840C 0006536C 3A D6 00 01 */ addi r22, r22, 1 +lbl_80068410: +/* 80068410 00065370 C0 35 00 5C */ lfs f1, 0x5c(r21) +/* 80068414 00065374 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80068418 00065378 4C 40 13 82 */ cror 2, 0, 2 +/* 8006841C 0006537C 40 82 00 08 */ bne lbl_80068424 +/* 80068420 00065380 3A D6 00 01 */ addi r22, r22, 1 +lbl_80068424: +/* 80068424 00065384 3A E0 00 00 */ li r23, 0 +/* 80068428 00065388 3A D6 FF FF */ addi r22, r22, -1 +/* 8006842C 0006538C 48 00 01 18 */ b lbl_80068544 +lbl_80068430: +/* 80068430 00065390 2C 16 00 01 */ cmpwi r22, 1 +/* 80068434 00065394 41 80 01 1C */ blt lbl_80068550 +/* 80068438 00065398 7F 83 E3 78 */ mr r3, r28 +/* 8006843C 0006539C 7E E4 BB 78 */ mr r4, r23 +/* 80068440 000653A0 48 09 CC 25 */ bl GetLight__12CActorLightsCFUi +/* 80068444 000653A4 7C 60 1B 78 */ mr r0, r3 +/* 80068448 000653A8 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8006844C 000653AC 7C 13 03 78 */ mr r19, r0 +/* 80068450 000653B0 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80068454 000653B4 C0 53 00 04 */ lfs f2, 4(r19) +/* 80068458 000653B8 C0 33 00 08 */ lfs f1, 8(r19) +/* 8006845C 000653BC C0 13 00 00 */ lfs f0, 0(r19) +/* 80068460 000653C0 EC 42 E0 28 */ fsubs f2, f2, f28 +/* 80068464 000653C4 EC 21 D8 28 */ fsubs f1, f1, f27 +/* 80068468 000653C8 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 8006846C 000653CC D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 80068470 000653D0 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 80068474 000653D4 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 80068478 000653D8 48 2A C3 D9 */ bl AsNormalized__9CVector3fCFv +/* 8006847C 000653DC C2 A1 00 E0 */ lfs f21, 0xe0(r1) +/* 80068480 000653E0 7F C3 F3 78 */ mr r3, r30 +/* 80068484 000653E4 C2 C1 00 E4 */ lfs f22, 0xe4(r1) +/* 80068488 000653E8 7E 64 9B 78 */ mr r4, r19 +/* 8006848C 000653EC C2 E1 00 E8 */ lfs f23, 0xe8(r1) +/* 80068490 000653F0 48 00 09 F1 */ bl IsAreaLightInCachedLights__9CSamusHudCFRC6CLight +/* 80068494 000653F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80068498 000653F8 40 82 00 A8 */ bne lbl_80068540 +/* 8006849C 000653FC EC 3F 05 B2 */ fmuls f1, f31, f22 +/* 800684A0 00065400 C0 02 87 CC */ lfs f0, lbl_805AA4EC@sda21(r2) +/* 800684A4 00065404 EC 3E 0D 7A */ fmadds f1, f30, f21, f1 +/* 800684A8 00065408 EC 3A 0D FA */ fmadds f1, f26, f23, f1 +/* 800684AC 0006540C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800684B0 00065410 40 81 00 90 */ ble lbl_80068540 +/* 800684B4 00065414 7F C3 F3 78 */ mr r3, r30 +/* 800684B8 00065418 7E 64 9B 78 */ mr r4, r19 +/* 800684BC 0006541C 48 00 09 7D */ bl FindEmptyHudLightSlot__9CSamusHudCFRC6CLight +/* 800684C0 00065420 2C 03 FF FF */ cmpwi r3, -1 +/* 800684C4 00065424 41 82 00 7C */ beq lbl_80068540 +/* 800684C8 00065428 C0 33 00 00 */ lfs f1, 0(r19) +/* 800684CC 0006542C 54 60 28 34 */ slwi r0, r3, 5 +/* 800684D0 00065430 C0 13 00 04 */ lfs f0, 4(r19) +/* 800684D4 00065434 7C B5 02 14 */ add r5, r21, r0 +/* 800684D8 00065438 D0 21 01 6C */ stfs f1, 0x16c(r1) +/* 800684DC 0006543C 3A D6 FF FF */ addi r22, r22, -1 +/* 800684E0 00065440 C0 33 00 2C */ lfs f1, 0x2c(r19) +/* 800684E4 00065444 D0 01 01 70 */ stfs f0, 0x170(r1) +/* 800684E8 00065448 C0 53 00 28 */ lfs f2, 0x28(r19) +/* 800684EC 0006544C C0 73 00 24 */ lfs f3, 0x24(r19) +/* 800684F0 00065450 C0 13 00 08 */ lfs f0, 8(r19) +/* 800684F4 00065454 80 93 00 18 */ lwz r4, 0x18(r19) +/* 800684F8 00065458 80 01 01 6C */ lwz r0, 0x16c(r1) +/* 800684FC 0006545C D0 01 01 74 */ stfs f0, 0x174(r1) +/* 80068500 00065460 80 61 01 70 */ lwz r3, 0x170(r1) +/* 80068504 00065464 90 05 00 00 */ stw r0, 0(r5) +/* 80068508 00065468 80 01 01 74 */ lwz r0, 0x174(r1) +/* 8006850C 0006546C 90 65 00 04 */ stw r3, 4(r5) +/* 80068510 00065470 C0 02 87 D0 */ lfs f0, lbl_805AA4F0@sda21(r2) +/* 80068514 00065474 90 05 00 08 */ stw r0, 8(r5) +/* 80068518 00065478 90 85 00 0C */ stw r4, 0xc(r5) +/* 8006851C 0006547C D0 65 00 10 */ stfs f3, 0x10(r5) +/* 80068520 00065480 D0 45 00 14 */ stfs f2, 0x14(r5) +/* 80068524 00065484 D0 25 00 18 */ stfs f1, 0x18(r5) +/* 80068528 00065488 90 81 01 78 */ stw r4, 0x178(r1) +/* 8006852C 0006548C D0 61 01 7C */ stfs f3, 0x17c(r1) +/* 80068530 00065490 D0 41 01 80 */ stfs f2, 0x180(r1) +/* 80068534 00065494 D0 21 01 84 */ stfs f1, 0x184(r1) +/* 80068538 00065498 D0 01 01 88 */ stfs f0, 0x188(r1) +/* 8006853C 0006549C D0 05 00 1C */ stfs f0, 0x1c(r5) +lbl_80068540: +/* 80068540 000654A0 3A F7 00 01 */ addi r23, r23, 1 +lbl_80068544: +/* 80068544 000654A4 80 1C 00 00 */ lwz r0, 0(r28) +/* 80068548 000654A8 7C 17 00 40 */ cmplw r23, r0 +/* 8006854C 000654AC 41 80 FE E4 */ blt lbl_80068430 +lbl_80068550: +/* 80068550 000654B0 C0 02 87 70 */ lfs f0, lbl_805AA490@sda21(r2) +/* 80068554 000654B4 38 00 00 03 */ li r0, 3 +/* 80068558 000654B8 7E A4 AB 78 */ mr r4, r21 +/* 8006855C 000654BC C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) +/* 80068560 000654C0 EC 60 06 72 */ fmuls f3, f0, f25 +/* 80068564 000654C4 7C 09 03 A6 */ mtctr r0 +lbl_80068568: +/* 80068568 000654C8 C0 24 00 1C */ lfs f1, 0x1c(r4) +/* 8006856C 000654CC FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80068570 000654D0 40 80 00 30 */ bge lbl_800685A0 +/* 80068574 000654D4 EC 21 18 2A */ fadds f1, f1, f3 +/* 80068578 000654D8 C0 0D 83 08 */ lfs f0, lbl_805A6EC8@sda21(r13) +/* 8006857C 000654DC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80068580 000654E0 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80068584 000654E4 40 80 00 0C */ bge lbl_80068590 +/* 80068588 000654E8 38 6D 83 08 */ addi r3, r13, lbl_805A6EC8@sda21 +/* 8006858C 000654EC 48 00 00 08 */ b lbl_80068594 +lbl_80068590: +/* 80068590 000654F0 38 61 00 70 */ addi r3, r1, 0x70 +lbl_80068594: +/* 80068594 000654F4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80068598 000654F8 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 8006859C 000654FC 48 00 00 40 */ b lbl_800685DC +lbl_800685A0: +/* 800685A0 00065500 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 800685A4 00065504 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800685A8 00065508 40 80 00 34 */ bge lbl_800685DC +/* 800685AC 0006550C FC 02 08 00 */ fcmpu cr0, f2, f1 +/* 800685B0 00065510 41 82 00 2C */ beq lbl_800685DC +/* 800685B4 00065514 EC 21 18 2A */ fadds f1, f1, f3 +/* 800685B8 00065518 C0 0D 83 0C */ lfs f0, lbl_805A6ECC@sda21(r13) +/* 800685BC 0006551C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800685C0 00065520 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 800685C4 00065524 40 80 00 0C */ bge lbl_800685D0 +/* 800685C8 00065528 38 6D 83 0C */ addi r3, r13, lbl_805A6ECC@sda21 +/* 800685CC 0006552C 48 00 00 08 */ b lbl_800685D4 +lbl_800685D0: +/* 800685D0 00065530 38 61 00 6C */ addi r3, r1, 0x6c +lbl_800685D4: +/* 800685D4 00065534 C0 03 00 00 */ lfs f0, 0(r3) +/* 800685D8 00065538 D0 04 00 1C */ stfs f0, 0x1c(r4) +lbl_800685DC: +/* 800685DC 0006553C 38 84 00 20 */ addi r4, r4, 0x20 +/* 800685E0 00065540 42 00 FF 88 */ bdnz lbl_80068568 +/* 800685E4 00065544 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 800685E8 00065548 80 63 00 00 */ lwz r3, 0(r3) +/* 800685EC 0006554C 82 63 00 14 */ lwz r19, 0x14(r3) +/* 800685F0 00065550 48 02 92 75 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 800685F4 00065554 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) +/* 800685F8 00065558 38 81 01 5C */ addi r4, r1, 0x15c +/* 800685FC 0006555C FE A0 08 90 */ fmr f21, f1 +/* 80068600 00065560 56 76 10 3A */ slwi r22, r19, 2 +/* 80068604 00065564 80 06 02 94 */ lwz r0, 0x294(r6) +/* 80068608 00065568 7C 85 23 78 */ mr r5, r4 +/* 8006860C 0006556C 38 61 00 68 */ addi r3, r1, 0x68 +/* 80068610 00065570 90 01 01 5C */ stw r0, 0x15c(r1) +/* 80068614 00065574 7C A5 B2 14 */ add r5, r5, r22 +/* 80068618 00065578 80 06 02 98 */ lwz r0, 0x298(r6) +/* 8006861C 0006557C 90 01 01 60 */ stw r0, 0x160(r1) +/* 80068620 00065580 80 06 02 9C */ lwz r0, 0x29c(r6) +/* 80068624 00065584 90 01 01 64 */ stw r0, 0x164(r1) +/* 80068628 00065588 80 06 02 A0 */ lwz r0, 0x2a0(r6) +/* 8006862C 0006558C 90 01 01 68 */ stw r0, 0x168(r1) +/* 80068630 00065590 80 06 02 A4 */ lwz r0, 0x2a4(r6) +/* 80068634 00065594 90 01 01 4C */ stw r0, 0x14c(r1) +/* 80068638 00065598 80 06 02 A8 */ lwz r0, 0x2a8(r6) +/* 8006863C 0006559C 90 01 01 50 */ stw r0, 0x150(r1) +/* 80068640 000655A0 80 06 02 AC */ lwz r0, 0x2ac(r6) +/* 80068644 000655A4 90 01 01 54 */ stw r0, 0x154(r1) +/* 80068648 000655A8 80 06 02 B0 */ lwz r0, 0x2b0(r6) +/* 8006864C 000655AC 90 01 01 58 */ stw r0, 0x158(r1) +/* 80068650 000655B0 48 2F AC 5D */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80068654 000655B4 80 01 00 68 */ lwz r0, 0x68(r1) +/* 80068658 000655B8 38 81 01 4C */ addi r4, r1, 0x14c +/* 8006865C 000655BC FC 20 A8 90 */ fmr f1, f21 +/* 80068660 000655C0 7C 85 23 78 */ mr r5, r4 +/* 80068664 000655C4 90 01 00 88 */ stw r0, 0x88(r1) +/* 80068668 000655C8 38 61 00 64 */ addi r3, r1, 0x64 +/* 8006866C 000655CC 7C A5 B2 14 */ add r5, r5, r22 +/* 80068670 000655D0 48 2F AC 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80068674 000655D4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80068678 000655D8 3B 3E 05 DC */ addi r25, r30, 0x5dc +/* 8006867C 000655DC 3C A0 80 5A */ lis r5, lbl_805A6724@ha +/* 80068680 000655E0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80068684 000655E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80068688 000655E8 90 01 00 84 */ stw r0, 0x84(r1) +/* 8006868C 000655EC C3 42 87 34 */ lfs f26, lbl_805AA454@sda21(r2) +/* 80068690 000655F0 7F 36 CB 78 */ mr r22, r25 +/* 80068694 000655F4 C3 C2 87 28 */ lfs f30, lbl_805AA448@sda21(r2) +/* 80068698 000655F8 3B A5 67 24 */ addi r29, r5, lbl_805A6724@l +/* 8006869C 000655FC C3 E2 87 48 */ lfs f31, lbl_805AA468@sda21(r2) +/* 800686A0 00065600 3A E4 66 A0 */ addi r23, r4, skZero3f@l +/* 800686A4 00065604 C2 A2 87 2C */ lfs f21, lbl_805AA44C@sda21(r2) +/* 800686A8 00065608 3B 03 66 F4 */ addi r24, r3, lbl_805A66F4@l +/* 800686AC 0006560C C2 C2 87 A8 */ lfs f22, lbl_805AA4C8@sda21(r2) +/* 800686B0 00065610 3B 40 00 00 */ li r26, 0 +/* 800686B4 00065614 C2 E2 87 94 */ lfs f23, lbl_805AA4B4@sda21(r2) +/* 800686B8 00065618 3A 80 00 00 */ li r20, 0 +/* 800686BC 0006561C C3 02 87 C0 */ lfs f24, lbl_805AA4E0@sda21(r2) +/* 800686C0 00065620 48 00 02 60 */ b lbl_80068920 +lbl_800686C4: +/* 800686C4 00065624 C0 55 00 04 */ lfs f2, 4(r21) +/* 800686C8 00065628 38 61 02 04 */ addi r3, r1, 0x204 +/* 800686CC 0006562C C0 35 00 08 */ lfs f1, 8(r21) +/* 800686D0 00065630 38 9B 00 34 */ addi r4, r27, 0x34 +/* 800686D4 00065634 C0 15 00 00 */ lfs f0, 0(r21) +/* 800686D8 00065638 EC 5C 10 28 */ fsubs f2, f28, f2 +/* 800686DC 0006563C 82 76 00 00 */ lwz r19, 0(r22) +/* 800686E0 00065640 EC 3B 08 28 */ fsubs f1, f27, f1 +/* 800686E4 00065644 EC 1D 00 28 */ fsubs f0, f29, f0 +/* 800686E8 00065648 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 800686EC 0006564C D0 01 01 40 */ stfs f0, 0x140(r1) +/* 800686F0 00065650 D0 21 01 48 */ stfs f1, 0x148(r1) +/* 800686F4 00065654 48 2A AA 01 */ bl BuildMatrix3f__12CTransform4fCFv +/* 800686F8 00065658 C1 01 02 24 */ lfs f8, 0x224(r1) +/* 800686FC 0006565C 38 61 00 BC */ addi r3, r1, 0xbc +/* 80068700 00065660 C0 E1 02 18 */ lfs f7, 0x218(r1) +/* 80068704 00065664 38 81 01 40 */ addi r4, r1, 0x140 +/* 80068708 00065668 C0 C1 02 0C */ lfs f6, 0x20c(r1) +/* 8006870C 0006566C C0 A1 02 20 */ lfs f5, 0x220(r1) +/* 80068710 00065670 C0 81 02 14 */ lfs f4, 0x214(r1) +/* 80068714 00065674 C0 61 02 08 */ lfs f3, 0x208(r1) +/* 80068718 00065678 C0 41 02 1C */ lfs f2, 0x21c(r1) +/* 8006871C 0006567C C0 21 02 10 */ lfs f1, 0x210(r1) +/* 80068720 00065680 C0 01 02 04 */ lfs f0, 0x204(r1) +/* 80068724 00065684 D0 21 02 2C */ stfs f1, 0x22c(r1) +/* 80068728 00065688 D0 01 02 28 */ stfs f0, 0x228(r1) +/* 8006872C 0006568C D0 41 02 30 */ stfs f2, 0x230(r1) +/* 80068730 00065690 D0 61 02 34 */ stfs f3, 0x234(r1) +/* 80068734 00065694 D0 81 02 38 */ stfs f4, 0x238(r1) +/* 80068738 00065698 D0 A1 02 3C */ stfs f5, 0x23c(r1) +/* 8006873C 0006569C D0 C1 02 40 */ stfs f6, 0x240(r1) +/* 80068740 000656A0 D0 E1 02 44 */ stfs f7, 0x244(r1) +/* 80068744 000656A4 D1 01 02 48 */ stfs f8, 0x248(r1) +/* 80068748 000656A8 48 2A C1 09 */ bl AsNormalized__9CVector3fCFv +/* 8006874C 000656AC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80068750 000656B0 38 81 02 28 */ addi r4, r1, 0x228 +/* 80068754 000656B4 38 A1 00 BC */ addi r5, r1, 0xbc +/* 80068758 000656B8 48 2A 7B 3D */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 8006875C 000656BC C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 80068760 000656C0 38 61 01 40 */ addi r3, r1, 0x140 +/* 80068764 000656C4 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 80068768 000656C8 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 8006876C 000656CC D0 41 01 34 */ stfs f2, 0x134(r1) +/* 80068770 000656D0 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 80068774 000656D4 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 80068778 000656D8 48 2A C1 41 */ bl Magnitude__9CVector3fCFv +/* 8006877C 000656DC FC 40 08 18 */ frsp f2, f1 +/* 80068780 000656E0 C0 02 87 C4 */ lfs f0, lbl_805AA4E4@sda21(r2) +/* 80068784 000656E4 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80068788 000656E8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8006878C 000656EC 40 80 00 0C */ bge lbl_80068798 +/* 80068790 000656F0 38 62 87 C4 */ addi r3, r2, lbl_805AA4E4@sda21 +/* 80068794 000656F4 48 00 00 08 */ b lbl_8006879C +lbl_80068798: +/* 80068798 000656F8 38 61 00 60 */ addi r3, r1, 0x60 +lbl_8006879C: +/* 8006879C 000656FC 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 800687A0 00065700 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 800687A4 00065704 C0 24 02 BC */ lfs f1, 0x2bc(r4) +/* 800687A8 00065708 C0 A3 00 00 */ lfs f5, 0(r3) +/* 800687AC 0006570C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800687B0 00065710 C0 44 02 C0 */ lfs f2, 0x2c0(r4) +/* 800687B4 00065714 C0 35 00 18 */ lfs f1, 0x18(r21) +/* 800687B8 00065718 C0 64 02 B8 */ lfs f3, 0x2b8(r4) +/* 800687BC 0006571C EC 82 00 72 */ fmuls f4, f2, f1 +/* 800687C0 00065720 C0 55 00 10 */ lfs f2, 0x10(r21) +/* 800687C4 00065724 EC 25 00 32 */ fmuls f1, f5, f0 +/* 800687C8 00065728 C0 0D 83 10 */ lfs f0, lbl_805A6ED0@sda21(r13) +/* 800687CC 0006572C EC 85 01 32 */ fmuls f4, f5, f4 +/* 800687D0 00065730 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 800687D4 00065734 EC 25 09 3A */ fmadds f1, f5, f4, f1 +/* 800687D8 00065738 EC 3E 08 24 */ fdivs f1, f30, f1 +/* 800687DC 0006573C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800687E0 00065740 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800687E4 00065744 40 80 00 0C */ bge lbl_800687F0 +/* 800687E8 00065748 38 61 00 5C */ addi r3, r1, 0x5c +/* 800687EC 0006574C 48 00 00 08 */ b lbl_800687F4 +lbl_800687F0: +/* 800687F0 00065750 38 6D 83 10 */ addi r3, r13, lbl_805A6ED0@sda21 +lbl_800687F4: +/* 800687F4 00065754 C3 23 00 00 */ lfs f25, 0(r3) +/* 800687F8 00065758 7E E4 BB 78 */ mr r4, r23 +/* 800687FC 0006575C 7F 06 C3 78 */ mr r6, r24 +/* 80068800 00065760 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 80068804 00065764 38 A1 01 34 */ addi r5, r1, 0x134 +/* 80068808 00065768 48 2A B3 09 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8006880C 0006576C 7E 63 9B 78 */ mr r3, r19 +/* 80068810 00065770 38 81 01 D4 */ addi r4, r1, 0x1d4 +/* 80068814 00065774 48 25 BF 25 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f +/* 80068818 00065778 C0 15 00 1C */ lfs f0, 0x1c(r21) +/* 8006881C 0006577C 38 61 00 54 */ addi r3, r1, 0x54 +/* 80068820 00065780 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) +/* 80068824 00065784 FC 00 02 10 */ fabs f0, f0 +/* 80068828 00065788 FC 00 00 18 */ frsp f0, f0 +/* 8006882C 0006578C EF 39 00 32 */ fmuls f25, f25, f0 +/* 80068830 00065790 FC 20 C8 90 */ fmr f1, f25 +/* 80068834 00065794 FC 40 C8 90 */ fmr f2, f25 +/* 80068838 00065798 FC 60 C8 90 */ fmr f3, f25 +/* 8006883C 0006579C 48 2F AB B1 */ bl __ct__6CColorFffff +/* 80068840 000657A0 7C 65 1B 78 */ mr r5, r3 +/* 80068844 000657A4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80068848 000657A8 38 95 00 0C */ addi r4, r21, 0xc +/* 8006884C 000657AC 48 2F A9 2D */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80068850 000657B0 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80068854 000657B4 7F C4 F3 78 */ mr r4, r30 +/* 80068858 000657B8 7F E6 FB 78 */ mr r6, r31 +/* 8006885C 000657BC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80068860 000657C0 90 01 00 80 */ stw r0, 0x80(r1) +/* 80068864 000657C4 38 A1 00 80 */ addi r5, r1, 0x80 +/* 80068868 000657C8 4B FF F8 39 */ bl GetVisorHudLightColor__9CSamusHudFRC6CColorRC13CStateManager +/* 8006886C 000657CC 80 01 00 50 */ lwz r0, 0x50(r1) +/* 80068870 000657D0 7E 63 9B 78 */ mr r3, r19 +/* 80068874 000657D4 38 81 00 80 */ addi r4, r1, 0x80 +/* 80068878 000657D8 90 01 00 80 */ stw r0, 0x80(r1) +/* 8006887C 000657DC 48 26 1F F1 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80068880 000657E0 38 61 00 48 */ addi r3, r1, 0x48 +/* 80068884 000657E4 38 81 00 80 */ addi r4, r1, 0x80 +/* 80068888 000657E8 38 A1 00 84 */ addi r5, r1, 0x84 +/* 8006888C 000657EC 48 2F A8 ED */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80068890 000657F0 38 61 00 4C */ addi r3, r1, 0x4c +/* 80068894 000657F4 38 81 00 88 */ addi r4, r1, 0x88 +/* 80068898 000657F8 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8006889C 000657FC 48 2F A8 15 */ bl Add__6CColorFRC6CColorRC6CColor +/* 800688A0 00065800 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800688A4 00065804 90 01 00 88 */ stw r0, 0x88(r1) +/* 800688A8 00065808 E0 01 A0 82 */ psq_l f0, 130(r1), 1, qr2 +/* 800688AC 0006580C E0 21 A0 80 */ psq_l f1, 128(r1), 1, qr2 +/* 800688B0 00065810 E0 81 A0 81 */ psq_l f4, 129(r1), 1, qr2 +/* 800688B4 00065814 EC 56 00 32 */ fmuls f2, f22, f0 +/* 800688B8 00065818 C0 61 01 38 */ lfs f3, 0x138(r1) +/* 800688BC 0006581C EC 36 00 72 */ fmuls f1, f22, f1 +/* 800688C0 00065820 C0 A1 01 34 */ lfs f5, 0x134(r1) +/* 800688C4 00065824 EC 16 01 32 */ fmuls f0, f22, f4 +/* 800688C8 00065828 C0 E1 01 3C */ lfs f7, 0x13c(r1) +/* 800688CC 0006582C EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 800688D0 00065830 C0 9D 00 04 */ lfs f4, 4(r29) +/* 800688D4 00065834 EC 18 00 32 */ fmuls f0, f24, f0 +/* 800688D8 00065838 C0 DD 00 00 */ lfs f6, 0(r29) +/* 800688DC 0006583C EC BF 01 72 */ fmuls f5, f31, f5 +/* 800688E0 00065840 C1 1D 00 08 */ lfs f8, 8(r29) +/* 800688E4 00065844 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 800688E8 00065848 EC 17 00 7A */ fmadds f0, f23, f1, f0 +/* 800688EC 0006584C EC 9F 01 F2 */ fmuls f4, f31, f7 +/* 800688F0 00065850 EC 26 19 7A */ fmadds f1, f6, f5, f3 +/* 800688F4 00065854 EC 15 00 BA */ fmadds f0, f21, f2, f0 +/* 800688F8 00065858 EC 28 09 3A */ fmadds f1, f8, f4, f1 +/* 800688FC 0006585C EC 39 00 72 */ fmuls f1, f25, f1 +/* 80068900 00065860 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80068904 00065864 FC 00 D0 40 */ fcmpo cr0, f0, f26 +/* 80068908 00065868 40 81 00 0C */ ble lbl_80068914 +/* 8006890C 0006586C FF 40 00 90 */ fmr f26, f0 +/* 80068910 00065870 7E 9A A3 78 */ mr r26, r20 +lbl_80068914: +/* 80068914 00065874 3A B5 00 20 */ addi r21, r21, 0x20 +/* 80068918 00065878 3A D6 00 04 */ addi r22, r22, 4 +/* 8006891C 0006587C 3A 94 00 01 */ addi r20, r20, 1 +lbl_80068920: +/* 80068920 00065880 80 1E 03 40 */ lwz r0, 0x340(r30) +/* 80068924 00065884 7C 14 00 00 */ cmpw r20, r0 +/* 80068928 00065888 41 80 FD 9C */ blt lbl_800686C4 +/* 8006892C 0006588C 82 FF 08 30 */ lwz r23, 0x830(r31) +/* 80068930 00065890 48 2E 16 85 */ bl Black__6CColorFv +/* 80068934 00065894 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80068938 00065898 7C 65 1B 78 */ mr r5, r3 +/* 8006893C 0006589C 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80068940 000658A0 38 61 02 9C */ addi r3, r1, 0x29c +/* 80068944 000658A4 48 29 DA F1 */ bl BuildPoint__6CLightFRC9CVector3fRC6CColor +/* 80068948 000658A8 38 61 02 EC */ addi r3, r1, 0x2ec +/* 8006894C 000658AC 38 81 02 9C */ addi r4, r1, 0x29c +/* 80068950 000658B0 4B FD 2C 21 */ bl __ct__6CLightFCR6CLight +/* 80068954 000658B4 AA 77 20 08 */ lha r19, 0x2008(r23) +/* 80068958 000658B8 3A A1 03 04 */ addi r21, r1, 0x304 +/* 8006895C 000658BC 48 00 01 78 */ b lbl_80068AD4 +lbl_80068960: +/* 80068960 000658C0 7E E3 BB 78 */ mr r3, r23 +/* 80068964 000658C4 7E 64 9B 78 */ mr r4, r19 +/* 80068968 000658C8 4B FA 73 75 */ bl __vc__11CObjectListCFi +/* 8006896C 000658CC 28 03 00 00 */ cmplwi r3, 0 +/* 80068970 000658D0 41 82 01 48 */ beq lbl_80068AB8 +/* 80068974 000658D4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80068978 000658D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8006897C 000658DC 41 82 01 3C */ beq lbl_80068AB8 +/* 80068980 000658E0 7C 74 1B 78 */ mr r20, r3 +/* 80068984 000658E4 7F E3 FB 78 */ mr r3, r31 +/* 80068988 000658E8 A0 14 00 E8 */ lhz r0, 0xe8(r20) +/* 8006898C 000658EC 38 81 00 0C */ addi r4, r1, 0xc +/* 80068990 000658F0 B0 01 00 08 */ sth r0, 8(r1) +/* 80068994 000658F4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80068998 000658F8 4B FE 3C 0D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8006899C 000658FC 7C 64 1B 78 */ mr r4, r3 +/* 800689A0 00065900 38 61 00 90 */ addi r3, r1, 0x90 +/* 800689A4 00065904 48 04 4D 69 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 800689A8 00065908 80 03 00 04 */ lwz r0, 4(r3) +/* 800689AC 0006590C 28 00 00 00 */ cmplwi r0, 0 +/* 800689B0 00065910 40 82 01 08 */ bne lbl_80068AB8 +/* 800689B4 00065914 7E 84 A3 78 */ mr r4, r20 +/* 800689B8 00065918 38 61 02 4C */ addi r3, r1, 0x24c +/* 800689BC 0006591C 48 04 CC ED */ bl GetLight__10CGameLightCFv +/* 800689C0 00065920 3A 81 02 4C */ addi r20, r1, 0x24c +/* 800689C4 00065924 38 61 02 EC */ addi r3, r1, 0x2ec +/* 800689C8 00065928 48 29 D7 8D */ bl GetIntensity__6CLightCFv +/* 800689CC 0006592C FF 20 08 90 */ fmr f25, f1 +/* 800689D0 00065930 7E 83 A3 78 */ mr r3, r20 +/* 800689D4 00065934 48 29 D7 81 */ bl GetIntensity__6CLightCFv +/* 800689D8 00065938 FC 01 C8 40 */ fcmpo cr0, f1, f25 +/* 800689DC 0006593C 40 81 00 DC */ ble lbl_80068AB8 +/* 800689E0 00065940 7E 83 A3 78 */ mr r3, r20 +/* 800689E4 00065944 48 29 D8 F1 */ bl GetRadius__6CLightCFv +/* 800689E8 00065948 C0 61 02 4C */ lfs f3, 0x24c(r1) +/* 800689EC 0006594C 38 61 01 8C */ addi r3, r1, 0x18c +/* 800689F0 00065950 C0 41 02 50 */ lfs f2, 0x250(r1) +/* 800689F4 00065954 38 81 00 AC */ addi r4, r1, 0xac +/* 800689F8 00065958 C0 01 02 54 */ lfs f0, 0x254(r1) +/* 800689FC 0006595C D0 61 00 AC */ stfs f3, 0xac(r1) +/* 80068A00 00065960 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80068A04 00065964 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80068A08 00065968 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80068A0C 0006596C 48 26 9F C1 */ bl AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere +/* 80068A10 00065970 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80068A14 00065974 41 82 00 A4 */ beq lbl_80068AB8 +/* 80068A18 00065978 81 81 02 4C */ lwz r12, 0x24c(r1) +/* 80068A1C 0006597C 81 61 02 50 */ lwz r11, 0x250(r1) +/* 80068A20 00065980 81 41 02 54 */ lwz r10, 0x254(r1) +/* 80068A24 00065984 81 21 02 58 */ lwz r9, 0x258(r1) +/* 80068A28 00065988 81 01 02 5C */ lwz r8, 0x25c(r1) +/* 80068A2C 0006598C 80 E1 02 60 */ lwz r7, 0x260(r1) +/* 80068A30 00065990 80 C1 02 64 */ lwz r6, 0x264(r1) +/* 80068A34 00065994 80 A1 02 68 */ lwz r5, 0x268(r1) +/* 80068A38 00065998 C1 01 02 6C */ lfs f8, 0x26c(r1) +/* 80068A3C 0006599C C0 E1 02 70 */ lfs f7, 0x270(r1) +/* 80068A40 000659A0 C0 C1 02 74 */ lfs f6, 0x274(r1) +/* 80068A44 000659A4 C0 A1 02 78 */ lfs f5, 0x278(r1) +/* 80068A48 000659A8 C0 81 02 7C */ lfs f4, 0x27c(r1) +/* 80068A4C 000659AC C0 61 02 80 */ lfs f3, 0x280(r1) +/* 80068A50 000659B0 C0 41 02 84 */ lfs f2, 0x284(r1) +/* 80068A54 000659B4 80 81 02 88 */ lwz r4, 0x288(r1) +/* 80068A58 000659B8 80 61 02 8C */ lwz r3, 0x28c(r1) +/* 80068A5C 000659BC C0 21 02 90 */ lfs f1, 0x290(r1) +/* 80068A60 000659C0 C0 01 02 94 */ lfs f0, 0x294(r1) +/* 80068A64 000659C4 88 01 02 98 */ lbz r0, 0x298(r1) +/* 80068A68 000659C8 91 81 02 EC */ stw r12, 0x2ec(r1) +/* 80068A6C 000659CC 91 61 02 F0 */ stw r11, 0x2f0(r1) +/* 80068A70 000659D0 91 41 02 F4 */ stw r10, 0x2f4(r1) +/* 80068A74 000659D4 91 21 02 F8 */ stw r9, 0x2f8(r1) +/* 80068A78 000659D8 91 01 02 FC */ stw r8, 0x2fc(r1) +/* 80068A7C 000659DC 90 E1 03 00 */ stw r7, 0x300(r1) +/* 80068A80 000659E0 90 C1 03 04 */ stw r6, 0x304(r1) +/* 80068A84 000659E4 90 A1 03 08 */ stw r5, 0x308(r1) +/* 80068A88 000659E8 D1 01 03 0C */ stfs f8, 0x30c(r1) +/* 80068A8C 000659EC D0 E1 03 10 */ stfs f7, 0x310(r1) +/* 80068A90 000659F0 D0 C1 03 14 */ stfs f6, 0x314(r1) +/* 80068A94 000659F4 D0 A1 03 18 */ stfs f5, 0x318(r1) +/* 80068A98 000659F8 D0 81 03 1C */ stfs f4, 0x31c(r1) +/* 80068A9C 000659FC D0 61 03 20 */ stfs f3, 0x320(r1) +/* 80068AA0 00065A00 D0 41 03 24 */ stfs f2, 0x324(r1) +/* 80068AA4 00065A04 90 81 03 28 */ stw r4, 0x328(r1) +/* 80068AA8 00065A08 90 61 03 2C */ stw r3, 0x32c(r1) +/* 80068AAC 00065A0C D0 21 03 30 */ stfs f1, 0x330(r1) +/* 80068AB0 00065A10 D0 01 03 34 */ stfs f0, 0x334(r1) +/* 80068AB4 00065A14 98 01 03 38 */ stb r0, 0x338(r1) +lbl_80068AB8: +/* 80068AB8 00065A18 2C 13 FF FF */ cmpwi r19, -1 +/* 80068ABC 00065A1C 41 82 00 14 */ beq lbl_80068AD0 +/* 80068AC0 00065A20 56 63 18 38 */ slwi r3, r19, 3 +/* 80068AC4 00065A24 38 03 00 08 */ addi r0, r3, 8 +/* 80068AC8 00065A28 7E 77 02 AE */ lhax r19, r23, r0 +/* 80068ACC 00065A2C 48 00 00 08 */ b lbl_80068AD4 +lbl_80068AD0: +/* 80068AD0 00065A30 3A 60 FF FF */ li r19, -1 +lbl_80068AD4: +/* 80068AD4 00065A34 2C 13 FF FF */ cmpwi r19, -1 +/* 80068AD8 00065A38 40 82 FE 88 */ bne lbl_80068960 +/* 80068ADC 00065A3C 38 61 02 EC */ addi r3, r1, 0x2ec +/* 80068AE0 00065A40 48 29 D6 75 */ bl GetIntensity__6CLightCFv +/* 80068AE4 00065A44 C0 02 87 9C */ lfs f0, lbl_805AA4BC@sda21(r2) +/* 80068AE8 00065A48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80068AEC 00065A4C 40 81 01 BC */ ble lbl_80068CA8 +/* 80068AF0 00065A50 C0 41 02 EC */ lfs f2, 0x2ec(r1) +/* 80068AF4 00065A54 38 61 01 28 */ addi r3, r1, 0x128 +/* 80068AF8 00065A58 C0 21 02 F0 */ lfs f1, 0x2f0(r1) +/* 80068AFC 00065A5C C0 01 02 F4 */ lfs f0, 0x2f4(r1) +/* 80068B00 00065A60 EC 5D 10 28 */ fsubs f2, f29, f2 +/* 80068B04 00065A64 EC 3C 08 28 */ fsubs f1, f28, f1 +/* 80068B08 00065A68 EC 1B 00 28 */ fsubs f0, f27, f0 +/* 80068B0C 00065A6C D0 41 01 28 */ stfs f2, 0x128(r1) +/* 80068B10 00065A70 D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 80068B14 00065A74 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 80068B18 00065A78 48 2A BD A1 */ bl Magnitude__9CVector3fCFv +/* 80068B1C 00065A7C FC 40 08 18 */ frsp f2, f1 +/* 80068B20 00065A80 C0 02 87 C4 */ lfs f0, lbl_805AA4E4@sda21(r2) +/* 80068B24 00065A84 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80068B28 00065A88 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80068B2C 00065A8C 40 80 00 0C */ bge lbl_80068B38 +/* 80068B30 00065A90 38 62 87 C4 */ addi r3, r2, lbl_805AA4E4@sda21 +/* 80068B34 00065A94 48 00 00 08 */ b lbl_80068B3C +lbl_80068B38: +/* 80068B38 00065A98 38 61 00 44 */ addi r3, r1, 0x44 +lbl_80068B3C: +/* 80068B3C 00065A9C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80068B40 00065AA0 C0 01 03 14 */ lfs f0, 0x314(r1) +/* 80068B44 00065AA4 C0 24 02 BC */ lfs f1, 0x2bc(r4) +/* 80068B48 00065AA8 C0 C3 00 00 */ lfs f6, 0(r3) +/* 80068B4C 00065AAC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80068B50 00065AB0 C0 44 02 C0 */ lfs f2, 0x2c0(r4) +/* 80068B54 00065AB4 C0 21 03 18 */ lfs f1, 0x318(r1) +/* 80068B58 00065AB8 C0 64 02 B8 */ lfs f3, 0x2b8(r4) +/* 80068B5C 00065ABC EC 82 00 72 */ fmuls f4, f2, f1 +/* 80068B60 00065AC0 C0 41 03 10 */ lfs f2, 0x310(r1) +/* 80068B64 00065AC4 EC 26 00 32 */ fmuls f1, f6, f0 +/* 80068B68 00065AC8 C0 A2 87 28 */ lfs f5, lbl_805AA448@sda21(r2) +/* 80068B6C 00065ACC C0 0D 83 14 */ lfs f0, lbl_805A6ED4@sda21(r13) +/* 80068B70 00065AD0 EC 86 01 32 */ fmuls f4, f6, f4 +/* 80068B74 00065AD4 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 80068B78 00065AD8 EC 26 09 3A */ fmadds f1, f6, f4, f1 +/* 80068B7C 00065ADC EC 25 08 24 */ fdivs f1, f5, f1 +/* 80068B80 00065AE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80068B84 00065AE4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80068B88 00065AE8 40 80 00 0C */ bge lbl_80068B94 +/* 80068B8C 00065AEC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80068B90 00065AF0 48 00 00 08 */ b lbl_80068B98 +lbl_80068B94: +/* 80068B94 00065AF4 38 6D 83 14 */ addi r3, r13, lbl_805A6ED4@sda21 +lbl_80068B98: +/* 80068B98 00065AF8 C0 23 00 00 */ lfs f1, 0(r3) +/* 80068B9C 00065AFC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80068BA0 00065B00 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) +/* 80068BA4 00065B04 FC 40 08 90 */ fmr f2, f1 +/* 80068BA8 00065B08 FC 60 08 90 */ fmr f3, f1 +/* 80068BAC 00065B0C 48 2F A8 41 */ bl __ct__6CColorFffff +/* 80068BB0 00065B10 7C 65 1B 78 */ mr r5, r3 +/* 80068BB4 00065B14 7E A4 AB 78 */ mr r4, r21 +/* 80068BB8 00065B18 38 61 00 3C */ addi r3, r1, 0x3c +/* 80068BBC 00065B1C 48 2F A5 BD */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80068BC0 00065B20 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80068BC4 00065B24 7F C4 F3 78 */ mr r4, r30 +/* 80068BC8 00065B28 7F E6 FB 78 */ mr r6, r31 +/* 80068BCC 00065B2C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80068BD0 00065B30 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80068BD4 00065B34 38 A1 00 7C */ addi r5, r1, 0x7c +/* 80068BD8 00065B38 4B FF F4 C9 */ bl GetVisorHudLightColor__9CSamusHudFRC6CColorRC13CStateManager +/* 80068BDC 00065B3C 80 01 03 08 */ lwz r0, 0x308(r1) +/* 80068BE0 00065B40 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80068BE4 00065B44 2C 00 00 00 */ cmpwi r0, 0 +/* 80068BE8 00065B48 90 61 00 7C */ stw r3, 0x7c(r1) +/* 80068BEC 00065B4C 40 82 00 A4 */ bne lbl_80068C90 +/* 80068BF0 00065B50 C0 9B 00 48 */ lfs f4, 0x48(r27) +/* 80068BF4 00065B54 C0 01 02 FC */ lfs f0, 0x2fc(r1) +/* 80068BF8 00065B58 C0 7B 00 38 */ lfs f3, 0x38(r27) +/* 80068BFC 00065B5C EC 04 00 32 */ fmuls f0, f4, f0 +/* 80068C00 00065B60 C0 21 02 F8 */ lfs f1, 0x2f8(r1) +/* 80068C04 00065B64 C0 BB 00 58 */ lfs f5, 0x58(r27) +/* 80068C08 00065B68 C0 41 03 00 */ lfs f2, 0x300(r1) +/* 80068C0C 00065B6C EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 80068C10 00065B70 C0 0D 83 18 */ lfs f0, lbl_805A6ED8@sda21(r13) +/* 80068C14 00065B74 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 80068C18 00065B78 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 80068C1C 00065B7C D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 80068C20 00065B80 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 80068C24 00065B84 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80068C28 00065B88 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80068C2C 00065B8C 40 80 00 0C */ bge lbl_80068C38 +/* 80068C30 00065B90 38 61 00 30 */ addi r3, r1, 0x30 +/* 80068C34 00065B94 48 00 00 08 */ b lbl_80068C3C +lbl_80068C38: +/* 80068C38 00065B98 38 6D 83 18 */ addi r3, r13, lbl_805A6ED8@sda21 +lbl_80068C3C: +/* 80068C3C 00065B9C C0 23 00 00 */ lfs f1, 0(r3) +/* 80068C40 00065BA0 48 2A C7 75 */ bl ArcSineR__5CMathFf +/* 80068C44 00065BA4 C0 02 87 D4 */ lfs f0, lbl_805AA4F4@sda21(r2) +/* 80068C48 00065BA8 38 81 00 2C */ addi r4, r1, 0x2c +/* 80068C4C 00065BAC 38 6D 83 1C */ addi r3, r13, lbl_805A6EDC@sda21 +/* 80068C50 00065BB0 38 AD 83 20 */ addi r5, r13, lbl_805A6EE0@sda21 +/* 80068C54 00065BB4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80068C58 00065BB8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80068C5C 00065BBC 4B FA 36 59 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80068C60 00065BC0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80068C64 00065BC4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80068C68 00065BC8 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) +/* 80068C6C 00065BCC FC 40 08 90 */ fmr f2, f1 +/* 80068C70 00065BD0 FC 60 08 90 */ fmr f3, f1 +/* 80068C74 00065BD4 48 2F A7 79 */ bl __ct__6CColorFffff +/* 80068C78 00065BD8 7C 65 1B 78 */ mr r5, r3 +/* 80068C7C 00065BDC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80068C80 00065BE0 38 81 00 7C */ addi r4, r1, 0x7c +/* 80068C84 00065BE4 48 2F A4 F5 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80068C88 00065BE8 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80068C8C 00065BEC 90 01 00 7C */ stw r0, 0x7c(r1) +lbl_80068C90: +/* 80068C90 00065BF0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80068C94 00065BF4 38 81 00 88 */ addi r4, r1, 0x88 +/* 80068C98 00065BF8 38 A1 00 7C */ addi r5, r1, 0x7c +/* 80068C9C 00065BFC 48 2F A4 15 */ bl Add__6CColorFRC6CColorRC6CColor +/* 80068CA0 00065C00 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80068CA4 00065C04 90 01 00 88 */ stw r0, 0x88(r1) +lbl_80068CA8: +/* 80068CA8 00065C08 38 80 00 40 */ li r4, 0x40 +/* 80068CAC 00065C0C 38 00 00 FF */ li r0, 0xff +/* 80068CB0 00065C10 98 81 00 78 */ stb r4, 0x78(r1) +/* 80068CB4 00065C14 38 61 00 14 */ addi r3, r1, 0x14 +/* 80068CB8 00065C18 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) +/* 80068CBC 00065C1C 98 81 00 79 */ stb r4, 0x79(r1) +/* 80068CC0 00065C20 98 81 00 7A */ stb r4, 0x7a(r1) +/* 80068CC4 00065C24 98 01 00 7B */ stb r0, 0x7b(r1) +/* 80068CC8 00065C28 C0 3C 02 88 */ lfs f1, 0x288(r28) +/* 80068CCC 00065C2C C0 5C 02 8C */ lfs f2, 0x28c(r28) +/* 80068CD0 00065C30 C0 7C 02 90 */ lfs f3, 0x290(r28) +/* 80068CD4 00065C34 48 2F A7 19 */ bl __ct__6CColorFffff +/* 80068CD8 00065C38 38 61 00 18 */ addi r3, r1, 0x18 +/* 80068CDC 00065C3C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80068CE0 00065C40 38 A1 00 78 */ addi r5, r1, 0x78 +/* 80068CE4 00065C44 48 2F A4 95 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80068CE8 00065C48 38 61 00 1C */ addi r3, r1, 0x1c +/* 80068CEC 00065C4C 38 81 00 88 */ addi r4, r1, 0x88 +/* 80068CF0 00065C50 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80068CF4 00065C54 48 2F A3 BD */ bl Add__6CColorFRC6CColorRC6CColor +/* 80068CF8 00065C58 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80068CFC 00065C5C 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 80068D00 00065C60 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l +/* 80068D04 00065C64 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80068D08 00065C68 90 01 00 88 */ stw r0, 0x88(r1) +/* 80068D0C 00065C6C 57 40 10 3A */ slwi r0, r26, 2 +/* 80068D10 00065C70 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80068D14 00065C74 C0 62 87 48 */ lfs f3, lbl_805AA468@sda21(r2) +/* 80068D18 00065C78 7E 79 00 2E */ lwzx r19, r25, r0 +/* 80068D1C 00065C7C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80068D20 00065C80 C0 FD 00 04 */ lfs f7, 4(r29) +/* 80068D24 00065C84 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80068D28 00065C88 C0 13 00 48 */ lfs f0, 0x48(r19) +/* 80068D2C 00065C8C 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 80068D30 00065C90 C0 33 00 38 */ lfs f1, 0x38(r19) +/* 80068D34 00065C94 38 A1 01 1C */ addi r5, r1, 0x11c +/* 80068D38 00065C98 EC A3 00 32 */ fmuls f5, f3, f0 +/* 80068D3C 00065C9C C0 53 00 58 */ lfs f2, 0x58(r19) +/* 80068D40 00065CA0 EC C3 00 72 */ fmuls f6, f3, f1 +/* 80068D44 00065CA4 C1 27 00 00 */ lfs f9, 0(r7) +/* 80068D48 00065CA8 EC 83 00 B2 */ fmuls f4, f3, f2 +/* 80068D4C 00065CAC C0 02 87 70 */ lfs f0, lbl_805AA490@sda21(r2) +/* 80068D50 00065CB0 EC 27 01 72 */ fmuls f1, f7, f5 +/* 80068D54 00065CB4 C1 1D 00 08 */ lfs f8, 8(r29) +/* 80068D58 00065CB8 EC 40 02 72 */ fmuls f2, f0, f9 +/* 80068D5C 00065CBC EC 69 09 BA */ fmadds f3, f9, f6, f1 +/* 80068D60 00065CC0 EC 20 01 F2 */ fmuls f1, f0, f7 +/* 80068D64 00065CC4 EC 00 02 32 */ fmuls f0, f0, f8 +/* 80068D68 00065CC8 EC 68 19 3A */ fmadds f3, f8, f4, f3 +/* 80068D6C 00065CCC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80068D70 00065CD0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80068D74 00065CD4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80068D78 00065CD8 EC 42 30 28 */ fsubs f2, f2, f6 +/* 80068D7C 00065CDC EC 21 28 28 */ fsubs f1, f1, f5 +/* 80068D80 00065CE0 EC 00 20 28 */ fsubs f0, f0, f4 +/* 80068D84 00065CE4 D0 41 01 1C */ stfs f2, 0x11c(r1) +/* 80068D88 00065CE8 D0 21 01 20 */ stfs f1, 0x120(r1) +/* 80068D8C 00065CEC D0 01 01 24 */ stfs f0, 0x124(r1) +/* 80068D90 00065CF0 82 99 00 0C */ lwz r20, 0xc(r25) +/* 80068D94 00065CF4 48 2A AD 7D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80068D98 00065CF8 7E 83 A3 78 */ mr r3, r20 +/* 80068D9C 00065CFC 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 80068DA0 00065D00 48 25 B9 99 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f +/* 80068DA4 00065D04 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80068DA8 00065D08 38 61 00 10 */ addi r3, r1, 0x10 +/* 80068DAC 00065D0C 38 B3 00 A4 */ addi r5, r19, 0xa4 +/* 80068DB0 00065D10 38 84 02 B4 */ addi r4, r4, 0x2b4 +/* 80068DB4 00065D14 48 2F A3 C5 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80068DB8 00065D18 7E 83 A3 78 */ mr r3, r20 +/* 80068DBC 00065D1C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80068DC0 00065D20 48 26 1A AD */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80068DC4 00065D24 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80068DC8 00065D28 90 14 00 DC */ stw r0, 0xdc(r20) +lbl_80068DCC: +/* 80068DCC 00065D2C E3 E1 04 28 */ psq_l f31, 1064(r1), 0, qr0 +/* 80068DD0 00065D30 CB E1 04 20 */ lfd f31, 0x420(r1) +/* 80068DD4 00065D34 E3 C1 04 18 */ psq_l f30, 1048(r1), 0, qr0 +/* 80068DD8 00065D38 CB C1 04 10 */ lfd f30, 0x410(r1) +/* 80068DDC 00065D3C E3 A1 04 08 */ psq_l f29, 1032(r1), 0, qr0 +/* 80068DE0 00065D40 CB A1 04 00 */ lfd f29, 0x400(r1) +/* 80068DE4 00065D44 E3 81 03 F8 */ psq_l f28, 1016(r1), 0, qr0 +/* 80068DE8 00065D48 CB 81 03 F0 */ lfd f28, 0x3f0(r1) +/* 80068DEC 00065D4C E3 61 03 E8 */ psq_l f27, 1000(r1), 0, qr0 +/* 80068DF0 00065D50 CB 61 03 E0 */ lfd f27, 0x3e0(r1) +/* 80068DF4 00065D54 E3 41 03 D8 */ psq_l f26, 984(r1), 0, qr0 +/* 80068DF8 00065D58 CB 41 03 D0 */ lfd f26, 0x3d0(r1) +/* 80068DFC 00065D5C E3 21 03 C8 */ psq_l f25, 968(r1), 0, qr0 +/* 80068E00 00065D60 CB 21 03 C0 */ lfd f25, 0x3c0(r1) +/* 80068E04 00065D64 E3 01 03 B8 */ psq_l f24, 952(r1), 0, qr0 +/* 80068E08 00065D68 CB 01 03 B0 */ lfd f24, 0x3b0(r1) +/* 80068E0C 00065D6C E2 E1 03 A8 */ psq_l f23, 936(r1), 0, qr0 +/* 80068E10 00065D70 CA E1 03 A0 */ lfd f23, 0x3a0(r1) +/* 80068E14 00065D74 E2 C1 03 98 */ psq_l f22, 920(r1), 0, qr0 +/* 80068E18 00065D78 CA C1 03 90 */ lfd f22, 0x390(r1) +/* 80068E1C 00065D7C E2 A1 03 88 */ psq_l f21, 904(r1), 0, qr0 +/* 80068E20 00065D80 CA A1 03 80 */ lfd f21, 0x380(r1) +/* 80068E24 00065D84 BA 61 03 4C */ lmw r19, 0x34c(r1) +/* 80068E28 00065D88 80 01 04 34 */ lwz r0, 0x434(r1) +/* 80068E2C 00065D8C 7C 08 03 A6 */ mtlr r0 +/* 80068E30 00065D90 38 21 04 30 */ addi r1, r1, 0x430 +/* 80068E34 00065D94 4E 80 00 20 */ blr + +.global FindEmptyHudLightSlot__9CSamusHudCFRC6CLight +FindEmptyHudLightSlot__9CSamusHudCFRC6CLight: +/* 80068E38 00065D98 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 80068E3C 00065D9C C0 03 03 60 */ lfs f0, 0x360(r3) +/* 80068E40 00065DA0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80068E44 00065DA4 40 82 00 0C */ bne lbl_80068E50 +/* 80068E48 00065DA8 38 60 00 00 */ li r3, 0 +/* 80068E4C 00065DAC 4E 80 00 20 */ blr +lbl_80068E50: +/* 80068E50 00065DB0 C0 03 03 80 */ lfs f0, 0x380(r3) +/* 80068E54 00065DB4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80068E58 00065DB8 40 82 00 0C */ bne lbl_80068E64 +/* 80068E5C 00065DBC 38 60 00 01 */ li r3, 1 +/* 80068E60 00065DC0 4E 80 00 20 */ blr +lbl_80068E64: +/* 80068E64 00065DC4 C0 03 03 A0 */ lfs f0, 0x3a0(r3) +/* 80068E68 00065DC8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80068E6C 00065DCC 40 82 00 0C */ bne lbl_80068E78 +/* 80068E70 00065DD0 38 60 00 02 */ li r3, 2 +/* 80068E74 00065DD4 4E 80 00 20 */ blr +lbl_80068E78: +/* 80068E78 00065DD8 38 60 FF FF */ li r3, -1 +/* 80068E7C 00065DDC 4E 80 00 20 */ blr + +.global IsAreaLightInCachedLights__9CSamusHudCFRC6CLight +IsAreaLightInCachedLights__9CSamusHudCFRC6CLight: +/* 80068E80 00065DE0 38 00 00 03 */ li r0, 3 +/* 80068E84 00065DE4 38 A3 03 44 */ addi r5, r3, 0x344 +/* 80068E88 00065DE8 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) +/* 80068E8C 00065DEC 7C 09 03 A6 */ mtctr r0 +lbl_80068E90: +/* 80068E90 00065DF0 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 80068E94 00065DF4 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 80068E98 00065DF8 41 82 00 5C */ beq lbl_80068EF4 +/* 80068E9C 00065DFC 80 64 00 18 */ lwz r3, 0x18(r4) +/* 80068EA0 00065E00 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80068EA4 00065E04 7C 03 00 40 */ cmplw r3, r0 +/* 80068EA8 00065E08 40 82 00 4C */ bne lbl_80068EF4 +/* 80068EAC 00065E0C C0 24 00 00 */ lfs f1, 0(r4) +/* 80068EB0 00065E10 38 00 00 00 */ li r0, 0 +/* 80068EB4 00065E14 C0 05 00 00 */ lfs f0, 0(r5) +/* 80068EB8 00065E18 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80068EBC 00065E1C 40 82 00 28 */ bne lbl_80068EE4 +/* 80068EC0 00065E20 C0 24 00 04 */ lfs f1, 4(r4) +/* 80068EC4 00065E24 C0 05 00 04 */ lfs f0, 4(r5) +/* 80068EC8 00065E28 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80068ECC 00065E2C 40 82 00 18 */ bne lbl_80068EE4 +/* 80068ED0 00065E30 C0 24 00 08 */ lfs f1, 8(r4) +/* 80068ED4 00065E34 C0 05 00 08 */ lfs f0, 8(r5) +/* 80068ED8 00065E38 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80068EDC 00065E3C 40 82 00 08 */ bne lbl_80068EE4 +/* 80068EE0 00065E40 38 00 00 01 */ li r0, 1 +lbl_80068EE4: +/* 80068EE4 00065E44 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80068EE8 00065E48 41 82 00 0C */ beq lbl_80068EF4 +/* 80068EEC 00065E4C 38 60 00 01 */ li r3, 1 +/* 80068EF0 00065E50 4E 80 00 20 */ blr +lbl_80068EF4: +/* 80068EF4 00065E54 38 A5 00 20 */ addi r5, r5, 0x20 +/* 80068EF8 00065E58 42 00 FF 98 */ bdnz lbl_80068E90 +/* 80068EFC 00065E5C 38 60 00 00 */ li r3, 0 +/* 80068F00 00065E60 4E 80 00 20 */ blr + +.global IsCachedLightInAreaLights__9CSamusHudCFRCQ29CSamusHud15SCachedHudLightRC12CActorLights +IsCachedLightInAreaLights__9CSamusHudCFRCQ29CSamusHud15SCachedHudLightRC12CActorLights: +/* 80068F04 00065E64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80068F08 00065E68 7C 08 02 A6 */ mflr r0 +/* 80068F0C 00065E6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80068F10 00065E70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80068F14 00065E74 3B E0 00 00 */ li r31, 0 +/* 80068F18 00065E78 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80068F1C 00065E7C 7C BE 2B 78 */ mr r30, r5 +/* 80068F20 00065E80 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80068F24 00065E84 7C 9D 23 78 */ mr r29, r4 +/* 80068F28 00065E88 48 00 00 6C */ b lbl_80068F94 +lbl_80068F2C: +/* 80068F2C 00065E8C 7F C3 F3 78 */ mr r3, r30 +/* 80068F30 00065E90 7F E4 FB 78 */ mr r4, r31 +/* 80068F34 00065E94 48 09 C1 31 */ bl GetLight__12CActorLightsCFUi +/* 80068F38 00065E98 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80068F3C 00065E9C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80068F40 00065EA0 7C 04 00 40 */ cmplw r4, r0 +/* 80068F44 00065EA4 40 82 00 4C */ bne lbl_80068F90 +/* 80068F48 00065EA8 C0 23 00 00 */ lfs f1, 0(r3) +/* 80068F4C 00065EAC 38 00 00 00 */ li r0, 0 +/* 80068F50 00065EB0 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80068F54 00065EB4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80068F58 00065EB8 40 82 00 28 */ bne lbl_80068F80 +/* 80068F5C 00065EBC C0 23 00 04 */ lfs f1, 4(r3) +/* 80068F60 00065EC0 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80068F64 00065EC4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80068F68 00065EC8 40 82 00 18 */ bne lbl_80068F80 +/* 80068F6C 00065ECC C0 23 00 08 */ lfs f1, 8(r3) +/* 80068F70 00065ED0 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80068F74 00065ED4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80068F78 00065ED8 40 82 00 08 */ bne lbl_80068F80 +/* 80068F7C 00065EDC 38 00 00 01 */ li r0, 1 +lbl_80068F80: +/* 80068F80 00065EE0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80068F84 00065EE4 41 82 00 0C */ beq lbl_80068F90 +/* 80068F88 00065EE8 38 60 00 01 */ li r3, 1 +/* 80068F8C 00065EEC 48 00 00 18 */ b lbl_80068FA4 +lbl_80068F90: +/* 80068F90 00065EF0 3B FF 00 01 */ addi r31, r31, 1 +lbl_80068F94: +/* 80068F94 00065EF4 80 1E 00 00 */ lwz r0, 0(r30) +/* 80068F98 00065EF8 7C 1F 00 40 */ cmplw r31, r0 +/* 80068F9C 00065EFC 41 80 FF 90 */ blt lbl_80068F2C +/* 80068FA0 00065F00 38 60 00 00 */ li r3, 0 +lbl_80068FA4: +/* 80068FA4 00065F04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80068FA8 00065F08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80068FAC 00065F0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80068FB0 00065F10 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80068FB4 00065F14 7C 08 03 A6 */ mtlr r0 +/* 80068FB8 00065F18 38 21 00 20 */ addi r1, r1, 0x20 +/* 80068FBC 00065F1C 4E 80 00 20 */ blr + +.global OnNewInGameGuiState__9CSamusHudF15EInGameGuiStateR13CStateManager +OnNewInGameGuiState__9CSamusHudF15EInGameGuiStateR13CStateManager: +/* 80068FC0 00065F20 4E 80 00 20 */ blr + +.global UpdateBallMode__9CSamusHudFRC13CStateManagerb +UpdateBallMode__9CSamusHudFRC13CStateManagerb: +/* 80068FC4 00065F24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80068FC8 00065F28 7C 08 02 A6 */ mflr r0 +/* 80068FCC 00065F2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80068FD0 00065F30 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80068FD4 00065F34 7C 7E 1B 78 */ mr r30, r3 +/* 80068FD8 00065F38 7C 9F 23 78 */ mr r31, r4 +/* 80068FDC 00065F3C 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 80068FE0 00065F40 28 00 00 00 */ cmplwi r0, 0 +/* 80068FE4 00065F44 41 82 00 9C */ beq lbl_80069080 +/* 80068FE8 00065F48 80 BF 08 B8 */ lwz r5, 0x8b8(r31) +/* 80068FEC 00065F4C 38 80 00 07 */ li r4, 7 +/* 80068FF0 00065F50 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80068FF4 00065F54 83 A5 00 00 */ lwz r29, 0(r5) +/* 80068FF8 00065F58 83 83 04 90 */ lwz r28, 0x490(r3) +/* 80068FFC 00065F5C 7F A3 EB 78 */ mr r3, r29 +/* 80069000 00065F60 48 02 8B 1D */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80069004 00065F64 7C 60 1B 78 */ mr r0, r3 +/* 80069008 00065F68 7F A3 EB 78 */ mr r3, r29 +/* 8006900C 00065F6C 7C 1A 03 78 */ mr r26, r0 +/* 80069010 00065F70 38 80 00 07 */ li r4, 7 +/* 80069014 00065F74 48 02 8A E1 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80069018 00065F78 88 1C 08 35 */ lbz r0, 0x835(r28) +/* 8006901C 00065F7C 7C 79 1B 78 */ mr r25, r3 +/* 80069020 00065F80 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80069024 00065F84 41 82 00 0C */ beq lbl_80069030 +/* 80069028 00065F88 83 7C 03 08 */ lwz r27, 0x308(r28) +/* 8006902C 00065F8C 48 00 00 08 */ b lbl_80069034 +lbl_80069030: +/* 80069030 00065F90 3B 60 00 00 */ li r27, 0 +lbl_80069034: +/* 80069034 00065F94 7F A3 EB 78 */ mr r3, r29 +/* 80069038 00065F98 38 80 00 06 */ li r4, 6 +/* 8006903C 00065F9C 48 02 8A 85 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80069040 00065FA0 88 1C 08 35 */ lbz r0, 0x835(r28) +/* 80069044 00065FA4 7C 67 1B 78 */ mr r7, r3 +/* 80069048 00065FA8 39 00 00 00 */ li r8, 0 +/* 8006904C 00065FAC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80069050 00065FB0 41 82 00 18 */ beq lbl_80069068 +/* 80069054 00065FB4 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80069058 00065FB8 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8006905C 00065FBC 2C 00 00 01 */ cmpwi r0, 1 +/* 80069060 00065FC0 40 82 00 08 */ bne lbl_80069068 +/* 80069064 00065FC4 39 00 00 01 */ li r8, 1 +lbl_80069068: +/* 80069068 00065FC8 80 7E 02 B0 */ lwz r3, 0x2b0(r30) +/* 8006906C 00065FCC 7F 44 D3 78 */ mr r4, r26 +/* 80069070 00065FD0 7F 25 CB 78 */ mr r5, r25 +/* 80069074 00065FD4 7F 66 DB 78 */ mr r6, r27 +/* 80069078 00065FD8 39 20 00 00 */ li r9, 0 +/* 8006907C 00065FDC 48 16 45 BD */ bl SetBombParams__17CHudBallInterfaceFiiibbb +lbl_80069080: +/* 80069080 00065FE0 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80069084 00065FE4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80069088 00065FE8 7C 08 03 A6 */ mtlr r0 +/* 8006908C 00065FEC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80069090 00065FF0 4E 80 00 20 */ blr + +.global UpdateMissile__9CSamusHudFfRC13CStateManagerb +UpdateMissile__9CSamusHudFfRC13CStateManagerb: +/* 80069094 00065FF4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80069098 00065FF8 7C 08 02 A6 */ mflr r0 +/* 8006909C 00065FFC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800690A0 00066000 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 800690A4 00066004 7C 7B 1B 78 */ mr r27, r3 +/* 800690A8 00066008 7C 9C 23 78 */ mr r28, r4 +/* 800690AC 0006600C 7C B9 2B 78 */ mr r25, r5 +/* 800690B0 00066010 80 C4 08 4C */ lwz r6, 0x84c(r4) +/* 800690B4 00066014 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 800690B8 00066018 38 80 00 04 */ li r4, 4 +/* 800690BC 0006601C 83 46 04 90 */ lwz r26, 0x490(r6) +/* 800690C0 00066020 83 A3 00 00 */ lwz r29, 0(r3) +/* 800690C4 00066024 83 FA 03 1C */ lwz r31, 0x31c(r26) +/* 800690C8 00066028 7F A3 EB 78 */ mr r3, r29 +/* 800690CC 0006602C 48 02 8A 51 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800690D0 00066030 7C 60 1B 78 */ mr r0, r3 +/* 800690D4 00066034 7F A3 EB 78 */ mr r3, r29 +/* 800690D8 00066038 7C 1E 03 78 */ mr r30, r0 +/* 800690DC 0006603C 38 80 00 04 */ li r4, 4 +/* 800690E0 00066040 48 02 8A 15 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800690E4 00066044 88 1A 08 34 */ lbz r0, 0x834(r26) +/* 800690E8 00066048 7C 7D 1B 78 */ mr r29, r3 +/* 800690EC 0006604C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800690F0 00066050 41 82 00 0C */ beq lbl_800690FC +/* 800690F4 00066054 C0 3A 03 40 */ lfs f1, 0x340(r26) +/* 800690F8 00066058 48 00 00 08 */ b lbl_80069100 +lbl_800690FC: +/* 800690FC 0006605C C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +lbl_80069100: +/* 80069100 00066060 80 7B 02 94 */ lwz r3, 0x294(r27) +/* 80069104 00066064 28 03 00 00 */ cmplwi r3, 0 +/* 80069108 00066068 41 82 00 08 */ beq lbl_80069110 +/* 8006910C 0006606C 48 12 87 D9 */ bl SetChargeBeamFactor__20CHudMissileInterfaceFf +lbl_80069110: +/* 80069110 00066070 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80069114 00066074 40 82 00 28 */ bne lbl_8006913C +/* 80069118 00066078 80 1B 02 D8 */ lwz r0, 0x2d8(r27) +/* 8006911C 0006607C 7C 1E 00 00 */ cmpw r30, r0 +/* 80069120 00066080 40 82 00 1C */ bne lbl_8006913C +/* 80069124 00066084 80 1B 02 EC */ lwz r0, 0x2ec(r27) +/* 80069128 00066088 7C 1F 00 00 */ cmpw r31, r0 +/* 8006912C 0006608C 40 82 00 10 */ bne lbl_8006913C +/* 80069130 00066090 80 1B 02 DC */ lwz r0, 0x2dc(r27) +/* 80069134 00066094 7C 1D 00 00 */ cmpw r29, r0 +/* 80069138 00066098 41 82 00 6C */ beq lbl_800691A4 +lbl_8006913C: +/* 8006913C 0006609C 80 7B 02 94 */ lwz r3, 0x294(r27) +/* 80069140 000660A0 28 03 00 00 */ cmplwi r3, 0 +/* 80069144 000660A4 41 82 00 54 */ beq lbl_80069198 +/* 80069148 000660A8 80 1B 02 DC */ lwz r0, 0x2dc(r27) +/* 8006914C 000660AC 7C 00 E8 00 */ cmpw r0, r29 +/* 80069150 000660B0 41 82 00 0C */ beq lbl_8006915C +/* 80069154 000660B4 7F A4 EB 78 */ mr r4, r29 +/* 80069158 000660B8 48 12 88 95 */ bl SetMissileCapacity__20CHudMissileInterfaceFf +lbl_8006915C: +/* 8006915C 000660BC 80 1B 02 D8 */ lwz r0, 0x2d8(r27) +/* 80069160 000660C0 7C 00 F0 00 */ cmpw r0, r30 +/* 80069164 000660C4 41 82 00 14 */ beq lbl_80069178 +/* 80069168 000660C8 80 7B 02 94 */ lwz r3, 0x294(r27) +/* 8006916C 000660CC 7F C4 F3 78 */ mr r4, r30 +/* 80069170 000660D0 7F 85 E3 78 */ mr r5, r28 +/* 80069174 000660D4 48 12 87 79 */ bl SetNumMissiles__20CHudMissileInterfaceFiRC13CStateManager +lbl_80069178: +/* 80069178 000660D8 80 1B 02 EC */ lwz r0, 0x2ec(r27) +/* 8006917C 000660DC 7C 00 F8 00 */ cmpw r0, r31 +/* 80069180 000660E0 41 82 00 18 */ beq lbl_80069198 +/* 80069184 000660E4 20 1F 00 01 */ subfic r0, r31, 1 +/* 80069188 000660E8 80 7B 02 94 */ lwz r3, 0x294(r27) +/* 8006918C 000660EC 7C 00 00 34 */ cntlzw r0, r0 +/* 80069190 000660F0 54 04 D9 7E */ srwi r4, r0, 5 +/* 80069194 000660F4 48 12 87 41 */ bl SetIsMissilesActive__20CHudMissileInterfaceFb +lbl_80069198: +/* 80069198 000660F8 93 DB 02 D8 */ stw r30, 0x2d8(r27) +/* 8006919C 000660FC 93 FB 02 EC */ stw r31, 0x2ec(r27) +/* 800691A0 00066100 93 BB 02 DC */ stw r29, 0x2dc(r27) +lbl_800691A4: +/* 800691A4 00066104 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 800691A8 00066108 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800691AC 0006610C 7C 08 03 A6 */ mtlr r0 +/* 800691B0 00066110 38 21 00 30 */ addi r1, r1, 0x30 +/* 800691B4 00066114 4E 80 00 20 */ blr + +.global UpdateEnergy__9CSamusHudFfRC13CStateManagerb +UpdateEnergy__9CSamusHudFfRC13CStateManagerb: +/* 800691B8 00066118 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800691BC 0006611C 7C 08 02 A6 */ mflr r0 +/* 800691C0 00066120 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800691C4 00066124 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 800691C8 00066128 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 800691CC 0006612C DB C1 00 80 */ stfd f30, 0x80(r1) +/* 800691D0 00066130 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 800691D4 00066134 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 800691D8 00066138 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 800691DC 0006613C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800691E0 00066140 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800691E4 00066144 93 A1 00 64 */ stw r29, 0x64(r1) +/* 800691E8 00066148 93 81 00 60 */ stw r28, 0x60(r1) +/* 800691EC 0006614C 7C 9E 23 78 */ mr r30, r4 +/* 800691F0 00066150 7C 7D 1B 78 */ mr r29, r3 +/* 800691F4 00066154 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 800691F8 00066158 7C BC 2B 78 */ mr r28, r5 +/* 800691FC 0006615C 80 63 00 00 */ lwz r3, 0(r3) +/* 80069200 00066160 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80069204 00066164 48 2A C0 4D */ bl CeilingF__5CMathFf +/* 80069208 00066168 FC 00 08 18 */ frsp f0, f1 +/* 8006920C 0006616C C0 4D 83 04 */ lfs f2, lbl_805A6EC4@sda21(r13) +/* 80069210 00066170 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80069214 00066174 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80069218 00066178 40 80 00 0C */ bge lbl_80069224 +/* 8006921C 0006617C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80069220 00066180 48 00 00 08 */ b lbl_80069228 +lbl_80069224: +/* 80069224 00066184 38 AD 83 04 */ addi r5, r13, lbl_805A6EC4@sda21 +lbl_80069228: +/* 80069228 00066188 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8006922C 0006618C 38 80 00 18 */ li r4, 0x18 +/* 80069230 00066190 C3 E5 00 00 */ lfs f31, 0(r5) +/* 80069234 00066194 80 63 00 00 */ lwz r3, 0(r3) +/* 80069238 00066198 48 02 88 BD */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8006923C 0006619C 7C 60 1B 78 */ mr r0, r3 +/* 80069240 000661A0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80069244 000661A4 7C 1F 03 78 */ mr r31, r0 +/* 80069248 000661A8 7F C4 F3 78 */ mr r4, r30 +/* 8006924C 000661AC 4B FA 78 65 */ bl IsEnergyLow__7CPlayerCFRC13CStateManager +/* 80069250 000661B0 88 9D 02 E0 */ lbz r4, 0x2e0(r29) +/* 80069254 000661B4 50 64 26 F6 */ rlwimi r4, r3, 4, 0x1b, 0x1b +/* 80069258 000661B8 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8006925C 000661BC 98 9D 02 E0 */ stb r4, 0x2e0(r29) +/* 80069260 000661C0 40 82 00 1C */ bne lbl_8006927C +/* 80069264 000661C4 C0 1D 02 D0 */ lfs f0, 0x2d0(r29) +/* 80069268 000661C8 FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 8006926C 000661CC 40 82 00 10 */ bne lbl_8006927C +/* 80069270 000661D0 80 1D 02 D4 */ lwz r0, 0x2d4(r29) +/* 80069274 000661D4 7C 1F 00 00 */ cmpw r31, r0 +/* 80069278 000661D8 41 82 00 CC */ beq lbl_80069344 +lbl_8006927C: +/* 8006927C 000661DC FF C0 F8 90 */ fmr f30, f31 +/* 80069280 000661E0 3B 80 00 00 */ li r28, 0 +/* 80069284 000661E4 48 00 00 10 */ b lbl_80069294 +lbl_80069288: +/* 80069288 000661E8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8006928C 000661EC 48 02 85 99 */ bl GetEnergyTankCapacity__12CPlayerStateFv +/* 80069290 000661F0 EF DE 08 28 */ fsubs f30, f30, f1 +lbl_80069294: +/* 80069294 000661F4 48 02 85 99 */ bl GetBaseHealthCapacity__12CPlayerStateFv +/* 80069298 000661F8 FC 1E 08 40 */ fcmpo cr0, f30, f1 +/* 8006929C 000661FC 41 81 FF EC */ bgt lbl_80069288 +/* 800692A0 00066200 80 1D 02 BC */ lwz r0, 0x2bc(r29) +/* 800692A4 00066204 2C 00 00 05 */ cmpwi r0, 5 +/* 800692A8 00066208 41 82 00 9C */ beq lbl_80069344 +/* 800692AC 0006620C 80 1D 02 8C */ lwz r0, 0x28c(r29) +/* 800692B0 00066210 28 00 00 00 */ cmplwi r0, 0 +/* 800692B4 00066214 41 82 00 58 */ beq lbl_8006930C +/* 800692B8 00066218 C3 BD 02 D0 */ lfs f29, 0x2d0(r29) +/* 800692BC 0006621C 48 00 00 0C */ b lbl_800692C8 +lbl_800692C0: +/* 800692C0 00066220 48 02 85 65 */ bl GetEnergyTankCapacity__12CPlayerStateFv +/* 800692C4 00066224 EF BD 08 28 */ fsubs f29, f29, f1 +lbl_800692C8: +/* 800692C8 00066228 48 02 85 65 */ bl GetBaseHealthCapacity__12CPlayerStateFv +/* 800692CC 0006622C FC 1D 08 40 */ fcmpo cr0, f29, f1 +/* 800692D0 00066230 41 81 FF F0 */ bgt lbl_800692C0 +/* 800692D4 00066234 FC 1D F0 40 */ fcmpo cr0, f29, f30 +/* 800692D8 00066238 80 7D 02 8C */ lwz r3, 0x28c(r29) +/* 800692DC 0006623C FC 20 F0 90 */ fmr f1, f30 +/* 800692E0 00066240 7C 00 00 26 */ mfcr r0 +/* 800692E4 00066244 C0 1D 02 D0 */ lfs f0, 0x2d0(r29) +/* 800692E8 00066248 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f +/* 800692EC 0006624C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 800692F0 00066250 7C 00 00 26 */ mfcr r0 +/* 800692F4 00066254 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 800692F8 00066258 7C 85 00 50 */ subf r4, r5, r0 +/* 800692FC 0006625C 7C 00 28 50 */ subf r0, r0, r5 +/* 80069300 00066260 7C 80 03 78 */ or r0, r4, r0 +/* 80069304 00066264 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80069308 00066268 48 12 67 E1 */ bl SetCurrEnergy__19CHudEnergyInterfaceFf +lbl_8006930C: +/* 8006930C 0006626C D3 FD 02 D0 */ stfs f31, 0x2d0(r29) +/* 80069310 00066270 80 7D 02 8C */ lwz r3, 0x28c(r29) +/* 80069314 00066274 28 03 00 00 */ cmplwi r3, 0 +/* 80069318 00066278 41 82 00 28 */ beq lbl_80069340 +/* 8006931C 0006627C 7F E4 FB 78 */ mr r4, r31 +/* 80069320 00066280 48 12 67 A1 */ bl SetNumTotalEnergyTanks__19CHudEnergyInterfaceFi +/* 80069324 00066284 80 7D 02 8C */ lwz r3, 0x28c(r29) +/* 80069328 00066288 7F 84 E3 78 */ mr r4, r28 +/* 8006932C 0006628C 48 12 67 6D */ bl SetNumFilledEnergyTanks__19CHudEnergyInterfaceFi +/* 80069330 00066290 88 1D 02 E0 */ lbz r0, 0x2e0(r29) +/* 80069334 00066294 80 7D 02 8C */ lwz r3, 0x28c(r29) +/* 80069338 00066298 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f +/* 8006933C 0006629C 48 12 65 F5 */ bl SetEnergyLow__19CHudEnergyInterfaceFb +lbl_80069340: +/* 80069340 000662A0 93 FD 02 D4 */ stw r31, 0x2d4(r29) +lbl_80069344: +/* 80069344 000662A4 80 1D 02 B4 */ lwz r0, 0x2b4(r29) +/* 80069348 000662A8 28 00 00 00 */ cmplwi r0, 0 +/* 8006934C 000662AC 41 82 01 14 */ beq lbl_80069460 +/* 80069350 000662B0 A0 1E 0F 18 */ lhz r0, 0xf18(r30) +/* 80069354 000662B4 7F C3 F3 78 */ mr r3, r30 +/* 80069358 000662B8 38 81 00 08 */ addi r4, r1, 8 +/* 8006935C 000662BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80069360 000662C0 B0 01 00 08 */ sth r0, 8(r1) +/* 80069364 000662C4 4B FE 32 41 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80069368 000662C8 7C 64 1B 78 */ mr r4, r3 +/* 8006936C 000662CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80069370 000662D0 48 04 69 21 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80069374 000662D4 80 63 00 04 */ lwz r3, 4(r3) +/* 80069378 000662D8 28 03 00 00 */ cmplwi r3, 0 +/* 8006937C 000662DC 41 82 00 B4 */ beq lbl_80069430 +/* 80069380 000662E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80069384 000662E4 7F C4 F3 78 */ mr r4, r30 +/* 80069388 000662E8 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8006938C 000662EC 7D 89 03 A6 */ mtctr r12 +/* 80069390 000662F0 4E 80 04 21 */ bctrl +/* 80069394 000662F4 28 03 00 00 */ cmplwi r3, 0 +/* 80069398 000662F8 41 82 00 64 */ beq lbl_800693FC +/* 8006939C 000662FC C0 23 00 00 */ lfs f1, 0(r3) +/* 800693A0 00066300 48 2A BE B1 */ bl CeilingF__5CMathFf +/* 800693A4 00066304 FF A0 08 90 */ fmr f29, f1 +/* 800693A8 00066308 C3 FE 0F 1C */ lfs f31, 0xf1c(r30) +/* 800693AC 0006630C 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) +/* 800693B0 00066310 80 9E 0F 20 */ lwz r4, 0xf20(r30) +/* 800693B4 00066314 48 2E D3 49 */ bl GetString__12CStringTableCFi +/* 800693B8 00066318 7C 64 1B 78 */ mr r4, r3 +/* 800693BC 0006631C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800693C0 00066320 4B FA C6 31 */ bl wstring_l__4rstlFPCw +/* 800693C4 00066324 38 61 00 4C */ addi r3, r1, 0x4c +/* 800693C8 00066328 38 81 00 3C */ addi r4, r1, 0x3c +/* 800693CC 0006632C 48 2D 43 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800693D0 00066330 38 61 00 3C */ addi r3, r1, 0x3c +/* 800693D4 00066334 48 2D 3D 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800693D8 00066338 FC 20 E8 90 */ fmr f1, f29 +/* 800693DC 0006633C 80 7D 02 B4 */ lwz r3, 0x2b4(r29) +/* 800693E0 00066340 FC 40 F8 90 */ fmr f2, f31 +/* 800693E4 00066344 38 A1 00 4C */ addi r5, r1, 0x4c +/* 800693E8 00066348 38 80 00 01 */ li r4, 1 +/* 800693EC 0006634C 48 12 60 99 */ bl "SetBossParams__23CHudBossEnergyInterfaceFbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800693F0 00066350 38 61 00 4C */ addi r3, r1, 0x4c +/* 800693F4 00066354 48 2D 3D 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800693F8 00066358 48 00 00 68 */ b lbl_80069460 +lbl_800693FC: +/* 800693FC 0006635C 38 8D 83 90 */ addi r4, r13, lbl_805A6F50@sda21 +/* 80069400 00066360 38 61 00 2C */ addi r3, r1, 0x2c +/* 80069404 00066364 38 84 00 04 */ addi r4, r4, 4 +/* 80069408 00066368 4B FA C5 E9 */ bl wstring_l__4rstlFPCw +/* 8006940C 0006636C C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 80069410 00066370 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80069414 00066374 80 7D 02 B4 */ lwz r3, 0x2b4(r29) +/* 80069418 00066378 38 80 00 00 */ li r4, 0 +/* 8006941C 0006637C FC 40 08 90 */ fmr f2, f1 +/* 80069420 00066380 48 12 60 65 */ bl "SetBossParams__23CHudBossEnergyInterfaceFbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80069424 00066384 38 61 00 2C */ addi r3, r1, 0x2c +/* 80069428 00066388 48 2D 3D 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8006942C 0006638C 48 00 00 34 */ b lbl_80069460 +lbl_80069430: +/* 80069430 00066390 38 8D 83 90 */ addi r4, r13, lbl_805A6F50@sda21 +/* 80069434 00066394 38 61 00 1C */ addi r3, r1, 0x1c +/* 80069438 00066398 38 84 00 04 */ addi r4, r4, 4 +/* 8006943C 0006639C 4B FA C5 B5 */ bl wstring_l__4rstlFPCw +/* 80069440 000663A0 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 80069444 000663A4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80069448 000663A8 80 7D 02 B4 */ lwz r3, 0x2b4(r29) +/* 8006944C 000663AC 38 80 00 00 */ li r4, 0 +/* 80069450 000663B0 FC 40 08 90 */ fmr f2, f1 +/* 80069454 000663B4 48 12 60 31 */ bl "SetBossParams__23CHudBossEnergyInterfaceFbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80069458 000663B8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8006945C 000663BC 48 2D 3C D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80069460: +/* 80069460 000663C0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80069464 000663C4 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80069468 000663C8 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8006946C 000663CC CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80069470 000663D0 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 80069474 000663D4 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 80069478 000663D8 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8006947C 000663DC 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80069480 000663E0 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80069484 000663E4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80069488 000663E8 83 81 00 60 */ lwz r28, 0x60(r1) +/* 8006948C 000663EC 7C 08 03 A6 */ mtlr r0 +/* 80069490 000663F0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80069494 000663F4 4E 80 00 20 */ blr + +.global UpdateStaticSfx__9CSamusHudFR10CSfxHandleRfUsfff +UpdateStaticSfx__9CSamusHudFR10CSfxHandleRfUsfff: +/* 80069498 000663F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006949C 000663FC 7C 08 02 A6 */ mflr r0 +/* 800694A0 00066400 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 800694A4 00066404 90 01 00 24 */ stw r0, 0x24(r1) +/* 800694A8 00066408 38 00 00 00 */ li r0, 0 +/* 800694AC 0006640C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800694B0 00066410 7C 9F 23 78 */ mr r31, r4 +/* 800694B4 00066414 40 81 00 14 */ ble lbl_800694C8 +/* 800694B8 00066418 C0 03 05 10 */ lfs f0, 0x510(r3) +/* 800694BC 0006641C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 800694C0 00066420 4C 40 13 82 */ cror 2, 0, 2 +/* 800694C4 00066424 41 82 00 1C */ beq lbl_800694E0 +lbl_800694C8: +/* 800694C8 00066428 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 800694CC 0006642C 4C 40 13 82 */ cror 2, 0, 2 +/* 800694D0 00066430 40 82 00 14 */ bne lbl_800694E4 +/* 800694D4 00066434 C0 03 05 10 */ lfs f0, 0x510(r3) +/* 800694D8 00066438 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 800694DC 0006643C 40 81 00 08 */ ble lbl_800694E4 +lbl_800694E0: +/* 800694E0 00066440 38 00 00 01 */ li r0, 1 +lbl_800694E4: +/* 800694E4 00066444 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800694E8 00066448 41 82 00 10 */ beq lbl_800694F8 +/* 800694EC 0006644C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 800694F0 00066450 D0 05 00 00 */ stfs f0, 0(r5) +/* 800694F4 00066454 48 00 00 AC */ b lbl_800695A0 +lbl_800694F8: +/* 800694F8 00066458 C0 45 00 00 */ lfs f2, 0(r5) +/* 800694FC 0006645C C0 02 87 2C */ lfs f0, lbl_805AA44C@sda21(r2) +/* 80069500 00066460 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80069504 00066464 40 80 00 9C */ bge lbl_800695A0 +/* 80069508 00066468 EC 22 08 2A */ fadds f1, f2, f1 +/* 8006950C 0006646C C0 02 87 D8 */ lfs f0, lbl_805AA4F8@sda21(r2) +/* 80069510 00066470 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80069514 00066474 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80069518 00066478 40 80 00 0C */ bge lbl_80069524 +/* 8006951C 0006647C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80069520 00066480 48 00 00 08 */ b lbl_80069528 +lbl_80069524: +/* 80069524 00066484 38 82 87 D8 */ addi r4, r2, lbl_805AA4F8@sda21 +lbl_80069528: +/* 80069528 00066488 C0 04 00 00 */ lfs f0, 0(r4) +/* 8006952C 0006648C C0 22 87 2C */ lfs f1, lbl_805AA44C@sda21(r2) +/* 80069530 00066490 D0 05 00 00 */ stfs f0, 0(r5) +/* 80069534 00066494 C0 05 00 00 */ lfs f0, 0(r5) +/* 80069538 00066498 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8006953C 0006649C 40 82 00 64 */ bne lbl_800695A0 +/* 80069540 000664A0 C0 03 05 10 */ lfs f0, 0x510(r3) +/* 80069544 000664A4 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80069548 000664A8 40 81 00 40 */ ble lbl_80069588 +/* 8006954C 000664AC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80069550 000664B0 28 00 00 00 */ cmplwi r0, 0 +/* 80069554 000664B4 40 82 00 4C */ bne lbl_800695A0 +/* 80069558 000664B8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8006955C 000664BC 54 C4 04 3E */ clrlwi r4, r6, 0x10 +/* 80069560 000664C0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80069564 000664C4 38 61 00 0C */ addi r3, r1, 0xc +/* 80069568 000664C8 38 A0 00 7F */ li r5, 0x7f +/* 8006956C 000664CC 38 C0 00 40 */ li r6, 0x40 +/* 80069570 000664D0 38 E0 00 00 */ li r7, 0 +/* 80069574 000664D4 39 20 00 01 */ li r9, 1 +/* 80069578 000664D8 48 28 07 FD */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8006957C 000664DC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80069580 000664E0 90 1F 00 00 */ stw r0, 0(r31) +/* 80069584 000664E4 48 00 00 1C */ b lbl_800695A0 +lbl_80069588: +/* 80069588 000664E8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8006958C 000664EC 38 61 00 08 */ addi r3, r1, 8 +/* 80069590 000664F0 90 01 00 08 */ stw r0, 8(r1) +/* 80069594 000664F4 48 28 07 B5 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80069598 000664F8 38 00 00 00 */ li r0, 0 +/* 8006959C 000664FC 90 1F 00 00 */ stw r0, 0(r31) +lbl_800695A0: +/* 800695A0 00066500 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800695A4 00066504 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800695A8 00066508 7C 08 03 A6 */ mtlr r0 +/* 800695AC 0006650C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800695B0 00066510 4E 80 00 20 */ blr + +.global UpdateStaticInterference__9CSamusHudFfRC13CStateManager +UpdateStaticInterference__9CSamusHudFfRC13CStateManager: +/* 800695B4 00066514 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800695B8 00066518 7C 08 02 A6 */ mflr r0 +/* 800695BC 0006651C 90 01 00 64 */ stw r0, 0x64(r1) +/* 800695C0 00066520 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 800695C4 00066524 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 800695C8 00066528 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 800695CC 0006652C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 800695D0 00066530 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 800695D4 00066534 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 800695D8 00066538 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800695DC 0006653C 80 84 08 B8 */ lwz r4, 0x8b8(r4) +/* 800695E0 00066540 FF A0 08 90 */ fmr f29, f1 +/* 800695E4 00066544 7C 7F 1B 78 */ mr r31, r3 +/* 800695E8 00066548 80 64 00 00 */ lwz r3, 0(r4) +/* 800695EC 0006654C 38 63 01 88 */ addi r3, r3, 0x188 +/* 800695F0 00066550 48 15 73 35 */ bl GetTotalInterference__19CStaticInterferenceCFv +/* 800695F4 00066554 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800695F8 00066558 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 800695FC 0006655C FF C0 00 90 */ fmr f30, f0 +/* 80069600 00066560 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80069604 00066564 40 80 00 2C */ bge lbl_80069630 +/* 80069608 00066568 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8006960C 0006656C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80069610 00066570 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80069614 00066574 40 80 00 0C */ bge lbl_80069620 +/* 80069618 00066578 38 61 00 10 */ addi r3, r1, 0x10 +/* 8006961C 0006657C 48 00 00 08 */ b lbl_80069624 +lbl_80069620: +/* 80069620 00066580 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80069624: +/* 80069624 00066584 C0 03 00 00 */ lfs f0, 0(r3) +/* 80069628 00066588 D0 1F 05 10 */ stfs f0, 0x510(r31) +/* 8006962C 0006658C 48 00 00 2C */ b lbl_80069658 +lbl_80069630: +/* 80069630 00066590 40 81 00 28 */ ble lbl_80069658 +/* 80069634 00066594 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 80069638 00066598 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8006963C 0006659C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80069640 000665A0 40 80 00 0C */ bge lbl_8006964C +/* 80069644 000665A4 38 61 00 0C */ addi r3, r1, 0xc +/* 80069648 000665A8 48 00 00 08 */ b lbl_80069650 +lbl_8006964C: +/* 8006964C 000665AC 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80069650: +/* 80069650 000665B0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80069654 000665B4 D0 1F 05 10 */ stfs f0, 0x510(r31) +lbl_80069658: +/* 80069658 000665B8 FC 20 E8 90 */ fmr f1, f29 +/* 8006965C 000665BC C0 62 87 2C */ lfs f3, lbl_805AA44C@sda21(r2) +/* 80069660 000665C0 FC 40 F0 90 */ fmr f2, f30 +/* 80069664 000665C4 7F E3 FB 78 */ mr r3, r31 +/* 80069668 000665C8 38 9F 05 08 */ addi r4, r31, 0x508 +/* 8006966C 000665CC 38 BF 05 14 */ addi r5, r31, 0x514 +/* 80069670 000665D0 38 C0 05 7A */ li r6, 0x57a +/* 80069674 000665D4 4B FF FE 25 */ bl UpdateStaticSfx__9CSamusHudFR10CSfxHandleRfUsfff +/* 80069678 000665D8 FC 20 E8 90 */ fmr f1, f29 +/* 8006967C 000665DC C0 62 87 3C */ lfs f3, lbl_805AA45C@sda21(r2) +/* 80069680 000665E0 FC 40 F0 90 */ fmr f2, f30 +/* 80069684 000665E4 7F E3 FB 78 */ mr r3, r31 +/* 80069688 000665E8 38 9F 05 0C */ addi r4, r31, 0x50c +/* 8006968C 000665EC 38 BF 05 18 */ addi r5, r31, 0x518 +/* 80069690 000665F0 38 C0 05 7B */ li r6, 0x57b +/* 80069694 000665F4 4B FF FE 05 */ bl UpdateStaticSfx__9CSamusHudFR10CSfxHandleRfUsfff +/* 80069698 000665F8 C3 DF 05 10 */ lfs f30, 0x510(r31) +/* 8006969C 000665FC C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 800696A0 00066600 FC 1E 08 40 */ fcmpo cr0, f30, f1 +/* 800696A4 00066604 40 81 00 44 */ ble lbl_800696E8 +/* 800696A8 00066608 48 2E 09 05 */ bl White__6CColorFv +/* 800696AC 0006660C C0 02 87 74 */ lfs f0, lbl_805AA494@sda21(r2) +/* 800696B0 00066610 EF E0 07 B2 */ fmuls f31, f0, f30 +/* 800696B4 00066614 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800696B8 00066618 38 C1 00 14 */ addi r6, r1, 0x14 +/* 800696BC 0006661C 80 E3 00 00 */ lwz r7, 0(r3) +/* 800696C0 00066620 38 7F 05 1C */ addi r3, r31, 0x51c +/* 800696C4 00066624 88 01 00 08 */ lbz r0, 8(r1) +/* 800696C8 00066628 38 80 00 05 */ li r4, 5 +/* 800696CC 0006662C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 800696D0 00066630 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 800696D4 00066634 90 01 00 14 */ stw r0, 0x14(r1) +/* 800696D8 00066638 38 A0 00 07 */ li r5, 7 +/* 800696DC 0006663C 38 E0 FF FF */ li r7, -1 +/* 800696E0 00066640 48 08 3C C1 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +/* 800696E4 00066644 48 00 00 0C */ b lbl_800696F0 +lbl_800696E8: +/* 800696E8 00066648 38 7F 05 1C */ addi r3, r31, 0x51c +/* 800696EC 0006664C 48 08 3C 7D */ bl DisableFilter__17CCameraFilterPassFf +lbl_800696F0: +/* 800696F0 00066650 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 800696F4 00066654 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 800696F8 00066658 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 800696FC 0006665C CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80069700 00066660 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80069704 00066664 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80069708 00066668 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8006970C 0006666C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80069710 00066670 7C 08 03 A6 */ mtlr r0 +/* 80069714 00066674 38 21 00 60 */ addi r1, r1, 0x60 +/* 80069718 00066678 4E 80 00 20 */ blr + +.global UpdateVideoBands__9CSamusHudFfRC13CStateManager +UpdateVideoBands__9CSamusHudFfRC13CStateManager: +/* 8006971C 0006667C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80069720 00066680 7C 08 02 A6 */ mflr r0 +/* 80069724 00066684 90 01 00 14 */ stw r0, 0x14(r1) +/* 80069728 00066688 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006972C 0006668C 3B E3 05 A8 */ addi r31, r3, 0x5a8 +/* 80069730 00066690 93 C1 00 08 */ stw r30, 8(r1) +/* 80069734 00066694 3B C0 00 00 */ li r30, 0 +lbl_80069738: +/* 80069738 00066698 80 7F 00 00 */ lwz r3, 0(r31) +/* 8006973C 0006669C 28 03 00 00 */ cmplwi r3, 0 +/* 80069740 000666A0 41 82 00 0C */ beq lbl_8006974C +/* 80069744 000666A4 38 80 00 00 */ li r4, 0 +/* 80069748 000666A8 48 26 0E E5 */ bl SetIsVisible__10CGuiWidgetFb +lbl_8006974C: +/* 8006974C 000666AC 3B DE 00 01 */ addi r30, r30, 1 +/* 80069750 000666B0 3B FF 00 0C */ addi r31, r31, 0xc +/* 80069754 000666B4 2C 1E 00 04 */ cmpwi r30, 4 +/* 80069758 000666B8 41 80 FF E0 */ blt lbl_80069738 +/* 8006975C 000666BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80069760 000666C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80069764 000666C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80069768 000666C8 7C 08 03 A6 */ mtlr r0 +/* 8006976C 000666CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80069770 000666D0 4E 80 00 20 */ blr + +.global UpdateFreeLook__9CSamusHudFfRC13CStateManager +UpdateFreeLook__9CSamusHudFfRC13CStateManager: +/* 80069774 000666D4 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80069778 000666D8 7C 08 02 A6 */ mflr r0 +/* 8006977C 000666DC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80069780 000666E0 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80069784 000666E4 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80069788 000666E8 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 8006978C 000666EC FF E0 08 90 */ fmr f31, f1 +/* 80069790 000666F0 7C 9C 23 78 */ mr r28, r4 +/* 80069794 000666F4 7C 7B 1B 78 */ mr r27, r3 +/* 80069798 000666F8 80 64 08 70 */ lwz r3, 0x870(r4) +/* 8006979C 000666FC 4B FA 23 7D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800697A0 00066700 7C 64 1B 78 */ mr r4, r3 +/* 800697A4 00066704 38 61 00 20 */ addi r3, r1, 0x20 +/* 800697A8 00066708 48 04 4C CD */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" +/* 800697AC 0006670C 80 9C 08 4C */ lwz r4, 0x84c(r28) +/* 800697B0 00066710 3B E0 00 00 */ li r31, 0 +/* 800697B4 00066714 83 A3 00 04 */ lwz r29, 4(r3) +/* 800697B8 00066718 88 04 03 DC */ lbz r0, 0x3dc(r4) +/* 800697BC 0006671C 28 00 00 00 */ cmplwi r0, 0 +/* 800697C0 00066720 41 82 00 10 */ beq lbl_800697D0 +/* 800697C4 00066724 28 1D 00 00 */ cmplwi r29, 0 +/* 800697C8 00066728 41 82 00 08 */ beq lbl_800697D0 +/* 800697CC 0006672C 3B E0 00 01 */ li r31, 1 +lbl_800697D0: +/* 800697D0 00066730 88 7B 02 E0 */ lbz r3, 0x2e0(r27) +/* 800697D4 00066734 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 800697D8 00066738 8B C4 03 DE */ lbz r30, 0x3de(r4) +/* 800697DC 0006673C 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f +/* 800697E0 00066740 7C 03 00 40 */ cmplw r3, r0 +/* 800697E4 00066744 41 82 00 64 */ beq lbl_80069848 +/* 800697E8 00066748 28 00 00 00 */ cmplwi r0, 0 +/* 800697EC 0006674C 41 82 00 2C */ beq lbl_80069818 +/* 800697F0 00066750 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800697F4 00066754 38 61 00 1C */ addi r3, r1, 0x1c +/* 800697F8 00066758 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800697FC 0006675C 38 80 05 70 */ li r4, 0x570 +/* 80069800 00066760 38 A0 00 7F */ li r5, 0x7f +/* 80069804 00066764 38 C0 00 40 */ li r6, 0x40 +/* 80069808 00066768 38 E0 00 00 */ li r7, 0 +/* 8006980C 0006676C 39 20 00 00 */ li r9, 0 +/* 80069810 00066770 48 28 05 65 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80069814 00066774 48 00 00 28 */ b lbl_8006983C +lbl_80069818: +/* 80069818 00066778 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8006981C 0006677C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80069820 00066780 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80069824 00066784 38 80 05 6E */ li r4, 0x56e +/* 80069828 00066788 38 A0 00 7F */ li r5, 0x7f +/* 8006982C 0006678C 38 C0 00 40 */ li r6, 0x40 +/* 80069830 00066790 38 E0 00 00 */ li r7, 0 +/* 80069834 00066794 39 20 00 00 */ li r9, 0 +/* 80069838 00066798 48 28 05 3D */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8006983C: +/* 8006983C 0006679C 88 1B 02 E0 */ lbz r0, 0x2e0(r27) +/* 80069840 000667A0 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 +/* 80069844 000667A4 98 1B 02 E0 */ stb r0, 0x2e0(r27) +lbl_80069848: +/* 80069848 000667A8 C0 02 87 E0 */ lfs f0, lbl_805AA500@sda21(r2) +/* 8006984C 000667AC 28 1D 00 00 */ cmplwi r29, 0 +/* 80069850 000667B0 C0 22 87 AC */ lfs f1, lbl_805AA4CC@sda21(r2) +/* 80069854 000667B4 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80069858 000667B8 C1 1B 05 74 */ lfs f8, 0x574(r27) +/* 8006985C 000667BC EC E1 00 32 */ fmuls f7, f1, f0 +/* 80069860 000667C0 40 82 00 0C */ bne lbl_8006986C +/* 80069864 000667C4 38 7B 05 68 */ addi r3, r27, 0x568 +/* 80069868 000667C8 48 00 00 20 */ b lbl_80069888 +lbl_8006986C: +/* 8006986C 000667CC C0 5D 00 58 */ lfs f2, 0x58(r29) +/* 80069870 000667D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80069874 000667D4 C0 3D 00 48 */ lfs f1, 0x48(r29) +/* 80069878 000667D8 C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 8006987C 000667DC D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80069880 000667E0 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80069884 000667E4 D0 41 00 3C */ stfs f2, 0x3c(r1) +lbl_80069888: +/* 80069888 000667E8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8006988C 000667EC C0 83 00 00 */ lfs f4, 0(r3) +/* 80069890 000667F0 C0 A3 00 04 */ lfs f5, 4(r3) +/* 80069894 000667F4 7F E0 FB 78 */ mr r0, r31 +/* 80069898 000667F8 C0 C3 00 08 */ lfs f6, 8(r3) +/* 8006989C 000667FC 41 82 00 08 */ beq lbl_800698A4 +/* 800698A0 00066800 7F C0 F3 78 */ mr r0, r30 +lbl_800698A4: +/* 800698A4 00066804 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800698A8 00066808 41 82 00 40 */ beq lbl_800698E8 +/* 800698AC 0006680C C0 1B 05 6C */ lfs f0, 0x56c(r27) +/* 800698B0 00066810 C0 5B 05 68 */ lfs f2, 0x568(r27) +/* 800698B4 00066814 EC 25 00 32 */ fmuls f1, f5, f0 +/* 800698B8 00066818 C0 7B 05 70 */ lfs f3, 0x570(r27) +/* 800698BC 0006681C C8 02 87 40 */ lfd f0, lbl_805AA460@sda21(r2) +/* 800698C0 00066820 EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 800698C4 00066824 EC 46 08 FA */ fmadds f2, f6, f3, f1 +/* 800698C8 00066828 FC 20 12 10 */ fabs f1, f2 +/* 800698CC 0006682C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800698D0 00066830 40 81 00 1C */ ble lbl_800698EC +/* 800698D4 00066834 C0 02 87 48 */ lfs f0, lbl_805AA468@sda21(r2) +/* 800698D8 00066838 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 800698DC 0006683C FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 800698E0 00066840 EC 41 00 32 */ fmuls f2, f1, f0 +/* 800698E4 00066844 48 00 00 08 */ b lbl_800698EC +lbl_800698E8: +/* 800698E8 00066848 C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) +lbl_800698EC: +/* 800698EC 0006684C D0 5B 05 74 */ stfs f2, 0x574(r27) +/* 800698F0 00066850 FC 08 38 40 */ fcmpo cr0, f8, f7 +/* 800698F4 00066854 38 00 00 00 */ li r0, 0 +/* 800698F8 00066858 D0 9B 05 68 */ stfs f4, 0x568(r27) +/* 800698FC 0006685C D0 BB 05 6C */ stfs f5, 0x56c(r27) +/* 80069900 00066860 D0 DB 05 70 */ stfs f6, 0x570(r27) +/* 80069904 00066864 4C 41 13 82 */ cror 2, 1, 2 +/* 80069908 00066868 40 82 00 10 */ bne lbl_80069918 +/* 8006990C 0006686C C0 1B 05 74 */ lfs f0, 0x574(r27) +/* 80069910 00066870 FC 00 38 40 */ fcmpo cr0, f0, f7 +/* 80069914 00066874 41 80 00 1C */ blt lbl_80069930 +lbl_80069918: +/* 80069918 00066878 FC 08 38 40 */ fcmpo cr0, f8, f7 +/* 8006991C 0006687C 40 80 00 18 */ bge lbl_80069934 +/* 80069920 00066880 C0 1B 05 74 */ lfs f0, 0x574(r27) +/* 80069924 00066884 FC 00 38 40 */ fcmpo cr0, f0, f7 +/* 80069928 00066888 4C 41 13 82 */ cror 2, 1, 2 +/* 8006992C 0006688C 40 82 00 08 */ bne lbl_80069934 +lbl_80069930: +/* 80069930 00066890 38 00 00 01 */ li r0, 1 +lbl_80069934: +/* 80069934 00066894 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80069938 00066898 41 82 00 10 */ beq lbl_80069948 +/* 8006993C 0006689C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80069940 000668A0 D0 1B 05 78 */ stfs f0, 0x578(r27) +/* 80069944 000668A4 48 00 00 AC */ b lbl_800699F0 +lbl_80069948: +/* 80069948 000668A8 C0 3B 05 78 */ lfs f1, 0x578(r27) +/* 8006994C 000668AC C0 02 87 E4 */ lfs f0, lbl_805AA504@sda21(r2) +/* 80069950 000668B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80069954 000668B4 40 80 00 9C */ bge lbl_800699F0 +/* 80069958 000668B8 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8006995C 000668BC C0 02 87 DC */ lfs f0, lbl_805AA4FC@sda21(r2) +/* 80069960 000668C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80069964 000668C4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80069968 000668C8 40 80 00 0C */ bge lbl_80069974 +/* 8006996C 000668CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80069970 000668D0 48 00 00 08 */ b lbl_80069978 +lbl_80069974: +/* 80069974 000668D4 38 62 87 DC */ addi r3, r2, lbl_805AA4FC@sda21 +lbl_80069978: +/* 80069978 000668D8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8006997C 000668DC C0 22 87 E4 */ lfs f1, lbl_805AA504@sda21(r2) +/* 80069980 000668E0 D0 1B 05 78 */ stfs f0, 0x578(r27) +/* 80069984 000668E4 C0 1B 05 78 */ lfs f0, 0x578(r27) +/* 80069988 000668E8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8006998C 000668EC 40 82 00 64 */ bne lbl_800699F0 +/* 80069990 000668F0 C0 1B 05 74 */ lfs f0, 0x574(r27) +/* 80069994 000668F4 FC 00 38 40 */ fcmpo cr0, f0, f7 +/* 80069998 000668F8 40 80 00 40 */ bge lbl_800699D8 +/* 8006999C 000668FC 80 1B 05 64 */ lwz r0, 0x564(r27) +/* 800699A0 00066900 28 00 00 00 */ cmplwi r0, 0 +/* 800699A4 00066904 40 82 00 4C */ bne lbl_800699F0 +/* 800699A8 00066908 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800699AC 0006690C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800699B0 00066910 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800699B4 00066914 38 80 05 72 */ li r4, 0x572 +/* 800699B8 00066918 38 A0 00 7F */ li r5, 0x7f +/* 800699BC 0006691C 38 C0 00 40 */ li r6, 0x40 +/* 800699C0 00066920 38 E0 00 01 */ li r7, 1 +/* 800699C4 00066924 39 20 00 01 */ li r9, 1 +/* 800699C8 00066928 48 28 03 AD */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800699CC 0006692C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800699D0 00066930 90 1B 05 64 */ stw r0, 0x564(r27) +/* 800699D4 00066934 48 00 00 1C */ b lbl_800699F0 +lbl_800699D8: +/* 800699D8 00066938 80 1B 05 64 */ lwz r0, 0x564(r27) +/* 800699DC 0006693C 38 61 00 0C */ addi r3, r1, 0xc +/* 800699E0 00066940 90 01 00 0C */ stw r0, 0xc(r1) +/* 800699E4 00066944 48 28 03 65 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800699E8 00066948 38 00 00 00 */ li r0, 0 +/* 800699EC 0006694C 90 1B 05 64 */ stw r0, 0x564(r27) +lbl_800699F0: +/* 800699F0 00066950 28 1D 00 00 */ cmplwi r29, 0 +/* 800699F4 00066954 41 82 01 68 */ beq lbl_80069B5C +/* 800699F8 00066958 38 61 00 58 */ addi r3, r1, 0x58 +/* 800699FC 0006695C 38 9D 00 34 */ addi r4, r29, 0x34 +/* 80069A00 00066960 48 2A 96 F5 */ bl BuildMatrix3f__12CTransform4fCFv +/* 80069A04 00066964 38 61 00 7C */ addi r3, r1, 0x7c +/* 80069A08 00066968 38 81 00 58 */ addi r4, r1, 0x58 +/* 80069A0C 0006696C 48 2A 66 19 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80069A10 00066970 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 80069A14 00066974 38 61 00 4C */ addi r3, r1, 0x4c +/* 80069A18 00066978 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80069A1C 0006697C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80069A20 00066980 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80069A24 00066984 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80069A28 00066988 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80069A2C 0006698C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80069A30 00066990 48 2A A3 A1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80069A34 00066994 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80069A38 00066998 38 61 00 40 */ addi r3, r1, 0x40 +/* 80069A3C 0006699C C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80069A40 000669A0 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80069A44 000669A4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80069A48 000669A8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80069A4C 000669AC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80069A50 000669B0 48 2A AE A9 */ bl Normalize__9CVector3fFv +/* 80069A54 000669B4 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 80069A58 000669B8 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80069A5C 000669BC C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 80069A60 000669C0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80069A64 000669C4 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80069A68 000669C8 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 80069A6C 000669CC C0 61 00 48 */ lfs f3, 0x48(r1) +/* 80069A70 000669D0 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80069A74 000669D4 C8 02 87 40 */ lfd f0, lbl_805AA460@sda21(r2) +/* 80069A78 000669D8 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80069A7C 000669DC FC 40 0A 10 */ fabs f2, f1 +/* 80069A80 000669E0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80069A84 000669E4 40 81 00 14 */ ble lbl_80069A98 +/* 80069A88 000669E8 C0 02 87 48 */ lfs f0, lbl_805AA468@sda21(r2) +/* 80069A8C 000669EC C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) +/* 80069A90 000669F0 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 80069A94 000669F4 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_80069A98: +/* 80069A98 000669F8 48 32 B1 95 */ bl acos +/* 80069A9C 000669FC FC 40 08 18 */ frsp f2, f1 +/* 80069AA0 00066A00 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 80069AA4 00066A04 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 80069AA8 00066A08 FC 40 12 10 */ fabs f2, f2 +/* 80069AAC 00066A0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80069AB0 00066A10 FC 00 10 18 */ frsp f0, f2 +/* 80069AB4 00066A14 FF E0 00 90 */ fmr f31, f0 +/* 80069AB8 00066A18 40 80 00 08 */ bge lbl_80069AC0 +/* 80069ABC 00066A1C FF E0 00 50 */ fneg f31, f0 +lbl_80069AC0: +/* 80069AC0 00066A20 80 7B 02 98 */ lwz r3, 0x298(r27) +/* 80069AC4 00066A24 28 03 00 00 */ cmplwi r3, 0 +/* 80069AC8 00066A28 41 82 00 3C */ beq lbl_80069B04 +/* 80069ACC 00066A2C 80 9C 08 4C */ lwz r4, 0x84c(r28) +/* 80069AD0 00066A30 FC 20 F8 90 */ fmr f1, f31 +/* 80069AD4 00066A34 81 83 00 00 */ lwz r12, 0(r3) +/* 80069AD8 00066A38 7F C5 F3 78 */ mr r5, r30 +/* 80069ADC 00066A3C A0 E4 03 10 */ lhz r7, 0x310(r4) +/* 80069AE0 00066A40 7F E4 FB 78 */ mr r4, r31 +/* 80069AE4 00066A44 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80069AE8 00066A48 81 8C 00 08 */ lwz r12, 8(r12) +/* 80069AEC 00066A4C 7C C7 00 50 */ subf r6, r7, r0 +/* 80069AF0 00066A50 7C 00 38 50 */ subf r0, r0, r7 +/* 80069AF4 00066A54 7C C0 03 78 */ or r0, r6, r0 +/* 80069AF8 00066A58 54 06 0F FE */ srwi r6, r0, 0x1f +/* 80069AFC 00066A5C 7D 89 03 A6 */ mtctr r12 +/* 80069B00 00066A60 4E 80 04 21 */ bctrl +lbl_80069B04: +/* 80069B04 00066A64 80 1B 05 64 */ lwz r0, 0x564(r27) +/* 80069B08 00066A68 28 00 00 00 */ cmplwi r0, 0 +/* 80069B0C 00066A6C 41 82 00 50 */ beq lbl_80069B5C +/* 80069B10 00066A70 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80069B14 00066A74 C0 02 87 E8 */ lfs f0, lbl_805AA508@sda21(r2) +/* 80069B18 00066A78 C0 23 01 2C */ lfs f1, 0x12c(r3) +/* 80069B1C 00066A7C 88 03 01 30 */ lbz r0, 0x130(r3) +/* 80069B20 00066A80 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80069B24 00066A84 28 00 00 00 */ cmplwi r0, 0 +/* 80069B28 00066A88 EC 21 00 24 */ fdivs f1, f1, f0 +/* 80069B2C 00066A8C 40 82 00 0C */ bne lbl_80069B38 +/* 80069B30 00066A90 FC 00 0A 10 */ fabs f0, f1 +/* 80069B34 00066A94 FC 20 00 18 */ frsp f1, f0 +lbl_80069B38: +/* 80069B38 00066A98 C0 02 87 EC */ lfs f0, lbl_805AA50C@sda21(r2) +/* 80069B3C 00066A9C 38 61 00 08 */ addi r3, r1, 8 +/* 80069B40 00066AA0 80 1B 05 64 */ lwz r0, 0x564(r27) +/* 80069B44 00066AA4 EC 00 08 2A */ fadds f0, f0, f1 +/* 80069B48 00066AA8 90 01 00 08 */ stw r0, 8(r1) +/* 80069B4C 00066AAC FC 00 00 1E */ fctiwz f0, f0 +/* 80069B50 00066AB0 D8 01 00 A0 */ stfd f0, 0xa0(r1) +/* 80069B54 00066AB4 80 81 00 A4 */ lwz r4, 0xa4(r1) +/* 80069B58 00066AB8 48 27 F3 55 */ bl PitchBend__11CSfxManagerF10CSfxHandlei +lbl_80069B5C: +/* 80069B5C 00066ABC E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80069B60 00066AC0 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80069B64 00066AC4 BB 61 00 AC */ lmw r27, 0xac(r1) +/* 80069B68 00066AC8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80069B6C 00066ACC 7C 08 03 A6 */ mtlr r0 +/* 80069B70 00066AD0 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80069B74 00066AD4 4E 80 00 20 */ blr + +.global UpdateVisorAndBeamMenus__9CSamusHudFfRC13CStateManager +UpdateVisorAndBeamMenus__9CSamusHudFfRC13CStateManager: +/* 80069B78 00066AD8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80069B7C 00066ADC 7C 08 02 A6 */ mflr r0 +/* 80069B80 00066AE0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80069B84 00066AE4 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80069B88 00066AE8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80069B8C 00066AEC DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80069B90 00066AF0 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80069B94 00066AF4 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 80069B98 00066AF8 7C 9F 23 78 */ mr r31, r4 +/* 80069B9C 00066AFC 7C 7E 1B 78 */ mr r30, r3 +/* 80069BA0 00066B00 80 C4 08 4C */ lwz r6, 0x84c(r4) +/* 80069BA4 00066B04 38 81 00 08 */ addi r4, r1, 8 +/* 80069BA8 00066B08 38 6D 82 FC */ addi r3, r13, lbl_805A6EBC@sda21 +/* 80069BAC 00066B0C 38 AD 83 00 */ addi r5, r13, lbl_805A6EC0@sda21 +/* 80069BB0 00066B10 80 C6 04 90 */ lwz r6, 0x490(r6) +/* 80069BB4 00066B14 83 A6 03 10 */ lwz r29, 0x310(r6) +/* 80069BB8 00066B18 83 86 03 14 */ lwz r28, 0x314(r6) +/* 80069BBC 00066B1C C0 06 06 90 */ lfs f0, 0x690(r6) +/* 80069BC0 00066B20 D0 01 00 08 */ stfs f0, 8(r1) +/* 80069BC4 00066B24 4B FA 26 F1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80069BC8 00066B28 80 9F 08 B8 */ lwz r4, 0x8b8(r31) +/* 80069BCC 00066B2C C3 E3 00 00 */ lfs f31, 0(r3) +/* 80069BD0 00066B30 80 64 00 00 */ lwz r3, 0(r4) +/* 80069BD4 00066B34 83 63 00 14 */ lwz r27, 0x14(r3) +/* 80069BD8 00066B38 83 43 00 18 */ lwz r26, 0x18(r3) +/* 80069BDC 00066B3C 48 02 7C 89 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 80069BE0 00066B40 80 7E 02 A8 */ lwz r3, 0x2a8(r30) +/* 80069BE4 00066B44 FF C0 08 90 */ fmr f30, f1 +/* 80069BE8 00066B48 28 03 00 00 */ cmplwi r3, 0 +/* 80069BEC 00066B4C 41 82 00 84 */ beq lbl_80069C70 +/* 80069BF0 00066B50 FC 20 F8 90 */ fmr f1, f31 +/* 80069BF4 00066B54 7F A4 EB 78 */ mr r4, r29 +/* 80069BF8 00066B58 7F 85 E3 78 */ mr r5, r28 +/* 80069BFC 00066B5C 48 12 A7 F5 */ bl SetSelection__17CHudVisorBeamMenuFiif +/* 80069C00 00066B60 7F C4 F3 78 */ mr r4, r30 +/* 80069C04 00066B64 7F E5 FB 78 */ mr r5, r31 +/* 80069C08 00066B68 38 61 00 14 */ addi r3, r1, 0x14 +/* 80069C0C 00066B6C 4B FF C2 FD */ bl BuildPlayerHasBeams__9CSamusHudCFRC13CStateManager +/* 80069C10 00066B70 80 7E 02 A8 */ lwz r3, 0x2a8(r30) +/* 80069C14 00066B74 38 81 00 14 */ addi r4, r1, 0x14 +/* 80069C18 00066B78 48 12 A7 5D */ bl "SetPlayerHas__17CHudVisorBeamMenuFRCQ24rstl20reserved_vector" +/* 80069C1C 00066B7C 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80069C20 00066B80 38 60 00 00 */ li r3, 0 +/* 80069C24 00066B84 2C 05 00 00 */ cmpwi r5, 0 +/* 80069C28 00066B88 40 81 00 40 */ ble lbl_80069C68 +/* 80069C2C 00066B8C 2C 05 00 08 */ cmpwi r5, 8 +/* 80069C30 00066B90 38 85 FF F8 */ addi r4, r5, -8 +/* 80069C34 00066B94 40 81 00 20 */ ble lbl_80069C54 +/* 80069C38 00066B98 38 04 00 07 */ addi r0, r4, 7 +/* 80069C3C 00066B9C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80069C40 00066BA0 7C 09 03 A6 */ mtctr r0 +/* 80069C44 00066BA4 2C 04 00 00 */ cmpwi r4, 0 +/* 80069C48 00066BA8 40 81 00 0C */ ble lbl_80069C54 +lbl_80069C4C: +/* 80069C4C 00066BAC 38 63 00 08 */ addi r3, r3, 8 +/* 80069C50 00066BB0 42 00 FF FC */ bdnz lbl_80069C4C +lbl_80069C54: +/* 80069C54 00066BB4 7C 03 28 50 */ subf r0, r3, r5 +/* 80069C58 00066BB8 7C 09 03 A6 */ mtctr r0 +/* 80069C5C 00066BBC 7C 03 28 00 */ cmpw r3, r5 +/* 80069C60 00066BC0 40 80 00 08 */ bge lbl_80069C68 +lbl_80069C64: +/* 80069C64 00066BC4 42 00 00 00 */ bdnz lbl_80069C64 +lbl_80069C68: +/* 80069C68 00066BC8 38 00 00 00 */ li r0, 0 +/* 80069C6C 00066BCC 90 01 00 14 */ stw r0, 0x14(r1) +lbl_80069C70: +/* 80069C70 00066BD0 80 7E 02 A4 */ lwz r3, 0x2a4(r30) +/* 80069C74 00066BD4 28 03 00 00 */ cmplwi r3, 0 +/* 80069C78 00066BD8 41 82 00 84 */ beq lbl_80069CFC +/* 80069C7C 00066BDC FC 20 F0 90 */ fmr f1, f30 +/* 80069C80 00066BE0 7F 64 DB 78 */ mr r4, r27 +/* 80069C84 00066BE4 7F 45 D3 78 */ mr r5, r26 +/* 80069C88 00066BE8 48 12 A7 69 */ bl SetSelection__17CHudVisorBeamMenuFiif +/* 80069C8C 00066BEC 7F C4 F3 78 */ mr r4, r30 +/* 80069C90 00066BF0 7F E5 FB 78 */ mr r5, r31 +/* 80069C94 00066BF4 38 61 00 0C */ addi r3, r1, 0xc +/* 80069C98 00066BF8 4B FF C3 E5 */ bl BuildPlayerHasVisors__9CSamusHudCFRC13CStateManager +/* 80069C9C 00066BFC 80 7E 02 A4 */ lwz r3, 0x2a4(r30) +/* 80069CA0 00066C00 38 81 00 0C */ addi r4, r1, 0xc +/* 80069CA4 00066C04 48 12 A6 D1 */ bl "SetPlayerHas__17CHudVisorBeamMenuFRCQ24rstl20reserved_vector" +/* 80069CA8 00066C08 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80069CAC 00066C0C 38 60 00 00 */ li r3, 0 +/* 80069CB0 00066C10 2C 05 00 00 */ cmpwi r5, 0 +/* 80069CB4 00066C14 40 81 00 40 */ ble lbl_80069CF4 +/* 80069CB8 00066C18 2C 05 00 08 */ cmpwi r5, 8 +/* 80069CBC 00066C1C 38 85 FF F8 */ addi r4, r5, -8 +/* 80069CC0 00066C20 40 81 00 20 */ ble lbl_80069CE0 +/* 80069CC4 00066C24 38 04 00 07 */ addi r0, r4, 7 +/* 80069CC8 00066C28 54 00 E8 FE */ srwi r0, r0, 3 +/* 80069CCC 00066C2C 7C 09 03 A6 */ mtctr r0 +/* 80069CD0 00066C30 2C 04 00 00 */ cmpwi r4, 0 +/* 80069CD4 00066C34 40 81 00 0C */ ble lbl_80069CE0 +lbl_80069CD8: +/* 80069CD8 00066C38 38 63 00 08 */ addi r3, r3, 8 +/* 80069CDC 00066C3C 42 00 FF FC */ bdnz lbl_80069CD8 +lbl_80069CE0: +/* 80069CE0 00066C40 7C 03 28 50 */ subf r0, r3, r5 +/* 80069CE4 00066C44 7C 09 03 A6 */ mtctr r0 +/* 80069CE8 00066C48 7C 03 28 00 */ cmpw r3, r5 +/* 80069CEC 00066C4C 40 80 00 08 */ bge lbl_80069CF4 +lbl_80069CF0: +/* 80069CF0 00066C50 42 00 00 00 */ bdnz lbl_80069CF0 +lbl_80069CF4: +/* 80069CF4 00066C54 38 00 00 00 */ li r0, 0 +/* 80069CF8 00066C58 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80069CFC: +/* 80069CFC 00066C5C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80069D00 00066C60 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80069D04 00066C64 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80069D08 00066C68 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80069D0C 00066C6C BB 41 00 28 */ lmw r26, 0x28(r1) +/* 80069D10 00066C70 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80069D14 00066C74 7C 08 03 A6 */ mtlr r0 +/* 80069D18 00066C78 38 21 00 60 */ addi r1, r1, 0x60 +/* 80069D1C 00066C7C 4E 80 00 20 */ blr + +.global CheckLoadComplete__9CSamusHudFRC13CStateManager +CheckLoadComplete__9CSamusHudFRC13CStateManager: +/* 80069D20 00066C80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80069D24 00066C84 7C 08 02 A6 */ mflr r0 +/* 80069D28 00066C88 90 01 00 14 */ stw r0, 0x14(r1) +/* 80069D2C 00066C8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80069D30 00066C90 7C 9F 23 78 */ mr r31, r4 +/* 80069D34 00066C94 93 C1 00 08 */ stw r30, 8(r1) +/* 80069D38 00066C98 7C 7E 1B 78 */ mr r30, r3 +/* 80069D3C 00066C9C 80 03 00 04 */ lwz r0, 4(r3) +/* 80069D40 00066CA0 2C 00 00 02 */ cmpwi r0, 2 +/* 80069D44 00066CA4 41 82 00 78 */ beq lbl_80069DBC +/* 80069D48 00066CA8 40 80 00 14 */ bge lbl_80069D5C +/* 80069D4C 00066CAC 2C 00 00 00 */ cmpwi r0, 0 +/* 80069D50 00066CB0 41 82 00 18 */ beq lbl_80069D68 +/* 80069D54 00066CB4 40 80 00 38 */ bge lbl_80069D8C +/* 80069D58 00066CB8 48 00 00 A0 */ b lbl_80069DF8 +lbl_80069D5C: +/* 80069D5C 00066CBC 2C 00 00 04 */ cmpwi r0, 4 +/* 80069D60 00066CC0 40 80 00 98 */ bge lbl_80069DF8 +/* 80069D64 00066CC4 48 00 00 8C */ b lbl_80069DF0 +lbl_80069D68: +/* 80069D68 00066CC8 38 7E 00 08 */ addi r3, r30, 8 +/* 80069D6C 00066CCC 48 05 30 4D */ bl CheckLoadComplete__17CTargetingManagerFv +/* 80069D70 00066CD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80069D74 00066CD4 41 82 00 10 */ beq lbl_80069D84 +/* 80069D78 00066CD8 38 00 00 01 */ li r0, 1 +/* 80069D7C 00066CDC 90 1E 00 04 */ stw r0, 4(r30) +/* 80069D80 00066CE0 48 00 00 0C */ b lbl_80069D8C +lbl_80069D84: +/* 80069D84 00066CE4 38 60 00 00 */ li r3, 0 +/* 80069D88 00066CE8 48 00 00 74 */ b lbl_80069DFC +lbl_80069D8C: +/* 80069D8C 00066CEC C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 80069D90 00066CF0 7F C3 F3 78 */ mr r3, r30 +/* 80069D94 00066CF4 7F E4 FB 78 */ mr r4, r31 +/* 80069D98 00066CF8 4B FF D3 35 */ bl UpdateStateTransition__9CSamusHudFfRC13CStateManager +/* 80069D9C 00066CFC 80 7E 02 BC */ lwz r3, 0x2bc(r30) +/* 80069DA0 00066D00 80 1E 02 C0 */ lwz r0, 0x2c0(r30) +/* 80069DA4 00066D04 7C 03 00 00 */ cmpw r3, r0 +/* 80069DA8 00066D08 41 82 00 0C */ beq lbl_80069DB4 +/* 80069DAC 00066D0C 38 60 00 00 */ li r3, 0 +/* 80069DB0 00066D10 48 00 00 4C */ b lbl_80069DFC +lbl_80069DB4: +/* 80069DB4 00066D14 38 00 00 02 */ li r0, 2 +/* 80069DB8 00066D18 90 1E 00 04 */ stw r0, 4(r30) +lbl_80069DBC: +/* 80069DBC 00066D1C 80 7E 02 64 */ lwz r3, 0x264(r30) +/* 80069DC0 00066D20 48 25 87 91 */ bl GetIsFinishedLoading__9CGuiFrameCFv +/* 80069DC4 00066D24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80069DC8 00066D28 41 82 00 20 */ beq lbl_80069DE8 +/* 80069DCC 00066D2C 80 7E 02 74 */ lwz r3, 0x274(r30) +/* 80069DD0 00066D30 48 25 87 81 */ bl GetIsFinishedLoading__9CGuiFrameCFv +/* 80069DD4 00066D34 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80069DD8 00066D38 41 82 00 10 */ beq lbl_80069DE8 +/* 80069DDC 00066D3C 38 00 00 03 */ li r0, 3 +/* 80069DE0 00066D40 90 1E 00 04 */ stw r0, 4(r30) +/* 80069DE4 00066D44 48 00 00 0C */ b lbl_80069DF0 +lbl_80069DE8: +/* 80069DE8 00066D48 38 60 00 00 */ li r3, 0 +/* 80069DEC 00066D4C 48 00 00 10 */ b lbl_80069DFC +lbl_80069DF0: +/* 80069DF0 00066D50 38 60 00 01 */ li r3, 1 +/* 80069DF4 00066D54 48 00 00 08 */ b lbl_80069DFC +lbl_80069DF8: +/* 80069DF8 00066D58 38 60 00 00 */ li r3, 0 +lbl_80069DFC: +/* 80069DFC 00066D5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80069E00 00066D60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80069E04 00066D64 83 C1 00 08 */ lwz r30, 8(r1) +/* 80069E08 00066D68 7C 08 03 A6 */ mtlr r0 +/* 80069E0C 00066D6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80069E10 00066D70 4E 80 00 20 */ blr + +.global __dt__9CSamusHudFv +__dt__9CSamusHudFv: +/* 80069E14 00066D74 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80069E18 00066D78 7C 08 02 A6 */ mflr r0 +/* 80069E1C 00066D7C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80069E20 00066D80 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80069E24 00066D84 7C 9F 23 78 */ mr r31, r4 +/* 80069E28 00066D88 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80069E2C 00066D8C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80069E30 00066D90 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80069E34 00066D94 41 82 06 28 */ beq lbl_8006A45C +/* 80069E38 00066D98 3C 60 80 3E */ lis r3, lbl_803DA298@ha +/* 80069E3C 00066D9C 38 03 A2 98 */ addi r0, r3, lbl_803DA298@l +/* 80069E40 00066DA0 90 1E 00 00 */ stw r0, 0(r30) +/* 80069E44 00066DA4 80 1E 03 A4 */ lwz r0, 0x3a4(r30) +/* 80069E48 00066DA8 28 00 00 00 */ cmplwi r0, 0 +/* 80069E4C 00066DAC 41 82 00 14 */ beq lbl_80069E60 +/* 80069E50 00066DB0 80 1E 03 A4 */ lwz r0, 0x3a4(r30) +/* 80069E54 00066DB4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80069E58 00066DB8 90 01 00 18 */ stw r0, 0x18(r1) +/* 80069E5C 00066DBC 48 28 00 29 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +lbl_80069E60: +/* 80069E60 00066DC0 38 60 00 00 */ li r3, 0 +/* 80069E64 00066DC4 34 1E 07 AC */ addic. r0, r30, 0x7ac +/* 80069E68 00066DC8 90 6D A2 28 */ stw r3, lbl_805A8DE8@sda21(r13) +/* 80069E6C 00066DCC 41 82 00 54 */ beq lbl_80069EC0 +/* 80069E70 00066DD0 80 BE 07 AC */ lwz r5, 0x7ac(r30) +/* 80069E74 00066DD4 2C 05 00 00 */ cmpwi r5, 0 +/* 80069E78 00066DD8 40 81 00 40 */ ble lbl_80069EB8 +/* 80069E7C 00066DDC 2C 05 00 08 */ cmpwi r5, 8 +/* 80069E80 00066DE0 38 85 FF F8 */ addi r4, r5, -8 +/* 80069E84 00066DE4 40 81 00 20 */ ble lbl_80069EA4 +/* 80069E88 00066DE8 38 04 00 07 */ addi r0, r4, 7 +/* 80069E8C 00066DEC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80069E90 00066DF0 7C 09 03 A6 */ mtctr r0 +/* 80069E94 00066DF4 2C 04 00 00 */ cmpwi r4, 0 +/* 80069E98 00066DF8 40 81 00 0C */ ble lbl_80069EA4 +lbl_80069E9C: +/* 80069E9C 00066DFC 38 63 00 08 */ addi r3, r3, 8 +/* 80069EA0 00066E00 42 00 FF FC */ bdnz lbl_80069E9C +lbl_80069EA4: +/* 80069EA4 00066E04 7C 03 28 50 */ subf r0, r3, r5 +/* 80069EA8 00066E08 7C 09 03 A6 */ mtctr r0 +/* 80069EAC 00066E0C 7C 03 28 00 */ cmpw r3, r5 +/* 80069EB0 00066E10 40 80 00 08 */ bge lbl_80069EB8 +lbl_80069EB4: +/* 80069EB4 00066E14 42 00 00 00 */ bdnz lbl_80069EB4 +lbl_80069EB8: +/* 80069EB8 00066E18 38 00 00 00 */ li r0, 0 +/* 80069EBC 00066E1C 90 1E 07 AC */ stw r0, 0x7ac(r30) +lbl_80069EC0: +/* 80069EC0 00066E20 34 1E 05 D8 */ addic. r0, r30, 0x5d8 +/* 80069EC4 00066E24 41 82 00 58 */ beq lbl_80069F1C +/* 80069EC8 00066E28 80 BE 05 D8 */ lwz r5, 0x5d8(r30) +/* 80069ECC 00066E2C 38 60 00 00 */ li r3, 0 +/* 80069ED0 00066E30 2C 05 00 00 */ cmpwi r5, 0 +/* 80069ED4 00066E34 40 81 00 40 */ ble lbl_80069F14 +/* 80069ED8 00066E38 2C 05 00 08 */ cmpwi r5, 8 +/* 80069EDC 00066E3C 38 85 FF F8 */ addi r4, r5, -8 +/* 80069EE0 00066E40 40 81 00 20 */ ble lbl_80069F00 +/* 80069EE4 00066E44 38 04 00 07 */ addi r0, r4, 7 +/* 80069EE8 00066E48 54 00 E8 FE */ srwi r0, r0, 3 +/* 80069EEC 00066E4C 7C 09 03 A6 */ mtctr r0 +/* 80069EF0 00066E50 2C 04 00 00 */ cmpwi r4, 0 +/* 80069EF4 00066E54 40 81 00 0C */ ble lbl_80069F00 +lbl_80069EF8: +/* 80069EF8 00066E58 38 63 00 08 */ addi r3, r3, 8 +/* 80069EFC 00066E5C 42 00 FF FC */ bdnz lbl_80069EF8 +lbl_80069F00: +/* 80069F00 00066E60 7C 03 28 50 */ subf r0, r3, r5 +/* 80069F04 00066E64 7C 09 03 A6 */ mtctr r0 +/* 80069F08 00066E68 7C 03 28 00 */ cmpw r3, r5 +/* 80069F0C 00066E6C 40 80 00 08 */ bge lbl_80069F14 +lbl_80069F10: +/* 80069F10 00066E70 42 00 00 00 */ bdnz lbl_80069F10 +lbl_80069F14: +/* 80069F14 00066E74 38 00 00 00 */ li r0, 0 +/* 80069F18 00066E78 90 1E 05 D8 */ stw r0, 0x5d8(r30) +lbl_80069F1C: +/* 80069F1C 00066E7C 34 1E 05 A4 */ addic. r0, r30, 0x5a4 +/* 80069F20 00066E80 41 82 00 58 */ beq lbl_80069F78 +/* 80069F24 00066E84 80 BE 05 A4 */ lwz r5, 0x5a4(r30) +/* 80069F28 00066E88 38 60 00 00 */ li r3, 0 +/* 80069F2C 00066E8C 2C 05 00 00 */ cmpwi r5, 0 +/* 80069F30 00066E90 40 81 00 40 */ ble lbl_80069F70 +/* 80069F34 00066E94 2C 05 00 08 */ cmpwi r5, 8 +/* 80069F38 00066E98 38 85 FF F8 */ addi r4, r5, -8 +/* 80069F3C 00066E9C 40 81 00 20 */ ble lbl_80069F5C +/* 80069F40 00066EA0 38 04 00 07 */ addi r0, r4, 7 +/* 80069F44 00066EA4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80069F48 00066EA8 7C 09 03 A6 */ mtctr r0 +/* 80069F4C 00066EAC 2C 04 00 00 */ cmpwi r4, 0 +/* 80069F50 00066EB0 40 81 00 0C */ ble lbl_80069F5C +lbl_80069F54: +/* 80069F54 00066EB4 38 63 00 08 */ addi r3, r3, 8 +/* 80069F58 00066EB8 42 00 FF FC */ bdnz lbl_80069F54 +lbl_80069F5C: +/* 80069F5C 00066EBC 7C 03 28 50 */ subf r0, r3, r5 +/* 80069F60 00066EC0 7C 09 03 A6 */ mtctr r0 +/* 80069F64 00066EC4 7C 03 28 00 */ cmpw r3, r5 +/* 80069F68 00066EC8 40 80 00 08 */ bge lbl_80069F70 +lbl_80069F6C: +/* 80069F6C 00066ECC 42 00 00 00 */ bdnz lbl_80069F6C +lbl_80069F70: +/* 80069F70 00066ED0 38 00 00 00 */ li r0, 0 +/* 80069F74 00066ED4 90 1E 05 A4 */ stw r0, 0x5a4(r30) +lbl_80069F78: +/* 80069F78 00066ED8 34 1E 05 50 */ addic. r0, r30, 0x550 +/* 80069F7C 00066EDC 41 82 00 24 */ beq lbl_80069FA0 +/* 80069F80 00066EE0 83 BE 05 50 */ lwz r29, 0x550(r30) +/* 80069F84 00066EE4 28 1D 00 00 */ cmplwi r29, 0 +/* 80069F88 00066EE8 41 82 00 18 */ beq lbl_80069FA0 +/* 80069F8C 00066EEC 7F A3 EB 78 */ mr r3, r29 +/* 80069F90 00066EF0 38 80 00 00 */ li r4, 0 +/* 80069F94 00066EF4 48 2D 6E AD */ bl __dt__6CTokenFv +/* 80069F98 00066EF8 7F A3 EB 78 */ mr r3, r29 +/* 80069F9C 00066EFC 48 2A B9 95 */ bl Free__7CMemoryFPCv +lbl_80069FA0: +/* 80069FA0 00066F00 34 1E 05 1C */ addic. r0, r30, 0x51c +/* 80069FA4 00066F04 41 82 00 3C */ beq lbl_80069FE0 +/* 80069FA8 00066F08 34 1E 05 40 */ addic. r0, r30, 0x540 +/* 80069FAC 00066F0C 41 82 00 34 */ beq lbl_80069FE0 +/* 80069FB0 00066F10 88 1E 05 40 */ lbz r0, 0x540(r30) +/* 80069FB4 00066F14 28 00 00 00 */ cmplwi r0, 0 +/* 80069FB8 00066F18 41 82 00 28 */ beq lbl_80069FE0 +/* 80069FBC 00066F1C 83 BE 05 44 */ lwz r29, 0x544(r30) +/* 80069FC0 00066F20 28 1D 00 00 */ cmplwi r29, 0 +/* 80069FC4 00066F24 41 82 00 1C */ beq lbl_80069FE0 +/* 80069FC8 00066F28 41 82 00 10 */ beq lbl_80069FD8 +/* 80069FCC 00066F2C 7F A3 EB 78 */ mr r3, r29 +/* 80069FD0 00066F30 38 80 00 00 */ li r4, 0 +/* 80069FD4 00066F34 48 2D 6E 6D */ bl __dt__6CTokenFv +lbl_80069FD8: +/* 80069FD8 00066F38 7F A3 EB 78 */ mr r3, r29 +/* 80069FDC 00066F3C 48 2A B9 55 */ bl Free__7CMemoryFPCv +lbl_80069FE0: +/* 80069FE0 00066F40 34 1E 04 6C */ addic. r0, r30, 0x46c +/* 80069FE4 00066F44 41 82 00 58 */ beq lbl_8006A03C +/* 80069FE8 00066F48 80 BE 04 6C */ lwz r5, 0x46c(r30) +/* 80069FEC 00066F4C 38 60 00 00 */ li r3, 0 +/* 80069FF0 00066F50 2C 05 00 00 */ cmpwi r5, 0 +/* 80069FF4 00066F54 40 81 00 40 */ ble lbl_8006A034 +/* 80069FF8 00066F58 2C 05 00 08 */ cmpwi r5, 8 +/* 80069FFC 00066F5C 38 85 FF F8 */ addi r4, r5, -8 +/* 8006A000 00066F60 40 81 00 20 */ ble lbl_8006A020 +/* 8006A004 00066F64 38 04 00 07 */ addi r0, r4, 7 +/* 8006A008 00066F68 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006A00C 00066F6C 7C 09 03 A6 */ mtctr r0 +/* 8006A010 00066F70 2C 04 00 00 */ cmpwi r4, 0 +/* 8006A014 00066F74 40 81 00 0C */ ble lbl_8006A020 +lbl_8006A018: +/* 8006A018 00066F78 38 63 00 08 */ addi r3, r3, 8 +/* 8006A01C 00066F7C 42 00 FF FC */ bdnz lbl_8006A018 +lbl_8006A020: +/* 8006A020 00066F80 7C 03 28 50 */ subf r0, r3, r5 +/* 8006A024 00066F84 7C 09 03 A6 */ mtctr r0 +/* 8006A028 00066F88 7C 03 28 00 */ cmpw r3, r5 +/* 8006A02C 00066F8C 40 80 00 08 */ bge lbl_8006A034 +lbl_8006A030: +/* 8006A030 00066F90 42 00 00 00 */ bdnz lbl_8006A030 +lbl_8006A034: +/* 8006A034 00066F94 38 00 00 00 */ li r0, 0 +/* 8006A038 00066F98 90 1E 04 6C */ stw r0, 0x46c(r30) +lbl_8006A03C: +/* 8006A03C 00066F9C 34 1E 03 D8 */ addic. r0, r30, 0x3d8 +/* 8006A040 00066FA0 41 82 00 44 */ beq lbl_8006A084 +/* 8006A044 00066FA4 80 1E 03 DC */ lwz r0, 0x3dc(r30) +/* 8006A048 00066FA8 80 7E 03 E4 */ lwz r3, 0x3e4(r30) +/* 8006A04C 00066FAC 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006A050 00066FB0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8006A054 00066FB4 7C 64 1B 78 */ mr r4, r3 +/* 8006A058 00066FB8 7C 03 02 14 */ add r0, r3, r0 +/* 8006A05C 00066FBC 90 61 00 08 */ stw r3, 8(r1) +/* 8006A060 00066FC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006A064 00066FC4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8006A068 00066FC8 48 00 00 08 */ b lbl_8006A070 +lbl_8006A06C: +/* 8006A06C 00066FCC 38 84 00 30 */ addi r4, r4, 0x30 +lbl_8006A070: +/* 8006A070 00066FD0 7C 04 00 40 */ cmplw r4, r0 +/* 8006A074 00066FD4 40 82 FF F8 */ bne lbl_8006A06C +/* 8006A078 00066FD8 28 03 00 00 */ cmplwi r3, 0 +/* 8006A07C 00066FDC 41 82 00 08 */ beq lbl_8006A084 +/* 8006A080 00066FE0 48 2A B8 B1 */ bl Free__7CMemoryFPCv +lbl_8006A084: +/* 8006A084 00066FE4 34 1E 03 A8 */ addic. r0, r30, 0x3a8 +/* 8006A088 00066FE8 41 82 00 3C */ beq lbl_8006A0C4 +/* 8006A08C 00066FEC 34 1E 03 CC */ addic. r0, r30, 0x3cc +/* 8006A090 00066FF0 41 82 00 34 */ beq lbl_8006A0C4 +/* 8006A094 00066FF4 88 1E 03 CC */ lbz r0, 0x3cc(r30) +/* 8006A098 00066FF8 28 00 00 00 */ cmplwi r0, 0 +/* 8006A09C 00066FFC 41 82 00 28 */ beq lbl_8006A0C4 +/* 8006A0A0 00067000 83 BE 03 D0 */ lwz r29, 0x3d0(r30) +/* 8006A0A4 00067004 28 1D 00 00 */ cmplwi r29, 0 +/* 8006A0A8 00067008 41 82 00 1C */ beq lbl_8006A0C4 +/* 8006A0AC 0006700C 41 82 00 10 */ beq lbl_8006A0BC +/* 8006A0B0 00067010 7F A3 EB 78 */ mr r3, r29 +/* 8006A0B4 00067014 38 80 00 00 */ li r4, 0 +/* 8006A0B8 00067018 48 2D 6D 89 */ bl __dt__6CTokenFv +lbl_8006A0BC: +/* 8006A0BC 0006701C 7F A3 EB 78 */ mr r3, r29 +/* 8006A0C0 00067020 48 2A B8 71 */ bl Free__7CMemoryFPCv +lbl_8006A0C4: +/* 8006A0C4 00067024 34 1E 03 40 */ addic. r0, r30, 0x340 +/* 8006A0C8 00067028 41 82 00 58 */ beq lbl_8006A120 +/* 8006A0CC 0006702C 80 BE 03 40 */ lwz r5, 0x340(r30) +/* 8006A0D0 00067030 38 60 00 00 */ li r3, 0 +/* 8006A0D4 00067034 2C 05 00 00 */ cmpwi r5, 0 +/* 8006A0D8 00067038 40 81 00 40 */ ble lbl_8006A118 +/* 8006A0DC 0006703C 2C 05 00 08 */ cmpwi r5, 8 +/* 8006A0E0 00067040 38 85 FF F8 */ addi r4, r5, -8 +/* 8006A0E4 00067044 40 81 00 20 */ ble lbl_8006A104 +/* 8006A0E8 00067048 38 04 00 07 */ addi r0, r4, 7 +/* 8006A0EC 0006704C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006A0F0 00067050 7C 09 03 A6 */ mtctr r0 +/* 8006A0F4 00067054 2C 04 00 00 */ cmpwi r4, 0 +/* 8006A0F8 00067058 40 81 00 0C */ ble lbl_8006A104 +lbl_8006A0FC: +/* 8006A0FC 0006705C 38 63 00 08 */ addi r3, r3, 8 +/* 8006A100 00067060 42 00 FF FC */ bdnz lbl_8006A0FC +lbl_8006A104: +/* 8006A104 00067064 7C 03 28 50 */ subf r0, r3, r5 +/* 8006A108 00067068 7C 09 03 A6 */ mtctr r0 +/* 8006A10C 0006706C 7C 03 28 00 */ cmpw r3, r5 +/* 8006A110 00067070 40 80 00 08 */ bge lbl_8006A118 +lbl_8006A114: +/* 8006A114 00067074 42 00 00 00 */ bdnz lbl_8006A114 +lbl_8006A118: +/* 8006A118 00067078 38 00 00 00 */ li r0, 0 +/* 8006A11C 0006707C 90 1E 03 40 */ stw r0, 0x340(r30) +lbl_8006A120: +/* 8006A120 00067080 34 1E 03 3C */ addic. r0, r30, 0x33c +/* 8006A124 00067084 41 82 00 10 */ beq lbl_8006A134 +/* 8006A128 00067088 80 7E 03 3C */ lwz r3, 0x33c(r30) +/* 8006A12C 0006708C 38 80 00 01 */ li r4, 1 +/* 8006A130 00067090 48 09 AF A5 */ bl __dt__12CActorLightsFv +lbl_8006A134: +/* 8006A134 00067094 34 1E 02 B4 */ addic. r0, r30, 0x2b4 +/* 8006A138 00067098 41 82 00 0C */ beq lbl_8006A144 +/* 8006A13C 0006709C 80 7E 02 B4 */ lwz r3, 0x2b4(r30) +/* 8006A140 000670A0 48 2A B7 F1 */ bl Free__7CMemoryFPCv +lbl_8006A144: +/* 8006A144 000670A4 34 1E 02 B0 */ addic. r0, r30, 0x2b0 +/* 8006A148 000670A8 41 82 00 CC */ beq lbl_8006A214 +/* 8006A14C 000670AC 80 7E 02 B0 */ lwz r3, 0x2b0(r30) +/* 8006A150 000670B0 28 03 00 00 */ cmplwi r3, 0 +/* 8006A154 000670B4 41 82 00 C0 */ beq lbl_8006A214 +/* 8006A158 000670B8 34 03 00 24 */ addic. r0, r3, 0x24 +/* 8006A15C 000670BC 41 82 00 58 */ beq lbl_8006A1B4 +/* 8006A160 000670C0 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 8006A164 000670C4 38 80 00 00 */ li r4, 0 +/* 8006A168 000670C8 2C 06 00 00 */ cmpwi r6, 0 +/* 8006A16C 000670CC 40 81 00 40 */ ble lbl_8006A1AC +/* 8006A170 000670D0 2C 06 00 08 */ cmpwi r6, 8 +/* 8006A174 000670D4 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006A178 000670D8 40 81 00 20 */ ble lbl_8006A198 +/* 8006A17C 000670DC 38 05 00 07 */ addi r0, r5, 7 +/* 8006A180 000670E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006A184 000670E4 7C 09 03 A6 */ mtctr r0 +/* 8006A188 000670E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8006A18C 000670EC 40 81 00 0C */ ble lbl_8006A198 +lbl_8006A190: +/* 8006A190 000670F0 38 84 00 08 */ addi r4, r4, 8 +/* 8006A194 000670F4 42 00 FF FC */ bdnz lbl_8006A190 +lbl_8006A198: +/* 8006A198 000670F8 7C 04 30 50 */ subf r0, r4, r6 +/* 8006A19C 000670FC 7C 09 03 A6 */ mtctr r0 +/* 8006A1A0 00067100 7C 04 30 00 */ cmpw r4, r6 +/* 8006A1A4 00067104 40 80 00 08 */ bge lbl_8006A1AC +lbl_8006A1A8: +/* 8006A1A8 00067108 42 00 00 00 */ bdnz lbl_8006A1A8 +lbl_8006A1AC: +/* 8006A1AC 0006710C 38 00 00 00 */ li r0, 0 +/* 8006A1B0 00067110 90 03 00 24 */ stw r0, 0x24(r3) +lbl_8006A1B4: +/* 8006A1B4 00067114 34 03 00 14 */ addic. r0, r3, 0x14 +/* 8006A1B8 00067118 41 82 00 58 */ beq lbl_8006A210 +/* 8006A1BC 0006711C 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 8006A1C0 00067120 38 80 00 00 */ li r4, 0 +/* 8006A1C4 00067124 2C 06 00 00 */ cmpwi r6, 0 +/* 8006A1C8 00067128 40 81 00 40 */ ble lbl_8006A208 +/* 8006A1CC 0006712C 2C 06 00 08 */ cmpwi r6, 8 +/* 8006A1D0 00067130 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006A1D4 00067134 40 81 00 20 */ ble lbl_8006A1F4 +/* 8006A1D8 00067138 38 05 00 07 */ addi r0, r5, 7 +/* 8006A1DC 0006713C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006A1E0 00067140 7C 09 03 A6 */ mtctr r0 +/* 8006A1E4 00067144 2C 05 00 00 */ cmpwi r5, 0 +/* 8006A1E8 00067148 40 81 00 0C */ ble lbl_8006A1F4 +lbl_8006A1EC: +/* 8006A1EC 0006714C 38 84 00 08 */ addi r4, r4, 8 +/* 8006A1F0 00067150 42 00 FF FC */ bdnz lbl_8006A1EC +lbl_8006A1F4: +/* 8006A1F4 00067154 7C 04 30 50 */ subf r0, r4, r6 +/* 8006A1F8 00067158 7C 09 03 A6 */ mtctr r0 +/* 8006A1FC 0006715C 7C 04 30 00 */ cmpw r4, r6 +/* 8006A200 00067160 40 80 00 08 */ bge lbl_8006A208 +lbl_8006A204: +/* 8006A204 00067164 42 00 00 00 */ bdnz lbl_8006A204 +lbl_8006A208: +/* 8006A208 00067168 38 00 00 00 */ li r0, 0 +/* 8006A20C 0006716C 90 03 00 14 */ stw r0, 0x14(r3) +lbl_8006A210: +/* 8006A210 00067170 48 2A B7 21 */ bl Free__7CMemoryFPCv +lbl_8006A214: +/* 8006A214 00067174 34 1E 02 AC */ addic. r0, r30, 0x2ac +/* 8006A218 00067178 41 82 00 2C */ beq lbl_8006A244 +/* 8006A21C 0006717C 83 BE 02 AC */ lwz r29, 0x2ac(r30) +/* 8006A220 00067180 28 1D 00 00 */ cmplwi r29, 0 +/* 8006A224 00067184 41 82 00 20 */ beq lbl_8006A244 +/* 8006A228 00067188 41 82 00 14 */ beq lbl_8006A23C +/* 8006A22C 0006718C 41 82 00 10 */ beq lbl_8006A23C +/* 8006A230 00067190 7F A3 EB 78 */ mr r3, r29 +/* 8006A234 00067194 38 80 00 00 */ li r4, 0 +/* 8006A238 00067198 48 2D 6C 09 */ bl __dt__6CTokenFv +lbl_8006A23C: +/* 8006A23C 0006719C 7F A3 EB 78 */ mr r3, r29 +/* 8006A240 000671A0 48 2A B6 F1 */ bl Free__7CMemoryFPCv +lbl_8006A244: +/* 8006A244 000671A4 34 1E 02 A8 */ addic. r0, r30, 0x2a8 +/* 8006A248 000671A8 41 82 00 70 */ beq lbl_8006A2B8 +/* 8006A24C 000671AC 80 7E 02 A8 */ lwz r3, 0x2a8(r30) +/* 8006A250 000671B0 28 03 00 00 */ cmplwi r3, 0 +/* 8006A254 000671B4 41 82 00 64 */ beq lbl_8006A2B8 +/* 8006A258 000671B8 34 03 00 28 */ addic. r0, r3, 0x28 +/* 8006A25C 000671BC 41 82 00 58 */ beq lbl_8006A2B4 +/* 8006A260 000671C0 80 C3 00 28 */ lwz r6, 0x28(r3) +/* 8006A264 000671C4 38 80 00 00 */ li r4, 0 +/* 8006A268 000671C8 2C 06 00 00 */ cmpwi r6, 0 +/* 8006A26C 000671CC 40 81 00 40 */ ble lbl_8006A2AC +/* 8006A270 000671D0 2C 06 00 08 */ cmpwi r6, 8 +/* 8006A274 000671D4 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006A278 000671D8 40 81 00 20 */ ble lbl_8006A298 +/* 8006A27C 000671DC 38 05 00 07 */ addi r0, r5, 7 +/* 8006A280 000671E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006A284 000671E4 7C 09 03 A6 */ mtctr r0 +/* 8006A288 000671E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8006A28C 000671EC 40 81 00 0C */ ble lbl_8006A298 +lbl_8006A290: +/* 8006A290 000671F0 38 84 00 08 */ addi r4, r4, 8 +/* 8006A294 000671F4 42 00 FF FC */ bdnz lbl_8006A290 +lbl_8006A298: +/* 8006A298 000671F8 7C 04 30 50 */ subf r0, r4, r6 +/* 8006A29C 000671FC 7C 09 03 A6 */ mtctr r0 +/* 8006A2A0 00067200 7C 04 30 00 */ cmpw r4, r6 +/* 8006A2A4 00067204 40 80 00 08 */ bge lbl_8006A2AC +lbl_8006A2A8: +/* 8006A2A8 00067208 42 00 00 00 */ bdnz lbl_8006A2A8 +lbl_8006A2AC: +/* 8006A2AC 0006720C 38 00 00 00 */ li r0, 0 +/* 8006A2B0 00067210 90 03 00 28 */ stw r0, 0x28(r3) +lbl_8006A2B4: +/* 8006A2B4 00067214 48 2A B6 7D */ bl Free__7CMemoryFPCv +lbl_8006A2B8: +/* 8006A2B8 00067218 34 1E 02 A4 */ addic. r0, r30, 0x2a4 +/* 8006A2BC 0006721C 41 82 00 70 */ beq lbl_8006A32C +/* 8006A2C0 00067220 80 7E 02 A4 */ lwz r3, 0x2a4(r30) +/* 8006A2C4 00067224 28 03 00 00 */ cmplwi r3, 0 +/* 8006A2C8 00067228 41 82 00 64 */ beq lbl_8006A32C +/* 8006A2CC 0006722C 34 03 00 28 */ addic. r0, r3, 0x28 +/* 8006A2D0 00067230 41 82 00 58 */ beq lbl_8006A328 +/* 8006A2D4 00067234 80 C3 00 28 */ lwz r6, 0x28(r3) +/* 8006A2D8 00067238 38 80 00 00 */ li r4, 0 +/* 8006A2DC 0006723C 2C 06 00 00 */ cmpwi r6, 0 +/* 8006A2E0 00067240 40 81 00 40 */ ble lbl_8006A320 +/* 8006A2E4 00067244 2C 06 00 08 */ cmpwi r6, 8 +/* 8006A2E8 00067248 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006A2EC 0006724C 40 81 00 20 */ ble lbl_8006A30C +/* 8006A2F0 00067250 38 05 00 07 */ addi r0, r5, 7 +/* 8006A2F4 00067254 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006A2F8 00067258 7C 09 03 A6 */ mtctr r0 +/* 8006A2FC 0006725C 2C 05 00 00 */ cmpwi r5, 0 +/* 8006A300 00067260 40 81 00 0C */ ble lbl_8006A30C +lbl_8006A304: +/* 8006A304 00067264 38 84 00 08 */ addi r4, r4, 8 +/* 8006A308 00067268 42 00 FF FC */ bdnz lbl_8006A304 +lbl_8006A30C: +/* 8006A30C 0006726C 7C 04 30 50 */ subf r0, r4, r6 +/* 8006A310 00067270 7C 09 03 A6 */ mtctr r0 +/* 8006A314 00067274 7C 04 30 00 */ cmpw r4, r6 +/* 8006A318 00067278 40 80 00 08 */ bge lbl_8006A320 +lbl_8006A31C: +/* 8006A31C 0006727C 42 00 00 00 */ bdnz lbl_8006A31C +lbl_8006A320: +/* 8006A320 00067280 38 00 00 00 */ li r0, 0 +/* 8006A324 00067284 90 03 00 28 */ stw r0, 0x28(r3) +lbl_8006A328: +/* 8006A328 00067288 48 2A B6 09 */ bl Free__7CMemoryFPCv +lbl_8006A32C: +/* 8006A32C 0006728C 34 1E 02 A0 */ addic. r0, r30, 0x2a0 +/* 8006A330 00067290 41 82 00 0C */ beq lbl_8006A33C +/* 8006A334 00067294 80 7E 02 A0 */ lwz r3, 0x2a0(r30) +/* 8006A338 00067298 48 2A B5 F9 */ bl Free__7CMemoryFPCv +lbl_8006A33C: +/* 8006A33C 0006729C 34 1E 02 9C */ addic. r0, r30, 0x29c +/* 8006A340 000672A0 41 82 00 24 */ beq lbl_8006A364 +/* 8006A344 000672A4 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 8006A348 000672A8 28 03 00 00 */ cmplwi r3, 0 +/* 8006A34C 000672AC 41 82 00 18 */ beq lbl_8006A364 +/* 8006A350 000672B0 81 83 00 00 */ lwz r12, 0(r3) +/* 8006A354 000672B4 38 80 00 01 */ li r4, 1 +/* 8006A358 000672B8 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8006A35C 000672BC 7D 89 03 A6 */ mtctr r12 +/* 8006A360 000672C0 4E 80 04 21 */ bctrl +lbl_8006A364: +/* 8006A364 000672C4 34 1E 02 98 */ addic. r0, r30, 0x298 +/* 8006A368 000672C8 41 82 00 24 */ beq lbl_8006A38C +/* 8006A36C 000672CC 80 7E 02 98 */ lwz r3, 0x298(r30) +/* 8006A370 000672D0 28 03 00 00 */ cmplwi r3, 0 +/* 8006A374 000672D4 41 82 00 18 */ beq lbl_8006A38C +/* 8006A378 000672D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8006A37C 000672DC 38 80 00 01 */ li r4, 1 +/* 8006A380 000672E0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006A384 000672E4 7D 89 03 A6 */ mtctr r12 +/* 8006A388 000672E8 4E 80 04 21 */ bctrl +lbl_8006A38C: +/* 8006A38C 000672EC 34 1E 02 94 */ addic. r0, r30, 0x294 +/* 8006A390 000672F0 41 82 00 0C */ beq lbl_8006A39C +/* 8006A394 000672F4 80 7E 02 94 */ lwz r3, 0x294(r30) +/* 8006A398 000672F8 48 2A B5 99 */ bl Free__7CMemoryFPCv +lbl_8006A39C: +/* 8006A39C 000672FC 34 1E 02 90 */ addic. r0, r30, 0x290 +/* 8006A3A0 00067300 41 82 00 24 */ beq lbl_8006A3C4 +/* 8006A3A4 00067304 80 7E 02 90 */ lwz r3, 0x290(r30) +/* 8006A3A8 00067308 28 03 00 00 */ cmplwi r3, 0 +/* 8006A3AC 0006730C 41 82 00 18 */ beq lbl_8006A3C4 +/* 8006A3B0 00067310 81 83 00 00 */ lwz r12, 0(r3) +/* 8006A3B4 00067314 38 80 00 01 */ li r4, 1 +/* 8006A3B8 00067318 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006A3BC 0006731C 7D 89 03 A6 */ mtctr r12 +/* 8006A3C0 00067320 4E 80 04 21 */ bctrl +lbl_8006A3C4: +/* 8006A3C4 00067324 34 1E 02 8C */ addic. r0, r30, 0x28c +/* 8006A3C8 00067328 41 82 00 0C */ beq lbl_8006A3D4 +/* 8006A3CC 0006732C 80 7E 02 8C */ lwz r3, 0x28c(r30) +/* 8006A3D0 00067330 48 2A B5 61 */ bl Free__7CMemoryFPCv +lbl_8006A3D4: +/* 8006A3D4 00067334 34 1E 02 78 */ addic. r0, r30, 0x278 +/* 8006A3D8 00067338 41 82 00 30 */ beq lbl_8006A408 +/* 8006A3DC 0006733C 88 1E 02 84 */ lbz r0, 0x284(r30) +/* 8006A3E0 00067340 28 00 00 00 */ cmplwi r0, 0 +/* 8006A3E4 00067344 41 82 00 1C */ beq lbl_8006A400 +/* 8006A3E8 00067348 34 7E 02 78 */ addic. r3, r30, 0x278 +/* 8006A3EC 0006734C 41 82 00 14 */ beq lbl_8006A400 +/* 8006A3F0 00067350 28 03 00 00 */ cmplwi r3, 0 +/* 8006A3F4 00067354 41 82 00 0C */ beq lbl_8006A400 +/* 8006A3F8 00067358 38 80 00 00 */ li r4, 0 +/* 8006A3FC 0006735C 48 2D 6A 45 */ bl __dt__6CTokenFv +lbl_8006A400: +/* 8006A400 00067360 38 00 00 00 */ li r0, 0 +/* 8006A404 00067364 98 1E 02 84 */ stb r0, 0x284(r30) +lbl_8006A408: +/* 8006A408 00067368 34 1E 02 68 */ addic. r0, r30, 0x268 +/* 8006A40C 0006736C 41 82 00 18 */ beq lbl_8006A424 +/* 8006A410 00067370 34 1E 02 68 */ addic. r0, r30, 0x268 +/* 8006A414 00067374 41 82 00 10 */ beq lbl_8006A424 +/* 8006A418 00067378 38 7E 02 68 */ addi r3, r30, 0x268 +/* 8006A41C 0006737C 38 80 00 00 */ li r4, 0 +/* 8006A420 00067380 48 2D 6A 21 */ bl __dt__6CTokenFv +lbl_8006A424: +/* 8006A424 00067384 34 1E 02 58 */ addic. r0, r30, 0x258 +/* 8006A428 00067388 41 82 00 18 */ beq lbl_8006A440 +/* 8006A42C 0006738C 34 1E 02 58 */ addic. r0, r30, 0x258 +/* 8006A430 00067390 41 82 00 10 */ beq lbl_8006A440 +/* 8006A434 00067394 38 7E 02 58 */ addi r3, r30, 0x258 +/* 8006A438 00067398 38 80 00 00 */ li r4, 0 +/* 8006A43C 0006739C 48 2D 6A 05 */ bl __dt__6CTokenFv +lbl_8006A440: +/* 8006A440 000673A0 38 7E 00 08 */ addi r3, r30, 8 +/* 8006A444 000673A4 38 80 FF FF */ li r4, -1 +/* 8006A448 000673A8 48 00 00 35 */ bl sub_8006a47c +/* 8006A44C 000673AC 7F E0 07 35 */ extsh. r0, r31 +/* 8006A450 000673B0 40 81 00 0C */ ble lbl_8006A45C +/* 8006A454 000673B4 7F C3 F3 78 */ mr r3, r30 +/* 8006A458 000673B8 48 2A B4 D9 */ bl Free__7CMemoryFPCv +lbl_8006A45C: +/* 8006A45C 000673BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006A460 000673C0 7F C3 F3 78 */ mr r3, r30 +/* 8006A464 000673C4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8006A468 000673C8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8006A46C 000673CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8006A470 000673D0 7C 08 03 A6 */ mtlr r0 +/* 8006A474 000673D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006A478 000673D8 4E 80 00 20 */ blr + +.global sub_8006a47c +sub_8006a47c: +/* 8006A47C 000673DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006A480 000673E0 7C 08 02 A6 */ mflr r0 +/* 8006A484 000673E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006A488 000673E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006A48C 000673EC 7C 9F 23 78 */ mr r31, r4 +/* 8006A490 000673F0 93 C1 00 08 */ stw r30, 8(r1) +/* 8006A494 000673F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8006A498 000673F8 41 82 00 40 */ beq lbl_8006A4D8 +/* 8006A49C 000673FC 34 1E 02 1C */ addic. r0, r30, 0x21c +/* 8006A4A0 00067400 41 82 00 1C */ beq lbl_8006A4BC +/* 8006A4A4 00067404 34 7E 02 44 */ addic. r3, r30, 0x244 +/* 8006A4A8 00067408 41 82 00 14 */ beq lbl_8006A4BC +/* 8006A4AC 0006740C 28 03 00 00 */ cmplwi r3, 0 +/* 8006A4B0 00067410 41 82 00 0C */ beq lbl_8006A4BC +/* 8006A4B4 00067414 38 80 00 00 */ li r4, 0 +/* 8006A4B8 00067418 48 2D 69 89 */ bl __dt__6CTokenFv +lbl_8006A4BC: +/* 8006A4BC 0006741C 7F C3 F3 78 */ mr r3, r30 +/* 8006A4C0 00067420 38 80 FF FF */ li r4, -1 +/* 8006A4C4 00067424 48 00 00 31 */ bl sub_8006a4f4 +/* 8006A4C8 00067428 7F E0 07 35 */ extsh. r0, r31 +/* 8006A4CC 0006742C 40 81 00 0C */ ble lbl_8006A4D8 +/* 8006A4D0 00067430 7F C3 F3 78 */ mr r3, r30 +/* 8006A4D4 00067434 48 2A B4 5D */ bl Free__7CMemoryFPCv +lbl_8006A4D8: +/* 8006A4D8 00067438 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006A4DC 0006743C 7F C3 F3 78 */ mr r3, r30 +/* 8006A4E0 00067440 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8006A4E4 00067444 83 C1 00 08 */ lwz r30, 8(r1) +/* 8006A4E8 00067448 7C 08 03 A6 */ mtlr r0 +/* 8006A4EC 0006744C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006A4F0 00067450 4E 80 00 20 */ blr + +.global sub_8006a4f4 +sub_8006a4f4: +/* 8006A4F4 00067454 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006A4F8 00067458 7C 08 02 A6 */ mflr r0 +/* 8006A4FC 0006745C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006A500 00067460 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006A504 00067464 7C 9F 23 78 */ mr r31, r4 +/* 8006A508 00067468 93 C1 00 08 */ stw r30, 8(r1) +/* 8006A50C 0006746C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8006A510 00067470 41 82 01 94 */ beq lbl_8006A6A4 +/* 8006A514 00067474 38 7E 00 E0 */ addi r3, r30, 0xe0 +/* 8006A518 00067478 38 80 FF FF */ li r4, -1 +/* 8006A51C 0006747C 48 00 01 A5 */ bl sub_8006a6c0 +/* 8006A520 00067480 34 1E 00 C4 */ addic. r0, r30, 0xc4 +/* 8006A524 00067484 41 82 00 20 */ beq lbl_8006A544 +/* 8006A528 00067488 34 1E 00 C4 */ addic. r0, r30, 0xc4 +/* 8006A52C 0006748C 41 82 00 18 */ beq lbl_8006A544 +/* 8006A530 00067490 34 1E 00 C4 */ addic. r0, r30, 0xc4 +/* 8006A534 00067494 41 82 00 10 */ beq lbl_8006A544 +/* 8006A538 00067498 38 7E 00 C4 */ addi r3, r30, 0xc4 +/* 8006A53C 0006749C 38 80 00 00 */ li r4, 0 +/* 8006A540 000674A0 48 2D 69 01 */ bl __dt__6CTokenFv +lbl_8006A544: +/* 8006A544 000674A4 34 1E 00 B8 */ addic. r0, r30, 0xb8 +/* 8006A548 000674A8 41 82 00 18 */ beq lbl_8006A560 +/* 8006A54C 000674AC 34 1E 00 B8 */ addic. r0, r30, 0xb8 +/* 8006A550 000674B0 41 82 00 10 */ beq lbl_8006A560 +/* 8006A554 000674B4 38 7E 00 B8 */ addi r3, r30, 0xb8 +/* 8006A558 000674B8 38 80 00 00 */ li r4, 0 +/* 8006A55C 000674BC 48 2D 68 E5 */ bl __dt__6CTokenFv +lbl_8006A560: +/* 8006A560 000674C0 34 1E 00 AC */ addic. r0, r30, 0xac +/* 8006A564 000674C4 41 82 00 18 */ beq lbl_8006A57C +/* 8006A568 000674C8 34 1E 00 AC */ addic. r0, r30, 0xac +/* 8006A56C 000674CC 41 82 00 10 */ beq lbl_8006A57C +/* 8006A570 000674D0 38 7E 00 AC */ addi r3, r30, 0xac +/* 8006A574 000674D4 38 80 00 00 */ li r4, 0 +/* 8006A578 000674D8 48 2D 68 C9 */ bl __dt__6CTokenFv +lbl_8006A57C: +/* 8006A57C 000674DC 34 1E 00 A0 */ addic. r0, r30, 0xa0 +/* 8006A580 000674E0 41 82 00 18 */ beq lbl_8006A598 +/* 8006A584 000674E4 34 1E 00 A0 */ addic. r0, r30, 0xa0 +/* 8006A588 000674E8 41 82 00 10 */ beq lbl_8006A598 +/* 8006A58C 000674EC 38 7E 00 A0 */ addi r3, r30, 0xa0 +/* 8006A590 000674F0 38 80 00 00 */ li r4, 0 +/* 8006A594 000674F4 48 2D 68 AD */ bl __dt__6CTokenFv +lbl_8006A598: +/* 8006A598 000674F8 34 1E 00 94 */ addic. r0, r30, 0x94 +/* 8006A59C 000674FC 41 82 00 18 */ beq lbl_8006A5B4 +/* 8006A5A0 00067500 34 1E 00 94 */ addic. r0, r30, 0x94 +/* 8006A5A4 00067504 41 82 00 10 */ beq lbl_8006A5B4 +/* 8006A5A8 00067508 38 7E 00 94 */ addi r3, r30, 0x94 +/* 8006A5AC 0006750C 38 80 00 00 */ li r4, 0 +/* 8006A5B0 00067510 48 2D 68 91 */ bl __dt__6CTokenFv +lbl_8006A5B4: +/* 8006A5B4 00067514 34 1E 00 88 */ addic. r0, r30, 0x88 +/* 8006A5B8 00067518 41 82 00 18 */ beq lbl_8006A5D0 +/* 8006A5BC 0006751C 34 1E 00 88 */ addic. r0, r30, 0x88 +/* 8006A5C0 00067520 41 82 00 10 */ beq lbl_8006A5D0 +/* 8006A5C4 00067524 38 7E 00 88 */ addi r3, r30, 0x88 +/* 8006A5C8 00067528 38 80 00 00 */ li r4, 0 +/* 8006A5CC 0006752C 48 2D 68 75 */ bl __dt__6CTokenFv +lbl_8006A5D0: +/* 8006A5D0 00067530 34 1E 00 7C */ addic. r0, r30, 0x7c +/* 8006A5D4 00067534 41 82 00 18 */ beq lbl_8006A5EC +/* 8006A5D8 00067538 34 1E 00 7C */ addic. r0, r30, 0x7c +/* 8006A5DC 0006753C 41 82 00 10 */ beq lbl_8006A5EC +/* 8006A5E0 00067540 38 7E 00 7C */ addi r3, r30, 0x7c +/* 8006A5E4 00067544 38 80 00 00 */ li r4, 0 +/* 8006A5E8 00067548 48 2D 68 59 */ bl __dt__6CTokenFv +lbl_8006A5EC: +/* 8006A5EC 0006754C 34 1E 00 70 */ addic. r0, r30, 0x70 +/* 8006A5F0 00067550 41 82 00 18 */ beq lbl_8006A608 +/* 8006A5F4 00067554 34 1E 00 70 */ addic. r0, r30, 0x70 +/* 8006A5F8 00067558 41 82 00 10 */ beq lbl_8006A608 +/* 8006A5FC 0006755C 38 7E 00 70 */ addi r3, r30, 0x70 +/* 8006A600 00067560 38 80 00 00 */ li r4, 0 +/* 8006A604 00067564 48 2D 68 3D */ bl __dt__6CTokenFv +lbl_8006A608: +/* 8006A608 00067568 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 8006A60C 0006756C 41 82 00 18 */ beq lbl_8006A624 +/* 8006A610 00067570 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 8006A614 00067574 41 82 00 10 */ beq lbl_8006A624 +/* 8006A618 00067578 38 7E 00 64 */ addi r3, r30, 0x64 +/* 8006A61C 0006757C 38 80 00 00 */ li r4, 0 +/* 8006A620 00067580 48 2D 68 21 */ bl __dt__6CTokenFv +lbl_8006A624: +/* 8006A624 00067584 34 1E 00 58 */ addic. r0, r30, 0x58 +/* 8006A628 00067588 41 82 00 18 */ beq lbl_8006A640 +/* 8006A62C 0006758C 34 1E 00 58 */ addic. r0, r30, 0x58 +/* 8006A630 00067590 41 82 00 10 */ beq lbl_8006A640 +/* 8006A634 00067594 38 7E 00 58 */ addi r3, r30, 0x58 +/* 8006A638 00067598 38 80 00 00 */ li r4, 0 +/* 8006A63C 0006759C 48 2D 68 05 */ bl __dt__6CTokenFv +lbl_8006A640: +/* 8006A640 000675A0 34 1E 00 4C */ addic. r0, r30, 0x4c +/* 8006A644 000675A4 41 82 00 18 */ beq lbl_8006A65C +/* 8006A648 000675A8 34 1E 00 4C */ addic. r0, r30, 0x4c +/* 8006A64C 000675AC 41 82 00 10 */ beq lbl_8006A65C +/* 8006A650 000675B0 38 7E 00 4C */ addi r3, r30, 0x4c +/* 8006A654 000675B4 38 80 00 00 */ li r4, 0 +/* 8006A658 000675B8 48 2D 67 E9 */ bl __dt__6CTokenFv +lbl_8006A65C: +/* 8006A65C 000675BC 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 8006A660 000675C0 41 82 00 18 */ beq lbl_8006A678 +/* 8006A664 000675C4 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 8006A668 000675C8 41 82 00 10 */ beq lbl_8006A678 +/* 8006A66C 000675CC 38 7E 00 40 */ addi r3, r30, 0x40 +/* 8006A670 000675D0 38 80 00 00 */ li r4, 0 +/* 8006A674 000675D4 48 2D 67 CD */ bl __dt__6CTokenFv +lbl_8006A678: +/* 8006A678 000675D8 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 8006A67C 000675DC 41 82 00 18 */ beq lbl_8006A694 +/* 8006A680 000675E0 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 8006A684 000675E4 41 82 00 10 */ beq lbl_8006A694 +/* 8006A688 000675E8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8006A68C 000675EC 38 80 00 00 */ li r4, 0 +/* 8006A690 000675F0 48 2D 67 B1 */ bl __dt__6CTokenFv +lbl_8006A694: +/* 8006A694 000675F4 7F E0 07 35 */ extsh. r0, r31 +/* 8006A698 000675F8 40 81 00 0C */ ble lbl_8006A6A4 +/* 8006A69C 000675FC 7F C3 F3 78 */ mr r3, r30 +/* 8006A6A0 00067600 48 2A B2 91 */ bl Free__7CMemoryFPCv +lbl_8006A6A4: +/* 8006A6A4 00067604 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006A6A8 00067608 7F C3 F3 78 */ mr r3, r30 +/* 8006A6AC 0006760C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8006A6B0 00067610 83 C1 00 08 */ lwz r30, 8(r1) +/* 8006A6B4 00067614 7C 08 03 A6 */ mtlr r0 +/* 8006A6B8 00067618 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006A6BC 0006761C 4E 80 00 20 */ blr + +.global sub_8006a6c0 +sub_8006a6c0: +/* 8006A6C0 00067620 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006A6C4 00067624 7C 08 02 A6 */ mflr r0 +/* 8006A6C8 00067628 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006A6CC 0006762C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8006A6D0 00067630 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8006A6D4 00067634 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8006A6D8 00067638 7C 9D 23 78 */ mr r29, r4 +/* 8006A6DC 0006763C 93 81 00 20 */ stw r28, 0x20(r1) +/* 8006A6E0 00067640 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8006A6E4 00067644 41 82 00 70 */ beq lbl_8006A754 +/* 8006A6E8 00067648 80 1C 00 04 */ lwz r0, 4(r28) +/* 8006A6EC 0006764C 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8006A6F0 00067650 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 8006A6F4 00067654 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8006A6F8 00067658 7F FE 02 14 */ add r31, r30, r0 +/* 8006A6FC 0006765C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8006A700 00067660 93 E1 00 08 */ stw r31, 8(r1) +/* 8006A704 00067664 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006A708 00067668 48 00 00 24 */ b lbl_8006A72C +lbl_8006A70C: +/* 8006A70C 0006766C 28 1E 00 00 */ cmplwi r30, 0 +/* 8006A710 00067670 41 82 00 18 */ beq lbl_8006A728 +/* 8006A714 00067674 41 82 00 14 */ beq lbl_8006A728 +/* 8006A718 00067678 41 82 00 10 */ beq lbl_8006A728 +/* 8006A71C 0006767C 7F C3 F3 78 */ mr r3, r30 +/* 8006A720 00067680 38 80 00 00 */ li r4, 0 +/* 8006A724 00067684 48 2D 67 1D */ bl __dt__6CTokenFv +lbl_8006A728: +/* 8006A728 00067688 3B DE 00 1C */ addi r30, r30, 0x1c +lbl_8006A72C: +/* 8006A72C 0006768C 7C 1E F8 40 */ cmplw r30, r31 +/* 8006A730 00067690 40 82 FF DC */ bne lbl_8006A70C +/* 8006A734 00067694 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8006A738 00067698 28 03 00 00 */ cmplwi r3, 0 +/* 8006A73C 0006769C 41 82 00 08 */ beq lbl_8006A744 +/* 8006A740 000676A0 48 2A B1 F1 */ bl Free__7CMemoryFPCv +lbl_8006A744: +/* 8006A744 000676A4 7F A0 07 35 */ extsh. r0, r29 +/* 8006A748 000676A8 40 81 00 0C */ ble lbl_8006A754 +/* 8006A74C 000676AC 7F 83 E3 78 */ mr r3, r28 +/* 8006A750 000676B0 48 2A B1 E1 */ bl Free__7CMemoryFPCv +lbl_8006A754: +/* 8006A754 000676B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006A758 000676B8 7F 83 E3 78 */ mr r3, r28 +/* 8006A75C 000676BC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8006A760 000676C0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8006A764 000676C4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8006A768 000676C8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8006A76C 000676CC 7C 08 03 A6 */ mtlr r0 +/* 8006A770 000676D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006A774 000676D4 4E 80 00 20 */ blr + +.global __dt__19IHudThreatInterfaceFv +__dt__19IHudThreatInterfaceFv: +/* 8006A778 000676D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006A77C 000676DC 7C 08 02 A6 */ mflr r0 +/* 8006A780 000676E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006A784 000676E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006A788 000676E8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8006A78C 000676EC 41 82 00 1C */ beq lbl_8006A7A8 +/* 8006A790 000676F0 3C A0 80 3E */ lis r5, lbl_803DA304@ha +/* 8006A794 000676F4 7C 80 07 35 */ extsh. r0, r4 +/* 8006A798 000676F8 38 05 A3 04 */ addi r0, r5, lbl_803DA304@l +/* 8006A79C 000676FC 90 1F 00 00 */ stw r0, 0(r31) +/* 8006A7A0 00067700 40 81 00 08 */ ble lbl_8006A7A8 +/* 8006A7A4 00067704 48 2A B1 8D */ bl Free__7CMemoryFPCv +lbl_8006A7A8: +/* 8006A7A8 00067708 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006A7AC 0006770C 7F E3 FB 78 */ mr r3, r31 +/* 8006A7B0 00067710 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8006A7B4 00067714 7C 08 03 A6 */ mtlr r0 +/* 8006A7B8 00067718 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006A7BC 0006771C 4E 80 00 20 */ blr + +.global __dt__21IHudFreeLookInterfaceFv +__dt__21IHudFreeLookInterfaceFv: +/* 8006A7C0 00067720 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006A7C4 00067724 7C 08 02 A6 */ mflr r0 +/* 8006A7C8 00067728 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006A7CC 0006772C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006A7D0 00067730 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8006A7D4 00067734 41 82 00 1C */ beq lbl_8006A7F0 +/* 8006A7D8 00067738 3C A0 80 3E */ lis r5, lbl_803DA2E8@ha +/* 8006A7DC 0006773C 7C 80 07 35 */ extsh. r0, r4 +/* 8006A7E0 00067740 38 05 A2 E8 */ addi r0, r5, lbl_803DA2E8@l +/* 8006A7E4 00067744 90 1F 00 00 */ stw r0, 0(r31) +/* 8006A7E8 00067748 40 81 00 08 */ ble lbl_8006A7F0 +/* 8006A7EC 0006774C 48 2A B1 45 */ bl Free__7CMemoryFPCv +lbl_8006A7F0: +/* 8006A7F0 00067750 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006A7F4 00067754 7F E3 FB 78 */ mr r3, r31 +/* 8006A7F8 00067758 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8006A7FC 0006775C 7C 08 03 A6 */ mtlr r0 +/* 8006A800 00067760 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006A804 00067764 4E 80 00 20 */ blr + +.global __dt__17IHudDecoInterfaceFv +__dt__17IHudDecoInterfaceFv: +/* 8006A808 00067768 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006A80C 0006776C 7C 08 02 A6 */ mflr r0 +/* 8006A810 00067770 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006A814 00067774 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006A818 00067778 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8006A81C 0006777C 41 82 00 1C */ beq lbl_8006A838 +/* 8006A820 00067780 3C A0 80 3E */ lis r5, lbl_803DA2A4@ha +/* 8006A824 00067784 7C 80 07 35 */ extsh. r0, r4 +/* 8006A828 00067788 38 05 A2 A4 */ addi r0, r5, lbl_803DA2A4@l +/* 8006A82C 0006778C 90 1F 00 00 */ stw r0, 0(r31) +/* 8006A830 00067790 40 81 00 08 */ ble lbl_8006A838 +/* 8006A834 00067794 48 2A B0 FD */ bl Free__7CMemoryFPCv +lbl_8006A838: +/* 8006A838 00067798 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006A83C 0006779C 7F E3 FB 78 */ mr r3, r31 +/* 8006A840 000677A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8006A844 000677A4 7C 08 03 A6 */ mtlr r0 +/* 8006A848 000677A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006A84C 000677AC 4E 80 00 20 */ blr + +.global UpdateEnergyLow__9CSamusHudFfRC13CStateManager +UpdateEnergyLow__9CSamusHudFfRC13CStateManager: +/* 8006A850 000677B0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8006A854 000677B4 7C 08 02 A6 */ mflr r0 +/* 8006A858 000677B8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8006A85C 000677BC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8006A860 000677C0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8006A864 000677C4 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8006A868 000677C8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8006A86C 000677CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8006A870 000677D0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8006A874 000677D4 FF C0 08 90 */ fmr f30, f1 +/* 8006A878 000677D8 7C 7E 1B 78 */ mr r30, r3 +/* 8006A87C 000677DC 80 64 08 70 */ lwz r3, 0x870(r4) +/* 8006A880 000677E0 4B FA 12 99 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8006A884 000677E4 7C 64 1B 78 */ mr r4, r3 +/* 8006A888 000677E8 38 61 00 0C */ addi r3, r1, 0xc +/* 8006A88C 000677EC 48 04 4E A5 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" +/* 8006A890 000677F0 80 63 00 04 */ lwz r3, 4(r3) +/* 8006A894 000677F4 C3 FE 05 7C */ lfs f31, 0x57c(r30) +/* 8006A898 000677F8 7C 03 00 D0 */ neg r0, r3 +/* 8006A89C 000677FC C8 42 87 F0 */ lfd f2, lbl_805AA510@sda21(r2) +/* 8006A8A0 00067800 7C 00 1B 78 */ or r0, r0, r3 +/* 8006A8A4 00067804 EC 3F F0 2A */ fadds f1, f31, f30 +/* 8006A8A8 00067808 54 1F 0F FE */ srwi r31, r0, 0x1f +/* 8006A8AC 0006780C 48 32 A4 01 */ bl fmod +/* 8006A8B0 00067810 FC 00 08 18 */ frsp f0, f1 +/* 8006A8B4 00067814 C0 22 87 7C */ lfs f1, lbl_805AA49C@sda21(r2) +/* 8006A8B8 00067818 D0 1E 05 7C */ stfs f0, 0x57c(r30) +/* 8006A8BC 0006781C C0 5E 05 7C */ lfs f2, 0x57c(r30) +/* 8006A8C0 00067820 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 8006A8C4 00067824 40 80 00 0C */ bge lbl_8006A8D0 +/* 8006A8C8 00067828 EC 02 08 24 */ fdivs f0, f2, f1 +/* 8006A8CC 0006782C 48 00 00 10 */ b lbl_8006A8DC +lbl_8006A8D0: +/* 8006A8D0 00067830 C0 02 87 3C */ lfs f0, lbl_805AA45C@sda21(r2) +/* 8006A8D4 00067834 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8006A8D8 00067838 EC 00 08 24 */ fdivs f0, f0, f1 +lbl_8006A8DC: +/* 8006A8DC 0006783C 28 1F 00 00 */ cmplwi r31, 0 +/* 8006A8E0 00067840 D0 1E 05 80 */ stfs f0, 0x580(r30) +/* 8006A8E4 00067844 40 82 00 40 */ bne lbl_8006A924 +/* 8006A8E8 00067848 88 1E 02 E0 */ lbz r0, 0x2e0(r30) +/* 8006A8EC 0006784C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8006A8F0 00067850 41 82 00 34 */ beq lbl_8006A924 +/* 8006A8F4 00067854 C0 1E 05 7C */ lfs f0, 0x57c(r30) +/* 8006A8F8 00067858 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8006A8FC 0006785C 40 80 00 28 */ bge lbl_8006A924 +/* 8006A900 00067860 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8006A904 00067864 38 61 00 08 */ addi r3, r1, 8 +/* 8006A908 00067868 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8006A90C 0006786C 38 80 05 7D */ li r4, 0x57d +/* 8006A910 00067870 38 A0 00 7F */ li r5, 0x7f +/* 8006A914 00067874 38 C0 00 40 */ li r6, 0x40 +/* 8006A918 00067878 38 E0 00 00 */ li r7, 0 +/* 8006A91C 0006787C 39 20 00 00 */ li r9, 0 +/* 8006A920 00067880 48 27 F4 55 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8006A924: +/* 8006A924 00067884 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8006A928 00067888 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8006A92C 0006788C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8006A930 00067890 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8006A934 00067894 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8006A938 00067898 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8006A93C 0006789C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8006A940 000678A0 7C 08 03 A6 */ mtlr r0 +/* 8006A944 000678A4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8006A948 000678A8 4E 80 00 20 */ blr + +.global __ct__9CSamusHudFRC13CStateManager +__ct__9CSamusHudFRC13CStateManager: +/* 8006A94C 000678AC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8006A950 000678B0 7C 08 02 A6 */ mflr r0 +/* 8006A954 000678B4 3C A0 80 3E */ lis r5, lbl_803DA298@ha +/* 8006A958 000678B8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8006A95C 000678BC 38 00 00 00 */ li r0, 0 +/* 8006A960 000678C0 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 8006A964 000678C4 7C 7F 1B 78 */ mr r31, r3 +/* 8006A968 000678C8 38 65 A2 98 */ addi r3, r5, lbl_803DA298@l +/* 8006A96C 000678CC 7C 9E 23 78 */ mr r30, r4 +/* 8006A970 000678D0 90 7F 00 00 */ stw r3, 0(r31) +/* 8006A974 000678D4 38 7F 00 08 */ addi r3, r31, 8 +/* 8006A978 000678D8 90 1F 00 04 */ stw r0, 4(r31) +/* 8006A97C 000678DC 48 05 24 95 */ bl __ct__17CTargetingManagerFRC13CStateManager +/* 8006A980 000678E0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8006A984 000678E4 3C 60 80 3D */ lis r3, lbl_803CCFC8@ha +/* 8006A988 000678E8 38 A3 CF C8 */ addi r5, r3, lbl_803CCFC8@l +/* 8006A98C 000678EC 81 84 00 00 */ lwz r12, 0(r4) +/* 8006A990 000678F0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8006A994 000678F4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8006A998 000678F8 7D 89 03 A6 */ mtctr r12 +/* 8006A99C 000678FC 4E 80 04 21 */ bctrl +/* 8006A9A0 00067900 3B 5F 02 58 */ addi r26, r31, 0x258 +/* 8006A9A4 00067904 38 81 00 20 */ addi r4, r1, 0x20 +/* 8006A9A8 00067908 7F 43 D3 78 */ mr r3, r26 +/* 8006A9AC 0006790C 48 2D 64 FD */ bl __ct__6CTokenFRC6CToken +/* 8006A9B0 00067910 7F 43 D3 78 */ mr r3, r26 +/* 8006A9B4 00067914 48 2D 64 59 */ bl GetObj__6CTokenFv +/* 8006A9B8 00067918 80 03 00 04 */ lwz r0, 4(r3) +/* 8006A9BC 0006791C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8006A9C0 00067920 38 80 FF FF */ li r4, -1 +/* 8006A9C4 00067924 90 1A 00 08 */ stw r0, 8(r26) +/* 8006A9C8 00067928 48 2D 64 79 */ bl __dt__6CTokenFv +/* 8006A9CC 0006792C 38 00 00 00 */ li r0, 0 +/* 8006A9D0 00067930 3C 60 80 3D */ lis r3, lbl_803CCFB8@ha +/* 8006A9D4 00067934 90 1F 02 64 */ stw r0, 0x264(r31) +/* 8006A9D8 00067938 38 A3 CF B8 */ addi r5, r3, lbl_803CCFB8@l +/* 8006A9DC 0006793C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8006A9E0 00067940 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8006A9E4 00067944 81 84 00 00 */ lwz r12, 0(r4) +/* 8006A9E8 00067948 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8006A9EC 0006794C 7D 89 03 A6 */ mtctr r12 +/* 8006A9F0 00067950 4E 80 04 21 */ bctrl +/* 8006A9F4 00067954 3B 5F 02 68 */ addi r26, r31, 0x268 +/* 8006A9F8 00067958 38 81 00 18 */ addi r4, r1, 0x18 +/* 8006A9FC 0006795C 7F 43 D3 78 */ mr r3, r26 +/* 8006AA00 00067960 48 2D 64 A9 */ bl __ct__6CTokenFRC6CToken +/* 8006AA04 00067964 7F 43 D3 78 */ mr r3, r26 +/* 8006AA08 00067968 48 2D 64 05 */ bl GetObj__6CTokenFv +/* 8006AA0C 0006796C 80 03 00 04 */ lwz r0, 4(r3) +/* 8006AA10 00067970 38 61 00 18 */ addi r3, r1, 0x18 +/* 8006AA14 00067974 38 80 FF FF */ li r4, -1 +/* 8006AA18 00067978 90 1A 00 08 */ stw r0, 8(r26) +/* 8006AA1C 0006797C 48 2D 64 25 */ bl __dt__6CTokenFv +/* 8006AA20 00067980 38 A0 00 00 */ li r5, 0 +/* 8006AA24 00067984 38 00 00 05 */ li r0, 5 +/* 8006AA28 00067988 90 BF 02 74 */ stw r5, 0x274(r31) +/* 8006AA2C 0006798C 38 60 00 01 */ li r3, 1 +/* 8006AA30 00067990 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 8006AA34 00067994 7F C4 F3 78 */ mr r4, r30 +/* 8006AA38 00067998 98 BF 02 84 */ stb r5, 0x284(r31) +/* 8006AA3C 0006799C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 8006AA40 000679A0 90 BF 02 88 */ stw r5, 0x288(r31) +/* 8006AA44 000679A4 90 BF 02 8C */ stw r5, 0x28c(r31) +/* 8006AA48 000679A8 90 BF 02 90 */ stw r5, 0x290(r31) +/* 8006AA4C 000679AC 90 BF 02 94 */ stw r5, 0x294(r31) +/* 8006AA50 000679B0 90 BF 02 98 */ stw r5, 0x298(r31) +/* 8006AA54 000679B4 90 BF 02 9C */ stw r5, 0x29c(r31) +/* 8006AA58 000679B8 90 BF 02 A0 */ stw r5, 0x2a0(r31) +/* 8006AA5C 000679BC 90 BF 02 A4 */ stw r5, 0x2a4(r31) +/* 8006AA60 000679C0 90 BF 02 A8 */ stw r5, 0x2a8(r31) +/* 8006AA64 000679C4 90 BF 02 AC */ stw r5, 0x2ac(r31) +/* 8006AA68 000679C8 90 BF 02 B0 */ stw r5, 0x2b0(r31) +/* 8006AA6C 000679CC 90 BF 02 B4 */ stw r5, 0x2b4(r31) +/* 8006AA70 000679D0 90 1F 02 B8 */ stw r0, 0x2b8(r31) +/* 8006AA74 000679D4 90 1F 02 BC */ stw r0, 0x2bc(r31) +/* 8006AA78 000679D8 90 1F 02 C0 */ stw r0, 0x2c0(r31) +/* 8006AA7C 000679DC 90 BF 02 C4 */ stw r5, 0x2c4(r31) +/* 8006AA80 000679E0 D0 3F 02 C8 */ stfs f1, 0x2c8(r31) +/* 8006AA84 000679E4 90 BF 02 CC */ stw r5, 0x2cc(r31) +/* 8006AA88 000679E8 D0 1F 02 D0 */ stfs f0, 0x2d0(r31) +/* 8006AA8C 000679EC 90 BF 02 D4 */ stw r5, 0x2d4(r31) +/* 8006AA90 000679F0 90 BF 02 D8 */ stw r5, 0x2d8(r31) +/* 8006AA94 000679F4 90 BF 02 DC */ stw r5, 0x2dc(r31) +/* 8006AA98 000679F8 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006AA9C 000679FC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8006AAA0 00067A00 98 1F 02 E0 */ stb r0, 0x2e0(r31) +/* 8006AAA4 00067A04 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006AAA8 00067A08 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8006AAAC 00067A0C 98 1F 02 E0 */ stb r0, 0x2e0(r31) +/* 8006AAB0 00067A10 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006AAB4 00067A14 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8006AAB8 00067A18 98 1F 02 E0 */ stb r0, 0x2e0(r31) +/* 8006AABC 00067A1C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8006AAC0 00067A20 4B FA 5F F1 */ bl IsEnergyLow__7CPlayerCFRC13CStateManager +/* 8006AAC4 00067A24 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006AAC8 00067A28 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8006AACC 00067A2C 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8006AAD0 00067A30 3C 80 80 5A */ lis r4, lbl_805A6660@ha +/* 8006AAD4 00067A34 98 1F 02 E0 */ stb r0, 0x2e0(r31) +/* 8006AAD8 00067A38 38 00 00 00 */ li r0, 0 +/* 8006AADC 00067A3C 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006AAE0 00067A40 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 8006AAE4 00067A44 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8006AAE8 00067A48 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l +/* 8006AAEC 00067A4C 3B 85 66 A0 */ addi r28, r5, skZero3f@l +/* 8006AAF0 00067A50 3B A4 66 60 */ addi r29, r4, lbl_805A6660@l +/* 8006AAF4 00067A54 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8006AAF8 00067A58 38 83 01 3B */ addi r4, r3, 0x13b +/* 8006AAFC 00067A5C 38 60 02 E0 */ li r3, 0x2e0 +/* 8006AB00 00067A60 38 A0 00 00 */ li r5, 0 +/* 8006AB04 00067A64 90 1F 02 EC */ stw r0, 0x2ec(r31) +/* 8006AB08 00067A68 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) +/* 8006AB0C 00067A6C 80 DE 08 70 */ lwz r6, 0x870(r30) +/* 8006AB10 00067A70 80 C6 00 7C */ lwz r6, 0x7c(r6) +/* 8006AB14 00067A74 C0 46 00 58 */ lfs f2, 0x58(r6) +/* 8006AB18 00067A78 C0 26 00 48 */ lfs f1, 0x48(r6) +/* 8006AB1C 00067A7C C0 06 00 38 */ lfs f0, 0x38(r6) +/* 8006AB20 00067A80 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) +/* 8006AB24 00067A84 D0 3F 02 FC */ stfs f1, 0x2fc(r31) +/* 8006AB28 00067A88 D0 5F 03 00 */ stfs f2, 0x300(r31) +/* 8006AB2C 00067A8C C0 1C 00 00 */ lfs f0, 0(r28) +/* 8006AB30 00067A90 D0 1F 03 04 */ stfs f0, 0x304(r31) +/* 8006AB34 00067A94 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8006AB38 00067A98 D0 1F 03 08 */ stfs f0, 0x308(r31) +/* 8006AB3C 00067A9C C0 1C 00 08 */ lfs f0, 8(r28) +/* 8006AB40 00067AA0 D0 1F 03 0C */ stfs f0, 0x30c(r31) +/* 8006AB44 00067AA4 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8006AB48 00067AA8 D0 1F 03 10 */ stfs f0, 0x310(r31) +/* 8006AB4C 00067AAC C0 1C 00 04 */ lfs f0, 4(r28) +/* 8006AB50 00067AB0 D0 1F 03 14 */ stfs f0, 0x314(r31) +/* 8006AB54 00067AB4 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8006AB58 00067AB8 D0 1F 03 18 */ stfs f0, 0x318(r31) +/* 8006AB5C 00067ABC C0 1D 00 00 */ lfs f0, 0(r29) +/* 8006AB60 00067AC0 D0 1F 03 1C */ stfs f0, 0x31c(r31) +/* 8006AB64 00067AC4 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8006AB68 00067AC8 D0 1F 03 20 */ stfs f0, 0x320(r31) +/* 8006AB6C 00067ACC C0 1D 00 08 */ lfs f0, 8(r29) +/* 8006AB70 00067AD0 D0 1F 03 24 */ stfs f0, 0x324(r31) +/* 8006AB74 00067AD4 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 8006AB78 00067AD8 D0 1F 03 28 */ stfs f0, 0x328(r31) +/* 8006AB7C 00067ADC C0 1D 00 00 */ lfs f0, 0(r29) +/* 8006AB80 00067AE0 D0 1F 03 2C */ stfs f0, 0x32c(r31) +/* 8006AB84 00067AE4 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8006AB88 00067AE8 D0 1F 03 30 */ stfs f0, 0x330(r31) +/* 8006AB8C 00067AEC C0 1D 00 08 */ lfs f0, 8(r29) +/* 8006AB90 00067AF0 D0 1F 03 34 */ stfs f0, 0x334(r31) +/* 8006AB94 00067AF4 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 8006AB98 00067AF8 D0 1F 03 38 */ stfs f0, 0x338(r31) +/* 8006AB9C 00067AFC 48 2A AC D1 */ bl __nw__FUlPCcPCc +/* 8006ABA0 00067B00 7C 60 1B 79 */ or. r0, r3, r3 +/* 8006ABA4 00067B04 41 82 00 4C */ beq lbl_8006ABF0 +/* 8006ABA8 00067B08 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8006ABAC 00067B0C C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) +/* 8006ABB0 00067B10 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 8006ABB4 00067B14 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8006ABB8 00067B18 81 07 00 00 */ lwz r8, 0(r7) +/* 8006ABBC 00067B1C 38 80 00 08 */ li r4, 8 +/* 8006ABC0 00067B20 81 67 00 04 */ lwz r11, 4(r7) +/* 8006ABC4 00067B24 38 C0 00 04 */ li r6, 4 +/* 8006ABC8 00067B28 80 07 00 08 */ lwz r0, 8(r7) +/* 8006ABCC 00067B2C 38 E0 00 01 */ li r7, 1 +/* 8006ABD0 00067B30 91 01 00 34 */ stw r8, 0x34(r1) +/* 8006ABD4 00067B34 39 00 00 01 */ li r8, 1 +/* 8006ABD8 00067B38 39 20 00 00 */ li r9, 0 +/* 8006ABDC 00067B3C 39 40 00 00 */ li r10, 0 +/* 8006ABE0 00067B40 91 61 00 38 */ stw r11, 0x38(r1) +/* 8006ABE4 00067B44 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8006ABE8 00067B48 48 09 A5 E5 */ bl __ct__12CActorLightsFUi9CVector3fiif +/* 8006ABEC 00067B4C 7C 60 1B 78 */ mr r0, r3 +lbl_8006ABF0: +/* 8006ABF0 00067B50 90 1F 03 3C */ stw r0, 0x33c(r31) +/* 8006ABF4 00067B54 48 2D F3 B9 */ bl White__6CColorFv +/* 8006ABF8 00067B58 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8006ABFC 00067B5C C0 5C 00 04 */ lfs f2, 4(r28) +/* 8006AC00 00067B60 C0 24 66 A0 */ lfs f1, skZero3f@l(r4) +/* 8006AC04 00067B64 34 BF 03 44 */ addic. r5, r31, 0x344 +/* 8006AC08 00067B68 C0 7C 00 08 */ lfs f3, 8(r28) +/* 8006AC0C 00067B6C 38 00 00 03 */ li r0, 3 +/* 8006AC10 00067B70 80 63 00 00 */ lwz r3, 0(r3) +/* 8006AC14 00067B74 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 8006AC18 00067B78 90 1F 03 40 */ stw r0, 0x340(r31) +/* 8006AC1C 00067B7C 41 82 00 24 */ beq lbl_8006AC40 +/* 8006AC20 00067B80 D0 25 00 00 */ stfs f1, 0(r5) +/* 8006AC24 00067B84 D0 45 00 04 */ stfs f2, 4(r5) +/* 8006AC28 00067B88 D0 65 00 08 */ stfs f3, 8(r5) +/* 8006AC2C 00067B8C 90 65 00 0C */ stw r3, 0xc(r5) +/* 8006AC30 00067B90 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 8006AC34 00067B94 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8006AC38 00067B98 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 8006AC3C 00067B9C D0 05 00 1C */ stfs f0, 0x1c(r5) +lbl_8006AC40: +/* 8006AC40 00067BA0 34 A5 00 20 */ addic. r5, r5, 0x20 +/* 8006AC44 00067BA4 41 82 00 24 */ beq lbl_8006AC68 +/* 8006AC48 00067BA8 D0 25 00 00 */ stfs f1, 0(r5) +/* 8006AC4C 00067BAC D0 45 00 04 */ stfs f2, 4(r5) +/* 8006AC50 00067BB0 D0 65 00 08 */ stfs f3, 8(r5) +/* 8006AC54 00067BB4 90 65 00 0C */ stw r3, 0xc(r5) +/* 8006AC58 00067BB8 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 8006AC5C 00067BBC D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8006AC60 00067BC0 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 8006AC64 00067BC4 D0 05 00 1C */ stfs f0, 0x1c(r5) +lbl_8006AC68: +/* 8006AC68 00067BC8 34 A5 00 20 */ addic. r5, r5, 0x20 +/* 8006AC6C 00067BCC 41 82 00 24 */ beq lbl_8006AC90 +/* 8006AC70 00067BD0 D0 25 00 00 */ stfs f1, 0(r5) +/* 8006AC74 00067BD4 D0 45 00 04 */ stfs f2, 4(r5) +/* 8006AC78 00067BD8 D0 65 00 08 */ stfs f3, 8(r5) +/* 8006AC7C 00067BDC 90 65 00 0C */ stw r3, 0xc(r5) +/* 8006AC80 00067BE0 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 8006AC84 00067BE4 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8006AC88 00067BE8 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 8006AC8C 00067BEC D0 05 00 1C */ stfs f0, 0x1c(r5) +lbl_8006AC90: +/* 8006AC90 00067BF0 38 00 00 00 */ li r0, 0 +/* 8006AC94 00067BF4 38 7F 03 A8 */ addi r3, r31, 0x3a8 +/* 8006AC98 00067BF8 90 1F 03 A4 */ stw r0, 0x3a4(r31) +/* 8006AC9C 00067BFC 48 08 2A F1 */ bl __ct__17CCameraFilterPassFv +/* 8006ACA0 00067C00 38 00 00 00 */ li r0, 0 +/* 8006ACA4 00067C04 3C 60 80 5A */ lis r3, lbl_805A65FC@ha +/* 8006ACA8 00067C08 90 1F 03 D4 */ stw r0, 0x3d4(r31) +/* 8006ACAC 00067C0C 38 83 65 FC */ addi r4, r3, lbl_805A65FC@l +/* 8006ACB0 00067C10 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 8006ACB4 00067C14 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8006ACB8 00067C18 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006ACBC 00067C1C 38 7F 04 28 */ addi r3, r31, 0x428 +/* 8006ACC0 00067C20 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 8006ACC4 00067C24 90 1F 03 E0 */ stw r0, 0x3e0(r31) +/* 8006ACC8 00067C28 90 1F 03 E4 */ stw r0, 0x3e4(r31) +/* 8006ACCC 00067C2C D0 3F 03 E8 */ stfs f1, 0x3e8(r31) +/* 8006ACD0 00067C30 D0 3F 03 EC */ stfs f1, 0x3ec(r31) +/* 8006ACD4 00067C34 D0 1F 03 F0 */ stfs f0, 0x3f0(r31) +/* 8006ACD8 00067C38 D0 3F 03 F4 */ stfs f1, 0x3f4(r31) +/* 8006ACDC 00067C3C D0 3F 03 F8 */ stfs f1, 0x3f8(r31) +/* 8006ACE0 00067C40 D0 3F 03 FC */ stfs f1, 0x3fc(r31) +/* 8006ACE4 00067C44 D0 3F 04 00 */ stfs f1, 0x400(r31) +/* 8006ACE8 00067C48 D0 3F 04 04 */ stfs f1, 0x404(r31) +/* 8006ACEC 00067C4C C4 05 66 A0 */ lfsu f0, skZero3f@l(r5) +/* 8006ACF0 00067C50 D0 1F 04 08 */ stfs f0, 0x408(r31) +/* 8006ACF4 00067C54 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8006ACF8 00067C58 D0 1F 04 0C */ stfs f0, 0x40c(r31) +/* 8006ACFC 00067C5C C0 1C 00 08 */ lfs f0, 8(r28) +/* 8006AD00 00067C60 D0 1F 04 10 */ stfs f0, 0x410(r31) +/* 8006AD04 00067C64 D0 3F 04 14 */ stfs f1, 0x414(r31) +/* 8006AD08 00067C68 D0 3F 04 18 */ stfs f1, 0x418(r31) +/* 8006AD0C 00067C6C C0 05 00 00 */ lfs f0, 0(r5) +/* 8006AD10 00067C70 D0 1F 04 1C */ stfs f0, 0x41c(r31) +/* 8006AD14 00067C74 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8006AD18 00067C78 D0 1F 04 20 */ stfs f0, 0x420(r31) +/* 8006AD1C 00067C7C C0 1C 00 08 */ lfs f0, 8(r28) +/* 8006AD20 00067C80 D0 1F 04 24 */ stfs f0, 0x424(r31) +/* 8006AD24 00067C84 48 2A 53 01 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8006AD28 00067C88 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 8006AD2C 00067C8C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 8006AD30 00067C90 38 83 66 60 */ addi r4, r3, lbl_805A6660@l +/* 8006AD34 00067C94 3B 60 00 00 */ li r27, 0 +/* 8006AD38 00067C98 C0 24 00 00 */ lfs f1, 0(r4) +/* 8006AD3C 00067C9C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8006AD40 00067CA0 38 00 00 03 */ li r0, 3 +/* 8006AD44 00067CA4 3B 9F 04 70 */ addi r28, r31, 0x470 +/* 8006AD48 00067CA8 D0 3F 04 4C */ stfs f1, 0x44c(r31) +/* 8006AD4C 00067CAC 3B 43 66 70 */ addi r26, r3, skIdentity4f@l +/* 8006AD50 00067CB0 C0 3D 00 04 */ lfs f1, 4(r29) +/* 8006AD54 00067CB4 D0 3F 04 50 */ stfs f1, 0x450(r31) +/* 8006AD58 00067CB8 C0 3D 00 08 */ lfs f1, 8(r29) +/* 8006AD5C 00067CBC D0 3F 04 54 */ stfs f1, 0x454(r31) +/* 8006AD60 00067CC0 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8006AD64 00067CC4 D0 3F 04 58 */ stfs f1, 0x458(r31) +/* 8006AD68 00067CC8 D0 1F 04 5C */ stfs f0, 0x45c(r31) +/* 8006AD6C 00067CCC D0 1F 04 60 */ stfs f0, 0x460(r31) +/* 8006AD70 00067CD0 D0 1F 04 64 */ stfs f0, 0x464(r31) +/* 8006AD74 00067CD4 93 7F 04 68 */ stw r27, 0x468(r31) +/* 8006AD78 00067CD8 90 1F 04 6C */ stw r0, 0x46c(r31) +lbl_8006AD7C: +/* 8006AD7C 00067CDC 28 1C 00 00 */ cmplwi r28, 0 +/* 8006AD80 00067CE0 41 82 00 10 */ beq lbl_8006AD90 +/* 8006AD84 00067CE4 7F 83 E3 78 */ mr r3, r28 +/* 8006AD88 00067CE8 7F 44 D3 78 */ mr r4, r26 +/* 8006AD8C 00067CEC 48 2A 7D E9 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006AD90: +/* 8006AD90 00067CF0 3B 7B 00 01 */ addi r27, r27, 1 +/* 8006AD94 00067CF4 3B 9C 00 30 */ addi r28, r28, 0x30 +/* 8006AD98 00067CF8 2C 1B 00 03 */ cmpwi r27, 3 +/* 8006AD9C 00067CFC 41 80 FF E0 */ blt lbl_8006AD7C +/* 8006ADA0 00067D00 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 8006ADA4 00067D04 38 00 00 00 */ li r0, 0 +/* 8006ADA8 00067D08 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 8006ADAC 00067D0C 38 7F 05 1C */ addi r3, r31, 0x51c +/* 8006ADB0 00067D10 D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 8006ADB4 00067D14 D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 8006ADB8 00067D18 90 1F 05 08 */ stw r0, 0x508(r31) +/* 8006ADBC 00067D1C 90 1F 05 0C */ stw r0, 0x50c(r31) +/* 8006ADC0 00067D20 D0 1F 05 10 */ stfs f0, 0x510(r31) +/* 8006ADC4 00067D24 D0 1F 05 14 */ stfs f0, 0x514(r31) +/* 8006ADC8 00067D28 D0 1F 05 18 */ stfs f0, 0x518(r31) +/* 8006ADCC 00067D2C 48 08 29 C1 */ bl __ct__17CCameraFilterPassFv +/* 8006ADD0 00067D30 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) +/* 8006ADD4 00067D34 38 80 00 00 */ li r4, 0 +/* 8006ADD8 00067D38 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 8006ADDC 00067D3C 3C 60 80 47 */ lis r3, lbl_80470004@ha +/* 8006ADE0 00067D40 D0 5F 05 48 */ stfs f2, 0x548(r31) +/* 8006ADE4 00067D44 34 DF 05 A8 */ addic. r6, r31, 0x5a8 +/* 8006ADE8 00067D48 38 00 00 04 */ li r0, 4 +/* 8006ADEC 00067D4C 98 9F 05 4C */ stb r4, 0x54c(r31) +/* 8006ADF0 00067D50 98 9F 05 4D */ stb r4, 0x54d(r31) +/* 8006ADF4 00067D54 98 9F 05 4E */ stb r4, 0x54e(r31) +/* 8006ADF8 00067D58 90 9F 05 50 */ stw r4, 0x550(r31) +/* 8006ADFC 00067D5C 90 9F 05 54 */ stw r4, 0x554(r31) +/* 8006AE00 00067D60 D0 5F 05 58 */ stfs f2, 0x558(r31) +/* 8006AE04 00067D64 D0 5F 05 5C */ stfs f2, 0x55c(r31) +/* 8006AE08 00067D68 D0 5F 05 60 */ stfs f2, 0x560(r31) +/* 8006AE0C 00067D6C 90 9F 05 64 */ stw r4, 0x564(r31) +/* 8006AE10 00067D70 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 8006AE14 00067D74 80 84 00 7C */ lwz r4, 0x7c(r4) +/* 8006AE18 00067D78 C0 84 00 58 */ lfs f4, 0x58(r4) +/* 8006AE1C 00067D7C C0 64 00 48 */ lfs f3, 0x48(r4) +/* 8006AE20 00067D80 C0 24 00 38 */ lfs f1, 0x38(r4) +/* 8006AE24 00067D84 D0 3F 05 68 */ stfs f1, 0x568(r31) +/* 8006AE28 00067D88 D0 7F 05 6C */ stfs f3, 0x56c(r31) +/* 8006AE2C 00067D8C D0 9F 05 70 */ stfs f4, 0x570(r31) +/* 8006AE30 00067D90 D0 1F 05 74 */ stfs f0, 0x574(r31) +/* 8006AE34 00067D94 D0 5F 05 78 */ stfs f2, 0x578(r31) +/* 8006AE38 00067D98 D0 5F 05 7C */ stfs f2, 0x57c(r31) +/* 8006AE3C 00067D9C D0 5F 05 80 */ stfs f2, 0x580(r31) +/* 8006AE40 00067DA0 D0 5F 05 84 */ stfs f2, 0x584(r31) +/* 8006AE44 00067DA4 84 A3 C3 D4 */ lwzu r5, -0x3c2c(r3) +/* 8006AE48 00067DA8 80 83 00 04 */ lwz r4, lbl_80470004@l(r3) +/* 8006AE4C 00067DAC 80 63 00 08 */ lwz r3, 8(r3) +/* 8006AE50 00067DB0 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8006AE54 00067DB4 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8006AE58 00067DB8 90 61 00 30 */ stw r3, 0x30(r1) +/* 8006AE5C 00067DBC 90 1F 05 A4 */ stw r0, 0x5a4(r31) +/* 8006AE60 00067DC0 41 82 00 10 */ beq lbl_8006AE70 +/* 8006AE64 00067DC4 90 A6 00 00 */ stw r5, 0(r6) +/* 8006AE68 00067DC8 90 86 00 04 */ stw r4, 4(r6) +/* 8006AE6C 00067DCC 90 66 00 08 */ stw r3, 8(r6) +lbl_8006AE70: +/* 8006AE70 00067DD0 34 C6 00 0C */ addic. r6, r6, 0xc +/* 8006AE74 00067DD4 41 82 00 10 */ beq lbl_8006AE84 +/* 8006AE78 00067DD8 90 A6 00 00 */ stw r5, 0(r6) +/* 8006AE7C 00067DDC 90 86 00 04 */ stw r4, 4(r6) +/* 8006AE80 00067DE0 90 66 00 08 */ stw r3, 8(r6) +lbl_8006AE84: +/* 8006AE84 00067DE4 34 C6 00 0C */ addic. r6, r6, 0xc +/* 8006AE88 00067DE8 41 82 00 10 */ beq lbl_8006AE98 +/* 8006AE8C 00067DEC 90 A6 00 00 */ stw r5, 0(r6) +/* 8006AE90 00067DF0 90 86 00 04 */ stw r4, 4(r6) +/* 8006AE94 00067DF4 90 66 00 08 */ stw r3, 8(r6) +lbl_8006AE98: +/* 8006AE98 00067DF8 34 C6 00 0C */ addic. r6, r6, 0xc +/* 8006AE9C 00067DFC 41 82 00 10 */ beq lbl_8006AEAC +/* 8006AEA0 00067E00 90 A6 00 00 */ stw r5, 0(r6) +/* 8006AEA4 00067E04 90 86 00 04 */ stw r4, 4(r6) +/* 8006AEA8 00067E08 90 66 00 08 */ stw r3, 8(r6) +lbl_8006AEAC: +/* 8006AEAC 00067E0C 38 00 00 04 */ li r0, 4 +/* 8006AEB0 00067E10 34 7F 05 DC */ addic. r3, r31, 0x5dc +/* 8006AEB4 00067E14 90 1F 05 D8 */ stw r0, 0x5d8(r31) +/* 8006AEB8 00067E18 38 00 00 00 */ li r0, 0 +/* 8006AEBC 00067E1C 41 82 00 08 */ beq lbl_8006AEC4 +/* 8006AEC0 00067E20 90 03 00 00 */ stw r0, 0(r3) +lbl_8006AEC4: +/* 8006AEC4 00067E24 34 63 00 04 */ addic. r3, r3, 4 +/* 8006AEC8 00067E28 41 82 00 08 */ beq lbl_8006AED0 +/* 8006AECC 00067E2C 90 03 00 00 */ stw r0, 0(r3) +lbl_8006AED0: +/* 8006AED0 00067E30 34 63 00 04 */ addic. r3, r3, 4 +/* 8006AED4 00067E34 41 82 00 08 */ beq lbl_8006AEDC +/* 8006AED8 00067E38 90 03 00 00 */ stw r0, 0(r3) +lbl_8006AEDC: +/* 8006AEDC 00067E3C 34 63 00 04 */ addic. r3, r3, 4 +/* 8006AEE0 00067E40 41 82 00 08 */ beq lbl_8006AEE8 +/* 8006AEE4 00067E44 90 03 00 00 */ stw r0, 0(r3) +lbl_8006AEE8: +/* 8006AEE8 00067E48 38 E0 00 00 */ li r7, 0 +/* 8006AEEC 00067E4C 38 60 00 0F */ li r3, 0xf +/* 8006AEF0 00067E50 38 00 00 03 */ li r0, 3 +/* 8006AEF4 00067E54 90 7F 07 AC */ stw r3, 0x7ac(r31) +/* 8006AEF8 00067E58 7C E6 3B 78 */ mr r6, r7 +/* 8006AEFC 00067E5C 7C E5 3B 78 */ mr r5, r7 +/* 8006AF00 00067E60 7C E4 3B 78 */ mr r4, r7 +/* 8006AF04 00067E64 7C E3 3B 78 */ mr r3, r7 +/* 8006AF08 00067E68 39 1F 07 B0 */ addi r8, r31, 0x7b0 +/* 8006AF0C 00067E6C 7C 09 03 A6 */ mtctr r0 +lbl_8006AF10: +/* 8006AF10 00067E70 28 08 00 00 */ cmplwi r8, 0 +/* 8006AF14 00067E74 41 82 00 14 */ beq lbl_8006AF28 +/* 8006AF18 00067E78 90 C8 00 04 */ stw r6, 4(r8) +/* 8006AF1C 00067E7C 90 A8 00 00 */ stw r5, 0(r8) +/* 8006AF20 00067E80 90 88 00 0C */ stw r4, 0xc(r8) +/* 8006AF24 00067E84 90 68 00 08 */ stw r3, 8(r8) +lbl_8006AF28: +/* 8006AF28 00067E88 35 08 00 10 */ addic. r8, r8, 0x10 +/* 8006AF2C 00067E8C 41 82 00 14 */ beq lbl_8006AF40 +/* 8006AF30 00067E90 90 C8 00 04 */ stw r6, 4(r8) +/* 8006AF34 00067E94 90 A8 00 00 */ stw r5, 0(r8) +/* 8006AF38 00067E98 90 88 00 0C */ stw r4, 0xc(r8) +/* 8006AF3C 00067E9C 90 68 00 08 */ stw r3, 8(r8) +lbl_8006AF40: +/* 8006AF40 00067EA0 35 08 00 10 */ addic. r8, r8, 0x10 +/* 8006AF44 00067EA4 41 82 00 14 */ beq lbl_8006AF58 +/* 8006AF48 00067EA8 90 C8 00 04 */ stw r6, 4(r8) +/* 8006AF4C 00067EAC 90 A8 00 00 */ stw r5, 0(r8) +/* 8006AF50 00067EB0 90 88 00 0C */ stw r4, 0xc(r8) +/* 8006AF54 00067EB4 90 68 00 08 */ stw r3, 8(r8) +lbl_8006AF58: +/* 8006AF58 00067EB8 35 08 00 10 */ addic. r8, r8, 0x10 +/* 8006AF5C 00067EBC 41 82 00 14 */ beq lbl_8006AF70 +/* 8006AF60 00067EC0 90 C8 00 04 */ stw r6, 4(r8) +/* 8006AF64 00067EC4 90 A8 00 00 */ stw r5, 0(r8) +/* 8006AF68 00067EC8 90 88 00 0C */ stw r4, 0xc(r8) +/* 8006AF6C 00067ECC 90 68 00 08 */ stw r3, 8(r8) +lbl_8006AF70: +/* 8006AF70 00067ED0 35 08 00 10 */ addic. r8, r8, 0x10 +/* 8006AF74 00067ED4 41 82 00 14 */ beq lbl_8006AF88 +/* 8006AF78 00067ED8 90 C8 00 04 */ stw r6, 4(r8) +/* 8006AF7C 00067EDC 90 A8 00 00 */ stw r5, 0(r8) +/* 8006AF80 00067EE0 90 88 00 0C */ stw r4, 0xc(r8) +/* 8006AF84 00067EE4 90 68 00 08 */ stw r3, 8(r8) +lbl_8006AF88: +/* 8006AF88 00067EE8 38 E7 00 04 */ addi r7, r7, 4 +/* 8006AF8C 00067EEC 39 08 00 10 */ addi r8, r8, 0x10 +/* 8006AF90 00067EF0 42 00 FF 80 */ bdnz lbl_8006AF10 +/* 8006AF94 00067EF4 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 8006AF98 00067EF8 7F E3 FB 78 */ mr r3, r31 +/* 8006AF9C 00067EFC 7F C4 F3 78 */ mr r4, r30 +/* 8006AFA0 00067F00 4B FF C1 2D */ bl UpdateStateTransition__9CSamusHudFfRC13CStateManager +/* 8006AFA4 00067F04 38 00 00 02 */ li r0, 2 +/* 8006AFA8 00067F08 93 ED A2 28 */ stw r31, lbl_805A8DE8@sda21(r13) +/* 8006AFAC 00067F0C C0 C2 87 A0 */ lfs f6, lbl_805AA4C0@sda21(r2) +/* 8006AFB0 00067F10 38 80 00 00 */ li r4, 0 +/* 8006AFB4 00067F14 C8 A2 87 B8 */ lfd f5, lbl_805AA4D8@sda21(r2) +/* 8006AFB8 00067F18 38 60 00 00 */ li r3, 0 +/* 8006AFBC 00067F1C C0 82 87 30 */ lfs f4, lbl_805AA450@sda21(r2) +/* 8006AFC0 00067F20 3F A0 43 30 */ lis r29, 0x4330 +/* 8006AFC4 00067F24 7C 09 03 A6 */ mtctr r0 +lbl_8006AFC8: +/* 8006AFC8 00067F28 6C 85 80 00 */ xoris r5, r4, 0x8000 +/* 8006AFCC 00067F2C 38 04 00 01 */ addi r0, r4, 1 +/* 8006AFD0 00067F30 90 A1 00 44 */ stw r5, 0x44(r1) +/* 8006AFD4 00067F34 6C 07 80 00 */ xoris r7, r0, 0x8000 +/* 8006AFD8 00067F38 38 A4 00 02 */ addi r5, r4, 2 +/* 8006AFDC 00067F3C 38 04 00 03 */ addi r0, r4, 3 +/* 8006AFE0 00067F40 93 A1 00 40 */ stw r29, 0x40(r1) +/* 8006AFE4 00067F44 6C A8 80 00 */ xoris r8, r5, 0x8000 +/* 8006AFE8 00067F48 6C 06 80 00 */ xoris r6, r0, 0x8000 +/* 8006AFEC 00067F4C 38 04 00 04 */ addi r0, r4, 4 +/* 8006AFF0 00067F50 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 8006AFF4 00067F54 6C 0B 80 00 */ xoris r11, r0, 0x8000 +/* 8006AFF8 00067F58 90 E1 00 4C */ stw r7, 0x4c(r1) +/* 8006AFFC 00067F5C 38 04 00 05 */ addi r0, r4, 5 +/* 8006B000 00067F60 EC 20 28 28 */ fsubs f1, f0, f5 +/* 8006B004 00067F64 6C 09 80 00 */ xoris r9, r0, 0x8000 +/* 8006B008 00067F68 93 A1 00 48 */ stw r29, 0x48(r1) +/* 8006B00C 00067F6C 38 A4 00 06 */ addi r5, r4, 6 +/* 8006B010 00067F70 6C A7 80 00 */ xoris r7, r5, 0x8000 +/* 8006B014 00067F74 38 04 00 07 */ addi r0, r4, 7 +/* 8006B018 00067F78 91 01 00 54 */ stw r8, 0x54(r1) +/* 8006B01C 00067F7C EC 66 20 7A */ fmadds f3, f6, f1, f4 +/* 8006B020 00067F80 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 8006B024 00067F84 6C 05 80 00 */ xoris r5, r0, 0x8000 +/* 8006B028 00067F88 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 8006B02C 00067F8C 3B 83 05 EC */ addi r28, r3, 0x5ec +/* 8006B030 00067F90 EC 20 28 28 */ fsubs f1, f0, f5 +/* 8006B034 00067F94 93 A1 00 50 */ stw r29, 0x50(r1) +/* 8006B038 00067F98 3B 63 05 F0 */ addi r27, r3, 0x5f0 +/* 8006B03C 00067F9C 3B 43 05 F4 */ addi r26, r3, 0x5f4 +/* 8006B040 00067FA0 39 83 05 F8 */ addi r12, r3, 0x5f8 +/* 8006B044 00067FA4 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 8006B048 00067FA8 EC 46 20 7A */ fmadds f2, f6, f1, f4 +/* 8006B04C 00067FAC 7C 7F E5 2E */ stfsx f3, r31, r28 +/* 8006B050 00067FB0 EC 20 28 28 */ fsubs f1, f0, f5 +/* 8006B054 00067FB4 39 43 05 FC */ addi r10, r3, 0x5fc +/* 8006B058 00067FB8 93 A1 00 58 */ stw r29, 0x58(r1) +/* 8006B05C 00067FBC 39 03 06 00 */ addi r8, r3, 0x600 +/* 8006B060 00067FC0 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 8006B064 00067FC4 EC 26 20 7A */ fmadds f1, f6, f1, f4 +/* 8006B068 00067FC8 7C 5F DD 2E */ stfsx f2, r31, r27 +/* 8006B06C 00067FCC 38 C3 06 04 */ addi r6, r3, 0x604 +/* 8006B070 00067FD0 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B074 00067FD4 38 03 06 08 */ addi r0, r3, 0x608 +/* 8006B078 00067FD8 91 61 00 64 */ stw r11, 0x64(r1) +/* 8006B07C 00067FDC 38 63 00 20 */ addi r3, r3, 0x20 +/* 8006B080 00067FE0 38 84 00 08 */ addi r4, r4, 8 +/* 8006B084 00067FE4 93 A1 00 60 */ stw r29, 0x60(r1) +/* 8006B088 00067FE8 EC 46 20 3A */ fmadds f2, f6, f0, f4 +/* 8006B08C 00067FEC C8 01 00 60 */ lfd f0, 0x60(r1) +/* 8006B090 00067FF0 7C 3F D5 2E */ stfsx f1, r31, r26 +/* 8006B094 00067FF4 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B098 00067FF8 91 21 00 6C */ stw r9, 0x6c(r1) +/* 8006B09C 00067FFC 93 A1 00 68 */ stw r29, 0x68(r1) +/* 8006B0A0 00068000 EC 26 20 3A */ fmadds f1, f6, f0, f4 +/* 8006B0A4 00068004 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8006B0A8 00068008 7C 5F 65 2E */ stfsx f2, r31, r12 +/* 8006B0AC 0006800C EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B0B0 00068010 90 E1 00 74 */ stw r7, 0x74(r1) +/* 8006B0B4 00068014 93 A1 00 70 */ stw r29, 0x70(r1) +/* 8006B0B8 00068018 EC 46 20 3A */ fmadds f2, f6, f0, f4 +/* 8006B0BC 0006801C C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8006B0C0 00068020 7C 3F 55 2E */ stfsx f1, r31, r10 +/* 8006B0C4 00068024 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B0C8 00068028 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 8006B0CC 0006802C 93 A1 00 78 */ stw r29, 0x78(r1) +/* 8006B0D0 00068030 EC 26 20 3A */ fmadds f1, f6, f0, f4 +/* 8006B0D4 00068034 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8006B0D8 00068038 7C 5F 45 2E */ stfsx f2, r31, r8 +/* 8006B0DC 0006803C EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B0E0 00068040 7C 3F 35 2E */ stfsx f1, r31, r6 +/* 8006B0E4 00068044 EC 06 20 3A */ fmadds f0, f6, f0, f4 +/* 8006B0E8 00068048 7C 1F 05 2E */ stfsx f0, r31, r0 +/* 8006B0EC 0006804C 42 00 FE DC */ bdnz lbl_8006AFC8 +/* 8006B0F0 00068050 38 00 00 08 */ li r0, 8 +/* 8006B0F4 00068054 C0 A2 87 F8 */ lfs f5, lbl_805AA518@sda21(r2) +/* 8006B0F8 00068058 C8 82 87 B8 */ lfd f4, lbl_805AA4D8@sda21(r2) +/* 8006B0FC 0006805C 38 80 00 00 */ li r4, 0 +/* 8006B100 00068060 38 60 00 00 */ li r3, 0 +/* 8006B104 00068064 3F A0 43 30 */ lis r29, 0x4330 +/* 8006B108 00068068 7C 09 03 A6 */ mtctr r0 +lbl_8006B10C: +/* 8006B10C 0006806C 6C 85 80 00 */ xoris r5, r4, 0x8000 +/* 8006B110 00068070 38 04 00 01 */ addi r0, r4, 1 +/* 8006B114 00068074 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 8006B118 00068078 6C 07 80 00 */ xoris r7, r0, 0x8000 +/* 8006B11C 0006807C 38 A4 00 02 */ addi r5, r4, 2 +/* 8006B120 00068080 38 04 00 03 */ addi r0, r4, 3 +/* 8006B124 00068084 93 A1 00 78 */ stw r29, 0x78(r1) +/* 8006B128 00068088 6C A8 80 00 */ xoris r8, r5, 0x8000 +/* 8006B12C 0006808C 6C 06 80 00 */ xoris r6, r0, 0x8000 +/* 8006B130 00068090 38 04 00 04 */ addi r0, r4, 4 +/* 8006B134 00068094 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8006B138 00068098 6C 0B 80 00 */ xoris r11, r0, 0x8000 +/* 8006B13C 0006809C 90 E1 00 74 */ stw r7, 0x74(r1) +/* 8006B140 000680A0 38 04 00 05 */ addi r0, r4, 5 +/* 8006B144 000680A4 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8006B148 000680A8 6C 09 80 00 */ xoris r9, r0, 0x8000 +/* 8006B14C 000680AC 93 A1 00 70 */ stw r29, 0x70(r1) +/* 8006B150 000680B0 38 A4 00 06 */ addi r5, r4, 6 +/* 8006B154 000680B4 6C A7 80 00 */ xoris r7, r5, 0x8000 +/* 8006B158 000680B8 38 04 00 07 */ addi r0, r4, 7 +/* 8006B15C 000680BC 91 01 00 6C */ stw r8, 0x6c(r1) +/* 8006B160 000680C0 EC 65 00 72 */ fmuls f3, f5, f1 +/* 8006B164 000680C4 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8006B168 000680C8 6C 05 80 00 */ xoris r5, r0, 0x8000 +/* 8006B16C 000680CC 90 C1 00 64 */ stw r6, 0x64(r1) +/* 8006B170 000680D0 3B 83 06 2C */ addi r28, r3, 0x62c +/* 8006B174 000680D4 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8006B178 000680D8 93 A1 00 68 */ stw r29, 0x68(r1) +/* 8006B17C 000680DC 3B 63 06 30 */ addi r27, r3, 0x630 +/* 8006B180 000680E0 3B 43 06 34 */ addi r26, r3, 0x634 +/* 8006B184 000680E4 39 83 06 38 */ addi r12, r3, 0x638 +/* 8006B188 000680E8 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8006B18C 000680EC EC 45 00 72 */ fmuls f2, f5, f1 +/* 8006B190 000680F0 7C 7F E5 2E */ stfsx f3, r31, r28 +/* 8006B194 000680F4 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8006B198 000680F8 39 43 06 3C */ addi r10, r3, 0x63c +/* 8006B19C 000680FC 93 A1 00 60 */ stw r29, 0x60(r1) +/* 8006B1A0 00068100 39 03 06 40 */ addi r8, r3, 0x640 +/* 8006B1A4 00068104 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 8006B1A8 00068108 EC 25 00 72 */ fmuls f1, f5, f1 +/* 8006B1AC 0006810C 7C 5F DD 2E */ stfsx f2, r31, r27 +/* 8006B1B0 00068110 38 C3 06 44 */ addi r6, r3, 0x644 +/* 8006B1B4 00068114 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8006B1B8 00068118 38 03 06 48 */ addi r0, r3, 0x648 +/* 8006B1BC 0006811C 91 61 00 5C */ stw r11, 0x5c(r1) +/* 8006B1C0 00068120 38 63 00 20 */ addi r3, r3, 0x20 +/* 8006B1C4 00068124 38 84 00 08 */ addi r4, r4, 8 +/* 8006B1C8 00068128 93 A1 00 58 */ stw r29, 0x58(r1) +/* 8006B1CC 0006812C EC 45 00 32 */ fmuls f2, f5, f0 +/* 8006B1D0 00068130 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 8006B1D4 00068134 7C 3F D5 2E */ stfsx f1, r31, r26 +/* 8006B1D8 00068138 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8006B1DC 0006813C 91 21 00 54 */ stw r9, 0x54(r1) +/* 8006B1E0 00068140 93 A1 00 50 */ stw r29, 0x50(r1) +/* 8006B1E4 00068144 EC 25 00 32 */ fmuls f1, f5, f0 +/* 8006B1E8 00068148 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 8006B1EC 0006814C 7C 5F 65 2E */ stfsx f2, r31, r12 +/* 8006B1F0 00068150 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8006B1F4 00068154 90 E1 00 4C */ stw r7, 0x4c(r1) +/* 8006B1F8 00068158 93 A1 00 48 */ stw r29, 0x48(r1) +/* 8006B1FC 0006815C EC 45 00 32 */ fmuls f2, f5, f0 +/* 8006B200 00068160 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 8006B204 00068164 7C 3F 55 2E */ stfsx f1, r31, r10 +/* 8006B208 00068168 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8006B20C 0006816C 90 A1 00 44 */ stw r5, 0x44(r1) +/* 8006B210 00068170 93 A1 00 40 */ stw r29, 0x40(r1) +/* 8006B214 00068174 EC 25 00 32 */ fmuls f1, f5, f0 +/* 8006B218 00068178 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 8006B21C 0006817C 7C 5F 45 2E */ stfsx f2, r31, r8 +/* 8006B220 00068180 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8006B224 00068184 7C 3F 35 2E */ stfsx f1, r31, r6 +/* 8006B228 00068188 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8006B22C 0006818C 7C 1F 05 2E */ stfsx f0, r31, r0 +/* 8006B230 00068190 42 00 FE DC */ bdnz lbl_8006B10C +/* 8006B234 00068194 38 00 00 04 */ li r0, 4 +/* 8006B238 00068198 C0 C2 87 3C */ lfs f6, lbl_805AA45C@sda21(r2) +/* 8006B23C 0006819C C8 A2 87 B8 */ lfd f5, lbl_805AA4D8@sda21(r2) +/* 8006B240 000681A0 38 80 00 00 */ li r4, 0 +/* 8006B244 000681A4 C0 82 87 FC */ lfs f4, lbl_805AA51C@sda21(r2) +/* 8006B248 000681A8 38 60 00 00 */ li r3, 0 +/* 8006B24C 000681AC 3F 40 43 30 */ lis r26, 0x4330 +/* 8006B250 000681B0 7C 09 03 A6 */ mtctr r0 +lbl_8006B254: +/* 8006B254 000681B4 6C 85 80 00 */ xoris r5, r4, 0x8000 +/* 8006B258 000681B8 38 04 00 01 */ addi r0, r4, 1 +/* 8006B25C 000681BC 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 8006B260 000681C0 6C 07 80 00 */ xoris r7, r0, 0x8000 +/* 8006B264 000681C4 38 A4 00 02 */ addi r5, r4, 2 +/* 8006B268 000681C8 38 04 00 03 */ addi r0, r4, 3 +/* 8006B26C 000681CC 93 41 00 78 */ stw r26, 0x78(r1) +/* 8006B270 000681D0 6C A8 80 00 */ xoris r8, r5, 0x8000 +/* 8006B274 000681D4 6C 06 80 00 */ xoris r6, r0, 0x8000 +/* 8006B278 000681D8 38 04 00 04 */ addi r0, r4, 4 +/* 8006B27C 000681DC C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8006B280 000681E0 6C 0B 80 00 */ xoris r11, r0, 0x8000 +/* 8006B284 000681E4 90 E1 00 74 */ stw r7, 0x74(r1) +/* 8006B288 000681E8 38 04 00 05 */ addi r0, r4, 5 +/* 8006B28C 000681EC EC 20 28 28 */ fsubs f1, f0, f5 +/* 8006B290 000681F0 6C 09 80 00 */ xoris r9, r0, 0x8000 +/* 8006B294 000681F4 93 41 00 70 */ stw r26, 0x70(r1) +/* 8006B298 000681F8 38 A4 00 06 */ addi r5, r4, 6 +/* 8006B29C 000681FC 6C A7 80 00 */ xoris r7, r5, 0x8000 +/* 8006B2A0 00068200 38 04 00 07 */ addi r0, r4, 7 +/* 8006B2A4 00068204 91 01 00 6C */ stw r8, 0x6c(r1) +/* 8006B2A8 00068208 EC 66 20 7A */ fmadds f3, f6, f1, f4 +/* 8006B2AC 0006820C C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8006B2B0 00068210 6C 05 80 00 */ xoris r5, r0, 0x8000 +/* 8006B2B4 00068214 90 C1 00 64 */ stw r6, 0x64(r1) +/* 8006B2B8 00068218 3B 63 07 2C */ addi r27, r3, 0x72c +/* 8006B2BC 0006821C EC 20 28 28 */ fsubs f1, f0, f5 +/* 8006B2C0 00068220 93 41 00 68 */ stw r26, 0x68(r1) +/* 8006B2C4 00068224 3B A3 07 30 */ addi r29, r3, 0x730 +/* 8006B2C8 00068228 3B 83 07 34 */ addi r28, r3, 0x734 +/* 8006B2CC 0006822C 39 83 07 38 */ addi r12, r3, 0x738 +/* 8006B2D0 00068230 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8006B2D4 00068234 EC 46 20 7A */ fmadds f2, f6, f1, f4 +/* 8006B2D8 00068238 7C 7F DD 2E */ stfsx f3, r31, r27 +/* 8006B2DC 0006823C EC 20 28 28 */ fsubs f1, f0, f5 +/* 8006B2E0 00068240 39 43 07 3C */ addi r10, r3, 0x73c +/* 8006B2E4 00068244 93 41 00 60 */ stw r26, 0x60(r1) +/* 8006B2E8 00068248 39 03 07 40 */ addi r8, r3, 0x740 +/* 8006B2EC 0006824C C8 01 00 60 */ lfd f0, 0x60(r1) +/* 8006B2F0 00068250 EC 26 20 7A */ fmadds f1, f6, f1, f4 +/* 8006B2F4 00068254 7C 5F ED 2E */ stfsx f2, r31, r29 +/* 8006B2F8 00068258 38 C3 07 44 */ addi r6, r3, 0x744 +/* 8006B2FC 0006825C EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B300 00068260 38 03 07 48 */ addi r0, r3, 0x748 +/* 8006B304 00068264 91 61 00 5C */ stw r11, 0x5c(r1) +/* 8006B308 00068268 38 63 00 20 */ addi r3, r3, 0x20 +/* 8006B30C 0006826C 38 84 00 08 */ addi r4, r4, 8 +/* 8006B310 00068270 93 41 00 58 */ stw r26, 0x58(r1) +/* 8006B314 00068274 EC 46 20 3A */ fmadds f2, f6, f0, f4 +/* 8006B318 00068278 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 8006B31C 0006827C 7C 3F E5 2E */ stfsx f1, r31, r28 +/* 8006B320 00068280 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B324 00068284 91 21 00 54 */ stw r9, 0x54(r1) +/* 8006B328 00068288 93 41 00 50 */ stw r26, 0x50(r1) +/* 8006B32C 0006828C EC 26 20 3A */ fmadds f1, f6, f0, f4 +/* 8006B330 00068290 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 8006B334 00068294 7C 5F 65 2E */ stfsx f2, r31, r12 +/* 8006B338 00068298 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B33C 0006829C 90 E1 00 4C */ stw r7, 0x4c(r1) +/* 8006B340 000682A0 93 41 00 48 */ stw r26, 0x48(r1) +/* 8006B344 000682A4 EC 46 20 3A */ fmadds f2, f6, f0, f4 +/* 8006B348 000682A8 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 8006B34C 000682AC 7C 3F 55 2E */ stfsx f1, r31, r10 +/* 8006B350 000682B0 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B354 000682B4 90 A1 00 44 */ stw r5, 0x44(r1) +/* 8006B358 000682B8 93 41 00 40 */ stw r26, 0x40(r1) +/* 8006B35C 000682BC EC 26 20 3A */ fmadds f1, f6, f0, f4 +/* 8006B360 000682C0 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 8006B364 000682C4 7C 5F 45 2E */ stfsx f2, r31, r8 +/* 8006B368 000682C8 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8006B36C 000682CC 7C 3F 35 2E */ stfsx f1, r31, r6 +/* 8006B370 000682D0 EC 06 20 3A */ fmadds f0, f6, f0, f4 +/* 8006B374 000682D4 7C 1F 05 2E */ stfsx f0, r31, r0 +/* 8006B378 000682D8 42 00 FE DC */ bdnz lbl_8006B254 +/* 8006B37C 000682DC 80 1F 02 60 */ lwz r0, 0x260(r31) +/* 8006B380 000682E0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006B384 000682E4 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006B388 000682E8 38 60 00 54 */ li r3, 0x54 +/* 8006B38C 000682EC 90 1F 02 64 */ stw r0, 0x264(r31) +/* 8006B390 000682F0 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006B394 000682F4 38 A0 00 00 */ li r5, 0 +/* 8006B398 000682F8 80 1F 02 70 */ lwz r0, 0x270(r31) +/* 8006B39C 000682FC 90 1F 02 74 */ stw r0, 0x274(r31) +/* 8006B3A0 00068300 48 2A A4 CD */ bl __nw__FUlPCcPCc +/* 8006B3A4 00068304 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8006B3A8 00068308 41 82 00 10 */ beq lbl_8006B3B8 +/* 8006B3AC 0006830C 80 9F 02 64 */ lwz r4, 0x264(r31) +/* 8006B3B0 00068310 48 12 5A 91 */ bl __ct__19CHudHelmetInterfaceFR9CGuiFrame +/* 8006B3B4 00068314 7C 7A 1B 78 */ mr r26, r3 +lbl_8006B3B8: +/* 8006B3B8 00068318 80 7F 02 A0 */ lwz r3, 0x2a0(r31) +/* 8006B3BC 0006831C 48 2A A5 75 */ bl Free__7CMemoryFPCv +/* 8006B3C0 00068320 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006B3C4 00068324 93 5F 02 A0 */ stw r26, 0x2a0(r31) +/* 8006B3C8 00068328 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l +/* 8006B3CC 0006832C 3B 60 00 00 */ li r27, 0 +/* 8006B3D0 00068330 38 83 01 3B */ addi r4, r3, 0x13b +/* 8006B3D4 00068334 38 60 00 84 */ li r3, 0x84 +/* 8006B3D8 00068338 38 A0 00 00 */ li r5, 0 +/* 8006B3DC 0006833C 48 2A A4 91 */ bl __nw__FUlPCcPCc +/* 8006B3E0 00068340 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8006B3E4 00068344 41 82 00 30 */ beq lbl_8006B414 +/* 8006B3E8 00068348 7F E4 FB 78 */ mr r4, r31 +/* 8006B3EC 0006834C 7F C5 F3 78 */ mr r5, r30 +/* 8006B3F0 00068350 38 61 00 10 */ addi r3, r1, 0x10 +/* 8006B3F4 00068354 4B FF AC 89 */ bl BuildPlayerHasVisors__9CSamusHudCFRC13CStateManager +/* 8006B3F8 00068358 80 9F 02 74 */ lwz r4, 0x274(r31) +/* 8006B3FC 0006835C 7F 43 D3 78 */ mr r3, r26 +/* 8006B400 00068360 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8006B404 00068364 3B 60 00 01 */ li r27, 1 +/* 8006B408 00068368 38 A0 00 00 */ li r5, 0 +/* 8006B40C 0006836C 48 12 91 65 */ bl "__ct__17CHudVisorBeamMenuFR9CGuiFrameQ217CHudVisorBeamMenu14EVisorBeamMenuRCQ24rstl20reserved_vector" +/* 8006B410 00068370 7C 7A 1B 78 */ mr r26, r3 +lbl_8006B414: +/* 8006B414 00068374 80 7F 02 A4 */ lwz r3, 0x2a4(r31) +/* 8006B418 00068378 28 03 00 00 */ cmplwi r3, 0 +/* 8006B41C 0006837C 41 82 00 64 */ beq lbl_8006B480 +/* 8006B420 00068380 34 03 00 28 */ addic. r0, r3, 0x28 +/* 8006B424 00068384 41 82 00 58 */ beq lbl_8006B47C +/* 8006B428 00068388 80 C3 00 28 */ lwz r6, 0x28(r3) +/* 8006B42C 0006838C 38 80 00 00 */ li r4, 0 +/* 8006B430 00068390 2C 06 00 00 */ cmpwi r6, 0 +/* 8006B434 00068394 40 81 00 40 */ ble lbl_8006B474 +/* 8006B438 00068398 2C 06 00 08 */ cmpwi r6, 8 +/* 8006B43C 0006839C 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006B440 000683A0 40 81 00 20 */ ble lbl_8006B460 +/* 8006B444 000683A4 38 05 00 07 */ addi r0, r5, 7 +/* 8006B448 000683A8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006B44C 000683AC 7C 09 03 A6 */ mtctr r0 +/* 8006B450 000683B0 2C 05 00 00 */ cmpwi r5, 0 +/* 8006B454 000683B4 40 81 00 0C */ ble lbl_8006B460 +lbl_8006B458: +/* 8006B458 000683B8 38 84 00 08 */ addi r4, r4, 8 +/* 8006B45C 000683BC 42 00 FF FC */ bdnz lbl_8006B458 +lbl_8006B460: +/* 8006B460 000683C0 7C 04 30 50 */ subf r0, r4, r6 +/* 8006B464 000683C4 7C 09 03 A6 */ mtctr r0 +/* 8006B468 000683C8 7C 04 30 00 */ cmpw r4, r6 +/* 8006B46C 000683CC 40 80 00 08 */ bge lbl_8006B474 +lbl_8006B470: +/* 8006B470 000683D0 42 00 00 00 */ bdnz lbl_8006B470 +lbl_8006B474: +/* 8006B474 000683D4 38 00 00 00 */ li r0, 0 +/* 8006B478 000683D8 90 03 00 28 */ stw r0, 0x28(r3) +lbl_8006B47C: +/* 8006B47C 000683DC 48 2A A4 B5 */ bl Free__7CMemoryFPCv +lbl_8006B480: +/* 8006B480 000683E0 7F 60 07 75 */ extsb. r0, r27 +/* 8006B484 000683E4 93 5F 02 A4 */ stw r26, 0x2a4(r31) +/* 8006B488 000683E8 41 82 00 58 */ beq lbl_8006B4E0 +/* 8006B48C 000683EC 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8006B490 000683F0 38 60 00 00 */ li r3, 0 +/* 8006B494 000683F4 2C 05 00 00 */ cmpwi r5, 0 +/* 8006B498 000683F8 40 81 00 40 */ ble lbl_8006B4D8 +/* 8006B49C 000683FC 2C 05 00 08 */ cmpwi r5, 8 +/* 8006B4A0 00068400 38 85 FF F8 */ addi r4, r5, -8 +/* 8006B4A4 00068404 40 81 00 20 */ ble lbl_8006B4C4 +/* 8006B4A8 00068408 38 04 00 07 */ addi r0, r4, 7 +/* 8006B4AC 0006840C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006B4B0 00068410 7C 09 03 A6 */ mtctr r0 +/* 8006B4B4 00068414 2C 04 00 00 */ cmpwi r4, 0 +/* 8006B4B8 00068418 40 81 00 0C */ ble lbl_8006B4C4 +lbl_8006B4BC: +/* 8006B4BC 0006841C 38 63 00 08 */ addi r3, r3, 8 +/* 8006B4C0 00068420 42 00 FF FC */ bdnz lbl_8006B4BC +lbl_8006B4C4: +/* 8006B4C4 00068424 7C 03 28 50 */ subf r0, r3, r5 +/* 8006B4C8 00068428 7C 09 03 A6 */ mtctr r0 +/* 8006B4CC 0006842C 7C 03 28 00 */ cmpw r3, r5 +/* 8006B4D0 00068430 40 80 00 08 */ bge lbl_8006B4D8 +lbl_8006B4D4: +/* 8006B4D4 00068434 42 00 00 00 */ bdnz lbl_8006B4D4 +lbl_8006B4D8: +/* 8006B4D8 00068438 38 00 00 00 */ li r0, 0 +/* 8006B4DC 0006843C 90 01 00 10 */ stw r0, 0x10(r1) +lbl_8006B4E0: +/* 8006B4E0 00068440 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006B4E4 00068444 3B 60 00 00 */ li r27, 0 +/* 8006B4E8 00068448 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006B4EC 0006844C 38 60 00 84 */ li r3, 0x84 +/* 8006B4F0 00068450 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006B4F4 00068454 38 A0 00 00 */ li r5, 0 +/* 8006B4F8 00068458 48 2A A3 75 */ bl __nw__FUlPCcPCc +/* 8006B4FC 0006845C 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8006B500 00068460 41 82 00 30 */ beq lbl_8006B530 +/* 8006B504 00068464 7F E4 FB 78 */ mr r4, r31 +/* 8006B508 00068468 7F C5 F3 78 */ mr r5, r30 +/* 8006B50C 0006846C 38 61 00 08 */ addi r3, r1, 8 +/* 8006B510 00068470 4B FF A9 F9 */ bl BuildPlayerHasBeams__9CSamusHudCFRC13CStateManager +/* 8006B514 00068474 80 9F 02 74 */ lwz r4, 0x274(r31) +/* 8006B518 00068478 7F 43 D3 78 */ mr r3, r26 +/* 8006B51C 0006847C 38 C1 00 08 */ addi r6, r1, 8 +/* 8006B520 00068480 3B 60 00 01 */ li r27, 1 +/* 8006B524 00068484 38 A0 00 01 */ li r5, 1 +/* 8006B528 00068488 48 12 90 49 */ bl "__ct__17CHudVisorBeamMenuFR9CGuiFrameQ217CHudVisorBeamMenu14EVisorBeamMenuRCQ24rstl20reserved_vector" +/* 8006B52C 0006848C 7C 7A 1B 78 */ mr r26, r3 +lbl_8006B530: +/* 8006B530 00068490 80 7F 02 A8 */ lwz r3, 0x2a8(r31) +/* 8006B534 00068494 28 03 00 00 */ cmplwi r3, 0 +/* 8006B538 00068498 41 82 00 64 */ beq lbl_8006B59C +/* 8006B53C 0006849C 34 03 00 28 */ addic. r0, r3, 0x28 +/* 8006B540 000684A0 41 82 00 58 */ beq lbl_8006B598 +/* 8006B544 000684A4 80 C3 00 28 */ lwz r6, 0x28(r3) +/* 8006B548 000684A8 38 80 00 00 */ li r4, 0 +/* 8006B54C 000684AC 2C 06 00 00 */ cmpwi r6, 0 +/* 8006B550 000684B0 40 81 00 40 */ ble lbl_8006B590 +/* 8006B554 000684B4 2C 06 00 08 */ cmpwi r6, 8 +/* 8006B558 000684B8 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006B55C 000684BC 40 81 00 20 */ ble lbl_8006B57C +/* 8006B560 000684C0 38 05 00 07 */ addi r0, r5, 7 +/* 8006B564 000684C4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006B568 000684C8 7C 09 03 A6 */ mtctr r0 +/* 8006B56C 000684CC 2C 05 00 00 */ cmpwi r5, 0 +/* 8006B570 000684D0 40 81 00 0C */ ble lbl_8006B57C +lbl_8006B574: +/* 8006B574 000684D4 38 84 00 08 */ addi r4, r4, 8 +/* 8006B578 000684D8 42 00 FF FC */ bdnz lbl_8006B574 +lbl_8006B57C: +/* 8006B57C 000684DC 7C 04 30 50 */ subf r0, r4, r6 +/* 8006B580 000684E0 7C 09 03 A6 */ mtctr r0 +/* 8006B584 000684E4 7C 04 30 00 */ cmpw r4, r6 +/* 8006B588 000684E8 40 80 00 08 */ bge lbl_8006B590 +lbl_8006B58C: +/* 8006B58C 000684EC 42 00 00 00 */ bdnz lbl_8006B58C +lbl_8006B590: +/* 8006B590 000684F0 38 00 00 00 */ li r0, 0 +/* 8006B594 000684F4 90 03 00 28 */ stw r0, 0x28(r3) +lbl_8006B598: +/* 8006B598 000684F8 48 2A A3 99 */ bl Free__7CMemoryFPCv +lbl_8006B59C: +/* 8006B59C 000684FC 7F 60 07 75 */ extsb. r0, r27 +/* 8006B5A0 00068500 93 5F 02 A8 */ stw r26, 0x2a8(r31) +/* 8006B5A4 00068504 41 82 00 58 */ beq lbl_8006B5FC +/* 8006B5A8 00068508 80 A1 00 08 */ lwz r5, 8(r1) +/* 8006B5AC 0006850C 38 60 00 00 */ li r3, 0 +/* 8006B5B0 00068510 2C 05 00 00 */ cmpwi r5, 0 +/* 8006B5B4 00068514 40 81 00 40 */ ble lbl_8006B5F4 +/* 8006B5B8 00068518 2C 05 00 08 */ cmpwi r5, 8 +/* 8006B5BC 0006851C 38 85 FF F8 */ addi r4, r5, -8 +/* 8006B5C0 00068520 40 81 00 20 */ ble lbl_8006B5E0 +/* 8006B5C4 00068524 38 04 00 07 */ addi r0, r4, 7 +/* 8006B5C8 00068528 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006B5CC 0006852C 7C 09 03 A6 */ mtctr r0 +/* 8006B5D0 00068530 2C 04 00 00 */ cmpwi r4, 0 +/* 8006B5D4 00068534 40 81 00 0C */ ble lbl_8006B5E0 +lbl_8006B5D8: +/* 8006B5D8 00068538 38 63 00 08 */ addi r3, r3, 8 +/* 8006B5DC 0006853C 42 00 FF FC */ bdnz lbl_8006B5D8 +lbl_8006B5E0: +/* 8006B5E0 00068540 7C 03 28 50 */ subf r0, r3, r5 +/* 8006B5E4 00068544 7C 09 03 A6 */ mtctr r0 +/* 8006B5E8 00068548 7C 03 28 00 */ cmpw r3, r5 +/* 8006B5EC 0006854C 40 80 00 08 */ bge lbl_8006B5F4 +lbl_8006B5F0: +/* 8006B5F0 00068550 42 00 00 00 */ bdnz lbl_8006B5F0 +lbl_8006B5F4: +/* 8006B5F4 00068554 38 00 00 00 */ li r0, 0 +/* 8006B5F8 00068558 90 01 00 08 */ stw r0, 8(r1) +lbl_8006B5FC: +/* 8006B5FC 0006855C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006B600 00068560 38 60 00 48 */ li r3, 0x48 +/* 8006B604 00068564 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006B608 00068568 38 A0 00 00 */ li r5, 0 +/* 8006B60C 0006856C 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006B610 00068570 48 2A A2 5D */ bl __nw__FUlPCcPCc +/* 8006B614 00068574 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8006B618 00068578 41 82 00 14 */ beq lbl_8006B62C +/* 8006B61C 0006857C 80 9F 02 74 */ lwz r4, 0x274(r31) +/* 8006B620 00068580 7F C5 F3 78 */ mr r5, r30 +/* 8006B624 00068584 48 12 73 B9 */ bl __ct__18CHudRadarInterfaceFR9CGuiFrameRC13CStateManager +/* 8006B628 00068588 7C 7B 1B 78 */ mr r27, r3 +lbl_8006B62C: +/* 8006B62C 0006858C 83 5F 02 AC */ lwz r26, 0x2ac(r31) +/* 8006B630 00068590 28 1A 00 00 */ cmplwi r26, 0 +/* 8006B634 00068594 41 82 00 20 */ beq lbl_8006B654 +/* 8006B638 00068598 41 82 00 14 */ beq lbl_8006B64C +/* 8006B63C 0006859C 41 82 00 10 */ beq lbl_8006B64C +/* 8006B640 000685A0 7F 43 D3 78 */ mr r3, r26 +/* 8006B644 000685A4 38 80 00 00 */ li r4, 0 +/* 8006B648 000685A8 48 2D 57 F9 */ bl __dt__6CTokenFv +lbl_8006B64C: +/* 8006B64C 000685AC 7F 43 D3 78 */ mr r3, r26 +/* 8006B650 000685B0 48 2A A2 E1 */ bl Free__7CMemoryFPCv +lbl_8006B654: +/* 8006B654 000685B4 93 7F 02 AC */ stw r27, 0x2ac(r31) +/* 8006B658 000685B8 7F E3 FB 78 */ mr r3, r31 +/* 8006B65C 000685BC 7F C4 F3 78 */ mr r4, r30 +/* 8006B660 000685C0 48 00 1C 11 */ bl InitializeFrameGluePermanent__9CSamusHudFRC13CStateManager +/* 8006B664 000685C4 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 8006B668 000685C8 7F E3 FB 78 */ mr r3, r31 +/* 8006B66C 000685CC 7F C4 F3 78 */ mr r4, r30 +/* 8006B670 000685D0 38 A0 00 01 */ li r5, 1 +/* 8006B674 000685D4 4B FF DB 45 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb +/* 8006B678 000685D8 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 8006B67C 000685DC 7F E3 FB 78 */ mr r3, r31 +/* 8006B680 000685E0 7F C4 F3 78 */ mr r4, r30 +/* 8006B684 000685E4 38 A0 00 01 */ li r5, 1 +/* 8006B688 000685E8 4B FF DA 0D */ bl UpdateMissile__9CSamusHudFfRC13CStateManagerb +/* 8006B68C 000685EC 7F E3 FB 78 */ mr r3, r31 +/* 8006B690 000685F0 7F C4 F3 78 */ mr r4, r30 +/* 8006B694 000685F4 38 A0 00 01 */ li r5, 1 +/* 8006B698 000685F8 4B FF D9 2D */ bl UpdateBallMode__9CSamusHudFRC13CStateManagerb +/* 8006B69C 000685FC 7F E3 FB 78 */ mr r3, r31 +/* 8006B6A0 00068600 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 8006B6A4 00068604 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8006B6A8 00068608 7C 08 03 A6 */ mtlr r0 +/* 8006B6AC 0006860C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8006B6B0 00068610 4E 80 00 20 */ blr + +.global UpdateThreatAssessment__9CSamusHudFfRC13CStateManager +UpdateThreatAssessment__9CSamusHudFfRC13CStateManager: +/* 8006B6B4 00068614 94 21 F6 80 */ stwu r1, -0x980(r1) +/* 8006B6B8 00068618 7C 08 02 A6 */ mflr r0 +/* 8006B6BC 0006861C 90 01 09 84 */ stw r0, 0x984(r1) +/* 8006B6C0 00068620 DB E1 09 70 */ stfd f31, 0x970(r1) +/* 8006B6C4 00068624 F3 E1 09 78 */ psq_st f31, -1672(r1), 0, qr0 +/* 8006B6C8 00068628 DB C1 09 60 */ stfd f30, 0x960(r1) +/* 8006B6CC 0006862C F3 C1 09 68 */ psq_st f30, -1688(r1), 0, qr0 +/* 8006B6D0 00068630 DB A1 09 50 */ stfd f29, 0x950(r1) +/* 8006B6D4 00068634 F3 A1 09 58 */ psq_st f29, -1704(r1), 0, qr0 +/* 8006B6D8 00068638 DB 81 09 40 */ stfd f28, 0x940(r1) +/* 8006B6DC 0006863C F3 81 09 48 */ psq_st f28, -1720(r1), 0, qr0 +/* 8006B6E0 00068640 93 E1 09 3C */ stw r31, 0x93c(r1) +/* 8006B6E4 00068644 93 C1 09 38 */ stw r30, 0x938(r1) +/* 8006B6E8 00068648 93 A1 09 34 */ stw r29, 0x934(r1) +/* 8006B6EC 0006864C 93 81 09 30 */ stw r28, 0x930(r1) +/* 8006B6F0 00068650 80 AD 82 F8 */ lwz r5, lbl_805A6EB8@sda21(r13) +/* 8006B6F4 00068654 7C 7C 1B 78 */ mr r28, r3 +/* 8006B6F8 00068658 7C 9D 23 78 */ mr r29, r4 +/* 8006B6FC 0006865C 38 60 00 00 */ li r3, 0 +/* 8006B700 00068660 38 80 00 01 */ li r4, 1 +/* 8006B704 00068664 48 31 E7 F1 */ bl __shl2i +/* 8006B708 00068668 38 C0 00 01 */ li r6, 1 +/* 8006B70C 0006866C 38 00 00 00 */ li r0, 0 +/* 8006B710 00068670 90 61 01 08 */ stw r3, 0x108(r1) +/* 8006B714 00068674 3C 60 80 5A */ lis r3, lbl_805A6784@ha +/* 8006B718 00068678 38 A3 67 84 */ addi r5, r3, lbl_805A6784@l +/* 8006B71C 0006867C 80 FD 08 4C */ lwz r7, 0x84c(r29) +/* 8006B720 00068680 90 81 01 0C */ stw r4, 0x10c(r1) +/* 8006B724 00068684 38 61 00 50 */ addi r3, r1, 0x50 +/* 8006B728 00068688 C0 A5 00 00 */ lfs f5, 0(r5) +/* 8006B72C 0006868C 7C E4 3B 78 */ mr r4, r7 +/* 8006B730 00068690 90 01 01 14 */ stw r0, 0x114(r1) +/* 8006B734 00068694 C0 85 00 04 */ lfs f4, 4(r5) +/* 8006B738 00068698 90 01 01 10 */ stw r0, 0x110(r1) +/* 8006B73C 0006869C C0 65 00 08 */ lfs f3, 8(r5) +/* 8006B740 000686A0 90 C1 01 18 */ stw r6, 0x118(r1) +/* 8006B744 000686A4 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 8006B748 000686A8 C3 A7 00 60 */ lfs f29, 0x60(r7) +/* 8006B74C 000686AC C3 C7 00 50 */ lfs f30, 0x50(r7) +/* 8006B750 000686B0 C3 E7 00 40 */ lfs f31, 0x40(r7) +/* 8006B754 000686B4 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8006B758 000686B8 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8006B75C 000686BC D0 A1 00 F0 */ stfs f5, 0xf0(r1) +/* 8006B760 000686C0 D0 81 00 F4 */ stfs f4, 0xf4(r1) +/* 8006B764 000686C4 D0 61 00 F8 */ stfs f3, 0xf8(r1) +/* 8006B768 000686C8 D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 8006B76C 000686CC D0 21 01 00 */ stfs f1, 0x100(r1) +/* 8006B770 000686D0 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 8006B774 000686D4 81 87 00 00 */ lwz r12, 0(r7) +/* 8006B778 000686D8 90 C1 00 80 */ stw r6, 0x80(r1) +/* 8006B77C 000686DC 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8006B780 000686E0 7D 89 03 A6 */ mtctr r12 +/* 8006B784 000686E4 4E 80 04 21 */ bctrl +/* 8006B788 000686E8 88 01 00 68 */ lbz r0, 0x68(r1) +/* 8006B78C 000686EC 28 00 00 00 */ cmplwi r0, 0 +/* 8006B790 000686F0 98 01 00 EC */ stb r0, 0xec(r1) +/* 8006B794 000686F4 41 82 00 3C */ beq lbl_8006B7D0 +/* 8006B798 000686F8 34 61 00 D4 */ addic. r3, r1, 0xd4 +/* 8006B79C 000686FC 41 82 00 34 */ beq lbl_8006B7D0 +/* 8006B7A0 00068700 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8006B7A4 00068704 D0 03 00 00 */ stfs f0, 0(r3) +/* 8006B7A8 00068708 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8006B7AC 0006870C D0 03 00 04 */ stfs f0, 4(r3) +/* 8006B7B0 00068710 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8006B7B4 00068714 D0 03 00 08 */ stfs f0, 8(r3) +/* 8006B7B8 00068718 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8006B7BC 0006871C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8006B7C0 00068720 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8006B7C4 00068724 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8006B7C8 00068728 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8006B7CC 0006872C D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8006B7D0: +/* 8006B7D0 00068730 88 01 00 EC */ lbz r0, 0xec(r1) +/* 8006B7D4 00068734 38 60 00 00 */ li r3, 0 +/* 8006B7D8 00068738 98 61 00 68 */ stb r3, 0x68(r1) +/* 8006B7DC 0006873C 28 00 00 00 */ cmplwi r0, 0 +/* 8006B7E0 00068740 41 82 00 34 */ beq lbl_8006B814 +/* 8006B7E4 00068744 80 E1 00 D4 */ lwz r7, 0xd4(r1) +/* 8006B7E8 00068748 80 C1 00 D8 */ lwz r6, 0xd8(r1) +/* 8006B7EC 0006874C 80 A1 00 DC */ lwz r5, 0xdc(r1) +/* 8006B7F0 00068750 80 81 00 E0 */ lwz r4, 0xe0(r1) +/* 8006B7F4 00068754 80 61 00 E4 */ lwz r3, 0xe4(r1) +/* 8006B7F8 00068758 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8006B7FC 0006875C 90 E1 00 F0 */ stw r7, 0xf0(r1) +/* 8006B800 00068760 90 C1 00 F4 */ stw r6, 0xf4(r1) +/* 8006B804 00068764 90 A1 00 F8 */ stw r5, 0xf8(r1) +/* 8006B808 00068768 90 81 00 FC */ stw r4, 0xfc(r1) +/* 8006B80C 0006876C 90 61 01 00 */ stw r3, 0x100(r1) +/* 8006B810 00068770 90 01 01 04 */ stw r0, 0x104(r1) +lbl_8006B814: +/* 8006B814 00068774 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8006B818 00068778 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8006B81C 0006877C 38 C3 67 54 */ addi r6, r3, lbl_805A6754@l +/* 8006B820 00068780 38 61 00 BC */ addi r3, r1, 0xbc +/* 8006B824 00068784 C0 A6 00 00 */ lfs f5, 0(r6) +/* 8006B828 00068788 38 81 00 28 */ addi r4, r1, 0x28 +/* 8006B82C 0006878C C0 86 00 04 */ lfs f4, 4(r6) +/* 8006B830 00068790 C0 66 00 08 */ lfs f3, 8(r6) +/* 8006B834 00068794 C0 46 00 0C */ lfs f2, 0xc(r6) +/* 8006B838 00068798 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8006B83C 0006879C C0 06 00 14 */ lfs f0, 0x14(r6) +/* 8006B840 000687A0 D0 A1 00 BC */ stfs f5, 0xbc(r1) +/* 8006B844 000687A4 D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 8006B848 000687A8 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 8006B84C 000687AC D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 8006B850 000687B0 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 8006B854 000687B4 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 8006B858 000687B8 C3 85 00 E4 */ lfs f28, 0xe4(r5) +/* 8006B85C 000687BC FC 00 E0 50 */ fneg f0, f28 +/* 8006B860 000687C0 EC 5F 00 2A */ fadds f2, f31, f0 +/* 8006B864 000687C4 EC 3E 00 2A */ fadds f1, f30, f0 +/* 8006B868 000687C8 EC 1D 00 2A */ fadds f0, f29, f0 +/* 8006B86C 000687CC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8006B870 000687D0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8006B874 000687D4 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8006B878 000687D8 48 2C C2 91 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8006B87C 000687DC EC 5F E0 2A */ fadds f2, f31, f28 +/* 8006B880 000687E0 38 61 00 BC */ addi r3, r1, 0xbc +/* 8006B884 000687E4 EC 3E E0 2A */ fadds f1, f30, f28 +/* 8006B888 000687E8 38 81 00 1C */ addi r4, r1, 0x1c +/* 8006B88C 000687EC EC 1D E0 2A */ fadds f0, f29, f28 +/* 8006B890 000687F0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8006B894 000687F4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8006B898 000687F8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8006B89C 000687FC 48 2C C2 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8006B8A0 00068800 38 00 00 00 */ li r0, 0 +/* 8006B8A4 00068804 7F A3 EB 78 */ mr r3, r29 +/* 8006B8A8 00068808 90 01 01 20 */ stw r0, 0x120(r1) +/* 8006B8AC 0006880C 38 81 01 20 */ addi r4, r1, 0x120 +/* 8006B8B0 00068810 38 A1 00 BC */ addi r5, r1, 0xbc +/* 8006B8B4 00068814 38 C1 01 08 */ addi r6, r1, 0x108 +/* 8006B8B8 00068818 38 E0 00 00 */ li r7, 0 +/* 8006B8BC 0006881C 4B FE 0E 65 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8006B8C0 00068820 C0 02 88 00 */ lfs f0, lbl_805AA520@sda21(r2) +/* 8006B8C4 00068824 3B E1 01 24 */ addi r31, r1, 0x124 +/* 8006B8C8 00068828 7F FE FB 78 */ mr r30, r31 +/* 8006B8CC 0006882C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8006B8D0 00068830 48 00 01 14 */ b lbl_8006B9E4 +lbl_8006B8D4: +/* 8006B8D4 00068834 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8006B8D8 00068838 7F A3 EB 78 */ mr r3, r29 +/* 8006B8DC 0006883C 38 81 00 08 */ addi r4, r1, 8 +/* 8006B8E0 00068840 B0 01 00 08 */ sth r0, 8(r1) +/* 8006B8E4 00068844 4B FE 0C C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8006B8E8 00068848 7C 64 1B 78 */ mr r4, r3 +/* 8006B8EC 0006884C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8006B8F0 00068850 48 03 B5 F9 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" +/* 8006B8F4 00068854 80 83 00 04 */ lwz r4, 4(r3) +/* 8006B8F8 00068858 28 04 00 00 */ cmplwi r4, 0 +/* 8006B8FC 0006885C 41 82 00 E4 */ beq lbl_8006B9E0 +/* 8006B900 00068860 80 04 01 2C */ lwz r0, 0x12c(r4) +/* 8006B904 00068864 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8006B908 00068868 41 82 00 D8 */ beq lbl_8006B9E0 +/* 8006B90C 0006886C C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 8006B910 00068870 C0 04 01 08 */ lfs f0, 0x108(r4) +/* 8006B914 00068874 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8006B918 00068878 41 82 00 C8 */ beq lbl_8006B9E0 +/* 8006B91C 0006887C 81 84 00 00 */ lwz r12, 0(r4) +/* 8006B920 00068880 38 61 00 34 */ addi r3, r1, 0x34 +/* 8006B924 00068884 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8006B928 00068888 7D 89 03 A6 */ mtctr r12 +/* 8006B92C 0006888C 4E 80 04 21 */ bctrl +/* 8006B930 00068890 88 01 00 4C */ lbz r0, 0x4c(r1) +/* 8006B934 00068894 28 00 00 00 */ cmplwi r0, 0 +/* 8006B938 00068898 98 01 00 B8 */ stb r0, 0xb8(r1) +/* 8006B93C 0006889C 41 82 00 3C */ beq lbl_8006B978 +/* 8006B940 000688A0 34 61 00 A0 */ addic. r3, r1, 0xa0 +/* 8006B944 000688A4 41 82 00 34 */ beq lbl_8006B978 +/* 8006B948 000688A8 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8006B94C 000688AC D0 03 00 00 */ stfs f0, 0(r3) +/* 8006B950 000688B0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8006B954 000688B4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8006B958 000688B8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8006B95C 000688BC D0 03 00 08 */ stfs f0, 8(r3) +/* 8006B960 000688C0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8006B964 000688C4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8006B968 000688C8 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8006B96C 000688CC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8006B970 000688D0 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8006B974 000688D4 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8006B978: +/* 8006B978 000688D8 88 01 00 B8 */ lbz r0, 0xb8(r1) +/* 8006B97C 000688DC 38 60 00 00 */ li r3, 0 +/* 8006B980 000688E0 98 61 00 4C */ stb r3, 0x4c(r1) +/* 8006B984 000688E4 28 00 00 00 */ cmplwi r0, 0 +/* 8006B988 000688E8 41 82 00 50 */ beq lbl_8006B9D8 +/* 8006B98C 000688EC C0 A1 00 A0 */ lfs f5, 0xa0(r1) +/* 8006B990 000688F0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8006B994 000688F4 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 8006B998 000688F8 38 81 00 88 */ addi r4, r1, 0x88 +/* 8006B99C 000688FC C0 61 00 A8 */ lfs f3, 0xa8(r1) +/* 8006B9A0 00068900 C0 41 00 AC */ lfs f2, 0xac(r1) +/* 8006B9A4 00068904 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 8006B9A8 00068908 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 8006B9AC 0006890C D0 A1 00 88 */ stfs f5, 0x88(r1) +/* 8006B9B0 00068910 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 8006B9B4 00068914 D0 61 00 90 */ stfs f3, 0x90(r1) +/* 8006B9B8 00068918 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8006B9BC 0006891C D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8006B9C0 00068920 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8006B9C4 00068924 48 2C B8 99 */ bl DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox +/* 8006B9C8 00068928 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8006B9CC 0006892C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8006B9D0 00068930 40 80 00 08 */ bge lbl_8006B9D8 +/* 8006B9D4 00068934 D0 21 00 10 */ stfs f1, 0x10(r1) +lbl_8006B9D8: +/* 8006B9D8 00068938 38 00 00 00 */ li r0, 0 +/* 8006B9DC 0006893C 98 01 00 B8 */ stb r0, 0xb8(r1) +lbl_8006B9E0: +/* 8006B9E0 00068940 3B DE 00 02 */ addi r30, r30, 2 +lbl_8006B9E4: +/* 8006B9E4 00068944 80 01 01 20 */ lwz r0, 0x120(r1) +/* 8006B9E8 00068948 54 00 08 3C */ slwi r0, r0, 1 +/* 8006B9EC 0006894C 7C 1F 02 14 */ add r0, r31, r0 +/* 8006B9F0 00068950 7C 1E 00 40 */ cmplw r30, r0 +/* 8006B9F4 00068954 40 82 FE E0 */ bne lbl_8006B8D4 +/* 8006B9F8 00068958 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8006B9FC 0006895C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 8006BA00 00068960 C0 23 0A 1C */ lfs f1, 0xa1c(r3) +/* 8006BA04 00068964 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8006BA08 00068968 40 81 00 3C */ ble lbl_8006BA44 +/* 8006BA0C 0006896C C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) +/* 8006BA10 00068970 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 8006BA14 00068974 EC 20 08 28 */ fsubs f1, f0, f1 +/* 8006BA18 00068978 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8006BA1C 0006897C C0 43 00 E4 */ lfs f2, 0xe4(r3) +/* 8006BA20 00068980 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8006BA24 00068984 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8006BA28 00068988 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8006BA2C 0006898C 40 80 00 0C */ bge lbl_8006BA38 +/* 8006BA30 00068990 38 61 00 0C */ addi r3, r1, 0xc +/* 8006BA34 00068994 48 00 00 08 */ b lbl_8006BA3C +lbl_8006BA38: +/* 8006BA38 00068998 38 61 00 10 */ addi r3, r1, 0x10 +lbl_8006BA3C: +/* 8006BA3C 0006899C C0 03 00 00 */ lfs f0, 0(r3) +/* 8006BA40 000689A0 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_8006BA44: +/* 8006BA44 000689A4 88 1D 0F 94 */ lbz r0, 0xf94(r29) +/* 8006BA48 000689A8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8006BA4C 000689AC 41 82 00 0C */ beq lbl_8006BA58 +/* 8006BA50 000689B0 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 8006BA54 000689B4 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_8006BA58: +/* 8006BA58 000689B8 80 7C 02 90 */ lwz r3, 0x290(r28) +/* 8006BA5C 000689BC 28 03 00 00 */ cmplwi r3, 0 +/* 8006BA60 000689C0 41 82 00 18 */ beq lbl_8006BA78 +/* 8006BA64 000689C4 81 83 00 00 */ lwz r12, 0(r3) +/* 8006BA68 000689C8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8006BA6C 000689CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8006BA70 000689D0 7D 89 03 A6 */ mtctr r12 +/* 8006BA74 000689D4 4E 80 04 21 */ bctrl +lbl_8006BA78: +/* 8006BA78 000689D8 80 A1 01 20 */ lwz r5, 0x120(r1) +/* 8006BA7C 000689DC 38 60 00 00 */ li r3, 0 +/* 8006BA80 000689E0 2C 05 00 00 */ cmpwi r5, 0 +/* 8006BA84 000689E4 40 81 00 40 */ ble lbl_8006BAC4 +/* 8006BA88 000689E8 2C 05 00 08 */ cmpwi r5, 8 +/* 8006BA8C 000689EC 38 85 FF F8 */ addi r4, r5, -8 +/* 8006BA90 000689F0 40 81 00 20 */ ble lbl_8006BAB0 +/* 8006BA94 000689F4 38 04 00 07 */ addi r0, r4, 7 +/* 8006BA98 000689F8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006BA9C 000689FC 7C 09 03 A6 */ mtctr r0 +/* 8006BAA0 00068A00 2C 04 00 00 */ cmpwi r4, 0 +/* 8006BAA4 00068A04 40 81 00 0C */ ble lbl_8006BAB0 +lbl_8006BAA8: +/* 8006BAA8 00068A08 38 63 00 08 */ addi r3, r3, 8 +/* 8006BAAC 00068A0C 42 00 FF FC */ bdnz lbl_8006BAA8 +lbl_8006BAB0: +/* 8006BAB0 00068A10 7C 03 28 50 */ subf r0, r3, r5 +/* 8006BAB4 00068A14 7C 09 03 A6 */ mtctr r0 +/* 8006BAB8 00068A18 7C 03 28 00 */ cmpw r3, r5 +/* 8006BABC 00068A1C 40 80 00 08 */ bge lbl_8006BAC4 +lbl_8006BAC0: +/* 8006BAC0 00068A20 42 00 00 00 */ bdnz lbl_8006BAC0 +lbl_8006BAC4: +/* 8006BAC4 00068A24 38 00 00 00 */ li r0, 0 +/* 8006BAC8 00068A28 90 01 01 20 */ stw r0, 0x120(r1) +/* 8006BACC 00068A2C 98 01 00 EC */ stb r0, 0xec(r1) +/* 8006BAD0 00068A30 E3 E1 09 78 */ psq_l f31, -1672(r1), 0, qr0 +/* 8006BAD4 00068A34 CB E1 09 70 */ lfd f31, 0x970(r1) +/* 8006BAD8 00068A38 E3 C1 09 68 */ psq_l f30, -1688(r1), 0, qr0 +/* 8006BADC 00068A3C CB C1 09 60 */ lfd f30, 0x960(r1) +/* 8006BAE0 00068A40 E3 A1 09 58 */ psq_l f29, -1704(r1), 0, qr0 +/* 8006BAE4 00068A44 CB A1 09 50 */ lfd f29, 0x950(r1) +/* 8006BAE8 00068A48 E3 81 09 48 */ psq_l f28, -1720(r1), 0, qr0 +/* 8006BAEC 00068A4C CB 81 09 40 */ lfd f28, 0x940(r1) +/* 8006BAF0 00068A50 83 E1 09 3C */ lwz r31, 0x93c(r1) +/* 8006BAF4 00068A54 83 C1 09 38 */ lwz r30, 0x938(r1) +/* 8006BAF8 00068A58 83 A1 09 34 */ lwz r29, 0x934(r1) +/* 8006BAFC 00068A5C 80 01 09 84 */ lwz r0, 0x984(r1) +/* 8006BB00 00068A60 83 81 09 30 */ lwz r28, 0x930(r1) +/* 8006BB04 00068A64 7C 08 03 A6 */ mtlr r0 +/* 8006BB08 00068A68 38 21 09 80 */ addi r1, r1, 0x980 +/* 8006BB0C 00068A6C 4E 80 00 20 */ blr + +.global _DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo +_DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo: +/* 8006BB10 00068A70 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006BB14 00068A74 7C 08 02 A6 */ mflr r0 +/* 8006BB18 00068A78 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006BB1C 00068A7C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8006BB20 00068A80 7C 7C 1B 78 */ mr r28, r3 +/* 8006BB24 00068A84 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006BB28 00068A88 7C BD 2B 78 */ mr r29, r5 +/* 8006BB2C 00068A8C 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l +/* 8006BB30 00068A90 7C 9E 23 78 */ mr r30, r4 +/* 8006BB34 00068A94 38 83 01 3B */ addi r4, r3, 0x13b +/* 8006BB38 00068A98 3B 60 00 00 */ li r27, 0 +/* 8006BB3C 00068A9C 38 60 00 08 */ li r3, 8 +/* 8006BB40 00068AA0 38 A0 00 00 */ li r5, 0 +/* 8006BB44 00068AA4 C0 06 00 00 */ lfs f0, 0(r6) +/* 8006BB48 00068AA8 D0 1C 05 48 */ stfs f0, 0x548(r28) +/* 8006BB4C 00068AAC 88 06 00 04 */ lbz r0, 4(r6) +/* 8006BB50 00068AB0 98 1C 05 4C */ stb r0, 0x54c(r28) +/* 8006BB54 00068AB4 88 06 00 05 */ lbz r0, 5(r6) +/* 8006BB58 00068AB8 98 1C 05 4D */ stb r0, 0x54d(r28) +/* 8006BB5C 00068ABC 88 06 00 06 */ lbz r0, 6(r6) +/* 8006BB60 00068AC0 98 1C 05 4E */ stb r0, 0x54e(r28) +/* 8006BB64 00068AC4 48 2A 9D 09 */ bl __nw__FUlPCcPCc +/* 8006BB68 00068AC8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8006BB6C 00068ACC 41 82 00 40 */ beq lbl_8006BBAC +/* 8006BB70 00068AD0 3C 60 53 54 */ lis r3, 0x53545247@ha +/* 8006BB74 00068AD4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8006BB78 00068AD8 38 03 52 47 */ addi r0, r3, 0x53545247@l +/* 8006BB7C 00068ADC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8006BB80 00068AE0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8006BB84 00068AE4 38 61 00 08 */ addi r3, r1, 8 +/* 8006BB88 00068AE8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8006BB8C 00068AEC 81 84 00 00 */ lwz r12, 0(r4) +/* 8006BB90 00068AF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8006BB94 00068AF4 7D 89 03 A6 */ mtctr r12 +/* 8006BB98 00068AF8 4E 80 04 21 */ bctrl +/* 8006BB9C 00068AFC 7F E3 FB 78 */ mr r3, r31 +/* 8006BBA0 00068B00 38 81 00 08 */ addi r4, r1, 8 +/* 8006BBA4 00068B04 3B 60 00 01 */ li r27, 1 +/* 8006BBA8 00068B08 48 2D 53 01 */ bl __ct__6CTokenFRC6CToken +lbl_8006BBAC: +/* 8006BBAC 00068B0C 83 DC 05 50 */ lwz r30, 0x550(r28) +/* 8006BBB0 00068B10 28 1E 00 00 */ cmplwi r30, 0 +/* 8006BBB4 00068B14 41 82 00 18 */ beq lbl_8006BBCC +/* 8006BBB8 00068B18 7F C3 F3 78 */ mr r3, r30 +/* 8006BBBC 00068B1C 38 80 00 00 */ li r4, 0 +/* 8006BBC0 00068B20 48 2D 52 81 */ bl __dt__6CTokenFv +/* 8006BBC4 00068B24 7F C3 F3 78 */ mr r3, r30 +/* 8006BBC8 00068B28 48 2A 9D 69 */ bl Free__7CMemoryFPCv +lbl_8006BBCC: +/* 8006BBCC 00068B2C 7F 60 07 75 */ extsb. r0, r27 +/* 8006BBD0 00068B30 93 FC 05 50 */ stw r31, 0x550(r28) +/* 8006BBD4 00068B34 41 82 00 10 */ beq lbl_8006BBE4 +/* 8006BBD8 00068B38 38 61 00 08 */ addi r3, r1, 8 +/* 8006BBDC 00068B3C 38 80 FF FF */ li r4, -1 +/* 8006BBE0 00068B40 48 2D 52 61 */ bl __dt__6CTokenFv +lbl_8006BBE4: +/* 8006BBE4 00068B44 80 7C 05 50 */ lwz r3, 0x550(r28) +/* 8006BBE8 00068B48 48 2D 51 9D */ bl Lock__6CTokenFv +/* 8006BBEC 00068B4C 93 BC 05 54 */ stw r29, 0x554(r28) +/* 8006BBF0 00068B50 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8006BBF4 00068B54 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006BBF8 00068B58 7C 08 03 A6 */ mtlr r0 +/* 8006BBFC 00068B5C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006BC00 00068B60 4E 80 00 20 */ blr + +.global "InternalDisplayHudMemo__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" +"InternalDisplayHudMemo__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms": +/* 8006BC04 00068B64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006BC08 00068B68 7C 08 02 A6 */ mflr r0 +/* 8006BC0C 00068B6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006BC10 00068B70 4B FF 8B F1 */ bl "SetMessage__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" +/* 8006BC14 00068B74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006BC18 00068B78 7C 08 03 A6 */ mtlr r0 +/* 8006BC1C 00068B7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006BC20 00068B80 4E 80 00 20 */ blr + +.global DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo +DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo: +/* 8006BC24 00068B84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006BC28 00068B88 7C 08 02 A6 */ mflr r0 +/* 8006BC2C 00068B8C 7C 68 1B 78 */ mr r8, r3 +/* 8006BC30 00068B90 7C 87 23 78 */ mr r7, r4 +/* 8006BC34 00068B94 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006BC38 00068B98 7C A6 2B 78 */ mr r6, r5 +/* 8006BC3C 00068B9C 80 0D A2 28 */ lwz r0, lbl_805A8DE8@sda21(r13) +/* 8006BC40 00068BA0 28 00 00 00 */ cmplwi r0, 0 +/* 8006BC44 00068BA4 41 82 00 14 */ beq lbl_8006BC58 +/* 8006BC48 00068BA8 7C 03 03 78 */ mr r3, r0 +/* 8006BC4C 00068BAC 7D 04 43 78 */ mr r4, r8 +/* 8006BC50 00068BB0 7C E5 3B 78 */ mr r5, r7 +/* 8006BC54 00068BB4 4B FF FE BD */ bl _DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo +lbl_8006BC58: +/* 8006BC58 00068BB8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006BC5C 00068BBC 7C 08 03 A6 */ mtlr r0 +/* 8006BC60 00068BC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006BC64 00068BC4 4E 80 00 20 */ blr + +.global DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo +DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo: +/* 8006BC68 00068BC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006BC6C 00068BCC 7C 08 02 A6 */ mflr r0 +/* 8006BC70 00068BD0 7C 66 1B 78 */ mr r6, r3 +/* 8006BC74 00068BD4 7C 85 23 78 */ mr r5, r4 +/* 8006BC78 00068BD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006BC7C 00068BDC 80 0D A2 28 */ lwz r0, lbl_805A8DE8@sda21(r13) +/* 8006BC80 00068BE0 28 00 00 00 */ cmplwi r0, 0 +/* 8006BC84 00068BE4 41 82 00 10 */ beq lbl_8006BC94 +/* 8006BC88 00068BE8 7C 03 03 78 */ mr r3, r0 +/* 8006BC8C 00068BEC 7C C4 33 78 */ mr r4, r6 +/* 8006BC90 00068BF0 4B FF FF 75 */ bl "InternalDisplayHudMemo__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" +lbl_8006BC94: +/* 8006BC94 00068BF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006BC98 00068BF8 7C 08 03 A6 */ mtlr r0 +/* 8006BC9C 00068BFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006BCA0 00068C00 4E 80 00 20 */ blr + +.global UninitializeFrameGlueMutable__9CSamusHudFv +UninitializeFrameGlueMutable__9CSamusHudFv: +/* 8006BCA4 00068C04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006BCA8 00068C08 7C 08 02 A6 */ mflr r0 +/* 8006BCAC 00068C0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006BCB0 00068C10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006BCB4 00068C14 7C 7F 1B 78 */ mr r31, r3 +/* 8006BCB8 00068C18 80 63 02 B4 */ lwz r3, 0x2b4(r3) +/* 8006BCBC 00068C1C 48 2A 9C 75 */ bl Free__7CMemoryFPCv +/* 8006BCC0 00068C20 38 00 00 00 */ li r0, 0 +/* 8006BCC4 00068C24 90 1F 02 B4 */ stw r0, 0x2b4(r31) +/* 8006BCC8 00068C28 80 7F 02 8C */ lwz r3, 0x28c(r31) +/* 8006BCCC 00068C2C 48 2A 9C 65 */ bl Free__7CMemoryFPCv +/* 8006BCD0 00068C30 38 00 00 00 */ li r0, 0 +/* 8006BCD4 00068C34 90 1F 02 8C */ stw r0, 0x28c(r31) +/* 8006BCD8 00068C38 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8006BCDC 00068C3C 28 03 00 00 */ cmplwi r3, 0 +/* 8006BCE0 00068C40 41 82 00 18 */ beq lbl_8006BCF8 +/* 8006BCE4 00068C44 81 83 00 00 */ lwz r12, 0(r3) +/* 8006BCE8 00068C48 38 80 00 01 */ li r4, 1 +/* 8006BCEC 00068C4C 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8006BCF0 00068C50 7D 89 03 A6 */ mtctr r12 +/* 8006BCF4 00068C54 4E 80 04 21 */ bctrl +lbl_8006BCF8: +/* 8006BCF8 00068C58 38 00 00 00 */ li r0, 0 +/* 8006BCFC 00068C5C 90 1F 02 9C */ stw r0, 0x29c(r31) +/* 8006BD00 00068C60 80 7F 02 90 */ lwz r3, 0x290(r31) +/* 8006BD04 00068C64 28 03 00 00 */ cmplwi r3, 0 +/* 8006BD08 00068C68 41 82 00 18 */ beq lbl_8006BD20 +/* 8006BD0C 00068C6C 81 83 00 00 */ lwz r12, 0(r3) +/* 8006BD10 00068C70 38 80 00 01 */ li r4, 1 +/* 8006BD14 00068C74 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006BD18 00068C78 7D 89 03 A6 */ mtctr r12 +/* 8006BD1C 00068C7C 4E 80 04 21 */ bctrl +lbl_8006BD20: +/* 8006BD20 00068C80 38 00 00 00 */ li r0, 0 +/* 8006BD24 00068C84 90 1F 02 90 */ stw r0, 0x290(r31) +/* 8006BD28 00068C88 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8006BD2C 00068C8C 48 2A 9C 05 */ bl Free__7CMemoryFPCv +/* 8006BD30 00068C90 38 00 00 00 */ li r0, 0 +/* 8006BD34 00068C94 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8006BD38 00068C98 80 7F 02 98 */ lwz r3, 0x298(r31) +/* 8006BD3C 00068C9C 28 03 00 00 */ cmplwi r3, 0 +/* 8006BD40 00068CA0 41 82 00 18 */ beq lbl_8006BD58 +/* 8006BD44 00068CA4 81 83 00 00 */ lwz r12, 0(r3) +/* 8006BD48 00068CA8 38 80 00 01 */ li r4, 1 +/* 8006BD4C 00068CAC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006BD50 00068CB0 7D 89 03 A6 */ mtctr r12 +/* 8006BD54 00068CB4 4E 80 04 21 */ bctrl +lbl_8006BD58: +/* 8006BD58 00068CB8 38 80 00 00 */ li r4, 0 +/* 8006BD5C 00068CBC 90 9F 02 98 */ stw r4, 0x298(r31) +/* 8006BD60 00068CC0 80 7F 02 B0 */ lwz r3, 0x2b0(r31) +/* 8006BD64 00068CC4 28 03 00 00 */ cmplwi r3, 0 +/* 8006BD68 00068CC8 41 82 00 BC */ beq lbl_8006BE24 +/* 8006BD6C 00068CCC 34 03 00 24 */ addic. r0, r3, 0x24 +/* 8006BD70 00068CD0 41 82 00 54 */ beq lbl_8006BDC4 +/* 8006BD74 00068CD4 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 8006BD78 00068CD8 2C 06 00 00 */ cmpwi r6, 0 +/* 8006BD7C 00068CDC 40 81 00 40 */ ble lbl_8006BDBC +/* 8006BD80 00068CE0 2C 06 00 08 */ cmpwi r6, 8 +/* 8006BD84 00068CE4 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006BD88 00068CE8 40 81 00 20 */ ble lbl_8006BDA8 +/* 8006BD8C 00068CEC 38 05 00 07 */ addi r0, r5, 7 +/* 8006BD90 00068CF0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006BD94 00068CF4 7C 09 03 A6 */ mtctr r0 +/* 8006BD98 00068CF8 2C 05 00 00 */ cmpwi r5, 0 +/* 8006BD9C 00068CFC 40 81 00 0C */ ble lbl_8006BDA8 +lbl_8006BDA0: +/* 8006BDA0 00068D00 38 84 00 08 */ addi r4, r4, 8 +/* 8006BDA4 00068D04 42 00 FF FC */ bdnz lbl_8006BDA0 +lbl_8006BDA8: +/* 8006BDA8 00068D08 7C 04 30 50 */ subf r0, r4, r6 +/* 8006BDAC 00068D0C 7C 09 03 A6 */ mtctr r0 +/* 8006BDB0 00068D10 7C 04 30 00 */ cmpw r4, r6 +/* 8006BDB4 00068D14 40 80 00 08 */ bge lbl_8006BDBC +lbl_8006BDB8: +/* 8006BDB8 00068D18 42 00 00 00 */ bdnz lbl_8006BDB8 +lbl_8006BDBC: +/* 8006BDBC 00068D1C 38 00 00 00 */ li r0, 0 +/* 8006BDC0 00068D20 90 03 00 24 */ stw r0, 0x24(r3) +lbl_8006BDC4: +/* 8006BDC4 00068D24 34 03 00 14 */ addic. r0, r3, 0x14 +/* 8006BDC8 00068D28 41 82 00 58 */ beq lbl_8006BE20 +/* 8006BDCC 00068D2C 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 8006BDD0 00068D30 38 80 00 00 */ li r4, 0 +/* 8006BDD4 00068D34 2C 06 00 00 */ cmpwi r6, 0 +/* 8006BDD8 00068D38 40 81 00 40 */ ble lbl_8006BE18 +/* 8006BDDC 00068D3C 2C 06 00 08 */ cmpwi r6, 8 +/* 8006BDE0 00068D40 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006BDE4 00068D44 40 81 00 20 */ ble lbl_8006BE04 +/* 8006BDE8 00068D48 38 05 00 07 */ addi r0, r5, 7 +/* 8006BDEC 00068D4C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006BDF0 00068D50 7C 09 03 A6 */ mtctr r0 +/* 8006BDF4 00068D54 2C 05 00 00 */ cmpwi r5, 0 +/* 8006BDF8 00068D58 40 81 00 0C */ ble lbl_8006BE04 +lbl_8006BDFC: +/* 8006BDFC 00068D5C 38 84 00 08 */ addi r4, r4, 8 +/* 8006BE00 00068D60 42 00 FF FC */ bdnz lbl_8006BDFC +lbl_8006BE04: +/* 8006BE04 00068D64 7C 04 30 50 */ subf r0, r4, r6 +/* 8006BE08 00068D68 7C 09 03 A6 */ mtctr r0 +/* 8006BE0C 00068D6C 7C 04 30 00 */ cmpw r4, r6 +/* 8006BE10 00068D70 40 80 00 08 */ bge lbl_8006BE18 +lbl_8006BE14: +/* 8006BE14 00068D74 42 00 00 00 */ bdnz lbl_8006BE14 +lbl_8006BE18: +/* 8006BE18 00068D78 38 00 00 00 */ li r0, 0 +/* 8006BE1C 00068D7C 90 03 00 14 */ stw r0, 0x14(r3) +lbl_8006BE20: +/* 8006BE20 00068D80 48 2A 9B 11 */ bl Free__7CMemoryFPCv +lbl_8006BE24: +/* 8006BE24 00068D84 38 00 00 00 */ li r0, 0 +/* 8006BE28 00068D88 90 1F 02 B0 */ stw r0, 0x2b0(r31) +/* 8006BE2C 00068D8C 90 1F 03 D4 */ stw r0, 0x3d4(r31) +/* 8006BE30 00068D90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8006BE34 00068D94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006BE38 00068D98 7C 08 03 A6 */ mtlr r0 +/* 8006BE3C 00068D9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006BE40 00068DA0 4E 80 00 20 */ blr + +.global InitializeFrameGlueMutable__9CSamusHudFRC13CStateManager +InitializeFrameGlueMutable__9CSamusHudFRC13CStateManager: +/* 8006BE44 00068DA4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8006BE48 00068DA8 7C 08 02 A6 */ mflr r0 +/* 8006BE4C 00068DAC 90 01 00 64 */ stw r0, 0x64(r1) +/* 8006BE50 00068DB0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8006BE54 00068DB4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8006BE58 00068DB8 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 8006BE5C 00068DBC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 8006BE60 00068DC0 BE E1 00 1C */ stmw r23, 0x1c(r1) +/* 8006BE64 00068DC4 7C 7F 1B 78 */ mr r31, r3 +/* 8006BE68 00068DC8 7C 9D 23 78 */ mr r29, r4 +/* 8006BE6C 00068DCC 48 02 59 B9 */ bl GetEnergyTankCapacity__12CPlayerStateFv +/* 8006BE70 00068DD0 FC 40 08 90 */ fmr f2, f1 +/* 8006BE74 00068DD4 C0 3F 02 D0 */ lfs f1, 0x2d0(r31) +/* 8006BE78 00068DD8 48 32 8E 35 */ bl fmod +/* 8006BE7C 00068DDC FF E0 08 18 */ frsp f31, f1 +/* 8006BE80 00068DE0 48 02 59 A5 */ bl GetEnergyTankCapacity__12CPlayerStateFv +/* 8006BE84 00068DE4 C0 1F 02 D0 */ lfs f0, 0x2d0(r31) +/* 8006BE88 00068DE8 80 FD 08 4C */ lwz r7, 0x84c(r29) +/* 8006BE8C 00068DEC EC 00 08 24 */ fdivs f0, f0, f1 +/* 8006BE90 00068DF0 80 67 04 90 */ lwz r3, 0x490(r7) +/* 8006BE94 00068DF4 88 03 08 34 */ lbz r0, 0x834(r3) +/* 8006BE98 00068DF8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8006BE9C 00068DFC FC 00 00 1E */ fctiwz f0, f0 +/* 8006BEA0 00068E00 D8 01 00 08 */ stfd f0, 8(r1) +/* 8006BEA4 00068E04 83 C1 00 0C */ lwz r30, 0xc(r1) +/* 8006BEA8 00068E08 41 82 00 0C */ beq lbl_8006BEB4 +/* 8006BEAC 00068E0C C3 C3 03 40 */ lfs f30, 0x340(r3) +/* 8006BEB0 00068E10 48 00 00 08 */ b lbl_8006BEB8 +lbl_8006BEB4: +/* 8006BEB4 00068E14 C3 C2 87 34 */ lfs f30, lbl_805AA454@sda21(r2) +lbl_8006BEB8: +/* 8006BEB8 00068E18 80 63 03 1C */ lwz r3, 0x31c(r3) +/* 8006BEBC 00068E1C 80 1F 02 BC */ lwz r0, 0x2bc(r31) +/* 8006BEC0 00068E20 20 83 00 01 */ subfic r4, r3, 1 +/* 8006BEC4 00068E24 A0 A7 03 10 */ lhz r5, 0x310(r7) +/* 8006BEC8 00068E28 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 8006BECC 00068E2C 7C 86 00 34 */ cntlzw r6, r4 +/* 8006BED0 00068E30 2C 00 00 03 */ cmpwi r0, 3 +/* 8006BED4 00068E34 7C 85 18 50 */ subf r4, r5, r3 +/* 8006BED8 00068E38 7C 63 28 50 */ subf r3, r3, r5 +/* 8006BEDC 00068E3C 7C 83 1B 78 */ or r3, r4, r3 +/* 8006BEE0 00068E40 54 DB D9 7E */ srwi r27, r6, 5 +/* 8006BEE4 00068E44 54 7C 0F FE */ srwi r28, r3, 0x1f +/* 8006BEE8 00068E48 41 82 05 90 */ beq lbl_8006C478 +/* 8006BEEC 00068E4C 40 80 00 1C */ bge lbl_8006BF08 +/* 8006BEF0 00068E50 2C 00 00 01 */ cmpwi r0, 1 +/* 8006BEF4 00068E54 41 82 06 F0 */ beq lbl_8006C5E4 +/* 8006BEF8 00068E58 40 80 09 04 */ bge lbl_8006C7FC +/* 8006BEFC 00068E5C 2C 00 00 00 */ cmpwi r0, 0 +/* 8006BF00 00068E60 40 80 00 18 */ bge lbl_8006BF18 +/* 8006BF04 00068E64 48 00 0B 1C */ b lbl_8006CA20 +lbl_8006BF08: +/* 8006BF08 00068E68 2C 00 00 05 */ cmpwi r0, 5 +/* 8006BF0C 00068E6C 41 82 0B 0C */ beq lbl_8006CA18 +/* 8006BF10 00068E70 40 80 0B 10 */ bge lbl_8006CA20 +/* 8006BF14 00068E74 48 00 02 B4 */ b lbl_8006C1C8 +lbl_8006BF18: +/* 8006BF18 00068E78 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006BF1C 00068E7C 38 60 00 20 */ li r3, 0x20 +/* 8006BF20 00068E80 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006BF24 00068E84 38 A0 00 00 */ li r5, 0 +/* 8006BF28 00068E88 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006BF2C 00068E8C 48 2A 99 41 */ bl __nw__FUlPCcPCc +/* 8006BF30 00068E90 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8006BF34 00068E94 41 82 00 10 */ beq lbl_8006BF44 +/* 8006BF38 00068E98 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006BF3C 00068E9C 48 12 36 05 */ bl __ct__23CHudBossEnergyInterfaceFR9CGuiFrame +/* 8006BF40 00068EA0 7C 7A 1B 78 */ mr r26, r3 +lbl_8006BF44: +/* 8006BF44 00068EA4 80 7F 02 B4 */ lwz r3, 0x2b4(r31) +/* 8006BF48 00068EA8 48 2A 99 E9 */ bl Free__7CMemoryFPCv +/* 8006BF4C 00068EAC 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006BF50 00068EB0 93 5F 02 B4 */ stw r26, 0x2b4(r31) +/* 8006BF54 00068EB4 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006BF58 00068EB8 38 60 00 30 */ li r3, 0x30 +/* 8006BF5C 00068EBC 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006BF60 00068EC0 38 A0 00 00 */ li r5, 0 +/* 8006BF64 00068EC4 48 2A 99 09 */ bl __nw__FUlPCcPCc +/* 8006BF68 00068EC8 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8006BF6C 00068ECC 41 82 00 28 */ beq lbl_8006BF94 +/* 8006BF70 00068ED0 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006BF74 00068ED4 FC 20 F8 90 */ fmr f1, f31 +/* 8006BF78 00068ED8 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006BF7C 00068EDC 7F C6 F3 78 */ mr r6, r30 +/* 8006BF80 00068EE0 80 BF 02 D4 */ lwz r5, 0x2d4(r31) +/* 8006BF84 00068EE4 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f +/* 8006BF88 00068EE8 39 00 00 00 */ li r8, 0 +/* 8006BF8C 00068EEC 48 12 3B A9 */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi +/* 8006BF90 00068EF0 7C 7A 1B 78 */ mr r26, r3 +lbl_8006BF94: +/* 8006BF94 00068EF4 80 7F 02 8C */ lwz r3, 0x28c(r31) +/* 8006BF98 00068EF8 48 2A 99 99 */ bl Free__7CMemoryFPCv +/* 8006BF9C 00068EFC 93 5F 02 8C */ stw r26, 0x28c(r31) +/* 8006BFA0 00068F00 80 7F 02 90 */ lwz r3, 0x290(r31) +/* 8006BFA4 00068F04 28 03 00 00 */ cmplwi r3, 0 +/* 8006BFA8 00068F08 40 82 00 60 */ bne lbl_8006C008 +/* 8006BFAC 00068F0C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006BFB0 00068F10 38 60 00 74 */ li r3, 0x74 +/* 8006BFB4 00068F14 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006BFB8 00068F18 38 A0 00 00 */ li r5, 0 +/* 8006BFBC 00068F1C 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006BFC0 00068F20 48 2A 98 AD */ bl __nw__FUlPCcPCc +/* 8006BFC4 00068F24 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8006BFC8 00068F28 41 82 00 18 */ beq lbl_8006BFE0 +/* 8006BFCC 00068F2C 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006BFD0 00068F30 38 A0 00 00 */ li r5, 0 +/* 8006BFD4 00068F34 C0 22 88 00 */ lfs f1, lbl_805AA520@sda21(r2) +/* 8006BFD8 00068F38 48 12 73 F5 */ bl __ct__19CHudThreatInterfaceFR9CGuiFramef +/* 8006BFDC 00068F3C 7C 7A 1B 78 */ mr r26, r3 +lbl_8006BFE0: +/* 8006BFE0 00068F40 80 7F 02 90 */ lwz r3, 0x290(r31) +/* 8006BFE4 00068F44 28 03 00 00 */ cmplwi r3, 0 +/* 8006BFE8 00068F48 41 82 00 18 */ beq lbl_8006C000 +/* 8006BFEC 00068F4C 81 83 00 00 */ lwz r12, 0(r3) +/* 8006BFF0 00068F50 38 80 00 01 */ li r4, 1 +/* 8006BFF4 00068F54 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006BFF8 00068F58 7D 89 03 A6 */ mtctr r12 +/* 8006BFFC 00068F5C 4E 80 04 21 */ bctrl +lbl_8006C000: +/* 8006C000 00068F60 93 5F 02 90 */ stw r26, 0x290(r31) +/* 8006C004 00068F64 48 00 00 18 */ b lbl_8006C01C +lbl_8006C008: +/* 8006C008 00068F68 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C00C 00068F6C 38 80 00 01 */ li r4, 1 +/* 8006C010 00068F70 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8006C014 00068F74 7D 89 03 A6 */ mtctr r12 +/* 8006C018 00068F78 4E 80 04 21 */ bctrl +lbl_8006C01C: +/* 8006C01C 00068F7C 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8006C020 00068F80 28 03 00 00 */ cmplwi r3, 0 +/* 8006C024 00068F84 40 82 00 58 */ bne lbl_8006C07C +/* 8006C028 00068F88 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006C02C 00068F8C 38 60 00 78 */ li r3, 0x78 +/* 8006C030 00068F90 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006C034 00068F94 38 A0 00 00 */ li r5, 0 +/* 8006C038 00068F98 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C03C 00068F9C 48 2A 98 31 */ bl __nw__FUlPCcPCc +/* 8006C040 00068FA0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8006C044 00068FA4 41 82 00 28 */ beq lbl_8006C06C +/* 8006C048 00068FA8 FC 20 F0 90 */ fmr f1, f30 +/* 8006C04C 00068FAC 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C050 00068FB0 80 BF 02 DC */ lwz r5, 0x2dc(r31) +/* 8006C054 00068FB4 7F 67 DB 78 */ mr r7, r27 +/* 8006C058 00068FB8 80 DF 02 D8 */ lwz r6, 0x2d8(r31) +/* 8006C05C 00068FBC 7F A9 EB 78 */ mr r9, r29 +/* 8006C060 00068FC0 39 00 00 00 */ li r8, 0 +/* 8006C064 00068FC4 48 12 59 91 */ bl __ct__20CHudMissileInterfaceFR9CGuiFrameiifbUiRC13CStateManager +/* 8006C068 00068FC8 7C 7A 1B 78 */ mr r26, r3 +lbl_8006C06C: +/* 8006C06C 00068FCC 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8006C070 00068FD0 48 2A 98 C1 */ bl Free__7CMemoryFPCv +/* 8006C074 00068FD4 93 5F 02 94 */ stw r26, 0x294(r31) +/* 8006C078 00068FD8 48 00 00 10 */ b lbl_8006C088 +lbl_8006C07C: +/* 8006C07C 00068FDC 7F A5 EB 78 */ mr r5, r29 +/* 8006C080 00068FE0 38 80 00 01 */ li r4, 1 +/* 8006C084 00068FE4 48 12 58 21 */ bl SetIsVisibleGame__20CHudMissileInterfaceFbRC13CStateManager +lbl_8006C088: +/* 8006C088 00068FE8 80 7F 02 98 */ lwz r3, 0x298(r31) +/* 8006C08C 00068FEC 28 03 00 00 */ cmplwi r3, 0 +/* 8006C090 00068FF0 40 82 00 6C */ bne lbl_8006C0FC +/* 8006C094 00068FF4 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006C098 00068FF8 38 60 00 90 */ li r3, 0x90 +/* 8006C09C 00068FFC 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006C0A0 00069000 38 A0 00 00 */ li r5, 0 +/* 8006C0A4 00069004 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C0A8 00069008 48 2A 97 C5 */ bl __nw__FUlPCcPCc +/* 8006C0AC 0006900C 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8006C0B0 00069010 41 82 00 24 */ beq lbl_8006C0D4 +/* 8006C0B4 00069014 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006C0B8 00069018 7F 88 E3 78 */ mr r8, r28 +/* 8006C0BC 0006901C 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C0C0 00069020 38 A0 00 00 */ li r5, 0 +/* 8006C0C4 00069024 54 06 CF FE */ rlwinm r6, r0, 0x19, 0x1f, 0x1f +/* 8006C0C8 00069028 54 07 D7 FE */ rlwinm r7, r0, 0x1a, 0x1f, 0x1f +/* 8006C0CC 0006902C 48 12 43 D1 */ bl __ct__21CHudFreeLookInterfaceFR9CGuiFrame8EHudTypebbb +/* 8006C0D0 00069030 7C 7A 1B 78 */ mr r26, r3 +lbl_8006C0D4: +/* 8006C0D4 00069034 80 7F 02 98 */ lwz r3, 0x298(r31) +/* 8006C0D8 00069038 28 03 00 00 */ cmplwi r3, 0 +/* 8006C0DC 0006903C 41 82 00 18 */ beq lbl_8006C0F4 +/* 8006C0E0 00069040 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C0E4 00069044 38 80 00 01 */ li r4, 1 +/* 8006C0E8 00069048 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006C0EC 0006904C 7D 89 03 A6 */ mtctr r12 +/* 8006C0F0 00069050 4E 80 04 21 */ bctrl +lbl_8006C0F4: +/* 8006C0F4 00069054 93 5F 02 98 */ stw r26, 0x298(r31) +/* 8006C0F8 00069058 48 00 00 18 */ b lbl_8006C110 +lbl_8006C0FC: +/* 8006C0FC 0006905C 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C100 00069060 38 80 00 01 */ li r4, 1 +/* 8006C104 00069064 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8006C108 00069068 7D 89 03 A6 */ mtctr r12 +/* 8006C10C 0006906C 4E 80 04 21 */ bctrl +lbl_8006C110: +/* 8006C110 00069070 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8006C114 00069074 28 03 00 00 */ cmplwi r3, 0 +/* 8006C118 00069078 40 82 00 58 */ bne lbl_8006C170 +/* 8006C11C 0006907C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006C120 00069080 38 60 00 80 */ li r3, 0x80 +/* 8006C124 00069084 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006C128 00069088 38 A0 00 00 */ li r5, 0 +/* 8006C12C 0006908C 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C130 00069090 48 2A 97 3D */ bl __nw__FUlPCcPCc +/* 8006C134 00069094 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8006C138 00069098 41 82 00 10 */ beq lbl_8006C148 +/* 8006C13C 0006909C 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C140 000690A0 48 12 AF 41 */ bl __ct__23CHudDecoInterfaceCombatFR9CGuiFrame +/* 8006C144 000690A4 7C 7A 1B 78 */ mr r26, r3 +lbl_8006C148: +/* 8006C148 000690A8 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8006C14C 000690AC 28 03 00 00 */ cmplwi r3, 0 +/* 8006C150 000690B0 41 82 00 18 */ beq lbl_8006C168 +/* 8006C154 000690B4 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C158 000690B8 38 80 00 01 */ li r4, 1 +/* 8006C15C 000690BC 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8006C160 000690C0 7D 89 03 A6 */ mtctr r12 +/* 8006C164 000690C4 4E 80 04 21 */ bctrl +lbl_8006C168: +/* 8006C168 000690C8 93 5F 02 9C */ stw r26, 0x29c(r31) +/* 8006C16C 000690CC 48 00 00 18 */ b lbl_8006C184 +lbl_8006C170: +/* 8006C170 000690D0 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C174 000690D4 38 80 00 01 */ li r4, 1 +/* 8006C178 000690D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8006C17C 000690DC 7D 89 03 A6 */ mtctr r12 +/* 8006C180 000690E0 4E 80 04 21 */ bctrl +lbl_8006C184: +/* 8006C184 000690E4 80 7F 02 AC */ lwz r3, 0x2ac(r31) +/* 8006C188 000690E8 38 80 00 01 */ li r4, 1 +/* 8006C18C 000690EC 48 12 68 01 */ bl SetIsVisibleGame__18CHudRadarInterfaceFb +/* 8006C190 000690F0 80 7F 02 A4 */ lwz r3, 0x2a4(r31) +/* 8006C194 000690F4 38 80 00 01 */ li r4, 1 +/* 8006C198 000690F8 48 12 78 49 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb +/* 8006C19C 000690FC 80 7F 02 A8 */ lwz r3, 0x2a8(r31) +/* 8006C1A0 00069100 38 80 00 01 */ li r4, 1 +/* 8006C1A4 00069104 48 12 78 3D */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb +/* 8006C1A8 00069108 7F E3 FB 78 */ mr r3, r31 +/* 8006C1AC 0006910C 48 00 08 99 */ bl InitializeDamageLight__9CSamusHudFv +/* 8006C1B0 00069110 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 8006C1B4 00069114 7F E3 FB 78 */ mr r3, r31 +/* 8006C1B8 00069118 7F A4 EB 78 */ mr r4, r29 +/* 8006C1BC 0006911C 38 A0 00 01 */ li r5, 1 +/* 8006C1C0 00069120 4B FF CF F9 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb +/* 8006C1C4 00069124 48 00 08 5C */ b lbl_8006CA20 +lbl_8006C1C8: +/* 8006C1C8 00069128 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 8006C1CC 0006912C 38 80 00 07 */ li r4, 7 +/* 8006C1D0 00069130 83 27 04 90 */ lwz r25, 0x490(r7) +/* 8006C1D4 00069134 83 63 00 00 */ lwz r27, 0(r3) +/* 8006C1D8 00069138 7F 63 DB 78 */ mr r3, r27 +/* 8006C1DC 0006913C 48 02 59 41 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8006C1E0 00069140 7C 60 1B 78 */ mr r0, r3 +/* 8006C1E4 00069144 7F 63 DB 78 */ mr r3, r27 +/* 8006C1E8 00069148 7C 1C 03 78 */ mr r28, r0 +/* 8006C1EC 0006914C 38 80 00 07 */ li r4, 7 +/* 8006C1F0 00069150 48 02 59 05 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8006C1F4 00069154 88 19 08 35 */ lbz r0, 0x835(r25) +/* 8006C1F8 00069158 7C 7A 1B 78 */ mr r26, r3 +/* 8006C1FC 0006915C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8006C200 00069160 41 82 00 0C */ beq lbl_8006C20C +/* 8006C204 00069164 83 19 03 08 */ lwz r24, 0x308(r25) +/* 8006C208 00069168 48 00 00 08 */ b lbl_8006C210 +lbl_8006C20C: +/* 8006C20C 0006916C 3B 00 00 00 */ li r24, 0 +lbl_8006C210: +/* 8006C210 00069170 7F 63 DB 78 */ mr r3, r27 +/* 8006C214 00069174 38 80 00 06 */ li r4, 6 +/* 8006C218 00069178 48 02 58 A9 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8006C21C 0006917C 88 19 08 35 */ lbz r0, 0x835(r25) +/* 8006C220 00069180 7C 77 1B 78 */ mr r23, r3 +/* 8006C224 00069184 3B 20 00 00 */ li r25, 0 +/* 8006C228 00069188 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8006C22C 0006918C 41 82 00 18 */ beq lbl_8006C244 +/* 8006C230 00069190 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8006C234 00069194 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8006C238 00069198 2C 00 00 01 */ cmpwi r0, 1 +/* 8006C23C 0006919C 40 82 00 08 */ bne lbl_8006C244 +/* 8006C240 000691A0 3B 20 00 01 */ li r25, 1 +lbl_8006C244: +/* 8006C244 000691A4 80 7F 02 B4 */ lwz r3, 0x2b4(r31) +/* 8006C248 000691A8 48 2A 96 E9 */ bl Free__7CMemoryFPCv +/* 8006C24C 000691AC 38 00 00 00 */ li r0, 0 +/* 8006C250 000691B0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C254 000691B4 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l +/* 8006C258 000691B8 90 1F 02 B4 */ stw r0, 0x2b4(r31) +/* 8006C25C 000691BC 38 83 01 3B */ addi r4, r3, 0x13b +/* 8006C260 000691C0 38 60 00 50 */ li r3, 0x50 +/* 8006C264 000691C4 38 A0 00 00 */ li r5, 0 +/* 8006C268 000691C8 48 2A 96 05 */ bl __nw__FUlPCcPCc +/* 8006C26C 000691CC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8006C270 000691D0 41 82 00 24 */ beq lbl_8006C294 +/* 8006C274 000691D4 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C278 000691D8 7F 85 E3 78 */ mr r5, r28 +/* 8006C27C 000691DC 7F 46 D3 78 */ mr r6, r26 +/* 8006C280 000691E0 7F 07 C3 78 */ mr r7, r24 +/* 8006C284 000691E4 7F 28 CB 78 */ mr r8, r25 +/* 8006C288 000691E8 7E E9 BB 78 */ mr r9, r23 +/* 8006C28C 000691EC 48 16 15 35 */ bl __ct__17CHudBallInterfaceFR9CGuiFrameiiibb +/* 8006C290 000691F0 7C 7B 1B 78 */ mr r27, r3 +lbl_8006C294: +/* 8006C294 000691F4 80 7F 02 B0 */ lwz r3, 0x2b0(r31) +/* 8006C298 000691F8 28 03 00 00 */ cmplwi r3, 0 +/* 8006C29C 000691FC 41 82 00 C0 */ beq lbl_8006C35C +/* 8006C2A0 00069200 34 03 00 24 */ addic. r0, r3, 0x24 +/* 8006C2A4 00069204 41 82 00 58 */ beq lbl_8006C2FC +/* 8006C2A8 00069208 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 8006C2AC 0006920C 38 80 00 00 */ li r4, 0 +/* 8006C2B0 00069210 2C 06 00 00 */ cmpwi r6, 0 +/* 8006C2B4 00069214 40 81 00 40 */ ble lbl_8006C2F4 +/* 8006C2B8 00069218 2C 06 00 08 */ cmpwi r6, 8 +/* 8006C2BC 0006921C 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006C2C0 00069220 40 81 00 20 */ ble lbl_8006C2E0 +/* 8006C2C4 00069224 38 05 00 07 */ addi r0, r5, 7 +/* 8006C2C8 00069228 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006C2CC 0006922C 7C 09 03 A6 */ mtctr r0 +/* 8006C2D0 00069230 2C 05 00 00 */ cmpwi r5, 0 +/* 8006C2D4 00069234 40 81 00 0C */ ble lbl_8006C2E0 +lbl_8006C2D8: +/* 8006C2D8 00069238 38 84 00 08 */ addi r4, r4, 8 +/* 8006C2DC 0006923C 42 00 FF FC */ bdnz lbl_8006C2D8 +lbl_8006C2E0: +/* 8006C2E0 00069240 7C 04 30 50 */ subf r0, r4, r6 +/* 8006C2E4 00069244 7C 09 03 A6 */ mtctr r0 +/* 8006C2E8 00069248 7C 04 30 00 */ cmpw r4, r6 +/* 8006C2EC 0006924C 40 80 00 08 */ bge lbl_8006C2F4 +lbl_8006C2F0: +/* 8006C2F0 00069250 42 00 00 00 */ bdnz lbl_8006C2F0 +lbl_8006C2F4: +/* 8006C2F4 00069254 38 00 00 00 */ li r0, 0 +/* 8006C2F8 00069258 90 03 00 24 */ stw r0, 0x24(r3) +lbl_8006C2FC: +/* 8006C2FC 0006925C 34 03 00 14 */ addic. r0, r3, 0x14 +/* 8006C300 00069260 41 82 00 58 */ beq lbl_8006C358 +/* 8006C304 00069264 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 8006C308 00069268 38 80 00 00 */ li r4, 0 +/* 8006C30C 0006926C 2C 06 00 00 */ cmpwi r6, 0 +/* 8006C310 00069270 40 81 00 40 */ ble lbl_8006C350 +/* 8006C314 00069274 2C 06 00 08 */ cmpwi r6, 8 +/* 8006C318 00069278 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006C31C 0006927C 40 81 00 20 */ ble lbl_8006C33C +/* 8006C320 00069280 38 05 00 07 */ addi r0, r5, 7 +/* 8006C324 00069284 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006C328 00069288 7C 09 03 A6 */ mtctr r0 +/* 8006C32C 0006928C 2C 05 00 00 */ cmpwi r5, 0 +/* 8006C330 00069290 40 81 00 0C */ ble lbl_8006C33C +lbl_8006C334: +/* 8006C334 00069294 38 84 00 08 */ addi r4, r4, 8 +/* 8006C338 00069298 42 00 FF FC */ bdnz lbl_8006C334 +lbl_8006C33C: +/* 8006C33C 0006929C 7C 04 30 50 */ subf r0, r4, r6 +/* 8006C340 000692A0 7C 09 03 A6 */ mtctr r0 +/* 8006C344 000692A4 7C 04 30 00 */ cmpw r4, r6 +/* 8006C348 000692A8 40 80 00 08 */ bge lbl_8006C350 +lbl_8006C34C: +/* 8006C34C 000692AC 42 00 00 00 */ bdnz lbl_8006C34C +lbl_8006C350: +/* 8006C350 000692B0 38 00 00 00 */ li r0, 0 +/* 8006C354 000692B4 90 03 00 14 */ stw r0, 0x14(r3) +lbl_8006C358: +/* 8006C358 000692B8 48 2A 95 D9 */ bl Free__7CMemoryFPCv +lbl_8006C35C: +/* 8006C35C 000692BC 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C360 000692C0 93 7F 02 B0 */ stw r27, 0x2b0(r31) +/* 8006C364 000692C4 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C368 000692C8 38 60 00 30 */ li r3, 0x30 +/* 8006C36C 000692CC 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C370 000692D0 38 A0 00 00 */ li r5, 0 +/* 8006C374 000692D4 48 2A 94 F9 */ bl __nw__FUlPCcPCc +/* 8006C378 000692D8 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C37C 000692DC 41 82 00 28 */ beq lbl_8006C3A4 +/* 8006C380 000692E0 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006C384 000692E4 FC 20 F8 90 */ fmr f1, f31 +/* 8006C388 000692E8 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C38C 000692EC 7F C6 F3 78 */ mr r6, r30 +/* 8006C390 000692F0 80 BF 02 D4 */ lwz r5, 0x2d4(r31) +/* 8006C394 000692F4 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f +/* 8006C398 000692F8 39 00 00 04 */ li r8, 4 +/* 8006C39C 000692FC 48 12 37 99 */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi +/* 8006C3A0 00069300 7C 78 1B 78 */ mr r24, r3 +lbl_8006C3A4: +/* 8006C3A4 00069304 80 7F 02 8C */ lwz r3, 0x28c(r31) +/* 8006C3A8 00069308 48 2A 95 89 */ bl Free__7CMemoryFPCv +/* 8006C3AC 0006930C 93 1F 02 8C */ stw r24, 0x28c(r31) +/* 8006C3B0 00069310 80 7F 02 90 */ lwz r3, 0x290(r31) +/* 8006C3B4 00069314 28 03 00 00 */ cmplwi r3, 0 +/* 8006C3B8 00069318 41 82 00 18 */ beq lbl_8006C3D0 +/* 8006C3BC 0006931C 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C3C0 00069320 38 80 00 01 */ li r4, 1 +/* 8006C3C4 00069324 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006C3C8 00069328 7D 89 03 A6 */ mtctr r12 +/* 8006C3CC 0006932C 4E 80 04 21 */ bctrl +lbl_8006C3D0: +/* 8006C3D0 00069330 38 00 00 00 */ li r0, 0 +/* 8006C3D4 00069334 90 1F 02 90 */ stw r0, 0x290(r31) +/* 8006C3D8 00069338 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8006C3DC 0006933C 48 2A 95 55 */ bl Free__7CMemoryFPCv +/* 8006C3E0 00069340 38 00 00 00 */ li r0, 0 +/* 8006C3E4 00069344 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8006C3E8 00069348 80 7F 02 98 */ lwz r3, 0x298(r31) +/* 8006C3EC 0006934C 28 03 00 00 */ cmplwi r3, 0 +/* 8006C3F0 00069350 41 82 00 18 */ beq lbl_8006C408 +/* 8006C3F4 00069354 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C3F8 00069358 38 80 00 01 */ li r4, 1 +/* 8006C3FC 0006935C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006C400 00069360 7D 89 03 A6 */ mtctr r12 +/* 8006C404 00069364 4E 80 04 21 */ bctrl +lbl_8006C408: +/* 8006C408 00069368 38 00 00 00 */ li r0, 0 +/* 8006C40C 0006936C 90 1F 02 98 */ stw r0, 0x298(r31) +/* 8006C410 00069370 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8006C414 00069374 28 03 00 00 */ cmplwi r3, 0 +/* 8006C418 00069378 41 82 00 18 */ beq lbl_8006C430 +/* 8006C41C 0006937C 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C420 00069380 38 80 00 01 */ li r4, 1 +/* 8006C424 00069384 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8006C428 00069388 7D 89 03 A6 */ mtctr r12 +/* 8006C42C 0006938C 4E 80 04 21 */ bctrl +lbl_8006C430: +/* 8006C430 00069390 38 00 00 00 */ li r0, 0 +/* 8006C434 00069394 38 80 00 00 */ li r4, 0 +/* 8006C438 00069398 90 1F 02 9C */ stw r0, 0x29c(r31) +/* 8006C43C 0006939C 90 1F 03 D4 */ stw r0, 0x3d4(r31) +/* 8006C440 000693A0 80 7F 02 AC */ lwz r3, 0x2ac(r31) +/* 8006C444 000693A4 48 12 65 49 */ bl SetIsVisibleGame__18CHudRadarInterfaceFb +/* 8006C448 000693A8 80 7F 02 A4 */ lwz r3, 0x2a4(r31) +/* 8006C44C 000693AC 38 80 00 00 */ li r4, 0 +/* 8006C450 000693B0 48 12 75 91 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb +/* 8006C454 000693B4 80 7F 02 A8 */ lwz r3, 0x2a8(r31) +/* 8006C458 000693B8 38 80 00 00 */ li r4, 0 +/* 8006C45C 000693BC 48 12 75 85 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb +/* 8006C460 000693C0 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 8006C464 000693C4 7F E3 FB 78 */ mr r3, r31 +/* 8006C468 000693C8 7F A4 EB 78 */ mr r4, r29 +/* 8006C46C 000693CC 38 A0 00 01 */ li r5, 1 +/* 8006C470 000693D0 4B FF CD 49 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb +/* 8006C474 000693D4 48 00 05 AC */ b lbl_8006CA20 +lbl_8006C478: +/* 8006C478 000693D8 80 7F 02 B4 */ lwz r3, 0x2b4(r31) +/* 8006C47C 000693DC 48 2A 94 B5 */ bl Free__7CMemoryFPCv +/* 8006C480 000693E0 38 00 00 00 */ li r0, 0 +/* 8006C484 000693E4 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C488 000693E8 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l +/* 8006C48C 000693EC 90 1F 02 B4 */ stw r0, 0x2b4(r31) +/* 8006C490 000693F0 38 83 01 3B */ addi r4, r3, 0x13b +/* 8006C494 000693F4 38 60 00 30 */ li r3, 0x30 +/* 8006C498 000693F8 38 A0 00 00 */ li r5, 0 +/* 8006C49C 000693FC 48 2A 93 D1 */ bl __nw__FUlPCcPCc +/* 8006C4A0 00069400 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C4A4 00069404 41 82 00 28 */ beq lbl_8006C4CC +/* 8006C4A8 00069408 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006C4AC 0006940C FC 20 F8 90 */ fmr f1, f31 +/* 8006C4B0 00069410 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C4B4 00069414 7F C6 F3 78 */ mr r6, r30 +/* 8006C4B8 00069418 80 BF 02 D4 */ lwz r5, 0x2d4(r31) +/* 8006C4BC 0006941C 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f +/* 8006C4C0 00069420 39 00 00 01 */ li r8, 1 +/* 8006C4C4 00069424 48 12 36 71 */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi +/* 8006C4C8 00069428 7C 78 1B 78 */ mr r24, r3 +lbl_8006C4CC: +/* 8006C4CC 0006942C 80 7F 02 8C */ lwz r3, 0x28c(r31) +/* 8006C4D0 00069430 48 2A 94 61 */ bl Free__7CMemoryFPCv +/* 8006C4D4 00069434 93 1F 02 8C */ stw r24, 0x28c(r31) +/* 8006C4D8 00069438 80 7F 02 90 */ lwz r3, 0x290(r31) +/* 8006C4DC 0006943C 28 03 00 00 */ cmplwi r3, 0 +/* 8006C4E0 00069440 41 82 00 18 */ beq lbl_8006C4F8 +/* 8006C4E4 00069444 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C4E8 00069448 38 80 00 01 */ li r4, 1 +/* 8006C4EC 0006944C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006C4F0 00069450 7D 89 03 A6 */ mtctr r12 +/* 8006C4F4 00069454 4E 80 04 21 */ bctrl +lbl_8006C4F8: +/* 8006C4F8 00069458 38 00 00 00 */ li r0, 0 +/* 8006C4FC 0006945C 90 1F 02 90 */ stw r0, 0x290(r31) +/* 8006C500 00069460 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8006C504 00069464 48 2A 94 2D */ bl Free__7CMemoryFPCv +/* 8006C508 00069468 38 00 00 00 */ li r0, 0 +/* 8006C50C 0006946C 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C510 00069470 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l +/* 8006C514 00069474 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8006C518 00069478 38 83 01 3B */ addi r4, r3, 0x13b +/* 8006C51C 0006947C 38 60 00 90 */ li r3, 0x90 +/* 8006C520 00069480 38 A0 00 00 */ li r5, 0 +/* 8006C524 00069484 48 2A 93 49 */ bl __nw__FUlPCcPCc +/* 8006C528 00069488 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C52C 0006948C 41 82 00 24 */ beq lbl_8006C550 +/* 8006C530 00069490 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006C534 00069494 7F 88 E3 78 */ mr r8, r28 +/* 8006C538 00069498 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C53C 0006949C 38 A0 00 01 */ li r5, 1 +/* 8006C540 000694A0 54 06 CF FE */ rlwinm r6, r0, 0x19, 0x1f, 0x1f +/* 8006C544 000694A4 54 07 D7 FE */ rlwinm r7, r0, 0x1a, 0x1f, 0x1f +/* 8006C548 000694A8 48 12 3F 55 */ bl __ct__21CHudFreeLookInterfaceFR9CGuiFrame8EHudTypebbb +/* 8006C54C 000694AC 7C 78 1B 78 */ mr r24, r3 +lbl_8006C550: +/* 8006C550 000694B0 80 7F 02 98 */ lwz r3, 0x298(r31) +/* 8006C554 000694B4 28 03 00 00 */ cmplwi r3, 0 +/* 8006C558 000694B8 41 82 00 18 */ beq lbl_8006C570 +/* 8006C55C 000694BC 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C560 000694C0 38 80 00 01 */ li r4, 1 +/* 8006C564 000694C4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006C568 000694C8 7D 89 03 A6 */ mtctr r12 +/* 8006C56C 000694CC 4E 80 04 21 */ bctrl +lbl_8006C570: +/* 8006C570 000694D0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C574 000694D4 93 1F 02 98 */ stw r24, 0x298(r31) +/* 8006C578 000694D8 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C57C 000694DC 38 60 02 78 */ li r3, 0x278 +/* 8006C580 000694E0 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C584 000694E4 38 A0 00 00 */ li r5, 0 +/* 8006C588 000694E8 48 2A 92 E5 */ bl __nw__FUlPCcPCc +/* 8006C58C 000694EC 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C590 000694F0 41 82 00 10 */ beq lbl_8006C5A0 +/* 8006C594 000694F4 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C598 000694F8 48 12 99 8D */ bl __ct__21CHudDecoInterfaceScanFR9CGuiFrame +/* 8006C59C 000694FC 7C 78 1B 78 */ mr r24, r3 +lbl_8006C5A0: +/* 8006C5A0 00069500 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8006C5A4 00069504 28 03 00 00 */ cmplwi r3, 0 +/* 8006C5A8 00069508 41 82 00 18 */ beq lbl_8006C5C0 +/* 8006C5AC 0006950C 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C5B0 00069510 38 80 00 01 */ li r4, 1 +/* 8006C5B4 00069514 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8006C5B8 00069518 7D 89 03 A6 */ mtctr r12 +/* 8006C5BC 0006951C 4E 80 04 21 */ bctrl +lbl_8006C5C0: +/* 8006C5C0 00069520 93 1F 02 9C */ stw r24, 0x29c(r31) +/* 8006C5C4 00069524 7F E3 FB 78 */ mr r3, r31 +/* 8006C5C8 00069528 48 00 04 7D */ bl InitializeDamageLight__9CSamusHudFv +/* 8006C5CC 0006952C C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 8006C5D0 00069530 7F E3 FB 78 */ mr r3, r31 +/* 8006C5D4 00069534 7F A4 EB 78 */ mr r4, r29 +/* 8006C5D8 00069538 38 A0 00 01 */ li r5, 1 +/* 8006C5DC 0006953C 4B FF CB DD */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb +/* 8006C5E0 00069540 48 00 04 40 */ b lbl_8006CA20 +lbl_8006C5E4: +/* 8006C5E4 00069544 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006C5E8 00069548 38 60 00 20 */ li r3, 0x20 +/* 8006C5EC 0006954C 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006C5F0 00069550 38 A0 00 00 */ li r5, 0 +/* 8006C5F4 00069554 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C5F8 00069558 48 2A 92 75 */ bl __nw__FUlPCcPCc +/* 8006C5FC 0006955C 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C600 00069560 41 82 00 10 */ beq lbl_8006C610 +/* 8006C604 00069564 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C608 00069568 48 12 2F 39 */ bl __ct__23CHudBossEnergyInterfaceFR9CGuiFrame +/* 8006C60C 0006956C 7C 78 1B 78 */ mr r24, r3 +lbl_8006C610: +/* 8006C610 00069570 80 7F 02 B4 */ lwz r3, 0x2b4(r31) +/* 8006C614 00069574 48 2A 93 1D */ bl Free__7CMemoryFPCv +/* 8006C618 00069578 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C61C 0006957C 93 1F 02 B4 */ stw r24, 0x2b4(r31) +/* 8006C620 00069580 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C624 00069584 38 60 00 30 */ li r3, 0x30 +/* 8006C628 00069588 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C62C 0006958C 38 A0 00 00 */ li r5, 0 +/* 8006C630 00069590 48 2A 92 3D */ bl __nw__FUlPCcPCc +/* 8006C634 00069594 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C638 00069598 41 82 00 28 */ beq lbl_8006C660 +/* 8006C63C 0006959C 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006C640 000695A0 FC 20 F8 90 */ fmr f1, f31 +/* 8006C644 000695A4 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C648 000695A8 7F C6 F3 78 */ mr r6, r30 +/* 8006C64C 000695AC 80 BF 02 D4 */ lwz r5, 0x2d4(r31) +/* 8006C650 000695B0 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f +/* 8006C654 000695B4 39 00 00 02 */ li r8, 2 +/* 8006C658 000695B8 48 12 34 DD */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi +/* 8006C65C 000695BC 7C 78 1B 78 */ mr r24, r3 +lbl_8006C660: +/* 8006C660 000695C0 80 7F 02 8C */ lwz r3, 0x28c(r31) +/* 8006C664 000695C4 48 2A 92 CD */ bl Free__7CMemoryFPCv +/* 8006C668 000695C8 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C66C 000695CC 93 1F 02 8C */ stw r24, 0x28c(r31) +/* 8006C670 000695D0 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C674 000695D4 38 60 00 74 */ li r3, 0x74 +/* 8006C678 000695D8 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C67C 000695DC 38 A0 00 00 */ li r5, 0 +/* 8006C680 000695E0 48 2A 91 ED */ bl __nw__FUlPCcPCc +/* 8006C684 000695E4 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C688 000695E8 41 82 00 18 */ beq lbl_8006C6A0 +/* 8006C68C 000695EC 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C690 000695F0 38 A0 00 02 */ li r5, 2 +/* 8006C694 000695F4 C0 22 88 00 */ lfs f1, lbl_805AA520@sda21(r2) +/* 8006C698 000695F8 48 12 6D 35 */ bl __ct__19CHudThreatInterfaceFR9CGuiFramef +/* 8006C69C 000695FC 7C 78 1B 78 */ mr r24, r3 +lbl_8006C6A0: +/* 8006C6A0 00069600 80 7F 02 90 */ lwz r3, 0x290(r31) +/* 8006C6A4 00069604 28 03 00 00 */ cmplwi r3, 0 +/* 8006C6A8 00069608 41 82 00 18 */ beq lbl_8006C6C0 +/* 8006C6AC 0006960C 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C6B0 00069610 38 80 00 01 */ li r4, 1 +/* 8006C6B4 00069614 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006C6B8 00069618 7D 89 03 A6 */ mtctr r12 +/* 8006C6BC 0006961C 4E 80 04 21 */ bctrl +lbl_8006C6C0: +/* 8006C6C0 00069620 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C6C4 00069624 93 1F 02 90 */ stw r24, 0x290(r31) +/* 8006C6C8 00069628 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C6CC 0006962C 38 60 00 78 */ li r3, 0x78 +/* 8006C6D0 00069630 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C6D4 00069634 38 A0 00 00 */ li r5, 0 +/* 8006C6D8 00069638 48 2A 91 95 */ bl __nw__FUlPCcPCc +/* 8006C6DC 0006963C 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C6E0 00069640 41 82 00 28 */ beq lbl_8006C708 +/* 8006C6E4 00069644 FC 20 F0 90 */ fmr f1, f30 +/* 8006C6E8 00069648 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C6EC 0006964C 80 BF 02 DC */ lwz r5, 0x2dc(r31) +/* 8006C6F0 00069650 7F 67 DB 78 */ mr r7, r27 +/* 8006C6F4 00069654 80 DF 02 D8 */ lwz r6, 0x2d8(r31) +/* 8006C6F8 00069658 7F A9 EB 78 */ mr r9, r29 +/* 8006C6FC 0006965C 39 00 00 02 */ li r8, 2 +/* 8006C700 00069660 48 12 52 F5 */ bl __ct__20CHudMissileInterfaceFR9CGuiFrameiifbUiRC13CStateManager +/* 8006C704 00069664 7C 78 1B 78 */ mr r24, r3 +lbl_8006C708: +/* 8006C708 00069668 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8006C70C 0006966C 48 2A 92 25 */ bl Free__7CMemoryFPCv +/* 8006C710 00069670 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C714 00069674 93 1F 02 94 */ stw r24, 0x294(r31) +/* 8006C718 00069678 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C71C 0006967C 38 60 00 34 */ li r3, 0x34 +/* 8006C720 00069680 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C724 00069684 38 A0 00 00 */ li r5, 0 +/* 8006C728 00069688 48 2A 91 45 */ bl __nw__FUlPCcPCc +/* 8006C72C 0006968C 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C730 00069690 41 82 00 20 */ beq lbl_8006C750 +/* 8006C734 00069694 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006C738 00069698 7F 87 E3 78 */ mr r7, r28 +/* 8006C73C 0006969C 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C740 000696A0 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f +/* 8006C744 000696A4 54 06 D7 FE */ rlwinm r6, r0, 0x1a, 0x1f, 0x1f +/* 8006C748 000696A8 48 12 41 B9 */ bl __ct__25CHudFreeLookInterfaceXRayFR9CGuiFramebbUi +/* 8006C74C 000696AC 7C 78 1B 78 */ mr r24, r3 +lbl_8006C750: +/* 8006C750 000696B0 80 7F 02 98 */ lwz r3, 0x298(r31) +/* 8006C754 000696B4 28 03 00 00 */ cmplwi r3, 0 +/* 8006C758 000696B8 41 82 00 18 */ beq lbl_8006C770 +/* 8006C75C 000696BC 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C760 000696C0 38 80 00 01 */ li r4, 1 +/* 8006C764 000696C4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006C768 000696C8 7D 89 03 A6 */ mtctr r12 +/* 8006C76C 000696CC 4E 80 04 21 */ bctrl +lbl_8006C770: +/* 8006C770 000696D0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C774 000696D4 93 1F 02 98 */ stw r24, 0x298(r31) +/* 8006C778 000696D8 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C77C 000696DC 38 60 00 B0 */ li r3, 0xb0 +/* 8006C780 000696E0 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C784 000696E4 38 A0 00 00 */ li r5, 0 +/* 8006C788 000696E8 48 2A 90 E5 */ bl __nw__FUlPCcPCc +/* 8006C78C 000696EC 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C790 000696F0 41 82 00 10 */ beq lbl_8006C7A0 +/* 8006C794 000696F4 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C798 000696F8 48 12 A2 85 */ bl __ct__21CHudDecoInterfaceXRayFR9CGuiFrame +/* 8006C79C 000696FC 7C 78 1B 78 */ mr r24, r3 +lbl_8006C7A0: +/* 8006C7A0 00069700 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8006C7A4 00069704 28 03 00 00 */ cmplwi r3, 0 +/* 8006C7A8 00069708 41 82 00 18 */ beq lbl_8006C7C0 +/* 8006C7AC 0006970C 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C7B0 00069710 38 80 00 01 */ li r4, 1 +/* 8006C7B4 00069714 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8006C7B8 00069718 7D 89 03 A6 */ mtctr r12 +/* 8006C7BC 0006971C 4E 80 04 21 */ bctrl +lbl_8006C7C0: +/* 8006C7C0 00069720 93 1F 02 9C */ stw r24, 0x29c(r31) +/* 8006C7C4 00069724 7F E3 FB 78 */ mr r3, r31 +/* 8006C7C8 00069728 48 00 02 7D */ bl InitializeDamageLight__9CSamusHudFv +/* 8006C7CC 0006972C 80 7F 02 A4 */ lwz r3, 0x2a4(r31) +/* 8006C7D0 00069730 38 80 00 01 */ li r4, 1 +/* 8006C7D4 00069734 48 12 72 0D */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb +/* 8006C7D8 00069738 80 7F 02 A8 */ lwz r3, 0x2a8(r31) +/* 8006C7DC 0006973C 38 80 00 01 */ li r4, 1 +/* 8006C7E0 00069740 48 12 72 01 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb +/* 8006C7E4 00069744 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 8006C7E8 00069748 7F E3 FB 78 */ mr r3, r31 +/* 8006C7EC 0006974C 7F A4 EB 78 */ mr r4, r29 +/* 8006C7F0 00069750 38 A0 00 01 */ li r5, 1 +/* 8006C7F4 00069754 4B FF C9 C5 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb +/* 8006C7F8 00069758 48 00 02 28 */ b lbl_8006CA20 +lbl_8006C7FC: +/* 8006C7FC 0006975C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006C800 00069760 38 60 00 20 */ li r3, 0x20 +/* 8006C804 00069764 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006C808 00069768 38 A0 00 00 */ li r5, 0 +/* 8006C80C 0006976C 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C810 00069770 48 2A 90 5D */ bl __nw__FUlPCcPCc +/* 8006C814 00069774 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C818 00069778 41 82 00 10 */ beq lbl_8006C828 +/* 8006C81C 0006977C 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C820 00069780 48 12 2D 21 */ bl __ct__23CHudBossEnergyInterfaceFR9CGuiFrame +/* 8006C824 00069784 7C 78 1B 78 */ mr r24, r3 +lbl_8006C828: +/* 8006C828 00069788 80 7F 02 B4 */ lwz r3, 0x2b4(r31) +/* 8006C82C 0006978C 48 2A 91 05 */ bl Free__7CMemoryFPCv +/* 8006C830 00069790 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C834 00069794 93 1F 02 B4 */ stw r24, 0x2b4(r31) +/* 8006C838 00069798 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C83C 0006979C 38 60 00 30 */ li r3, 0x30 +/* 8006C840 000697A0 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C844 000697A4 38 A0 00 00 */ li r5, 0 +/* 8006C848 000697A8 48 2A 90 25 */ bl __nw__FUlPCcPCc +/* 8006C84C 000697AC 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C850 000697B0 41 82 00 28 */ beq lbl_8006C878 +/* 8006C854 000697B4 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006C858 000697B8 FC 20 F8 90 */ fmr f1, f31 +/* 8006C85C 000697BC 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C860 000697C0 7F C6 F3 78 */ mr r6, r30 +/* 8006C864 000697C4 80 BF 02 D4 */ lwz r5, 0x2d4(r31) +/* 8006C868 000697C8 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f +/* 8006C86C 000697CC 39 00 00 03 */ li r8, 3 +/* 8006C870 000697D0 48 12 32 C5 */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi +/* 8006C874 000697D4 7C 78 1B 78 */ mr r24, r3 +lbl_8006C878: +/* 8006C878 000697D8 80 7F 02 8C */ lwz r3, 0x28c(r31) +/* 8006C87C 000697DC 48 2A 90 B5 */ bl Free__7CMemoryFPCv +/* 8006C880 000697E0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C884 000697E4 93 1F 02 8C */ stw r24, 0x28c(r31) +/* 8006C888 000697E8 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C88C 000697EC 38 60 00 74 */ li r3, 0x74 +/* 8006C890 000697F0 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C894 000697F4 38 A0 00 00 */ li r5, 0 +/* 8006C898 000697F8 48 2A 8F D5 */ bl __nw__FUlPCcPCc +/* 8006C89C 000697FC 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C8A0 00069800 41 82 00 18 */ beq lbl_8006C8B8 +/* 8006C8A4 00069804 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C8A8 00069808 38 A0 00 03 */ li r5, 3 +/* 8006C8AC 0006980C C0 22 88 00 */ lfs f1, lbl_805AA520@sda21(r2) +/* 8006C8B0 00069810 48 12 6B 1D */ bl __ct__19CHudThreatInterfaceFR9CGuiFramef +/* 8006C8B4 00069814 7C 78 1B 78 */ mr r24, r3 +lbl_8006C8B8: +/* 8006C8B8 00069818 80 7F 02 90 */ lwz r3, 0x290(r31) +/* 8006C8BC 0006981C 28 03 00 00 */ cmplwi r3, 0 +/* 8006C8C0 00069820 41 82 00 18 */ beq lbl_8006C8D8 +/* 8006C8C4 00069824 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C8C8 00069828 38 80 00 01 */ li r4, 1 +/* 8006C8CC 0006982C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006C8D0 00069830 7D 89 03 A6 */ mtctr r12 +/* 8006C8D4 00069834 4E 80 04 21 */ bctrl +lbl_8006C8D8: +/* 8006C8D8 00069838 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C8DC 0006983C 93 1F 02 90 */ stw r24, 0x290(r31) +/* 8006C8E0 00069840 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C8E4 00069844 38 60 00 78 */ li r3, 0x78 +/* 8006C8E8 00069848 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C8EC 0006984C 38 A0 00 00 */ li r5, 0 +/* 8006C8F0 00069850 48 2A 8F 7D */ bl __nw__FUlPCcPCc +/* 8006C8F4 00069854 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C8F8 00069858 41 82 00 28 */ beq lbl_8006C920 +/* 8006C8FC 0006985C FC 20 F0 90 */ fmr f1, f30 +/* 8006C900 00069860 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C904 00069864 80 BF 02 DC */ lwz r5, 0x2dc(r31) +/* 8006C908 00069868 7F 67 DB 78 */ mr r7, r27 +/* 8006C90C 0006986C 80 DF 02 D8 */ lwz r6, 0x2d8(r31) +/* 8006C910 00069870 7F A9 EB 78 */ mr r9, r29 +/* 8006C914 00069874 39 00 00 03 */ li r8, 3 +/* 8006C918 00069878 48 12 50 DD */ bl __ct__20CHudMissileInterfaceFR9CGuiFrameiifbUiRC13CStateManager +/* 8006C91C 0006987C 7C 78 1B 78 */ mr r24, r3 +lbl_8006C920: +/* 8006C920 00069880 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8006C924 00069884 48 2A 90 0D */ bl Free__7CMemoryFPCv +/* 8006C928 00069888 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C92C 0006988C 93 1F 02 94 */ stw r24, 0x294(r31) +/* 8006C930 00069890 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C934 00069894 38 60 00 90 */ li r3, 0x90 +/* 8006C938 00069898 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C93C 0006989C 38 A0 00 00 */ li r5, 0 +/* 8006C940 000698A0 48 2A 8F 2D */ bl __nw__FUlPCcPCc +/* 8006C944 000698A4 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C948 000698A8 41 82 00 24 */ beq lbl_8006C96C +/* 8006C94C 000698AC 88 1F 02 E0 */ lbz r0, 0x2e0(r31) +/* 8006C950 000698B0 7F 88 E3 78 */ mr r8, r28 +/* 8006C954 000698B4 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C958 000698B8 38 A0 00 03 */ li r5, 3 +/* 8006C95C 000698BC 54 06 CF FE */ rlwinm r6, r0, 0x19, 0x1f, 0x1f +/* 8006C960 000698C0 54 07 D7 FE */ rlwinm r7, r0, 0x1a, 0x1f, 0x1f +/* 8006C964 000698C4 48 12 3B 39 */ bl __ct__21CHudFreeLookInterfaceFR9CGuiFrame8EHudTypebbb +/* 8006C968 000698C8 7C 78 1B 78 */ mr r24, r3 +lbl_8006C96C: +/* 8006C96C 000698CC 80 7F 02 98 */ lwz r3, 0x298(r31) +/* 8006C970 000698D0 28 03 00 00 */ cmplwi r3, 0 +/* 8006C974 000698D4 41 82 00 18 */ beq lbl_8006C98C +/* 8006C978 000698D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C97C 000698DC 38 80 00 01 */ li r4, 1 +/* 8006C980 000698E0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8006C984 000698E4 7D 89 03 A6 */ mtctr r12 +/* 8006C988 000698E8 4E 80 04 21 */ bctrl +lbl_8006C98C: +/* 8006C98C 000698EC 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006C990 000698F0 93 1F 02 98 */ stw r24, 0x298(r31) +/* 8006C994 000698F4 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006C998 000698F8 38 60 00 94 */ li r3, 0x94 +/* 8006C99C 000698FC 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006C9A0 00069900 38 A0 00 00 */ li r5, 0 +/* 8006C9A4 00069904 48 2A 8E C9 */ bl __nw__FUlPCcPCc +/* 8006C9A8 00069908 7C 78 1B 79 */ or. r24, r3, r3 +/* 8006C9AC 0006990C 41 82 00 10 */ beq lbl_8006C9BC +/* 8006C9B0 00069910 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006C9B4 00069914 48 12 84 21 */ bl __ct__24CHudDecoInterfaceThermalFR9CGuiFrame +/* 8006C9B8 00069918 7C 78 1B 78 */ mr r24, r3 +lbl_8006C9BC: +/* 8006C9BC 0006991C 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8006C9C0 00069920 28 03 00 00 */ cmplwi r3, 0 +/* 8006C9C4 00069924 41 82 00 18 */ beq lbl_8006C9DC +/* 8006C9C8 00069928 81 83 00 00 */ lwz r12, 0(r3) +/* 8006C9CC 0006992C 38 80 00 01 */ li r4, 1 +/* 8006C9D0 00069930 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8006C9D4 00069934 7D 89 03 A6 */ mtctr r12 +/* 8006C9D8 00069938 4E 80 04 21 */ bctrl +lbl_8006C9DC: +/* 8006C9DC 0006993C 93 1F 02 9C */ stw r24, 0x29c(r31) +/* 8006C9E0 00069940 7F E3 FB 78 */ mr r3, r31 +/* 8006C9E4 00069944 48 00 00 61 */ bl InitializeDamageLight__9CSamusHudFv +/* 8006C9E8 00069948 80 7F 02 A4 */ lwz r3, 0x2a4(r31) +/* 8006C9EC 0006994C 38 80 00 01 */ li r4, 1 +/* 8006C9F0 00069950 48 12 6F F1 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb +/* 8006C9F4 00069954 80 7F 02 A8 */ lwz r3, 0x2a8(r31) +/* 8006C9F8 00069958 38 80 00 01 */ li r4, 1 +/* 8006C9FC 0006995C 48 12 6F E5 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb +/* 8006CA00 00069960 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) +/* 8006CA04 00069964 7F E3 FB 78 */ mr r3, r31 +/* 8006CA08 00069968 7F A4 EB 78 */ mr r4, r29 +/* 8006CA0C 0006996C 38 A0 00 01 */ li r5, 1 +/* 8006CA10 00069970 4B FF C7 A9 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb +/* 8006CA14 00069974 48 00 00 0C */ b lbl_8006CA20 +lbl_8006CA18: +/* 8006CA18 00069978 7F E3 FB 78 */ mr r3, r31 +/* 8006CA1C 0006997C 4B FF F2 89 */ bl UninitializeFrameGlueMutable__9CSamusHudFv +lbl_8006CA20: +/* 8006CA20 00069980 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8006CA24 00069984 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8006CA28 00069988 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 8006CA2C 0006998C CB C1 00 40 */ lfd f30, 0x40(r1) +/* 8006CA30 00069990 BA E1 00 1C */ lmw r23, 0x1c(r1) +/* 8006CA34 00069994 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8006CA38 00069998 7C 08 03 A6 */ mtlr r0 +/* 8006CA3C 0006999C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8006CA40 000699A0 4E 80 00 20 */ blr + +.global InitializeDamageLight__9CSamusHudFv +InitializeDamageLight__9CSamusHudFv: +/* 8006CA44 000699A4 94 21 F9 30 */ stwu r1, -0x6d0(r1) +/* 8006CA48 000699A8 7C 08 02 A6 */ mflr r0 +/* 8006CA4C 000699AC 90 01 06 D4 */ stw r0, 0x6d4(r1) +/* 8006CA50 000699B0 DB E1 06 C0 */ stfd f31, 0x6c0(r1) +/* 8006CA54 000699B4 F3 E1 06 C8 */ psq_st f31, 1736(r1), 0, qr0 +/* 8006CA58 000699B8 DB C1 06 B0 */ stfd f30, 0x6b0(r1) +/* 8006CA5C 000699BC F3 C1 06 B8 */ psq_st f30, 1720(r1), 0, qr0 +/* 8006CA60 000699C0 DB A1 06 A0 */ stfd f29, 0x6a0(r1) +/* 8006CA64 000699C4 F3 A1 06 A8 */ psq_st f29, 1704(r1), 0, qr0 +/* 8006CA68 000699C8 DB 81 06 90 */ stfd f28, 0x690(r1) +/* 8006CA6C 000699CC F3 81 06 98 */ psq_st f28, 1688(r1), 0, qr0 +/* 8006CA70 000699D0 93 E1 06 8C */ stw r31, 0x68c(r1) +/* 8006CA74 000699D4 93 C1 06 88 */ stw r30, 0x688(r1) +/* 8006CA78 000699D8 93 A1 06 84 */ stw r29, 0x684(r1) +/* 8006CA7C 000699DC 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006CA80 000699E0 7C 7F 1B 78 */ mr r31, r3 +/* 8006CA84 000699E4 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006CA88 000699E8 38 61 00 70 */ addi r3, r1, 0x70 +/* 8006CA8C 000699EC 38 84 01 42 */ addi r4, r4, 0x142 +/* 8006CA90 000699F0 4B F9 82 29 */ bl string_l__4rstlFPCc +/* 8006CA94 000699F4 80 7F 02 88 */ lwz r3, 0x288(r31) +/* 8006CA98 000699F8 38 81 00 70 */ addi r4, r1, 0x70 +/* 8006CA9C 000699FC 38 63 00 18 */ addi r3, r3, 0x18 +/* 8006CAA0 00069A00 48 25 E5 5D */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8006CAA4 00069A04 7C 7D 1B 78 */ mr r29, r3 +/* 8006CAA8 00069A08 38 61 00 70 */ addi r3, r1, 0x70 +/* 8006CAAC 00069A0C 48 2D 10 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8006CAB0 00069A10 3C 80 80 3D */ lis r4, lbl_803CD024@ha +/* 8006CAB4 00069A14 38 61 00 60 */ addi r3, r1, 0x60 +/* 8006CAB8 00069A18 38 84 D0 24 */ addi r4, r4, lbl_803CD024@l +/* 8006CABC 00069A1C 4B F9 81 FD */ bl string_l__4rstlFPCc +/* 8006CAC0 00069A20 80 7F 02 88 */ lwz r3, 0x288(r31) +/* 8006CAC4 00069A24 38 81 00 60 */ addi r4, r1, 0x60 +/* 8006CAC8 00069A28 48 25 57 0D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8006CACC 00069A2C 7C 7E 1B 78 */ mr r30, r3 +/* 8006CAD0 00069A30 38 61 00 60 */ addi r3, r1, 0x60 +/* 8006CAD4 00069A34 48 2D 10 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8006CAD8 00069A38 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 8006CADC 00069A3C 38 80 00 02 */ li r4, 2 +/* 8006CAE0 00069A40 38 00 00 00 */ li r0, 0 +/* 8006CAE4 00069A44 7F A6 EB 78 */ mr r6, r29 +/* 8006CAE8 00069A48 38 A3 00 40 */ addi r5, r3, 0x40 +/* 8006CAEC 00069A4C 38 61 00 80 */ addi r3, r1, 0x80 +/* 8006CAF0 00069A50 90 A1 00 08 */ stw r5, 8(r1) +/* 8006CAF4 00069A54 38 A0 00 00 */ li r5, 0 +/* 8006CAF8 00069A58 39 00 00 01 */ li r8, 1 +/* 8006CAFC 00069A5C 39 20 00 01 */ li r9, 1 +/* 8006CB00 00069A60 90 81 00 0C */ stw r4, 0xc(r1) +/* 8006CB04 00069A64 39 40 00 00 */ li r10, 0 +/* 8006CB08 00069A68 90 01 00 10 */ stw r0, 0x10(r1) +/* 8006CB0C 00069A6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006CB10 00069A70 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 8006CB14 00069A74 A8 FE 00 70 */ lha r7, 0x70(r30) +/* 8006CB18 00069A78 48 25 E4 19 */ bl __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb +/* 8006CB1C 00069A7C 48 2D D4 91 */ bl White__6CColorFv +/* 8006CB20 00069A80 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8006CB24 00069A84 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8006CB28 00069A88 3C C0 80 5A */ lis r6, lbl_805A6724@ha +/* 8006CB2C 00069A8C C0 25 00 54 */ lfs f1, 0x54(r5) +/* 8006CB30 00069A90 38 A6 67 24 */ addi r5, r6, lbl_805A6724@l +/* 8006CB34 00069A94 7C 66 1B 78 */ mr r6, r3 +/* 8006CB38 00069A98 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8006CB3C 00069A9C 38 61 05 D8 */ addi r3, r1, 0x5d8 +/* 8006CB40 00069AA0 48 29 98 BD */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf +/* 8006CB44 00069AA4 38 61 06 28 */ addi r3, r1, 0x628 +/* 8006CB48 00069AA8 38 81 05 D8 */ addi r4, r1, 0x5d8 +/* 8006CB4C 00069AAC 4B FC EA 25 */ bl __ct__6CLightFCR6CLight +/* 8006CB50 00069AB0 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006CB54 00069AB4 38 60 00 E0 */ li r3, 0xe0 +/* 8006CB58 00069AB8 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006CB5C 00069ABC 38 A0 00 00 */ li r5, 0 +/* 8006CB60 00069AC0 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006CB64 00069AC4 48 2A 8D 09 */ bl __nw__FUlPCcPCc +/* 8006CB68 00069AC8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8006CB6C 00069ACC 41 82 00 14 */ beq lbl_8006CB80 +/* 8006CB70 00069AD0 38 81 00 80 */ addi r4, r1, 0x80 +/* 8006CB74 00069AD4 38 A1 06 28 */ addi r5, r1, 0x628 +/* 8006CB78 00069AD8 48 25 70 B1 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight +/* 8006CB7C 00069ADC 7C 60 1B 78 */ mr r0, r3 +lbl_8006CB80: +/* 8006CB80 00069AE0 90 1F 03 D4 */ stw r0, 0x3d4(r31) +/* 8006CB84 00069AE4 48 2D D4 29 */ bl White__6CColorFv +/* 8006CB88 00069AE8 7C 64 1B 78 */ mr r4, r3 +/* 8006CB8C 00069AEC 80 7F 03 D4 */ lwz r3, 0x3d4(r31) +/* 8006CB90 00069AF0 48 25 DC DD */ bl SetColor__10CGuiWidgetFRC6CColor +/* 8006CB94 00069AF4 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 8006CB98 00069AF8 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8006CB9C 00069AFC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8006CBA0 00069B00 E0 21 A0 5C */ psq_l f1, 92(r1), 1, qr2 +/* 8006CBA4 00069B04 E0 41 A0 5F */ psq_l f2, 95(r1), 1, qr2 +/* 8006CBA8 00069B08 E0 61 A0 5D */ psq_l f3, 93(r1), 1, qr2 +/* 8006CBAC 00069B0C E0 E1 A0 5F */ psq_l f7, 95(r1), 1, qr2 +/* 8006CBB0 00069B10 E1 01 A0 5E */ psq_l f8, 94(r1), 1, qr2 +/* 8006CBB4 00069B14 E1 21 A0 5F */ psq_l f9, 95(r1), 1, qr2 +/* 8006CBB8 00069B18 38 61 00 58 */ addi r3, r1, 0x58 +/* 8006CBBC 00069B1C C0 02 87 A8 */ lfs f0, lbl_805AA4C8@sda21(r2) +/* 8006CBC0 00069B20 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) +/* 8006CBC4 00069B24 EC C0 00 72 */ fmuls f6, f0, f1 +/* 8006CBC8 00069B28 EC 20 00 B2 */ fmuls f1, f0, f2 +/* 8006CBCC 00069B2C EC A0 00 F2 */ fmuls f5, f0, f3 +/* 8006CBD0 00069B30 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 8006CBD4 00069B34 EC 60 02 32 */ fmuls f3, f0, f8 +/* 8006CBD8 00069B38 EC 00 02 72 */ fmuls f0, f0, f9 +/* 8006CBDC 00069B3C EC 26 00 72 */ fmuls f1, f6, f1 +/* 8006CBE0 00069B40 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 8006CBE4 00069B44 EC 63 00 32 */ fmuls f3, f3, f0 +/* 8006CBE8 00069B48 48 2F 68 05 */ bl __ct__6CColorFffff +/* 8006CBEC 00069B4C 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 8006CBF0 00069B50 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8006CBF4 00069B54 80 BF 03 D4 */ lwz r5, 0x3d4(r31) +/* 8006CBF8 00069B58 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8006CBFC 00069B5C C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) +/* 8006CC00 00069B60 38 00 00 04 */ li r0, 4 +/* 8006CC04 00069B64 90 C5 00 DC */ stw r6, 0xdc(r5) +/* 8006CC08 00069B68 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) +/* 8006CC0C 00069B6C 80 7F 03 D4 */ lwz r3, 0x3d4(r31) +/* 8006CC10 00069B70 D0 23 00 C0 */ stfs f1, 0xc0(r3) +/* 8006CC14 00069B74 80 7F 03 D4 */ lwz r3, 0x3d4(r31) +/* 8006CC18 00069B78 D0 03 00 C4 */ stfs f0, 0xc4(r3) +/* 8006CC1C 00069B7C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8006CC20 00069B80 80 7F 03 D4 */ lwz r3, 0x3d4(r31) +/* 8006CC24 00069B84 C0 05 00 58 */ lfs f0, 0x58(r5) +/* 8006CC28 00069B88 D0 03 00 CC */ stfs f0, 0xcc(r3) +/* 8006CC2C 00069B8C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8006CC30 00069B90 80 7F 03 D4 */ lwz r3, 0x3d4(r31) +/* 8006CC34 00069B94 C0 05 00 5C */ lfs f0, 0x5c(r5) +/* 8006CC38 00069B98 D0 03 00 D0 */ stfs f0, 0xd0(r3) +/* 8006CC3C 00069B9C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8006CC40 00069BA0 80 7F 03 D4 */ lwz r3, 0x3d4(r31) +/* 8006CC44 00069BA4 C0 05 00 60 */ lfs f0, 0x60(r5) +/* 8006CC48 00069BA8 D0 03 00 D4 */ stfs f0, 0xd4(r3) +/* 8006CC4C 00069BAC 80 7F 03 D4 */ lwz r3, 0x3d4(r31) +/* 8006CC50 00069BB0 90 03 00 D8 */ stw r0, 0xd8(r3) +/* 8006CC54 00069BB4 83 DF 03 D4 */ lwz r30, 0x3d4(r31) +/* 8006CC58 00069BB8 38 7E 00 04 */ addi r3, r30, 4 +/* 8006CC5C 00069BBC 48 2A 5E E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8006CC60 00069BC0 7F C3 F3 78 */ mr r3, r30 +/* 8006CC64 00069BC4 48 25 7B 85 */ bl RecalculateTransforms__10CGuiObjectFv +/* 8006CC68 00069BC8 80 7F 02 88 */ lwz r3, 0x288(r31) +/* 8006CC6C 00069BCC A8 81 00 88 */ lha r4, 0x88(r1) +/* 8006CC70 00069BD0 48 25 55 41 */ bl FindWidget__9CGuiFrameCFs +/* 8006CC74 00069BD4 80 9F 03 D4 */ lwz r4, 0x3d4(r31) +/* 8006CC78 00069BD8 38 A0 00 00 */ li r5, 0 +/* 8006CC7C 00069BDC 38 C0 00 01 */ li r6, 1 +/* 8006CC80 00069BE0 48 25 DA 49 */ bl AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb +/* 8006CC84 00069BE4 80 7F 02 88 */ lwz r3, 0x288(r31) +/* 8006CC88 00069BE8 80 9F 03 D4 */ lwz r4, 0x3d4(r31) +/* 8006CC8C 00069BEC 48 25 58 B1 */ bl AddLight__9CGuiFrameFP9CGuiLight +/* 8006CC90 00069BF0 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8006CC94 00069BF4 38 61 05 78 */ addi r3, r1, 0x578 +/* 8006CC98 00069BF8 C3 A5 00 7C */ lfs f29, 0x7c(r5) +/* 8006CC9C 00069BFC 38 85 00 64 */ addi r4, r5, 0x64 +/* 8006CCA0 00069C00 C3 85 00 80 */ lfs f28, 0x80(r5) +/* 8006CCA4 00069C04 48 2A 64 9D */ bl Translate__12CTransform4fFRC9CVector3f +/* 8006CCA8 00069C08 38 61 05 A8 */ addi r3, r1, 0x5a8 +/* 8006CCAC 00069C0C 38 81 05 78 */ addi r4, r1, 0x578 +/* 8006CCB0 00069C10 48 2A 5E C5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8006CCB4 00069C14 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CCB8 00069C18 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006CCBC 00069C1C 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006CCC0 00069C20 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8006CCC4 00069C24 7C 03 02 14 */ add r0, r3, r0 +/* 8006CCC8 00069C28 90 61 00 18 */ stw r3, 0x18(r1) +/* 8006CCCC 00069C2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006CCD0 00069C30 90 01 00 20 */ stw r0, 0x20(r1) +/* 8006CCD4 00069C34 48 00 00 08 */ b lbl_8006CCDC +lbl_8006CCD8: +/* 8006CCD8 00069C38 38 63 00 30 */ addi r3, r3, 0x30 +lbl_8006CCDC: +/* 8006CCDC 00069C3C 7C 03 00 40 */ cmplw r3, r0 +/* 8006CCE0 00069C40 40 82 FF F8 */ bne lbl_8006CCD8 +/* 8006CCE4 00069C44 38 00 00 00 */ li r0, 0 +/* 8006CCE8 00069C48 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006CCEC 00069C4C 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006CCF0 00069C50 38 80 00 0A */ li r4, 0xa +/* 8006CCF4 00069C54 48 00 0A 0D */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +/* 8006CCF8 00069C58 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CCFC 00069C5C 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006CD00 00069C60 7C 00 28 00 */ cmpw r0, r5 +/* 8006CD04 00069C64 41 80 00 1C */ blt lbl_8006CD20 +/* 8006CD08 00069C68 2C 05 00 00 */ cmpwi r5, 0 +/* 8006CD0C 00069C6C 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006CD10 00069C70 38 80 00 04 */ li r4, 4 +/* 8006CD14 00069C74 41 82 00 08 */ beq lbl_8006CD1C +/* 8006CD18 00069C78 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006CD1C: +/* 8006CD1C 00069C7C 48 00 09 E5 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006CD20: +/* 8006CD20 00069C80 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CD24 00069C84 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006CD28 00069C88 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006CD2C 00069C8C 7C 63 02 15 */ add. r3, r3, r0 +/* 8006CD30 00069C90 41 82 00 0C */ beq lbl_8006CD3C +/* 8006CD34 00069C94 38 81 05 A8 */ addi r4, r1, 0x5a8 +/* 8006CD38 00069C98 48 2A 5E 3D */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006CD3C: +/* 8006CD3C 00069C9C 80 9F 03 DC */ lwz r4, 0x3dc(r31) +/* 8006CD40 00069CA0 38 61 05 18 */ addi r3, r1, 0x518 +/* 8006CD44 00069CA4 38 04 00 01 */ addi r0, r4, 1 +/* 8006CD48 00069CA8 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006CD4C 00069CAC 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 8006CD50 00069CB0 38 84 00 70 */ addi r4, r4, 0x70 +/* 8006CD54 00069CB4 48 2A 63 ED */ bl Translate__12CTransform4fFRC9CVector3f +/* 8006CD58 00069CB8 38 61 05 48 */ addi r3, r1, 0x548 +/* 8006CD5C 00069CBC 38 81 05 18 */ addi r4, r1, 0x518 +/* 8006CD60 00069CC0 38 A1 05 A8 */ addi r5, r1, 0x5a8 +/* 8006CD64 00069CC4 48 2A 5B ED */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006CD68 00069CC8 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CD6C 00069CCC 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006CD70 00069CD0 7C 00 28 00 */ cmpw r0, r5 +/* 8006CD74 00069CD4 41 80 00 1C */ blt lbl_8006CD90 +/* 8006CD78 00069CD8 2C 05 00 00 */ cmpwi r5, 0 +/* 8006CD7C 00069CDC 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006CD80 00069CE0 38 80 00 04 */ li r4, 4 +/* 8006CD84 00069CE4 41 82 00 08 */ beq lbl_8006CD8C +/* 8006CD88 00069CE8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006CD8C: +/* 8006CD8C 00069CEC 48 00 09 75 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006CD90: +/* 8006CD90 00069CF0 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CD94 00069CF4 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006CD98 00069CF8 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006CD9C 00069CFC 7C 63 02 15 */ add. r3, r3, r0 +/* 8006CDA0 00069D00 41 82 00 0C */ beq lbl_8006CDAC +/* 8006CDA4 00069D04 38 81 05 48 */ addi r4, r1, 0x548 +/* 8006CDA8 00069D08 48 2A 5D CD */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006CDAC: +/* 8006CDAC 00069D0C 80 BF 03 DC */ lwz r5, 0x3dc(r31) +/* 8006CDB0 00069D10 38 61 04 B8 */ addi r3, r1, 0x4b8 +/* 8006CDB4 00069D14 C0 02 88 04 */ lfs f0, lbl_805AA524@sda21(r2) +/* 8006CDB8 00069D18 38 81 00 54 */ addi r4, r1, 0x54 +/* 8006CDBC 00069D1C 38 05 00 01 */ addi r0, r5, 1 +/* 8006CDC0 00069D20 EF E0 07 72 */ fmuls f31, f0, f29 +/* 8006CDC4 00069D24 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006CDC8 00069D28 D3 E1 00 54 */ stfs f31, 0x54(r1) +/* 8006CDCC 00069D2C 48 2A 6B 75 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8006CDD0 00069D30 38 61 04 E8 */ addi r3, r1, 0x4e8 +/* 8006CDD4 00069D34 38 81 04 B8 */ addi r4, r1, 0x4b8 +/* 8006CDD8 00069D38 38 A1 05 A8 */ addi r5, r1, 0x5a8 +/* 8006CDDC 00069D3C 48 2A 5B 75 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006CDE0 00069D40 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CDE4 00069D44 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006CDE8 00069D48 7C 00 28 00 */ cmpw r0, r5 +/* 8006CDEC 00069D4C 41 80 00 1C */ blt lbl_8006CE08 +/* 8006CDF0 00069D50 2C 05 00 00 */ cmpwi r5, 0 +/* 8006CDF4 00069D54 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006CDF8 00069D58 38 80 00 04 */ li r4, 4 +/* 8006CDFC 00069D5C 41 82 00 08 */ beq lbl_8006CE04 +/* 8006CE00 00069D60 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006CE04: +/* 8006CE04 00069D64 48 00 08 FD */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006CE08: +/* 8006CE08 00069D68 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CE0C 00069D6C 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006CE10 00069D70 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006CE14 00069D74 7C 63 02 15 */ add. r3, r3, r0 +/* 8006CE18 00069D78 41 82 00 0C */ beq lbl_8006CE24 +/* 8006CE1C 00069D7C 38 81 04 E8 */ addi r4, r1, 0x4e8 +/* 8006CE20 00069D80 48 2A 5D 55 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006CE24: +/* 8006CE24 00069D84 FC 00 E0 50 */ fneg f0, f28 +/* 8006CE28 00069D88 80 9F 03 DC */ lwz r4, 0x3dc(r31) +/* 8006CE2C 00069D8C C0 22 88 04 */ lfs f1, lbl_805AA524@sda21(r2) +/* 8006CE30 00069D90 38 61 03 F8 */ addi r3, r1, 0x3f8 +/* 8006CE34 00069D94 38 04 00 01 */ addi r0, r4, 1 +/* 8006CE38 00069D98 38 81 00 4C */ addi r4, r1, 0x4c +/* 8006CE3C 00069D9C 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006CE40 00069DA0 EF C1 00 32 */ fmuls f30, f1, f0 +/* 8006CE44 00069DA4 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 8006CE48 00069DA8 D3 C1 00 4C */ stfs f30, 0x4c(r1) +/* 8006CE4C 00069DAC 48 2A 69 C5 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8006CE50 00069DB0 38 61 04 28 */ addi r3, r1, 0x428 +/* 8006CE54 00069DB4 38 81 00 50 */ addi r4, r1, 0x50 +/* 8006CE58 00069DB8 48 2A 6A E9 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8006CE5C 00069DBC 38 61 04 58 */ addi r3, r1, 0x458 +/* 8006CE60 00069DC0 38 81 04 28 */ addi r4, r1, 0x428 +/* 8006CE64 00069DC4 38 A1 03 F8 */ addi r5, r1, 0x3f8 +/* 8006CE68 00069DC8 48 2A 5A E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006CE6C 00069DCC 38 61 04 88 */ addi r3, r1, 0x488 +/* 8006CE70 00069DD0 38 81 04 58 */ addi r4, r1, 0x458 +/* 8006CE74 00069DD4 38 A1 05 A8 */ addi r5, r1, 0x5a8 +/* 8006CE78 00069DD8 48 2A 5A D9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006CE7C 00069DDC 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CE80 00069DE0 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006CE84 00069DE4 7C 00 28 00 */ cmpw r0, r5 +/* 8006CE88 00069DE8 41 80 00 1C */ blt lbl_8006CEA4 +/* 8006CE8C 00069DEC 2C 05 00 00 */ cmpwi r5, 0 +/* 8006CE90 00069DF0 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006CE94 00069DF4 38 80 00 04 */ li r4, 4 +/* 8006CE98 00069DF8 41 82 00 08 */ beq lbl_8006CEA0 +/* 8006CE9C 00069DFC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006CEA0: +/* 8006CEA0 00069E00 48 00 08 61 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006CEA4: +/* 8006CEA4 00069E04 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CEA8 00069E08 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006CEAC 00069E0C 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006CEB0 00069E10 7C 63 02 15 */ add. r3, r3, r0 +/* 8006CEB4 00069E14 41 82 00 0C */ beq lbl_8006CEC0 +/* 8006CEB8 00069E18 38 81 04 88 */ addi r4, r1, 0x488 +/* 8006CEBC 00069E1C 48 2A 5C B9 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006CEC0: +/* 8006CEC0 00069E20 80 BF 03 DC */ lwz r5, 0x3dc(r31) +/* 8006CEC4 00069E24 38 61 03 98 */ addi r3, r1, 0x398 +/* 8006CEC8 00069E28 38 81 00 48 */ addi r4, r1, 0x48 +/* 8006CECC 00069E2C 38 05 00 01 */ addi r0, r5, 1 +/* 8006CED0 00069E30 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006CED4 00069E34 D3 C1 00 48 */ stfs f30, 0x48(r1) +/* 8006CED8 00069E38 48 2A 69 39 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8006CEDC 00069E3C 38 61 03 C8 */ addi r3, r1, 0x3c8 +/* 8006CEE0 00069E40 38 81 03 98 */ addi r4, r1, 0x398 +/* 8006CEE4 00069E44 38 A1 05 A8 */ addi r5, r1, 0x5a8 +/* 8006CEE8 00069E48 48 2A 5A 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006CEEC 00069E4C 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CEF0 00069E50 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006CEF4 00069E54 7C 00 28 00 */ cmpw r0, r5 +/* 8006CEF8 00069E58 41 80 00 1C */ blt lbl_8006CF14 +/* 8006CEFC 00069E5C 2C 05 00 00 */ cmpwi r5, 0 +/* 8006CF00 00069E60 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006CF04 00069E64 38 80 00 04 */ li r4, 4 +/* 8006CF08 00069E68 41 82 00 08 */ beq lbl_8006CF10 +/* 8006CF0C 00069E6C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006CF10: +/* 8006CF10 00069E70 48 00 07 F1 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006CF14: +/* 8006CF14 00069E74 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CF18 00069E78 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006CF1C 00069E7C 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006CF20 00069E80 7C 63 02 15 */ add. r3, r3, r0 +/* 8006CF24 00069E84 41 82 00 0C */ beq lbl_8006CF30 +/* 8006CF28 00069E88 38 81 03 C8 */ addi r4, r1, 0x3c8 +/* 8006CF2C 00069E8C 48 2A 5C 49 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006CF30: +/* 8006CF30 00069E90 FC 00 E8 50 */ fneg f0, f29 +/* 8006CF34 00069E94 80 9F 03 DC */ lwz r4, 0x3dc(r31) +/* 8006CF38 00069E98 C0 22 88 04 */ lfs f1, lbl_805AA524@sda21(r2) +/* 8006CF3C 00069E9C 38 61 02 D8 */ addi r3, r1, 0x2d8 +/* 8006CF40 00069EA0 38 04 00 01 */ addi r0, r4, 1 +/* 8006CF44 00069EA4 38 81 00 40 */ addi r4, r1, 0x40 +/* 8006CF48 00069EA8 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006CF4C 00069EAC EF A1 00 32 */ fmuls f29, f1, f0 +/* 8006CF50 00069EB0 D3 C1 00 40 */ stfs f30, 0x40(r1) +/* 8006CF54 00069EB4 D3 A1 00 44 */ stfs f29, 0x44(r1) +/* 8006CF58 00069EB8 48 2A 68 B9 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8006CF5C 00069EBC 38 61 03 08 */ addi r3, r1, 0x308 +/* 8006CF60 00069EC0 38 81 00 44 */ addi r4, r1, 0x44 +/* 8006CF64 00069EC4 48 2A 69 DD */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8006CF68 00069EC8 38 61 03 38 */ addi r3, r1, 0x338 +/* 8006CF6C 00069ECC 38 81 03 08 */ addi r4, r1, 0x308 +/* 8006CF70 00069ED0 38 A1 02 D8 */ addi r5, r1, 0x2d8 +/* 8006CF74 00069ED4 48 2A 59 DD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006CF78 00069ED8 38 61 03 68 */ addi r3, r1, 0x368 +/* 8006CF7C 00069EDC 38 81 03 38 */ addi r4, r1, 0x338 +/* 8006CF80 00069EE0 38 A1 05 A8 */ addi r5, r1, 0x5a8 +/* 8006CF84 00069EE4 48 2A 59 CD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006CF88 00069EE8 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CF8C 00069EEC 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006CF90 00069EF0 7C 00 28 00 */ cmpw r0, r5 +/* 8006CF94 00069EF4 41 80 00 1C */ blt lbl_8006CFB0 +/* 8006CF98 00069EF8 2C 05 00 00 */ cmpwi r5, 0 +/* 8006CF9C 00069EFC 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006CFA0 00069F00 38 80 00 04 */ li r4, 4 +/* 8006CFA4 00069F04 41 82 00 08 */ beq lbl_8006CFAC +/* 8006CFA8 00069F08 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006CFAC: +/* 8006CFAC 00069F0C 48 00 07 55 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006CFB0: +/* 8006CFB0 00069F10 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CFB4 00069F14 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006CFB8 00069F18 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006CFBC 00069F1C 7C 63 02 15 */ add. r3, r3, r0 +/* 8006CFC0 00069F20 41 82 00 0C */ beq lbl_8006CFCC +/* 8006CFC4 00069F24 38 81 03 68 */ addi r4, r1, 0x368 +/* 8006CFC8 00069F28 48 2A 5B AD */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006CFCC: +/* 8006CFCC 00069F2C 80 BF 03 DC */ lwz r5, 0x3dc(r31) +/* 8006CFD0 00069F30 38 61 02 78 */ addi r3, r1, 0x278 +/* 8006CFD4 00069F34 38 81 00 3C */ addi r4, r1, 0x3c +/* 8006CFD8 00069F38 38 05 00 01 */ addi r0, r5, 1 +/* 8006CFDC 00069F3C 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006CFE0 00069F40 D3 A1 00 3C */ stfs f29, 0x3c(r1) +/* 8006CFE4 00069F44 48 2A 69 5D */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8006CFE8 00069F48 38 61 02 A8 */ addi r3, r1, 0x2a8 +/* 8006CFEC 00069F4C 38 81 02 78 */ addi r4, r1, 0x278 +/* 8006CFF0 00069F50 38 A1 05 A8 */ addi r5, r1, 0x5a8 +/* 8006CFF4 00069F54 48 2A 59 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006CFF8 00069F58 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006CFFC 00069F5C 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006D000 00069F60 7C 00 28 00 */ cmpw r0, r5 +/* 8006D004 00069F64 41 80 00 1C */ blt lbl_8006D020 +/* 8006D008 00069F68 2C 05 00 00 */ cmpwi r5, 0 +/* 8006D00C 00069F6C 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006D010 00069F70 38 80 00 04 */ li r4, 4 +/* 8006D014 00069F74 41 82 00 08 */ beq lbl_8006D01C +/* 8006D018 00069F78 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006D01C: +/* 8006D01C 00069F7C 48 00 06 E5 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006D020: +/* 8006D020 00069F80 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006D024 00069F84 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006D028 00069F88 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006D02C 00069F8C 7C 63 02 15 */ add. r3, r3, r0 +/* 8006D030 00069F90 41 82 00 0C */ beq lbl_8006D03C +/* 8006D034 00069F94 38 81 02 A8 */ addi r4, r1, 0x2a8 +/* 8006D038 00069F98 48 2A 5B 3D */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006D03C: +/* 8006D03C 00069F9C 80 BF 03 DC */ lwz r5, 0x3dc(r31) +/* 8006D040 00069FA0 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 8006D044 00069FA4 C0 02 88 04 */ lfs f0, lbl_805AA524@sda21(r2) +/* 8006D048 00069FA8 38 81 00 34 */ addi r4, r1, 0x34 +/* 8006D04C 00069FAC 38 05 00 01 */ addi r0, r5, 1 +/* 8006D050 00069FB0 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006D054 00069FB4 EF C0 07 32 */ fmuls f30, f0, f28 +/* 8006D058 00069FB8 D3 A1 00 38 */ stfs f29, 0x38(r1) +/* 8006D05C 00069FBC D3 C1 00 34 */ stfs f30, 0x34(r1) +/* 8006D060 00069FC0 48 2A 67 B1 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8006D064 00069FC4 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 8006D068 00069FC8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8006D06C 00069FCC 48 2A 68 D5 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8006D070 00069FD0 38 61 02 18 */ addi r3, r1, 0x218 +/* 8006D074 00069FD4 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 8006D078 00069FD8 38 A1 01 B8 */ addi r5, r1, 0x1b8 +/* 8006D07C 00069FDC 48 2A 58 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006D080 00069FE0 38 61 02 48 */ addi r3, r1, 0x248 +/* 8006D084 00069FE4 38 81 02 18 */ addi r4, r1, 0x218 +/* 8006D088 00069FE8 38 A1 05 A8 */ addi r5, r1, 0x5a8 +/* 8006D08C 00069FEC 48 2A 58 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006D090 00069FF0 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006D094 00069FF4 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006D098 00069FF8 7C 00 28 00 */ cmpw r0, r5 +/* 8006D09C 00069FFC 41 80 00 1C */ blt lbl_8006D0B8 +/* 8006D0A0 0006A000 2C 05 00 00 */ cmpwi r5, 0 +/* 8006D0A4 0006A004 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006D0A8 0006A008 38 80 00 04 */ li r4, 4 +/* 8006D0AC 0006A00C 41 82 00 08 */ beq lbl_8006D0B4 +/* 8006D0B0 0006A010 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006D0B4: +/* 8006D0B4 0006A014 48 00 06 4D */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006D0B8: +/* 8006D0B8 0006A018 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006D0BC 0006A01C 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006D0C0 0006A020 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006D0C4 0006A024 7C 63 02 15 */ add. r3, r3, r0 +/* 8006D0C8 0006A028 41 82 00 0C */ beq lbl_8006D0D4 +/* 8006D0CC 0006A02C 38 81 02 48 */ addi r4, r1, 0x248 +/* 8006D0D0 0006A030 48 2A 5A A5 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006D0D4: +/* 8006D0D4 0006A034 80 BF 03 DC */ lwz r5, 0x3dc(r31) +/* 8006D0D8 0006A038 38 61 01 58 */ addi r3, r1, 0x158 +/* 8006D0DC 0006A03C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8006D0E0 0006A040 38 05 00 01 */ addi r0, r5, 1 +/* 8006D0E4 0006A044 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006D0E8 0006A048 D3 C1 00 30 */ stfs f30, 0x30(r1) +/* 8006D0EC 0006A04C 48 2A 67 25 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8006D0F0 0006A050 38 61 01 88 */ addi r3, r1, 0x188 +/* 8006D0F4 0006A054 38 81 01 58 */ addi r4, r1, 0x158 +/* 8006D0F8 0006A058 38 A1 05 A8 */ addi r5, r1, 0x5a8 +/* 8006D0FC 0006A05C 48 2A 58 55 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006D100 0006A060 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006D104 0006A064 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006D108 0006A068 7C 00 28 00 */ cmpw r0, r5 +/* 8006D10C 0006A06C 41 80 00 1C */ blt lbl_8006D128 +/* 8006D110 0006A070 2C 05 00 00 */ cmpwi r5, 0 +/* 8006D114 0006A074 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006D118 0006A078 38 80 00 04 */ li r4, 4 +/* 8006D11C 0006A07C 41 82 00 08 */ beq lbl_8006D124 +/* 8006D120 0006A080 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006D124: +/* 8006D124 0006A084 48 00 05 DD */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006D128: +/* 8006D128 0006A088 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006D12C 0006A08C 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006D130 0006A090 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006D134 0006A094 7C 63 02 15 */ add. r3, r3, r0 +/* 8006D138 0006A098 41 82 00 0C */ beq lbl_8006D144 +/* 8006D13C 0006A09C 38 81 01 88 */ addi r4, r1, 0x188 +/* 8006D140 0006A0A0 48 2A 5A 35 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006D144: +/* 8006D144 0006A0A4 80 BF 03 DC */ lwz r5, 0x3dc(r31) +/* 8006D148 0006A0A8 38 61 00 98 */ addi r3, r1, 0x98 +/* 8006D14C 0006A0AC 38 81 00 28 */ addi r4, r1, 0x28 +/* 8006D150 0006A0B0 38 05 00 01 */ addi r0, r5, 1 +/* 8006D154 0006A0B4 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006D158 0006A0B8 D3 C1 00 28 */ stfs f30, 0x28(r1) +/* 8006D15C 0006A0BC D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 8006D160 0006A0C0 48 2A 66 B1 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8006D164 0006A0C4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8006D168 0006A0C8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8006D16C 0006A0CC 48 2A 67 D5 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8006D170 0006A0D0 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8006D174 0006A0D4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8006D178 0006A0D8 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8006D17C 0006A0DC 48 2A 57 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006D180 0006A0E0 38 61 01 28 */ addi r3, r1, 0x128 +/* 8006D184 0006A0E4 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8006D188 0006A0E8 38 A1 05 A8 */ addi r5, r1, 0x5a8 +/* 8006D18C 0006A0EC 48 2A 57 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8006D190 0006A0F0 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006D194 0006A0F4 80 BF 03 E0 */ lwz r5, 0x3e0(r31) +/* 8006D198 0006A0F8 7C 00 28 00 */ cmpw r0, r5 +/* 8006D19C 0006A0FC 41 80 00 1C */ blt lbl_8006D1B8 +/* 8006D1A0 0006A100 2C 05 00 00 */ cmpwi r5, 0 +/* 8006D1A4 0006A104 38 7F 03 D8 */ addi r3, r31, 0x3d8 +/* 8006D1A8 0006A108 38 80 00 04 */ li r4, 4 +/* 8006D1AC 0006A10C 41 82 00 08 */ beq lbl_8006D1B4 +/* 8006D1B0 0006A110 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006D1B4: +/* 8006D1B4 0006A114 48 00 05 4D */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +lbl_8006D1B8: +/* 8006D1B8 0006A118 80 1F 03 DC */ lwz r0, 0x3dc(r31) +/* 8006D1BC 0006A11C 80 7F 03 E4 */ lwz r3, 0x3e4(r31) +/* 8006D1C0 0006A120 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006D1C4 0006A124 7C 63 02 15 */ add. r3, r3, r0 +/* 8006D1C8 0006A128 41 82 00 0C */ beq lbl_8006D1D4 +/* 8006D1CC 0006A12C 38 81 01 28 */ addi r4, r1, 0x128 +/* 8006D1D0 0006A130 48 2A 59 A5 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006D1D4: +/* 8006D1D4 0006A134 80 7F 03 DC */ lwz r3, 0x3dc(r31) +/* 8006D1D8 0006A138 38 03 00 01 */ addi r0, r3, 1 +/* 8006D1DC 0006A13C 90 1F 03 DC */ stw r0, 0x3dc(r31) +/* 8006D1E0 0006A140 E3 E1 06 C8 */ psq_l f31, 1736(r1), 0, qr0 +/* 8006D1E4 0006A144 CB E1 06 C0 */ lfd f31, 0x6c0(r1) +/* 8006D1E8 0006A148 E3 C1 06 B8 */ psq_l f30, 1720(r1), 0, qr0 +/* 8006D1EC 0006A14C CB C1 06 B0 */ lfd f30, 0x6b0(r1) +/* 8006D1F0 0006A150 E3 A1 06 A8 */ psq_l f29, 1704(r1), 0, qr0 +/* 8006D1F4 0006A154 CB A1 06 A0 */ lfd f29, 0x6a0(r1) +/* 8006D1F8 0006A158 E3 81 06 98 */ psq_l f28, 1688(r1), 0, qr0 +/* 8006D1FC 0006A15C CB 81 06 90 */ lfd f28, 0x690(r1) +/* 8006D200 0006A160 83 E1 06 8C */ lwz r31, 0x68c(r1) +/* 8006D204 0006A164 83 C1 06 88 */ lwz r30, 0x688(r1) +/* 8006D208 0006A168 80 01 06 D4 */ lwz r0, 0x6d4(r1) +/* 8006D20C 0006A16C 83 A1 06 84 */ lwz r29, 0x684(r1) +/* 8006D210 0006A170 7C 08 03 A6 */ mtlr r0 +/* 8006D214 0006A174 38 21 06 D0 */ addi r1, r1, 0x6d0 +/* 8006D218 0006A178 4E 80 00 20 */ blr + +.global RefreshHudOptions__9CSamusHudFv +RefreshHudOptions__9CSamusHudFv: +/* 8006D21C 0006A17C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006D220 0006A180 7C 08 02 A6 */ mflr r0 +/* 8006D224 0006A184 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006D228 0006A188 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006D22C 0006A18C 7C 7F 1B 78 */ mr r31, r3 +/* 8006D230 0006A190 80 63 02 9C */ lwz r3, 0x29c(r3) +/* 8006D234 0006A194 28 03 00 00 */ cmplwi r3, 0 +/* 8006D238 0006A198 41 82 00 14 */ beq lbl_8006D24C +/* 8006D23C 0006A19C 81 83 00 00 */ lwz r12, 0(r3) +/* 8006D240 0006A1A0 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8006D244 0006A1A4 7D 89 03 A6 */ mtctr r12 +/* 8006D248 0006A1A8 4E 80 04 21 */ bctrl +lbl_8006D24C: +/* 8006D24C 0006A1AC 80 7F 02 A0 */ lwz r3, 0x2a0(r31) +/* 8006D250 0006A1B0 28 03 00 00 */ cmplwi r3, 0 +/* 8006D254 0006A1B4 41 82 00 08 */ beq lbl_8006D25C +/* 8006D258 0006A1B8 48 12 3B 2D */ bl UpdateHelmetAlpha__19CHudHelmetInterfaceFv +lbl_8006D25C: +/* 8006D25C 0006A1BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006D260 0006A1C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8006D264 0006A1C4 7C 08 03 A6 */ mtlr r0 +/* 8006D268 0006A1C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006D26C 0006A1CC 4E 80 00 20 */ blr + +.global InitializeFrameGluePermanent__9CSamusHudFRC13CStateManager +InitializeFrameGluePermanent__9CSamusHudFRC13CStateManager: +/* 8006D270 0006A1D0 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8006D274 0006A1D4 7C 08 02 A6 */ mflr r0 +/* 8006D278 0006A1D8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8006D27C 0006A1DC DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8006D280 0006A1E0 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8006D284 0006A1E4 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8006D288 0006A1E8 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8006D28C 0006A1EC DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8006D290 0006A1F0 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8006D294 0006A1F4 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8006D298 0006A1F8 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 8006D29C 0006A1FC DB 61 00 60 */ stfd f27, 0x60(r1) +/* 8006D2A0 0006A200 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 +/* 8006D2A4 0006A204 DB 41 00 50 */ stfd f26, 0x50(r1) +/* 8006D2A8 0006A208 F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 +/* 8006D2AC 0006A20C BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8006D2B0 0006A210 7C 7E 1B 78 */ mr r30, r3 +/* 8006D2B4 0006A214 3C 60 80 3D */ lis r3, lbl_803CCFB8@ha +/* 8006D2B8 0006A218 3B E3 CF B8 */ addi r31, r3, lbl_803CCFB8@l +/* 8006D2BC 0006A21C 80 7E 02 74 */ lwz r3, 0x274(r30) +/* 8006D2C0 0006A220 38 9F 00 6C */ addi r4, r31, 0x6c +/* 8006D2C4 0006A224 48 25 4E 91 */ bl FindWidget__9CGuiFrameCFPCc +/* 8006D2C8 0006A228 90 7E 05 88 */ stw r3, 0x588(r30) +/* 8006D2CC 0006A22C 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006D2D0 0006A230 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006D2D4 0006A234 80 7E 02 64 */ lwz r3, 0x264(r30) +/* 8006D2D8 0006A238 38 84 01 52 */ addi r4, r4, 0x152 +/* 8006D2DC 0006A23C 48 25 4E 79 */ bl FindWidget__9CGuiFrameCFPCc +/* 8006D2E0 0006A240 90 7E 05 8C */ stw r3, 0x58c(r30) +/* 8006D2E4 0006A244 38 9F 00 80 */ addi r4, r31, 0x80 +/* 8006D2E8 0006A248 80 7E 02 74 */ lwz r3, 0x274(r30) +/* 8006D2EC 0006A24C 48 25 4E 69 */ bl FindWidget__9CGuiFrameCFPCc +/* 8006D2F0 0006A250 90 7E 05 90 */ stw r3, 0x590(r30) +/* 8006D2F4 0006A254 38 9F 00 94 */ addi r4, r31, 0x94 +/* 8006D2F8 0006A258 80 7E 02 74 */ lwz r3, 0x274(r30) +/* 8006D2FC 0006A25C 48 25 4E 59 */ bl FindWidget__9CGuiFrameCFPCc +/* 8006D300 0006A260 90 7E 05 94 */ stw r3, 0x594(r30) +/* 8006D304 0006A264 80 7E 05 94 */ lwz r3, 0x594(r30) +/* 8006D308 0006A268 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 8006D30C 0006A26C 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8006D310 0006A270 38 84 01 80 */ addi r4, r4, 0x180 +/* 8006D314 0006A274 48 25 C3 55 */ bl SetFontColor__15CGuiTextSupportFRC6CColor +/* 8006D318 0006A278 80 7E 05 94 */ lwz r3, 0x594(r30) +/* 8006D31C 0006A27C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 8006D320 0006A280 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8006D324 0006A284 38 84 01 84 */ addi r4, r4, 0x184 +/* 8006D328 0006A288 48 25 C2 F1 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor +/* 8006D32C 0006A28C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006D330 0006A290 80 7E 02 74 */ lwz r3, 0x274(r30) +/* 8006D334 0006A294 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006D338 0006A298 38 84 01 63 */ addi r4, r4, 0x163 +/* 8006D33C 0006A29C 48 25 4E 19 */ bl FindWidget__9CGuiFrameCFPCc +/* 8006D340 0006A2A0 90 7E 05 98 */ stw r3, 0x598(r30) +/* 8006D344 0006A2A4 80 7E 05 98 */ lwz r3, 0x598(r30) +/* 8006D348 0006A2A8 48 25 79 E9 */ bl GetChildObject__10CGuiObjectFv +/* 8006D34C 0006A2AC 3B 80 00 00 */ li r28, 0 +/* 8006D350 0006A2B0 48 00 00 14 */ b lbl_8006D364 +lbl_8006D354: +/* 8006D354 0006A2B4 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 8006D358 0006A2B8 53 80 07 FE */ rlwimi r0, r28, 0, 0x1f, 0x1f +/* 8006D35C 0006A2BC 98 03 00 B6 */ stb r0, 0xb6(r3) +/* 8006D360 0006A2C0 48 25 79 C1 */ bl GetNextSibling__10CGuiObjectFv +lbl_8006D364: +/* 8006D364 0006A2C4 28 03 00 00 */ cmplwi r3, 0 +/* 8006D368 0006A2C8 40 82 FF EC */ bne lbl_8006D354 +/* 8006D36C 0006A2CC 80 7E 02 74 */ lwz r3, 0x274(r30) +/* 8006D370 0006A2D0 38 9F 00 B8 */ addi r4, r31, 0xb8 +/* 8006D374 0006A2D4 48 25 4D E1 */ bl FindWidget__9CGuiFrameCFPCc +/* 8006D378 0006A2D8 90 7E 05 9C */ stw r3, 0x59c(r30) +/* 8006D37C 0006A2DC 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006D380 0006A2E0 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l +/* 8006D384 0006A2E4 80 7E 02 74 */ lwz r3, 0x274(r30) +/* 8006D388 0006A2E8 38 84 01 76 */ addi r4, r4, 0x176 +/* 8006D38C 0006A2EC 48 25 4D C9 */ bl FindWidget__9CGuiFrameCFPCc +/* 8006D390 0006A2F0 3B 7E 05 DC */ addi r27, r30, 0x5dc +/* 8006D394 0006A2F4 90 7E 05 A0 */ stw r3, 0x5a0(r30) +/* 8006D398 0006A2F8 7F 7C DB 78 */ mr r28, r27 +/* 8006D39C 0006A2FC 3B A0 00 00 */ li r29, 0 +lbl_8006D3A0: +/* 8006D3A0 0006A300 80 7E 02 64 */ lwz r3, 0x264(r30) +/* 8006D3A4 0006A304 7F A4 EB 78 */ mr r4, r29 +/* 8006D3A8 0006A308 48 25 4D 9D */ bl GetFrameLight__9CGuiFrameFi +/* 8006D3AC 0006A30C 3B BD 00 01 */ addi r29, r29, 1 +/* 8006D3B0 0006A310 90 7C 00 00 */ stw r3, 0(r28) +/* 8006D3B4 0006A314 2C 1D 00 04 */ cmpwi r29, 4 +/* 8006D3B8 0006A318 3B 9C 00 04 */ addi r28, r28, 4 +/* 8006D3BC 0006A31C 41 80 FF E4 */ blt lbl_8006D3A0 +/* 8006D3C0 0006A320 48 2D CB F5 */ bl Black__6CColorFv +/* 8006D3C4 0006A324 7C 64 1B 78 */ mr r4, r3 +/* 8006D3C8 0006A328 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 8006D3CC 0006A32C 48 25 D4 A1 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 8006D3D0 0006A330 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha +/* 8006D3D4 0006A334 CB 42 87 B8 */ lfd f26, lbl_805AA4D8@sda21(r2) +/* 8006D3D8 0006A338 C3 62 87 AC */ lfs f27, lbl_805AA4CC@sda21(r2) +/* 8006D3DC 0006A33C 3B 7E 05 A8 */ addi r27, r30, 0x5a8 +/* 8006D3E0 0006A340 C3 82 87 B4 */ lfs f28, lbl_805AA4D4@sda21(r2) +/* 8006D3E4 0006A344 3B 83 D0 C0 */ addi r28, r3, lbl_803CD0C0@l +/* 8006D3E8 0006A348 C3 A2 88 08 */ lfs f29, lbl_805AA528@sda21(r2) +/* 8006D3EC 0006A34C 3B 40 00 00 */ li r26, 0 +/* 8006D3F0 0006A350 C3 C2 88 10 */ lfs f30, lbl_805AA530@sda21(r2) +/* 8006D3F4 0006A354 3F A0 43 30 */ lis r29, 0x4330 +/* 8006D3F8 0006A358 C3 E2 88 0C */ lfs f31, lbl_805AA52C@sda21(r2) +lbl_8006D3FC: +/* 8006D3FC 0006A35C 7F 45 D3 78 */ mr r5, r26 +/* 8006D400 0006A360 38 7C 01 84 */ addi r3, r28, 0x184 +/* 8006D404 0006A364 38 9F 00 A8 */ addi r4, r31, 0xa8 +/* 8006D408 0006A368 4C C6 31 82 */ crclr 6 +/* 8006D40C 0006A36C 48 26 8D A5 */ bl Stringize__7CBasicsFPCce +/* 8006D410 0006A370 7C 64 1B 78 */ mr r4, r3 +/* 8006D414 0006A374 38 61 00 18 */ addi r3, r1, 0x18 +/* 8006D418 0006A378 38 C1 00 08 */ addi r6, r1, 8 +/* 8006D41C 0006A37C 38 A0 FF FF */ li r5, -1 +/* 8006D420 0006A380 48 2D 0D 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8006D424 0006A384 80 7E 02 74 */ lwz r3, 0x274(r30) +/* 8006D428 0006A388 38 81 00 18 */ addi r4, r1, 0x18 +/* 8006D42C 0006A38C 48 25 4D A9 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8006D430 0006A390 90 7B 00 00 */ stw r3, 0(r27) +/* 8006D434 0006A394 38 61 00 18 */ addi r3, r1, 0x18 +/* 8006D438 0006A398 48 2D 06 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8006D43C 0006A39C 48 32 2A 41 */ bl rand +/* 8006D440 0006A3A0 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 8006D444 0006A3A4 93 A1 00 28 */ stw r29, 0x28(r1) +/* 8006D448 0006A3A8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8006D44C 0006A3AC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8006D450 0006A3B0 EC 00 D0 28 */ fsubs f0, f0, f26 +/* 8006D454 0006A3B4 EC 1B 00 32 */ fmuls f0, f27, f0 +/* 8006D458 0006A3B8 EC 00 E0 24 */ fdivs f0, f0, f28 +/* 8006D45C 0006A3BC EC 1D 00 2A */ fadds f0, f29, f0 +/* 8006D460 0006A3C0 D0 1B 00 04 */ stfs f0, 4(r27) +/* 8006D464 0006A3C4 48 32 2A 19 */ bl rand +/* 8006D468 0006A3C8 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 8006D46C 0006A3CC 3B 5A 00 01 */ addi r26, r26, 1 +/* 8006D470 0006A3D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006D474 0006A3D4 2C 1A 00 04 */ cmpwi r26, 4 +/* 8006D478 0006A3D8 93 A1 00 30 */ stw r29, 0x30(r1) +/* 8006D47C 0006A3DC C8 01 00 30 */ lfd f0, 0x30(r1) +/* 8006D480 0006A3E0 EC 00 D0 28 */ fsubs f0, f0, f26 +/* 8006D484 0006A3E4 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 8006D488 0006A3E8 EC 00 E0 24 */ fdivs f0, f0, f28 +/* 8006D48C 0006A3EC EC 1F 00 2A */ fadds f0, f31, f0 +/* 8006D490 0006A3F0 D0 1B 00 08 */ stfs f0, 8(r27) +/* 8006D494 0006A3F4 3B 7B 00 0C */ addi r27, r27, 0xc +/* 8006D498 0006A3F8 41 80 FF 64 */ blt lbl_8006D3FC +/* 8006D49C 0006A3FC 80 7E 05 9C */ lwz r3, 0x59c(r30) +/* 8006D4A0 0006A400 38 C0 00 00 */ li r6, 0 +/* 8006D4A4 0006A404 38 80 00 00 */ li r4, 0 +/* 8006D4A8 0006A408 38 A0 00 01 */ li r5, 1 +/* 8006D4AC 0006A40C 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 8006D4B0 0006A410 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 8006D4B4 0006A414 98 03 00 B6 */ stb r0, 0xb6(r3) +/* 8006D4B8 0006A418 80 7E 05 98 */ lwz r3, 0x598(r30) +/* 8006D4BC 0006A41C 48 25 D2 2D */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +/* 8006D4C0 0006A420 80 7E 05 9C */ lwz r3, 0x59c(r30) +/* 8006D4C4 0006A424 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 8006D4C8 0006A428 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8006D4CC 0006A42C 38 84 00 14 */ addi r4, r4, 0x14 +/* 8006D4D0 0006A430 48 25 C1 99 */ bl SetFontColor__15CGuiTextSupportFRC6CColor +/* 8006D4D4 0006A434 80 7E 05 9C */ lwz r3, 0x59c(r30) +/* 8006D4D8 0006A438 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 8006D4DC 0006A43C 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8006D4E0 0006A440 38 84 00 18 */ addi r4, r4, 0x18 +/* 8006D4E4 0006A444 48 25 C1 35 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor +/* 8006D4E8 0006A448 80 7E 05 9C */ lwz r3, 0x59c(r30) +/* 8006D4EC 0006A44C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 8006D4F0 0006A450 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8006D4F4 0006A454 38 84 01 E8 */ addi r4, r4, 0x1e8 +/* 8006D4F8 0006A458 48 25 C0 E5 */ bl "SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>" +/* 8006D4FC 0006A45C 80 9E 05 90 */ lwz r4, 0x590(r30) +/* 8006D500 0006A460 38 A0 00 01 */ li r5, 1 +/* 8006D504 0006A464 38 61 00 0C */ addi r3, r1, 0xc +/* 8006D508 0006A468 88 04 00 B7 */ lbz r0, 0xb7(r4) +/* 8006D50C 0006A46C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8006D510 0006A470 98 04 00 B7 */ stb r0, 0xb7(r4) +/* 8006D514 0006A474 80 9E 05 88 */ lwz r4, 0x588(r30) +/* 8006D518 0006A478 C0 44 00 A0 */ lfs f2, 0xa0(r4) +/* 8006D51C 0006A47C C0 24 00 90 */ lfs f1, 0x90(r4) +/* 8006D520 0006A480 C0 04 00 80 */ lfs f0, 0x80(r4) +/* 8006D524 0006A484 D0 1E 03 04 */ stfs f0, 0x304(r30) +/* 8006D528 0006A488 D0 3E 03 08 */ stfs f1, 0x308(r30) +/* 8006D52C 0006A48C D0 5E 03 0C */ stfs f2, 0x30c(r30) +/* 8006D530 0006A490 80 9E 02 74 */ lwz r4, 0x274(r30) +/* 8006D534 0006A494 80 84 00 14 */ lwz r4, 0x14(r4) +/* 8006D538 0006A498 48 25 7C E5 */ bl GetLocalPosition__10CGuiObjectCFv +/* 8006D53C 0006A49C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8006D540 0006A4A0 7F C3 F3 78 */ mr r3, r30 +/* 8006D544 0006A4A4 D0 1E 03 10 */ stfs f0, 0x310(r30) +/* 8006D548 0006A4A8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8006D54C 0006A4AC D0 1E 03 14 */ stfs f0, 0x314(r30) +/* 8006D550 0006A4B0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8006D554 0006A4B4 D0 1E 03 18 */ stfs f0, 0x318(r30) +/* 8006D558 0006A4B8 4B FF FC C5 */ bl RefreshHudOptions__9CSamusHudFv +/* 8006D55C 0006A4BC E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8006D560 0006A4C0 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8006D564 0006A4C4 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8006D568 0006A4C8 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8006D56C 0006A4CC E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8006D570 0006A4D0 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8006D574 0006A4D4 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 8006D578 0006A4D8 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 8006D57C 0006A4DC E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 +/* 8006D580 0006A4E0 CB 61 00 60 */ lfd f27, 0x60(r1) +/* 8006D584 0006A4E4 E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 +/* 8006D588 0006A4E8 CB 41 00 50 */ lfd f26, 0x50(r1) +/* 8006D58C 0006A4EC BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8006D590 0006A4F0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8006D594 0006A4F4 7C 08 03 A6 */ mtlr r0 +/* 8006D598 0006A4F8 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8006D59C 0006A4FC 4E 80 00 20 */ blr + +.global BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f +BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f: +/* 8006D5A0 0006A500 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8006D5A4 0006A504 7C 08 02 A6 */ mflr r0 +/* 8006D5A8 0006A508 90 01 00 94 */ stw r0, 0x94(r1) +/* 8006D5AC 0006A50C 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8006D5B0 0006A510 7C BF 2B 78 */ mr r31, r5 +/* 8006D5B4 0006A514 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8006D5B8 0006A518 7C 9E 23 78 */ mr r30, r4 +/* 8006D5BC 0006A51C 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8006D5C0 0006A520 7C 7D 1B 78 */ mr r29, r3 +/* 8006D5C4 0006A524 38 61 00 40 */ addi r3, r1, 0x40 +/* 8006D5C8 0006A528 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8006D5CC 0006A52C C0 24 00 08 */ lfs f1, 8(r4) +/* 8006D5D0 0006A530 FD 40 00 50 */ fneg f10, f0 +/* 8006D5D4 0006A534 C0 04 00 04 */ lfs f0, 4(r4) +/* 8006D5D8 0006A538 FD 20 08 50 */ fneg f9, f1 +/* 8006D5DC 0006A53C C0 64 00 00 */ lfs f3, 0(r4) +/* 8006D5E0 0006A540 FC 80 00 50 */ fneg f4, f0 +/* 8006D5E4 0006A544 C0 26 00 04 */ lfs f1, 4(r6) +/* 8006D5E8 0006A548 C0 05 00 04 */ lfs f0, 4(r5) +/* 8006D5EC 0006A54C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8006D5F0 0006A550 C0 A6 00 08 */ lfs f5, 8(r6) +/* 8006D5F4 0006A554 FC 40 20 18 */ frsp f2, f4 +/* 8006D5F8 0006A558 ED 01 00 28 */ fsubs f8, f1, f0 +/* 8006D5FC 0006A55C C0 05 00 08 */ lfs f0, 8(r5) +/* 8006D600 0006A560 C0 C6 00 00 */ lfs f6, 0(r6) +/* 8006D604 0006A564 FC 20 48 18 */ frsp f1, f9 +/* 8006D608 0006A568 EC E5 00 28 */ fsubs f7, f5, f0 +/* 8006D60C 0006A56C C0 A5 00 00 */ lfs f5, 0(r5) +/* 8006D610 0006A570 FC 00 50 18 */ frsp f0, f10 +/* 8006D614 0006A574 D1 01 00 50 */ stfs f8, 0x50(r1) +/* 8006D618 0006A578 EC A6 28 28 */ fsubs f5, f6, f5 +/* 8006D61C 0006A57C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 8006D620 0006A580 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 8006D624 0006A584 D0 81 00 08 */ stfs f4, 8(r1) +/* 8006D628 0006A588 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 8006D62C 0006A58C D1 21 00 0C */ stfs f9, 0xc(r1) +/* 8006D630 0006A590 D1 41 00 10 */ stfs f10, 0x10(r1) +/* 8006D634 0006A594 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8006D638 0006A598 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8006D63C 0006A59C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8006D640 0006A5A0 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8006D644 0006A5A4 48 2A 3C 21 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 8006D648 0006A5A8 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8006D64C 0006A5AC 38 61 00 58 */ addi r3, r1, 0x58 +/* 8006D650 0006A5B0 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8006D654 0006A5B4 38 81 00 20 */ addi r4, r1, 0x20 +/* 8006D658 0006A5B8 FD 80 00 50 */ fneg f12, f0 +/* 8006D65C 0006A5BC C0 1E 00 04 */ lfs f0, 4(r30) +/* 8006D660 0006A5C0 FD 60 08 50 */ fneg f11, f1 +/* 8006D664 0006A5C4 C1 41 00 40 */ lfs f10, 0x40(r1) +/* 8006D668 0006A5C8 FC 80 00 50 */ fneg f4, f0 +/* 8006D66C 0006A5CC C1 21 00 44 */ lfs f9, 0x44(r1) +/* 8006D670 0006A5D0 C1 01 00 48 */ lfs f8, 0x48(r1) +/* 8006D674 0006A5D4 FC 20 58 18 */ frsp f1, f11 +/* 8006D678 0006A5D8 C0 FF 00 00 */ lfs f7, 0(r31) +/* 8006D67C 0006A5DC FC 40 20 18 */ frsp f2, f4 +/* 8006D680 0006A5E0 C0 DF 00 04 */ lfs f6, 4(r31) +/* 8006D684 0006A5E4 FC 00 60 18 */ frsp f0, f12 +/* 8006D688 0006A5E8 C0 BF 00 08 */ lfs f5, 8(r31) +/* 8006D68C 0006A5EC C0 7E 00 00 */ lfs f3, 0(r30) +/* 8006D690 0006A5F0 EC EA 38 2A */ fadds f7, f10, f7 +/* 8006D694 0006A5F4 D1 41 00 4C */ stfs f10, 0x4c(r1) +/* 8006D698 0006A5F8 EC C9 30 2A */ fadds f6, f9, f6 +/* 8006D69C 0006A5FC EC A8 28 2A */ fadds f5, f8, f5 +/* 8006D6A0 0006A600 D1 21 00 50 */ stfs f9, 0x50(r1) +/* 8006D6A4 0006A604 D1 01 00 54 */ stfs f8, 0x54(r1) +/* 8006D6A8 0006A608 D0 E1 00 4C */ stfs f7, 0x4c(r1) +/* 8006D6AC 0006A60C D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 8006D6B0 0006A610 D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 8006D6B4 0006A614 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8006D6B8 0006A618 D1 61 00 18 */ stfs f11, 0x18(r1) +/* 8006D6BC 0006A61C D1 81 00 1C */ stfs f12, 0x1c(r1) +/* 8006D6C0 0006A620 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8006D6C4 0006A624 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8006D6C8 0006A628 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8006D6CC 0006A62C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8006D6D0 0006A630 48 2A 49 BD */ bl BuildTransform__11CQuaternionCFv +/* 8006D6D4 0006A634 7F A3 EB 78 */ mr r3, r29 +/* 8006D6D8 0006A638 38 81 00 58 */ addi r4, r1, 0x58 +/* 8006D6DC 0006A63C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 8006D6E0 0006A640 48 2A 5B 99 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 8006D6E4 0006A644 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8006D6E8 0006A648 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8006D6EC 0006A64C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8006D6F0 0006A650 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8006D6F4 0006A654 7C 08 03 A6 */ mtlr r0 +/* 8006D6F8 0006A658 38 21 00 90 */ addi r1, r1, 0x90 +/* 8006D6FC 0006A65C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi": +/* 8006D700 0006A660 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006D704 0006A664 7C 08 02 A6 */ mflr r0 +/* 8006D708 0006A668 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006D70C 0006A66C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8006D710 0006A670 7C 9F 23 78 */ mr r31, r4 +/* 8006D714 0006A674 7C 7E 1B 78 */ mr r30, r3 +/* 8006D718 0006A678 80 03 00 08 */ lwz r0, 8(r3) +/* 8006D71C 0006A67C 7C 1F 00 00 */ cmpw r31, r0 +/* 8006D720 0006A680 40 81 00 B4 */ ble lbl_8006D7D4 +/* 8006D724 0006A684 1C 7F 00 30 */ mulli r3, r31, 0x30 +/* 8006D728 0006A688 2C 03 00 00 */ cmpwi r3, 0 +/* 8006D72C 0006A68C 40 82 00 0C */ bne lbl_8006D738 +/* 8006D730 0006A690 3B 80 00 00 */ li r28, 0 +/* 8006D734 0006A694 48 00 00 1C */ b lbl_8006D750 +lbl_8006D738: +/* 8006D738 0006A698 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha +/* 8006D73C 0006A69C 38 A0 00 00 */ li r5, 0 +/* 8006D740 0006A6A0 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l +/* 8006D744 0006A6A4 38 84 01 3B */ addi r4, r4, 0x13b +/* 8006D748 0006A6A8 48 2A 80 D1 */ bl __nwa__FUlPCcPCc +/* 8006D74C 0006A6AC 7C 7C 1B 78 */ mr r28, r3 +lbl_8006D750: +/* 8006D750 0006A6B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006D754 0006A6B4 7F 9B E3 78 */ mr r27, r28 +/* 8006D758 0006A6B8 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8006D75C 0006A6BC 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006D760 0006A6C0 93 41 00 10 */ stw r26, 0x10(r1) +/* 8006D764 0006A6C4 7F BA 02 14 */ add r29, r26, r0 +/* 8006D768 0006A6C8 93 41 00 14 */ stw r26, 0x14(r1) +/* 8006D76C 0006A6CC 93 A1 00 08 */ stw r29, 8(r1) +/* 8006D770 0006A6D0 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8006D774 0006A6D4 48 00 00 20 */ b lbl_8006D794 +lbl_8006D778: +/* 8006D778 0006A6D8 28 1B 00 00 */ cmplwi r27, 0 +/* 8006D77C 0006A6DC 41 82 00 10 */ beq lbl_8006D78C +/* 8006D780 0006A6E0 7F 63 DB 78 */ mr r3, r27 +/* 8006D784 0006A6E4 7F 44 D3 78 */ mr r4, r26 +/* 8006D788 0006A6E8 48 2A 53 ED */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_8006D78C: +/* 8006D78C 0006A6EC 3B 7B 00 30 */ addi r27, r27, 0x30 +/* 8006D790 0006A6F0 3B 5A 00 30 */ addi r26, r26, 0x30 +lbl_8006D794: +/* 8006D794 0006A6F4 7C 1A E8 40 */ cmplw r26, r29 +/* 8006D798 0006A6F8 40 82 FF E0 */ bne lbl_8006D778 +/* 8006D79C 0006A6FC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006D7A0 0006A700 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8006D7A4 0006A704 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8006D7A8 0006A708 7C 64 1B 78 */ mr r4, r3 +/* 8006D7AC 0006A70C 7C 03 02 14 */ add r0, r3, r0 +/* 8006D7B0 0006A710 48 00 00 08 */ b lbl_8006D7B8 +lbl_8006D7B4: +/* 8006D7B4 0006A714 38 84 00 30 */ addi r4, r4, 0x30 +lbl_8006D7B8: +/* 8006D7B8 0006A718 7C 04 00 40 */ cmplw r4, r0 +/* 8006D7BC 0006A71C 40 82 FF F8 */ bne lbl_8006D7B4 +/* 8006D7C0 0006A720 28 03 00 00 */ cmplwi r3, 0 +/* 8006D7C4 0006A724 41 82 00 08 */ beq lbl_8006D7CC +/* 8006D7C8 0006A728 48 2A 81 69 */ bl Free__7CMemoryFPCv +lbl_8006D7CC: +/* 8006D7CC 0006A72C 93 9E 00 0C */ stw r28, 0xc(r30) +/* 8006D7D0 0006A730 93 FE 00 08 */ stw r31, 8(r30) +lbl_8006D7D4: +/* 8006D7D4 0006A734 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8006D7D8 0006A738 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006D7DC 0006A73C 7C 08 03 A6 */ mtlr r0 +/* 8006D7E0 0006A740 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006D7E4 0006A744 4E 80 00 20 */ blr + +.global __sinit_CSamusHud_cpp +__sinit_CSamusHud_cpp: +/* 8006D7E8 0006A748 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8006D7EC 0006A74C C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 8006D7F0 0006A750 3C 60 80 47 */ lis r3, lbl_8046C3C8@ha +/* 8006D7F4 0006A754 C0 24 00 04 */ lfs f1, 4(r4) +/* 8006D7F8 0006A758 D4 43 C3 C8 */ stfsu f2, lbl_8046C3C8@l(r3) +/* 8006D7FC 0006A75C C0 04 00 08 */ lfs f0, 8(r4) +/* 8006D800 0006A760 D0 23 00 04 */ stfs f1, 4(r3) +/* 8006D804 0006A764 D0 03 00 08 */ stfs f0, 8(r3) +/* 8006D808 0006A768 4E 80 00 20 */ blr + +.global "GetUniquePrimitivesFromMetaAnim__22CAnimationDatabaseGameCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetUniquePrimitivesFromMetaAnim__22CAnimationDatabaseGameCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8006D80C 0006A76C 4E 80 00 20 */ blr + +.global "GetAllUniquePrimitives__22CAnimationDatabaseGameCFRQ24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>" +"GetAllUniquePrimitives__22CAnimationDatabaseGameCFRQ24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>": +/* 8006D810 0006A770 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8006D814 0006A774 7C 08 02 A6 */ mflr r0 +/* 8006D818 0006A778 90 01 00 74 */ stw r0, 0x74(r1) +/* 8006D81C 0006A77C 88 A1 00 08 */ lbz r5, 8(r1) +/* 8006D820 0006A780 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8006D824 0006A784 3B E0 00 00 */ li r31, 0 +/* 8006D828 0006A788 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8006D82C 0006A78C 7C 7A 1B 78 */ mr r26, r3 +/* 8006D830 0006A790 7C 9B 23 78 */ mr r27, r4 +/* 8006D834 0006A794 3B C1 00 40 */ addi r30, r1, 0x40 +/* 8006D838 0006A798 3B 80 00 00 */ li r28, 0 +/* 8006D83C 0006A79C 98 A1 00 38 */ stb r5, 0x38(r1) +/* 8006D840 0006A7A0 83 A3 00 14 */ lwz r29, 0x14(r3) +/* 8006D844 0006A7A4 98 01 00 39 */ stb r0, 0x39(r1) +/* 8006D848 0006A7A8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8006D84C 0006A7AC 93 E1 00 40 */ stw r31, 0x40(r1) +/* 8006D850 0006A7B0 93 E1 00 44 */ stw r31, 0x44(r1) +/* 8006D854 0006A7B4 93 E1 00 48 */ stw r31, 0x48(r1) +/* 8006D858 0006A7B8 48 00 00 2C */ b lbl_8006D884 +lbl_8006D85C: +/* 8006D85C 0006A7BC 80 7A 00 1C */ lwz r3, 0x1c(r26) +/* 8006D860 0006A7C0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8006D864 0006A7C4 7C 63 F8 2E */ lwzx r3, r3, r31 +/* 8006D868 0006A7C8 80 63 00 00 */ lwz r3, 0(r3) +/* 8006D86C 0006A7CC 81 83 00 00 */ lwz r12, 0(r3) +/* 8006D870 0006A7D0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8006D874 0006A7D4 7D 89 03 A6 */ mtctr r12 +/* 8006D878 0006A7D8 4E 80 04 21 */ bctrl +/* 8006D87C 0006A7DC 3B 9C 00 01 */ addi r28, r28, 1 +/* 8006D880 0006A7E0 3B FF 00 04 */ addi r31, r31, 4 +lbl_8006D884: +/* 8006D884 0006A7E4 7C 1C E8 40 */ cmplw r28, r29 +/* 8006D888 0006A7E8 41 80 FF D4 */ blt lbl_8006D85C +/* 8006D88C 0006A7EC 80 9B 00 04 */ lwz r4, 4(r27) +/* 8006D890 0006A7F0 7F 63 DB 78 */ mr r3, r27 +/* 8006D894 0006A7F4 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8006D898 0006A7F8 7C 84 02 14 */ add r4, r4, r0 +/* 8006D89C 0006A7FC 48 00 06 99 */ bl "reserve__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>Fi" +/* 8006D8A0 0006A800 81 01 00 40 */ lwz r8, 0x40(r1) +/* 8006D8A4 0006A804 39 20 00 00 */ li r9, 0 +/* 8006D8A8 0006A808 91 21 00 20 */ stw r9, 0x20(r1) +/* 8006D8AC 0006A80C 7F 63 DB 78 */ mr r3, r27 +/* 8006D8B0 0006A810 38 81 00 14 */ addi r4, r1, 0x14 +/* 8006D8B4 0006A814 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8006D8B8 0006A818 93 C1 00 24 */ stw r30, 0x24(r1) +/* 8006D8BC 0006A81C 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8006D8C0 0006A820 91 01 00 30 */ stw r8, 0x30(r1) +/* 8006D8C4 0006A824 93 C1 00 34 */ stw r30, 0x34(r1) +/* 8006D8C8 0006A828 80 1B 00 04 */ lwz r0, 4(r27) +/* 8006D8CC 0006A82C 80 FB 00 0C */ lwz r7, 0xc(r27) +/* 8006D8D0 0006A830 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8006D8D4 0006A834 91 21 00 18 */ stw r9, 0x18(r1) +/* 8006D8D8 0006A838 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 8006D8DC 0006A83C 7C 07 02 14 */ add r0, r7, r0 +/* 8006D8E0 0006A840 91 01 00 28 */ stw r8, 0x28(r1) +/* 8006D8E4 0006A844 93 C1 00 2C */ stw r30, 0x2c(r1) +/* 8006D8E8 0006A848 90 01 00 10 */ stw r0, 0x10(r1) +/* 8006D8EC 0006A84C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006D8F0 0006A850 48 00 00 41 */ bl sub_8006d930 +/* 8006D8F4 0006A854 80 81 00 48 */ lwz r4, 0x48(r1) +/* 8006D8F8 0006A858 28 04 00 00 */ cmplwi r4, 0 +/* 8006D8FC 0006A85C 41 82 00 0C */ beq lbl_8006D908 +/* 8006D900 0006A860 38 61 00 38 */ addi r3, r1, 0x38 +/* 8006D904 0006A864 4B FC 39 A5 */ bl sub_800312a8 +lbl_8006D908: +/* 8006D908 0006A868 38 00 00 00 */ li r0, 0 +/* 8006D90C 0006A86C 90 01 00 48 */ stw r0, 0x48(r1) +/* 8006D910 0006A870 90 01 00 40 */ stw r0, 0x40(r1) +/* 8006D914 0006A874 90 01 00 44 */ stw r0, 0x44(r1) +/* 8006D918 0006A878 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8006D91C 0006A87C BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8006D920 0006A880 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8006D924 0006A884 7C 08 03 A6 */ mtlr r0 +/* 8006D928 0006A888 38 21 00 70 */ addi r1, r1, 0x70 +/* 8006D92C 0006A88C 4E 80 00 20 */ blr + +.global sub_8006d930 +sub_8006d930: +/* 8006D930 0006A890 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006D934 0006A894 7C 08 02 A6 */ mflr r0 +/* 8006D938 0006A898 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006D93C 0006A89C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8006D940 0006A8A0 7C 7F 1B 78 */ mr r31, r3 +/* 8006D944 0006A8A4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8006D948 0006A8A8 81 25 00 00 */ lwz r9, 0(r5) +/* 8006D94C 0006A8AC 81 05 00 04 */ lwz r8, 4(r5) +/* 8006D950 0006A8B0 80 04 00 00 */ lwz r0, 0(r4) +/* 8006D954 0006A8B4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8006D958 0006A8B8 80 E6 00 00 */ lwz r7, 0(r6) +/* 8006D95C 0006A8BC 80 A6 00 04 */ lwz r5, 4(r6) +/* 8006D960 0006A8C0 91 21 00 0C */ stw r9, 0xc(r1) +/* 8006D964 0006A8C4 91 01 00 10 */ stw r8, 0x10(r1) +/* 8006D968 0006A8C8 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8006D96C 0006A8CC 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8006D970 0006A8D0 91 21 00 1C */ stw r9, 0x1c(r1) +/* 8006D974 0006A8D4 91 01 00 20 */ stw r8, 0x20(r1) +/* 8006D978 0006A8D8 90 01 00 08 */ stw r0, 8(r1) +/* 8006D97C 0006A8DC 48 00 04 DD */ bl "distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator" +/* 8006D980 0006A8E0 7C 65 1B 78 */ mr r5, r3 +/* 8006D984 0006A8E4 7F E3 FB 78 */ mr r3, r31 +/* 8006D988 0006A8E8 38 81 00 08 */ addi r4, r1, 8 +/* 8006D98C 0006A8EC 38 C1 00 0C */ addi r6, r1, 0xc +/* 8006D990 0006A8F0 48 00 00 19 */ bl "insert_into,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>FQ24rstl114pointer_iterator<10CPrimitive,Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator" +/* 8006D994 0006A8F4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006D998 0006A8F8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8006D99C 0006A8FC 7C 08 03 A6 */ mtlr r0 +/* 8006D9A0 0006A900 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006D9A4 0006A904 4E 80 00 20 */ blr + +.global "insert_into,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>FQ24rstl114pointer_iterator<10CPrimitive,Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator" +"insert_into,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>FQ24rstl114pointer_iterator<10CPrimitive,Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator": +/* 8006D9A8 0006A908 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8006D9AC 0006A90C 7C 08 02 A6 */ mflr r0 +/* 8006D9B0 0006A910 90 01 00 44 */ stw r0, 0x44(r1) +/* 8006D9B4 0006A914 BE 81 00 10 */ stmw r20, 0x10(r1) +/* 8006D9B8 0006A918 7C BF 2B 78 */ mr r31, r5 +/* 8006D9BC 0006A91C 7C 7E 1B 78 */ mr r30, r3 +/* 8006D9C0 0006A920 7C 94 23 78 */ mr r20, r4 +/* 8006D9C4 0006A924 80 A3 00 04 */ lwz r5, 4(r3) +/* 8006D9C8 0006A928 80 63 00 08 */ lwz r3, 8(r3) +/* 8006D9CC 0006A92C 7C E5 FA 14 */ add r7, r5, r31 +/* 8006D9D0 0006A930 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8006D9D4 0006A934 7C 07 18 00 */ cmpw r7, r3 +/* 8006D9D8 0006A938 83 66 00 00 */ lwz r27, 0(r6) +/* 8006D9DC 0006A93C 83 46 00 04 */ lwz r26, 4(r6) +/* 8006D9E0 0006A940 7C 97 23 78 */ mr r23, r4 +/* 8006D9E4 0006A944 41 81 01 08 */ bgt lbl_8006DAEC +/* 8006D9E8 0006A948 80 14 00 00 */ lwz r0, 0(r20) +/* 8006D9EC 0006A94C 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha +/* 8006D9F0 0006A950 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l +/* 8006D9F4 0006A954 7C 04 00 50 */ subf r0, r4, r0 +/* 8006D9F8 0006A958 7C 03 00 96 */ mulhw r0, r3, r0 +/* 8006D9FC 0006A95C 7C 00 16 70 */ srawi r0, r0, 2 +/* 8006DA00 0006A960 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8006DA04 0006A964 7E 80 1A 14 */ add r20, r0, r3 +/* 8006DA08 0006A968 7C 74 28 50 */ subf r3, r20, r5 +/* 8006DA0C 0006A96C 3A E3 FF FF */ addi r23, r3, -1 +/* 8006DA10 0006A970 1C 74 00 18 */ mulli r3, r20, 0x18 +/* 8006DA14 0006A974 1C 1F 00 18 */ mulli r0, r31, 0x18 +/* 8006DA18 0006A978 7F 04 1A 14 */ add r24, r4, r3 +/* 8006DA1C 0006A97C 1C 77 00 18 */ mulli r3, r23, 0x18 +/* 8006DA20 0006A980 7E A0 1A 14 */ add r21, r0, r3 +/* 8006DA24 0006A984 7E B8 AA 14 */ add r21, r24, r21 +/* 8006DA28 0006A988 7E D8 1A 14 */ add r22, r24, r3 +/* 8006DA2C 0006A98C 48 00 00 5C */ b lbl_8006DA88 +lbl_8006DA30: +/* 8006DA30 0006A990 7C 14 BA 14 */ add r0, r20, r23 +/* 8006DA34 0006A994 28 15 00 00 */ cmplwi r21, 0 +/* 8006DA38 0006A998 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8006DA3C 0006A99C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8006DA40 0006A9A0 7C A3 02 14 */ add r5, r3, r0 +/* 8006DA44 0006A9A4 41 82 00 20 */ beq lbl_8006DA64 +/* 8006DA48 0006A9A8 80 05 00 00 */ lwz r0, 0(r5) +/* 8006DA4C 0006A9AC 38 75 00 08 */ addi r3, r21, 8 +/* 8006DA50 0006A9B0 38 85 00 08 */ addi r4, r5, 8 +/* 8006DA54 0006A9B4 90 15 00 00 */ stw r0, 0(r21) +/* 8006DA58 0006A9B8 80 05 00 04 */ lwz r0, 4(r5) +/* 8006DA5C 0006A9BC 90 15 00 04 */ stw r0, 4(r21) +/* 8006DA60 0006A9C0 48 2D 07 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8006DA64: +/* 8006DA64 0006A9C4 28 16 00 00 */ cmplwi r22, 0 +/* 8006DA68 0006A9C8 41 82 00 14 */ beq lbl_8006DA7C +/* 8006DA6C 0006A9CC 34 16 00 08 */ addic. r0, r22, 8 +/* 8006DA70 0006A9D0 41 82 00 0C */ beq lbl_8006DA7C +/* 8006DA74 0006A9D4 38 76 00 08 */ addi r3, r22, 8 +/* 8006DA78 0006A9D8 48 2D 00 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8006DA7C: +/* 8006DA7C 0006A9DC 3A B5 FF E8 */ addi r21, r21, -24 +/* 8006DA80 0006A9E0 3A D6 FF E8 */ addi r22, r22, -24 +/* 8006DA84 0006A9E4 3A F7 FF FF */ addi r23, r23, -1 +lbl_8006DA88: +/* 8006DA88 0006A9E8 2C 17 00 00 */ cmpwi r23, 0 +/* 8006DA8C 0006A9EC 40 80 FF A4 */ bge lbl_8006DA30 +/* 8006DA90 0006A9F0 3A 80 00 00 */ li r20, 0 +/* 8006DA94 0006A9F4 48 00 00 40 */ b lbl_8006DAD4 +lbl_8006DA98: +/* 8006DA98 0006A9F8 28 18 00 00 */ cmplwi r24, 0 +/* 8006DA9C 0006A9FC 41 82 00 20 */ beq lbl_8006DABC +/* 8006DAA0 0006AA00 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 8006DAA4 0006AA04 38 78 00 08 */ addi r3, r24, 8 +/* 8006DAA8 0006AA08 38 9B 00 18 */ addi r4, r27, 0x18 +/* 8006DAAC 0006AA0C 90 18 00 00 */ stw r0, 0(r24) +/* 8006DAB0 0006AA10 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 8006DAB4 0006AA14 90 18 00 04 */ stw r0, 4(r24) +/* 8006DAB8 0006AA18 48 2D 06 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8006DABC: +/* 8006DABC 0006AA1C 7F 43 D3 78 */ mr r3, r26 +/* 8006DAC0 0006AA20 7F 64 DB 78 */ mr r4, r27 +/* 8006DAC4 0006AA24 48 2C EB 1D */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8006DAC8 0006AA28 7C 7B 1B 78 */ mr r27, r3 +/* 8006DACC 0006AA2C 3A 94 00 01 */ addi r20, r20, 1 +/* 8006DAD0 0006AA30 3B 18 00 18 */ addi r24, r24, 0x18 +lbl_8006DAD4: +/* 8006DAD4 0006AA34 7C 14 F8 00 */ cmpw r20, r31 +/* 8006DAD8 0006AA38 41 80 FF C0 */ blt lbl_8006DA98 +/* 8006DADC 0006AA3C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006DAE0 0006AA40 7C 00 FA 14 */ add r0, r0, r31 +/* 8006DAE4 0006AA44 90 1E 00 04 */ stw r0, 4(r30) +/* 8006DAE8 0006AA48 48 00 01 D4 */ b lbl_8006DCBC +lbl_8006DAEC: +/* 8006DAEC 0006AA4C 2C 03 00 00 */ cmpwi r3, 0 +/* 8006DAF0 0006AA50 38 00 00 04 */ li r0, 4 +/* 8006DAF4 0006AA54 41 82 00 08 */ beq lbl_8006DAFC +/* 8006DAF8 0006AA58 54 60 08 3C */ slwi r0, r3, 1 +lbl_8006DAFC: +/* 8006DAFC 0006AA5C 7C 16 03 78 */ mr r22, r0 +/* 8006DB00 0006AA60 48 00 00 08 */ b lbl_8006DB08 +lbl_8006DB04: +/* 8006DB04 0006AA64 56 D6 08 3C */ slwi r22, r22, 1 +lbl_8006DB08: +/* 8006DB08 0006AA68 7C 16 38 00 */ cmpw r22, r7 +/* 8006DB0C 0006AA6C 41 80 FF F8 */ blt lbl_8006DB04 +/* 8006DB10 0006AA70 1C 76 00 18 */ mulli r3, r22, 0x18 +/* 8006DB14 0006AA74 2C 03 00 00 */ cmpwi r3, 0 +/* 8006DB18 0006AA78 40 82 00 0C */ bne lbl_8006DB24 +/* 8006DB1C 0006AA7C 3B A0 00 00 */ li r29, 0 +/* 8006DB20 0006AA80 48 00 00 18 */ b lbl_8006DB38 +lbl_8006DB24: +/* 8006DB24 0006AA84 3C 80 80 3D */ lis r4, lbl_803CD250@ha +/* 8006DB28 0006AA88 38 A0 00 00 */ li r5, 0 +/* 8006DB2C 0006AA8C 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l +/* 8006DB30 0006AA90 48 2A 7C E9 */ bl __nwa__FUlPCcPCc +/* 8006DB34 0006AA94 7C 7D 1B 78 */ mr r29, r3 +lbl_8006DB38: +/* 8006DB38 0006AA98 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8006DB3C 0006AA9C 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha +/* 8006DB40 0006AAA0 80 14 00 00 */ lwz r0, 0(r20) +/* 8006DB44 0006AAA4 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l +/* 8006DB48 0006AAA8 7F B8 EB 78 */ mr r24, r29 +/* 8006DB4C 0006AAAC 3A A0 00 00 */ li r21, 0 +/* 8006DB50 0006AAB0 7C 04 00 50 */ subf r0, r4, r0 +/* 8006DB54 0006AAB4 3A 80 00 00 */ li r20, 0 +/* 8006DB58 0006AAB8 7C 03 00 96 */ mulhw r0, r3, r0 +/* 8006DB5C 0006AABC 3B 20 00 00 */ li r25, 0 +/* 8006DB60 0006AAC0 7C 00 16 70 */ srawi r0, r0, 2 +/* 8006DB64 0006AAC4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8006DB68 0006AAC8 7F 80 1A 14 */ add r28, r0, r3 +/* 8006DB6C 0006AACC 48 00 00 40 */ b lbl_8006DBAC +lbl_8006DB70: +/* 8006DB70 0006AAD0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8006DB74 0006AAD4 28 18 00 00 */ cmplwi r24, 0 +/* 8006DB78 0006AAD8 7C A0 CA 14 */ add r5, r0, r25 +/* 8006DB7C 0006AADC 41 82 00 20 */ beq lbl_8006DB9C +/* 8006DB80 0006AAE0 80 05 00 00 */ lwz r0, 0(r5) +/* 8006DB84 0006AAE4 38 78 00 08 */ addi r3, r24, 8 +/* 8006DB88 0006AAE8 38 85 00 08 */ addi r4, r5, 8 +/* 8006DB8C 0006AAEC 90 18 00 00 */ stw r0, 0(r24) +/* 8006DB90 0006AAF0 80 05 00 04 */ lwz r0, 4(r5) +/* 8006DB94 0006AAF4 90 18 00 04 */ stw r0, 4(r24) +/* 8006DB98 0006AAF8 48 2D 05 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8006DB9C: +/* 8006DB9C 0006AAFC 3B 18 00 18 */ addi r24, r24, 0x18 +/* 8006DBA0 0006AB00 3A B5 00 01 */ addi r21, r21, 1 +/* 8006DBA4 0006AB04 3B 39 00 18 */ addi r25, r25, 0x18 +/* 8006DBA8 0006AB08 3A 94 00 01 */ addi r20, r20, 1 +lbl_8006DBAC: +/* 8006DBAC 0006AB0C 7C 14 E0 00 */ cmpw r20, r28 +/* 8006DBB0 0006AB10 41 80 FF C0 */ blt lbl_8006DB70 +/* 8006DBB4 0006AB14 1C 15 00 18 */ mulli r0, r21, 0x18 +/* 8006DBB8 0006AB18 3B 00 00 00 */ li r24, 0 +/* 8006DBBC 0006AB1C 7E 9D 02 14 */ add r20, r29, r0 +/* 8006DBC0 0006AB20 48 00 00 44 */ b lbl_8006DC04 +lbl_8006DBC4: +/* 8006DBC4 0006AB24 28 14 00 00 */ cmplwi r20, 0 +/* 8006DBC8 0006AB28 41 82 00 20 */ beq lbl_8006DBE8 +/* 8006DBCC 0006AB2C 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 8006DBD0 0006AB30 38 74 00 08 */ addi r3, r20, 8 +/* 8006DBD4 0006AB34 38 9B 00 18 */ addi r4, r27, 0x18 +/* 8006DBD8 0006AB38 90 14 00 00 */ stw r0, 0(r20) +/* 8006DBDC 0006AB3C 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 8006DBE0 0006AB40 90 14 00 04 */ stw r0, 4(r20) +/* 8006DBE4 0006AB44 48 2D 05 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8006DBE8: +/* 8006DBE8 0006AB48 7F 43 D3 78 */ mr r3, r26 +/* 8006DBEC 0006AB4C 7F 64 DB 78 */ mr r4, r27 +/* 8006DBF0 0006AB50 48 2C E9 F1 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8006DBF4 0006AB54 7C 7B 1B 78 */ mr r27, r3 +/* 8006DBF8 0006AB58 3A B5 00 01 */ addi r21, r21, 1 +/* 8006DBFC 0006AB5C 3B 18 00 01 */ addi r24, r24, 1 +/* 8006DC00 0006AB60 3A 94 00 18 */ addi r20, r20, 0x18 +lbl_8006DC04: +/* 8006DC04 0006AB64 7C 18 F8 00 */ cmpw r24, r31 +/* 8006DC08 0006AB68 41 80 FF BC */ blt lbl_8006DBC4 +/* 8006DC0C 0006AB6C 1C 15 00 18 */ mulli r0, r21, 0x18 +/* 8006DC10 0006AB70 7F 98 E3 78 */ mr r24, r28 +/* 8006DC14 0006AB74 1E 9C 00 18 */ mulli r20, r28, 0x18 +/* 8006DC18 0006AB78 7E BD 02 14 */ add r21, r29, r0 +/* 8006DC1C 0006AB7C 48 00 00 3C */ b lbl_8006DC58 +lbl_8006DC20: +/* 8006DC20 0006AB80 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8006DC24 0006AB84 28 15 00 00 */ cmplwi r21, 0 +/* 8006DC28 0006AB88 7C A0 A2 14 */ add r5, r0, r20 +/* 8006DC2C 0006AB8C 41 82 00 20 */ beq lbl_8006DC4C +/* 8006DC30 0006AB90 80 05 00 00 */ lwz r0, 0(r5) +/* 8006DC34 0006AB94 38 75 00 08 */ addi r3, r21, 8 +/* 8006DC38 0006AB98 38 85 00 08 */ addi r4, r5, 8 +/* 8006DC3C 0006AB9C 90 15 00 00 */ stw r0, 0(r21) +/* 8006DC40 0006ABA0 80 05 00 04 */ lwz r0, 4(r5) +/* 8006DC44 0006ABA4 90 15 00 04 */ stw r0, 4(r21) +/* 8006DC48 0006ABA8 48 2D 05 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8006DC4C: +/* 8006DC4C 0006ABAC 3A B5 00 18 */ addi r21, r21, 0x18 +/* 8006DC50 0006ABB0 3A 94 00 18 */ addi r20, r20, 0x18 +/* 8006DC54 0006ABB4 3B 18 00 01 */ addi r24, r24, 1 +lbl_8006DC58: +/* 8006DC58 0006ABB8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006DC5C 0006ABBC 7C 18 00 00 */ cmpw r24, r0 +/* 8006DC60 0006ABC0 41 80 FF C0 */ blt lbl_8006DC20 +/* 8006DC64 0006ABC4 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8006DC68 0006ABC8 7E F4 BB 78 */ mr r20, r23 +/* 8006DC6C 0006ABCC 7E B7 02 14 */ add r21, r23, r0 +/* 8006DC70 0006ABD0 48 00 00 20 */ b lbl_8006DC90 +lbl_8006DC74: +/* 8006DC74 0006ABD4 28 14 00 00 */ cmplwi r20, 0 +/* 8006DC78 0006ABD8 41 82 00 14 */ beq lbl_8006DC8C +/* 8006DC7C 0006ABDC 34 14 00 08 */ addic. r0, r20, 8 +/* 8006DC80 0006ABE0 41 82 00 0C */ beq lbl_8006DC8C +/* 8006DC84 0006ABE4 38 74 00 08 */ addi r3, r20, 8 +/* 8006DC88 0006ABE8 48 2C FE 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8006DC8C: +/* 8006DC8C 0006ABEC 3A 94 00 18 */ addi r20, r20, 0x18 +lbl_8006DC90: +/* 8006DC90 0006ABF0 7C 14 A8 40 */ cmplw r20, r21 +/* 8006DC94 0006ABF4 40 82 FF E0 */ bne lbl_8006DC74 +/* 8006DC98 0006ABF8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8006DC9C 0006ABFC 28 03 00 00 */ cmplwi r3, 0 +/* 8006DCA0 0006AC00 41 82 00 08 */ beq lbl_8006DCA8 +/* 8006DCA4 0006AC04 48 2A 7C 8D */ bl Free__7CMemoryFPCv +lbl_8006DCA8: +/* 8006DCA8 0006AC08 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8006DCAC 0006AC0C 92 DE 00 08 */ stw r22, 8(r30) +/* 8006DCB0 0006AC10 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006DCB4 0006AC14 7C 00 FA 14 */ add r0, r0, r31 +/* 8006DCB8 0006AC18 90 1E 00 04 */ stw r0, 4(r30) +lbl_8006DCBC: +/* 8006DCBC 0006AC1C BA 81 00 10 */ lmw r20, 0x10(r1) +/* 8006DCC0 0006AC20 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8006DCC4 0006AC24 7C 08 03 A6 */ mtlr r0 +/* 8006DCC8 0006AC28 38 21 00 40 */ addi r1, r1, 0x40 +/* 8006DCCC 0006AC2C 4E 80 00 20 */ blr + +.global GetMetaAnim__22CAnimationDatabaseGameCFUi +GetMetaAnim__22CAnimationDatabaseGameCFUi: +/* 8006DCD0 0006AC30 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8006DCD4 0006AC34 54 80 10 3A */ slwi r0, r4, 2 +/* 8006DCD8 0006AC38 7C 63 02 14 */ add r3, r3, r0 +/* 8006DCDC 0006AC3C 4E 80 00 20 */ blr + +.global GetNumMetaAnims__22CAnimationDatabaseGameCFv +GetNumMetaAnims__22CAnimationDatabaseGameCFv: +/* 8006DCE0 0006AC40 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8006DCE4 0006AC44 4E 80 00 20 */ blr + +.global GetMetaAnimName__22CAnimationDatabaseGameCFUi +GetMetaAnimName__22CAnimationDatabaseGameCFUi: +/* 8006DCE8 0006AC48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006DCEC 0006AC4C 7C 08 02 A6 */ mflr r0 +/* 8006DCF0 0006AC50 3C 80 80 3D */ lis r4, lbl_803CD250@ha +/* 8006DCF4 0006AC54 38 A0 FF FF */ li r5, -1 +/* 8006DCF8 0006AC58 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l +/* 8006DCFC 0006AC5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006DD00 0006AC60 38 C1 00 08 */ addi r6, r1, 8 +/* 8006DD04 0006AC64 38 84 00 07 */ addi r4, r4, 7 +/* 8006DD08 0006AC68 48 2D 04 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8006DD0C 0006AC6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006DD10 0006AC70 7C 08 03 A6 */ mtlr r0 +/* 8006DD14 0006AC74 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006DD18 0006AC78 4E 80 00 20 */ blr + +.global "__ct__22CAnimationDatabaseGameFRCQ24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>" +"__ct__22CAnimationDatabaseGameFRCQ24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>": +/* 8006DD1C 0006AC7C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006DD20 0006AC80 7C 08 02 A6 */ mflr r0 +/* 8006DD24 0006AC84 3C A0 80 3E */ lis r5, lbl_803D9BE0@ha +/* 8006DD28 0006AC88 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006DD2C 0006AC8C 38 00 00 00 */ li r0, 0 +/* 8006DD30 0006AC90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8006DD34 0006AC94 7C 7F 1B 78 */ mr r31, r3 +/* 8006DD38 0006AC98 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8006DD3C 0006AC9C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8006DD40 0006ACA0 7C 9D 23 78 */ mr r29, r4 +/* 8006DD44 0006ACA4 98 01 00 10 */ stb r0, 0x10(r1) +/* 8006DD48 0006ACA8 38 05 9B E0 */ addi r0, r5, lbl_803D9BE0@l +/* 8006DD4C 0006ACAC 90 03 00 00 */ stw r0, 0(r3) +/* 8006DD50 0006ACB0 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8006DD54 0006ACB4 98 03 00 0C */ stb r0, 0xc(r3) +/* 8006DD58 0006ACB8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8006DD5C 0006ACBC 28 00 00 00 */ cmplwi r0, 0 +/* 8006DD60 0006ACC0 41 82 00 14 */ beq lbl_8006DD74 +/* 8006DD64 0006ACC4 34 7F 00 04 */ addic. r3, r31, 4 +/* 8006DD68 0006ACC8 38 81 00 08 */ addi r4, r1, 8 +/* 8006DD6C 0006ACCC 41 82 00 08 */ beq lbl_8006DD74 +/* 8006DD70 0006ACD0 48 2D 31 39 */ bl __ct__6CTokenFRC6CToken +lbl_8006DD74: +/* 8006DD74 0006ACD4 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8006DD78 0006ACD8 28 00 00 00 */ cmplwi r0, 0 +/* 8006DD7C 0006ACDC 41 82 00 14 */ beq lbl_8006DD90 +/* 8006DD80 0006ACE0 34 61 00 08 */ addic. r3, r1, 8 +/* 8006DD84 0006ACE4 41 82 00 0C */ beq lbl_8006DD90 +/* 8006DD88 0006ACE8 38 80 00 00 */ li r4, 0 +/* 8006DD8C 0006ACEC 48 2D 30 B5 */ bl __dt__6CTokenFv +lbl_8006DD90: +/* 8006DD90 0006ACF0 38 80 00 00 */ li r4, 0 +/* 8006DD94 0006ACF4 3C 60 80 3E */ lis r3, lbl_803DA320@ha +/* 8006DD98 0006ACF8 98 81 00 10 */ stb r4, 0x10(r1) +/* 8006DD9C 0006ACFC 38 03 A3 20 */ addi r0, r3, lbl_803DA320@l +/* 8006DDA0 0006AD00 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8006DDA4 0006AD04 90 1F 00 00 */ stw r0, 0(r31) +/* 8006DDA8 0006AD08 90 9F 00 14 */ stw r4, 0x14(r31) +/* 8006DDAC 0006AD0C 90 9F 00 18 */ stw r4, 0x18(r31) +/* 8006DDB0 0006AD10 90 9F 00 1C */ stw r4, 0x1c(r31) +/* 8006DDB4 0006AD14 80 9D 00 04 */ lwz r4, 4(r29) +/* 8006DDB8 0006AD18 83 BD 00 0C */ lwz r29, 0xc(r29) +/* 8006DDBC 0006AD1C 1C 04 00 14 */ mulli r0, r4, 0x14 +/* 8006DDC0 0006AD20 7F DD 02 14 */ add r30, r29, r0 +/* 8006DDC4 0006AD24 48 00 02 7D */ bl "reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi" +/* 8006DDC8 0006AD28 48 00 00 68 */ b lbl_8006DE30 +lbl_8006DDCC: +/* 8006DDCC 0006AD2C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8006DDD0 0006AD30 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 8006DDD4 0006AD34 7C 00 28 00 */ cmpw r0, r5 +/* 8006DDD8 0006AD38 41 80 00 1C */ blt lbl_8006DDF4 +/* 8006DDDC 0006AD3C 2C 05 00 00 */ cmpwi r5, 0 +/* 8006DDE0 0006AD40 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8006DDE4 0006AD44 38 80 00 04 */ li r4, 4 +/* 8006DDE8 0006AD48 41 82 00 08 */ beq lbl_8006DDF0 +/* 8006DDEC 0006AD4C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006DDF0: +/* 8006DDF0 0006AD50 48 00 02 51 */ bl "reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi" +lbl_8006DDF4: +/* 8006DDF4 0006AD54 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8006DDF8 0006AD58 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 8006DDFC 0006AD5C 54 00 10 3A */ slwi r0, r0, 2 +/* 8006DE00 0006AD60 7C 63 02 15 */ add. r3, r3, r0 +/* 8006DE04 0006AD64 41 82 00 1C */ beq lbl_8006DE20 +/* 8006DE08 0006AD68 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8006DE0C 0006AD6C 90 03 00 00 */ stw r0, 0(r3) +/* 8006DE10 0006AD70 80 83 00 00 */ lwz r4, 0(r3) +/* 8006DE14 0006AD74 80 64 00 04 */ lwz r3, 4(r4) +/* 8006DE18 0006AD78 38 03 00 01 */ addi r0, r3, 1 +/* 8006DE1C 0006AD7C 90 04 00 04 */ stw r0, 4(r4) +lbl_8006DE20: +/* 8006DE20 0006AD80 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8006DE24 0006AD84 3B BD 00 14 */ addi r29, r29, 0x14 +/* 8006DE28 0006AD88 38 03 00 01 */ addi r0, r3, 1 +/* 8006DE2C 0006AD8C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8006DE30: +/* 8006DE30 0006AD90 7C 1D F0 40 */ cmplw r29, r30 +/* 8006DE34 0006AD94 40 82 FF 98 */ bne lbl_8006DDCC +/* 8006DE38 0006AD98 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006DE3C 0006AD9C 7F E3 FB 78 */ mr r3, r31 +/* 8006DE40 0006ADA0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8006DE44 0006ADA4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8006DE48 0006ADA8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8006DE4C 0006ADAC 7C 08 03 A6 */ mtlr r0 +/* 8006DE50 0006ADB0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006DE54 0006ADB4 4E 80 00 20 */ blr + +.global "distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator" +"distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator": +/* 8006DE58 0006ADB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006DE5C 0006ADBC 7C 08 02 A6 */ mflr r0 +/* 8006DE60 0006ADC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006DE64 0006ADC4 38 A1 00 0C */ addi r5, r1, 0xc +/* 8006DE68 0006ADC8 89 21 00 08 */ lbz r9, 8(r1) +/* 8006DE6C 0006ADCC 81 04 00 00 */ lwz r8, 0(r4) +/* 8006DE70 0006ADD0 80 E4 00 04 */ lwz r7, 4(r4) +/* 8006DE74 0006ADD4 38 81 00 10 */ addi r4, r1, 0x10 +/* 8006DE78 0006ADD8 80 C3 00 00 */ lwz r6, 0(r3) +/* 8006DE7C 0006ADDC 80 03 00 04 */ lwz r0, 4(r3) +/* 8006DE80 0006ADE0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8006DE84 0006ADE4 99 21 00 0C */ stb r9, 0xc(r1) +/* 8006DE88 0006ADE8 91 01 00 10 */ stw r8, 0x10(r1) +/* 8006DE8C 0006ADEC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8006DE90 0006ADF0 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8006DE94 0006ADF4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8006DE98 0006ADF8 48 00 00 15 */ bl "__distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ24rstl20forward_iterator_tag" +/* 8006DE9C 0006ADFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8006DEA0 0006AE00 7C 08 03 A6 */ mtlr r0 +/* 8006DEA4 0006AE04 38 21 00 20 */ addi r1, r1, 0x20 +/* 8006DEA8 0006AE08 4E 80 00 20 */ blr + +.global "__distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ24rstl20forward_iterator_tag" +"__distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ24rstl20forward_iterator_tag": +/* 8006DEAC 0006AE0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006DEB0 0006AE10 7C 08 02 A6 */ mflr r0 +/* 8006DEB4 0006AE14 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006DEB8 0006AE18 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8006DEBC 0006AE1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8006DEC0 0006AE20 3B C0 00 00 */ li r30, 0 +/* 8006DEC4 0006AE24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8006DEC8 0006AE28 7C 9D 23 78 */ mr r29, r4 +/* 8006DECC 0006AE2C 80 A3 00 00 */ lwz r5, 0(r3) +/* 8006DED0 0006AE30 83 E3 00 04 */ lwz r31, 4(r3) +/* 8006DED4 0006AE34 48 00 00 18 */ b lbl_8006DEEC +lbl_8006DED8: +/* 8006DED8 0006AE38 7F E3 FB 78 */ mr r3, r31 +/* 8006DEDC 0006AE3C 7C A4 2B 78 */ mr r4, r5 +/* 8006DEE0 0006AE40 3B DE 00 01 */ addi r30, r30, 1 +/* 8006DEE4 0006AE44 48 2C E6 FD */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8006DEE8 0006AE48 7C 65 1B 78 */ mr r5, r3 +lbl_8006DEEC: +/* 8006DEEC 0006AE4C 80 1D 00 00 */ lwz r0, 0(r29) +/* 8006DEF0 0006AE50 38 60 00 00 */ li r3, 0 +/* 8006DEF4 0006AE54 7C 05 00 40 */ cmplw r5, r0 +/* 8006DEF8 0006AE58 40 82 00 10 */ bne lbl_8006DF08 +/* 8006DEFC 0006AE5C 80 1D 00 04 */ lwz r0, 4(r29) +/* 8006DF00 0006AE60 7C 1F 00 40 */ cmplw r31, r0 +/* 8006DF04 0006AE64 41 82 00 08 */ beq lbl_8006DF0C +lbl_8006DF08: +/* 8006DF08 0006AE68 38 60 00 01 */ li r3, 1 +lbl_8006DF0C: +/* 8006DF0C 0006AE6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8006DF10 0006AE70 40 82 FF C8 */ bne lbl_8006DED8 +/* 8006DF14 0006AE74 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8006DF18 0006AE78 7F C3 F3 78 */ mr r3, r30 +/* 8006DF1C 0006AE7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8006DF20 0006AE80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8006DF24 0006AE84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8006DF28 0006AE88 7C 08 03 A6 */ mtlr r0 +/* 8006DF2C 0006AE8C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8006DF30 0006AE90 4E 80 00 20 */ blr + +.global "reserve__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>Fi": +/* 8006DF34 0006AE94 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006DF38 0006AE98 7C 08 02 A6 */ mflr r0 +/* 8006DF3C 0006AE9C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006DF40 0006AEA0 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8006DF44 0006AEA4 7C 9F 23 78 */ mr r31, r4 +/* 8006DF48 0006AEA8 7C 7E 1B 78 */ mr r30, r3 +/* 8006DF4C 0006AEAC 80 03 00 08 */ lwz r0, 8(r3) +/* 8006DF50 0006AEB0 7C 1F 00 00 */ cmpw r31, r0 +/* 8006DF54 0006AEB4 40 81 00 D8 */ ble lbl_8006E02C +/* 8006DF58 0006AEB8 1C 7F 00 18 */ mulli r3, r31, 0x18 +/* 8006DF5C 0006AEBC 2C 03 00 00 */ cmpwi r3, 0 +/* 8006DF60 0006AEC0 40 82 00 0C */ bne lbl_8006DF6C +/* 8006DF64 0006AEC4 3B 80 00 00 */ li r28, 0 +/* 8006DF68 0006AEC8 48 00 00 18 */ b lbl_8006DF80 +lbl_8006DF6C: +/* 8006DF6C 0006AECC 3C 80 80 3D */ lis r4, lbl_803CD250@ha +/* 8006DF70 0006AED0 38 A0 00 00 */ li r5, 0 +/* 8006DF74 0006AED4 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l +/* 8006DF78 0006AED8 48 2A 78 A1 */ bl __nwa__FUlPCcPCc +/* 8006DF7C 0006AEDC 7C 7C 1B 78 */ mr r28, r3 +lbl_8006DF80: +/* 8006DF80 0006AEE0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006DF84 0006AEE4 7F 9B E3 78 */ mr r27, r28 +/* 8006DF88 0006AEE8 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8006DF8C 0006AEEC 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8006DF90 0006AEF0 93 41 00 10 */ stw r26, 0x10(r1) +/* 8006DF94 0006AEF4 7F BA 02 14 */ add r29, r26, r0 +/* 8006DF98 0006AEF8 93 41 00 14 */ stw r26, 0x14(r1) +/* 8006DF9C 0006AEFC 93 A1 00 08 */ stw r29, 8(r1) +/* 8006DFA0 0006AF00 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8006DFA4 0006AF04 48 00 00 30 */ b lbl_8006DFD4 +lbl_8006DFA8: +/* 8006DFA8 0006AF08 28 1B 00 00 */ cmplwi r27, 0 +/* 8006DFAC 0006AF0C 41 82 00 20 */ beq lbl_8006DFCC +/* 8006DFB0 0006AF10 80 1A 00 00 */ lwz r0, 0(r26) +/* 8006DFB4 0006AF14 38 7B 00 08 */ addi r3, r27, 8 +/* 8006DFB8 0006AF18 38 9A 00 08 */ addi r4, r26, 8 +/* 8006DFBC 0006AF1C 90 1B 00 00 */ stw r0, 0(r27) +/* 8006DFC0 0006AF20 80 1A 00 04 */ lwz r0, 4(r26) +/* 8006DFC4 0006AF24 90 1B 00 04 */ stw r0, 4(r27) +/* 8006DFC8 0006AF28 48 2D 01 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8006DFCC: +/* 8006DFCC 0006AF2C 3B 7B 00 18 */ addi r27, r27, 0x18 +/* 8006DFD0 0006AF30 3B 5A 00 18 */ addi r26, r26, 0x18 +lbl_8006DFD4: +/* 8006DFD4 0006AF34 7C 1A E8 40 */ cmplw r26, r29 +/* 8006DFD8 0006AF38 40 82 FF D0 */ bne lbl_8006DFA8 +/* 8006DFDC 0006AF3C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006DFE0 0006AF40 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8006DFE4 0006AF44 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8006DFE8 0006AF48 7F 7A 02 14 */ add r27, r26, r0 +/* 8006DFEC 0006AF4C 48 00 00 20 */ b lbl_8006E00C +lbl_8006DFF0: +/* 8006DFF0 0006AF50 28 1A 00 00 */ cmplwi r26, 0 +/* 8006DFF4 0006AF54 41 82 00 14 */ beq lbl_8006E008 +/* 8006DFF8 0006AF58 34 1A 00 08 */ addic. r0, r26, 8 +/* 8006DFFC 0006AF5C 41 82 00 0C */ beq lbl_8006E008 +/* 8006E000 0006AF60 38 7A 00 08 */ addi r3, r26, 8 +/* 8006E004 0006AF64 48 2C FA DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8006E008: +/* 8006E008 0006AF68 3B 5A 00 18 */ addi r26, r26, 0x18 +lbl_8006E00C: +/* 8006E00C 0006AF6C 7C 1A D8 40 */ cmplw r26, r27 +/* 8006E010 0006AF70 40 82 FF E0 */ bne lbl_8006DFF0 +/* 8006E014 0006AF74 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8006E018 0006AF78 28 03 00 00 */ cmplwi r3, 0 +/* 8006E01C 0006AF7C 41 82 00 08 */ beq lbl_8006E024 +/* 8006E020 0006AF80 48 2A 79 11 */ bl Free__7CMemoryFPCv +lbl_8006E024: +/* 8006E024 0006AF84 93 9E 00 0C */ stw r28, 0xc(r30) +/* 8006E028 0006AF88 93 FE 00 08 */ stw r31, 8(r30) +lbl_8006E02C: +/* 8006E02C 0006AF8C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8006E030 0006AF90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006E034 0006AF94 7C 08 03 A6 */ mtlr r0 +/* 8006E038 0006AF98 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006E03C 0006AF9C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi": +/* 8006E040 0006AFA0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006E044 0006AFA4 7C 08 02 A6 */ mflr r0 +/* 8006E048 0006AFA8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006E04C 0006AFAC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8006E050 0006AFB0 7C 9F 23 78 */ mr r31, r4 +/* 8006E054 0006AFB4 7C 7E 1B 78 */ mr r30, r3 +/* 8006E058 0006AFB8 80 03 00 08 */ lwz r0, 8(r3) +/* 8006E05C 0006AFBC 7C 1F 00 00 */ cmpw r31, r0 +/* 8006E060 0006AFC0 40 81 00 C8 */ ble lbl_8006E128 +/* 8006E064 0006AFC4 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 8006E068 0006AFC8 40 82 00 0C */ bne lbl_8006E074 +/* 8006E06C 0006AFCC 3B A0 00 00 */ li r29, 0 +/* 8006E070 0006AFD0 48 00 00 18 */ b lbl_8006E088 +lbl_8006E074: +/* 8006E074 0006AFD4 3C 80 80 3D */ lis r4, lbl_803CD250@ha +/* 8006E078 0006AFD8 38 A0 00 00 */ li r5, 0 +/* 8006E07C 0006AFDC 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l +/* 8006E080 0006AFE0 48 2A 77 99 */ bl __nwa__FUlPCcPCc +/* 8006E084 0006AFE4 7C 7D 1B 78 */ mr r29, r3 +lbl_8006E088: +/* 8006E088 0006AFE8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006E08C 0006AFEC 7F A6 EB 78 */ mr r6, r29 +/* 8006E090 0006AFF0 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 8006E094 0006AFF4 54 00 10 3A */ slwi r0, r0, 2 +/* 8006E098 0006AFF8 7C A7 02 14 */ add r5, r7, r0 +/* 8006E09C 0006AFFC 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8006E0A0 0006B000 90 A1 00 08 */ stw r5, 8(r1) +/* 8006E0A4 0006B004 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8006E0A8 0006B008 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8006E0AC 0006B00C 48 00 00 2C */ b lbl_8006E0D8 +lbl_8006E0B0: +/* 8006E0B0 0006B010 28 06 00 00 */ cmplwi r6, 0 +/* 8006E0B4 0006B014 41 82 00 1C */ beq lbl_8006E0D0 +/* 8006E0B8 0006B018 80 07 00 00 */ lwz r0, 0(r7) +/* 8006E0BC 0006B01C 90 06 00 00 */ stw r0, 0(r6) +/* 8006E0C0 0006B020 80 86 00 00 */ lwz r4, 0(r6) +/* 8006E0C4 0006B024 80 64 00 04 */ lwz r3, 4(r4) +/* 8006E0C8 0006B028 38 03 00 01 */ addi r0, r3, 1 +/* 8006E0CC 0006B02C 90 04 00 04 */ stw r0, 4(r4) +lbl_8006E0D0: +/* 8006E0D0 0006B030 38 C6 00 04 */ addi r6, r6, 4 +/* 8006E0D4 0006B034 38 E7 00 04 */ addi r7, r7, 4 +lbl_8006E0D8: +/* 8006E0D8 0006B038 7C 07 28 40 */ cmplw r7, r5 +/* 8006E0DC 0006B03C 40 82 FF D4 */ bne lbl_8006E0B0 +/* 8006E0E0 0006B040 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006E0E4 0006B044 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8006E0E8 0006B048 54 00 10 3A */ slwi r0, r0, 2 +/* 8006E0EC 0006B04C 7F 9B 02 14 */ add r28, r27, r0 +/* 8006E0F0 0006B050 48 00 00 18 */ b lbl_8006E108 +lbl_8006E0F4: +/* 8006E0F4 0006B054 28 1B 00 00 */ cmplwi r27, 0 +/* 8006E0F8 0006B058 41 82 00 0C */ beq lbl_8006E104 +/* 8006E0FC 0006B05C 7F 63 DB 78 */ mr r3, r27 +/* 8006E100 0006B060 4B FC 2E 31 */ bl sub_80030f30 +lbl_8006E104: +/* 8006E104 0006B064 3B 7B 00 04 */ addi r27, r27, 4 +lbl_8006E108: +/* 8006E108 0006B068 7C 1B E0 40 */ cmplw r27, r28 +/* 8006E10C 0006B06C 40 82 FF E8 */ bne lbl_8006E0F4 +/* 8006E110 0006B070 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8006E114 0006B074 28 03 00 00 */ cmplwi r3, 0 +/* 8006E118 0006B078 41 82 00 08 */ beq lbl_8006E120 +/* 8006E11C 0006B07C 48 2A 78 15 */ bl Free__7CMemoryFPCv +lbl_8006E120: +/* 8006E120 0006B080 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8006E124 0006B084 93 FE 00 08 */ stw r31, 8(r30) +lbl_8006E128: +/* 8006E128 0006B088 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8006E12C 0006B08C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006E130 0006B090 7C 08 03 A6 */ mtlr r0 +/* 8006E134 0006B094 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006E138 0006B098 4E 80 00 20 */ blr + +.global GetMetaTrans__23CTransitionDatabaseGameCFUiUi +GetMetaTrans__23CTransitionDatabaseGameCFUiUi: +/* 8006E13C 0006B09C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8006E140 0006B0A0 7C 08 02 A6 */ mflr r0 +/* 8006E144 0006B0A4 90 01 00 74 */ stw r0, 0x74(r1) +/* 8006E148 0006B0A8 38 C1 00 5C */ addi r6, r1, 0x5c +/* 8006E14C 0006B0AC 38 E1 00 10 */ addi r7, r1, 0x10 +/* 8006E150 0006B0B0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8006E154 0006B0B4 7C 7F 1B 78 */ mr r31, r3 +/* 8006E158 0006B0B8 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8006E15C 0006B0BC 38 61 00 38 */ addi r3, r1, 0x38 +/* 8006E160 0006B0C0 89 2D A2 38 */ lbz r9, lbl_805A8DF8@sda21(r13) +/* 8006E164 0006B0C4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8006E168 0006B0C8 81 1F 00 20 */ lwz r8, 0x20(r31) +/* 8006E16C 0006B0CC 90 81 00 5C */ stw r4, 0x5c(r1) +/* 8006E170 0006B0D0 38 81 00 3C */ addi r4, r1, 0x3c +/* 8006E174 0006B0D4 7C 08 02 14 */ add r0, r8, r0 +/* 8006E178 0006B0D8 90 A1 00 08 */ stw r5, 8(r1) +/* 8006E17C 0006B0DC 90 A1 00 60 */ stw r5, 0x60(r1) +/* 8006E180 0006B0E0 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8006E184 0006B0E4 99 21 00 20 */ stb r9, 0x20(r1) +/* 8006E188 0006B0E8 99 21 00 18 */ stb r9, 0x18(r1) +/* 8006E18C 0006B0EC 90 01 00 58 */ stw r0, 0x58(r1) +/* 8006E190 0006B0F0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8006E194 0006B0F4 91 01 00 50 */ stw r8, 0x50(r1) +/* 8006E198 0006B0F8 99 21 00 10 */ stb r9, 0x10(r1) +/* 8006E19C 0006B0FC 90 01 00 40 */ stw r0, 0x40(r1) +/* 8006E1A0 0006B100 91 01 00 3C */ stw r8, 0x3c(r1) +/* 8006E1A4 0006B104 48 00 0A 69 */ bl "lower_bound,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl11pair,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20r" +/* 8006E1A8 0006B108 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8006E1AC 0006B10C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8006E1B0 0006B110 90 81 00 34 */ stw r4, 0x34(r1) +/* 8006E1B4 0006B114 7C 64 00 50 */ subf r3, r4, r0 +/* 8006E1B8 0006B118 7C 00 20 50 */ subf r0, r0, r4 +/* 8006E1BC 0006B11C 7C 60 03 78 */ or r0, r3, r0 +/* 8006E1C0 0006B120 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 8006E1C4 0006B124 41 82 00 4C */ beq lbl_8006E210 +/* 8006E1C8 0006B128 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8006E1CC 0006B12C 80 64 00 00 */ lwz r3, 0(r4) +/* 8006E1D0 0006B130 7C 00 18 40 */ cmplw r0, r3 +/* 8006E1D4 0006B134 40 82 00 20 */ bne lbl_8006E1F4 +/* 8006E1D8 0006B138 80 01 00 60 */ lwz r0, 0x60(r1) +/* 8006E1DC 0006B13C 80 64 00 04 */ lwz r3, 4(r4) +/* 8006E1E0 0006B140 7C 60 02 78 */ xor r0, r3, r0 +/* 8006E1E4 0006B144 7C 00 00 34 */ cntlzw r0, r0 +/* 8006E1E8 0006B148 7C 60 00 30 */ slw r0, r3, r0 +/* 8006E1EC 0006B14C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8006E1F0 0006B150 48 00 00 14 */ b lbl_8006E204 +lbl_8006E1F4: +/* 8006E1F4 0006B154 7C 60 02 78 */ xor r0, r3, r0 +/* 8006E1F8 0006B158 7C 00 00 34 */ cntlzw r0, r0 +/* 8006E1FC 0006B15C 7C 60 00 30 */ slw r0, r3, r0 +/* 8006E200 0006B160 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8006E204: +/* 8006E204 0006B164 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8006E208 0006B168 7C 00 00 34 */ cntlzw r0, r0 +/* 8006E20C 0006B16C 54 00 D9 7E */ srwi r0, r0, 5 +lbl_8006E210: +/* 8006E210 0006B170 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8006E214 0006B174 38 81 00 54 */ addi r4, r1, 0x54 +/* 8006E218 0006B178 41 82 00 08 */ beq lbl_8006E220 +/* 8006E21C 0006B17C 38 81 00 34 */ addi r4, r1, 0x34 +lbl_8006E220: +/* 8006E220 0006B180 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8006E224 0006B184 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8006E228 0006B188 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8006E22C 0006B18C 80 84 00 00 */ lwz r4, 0(r4) +/* 8006E230 0006B190 7C 03 02 14 */ add r0, r3, r0 +/* 8006E234 0006B194 7C 04 00 40 */ cmplw r4, r0 +/* 8006E238 0006B198 41 82 00 0C */ beq lbl_8006E244 +/* 8006E23C 0006B19C 38 64 00 08 */ addi r3, r4, 8 +/* 8006E240 0006B1A0 48 00 00 B4 */ b lbl_8006E2F4 +lbl_8006E244: +/* 8006E244 0006B1A4 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8006E248 0006B1A8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8006E24C 0006B1AC 81 1F 00 30 */ lwz r8, 0x30(r31) +/* 8006E250 0006B1B0 38 81 00 2C */ addi r4, r1, 0x2c +/* 8006E254 0006B1B4 89 2D A2 3C */ lbz r9, lbl_805A8DFC@sda21(r13) +/* 8006E258 0006B1B8 54 00 18 38 */ slwi r0, r0, 3 +/* 8006E25C 0006B1BC 7C 08 02 14 */ add r0, r8, r0 +/* 8006E260 0006B1C0 91 01 00 44 */ stw r8, 0x44(r1) +/* 8006E264 0006B1C4 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8006E268 0006B1C8 38 C1 00 08 */ addi r6, r1, 8 +/* 8006E26C 0006B1CC 99 21 00 1C */ stb r9, 0x1c(r1) +/* 8006E270 0006B1D0 38 E1 00 0C */ addi r7, r1, 0xc +/* 8006E274 0006B1D4 99 21 00 14 */ stb r9, 0x14(r1) +/* 8006E278 0006B1D8 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8006E27C 0006B1DC 90 01 00 48 */ stw r0, 0x48(r1) +/* 8006E280 0006B1E0 99 21 00 0C */ stb r9, 0xc(r1) +/* 8006E284 0006B1E4 90 01 00 30 */ stw r0, 0x30(r1) +/* 8006E288 0006B1E8 91 01 00 2C */ stw r8, 0x2c(r1) +/* 8006E28C 0006B1EC 48 00 0A 75 */ bl "lower_bound>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl124pair_sorter_finder>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rst" +/* 8006E290 0006B1F0 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8006E294 0006B1F4 38 80 00 00 */ li r4, 0 +/* 8006E298 0006B1F8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8006E29C 0006B1FC 90 A1 00 24 */ stw r5, 0x24(r1) +/* 8006E2A0 0006B200 7C 05 00 40 */ cmplw r5, r0 +/* 8006E2A4 0006B204 41 82 00 18 */ beq lbl_8006E2BC +/* 8006E2A8 0006B208 80 61 00 08 */ lwz r3, 8(r1) +/* 8006E2AC 0006B20C 80 05 00 00 */ lwz r0, 0(r5) +/* 8006E2B0 0006B210 7C 03 00 40 */ cmplw r3, r0 +/* 8006E2B4 0006B214 41 80 00 08 */ blt lbl_8006E2BC +/* 8006E2B8 0006B218 38 80 00 01 */ li r4, 1 +lbl_8006E2BC: +/* 8006E2BC 0006B21C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8006E2C0 0006B220 38 81 00 48 */ addi r4, r1, 0x48 +/* 8006E2C4 0006B224 41 82 00 08 */ beq lbl_8006E2CC +/* 8006E2C8 0006B228 38 81 00 24 */ addi r4, r1, 0x24 +lbl_8006E2CC: +/* 8006E2CC 0006B22C 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8006E2D0 0006B230 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8006E2D4 0006B234 54 00 18 38 */ slwi r0, r0, 3 +/* 8006E2D8 0006B238 80 84 00 00 */ lwz r4, 0(r4) +/* 8006E2DC 0006B23C 7C 03 02 14 */ add r0, r3, r0 +/* 8006E2E0 0006B240 7C 04 00 40 */ cmplw r4, r0 +/* 8006E2E4 0006B244 41 82 00 0C */ beq lbl_8006E2F0 +/* 8006E2E8 0006B248 38 64 00 04 */ addi r3, r4, 4 +/* 8006E2EC 0006B24C 48 00 00 08 */ b lbl_8006E2F4 +lbl_8006E2F0: +/* 8006E2F0 0006B250 38 7F 00 10 */ addi r3, r31, 0x10 +lbl_8006E2F4: +/* 8006E2F4 0006B254 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8006E2F8 0006B258 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8006E2FC 0006B25C 7C 08 03 A6 */ mtlr r0 +/* 8006E300 0006B260 38 21 00 70 */ addi r1, r1, 0x70 +/* 8006E304 0006B264 4E 80 00 20 */ blr + +.global "__ct__23CTransitionDatabaseGameFRCQ24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>RCQ24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>RCQ24rstl20rc_ptr<10IMetaTrans>" +"__ct__23CTransitionDatabaseGameFRCQ24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>RCQ24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>RCQ24rstl20rc_ptr<10IMetaTrans>": +/* 8006E308 0006B268 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8006E30C 0006B26C 7C 08 02 A6 */ mflr r0 +/* 8006E310 0006B270 3C E0 80 3E */ lis r7, lbl_803D9C08@ha +/* 8006E314 0006B274 90 01 00 84 */ stw r0, 0x84(r1) +/* 8006E318 0006B278 38 00 00 00 */ li r0, 0 +/* 8006E31C 0006B27C BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8006E320 0006B280 7C 7F 1B 78 */ mr r31, r3 +/* 8006E324 0006B284 7C 9C 23 78 */ mr r28, r4 +/* 8006E328 0006B288 7C BB 2B 78 */ mr r27, r5 +/* 8006E32C 0006B28C 7C DD 33 78 */ mr r29, r6 +/* 8006E330 0006B290 98 01 00 50 */ stb r0, 0x50(r1) +/* 8006E334 0006B294 38 07 9C 08 */ addi r0, r7, lbl_803D9C08@l +/* 8006E338 0006B298 90 03 00 00 */ stw r0, 0(r3) +/* 8006E33C 0006B29C 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8006E340 0006B2A0 98 03 00 0C */ stb r0, 0xc(r3) +/* 8006E344 0006B2A4 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8006E348 0006B2A8 28 00 00 00 */ cmplwi r0, 0 +/* 8006E34C 0006B2AC 41 82 00 14 */ beq lbl_8006E360 +/* 8006E350 0006B2B0 34 7F 00 04 */ addic. r3, r31, 4 +/* 8006E354 0006B2B4 38 81 00 48 */ addi r4, r1, 0x48 +/* 8006E358 0006B2B8 41 82 00 08 */ beq lbl_8006E360 +/* 8006E35C 0006B2BC 48 2D 2B 4D */ bl __ct__6CTokenFRC6CToken +lbl_8006E360: +/* 8006E360 0006B2C0 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8006E364 0006B2C4 28 00 00 00 */ cmplwi r0, 0 +/* 8006E368 0006B2C8 41 82 00 14 */ beq lbl_8006E37C +/* 8006E36C 0006B2CC 34 61 00 48 */ addic. r3, r1, 0x48 +/* 8006E370 0006B2D0 41 82 00 0C */ beq lbl_8006E37C +/* 8006E374 0006B2D4 38 80 00 00 */ li r4, 0 +/* 8006E378 0006B2D8 48 2D 2A C9 */ bl __dt__6CTokenFv +lbl_8006E37C: +/* 8006E37C 0006B2DC 38 C0 00 00 */ li r6, 0 +/* 8006E380 0006B2E0 3C 60 80 3E */ lis r3, lbl_803DA340@ha +/* 8006E384 0006B2E4 98 C1 00 50 */ stb r6, 0x50(r1) +/* 8006E388 0006B2E8 38 03 A3 40 */ addi r0, r3, lbl_803DA340@l +/* 8006E38C 0006B2EC 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8006E390 0006B2F0 90 1F 00 00 */ stw r0, 0(r31) +/* 8006E394 0006B2F4 80 1D 00 00 */ lwz r0, 0(r29) +/* 8006E398 0006B2F8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8006E39C 0006B2FC 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 8006E3A0 0006B300 80 85 00 04 */ lwz r4, 4(r5) +/* 8006E3A4 0006B304 38 04 00 01 */ addi r0, r4, 1 +/* 8006E3A8 0006B308 90 05 00 04 */ stw r0, 4(r5) +/* 8006E3AC 0006B30C 90 DF 00 18 */ stw r6, 0x18(r31) +/* 8006E3B0 0006B310 90 DF 00 1C */ stw r6, 0x1c(r31) +/* 8006E3B4 0006B314 90 DF 00 20 */ stw r6, 0x20(r31) +/* 8006E3B8 0006B318 90 DF 00 28 */ stw r6, 0x28(r31) +/* 8006E3BC 0006B31C 90 DF 00 2C */ stw r6, 0x2c(r31) +/* 8006E3C0 0006B320 90 DF 00 30 */ stw r6, 0x30(r31) +/* 8006E3C4 0006B324 80 9C 00 04 */ lwz r4, 4(r28) +/* 8006E3C8 0006B328 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 8006E3CC 0006B32C 54 80 20 36 */ slwi r0, r4, 4 +/* 8006E3D0 0006B330 7F DC 02 14 */ add r30, r28, r0 +/* 8006E3D4 0006B334 48 00 09 ED */ bl "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi" +/* 8006E3D8 0006B338 3B A1 00 5C */ addi r29, r1, 0x5c +/* 8006E3DC 0006B33C 48 00 00 AC */ b lbl_8006E488 +lbl_8006E3E0: +/* 8006E3E0 0006B340 80 7C 00 08 */ lwz r3, 8(r28) +/* 8006E3E4 0006B344 80 1C 00 04 */ lwz r0, 4(r28) +/* 8006E3E8 0006B348 90 01 00 54 */ stw r0, 0x54(r1) +/* 8006E3EC 0006B34C 90 61 00 58 */ stw r3, 0x58(r1) +/* 8006E3F0 0006B350 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 8006E3F4 0006B354 90 81 00 5C */ stw r4, 0x5c(r1) +/* 8006E3F8 0006B358 80 64 00 04 */ lwz r3, 4(r4) +/* 8006E3FC 0006B35C 38 03 00 01 */ addi r0, r3, 1 +/* 8006E400 0006B360 90 04 00 04 */ stw r0, 4(r4) +/* 8006E404 0006B364 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8006E408 0006B368 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 8006E40C 0006B36C 7C 00 28 00 */ cmpw r0, r5 +/* 8006E410 0006B370 41 80 00 1C */ blt lbl_8006E42C +/* 8006E414 0006B374 2C 05 00 00 */ cmpwi r5, 0 +/* 8006E418 0006B378 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8006E41C 0006B37C 38 80 00 04 */ li r4, 4 +/* 8006E420 0006B380 41 82 00 08 */ beq lbl_8006E428 +/* 8006E424 0006B384 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006E428: +/* 8006E428 0006B388 48 00 09 99 */ bl "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi" +lbl_8006E42C: +/* 8006E42C 0006B38C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8006E430 0006B390 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8006E434 0006B394 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8006E438 0006B398 7C 63 02 15 */ add. r3, r3, r0 +/* 8006E43C 0006B39C 41 82 00 2C */ beq lbl_8006E468 +/* 8006E440 0006B3A0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8006E444 0006B3A4 90 03 00 00 */ stw r0, 0(r3) +/* 8006E448 0006B3A8 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8006E44C 0006B3AC 90 03 00 04 */ stw r0, 4(r3) +/* 8006E450 0006B3B0 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8006E454 0006B3B4 90 03 00 08 */ stw r0, 8(r3) +/* 8006E458 0006B3B8 80 83 00 08 */ lwz r4, 8(r3) +/* 8006E45C 0006B3BC 80 64 00 04 */ lwz r3, 4(r4) +/* 8006E460 0006B3C0 38 03 00 01 */ addi r0, r3, 1 +/* 8006E464 0006B3C4 90 04 00 04 */ stw r0, 4(r4) +lbl_8006E468: +/* 8006E468 0006B3C8 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8006E46C 0006B3CC 28 1D 00 00 */ cmplwi r29, 0 +/* 8006E470 0006B3D0 3B 9C 00 10 */ addi r28, r28, 0x10 +/* 8006E474 0006B3D4 38 03 00 01 */ addi r0, r3, 1 +/* 8006E478 0006B3D8 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8006E47C 0006B3DC 41 82 00 0C */ beq lbl_8006E488 +/* 8006E480 0006B3E0 7F A3 EB 78 */ mr r3, r29 +/* 8006E484 0006B3E4 4B FC 5E 11 */ bl __dt__17CMetaTransFactoryFv +lbl_8006E488: +/* 8006E488 0006B3E8 7C 1C F0 40 */ cmplw r28, r30 +/* 8006E48C 0006B3EC 40 82 FF 54 */ bne lbl_8006E3E0 +/* 8006E490 0006B3F0 88 ED A2 30 */ lbz r7, lbl_805A8DF0@sda21(r13) +/* 8006E494 0006B3F4 38 61 00 30 */ addi r3, r1, 0x30 +/* 8006E498 0006B3F8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8006E49C 0006B3FC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8006E4A0 0006B400 98 E1 00 10 */ stb r7, 0x10(r1) +/* 8006E4A4 0006B404 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8006E4A8 0006B408 80 DF 00 20 */ lwz r6, 0x20(r31) +/* 8006E4AC 0006B40C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8006E4B0 0006B410 98 E1 00 1C */ stb r7, 0x1c(r1) +/* 8006E4B4 0006B414 98 E1 00 14 */ stb r7, 0x14(r1) +/* 8006E4B8 0006B418 7C C6 02 14 */ add r6, r6, r0 +/* 8006E4BC 0006B41C 90 C1 00 38 */ stw r6, 0x38(r1) +/* 8006E4C0 0006B420 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 8006E4C4 0006B424 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 8006E4C8 0006B428 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006E4CC 0006B42C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8006E4D0 0006B430 48 00 01 21 */ bl sub_8006e5f0 +/* 8006E4D4 0006B434 80 9B 00 04 */ lwz r4, 4(r27) +/* 8006E4D8 0006B438 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8006E4DC 0006B43C 83 9B 00 0C */ lwz r28, 0xc(r27) +/* 8006E4E0 0006B440 54 80 18 38 */ slwi r0, r4, 3 +/* 8006E4E4 0006B444 7F DC 02 14 */ add r30, r28, r0 +/* 8006E4E8 0006B448 48 00 09 F1 */ bl "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi" +/* 8006E4EC 0006B44C 3B A1 00 44 */ addi r29, r1, 0x44 +/* 8006E4F0 0006B450 48 00 00 9C */ b lbl_8006E58C +lbl_8006E4F4: +/* 8006E4F4 0006B454 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006E4F8 0006B458 90 01 00 40 */ stw r0, 0x40(r1) +/* 8006E4FC 0006B45C 80 9C 00 04 */ lwz r4, 4(r28) +/* 8006E500 0006B460 90 81 00 44 */ stw r4, 0x44(r1) +/* 8006E504 0006B464 80 64 00 04 */ lwz r3, 4(r4) +/* 8006E508 0006B468 38 03 00 01 */ addi r0, r3, 1 +/* 8006E50C 0006B46C 90 04 00 04 */ stw r0, 4(r4) +/* 8006E510 0006B470 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8006E514 0006B474 80 BF 00 2C */ lwz r5, 0x2c(r31) +/* 8006E518 0006B478 7C 00 28 00 */ cmpw r0, r5 +/* 8006E51C 0006B47C 41 80 00 1C */ blt lbl_8006E538 +/* 8006E520 0006B480 2C 05 00 00 */ cmpwi r5, 0 +/* 8006E524 0006B484 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8006E528 0006B488 38 80 00 04 */ li r4, 4 +/* 8006E52C 0006B48C 41 82 00 08 */ beq lbl_8006E534 +/* 8006E530 0006B490 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8006E534: +/* 8006E534 0006B494 48 00 09 A5 */ bl "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi" +lbl_8006E538: +/* 8006E538 0006B498 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8006E53C 0006B49C 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8006E540 0006B4A0 54 00 18 38 */ slwi r0, r0, 3 +/* 8006E544 0006B4A4 7C 63 02 15 */ add. r3, r3, r0 +/* 8006E548 0006B4A8 41 82 00 24 */ beq lbl_8006E56C +/* 8006E54C 0006B4AC 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8006E550 0006B4B0 90 03 00 00 */ stw r0, 0(r3) +/* 8006E554 0006B4B4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8006E558 0006B4B8 90 03 00 04 */ stw r0, 4(r3) +/* 8006E55C 0006B4BC 80 83 00 04 */ lwz r4, 4(r3) +/* 8006E560 0006B4C0 80 64 00 04 */ lwz r3, 4(r4) +/* 8006E564 0006B4C4 38 03 00 01 */ addi r0, r3, 1 +/* 8006E568 0006B4C8 90 04 00 04 */ stw r0, 4(r4) +lbl_8006E56C: +/* 8006E56C 0006B4CC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8006E570 0006B4D0 28 1D 00 00 */ cmplwi r29, 0 +/* 8006E574 0006B4D4 3B 9C 00 08 */ addi r28, r28, 8 +/* 8006E578 0006B4D8 38 03 00 01 */ addi r0, r3, 1 +/* 8006E57C 0006B4DC 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8006E580 0006B4E0 41 82 00 0C */ beq lbl_8006E58C +/* 8006E584 0006B4E4 7F A3 EB 78 */ mr r3, r29 +/* 8006E588 0006B4E8 4B FC 5D 0D */ bl __dt__17CMetaTransFactoryFv +lbl_8006E58C: +/* 8006E58C 0006B4EC 7C 1C F0 40 */ cmplw r28, r30 +/* 8006E590 0006B4F0 40 82 FF 64 */ bne lbl_8006E4F4 +/* 8006E594 0006B4F4 88 ED A2 34 */ lbz r7, lbl_805A8DF4@sda21(r13) +/* 8006E598 0006B4F8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8006E59C 0006B4FC 38 81 00 28 */ addi r4, r1, 0x28 +/* 8006E5A0 0006B500 38 A1 00 08 */ addi r5, r1, 8 +/* 8006E5A4 0006B504 98 E1 00 08 */ stb r7, 8(r1) +/* 8006E5A8 0006B508 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8006E5AC 0006B50C 80 DF 00 30 */ lwz r6, 0x30(r31) +/* 8006E5B0 0006B510 54 00 18 38 */ slwi r0, r0, 3 +/* 8006E5B4 0006B514 98 E1 00 18 */ stb r7, 0x18(r1) +/* 8006E5B8 0006B518 7C C6 02 14 */ add r6, r6, r0 +/* 8006E5BC 0006B51C 90 C1 00 28 */ stw r6, 0x28(r1) +/* 8006E5C0 0006B520 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 8006E5C4 0006B524 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8006E5C8 0006B528 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 8006E5CC 0006B52C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006E5D0 0006B530 90 01 00 20 */ stw r0, 0x20(r1) +/* 8006E5D4 0006B534 48 00 03 79 */ bl sub_8006e94c +/* 8006E5D8 0006B538 7F E3 FB 78 */ mr r3, r31 +/* 8006E5DC 0006B53C BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8006E5E0 0006B540 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8006E5E4 0006B544 7C 08 03 A6 */ mtlr r0 +/* 8006E5E8 0006B548 38 21 00 80 */ addi r1, r1, 0x80 +/* 8006E5EC 0006B54C 4E 80 00 20 */ blr + +.global sub_8006e5f0 +sub_8006e5f0: +/* 8006E5F0 0006B550 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8006E5F4 0006B554 7C 08 02 A6 */ mflr r0 +/* 8006E5F8 0006B558 90 01 00 74 */ stw r0, 0x74(r1) +/* 8006E5FC 0006B55C BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 8006E600 0006B560 7C 9D 23 78 */ mr r29, r4 +/* 8006E604 0006B564 7C 7C 1B 78 */ mr r28, r3 +/* 8006E608 0006B568 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha +/* 8006E60C 0006B56C 38 84 AA AB */ addi r4, r4, 0x2AAAAAAB@l +/* 8006E610 0006B570 7C BE 2B 78 */ mr r30, r5 +/* 8006E614 0006B574 80 63 00 00 */ lwz r3, 0(r3) +/* 8006E618 0006B578 80 DD 00 00 */ lwz r6, 0(r29) +/* 8006E61C 0006B57C 7C 03 30 50 */ subf r0, r3, r6 +/* 8006E620 0006B580 7C 04 00 96 */ mulhw r0, r4, r0 +/* 8006E624 0006B584 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8006E628 0006B588 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8006E62C 0006B58C 7C 80 22 14 */ add r4, r0, r4 +/* 8006E630 0006B590 2C 04 00 01 */ cmpwi r4, 1 +/* 8006E634 0006B594 40 81 01 FC */ ble lbl_8006E830 +/* 8006E638 0006B598 2C 04 00 14 */ cmpwi r4, 0x14 +/* 8006E63C 0006B59C 41 81 00 30 */ bgt lbl_8006E66C +/* 8006E640 0006B5A0 88 FE 00 00 */ lbz r7, 0(r30) +/* 8006E644 0006B5A4 38 61 00 34 */ addi r3, r1, 0x34 +/* 8006E648 0006B5A8 80 DD 00 00 */ lwz r6, 0(r29) +/* 8006E64C 0006B5AC 38 81 00 30 */ addi r4, r1, 0x30 +/* 8006E650 0006B5B0 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006E654 0006B5B4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8006E658 0006B5B8 98 E1 00 14 */ stb r7, 0x14(r1) +/* 8006E65C 0006B5BC 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8006E660 0006B5C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006E664 0006B5C4 48 00 11 8D */ bl "__insertion_sort,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl221pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl" +/* 8006E668 0006B5C8 48 00 01 C8 */ b lbl_8006E830 +lbl_8006E66C: +/* 8006E66C 0006B5CC 54 80 0F FE */ srwi r0, r4, 0x1f +/* 8006E670 0006B5D0 38 A6 FF F4 */ addi r5, r6, -12 +/* 8006E674 0006B5D4 7C 80 22 14 */ add r4, r0, r4 +/* 8006E678 0006B5D8 88 1E 00 00 */ lbz r0, 0(r30) +/* 8006E67C 0006B5DC 7C 84 0E 70 */ srawi r4, r4, 1 +/* 8006E680 0006B5E0 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 8006E684 0006B5E4 1C 84 00 0C */ mulli r4, r4, 0xc +/* 8006E688 0006B5E8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8006E68C 0006B5EC 98 01 00 10 */ stb r0, 0x10(r1) +/* 8006E690 0006B5F0 7F 63 22 14 */ add r27, r3, r4 +/* 8006E694 0006B5F4 7F 64 DB 78 */ mr r4, r27 +/* 8006E698 0006B5F8 48 00 0C F5 */ bl sub_8006f38c +/* 8006E69C 0006B5FC 80 1B 00 00 */ lwz r0, 0(r27) +/* 8006E6A0 0006B600 3B E1 00 48 */ addi r31, r1, 0x48 +/* 8006E6A4 0006B604 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8006E6A8 0006B608 90 01 00 40 */ stw r0, 0x40(r1) +/* 8006E6AC 0006B60C 38 03 FF F4 */ addi r0, r3, -12 +/* 8006E6B0 0006B610 80 7B 00 04 */ lwz r3, 4(r27) +/* 8006E6B4 0006B614 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8006E6B8 0006B618 90 61 00 44 */ stw r3, 0x44(r1) +/* 8006E6BC 0006B61C 80 9B 00 08 */ lwz r4, 8(r27) +/* 8006E6C0 0006B620 90 81 00 48 */ stw r4, 0x48(r1) +/* 8006E6C4 0006B624 80 64 00 04 */ lwz r3, 4(r4) +/* 8006E6C8 0006B628 38 03 00 01 */ addi r0, r3, 1 +/* 8006E6CC 0006B62C 90 04 00 04 */ stw r0, 4(r4) +/* 8006E6D0 0006B630 80 7C 00 00 */ lwz r3, 0(r28) +/* 8006E6D4 0006B634 38 03 00 0C */ addi r0, r3, 0xc +/* 8006E6D8 0006B638 90 01 00 38 */ stw r0, 0x38(r1) +lbl_8006E6DC: +/* 8006E6DC 0006B63C 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8006E6E0 0006B640 80 81 00 44 */ lwz r4, 0x44(r1) +/* 8006E6E4 0006B644 48 00 00 10 */ b lbl_8006E6F4 +lbl_8006E6E8: +/* 8006E6E8 0006B648 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8006E6EC 0006B64C 38 63 00 0C */ addi r3, r3, 0xc +/* 8006E6F0 0006B650 90 61 00 38 */ stw r3, 0x38(r1) +lbl_8006E6F4: +/* 8006E6F4 0006B654 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8006E6F8 0006B658 80 A3 00 00 */ lwz r5, 0(r3) +/* 8006E6FC 0006B65C 7C 05 00 40 */ cmplw r5, r0 +/* 8006E700 0006B660 40 82 00 1C */ bne lbl_8006E71C +/* 8006E704 0006B664 80 63 00 04 */ lwz r3, 4(r3) +/* 8006E708 0006B668 7C 83 1A 78 */ xor r3, r4, r3 +/* 8006E70C 0006B66C 7C 63 00 34 */ cntlzw r3, r3 +/* 8006E710 0006B670 7C 83 18 30 */ slw r3, r4, r3 +/* 8006E714 0006B674 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8006E718 0006B678 48 00 00 14 */ b lbl_8006E72C +lbl_8006E71C: +/* 8006E71C 0006B67C 7C 03 2A 78 */ xor r3, r0, r5 +/* 8006E720 0006B680 7C 63 00 34 */ cntlzw r3, r3 +/* 8006E724 0006B684 7C 03 18 30 */ slw r3, r0, r3 +/* 8006E728 0006B688 54 63 0F FE */ srwi r3, r3, 0x1f +lbl_8006E72C: +/* 8006E72C 0006B68C 54 63 06 3F */ clrlwi. r3, r3, 0x18 +/* 8006E730 0006B690 40 82 FF B8 */ bne lbl_8006E6E8 +/* 8006E734 0006B694 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 8006E738 0006B698 48 00 00 10 */ b lbl_8006E748 +lbl_8006E73C: +/* 8006E73C 0006B69C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8006E740 0006B6A0 38 63 FF F4 */ addi r3, r3, -12 +/* 8006E744 0006B6A4 90 61 00 3C */ stw r3, 0x3c(r1) +lbl_8006E748: +/* 8006E748 0006B6A8 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8006E74C 0006B6AC 80 83 00 00 */ lwz r4, 0(r3) +/* 8006E750 0006B6B0 7C 00 20 40 */ cmplw r0, r4 +/* 8006E754 0006B6B4 40 82 00 1C */ bne lbl_8006E770 +/* 8006E758 0006B6B8 80 83 00 04 */ lwz r4, 4(r3) +/* 8006E75C 0006B6BC 7C 83 2A 78 */ xor r3, r4, r5 +/* 8006E760 0006B6C0 7C 63 00 34 */ cntlzw r3, r3 +/* 8006E764 0006B6C4 7C 83 18 30 */ slw r3, r4, r3 +/* 8006E768 0006B6C8 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8006E76C 0006B6CC 48 00 00 14 */ b lbl_8006E780 +lbl_8006E770: +/* 8006E770 0006B6D0 7C 83 02 78 */ xor r3, r4, r0 +/* 8006E774 0006B6D4 7C 63 00 34 */ cntlzw r3, r3 +/* 8006E778 0006B6D8 7C 83 18 30 */ slw r3, r4, r3 +/* 8006E77C 0006B6DC 54 63 0F FE */ srwi r3, r3, 0x1f +lbl_8006E780: +/* 8006E780 0006B6E0 54 63 06 3F */ clrlwi. r3, r3, 0x18 +/* 8006E784 0006B6E4 40 82 FF B8 */ bne lbl_8006E73C +/* 8006E788 0006B6E8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8006E78C 0006B6EC 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8006E790 0006B6F0 7C 03 00 40 */ cmplw r3, r0 +/* 8006E794 0006B6F4 40 80 00 3C */ bge lbl_8006E7D0 +/* 8006E798 0006B6F8 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 8006E79C 0006B6FC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8006E7A0 0006B700 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8006E7A4 0006B704 38 81 00 28 */ addi r4, r1, 0x28 +/* 8006E7A8 0006B708 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8006E7AC 0006B70C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8006E7B0 0006B710 48 00 00 95 */ bl sub_8006e844 +/* 8006E7B4 0006B714 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8006E7B8 0006B718 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8006E7BC 0006B71C 38 84 00 0C */ addi r4, r4, 0xc +/* 8006E7C0 0006B720 38 03 FF F4 */ addi r0, r3, -12 +/* 8006E7C4 0006B724 90 81 00 38 */ stw r4, 0x38(r1) +/* 8006E7C8 0006B728 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8006E7CC 0006B72C 4B FF FF 10 */ b lbl_8006E6DC +lbl_8006E7D0: +/* 8006E7D0 0006B730 88 FE 00 00 */ lbz r7, 0(r30) +/* 8006E7D4 0006B734 38 61 00 24 */ addi r3, r1, 0x24 +/* 8006E7D8 0006B738 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 8006E7DC 0006B73C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8006E7E0 0006B740 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006E7E4 0006B744 38 A1 00 0C */ addi r5, r1, 0xc +/* 8006E7E8 0006B748 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8006E7EC 0006B74C 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8006E7F0 0006B750 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006E7F4 0006B754 4B FF FD FD */ bl sub_8006e5f0 +/* 8006E7F8 0006B758 88 FE 00 00 */ lbz r7, 0(r30) +/* 8006E7FC 0006B75C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8006E800 0006B760 80 DD 00 00 */ lwz r6, 0(r29) +/* 8006E804 0006B764 38 81 00 18 */ addi r4, r1, 0x18 +/* 8006E808 0006B768 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8006E80C 0006B76C 38 A1 00 08 */ addi r5, r1, 8 +/* 8006E810 0006B770 98 E1 00 08 */ stb r7, 8(r1) +/* 8006E814 0006B774 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8006E818 0006B778 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8006E81C 0006B77C 4B FF FD D5 */ bl sub_8006e5f0 +/* 8006E820 0006B780 28 1F 00 00 */ cmplwi r31, 0 +/* 8006E824 0006B784 41 82 00 0C */ beq lbl_8006E830 +/* 8006E828 0006B788 7F E3 FB 78 */ mr r3, r31 +/* 8006E82C 0006B78C 4B FC 5A 69 */ bl __dt__17CMetaTransFactoryFv +lbl_8006E830: +/* 8006E830 0006B790 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 8006E834 0006B794 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8006E838 0006B798 7C 08 03 A6 */ mtlr r0 +/* 8006E83C 0006B79C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8006E840 0006B7A0 4E 80 00 20 */ blr + +.global sub_8006e844 +sub_8006e844: +/* 8006E844 0006B7A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006E848 0006B7A8 7C 08 02 A6 */ mflr r0 +/* 8006E84C 0006B7AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006E850 0006B7B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8006E854 0006B7B4 3B E1 00 10 */ addi r31, r1, 0x10 +/* 8006E858 0006B7B8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8006E85C 0006B7BC 7C 9E 23 78 */ mr r30, r4 +/* 8006E860 0006B7C0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8006E864 0006B7C4 93 81 00 20 */ stw r28, 0x20(r1) +/* 8006E868 0006B7C8 80 A3 00 00 */ lwz r5, 0(r3) +/* 8006E86C 0006B7CC 80 05 00 00 */ lwz r0, 0(r5) +/* 8006E870 0006B7D0 90 01 00 08 */ stw r0, 8(r1) +/* 8006E874 0006B7D4 80 05 00 04 */ lwz r0, 4(r5) +/* 8006E878 0006B7D8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8006E87C 0006B7DC 80 A5 00 08 */ lwz r5, 8(r5) +/* 8006E880 0006B7E0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8006E884 0006B7E4 80 85 00 04 */ lwz r4, 4(r5) +/* 8006E888 0006B7E8 38 04 00 01 */ addi r0, r4, 1 +/* 8006E88C 0006B7EC 90 05 00 04 */ stw r0, 4(r5) +/* 8006E890 0006B7F0 83 BE 00 00 */ lwz r29, 0(r30) +/* 8006E894 0006B7F4 83 83 00 00 */ lwz r28, 0(r3) +/* 8006E898 0006B7F8 80 7D 00 00 */ lwz r3, 0(r29) +/* 8006E89C 0006B7FC 80 1D 00 04 */ lwz r0, 4(r29) +/* 8006E8A0 0006B800 90 7C 00 00 */ stw r3, 0(r28) +/* 8006E8A4 0006B804 90 1C 00 04 */ stw r0, 4(r28) +/* 8006E8A8 0006B808 80 7C 00 08 */ lwz r3, 8(r28) +/* 8006E8AC 0006B80C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8006E8B0 0006B810 7C 03 00 40 */ cmplw r3, r0 +/* 8006E8B4 0006B814 41 82 00 24 */ beq lbl_8006E8D8 +/* 8006E8B8 0006B818 38 7C 00 08 */ addi r3, r28, 8 +/* 8006E8BC 0006B81C 4B FC 59 D9 */ bl __dt__17CMetaTransFactoryFv +/* 8006E8C0 0006B820 80 1D 00 08 */ lwz r0, 8(r29) +/* 8006E8C4 0006B824 90 1C 00 08 */ stw r0, 8(r28) +/* 8006E8C8 0006B828 80 9C 00 08 */ lwz r4, 8(r28) +/* 8006E8CC 0006B82C 80 64 00 04 */ lwz r3, 4(r4) +/* 8006E8D0 0006B830 38 03 00 01 */ addi r0, r3, 1 +/* 8006E8D4 0006B834 90 04 00 04 */ stw r0, 4(r4) +lbl_8006E8D8: +/* 8006E8D8 0006B838 83 9E 00 00 */ lwz r28, 0(r30) +/* 8006E8DC 0006B83C 80 61 00 08 */ lwz r3, 8(r1) +/* 8006E8E0 0006B840 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006E8E4 0006B844 90 7C 00 00 */ stw r3, 0(r28) +/* 8006E8E8 0006B848 90 1C 00 04 */ stw r0, 4(r28) +/* 8006E8EC 0006B84C 80 7C 00 08 */ lwz r3, 8(r28) +/* 8006E8F0 0006B850 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006E8F4 0006B854 7C 03 00 40 */ cmplw r3, r0 +/* 8006E8F8 0006B858 41 82 00 24 */ beq lbl_8006E91C +/* 8006E8FC 0006B85C 38 7C 00 08 */ addi r3, r28, 8 +/* 8006E900 0006B860 4B FC 59 95 */ bl __dt__17CMetaTransFactoryFv +/* 8006E904 0006B864 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006E908 0006B868 90 1C 00 08 */ stw r0, 8(r28) +/* 8006E90C 0006B86C 80 9C 00 08 */ lwz r4, 8(r28) +/* 8006E910 0006B870 80 64 00 04 */ lwz r3, 4(r4) +/* 8006E914 0006B874 38 03 00 01 */ addi r0, r3, 1 +/* 8006E918 0006B878 90 04 00 04 */ stw r0, 4(r4) +lbl_8006E91C: +/* 8006E91C 0006B87C 28 1F 00 00 */ cmplwi r31, 0 +/* 8006E920 0006B880 41 82 00 0C */ beq lbl_8006E92C +/* 8006E924 0006B884 7F E3 FB 78 */ mr r3, r31 +/* 8006E928 0006B888 4B FC 59 6D */ bl __dt__17CMetaTransFactoryFv +lbl_8006E92C: +/* 8006E92C 0006B88C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006E930 0006B890 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8006E934 0006B894 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8006E938 0006B898 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8006E93C 0006B89C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8006E940 0006B8A0 7C 08 03 A6 */ mtlr r0 +/* 8006E944 0006B8A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006E948 0006B8A8 4E 80 00 20 */ blr + +.global sub_8006e94c +sub_8006e94c: +/* 8006E94C 0006B8AC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8006E950 0006B8B0 7C 08 02 A6 */ mflr r0 +/* 8006E954 0006B8B4 90 01 00 64 */ stw r0, 0x64(r1) +/* 8006E958 0006B8B8 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 8006E95C 0006B8BC 7C 7C 1B 78 */ mr r28, r3 +/* 8006E960 0006B8C0 7C BE 2B 78 */ mr r30, r5 +/* 8006E964 0006B8C4 7C 9D 23 78 */ mr r29, r4 +/* 8006E968 0006B8C8 80 63 00 00 */ lwz r3, 0(r3) +/* 8006E96C 0006B8CC 80 A4 00 00 */ lwz r5, 0(r4) +/* 8006E970 0006B8D0 7C 03 28 50 */ subf r0, r3, r5 +/* 8006E974 0006B8D4 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8006E978 0006B8D8 7C 80 01 94 */ addze r4, r0 +/* 8006E97C 0006B8DC 2C 04 00 01 */ cmpwi r4, 1 +/* 8006E980 0006B8E0 40 81 01 88 */ ble lbl_8006EB08 +/* 8006E984 0006B8E4 2C 04 00 14 */ cmpwi r4, 0x14 +/* 8006E988 0006B8E8 41 81 00 30 */ bgt lbl_8006E9B8 +/* 8006E98C 0006B8EC 88 FE 00 00 */ lbz r7, 0(r30) +/* 8006E990 0006B8F0 38 61 00 34 */ addi r3, r1, 0x34 +/* 8006E994 0006B8F4 80 DD 00 00 */ lwz r6, 0(r29) +/* 8006E998 0006B8F8 38 81 00 30 */ addi r4, r1, 0x30 +/* 8006E99C 0006B8FC 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006E9A0 0006B900 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8006E9A4 0006B904 98 E1 00 14 */ stb r7, 0x14(r1) +/* 8006E9A8 0006B908 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8006E9AC 0006B90C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006E9B0 0006B910 48 00 0D 29 */ bl sub_8006f6d8 +/* 8006E9B4 0006B914 48 00 01 54 */ b lbl_8006EB08 +lbl_8006E9B8: +/* 8006E9B8 0006B918 54 80 0F FE */ srwi r0, r4, 0x1f +/* 8006E9BC 0006B91C 38 A5 FF F8 */ addi r5, r5, -8 +/* 8006E9C0 0006B920 7C 80 22 14 */ add r4, r0, r4 +/* 8006E9C4 0006B924 88 1E 00 00 */ lbz r0, 0(r30) +/* 8006E9C8 0006B928 7C 84 0E 70 */ srawi r4, r4, 1 +/* 8006E9CC 0006B92C 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 8006E9D0 0006B930 54 84 18 38 */ slwi r4, r4, 3 +/* 8006E9D4 0006B934 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8006E9D8 0006B938 7F 63 22 14 */ add r27, r3, r4 +/* 8006E9DC 0006B93C 98 01 00 10 */ stb r0, 0x10(r1) +/* 8006E9E0 0006B940 7F 64 DB 78 */ mr r4, r27 +/* 8006E9E4 0006B944 48 00 07 49 */ bl sub_8006f12c +/* 8006E9E8 0006B948 80 1B 00 00 */ lwz r0, 0(r27) +/* 8006E9EC 0006B94C 3B E1 00 44 */ addi r31, r1, 0x44 +/* 8006E9F0 0006B950 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8006E9F4 0006B954 90 01 00 40 */ stw r0, 0x40(r1) +/* 8006E9F8 0006B958 38 03 FF F8 */ addi r0, r3, -8 +/* 8006E9FC 0006B95C 80 9B 00 04 */ lwz r4, 4(r27) +/* 8006EA00 0006B960 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8006EA04 0006B964 90 81 00 44 */ stw r4, 0x44(r1) +/* 8006EA08 0006B968 80 64 00 04 */ lwz r3, 4(r4) +/* 8006EA0C 0006B96C 38 03 00 01 */ addi r0, r3, 1 +/* 8006EA10 0006B970 90 04 00 04 */ stw r0, 4(r4) +/* 8006EA14 0006B974 80 7C 00 00 */ lwz r3, 0(r28) +/* 8006EA18 0006B978 38 03 00 08 */ addi r0, r3, 8 +/* 8006EA1C 0006B97C 90 01 00 38 */ stw r0, 0x38(r1) +lbl_8006EA20: +/* 8006EA20 0006B980 80 81 00 40 */ lwz r4, 0x40(r1) +/* 8006EA24 0006B984 48 00 00 10 */ b lbl_8006EA34 +lbl_8006EA28: +/* 8006EA28 0006B988 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8006EA2C 0006B98C 38 03 00 08 */ addi r0, r3, 8 +/* 8006EA30 0006B990 90 01 00 38 */ stw r0, 0x38(r1) +lbl_8006EA34: +/* 8006EA34 0006B994 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8006EA38 0006B998 80 03 00 00 */ lwz r0, 0(r3) +/* 8006EA3C 0006B99C 7C 00 20 40 */ cmplw r0, r4 +/* 8006EA40 0006B9A0 41 80 FF E8 */ blt lbl_8006EA28 +/* 8006EA44 0006B9A4 48 00 00 10 */ b lbl_8006EA54 +lbl_8006EA48: +/* 8006EA48 0006B9A8 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8006EA4C 0006B9AC 38 03 FF F8 */ addi r0, r3, -8 +/* 8006EA50 0006B9B0 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_8006EA54: +/* 8006EA54 0006B9B4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8006EA58 0006B9B8 80 03 00 00 */ lwz r0, 0(r3) +/* 8006EA5C 0006B9BC 7C 04 00 40 */ cmplw r4, r0 +/* 8006EA60 0006B9C0 41 80 FF E8 */ blt lbl_8006EA48 +/* 8006EA64 0006B9C4 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8006EA68 0006B9C8 7C 00 18 40 */ cmplw r0, r3 +/* 8006EA6C 0006B9CC 40 80 00 3C */ bge lbl_8006EAA8 +/* 8006EA70 0006B9D0 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 8006EA74 0006B9D4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8006EA78 0006B9D8 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8006EA7C 0006B9DC 38 81 00 28 */ addi r4, r1, 0x28 +/* 8006EA80 0006B9E0 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8006EA84 0006B9E4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8006EA88 0006B9E8 48 00 00 95 */ bl sub_8006eb1c +/* 8006EA8C 0006B9EC 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8006EA90 0006B9F0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8006EA94 0006B9F4 38 84 00 08 */ addi r4, r4, 8 +/* 8006EA98 0006B9F8 38 03 FF F8 */ addi r0, r3, -8 +/* 8006EA9C 0006B9FC 90 81 00 38 */ stw r4, 0x38(r1) +/* 8006EAA0 0006BA00 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8006EAA4 0006BA04 4B FF FF 7C */ b lbl_8006EA20 +lbl_8006EAA8: +/* 8006EAA8 0006BA08 88 FE 00 00 */ lbz r7, 0(r30) +/* 8006EAAC 0006BA0C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8006EAB0 0006BA10 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 8006EAB4 0006BA14 38 81 00 20 */ addi r4, r1, 0x20 +/* 8006EAB8 0006BA18 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006EABC 0006BA1C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8006EAC0 0006BA20 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8006EAC4 0006BA24 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8006EAC8 0006BA28 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006EACC 0006BA2C 4B FF FE 81 */ bl sub_8006e94c +/* 8006EAD0 0006BA30 88 FE 00 00 */ lbz r7, 0(r30) +/* 8006EAD4 0006BA34 38 61 00 1C */ addi r3, r1, 0x1c +/* 8006EAD8 0006BA38 80 DD 00 00 */ lwz r6, 0(r29) +/* 8006EADC 0006BA3C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8006EAE0 0006BA40 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8006EAE4 0006BA44 38 A1 00 08 */ addi r5, r1, 8 +/* 8006EAE8 0006BA48 98 E1 00 08 */ stb r7, 8(r1) +/* 8006EAEC 0006BA4C 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8006EAF0 0006BA50 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8006EAF4 0006BA54 4B FF FE 59 */ bl sub_8006e94c +/* 8006EAF8 0006BA58 28 1F 00 00 */ cmplwi r31, 0 +/* 8006EAFC 0006BA5C 41 82 00 0C */ beq lbl_8006EB08 +/* 8006EB00 0006BA60 7F E3 FB 78 */ mr r3, r31 +/* 8006EB04 0006BA64 4B FC 57 91 */ bl __dt__17CMetaTransFactoryFv +lbl_8006EB08: +/* 8006EB08 0006BA68 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 8006EB0C 0006BA6C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8006EB10 0006BA70 7C 08 03 A6 */ mtlr r0 +/* 8006EB14 0006BA74 38 21 00 60 */ addi r1, r1, 0x60 +/* 8006EB18 0006BA78 4E 80 00 20 */ blr + +.global sub_8006eb1c +sub_8006eb1c: +/* 8006EB1C 0006BA7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006EB20 0006BA80 7C 08 02 A6 */ mflr r0 +/* 8006EB24 0006BA84 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006EB28 0006BA88 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8006EB2C 0006BA8C 3B E1 00 0C */ addi r31, r1, 0xc +/* 8006EB30 0006BA90 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8006EB34 0006BA94 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8006EB38 0006BA98 93 81 00 10 */ stw r28, 0x10(r1) +/* 8006EB3C 0006BA9C 7C 9C 23 78 */ mr r28, r4 +/* 8006EB40 0006BAA0 80 A3 00 00 */ lwz r5, 0(r3) +/* 8006EB44 0006BAA4 80 05 00 00 */ lwz r0, 0(r5) +/* 8006EB48 0006BAA8 90 01 00 08 */ stw r0, 8(r1) +/* 8006EB4C 0006BAAC 80 A5 00 04 */ lwz r5, 4(r5) +/* 8006EB50 0006BAB0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8006EB54 0006BAB4 80 85 00 04 */ lwz r4, 4(r5) +/* 8006EB58 0006BAB8 38 04 00 01 */ addi r0, r4, 1 +/* 8006EB5C 0006BABC 90 05 00 04 */ stw r0, 4(r5) +/* 8006EB60 0006BAC0 83 DC 00 00 */ lwz r30, 0(r28) +/* 8006EB64 0006BAC4 83 A3 00 00 */ lwz r29, 0(r3) +/* 8006EB68 0006BAC8 80 1E 00 00 */ lwz r0, 0(r30) +/* 8006EB6C 0006BACC 90 1D 00 00 */ stw r0, 0(r29) +/* 8006EB70 0006BAD0 80 7D 00 04 */ lwz r3, 4(r29) +/* 8006EB74 0006BAD4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006EB78 0006BAD8 7C 03 00 40 */ cmplw r3, r0 +/* 8006EB7C 0006BADC 41 82 00 24 */ beq lbl_8006EBA0 +/* 8006EB80 0006BAE0 38 7D 00 04 */ addi r3, r29, 4 +/* 8006EB84 0006BAE4 4B FC 57 11 */ bl __dt__17CMetaTransFactoryFv +/* 8006EB88 0006BAE8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006EB8C 0006BAEC 90 1D 00 04 */ stw r0, 4(r29) +/* 8006EB90 0006BAF0 80 9D 00 04 */ lwz r4, 4(r29) +/* 8006EB94 0006BAF4 80 64 00 04 */ lwz r3, 4(r4) +/* 8006EB98 0006BAF8 38 03 00 01 */ addi r0, r3, 1 +/* 8006EB9C 0006BAFC 90 04 00 04 */ stw r0, 4(r4) +lbl_8006EBA0: +/* 8006EBA0 0006BB00 83 BC 00 00 */ lwz r29, 0(r28) +/* 8006EBA4 0006BB04 80 01 00 08 */ lwz r0, 8(r1) +/* 8006EBA8 0006BB08 90 1D 00 00 */ stw r0, 0(r29) +/* 8006EBAC 0006BB0C 80 7D 00 04 */ lwz r3, 4(r29) +/* 8006EBB0 0006BB10 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006EBB4 0006BB14 7C 03 00 40 */ cmplw r3, r0 +/* 8006EBB8 0006BB18 41 82 00 24 */ beq lbl_8006EBDC +/* 8006EBBC 0006BB1C 38 7D 00 04 */ addi r3, r29, 4 +/* 8006EBC0 0006BB20 4B FC 56 D5 */ bl __dt__17CMetaTransFactoryFv +/* 8006EBC4 0006BB24 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006EBC8 0006BB28 90 1D 00 04 */ stw r0, 4(r29) +/* 8006EBCC 0006BB2C 80 9D 00 04 */ lwz r4, 4(r29) +/* 8006EBD0 0006BB30 80 64 00 04 */ lwz r3, 4(r4) +/* 8006EBD4 0006BB34 38 03 00 01 */ addi r0, r3, 1 +/* 8006EBD8 0006BB38 90 04 00 04 */ stw r0, 4(r4) +lbl_8006EBDC: +/* 8006EBDC 0006BB3C 28 1F 00 00 */ cmplwi r31, 0 +/* 8006EBE0 0006BB40 41 82 00 0C */ beq lbl_8006EBEC +/* 8006EBE4 0006BB44 7F E3 FB 78 */ mr r3, r31 +/* 8006EBE8 0006BB48 4B FC 56 AD */ bl __dt__17CMetaTransFactoryFv +lbl_8006EBEC: +/* 8006EBEC 0006BB4C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8006EBF0 0006BB50 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8006EBF4 0006BB54 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8006EBF8 0006BB58 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8006EBFC 0006BB5C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8006EC00 0006BB60 7C 08 03 A6 */ mtlr r0 +/* 8006EC04 0006BB64 38 21 00 20 */ addi r1, r1, 0x20 +/* 8006EC08 0006BB68 4E 80 00 20 */ blr + +.global "lower_bound,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl11pair,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20r" +"lower_bound,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl11pair,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20r": +/* 8006EC0C 0006BB6C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006EC10 0006BB70 7C 08 02 A6 */ mflr r0 +/* 8006EC14 0006BB74 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006EC18 0006BB78 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8006EC1C 0006BB7C 7C 9C 23 78 */ mr r28, r4 +/* 8006EC20 0006BB80 7C 7B 1B 78 */ mr r27, r3 +/* 8006EC24 0006BB84 7C DD 33 78 */ mr r29, r6 +/* 8006EC28 0006BB88 38 61 00 0C */ addi r3, r1, 0xc +/* 8006EC2C 0006BB8C 80 85 00 00 */ lwz r4, 0(r5) +/* 8006EC30 0006BB90 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006EC34 0006BB94 90 81 00 08 */ stw r4, 8(r1) +/* 8006EC38 0006BB98 38 81 00 08 */ addi r4, r1, 8 +/* 8006EC3C 0006BB9C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8006EC40 0006BBA0 48 00 04 25 */ bl "distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_po" +/* 8006EC44 0006BBA4 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006EC48 0006BBA8 7C 7F 1B 78 */ mr r31, r3 +/* 8006EC4C 0006BBAC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8006EC50 0006BBB0 48 00 00 8C */ b lbl_8006ECDC +lbl_8006EC54: +/* 8006EC54 0006BBB4 57 E3 0F FE */ srwi r3, r31, 0x1f +/* 8006EC58 0006BBB8 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006EC5C 0006BBBC 7C 83 FA 14 */ add r4, r3, r31 +/* 8006EC60 0006BBC0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8006EC64 0006BBC4 7C 9E 0E 70 */ srawi r30, r4, 1 +/* 8006EC68 0006BBC8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8006EC6C 0006BBCC 7F C4 F3 78 */ mr r4, r30 +/* 8006EC70 0006BBD0 48 00 03 75 */ bl "advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 8006EC74 0006BBD4 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8006EC78 0006BBD8 80 7D 00 00 */ lwz r3, 0(r29) +/* 8006EC7C 0006BBDC 80 04 00 00 */ lwz r0, 0(r4) +/* 8006EC80 0006BBE0 7C 00 18 40 */ cmplw r0, r3 +/* 8006EC84 0006BBE4 40 82 00 20 */ bne lbl_8006ECA4 +/* 8006EC88 0006BBE8 80 04 00 04 */ lwz r0, 4(r4) +/* 8006EC8C 0006BBEC 80 7D 00 04 */ lwz r3, 4(r29) +/* 8006EC90 0006BBF0 7C 60 02 78 */ xor r0, r3, r0 +/* 8006EC94 0006BBF4 7C 00 00 34 */ cntlzw r0, r0 +/* 8006EC98 0006BBF8 7C 60 00 30 */ slw r0, r3, r0 +/* 8006EC9C 0006BBFC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8006ECA0 0006BC00 48 00 00 14 */ b lbl_8006ECB4 +lbl_8006ECA4: +/* 8006ECA4 0006BC04 7C 60 02 78 */ xor r0, r3, r0 +/* 8006ECA8 0006BC08 7C 00 00 34 */ cntlzw r0, r0 +/* 8006ECAC 0006BC0C 7C 60 00 30 */ slw r0, r3, r0 +/* 8006ECB0 0006BC10 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8006ECB4: +/* 8006ECB4 0006BC14 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8006ECB8 0006BC18 41 82 00 20 */ beq lbl_8006ECD8 +/* 8006ECBC 0006BC1C 90 9C 00 00 */ stw r4, 0(r28) +/* 8006ECC0 0006BC20 7C 7E F8 50 */ subf r3, r30, r31 +/* 8006ECC4 0006BC24 3B E3 FF FF */ addi r31, r3, -1 +/* 8006ECC8 0006BC28 80 7C 00 00 */ lwz r3, 0(r28) +/* 8006ECCC 0006BC2C 38 03 00 0C */ addi r0, r3, 0xc +/* 8006ECD0 0006BC30 90 1C 00 00 */ stw r0, 0(r28) +/* 8006ECD4 0006BC34 48 00 00 08 */ b lbl_8006ECDC +lbl_8006ECD8: +/* 8006ECD8 0006BC38 7F DF F3 78 */ mr r31, r30 +lbl_8006ECDC: +/* 8006ECDC 0006BC3C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8006ECE0 0006BC40 41 81 FF 74 */ bgt lbl_8006EC54 +/* 8006ECE4 0006BC44 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006ECE8 0006BC48 90 1B 00 00 */ stw r0, 0(r27) +/* 8006ECEC 0006BC4C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8006ECF0 0006BC50 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006ECF4 0006BC54 7C 08 03 A6 */ mtlr r0 +/* 8006ECF8 0006BC58 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006ECFC 0006BC5C 4E 80 00 20 */ blr + +.global "lower_bound>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl124pair_sorter_finder>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rst" +"lower_bound>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl124pair_sorter_finder>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rst": +/* 8006ED00 0006BC60 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006ED04 0006BC64 7C 08 02 A6 */ mflr r0 +/* 8006ED08 0006BC68 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006ED0C 0006BC6C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8006ED10 0006BC70 7C 9F 23 78 */ mr r31, r4 +/* 8006ED14 0006BC74 7C 7E 1B 78 */ mr r30, r3 +/* 8006ED18 0006BC78 7C DB 33 78 */ mr r27, r6 +/* 8006ED1C 0006BC7C 38 61 00 0C */ addi r3, r1, 0xc +/* 8006ED20 0006BC80 80 85 00 00 */ lwz r4, 0(r5) +/* 8006ED24 0006BC84 80 1F 00 00 */ lwz r0, 0(r31) +/* 8006ED28 0006BC88 90 81 00 08 */ stw r4, 8(r1) +/* 8006ED2C 0006BC8C 38 81 00 08 */ addi r4, r1, 8 +/* 8006ED30 0006BC90 90 01 00 0C */ stw r0, 0xc(r1) +/* 8006ED34 0006BC94 48 00 03 75 */ bl "distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82ve" +/* 8006ED38 0006BC98 80 1F 00 00 */ lwz r0, 0(r31) +/* 8006ED3C 0006BC9C 7C 7D 1B 78 */ mr r29, r3 +/* 8006ED40 0006BCA0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8006ED44 0006BCA4 48 00 00 58 */ b lbl_8006ED9C +lbl_8006ED48: +/* 8006ED48 0006BCA8 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 8006ED4C 0006BCAC 80 1F 00 00 */ lwz r0, 0(r31) +/* 8006ED50 0006BCB0 7C 83 EA 14 */ add r4, r3, r29 +/* 8006ED54 0006BCB4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8006ED58 0006BCB8 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 8006ED5C 0006BCBC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8006ED60 0006BCC0 7F 84 E3 78 */ mr r4, r28 +/* 8006ED64 0006BCC4 48 00 02 AD */ bl "advance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 8006ED68 0006BCC8 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8006ED6C 0006BCCC 80 1B 00 00 */ lwz r0, 0(r27) +/* 8006ED70 0006BCD0 80 64 00 00 */ lwz r3, 0(r4) +/* 8006ED74 0006BCD4 7C 03 00 40 */ cmplw r3, r0 +/* 8006ED78 0006BCD8 40 80 00 20 */ bge lbl_8006ED98 +/* 8006ED7C 0006BCDC 90 9F 00 00 */ stw r4, 0(r31) +/* 8006ED80 0006BCE0 7C 7C E8 50 */ subf r3, r28, r29 +/* 8006ED84 0006BCE4 3B A3 FF FF */ addi r29, r3, -1 +/* 8006ED88 0006BCE8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8006ED8C 0006BCEC 38 03 00 08 */ addi r0, r3, 8 +/* 8006ED90 0006BCF0 90 1F 00 00 */ stw r0, 0(r31) +/* 8006ED94 0006BCF4 48 00 00 08 */ b lbl_8006ED9C +lbl_8006ED98: +/* 8006ED98 0006BCF8 7F 9D E3 78 */ mr r29, r28 +lbl_8006ED9C: +/* 8006ED9C 0006BCFC 2C 1D 00 00 */ cmpwi r29, 0 +/* 8006EDA0 0006BD00 41 81 FF A8 */ bgt lbl_8006ED48 +/* 8006EDA4 0006BD04 80 1F 00 00 */ lwz r0, 0(r31) +/* 8006EDA8 0006BD08 90 1E 00 00 */ stw r0, 0(r30) +/* 8006EDAC 0006BD0C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8006EDB0 0006BD10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006EDB4 0006BD14 7C 08 03 A6 */ mtlr r0 +/* 8006EDB8 0006BD18 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006EDBC 0006BD1C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi": +/* 8006EDC0 0006BD20 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006EDC4 0006BD24 7C 08 02 A6 */ mflr r0 +/* 8006EDC8 0006BD28 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006EDCC 0006BD2C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8006EDD0 0006BD30 7C 9E 23 78 */ mr r30, r4 +/* 8006EDD4 0006BD34 7C 7D 1B 78 */ mr r29, r3 +/* 8006EDD8 0006BD38 80 03 00 08 */ lwz r0, 8(r3) +/* 8006EDDC 0006BD3C 7C 1E 00 00 */ cmpw r30, r0 +/* 8006EDE0 0006BD40 40 81 00 E4 */ ble lbl_8006EEC4 +/* 8006EDE4 0006BD44 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 8006EDE8 0006BD48 2C 03 00 00 */ cmpwi r3, 0 +/* 8006EDEC 0006BD4C 40 82 00 0C */ bne lbl_8006EDF8 +/* 8006EDF0 0006BD50 3B E0 00 00 */ li r31, 0 +/* 8006EDF4 0006BD54 48 00 00 18 */ b lbl_8006EE0C +lbl_8006EDF8: +/* 8006EDF8 0006BD58 3C 80 80 3D */ lis r4, lbl_803CD288@ha +/* 8006EDFC 0006BD5C 38 A0 00 00 */ li r5, 0 +/* 8006EE00 0006BD60 38 84 D2 88 */ addi r4, r4, lbl_803CD288@l +/* 8006EE04 0006BD64 48 2A 6A 15 */ bl __nwa__FUlPCcPCc +/* 8006EE08 0006BD68 7C 7F 1B 78 */ mr r31, r3 +lbl_8006EE0C: +/* 8006EE0C 0006BD6C 80 1D 00 04 */ lwz r0, 4(r29) +/* 8006EE10 0006BD70 7F E6 FB 78 */ mr r6, r31 +/* 8006EE14 0006BD74 80 FD 00 0C */ lwz r7, 0xc(r29) +/* 8006EE18 0006BD78 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8006EE1C 0006BD7C 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8006EE20 0006BD80 7C A7 02 14 */ add r5, r7, r0 +/* 8006EE24 0006BD84 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8006EE28 0006BD88 90 A1 00 08 */ stw r5, 8(r1) +/* 8006EE2C 0006BD8C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8006EE30 0006BD90 48 00 00 3C */ b lbl_8006EE6C +lbl_8006EE34: +/* 8006EE34 0006BD94 28 06 00 00 */ cmplwi r6, 0 +/* 8006EE38 0006BD98 41 82 00 2C */ beq lbl_8006EE64 +/* 8006EE3C 0006BD9C 80 07 00 00 */ lwz r0, 0(r7) +/* 8006EE40 0006BDA0 90 06 00 00 */ stw r0, 0(r6) +/* 8006EE44 0006BDA4 80 07 00 04 */ lwz r0, 4(r7) +/* 8006EE48 0006BDA8 90 06 00 04 */ stw r0, 4(r6) +/* 8006EE4C 0006BDAC 80 07 00 08 */ lwz r0, 8(r7) +/* 8006EE50 0006BDB0 90 06 00 08 */ stw r0, 8(r6) +/* 8006EE54 0006BDB4 80 86 00 08 */ lwz r4, 8(r6) +/* 8006EE58 0006BDB8 80 64 00 04 */ lwz r3, 4(r4) +/* 8006EE5C 0006BDBC 38 03 00 01 */ addi r0, r3, 1 +/* 8006EE60 0006BDC0 90 04 00 04 */ stw r0, 4(r4) +lbl_8006EE64: +/* 8006EE64 0006BDC4 38 C6 00 0C */ addi r6, r6, 0xc +/* 8006EE68 0006BDC8 38 E7 00 0C */ addi r7, r7, 0xc +lbl_8006EE6C: +/* 8006EE6C 0006BDCC 7C 07 28 40 */ cmplw r7, r5 +/* 8006EE70 0006BDD0 40 82 FF C4 */ bne lbl_8006EE34 +/* 8006EE74 0006BDD4 80 1D 00 04 */ lwz r0, 4(r29) +/* 8006EE78 0006BDD8 83 7D 00 0C */ lwz r27, 0xc(r29) +/* 8006EE7C 0006BDDC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8006EE80 0006BDE0 7F 9B 02 14 */ add r28, r27, r0 +/* 8006EE84 0006BDE4 48 00 00 20 */ b lbl_8006EEA4 +lbl_8006EE88: +/* 8006EE88 0006BDE8 28 1B 00 00 */ cmplwi r27, 0 +/* 8006EE8C 0006BDEC 41 82 00 14 */ beq lbl_8006EEA0 +/* 8006EE90 0006BDF0 34 1B 00 08 */ addic. r0, r27, 8 +/* 8006EE94 0006BDF4 41 82 00 0C */ beq lbl_8006EEA0 +/* 8006EE98 0006BDF8 38 7B 00 08 */ addi r3, r27, 8 +/* 8006EE9C 0006BDFC 4B FC 53 F9 */ bl __dt__17CMetaTransFactoryFv +lbl_8006EEA0: +/* 8006EEA0 0006BE00 3B 7B 00 0C */ addi r27, r27, 0xc +lbl_8006EEA4: +/* 8006EEA4 0006BE04 7C 1B E0 40 */ cmplw r27, r28 +/* 8006EEA8 0006BE08 40 82 FF E0 */ bne lbl_8006EE88 +/* 8006EEAC 0006BE0C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8006EEB0 0006BE10 28 03 00 00 */ cmplwi r3, 0 +/* 8006EEB4 0006BE14 41 82 00 08 */ beq lbl_8006EEBC +/* 8006EEB8 0006BE18 48 2A 6A 79 */ bl Free__7CMemoryFPCv +lbl_8006EEBC: +/* 8006EEBC 0006BE1C 93 FD 00 0C */ stw r31, 0xc(r29) +/* 8006EEC0 0006BE20 93 DD 00 08 */ stw r30, 8(r29) +lbl_8006EEC4: +/* 8006EEC4 0006BE24 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8006EEC8 0006BE28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006EECC 0006BE2C 7C 08 03 A6 */ mtlr r0 +/* 8006EED0 0006BE30 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006EED4 0006BE34 4E 80 00 20 */ blr + +.global "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi": +/* 8006EED8 0006BE38 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006EEDC 0006BE3C 7C 08 02 A6 */ mflr r0 +/* 8006EEE0 0006BE40 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006EEE4 0006BE44 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8006EEE8 0006BE48 7C 9F 23 78 */ mr r31, r4 +/* 8006EEEC 0006BE4C 7C 7E 1B 78 */ mr r30, r3 +/* 8006EEF0 0006BE50 80 03 00 08 */ lwz r0, 8(r3) +/* 8006EEF4 0006BE54 7C 1F 00 00 */ cmpw r31, r0 +/* 8006EEF8 0006BE58 40 81 00 D8 */ ble lbl_8006EFD0 +/* 8006EEFC 0006BE5C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8006EF00 0006BE60 40 82 00 0C */ bne lbl_8006EF0C +/* 8006EF04 0006BE64 3B A0 00 00 */ li r29, 0 +/* 8006EF08 0006BE68 48 00 00 18 */ b lbl_8006EF20 +lbl_8006EF0C: +/* 8006EF0C 0006BE6C 3C 80 80 3D */ lis r4, lbl_803CD288@ha +/* 8006EF10 0006BE70 38 A0 00 00 */ li r5, 0 +/* 8006EF14 0006BE74 38 84 D2 88 */ addi r4, r4, lbl_803CD288@l +/* 8006EF18 0006BE78 48 2A 69 01 */ bl __nwa__FUlPCcPCc +/* 8006EF1C 0006BE7C 7C 7D 1B 78 */ mr r29, r3 +lbl_8006EF20: +/* 8006EF20 0006BE80 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006EF24 0006BE84 7F A6 EB 78 */ mr r6, r29 +/* 8006EF28 0006BE88 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 8006EF2C 0006BE8C 54 00 18 38 */ slwi r0, r0, 3 +/* 8006EF30 0006BE90 7C A7 02 14 */ add r5, r7, r0 +/* 8006EF34 0006BE94 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8006EF38 0006BE98 90 A1 00 08 */ stw r5, 8(r1) +/* 8006EF3C 0006BE9C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8006EF40 0006BEA0 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8006EF44 0006BEA4 48 00 00 34 */ b lbl_8006EF78 +lbl_8006EF48: +/* 8006EF48 0006BEA8 28 06 00 00 */ cmplwi r6, 0 +/* 8006EF4C 0006BEAC 41 82 00 24 */ beq lbl_8006EF70 +/* 8006EF50 0006BEB0 80 07 00 00 */ lwz r0, 0(r7) +/* 8006EF54 0006BEB4 90 06 00 00 */ stw r0, 0(r6) +/* 8006EF58 0006BEB8 80 07 00 04 */ lwz r0, 4(r7) +/* 8006EF5C 0006BEBC 90 06 00 04 */ stw r0, 4(r6) +/* 8006EF60 0006BEC0 80 86 00 04 */ lwz r4, 4(r6) +/* 8006EF64 0006BEC4 80 64 00 04 */ lwz r3, 4(r4) +/* 8006EF68 0006BEC8 38 03 00 01 */ addi r0, r3, 1 +/* 8006EF6C 0006BECC 90 04 00 04 */ stw r0, 4(r4) +lbl_8006EF70: +/* 8006EF70 0006BED0 38 C6 00 08 */ addi r6, r6, 8 +/* 8006EF74 0006BED4 38 E7 00 08 */ addi r7, r7, 8 +lbl_8006EF78: +/* 8006EF78 0006BED8 7C 07 28 40 */ cmplw r7, r5 +/* 8006EF7C 0006BEDC 40 82 FF CC */ bne lbl_8006EF48 +/* 8006EF80 0006BEE0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006EF84 0006BEE4 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8006EF88 0006BEE8 54 00 18 38 */ slwi r0, r0, 3 +/* 8006EF8C 0006BEEC 7F 9B 02 14 */ add r28, r27, r0 +/* 8006EF90 0006BEF0 48 00 00 20 */ b lbl_8006EFB0 +lbl_8006EF94: +/* 8006EF94 0006BEF4 28 1B 00 00 */ cmplwi r27, 0 +/* 8006EF98 0006BEF8 41 82 00 14 */ beq lbl_8006EFAC +/* 8006EF9C 0006BEFC 34 1B 00 04 */ addic. r0, r27, 4 +/* 8006EFA0 0006BF00 41 82 00 0C */ beq lbl_8006EFAC +/* 8006EFA4 0006BF04 38 7B 00 04 */ addi r3, r27, 4 +/* 8006EFA8 0006BF08 4B FC 52 ED */ bl __dt__17CMetaTransFactoryFv +lbl_8006EFAC: +/* 8006EFAC 0006BF0C 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8006EFB0: +/* 8006EFB0 0006BF10 7C 1B E0 40 */ cmplw r27, r28 +/* 8006EFB4 0006BF14 40 82 FF E0 */ bne lbl_8006EF94 +/* 8006EFB8 0006BF18 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8006EFBC 0006BF1C 28 03 00 00 */ cmplwi r3, 0 +/* 8006EFC0 0006BF20 41 82 00 08 */ beq lbl_8006EFC8 +/* 8006EFC4 0006BF24 48 2A 69 6D */ bl Free__7CMemoryFPCv +lbl_8006EFC8: +/* 8006EFC8 0006BF28 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8006EFCC 0006BF2C 93 FE 00 08 */ stw r31, 8(r30) +lbl_8006EFD0: +/* 8006EFD0 0006BF30 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8006EFD4 0006BF34 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006EFD8 0006BF38 7C 08 03 A6 */ mtlr r0 +/* 8006EFDC 0006BF3C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006EFE0 0006BF40 4E 80 00 20 */ blr + +.global "advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 8006EFE4 0006BF44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006EFE8 0006BF48 7C 08 02 A6 */ mflr r0 +/* 8006EFEC 0006BF4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006EFF0 0006BF50 38 A1 00 0C */ addi r5, r1, 0xc +/* 8006EFF4 0006BF54 88 01 00 08 */ lbz r0, 8(r1) +/* 8006EFF8 0006BF58 98 01 00 0C */ stb r0, 0xc(r1) +/* 8006EFFC 0006BF5C 48 00 00 55 */ bl "__advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26rand" +/* 8006F000 0006BF60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006F004 0006BF64 7C 08 03 A6 */ mtlr r0 +/* 8006F008 0006BF68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006F00C 0006BF6C 4E 80 00 20 */ blr + +.global "advance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 8006F010 0006BF70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006F014 0006BF74 7C 08 02 A6 */ mflr r0 +/* 8006F018 0006BF78 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006F01C 0006BF7C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8006F020 0006BF80 88 01 00 08 */ lbz r0, 8(r1) +/* 8006F024 0006BF84 98 01 00 0C */ stb r0, 0xc(r1) +/* 8006F028 0006BF88 48 00 00 15 */ bl sub_8006f03c +/* 8006F02C 0006BF8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006F030 0006BF90 7C 08 03 A6 */ mtlr r0 +/* 8006F034 0006BF94 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006F038 0006BF98 4E 80 00 20 */ blr + +.global sub_8006f03c +sub_8006f03c: +/* 8006F03C 0006BF9C 80 A3 00 00 */ lwz r5, 0(r3) +/* 8006F040 0006BFA0 54 80 18 38 */ slwi r0, r4, 3 +/* 8006F044 0006BFA4 7C 05 02 14 */ add r0, r5, r0 +/* 8006F048 0006BFA8 90 03 00 00 */ stw r0, 0(r3) +/* 8006F04C 0006BFAC 4E 80 00 20 */ blr + +.global "__advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26rand" +"__advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26rand": +/* 8006F050 0006BFB0 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8006F054 0006BFB4 80 83 00 00 */ lwz r4, 0(r3) +/* 8006F058 0006BFB8 7C 04 02 14 */ add r0, r4, r0 +/* 8006F05C 0006BFBC 90 03 00 00 */ stw r0, 0(r3) +/* 8006F060 0006BFC0 4E 80 00 20 */ blr + +.global "distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_po" +"distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_po": +/* 8006F064 0006BFC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006F068 0006BFC8 7C 08 02 A6 */ mflr r0 +/* 8006F06C 0006BFCC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006F070 0006BFD0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8006F074 0006BFD4 88 E1 00 08 */ lbz r7, 8(r1) +/* 8006F078 0006BFD8 80 C4 00 00 */ lwz r6, 0(r4) +/* 8006F07C 0006BFDC 38 81 00 10 */ addi r4, r1, 0x10 +/* 8006F080 0006BFE0 80 03 00 00 */ lwz r0, 0(r3) +/* 8006F084 0006BFE4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8006F088 0006BFE8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8006F08C 0006BFEC 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8006F090 0006BFF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006F094 0006BFF4 48 00 00 59 */ bl "__distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_" +/* 8006F098 0006BFF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8006F09C 0006BFFC 7C 08 03 A6 */ mtlr r0 +/* 8006F0A0 0006C000 38 21 00 20 */ addi r1, r1, 0x20 +/* 8006F0A4 0006C004 4E 80 00 20 */ blr + +.global "distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82ve" +"distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82ve": +/* 8006F0A8 0006C008 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006F0AC 0006C00C 7C 08 02 A6 */ mflr r0 +/* 8006F0B0 0006C010 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006F0B4 0006C014 38 A1 00 0C */ addi r5, r1, 0xc +/* 8006F0B8 0006C018 88 E1 00 08 */ lbz r7, 8(r1) +/* 8006F0BC 0006C01C 80 C4 00 00 */ lwz r6, 0(r4) +/* 8006F0C0 0006C020 38 81 00 10 */ addi r4, r1, 0x10 +/* 8006F0C4 0006C024 80 03 00 00 */ lwz r0, 0(r3) +/* 8006F0C8 0006C028 38 61 00 14 */ addi r3, r1, 0x14 +/* 8006F0CC 0006C02C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8006F0D0 0006C030 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8006F0D4 0006C034 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006F0D8 0006C038 48 00 00 3D */ bl "__distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82" +/* 8006F0DC 0006C03C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8006F0E0 0006C040 7C 08 03 A6 */ mtlr r0 +/* 8006F0E4 0006C044 38 21 00 20 */ addi r1, r1, 0x20 +/* 8006F0E8 0006C048 4E 80 00 20 */ blr + +.global "__distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_" +"__distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_": +/* 8006F0EC 0006C04C 80 A3 00 00 */ lwz r5, 0(r3) +/* 8006F0F0 0006C050 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha +/* 8006F0F4 0006C054 80 04 00 00 */ lwz r0, 0(r4) +/* 8006F0F8 0006C058 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l +/* 8006F0FC 0006C05C 7C 05 00 50 */ subf r0, r5, r0 +/* 8006F100 0006C060 7C 03 00 96 */ mulhw r0, r3, r0 +/* 8006F104 0006C064 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8006F108 0006C068 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8006F10C 0006C06C 7C 60 1A 14 */ add r3, r0, r3 +/* 8006F110 0006C070 4E 80 00 20 */ blr + +.global "__distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82" +"__distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82": +/* 8006F114 0006C074 80 63 00 00 */ lwz r3, 0(r3) +/* 8006F118 0006C078 80 04 00 00 */ lwz r0, 0(r4) +/* 8006F11C 0006C07C 7C 03 00 50 */ subf r0, r3, r0 +/* 8006F120 0006C080 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8006F124 0006C084 7C 60 01 94 */ addze r3, r0 +/* 8006F128 0006C088 4E 80 00 20 */ blr + +.global sub_8006f12c +sub_8006f12c: +/* 8006F12C 0006C08C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006F130 0006C090 7C 08 02 A6 */ mflr r0 +/* 8006F134 0006C094 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006F138 0006C098 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8006F13C 0006C09C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8006F140 0006C0A0 7C 9E 23 78 */ mr r30, r4 +/* 8006F144 0006C0A4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8006F148 0006C0A8 7C 7D 1B 78 */ mr r29, r3 +/* 8006F14C 0006C0AC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8006F150 0006C0B0 7C BC 2B 78 */ mr r28, r5 +/* 8006F154 0006C0B4 80 C4 00 00 */ lwz r6, 0(r4) +/* 8006F158 0006C0B8 80 03 00 00 */ lwz r0, 0(r3) +/* 8006F15C 0006C0BC 7C 06 00 40 */ cmplw r6, r0 +/* 8006F160 0006C0C0 40 80 00 08 */ bge lbl_8006F168 +/* 8006F164 0006C0C4 48 00 01 4D */ bl sub_8006f2b0 +lbl_8006F168: +/* 8006F168 0006C0C8 80 7C 00 00 */ lwz r3, 0(r28) +/* 8006F16C 0006C0CC 80 1E 00 00 */ lwz r0, 0(r30) +/* 8006F170 0006C0D0 7C 03 00 40 */ cmplw r3, r0 +/* 8006F174 0006C0D4 40 80 01 1C */ bge lbl_8006F290 +/* 8006F178 0006C0D8 90 61 00 08 */ stw r3, 8(r1) +/* 8006F17C 0006C0DC 3B E1 00 0C */ addi r31, r1, 0xc +/* 8006F180 0006C0E0 80 9C 00 04 */ lwz r4, 4(r28) +/* 8006F184 0006C0E4 90 81 00 0C */ stw r4, 0xc(r1) +/* 8006F188 0006C0E8 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F18C 0006C0EC 38 03 00 01 */ addi r0, r3, 1 +/* 8006F190 0006C0F0 90 04 00 04 */ stw r0, 4(r4) +/* 8006F194 0006C0F4 80 1E 00 00 */ lwz r0, 0(r30) +/* 8006F198 0006C0F8 90 1C 00 00 */ stw r0, 0(r28) +/* 8006F19C 0006C0FC 80 7C 00 04 */ lwz r3, 4(r28) +/* 8006F1A0 0006C100 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F1A4 0006C104 7C 03 00 40 */ cmplw r3, r0 +/* 8006F1A8 0006C108 41 82 00 24 */ beq lbl_8006F1CC +/* 8006F1AC 0006C10C 38 7C 00 04 */ addi r3, r28, 4 +/* 8006F1B0 0006C110 4B FC 50 E5 */ bl __dt__17CMetaTransFactoryFv +/* 8006F1B4 0006C114 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F1B8 0006C118 90 1C 00 04 */ stw r0, 4(r28) +/* 8006F1BC 0006C11C 80 9C 00 04 */ lwz r4, 4(r28) +/* 8006F1C0 0006C120 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F1C4 0006C124 38 03 00 01 */ addi r0, r3, 1 +/* 8006F1C8 0006C128 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F1CC: +/* 8006F1CC 0006C12C 80 61 00 08 */ lwz r3, 8(r1) +/* 8006F1D0 0006C130 80 1D 00 00 */ lwz r0, 0(r29) +/* 8006F1D4 0006C134 7C 03 00 40 */ cmplw r3, r0 +/* 8006F1D8 0006C138 40 80 00 74 */ bge lbl_8006F24C +/* 8006F1DC 0006C13C 90 1E 00 00 */ stw r0, 0(r30) +/* 8006F1E0 0006C140 80 7E 00 04 */ lwz r3, 4(r30) +/* 8006F1E4 0006C144 80 1D 00 04 */ lwz r0, 4(r29) +/* 8006F1E8 0006C148 7C 03 00 40 */ cmplw r3, r0 +/* 8006F1EC 0006C14C 41 82 00 24 */ beq lbl_8006F210 +/* 8006F1F0 0006C150 38 7E 00 04 */ addi r3, r30, 4 +/* 8006F1F4 0006C154 4B FC 50 A1 */ bl __dt__17CMetaTransFactoryFv +/* 8006F1F8 0006C158 80 1D 00 04 */ lwz r0, 4(r29) +/* 8006F1FC 0006C15C 90 1E 00 04 */ stw r0, 4(r30) +/* 8006F200 0006C160 80 9E 00 04 */ lwz r4, 4(r30) +/* 8006F204 0006C164 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F208 0006C168 38 03 00 01 */ addi r0, r3, 1 +/* 8006F20C 0006C16C 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F210: +/* 8006F210 0006C170 80 01 00 08 */ lwz r0, 8(r1) +/* 8006F214 0006C174 90 1D 00 00 */ stw r0, 0(r29) +/* 8006F218 0006C178 80 7D 00 04 */ lwz r3, 4(r29) +/* 8006F21C 0006C17C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F220 0006C180 7C 03 00 40 */ cmplw r3, r0 +/* 8006F224 0006C184 41 82 00 5C */ beq lbl_8006F280 +/* 8006F228 0006C188 38 7D 00 04 */ addi r3, r29, 4 +/* 8006F22C 0006C18C 4B FC 50 69 */ bl __dt__17CMetaTransFactoryFv +/* 8006F230 0006C190 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F234 0006C194 90 1D 00 04 */ stw r0, 4(r29) +/* 8006F238 0006C198 80 9D 00 04 */ lwz r4, 4(r29) +/* 8006F23C 0006C19C 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F240 0006C1A0 38 03 00 01 */ addi r0, r3, 1 +/* 8006F244 0006C1A4 90 04 00 04 */ stw r0, 4(r4) +/* 8006F248 0006C1A8 48 00 00 38 */ b lbl_8006F280 +lbl_8006F24C: +/* 8006F24C 0006C1AC 90 7E 00 00 */ stw r3, 0(r30) +/* 8006F250 0006C1B0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8006F254 0006C1B4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F258 0006C1B8 7C 03 00 40 */ cmplw r3, r0 +/* 8006F25C 0006C1BC 41 82 00 24 */ beq lbl_8006F280 +/* 8006F260 0006C1C0 38 7E 00 04 */ addi r3, r30, 4 +/* 8006F264 0006C1C4 4B FC 50 31 */ bl __dt__17CMetaTransFactoryFv +/* 8006F268 0006C1C8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F26C 0006C1CC 90 1E 00 04 */ stw r0, 4(r30) +/* 8006F270 0006C1D0 80 9E 00 04 */ lwz r4, 4(r30) +/* 8006F274 0006C1D4 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F278 0006C1D8 38 03 00 01 */ addi r0, r3, 1 +/* 8006F27C 0006C1DC 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F280: +/* 8006F280 0006C1E0 28 1F 00 00 */ cmplwi r31, 0 +/* 8006F284 0006C1E4 41 82 00 0C */ beq lbl_8006F290 +/* 8006F288 0006C1E8 7F E3 FB 78 */ mr r3, r31 +/* 8006F28C 0006C1EC 4B FC 50 09 */ bl __dt__17CMetaTransFactoryFv +lbl_8006F290: +/* 8006F290 0006C1F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8006F294 0006C1F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8006F298 0006C1F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8006F29C 0006C1FC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8006F2A0 0006C200 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8006F2A4 0006C204 7C 08 03 A6 */ mtlr r0 +/* 8006F2A8 0006C208 38 21 00 20 */ addi r1, r1, 0x20 +/* 8006F2AC 0006C20C 4E 80 00 20 */ blr + +.global sub_8006f2b0 +sub_8006f2b0: +/* 8006F2B0 0006C210 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8006F2B4 0006C214 7C 08 02 A6 */ mflr r0 +/* 8006F2B8 0006C218 90 01 00 24 */ stw r0, 0x24(r1) +/* 8006F2BC 0006C21C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8006F2C0 0006C220 3B E1 00 0C */ addi r31, r1, 0xc +/* 8006F2C4 0006C224 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8006F2C8 0006C228 7C 9E 23 78 */ mr r30, r4 +/* 8006F2CC 0006C22C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8006F2D0 0006C230 7C 7D 1B 78 */ mr r29, r3 +/* 8006F2D4 0006C234 80 03 00 00 */ lwz r0, 0(r3) +/* 8006F2D8 0006C238 90 01 00 08 */ stw r0, 8(r1) +/* 8006F2DC 0006C23C 80 83 00 04 */ lwz r4, 4(r3) +/* 8006F2E0 0006C240 90 81 00 0C */ stw r4, 0xc(r1) +/* 8006F2E4 0006C244 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F2E8 0006C248 38 03 00 01 */ addi r0, r3, 1 +/* 8006F2EC 0006C24C 90 04 00 04 */ stw r0, 4(r4) +/* 8006F2F0 0006C250 80 1E 00 00 */ lwz r0, 0(r30) +/* 8006F2F4 0006C254 90 1D 00 00 */ stw r0, 0(r29) +/* 8006F2F8 0006C258 80 7D 00 04 */ lwz r3, 4(r29) +/* 8006F2FC 0006C25C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F300 0006C260 7C 03 00 40 */ cmplw r3, r0 +/* 8006F304 0006C264 41 82 00 24 */ beq lbl_8006F328 +/* 8006F308 0006C268 38 7D 00 04 */ addi r3, r29, 4 +/* 8006F30C 0006C26C 4B FC 4F 89 */ bl __dt__17CMetaTransFactoryFv +/* 8006F310 0006C270 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F314 0006C274 90 1D 00 04 */ stw r0, 4(r29) +/* 8006F318 0006C278 80 9D 00 04 */ lwz r4, 4(r29) +/* 8006F31C 0006C27C 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F320 0006C280 38 03 00 01 */ addi r0, r3, 1 +/* 8006F324 0006C284 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F328: +/* 8006F328 0006C288 80 01 00 08 */ lwz r0, 8(r1) +/* 8006F32C 0006C28C 90 1E 00 00 */ stw r0, 0(r30) +/* 8006F330 0006C290 80 7E 00 04 */ lwz r3, 4(r30) +/* 8006F334 0006C294 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F338 0006C298 7C 03 00 40 */ cmplw r3, r0 +/* 8006F33C 0006C29C 41 82 00 24 */ beq lbl_8006F360 +/* 8006F340 0006C2A0 38 7E 00 04 */ addi r3, r30, 4 +/* 8006F344 0006C2A4 4B FC 4F 51 */ bl __dt__17CMetaTransFactoryFv +/* 8006F348 0006C2A8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F34C 0006C2AC 90 1E 00 04 */ stw r0, 4(r30) +/* 8006F350 0006C2B0 80 9E 00 04 */ lwz r4, 4(r30) +/* 8006F354 0006C2B4 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F358 0006C2B8 38 03 00 01 */ addi r0, r3, 1 +/* 8006F35C 0006C2BC 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F360: +/* 8006F360 0006C2C0 28 1F 00 00 */ cmplwi r31, 0 +/* 8006F364 0006C2C4 41 82 00 0C */ beq lbl_8006F370 +/* 8006F368 0006C2C8 7F E3 FB 78 */ mr r3, r31 +/* 8006F36C 0006C2CC 4B FC 4F 29 */ bl __dt__17CMetaTransFactoryFv +lbl_8006F370: +/* 8006F370 0006C2D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8006F374 0006C2D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8006F378 0006C2D8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8006F37C 0006C2DC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8006F380 0006C2E0 7C 08 03 A6 */ mtlr r0 +/* 8006F384 0006C2E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8006F388 0006C2E8 4E 80 00 20 */ blr + +.global sub_8006f38c +sub_8006f38c: +/* 8006F38C 0006C2EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006F390 0006C2F0 7C 08 02 A6 */ mflr r0 +/* 8006F394 0006C2F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006F398 0006C2F8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8006F39C 0006C2FC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8006F3A0 0006C300 7C BE 2B 78 */ mr r30, r5 +/* 8006F3A4 0006C304 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8006F3A8 0006C308 7C 9D 23 78 */ mr r29, r4 +/* 8006F3AC 0006C30C 93 81 00 20 */ stw r28, 0x20(r1) +/* 8006F3B0 0006C310 7C 7C 1B 78 */ mr r28, r3 +/* 8006F3B4 0006C314 80 04 00 00 */ lwz r0, 0(r4) +/* 8006F3B8 0006C318 80 63 00 00 */ lwz r3, 0(r3) +/* 8006F3BC 0006C31C 7C 00 18 40 */ cmplw r0, r3 +/* 8006F3C0 0006C320 40 82 00 20 */ bne lbl_8006F3E0 +/* 8006F3C4 0006C324 80 1D 00 04 */ lwz r0, 4(r29) +/* 8006F3C8 0006C328 80 7C 00 04 */ lwz r3, 4(r28) +/* 8006F3CC 0006C32C 7C 60 02 78 */ xor r0, r3, r0 +/* 8006F3D0 0006C330 7C 00 00 34 */ cntlzw r0, r0 +/* 8006F3D4 0006C334 7C 60 00 30 */ slw r0, r3, r0 +/* 8006F3D8 0006C338 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8006F3DC 0006C33C 48 00 00 14 */ b lbl_8006F3F0 +lbl_8006F3E0: +/* 8006F3E0 0006C340 7C 60 02 78 */ xor r0, r3, r0 +/* 8006F3E4 0006C344 7C 00 00 34 */ cntlzw r0, r0 +/* 8006F3E8 0006C348 7C 60 00 30 */ slw r0, r3, r0 +/* 8006F3EC 0006C34C 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8006F3F0: +/* 8006F3F0 0006C350 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8006F3F4 0006C354 41 82 00 10 */ beq lbl_8006F404 +/* 8006F3F8 0006C358 7F 83 E3 78 */ mr r3, r28 +/* 8006F3FC 0006C35C 7F A4 EB 78 */ mr r4, r29 +/* 8006F400 0006C360 48 00 01 E5 */ bl sub_8006f5e4 +lbl_8006F404: +/* 8006F404 0006C364 80 9E 00 00 */ lwz r4, 0(r30) +/* 8006F408 0006C368 80 7D 00 00 */ lwz r3, 0(r29) +/* 8006F40C 0006C36C 7C 04 18 40 */ cmplw r4, r3 +/* 8006F410 0006C370 40 82 00 20 */ bne lbl_8006F430 +/* 8006F414 0006C374 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F418 0006C378 80 7D 00 04 */ lwz r3, 4(r29) +/* 8006F41C 0006C37C 7C 60 02 78 */ xor r0, r3, r0 +/* 8006F420 0006C380 7C 00 00 34 */ cntlzw r0, r0 +/* 8006F424 0006C384 7C 60 00 30 */ slw r0, r3, r0 +/* 8006F428 0006C388 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8006F42C 0006C38C 48 00 00 14 */ b lbl_8006F440 +lbl_8006F430: +/* 8006F430 0006C390 7C 60 22 78 */ xor r0, r3, r4 +/* 8006F434 0006C394 7C 00 00 34 */ cntlzw r0, r0 +/* 8006F438 0006C398 7C 60 00 30 */ slw r0, r3, r0 +/* 8006F43C 0006C39C 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8006F440: +/* 8006F440 0006C3A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8006F444 0006C3A4 41 82 01 80 */ beq lbl_8006F5C4 +/* 8006F448 0006C3A8 90 81 00 08 */ stw r4, 8(r1) +/* 8006F44C 0006C3AC 3B E1 00 10 */ addi r31, r1, 0x10 +/* 8006F450 0006C3B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F454 0006C3B4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8006F458 0006C3B8 80 9E 00 08 */ lwz r4, 8(r30) +/* 8006F45C 0006C3BC 90 81 00 10 */ stw r4, 0x10(r1) +/* 8006F460 0006C3C0 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F464 0006C3C4 38 03 00 01 */ addi r0, r3, 1 +/* 8006F468 0006C3C8 90 04 00 04 */ stw r0, 4(r4) +/* 8006F46C 0006C3CC 80 7D 00 00 */ lwz r3, 0(r29) +/* 8006F470 0006C3D0 80 1D 00 04 */ lwz r0, 4(r29) +/* 8006F474 0006C3D4 90 7E 00 00 */ stw r3, 0(r30) +/* 8006F478 0006C3D8 90 1E 00 04 */ stw r0, 4(r30) +/* 8006F47C 0006C3DC 80 7E 00 08 */ lwz r3, 8(r30) +/* 8006F480 0006C3E0 80 1D 00 08 */ lwz r0, 8(r29) +/* 8006F484 0006C3E4 7C 03 00 40 */ cmplw r3, r0 +/* 8006F488 0006C3E8 41 82 00 24 */ beq lbl_8006F4AC +/* 8006F48C 0006C3EC 38 7E 00 08 */ addi r3, r30, 8 +/* 8006F490 0006C3F0 4B FC 4E 05 */ bl __dt__17CMetaTransFactoryFv +/* 8006F494 0006C3F4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8006F498 0006C3F8 90 1E 00 08 */ stw r0, 8(r30) +/* 8006F49C 0006C3FC 80 9E 00 08 */ lwz r4, 8(r30) +/* 8006F4A0 0006C400 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F4A4 0006C404 38 03 00 01 */ addi r0, r3, 1 +/* 8006F4A8 0006C408 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F4AC: +/* 8006F4AC 0006C40C 80 01 00 08 */ lwz r0, 8(r1) +/* 8006F4B0 0006C410 80 7C 00 00 */ lwz r3, 0(r28) +/* 8006F4B4 0006C414 7C 00 18 40 */ cmplw r0, r3 +/* 8006F4B8 0006C418 40 82 00 20 */ bne lbl_8006F4D8 +/* 8006F4BC 0006C41C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F4C0 0006C420 80 7C 00 04 */ lwz r3, 4(r28) +/* 8006F4C4 0006C424 7C 60 02 78 */ xor r0, r3, r0 +/* 8006F4C8 0006C428 7C 00 00 34 */ cntlzw r0, r0 +/* 8006F4CC 0006C42C 7C 60 00 30 */ slw r0, r3, r0 +/* 8006F4D0 0006C430 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8006F4D4 0006C434 48 00 00 14 */ b lbl_8006F4E8 +lbl_8006F4D8: +/* 8006F4D8 0006C438 7C 60 02 78 */ xor r0, r3, r0 +/* 8006F4DC 0006C43C 7C 00 00 34 */ cntlzw r0, r0 +/* 8006F4E0 0006C440 7C 60 00 30 */ slw r0, r3, r0 +/* 8006F4E4 0006C444 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8006F4E8: +/* 8006F4E8 0006C448 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8006F4EC 0006C44C 41 82 00 88 */ beq lbl_8006F574 +/* 8006F4F0 0006C450 80 7C 00 00 */ lwz r3, 0(r28) +/* 8006F4F4 0006C454 80 1C 00 04 */ lwz r0, 4(r28) +/* 8006F4F8 0006C458 90 7D 00 00 */ stw r3, 0(r29) +/* 8006F4FC 0006C45C 90 1D 00 04 */ stw r0, 4(r29) +/* 8006F500 0006C460 80 7D 00 08 */ lwz r3, 8(r29) +/* 8006F504 0006C464 80 1C 00 08 */ lwz r0, 8(r28) +/* 8006F508 0006C468 7C 03 00 40 */ cmplw r3, r0 +/* 8006F50C 0006C46C 41 82 00 24 */ beq lbl_8006F530 +/* 8006F510 0006C470 38 7D 00 08 */ addi r3, r29, 8 +/* 8006F514 0006C474 4B FC 4D 81 */ bl __dt__17CMetaTransFactoryFv +/* 8006F518 0006C478 80 1C 00 08 */ lwz r0, 8(r28) +/* 8006F51C 0006C47C 90 1D 00 08 */ stw r0, 8(r29) +/* 8006F520 0006C480 80 9D 00 08 */ lwz r4, 8(r29) +/* 8006F524 0006C484 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F528 0006C488 38 03 00 01 */ addi r0, r3, 1 +/* 8006F52C 0006C48C 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F530: +/* 8006F530 0006C490 80 61 00 08 */ lwz r3, 8(r1) +/* 8006F534 0006C494 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F538 0006C498 90 7C 00 00 */ stw r3, 0(r28) +/* 8006F53C 0006C49C 90 1C 00 04 */ stw r0, 4(r28) +/* 8006F540 0006C4A0 80 7C 00 08 */ lwz r3, 8(r28) +/* 8006F544 0006C4A4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006F548 0006C4A8 7C 03 00 40 */ cmplw r3, r0 +/* 8006F54C 0006C4AC 41 82 00 68 */ beq lbl_8006F5B4 +/* 8006F550 0006C4B0 38 7C 00 08 */ addi r3, r28, 8 +/* 8006F554 0006C4B4 4B FC 4D 41 */ bl __dt__17CMetaTransFactoryFv +/* 8006F558 0006C4B8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006F55C 0006C4BC 90 1C 00 08 */ stw r0, 8(r28) +/* 8006F560 0006C4C0 80 9C 00 08 */ lwz r4, 8(r28) +/* 8006F564 0006C4C4 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F568 0006C4C8 38 03 00 01 */ addi r0, r3, 1 +/* 8006F56C 0006C4CC 90 04 00 04 */ stw r0, 4(r4) +/* 8006F570 0006C4D0 48 00 00 44 */ b lbl_8006F5B4 +lbl_8006F574: +/* 8006F574 0006C4D4 80 61 00 08 */ lwz r3, 8(r1) +/* 8006F578 0006C4D8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F57C 0006C4DC 90 7D 00 00 */ stw r3, 0(r29) +/* 8006F580 0006C4E0 90 1D 00 04 */ stw r0, 4(r29) +/* 8006F584 0006C4E4 80 7D 00 08 */ lwz r3, 8(r29) +/* 8006F588 0006C4E8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006F58C 0006C4EC 7C 03 00 40 */ cmplw r3, r0 +/* 8006F590 0006C4F0 41 82 00 24 */ beq lbl_8006F5B4 +/* 8006F594 0006C4F4 38 7D 00 08 */ addi r3, r29, 8 +/* 8006F598 0006C4F8 4B FC 4C FD */ bl __dt__17CMetaTransFactoryFv +/* 8006F59C 0006C4FC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006F5A0 0006C500 90 1D 00 08 */ stw r0, 8(r29) +/* 8006F5A4 0006C504 80 9D 00 08 */ lwz r4, 8(r29) +/* 8006F5A8 0006C508 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F5AC 0006C50C 38 03 00 01 */ addi r0, r3, 1 +/* 8006F5B0 0006C510 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F5B4: +/* 8006F5B4 0006C514 28 1F 00 00 */ cmplwi r31, 0 +/* 8006F5B8 0006C518 41 82 00 0C */ beq lbl_8006F5C4 +/* 8006F5BC 0006C51C 7F E3 FB 78 */ mr r3, r31 +/* 8006F5C0 0006C520 4B FC 4C D5 */ bl __dt__17CMetaTransFactoryFv +lbl_8006F5C4: +/* 8006F5C4 0006C524 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006F5C8 0006C528 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8006F5CC 0006C52C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8006F5D0 0006C530 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8006F5D4 0006C534 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8006F5D8 0006C538 7C 08 03 A6 */ mtlr r0 +/* 8006F5DC 0006C53C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006F5E0 0006C540 4E 80 00 20 */ blr + +.global sub_8006f5e4 +sub_8006f5e4: +/* 8006F5E4 0006C544 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006F5E8 0006C548 7C 08 02 A6 */ mflr r0 +/* 8006F5EC 0006C54C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006F5F0 0006C550 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8006F5F4 0006C554 3B E1 00 10 */ addi r31, r1, 0x10 +/* 8006F5F8 0006C558 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8006F5FC 0006C55C 7C 9E 23 78 */ mr r30, r4 +/* 8006F600 0006C560 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8006F604 0006C564 7C 7D 1B 78 */ mr r29, r3 +/* 8006F608 0006C568 80 03 00 00 */ lwz r0, 0(r3) +/* 8006F60C 0006C56C 90 01 00 08 */ stw r0, 8(r1) +/* 8006F610 0006C570 80 03 00 04 */ lwz r0, 4(r3) +/* 8006F614 0006C574 90 01 00 0C */ stw r0, 0xc(r1) +/* 8006F618 0006C578 80 83 00 08 */ lwz r4, 8(r3) +/* 8006F61C 0006C57C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8006F620 0006C580 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F624 0006C584 38 03 00 01 */ addi r0, r3, 1 +/* 8006F628 0006C588 90 04 00 04 */ stw r0, 4(r4) +/* 8006F62C 0006C58C 80 7E 00 00 */ lwz r3, 0(r30) +/* 8006F630 0006C590 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F634 0006C594 90 7D 00 00 */ stw r3, 0(r29) +/* 8006F638 0006C598 90 1D 00 04 */ stw r0, 4(r29) +/* 8006F63C 0006C59C 80 7D 00 08 */ lwz r3, 8(r29) +/* 8006F640 0006C5A0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8006F644 0006C5A4 7C 03 00 40 */ cmplw r3, r0 +/* 8006F648 0006C5A8 41 82 00 24 */ beq lbl_8006F66C +/* 8006F64C 0006C5AC 38 7D 00 08 */ addi r3, r29, 8 +/* 8006F650 0006C5B0 4B FC 4C 45 */ bl __dt__17CMetaTransFactoryFv +/* 8006F654 0006C5B4 80 1E 00 08 */ lwz r0, 8(r30) +/* 8006F658 0006C5B8 90 1D 00 08 */ stw r0, 8(r29) +/* 8006F65C 0006C5BC 80 9D 00 08 */ lwz r4, 8(r29) +/* 8006F660 0006C5C0 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F664 0006C5C4 38 03 00 01 */ addi r0, r3, 1 +/* 8006F668 0006C5C8 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F66C: +/* 8006F66C 0006C5CC 80 61 00 08 */ lwz r3, 8(r1) +/* 8006F670 0006C5D0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F674 0006C5D4 90 7E 00 00 */ stw r3, 0(r30) +/* 8006F678 0006C5D8 90 1E 00 04 */ stw r0, 4(r30) +/* 8006F67C 0006C5DC 80 7E 00 08 */ lwz r3, 8(r30) +/* 8006F680 0006C5E0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006F684 0006C5E4 7C 03 00 40 */ cmplw r3, r0 +/* 8006F688 0006C5E8 41 82 00 24 */ beq lbl_8006F6AC +/* 8006F68C 0006C5EC 38 7E 00 08 */ addi r3, r30, 8 +/* 8006F690 0006C5F0 4B FC 4C 05 */ bl __dt__17CMetaTransFactoryFv +/* 8006F694 0006C5F4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006F698 0006C5F8 90 1E 00 08 */ stw r0, 8(r30) +/* 8006F69C 0006C5FC 80 9E 00 08 */ lwz r4, 8(r30) +/* 8006F6A0 0006C600 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F6A4 0006C604 38 03 00 01 */ addi r0, r3, 1 +/* 8006F6A8 0006C608 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F6AC: +/* 8006F6AC 0006C60C 28 1F 00 00 */ cmplwi r31, 0 +/* 8006F6B0 0006C610 41 82 00 0C */ beq lbl_8006F6BC +/* 8006F6B4 0006C614 7F E3 FB 78 */ mr r3, r31 +/* 8006F6B8 0006C618 4B FC 4B DD */ bl __dt__17CMetaTransFactoryFv +lbl_8006F6BC: +/* 8006F6BC 0006C61C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006F6C0 0006C620 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8006F6C4 0006C624 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8006F6C8 0006C628 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8006F6CC 0006C62C 7C 08 03 A6 */ mtlr r0 +/* 8006F6D0 0006C630 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006F6D4 0006C634 4E 80 00 20 */ blr + +.global sub_8006f6d8 +sub_8006f6d8: +/* 8006F6D8 0006C638 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006F6DC 0006C63C 7C 08 02 A6 */ mflr r0 +/* 8006F6E0 0006C640 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006F6E4 0006C644 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8006F6E8 0006C648 7C 7A 1B 78 */ mr r26, r3 +/* 8006F6EC 0006C64C 7C 9B 23 78 */ mr r27, r4 +/* 8006F6F0 0006C650 3B 81 00 0C */ addi r28, r1, 0xc +/* 8006F6F4 0006C654 83 E3 00 00 */ lwz r31, 0(r3) +/* 8006F6F8 0006C658 3B FF 00 08 */ addi r31, r31, 8 +/* 8006F6FC 0006C65C 48 00 00 D4 */ b lbl_8006F7D0 +lbl_8006F700: +/* 8006F700 0006C660 80 1F 00 00 */ lwz r0, 0(r31) +/* 8006F704 0006C664 7F FD FB 78 */ mr r29, r31 +/* 8006F708 0006C668 3B DF FF F8 */ addi r30, r31, -8 +/* 8006F70C 0006C66C 90 01 00 08 */ stw r0, 8(r1) +/* 8006F710 0006C670 80 9F 00 04 */ lwz r4, 4(r31) +/* 8006F714 0006C674 90 81 00 0C */ stw r4, 0xc(r1) +/* 8006F718 0006C678 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F71C 0006C67C 38 03 00 01 */ addi r0, r3, 1 +/* 8006F720 0006C680 90 04 00 04 */ stw r0, 4(r4) +/* 8006F724 0006C684 48 00 00 44 */ b lbl_8006F768 +lbl_8006F728: +/* 8006F728 0006C688 80 1E 00 00 */ lwz r0, 0(r30) +/* 8006F72C 0006C68C 90 1D 00 00 */ stw r0, 0(r29) +/* 8006F730 0006C690 80 7D 00 04 */ lwz r3, 4(r29) +/* 8006F734 0006C694 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F738 0006C698 7C 03 00 40 */ cmplw r3, r0 +/* 8006F73C 0006C69C 41 82 00 24 */ beq lbl_8006F760 +/* 8006F740 0006C6A0 38 7D 00 04 */ addi r3, r29, 4 +/* 8006F744 0006C6A4 4B FC 4B 51 */ bl __dt__17CMetaTransFactoryFv +/* 8006F748 0006C6A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F74C 0006C6AC 90 1D 00 04 */ stw r0, 4(r29) +/* 8006F750 0006C6B0 80 9D 00 04 */ lwz r4, 4(r29) +/* 8006F754 0006C6B4 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F758 0006C6B8 38 03 00 01 */ addi r0, r3, 1 +/* 8006F75C 0006C6BC 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F760: +/* 8006F760 0006C6C0 3B BD FF F8 */ addi r29, r29, -8 +/* 8006F764 0006C6C4 3B DE FF F8 */ addi r30, r30, -8 +lbl_8006F768: +/* 8006F768 0006C6C8 80 1A 00 00 */ lwz r0, 0(r26) +/* 8006F76C 0006C6CC 7C 00 E8 40 */ cmplw r0, r29 +/* 8006F770 0006C6D0 40 80 00 14 */ bge lbl_8006F784 +/* 8006F774 0006C6D4 80 61 00 08 */ lwz r3, 8(r1) +/* 8006F778 0006C6D8 80 1E 00 00 */ lwz r0, 0(r30) +/* 8006F77C 0006C6DC 7C 03 00 40 */ cmplw r3, r0 +/* 8006F780 0006C6E0 41 80 FF A8 */ blt lbl_8006F728 +lbl_8006F784: +/* 8006F784 0006C6E4 80 01 00 08 */ lwz r0, 8(r1) +/* 8006F788 0006C6E8 90 1D 00 00 */ stw r0, 0(r29) +/* 8006F78C 0006C6EC 80 7D 00 04 */ lwz r3, 4(r29) +/* 8006F790 0006C6F0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F794 0006C6F4 7C 03 00 40 */ cmplw r3, r0 +/* 8006F798 0006C6F8 41 82 00 24 */ beq lbl_8006F7BC +/* 8006F79C 0006C6FC 38 7D 00 04 */ addi r3, r29, 4 +/* 8006F7A0 0006C700 4B FC 4A F5 */ bl __dt__17CMetaTransFactoryFv +/* 8006F7A4 0006C704 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F7A8 0006C708 90 1D 00 04 */ stw r0, 4(r29) +/* 8006F7AC 0006C70C 80 9D 00 04 */ lwz r4, 4(r29) +/* 8006F7B0 0006C710 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F7B4 0006C714 38 03 00 01 */ addi r0, r3, 1 +/* 8006F7B8 0006C718 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F7BC: +/* 8006F7BC 0006C71C 28 1C 00 00 */ cmplwi r28, 0 +/* 8006F7C0 0006C720 41 82 00 0C */ beq lbl_8006F7CC +/* 8006F7C4 0006C724 7F 83 E3 78 */ mr r3, r28 +/* 8006F7C8 0006C728 4B FC 4A CD */ bl __dt__17CMetaTransFactoryFv +lbl_8006F7CC: +/* 8006F7CC 0006C72C 3B FF 00 08 */ addi r31, r31, 8 +lbl_8006F7D0: +/* 8006F7D0 0006C730 80 1B 00 00 */ lwz r0, 0(r27) +/* 8006F7D4 0006C734 7C 1F 00 40 */ cmplw r31, r0 +/* 8006F7D8 0006C738 41 80 FF 28 */ blt lbl_8006F700 +/* 8006F7DC 0006C73C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8006F7E0 0006C740 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006F7E4 0006C744 7C 08 03 A6 */ mtlr r0 +/* 8006F7E8 0006C748 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006F7EC 0006C74C 4E 80 00 20 */ blr + +.global "__insertion_sort,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl221pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl" +"__insertion_sort,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl221pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl": +/* 8006F7F0 0006C750 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006F7F4 0006C754 7C 08 02 A6 */ mflr r0 +/* 8006F7F8 0006C758 90 01 00 34 */ stw r0, 0x34(r1) +/* 8006F7FC 0006C75C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8006F800 0006C760 7C 7A 1B 78 */ mr r26, r3 +/* 8006F804 0006C764 7C 9B 23 78 */ mr r27, r4 +/* 8006F808 0006C768 3B 81 00 10 */ addi r28, r1, 0x10 +/* 8006F80C 0006C76C 83 E3 00 00 */ lwz r31, 0(r3) +/* 8006F810 0006C770 3B FF 00 0C */ addi r31, r31, 0xc +/* 8006F814 0006C774 48 00 01 20 */ b lbl_8006F934 +lbl_8006F818: +/* 8006F818 0006C778 80 1F 00 00 */ lwz r0, 0(r31) +/* 8006F81C 0006C77C 7F FD FB 78 */ mr r29, r31 +/* 8006F820 0006C780 3B DF FF F4 */ addi r30, r31, -12 +/* 8006F824 0006C784 90 01 00 08 */ stw r0, 8(r1) +/* 8006F828 0006C788 80 1F 00 04 */ lwz r0, 4(r31) +/* 8006F82C 0006C78C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8006F830 0006C790 80 9F 00 08 */ lwz r4, 8(r31) +/* 8006F834 0006C794 90 81 00 10 */ stw r4, 0x10(r1) +/* 8006F838 0006C798 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F83C 0006C79C 38 03 00 01 */ addi r0, r3, 1 +/* 8006F840 0006C7A0 90 04 00 04 */ stw r0, 4(r4) +/* 8006F844 0006C7A4 48 00 00 4C */ b lbl_8006F890 +lbl_8006F848: +/* 8006F848 0006C7A8 80 7E 00 00 */ lwz r3, 0(r30) +/* 8006F84C 0006C7AC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8006F850 0006C7B0 90 7D 00 00 */ stw r3, 0(r29) +/* 8006F854 0006C7B4 90 1D 00 04 */ stw r0, 4(r29) +/* 8006F858 0006C7B8 80 7D 00 08 */ lwz r3, 8(r29) +/* 8006F85C 0006C7BC 80 1E 00 08 */ lwz r0, 8(r30) +/* 8006F860 0006C7C0 7C 03 00 40 */ cmplw r3, r0 +/* 8006F864 0006C7C4 41 82 00 24 */ beq lbl_8006F888 +/* 8006F868 0006C7C8 38 7D 00 08 */ addi r3, r29, 8 +/* 8006F86C 0006C7CC 4B FC 4A 29 */ bl __dt__17CMetaTransFactoryFv +/* 8006F870 0006C7D0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8006F874 0006C7D4 90 1D 00 08 */ stw r0, 8(r29) +/* 8006F878 0006C7D8 80 9D 00 08 */ lwz r4, 8(r29) +/* 8006F87C 0006C7DC 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F880 0006C7E0 38 03 00 01 */ addi r0, r3, 1 +/* 8006F884 0006C7E4 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F888: +/* 8006F888 0006C7E8 3B BD FF F4 */ addi r29, r29, -12 +/* 8006F88C 0006C7EC 3B DE FF F4 */ addi r30, r30, -12 +lbl_8006F890: +/* 8006F890 0006C7F0 80 1A 00 00 */ lwz r0, 0(r26) +/* 8006F894 0006C7F4 7C 00 E8 40 */ cmplw r0, r29 +/* 8006F898 0006C7F8 40 80 00 48 */ bge lbl_8006F8E0 +/* 8006F89C 0006C7FC 80 01 00 08 */ lwz r0, 8(r1) +/* 8006F8A0 0006C800 80 7E 00 00 */ lwz r3, 0(r30) +/* 8006F8A4 0006C804 7C 00 18 40 */ cmplw r0, r3 +/* 8006F8A8 0006C808 40 82 00 20 */ bne lbl_8006F8C8 +/* 8006F8AC 0006C80C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F8B0 0006C810 80 7E 00 04 */ lwz r3, 4(r30) +/* 8006F8B4 0006C814 7C 60 02 78 */ xor r0, r3, r0 +/* 8006F8B8 0006C818 7C 00 00 34 */ cntlzw r0, r0 +/* 8006F8BC 0006C81C 7C 60 00 30 */ slw r0, r3, r0 +/* 8006F8C0 0006C820 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8006F8C4 0006C824 48 00 00 14 */ b lbl_8006F8D8 +lbl_8006F8C8: +/* 8006F8C8 0006C828 7C 60 02 78 */ xor r0, r3, r0 +/* 8006F8CC 0006C82C 7C 00 00 34 */ cntlzw r0, r0 +/* 8006F8D0 0006C830 7C 60 00 30 */ slw r0, r3, r0 +/* 8006F8D4 0006C834 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8006F8D8: +/* 8006F8D8 0006C838 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8006F8DC 0006C83C 40 82 FF 6C */ bne lbl_8006F848 +lbl_8006F8E0: +/* 8006F8E0 0006C840 80 61 00 08 */ lwz r3, 8(r1) +/* 8006F8E4 0006C844 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8006F8E8 0006C848 90 7D 00 00 */ stw r3, 0(r29) +/* 8006F8EC 0006C84C 90 1D 00 04 */ stw r0, 4(r29) +/* 8006F8F0 0006C850 80 7D 00 08 */ lwz r3, 8(r29) +/* 8006F8F4 0006C854 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006F8F8 0006C858 7C 03 00 40 */ cmplw r3, r0 +/* 8006F8FC 0006C85C 41 82 00 24 */ beq lbl_8006F920 +/* 8006F900 0006C860 38 7D 00 08 */ addi r3, r29, 8 +/* 8006F904 0006C864 4B FC 49 91 */ bl __dt__17CMetaTransFactoryFv +/* 8006F908 0006C868 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8006F90C 0006C86C 90 1D 00 08 */ stw r0, 8(r29) +/* 8006F910 0006C870 80 9D 00 08 */ lwz r4, 8(r29) +/* 8006F914 0006C874 80 64 00 04 */ lwz r3, 4(r4) +/* 8006F918 0006C878 38 03 00 01 */ addi r0, r3, 1 +/* 8006F91C 0006C87C 90 04 00 04 */ stw r0, 4(r4) +lbl_8006F920: +/* 8006F920 0006C880 28 1C 00 00 */ cmplwi r28, 0 +/* 8006F924 0006C884 41 82 00 0C */ beq lbl_8006F930 +/* 8006F928 0006C888 7F 83 E3 78 */ mr r3, r28 +/* 8006F92C 0006C88C 4B FC 49 69 */ bl __dt__17CMetaTransFactoryFv +lbl_8006F930: +/* 8006F930 0006C890 3B FF 00 0C */ addi r31, r31, 0xc +lbl_8006F934: +/* 8006F934 0006C894 80 1B 00 00 */ lwz r0, 0(r27) +/* 8006F938 0006C898 7C 1F 00 40 */ cmplw r31, r0 +/* 8006F93C 0006C89C 41 80 FE DC */ blt lbl_8006F818 +/* 8006F940 0006C8A0 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8006F944 0006C8A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8006F948 0006C8A8 7C 08 03 A6 */ mtlr r0 +/* 8006F94C 0006C8AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006F950 0006C8B0 4E 80 00 20 */ blr + +.global GetMapping__19CTweakPlayerControlCFQ213ControlMapper9ECommands +GetMapping__19CTweakPlayerControlCFQ213ControlMapper9ECommands: +/* 8006F954 0006C8B4 2C 04 00 00 */ cmpwi r4, 0 +/* 8006F958 0006C8B8 41 80 00 0C */ blt lbl_8006F964 +/* 8006F95C 0006C8BC 2C 04 00 42 */ cmpwi r4, 0x42 +/* 8006F960 0006C8C0 40 81 00 0C */ ble lbl_8006F96C +lbl_8006F964: +/* 8006F964 0006C8C4 80 63 00 08 */ lwz r3, 8(r3) +/* 8006F968 0006C8C8 4E 80 00 20 */ blr +lbl_8006F96C: +/* 8006F96C 0006C8CC 54 80 10 3A */ slwi r0, r4, 2 +/* 8006F970 0006C8D0 7C 63 02 14 */ add r3, r3, r0 +/* 8006F974 0006C8D4 80 63 00 08 */ lwz r3, 8(r3) +/* 8006F978 0006C8D8 4E 80 00 20 */ blr + +.global __ct__19CTweakPlayerControlFR12CInputStream +__ct__19CTweakPlayerControlFR12CInputStream: +/* 8006F97C 0006C8DC 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8006F980 0006C8E0 7C 08 02 A6 */ mflr r0 +/* 8006F984 0006C8E4 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha +/* 8006F988 0006C8E8 90 01 01 24 */ stw r0, 0x124(r1) +/* 8006F98C 0006C8EC 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l +/* 8006F990 0006C8F0 93 E1 01 1C */ stw r31, 0x11c(r1) +/* 8006F994 0006C8F4 7C 7F 1B 78 */ mr r31, r3 +/* 8006F998 0006C8F8 3C 60 80 3E */ lis r3, lbl_803DA350@ha +/* 8006F99C 0006C8FC 90 1F 00 00 */ stw r0, 0(r31) +/* 8006F9A0 0006C900 38 03 A3 50 */ addi r0, r3, lbl_803DA350@l +/* 8006F9A4 0006C904 38 61 00 08 */ addi r3, r1, 8 +/* 8006F9A8 0006C908 90 1F 00 00 */ stw r0, 0(r31) +/* 8006F9AC 0006C90C 48 00 00 AD */ bl LoadMappings__FR12CInputStream +/* 8006F9B0 0006C910 80 01 00 08 */ lwz r0, 8(r1) +/* 8006F9B4 0006C914 38 9F 00 08 */ addi r4, r31, 8 +/* 8006F9B8 0006C918 38 61 00 0C */ addi r3, r1, 0xc +/* 8006F9BC 0006C91C 90 1F 00 04 */ stw r0, 4(r31) +/* 8006F9C0 0006C920 80 1F 00 04 */ lwz r0, 4(r31) +/* 8006F9C4 0006C924 7C 09 03 A6 */ mtctr r0 +/* 8006F9C8 0006C928 2C 00 00 00 */ cmpwi r0, 0 +/* 8006F9CC 0006C92C 40 81 00 20 */ ble lbl_8006F9EC +lbl_8006F9D0: +/* 8006F9D0 0006C930 28 04 00 00 */ cmplwi r4, 0 +/* 8006F9D4 0006C934 41 82 00 0C */ beq lbl_8006F9E0 +/* 8006F9D8 0006C938 80 03 00 00 */ lwz r0, 0(r3) +/* 8006F9DC 0006C93C 90 04 00 00 */ stw r0, 0(r4) +lbl_8006F9E0: +/* 8006F9E0 0006C940 38 84 00 04 */ addi r4, r4, 4 +/* 8006F9E4 0006C944 38 63 00 04 */ addi r3, r3, 4 +/* 8006F9E8 0006C948 42 00 FF E8 */ bdnz lbl_8006F9D0 +lbl_8006F9EC: +/* 8006F9EC 0006C94C 80 A1 00 08 */ lwz r5, 8(r1) +/* 8006F9F0 0006C950 38 60 00 00 */ li r3, 0 +/* 8006F9F4 0006C954 2C 05 00 00 */ cmpwi r5, 0 +/* 8006F9F8 0006C958 40 81 00 40 */ ble lbl_8006FA38 +/* 8006F9FC 0006C95C 2C 05 00 08 */ cmpwi r5, 8 +/* 8006FA00 0006C960 38 85 FF F8 */ addi r4, r5, -8 +/* 8006FA04 0006C964 40 81 00 20 */ ble lbl_8006FA24 +/* 8006FA08 0006C968 38 04 00 07 */ addi r0, r4, 7 +/* 8006FA0C 0006C96C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006FA10 0006C970 7C 09 03 A6 */ mtctr r0 +/* 8006FA14 0006C974 2C 04 00 00 */ cmpwi r4, 0 +/* 8006FA18 0006C978 40 81 00 0C */ ble lbl_8006FA24 +lbl_8006FA1C: +/* 8006FA1C 0006C97C 38 63 00 08 */ addi r3, r3, 8 +/* 8006FA20 0006C980 42 00 FF FC */ bdnz lbl_8006FA1C +lbl_8006FA24: +/* 8006FA24 0006C984 7C 03 28 50 */ subf r0, r3, r5 +/* 8006FA28 0006C988 7C 09 03 A6 */ mtctr r0 +/* 8006FA2C 0006C98C 7C 03 28 00 */ cmpw r3, r5 +/* 8006FA30 0006C990 40 80 00 08 */ bge lbl_8006FA38 +lbl_8006FA34: +/* 8006FA34 0006C994 42 00 00 00 */ bdnz lbl_8006FA34 +lbl_8006FA38: +/* 8006FA38 0006C998 38 00 00 00 */ li r0, 0 +/* 8006FA3C 0006C99C 7F E3 FB 78 */ mr r3, r31 +/* 8006FA40 0006C9A0 90 01 00 08 */ stw r0, 8(r1) +/* 8006FA44 0006C9A4 83 E1 01 1C */ lwz r31, 0x11c(r1) +/* 8006FA48 0006C9A8 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8006FA4C 0006C9AC 7C 08 03 A6 */ mtlr r0 +/* 8006FA50 0006C9B0 38 21 01 20 */ addi r1, r1, 0x120 +/* 8006FA54 0006C9B4 4E 80 00 20 */ blr + +.global LoadMappings__FR12CInputStream +LoadMappings__FR12CInputStream: +/* 8006FA58 0006C9B8 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8006FA5C 0006C9BC 7C 08 02 A6 */ mflr r0 +/* 8006FA60 0006C9C0 90 01 01 34 */ stw r0, 0x134(r1) +/* 8006FA64 0006C9C4 38 00 00 00 */ li r0, 0 +/* 8006FA68 0006C9C8 93 E1 01 2C */ stw r31, 0x12c(r1) +/* 8006FA6C 0006C9CC 3B E1 00 0C */ addi r31, r1, 0xc +/* 8006FA70 0006C9D0 93 C1 01 28 */ stw r30, 0x128(r1) +/* 8006FA74 0006C9D4 3B C0 00 00 */ li r30, 0 +/* 8006FA78 0006C9D8 93 A1 01 24 */ stw r29, 0x124(r1) +/* 8006FA7C 0006C9DC 7C 9D 23 78 */ mr r29, r4 +/* 8006FA80 0006C9E0 93 81 01 20 */ stw r28, 0x120(r1) +/* 8006FA84 0006C9E4 7C 7C 1B 78 */ mr r28, r3 +/* 8006FA88 0006C9E8 90 01 00 08 */ stw r0, 8(r1) +lbl_8006FA8C: +/* 8006FA8C 0006C9EC 7F A3 EB 78 */ mr r3, r29 +/* 8006FA90 0006C9F0 48 2C F1 F5 */ bl ReadLong__12CInputStreamFv +/* 8006FA94 0006C9F4 80 01 00 08 */ lwz r0, 8(r1) +/* 8006FA98 0006C9F8 54 00 10 3A */ slwi r0, r0, 2 +/* 8006FA9C 0006C9FC 7C 9F 02 15 */ add. r4, r31, r0 +/* 8006FAA0 0006CA00 41 82 00 08 */ beq lbl_8006FAA8 +/* 8006FAA4 0006CA04 90 64 00 00 */ stw r3, 0(r4) +lbl_8006FAA8: +/* 8006FAA8 0006CA08 80 61 00 08 */ lwz r3, 8(r1) +/* 8006FAAC 0006CA0C 3B DE 00 01 */ addi r30, r30, 1 +/* 8006FAB0 0006CA10 2C 1E 00 43 */ cmpwi r30, 0x43 +/* 8006FAB4 0006CA14 38 03 00 01 */ addi r0, r3, 1 +/* 8006FAB8 0006CA18 90 01 00 08 */ stw r0, 8(r1) +/* 8006FABC 0006CA1C 41 80 FF D0 */ blt lbl_8006FA8C +/* 8006FAC0 0006CA20 90 1C 00 00 */ stw r0, 0(r28) +/* 8006FAC4 0006CA24 38 7C 00 04 */ addi r3, r28, 4 +/* 8006FAC8 0006CA28 80 1C 00 00 */ lwz r0, 0(r28) +/* 8006FACC 0006CA2C 7C 09 03 A6 */ mtctr r0 +/* 8006FAD0 0006CA30 2C 00 00 00 */ cmpwi r0, 0 +/* 8006FAD4 0006CA34 40 81 00 20 */ ble lbl_8006FAF4 +lbl_8006FAD8: +/* 8006FAD8 0006CA38 28 03 00 00 */ cmplwi r3, 0 +/* 8006FADC 0006CA3C 41 82 00 0C */ beq lbl_8006FAE8 +/* 8006FAE0 0006CA40 80 1F 00 00 */ lwz r0, 0(r31) +/* 8006FAE4 0006CA44 90 03 00 00 */ stw r0, 0(r3) +lbl_8006FAE8: +/* 8006FAE8 0006CA48 38 63 00 04 */ addi r3, r3, 4 +/* 8006FAEC 0006CA4C 3B FF 00 04 */ addi r31, r31, 4 +/* 8006FAF0 0006CA50 42 00 FF E8 */ bdnz lbl_8006FAD8 +lbl_8006FAF4: +/* 8006FAF4 0006CA54 80 A1 00 08 */ lwz r5, 8(r1) +/* 8006FAF8 0006CA58 38 60 00 00 */ li r3, 0 +/* 8006FAFC 0006CA5C 2C 05 00 00 */ cmpwi r5, 0 +/* 8006FB00 0006CA60 40 81 00 40 */ ble lbl_8006FB40 +/* 8006FB04 0006CA64 2C 05 00 08 */ cmpwi r5, 8 +/* 8006FB08 0006CA68 38 85 FF F8 */ addi r4, r5, -8 +/* 8006FB0C 0006CA6C 40 81 00 20 */ ble lbl_8006FB2C +/* 8006FB10 0006CA70 38 04 00 07 */ addi r0, r4, 7 +/* 8006FB14 0006CA74 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006FB18 0006CA78 7C 09 03 A6 */ mtctr r0 +/* 8006FB1C 0006CA7C 2C 04 00 00 */ cmpwi r4, 0 +/* 8006FB20 0006CA80 40 81 00 0C */ ble lbl_8006FB2C +lbl_8006FB24: +/* 8006FB24 0006CA84 38 63 00 08 */ addi r3, r3, 8 +/* 8006FB28 0006CA88 42 00 FF FC */ bdnz lbl_8006FB24 +lbl_8006FB2C: +/* 8006FB2C 0006CA8C 7C 03 28 50 */ subf r0, r3, r5 +/* 8006FB30 0006CA90 7C 09 03 A6 */ mtctr r0 +/* 8006FB34 0006CA94 7C 03 28 00 */ cmpw r3, r5 +/* 8006FB38 0006CA98 40 80 00 08 */ bge lbl_8006FB40 +lbl_8006FB3C: +/* 8006FB3C 0006CA9C 42 00 00 00 */ bdnz lbl_8006FB3C +lbl_8006FB40: +/* 8006FB40 0006CAA0 38 00 00 00 */ li r0, 0 +/* 8006FB44 0006CAA4 83 E1 01 2C */ lwz r31, 0x12c(r1) +/* 8006FB48 0006CAA8 90 01 00 08 */ stw r0, 8(r1) +/* 8006FB4C 0006CAAC 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8006FB50 0006CAB0 83 C1 01 28 */ lwz r30, 0x128(r1) +/* 8006FB54 0006CAB4 83 A1 01 24 */ lwz r29, 0x124(r1) +/* 8006FB58 0006CAB8 83 81 01 20 */ lwz r28, 0x120(r1) +/* 8006FB5C 0006CABC 7C 08 03 A6 */ mtlr r0 +/* 8006FB60 0006CAC0 38 21 01 30 */ addi r1, r1, 0x130 +/* 8006FB64 0006CAC4 4E 80 00 20 */ blr + +.global __dt__19CTweakPlayerControlFv +__dt__19CTweakPlayerControlFv: +/* 8006FB68 0006CAC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8006FB6C 0006CACC 7C 08 02 A6 */ mflr r0 +/* 8006FB70 0006CAD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8006FB74 0006CAD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8006FB78 0006CAD8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8006FB7C 0006CADC 41 82 00 90 */ beq lbl_8006FC0C +/* 8006FB80 0006CAE0 3C 60 80 3E */ lis r3, lbl_803DA350@ha +/* 8006FB84 0006CAE4 34 1F 00 04 */ addic. r0, r31, 4 +/* 8006FB88 0006CAE8 38 03 A3 50 */ addi r0, r3, lbl_803DA350@l +/* 8006FB8C 0006CAEC 90 1F 00 00 */ stw r0, 0(r31) +/* 8006FB90 0006CAF0 41 82 00 58 */ beq lbl_8006FBE8 +/* 8006FB94 0006CAF4 80 DF 00 04 */ lwz r6, 4(r31) +/* 8006FB98 0006CAF8 38 60 00 00 */ li r3, 0 +/* 8006FB9C 0006CAFC 2C 06 00 00 */ cmpwi r6, 0 +/* 8006FBA0 0006CB00 40 81 00 40 */ ble lbl_8006FBE0 +/* 8006FBA4 0006CB04 2C 06 00 08 */ cmpwi r6, 8 +/* 8006FBA8 0006CB08 38 A6 FF F8 */ addi r5, r6, -8 +/* 8006FBAC 0006CB0C 40 81 00 20 */ ble lbl_8006FBCC +/* 8006FBB0 0006CB10 38 05 00 07 */ addi r0, r5, 7 +/* 8006FBB4 0006CB14 54 00 E8 FE */ srwi r0, r0, 3 +/* 8006FBB8 0006CB18 7C 09 03 A6 */ mtctr r0 +/* 8006FBBC 0006CB1C 2C 05 00 00 */ cmpwi r5, 0 +/* 8006FBC0 0006CB20 40 81 00 0C */ ble lbl_8006FBCC +lbl_8006FBC4: +/* 8006FBC4 0006CB24 38 63 00 08 */ addi r3, r3, 8 +/* 8006FBC8 0006CB28 42 00 FF FC */ bdnz lbl_8006FBC4 +lbl_8006FBCC: +/* 8006FBCC 0006CB2C 7C 03 30 50 */ subf r0, r3, r6 +/* 8006FBD0 0006CB30 7C 09 03 A6 */ mtctr r0 +/* 8006FBD4 0006CB34 7C 03 30 00 */ cmpw r3, r6 +/* 8006FBD8 0006CB38 40 80 00 08 */ bge lbl_8006FBE0 +lbl_8006FBDC: +/* 8006FBDC 0006CB3C 42 00 00 00 */ bdnz lbl_8006FBDC +lbl_8006FBE0: +/* 8006FBE0 0006CB40 38 00 00 00 */ li r0, 0 +/* 8006FBE4 0006CB44 90 1F 00 04 */ stw r0, 4(r31) +lbl_8006FBE8: +/* 8006FBE8 0006CB48 28 1F 00 00 */ cmplwi r31, 0 +/* 8006FBEC 0006CB4C 41 82 00 10 */ beq lbl_8006FBFC +/* 8006FBF0 0006CB50 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 8006FBF4 0006CB54 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 8006FBF8 0006CB58 90 1F 00 00 */ stw r0, 0(r31) +lbl_8006FBFC: +/* 8006FBFC 0006CB5C 7C 80 07 35 */ extsh. r0, r4 +/* 8006FC00 0006CB60 40 81 00 0C */ ble lbl_8006FC0C +/* 8006FC04 0006CB64 7F E3 FB 78 */ mr r3, r31 +/* 8006FC08 0006CB68 48 2A 5D 29 */ bl Free__7CMemoryFPCv +lbl_8006FC0C: +/* 8006FC0C 0006CB6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8006FC10 0006CB70 7F E3 FB 78 */ mr r3, r31 +/* 8006FC14 0006CB74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8006FC18 0006CB78 7C 08 03 A6 */ mtlr r0 +/* 8006FC1C 0006CB7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8006FC20 0006CB80 4E 80 00 20 */ blr + +.global GetRichochetDamage__15CTweakPlayerGunCF11EWeaponType +GetRichochetDamage__15CTweakPlayerGunCF11EWeaponType: +/* 8006FC24 0006CB84 28 04 00 08 */ cmplwi r4, 8 +/* 8006FC28 0006CB88 41 81 00 4C */ bgt lbl_8006FC74 +/* 8006FC2C 0006CB8C 3C A0 80 3E */ lis r5, lbl_803DA360@ha +/* 8006FC30 0006CB90 54 80 10 3A */ slwi r0, r4, 2 +/* 8006FC34 0006CB94 38 85 A3 60 */ addi r4, r5, lbl_803DA360@l +/* 8006FC38 0006CB98 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8006FC3C 0006CB9C 7C 09 03 A6 */ mtctr r0 +/* 8006FC40 0006CBA0 4E 80 04 20 */ bctr +/* 8006FC44 0006CBA4 C0 23 02 84 */ lfs f1, 0x284(r3) +/* 8006FC48 0006CBA8 4E 80 00 20 */ blr +/* 8006FC4C 0006CBAC C0 23 02 88 */ lfs f1, 0x288(r3) +/* 8006FC50 0006CBB0 4E 80 00 20 */ blr +/* 8006FC54 0006CBB4 C0 23 02 8C */ lfs f1, 0x28c(r3) +/* 8006FC58 0006CBB8 4E 80 00 20 */ blr +/* 8006FC5C 0006CBBC C0 23 02 90 */ lfs f1, 0x290(r3) +/* 8006FC60 0006CBC0 4E 80 00 20 */ blr +/* 8006FC64 0006CBC4 C0 23 02 94 */ lfs f1, 0x294(r3) +/* 8006FC68 0006CBC8 4E 80 00 20 */ blr +/* 8006FC6C 0006CBCC C0 23 02 98 */ lfs f1, 0x298(r3) +/* 8006FC70 0006CBD0 4E 80 00 20 */ blr +lbl_8006FC74: +/* 8006FC74 0006CBD4 C0 22 88 18 */ lfs f1, lbl_805AA538@sda21(r2) +/* 8006FC78 0006CBD8 4E 80 00 20 */ blr + +.global GetBeamInfo__15CTweakPlayerGunCFi +GetBeamInfo__15CTweakPlayerGunCFi: +/* 8006FC7C 0006CBDC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8006FC80 0006CBE0 3C A0 80 3D */ lis r5, lbl_803CD2A4@ha +/* 8006FC84 0006CBE4 39 25 D2 A4 */ addi r9, r5, lbl_803CD2A4@l +/* 8006FC88 0006CBE8 2C 04 00 00 */ cmpwi r4, 0 +/* 8006FC8C 0006CBEC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8006FC90 0006CBF0 39 03 00 A8 */ addi r8, r3, 0xa8 +/* 8006FC94 0006CBF4 38 E3 00 E4 */ addi r7, r3, 0xe4 +/* 8006FC98 0006CBF8 38 C3 01 20 */ addi r6, r3, 0x120 +/* 8006FC9C 0006CBFC 83 E9 00 00 */ lwz r31, 0(r9) +/* 8006FCA0 0006CC00 38 A3 01 5C */ addi r5, r3, 0x15c +/* 8006FCA4 0006CC04 81 89 00 04 */ lwz r12, 4(r9) +/* 8006FCA8 0006CC08 38 03 01 98 */ addi r0, r3, 0x198 +/* 8006FCAC 0006CC0C 81 69 00 08 */ lwz r11, 8(r9) +/* 8006FCB0 0006CC10 81 49 00 0C */ lwz r10, 0xc(r9) +/* 8006FCB4 0006CC14 81 29 00 10 */ lwz r9, 0x10(r9) +/* 8006FCB8 0006CC18 93 E1 00 08 */ stw r31, 8(r1) +/* 8006FCBC 0006CC1C 91 81 00 0C */ stw r12, 0xc(r1) +/* 8006FCC0 0006CC20 91 61 00 10 */ stw r11, 0x10(r1) +/* 8006FCC4 0006CC24 91 41 00 14 */ stw r10, 0x14(r1) +/* 8006FCC8 0006CC28 91 21 00 18 */ stw r9, 0x18(r1) +/* 8006FCCC 0006CC2C 91 01 00 08 */ stw r8, 8(r1) +/* 8006FCD0 0006CC30 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8006FCD4 0006CC34 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8006FCD8 0006CC38 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8006FCDC 0006CC3C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8006FCE0 0006CC40 41 80 00 0C */ blt lbl_8006FCEC +/* 8006FCE4 0006CC44 2C 04 00 05 */ cmpwi r4, 5 +/* 8006FCE8 0006CC48 40 81 00 0C */ ble lbl_8006FCF4 +lbl_8006FCEC: +/* 8006FCEC 0006CC4C 38 63 00 A8 */ addi r3, r3, 0xa8 +/* 8006FCF0 0006CC50 48 00 00 10 */ b lbl_8006FD00 +lbl_8006FCF4: +/* 8006FCF4 0006CC54 54 80 10 3A */ slwi r0, r4, 2 +/* 8006FCF8 0006CC58 38 61 00 08 */ addi r3, r1, 8 +/* 8006FCFC 0006CC5C 7C 63 00 2E */ lwzx r3, r3, r0 +lbl_8006FD00: +/* 8006FD00 0006CC60 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8006FD04 0006CC64 38 21 00 30 */ addi r1, r1, 0x30 +/* 8006FD08 0006CC68 4E 80 00 20 */ blr + +.global sub_8006fd0c +sub_8006fd0c: +/* 8006FD0C 0006CC6C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8006FD10 0006CC70 7C 08 02 A6 */ mflr r0 +/* 8006FD14 0006CC74 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8006FD18 0006CC78 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 8006FD1C 0006CC7C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8006FD20 0006CC80 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 8006FD24 0006CC84 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 8006FD28 0006CC88 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 8006FD2C 0006CC8C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 8006FD30 0006CC90 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 8006FD34 0006CC94 3C A0 80 3D */ lis r5, lbl_803CD290@ha +/* 8006FD38 0006CC98 39 03 00 A8 */ addi r8, r3, 0xa8 +/* 8006FD3C 0006CC9C 3B 65 D2 90 */ addi r27, r5, lbl_803CD290@l +/* 8006FD40 0006CCA0 38 E3 00 E4 */ addi r7, r3, 0xe4 +/* 8006FD44 0006CCA4 81 9B 00 00 */ lwz r12, 0(r27) +/* 8006FD48 0006CCA8 38 C3 01 20 */ addi r6, r3, 0x120 +/* 8006FD4C 0006CCAC 81 7B 00 04 */ lwz r11, 4(r27) +/* 8006FD50 0006CCB0 38 A3 01 5C */ addi r5, r3, 0x15c +/* 8006FD54 0006CCB4 81 5B 00 08 */ lwz r10, 8(r27) +/* 8006FD58 0006CCB8 38 03 01 98 */ addi r0, r3, 0x198 +/* 8006FD5C 0006CCBC 81 3B 00 0C */ lwz r9, 0xc(r27) +/* 8006FD60 0006CCC0 7C 9C 23 78 */ mr r28, r4 +/* 8006FD64 0006CCC4 80 7B 00 10 */ lwz r3, 0x10(r27) +/* 8006FD68 0006CCC8 3B E1 00 88 */ addi r31, r1, 0x88 +/* 8006FD6C 0006CCCC 91 81 00 88 */ stw r12, 0x88(r1) +/* 8006FD70 0006CCD0 3B C0 00 00 */ li r30, 0 +/* 8006FD74 0006CCD4 91 61 00 8C */ stw r11, 0x8c(r1) +/* 8006FD78 0006CCD8 91 41 00 90 */ stw r10, 0x90(r1) +/* 8006FD7C 0006CCDC 91 21 00 94 */ stw r9, 0x94(r1) +/* 8006FD80 0006CCE0 90 61 00 98 */ stw r3, 0x98(r1) +/* 8006FD84 0006CCE4 91 01 00 88 */ stw r8, 0x88(r1) +/* 8006FD88 0006CCE8 90 E1 00 8C */ stw r7, 0x8c(r1) +/* 8006FD8C 0006CCEC 90 C1 00 90 */ stw r6, 0x90(r1) +/* 8006FD90 0006CCF0 90 A1 00 94 */ stw r5, 0x94(r1) +/* 8006FD94 0006CCF4 90 01 00 98 */ stw r0, 0x98(r1) +lbl_8006FD98: +/* 8006FD98 0006CCF8 83 BF 00 00 */ lwz r29, 0(r31) +/* 8006FD9C 0006CCFC 7F 83 E3 78 */ mr r3, r28 +/* 8006FDA0 0006CD00 48 2C EE 89 */ bl ReadFloat__12CInputStreamFv +/* 8006FDA4 0006CD04 D0 3D 00 00 */ stfs f1, 0(r29) +/* 8006FDA8 0006CD08 7F 83 E3 78 */ mr r3, r28 +/* 8006FDAC 0006CD0C 48 2C EE D9 */ bl ReadLong__12CInputStreamFv +/* 8006FDB0 0006CD10 7C 7B 1B 78 */ mr r27, r3 +/* 8006FDB4 0006CD14 7F 83 E3 78 */ mr r3, r28 +/* 8006FDB8 0006CD18 48 2C EE 71 */ bl ReadFloat__12CInputStreamFv +/* 8006FDBC 0006CD1C FF E0 08 90 */ fmr f31, f1 +/* 8006FDC0 0006CD20 7F 83 E3 78 */ mr r3, r28 +/* 8006FDC4 0006CD24 48 2C EE 65 */ bl ReadFloat__12CInputStreamFv +/* 8006FDC8 0006CD28 FF C0 08 90 */ fmr f30, f1 +/* 8006FDCC 0006CD2C 7F 83 E3 78 */ mr r3, r28 +/* 8006FDD0 0006CD30 48 2C EE 59 */ bl ReadFloat__12CInputStreamFv +/* 8006FDD4 0006CD34 FF A0 08 90 */ fmr f29, f1 +/* 8006FDD8 0006CD38 7F 83 E3 78 */ mr r3, r28 +/* 8006FDDC 0006CD3C 48 2C EE 4D */ bl ReadFloat__12CInputStreamFv +/* 8006FDE0 0006CD40 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 8006FDE4 0006CD44 38 00 00 00 */ li r0, 0 +/* 8006FDE8 0006CD48 50 07 3E 30 */ rlwimi r7, r0, 7, 0x18, 0x18 +/* 8006FDEC 0006CD4C FC 80 F8 18 */ frsp f4, f31 +/* 8006FDF0 0006CD50 54 E6 06 3E */ clrlwi r6, r7, 0x18 +/* 8006FDF4 0006CD54 88 81 00 4C */ lbz r4, 0x4c(r1) +/* 8006FDF8 0006CD58 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 +/* 8006FDFC 0006CD5C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 8006FE00 0006CD60 54 C5 06 3E */ clrlwi r5, r6, 0x18 +/* 8006FE04 0006CD64 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a +/* 8006FE08 0006CD68 FC 60 F0 18 */ frsp f3, f30 +/* 8006FE0C 0006CD6C 98 A1 00 70 */ stb r5, 0x70(r1) +/* 8006FE10 0006CD70 FC 40 E8 18 */ frsp f2, f29 +/* 8006FE14 0006CD74 FC 00 08 18 */ frsp f0, f1 +/* 8006FE18 0006CD78 7F 83 E3 78 */ mr r3, r28 +/* 8006FE1C 0006CD7C 93 7D 00 04 */ stw r27, 4(r29) +/* 8006FE20 0006CD80 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8006FE24 0006CD84 98 E1 00 14 */ stb r7, 0x14(r1) +/* 8006FE28 0006CD88 90 1D 00 08 */ stw r0, 8(r29) +/* 8006FE2C 0006CD8C D0 9D 00 0C */ stfs f4, 0xc(r29) +/* 8006FE30 0006CD90 D0 7D 00 10 */ stfs f3, 0x10(r29) +/* 8006FE34 0006CD94 D0 5D 00 14 */ stfs f2, 0x14(r29) +/* 8006FE38 0006CD98 98 C1 00 14 */ stb r6, 0x14(r1) +/* 8006FE3C 0006CD9C D0 81 00 40 */ stfs f4, 0x40(r1) +/* 8006FE40 0006CDA0 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 8006FE44 0006CDA4 93 61 00 10 */ stw r27, 0x10(r1) +/* 8006FE48 0006CDA8 98 A1 00 14 */ stb r5, 0x14(r1) +/* 8006FE4C 0006CDAC 93 61 00 34 */ stw r27, 0x34(r1) +/* 8006FE50 0006CDB0 98 A1 00 38 */ stb r5, 0x38(r1) +/* 8006FE54 0006CDB4 D3 E1 00 3C */ stfs f31, 0x3c(r1) +/* 8006FE58 0006CDB8 D3 A1 00 44 */ stfs f29, 0x44(r1) +/* 8006FE5C 0006CDBC D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8006FE60 0006CDC0 98 81 00 4C */ stb r4, 0x4c(r1) +/* 8006FE64 0006CDC4 D3 C1 00 40 */ stfs f30, 0x40(r1) +/* 8006FE68 0006CDC8 93 61 00 6C */ stw r27, 0x6c(r1) +/* 8006FE6C 0006CDCC D0 81 00 74 */ stfs f4, 0x74(r1) +/* 8006FE70 0006CDD0 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 8006FE74 0006CDD4 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8006FE78 0006CDD8 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8006FE7C 0006CDDC 98 81 00 84 */ stb r4, 0x84(r1) +/* 8006FE80 0006CDE0 98 9D 00 1C */ stb r4, 0x1c(r29) +/* 8006FE84 0006CDE4 48 2C EE 01 */ bl ReadLong__12CInputStreamFv +/* 8006FE88 0006CDE8 7C 7B 1B 78 */ mr r27, r3 +/* 8006FE8C 0006CDEC 7F 83 E3 78 */ mr r3, r28 +/* 8006FE90 0006CDF0 48 2C ED 99 */ bl ReadFloat__12CInputStreamFv +/* 8006FE94 0006CDF4 FF A0 08 90 */ fmr f29, f1 +/* 8006FE98 0006CDF8 7F 83 E3 78 */ mr r3, r28 +/* 8006FE9C 0006CDFC 48 2C ED 8D */ bl ReadFloat__12CInputStreamFv +/* 8006FEA0 0006CE00 FF C0 08 90 */ fmr f30, f1 +/* 8006FEA4 0006CE04 7F 83 E3 78 */ mr r3, r28 +/* 8006FEA8 0006CE08 48 2C ED 81 */ bl ReadFloat__12CInputStreamFv +/* 8006FEAC 0006CE0C FF E0 08 90 */ fmr f31, f1 +/* 8006FEB0 0006CE10 7F 83 E3 78 */ mr r3, r28 +/* 8006FEB4 0006CE14 48 2C ED 75 */ bl ReadFloat__12CInputStreamFv +/* 8006FEB8 0006CE18 88 C1 00 0C */ lbz r6, 0xc(r1) +/* 8006FEBC 0006CE1C 38 00 00 01 */ li r0, 1 +/* 8006FEC0 0006CE20 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 +/* 8006FEC4 0006CE24 FC 80 E8 18 */ frsp f4, f29 +/* 8006FEC8 0006CE28 38 00 00 00 */ li r0, 0 +/* 8006FECC 0006CE2C 88 61 00 30 */ lbz r3, 0x30(r1) +/* 8006FED0 0006CE30 54 C5 06 3E */ clrlwi r5, r6, 0x18 +/* 8006FED4 0006CE34 FC 60 F0 18 */ frsp f3, f30 +/* 8006FED8 0006CE38 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 +/* 8006FEDC 0006CE3C 54 A4 06 3E */ clrlwi r4, r5, 0x18 +/* 8006FEE0 0006CE40 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 8006FEE4 0006CE44 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a +/* 8006FEE8 0006CE48 93 7D 00 20 */ stw r27, 0x20(r29) +/* 8006FEEC 0006CE4C FC 40 F8 18 */ frsp f2, f31 +/* 8006FEF0 0006CE50 3B DE 00 01 */ addi r30, r30, 1 +/* 8006FEF4 0006CE54 98 81 00 54 */ stb r4, 0x54(r1) +/* 8006FEF8 0006CE58 FC 00 08 18 */ frsp f0, f1 +/* 8006FEFC 0006CE5C 2C 1E 00 05 */ cmpwi r30, 5 +/* 8006FF00 0006CE60 3B FF 00 04 */ addi r31, r31, 4 +/* 8006FF04 0006CE64 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8006FF08 0006CE68 98 C1 00 0C */ stb r6, 0xc(r1) +/* 8006FF0C 0006CE6C 90 1D 00 24 */ stw r0, 0x24(r29) +/* 8006FF10 0006CE70 D0 9D 00 28 */ stfs f4, 0x28(r29) +/* 8006FF14 0006CE74 D0 7D 00 2C */ stfs f3, 0x2c(r29) +/* 8006FF18 0006CE78 D0 5D 00 30 */ stfs f2, 0x30(r29) +/* 8006FF1C 0006CE7C 98 A1 00 0C */ stb r5, 0xc(r1) +/* 8006FF20 0006CE80 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8006FF24 0006CE84 D0 1D 00 34 */ stfs f0, 0x34(r29) +/* 8006FF28 0006CE88 93 61 00 08 */ stw r27, 8(r1) +/* 8006FF2C 0006CE8C 98 81 00 0C */ stb r4, 0xc(r1) +/* 8006FF30 0006CE90 93 61 00 18 */ stw r27, 0x18(r1) +/* 8006FF34 0006CE94 98 81 00 1C */ stb r4, 0x1c(r1) +/* 8006FF38 0006CE98 D3 A1 00 20 */ stfs f29, 0x20(r1) +/* 8006FF3C 0006CE9C D3 E1 00 28 */ stfs f31, 0x28(r1) +/* 8006FF40 0006CEA0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8006FF44 0006CEA4 98 61 00 30 */ stb r3, 0x30(r1) +/* 8006FF48 0006CEA8 D3 C1 00 24 */ stfs f30, 0x24(r1) +/* 8006FF4C 0006CEAC 93 61 00 50 */ stw r27, 0x50(r1) +/* 8006FF50 0006CEB0 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8006FF54 0006CEB4 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 8006FF58 0006CEB8 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8006FF5C 0006CEBC D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8006FF60 0006CEC0 98 61 00 68 */ stb r3, 0x68(r1) +/* 8006FF64 0006CEC4 98 7D 00 38 */ stb r3, 0x38(r29) +/* 8006FF68 0006CEC8 41 80 FE 30 */ blt lbl_8006FD98 +/* 8006FF6C 0006CECC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 8006FF70 0006CED0 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 8006FF74 0006CED4 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 8006FF78 0006CED8 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 8006FF7C 0006CEDC E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 8006FF80 0006CEE0 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 8006FF84 0006CEE4 BB 61 00 AC */ lmw r27, 0xac(r1) +/* 8006FF88 0006CEE8 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8006FF8C 0006CEEC 7C 08 03 A6 */ mtlr r0 +/* 8006FF90 0006CEF0 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8006FF94 0006CEF4 4E 80 00 20 */ blr + +.global __ct__15CTweakPlayerGunFR12CInputStream +__ct__15CTweakPlayerGunFR12CInputStream: +/* 8006FF98 0006CEF8 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 8006FF9C 0006CEFC 7C 08 02 A6 */ mflr r0 +/* 8006FFA0 0006CF00 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 8006FFA4 0006CF04 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 8006FFA8 0006CF08 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 8006FFAC 0006CF0C DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 8006FFB0 0006CF10 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 8006FFB4 0006CF14 DB A1 01 A0 */ stfd f29, 0x1a0(r1) +/* 8006FFB8 0006CF18 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 +/* 8006FFBC 0006CF1C BF 41 01 88 */ stmw r26, 0x188(r1) +/* 8006FFC0 0006CF20 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha +/* 8006FFC4 0006CF24 3C A0 80 3E */ lis r5, lbl_803DA384@ha +/* 8006FFC8 0006CF28 7C 7E 1B 78 */ mr r30, r3 +/* 8006FFCC 0006CF2C 7C 9F 23 78 */ mr r31, r4 +/* 8006FFD0 0006CF30 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l +/* 8006FFD4 0006CF34 38 05 A3 84 */ addi r0, r5, lbl_803DA384@l +/* 8006FFD8 0006CF38 90 7E 00 00 */ stw r3, 0(r30) +/* 8006FFDC 0006CF3C 7F E3 FB 78 */ mr r3, r31 +/* 8006FFE0 0006CF40 90 1E 00 00 */ stw r0, 0(r30) +/* 8006FFE4 0006CF44 48 2C EC 45 */ bl ReadFloat__12CInputStreamFv +/* 8006FFE8 0006CF48 D0 3E 00 04 */ stfs f1, 4(r30) +/* 8006FFEC 0006CF4C 7F E3 FB 78 */ mr r3, r31 +/* 8006FFF0 0006CF50 48 2C EC 39 */ bl ReadFloat__12CInputStreamFv +/* 8006FFF4 0006CF54 D0 3E 00 08 */ stfs f1, 8(r30) +/* 8006FFF8 0006CF58 7F E3 FB 78 */ mr r3, r31 +/* 8006FFFC 0006CF5C 48 2C EC 2D */ bl ReadFloat__12CInputStreamFv +/* 80070000 0006CF60 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80070004 0006CF64 7F E3 FB 78 */ mr r3, r31 +/* 80070008 0006CF68 48 2C EC 21 */ bl ReadFloat__12CInputStreamFv +/* 8007000C 0006CF6C D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80070010 0006CF70 7F E3 FB 78 */ mr r3, r31 +/* 80070014 0006CF74 48 2C EC 15 */ bl ReadFloat__12CInputStreamFv +/* 80070018 0006CF78 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 8007001C 0006CF7C 7F E3 FB 78 */ mr r3, r31 +/* 80070020 0006CF80 48 2C EC 09 */ bl ReadFloat__12CInputStreamFv +/* 80070024 0006CF84 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80070028 0006CF88 7F E3 FB 78 */ mr r3, r31 +/* 8007002C 0006CF8C 48 2C EB FD */ bl ReadFloat__12CInputStreamFv +/* 80070030 0006CF90 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80070034 0006CF94 7F E3 FB 78 */ mr r3, r31 +/* 80070038 0006CF98 48 2C EB F1 */ bl ReadFloat__12CInputStreamFv +/* 8007003C 0006CF9C D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 80070040 0006CFA0 7F E3 FB 78 */ mr r3, r31 +/* 80070044 0006CFA4 48 2C EB E5 */ bl ReadFloat__12CInputStreamFv +/* 80070048 0006CFA8 D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 8007004C 0006CFAC 7F E3 FB 78 */ mr r3, r31 +/* 80070050 0006CFB0 48 2C EB D9 */ bl ReadFloat__12CInputStreamFv +/* 80070054 0006CFB4 D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 80070058 0006CFB8 7F E3 FB 78 */ mr r3, r31 +/* 8007005C 0006CFBC 48 2C EB CD */ bl ReadFloat__12CInputStreamFv +/* 80070060 0006CFC0 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 80070064 0006CFC4 7F E3 FB 78 */ mr r3, r31 +/* 80070068 0006CFC8 48 2C EB C1 */ bl ReadFloat__12CInputStreamFv +/* 8007006C 0006CFCC D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 80070070 0006CFD0 7F E3 FB 78 */ mr r3, r31 +/* 80070074 0006CFD4 48 2C EB B5 */ bl ReadFloat__12CInputStreamFv +/* 80070078 0006CFD8 D0 3E 00 34 */ stfs f1, 0x34(r30) +/* 8007007C 0006CFDC 7F E3 FB 78 */ mr r3, r31 +/* 80070080 0006CFE0 48 2C EB A9 */ bl ReadFloat__12CInputStreamFv +/* 80070084 0006CFE4 D0 3E 00 38 */ stfs f1, 0x38(r30) +/* 80070088 0006CFE8 7F E3 FB 78 */ mr r3, r31 +/* 8007008C 0006CFEC 48 2C EB 9D */ bl ReadFloat__12CInputStreamFv +/* 80070090 0006CFF0 D0 3E 00 3C */ stfs f1, 0x3c(r30) +/* 80070094 0006CFF4 7F E3 FB 78 */ mr r3, r31 +/* 80070098 0006CFF8 48 2C EB 91 */ bl ReadFloat__12CInputStreamFv +/* 8007009C 0006CFFC D0 3E 00 40 */ stfs f1, 0x40(r30) +/* 800700A0 0006D000 7F E3 FB 78 */ mr r3, r31 +/* 800700A4 0006D004 48 2C EB 85 */ bl ReadFloat__12CInputStreamFv +/* 800700A8 0006D008 C0 02 88 1C */ lfs f0, lbl_805AA53C@sda21(r2) +/* 800700AC 0006D00C 7F E3 FB 78 */ mr r3, r31 +/* 800700B0 0006D010 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800700B4 0006D014 D0 1E 00 44 */ stfs f0, 0x44(r30) +/* 800700B8 0006D018 48 2C EB 71 */ bl ReadFloat__12CInputStreamFv +/* 800700BC 0006D01C D0 3E 00 48 */ stfs f1, 0x48(r30) +/* 800700C0 0006D020 7F E4 FB 78 */ mr r4, r31 +/* 800700C4 0006D024 38 7E 00 4C */ addi r3, r30, 0x4c +/* 800700C8 0006D028 48 2A 4A C5 */ bl __ct__9CVector3fFR12CInputStream +/* 800700CC 0006D02C 7F E4 FB 78 */ mr r4, r31 +/* 800700D0 0006D030 38 7E 00 58 */ addi r3, r30, 0x58 +/* 800700D4 0006D034 48 2A 4A B9 */ bl __ct__9CVector3fFR12CInputStream +/* 800700D8 0006D038 7F E4 FB 78 */ mr r4, r31 +/* 800700DC 0006D03C 38 7E 00 64 */ addi r3, r30, 0x64 +/* 800700E0 0006D040 48 2A 4A AD */ bl __ct__9CVector3fFR12CInputStream +/* 800700E4 0006D044 7F E3 FB 78 */ mr r3, r31 +/* 800700E8 0006D048 48 2C EB 9D */ bl ReadLong__12CInputStreamFv +/* 800700EC 0006D04C 7C 7B 1B 78 */ mr r27, r3 +/* 800700F0 0006D050 7F E3 FB 78 */ mr r3, r31 +/* 800700F4 0006D054 48 2C EB 35 */ bl ReadFloat__12CInputStreamFv +/* 800700F8 0006D058 FF E0 08 90 */ fmr f31, f1 +/* 800700FC 0006D05C 7F E3 FB 78 */ mr r3, r31 +/* 80070100 0006D060 48 2C EB 29 */ bl ReadFloat__12CInputStreamFv +/* 80070104 0006D064 FF C0 08 90 */ fmr f30, f1 +/* 80070108 0006D068 7F E3 FB 78 */ mr r3, r31 +/* 8007010C 0006D06C 48 2C EB 1D */ bl ReadFloat__12CInputStreamFv +/* 80070110 0006D070 FF A0 08 90 */ fmr f29, f1 +/* 80070114 0006D074 7F E3 FB 78 */ mr r3, r31 +/* 80070118 0006D078 48 2C EB 11 */ bl ReadFloat__12CInputStreamFv +/* 8007011C 0006D07C 88 C1 00 7C */ lbz r6, 0x7c(r1) +/* 80070120 0006D080 38 E0 00 00 */ li r7, 0 +/* 80070124 0006D084 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 +/* 80070128 0006D088 FC 80 F8 18 */ frsp f4, f31 +/* 8007012C 0006D08C 54 C5 06 3E */ clrlwi r5, r6, 0x18 +/* 80070130 0006D090 93 7E 00 70 */ stw r27, 0x70(r30) +/* 80070134 0006D094 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19 +/* 80070138 0006D098 FC 60 F0 18 */ frsp f3, f30 +/* 8007013C 0006D09C 54 A4 06 3E */ clrlwi r4, r5, 0x18 +/* 80070140 0006D0A0 50 E4 2E B4 */ rlwimi r4, r7, 5, 0x1a, 0x1a +/* 80070144 0006D0A4 FC 40 E8 18 */ frsp f2, f29 +/* 80070148 0006D0A8 98 9E 00 74 */ stb r4, 0x74(r30) +/* 8007014C 0006D0AC FC 00 08 18 */ frsp f0, f1 +/* 80070150 0006D0B0 88 01 00 EC */ lbz r0, 0xec(r1) +/* 80070154 0006D0B4 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 80070158 0006D0B8 D0 9E 00 78 */ stfs f4, 0x78(r30) +/* 8007015C 0006D0BC 7F E3 FB 78 */ mr r3, r31 +/* 80070160 0006D0C0 D0 7E 00 7C */ stfs f3, 0x7c(r30) +/* 80070164 0006D0C4 98 C1 00 7C */ stb r6, 0x7c(r1) +/* 80070168 0006D0C8 D0 5E 00 80 */ stfs f2, 0x80(r30) +/* 8007016C 0006D0CC 98 A1 00 7C */ stb r5, 0x7c(r1) +/* 80070170 0006D0D0 D0 81 00 E0 */ stfs f4, 0xe0(r1) +/* 80070174 0006D0D4 D0 1E 00 84 */ stfs f0, 0x84(r30) +/* 80070178 0006D0D8 93 61 00 78 */ stw r27, 0x78(r1) +/* 8007017C 0006D0DC 98 81 00 7C */ stb r4, 0x7c(r1) +/* 80070180 0006D0E0 93 61 00 D4 */ stw r27, 0xd4(r1) +/* 80070184 0006D0E4 98 81 00 D8 */ stb r4, 0xd8(r1) +/* 80070188 0006D0E8 D3 E1 00 DC */ stfs f31, 0xdc(r1) +/* 8007018C 0006D0EC D3 A1 00 E4 */ stfs f29, 0xe4(r1) +/* 80070190 0006D0F0 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 80070194 0006D0F4 98 01 00 EC */ stb r0, 0xec(r1) +/* 80070198 0006D0F8 D3 C1 00 E0 */ stfs f30, 0xe0(r1) +/* 8007019C 0006D0FC 93 61 01 60 */ stw r27, 0x160(r1) +/* 800701A0 0006D100 98 81 01 64 */ stb r4, 0x164(r1) +/* 800701A4 0006D104 D0 81 01 68 */ stfs f4, 0x168(r1) +/* 800701A8 0006D108 D0 61 01 6C */ stfs f3, 0x16c(r1) +/* 800701AC 0006D10C D0 41 01 70 */ stfs f2, 0x170(r1) +/* 800701B0 0006D110 D0 01 01 74 */ stfs f0, 0x174(r1) +/* 800701B4 0006D114 98 01 01 78 */ stb r0, 0x178(r1) +/* 800701B8 0006D118 98 1E 00 88 */ stb r0, 0x88(r30) +/* 800701BC 0006D11C 48 2C EA C9 */ bl ReadLong__12CInputStreamFv +/* 800701C0 0006D120 7C 7B 1B 78 */ mr r27, r3 +/* 800701C4 0006D124 7F E3 FB 78 */ mr r3, r31 +/* 800701C8 0006D128 48 2C EA 61 */ bl ReadFloat__12CInputStreamFv +/* 800701CC 0006D12C FF E0 08 90 */ fmr f31, f1 +/* 800701D0 0006D130 7F E3 FB 78 */ mr r3, r31 +/* 800701D4 0006D134 48 2C EA 55 */ bl ReadFloat__12CInputStreamFv +/* 800701D8 0006D138 FF C0 08 90 */ fmr f30, f1 +/* 800701DC 0006D13C 7F E3 FB 78 */ mr r3, r31 +/* 800701E0 0006D140 48 2C EA 49 */ bl ReadFloat__12CInputStreamFv +/* 800701E4 0006D144 FF A0 08 90 */ fmr f29, f1 +/* 800701E8 0006D148 7F E3 FB 78 */ mr r3, r31 +/* 800701EC 0006D14C 48 2C EA 3D */ bl ReadFloat__12CInputStreamFv +/* 800701F0 0006D150 89 41 00 74 */ lbz r10, 0x74(r1) +/* 800701F4 0006D154 38 80 00 00 */ li r4, 0 +/* 800701F8 0006D158 50 8A 3E 30 */ rlwimi r10, r4, 7, 0x18, 0x18 +/* 800701FC 0006D15C FC C0 F8 18 */ frsp f6, f31 +/* 80070200 0006D160 55 49 06 3E */ clrlwi r9, r10, 0x18 +/* 80070204 0006D164 93 7E 00 8C */ stw r27, 0x8c(r30) +/* 80070208 0006D168 50 89 36 72 */ rlwimi r9, r4, 6, 0x19, 0x19 +/* 8007020C 0006D16C FC A0 F0 18 */ frsp f5, f30 +/* 80070210 0006D170 55 28 06 3E */ clrlwi r8, r9, 0x18 +/* 80070214 0006D174 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a +/* 80070218 0006D178 FC 80 E8 18 */ frsp f4, f29 +/* 8007021C 0006D17C 99 1E 00 90 */ stb r8, 0x90(r30) +/* 80070220 0006D180 FC 60 08 18 */ frsp f3, f1 +/* 80070224 0006D184 88 E1 00 D0 */ lbz r7, 0xd0(r1) +/* 80070228 0006D188 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 +/* 8007022C 0006D18C D0 DE 00 94 */ stfs f6, 0x94(r30) +/* 80070230 0006D190 88 61 00 6C */ lbz r3, 0x6c(r1) +/* 80070234 0006D194 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 80070238 0006D198 D0 BE 00 98 */ stfs f5, 0x98(r30) +/* 8007023C 0006D19C 38 00 FF FF */ li r0, -1 +/* 80070240 0006D1A0 54 66 06 3E */ clrlwi r6, r3, 0x18 +/* 80070244 0006D1A4 C0 42 88 20 */ lfs f2, lbl_805AA540@sda21(r2) +/* 80070248 0006D1A8 D0 9E 00 9C */ stfs f4, 0x9c(r30) +/* 8007024C 0006D1AC 50 86 36 72 */ rlwimi r6, r4, 6, 0x19, 0x19 +/* 80070250 0006D1B0 54 C5 06 3E */ clrlwi r5, r6, 0x18 +/* 80070254 0006D1B4 D0 7E 00 A0 */ stfs f3, 0xa0(r30) +/* 80070258 0006D1B8 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a +/* 8007025C 0006D1BC 98 FE 00 A4 */ stb r7, 0xa4(r30) +/* 80070260 0006D1C0 90 1E 00 AC */ stw r0, 0xac(r30) +/* 80070264 0006D1C4 98 BE 00 B0 */ stb r5, 0xb0(r30) +/* 80070268 0006D1C8 D0 5E 00 B4 */ stfs f2, 0xb4(r30) +/* 8007026C 0006D1CC C0 1E 00 B4 */ lfs f0, 0xb4(r30) +/* 80070270 0006D1D0 99 41 00 74 */ stb r10, 0x74(r1) +/* 80070274 0006D1D4 D0 1E 00 B8 */ stfs f0, 0xb8(r30) +/* 80070278 0006D1D8 D0 5E 00 BC */ stfs f2, 0xbc(r30) +/* 8007027C 0006D1DC 98 61 00 6C */ stb r3, 0x6c(r1) +/* 80070280 0006D1E0 D0 5E 00 C0 */ stfs f2, 0xc0(r30) +/* 80070284 0006D1E4 99 21 00 74 */ stb r9, 0x74(r1) +/* 80070288 0006D1E8 88 7E 00 C4 */ lbz r3, 0xc4(r30) +/* 8007028C 0006D1EC 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 80070290 0006D1F0 D0 C1 00 C4 */ stfs f6, 0xc4(r1) +/* 80070294 0006D1F4 98 C1 00 6C */ stb r6, 0x6c(r1) +/* 80070298 0006D1F8 93 61 00 70 */ stw r27, 0x70(r1) +/* 8007029C 0006D1FC 99 01 00 74 */ stb r8, 0x74(r1) +/* 800702A0 0006D200 93 61 00 B8 */ stw r27, 0xb8(r1) +/* 800702A4 0006D204 99 01 00 BC */ stb r8, 0xbc(r1) +/* 800702A8 0006D208 D3 E1 00 C0 */ stfs f31, 0xc0(r1) +/* 800702AC 0006D20C D3 A1 00 C8 */ stfs f29, 0xc8(r1) +/* 800702B0 0006D210 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 800702B4 0006D214 98 E1 00 D0 */ stb r7, 0xd0(r1) +/* 800702B8 0006D218 D3 C1 00 C4 */ stfs f30, 0xc4(r1) +/* 800702BC 0006D21C 93 61 01 44 */ stw r27, 0x144(r1) +/* 800702C0 0006D220 99 01 01 48 */ stb r8, 0x148(r1) +/* 800702C4 0006D224 D0 C1 01 4C */ stfs f6, 0x14c(r1) +/* 800702C8 0006D228 D0 A1 01 50 */ stfs f5, 0x150(r1) +/* 800702CC 0006D22C D0 81 01 54 */ stfs f4, 0x154(r1) +/* 800702D0 0006D230 D0 61 01 58 */ stfs f3, 0x158(r1) +/* 800702D4 0006D234 98 E1 01 5C */ stb r7, 0x15c(r1) +/* 800702D8 0006D238 90 01 00 68 */ stw r0, 0x68(r1) +/* 800702DC 0006D23C 98 A1 00 6C */ stb r5, 0x6c(r1) +/* 800702E0 0006D240 98 7E 00 C4 */ stb r3, 0xc4(r30) +/* 800702E4 0006D244 89 61 00 64 */ lbz r11, 0x64(r1) +/* 800702E8 0006D248 50 8B 3E 30 */ rlwimi r11, r4, 7, 0x18, 0x18 +/* 800702EC 0006D24C 89 41 00 5C */ lbz r10, 0x5c(r1) +/* 800702F0 0006D250 50 8A 3E 30 */ rlwimi r10, r4, 7, 0x18, 0x18 +/* 800702F4 0006D254 55 7B 06 3E */ clrlwi r27, r11, 0x18 +/* 800702F8 0006D258 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 800702FC 0006D25C 50 9B 36 72 */ rlwimi r27, r4, 6, 0x19, 0x19 +/* 80070300 0006D260 55 49 06 3E */ clrlwi r9, r10, 0x18 +/* 80070304 0006D264 57 6C 06 3E */ clrlwi r12, r27, 0x18 +/* 80070308 0006D268 99 61 00 64 */ stb r11, 0x64(r1) +/* 8007030C 0006D26C 50 8C 2E B4 */ rlwimi r12, r4, 5, 0x1a, 0x1a +/* 80070310 0006D270 50 89 36 72 */ rlwimi r9, r4, 6, 0x19, 0x19 +/* 80070314 0006D274 99 9E 00 CC */ stb r12, 0xcc(r30) +/* 80070318 0006D278 55 28 06 3E */ clrlwi r8, r9, 0x18 +/* 8007031C 0006D27C 88 E1 00 54 */ lbz r7, 0x54(r1) +/* 80070320 0006D280 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 +/* 80070324 0006D284 D0 5E 00 D0 */ stfs f2, 0xd0(r30) +/* 80070328 0006D288 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a +/* 8007032C 0006D28C 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 80070330 0006D290 88 61 00 4C */ lbz r3, 0x4c(r1) +/* 80070334 0006D294 C0 1E 00 D0 */ lfs f0, 0xd0(r30) +/* 80070338 0006D298 50 85 36 72 */ rlwimi r5, r4, 6, 0x19, 0x19 +/* 8007033C 0006D29C 98 E1 00 54 */ stb r7, 0x54(r1) +/* 80070340 0006D2A0 54 A6 06 3E */ clrlwi r6, r5, 0x18 +/* 80070344 0006D2A4 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 80070348 0006D2A8 D0 1E 00 D4 */ stfs f0, 0xd4(r30) +/* 8007034C 0006D2AC 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a +/* 80070350 0006D2B0 D0 5E 00 D8 */ stfs f2, 0xd8(r30) +/* 80070354 0006D2B4 D0 5E 00 DC */ stfs f2, 0xdc(r30) +/* 80070358 0006D2B8 89 7E 00 E0 */ lbz r11, 0xe0(r30) +/* 8007035C 0006D2BC 50 8B 3E 30 */ rlwimi r11, r4, 7, 0x18, 0x18 +/* 80070360 0006D2C0 99 41 00 5C */ stb r10, 0x5c(r1) +/* 80070364 0006D2C4 99 7E 00 E0 */ stb r11, 0xe0(r30) +/* 80070368 0006D2C8 90 1E 00 E8 */ stw r0, 0xe8(r30) +/* 8007036C 0006D2CC 99 1E 00 EC */ stb r8, 0xec(r30) +/* 80070370 0006D2D0 D0 5E 00 F0 */ stfs f2, 0xf0(r30) +/* 80070374 0006D2D4 C0 1E 00 F0 */ lfs f0, 0xf0(r30) +/* 80070378 0006D2D8 9B 61 00 64 */ stb r27, 0x64(r1) +/* 8007037C 0006D2DC D0 1E 00 F4 */ stfs f0, 0xf4(r30) +/* 80070380 0006D2E0 D0 5E 00 F8 */ stfs f2, 0xf8(r30) +/* 80070384 0006D2E4 D0 5E 00 FC */ stfs f2, 0xfc(r30) +/* 80070388 0006D2E8 88 FE 01 00 */ lbz r7, 0x100(r30) +/* 8007038C 0006D2EC 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 +/* 80070390 0006D2F0 99 21 00 5C */ stb r9, 0x5c(r1) +/* 80070394 0006D2F4 98 FE 01 00 */ stb r7, 0x100(r30) +/* 80070398 0006D2F8 90 1E 01 04 */ stw r0, 0x104(r30) +/* 8007039C 0006D2FC 98 DE 01 08 */ stb r6, 0x108(r30) +/* 800703A0 0006D300 D0 5E 01 0C */ stfs f2, 0x10c(r30) +/* 800703A4 0006D304 C0 1E 01 0C */ lfs f0, 0x10c(r30) +/* 800703A8 0006D308 98 A1 00 54 */ stb r5, 0x54(r1) +/* 800703AC 0006D30C D0 1E 01 10 */ stfs f0, 0x110(r30) +/* 800703B0 0006D310 D0 5E 01 14 */ stfs f2, 0x114(r30) +/* 800703B4 0006D314 D0 5E 01 18 */ stfs f2, 0x118(r30) +/* 800703B8 0006D318 88 BE 01 1C */ lbz r5, 0x11c(r30) +/* 800703BC 0006D31C 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18 +/* 800703C0 0006D320 90 01 00 60 */ stw r0, 0x60(r1) +/* 800703C4 0006D324 99 81 00 64 */ stb r12, 0x64(r1) +/* 800703C8 0006D328 90 01 00 58 */ stw r0, 0x58(r1) +/* 800703CC 0006D32C 99 01 00 5C */ stb r8, 0x5c(r1) +/* 800703D0 0006D330 90 01 00 50 */ stw r0, 0x50(r1) +/* 800703D4 0006D334 98 C1 00 54 */ stb r6, 0x54(r1) +/* 800703D8 0006D338 98 BE 01 1C */ stb r5, 0x11c(r30) +/* 800703DC 0006D33C 90 01 00 48 */ stw r0, 0x48(r1) +/* 800703E0 0006D340 98 61 00 4C */ stb r3, 0x4c(r1) +/* 800703E4 0006D344 54 7B 06 3E */ clrlwi r27, r3, 0x18 +/* 800703E8 0006D348 90 1E 01 24 */ stw r0, 0x124(r30) +/* 800703EC 0006D34C 50 9B 36 72 */ rlwimi r27, r4, 6, 0x19, 0x19 +/* 800703F0 0006D350 89 81 00 44 */ lbz r12, 0x44(r1) +/* 800703F4 0006D354 57 7C 06 3E */ clrlwi r28, r27, 0x18 +/* 800703F8 0006D358 50 8C 3E 30 */ rlwimi r12, r4, 7, 0x18, 0x18 +/* 800703FC 0006D35C 50 9C 2E B4 */ rlwimi r28, r4, 5, 0x1a, 0x1a +/* 80070400 0006D360 89 21 00 3C */ lbz r9, 0x3c(r1) +/* 80070404 0006D364 9B 9E 01 28 */ stb r28, 0x128(r30) +/* 80070408 0006D368 50 89 3E 30 */ rlwimi r9, r4, 7, 0x18, 0x18 +/* 8007040C 0006D36C 55 8B 06 3E */ clrlwi r11, r12, 0x18 +/* 80070410 0006D370 88 C1 00 34 */ lbz r6, 0x34(r1) +/* 80070414 0006D374 D0 5E 01 2C */ stfs f2, 0x12c(r30) +/* 80070418 0006D378 50 86 3E 30 */ rlwimi r6, r4, 7, 0x18, 0x18 +/* 8007041C 0006D37C 50 8B 36 72 */ rlwimi r11, r4, 6, 0x19, 0x19 +/* 80070420 0006D380 55 28 06 3E */ clrlwi r8, r9, 0x18 +/* 80070424 0006D384 C0 1E 01 2C */ lfs f0, 0x12c(r30) +/* 80070428 0006D388 55 6A 06 3E */ clrlwi r10, r11, 0x18 +/* 8007042C 0006D38C 50 88 36 72 */ rlwimi r8, r4, 6, 0x19, 0x19 +/* 80070430 0006D390 99 21 00 3C */ stb r9, 0x3c(r1) +/* 80070434 0006D394 55 07 06 3E */ clrlwi r7, r8, 0x18 +/* 80070438 0006D398 54 C3 06 3E */ clrlwi r3, r6, 0x18 +/* 8007043C 0006D39C D0 1E 01 30 */ stfs f0, 0x130(r30) +/* 80070440 0006D3A0 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 80070444 0006D3A4 54 65 06 3E */ clrlwi r5, r3, 0x18 +/* 80070448 0006D3A8 50 8A 2E B4 */ rlwimi r10, r4, 5, 0x1a, 0x1a +/* 8007044C 0006D3AC D0 5E 01 34 */ stfs f2, 0x134(r30) +/* 80070450 0006D3B0 50 87 2E B4 */ rlwimi r7, r4, 5, 0x1a, 0x1a +/* 80070454 0006D3B4 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a +/* 80070458 0006D3B8 D0 5E 01 38 */ stfs f2, 0x138(r30) +/* 8007045C 0006D3BC 8B BE 01 3C */ lbz r29, 0x13c(r30) +/* 80070460 0006D3C0 50 9D 3E 30 */ rlwimi r29, r4, 7, 0x18, 0x18 +/* 80070464 0006D3C4 99 81 00 44 */ stb r12, 0x44(r1) +/* 80070468 0006D3C8 9B BE 01 3C */ stb r29, 0x13c(r30) +/* 8007046C 0006D3CC 90 1E 01 40 */ stw r0, 0x140(r30) +/* 80070470 0006D3D0 99 5E 01 44 */ stb r10, 0x144(r30) +/* 80070474 0006D3D4 D0 5E 01 48 */ stfs f2, 0x148(r30) +/* 80070478 0006D3D8 C0 1E 01 48 */ lfs f0, 0x148(r30) +/* 8007047C 0006D3DC 98 C1 00 34 */ stb r6, 0x34(r1) +/* 80070480 0006D3E0 D0 1E 01 4C */ stfs f0, 0x14c(r30) +/* 80070484 0006D3E4 D0 5E 01 50 */ stfs f2, 0x150(r30) +/* 80070488 0006D3E8 D0 5E 01 54 */ stfs f2, 0x154(r30) +/* 8007048C 0006D3EC 89 3E 01 58 */ lbz r9, 0x158(r30) +/* 80070490 0006D3F0 50 89 3E 30 */ rlwimi r9, r4, 7, 0x18, 0x18 +/* 80070494 0006D3F4 9B 61 00 4C */ stb r27, 0x4c(r1) +/* 80070498 0006D3F8 99 3E 01 58 */ stb r9, 0x158(r30) +/* 8007049C 0006D3FC 90 1E 01 60 */ stw r0, 0x160(r30) +/* 800704A0 0006D400 98 FE 01 64 */ stb r7, 0x164(r30) +/* 800704A4 0006D404 D0 5E 01 68 */ stfs f2, 0x168(r30) +/* 800704A8 0006D408 C0 1E 01 68 */ lfs f0, 0x168(r30) +/* 800704AC 0006D40C 99 61 00 44 */ stb r11, 0x44(r1) +/* 800704B0 0006D410 D0 1E 01 6C */ stfs f0, 0x16c(r30) +/* 800704B4 0006D414 D0 5E 01 70 */ stfs f2, 0x170(r30) +/* 800704B8 0006D418 D0 5E 01 74 */ stfs f2, 0x174(r30) +/* 800704BC 0006D41C 88 DE 01 78 */ lbz r6, 0x178(r30) +/* 800704C0 0006D420 50 86 3E 30 */ rlwimi r6, r4, 7, 0x18, 0x18 +/* 800704C4 0006D424 99 01 00 3C */ stb r8, 0x3c(r1) +/* 800704C8 0006D428 98 61 00 34 */ stb r3, 0x34(r1) +/* 800704CC 0006D42C 9B 81 00 4C */ stb r28, 0x4c(r1) +/* 800704D0 0006D430 90 01 00 40 */ stw r0, 0x40(r1) +/* 800704D4 0006D434 99 41 00 44 */ stb r10, 0x44(r1) +/* 800704D8 0006D438 90 01 00 38 */ stw r0, 0x38(r1) +/* 800704DC 0006D43C 98 E1 00 3C */ stb r7, 0x3c(r1) +/* 800704E0 0006D440 98 DE 01 78 */ stb r6, 0x178(r30) +/* 800704E4 0006D444 90 01 00 30 */ stw r0, 0x30(r1) +/* 800704E8 0006D448 98 A1 00 34 */ stb r5, 0x34(r1) +/* 800704EC 0006D44C 90 1E 01 7C */ stw r0, 0x17c(r30) +/* 800704F0 0006D450 7F E3 FB 78 */ mr r3, r31 +/* 800704F4 0006D454 89 41 00 2C */ lbz r10, 0x2c(r1) +/* 800704F8 0006D458 50 8A 3E 30 */ rlwimi r10, r4, 7, 0x18, 0x18 +/* 800704FC 0006D45C 98 BE 01 80 */ stb r5, 0x180(r30) +/* 80070500 0006D460 55 49 06 3E */ clrlwi r9, r10, 0x18 +/* 80070504 0006D464 88 E1 00 24 */ lbz r7, 0x24(r1) +/* 80070508 0006D468 D0 5E 01 84 */ stfs f2, 0x184(r30) +/* 8007050C 0006D46C 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 +/* 80070510 0006D470 50 89 36 72 */ rlwimi r9, r4, 6, 0x19, 0x19 +/* 80070514 0006D474 C0 1E 01 84 */ lfs f0, 0x184(r30) +/* 80070518 0006D478 55 28 06 3E */ clrlwi r8, r9, 0x18 +/* 8007051C 0006D47C 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 80070520 0006D480 99 41 00 2C */ stb r10, 0x2c(r1) +/* 80070524 0006D484 50 85 36 72 */ rlwimi r5, r4, 6, 0x19, 0x19 +/* 80070528 0006D488 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a +/* 8007052C 0006D48C D0 1E 01 88 */ stfs f0, 0x188(r30) +/* 80070530 0006D490 54 A6 06 3E */ clrlwi r6, r5, 0x18 +/* 80070534 0006D494 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a +/* 80070538 0006D498 D0 5E 01 8C */ stfs f2, 0x18c(r30) +/* 8007053C 0006D49C D0 5E 01 90 */ stfs f2, 0x190(r30) +/* 80070540 0006D4A0 89 7E 01 94 */ lbz r11, 0x194(r30) +/* 80070544 0006D4A4 50 8B 3E 30 */ rlwimi r11, r4, 7, 0x18, 0x18 +/* 80070548 0006D4A8 98 E1 00 24 */ stb r7, 0x24(r1) +/* 8007054C 0006D4AC 99 7E 01 94 */ stb r11, 0x194(r30) +/* 80070550 0006D4B0 90 1E 01 9C */ stw r0, 0x19c(r30) +/* 80070554 0006D4B4 99 1E 01 A0 */ stb r8, 0x1a0(r30) +/* 80070558 0006D4B8 D0 5E 01 A4 */ stfs f2, 0x1a4(r30) +/* 8007055C 0006D4BC C0 1E 01 A4 */ lfs f0, 0x1a4(r30) +/* 80070560 0006D4C0 99 21 00 2C */ stb r9, 0x2c(r1) +/* 80070564 0006D4C4 D0 1E 01 A8 */ stfs f0, 0x1a8(r30) +/* 80070568 0006D4C8 D0 5E 01 AC */ stfs f2, 0x1ac(r30) +/* 8007056C 0006D4CC D0 5E 01 B0 */ stfs f2, 0x1b0(r30) +/* 80070570 0006D4D0 88 FE 01 B4 */ lbz r7, 0x1b4(r30) +/* 80070574 0006D4D4 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 +/* 80070578 0006D4D8 98 A1 00 24 */ stb r5, 0x24(r1) +/* 8007057C 0006D4DC 98 FE 01 B4 */ stb r7, 0x1b4(r30) +/* 80070580 0006D4E0 90 1E 01 B8 */ stw r0, 0x1b8(r30) +/* 80070584 0006D4E4 98 DE 01 BC */ stb r6, 0x1bc(r30) +/* 80070588 0006D4E8 D0 5E 01 C0 */ stfs f2, 0x1c0(r30) +/* 8007058C 0006D4EC C0 1E 01 C0 */ lfs f0, 0x1c0(r30) +/* 80070590 0006D4F0 90 01 00 28 */ stw r0, 0x28(r1) +/* 80070594 0006D4F4 D0 1E 01 C4 */ stfs f0, 0x1c4(r30) +/* 80070598 0006D4F8 D0 5E 01 C8 */ stfs f2, 0x1c8(r30) +/* 8007059C 0006D4FC D0 5E 01 CC */ stfs f2, 0x1cc(r30) +/* 800705A0 0006D500 88 BE 01 D0 */ lbz r5, 0x1d0(r30) +/* 800705A4 0006D504 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18 +/* 800705A8 0006D508 99 01 00 2C */ stb r8, 0x2c(r1) +/* 800705AC 0006D50C 90 01 00 20 */ stw r0, 0x20(r1) +/* 800705B0 0006D510 98 C1 00 24 */ stb r6, 0x24(r1) +/* 800705B4 0006D514 98 BE 01 D0 */ stb r5, 0x1d0(r30) +/* 800705B8 0006D518 48 2C E6 CD */ bl ReadLong__12CInputStreamFv +/* 800705BC 0006D51C 7C 7D 1B 78 */ mr r29, r3 +/* 800705C0 0006D520 7F E3 FB 78 */ mr r3, r31 +/* 800705C4 0006D524 48 2C E6 65 */ bl ReadFloat__12CInputStreamFv +/* 800705C8 0006D528 FF E0 08 90 */ fmr f31, f1 +/* 800705CC 0006D52C 7F E3 FB 78 */ mr r3, r31 +/* 800705D0 0006D530 48 2C E6 59 */ bl ReadFloat__12CInputStreamFv +/* 800705D4 0006D534 FF C0 08 90 */ fmr f30, f1 +/* 800705D8 0006D538 7F E3 FB 78 */ mr r3, r31 +/* 800705DC 0006D53C 48 2C E6 4D */ bl ReadFloat__12CInputStreamFv +/* 800705E0 0006D540 FF A0 08 90 */ fmr f29, f1 +/* 800705E4 0006D544 7F E3 FB 78 */ mr r3, r31 +/* 800705E8 0006D548 48 2C E6 41 */ bl ReadFloat__12CInputStreamFv +/* 800705EC 0006D54C 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 800705F0 0006D550 39 60 00 00 */ li r11, 0 +/* 800705F4 0006D554 51 60 3E 30 */ rlwimi r0, r11, 7, 0x18, 0x18 +/* 800705F8 0006D558 C0 02 88 20 */ lfs f0, lbl_805AA540@sda21(r2) +/* 800705FC 0006D55C 54 0A 06 3E */ clrlwi r10, r0, 0x18 +/* 80070600 0006D560 93 BE 01 D4 */ stw r29, 0x1d4(r30) +/* 80070604 0006D564 FC A0 F8 18 */ frsp f5, f31 +/* 80070608 0006D568 51 6A 36 72 */ rlwimi r10, r11, 6, 0x19, 0x19 +/* 8007060C 0006D56C 55 49 06 3E */ clrlwi r9, r10, 0x18 +/* 80070610 0006D570 98 01 00 1C */ stb r0, 0x1c(r1) +/* 80070614 0006D574 51 69 2E B4 */ rlwimi r9, r11, 5, 0x1a, 0x1a +/* 80070618 0006D578 FC 80 F0 18 */ frsp f4, f30 +/* 8007061C 0006D57C 99 3E 01 D8 */ stb r9, 0x1d8(r30) +/* 80070620 0006D580 FC 60 E8 18 */ frsp f3, f29 +/* 80070624 0006D584 38 E0 FF FF */ li r7, -1 +/* 80070628 0006D588 FC 40 08 18 */ frsp f2, f1 +/* 8007062C 0006D58C D0 BE 01 DC */ stfs f5, 0x1dc(r30) +/* 80070630 0006D590 35 9E 01 F4 */ addic. r12, r30, 0x1f4 +/* 80070634 0006D594 88 81 00 14 */ lbz r4, 0x14(r1) +/* 80070638 0006D598 51 64 3E 30 */ rlwimi r4, r11, 7, 0x18, 0x18 +/* 8007063C 0006D59C D0 9E 01 E0 */ stfs f4, 0x1e0(r30) +/* 80070640 0006D5A0 89 01 00 B4 */ lbz r8, 0xb4(r1) +/* 80070644 0006D5A4 51 68 3E 30 */ rlwimi r8, r11, 7, 0x18, 0x18 +/* 80070648 0006D5A8 D0 7E 01 E4 */ stfs f3, 0x1e4(r30) +/* 8007064C 0006D5AC 54 86 06 3E */ clrlwi r6, r4, 0x18 +/* 80070650 0006D5B0 51 66 36 72 */ rlwimi r6, r11, 6, 0x19, 0x19 +/* 80070654 0006D5B4 88 61 01 24 */ lbz r3, 0x124(r1) +/* 80070658 0006D5B8 D0 5E 01 E8 */ stfs f2, 0x1e8(r30) +/* 8007065C 0006D5BC 51 63 3E 30 */ rlwimi r3, r11, 7, 0x18, 0x18 +/* 80070660 0006D5C0 54 C5 06 3E */ clrlwi r5, r6, 0x18 +/* 80070664 0006D5C4 FC C0 00 18 */ frsp f6, f0 +/* 80070668 0006D5C8 51 65 2E B4 */ rlwimi r5, r11, 5, 0x1a, 0x1a +/* 8007066C 0006D5CC 98 81 00 14 */ stb r4, 0x14(r1) +/* 80070670 0006D5D0 38 00 00 05 */ li r0, 5 +/* 80070674 0006D5D4 54 6B 06 3E */ clrlwi r11, r3, 0x18 +/* 80070678 0006D5D8 99 41 00 1C */ stb r10, 0x1c(r1) +/* 8007067C 0006D5DC 54 A4 06 3E */ clrlwi r4, r5, 0x18 +/* 80070680 0006D5E0 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 80070684 0006D5E4 99 1E 01 EC */ stb r8, 0x1ec(r30) +/* 80070688 0006D5E8 98 C1 00 14 */ stb r6, 0x14(r1) +/* 8007068C 0006D5EC 93 A1 00 18 */ stw r29, 0x18(r1) +/* 80070690 0006D5F0 99 21 00 1C */ stb r9, 0x1c(r1) +/* 80070694 0006D5F4 93 A1 00 9C */ stw r29, 0x9c(r1) +/* 80070698 0006D5F8 99 21 00 A0 */ stb r9, 0xa0(r1) +/* 8007069C 0006D5FC D3 E1 00 A4 */ stfs f31, 0xa4(r1) +/* 800706A0 0006D600 D3 A1 00 AC */ stfs f29, 0xac(r1) +/* 800706A4 0006D604 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 800706A8 0006D608 99 01 00 B4 */ stb r8, 0xb4(r1) +/* 800706AC 0006D60C D3 C1 00 A8 */ stfs f30, 0xa8(r1) +/* 800706B0 0006D610 93 A1 01 28 */ stw r29, 0x128(r1) +/* 800706B4 0006D614 99 21 01 2C */ stb r9, 0x12c(r1) +/* 800706B8 0006D618 D0 A1 01 30 */ stfs f5, 0x130(r1) +/* 800706BC 0006D61C D0 81 01 34 */ stfs f4, 0x134(r1) +/* 800706C0 0006D620 D0 61 01 38 */ stfs f3, 0x138(r1) +/* 800706C4 0006D624 D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 800706C8 0006D628 99 01 01 40 */ stb r8, 0x140(r1) +/* 800706CC 0006D62C 90 E1 00 10 */ stw r7, 0x10(r1) +/* 800706D0 0006D630 98 A1 00 14 */ stb r5, 0x14(r1) +/* 800706D4 0006D634 90 E1 01 0C */ stw r7, 0x10c(r1) +/* 800706D8 0006D638 98 A1 01 10 */ stb r5, 0x110(r1) +/* 800706DC 0006D63C D0 01 01 14 */ stfs f0, 0x114(r1) +/* 800706E0 0006D640 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 800706E4 0006D644 D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 800706E8 0006D648 D0 01 01 20 */ stfs f0, 0x120(r1) +/* 800706EC 0006D64C 98 61 01 24 */ stb r3, 0x124(r1) +/* 800706F0 0006D650 90 1E 01 F0 */ stw r0, 0x1f0(r30) +/* 800706F4 0006D654 41 82 00 20 */ beq lbl_80070714 +/* 800706F8 0006D658 90 EC 00 00 */ stw r7, 0(r12) +/* 800706FC 0006D65C 98 8C 00 04 */ stb r4, 4(r12) +/* 80070700 0006D660 D0 0C 00 08 */ stfs f0, 8(r12) +/* 80070704 0006D664 D0 CC 00 0C */ stfs f6, 0xc(r12) +/* 80070708 0006D668 D0 0C 00 10 */ stfs f0, 0x10(r12) +/* 8007070C 0006D66C D0 0C 00 14 */ stfs f0, 0x14(r12) +/* 80070710 0006D670 99 6C 00 18 */ stb r11, 0x18(r12) +lbl_80070714: +/* 80070714 0006D674 35 8C 00 1C */ addic. r12, r12, 0x1c +/* 80070718 0006D678 41 82 00 20 */ beq lbl_80070738 +/* 8007071C 0006D67C 90 EC 00 00 */ stw r7, 0(r12) +/* 80070720 0006D680 98 8C 00 04 */ stb r4, 4(r12) +/* 80070724 0006D684 D0 0C 00 08 */ stfs f0, 8(r12) +/* 80070728 0006D688 D0 CC 00 0C */ stfs f6, 0xc(r12) +/* 8007072C 0006D68C D0 0C 00 10 */ stfs f0, 0x10(r12) +/* 80070730 0006D690 D0 0C 00 14 */ stfs f0, 0x14(r12) +/* 80070734 0006D694 99 6C 00 18 */ stb r11, 0x18(r12) +lbl_80070738: +/* 80070738 0006D698 35 8C 00 1C */ addic. r12, r12, 0x1c +/* 8007073C 0006D69C 41 82 00 20 */ beq lbl_8007075C +/* 80070740 0006D6A0 90 EC 00 00 */ stw r7, 0(r12) +/* 80070744 0006D6A4 98 8C 00 04 */ stb r4, 4(r12) +/* 80070748 0006D6A8 D0 0C 00 08 */ stfs f0, 8(r12) +/* 8007074C 0006D6AC D0 CC 00 0C */ stfs f6, 0xc(r12) +/* 80070750 0006D6B0 D0 0C 00 10 */ stfs f0, 0x10(r12) +/* 80070754 0006D6B4 D0 0C 00 14 */ stfs f0, 0x14(r12) +/* 80070758 0006D6B8 99 6C 00 18 */ stb r11, 0x18(r12) +lbl_8007075C: +/* 8007075C 0006D6BC 35 8C 00 1C */ addic. r12, r12, 0x1c +/* 80070760 0006D6C0 41 82 00 20 */ beq lbl_80070780 +/* 80070764 0006D6C4 90 EC 00 00 */ stw r7, 0(r12) +/* 80070768 0006D6C8 98 8C 00 04 */ stb r4, 4(r12) +/* 8007076C 0006D6CC D0 0C 00 08 */ stfs f0, 8(r12) +/* 80070770 0006D6D0 D0 CC 00 0C */ stfs f6, 0xc(r12) +/* 80070774 0006D6D4 D0 0C 00 10 */ stfs f0, 0x10(r12) +/* 80070778 0006D6D8 D0 0C 00 14 */ stfs f0, 0x14(r12) +/* 8007077C 0006D6DC 99 6C 00 18 */ stb r11, 0x18(r12) +lbl_80070780: +/* 80070780 0006D6E0 35 8C 00 1C */ addic. r12, r12, 0x1c +/* 80070784 0006D6E4 41 82 00 20 */ beq lbl_800707A4 +/* 80070788 0006D6E8 90 EC 00 00 */ stw r7, 0(r12) +/* 8007078C 0006D6EC 98 8C 00 04 */ stb r4, 4(r12) +/* 80070790 0006D6F0 D0 0C 00 08 */ stfs f0, 8(r12) +/* 80070794 0006D6F4 D0 CC 00 0C */ stfs f6, 0xc(r12) +/* 80070798 0006D6F8 D0 0C 00 10 */ stfs f0, 0x10(r12) +/* 8007079C 0006D6FC D0 0C 00 14 */ stfs f0, 0x14(r12) +/* 800707A0 0006D700 99 6C 00 18 */ stb r11, 0x18(r12) +lbl_800707A4: +/* 800707A4 0006D704 38 00 00 05 */ li r0, 5 +/* 800707A8 0006D708 34 7E 02 84 */ addic. r3, r30, 0x284 +/* 800707AC 0006D70C 90 1E 02 80 */ stw r0, 0x280(r30) +/* 800707B0 0006D710 41 82 00 0C */ beq lbl_800707BC +/* 800707B4 0006D714 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) +/* 800707B8 0006D718 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800707BC: +/* 800707BC 0006D71C 34 63 00 04 */ addic. r3, r3, 4 +/* 800707C0 0006D720 41 82 00 0C */ beq lbl_800707CC +/* 800707C4 0006D724 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) +/* 800707C8 0006D728 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800707CC: +/* 800707CC 0006D72C 34 63 00 04 */ addic. r3, r3, 4 +/* 800707D0 0006D730 41 82 00 0C */ beq lbl_800707DC +/* 800707D4 0006D734 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) +/* 800707D8 0006D738 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800707DC: +/* 800707DC 0006D73C 34 63 00 04 */ addic. r3, r3, 4 +/* 800707E0 0006D740 41 82 00 0C */ beq lbl_800707EC +/* 800707E4 0006D744 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) +/* 800707E8 0006D748 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800707EC: +/* 800707EC 0006D74C 34 63 00 04 */ addic. r3, r3, 4 +/* 800707F0 0006D750 41 82 00 0C */ beq lbl_800707FC +/* 800707F4 0006D754 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) +/* 800707F8 0006D758 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800707FC: +/* 800707FC 0006D75C 7F C3 F3 78 */ mr r3, r30 +/* 80070800 0006D760 7F E4 FB 78 */ mr r4, r31 +/* 80070804 0006D764 4B FF F5 09 */ bl sub_8006fd0c +/* 80070808 0006D768 3B 40 00 00 */ li r26, 0 +/* 8007080C 0006D76C 3B 80 00 00 */ li r28, 0 +lbl_80070810: +/* 80070810 0006D770 7F E3 FB 78 */ mr r3, r31 +/* 80070814 0006D774 48 2C E4 71 */ bl ReadLong__12CInputStreamFv +/* 80070818 0006D778 7C 7D 1B 78 */ mr r29, r3 +/* 8007081C 0006D77C 7F E3 FB 78 */ mr r3, r31 +/* 80070820 0006D780 48 2C E4 09 */ bl ReadFloat__12CInputStreamFv +/* 80070824 0006D784 FF A0 08 90 */ fmr f29, f1 +/* 80070828 0006D788 7F E3 FB 78 */ mr r3, r31 +/* 8007082C 0006D78C 48 2C E3 FD */ bl ReadFloat__12CInputStreamFv +/* 80070830 0006D790 FF C0 08 90 */ fmr f30, f1 +/* 80070834 0006D794 7F E3 FB 78 */ mr r3, r31 +/* 80070838 0006D798 48 2C E3 F1 */ bl ReadFloat__12CInputStreamFv +/* 8007083C 0006D79C FF E0 08 90 */ fmr f31, f1 +/* 80070840 0006D7A0 7F E3 FB 78 */ mr r3, r31 +/* 80070844 0006D7A4 48 2C E3 E5 */ bl ReadFloat__12CInputStreamFv +/* 80070848 0006D7A8 88 A1 00 0C */ lbz r5, 0xc(r1) +/* 8007084C 0006D7AC 3B 60 00 00 */ li r27, 0 +/* 80070850 0006D7B0 53 65 3E 30 */ rlwimi r5, r27, 7, 0x18, 0x18 +/* 80070854 0006D7B4 38 00 00 01 */ li r0, 1 +/* 80070858 0006D7B8 54 A4 06 3E */ clrlwi r4, r5, 0x18 +/* 8007085C 0006D7BC 7C DE E2 14 */ add r6, r30, r28 +/* 80070860 0006D7C0 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 80070864 0006D7C4 FC 80 E8 18 */ frsp f4, f29 +/* 80070868 0006D7C8 54 83 06 3E */ clrlwi r3, r4, 0x18 +/* 8007086C 0006D7CC FC 60 F0 18 */ frsp f3, f30 +/* 80070870 0006D7D0 53 63 2E B4 */ rlwimi r3, r27, 5, 0x1a, 0x1a +/* 80070874 0006D7D4 FC 40 F8 18 */ frsp f2, f31 +/* 80070878 0006D7D8 98 61 00 F4 */ stb r3, 0xf4(r1) +/* 8007087C 0006D7DC FC 00 08 18 */ frsp f0, f1 +/* 80070880 0006D7E0 3B 5A 00 01 */ addi r26, r26, 1 +/* 80070884 0006D7E4 93 A6 01 F4 */ stw r29, 0x1f4(r6) +/* 80070888 0006D7E8 2C 1A 00 05 */ cmpwi r26, 5 +/* 8007088C 0006D7EC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80070890 0006D7F0 3B 9C 00 1C */ addi r28, r28, 0x1c +/* 80070894 0006D7F4 90 06 01 F8 */ stw r0, 0x1f8(r6) +/* 80070898 0006D7F8 88 01 00 98 */ lbz r0, 0x98(r1) +/* 8007089C 0006D7FC 53 60 3E 30 */ rlwimi r0, r27, 7, 0x18, 0x18 +/* 800708A0 0006D800 D0 86 01 FC */ stfs f4, 0x1fc(r6) +/* 800708A4 0006D804 D0 66 02 00 */ stfs f3, 0x200(r6) +/* 800708A8 0006D808 98 A1 00 0C */ stb r5, 0xc(r1) +/* 800708AC 0006D80C D0 46 02 04 */ stfs f2, 0x204(r6) +/* 800708B0 0006D810 98 81 00 0C */ stb r4, 0xc(r1) +/* 800708B4 0006D814 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 800708B8 0006D818 D0 06 02 08 */ stfs f0, 0x208(r6) +/* 800708BC 0006D81C 93 A1 00 08 */ stw r29, 8(r1) +/* 800708C0 0006D820 98 61 00 0C */ stb r3, 0xc(r1) +/* 800708C4 0006D824 93 A1 00 80 */ stw r29, 0x80(r1) +/* 800708C8 0006D828 98 61 00 84 */ stb r3, 0x84(r1) +/* 800708CC 0006D82C D3 A1 00 88 */ stfs f29, 0x88(r1) +/* 800708D0 0006D830 D3 E1 00 90 */ stfs f31, 0x90(r1) +/* 800708D4 0006D834 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 800708D8 0006D838 98 01 00 98 */ stb r0, 0x98(r1) +/* 800708DC 0006D83C D3 C1 00 8C */ stfs f30, 0x8c(r1) +/* 800708E0 0006D840 93 A1 00 F0 */ stw r29, 0xf0(r1) +/* 800708E4 0006D844 D0 81 00 F8 */ stfs f4, 0xf8(r1) +/* 800708E8 0006D848 D0 61 00 FC */ stfs f3, 0xfc(r1) +/* 800708EC 0006D84C D0 41 01 00 */ stfs f2, 0x100(r1) +/* 800708F0 0006D850 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 800708F4 0006D854 98 01 01 08 */ stb r0, 0x108(r1) +/* 800708F8 0006D858 98 06 02 0C */ stb r0, 0x20c(r6) +/* 800708FC 0006D85C 41 80 FF 14 */ blt lbl_80070810 +/* 80070900 0006D860 7F 7C DB 78 */ mr r28, r27 +lbl_80070904: +/* 80070904 0006D864 7F E3 FB 78 */ mr r3, r31 +/* 80070908 0006D868 48 2C E3 21 */ bl ReadFloat__12CInputStreamFv +/* 8007090C 0006D86C 3B 7B 00 01 */ addi r27, r27, 1 +/* 80070910 0006D870 7C 7E E2 14 */ add r3, r30, r28 +/* 80070914 0006D874 2C 1B 00 05 */ cmpwi r27, 5 +/* 80070918 0006D878 D0 23 02 84 */ stfs f1, 0x284(r3) +/* 8007091C 0006D87C 3B 9C 00 04 */ addi r28, r28, 4 +/* 80070920 0006D880 41 80 FF E4 */ blt lbl_80070904 +/* 80070924 0006D884 7F C3 F3 78 */ mr r3, r30 +/* 80070928 0006D888 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 8007092C 0006D88C CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 80070930 0006D890 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 80070934 0006D894 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 80070938 0006D898 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 +/* 8007093C 0006D89C CB A1 01 A0 */ lfd f29, 0x1a0(r1) +/* 80070940 0006D8A0 BB 41 01 88 */ lmw r26, 0x188(r1) +/* 80070944 0006D8A4 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 80070948 0006D8A8 7C 08 03 A6 */ mtlr r0 +/* 8007094C 0006D8AC 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 80070950 0006D8B0 4E 80 00 20 */ blr + +.global __dt__15CTweakPlayerGunFv +__dt__15CTweakPlayerGunFv: +/* 80070954 0006D8B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80070958 0006D8B8 7C 08 02 A6 */ mflr r0 +/* 8007095C 0006D8BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80070960 0006D8C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80070964 0006D8C4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80070968 0006D8C8 41 82 00 EC */ beq lbl_80070A54 +/* 8007096C 0006D8CC 3C 60 80 3E */ lis r3, lbl_803DA384@ha +/* 80070970 0006D8D0 34 1F 02 80 */ addic. r0, r31, 0x280 +/* 80070974 0006D8D4 38 03 A3 84 */ addi r0, r3, lbl_803DA384@l +/* 80070978 0006D8D8 90 1F 00 00 */ stw r0, 0(r31) +/* 8007097C 0006D8DC 41 82 00 58 */ beq lbl_800709D4 +/* 80070980 0006D8E0 80 DF 02 80 */ lwz r6, 0x280(r31) +/* 80070984 0006D8E4 38 60 00 00 */ li r3, 0 +/* 80070988 0006D8E8 2C 06 00 00 */ cmpwi r6, 0 +/* 8007098C 0006D8EC 40 81 00 40 */ ble lbl_800709CC +/* 80070990 0006D8F0 2C 06 00 08 */ cmpwi r6, 8 +/* 80070994 0006D8F4 38 A6 FF F8 */ addi r5, r6, -8 +/* 80070998 0006D8F8 40 81 00 20 */ ble lbl_800709B8 +/* 8007099C 0006D8FC 38 05 00 07 */ addi r0, r5, 7 +/* 800709A0 0006D900 54 00 E8 FE */ srwi r0, r0, 3 +/* 800709A4 0006D904 7C 09 03 A6 */ mtctr r0 +/* 800709A8 0006D908 2C 05 00 00 */ cmpwi r5, 0 +/* 800709AC 0006D90C 40 81 00 0C */ ble lbl_800709B8 +lbl_800709B0: +/* 800709B0 0006D910 38 63 00 08 */ addi r3, r3, 8 +/* 800709B4 0006D914 42 00 FF FC */ bdnz lbl_800709B0 +lbl_800709B8: +/* 800709B8 0006D918 7C 03 30 50 */ subf r0, r3, r6 +/* 800709BC 0006D91C 7C 09 03 A6 */ mtctr r0 +/* 800709C0 0006D920 7C 03 30 00 */ cmpw r3, r6 +/* 800709C4 0006D924 40 80 00 08 */ bge lbl_800709CC +lbl_800709C8: +/* 800709C8 0006D928 42 00 00 00 */ bdnz lbl_800709C8 +lbl_800709CC: +/* 800709CC 0006D92C 38 00 00 00 */ li r0, 0 +/* 800709D0 0006D930 90 1F 02 80 */ stw r0, 0x280(r31) +lbl_800709D4: +/* 800709D4 0006D934 34 1F 01 F0 */ addic. r0, r31, 0x1f0 +/* 800709D8 0006D938 41 82 00 58 */ beq lbl_80070A30 +/* 800709DC 0006D93C 80 DF 01 F0 */ lwz r6, 0x1f0(r31) +/* 800709E0 0006D940 38 60 00 00 */ li r3, 0 +/* 800709E4 0006D944 2C 06 00 00 */ cmpwi r6, 0 +/* 800709E8 0006D948 40 81 00 40 */ ble lbl_80070A28 +/* 800709EC 0006D94C 2C 06 00 08 */ cmpwi r6, 8 +/* 800709F0 0006D950 38 A6 FF F8 */ addi r5, r6, -8 +/* 800709F4 0006D954 40 81 00 20 */ ble lbl_80070A14 +/* 800709F8 0006D958 38 05 00 07 */ addi r0, r5, 7 +/* 800709FC 0006D95C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80070A00 0006D960 7C 09 03 A6 */ mtctr r0 +/* 80070A04 0006D964 2C 05 00 00 */ cmpwi r5, 0 +/* 80070A08 0006D968 40 81 00 0C */ ble lbl_80070A14 +lbl_80070A0C: +/* 80070A0C 0006D96C 38 63 00 08 */ addi r3, r3, 8 +/* 80070A10 0006D970 42 00 FF FC */ bdnz lbl_80070A0C +lbl_80070A14: +/* 80070A14 0006D974 7C 03 30 50 */ subf r0, r3, r6 +/* 80070A18 0006D978 7C 09 03 A6 */ mtctr r0 +/* 80070A1C 0006D97C 7C 03 30 00 */ cmpw r3, r6 +/* 80070A20 0006D980 40 80 00 08 */ bge lbl_80070A28 +lbl_80070A24: +/* 80070A24 0006D984 42 00 00 00 */ bdnz lbl_80070A24 +lbl_80070A28: +/* 80070A28 0006D988 38 00 00 00 */ li r0, 0 +/* 80070A2C 0006D98C 90 1F 01 F0 */ stw r0, 0x1f0(r31) +lbl_80070A30: +/* 80070A30 0006D990 28 1F 00 00 */ cmplwi r31, 0 +/* 80070A34 0006D994 41 82 00 10 */ beq lbl_80070A44 +/* 80070A38 0006D998 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 80070A3C 0006D99C 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 80070A40 0006D9A0 90 1F 00 00 */ stw r0, 0(r31) +lbl_80070A44: +/* 80070A44 0006D9A4 7C 80 07 35 */ extsh. r0, r4 +/* 80070A48 0006D9A8 40 81 00 0C */ ble lbl_80070A54 +/* 80070A4C 0006D9AC 7F E3 FB 78 */ mr r3, r31 +/* 80070A50 0006D9B0 48 00 00 1D */ bl "__dl__29TOneStatic<15CTweakPlayerGun>FPv" +lbl_80070A54: +/* 80070A54 0006D9B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80070A58 0006D9B8 7F E3 FB 78 */ mr r3, r31 +/* 80070A5C 0006D9BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80070A60 0006D9C0 7C 08 03 A6 */ mtlr r0 +/* 80070A64 0006D9C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80070A68 0006D9C8 4E 80 00 20 */ blr + +.global "__dl__29TOneStatic<15CTweakPlayerGun>FPv" +"__dl__29TOneStatic<15CTweakPlayerGun>FPv": +/* 80070A6C 0006D9CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80070A70 0006D9D0 7C 08 02 A6 */ mflr r0 +/* 80070A74 0006D9D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80070A78 0006D9D8 4B FC 65 ED */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv" +/* 80070A7C 0006D9DC 80 83 00 00 */ lwz r4, 0(r3) +/* 80070A80 0006D9E0 38 04 FF FF */ addi r0, r4, -1 +/* 80070A84 0006D9E4 90 03 00 00 */ stw r0, 0(r3) +/* 80070A88 0006D9E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80070A8C 0006D9EC 7C 08 03 A6 */ mtlr r0 +/* 80070A90 0006D9F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80070A94 0006D9F4 4E 80 00 20 */ blr + +.global GetCameraYBias__16CPauseScreenBaseCFv +GetCameraYBias__16CPauseScreenBaseCFv: +/* 80070A98 0006D9F8 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) +/* 80070A9C 0006D9FC 4E 80 00 20 */ blr + +.global IsRightLogDynamic__16CPauseScreenBaseCFv +IsRightLogDynamic__16CPauseScreenBaseCFv: +/* 80070AA0 0006DA00 38 60 00 00 */ li r3, 0 +/* 80070AA4 0006DA04 4E 80 00 20 */ blr + +.global UpdateRightLogColors__16CPauseScreenBaseFbRC6CColor +UpdateRightLogColors__16CPauseScreenBaseFbRC6CColor: +/* 80070AA8 0006DA08 4E 80 00 20 */ blr + +.global UpdateRightLogHighlight__16CPauseScreenBaseFbiRC6CColorRC6CColor +UpdateRightLogHighlight__16CPauseScreenBaseFbiRC6CColorRC6CColor: +/* 80070AAC 0006DA0C 4E 80 00 20 */ blr + +.global ShouldExitPauseScreen__16CPauseScreenBaseCFv +ShouldExitPauseScreen__16CPauseScreenBaseCFv: +/* 80070AB0 0006DA10 88 03 01 98 */ lbz r0, 0x198(r3) +/* 80070AB4 0006DA14 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f +/* 80070AB8 0006DA18 4E 80 00 20 */ blr + +.global InputDisabled__16CPauseScreenBaseCFv +InputDisabled__16CPauseScreenBaseCFv: +/* 80070ABC 0006DA1C 38 60 00 00 */ li r3, 0 +/* 80070AC0 0006DA20 4E 80 00 20 */ blr + +.global TransitioningAway__16CPauseScreenBaseFv +TransitioningAway__16CPauseScreenBaseFv: +/* 80070AC4 0006DA24 4E 80 00 20 */ blr + +.global OnRightTableCancel__16CPauseScreenBaseFP14CGuiTableGroup +OnRightTableCancel__16CPauseScreenBaseFP14CGuiTableGroup: +/* 80070AC8 0006DA28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80070ACC 0006DA2C 7C 08 02 A6 */ mflr r0 +/* 80070AD0 0006DA30 38 80 00 00 */ li r4, 0 +/* 80070AD4 0006DA34 90 01 00 14 */ stw r0, 0x14(r1) +/* 80070AD8 0006DA38 48 00 03 3D */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode +/* 80070ADC 0006DA3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80070AE0 0006DA40 7C 08 03 A6 */ mtlr r0 +/* 80070AE4 0006DA44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80070AE8 0006DA48 4E 80 00 20 */ blr + +.global nullsub_63 +nullsub_63: +/* 80070AEC 0006DA4C 4E 80 00 20 */ blr + +.global SetRightTableSelection__16CPauseScreenBaseFii +SetRightTableSelection__16CPauseScreenBaseFii: +/* 80070AF0 0006DA50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80070AF4 0006DA54 7C 08 02 A6 */ mflr r0 +/* 80070AF8 0006DA58 90 01 00 34 */ stw r0, 0x34(r1) +/* 80070AFC 0006DA5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80070B00 0006DA60 7C BF 2B 78 */ mr r31, r5 +/* 80070B04 0006DA64 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80070B08 0006DA68 7C 9E 23 78 */ mr r30, r4 +/* 80070B0C 0006DA6C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80070B10 0006DA70 7C 7D 1B 78 */ mr r29, r3 +/* 80070B14 0006DA74 93 81 00 20 */ stw r28, 0x20(r1) +/* 80070B18 0006DA78 81 83 00 00 */ lwz r12, 0(r3) +/* 80070B1C 0006DA7C 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 80070B20 0006DA80 7D 89 03 A6 */ mtctr r12 +/* 80070B24 0006DA84 4E 80 04 21 */ bctrl +/* 80070B28 0006DA88 83 9D 00 1C */ lwz r28, 0x1c(r29) +/* 80070B2C 0006DA8C 38 63 FF FF */ addi r3, r3, -1 +/* 80070B30 0006DA90 7C 1E F8 50 */ subf r0, r30, r31 +/* 80070B34 0006DA94 38 81 00 10 */ addi r4, r1, 0x10 +/* 80070B38 0006DA98 90 61 00 0C */ stw r3, 0xc(r1) +/* 80070B3C 0006DA9C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80070B40 0006DAA0 38 6D 83 C8 */ addi r3, r13, lbl_805A6F88@sda21 +/* 80070B44 0006DAA4 80 DD 00 1C */ lwz r6, 0x1c(r29) +/* 80070B48 0006DAA8 7C 06 02 14 */ add r0, r6, r0 +/* 80070B4C 0006DAAC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80070B50 0006DAB0 4B FE 95 15 */ bl "Clamp__5CMathFRCiRCiRCi" +/* 80070B54 0006DAB4 80 03 00 00 */ lwz r0, 0(r3) +/* 80070B58 0006DAB8 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 80070B5C 0006DABC 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 80070B60 0006DAC0 7C 1C 00 00 */ cmpw r28, r0 +/* 80070B64 0006DAC4 41 82 00 28 */ beq lbl_80070B8C +/* 80070B68 0006DAC8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80070B6C 0006DACC 38 61 00 08 */ addi r3, r1, 8 +/* 80070B70 0006DAD0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80070B74 0006DAD4 38 80 05 9C */ li r4, 0x59c +/* 80070B78 0006DAD8 38 A0 00 7F */ li r5, 0x7f +/* 80070B7C 0006DADC 38 C0 00 40 */ li r6, 0x40 +/* 80070B80 0006DAE0 38 E0 00 00 */ li r7, 0 +/* 80070B84 0006DAE4 39 20 00 00 */ li r9, 0 +/* 80070B88 0006DAE8 48 27 91 ED */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_80070B8C: +/* 80070B8C 0006DAEC 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 80070B90 0006DAF0 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 80070B94 0006DAF4 7C 03 20 00 */ cmpw r3, r4 +/* 80070B98 0006DAF8 40 80 00 0C */ bge lbl_80070BA4 +/* 80070B9C 0006DAFC 90 7D 00 18 */ stw r3, 0x18(r29) +/* 80070BA0 0006DB00 48 00 00 18 */ b lbl_80070BB8 +lbl_80070BA4: +/* 80070BA4 0006DB04 38 04 00 05 */ addi r0, r4, 5 +/* 80070BA8 0006DB08 7C 03 00 00 */ cmpw r3, r0 +/* 80070BAC 0006DB0C 41 80 00 0C */ blt lbl_80070BB8 +/* 80070BB0 0006DB10 38 03 FF FC */ addi r0, r3, -4 +/* 80070BB4 0006DB14 90 1D 00 18 */ stw r0, 0x18(r29) +lbl_80070BB8: +/* 80070BB8 0006DB18 80 DD 00 84 */ lwz r6, 0x84(r29) +/* 80070BBC 0006DB1C 7F A3 EB 78 */ mr r3, r29 +/* 80070BC0 0006DB20 80 9D 00 1C */ lwz r4, 0x1c(r29) +/* 80070BC4 0006DB24 80 BD 00 18 */ lwz r5, 0x18(r29) +/* 80070BC8 0006DB28 80 06 00 C4 */ lwz r0, 0xc4(r6) +/* 80070BCC 0006DB2C 38 84 00 01 */ addi r4, r4, 1 +/* 80070BD0 0006DB30 7C 85 20 50 */ subf r4, r5, r4 +/* 80070BD4 0006DB34 90 06 00 C8 */ stw r0, 0xc8(r6) +/* 80070BD8 0006DB38 90 86 00 C4 */ stw r4, 0xc4(r6) +/* 80070BDC 0006DB3C 80 9D 00 84 */ lwz r4, 0x84(r29) +/* 80070BE0 0006DB40 48 00 05 05 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 80070BE4 0006DB44 7F A3 EB 78 */ mr r3, r29 +/* 80070BE8 0006DB48 7F C4 F3 78 */ mr r4, r30 +/* 80070BEC 0006DB4C 81 9D 00 00 */ lwz r12, 0(r29) +/* 80070BF0 0006DB50 7F E5 FB 78 */ mr r5, r31 +/* 80070BF4 0006DB54 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80070BF8 0006DB58 7D 89 03 A6 */ mtctr r12 +/* 80070BFC 0006DB5C 4E 80 04 21 */ bctrl +/* 80070C00 0006DB60 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80070C04 0006DB64 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80070C08 0006DB68 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80070C0C 0006DB6C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80070C10 0006DB70 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80070C14 0006DB74 7C 08 03 A6 */ mtlr r0 +/* 80070C18 0006DB78 38 21 00 30 */ addi r1, r1, 0x30 +/* 80070C1C 0006DB7C 4E 80 00 20 */ blr + +.global OnTableSelectionChange__16CPauseScreenBaseFP14CGuiTableGroupi +OnTableSelectionChange__16CPauseScreenBaseFP14CGuiTableGroupi: +/* 80070C20 0006DB80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80070C24 0006DB84 7C 08 02 A6 */ mflr r0 +/* 80070C28 0006DB88 90 01 00 24 */ stw r0, 0x24(r1) +/* 80070C2C 0006DB8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80070C30 0006DB90 7C BF 2B 78 */ mr r31, r5 +/* 80070C34 0006DB94 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80070C38 0006DB98 7C 9E 23 78 */ mr r30, r4 +/* 80070C3C 0006DB9C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80070C40 0006DBA0 7C 7D 1B 78 */ mr r29, r3 +/* 80070C44 0006DBA4 48 00 04 A1 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 80070C48 0006DBA8 80 1D 00 70 */ lwz r0, 0x70(r29) +/* 80070C4C 0006DBAC 7C 1E 00 40 */ cmplw r30, r0 +/* 80070C50 0006DBB0 40 82 00 40 */ bne lbl_80070C90 +/* 80070C54 0006DBB4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80070C58 0006DBB8 38 61 00 08 */ addi r3, r1, 8 +/* 80070C5C 0006DBBC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80070C60 0006DBC0 38 80 05 9C */ li r4, 0x59c +/* 80070C64 0006DBC4 38 A0 00 7F */ li r5, 0x7f +/* 80070C68 0006DBC8 38 C0 00 40 */ li r6, 0x40 +/* 80070C6C 0006DBCC 38 E0 00 00 */ li r7, 0 +/* 80070C70 0006DBD0 39 20 00 00 */ li r9, 0 +/* 80070C74 0006DBD4 48 27 91 01 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80070C78 0006DBD8 7F A3 EB 78 */ mr r3, r29 +/* 80070C7C 0006DBDC 81 9D 00 00 */ lwz r12, 0(r29) +/* 80070C80 0006DBE0 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80070C84 0006DBE4 7D 89 03 A6 */ mtctr r12 +/* 80070C88 0006DBE8 4E 80 04 21 */ bctrl +/* 80070C8C 0006DBEC 48 00 00 18 */ b lbl_80070CA4 +lbl_80070C90: +/* 80070C90 0006DBF0 80 BD 00 84 */ lwz r5, 0x84(r29) +/* 80070C94 0006DBF4 7F A3 EB 78 */ mr r3, r29 +/* 80070C98 0006DBF8 7F E4 FB 78 */ mr r4, r31 +/* 80070C9C 0006DBFC 80 A5 00 C4 */ lwz r5, 0xc4(r5) +/* 80070CA0 0006DC00 4B FF FE 51 */ bl SetRightTableSelection__16CPauseScreenBaseFii +lbl_80070CA4: +/* 80070CA4 0006DC04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80070CA8 0006DC08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80070CAC 0006DC0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80070CB0 0006DC10 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80070CB4 0006DC14 7C 08 03 A6 */ mtlr r0 +/* 80070CB8 0006DC18 38 21 00 20 */ addi r1, r1, 0x20 +/* 80070CBC 0006DC1C 4E 80 00 20 */ blr + +.global OnRightTableAdvance__16CPauseScreenBaseFP14CGuiTableGroup +OnRightTableAdvance__16CPauseScreenBaseFP14CGuiTableGroup: +/* 80070CC0 0006DC20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80070CC4 0006DC24 7C 08 02 A6 */ mflr r0 +/* 80070CC8 0006DC28 90 01 00 24 */ stw r0, 0x24(r1) +/* 80070CCC 0006DC2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80070CD0 0006DC30 7C 7F 1B 78 */ mr r31, r3 +/* 80070CD4 0006DC34 81 83 00 00 */ lwz r12, 0(r3) +/* 80070CD8 0006DC38 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80070CDC 0006DC3C 7D 89 03 A6 */ mtctr r12 +/* 80070CE0 0006DC40 4E 80 04 21 */ bctrl +/* 80070CE4 0006DC44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80070CE8 0006DC48 41 82 00 40 */ beq lbl_80070D28 +/* 80070CEC 0006DC4C 88 1F 01 98 */ lbz r0, 0x198(r31) +/* 80070CF0 0006DC50 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80070CF4 0006DC54 40 82 00 34 */ bne lbl_80070D28 +/* 80070CF8 0006DC58 7F E3 FB 78 */ mr r3, r31 +/* 80070CFC 0006DC5C 38 80 00 02 */ li r4, 2 +/* 80070D00 0006DC60 48 00 01 15 */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode +/* 80070D04 0006DC64 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80070D08 0006DC68 38 61 00 08 */ addi r3, r1, 8 +/* 80070D0C 0006DC6C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80070D10 0006DC70 38 80 05 98 */ li r4, 0x598 +/* 80070D14 0006DC74 38 A0 00 7F */ li r5, 0x7f +/* 80070D18 0006DC78 38 C0 00 40 */ li r6, 0x40 +/* 80070D1C 0006DC7C 38 E0 00 00 */ li r7, 0 +/* 80070D20 0006DC80 39 20 00 00 */ li r9, 0 +/* 80070D24 0006DC84 48 27 90 51 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_80070D28: +/* 80070D28 0006DC88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80070D2C 0006DC8C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80070D30 0006DC90 7C 08 03 A6 */ mtlr r0 +/* 80070D34 0006DC94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80070D38 0006DC98 4E 80 00 20 */ blr + +.global ShouldRightTableAdvance__16CPauseScreenBaseFv +ShouldRightTableAdvance__16CPauseScreenBaseFv: +/* 80070D3C 0006DC9C 38 60 00 01 */ li r3, 1 +/* 80070D40 0006DCA0 4E 80 00 20 */ blr + +.global OnLeftTableAdvance__16CPauseScreenBaseFP14CGuiTableGroup +OnLeftTableAdvance__16CPauseScreenBaseFP14CGuiTableGroup: +/* 80070D44 0006DCA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80070D48 0006DCA8 7C 08 02 A6 */ mflr r0 +/* 80070D4C 0006DCAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80070D50 0006DCB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80070D54 0006DCB4 7C 7F 1B 78 */ mr r31, r3 +/* 80070D58 0006DCB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80070D5C 0006DCBC 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80070D60 0006DCC0 7D 89 03 A6 */ mtctr r12 +/* 80070D64 0006DCC4 4E 80 04 21 */ bctrl +/* 80070D68 0006DCC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80070D6C 0006DCCC 41 82 00 44 */ beq lbl_80070DB0 +/* 80070D70 0006DCD0 7F E3 FB 78 */ mr r3, r31 +/* 80070D74 0006DCD4 38 80 00 01 */ li r4, 1 +/* 80070D78 0006DCD8 48 00 00 9D */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode +/* 80070D7C 0006DCDC 88 1F 01 98 */ lbz r0, 0x198(r31) +/* 80070D80 0006DCE0 38 60 00 01 */ li r3, 1 +/* 80070D84 0006DCE4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80070D88 0006DCE8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80070D8C 0006DCEC 98 1F 01 98 */ stb r0, 0x198(r31) +/* 80070D90 0006DCF0 38 61 00 08 */ addi r3, r1, 8 +/* 80070D94 0006DCF4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80070D98 0006DCF8 38 80 05 98 */ li r4, 0x598 +/* 80070D9C 0006DCFC 38 A0 00 7F */ li r5, 0x7f +/* 80070DA0 0006DD00 38 C0 00 40 */ li r6, 0x40 +/* 80070DA4 0006DD04 38 E0 00 00 */ li r7, 0 +/* 80070DA8 0006DD08 39 20 00 00 */ li r9, 0 +/* 80070DAC 0006DD0C 48 27 8F C9 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_80070DB0: +/* 80070DB0 0006DD10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80070DB4 0006DD14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80070DB8 0006DD18 7C 08 03 A6 */ mtlr r0 +/* 80070DBC 0006DD1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80070DC0 0006DD20 4E 80 00 20 */ blr + +.global ShouldLeftTableAdvance__16CPauseScreenBaseFv +ShouldLeftTableAdvance__16CPauseScreenBaseFv: +/* 80070DC4 0006DD24 38 60 00 01 */ li r3, 1 +/* 80070DC8 0006DD28 4E 80 00 20 */ blr + +.global UpdateRightTable__16CPauseScreenBaseFv +UpdateRightTable__16CPauseScreenBaseFv: +/* 80070DCC 0006DD2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80070DD0 0006DD30 7C 08 02 A6 */ mflr r0 +/* 80070DD4 0006DD34 38 80 00 00 */ li r4, 0 +/* 80070DD8 0006DD38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80070DDC 0006DD3C 38 00 00 01 */ li r0, 1 +/* 80070DE0 0006DD40 90 83 00 18 */ stw r4, 0x18(r3) +/* 80070DE4 0006DD44 90 83 00 1C */ stw r4, 0x1c(r3) +/* 80070DE8 0006DD48 80 A3 00 84 */ lwz r5, 0x84(r3) +/* 80070DEC 0006DD4C 80 85 00 C4 */ lwz r4, 0xc4(r5) +/* 80070DF0 0006DD50 90 85 00 C8 */ stw r4, 0xc8(r5) +/* 80070DF4 0006DD54 90 05 00 C4 */ stw r0, 0xc4(r5) +/* 80070DF8 0006DD58 80 83 00 84 */ lwz r4, 0x84(r3) +/* 80070DFC 0006DD5C 48 00 02 E9 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 80070E00 0006DD60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80070E04 0006DD64 7C 08 03 A6 */ mtlr r0 +/* 80070E08 0006DD68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80070E0C 0006DD6C 4E 80 00 20 */ blr + +.global ChangedMode__16CPauseScreenBaseQ216CPauseScreenBase5EMode +ChangedMode__16CPauseScreenBaseQ216CPauseScreenBase5EMode: +/* 80070E10 0006DD70 4E 80 00 20 */ blr + +.global ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode +ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode: +/* 80070E14 0006DD74 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80070E18 0006DD78 7C 08 02 A6 */ mflr r0 +/* 80070E1C 0006DD7C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80070E20 0006DD80 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80070E24 0006DD84 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80070E28 0006DD88 7C 9E 23 78 */ mr r30, r4 +/* 80070E2C 0006DD8C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80070E30 0006DD90 7C 7D 1B 78 */ mr r29, r3 +/* 80070E34 0006DD94 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80070E38 0006DD98 7C 1E 00 00 */ cmpw r30, r0 +/* 80070E3C 0006DD9C 41 82 02 8C */ beq lbl_800710C8 +/* 80070E40 0006DDA0 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 80070E44 0006DDA4 7C 1F 03 78 */ mr r31, r0 +/* 80070E48 0006DDA8 C0 02 88 34 */ lfs f0, lbl_805AA554@sda21(r2) +/* 80070E4C 0006DDAC 80 63 01 BC */ lwz r3, 0x1bc(r3) +/* 80070E50 0006DDB0 90 61 00 18 */ stw r3, 0x18(r1) +/* 80070E54 0006DDB4 F0 01 A0 08 */ psq_st f0, 8(r1), 1, qr2 +/* 80070E58 0006DDB8 88 01 00 08 */ lbz r0, 8(r1) +/* 80070E5C 0006DDBC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80070E60 0006DDC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80070E64 0006DDC4 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 80070E68 0006DDC8 2C 00 00 01 */ cmpwi r0, 1 +/* 80070E6C 0006DDCC 41 82 00 40 */ beq lbl_80070EAC +/* 80070E70 0006DDD0 40 80 00 14 */ bge lbl_80070E84 +/* 80070E74 0006DDD4 2C 00 FF FF */ cmpwi r0, -1 +/* 80070E78 0006DDD8 41 82 00 34 */ beq lbl_80070EAC +/* 80070E7C 0006DDDC 40 80 00 14 */ bge lbl_80070E90 +/* 80070E80 0006DDE0 48 00 00 AC */ b lbl_80070F2C +lbl_80070E84: +/* 80070E84 0006DDE4 2C 00 00 03 */ cmpwi r0, 3 +/* 80070E88 0006DDE8 40 80 00 A4 */ bge lbl_80070F2C +/* 80070E8C 0006DDEC 48 00 00 7C */ b lbl_80070F08 +lbl_80070E90: +/* 80070E90 0006DDF0 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 80070E94 0006DDF4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80070E98 0006DDF8 48 25 99 D5 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80070E9C 0006DDFC 80 7D 00 70 */ lwz r3, 0x70(r29) +/* 80070EA0 0006DE00 38 80 00 00 */ li r4, 0 +/* 80070EA4 0006DE04 48 25 97 41 */ bl SetIsActive__10CGuiWidgetFb +/* 80070EA8 0006DE08 48 00 00 84 */ b lbl_80070F2C +lbl_80070EAC: +/* 80070EAC 0006DE0C 7F A3 EB 78 */ mr r3, r29 +/* 80070EB0 0006DE10 81 9D 00 00 */ lwz r12, 0(r29) +/* 80070EB4 0006DE14 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 80070EB8 0006DE18 7D 89 03 A6 */ mtctr r12 +/* 80070EBC 0006DE1C 4E 80 04 21 */ bctrl +/* 80070EC0 0006DE20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80070EC4 0006DE24 41 82 00 28 */ beq lbl_80070EEC +/* 80070EC8 0006DE28 7F A3 EB 78 */ mr r3, r29 +/* 80070ECC 0006DE2C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80070ED0 0006DE30 81 9D 00 00 */ lwz r12, 0(r29) +/* 80070ED4 0006DE34 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80070ED8 0006DE38 38 80 00 00 */ li r4, 0 +/* 80070EDC 0006DE3C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80070EE0 0006DE40 7D 89 03 A6 */ mtctr r12 +/* 80070EE4 0006DE44 4E 80 04 21 */ bctrl +/* 80070EE8 0006DE48 48 00 00 10 */ b lbl_80070EF8 +lbl_80070EEC: +/* 80070EEC 0006DE4C 80 7D 00 80 */ lwz r3, 0x80(r29) +/* 80070EF0 0006DE50 38 81 00 14 */ addi r4, r1, 0x14 +/* 80070EF4 0006DE54 48 25 99 79 */ bl SetColor__10CGuiWidgetFRC6CColor +lbl_80070EF8: +/* 80070EF8 0006DE58 80 7D 00 84 */ lwz r3, 0x84(r29) +/* 80070EFC 0006DE5C 38 80 00 00 */ li r4, 0 +/* 80070F00 0006DE60 48 25 96 E5 */ bl SetIsActive__10CGuiWidgetFb +/* 80070F04 0006DE64 48 00 00 28 */ b lbl_80070F2C +lbl_80070F08: +/* 80070F08 0006DE68 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80070F0C 0006DE6C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80070F10 0006DE70 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80070F14 0006DE74 38 80 05 97 */ li r4, 0x597 +/* 80070F18 0006DE78 38 A0 00 7F */ li r5, 0x7f +/* 80070F1C 0006DE7C 38 C0 00 40 */ li r6, 0x40 +/* 80070F20 0006DE80 38 E0 00 00 */ li r7, 0 +/* 80070F24 0006DE84 39 20 00 00 */ li r9, 0 +/* 80070F28 0006DE88 48 27 8E 4D */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_80070F2C: +/* 80070F2C 0006DE8C 93 DD 00 10 */ stw r30, 0x10(r29) +/* 80070F30 0006DE90 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 80070F34 0006DE94 2C 00 00 01 */ cmpwi r0, 1 +/* 80070F38 0006DE98 41 82 00 A0 */ beq lbl_80070FD8 +/* 80070F3C 0006DE9C 40 80 00 10 */ bge lbl_80070F4C +/* 80070F40 0006DEA0 2C 00 00 00 */ cmpwi r0, 0 +/* 80070F44 0006DEA4 40 80 00 14 */ bge lbl_80070F58 +/* 80070F48 0006DEA8 48 00 01 68 */ b lbl_800710B0 +lbl_80070F4C: +/* 80070F4C 0006DEAC 2C 00 00 03 */ cmpwi r0, 3 +/* 80070F50 0006DEB0 40 80 01 60 */ bge lbl_800710B0 +/* 80070F54 0006DEB4 48 00 00 EC */ b lbl_80071040 +lbl_80070F58: +/* 80070F58 0006DEB8 2C 1F 00 01 */ cmpwi r31, 1 +/* 80070F5C 0006DEBC 40 82 00 28 */ bne lbl_80070F84 +/* 80070F60 0006DEC0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80070F64 0006DEC4 38 61 00 0C */ addi r3, r1, 0xc +/* 80070F68 0006DEC8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80070F6C 0006DECC 38 80 05 97 */ li r4, 0x597 +/* 80070F70 0006DED0 38 A0 00 7F */ li r5, 0x7f +/* 80070F74 0006DED4 38 C0 00 40 */ li r6, 0x40 +/* 80070F78 0006DED8 38 E0 00 00 */ li r7, 0 +/* 80070F7C 0006DEDC 39 20 00 00 */ li r9, 0 +/* 80070F80 0006DEE0 48 27 8D F5 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_80070F84: +/* 80070F84 0006DEE4 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 80070F88 0006DEE8 38 81 00 18 */ addi r4, r1, 0x18 +/* 80070F8C 0006DEEC 48 25 98 E1 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80070F90 0006DEF0 80 7D 00 70 */ lwz r3, 0x70(r29) +/* 80070F94 0006DEF4 38 80 00 01 */ li r4, 1 +/* 80070F98 0006DEF8 48 25 96 4D */ bl SetIsActive__10CGuiWidgetFb +/* 80070F9C 0006DEFC 80 9D 00 70 */ lwz r4, 0x70(r29) +/* 80070FA0 0006DF00 7F A3 EB 78 */ mr r3, r29 +/* 80070FA4 0006DF04 48 00 01 41 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 80070FA8 0006DF08 38 80 00 00 */ li r4, 0 +/* 80070FAC 0006DF0C 38 00 00 01 */ li r0, 1 +/* 80070FB0 0006DF10 90 9D 00 18 */ stw r4, 0x18(r29) +/* 80070FB4 0006DF14 7F A3 EB 78 */ mr r3, r29 +/* 80070FB8 0006DF18 90 9D 00 1C */ stw r4, 0x1c(r29) +/* 80070FBC 0006DF1C 80 BD 00 84 */ lwz r5, 0x84(r29) +/* 80070FC0 0006DF20 80 85 00 C4 */ lwz r4, 0xc4(r5) +/* 80070FC4 0006DF24 90 85 00 C8 */ stw r4, 0xc8(r5) +/* 80070FC8 0006DF28 90 05 00 C4 */ stw r0, 0xc4(r5) +/* 80070FCC 0006DF2C 80 9D 00 84 */ lwz r4, 0x84(r29) +/* 80070FD0 0006DF30 48 00 01 15 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 80070FD4 0006DF34 48 00 00 DC */ b lbl_800710B0 +lbl_80070FD8: +/* 80070FD8 0006DF38 7F A3 EB 78 */ mr r3, r29 +/* 80070FDC 0006DF3C 81 9D 00 00 */ lwz r12, 0(r29) +/* 80070FE0 0006DF40 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 80070FE4 0006DF44 7D 89 03 A6 */ mtctr r12 +/* 80070FE8 0006DF48 4E 80 04 21 */ bctrl +/* 80070FEC 0006DF4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80070FF0 0006DF50 41 82 00 28 */ beq lbl_80071018 +/* 80070FF4 0006DF54 7F A3 EB 78 */ mr r3, r29 +/* 80070FF8 0006DF58 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80070FFC 0006DF5C 81 9D 00 00 */ lwz r12, 0(r29) +/* 80071000 0006DF60 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80071004 0006DF64 38 80 00 01 */ li r4, 1 +/* 80071008 0006DF68 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8007100C 0006DF6C 7D 89 03 A6 */ mtctr r12 +/* 80071010 0006DF70 4E 80 04 21 */ bctrl +/* 80071014 0006DF74 48 00 00 10 */ b lbl_80071024 +lbl_80071018: +/* 80071018 0006DF78 80 7D 00 80 */ lwz r3, 0x80(r29) +/* 8007101C 0006DF7C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80071020 0006DF80 48 25 98 4D */ bl SetColor__10CGuiWidgetFRC6CColor +lbl_80071024: +/* 80071024 0006DF84 80 7D 00 84 */ lwz r3, 0x84(r29) +/* 80071028 0006DF88 38 80 00 01 */ li r4, 1 +/* 8007102C 0006DF8C 48 25 95 B9 */ bl SetIsActive__10CGuiWidgetFb +/* 80071030 0006DF90 80 9D 00 84 */ lwz r4, 0x84(r29) +/* 80071034 0006DF94 7F A3 EB 78 */ mr r3, r29 +/* 80071038 0006DF98 48 00 00 AD */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 8007103C 0006DF9C 48 00 00 74 */ b lbl_800710B0 +lbl_80071040: +/* 80071040 0006DFA0 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 80071044 0006DFA4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80071048 0006DFA8 48 25 98 25 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 8007104C 0006DFAC 7F A3 EB 78 */ mr r3, r29 +/* 80071050 0006DFB0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80071054 0006DFB4 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 80071058 0006DFB8 7D 89 03 A6 */ mtctr r12 +/* 8007105C 0006DFBC 4E 80 04 21 */ bctrl +/* 80071060 0006DFC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80071064 0006DFC4 41 82 00 28 */ beq lbl_8007108C +/* 80071068 0006DFC8 7F A3 EB 78 */ mr r3, r29 +/* 8007106C 0006DFCC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80071070 0006DFD0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80071074 0006DFD4 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80071078 0006DFD8 38 80 00 00 */ li r4, 0 +/* 8007107C 0006DFDC 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80071080 0006DFE0 7D 89 03 A6 */ mtctr r12 +/* 80071084 0006DFE4 4E 80 04 21 */ bctrl +/* 80071088 0006DFE8 48 00 00 10 */ b lbl_80071098 +lbl_8007108C: +/* 8007108C 0006DFEC 80 7D 00 80 */ lwz r3, 0x80(r29) +/* 80071090 0006DFF0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80071094 0006DFF4 48 25 97 D9 */ bl SetColor__10CGuiWidgetFRC6CColor +lbl_80071098: +/* 80071098 0006DFF8 80 7D 00 70 */ lwz r3, 0x70(r29) +/* 8007109C 0006DFFC 38 80 00 00 */ li r4, 0 +/* 800710A0 0006E000 48 25 95 45 */ bl SetIsActive__10CGuiWidgetFb +/* 800710A4 0006E004 80 7D 00 84 */ lwz r3, 0x84(r29) +/* 800710A8 0006E008 38 80 00 00 */ li r4, 0 +/* 800710AC 0006E00C 48 25 95 39 */ bl SetIsActive__10CGuiWidgetFb +lbl_800710B0: +/* 800710B0 0006E010 7F A3 EB 78 */ mr r3, r29 +/* 800710B4 0006E014 7F E4 FB 78 */ mr r4, r31 +/* 800710B8 0006E018 81 9D 00 00 */ lwz r12, 0(r29) +/* 800710BC 0006E01C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800710C0 0006E020 7D 89 03 A6 */ mtctr r12 +/* 800710C4 0006E024 4E 80 04 21 */ bctrl +lbl_800710C8: +/* 800710C8 0006E028 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800710CC 0006E02C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800710D0 0006E030 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800710D4 0006E034 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800710D8 0006E038 7C 08 03 A6 */ mtlr r0 +/* 800710DC 0006E03C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800710E0 0006E040 4E 80 00 20 */ blr + +.global UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup: +/* 800710E4 0006E044 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800710E8 0006E048 7C 08 02 A6 */ mflr r0 +/* 800710EC 0006E04C 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800710F0 0006E050 BF 61 00 DC */ stmw r27, 0xdc(r1) +/* 800710F4 0006E054 7C 9B 23 79 */ or. r27, r4, r4 +/* 800710F8 0006E058 7C 7E 1B 78 */ mr r30, r3 +/* 800710FC 0006E05C 41 82 02 4C */ beq lbl_80071348 +/* 80071100 0006E060 38 60 00 FF */ li r3, 0xff +/* 80071104 0006E064 38 80 FF FF */ li r4, -1 +/* 80071108 0006E068 38 00 00 7F */ li r0, 0x7f +/* 8007110C 0006E06C 90 81 00 0C */ stw r4, 0xc(r1) +/* 80071110 0006E070 3B E0 00 01 */ li r31, 1 +/* 80071114 0006E074 98 61 00 08 */ stb r3, 8(r1) +/* 80071118 0006E078 98 61 00 09 */ stb r3, 9(r1) +/* 8007111C 0006E07C 98 61 00 0A */ stb r3, 0xa(r1) +/* 80071120 0006E080 98 01 00 0B */ stb r0, 0xb(r1) +/* 80071124 0006E084 80 1E 00 84 */ lwz r0, 0x84(r30) +/* 80071128 0006E088 7C 1B 00 40 */ cmplw r27, r0 +/* 8007112C 0006E08C 40 82 00 14 */ bne lbl_80071140 +/* 80071130 0006E090 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80071134 0006E094 2C 00 00 01 */ cmpwi r0, 1 +/* 80071138 0006E098 41 82 00 08 */ beq lbl_80071140 +/* 8007113C 0006E09C 3B E0 00 00 */ li r31, 0 +lbl_80071140: +/* 80071140 0006E0A0 7F 63 DB 78 */ mr r3, r27 +/* 80071144 0006E0A4 38 81 00 0C */ addi r4, r1, 0xc +/* 80071148 0006E0A8 38 A1 00 08 */ addi r5, r1, 8 +/* 8007114C 0006E0AC 48 25 54 B1 */ bl SetColors__14CGuiTableGroupCFRC6CColorRC6CColor +/* 80071150 0006E0B0 80 1E 00 84 */ lwz r0, 0x84(r30) +/* 80071154 0006E0B4 7C 1B 00 40 */ cmplw r27, r0 +/* 80071158 0006E0B8 40 82 01 4C */ bne lbl_800712A4 +/* 8007115C 0006E0BC 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 80071160 0006E0C0 80 DE 00 1C */ lwz r6, 0x1c(r30) +/* 80071164 0006E0C4 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 80071168 0006E0C8 38 04 66 67 */ addi r0, r4, 0x66666667@l +/* 8007116C 0006E0CC 7C A0 30 96 */ mulhw r5, r0, r6 +/* 80071170 0006E0D0 3C 00 43 30 */ lis r0, 0x4330 +/* 80071174 0006E0D4 7C 83 30 50 */ subf r4, r3, r6 +/* 80071178 0006E0D8 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) +/* 8007117C 0006E0DC 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 80071180 0006E0E0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80071184 0006E0E4 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 80071188 0006E0E8 7C A4 0E 70 */ srawi r4, r5, 1 +/* 8007118C 0006E0EC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80071190 0006E0F0 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80071194 0006E0F4 7C 04 02 14 */ add r0, r4, r0 +/* 80071198 0006E0F8 C8 62 88 38 */ lfd f3, lbl_805AA558@sda21(r2) +/* 8007119C 0006E0FC C8 01 00 D0 */ lfd f0, 0xd0(r1) +/* 800711A0 0006E100 1C 00 00 05 */ mulli r0, r0, 5 +/* 800711A4 0006E104 80 9E 00 8C */ lwz r4, 0x8c(r30) +/* 800711A8 0006E108 FC 40 08 90 */ fmr f2, f1 +/* 800711AC 0006E10C EC 00 18 28 */ fsubs f0, f0, f3 +/* 800711B0 0006E110 C0 7E 00 38 */ lfs f3, 0x38(r30) +/* 800711B4 0006E114 7F 80 30 50 */ subf r28, r0, r6 +/* 800711B8 0006E118 3B A4 00 74 */ addi r29, r4, 0x74 +/* 800711BC 0006E11C EC 63 00 32 */ fmuls f3, f3, f0 +/* 800711C0 0006E120 48 2A 1F C9 */ bl Translate__12CTransform4fFfff +/* 800711C4 0006E124 7F A4 EB 78 */ mr r4, r29 +/* 800711C8 0006E128 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800711CC 0006E12C 38 A1 00 70 */ addi r5, r1, 0x70 +/* 800711D0 0006E130 48 2A 17 81 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800711D4 0006E134 83 BE 00 8C */ lwz r29, 0x8c(r30) +/* 800711D8 0006E138 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800711DC 0006E13C 38 7D 00 04 */ addi r3, r29, 4 +/* 800711E0 0006E140 48 2A 19 61 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800711E4 0006E144 7F A3 EB 78 */ mr r3, r29 +/* 800711E8 0006E148 48 25 36 01 */ bl RecalculateTransforms__10CGuiObjectFv +/* 800711EC 0006E14C 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 800711F0 0006E150 38 A0 00 01 */ li r5, 1 +/* 800711F4 0006E154 80 7E 00 8C */ lwz r3, 0x8c(r30) +/* 800711F8 0006E158 20 00 00 01 */ subfic r0, r0, 1 +/* 800711FC 0006E15C 7C 00 00 34 */ cntlzw r0, r0 +/* 80071200 0006E160 54 04 D9 7E */ srwi r4, r0, 5 +/* 80071204 0006E164 48 25 94 E5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +/* 80071208 0006E168 7F C3 F3 78 */ mr r3, r30 +/* 8007120C 0006E16C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80071210 0006E170 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 80071214 0006E174 7D 89 03 A6 */ mtctr r12 +/* 80071218 0006E178 4E 80 04 21 */ bctrl +/* 8007121C 0006E17C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80071220 0006E180 41 82 00 2C */ beq lbl_8007124C +/* 80071224 0006E184 7F C3 F3 78 */ mr r3, r30 +/* 80071228 0006E188 7F E4 FB 78 */ mr r4, r31 +/* 8007122C 0006E18C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80071230 0006E190 7F 85 E3 78 */ mr r5, r28 +/* 80071234 0006E194 38 C1 00 0C */ addi r6, r1, 0xc +/* 80071238 0006E198 38 E1 00 08 */ addi r7, r1, 8 +/* 8007123C 0006E19C 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 80071240 0006E1A0 7D 89 03 A6 */ mtctr r12 +/* 80071244 0006E1A4 4E 80 04 21 */ bctrl +/* 80071248 0006E1A8 48 00 01 00 */ b lbl_80071348 +lbl_8007124C: +/* 8007124C 0006E1AC 3B BE 01 48 */ addi r29, r30, 0x148 +/* 80071250 0006E1B0 57 FF 06 3E */ clrlwi r31, r31, 0x18 +/* 80071254 0006E1B4 3B 60 00 00 */ li r27, 0 +/* 80071258 0006E1B8 48 00 00 3C */ b lbl_80071294 +lbl_8007125C: +/* 8007125C 0006E1BC 7C 1B E0 00 */ cmpw r27, r28 +/* 80071260 0006E1C0 80 7D 00 00 */ lwz r3, 0(r29) +/* 80071264 0006E1C4 38 00 00 00 */ li r0, 0 +/* 80071268 0006E1C8 40 82 00 10 */ bne lbl_80071278 +/* 8007126C 0006E1CC 28 1F 00 00 */ cmplwi r31, 0 +/* 80071270 0006E1D0 41 82 00 08 */ beq lbl_80071278 +/* 80071274 0006E1D4 38 00 00 01 */ li r0, 1 +lbl_80071278: +/* 80071278 0006E1D8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8007127C 0006E1DC 38 81 00 08 */ addi r4, r1, 8 +/* 80071280 0006E1E0 41 82 00 08 */ beq lbl_80071288 +/* 80071284 0006E1E4 38 81 00 0C */ addi r4, r1, 0xc +lbl_80071288: +/* 80071288 0006E1E8 48 25 95 E5 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 8007128C 0006E1EC 3B BD 00 04 */ addi r29, r29, 4 +/* 80071290 0006E1F0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80071294: +/* 80071294 0006E1F4 80 1E 01 44 */ lwz r0, 0x144(r30) +/* 80071298 0006E1F8 7C 1B 00 00 */ cmpw r27, r0 +/* 8007129C 0006E1FC 41 80 FF C0 */ blt lbl_8007125C +/* 800712A0 0006E200 48 00 00 A8 */ b lbl_80071348 +lbl_800712A4: +/* 800712A4 0006E204 80 9E 00 70 */ lwz r4, 0x70(r30) +/* 800712A8 0006E208 3C 00 43 30 */ lis r0, 0x4330 +/* 800712AC 0006E20C C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) +/* 800712B0 0006E210 38 61 00 10 */ addi r3, r1, 0x10 +/* 800712B4 0006E214 83 E4 00 C4 */ lwz r31, 0xc4(r4) +/* 800712B8 0006E218 80 BE 00 78 */ lwz r5, 0x78(r30) +/* 800712BC 0006E21C FC 40 08 90 */ fmr f2, f1 +/* 800712C0 0006E220 6F E4 80 00 */ xoris r4, r31, 0x8000 +/* 800712C4 0006E224 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 800712C8 0006E228 C8 62 88 38 */ lfd f3, lbl_805AA558@sda21(r2) +/* 800712CC 0006E22C 3B A5 00 74 */ addi r29, r5, 0x74 +/* 800712D0 0006E230 90 81 00 D4 */ stw r4, 0xd4(r1) +/* 800712D4 0006E234 C0 9E 00 38 */ lfs f4, 0x38(r30) +/* 800712D8 0006E238 C8 01 00 D0 */ lfd f0, 0xd0(r1) +/* 800712DC 0006E23C EC 00 18 28 */ fsubs f0, f0, f3 +/* 800712E0 0006E240 EC 64 00 32 */ fmuls f3, f4, f0 +/* 800712E4 0006E244 48 2A 1E A5 */ bl Translate__12CTransform4fFfff +/* 800712E8 0006E248 7F A4 EB 78 */ mr r4, r29 +/* 800712EC 0006E24C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800712F0 0006E250 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800712F4 0006E254 48 2A 16 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800712F8 0006E258 83 BE 00 78 */ lwz r29, 0x78(r30) +/* 800712FC 0006E25C 38 81 00 40 */ addi r4, r1, 0x40 +/* 80071300 0006E260 38 7D 00 04 */ addi r3, r29, 4 +/* 80071304 0006E264 48 2A 18 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80071308 0006E268 7F A3 EB 78 */ mr r3, r29 +/* 8007130C 0006E26C 48 25 34 DD */ bl RecalculateTransforms__10CGuiObjectFv +/* 80071310 0006E270 3B BE 00 C4 */ addi r29, r30, 0xc4 +/* 80071314 0006E274 3B 60 00 00 */ li r27, 0 +/* 80071318 0006E278 48 00 00 24 */ b lbl_8007133C +lbl_8007131C: +/* 8007131C 0006E27C 7C 1B F8 00 */ cmpw r27, r31 +/* 80071320 0006E280 80 7D 00 00 */ lwz r3, 0(r29) +/* 80071324 0006E284 38 81 00 08 */ addi r4, r1, 8 +/* 80071328 0006E288 40 82 00 08 */ bne lbl_80071330 +/* 8007132C 0006E28C 38 81 00 0C */ addi r4, r1, 0xc +lbl_80071330: +/* 80071330 0006E290 48 25 95 3D */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80071334 0006E294 3B BD 00 04 */ addi r29, r29, 4 +/* 80071338 0006E298 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8007133C: +/* 8007133C 0006E29C 80 1E 00 C0 */ lwz r0, 0xc0(r30) +/* 80071340 0006E2A0 7C 1B 00 00 */ cmpw r27, r0 +/* 80071344 0006E2A4 41 80 FF D8 */ blt lbl_8007131C +lbl_80071348: +/* 80071348 0006E2A8 BB 61 00 DC */ lmw r27, 0xdc(r1) +/* 8007134C 0006E2AC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80071350 0006E2B0 7C 08 03 A6 */ mtlr r0 +/* 80071354 0006E2B4 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80071358 0006E2B8 4E 80 00 20 */ blr + +.global ProcessInput__16CPauseScreenBaseFRC11CFinalInput +ProcessInput__16CPauseScreenBaseFRC11CFinalInput: +/* 8007135C 0006E2BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80071360 0006E2C0 7C 08 02 A6 */ mflr r0 +/* 80071364 0006E2C4 38 A0 00 00 */ li r5, 0 +/* 80071368 0006E2C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007136C 0006E2CC 88 03 01 98 */ lbz r0, 0x198(r3) +/* 80071370 0006E2D0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80071374 0006E2D4 98 03 01 98 */ stb r0, 0x198(r3) +/* 80071378 0006E2D8 80 63 00 08 */ lwz r3, 8(r3) +/* 8007137C 0006E2DC 48 25 12 DD */ bl ProcessUserInput__9CGuiFrameFRC11CFinalInput +/* 80071380 0006E2E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80071384 0006E2E4 7C 08 03 A6 */ mtlr r0 +/* 80071388 0006E2E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007138C 0006E2EC 4E 80 00 20 */ blr + +.global Draw__16CPauseScreenBaseCFfff +Draw__16CPauseScreenBaseCFfff: +/* 80071390 0006E2F0 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80071394 0006E2F4 7C 08 02 A6 */ mflr r0 +/* 80071398 0006E2F8 90 01 00 84 */ stw r0, 0x84(r1) +/* 8007139C 0006E2FC DB E1 00 70 */ stfd f31, 0x70(r1) +/* 800713A0 0006E300 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 800713A4 0006E304 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 800713A8 0006E308 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 800713AC 0006E30C DB A1 00 50 */ stfd f29, 0x50(r1) +/* 800713B0 0006E310 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 800713B4 0006E314 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 800713B8 0006E318 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 800713BC 0006E31C DB 61 00 30 */ stfd f27, 0x30(r1) +/* 800713C0 0006E320 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 +/* 800713C4 0006E324 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800713C8 0006E328 7C 7F 1B 78 */ mr r31, r3 +/* 800713CC 0006E32C FF 60 10 90 */ fmr f27, f2 +/* 800713D0 0006E330 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 800713D4 0006E334 FF 80 18 90 */ fmr f28, f3 +/* 800713D8 0006E338 EF E1 00 32 */ fmuls f31, f1, f0 +/* 800713DC 0006E33C 48 2D 8B D1 */ bl White__6CColorFv +/* 800713E0 0006E340 C0 02 88 40 */ lfs f0, lbl_805AA560@sda21(r2) +/* 800713E4 0006E344 EF C0 07 F2 */ fmuls f30, f0, f31 +/* 800713E8 0006E348 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 800713EC 0006E34C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800713F0 0006E350 80 A3 00 00 */ lwz r5, 0(r3) +/* 800713F4 0006E354 88 01 00 09 */ lbz r0, 9(r1) +/* 800713F8 0006E358 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 800713FC 0006E35C 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80071400 0006E360 90 01 00 10 */ stw r0, 0x10(r1) +/* 80071404 0006E364 48 25 94 69 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80071408 0006E368 48 2D 8B A5 */ bl White__6CColorFv +/* 8007140C 0006E36C C0 02 88 40 */ lfs f0, lbl_805AA560@sda21(r2) +/* 80071410 0006E370 EF A0 06 F2 */ fmuls f29, f0, f27 +/* 80071414 0006E374 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 +/* 80071418 0006E378 38 81 00 0C */ addi r4, r1, 0xc +/* 8007141C 0006E37C 80 A3 00 00 */ lwz r5, 0(r3) +/* 80071420 0006E380 88 01 00 08 */ lbz r0, 8(r1) +/* 80071424 0006E384 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 80071428 0006E388 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8007142C 0006E38C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80071430 0006E390 48 25 94 3D */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80071434 0006E394 C0 02 88 48 */ lfs f0, lbl_805AA568@sda21(r2) +/* 80071438 0006E398 38 81 00 14 */ addi r4, r1, 0x14 +/* 8007143C 0006E39C C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) +/* 80071440 0006E3A0 EC 00 07 32 */ fmuls f0, f0, f28 +/* 80071444 0006E3A4 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) +/* 80071448 0006E3A8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8007144C 0006E3AC 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071450 0006E3B0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80071454 0006E3B4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80071458 0006E3B8 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8007145C 0006E3BC 48 25 12 D9 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +/* 80071460 0006E3C0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80071464 0006E3C4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80071468 0006E3C8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8007146C 0006E3CC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80071470 0006E3D0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80071474 0006E3D4 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80071478 0006E3D8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8007147C 0006E3DC CB 81 00 40 */ lfd f28, 0x40(r1) +/* 80071480 0006E3E0 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 +/* 80071484 0006E3E4 CB 61 00 30 */ lfd f27, 0x30(r1) +/* 80071488 0006E3E8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8007148C 0006E3EC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80071490 0006E3F0 7C 08 03 A6 */ mtlr r0 +/* 80071494 0006E3F4 38 21 00 80 */ addi r1, r1, 0x80 +/* 80071498 0006E3F8 4E 80 00 20 */ blr + +.global Touch__16CPauseScreenBaseFv +Touch__16CPauseScreenBaseFv: +/* 8007149C 0006E3FC 4E 80 00 20 */ blr + +.global Update__16CPauseScreenBaseFfR9CRandom16R18CArchitectureQueue +Update__16CPauseScreenBaseFfR9CRandom16R18CArchitectureQueue: +/* 800714A0 0006E400 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800714A4 0006E404 7C 08 02 A6 */ mflr r0 +/* 800714A8 0006E408 90 01 00 84 */ stw r0, 0x84(r1) +/* 800714AC 0006E40C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 800714B0 0006E410 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 800714B4 0006E414 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 800714B8 0006E418 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 800714BC 0006E41C DB A1 00 50 */ stfd f29, 0x50(r1) +/* 800714C0 0006E420 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 800714C4 0006E424 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 800714C8 0006E428 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 800714CC 0006E42C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800714D0 0006E430 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800714D4 0006E434 7C 7F 1B 78 */ mr r31, r3 +/* 800714D8 0006E438 38 60 00 01 */ li r3, 1 +/* 800714DC 0006E43C 88 1F 01 98 */ lbz r0, 0x198(r31) +/* 800714E0 0006E440 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800714E4 0006E444 FF 80 08 90 */ fmr f28, f1 +/* 800714E8 0006E448 98 1F 01 98 */ stb r0, 0x198(r31) +/* 800714EC 0006E44C 80 7F 00 08 */ lwz r3, 8(r31) +/* 800714F0 0006E450 48 25 12 15 */ bl Update__9CGuiFrameFf +/* 800714F4 0006E454 C0 42 88 4C */ lfs f2, lbl_805AA56C@sda21(r2) +/* 800714F8 0006E458 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 800714FC 0006E45C C0 0D 83 A4 */ lfs f0, lbl_805A6F64@sda21(r13) +/* 80071500 0006E460 EC 22 0F 3A */ fmadds f1, f2, f28, f1 +/* 80071504 0006E464 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80071508 0006E468 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8007150C 0006E46C 40 80 00 0C */ bge lbl_80071518 +/* 80071510 0006E470 38 61 00 2C */ addi r3, r1, 0x2c +/* 80071514 0006E474 48 00 00 08 */ b lbl_8007151C +lbl_80071518: +/* 80071518 0006E478 38 6D 83 A4 */ addi r3, r13, lbl_805A6F64@sda21 +lbl_8007151C: +/* 8007151C 0006E47C C0 03 00 00 */ lfs f0, 0(r3) +/* 80071520 0006E480 7F E3 FB 78 */ mr r3, r31 +/* 80071524 0006E484 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80071528 0006E488 81 9F 00 00 */ lwz r12, 0(r31) +/* 8007152C 0006E48C 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 80071530 0006E490 7D 89 03 A6 */ mtctr r12 +/* 80071534 0006E494 4E 80 04 21 */ bctrl +/* 80071538 0006E498 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8007153C 0006E49C 38 A0 00 00 */ li r5, 0 +/* 80071540 0006E4A0 2C 04 00 01 */ cmpwi r4, 1 +/* 80071544 0006E4A4 40 82 00 14 */ bne lbl_80071558 +/* 80071548 0006E4A8 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8007154C 0006E4AC 2C 00 00 00 */ cmpwi r0, 0 +/* 80071550 0006E4B0 40 81 00 08 */ ble lbl_80071558 +/* 80071554 0006E4B4 38 A0 00 01 */ li r5, 1 +lbl_80071558: +/* 80071558 0006E4B8 2C 04 00 01 */ cmpwi r4, 1 +/* 8007155C 0006E4BC 3B C0 00 00 */ li r30, 0 +/* 80071560 0006E4C0 40 82 00 18 */ bne lbl_80071578 +/* 80071564 0006E4C4 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 80071568 0006E4C8 38 04 00 05 */ addi r0, r4, 5 +/* 8007156C 0006E4CC 7C 00 18 00 */ cmpw r0, r3 +/* 80071570 0006E4D0 40 80 00 08 */ bge lbl_80071578 +/* 80071574 0006E4D4 3B C0 00 01 */ li r30, 1 +lbl_80071578: +/* 80071578 0006E4D8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8007157C 0006E4DC 41 82 00 10 */ beq lbl_8007158C +/* 80071580 0006E4E0 48 29 89 61 */ bl GetSecondsMod900__9CGraphicsFv +/* 80071584 0006E4E4 FF 80 08 90 */ fmr f28, f1 +/* 80071588 0006E4E8 48 00 00 08 */ b lbl_80071590 +lbl_8007158C: +/* 8007158C 0006E4EC C3 82 88 30 */ lfs f28, lbl_805AA550@sda21(r2) +lbl_80071590: +/* 80071590 0006E4F0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80071594 0006E4F4 41 82 00 10 */ beq lbl_800715A4 +/* 80071598 0006E4F8 48 29 89 49 */ bl GetSecondsMod900__9CGraphicsFv +/* 8007159C 0006E4FC FF A0 08 90 */ fmr f29, f1 +/* 800715A0 0006E500 48 00 00 08 */ b lbl_800715A8 +lbl_800715A4: +/* 800715A4 0006E504 C3 A2 88 30 */ lfs f29, lbl_805AA550@sda21(r2) +lbl_800715A8: +/* 800715A8 0006E508 C0 22 88 54 */ lfs f1, lbl_805AA574@sda21(r2) +/* 800715AC 0006E50C C0 02 88 58 */ lfs f0, lbl_805AA578@sda21(r2) +/* 800715B0 0006E510 EC 21 07 38 */ fmsubs f1, f1, f28, f0 +/* 800715B4 0006E514 48 2A 38 3D */ bl FastSinR__5CMathFf +/* 800715B8 0006E518 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) +/* 800715BC 0006E51C 38 81 00 28 */ addi r4, r1, 0x28 +/* 800715C0 0006E520 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) +/* 800715C4 0006E524 38 6D 83 A8 */ addi r3, r13, lbl_805A6F68@sda21 +/* 800715C8 0006E528 EC 22 08 2A */ fadds f1, f2, f1 +/* 800715CC 0006E52C 38 AD 83 AC */ addi r5, r13, lbl_805A6F6C@sda21 +/* 800715D0 0006E530 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800715D4 0006E534 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800715D8 0006E538 4B F9 AC DD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800715DC 0006E53C C0 22 88 54 */ lfs f1, lbl_805AA574@sda21(r2) +/* 800715E0 0006E540 C0 02 88 58 */ lfs f0, lbl_805AA578@sda21(r2) +/* 800715E4 0006E544 C3 83 00 00 */ lfs f28, 0(r3) +/* 800715E8 0006E548 EC 21 07 78 */ fmsubs f1, f1, f29, f0 +/* 800715EC 0006E54C 48 2A 38 05 */ bl FastSinR__5CMathFf +/* 800715F0 0006E550 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) +/* 800715F4 0006E554 38 81 00 24 */ addi r4, r1, 0x24 +/* 800715F8 0006E558 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) +/* 800715FC 0006E55C 38 6D 83 B0 */ addi r3, r13, lbl_805A6F70@sda21 +/* 80071600 0006E560 EC 22 08 2A */ fadds f1, f2, f1 +/* 80071604 0006E564 38 AD 83 B4 */ addi r5, r13, lbl_805A6F74@sda21 +/* 80071608 0006E568 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8007160C 0006E56C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80071610 0006E570 4B F9 AC A5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80071614 0006E574 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80071618 0006E578 C3 E2 88 5C */ lfs f31, lbl_805AA57C@sda21(r2) +/* 8007161C 0006E57C 38 A4 01 BC */ addi r5, r4, 0x1bc +/* 80071620 0006E580 C3 A3 00 00 */ lfs f29, 0(r3) +/* 80071624 0006E584 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 80071628 0006E588 FC 20 E0 90 */ fmr f1, f28 +/* 8007162C 0006E58C 80 C4 01 BC */ lwz r6, 0x1bc(r4) +/* 80071630 0006E590 38 61 00 20 */ addi r3, r1, 0x20 +/* 80071634 0006E594 88 01 00 09 */ lbz r0, 9(r1) +/* 80071638 0006E598 38 81 00 34 */ addi r4, r1, 0x34 +/* 8007163C 0006E59C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 80071640 0006E5A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80071644 0006E5A4 48 2F 1C 69 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80071648 0006E5A8 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8007164C 0006E5AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80071650 0006E5B0 48 25 92 1D */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80071654 0006E5B4 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) +/* 80071658 0006E5B8 FC 20 E8 90 */ fmr f1, f29 +/* 8007165C 0006E5BC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80071660 0006E5C0 38 81 00 34 */ addi r4, r1, 0x34 +/* 80071664 0006E5C4 38 A5 01 BC */ addi r5, r5, 0x1bc +/* 80071668 0006E5C8 48 2F 1C 45 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8007166C 0006E5CC 80 7F 00 A4 */ lwz r3, 0xa4(r31) +/* 80071670 0006E5D0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80071674 0006E5D4 48 25 91 F9 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80071678 0006E5D8 88 1F 01 98 */ lbz r0, 0x198(r31) +/* 8007167C 0006E5DC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80071680 0006E5E0 41 82 00 10 */ beq lbl_80071690 +/* 80071684 0006E5E4 48 29 88 5D */ bl GetSecondsMod900__9CGraphicsFv +/* 80071688 0006E5E8 FF A0 08 90 */ fmr f29, f1 +/* 8007168C 0006E5EC 48 00 00 08 */ b lbl_80071694 +lbl_80071690: +/* 80071690 0006E5F0 C3 A2 88 30 */ lfs f29, lbl_805AA550@sda21(r2) +lbl_80071694: +/* 80071694 0006E5F4 88 1F 01 98 */ lbz r0, 0x198(r31) +/* 80071698 0006E5F8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8007169C 0006E5FC 41 82 00 10 */ beq lbl_800716AC +/* 800716A0 0006E600 48 29 88 41 */ bl GetSecondsMod900__9CGraphicsFv +/* 800716A4 0006E604 FF E0 08 90 */ fmr f31, f1 +/* 800716A8 0006E608 48 00 00 08 */ b lbl_800716B0 +lbl_800716AC: +/* 800716AC 0006E60C C3 E2 88 30 */ lfs f31, lbl_805AA550@sda21(r2) +lbl_800716B0: +/* 800716B0 0006E610 C0 22 88 54 */ lfs f1, lbl_805AA574@sda21(r2) +/* 800716B4 0006E614 C0 02 88 58 */ lfs f0, lbl_805AA578@sda21(r2) +/* 800716B8 0006E618 EC 21 07 78 */ fmsubs f1, f1, f29, f0 +/* 800716BC 0006E61C 48 2A 37 35 */ bl FastSinR__5CMathFf +/* 800716C0 0006E620 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) +/* 800716C4 0006E624 38 81 00 18 */ addi r4, r1, 0x18 +/* 800716C8 0006E628 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) +/* 800716CC 0006E62C 38 6D 83 B8 */ addi r3, r13, lbl_805A6F78@sda21 +/* 800716D0 0006E630 EC 22 08 2A */ fadds f1, f2, f1 +/* 800716D4 0006E634 38 AD 83 BC */ addi r5, r13, lbl_805A6F7C@sda21 +/* 800716D8 0006E638 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800716DC 0006E63C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800716E0 0006E640 4B F9 AB D5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800716E4 0006E644 C0 22 88 54 */ lfs f1, lbl_805AA574@sda21(r2) +/* 800716E8 0006E648 C0 02 88 58 */ lfs f0, lbl_805AA578@sda21(r2) +/* 800716EC 0006E64C C3 83 00 00 */ lfs f28, 0(r3) +/* 800716F0 0006E650 EC 21 07 F8 */ fmsubs f1, f1, f31, f0 +/* 800716F4 0006E654 48 2A 36 FD */ bl FastSinR__5CMathFf +/* 800716F8 0006E658 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) +/* 800716FC 0006E65C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80071700 0006E660 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) +/* 80071704 0006E664 38 6D 83 C0 */ addi r3, r13, lbl_805A6F80@sda21 +/* 80071708 0006E668 EC 22 08 2A */ fadds f1, f2, f1 +/* 8007170C 0006E66C 38 AD 83 C4 */ addi r5, r13, lbl_805A6F84@sda21 +/* 80071710 0006E670 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80071714 0006E674 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80071718 0006E678 4B F9 AB 9D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8007171C 0006E67C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80071720 0006E680 C3 C2 88 5C */ lfs f30, lbl_805AA57C@sda21(r2) +/* 80071724 0006E684 38 A4 01 BC */ addi r5, r4, 0x1bc +/* 80071728 0006E688 C3 A3 00 00 */ lfs f29, 0(r3) +/* 8007172C 0006E68C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 80071730 0006E690 FC 20 E0 90 */ fmr f1, f28 +/* 80071734 0006E694 80 C4 01 BC */ lwz r6, 0x1bc(r4) +/* 80071738 0006E698 38 61 00 10 */ addi r3, r1, 0x10 +/* 8007173C 0006E69C 88 01 00 08 */ lbz r0, 8(r1) +/* 80071740 0006E6A0 38 81 00 30 */ addi r4, r1, 0x30 +/* 80071744 0006E6A4 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 80071748 0006E6A8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8007174C 0006E6AC 48 2F 1B 61 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80071750 0006E6B0 80 7F 00 90 */ lwz r3, 0x90(r31) +/* 80071754 0006E6B4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80071758 0006E6B8 48 25 91 15 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 8007175C 0006E6BC 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) +/* 80071760 0006E6C0 FC 20 E8 90 */ fmr f1, f29 +/* 80071764 0006E6C4 38 61 00 0C */ addi r3, r1, 0xc +/* 80071768 0006E6C8 38 81 00 30 */ addi r4, r1, 0x30 +/* 8007176C 0006E6CC 38 A5 01 BC */ addi r5, r5, 0x1bc +/* 80071770 0006E6D0 48 2F 1B 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80071774 0006E6D4 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 80071778 0006E6D8 38 81 00 0C */ addi r4, r1, 0xc +/* 8007177C 0006E6DC 48 25 90 F1 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80071780 0006E6E0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80071784 0006E6E4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80071788 0006E6E8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8007178C 0006E6EC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80071790 0006E6F0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80071794 0006E6F4 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80071798 0006E6F8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8007179C 0006E6FC CB 81 00 40 */ lfd f28, 0x40(r1) +/* 800717A0 0006E700 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800717A4 0006E704 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800717A8 0006E708 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800717AC 0006E70C 7C 08 03 A6 */ mtlr r0 +/* 800717B0 0006E710 38 21 00 80 */ addi r1, r1, 0x80 +/* 800717B4 0006E714 4E 80 00 20 */ blr + +.global IsReady__16CPauseScreenBaseFv +IsReady__16CPauseScreenBaseFv: +/* 800717B8 0006E718 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800717BC 0006E71C 7C 08 02 A6 */ mflr r0 +/* 800717C0 0006E720 90 01 00 14 */ stw r0, 0x14(r1) +/* 800717C4 0006E724 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800717C8 0006E728 7C 7F 1B 78 */ mr r31, r3 +/* 800717CC 0006E72C 88 03 01 98 */ lbz r0, 0x198(r3) +/* 800717D0 0006E730 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800717D4 0006E734 41 82 00 0C */ beq lbl_800717E0 +/* 800717D8 0006E738 38 60 00 01 */ li r3, 1 +/* 800717DC 0006E73C 48 00 00 78 */ b lbl_80071854 +lbl_800717E0: +/* 800717E0 0006E740 81 83 00 00 */ lwz r12, 0(r3) +/* 800717E4 0006E744 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 800717E8 0006E748 7D 89 03 A6 */ mtctr r12 +/* 800717EC 0006E74C 4E 80 04 21 */ bctrl +/* 800717F0 0006E750 88 1F 01 98 */ lbz r0, 0x198(r31) +/* 800717F4 0006E754 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800717F8 0006E758 98 1F 01 98 */ stb r0, 0x198(r31) +/* 800717FC 0006E75C 88 1F 01 98 */ lbz r0, 0x198(r31) +/* 80071800 0006E760 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80071804 0006E764 41 82 00 4C */ beq lbl_80071850 +/* 80071808 0006E768 7F E3 FB 78 */ mr r3, r31 +/* 8007180C 0006E76C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80071810 0006E770 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80071814 0006E774 7D 89 03 A6 */ mtctr r12 +/* 80071818 0006E778 4E 80 04 21 */ bctrl +/* 8007181C 0006E77C 7F E3 FB 78 */ mr r3, r31 +/* 80071820 0006E780 38 80 00 00 */ li r4, 0 +/* 80071824 0006E784 4B FF F5 F1 */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode +/* 80071828 0006E788 80 9F 00 70 */ lwz r4, 0x70(r31) +/* 8007182C 0006E78C 7F E3 FB 78 */ mr r3, r31 +/* 80071830 0006E790 4B FF F8 B5 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 80071834 0006E794 7F E3 FB 78 */ mr r3, r31 +/* 80071838 0006E798 81 9F 00 00 */ lwz r12, 0(r31) +/* 8007183C 0006E79C 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80071840 0006E7A0 7D 89 03 A6 */ mtctr r12 +/* 80071844 0006E7A4 4E 80 04 21 */ bctrl +/* 80071848 0006E7A8 38 60 00 01 */ li r3, 1 +/* 8007184C 0006E7AC 48 00 00 08 */ b lbl_80071854 +lbl_80071850: +/* 80071850 0006E7B0 38 60 00 00 */ li r3, 0 +lbl_80071854: +/* 80071854 0006E7B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80071858 0006E7B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007185C 0006E7BC 7C 08 03 A6 */ mtlr r0 +/* 80071860 0006E7C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80071864 0006E7C4 4E 80 00 20 */ blr + +.global InitializeFrameGlue__16CPauseScreenBaseFv +InitializeFrameGlue__16CPauseScreenBaseFv: +/* 80071868 0006E7C8 94 21 FD 70 */ stwu r1, -0x290(r1) +/* 8007186C 0006E7CC 7C 08 02 A6 */ mflr r0 +/* 80071870 0006E7D0 90 01 02 94 */ stw r0, 0x294(r1) +/* 80071874 0006E7D4 DB E1 02 80 */ stfd f31, 0x280(r1) +/* 80071878 0006E7D8 F3 E1 02 88 */ psq_st f31, 648(r1), 0, qr0 +/* 8007187C 0006E7DC DB C1 02 70 */ stfd f30, 0x270(r1) +/* 80071880 0006E7E0 F3 C1 02 78 */ psq_st f30, 632(r1), 0, qr0 +/* 80071884 0006E7E4 DB A1 02 60 */ stfd f29, 0x260(r1) +/* 80071888 0006E7E8 F3 A1 02 68 */ psq_st f29, 616(r1), 0, qr0 +/* 8007188C 0006E7EC DB 81 02 50 */ stfd f28, 0x250(r1) +/* 80071890 0006E7F0 F3 81 02 58 */ psq_st f28, 600(r1), 0, qr0 +/* 80071894 0006E7F4 BF 21 02 34 */ stmw r25, 0x234(r1) +/* 80071898 0006E7F8 7C 7F 1B 78 */ mr r31, r3 +/* 8007189C 0006E7FC 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800718A0 0006E800 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 800718A4 0006E804 3C A0 80 3E */ lis r5, lbl_803DA390@ha +/* 800718A8 0006E808 80 7F 00 08 */ lwz r3, 8(r31) +/* 800718AC 0006E80C 3B C5 A3 90 */ addi r30, r5, lbl_803DA390@l +/* 800718B0 0006E810 48 25 08 A5 */ bl FindWidget__9CGuiFrameCFPCc +/* 800718B4 0006E814 90 7F 00 60 */ stw r3, 0x60(r31) +/* 800718B8 0006E818 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800718BC 0006E81C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 800718C0 0006E820 80 7F 00 08 */ lwz r3, 8(r31) +/* 800718C4 0006E824 38 84 00 11 */ addi r4, r4, 0x11 +/* 800718C8 0006E828 48 25 08 8D */ bl FindWidget__9CGuiFrameCFPCc +/* 800718CC 0006E82C 90 7F 00 64 */ stw r3, 0x64(r31) +/* 800718D0 0006E830 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800718D4 0006E834 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 800718D8 0006E838 80 7F 00 08 */ lwz r3, 8(r31) +/* 800718DC 0006E83C 38 84 00 24 */ addi r4, r4, 0x24 +/* 800718E0 0006E840 48 25 08 75 */ bl FindWidget__9CGuiFrameCFPCc +/* 800718E4 0006E844 90 7F 00 68 */ stw r3, 0x68(r31) +/* 800718E8 0006E848 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800718EC 0006E84C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 800718F0 0006E850 80 7F 00 08 */ lwz r3, 8(r31) +/* 800718F4 0006E854 38 84 00 38 */ addi r4, r4, 0x38 +/* 800718F8 0006E858 48 25 08 5D */ bl FindWidget__9CGuiFrameCFPCc +/* 800718FC 0006E85C 90 7F 00 6C */ stw r3, 0x6c(r31) +/* 80071900 0006E860 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071904 0006E864 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071908 0006E868 80 7F 00 08 */ lwz r3, 8(r31) +/* 8007190C 0006E86C 38 84 00 4B */ addi r4, r4, 0x4b +/* 80071910 0006E870 48 25 08 45 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071914 0006E874 90 7F 00 70 */ stw r3, 0x70(r31) +/* 80071918 0006E878 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 8007191C 0006E87C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071920 0006E880 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071924 0006E884 38 84 00 5E */ addi r4, r4, 0x5e +/* 80071928 0006E888 48 25 08 2D */ bl FindWidget__9CGuiFrameCFPCc +/* 8007192C 0006E88C 90 7F 00 74 */ stw r3, 0x74(r31) +/* 80071930 0006E890 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071934 0006E894 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071938 0006E898 80 7F 00 08 */ lwz r3, 8(r31) +/* 8007193C 0006E89C 38 84 00 74 */ addi r4, r4, 0x74 +/* 80071940 0006E8A0 48 25 08 15 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071944 0006E8A4 90 7F 00 78 */ stw r3, 0x78(r31) +/* 80071948 0006E8A8 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 8007194C 0006E8AC 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071950 0006E8B0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071954 0006E8B4 38 84 00 88 */ addi r4, r4, 0x88 +/* 80071958 0006E8B8 48 25 07 FD */ bl FindWidget__9CGuiFrameCFPCc +/* 8007195C 0006E8BC 90 7F 00 7C */ stw r3, 0x7c(r31) +/* 80071960 0006E8C0 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071964 0006E8C4 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071968 0006E8C8 80 7F 00 08 */ lwz r3, 8(r31) +/* 8007196C 0006E8CC 38 84 00 9D */ addi r4, r4, 0x9d +/* 80071970 0006E8D0 48 25 07 E5 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071974 0006E8D4 90 7F 00 80 */ stw r3, 0x80(r31) +/* 80071978 0006E8D8 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 8007197C 0006E8DC 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071980 0006E8E0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071984 0006E8E4 38 84 00 B1 */ addi r4, r4, 0xb1 +/* 80071988 0006E8E8 48 25 07 CD */ bl FindWidget__9CGuiFrameCFPCc +/* 8007198C 0006E8EC 90 7F 00 84 */ stw r3, 0x84(r31) +/* 80071990 0006E8F0 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071994 0006E8F4 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071998 0006E8F8 80 7F 00 08 */ lwz r3, 8(r31) +/* 8007199C 0006E8FC 38 84 00 C5 */ addi r4, r4, 0xc5 +/* 800719A0 0006E900 48 25 07 B5 */ bl FindWidget__9CGuiFrameCFPCc +/* 800719A4 0006E904 90 7F 00 88 */ stw r3, 0x88(r31) +/* 800719A8 0006E908 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800719AC 0006E90C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 800719B0 0006E910 80 7F 00 08 */ lwz r3, 8(r31) +/* 800719B4 0006E914 38 84 00 DC */ addi r4, r4, 0xdc +/* 800719B8 0006E918 48 25 07 9D */ bl FindWidget__9CGuiFrameCFPCc +/* 800719BC 0006E91C 90 7F 00 8C */ stw r3, 0x8c(r31) +/* 800719C0 0006E920 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800719C4 0006E924 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 800719C8 0006E928 80 7F 00 08 */ lwz r3, 8(r31) +/* 800719CC 0006E92C 38 84 00 F1 */ addi r4, r4, 0xf1 +/* 800719D0 0006E930 48 25 07 85 */ bl FindWidget__9CGuiFrameCFPCc +/* 800719D4 0006E934 90 7F 00 90 */ stw r3, 0x90(r31) +/* 800719D8 0006E938 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800719DC 0006E93C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 800719E0 0006E940 80 7F 00 08 */ lwz r3, 8(r31) +/* 800719E4 0006E944 38 84 01 04 */ addi r4, r4, 0x104 +/* 800719E8 0006E948 48 25 07 6D */ bl FindWidget__9CGuiFrameCFPCc +/* 800719EC 0006E94C 90 7F 00 94 */ stw r3, 0x94(r31) +/* 800719F0 0006E950 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800719F4 0006E954 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 800719F8 0006E958 80 7F 00 08 */ lwz r3, 8(r31) +/* 800719FC 0006E95C 38 84 01 1A */ addi r4, r4, 0x11a +/* 80071A00 0006E960 48 25 07 55 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071A04 0006E964 90 7F 00 98 */ stw r3, 0x98(r31) +/* 80071A08 0006E968 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071A0C 0006E96C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071A10 0006E970 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071A14 0006E974 38 84 01 2D */ addi r4, r4, 0x12d +/* 80071A18 0006E978 48 25 07 3D */ bl FindWidget__9CGuiFrameCFPCc +/* 80071A1C 0006E97C 90 7F 00 9C */ stw r3, 0x9c(r31) +/* 80071A20 0006E980 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071A24 0006E984 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071A28 0006E988 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071A2C 0006E98C 38 84 01 42 */ addi r4, r4, 0x142 +/* 80071A30 0006E990 48 25 07 25 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071A34 0006E994 90 7F 00 A0 */ stw r3, 0xa0(r31) +/* 80071A38 0006E998 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071A3C 0006E99C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071A40 0006E9A0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071A44 0006E9A4 38 84 01 56 */ addi r4, r4, 0x156 +/* 80071A48 0006E9A8 48 25 07 0D */ bl FindWidget__9CGuiFrameCFPCc +/* 80071A4C 0006E9AC 90 7F 00 A4 */ stw r3, 0xa4(r31) +/* 80071A50 0006E9B0 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071A54 0006E9B4 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071A58 0006E9B8 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071A5C 0006E9BC 38 84 01 6C */ addi r4, r4, 0x16c +/* 80071A60 0006E9C0 48 25 06 F5 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071A64 0006E9C4 90 7F 01 78 */ stw r3, 0x178(r31) +/* 80071A68 0006E9C8 80 7F 01 78 */ lwz r3, 0x178(r31) +/* 80071A6C 0006E9CC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80071A70 0006E9D0 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80071A74 0006E9D4 38 84 01 BC */ addi r4, r4, 0x1bc +/* 80071A78 0006E9D8 48 25 7B F1 */ bl SetFontColor__15CGuiTextSupportFRC6CColor +/* 80071A7C 0006E9DC 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80071A80 0006E9E0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071A84 0006E9E4 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l +/* 80071A88 0006E9E8 38 84 01 7B */ addi r4, r4, 0x17b +/* 80071A8C 0006E9EC 48 25 06 C9 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071A90 0006E9F0 90 7F 01 74 */ stw r3, 0x174(r31) +/* 80071A94 0006E9F4 38 80 00 01 */ li r4, 1 +/* 80071A98 0006E9F8 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80071A9C 0006E9FC 48 25 8B 91 */ bl SetIsVisible__10CGuiWidgetFb +/* 80071AA0 0006EA00 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80071AA4 0006EA04 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80071AA8 0006EA08 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80071AAC 0006EA0C 38 84 01 BC */ addi r4, r4, 0x1bc +/* 80071AB0 0006EA10 48 25 7B B9 */ bl SetFontColor__15CGuiTextSupportFRC6CColor +/* 80071AB4 0006EA14 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80071AB8 0006EA18 38 80 00 00 */ li r4, 0 +/* 80071ABC 0006EA1C 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80071AC0 0006EA20 48 25 63 49 */ bl SetPage__15CGuiTextSupportFi +/* 80071AC4 0006EA24 38 61 00 FC */ addi r3, r1, 0xfc +/* 80071AC8 0006EA28 38 8D 83 CC */ addi r4, r13, lbl_805A6F8C@sda21 +/* 80071ACC 0006EA2C 4B FA 3F 25 */ bl wstring_l__4rstlFPCw +/* 80071AD0 0006EA30 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80071AD4 0006EA34 38 81 00 FC */ addi r4, r1, 0xfc +/* 80071AD8 0006EA38 38 A0 00 00 */ li r5, 0 +/* 80071ADC 0006EA3C 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80071AE0 0006EA40 48 25 7D A5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80071AE4 0006EA44 38 61 00 FC */ addi r3, r1, 0xfc +/* 80071AE8 0006EA48 48 2C B6 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80071AEC 0006EA4C 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80071AF0 0006EA50 38 80 00 00 */ li r4, 0 +/* 80071AF4 0006EA54 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80071AF8 0006EA58 48 25 7B F1 */ bl SetJustification__15CGuiTextSupportF14EJustification +/* 80071AFC 0006EA5C 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80071B00 0006EA60 38 80 00 00 */ li r4, 0 +/* 80071B04 0006EA64 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80071B08 0006EA68 48 25 7B B1 */ bl SetVerticalJustification__15CGuiTextSupportF22EVerticalJustification +/* 80071B0C 0006EA6C 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80071B10 0006EA70 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80071B14 0006EA74 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80071B18 0006EA78 38 84 01 E8 */ addi r4, r4, 0x1e8 +/* 80071B1C 0006EA7C 48 25 7A C1 */ bl "SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>" +/* 80071B20 0006EA80 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80071B24 0006EA84 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071B28 0006EA88 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l +/* 80071B2C 0006EA8C 38 84 01 89 */ addi r4, r4, 0x189 +/* 80071B30 0006EA90 48 25 06 25 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071B34 0006EA94 90 7F 01 80 */ stw r3, 0x180(r31) +/* 80071B38 0006EA98 38 80 00 00 */ li r4, 0 +/* 80071B3C 0006EA9C 38 A0 00 01 */ li r5, 1 +/* 80071B40 0006EAA0 80 7F 01 80 */ lwz r3, 0x180(r31) +/* 80071B44 0006EAA4 48 25 8B A5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +/* 80071B48 0006EAA8 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80071B4C 0006EAAC 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071B50 0006EAB0 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l +/* 80071B54 0006EAB4 38 84 01 9A */ addi r4, r4, 0x19a +/* 80071B58 0006EAB8 48 25 05 FD */ bl FindWidget__9CGuiFrameCFPCc +/* 80071B5C 0006EABC 90 7F 01 7C */ stw r3, 0x17c(r31) +/* 80071B60 0006EAC0 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071B64 0006EAC4 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071B68 0006EAC8 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071B6C 0006EACC 38 84 01 AA */ addi r4, r4, 0x1aa +/* 80071B70 0006EAD0 48 25 05 E5 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071B74 0006EAD4 90 7F 01 84 */ stw r3, 0x184(r31) +/* 80071B78 0006EAD8 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071B7C 0006EADC 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071B80 0006EAE0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071B84 0006EAE4 38 84 01 B9 */ addi r4, r4, 0x1b9 +/* 80071B88 0006EAE8 48 25 05 CD */ bl FindWidget__9CGuiFrameCFPCc +/* 80071B8C 0006EAEC 90 7F 01 88 */ stw r3, 0x188(r31) +/* 80071B90 0006EAF0 3C 60 80 3D */ lis r3, lbl_803CD2C8@ha +/* 80071B94 0006EAF4 38 A3 D2 C8 */ addi r5, r3, lbl_803CD2C8@l +/* 80071B98 0006EAF8 38 00 00 00 */ li r0, 0 +/* 80071B9C 0006EAFC 81 65 00 00 */ lwz r11, 0(r5) +/* 80071BA0 0006EB00 38 CD A9 1A */ addi r6, r13, lbl_805A94DA@sda21 +/* 80071BA4 0006EB04 81 45 00 04 */ lwz r10, 4(r5) +/* 80071BA8 0006EB08 38 61 01 0C */ addi r3, r1, 0x10c +/* 80071BAC 0006EB0C 81 25 00 08 */ lwz r9, 8(r5) +/* 80071BB0 0006EB10 38 80 00 20 */ li r4, 0x20 +/* 80071BB4 0006EB14 81 05 00 0C */ lwz r8, 0xc(r5) +/* 80071BB8 0006EB18 38 A0 00 01 */ li r5, 1 +/* 80071BBC 0006EB1C 80 E2 88 2C */ lwz r7, lbl_805AA54C@sda21(r2) +/* 80071BC0 0006EB20 91 61 01 1C */ stw r11, 0x11c(r1) +/* 80071BC4 0006EB24 91 41 01 20 */ stw r10, 0x120(r1) +/* 80071BC8 0006EB28 91 21 01 24 */ stw r9, 0x124(r1) +/* 80071BCC 0006EB2C 91 01 01 28 */ stw r8, 0x128(r1) +/* 80071BD0 0006EB30 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80071BD4 0006EB34 90 C1 01 0C */ stw r6, 0x10c(r1) +/* 80071BD8 0006EB38 90 01 01 10 */ stw r0, 0x110(r1) +/* 80071BDC 0006EB3C 90 01 01 14 */ stw r0, 0x114(r1) +/* 80071BE0 0006EB40 48 2C B3 95 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 80071BE4 0006EB44 38 61 01 0C */ addi r3, r1, 0x10c +/* 80071BE8 0006EB48 38 81 01 1C */ addi r4, r1, 0x11c +/* 80071BEC 0006EB4C 38 A0 FF FF */ li r5, -1 +/* 80071BF0 0006EB50 48 2C B6 0D */ bl sub_8033d1fc +/* 80071BF4 0006EB54 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80071BF8 0006EB58 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80071BFC 0006EB5C 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l +/* 80071C00 0006EB60 80 83 00 BC */ lwz r4, 0xbc(r3) +/* 80071C04 0006EB64 38 65 01 C8 */ addi r3, r5, 0x1c8 +/* 80071C08 0006EB68 4C C6 31 82 */ crclr 6 +/* 80071C0C 0006EB6C 48 26 45 A5 */ bl Stringize__7CBasicsFPCce +/* 80071C10 0006EB70 7C 64 1B 78 */ mr r4, r3 +/* 80071C14 0006EB74 38 61 00 EC */ addi r3, r1, 0xec +/* 80071C18 0006EB78 38 C1 00 0C */ addi r6, r1, 0xc +/* 80071C1C 0006EB7C 38 A0 FF FF */ li r5, -1 +/* 80071C20 0006EB80 48 2C C5 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80071C24 0006EB84 38 61 00 DC */ addi r3, r1, 0xdc +/* 80071C28 0006EB88 38 81 00 EC */ addi r4, r1, 0xec +/* 80071C2C 0006EB8C 48 2C CA F5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80071C30 0006EB90 38 61 01 0C */ addi r3, r1, 0x10c +/* 80071C34 0006EB94 38 81 00 DC */ addi r4, r1, 0xdc +/* 80071C38 0006EB98 48 2C BA 15 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80071C3C 0006EB9C 38 61 00 DC */ addi r3, r1, 0xdc +/* 80071C40 0006EBA0 48 2C B4 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80071C44 0006EBA4 38 61 00 EC */ addi r3, r1, 0xec +/* 80071C48 0006EBA8 48 2C BE 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80071C4C 0006EBAC 38 61 01 0C */ addi r3, r1, 0x10c +/* 80071C50 0006EBB0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80071C54 0006EBB4 38 A0 FF FF */ li r5, -1 +/* 80071C58 0006EBB8 48 2C B8 8D */ bl sub_8033d4e4 +/* 80071C5C 0006EBBC 80 7F 01 84 */ lwz r3, 0x184(r31) +/* 80071C60 0006EBC0 38 81 01 0C */ addi r4, r1, 0x10c +/* 80071C64 0006EBC4 38 A0 00 00 */ li r5, 0 +/* 80071C68 0006EBC8 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80071C6C 0006EBCC 48 25 7C 19 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80071C70 0006EBD0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80071C74 0006EBD4 38 80 00 63 */ li r4, 0x63 +/* 80071C78 0006EBD8 48 2E 4A 85 */ bl GetString__12CStringTableCFi +/* 80071C7C 0006EBDC 7C 64 1B 78 */ mr r4, r3 +/* 80071C80 0006EBE0 38 61 00 CC */ addi r3, r1, 0xcc +/* 80071C84 0006EBE4 4B FA 3D 6D */ bl wstring_l__4rstlFPCw +/* 80071C88 0006EBE8 80 7F 01 88 */ lwz r3, 0x188(r31) +/* 80071C8C 0006EBEC 38 81 00 CC */ addi r4, r1, 0xcc +/* 80071C90 0006EBF0 38 A0 00 00 */ li r5, 0 +/* 80071C94 0006EBF4 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80071C98 0006EBF8 48 25 7B ED */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80071C9C 0006EBFC 38 61 00 CC */ addi r3, r1, 0xcc +/* 80071CA0 0006EC00 48 2C B4 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80071CA4 0006EC04 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80071CA8 0006EC08 80 7F 01 88 */ lwz r3, 0x188(r31) +/* 80071CAC 0006EC0C 38 84 01 BC */ addi r4, r4, 0x1bc +/* 80071CB0 0006EC10 48 25 8B BD */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80071CB4 0006EC14 38 61 01 0C */ addi r3, r1, 0x10c +/* 80071CB8 0006EC18 48 2C B4 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80071CBC 0006EC1C 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80071CC0 0006EC20 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071CC4 0006EC24 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l +/* 80071CC8 0006EC28 38 84 01 CE */ addi r4, r4, 0x1ce +/* 80071CCC 0006EC2C 48 25 04 89 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071CD0 0006EC30 90 7F 01 8C */ stw r3, 0x18c(r31) +/* 80071CD4 0006EC34 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071CD8 0006EC38 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071CDC 0006EC3C 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071CE0 0006EC40 38 84 01 E1 */ addi r4, r4, 0x1e1 +/* 80071CE4 0006EC44 48 25 04 71 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071CE8 0006EC48 90 7F 01 90 */ stw r3, 0x190(r31) +/* 80071CEC 0006EC4C 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071CF0 0006EC50 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80071CF4 0006EC54 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071CF8 0006EC58 38 84 01 F3 */ addi r4, r4, 0x1f3 +/* 80071CFC 0006EC5C 48 25 04 59 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071D00 0006EC60 90 7F 01 94 */ stw r3, 0x194(r31) +/* 80071D04 0006EC64 38 80 00 00 */ li r4, 0 +/* 80071D08 0006EC68 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 80071D0C 0006EC6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80071D10 0006EC70 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80071D14 0006EC74 7D 89 03 A6 */ mtctr r12 +/* 80071D18 0006EC78 4E 80 04 21 */ bctrl +/* 80071D1C 0006EC7C C0 43 00 A0 */ lfs f2, 0xa0(r3) +/* 80071D20 0006EC80 38 80 00 01 */ li r4, 1 +/* 80071D24 0006EC84 C0 23 00 90 */ lfs f1, 0x90(r3) +/* 80071D28 0006EC88 C0 03 00 80 */ lfs f0, 0x80(r3) +/* 80071D2C 0006EC8C D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 80071D30 0006EC90 D0 3F 00 30 */ stfs f1, 0x30(r31) +/* 80071D34 0006EC94 D0 5F 00 34 */ stfs f2, 0x34(r31) +/* 80071D38 0006EC98 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 80071D3C 0006EC9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80071D40 0006ECA0 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80071D44 0006ECA4 7D 89 03 A6 */ mtctr r12 +/* 80071D48 0006ECA8 4E 80 04 21 */ bctrl +/* 80071D4C 0006ECAC C0 63 00 A0 */ lfs f3, 0xa0(r3) +/* 80071D50 0006ECB0 3B 40 00 00 */ li r26, 0 +/* 80071D54 0006ECB4 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 80071D58 0006ECB8 3B 20 00 01 */ li r25, 1 +/* 80071D5C 0006ECBC C0 43 00 90 */ lfs f2, 0x90(r3) +/* 80071D60 0006ECC0 C0 23 00 80 */ lfs f1, 0x80(r3) +/* 80071D64 0006ECC4 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80071D68 0006ECC8 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 80071D6C 0006ECCC D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 80071D70 0006ECD0 80 7F 01 8C */ lwz r3, 0x18c(r31) +/* 80071D74 0006ECD4 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 80071D78 0006ECD8 C0 43 00 A0 */ lfs f2, 0xa0(r3) +/* 80071D7C 0006ECDC C0 23 00 90 */ lfs f1, 0x90(r3) +/* 80071D80 0006ECE0 C0 03 00 80 */ lfs f0, 0x80(r3) +/* 80071D84 0006ECE4 D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 80071D88 0006ECE8 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 80071D8C 0006ECEC D0 3F 00 40 */ stfs f1, 0x40(r31) +/* 80071D90 0006ECF0 D0 5F 00 44 */ stfs f2, 0x44(r31) +/* 80071D94 0006ECF4 80 7F 01 90 */ lwz r3, 0x190(r31) +/* 80071D98 0006ECF8 C0 43 00 A0 */ lfs f2, 0xa0(r3) +/* 80071D9C 0006ECFC C0 23 00 90 */ lfs f1, 0x90(r3) +/* 80071DA0 0006ED00 C0 03 00 80 */ lfs f0, 0x80(r3) +/* 80071DA4 0006ED04 D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 80071DA8 0006ED08 D0 3F 00 4C */ stfs f1, 0x4c(r31) +/* 80071DAC 0006ED0C D0 5F 00 50 */ stfs f2, 0x50(r31) +/* 80071DB0 0006ED10 80 7F 01 94 */ lwz r3, 0x194(r31) +/* 80071DB4 0006ED14 C0 43 00 A0 */ lfs f2, 0xa0(r3) +/* 80071DB8 0006ED18 C0 23 00 90 */ lfs f1, 0x90(r3) +/* 80071DBC 0006ED1C C0 03 00 80 */ lfs f0, 0x80(r3) +/* 80071DC0 0006ED20 D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 80071DC4 0006ED24 D0 3F 00 58 */ stfs f1, 0x58(r31) +/* 80071DC8 0006ED28 D0 5F 00 5C */ stfs f2, 0x5c(r31) +lbl_80071DCC: +/* 80071DCC 0006ED2C 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 80071DD0 0006ED30 7F 44 D3 78 */ mr r4, r26 +/* 80071DD4 0006ED34 81 83 00 00 */ lwz r12, 0(r3) +/* 80071DD8 0006ED38 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80071DDC 0006ED3C 7D 89 03 A6 */ mtctr r12 +/* 80071DE0 0006ED40 4E 80 04 21 */ bctrl +/* 80071DE4 0006ED44 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 80071DE8 0006ED48 3B 5A 00 01 */ addi r26, r26, 1 +/* 80071DEC 0006ED4C 53 20 26 F6 */ rlwimi r0, r25, 4, 0x1b, 0x1b +/* 80071DF0 0006ED50 2C 1A 00 05 */ cmpwi r26, 5 +/* 80071DF4 0006ED54 98 03 00 B6 */ stb r0, 0xb6(r3) +/* 80071DF8 0006ED58 41 80 FF D4 */ blt lbl_80071DCC +/* 80071DFC 0006ED5C C3 82 88 30 */ lfs f28, lbl_805AA550@sda21(r2) +/* 80071E00 0006ED60 3B 60 00 00 */ li r27, 0 +/* 80071E04 0006ED64 CB A2 88 38 */ lfd f29, lbl_805AA558@sda21(r2) +/* 80071E08 0006ED68 3F 20 43 30 */ lis r25, 0x4330 +/* 80071E0C 0006ED6C 48 00 00 90 */ b lbl_80071E9C +lbl_80071E10: +/* 80071E10 0006ED70 81 83 00 00 */ lwz r12, 0(r3) +/* 80071E14 0006ED74 7F 64 DB 78 */ mr r4, r27 +/* 80071E18 0006ED78 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80071E1C 0006ED7C 7D 89 03 A6 */ mtctr r12 +/* 80071E20 0006ED80 4E 80 04 21 */ bctrl +/* 80071E24 0006ED84 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 80071E28 0006ED88 C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 80071E2C 0006ED8C 90 01 02 24 */ stw r0, 0x224(r1) +/* 80071E30 0006ED90 7C 7A 1B 78 */ mr r26, r3 +/* 80071E34 0006ED94 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 80071E38 0006ED98 EC 81 E0 2A */ fadds f4, f1, f28 +/* 80071E3C 0006ED9C 93 21 02 20 */ stw r25, 0x220(r1) +/* 80071E40 0006EDA0 38 61 01 EC */ addi r3, r1, 0x1ec +/* 80071E44 0006EDA4 EC 00 E0 2A */ fadds f0, f0, f28 +/* 80071E48 0006EDA8 C0 5F 00 38 */ lfs f2, 0x38(r31) +/* 80071E4C 0006EDAC C8 21 02 20 */ lfd f1, 0x220(r1) +/* 80071E50 0006EDB0 C0 7F 00 34 */ lfs f3, 0x34(r31) +/* 80071E54 0006EDB4 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80071E58 0006EDB8 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80071E5C 0006EDBC D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80071E60 0006EDC0 EC 02 00 72 */ fmuls f0, f2, f1 +/* 80071E64 0006EDC4 D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 80071E68 0006EDC8 EC 03 00 2A */ fadds f0, f3, f0 +/* 80071E6C 0006EDCC D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80071E70 0006EDD0 48 2A 12 D1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80071E74 0006EDD4 38 7A 00 04 */ addi r3, r26, 4 +/* 80071E78 0006EDD8 38 81 01 EC */ addi r4, r1, 0x1ec +/* 80071E7C 0006EDDC 48 2A 0C C5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80071E80 0006EDE0 7F 43 D3 78 */ mr r3, r26 +/* 80071E84 0006EDE4 48 25 29 65 */ bl RecalculateTransforms__10CGuiObjectFv +/* 80071E88 0006EDE8 88 1A 00 B6 */ lbz r0, 0xb6(r26) +/* 80071E8C 0006EDEC 38 60 00 01 */ li r3, 1 +/* 80071E90 0006EDF0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80071E94 0006EDF4 3B 7B 00 01 */ addi r27, r27, 1 +/* 80071E98 0006EDF8 98 1A 00 B6 */ stb r0, 0xb6(r26) +lbl_80071E9C: +/* 80071E9C 0006EDFC 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 80071EA0 0006EE00 80 03 00 C0 */ lwz r0, 0xc0(r3) +/* 80071EA4 0006EE04 7C 1B 00 00 */ cmpw r27, r0 +/* 80071EA8 0006EE08 41 80 FF 68 */ blt lbl_80071E10 +/* 80071EAC 0006EE0C 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071EB0 0006EE10 3B BF 00 DC */ addi r29, r31, 0xdc +/* 80071EB4 0006EE14 3B 9F 01 48 */ addi r28, r31, 0x148 +/* 80071EB8 0006EE18 3B 60 00 00 */ li r27, 0 +/* 80071EBC 0006EE1C 3B 43 D2 D8 */ addi r26, r3, lbl_803CD2D8@l +lbl_80071EC0: +/* 80071EC0 0006EE20 38 7A 02 05 */ addi r3, r26, 0x205 +/* 80071EC4 0006EE24 38 9B 00 01 */ addi r4, r27, 1 +/* 80071EC8 0006EE28 4C C6 31 82 */ crclr 6 +/* 80071ECC 0006EE2C 48 26 42 E5 */ bl Stringize__7CBasicsFPCce +/* 80071ED0 0006EE30 7C 64 1B 78 */ mr r4, r3 +/* 80071ED4 0006EE34 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071ED8 0006EE38 48 25 02 7D */ bl FindWidget__9CGuiFrameCFPCc +/* 80071EDC 0006EE3C 7C 79 1B 78 */ mr r25, r3 +/* 80071EE0 0006EE40 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80071EE4 0006EE44 38 8D 83 CC */ addi r4, r13, lbl_805A6F8C@sda21 +/* 80071EE8 0006EE48 4B FA 3B 09 */ bl wstring_l__4rstlFPCw +/* 80071EEC 0006EE4C 38 79 00 D4 */ addi r3, r25, 0xd4 +/* 80071EF0 0006EE50 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80071EF4 0006EE54 38 A0 00 00 */ li r5, 0 +/* 80071EF8 0006EE58 48 25 79 8D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80071EFC 0006EE5C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80071F00 0006EE60 48 2C B2 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80071F04 0006EE64 80 1F 00 D8 */ lwz r0, 0xd8(r31) +/* 80071F08 0006EE68 54 00 10 3A */ slwi r0, r0, 2 +/* 80071F0C 0006EE6C 7C 7D 02 15 */ add. r3, r29, r0 +/* 80071F10 0006EE70 41 82 00 08 */ beq lbl_80071F18 +/* 80071F14 0006EE74 93 23 00 00 */ stw r25, 0(r3) +lbl_80071F18: +/* 80071F18 0006EE78 80 BF 00 D8 */ lwz r5, 0xd8(r31) +/* 80071F1C 0006EE7C 38 7A 02 16 */ addi r3, r26, 0x216 +/* 80071F20 0006EE80 38 9B 00 01 */ addi r4, r27, 1 +/* 80071F24 0006EE84 38 05 00 01 */ addi r0, r5, 1 +/* 80071F28 0006EE88 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 80071F2C 0006EE8C 4C C6 31 82 */ crclr 6 +/* 80071F30 0006EE90 48 26 42 81 */ bl Stringize__7CBasicsFPCce +/* 80071F34 0006EE94 7C 64 1B 78 */ mr r4, r3 +/* 80071F38 0006EE98 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071F3C 0006EE9C 48 25 02 19 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071F40 0006EEA0 80 1F 01 44 */ lwz r0, 0x144(r31) +/* 80071F44 0006EEA4 54 00 10 3A */ slwi r0, r0, 2 +/* 80071F48 0006EEA8 7C 9C 02 15 */ add. r4, r28, r0 +/* 80071F4C 0006EEAC 41 82 00 08 */ beq lbl_80071F54 +/* 80071F50 0006EEB0 90 64 00 00 */ stw r3, 0(r4) +lbl_80071F54: +/* 80071F54 0006EEB4 80 7F 01 44 */ lwz r3, 0x144(r31) +/* 80071F58 0006EEB8 3B 7B 00 01 */ addi r27, r27, 1 +/* 80071F5C 0006EEBC 2C 1B 00 05 */ cmpwi r27, 5 +/* 80071F60 0006EEC0 38 03 00 01 */ addi r0, r3, 1 +/* 80071F64 0006EEC4 90 1F 01 44 */ stw r0, 0x144(r31) +/* 80071F68 0006EEC8 41 80 FF 58 */ blt lbl_80071EC0 +/* 80071F6C 0006EECC 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071F70 0006EED0 3B 5F 01 60 */ addi r26, r31, 0x160 +/* 80071F74 0006EED4 3B 23 D2 D8 */ addi r25, r3, lbl_803CD2D8@l +/* 80071F78 0006EED8 3B 60 00 00 */ li r27, 0 +lbl_80071F7C: +/* 80071F7C 0006EEDC 38 79 02 24 */ addi r3, r25, 0x224 +/* 80071F80 0006EEE0 38 9B 00 01 */ addi r4, r27, 1 +/* 80071F84 0006EEE4 4C C6 31 82 */ crclr 6 +/* 80071F88 0006EEE8 48 26 42 29 */ bl Stringize__7CBasicsFPCce +/* 80071F8C 0006EEEC 7C 64 1B 78 */ mr r4, r3 +/* 80071F90 0006EEF0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071F94 0006EEF4 48 25 01 C1 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071F98 0006EEF8 80 1F 01 5C */ lwz r0, 0x15c(r31) +/* 80071F9C 0006EEFC 54 00 10 3A */ slwi r0, r0, 2 +/* 80071FA0 0006EF00 7C 9A 02 15 */ add. r4, r26, r0 +/* 80071FA4 0006EF04 41 82 00 08 */ beq lbl_80071FAC +/* 80071FA8 0006EF08 90 64 00 00 */ stw r3, 0(r4) +lbl_80071FAC: +/* 80071FAC 0006EF0C 80 7F 01 5C */ lwz r3, 0x15c(r31) +/* 80071FB0 0006EF10 3B 7B 00 01 */ addi r27, r27, 1 +/* 80071FB4 0006EF14 2C 1B 00 05 */ cmpwi r27, 5 +/* 80071FB8 0006EF18 38 03 00 01 */ addi r0, r3, 1 +/* 80071FBC 0006EF1C 90 1F 01 5C */ stw r0, 0x15c(r31) +/* 80071FC0 0006EF20 41 80 FF BC */ blt lbl_80071F7C +/* 80071FC4 0006EF24 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80071FC8 0006EF28 3B 9F 00 AC */ addi r28, r31, 0xac +/* 80071FCC 0006EF2C 3B BF 00 C4 */ addi r29, r31, 0xc4 +/* 80071FD0 0006EF30 3B 60 00 00 */ li r27, 0 +/* 80071FD4 0006EF34 3B 23 D2 D8 */ addi r25, r3, lbl_803CD2D8@l +lbl_80071FD8: +/* 80071FD8 0006EF38 7F 64 DB 78 */ mr r4, r27 +/* 80071FDC 0006EF3C 38 79 02 3B */ addi r3, r25, 0x23b +/* 80071FE0 0006EF40 4C C6 31 82 */ crclr 6 +/* 80071FE4 0006EF44 48 26 41 CD */ bl Stringize__7CBasicsFPCce +/* 80071FE8 0006EF48 7C 64 1B 78 */ mr r4, r3 +/* 80071FEC 0006EF4C 80 7F 00 08 */ lwz r3, 8(r31) +/* 80071FF0 0006EF50 48 25 01 65 */ bl FindWidget__9CGuiFrameCFPCc +/* 80071FF4 0006EF54 7C 7A 1B 78 */ mr r26, r3 +/* 80071FF8 0006EF58 38 61 00 94 */ addi r3, r1, 0x94 +/* 80071FFC 0006EF5C 38 8D 83 CC */ addi r4, r13, lbl_805A6F8C@sda21 +/* 80072000 0006EF60 4B FA 39 F1 */ bl wstring_l__4rstlFPCw +/* 80072004 0006EF64 38 7A 00 D4 */ addi r3, r26, 0xd4 +/* 80072008 0006EF68 38 81 00 94 */ addi r4, r1, 0x94 +/* 8007200C 0006EF6C 38 A0 00 00 */ li r5, 0 +/* 80072010 0006EF70 48 25 78 75 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80072014 0006EF74 38 61 00 94 */ addi r3, r1, 0x94 +/* 80072018 0006EF78 48 2C B1 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8007201C 0006EF7C 80 1F 00 A8 */ lwz r0, 0xa8(r31) +/* 80072020 0006EF80 54 00 10 3A */ slwi r0, r0, 2 +/* 80072024 0006EF84 7C 7C 02 15 */ add. r3, r28, r0 +/* 80072028 0006EF88 41 82 00 08 */ beq lbl_80072030 +/* 8007202C 0006EF8C 93 43 00 00 */ stw r26, 0(r3) +lbl_80072030: +/* 80072030 0006EF90 80 BF 00 A8 */ lwz r5, 0xa8(r31) +/* 80072034 0006EF94 7F 64 DB 78 */ mr r4, r27 +/* 80072038 0006EF98 38 79 02 4F */ addi r3, r25, 0x24f +/* 8007203C 0006EF9C 38 05 00 01 */ addi r0, r5, 1 +/* 80072040 0006EFA0 90 1F 00 A8 */ stw r0, 0xa8(r31) +/* 80072044 0006EFA4 4C C6 31 82 */ crclr 6 +/* 80072048 0006EFA8 48 26 41 69 */ bl Stringize__7CBasicsFPCce +/* 8007204C 0006EFAC 7C 64 1B 78 */ mr r4, r3 +/* 80072050 0006EFB0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80072054 0006EFB4 48 25 01 01 */ bl FindWidget__9CGuiFrameCFPCc +/* 80072058 0006EFB8 80 1F 00 C0 */ lwz r0, 0xc0(r31) +/* 8007205C 0006EFBC 54 00 10 3A */ slwi r0, r0, 2 +/* 80072060 0006EFC0 7C 9D 02 15 */ add. r4, r29, r0 +/* 80072064 0006EFC4 41 82 00 08 */ beq lbl_8007206C +/* 80072068 0006EFC8 90 64 00 00 */ stw r3, 0(r4) +lbl_8007206C: +/* 8007206C 0006EFCC 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 80072070 0006EFD0 3B 7B 00 01 */ addi r27, r27, 1 +/* 80072074 0006EFD4 2C 1B 00 05 */ cmpwi r27, 5 +/* 80072078 0006EFD8 38 03 00 01 */ addi r0, r3, 1 +/* 8007207C 0006EFDC 90 1F 00 C0 */ stw r0, 0xc0(r31) +/* 80072080 0006EFE0 41 80 FF 58 */ blt lbl_80071FD8 +/* 80072084 0006EFE4 3B 40 00 00 */ li r26, 0 +/* 80072088 0006EFE8 3B 3F 00 F4 */ addi r25, r31, 0xf4 +lbl_8007208C: +/* 8007208C 0006EFEC 7F 43 D3 78 */ mr r3, r26 +/* 80072090 0006EFF0 48 0F 7E E1 */ bl GetImagePaneName__16CPauseScreenBaseFUi +/* 80072094 0006EFF4 7C 64 1B 78 */ mr r4, r3 +/* 80072098 0006EFF8 80 7F 00 08 */ lwz r3, 8(r31) +/* 8007209C 0006EFFC 48 25 00 B9 */ bl FindWidget__9CGuiFrameCFPCc +/* 800720A0 0006F000 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 800720A4 0006F004 54 00 10 3A */ slwi r0, r0, 2 +/* 800720A8 0006F008 7C 99 02 15 */ add. r4, r25, r0 +/* 800720AC 0006F00C 41 82 00 08 */ beq lbl_800720B4 +/* 800720B0 0006F010 90 64 00 00 */ stw r3, 0(r4) +lbl_800720B4: +/* 800720B4 0006F014 80 7F 00 F0 */ lwz r3, 0xf0(r31) +/* 800720B8 0006F018 3B 5A 00 01 */ addi r26, r26, 1 +/* 800720BC 0006F01C 2C 1A 00 14 */ cmpwi r26, 0x14 +/* 800720C0 0006F020 38 03 00 01 */ addi r0, r3, 1 +/* 800720C4 0006F024 90 1F 00 F0 */ stw r0, 0xf0(r31) +/* 800720C8 0006F028 41 80 FF C4 */ blt lbl_8007208C +/* 800720CC 0006F02C 80 FF 00 70 */ lwz r7, 0x70(r31) +/* 800720D0 0006F030 38 60 00 00 */ li r3, 0 +/* 800720D4 0006F034 38 00 00 01 */ li r0, 1 +/* 800720D8 0006F038 38 80 00 00 */ li r4, 0 +/* 800720DC 0006F03C 80 C7 00 C4 */ lwz r6, 0xc4(r7) +/* 800720E0 0006F040 38 A0 00 01 */ li r5, 1 +/* 800720E4 0006F044 90 C7 00 C8 */ stw r6, 0xc8(r7) +/* 800720E8 0006F048 90 67 00 C4 */ stw r3, 0xc4(r7) +/* 800720EC 0006F04C 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 800720F0 0006F050 80 66 00 C4 */ lwz r3, 0xc4(r6) +/* 800720F4 0006F054 90 66 00 C8 */ stw r3, 0xc8(r6) +/* 800720F8 0006F058 90 06 00 C4 */ stw r0, 0xc4(r6) +/* 800720FC 0006F05C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80072100 0006F060 48 25 85 E9 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +/* 80072104 0006F064 80 7F 00 88 */ lwz r3, 0x88(r31) +/* 80072108 0006F068 38 80 00 00 */ li r4, 0 +/* 8007210C 0006F06C 38 A0 00 01 */ li r5, 1 +/* 80072110 0006F070 48 25 85 D9 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +/* 80072114 0006F074 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80072118 0006F078 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8007211C 0006F07C 38 84 01 BC */ addi r4, r4, 0x1bc +/* 80072120 0006F080 48 25 87 4D */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80072124 0006F084 7F E3 FB 78 */ mr r3, r31 +/* 80072128 0006F088 81 9F 00 00 */ lwz r12, 0(r31) +/* 8007212C 0006F08C 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 80072130 0006F090 7D 89 03 A6 */ mtctr r12 +/* 80072134 0006F094 4E 80 04 21 */ bctrl +/* 80072138 0006F098 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007213C 0006F09C 41 82 00 44 */ beq lbl_80072180 +/* 80072140 0006F0A0 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 80072144 0006F0A4 C3 E2 88 34 */ lfs f31, lbl_805AA554@sda21(r2) +/* 80072148 0006F0A8 38 A3 01 BC */ addi r5, r3, 0x1bc +/* 8007214C 0006F0AC F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 80072150 0006F0B0 7F E3 FB 78 */ mr r3, r31 +/* 80072154 0006F0B4 80 E5 00 00 */ lwz r7, 0(r5) +/* 80072158 0006F0B8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8007215C 0006F0BC 88 01 00 09 */ lbz r0, 9(r1) +/* 80072160 0006F0C0 38 80 00 00 */ li r4, 0 +/* 80072164 0006F0C4 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 80072168 0006F0C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8007216C 0006F0CC 81 9F 00 00 */ lwz r12, 0(r31) +/* 80072170 0006F0D0 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80072174 0006F0D4 7D 89 03 A6 */ mtctr r12 +/* 80072178 0006F0D8 4E 80 04 21 */ bctrl +/* 8007217C 0006F0DC 48 00 00 14 */ b lbl_80072190 +lbl_80072180: +/* 80072180 0006F0E0 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80072184 0006F0E4 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80072188 0006F0E8 38 84 01 BC */ addi r4, r4, 0x1bc +/* 8007218C 0006F0EC 48 25 86 E1 */ bl SetColor__10CGuiWidgetFRC6CColor +lbl_80072190: +/* 80072190 0006F0F0 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80072194 0006F0F4 48 25 2B 9D */ bl GetChildObject__10CGuiObjectFv +/* 80072198 0006F0F8 7C 79 1B 78 */ mr r25, r3 +/* 8007219C 0006F0FC 48 00 00 20 */ b lbl_800721BC +lbl_800721A0: +/* 800721A0 0006F100 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 800721A4 0006F104 7F 23 CB 78 */ mr r3, r25 +/* 800721A8 0006F108 38 84 01 BC */ addi r4, r4, 0x1bc +/* 800721AC 0006F10C 48 25 86 C1 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 800721B0 0006F110 7F 23 CB 78 */ mr r3, r25 +/* 800721B4 0006F114 48 25 2B 6D */ bl GetNextSibling__10CGuiObjectFv +/* 800721B8 0006F118 7C 79 1B 78 */ mr r25, r3 +lbl_800721BC: +/* 800721BC 0006F11C 28 19 00 00 */ cmplwi r25, 0 +/* 800721C0 0006F120 40 82 FF E0 */ bne lbl_800721A0 +/* 800721C4 0006F124 C3 C2 88 5C */ lfs f30, lbl_805AA57C@sda21(r2) +/* 800721C8 0006F128 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 800721CC 0006F12C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 800721D0 0006F130 38 81 00 14 */ addi r4, r1, 0x14 +/* 800721D4 0006F134 80 63 01 BC */ lwz r3, 0x1bc(r3) +/* 800721D8 0006F138 88 01 00 08 */ lbz r0, 8(r1) +/* 800721DC 0006F13C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 800721E0 0006F140 90 01 00 14 */ stw r0, 0x14(r1) +/* 800721E4 0006F144 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 800721E8 0006F148 48 25 86 85 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 800721EC 0006F14C 80 7F 00 9C */ lwz r3, 0x9c(r31) +/* 800721F0 0006F150 38 81 00 14 */ addi r4, r1, 0x14 +/* 800721F4 0006F154 48 25 86 79 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 800721F8 0006F158 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 800721FC 0006F15C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80072200 0006F160 48 25 86 6D */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80072204 0006F164 80 7F 00 A4 */ lwz r3, 0xa4(r31) +/* 80072208 0006F168 38 81 00 14 */ addi r4, r1, 0x14 +/* 8007220C 0006F16C 48 25 86 61 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80072210 0006F170 80 7F 00 90 */ lwz r3, 0x90(r31) +/* 80072214 0006F174 38 81 00 14 */ addi r4, r1, 0x14 +/* 80072218 0006F178 48 25 86 55 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 8007221C 0006F17C 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 80072220 0006F180 38 81 00 14 */ addi r4, r1, 0x14 +/* 80072224 0006F184 48 25 86 49 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80072228 0006F188 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 8007222C 0006F18C 80 7F 01 8C */ lwz r3, 0x18c(r31) +/* 80072230 0006F190 38 84 01 BC */ addi r4, r4, 0x1bc +/* 80072234 0006F194 48 25 86 39 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80072238 0006F198 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 8007223C 0006F19C 80 7F 01 90 */ lwz r3, 0x190(r31) +/* 80072240 0006F1A0 38 84 01 BC */ addi r4, r4, 0x1bc +/* 80072244 0006F1A4 48 25 86 29 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80072248 0006F1A8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 8007224C 0006F1AC 80 7F 01 94 */ lwz r3, 0x194(r31) +/* 80072250 0006F1B0 38 84 01 BC */ addi r4, r4, 0x1bc +/* 80072254 0006F1B4 48 25 86 19 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80072258 0006F1B8 80 9F 01 90 */ lwz r4, 0x190(r31) +/* 8007225C 0006F1BC 7F E3 FB 78 */ mr r3, r31 +/* 80072260 0006F1C0 4B FF EE 85 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 80072264 0006F1C4 80 9F 01 94 */ lwz r4, 0x194(r31) +/* 80072268 0006F1C8 7F E3 FB 78 */ mr r3, r31 +/* 8007226C 0006F1CC 4B FF EE 79 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 80072270 0006F1D0 80 9F 00 70 */ lwz r4, 0x70(r31) +/* 80072274 0006F1D4 7F E3 FB 78 */ mr r3, r31 +/* 80072278 0006F1D8 4B FF EE 6D */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 8007227C 0006F1DC 80 9F 00 84 */ lwz r4, 0x84(r31) +/* 80072280 0006F1E0 7F E3 FB 78 */ mr r3, r31 +/* 80072284 0006F1E4 4B FF EE 61 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup +/* 80072288 0006F1E8 80 7F 01 8C */ lwz r3, 0x18c(r31) +/* 8007228C 0006F1EC 38 80 00 00 */ li r4, 0 +/* 80072290 0006F1F0 38 A0 00 01 */ li r5, 1 +/* 80072294 0006F1F4 48 25 84 55 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +/* 80072298 0006F1F8 80 7F 01 90 */ lwz r3, 0x190(r31) +/* 8007229C 0006F1FC 38 80 00 00 */ li r4, 0 +/* 800722A0 0006F200 48 25 83 8D */ bl SetIsVisible__10CGuiWidgetFb +/* 800722A4 0006F204 80 7F 01 94 */ lwz r3, 0x194(r31) +/* 800722A8 0006F208 38 80 00 00 */ li r4, 0 +/* 800722AC 0006F20C 48 25 83 81 */ bl SetIsVisible__10CGuiWidgetFb +/* 800722B0 0006F210 80 BF 01 90 */ lwz r5, 0x190(r31) +/* 800722B4 0006F214 38 00 00 00 */ li r0, 0 +/* 800722B8 0006F218 38 61 00 4C */ addi r3, r1, 0x4c +/* 800722BC 0006F21C 38 81 00 88 */ addi r4, r1, 0x88 +/* 800722C0 0006F220 98 05 00 D1 */ stb r0, 0xd1(r5) +/* 800722C4 0006F224 38 A0 00 0C */ li r5, 0xc +/* 800722C8 0006F228 80 DF 01 94 */ lwz r6, 0x194(r31) +/* 800722CC 0006F22C 98 06 00 D1 */ stb r0, 0xd1(r6) +/* 800722D0 0006F230 80 FE 00 00 */ lwz r7, 0(r30) +/* 800722D4 0006F234 80 DE 00 04 */ lwz r6, 4(r30) +/* 800722D8 0006F238 80 1E 00 08 */ lwz r0, 8(r30) +/* 800722DC 0006F23C 90 E1 00 88 */ stw r7, 0x88(r1) +/* 800722E0 0006F240 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 800722E4 0006F244 90 01 00 90 */ stw r0, 0x90(r1) +/* 800722E8 0006F248 4B F9 11 A9 */ bl memcpy +/* 800722EC 0006F24C 3C 60 80 07 */ lis r3, sub_80072578@ha +/* 800722F0 0006F250 93 E1 01 D8 */ stw r31, 0x1d8(r1) +/* 800722F4 0006F254 38 03 25 78 */ addi r0, r3, sub_80072578@l +/* 800722F8 0006F258 38 61 01 DC */ addi r3, r1, 0x1dc +/* 800722FC 0006F25C 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80072300 0006F260 38 81 00 4C */ addi r4, r1, 0x4c +/* 80072304 0006F264 38 A0 00 0C */ li r5, 0xc +/* 80072308 0006F268 4B F9 11 89 */ bl memcpy +/* 8007230C 0006F26C 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 80072310 0006F270 38 81 01 D4 */ addi r4, r1, 0x1d4 +/* 80072314 0006F274 48 25 45 45 */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" +/* 80072318 0006F278 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 8007231C 0006F27C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80072320 0006F280 80 DE 00 10 */ lwz r6, 0x10(r30) +/* 80072324 0006F284 38 81 00 7C */ addi r4, r1, 0x7c +/* 80072328 0006F288 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8007232C 0006F28C 38 A0 00 0C */ li r5, 0xc +/* 80072330 0006F290 90 E1 00 7C */ stw r7, 0x7c(r1) +/* 80072334 0006F294 90 C1 00 80 */ stw r6, 0x80(r1) +/* 80072338 0006F298 90 01 00 84 */ stw r0, 0x84(r1) +/* 8007233C 0006F29C 4B F9 11 55 */ bl memcpy +/* 80072340 0006F2A0 3C 60 80 07 */ lis r3, sub_80072514@ha +/* 80072344 0006F2A4 93 E1 01 C0 */ stw r31, 0x1c0(r1) +/* 80072348 0006F2A8 38 03 25 14 */ addi r0, r3, sub_80072514@l +/* 8007234C 0006F2AC 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 80072350 0006F2B0 90 01 01 BC */ stw r0, 0x1bc(r1) +/* 80072354 0006F2B4 38 81 00 40 */ addi r4, r1, 0x40 +/* 80072358 0006F2B8 38 A0 00 0C */ li r5, 0xc +/* 8007235C 0006F2BC 4B F9 11 35 */ bl memcpy +/* 80072360 0006F2C0 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 80072364 0006F2C4 38 81 01 BC */ addi r4, r1, 0x1bc +/* 80072368 0006F2C8 48 25 44 89 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" +/* 8007236C 0006F2CC 80 FE 00 18 */ lwz r7, 0x18(r30) +/* 80072370 0006F2D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80072374 0006F2D4 80 DE 00 1C */ lwz r6, 0x1c(r30) +/* 80072378 0006F2D8 38 81 00 70 */ addi r4, r1, 0x70 +/* 8007237C 0006F2DC 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 80072380 0006F2E0 38 A0 00 0C */ li r5, 0xc +/* 80072384 0006F2E4 90 E1 00 70 */ stw r7, 0x70(r1) +/* 80072388 0006F2E8 90 C1 00 74 */ stw r6, 0x74(r1) +/* 8007238C 0006F2EC 90 01 00 78 */ stw r0, 0x78(r1) +/* 80072390 0006F2F0 4B F9 11 01 */ bl memcpy +/* 80072394 0006F2F4 3C 60 80 07 */ lis r3, sub_80072578@ha +/* 80072398 0006F2F8 93 E1 01 A8 */ stw r31, 0x1a8(r1) +/* 8007239C 0006F2FC 38 03 25 78 */ addi r0, r3, sub_80072578@l +/* 800723A0 0006F300 38 61 01 AC */ addi r3, r1, 0x1ac +/* 800723A4 0006F304 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 800723A8 0006F308 38 81 00 34 */ addi r4, r1, 0x34 +/* 800723AC 0006F30C 38 A0 00 0C */ li r5, 0xc +/* 800723B0 0006F310 4B F9 10 E1 */ bl memcpy +/* 800723B4 0006F314 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 800723B8 0006F318 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 800723BC 0006F31C 48 25 44 9D */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" +/* 800723C0 0006F320 80 FE 00 24 */ lwz r7, 0x24(r30) +/* 800723C4 0006F324 38 61 00 28 */ addi r3, r1, 0x28 +/* 800723C8 0006F328 80 DE 00 28 */ lwz r6, 0x28(r30) +/* 800723CC 0006F32C 38 81 00 64 */ addi r4, r1, 0x64 +/* 800723D0 0006F330 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 800723D4 0006F334 38 A0 00 0C */ li r5, 0xc +/* 800723D8 0006F338 90 E1 00 64 */ stw r7, 0x64(r1) +/* 800723DC 0006F33C 90 C1 00 68 */ stw r6, 0x68(r1) +/* 800723E0 0006F340 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800723E4 0006F344 4B F9 10 AD */ bl memcpy +/* 800723E8 0006F348 3C 60 80 07 */ lis r3, sub_80072514@ha +/* 800723EC 0006F34C 93 E1 01 90 */ stw r31, 0x190(r1) +/* 800723F0 0006F350 38 03 25 14 */ addi r0, r3, sub_80072514@l +/* 800723F4 0006F354 38 61 01 94 */ addi r3, r1, 0x194 +/* 800723F8 0006F358 90 01 01 8C */ stw r0, 0x18c(r1) +/* 800723FC 0006F35C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80072400 0006F360 38 A0 00 0C */ li r5, 0xc +/* 80072404 0006F364 4B F9 10 8D */ bl memcpy +/* 80072408 0006F368 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 8007240C 0006F36C 38 81 01 8C */ addi r4, r1, 0x18c +/* 80072410 0006F370 48 25 43 E1 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" +/* 80072414 0006F374 80 FE 00 30 */ lwz r7, 0x30(r30) +/* 80072418 0006F378 38 61 00 1C */ addi r3, r1, 0x1c +/* 8007241C 0006F37C 80 DE 00 34 */ lwz r6, 0x34(r30) +/* 80072420 0006F380 38 81 00 58 */ addi r4, r1, 0x58 +/* 80072424 0006F384 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 80072428 0006F388 38 A0 00 0C */ li r5, 0xc +/* 8007242C 0006F38C 90 E1 00 58 */ stw r7, 0x58(r1) +/* 80072430 0006F390 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80072434 0006F394 90 01 00 60 */ stw r0, 0x60(r1) +/* 80072438 0006F398 4B F9 10 59 */ bl memcpy +/* 8007243C 0006F39C 3C 60 80 07 */ lis r3, sub_80072578@ha +/* 80072440 0006F3A0 93 E1 01 78 */ stw r31, 0x178(r1) +/* 80072444 0006F3A4 38 03 25 78 */ addi r0, r3, sub_80072578@l +/* 80072448 0006F3A8 38 61 01 7C */ addi r3, r1, 0x17c +/* 8007244C 0006F3AC 90 01 01 74 */ stw r0, 0x174(r1) +/* 80072450 0006F3B0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80072454 0006F3B4 38 A0 00 0C */ li r5, 0xc +/* 80072458 0006F3B8 4B F9 10 39 */ bl memcpy +/* 8007245C 0006F3BC 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 80072460 0006F3C0 38 81 01 74 */ addi r4, r1, 0x174 +/* 80072464 0006F3C4 48 25 43 C1 */ bl "SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1" +/* 80072468 0006F3C8 38 00 00 00 */ li r0, 0 +/* 8007246C 0006F3CC 38 61 01 64 */ addi r3, r1, 0x164 +/* 80072470 0006F3D0 90 01 01 5C */ stw r0, 0x15c(r1) +/* 80072474 0006F3D4 38 80 00 00 */ li r4, 0 +/* 80072478 0006F3D8 38 A0 00 10 */ li r5, 0x10 +/* 8007247C 0006F3DC 90 01 01 60 */ stw r0, 0x160(r1) +/* 80072480 0006F3E0 4B F9 0F 29 */ bl memset +/* 80072484 0006F3E4 80 7F 01 8C */ lwz r3, 0x18c(r31) +/* 80072488 0006F3E8 38 81 01 5C */ addi r4, r1, 0x15c +/* 8007248C 0006F3EC 48 25 37 D5 */ bl "SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2" +/* 80072490 0006F3F0 38 00 00 00 */ li r0, 0 +/* 80072494 0006F3F4 38 61 01 4C */ addi r3, r1, 0x14c +/* 80072498 0006F3F8 90 01 01 44 */ stw r0, 0x144(r1) +/* 8007249C 0006F3FC 38 80 00 00 */ li r4, 0 +/* 800724A0 0006F400 38 A0 00 10 */ li r5, 0x10 +/* 800724A4 0006F404 90 01 01 48 */ stw r0, 0x148(r1) +/* 800724A8 0006F408 4B F9 0F 01 */ bl memset +/* 800724AC 0006F40C 80 7F 01 90 */ lwz r3, 0x190(r31) +/* 800724B0 0006F410 38 81 01 44 */ addi r4, r1, 0x144 +/* 800724B4 0006F414 48 25 43 3D */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" +/* 800724B8 0006F418 38 00 00 00 */ li r0, 0 +/* 800724BC 0006F41C 38 61 01 34 */ addi r3, r1, 0x134 +/* 800724C0 0006F420 90 01 01 2C */ stw r0, 0x12c(r1) +/* 800724C4 0006F424 38 80 00 00 */ li r4, 0 +/* 800724C8 0006F428 38 A0 00 10 */ li r5, 0x10 +/* 800724CC 0006F42C 90 01 01 30 */ stw r0, 0x130(r1) +/* 800724D0 0006F430 4B F9 0E D9 */ bl memset +/* 800724D4 0006F434 80 7F 01 94 */ lwz r3, 0x194(r31) +/* 800724D8 0006F438 38 81 01 2C */ addi r4, r1, 0x12c +/* 800724DC 0006F43C 48 25 43 15 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" +/* 800724E0 0006F440 E3 E1 02 88 */ psq_l f31, 648(r1), 0, qr0 +/* 800724E4 0006F444 CB E1 02 80 */ lfd f31, 0x280(r1) +/* 800724E8 0006F448 E3 C1 02 78 */ psq_l f30, 632(r1), 0, qr0 +/* 800724EC 0006F44C CB C1 02 70 */ lfd f30, 0x270(r1) +/* 800724F0 0006F450 E3 A1 02 68 */ psq_l f29, 616(r1), 0, qr0 +/* 800724F4 0006F454 CB A1 02 60 */ lfd f29, 0x260(r1) +/* 800724F8 0006F458 E3 81 02 58 */ psq_l f28, 600(r1), 0, qr0 +/* 800724FC 0006F45C CB 81 02 50 */ lfd f28, 0x250(r1) +/* 80072500 0006F460 BB 21 02 34 */ lmw r25, 0x234(r1) +/* 80072504 0006F464 80 01 02 94 */ lwz r0, 0x294(r1) +/* 80072508 0006F468 7C 08 03 A6 */ mtlr r0 +/* 8007250C 0006F46C 38 21 02 90 */ addi r1, r1, 0x290 +/* 80072510 0006F470 4E 80 00 20 */ blr + +.global sub_80072514 +sub_80072514: +/* 80072514 0006F474 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80072518 0006F478 7C 08 02 A6 */ mflr r0 +/* 8007251C 0006F47C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80072520 0006F480 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80072524 0006F484 7C DF 33 78 */ mr r31, r6 +/* 80072528 0006F488 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8007252C 0006F48C 7C BE 2B 78 */ mr r30, r5 +/* 80072530 0006F490 38 A0 00 0C */ li r5, 0xc +/* 80072534 0006F494 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80072538 0006F498 7C 7D 1B 78 */ mr r29, r3 +/* 8007253C 0006F49C 38 61 00 08 */ addi r3, r1, 8 +/* 80072540 0006F4A0 4B F9 0F 51 */ bl memcpy +/* 80072544 0006F4A4 7F A3 EB 78 */ mr r3, r29 +/* 80072548 0006F4A8 7F C4 F3 78 */ mr r4, r30 +/* 8007254C 0006F4AC 7F E5 FB 78 */ mr r5, r31 +/* 80072550 0006F4B0 39 81 00 08 */ addi r12, r1, 8 +/* 80072554 0006F4B4 48 31 73 D9 */ bl __ptmf_scall +/* 80072558 0006F4B8 60 00 00 00 */ nop +/* 8007255C 0006F4BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80072560 0006F4C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80072564 0006F4C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80072568 0006F4C8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8007256C 0006F4CC 7C 08 03 A6 */ mtlr r0 +/* 80072570 0006F4D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80072574 0006F4D4 4E 80 00 20 */ blr + +.global sub_80072578 +sub_80072578: +/* 80072578 0006F4D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007257C 0006F4DC 7C 08 02 A6 */ mflr r0 +/* 80072580 0006F4E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80072584 0006F4E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80072588 0006F4E8 7C BF 2B 78 */ mr r31, r5 +/* 8007258C 0006F4EC 38 A0 00 0C */ li r5, 0xc +/* 80072590 0006F4F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80072594 0006F4F4 7C 7E 1B 78 */ mr r30, r3 +/* 80072598 0006F4F8 38 61 00 08 */ addi r3, r1, 8 +/* 8007259C 0006F4FC 4B F9 0E F5 */ bl memcpy +/* 800725A0 0006F500 7F C3 F3 78 */ mr r3, r30 +/* 800725A4 0006F504 7F E4 FB 78 */ mr r4, r31 +/* 800725A8 0006F508 39 81 00 08 */ addi r12, r1, 8 +/* 800725AC 0006F50C 48 31 73 81 */ bl __ptmf_scall +/* 800725B0 0006F510 60 00 00 00 */ nop +/* 800725B4 0006F514 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800725B8 0006F518 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800725BC 0006F51C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800725C0 0006F520 7C 08 03 A6 */ mtlr r0 +/* 800725C4 0006F524 38 21 00 20 */ addi r1, r1, 0x20 +/* 800725C8 0006F528 4E 80 00 20 */ blr + +.global __dt__16CPauseScreenBaseFv +__dt__16CPauseScreenBaseFv: +/* 800725CC 0006F52C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800725D0 0006F530 7C 08 02 A6 */ mflr r0 +/* 800725D4 0006F534 90 01 00 14 */ stw r0, 0x14(r1) +/* 800725D8 0006F538 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800725DC 0006F53C 7C 9F 23 78 */ mr r31, r4 +/* 800725E0 0006F540 93 C1 00 08 */ stw r30, 8(r1) +/* 800725E4 0006F544 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800725E8 0006F548 41 82 02 4C */ beq lbl_80072834 +/* 800725EC 0006F54C 3C 60 80 3E */ lis r3, lbl_803DA3CC@ha +/* 800725F0 0006F550 38 03 A3 CC */ addi r0, r3, lbl_803DA3CC@l +/* 800725F4 0006F554 90 1E 00 00 */ stw r0, 0(r30) +/* 800725F8 0006F558 48 2F A7 05 */ bl sub_8036ccfc +/* 800725FC 0006F55C 34 1E 01 5C */ addic. r0, r30, 0x15c +/* 80072600 0006F560 41 82 00 58 */ beq lbl_80072658 +/* 80072604 0006F564 80 BE 01 5C */ lwz r5, 0x15c(r30) +/* 80072608 0006F568 38 60 00 00 */ li r3, 0 +/* 8007260C 0006F56C 2C 05 00 00 */ cmpwi r5, 0 +/* 80072610 0006F570 40 81 00 40 */ ble lbl_80072650 +/* 80072614 0006F574 2C 05 00 08 */ cmpwi r5, 8 +/* 80072618 0006F578 38 85 FF F8 */ addi r4, r5, -8 +/* 8007261C 0006F57C 40 81 00 20 */ ble lbl_8007263C +/* 80072620 0006F580 38 04 00 07 */ addi r0, r4, 7 +/* 80072624 0006F584 54 00 E8 FE */ srwi r0, r0, 3 +/* 80072628 0006F588 7C 09 03 A6 */ mtctr r0 +/* 8007262C 0006F58C 2C 04 00 00 */ cmpwi r4, 0 +/* 80072630 0006F590 40 81 00 0C */ ble lbl_8007263C +lbl_80072634: +/* 80072634 0006F594 38 63 00 08 */ addi r3, r3, 8 +/* 80072638 0006F598 42 00 FF FC */ bdnz lbl_80072634 +lbl_8007263C: +/* 8007263C 0006F59C 7C 03 28 50 */ subf r0, r3, r5 +/* 80072640 0006F5A0 7C 09 03 A6 */ mtctr r0 +/* 80072644 0006F5A4 7C 03 28 00 */ cmpw r3, r5 +/* 80072648 0006F5A8 40 80 00 08 */ bge lbl_80072650 +lbl_8007264C: +/* 8007264C 0006F5AC 42 00 00 00 */ bdnz lbl_8007264C +lbl_80072650: +/* 80072650 0006F5B0 38 00 00 00 */ li r0, 0 +/* 80072654 0006F5B4 90 1E 01 5C */ stw r0, 0x15c(r30) +lbl_80072658: +/* 80072658 0006F5B8 34 1E 01 44 */ addic. r0, r30, 0x144 +/* 8007265C 0006F5BC 41 82 00 58 */ beq lbl_800726B4 +/* 80072660 0006F5C0 80 BE 01 44 */ lwz r5, 0x144(r30) +/* 80072664 0006F5C4 38 60 00 00 */ li r3, 0 +/* 80072668 0006F5C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8007266C 0006F5CC 40 81 00 40 */ ble lbl_800726AC +/* 80072670 0006F5D0 2C 05 00 08 */ cmpwi r5, 8 +/* 80072674 0006F5D4 38 85 FF F8 */ addi r4, r5, -8 +/* 80072678 0006F5D8 40 81 00 20 */ ble lbl_80072698 +/* 8007267C 0006F5DC 38 04 00 07 */ addi r0, r4, 7 +/* 80072680 0006F5E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80072684 0006F5E4 7C 09 03 A6 */ mtctr r0 +/* 80072688 0006F5E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8007268C 0006F5EC 40 81 00 0C */ ble lbl_80072698 +lbl_80072690: +/* 80072690 0006F5F0 38 63 00 08 */ addi r3, r3, 8 +/* 80072694 0006F5F4 42 00 FF FC */ bdnz lbl_80072690 +lbl_80072698: +/* 80072698 0006F5F8 7C 03 28 50 */ subf r0, r3, r5 +/* 8007269C 0006F5FC 7C 09 03 A6 */ mtctr r0 +/* 800726A0 0006F600 7C 03 28 00 */ cmpw r3, r5 +/* 800726A4 0006F604 40 80 00 08 */ bge lbl_800726AC +lbl_800726A8: +/* 800726A8 0006F608 42 00 00 00 */ bdnz lbl_800726A8 +lbl_800726AC: +/* 800726AC 0006F60C 38 00 00 00 */ li r0, 0 +/* 800726B0 0006F610 90 1E 01 44 */ stw r0, 0x144(r30) +lbl_800726B4: +/* 800726B4 0006F614 34 1E 00 F0 */ addic. r0, r30, 0xf0 +/* 800726B8 0006F618 41 82 00 58 */ beq lbl_80072710 +/* 800726BC 0006F61C 80 BE 00 F0 */ lwz r5, 0xf0(r30) +/* 800726C0 0006F620 38 60 00 00 */ li r3, 0 +/* 800726C4 0006F624 2C 05 00 00 */ cmpwi r5, 0 +/* 800726C8 0006F628 40 81 00 40 */ ble lbl_80072708 +/* 800726CC 0006F62C 2C 05 00 08 */ cmpwi r5, 8 +/* 800726D0 0006F630 38 85 FF F8 */ addi r4, r5, -8 +/* 800726D4 0006F634 40 81 00 20 */ ble lbl_800726F4 +/* 800726D8 0006F638 38 04 00 07 */ addi r0, r4, 7 +/* 800726DC 0006F63C 54 00 E8 FE */ srwi r0, r0, 3 +/* 800726E0 0006F640 7C 09 03 A6 */ mtctr r0 +/* 800726E4 0006F644 2C 04 00 00 */ cmpwi r4, 0 +/* 800726E8 0006F648 40 81 00 0C */ ble lbl_800726F4 +lbl_800726EC: +/* 800726EC 0006F64C 38 63 00 08 */ addi r3, r3, 8 +/* 800726F0 0006F650 42 00 FF FC */ bdnz lbl_800726EC +lbl_800726F4: +/* 800726F4 0006F654 7C 03 28 50 */ subf r0, r3, r5 +/* 800726F8 0006F658 7C 09 03 A6 */ mtctr r0 +/* 800726FC 0006F65C 7C 03 28 00 */ cmpw r3, r5 +/* 80072700 0006F660 40 80 00 08 */ bge lbl_80072708 +lbl_80072704: +/* 80072704 0006F664 42 00 00 00 */ bdnz lbl_80072704 +lbl_80072708: +/* 80072708 0006F668 38 00 00 00 */ li r0, 0 +/* 8007270C 0006F66C 90 1E 00 F0 */ stw r0, 0xf0(r30) +lbl_80072710: +/* 80072710 0006F670 34 1E 00 D8 */ addic. r0, r30, 0xd8 +/* 80072714 0006F674 41 82 00 58 */ beq lbl_8007276C +/* 80072718 0006F678 80 BE 00 D8 */ lwz r5, 0xd8(r30) +/* 8007271C 0006F67C 38 60 00 00 */ li r3, 0 +/* 80072720 0006F680 2C 05 00 00 */ cmpwi r5, 0 +/* 80072724 0006F684 40 81 00 40 */ ble lbl_80072764 +/* 80072728 0006F688 2C 05 00 08 */ cmpwi r5, 8 +/* 8007272C 0006F68C 38 85 FF F8 */ addi r4, r5, -8 +/* 80072730 0006F690 40 81 00 20 */ ble lbl_80072750 +/* 80072734 0006F694 38 04 00 07 */ addi r0, r4, 7 +/* 80072738 0006F698 54 00 E8 FE */ srwi r0, r0, 3 +/* 8007273C 0006F69C 7C 09 03 A6 */ mtctr r0 +/* 80072740 0006F6A0 2C 04 00 00 */ cmpwi r4, 0 +/* 80072744 0006F6A4 40 81 00 0C */ ble lbl_80072750 +lbl_80072748: +/* 80072748 0006F6A8 38 63 00 08 */ addi r3, r3, 8 +/* 8007274C 0006F6AC 42 00 FF FC */ bdnz lbl_80072748 +lbl_80072750: +/* 80072750 0006F6B0 7C 03 28 50 */ subf r0, r3, r5 +/* 80072754 0006F6B4 7C 09 03 A6 */ mtctr r0 +/* 80072758 0006F6B8 7C 03 28 00 */ cmpw r3, r5 +/* 8007275C 0006F6BC 40 80 00 08 */ bge lbl_80072764 +lbl_80072760: +/* 80072760 0006F6C0 42 00 00 00 */ bdnz lbl_80072760 +lbl_80072764: +/* 80072764 0006F6C4 38 00 00 00 */ li r0, 0 +/* 80072768 0006F6C8 90 1E 00 D8 */ stw r0, 0xd8(r30) +lbl_8007276C: +/* 8007276C 0006F6CC 34 1E 00 C0 */ addic. r0, r30, 0xc0 +/* 80072770 0006F6D0 41 82 00 58 */ beq lbl_800727C8 +/* 80072774 0006F6D4 80 BE 00 C0 */ lwz r5, 0xc0(r30) +/* 80072778 0006F6D8 38 60 00 00 */ li r3, 0 +/* 8007277C 0006F6DC 2C 05 00 00 */ cmpwi r5, 0 +/* 80072780 0006F6E0 40 81 00 40 */ ble lbl_800727C0 +/* 80072784 0006F6E4 2C 05 00 08 */ cmpwi r5, 8 +/* 80072788 0006F6E8 38 85 FF F8 */ addi r4, r5, -8 +/* 8007278C 0006F6EC 40 81 00 20 */ ble lbl_800727AC +/* 80072790 0006F6F0 38 04 00 07 */ addi r0, r4, 7 +/* 80072794 0006F6F4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80072798 0006F6F8 7C 09 03 A6 */ mtctr r0 +/* 8007279C 0006F6FC 2C 04 00 00 */ cmpwi r4, 0 +/* 800727A0 0006F700 40 81 00 0C */ ble lbl_800727AC +lbl_800727A4: +/* 800727A4 0006F704 38 63 00 08 */ addi r3, r3, 8 +/* 800727A8 0006F708 42 00 FF FC */ bdnz lbl_800727A4 +lbl_800727AC: +/* 800727AC 0006F70C 7C 03 28 50 */ subf r0, r3, r5 +/* 800727B0 0006F710 7C 09 03 A6 */ mtctr r0 +/* 800727B4 0006F714 7C 03 28 00 */ cmpw r3, r5 +/* 800727B8 0006F718 40 80 00 08 */ bge lbl_800727C0 +lbl_800727BC: +/* 800727BC 0006F71C 42 00 00 00 */ bdnz lbl_800727BC +lbl_800727C0: +/* 800727C0 0006F720 38 00 00 00 */ li r0, 0 +/* 800727C4 0006F724 90 1E 00 C0 */ stw r0, 0xc0(r30) +lbl_800727C8: +/* 800727C8 0006F728 34 1E 00 A8 */ addic. r0, r30, 0xa8 +/* 800727CC 0006F72C 41 82 00 58 */ beq lbl_80072824 +/* 800727D0 0006F730 80 BE 00 A8 */ lwz r5, 0xa8(r30) +/* 800727D4 0006F734 38 60 00 00 */ li r3, 0 +/* 800727D8 0006F738 2C 05 00 00 */ cmpwi r5, 0 +/* 800727DC 0006F73C 40 81 00 40 */ ble lbl_8007281C +/* 800727E0 0006F740 2C 05 00 08 */ cmpwi r5, 8 +/* 800727E4 0006F744 38 85 FF F8 */ addi r4, r5, -8 +/* 800727E8 0006F748 40 81 00 20 */ ble lbl_80072808 +/* 800727EC 0006F74C 38 04 00 07 */ addi r0, r4, 7 +/* 800727F0 0006F750 54 00 E8 FE */ srwi r0, r0, 3 +/* 800727F4 0006F754 7C 09 03 A6 */ mtctr r0 +/* 800727F8 0006F758 2C 04 00 00 */ cmpwi r4, 0 +/* 800727FC 0006F75C 40 81 00 0C */ ble lbl_80072808 +lbl_80072800: +/* 80072800 0006F760 38 63 00 08 */ addi r3, r3, 8 +/* 80072804 0006F764 42 00 FF FC */ bdnz lbl_80072800 +lbl_80072808: +/* 80072808 0006F768 7C 03 28 50 */ subf r0, r3, r5 +/* 8007280C 0006F76C 7C 09 03 A6 */ mtctr r0 +/* 80072810 0006F770 7C 03 28 00 */ cmpw r3, r5 +/* 80072814 0006F774 40 80 00 08 */ bge lbl_8007281C +lbl_80072818: +/* 80072818 0006F778 42 00 00 00 */ bdnz lbl_80072818 +lbl_8007281C: +/* 8007281C 0006F77C 38 00 00 00 */ li r0, 0 +/* 80072820 0006F780 90 1E 00 A8 */ stw r0, 0xa8(r30) +lbl_80072824: +/* 80072824 0006F784 7F E0 07 35 */ extsh. r0, r31 +/* 80072828 0006F788 40 81 00 0C */ ble lbl_80072834 +/* 8007282C 0006F78C 7F C3 F3 78 */ mr r3, r30 +/* 80072830 0006F790 48 2A 31 01 */ bl Free__7CMemoryFPCv +lbl_80072834: +/* 80072834 0006F794 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80072838 0006F798 7F C3 F3 78 */ mr r3, r30 +/* 8007283C 0006F79C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80072840 0006F7A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80072844 0006F7A4 7C 08 03 A6 */ mtlr r0 +/* 80072848 0006F7A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007284C 0006F7AC 4E 80 00 20 */ blr + +.global __ct__16CPauseScreenBaseFRC13CStateManagerRC9CGuiFrameRC12CStringTable +__ct__16CPauseScreenBaseFRC13CStateManagerRC9CGuiFrameRC12CStringTable: +/* 80072850 0006F7B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80072854 0006F7B4 7C 08 02 A6 */ mflr r0 +/* 80072858 0006F7B8 3D 00 80 3E */ lis r8, lbl_803DA3CC@ha +/* 8007285C 0006F7BC C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) +/* 80072860 0006F7C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80072864 0006F7C4 39 08 A3 CC */ addi r8, r8, lbl_803DA3CC@l +/* 80072868 0006F7C8 38 00 FF FF */ li r0, -1 +/* 8007286C 0006F7CC 3C E0 80 5A */ lis r7, skZero3f@ha +/* 80072870 0006F7D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80072874 0006F7D4 7C 7F 1B 78 */ mr r31, r3 +/* 80072878 0006F7D8 91 03 00 00 */ stw r8, 0(r3) +/* 8007287C 0006F7DC 39 00 00 00 */ li r8, 0 +/* 80072880 0006F7E0 90 83 00 04 */ stw r4, 4(r3) +/* 80072884 0006F7E4 90 A3 00 08 */ stw r5, 8(r3) +/* 80072888 0006F7E8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8007288C 0006F7EC 90 03 00 10 */ stw r0, 0x10(r3) +/* 80072890 0006F7F0 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 80072894 0006F7F4 91 03 00 18 */ stw r8, 0x18(r3) +/* 80072898 0006F7F8 91 03 00 1C */ stw r8, 0x1c(r3) +/* 8007289C 0006F7FC C4 07 66 A0 */ lfsu f0, skZero3f@l(r7) +/* 800728A0 0006F800 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 800728A4 0006F804 C0 07 00 04 */ lfs f0, 4(r7) +/* 800728A8 0006F808 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 800728AC 0006F80C C0 07 00 08 */ lfs f0, 8(r7) +/* 800728B0 0006F810 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 800728B4 0006F814 C0 07 00 00 */ lfs f0, 0(r7) +/* 800728B8 0006F818 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 800728BC 0006F81C C0 07 00 04 */ lfs f0, 4(r7) +/* 800728C0 0006F820 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 800728C4 0006F824 C0 07 00 08 */ lfs f0, 8(r7) +/* 800728C8 0006F828 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 800728CC 0006F82C D0 23 00 38 */ stfs f1, 0x38(r3) +/* 800728D0 0006F830 C0 07 00 00 */ lfs f0, 0(r7) +/* 800728D4 0006F834 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 800728D8 0006F838 C0 07 00 04 */ lfs f0, 4(r7) +/* 800728DC 0006F83C D0 03 00 40 */ stfs f0, 0x40(r3) +/* 800728E0 0006F840 C0 07 00 08 */ lfs f0, 8(r7) +/* 800728E4 0006F844 D0 03 00 44 */ stfs f0, 0x44(r3) +/* 800728E8 0006F848 C0 07 00 00 */ lfs f0, 0(r7) +/* 800728EC 0006F84C D0 03 00 48 */ stfs f0, 0x48(r3) +/* 800728F0 0006F850 C0 07 00 04 */ lfs f0, 4(r7) +/* 800728F4 0006F854 D0 03 00 4C */ stfs f0, 0x4c(r3) +/* 800728F8 0006F858 C0 07 00 08 */ lfs f0, 8(r7) +/* 800728FC 0006F85C D0 03 00 50 */ stfs f0, 0x50(r3) +/* 80072900 0006F860 C0 07 00 00 */ lfs f0, 0(r7) +/* 80072904 0006F864 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 80072908 0006F868 C0 07 00 04 */ lfs f0, 4(r7) +/* 8007290C 0006F86C D0 03 00 58 */ stfs f0, 0x58(r3) +/* 80072910 0006F870 C0 07 00 08 */ lfs f0, 8(r7) +/* 80072914 0006F874 D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 80072918 0006F878 91 03 00 68 */ stw r8, 0x68(r3) +/* 8007291C 0006F87C 91 03 00 6C */ stw r8, 0x6c(r3) +/* 80072920 0006F880 91 03 00 70 */ stw r8, 0x70(r3) +/* 80072924 0006F884 91 03 00 74 */ stw r8, 0x74(r3) +/* 80072928 0006F888 91 03 00 78 */ stw r8, 0x78(r3) +/* 8007292C 0006F88C 91 03 00 7C */ stw r8, 0x7c(r3) +/* 80072930 0006F890 91 03 00 80 */ stw r8, 0x80(r3) +/* 80072934 0006F894 91 03 00 84 */ stw r8, 0x84(r3) +/* 80072938 0006F898 91 03 00 88 */ stw r8, 0x88(r3) +/* 8007293C 0006F89C 91 03 00 8C */ stw r8, 0x8c(r3) +/* 80072940 0006F8A0 91 03 00 A8 */ stw r8, 0xa8(r3) +/* 80072944 0006F8A4 91 03 00 C0 */ stw r8, 0xc0(r3) +/* 80072948 0006F8A8 91 03 00 D8 */ stw r8, 0xd8(r3) +/* 8007294C 0006F8AC 91 03 00 F0 */ stw r8, 0xf0(r3) +/* 80072950 0006F8B0 91 03 01 44 */ stw r8, 0x144(r3) +/* 80072954 0006F8B4 91 03 01 5C */ stw r8, 0x15c(r3) +/* 80072958 0006F8B8 91 03 01 74 */ stw r8, 0x174(r3) +/* 8007295C 0006F8BC 91 03 01 78 */ stw r8, 0x178(r3) +/* 80072960 0006F8C0 91 03 01 80 */ stw r8, 0x180(r3) +/* 80072964 0006F8C4 91 03 01 84 */ stw r8, 0x184(r3) +/* 80072968 0006F8C8 91 03 01 88 */ stw r8, 0x188(r3) +/* 8007296C 0006F8CC 91 03 01 8C */ stw r8, 0x18c(r3) +/* 80072970 0006F8D0 91 03 01 90 */ stw r8, 0x190(r3) +/* 80072974 0006F8D4 91 03 01 94 */ stw r8, 0x194(r3) +/* 80072978 0006F8D8 88 03 01 98 */ lbz r0, 0x198(r3) +/* 8007297C 0006F8DC 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 +/* 80072980 0006F8E0 98 03 01 98 */ stb r0, 0x198(r3) +/* 80072984 0006F8E4 88 03 01 98 */ lbz r0, 0x198(r3) +/* 80072988 0006F8E8 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 +/* 8007298C 0006F8EC 98 03 01 98 */ stb r0, 0x198(r3) +/* 80072990 0006F8F0 88 03 01 98 */ lbz r0, 0x198(r3) +/* 80072994 0006F8F4 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a +/* 80072998 0006F8F8 98 03 01 98 */ stb r0, 0x198(r3) +/* 8007299C 0006F8FC 88 03 01 98 */ lbz r0, 0x198(r3) +/* 800729A0 0006F900 51 00 26 F6 */ rlwimi r0, r8, 4, 0x1b, 0x1b +/* 800729A4 0006F904 98 03 01 98 */ stb r0, 0x198(r3) +/* 800729A8 0006F908 88 03 01 98 */ lbz r0, 0x198(r3) +/* 800729AC 0006F90C 51 00 1F 38 */ rlwimi r0, r8, 3, 0x1c, 0x1c +/* 800729B0 0006F910 98 03 01 98 */ stb r0, 0x198(r3) +/* 800729B4 0006F914 88 03 01 98 */ lbz r0, 0x198(r3) +/* 800729B8 0006F918 51 00 17 7A */ rlwimi r0, r8, 2, 0x1d, 0x1d +/* 800729BC 0006F91C 98 03 01 98 */ stb r0, 0x198(r3) +/* 800729C0 0006F920 4B FF EE A9 */ bl InitializeFrameGlue__16CPauseScreenBaseFv +/* 800729C4 0006F924 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800729C8 0006F928 7F E3 FB 78 */ mr r3, r31 +/* 800729CC 0006F92C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800729D0 0006F930 7C 08 03 A6 */ mtlr r0 +/* 800729D4 0006F934 38 21 00 10 */ addi r1, r1, 0x10 +/* 800729D8 0006F938 4E 80 00 20 */ blr + +.global GetHelmetCamYOff__12CPauseScreenCFv +GetHelmetCamYOff__12CPauseScreenCFv: +/* 800729DC 0006F93C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800729E0 0006F940 7C 08 02 A6 */ mflr r0 +/* 800729E4 0006F944 90 01 00 14 */ stw r0, 0x14(r1) +/* 800729E8 0006F948 80 03 00 78 */ lwz r0, 0x78(r3) +/* 800729EC 0006F94C 54 00 18 38 */ slwi r0, r0, 3 +/* 800729F0 0006F950 7C 63 02 14 */ add r3, r3, r0 +/* 800729F4 0006F954 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800729F8 0006F958 28 03 00 00 */ cmplwi r3, 0 +/* 800729FC 0006F95C 40 82 00 0C */ bne lbl_80072A08 +/* 80072A00 0006F960 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) +/* 80072A04 0006F964 48 00 00 14 */ b lbl_80072A18 +lbl_80072A08: +/* 80072A08 0006F968 81 83 00 00 */ lwz r12, 0(r3) +/* 80072A0C 0006F96C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80072A10 0006F970 7D 89 03 A6 */ mtctr r12 +/* 80072A14 0006F974 4E 80 04 21 */ bctrl +lbl_80072A18: +/* 80072A18 0006F978 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80072A1C 0006F97C 7C 08 03 A6 */ mtlr r0 +/* 80072A20 0006F980 38 21 00 10 */ addi r1, r1, 0x10 +/* 80072A24 0006F984 4E 80 00 20 */ blr + +.global ShouldSwitchToInGame__12CPauseScreenCFv +ShouldSwitchToInGame__12CPauseScreenCFv: +/* 80072A28 0006F988 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80072A2C 0006F98C 7C 08 02 A6 */ mflr r0 +/* 80072A30 0006F990 90 01 00 14 */ stw r0, 0x14(r1) +/* 80072A34 0006F994 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80072A38 0006F998 3B E0 00 00 */ li r31, 0 +/* 80072A3C 0006F99C 93 C1 00 08 */ stw r30, 8(r1) +/* 80072A40 0006F9A0 7C 7E 1B 78 */ mr r30, r3 +/* 80072A44 0006F9A4 48 00 00 A5 */ bl IsLoaded__12CPauseScreenCFv +/* 80072A48 0006F9A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80072A4C 0006F9AC 41 82 00 20 */ beq lbl_80072A6C +/* 80072A50 0006F9B0 80 1E 00 08 */ lwz r0, 8(r30) +/* 80072A54 0006F9B4 2C 00 00 03 */ cmpwi r0, 3 +/* 80072A58 0006F9B8 40 82 00 14 */ bne lbl_80072A6C +/* 80072A5C 0006F9BC 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80072A60 0006F9C0 2C 00 00 03 */ cmpwi r0, 3 +/* 80072A64 0006F9C4 40 82 00 08 */ bne lbl_80072A6C +/* 80072A68 0006F9C8 3B E0 00 01 */ li r31, 1 +lbl_80072A6C: +/* 80072A6C 0006F9CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80072A70 0006F9D0 7F E3 FB 78 */ mr r3, r31 +/* 80072A74 0006F9D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80072A78 0006F9D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80072A7C 0006F9DC 7C 08 03 A6 */ mtlr r0 +/* 80072A80 0006F9E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80072A84 0006F9E4 4E 80 00 20 */ blr + +.global ShouldSwitchToMapScreen__12CPauseScreenCFv +ShouldSwitchToMapScreen__12CPauseScreenCFv: +/* 80072A88 0006F9E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80072A8C 0006F9EC 7C 08 02 A6 */ mflr r0 +/* 80072A90 0006F9F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80072A94 0006F9F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80072A98 0006F9F8 3B E0 00 00 */ li r31, 0 +/* 80072A9C 0006F9FC 93 C1 00 08 */ stw r30, 8(r1) +/* 80072AA0 0006FA00 7C 7E 1B 78 */ mr r30, r3 +/* 80072AA4 0006FA04 48 00 00 45 */ bl IsLoaded__12CPauseScreenCFv +/* 80072AA8 0006FA08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80072AAC 0006FA0C 41 82 00 20 */ beq lbl_80072ACC +/* 80072AB0 0006FA10 80 1E 00 08 */ lwz r0, 8(r30) +/* 80072AB4 0006FA14 2C 00 00 04 */ cmpwi r0, 4 +/* 80072AB8 0006FA18 40 82 00 14 */ bne lbl_80072ACC +/* 80072ABC 0006FA1C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80072AC0 0006FA20 2C 00 00 04 */ cmpwi r0, 4 +/* 80072AC4 0006FA24 40 82 00 08 */ bne lbl_80072ACC +/* 80072AC8 0006FA28 3B E0 00 01 */ li r31, 1 +lbl_80072ACC: +/* 80072ACC 0006FA2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80072AD0 0006FA30 7F E3 FB 78 */ mr r3, r31 +/* 80072AD4 0006FA34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80072AD8 0006FA38 83 C1 00 08 */ lwz r30, 8(r1) +/* 80072ADC 0006FA3C 7C 08 03 A6 */ mtlr r0 +/* 80072AE0 0006FA40 38 21 00 10 */ addi r1, r1, 0x10 +/* 80072AE4 0006FA44 4E 80 00 20 */ blr + +.global IsLoaded__12CPauseScreenCFv +IsLoaded__12CPauseScreenCFv: +/* 80072AE8 0006FA48 88 63 00 90 */ lbz r3, 0x90(r3) +/* 80072AEC 0006FA4C 4E 80 00 20 */ blr + +.global InputEnabled__12CPauseScreenCFv +InputEnabled__12CPauseScreenCFv: +/* 80072AF0 0006FA50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80072AF4 0006FA54 7C 08 02 A6 */ mflr r0 +/* 80072AF8 0006FA58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80072AFC 0006FA5C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80072B00 0006FA60 93 C1 00 08 */ stw r30, 8(r1) +/* 80072B04 0006FA64 7C 7E 1B 78 */ mr r30, r3 +/* 80072B08 0006FA68 80 63 00 08 */ lwz r3, 8(r3) +/* 80072B0C 0006FA6C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80072B10 0006FA70 7C 03 00 00 */ cmpw r3, r0 +/* 80072B14 0006FA74 41 82 00 0C */ beq lbl_80072B20 +/* 80072B18 0006FA78 38 60 00 00 */ li r3, 0 +/* 80072B1C 0006FA7C 48 00 00 80 */ b lbl_80072B9C +lbl_80072B20: +/* 80072B20 0006FA80 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80072B24 0006FA84 3B FE 00 80 */ addi r31, r30, 0x80 +/* 80072B28 0006FA88 54 00 18 38 */ slwi r0, r0, 3 +/* 80072B2C 0006FA8C 7C 7F 02 14 */ add r3, r31, r0 +/* 80072B30 0006FA90 80 63 00 04 */ lwz r3, 4(r3) +/* 80072B34 0006FA94 28 03 00 00 */ cmplwi r3, 0 +/* 80072B38 0006FA98 41 82 00 24 */ beq lbl_80072B5C +/* 80072B3C 0006FA9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80072B40 0006FAA0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80072B44 0006FAA4 7D 89 03 A6 */ mtctr r12 +/* 80072B48 0006FAA8 4E 80 04 21 */ bctrl +/* 80072B4C 0006FAAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80072B50 0006FAB0 41 82 00 0C */ beq lbl_80072B5C +/* 80072B54 0006FAB4 38 60 00 00 */ li r3, 0 +/* 80072B58 0006FAB8 48 00 00 44 */ b lbl_80072B9C +lbl_80072B5C: +/* 80072B5C 0006FABC 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80072B60 0006FAC0 20 00 00 01 */ subfic r0, r0, 1 +/* 80072B64 0006FAC4 54 03 18 38 */ slwi r3, r0, 3 +/* 80072B68 0006FAC8 38 03 00 04 */ addi r0, r3, 4 +/* 80072B6C 0006FACC 7C 7F 00 2E */ lwzx r3, r31, r0 +/* 80072B70 0006FAD0 28 03 00 00 */ cmplwi r3, 0 +/* 80072B74 0006FAD4 41 82 00 24 */ beq lbl_80072B98 +/* 80072B78 0006FAD8 81 83 00 00 */ lwz r12, 0(r3) +/* 80072B7C 0006FADC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80072B80 0006FAE0 7D 89 03 A6 */ mtctr r12 +/* 80072B84 0006FAE4 4E 80 04 21 */ bctrl +/* 80072B88 0006FAE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80072B8C 0006FAEC 41 82 00 0C */ beq lbl_80072B98 +/* 80072B90 0006FAF0 38 60 00 00 */ li r3, 0 +/* 80072B94 0006FAF4 48 00 00 08 */ b lbl_80072B9C +lbl_80072B98: +/* 80072B98 0006FAF8 38 60 00 01 */ li r3, 1 +lbl_80072B9C: +/* 80072B9C 0006FAFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80072BA0 0006FB00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80072BA4 0006FB04 83 C1 00 08 */ lwz r30, 8(r1) +/* 80072BA8 0006FB08 7C 08 03 A6 */ mtlr r0 +/* 80072BAC 0006FB0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80072BB0 0006FB10 4E 80 00 20 */ blr + +.global ProcessControllerInput__12CPauseScreenFRC13CStateManagerRC11CFinalInput +ProcessControllerInput__12CPauseScreenFRC13CStateManagerRC11CFinalInput: +/* 80072BB4 0006FB14 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80072BB8 0006FB18 7C 08 02 A6 */ mflr r0 +/* 80072BBC 0006FB1C 90 01 01 14 */ stw r0, 0x114(r1) +/* 80072BC0 0006FB20 BF 41 00 F8 */ stmw r26, 0xf8(r1) +/* 80072BC4 0006FB24 7C 7F 1B 78 */ mr r31, r3 +/* 80072BC8 0006FB28 7C 9D 23 78 */ mr r29, r4 +/* 80072BCC 0006FB2C 7C BC 2B 78 */ mr r28, r5 +/* 80072BD0 0006FB30 4B FF FF 19 */ bl IsLoaded__12CPauseScreenCFv +/* 80072BD4 0006FB34 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80072BD8 0006FB38 41 82 05 C4 */ beq lbl_8007319C +/* 80072BDC 0006FB3C 80 7F 00 08 */ lwz r3, 8(r31) +/* 80072BE0 0006FB40 38 80 00 01 */ li r4, 1 +/* 80072BE4 0006FB44 38 63 FF FD */ addi r3, r3, -3 +/* 80072BE8 0006FB48 20 03 00 01 */ subfic r0, r3, 1 +/* 80072BEC 0006FB4C 7C 83 1B 38 */ orc r3, r4, r3 +/* 80072BF0 0006FB50 54 00 F8 7E */ srwi r0, r0, 1 +/* 80072BF4 0006FB54 7C 00 18 50 */ subf r0, r0, r3 +/* 80072BF8 0006FB58 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80072BFC 0006FB5C 40 82 00 08 */ bne lbl_80072C04 +/* 80072C00 0006FB60 38 80 00 00 */ li r4, 0 +lbl_80072C04: +/* 80072C04 0006FB64 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80072C08 0006FB68 40 82 05 94 */ bne lbl_8007319C +/* 80072C0C 0006FB6C 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 80072C10 0006FB70 3B 5F 00 80 */ addi r26, r31, 0x80 +/* 80072C14 0006FB74 3B 60 00 00 */ li r27, 0 +/* 80072C18 0006FB78 54 00 18 38 */ slwi r0, r0, 3 +/* 80072C1C 0006FB7C 7C 7A 02 14 */ add r3, r26, r0 +/* 80072C20 0006FB80 80 63 00 04 */ lwz r3, 4(r3) +/* 80072C24 0006FB84 28 03 00 00 */ cmplwi r3, 0 +/* 80072C28 0006FB88 41 82 00 28 */ beq lbl_80072C50 +/* 80072C2C 0006FB8C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80072C30 0006FB90 2C 00 00 00 */ cmpwi r0, 0 +/* 80072C34 0006FB94 40 82 00 08 */ bne lbl_80072C3C +/* 80072C38 0006FB98 3B 60 00 01 */ li r27, 1 +lbl_80072C3C: +/* 80072C3C 0006FB9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80072C40 0006FBA0 7F 84 E3 78 */ mr r4, r28 +/* 80072C44 0006FBA4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80072C48 0006FBA8 7D 89 03 A6 */ mtctr r12 +/* 80072C4C 0006FBAC 4E 80 04 21 */ bctrl +lbl_80072C50: +/* 80072C50 0006FBB0 7F E3 FB 78 */ mr r3, r31 +/* 80072C54 0006FBB4 4B FF FE 9D */ bl InputEnabled__12CPauseScreenCFv +/* 80072C58 0006FBB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80072C5C 0006FBBC 41 82 01 84 */ beq lbl_80072DE0 +/* 80072C60 0006FBC0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80072C64 0006FBC4 3B C0 00 01 */ li r30, 1 +/* 80072C68 0006FBC8 38 63 FF FD */ addi r3, r3, -3 +/* 80072C6C 0006FBCC 20 03 00 01 */ subfic r0, r3, 1 +/* 80072C70 0006FBD0 7F C3 1B 38 */ orc r3, r30, r3 +/* 80072C74 0006FBD4 54 00 F8 7E */ srwi r0, r0, 1 +/* 80072C78 0006FBD8 7C 00 18 50 */ subf r0, r0, r3 +/* 80072C7C 0006FBDC 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80072C80 0006FBE0 40 82 00 08 */ bne lbl_80072C88 +/* 80072C84 0006FBE4 3B C0 00 00 */ li r30, 0 +lbl_80072C88: +/* 80072C88 0006FBE8 88 1C 00 2E */ lbz r0, 0x2e(r28) +/* 80072C8C 0006FBEC 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80072C90 0006FBF0 40 82 00 3C */ bne lbl_80072CCC +/* 80072C94 0006FBF4 88 1C 00 2D */ lbz r0, 0x2d(r28) +/* 80072C98 0006FBF8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80072C9C 0006FBFC 41 82 00 0C */ beq lbl_80072CA8 +/* 80072CA0 0006FC00 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80072CA4 0006FC04 40 82 00 28 */ bne lbl_80072CCC +lbl_80072CA8: +/* 80072CA8 0006FC08 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 80072CAC 0006FC0C 54 00 18 38 */ slwi r0, r0, 3 +/* 80072CB0 0006FC10 7C 7A 02 14 */ add r3, r26, r0 +/* 80072CB4 0006FC14 80 63 00 04 */ lwz r3, 4(r3) +/* 80072CB8 0006FC18 28 03 00 00 */ cmplwi r3, 0 +/* 80072CBC 0006FC1C 41 82 00 50 */ beq lbl_80072D0C +/* 80072CC0 0006FC20 4B FF DD F1 */ bl ShouldExitPauseScreen__16CPauseScreenBaseCFv +/* 80072CC4 0006FC24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80072CC8 0006FC28 41 82 00 44 */ beq lbl_80072D0C +lbl_80072CCC: +/* 80072CCC 0006FC2C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80072CD0 0006FC30 38 61 00 24 */ addi r3, r1, 0x24 +/* 80072CD4 0006FC34 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80072CD8 0006FC38 38 80 05 9A */ li r4, 0x59a +/* 80072CDC 0006FC3C 38 A0 00 7F */ li r5, 0x7f +/* 80072CE0 0006FC40 38 C0 00 40 */ li r6, 0x40 +/* 80072CE4 0006FC44 38 E0 00 00 */ li r7, 0 +/* 80072CE8 0006FC48 39 20 00 00 */ li r9, 0 +/* 80072CEC 0006FC4C 48 27 70 89 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80072CF0 0006FC50 C0 22 88 50 */ lfs f1, lbl_805AA570@sda21(r2) +/* 80072CF4 0006FC54 7F E3 FB 78 */ mr r3, r31 +/* 80072CF8 0006FC58 7F A4 EB 78 */ mr r4, r29 +/* 80072CFC 0006FC5C 38 A0 00 03 */ li r5, 3 +/* 80072D00 0006FC60 38 C0 00 02 */ li r6, 2 +/* 80072D04 0006FC64 48 00 09 F9 */ bl StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni +/* 80072D08 0006FC68 48 00 00 D8 */ b lbl_80072DE0 +lbl_80072D0C: +/* 80072D0C 0006FC6C 7F 84 E3 78 */ mr r4, r28 +/* 80072D10 0006FC70 38 60 00 41 */ li r3, 0x41 +/* 80072D14 0006FC74 4B F9 9A BD */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80072D18 0006FC78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80072D1C 0006FC7C 41 82 00 5C */ beq lbl_80072D78 +/* 80072D20 0006FC80 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80072D24 0006FC84 38 61 00 20 */ addi r3, r1, 0x20 +/* 80072D28 0006FC88 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80072D2C 0006FC8C 38 80 05 99 */ li r4, 0x599 +/* 80072D30 0006FC90 38 A0 00 7F */ li r5, 0x7f +/* 80072D34 0006FC94 38 C0 00 40 */ li r6, 0x40 +/* 80072D38 0006FC98 38 E0 00 00 */ li r7, 0 +/* 80072D3C 0006FC9C 39 20 00 00 */ li r9, 0 +/* 80072D40 0006FCA0 48 27 70 35 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80072D44 0006FCA4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80072D48 0006FCA8 3B 40 00 00 */ li r26, 0 +/* 80072D4C 0006FCAC 41 82 00 08 */ beq lbl_80072D54 +/* 80072D50 0006FCB0 3B 40 00 02 */ li r26, 2 +lbl_80072D54: +/* 80072D54 0006FCB4 80 7F 00 08 */ lwz r3, 8(r31) +/* 80072D58 0006FCB8 48 00 15 85 */ bl GetPreviousSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen +/* 80072D5C 0006FCBC C0 22 88 50 */ lfs f1, lbl_805AA570@sda21(r2) +/* 80072D60 0006FCC0 7C 65 1B 78 */ mr r5, r3 +/* 80072D64 0006FCC4 7F E3 FB 78 */ mr r3, r31 +/* 80072D68 0006FCC8 7F A4 EB 78 */ mr r4, r29 +/* 80072D6C 0006FCCC 7F 46 D3 78 */ mr r6, r26 +/* 80072D70 0006FCD0 48 00 09 8D */ bl StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni +/* 80072D74 0006FCD4 48 00 00 6C */ b lbl_80072DE0 +lbl_80072D78: +/* 80072D78 0006FCD8 7F 84 E3 78 */ mr r4, r28 +/* 80072D7C 0006FCDC 38 60 00 42 */ li r3, 0x42 +/* 80072D80 0006FCE0 4B F9 9A 51 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80072D84 0006FCE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80072D88 0006FCE8 41 82 00 58 */ beq lbl_80072DE0 +/* 80072D8C 0006FCEC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80072D90 0006FCF0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80072D94 0006FCF4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80072D98 0006FCF8 38 80 05 99 */ li r4, 0x599 +/* 80072D9C 0006FCFC 38 A0 00 7F */ li r5, 0x7f +/* 80072DA0 0006FD00 38 C0 00 40 */ li r6, 0x40 +/* 80072DA4 0006FD04 38 E0 00 00 */ li r7, 0 +/* 80072DA8 0006FD08 39 20 00 00 */ li r9, 0 +/* 80072DAC 0006FD0C 48 27 6F C9 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80072DB0 0006FD10 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80072DB4 0006FD14 3B 40 00 01 */ li r26, 1 +/* 80072DB8 0006FD18 41 82 00 08 */ beq lbl_80072DC0 +/* 80072DBC 0006FD1C 3B 40 00 02 */ li r26, 2 +lbl_80072DC0: +/* 80072DC0 0006FD20 80 7F 00 08 */ lwz r3, 8(r31) +/* 80072DC4 0006FD24 48 00 14 E5 */ bl GetNextSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen +/* 80072DC8 0006FD28 C0 22 88 50 */ lfs f1, lbl_805AA570@sda21(r2) +/* 80072DCC 0006FD2C 7C 65 1B 78 */ mr r5, r3 +/* 80072DD0 0006FD30 7F E3 FB 78 */ mr r3, r31 +/* 80072DD4 0006FD34 7F A4 EB 78 */ mr r4, r29 +/* 80072DD8 0006FD38 7F 46 D3 78 */ mr r6, r26 +/* 80072DDC 0006FD3C 48 00 09 21 */ bl StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni +lbl_80072DE0: +/* 80072DE0 0006FD40 C0 22 CC 2C */ lfs f1, lbl_805AE94C@sda21(r2) +/* 80072DE4 0006FD44 C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 80072DE8 0006FD48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80072DEC 0006FD4C 40 80 00 0C */ bge lbl_80072DF8 +/* 80072DF0 0006FD50 38 00 00 01 */ li r0, 1 +/* 80072DF4 0006FD54 48 00 00 08 */ b lbl_80072DFC +lbl_80072DF8: +/* 80072DF8 0006FD58 38 00 00 00 */ li r0, 0 +lbl_80072DFC: +/* 80072DFC 0006FD5C C0 1C 00 1C */ lfs f0, 0x1c(r28) +/* 80072E00 0006FD60 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80072E04 0006FD64 7C 03 00 D0 */ neg r0, r3 +/* 80072E08 0006FD68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80072E0C 0006FD6C 7C 00 1B 78 */ or r0, r0, r3 +/* 80072E10 0006FD70 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 80072E14 0006FD74 40 80 00 0C */ bge lbl_80072E20 +/* 80072E18 0006FD78 3B A0 00 01 */ li r29, 1 +/* 80072E1C 0006FD7C 48 00 00 08 */ b lbl_80072E24 +lbl_80072E20: +/* 80072E20 0006FD80 3B A0 00 00 */ li r29, 0 +lbl_80072E24: +/* 80072E24 0006FD84 88 1C 00 2C */ lbz r0, 0x2c(r28) +/* 80072E28 0006FD88 3C 60 80 3D */ lis r3, lbl_803CD2B8@ha +/* 80072E2C 0006FD8C 38 A3 D2 B8 */ addi r5, r3, lbl_803CD2B8@l +/* 80072E30 0006FD90 88 7C 00 2D */ lbz r3, 0x2d(r28) +/* 80072E34 0006FD94 54 1A CF FE */ rlwinm r26, r0, 0x19, 0x1f, 0x1f +/* 80072E38 0006FD98 54 0B D7 FE */ rlwinm r11, r0, 0x1a, 0x1f, 0x1f +/* 80072E3C 0006FD9C 38 00 00 00 */ li r0, 0 +/* 80072E40 0006FDA0 54 7C E7 FE */ rlwinm r28, r3, 0x1c, 0x1f, 0x1f +/* 80072E44 0006FDA4 80 85 00 00 */ lwz r4, 0(r5) +/* 80072E48 0006FDA8 7F 7C 00 D0 */ neg r27, r28 +/* 80072E4C 0006FDAC 80 65 00 04 */ lwz r3, 4(r5) +/* 80072E50 0006FDB0 7D 9A 00 D0 */ neg r12, r26 +/* 80072E54 0006FDB4 81 25 00 08 */ lwz r9, 8(r5) +/* 80072E58 0006FDB8 7D 4B 00 D0 */ neg r10, r11 +/* 80072E5C 0006FDBC 81 05 00 0C */ lwz r8, 0xc(r5) +/* 80072E60 0006FDC0 38 CD A9 1A */ addi r6, r13, lbl_805A94DA@sda21 +/* 80072E64 0006FDC4 80 E2 88 28 */ lwz r7, lbl_805AA548@sda21(r2) +/* 80072E68 0006FDC8 7F 7B E3 78 */ or r27, r27, r28 +/* 80072E6C 0006FDCC 7D 8C D3 78 */ or r12, r12, r26 +/* 80072E70 0006FDD0 7D 45 5B 78 */ or r5, r10, r11 +/* 80072E74 0006FDD4 90 81 00 DC */ stw r4, 0xdc(r1) +/* 80072E78 0006FDD8 57 7C 0F FE */ srwi r28, r27, 0x1f +/* 80072E7C 0006FDDC 55 9B 0F FE */ srwi r27, r12, 0x1f +/* 80072E80 0006FDE0 54 BA 0F FE */ srwi r26, r5, 0x1f +/* 80072E84 0006FDE4 90 61 00 E0 */ stw r3, 0xe0(r1) +/* 80072E88 0006FDE8 38 61 00 CC */ addi r3, r1, 0xcc +/* 80072E8C 0006FDEC 38 80 01 00 */ li r4, 0x100 +/* 80072E90 0006FDF0 38 A0 00 01 */ li r5, 1 +/* 80072E94 0006FDF4 91 21 00 E4 */ stw r9, 0xe4(r1) +/* 80072E98 0006FDF8 91 01 00 E8 */ stw r8, 0xe8(r1) +/* 80072E9C 0006FDFC 90 E1 00 28 */ stw r7, 0x28(r1) +/* 80072EA0 0006FE00 90 C1 00 CC */ stw r6, 0xcc(r1) +/* 80072EA4 0006FE04 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 80072EA8 0006FE08 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80072EAC 0006FE0C 48 2C A0 C9 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 80072EB0 0006FE10 38 61 00 CC */ addi r3, r1, 0xcc +/* 80072EB4 0006FE14 38 81 00 DC */ addi r4, r1, 0xdc +/* 80072EB8 0006FE18 38 A0 FF FF */ li r5, -1 +/* 80072EBC 0006FE1C 48 2C A6 29 */ bl sub_8033d4e4 +/* 80072EC0 0006FE20 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80072EC4 0006FE24 57 C0 10 3A */ slwi r0, r30, 2 +/* 80072EC8 0006FE28 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80072ECC 0006FE2C 7C 63 02 14 */ add r3, r3, r0 +/* 80072ED0 0006FE30 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l +/* 80072ED4 0006FE34 80 83 00 74 */ lwz r4, 0x74(r3) +/* 80072ED8 0006FE38 38 65 01 C8 */ addi r3, r5, 0x1c8 +/* 80072EDC 0006FE3C 4C C6 31 82 */ crclr 6 +/* 80072EE0 0006FE40 48 26 32 D1 */ bl Stringize__7CBasicsFPCce +/* 80072EE4 0006FE44 7C 64 1B 78 */ mr r4, r3 +/* 80072EE8 0006FE48 38 61 00 BC */ addi r3, r1, 0xbc +/* 80072EEC 0006FE4C 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80072EF0 0006FE50 38 A0 FF FF */ li r5, -1 +/* 80072EF4 0006FE54 48 2C B2 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80072EF8 0006FE58 38 61 00 AC */ addi r3, r1, 0xac +/* 80072EFC 0006FE5C 38 81 00 BC */ addi r4, r1, 0xbc +/* 80072F00 0006FE60 48 2C B8 21 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80072F04 0006FE64 38 61 00 CC */ addi r3, r1, 0xcc +/* 80072F08 0006FE68 38 81 00 AC */ addi r4, r1, 0xac +/* 80072F0C 0006FE6C 48 2C A7 41 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80072F10 0006FE70 38 61 00 AC */ addi r3, r1, 0xac +/* 80072F14 0006FE74 48 2C A2 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80072F18 0006FE78 38 61 00 BC */ addi r3, r1, 0xbc +/* 80072F1C 0006FE7C 48 2C AB C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80072F20 0006FE80 38 61 00 CC */ addi r3, r1, 0xcc +/* 80072F24 0006FE84 38 81 00 28 */ addi r4, r1, 0x28 +/* 80072F28 0006FE88 38 A0 FF FF */ li r5, -1 +/* 80072F2C 0006FE8C 48 2C A5 B9 */ bl sub_8033d4e4 +/* 80072F30 0006FE90 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80072F34 0006FE94 38 81 00 CC */ addi r4, r1, 0xcc +/* 80072F38 0006FE98 38 A0 00 00 */ li r5, 0 +/* 80072F3C 0006FE9C 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80072F40 0006FEA0 48 25 69 45 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80072F44 0006FEA4 38 61 00 CC */ addi r3, r1, 0xcc +/* 80072F48 0006FEA8 38 81 00 DC */ addi r4, r1, 0xdc +/* 80072F4C 0006FEAC 38 A0 FF FF */ li r5, -1 +/* 80072F50 0006FEB0 48 2C A2 AD */ bl sub_8033d1fc +/* 80072F54 0006FEB4 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80072F58 0006FEB8 57 A0 10 3A */ slwi r0, r29, 2 +/* 80072F5C 0006FEBC 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80072F60 0006FEC0 7C 63 02 14 */ add r3, r3, r0 +/* 80072F64 0006FEC4 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l +/* 80072F68 0006FEC8 80 83 00 80 */ lwz r4, 0x80(r3) +/* 80072F6C 0006FECC 38 65 01 C8 */ addi r3, r5, 0x1c8 +/* 80072F70 0006FED0 4C C6 31 82 */ crclr 6 +/* 80072F74 0006FED4 48 26 32 3D */ bl Stringize__7CBasicsFPCce +/* 80072F78 0006FED8 7C 64 1B 78 */ mr r4, r3 +/* 80072F7C 0006FEDC 38 61 00 9C */ addi r3, r1, 0x9c +/* 80072F80 0006FEE0 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80072F84 0006FEE4 38 A0 FF FF */ li r5, -1 +/* 80072F88 0006FEE8 48 2C B2 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80072F8C 0006FEEC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80072F90 0006FEF0 38 81 00 9C */ addi r4, r1, 0x9c +/* 80072F94 0006FEF4 48 2C B7 8D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80072F98 0006FEF8 38 61 00 CC */ addi r3, r1, 0xcc +/* 80072F9C 0006FEFC 38 81 00 8C */ addi r4, r1, 0x8c +/* 80072FA0 0006FF00 48 2C A6 AD */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80072FA4 0006FF04 38 61 00 8C */ addi r3, r1, 0x8c +/* 80072FA8 0006FF08 48 2C A1 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80072FAC 0006FF0C 38 61 00 9C */ addi r3, r1, 0x9c +/* 80072FB0 0006FF10 48 2C AB 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80072FB4 0006FF14 38 61 00 CC */ addi r3, r1, 0xcc +/* 80072FB8 0006FF18 38 81 00 28 */ addi r4, r1, 0x28 +/* 80072FBC 0006FF1C 38 A0 FF FF */ li r5, -1 +/* 80072FC0 0006FF20 48 2C A5 25 */ bl sub_8033d4e4 +/* 80072FC4 0006FF24 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80072FC8 0006FF28 38 81 00 CC */ addi r4, r1, 0xcc +/* 80072FCC 0006FF2C 38 A0 00 00 */ li r5, 0 +/* 80072FD0 0006FF30 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80072FD4 0006FF34 48 25 68 B1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80072FD8 0006FF38 38 61 00 CC */ addi r3, r1, 0xcc +/* 80072FDC 0006FF3C 38 81 00 DC */ addi r4, r1, 0xdc +/* 80072FE0 0006FF40 38 A0 FF FF */ li r5, -1 +/* 80072FE4 0006FF44 48 2C A2 19 */ bl sub_8033d1fc +/* 80072FE8 0006FF48 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80072FEC 0006FF4C 57 80 10 3A */ slwi r0, r28, 2 +/* 80072FF0 0006FF50 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80072FF4 0006FF54 7C 63 02 14 */ add r3, r3, r0 +/* 80072FF8 0006FF58 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l +/* 80072FFC 0006FF5C 80 83 00 8C */ lwz r4, 0x8c(r3) +/* 80073000 0006FF60 38 65 01 C8 */ addi r3, r5, 0x1c8 +/* 80073004 0006FF64 4C C6 31 82 */ crclr 6 +/* 80073008 0006FF68 48 26 31 A9 */ bl Stringize__7CBasicsFPCce +/* 8007300C 0006FF6C 7C 64 1B 78 */ mr r4, r3 +/* 80073010 0006FF70 38 61 00 7C */ addi r3, r1, 0x7c +/* 80073014 0006FF74 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80073018 0006FF78 38 A0 FF FF */ li r5, -1 +/* 8007301C 0006FF7C 48 2C B1 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80073020 0006FF80 38 61 00 6C */ addi r3, r1, 0x6c +/* 80073024 0006FF84 38 81 00 7C */ addi r4, r1, 0x7c +/* 80073028 0006FF88 48 2C B6 F9 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8007302C 0006FF8C 38 61 00 CC */ addi r3, r1, 0xcc +/* 80073030 0006FF90 38 81 00 6C */ addi r4, r1, 0x6c +/* 80073034 0006FF94 48 2C A6 19 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80073038 0006FF98 38 61 00 6C */ addi r3, r1, 0x6c +/* 8007303C 0006FF9C 48 2C A0 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80073040 0006FFA0 38 61 00 7C */ addi r3, r1, 0x7c +/* 80073044 0006FFA4 48 2C AA 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80073048 0006FFA8 38 61 00 CC */ addi r3, r1, 0xcc +/* 8007304C 0006FFAC 38 81 00 28 */ addi r4, r1, 0x28 +/* 80073050 0006FFB0 38 A0 FF FF */ li r5, -1 +/* 80073054 0006FFB4 48 2C A4 91 */ bl sub_8033d4e4 +/* 80073058 0006FFB8 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 8007305C 0006FFBC 38 81 00 CC */ addi r4, r1, 0xcc +/* 80073060 0006FFC0 38 A0 00 00 */ li r5, 0 +/* 80073064 0006FFC4 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80073068 0006FFC8 48 25 68 1D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8007306C 0006FFCC 38 61 00 CC */ addi r3, r1, 0xcc +/* 80073070 0006FFD0 38 81 00 DC */ addi r4, r1, 0xdc +/* 80073074 0006FFD4 38 A0 FF FF */ li r5, -1 +/* 80073078 0006FFD8 48 2C A1 85 */ bl sub_8033d1fc +/* 8007307C 0006FFDC 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80073080 0006FFE0 57 60 10 3A */ slwi r0, r27, 2 +/* 80073084 0006FFE4 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80073088 0006FFE8 7C 63 02 14 */ add r3, r3, r0 +/* 8007308C 0006FFEC 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l +/* 80073090 0006FFF0 80 83 00 98 */ lwz r4, 0x98(r3) +/* 80073094 0006FFF4 38 65 01 C8 */ addi r3, r5, 0x1c8 +/* 80073098 0006FFF8 4C C6 31 82 */ crclr 6 +/* 8007309C 0006FFFC 48 26 31 15 */ bl Stringize__7CBasicsFPCce +/* 800730A0 00070000 7C 64 1B 78 */ mr r4, r3 +/* 800730A4 00070004 38 61 00 5C */ addi r3, r1, 0x5c +/* 800730A8 00070008 38 C1 00 0C */ addi r6, r1, 0xc +/* 800730AC 0007000C 38 A0 FF FF */ li r5, -1 +/* 800730B0 00070010 48 2C B0 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 800730B4 00070014 38 61 00 4C */ addi r3, r1, 0x4c +/* 800730B8 00070018 38 81 00 5C */ addi r4, r1, 0x5c +/* 800730BC 0007001C 48 2C B6 65 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800730C0 00070020 38 61 00 CC */ addi r3, r1, 0xcc +/* 800730C4 00070024 38 81 00 4C */ addi r4, r1, 0x4c +/* 800730C8 00070028 48 2C A5 85 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800730CC 0007002C 38 61 00 4C */ addi r3, r1, 0x4c +/* 800730D0 00070030 48 2C A0 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800730D4 00070034 38 61 00 5C */ addi r3, r1, 0x5c +/* 800730D8 00070038 48 2C AA 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800730DC 0007003C 38 61 00 CC */ addi r3, r1, 0xcc +/* 800730E0 00070040 38 81 00 28 */ addi r4, r1, 0x28 +/* 800730E4 00070044 38 A0 FF FF */ li r5, -1 +/* 800730E8 00070048 48 2C A3 FD */ bl sub_8033d4e4 +/* 800730EC 0007004C 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 800730F0 00070050 38 81 00 CC */ addi r4, r1, 0xcc +/* 800730F4 00070054 38 A0 00 00 */ li r5, 0 +/* 800730F8 00070058 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 800730FC 0007005C 48 25 67 89 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80073100 00070060 38 61 00 CC */ addi r3, r1, 0xcc +/* 80073104 00070064 38 81 00 DC */ addi r4, r1, 0xdc +/* 80073108 00070068 38 A0 FF FF */ li r5, -1 +/* 8007310C 0007006C 48 2C A0 F1 */ bl sub_8033d1fc +/* 80073110 00070070 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80073114 00070074 57 40 10 3A */ slwi r0, r26, 2 +/* 80073118 00070078 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 8007311C 0007007C 7C 63 02 14 */ add r3, r3, r0 +/* 80073120 00070080 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l +/* 80073124 00070084 80 83 00 A4 */ lwz r4, 0xa4(r3) +/* 80073128 00070088 38 65 01 C8 */ addi r3, r5, 0x1c8 +/* 8007312C 0007008C 4C C6 31 82 */ crclr 6 +/* 80073130 00070090 48 26 30 81 */ bl Stringize__7CBasicsFPCce +/* 80073134 00070094 7C 64 1B 78 */ mr r4, r3 +/* 80073138 00070098 38 61 00 3C */ addi r3, r1, 0x3c +/* 8007313C 0007009C 38 C1 00 08 */ addi r6, r1, 8 +/* 80073140 000700A0 38 A0 FF FF */ li r5, -1 +/* 80073144 000700A4 48 2C B0 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80073148 000700A8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8007314C 000700AC 38 81 00 3C */ addi r4, r1, 0x3c +/* 80073150 000700B0 48 2C B5 D1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80073154 000700B4 38 61 00 CC */ addi r3, r1, 0xcc +/* 80073158 000700B8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8007315C 000700BC 48 2C A4 F1 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80073160 000700C0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80073164 000700C4 48 2C 9F D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80073168 000700C8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8007316C 000700CC 48 2C A9 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80073170 000700D0 38 61 00 CC */ addi r3, r1, 0xcc +/* 80073174 000700D4 38 81 00 28 */ addi r4, r1, 0x28 +/* 80073178 000700D8 38 A0 FF FF */ li r5, -1 +/* 8007317C 000700DC 48 2C A3 69 */ bl sub_8033d4e4 +/* 80073180 000700E0 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 80073184 000700E4 38 81 00 CC */ addi r4, r1, 0xcc +/* 80073188 000700E8 38 A0 00 00 */ li r5, 0 +/* 8007318C 000700EC 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80073190 000700F0 48 25 66 F5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80073194 000700F4 38 61 00 CC */ addi r3, r1, 0xcc +/* 80073198 000700F8 48 2C 9F 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8007319C: +/* 8007319C 000700FC BB 41 00 F8 */ lmw r26, 0xf8(r1) +/* 800731A0 00070100 80 01 01 14 */ lwz r0, 0x114(r1) +/* 800731A4 00070104 7C 08 03 A6 */ mtlr r0 +/* 800731A8 00070108 38 21 01 10 */ addi r1, r1, 0x110 +/* 800731AC 0007010C 4E 80 00 20 */ blr + +.global Draw__12CPauseScreenFv +Draw__12CPauseScreenFv: +/* 800731B0 00070110 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800731B4 00070114 7C 08 02 A6 */ mflr r0 +/* 800731B8 00070118 90 01 00 44 */ stw r0, 0x44(r1) +/* 800731BC 0007011C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 800731C0 00070120 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 800731C4 00070124 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800731C8 00070128 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800731CC 0007012C 7C 7F 1B 78 */ mr r31, r3 +/* 800731D0 00070130 4B FF F9 19 */ bl IsLoaded__12CPauseScreenCFv +/* 800731D4 00070134 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800731D8 00070138 41 82 01 38 */ beq lbl_80073310 +/* 800731DC 0007013C C0 02 88 30 */ lfs f0, lbl_805AA550@sda21(r2) +/* 800731E0 00070140 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 800731E4 00070144 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800731E8 00070148 40 82 00 0C */ bne lbl_800731F4 +/* 800731EC 0007014C C0 22 88 44 */ lfs f1, lbl_805AA564@sda21(r2) +/* 800731F0 00070150 48 00 00 0C */ b lbl_800731FC +lbl_800731F4: +/* 800731F4 00070154 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) +/* 800731F8 00070158 EC 21 00 24 */ fdivs f1, f1, f0 +lbl_800731FC: +/* 800731FC 0007015C 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 80073200 00070160 C0 42 88 30 */ lfs f2, lbl_805AA550@sda21(r2) +/* 80073204 00070164 54 00 18 38 */ slwi r0, r0, 3 +/* 80073208 00070168 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8007320C 0007016C 7F DF 02 14 */ add r30, r31, r0 +/* 80073210 00070170 FF E0 10 90 */ fmr f31, f2 +/* 80073214 00070174 80 7E 00 84 */ lwz r3, 0x84(r30) +/* 80073218 00070178 28 03 00 00 */ cmplwi r3, 0 +/* 8007321C 0007017C 41 82 00 CC */ beq lbl_800732E8 +/* 80073220 00070180 88 03 01 98 */ lbz r0, 0x198(r3) +/* 80073224 00070184 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80073228 00070188 41 82 00 C0 */ beq lbl_800732E8 +/* 8007322C 0007018C C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80073230 00070190 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80073234 00070194 D0 01 00 08 */ stfs f0, 8(r1) +/* 80073238 00070198 40 80 00 0C */ bge lbl_80073244 +/* 8007323C 0007019C 38 81 00 0C */ addi r4, r1, 0xc +/* 80073240 000701A0 48 00 00 08 */ b lbl_80073248 +lbl_80073244: +/* 80073244 000701A4 38 81 00 08 */ addi r4, r1, 8 +lbl_80073248: +/* 80073248 000701A8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8007324C 000701AC 38 A0 00 01 */ li r5, 1 +/* 80073250 000701B0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80073254 000701B4 38 63 FF FD */ addi r3, r3, -3 +/* 80073258 000701B8 20 03 00 01 */ subfic r0, r3, 1 +/* 8007325C 000701BC 7C A3 1B 38 */ orc r3, r5, r3 +/* 80073260 000701C0 54 00 F8 7E */ srwi r0, r0, 1 +/* 80073264 000701C4 7C 00 18 50 */ subf r0, r0, r3 +/* 80073268 000701C8 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 8007326C 000701CC 40 82 00 08 */ bne lbl_80073274 +/* 80073270 000701D0 38 A0 00 00 */ li r5, 0 +lbl_80073274: +/* 80073274 000701D4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80073278 000701D8 41 82 00 0C */ beq lbl_80073284 +/* 8007327C 000701DC FC 40 08 90 */ fmr f2, f1 +/* 80073280 000701E0 48 00 00 1C */ b lbl_8007329C +lbl_80073284: +/* 80073284 000701E4 88 1F 00 91 */ lbz r0, 0x91(r31) +/* 80073288 000701E8 28 00 00 00 */ cmplwi r0, 0 +/* 8007328C 000701EC 41 82 00 0C */ beq lbl_80073298 +/* 80073290 000701F0 FC 40 00 90 */ fmr f2, f0 +/* 80073294 000701F4 48 00 00 08 */ b lbl_8007329C +lbl_80073298: +/* 80073298 000701F8 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) +lbl_8007329C: +/* 8007329C 000701FC 80 9F 00 08 */ lwz r4, 8(r31) +/* 800732A0 00070200 FF E0 10 90 */ fmr f31, f2 +/* 800732A4 00070204 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 800732A8 00070208 80 7E 00 84 */ lwz r3, 0x84(r30) +/* 800732AC 0007020C 7C 04 00 00 */ cmpw r4, r0 +/* 800732B0 00070210 41 82 00 08 */ beq lbl_800732B8 +/* 800732B4 00070214 48 00 00 08 */ b lbl_800732BC +lbl_800732B8: +/* 800732B8 00070218 C0 22 88 44 */ lfs f1, lbl_805AA564@sda21(r2) +lbl_800732BC: +/* 800732BC 0007021C 81 83 00 00 */ lwz r12, 0(r3) +/* 800732C0 00070220 C0 62 88 30 */ lfs f3, lbl_805AA550@sda21(r2) +/* 800732C4 00070224 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800732C8 00070228 7D 89 03 A6 */ mtctr r12 +/* 800732CC 0007022C 4E 80 04 21 */ bctrl +/* 800732D0 00070230 80 7E 00 84 */ lwz r3, 0x84(r30) +/* 800732D4 00070234 81 83 00 00 */ lwz r12, 0(r3) +/* 800732D8 00070238 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800732DC 0007023C 7D 89 03 A6 */ mtctr r12 +/* 800732E0 00070240 4E 80 04 21 */ bctrl +/* 800732E4 00070244 FC 40 08 90 */ fmr f2, f1 +lbl_800732E8: +/* 800732E8 00070248 C0 02 88 48 */ lfs f0, lbl_805AA568@sda21(r2) +/* 800732EC 0007024C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800732F0 00070250 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) +/* 800732F4 00070254 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 800732F8 00070258 D3 E1 00 10 */ stfs f31, 0x10(r1) +/* 800732FC 0007025C 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80073300 00070260 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80073304 00070264 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80073308 00070268 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8007330C 0007026C 48 24 F4 29 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +lbl_80073310: +/* 80073310 00070270 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80073314 00070274 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80073318 00070278 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8007331C 0007027C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80073320 00070280 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80073324 00070284 7C 08 03 A6 */ mtlr r0 +/* 80073328 00070288 38 21 00 40 */ addi r1, r1, 0x40 +/* 8007332C 0007028C 4E 80 00 20 */ blr + +.global TransitionComplete__12CPauseScreenFv +TransitionComplete__12CPauseScreenFv: +/* 80073330 00070290 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80073334 00070294 7C 08 02 A6 */ mflr r0 +/* 80073338 00070298 38 80 00 00 */ li r4, 0 +/* 8007333C 0007029C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80073340 000702A0 38 01 00 10 */ addi r0, r1, 0x10 +/* 80073344 000702A4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80073348 000702A8 7C 7F 1B 78 */ mr r31, r3 +/* 8007334C 000702AC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80073350 000702B0 98 81 00 10 */ stb r4, 0x10(r1) +/* 80073354 000702B4 90 81 00 14 */ stw r4, 0x14(r1) +/* 80073358 000702B8 80 63 00 78 */ lwz r3, 0x78(r3) +/* 8007335C 000702BC 54 63 18 38 */ slwi r3, r3, 3 +/* 80073360 000702C0 7F DF 1A 14 */ add r30, r31, r3 +/* 80073364 000702C4 3B DE 00 80 */ addi r30, r30, 0x80 +/* 80073368 000702C8 7C 00 F0 40 */ cmplw r0, r30 +/* 8007336C 000702CC 41 82 00 48 */ beq lbl_800733B4 +/* 80073370 000702D0 88 1E 00 00 */ lbz r0, 0(r30) +/* 80073374 000702D4 28 00 00 00 */ cmplwi r0, 0 +/* 80073378 000702D8 41 82 00 24 */ beq lbl_8007339C +/* 8007337C 000702DC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80073380 000702E0 28 03 00 00 */ cmplwi r3, 0 +/* 80073384 000702E4 41 82 00 18 */ beq lbl_8007339C +/* 80073388 000702E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8007338C 000702EC 38 80 00 01 */ li r4, 1 +/* 80073390 000702F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80073394 000702F4 7D 89 03 A6 */ mtctr r12 +/* 80073398 000702F8 4E 80 04 21 */ bctrl +lbl_8007339C: +/* 8007339C 000702FC 88 61 00 10 */ lbz r3, 0x10(r1) +/* 800733A0 00070300 38 00 00 00 */ li r0, 0 +/* 800733A4 00070304 98 7E 00 00 */ stb r3, 0(r30) +/* 800733A8 00070308 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800733AC 0007030C 90 7E 00 04 */ stw r3, 4(r30) +/* 800733B0 00070310 98 01 00 10 */ stb r0, 0x10(r1) +lbl_800733B4: +/* 800733B4 00070314 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800733B8 00070318 28 00 00 00 */ cmplwi r0, 0 +/* 800733BC 0007031C 41 82 00 24 */ beq lbl_800733E0 +/* 800733C0 00070320 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800733C4 00070324 28 03 00 00 */ cmplwi r3, 0 +/* 800733C8 00070328 41 82 00 18 */ beq lbl_800733E0 +/* 800733CC 0007032C 81 83 00 00 */ lwz r12, 0(r3) +/* 800733D0 00070330 38 80 00 01 */ li r4, 1 +/* 800733D4 00070334 81 8C 00 08 */ lwz r12, 8(r12) +/* 800733D8 00070338 7D 89 03 A6 */ mtctr r12 +/* 800733DC 0007033C 4E 80 04 21 */ bctrl +lbl_800733E0: +/* 800733E0 00070340 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 800733E4 00070344 20 00 00 01 */ subfic r0, r0, 1 +/* 800733E8 00070348 90 1F 00 78 */ stw r0, 0x78(r31) +/* 800733EC 0007034C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 800733F0 00070350 90 1F 00 08 */ stw r0, 8(r31) +/* 800733F4 00070354 83 DF 00 1C */ lwz r30, 0x1c(r31) +/* 800733F8 00070358 80 7F 00 08 */ lwz r3, 8(r31) +/* 800733FC 0007035C 48 00 0E E1 */ bl GetPreviousSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen +/* 80073400 00070360 7C 64 1B 78 */ mr r4, r3 +/* 80073404 00070364 7F C3 F3 78 */ mr r3, r30 +/* 80073408 00070368 38 84 00 06 */ addi r4, r4, 6 +/* 8007340C 0007036C 48 2E 32 F1 */ bl GetString__12CStringTableCFi +/* 80073410 00070370 7C 64 1B 78 */ mr r4, r3 +/* 80073414 00070374 38 61 00 28 */ addi r3, r1, 0x28 +/* 80073418 00070378 38 C1 00 0C */ addi r6, r1, 0xc +/* 8007341C 0007037C 38 A0 FF FF */ li r5, -1 +/* 80073420 00070380 48 2C A3 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80073424 00070384 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80073428 00070388 38 81 00 28 */ addi r4, r1, 0x28 +/* 8007342C 0007038C 38 A0 00 00 */ li r5, 0 +/* 80073430 00070390 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80073434 00070394 48 25 64 51 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80073438 00070398 38 61 00 28 */ addi r3, r1, 0x28 +/* 8007343C 0007039C 48 2C 9C F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80073440 000703A0 83 DF 00 1C */ lwz r30, 0x1c(r31) +/* 80073444 000703A4 80 7F 00 08 */ lwz r3, 8(r31) +/* 80073448 000703A8 48 00 0E 61 */ bl GetNextSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen +/* 8007344C 000703AC 7C 64 1B 78 */ mr r4, r3 +/* 80073450 000703B0 7F C3 F3 78 */ mr r3, r30 +/* 80073454 000703B4 38 84 00 06 */ addi r4, r4, 6 +/* 80073458 000703B8 48 2E 32 A5 */ bl GetString__12CStringTableCFi +/* 8007345C 000703BC 7C 64 1B 78 */ mr r4, r3 +/* 80073460 000703C0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80073464 000703C4 38 C1 00 08 */ addi r6, r1, 8 +/* 80073468 000703C8 38 A0 FF FF */ li r5, -1 +/* 8007346C 000703CC 48 2C A3 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80073470 000703D0 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 80073474 000703D4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80073478 000703D8 38 A0 00 00 */ li r5, 0 +/* 8007347C 000703DC 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80073480 000703E0 48 25 64 05 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80073484 000703E4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80073488 000703E8 48 2C 9C AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8007348C 000703EC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80073490 000703F0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80073494 000703F4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80073498 000703F8 7C 08 03 A6 */ mtlr r0 +/* 8007349C 000703FC 38 21 00 40 */ addi r1, r1, 0x40 +/* 800734A0 00070400 4E 80 00 20 */ blr + +.global PreDraw__12CPauseScreenFv +PreDraw__12CPauseScreenFv: +/* 800734A4 00070404 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800734A8 00070408 7C 08 02 A6 */ mflr r0 +/* 800734AC 0007040C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800734B0 00070410 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800734B4 00070414 7C 7F 1B 78 */ mr r31, r3 +/* 800734B8 00070418 4B FF F6 31 */ bl IsLoaded__12CPauseScreenCFv +/* 800734BC 0007041C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800734C0 00070420 41 82 00 38 */ beq lbl_800734F8 +/* 800734C4 00070424 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 800734C8 00070428 54 00 18 38 */ slwi r0, r0, 3 +/* 800734CC 0007042C 7C 7F 02 14 */ add r3, r31, r0 +/* 800734D0 00070430 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800734D4 00070434 28 03 00 00 */ cmplwi r3, 0 +/* 800734D8 00070438 41 82 00 20 */ beq lbl_800734F8 +/* 800734DC 0007043C 88 03 01 98 */ lbz r0, 0x198(r3) +/* 800734E0 00070440 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800734E4 00070444 41 82 00 14 */ beq lbl_800734F8 +/* 800734E8 00070448 81 83 00 00 */ lwz r12, 0(r3) +/* 800734EC 0007044C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800734F0 00070450 7D 89 03 A6 */ mtctr r12 +/* 800734F4 00070454 4E 80 04 21 */ bctrl +lbl_800734F8: +/* 800734F8 00070458 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800734FC 0007045C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80073500 00070460 7C 08 03 A6 */ mtlr r0 +/* 80073504 00070464 38 21 00 10 */ addi r1, r1, 0x10 +/* 80073508 00070468 4E 80 00 20 */ blr + +.global Update__12CPauseScreenFfRC13CStateManagerR9CRandom16R18CArchitectureQueue +Update__12CPauseScreenFfRC13CStateManagerR9CRandom16R18CArchitectureQueue: +/* 8007350C 0007046C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80073510 00070470 7C 08 02 A6 */ mflr r0 +/* 80073514 00070474 90 01 00 74 */ stw r0, 0x74(r1) +/* 80073518 00070478 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8007351C 0007047C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80073520 00070480 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80073524 00070484 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80073528 00070488 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8007352C 0007048C F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80073530 00070490 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80073534 00070494 FF A0 08 90 */ fmr f29, f1 +/* 80073538 00070498 7C 7C 1B 78 */ mr r28, r3 +/* 8007353C 0007049C 7C BD 2B 78 */ mr r29, r5 +/* 80073540 000704A0 7C DE 33 78 */ mr r30, r6 +/* 80073544 000704A4 48 00 04 19 */ bl CheckLoadComplete__12CPauseScreenFRC13CStateManager +/* 80073548 000704A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007354C 000704AC 41 82 01 84 */ beq lbl_800736D0 +/* 80073550 000704B0 80 BC 00 78 */ lwz r5, 0x78(r28) +/* 80073554 000704B4 3B FC 00 80 */ addi r31, r28, 0x80 +/* 80073558 000704B8 80 7C 00 08 */ lwz r3, 8(r28) +/* 8007355C 000704BC 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 80073560 000704C0 20 85 00 01 */ subfic r4, r5, 1 +/* 80073564 000704C4 54 A5 18 38 */ slwi r5, r5, 3 +/* 80073568 000704C8 54 84 18 38 */ slwi r4, r4, 3 +/* 8007356C 000704CC 7C 03 00 00 */ cmpw r3, r0 +/* 80073570 000704D0 7C 7F 2A 14 */ add r3, r31, r5 +/* 80073574 000704D4 7F 7F 22 14 */ add r27, r31, r4 +/* 80073578 000704D8 41 82 00 84 */ beq lbl_800735FC +/* 8007357C 000704DC C0 3C 00 10 */ lfs f1, 0x10(r28) +/* 80073580 000704E0 C0 0D 83 A0 */ lfs f0, lbl_805A6F60@sda21(r13) +/* 80073584 000704E4 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80073588 000704E8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8007358C 000704EC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80073590 000704F0 40 80 00 0C */ bge lbl_8007359C +/* 80073594 000704F4 38 81 00 1C */ addi r4, r1, 0x1c +/* 80073598 000704F8 48 00 00 08 */ b lbl_800735A0 +lbl_8007359C: +/* 8007359C 000704FC 38 8D 83 A0 */ addi r4, r13, lbl_805A6F60@sda21 +lbl_800735A0: +/* 800735A0 00070500 C0 04 00 00 */ lfs f0, 0(r4) +/* 800735A4 00070504 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 800735A8 00070508 80 63 00 04 */ lwz r3, 4(r3) +/* 800735AC 0007050C 28 03 00 00 */ cmplwi r3, 0 +/* 800735B0 00070510 41 82 00 1C */ beq lbl_800735CC +/* 800735B4 00070514 81 83 00 00 */ lwz r12, 0(r3) +/* 800735B8 00070518 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800735BC 0007051C 7D 89 03 A6 */ mtctr r12 +/* 800735C0 00070520 4E 80 04 21 */ bctrl +/* 800735C4 00070524 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800735C8 00070528 40 82 00 34 */ bne lbl_800735FC +lbl_800735CC: +/* 800735CC 0007052C 80 7B 00 04 */ lwz r3, 4(r27) +/* 800735D0 00070530 28 03 00 00 */ cmplwi r3, 0 +/* 800735D4 00070534 41 82 00 10 */ beq lbl_800735E4 +/* 800735D8 00070538 4B FF E1 E1 */ bl IsReady__16CPauseScreenBaseFv +/* 800735DC 0007053C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800735E0 00070540 41 82 00 1C */ beq lbl_800735FC +lbl_800735E4: +/* 800735E4 00070544 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) +/* 800735E8 00070548 C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 800735EC 0007054C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800735F0 00070550 40 82 00 0C */ bne lbl_800735FC +/* 800735F4 00070554 7F 83 E3 78 */ mr r3, r28 +/* 800735F8 00070558 4B FF FD 39 */ bl TransitionComplete__12CPauseScreenFv +lbl_800735FC: +/* 800735FC 0007055C 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 80073600 00070560 54 00 18 38 */ slwi r0, r0, 3 +/* 80073604 00070564 7F 7F 02 14 */ add r27, r31, r0 +/* 80073608 00070568 80 7B 00 04 */ lwz r3, 4(r27) +/* 8007360C 0007056C 28 03 00 00 */ cmplwi r3, 0 +/* 80073610 00070570 41 82 00 C0 */ beq lbl_800736D0 +/* 80073614 00070574 81 83 00 00 */ lwz r12, 0(r3) +/* 80073618 00070578 FC 20 E8 90 */ fmr f1, f29 +/* 8007361C 0007057C 7F A4 EB 78 */ mr r4, r29 +/* 80073620 00070580 7F C5 F3 78 */ mr r5, r30 +/* 80073624 00070584 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80073628 00070588 7D 89 03 A6 */ mtctr r12 +/* 8007362C 0007058C 4E 80 04 21 */ bctrl +/* 80073630 00070590 C0 3C 00 10 */ lfs f1, 0x10(r28) +/* 80073634 00070594 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) +/* 80073638 00070598 80 7C 00 08 */ lwz r3, 8(r28) +/* 8007363C 0007059C EC 01 00 24 */ fdivs f0, f1, f0 +/* 80073640 000705A0 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 80073644 000705A4 7C 03 00 00 */ cmpw r3, r0 +/* 80073648 000705A8 41 82 00 08 */ beq lbl_80073650 +/* 8007364C 000705AC 48 00 00 08 */ b lbl_80073654 +lbl_80073650: +/* 80073650 000705B0 C0 02 88 44 */ lfs f0, lbl_805AA564@sda21(r2) +lbl_80073654: +/* 80073654 000705B4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80073658 000705B8 80 7B 00 04 */ lwz r3, 4(r27) +/* 8007365C 000705BC C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80073660 000705C0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80073664 000705C4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80073668 000705C8 40 80 00 0C */ bge lbl_80073674 +/* 8007366C 000705CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80073670 000705D0 48 00 00 08 */ b lbl_80073678 +lbl_80073674: +/* 80073674 000705D4 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80073678: +/* 80073678 000705D8 C3 A3 00 00 */ lfs f29, 0(r3) +/* 8007367C 000705DC 48 2D 69 31 */ bl White__6CColorFv +/* 80073680 000705E0 C0 02 88 40 */ lfs f0, lbl_805AA560@sda21(r2) +/* 80073684 000705E4 EF C0 07 72 */ fmuls f30, f0, f29 +/* 80073688 000705E8 FF E0 F0 90 */ fmr f31, f30 +/* 8007368C 000705EC F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 80073690 000705F0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80073694 000705F4 80 63 00 00 */ lwz r3, 0(r3) +/* 80073698 000705F8 88 01 00 09 */ lbz r0, 9(r1) +/* 8007369C 000705FC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 800736A0 00070600 90 01 00 10 */ stw r0, 0x10(r1) +/* 800736A4 00070604 80 7C 00 40 */ lwz r3, 0x40(r28) +/* 800736A8 00070608 48 25 71 C5 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 800736AC 0007060C 48 2D 69 01 */ bl White__6CColorFv +/* 800736B0 00070610 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 800736B4 00070614 38 81 00 0C */ addi r4, r1, 0xc +/* 800736B8 00070618 80 63 00 00 */ lwz r3, 0(r3) +/* 800736BC 0007061C 88 01 00 08 */ lbz r0, 8(r1) +/* 800736C0 00070620 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 800736C4 00070624 90 01 00 0C */ stw r0, 0xc(r1) +/* 800736C8 00070628 80 7C 00 44 */ lwz r3, 0x44(r28) +/* 800736CC 0007062C 48 25 71 A1 */ bl SetColor__10CGuiWidgetFRC6CColor +lbl_800736D0: +/* 800736D0 00070630 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800736D4 00070634 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800736D8 00070638 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 800736DC 0007063C CB C1 00 50 */ lfd f30, 0x50(r1) +/* 800736E0 00070640 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 800736E4 00070644 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 800736E8 00070648 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 800736EC 0007064C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800736F0 00070650 7C 08 03 A6 */ mtlr r0 +/* 800736F4 00070654 38 21 00 70 */ addi r1, r1, 0x70 +/* 800736F8 00070658 4E 80 00 20 */ blr + +.global StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni +StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni: +/* 800736FC 0007065C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80073700 00070660 7C 08 02 A6 */ mflr r0 +/* 80073704 00070664 90 01 00 24 */ stw r0, 0x24(r1) +/* 80073708 00070668 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007370C 0007066C 7C 7F 1B 78 */ mr r31, r3 +/* 80073710 00070670 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80073714 00070674 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80073718 00070678 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8007371C 0007067C 7C 05 00 00 */ cmpw r5, r0 +/* 80073720 00070680 41 82 00 F4 */ beq lbl_80073814 +/* 80073724 00070684 90 BF 00 0C */ stw r5, 0xc(r31) +/* 80073728 00070688 39 1F 00 80 */ addi r8, r31, 0x80 +/* 8007372C 0007068C 7C 85 23 78 */ mr r5, r4 +/* 80073730 00070690 90 DF 00 04 */ stw r6, 4(r31) +/* 80073734 00070694 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 80073738 00070698 80 DF 00 78 */ lwz r6, 0x78(r31) +/* 8007373C 0007069C 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80073740 000706A0 20 06 00 01 */ subfic r0, r6, 1 +/* 80073744 000706A4 54 C7 18 38 */ slwi r7, r6, 3 +/* 80073748 000706A8 54 00 18 38 */ slwi r0, r0, 3 +/* 8007374C 000706AC 7C DF 02 14 */ add r6, r31, r0 +/* 80073750 000706B0 7F C8 3A 14 */ add r30, r8, r7 +/* 80073754 000706B4 80 C6 00 6C */ lwz r6, 0x6c(r6) +/* 80073758 000706B8 7F A8 02 14 */ add r29, r8, r0 +/* 8007375C 000706BC 48 00 00 D5 */ bl BuildPauseSubScreen__12CPauseScreenFQ212CPauseScreen10ESubScreenRC13CStateManagerRC9CGuiFrame +/* 80073760 000706C0 7C 83 00 D0 */ neg r4, r3 +/* 80073764 000706C4 38 01 00 08 */ addi r0, r1, 8 +/* 80073768 000706C8 7C 84 1B 78 */ or r4, r4, r3 +/* 8007376C 000706CC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80073770 000706D0 54 83 0F FE */ srwi r3, r4, 0x1f +/* 80073774 000706D4 7C 00 E8 40 */ cmplw r0, r29 +/* 80073778 000706D8 98 61 00 08 */ stb r3, 8(r1) +/* 8007377C 000706DC 41 82 00 48 */ beq lbl_800737C4 +/* 80073780 000706E0 88 1D 00 00 */ lbz r0, 0(r29) +/* 80073784 000706E4 28 00 00 00 */ cmplwi r0, 0 +/* 80073788 000706E8 41 82 00 24 */ beq lbl_800737AC +/* 8007378C 000706EC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80073790 000706F0 28 03 00 00 */ cmplwi r3, 0 +/* 80073794 000706F4 41 82 00 18 */ beq lbl_800737AC +/* 80073798 000706F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8007379C 000706FC 38 80 00 01 */ li r4, 1 +/* 800737A0 00070700 81 8C 00 08 */ lwz r12, 8(r12) +/* 800737A4 00070704 7D 89 03 A6 */ mtctr r12 +/* 800737A8 00070708 4E 80 04 21 */ bctrl +lbl_800737AC: +/* 800737AC 0007070C 88 61 00 08 */ lbz r3, 8(r1) +/* 800737B0 00070710 38 00 00 00 */ li r0, 0 +/* 800737B4 00070714 98 7D 00 00 */ stb r3, 0(r29) +/* 800737B8 00070718 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800737BC 0007071C 90 7D 00 04 */ stw r3, 4(r29) +/* 800737C0 00070720 98 01 00 08 */ stb r0, 8(r1) +lbl_800737C4: +/* 800737C4 00070724 88 01 00 08 */ lbz r0, 8(r1) +/* 800737C8 00070728 28 00 00 00 */ cmplwi r0, 0 +/* 800737CC 0007072C 41 82 00 24 */ beq lbl_800737F0 +/* 800737D0 00070730 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800737D4 00070734 28 03 00 00 */ cmplwi r3, 0 +/* 800737D8 00070738 41 82 00 18 */ beq lbl_800737F0 +/* 800737DC 0007073C 81 83 00 00 */ lwz r12, 0(r3) +/* 800737E0 00070740 38 80 00 01 */ li r4, 1 +/* 800737E4 00070744 81 8C 00 08 */ lwz r12, 8(r12) +/* 800737E8 00070748 7D 89 03 A6 */ mtctr r12 +/* 800737EC 0007074C 4E 80 04 21 */ bctrl +lbl_800737F0: +/* 800737F0 00070750 80 7E 00 04 */ lwz r3, 4(r30) +/* 800737F4 00070754 28 03 00 00 */ cmplwi r3, 0 +/* 800737F8 00070758 41 82 00 14 */ beq lbl_8007380C +/* 800737FC 0007075C 81 83 00 00 */ lwz r12, 0(r3) +/* 80073800 00070760 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80073804 00070764 7D 89 03 A6 */ mtctr r12 +/* 80073808 00070768 4E 80 04 21 */ bctrl +lbl_8007380C: +/* 8007380C 0007076C 38 00 00 00 */ li r0, 0 +/* 80073810 00070770 98 1F 00 91 */ stb r0, 0x91(r31) +lbl_80073814: +/* 80073814 00070774 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80073818 00070778 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007381C 0007077C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80073820 00070780 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80073824 00070784 7C 08 03 A6 */ mtlr r0 +/* 80073828 00070788 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007382C 0007078C 4E 80 00 20 */ blr + +.global BuildPauseSubScreen__12CPauseScreenFQ212CPauseScreen10ESubScreenRC13CStateManagerRC9CGuiFrame +BuildPauseSubScreen__12CPauseScreenFQ212CPauseScreen10ESubScreenRC13CStateManagerRC9CGuiFrame: +/* 80073830 00070790 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80073834 00070794 7C 08 02 A6 */ mflr r0 +/* 80073838 00070798 2C 04 00 02 */ cmpwi r4, 2 +/* 8007383C 0007079C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80073840 000707A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80073844 000707A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80073848 000707A8 7C DE 33 78 */ mr r30, r6 +/* 8007384C 000707AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80073850 000707B0 7C BD 2B 78 */ mr r29, r5 +/* 80073854 000707B4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80073858 000707B8 7C 7C 1B 78 */ mr r28, r3 +/* 8007385C 000707BC 83 E3 00 1C */ lwz r31, 0x1c(r3) +/* 80073860 000707C0 41 82 00 94 */ beq lbl_800738F4 +/* 80073864 000707C4 40 80 00 D4 */ bge lbl_80073938 +/* 80073868 000707C8 2C 04 00 00 */ cmpwi r4, 0 +/* 8007386C 000707CC 41 82 00 10 */ beq lbl_8007387C +/* 80073870 000707D0 40 80 00 48 */ bge lbl_800738B8 +/* 80073874 000707D4 48 00 00 C4 */ b lbl_80073938 +/* 80073878 000707D8 48 00 00 C0 */ b lbl_80073938 +lbl_8007387C: +/* 8007387C 000707DC 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80073880 000707E0 38 60 02 64 */ li r3, 0x264 +/* 80073884 000707E4 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l +/* 80073888 000707E8 38 A0 00 00 */ li r5, 0 +/* 8007388C 000707EC 38 84 02 60 */ addi r4, r4, 0x260 +/* 80073890 000707F0 48 2A 1F DD */ bl __nw__FUlPCcPCc +/* 80073894 000707F4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80073898 000707F8 41 82 00 18 */ beq lbl_800738B0 +/* 8007389C 000707FC 7F A4 EB 78 */ mr r4, r29 +/* 800738A0 00070800 7F C5 F3 78 */ mr r5, r30 +/* 800738A4 00070804 7F E6 FB 78 */ mr r6, r31 +/* 800738A8 00070808 48 1D 43 05 */ bl __ct__14CLogBookScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable +/* 800738AC 0007080C 7C 60 1B 78 */ mr r0, r3 +lbl_800738B0: +/* 800738B0 00070810 7C 03 03 78 */ mr r3, r0 +/* 800738B4 00070814 48 00 00 88 */ b lbl_8007393C +lbl_800738B8: +/* 800738B8 00070818 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 800738BC 0007081C 38 60 02 A4 */ li r3, 0x2a4 +/* 800738C0 00070820 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l +/* 800738C4 00070824 38 A0 00 00 */ li r5, 0 +/* 800738C8 00070828 38 84 02 60 */ addi r4, r4, 0x260 +/* 800738CC 0007082C 48 2A 1F A1 */ bl __nw__FUlPCcPCc +/* 800738D0 00070830 7C 60 1B 79 */ or. r0, r3, r3 +/* 800738D4 00070834 41 82 00 18 */ beq lbl_800738EC +/* 800738D8 00070838 7F A4 EB 78 */ mr r4, r29 +/* 800738DC 0007083C 7F C5 F3 78 */ mr r5, r30 +/* 800738E0 00070840 7F E6 FB 78 */ mr r6, r31 +/* 800738E4 00070844 48 1D 06 4D */ bl __ct__14COptionsScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable +/* 800738E8 00070848 7C 60 1B 78 */ mr r0, r3 +lbl_800738EC: +/* 800738EC 0007084C 7C 03 03 78 */ mr r3, r0 +/* 800738F0 00070850 48 00 00 4C */ b lbl_8007393C +lbl_800738F4: +/* 800738F4 00070854 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 800738F8 00070858 38 60 01 B0 */ li r3, 0x1b0 +/* 800738FC 0007085C 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l +/* 80073900 00070860 38 A0 00 00 */ li r5, 0 +/* 80073904 00070864 38 84 02 60 */ addi r4, r4, 0x260 +/* 80073908 00070868 48 2A 1F 65 */ bl __nw__FUlPCcPCc +/* 8007390C 0007086C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80073910 00070870 41 82 00 20 */ beq lbl_80073930 +/* 80073914 00070874 80 FC 00 20 */ lwz r7, 0x20(r28) +/* 80073918 00070878 7F A4 EB 78 */ mr r4, r29 +/* 8007391C 0007087C 81 1C 00 24 */ lwz r8, 0x24(r28) +/* 80073920 00070880 7F C5 F3 78 */ mr r5, r30 +/* 80073924 00070884 7F E6 FB 78 */ mr r6, r31 +/* 80073928 00070888 48 19 3B F5 */ bl __ct__16CInventoryScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTableRC16CDependencyGroupRC16CDependencyGroup +/* 8007392C 0007088C 7C 60 1B 78 */ mr r0, r3 +lbl_80073930: +/* 80073930 00070890 7C 03 03 78 */ mr r3, r0 +/* 80073934 00070894 48 00 00 08 */ b lbl_8007393C +lbl_80073938: +/* 80073938 00070898 38 60 00 00 */ li r3, 0 +lbl_8007393C: +/* 8007393C 0007089C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80073940 000708A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80073944 000708A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80073948 000708A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8007394C 000708AC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80073950 000708B0 7C 08 03 A6 */ mtlr r0 +/* 80073954 000708B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80073958 000708B8 4E 80 00 20 */ blr + +.global CheckLoadComplete__12CPauseScreenFRC13CStateManager +CheckLoadComplete__12CPauseScreenFRC13CStateManager: +/* 8007395C 000708BC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80073960 000708C0 7C 08 02 A6 */ mflr r0 +/* 80073964 000708C4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80073968 000708C8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8007396C 000708CC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80073970 000708D0 7C 9E 23 78 */ mr r30, r4 +/* 80073974 000708D4 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80073978 000708D8 7C 7D 1B 78 */ mr r29, r3 +/* 8007397C 000708DC 88 03 00 90 */ lbz r0, 0x90(r3) +/* 80073980 000708E0 28 00 00 00 */ cmplwi r0, 0 +/* 80073984 000708E4 41 82 00 0C */ beq lbl_80073990 +/* 80073988 000708E8 38 60 00 01 */ li r3, 1 +/* 8007398C 000708EC 48 00 02 DC */ b lbl_80073C68 +lbl_80073990: +/* 80073990 000708F0 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 80073994 000708F4 28 00 00 00 */ cmplwi r0, 0 +/* 80073998 000708F8 41 82 00 0C */ beq lbl_800739A4 +/* 8007399C 000708FC 38 60 00 01 */ li r3, 1 +/* 800739A0 00070900 48 00 00 3C */ b lbl_800739DC +lbl_800739A4: +/* 800739A4 00070904 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 800739A8 00070908 28 00 00 00 */ cmplwi r0, 0 +/* 800739AC 0007090C 41 82 00 2C */ beq lbl_800739D8 +/* 800739B0 00070910 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 800739B4 00070914 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800739B8 00070918 28 00 00 00 */ cmplwi r0, 0 +/* 800739BC 0007091C 41 82 00 1C */ beq lbl_800739D8 +/* 800739C0 00070920 38 7D 00 14 */ addi r3, r29, 0x14 +/* 800739C4 00070924 48 2C D4 49 */ bl GetObj__6CTokenFv +/* 800739C8 00070928 80 03 00 04 */ lwz r0, 4(r3) +/* 800739CC 0007092C 38 60 00 01 */ li r3, 1 +/* 800739D0 00070930 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 800739D4 00070934 48 00 00 08 */ b lbl_800739DC +lbl_800739D8: +/* 800739D8 00070938 38 60 00 00 */ li r3, 0 +lbl_800739DC: +/* 800739DC 0007093C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800739E0 00070940 40 82 00 0C */ bne lbl_800739EC +/* 800739E4 00070944 38 60 00 00 */ li r3, 0 +/* 800739E8 00070948 48 00 02 80 */ b lbl_80073C68 +lbl_800739EC: +/* 800739EC 0007094C 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 800739F0 00070950 28 00 00 00 */ cmplwi r0, 0 +/* 800739F4 00070954 40 82 00 88 */ bne lbl_80073A7C +/* 800739F8 00070958 80 1D 00 30 */ lwz r0, 0x30(r29) +/* 800739FC 0007095C 28 00 00 00 */ cmplwi r0, 0 +/* 80073A00 00070960 41 82 00 0C */ beq lbl_80073A0C +/* 80073A04 00070964 38 60 00 01 */ li r3, 1 +/* 80073A08 00070968 48 00 00 3C */ b lbl_80073A44 +lbl_80073A0C: +/* 80073A0C 0007096C 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80073A10 00070970 28 00 00 00 */ cmplwi r0, 0 +/* 80073A14 00070974 41 82 00 2C */ beq lbl_80073A40 +/* 80073A18 00070978 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80073A1C 0007097C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80073A20 00070980 28 00 00 00 */ cmplwi r0, 0 +/* 80073A24 00070984 41 82 00 1C */ beq lbl_80073A40 +/* 80073A28 00070988 38 7D 00 28 */ addi r3, r29, 0x28 +/* 80073A2C 0007098C 48 2C D3 E1 */ bl GetObj__6CTokenFv +/* 80073A30 00070990 80 03 00 04 */ lwz r0, 4(r3) +/* 80073A34 00070994 38 60 00 01 */ li r3, 1 +/* 80073A38 00070998 90 1D 00 30 */ stw r0, 0x30(r29) +/* 80073A3C 0007099C 48 00 00 08 */ b lbl_80073A44 +lbl_80073A40: +/* 80073A40 000709A0 38 60 00 00 */ li r3, 0 +lbl_80073A44: +/* 80073A44 000709A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80073A48 000709A8 40 82 00 0C */ bne lbl_80073A54 +/* 80073A4C 000709AC 38 60 00 00 */ li r3, 0 +/* 80073A50 000709B0 48 00 02 18 */ b lbl_80073C68 +lbl_80073A54: +/* 80073A54 000709B4 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 80073A58 000709B8 48 24 EA F9 */ bl GetIsFinishedLoading__9CGuiFrameCFv +/* 80073A5C 000709BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80073A60 000709C0 40 82 00 0C */ bne lbl_80073A6C +/* 80073A64 000709C4 38 60 00 00 */ li r3, 0 +/* 80073A68 000709C8 48 00 02 00 */ b lbl_80073C68 +lbl_80073A6C: +/* 80073A6C 000709CC 80 1D 00 30 */ lwz r0, 0x30(r29) +/* 80073A70 000709D0 7F A3 EB 78 */ mr r3, r29 +/* 80073A74 000709D4 90 1D 00 34 */ stw r0, 0x34(r29) +/* 80073A78 000709D8 48 00 02 0D */ bl InitializeFrameGlue__12CPauseScreenFv +lbl_80073A7C: +/* 80073A7C 000709DC 80 7D 00 60 */ lwz r3, 0x60(r29) +/* 80073A80 000709E0 28 03 00 00 */ cmplwi r3, 0 +/* 80073A84 000709E4 41 82 01 90 */ beq lbl_80073C14 +/* 80073A88 000709E8 81 83 00 00 */ lwz r12, 0(r3) +/* 80073A8C 000709EC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80073A90 000709F0 7D 89 03 A6 */ mtctr r12 +/* 80073A94 000709F4 4E 80 04 21 */ bctrl +/* 80073A98 000709F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80073A9C 000709FC 41 82 01 70 */ beq lbl_80073C0C +/* 80073AA0 00070A00 80 9D 00 5C */ lwz r4, 0x5c(r29) +/* 80073AA4 00070A04 38 61 00 3C */ addi r3, r1, 0x3c +/* 80073AA8 00070A08 80 BD 00 58 */ lwz r5, 0x58(r29) +/* 80073AAC 00070A0C 48 2C B7 21 */ bl __ct__15CMemoryInStreamFPCvUl +/* 80073AB0 00070A10 80 7D 00 54 */ lwz r3, 0x54(r29) +/* 80073AB4 00070A14 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80073AB8 00070A18 80 8D A0 70 */ lwz r4, gGuiSystem@sda21(r13) +/* 80073ABC 00070A1C 80 CD A0 64 */ lwz r6, gpSimplePool@sda21(r13) +/* 80073AC0 00070A20 48 24 EE FD */ bl CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami +/* 80073AC4 00070A24 80 1D 00 64 */ lwz r0, 0x64(r29) +/* 80073AC8 00070A28 7C 83 00 D0 */ neg r4, r3 +/* 80073ACC 00070A2C 7C 84 1B 78 */ or r4, r4, r3 +/* 80073AD0 00070A30 3B FD 00 68 */ addi r31, r29, 0x68 +/* 80073AD4 00070A34 54 00 18 38 */ slwi r0, r0, 3 +/* 80073AD8 00070A38 90 61 00 14 */ stw r3, 0x14(r1) +/* 80073ADC 00070A3C 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80073AE0 00070A40 7C BF 02 15 */ add. r5, r31, r0 +/* 80073AE4 00070A44 98 81 00 10 */ stb r4, 0x10(r1) +/* 80073AE8 00070A48 41 82 00 14 */ beq lbl_80073AFC +/* 80073AEC 00070A4C 98 85 00 00 */ stb r4, 0(r5) +/* 80073AF0 00070A50 38 00 00 00 */ li r0, 0 +/* 80073AF4 00070A54 90 65 00 04 */ stw r3, 4(r5) +/* 80073AF8 00070A58 98 01 00 10 */ stb r0, 0x10(r1) +lbl_80073AFC: +/* 80073AFC 00070A5C 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80073B00 00070A60 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80073B04 00070A64 38 63 00 01 */ addi r3, r3, 1 +/* 80073B08 00070A68 28 00 00 00 */ cmplwi r0, 0 +/* 80073B0C 00070A6C 90 7D 00 64 */ stw r3, 0x64(r29) +/* 80073B10 00070A70 41 82 00 10 */ beq lbl_80073B20 +/* 80073B14 00070A74 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80073B18 00070A78 38 80 00 01 */ li r4, 1 +/* 80073B1C 00070A7C 48 24 EF 61 */ bl __dt__9CGuiFrameFv +lbl_80073B20: +/* 80073B20 00070A80 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80073B24 00070A84 38 61 00 3C */ addi r3, r1, 0x3c +/* 80073B28 00070A88 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80073B2C 00070A8C 38 80 00 00 */ li r4, 0 +/* 80073B30 00070A90 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80073B34 00070A94 48 2C B5 79 */ bl __dt__12CInputStreamFv +/* 80073B38 00070A98 80 9D 00 5C */ lwz r4, 0x5c(r29) +/* 80073B3C 00070A9C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80073B40 00070AA0 80 BD 00 58 */ lwz r5, 0x58(r29) +/* 80073B44 00070AA4 48 2C B6 89 */ bl __ct__15CMemoryInStreamFPCvUl +/* 80073B48 00070AA8 80 7D 00 54 */ lwz r3, 0x54(r29) +/* 80073B4C 00070AAC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80073B50 00070AB0 80 8D A0 70 */ lwz r4, gGuiSystem@sda21(r13) +/* 80073B54 00070AB4 80 CD A0 64 */ lwz r6, gpSimplePool@sda21(r13) +/* 80073B58 00070AB8 48 24 EE 65 */ bl CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami +/* 80073B5C 00070ABC 80 1D 00 64 */ lwz r0, 0x64(r29) +/* 80073B60 00070AC0 7C 83 00 D0 */ neg r4, r3 +/* 80073B64 00070AC4 7C 84 1B 78 */ or r4, r4, r3 +/* 80073B68 00070AC8 90 61 00 0C */ stw r3, 0xc(r1) +/* 80073B6C 00070ACC 54 00 18 38 */ slwi r0, r0, 3 +/* 80073B70 00070AD0 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80073B74 00070AD4 7C BF 02 15 */ add. r5, r31, r0 +/* 80073B78 00070AD8 98 81 00 08 */ stb r4, 8(r1) +/* 80073B7C 00070ADC 41 82 00 14 */ beq lbl_80073B90 +/* 80073B80 00070AE0 98 85 00 00 */ stb r4, 0(r5) +/* 80073B84 00070AE4 38 00 00 00 */ li r0, 0 +/* 80073B88 00070AE8 90 65 00 04 */ stw r3, 4(r5) +/* 80073B8C 00070AEC 98 01 00 08 */ stb r0, 8(r1) +lbl_80073B90: +/* 80073B90 00070AF0 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80073B94 00070AF4 88 01 00 08 */ lbz r0, 8(r1) +/* 80073B98 00070AF8 38 63 00 01 */ addi r3, r3, 1 +/* 80073B9C 00070AFC 28 00 00 00 */ cmplwi r0, 0 +/* 80073BA0 00070B00 90 7D 00 64 */ stw r3, 0x64(r29) +/* 80073BA4 00070B04 41 82 00 10 */ beq lbl_80073BB4 +/* 80073BA8 00070B08 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80073BAC 00070B0C 38 80 00 01 */ li r4, 1 +/* 80073BB0 00070B10 48 24 EE CD */ bl __dt__9CGuiFrameFv +lbl_80073BB4: +/* 80073BB4 00070B14 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80073BB8 00070B18 38 61 00 18 */ addi r3, r1, 0x18 +/* 80073BBC 00070B1C 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80073BC0 00070B20 38 80 00 00 */ li r4, 0 +/* 80073BC4 00070B24 90 01 00 18 */ stw r0, 0x18(r1) +/* 80073BC8 00070B28 48 2C B4 E5 */ bl __dt__12CInputStreamFv +/* 80073BCC 00070B2C 80 7D 00 60 */ lwz r3, 0x60(r29) +/* 80073BD0 00070B30 28 03 00 00 */ cmplwi r3, 0 +/* 80073BD4 00070B34 41 82 00 18 */ beq lbl_80073BEC +/* 80073BD8 00070B38 81 83 00 00 */ lwz r12, 0(r3) +/* 80073BDC 00070B3C 38 80 00 01 */ li r4, 1 +/* 80073BE0 00070B40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80073BE4 00070B44 7D 89 03 A6 */ mtctr r12 +/* 80073BE8 00070B48 4E 80 04 21 */ bctrl +lbl_80073BEC: +/* 80073BEC 00070B4C 38 00 00 00 */ li r0, 0 +/* 80073BF0 00070B50 90 1D 00 60 */ stw r0, 0x60(r29) +/* 80073BF4 00070B54 80 7D 00 5C */ lwz r3, 0x5c(r29) +/* 80073BF8 00070B58 48 2A 1D 39 */ bl Free__7CMemoryFPCv +/* 80073BFC 00070B5C 38 00 00 00 */ li r0, 0 +/* 80073C00 00070B60 90 1D 00 5C */ stw r0, 0x5c(r29) +/* 80073C04 00070B64 90 1D 00 58 */ stw r0, 0x58(r29) +/* 80073C08 00070B68 48 00 00 0C */ b lbl_80073C14 +lbl_80073C0C: +/* 80073C0C 00070B6C 38 60 00 00 */ li r3, 0 +/* 80073C10 00070B70 48 00 00 58 */ b lbl_80073C68 +lbl_80073C14: +/* 80073C14 00070B74 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 80073C18 00070B78 48 24 E9 39 */ bl GetIsFinishedLoading__9CGuiFrameCFv +/* 80073C1C 00070B7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80073C20 00070B80 41 82 00 14 */ beq lbl_80073C34 +/* 80073C24 00070B84 80 7D 00 74 */ lwz r3, 0x74(r29) +/* 80073C28 00070B88 48 24 E9 29 */ bl GetIsFinishedLoading__9CGuiFrameCFv +/* 80073C2C 00070B8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80073C30 00070B90 40 82 00 0C */ bne lbl_80073C3C +lbl_80073C34: +/* 80073C34 00070B94 38 60 00 00 */ li r3, 0 +/* 80073C38 00070B98 48 00 00 30 */ b lbl_80073C68 +lbl_80073C3C: +/* 80073C3C 00070B9C 38 00 00 01 */ li r0, 1 +/* 80073C40 00070BA0 C0 22 88 60 */ lfs f1, lbl_805AA580@sda21(r2) +/* 80073C44 00070BA4 98 1D 00 90 */ stb r0, 0x90(r29) +/* 80073C48 00070BA8 7F A3 EB 78 */ mr r3, r29 +/* 80073C4C 00070BAC 7F C4 F3 78 */ mr r4, r30 +/* 80073C50 00070BB0 38 C0 00 02 */ li r6, 2 +/* 80073C54 00070BB4 80 BD 00 00 */ lwz r5, 0(r29) +/* 80073C58 00070BB8 4B FF FA A5 */ bl StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni +/* 80073C5C 00070BBC 38 00 00 01 */ li r0, 1 +/* 80073C60 00070BC0 38 60 00 01 */ li r3, 1 +/* 80073C64 00070BC4 98 1D 00 91 */ stb r0, 0x91(r29) +lbl_80073C68: +/* 80073C68 00070BC8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80073C6C 00070BCC 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80073C70 00070BD0 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80073C74 00070BD4 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80073C78 00070BD8 7C 08 03 A6 */ mtlr r0 +/* 80073C7C 00070BDC 38 21 00 70 */ addi r1, r1, 0x70 +/* 80073C80 00070BE0 4E 80 00 20 */ blr + +.global InitializeFrameGlue__12CPauseScreenFv +InitializeFrameGlue__12CPauseScreenFv: +/* 80073C84 00070BE4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80073C88 00070BE8 7C 08 02 A6 */ mflr r0 +/* 80073C8C 00070BEC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80073C90 00070BF0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80073C94 00070BF4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80073C98 00070BF8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80073C9C 00070BFC 7C 7F 1B 78 */ mr r31, r3 +/* 80073CA0 00070C00 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80073CA4 00070C04 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80073CA8 00070C08 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80073CAC 00070C0C 38 84 02 67 */ addi r4, r4, 0x267 +/* 80073CB0 00070C10 48 24 E4 A5 */ bl FindWidget__9CGuiFrameCFPCc +/* 80073CB4 00070C14 90 7F 00 38 */ stw r3, 0x38(r31) +/* 80073CB8 00070C18 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80073CBC 00070C1C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80073CC0 00070C20 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80073CC4 00070C24 38 84 02 73 */ addi r4, r4, 0x273 +/* 80073CC8 00070C28 48 24 E4 8D */ bl FindWidget__9CGuiFrameCFPCc +/* 80073CCC 00070C2C 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 80073CD0 00070C30 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80073CD4 00070C34 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80073CD8 00070C38 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80073CDC 00070C3C 38 84 02 7E */ addi r4, r4, 0x27e +/* 80073CE0 00070C40 48 24 E4 75 */ bl FindWidget__9CGuiFrameCFPCc +/* 80073CE4 00070C44 90 7F 00 40 */ stw r3, 0x40(r31) +/* 80073CE8 00070C48 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80073CEC 00070C4C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80073CF0 00070C50 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80073CF4 00070C54 38 84 02 89 */ addi r4, r4, 0x289 +/* 80073CF8 00070C58 48 24 E4 5D */ bl FindWidget__9CGuiFrameCFPCc +/* 80073CFC 00070C5C 90 7F 00 44 */ stw r3, 0x44(r31) +/* 80073D00 00070C60 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80073D04 00070C64 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80073D08 00070C68 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80073D0C 00070C6C 38 84 02 94 */ addi r4, r4, 0x294 +/* 80073D10 00070C70 48 24 E4 45 */ bl FindWidget__9CGuiFrameCFPCc +/* 80073D14 00070C74 90 7F 00 48 */ stw r3, 0x48(r31) +/* 80073D18 00070C78 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80073D1C 00070C7C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80073D20 00070C80 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80073D24 00070C84 38 84 02 A4 */ addi r4, r4, 0x2a4 +/* 80073D28 00070C88 48 24 E4 2D */ bl FindWidget__9CGuiFrameCFPCc +/* 80073D2C 00070C8C 90 7F 00 4C */ stw r3, 0x4c(r31) +/* 80073D30 00070C90 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80073D34 00070C94 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80073D38 00070C98 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80073D3C 00070C9C 38 84 02 B2 */ addi r4, r4, 0x2b2 +/* 80073D40 00070CA0 48 24 E4 15 */ bl FindWidget__9CGuiFrameCFPCc +/* 80073D44 00070CA4 90 7F 00 50 */ stw r3, 0x50(r31) +/* 80073D48 00070CA8 38 80 00 07 */ li r4, 7 +/* 80073D4C 00070CAC 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80073D50 00070CB0 48 2E 29 AD */ bl GetString__12CStringTableCFi +/* 80073D54 00070CB4 7C 64 1B 78 */ mr r4, r3 +/* 80073D58 00070CB8 38 61 00 30 */ addi r3, r1, 0x30 +/* 80073D5C 00070CBC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80073D60 00070CC0 38 A0 FF FF */ li r5, -1 +/* 80073D64 00070CC4 48 2C 9A 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80073D68 00070CC8 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80073D6C 00070CCC 38 81 00 30 */ addi r4, r1, 0x30 +/* 80073D70 00070CD0 38 A0 00 00 */ li r5, 0 +/* 80073D74 00070CD4 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80073D78 00070CD8 48 25 5B 0D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80073D7C 00070CDC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80073D80 00070CE0 48 2C 93 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80073D84 00070CE4 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80073D88 00070CE8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80073D8C 00070CEC 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80073D90 00070CF0 38 84 01 BC */ addi r4, r4, 0x1bc +/* 80073D94 00070CF4 48 25 58 D5 */ bl SetFontColor__15CGuiTextSupportFRC6CColor +/* 80073D98 00070CF8 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80073D9C 00070CFC 38 80 00 06 */ li r4, 6 +/* 80073DA0 00070D00 48 2E 29 5D */ bl GetString__12CStringTableCFi +/* 80073DA4 00070D04 7C 64 1B 78 */ mr r4, r3 +/* 80073DA8 00070D08 38 61 00 20 */ addi r3, r1, 0x20 +/* 80073DAC 00070D0C 38 C1 00 0C */ addi r6, r1, 0xc +/* 80073DB0 00070D10 38 A0 FF FF */ li r5, -1 +/* 80073DB4 00070D14 48 2C 9A 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80073DB8 00070D18 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 80073DBC 00070D1C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80073DC0 00070D20 38 A0 00 00 */ li r5, 0 +/* 80073DC4 00070D24 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80073DC8 00070D28 48 25 5A BD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80073DCC 00070D2C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80073DD0 00070D30 48 2C 93 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80073DD4 00070D34 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 80073DD8 00070D38 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80073DDC 00070D3C 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80073DE0 00070D40 38 84 01 BC */ addi r4, r4, 0x1bc +/* 80073DE4 00070D44 48 25 58 85 */ bl SetFontColor__15CGuiTextSupportFRC6CColor +/* 80073DE8 00070D48 38 00 00 00 */ li r0, 0 +/* 80073DEC 00070D4C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80073DF0 00070D50 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80073DF4 00070D54 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80073DF8 00070D58 48 25 6A 75 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80073DFC 00070D5C 38 00 00 00 */ li r0, 0 +/* 80073E00 00070D60 38 81 00 18 */ addi r4, r1, 0x18 +/* 80073E04 00070D64 90 01 00 18 */ stw r0, 0x18(r1) +/* 80073E08 00070D68 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 80073E0C 00070D6C 48 25 6A 61 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80073E10 00070D70 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha +/* 80073E14 00070D74 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80073E18 00070D78 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l +/* 80073E1C 00070D7C 38 84 02 C0 */ addi r4, r4, 0x2c0 +/* 80073E20 00070D80 48 24 E3 35 */ bl FindWidget__9CGuiFrameCFPCc +/* 80073E24 00070D84 28 03 00 00 */ cmplwi r3, 0 +/* 80073E28 00070D88 41 82 00 48 */ beq lbl_80073E70 +/* 80073E2C 00070D8C 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) +/* 80073E30 00070D90 3C 00 43 30 */ lis r0, 0x4330 +/* 80073E34 00070D94 90 01 00 40 */ stw r0, 0x40(r1) +/* 80073E38 00070D98 88 05 01 BF */ lbz r0, 0x1bf(r5) +/* 80073E3C 00070D9C C8 22 88 68 */ lfd f1, lbl_805AA588@sda21(r2) +/* 80073E40 00070DA0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80073E44 00070DA4 C0 42 88 64 */ lfs f2, lbl_805AA584@sda21(r2) +/* 80073E48 00070DA8 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 80073E4C 00070DAC EC 00 08 28 */ fsubs f0, f0, f1 +/* 80073E50 00070DB0 EF E2 00 32 */ fmuls f31, f2, f0 +/* 80073E54 00070DB4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80073E58 00070DB8 38 81 00 14 */ addi r4, r1, 0x14 +/* 80073E5C 00070DBC 80 A5 01 BC */ lwz r5, 0x1bc(r5) +/* 80073E60 00070DC0 88 01 00 08 */ lbz r0, 8(r1) +/* 80073E64 00070DC4 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 80073E68 00070DC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80073E6C 00070DCC 48 25 6A 01 */ bl SetColor__10CGuiWidgetFRC6CColor +lbl_80073E70: +/* 80073E70 00070DD0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80073E74 00070DD4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80073E78 00070DD8 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80073E7C 00070DDC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80073E80 00070DE0 7C 08 03 A6 */ mtlr r0 +/* 80073E84 00070DE4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80073E88 00070DE8 4E 80 00 20 */ blr + +.global __dt__12CPauseScreenFv +__dt__12CPauseScreenFv: +/* 80073E8C 00070DEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80073E90 00070DF0 7C 08 02 A6 */ mflr r0 +/* 80073E94 00070DF4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80073E98 00070DF8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80073E9C 00070DFC 7C 9F 23 78 */ mr r31, r4 +/* 80073EA0 00070E00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80073EA4 00070E04 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80073EA8 00070E08 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80073EAC 00070E0C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80073EB0 00070E10 41 82 01 3C */ beq lbl_80073FEC +/* 80073EB4 00070E14 48 2F 8E 49 */ bl sub_8036ccfc +/* 80073EB8 00070E18 34 1E 00 7C */ addic. r0, r30, 0x7c +/* 80073EBC 00070E1C 41 82 00 60 */ beq lbl_80073F1C +/* 80073EC0 00070E20 3B 9E 00 80 */ addi r28, r30, 0x80 +/* 80073EC4 00070E24 3B A0 00 00 */ li r29, 0 +/* 80073EC8 00070E28 48 00 00 40 */ b lbl_80073F08 +lbl_80073ECC: +/* 80073ECC 00070E2C 28 1C 00 00 */ cmplwi r28, 0 +/* 80073ED0 00070E30 41 82 00 30 */ beq lbl_80073F00 +/* 80073ED4 00070E34 88 1C 00 00 */ lbz r0, 0(r28) +/* 80073ED8 00070E38 28 00 00 00 */ cmplwi r0, 0 +/* 80073EDC 00070E3C 41 82 00 24 */ beq lbl_80073F00 +/* 80073EE0 00070E40 80 7C 00 04 */ lwz r3, 4(r28) +/* 80073EE4 00070E44 28 03 00 00 */ cmplwi r3, 0 +/* 80073EE8 00070E48 41 82 00 18 */ beq lbl_80073F00 +/* 80073EEC 00070E4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80073EF0 00070E50 38 80 00 01 */ li r4, 1 +/* 80073EF4 00070E54 81 8C 00 08 */ lwz r12, 8(r12) +/* 80073EF8 00070E58 7D 89 03 A6 */ mtctr r12 +/* 80073EFC 00070E5C 4E 80 04 21 */ bctrl +lbl_80073F00: +/* 80073F00 00070E60 3B 9C 00 08 */ addi r28, r28, 8 +/* 80073F04 00070E64 3B BD 00 01 */ addi r29, r29, 1 +lbl_80073F08: +/* 80073F08 00070E68 80 1E 00 7C */ lwz r0, 0x7c(r30) +/* 80073F0C 00070E6C 7C 1D 00 00 */ cmpw r29, r0 +/* 80073F10 00070E70 41 80 FF BC */ blt lbl_80073ECC +/* 80073F14 00070E74 38 00 00 00 */ li r0, 0 +/* 80073F18 00070E78 90 1E 00 7C */ stw r0, 0x7c(r30) +lbl_80073F1C: +/* 80073F1C 00070E7C 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 80073F20 00070E80 41 82 00 4C */ beq lbl_80073F6C +/* 80073F24 00070E84 3B 9E 00 68 */ addi r28, r30, 0x68 +/* 80073F28 00070E88 3B A0 00 00 */ li r29, 0 +/* 80073F2C 00070E8C 48 00 00 2C */ b lbl_80073F58 +lbl_80073F30: +/* 80073F30 00070E90 28 1C 00 00 */ cmplwi r28, 0 +/* 80073F34 00070E94 41 82 00 1C */ beq lbl_80073F50 +/* 80073F38 00070E98 88 1C 00 00 */ lbz r0, 0(r28) +/* 80073F3C 00070E9C 28 00 00 00 */ cmplwi r0, 0 +/* 80073F40 00070EA0 41 82 00 10 */ beq lbl_80073F50 +/* 80073F44 00070EA4 80 7C 00 04 */ lwz r3, 4(r28) +/* 80073F48 00070EA8 38 80 00 01 */ li r4, 1 +/* 80073F4C 00070EAC 48 24 EB 31 */ bl __dt__9CGuiFrameFv +lbl_80073F50: +/* 80073F50 00070EB0 3B 9C 00 08 */ addi r28, r28, 8 +/* 80073F54 00070EB4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80073F58: +/* 80073F58 00070EB8 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 80073F5C 00070EBC 7C 1D 00 00 */ cmpw r29, r0 +/* 80073F60 00070EC0 41 80 FF D0 */ blt lbl_80073F30 +/* 80073F64 00070EC4 38 00 00 00 */ li r0, 0 +/* 80073F68 00070EC8 90 1E 00 64 */ stw r0, 0x64(r30) +lbl_80073F6C: +/* 80073F6C 00070ECC 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 80073F70 00070ED0 41 82 00 24 */ beq lbl_80073F94 +/* 80073F74 00070ED4 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 80073F78 00070ED8 28 03 00 00 */ cmplwi r3, 0 +/* 80073F7C 00070EDC 41 82 00 18 */ beq lbl_80073F94 +/* 80073F80 00070EE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80073F84 00070EE4 38 80 00 01 */ li r4, 1 +/* 80073F88 00070EE8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80073F8C 00070EEC 7D 89 03 A6 */ mtctr r12 +/* 80073F90 00070EF0 4E 80 04 21 */ bctrl +lbl_80073F94: +/* 80073F94 00070EF4 34 1E 00 5C */ addic. r0, r30, 0x5c +/* 80073F98 00070EF8 41 82 00 0C */ beq lbl_80073FA4 +/* 80073F9C 00070EFC 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 80073FA0 00070F00 48 2A 19 91 */ bl Free__7CMemoryFPCv +lbl_80073FA4: +/* 80073FA4 00070F04 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 80073FA8 00070F08 41 82 00 18 */ beq lbl_80073FC0 +/* 80073FAC 00070F0C 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 80073FB0 00070F10 41 82 00 10 */ beq lbl_80073FC0 +/* 80073FB4 00070F14 38 7E 00 28 */ addi r3, r30, 0x28 +/* 80073FB8 00070F18 38 80 00 00 */ li r4, 0 +/* 80073FBC 00070F1C 48 2C CE 85 */ bl __dt__6CTokenFv +lbl_80073FC0: +/* 80073FC0 00070F20 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80073FC4 00070F24 41 82 00 18 */ beq lbl_80073FDC +/* 80073FC8 00070F28 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80073FCC 00070F2C 41 82 00 10 */ beq lbl_80073FDC +/* 80073FD0 00070F30 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80073FD4 00070F34 38 80 00 00 */ li r4, 0 +/* 80073FD8 00070F38 48 2C CE 69 */ bl __dt__6CTokenFv +lbl_80073FDC: +/* 80073FDC 00070F3C 7F E0 07 35 */ extsh. r0, r31 +/* 80073FE0 00070F40 40 81 00 0C */ ble lbl_80073FEC +/* 80073FE4 00070F44 7F C3 F3 78 */ mr r3, r30 +/* 80073FE8 00070F48 48 2A 19 49 */ bl Free__7CMemoryFPCv +lbl_80073FEC: +/* 80073FEC 00070F4C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80073FF0 00070F50 7F C3 F3 78 */ mr r3, r30 +/* 80073FF4 00070F54 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80073FF8 00070F58 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80073FFC 00070F5C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80074000 00070F60 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80074004 00070F64 7C 08 03 A6 */ mtlr r0 +/* 80074008 00070F68 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007400C 00070F6C 4E 80 00 20 */ blr + +.global __ct__12CPauseScreenFiRC16CDependencyGroupRC16CDependencyGroup +__ct__12CPauseScreenFiRC16CDependencyGroupRC16CDependencyGroup: +/* 80074010 00070F70 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80074014 00070F74 7C 08 02 A6 */ mflr r0 +/* 80074018 00070F78 C0 02 88 30 */ lfs f0, lbl_805AA550@sda21(r2) +/* 8007401C 00070F7C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80074020 00070F80 38 00 00 03 */ li r0, 3 +/* 80074024 00070F84 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80074028 00070F88 7C 7F 1B 78 */ mr r31, r3 +/* 8007402C 00070F8C 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 80074030 00070F90 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80074034 00070F94 7C DE 33 78 */ mr r30, r6 +/* 80074038 00070F98 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8007403C 00070F9C 7C BD 2B 78 */ mr r29, r5 +/* 80074040 00070FA0 93 81 00 40 */ stw r28, 0x40(r1) +/* 80074044 00070FA4 90 9F 00 00 */ stw r4, 0(r31) +/* 80074048 00070FA8 38 80 00 02 */ li r4, 2 +/* 8007404C 00070FAC 90 9F 00 04 */ stw r4, 4(r31) +/* 80074050 00070FB0 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 80074054 00070FB4 38 A4 02 D0 */ addi r5, r4, 0x2d0 +/* 80074058 00070FB8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8007405C 00070FBC 90 1F 00 08 */ stw r0, 8(r31) +/* 80074060 00070FC0 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80074064 00070FC4 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80074068 00070FC8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8007406C 00070FCC 81 84 00 00 */ lwz r12, 0(r4) +/* 80074070 00070FD0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80074074 00070FD4 7D 89 03 A6 */ mtctr r12 +/* 80074078 00070FD8 4E 80 04 21 */ bctrl +/* 8007407C 00070FDC 3B 9F 00 14 */ addi r28, r31, 0x14 +/* 80074080 00070FE0 38 81 00 34 */ addi r4, r1, 0x34 +/* 80074084 00070FE4 7F 83 E3 78 */ mr r3, r28 +/* 80074088 00070FE8 48 2C CE 21 */ bl __ct__6CTokenFRC6CToken +/* 8007408C 00070FEC 38 00 00 00 */ li r0, 0 +/* 80074090 00070FF0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80074094 00070FF4 90 1C 00 08 */ stw r0, 8(r28) +/* 80074098 00070FF8 38 80 FF FF */ li r4, -1 +/* 8007409C 00070FFC 48 2C CD A5 */ bl __dt__6CTokenFv +/* 800740A0 00071000 93 BF 00 20 */ stw r29, 0x20(r31) +/* 800740A4 00071004 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800740A8 00071008 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l +/* 800740AC 0007100C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800740B0 00071010 93 DF 00 24 */ stw r30, 0x24(r31) +/* 800740B4 00071014 38 A4 02 E1 */ addi r5, r4, 0x2e1 +/* 800740B8 00071018 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800740BC 0007101C 81 84 00 00 */ lwz r12, 0(r4) +/* 800740C0 00071020 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800740C4 00071024 7D 89 03 A6 */ mtctr r12 +/* 800740C8 00071028 4E 80 04 21 */ bctrl +/* 800740CC 0007102C 3B 9F 00 28 */ addi r28, r31, 0x28 +/* 800740D0 00071030 38 81 00 2C */ addi r4, r1, 0x2c +/* 800740D4 00071034 7F 83 E3 78 */ mr r3, r28 +/* 800740D8 00071038 48 2C CD D1 */ bl __ct__6CTokenFRC6CToken +/* 800740DC 0007103C 38 00 00 00 */ li r0, 0 +/* 800740E0 00071040 38 61 00 2C */ addi r3, r1, 0x2c +/* 800740E4 00071044 90 1C 00 08 */ stw r0, 8(r28) +/* 800740E8 00071048 38 80 FF FF */ li r4, -1 +/* 800740EC 0007104C 48 2C CD 55 */ bl __dt__6CTokenFv +/* 800740F0 00071050 38 00 00 00 */ li r0, 0 +/* 800740F4 00071054 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha +/* 800740F8 00071058 90 1F 00 34 */ stw r0, 0x34(r31) +/* 800740FC 0007105C 38 63 D2 D8 */ addi r3, r3, lbl_803CD2D8@l +/* 80074100 00071060 38 83 02 FE */ addi r4, r3, 0x2fe +/* 80074104 00071064 90 1F 00 38 */ stw r0, 0x38(r31) +/* 80074108 00071068 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 8007410C 0007106C 90 1F 00 40 */ stw r0, 0x40(r31) +/* 80074110 00071070 90 1F 00 44 */ stw r0, 0x44(r31) +/* 80074114 00071074 90 1F 00 48 */ stw r0, 0x48(r31) +/* 80074118 00071078 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 8007411C 0007107C 90 1F 00 50 */ stw r0, 0x50(r31) +/* 80074120 00071080 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80074124 00071084 81 83 00 00 */ lwz r12, 0(r3) +/* 80074128 00071088 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8007412C 0007108C 7D 89 03 A6 */ mtctr r12 +/* 80074130 00071090 4E 80 04 21 */ bctrl +/* 80074134 00071094 80 A3 00 04 */ lwz r5, 4(r3) +/* 80074138 00071098 3C 60 46 52 */ lis r3, 0x46524D45@ha +/* 8007413C 0007109C 38 03 4D 45 */ addi r0, r3, 0x46524D45@l +/* 80074140 000710A0 38 81 00 24 */ addi r4, r1, 0x24 +/* 80074144 000710A4 90 BF 00 54 */ stw r5, 0x54(r31) +/* 80074148 000710A8 80 BF 00 54 */ lwz r5, 0x54(r31) +/* 8007414C 000710AC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80074150 000710B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80074154 000710B4 38 63 00 04 */ addi r3, r3, 4 +/* 80074158 000710B8 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8007415C 000710BC 48 2C 7A F5 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 80074160 000710C0 3C A0 80 3D */ lis r5, lbl_803CD2D8@ha +/* 80074164 000710C4 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80074168 000710C8 90 7F 00 58 */ stw r3, 0x58(r31) +/* 8007416C 000710CC 38 A5 D2 D8 */ addi r5, r5, lbl_803CD2D8@l +/* 80074170 000710D0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80074174 000710D4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80074178 000710D8 38 A5 02 60 */ addi r5, r5, 0x260 +/* 8007417C 000710DC 38 80 FF FF */ li r4, -1 +/* 80074180 000710E0 48 26 22 55 */ bl __ct__10CCallStackFUiPCcPCc +/* 80074184 000710E4 7C 67 1B 78 */ mr r7, r3 +/* 80074188 000710E8 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 8007418C 000710EC 38 80 00 02 */ li r4, 2 +/* 80074190 000710F0 38 A0 00 01 */ li r5, 1 +/* 80074194 000710F4 38 C0 00 00 */ li r6, 0 +/* 80074198 000710F8 48 2A 17 FD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8007419C 000710FC 90 7F 00 5C */ stw r3, 0x5c(r31) +/* 800741A0 00071100 3C 60 46 52 */ lis r3, 0x46524D45@ha +/* 800741A4 00071104 38 03 4D 45 */ addi r0, r3, 0x46524D45@l +/* 800741A8 00071108 38 81 00 14 */ addi r4, r1, 0x14 +/* 800741AC 0007110C 80 BF 00 5C */ lwz r5, 0x5c(r31) +/* 800741B0 00071110 80 DF 00 54 */ lwz r6, 0x54(r31) +/* 800741B4 00071114 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800741B8 00071118 90 01 00 14 */ stw r0, 0x14(r1) +/* 800741BC 0007111C 38 63 00 04 */ addi r3, r3, 4 +/* 800741C0 00071120 90 C1 00 18 */ stw r6, 0x18(r1) +/* 800741C4 00071124 48 2C 79 B5 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc +/* 800741C8 00071128 90 7F 00 60 */ stw r3, 0x60(r31) +/* 800741CC 0007112C 38 60 00 00 */ li r3, 0 +/* 800741D0 00071130 34 9F 00 80 */ addic. r4, r31, 0x80 +/* 800741D4 00071134 38 00 00 02 */ li r0, 2 +/* 800741D8 00071138 90 7F 00 64 */ stw r3, 0x64(r31) +/* 800741DC 0007113C 90 7F 00 78 */ stw r3, 0x78(r31) +/* 800741E0 00071140 98 61 00 0C */ stb r3, 0xc(r1) +/* 800741E4 00071144 90 61 00 10 */ stw r3, 0x10(r1) +/* 800741E8 00071148 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 800741EC 0007114C 41 82 00 10 */ beq lbl_800741FC +/* 800741F0 00071150 98 64 00 00 */ stb r3, 0(r4) +/* 800741F4 00071154 98 61 00 0C */ stb r3, 0xc(r1) +/* 800741F8 00071158 90 64 00 04 */ stw r3, 4(r4) +lbl_800741FC: +/* 800741FC 0007115C 34 84 00 08 */ addic. r4, r4, 8 +/* 80074200 00071160 41 82 00 14 */ beq lbl_80074214 +/* 80074204 00071164 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80074208 00071168 98 04 00 00 */ stb r0, 0(r4) +/* 8007420C 0007116C 90 64 00 04 */ stw r3, 4(r4) +/* 80074210 00071170 98 61 00 0C */ stb r3, 0xc(r1) +lbl_80074214: +/* 80074214 00071174 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80074218 00071178 28 00 00 00 */ cmplwi r0, 0 +/* 8007421C 0007117C 41 82 00 24 */ beq lbl_80074240 +/* 80074220 00071180 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80074224 00071184 28 03 00 00 */ cmplwi r3, 0 +/* 80074228 00071188 41 82 00 18 */ beq lbl_80074240 +/* 8007422C 0007118C 81 83 00 00 */ lwz r12, 0(r3) +/* 80074230 00071190 38 80 00 01 */ li r4, 1 +/* 80074234 00071194 81 8C 00 08 */ lwz r12, 8(r12) +/* 80074238 00071198 7D 89 03 A6 */ mtctr r12 +/* 8007423C 0007119C 4E 80 04 21 */ bctrl +lbl_80074240: +/* 80074240 000711A0 38 60 00 00 */ li r3, 0 +/* 80074244 000711A4 38 00 00 01 */ li r0, 1 +/* 80074248 000711A8 98 7F 00 90 */ stb r3, 0x90(r31) +/* 8007424C 000711AC 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80074250 000711B0 98 1F 00 91 */ stb r0, 0x91(r31) +/* 80074254 000711B4 48 2C CB 31 */ bl Lock__6CTokenFv +/* 80074258 000711B8 38 7F 00 28 */ addi r3, r31, 0x28 +/* 8007425C 000711BC 48 2C CB 29 */ bl Lock__6CTokenFv +/* 80074260 000711C0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80074264 000711C4 38 61 00 08 */ addi r3, r1, 8 +/* 80074268 000711C8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8007426C 000711CC 38 80 05 9B */ li r4, 0x59b +/* 80074270 000711D0 38 A0 00 7F */ li r5, 0x7f +/* 80074274 000711D4 38 C0 00 40 */ li r6, 0x40 +/* 80074278 000711D8 38 E0 00 00 */ li r7, 0 +/* 8007427C 000711DC 39 20 00 00 */ li r9, 0 +/* 80074280 000711E0 48 27 5A F5 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80074284 000711E4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80074288 000711E8 7F E3 FB 78 */ mr r3, r31 +/* 8007428C 000711EC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80074290 000711F0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80074294 000711F4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80074298 000711F8 83 81 00 40 */ lwz r28, 0x40(r1) +/* 8007429C 000711FC 7C 08 03 A6 */ mtlr r0 +/* 800742A0 00071200 38 21 00 50 */ addi r1, r1, 0x50 +/* 800742A4 00071204 4E 80 00 20 */ blr + +.global GetNextSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen +GetNextSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen: +/* 800742A8 00071208 2C 03 00 02 */ cmpwi r3, 2 +/* 800742AC 0007120C 40 82 00 0C */ bne lbl_800742B8 +/* 800742B0 00071210 38 60 00 00 */ li r3, 0 +/* 800742B4 00071214 4E 80 00 20 */ blr +lbl_800742B8: +/* 800742B8 00071218 2C 03 00 01 */ cmpwi r3, 1 +/* 800742BC 0007121C 40 82 00 0C */ bne lbl_800742C8 +/* 800742C0 00071220 38 60 00 02 */ li r3, 2 +/* 800742C4 00071224 4E 80 00 20 */ blr +lbl_800742C8: +/* 800742C8 00071228 2C 03 00 00 */ cmpwi r3, 0 +/* 800742CC 0007122C 38 60 00 03 */ li r3, 3 +/* 800742D0 00071230 4C 82 00 20 */ bnelr +/* 800742D4 00071234 38 60 00 01 */ li r3, 1 +/* 800742D8 00071238 4E 80 00 20 */ blr + +.global GetPreviousSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen +GetPreviousSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen: +/* 800742DC 0007123C 2C 03 00 02 */ cmpwi r3, 2 +/* 800742E0 00071240 40 82 00 0C */ bne lbl_800742EC +/* 800742E4 00071244 38 60 00 01 */ li r3, 1 +/* 800742E8 00071248 4E 80 00 20 */ blr +lbl_800742EC: +/* 800742EC 0007124C 2C 03 00 01 */ cmpwi r3, 1 +/* 800742F0 00071250 40 82 00 0C */ bne lbl_800742FC +/* 800742F4 00071254 38 60 00 00 */ li r3, 0 +/* 800742F8 00071258 4E 80 00 20 */ blr +lbl_800742FC: +/* 800742FC 0007125C 2C 03 00 00 */ cmpwi r3, 0 +/* 80074300 00071260 38 60 00 03 */ li r3, 3 +/* 80074304 00071264 4C 82 00 20 */ bnelr +/* 80074308 00071268 38 60 00 02 */ li r3, 2 +/* 8007430C 0007126C 4E 80 00 20 */ blr + +.global FaceReflectionOrthoHeightDebugValueToActualValue__9CTweakGuiFf +FaceReflectionOrthoHeightDebugValueToActualValue__9CTweakGuiFf: +/* 80074310 00071270 C0 42 88 74 */ lfs f2, lbl_805AA594@sda21(r2) +/* 80074314 00071274 C0 02 88 70 */ lfs f0, lbl_805AA590@sda21(r2) +/* 80074318 00071278 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8007431C 0007127C 4E 80 00 20 */ blr + +.global FaceReflectionOrthoWidthDebugValueToActualValue__9CTweakGuiFf +FaceReflectionOrthoWidthDebugValueToActualValue__9CTweakGuiFf: +/* 80074320 00071280 C0 42 88 74 */ lfs f2, lbl_805AA594@sda21(r2) +/* 80074324 00071284 C0 02 88 70 */ lfs f0, lbl_805AA590@sda21(r2) +/* 80074328 00071288 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8007432C 0007128C 4E 80 00 20 */ blr + +.global FaceReflectionAspectDebugValueToActualValue__9CTweakGuiFf +FaceReflectionAspectDebugValueToActualValue__9CTweakGuiFf: +/* 80074330 00071290 C0 42 88 7C */ lfs f2, lbl_805AA59C@sda21(r2) +/* 80074334 00071294 C0 02 88 78 */ lfs f0, lbl_805AA598@sda21(r2) +/* 80074338 00071298 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8007433C 0007129C 4E 80 00 20 */ blr + +.global FaceReflectionHeightDebugValueToActualValue__9CTweakGuiFf +FaceReflectionHeightDebugValueToActualValue__9CTweakGuiFf: +/* 80074340 000712A0 C0 42 88 80 */ lfs f2, lbl_805AA5A0@sda21(r2) +/* 80074344 000712A4 C0 02 88 7C */ lfs f0, lbl_805AA59C@sda21(r2) +/* 80074348 000712A8 EC 22 00 78 */ fmsubs f1, f2, f1, f0 +/* 8007434C 000712AC 4E 80 00 20 */ blr + +.global FaceReflectionDistanceDebugValueToActualValue__9CTweakGuiFf +FaceReflectionDistanceDebugValueToActualValue__9CTweakGuiFf: +/* 80074350 000712B0 C0 42 88 88 */ lfs f2, lbl_805AA5A8@sda21(r2) +/* 80074354 000712B4 C0 02 88 84 */ lfs f0, lbl_805AA5A4@sda21(r2) +/* 80074358 000712B8 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8007435C 000712BC 4E 80 00 20 */ blr + +.global __ct__9CTweakGuiFR12CInputStream +__ct__9CTweakGuiFR12CInputStream: +/* 80074360 000712C0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80074364 000712C4 7C 08 02 A6 */ mflr r0 +/* 80074368 000712C8 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha +/* 8007436C 000712CC 3C A0 80 3E */ lis r5, lbl_803DA440@ha +/* 80074370 000712D0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80074374 000712D4 38 05 A4 40 */ addi r0, r5, lbl_803DA440@l +/* 80074378 000712D8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8007437C 000712DC 7C 9F 23 78 */ mr r31, r4 +/* 80074380 000712E0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80074384 000712E4 7C 7E 1B 78 */ mr r30, r3 +/* 80074388 000712E8 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l +/* 8007438C 000712EC 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80074390 000712F0 93 81 00 60 */ stw r28, 0x60(r1) +/* 80074394 000712F4 90 7E 00 00 */ stw r3, 0(r30) +/* 80074398 000712F8 7F E3 FB 78 */ mr r3, r31 +/* 8007439C 000712FC 90 1E 00 00 */ stw r0, 0(r30) +/* 800743A0 00071300 48 2C A9 3D */ bl ReadBool__12CInputStreamFv +/* 800743A4 00071304 98 7E 00 04 */ stb r3, 4(r30) +/* 800743A8 00071308 7F E3 FB 78 */ mr r3, r31 +/* 800743AC 0007130C 48 2C A8 7D */ bl ReadFloat__12CInputStreamFv +/* 800743B0 00071310 D0 3E 00 08 */ stfs f1, 8(r30) +/* 800743B4 00071314 7F E3 FB 78 */ mr r3, r31 +/* 800743B8 00071318 48 2C A8 71 */ bl ReadFloat__12CInputStreamFv +/* 800743BC 0007131C D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 800743C0 00071320 7F E3 FB 78 */ mr r3, r31 +/* 800743C4 00071324 48 2C A8 65 */ bl ReadFloat__12CInputStreamFv +/* 800743C8 00071328 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 800743CC 0007132C 7F E3 FB 78 */ mr r3, r31 +/* 800743D0 00071330 48 2C A8 59 */ bl ReadFloat__12CInputStreamFv +/* 800743D4 00071334 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 800743D8 00071338 7F E3 FB 78 */ mr r3, r31 +/* 800743DC 0007133C 48 2C A8 4D */ bl ReadFloat__12CInputStreamFv +/* 800743E0 00071340 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 800743E4 00071344 7F E3 FB 78 */ mr r3, r31 +/* 800743E8 00071348 48 2C A8 41 */ bl ReadFloat__12CInputStreamFv +/* 800743EC 0007134C D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 800743F0 00071350 7F E3 FB 78 */ mr r3, r31 +/* 800743F4 00071354 48 2C A8 35 */ bl ReadFloat__12CInputStreamFv +/* 800743F8 00071358 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 800743FC 0007135C 7F E3 FB 78 */ mr r3, r31 +/* 80074400 00071360 48 2C A8 29 */ bl ReadFloat__12CInputStreamFv +/* 80074404 00071364 D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 80074408 00071368 7F E3 FB 78 */ mr r3, r31 +/* 8007440C 0007136C 48 2C A8 1D */ bl ReadFloat__12CInputStreamFv +/* 80074410 00071370 D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 80074414 00071374 38 00 00 00 */ li r0, 0 +/* 80074418 00071378 7F E3 FB 78 */ mr r3, r31 +/* 8007441C 0007137C 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 80074420 00071380 48 2C A8 09 */ bl ReadFloat__12CInputStreamFv +/* 80074424 00071384 D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 80074428 00071388 7F E3 FB 78 */ mr r3, r31 +/* 8007442C 0007138C 48 2C A7 FD */ bl ReadFloat__12CInputStreamFv +/* 80074430 00071390 D0 3E 00 34 */ stfs f1, 0x34(r30) +/* 80074434 00071394 7F E3 FB 78 */ mr r3, r31 +/* 80074438 00071398 48 2C A7 F1 */ bl ReadFloat__12CInputStreamFv +/* 8007443C 0007139C D0 3E 00 38 */ stfs f1, 0x38(r30) +/* 80074440 000713A0 7F E3 FB 78 */ mr r3, r31 +/* 80074444 000713A4 48 2C A7 E5 */ bl ReadFloat__12CInputStreamFv +/* 80074448 000713A8 D0 3E 00 3C */ stfs f1, 0x3c(r30) +/* 8007444C 000713AC 7F E3 FB 78 */ mr r3, r31 +/* 80074450 000713B0 48 2C A8 8D */ bl ReadBool__12CInputStreamFv +/* 80074454 000713B4 98 7E 00 40 */ stb r3, 0x40(r30) +/* 80074458 000713B8 7F E3 FB 78 */ mr r3, r31 +/* 8007445C 000713BC 48 2C A7 CD */ bl ReadFloat__12CInputStreamFv +/* 80074460 000713C0 D0 3E 00 44 */ stfs f1, 0x44(r30) +/* 80074464 000713C4 7F E3 FB 78 */ mr r3, r31 +/* 80074468 000713C8 48 2C A7 C1 */ bl ReadFloat__12CInputStreamFv +/* 8007446C 000713CC D0 3E 00 48 */ stfs f1, 0x48(r30) +/* 80074470 000713D0 7F E3 FB 78 */ mr r3, r31 +/* 80074474 000713D4 48 2C A7 B5 */ bl ReadFloat__12CInputStreamFv +/* 80074478 000713D8 D0 3E 00 4C */ stfs f1, 0x4c(r30) +/* 8007447C 000713DC 7F E3 FB 78 */ mr r3, r31 +/* 80074480 000713E0 48 2C A7 A9 */ bl ReadFloat__12CInputStreamFv +/* 80074484 000713E4 D0 3E 00 50 */ stfs f1, 0x50(r30) +/* 80074488 000713E8 7F E3 FB 78 */ mr r3, r31 +/* 8007448C 000713EC 48 2C A7 9D */ bl ReadFloat__12CInputStreamFv +/* 80074490 000713F0 D0 3E 00 54 */ stfs f1, 0x54(r30) +/* 80074494 000713F4 7F E3 FB 78 */ mr r3, r31 +/* 80074498 000713F8 48 2C A7 91 */ bl ReadFloat__12CInputStreamFv +/* 8007449C 000713FC D0 3E 00 58 */ stfs f1, 0x58(r30) +/* 800744A0 00071400 7F E3 FB 78 */ mr r3, r31 +/* 800744A4 00071404 48 2C A7 85 */ bl ReadFloat__12CInputStreamFv +/* 800744A8 00071408 D0 3E 00 5C */ stfs f1, 0x5c(r30) +/* 800744AC 0007140C 7F E3 FB 78 */ mr r3, r31 +/* 800744B0 00071410 48 2C A7 79 */ bl ReadFloat__12CInputStreamFv +/* 800744B4 00071414 D0 3E 00 60 */ stfs f1, 0x60(r30) +/* 800744B8 00071418 7F E4 FB 78 */ mr r4, r31 +/* 800744BC 0007141C 38 7E 00 64 */ addi r3, r30, 0x64 +/* 800744C0 00071420 48 2A 06 CD */ bl __ct__9CVector3fFR12CInputStream +/* 800744C4 00071424 7F E4 FB 78 */ mr r4, r31 +/* 800744C8 00071428 38 7E 00 70 */ addi r3, r30, 0x70 +/* 800744CC 0007142C 48 2A 06 C1 */ bl __ct__9CVector3fFR12CInputStream +/* 800744D0 00071430 7F E3 FB 78 */ mr r3, r31 +/* 800744D4 00071434 48 2C A7 55 */ bl ReadFloat__12CInputStreamFv +/* 800744D8 00071438 D0 3E 00 7C */ stfs f1, 0x7c(r30) +/* 800744DC 0007143C 7F E3 FB 78 */ mr r3, r31 +/* 800744E0 00071440 48 2C A7 49 */ bl ReadFloat__12CInputStreamFv +/* 800744E4 00071444 D0 3E 00 80 */ stfs f1, 0x80(r30) +/* 800744E8 00071448 7F E3 FB 78 */ mr r3, r31 +/* 800744EC 0007144C 48 2C A7 3D */ bl ReadFloat__12CInputStreamFv +/* 800744F0 00071450 D0 3E 00 84 */ stfs f1, 0x84(r30) +/* 800744F4 00071454 7F E3 FB 78 */ mr r3, r31 +/* 800744F8 00071458 48 2C A7 31 */ bl ReadFloat__12CInputStreamFv +/* 800744FC 0007145C D0 3E 00 88 */ stfs f1, 0x88(r30) +/* 80074500 00071460 7F E3 FB 78 */ mr r3, r31 +/* 80074504 00071464 48 2C A7 25 */ bl ReadFloat__12CInputStreamFv +/* 80074508 00071468 D0 3E 00 8C */ stfs f1, 0x8c(r30) +/* 8007450C 0007146C 7F E3 FB 78 */ mr r3, r31 +/* 80074510 00071470 48 2C A7 19 */ bl ReadFloat__12CInputStreamFv +/* 80074514 00071474 D0 3E 00 90 */ stfs f1, 0x90(r30) +/* 80074518 00071478 7F E3 FB 78 */ mr r3, r31 +/* 8007451C 0007147C 48 2C A7 0D */ bl ReadFloat__12CInputStreamFv +/* 80074520 00071480 D0 3E 00 94 */ stfs f1, 0x94(r30) +/* 80074524 00071484 7F E3 FB 78 */ mr r3, r31 +/* 80074528 00071488 48 2C A7 01 */ bl ReadFloat__12CInputStreamFv +/* 8007452C 0007148C D0 3E 00 98 */ stfs f1, 0x98(r30) +/* 80074530 00071490 7F E3 FB 78 */ mr r3, r31 +/* 80074534 00071494 48 2C A6 F5 */ bl ReadFloat__12CInputStreamFv +/* 80074538 00071498 D0 3E 00 9C */ stfs f1, 0x9c(r30) +/* 8007453C 0007149C 7F E3 FB 78 */ mr r3, r31 +/* 80074540 000714A0 48 2C A6 E9 */ bl ReadFloat__12CInputStreamFv +/* 80074544 000714A4 D0 3E 00 A0 */ stfs f1, 0xa0(r30) +/* 80074548 000714A8 7F E3 FB 78 */ mr r3, r31 +/* 8007454C 000714AC 48 2C A6 DD */ bl ReadFloat__12CInputStreamFv +/* 80074550 000714B0 D0 3E 00 A4 */ stfs f1, 0xa4(r30) +/* 80074554 000714B4 7F E3 FB 78 */ mr r3, r31 +/* 80074558 000714B8 48 2C A7 2D */ bl ReadLong__12CInputStreamFv +/* 8007455C 000714BC 90 7E 00 A8 */ stw r3, 0xa8(r30) +/* 80074560 000714C0 7F E3 FB 78 */ mr r3, r31 +/* 80074564 000714C4 48 2C A7 21 */ bl ReadLong__12CInputStreamFv +/* 80074568 000714C8 90 7E 00 AC */ stw r3, 0xac(r30) +/* 8007456C 000714CC 7F E3 FB 78 */ mr r3, r31 +/* 80074570 000714D0 48 2C A7 15 */ bl ReadLong__12CInputStreamFv +/* 80074574 000714D4 90 7E 00 B0 */ stw r3, 0xb0(r30) +/* 80074578 000714D8 7F E3 FB 78 */ mr r3, r31 +/* 8007457C 000714DC 48 2C A6 AD */ bl ReadFloat__12CInputStreamFv +/* 80074580 000714E0 D0 3E 00 B4 */ stfs f1, 0xb4(r30) +/* 80074584 000714E4 7F E3 FB 78 */ mr r3, r31 +/* 80074588 000714E8 48 2C A6 A1 */ bl ReadFloat__12CInputStreamFv +/* 8007458C 000714EC D0 3E 00 B8 */ stfs f1, 0xb8(r30) +/* 80074590 000714F0 7F E3 FB 78 */ mr r3, r31 +/* 80074594 000714F4 48 2C A6 95 */ bl ReadFloat__12CInputStreamFv +/* 80074598 000714F8 D0 3E 00 BC */ stfs f1, 0xbc(r30) +/* 8007459C 000714FC 7F E3 FB 78 */ mr r3, r31 +/* 800745A0 00071500 48 2C A6 89 */ bl ReadFloat__12CInputStreamFv +/* 800745A4 00071504 D0 3E 00 C0 */ stfs f1, 0xc0(r30) +/* 800745A8 00071508 7F E3 FB 78 */ mr r3, r31 +/* 800745AC 0007150C 48 2C A6 7D */ bl ReadFloat__12CInputStreamFv +/* 800745B0 00071510 D0 3E 00 C4 */ stfs f1, 0xc4(r30) +/* 800745B4 00071514 7F E3 FB 78 */ mr r3, r31 +/* 800745B8 00071518 48 2C A6 71 */ bl ReadFloat__12CInputStreamFv +/* 800745BC 0007151C D0 3E 00 C8 */ stfs f1, 0xc8(r30) +/* 800745C0 00071520 7F E3 FB 78 */ mr r3, r31 +/* 800745C4 00071524 48 2C A6 65 */ bl ReadFloat__12CInputStreamFv +/* 800745C8 00071528 D0 3E 00 CC */ stfs f1, 0xcc(r30) +/* 800745CC 0007152C 7F E3 FB 78 */ mr r3, r31 +/* 800745D0 00071530 48 2C A6 59 */ bl ReadFloat__12CInputStreamFv +/* 800745D4 00071534 D0 3E 00 D0 */ stfs f1, 0xd0(r30) +/* 800745D8 00071538 7F E3 FB 78 */ mr r3, r31 +/* 800745DC 0007153C 48 2C A6 A9 */ bl ReadLong__12CInputStreamFv +/* 800745E0 00071540 90 7E 00 D4 */ stw r3, 0xd4(r30) +/* 800745E4 00071544 7F E3 FB 78 */ mr r3, r31 +/* 800745E8 00071548 48 2C A6 41 */ bl ReadFloat__12CInputStreamFv +/* 800745EC 0007154C C0 02 88 90 */ lfs f0, lbl_805AA5B0@sda21(r2) +/* 800745F0 00071550 7F E3 FB 78 */ mr r3, r31 +/* 800745F4 00071554 C0 42 88 8C */ lfs f2, lbl_805AA5AC@sda21(r2) +/* 800745F8 00071558 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800745FC 0007155C EC 02 00 32 */ fmuls f0, f2, f0 +/* 80074600 00071560 D0 1E 00 D8 */ stfs f0, 0xd8(r30) +/* 80074604 00071564 48 2C A6 25 */ bl ReadFloat__12CInputStreamFv +/* 80074608 00071568 C0 02 88 90 */ lfs f0, lbl_805AA5B0@sda21(r2) +/* 8007460C 0007156C 7F E3 FB 78 */ mr r3, r31 +/* 80074610 00071570 C0 42 88 8C */ lfs f2, lbl_805AA5AC@sda21(r2) +/* 80074614 00071574 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80074618 00071578 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8007461C 0007157C D0 1E 00 DC */ stfs f0, 0xdc(r30) +/* 80074620 00071580 48 2C A6 09 */ bl ReadFloat__12CInputStreamFv +/* 80074624 00071584 D0 3E 00 E0 */ stfs f1, 0xe0(r30) +/* 80074628 00071588 7F E3 FB 78 */ mr r3, r31 +/* 8007462C 0007158C 48 2C A5 FD */ bl ReadFloat__12CInputStreamFv +/* 80074630 00071590 D0 3E 00 E4 */ stfs f1, 0xe4(r30) +/* 80074634 00071594 7F E3 FB 78 */ mr r3, r31 +/* 80074638 00071598 48 2C A5 F1 */ bl ReadFloat__12CInputStreamFv +/* 8007463C 0007159C D0 3E 00 E8 */ stfs f1, 0xe8(r30) +/* 80074640 000715A0 7F E3 FB 78 */ mr r3, r31 +/* 80074644 000715A4 48 2C A5 E5 */ bl ReadFloat__12CInputStreamFv +/* 80074648 000715A8 D0 3E 00 EC */ stfs f1, 0xec(r30) +/* 8007464C 000715AC 7F E3 FB 78 */ mr r3, r31 +/* 80074650 000715B0 48 2C A5 D9 */ bl ReadFloat__12CInputStreamFv +/* 80074654 000715B4 D0 3E 00 F0 */ stfs f1, 0xf0(r30) +/* 80074658 000715B8 7F E3 FB 78 */ mr r3, r31 +/* 8007465C 000715BC 48 2C A5 CD */ bl ReadFloat__12CInputStreamFv +/* 80074660 000715C0 D0 3E 00 F4 */ stfs f1, 0xf4(r30) +/* 80074664 000715C4 7F E3 FB 78 */ mr r3, r31 +/* 80074668 000715C8 48 2C A6 1D */ bl ReadLong__12CInputStreamFv +/* 8007466C 000715CC 90 7E 00 F8 */ stw r3, 0xf8(r30) +/* 80074670 000715D0 7F E3 FB 78 */ mr r3, r31 +/* 80074674 000715D4 48 2C A6 11 */ bl ReadLong__12CInputStreamFv +/* 80074678 000715D8 90 7E 00 FC */ stw r3, 0xfc(r30) +/* 8007467C 000715DC 7F E3 FB 78 */ mr r3, r31 +/* 80074680 000715E0 48 2C A6 05 */ bl ReadLong__12CInputStreamFv +/* 80074684 000715E4 90 7E 01 00 */ stw r3, 0x100(r30) +/* 80074688 000715E8 7F E3 FB 78 */ mr r3, r31 +/* 8007468C 000715EC 48 2C A5 F9 */ bl ReadLong__12CInputStreamFv +/* 80074690 000715F0 90 7E 01 04 */ stw r3, 0x104(r30) +/* 80074694 000715F4 7F E3 FB 78 */ mr r3, r31 +/* 80074698 000715F8 48 2C A5 ED */ bl ReadLong__12CInputStreamFv +/* 8007469C 000715FC 90 7E 01 08 */ stw r3, 0x108(r30) +/* 800746A0 00071600 7F E3 FB 78 */ mr r3, r31 +/* 800746A4 00071604 48 2C A5 E1 */ bl ReadLong__12CInputStreamFv +/* 800746A8 00071608 90 7E 01 0C */ stw r3, 0x10c(r30) +/* 800746AC 0007160C 7F E3 FB 78 */ mr r3, r31 +/* 800746B0 00071610 48 2C A5 79 */ bl ReadFloat__12CInputStreamFv +/* 800746B4 00071614 D0 3E 01 10 */ stfs f1, 0x110(r30) +/* 800746B8 00071618 7F E3 FB 78 */ mr r3, r31 +/* 800746BC 0007161C 48 2C A5 6D */ bl ReadFloat__12CInputStreamFv +/* 800746C0 00071620 D0 3E 01 14 */ stfs f1, 0x114(r30) +/* 800746C4 00071624 7F E3 FB 78 */ mr r3, r31 +/* 800746C8 00071628 48 2C A5 61 */ bl ReadFloat__12CInputStreamFv +/* 800746CC 0007162C D0 3E 01 18 */ stfs f1, 0x118(r30) +/* 800746D0 00071630 7F E3 FB 78 */ mr r3, r31 +/* 800746D4 00071634 48 2C A5 55 */ bl ReadFloat__12CInputStreamFv +/* 800746D8 00071638 D0 3E 01 1C */ stfs f1, 0x11c(r30) +/* 800746DC 0007163C 7F E3 FB 78 */ mr r3, r31 +/* 800746E0 00071640 48 2C A5 49 */ bl ReadFloat__12CInputStreamFv +/* 800746E4 00071644 D0 3E 01 20 */ stfs f1, 0x120(r30) +/* 800746E8 00071648 7F E3 FB 78 */ mr r3, r31 +/* 800746EC 0007164C 48 2C A5 3D */ bl ReadFloat__12CInputStreamFv +/* 800746F0 00071650 D0 3E 01 24 */ stfs f1, 0x124(r30) +/* 800746F4 00071654 7F E3 FB 78 */ mr r3, r31 +/* 800746F8 00071658 48 2C A5 31 */ bl ReadFloat__12CInputStreamFv +/* 800746FC 0007165C D0 3E 01 28 */ stfs f1, 0x128(r30) +/* 80074700 00071660 7F E3 FB 78 */ mr r3, r31 +/* 80074704 00071664 48 2C A5 25 */ bl ReadFloat__12CInputStreamFv +/* 80074708 00071668 D0 3E 01 2C */ stfs f1, 0x12c(r30) +/* 8007470C 0007166C 7F E3 FB 78 */ mr r3, r31 +/* 80074710 00071670 48 2C A5 CD */ bl ReadBool__12CInputStreamFv +/* 80074714 00071674 98 7E 01 30 */ stb r3, 0x130(r30) +/* 80074718 00071678 7F E3 FB 78 */ mr r3, r31 +/* 8007471C 0007167C 48 2C A5 0D */ bl ReadFloat__12CInputStreamFv +/* 80074720 00071680 D0 3E 01 34 */ stfs f1, 0x134(r30) +/* 80074724 00071684 7F E3 FB 78 */ mr r3, r31 +/* 80074728 00071688 48 2C A5 01 */ bl ReadFloat__12CInputStreamFv +/* 8007472C 0007168C D0 3E 01 38 */ stfs f1, 0x138(r30) +/* 80074730 00071690 7F E3 FB 78 */ mr r3, r31 +/* 80074734 00071694 48 2C A5 51 */ bl ReadLong__12CInputStreamFv +/* 80074738 00071698 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8007473C 0007169C 3C 00 43 30 */ lis r0, 0x4330 +/* 80074740 000716A0 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80074744 000716A4 7F E3 FB 78 */ mr r3, r31 +/* 80074748 000716A8 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) +/* 8007474C 000716AC 90 01 00 38 */ stw r0, 0x38(r1) +/* 80074750 000716B0 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 80074754 000716B4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80074758 000716B8 D0 1E 01 3C */ stfs f0, 0x13c(r30) +/* 8007475C 000716BC 48 2C A5 29 */ bl ReadLong__12CInputStreamFv +/* 80074760 000716C0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80074764 000716C4 3C 00 43 30 */ lis r0, 0x4330 +/* 80074768 000716C8 90 61 00 44 */ stw r3, 0x44(r1) +/* 8007476C 000716CC 7F E3 FB 78 */ mr r3, r31 +/* 80074770 000716D0 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) +/* 80074774 000716D4 90 01 00 40 */ stw r0, 0x40(r1) +/* 80074778 000716D8 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 8007477C 000716DC EC 00 08 28 */ fsubs f0, f0, f1 +/* 80074780 000716E0 D0 1E 01 40 */ stfs f0, 0x140(r30) +/* 80074784 000716E4 48 2C A5 01 */ bl ReadLong__12CInputStreamFv +/* 80074788 000716E8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8007478C 000716EC 3C 00 43 30 */ lis r0, 0x4330 +/* 80074790 000716F0 90 61 00 4C */ stw r3, 0x4c(r1) +/* 80074794 000716F4 7F E3 FB 78 */ mr r3, r31 +/* 80074798 000716F8 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) +/* 8007479C 000716FC 90 01 00 48 */ stw r0, 0x48(r1) +/* 800747A0 00071700 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 800747A4 00071704 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800747A8 00071708 D0 1E 01 44 */ stfs f0, 0x144(r30) +/* 800747AC 0007170C 48 2C A4 D9 */ bl ReadLong__12CInputStreamFv +/* 800747B0 00071710 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 800747B4 00071714 3C 00 43 30 */ lis r0, 0x4330 +/* 800747B8 00071718 90 61 00 54 */ stw r3, 0x54(r1) +/* 800747BC 0007171C 7F E3 FB 78 */ mr r3, r31 +/* 800747C0 00071720 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) +/* 800747C4 00071724 90 01 00 50 */ stw r0, 0x50(r1) +/* 800747C8 00071728 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 800747CC 0007172C EC 00 08 28 */ fsubs f0, f0, f1 +/* 800747D0 00071730 D0 1E 01 48 */ stfs f0, 0x148(r30) +/* 800747D4 00071734 48 2C A4 B1 */ bl ReadLong__12CInputStreamFv +/* 800747D8 00071738 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 800747DC 0007173C 3C 00 43 30 */ lis r0, 0x4330 +/* 800747E0 00071740 90 61 00 5C */ stw r3, 0x5c(r1) +/* 800747E4 00071744 7F E4 FB 78 */ mr r4, r31 +/* 800747E8 00071748 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) +/* 800747EC 0007174C 38 7E 01 50 */ addi r3, r30, 0x150 +/* 800747F0 00071750 90 01 00 58 */ stw r0, 0x58(r1) +/* 800747F4 00071754 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800747F8 00071758 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 800747FC 0007175C EC 00 08 28 */ fsubs f0, f0, f1 +/* 80074800 00071760 D0 1E 01 4C */ stfs f0, 0x14c(r30) +/* 80074804 00071764 48 2C 9A F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074808 00071768 7F E4 FB 78 */ mr r4, r31 +/* 8007480C 0007176C 38 7E 01 60 */ addi r3, r30, 0x160 +/* 80074810 00071770 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80074814 00071774 48 2C 9A E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074818 00071778 7F E4 FB 78 */ mr r4, r31 +/* 8007481C 0007177C 38 7E 01 70 */ addi r3, r30, 0x170 +/* 80074820 00071780 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80074824 00071784 48 2C 9A D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074828 00071788 7F E4 FB 78 */ mr r4, r31 +/* 8007482C 0007178C 38 7E 01 80 */ addi r3, r30, 0x180 +/* 80074830 00071790 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80074834 00071794 48 2C 9A C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074838 00071798 7F E4 FB 78 */ mr r4, r31 +/* 8007483C 0007179C 38 7E 01 90 */ addi r3, r30, 0x190 +/* 80074840 000717A0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80074844 000717A4 48 2C 9A B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074848 000717A8 7F E3 FB 78 */ mr r3, r31 +/* 8007484C 000717AC 48 2C A3 DD */ bl ReadFloat__12CInputStreamFv +/* 80074850 000717B0 D0 3E 01 A0 */ stfs f1, 0x1a0(r30) +/* 80074854 000717B4 7F E3 FB 78 */ mr r3, r31 +/* 80074858 000717B8 48 2C A3 D1 */ bl ReadFloat__12CInputStreamFv +/* 8007485C 000717BC D0 3E 01 A4 */ stfs f1, 0x1a4(r30) +/* 80074860 000717C0 7F E3 FB 78 */ mr r3, r31 +/* 80074864 000717C4 48 2C A3 C5 */ bl ReadFloat__12CInputStreamFv +/* 80074868 000717C8 D0 3E 01 A8 */ stfs f1, 0x1a8(r30) +/* 8007486C 000717CC 7F E3 FB 78 */ mr r3, r31 +/* 80074870 000717D0 48 2C A3 B9 */ bl ReadFloat__12CInputStreamFv +/* 80074874 000717D4 D0 3E 01 AC */ stfs f1, 0x1ac(r30) +/* 80074878 000717D8 7F E3 FB 78 */ mr r3, r31 +/* 8007487C 000717DC 48 2C A3 AD */ bl ReadFloat__12CInputStreamFv +/* 80074880 000717E0 D0 3E 01 B0 */ stfs f1, 0x1b0(r30) +/* 80074884 000717E4 7F E3 FB 78 */ mr r3, r31 +/* 80074888 000717E8 48 2C A3 A1 */ bl ReadFloat__12CInputStreamFv +/* 8007488C 000717EC D0 3E 01 B4 */ stfs f1, 0x1b4(r30) +/* 80074890 000717F0 7F E3 FB 78 */ mr r3, r31 +/* 80074894 000717F4 48 2C A3 95 */ bl ReadFloat__12CInputStreamFv +/* 80074898 000717F8 D0 3E 01 B8 */ stfs f1, 0x1b8(r30) +/* 8007489C 000717FC 7F E3 FB 78 */ mr r3, r31 +/* 800748A0 00071800 48 2C A3 89 */ bl ReadFloat__12CInputStreamFv +/* 800748A4 00071804 D0 3E 01 BC */ stfs f1, 0x1bc(r30) +/* 800748A8 00071808 7F E3 FB 78 */ mr r3, r31 +/* 800748AC 0007180C 48 2C A3 7D */ bl ReadFloat__12CInputStreamFv +/* 800748B0 00071810 D0 3E 01 C0 */ stfs f1, 0x1c0(r30) +/* 800748B4 00071814 7F E3 FB 78 */ mr r3, r31 +/* 800748B8 00071818 48 2C A3 71 */ bl ReadFloat__12CInputStreamFv +/* 800748BC 0007181C D0 3E 01 C4 */ stfs f1, 0x1c4(r30) +/* 800748C0 00071820 7F E3 FB 78 */ mr r3, r31 +/* 800748C4 00071824 48 2C A3 65 */ bl ReadFloat__12CInputStreamFv +/* 800748C8 00071828 D0 3E 01 C8 */ stfs f1, 0x1c8(r30) +/* 800748CC 0007182C 7F E3 FB 78 */ mr r3, r31 +/* 800748D0 00071830 48 2C A4 0D */ bl ReadBool__12CInputStreamFv +/* 800748D4 00071834 98 7E 01 CC */ stb r3, 0x1cc(r30) +/* 800748D8 00071838 7F E3 FB 78 */ mr r3, r31 +/* 800748DC 0007183C 48 2C A4 01 */ bl ReadBool__12CInputStreamFv +/* 800748E0 00071840 98 7E 01 CD */ stb r3, 0x1cd(r30) +/* 800748E4 00071844 7F E3 FB 78 */ mr r3, r31 +/* 800748E8 00071848 48 2C A3 41 */ bl ReadFloat__12CInputStreamFv +/* 800748EC 0007184C D0 3E 01 D0 */ stfs f1, 0x1d0(r30) +/* 800748F0 00071850 7F E3 FB 78 */ mr r3, r31 +/* 800748F4 00071854 48 2C A3 35 */ bl ReadFloat__12CInputStreamFv +/* 800748F8 00071858 D0 3E 01 D4 */ stfs f1, 0x1d4(r30) +/* 800748FC 0007185C 7F E3 FB 78 */ mr r3, r31 +/* 80074900 00071860 48 2C A3 29 */ bl ReadFloat__12CInputStreamFv +/* 80074904 00071864 D0 3E 01 D8 */ stfs f1, 0x1d8(r30) +/* 80074908 00071868 7F E3 FB 78 */ mr r3, r31 +/* 8007490C 0007186C 48 2C A3 1D */ bl ReadFloat__12CInputStreamFv +/* 80074910 00071870 D0 3E 01 DC */ stfs f1, 0x1dc(r30) +/* 80074914 00071874 7F E3 FB 78 */ mr r3, r31 +/* 80074918 00071878 48 2C A3 11 */ bl ReadFloat__12CInputStreamFv +/* 8007491C 0007187C D0 3E 01 E0 */ stfs f1, 0x1e0(r30) +/* 80074920 00071880 7F E3 FB 78 */ mr r3, r31 +/* 80074924 00071884 48 2C A3 05 */ bl ReadFloat__12CInputStreamFv +/* 80074928 00071888 D0 3E 01 E4 */ stfs f1, 0x1e4(r30) +/* 8007492C 0007188C 7F E3 FB 78 */ mr r3, r31 +/* 80074930 00071890 48 2C A2 F9 */ bl ReadFloat__12CInputStreamFv +/* 80074934 00071894 D0 3E 01 E8 */ stfs f1, 0x1e8(r30) +/* 80074938 00071898 7F E3 FB 78 */ mr r3, r31 +/* 8007493C 0007189C 48 2C A2 ED */ bl ReadFloat__12CInputStreamFv +/* 80074940 000718A0 D0 3E 01 EC */ stfs f1, 0x1ec(r30) +/* 80074944 000718A4 7F E3 FB 78 */ mr r3, r31 +/* 80074948 000718A8 48 2C A2 E1 */ bl ReadFloat__12CInputStreamFv +/* 8007494C 000718AC D0 3E 01 F0 */ stfs f1, 0x1f0(r30) +/* 80074950 000718B0 7F E3 FB 78 */ mr r3, r31 +/* 80074954 000718B4 48 2C A2 D5 */ bl ReadFloat__12CInputStreamFv +/* 80074958 000718B8 D0 3E 01 F4 */ stfs f1, 0x1f4(r30) +/* 8007495C 000718BC 7F E3 FB 78 */ mr r3, r31 +/* 80074960 000718C0 48 2C A2 C9 */ bl ReadFloat__12CInputStreamFv +/* 80074964 000718C4 D0 3E 01 F8 */ stfs f1, 0x1f8(r30) +/* 80074968 000718C8 7F E3 FB 78 */ mr r3, r31 +/* 8007496C 000718CC 48 2C A2 BD */ bl ReadFloat__12CInputStreamFv +/* 80074970 000718D0 D0 3E 01 FC */ stfs f1, 0x1fc(r30) +/* 80074974 000718D4 38 7E 02 00 */ addi r3, r30, 0x200 +/* 80074978 000718D8 C0 62 88 94 */ lfs f3, lbl_805AA5B4@sda21(r2) +/* 8007497C 000718DC C0 3E 01 F4 */ lfs f1, 0x1f4(r30) +/* 80074980 000718E0 C0 5E 01 F8 */ lfs f2, 0x1f8(r30) +/* 80074984 000718E4 C0 1E 01 FC */ lfs f0, 0x1fc(r30) +/* 80074988 000718E8 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8007498C 000718EC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80074990 000718F0 C0 82 88 78 */ lfs f4, lbl_805AA598@sda21(r2) +/* 80074994 000718F4 EC 63 00 32 */ fmuls f3, f3, f0 +/* 80074998 000718F8 48 2E EA 55 */ bl __ct__6CColorFffff +/* 8007499C 000718FC C0 22 88 98 */ lfs f1, lbl_805AA5B8@sda21(r2) +/* 800749A0 00071900 7F E3 FB 78 */ mr r3, r31 +/* 800749A4 00071904 C0 02 88 9C */ lfs f0, lbl_805AA5BC@sda21(r2) +/* 800749A8 00071908 D0 3E 02 04 */ stfs f1, 0x204(r30) +/* 800749AC 0007190C D0 1E 02 08 */ stfs f0, 0x208(r30) +/* 800749B0 00071910 48 2C A2 79 */ bl ReadFloat__12CInputStreamFv +/* 800749B4 00071914 D0 3E 02 0C */ stfs f1, 0x20c(r30) +/* 800749B8 00071918 7F E3 FB 78 */ mr r3, r31 +/* 800749BC 0007191C 48 2C A2 6D */ bl ReadFloat__12CInputStreamFv +/* 800749C0 00071920 C0 02 88 90 */ lfs f0, lbl_805AA5B0@sda21(r2) +/* 800749C4 00071924 7F E3 FB 78 */ mr r3, r31 +/* 800749C8 00071928 C0 42 88 8C */ lfs f2, lbl_805AA5AC@sda21(r2) +/* 800749CC 0007192C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800749D0 00071930 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800749D4 00071934 D0 1E 02 10 */ stfs f0, 0x210(r30) +/* 800749D8 00071938 48 2C A2 51 */ bl ReadFloat__12CInputStreamFv +/* 800749DC 0007193C D0 3E 02 14 */ stfs f1, 0x214(r30) +/* 800749E0 00071940 7F E3 FB 78 */ mr r3, r31 +/* 800749E4 00071944 48 2C A2 45 */ bl ReadFloat__12CInputStreamFv +/* 800749E8 00071948 D0 3E 02 18 */ stfs f1, 0x218(r30) +/* 800749EC 0007194C 7F E3 FB 78 */ mr r3, r31 +/* 800749F0 00071950 48 2C A2 39 */ bl ReadFloat__12CInputStreamFv +/* 800749F4 00071954 D0 3E 02 1C */ stfs f1, 0x21c(r30) +/* 800749F8 00071958 7F E3 FB 78 */ mr r3, r31 +/* 800749FC 0007195C 48 2C A2 2D */ bl ReadFloat__12CInputStreamFv +/* 80074A00 00071960 D0 3E 02 20 */ stfs f1, 0x220(r30) +/* 80074A04 00071964 7F E3 FB 78 */ mr r3, r31 +/* 80074A08 00071968 48 2C A2 21 */ bl ReadFloat__12CInputStreamFv +/* 80074A0C 0007196C D0 3E 02 24 */ stfs f1, 0x224(r30) +/* 80074A10 00071970 7F E3 FB 78 */ mr r3, r31 +/* 80074A14 00071974 C0 3E 02 20 */ lfs f1, 0x220(r30) +/* 80074A18 00071978 C0 1E 02 24 */ lfs f0, 0x224(r30) +/* 80074A1C 0007197C EC 01 00 2A */ fadds f0, f1, f0 +/* 80074A20 00071980 D0 1E 02 28 */ stfs f0, 0x228(r30) +/* 80074A24 00071984 48 2C A2 05 */ bl ReadFloat__12CInputStreamFv +/* 80074A28 00071988 D0 3E 02 2C */ stfs f1, 0x22c(r30) +/* 80074A2C 0007198C 7F E3 FB 78 */ mr r3, r31 +/* 80074A30 00071990 48 2C A1 F9 */ bl ReadFloat__12CInputStreamFv +/* 80074A34 00071994 D0 3E 02 30 */ stfs f1, 0x230(r30) +/* 80074A38 00071998 7F E3 FB 78 */ mr r3, r31 +/* 80074A3C 0007199C 48 2C A1 ED */ bl ReadFloat__12CInputStreamFv +/* 80074A40 000719A0 D0 3E 02 34 */ stfs f1, 0x234(r30) +/* 80074A44 000719A4 7F E3 FB 78 */ mr r3, r31 +/* 80074A48 000719A8 48 2C A1 E1 */ bl ReadFloat__12CInputStreamFv +/* 80074A4C 000719AC D0 3E 02 38 */ stfs f1, 0x238(r30) +/* 80074A50 000719B0 7F E3 FB 78 */ mr r3, r31 +/* 80074A54 000719B4 48 2C A1 D5 */ bl ReadFloat__12CInputStreamFv +/* 80074A58 000719B8 D0 3E 02 3C */ stfs f1, 0x23c(r30) +/* 80074A5C 000719BC 7F E3 FB 78 */ mr r3, r31 +/* 80074A60 000719C0 48 2C A1 C9 */ bl ReadFloat__12CInputStreamFv +/* 80074A64 000719C4 D0 3E 02 40 */ stfs f1, 0x240(r30) +/* 80074A68 000719C8 7F E3 FB 78 */ mr r3, r31 +/* 80074A6C 000719CC 48 2C A1 BD */ bl ReadFloat__12CInputStreamFv +/* 80074A70 000719D0 D0 3E 02 44 */ stfs f1, 0x244(r30) +/* 80074A74 000719D4 7F E3 FB 78 */ mr r3, r31 +/* 80074A78 000719D8 48 2C A1 B1 */ bl ReadFloat__12CInputStreamFv +/* 80074A7C 000719DC D0 3E 02 48 */ stfs f1, 0x248(r30) +/* 80074A80 000719E0 7F E3 FB 78 */ mr r3, r31 +/* 80074A84 000719E4 48 2C A1 A5 */ bl ReadFloat__12CInputStreamFv +/* 80074A88 000719E8 D0 3E 02 4C */ stfs f1, 0x24c(r30) +/* 80074A8C 000719EC 7F E3 FB 78 */ mr r3, r31 +/* 80074A90 000719F0 48 2C A1 99 */ bl ReadFloat__12CInputStreamFv +/* 80074A94 000719F4 D0 3E 02 50 */ stfs f1, 0x250(r30) +/* 80074A98 000719F8 7F E3 FB 78 */ mr r3, r31 +/* 80074A9C 000719FC 48 2C A1 8D */ bl ReadFloat__12CInputStreamFv +/* 80074AA0 00071A00 D0 3E 02 54 */ stfs f1, 0x254(r30) +/* 80074AA4 00071A04 7F E3 FB 78 */ mr r3, r31 +/* 80074AA8 00071A08 48 2C A1 81 */ bl ReadFloat__12CInputStreamFv +/* 80074AAC 00071A0C D0 3E 02 58 */ stfs f1, 0x258(r30) +/* 80074AB0 00071A10 7F E3 FB 78 */ mr r3, r31 +/* 80074AB4 00071A14 48 2C A1 75 */ bl ReadFloat__12CInputStreamFv +/* 80074AB8 00071A18 D0 3E 02 5C */ stfs f1, 0x25c(r30) +/* 80074ABC 00071A1C 7F E3 FB 78 */ mr r3, r31 +/* 80074AC0 00071A20 48 2C A1 69 */ bl ReadFloat__12CInputStreamFv +/* 80074AC4 00071A24 D0 3E 02 60 */ stfs f1, 0x260(r30) +/* 80074AC8 00071A28 7F E3 FB 78 */ mr r3, r31 +/* 80074ACC 00071A2C 48 2C A1 5D */ bl ReadFloat__12CInputStreamFv +/* 80074AD0 00071A30 D0 3E 02 64 */ stfs f1, 0x264(r30) +/* 80074AD4 00071A34 7F E3 FB 78 */ mr r3, r31 +/* 80074AD8 00071A38 48 2C A1 51 */ bl ReadFloat__12CInputStreamFv +/* 80074ADC 00071A3C D0 3E 02 68 */ stfs f1, 0x268(r30) +/* 80074AE0 00071A40 7F E3 FB 78 */ mr r3, r31 +/* 80074AE4 00071A44 48 2C A1 45 */ bl ReadFloat__12CInputStreamFv +/* 80074AE8 00071A48 D0 3E 02 6C */ stfs f1, 0x26c(r30) +/* 80074AEC 00071A4C 7F E3 FB 78 */ mr r3, r31 +/* 80074AF0 00071A50 48 2C A1 39 */ bl ReadFloat__12CInputStreamFv +/* 80074AF4 00071A54 D0 3E 02 70 */ stfs f1, 0x270(r30) +/* 80074AF8 00071A58 7F E3 FB 78 */ mr r3, r31 +/* 80074AFC 00071A5C 48 2C A1 E1 */ bl ReadBool__12CInputStreamFv +/* 80074B00 00071A60 98 7E 02 74 */ stb r3, 0x274(r30) +/* 80074B04 00071A64 38 00 00 01 */ li r0, 1 +/* 80074B08 00071A68 7F E3 FB 78 */ mr r3, r31 +/* 80074B0C 00071A6C 98 1E 02 75 */ stb r0, 0x275(r30) +/* 80074B10 00071A70 48 2C A1 19 */ bl ReadFloat__12CInputStreamFv +/* 80074B14 00071A74 D0 3E 02 78 */ stfs f1, 0x278(r30) +/* 80074B18 00071A78 7F E3 FB 78 */ mr r3, r31 +/* 80074B1C 00071A7C 48 2C A1 69 */ bl ReadLong__12CInputStreamFv +/* 80074B20 00071A80 2C 03 00 02 */ cmpwi r3, 2 +/* 80074B24 00071A84 41 82 00 34 */ beq lbl_80074B58 +/* 80074B28 00071A88 40 80 00 14 */ bge lbl_80074B3C +/* 80074B2C 00071A8C 2C 03 00 00 */ cmpwi r3, 0 +/* 80074B30 00071A90 41 82 00 18 */ beq lbl_80074B48 +/* 80074B34 00071A94 40 80 00 1C */ bge lbl_80074B50 +/* 80074B38 00071A98 48 00 00 30 */ b lbl_80074B68 +lbl_80074B3C: +/* 80074B3C 00071A9C 2C 03 00 04 */ cmpwi r3, 4 +/* 80074B40 00071AA0 40 80 00 28 */ bge lbl_80074B68 +/* 80074B44 00071AA4 48 00 00 1C */ b lbl_80074B60 +lbl_80074B48: +/* 80074B48 00071AA8 38 00 00 00 */ li r0, 0 +/* 80074B4C 00071AAC 48 00 00 20 */ b lbl_80074B6C +lbl_80074B50: +/* 80074B50 00071AB0 38 00 00 02 */ li r0, 2 +/* 80074B54 00071AB4 48 00 00 18 */ b lbl_80074B6C +lbl_80074B58: +/* 80074B58 00071AB8 38 00 00 04 */ li r0, 4 +/* 80074B5C 00071ABC 48 00 00 10 */ b lbl_80074B6C +lbl_80074B60: +/* 80074B60 00071AC0 38 00 00 05 */ li r0, 5 +/* 80074B64 00071AC4 48 00 00 08 */ b lbl_80074B6C +lbl_80074B68: +/* 80074B68 00071AC8 38 00 00 00 */ li r0, 0 +lbl_80074B6C: +/* 80074B6C 00071ACC 90 1E 02 7C */ stw r0, 0x27c(r30) +/* 80074B70 00071AD0 7F E3 FB 78 */ mr r3, r31 +/* 80074B74 00071AD4 48 2C A0 B5 */ bl ReadFloat__12CInputStreamFv +/* 80074B78 00071AD8 D0 3E 02 80 */ stfs f1, 0x280(r30) +/* 80074B7C 00071ADC 7F E3 FB 78 */ mr r3, r31 +/* 80074B80 00071AE0 48 2C A0 A9 */ bl ReadFloat__12CInputStreamFv +/* 80074B84 00071AE4 D0 3E 02 84 */ stfs f1, 0x284(r30) +/* 80074B88 00071AE8 7F E4 FB 78 */ mr r4, r31 +/* 80074B8C 00071AEC 38 7E 02 88 */ addi r3, r30, 0x288 +/* 80074B90 00071AF0 48 2E E8 BD */ bl __ct__6CColorFR12CInputStream +/* 80074B94 00071AF4 7F E3 FB 78 */ mr r3, r31 +/* 80074B98 00071AF8 48 2C A0 91 */ bl ReadFloat__12CInputStreamFv +/* 80074B9C 00071AFC D0 3E 02 8C */ stfs f1, 0x28c(r30) +/* 80074BA0 00071B00 7F E4 FB 78 */ mr r4, r31 +/* 80074BA4 00071B04 38 7E 02 90 */ addi r3, r30, 0x290 +/* 80074BA8 00071B08 48 2E E8 A5 */ bl __ct__6CColorFR12CInputStream +/* 80074BAC 00071B0C 7F E4 FB 78 */ mr r4, r31 +/* 80074BB0 00071B10 38 7E 02 94 */ addi r3, r30, 0x294 +/* 80074BB4 00071B14 48 2E E8 99 */ bl __ct__6CColorFR12CInputStream +/* 80074BB8 00071B18 7F E4 FB 78 */ mr r4, r31 +/* 80074BBC 00071B1C 38 7E 02 98 */ addi r3, r30, 0x298 +/* 80074BC0 00071B20 48 2E E8 8D */ bl __ct__6CColorFR12CInputStream +/* 80074BC4 00071B24 7F E4 FB 78 */ mr r4, r31 +/* 80074BC8 00071B28 38 7E 02 9C */ addi r3, r30, 0x29c +/* 80074BCC 00071B2C 48 2E E8 81 */ bl __ct__6CColorFR12CInputStream +/* 80074BD0 00071B30 7F E4 FB 78 */ mr r4, r31 +/* 80074BD4 00071B34 38 7E 02 A0 */ addi r3, r30, 0x2a0 +/* 80074BD8 00071B38 48 2E E8 75 */ bl __ct__6CColorFR12CInputStream +/* 80074BDC 00071B3C 7F E4 FB 78 */ mr r4, r31 +/* 80074BE0 00071B40 38 7E 02 A4 */ addi r3, r30, 0x2a4 +/* 80074BE4 00071B44 48 2E E8 69 */ bl __ct__6CColorFR12CInputStream +/* 80074BE8 00071B48 7F E4 FB 78 */ mr r4, r31 +/* 80074BEC 00071B4C 38 7E 02 A8 */ addi r3, r30, 0x2a8 +/* 80074BF0 00071B50 48 2E E8 5D */ bl __ct__6CColorFR12CInputStream +/* 80074BF4 00071B54 7F E4 FB 78 */ mr r4, r31 +/* 80074BF8 00071B58 38 7E 02 AC */ addi r3, r30, 0x2ac +/* 80074BFC 00071B5C 48 2E E8 51 */ bl __ct__6CColorFR12CInputStream +/* 80074C00 00071B60 7F E4 FB 78 */ mr r4, r31 +/* 80074C04 00071B64 38 7E 02 B0 */ addi r3, r30, 0x2b0 +/* 80074C08 00071B68 48 2E E8 45 */ bl __ct__6CColorFR12CInputStream +/* 80074C0C 00071B6C 7F E4 FB 78 */ mr r4, r31 +/* 80074C10 00071B70 38 7E 02 B4 */ addi r3, r30, 0x2b4 +/* 80074C14 00071B74 48 2E E8 39 */ bl __ct__6CColorFR12CInputStream +/* 80074C18 00071B78 7F E3 FB 78 */ mr r3, r31 +/* 80074C1C 00071B7C 48 2C A0 0D */ bl ReadFloat__12CInputStreamFv +/* 80074C20 00071B80 D0 3E 02 B8 */ stfs f1, 0x2b8(r30) +/* 80074C24 00071B84 7F E3 FB 78 */ mr r3, r31 +/* 80074C28 00071B88 48 2C A0 01 */ bl ReadFloat__12CInputStreamFv +/* 80074C2C 00071B8C D0 3E 02 BC */ stfs f1, 0x2bc(r30) +/* 80074C30 00071B90 7F E3 FB 78 */ mr r3, r31 +/* 80074C34 00071B94 48 2C 9F F5 */ bl ReadFloat__12CInputStreamFv +/* 80074C38 00071B98 D0 3E 02 C0 */ stfs f1, 0x2c0(r30) +/* 80074C3C 00071B9C 7F E3 FB 78 */ mr r3, r31 +/* 80074C40 00071BA0 48 2C A0 45 */ bl ReadLong__12CInputStreamFv +/* 80074C44 00071BA4 3B A0 00 00 */ li r29, 0 +/* 80074C48 00071BA8 90 7E 02 C4 */ stw r3, 0x2c4(r30) +/* 80074C4C 00071BAC 7F BC EB 78 */ mr r28, r29 +/* 80074C50 00071BB0 48 00 00 24 */ b lbl_80074C74 +lbl_80074C54: +/* 80074C54 00071BB4 7F E3 FB 78 */ mr r3, r31 +/* 80074C58 00071BB8 48 2C 9F D1 */ bl ReadFloat__12CInputStreamFv +/* 80074C5C 00071BBC 7C 7E E2 14 */ add r3, r30, r28 +/* 80074C60 00071BC0 34 63 02 C8 */ addic. r3, r3, 0x2c8 +/* 80074C64 00071BC4 41 82 00 08 */ beq lbl_80074C6C +/* 80074C68 00071BC8 D0 23 00 00 */ stfs f1, 0(r3) +lbl_80074C6C: +/* 80074C6C 00071BCC 3B 9C 00 04 */ addi r28, r28, 4 +/* 80074C70 00071BD0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80074C74: +/* 80074C74 00071BD4 80 1E 02 C4 */ lwz r0, 0x2c4(r30) +/* 80074C78 00071BD8 7C 1D 00 00 */ cmpw r29, r0 +/* 80074C7C 00071BDC 41 80 FF D8 */ blt lbl_80074C54 +/* 80074C80 00071BE0 7F E4 FB 78 */ mr r4, r31 +/* 80074C84 00071BE4 38 7E 02 D0 */ addi r3, r30, 0x2d0 +/* 80074C88 00071BE8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80074C8C 00071BEC 48 2C 96 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074C90 00071BF0 7F E4 FB 78 */ mr r4, r31 +/* 80074C94 00071BF4 38 7E 02 E0 */ addi r3, r30, 0x2e0 +/* 80074C98 00071BF8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80074C9C 00071BFC 48 2C 96 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074CA0 00071C00 7F E4 FB 78 */ mr r4, r31 +/* 80074CA4 00071C04 38 7E 02 F0 */ addi r3, r30, 0x2f0 +/* 80074CA8 00071C08 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80074CAC 00071C0C 48 2C 96 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074CB0 00071C10 7F E4 FB 78 */ mr r4, r31 +/* 80074CB4 00071C14 38 7E 03 00 */ addi r3, r30, 0x300 +/* 80074CB8 00071C18 48 2E E7 95 */ bl __ct__6CColorFR12CInputStream +/* 80074CBC 00071C1C 7F E4 FB 78 */ mr r4, r31 +/* 80074CC0 00071C20 38 7E 03 04 */ addi r3, r30, 0x304 +/* 80074CC4 00071C24 48 2E E7 89 */ bl __ct__6CColorFR12CInputStream +/* 80074CC8 00071C28 7F E3 FB 78 */ mr r3, r31 +/* 80074CCC 00071C2C 48 2C 9F 5D */ bl ReadFloat__12CInputStreamFv +/* 80074CD0 00071C30 D0 3E 03 08 */ stfs f1, 0x308(r30) +/* 80074CD4 00071C34 7F E3 FB 78 */ mr r3, r31 +/* 80074CD8 00071C38 48 2C 9F 51 */ bl ReadFloat__12CInputStreamFv +/* 80074CDC 00071C3C D0 3E 03 0C */ stfs f1, 0x30c(r30) +/* 80074CE0 00071C40 7F E3 FB 78 */ mr r3, r31 +/* 80074CE4 00071C44 48 2C 9F 45 */ bl ReadFloat__12CInputStreamFv +/* 80074CE8 00071C48 D0 3E 03 10 */ stfs f1, 0x310(r30) +/* 80074CEC 00071C4C 7F E4 FB 78 */ mr r4, r31 +/* 80074CF0 00071C50 38 7E 03 14 */ addi r3, r30, 0x314 +/* 80074CF4 00071C54 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80074CF8 00071C58 48 2C 96 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074CFC 00071C5C 7F E4 FB 78 */ mr r4, r31 +/* 80074D00 00071C60 38 7E 03 24 */ addi r3, r30, 0x324 +/* 80074D04 00071C64 38 A1 00 0C */ addi r5, r1, 0xc +/* 80074D08 00071C68 48 2C 95 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074D0C 00071C6C 7F E4 FB 78 */ mr r4, r31 +/* 80074D10 00071C70 38 7E 03 34 */ addi r3, r30, 0x334 +/* 80074D14 00071C74 38 A1 00 08 */ addi r5, r1, 8 +/* 80074D18 00071C78 48 2C 95 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80074D1C 00071C7C 7F E4 FB 78 */ mr r4, r31 +/* 80074D20 00071C80 38 7E 03 44 */ addi r3, r30, 0x344 +/* 80074D24 00071C84 48 2E E7 29 */ bl __ct__6CColorFR12CInputStream +/* 80074D28 00071C88 7F E4 FB 78 */ mr r4, r31 +/* 80074D2C 00071C8C 38 7E 03 48 */ addi r3, r30, 0x348 +/* 80074D30 00071C90 48 2E E7 1D */ bl __ct__6CColorFR12CInputStream +/* 80074D34 00071C94 7F E4 FB 78 */ mr r4, r31 +/* 80074D38 00071C98 38 7E 03 4C */ addi r3, r30, 0x34c +/* 80074D3C 00071C9C 48 2E E7 11 */ bl __ct__6CColorFR12CInputStream +/* 80074D40 00071CA0 7F E4 FB 78 */ mr r4, r31 +/* 80074D44 00071CA4 38 7E 03 50 */ addi r3, r30, 0x350 +/* 80074D48 00071CA8 48 2E E7 05 */ bl __ct__6CColorFR12CInputStream +/* 80074D4C 00071CAC 7F E4 FB 78 */ mr r4, r31 +/* 80074D50 00071CB0 38 7E 03 54 */ addi r3, r30, 0x354 +/* 80074D54 00071CB4 48 2E E6 F9 */ bl __ct__6CColorFR12CInputStream +/* 80074D58 00071CB8 7F E4 FB 78 */ mr r4, r31 +/* 80074D5C 00071CBC 38 7E 03 58 */ addi r3, r30, 0x358 +/* 80074D60 00071CC0 48 2E E6 ED */ bl __ct__6CColorFR12CInputStream +/* 80074D64 00071CC4 7F E3 FB 78 */ mr r3, r31 +/* 80074D68 00071CC8 48 2C 9E C1 */ bl ReadFloat__12CInputStreamFv +/* 80074D6C 00071CCC D0 3E 03 5C */ stfs f1, 0x35c(r30) +/* 80074D70 00071CD0 7F E3 FB 78 */ mr r3, r31 +/* 80074D74 00071CD4 48 2C 9E B5 */ bl ReadFloat__12CInputStreamFv +/* 80074D78 00071CD8 D0 3E 03 60 */ stfs f1, 0x360(r30) +/* 80074D7C 00071CDC 7F E3 FB 78 */ mr r3, r31 +/* 80074D80 00071CE0 48 2C 9E A9 */ bl ReadFloat__12CInputStreamFv +/* 80074D84 00071CE4 D0 3E 03 64 */ stfs f1, 0x364(r30) +/* 80074D88 00071CE8 7F C3 F3 78 */ mr r3, r30 +/* 80074D8C 00071CEC C0 02 88 A0 */ lfs f0, lbl_805AA5C0@sda21(r2) +/* 80074D90 00071CF0 C0 3E 00 84 */ lfs f1, 0x84(r30) +/* 80074D94 00071CF4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80074D98 00071CF8 D0 1E 00 84 */ stfs f0, 0x84(r30) +/* 80074D9C 00071CFC 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80074DA0 00071D00 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80074DA4 00071D04 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80074DA8 00071D08 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80074DAC 00071D0C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80074DB0 00071D10 7C 08 03 A6 */ mtlr r0 +/* 80074DB4 00071D14 38 21 00 70 */ addi r1, r1, 0x70 +/* 80074DB8 00071D18 4E 80 00 20 */ blr + +.global __dt__9CTweakGuiFv +__dt__9CTweakGuiFv: +/* 80074DBC 00071D1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80074DC0 00071D20 7C 08 02 A6 */ mflr r0 +/* 80074DC4 00071D24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80074DC8 00071D28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80074DCC 00071D2C 7C 9F 23 78 */ mr r31, r4 +/* 80074DD0 00071D30 93 C1 00 08 */ stw r30, 8(r1) +/* 80074DD4 00071D34 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80074DD8 00071D38 41 82 01 40 */ beq lbl_80074F18 +/* 80074DDC 00071D3C 3C 60 80 3E */ lis r3, lbl_803DA440@ha +/* 80074DE0 00071D40 34 1E 03 34 */ addic. r0, r30, 0x334 +/* 80074DE4 00071D44 38 03 A4 40 */ addi r0, r3, lbl_803DA440@l +/* 80074DE8 00071D48 90 1E 00 00 */ stw r0, 0(r30) +/* 80074DEC 00071D4C 41 82 00 0C */ beq lbl_80074DF8 +/* 80074DF0 00071D50 38 7E 03 34 */ addi r3, r30, 0x334 +/* 80074DF4 00071D54 48 2C 8C ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074DF8: +/* 80074DF8 00071D58 34 1E 03 24 */ addic. r0, r30, 0x324 +/* 80074DFC 00071D5C 41 82 00 0C */ beq lbl_80074E08 +/* 80074E00 00071D60 38 7E 03 24 */ addi r3, r30, 0x324 +/* 80074E04 00071D64 48 2C 8C DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074E08: +/* 80074E08 00071D68 34 1E 03 14 */ addic. r0, r30, 0x314 +/* 80074E0C 00071D6C 41 82 00 0C */ beq lbl_80074E18 +/* 80074E10 00071D70 38 7E 03 14 */ addi r3, r30, 0x314 +/* 80074E14 00071D74 48 2C 8C CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074E18: +/* 80074E18 00071D78 34 1E 02 F0 */ addic. r0, r30, 0x2f0 +/* 80074E1C 00071D7C 41 82 00 0C */ beq lbl_80074E28 +/* 80074E20 00071D80 38 7E 02 F0 */ addi r3, r30, 0x2f0 +/* 80074E24 00071D84 48 2C 8C BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074E28: +/* 80074E28 00071D88 34 1E 02 E0 */ addic. r0, r30, 0x2e0 +/* 80074E2C 00071D8C 41 82 00 0C */ beq lbl_80074E38 +/* 80074E30 00071D90 38 7E 02 E0 */ addi r3, r30, 0x2e0 +/* 80074E34 00071D94 48 2C 8C AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074E38: +/* 80074E38 00071D98 34 1E 02 D0 */ addic. r0, r30, 0x2d0 +/* 80074E3C 00071D9C 41 82 00 0C */ beq lbl_80074E48 +/* 80074E40 00071DA0 38 7E 02 D0 */ addi r3, r30, 0x2d0 +/* 80074E44 00071DA4 48 2C 8C 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074E48: +/* 80074E48 00071DA8 34 1E 02 C4 */ addic. r0, r30, 0x2c4 +/* 80074E4C 00071DAC 41 82 00 58 */ beq lbl_80074EA4 +/* 80074E50 00071DB0 80 BE 02 C4 */ lwz r5, 0x2c4(r30) +/* 80074E54 00071DB4 38 60 00 00 */ li r3, 0 +/* 80074E58 00071DB8 2C 05 00 00 */ cmpwi r5, 0 +/* 80074E5C 00071DBC 40 81 00 40 */ ble lbl_80074E9C +/* 80074E60 00071DC0 2C 05 00 08 */ cmpwi r5, 8 +/* 80074E64 00071DC4 38 85 FF F8 */ addi r4, r5, -8 +/* 80074E68 00071DC8 40 81 00 20 */ ble lbl_80074E88 +/* 80074E6C 00071DCC 38 04 00 07 */ addi r0, r4, 7 +/* 80074E70 00071DD0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80074E74 00071DD4 7C 09 03 A6 */ mtctr r0 +/* 80074E78 00071DD8 2C 04 00 00 */ cmpwi r4, 0 +/* 80074E7C 00071DDC 40 81 00 0C */ ble lbl_80074E88 +lbl_80074E80: +/* 80074E80 00071DE0 38 63 00 08 */ addi r3, r3, 8 +/* 80074E84 00071DE4 42 00 FF FC */ bdnz lbl_80074E80 +lbl_80074E88: +/* 80074E88 00071DE8 7C 03 28 50 */ subf r0, r3, r5 +/* 80074E8C 00071DEC 7C 09 03 A6 */ mtctr r0 +/* 80074E90 00071DF0 7C 03 28 00 */ cmpw r3, r5 +/* 80074E94 00071DF4 40 80 00 08 */ bge lbl_80074E9C +lbl_80074E98: +/* 80074E98 00071DF8 42 00 00 00 */ bdnz lbl_80074E98 +lbl_80074E9C: +/* 80074E9C 00071DFC 38 00 00 00 */ li r0, 0 +/* 80074EA0 00071E00 90 1E 02 C4 */ stw r0, 0x2c4(r30) +lbl_80074EA4: +/* 80074EA4 00071E04 34 1E 01 90 */ addic. r0, r30, 0x190 +/* 80074EA8 00071E08 41 82 00 0C */ beq lbl_80074EB4 +/* 80074EAC 00071E0C 38 7E 01 90 */ addi r3, r30, 0x190 +/* 80074EB0 00071E10 48 2C 8C 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074EB4: +/* 80074EB4 00071E14 34 1E 01 80 */ addic. r0, r30, 0x180 +/* 80074EB8 00071E18 41 82 00 0C */ beq lbl_80074EC4 +/* 80074EBC 00071E1C 38 7E 01 80 */ addi r3, r30, 0x180 +/* 80074EC0 00071E20 48 2C 8C 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074EC4: +/* 80074EC4 00071E24 34 1E 01 70 */ addic. r0, r30, 0x170 +/* 80074EC8 00071E28 41 82 00 0C */ beq lbl_80074ED4 +/* 80074ECC 00071E2C 38 7E 01 70 */ addi r3, r30, 0x170 +/* 80074ED0 00071E30 48 2C 8C 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074ED4: +/* 80074ED4 00071E34 34 1E 01 60 */ addic. r0, r30, 0x160 +/* 80074ED8 00071E38 41 82 00 0C */ beq lbl_80074EE4 +/* 80074EDC 00071E3C 38 7E 01 60 */ addi r3, r30, 0x160 +/* 80074EE0 00071E40 48 2C 8C 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074EE4: +/* 80074EE4 00071E44 34 1E 01 50 */ addic. r0, r30, 0x150 +/* 80074EE8 00071E48 41 82 00 0C */ beq lbl_80074EF4 +/* 80074EEC 00071E4C 38 7E 01 50 */ addi r3, r30, 0x150 +/* 80074EF0 00071E50 48 2C 8B F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80074EF4: +/* 80074EF4 00071E54 28 1E 00 00 */ cmplwi r30, 0 +/* 80074EF8 00071E58 41 82 00 10 */ beq lbl_80074F08 +/* 80074EFC 00071E5C 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 80074F00 00071E60 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 80074F04 00071E64 90 1E 00 00 */ stw r0, 0(r30) +lbl_80074F08: +/* 80074F08 00071E68 7F E0 07 35 */ extsh. r0, r31 +/* 80074F0C 00071E6C 40 81 00 0C */ ble lbl_80074F18 +/* 80074F10 00071E70 7F C3 F3 78 */ mr r3, r30 +/* 80074F14 00071E74 48 00 00 21 */ bl "__dl__22TOneStatic<9CTweakGui>FPv" +lbl_80074F18: +/* 80074F18 00071E78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80074F1C 00071E7C 7F C3 F3 78 */ mr r3, r30 +/* 80074F20 00071E80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80074F24 00071E84 83 C1 00 08 */ lwz r30, 8(r1) +/* 80074F28 00071E88 7C 08 03 A6 */ mtlr r0 +/* 80074F2C 00071E8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80074F30 00071E90 4E 80 00 20 */ blr + +.global "__dl__22TOneStatic<9CTweakGui>FPv" +"__dl__22TOneStatic<9CTweakGui>FPv": +/* 80074F34 00071E94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80074F38 00071E98 7C 08 02 A6 */ mflr r0 +/* 80074F3C 00071E9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80074F40 00071EA0 4B FC 20 C5 */ bl "ReferenceCount__22TOneStatic<9CTweakGui>Fv" +/* 80074F44 00071EA4 80 83 00 00 */ lwz r4, 0(r3) +/* 80074F48 00071EA8 38 04 FF FF */ addi r0, r4, -1 +/* 80074F4C 00071EAC 90 03 00 00 */ stw r0, 0(r3) +/* 80074F50 00071EB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80074F54 00071EB4 7C 08 03 A6 */ mtlr r0 +/* 80074F58 00071EB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80074F5C 00071EBC 4E 80 00 20 */ blr + +.global GetSortingBounds__12CScriptActorCFRC12CTransform4f +GetSortingBounds__12CScriptActorCFRC12CTransform4f: +/* 80074F60 00071EC0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80074F64 00071EC4 7C 08 02 A6 */ mflr r0 +/* 80074F68 00071EC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80074F6C 00071ECC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80074F70 00071ED0 7C BF 2B 78 */ mr r31, r5 +/* 80074F74 00071ED4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80074F78 00071ED8 7C 9E 23 78 */ mr r30, r4 +/* 80074F7C 00071EDC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80074F80 00071EE0 7C 7D 1B 78 */ mr r29, r3 +/* 80074F84 00071EE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80074F88 00071EE8 A0 84 02 E0 */ lhz r4, 0x2e0(r4) +/* 80074F8C 00071EEC 7C 04 00 40 */ cmplw r4, r0 +/* 80074F90 00071EF0 41 82 00 28 */ beq lbl_80074FB8 +/* 80074F94 00071EF4 B0 81 00 08 */ sth r4, 8(r1) +/* 80074F98 00071EF8 7F E3 FB 78 */ mr r3, r31 +/* 80074F9C 00071EFC 38 81 00 08 */ addi r4, r1, 8 +/* 80074FA0 00071F00 4B FD 76 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80074FA4 00071F04 7C 64 1B 79 */ or. r4, r3, r3 +/* 80074FA8 00071F08 41 82 00 10 */ beq lbl_80074FB8 +/* 80074FAC 00071F0C 7F A3 EB 78 */ mr r3, r29 +/* 80074FB0 00071F10 48 00 17 1D */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80074FB4 00071F14 48 00 00 14 */ b lbl_80074FC8 +lbl_80074FB8: +/* 80074FB8 00071F18 7F A3 EB 78 */ mr r3, r29 +/* 80074FBC 00071F1C 7F C4 F3 78 */ mr r4, r30 +/* 80074FC0 00071F20 7F E5 FB 78 */ mr r5, r31 +/* 80074FC4 00071F24 4B FD E6 1D */ bl GetSortingBounds__6CActorCFRC12CTransform4f +lbl_80074FC8: +/* 80074FC8 00071F28 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80074FCC 00071F2C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80074FD0 00071F30 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80074FD4 00071F34 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80074FD8 00071F38 7C 08 03 A6 */ mtlr r0 +/* 80074FDC 00071F3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80074FE0 00071F40 4E 80 00 20 */ blr + +.global GetCollisionResponseType__12CScriptActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__12CScriptActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 80074FE4 00071F44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80074FE8 00071F48 7C 08 02 A6 */ mflr r0 +/* 80074FEC 00071F4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80074FF0 00071F50 BF 41 00 08 */ stmw r26, 8(r1) +/* 80074FF4 00071F54 7C 7A 1B 78 */ mr r26, r3 +/* 80074FF8 00071F58 7C 9B 23 78 */ mr r27, r4 +/* 80074FFC 00071F5C 7C BC 2B 78 */ mr r28, r5 +/* 80075000 00071F60 7C DD 33 78 */ mr r29, r6 +/* 80075004 00071F64 7C FE 3B 78 */ mr r30, r7 +/* 80075008 00071F68 81 83 00 00 */ lwz r12, 0(r3) +/* 8007500C 00071F6C 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80075010 00071F70 7D 89 03 A6 */ mtctr r12 +/* 80075014 00071F74 4E 80 04 21 */ bctrl +/* 80075018 00071F78 7F A4 EB 78 */ mr r4, r29 +/* 8007501C 00071F7C 7C 7F 1B 78 */ mr r31, r3 +/* 80075020 00071F80 38 A0 00 00 */ li r5, 0 +/* 80075024 00071F84 48 08 D4 99 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +/* 80075028 00071F88 2C 03 00 02 */ cmpwi r3, 2 +/* 8007502C 00071F8C 40 82 00 2C */ bne lbl_80075058 +/* 80075030 00071F90 7F E3 FB 78 */ mr r3, r31 +/* 80075034 00071F94 7F A4 EB 78 */ mr r4, r29 +/* 80075038 00071F98 48 08 D4 59 */ bl GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode +/* 8007503C 00071F9C 2C 03 00 04 */ cmpwi r3, 4 +/* 80075040 00071FA0 40 80 00 18 */ bge lbl_80075058 +/* 80075044 00071FA4 2C 03 00 01 */ cmpwi r3, 1 +/* 80075048 00071FA8 40 80 00 08 */ bge lbl_80075050 +/* 8007504C 00071FAC 48 00 00 0C */ b lbl_80075058 +lbl_80075050: +/* 80075050 00071FB0 38 60 00 0F */ li r3, 0xf +/* 80075054 00071FB4 48 00 00 1C */ b lbl_80075070 +lbl_80075058: +/* 80075058 00071FB8 7F 43 D3 78 */ mr r3, r26 +/* 8007505C 00071FBC 7F 64 DB 78 */ mr r4, r27 +/* 80075060 00071FC0 7F 85 E3 78 */ mr r5, r28 +/* 80075064 00071FC4 7F A6 EB 78 */ mr r6, r29 +/* 80075068 00071FC8 7F C7 F3 78 */ mr r7, r30 +/* 8007506C 00071FCC 4B FD EC 75 */ bl GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei +lbl_80075070: +/* 80075070 00071FD0 BB 41 00 08 */ lmw r26, 8(r1) +/* 80075074 00071FD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80075078 00071FD8 7C 08 03 A6 */ mtlr r0 +/* 8007507C 00071FDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80075080 00071FE0 4E 80 00 20 */ blr + +.global Accept__12CScriptActorFR8IVisitor +Accept__12CScriptActorFR8IVisitor: +/* 80075084 00071FE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80075088 00071FE8 7C 08 02 A6 */ mflr r0 +/* 8007508C 00071FEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80075090 00071FF0 7C 60 1B 78 */ mr r0, r3 +/* 80075094 00071FF4 7C 83 23 78 */ mr r3, r4 +/* 80075098 00071FF8 81 84 00 00 */ lwz r12, 0(r4) +/* 8007509C 00071FFC 7C 04 03 78 */ mr r4, r0 +/* 800750A0 00072000 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 800750A4 00072004 7D 89 03 A6 */ mtctr r12 +/* 800750A8 00072008 4E 80 04 21 */ bctrl +/* 800750AC 0007200C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800750B0 00072010 7C 08 03 A6 */ mtlr r0 +/* 800750B4 00072014 38 21 00 10 */ addi r1, r1, 0x10 +/* 800750B8 00072018 4E 80 00 20 */ blr + +.global PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes +PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes: +/* 800750BC 0007201C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800750C0 00072020 7C 08 02 A6 */ mflr r0 +/* 800750C4 00072024 90 01 00 44 */ stw r0, 0x44(r1) +/* 800750C8 00072028 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800750CC 0007202C 7C 7C 1B 78 */ mr r28, r3 +/* 800750D0 00072030 7C 9D 23 78 */ mr r29, r4 +/* 800750D4 00072034 4B FD FC 0D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes +/* 800750D8 00072038 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 800750DC 0007203C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800750E0 00072040 41 82 00 38 */ beq lbl_80075118 +/* 800750E4 00072044 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 800750E8 00072048 7F A4 EB 78 */ mr r4, r29 +/* 800750EC 0007204C 4B F9 6A 2D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800750F0 00072050 7C 64 1B 78 */ mr r4, r3 +/* 800750F4 00072054 38 61 00 0C */ addi r3, r1, 0xc +/* 800750F8 00072058 48 03 A6 39 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" +/* 800750FC 0007205C 80 03 00 04 */ lwz r0, 4(r3) +/* 80075100 00072060 28 00 00 00 */ cmplwi r0, 0 +/* 80075104 00072064 41 82 00 14 */ beq lbl_80075118 +/* 80075108 00072068 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 8007510C 0007206C 38 60 00 00 */ li r3, 0 +/* 80075110 00072070 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80075114 00072074 98 1C 00 E4 */ stb r0, 0xe4(r28) +lbl_80075118: +/* 80075118 00072078 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 8007511C 0007207C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80075120 00072080 40 82 01 A8 */ bne lbl_800752C8 +/* 80075124 00072084 88 7C 02 E2 */ lbz r3, 0x2e2(r28) +/* 80075128 00072088 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8007512C 0007208C 41 82 01 9C */ beq lbl_800752C8 +/* 80075130 00072090 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80075134 00072094 41 82 01 30 */ beq lbl_80075264 +/* 80075138 00072098 C0 22 88 B0 */ lfs f1, lbl_805AA5D0@sda21(r2) +/* 8007513C 0007209C 38 A0 00 05 */ li r5, 5 +/* 80075140 000720A0 C0 9C 02 DC */ lfs f4, 0x2dc(r28) +/* 80075144 000720A4 38 80 00 00 */ li r4, 0 +/* 80075148 000720A8 38 00 00 03 */ li r0, 3 +/* 8007514C 000720AC FC 40 08 90 */ fmr f2, f1 +/* 80075150 000720B0 FC 60 08 90 */ fmr f3, f1 +/* 80075154 000720B4 98 A1 00 1C */ stb r5, 0x1c(r1) +/* 80075158 000720B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8007515C 000720BC 98 81 00 1D */ stb r4, 0x1d(r1) +/* 80075160 000720C0 B0 01 00 1E */ sth r0, 0x1e(r1) +/* 80075164 000720C4 48 2E E2 89 */ bl __ct__6CColorFffff +/* 80075168 000720C8 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 8007516C 000720CC 7F A4 EB 78 */ mr r4, r29 +/* 80075170 000720D0 8B 61 00 1C */ lbz r27, 0x1c(r1) +/* 80075174 000720D4 8B 41 00 1D */ lbz r26, 0x1d(r1) +/* 80075178 000720D8 A3 E1 00 1E */ lhz r31, 0x1e(r1) +/* 8007517C 000720DC 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 80075180 000720E0 80 63 00 00 */ lwz r3, 0(r3) +/* 80075184 000720E4 48 01 C3 D5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80075188 000720E8 2C 03 00 01 */ cmpwi r3, 1 +/* 8007518C 000720EC 40 82 00 28 */ bne lbl_800751B4 +/* 80075190 000720F0 9B 7C 00 B4 */ stb r27, 0xb4(r28) +/* 80075194 000720F4 38 60 00 01 */ li r3, 1 +/* 80075198 000720F8 9B 5C 00 B5 */ stb r26, 0xb5(r28) +/* 8007519C 000720FC B3 FC 00 B6 */ sth r31, 0xb6(r28) +/* 800751A0 00072100 93 DC 00 B8 */ stw r30, 0xb8(r28) +/* 800751A4 00072104 88 1C 02 E2 */ lbz r0, 0x2e2(r28) +/* 800751A8 00072108 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800751AC 0007210C 98 1C 02 E2 */ stb r0, 0x2e2(r28) +/* 800751B0 00072110 48 00 00 B4 */ b lbl_80075264 +lbl_800751B4: +/* 800751B4 00072114 88 7C 02 E2 */ lbz r3, 0x2e2(r28) +/* 800751B8 00072118 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 800751BC 0007211C 41 82 00 A8 */ beq lbl_80075264 +/* 800751C0 00072120 38 80 00 00 */ li r4, 0 +/* 800751C4 00072124 7F 60 07 74 */ extsb r0, r27 +/* 800751C8 00072128 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c +/* 800751CC 0007212C 98 7C 02 E2 */ stb r3, 0x2e2(r28) +/* 800751D0 00072130 88 7C 00 B4 */ lbz r3, 0xb4(r28) +/* 800751D4 00072134 7C 63 07 74 */ extsb r3, r3 +/* 800751D8 00072138 7C 03 00 00 */ cmpw r3, r0 +/* 800751DC 0007213C 40 82 00 34 */ bne lbl_80075210 +/* 800751E0 00072140 88 7C 00 B5 */ lbz r3, 0xb5(r28) +/* 800751E4 00072144 7F 40 07 74 */ extsb r0, r26 +/* 800751E8 00072148 7C 63 07 74 */ extsb r3, r3 +/* 800751EC 0007214C 7C 03 00 00 */ cmpw r3, r0 +/* 800751F0 00072150 40 82 00 20 */ bne lbl_80075210 +/* 800751F4 00072154 A0 1C 00 B6 */ lhz r0, 0xb6(r28) +/* 800751F8 00072158 7C 00 F8 40 */ cmplw r0, r31 +/* 800751FC 0007215C 40 82 00 14 */ bne lbl_80075210 +/* 80075200 00072160 80 1C 00 B8 */ lwz r0, 0xb8(r28) +/* 80075204 00072164 7C 00 F0 40 */ cmplw r0, r30 +/* 80075208 00072168 40 82 00 08 */ bne lbl_80075210 +/* 8007520C 0007216C 38 80 00 01 */ li r4, 1 +lbl_80075210: +/* 80075210 00072170 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80075214 00072174 41 82 00 50 */ beq lbl_80075264 +/* 80075218 00072178 C0 22 88 B0 */ lfs f1, lbl_805AA5D0@sda21(r2) +/* 8007521C 0007217C 38 80 00 00 */ li r4, 0 +/* 80075220 00072180 38 00 00 03 */ li r0, 3 +/* 80075224 00072184 98 81 00 14 */ stb r4, 0x14(r1) +/* 80075228 00072188 FC 40 08 90 */ fmr f2, f1 +/* 8007522C 0007218C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80075230 00072190 FC 60 08 90 */ fmr f3, f1 +/* 80075234 00072194 98 81 00 15 */ stb r4, 0x15(r1) +/* 80075238 00072198 FC 80 08 90 */ fmr f4, f1 +/* 8007523C 0007219C B0 01 00 16 */ sth r0, 0x16(r1) +/* 80075240 000721A0 48 2E E1 AD */ bl __ct__6CColorFffff +/* 80075244 000721A4 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80075248 000721A8 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 8007524C 000721AC 88 01 00 15 */ lbz r0, 0x15(r1) +/* 80075250 000721B0 98 1C 00 B5 */ stb r0, 0xb5(r28) +/* 80075254 000721B4 A0 01 00 16 */ lhz r0, 0x16(r1) +/* 80075258 000721B8 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 8007525C 000721BC 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80075260 000721C0 90 1C 00 B8 */ stw r0, 0xb8(r28) +lbl_80075264: +/* 80075264 000721C4 88 1C 02 E2 */ lbz r0, 0x2e2(r28) +/* 80075268 000721C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8007526C 000721CC 41 82 00 4C */ beq lbl_800752B8 +/* 80075270 000721D0 88 1C 00 E6 */ lbz r0, 0xe6(r28) +/* 80075274 000721D4 54 00 EF BE */ rlwinm r0, r0, 0x1d, 0x1e, 0x1f +/* 80075278 000721D8 2C 00 00 02 */ cmpwi r0, 2 +/* 8007527C 000721DC 40 82 00 3C */ bne lbl_800752B8 +/* 80075280 000721E0 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 80075284 000721E4 7F A4 EB 78 */ mr r4, r29 +/* 80075288 000721E8 80 63 00 00 */ lwz r3, 0(r3) +/* 8007528C 000721EC 48 01 C2 CD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80075290 000721F0 2C 03 00 03 */ cmpwi r3, 3 +/* 80075294 000721F4 40 82 00 14 */ bne lbl_800752A8 +/* 80075298 000721F8 A0 1C 00 B6 */ lhz r0, 0xb6(r28) +/* 8007529C 000721FC 54 04 04 3A */ rlwinm r4, r0, 0, 0x10, 0x1d +/* 800752A0 00072200 B0 9C 00 B6 */ sth r4, 0xb6(r28) +/* 800752A4 00072204 48 00 00 14 */ b lbl_800752B8 +lbl_800752A8: +/* 800752A8 00072208 A0 1C 00 B6 */ lhz r0, 0xb6(r28) +/* 800752AC 0007220C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 800752B0 00072210 60 63 00 03 */ ori r3, r3, 3 +/* 800752B4 00072214 B0 7C 00 B6 */ sth r3, 0xb6(r28) +lbl_800752B8: +/* 800752B8 00072218 80 BC 02 D8 */ lwz r5, 0x2d8(r28) +/* 800752BC 0007221C 2C 05 00 00 */ cmpwi r5, 0 +/* 800752C0 00072220 41 82 00 08 */ beq lbl_800752C8 +/* 800752C4 00072224 98 BC 00 B5 */ stb r5, 0xb5(r28) +lbl_800752C8: +/* 800752C8 00072228 A0 1C 02 E0 */ lhz r0, 0x2e0(r28) +/* 800752CC 0007222C 7F A3 EB 78 */ mr r3, r29 +/* 800752D0 00072230 38 81 00 08 */ addi r4, r1, 8 +/* 800752D4 00072234 B0 01 00 08 */ sth r0, 8(r1) +/* 800752D8 00072238 4B FD 72 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800752DC 0007223C 28 03 00 00 */ cmplwi r3, 0 +/* 800752E0 00072240 40 82 00 0C */ bne lbl_800752EC +/* 800752E4 00072244 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800752E8 00072248 B0 1C 02 E0 */ sth r0, 0x2e0(r28) +lbl_800752EC: +/* 800752EC 0007224C BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800752F0 00072250 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800752F4 00072254 7C 08 03 A6 */ mtlr r0 +/* 800752F8 00072258 38 21 00 40 */ addi r1, r1, 0x40 +/* 800752FC 0007225C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80075300 00072260 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80075304 00072264 7C 08 02 A6 */ mflr r0 +/* 80075308 00072268 90 01 00 84 */ stw r0, 0x84(r1) +/* 8007530C 0007226C BE E1 00 5C */ stmw r23, 0x5c(r1) +/* 80075310 00072270 7C 9C 23 78 */ mr r28, r4 +/* 80075314 00072274 2C 1C 00 0A */ cmpwi r28, 0xa +/* 80075318 00072278 7C 7B 1B 78 */ mr r27, r3 +/* 8007531C 0007227C 7C BD 2B 78 */ mr r29, r5 +/* 80075320 00072280 7C DE 33 78 */ mr r30, r6 +/* 80075324 00072284 41 82 01 24 */ beq lbl_80075448 +/* 80075328 00072288 40 80 00 28 */ bge lbl_80075350 +/* 8007532C 0007228C 2C 1C 00 06 */ cmpwi r28, 6 +/* 80075330 00072290 41 82 01 AC */ beq lbl_800754DC +/* 80075334 00072294 40 80 00 10 */ bge lbl_80075344 +/* 80075338 00072298 2C 1C 00 05 */ cmpwi r28, 5 +/* 8007533C 0007229C 40 80 01 80 */ bge lbl_800754BC +/* 80075340 000722A0 48 00 01 9C */ b lbl_800754DC +lbl_80075344: +/* 80075344 000722A4 2C 1C 00 08 */ cmpwi r28, 8 +/* 80075348 000722A8 40 80 01 94 */ bge lbl_800754DC +/* 8007534C 000722AC 48 00 01 20 */ b lbl_8007546C +lbl_80075350: +/* 80075350 000722B0 2C 1C 00 23 */ cmpwi r28, 0x23 +/* 80075354 000722B4 41 82 00 08 */ beq lbl_8007535C +/* 80075358 000722B8 48 00 01 84 */ b lbl_800754DC +lbl_8007535C: +/* 8007535C 000722BC 83 FB 00 2C */ lwz r31, 0x2c(r27) +/* 80075360 000722C0 48 00 00 B0 */ b lbl_80075410 +lbl_80075364: +/* 80075364 000722C4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80075368 000722C8 2C 00 00 20 */ cmpwi r0, 0x20 +/* 8007536C 000722CC 40 82 00 A0 */ bne lbl_8007540C +/* 80075370 000722D0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80075374 000722D4 2C 00 00 01 */ cmpwi r0, 1 +/* 80075378 000722D8 40 82 00 94 */ bne lbl_8007540C +/* 8007537C 000722DC 80 1F 00 08 */ lwz r0, 8(r31) +/* 80075380 000722E0 7F C4 F3 78 */ mr r4, r30 +/* 80075384 000722E4 38 61 00 3C */ addi r3, r1, 0x3c +/* 80075388 000722E8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8007538C 000722EC 90 01 00 30 */ stw r0, 0x30(r1) +/* 80075390 000722F0 4B FD 2C 39 */ bl GetIdListForScript__13CStateManagerCF9TEditorId +/* 80075394 000722F4 83 41 00 40 */ lwz r26, 0x40(r1) +/* 80075398 000722F8 83 21 00 44 */ lwz r25, 0x44(r1) +/* 8007539C 000722FC 83 01 00 48 */ lwz r24, 0x48(r1) +/* 800753A0 00072300 82 E1 00 3C */ lwz r23, 0x3c(r1) +/* 800753A4 00072304 48 00 00 48 */ b lbl_800753EC +lbl_800753A8: +/* 800753A8 00072308 A0 17 00 14 */ lhz r0, 0x14(r23) +/* 800753AC 0007230C 7F C3 F3 78 */ mr r3, r30 +/* 800753B0 00072310 38 81 00 2C */ addi r4, r1, 0x2c +/* 800753B4 00072314 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 800753B8 00072318 4B FD 71 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800753BC 0007231C 7C 64 1B 78 */ mr r4, r3 +/* 800753C0 00072320 38 61 00 34 */ addi r3, r1, 0x34 +/* 800753C4 00072324 48 03 1B 25 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" +/* 800753C8 00072328 80 03 00 04 */ lwz r0, 4(r3) +/* 800753CC 0007232C 28 00 00 00 */ cmplwi r0, 0 +/* 800753D0 00072330 41 82 00 0C */ beq lbl_800753DC +/* 800753D4 00072334 A0 17 00 14 */ lhz r0, 0x14(r23) +/* 800753D8 00072338 B0 1B 02 E0 */ sth r0, 0x2e0(r27) +lbl_800753DC: +/* 800753DC 0007233C 7F 43 D3 78 */ mr r3, r26 +/* 800753E0 00072340 7E E4 BB 78 */ mr r4, r23 +/* 800753E4 00072344 48 2C 71 FD */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800753E8 00072348 7C 77 1B 78 */ mr r23, r3 +lbl_800753EC: +/* 800753EC 0007234C 7C 17 C8 40 */ cmplw r23, r25 +/* 800753F0 00072350 38 00 00 00 */ li r0, 0 +/* 800753F4 00072354 40 82 00 0C */ bne lbl_80075400 +/* 800753F8 00072358 7C 1A C0 40 */ cmplw r26, r24 +/* 800753FC 0007235C 41 82 00 08 */ beq lbl_80075404 +lbl_80075400: +/* 80075400 00072360 38 00 00 01 */ li r0, 1 +lbl_80075404: +/* 80075404 00072364 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80075408 00072368 40 82 FF A0 */ bne lbl_800753A8 +lbl_8007540C: +/* 8007540C 0007236C 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80075410: +/* 80075410 00072370 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 80075414 00072374 80 7B 00 2C */ lwz r3, 0x2c(r27) +/* 80075418 00072378 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8007541C 0007237C 7C 03 02 14 */ add r0, r3, r0 +/* 80075420 00072380 7C 1F 00 40 */ cmplw r31, r0 +/* 80075424 00072384 40 82 FF 40 */ bne lbl_80075364 +/* 80075428 00072388 88 1B 02 E2 */ lbz r0, 0x2e2(r27) +/* 8007542C 0007238C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80075430 00072390 41 82 00 AC */ beq lbl_800754DC +/* 80075434 00072394 7F 63 DB 78 */ mr r3, r27 +/* 80075438 00072398 7F C5 F3 78 */ mr r5, r30 +/* 8007543C 0007239C 38 80 00 36 */ li r4, 0x36 +/* 80075440 000723A0 4B FD EF 11 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80075444 000723A4 48 00 00 98 */ b lbl_800754DC +lbl_80075448: +/* 80075448 000723A8 88 1B 02 E2 */ lbz r0, 0x2e2(r27) +/* 8007544C 000723AC 38 60 00 00 */ li r3, 0 +/* 80075450 000723B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80075454 000723B4 98 1B 02 E2 */ stb r0, 0x2e2(r27) +/* 80075458 000723B8 C0 1B 02 58 */ lfs f0, 0x258(r27) +/* 8007545C 000723BC D0 1B 02 60 */ stfs f0, 0x260(r27) +/* 80075460 000723C0 C0 1B 02 5C */ lfs f0, 0x25c(r27) +/* 80075464 000723C4 D0 1B 02 64 */ stfs f0, 0x264(r27) +/* 80075468 000723C8 48 00 00 74 */ b lbl_800754DC +lbl_8007546C: +/* 8007546C 000723CC 88 1B 00 30 */ lbz r0, 0x30(r27) +/* 80075470 000723D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80075474 000723D4 40 82 00 68 */ bne lbl_800754DC +/* 80075478 000723D8 A0 1B 00 08 */ lhz r0, 8(r27) +/* 8007547C 000723DC 7F C3 F3 78 */ mr r3, r30 +/* 80075480 000723E0 7F 64 DB 78 */ mr r4, r27 +/* 80075484 000723E4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80075488 000723E8 B0 01 00 24 */ sth r0, 0x24(r1) +/* 8007548C 000723EC 38 C0 00 01 */ li r6, 1 +/* 80075490 000723F0 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80075494 000723F4 4B FC EA 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80075498 000723F8 A0 1B 00 08 */ lhz r0, 8(r27) +/* 8007549C 000723FC 7F C4 F3 78 */ mr r4, r30 +/* 800754A0 00072400 38 61 00 20 */ addi r3, r1, 0x20 +/* 800754A4 00072404 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800754A8 00072408 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800754AC 0007240C B0 01 00 18 */ sth r0, 0x18(r1) +/* 800754B0 00072410 C0 3B 02 D0 */ lfs f1, 0x2d0(r27) +/* 800754B4 00072414 48 18 C4 F5 */ bl FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf +/* 800754B8 00072418 48 00 00 24 */ b lbl_800754DC +lbl_800754BC: +/* 800754BC 0007241C A0 1B 00 08 */ lhz r0, 8(r27) +/* 800754C0 00072420 7F C4 F3 78 */ mr r4, r30 +/* 800754C4 00072424 38 61 00 14 */ addi r3, r1, 0x14 +/* 800754C8 00072428 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800754CC 0007242C B0 01 00 10 */ sth r0, 0x10(r1) +/* 800754D0 00072430 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800754D4 00072434 C0 3B 02 D4 */ lfs f1, 0x2d4(r27) +/* 800754D8 00072438 48 18 C2 A1 */ bl FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf +lbl_800754DC: +/* 800754DC 0007243C A0 1D 00 00 */ lhz r0, 0(r29) +/* 800754E0 00072440 7F 63 DB 78 */ mr r3, r27 +/* 800754E4 00072444 7F 84 E3 78 */ mr r4, r28 +/* 800754E8 00072448 7F C6 F3 78 */ mr r6, r30 +/* 800754EC 0007244C B0 01 00 08 */ sth r0, 8(r1) +/* 800754F0 00072450 38 A1 00 08 */ addi r5, r1, 8 +/* 800754F4 00072454 4B FD E1 21 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800754F8 00072458 BA E1 00 5C */ lmw r23, 0x5c(r1) +/* 800754FC 0007245C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80075500 00072460 7C 08 03 A6 */ mtlr r0 +/* 80075504 00072464 38 21 00 80 */ addi r1, r1, 0x80 +/* 80075508 00072468 4E 80 00 20 */ blr + +.global Think__12CScriptActorFfR13CStateManager +Think__12CScriptActorFfR13CStateManager: +/* 8007550C 0007246C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80075510 00072470 7C 08 02 A6 */ mflr r0 +/* 80075514 00072474 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80075518 00072478 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8007551C 0007247C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80075520 00072480 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 80075524 00072484 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80075528 00072488 FF E0 08 90 */ fmr f31, f1 +/* 8007552C 0007248C 7C 7E 1B 78 */ mr r30, r3 +/* 80075530 00072490 7C 9F 23 78 */ mr r31, r4 +/* 80075534 00072494 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80075538 00072498 41 82 02 34 */ beq lbl_8007576C +/* 8007553C 0007249C 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 80075540 000724A0 38 60 00 00 */ li r3, 0 +/* 80075544 000724A4 28 04 00 00 */ cmplwi r4, 0 +/* 80075548 000724A8 41 82 00 14 */ beq lbl_8007555C +/* 8007554C 000724AC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80075550 000724B0 28 00 00 00 */ cmplwi r0, 0 +/* 80075554 000724B4 41 82 00 08 */ beq lbl_8007555C +/* 80075558 000724B8 38 60 00 01 */ li r3, 1 +lbl_8007555C: +/* 8007555C 000724BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80075560 000724C0 41 82 01 B0 */ beq lbl_80075710 +/* 80075564 000724C4 3C 80 80 3D */ lis r4, lbl_803CD5E8@ha +/* 80075568 000724C8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8007556C 000724CC 38 84 D5 E8 */ addi r4, r4, lbl_803CD5E8@l +/* 80075570 000724D0 4B F8 F7 49 */ bl string_l__4rstlFPCc +/* 80075574 000724D4 C0 02 88 B4 */ lfs f0, lbl_805AA5D4@sda21(r2) +/* 80075578 000724D8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8007557C 000724DC 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80075580 000724E0 EC 3F 00 28 */ fsubs f1, f31, f0 +/* 80075584 000724E4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80075588 000724E8 4B FB 6E 65 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8007558C 000724EC 7C 7C 1B 78 */ mr r28, r3 +/* 80075590 000724F0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80075594 000724F4 48 2C 85 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80075598 000724F8 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8007559C 000724FC 48 09 FF 71 */ bl GetIsLoop__10CModelDataCFv +/* 800755A0 00072500 FC 20 F8 90 */ fmr f1, f31 +/* 800755A4 00072504 7C 7D 1B 78 */ mr r29, r3 +/* 800755A8 00072508 7F C4 F3 78 */ mr r4, r30 +/* 800755AC 0007250C 7F E5 FB 78 */ mr r5, r31 +/* 800755B0 00072510 38 61 00 3C */ addi r3, r1, 0x3c +/* 800755B4 00072514 38 C0 00 01 */ li r6, 1 +/* 800755B8 00072518 4B FD FC E5 */ bl UpdateAnimation__6CActorFfR13CStateManagerb +/* 800755BC 0007251C C0 C1 00 3C */ lfs f6, 0x3c(r1) +/* 800755C0 00072520 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800755C4 00072524 C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 800755C8 00072528 3B 61 00 64 */ addi r27, r1, 0x64 +/* 800755CC 0007252C C0 81 00 44 */ lfs f4, 0x44(r1) +/* 800755D0 00072530 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 800755D4 00072534 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 800755D8 00072538 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800755DC 0007253C C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800755E0 00072540 D0 C1 00 58 */ stfs f6, 0x58(r1) +/* 800755E4 00072544 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 800755E8 00072548 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 800755EC 0007254C D0 61 00 64 */ stfs f3, 0x64(r1) +/* 800755F0 00072550 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 800755F4 00072554 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 800755F8 00072558 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800755FC 0007255C 40 82 00 0C */ bne lbl_80075608 +/* 80075600 00072560 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80075604 00072564 41 82 00 CC */ beq lbl_800756D0 +lbl_80075608: +/* 80075608 00072568 88 1E 02 E2 */ lbz r0, 0x2e2(r30) +/* 8007560C 0007256C 38 60 00 01 */ li r3, 1 +/* 80075610 00072570 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80075614 00072574 98 1E 02 E2 */ stb r0, 0x2e2(r30) +/* 80075618 00072578 88 1E 02 E2 */ lbz r0, 0x2e2(r30) +/* 8007561C 0007257C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80075620 00072580 41 82 00 90 */ beq lbl_800756B0 +/* 80075624 00072584 38 61 00 14 */ addi r3, r1, 0x14 +/* 80075628 00072588 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8007562C 0007258C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80075630 00072590 48 29 D3 F5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80075634 00072594 C0 A1 00 14 */ lfs f5, 0x14(r1) +/* 80075638 00072598 38 61 00 08 */ addi r3, r1, 8 +/* 8007563C 0007259C C0 81 00 18 */ lfs f4, 0x18(r1) +/* 80075640 000725A0 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80075644 000725A4 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80075648 000725A8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8007564C 000725AC D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80075650 000725B0 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80075654 000725B4 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 80075658 000725B8 80 DE 00 64 */ lwz r6, 0x64(r30) +/* 8007565C 000725BC C0 46 00 08 */ lfs f2, 8(r6) +/* 80075660 000725C0 C0 26 00 04 */ lfs f1, 4(r6) +/* 80075664 000725C4 C0 06 00 00 */ lfs f0, 0(r6) +/* 80075668 000725C8 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 8007566C 000725CC EC 21 01 32 */ fmuls f1, f1, f4 +/* 80075670 000725D0 EC 00 01 72 */ fmuls f0, f0, f5 +/* 80075674 000725D4 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80075678 000725D8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8007567C 000725DC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80075680 000725E0 48 29 D4 01 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80075684 000725E4 C0 61 00 08 */ lfs f3, 8(r1) +/* 80075688 000725E8 FC 20 F8 90 */ fmr f1, f31 +/* 8007568C 000725EC C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80075690 000725F0 7F C3 F3 78 */ mr r3, r30 +/* 80075694 000725F4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80075698 000725F8 38 81 00 30 */ addi r4, r1, 0x30 +/* 8007569C 000725FC D0 61 00 30 */ stfs f3, 0x30(r1) +/* 800756A0 00072600 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800756A4 00072604 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800756A8 00072608 48 0A 57 D1 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff +/* 800756AC 0007260C 48 00 00 14 */ b lbl_800756C0 +lbl_800756B0: +/* 800756B0 00072610 FC 20 F8 90 */ fmr f1, f31 +/* 800756B4 00072614 7F C3 F3 78 */ mr r3, r30 +/* 800756B8 00072618 38 81 00 58 */ addi r4, r1, 0x58 +/* 800756BC 0007261C 48 0A 57 BD */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff +lbl_800756C0: +/* 800756C0 00072620 FC 20 F8 90 */ fmr f1, f31 +/* 800756C4 00072624 7F C3 F3 78 */ mr r3, r30 +/* 800756C8 00072628 7F 64 DB 78 */ mr r4, r27 +/* 800756CC 0007262C 48 0A 57 49 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf +lbl_800756D0: +/* 800756D0 00072630 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800756D4 00072634 40 82 00 3C */ bne lbl_80075710 +/* 800756D8 00072638 88 1E 02 E2 */ lbz r0, 0x2e2(r30) +/* 800756DC 0007263C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800756E0 00072640 41 82 00 30 */ beq lbl_80075710 +/* 800756E4 00072644 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 800756E8 00072648 40 82 00 28 */ bne lbl_80075710 +/* 800756EC 0007264C 7F C3 F3 78 */ mr r3, r30 +/* 800756F0 00072650 7F E5 FB 78 */ mr r5, r31 +/* 800756F4 00072654 38 80 00 07 */ li r4, 7 +/* 800756F8 00072658 38 C0 FF FF */ li r6, -1 +/* 800756FC 0007265C 4B FD B9 C5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80075700 00072660 88 1E 02 E2 */ lbz r0, 0x2e2(r30) +/* 80075704 00072664 38 60 00 00 */ li r3, 0 +/* 80075708 00072668 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8007570C 0007266C 98 1E 02 E2 */ stb r0, 0x2e2(r30) +lbl_80075710: +/* 80075710 00072670 88 1E 02 E2 */ lbz r0, 0x2e2(r30) +/* 80075714 00072674 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80075718 00072678 40 82 00 54 */ bne lbl_8007576C +/* 8007571C 0007267C 7F C3 F3 78 */ mr r3, r30 +/* 80075720 00072680 7F E4 FB 78 */ mr r4, r31 +/* 80075724 00072684 81 9E 00 00 */ lwz r12, 0(r30) +/* 80075728 00072688 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8007572C 0007268C 7D 89 03 A6 */ mtctr r12 +/* 80075730 00072690 4E 80 04 21 */ bctrl +/* 80075734 00072694 C0 23 00 00 */ lfs f1, 0(r3) +/* 80075738 00072698 C0 02 88 B8 */ lfs f0, lbl_805AA5D8@sda21(r2) +/* 8007573C 0007269C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80075740 000726A0 4C 40 13 82 */ cror 2, 0, 2 +/* 80075744 000726A4 40 82 00 28 */ bne lbl_8007576C +/* 80075748 000726A8 88 1E 02 E2 */ lbz r0, 0x2e2(r30) +/* 8007574C 000726AC 38 60 00 01 */ li r3, 1 +/* 80075750 000726B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80075754 000726B4 7F C3 F3 78 */ mr r3, r30 +/* 80075758 000726B8 98 1E 02 E2 */ stb r0, 0x2e2(r30) +/* 8007575C 000726BC 7F E5 FB 78 */ mr r5, r31 +/* 80075760 000726C0 38 80 00 0E */ li r4, 0xe +/* 80075764 000726C4 38 C0 FF FF */ li r6, -1 +/* 80075768 000726C8 4B FD B9 59 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8007576C: +/* 8007576C 000726CC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80075770 000726D0 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80075774 000726D4 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 80075778 000726D8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8007577C 000726DC 7C 08 03 A6 */ mtlr r0 +/* 80075780 000726E0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80075784 000726E4 4E 80 00 20 */ blr + +.global GetTouchBounds__12CScriptActorCFv +GetTouchBounds__12CScriptActorCFv: +/* 80075788 000726E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007578C 000726EC 7C 08 02 A6 */ mflr r0 +/* 80075790 000726F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80075794 000726F4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80075798 000726F8 7C 7F 1B 78 */ mr r31, r3 +/* 8007579C 000726FC 88 04 00 30 */ lbz r0, 0x30(r4) +/* 800757A0 00072700 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800757A4 00072704 41 82 00 78 */ beq lbl_8007581C +/* 800757A8 00072708 80 04 00 68 */ lwz r0, 0x68(r4) +/* 800757AC 0007270C 38 A0 00 00 */ li r5, 0 +/* 800757B0 00072710 80 C4 00 6C */ lwz r6, 0x6c(r4) +/* 800757B4 00072714 3C 60 00 08 */ lis r3, 8 +/* 800757B8 00072718 7C 00 28 38 */ and r0, r0, r5 +/* 800757BC 0007271C 7C C3 18 38 */ and r3, r6, r3 +/* 800757C0 00072720 7C 63 2A 78 */ xor r3, r3, r5 +/* 800757C4 00072724 7C 00 2A 78 */ xor r0, r0, r5 +/* 800757C8 00072728 7C 60 03 79 */ or. r0, r3, r0 +/* 800757CC 0007272C 41 82 00 50 */ beq lbl_8007581C +/* 800757D0 00072730 38 61 00 08 */ addi r3, r1, 8 +/* 800757D4 00072734 48 0A 51 59 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 800757D8 00072738 38 00 00 01 */ li r0, 1 +/* 800757DC 0007273C 28 1F 00 00 */ cmplwi r31, 0 +/* 800757E0 00072740 98 1F 00 18 */ stb r0, 0x18(r31) +/* 800757E4 00072744 41 82 00 40 */ beq lbl_80075824 +/* 800757E8 00072748 C0 01 00 08 */ lfs f0, 8(r1) +/* 800757EC 0007274C D0 1F 00 00 */ stfs f0, 0(r31) +/* 800757F0 00072750 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800757F4 00072754 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800757F8 00072758 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800757FC 0007275C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80075800 00072760 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80075804 00072764 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80075808 00072768 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8007580C 0007276C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80075810 00072770 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80075814 00072774 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80075818 00072778 48 00 00 0C */ b lbl_80075824 +lbl_8007581C: +/* 8007581C 0007277C 38 00 00 00 */ li r0, 0 +/* 80075820 00072780 98 1F 00 18 */ stb r0, 0x18(r31) +lbl_80075824: +/* 80075824 00072784 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80075828 00072788 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007582C 0007278C 7C 08 03 A6 */ mtlr r0 +/* 80075830 00072790 38 21 00 30 */ addi r1, r1, 0x30 +/* 80075834 00072794 4E 80 00 20 */ blr + +.global Touch__12CScriptActorFR6CActorR13CStateManager +Touch__12CScriptActorFR6CActorR13CStateManager: +/* 80075838 00072798 4E 80 00 20 */ blr + +.global GetDamageVulnerability__12CScriptActorCFv +GetDamageVulnerability__12CScriptActorCFv: +/* 8007583C 0007279C 38 63 02 68 */ addi r3, r3, 0x268 +/* 80075840 000727A0 4E 80 00 20 */ blr + +.global GetHealthInfo__12CScriptActorCFRC13CStateManager +GetHealthInfo__12CScriptActorCFRC13CStateManager: +/* 80075844 000727A4 38 63 02 60 */ addi r3, r3, 0x260 +/* 80075848 000727A8 4E 80 00 20 */ blr + +.global __dt__12CScriptActorFv +__dt__12CScriptActorFv: +/* 8007584C 000727AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80075850 000727B0 7C 08 02 A6 */ mflr r0 +/* 80075854 000727B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80075858 000727B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007585C 000727BC 7C 9F 23 78 */ mr r31, r4 +/* 80075860 000727C0 93 C1 00 08 */ stw r30, 8(r1) +/* 80075864 000727C4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80075868 000727C8 41 82 00 28 */ beq lbl_80075890 +/* 8007586C 000727CC 3C A0 80 3E */ lis r5, lbl_803DA450@ha +/* 80075870 000727D0 38 80 00 00 */ li r4, 0 +/* 80075874 000727D4 38 05 A4 50 */ addi r0, r5, lbl_803DA450@l +/* 80075878 000727D8 90 1E 00 00 */ stw r0, 0(r30) +/* 8007587C 000727DC 48 0A 6B 99 */ bl __dt__13CPhysicsActorFv +/* 80075880 000727E0 7F E0 07 35 */ extsh. r0, r31 +/* 80075884 000727E4 40 81 00 0C */ ble lbl_80075890 +/* 80075888 000727E8 7F C3 F3 78 */ mr r3, r30 +/* 8007588C 000727EC 48 2A 00 A5 */ bl Free__7CMemoryFPCv +lbl_80075890: +/* 80075890 000727F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80075894 000727F4 7F C3 F3 78 */ mr r3, r30 +/* 80075898 000727F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007589C 000727FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800758A0 00072800 7C 08 03 A6 */ mtlr r0 +/* 800758A4 00072804 38 21 00 10 */ addi r1, r1, 0x10 +/* 800758A8 00072808 4E 80 00 20 */ blr + +.global "__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb" +"__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb": +/* 800758AC 0007280C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 800758B0 00072810 7C 08 02 A6 */ mflr r0 +/* 800758B4 00072814 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 800758B8 00072818 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 800758BC 0007281C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 800758C0 00072820 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 800758C4 00072824 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 800758C8 00072828 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 800758CC 0007282C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 800758D0 00072830 BD C1 00 58 */ stmw r14, 0x58(r1) +/* 800758D4 00072834 FF A0 08 90 */ fmr f29, f1 +/* 800758D8 00072838 82 E1 00 D8 */ lwz r23, 0xd8(r1) +/* 800758DC 0007283C FF C0 10 90 */ fmr f30, f2 +/* 800758E0 00072840 83 01 00 DC */ lwz r24, 0xdc(r1) +/* 800758E4 00072844 FF E0 18 90 */ fmr f31, f3 +/* 800758E8 00072848 83 21 00 E0 */ lwz r25, 0xe0(r1) +/* 800758EC 0007284C 8B 41 00 EB */ lbz r26, 0xeb(r1) +/* 800758F0 00072850 7C 6F 1B 78 */ mr r15, r3 +/* 800758F4 00072854 83 61 00 EC */ lwz r27, 0xec(r1) +/* 800758F8 00072858 7C 90 23 78 */ mr r16, r4 +/* 800758FC 0007285C 8B 81 00 F3 */ lbz r28, 0xf3(r1) +/* 80075900 00072860 7C B1 2B 78 */ mr r17, r5 +/* 80075904 00072864 8B A1 00 F7 */ lbz r29, 0xf7(r1) +/* 80075908 00072868 7C D2 33 78 */ mr r18, r6 +/* 8007590C 0007286C 8B C1 00 FB */ lbz r30, 0xfb(r1) +/* 80075910 00072870 7C F3 3B 78 */ mr r19, r7 +/* 80075914 00072874 89 C1 00 FF */ lbz r14, 0xff(r1) +/* 80075918 00072878 7D 14 43 78 */ mr r20, r8 +/* 8007591C 0007287C 7D 35 4B 78 */ mr r21, r9 +/* 80075920 00072880 7D 56 53 78 */ mr r22, r10 +/* 80075924 00072884 4B FA 5C 11 */ bl Identity__10CAxisAngleFv +/* 80075928 00072888 7C 7F 1B 78 */ mr r31, r3 +/* 8007592C 0007288C 4B FA 5C 09 */ bl Identity__10CAxisAngleFv +/* 80075930 00072890 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80075934 00072894 C4 64 66 A0 */ lfsu f3, skZero3f@l(r4) +/* 80075938 00072898 A1 70 00 00 */ lhz r11, 0(r16) +/* 8007593C 0007289C 38 01 00 1C */ addi r0, r1, 0x1c +/* 80075940 000728A0 C0 84 00 04 */ lfs f4, 4(r4) +/* 80075944 000728A4 7F 45 D3 78 */ mr r5, r26 +/* 80075948 000728A8 C0 A4 00 08 */ lfs f5, 8(r4) +/* 8007594C 000728AC 7E 26 8B 78 */ mr r6, r17 +/* 80075950 000728B0 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80075954 000728B4 7E 47 93 78 */ mr r7, r18 +/* 80075958 000728B8 C0 22 88 BC */ lfs f1, lbl_805AA5DC@sda21(r2) +/* 8007595C 000728BC 7E 68 9B 78 */ mr r8, r19 +/* 80075960 000728C0 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 80075964 000728C4 7E 89 A3 78 */ mr r9, r20 +/* 80075968 000728C8 C0 42 88 C0 */ lfs f2, lbl_805AA5E0@sda21(r2) +/* 8007596C 000728CC 7E CA B3 78 */ mr r10, r22 +/* 80075970 000728D0 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80075974 000728D4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80075978 000728D8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8007597C 000728DC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80075980 000728E0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80075984 000728E4 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80075988 000728E8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8007598C 000728EC 7D E3 7B 78 */ mr r3, r15 +/* 80075990 000728F0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80075994 000728F4 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80075998 000728F8 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 8007599C 000728FC D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 800759A0 00072900 C0 1F 00 00 */ lfs f0, 0(r31) +/* 800759A4 00072904 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800759A8 00072908 C0 1F 00 04 */ lfs f0, 4(r31) +/* 800759AC 0007290C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800759B0 00072910 C0 1F 00 08 */ lfs f0, 8(r31) +/* 800759B4 00072914 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800759B8 00072918 D3 A1 00 4C */ stfs f29, 0x4c(r1) +/* 800759BC 0007291C B1 61 00 18 */ sth r11, 0x18(r1) +/* 800759C0 00072920 92 A1 00 08 */ stw r21, 8(r1) +/* 800759C4 00072924 90 01 00 0C */ stw r0, 0xc(r1) +/* 800759C8 00072928 93 21 00 10 */ stw r25, 0x10(r1) +/* 800759CC 0007292C 48 0A 6A E5 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 800759D0 00072930 3C 60 80 3E */ lis r3, lbl_803DA450@ha +/* 800759D4 00072934 C0 02 88 B0 */ lfs f0, lbl_805AA5D0@sda21(r2) +/* 800759D8 00072938 38 03 A4 50 */ addi r0, r3, lbl_803DA450@l +/* 800759DC 0007293C 38 80 00 00 */ li r4, 0 +/* 800759E0 00072940 90 0F 00 00 */ stw r0, 0(r15) +/* 800759E4 00072944 EC 3F 00 28 */ fsubs f1, f31, f0 +/* 800759E8 00072948 C8 02 88 C8 */ lfd f0, lbl_805AA5E8@sda21(r2) +/* 800759EC 0007294C 38 60 00 01 */ li r3, 1 +/* 800759F0 00072950 C0 57 00 00 */ lfs f2, 0(r23) +/* 800759F4 00072954 FC 60 0A 10 */ fabs f3, f1 +/* 800759F8 00072958 D0 4F 02 58 */ stfs f2, 0x258(r15) +/* 800759FC 0007295C C0 37 00 04 */ lfs f1, 4(r23) +/* 80075A00 00072960 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80075A04 00072964 D0 2F 02 5C */ stfs f1, 0x25c(r15) +/* 80075A08 00072968 C0 17 00 00 */ lfs f0, 0(r23) +/* 80075A0C 0007296C D0 0F 02 60 */ stfs f0, 0x260(r15) +/* 80075A10 00072970 C0 17 00 04 */ lfs f0, 4(r23) +/* 80075A14 00072974 D0 0F 02 64 */ stfs f0, 0x264(r15) +/* 80075A18 00072978 80 B8 00 00 */ lwz r5, 0(r24) +/* 80075A1C 0007297C 80 18 00 04 */ lwz r0, 4(r24) +/* 80075A20 00072980 90 AF 02 68 */ stw r5, 0x268(r15) +/* 80075A24 00072984 90 0F 02 6C */ stw r0, 0x26c(r15) +/* 80075A28 00072988 80 B8 00 08 */ lwz r5, 8(r24) +/* 80075A2C 0007298C 80 18 00 0C */ lwz r0, 0xc(r24) +/* 80075A30 00072990 90 AF 02 70 */ stw r5, 0x270(r15) +/* 80075A34 00072994 90 0F 02 74 */ stw r0, 0x274(r15) +/* 80075A38 00072998 80 B8 00 10 */ lwz r5, 0x10(r24) +/* 80075A3C 0007299C 80 18 00 14 */ lwz r0, 0x14(r24) +/* 80075A40 000729A0 90 AF 02 78 */ stw r5, 0x278(r15) +/* 80075A44 000729A4 90 0F 02 7C */ stw r0, 0x27c(r15) +/* 80075A48 000729A8 80 B8 00 18 */ lwz r5, 0x18(r24) +/* 80075A4C 000729AC 80 18 00 1C */ lwz r0, 0x1c(r24) +/* 80075A50 000729B0 90 AF 02 80 */ stw r5, 0x280(r15) +/* 80075A54 000729B4 90 0F 02 84 */ stw r0, 0x284(r15) +/* 80075A58 000729B8 80 B8 00 20 */ lwz r5, 0x20(r24) +/* 80075A5C 000729BC 80 18 00 24 */ lwz r0, 0x24(r24) +/* 80075A60 000729C0 90 AF 02 88 */ stw r5, 0x288(r15) +/* 80075A64 000729C4 90 0F 02 8C */ stw r0, 0x28c(r15) +/* 80075A68 000729C8 80 B8 00 28 */ lwz r5, 0x28(r24) +/* 80075A6C 000729CC 80 18 00 2C */ lwz r0, 0x2c(r24) +/* 80075A70 000729D0 90 AF 02 90 */ stw r5, 0x290(r15) +/* 80075A74 000729D4 90 0F 02 94 */ stw r0, 0x294(r15) +/* 80075A78 000729D8 80 B8 00 30 */ lwz r5, 0x30(r24) +/* 80075A7C 000729DC 80 18 00 34 */ lwz r0, 0x34(r24) +/* 80075A80 000729E0 90 AF 02 98 */ stw r5, 0x298(r15) +/* 80075A84 000729E4 90 0F 02 9C */ stw r0, 0x29c(r15) +/* 80075A88 000729E8 80 18 00 38 */ lwz r0, 0x38(r24) +/* 80075A8C 000729EC 90 0F 02 A0 */ stw r0, 0x2a0(r15) +/* 80075A90 000729F0 80 B8 00 3C */ lwz r5, 0x3c(r24) +/* 80075A94 000729F4 80 18 00 40 */ lwz r0, 0x40(r24) +/* 80075A98 000729F8 90 AF 02 A4 */ stw r5, 0x2a4(r15) +/* 80075A9C 000729FC 90 0F 02 A8 */ stw r0, 0x2a8(r15) +/* 80075AA0 00072A00 80 B8 00 44 */ lwz r5, 0x44(r24) +/* 80075AA4 00072A04 80 18 00 48 */ lwz r0, 0x48(r24) +/* 80075AA8 00072A08 90 AF 02 AC */ stw r5, 0x2ac(r15) +/* 80075AAC 00072A0C 90 0F 02 B0 */ stw r0, 0x2b0(r15) +/* 80075AB0 00072A10 80 B8 00 4C */ lwz r5, 0x4c(r24) +/* 80075AB4 00072A14 80 18 00 50 */ lwz r0, 0x50(r24) +/* 80075AB8 00072A18 90 AF 02 B4 */ stw r5, 0x2b4(r15) +/* 80075ABC 00072A1C 90 0F 02 B8 */ stw r0, 0x2b8(r15) +/* 80075AC0 00072A20 80 B8 00 54 */ lwz r5, 0x54(r24) +/* 80075AC4 00072A24 80 18 00 58 */ lwz r0, 0x58(r24) +/* 80075AC8 00072A28 90 AF 02 BC */ stw r5, 0x2bc(r15) +/* 80075ACC 00072A2C 90 0F 02 C0 */ stw r0, 0x2c0(r15) +/* 80075AD0 00072A30 80 18 00 5C */ lwz r0, 0x5c(r24) +/* 80075AD4 00072A34 90 0F 02 C4 */ stw r0, 0x2c4(r15) +/* 80075AD8 00072A38 80 18 00 60 */ lwz r0, 0x60(r24) +/* 80075ADC 00072A3C 90 0F 02 C8 */ stw r0, 0x2c8(r15) +/* 80075AE0 00072A40 80 18 00 64 */ lwz r0, 0x64(r24) +/* 80075AE4 00072A44 90 0F 02 CC */ stw r0, 0x2cc(r15) +/* 80075AE8 00072A48 C0 19 00 5C */ lfs f0, 0x5c(r25) +/* 80075AEC 00072A4C D0 0F 02 D0 */ stfs f0, 0x2d0(r15) +/* 80075AF0 00072A50 C0 19 00 60 */ lfs f0, 0x60(r25) +/* 80075AF4 00072A54 D0 0F 02 D4 */ stfs f0, 0x2d4(r15) +/* 80075AF8 00072A58 93 6F 02 D8 */ stw r27, 0x2d8(r15) +/* 80075AFC 00072A5C D3 EF 02 DC */ stfs f31, 0x2dc(r15) +/* 80075B00 00072A60 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80075B04 00072A64 B0 0F 02 E0 */ sth r0, 0x2e0(r15) +/* 80075B08 00072A68 88 0F 02 E2 */ lbz r0, 0x2e2(r15) +/* 80075B0C 00072A6C 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18 +/* 80075B10 00072A70 98 0F 02 E2 */ stb r0, 0x2e2(r15) +/* 80075B14 00072A74 88 0F 02 E2 */ lbz r0, 0x2e2(r15) +/* 80075B18 00072A78 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80075B1C 00072A7C 98 0F 02 E2 */ stb r0, 0x2e2(r15) +/* 80075B20 00072A80 88 0F 02 E2 */ lbz r0, 0x2e2(r15) +/* 80075B24 00072A84 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80075B28 00072A88 98 0F 02 E2 */ stb r0, 0x2e2(r15) +/* 80075B2C 00072A8C 7C 00 00 26 */ mfcr r0 +/* 80075B30 00072A90 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80075B34 00072A94 7C 03 00 34 */ cntlzw r3, r0 +/* 80075B38 00072A98 88 0F 02 E2 */ lbz r0, 0x2e2(r15) +/* 80075B3C 00072A9C 50 60 FE F6 */ rlwimi r0, r3, 0x1f, 0x1b, 0x1b +/* 80075B40 00072AA0 98 0F 02 E2 */ stb r0, 0x2e2(r15) +/* 80075B44 00072AA4 88 0F 02 E2 */ lbz r0, 0x2e2(r15) +/* 80075B48 00072AA8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80075B4C 00072AAC 98 0F 02 E2 */ stb r0, 0x2e2(r15) +/* 80075B50 00072AB0 88 6F 02 E2 */ lbz r3, 0x2e2(r15) +/* 80075B54 00072AB4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80075B58 00072AB8 40 82 00 18 */ bne lbl_80075B70 +/* 80075B5C 00072ABC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80075B60 00072AC0 40 82 00 10 */ bne lbl_80075B70 +/* 80075B64 00072AC4 80 0F 02 D8 */ lwz r0, 0x2d8(r15) +/* 80075B68 00072AC8 2C 00 00 00 */ cmpwi r0, 0 +/* 80075B6C 00072ACC 41 82 00 08 */ beq lbl_80075B74 +lbl_80075B70: +/* 80075B70 00072AD0 38 80 00 01 */ li r4, 1 +lbl_80075B74: +/* 80075B74 00072AD4 88 0F 02 E2 */ lbz r0, 0x2e2(r15) +/* 80075B78 00072AD8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80075B7C 00072ADC 38 80 00 00 */ li r4, 0 +/* 80075B80 00072AE0 7D E3 7B 78 */ mr r3, r15 +/* 80075B84 00072AE4 98 0F 02 E2 */ stb r0, 0x2e2(r15) +/* 80075B88 00072AE8 88 0F 02 E2 */ lbz r0, 0x2e2(r15) +/* 80075B8C 00072AEC 53 C0 0F BC */ rlwimi r0, r30, 1, 0x1e, 0x1e +/* 80075B90 00072AF0 98 0F 02 E2 */ stb r0, 0x2e2(r15) +/* 80075B94 00072AF4 88 0F 02 E2 */ lbz r0, 0x2e2(r15) +/* 80075B98 00072AF8 51 C0 07 FE */ rlwimi r0, r14, 0, 0x1f, 0x1f +/* 80075B9C 00072AFC 98 0F 02 E2 */ stb r0, 0x2e2(r15) +/* 80075BA0 00072B00 88 0F 02 E3 */ lbz r0, 0x2e3(r15) +/* 80075BA4 00072B04 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80075BA8 00072B08 98 0F 02 E3 */ stb r0, 0x2e3(r15) +/* 80075BAC 00072B0C 80 AF 00 64 */ lwz r5, 0x64(r15) +/* 80075BB0 00072B10 28 05 00 00 */ cmplwi r5, 0 +/* 80075BB4 00072B14 41 82 00 20 */ beq lbl_80075BD4 +/* 80075BB8 00072B18 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80075BBC 00072B1C 28 00 00 00 */ cmplwi r0, 0 +/* 80075BC0 00072B20 40 82 00 10 */ bne lbl_80075BD0 +/* 80075BC4 00072B24 88 05 00 28 */ lbz r0, 0x28(r5) +/* 80075BC8 00072B28 28 00 00 00 */ cmplwi r0, 0 +/* 80075BCC 00072B2C 41 82 00 08 */ beq lbl_80075BD4 +lbl_80075BD0: +/* 80075BD0 00072B30 38 80 00 01 */ li r4, 1 +lbl_80075BD4: +/* 80075BD4 00072B34 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80075BD8 00072B38 41 82 00 44 */ beq lbl_80075C1C +/* 80075BDC 00072B3C 28 1D 00 00 */ cmplwi r29, 0 +/* 80075BE0 00072B40 41 82 00 0C */ beq lbl_80075BEC +/* 80075BE4 00072B44 38 80 00 01 */ li r4, 1 +/* 80075BE8 00072B48 4B FD D1 85 */ bl CreateShadow__6CActorFb +lbl_80075BEC: +/* 80075BEC 00072B4C 80 6F 00 64 */ lwz r3, 0x64(r15) +/* 80075BF0 00072B50 38 80 00 00 */ li r4, 0 +/* 80075BF4 00072B54 28 03 00 00 */ cmplwi r3, 0 +/* 80075BF8 00072B58 41 82 00 14 */ beq lbl_80075C0C +/* 80075BFC 00072B5C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80075C00 00072B60 28 00 00 00 */ cmplwi r0, 0 +/* 80075C04 00072B64 41 82 00 08 */ beq lbl_80075C0C +/* 80075C08 00072B68 38 80 00 01 */ li r4, 1 +lbl_80075C0C: +/* 80075C0C 00072B6C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80075C10 00072B70 41 82 00 0C */ beq lbl_80075C1C +/* 80075C14 00072B74 88 81 00 E7 */ lbz r4, 0xe7(r1) +/* 80075C18 00072B78 48 09 F9 49 */ bl EnableLooping__10CModelDataFb +lbl_80075C1C: +/* 80075C1C 00072B7C C0 22 88 B8 */ lfs f1, lbl_805AA5D8@sda21(r2) +/* 80075C20 00072B80 FC 00 F0 50 */ fneg f0, f30 +/* 80075C24 00072B84 7D E3 7B 78 */ mr r3, r15 +/* 80075C28 00072B88 D0 2F 01 50 */ stfs f1, 0x150(r15) +/* 80075C2C 00072B8C D0 2F 01 54 */ stfs f1, 0x154(r15) +/* 80075C30 00072B90 D0 0F 01 58 */ stfs f0, 0x158(r15) +/* 80075C34 00072B94 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80075C38 00072B98 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80075C3C 00072B9C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80075C40 00072BA0 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80075C44 00072BA4 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 80075C48 00072BA8 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 80075C4C 00072BAC B9 C1 00 58 */ lmw r14, 0x58(r1) +/* 80075C50 00072BB0 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80075C54 00072BB4 7C 08 03 A6 */ mtlr r0 +/* 80075C58 00072BB8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80075C5C 00072BBC 4E 80 00 20 */ blr + +.global InhabitantRejected__14CScriptTriggerFR6CActorR13CStateManager +InhabitantRejected__14CScriptTriggerFR6CActorR13CStateManager: +/* 80075C60 00072BC0 4E 80 00 20 */ blr + +.global InhabitantExited__14CScriptTriggerFR6CActorR13CStateManager +InhabitantExited__14CScriptTriggerFR6CActorR13CStateManager: +/* 80075C64 00072BC4 4E 80 00 20 */ blr + +.global InhabitantIdle__14CScriptTriggerFR6CActorR13CStateManager +InhabitantIdle__14CScriptTriggerFR6CActorR13CStateManager: +/* 80075C68 00072BC8 4E 80 00 20 */ blr + +.global InhabitantAdded__14CScriptTriggerFR6CActorR13CStateManager +InhabitantAdded__14CScriptTriggerFR6CActorR13CStateManager: +/* 80075C6C 00072BCC 4E 80 00 20 */ blr + +.global Accept__14CScriptTriggerFR8IVisitor +Accept__14CScriptTriggerFR8IVisitor: +/* 80075C70 00072BD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80075C74 00072BD4 7C 08 02 A6 */ mflr r0 +/* 80075C78 00072BD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80075C7C 00072BDC 7C 60 1B 78 */ mr r0, r3 +/* 80075C80 00072BE0 7C 83 23 78 */ mr r3, r4 +/* 80075C84 00072BE4 81 84 00 00 */ lwz r12, 0(r4) +/* 80075C88 00072BE8 7C 04 03 78 */ mr r4, r0 +/* 80075C8C 00072BEC 81 8C 00 CC */ lwz r12, 0xcc(r12) +/* 80075C90 00072BF0 7D 89 03 A6 */ mtctr r12 +/* 80075C94 00072BF4 4E 80 04 21 */ bctrl +/* 80075C98 00072BF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80075C9C 00072BFC 7C 08 03 A6 */ mtlr r0 +/* 80075CA0 00072C00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80075CA4 00072C04 4E 80 00 20 */ blr + +.global FindObject__14CScriptTriggerF9TUniqueId +FindObject__14CScriptTriggerF9TUniqueId: +/* 80075CA8 00072C08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80075CAC 00072C0C 7C 08 02 A6 */ mflr r0 +/* 80075CB0 00072C10 90 01 00 24 */ stw r0, 0x24(r1) +/* 80075CB4 00072C14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80075CB8 00072C18 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80075CBC 00072C1C 7C 9E 23 78 */ mr r30, r4 +/* 80075CC0 00072C20 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80075CC4 00072C24 7C 7D 1B 78 */ mr r29, r3 +/* 80075CC8 00072C28 48 00 00 5D */ bl GetInhabitants__14CScriptTriggerCFv +/* 80075CCC 00072C2C 83 E3 00 04 */ lwz r31, 4(r3) +/* 80075CD0 00072C30 48 00 00 20 */ b lbl_80075CF0 +lbl_80075CD4: +/* 80075CD4 00072C34 A0 7F 00 08 */ lhz r3, 8(r31) +/* 80075CD8 00072C38 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80075CDC 00072C3C 7C 03 00 40 */ cmplw r3, r0 +/* 80075CE0 00072C40 40 82 00 0C */ bne lbl_80075CEC +/* 80075CE4 00072C44 38 7F 00 08 */ addi r3, r31, 8 +/* 80075CE8 00072C48 48 00 00 20 */ b lbl_80075D08 +lbl_80075CEC: +/* 80075CEC 00072C4C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80075CF0: +/* 80075CF0 00072C50 7F A3 EB 78 */ mr r3, r29 +/* 80075CF4 00072C54 48 00 00 31 */ bl GetInhabitants__14CScriptTriggerCFv +/* 80075CF8 00072C58 80 03 00 08 */ lwz r0, 8(r3) +/* 80075CFC 00072C5C 7C 1F 00 40 */ cmplw r31, r0 +/* 80075D00 00072C60 40 82 FF D4 */ bne lbl_80075CD4 +/* 80075D04 00072C64 38 60 00 00 */ li r3, 0 +lbl_80075D08: +/* 80075D08 00072C68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80075D0C 00072C6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80075D10 00072C70 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80075D14 00072C74 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80075D18 00072C78 7C 08 03 A6 */ mtlr r0 +/* 80075D1C 00072C7C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80075D20 00072C80 4E 80 00 20 */ blr + +.global GetInhabitants__14CScriptTriggerCFv +GetInhabitants__14CScriptTriggerCFv: +/* 80075D24 00072C84 38 63 00 E8 */ addi r3, r3, 0xe8 +/* 80075D28 00072C88 4E 80 00 20 */ blr + +.global UpdateInhabitants__14CScriptTriggerFR13CStateManager +UpdateInhabitants__14CScriptTriggerFR13CStateManager: +/* 80075D2C 00072C8C 94 21 FE 50 */ stwu r1, -0x1b0(r1) +/* 80075D30 00072C90 7C 08 02 A6 */ mflr r0 +/* 80075D34 00072C94 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 80075D38 00072C98 DB E1 01 A0 */ stfd f31, 0x1a0(r1) +/* 80075D3C 00072C9C F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 +/* 80075D40 00072CA0 DB C1 01 90 */ stfd f30, 0x190(r1) +/* 80075D44 00072CA4 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 +/* 80075D48 00072CA8 BF 01 01 70 */ stmw r24, 0x170(r1) +/* 80075D4C 00072CAC 38 00 00 00 */ li r0, 0 +/* 80075D50 00072CB0 7C 7D 1B 78 */ mr r29, r3 +/* 80075D54 00072CB4 98 01 01 68 */ stb r0, 0x168(r1) +/* 80075D58 00072CB8 FF E0 08 90 */ fmr f31, f1 +/* 80075D5C 00072CBC 7C 9E 23 78 */ mr r30, r4 +/* 80075D60 00072CC0 3B 80 00 00 */ li r28, 0 +/* 80075D64 00072CC4 83 23 00 EC */ lwz r25, 0xec(r3) +/* 80075D68 00072CC8 3B E0 00 00 */ li r31, 0 +/* 80075D6C 00072CCC 48 00 05 74 */ b lbl_800762E0 +lbl_80075D70: +/* 80075D70 00072CD0 A0 19 00 08 */ lhz r0, 8(r25) +/* 80075D74 00072CD4 7F C3 F3 78 */ mr r3, r30 +/* 80075D78 00072CD8 83 79 00 04 */ lwz r27, 4(r25) +/* 80075D7C 00072CDC 38 81 00 40 */ addi r4, r1, 0x40 +/* 80075D80 00072CE0 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 80075D84 00072CE4 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80075D88 00072CE8 4B FD 67 ED */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80075D8C 00072CEC 7C 64 1B 78 */ mr r4, r3 +/* 80075D90 00072CF0 38 61 00 54 */ addi r3, r1, 0x54 +/* 80075D94 00072CF4 48 03 9E FD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80075D98 00072CF8 83 43 00 04 */ lwz r26, 4(r3) +/* 80075D9C 00072CFC 28 1A 00 00 */ cmplwi r26, 0 +/* 80075DA0 00072D00 41 82 04 C4 */ beq lbl_80076264 +/* 80075DA4 00072D04 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80075DA8 00072D08 3B 00 00 01 */ li r24, 1 +/* 80075DAC 00072D0C A0 79 00 08 */ lhz r3, 8(r25) +/* 80075DB0 00072D10 A0 04 00 08 */ lhz r0, 8(r4) +/* 80075DB4 00072D14 7C 03 00 40 */ cmplw r3, r0 +/* 80075DB8 00072D18 40 82 00 C8 */ bne lbl_80075E80 +/* 80075DBC 00072D1C 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80075DC0 00072D20 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 80075DC4 00072D24 40 82 00 30 */ bne lbl_80075DF4 +/* 80075DC8 00072D28 80 84 02 F8 */ lwz r4, 0x2f8(r4) +/* 80075DCC 00072D2C 2C 04 00 01 */ cmpwi r4, 1 +/* 80075DD0 00072D30 40 82 00 10 */ bne lbl_80075DE0 +/* 80075DD4 00072D34 54 60 03 DF */ rlwinm. r0, r3, 0, 0xf, 0xf +/* 80075DD8 00072D38 41 82 00 08 */ beq lbl_80075DE0 +/* 80075DDC 00072D3C 3B 00 00 00 */ li r24, 0 +lbl_80075DE0: +/* 80075DE0 00072D40 2C 04 00 00 */ cmpwi r4, 0 +/* 80075DE4 00072D44 40 82 00 10 */ bne lbl_80075DF4 +/* 80075DE8 00072D48 54 60 04 E7 */ rlwinm. r0, r3, 0, 0x13, 0x13 +/* 80075DEC 00072D4C 41 82 00 08 */ beq lbl_80075DF4 +/* 80075DF0 00072D50 3B 00 00 00 */ li r24, 0 +lbl_80075DF4: +/* 80075DF4 00072D54 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80075DF8 00072D58 40 82 00 88 */ bne lbl_80075E80 +/* 80075DFC 00072D5C 7F 24 CB 78 */ mr r4, r25 +/* 80075E00 00072D60 38 7D 00 E8 */ addi r3, r29, 0xe8 +/* 80075E04 00072D64 48 00 11 75 */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" +/* 80075E08 00072D68 88 7D 01 48 */ lbz r3, 0x148(r29) +/* 80075E0C 00072D6C 3B E0 00 01 */ li r31, 1 +/* 80075E10 00072D70 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80075E14 00072D74 41 82 00 50 */ beq lbl_80075E64 +/* 80075E18 00072D78 38 00 00 00 */ li r0, 0 +/* 80075E1C 00072D7C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 80075E20 00072D80 98 7D 01 48 */ stb r3, 0x148(r29) +/* 80075E24 00072D84 88 1D 01 48 */ lbz r0, 0x148(r29) +/* 80075E28 00072D88 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80075E2C 00072D8C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80075E30 00072D90 41 82 00 18 */ beq lbl_80075E48 +/* 80075E34 00072D94 4B F9 BB 11 */ bl DecrementPhazon__7CPlayerFv +/* 80075E38 00072D98 88 1D 01 48 */ lbz r0, 0x148(r29) +/* 80075E3C 00072D9C 38 60 00 00 */ li r3, 0 +/* 80075E40 00072DA0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80075E44 00072DA4 98 1D 01 48 */ stb r0, 0x148(r29) +lbl_80075E48: +/* 80075E48 00072DA8 A0 7E 0F 74 */ lhz r3, 0xf74(r30) +/* 80075E4C 00072DAC A0 1D 00 08 */ lhz r0, 8(r29) +/* 80075E50 00072DB0 7C 03 00 40 */ cmplw r3, r0 +/* 80075E54 00072DB4 40 82 00 10 */ bne lbl_80075E64 +/* 80075E58 00072DB8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80075E5C 00072DBC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80075E60 00072DC0 B0 1E 0F 74 */ sth r0, 0xf74(r30) +lbl_80075E64: +/* 80075E64 00072DC4 7F A3 EB 78 */ mr r3, r29 +/* 80075E68 00072DC8 7F 44 D3 78 */ mr r4, r26 +/* 80075E6C 00072DCC 81 9D 00 00 */ lwz r12, 0(r29) +/* 80075E70 00072DD0 7F C5 F3 78 */ mr r5, r30 +/* 80075E74 00072DD4 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80075E78 00072DD8 7D 89 03 A6 */ mtctr r12 +/* 80075E7C 00072DDC 4E 80 04 21 */ bctrl +lbl_80075E80: +/* 80075E80 00072DE0 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80075E84 00072DE4 41 82 04 58 */ beq lbl_800762DC +/* 80075E88 00072DE8 7F A4 EB 78 */ mr r4, r29 +/* 80075E8C 00072DEC 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80075E90 00072DF0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80075E94 00072DF4 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80075E98 00072DF8 7D 89 03 A6 */ mtctr r12 +/* 80075E9C 00072DFC 4E 80 04 21 */ bctrl +/* 80075EA0 00072E00 88 01 01 10 */ lbz r0, 0x110(r1) +/* 80075EA4 00072E04 28 00 00 00 */ cmplwi r0, 0 +/* 80075EA8 00072E08 98 01 01 48 */ stb r0, 0x148(r1) +/* 80075EAC 00072E0C 41 82 00 3C */ beq lbl_80075EE8 +/* 80075EB0 00072E10 34 61 01 30 */ addic. r3, r1, 0x130 +/* 80075EB4 00072E14 41 82 00 34 */ beq lbl_80075EE8 +/* 80075EB8 00072E18 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 80075EBC 00072E1C D0 03 00 00 */ stfs f0, 0(r3) +/* 80075EC0 00072E20 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 80075EC4 00072E24 D0 03 00 04 */ stfs f0, 4(r3) +/* 80075EC8 00072E28 C0 01 01 00 */ lfs f0, 0x100(r1) +/* 80075ECC 00072E2C D0 03 00 08 */ stfs f0, 8(r3) +/* 80075ED0 00072E30 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 80075ED4 00072E34 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80075ED8 00072E38 C0 01 01 08 */ lfs f0, 0x108(r1) +/* 80075EDC 00072E3C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80075EE0 00072E40 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 80075EE4 00072E44 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80075EE8: +/* 80075EE8 00072E48 38 00 00 00 */ li r0, 0 +/* 80075EEC 00072E4C 7F 44 D3 78 */ mr r4, r26 +/* 80075EF0 00072E50 98 01 01 10 */ stb r0, 0x110(r1) +/* 80075EF4 00072E54 38 61 00 DC */ addi r3, r1, 0xdc +/* 80075EF8 00072E58 81 9A 00 00 */ lwz r12, 0(r26) +/* 80075EFC 00072E5C 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80075F00 00072E60 7D 89 03 A6 */ mtctr r12 +/* 80075F04 00072E64 4E 80 04 21 */ bctrl +/* 80075F08 00072E68 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 80075F0C 00072E6C 28 00 00 00 */ cmplwi r0, 0 +/* 80075F10 00072E70 98 01 01 2C */ stb r0, 0x12c(r1) +/* 80075F14 00072E74 41 82 00 3C */ beq lbl_80075F50 +/* 80075F18 00072E78 34 61 01 14 */ addic. r3, r1, 0x114 +/* 80075F1C 00072E7C 41 82 00 34 */ beq lbl_80075F50 +/* 80075F20 00072E80 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80075F24 00072E84 D0 03 00 00 */ stfs f0, 0(r3) +/* 80075F28 00072E88 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 80075F2C 00072E8C D0 03 00 04 */ stfs f0, 4(r3) +/* 80075F30 00072E90 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 80075F34 00072E94 D0 03 00 08 */ stfs f0, 8(r3) +/* 80075F38 00072E98 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 80075F3C 00072E9C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80075F40 00072EA0 C0 01 00 EC */ lfs f0, 0xec(r1) +/* 80075F44 00072EA4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80075F48 00072EA8 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 80075F4C 00072EAC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80075F50: +/* 80075F50 00072EB0 88 01 01 48 */ lbz r0, 0x148(r1) +/* 80075F54 00072EB4 38 60 00 00 */ li r3, 0 +/* 80075F58 00072EB8 98 61 00 F4 */ stb r3, 0xf4(r1) +/* 80075F5C 00072EBC 28 00 00 00 */ cmplwi r0, 0 +/* 80075F60 00072EC0 41 82 02 5C */ beq lbl_800761BC +/* 80075F64 00072EC4 88 01 01 2C */ lbz r0, 0x12c(r1) +/* 80075F68 00072EC8 28 00 00 00 */ cmplwi r0, 0 +/* 80075F6C 00072ECC 41 82 02 50 */ beq lbl_800761BC +/* 80075F70 00072ED0 38 61 01 30 */ addi r3, r1, 0x130 +/* 80075F74 00072ED4 38 81 01 14 */ addi r4, r1, 0x114 +/* 80075F78 00072ED8 48 2C 1C 0D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 80075F7C 00072EDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80075F80 00072EE0 41 82 02 3C */ beq lbl_800761BC +/* 80075F84 00072EE4 7F A3 EB 78 */ mr r3, r29 +/* 80075F88 00072EE8 7F 44 D3 78 */ mr r4, r26 +/* 80075F8C 00072EEC 81 9D 00 00 */ lwz r12, 0(r29) +/* 80075F90 00072EF0 7F C5 F3 78 */ mr r5, r30 +/* 80075F94 00072EF4 3B 80 00 01 */ li r28, 1 +/* 80075F98 00072EF8 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80075F9C 00072EFC 7D 89 03 A6 */ mtctr r12 +/* 80075FA0 00072F00 4E 80 04 21 */ bctrl +/* 80075FA4 00072F04 7F 43 D3 78 */ mr r3, r26 +/* 80075FA8 00072F08 7F C4 F3 78 */ mr r4, r30 +/* 80075FAC 00072F0C 81 9A 00 00 */ lwz r12, 0(r26) +/* 80075FB0 00072F10 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80075FB4 00072F14 7D 89 03 A6 */ mtctr r12 +/* 80075FB8 00072F18 4E 80 04 21 */ bctrl +/* 80075FBC 00072F1C 28 03 00 00 */ cmplwi r3, 0 +/* 80075FC0 00072F20 41 82 01 34 */ beq lbl_800760F4 +/* 80075FC4 00072F24 C0 3D 01 08 */ lfs f1, 0x108(r29) +/* 80075FC8 00072F28 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) +/* 80075FCC 00072F2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80075FD0 00072F30 40 81 01 24 */ ble lbl_800760F4 +/* 80075FD4 00072F34 88 01 01 68 */ lbz r0, 0x168(r1) +/* 80075FD8 00072F38 28 00 00 00 */ cmplwi r0, 0 +/* 80075FDC 00072F3C 40 82 00 A4 */ bne lbl_80076080 +/* 80075FE0 00072F40 FC 20 F8 90 */ fmr f1, f31 +/* 80075FE4 00072F44 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80075FE8 00072F48 38 9D 01 00 */ addi r4, r29, 0x100 +/* 80075FEC 00072F4C 48 04 D4 5D */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 80075FF0 00072F50 88 01 01 68 */ lbz r0, 0x168(r1) +/* 80075FF4 00072F54 28 00 00 00 */ cmplwi r0, 0 +/* 80075FF8 00072F58 40 82 00 50 */ bne lbl_80076048 +/* 80075FFC 00072F5C 34 61 01 4C */ addic. r3, r1, 0x14c +/* 80076000 00072F60 41 82 00 3C */ beq lbl_8007603C +/* 80076004 00072F64 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 80076008 00072F68 90 03 00 00 */ stw r0, 0(r3) +/* 8007600C 00072F6C 88 01 00 C4 */ lbz r0, 0xc4(r1) +/* 80076010 00072F70 98 03 00 04 */ stb r0, 4(r3) +/* 80076014 00072F74 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 80076018 00072F78 D0 03 00 08 */ stfs f0, 8(r3) +/* 8007601C 00072F7C C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 80076020 00072F80 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80076024 00072F84 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 80076028 00072F88 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8007602C 00072F8C C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80076030 00072F90 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80076034 00072F94 88 01 00 D8 */ lbz r0, 0xd8(r1) +/* 80076038 00072F98 98 03 00 18 */ stb r0, 0x18(r3) +lbl_8007603C: +/* 8007603C 00072F9C 38 00 00 01 */ li r0, 1 +/* 80076040 00072FA0 98 01 01 68 */ stb r0, 0x168(r1) +/* 80076044 00072FA4 48 00 00 3C */ b lbl_80076080 +lbl_80076048: +/* 80076048 00072FA8 80 81 00 C0 */ lwz r4, 0xc0(r1) +/* 8007604C 00072FAC 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 80076050 00072FB0 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 80076054 00072FB4 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80076058 00072FB8 C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 8007605C 00072FBC C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80076060 00072FC0 88 01 00 D8 */ lbz r0, 0xd8(r1) +/* 80076064 00072FC4 90 81 01 4C */ stw r4, 0x14c(r1) +/* 80076068 00072FC8 90 61 01 50 */ stw r3, 0x150(r1) +/* 8007606C 00072FCC D0 61 01 54 */ stfs f3, 0x154(r1) +/* 80076070 00072FD0 D0 41 01 58 */ stfs f2, 0x158(r1) +/* 80076074 00072FD4 D0 21 01 5C */ stfs f1, 0x15c(r1) +/* 80076078 00072FD8 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 8007607C 00072FDC 98 01 01 64 */ stb r0, 0x164(r1) +lbl_80076080: +/* 80076080 00072FE0 80 AD 83 D0 */ lwz r5, lbl_805A6F90@sda21(r13) +/* 80076084 00072FE4 38 60 00 00 */ li r3, 0 +/* 80076088 00072FE8 38 80 00 01 */ li r4, 1 +/* 8007608C 00072FEC 48 31 3E 69 */ bl __shl2i +/* 80076090 00072FF0 39 40 00 00 */ li r10, 0 +/* 80076094 00072FF4 38 00 00 03 */ li r0, 3 +/* 80076098 00072FF8 90 81 00 AC */ stw r4, 0xac(r1) +/* 8007609C 00072FFC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800760A0 00073000 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 800760A4 00073004 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800760A8 00073008 90 61 00 A8 */ stw r3, 0xa8(r1) +/* 800760AC 0007300C 38 81 00 38 */ addi r4, r1, 0x38 +/* 800760B0 00073010 7F C3 F3 78 */ mr r3, r30 +/* 800760B4 00073014 38 C1 00 28 */ addi r6, r1, 0x28 +/* 800760B8 00073018 91 41 00 B4 */ stw r10, 0xb4(r1) +/* 800760BC 0007301C 38 E1 01 4C */ addi r7, r1, 0x14c +/* 800760C0 00073020 39 01 00 A8 */ addi r8, r1, 0xa8 +/* 800760C4 00073024 91 41 00 B0 */ stw r10, 0xb0(r1) +/* 800760C8 00073028 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 800760CC 0007302C A0 1D 00 08 */ lhz r0, 8(r29) +/* 800760D0 00073030 B0 01 00 28 */ sth r0, 0x28(r1) +/* 800760D4 00073034 A1 5A 00 08 */ lhz r10, 8(r26) +/* 800760D8 00073038 B0 01 00 24 */ sth r0, 0x24(r1) +/* 800760DC 0007303C B1 41 00 30 */ sth r10, 0x30(r1) +/* 800760E0 00073040 A0 1D 00 08 */ lhz r0, 8(r29) +/* 800760E4 00073044 B1 41 00 2C */ sth r10, 0x2c(r1) +/* 800760E8 00073048 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800760EC 0007304C B0 01 00 38 */ sth r0, 0x38(r1) +/* 800760F0 00073050 4B FD 3F B1 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_800760F4: +/* 800760F4 00073054 C0 3D 01 28 */ lfs f1, 0x128(r29) +/* 800760F8 00073058 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) +/* 800760FC 0007305C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80076100 00073060 40 81 01 54 */ ble lbl_80076254 +/* 80076104 00073064 7F 44 D3 78 */ mr r4, r26 +/* 80076108 00073068 38 61 00 4C */ addi r3, r1, 0x4c +/* 8007610C 0007306C 48 03 65 D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80076110 00073070 83 03 00 04 */ lwz r24, 4(r3) +/* 80076114 00073074 28 18 00 00 */ cmplwi r24, 0 +/* 80076118 00073078 41 82 01 3C */ beq lbl_80076254 +/* 8007611C 0007307C 80 1D 01 2C */ lwz r0, 0x12c(r29) +/* 80076120 00073080 C0 62 88 D4 */ lfs f3, lbl_805AA5F4@sda21(r2) +/* 80076124 00073084 54 00 04 21 */ rlwinm. r0, r0, 0, 0x10, 0x10 +/* 80076128 00073088 41 82 00 2C */ beq lbl_80076154 +/* 8007612C 0007308C 38 61 01 14 */ addi r3, r1, 0x114 +/* 80076130 00073090 48 2C 15 21 */ bl GetVolume__6CAABoxCFv +/* 80076134 00073094 FF C0 08 90 */ fmr f30, f1 +/* 80076138 00073098 38 61 00 8C */ addi r3, r1, 0x8c +/* 8007613C 0007309C 38 81 01 30 */ addi r4, r1, 0x130 +/* 80076140 000730A0 38 A1 01 14 */ addi r5, r1, 0x114 +/* 80076144 000730A4 48 2C 15 E1 */ bl GetBooleanIntersection__6CAABoxCFRC6CAABox +/* 80076148 000730A8 38 61 00 8C */ addi r3, r1, 0x8c +/* 8007614C 000730AC 48 2C 15 05 */ bl GetVolume__6CAABoxCFv +/* 80076150 000730B0 EC 61 F0 24 */ fdivs f3, f1, f30 +lbl_80076154: +/* 80076154 000730B4 C0 5D 01 20 */ lfs f2, 0x120(r29) +/* 80076158 000730B8 C0 3D 01 24 */ lfs f1, 0x124(r29) +/* 8007615C 000730BC C0 1D 01 1C */ lfs f0, 0x11c(r29) +/* 80076160 000730C0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80076164 000730C4 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80076168 000730C8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8007616C 000730CC D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80076170 000730D0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80076174 000730D4 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80076178 000730D8 80 1D 01 2C */ lwz r0, 0x12c(r29) +/* 8007617C 000730DC 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12 +/* 80076180 000730E0 41 82 00 24 */ beq lbl_800761A4 +/* 80076184 000730E4 4B FA 53 B1 */ bl Identity__10CAxisAngleFv +/* 80076188 000730E8 7C 65 1B 78 */ mr r5, r3 +/* 8007618C 000730EC 7F 03 C3 78 */ mr r3, r24 +/* 80076190 000730F0 38 81 00 68 */ addi r4, r1, 0x68 +/* 80076194 000730F4 48 0A 62 05 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 80076198 000730F8 7F 03 C3 78 */ mr r3, r24 +/* 8007619C 000730FC 48 0A 4F E1 */ bl UseCollisionImpulses__13CPhysicsActorFv +/* 800761A0 00073100 48 00 00 B4 */ b lbl_80076254 +lbl_800761A4: +/* 800761A4 00073104 4B FA 53 91 */ bl Identity__10CAxisAngleFv +/* 800761A8 00073108 7C 65 1B 78 */ mr r5, r3 +/* 800761AC 0007310C 7F 03 C3 78 */ mr r3, r24 +/* 800761B0 00073110 38 81 00 68 */ addi r4, r1, 0x68 +/* 800761B4 00073114 48 0A 61 11 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800761B8 00073118 48 00 00 9C */ b lbl_80076254 +lbl_800761BC: +/* 800761BC 0007311C 7F 24 CB 78 */ mr r4, r25 +/* 800761C0 00073120 38 7D 00 E8 */ addi r3, r29, 0xe8 +/* 800761C4 00073124 48 00 0D B5 */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" +/* 800761C8 00073128 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 800761CC 0007312C 3B E0 00 01 */ li r31, 1 +/* 800761D0 00073130 A0 99 00 08 */ lhz r4, 8(r25) +/* 800761D4 00073134 A0 03 00 08 */ lhz r0, 8(r3) +/* 800761D8 00073138 7C 04 00 40 */ cmplw r4, r0 +/* 800761DC 0007313C 40 82 00 5C */ bne lbl_80076238 +/* 800761E0 00073140 88 7D 01 48 */ lbz r3, 0x148(r29) +/* 800761E4 00073144 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 800761E8 00073148 41 82 00 50 */ beq lbl_80076238 +/* 800761EC 0007314C 38 00 00 00 */ li r0, 0 +/* 800761F0 00073150 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 800761F4 00073154 98 7D 01 48 */ stb r3, 0x148(r29) +/* 800761F8 00073158 88 1D 01 48 */ lbz r0, 0x148(r29) +/* 800761FC 0007315C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80076200 00073160 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80076204 00073164 41 82 00 18 */ beq lbl_8007621C +/* 80076208 00073168 4B F9 B7 3D */ bl DecrementPhazon__7CPlayerFv +/* 8007620C 0007316C 88 1D 01 48 */ lbz r0, 0x148(r29) +/* 80076210 00073170 38 60 00 00 */ li r3, 0 +/* 80076214 00073174 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80076218 00073178 98 1D 01 48 */ stb r0, 0x148(r29) +lbl_8007621C: +/* 8007621C 0007317C A0 7E 0F 74 */ lhz r3, 0xf74(r30) +/* 80076220 00073180 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80076224 00073184 7C 03 00 40 */ cmplw r3, r0 +/* 80076228 00073188 40 82 00 10 */ bne lbl_80076238 +/* 8007622C 0007318C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80076230 00073190 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80076234 00073194 B0 1E 0F 74 */ sth r0, 0xf74(r30) +lbl_80076238: +/* 80076238 00073198 7F A3 EB 78 */ mr r3, r29 +/* 8007623C 0007319C 7F 44 D3 78 */ mr r4, r26 +/* 80076240 000731A0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80076244 000731A4 7F C5 F3 78 */ mr r5, r30 +/* 80076248 000731A8 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8007624C 000731AC 7D 89 03 A6 */ mtctr r12 +/* 80076250 000731B0 4E 80 04 21 */ bctrl +lbl_80076254: +/* 80076254 000731B4 38 00 00 00 */ li r0, 0 +/* 80076258 000731B8 98 01 01 2C */ stb r0, 0x12c(r1) +/* 8007625C 000731BC 98 01 01 48 */ stb r0, 0x148(r1) +/* 80076260 000731C0 48 00 00 7C */ b lbl_800762DC +lbl_80076264: +/* 80076264 000731C4 7F 24 CB 78 */ mr r4, r25 +/* 80076268 000731C8 38 7D 00 E8 */ addi r3, r29, 0xe8 +/* 8007626C 000731CC 48 00 0D 0D */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" +/* 80076270 000731D0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80076274 000731D4 A0 99 00 08 */ lhz r4, 8(r25) +/* 80076278 000731D8 A0 03 00 08 */ lhz r0, 8(r3) +/* 8007627C 000731DC 7C 04 00 40 */ cmplw r4, r0 +/* 80076280 000731E0 40 82 00 5C */ bne lbl_800762DC +/* 80076284 000731E4 88 7D 01 48 */ lbz r3, 0x148(r29) +/* 80076288 000731E8 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 8007628C 000731EC 41 82 00 50 */ beq lbl_800762DC +/* 80076290 000731F0 38 00 00 00 */ li r0, 0 +/* 80076294 000731F4 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 80076298 000731F8 98 7D 01 48 */ stb r3, 0x148(r29) +/* 8007629C 000731FC 88 1D 01 48 */ lbz r0, 0x148(r29) +/* 800762A0 00073200 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 800762A4 00073204 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800762A8 00073208 41 82 00 18 */ beq lbl_800762C0 +/* 800762AC 0007320C 4B F9 B6 99 */ bl DecrementPhazon__7CPlayerFv +/* 800762B0 00073210 88 1D 01 48 */ lbz r0, 0x148(r29) +/* 800762B4 00073214 38 60 00 00 */ li r3, 0 +/* 800762B8 00073218 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800762BC 0007321C 98 1D 01 48 */ stb r0, 0x148(r29) +lbl_800762C0: +/* 800762C0 00073220 A0 7E 0F 74 */ lhz r3, 0xf74(r30) +/* 800762C4 00073224 A0 1D 00 08 */ lhz r0, 8(r29) +/* 800762C8 00073228 7C 03 00 40 */ cmplw r3, r0 +/* 800762CC 0007322C 40 82 00 10 */ bne lbl_800762DC +/* 800762D0 00073230 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800762D4 00073234 B0 01 00 08 */ sth r0, 8(r1) +/* 800762D8 00073238 B0 1E 0F 74 */ sth r0, 0xf74(r30) +lbl_800762DC: +/* 800762DC 0007323C 7F 79 DB 78 */ mr r25, r27 +lbl_800762E0: +/* 800762E0 00073240 80 1D 00 F0 */ lwz r0, 0xf0(r29) +/* 800762E4 00073244 7C 19 00 40 */ cmplw r25, r0 +/* 800762E8 00073248 40 82 FA 88 */ bne lbl_80075D70 +/* 800762EC 0007324C 80 1D 01 2C */ lwz r0, 0x12c(r29) +/* 800762F0 00073250 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 +/* 800762F4 00073254 40 82 00 10 */ bne lbl_80076304 +/* 800762F8 00073258 88 1D 01 48 */ lbz r0, 0x148(r29) +/* 800762FC 0007325C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80076300 00073260 41 82 01 14 */ beq lbl_80076414 +lbl_80076304: +/* 80076304 00073264 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80076308 00073268 7F C4 F3 78 */ mr r4, r30 +/* 8007630C 0007326C 4B F9 58 55 */ bl GetCurrentCamera__14CCameraManagerFR13CStateManager +/* 80076310 00073270 7C 78 1B 78 */ mr r24, r3 +/* 80076314 00073274 7F A4 EB 78 */ mr r4, r29 +/* 80076318 00073278 C0 58 00 60 */ lfs f2, 0x60(r24) +/* 8007631C 0007327C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80076320 00073280 C0 38 00 50 */ lfs f1, 0x50(r24) +/* 80076324 00073284 C0 18 00 40 */ lfs f0, 0x40(r24) +/* 80076328 00073288 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8007632C 0007328C D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80076330 00073290 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80076334 00073294 48 00 03 99 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80076338 00073298 38 61 00 74 */ addi r3, r1, 0x74 +/* 8007633C 0007329C 38 81 00 5C */ addi r4, r1, 0x5c +/* 80076340 000732A0 48 2C 11 F5 */ bl PointInside__6CAABoxCFRC9CVector3f +/* 80076344 000732A4 88 9D 01 48 */ lbz r4, 0x148(r29) +/* 80076348 000732A8 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 8007634C 000732AC 41 82 00 78 */ beq lbl_800763C4 +/* 80076350 000732B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80076354 000732B4 40 82 00 40 */ bne lbl_80076394 +/* 80076358 000732B8 38 00 00 00 */ li r0, 0 +/* 8007635C 000732BC 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 80076360 000732C0 98 9D 01 48 */ stb r4, 0x148(r29) +/* 80076364 000732C4 80 1D 01 2C */ lwz r0, 0x12c(r29) +/* 80076368 000732C8 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 +/* 8007636C 000732CC 41 82 00 A8 */ beq lbl_80076414 +/* 80076370 000732D0 7F A3 EB 78 */ mr r3, r29 +/* 80076374 000732D4 7F 04 C3 78 */ mr r4, r24 +/* 80076378 000732D8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8007637C 000732DC 7F C5 F3 78 */ mr r5, r30 +/* 80076380 000732E0 3B E0 00 01 */ li r31, 1 +/* 80076384 000732E4 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80076388 000732E8 7D 89 03 A6 */ mtctr r12 +/* 8007638C 000732EC 4E 80 04 21 */ bctrl +/* 80076390 000732F0 48 00 00 84 */ b lbl_80076414 +lbl_80076394: +/* 80076394 000732F4 80 1D 01 2C */ lwz r0, 0x12c(r29) +/* 80076398 000732F8 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 +/* 8007639C 000732FC 41 82 00 78 */ beq lbl_80076414 +/* 800763A0 00073300 7F A3 EB 78 */ mr r3, r29 +/* 800763A4 00073304 7F 04 C3 78 */ mr r4, r24 +/* 800763A8 00073308 81 9D 00 00 */ lwz r12, 0(r29) +/* 800763AC 0007330C 7F C5 F3 78 */ mr r5, r30 +/* 800763B0 00073310 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 800763B4 00073314 7D 89 03 A6 */ mtctr r12 +/* 800763B8 00073318 4E 80 04 21 */ bctrl +/* 800763BC 0007331C 3B 80 00 01 */ li r28, 1 +/* 800763C0 00073320 48 00 00 54 */ b lbl_80076414 +lbl_800763C4: +/* 800763C4 00073324 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800763C8 00073328 41 82 00 4C */ beq lbl_80076414 +/* 800763CC 0007332C 38 00 00 01 */ li r0, 1 +/* 800763D0 00073330 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 800763D4 00073334 98 9D 01 48 */ stb r4, 0x148(r29) +/* 800763D8 00073338 80 1D 01 2C */ lwz r0, 0x12c(r29) +/* 800763DC 0007333C 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 +/* 800763E0 00073340 41 82 00 34 */ beq lbl_80076414 +/* 800763E4 00073344 7F A3 EB 78 */ mr r3, r29 +/* 800763E8 00073348 7F 04 C3 78 */ mr r4, r24 +/* 800763EC 0007334C 81 9D 00 00 */ lwz r12, 0(r29) +/* 800763F0 00073350 7F C5 F3 78 */ mr r5, r30 +/* 800763F4 00073354 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 800763F8 00073358 7D 89 03 A6 */ mtctr r12 +/* 800763FC 0007335C 4E 80 04 21 */ bctrl +/* 80076400 00073360 7F A3 EB 78 */ mr r3, r29 +/* 80076404 00073364 7F C5 F3 78 */ mr r5, r30 +/* 80076408 00073368 38 80 00 03 */ li r4, 3 +/* 8007640C 0007336C 38 C0 FF FF */ li r6, -1 +/* 80076410 00073370 4B FD AC B1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_80076414: +/* 80076414 00073374 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80076418 00073378 41 82 00 18 */ beq lbl_80076430 +/* 8007641C 0007337C 7F A3 EB 78 */ mr r3, r29 +/* 80076420 00073380 7F C5 F3 78 */ mr r5, r30 +/* 80076424 00073384 38 80 00 06 */ li r4, 6 +/* 80076428 00073388 38 C0 FF FF */ li r6, -1 +/* 8007642C 0007338C 4B FD AC 95 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_80076430: +/* 80076430 00073390 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80076434 00073394 41 82 00 6C */ beq lbl_800764A0 +/* 80076438 00073398 7F A3 EB 78 */ mr r3, r29 +/* 8007643C 0007339C 7F C5 F3 78 */ mr r5, r30 +/* 80076440 000733A0 38 80 00 04 */ li r4, 4 +/* 80076444 000733A4 38 C0 FF FF */ li r6, -1 +/* 80076448 000733A8 4B FD AC 79 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8007644C 000733AC 88 1D 01 48 */ lbz r0, 0x148(r29) +/* 80076450 000733B0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80076454 000733B4 41 82 00 4C */ beq lbl_800764A0 +/* 80076458 000733B8 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8007645C 000733BC 7F C4 F3 78 */ mr r4, r30 +/* 80076460 000733C0 38 61 00 44 */ addi r3, r1, 0x44 +/* 80076464 000733C4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80076468 000733C8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8007646C 000733CC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80076470 000733D0 4B FD 1A 51 */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId +/* 80076474 000733D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80076478 000733D8 7F C3 F3 78 */ mr r3, r30 +/* 8007647C 000733DC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80076480 000733E0 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80076484 000733E4 90 01 00 48 */ stw r0, 0x48(r1) +/* 80076488 000733E8 38 C0 00 04 */ li r6, 4 +/* 8007648C 000733EC 38 E0 00 04 */ li r7, 4 +/* 80076490 000733F0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80076494 000733F4 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80076498 000733F8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8007649C 000733FC 4B FD 16 A1 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState +lbl_800764A0: +/* 800764A0 00073400 38 00 00 00 */ li r0, 0 +/* 800764A4 00073404 98 01 01 68 */ stb r0, 0x168(r1) +/* 800764A8 00073408 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 +/* 800764AC 0007340C CB E1 01 A0 */ lfd f31, 0x1a0(r1) +/* 800764B0 00073410 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 +/* 800764B4 00073414 CB C1 01 90 */ lfd f30, 0x190(r1) +/* 800764B8 00073418 BB 01 01 70 */ lmw r24, 0x170(r1) +/* 800764BC 0007341C 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 800764C0 00073420 7C 08 03 A6 */ mtlr r0 +/* 800764C4 00073424 38 21 01 B0 */ addi r1, r1, 0x1b0 +/* 800764C8 00073428 4E 80 00 20 */ blr + +.global Think__14CScriptTriggerFfR13CStateManager +Think__14CScriptTriggerFfR13CStateManager: +/* 800764CC 0007342C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800764D0 00073430 7C 08 02 A6 */ mflr r0 +/* 800764D4 00073434 90 01 00 14 */ stw r0, 0x14(r1) +/* 800764D8 00073438 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800764DC 0007343C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800764E0 00073440 41 82 00 08 */ beq lbl_800764E8 +/* 800764E4 00073444 4B FF F8 49 */ bl UpdateInhabitants__14CScriptTriggerFR13CStateManager +lbl_800764E8: +/* 800764E8 00073448 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800764EC 0007344C 7C 08 03 A6 */ mtlr r0 +/* 800764F0 00073450 38 21 00 10 */ addi r1, r1, 0x10 +/* 800764F4 00073454 4E 80 00 20 */ blr + +.global AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800764F8 00073458 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800764FC 0007345C 7C 08 02 A6 */ mflr r0 +/* 80076500 00073460 90 01 00 34 */ stw r0, 0x34(r1) +/* 80076504 00073464 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80076508 00073468 7C 7C 1B 78 */ mr r28, r3 +/* 8007650C 0007346C 7C 9D 23 78 */ mr r29, r4 +/* 80076510 00073470 7C BE 2B 78 */ mr r30, r5 +/* 80076514 00073474 7C DF 33 78 */ mr r31, r6 +/* 80076518 00073478 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8007651C 0007347C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80076520 00073480 41 82 00 F4 */ beq lbl_80076614 +/* 80076524 00073484 2C 1D 00 04 */ cmpwi r29, 4 +/* 80076528 00073488 40 82 00 8C */ bne lbl_800765B4 +/* 8007652C 0007348C 83 7C 00 F0 */ lwz r27, 0xf0(r28) +/* 80076530 00073490 80 9C 00 EC */ lwz r4, 0xec(r28) +/* 80076534 00073494 48 00 00 10 */ b lbl_80076544 +lbl_80076538: +/* 80076538 00073498 38 7C 00 E8 */ addi r3, r28, 0xe8 +/* 8007653C 0007349C 48 00 0A 3D */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" +/* 80076540 000734A0 7C 64 1B 78 */ mr r4, r3 +lbl_80076544: +/* 80076544 000734A4 7C 04 D8 40 */ cmplw r4, r27 +/* 80076548 000734A8 40 82 FF F0 */ bne lbl_80076538 +/* 8007654C 000734AC 88 1C 01 48 */ lbz r0, 0x148(r28) +/* 80076550 000734B0 38 80 00 00 */ li r4, 0 +/* 80076554 000734B4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80076558 000734B8 98 1C 01 48 */ stb r0, 0x148(r28) +/* 8007655C 000734BC 88 7C 01 48 */ lbz r3, 0x148(r28) +/* 80076560 000734C0 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80076564 000734C4 41 82 00 B0 */ beq lbl_80076614 +/* 80076568 000734C8 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c +/* 8007656C 000734CC 98 7C 01 48 */ stb r3, 0x148(r28) +/* 80076570 000734D0 88 1C 01 48 */ lbz r0, 0x148(r28) +/* 80076574 000734D4 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80076578 000734D8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8007657C 000734DC 41 82 00 18 */ beq lbl_80076594 +/* 80076580 000734E0 4B F9 B3 C5 */ bl DecrementPhazon__7CPlayerFv +/* 80076584 000734E4 88 1C 01 48 */ lbz r0, 0x148(r28) +/* 80076588 000734E8 38 60 00 00 */ li r3, 0 +/* 8007658C 000734EC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80076590 000734F0 98 1C 01 48 */ stb r0, 0x148(r28) +lbl_80076594: +/* 80076594 000734F4 A0 7F 0F 74 */ lhz r3, 0xf74(r31) +/* 80076598 000734F8 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8007659C 000734FC 7C 03 00 40 */ cmplw r3, r0 +/* 800765A0 00073500 40 82 00 74 */ bne lbl_80076614 +/* 800765A4 00073504 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800765A8 00073508 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800765AC 0007350C B0 1F 0F 74 */ sth r0, 0xf74(r31) +/* 800765B0 00073510 48 00 00 64 */ b lbl_80076614 +lbl_800765B4: +/* 800765B4 00073514 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 800765B8 00073518 40 82 00 5C */ bne lbl_80076614 +/* 800765BC 0007351C 88 7C 01 48 */ lbz r3, 0x148(r28) +/* 800765C0 00073520 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 800765C4 00073524 41 82 00 50 */ beq lbl_80076614 +/* 800765C8 00073528 38 00 00 00 */ li r0, 0 +/* 800765CC 0007352C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 800765D0 00073530 98 7C 01 48 */ stb r3, 0x148(r28) +/* 800765D4 00073534 88 1C 01 48 */ lbz r0, 0x148(r28) +/* 800765D8 00073538 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 800765DC 0007353C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800765E0 00073540 41 82 00 18 */ beq lbl_800765F8 +/* 800765E4 00073544 4B F9 B3 61 */ bl DecrementPhazon__7CPlayerFv +/* 800765E8 00073548 88 1C 01 48 */ lbz r0, 0x148(r28) +/* 800765EC 0007354C 38 60 00 00 */ li r3, 0 +/* 800765F0 00073550 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800765F4 00073554 98 1C 01 48 */ stb r0, 0x148(r28) +lbl_800765F8: +/* 800765F8 00073558 A0 7F 0F 74 */ lhz r3, 0xf74(r31) +/* 800765FC 0007355C A0 1C 00 08 */ lhz r0, 8(r28) +/* 80076600 00073560 7C 03 00 40 */ cmplw r3, r0 +/* 80076604 00073564 40 82 00 10 */ bne lbl_80076614 +/* 80076608 00073568 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007660C 0007356C B0 01 00 08 */ sth r0, 8(r1) +/* 80076610 00073570 B0 1F 0F 74 */ sth r0, 0xf74(r31) +lbl_80076614: +/* 80076614 00073574 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80076618 00073578 7F 83 E3 78 */ mr r3, r28 +/* 8007661C 0007357C 7F A4 EB 78 */ mr r4, r29 +/* 80076620 00073580 7F E6 FB 78 */ mr r6, r31 +/* 80076624 00073584 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80076628 00073588 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8007662C 0007358C 4B FD CF E9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80076630 00073590 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80076634 00073594 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80076638 00073598 7C 08 03 A6 */ mtlr r0 +/* 8007663C 0007359C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80076640 000735A0 4E 80 00 20 */ blr + +.global GetTouchBounds__14CScriptTriggerCFv +GetTouchBounds__14CScriptTriggerCFv: +/* 80076644 000735A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80076648 000735A8 7C 08 02 A6 */ mflr r0 +/* 8007664C 000735AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80076650 000735B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80076654 000735B4 7C 7F 1B 78 */ mr r31, r3 +/* 80076658 000735B8 88 04 00 30 */ lbz r0, 0x30(r4) +/* 8007665C 000735BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80076660 000735C0 41 82 00 50 */ beq lbl_800766B0 +/* 80076664 000735C4 38 61 00 08 */ addi r3, r1, 8 +/* 80076668 000735C8 48 00 00 65 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 8007666C 000735CC 38 00 00 01 */ li r0, 1 +/* 80076670 000735D0 28 1F 00 00 */ cmplwi r31, 0 +/* 80076674 000735D4 98 1F 00 18 */ stb r0, 0x18(r31) +/* 80076678 000735D8 41 82 00 40 */ beq lbl_800766B8 +/* 8007667C 000735DC C0 01 00 08 */ lfs f0, 8(r1) +/* 80076680 000735E0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80076684 000735E4 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80076688 000735E8 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8007668C 000735EC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80076690 000735F0 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80076694 000735F4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80076698 000735F8 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8007669C 000735FC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800766A0 00073600 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800766A4 00073604 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800766A8 00073608 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 800766AC 0007360C 48 00 00 0C */ b lbl_800766B8 +lbl_800766B0: +/* 800766B0 00073610 38 00 00 00 */ li r0, 0 +/* 800766B4 00073614 98 1F 00 18 */ stb r0, 0x18(r31) +lbl_800766B8: +/* 800766B8 00073618 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800766BC 0007361C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800766C0 00073620 7C 08 03 A6 */ mtlr r0 +/* 800766C4 00073624 38 21 00 30 */ addi r1, r1, 0x30 +/* 800766C8 00073628 4E 80 00 20 */ blr + +.global GetTriggerBoundsWR__14CScriptTriggerCFv +GetTriggerBoundsWR__14CScriptTriggerCFv: +/* 800766CC 0007362C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800766D0 00073630 7C 08 02 A6 */ mflr r0 +/* 800766D4 00073634 90 01 00 24 */ stw r0, 0x24(r1) +/* 800766D8 00073638 38 A1 00 08 */ addi r5, r1, 8 +/* 800766DC 0007363C C0 24 01 40 */ lfs f1, 0x140(r4) +/* 800766E0 00073640 C0 64 00 50 */ lfs f3, 0x50(r4) +/* 800766E4 00073644 C0 04 01 34 */ lfs f0, 0x134(r4) +/* 800766E8 00073648 EC C1 18 2A */ fadds f6, f1, f3 +/* 800766EC 0007364C C0 44 01 44 */ lfs f2, 0x144(r4) +/* 800766F0 00073650 EC 80 18 2A */ fadds f4, f0, f3 +/* 800766F4 00073654 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 800766F8 00073658 C0 04 01 38 */ lfs f0, 0x138(r4) +/* 800766FC 0007365C EC A2 08 2A */ fadds f5, f2, f1 +/* 80076700 00073660 EC 60 08 2A */ fadds f3, f0, f1 +/* 80076704 00073664 C0 24 01 3C */ lfs f1, 0x13c(r4) +/* 80076708 00073668 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 8007670C 0007366C C0 04 01 30 */ lfs f0, 0x130(r4) +/* 80076710 00073670 38 81 00 14 */ addi r4, r1, 0x14 +/* 80076714 00073674 EC 21 10 2A */ fadds f1, f1, f2 +/* 80076718 00073678 EC 00 10 2A */ fadds f0, f0, f2 +/* 8007671C 0007367C D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 80076720 00073680 D0 21 00 08 */ stfs f1, 8(r1) +/* 80076724 00073684 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80076728 00073688 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8007672C 0007368C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80076730 00073690 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80076734 00073694 48 2C 1D D5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80076738 00073698 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007673C 0007369C 7C 08 03 A6 */ mtlr r0 +/* 80076740 000736A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80076744 000736A4 4E 80 00 20 */ blr + +.global Touch__14CScriptTriggerFR6CActorR13CStateManager +Touch__14CScriptTriggerFR6CActorR13CStateManager: +/* 80076748 000736A8 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8007674C 000736AC 7C 08 02 A6 */ mflr r0 +/* 80076750 000736B0 90 01 01 04 */ stw r0, 0x104(r1) +/* 80076754 000736B4 BF 21 00 E4 */ stmw r25, 0xe4(r1) +/* 80076758 000736B8 7C 7B 1B 78 */ mr r27, r3 +/* 8007675C 000736BC 7C 9C 23 78 */ mr r28, r4 +/* 80076760 000736C0 7C BD 2B 78 */ mr r29, r5 +/* 80076764 000736C4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80076768 000736C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8007676C 000736CC 41 82 05 00 */ beq lbl_80076C6C +/* 80076770 000736D0 80 9C 00 68 */ lwz r4, 0x68(r28) +/* 80076774 000736D4 38 00 00 04 */ li r0, 4 +/* 80076778 000736D8 80 DC 00 6C */ lwz r6, 0x6c(r28) +/* 8007677C 000736DC 38 A0 00 00 */ li r5, 0 +/* 80076780 000736E0 7C 80 00 38 */ and r0, r4, r0 +/* 80076784 000736E4 7C C4 28 38 */ and r4, r6, r5 +/* 80076788 000736E8 7C 84 2A 78 */ xor r4, r4, r5 +/* 8007678C 000736EC 7C 00 2A 78 */ xor r0, r0, r5 +/* 80076790 000736F0 7C 80 03 79 */ or. r0, r4, r0 +/* 80076794 000736F4 40 82 04 D8 */ bne lbl_80076C6C +/* 80076798 000736F8 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8007679C 000736FC 38 81 00 5C */ addi r4, r1, 0x5c +/* 800767A0 00073700 B0 01 00 58 */ sth r0, 0x58(r1) +/* 800767A4 00073704 B0 01 00 5C */ sth r0, 0x5c(r1) +/* 800767A8 00073708 4B FF F5 01 */ bl FindObject__14CScriptTriggerF9TUniqueId +/* 800767AC 0007370C 28 03 00 00 */ cmplwi r3, 0 +/* 800767B0 00073710 40 82 04 BC */ bne lbl_80076C6C +/* 800767B4 00073714 7F 84 E3 78 */ mr r4, r28 +/* 800767B8 00073718 38 61 00 80 */ addi r3, r1, 0x80 +/* 800767BC 0007371C 3B E0 00 00 */ li r31, 0 +/* 800767C0 00073720 48 03 5C 41 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 800767C4 00073724 83 C3 00 04 */ lwz r30, 4(r3) +/* 800767C8 00073728 28 1E 00 00 */ cmplwi r30, 0 +/* 800767CC 0007372C 41 82 00 60 */ beq lbl_8007682C +/* 800767D0 00073730 C0 3B 01 28 */ lfs f1, 0x128(r27) +/* 800767D4 00073734 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) +/* 800767D8 00073738 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800767DC 0007373C 40 81 00 30 */ ble lbl_8007680C +/* 800767E0 00073740 80 1B 01 2C */ lwz r0, 0x12c(r27) +/* 800767E4 00073744 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800767E8 00073748 41 82 00 24 */ beq lbl_8007680C +/* 800767EC 0007374C A0 7D 0F 74 */ lhz r3, 0xf74(r29) +/* 800767F0 00073750 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800767F4 00073754 7C 03 00 40 */ cmplw r3, r0 +/* 800767F8 00073758 40 82 04 74 */ bne lbl_80076C6C +/* 800767FC 0007375C A0 1B 00 08 */ lhz r0, 8(r27) +/* 80076800 00073760 B0 01 00 50 */ sth r0, 0x50(r1) +/* 80076804 00073764 B0 01 00 54 */ sth r0, 0x54(r1) +/* 80076808 00073768 B0 1D 0F 74 */ sth r0, 0xf74(r29) +lbl_8007680C: +/* 8007680C 0007376C 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 80076810 00073770 63 FF 00 01 */ ori r31, r31, 1 +/* 80076814 00073774 2C 00 00 00 */ cmpwi r0, 0 +/* 80076818 00073778 40 82 00 08 */ bne lbl_80076820 +/* 8007681C 0007377C 67 FF 00 01 */ oris r31, r31, 1 +lbl_80076820: +/* 80076820 00073780 2C 00 00 01 */ cmpwi r0, 1 +/* 80076824 00073784 40 82 00 08 */ bne lbl_8007682C +/* 80076828 00073788 63 FF 10 00 */ ori r31, r31, 0x1000 +lbl_8007682C: +/* 8007682C 0007378C 7F 84 E3 78 */ mr r4, r28 +/* 80076830 00073790 38 61 00 78 */ addi r3, r1, 0x78 +/* 80076834 00073794 48 03 62 95 */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity" +/* 80076838 00073798 80 03 00 04 */ lwz r0, 4(r3) +/* 8007683C 0007379C 28 00 00 00 */ cmplwi r0, 0 +/* 80076840 000737A0 41 82 00 08 */ beq lbl_80076848 +/* 80076844 000737A4 63 FF 00 02 */ ori r31, r31, 2 +lbl_80076848: +/* 80076848 000737A8 7F 84 E3 78 */ mr r4, r28 +/* 8007684C 000737AC 38 61 00 70 */ addi r3, r1, 0x70 +/* 80076850 000737B0 48 03 6F 29 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" +/* 80076854 000737B4 80 03 00 04 */ lwz r0, 4(r3) +/* 80076858 000737B8 28 00 00 00 */ cmplwi r0, 0 +/* 8007685C 000737BC 41 82 00 0C */ beq lbl_80076868 +/* 80076860 000737C0 63 FF 07 3C */ ori r31, r31, 0x73c +/* 80076864 000737C4 48 00 00 44 */ b lbl_800768A8 +lbl_80076868: +/* 80076868 000737C8 7F 84 E3 78 */ mr r4, r28 +/* 8007686C 000737CC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80076870 000737D0 48 02 F0 95 */ bl "__ct__20TCastToPtr<7CWeapon>FR7CEntity" +/* 80076874 000737D4 80 03 00 04 */ lwz r0, 4(r3) +/* 80076878 000737D8 28 00 00 00 */ cmplwi r0, 0 +/* 8007687C 000737DC 41 82 00 2C */ beq lbl_800768A8 +/* 80076880 000737E0 80 7C 00 E8 */ lwz r3, 0xe8(r28) +/* 80076884 000737E4 54 60 05 EE */ rlwinm r0, r3, 0, 0x17, 0x17 +/* 80076888 000737E8 2C 00 01 00 */ cmpwi r0, 0x100 +/* 8007688C 000737EC 40 82 00 0C */ bne lbl_80076898 +/* 80076890 000737F0 63 FF 00 40 */ ori r31, r31, 0x40 +/* 80076894 000737F4 48 00 00 14 */ b lbl_800768A8 +lbl_80076898: +/* 80076898 000737F8 54 60 05 AC */ rlwinm r0, r3, 0, 0x16, 0x16 +/* 8007689C 000737FC 2C 00 02 00 */ cmpwi r0, 0x200 +/* 800768A0 00073800 40 82 00 08 */ bne lbl_800768A8 +/* 800768A4 00073804 63 FF 00 80 */ ori r31, r31, 0x80 +lbl_800768A8: +/* 800768A8 00073808 80 1B 01 2C */ lwz r0, 0x12c(r27) +/* 800768AC 0007380C 7F E0 00 39 */ and. r0, r31, r0 +/* 800768B0 00073810 41 82 03 A0 */ beq lbl_80076C50 +/* 800768B4 00073814 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800768B8 00073818 3C 60 80 3D */ lis r3, lbl_803CD5F8@ha +/* 800768BC 0007381C 83 5B 00 F0 */ lwz r26, 0xf0(r27) +/* 800768C0 00073820 38 83 D5 F8 */ addi r4, r3, lbl_803CD5F8@l +/* 800768C4 00073824 B0 01 00 48 */ sth r0, 0x48(r1) +/* 800768C8 00073828 38 60 00 0A */ li r3, 0xa +/* 800768CC 0007382C 83 3A 00 00 */ lwz r25, 0(r26) +/* 800768D0 00073830 38 A0 00 00 */ li r5, 0 +/* 800768D4 00073834 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 800768D8 00073838 48 29 EF 41 */ bl __nwa__FUlPCcPCc +/* 800768DC 0007383C 28 03 00 00 */ cmplwi r3, 0 +/* 800768E0 00073840 41 82 00 0C */ beq lbl_800768EC +/* 800768E4 00073844 93 23 00 00 */ stw r25, 0(r3) +/* 800768E8 00073848 93 43 00 04 */ stw r26, 4(r3) +lbl_800768EC: +/* 800768EC 0007384C 34 83 00 08 */ addic. r4, r3, 8 +/* 800768F0 00073850 41 82 00 0C */ beq lbl_800768FC +/* 800768F4 00073854 A0 01 00 4C */ lhz r0, 0x4c(r1) +/* 800768F8 00073858 B0 04 00 00 */ sth r0, 0(r4) +lbl_800768FC: +/* 800768FC 0007385C 80 1B 00 EC */ lwz r0, 0xec(r27) +/* 80076900 00073860 7C 1A 00 40 */ cmplw r26, r0 +/* 80076904 00073864 40 82 00 08 */ bne lbl_8007690C +/* 80076908 00073868 90 7B 00 EC */ stw r3, 0xec(r27) +lbl_8007690C: +/* 8007690C 0007386C 80 C3 00 00 */ lwz r6, 0(r3) +/* 80076910 00073870 7F 84 E3 78 */ mr r4, r28 +/* 80076914 00073874 7F A5 EB 78 */ mr r5, r29 +/* 80076918 00073878 90 66 00 04 */ stw r3, 4(r6) +/* 8007691C 0007387C 80 C3 00 04 */ lwz r6, 4(r3) +/* 80076920 00073880 90 66 00 00 */ stw r3, 0(r6) +/* 80076924 00073884 7F 63 DB 78 */ mr r3, r27 +/* 80076928 00073888 80 DB 00 FC */ lwz r6, 0xfc(r27) +/* 8007692C 0007388C 38 06 00 01 */ addi r0, r6, 1 +/* 80076930 00073890 90 1B 00 FC */ stw r0, 0xfc(r27) +/* 80076934 00073894 81 9B 00 00 */ lwz r12, 0(r27) +/* 80076938 00073898 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 8007693C 0007389C 7D 89 03 A6 */ mtctr r12 +/* 80076940 000738A0 4E 80 04 21 */ bctrl +/* 80076944 000738A4 57 E0 07 FF */ clrlwi. r0, r31, 0x1f +/* 80076948 000738A8 41 82 00 D0 */ beq lbl_80076A18 +/* 8007694C 000738AC 28 1E 00 00 */ cmplwi r30, 0 +/* 80076950 000738B0 41 82 00 C8 */ beq lbl_80076A18 +/* 80076954 000738B4 88 7B 01 48 */ lbz r3, 0x148(r27) +/* 80076958 000738B8 54 60 EF FE */ rlwinm r0, r3, 0x1d, 0x1f, 0x1f +/* 8007695C 000738BC 28 00 00 01 */ cmplwi r0, 1 +/* 80076960 000738C0 41 82 00 B8 */ beq lbl_80076A18 +/* 80076964 000738C4 38 00 00 01 */ li r0, 1 +/* 80076968 000738C8 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 8007696C 000738CC 98 7B 01 48 */ stb r3, 0x148(r27) +/* 80076970 000738D0 88 1B 01 48 */ lbz r0, 0x148(r27) +/* 80076974 000738D4 83 3D 08 4C */ lwz r25, 0x84c(r29) +/* 80076978 000738D8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8007697C 000738DC 41 82 00 1C */ beq lbl_80076998 +/* 80076980 000738E0 7F 23 CB 78 */ mr r3, r25 +/* 80076984 000738E4 4B F9 AF C1 */ bl DecrementPhazon__7CPlayerFv +/* 80076988 000738E8 88 1B 01 48 */ lbz r0, 0x148(r27) +/* 8007698C 000738EC 38 60 00 00 */ li r3, 0 +/* 80076990 000738F0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80076994 000738F4 98 1B 01 48 */ stb r0, 0x148(r27) +lbl_80076998: +/* 80076998 000738F8 C0 3B 01 08 */ lfs f1, 0x108(r27) +/* 8007699C 000738FC C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) +/* 800769A0 00073900 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800769A4 00073904 4C 40 13 82 */ cror 2, 0, 2 +/* 800769A8 00073908 41 82 00 70 */ beq lbl_80076A18 +/* 800769AC 0007390C 7F 23 CB 78 */ mr r3, r25 +/* 800769B0 00073910 81 99 00 00 */ lwz r12, 0(r25) +/* 800769B4 00073914 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 800769B8 00073918 7D 89 03 A6 */ mtctr r12 +/* 800769BC 0007391C 4E 80 04 21 */ bctrl +/* 800769C0 00073920 38 9B 01 00 */ addi r4, r27, 0x100 +/* 800769C4 00073924 38 A0 00 00 */ li r5, 0 +/* 800769C8 00073928 48 08 BD 41 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 800769CC 0007392C 80 1B 01 00 */ lwz r0, 0x100(r27) +/* 800769D0 00073930 7C 7E 1B 78 */ mr r30, r3 +/* 800769D4 00073934 2C 00 00 08 */ cmpwi r0, 8 +/* 800769D8 00073938 40 82 00 20 */ bne lbl_800769F8 +/* 800769DC 0007393C 38 7D 08 B8 */ addi r3, r29, 0x8b8 +/* 800769E0 00073940 48 00 05 8D */ bl "GetPtr__Q24rstl22rc_ptr<12CPlayerState>CFv" +/* 800769E4 00073944 38 80 00 17 */ li r4, 0x17 +/* 800769E8 00073948 48 01 B0 D9 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800769EC 0007394C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800769F0 00073950 41 82 00 08 */ beq lbl_800769F8 +/* 800769F4 00073954 3B C0 00 00 */ li r30, 0 +lbl_800769F8: +/* 800769F8 00073958 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800769FC 0007395C 41 82 00 1C */ beq lbl_80076A18 +/* 80076A00 00073960 7F 23 CB 78 */ mr r3, r25 +/* 80076A04 00073964 4B F9 AF 59 */ bl IncrementPhazon__7CPlayerFv +/* 80076A08 00073968 88 1B 01 48 */ lbz r0, 0x148(r27) +/* 80076A0C 0007396C 38 60 00 01 */ li r3, 1 +/* 80076A10 00073970 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80076A14 00073974 98 1B 01 48 */ stb r0, 0x148(r27) +lbl_80076A18: +/* 80076A18 00073978 7F 63 DB 78 */ mr r3, r27 +/* 80076A1C 0007397C 7F A5 EB 78 */ mr r5, r29 +/* 80076A20 00073980 38 80 00 03 */ li r4, 3 +/* 80076A24 00073984 38 C0 FF FF */ li r6, -1 +/* 80076A28 00073988 4B FD A6 99 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80076A2C 0007398C 88 1B 01 48 */ lbz r0, 0x148(r27) +/* 80076A30 00073990 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80076A34 00073994 41 82 00 F0 */ beq lbl_80076B24 +/* 80076A38 00073998 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80076A3C 0007399C 7F A4 EB 78 */ mr r4, r29 +/* 80076A40 000739A0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80076A44 000739A4 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80076A48 000739A8 B0 01 00 38 */ sth r0, 0x38(r1) +/* 80076A4C 000739AC B0 01 00 3C */ sth r0, 0x3c(r1) +/* 80076A50 000739B0 4B FD 14 71 */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId +/* 80076A54 000739B4 80 01 00 60 */ lwz r0, 0x60(r1) +/* 80076A58 000739B8 7F A3 EB 78 */ mr r3, r29 +/* 80076A5C 000739BC 38 81 00 44 */ addi r4, r1, 0x44 +/* 80076A60 000739C0 38 A1 00 64 */ addi r5, r1, 0x64 +/* 80076A64 000739C4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80076A68 000739C8 38 C0 00 04 */ li r6, 4 +/* 80076A6C 000739CC 38 E0 00 03 */ li r7, 3 +/* 80076A70 000739D0 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80076A74 000739D4 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80076A78 000739D8 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80076A7C 000739DC 4B FD 10 C1 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState +/* 80076A80 000739E0 7F 83 E3 78 */ mr r3, r28 +/* 80076A84 000739E4 7F A4 EB 78 */ mr r4, r29 +/* 80076A88 000739E8 81 9C 00 00 */ lwz r12, 0(r28) +/* 80076A8C 000739EC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80076A90 000739F0 7D 89 03 A6 */ mtctr r12 +/* 80076A94 000739F4 4E 80 04 21 */ bctrl +/* 80076A98 000739F8 28 03 00 00 */ cmplwi r3, 0 +/* 80076A9C 000739FC 41 82 00 88 */ beq lbl_80076B24 +/* 80076AA0 00073A00 C0 3B 01 08 */ lfs f1, 0x108(r27) +/* 80076AA4 00073A04 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) +/* 80076AA8 00073A08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80076AAC 00073A0C 40 81 00 78 */ ble lbl_80076B24 +/* 80076AB0 00073A10 80 AD 83 D0 */ lwz r5, lbl_805A6F90@sda21(r13) +/* 80076AB4 00073A14 38 60 00 00 */ li r3, 0 +/* 80076AB8 00073A18 38 80 00 01 */ li r4, 1 +/* 80076ABC 00073A1C 48 31 34 39 */ bl __shl2i +/* 80076AC0 00073A20 39 40 00 00 */ li r10, 0 +/* 80076AC4 00073A24 38 00 00 03 */ li r0, 3 +/* 80076AC8 00073A28 90 81 00 A4 */ stw r4, 0xa4(r1) +/* 80076ACC 00073A2C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80076AD0 00073A30 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80076AD4 00073A34 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80076AD8 00073A38 90 61 00 A0 */ stw r3, 0xa0(r1) +/* 80076ADC 00073A3C 38 81 00 34 */ addi r4, r1, 0x34 +/* 80076AE0 00073A40 7F A3 EB 78 */ mr r3, r29 +/* 80076AE4 00073A44 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80076AE8 00073A48 91 41 00 AC */ stw r10, 0xac(r1) +/* 80076AEC 00073A4C 38 FB 01 00 */ addi r7, r27, 0x100 +/* 80076AF0 00073A50 39 01 00 A0 */ addi r8, r1, 0xa0 +/* 80076AF4 00073A54 91 41 00 A8 */ stw r10, 0xa8(r1) +/* 80076AF8 00073A58 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80076AFC 00073A5C A0 1B 00 08 */ lhz r0, 8(r27) +/* 80076B00 00073A60 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80076B04 00073A64 A1 5C 00 08 */ lhz r10, 8(r28) +/* 80076B08 00073A68 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80076B0C 00073A6C B1 41 00 2C */ sth r10, 0x2c(r1) +/* 80076B10 00073A70 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80076B14 00073A74 B1 41 00 28 */ sth r10, 0x28(r1) +/* 80076B18 00073A78 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80076B1C 00073A7C B0 01 00 34 */ sth r0, 0x34(r1) +/* 80076B20 00073A80 4B FD 35 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_80076B24: +/* 80076B24 00073A84 80 1B 01 2C */ lwz r0, 0x12c(r27) +/* 80076B28 00073A88 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14 +/* 80076B2C 00073A8C 41 82 01 40 */ beq lbl_80076C6C +/* 80076B30 00073A90 7F 83 E3 78 */ mr r3, r28 +/* 80076B34 00073A94 7F A4 EB 78 */ mr r4, r29 +/* 80076B38 00073A98 81 9C 00 00 */ lwz r12, 0(r28) +/* 80076B3C 00073A9C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80076B40 00073AA0 7D 89 03 A6 */ mtctr r12 +/* 80076B44 00073AA4 4E 80 04 21 */ bctrl +/* 80076B48 00073AA8 28 03 00 00 */ cmplwi r3, 0 +/* 80076B4C 00073AAC 41 82 01 20 */ beq lbl_80076C6C +/* 80076B50 00073AB0 88 0D A2 40 */ lbz r0, lbl_805A8E00@sda21(r13) +/* 80076B54 00073AB4 7C 00 07 75 */ extsb. r0, r0 +/* 80076B58 00073AB8 40 82 00 3C */ bne lbl_80076B94 +/* 80076B5C 00073ABC 38 ED A2 44 */ addi r7, r13, lbl_805A8E04@sda21 +/* 80076B60 00073AC0 38 C0 00 00 */ li r6, 0 +/* 80076B64 00073AC4 88 07 00 04 */ lbz r0, 4(r7) +/* 80076B68 00073AC8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80076B6C 00073ACC 38 80 00 01 */ li r4, 1 +/* 80076B70 00073AD0 90 CD A2 44 */ stw r6, lbl_805A8E04@sda21(r13) +/* 80076B74 00073AD4 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 80076B78 00073AD8 50 C5 36 72 */ rlwimi r5, r6, 6, 0x19, 0x19 +/* 80076B7C 00073ADC 98 07 00 04 */ stb r0, 4(r7) +/* 80076B80 00073AE0 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 80076B84 00073AE4 98 A7 00 04 */ stb r5, 4(r7) +/* 80076B88 00073AE8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80076B8C 00073AEC 98 07 00 04 */ stb r0, 4(r7) +/* 80076B90 00073AF0 98 8D A2 40 */ stb r4, lbl_805A8E00@sda21(r13) +lbl_80076B94: +/* 80076B94 00073AF4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80076B98 00073AF8 38 8D A2 44 */ addi r4, r13, lbl_805A8E04@sda21 +/* 80076B9C 00073AFC C0 42 88 D8 */ lfs f2, lbl_805AA5F8@sda21(r2) +/* 80076BA0 00073B00 38 A0 00 00 */ li r5, 0 +/* 80076BA4 00073B04 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) +/* 80076BA8 00073B08 38 60 00 00 */ li r3, 0 +/* 80076BAC 00073B0C EC 22 00 72 */ fmuls f1, f2, f1 +/* 80076BB0 00073B10 88 C4 00 04 */ lbz r6, 4(r4) +/* 80076BB4 00073B14 80 ED A2 44 */ lwz r7, lbl_805A8E04@sda21(r13) +/* 80076BB8 00073B18 38 80 00 01 */ li r4, 1 +/* 80076BBC 00073B1C 88 01 00 D0 */ lbz r0, 0xd0(r1) +/* 80076BC0 00073B20 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80076BC4 00073B24 80 AD 83 D0 */ lwz r5, lbl_805A6F90@sda21(r13) +/* 80076BC8 00073B28 90 E1 00 B8 */ stw r7, 0xb8(r1) +/* 80076BCC 00073B2C 98 C1 00 BC */ stb r6, 0xbc(r1) +/* 80076BD0 00073B30 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 80076BD4 00073B34 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 80076BD8 00073B38 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 80076BDC 00073B3C D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 80076BE0 00073B40 98 01 00 D0 */ stb r0, 0xd0(r1) +/* 80076BE4 00073B44 48 31 33 11 */ bl __shl2i +/* 80076BE8 00073B48 39 40 00 00 */ li r10, 0 +/* 80076BEC 00073B4C 38 00 00 03 */ li r0, 3 +/* 80076BF0 00073B50 90 81 00 8C */ stw r4, 0x8c(r1) +/* 80076BF4 00073B54 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80076BF8 00073B58 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80076BFC 00073B5C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80076C00 00073B60 90 61 00 88 */ stw r3, 0x88(r1) +/* 80076C04 00073B64 38 81 00 1C */ addi r4, r1, 0x1c +/* 80076C08 00073B68 7F A3 EB 78 */ mr r3, r29 +/* 80076C0C 00073B6C 38 C1 00 0C */ addi r6, r1, 0xc +/* 80076C10 00073B70 91 41 00 94 */ stw r10, 0x94(r1) +/* 80076C14 00073B74 38 E1 00 B8 */ addi r7, r1, 0xb8 +/* 80076C18 00073B78 39 01 00 88 */ addi r8, r1, 0x88 +/* 80076C1C 00073B7C 91 41 00 90 */ stw r10, 0x90(r1) +/* 80076C20 00073B80 90 01 00 98 */ stw r0, 0x98(r1) +/* 80076C24 00073B84 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80076C28 00073B88 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80076C2C 00073B8C A1 5C 00 08 */ lhz r10, 8(r28) +/* 80076C30 00073B90 B0 01 00 08 */ sth r0, 8(r1) +/* 80076C34 00073B94 B1 41 00 14 */ sth r10, 0x14(r1) +/* 80076C38 00073B98 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80076C3C 00073B9C B1 41 00 10 */ sth r10, 0x10(r1) +/* 80076C40 00073BA0 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80076C44 00073BA4 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80076C48 00073BA8 4B FD 34 59 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80076C4C 00073BAC 48 00 00 20 */ b lbl_80076C6C +lbl_80076C50: +/* 80076C50 00073BB0 7F 63 DB 78 */ mr r3, r27 +/* 80076C54 00073BB4 7F 84 E3 78 */ mr r4, r28 +/* 80076C58 00073BB8 81 9B 00 00 */ lwz r12, 0(r27) +/* 80076C5C 00073BBC 7F A5 EB 78 */ mr r5, r29 +/* 80076C60 00073BC0 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 80076C64 00073BC4 7D 89 03 A6 */ mtctr r12 +/* 80076C68 00073BC8 4E 80 04 21 */ bctrl +lbl_80076C6C: +/* 80076C6C 00073BCC BB 21 00 E4 */ lmw r25, 0xe4(r1) +/* 80076C70 00073BD0 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80076C74 00073BD4 7C 08 03 A6 */ mtlr r0 +/* 80076C78 00073BD8 38 21 01 00 */ addi r1, r1, 0x100 +/* 80076C7C 00073BDC 4E 80 00 20 */ blr + +.global __dt__14CScriptTriggerFv +__dt__14CScriptTriggerFv: +/* 80076C80 00073BE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80076C84 00073BE4 7C 08 02 A6 */ mflr r0 +/* 80076C88 00073BE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80076C8C 00073BEC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80076C90 00073BF0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80076C94 00073BF4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80076C98 00073BF8 7C 9D 23 78 */ mr r29, r4 +/* 80076C9C 00073BFC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80076CA0 00073C00 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80076CA4 00073C04 41 82 00 90 */ beq lbl_80076D34 +/* 80076CA8 00073C08 3C 60 80 3E */ lis r3, lbl_803DA4D8@ha +/* 80076CAC 00073C0C 38 03 A4 D8 */ addi r0, r3, lbl_803DA4D8@l +/* 80076CB0 00073C10 90 1C 00 00 */ stw r0, 0(r28) +/* 80076CB4 00073C14 83 FC 00 EC */ lwz r31, 0xec(r28) +/* 80076CB8 00073C18 83 DC 00 F0 */ lwz r30, 0xf0(r28) +/* 80076CBC 00073C1C 7F E4 FB 78 */ mr r4, r31 +/* 80076CC0 00073C20 48 00 00 14 */ b lbl_80076CD4 +lbl_80076CC4: +/* 80076CC4 00073C24 83 FF 00 04 */ lwz r31, 4(r31) +/* 80076CC8 00073C28 38 7C 00 E8 */ addi r3, r28, 0xe8 +/* 80076CCC 00073C2C 48 00 02 AD */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" +/* 80076CD0 00073C30 7F E4 FB 78 */ mr r4, r31 +lbl_80076CD4: +/* 80076CD4 00073C34 7C 1F F0 40 */ cmplw r31, r30 +/* 80076CD8 00073C38 40 82 FF EC */ bne lbl_80076CC4 +/* 80076CDC 00073C3C 3C 60 00 01 */ lis r3, 0x00011000@ha +/* 80076CE0 00073C40 80 9C 01 2C */ lwz r4, 0x12c(r28) +/* 80076CE4 00073C44 38 03 10 00 */ addi r0, r3, 0x00011000@l +/* 80076CE8 00073C48 7C 80 00 39 */ and. r0, r4, r0 +/* 80076CEC 00073C4C 41 82 00 20 */ beq lbl_80076D0C +/* 80076CF0 00073C50 3C 60 FF FF */ lis r3, 0xFFFEEFFF@ha +/* 80076CF4 00073C54 38 03 EF FF */ addi r0, r3, 0xFFFEEFFF@l +/* 80076CF8 00073C58 7C 80 00 38 */ and r0, r4, r0 +/* 80076CFC 00073C5C 90 1C 01 2C */ stw r0, 0x12c(r28) +/* 80076D00 00073C60 80 1C 01 2C */ lwz r0, 0x12c(r28) +/* 80076D04 00073C64 60 00 00 01 */ ori r0, r0, 1 +/* 80076D08 00073C68 90 1C 01 2C */ stw r0, 0x12c(r28) +lbl_80076D0C: +/* 80076D0C 00073C6C 38 7C 00 E8 */ addi r3, r28, 0xe8 +/* 80076D10 00073C70 38 80 FF FF */ li r4, -1 +/* 80076D14 00073C74 48 00 02 E1 */ bl sub_80076ff4 +/* 80076D18 00073C78 7F 83 E3 78 */ mr r3, r28 +/* 80076D1C 00073C7C 38 80 00 00 */ li r4, 0 +/* 80076D20 00073C80 4B FD E9 D1 */ bl __dt__6CActorFv +/* 80076D24 00073C84 7F A0 07 35 */ extsh. r0, r29 +/* 80076D28 00073C88 40 81 00 0C */ ble lbl_80076D34 +/* 80076D2C 00073C8C 7F 83 E3 78 */ mr r3, r28 +/* 80076D30 00073C90 48 29 EC 01 */ bl Free__7CMemoryFPCv +lbl_80076D34: +/* 80076D34 00073C94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80076D38 00073C98 7F 83 E3 78 */ mr r3, r28 +/* 80076D3C 00073C9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80076D40 00073CA0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80076D44 00073CA4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80076D48 00073CA8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80076D4C 00073CAC 7C 08 03 A6 */ mtlr r0 +/* 80076D50 00073CB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80076D54 00073CB4 4E 80 00 20 */ blr + +.global "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" +"__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb": +/* 80076D58 00073CB8 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 80076D5C 00073CBC 7C 08 02 A6 */ mflr r0 +/* 80076D60 00073CC0 90 01 01 44 */ stw r0, 0x144(r1) +/* 80076D64 00073CC4 BE 81 01 10 */ stmw r20, 0x110(r1) +/* 80076D68 00073CC8 7C 74 1B 78 */ mr r20, r3 +/* 80076D6C 00073CCC 83 81 01 48 */ lwz r28, 0x148(r1) +/* 80076D70 00073CD0 7C 95 23 78 */ mr r21, r4 +/* 80076D74 00073CD4 8B A1 01 4F */ lbz r29, 0x14f(r1) +/* 80076D78 00073CD8 7C B6 2B 78 */ mr r22, r5 +/* 80076D7C 00073CDC 8B C1 01 53 */ lbz r30, 0x153(r1) +/* 80076D80 00073CE0 7C D7 33 78 */ mr r23, r6 +/* 80076D84 00073CE4 8B E1 01 57 */ lbz r31, 0x157(r1) +/* 80076D88 00073CE8 7C F8 3B 78 */ mr r24, r7 +/* 80076D8C 00073CEC 7D 19 43 78 */ mr r25, r8 +/* 80076D90 00073CF0 7D 3A 4B 78 */ mr r26, r9 +/* 80076D94 00073CF4 7D 5B 53 78 */ mr r27, r10 +/* 80076D98 00073CF8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80076D9C 00073CFC 4B FC 3A 09 */ bl CModelDataNull__10CModelDataFv +/* 80076DA0 00073D00 38 61 00 50 */ addi r3, r1, 0x50 +/* 80076DA4 00073D04 4B FA 40 95 */ bl None__16CActorParametersFv +/* 80076DA8 00073D08 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80076DAC 00073D0C 38 00 00 00 */ li r0, 0 +/* 80076DB0 00073D10 80 AD 83 D4 */ lwz r5, lbl_805A6F94@sda21(r13) +/* 80076DB4 00073D14 38 60 00 00 */ li r3, 0 +/* 80076DB8 00073D18 B0 81 00 10 */ sth r4, 0x10(r1) +/* 80076DBC 00073D1C 38 80 00 01 */ li r4, 1 +/* 80076DC0 00073D20 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80076DC4 00073D24 90 01 00 18 */ stw r0, 0x18(r1) +/* 80076DC8 00073D28 48 31 31 2D */ bl __shl2i +/* 80076DCC 00073D2C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80076DD0 00073D30 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80076DD4 00073D34 7C 03 1B 78 */ or r3, r0, r3 +/* 80076DD8 00073D38 A0 15 00 00 */ lhz r0, 0(r21) +/* 80076DDC 00073D3C 7C A5 23 78 */ or r5, r5, r4 +/* 80076DE0 00073D40 90 61 00 18 */ stw r3, 0x18(r1) +/* 80076DE4 00073D44 7F 04 C3 78 */ mr r4, r24 +/* 80076DE8 00073D48 38 61 00 20 */ addi r3, r1, 0x20 +/* 80076DEC 00073D4C 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80076DF0 00073D50 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80076DF4 00073D54 48 29 C3 4D */ bl Translate__12CTransform4fFRC9CVector3f +/* 80076DF8 00073D58 38 61 00 50 */ addi r3, r1, 0x50 +/* 80076DFC 00073D5C 38 01 00 10 */ addi r0, r1, 0x10 +/* 80076E00 00073D60 90 61 00 08 */ stw r3, 8(r1) +/* 80076E04 00073D64 7E 83 A3 78 */ mr r3, r20 +/* 80076E08 00073D68 7F A5 EB 78 */ mr r5, r29 +/* 80076E0C 00073D6C 7E C6 B3 78 */ mr r6, r22 +/* 80076E10 00073D70 90 01 00 0C */ stw r0, 0xc(r1) +/* 80076E14 00073D74 7E E7 BB 78 */ mr r7, r23 +/* 80076E18 00073D78 38 81 00 14 */ addi r4, r1, 0x14 +/* 80076E1C 00073D7C 39 01 00 20 */ addi r8, r1, 0x20 +/* 80076E20 00073D80 39 21 00 B8 */ addi r9, r1, 0xb8 +/* 80076E24 00073D84 39 41 00 18 */ addi r10, r1, 0x18 +/* 80076E28 00073D88 4B FD E9 F9 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 80076E2C 00073D8C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80076E30 00073D90 38 80 FF FF */ li r4, -1 +/* 80076E34 00073D94 48 08 F7 D5 */ bl __dt__16CActorParametersFv +/* 80076E38 00073D98 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80076E3C 00073D9C 38 80 FF FF */ li r4, -1 +/* 80076E40 00073DA0 48 09 FC 0D */ bl __dt__10CModelDataFv +/* 80076E44 00073DA4 3C 60 80 3E */ lis r3, lbl_803DA4D8@ha +/* 80076E48 00073DA8 38 94 00 F4 */ addi r4, r20, 0xf4 +/* 80076E4C 00073DAC 38 63 A4 D8 */ addi r3, r3, lbl_803DA4D8@l +/* 80076E50 00073DB0 38 00 00 00 */ li r0, 0 +/* 80076E54 00073DB4 90 74 00 00 */ stw r3, 0(r20) +/* 80076E58 00073DB8 7F 63 DB 78 */ mr r3, r27 +/* 80076E5C 00073DBC 90 94 00 EC */ stw r4, 0xec(r20) +/* 80076E60 00073DC0 90 94 00 F0 */ stw r4, 0xf0(r20) +/* 80076E64 00073DC4 90 94 00 F4 */ stw r4, 0xf4(r20) +/* 80076E68 00073DC8 90 94 00 F8 */ stw r4, 0xf8(r20) +/* 80076E6C 00073DCC 90 14 00 FC */ stw r0, 0xfc(r20) +/* 80076E70 00073DD0 80 1A 00 00 */ lwz r0, 0(r26) +/* 80076E74 00073DD4 90 14 01 00 */ stw r0, 0x100(r20) +/* 80076E78 00073DD8 88 1A 00 04 */ lbz r0, 4(r26) +/* 80076E7C 00073DDC 98 14 01 04 */ stb r0, 0x104(r20) +/* 80076E80 00073DE0 C0 1A 00 08 */ lfs f0, 8(r26) +/* 80076E84 00073DE4 D0 14 01 08 */ stfs f0, 0x108(r20) +/* 80076E88 00073DE8 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 80076E8C 00073DEC D0 14 01 0C */ stfs f0, 0x10c(r20) +/* 80076E90 00073DF0 C0 1A 00 10 */ lfs f0, 0x10(r26) +/* 80076E94 00073DF4 D0 14 01 10 */ stfs f0, 0x110(r20) +/* 80076E98 00073DF8 C0 1A 00 14 */ lfs f0, 0x14(r26) +/* 80076E9C 00073DFC D0 14 01 14 */ stfs f0, 0x114(r20) +/* 80076EA0 00073E00 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80076EA4 00073E04 98 14 01 18 */ stb r0, 0x118(r20) +/* 80076EA8 00073E08 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80076EAC 00073E0C D0 14 01 1C */ stfs f0, 0x11c(r20) +/* 80076EB0 00073E10 C0 1B 00 04 */ lfs f0, 4(r27) +/* 80076EB4 00073E14 D0 14 01 20 */ stfs f0, 0x120(r20) +/* 80076EB8 00073E18 C0 1B 00 08 */ lfs f0, 8(r27) +/* 80076EBC 00073E1C D0 14 01 24 */ stfs f0, 0x124(r20) +/* 80076EC0 00073E20 48 29 D9 F9 */ bl Magnitude__9CVector3fCFv +/* 80076EC4 00073E24 D0 34 01 28 */ stfs f1, 0x128(r20) +/* 80076EC8 00073E28 38 A0 00 00 */ li r5, 0 +/* 80076ECC 00073E2C 7E 83 A3 78 */ mr r3, r20 +/* 80076ED0 00073E30 38 80 00 00 */ li r4, 0 +/* 80076ED4 00073E34 93 94 01 2C */ stw r28, 0x12c(r20) +/* 80076ED8 00073E38 C0 19 00 00 */ lfs f0, 0(r25) +/* 80076EDC 00073E3C D0 14 01 30 */ stfs f0, 0x130(r20) +/* 80076EE0 00073E40 C0 19 00 04 */ lfs f0, 4(r25) +/* 80076EE4 00073E44 D0 14 01 34 */ stfs f0, 0x134(r20) +/* 80076EE8 00073E48 C0 19 00 08 */ lfs f0, 8(r25) +/* 80076EEC 00073E4C D0 14 01 38 */ stfs f0, 0x138(r20) +/* 80076EF0 00073E50 C0 19 00 0C */ lfs f0, 0xc(r25) +/* 80076EF4 00073E54 D0 14 01 3C */ stfs f0, 0x13c(r20) +/* 80076EF8 00073E58 C0 19 00 10 */ lfs f0, 0x10(r25) +/* 80076EFC 00073E5C D0 14 01 40 */ stfs f0, 0x140(r20) +/* 80076F00 00073E60 C0 19 00 14 */ lfs f0, 0x14(r25) +/* 80076F04 00073E64 D0 14 01 44 */ stfs f0, 0x144(r20) +/* 80076F08 00073E68 88 14 01 48 */ lbz r0, 0x148(r20) +/* 80076F0C 00073E6C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80076F10 00073E70 98 14 01 48 */ stb r0, 0x148(r20) +/* 80076F14 00073E74 88 14 01 48 */ lbz r0, 0x148(r20) +/* 80076F18 00073E78 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80076F1C 00073E7C 98 14 01 48 */ stb r0, 0x148(r20) +/* 80076F20 00073E80 88 14 01 48 */ lbz r0, 0x148(r20) +/* 80076F24 00073E84 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a +/* 80076F28 00073E88 98 14 01 48 */ stb r0, 0x148(r20) +/* 80076F2C 00073E8C 88 14 01 48 */ lbz r0, 0x148(r20) +/* 80076F30 00073E90 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b +/* 80076F34 00073E94 98 14 01 48 */ stb r0, 0x148(r20) +/* 80076F38 00073E98 88 14 01 48 */ lbz r0, 0x148(r20) +/* 80076F3C 00073E9C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80076F40 00073EA0 98 14 01 48 */ stb r0, 0x148(r20) +/* 80076F44 00073EA4 88 14 01 48 */ lbz r0, 0x148(r20) +/* 80076F48 00073EA8 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80076F4C 00073EAC 98 14 01 48 */ stb r0, 0x148(r20) +/* 80076F50 00073EB0 4B FD D4 69 */ bl SetCallTouch__6CActorFb +/* 80076F54 00073EB4 7E 83 A3 78 */ mr r3, r20 +/* 80076F58 00073EB8 BA 81 01 10 */ lmw r20, 0x110(r1) +/* 80076F5C 00073EBC 80 01 01 44 */ lwz r0, 0x144(r1) +/* 80076F60 00073EC0 7C 08 03 A6 */ mtlr r0 +/* 80076F64 00073EC4 38 21 01 40 */ addi r1, r1, 0x140 +/* 80076F68 00073EC8 4E 80 00 20 */ blr + +.global "GetPtr__Q24rstl22rc_ptr<12CPlayerState>CFv" +"GetPtr__Q24rstl22rc_ptr<12CPlayerState>CFv": +/* 80076F6C 00073ECC 80 63 00 00 */ lwz r3, 0(r3) +/* 80076F70 00073ED0 80 63 00 00 */ lwz r3, 0(r3) +/* 80076F74 00073ED4 4E 80 00 20 */ blr + +.global "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" +"erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator": +/* 80076F78 00073ED8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80076F7C 00073EDC 7C 08 02 A6 */ mflr r0 +/* 80076F80 00073EE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80076F84 00073EE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80076F88 00073EE8 93 C1 00 08 */ stw r30, 8(r1) +/* 80076F8C 00073EEC 7C 7E 1B 78 */ mr r30, r3 +/* 80076F90 00073EF0 80 03 00 04 */ lwz r0, 4(r3) +/* 80076F94 00073EF4 83 E4 00 04 */ lwz r31, 4(r4) +/* 80076F98 00073EF8 7C 04 00 40 */ cmplw r4, r0 +/* 80076F9C 00073EFC 40 82 00 08 */ bne lbl_80076FA4 +/* 80076FA0 00073F00 93 FE 00 04 */ stw r31, 4(r30) +lbl_80076FA4: +/* 80076FA4 00073F04 80 04 00 04 */ lwz r0, 4(r4) +/* 80076FA8 00073F08 28 04 00 00 */ cmplwi r4, 0 +/* 80076FAC 00073F0C 80 64 00 00 */ lwz r3, 0(r4) +/* 80076FB0 00073F10 90 03 00 04 */ stw r0, 4(r3) +/* 80076FB4 00073F14 80 04 00 00 */ lwz r0, 0(r4) +/* 80076FB8 00073F18 80 64 00 04 */ lwz r3, 4(r4) +/* 80076FBC 00073F1C 90 03 00 00 */ stw r0, 0(r3) +/* 80076FC0 00073F20 41 82 00 0C */ beq lbl_80076FCC +/* 80076FC4 00073F24 7C 83 23 78 */ mr r3, r4 +/* 80076FC8 00073F28 48 29 E9 69 */ bl Free__7CMemoryFPCv +lbl_80076FCC: +/* 80076FCC 00073F2C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80076FD0 00073F30 7F E3 FB 78 */ mr r3, r31 +/* 80076FD4 00073F34 38 04 FF FF */ addi r0, r4, -1 +/* 80076FD8 00073F38 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80076FDC 00073F3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80076FE0 00073F40 83 C1 00 08 */ lwz r30, 8(r1) +/* 80076FE4 00073F44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80076FE8 00073F48 7C 08 03 A6 */ mtlr r0 +/* 80076FEC 00073F4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80076FF0 00073F50 4E 80 00 20 */ blr + +.global sub_80076ff4 +sub_80076ff4: +/* 80076FF4 00073F54 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80076FF8 00073F58 7C 08 02 A6 */ mflr r0 +/* 80076FFC 00073F5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80077000 00073F60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80077004 00073F64 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80077008 00073F68 7C 9E 23 78 */ mr r30, r4 +/* 8007700C 00073F6C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80077010 00073F70 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80077014 00073F74 41 82 00 38 */ beq lbl_8007704C +/* 80077018 00073F78 83 FD 00 04 */ lwz r31, 4(r29) +/* 8007701C 00073F7C 48 00 00 14 */ b lbl_80077030 +lbl_80077020: +/* 80077020 00073F80 7F E3 FB 79 */ or. r3, r31, r31 +/* 80077024 00073F84 83 FF 00 04 */ lwz r31, 4(r31) +/* 80077028 00073F88 41 82 00 08 */ beq lbl_80077030 +/* 8007702C 00073F8C 48 29 E9 05 */ bl Free__7CMemoryFPCv +lbl_80077030: +/* 80077030 00073F90 80 1D 00 08 */ lwz r0, 8(r29) +/* 80077034 00073F94 7C 1F 00 40 */ cmplw r31, r0 +/* 80077038 00073F98 40 82 FF E8 */ bne lbl_80077020 +/* 8007703C 00073F9C 7F C0 07 35 */ extsh. r0, r30 +/* 80077040 00073FA0 40 81 00 0C */ ble lbl_8007704C +/* 80077044 00073FA4 7F A3 EB 78 */ mr r3, r29 +/* 80077048 00073FA8 48 29 E8 E9 */ bl Free__7CMemoryFPCv +lbl_8007704C: +/* 8007704C 00073FAC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80077050 00073FB0 7F A3 EB 78 */ mr r3, r29 +/* 80077054 00073FB4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80077058 00073FB8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8007705C 00073FBC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80077060 00073FC0 7C 08 03 A6 */ mtlr r0 +/* 80077064 00073FC4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80077068 00073FC8 4E 80 00 20 */ blr + +.global Accept__15CScriptWaypointFR8IVisitor +Accept__15CScriptWaypointFR8IVisitor: +/* 8007706C 00073FCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80077070 00073FD0 7C 08 02 A6 */ mflr r0 +/* 80077074 00073FD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077078 00073FD8 7C 60 1B 78 */ mr r0, r3 +/* 8007707C 00073FDC 7C 83 23 78 */ mr r3, r4 +/* 80077080 00073FE0 81 84 00 00 */ lwz r12, 0(r4) +/* 80077084 00073FE4 7C 04 03 78 */ mr r4, r0 +/* 80077088 00073FE8 81 8C 00 D8 */ lwz r12, 0xd8(r12) +/* 8007708C 00073FEC 7D 89 03 A6 */ mtctr r12 +/* 80077090 00073FF0 4E 80 04 21 */ bctrl +/* 80077094 00073FF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80077098 00073FF8 7C 08 03 A6 */ mtlr r0 +/* 8007709C 00073FFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800770A0 00074000 4E 80 00 20 */ blr + +.global Render__15CScriptWaypointCFRC13CStateManager +Render__15CScriptWaypointCFRC13CStateManager: +/* 800770A4 00074004 4E 80 00 20 */ blr + +.global AddToRenderer__15CScriptWaypointCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__15CScriptWaypointCFRC14CFrustumPlanesRC13CStateManager: +/* 800770A8 00074008 4E 80 00 20 */ blr + +.global FollowWaypoint__15CScriptWaypointCFR13CStateManager +FollowWaypoint__15CScriptWaypointCFR13CStateManager: +/* 800770AC 0007400C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800770B0 00074010 7C 08 02 A6 */ mflr r0 +/* 800770B4 00074014 90 01 00 24 */ stw r0, 0x24(r1) +/* 800770B8 00074018 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800770BC 0007401C 7C 7F 1B 78 */ mr r31, r3 +/* 800770C0 00074020 80 C4 00 2C */ lwz r6, 0x2c(r4) +/* 800770C4 00074024 48 00 00 3C */ b lbl_80077100 +lbl_800770C8: +/* 800770C8 00074028 80 06 00 00 */ lwz r0, 0(r6) +/* 800770CC 0007402C 2C 00 00 01 */ cmpwi r0, 1 +/* 800770D0 00074030 40 82 00 2C */ bne lbl_800770FC +/* 800770D4 00074034 80 06 00 04 */ lwz r0, 4(r6) +/* 800770D8 00074038 2C 00 00 06 */ cmpwi r0, 6 +/* 800770DC 0007403C 40 82 00 20 */ bne lbl_800770FC +/* 800770E0 00074040 80 06 00 08 */ lwz r0, 8(r6) +/* 800770E4 00074044 7F E3 FB 78 */ mr r3, r31 +/* 800770E8 00074048 7C A4 2B 78 */ mr r4, r5 +/* 800770EC 0007404C 38 A1 00 08 */ addi r5, r1, 8 +/* 800770F0 00074050 90 01 00 08 */ stw r0, 8(r1) +/* 800770F4 00074054 4B FD 0E 29 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800770F8 00074058 48 00 00 28 */ b lbl_80077120 +lbl_800770FC: +/* 800770FC 0007405C 38 C6 00 0C */ addi r6, r6, 0xc +lbl_80077100: +/* 80077100 00074060 80 04 00 24 */ lwz r0, 0x24(r4) +/* 80077104 00074064 80 64 00 2C */ lwz r3, 0x2c(r4) +/* 80077108 00074068 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8007710C 0007406C 7C 03 02 14 */ add r0, r3, r0 +/* 80077110 00074070 7C 06 00 40 */ cmplw r6, r0 +/* 80077114 00074074 40 82 FF B4 */ bne lbl_800770C8 +/* 80077118 00074078 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007711C 0007407C B0 1F 00 00 */ sth r0, 0(r31) +lbl_80077120: +/* 80077120 00074080 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80077124 00074084 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80077128 00074088 7C 08 03 A6 */ mtlr r0 +/* 8007712C 0007408C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80077130 00074090 4E 80 00 20 */ blr + +.global NextWaypoint__15CScriptWaypointCFR13CStateManager +NextWaypoint__15CScriptWaypointCFR13CStateManager: +/* 80077134 00074094 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80077138 00074098 7C 08 02 A6 */ mflr r0 +/* 8007713C 0007409C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80077140 000740A0 38 00 00 00 */ li r0, 0 +/* 80077144 000740A4 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80077148 000740A8 7C 9C 23 78 */ mr r28, r4 +/* 8007714C 000740AC 7C 7B 1B 78 */ mr r27, r3 +/* 80077150 000740B0 7C BD 2B 78 */ mr r29, r5 +/* 80077154 000740B4 90 01 00 20 */ stw r0, 0x20(r1) +/* 80077158 000740B8 3B C1 00 24 */ addi r30, r1, 0x24 +/* 8007715C 000740BC 83 E4 00 2C */ lwz r31, 0x2c(r4) +/* 80077160 000740C0 48 00 00 A4 */ b lbl_80077204 +lbl_80077164: +/* 80077164 000740C4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80077168 000740C8 2C 00 00 01 */ cmpwi r0, 1 +/* 8007716C 000740CC 40 82 00 94 */ bne lbl_80077200 +/* 80077170 000740D0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80077174 000740D4 2C 00 00 08 */ cmpwi r0, 8 +/* 80077178 000740D8 40 82 00 88 */ bne lbl_80077200 +/* 8007717C 000740DC 80 1F 00 08 */ lwz r0, 8(r31) +/* 80077180 000740E0 7F A4 EB 78 */ mr r4, r29 +/* 80077184 000740E4 38 61 00 0C */ addi r3, r1, 0xc +/* 80077188 000740E8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8007718C 000740EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077190 000740F0 4B FD 0D 8D */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80077194 000740F4 A0 61 00 0C */ lhz r3, 0xc(r1) +/* 80077198 000740F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007719C 000740FC B0 61 00 10 */ sth r3, 0x10(r1) +/* 800771A0 00074100 7C 03 00 40 */ cmplw r3, r0 +/* 800771A4 00074104 41 82 00 5C */ beq lbl_80077200 +/* 800771A8 00074108 B0 61 00 08 */ sth r3, 8(r1) +/* 800771AC 0007410C 7F A3 EB 78 */ mr r3, r29 +/* 800771B0 00074110 38 81 00 08 */ addi r4, r1, 8 +/* 800771B4 00074114 4B FD 53 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800771B8 00074118 7C 64 1B 78 */ mr r4, r3 +/* 800771BC 0007411C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800771C0 00074120 48 02 F3 8D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 800771C4 00074124 80 63 00 04 */ lwz r3, 4(r3) +/* 800771C8 00074128 28 03 00 00 */ cmplwi r3, 0 +/* 800771CC 0007412C 41 82 00 34 */ beq lbl_80077200 +/* 800771D0 00074130 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800771D4 00074134 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800771D8 00074138 41 82 00 28 */ beq lbl_80077200 +/* 800771DC 0007413C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800771E0 00074140 54 00 08 3C */ slwi r0, r0, 1 +/* 800771E4 00074144 7C 7E 02 15 */ add. r3, r30, r0 +/* 800771E8 00074148 41 82 00 0C */ beq lbl_800771F4 +/* 800771EC 0007414C A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800771F0 00074150 B0 03 00 00 */ sth r0, 0(r3) +lbl_800771F4: +/* 800771F4 00074154 80 61 00 20 */ lwz r3, 0x20(r1) +/* 800771F8 00074158 38 03 00 01 */ addi r0, r3, 1 +/* 800771FC 0007415C 90 01 00 20 */ stw r0, 0x20(r1) +lbl_80077200: +/* 80077200 00074160 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80077204: +/* 80077204 00074164 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 80077208 00074168 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 8007720C 0007416C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80077210 00074170 7C 03 02 14 */ add r0, r3, r0 +/* 80077214 00074174 7C 1F 00 40 */ cmplw r31, r0 +/* 80077218 00074178 40 82 FF 4C */ bne lbl_80077164 +/* 8007721C 0007417C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80077220 00074180 2C 1C 00 00 */ cmpwi r28, 0 +/* 80077224 00074184 40 82 00 64 */ bne lbl_80077288 +/* 80077228 00074188 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8007722C 0007418C 38 60 00 00 */ li r3, 0 +/* 80077230 00074190 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80077234 00074194 2C 05 00 00 */ cmpwi r5, 0 +/* 80077238 00074198 B0 1B 00 00 */ sth r0, 0(r27) +/* 8007723C 0007419C 40 81 00 40 */ ble lbl_8007727C +/* 80077240 000741A0 2C 05 00 08 */ cmpwi r5, 8 +/* 80077244 000741A4 38 85 FF F8 */ addi r4, r5, -8 +/* 80077248 000741A8 40 81 00 20 */ ble lbl_80077268 +/* 8007724C 000741AC 38 04 00 07 */ addi r0, r4, 7 +/* 80077250 000741B0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80077254 000741B4 7C 09 03 A6 */ mtctr r0 +/* 80077258 000741B8 2C 04 00 00 */ cmpwi r4, 0 +/* 8007725C 000741BC 40 81 00 0C */ ble lbl_80077268 +lbl_80077260: +/* 80077260 000741C0 38 63 00 08 */ addi r3, r3, 8 +/* 80077264 000741C4 42 00 FF FC */ bdnz lbl_80077260 +lbl_80077268: +/* 80077268 000741C8 7C 03 28 50 */ subf r0, r3, r5 +/* 8007726C 000741CC 7C 09 03 A6 */ mtctr r0 +/* 80077270 000741D0 7C 03 28 00 */ cmpw r3, r5 +/* 80077274 000741D4 40 80 00 08 */ bge lbl_8007727C +lbl_80077278: +/* 80077278 000741D8 42 00 00 00 */ bdnz lbl_80077278 +lbl_8007727C: +/* 8007727C 000741DC 38 00 00 00 */ li r0, 0 +/* 80077280 000741E0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80077284 000741E4 48 00 00 A0 */ b lbl_80077324 +lbl_80077288: +/* 80077288 000741E8 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8007728C 000741EC 48 29 B2 51 */ bl Float__9CRandom16Fv +/* 80077290 000741F0 6F 83 80 00 */ xoris r3, r28, 0x8000 +/* 80077294 000741F4 3C 00 43 30 */ lis r0, 0x4330 +/* 80077298 000741F8 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8007729C 000741FC 38 60 00 00 */ li r3, 0 +/* 800772A0 00074200 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 800772A4 00074204 90 01 00 38 */ stw r0, 0x38(r1) +/* 800772A8 00074208 C8 62 88 E8 */ lfd f3, lbl_805AA608@sda21(r2) +/* 800772AC 0007420C 2C 05 00 00 */ cmpwi r5, 0 +/* 800772B0 00074210 C8 41 00 38 */ lfd f2, 0x38(r1) +/* 800772B4 00074214 C0 02 88 E0 */ lfs f0, lbl_805AA600@sda21(r2) +/* 800772B8 00074218 EC 42 18 28 */ fsubs f2, f2, f3 +/* 800772BC 0007421C EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800772C0 00074220 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800772C4 00074224 FC 00 00 1E */ fctiwz f0, f0 +/* 800772C8 00074228 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 800772CC 0007422C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800772D0 00074230 54 00 08 3C */ slwi r0, r0, 1 +/* 800772D4 00074234 7C 1E 02 2E */ lhzx r0, r30, r0 +/* 800772D8 00074238 B0 1B 00 00 */ sth r0, 0(r27) +/* 800772DC 0007423C 40 81 00 40 */ ble lbl_8007731C +/* 800772E0 00074240 2C 05 00 08 */ cmpwi r5, 8 +/* 800772E4 00074244 38 85 FF F8 */ addi r4, r5, -8 +/* 800772E8 00074248 40 81 00 20 */ ble lbl_80077308 +/* 800772EC 0007424C 38 04 00 07 */ addi r0, r4, 7 +/* 800772F0 00074250 54 00 E8 FE */ srwi r0, r0, 3 +/* 800772F4 00074254 7C 09 03 A6 */ mtctr r0 +/* 800772F8 00074258 2C 04 00 00 */ cmpwi r4, 0 +/* 800772FC 0007425C 40 81 00 0C */ ble lbl_80077308 +lbl_80077300: +/* 80077300 00074260 38 63 00 08 */ addi r3, r3, 8 +/* 80077304 00074264 42 00 FF FC */ bdnz lbl_80077300 +lbl_80077308: +/* 80077308 00074268 7C 03 28 50 */ subf r0, r3, r5 +/* 8007730C 0007426C 7C 09 03 A6 */ mtctr r0 +/* 80077310 00074270 7C 03 28 00 */ cmpw r3, r5 +/* 80077314 00074274 40 80 00 08 */ bge lbl_8007731C +lbl_80077318: +/* 80077318 00074278 42 00 00 00 */ bdnz lbl_80077318 +lbl_8007731C: +/* 8007731C 0007427C 38 00 00 00 */ li r0, 0 +/* 80077320 00074280 90 01 00 20 */ stw r0, 0x20(r1) +lbl_80077324: +/* 80077324 00074284 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 80077328 00074288 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8007732C 0007428C 7C 08 03 A6 */ mtlr r0 +/* 80077330 00074290 38 21 00 60 */ addi r1, r1, 0x60 +/* 80077334 00074294 4E 80 00 20 */ blr + +.global AcceptScriptMsg__15CScriptWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__15CScriptWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80077338 00074298 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007733C 0007429C 7C 08 02 A6 */ mflr r0 +/* 80077340 000742A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80077344 000742A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80077348 000742A8 7C DF 33 78 */ mr r31, r6 +/* 8007734C 000742AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80077350 000742B0 7C 9E 23 78 */ mr r30, r4 +/* 80077354 000742B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80077358 000742B8 7C 7D 1B 78 */ mr r29, r3 +/* 8007735C 000742BC A0 05 00 00 */ lhz r0, 0(r5) +/* 80077360 000742C0 38 A1 00 08 */ addi r5, r1, 8 +/* 80077364 000742C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80077368 000742C8 4B FD C2 AD */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8007736C 000742CC 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 80077370 000742D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80077374 000742D4 41 82 00 24 */ beq lbl_80077398 +/* 80077378 000742D8 2C 1E 00 02 */ cmpwi r30, 2 +/* 8007737C 000742DC 41 82 00 08 */ beq lbl_80077384 +/* 80077380 000742E0 48 00 00 18 */ b lbl_80077398 +lbl_80077384: +/* 80077384 000742E4 7F A3 EB 78 */ mr r3, r29 +/* 80077388 000742E8 7F E5 FB 78 */ mr r5, r31 +/* 8007738C 000742EC 38 80 00 01 */ li r4, 1 +/* 80077390 000742F0 38 C0 FF FF */ li r6, -1 +/* 80077394 000742F4 4B FD 9D 2D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_80077398: +/* 80077398 000742F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007739C 000742FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800773A0 00074300 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800773A4 00074304 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800773A8 00074308 7C 08 03 A6 */ mtlr r0 +/* 800773AC 0007430C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800773B0 00074310 4E 80 00 20 */ blr + +.global __dt__15CScriptWaypointFv +__dt__15CScriptWaypointFv: +/* 800773B4 00074314 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800773B8 00074318 7C 08 02 A6 */ mflr r0 +/* 800773BC 0007431C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800773C0 00074320 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800773C4 00074324 7C 9F 23 78 */ mr r31, r4 +/* 800773C8 00074328 93 C1 00 08 */ stw r30, 8(r1) +/* 800773CC 0007432C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800773D0 00074330 41 82 00 28 */ beq lbl_800773F8 +/* 800773D4 00074334 3C A0 80 3E */ lis r5, lbl_803DA558@ha +/* 800773D8 00074338 38 80 00 00 */ li r4, 0 +/* 800773DC 0007433C 38 05 A5 58 */ addi r0, r5, lbl_803DA558@l +/* 800773E0 00074340 90 1E 00 00 */ stw r0, 0(r30) +/* 800773E4 00074344 4B FD E3 0D */ bl __dt__6CActorFv +/* 800773E8 00074348 7F E0 07 35 */ extsh. r0, r31 +/* 800773EC 0007434C 40 81 00 0C */ ble lbl_800773F8 +/* 800773F0 00074350 7F C3 F3 78 */ mr r3, r30 +/* 800773F4 00074354 48 29 E5 3D */ bl Free__7CMemoryFPCv +lbl_800773F8: +/* 800773F8 00074358 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800773FC 0007435C 7F C3 F3 78 */ mr r3, r30 +/* 80077400 00074360 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80077404 00074364 83 C1 00 08 */ lwz r30, 8(r1) +/* 80077408 00074368 7C 08 03 A6 */ mtlr r0 +/* 8007740C 0007436C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80077410 00074370 4E 80 00 20 */ blr + +.global "__ct__15CScriptWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbffiiiiiiUi" +"__ct__15CScriptWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbffiiiiiiUi": +/* 80077414 00074374 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80077418 00074378 7C 08 02 A6 */ mflr r0 +/* 8007741C 0007437C 90 01 01 24 */ stw r0, 0x124(r1) +/* 80077420 00074380 DB E1 01 18 */ stfd f31, 0x118(r1) +/* 80077424 00074384 FF E0 10 90 */ fmr f31, f2 +/* 80077428 00074388 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8007742C 0007438C FF C0 08 90 */ fmr f30, f1 +/* 80077430 00074390 BE 61 00 DC */ stmw r19, 0xdc(r1) +/* 80077434 00074394 7C 73 1B 78 */ mr r19, r3 +/* 80077438 00074398 83 61 01 28 */ lwz r27, 0x128(r1) +/* 8007743C 0007439C 7C 94 23 78 */ mr r20, r4 +/* 80077440 000743A0 83 81 01 2C */ lwz r28, 0x12c(r1) +/* 80077444 000743A4 7C B5 2B 78 */ mr r21, r5 +/* 80077448 000743A8 83 A1 01 30 */ lwz r29, 0x130(r1) +/* 8007744C 000743AC 7C D6 33 78 */ mr r22, r6 +/* 80077450 000743B0 83 C1 01 34 */ lwz r30, 0x134(r1) +/* 80077454 000743B4 7C F7 3B 78 */ mr r23, r7 +/* 80077458 000743B8 83 E1 01 38 */ lwz r31, 0x138(r1) +/* 8007745C 000743BC 7D 18 43 78 */ mr r24, r8 +/* 80077460 000743C0 7D 39 4B 78 */ mr r25, r9 +/* 80077464 000743C4 7D 5A 53 78 */ mr r26, r10 +/* 80077468 000743C8 38 61 00 88 */ addi r3, r1, 0x88 +/* 8007746C 000743CC 4B FC 33 39 */ bl CModelDataNull__10CModelDataFv +/* 80077470 000743D0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80077474 000743D4 4B FA 39 C5 */ bl None__16CActorParametersFv +/* 80077478 000743D8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8007747C 000743DC 38 00 00 00 */ li r0, 0 +/* 80077480 000743E0 80 AD 83 D8 */ lwz r5, lbl_805A6F98@sda21(r13) +/* 80077484 000743E4 38 60 00 00 */ li r3, 0 +/* 80077488 000743E8 B0 81 00 10 */ sth r4, 0x10(r1) +/* 8007748C 000743EC 38 80 00 01 */ li r4, 1 +/* 80077490 000743F0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80077494 000743F4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80077498 000743F8 48 31 2A 5D */ bl __shl2i +/* 8007749C 000743FC 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 800774A0 00074400 39 61 00 20 */ addi r11, r1, 0x20 +/* 800774A4 00074404 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 800774A8 00074408 38 01 00 10 */ addi r0, r1, 0x10 +/* 800774AC 0007440C 7C A3 1B 78 */ or r3, r5, r3 +/* 800774B0 00074410 A1 34 00 00 */ lhz r9, 0(r20) +/* 800774B4 00074414 7C C4 23 78 */ or r4, r6, r4 +/* 800774B8 00074418 90 61 00 18 */ stw r3, 0x18(r1) +/* 800774BC 0007441C 7E 63 9B 78 */ mr r3, r19 +/* 800774C0 00074420 7F 05 C3 78 */ mr r5, r24 +/* 800774C4 00074424 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800774C8 00074428 7E A6 AB 78 */ mr r6, r21 +/* 800774CC 0007442C 7E C7 B3 78 */ mr r7, r22 +/* 800774D0 00074430 7E E8 BB 78 */ mr r8, r23 +/* 800774D4 00074434 B1 21 00 14 */ sth r9, 0x14(r1) +/* 800774D8 00074438 38 81 00 14 */ addi r4, r1, 0x14 +/* 800774DC 0007443C 39 21 00 88 */ addi r9, r1, 0x88 +/* 800774E0 00074440 39 41 00 18 */ addi r10, r1, 0x18 +/* 800774E4 00074444 91 61 00 08 */ stw r11, 8(r1) +/* 800774E8 00074448 90 01 00 0C */ stw r0, 0xc(r1) +/* 800774EC 0007444C 4B FD E3 35 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 800774F0 00074450 38 61 00 20 */ addi r3, r1, 0x20 +/* 800774F4 00074454 38 80 FF FF */ li r4, -1 +/* 800774F8 00074458 48 08 F1 11 */ bl __dt__16CActorParametersFv +/* 800774FC 0007445C 38 61 00 88 */ addi r3, r1, 0x88 +/* 80077500 00074460 38 80 FF FF */ li r4, -1 +/* 80077504 00074464 48 09 F5 49 */ bl __dt__10CModelDataFv +/* 80077508 00074468 3C 80 80 3E */ lis r4, lbl_803DA558@ha +/* 8007750C 0007446C 7E 63 9B 78 */ mr r3, r19 +/* 80077510 00074470 38 04 A5 58 */ addi r0, r4, lbl_803DA558@l +/* 80077514 00074474 90 13 00 00 */ stw r0, 0(r19) +/* 80077518 00074478 38 80 00 00 */ li r4, 0 +/* 8007751C 0007447C D3 D3 00 E8 */ stfs f30, 0xe8(r19) +/* 80077520 00074480 93 F3 00 EC */ stw r31, 0xec(r19) +/* 80077524 00074484 D3 F3 00 F0 */ stfs f31, 0xf0(r19) +/* 80077528 00074488 9B 33 00 F4 */ stb r25, 0xf4(r19) +/* 8007752C 0007448C 9B 53 00 F5 */ stb r26, 0xf5(r19) +/* 80077530 00074490 9B 73 00 F6 */ stb r27, 0xf6(r19) +/* 80077534 00074494 9B 93 00 F7 */ stb r28, 0xf7(r19) +/* 80077538 00074498 9B B3 00 F8 */ stb r29, 0xf8(r19) +/* 8007753C 0007449C B3 D3 00 FA */ sth r30, 0xfa(r19) +/* 80077540 000744A0 4B FD CE A1 */ bl SetUseInSortedLists__6CActorFb +/* 80077544 000744A4 7E 63 9B 78 */ mr r3, r19 +/* 80077548 000744A8 38 80 00 00 */ li r4, 0 +/* 8007754C 000744AC 4B FD CE 6D */ bl SetCallTouch__6CActorFb +/* 80077550 000744B0 CB E1 01 18 */ lfd f31, 0x118(r1) +/* 80077554 000744B4 7E 63 9B 78 */ mr r3, r19 +/* 80077558 000744B8 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 8007755C 000744BC BA 61 00 DC */ lmw r19, 0xdc(r1) +/* 80077560 000744C0 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80077564 000744C4 7C 08 03 A6 */ mtlr r0 +/* 80077568 000744C8 38 21 01 20 */ addi r1, r1, 0x120 +/* 8007756C 000744CC 4E 80 00 20 */ blr + +.global __dt__10CPatternedFv +__dt__10CPatternedFv: +/* 80077570 000744D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80077574 000744D4 7C 08 02 A6 */ mflr r0 +/* 80077578 000744D8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007757C 000744DC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80077580 000744E0 7C 9F 23 78 */ mr r31, r4 +/* 80077584 000744E4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80077588 000744E8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8007758C 000744EC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80077590 000744F0 41 82 01 C0 */ beq lbl_80077750 +/* 80077594 000744F4 3C 60 80 3E */ lis r3, lbl_803DA5C8@ha +/* 80077598 000744F8 34 1E 05 4C */ addic. r0, r30, 0x54c +/* 8007759C 000744FC 38 03 A5 C8 */ addi r0, r3, lbl_803DA5C8@l +/* 800775A0 00074500 90 1E 00 00 */ stw r0, 0(r30) +/* 800775A4 00074504 41 82 00 30 */ beq lbl_800775D4 +/* 800775A8 00074508 88 1E 05 58 */ lbz r0, 0x558(r30) +/* 800775AC 0007450C 28 00 00 00 */ cmplwi r0, 0 +/* 800775B0 00074510 41 82 00 1C */ beq lbl_800775CC +/* 800775B4 00074514 34 7E 05 4C */ addic. r3, r30, 0x54c +/* 800775B8 00074518 41 82 00 14 */ beq lbl_800775CC +/* 800775BC 0007451C 28 03 00 00 */ cmplwi r3, 0 +/* 800775C0 00074520 41 82 00 0C */ beq lbl_800775CC +/* 800775C4 00074524 38 80 00 00 */ li r4, 0 +/* 800775C8 00074528 48 2C 98 79 */ bl __dt__6CTokenFv +lbl_800775CC: +/* 800775CC 0007452C 38 00 00 00 */ li r0, 0 +/* 800775D0 00074530 98 1E 05 58 */ stb r0, 0x558(r30) +lbl_800775D4: +/* 800775D4 00074534 34 1E 05 30 */ addic. r0, r30, 0x530 +/* 800775D8 00074538 41 82 00 30 */ beq lbl_80077608 +/* 800775DC 0007453C 88 1E 05 3C */ lbz r0, 0x53c(r30) +/* 800775E0 00074540 28 00 00 00 */ cmplwi r0, 0 +/* 800775E4 00074544 41 82 00 1C */ beq lbl_80077600 +/* 800775E8 00074548 34 7E 05 30 */ addic. r3, r30, 0x530 +/* 800775EC 0007454C 41 82 00 14 */ beq lbl_80077600 +/* 800775F0 00074550 28 03 00 00 */ cmplwi r3, 0 +/* 800775F4 00074554 41 82 00 0C */ beq lbl_80077600 +/* 800775F8 00074558 38 80 00 00 */ li r4, 0 +/* 800775FC 0007455C 48 2C 98 45 */ bl __dt__6CTokenFv +lbl_80077600: +/* 80077600 00074560 38 00 00 00 */ li r0, 0 +/* 80077604 00074564 98 1E 05 3C */ stb r0, 0x53c(r30) +lbl_80077608: +/* 80077608 00074568 34 1E 05 20 */ addic. r0, r30, 0x520 +/* 8007760C 0007456C 41 82 00 30 */ beq lbl_8007763C +/* 80077610 00074570 88 1E 05 2C */ lbz r0, 0x52c(r30) +/* 80077614 00074574 28 00 00 00 */ cmplwi r0, 0 +/* 80077618 00074578 41 82 00 1C */ beq lbl_80077634 +/* 8007761C 0007457C 34 7E 05 20 */ addic. r3, r30, 0x520 +/* 80077620 00074580 41 82 00 14 */ beq lbl_80077634 +/* 80077624 00074584 28 03 00 00 */ cmplwi r3, 0 +/* 80077628 00074588 41 82 00 0C */ beq lbl_80077634 +/* 8007762C 0007458C 38 80 00 00 */ li r4, 0 +/* 80077630 00074590 48 2C 98 11 */ bl __dt__6CTokenFv +lbl_80077634: +/* 80077634 00074594 38 00 00 00 */ li r0, 0 +/* 80077638 00074598 98 1E 05 2C */ stb r0, 0x52c(r30) +lbl_8007763C: +/* 8007763C 0007459C 34 1E 05 10 */ addic. r0, r30, 0x510 +/* 80077640 000745A0 41 82 00 14 */ beq lbl_80077654 +/* 80077644 000745A4 34 1E 05 10 */ addic. r0, r30, 0x510 +/* 80077648 000745A8 41 82 00 0C */ beq lbl_80077654 +/* 8007764C 000745AC 38 7E 05 10 */ addi r3, r30, 0x510 +/* 80077650 000745B0 48 00 67 35 */ bl sub_8007dd84 +lbl_80077654: +/* 80077654 000745B4 34 1E 04 60 */ addic. r0, r30, 0x460 +/* 80077658 000745B8 41 82 00 60 */ beq lbl_800776B8 +/* 8007765C 000745BC 34 1E 04 84 */ addic. r0, r30, 0x484 +/* 80077660 000745C0 41 82 00 58 */ beq lbl_800776B8 +/* 80077664 000745C4 80 BE 04 84 */ lwz r5, 0x484(r30) +/* 80077668 000745C8 38 60 00 00 */ li r3, 0 +/* 8007766C 000745CC 2C 05 00 00 */ cmpwi r5, 0 +/* 80077670 000745D0 40 81 00 40 */ ble lbl_800776B0 +/* 80077674 000745D4 2C 05 00 08 */ cmpwi r5, 8 +/* 80077678 000745D8 38 85 FF F8 */ addi r4, r5, -8 +/* 8007767C 000745DC 40 81 00 20 */ ble lbl_8007769C +/* 80077680 000745E0 38 04 00 07 */ addi r0, r4, 7 +/* 80077684 000745E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80077688 000745E8 7C 09 03 A6 */ mtctr r0 +/* 8007768C 000745EC 2C 04 00 00 */ cmpwi r4, 0 +/* 80077690 000745F0 40 81 00 0C */ ble lbl_8007769C +lbl_80077694: +/* 80077694 000745F4 38 63 00 08 */ addi r3, r3, 8 +/* 80077698 000745F8 42 00 FF FC */ bdnz lbl_80077694 +lbl_8007769C: +/* 8007769C 000745FC 7C 03 28 50 */ subf r0, r3, r5 +/* 800776A0 00074600 7C 09 03 A6 */ mtctr r0 +/* 800776A4 00074604 7C 03 28 00 */ cmpw r3, r5 +/* 800776A8 00074608 40 80 00 08 */ bge lbl_800776B0 +lbl_800776AC: +/* 800776AC 0007460C 42 00 00 00 */ bdnz lbl_800776AC +lbl_800776B0: +/* 800776B0 00074610 38 00 00 00 */ li r0, 0 +/* 800776B4 00074614 90 1E 04 84 */ stw r0, 0x484(r30) +lbl_800776B8: +/* 800776B8 00074618 34 1E 04 50 */ addic. r0, r30, 0x450 +/* 800776BC 0007461C 41 82 00 30 */ beq lbl_800776EC +/* 800776C0 00074620 83 BE 04 50 */ lwz r29, 0x450(r30) +/* 800776C4 00074624 28 1D 00 00 */ cmplwi r29, 0 +/* 800776C8 00074628 41 82 00 24 */ beq lbl_800776EC +/* 800776CC 0007462C 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 800776D0 00074630 38 80 FF FF */ li r4, -1 +/* 800776D4 00074634 48 0B CA A5 */ bl __dt__14CBodyStateInfoFv +/* 800776D8 00074638 38 7D 00 04 */ addi r3, r29, 4 +/* 800776DC 0007463C 38 80 FF FF */ li r4, -1 +/* 800776E0 00074640 48 0B A1 15 */ bl __dt__16CBodyStateCmdMgrFv +/* 800776E4 00074644 7F A3 EB 78 */ mr r3, r29 +/* 800776E8 00074648 48 29 E2 49 */ bl Free__7CMemoryFPCv +lbl_800776EC: +/* 800776EC 0007464C 34 1E 03 8C */ addic. r0, r30, 0x38c +/* 800776F0 00074650 41 82 00 44 */ beq lbl_80077734 +/* 800776F4 00074654 80 1E 03 90 */ lwz r0, 0x390(r30) +/* 800776F8 00074658 80 7E 03 98 */ lwz r3, 0x398(r30) +/* 800776FC 0007465C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80077700 00074660 90 61 00 0C */ stw r3, 0xc(r1) +/* 80077704 00074664 7C 64 1B 78 */ mr r4, r3 +/* 80077708 00074668 7C 03 02 14 */ add r0, r3, r0 +/* 8007770C 0007466C 90 61 00 08 */ stw r3, 8(r1) +/* 80077710 00074670 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077714 00074674 90 01 00 10 */ stw r0, 0x10(r1) +/* 80077718 00074678 48 00 00 08 */ b lbl_80077720 +lbl_8007771C: +/* 8007771C 0007467C 38 84 00 24 */ addi r4, r4, 0x24 +lbl_80077720: +/* 80077720 00074680 7C 04 00 40 */ cmplw r4, r0 +/* 80077724 00074684 40 82 FF F8 */ bne lbl_8007771C +/* 80077728 00074688 28 03 00 00 */ cmplwi r3, 0 +/* 8007772C 0007468C 41 82 00 08 */ beq lbl_80077734 +/* 80077730 00074690 48 29 E2 01 */ bl Free__7CMemoryFPCv +lbl_80077734: +/* 80077734 00074694 7F C3 F3 78 */ mr r3, r30 +/* 80077738 00074698 38 80 00 00 */ li r4, 0 +/* 8007773C 0007469C 48 02 B6 45 */ bl __dt__3CAiFv +/* 80077740 000746A0 7F E0 07 35 */ extsh. r0, r31 +/* 80077744 000746A4 40 81 00 0C */ ble lbl_80077750 +/* 80077748 000746A8 7F C3 F3 78 */ mr r3, r30 +/* 8007774C 000746AC 48 29 E1 E5 */ bl Free__7CMemoryFPCv +lbl_80077750: +/* 80077750 000746B0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80077754 000746B4 7F C3 F3 78 */ mr r3, r30 +/* 80077758 000746B8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007775C 000746BC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80077760 000746C0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80077764 000746C4 7C 08 03 A6 */ mtlr r0 +/* 80077768 000746C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007776C 000746CC 4E 80 00 20 */ blr + +.global GetTouchBounds__10CPatternedCFv +GetTouchBounds__10CPatternedCFv: +/* 80077770 000746D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80077774 000746D4 7C 08 02 A6 */ mflr r0 +/* 80077778 000746D8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007777C 000746DC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80077780 000746E0 7C 7F 1B 78 */ mr r31, r3 +/* 80077784 000746E4 38 61 00 08 */ addi r3, r1, 8 +/* 80077788 000746E8 48 0A 31 A5 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8007778C 000746EC 38 00 00 01 */ li r0, 1 +/* 80077790 000746F0 28 1F 00 00 */ cmplwi r31, 0 +/* 80077794 000746F4 98 1F 00 18 */ stb r0, 0x18(r31) +/* 80077798 000746F8 41 82 00 34 */ beq lbl_800777CC +/* 8007779C 000746FC C0 01 00 08 */ lfs f0, 8(r1) +/* 800777A0 00074700 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800777A4 00074704 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800777A8 00074708 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800777AC 0007470C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800777B0 00074710 D0 1F 00 08 */ stfs f0, 8(r31) +/* 800777B4 00074714 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800777B8 00074718 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 800777BC 0007471C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800777C0 00074720 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800777C4 00074724 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800777C8 00074728 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_800777CC: +/* 800777CC 0007472C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800777D0 00074730 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800777D4 00074734 7C 08 03 A6 */ mtlr r0 +/* 800777D8 00074738 38 21 00 30 */ addi r1, r1, 0x30 +/* 800777DC 0007473C 4E 80 00 20 */ blr + +.global TakeDamage__10CPatternedFRC9CVector3ff +TakeDamage__10CPatternedFRC9CVector3ff: +/* 800777E0 00074740 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) +/* 800777E4 00074744 D0 03 04 28 */ stfs f0, 0x428(r3) +/* 800777E8 00074748 4E 80 00 20 */ blr + +.global KnockbackWhenFrozen__10CPatternedCFv +KnockbackWhenFrozen__10CPatternedCFv: +/* 800777EC 0007474C 38 60 00 01 */ li r3, 1 +/* 800777F0 00074750 4E 80 00 20 */ blr + +.global Default__10CPatternedFR13CStateManagerf +Default__10CPatternedFR13CStateManagerf: +/* 800777F4 00074754 38 60 00 01 */ li r3, 1 +/* 800777F8 00074758 4E 80 00 20 */ blr + +.global GetSearchPath__10CPatternedFv +GetSearchPath__10CPatternedFv: +/* 800777FC 0007475C 38 60 00 00 */ li r3, 0 +/* 80077800 00074760 4E 80 00 20 */ blr + +.global GetModelAlphau8__10CPatternedCFRC13CStateManager +GetModelAlphau8__10CPatternedCFRC13CStateManager: +/* 80077804 00074764 88 63 04 2F */ lbz r3, 0x42f(r3) +/* 80077808 00074768 4E 80 00 20 */ blr + +.global IsOnGround__10CPatternedCFv +IsOnGround__10CPatternedCFv: +/* 8007780C 0007476C 88 03 03 28 */ lbz r0, 0x328(r3) +/* 80077810 00074770 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 80077814 00074774 4E 80 00 20 */ blr + +.global GetGravityConstant__10CPatternedCFv +GetGravityConstant__10CPatternedCFv: +/* 80077818 00074778 C0 22 96 A0 */ lfs f1, lbl_805AB3C0@sda21(r2) +/* 8007781C 0007477C 4E 80 00 20 */ blr + +.global GetProjectileInfo__10CPatternedFv +GetProjectileInfo__10CPatternedFv: +/* 80077820 00074780 38 60 00 00 */ li r3, 0 +/* 80077824 00074784 4E 80 00 20 */ blr + +.global GetDeathExplosionParticle__10CPatternedCFv +GetDeathExplosionParticle__10CPatternedCFv: +/* 80077828 00074788 38 63 05 20 */ addi r3, r3, 0x520 +/* 8007782C 0007478C 4E 80 00 20 */ blr + +.global IsListening__3CAiCFv +IsListening__3CAiCFv: +/* 80077830 00074790 38 60 00 00 */ li r3, 0 +/* 80077834 00074794 4E 80 00 20 */ blr + +.global GetOrigin__3CAiCFv +GetOrigin__3CAiCFv: +/* 80077838 00074798 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 8007783C 0007479C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80077840 000747A0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80077844 000747A4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80077848 000747A8 D0 23 00 04 */ stfs f1, 4(r3) +/* 8007784C 000747AC D0 43 00 08 */ stfs f2, 8(r3) +/* 80077850 000747B0 4E 80 00 20 */ blr + +.global UpdateThermalFrozenState__10CPatternedFb +UpdateThermalFrozenState__10CPatternedFb: +/* 80077854 000747B4 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 80077858 000747B8 88 03 04 02 */ lbz r0, 0x402(r3) +/* 8007785C 000747BC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80077860 000747C0 98 03 04 02 */ stb r0, 0x402(r3) +/* 80077864 000747C4 88 03 04 03 */ lbz r0, 0x403(r3) +/* 80077868 000747C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8007786C 000747CC 4C 82 00 20 */ bnelr +/* 80077870 000747D0 28 04 00 00 */ cmplwi r4, 0 +/* 80077874 000747D4 38 00 00 01 */ li r0, 1 +/* 80077878 000747D8 41 82 00 08 */ beq lbl_80077880 +/* 8007787C 000747DC 38 00 00 02 */ li r0, 2 +lbl_80077880: +/* 80077880 000747E0 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 80077884 000747E4 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80077888 000747E8 50 80 1E F8 */ rlwimi r0, r4, 3, 0x1b, 0x1c +/* 8007788C 000747EC 98 03 00 E6 */ stb r0, 0xe6(r3) +/* 80077890 000747F0 4E 80 00 20 */ blr + +.global MakeThermalColdAndHot__10CPatternedFv +MakeThermalColdAndHot__10CPatternedFv: +/* 80077894 000747F4 88 03 04 03 */ lbz r0, 0x403(r3) +/* 80077898 000747F8 38 80 00 01 */ li r4, 1 +/* 8007789C 000747FC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800778A0 00074800 38 80 00 03 */ li r4, 3 +/* 800778A4 00074804 98 03 04 03 */ stb r0, 0x403(r3) +/* 800778A8 00074808 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 800778AC 0007480C 50 80 1E F8 */ rlwimi r0, r4, 3, 0x1b, 0x1c +/* 800778B0 00074810 98 03 00 E6 */ stb r0, 0xe6(r3) +/* 800778B4 00074814 4E 80 00 20 */ blr + +.global AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager: +/* 800778B8 00074818 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800778BC 0007481C 7C 08 02 A6 */ mflr r0 +/* 800778C0 00074820 90 01 00 24 */ stw r0, 0x24(r1) +/* 800778C4 00074824 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800778C8 00074828 7C BF 2B 78 */ mr r31, r5 +/* 800778CC 0007482C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800778D0 00074830 7C 9E 23 78 */ mr r30, r4 +/* 800778D4 00074834 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800778D8 00074838 7C 7D 1B 78 */ mr r29, r3 +/* 800778DC 0007483C 88 03 04 02 */ lbz r0, 0x402(r3) +/* 800778E0 00074840 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800778E4 00074844 41 82 00 80 */ beq lbl_80077964 +/* 800778E8 00074848 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 800778EC 0007484C 38 60 00 00 */ li r3, 0 +/* 800778F0 00074850 28 04 00 00 */ cmplwi r4, 0 +/* 800778F4 00074854 41 82 00 20 */ beq lbl_80077914 +/* 800778F8 00074858 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800778FC 0007485C 28 00 00 00 */ cmplwi r0, 0 +/* 80077900 00074860 40 82 00 10 */ bne lbl_80077910 +/* 80077904 00074864 88 04 00 28 */ lbz r0, 0x28(r4) +/* 80077908 00074868 28 00 00 00 */ cmplwi r0, 0 +/* 8007790C 0007486C 41 82 00 08 */ beq lbl_80077914 +lbl_80077910: +/* 80077910 00074870 38 60 00 01 */ li r3, 1 +lbl_80077914: +/* 80077914 00074874 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80077918 00074878 41 82 00 4C */ beq lbl_80077964 +/* 8007791C 0007487C 88 1D 04 02 */ lbz r0, 0x402(r29) +/* 80077920 00074880 7F E3 FB 78 */ mr r3, r31 +/* 80077924 00074884 38 A1 00 0C */ addi r5, r1, 0xc +/* 80077928 00074888 38 C1 00 08 */ addi r6, r1, 8 +/* 8007792C 0007488C 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 80077930 00074890 7C 04 00 D0 */ neg r0, r4 +/* 80077934 00074894 7C 00 23 78 */ or r0, r0, r4 +/* 80077938 00074898 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8007793C 0007489C 4B FC CB 35 */ bl GetCharacterRenderMaskAndTarget__13CStateManagerFbRiRi +/* 80077940 000748A0 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80077944 000748A4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80077948 000748A8 28 03 00 00 */ cmplwi r3, 0 +/* 8007794C 000748AC 41 82 00 18 */ beq lbl_80077964 +/* 80077950 000748B0 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80077954 000748B4 7F C4 F3 78 */ mr r4, r30 +/* 80077958 000748B8 80 C1 00 08 */ lwz r6, 8(r1) +/* 8007795C 000748BC 38 63 01 20 */ addi r3, r3, 0x120 +/* 80077960 000748C0 48 04 08 35 */ bl AddToRendererClippedMasked__17CParticleDatabaseCFRC14CFrustumPlanesii +lbl_80077964: +/* 80077964 000748C4 7F A3 EB 78 */ mr r3, r29 +/* 80077968 000748C8 7F C4 F3 78 */ mr r4, r30 +/* 8007796C 000748CC 7F E5 FB 78 */ mr r5, r31 +/* 80077970 000748D0 4B FD D1 C9 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager +/* 80077974 000748D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80077978 000748D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007797C 000748DC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80077980 000748E0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80077984 000748E4 7C 08 03 A6 */ mtlr r0 +/* 80077988 000748E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007798C 000748EC 4E 80 00 20 */ blr + +.global PreThink__10CPatternedFfR13CStateManager +PreThink__10CPatternedFfR13CStateManager: +/* 80077990 000748F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80077994 000748F4 7C 08 02 A6 */ mflr r0 +/* 80077998 000748F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007799C 000748FC D0 23 05 00 */ stfs f1, 0x500(r3) +/* 800779A0 00074900 4B FD 97 1D */ bl PreThink__7CEntityFfR13CStateManager +/* 800779A4 00074904 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800779A8 00074908 7C 08 03 A6 */ mtlr r0 +/* 800779AC 0007490C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800779B0 00074910 4E 80 00 20 */ blr + +.global GetCollisionResponseType__10CPatternedCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__10CPatternedCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 800779B4 00074914 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800779B8 00074918 7C 08 02 A6 */ mflr r0 +/* 800779BC 0007491C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800779C0 00074920 81 03 04 50 */ lwz r8, 0x450(r3) +/* 800779C4 00074924 88 08 03 00 */ lbz r0, 0x300(r8) +/* 800779C8 00074928 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800779CC 0007492C 41 82 00 18 */ beq lbl_800779E4 +/* 800779D0 00074930 80 06 00 00 */ lwz r0, 0(r6) +/* 800779D4 00074934 2C 00 00 01 */ cmpwi r0, 1 +/* 800779D8 00074938 40 82 00 0C */ bne lbl_800779E4 +/* 800779DC 0007493C 38 60 00 00 */ li r3, 0 +/* 800779E0 00074940 48 00 00 08 */ b lbl_800779E8 +lbl_800779E4: +/* 800779E4 00074944 48 02 AF 0D */ bl GetCollisionResponseType__3CAiCFRC9CVector3fRC9CVector3fRC11CWeaponModei +lbl_800779E8: +/* 800779E8 00074948 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800779EC 0007494C 7C 08 03 A6 */ mtlr r0 +/* 800779F0 00074950 38 21 00 10 */ addi r1, r1, 0x10 +/* 800779F4 00074954 4E 80 00 20 */ blr + +.global "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +"LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f": +/* 800779F8 00074958 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800779FC 0007495C 7C 08 02 A6 */ mflr r0 +/* 80077A00 00074960 90 01 00 94 */ stw r0, 0x94(r1) +/* 80077A04 00074964 BE 81 00 60 */ stmw r20, 0x60(r1) +/* 80077A08 00074968 7C 75 1B 78 */ mr r21, r3 +/* 80077A0C 0007496C 7C 96 23 78 */ mr r22, r4 +/* 80077A10 00074970 7C B7 2B 78 */ mr r23, r5 +/* 80077A14 00074974 7C D8 33 78 */ mr r24, r6 +/* 80077A18 00074978 7C F9 3B 78 */ mr r25, r7 +/* 80077A1C 0007497C 7D 1A 43 78 */ mr r26, r8 +/* 80077A20 00074980 7D 3B 4B 78 */ mr r27, r9 +/* 80077A24 00074984 7D 5C 53 78 */ mr r28, r10 +/* 80077A28 00074988 8B A1 00 9B */ lbz r29, 0x9b(r1) +/* 80077A2C 0007498C 3B E0 00 00 */ li r31, 0 +/* 80077A30 00074990 83 C1 00 9C */ lwz r30, 0x9c(r1) +/* 80077A34 00074994 81 83 00 00 */ lwz r12, 0(r3) +/* 80077A38 00074998 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80077A3C 0007499C 7D 89 03 A6 */ mtctr r12 +/* 80077A40 000749A0 4E 80 04 21 */ bctrl +/* 80077A44 000749A4 7C 74 1B 78 */ mr r20, r3 +/* 80077A48 000749A8 80 03 00 08 */ lwz r0, 8(r3) +/* 80077A4C 000749AC 28 00 00 00 */ cmplwi r0, 0 +/* 80077A50 000749B0 41 82 00 0C */ beq lbl_80077A5C +/* 80077A54 000749B4 38 60 00 01 */ li r3, 1 +/* 80077A58 000749B8 48 00 00 38 */ b lbl_80077A90 +lbl_80077A5C: +/* 80077A5C 000749BC 88 14 00 04 */ lbz r0, 4(r20) +/* 80077A60 000749C0 28 00 00 00 */ cmplwi r0, 0 +/* 80077A64 000749C4 41 82 00 28 */ beq lbl_80077A8C +/* 80077A68 000749C8 80 94 00 00 */ lwz r4, 0(r20) +/* 80077A6C 000749CC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80077A70 000749D0 28 00 00 00 */ cmplwi r0, 0 +/* 80077A74 000749D4 41 82 00 18 */ beq lbl_80077A8C +/* 80077A78 000749D8 48 2C 93 95 */ bl GetObj__6CTokenFv +/* 80077A7C 000749DC 80 03 00 04 */ lwz r0, 4(r3) +/* 80077A80 000749E0 38 60 00 01 */ li r3, 1 +/* 80077A84 000749E4 90 14 00 08 */ stw r0, 8(r20) +/* 80077A88 000749E8 48 00 00 08 */ b lbl_80077A90 +lbl_80077A8C: +/* 80077A8C 000749EC 38 60 00 00 */ li r3, 0 +lbl_80077A90: +/* 80077A90 000749F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80077A94 000749F4 41 82 01 38 */ beq lbl_80077BCC +/* 80077A98 000749F8 A0 15 00 08 */ lhz r0, 8(r21) +/* 80077A9C 000749FC 7E E3 BB 78 */ mr r3, r23 +/* 80077AA0 00074A00 7F 06 C3 78 */ mr r6, r24 +/* 80077AA4 00074A04 38 81 00 4C */ addi r4, r1, 0x4c +/* 80077AA8 00074A08 B0 01 00 48 */ sth r0, 0x48(r1) +/* 80077AAC 00074A0C 38 A0 00 09 */ li r5, 9 +/* 80077AB0 00074A10 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 80077AB4 00074A14 4B FC DC 7D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 80077AB8 00074A18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80077ABC 00074A1C 41 82 01 10 */ beq lbl_80077BCC +/* 80077AC0 00074A20 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 80077AC4 00074A24 38 60 03 D8 */ li r3, 0x3d8 +/* 80077AC8 00074A28 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 80077ACC 00074A2C 38 A0 00 00 */ li r5, 0 +/* 80077AD0 00074A30 48 29 DD 9D */ bl __nw__FUlPCcPCc +/* 80077AD4 00074A34 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80077AD8 00074A38 41 82 00 E0 */ beq lbl_80077BB8 +/* 80077ADC 00074A3C 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80077AE0 00074A40 41 82 00 18 */ beq lbl_80077AF8 +/* 80077AE4 00074A44 80 77 08 4C */ lwz r3, 0x84c(r23) +/* 80077AE8 00074A48 38 81 00 40 */ addi r4, r1, 0x40 +/* 80077AEC 00074A4C A0 03 00 08 */ lhz r0, 8(r3) +/* 80077AF0 00074A50 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80077AF4 00074A54 48 00 00 08 */ b lbl_80077AFC +lbl_80077AF8: +/* 80077AF8 00074A58 38 8D A3 8C */ addi r4, r13, lbl_805A8F4C@sda21 +lbl_80077AFC: +/* 80077AFC 00074A5C A0 04 00 00 */ lhz r0, 0(r4) +/* 80077B00 00074A60 7E E4 BB 78 */ mr r4, r23 +/* 80077B04 00074A64 38 61 00 30 */ addi r3, r1, 0x30 +/* 80077B08 00074A68 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80077B0C 00074A6C A0 B5 00 08 */ lhz r5, 8(r21) +/* 80077B10 00074A70 B0 A1 00 3C */ sth r5, 0x3c(r1) +/* 80077B14 00074A74 80 15 00 04 */ lwz r0, 4(r21) +/* 80077B18 00074A78 B0 A1 00 38 */ sth r5, 0x38(r1) +/* 80077B1C 00074A7C 90 01 00 50 */ stw r0, 0x50(r1) +/* 80077B20 00074A80 90 01 00 54 */ stw r0, 0x54(r1) +/* 80077B24 00074A84 4B FD 55 B9 */ bl AllocateUniqueId__13CStateManagerFv +/* 80077B28 00074A88 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 80077B2C 00074A8C 7E A3 AB 78 */ mr r3, r21 +/* 80077B30 00074A90 B0 01 00 34 */ sth r0, 0x34(r1) +/* 80077B34 00074A94 81 95 00 00 */ lwz r12, 0(r21) +/* 80077B38 00074A98 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80077B3C 00074A9C 7D 89 03 A6 */ mtctr r12 +/* 80077B40 00074AA0 4E 80 04 21 */ bctrl +/* 80077B44 00074AA4 7C 78 1B 78 */ mr r24, r3 +/* 80077B48 00074AA8 7E A3 AB 78 */ mr r3, r21 +/* 80077B4C 00074AAC 81 95 00 00 */ lwz r12, 0(r21) +/* 80077B50 00074AB0 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80077B54 00074AB4 7D 89 03 A6 */ mtctr r12 +/* 80077B58 00074AB8 4E 80 04 21 */ bctrl +/* 80077B5C 00074ABC 38 01 00 54 */ addi r0, r1, 0x54 +/* 80077B60 00074AC0 7C 65 1B 78 */ mr r5, r3 +/* 80077B64 00074AC4 90 01 00 08 */ stw r0, 8(r1) +/* 80077B68 00074AC8 38 01 00 3C */ addi r0, r1, 0x3c +/* 80077B6C 00074ACC 38 81 00 44 */ addi r4, r1, 0x44 +/* 80077B70 00074AD0 7F E3 FB 78 */ mr r3, r31 +/* 80077B74 00074AD4 90 01 00 0C */ stw r0, 0xc(r1) +/* 80077B78 00074AD8 38 00 00 00 */ li r0, 0 +/* 80077B7C 00074ADC 7E C7 B3 78 */ mr r7, r22 +/* 80077B80 00074AE0 39 38 00 0C */ addi r9, r24, 0xc +/* 80077B84 00074AE4 90 81 00 10 */ stw r4, 0x10(r1) +/* 80077B88 00074AE8 39 41 00 34 */ addi r10, r1, 0x34 +/* 80077B8C 00074AEC 38 80 00 01 */ li r4, 1 +/* 80077B90 00074AF0 38 C0 00 09 */ li r6, 9 +/* 80077B94 00074AF4 93 21 00 14 */ stw r25, 0x14(r1) +/* 80077B98 00074AF8 39 00 00 21 */ li r8, 0x21 +/* 80077B9C 00074AFC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80077BA0 00074B00 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 80077BA4 00074B04 93 61 00 20 */ stw r27, 0x20(r1) +/* 80077BA8 00074B08 93 81 00 24 */ stw r28, 0x24(r1) +/* 80077BAC 00074B0C 93 A1 00 28 */ stw r29, 0x28(r1) +/* 80077BB0 00074B10 48 19 DA E9 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 80077BB4 00074B14 7C 7F 1B 78 */ mr r31, r3 +lbl_80077BB8: +/* 80077BB8 00074B18 28 1F 00 00 */ cmplwi r31, 0 +/* 80077BBC 00074B1C 41 82 00 10 */ beq lbl_80077BCC +/* 80077BC0 00074B20 7E E3 BB 78 */ mr r3, r23 +/* 80077BC4 00074B24 7F E4 FB 78 */ mr r4, r31 +/* 80077BC8 00074B28 4B FD 51 2D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +lbl_80077BCC: +/* 80077BCC 00074B2C 7F E3 FB 78 */ mr r3, r31 +/* 80077BD0 00074B30 BA 81 00 60 */ lmw r20, 0x60(r1) +/* 80077BD4 00074B34 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80077BD8 00074B38 7C 08 03 A6 */ mtlr r0 +/* 80077BDC 00074B3C 38 21 00 90 */ addi r1, r1, 0x90 +/* 80077BE0 00074B40 4E 80 00 20 */ blr + +.global RenderIceModelWithFlags__10CPatternedCFRC11CModelFlags +RenderIceModelWithFlags__10CPatternedCFRC11CModelFlags: +/* 80077BE4 00074B44 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80077BE8 00074B48 7C 08 02 A6 */ mflr r0 +/* 80077BEC 00074B4C 7C 67 1B 78 */ mr r7, r3 +/* 80077BF0 00074B50 90 01 00 74 */ stw r0, 0x74(r1) +/* 80077BF4 00074B54 38 00 00 00 */ li r0, 0 +/* 80077BF8 00074B58 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80077BFC 00074B5C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80077C00 00074B60 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80077C04 00074B64 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80077C08 00074B68 A0 A4 00 02 */ lhz r5, 2(r4) +/* 80077C0C 00074B6C 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 80077C10 00074B70 80 C4 00 04 */ lwz r6, 4(r4) +/* 80077C14 00074B74 88 64 00 00 */ lbz r3, 0(r4) +/* 80077C18 00074B78 98 01 00 09 */ stb r0, 9(r1) +/* 80077C1C 00074B7C 98 61 00 08 */ stb r3, 8(r1) +/* 80077C20 00074B80 B0 A1 00 0A */ sth r5, 0xa(r1) +/* 80077C24 00074B84 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80077C28 00074B88 88 1F 00 F0 */ lbz r0, 0xf0(r31) +/* 80077C2C 00074B8C 28 00 00 00 */ cmplwi r0, 0 +/* 80077C30 00074B90 41 82 00 40 */ beq lbl_80077C70 +/* 80077C34 00074B94 83 BF 00 EC */ lwz r29, 0xec(r31) +/* 80077C38 00074B98 38 61 00 10 */ addi r3, r1, 0x10 +/* 80077C3C 00074B9C 80 87 05 10 */ lwz r4, 0x510(r7) +/* 80077C40 00074BA0 83 DD 00 40 */ lwz r30, 0x40(r29) +/* 80077C44 00074BA4 80 84 00 00 */ lwz r4, 0(r4) +/* 80077C48 00074BA8 48 00 01 D5 */ bl sub_80077e1c +/* 80077C4C 00074BAC 7F E3 FB 78 */ mr r3, r31 +/* 80077C50 00074BB0 7F A4 EB 78 */ mr r4, r29 +/* 80077C54 00074BB4 7F C7 F3 78 */ mr r7, r30 +/* 80077C58 00074BB8 38 A1 00 08 */ addi r5, r1, 8 +/* 80077C5C 00074BBC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80077C60 00074BC0 4B FB 4C BD */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 80077C64 00074BC4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80077C68 00074BC8 38 80 FF FF */ li r4, -1 +/* 80077C6C 00074BCC 48 00 00 21 */ bl sub_80077c8c +lbl_80077C70: +/* 80077C70 00074BD0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80077C74 00074BD4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80077C78 00074BD8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80077C7C 00074BDC 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80077C80 00074BE0 7C 08 03 A6 */ mtlr r0 +/* 80077C84 00074BE4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80077C88 00074BE8 4E 80 00 20 */ blr + +.global sub_80077c8c +sub_80077c8c: +/* 80077C8C 00074BEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80077C90 00074BF0 7C 08 02 A6 */ mflr r0 +/* 80077C94 00074BF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077C98 00074BF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80077C9C 00074BFC 7C 9F 23 78 */ mr r31, r4 +/* 80077CA0 00074C00 93 C1 00 08 */ stw r30, 8(r1) +/* 80077CA4 00074C04 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80077CA8 00074C08 41 82 00 18 */ beq lbl_80077CC0 +/* 80077CAC 00074C0C 48 00 00 31 */ bl sub_80077cdc +/* 80077CB0 00074C10 7F E0 07 35 */ extsh. r0, r31 +/* 80077CB4 00074C14 40 81 00 0C */ ble lbl_80077CC0 +/* 80077CB8 00074C18 7F C3 F3 78 */ mr r3, r30 +/* 80077CBC 00074C1C 48 29 DC 75 */ bl Free__7CMemoryFPCv +lbl_80077CC0: +/* 80077CC0 00074C20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80077CC4 00074C24 7F C3 F3 78 */ mr r3, r30 +/* 80077CC8 00074C28 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80077CCC 00074C2C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80077CD0 00074C30 7C 08 03 A6 */ mtlr r0 +/* 80077CD4 00074C34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80077CD8 00074C38 4E 80 00 20 */ blr + +.global sub_80077cdc +sub_80077cdc: +/* 80077CDC 00074C3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80077CE0 00074C40 7C 08 02 A6 */ mflr r0 +/* 80077CE4 00074C44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077CE8 00074C48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80077CEC 00074C4C 7C 7F 1B 78 */ mr r31, r3 +/* 80077CF0 00074C50 88 03 00 48 */ lbz r0, 0x48(r3) +/* 80077CF4 00074C54 28 00 00 00 */ cmplwi r0, 0 +/* 80077CF8 00074C58 41 82 00 08 */ beq lbl_80077D00 +/* 80077CFC 00074C5C 48 00 00 21 */ bl sub_80077d1c +lbl_80077D00: +/* 80077D00 00074C60 38 00 00 00 */ li r0, 0 +/* 80077D04 00074C64 98 1F 00 48 */ stb r0, 0x48(r31) +/* 80077D08 00074C68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80077D0C 00074C6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80077D10 00074C70 7C 08 03 A6 */ mtlr r0 +/* 80077D14 00074C74 38 21 00 10 */ addi r1, r1, 0x10 +/* 80077D18 00074C78 4E 80 00 20 */ blr + +.global sub_80077d1c +sub_80077d1c: +/* 80077D1C 00074C7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80077D20 00074C80 7C 08 02 A6 */ mflr r0 +/* 80077D24 00074C84 38 80 FF FF */ li r4, -1 +/* 80077D28 00074C88 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077D2C 00074C8C 48 00 00 15 */ bl __dt__18CVertexMorphEffectFv +/* 80077D30 00074C90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80077D34 00074C94 7C 08 03 A6 */ mtlr r0 +/* 80077D38 00074C98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80077D3C 00074C9C 4E 80 00 20 */ blr + +.global __dt__18CVertexMorphEffectFv +__dt__18CVertexMorphEffectFv: +/* 80077D40 00074CA0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80077D44 00074CA4 7C 08 02 A6 */ mflr r0 +/* 80077D48 00074CA8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80077D4C 00074CAC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80077D50 00074CB0 7C 9F 23 78 */ mr r31, r4 +/* 80077D54 00074CB4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80077D58 00074CB8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80077D5C 00074CBC 41 82 00 A4 */ beq lbl_80077E00 +/* 80077D60 00074CC0 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 80077D64 00074CC4 41 82 00 44 */ beq lbl_80077DA8 +/* 80077D68 00074CC8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80077D6C 00074CCC 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 80077D70 00074CD0 54 00 10 3A */ slwi r0, r0, 2 +/* 80077D74 00074CD4 7C 03 02 14 */ add r0, r3, r0 +/* 80077D78 00074CD8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80077D7C 00074CDC 7C 64 1B 78 */ mr r4, r3 +/* 80077D80 00074CE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80077D84 00074CE4 90 01 00 20 */ stw r0, 0x20(r1) +/* 80077D88 00074CE8 90 61 00 18 */ stw r3, 0x18(r1) +/* 80077D8C 00074CEC 48 00 00 08 */ b lbl_80077D94 +lbl_80077D90: +/* 80077D90 00074CF0 38 84 00 04 */ addi r4, r4, 4 +lbl_80077D94: +/* 80077D94 00074CF4 7C 04 00 40 */ cmplw r4, r0 +/* 80077D98 00074CF8 40 82 FF F8 */ bne lbl_80077D90 +/* 80077D9C 00074CFC 28 03 00 00 */ cmplwi r3, 0 +/* 80077DA0 00074D00 41 82 00 08 */ beq lbl_80077DA8 +/* 80077DA4 00074D04 48 29 DB 8D */ bl Free__7CMemoryFPCv +lbl_80077DA8: +/* 80077DA8 00074D08 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 80077DAC 00074D0C 41 82 00 44 */ beq lbl_80077DF0 +/* 80077DB0 00074D10 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 80077DB4 00074D14 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 80077DB8 00074D18 54 00 10 3A */ slwi r0, r0, 2 +/* 80077DBC 00074D1C 7C 03 02 14 */ add r0, r3, r0 +/* 80077DC0 00074D20 90 61 00 0C */ stw r3, 0xc(r1) +/* 80077DC4 00074D24 7C 64 1B 78 */ mr r4, r3 +/* 80077DC8 00074D28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077DCC 00074D2C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80077DD0 00074D30 90 61 00 08 */ stw r3, 8(r1) +/* 80077DD4 00074D34 48 00 00 08 */ b lbl_80077DDC +lbl_80077DD8: +/* 80077DD8 00074D38 38 84 00 04 */ addi r4, r4, 4 +lbl_80077DDC: +/* 80077DDC 00074D3C 7C 04 00 40 */ cmplw r4, r0 +/* 80077DE0 00074D40 40 82 FF F8 */ bne lbl_80077DD8 +/* 80077DE4 00074D44 28 03 00 00 */ cmplwi r3, 0 +/* 80077DE8 00074D48 41 82 00 08 */ beq lbl_80077DF0 +/* 80077DEC 00074D4C 48 29 DB 45 */ bl Free__7CMemoryFPCv +lbl_80077DF0: +/* 80077DF0 00074D50 7F E0 07 35 */ extsh. r0, r31 +/* 80077DF4 00074D54 40 81 00 0C */ ble lbl_80077E00 +/* 80077DF8 00074D58 7F C3 F3 78 */ mr r3, r30 +/* 80077DFC 00074D5C 48 29 DB 35 */ bl Free__7CMemoryFPCv +lbl_80077E00: +/* 80077E00 00074D60 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80077E04 00074D64 7F C3 F3 78 */ mr r3, r30 +/* 80077E08 00074D68 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80077E0C 00074D6C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80077E10 00074D70 7C 08 03 A6 */ mtlr r0 +/* 80077E14 00074D74 38 21 00 30 */ addi r1, r1, 0x30 +/* 80077E18 00074D78 4E 80 00 20 */ blr + +.global sub_80077e1c +sub_80077e1c: +/* 80077E1C 00074D7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80077E20 00074D80 7C 08 02 A6 */ mflr r0 +/* 80077E24 00074D84 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077E28 00074D88 38 00 00 01 */ li r0, 1 +/* 80077E2C 00074D8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80077E30 00074D90 7C 7F 1B 78 */ mr r31, r3 +/* 80077E34 00074D94 98 03 00 48 */ stb r0, 0x48(r3) +/* 80077E38 00074D98 48 00 00 1D */ bl sub_80077e54 +/* 80077E3C 00074D9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80077E40 00074DA0 7F E3 FB 78 */ mr r3, r31 +/* 80077E44 00074DA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80077E48 00074DA8 7C 08 03 A6 */ mtlr r0 +/* 80077E4C 00074DAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80077E50 00074DB0 4E 80 00 20 */ blr + +.global sub_80077e54 +sub_80077e54: +/* 80077E54 00074DB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80077E58 00074DB8 7C 08 02 A6 */ mflr r0 +/* 80077E5C 00074DBC 28 03 00 00 */ cmplwi r3, 0 +/* 80077E60 00074DC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077E64 00074DC4 41 82 00 08 */ beq lbl_80077E6C +/* 80077E68 00074DC8 48 00 00 15 */ bl sub_80077e7c +lbl_80077E6C: +/* 80077E6C 00074DCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80077E70 00074DD0 7C 08 03 A6 */ mtlr r0 +/* 80077E74 00074DD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80077E78 00074DD8 4E 80 00 20 */ blr + +.global sub_80077e7c +sub_80077e7c: +/* 80077E7C 00074DDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80077E80 00074DE0 7C 08 02 A6 */ mflr r0 +/* 80077E84 00074DE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80077E88 00074DE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80077E8C 00074DEC 7C 9F 23 78 */ mr r31, r4 +/* 80077E90 00074DF0 93 C1 00 08 */ stw r30, 8(r1) +/* 80077E94 00074DF4 7C 7E 1B 78 */ mr r30, r3 +/* 80077E98 00074DF8 C0 04 00 00 */ lfs f0, 0(r4) +/* 80077E9C 00074DFC D0 03 00 00 */ stfs f0, 0(r3) +/* 80077EA0 00074E00 C0 04 00 04 */ lfs f0, 4(r4) +/* 80077EA4 00074E04 D0 03 00 04 */ stfs f0, 4(r3) +/* 80077EA8 00074E08 C0 04 00 08 */ lfs f0, 8(r4) +/* 80077EAC 00074E0C D0 03 00 08 */ stfs f0, 8(r3) +/* 80077EB0 00074E10 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80077EB4 00074E14 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80077EB8 00074E18 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80077EBC 00074E1C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80077EC0 00074E20 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80077EC4 00074E24 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80077EC8 00074E28 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80077ECC 00074E2C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80077ED0 00074E30 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80077ED4 00074E34 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80077ED8 00074E38 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80077EDC 00074E3C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80077EE0 00074E40 80 04 00 24 */ lwz r0, 0x24(r4) +/* 80077EE4 00074E44 90 03 00 24 */ stw r0, 0x24(r3) +/* 80077EE8 00074E48 80 04 00 2C */ lwz r0, 0x2c(r4) +/* 80077EEC 00074E4C 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80077EF0 00074E50 80 04 00 30 */ lwz r0, 0x30(r4) +/* 80077EF4 00074E54 90 03 00 30 */ stw r0, 0x30(r3) +/* 80077EF8 00074E58 80 04 00 2C */ lwz r0, 0x2c(r4) +/* 80077EFC 00074E5C 2C 00 00 00 */ cmpwi r0, 0 +/* 80077F00 00074E60 40 82 00 1C */ bne lbl_80077F1C +/* 80077F04 00074E64 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 80077F08 00074E68 2C 00 00 00 */ cmpwi r0, 0 +/* 80077F0C 00074E6C 40 82 00 10 */ bne lbl_80077F1C +/* 80077F10 00074E70 38 00 00 00 */ li r0, 0 +/* 80077F14 00074E74 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80077F18 00074E78 48 00 00 64 */ b lbl_80077F7C +lbl_80077F1C: +/* 80077F1C 00074E7C 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 80077F20 00074E80 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 80077F24 00074E84 40 82 00 10 */ bne lbl_80077F34 +/* 80077F28 00074E88 38 00 00 00 */ li r0, 0 +/* 80077F2C 00074E8C 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80077F30 00074E90 48 00 00 18 */ b lbl_80077F48 +lbl_80077F34: +/* 80077F34 00074E94 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 80077F38 00074E98 38 A0 00 00 */ li r5, 0 +/* 80077F3C 00074E9C 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 80077F40 00074EA0 48 29 D8 D9 */ bl __nwa__FUlPCcPCc +/* 80077F44 00074EA4 90 7E 00 34 */ stw r3, 0x34(r30) +lbl_80077F48: +/* 80077F48 00074EA8 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 80077F4C 00074EAC 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 80077F50 00074EB0 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 80077F54 00074EB4 7C 09 03 A6 */ mtctr r0 +/* 80077F58 00074EB8 2C 00 00 00 */ cmpwi r0, 0 +/* 80077F5C 00074EBC 40 81 00 20 */ ble lbl_80077F7C +lbl_80077F60: +/* 80077F60 00074EC0 28 03 00 00 */ cmplwi r3, 0 +/* 80077F64 00074EC4 41 82 00 0C */ beq lbl_80077F70 +/* 80077F68 00074EC8 80 04 00 00 */ lwz r0, 0(r4) +/* 80077F6C 00074ECC 90 03 00 00 */ stw r0, 0(r3) +lbl_80077F70: +/* 80077F70 00074ED0 38 63 00 04 */ addi r3, r3, 4 +/* 80077F74 00074ED4 38 84 00 04 */ addi r4, r4, 4 +/* 80077F78 00074ED8 42 00 FF E8 */ bdnz lbl_80077F60 +lbl_80077F7C: +/* 80077F7C 00074EDC 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80077F80 00074EE0 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 80077F84 00074EE4 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 80077F88 00074EE8 90 1E 00 40 */ stw r0, 0x40(r30) +/* 80077F8C 00074EEC 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80077F90 00074EF0 2C 00 00 00 */ cmpwi r0, 0 +/* 80077F94 00074EF4 40 82 00 1C */ bne lbl_80077FB0 +/* 80077F98 00074EF8 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 80077F9C 00074EFC 2C 00 00 00 */ cmpwi r0, 0 +/* 80077FA0 00074F00 40 82 00 10 */ bne lbl_80077FB0 +/* 80077FA4 00074F04 38 00 00 00 */ li r0, 0 +/* 80077FA8 00074F08 90 1E 00 44 */ stw r0, 0x44(r30) +/* 80077FAC 00074F0C 48 00 00 64 */ b lbl_80078010 +lbl_80077FB0: +/* 80077FB0 00074F10 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 80077FB4 00074F14 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 80077FB8 00074F18 40 82 00 10 */ bne lbl_80077FC8 +/* 80077FBC 00074F1C 38 00 00 00 */ li r0, 0 +/* 80077FC0 00074F20 90 1E 00 44 */ stw r0, 0x44(r30) +/* 80077FC4 00074F24 48 00 00 18 */ b lbl_80077FDC +lbl_80077FC8: +/* 80077FC8 00074F28 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 80077FCC 00074F2C 38 A0 00 00 */ li r5, 0 +/* 80077FD0 00074F30 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 80077FD4 00074F34 48 29 D8 45 */ bl __nwa__FUlPCcPCc +/* 80077FD8 00074F38 90 7E 00 44 */ stw r3, 0x44(r30) +lbl_80077FDC: +/* 80077FDC 00074F3C 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80077FE0 00074F40 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80077FE4 00074F44 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 80077FE8 00074F48 7C 09 03 A6 */ mtctr r0 +/* 80077FEC 00074F4C 2C 00 00 00 */ cmpwi r0, 0 +/* 80077FF0 00074F50 40 81 00 20 */ ble lbl_80078010 +lbl_80077FF4: +/* 80077FF4 00074F54 28 03 00 00 */ cmplwi r3, 0 +/* 80077FF8 00074F58 41 82 00 0C */ beq lbl_80078004 +/* 80077FFC 00074F5C C0 04 00 00 */ lfs f0, 0(r4) +/* 80078000 00074F60 D0 03 00 00 */ stfs f0, 0(r3) +lbl_80078004: +/* 80078004 00074F64 38 63 00 04 */ addi r3, r3, 4 +/* 80078008 00074F68 38 84 00 04 */ addi r4, r4, 4 +/* 8007800C 00074F6C 42 00 FF E8 */ bdnz lbl_80077FF4 +lbl_80078010: +/* 80078010 00074F70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80078014 00074F74 7F C3 F3 78 */ mr r3, r30 +/* 80078018 00074F78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007801C 00074F7C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80078020 00074F80 7C 08 03 A6 */ mtlr r0 +/* 80078024 00074F84 38 21 00 10 */ addi r1, r1, 0x10 +/* 80078028 00074F88 4E 80 00 20 */ blr + +.global Render__10CPatternedCFRC13CStateManager +Render__10CPatternedCFRC13CStateManager: +/* 8007802C 00074F8C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80078030 00074F90 7C 08 02 A6 */ mflr r0 +/* 80078034 00074F94 90 01 00 34 */ stw r0, 0x34(r1) +/* 80078038 00074F98 38 00 00 00 */ li r0, 0 +/* 8007803C 00074F9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80078040 00074FA0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80078044 00074FA4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80078048 00074FA8 7C 9D 23 78 */ mr r29, r4 +/* 8007804C 00074FAC 93 81 00 20 */ stw r28, 0x20(r1) +/* 80078050 00074FB0 7C 7C 1B 78 */ mr r28, r3 +/* 80078054 00074FB4 88 A3 04 02 */ lbz r5, 0x402(r3) +/* 80078058 00074FB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007805C 00074FBC 54 A4 F7 FE */ rlwinm r4, r5, 0x1e, 0x1f, 0x1f +/* 80078060 00074FC0 7C 64 00 D0 */ neg r3, r4 +/* 80078064 00074FC4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80078068 00074FC8 7C 60 23 78 */ or r0, r3, r4 +/* 8007806C 00074FCC 54 1F 0F FF */ rlwinm. r31, r0, 1, 0x1f, 0x1f +/* 80078070 00074FD0 41 82 00 3C */ beq lbl_800780AC +/* 80078074 00074FD4 54 A4 07 FE */ clrlwi r4, r5, 0x1f +/* 80078078 00074FD8 7F A3 EB 78 */ mr r3, r29 +/* 8007807C 00074FDC 7C 04 00 D0 */ neg r0, r4 +/* 80078080 00074FE0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80078084 00074FE4 7C 00 23 78 */ or r0, r0, r4 +/* 80078088 00074FE8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8007808C 00074FEC 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80078090 00074FF0 4B FC C3 E1 */ bl GetCharacterRenderMaskAndTarget__13CStateManagerFbRiRi +/* 80078094 00074FF4 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80078098 00074FF8 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8007809C 00074FFC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800780A0 00075000 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 800780A4 00075004 38 63 01 20 */ addi r3, r3, 0x120 +/* 800780A8 00075008 48 03 FE B5 */ bl RenderSystemsToBeDrawnFirstMasked__17CParticleDatabaseCFii +lbl_800780AC: +/* 800780AC 0007500C 80 7D 0F 34 */ lwz r3, 0xf34(r29) +/* 800780B0 00075010 2C 03 00 01 */ cmpwi r3, 1 +/* 800780B4 00075014 40 82 00 10 */ bne lbl_800780C4 +/* 800780B8 00075018 88 1C 04 02 */ lbz r0, 0x402(r28) +/* 800780BC 0007501C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800780C0 00075020 41 82 00 20 */ beq lbl_800780E0 +lbl_800780C4: +/* 800780C4 00075024 2C 03 00 00 */ cmpwi r3, 0 +/* 800780C8 00075028 40 82 00 10 */ bne lbl_800780D8 +/* 800780CC 0007502C 88 1C 04 02 */ lbz r0, 0x402(r28) +/* 800780D0 00075030 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800780D4 00075034 40 82 00 0C */ bne lbl_800780E0 +lbl_800780D8: +/* 800780D8 00075038 2C 03 00 02 */ cmpwi r3, 2 +/* 800780DC 0007503C 40 82 01 84 */ bne lbl_80078260 +lbl_800780E0: +/* 800780E0 00075040 88 1C 04 01 */ lbz r0, 0x401(r28) +/* 800780E4 00075044 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800780E8 00075048 41 82 01 18 */ beq lbl_80078200 +/* 800780EC 0007504C 80 7D 08 84 */ lwz r3, 0x884(r29) +/* 800780F0 00075050 7F 84 E3 78 */ mr r4, r28 +/* 800780F4 00075054 48 16 B7 B1 */ bl GetAshyTexture__20CActorModelParticlesFR5CActor +/* 800780F8 00075058 7C 60 1B 78 */ mr r0, r3 +/* 800780FC 0007505C 7F 83 E3 78 */ mr r3, r28 +/* 80078100 00075060 81 9C 00 00 */ lwz r12, 0(r28) +/* 80078104 00075064 7C 1E 03 78 */ mr r30, r0 +/* 80078108 00075068 7F A4 EB 78 */ mr r4, r29 +/* 8007810C 0007506C 81 8C 02 B4 */ lwz r12, 0x2b4(r12) +/* 80078110 00075070 7D 89 03 A6 */ mtctr r12 +/* 80078114 00075074 4E 80 04 21 */ bctrl +/* 80078118 00075078 28 1E 00 00 */ cmplwi r30, 0 +/* 8007811C 0007507C 98 61 00 08 */ stb r3, 8(r1) +/* 80078120 00075080 41 82 00 D0 */ beq lbl_800781F0 +/* 80078124 00075084 88 1C 04 01 */ lbz r0, 0x401(r28) +/* 80078128 00075088 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8007812C 0007508C 40 82 00 10 */ bne lbl_8007813C +/* 80078130 00075090 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80078134 00075094 28 00 00 FF */ cmplwi r0, 0xff +/* 80078138 00075098 40 81 00 10 */ ble lbl_80078148 +lbl_8007813C: +/* 8007813C 0007509C 88 01 00 08 */ lbz r0, 8(r1) +/* 80078140 000750A0 28 00 00 7F */ cmplwi r0, 0x7f +/* 80078144 000750A4 41 81 00 AC */ bgt lbl_800781F0 +lbl_80078148: +/* 80078148 000750A8 88 1C 00 E5 */ lbz r0, 0xe5(r28) +/* 8007814C 000750AC 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80078150 000750B0 41 82 00 10 */ beq lbl_80078160 +/* 80078154 000750B4 7F A3 EB 78 */ mr r3, r29 +/* 80078158 000750B8 7F 84 E3 78 */ mr r4, r28 +/* 8007815C 000750BC 4B FC CF 2D */ bl SetupParticleHook__13CStateManagerCFRC6CActor +lbl_80078160: +/* 80078160 000750C0 88 1C 04 01 */ lbz r0, 0x401(r28) +/* 80078164 000750C4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80078168 000750C8 41 82 00 0C */ beq lbl_80078174 +/* 8007816C 000750CC 38 6D A2 58 */ addi r3, r13, lbl_805A8E18@sda21 +/* 80078170 000750D0 48 00 00 1C */ b lbl_8007818C +lbl_80078174: +/* 80078174 000750D4 80 1D 0F 34 */ lwz r0, 0xf34(r29) +/* 80078178 000750D8 2C 00 00 00 */ cmpwi r0, 0 +/* 8007817C 000750DC 40 82 00 0C */ bne lbl_80078188 +/* 80078180 000750E0 48 2D 1E 2D */ bl White__6CColorFv +/* 80078184 000750E4 48 00 00 08 */ b lbl_8007818C +lbl_80078188: +/* 80078188 000750E8 48 2D 1E 2D */ bl Black__6CColorFv +lbl_8007818C: +/* 8007818C 000750EC 88 1C 04 01 */ lbz r0, 0x401(r28) +/* 80078190 000750F0 80 63 00 00 */ lwz r3, 0(r3) +/* 80078194 000750F4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80078198 000750F8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007819C 000750FC 41 82 00 0C */ beq lbl_800781A8 +/* 800781A0 00075100 C0 02 88 FC */ lfs f0, lbl_805AA61C@sda21(r2) +/* 800781A4 00075104 48 00 00 08 */ b lbl_800781AC +lbl_800781A8: +/* 800781A8 00075108 C0 02 89 00 */ lfs f0, lbl_805AA620@sda21(r2) +lbl_800781AC: +/* 800781AC 0007510C E0 21 A0 08 */ psq_l f1, 8(r1), 1, qr2 +/* 800781B0 00075110 7F A4 EB 78 */ mr r4, r29 +/* 800781B4 00075114 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 800781B8 00075118 7F C6 F3 78 */ mr r6, r30 +/* 800781BC 0007511C EC 20 00 72 */ fmuls f1, f0, f1 +/* 800781C0 00075120 38 BC 00 34 */ addi r5, r28, 0x34 +/* 800781C4 00075124 38 E1 00 0C */ addi r7, r1, 0xc +/* 800781C8 00075128 48 09 DF 19 */ bl DisintegrateDraw__10CModelDataFRC13CStateManagerRC12CTransform4fRC8CTextureRC6CColor +/* 800781CC 0007512C 88 1C 00 E5 */ lbz r0, 0xe5(r28) +/* 800781D0 00075130 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800781D4 00075134 41 82 00 38 */ beq lbl_8007820C +/* 800781D8 00075138 48 2D A5 31 */ bl ClearPointGeneratorFunc__13CSkinnedModelFv +/* 800781DC 0007513C 80 7D 08 84 */ lwz r3, 0x884(r29) +/* 800781E0 00075140 7F A4 EB 78 */ mr r4, r29 +/* 800781E4 00075144 7F 85 E3 78 */ mr r5, r28 +/* 800781E8 00075148 48 16 BC 3D */ bl Render__20CActorModelParticlesCFRC6CActor +/* 800781EC 0007514C 48 00 00 20 */ b lbl_8007820C +lbl_800781F0: +/* 800781F0 00075150 7F 83 E3 78 */ mr r3, r28 +/* 800781F4 00075154 7F A4 EB 78 */ mr r4, r29 +/* 800781F8 00075158 48 0A 22 F1 */ bl Render__13CPhysicsActorCFRC13CStateManager +/* 800781FC 0007515C 48 00 00 10 */ b lbl_8007820C +lbl_80078200: +/* 80078200 00075160 7F 83 E3 78 */ mr r3, r28 +/* 80078204 00075164 7F A4 EB 78 */ mr r4, r29 +/* 80078208 00075168 48 0A 22 E1 */ bl Render__13CPhysicsActorCFRC13CStateManager +lbl_8007820C: +/* 8007820C 0007516C 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 80078210 00075170 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80078214 00075174 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80078218 00075178 41 82 00 48 */ beq lbl_80078260 +/* 8007821C 0007517C 88 1C 04 01 */ lbz r0, 0x401(r28) +/* 80078220 00075180 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80078224 00075184 40 82 00 3C */ bne lbl_80078260 +/* 80078228 00075188 C0 22 89 04 */ lfs f1, lbl_805AA624@sda21(r2) +/* 8007822C 0007518C 38 80 00 00 */ li r4, 0 +/* 80078230 00075190 38 00 00 03 */ li r0, 3 +/* 80078234 00075194 98 81 00 18 */ stb r4, 0x18(r1) +/* 80078238 00075198 FC 40 08 90 */ fmr f2, f1 +/* 8007823C 0007519C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80078240 000751A0 FC 60 08 90 */ fmr f3, f1 +/* 80078244 000751A4 98 81 00 19 */ stb r4, 0x19(r1) +/* 80078248 000751A8 FC 80 08 90 */ fmr f4, f1 +/* 8007824C 000751AC B0 01 00 1A */ sth r0, 0x1a(r1) +/* 80078250 000751B0 48 2E B1 9D */ bl __ct__6CColorFffff +/* 80078254 000751B4 7F 83 E3 78 */ mr r3, r28 +/* 80078258 000751B8 38 81 00 18 */ addi r4, r1, 0x18 +/* 8007825C 000751BC 4B FF F9 89 */ bl RenderIceModelWithFlags__10CPatternedCFRC11CModelFlags +lbl_80078260: +/* 80078260 000751C0 28 1F 00 00 */ cmplwi r31, 0 +/* 80078264 000751C4 41 82 00 1C */ beq lbl_80078280 +/* 80078268 000751C8 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 8007826C 000751CC 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80078270 000751D0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80078274 000751D4 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80078278 000751D8 38 63 01 20 */ addi r3, r3, 0x120 +/* 8007827C 000751DC 48 03 FC 51 */ bl RenderSystemsToBeDrawnLastMasked__17CParticleDatabaseCFii +lbl_80078280: +/* 80078280 000751E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80078284 000751E4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80078288 000751E8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8007828C 000751EC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80078290 000751F0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80078294 000751F4 7C 08 03 A6 */ mtlr r0 +/* 80078298 000751F8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007829C 000751FC 4E 80 00 20 */ blr + +.global CanRenderUnsorted__10CPatternedCFRC13CStateManager +CanRenderUnsorted__10CPatternedCFRC13CStateManager: +/* 800782A0 00075200 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800782A4 00075204 7C 08 02 A6 */ mflr r0 +/* 800782A8 00075208 90 01 00 14 */ stw r0, 0x14(r1) +/* 800782AC 0007520C 80 A3 00 64 */ lwz r5, 0x64(r3) +/* 800782B0 00075210 80 A5 00 10 */ lwz r5, 0x10(r5) +/* 800782B4 00075214 88 05 01 D4 */ lbz r0, 0x1d4(r5) +/* 800782B8 00075218 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800782BC 0007521C 41 82 00 0C */ beq lbl_800782C8 +/* 800782C0 00075220 38 60 00 00 */ li r3, 0 +/* 800782C4 00075224 48 00 00 08 */ b lbl_800782CC +lbl_800782C8: +/* 800782C8 00075228 4B FD C6 6D */ bl CanRenderUnsorted__6CActorCFRC13CStateManager +lbl_800782CC: +/* 800782CC 0007522C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800782D0 00075230 7C 08 03 A6 */ mtlr r0 +/* 800782D4 00075234 38 21 00 10 */ addi r1, r1, 0x10 +/* 800782D8 00075238 4E 80 00 20 */ blr + +.global PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes +PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes: +/* 800782DC 0007523C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800782E0 00075240 7C 08 02 A6 */ mflr r0 +/* 800782E4 00075244 90 01 00 44 */ stw r0, 0x44(r1) +/* 800782E8 00075248 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800782EC 0007524C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800782F0 00075250 7C BE 2B 78 */ mr r30, r5 +/* 800782F4 00075254 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800782F8 00075258 7C 9D 23 78 */ mr r29, r4 +/* 800782FC 0007525C 93 81 00 30 */ stw r28, 0x30(r1) +/* 80078300 00075260 7C 7C 1B 78 */ mr r28, r3 +/* 80078304 00075264 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 80078308 00075268 80 63 00 00 */ lwz r3, 0(r3) +/* 8007830C 0007526C 48 01 92 4D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80078310 00075270 2C 03 00 03 */ cmpwi r3, 3 +/* 80078314 00075274 40 82 00 28 */ bne lbl_8007833C +/* 80078318 00075278 7F 83 E3 78 */ mr r3, r28 +/* 8007831C 0007527C 38 80 00 00 */ li r4, 0 +/* 80078320 00075280 4B FD B6 01 */ bl SetCalculateLighting__6CActorFb +/* 80078324 00075284 83 FC 00 90 */ lwz r31, 0x90(r28) +/* 80078328 00075288 48 2D 1C 85 */ bl White__6CColorFv +/* 8007832C 0007528C 7C 64 1B 78 */ mr r4, r3 +/* 80078330 00075290 7F E3 FB 78 */ mr r3, r31 +/* 80078334 00075294 48 08 AD 7D */ bl BuildConstantAmbientLighting__12CActorLightsFRC6CColor +/* 80078338 00075298 48 00 00 10 */ b lbl_80078348 +lbl_8007833C: +/* 8007833C 0007529C 7F 83 E3 78 */ mr r3, r28 +/* 80078340 000752A0 38 80 00 01 */ li r4, 1 +/* 80078344 000752A4 4B FD B5 DD */ bl SetCalculateLighting__6CActorFb +lbl_80078348: +/* 80078348 000752A8 7F 83 E3 78 */ mr r3, r28 +/* 8007834C 000752AC 80 1C 04 2C */ lwz r0, 0x42c(r28) +/* 80078350 000752B0 81 9C 00 00 */ lwz r12, 0(r28) +/* 80078354 000752B4 7F A4 EB 78 */ mr r4, r29 +/* 80078358 000752B8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8007835C 000752BC 81 8C 02 B4 */ lwz r12, 0x2b4(r12) +/* 80078360 000752C0 7D 89 03 A6 */ mtctr r12 +/* 80078364 000752C4 4E 80 04 21 */ bctrl +/* 80078368 000752C8 88 1C 04 02 */ lbz r0, 0x402(r28) +/* 8007836C 000752CC 7C 7F 1B 78 */ mr r31, r3 +/* 80078370 000752D0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80078374 000752D4 41 82 00 28 */ beq lbl_8007839C +/* 80078378 000752D8 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 8007837C 000752DC 7F A4 EB 78 */ mr r4, r29 +/* 80078380 000752E0 80 63 00 00 */ lwz r3, 0(r3) +/* 80078384 000752E4 48 01 91 D5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80078388 000752E8 20 03 00 01 */ subfic r0, r3, 1 +/* 8007838C 000752EC 7C 00 00 34 */ cntlzw r0, r0 +/* 80078390 000752F0 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 80078394 000752F4 41 82 00 08 */ beq lbl_8007839C +/* 80078398 000752F8 3B E0 00 4C */ li r31, 0x4c +lbl_8007839C: +/* 8007839C 000752FC 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 800783A0 00075300 28 00 00 FF */ cmplwi r0, 0xff +/* 800783A4 00075304 40 80 01 24 */ bge lbl_800784C8 +/* 800783A8 00075308 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800783AC 0007530C 28 00 00 00 */ cmplwi r0, 0 +/* 800783B0 00075310 40 82 00 28 */ bne lbl_800783D8 +/* 800783B4 00075314 88 01 00 19 */ lbz r0, 0x19(r1) +/* 800783B8 00075318 28 00 00 00 */ cmplwi r0, 0 +/* 800783BC 0007531C 40 82 00 1C */ bne lbl_800783D8 +/* 800783C0 00075320 88 01 00 1A */ lbz r0, 0x1a(r1) +/* 800783C4 00075324 28 00 00 00 */ cmplwi r0, 0 +/* 800783C8 00075328 40 82 00 10 */ bne lbl_800783D8 +/* 800783CC 0007532C 48 2D 1B E1 */ bl White__6CColorFv +/* 800783D0 00075330 80 03 00 00 */ lwz r0, 0(r3) +/* 800783D4 00075334 90 01 00 18 */ stw r0, 0x18(r1) +lbl_800783D8: +/* 800783D8 00075338 88 7C 04 01 */ lbz r3, 0x401(r28) +/* 800783DC 0007533C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 800783E0 00075340 41 82 00 68 */ beq lbl_80078448 +/* 800783E4 00075344 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 800783E8 00075348 38 00 00 FF */ li r0, 0xff +/* 800783EC 0007534C 28 03 00 7F */ cmplwi r3, 0x7f +/* 800783F0 00075350 40 81 00 0C */ ble lbl_800783FC +/* 800783F4 00075354 38 03 FF 80 */ addi r0, r3, -128 +/* 800783F8 00075358 54 00 08 3C */ slwi r0, r0, 1 +lbl_800783FC: +/* 800783FC 0007535C 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80078400 00075360 38 AD A2 58 */ addi r5, r13, lbl_805A8E18@sda21 +/* 80078404 00075364 7C 80 01 D6 */ mullw r4, r0, r0 +/* 80078408 00075368 88 C5 00 01 */ lbz r6, 1(r5) +/* 8007840C 0007536C 88 ED A2 58 */ lbz r7, lbl_805A8E18@sda21(r13) +/* 80078410 00075370 38 60 00 03 */ li r3, 3 +/* 80078414 00075374 88 A5 00 02 */ lbz r5, 2(r5) +/* 80078418 00075378 38 00 00 00 */ li r0, 0 +/* 8007841C 0007537C 98 7C 00 B4 */ stb r3, 0xb4(r28) +/* 80078420 00075380 7C 84 46 70 */ srawi r4, r4, 8 +/* 80078424 00075384 98 1C 00 B5 */ stb r0, 0xb5(r28) +/* 80078428 00075388 98 E1 00 14 */ stb r7, 0x14(r1) +/* 8007842C 0007538C 98 C1 00 15 */ stb r6, 0x15(r1) +/* 80078430 00075390 98 A1 00 16 */ stb r5, 0x16(r1) +/* 80078434 00075394 98 81 00 17 */ stb r4, 0x17(r1) +/* 80078438 00075398 B0 7C 00 B6 */ sth r3, 0xb6(r28) +/* 8007843C 0007539C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80078440 000753A0 90 1C 00 B8 */ stw r0, 0xb8(r28) +/* 80078444 000753A4 48 00 01 38 */ b lbl_8007857C +lbl_80078448: +/* 80078448 000753A8 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 8007844C 000753AC 41 82 00 3C */ beq lbl_80078488 +/* 80078450 000753B0 38 00 00 05 */ li r0, 5 +/* 80078454 000753B4 38 80 00 00 */ li r4, 0 +/* 80078458 000753B8 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 8007845C 000753BC 38 60 00 FF */ li r3, 0xff +/* 80078460 000753C0 38 00 00 03 */ li r0, 3 +/* 80078464 000753C4 98 9C 00 B5 */ stb r4, 0xb5(r28) +/* 80078468 000753C8 98 81 00 10 */ stb r4, 0x10(r1) +/* 8007846C 000753CC 98 81 00 11 */ stb r4, 0x11(r1) +/* 80078470 000753D0 98 81 00 12 */ stb r4, 0x12(r1) +/* 80078474 000753D4 98 61 00 13 */ stb r3, 0x13(r1) +/* 80078478 000753D8 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 8007847C 000753DC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80078480 000753E0 90 1C 00 B8 */ stw r0, 0xb8(r28) +/* 80078484 000753E4 48 00 00 F8 */ b lbl_8007857C +lbl_80078488: +/* 80078488 000753E8 38 00 00 05 */ li r0, 5 +/* 8007848C 000753EC 88 C1 00 18 */ lbz r6, 0x18(r1) +/* 80078490 000753F0 88 A1 00 19 */ lbz r5, 0x19(r1) +/* 80078494 000753F4 38 60 00 00 */ li r3, 0 +/* 80078498 000753F8 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 8007849C 000753FC 38 00 00 03 */ li r0, 3 +/* 800784A0 00075400 88 81 00 1A */ lbz r4, 0x1a(r1) +/* 800784A4 00075404 98 7C 00 B5 */ stb r3, 0xb5(r28) +/* 800784A8 00075408 98 C1 00 0C */ stb r6, 0xc(r1) +/* 800784AC 0007540C 98 A1 00 0D */ stb r5, 0xd(r1) +/* 800784B0 00075410 98 81 00 0E */ stb r4, 0xe(r1) +/* 800784B4 00075414 9B E1 00 0F */ stb r31, 0xf(r1) +/* 800784B8 00075418 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 800784BC 0007541C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800784C0 00075420 90 1C 00 B8 */ stw r0, 0xb8(r28) +/* 800784C4 00075424 48 00 00 B8 */ b lbl_8007857C +lbl_800784C8: +/* 800784C8 00075428 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800784CC 0007542C 28 00 00 00 */ cmplwi r0, 0 +/* 800784D0 00075430 40 82 00 1C */ bne lbl_800784EC +/* 800784D4 00075434 88 01 00 19 */ lbz r0, 0x19(r1) +/* 800784D8 00075438 28 00 00 00 */ cmplwi r0, 0 +/* 800784DC 0007543C 40 82 00 10 */ bne lbl_800784EC +/* 800784E0 00075440 88 01 00 1A */ lbz r0, 0x1a(r1) +/* 800784E4 00075444 28 00 00 00 */ cmplwi r0, 0 +/* 800784E8 00075448 41 82 00 48 */ beq lbl_80078530 +lbl_800784EC: +/* 800784EC 0007544C 38 00 00 02 */ li r0, 2 +/* 800784F0 00075450 88 E1 00 18 */ lbz r7, 0x18(r1) +/* 800784F4 00075454 88 C1 00 19 */ lbz r6, 0x19(r1) +/* 800784F8 00075458 38 80 00 FF */ li r4, 0xff +/* 800784FC 0007545C 88 A1 00 1A */ lbz r5, 0x1a(r1) +/* 80078500 00075460 38 60 00 00 */ li r3, 0 +/* 80078504 00075464 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 80078508 00075468 38 00 00 03 */ li r0, 3 +/* 8007850C 0007546C 98 7C 00 B5 */ stb r3, 0xb5(r28) +/* 80078510 00075470 98 E1 00 08 */ stb r7, 8(r1) +/* 80078514 00075474 98 C1 00 09 */ stb r6, 9(r1) +/* 80078518 00075478 98 A1 00 0A */ stb r5, 0xa(r1) +/* 8007851C 0007547C 98 81 00 0B */ stb r4, 0xb(r1) +/* 80078520 00075480 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 80078524 00075484 80 01 00 08 */ lwz r0, 8(r1) +/* 80078528 00075488 90 1C 00 B8 */ stw r0, 0xb8(r28) +/* 8007852C 0007548C 48 00 00 50 */ b lbl_8007857C +lbl_80078530: +/* 80078530 00075490 C0 22 89 04 */ lfs f1, lbl_805AA624@sda21(r2) +/* 80078534 00075494 38 80 00 00 */ li r4, 0 +/* 80078538 00075498 38 00 00 03 */ li r0, 3 +/* 8007853C 0007549C 98 81 00 1C */ stb r4, 0x1c(r1) +/* 80078540 000754A0 FC 40 08 90 */ fmr f2, f1 +/* 80078544 000754A4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80078548 000754A8 FC 60 08 90 */ fmr f3, f1 +/* 8007854C 000754AC 98 81 00 1D */ stb r4, 0x1d(r1) +/* 80078550 000754B0 FC 80 08 90 */ fmr f4, f1 +/* 80078554 000754B4 B0 01 00 1E */ sth r0, 0x1e(r1) +/* 80078558 000754B8 48 2E AE 95 */ bl __ct__6CColorFffff +/* 8007855C 000754BC 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 80078560 000754C0 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 80078564 000754C4 88 01 00 1D */ lbz r0, 0x1d(r1) +/* 80078568 000754C8 98 1C 00 B5 */ stb r0, 0xb5(r28) +/* 8007856C 000754CC A0 01 00 1E */ lhz r0, 0x1e(r1) +/* 80078570 000754D0 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 80078574 000754D4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80078578 000754D8 90 1C 00 B8 */ stw r0, 0xb8(r28) +lbl_8007857C: +/* 8007857C 000754DC 7F 83 E3 78 */ mr r3, r28 +/* 80078580 000754E0 7F A4 EB 78 */ mr r4, r29 +/* 80078584 000754E4 7F C5 F3 78 */ mr r5, r30 +/* 80078588 000754E8 4B FD C7 59 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes +/* 8007858C 000754EC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80078590 000754F0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80078594 000754F4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80078598 000754F8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8007859C 000754FC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 800785A0 00075500 7C 08 03 A6 */ mtlr r0 +/* 800785A4 00075504 38 21 00 40 */ addi r1, r1, 0x40 +/* 800785A8 00075508 4E 80 00 20 */ blr + +.global GetOrbitPosition__10CPatternedCFRC13CStateManager +GetOrbitPosition__10CPatternedCFRC13CStateManager: +/* 800785AC 0007550C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800785B0 00075510 7C 08 02 A6 */ mflr r0 +/* 800785B4 00075514 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 800785B8 00075518 90 01 00 14 */ stw r0, 0x14(r1) +/* 800785BC 0007551C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800785C0 00075520 7C 7F 1B 78 */ mr r31, r3 +/* 800785C4 00075524 81 84 00 00 */ lwz r12, 0(r4) +/* 800785C8 00075528 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800785CC 0007552C 7D 89 03 A6 */ mtctr r12 +/* 800785D0 00075530 4E 80 04 21 */ bctrl +/* 800785D4 00075534 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800785D8 00075538 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800785DC 0007553C 7C 08 03 A6 */ mtlr r0 +/* 800785E0 00075540 38 21 00 10 */ addi r1, r1, 0x10 +/* 800785E4 00075544 4E 80 00 20 */ blr + +.global GetAimPosition__10CPatternedCFRC13CStateManagerf +GetAimPosition__10CPatternedCFRC13CStateManagerf: +/* 800785E8 00075548 94 21 FE 20 */ stwu r1, -0x1e0(r1) +/* 800785EC 0007554C 7C 08 02 A6 */ mflr r0 +/* 800785F0 00075550 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 800785F4 00075554 DB E1 01 D0 */ stfd f31, 0x1d0(r1) +/* 800785F8 00075558 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 +/* 800785FC 0007555C DB C1 01 C0 */ stfd f30, 0x1c0(r1) +/* 80078600 00075560 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 +/* 80078604 00075564 DB A1 01 B0 */ stfd f29, 0x1b0(r1) +/* 80078608 00075568 F3 A1 01 B8 */ psq_st f29, 440(r1), 0, qr0 +/* 8007860C 0007556C 93 E1 01 AC */ stw r31, 0x1ac(r1) +/* 80078610 00075570 93 C1 01 A8 */ stw r30, 0x1a8(r1) +/* 80078614 00075574 93 A1 01 A4 */ stw r29, 0x1a4(r1) +/* 80078618 00075578 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007861C 0007557C 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80078620 00075580 C7 E5 66 A0 */ lfsu f31, skZero3f@l(r5) +/* 80078624 00075584 7C 7D 1B 78 */ mr r29, r3 +/* 80078628 00075588 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007862C 0007558C 7C 9E 23 78 */ mr r30, r4 +/* 80078630 00075590 C3 C5 00 04 */ lfs f30, 4(r5) +/* 80078634 00075594 C3 A5 00 08 */ lfs f29, 8(r5) +/* 80078638 00075598 40 81 00 18 */ ble lbl_80078650 +/* 8007863C 0007559C 38 61 01 34 */ addi r3, r1, 0x134 +/* 80078640 000755A0 48 0A 36 71 */ bl PredictMotion__13CPhysicsActorCFf +/* 80078644 000755A4 C3 E1 01 34 */ lfs f31, 0x134(r1) +/* 80078648 000755A8 C3 C1 01 38 */ lfs f30, 0x138(r1) +/* 8007864C 000755AC C3 A1 01 3C */ lfs f29, 0x13c(r1) +lbl_80078650: +/* 80078650 000755B0 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 80078654 000755B4 3C 60 80 3D */ lis r3, lbl_803CD600@ha +/* 80078658 000755B8 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l +/* 8007865C 000755BC 38 61 00 80 */ addi r3, r1, 0x80 +/* 80078660 000755C0 83 E5 00 10 */ lwz r31, 0x10(r5) +/* 80078664 000755C4 38 84 00 07 */ addi r4, r4, 7 +/* 80078668 000755C8 4B F8 C6 51 */ bl string_l__4rstlFPCc +/* 8007866C 000755CC 7F E4 FB 78 */ mr r4, r31 +/* 80078670 000755D0 38 61 00 0C */ addi r3, r1, 0xc +/* 80078674 000755D4 38 A1 00 80 */ addi r5, r1, 0x80 +/* 80078678 000755D8 4B FB 61 C1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8007867C 000755DC 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80078680 000755E0 38 61 00 80 */ addi r3, r1, 0x80 +/* 80078684 000755E4 98 01 00 10 */ stb r0, 0x10(r1) +/* 80078688 000755E8 48 2C 54 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8007868C 000755EC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80078690 000755F0 28 00 00 FF */ cmplwi r0, 0xff +/* 80078694 000755F4 41 82 01 B4 */ beq lbl_80078848 +/* 80078698 000755F8 98 01 00 08 */ stb r0, 8(r1) +/* 8007869C 000755FC 7F E4 FB 78 */ mr r4, r31 +/* 800786A0 00075600 38 61 01 04 */ addi r3, r1, 0x104 +/* 800786A4 00075604 38 A1 00 08 */ addi r5, r1, 8 +/* 800786A8 00075608 38 C0 00 00 */ li r6, 0 +/* 800786AC 0007560C 4B FB 3B C9 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 800786B0 00075610 38 61 01 68 */ addi r3, r1, 0x168 +/* 800786B4 00075614 38 81 01 04 */ addi r4, r1, 0x104 +/* 800786B8 00075618 48 29 A4 BD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800786BC 0007561C 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 800786C0 00075620 7F C4 F3 78 */ mr r4, r30 +/* 800786C4 00075624 C0 01 01 94 */ lfs f0, 0x194(r1) +/* 800786C8 00075628 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800786CC 0007562C C0 25 00 08 */ lfs f1, 8(r5) +/* 800786D0 00075630 C0 65 00 04 */ lfs f3, 4(r5) +/* 800786D4 00075634 C0 41 01 84 */ lfs f2, 0x184(r1) +/* 800786D8 00075638 EC 81 00 32 */ fmuls f4, f1, f0 +/* 800786DC 0007563C C0 25 00 00 */ lfs f1, 0(r5) +/* 800786E0 00075640 C0 01 01 74 */ lfs f0, 0x174(r1) +/* 800786E4 00075644 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800786E8 00075648 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 800786EC 0007564C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800786F0 00075650 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 800786F4 00075654 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800786F8 00075658 81 9E 00 00 */ lwz r12, 0(r30) +/* 800786FC 0007565C 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80078700 00075660 7D 89 03 A6 */ mtctr r12 +/* 80078704 00075664 4E 80 04 21 */ bctrl +/* 80078708 00075668 88 61 00 E8 */ lbz r3, 0xe8(r1) +/* 8007870C 0007566C 38 00 00 00 */ li r0, 0 +/* 80078710 00075670 28 03 00 00 */ cmplwi r3, 0 +/* 80078714 00075674 98 01 00 E8 */ stb r0, 0xe8(r1) +/* 80078718 00075678 41 82 00 60 */ beq lbl_80078778 +/* 8007871C 0007567C 7F C4 F3 78 */ mr r4, r30 +/* 80078720 00075680 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80078724 00075684 81 9E 00 00 */ lwz r12, 0(r30) +/* 80078728 00075688 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8007872C 0007568C 7D 89 03 A6 */ mtctr r12 +/* 80078730 00075690 4E 80 04 21 */ bctrl +/* 80078734 00075694 38 61 00 68 */ addi r3, r1, 0x68 +/* 80078738 00075698 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8007873C 0007569C 38 A1 00 90 */ addi r5, r1, 0x90 +/* 80078740 000756A0 48 29 A3 A9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80078744 000756A4 38 61 00 74 */ addi r3, r1, 0x74 +/* 80078748 000756A8 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8007874C 000756AC 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80078750 000756B0 48 2B F1 25 */ bl ClampToBox__6CAABoxCFRC9CVector3f +/* 80078754 000756B4 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 80078758 000756B8 38 00 00 00 */ li r0, 0 +/* 8007875C 000756BC C0 21 00 78 */ lfs f1, 0x78(r1) +/* 80078760 000756C0 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80078764 000756C4 EF FF 10 2A */ fadds f31, f31, f2 +/* 80078768 000756C8 EF DE 08 2A */ fadds f30, f30, f1 +/* 8007876C 000756CC 98 01 00 CC */ stb r0, 0xcc(r1) +/* 80078770 000756D0 EF BD 00 2A */ fadds f29, f29, f0 +/* 80078774 000756D4 48 00 01 04 */ b lbl_80078878 +lbl_80078778: +/* 80078778 000756D8 7F C3 F3 78 */ mr r3, r30 +/* 8007877C 000756DC 48 0A 22 45 */ bl GetBaseBoundingBox__13CPhysicsActorCFv +/* 80078780 000756E0 7C 7F 1B 78 */ mr r31, r3 +/* 80078784 000756E4 7F C4 F3 78 */ mr r4, r30 +/* 80078788 000756E8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8007878C 000756EC 48 0A 1E A1 */ bl GetPrimitiveOffset__13CPhysicsActorCFv +/* 80078790 000756F0 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80078794 000756F4 7F C4 F3 78 */ mr r4, r30 +/* 80078798 000756F8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8007879C 000756FC 38 61 00 50 */ addi r3, r1, 0x50 +/* 800787A0 00075700 C0 7F 00 14 */ lfs f3, 0x14(r31) +/* 800787A4 00075704 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 800787A8 00075708 EC 81 00 2A */ fadds f4, f1, f0 +/* 800787AC 0007570C C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 800787B0 00075710 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 800787B4 00075714 EC 43 10 2A */ fadds f2, f3, f2 +/* 800787B8 00075718 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 800787BC 0007571C EC 01 00 2A */ fadds f0, f1, f0 +/* 800787C0 00075720 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800787C4 00075724 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800787C8 00075728 48 0A 1E 65 */ bl GetPrimitiveOffset__13CPhysicsActorCFv +/* 800787CC 0007572C C0 3F 00 04 */ lfs f1, 4(r31) +/* 800787D0 00075730 38 61 00 EC */ addi r3, r1, 0xec +/* 800787D4 00075734 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800787D8 00075738 38 81 00 5C */ addi r4, r1, 0x5c +/* 800787DC 0007573C C0 7F 00 08 */ lfs f3, 8(r31) +/* 800787E0 00075740 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800787E4 00075744 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 800787E8 00075748 EC 81 00 2A */ fadds f4, f1, f0 +/* 800787EC 0007574C C0 3F 00 00 */ lfs f1, 0(r31) +/* 800787F0 00075750 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800787F4 00075754 EC 43 10 2A */ fadds f2, f3, f2 +/* 800787F8 00075758 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 800787FC 0007575C EC 01 00 2A */ fadds f0, f1, f0 +/* 80078800 00075760 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80078804 00075764 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80078808 00075768 48 2B FD 01 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8007880C 0007576C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80078810 00075770 38 81 00 EC */ addi r4, r1, 0xec +/* 80078814 00075774 38 A1 00 90 */ addi r5, r1, 0x90 +/* 80078818 00075778 48 2B F0 5D */ bl ClampToBox__6CAABoxCFRC9CVector3f +/* 8007881C 0007577C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80078820 00075780 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80078824 00075784 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80078828 00075788 48 29 A2 C1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8007882C 0007578C C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80078830 00075790 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80078834 00075794 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80078838 00075798 EF FF 10 2A */ fadds f31, f31, f2 +/* 8007883C 0007579C EF DE 08 2A */ fadds f30, f30, f1 +/* 80078840 000757A0 EF BD 00 2A */ fadds f29, f29, f0 +/* 80078844 000757A4 48 00 00 34 */ b lbl_80078878 +lbl_80078848: +/* 80078848 000757A8 7F C4 F3 78 */ mr r4, r30 +/* 8007884C 000757AC 38 61 00 9C */ addi r3, r1, 0x9c +/* 80078850 000757B0 48 0A 20 DD */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80078854 000757B4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80078858 000757B8 38 81 00 9C */ addi r4, r1, 0x9c +/* 8007885C 000757BC 48 2B ED B1 */ bl GetCenterPoint__6CAABoxCFv +/* 80078860 000757C0 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80078864 000757C4 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80078868 000757C8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8007886C 000757CC EF FF 10 2A */ fadds f31, f31, f2 +/* 80078870 000757D0 EF DE 08 2A */ fadds f30, f30, f1 +/* 80078874 000757D4 EF BD 00 2A */ fadds f29, f29, f0 +lbl_80078878: +/* 80078878 000757D8 D3 FD 00 00 */ stfs f31, 0(r29) +/* 8007887C 000757DC D3 DD 00 04 */ stfs f30, 4(r29) +/* 80078880 000757E0 D3 BD 00 08 */ stfs f29, 8(r29) +/* 80078884 000757E4 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 +/* 80078888 000757E8 CB E1 01 D0 */ lfd f31, 0x1d0(r1) +/* 8007888C 000757EC E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 +/* 80078890 000757F0 CB C1 01 C0 */ lfd f30, 0x1c0(r1) +/* 80078894 000757F4 E3 A1 01 B8 */ psq_l f29, 440(r1), 0, qr0 +/* 80078898 000757F8 CB A1 01 B0 */ lfd f29, 0x1b0(r1) +/* 8007889C 000757FC 83 E1 01 AC */ lwz r31, 0x1ac(r1) +/* 800788A0 00075800 83 C1 01 A8 */ lwz r30, 0x1a8(r1) +/* 800788A4 00075804 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 800788A8 00075808 83 A1 01 A4 */ lwz r29, 0x1a4(r1) +/* 800788AC 0007580C 7C 08 03 A6 */ mtlr r0 +/* 800788B0 00075810 38 21 01 E0 */ addi r1, r1, 0x1e0 +/* 800788B4 00075814 4E 80 00 20 */ blr + +.global GetLctrTransform__10CPatternedCFRC6CSegId +GetLctrTransform__10CPatternedCFRC6CSegId: +/* 800788B8 00075818 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800788BC 0007581C 7C 08 02 A6 */ mflr r0 +/* 800788C0 00075820 38 C0 00 00 */ li r6, 0 +/* 800788C4 00075824 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800788C8 00075828 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 800788CC 0007582C 7C 9F 23 78 */ mr r31, r4 +/* 800788D0 00075830 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 800788D4 00075834 7C 7E 1B 78 */ mr r30, r3 +/* 800788D8 00075838 38 61 00 6C */ addi r3, r1, 0x6c +/* 800788DC 0007583C 80 84 00 64 */ lwz r4, 0x64(r4) +/* 800788E0 00075840 88 05 00 00 */ lbz r0, 0(r5) +/* 800788E4 00075844 38 A1 00 08 */ addi r5, r1, 8 +/* 800788E8 00075848 80 84 00 10 */ lwz r4, 0x10(r4) +/* 800788EC 0007584C 98 01 00 08 */ stb r0, 8(r1) +/* 800788F0 00075850 4B FB 39 85 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 800788F4 00075854 38 61 00 9C */ addi r3, r1, 0x9c +/* 800788F8 00075858 38 81 00 6C */ addi r4, r1, 0x6c +/* 800788FC 0007585C 48 29 A2 79 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80078900 00075860 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 80078904 00075864 38 61 00 18 */ addi r3, r1, 0x18 +/* 80078908 00075868 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 8007890C 0007586C 38 81 00 9C */ addi r4, r1, 0x9c +/* 80078910 00075870 C0 25 00 08 */ lfs f1, 8(r5) +/* 80078914 00075874 C0 65 00 04 */ lfs f3, 4(r5) +/* 80078918 00075878 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 8007891C 0007587C EC 81 00 32 */ fmuls f4, f1, f0 +/* 80078920 00075880 C0 25 00 00 */ lfs f1, 0(r5) +/* 80078924 00075884 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80078928 00075888 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8007892C 0007588C D0 81 00 14 */ stfs f4, 0x14(r1) +/* 80078930 00075890 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80078934 00075894 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80078938 00075898 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8007893C 0007589C 48 29 A7 B9 */ bl BuildMatrix3f__12CTransform4fCFv +/* 80078940 000758A0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80078944 000758A4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80078948 000758A8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8007894C 000758AC 48 29 A9 2D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80078950 000758B0 7C 65 1B 78 */ mr r5, r3 +/* 80078954 000758B4 7F C3 F3 78 */ mr r3, r30 +/* 80078958 000758B8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8007895C 000758BC 48 29 9F F5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80078960 000758C0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80078964 000758C4 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80078968 000758C8 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 8007896C 000758CC 7C 08 03 A6 */ mtlr r0 +/* 80078970 000758D0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80078974 000758D4 4E 80 00 20 */ blr + +.global "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 80078978 000758D8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8007897C 000758DC 7C 08 02 A6 */ mflr r0 +/* 80078980 000758E0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80078984 000758E4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80078988 000758E8 7C 9F 23 78 */ mr r31, r4 +/* 8007898C 000758EC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80078990 000758F0 7C 7E 1B 78 */ mr r30, r3 +/* 80078994 000758F4 38 61 00 08 */ addi r3, r1, 8 +/* 80078998 000758F8 4B FD A5 39 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8007899C 000758FC 7F C3 F3 78 */ mr r3, r30 +/* 800789A0 00075900 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800789A4 00075904 38 A1 00 08 */ addi r5, r1, 8 +/* 800789A8 00075908 48 29 9F A9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800789AC 0007590C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800789B0 00075910 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800789B4 00075914 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800789B8 00075918 7C 08 03 A6 */ mtlr r0 +/* 800789BC 0007591C 38 21 00 40 */ addi r1, r1, 0x40 +/* 800789C0 00075920 4E 80 00 20 */ blr + +.global GetContactDamage__10CPatternedCFv +GetContactDamage__10CPatternedCFv: +/* 800789C4 00075924 80 04 04 04 */ lwz r0, 0x404(r4) +/* 800789C8 00075928 90 03 00 00 */ stw r0, 0(r3) +/* 800789CC 0007592C 88 04 04 08 */ lbz r0, 0x408(r4) +/* 800789D0 00075930 98 03 00 04 */ stb r0, 4(r3) +/* 800789D4 00075934 C0 04 04 0C */ lfs f0, 0x40c(r4) +/* 800789D8 00075938 D0 03 00 08 */ stfs f0, 8(r3) +/* 800789DC 0007593C C0 04 04 10 */ lfs f0, 0x410(r4) +/* 800789E0 00075940 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800789E4 00075944 C0 04 04 14 */ lfs f0, 0x414(r4) +/* 800789E8 00075948 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800789EC 0007594C C0 04 04 18 */ lfs f0, 0x418(r4) +/* 800789F0 00075950 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 800789F4 00075954 88 04 04 1C */ lbz r0, 0x41c(r4) +/* 800789F8 00075958 98 03 00 18 */ stb r0, 0x18(r3) +/* 800789FC 0007595C 4E 80 00 20 */ blr + +.global DeathDelete__10CPatternedFR13CStateManager +DeathDelete__10CPatternedFR13CStateManager: +/* 80078A00 00075960 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80078A04 00075964 7C 08 02 A6 */ mflr r0 +/* 80078A08 00075968 38 C0 FF FF */ li r6, -1 +/* 80078A0C 0007596C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80078A10 00075970 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80078A14 00075974 7C 9F 23 78 */ mr r31, r4 +/* 80078A18 00075978 7F E5 FB 78 */ mr r5, r31 +/* 80078A1C 0007597C 38 80 00 0E */ li r4, 0xe +/* 80078A20 00075980 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80078A24 00075984 7C 7E 1B 78 */ mr r30, r3 +/* 80078A28 00075988 4B FD 86 99 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80078A2C 0007598C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80078A30 00075990 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 80078A34 00075994 C0 23 03 24 */ lfs f1, 0x324(r3) +/* 80078A38 00075998 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80078A3C 0007599C 40 81 00 1C */ ble lbl_80078A58 +/* 80078A40 000759A0 D0 1E 03 F0 */ stfs f0, 0x3f0(r30) +/* 80078A44 000759A4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80078A48 000759A8 48 0C 14 C5 */ bl StopElectrocution__15CBodyControllerFv +/* 80078A4C 000759AC 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 80078A50 000759B0 7F C4 F3 78 */ mr r4, r30 +/* 80078A54 000759B4 48 16 C6 FD */ bl StopElectric__20CActorModelParticlesFR5CActor +lbl_80078A58: +/* 80078A58 000759B8 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80078A5C 000759BC 7F E3 FB 78 */ mr r3, r31 +/* 80078A60 000759C0 38 81 00 0C */ addi r4, r1, 0xc +/* 80078A64 000759C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80078A68 000759C8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80078A6C 000759CC 4B FD 38 01 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80078A70 000759D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80078A74 000759D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80078A78 000759D8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80078A7C 000759DC 7C 08 03 A6 */ mtlr r0 +/* 80078A80 000759E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80078A84 000759E4 4E 80 00 20 */ blr + +.global CalcDyingThinkRate__10CPatternedFv +CalcDyingThinkRate__10CPatternedFv: +/* 80078A88 000759E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80078A8C 000759EC 7C 08 02 A6 */ mflr r0 +/* 80078A90 000759F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80078A94 000759F4 88 03 04 01 */ lbz r0, 0x401(r3) +/* 80078A98 000759F8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80078A9C 000759FC 41 82 00 14 */ beq lbl_80078AB0 +/* 80078AA0 00075A00 C0 23 03 F4 */ lfs f1, 0x3f4(r3) +/* 80078AA4 00075A04 C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) +/* 80078AA8 00075A08 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80078AAC 00075A0C 48 00 00 08 */ b lbl_80078AB4 +lbl_80078AB0: +/* 80078AB0 00075A10 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +lbl_80078AB4: +/* 80078AB4 00075A14 D0 01 00 08 */ stfs f0, 8(r1) +/* 80078AB8 00075A18 38 81 00 08 */ addi r4, r1, 8 +/* 80078ABC 00075A1C 38 62 88 F8 */ addi r3, r2, lbl_805AA618@sda21 +/* 80078AC0 00075A20 4B FD 6C 71 */ bl "Max__5CMathFRCfRCf" +/* 80078AC4 00075A24 C0 23 00 00 */ lfs f1, 0(r3) +/* 80078AC8 00075A28 D0 21 00 08 */ stfs f1, 8(r1) +/* 80078ACC 00075A2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80078AD0 00075A30 7C 08 03 A6 */ mtlr r0 +/* 80078AD4 00075A34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80078AD8 00075A38 4E 80 00 20 */ blr + +.global PhazeOut__10CPatternedFR13CStateManager +PhazeOut__10CPatternedFR13CStateManager: +/* 80078ADC 00075A3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80078AE0 00075A40 7C 08 02 A6 */ mflr r0 +/* 80078AE4 00075A44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80078AE8 00075A48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80078AEC 00075A4C 7C 7F 1B 78 */ mr r31, r3 +/* 80078AF0 00075A50 88 C3 04 00 */ lbz r6, 0x400(r3) +/* 80078AF4 00075A54 54 C0 E7 FF */ rlwinm. r0, r6, 0x1c, 0x1f, 0x1f +/* 80078AF8 00075A58 40 82 00 20 */ bne lbl_80078B18 +/* 80078AFC 00075A5C 38 00 00 01 */ li r0, 1 +/* 80078B00 00075A60 7C 85 23 78 */ mr r5, r4 +/* 80078B04 00075A64 50 06 26 F6 */ rlwimi r6, r0, 4, 0x1b, 0x1b +/* 80078B08 00075A68 38 80 00 14 */ li r4, 0x14 +/* 80078B0C 00075A6C 98 DF 04 00 */ stb r6, 0x400(r31) +/* 80078B10 00075A70 38 C0 FF FF */ li r6, -1 +/* 80078B14 00075A74 4B FD 85 AD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_80078B18: +/* 80078B18 00075A78 88 1F 04 01 */ lbz r0, 0x401(r31) +/* 80078B1C 00075A7C 38 60 00 01 */ li r3, 1 +/* 80078B20 00075A80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80078B24 00075A84 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 80078B28 00075A88 98 1F 04 01 */ stb r0, 0x401(r31) +/* 80078B2C 00075A8C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80078B30 00075A90 48 0C 1D 5D */ bl SetPlaybackRate__15CBodyControllerFf +/* 80078B34 00075A94 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80078B38 00075A98 38 80 00 00 */ li r4, 0 +/* 80078B3C 00075A9C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80078B40 00075AA0 88 03 01 D4 */ lbz r0, 0x1d4(r3) +/* 80078B44 00075AA4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80078B48 00075AA8 98 03 01 D4 */ stb r0, 0x1d4(r3) +/* 80078B4C 00075AAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80078B50 00075AB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80078B54 00075AB4 7C 08 03 A6 */ mtlr r0 +/* 80078B58 00075AB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80078B5C 00075ABC 4E 80 00 20 */ blr + +.global Freeze__10CPatternedFRC9CVector3f13CUnitVector3ff +Freeze__10CPatternedFRC9CVector3f13CUnitVector3ff: +/* 80078B60 00075AC0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80078B64 00075AC4 7C 08 02 A6 */ mflr r0 +/* 80078B68 00075AC8 90 01 00 44 */ stw r0, 0x44(r1) +/* 80078B6C 00075ACC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80078B70 00075AD0 7C 9F 23 78 */ mr r31, r4 +/* 80078B74 00075AD4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80078B78 00075AD8 7C 7E 1B 78 */ mr r30, r3 +/* 80078B7C 00075ADC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80078B80 00075AE0 7C BD 2B 78 */ mr r29, r5 +/* 80078B84 00075AE4 93 81 00 30 */ stw r28, 0x30(r1) +/* 80078B88 00075AE8 7C DC 33 78 */ mr r28, r6 +/* 80078B8C 00075AEC 88 63 04 02 */ lbz r3, 0x402(r3) +/* 80078B90 00075AF0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80078B94 00075AF4 41 82 00 10 */ beq lbl_80078BA4 +/* 80078B98 00075AF8 38 00 00 01 */ li r0, 1 +/* 80078B9C 00075AFC 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a +/* 80078BA0 00075B00 98 7E 04 02 */ stb r3, 0x402(r30) +lbl_80078BA4: +/* 80078BA4 00075B04 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80078BA8 00075B08 38 80 00 00 */ li r4, 0 +/* 80078BAC 00075B0C 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80078BB0 00075B10 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80078BB4 00075B14 41 82 00 28 */ beq lbl_80078BDC +/* 80078BB8 00075B18 FC 40 08 90 */ fmr f2, f1 +/* 80078BBC 00075B1C C0 3E 04 70 */ lfs f1, 0x470(r30) +/* 80078BC0 00075B20 C0 7E 04 F8 */ lfs f3, 0x4f8(r30) +/* 80078BC4 00075B24 48 0C 16 7D */ bl Freeze__15CBodyControllerFfff +/* 80078BC8 00075B28 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 80078BCC 00075B2C 7F C4 F3 78 */ mr r4, r30 +/* 80078BD0 00075B30 48 16 C6 C5 */ bl EnsureElectricLoaded__20CActorModelParticlesR5CActor +/* 80078BD4 00075B34 38 80 00 01 */ li r4, 1 +/* 80078BD8 00075B38 48 00 00 54 */ b lbl_80078C2C +lbl_80078BDC: +/* 80078BDC 00075B3C C0 03 03 24 */ lfs f0, 0x324(r3) +/* 80078BE0 00075B40 C0 42 89 08 */ lfs f2, lbl_805AA628@sda21(r2) +/* 80078BE4 00075B44 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80078BE8 00075B48 41 81 00 44 */ bgt lbl_80078C2C +/* 80078BEC 00075B4C C0 03 03 20 */ lfs f0, 0x320(r3) +/* 80078BF0 00075B50 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80078BF4 00075B54 41 81 00 38 */ bgt lbl_80078C2C +/* 80078BF8 00075B58 FC 40 08 90 */ fmr f2, f1 +/* 80078BFC 00075B5C C0 3E 04 F4 */ lfs f1, 0x4f4(r30) +/* 80078C00 00075B60 C0 7E 04 F8 */ lfs f3, 0x4f8(r30) +/* 80078C04 00075B64 48 0C 16 3D */ bl Freeze__15CBodyControllerFfff +/* 80078C08 00075B68 80 7E 05 10 */ lwz r3, 0x510(r30) +/* 80078C0C 00075B6C 80 63 00 00 */ lwz r3, 0(r3) +/* 80078C10 00075B70 28 03 00 00 */ cmplwi r3, 0 +/* 80078C14 00075B74 41 82 00 14 */ beq lbl_80078C28 +/* 80078C18 00075B78 C0 3E 04 F4 */ lfs f1, 0x4f4(r30) +/* 80078C1C 00075B7C 7F 84 E3 78 */ mr r4, r28 +/* 80078C20 00075B80 7F A5 EB 78 */ mr r5, r29 +/* 80078C24 00075B84 48 2D E8 BD */ bl Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff +lbl_80078C28: +/* 80078C28 00075B88 38 80 00 01 */ li r4, 1 +lbl_80078C2C: +/* 80078C2C 00075B8C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80078C30 00075B90 41 82 00 98 */ beq lbl_80078CC8 +/* 80078C34 00075B94 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80078C38 00075B98 3B A1 00 18 */ addi r29, r1, 0x18 +/* 80078C3C 00075B9C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80078C40 00075BA0 3B 80 00 00 */ li r28, 0 +/* 80078C44 00075BA4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80078C48 00075BA8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80078C4C 00075BAC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80078C50 00075BB0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80078C54 00075BB4 80 1E 04 60 */ lwz r0, 0x460(r30) +/* 80078C58 00075BB8 2C 00 00 00 */ cmpwi r0, 0 +/* 80078C5C 00075BBC 41 82 00 38 */ beq lbl_80078C94 +/* 80078C60 00075BC0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80078C64 00075BC4 7F E3 FB 78 */ mr r3, r31 +/* 80078C68 00075BC8 38 81 00 0C */ addi r4, r1, 0xc +/* 80078C6C 00075BCC B0 01 00 08 */ sth r0, 8(r1) +/* 80078C70 00075BD0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80078C74 00075BD4 4B FD 39 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80078C78 00075BD8 7C 64 1B 78 */ mr r4, r3 +/* 80078C7C 00075BDC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80078C80 00075BE0 48 02 C8 55 */ bl sub_800a54d4 +/* 80078C84 00075BE4 48 02 C8 25 */ bl "CastTo<8CMetroid>__10CPatternedFP7CEntity" +/* 80078C88 00075BE8 28 03 00 00 */ cmplwi r3, 0 +/* 80078C8C 00075BEC 41 82 00 08 */ beq lbl_80078C94 +/* 80078C90 00075BF0 3B 80 00 01 */ li r28, 1 +lbl_80078C94: +/* 80078C94 00075BF4 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80078C98 00075BF8 38 61 00 14 */ addi r3, r1, 0x14 +/* 80078C9C 00075BFC 38 80 07 08 */ li r4, 0x708 +/* 80078CA0 00075C00 41 82 00 08 */ beq lbl_80078CA8 +/* 80078CA4 00075C04 38 80 07 01 */ li r4, 0x701 +lbl_80078CA8: +/* 80078CA8 00075C08 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80078CAC 00075C0C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 80078CB0 00075C10 38 C5 66 A0 */ addi r6, r5, skZero3f@l +/* 80078CB4 00075C14 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80078CB8 00075C18 7F A5 EB 78 */ mr r5, r29 +/* 80078CBC 00075C1C 38 E0 00 01 */ li r7, 1 +/* 80078CC0 00075C20 39 00 00 00 */ li r8, 0 +/* 80078CC4 00075C24 48 27 15 ED */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +lbl_80078CC8: +/* 80078CC8 00075C28 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80078CCC 00075C2C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80078CD0 00075C30 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80078CD4 00075C34 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80078CD8 00075C38 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80078CDC 00075C3C 7C 08 03 A6 */ mtlr r0 +/* 80078CE0 00075C40 38 21 00 40 */ addi r1, r1, 0x40 +/* 80078CE4 00075C44 4E 80 00 20 */ blr + +.global Shock__10CPatternedFff +Shock__10CPatternedFff: +/* 80078CE8 00075C48 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80078CEC 00075C4C 7C 08 02 A6 */ mflr r0 +/* 80078CF0 00075C50 90 01 00 44 */ stw r0, 0x44(r1) +/* 80078CF4 00075C54 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80078CF8 00075C58 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80078CFC 00075C5C DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80078D00 00075C60 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80078D04 00075C64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80078D08 00075C68 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80078D0C 00075C6C 38 80 00 00 */ li r4, 0 +/* 80078D10 00075C70 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80078D14 00075C74 38 A0 00 02 */ li r5, 2 +/* 80078D18 00075C78 98 01 00 0C */ stb r0, 0xc(r1) +/* 80078D1C 00075C7C 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80078D20 00075C80 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80078D24 00075C84 FF C0 08 90 */ fmr f30, f1 +/* 80078D28 00075C88 98 01 00 0C */ stb r0, 0xc(r1) +/* 80078D2C 00075C8C 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80078D30 00075C90 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80078D34 00075C94 FF E0 10 90 */ fmr f31, f2 +/* 80078D38 00075C98 90 A1 00 08 */ stw r5, 8(r1) +/* 80078D3C 00075C9C 7C 7F 1B 78 */ mr r31, r3 +/* 80078D40 00075CA0 98 01 00 0C */ stb r0, 0xc(r1) +/* 80078D44 00075CA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80078D48 00075CA8 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80078D4C 00075CAC 7D 89 03 A6 */ mtctr r12 +/* 80078D50 00075CB0 4E 80 04 21 */ bctrl +/* 80078D54 00075CB4 38 81 00 08 */ addi r4, r1, 8 +/* 80078D58 00075CB8 38 A0 00 00 */ li r5, 0 +/* 80078D5C 00075CBC 48 08 97 61 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +/* 80078D60 00075CC0 2C 03 00 01 */ cmpwi r3, 1 +/* 80078D64 00075CC4 41 82 00 34 */ beq lbl_80078D98 +/* 80078D68 00075CC8 40 80 00 40 */ bge lbl_80078DA8 +/* 80078D6C 00075CCC 2C 03 00 00 */ cmpwi r3, 0 +/* 80078D70 00075CD0 40 80 00 08 */ bge lbl_80078D78 +/* 80078D74 00075CD4 48 00 00 34 */ b lbl_80078DA8 +lbl_80078D78: +/* 80078D78 00075CD8 C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) +/* 80078D7C 00075CDC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80078D80 00075CE0 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80078D84 00075CE4 48 0C 11 E9 */ bl SetElectrocuting__15CBodyControllerFf +/* 80078D88 00075CE8 C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) +/* 80078D8C 00075CEC EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80078D90 00075CF0 D0 1F 03 F0 */ stfs f0, 0x3f0(r31) +/* 80078D94 00075CF4 48 00 00 14 */ b lbl_80078DA8 +lbl_80078D98: +/* 80078D98 00075CF8 FC 20 F0 90 */ fmr f1, f30 +/* 80078D9C 00075CFC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80078DA0 00075D00 48 0C 11 CD */ bl SetElectrocuting__15CBodyControllerFf +/* 80078DA4 00075D04 D3 FF 03 F0 */ stfs f31, 0x3f0(r31) +lbl_80078DA8: +/* 80078DA8 00075D08 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80078DAC 00075D0C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80078DB0 00075D10 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80078DB4 00075D14 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80078DB8 00075D18 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80078DBC 00075D1C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80078DC0 00075D20 7C 08 03 A6 */ mtlr r0 +/* 80078DC4 00075D24 38 21 00 40 */ addi r1, r1, 0x40 +/* 80078DC8 00075D28 4E 80 00 20 */ blr + +.global Burn__10CPatternedFff +Burn__10CPatternedFff: +/* 80078DCC 00075D2C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80078DD0 00075D30 7C 08 02 A6 */ mflr r0 +/* 80078DD4 00075D34 90 01 00 44 */ stw r0, 0x44(r1) +/* 80078DD8 00075D38 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80078DDC 00075D3C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80078DE0 00075D40 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80078DE4 00075D44 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80078DE8 00075D48 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80078DEC 00075D4C 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80078DF0 00075D50 38 80 00 00 */ li r4, 0 +/* 80078DF4 00075D54 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80078DF8 00075D58 38 A0 00 03 */ li r5, 3 +/* 80078DFC 00075D5C 98 01 00 0C */ stb r0, 0xc(r1) +/* 80078E00 00075D60 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80078E04 00075D64 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80078E08 00075D68 FF C0 08 90 */ fmr f30, f1 +/* 80078E0C 00075D6C 98 01 00 0C */ stb r0, 0xc(r1) +/* 80078E10 00075D70 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80078E14 00075D74 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80078E18 00075D78 FF E0 10 90 */ fmr f31, f2 +/* 80078E1C 00075D7C 90 A1 00 08 */ stw r5, 8(r1) +/* 80078E20 00075D80 7C 7F 1B 78 */ mr r31, r3 +/* 80078E24 00075D84 98 01 00 0C */ stb r0, 0xc(r1) +/* 80078E28 00075D88 81 83 00 00 */ lwz r12, 0(r3) +/* 80078E2C 00075D8C 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80078E30 00075D90 7D 89 03 A6 */ mtctr r12 +/* 80078E34 00075D94 4E 80 04 21 */ bctrl +/* 80078E38 00075D98 38 81 00 08 */ addi r4, r1, 8 +/* 80078E3C 00075D9C 38 A0 00 00 */ li r5, 0 +/* 80078E40 00075DA0 48 08 96 7D */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +/* 80078E44 00075DA4 2C 03 00 01 */ cmpwi r3, 1 +/* 80078E48 00075DA8 41 82 00 34 */ beq lbl_80078E7C +/* 80078E4C 00075DAC 40 80 00 40 */ bge lbl_80078E8C +/* 80078E50 00075DB0 2C 03 00 00 */ cmpwi r3, 0 +/* 80078E54 00075DB4 40 80 00 08 */ bge lbl_80078E5C +/* 80078E58 00075DB8 48 00 00 34 */ b lbl_80078E8C +lbl_80078E5C: +/* 80078E5C 00075DBC C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) +/* 80078E60 00075DC0 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80078E64 00075DC4 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80078E68 00075DC8 48 0C 12 2D */ bl SetOnFire__15CBodyControllerFf +/* 80078E6C 00075DCC C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) +/* 80078E70 00075DD0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80078E74 00075DD4 D0 1F 03 EC */ stfs f0, 0x3ec(r31) +/* 80078E78 00075DD8 48 00 00 14 */ b lbl_80078E8C +lbl_80078E7C: +/* 80078E7C 00075DDC FC 20 F0 90 */ fmr f1, f30 +/* 80078E80 00075DE0 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80078E84 00075DE4 48 0C 12 11 */ bl SetOnFire__15CBodyControllerFf +/* 80078E88 00075DE8 D3 FF 03 EC */ stfs f31, 0x3ec(r31) +lbl_80078E8C: +/* 80078E8C 00075DEC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80078E90 00075DF0 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80078E94 00075DF4 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80078E98 00075DF8 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80078E9C 00075DFC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80078EA0 00075E00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80078EA4 00075E04 7C 08 03 A6 */ mtlr r0 +/* 80078EA8 00075E08 38 21 00 40 */ addi r1, r1, 0x40 +/* 80078EAC 00075E0C 4E 80 00 20 */ blr + +.global DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80078EB0 00075E10 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 80078EB4 00075E14 7C 08 02 A6 */ mflr r0 +/* 80078EB8 00075E18 90 01 02 84 */ stw r0, 0x284(r1) +/* 80078EBC 00075E1C DB E1 02 70 */ stfd f31, 0x270(r1) +/* 80078EC0 00075E20 F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 +/* 80078EC4 00075E24 DB C1 02 60 */ stfd f30, 0x260(r1) +/* 80078EC8 00075E28 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 +/* 80078ECC 00075E2C DB A1 02 50 */ stfd f29, 0x250(r1) +/* 80078ED0 00075E30 F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 +/* 80078ED4 00075E34 DB 81 02 40 */ stfd f28, 0x240(r1) +/* 80078ED8 00075E38 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 +/* 80078EDC 00075E3C 93 E1 02 3C */ stw r31, 0x23c(r1) +/* 80078EE0 00075E40 93 C1 02 38 */ stw r30, 0x238(r1) +/* 80078EE4 00075E44 93 A1 02 34 */ stw r29, 0x234(r1) +/* 80078EE8 00075E48 93 81 02 30 */ stw r28, 0x230(r1) +/* 80078EEC 00075E4C 7C DF 33 78 */ mr r31, r6 +/* 80078EF0 00075E50 FF E0 08 90 */ fmr f31, f1 +/* 80078EF4 00075E54 28 1F 00 18 */ cmplwi r31, 0x18 +/* 80078EF8 00075E58 7C 7C 1B 78 */ mr r28, r3 +/* 80078EFC 00075E5C 7C 9D 23 78 */ mr r29, r4 +/* 80078F00 00075E60 7C BE 2B 78 */ mr r30, r5 +/* 80078F04 00075E64 41 81 04 08 */ bgt lbl_8007930C +/* 80078F08 00075E68 3C A0 80 3E */ lis r5, lbl_803DA894@ha +/* 80078F0C 00075E6C 57 E0 10 3A */ slwi r0, r31, 2 +/* 80078F10 00075E70 38 A5 A8 94 */ addi r5, r5, lbl_803DA894@l +/* 80078F14 00075E74 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80078F18 00075E78 7C 09 03 A6 */ mtctr r0 +/* 80078F1C 00075E7C 4E 80 04 20 */ bctr +/* 80078F20 00075E80 7F 84 E3 78 */ mr r4, r28 +/* 80078F24 00075E84 38 61 01 94 */ addi r3, r1, 0x194 +/* 80078F28 00075E88 38 BE 00 3C */ addi r5, r30, 0x3c +/* 80078F2C 00075E8C 4B FF FA 4D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80078F30 00075E90 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 80078F34 00075E94 38 81 01 94 */ addi r4, r1, 0x194 +/* 80078F38 00075E98 48 29 9C 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80078F3C 00075E9C 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 80078F40 00075EA0 7F A5 EB 78 */ mr r5, r29 +/* 80078F44 00075EA4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80078F48 00075EA8 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 80078F4C 00075EAC 81 84 00 00 */ lwz r12, 0(r4) +/* 80078F50 00075EB0 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80078F54 00075EB4 7D 89 03 A6 */ mtctr r12 +/* 80078F58 00075EB8 4E 80 04 21 */ bctrl +/* 80078F5C 00075EBC C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80078F60 00075EC0 38 61 00 9C */ addi r3, r1, 0x9c +/* 80078F64 00075EC4 C0 41 00 AC */ lfs f2, 0xac(r1) +/* 80078F68 00075EC8 38 81 00 90 */ addi r4, r1, 0x90 +/* 80078F6C 00075ECC C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 80078F70 00075ED0 C0 61 02 20 */ lfs f3, 0x220(r1) +/* 80078F74 00075ED4 C0 81 02 10 */ lfs f4, 0x210(r1) +/* 80078F78 00075ED8 C0 A1 02 00 */ lfs f5, 0x200(r1) +/* 80078F7C 00075EDC EC 61 18 28 */ fsubs f3, f1, f3 +/* 80078F80 00075EE0 EC 82 20 28 */ fsubs f4, f2, f4 +/* 80078F84 00075EE4 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 80078F88 00075EE8 EC 00 28 28 */ fsubs f0, f0, f5 +/* 80078F8C 00075EEC C3 81 02 18 */ lfs f28, 0x218(r1) +/* 80078F90 00075EF0 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 80078F94 00075EF4 C3 A1 02 08 */ lfs f29, 0x208(r1) +/* 80078F98 00075EF8 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 80078F9C 00075EFC C3 C1 01 F8 */ lfs f30, 0x1f8(r1) +/* 80078FA0 00075F00 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 80078FA4 00075F04 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 80078FA8 00075F08 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 80078FAC 00075F0C 48 29 B8 A5 */ bl AsNormalized__9CVector3fCFv +/* 80078FB0 00075F10 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80078FB4 00075F14 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 80078FB8 00075F18 EC 3D 00 32 */ fmuls f1, f29, f0 +/* 80078FBC 00075F1C C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 80078FC0 00075F20 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 80078FC4 00075F24 EC 3E 08 BA */ fmadds f1, f30, f2, f1 +/* 80078FC8 00075F28 EC 3C 08 FA */ fmadds f1, f28, f3, f1 +/* 80078FCC 00075F2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80078FD0 00075F30 40 81 00 B8 */ ble lbl_80079088 +/* 80078FD4 00075F34 C0 41 02 00 */ lfs f2, 0x200(r1) +/* 80078FD8 00075F38 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80078FDC 00075F3C C0 21 02 10 */ lfs f1, 0x210(r1) +/* 80078FE0 00075F40 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80078FE4 00075F44 C0 01 02 20 */ lfs f0, 0x220(r1) +/* 80078FE8 00075F48 38 61 01 64 */ addi r3, r1, 0x164 +/* 80078FEC 00075F4C D0 41 00 84 */ stfs f2, 0x84(r1) +/* 80078FF0 00075F50 38 81 00 84 */ addi r4, r1, 0x84 +/* 80078FF4 00075F54 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 80078FF8 00075F58 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 80078FFC 00075F5C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80079000 00075F60 48 29 AB 11 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80079004 00075F64 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 80079008 00075F68 38 81 01 64 */ addi r4, r1, 0x164 +/* 8007900C 00075F6C 48 29 9B 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80079010 00075F70 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 80079014 00075F74 39 60 00 00 */ li r11, 0 +/* 80079018 00075F78 99 61 00 80 */ stb r11, 0x80(r1) +/* 8007901C 00075F7C 38 01 00 68 */ addi r0, r1, 0x68 +/* 80079020 00075F80 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) +/* 80079024 00075F84 7F 83 E3 78 */ mr r3, r28 +/* 80079028 00075F88 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8007902C 00075F8C 7F A5 EB 78 */ mr r5, r29 +/* 80079030 00075F90 38 81 01 C4 */ addi r4, r1, 0x1c4 +/* 80079034 00075F94 39 21 00 74 */ addi r9, r1, 0x74 +/* 80079038 00075F98 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8007903C 00075F9C 38 C0 00 01 */ li r6, 1 +/* 80079040 00075FA0 38 E0 00 00 */ li r7, 0 +/* 80079044 00075FA4 39 00 00 00 */ li r8, 0 +/* 80079048 00075FA8 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8007904C 00075FAC 91 61 00 08 */ stw r11, 8(r1) +/* 80079050 00075FB0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80079054 00075FB4 4B FF E9 A5 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 80079058 00075FB8 88 01 00 80 */ lbz r0, 0x80(r1) +/* 8007905C 00075FBC 28 00 00 00 */ cmplwi r0, 0 +/* 80079060 00075FC0 41 82 00 1C */ beq lbl_8007907C +/* 80079064 00075FC4 34 61 00 74 */ addic. r3, r1, 0x74 +/* 80079068 00075FC8 41 82 00 14 */ beq lbl_8007907C +/* 8007906C 00075FCC 28 03 00 00 */ cmplwi r3, 0 +/* 80079070 00075FD0 41 82 00 0C */ beq lbl_8007907C +/* 80079074 00075FD4 38 80 00 00 */ li r4, 0 +/* 80079078 00075FD8 48 2C 7D C9 */ bl __dt__6CTokenFv +lbl_8007907C: +/* 8007907C 00075FDC 38 00 00 00 */ li r0, 0 +/* 80079080 00075FE0 98 01 00 80 */ stb r0, 0x80(r1) +/* 80079084 00075FE4 48 00 02 88 */ b lbl_8007930C +lbl_80079088: +/* 80079088 00075FE8 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 8007908C 00075FEC 39 60 00 00 */ li r11, 0 +/* 80079090 00075FF0 99 61 00 64 */ stb r11, 0x64(r1) +/* 80079094 00075FF4 38 01 00 4C */ addi r0, r1, 0x4c +/* 80079098 00075FF8 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) +/* 8007909C 00075FFC 7F 83 E3 78 */ mr r3, r28 +/* 800790A0 00076000 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800790A4 00076004 7F A5 EB 78 */ mr r5, r29 +/* 800790A8 00076008 38 81 01 F4 */ addi r4, r1, 0x1f4 +/* 800790AC 0007600C 39 21 00 58 */ addi r9, r1, 0x58 +/* 800790B0 00076010 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800790B4 00076014 38 C0 00 01 */ li r6, 1 +/* 800790B8 00076018 38 E0 00 00 */ li r7, 0 +/* 800790BC 0007601C 39 00 00 00 */ li r8, 0 +/* 800790C0 00076020 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800790C4 00076024 91 61 00 08 */ stw r11, 8(r1) +/* 800790C8 00076028 90 01 00 0C */ stw r0, 0xc(r1) +/* 800790CC 0007602C 4B FF E9 2D */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 800790D0 00076030 88 01 00 64 */ lbz r0, 0x64(r1) +/* 800790D4 00076034 28 00 00 00 */ cmplwi r0, 0 +/* 800790D8 00076038 41 82 00 1C */ beq lbl_800790F4 +/* 800790DC 0007603C 34 61 00 58 */ addic. r3, r1, 0x58 +/* 800790E0 00076040 41 82 00 14 */ beq lbl_800790F4 +/* 800790E4 00076044 28 03 00 00 */ cmplwi r3, 0 +/* 800790E8 00076048 41 82 00 0C */ beq lbl_800790F4 +/* 800790EC 0007604C 38 80 00 00 */ li r4, 0 +/* 800790F0 00076050 48 2C 7D 51 */ bl __dt__6CTokenFv +lbl_800790F4: +/* 800790F4 00076054 38 00 00 00 */ li r0, 0 +/* 800790F8 00076058 98 01 00 64 */ stb r0, 0x64(r1) +/* 800790FC 0007605C 48 00 02 10 */ b lbl_8007930C +/* 80079100 00076060 80 DC 00 64 */ lwz r6, 0x64(r28) +/* 80079104 00076064 7F 84 E3 78 */ mr r4, r28 +/* 80079108 00076068 38 61 01 34 */ addi r3, r1, 0x134 +/* 8007910C 0007606C 38 BE 00 3C */ addi r5, r30, 0x3c +/* 80079110 00076070 C3 86 00 00 */ lfs f28, 0(r6) +/* 80079114 00076074 C3 A6 00 04 */ lfs f29, 4(r6) +/* 80079118 00076078 C3 C6 00 08 */ lfs f30, 8(r6) +/* 8007911C 0007607C 4B FD 9D E5 */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80079120 00076080 C0 41 01 60 */ lfs f2, 0x160(r1) +/* 80079124 00076084 38 61 00 40 */ addi r3, r1, 0x40 +/* 80079128 00076088 C0 21 01 50 */ lfs f1, 0x150(r1) +/* 8007912C 0007608C 38 9C 00 34 */ addi r4, r28, 0x34 +/* 80079130 00076090 C0 01 01 40 */ lfs f0, 0x140(r1) +/* 80079134 00076094 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 80079138 00076098 EC 3D 00 72 */ fmuls f1, f29, f1 +/* 8007913C 0007609C 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 80079140 000760A0 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80079144 000760A4 D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 80079148 000760A8 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 8007914C 000760AC D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80079150 000760B0 48 29 99 99 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80079154 000760B4 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 80079158 000760B8 38 61 01 1C */ addi r3, r1, 0x11c +/* 8007915C 000760BC C0 22 89 10 */ lfs f1, lbl_805AA630@sda21(r2) +/* 80079160 000760C0 38 81 00 34 */ addi r4, r1, 0x34 +/* 80079164 000760C4 ED 1D 00 32 */ fmuls f8, f29, f0 +/* 80079168 000760C8 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 8007916C 000760CC C0 41 00 40 */ lfs f2, 0x40(r1) +/* 80079170 000760D0 EC FC 00 32 */ fmuls f7, f28, f0 +/* 80079174 000760D4 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80079178 000760D8 ED 3E 00 72 */ fmuls f9, f30, f1 +/* 8007917C 000760DC EC C2 38 2A */ fadds f6, f2, f7 +/* 80079180 000760E0 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80079184 000760E4 EC A3 40 2A */ fadds f5, f3, f8 +/* 80079188 000760E8 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8007918C 000760EC EC 80 48 2A */ fadds f4, f0, f9 +/* 80079190 000760F0 D0 61 00 B8 */ stfs f3, 0xb8(r1) +/* 80079194 000760F4 EC 42 38 28 */ fsubs f2, f2, f7 +/* 80079198 000760F8 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 8007919C 000760FC EC 23 40 28 */ fsubs f1, f3, f8 +/* 800791A0 00076100 EC 00 48 28 */ fsubs f0, f0, f9 +/* 800791A4 00076104 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 800791A8 00076108 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 800791AC 0007610C D0 81 00 30 */ stfs f4, 0x30(r1) +/* 800791B0 00076110 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800791B4 00076114 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800791B8 00076118 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800791BC 0007611C 48 2B F3 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800791C0 00076120 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 800791C4 00076124 38 61 01 04 */ addi r3, r1, 0x104 +/* 800791C8 00076128 48 0A 17 65 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 800791CC 0007612C 38 61 01 1C */ addi r3, r1, 0x11c +/* 800791D0 00076130 38 81 01 04 */ addi r4, r1, 0x104 +/* 800791D4 00076134 48 2B E9 B1 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 800791D8 00076138 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800791DC 0007613C 41 82 01 30 */ beq lbl_8007930C +/* 800791E0 00076140 80 AD 83 E0 */ lwz r5, lbl_805A6FA0@sda21(r13) +/* 800791E4 00076144 38 60 00 00 */ li r3, 0 +/* 800791E8 00076148 38 80 00 01 */ li r4, 1 +/* 800791EC 0007614C 48 31 0D 09 */ bl __shl2i +/* 800791F0 00076150 38 A0 00 00 */ li r5, 0 +/* 800791F4 00076154 38 00 00 03 */ li r0, 3 +/* 800791F8 00076158 90 81 00 D4 */ stw r4, 0xd4(r1) +/* 800791FC 0007615C 7F 84 E3 78 */ mr r4, r28 +/* 80079200 00076160 90 61 00 D0 */ stw r3, 0xd0(r1) +/* 80079204 00076164 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80079208 00076168 90 A1 00 DC */ stw r5, 0xdc(r1) +/* 8007920C 0007616C 90 A1 00 D8 */ stw r5, 0xd8(r1) +/* 80079210 00076170 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80079214 00076174 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80079218 00076178 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8007921C 0007617C 80 BD 08 4C */ lwz r5, 0x84c(r29) +/* 80079220 00076180 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80079224 00076184 A0 A5 00 08 */ lhz r5, 8(r5) +/* 80079228 00076188 B0 A1 00 1C */ sth r5, 0x1c(r1) +/* 8007922C 0007618C A0 1C 00 08 */ lhz r0, 8(r28) +/* 80079230 00076190 B0 A1 00 18 */ sth r5, 0x18(r1) +/* 80079234 00076194 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80079238 00076198 81 9C 00 00 */ lwz r12, 0(r28) +/* 8007923C 0007619C B0 01 00 20 */ sth r0, 0x20(r1) +/* 80079240 000761A0 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80079244 000761A4 7D 89 03 A6 */ mtctr r12 +/* 80079248 000761A8 4E 80 04 21 */ bctrl +/* 8007924C 000761AC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80079250 000761B0 7F A3 EB 78 */ mr r3, r29 +/* 80079254 000761B4 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80079258 000761B8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8007925C 000761BC 38 81 00 24 */ addi r4, r1, 0x24 +/* 80079260 000761C0 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80079264 000761C4 38 E1 00 E8 */ addi r7, r1, 0xe8 +/* 80079268 000761C8 39 01 00 D0 */ addi r8, r1, 0xd0 +/* 8007926C 000761CC 4B FD 0E 35 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80079270 000761D0 48 00 00 9C */ b lbl_8007930C +/* 80079274 000761D4 88 BC 04 00 */ lbz r5, 0x400(r28) +/* 80079278 000761D8 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f +/* 8007927C 000761DC 40 82 00 54 */ bne lbl_800792D0 +/* 80079280 000761E0 54 A0 E7 FF */ rlwinm. r0, r5, 0x1c, 0x1f, 0x1f +/* 80079284 000761E4 40 82 00 1C */ bne lbl_800792A0 +/* 80079288 000761E8 C0 02 89 14 */ lfs f0, lbl_805AA634@sda21(r2) +/* 8007928C 000761EC 38 60 00 01 */ li r3, 1 +/* 80079290 000761F0 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) +/* 80079294 000761F4 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 80079298 000761F8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8007929C 000761FC 98 1C 04 00 */ stb r0, 0x400(r28) +lbl_800792A0: +/* 800792A0 00076200 7F 83 E3 78 */ mr r3, r28 +/* 800792A4 00076204 7F A8 EB 78 */ mr r8, r29 +/* 800792A8 00076208 38 80 00 21 */ li r4, 0x21 +/* 800792AC 0007620C 38 A0 00 13 */ li r5, 0x13 +/* 800792B0 00076210 38 C0 00 28 */ li r6, 0x28 +/* 800792B4 00076214 38 E0 00 29 */ li r7, 0x29 +/* 800792B8 00076218 4B FD AA 31 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 800792BC 0007621C 7F 83 E3 78 */ mr r3, r28 +/* 800792C0 00076220 7F A5 EB 78 */ mr r5, r29 +/* 800792C4 00076224 38 80 00 12 */ li r4, 0x12 +/* 800792C8 00076228 4B FD B0 89 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 800792CC 0007622C 48 00 00 40 */ b lbl_8007930C +lbl_800792D0: +/* 800792D0 00076230 4B FF F7 31 */ bl DeathDelete__10CPatternedFR13CStateManager +/* 800792D4 00076234 48 00 00 38 */ b lbl_8007930C +/* 800792D8 00076238 7F A7 EB 78 */ mr r7, r29 +/* 800792DC 0007623C 38 80 00 21 */ li r4, 0x21 +/* 800792E0 00076240 38 A0 00 28 */ li r5, 0x28 +/* 800792E4 00076244 38 C0 00 29 */ li r6, 0x29 +/* 800792E8 00076248 4B FD AB 05 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 800792EC 0007624C 48 00 00 20 */ b lbl_8007930C +/* 800792F0 00076250 7F A5 EB 78 */ mr r5, r29 +/* 800792F4 00076254 38 80 00 12 */ li r4, 0x12 +/* 800792F8 00076258 4B FD B0 59 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 800792FC 0007625C 48 00 00 10 */ b lbl_8007930C +/* 80079300 00076260 7F A5 EB 78 */ mr r5, r29 +/* 80079304 00076264 38 80 00 13 */ li r4, 0x13 +/* 80079308 00076268 4B FD AC 79 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8007930C: +/* 8007930C 0007626C FC 20 F8 90 */ fmr f1, f31 +/* 80079310 00076270 7F 83 E3 78 */ mr r3, r28 +/* 80079314 00076274 7F A4 EB 78 */ mr r4, r29 +/* 80079318 00076278 7F C5 F3 78 */ mr r5, r30 +/* 8007931C 0007627C 7F E6 FB 78 */ mr r6, r31 +/* 80079320 00076280 4B FD BE FD */ bl DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80079324 00076284 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 +/* 80079328 00076288 CB E1 02 70 */ lfd f31, 0x270(r1) +/* 8007932C 0007628C E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 +/* 80079330 00076290 CB C1 02 60 */ lfd f30, 0x260(r1) +/* 80079334 00076294 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 +/* 80079338 00076298 CB A1 02 50 */ lfd f29, 0x250(r1) +/* 8007933C 0007629C E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 +/* 80079340 000762A0 CB 81 02 40 */ lfd f28, 0x240(r1) +/* 80079344 000762A4 83 E1 02 3C */ lwz r31, 0x23c(r1) +/* 80079348 000762A8 83 C1 02 38 */ lwz r30, 0x238(r1) +/* 8007934C 000762AC 83 A1 02 34 */ lwz r29, 0x234(r1) +/* 80079350 000762B0 80 01 02 84 */ lwz r0, 0x284(r1) +/* 80079354 000762B4 83 81 02 30 */ lwz r28, 0x230(r1) +/* 80079358 000762B8 7C 08 03 A6 */ mtlr r0 +/* 8007935C 000762BC 38 21 02 80 */ addi r1, r1, 0x280 +/* 80079360 000762C0 4E 80 00 20 */ blr + +.global ThinkAboutMove__10CPatternedFf +ThinkAboutMove__10CPatternedFf: +/* 80079364 000762C4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80079368 000762C8 7C 08 02 A6 */ mflr r0 +/* 8007936C 000762CC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80079370 000762D0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80079374 000762D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80079378 000762D8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8007937C 000762DC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80079380 000762E0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80079384 000762E4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80079388 000762E8 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 8007938C 000762EC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 80079390 000762F0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80079394 000762F4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80079398 000762F8 7C 7E 1B 78 */ mr r30, r3 +/* 8007939C 000762FC 88 63 03 28 */ lbz r3, 0x328(r3) +/* 800793A0 00076300 FF E0 08 90 */ fmr f31, f1 +/* 800793A4 00076304 3B E0 00 01 */ li r31, 1 +/* 800793A8 00076308 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 800793AC 0007630C 40 82 00 2C */ bne lbl_800793D8 +/* 800793B0 00076310 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 800793B4 00076314 40 82 00 24 */ bne lbl_800793D8 +/* 800793B8 00076318 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800793BC 0007631C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800793C0 00076320 3B E0 00 00 */ li r31, 0 +/* 800793C4 00076324 D0 1E 03 10 */ stfs f0, 0x310(r30) +/* 800793C8 00076328 C0 03 00 04 */ lfs f0, 4(r3) +/* 800793CC 0007632C D0 1E 03 14 */ stfs f0, 0x314(r30) +/* 800793D0 00076330 C0 03 00 08 */ lfs f0, 8(r3) +/* 800793D4 00076334 D0 1E 03 18 */ stfs f0, 0x318(r30) +lbl_800793D8: +/* 800793D8 00076338 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800793DC 0007633C 41 82 01 38 */ beq lbl_80079514 +/* 800793E0 00076340 80 7E 03 9C */ lwz r3, 0x39c(r30) +/* 800793E4 00076344 80 1E 03 90 */ lwz r0, 0x390(r30) +/* 800793E8 00076348 7C 03 00 00 */ cmpw r3, r0 +/* 800793EC 0007634C 40 80 01 28 */ bge lbl_80079514 +/* 800793F0 00076350 C0 3E 03 1C */ lfs f1, 0x31c(r30) +/* 800793F4 00076354 C3 9E 00 58 */ lfs f28, 0x58(r30) +/* 800793F8 00076358 C3 BE 00 48 */ lfs f29, 0x48(r30) +/* 800793FC 0007635C EC 41 00 72 */ fmuls f2, f1, f1 +/* 80079400 00076360 C3 DE 00 38 */ lfs f30, 0x38(r30) +/* 80079404 00076364 C0 02 89 18 */ lfs f0, lbl_805AA638@sda21(r2) +/* 80079408 00076368 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8007940C 0007636C C0 3E 03 20 */ lfs f1, 0x320(r30) +/* 80079410 00076370 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80079414 00076374 EC 21 00 72 */ fmuls f1, f1, f1 +/* 80079418 00076378 C0 7E 03 24 */ lfs f3, 0x324(r30) +/* 8007941C 0007637C EC 22 08 2A */ fadds f1, f2, f1 +/* 80079420 00076380 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80079424 00076384 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80079428 00076388 EC 22 08 2A */ fadds f1, f2, f1 +/* 8007942C 0007638C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80079430 00076390 40 81 00 0C */ ble lbl_8007943C +/* 80079434 00076394 38 61 00 2C */ addi r3, r1, 0x2c +/* 80079438 00076398 48 29 B4 C1 */ bl Normalize__9CVector3fFv +lbl_8007943C: +/* 8007943C 0007639C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80079440 000763A0 80 1E 03 F8 */ lwz r0, 0x3f8(r30) +/* 80079444 000763A4 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 80079448 000763A8 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8007944C 000763AC C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80079450 000763B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80079454 000763B4 EC 1E 00 7A */ fmadds f0, f30, f1, f0 +/* 80079458 000763B8 EC 3C 00 BA */ fmadds f1, f28, f2, f0 +/* 8007945C 000763BC 41 82 00 60 */ beq lbl_800794BC +/* 80079460 000763C0 40 80 00 14 */ bge lbl_80079474 +/* 80079464 000763C4 2C 00 00 00 */ cmpwi r0, 0 +/* 80079468 000763C8 41 82 00 1C */ beq lbl_80079484 +/* 8007946C 000763CC 40 80 00 24 */ bge lbl_80079490 +/* 80079470 000763D0 48 00 00 A4 */ b lbl_80079514 +lbl_80079474: +/* 80079474 000763D4 2C 00 00 04 */ cmpwi r0, 4 +/* 80079478 000763D8 41 82 00 80 */ beq lbl_800794F8 +/* 8007947C 000763DC 40 80 00 98 */ bge lbl_80079514 +/* 80079480 000763E0 48 00 00 44 */ b lbl_800794C4 +lbl_80079484: +/* 80079484 000763E4 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 80079488 000763E8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007948C 000763EC 41 82 00 88 */ beq lbl_80079514 +lbl_80079490: +/* 80079490 000763F0 C0 02 89 1C */ lfs f0, lbl_805AA63C@sda21(r2) +/* 80079494 000763F4 3B E0 00 00 */ li r31, 0 +/* 80079498 000763F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007949C 000763FC 40 81 00 14 */ ble lbl_800794B0 +/* 800794A0 00076400 38 00 00 02 */ li r0, 2 +/* 800794A4 00076404 3B E0 00 01 */ li r31, 1 +/* 800794A8 00076408 90 1E 03 F8 */ stw r0, 0x3f8(r30) +/* 800794AC 0007640C 48 00 00 68 */ b lbl_80079514 +lbl_800794B0: +/* 800794B0 00076410 38 00 00 01 */ li r0, 1 +/* 800794B4 00076414 90 1E 03 F8 */ stw r0, 0x3f8(r30) +/* 800794B8 00076418 48 00 00 5C */ b lbl_80079514 +lbl_800794BC: +/* 800794BC 0007641C 38 00 00 03 */ li r0, 3 +/* 800794C0 00076420 90 1E 03 F8 */ stw r0, 0x3f8(r30) +lbl_800794C4: +/* 800794C4 00076424 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 800794C8 00076428 3B E0 00 01 */ li r31, 1 +/* 800794CC 0007642C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800794D0 00076430 40 82 00 10 */ bne lbl_800794E0 +/* 800794D4 00076434 38 00 00 00 */ li r0, 0 +/* 800794D8 00076438 90 1E 03 F8 */ stw r0, 0x3f8(r30) +/* 800794DC 0007643C 48 00 00 38 */ b lbl_80079514 +lbl_800794E0: +/* 800794E0 00076440 C0 02 89 20 */ lfs f0, lbl_805AA640@sda21(r2) +/* 800794E4 00076444 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800794E8 00076448 40 81 00 2C */ ble lbl_80079514 +/* 800794EC 0007644C 38 00 00 04 */ li r0, 4 +/* 800794F0 00076450 90 1E 03 F8 */ stw r0, 0x3f8(r30) +/* 800794F4 00076454 48 00 00 20 */ b lbl_80079514 +lbl_800794F8: +/* 800794F8 00076458 88 7E 03 28 */ lbz r3, 0x328(r30) +/* 800794FC 0007645C 38 00 00 01 */ li r0, 1 +/* 80079500 00076460 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 80079504 00076464 38 00 00 00 */ li r0, 0 +/* 80079508 00076468 98 7E 03 28 */ stb r3, 0x328(r30) +/* 8007950C 0007646C 3B E0 00 00 */ li r31, 0 +/* 80079510 00076470 90 1E 03 F8 */ stw r0, 0x3f8(r30) +lbl_80079514: +/* 80079514 00076474 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 80079518 00076478 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007951C 0007647C 40 82 00 E4 */ bne lbl_80079600 +/* 80079520 00076480 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80079524 00076484 41 82 00 DC */ beq lbl_80079600 +/* 80079528 00076488 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007952C 0007648C 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 80079530 00076490 48 0B AB 49 */ bl GetCurrentState__14CBodyStateInfoCFv +/* 80079534 00076494 81 83 00 00 */ lwz r12, 0(r3) +/* 80079538 00076498 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8007953C 0007649C 7D 89 03 A6 */ mtctr r12 +/* 80079540 000764A0 4E 80 04 21 */ bctrl +/* 80079544 000764A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80079548 000764A8 41 82 00 B8 */ beq lbl_80079600 +/* 8007954C 000764AC C0 5E 02 E4 */ lfs f2, 0x2e4(r30) +/* 80079550 000764B0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80079554 000764B4 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80079558 000764B8 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8007955C 000764BC C0 7E 02 E8 */ lfs f3, 0x2e8(r30) +/* 80079560 000764C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80079564 000764C4 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80079568 000764C8 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 8007956C 000764CC C0 5E 02 E0 */ lfs f2, 0x2e0(r30) +/* 80079570 000764D0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80079574 000764D4 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80079578 000764D8 C0 22 89 24 */ lfs f1, lbl_805AA644@sda21(r2) +/* 8007957C 000764DC EC 02 00 28 */ fsubs f0, f2, f0 +/* 80079580 000764E0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80079584 000764E4 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80079588 000764E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8007958C 000764EC 48 29 69 D9 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80079590 000764F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80079594 000764F4 40 82 00 6C */ bne lbl_80079600 +/* 80079598 000764F8 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 8007959C 000764FC FC 20 F8 90 */ fmr f1, f31 +/* 800795A0 00076500 C0 1E 04 3C */ lfs f0, 0x43c(r30) +/* 800795A4 00076504 7F C3 F3 78 */ mr r3, r30 +/* 800795A8 00076508 C0 E5 00 08 */ lfs f7, 8(r5) +/* 800795AC 0007650C 38 81 00 20 */ addi r4, r1, 0x20 +/* 800795B0 00076510 C1 25 00 00 */ lfs f9, 0(r5) +/* 800795B4 00076514 C1 05 00 04 */ lfs f8, 4(r5) +/* 800795B8 00076518 EC C7 00 32 */ fmuls f6, f7, f0 +/* 800795BC 0007651C C0 5E 04 38 */ lfs f2, 0x438(r30) +/* 800795C0 00076520 C0 1E 04 34 */ lfs f0, 0x434(r30) +/* 800795C4 00076524 C0 BE 05 64 */ lfs f5, 0x564(r30) +/* 800795C8 00076528 EC 88 00 B2 */ fmuls f4, f8, f2 +/* 800795CC 0007652C C0 7E 05 60 */ lfs f3, 0x560(r30) +/* 800795D0 00076530 EC 49 00 32 */ fmuls f2, f9, f0 +/* 800795D4 00076534 C0 1E 05 5C */ lfs f0, 0x55c(r30) +/* 800795D8 00076538 EC A6 01 72 */ fmuls f5, f6, f5 +/* 800795DC 0007653C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 800795E0 00076540 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800795E4 00076544 D1 21 00 08 */ stfs f9, 8(r1) +/* 800795E8 00076548 D1 01 00 0C */ stfs f8, 0xc(r1) +/* 800795EC 0007654C D0 E1 00 10 */ stfs f7, 0x10(r1) +/* 800795F0 00076550 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800795F4 00076554 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 800795F8 00076558 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 800795FC 0007655C 48 0A 18 7D */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff +lbl_80079600: +/* 80079600 00076560 FC 20 F8 90 */ fmr f1, f31 +/* 80079604 00076564 7F C3 F3 78 */ mr r3, r30 +/* 80079608 00076568 38 9E 04 40 */ addi r4, r30, 0x440 +/* 8007960C 0007656C 48 0A 18 09 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf +/* 80079610 00076570 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80079614 00076574 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80079618 00076578 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8007961C 0007657C CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80079620 00076580 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80079624 00076584 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80079628 00076588 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8007962C 0007658C CB 81 00 40 */ lfd f28, 0x40(r1) +/* 80079630 00076590 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80079634 00076594 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80079638 00076598 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8007963C 0007659C 7C 08 03 A6 */ mtlr r0 +/* 80079640 000765A0 38 21 00 80 */ addi r1, r1, 0x80 +/* 80079644 000765A4 4E 80 00 20 */ blr + +.global ApplyAnimationDeltas__10CBodyStateCFv +ApplyAnimationDeltas__10CBodyStateCFv: +/* 80079648 000765A8 38 60 00 01 */ li r3, 1 +/* 8007964C 000765AC 4E 80 00 20 */ blr + +.global CollidedWith__10CPatternedFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +CollidedWith__10CPatternedFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: +/* 80079650 000765B0 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80079654 000765B4 7C 08 02 A6 */ mflr r0 +/* 80079658 000765B8 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007965C 000765BC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80079660 000765C0 BF 41 00 A8 */ stmw r26, 0xa8(r1) +/* 80079664 000765C4 7C 7A 1B 78 */ mr r26, r3 +/* 80079668 000765C8 7C 9B 23 78 */ mr r27, r4 +/* 8007966C 000765CC 7C BC 2B 78 */ mr r28, r5 +/* 80079670 000765D0 7C DD 33 78 */ mr r29, r6 +/* 80079674 000765D4 C0 23 04 20 */ lfs f1, 0x420(r3) +/* 80079678 000765D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007967C 000765DC 4C 40 13 82 */ cror 2, 0, 2 +/* 80079680 000765E0 40 82 02 14 */ bne lbl_80079894 +/* 80079684 000765E4 A0 1B 00 00 */ lhz r0, 0(r27) +/* 80079688 000765E8 7F A3 EB 78 */ mr r3, r29 +/* 8007968C 000765EC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80079690 000765F0 B0 01 00 38 */ sth r0, 0x38(r1) +/* 80079694 000765F4 4B FD 2E E1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80079698 000765F8 7C 64 1B 78 */ mr r4, r3 +/* 8007969C 000765FC 38 61 00 3C */ addi r3, r1, 0x3c +/* 800796A0 00076600 48 03 2C F5 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 800796A4 00076604 83 E3 00 04 */ lwz r31, 4(r3) +/* 800796A8 00076608 28 1F 00 00 */ cmplwi r31, 0 +/* 800796AC 0007660C 41 82 01 E8 */ beq lbl_80079894 +/* 800796B0 00076610 C0 3F 02 A8 */ lfs f1, 0x2a8(r31) +/* 800796B4 00076614 3B C0 00 00 */ li r30, 0 +/* 800796B8 00076618 C0 02 89 28 */ lfs f0, lbl_805AA648@sda21(r2) +/* 800796BC 0007661C 7F C3 F3 78 */ mr r3, r30 +/* 800796C0 00076620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800796C4 00076624 40 80 00 14 */ bge lbl_800796D8 +/* 800796C8 00076628 80 1C 00 00 */ lwz r0, 0(r28) +/* 800796CC 0007662C 2C 00 00 00 */ cmpwi r0, 0 +/* 800796D0 00076630 41 82 00 08 */ beq lbl_800796D8 +/* 800796D4 00076634 38 60 00 01 */ li r3, 1 +lbl_800796D8: +/* 800796D8 00076638 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800796DC 0007663C 41 82 00 18 */ beq lbl_800796F4 +/* 800796E0 00076640 C0 3C 00 54 */ lfs f1, 0x54(r28) +/* 800796E4 00076644 C0 02 89 2C */ lfs f0, lbl_805AA64C@sda21(r2) +/* 800796E8 00076648 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800796EC 0007664C 40 81 00 08 */ ble lbl_800796F4 +/* 800796F0 00076650 3B C0 00 01 */ li r30, 1 +lbl_800796F4: +/* 800796F4 00076654 88 1A 04 00 */ lbz r0, 0x400(r26) +/* 800796F8 00076658 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800796FC 0007665C 40 82 00 0C */ bne lbl_80079708 +/* 80079700 00076660 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80079704 00076664 41 82 01 90 */ beq lbl_80079894 +lbl_80079708: +/* 80079708 00076668 7F 44 D3 78 */ mr r4, r26 +/* 8007970C 0007666C 38 61 00 68 */ addi r3, r1, 0x68 +/* 80079710 00076670 81 9A 00 00 */ lwz r12, 0(r26) +/* 80079714 00076674 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80079718 00076678 7D 89 03 A6 */ mtctr r12 +/* 8007971C 0007667C 4E 80 04 21 */ bctrl +/* 80079720 00076680 80 81 00 68 */ lwz r4, 0x68(r1) +/* 80079724 00076684 88 61 00 6C */ lbz r3, 0x6c(r1) +/* 80079728 00076688 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 8007972C 0007668C C0 41 00 74 */ lfs f2, 0x74(r1) +/* 80079730 00076690 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 80079734 00076694 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80079738 00076698 88 01 00 80 */ lbz r0, 0x80(r1) +/* 8007973C 0007669C 90 81 00 84 */ stw r4, 0x84(r1) +/* 80079740 000766A0 98 61 00 88 */ stb r3, 0x88(r1) +/* 80079744 000766A4 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 80079748 000766A8 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8007974C 000766AC D0 21 00 94 */ stfs f1, 0x94(r1) +/* 80079750 000766B0 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80079754 000766B4 98 01 00 9C */ stb r0, 0x9c(r1) +/* 80079758 000766B8 88 1A 04 00 */ lbz r0, 0x400(r26) +/* 8007975C 000766BC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80079760 000766C0 41 82 00 14 */ beq lbl_80079774 +/* 80079764 000766C4 80 7A 04 50 */ lwz r3, 0x450(r26) +/* 80079768 000766C8 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8007976C 000766CC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80079770 000766D0 41 82 00 0C */ beq lbl_8007977C +lbl_80079774: +/* 80079774 000766D4 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 80079778 000766D8 D0 01 00 8C */ stfs f0, 0x8c(r1) +lbl_8007977C: +/* 8007977C 000766DC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80079780 000766E0 41 82 00 7C */ beq lbl_800797FC +/* 80079784 000766E4 C0 5F 01 40 */ lfs f2, 0x140(r31) +/* 80079788 000766E8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 8007978C 000766EC C0 3F 01 3C */ lfs f1, 0x13c(r31) +/* 80079790 000766F0 39 03 FD 18 */ addi r8, r3, lbl_8059FD18@l +/* 80079794 000766F4 C0 1F 01 38 */ lfs f0, 0x138(r31) +/* 80079798 000766F8 FC 40 10 50 */ fneg f2, f2 +/* 8007979C 000766FC FC 20 08 50 */ fneg f1, f1 +/* 800797A0 00076700 7F A3 EB 78 */ mr r3, r29 +/* 800797A4 00076704 FC 00 00 50 */ fneg f0, f0 +/* 800797A8 00076708 38 81 00 34 */ addi r4, r1, 0x34 +/* 800797AC 0007670C D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800797B0 00076710 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800797B4 00076714 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800797B8 00076718 38 C1 00 24 */ addi r6, r1, 0x24 +/* 800797BC 0007671C 38 E1 00 84 */ addi r7, r1, 0x84 +/* 800797C0 00076720 39 21 00 44 */ addi r9, r1, 0x44 +/* 800797C4 00076724 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800797C8 00076728 A0 1A 00 08 */ lhz r0, 8(r26) +/* 800797CC 0007672C B0 01 00 24 */ sth r0, 0x24(r1) +/* 800797D0 00076730 A1 5F 00 08 */ lhz r10, 8(r31) +/* 800797D4 00076734 B0 01 00 20 */ sth r0, 0x20(r1) +/* 800797D8 00076738 B1 41 00 2C */ sth r10, 0x2c(r1) +/* 800797DC 0007673C A0 1A 00 08 */ lhz r0, 8(r26) +/* 800797E0 00076740 B1 41 00 28 */ sth r10, 0x28(r1) +/* 800797E4 00076744 B0 01 00 30 */ sth r0, 0x30(r1) +/* 800797E8 00076748 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800797EC 0007674C 4B FD 08 B5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 800797F0 00076750 C0 02 89 30 */ lfs f0, lbl_805AA650@sda21(r2) +/* 800797F4 00076754 D0 1F 02 A8 */ stfs f0, 0x2a8(r31) +/* 800797F8 00076758 48 00 00 94 */ b lbl_8007988C +lbl_800797FC: +/* 800797FC 0007675C 88 1A 04 00 */ lbz r0, 0x400(r26) +/* 80079800 00076760 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80079804 00076764 41 82 00 88 */ beq lbl_8007988C +/* 80079808 00076768 80 7A 04 50 */ lwz r3, 0x450(r26) +/* 8007980C 0007676C 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80079810 00076770 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80079814 00076774 40 82 00 78 */ bne lbl_8007988C +/* 80079818 00076778 80 AD 83 E0 */ lwz r5, lbl_805A6FA0@sda21(r13) +/* 8007981C 0007677C 38 60 00 00 */ li r3, 0 +/* 80079820 00076780 38 80 00 01 */ li r4, 1 +/* 80079824 00076784 48 31 06 D1 */ bl __shl2i +/* 80079828 00076788 39 40 00 00 */ li r10, 0 +/* 8007982C 0007678C 38 00 00 03 */ li r0, 3 +/* 80079830 00076790 90 81 00 54 */ stw r4, 0x54(r1) +/* 80079834 00076794 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80079838 00076798 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8007983C 0007679C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80079840 000767A0 90 61 00 50 */ stw r3, 0x50(r1) +/* 80079844 000767A4 38 81 00 1C */ addi r4, r1, 0x1c +/* 80079848 000767A8 7F A3 EB 78 */ mr r3, r29 +/* 8007984C 000767AC 38 C1 00 0C */ addi r6, r1, 0xc +/* 80079850 000767B0 91 41 00 5C */ stw r10, 0x5c(r1) +/* 80079854 000767B4 38 E1 00 84 */ addi r7, r1, 0x84 +/* 80079858 000767B8 39 01 00 50 */ addi r8, r1, 0x50 +/* 8007985C 000767BC 91 41 00 58 */ stw r10, 0x58(r1) +/* 80079860 000767C0 90 01 00 60 */ stw r0, 0x60(r1) +/* 80079864 000767C4 A0 1A 00 08 */ lhz r0, 8(r26) +/* 80079868 000767C8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8007986C 000767CC A1 5F 00 08 */ lhz r10, 8(r31) +/* 80079870 000767D0 B0 01 00 08 */ sth r0, 8(r1) +/* 80079874 000767D4 B1 41 00 14 */ sth r10, 0x14(r1) +/* 80079878 000767D8 A0 1A 00 08 */ lhz r0, 8(r26) +/* 8007987C 000767DC B1 41 00 10 */ sth r10, 0x10(r1) +/* 80079880 000767E0 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80079884 000767E4 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80079888 000767E8 4B FD 08 19 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_8007988C: +/* 8007988C 000767EC C0 1A 04 24 */ lfs f0, 0x424(r26) +/* 80079890 000767F0 D0 1A 04 20 */ stfs f0, 0x420(r26) +lbl_80079894: +/* 80079894 000767F4 88 0D A2 70 */ lbz r0, lbl_805A8E30@sda21(r13) +/* 80079898 000767F8 7C 00 07 75 */ extsb. r0, r0 +/* 8007989C 000767FC 40 82 00 E0 */ bne lbl_8007997C +/* 800798A0 00076800 38 00 00 00 */ li r0, 0 +/* 800798A4 00076804 80 AD 84 1C */ lwz r5, lbl_805A6FDC@sda21(r13) +/* 800798A8 00076808 90 0D A2 7C */ stw r0, lbl_805A8E3C@sda21(r13) +/* 800798AC 0007680C 38 60 00 00 */ li r3, 0 +/* 800798B0 00076810 38 80 00 01 */ li r4, 1 +/* 800798B4 00076814 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) +/* 800798B8 00076818 48 31 06 3D */ bl __shl2i +/* 800798BC 0007681C 80 0D A2 78 */ lwz r0, lbl_805A8E38@sda21(r13) +/* 800798C0 00076820 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) +/* 800798C4 00076824 7C 00 1B 78 */ or r0, r0, r3 +/* 800798C8 00076828 80 AD 84 20 */ lwz r5, lbl_805A6FE0@sda21(r13) +/* 800798CC 0007682C 7C C4 23 78 */ or r4, r6, r4 +/* 800798D0 00076830 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) +/* 800798D4 00076834 38 60 00 00 */ li r3, 0 +/* 800798D8 00076838 90 8D A2 7C */ stw r4, lbl_805A8E3C@sda21(r13) +/* 800798DC 0007683C 38 80 00 01 */ li r4, 1 +/* 800798E0 00076840 48 31 06 15 */ bl __shl2i +/* 800798E4 00076844 80 0D A2 78 */ lwz r0, lbl_805A8E38@sda21(r13) +/* 800798E8 00076848 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) +/* 800798EC 0007684C 7C 00 1B 78 */ or r0, r0, r3 +/* 800798F0 00076850 80 AD 84 24 */ lwz r5, lbl_805A6FE4@sda21(r13) +/* 800798F4 00076854 7C C4 23 78 */ or r4, r6, r4 +/* 800798F8 00076858 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) +/* 800798FC 0007685C 38 60 00 00 */ li r3, 0 +/* 80079900 00076860 90 8D A2 7C */ stw r4, lbl_805A8E3C@sda21(r13) +/* 80079904 00076864 38 80 00 01 */ li r4, 1 +/* 80079908 00076868 48 31 05 ED */ bl __shl2i +/* 8007990C 0007686C 80 0D A2 78 */ lwz r0, lbl_805A8E38@sda21(r13) +/* 80079910 00076870 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) +/* 80079914 00076874 7C 00 1B 78 */ or r0, r0, r3 +/* 80079918 00076878 80 AD 84 28 */ lwz r5, lbl_805A6FE8@sda21(r13) +/* 8007991C 0007687C 7C C4 23 78 */ or r4, r6, r4 +/* 80079920 00076880 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) +/* 80079924 00076884 38 60 00 00 */ li r3, 0 +/* 80079928 00076888 90 8D A2 7C */ stw r4, lbl_805A8E3C@sda21(r13) +/* 8007992C 0007688C 38 80 00 01 */ li r4, 1 +/* 80079930 00076890 48 31 05 C5 */ bl __shl2i +/* 80079934 00076894 80 0D A2 78 */ lwz r0, lbl_805A8E38@sda21(r13) +/* 80079938 00076898 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) +/* 8007993C 0007689C 7C 00 1B 78 */ or r0, r0, r3 +/* 80079940 000768A0 80 AD 84 2C */ lwz r5, lbl_805A6FEC@sda21(r13) +/* 80079944 000768A4 7C C4 23 78 */ or r4, r6, r4 +/* 80079948 000768A8 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) +/* 8007994C 000768AC 38 60 00 00 */ li r3, 0 +/* 80079950 000768B0 90 8D A2 7C */ stw r4, lbl_805A8E3C@sda21(r13) +/* 80079954 000768B4 38 80 00 01 */ li r4, 1 +/* 80079958 000768B8 48 31 05 9D */ bl __shl2i +/* 8007995C 000768BC 80 AD A2 78 */ lwz r5, lbl_805A8E38@sda21(r13) +/* 80079960 000768C0 38 00 00 01 */ li r0, 1 +/* 80079964 000768C4 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) +/* 80079968 000768C8 7C A3 1B 78 */ or r3, r5, r3 +/* 8007996C 000768CC 98 0D A2 70 */ stb r0, lbl_805A8E30@sda21(r13) +/* 80079970 000768D0 7C C0 23 78 */ or r0, r6, r4 +/* 80079974 000768D4 90 0D A2 7C */ stw r0, lbl_805A8E3C@sda21(r13) +/* 80079978 000768D8 90 6D A2 78 */ stw r3, lbl_805A8E38@sda21(r13) +lbl_8007997C: +/* 8007997C 000768DC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80079980 000768E0 38 BC 00 04 */ addi r5, r28, 4 +/* 80079984 000768E4 80 CD A2 78 */ lwz r6, lbl_805A8E38@sda21(r13) +/* 80079988 000768E8 80 ED A2 7C */ lwz r7, lbl_805A8E3C@sda21(r13) +/* 8007998C 000768EC 7C 09 03 A6 */ mtctr r0 +/* 80079990 000768F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80079994 000768F4 40 81 00 E4 */ ble lbl_80079A78 +lbl_80079998: +/* 80079998 000768F8 81 05 00 38 */ lwz r8, 0x38(r5) +/* 8007999C 000768FC 38 80 00 00 */ li r4, 0 +/* 800799A0 00076900 81 25 00 3C */ lwz r9, 0x3c(r5) +/* 800799A4 00076904 7C C0 40 38 */ and r0, r6, r8 +/* 800799A8 00076908 7C E3 48 38 */ and r3, r7, r9 +/* 800799AC 0007690C 7C 63 22 78 */ xor r3, r3, r4 +/* 800799B0 00076910 7C 00 22 78 */ xor r0, r0, r4 +/* 800799B4 00076914 7C 60 03 79 */ or. r0, r3, r0 +/* 800799B8 00076918 41 82 00 08 */ beq lbl_800799C0 +/* 800799BC 0007691C 38 80 00 01 */ li r4, 1 +lbl_800799C0: +/* 800799C0 00076920 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800799C4 00076924 41 82 00 AC */ beq lbl_80079A70 +/* 800799C8 00076928 3C 00 80 00 */ lis r0, 0x8000 +/* 800799CC 0007692C 38 80 00 00 */ li r4, 0 +/* 800799D0 00076930 7D 23 00 38 */ and r3, r9, r0 +/* 800799D4 00076934 7D 00 20 38 */ and r0, r8, r4 +/* 800799D8 00076938 7C 63 22 78 */ xor r3, r3, r4 +/* 800799DC 0007693C 7C 00 22 78 */ xor r0, r0, r4 +/* 800799E0 00076940 7C 60 03 79 */ or. r0, r3, r0 +/* 800799E4 00076944 41 82 00 14 */ beq lbl_800799F8 +/* 800799E8 00076948 88 1A 04 00 */ lbz r0, 0x400(r26) +/* 800799EC 0007694C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800799F0 00076950 41 82 00 80 */ beq lbl_80079A70 +/* 800799F4 00076954 48 00 00 68 */ b lbl_80079A5C +lbl_800799F8: +/* 800799F8 00076958 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 800799FC 0007695C C0 BA 03 10 */ lfs f5, 0x310(r26) +/* 80079A00 00076960 FC 01 28 00 */ fcmpu cr0, f1, f5 +/* 80079A04 00076964 40 82 00 1C */ bne lbl_80079A20 +/* 80079A08 00076968 C0 1A 03 14 */ lfs f0, 0x314(r26) +/* 80079A0C 0007696C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80079A10 00076970 40 82 00 10 */ bne lbl_80079A20 +/* 80079A14 00076974 C0 1A 03 18 */ lfs f0, 0x318(r26) +/* 80079A18 00076978 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80079A1C 0007697C 41 82 00 08 */ beq lbl_80079A24 +lbl_80079A20: +/* 80079A20 00076980 38 80 00 01 */ li r4, 1 +lbl_80079A24: +/* 80079A24 00076984 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80079A28 00076988 41 82 00 34 */ beq lbl_80079A5C +/* 80079A2C 0007698C C0 25 00 4C */ lfs f1, 0x4c(r5) +/* 80079A30 00076990 C0 1A 03 14 */ lfs f0, 0x314(r26) +/* 80079A34 00076994 C0 45 00 48 */ lfs f2, 0x48(r5) +/* 80079A38 00076998 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80079A3C 0007699C C0 85 00 50 */ lfs f4, 0x50(r5) +/* 80079A40 000769A0 C0 7A 03 18 */ lfs f3, 0x318(r26) +/* 80079A44 000769A4 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 80079A48 000769A8 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 80079A4C 000769AC EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80079A50 000769B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80079A54 000769B4 4C 41 13 82 */ cror 2, 1, 2 +/* 80079A58 000769B8 41 82 00 18 */ beq lbl_80079A70 +lbl_80079A5C: +/* 80079A5C 000769BC 88 1A 03 28 */ lbz r0, 0x328(r26) +/* 80079A60 000769C0 38 60 00 01 */ li r3, 1 +/* 80079A64 000769C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80079A68 000769C8 98 1A 03 28 */ stb r0, 0x328(r26) +/* 80079A6C 000769CC 48 00 00 20 */ b lbl_80079A8C +lbl_80079A70: +/* 80079A70 000769D0 38 A5 00 60 */ addi r5, r5, 0x60 +/* 80079A74 000769D4 42 00 FF 24 */ bdnz lbl_80079998 +lbl_80079A78: +/* 80079A78 000769D8 7F 43 D3 78 */ mr r3, r26 +/* 80079A7C 000769DC 7F 64 DB 78 */ mr r4, r27 +/* 80079A80 000769E0 7F 85 E3 78 */ mr r5, r28 +/* 80079A84 000769E4 7F A6 EB 78 */ mr r6, r29 +/* 80079A88 000769E8 48 0A 0F 41 */ bl CollidedWith__13CPhysicsActorFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +lbl_80079A8C: +/* 80079A8C 000769EC BB 41 00 A8 */ lmw r26, 0xa8(r1) +/* 80079A90 000769F0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80079A94 000769F4 7C 08 03 A6 */ mtlr r0 +/* 80079A98 000769F8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80079A9C 000769FC 4E 80 00 20 */ blr + +.global Touch__10CPatternedFR6CActorR13CStateManager +Touch__10CPatternedFR6CActorR13CStateManager: +/* 80079AA0 00076A00 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80079AA4 00076A04 7C 08 02 A6 */ mflr r0 +/* 80079AA8 00076A08 90 01 00 24 */ stw r0, 0x24(r1) +/* 80079AAC 00076A0C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80079AB0 00076A10 7C BF 2B 78 */ mr r31, r5 +/* 80079AB4 00076A14 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80079AB8 00076A18 7C 7E 1B 78 */ mr r30, r3 +/* 80079ABC 00076A1C 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80079AC0 00076A20 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80079AC4 00076A24 41 82 00 3C */ beq lbl_80079B00 +/* 80079AC8 00076A28 38 61 00 08 */ addi r3, r1, 8 +/* 80079ACC 00076A2C 48 03 3C AD */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" +/* 80079AD0 00076A30 80 83 00 04 */ lwz r4, 4(r3) +/* 80079AD4 00076A34 28 04 00 00 */ cmplwi r4, 0 +/* 80079AD8 00076A38 41 82 00 28 */ beq lbl_80079B00 +/* 80079ADC 00076A3C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80079AE0 00076A40 A0 84 00 EC */ lhz r4, 0xec(r4) +/* 80079AE4 00076A44 A0 03 00 08 */ lhz r0, 8(r3) +/* 80079AE8 00076A48 7C 04 00 40 */ cmplw r4, r0 +/* 80079AEC 00076A4C 40 82 00 14 */ bne lbl_80079B00 +/* 80079AF0 00076A50 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80079AF4 00076A54 38 60 00 01 */ li r3, 1 +/* 80079AF8 00076A58 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80079AFC 00076A5C 98 1E 04 00 */ stb r0, 0x400(r30) +lbl_80079B00: +/* 80079B00 00076A60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80079B04 00076A64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80079B08 00076A68 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80079B0C 00076A6C 7C 08 03 A6 */ mtlr r0 +/* 80079B10 00076A70 38 21 00 20 */ addi r1, r1, 0x20 +/* 80079B14 00076A74 4E 80 00 20 */ blr + +.global Think__10CPatternedFfR13CStateManager +Think__10CPatternedFfR13CStateManager: +/* 80079B18 00076A78 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 80079B1C 00076A7C 7C 08 02 A6 */ mflr r0 +/* 80079B20 00076A80 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 80079B24 00076A84 DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 80079B28 00076A88 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 80079B2C 00076A8C DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 80079B30 00076A90 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 80079B34 00076A94 93 E1 01 CC */ stw r31, 0x1cc(r1) +/* 80079B38 00076A98 93 C1 01 C8 */ stw r30, 0x1c8(r1) +/* 80079B3C 00076A9C 93 A1 01 C4 */ stw r29, 0x1c4(r1) +/* 80079B40 00076AA0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80079B44 00076AA4 FF E0 08 90 */ fmr f31, f1 +/* 80079B48 00076AA8 7C 7E 1B 78 */ mr r30, r3 +/* 80079B4C 00076AAC 7C 9F 23 78 */ mr r31, r4 +/* 80079B50 00076AB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80079B54 00076AB4 41 82 08 D4 */ beq lbl_8007A428 +/* 80079B58 00076AB8 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 80079B5C 00076ABC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80079B60 00076AC0 41 82 00 24 */ beq lbl_80079B84 +/* 80079B64 00076AC4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80079B68 00076AC8 48 0C 05 65 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80079B6C 00076ACC C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 80079B70 00076AD0 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80079B74 00076AD4 7C 00 00 26 */ mfcr r0 +/* 80079B78 00076AD8 7F C3 F3 78 */ mr r3, r30 +/* 80079B7C 00076ADC 54 04 1F FE */ rlwinm r4, r0, 3, 0x1f, 0x1f +/* 80079B80 00076AE0 4B FF DC D5 */ bl UpdateThermalFrozenState__10CPatternedFb +lbl_80079B84: +/* 80079B84 00076AE4 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80079B88 00076AE8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80079B8C 00076AEC 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80079B90 00076AF0 28 00 00 00 */ cmplwi r0, 0 +/* 80079B94 00076AF4 41 82 00 14 */ beq lbl_80079BA8 +/* 80079B98 00076AF8 80 7E 05 10 */ lwz r3, 0x510(r30) +/* 80079B9C 00076AFC FC 20 F8 90 */ fmr f1, f31 +/* 80079BA0 00076B00 80 63 00 00 */ lwz r3, 0(r3) +/* 80079BA4 00076B04 48 2D DD C9 */ bl Update__18CVertexMorphEffectFf +lbl_80079BA8: +/* 80079BA8 00076B08 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 80079BAC 00076B0C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80079BB0 00076B10 41 82 00 28 */ beq lbl_80079BD8 +/* 80079BB4 00076B14 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80079BB8 00076B18 48 0C 05 15 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80079BBC 00076B1C C0 02 89 34 */ lfs f0, lbl_805AA654@sda21(r2) +/* 80079BC0 00076B20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80079BC4 00076B24 40 81 00 14 */ ble lbl_80079BD8 +/* 80079BC8 00076B28 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80079BCC 00076B2C 38 60 00 01 */ li r3, 1 +/* 80079BD0 00076B30 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80079BD4 00076B34 98 1E 04 00 */ stb r0, 0x400(r30) +lbl_80079BD8: +/* 80079BD8 00076B38 88 7E 04 00 */ lbz r3, 0x400(r30) +/* 80079BDC 00076B3C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80079BE0 00076B40 40 82 01 1C */ bne lbl_80079CFC +/* 80079BE4 00076B44 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80079BE8 00076B48 40 82 00 0C */ bne lbl_80079BF4 +/* 80079BEC 00076B4C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 80079BF0 00076B50 41 82 00 84 */ beq lbl_80079C74 +lbl_80079BF4: +/* 80079BF4 00076B54 C0 3E 03 E0 */ lfs f1, 0x3e0(r30) +/* 80079BF8 00076B58 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 80079BFC 00076B5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80079C00 00076B60 4C 40 13 82 */ cror 2, 0, 2 +/* 80079C04 00076B64 40 82 00 70 */ bne lbl_80079C74 +/* 80079C08 00076B68 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80079C0C 00076B6C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80079C10 00076B70 41 82 00 34 */ beq lbl_80079C44 +/* 80079C14 00076B74 7F C3 F3 78 */ mr r3, r30 +/* 80079C18 00076B78 7F E5 FB 78 */ mr r5, r31 +/* 80079C1C 00076B7C 38 80 00 15 */ li r4, 0x15 +/* 80079C20 00076B80 38 C0 FF FF */ li r6, -1 +/* 80079C24 00076B84 4B FD 74 9D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80079C28 00076B88 7F C3 F3 78 */ mr r3, r30 +/* 80079C2C 00076B8C 7F E4 FB 78 */ mr r4, r31 +/* 80079C30 00076B90 81 9E 00 00 */ lwz r12, 0(r30) +/* 80079C34 00076B94 81 8C 02 9C */ lwz r12, 0x29c(r12) +/* 80079C38 00076B98 7D 89 03 A6 */ mtctr r12 +/* 80079C3C 00076B9C 4E 80 04 21 */ bctrl +/* 80079C40 00076BA0 48 00 07 E8 */ b lbl_8007A428 +lbl_80079C44: +/* 80079C44 00076BA4 7F C3 F3 78 */ mr r3, r30 +/* 80079C48 00076BA8 7F E5 FB 78 */ mr r5, r31 +/* 80079C4C 00076BAC 38 80 00 15 */ li r4, 0x15 +/* 80079C50 00076BB0 38 C0 FF FF */ li r6, -1 +/* 80079C54 00076BB4 4B FD 74 6D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80079C58 00076BB8 7F C3 F3 78 */ mr r3, r30 +/* 80079C5C 00076BBC 7F E4 FB 78 */ mr r4, r31 +/* 80079C60 00076BC0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80079C64 00076BC4 81 8C 02 98 */ lwz r12, 0x298(r12) +/* 80079C68 00076BC8 7D 89 03 A6 */ mtctr r12 +/* 80079C6C 00076BCC 4E 80 04 21 */ bctrl +/* 80079C70 00076BD0 48 00 07 B8 */ b lbl_8007A428 +lbl_80079C74: +/* 80079C74 00076BD4 C0 1E 03 E0 */ lfs f0, 0x3e0(r30) +/* 80079C78 00076BD8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80079C7C 00076BDC D0 1E 03 E0 */ stfs f0, 0x3e0(r30) +/* 80079C80 00076BE0 88 1E 04 03 */ lbz r0, 0x403(r30) +/* 80079C84 00076BE4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80079C88 00076BE8 41 82 00 74 */ beq lbl_80079CFC +/* 80079C8C 00076BEC 38 7E 03 30 */ addi r3, r30, 0x330 +/* 80079C90 00076BF0 48 00 5F 0D */ bl GetName__18CStateMachineStateCFv +/* 80079C94 00076BF4 28 03 00 00 */ cmplwi r3, 0 +/* 80079C98 00076BF8 41 82 00 64 */ beq lbl_80079CFC +/* 80079C9C 00076BFC 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 80079CA0 00076C00 38 61 00 80 */ addi r3, r1, 0x80 +/* 80079CA4 00076C04 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 80079CA8 00076C08 38 84 00 1A */ addi r4, r4, 0x1a +/* 80079CAC 00076C0C 4B F8 B0 0D */ bl string_l__4rstlFPCc +/* 80079CB0 00076C10 38 7E 03 30 */ addi r3, r30, 0x330 +/* 80079CB4 00076C14 48 00 5E E9 */ bl GetName__18CStateMachineStateCFv +/* 80079CB8 00076C18 38 81 00 80 */ addi r4, r1, 0x80 +/* 80079CBC 00076C1C 48 00 07 99 */ bl AreStateStringsEqual__10CPatternedFPCcPCc +/* 80079CC0 00076C20 7C 7D 1B 78 */ mr r29, r3 +/* 80079CC4 00076C24 38 61 00 80 */ addi r3, r1, 0x80 +/* 80079CC8 00076C28 48 2C 3E 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80079CCC 00076C2C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80079CD0 00076C30 41 82 00 2C */ beq lbl_80079CFC +/* 80079CD4 00076C34 C0 3E 03 38 */ lfs f1, 0x338(r30) +/* 80079CD8 00076C38 C0 02 89 38 */ lfs f0, lbl_805AA658@sda21(r2) +/* 80079CDC 00076C3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80079CE0 00076C40 40 81 00 1C */ ble lbl_80079CFC +/* 80079CE4 00076C44 7F C3 F3 78 */ mr r3, r30 +/* 80079CE8 00076C48 7F E4 FB 78 */ mr r4, r31 +/* 80079CEC 00076C4C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80079CF0 00076C50 81 8C 02 98 */ lwz r12, 0x298(r12) +/* 80079CF4 00076C54 7D 89 03 A6 */ mtctr r12 +/* 80079CF8 00076C58 4E 80 04 21 */ bctrl +lbl_80079CFC: +/* 80079CFC 00076C5C FC 20 F8 90 */ fmr f1, f31 +/* 80079D00 00076C60 7F C3 F3 78 */ mr r3, r30 +/* 80079D04 00076C64 7F E4 FB 78 */ mr r4, r31 +/* 80079D08 00076C68 48 00 09 85 */ bl UpdateAlphaDelta__10CPatternedFfR13CStateManager +/* 80079D0C 00076C6C 7F C3 F3 78 */ mr r3, r30 +/* 80079D10 00076C70 7F E4 FB 78 */ mr r4, r31 +/* 80079D14 00076C74 81 9E 00 00 */ lwz r12, 0(r30) +/* 80079D18 00076C78 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80079D1C 00076C7C 7D 89 03 A6 */ mtctr r12 +/* 80079D20 00076C80 4E 80 04 21 */ bctrl +/* 80079D24 00076C84 C0 03 00 00 */ lfs f0, 0(r3) +/* 80079D28 00076C88 D0 1E 03 E4 */ stfs f0, 0x3e4(r30) +/* 80079D2C 00076C8C 80 1E 03 34 */ lwz r0, 0x334(r30) +/* 80079D30 00076C90 28 00 00 00 */ cmplwi r0, 0 +/* 80079D34 00076C94 40 82 00 40 */ bne lbl_80079D74 +/* 80079D38 00076C98 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 80079D3C 00076C9C 38 61 00 70 */ addi r3, r1, 0x70 +/* 80079D40 00076CA0 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 80079D44 00076CA4 38 84 00 1F */ addi r4, r4, 0x1f +/* 80079D48 00076CA8 4B F8 AF 71 */ bl string_l__4rstlFPCc +/* 80079D4C 00076CAC 7F C3 F3 78 */ mr r3, r30 +/* 80079D50 00076CB0 48 02 8B A9 */ bl GetStateMachine__3CAiFv +/* 80079D54 00076CB4 7C 66 1B 78 */ mr r6, r3 +/* 80079D58 00076CB8 7F E4 FB 78 */ mr r4, r31 +/* 80079D5C 00076CBC 7F C5 F3 78 */ mr r5, r30 +/* 80079D60 00076CC0 38 7E 03 30 */ addi r3, r30, 0x330 +/* 80079D64 00076CC4 38 E1 00 70 */ addi r7, r1, 0x70 +/* 80079D68 00076CC8 48 00 5E 9D */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80079D6C 00076CCC 38 61 00 70 */ addi r3, r1, 0x70 +/* 80079D70 00076CD0 48 2C 3D 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80079D74: +/* 80079D74 00076CD4 C0 3E 04 E4 */ lfs f1, 0x4e4(r30) +/* 80079D78 00076CD8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80079D7C 00076CDC 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 80079D80 00076CE0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80079D84 00076CE4 C0 7E 04 E8 */ lfs f3, 0x4e8(r30) +/* 80079D88 00076CE8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80079D8C 00076CEC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80079D90 00076CF0 C0 3E 04 EC */ lfs f1, 0x4ec(r30) +/* 80079D94 00076CF4 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80079D98 00076CF8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80079D9C 00076CFC EC 61 00 28 */ fsubs f3, f1, f0 +/* 80079DA0 00076D00 40 82 00 08 */ bne lbl_80079DA8 +/* 80079DA4 00076D04 C0 62 89 08 */ lfs f3, lbl_805AA628@sda21(r2) +lbl_80079DA8: +/* 80079DA8 00076D08 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 80079DAC 00076D0C C0 02 89 18 */ lfs f0, lbl_805AA638@sda21(r2) +/* 80079DB0 00076D10 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80079DB4 00076D14 EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 80079DB8 00076D18 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 80079DBC 00076D1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80079DC0 00076D20 40 81 00 14 */ ble lbl_80079DD4 +/* 80079DC4 00076D24 C0 1E 04 F0 */ lfs f0, 0x4f0(r30) +/* 80079DC8 00076D28 EC 00 F8 2A */ fadds f0, f0, f31 +/* 80079DCC 00076D2C D0 1E 04 F0 */ stfs f0, 0x4f0(r30) +/* 80079DD0 00076D30 48 00 00 0C */ b lbl_80079DDC +lbl_80079DD4: +/* 80079DD4 00076D34 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 80079DD8 00076D38 D0 1E 04 F0 */ stfs f0, 0x4f0(r30) +lbl_80079DDC: +/* 80079DDC 00076D3C 88 1E 04 E1 */ lbz r0, 0x4e1(r30) +/* 80079DE0 00076D40 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80079DE4 00076D44 41 82 01 C4 */ beq lbl_80079FA8 +/* 80079DE8 00076D48 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 80079DEC 00076D4C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80079DF0 00076D50 40 82 00 44 */ bne lbl_80079E34 +/* 80079DF4 00076D54 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 80079DF8 00076D58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80079DFC 00076D5C 41 82 00 38 */ beq lbl_80079E34 +/* 80079E00 00076D60 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80079E04 00076D64 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 80079E08 00076D68 C0 42 89 10 */ lfs f2, lbl_805AA630@sda21(r2) +/* 80079E0C 00076D6C 48 29 87 39 */ bl Range__9CRandom16Fff +/* 80079E10 00076D70 81 9E 00 00 */ lwz r12, 0(r30) +/* 80079E14 00076D74 7F C3 F3 78 */ mr r3, r30 +/* 80079E18 00076D78 C0 02 89 10 */ lfs f0, lbl_805AA630@sda21(r2) +/* 80079E1C 00076D7C 7F E4 FB 78 */ mr r4, r31 +/* 80079E20 00076D80 81 8C 02 A4 */ lwz r12, 0x2a4(r12) +/* 80079E24 00076D84 EC 20 08 2A */ fadds f1, f0, f1 +/* 80079E28 00076D88 C0 42 89 3C */ lfs f2, lbl_805AA65C@sda21(r2) +/* 80079E2C 00076D8C 7D 89 03 A6 */ mtctr r12 +/* 80079E30 00076D90 4E 80 04 21 */ bctrl +lbl_80079E34: +/* 80079E34 00076D94 88 9E 04 01 */ lbz r4, 0x401(r30) +/* 80079E38 00076D98 38 60 00 00 */ li r3, 0 +/* 80079E3C 00076D9C 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 80079E40 00076DA0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80079E44 00076DA4 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 80079E48 00076DA8 98 1E 04 02 */ stb r0, 0x402(r30) +/* 80079E4C 00076DAC 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 80079E50 00076DB0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80079E54 00076DB4 98 1E 04 01 */ stb r0, 0x401(r30) +/* 80079E58 00076DB8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80079E5C 00076DBC C0 03 03 24 */ lfs f0, 0x324(r3) +/* 80079E60 00076DC0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80079E64 00076DC4 40 81 01 20 */ ble lbl_80079F84 +/* 80079E68 00076DC8 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 80079E6C 00076DCC 7F C4 F3 78 */ mr r4, r30 +/* 80079E70 00076DD0 48 16 B3 61 */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor +/* 80079E74 00076DD4 C0 5E 03 F0 */ lfs f2, 0x3f0(r30) +/* 80079E78 00076DD8 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 80079E7C 00076DDC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80079E80 00076DE0 40 81 01 28 */ ble lbl_80079FA8 +/* 80079E84 00076DE4 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80079E88 00076DE8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80079E8C 00076DEC 41 82 01 1C */ beq lbl_80079FA8 +/* 80079E90 00076DF0 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 80079E94 00076DF4 38 80 00 00 */ li r4, 0 +/* 80079E98 00076DF8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80079E9C 00076DFC 38 E0 00 02 */ li r7, 2 +/* 80079EA0 00076E00 98 01 00 3C */ stb r0, 0x3c(r1) +/* 80079EA4 00076E04 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80079EA8 00076E08 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 80079EAC 00076E0C FC 00 10 18 */ frsp f0, f2 +/* 80079EB0 00076E10 88 01 01 4C */ lbz r0, 0x14c(r1) +/* 80079EB4 00076E14 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80079EB8 00076E18 54 66 06 3E */ clrlwi r6, r3, 0x18 +/* 80079EBC 00076E1C 98 61 00 3C */ stb r3, 0x3c(r1) +/* 80079EC0 00076E20 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a +/* 80079EC4 00076E24 80 AD 83 E0 */ lwz r5, lbl_805A6FA0@sda21(r13) +/* 80079EC8 00076E28 38 60 00 00 */ li r3, 0 +/* 80079ECC 00076E2C 90 E1 00 38 */ stw r7, 0x38(r1) +/* 80079ED0 00076E30 38 80 00 01 */ li r4, 1 +/* 80079ED4 00076E34 98 C1 00 3C */ stb r6, 0x3c(r1) +/* 80079ED8 00076E38 90 E1 01 34 */ stw r7, 0x134(r1) +/* 80079EDC 00076E3C 98 C1 01 38 */ stb r6, 0x138(r1) +/* 80079EE0 00076E40 D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 80079EE4 00076E44 D0 41 01 40 */ stfs f2, 0x140(r1) +/* 80079EE8 00076E48 D0 21 01 44 */ stfs f1, 0x144(r1) +/* 80079EEC 00076E4C D0 21 01 48 */ stfs f1, 0x148(r1) +/* 80079EF0 00076E50 98 01 01 4C */ stb r0, 0x14c(r1) +/* 80079EF4 00076E54 90 E1 01 6C */ stw r7, 0x16c(r1) +/* 80079EF8 00076E58 98 C1 01 70 */ stb r6, 0x170(r1) +/* 80079EFC 00076E5C D0 41 01 74 */ stfs f2, 0x174(r1) +/* 80079F00 00076E60 D0 01 01 78 */ stfs f0, 0x178(r1) +/* 80079F04 00076E64 D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 80079F08 00076E68 D0 21 01 80 */ stfs f1, 0x180(r1) +/* 80079F0C 00076E6C 98 01 01 84 */ stb r0, 0x184(r1) +/* 80079F10 00076E70 48 30 FF E5 */ bl __shl2i +/* 80079F14 00076E74 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 80079F18 00076E78 38 C0 00 00 */ li r6, 0 +/* 80079F1C 00076E7C 38 00 00 03 */ li r0, 3 +/* 80079F20 00076E80 90 81 01 04 */ stw r4, 0x104(r1) +/* 80079F24 00076E84 FC 20 F8 90 */ fmr f1, f31 +/* 80079F28 00076E88 38 81 01 6C */ addi r4, r1, 0x16c +/* 80079F2C 00076E8C 90 61 01 00 */ stw r3, 0x100(r1) +/* 80079F30 00076E90 38 61 01 18 */ addi r3, r1, 0x118 +/* 80079F34 00076E94 90 C1 01 0C */ stw r6, 0x10c(r1) +/* 80079F38 00076E98 90 C1 01 08 */ stw r6, 0x108(r1) +/* 80079F3C 00076E9C 90 01 01 10 */ stw r0, 0x110(r1) +/* 80079F40 00076EA0 B0 A1 00 20 */ sth r5, 0x20(r1) +/* 80079F44 00076EA4 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80079F48 00076EA8 B0 A1 00 0C */ sth r5, 0xc(r1) +/* 80079F4C 00076EAC B0 01 00 24 */ sth r0, 0x24(r1) +/* 80079F50 00076EB0 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80079F54 00076EB4 B0 A1 00 2C */ sth r5, 0x2c(r1) +/* 80079F58 00076EB8 48 04 94 F1 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 80079F5C 00076EBC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80079F60 00076EC0 7F E3 FB 78 */ mr r3, r31 +/* 80079F64 00076EC4 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80079F68 00076EC8 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80079F6C 00076ECC 38 81 00 2C */ addi r4, r1, 0x2c +/* 80079F70 00076ED0 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80079F74 00076ED4 38 E1 01 18 */ addi r7, r1, 0x118 +/* 80079F78 00076ED8 39 01 01 00 */ addi r8, r1, 0x100 +/* 80079F7C 00076EDC 4B FD 01 25 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80079F80 00076EE0 48 00 00 28 */ b lbl_80079FA8 +lbl_80079F84: +/* 80079F84 00076EE4 C0 1E 03 F0 */ lfs f0, 0x3f0(r30) +/* 80079F88 00076EE8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80079F8C 00076EEC 41 82 00 1C */ beq lbl_80079FA8 +/* 80079F90 00076EF0 D0 3E 03 F0 */ stfs f1, 0x3f0(r30) +/* 80079F94 00076EF4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80079F98 00076EF8 48 0B FF 75 */ bl StopElectrocution__15CBodyControllerFv +/* 80079F9C 00076EFC 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 80079FA0 00076F00 7F C4 F3 78 */ mr r4, r30 +/* 80079FA4 00076F04 48 16 B1 AD */ bl StopElectric__20CActorModelParticlesFR5CActor +lbl_80079FA8: +/* 80079FA8 00076F08 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80079FAC 00076F0C C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 80079FB0 00076F10 C0 03 03 20 */ lfs f0, 0x320(r3) +/* 80079FB4 00076F14 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80079FB8 00076F18 40 81 01 18 */ ble lbl_8007A0D0 +/* 80079FBC 00076F1C 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80079FC0 00076F20 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80079FC4 00076F24 41 82 01 38 */ beq lbl_8007A0FC +/* 80079FC8 00076F28 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 80079FCC 00076F2C 7F C4 F3 78 */ mr r4, r30 +/* 80079FD0 00076F30 48 16 B1 21 */ bl LightDudeOnFire__20CActorModelParticlesFR5CActor +/* 80079FD4 00076F34 88 01 00 34 */ lbz r0, 0x34(r1) +/* 80079FD8 00076F38 38 80 00 00 */ li r4, 0 +/* 80079FDC 00076F3C C0 5E 03 EC */ lfs f2, 0x3ec(r30) +/* 80079FE0 00076F40 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80079FE4 00076F44 98 01 00 34 */ stb r0, 0x34(r1) +/* 80079FE8 00076F48 38 E0 00 03 */ li r7, 3 +/* 80079FEC 00076F4C 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80079FF0 00076F50 FC 00 10 18 */ frsp f0, f2 +/* 80079FF4 00076F54 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 80079FF8 00076F58 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 80079FFC 00076F5C 88 01 00 FC */ lbz r0, 0xfc(r1) +/* 8007A000 00076F60 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8007A004 00076F64 54 66 06 3E */ clrlwi r6, r3, 0x18 +/* 8007A008 00076F68 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a +/* 8007A00C 00076F6C 98 61 00 34 */ stb r3, 0x34(r1) +/* 8007A010 00076F70 80 AD 83 E0 */ lwz r5, lbl_805A6FA0@sda21(r13) +/* 8007A014 00076F74 38 60 00 00 */ li r3, 0 +/* 8007A018 00076F78 90 E1 00 30 */ stw r7, 0x30(r1) +/* 8007A01C 00076F7C 38 80 00 01 */ li r4, 1 +/* 8007A020 00076F80 98 C1 00 34 */ stb r6, 0x34(r1) +/* 8007A024 00076F84 90 E1 00 E4 */ stw r7, 0xe4(r1) +/* 8007A028 00076F88 98 C1 00 E8 */ stb r6, 0xe8(r1) +/* 8007A02C 00076F8C D0 41 00 EC */ stfs f2, 0xec(r1) +/* 8007A030 00076F90 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 8007A034 00076F94 D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 8007A038 00076F98 D0 21 00 F8 */ stfs f1, 0xf8(r1) +/* 8007A03C 00076F9C 98 01 00 FC */ stb r0, 0xfc(r1) +/* 8007A040 00076FA0 90 E1 01 50 */ stw r7, 0x150(r1) +/* 8007A044 00076FA4 98 C1 01 54 */ stb r6, 0x154(r1) +/* 8007A048 00076FA8 D0 41 01 58 */ stfs f2, 0x158(r1) +/* 8007A04C 00076FAC D0 01 01 5C */ stfs f0, 0x15c(r1) +/* 8007A050 00076FB0 D0 21 01 60 */ stfs f1, 0x160(r1) +/* 8007A054 00076FB4 D0 21 01 64 */ stfs f1, 0x164(r1) +/* 8007A058 00076FB8 98 01 01 68 */ stb r0, 0x168(r1) +/* 8007A05C 00076FBC 48 30 FE 99 */ bl __shl2i +/* 8007A060 00076FC0 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8007A064 00076FC4 38 C0 00 00 */ li r6, 0 +/* 8007A068 00076FC8 38 00 00 03 */ li r0, 3 +/* 8007A06C 00076FCC 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 8007A070 00076FD0 FC 20 F8 90 */ fmr f1, f31 +/* 8007A074 00076FD4 38 81 01 50 */ addi r4, r1, 0x150 +/* 8007A078 00076FD8 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8007A07C 00076FDC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8007A080 00076FE0 90 C1 00 BC */ stw r6, 0xbc(r1) +/* 8007A084 00076FE4 90 C1 00 B8 */ stw r6, 0xb8(r1) +/* 8007A088 00076FE8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8007A08C 00076FEC B0 A1 00 10 */ sth r5, 0x10(r1) +/* 8007A090 00076FF0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8007A094 00076FF4 B0 A1 00 08 */ sth r5, 8(r1) +/* 8007A098 00076FF8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8007A09C 00076FFC B0 01 00 18 */ sth r0, 0x18(r1) +/* 8007A0A0 00077000 B0 A1 00 1C */ sth r5, 0x1c(r1) +/* 8007A0A4 00077004 48 04 93 A5 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 8007A0A8 00077008 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007A0AC 0007700C 7F E3 FB 78 */ mr r3, r31 +/* 8007A0B0 00077010 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8007A0B4 00077014 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8007A0B8 00077018 38 81 00 1C */ addi r4, r1, 0x1c +/* 8007A0BC 0007701C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8007A0C0 00077020 38 E1 00 C8 */ addi r7, r1, 0xc8 +/* 8007A0C4 00077024 39 01 00 B0 */ addi r8, r1, 0xb0 +/* 8007A0C8 00077028 4B FC FF D9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 8007A0CC 0007702C 48 00 00 30 */ b lbl_8007A0FC +lbl_8007A0D0: +/* 8007A0D0 00077030 C0 1E 03 EC */ lfs f0, 0x3ec(r30) +/* 8007A0D4 00077034 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8007A0D8 00077038 40 81 00 08 */ ble lbl_8007A0E0 +/* 8007A0DC 0007703C D0 3E 03 EC */ stfs f1, 0x3ec(r30) +lbl_8007A0E0: +/* 8007A0E0 00077040 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007A0E4 00077044 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8007A0E8 00077048 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007A0EC 0007704C 41 82 00 10 */ beq lbl_8007A0FC +/* 8007A0F0 00077050 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 8007A0F4 00077054 7F C4 F3 78 */ mr r4, r30 +/* 8007A0F8 00077058 48 16 AF 4D */ bl StopThermalHotParticles__20CActorModelParticlesFR5CActor +lbl_8007A0FC: +/* 8007A0FC 0007705C 88 7E 04 01 */ lbz r3, 0x401(r30) +/* 8007A100 00077060 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8007A104 00077064 40 82 00 0C */ bne lbl_8007A110 +/* 8007A108 00077068 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 8007A10C 0007706C 41 82 00 0C */ beq lbl_8007A118 +lbl_8007A110: +/* 8007A110 00077070 C0 02 89 14 */ lfs f0, lbl_805AA634@sda21(r2) +/* 8007A114 00077074 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) +lbl_8007A118: +/* 8007A118 00077078 88 9E 04 01 */ lbz r4, 0x401(r30) +/* 8007A11C 0007707C 54 80 FF FF */ rlwinm. r0, r4, 0x1f, 0x1f, 0x1f +/* 8007A120 00077080 41 82 00 48 */ beq lbl_8007A168 +/* 8007A124 00077084 38 00 00 00 */ li r0, 0 +/* 8007A128 00077088 7F C3 F3 78 */ mr r3, r30 +/* 8007A12C 0007708C 50 04 0F BC */ rlwimi r4, r0, 1, 0x1e, 0x1e +/* 8007A130 00077090 38 A1 00 64 */ addi r5, r1, 0x64 +/* 8007A134 00077094 98 9E 04 01 */ stb r4, 0x401(r30) +/* 8007A138 00077098 7F E4 FB 78 */ mr r4, r31 +/* 8007A13C 0007709C 38 C0 00 14 */ li r6, 0x14 +/* 8007A140 000770A0 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 8007A144 000770A4 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8007A148 000770A8 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8007A14C 000770AC D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8007A150 000770B0 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 8007A154 000770B4 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8007A158 000770B8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007A15C 000770BC 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 8007A160 000770C0 7D 89 03 A6 */ mtctr r12 +/* 8007A164 000770C4 4E 80 04 21 */ bctrl +lbl_8007A168: +/* 8007A168 000770C8 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007A16C 000770CC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007A170 000770D0 41 82 00 0C */ beq lbl_8007A17C +/* 8007A174 000770D4 FF C0 F8 90 */ fmr f30, f31 +/* 8007A178 000770D8 48 00 00 10 */ b lbl_8007A188 +lbl_8007A17C: +/* 8007A17C 000770DC 7F C3 F3 78 */ mr r3, r30 +/* 8007A180 000770E0 4B FF E9 09 */ bl CalcDyingThinkRate__10CPatternedFv +/* 8007A184 000770E4 EF DF 00 72 */ fmuls f30, f31, f1 +lbl_8007A188: +/* 8007A188 000770E8 FC 20 F0 90 */ fmr f1, f30 +/* 8007A18C 000770EC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007A190 000770F0 7F E4 FB 78 */ mr r4, r31 +/* 8007A194 000770F4 48 0C 0A 51 */ bl Update__15CBodyControllerFfR13CStateManager +/* 8007A198 000770F8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007A19C 000770FC C0 3E 03 B4 */ lfs f1, 0x3b4(r30) +/* 8007A1A0 00077100 48 0C 06 C1 */ bl MultiplyPlaybackRate__15CBodyControllerFf +/* 8007A1A4 00077104 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007A1A8 00077108 FC 20 F0 90 */ fmr f1, f30 +/* 8007A1AC 0007710C 7F C4 F3 78 */ mr r4, r30 +/* 8007A1B0 00077110 7F E5 FB 78 */ mr r5, r31 +/* 8007A1B4 00077114 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8007A1B8 00077118 38 61 00 90 */ addi r3, r1, 0x90 +/* 8007A1BC 0007711C 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f +/* 8007A1C0 00077120 7C 00 00 34 */ cntlzw r0, r0 +/* 8007A1C4 00077124 54 06 DE 3E */ rlwinm r6, r0, 0x1b, 0x18, 0x1f +/* 8007A1C8 00077128 4B FD B0 D5 */ bl UpdateAnimation__6CActorFfR13CStateManagerb +/* 8007A1CC 0007712C 80 61 00 90 */ lwz r3, 0x90(r1) +/* 8007A1D0 00077130 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8007A1D4 00077134 90 7E 04 34 */ stw r3, 0x434(r30) +/* 8007A1D8 00077138 90 1E 04 38 */ stw r0, 0x438(r30) +/* 8007A1DC 0007713C 80 01 00 98 */ lwz r0, 0x98(r1) +/* 8007A1E0 00077140 90 1E 04 3C */ stw r0, 0x43c(r30) +/* 8007A1E4 00077144 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 8007A1E8 00077148 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 8007A1EC 0007714C 90 7E 04 40 */ stw r3, 0x440(r30) +/* 8007A1F0 00077150 90 1E 04 44 */ stw r0, 0x444(r30) +/* 8007A1F4 00077154 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 8007A1F8 00077158 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 8007A1FC 0007715C 90 7E 04 48 */ stw r3, 0x448(r30) +/* 8007A200 00077160 90 1E 04 4C */ stw r0, 0x44c(r30) +/* 8007A204 00077164 88 1E 04 03 */ lbz r0, 0x403(r30) +/* 8007A208 00077168 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007A20C 0007716C 41 82 00 2C */ beq lbl_8007A238 +/* 8007A210 00077170 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007A214 00077174 48 0B FE B9 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 8007A218 00077178 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 8007A21C 0007717C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007A220 00077180 40 80 00 18 */ bge lbl_8007A238 +/* 8007A224 00077184 FC 20 F0 90 */ fmr f1, f30 +/* 8007A228 00077188 7F E4 FB 78 */ mr r4, r31 +/* 8007A22C 0007718C 7F C5 F3 78 */ mr r5, r30 +/* 8007A230 00077190 38 7E 03 30 */ addi r3, r30, 0x330 +/* 8007A234 00077194 48 00 5B 1D */ bl Update__18CStateMachineStateFR13CStateManagerR3CAif +lbl_8007A238: +/* 8007A238 00077198 7F C3 F3 78 */ mr r3, r30 +/* 8007A23C 0007719C FC 20 F0 90 */ fmr f1, f30 +/* 8007A240 000771A0 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007A244 000771A4 81 8C 02 A8 */ lwz r12, 0x2a8(r12) +/* 8007A248 000771A8 7D 89 03 A6 */ mtctr r12 +/* 8007A24C 000771AC 4E 80 04 21 */ bctrl +/* 8007A250 000771B0 FC 20 F0 90 */ fmr f1, f30 +/* 8007A254 000771B4 7F E4 FB 78 */ mr r4, r31 +/* 8007A258 000771B8 7F C5 F3 78 */ mr r5, r30 +/* 8007A25C 000771BC 38 7E 04 60 */ addi r3, r30, 0x460 +/* 8007A260 000771C0 48 1B 98 F9 */ bl Update__20CKnockBackControllerFfR13CStateManagerR10CPatterned +/* 8007A264 000771C4 FC 20 F0 90 */ fmr f1, f30 +/* 8007A268 000771C8 7F C4 F3 78 */ mr r4, r30 +/* 8007A26C 000771CC 38 61 01 88 */ addi r3, r1, 0x188 +/* 8007A270 000771D0 48 0A 1A 41 */ bl PredictMotion__13CPhysicsActorCFf +/* 8007A274 000771D4 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8007A278 000771D8 38 60 00 00 */ li r3, 0 +/* 8007A27C 000771DC C0 01 01 88 */ lfs f0, 0x188(r1) +/* 8007A280 000771E0 C0 BE 00 50 */ lfs f5, 0x50(r30) +/* 8007A284 000771E4 C0 81 01 8C */ lfs f4, 0x18c(r1) +/* 8007A288 000771E8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8007A28C 000771EC C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8007A290 000771F0 C0 41 01 90 */ lfs f2, 0x190(r1) +/* 8007A294 000771F4 EC 85 20 2A */ fadds f4, f5, f4 +/* 8007A298 000771F8 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007A29C 000771FC D0 3E 04 E4 */ stfs f1, 0x4e4(r30) +/* 8007A2A0 00077200 EC 23 10 2A */ fadds f1, f3, f2 +/* 8007A2A4 00077204 D0 9E 04 E8 */ stfs f4, 0x4e8(r30) +/* 8007A2A8 00077208 D0 3E 04 EC */ stfs f1, 0x4ec(r30) +/* 8007A2AC 0007720C 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 8007A2B0 00077210 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8007A2B4 00077214 98 1E 03 28 */ stb r0, 0x328(r30) +/* 8007A2B8 00077218 C0 3E 04 20 */ lfs f1, 0x420(r30) +/* 8007A2BC 0007721C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007A2C0 00077220 40 81 00 0C */ ble lbl_8007A2CC +/* 8007A2C4 00077224 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 8007A2C8 00077228 D0 1E 04 20 */ stfs f0, 0x420(r30) +lbl_8007A2CC: +/* 8007A2CC 0007722C 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 8007A2D0 00077230 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8007A2D4 00077234 41 82 00 18 */ beq lbl_8007A2EC +/* 8007A2D8 00077238 C0 1E 03 F4 */ lfs f0, 0x3f4(r30) +/* 8007A2DC 0007723C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8007A2E0 00077240 40 81 00 0C */ ble lbl_8007A2EC +/* 8007A2E4 00077244 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8007A2E8 00077248 D0 1E 03 F4 */ stfs f0, 0x3f4(r30) +lbl_8007A2EC: +/* 8007A2EC 0007724C C0 1E 05 0C */ lfs f0, 0x50c(r30) +/* 8007A2F0 00077250 FC 20 F8 90 */ fmr f1, f31 +/* 8007A2F4 00077254 7F C3 F3 78 */ mr r3, r30 +/* 8007A2F8 00077258 D0 1E 00 D0 */ stfs f0, 0xd0(r30) +/* 8007A2FC 0007725C 48 00 02 BD */ bl UpdateDamageColor__10CPatternedFf +/* 8007A300 00077260 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007A304 00077264 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8007A308 00077268 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007A30C 0007726C 40 82 00 FC */ bne lbl_8007A408 +/* 8007A310 00077270 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8007A314 00077274 C0 3E 03 A0 */ lfs f1, 0x3a0(r30) +/* 8007A318 00077278 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8007A31C 0007727C 38 00 00 00 */ li r0, 0 +/* 8007A320 00077280 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8007A324 00077284 40 82 00 28 */ bne lbl_8007A34C +/* 8007A328 00077288 C0 3E 03 A4 */ lfs f1, 0x3a4(r30) +/* 8007A32C 0007728C C0 03 00 04 */ lfs f0, 4(r3) +/* 8007A330 00077290 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8007A334 00077294 40 82 00 18 */ bne lbl_8007A34C +/* 8007A338 00077298 C0 3E 03 A8 */ lfs f1, 0x3a8(r30) +/* 8007A33C 0007729C C0 03 00 08 */ lfs f0, 8(r3) +/* 8007A340 000772A0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8007A344 000772A4 40 82 00 08 */ bne lbl_8007A34C +/* 8007A348 000772A8 38 00 00 01 */ li r0, 1 +lbl_8007A34C: +/* 8007A34C 000772AC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8007A350 000772B0 41 82 00 1C */ beq lbl_8007A36C +/* 8007A354 000772B4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8007A358 000772B8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8007A35C 000772BC C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8007A360 000772C0 D0 1E 03 A0 */ stfs f0, 0x3a0(r30) +/* 8007A364 000772C4 D0 3E 03 A4 */ stfs f1, 0x3a4(r30) +/* 8007A368 000772C8 D0 5E 03 A8 */ stfs f2, 0x3a8(r30) +lbl_8007A36C: +/* 8007A36C 000772CC C0 1E 03 CC */ lfs f0, 0x3cc(r30) +/* 8007A370 000772D0 C0 C2 89 08 */ lfs f6, lbl_805AA628@sda21(r2) +/* 8007A374 000772D4 FC 00 30 00 */ fcmpu cr0, f0, f6 +/* 8007A378 000772D8 41 82 00 88 */ beq lbl_8007A400 +/* 8007A37C 000772DC 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8007A380 000772E0 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8007A384 000772E4 C1 5E 00 50 */ lfs f10, 0x50(r30) +/* 8007A388 000772E8 C0 63 00 50 */ lfs f3, 0x50(r3) +/* 8007A38C 000772EC C0 43 00 40 */ lfs f2, 0x40(r3) +/* 8007A390 000772F0 C0 BE 00 40 */ lfs f5, 0x40(r30) +/* 8007A394 000772F4 ED 0A 18 28 */ fsubs f8, f10, f3 +/* 8007A398 000772F8 C1 23 00 60 */ lfs f9, 0x60(r3) +/* 8007A39C 000772FC EC 85 10 28 */ fsubs f4, f5, f2 +/* 8007A3A0 00077300 C1 7E 00 60 */ lfs f11, 0x60(r30) +/* 8007A3A4 00077304 EC 28 02 32 */ fmuls f1, f8, f8 +/* 8007A3A8 00077308 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8007A3AC 0007730C EC EB 48 28 */ fsubs f7, f11, f9 +/* 8007A3B0 00077310 EC 44 01 32 */ fmuls f2, f4, f4 +/* 8007A3B4 00077314 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 8007A3B8 00077318 EC 67 01 F2 */ fmuls f3, f7, f7 +/* 8007A3BC 0007731C EC 22 08 2A */ fadds f1, f2, f1 +/* 8007A3C0 00077320 D1 21 00 48 */ stfs f9, 0x48(r1) +/* 8007A3C4 00077324 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 8007A3C8 00077328 EC 23 08 2A */ fadds f1, f3, f1 +/* 8007A3CC 0007732C D1 41 00 50 */ stfs f10, 0x50(r1) +/* 8007A3D0 00077330 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007A3D4 00077334 D1 61 00 54 */ stfs f11, 0x54(r1) +/* 8007A3D8 00077338 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8007A3DC 0007733C D1 01 00 5C */ stfs f8, 0x5c(r1) +/* 8007A3E0 00077340 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 8007A3E4 00077344 40 81 00 14 */ ble lbl_8007A3F8 +/* 8007A3E8 00077348 C0 1E 03 D4 */ lfs f0, 0x3d4(r30) +/* 8007A3EC 0007734C EC 00 F8 2A */ fadds f0, f0, f31 +/* 8007A3F0 00077350 D0 1E 03 D4 */ stfs f0, 0x3d4(r30) +/* 8007A3F4 00077354 48 00 00 1C */ b lbl_8007A410 +lbl_8007A3F8: +/* 8007A3F8 00077358 D0 DE 03 D4 */ stfs f6, 0x3d4(r30) +/* 8007A3FC 0007735C 48 00 00 14 */ b lbl_8007A410 +lbl_8007A400: +/* 8007A400 00077360 D0 DE 03 D4 */ stfs f6, 0x3d4(r30) +/* 8007A404 00077364 48 00 00 0C */ b lbl_8007A410 +lbl_8007A408: +/* 8007A408 00077368 7F C3 F3 78 */ mr r3, r30 +/* 8007A40C 0007736C 4B FD AE 39 */ bl RemoveEmitter__6CActorFv +lbl_8007A410: +/* 8007A410 00077370 C0 3E 02 F8 */ lfs f1, 0x2f8(r30) +/* 8007A414 00077374 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007A418 00077378 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007A41C 0007737C 40 81 00 08 */ ble lbl_8007A424 +/* 8007A420 00077380 EC 21 F8 28 */ fsubs f1, f1, f31 +lbl_8007A424: +/* 8007A424 00077384 D0 3E 02 F8 */ stfs f1, 0x2f8(r30) +lbl_8007A428: +/* 8007A428 00077388 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 8007A42C 0007738C CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 8007A430 00077390 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 8007A434 00077394 CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 8007A438 00077398 83 E1 01 CC */ lwz r31, 0x1cc(r1) +/* 8007A43C 0007739C 83 C1 01 C8 */ lwz r30, 0x1c8(r1) +/* 8007A440 000773A0 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 8007A444 000773A4 83 A1 01 C4 */ lwz r29, 0x1c4(r1) +/* 8007A448 000773A8 7C 08 03 A6 */ mtlr r0 +/* 8007A44C 000773AC 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 8007A450 000773B0 4E 80 00 20 */ blr + +.global AreStateStringsEqual__10CPatternedFPCcPCc +AreStateStringsEqual__10CPatternedFPCcPCc: +/* 8007A454 000773B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007A458 000773B8 7C 08 02 A6 */ mflr r0 +/* 8007A45C 000773BC 38 A0 FF FF */ li r5, -1 +/* 8007A460 000773C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007A464 000773C4 7C 60 1B 78 */ mr r0, r3 +/* 8007A468 000773C8 7C 83 23 78 */ mr r3, r4 +/* 8007A46C 000773CC 7C 04 03 78 */ mr r4, r0 +/* 8007A470 000773D0 48 00 00 1D */ bl CompareStateString__10CPatternedFPCcPCci +/* 8007A474 000773D4 7C 60 00 34 */ cntlzw r0, r3 +/* 8007A478 000773D8 54 03 D9 7E */ srwi r3, r0, 5 +/* 8007A47C 000773DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007A480 000773E0 7C 08 03 A6 */ mtlr r0 +/* 8007A484 000773E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007A488 000773E8 4E 80 00 20 */ blr + +.global CompareStateString__10CPatternedFPCcPCci +CompareStateString__10CPatternedFPCcPCci: +/* 8007A48C 000773EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007A490 000773F0 38 C0 00 00 */ li r6, 0 +/* 8007A494 000773F4 7C 88 23 78 */ mr r8, r4 +/* 8007A498 000773F8 48 00 00 0C */ b lbl_8007A4A4 +lbl_8007A49C: +/* 8007A49C 000773FC 39 08 00 01 */ addi r8, r8, 1 +/* 8007A4A0 00077400 38 C6 00 01 */ addi r6, r6, 1 +lbl_8007A4A4: +/* 8007A4A4 00077404 2C 05 FF FF */ cmpwi r5, -1 +/* 8007A4A8 00077408 41 82 00 0C */ beq lbl_8007A4B4 +/* 8007A4AC 0007740C 7C 06 28 00 */ cmpw r6, r5 +/* 8007A4B0 00077410 40 80 00 10 */ bge lbl_8007A4C0 +lbl_8007A4B4: +/* 8007A4B4 00077414 88 08 00 00 */ lbz r0, 0(r8) +/* 8007A4B8 00077418 7C 00 07 75 */ extsb. r0, r0 +/* 8007A4BC 0007741C 40 82 FF E0 */ bne lbl_8007A49C +lbl_8007A4C0: +/* 8007A4C0 00077420 80 E3 00 08 */ lwz r7, 8(r3) +/* 8007A4C4 00077424 38 00 00 00 */ li r0, 0 +/* 8007A4C8 00077428 90 61 00 18 */ stw r3, 0x18(r1) +/* 8007A4CC 0007742C 39 20 00 00 */ li r9, 0 +/* 8007A4D0 00077430 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8007A4D4 00077434 90 61 00 20 */ stw r3, 0x20(r1) +/* 8007A4D8 00077438 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007A4DC 0007743C 90 61 00 08 */ stw r3, 8(r1) +/* 8007A4E0 00077440 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8007A4E4 00077444 90 61 00 10 */ stw r3, 0x10(r1) +/* 8007A4E8 00077448 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8007A4EC 0007744C 48 00 00 2C */ b lbl_8007A518 +lbl_8007A4F0: +/* 8007A4F0 00077450 80 A3 00 00 */ lwz r5, 0(r3) +/* 8007A4F4 00077454 88 C4 00 00 */ lbz r6, 0(r4) +/* 8007A4F8 00077458 7C 05 48 AE */ lbzx r0, r5, r9 +/* 8007A4FC 0007745C 7C C5 07 74 */ extsb r5, r6 +/* 8007A500 00077460 7C 00 07 74 */ extsb r0, r0 +/* 8007A504 00077464 7C 05 00 51 */ subf. r0, r5, r0 +/* 8007A508 00077468 41 82 00 08 */ beq lbl_8007A510 +/* 8007A50C 0007746C 48 00 00 A0 */ b lbl_8007A5AC +lbl_8007A510: +/* 8007A510 00077470 39 29 00 01 */ addi r9, r9, 1 +/* 8007A514 00077474 38 84 00 01 */ addi r4, r4, 1 +lbl_8007A518: +/* 8007A518 00077478 7C 03 18 40 */ cmplw r3, r3 +/* 8007A51C 0007747C 38 00 00 00 */ li r0, 0 +/* 8007A520 00077480 40 82 00 0C */ bne lbl_8007A52C +/* 8007A524 00077484 7C 09 38 00 */ cmpw r9, r7 +/* 8007A528 00077488 41 82 00 08 */ beq lbl_8007A530 +lbl_8007A52C: +/* 8007A52C 0007748C 38 00 00 01 */ li r0, 1 +lbl_8007A530: +/* 8007A530 00077490 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8007A534 00077494 41 82 00 0C */ beq lbl_8007A540 +/* 8007A538 00077498 7C 04 40 40 */ cmplw r4, r8 +/* 8007A53C 0007749C 40 82 FF B4 */ bne lbl_8007A4F0 +lbl_8007A540: +/* 8007A540 000774A0 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8007A544 000774A4 38 A0 00 00 */ li r5, 0 +/* 8007A548 000774A8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8007A54C 000774AC 7C 03 00 40 */ cmplw r3, r0 +/* 8007A550 000774B0 40 82 00 10 */ bne lbl_8007A560 +/* 8007A554 000774B4 7C 09 38 00 */ cmpw r9, r7 +/* 8007A558 000774B8 40 82 00 08 */ bne lbl_8007A560 +/* 8007A55C 000774BC 38 A0 00 01 */ li r5, 1 +lbl_8007A560: +/* 8007A560 000774C0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8007A564 000774C4 41 82 00 14 */ beq lbl_8007A578 +/* 8007A568 000774C8 7C 04 40 40 */ cmplw r4, r8 +/* 8007A56C 000774CC 41 82 00 0C */ beq lbl_8007A578 +/* 8007A570 000774D0 38 00 FF FF */ li r0, -1 +/* 8007A574 000774D4 48 00 00 38 */ b lbl_8007A5AC +lbl_8007A578: +/* 8007A578 000774D8 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8007A57C 000774DC 38 80 00 00 */ li r4, 0 +/* 8007A580 000774E0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8007A584 000774E4 7C 03 00 40 */ cmplw r3, r0 +/* 8007A588 000774E8 40 82 00 10 */ bne lbl_8007A598 +/* 8007A58C 000774EC 7C 09 38 00 */ cmpw r9, r7 +/* 8007A590 000774F0 40 82 00 08 */ bne lbl_8007A598 +/* 8007A594 000774F4 38 80 00 01 */ li r4, 1 +lbl_8007A598: +/* 8007A598 000774F8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8007A59C 000774FC 41 82 00 0C */ beq lbl_8007A5A8 +/* 8007A5A0 00077500 38 00 00 00 */ li r0, 0 +/* 8007A5A4 00077504 48 00 00 08 */ b lbl_8007A5AC +lbl_8007A5A8: +/* 8007A5A8 00077508 38 00 00 01 */ li r0, 1 +lbl_8007A5AC: +/* 8007A5AC 0007750C 7C 03 03 78 */ mr r3, r0 +/* 8007A5B0 00077510 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007A5B4 00077514 4E 80 00 20 */ blr + +.global UpdateDamageColor__10CPatternedFf +UpdateDamageColor__10CPatternedFf: +/* 8007A5B8 00077518 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007A5BC 0007751C 7C 08 02 A6 */ mflr r0 +/* 8007A5C0 00077520 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007A5C4 00077524 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8007A5C8 00077528 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8007A5CC 0007752C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007A5D0 00077530 7C 7F 1B 78 */ mr r31, r3 +/* 8007A5D4 00077534 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007A5D8 00077538 C0 43 04 28 */ lfs f2, 0x428(r3) +/* 8007A5DC 0007753C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8007A5E0 00077540 40 81 00 90 */ ble lbl_8007A670 +/* 8007A5E4 00077544 EC 02 08 28 */ fsubs f0, f2, f1 +/* 8007A5E8 00077548 38 81 00 10 */ addi r4, r1, 0x10 +/* 8007A5EC 0007754C 38 6D 84 14 */ addi r3, r13, lbl_805A6FD4@sda21 +/* 8007A5F0 00077550 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8007A5F4 00077554 4B FD 51 3D */ bl "Max__5CMathFRCfRCf" +/* 8007A5F8 00077558 C0 23 00 00 */ lfs f1, 0(r3) +/* 8007A5FC 0007755C 38 61 00 0C */ addi r3, r1, 0xc +/* 8007A600 00077560 C0 02 89 40 */ lfs f0, lbl_805AA660@sda21(r2) +/* 8007A604 00077564 38 8D 84 18 */ addi r4, r13, lbl_805A6FD8@sda21 +/* 8007A608 00077568 D0 3F 04 28 */ stfs f1, 0x428(r31) +/* 8007A60C 0007756C C0 3F 04 28 */ lfs f1, 0x428(r31) +/* 8007A610 00077570 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8007A614 00077574 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8007A618 00077578 48 00 37 C9 */ bl "Min__5CMathFRCfRCf" +/* 8007A61C 0007757C C3 E3 00 00 */ lfs f31, 0(r3) +/* 8007A620 00077580 48 2C F9 95 */ bl Black__6CColorFv +/* 8007A624 00077584 FC 20 F8 90 */ fmr f1, f31 +/* 8007A628 00077588 7C 64 1B 78 */ mr r4, r3 +/* 8007A62C 0007758C 38 61 00 08 */ addi r3, r1, 8 +/* 8007A630 00077590 38 BF 04 30 */ addi r5, r31, 0x430 +/* 8007A634 00077594 48 2E 8C 79 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8007A638 00077598 88 81 00 0A */ lbz r4, 0xa(r1) +/* 8007A63C 0007759C 88 A1 00 09 */ lbz r5, 9(r1) +/* 8007A640 000775A0 88 01 00 08 */ lbz r0, 8(r1) +/* 8007A644 000775A4 98 1F 04 2C */ stb r0, 0x42c(r31) +/* 8007A648 000775A8 98 BF 04 2D */ stb r5, 0x42d(r31) +/* 8007A64C 000775AC 98 9F 04 2E */ stb r4, 0x42e(r31) +/* 8007A650 000775B0 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8007A654 000775B4 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8007A658 000775B8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007A65C 000775BC 40 82 00 14 */ bne lbl_8007A670 +/* 8007A660 000775C0 C0 3F 05 0C */ lfs f1, 0x50c(r31) +/* 8007A664 000775C4 C0 1F 04 28 */ lfs f0, 0x428(r31) +/* 8007A668 000775C8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8007A66C 000775CC D0 1F 00 D0 */ stfs f0, 0xd0(r31) +lbl_8007A670: +/* 8007A670 000775D0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8007A674 000775D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007A678 000775D8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8007A67C 000775DC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007A680 000775E0 7C 08 03 A6 */ mtlr r0 +/* 8007A684 000775E4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007A688 000775E8 4E 80 00 20 */ blr + +.global UpdateAlphaDelta__10CPatternedFfR13CStateManager +UpdateAlphaDelta__10CPatternedFfR13CStateManager: +/* 8007A68C 000775EC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8007A690 000775F0 7C 08 02 A6 */ mflr r0 +/* 8007A694 000775F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8007A698 000775F8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8007A69C 000775FC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8007A6A0 00077600 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8007A6A4 00077604 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8007A6A8 00077608 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007A6AC 0007760C 7C 7F 1B 78 */ mr r31, r3 +/* 8007A6B0 00077610 C0 82 89 08 */ lfs f4, lbl_805AA628@sda21(r2) +/* 8007A6B4 00077614 C0 63 03 E8 */ lfs f3, 0x3e8(r3) +/* 8007A6B8 00077618 FC 04 18 00 */ fcmpu cr0, f4, f3 +/* 8007A6BC 0007761C 41 82 00 9C */ beq lbl_8007A758 +/* 8007A6C0 00077620 E0 BF A4 2F */ psq_l f5, 1071(r31), 1, qr2 +/* 8007A6C4 00077624 C0 42 89 00 */ lfs f2, lbl_805AA620@sda21(r2) +/* 8007A6C8 00077628 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 8007A6CC 0007762C EC 42 01 72 */ fmuls f2, f2, f5 +/* 8007A6D0 00077630 EF C1 10 FA */ fmadds f30, f1, f3, f2 +/* 8007A6D4 00077634 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8007A6D8 00077638 40 81 00 10 */ ble lbl_8007A6E8 +/* 8007A6DC 0007763C FF C0 00 90 */ fmr f30, f0 +/* 8007A6E0 00077640 D0 9F 03 E8 */ stfs f4, 0x3e8(r31) +/* 8007A6E4 00077644 48 00 00 24 */ b lbl_8007A708 +lbl_8007A6E8: +/* 8007A6E8 00077648 FC 1E 20 40 */ fcmpo cr0, f30, f4 +/* 8007A6EC 0007764C 40 80 00 1C */ bge lbl_8007A708 +/* 8007A6F0 00077650 D0 9F 03 E8 */ stfs f4, 0x3e8(r31) +/* 8007A6F4 00077654 FF C0 20 90 */ fmr f30, f4 +/* 8007A6F8 00077658 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 8007A6FC 0007765C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8007A700 00077660 41 82 00 08 */ beq lbl_8007A708 +/* 8007A704 00077664 4B FF E2 FD */ bl DeathDelete__10CPatternedFR13CStateManager +lbl_8007A708: +/* 8007A708 00077668 FC 20 F0 90 */ fmr f1, f30 +/* 8007A70C 0007766C 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8007A710 00077670 48 08 B5 F9 */ bl SetUserAlpha__13CSimpleShadowFf +/* 8007A714 00077674 C0 02 89 44 */ lfs f0, lbl_805AA664@sda21(r2) +/* 8007A718 00077678 EF E0 07 B2 */ fmuls f31, f0, f30 +/* 8007A71C 0007767C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 8007A720 00077680 FC 80 F0 90 */ fmr f4, f30 +/* 8007A724 00077684 C0 22 89 04 */ lfs f1, lbl_805AA624@sda21(r2) +/* 8007A728 00077688 38 61 00 0C */ addi r3, r1, 0xc +/* 8007A72C 0007768C 88 01 00 08 */ lbz r0, 8(r1) +/* 8007A730 00077690 FC 40 08 90 */ fmr f2, f1 +/* 8007A734 00077694 98 1F 04 2F */ stb r0, 0x42f(r31) +/* 8007A738 00077698 FC 60 08 90 */ fmr f3, f1 +/* 8007A73C 0007769C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8007A740 000776A0 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8007A744 000776A4 3B E4 01 20 */ addi r31, r4, 0x120 +/* 8007A748 000776A8 48 2E 8C A5 */ bl __ct__6CColorFffff +/* 8007A74C 000776AC 7C 64 1B 78 */ mr r4, r3 +/* 8007A750 000776B0 7F E3 FB 78 */ mr r3, r31 +/* 8007A754 000776B4 48 03 D3 C5 */ bl SetModulationColorAllActiveEffects__17CParticleDatabaseFRC6CColor +lbl_8007A758: +/* 8007A758 000776B8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8007A75C 000776BC CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8007A760 000776C0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8007A764 000776C4 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8007A768 000776C8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8007A76C 000776CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007A770 000776D0 7C 08 03 A6 */ mtlr r0 +/* 8007A774 000776D4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8007A778 000776D8 4E 80 00 20 */ blr + +.global KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef +KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: +/* 8007A77C 000776DC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8007A780 000776E0 7C 08 02 A6 */ mflr r0 +/* 8007A784 000776E4 90 01 00 64 */ stw r0, 0x64(r1) +/* 8007A788 000776E8 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8007A78C 000776EC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8007A790 000776F0 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8007A794 000776F4 81 83 00 00 */ lwz r12, 0(r3) +/* 8007A798 000776F8 7C BF 2B 78 */ mr r31, r5 +/* 8007A79C 000776FC 7C 9B 23 78 */ mr r27, r4 +/* 8007A7A0 00077700 FF E0 08 90 */ fmr f31, f1 +/* 8007A7A4 00077704 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8007A7A8 00077708 7C 7E 1B 78 */ mr r30, r3 +/* 8007A7AC 0007770C 7C DC 33 78 */ mr r28, r6 +/* 8007A7B0 00077710 7C FD 3B 78 */ mr r29, r7 +/* 8007A7B4 00077714 7F E4 FB 78 */ mr r4, r31 +/* 8007A7B8 00077718 7D 89 03 A6 */ mtctr r12 +/* 8007A7BC 0007771C 4E 80 04 21 */ bctrl +/* 8007A7C0 00077720 88 9E 04 01 */ lbz r4, 0x401(r30) +/* 8007A7C4 00077724 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f +/* 8007A7C8 00077728 40 82 03 50 */ bne lbl_8007AB18 +/* 8007A7CC 0007772C 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 8007A7D0 00077730 40 82 03 48 */ bne lbl_8007AB18 +/* 8007A7D4 00077734 28 03 00 00 */ cmplwi r3, 0 +/* 8007A7D8 00077738 40 82 00 08 */ bne lbl_8007A7E0 +/* 8007A7DC 0007773C 48 00 03 3C */ b lbl_8007AB18 +lbl_8007A7E0: +/* 8007A7E0 00077740 FC 20 F8 90 */ fmr f1, f31 +/* 8007A7E4 00077744 7F 64 DB 78 */ mr r4, r27 +/* 8007A7E8 00077748 7F E5 FB 78 */ mr r5, r31 +/* 8007A7EC 0007774C 7F C6 F3 78 */ mr r6, r30 +/* 8007A7F0 00077750 7F 87 E3 78 */ mr r7, r28 +/* 8007A7F4 00077754 7F A8 EB 78 */ mr r8, r29 +/* 8007A7F8 00077758 38 7E 04 60 */ addi r3, r30, 0x460 +/* 8007A7FC 0007775C 48 1B 94 35 */ bl KnockBack__C20CKnockBackControllerFRC9CVector3fR13CStateManagerR10CPatternedRC11CDamageInfo14EKnockBackTypef +/* 8007A800 00077760 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007A804 00077764 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8007A808 00077768 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007A80C 0007776C 41 82 00 1C */ beq lbl_8007A828 +/* 8007A810 00077770 C0 3E 04 70 */ lfs f1, 0x470(r30) +/* 8007A814 00077774 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007A818 00077778 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007A81C 0007777C 4C 41 13 82 */ cror 2, 1, 2 +/* 8007A820 00077780 40 82 00 08 */ bne lbl_8007A828 +/* 8007A824 00077784 48 0B F9 F1 */ bl FrozenBreakout__15CBodyControllerFv +lbl_8007A828: +/* 8007A828 00077788 80 1E 04 68 */ lwz r0, 0x468(r30) +/* 8007A82C 0007778C 28 00 00 09 */ cmplwi r0, 9 +/* 8007A830 00077790 41 81 02 E8 */ bgt lbl_8007AB18 +/* 8007A834 00077794 3C 60 80 3E */ lis r3, lbl_803DA8F8@ha +/* 8007A838 00077798 54 00 10 3A */ slwi r0, r0, 2 +/* 8007A83C 0007779C 38 63 A8 F8 */ addi r3, r3, lbl_803DA8F8@l +/* 8007A840 000777A0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8007A844 000777A4 7C 09 03 A6 */ mtctr r0 +/* 8007A848 000777A8 4E 80 04 20 */ bctr +/* 8007A84C 000777AC C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007A850 000777B0 7F 65 DB 78 */ mr r5, r27 +/* 8007A854 000777B4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8007A858 000777B8 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8007A85C 000777BC D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8007A860 000777C0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8007A864 000777C4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8007A868 000777C8 48 29 81 BD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8007A86C 000777CC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8007A870 000777D0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8007A874 000777D4 48 29 95 5D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8007A878 000777D8 C0 3E 04 6C */ lfs f1, 0x46c(r30) +/* 8007A87C 000777DC 7F C3 F3 78 */ mr r3, r30 +/* 8007A880 000777E0 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 8007A884 000777E4 7F E4 FB 78 */ mr r4, r31 +/* 8007A888 000777E8 80 E1 00 24 */ lwz r7, 0x24(r1) +/* 8007A88C 000777EC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8007A890 000777F0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8007A894 000777F4 90 C1 00 08 */ stw r6, 8(r1) +/* 8007A898 000777F8 38 C1 00 08 */ addi r6, r1, 8 +/* 8007A89C 000777FC 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8007A8A0 00077800 90 01 00 10 */ stw r0, 0x10(r1) +/* 8007A8A4 00077804 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007A8A8 00077808 81 8C 02 90 */ lwz r12, 0x290(r12) +/* 8007A8AC 0007780C 7D 89 03 A6 */ mtctr r12 +/* 8007A8B0 00077810 4E 80 04 21 */ bctrl +/* 8007A8B4 00077814 48 00 02 64 */ b lbl_8007AB18 +/* 8007A8B8 00077818 7F C3 F3 78 */ mr r3, r30 +/* 8007A8BC 0007781C 7F E4 FB 78 */ mr r4, r31 +/* 8007A8C0 00077820 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007A8C4 00077824 81 8C 02 C4 */ lwz r12, 0x2c4(r12) +/* 8007A8C8 00077828 7D 89 03 A6 */ mtctr r12 +/* 8007A8CC 0007782C 4E 80 04 21 */ bctrl +/* 8007A8D0 00077830 48 00 02 48 */ b lbl_8007AB18 +/* 8007A8D4 00077834 7F C3 F3 78 */ mr r3, r30 +/* 8007A8D8 00077838 7F E4 FB 78 */ mr r4, r31 +/* 8007A8DC 0007783C 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007A8E0 00077840 C0 3E 04 6C */ lfs f1, 0x46c(r30) +/* 8007A8E4 00077844 81 8C 02 A4 */ lwz r12, 0x2a4(r12) +/* 8007A8E8 00077848 C0 42 89 48 */ lfs f2, lbl_805AA668@sda21(r2) +/* 8007A8EC 0007784C 7D 89 03 A6 */ mtctr r12 +/* 8007A8F0 00077850 4E 80 04 21 */ bctrl +/* 8007A8F4 00077854 48 00 02 24 */ b lbl_8007AB18 +/* 8007A8F8 00077858 7F C3 F3 78 */ mr r3, r30 +/* 8007A8FC 0007785C C0 3E 04 6C */ lfs f1, 0x46c(r30) +/* 8007A900 00077860 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007A904 00077864 C0 42 89 4C */ lfs f2, lbl_805AA66C@sda21(r2) +/* 8007A908 00077868 81 8C 02 A0 */ lwz r12, 0x2a0(r12) +/* 8007A90C 0007786C 7D 89 03 A6 */ mtctr r12 +/* 8007A910 00077870 4E 80 04 21 */ bctrl +/* 8007A914 00077874 48 00 02 04 */ b lbl_8007AB18 +/* 8007A918 00077878 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 8007A91C 0007787C 38 60 00 01 */ li r3, 1 +/* 8007A920 00077880 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8007A924 00077884 98 1E 04 01 */ stb r0, 0x401(r30) +/* 8007A928 00077888 7F C3 F3 78 */ mr r3, r30 +/* 8007A92C 0007788C C0 3E 04 6C */ lfs f1, 0x46c(r30) +/* 8007A930 00077890 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007A934 00077894 C0 42 89 48 */ lfs f2, lbl_805AA668@sda21(r2) +/* 8007A938 00077898 81 8C 02 A0 */ lwz r12, 0x2a0(r12) +/* 8007A93C 0007789C 7D 89 03 A6 */ mtctr r12 +/* 8007A940 000778A0 4E 80 04 21 */ bctrl +/* 8007A944 000778A4 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007A948 000778A8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007A94C 000778AC 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8007A950 000778B0 7F C3 F3 78 */ mr r3, r30 +/* 8007A954 000778B4 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 8007A958 000778B8 7F E4 FB 78 */ mr r4, r31 +/* 8007A95C 000778BC 38 C0 00 14 */ li r6, 0x14 +/* 8007A960 000778C0 7D 89 03 A6 */ mtctr r12 +/* 8007A964 000778C4 4E 80 04 21 */ bctrl +/* 8007A968 000778C8 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007A96C 000778CC 38 A0 00 00 */ li r5, 0 +/* 8007A970 000778D0 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8007A974 000778D4 38 80 00 01 */ li r4, 1 +/* 8007A978 000778D8 98 1E 04 00 */ stb r0, 0x400(r30) +/* 8007A97C 000778DC 54 05 F7 FE */ rlwinm r5, r0, 0x1e, 0x1f, 0x1f +/* 8007A980 000778E0 C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) +/* 8007A984 000778E4 38 60 00 00 */ li r3, 0 +/* 8007A988 000778E8 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007A98C 000778EC 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8007A990 000778F0 98 1E 04 00 */ stb r0, 0x400(r30) +/* 8007A994 000778F4 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 8007A998 000778F8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8007A99C 000778FC 98 1E 04 01 */ stb r0, 0x401(r30) +/* 8007A9A0 00077900 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f +/* 8007A9A4 00077904 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007A9A8 00077908 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8007A9AC 0007790C 98 1E 04 00 */ stb r0, 0x400(r30) +/* 8007A9B0 00077910 D0 1E 03 F4 */ stfs f0, 0x3f4(r30) +/* 8007A9B4 00077914 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 8007A9B8 00077918 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8007A9BC 0007791C 98 1E 04 02 */ stb r0, 0x402(r30) +/* 8007A9C0 00077920 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007A9C4 00077924 48 0B F6 B5 */ bl DouseFlames__15CBodyControllerFv +/* 8007A9C8 00077928 83 FF 08 84 */ lwz r31, 0x884(r31) +/* 8007A9CC 0007792C 7F C4 F3 78 */ mr r4, r30 +/* 8007A9D0 00077930 7F E3 FB 78 */ mr r3, r31 +/* 8007A9D4 00077934 48 16 A6 71 */ bl StopThermalHotParticles__20CActorModelParticlesFR5CActor +/* 8007A9D8 00077938 7F E3 FB 78 */ mr r3, r31 +/* 8007A9DC 0007793C 7F C4 F3 78 */ mr r4, r30 +/* 8007A9E0 00077940 48 16 8F 65 */ bl StartBurnDeath__20CActorModelParticlesFR5CActor +/* 8007A9E4 00077944 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 8007A9E8 00077948 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8007A9EC 0007794C 40 82 01 2C */ bne lbl_8007AB18 +/* 8007A9F0 00077950 7F E3 FB 78 */ mr r3, r31 +/* 8007A9F4 00077954 7F C4 F3 78 */ mr r4, r30 +/* 8007A9F8 00077958 48 16 A8 D9 */ bl EnsureFirePopLoaded__20CActorModelParticlesR5CActor +/* 8007A9FC 0007795C 7F E3 FB 78 */ mr r3, r31 +/* 8007AA00 00077960 7F C4 F3 78 */ mr r4, r30 +/* 8007AA04 00077964 48 16 A9 09 */ bl EnsureIceBreakLoaded__20CActorModelParticlesR5CActor +/* 8007AA08 00077968 48 00 01 10 */ b lbl_8007AB18 +/* 8007AA0C 0007796C 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007AA10 00077970 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007AA14 00077974 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8007AA18 00077978 7F C3 F3 78 */ mr r3, r30 +/* 8007AA1C 0007797C 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 8007AA20 00077980 7F E4 FB 78 */ mr r4, r31 +/* 8007AA24 00077984 38 C0 00 14 */ li r6, 0x14 +/* 8007AA28 00077988 7D 89 03 A6 */ mtctr r12 +/* 8007AA2C 0007798C 4E 80 04 21 */ bctrl +/* 8007AA30 00077990 48 00 00 E8 */ b lbl_8007AB18 +/* 8007AA34 00077994 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007AA38 00077998 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007AA3C 0007799C 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8007AA40 000779A0 7F C3 F3 78 */ mr r3, r30 +/* 8007AA44 000779A4 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 8007AA48 000779A8 7F E4 FB 78 */ mr r4, r31 +/* 8007AA4C 000779AC 38 C0 00 14 */ li r6, 0x14 +/* 8007AA50 000779B0 7D 89 03 A6 */ mtctr r12 +/* 8007AA54 000779B4 4E 80 04 21 */ bctrl +/* 8007AA58 000779B8 7F C3 F3 78 */ mr r3, r30 +/* 8007AA5C 000779BC 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007AA60 000779C0 81 8C 02 C8 */ lwz r12, 0x2c8(r12) +/* 8007AA64 000779C4 7D 89 03 A6 */ mtctr r12 +/* 8007AA68 000779C8 4E 80 04 21 */ bctrl +/* 8007AA6C 000779CC 88 03 00 0C */ lbz r0, 0xc(r3) +/* 8007AA70 000779D0 28 00 00 00 */ cmplwi r0, 0 +/* 8007AA74 000779D4 40 82 00 10 */ bne lbl_8007AA84 +/* 8007AA78 000779D8 88 1E 05 3C */ lbz r0, 0x53c(r30) +/* 8007AA7C 000779DC 28 00 00 00 */ cmplwi r0, 0 +/* 8007AA80 000779E0 41 82 00 20 */ beq lbl_8007AAA0 +lbl_8007AA84: +/* 8007AA84 000779E4 7F C3 F3 78 */ mr r3, r30 +/* 8007AA88 000779E8 7F E4 FB 78 */ mr r4, r31 +/* 8007AA8C 000779EC 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007AA90 000779F0 81 8C 02 98 */ lwz r12, 0x298(r12) +/* 8007AA94 000779F4 7D 89 03 A6 */ mtctr r12 +/* 8007AA98 000779F8 4E 80 04 21 */ bctrl +/* 8007AA9C 000779FC 48 00 00 7C */ b lbl_8007AB18 +lbl_8007AAA0: +/* 8007AAA0 00077A00 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007AAA4 00077A04 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8007AAA8 00077A08 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007AAAC 00077A0C 41 82 00 6C */ beq lbl_8007AB18 +/* 8007AAB0 00077A10 48 0B F7 65 */ bl FrozenBreakout__15CBodyControllerFv +/* 8007AAB4 00077A14 48 00 00 64 */ b lbl_8007AB18 +/* 8007AAB8 00077A18 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007AABC 00077A1C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007AAC0 00077A20 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8007AAC4 00077A24 7F C3 F3 78 */ mr r3, r30 +/* 8007AAC8 00077A28 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 8007AACC 00077A2C 7F E4 FB 78 */ mr r4, r31 +/* 8007AAD0 00077A30 38 C0 00 14 */ li r6, 0x14 +/* 8007AAD4 00077A34 7D 89 03 A6 */ mtctr r12 +/* 8007AAD8 00077A38 4E 80 04 21 */ bctrl +/* 8007AADC 00077A3C 88 1E 05 58 */ lbz r0, 0x558(r30) +/* 8007AAE0 00077A40 28 00 00 00 */ cmplwi r0, 0 +/* 8007AAE4 00077A44 41 82 00 20 */ beq lbl_8007AB04 +/* 8007AAE8 00077A48 7F C3 F3 78 */ mr r3, r30 +/* 8007AAEC 00077A4C 7F E4 FB 78 */ mr r4, r31 +/* 8007AAF0 00077A50 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007AAF4 00077A54 81 8C 02 9C */ lwz r12, 0x29c(r12) +/* 8007AAF8 00077A58 7D 89 03 A6 */ mtctr r12 +/* 8007AAFC 00077A5C 4E 80 04 21 */ bctrl +/* 8007AB00 00077A60 48 00 00 18 */ b lbl_8007AB18 +lbl_8007AB04: +/* 8007AB04 00077A64 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007AB08 00077A68 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8007AB0C 00077A6C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007AB10 00077A70 41 82 00 08 */ beq lbl_8007AB18 +/* 8007AB14 00077A74 48 0B F7 01 */ bl FrozenBreakout__15CBodyControllerFv +lbl_8007AB18: +/* 8007AB18 00077A78 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8007AB1C 00077A7C CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8007AB20 00077A80 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8007AB24 00077A84 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8007AB28 00077A88 7C 08 03 A6 */ mtlr r0 +/* 8007AB2C 00077A8C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8007AB30 00077A90 4E 80 00 20 */ blr + +.global MassiveFrozenDeath__10CPatternedFR13CStateManager +MassiveFrozenDeath__10CPatternedFR13CStateManager: +/* 8007AB34 00077A94 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8007AB38 00077A98 7C 08 02 A6 */ mflr r0 +/* 8007AB3C 00077A9C 90 01 01 24 */ stw r0, 0x124(r1) +/* 8007AB40 00077AA0 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 8007AB44 00077AA4 93 E1 01 1C */ stw r31, 0x11c(r1) +/* 8007AB48 00077AA8 7C 9F 23 78 */ mr r31, r4 +/* 8007AB4C 00077AAC 93 C1 01 18 */ stw r30, 0x118(r1) +/* 8007AB50 00077AB0 7C 7E 1B 78 */ mr r30, r3 +/* 8007AB54 00077AB4 80 63 04 58 */ lwz r3, 0x458(r3) +/* 8007AB58 00077AB8 7C 03 00 40 */ cmplw r3, r0 +/* 8007AB5C 00077ABC 40 82 00 0C */ bne lbl_8007AB68 +/* 8007AB60 00077AC0 80 1E 04 54 */ lwz r0, 0x454(r30) +/* 8007AB64 00077AC4 90 1E 04 58 */ stw r0, 0x458(r30) +lbl_8007AB68: +/* 8007AB68 00077AC8 80 1E 04 58 */ lwz r0, 0x458(r30) +/* 8007AB6C 00077ACC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8007AB70 00077AD0 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8007AB74 00077AD4 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8007AB78 00077AD8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8007AB7C 00077ADC 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 8007AB80 00077AE0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8007AB84 00077AE4 38 61 00 08 */ addi r3, r1, 8 +/* 8007AB88 00077AE8 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8007AB8C 00077AEC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8007AB90 00077AF0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8007AB94 00077AF4 38 E0 00 01 */ li r7, 1 +/* 8007AB98 00077AF8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8007AB9C 00077AFC 39 00 00 00 */ li r8, 0 +/* 8007ABA0 00077B00 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8007ABA4 00077B04 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8007ABA8 00077B08 48 26 F7 09 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 8007ABAC 00077B0C 7F C3 F3 78 */ mr r3, r30 +/* 8007ABB0 00077B10 7F E5 FB 78 */ mr r5, r31 +/* 8007ABB4 00077B14 38 80 00 18 */ li r4, 0x18 +/* 8007ABB8 00077B18 38 C0 FF FF */ li r6, -1 +/* 8007ABBC 00077B1C 4B FD 65 05 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8007ABC0 00077B20 7F C3 F3 78 */ mr r3, r30 +/* 8007ABC4 00077B24 7F E4 FB 78 */ mr r4, r31 +/* 8007ABC8 00077B28 48 00 01 F1 */ bl GenerateIceDeathExplosion__10CPatternedFR13CStateManager +/* 8007ABCC 00077B2C 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8007ABD0 00077B30 38 61 00 30 */ addi r3, r1, 0x30 +/* 8007ABD4 00077B34 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8007ABD8 00077B38 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8007ABDC 00077B3C C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8007ABE0 00077B40 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8007ABE4 00077B44 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8007ABE8 00077B48 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 8007ABEC 00077B4C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8007ABF0 00077B50 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8007ABF4 00077B54 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8007ABF8 00077B58 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 8007ABFC 00077B5C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8007AC00 00077B60 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8007AC04 00077B64 48 29 9C B5 */ bl Magnitude__9CVector3fCFv +/* 8007AC08 00077B68 C0 62 89 50 */ lfs f3, lbl_805AA670@sda21(r2) +/* 8007AC0C 00077B6C FC 01 18 40 */ fcmpo cr0, f1, f3 +/* 8007AC10 00077B70 40 80 00 94 */ bge lbl_8007ACA4 +/* 8007AC14 00077B74 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8007AC18 00077B78 38 61 00 3C */ addi r3, r1, 0x3c +/* 8007AC1C 00077B7C C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8007AC20 00077B80 38 81 00 18 */ addi r4, r1, 0x18 +/* 8007AC24 00077B84 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8007AC28 00077B88 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 8007AC2C 00077B8C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8007AC30 00077B90 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 8007AC34 00077B94 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8007AC38 00077B98 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8007AC3C 00077B9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007AC40 00077BA0 C0 22 89 4C */ lfs f1, lbl_805AA66C@sda21(r2) +/* 8007AC44 00077BA4 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8007AC48 00077BA8 C0 42 89 54 */ lfs f2, lbl_805AA674@sda21(r2) +/* 8007AC4C 00077BAC 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8007AC50 00077BB0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8007AC54 00077BB4 48 0E 29 71 */ bl BuildPatternedExplodeShakeData__16CCameraShakeDataFRC9CVector3ffff +/* 8007AC58 00077BB8 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8007AC5C 00077BBC 38 81 00 3C */ addi r4, r1, 0x3c +/* 8007AC60 00077BC0 38 A0 00 01 */ li r5, 1 +/* 8007AC64 00077BC4 4B F8 FD BD */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab +/* 8007AC68 00077BC8 34 81 00 BC */ addic. r4, r1, 0xbc +/* 8007AC6C 00077BCC 41 82 00 10 */ beq lbl_8007AC7C +/* 8007AC70 00077BD0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8007AC74 00077BD4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8007AC78 00077BD8 90 04 00 00 */ stw r0, 0(r4) +lbl_8007AC7C: +/* 8007AC7C 00077BDC 34 81 00 80 */ addic. r4, r1, 0x80 +/* 8007AC80 00077BE0 41 82 00 10 */ beq lbl_8007AC90 +/* 8007AC84 00077BE4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8007AC88 00077BE8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8007AC8C 00077BEC 90 04 00 00 */ stw r0, 0(r4) +lbl_8007AC90: +/* 8007AC90 00077BF0 34 81 00 44 */ addic. r4, r1, 0x44 +/* 8007AC94 00077BF4 41 82 00 10 */ beq lbl_8007ACA4 +/* 8007AC98 00077BF8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8007AC9C 00077BFC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8007ACA0 00077C00 90 04 00 00 */ stw r0, 0(r4) +lbl_8007ACA4: +/* 8007ACA4 00077C04 7F C3 F3 78 */ mr r3, r30 +/* 8007ACA8 00077C08 7F E4 FB 78 */ mr r4, r31 +/* 8007ACAC 00077C0C 4B FF DD 55 */ bl DeathDelete__10CPatternedFR13CStateManager +/* 8007ACB0 00077C10 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007ACB4 00077C14 38 60 00 00 */ li r3, 0 +/* 8007ACB8 00077C18 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8007ACBC 00077C1C 98 1E 04 00 */ stb r0, 0x400(r30) +/* 8007ACC0 00077C20 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f +/* 8007ACC4 00077C24 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007ACC8 00077C28 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8007ACCC 00077C2C 98 1E 04 00 */ stb r0, 0x400(r30) +/* 8007ACD0 00077C30 83 E1 01 1C */ lwz r31, 0x11c(r1) +/* 8007ACD4 00077C34 83 C1 01 18 */ lwz r30, 0x118(r1) +/* 8007ACD8 00077C38 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8007ACDC 00077C3C 7C 08 03 A6 */ mtlr r0 +/* 8007ACE0 00077C40 38 21 01 20 */ addi r1, r1, 0x120 +/* 8007ACE4 00077C44 4E 80 00 20 */ blr + +.global MassiveDeath__10CPatternedFR13CStateManager +MassiveDeath__10CPatternedFR13CStateManager: +/* 8007ACE8 00077C48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007ACEC 00077C4C 7C 08 02 A6 */ mflr r0 +/* 8007ACF0 00077C50 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8007ACF4 00077C54 38 E0 00 01 */ li r7, 1 +/* 8007ACF8 00077C58 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007ACFC 00077C5C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8007AD00 00077C60 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8007AD04 00077C64 39 00 00 00 */ li r8, 0 +/* 8007AD08 00077C68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007AD0C 00077C6C 7C 9F 23 78 */ mr r31, r4 +/* 8007AD10 00077C70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8007AD14 00077C74 7C 7E 1B 78 */ mr r30, r3 +/* 8007AD18 00077C78 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8007AD1C 00077C7C 80 1E 04 54 */ lwz r0, 0x454(r30) +/* 8007AD20 00077C80 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8007AD24 00077C84 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8007AD28 00077C88 38 61 00 08 */ addi r3, r1, 8 +/* 8007AD2C 00077C8C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8007AD30 00077C90 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 8007AD34 00077C94 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8007AD38 00077C98 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8007AD3C 00077C9C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8007AD40 00077CA0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8007AD44 00077CA4 48 26 F5 6D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 8007AD48 00077CA8 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 8007AD4C 00077CAC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8007AD50 00077CB0 40 82 00 24 */ bne lbl_8007AD74 +/* 8007AD54 00077CB4 7F C3 F3 78 */ mr r3, r30 +/* 8007AD58 00077CB8 7F E5 FB 78 */ mr r5, r31 +/* 8007AD5C 00077CBC 38 80 00 13 */ li r4, 0x13 +/* 8007AD60 00077CC0 38 C0 FF FF */ li r6, -1 +/* 8007AD64 00077CC4 4B FD 63 5D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8007AD68 00077CC8 7F C3 F3 78 */ mr r3, r30 +/* 8007AD6C 00077CCC 7F E4 FB 78 */ mr r4, r31 +/* 8007AD70 00077CD0 48 00 02 69 */ bl GenerateDeathExplosion__10CPatternedFR13CStateManager +lbl_8007AD74: +/* 8007AD74 00077CD4 7F C3 F3 78 */ mr r3, r30 +/* 8007AD78 00077CD8 7F E4 FB 78 */ mr r4, r31 +/* 8007AD7C 00077CDC 4B FF DC 85 */ bl DeathDelete__10CPatternedFR13CStateManager +/* 8007AD80 00077CE0 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007AD84 00077CE4 38 60 00 00 */ li r3, 0 +/* 8007AD88 00077CE8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8007AD8C 00077CEC 98 1E 04 00 */ stb r0, 0x400(r30) +/* 8007AD90 00077CF0 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f +/* 8007AD94 00077CF4 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007AD98 00077CF8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8007AD9C 00077CFC 98 1E 04 00 */ stb r0, 0x400(r30) +/* 8007ADA0 00077D00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007ADA4 00077D04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8007ADA8 00077D08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007ADAC 00077D0C 7C 08 03 A6 */ mtlr r0 +/* 8007ADB0 00077D10 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007ADB4 00077D14 4E 80 00 20 */ blr + +.global GenerateIceDeathExplosion__10CPatternedFR13CStateManager +GenerateIceDeathExplosion__10CPatternedFR13CStateManager: +/* 8007ADB8 00077D18 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8007ADBC 00077D1C 7C 08 02 A6 */ mflr r0 +/* 8007ADC0 00077D20 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8007ADC4 00077D24 BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 8007ADC8 00077D28 7C 7A 1B 78 */ mr r26, r3 +/* 8007ADCC 00077D2C 7C 9E 23 78 */ mr r30, r4 +/* 8007ADD0 00077D30 3B 7A 05 4C */ addi r27, r26, 0x54c +/* 8007ADD4 00077D34 88 03 05 58 */ lbz r0, 0x558(r3) +/* 8007ADD8 00077D38 28 00 00 00 */ cmplwi r0, 0 +/* 8007ADDC 00077D3C 41 82 01 E8 */ beq lbl_8007AFC4 +/* 8007ADE0 00077D40 38 61 00 8C */ addi r3, r1, 0x8c +/* 8007ADE4 00077D44 38 9A 00 34 */ addi r4, r26, 0x34 +/* 8007ADE8 00077D48 48 29 7D 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8007ADEC 00077D4C 80 DA 00 64 */ lwz r6, 0x64(r26) +/* 8007ADF0 00077D50 38 61 00 5C */ addi r3, r1, 0x5c +/* 8007ADF4 00077D54 C0 1A 05 48 */ lfs f0, 0x548(r26) +/* 8007ADF8 00077D58 38 9A 00 34 */ addi r4, r26, 0x34 +/* 8007ADFC 00077D5C C0 26 00 08 */ lfs f1, 8(r6) +/* 8007AE00 00077D60 38 A1 00 68 */ addi r5, r1, 0x68 +/* 8007AE04 00077D64 C0 66 00 04 */ lfs f3, 4(r6) +/* 8007AE08 00077D68 C0 5A 05 44 */ lfs f2, 0x544(r26) +/* 8007AE0C 00077D6C EC 81 00 32 */ fmuls f4, f1, f0 +/* 8007AE10 00077D70 C0 26 00 00 */ lfs f1, 0(r6) +/* 8007AE14 00077D74 C0 1A 05 40 */ lfs f0, 0x540(r26) +/* 8007AE18 00077D78 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8007AE1C 00077D7C D0 81 00 70 */ stfs f4, 0x70(r1) +/* 8007AE20 00077D80 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8007AE24 00077D84 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8007AE28 00077D88 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8007AE2C 00077D8C 48 29 7C BD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8007AE30 00077D90 88 1B 00 0C */ lbz r0, 0xc(r27) +/* 8007AE34 00077D94 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 8007AE38 00077D98 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8007AE3C 00077D9C 28 00 00 00 */ cmplwi r0, 0 +/* 8007AE40 00077DA0 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8007AE44 00077DA4 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8007AE48 00077DA8 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 8007AE4C 00077DAC D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8007AE50 00077DB0 41 82 01 74 */ beq lbl_8007AFC4 +/* 8007AE54 00077DB4 3C 60 80 3D */ lis r3, lbl_803CD600@ha +/* 8007AE58 00077DB8 3B A0 00 00 */ li r29, 0 +/* 8007AE5C 00077DBC 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l +/* 8007AE60 00077DC0 3B 20 00 00 */ li r25, 0 +/* 8007AE64 00077DC4 3B 80 00 00 */ li r28, 0 +/* 8007AE68 00077DC8 38 60 01 00 */ li r3, 0x100 +/* 8007AE6C 00077DCC 38 A0 00 00 */ li r5, 0 +/* 8007AE70 00077DD0 48 29 A9 FD */ bl __nw__FUlPCcPCc +/* 8007AE74 00077DD4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007AE78 00077DD8 41 82 00 CC */ beq lbl_8007AF44 +/* 8007AE7C 00077DDC 3B 21 00 34 */ addi r25, r1, 0x34 +/* 8007AE80 00077DE0 7F 64 DB 78 */ mr r4, r27 +/* 8007AE84 00077DE4 7F 23 CB 78 */ mr r3, r25 +/* 8007AE88 00077DE8 48 2C 60 21 */ bl __ct__6CTokenFRC6CToken +/* 8007AE8C 00077DEC 7F 23 CB 78 */ mr r3, r25 +/* 8007AE90 00077DF0 48 2C 5F 7D */ bl GetObj__6CTokenFv +/* 8007AE94 00077DF4 80 03 00 04 */ lwz r0, 4(r3) +/* 8007AE98 00077DF8 7F C4 F3 78 */ mr r4, r30 +/* 8007AE9C 00077DFC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8007AEA0 00077E00 3B 80 00 01 */ li r28, 1 +/* 8007AEA4 00077E04 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8007AEA8 00077E08 4B FD 22 35 */ bl AllocateUniqueId__13CStateManagerFv +/* 8007AEAC 00077E0C 80 FA 00 04 */ lwz r7, 4(r26) +/* 8007AEB0 00077E10 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8007AEB4 00077E14 A0 81 00 10 */ lhz r4, 0x10(r1) +/* 8007AEB8 00077E18 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8007AEBC 00077E1C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8007AEC0 00077E20 38 61 00 74 */ addi r3, r1, 0x74 +/* 8007AEC4 00077E24 B0 81 00 14 */ sth r4, 0x14(r1) +/* 8007AEC8 00077E28 38 81 00 2C */ addi r4, r1, 0x2c +/* 8007AECC 00077E2C 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8007AED0 00077E30 90 E1 00 28 */ stw r7, 0x28(r1) +/* 8007AED4 00077E34 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 8007AED8 00077E38 90 01 00 30 */ stw r0, 0x30(r1) +/* 8007AEDC 00077E3C 4B FD 65 A9 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8007AEE0 00077E40 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 8007AEE4 00077E44 38 61 00 40 */ addi r3, r1, 0x40 +/* 8007AEE8 00077E48 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 8007AEEC 00077E4C 3B 20 00 01 */ li r25, 1 +/* 8007AEF0 00077E50 38 84 00 25 */ addi r4, r4, 0x25 +/* 8007AEF4 00077E54 4B F8 9D C5 */ bl string_l__4rstlFPCc +/* 8007AEF8 00077E58 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 8007AEFC 00077E5C 3B A0 00 01 */ li r29, 1 +/* 8007AF00 00077E60 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8007AF04 00077E64 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8007AF08 00077E68 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8007AF0C 00077E6C 48 2C F0 A1 */ bl White__6CColorFv +/* 8007AF10 00077E70 38 01 00 50 */ addi r0, r1, 0x50 +/* 8007AF14 00077E74 38 81 00 34 */ addi r4, r1, 0x34 +/* 8007AF18 00077E78 90 01 00 08 */ stw r0, 8(r1) +/* 8007AF1C 00077E7C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8007AF20 00077E80 38 E1 00 74 */ addi r7, r1, 0x74 +/* 8007AF24 00077E84 39 01 00 40 */ addi r8, r1, 0x40 +/* 8007AF28 00077E88 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007AF2C 00077E8C 7F E3 FB 78 */ mr r3, r31 +/* 8007AF30 00077E90 39 21 00 8C */ addi r9, r1, 0x8c +/* 8007AF34 00077E94 38 C0 00 01 */ li r6, 1 +/* 8007AF38 00077E98 39 40 00 01 */ li r10, 1 +/* 8007AF3C 00077E9C 4B FD FB BD */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +/* 8007AF40 00077EA0 7C 7F 1B 78 */ mr r31, r3 +lbl_8007AF44: +/* 8007AF44 00077EA4 7F 80 07 75 */ extsb. r0, r28 +/* 8007AF48 00077EA8 41 82 00 10 */ beq lbl_8007AF58 +/* 8007AF4C 00077EAC 38 61 00 34 */ addi r3, r1, 0x34 +/* 8007AF50 00077EB0 38 80 00 00 */ li r4, 0 +/* 8007AF54 00077EB4 48 2C 5E ED */ bl __dt__6CTokenFv +lbl_8007AF58: +/* 8007AF58 00077EB8 7F 20 07 75 */ extsb. r0, r25 +/* 8007AF5C 00077EBC 41 82 00 44 */ beq lbl_8007AFA0 +/* 8007AF60 00077EC0 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8007AF64 00077EC4 80 61 00 84 */ lwz r3, 0x84(r1) +/* 8007AF68 00077EC8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8007AF6C 00077ECC 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8007AF70 00077ED0 7C 64 1B 78 */ mr r4, r3 +/* 8007AF74 00077ED4 7C 03 02 14 */ add r0, r3, r0 +/* 8007AF78 00077ED8 90 61 00 18 */ stw r3, 0x18(r1) +/* 8007AF7C 00077EDC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007AF80 00077EE0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8007AF84 00077EE4 48 00 00 08 */ b lbl_8007AF8C +lbl_8007AF88: +/* 8007AF88 00077EE8 38 84 00 0C */ addi r4, r4, 0xc +lbl_8007AF8C: +/* 8007AF8C 00077EEC 7C 04 00 40 */ cmplw r4, r0 +/* 8007AF90 00077EF0 40 82 FF F8 */ bne lbl_8007AF88 +/* 8007AF94 00077EF4 28 03 00 00 */ cmplwi r3, 0 +/* 8007AF98 00077EF8 41 82 00 08 */ beq lbl_8007AFA0 +/* 8007AF9C 00077EFC 48 29 A9 95 */ bl Free__7CMemoryFPCv +lbl_8007AFA0: +/* 8007AFA0 00077F00 7F A0 07 75 */ extsb. r0, r29 +/* 8007AFA4 00077F04 41 82 00 0C */ beq lbl_8007AFB0 +/* 8007AFA8 00077F08 38 61 00 40 */ addi r3, r1, 0x40 +/* 8007AFAC 00077F0C 48 2C 2B 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8007AFB0: +/* 8007AFB0 00077F10 28 1F 00 00 */ cmplwi r31, 0 +/* 8007AFB4 00077F14 41 82 00 10 */ beq lbl_8007AFC4 +/* 8007AFB8 00077F18 7F C3 F3 78 */ mr r3, r30 +/* 8007AFBC 00077F1C 7F E4 FB 78 */ mr r4, r31 +/* 8007AFC0 00077F20 4B FD 1D 35 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +lbl_8007AFC4: +/* 8007AFC4 00077F24 BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 8007AFC8 00077F28 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8007AFCC 00077F2C 7C 08 03 A6 */ mtlr r0 +/* 8007AFD0 00077F30 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8007AFD4 00077F34 4E 80 00 20 */ blr + +.global GenerateDeathExplosion__10CPatternedFR13CStateManager +GenerateDeathExplosion__10CPatternedFR13CStateManager: +/* 8007AFD8 00077F38 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8007AFDC 00077F3C 7C 08 02 A6 */ mflr r0 +/* 8007AFE0 00077F40 90 01 01 44 */ stw r0, 0x144(r1) +/* 8007AFE4 00077F44 BF 01 01 20 */ stmw r24, 0x120(r1) +/* 8007AFE8 00077F48 7C 7C 1B 78 */ mr r28, r3 +/* 8007AFEC 00077F4C 7C 9D 23 78 */ mr r29, r4 +/* 8007AFF0 00077F50 81 83 00 00 */ lwz r12, 0(r3) +/* 8007AFF4 00077F54 81 8C 02 C8 */ lwz r12, 0x2c8(r12) +/* 8007AFF8 00077F58 7D 89 03 A6 */ mtctr r12 +/* 8007AFFC 00077F5C 4E 80 04 21 */ bctrl +/* 8007B000 00077F60 88 03 00 0C */ lbz r0, 0xc(r3) +/* 8007B004 00077F64 3B DC 05 30 */ addi r30, r28, 0x530 +/* 8007B008 00077F68 7C 78 1B 78 */ mr r24, r3 +/* 8007B00C 00077F6C 28 00 00 00 */ cmplwi r0, 0 +/* 8007B010 00077F70 40 82 00 10 */ bne lbl_8007B020 +/* 8007B014 00077F74 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 8007B018 00077F78 28 00 00 00 */ cmplwi r0, 0 +/* 8007B01C 00077F7C 41 82 03 74 */ beq lbl_8007B390 +lbl_8007B020: +/* 8007B020 00077F80 38 61 00 EC */ addi r3, r1, 0xec +/* 8007B024 00077F84 38 9C 00 34 */ addi r4, r28, 0x34 +/* 8007B028 00077F88 48 29 7B 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8007B02C 00077F8C 80 DC 00 64 */ lwz r6, 0x64(r28) +/* 8007B030 00077F90 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8007B034 00077F94 C0 1C 05 1C */ lfs f0, 0x51c(r28) +/* 8007B038 00077F98 38 9C 00 34 */ addi r4, r28, 0x34 +/* 8007B03C 00077F9C C0 26 00 08 */ lfs f1, 8(r6) +/* 8007B040 00077FA0 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 8007B044 00077FA4 C0 66 00 04 */ lfs f3, 4(r6) +/* 8007B048 00077FA8 C0 5C 05 18 */ lfs f2, 0x518(r28) +/* 8007B04C 00077FAC EC 81 00 32 */ fmuls f4, f1, f0 +/* 8007B050 00077FB0 C0 26 00 00 */ lfs f1, 0(r6) +/* 8007B054 00077FB4 C0 1C 05 14 */ lfs f0, 0x514(r28) +/* 8007B058 00077FB8 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8007B05C 00077FBC D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 8007B060 00077FC0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8007B064 00077FC4 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 8007B068 00077FC8 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8007B06C 00077FCC 48 29 7A 7D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8007B070 00077FD0 C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 8007B074 00077FD4 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 8007B078 00077FD8 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 8007B07C 00077FDC D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 8007B080 00077FE0 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 8007B084 00077FE4 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 8007B088 00077FE8 88 18 00 0C */ lbz r0, 0xc(r24) +/* 8007B08C 00077FEC 28 00 00 00 */ cmplwi r0, 0 +/* 8007B090 00077FF0 41 82 01 84 */ beq lbl_8007B214 +/* 8007B094 00077FF4 3C 60 80 3D */ lis r3, lbl_803CD600@ha +/* 8007B098 00077FF8 3B 60 00 00 */ li r27, 0 +/* 8007B09C 00077FFC 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l +/* 8007B0A0 00078000 3B 40 00 00 */ li r26, 0 +/* 8007B0A4 00078004 3B 20 00 00 */ li r25, 0 +/* 8007B0A8 00078008 38 60 01 00 */ li r3, 0x100 +/* 8007B0AC 0007800C 38 A0 00 00 */ li r5, 0 +/* 8007B0B0 00078010 48 29 A7 BD */ bl __nw__FUlPCcPCc +/* 8007B0B4 00078014 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007B0B8 00078018 41 82 00 DC */ beq lbl_8007B194 +/* 8007B0BC 0007801C 3B 21 00 7C */ addi r25, r1, 0x7c +/* 8007B0C0 00078020 7F 04 C3 78 */ mr r4, r24 +/* 8007B0C4 00078024 7F 23 CB 78 */ mr r3, r25 +/* 8007B0C8 00078028 48 2C 5D E1 */ bl __ct__6CTokenFRC6CToken +/* 8007B0CC 0007802C 7F 23 CB 78 */ mr r3, r25 +/* 8007B0D0 00078030 48 2C 5D 3D */ bl GetObj__6CTokenFv +/* 8007B0D4 00078034 80 03 00 04 */ lwz r0, 4(r3) +/* 8007B0D8 00078038 7F A4 EB 78 */ mr r4, r29 +/* 8007B0DC 0007803C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8007B0E0 00078040 3B 20 00 01 */ li r25, 1 +/* 8007B0E4 00078044 90 01 00 84 */ stw r0, 0x84(r1) +/* 8007B0E8 00078048 4B FD 1F F5 */ bl AllocateUniqueId__13CStateManagerFv +/* 8007B0EC 0007804C 80 FC 00 04 */ lwz r7, 4(r28) +/* 8007B0F0 00078050 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8007B0F4 00078054 A0 81 00 18 */ lhz r4, 0x18(r1) +/* 8007B0F8 00078058 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8007B0FC 0007805C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8007B100 00078060 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8007B104 00078064 B0 81 00 1C */ sth r4, 0x1c(r1) +/* 8007B108 00078068 38 81 00 4C */ addi r4, r1, 0x4c +/* 8007B10C 0007806C 38 C1 00 50 */ addi r6, r1, 0x50 +/* 8007B110 00078070 90 E1 00 48 */ stw r7, 0x48(r1) +/* 8007B114 00078074 90 E1 00 4C */ stw r7, 0x4c(r1) +/* 8007B118 00078078 90 01 00 50 */ stw r0, 0x50(r1) +/* 8007B11C 0007807C 4B FD 63 69 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8007B120 00078080 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 8007B124 00078084 38 61 00 88 */ addi r3, r1, 0x88 +/* 8007B128 00078088 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 8007B12C 0007808C 3B 40 00 01 */ li r26, 1 +/* 8007B130 00078090 38 84 00 25 */ addi r4, r4, 0x25 +/* 8007B134 00078094 4B F8 9B 85 */ bl string_l__4rstlFPCc +/* 8007B138 00078098 88 1C 04 02 */ lbz r0, 0x402(r28) +/* 8007B13C 0007809C 3B 60 00 01 */ li r27, 1 +/* 8007B140 000780A0 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 8007B144 000780A4 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8007B148 000780A8 7C 00 00 34 */ cntlzw r0, r0 +/* 8007B14C 000780AC D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8007B150 000780B0 54 18 D9 7E */ srwi r24, r0, 5 +/* 8007B154 000780B4 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8007B158 000780B8 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8007B15C 000780BC 48 2C EE 51 */ bl White__6CColorFv +/* 8007B160 000780C0 38 01 00 98 */ addi r0, r1, 0x98 +/* 8007B164 000780C4 7F 0A C3 78 */ mr r10, r24 +/* 8007B168 000780C8 90 01 00 08 */ stw r0, 8(r1) +/* 8007B16C 000780CC 38 81 00 7C */ addi r4, r1, 0x7c +/* 8007B170 000780D0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8007B174 000780D4 38 E1 00 D4 */ addi r7, r1, 0xd4 +/* 8007B178 000780D8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007B17C 000780DC 7F E3 FB 78 */ mr r3, r31 +/* 8007B180 000780E0 39 01 00 88 */ addi r8, r1, 0x88 +/* 8007B184 000780E4 39 21 00 EC */ addi r9, r1, 0xec +/* 8007B188 000780E8 38 C0 00 01 */ li r6, 1 +/* 8007B18C 000780EC 4B FD F9 6D */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +/* 8007B190 000780F0 7C 7F 1B 78 */ mr r31, r3 +lbl_8007B194: +/* 8007B194 000780F4 7F 20 07 75 */ extsb. r0, r25 +/* 8007B198 000780F8 41 82 00 10 */ beq lbl_8007B1A8 +/* 8007B19C 000780FC 38 61 00 7C */ addi r3, r1, 0x7c +/* 8007B1A0 00078100 38 80 00 00 */ li r4, 0 +/* 8007B1A4 00078104 48 2C 5C 9D */ bl __dt__6CTokenFv +lbl_8007B1A8: +/* 8007B1A8 00078108 7F 40 07 75 */ extsb. r0, r26 +/* 8007B1AC 0007810C 41 82 00 44 */ beq lbl_8007B1F0 +/* 8007B1B0 00078110 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 8007B1B4 00078114 80 61 00 E4 */ lwz r3, 0xe4(r1) +/* 8007B1B8 00078118 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8007B1BC 0007811C 90 61 00 34 */ stw r3, 0x34(r1) +/* 8007B1C0 00078120 7C 64 1B 78 */ mr r4, r3 +/* 8007B1C4 00078124 7C 03 02 14 */ add r0, r3, r0 +/* 8007B1C8 00078128 90 61 00 30 */ stw r3, 0x30(r1) +/* 8007B1CC 0007812C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8007B1D0 00078130 90 01 00 38 */ stw r0, 0x38(r1) +/* 8007B1D4 00078134 48 00 00 08 */ b lbl_8007B1DC +lbl_8007B1D8: +/* 8007B1D8 00078138 38 84 00 0C */ addi r4, r4, 0xc +lbl_8007B1DC: +/* 8007B1DC 0007813C 7C 04 00 40 */ cmplw r4, r0 +/* 8007B1E0 00078140 40 82 FF F8 */ bne lbl_8007B1D8 +/* 8007B1E4 00078144 28 03 00 00 */ cmplwi r3, 0 +/* 8007B1E8 00078148 41 82 00 08 */ beq lbl_8007B1F0 +/* 8007B1EC 0007814C 48 29 A7 45 */ bl Free__7CMemoryFPCv +lbl_8007B1F0: +/* 8007B1F0 00078150 7F 60 07 75 */ extsb. r0, r27 +/* 8007B1F4 00078154 41 82 00 0C */ beq lbl_8007B200 +/* 8007B1F8 00078158 38 61 00 88 */ addi r3, r1, 0x88 +/* 8007B1FC 0007815C 48 2C 28 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8007B200: +/* 8007B200 00078160 28 1F 00 00 */ cmplwi r31, 0 +/* 8007B204 00078164 41 82 00 10 */ beq lbl_8007B214 +/* 8007B208 00078168 7F A3 EB 78 */ mr r3, r29 +/* 8007B20C 0007816C 7F E4 FB 78 */ mr r4, r31 +/* 8007B210 00078170 4B FD 1A E5 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +lbl_8007B214: +/* 8007B214 00078174 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 8007B218 00078178 28 00 00 00 */ cmplwi r0, 0 +/* 8007B21C 0007817C 41 82 01 74 */ beq lbl_8007B390 +/* 8007B220 00078180 3C 60 80 3D */ lis r3, lbl_803CD600@ha +/* 8007B224 00078184 3B 20 00 00 */ li r25, 0 +/* 8007B228 00078188 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l +/* 8007B22C 0007818C 3B 00 00 00 */ li r24, 0 +/* 8007B230 00078190 3B 40 00 00 */ li r26, 0 +/* 8007B234 00078194 38 60 01 00 */ li r3, 0x100 +/* 8007B238 00078198 38 A0 00 00 */ li r5, 0 +/* 8007B23C 0007819C 48 29 A6 31 */ bl __nw__FUlPCcPCc +/* 8007B240 000781A0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007B244 000781A4 41 82 00 CC */ beq lbl_8007B310 +/* 8007B248 000781A8 3B 01 00 54 */ addi r24, r1, 0x54 +/* 8007B24C 000781AC 7F C4 F3 78 */ mr r4, r30 +/* 8007B250 000781B0 7F 03 C3 78 */ mr r3, r24 +/* 8007B254 000781B4 48 2C 5C 55 */ bl __ct__6CTokenFRC6CToken +/* 8007B258 000781B8 7F 03 C3 78 */ mr r3, r24 +/* 8007B25C 000781BC 48 2C 5B B1 */ bl GetObj__6CTokenFv +/* 8007B260 000781C0 80 03 00 04 */ lwz r0, 4(r3) +/* 8007B264 000781C4 7F A4 EB 78 */ mr r4, r29 +/* 8007B268 000781C8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8007B26C 000781CC 3B 40 00 01 */ li r26, 1 +/* 8007B270 000781D0 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8007B274 000781D4 4B FD 1E 69 */ bl AllocateUniqueId__13CStateManagerFv +/* 8007B278 000781D8 80 FC 00 04 */ lwz r7, 4(r28) +/* 8007B27C 000781DC 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8007B280 000781E0 A0 81 00 10 */ lhz r4, 0x10(r1) +/* 8007B284 000781E4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8007B288 000781E8 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8007B28C 000781EC 38 61 00 BC */ addi r3, r1, 0xbc +/* 8007B290 000781F0 B0 81 00 14 */ sth r4, 0x14(r1) +/* 8007B294 000781F4 38 81 00 44 */ addi r4, r1, 0x44 +/* 8007B298 000781F8 38 C1 00 50 */ addi r6, r1, 0x50 +/* 8007B29C 000781FC 90 E1 00 40 */ stw r7, 0x40(r1) +/* 8007B2A0 00078200 90 E1 00 44 */ stw r7, 0x44(r1) +/* 8007B2A4 00078204 90 01 00 50 */ stw r0, 0x50(r1) +/* 8007B2A8 00078208 4B FD 61 DD */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8007B2AC 0007820C 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 8007B2B0 00078210 38 61 00 60 */ addi r3, r1, 0x60 +/* 8007B2B4 00078214 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 8007B2B8 00078218 3B 00 00 01 */ li r24, 1 +/* 8007B2BC 0007821C 38 84 00 25 */ addi r4, r4, 0x25 +/* 8007B2C0 00078220 4B F8 99 F9 */ bl string_l__4rstlFPCc +/* 8007B2C4 00078224 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 8007B2C8 00078228 3B 20 00 01 */ li r25, 1 +/* 8007B2CC 0007822C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8007B2D0 00078230 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8007B2D4 00078234 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8007B2D8 00078238 48 2C EC D5 */ bl White__6CColorFv +/* 8007B2DC 0007823C 38 01 00 70 */ addi r0, r1, 0x70 +/* 8007B2E0 00078240 38 81 00 54 */ addi r4, r1, 0x54 +/* 8007B2E4 00078244 90 01 00 08 */ stw r0, 8(r1) +/* 8007B2E8 00078248 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8007B2EC 0007824C 38 E1 00 BC */ addi r7, r1, 0xbc +/* 8007B2F0 00078250 39 01 00 60 */ addi r8, r1, 0x60 +/* 8007B2F4 00078254 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007B2F8 00078258 7F E3 FB 78 */ mr r3, r31 +/* 8007B2FC 0007825C 39 21 00 EC */ addi r9, r1, 0xec +/* 8007B300 00078260 38 C0 00 01 */ li r6, 1 +/* 8007B304 00078264 39 40 00 00 */ li r10, 0 +/* 8007B308 00078268 4B FD F5 D5 */ bl "__ct__10CExplosionFRC31TLockedToken<20CElectricDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +/* 8007B30C 0007826C 7C 7F 1B 78 */ mr r31, r3 +lbl_8007B310: +/* 8007B310 00078270 7F 40 07 75 */ extsb. r0, r26 +/* 8007B314 00078274 41 82 00 10 */ beq lbl_8007B324 +/* 8007B318 00078278 38 61 00 54 */ addi r3, r1, 0x54 +/* 8007B31C 0007827C 38 80 00 00 */ li r4, 0 +/* 8007B320 00078280 48 2C 5B 21 */ bl __dt__6CTokenFv +lbl_8007B324: +/* 8007B324 00078284 7F 00 07 75 */ extsb. r0, r24 +/* 8007B328 00078288 41 82 00 44 */ beq lbl_8007B36C +/* 8007B32C 0007828C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8007B330 00078290 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 8007B334 00078294 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8007B338 00078298 90 61 00 24 */ stw r3, 0x24(r1) +/* 8007B33C 0007829C 7C 64 1B 78 */ mr r4, r3 +/* 8007B340 000782A0 7C 03 02 14 */ add r0, r3, r0 +/* 8007B344 000782A4 90 61 00 20 */ stw r3, 0x20(r1) +/* 8007B348 000782A8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8007B34C 000782AC 90 01 00 28 */ stw r0, 0x28(r1) +/* 8007B350 000782B0 48 00 00 08 */ b lbl_8007B358 +lbl_8007B354: +/* 8007B354 000782B4 38 84 00 0C */ addi r4, r4, 0xc +lbl_8007B358: +/* 8007B358 000782B8 7C 04 00 40 */ cmplw r4, r0 +/* 8007B35C 000782BC 40 82 FF F8 */ bne lbl_8007B354 +/* 8007B360 000782C0 28 03 00 00 */ cmplwi r3, 0 +/* 8007B364 000782C4 41 82 00 08 */ beq lbl_8007B36C +/* 8007B368 000782C8 48 29 A5 C9 */ bl Free__7CMemoryFPCv +lbl_8007B36C: +/* 8007B36C 000782CC 7F 20 07 75 */ extsb. r0, r25 +/* 8007B370 000782D0 41 82 00 0C */ beq lbl_8007B37C +/* 8007B374 000782D4 38 61 00 60 */ addi r3, r1, 0x60 +/* 8007B378 000782D8 48 2C 27 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8007B37C: +/* 8007B37C 000782DC 28 1F 00 00 */ cmplwi r31, 0 +/* 8007B380 000782E0 41 82 00 10 */ beq lbl_8007B390 +/* 8007B384 000782E4 7F A3 EB 78 */ mr r3, r29 +/* 8007B388 000782E8 7F E4 FB 78 */ mr r4, r31 +/* 8007B38C 000782EC 4B FD 19 69 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +lbl_8007B390: +/* 8007B390 000782F0 BB 01 01 20 */ lmw r24, 0x120(r1) +/* 8007B394 000782F4 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8007B398 000782F8 7C 08 03 A6 */ mtlr r0 +/* 8007B39C 000782FC 38 21 01 40 */ addi r1, r1, 0x140 +/* 8007B3A0 00078300 4E 80 00 20 */ blr + +.global Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState: +/* 8007B3A4 00078304 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8007B3A8 00078308 7C 08 02 A6 */ mflr r0 +/* 8007B3AC 0007830C 90 01 01 44 */ stw r0, 0x144(r1) +/* 8007B3B0 00078310 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 8007B3B4 00078314 7C BF 2B 78 */ mr r31, r5 +/* 8007B3B8 00078318 93 C1 01 38 */ stw r30, 0x138(r1) +/* 8007B3BC 0007831C 7C DE 33 78 */ mr r30, r6 +/* 8007B3C0 00078320 93 A1 01 34 */ stw r29, 0x134(r1) +/* 8007B3C4 00078324 7C 9D 23 78 */ mr r29, r4 +/* 8007B3C8 00078328 93 81 01 30 */ stw r28, 0x130(r1) +/* 8007B3CC 0007832C 7C 7C 1B 78 */ mr r28, r3 +/* 8007B3D0 00078330 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8007B3D4 00078334 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007B3D8 00078338 41 82 04 2C */ beq lbl_8007B804 +/* 8007B3DC 0007833C 80 BC 04 50 */ lwz r5, 0x450(r28) +/* 8007B3E0 00078340 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007B3E4 00078344 C0 25 03 20 */ lfs f1, 0x320(r5) +/* 8007B3E8 00078348 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007B3EC 0007834C 41 81 00 C0 */ bgt lbl_8007B4AC +/* 8007B3F0 00078350 81 83 00 00 */ lwz r12, 0(r3) +/* 8007B3F4 00078354 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8007B3F8 00078358 7D 89 03 A6 */ mtctr r12 +/* 8007B3FC 0007835C 4E 80 04 21 */ bctrl +/* 8007B400 00078360 C0 5C 03 E4 */ lfs f2, 0x3e4(r28) +/* 8007B404 00078364 C0 23 00 00 */ lfs f1, 0(r3) +/* 8007B408 00078368 C0 1C 03 DC */ lfs f0, 0x3dc(r28) +/* 8007B40C 0007836C EC 22 08 28 */ fsubs f1, f2, f1 +/* 8007B410 00078370 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007B414 00078374 4C 41 13 82 */ cror 2, 1, 2 +/* 8007B418 00078378 7C 60 00 26 */ mfcr r3 +/* 8007B41C 0007837C 88 1C 04 02 */ lbz r0, 0x402(r28) +/* 8007B420 00078380 50 60 4E 72 */ rlwimi r0, r3, 9, 0x19, 0x19 +/* 8007B424 00078384 98 1C 04 02 */ stb r0, 0x402(r28) +/* 8007B428 00078388 88 1C 04 02 */ lbz r0, 0x402(r28) +/* 8007B42C 0007838C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007B430 00078390 41 82 00 38 */ beq lbl_8007B468 +/* 8007B434 00078394 88 1C 05 58 */ lbz r0, 0x558(r28) +/* 8007B438 00078398 28 00 00 00 */ cmplwi r0, 0 +/* 8007B43C 0007839C 41 82 00 2C */ beq lbl_8007B468 +/* 8007B440 000783A0 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8007B444 000783A4 48 0B EC 89 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 8007B448 000783A8 C0 02 89 34 */ lfs f0, lbl_805AA654@sda21(r2) +/* 8007B44C 000783AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007B450 000783B0 40 81 00 18 */ ble lbl_8007B468 +/* 8007B454 000783B4 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 8007B458 000783B8 38 60 00 01 */ li r3, 1 +/* 8007B45C 000783BC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8007B460 000783C0 98 1C 04 00 */ stb r0, 0x400(r28) +/* 8007B464 000783C4 48 00 00 48 */ b lbl_8007B4AC +lbl_8007B468: +/* 8007B468 000783C8 7F 83 E3 78 */ mr r3, r28 +/* 8007B46C 000783CC 7F A4 EB 78 */ mr r4, r29 +/* 8007B470 000783D0 81 9C 00 00 */ lwz r12, 0(r28) +/* 8007B474 000783D4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8007B478 000783D8 7D 89 03 A6 */ mtctr r12 +/* 8007B47C 000783DC 4E 80 04 21 */ bctrl +/* 8007B480 000783E0 C0 5C 03 E4 */ lfs f2, 0x3e4(r28) +/* 8007B484 000783E4 C0 23 00 00 */ lfs f1, 0(r3) +/* 8007B488 000783E8 C0 1C 03 D8 */ lfs f0, 0x3d8(r28) +/* 8007B48C 000783EC EC 22 08 28 */ fsubs f1, f2, f1 +/* 8007B490 000783F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007B494 000783F4 4C 41 13 82 */ cror 2, 1, 2 +/* 8007B498 000783F8 40 82 00 14 */ bne lbl_8007B4AC +/* 8007B49C 000783FC 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 8007B4A0 00078400 38 60 00 01 */ li r3, 1 +/* 8007B4A4 00078404 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8007B4A8 00078408 98 1C 04 00 */ stb r0, 0x400(r28) +lbl_8007B4AC: +/* 8007B4AC 0007840C 88 7C 04 00 */ lbz r3, 0x400(r28) +/* 8007B4B0 00078410 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 8007B4B4 00078414 40 82 00 0C */ bne lbl_8007B4C0 +/* 8007B4B8 00078418 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8007B4BC 0007841C 41 82 01 14 */ beq lbl_8007B5D0 +lbl_8007B4C0: +/* 8007B4C0 00078420 88 1C 03 28 */ lbz r0, 0x328(r28) +/* 8007B4C4 00078424 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8007B4C8 00078428 41 82 01 64 */ beq lbl_8007B62C +/* 8007B4CC 0007842C C0 1C 03 E0 */ lfs f0, 0x3e0(r28) +/* 8007B4D0 00078430 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 8007B4D4 00078434 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8007B4D8 00078438 4C 40 13 82 */ cror 2, 0, 2 +/* 8007B4DC 0007843C 40 82 01 50 */ bne lbl_8007B62C +/* 8007B4E0 00078440 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8007B4E4 00078444 38 00 00 00 */ li r0, 0 +/* 8007B4E8 00078448 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8007B4EC 0007844C 40 82 00 1C */ bne lbl_8007B508 +/* 8007B4F0 00078450 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8007B4F4 00078454 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8007B4F8 00078458 40 82 00 10 */ bne lbl_8007B508 +/* 8007B4FC 0007845C C0 1F 00 08 */ lfs f0, 8(r31) +/* 8007B500 00078460 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8007B504 00078464 41 82 00 08 */ beq lbl_8007B50C +lbl_8007B508: +/* 8007B508 00078468 38 00 00 01 */ li r0, 1 +lbl_8007B50C: +/* 8007B50C 0007846C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8007B510 00078470 41 82 01 1C */ beq lbl_8007B62C +/* 8007B514 00078474 C0 DC 00 60 */ lfs f6, 0x60(r28) +/* 8007B518 00078478 38 61 00 70 */ addi r3, r1, 0x70 +/* 8007B51C 0007847C C0 1F 00 08 */ lfs f0, 8(r31) +/* 8007B520 00078480 38 81 00 08 */ addi r4, r1, 8 +/* 8007B524 00078484 C0 BC 00 50 */ lfs f5, 0x50(r28) +/* 8007B528 00078488 C0 5C 00 40 */ lfs f2, 0x40(r28) +/* 8007B52C 0007848C EC 66 00 28 */ fsubs f3, f6, f0 +/* 8007B530 00078490 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8007B534 00078494 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8007B538 00078498 EC 85 00 28 */ fsubs f4, f5, f0 +/* 8007B53C 0007849C C0 02 89 58 */ lfs f0, lbl_805AA678@sda21(r2) +/* 8007B540 000784A0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8007B544 000784A4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8007B548 000784A8 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 8007B54C 000784AC D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 8007B550 000784B0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8007B554 000784B4 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8007B558 000784B8 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8007B55C 000784BC D0 01 00 08 */ stfs f0, 8(r1) +/* 8007B560 000784C0 48 29 83 E1 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8007B564 000784C4 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8007B568 000784C8 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8007B56C 000784CC 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 8007B570 000784D0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8007B574 000784D4 38 81 00 28 */ addi r4, r1, 0x28 +/* 8007B578 000784D8 48 29 85 99 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8007B57C 000784DC 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8007B580 000784E0 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 8007B584 000784E4 38 A1 00 70 */ addi r5, r1, 0x70 +/* 8007B588 000784E8 48 29 73 C9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8007B58C 000784EC 38 61 01 00 */ addi r3, r1, 0x100 +/* 8007B590 000784F0 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 8007B594 000784F4 48 29 75 E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8007B598 000784F8 38 7C 00 34 */ addi r3, r28, 0x34 +/* 8007B59C 000784FC 38 81 01 00 */ addi r4, r1, 0x100 +/* 8007B5A0 00078500 48 29 75 A1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8007B5A4 00078504 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 8007B5A8 00078508 38 60 00 01 */ li r3, 1 +/* 8007B5AC 0007850C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8007B5B0 00078510 98 1C 00 E4 */ stb r0, 0xe4(r28) +/* 8007B5B4 00078514 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 8007B5B8 00078518 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8007B5BC 0007851C 98 1C 00 E4 */ stb r0, 0xe4(r28) +/* 8007B5C0 00078520 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 8007B5C4 00078524 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8007B5C8 00078528 98 1C 00 E4 */ stb r0, 0xe4(r28) +/* 8007B5CC 0007852C 48 00 00 60 */ b lbl_8007B62C +lbl_8007B5D0: +/* 8007B5D0 00078530 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 8007B5D4 00078534 38 61 00 0C */ addi r3, r1, 0xc +/* 8007B5D8 00078538 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 8007B5DC 0007853C 38 84 00 1A */ addi r4, r4, 0x1a +/* 8007B5E0 00078540 4B F8 96 D9 */ bl string_l__4rstlFPCc +/* 8007B5E4 00078544 7F 83 E3 78 */ mr r3, r28 +/* 8007B5E8 00078548 48 02 73 11 */ bl GetStateMachine__3CAiFv +/* 8007B5EC 0007854C 7C 66 1B 78 */ mr r6, r3 +/* 8007B5F0 00078550 7F A4 EB 78 */ mr r4, r29 +/* 8007B5F4 00078554 7F 85 E3 78 */ mr r5, r28 +/* 8007B5F8 00078558 38 7C 03 30 */ addi r3, r28, 0x330 +/* 8007B5FC 0007855C 38 E1 00 0C */ addi r7, r1, 0xc +/* 8007B600 00078560 48 00 46 05 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8007B604 00078564 38 61 00 0C */ addi r3, r1, 0xc +/* 8007B608 00078568 48 2C 24 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8007B60C 0007856C 7F 83 E3 78 */ mr r3, r28 +/* 8007B610 00078570 7F A5 EB 78 */ mr r5, r29 +/* 8007B614 00078574 38 80 00 25 */ li r4, 0x25 +/* 8007B618 00078578 4B FD 89 69 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8007B61C 0007857C 88 1C 03 28 */ lbz r0, 0x328(r28) +/* 8007B620 00078580 38 60 00 00 */ li r3, 0 +/* 8007B624 00078584 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8007B628 00078588 98 1C 03 28 */ stb r0, 0x328(r28) +lbl_8007B62C: +/* 8007B62C 0007858C 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 8007B630 00078590 38 60 00 00 */ li r3, 0 +/* 8007B634 00078594 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8007B638 00078598 38 80 00 0E */ li r4, 0xe +/* 8007B63C 0007859C 98 1C 04 00 */ stb r0, 0x400(r28) +/* 8007B640 000785A0 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8007B644 000785A4 48 0B F5 71 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState +/* 8007B648 000785A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007B64C 000785AC 41 82 00 E8 */ beq lbl_8007B734 +/* 8007B650 000785B0 80 BC 04 50 */ lwz r5, 0x450(r28) +/* 8007B654 000785B4 80 05 02 F4 */ lwz r0, 0x2f4(r5) +/* 8007B658 000785B8 2C 00 00 03 */ cmpwi r0, 3 +/* 8007B65C 000785BC 40 82 00 D8 */ bne lbl_8007B734 +/* 8007B660 000785C0 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8007B664 000785C4 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007B668 000785C8 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8007B66C 000785CC 38 84 AA 68 */ addi r4, r4, lbl_803DAA68@l +/* 8007B670 000785D0 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8007B674 000785D4 FC A0 10 50 */ fneg f5, f2 +/* 8007B678 000785D8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8007B67C 000785DC C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 8007B680 000785E0 FC 80 08 50 */ fneg f4, f1 +/* 8007B684 000785E4 90 81 00 4C */ stw r4, 0x4c(r1) +/* 8007B688 000785E8 FC 60 00 50 */ fneg f3, f0 +/* 8007B68C 000785EC C0 23 00 04 */ lfs f1, 4(r3) +/* 8007B690 000785F0 38 C0 00 0F */ li r6, 0xf +/* 8007B694 000785F4 C0 03 00 08 */ lfs f0, 8(r3) +/* 8007B698 000785F8 38 00 00 00 */ li r0, 0 +/* 8007B69C 000785FC 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha +/* 8007B6A0 00078600 3B E5 00 04 */ addi r31, r5, 4 +/* 8007B6A4 00078604 90 C1 00 50 */ stw r6, 0x50(r1) +/* 8007B6A8 00078608 38 A3 AA 5C */ addi r5, r3, lbl_803DAA5C@l +/* 8007B6AC 0007860C 38 80 00 0F */ li r4, 0xf +/* 8007B6B0 00078610 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 8007B6B4 00078614 7F E3 FB 78 */ mr r3, r31 +/* 8007B6B8 00078618 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 8007B6BC 0007861C D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8007B6C0 00078620 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 8007B6C4 00078624 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8007B6C8 00078628 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 8007B6CC 0007862C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8007B6D0 00078630 98 01 00 6C */ stb r0, 0x6c(r1) +/* 8007B6D4 00078634 48 0B 5D 65 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007B6D8 00078638 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8007B6DC 0007863C 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha +/* 8007B6E0 00078640 38 83 AA 5C */ addi r4, r3, lbl_803DAA5C@l +/* 8007B6E4 00078644 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007B6E8 00078648 90 1F 01 B0 */ stw r0, 0x1b0(r31) +/* 8007B6EC 0007864C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007B6F0 00078650 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8007B6F4 00078654 80 A1 00 58 */ lwz r5, 0x58(r1) +/* 8007B6F8 00078658 90 7F 01 B4 */ stw r3, 0x1b4(r31) +/* 8007B6FC 0007865C 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 8007B700 00078660 90 BF 01 B8 */ stw r5, 0x1b8(r31) +/* 8007B704 00078664 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 8007B708 00078668 90 7F 01 BC */ stw r3, 0x1bc(r31) +/* 8007B70C 0007866C 80 61 00 64 */ lwz r3, 0x64(r1) +/* 8007B710 00078670 90 BF 01 C0 */ stw r5, 0x1c0(r31) +/* 8007B714 00078674 80 A1 00 68 */ lwz r5, 0x68(r1) +/* 8007B718 00078678 90 7F 01 C4 */ stw r3, 0x1c4(r31) +/* 8007B71C 0007867C 88 61 00 6C */ lbz r3, 0x6c(r1) +/* 8007B720 00078680 90 BF 01 C8 */ stw r5, 0x1c8(r31) +/* 8007B724 00078684 90 81 00 4C */ stw r4, 0x4c(r1) +/* 8007B728 00078688 98 7F 01 CC */ stb r3, 0x1cc(r31) +/* 8007B72C 0007868C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8007B730 00078690 48 00 00 B8 */ b lbl_8007B7E8 +lbl_8007B734: +/* 8007B734 00078694 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8007B738 00078698 38 80 00 00 */ li r4, 0 +/* 8007B73C 0007869C 48 0B F4 79 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState +/* 8007B740 000786A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007B744 000786A4 41 82 00 A4 */ beq lbl_8007B7E8 +/* 8007B748 000786A8 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8007B74C 000786AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007B750 000786B0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8007B754 000786B4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 8007B758 000786B8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8007B75C 000786BC FC 40 10 50 */ fneg f2, f2 +/* 8007B760 000786C0 FC 20 08 50 */ fneg f1, f1 +/* 8007B764 000786C4 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8007B768 000786C8 FC 00 00 50 */ fneg f0, f0 +/* 8007B76C 000786CC 3C 80 80 3E */ lis r4, lbl_803DAA50@ha +/* 8007B770 000786D0 38 C0 00 03 */ li r6, 3 +/* 8007B774 000786D4 38 00 00 01 */ li r0, 1 +/* 8007B778 000786D8 3B E3 00 04 */ addi r31, r3, 4 +/* 8007B77C 000786DC 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8007B780 000786E0 38 A4 AA 50 */ addi r5, r4, lbl_803DAA50@l +/* 8007B784 000786E4 38 80 00 03 */ li r4, 3 +/* 8007B788 000786E8 90 C1 00 38 */ stw r6, 0x38(r1) +/* 8007B78C 000786EC 7F E3 FB 78 */ mr r3, r31 +/* 8007B790 000786F0 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8007B794 000786F4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8007B798 000786F8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8007B79C 000786FC D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8007B7A0 00078700 90 01 00 48 */ stw r0, 0x48(r1) +/* 8007B7A4 00078704 48 0B 5C 95 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007B7A8 00078708 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8007B7AC 0007870C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha +/* 8007B7B0 00078710 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l +/* 8007B7B4 00078714 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007B7B8 00078718 90 1F 00 E0 */ stw r0, 0xe0(r31) +/* 8007B7BC 0007871C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007B7C0 00078720 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 8007B7C4 00078724 80 61 00 40 */ lwz r3, 0x40(r1) +/* 8007B7C8 00078728 90 BF 00 E4 */ stw r5, 0xe4(r31) +/* 8007B7CC 0007872C 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 8007B7D0 00078730 90 7F 00 E8 */ stw r3, 0xe8(r31) +/* 8007B7D4 00078734 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8007B7D8 00078738 90 BF 00 EC */ stw r5, 0xec(r31) +/* 8007B7DC 0007873C 90 81 00 34 */ stw r4, 0x34(r1) +/* 8007B7E0 00078740 90 7F 00 F0 */ stw r3, 0xf0(r31) +/* 8007B7E4 00078744 90 01 00 34 */ stw r0, 0x34(r1) +lbl_8007B7E8: +/* 8007B7E8 00078748 2C 1E FF FF */ cmpwi r30, -1 +/* 8007B7EC 0007874C 41 82 00 18 */ beq lbl_8007B804 +/* 8007B7F0 00078750 7F 83 E3 78 */ mr r3, r28 +/* 8007B7F4 00078754 7F C4 F3 78 */ mr r4, r30 +/* 8007B7F8 00078758 7F A5 EB 78 */ mr r5, r29 +/* 8007B7FC 0007875C 38 C0 FF FF */ li r6, -1 +/* 8007B800 00078760 4B FD 58 C1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8007B804: +/* 8007B804 00078764 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8007B808 00078768 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 8007B80C 0007876C 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 8007B810 00078770 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 8007B814 00078774 83 81 01 30 */ lwz r28, 0x130(r1) +/* 8007B818 00078778 7C 08 03 A6 */ mtlr r0 +/* 8007B81C 0007877C 38 21 01 40 */ addi r1, r1, 0x140 +/* 8007B820 00078780 4E 80 00 20 */ blr + +.global __dt__15CBCKnockDownCmd +__dt__15CBCKnockDownCmd: +/* 8007B824 00078784 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007B828 00078788 7C 08 02 A6 */ mflr r0 +/* 8007B82C 0007878C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007B830 00078790 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007B834 00078794 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007B838 00078798 41 82 00 30 */ beq lbl_8007B868 +/* 8007B83C 0007879C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha +/* 8007B840 000787A0 38 03 AA 50 */ addi r0, r3, lbl_803DAA50@l +/* 8007B844 000787A4 90 1F 00 00 */ stw r0, 0(r31) +/* 8007B848 000787A8 41 82 00 10 */ beq lbl_8007B858 +/* 8007B84C 000787AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007B850 000787B0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007B854 000787B4 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007B858: +/* 8007B858 000787B8 7C 80 07 35 */ extsh. r0, r4 +/* 8007B85C 000787BC 40 81 00 0C */ ble lbl_8007B868 +/* 8007B860 000787C0 7F E3 FB 78 */ mr r3, r31 +/* 8007B864 000787C4 48 29 A0 CD */ bl Free__7CMemoryFPCv +lbl_8007B868: +/* 8007B868 000787C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007B86C 000787CC 7F E3 FB 78 */ mr r3, r31 +/* 8007B870 000787D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007B874 000787D4 7C 08 03 A6 */ mtlr r0 +/* 8007B878 000787D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007B87C 000787DC 4E 80 00 20 */ blr + +.global __dt__12CBCHurledCmd +__dt__12CBCHurledCmd: +/* 8007B880 000787E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007B884 000787E4 7C 08 02 A6 */ mflr r0 +/* 8007B888 000787E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007B88C 000787EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007B890 000787F0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007B894 000787F4 41 82 00 30 */ beq lbl_8007B8C4 +/* 8007B898 000787F8 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha +/* 8007B89C 000787FC 38 03 AA 5C */ addi r0, r3, lbl_803DAA5C@l +/* 8007B8A0 00078800 90 1F 00 00 */ stw r0, 0(r31) +/* 8007B8A4 00078804 41 82 00 10 */ beq lbl_8007B8B4 +/* 8007B8A8 00078808 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007B8AC 0007880C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007B8B0 00078810 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007B8B4: +/* 8007B8B4 00078814 7C 80 07 35 */ extsh. r0, r4 +/* 8007B8B8 00078818 40 81 00 0C */ ble lbl_8007B8C4 +/* 8007B8BC 0007881C 7F E3 FB 78 */ mr r3, r31 +/* 8007B8C0 00078820 48 29 A0 71 */ bl Free__7CMemoryFPCv +lbl_8007B8C4: +/* 8007B8C4 00078824 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007B8C8 00078828 7F E3 FB 78 */ mr r3, r31 +/* 8007B8CC 0007882C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007B8D0 00078830 7C 08 03 A6 */ mtlr r0 +/* 8007B8D4 00078834 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007B8D8 00078838 4E 80 00 20 */ blr + +.global __dt__13CBodyStateCmdFv +__dt__13CBodyStateCmdFv: +/* 8007B8DC 0007883C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007B8E0 00078840 7C 08 02 A6 */ mflr r0 +/* 8007B8E4 00078844 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007B8E8 00078848 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007B8EC 0007884C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007B8F0 00078850 41 82 00 1C */ beq lbl_8007B90C +/* 8007B8F4 00078854 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 8007B8F8 00078858 7C 80 07 35 */ extsh. r0, r4 +/* 8007B8FC 0007885C 38 05 AA 68 */ addi r0, r5, lbl_803DAA68@l +/* 8007B900 00078860 90 1F 00 00 */ stw r0, 0(r31) +/* 8007B904 00078864 40 81 00 08 */ ble lbl_8007B90C +/* 8007B908 00078868 48 29 A0 29 */ bl Free__7CMemoryFPCv +lbl_8007B90C: +/* 8007B90C 0007886C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007B910 00078870 7F E3 FB 78 */ mr r3, r31 +/* 8007B914 00078874 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007B918 00078878 7C 08 03 A6 */ mtlr r0 +/* 8007B91C 0007887C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007B920 00078880 4E 80 00 20 */ blr + +.global sub_8007b924 +sub_8007b924: +/* 8007B924 00078884 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007B928 00078888 7C 08 02 A6 */ mflr r0 +/* 8007B92C 0007888C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007B930 00078890 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007B934 00078894 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8007B938 00078898 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 8007B93C 0007889C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007B940 000788A0 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8007B944 000788A4 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 8007B948 000788A8 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 8007B94C 000788AC 3B E6 00 04 */ addi r31, r6, 4 +/* 8007B950 000788B0 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8007B954 000788B4 38 60 00 04 */ li r3, 4 +/* 8007B958 000788B8 90 01 00 08 */ stw r0, 8(r1) +/* 8007B95C 000788BC 38 04 AA 44 */ addi r0, r4, lbl_803DAA44@l +/* 8007B960 000788C0 38 80 00 04 */ li r4, 4 +/* 8007B964 000788C4 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007B968 000788C8 7F E3 FB 78 */ mr r3, r31 +/* 8007B96C 000788CC 90 01 00 08 */ stw r0, 8(r1) +/* 8007B970 000788D0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8007B974 000788D4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8007B978 000788D8 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8007B97C 000788DC 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8007B980 000788E0 48 0B 5A B9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007B984 000788E4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007B988 000788E8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8007B98C 000788EC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 8007B990 000788F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007B994 000788F4 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 8007B998 000788F8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007B99C 000788FC 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8007B9A0 00078900 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8007B9A4 00078904 90 BF 00 FC */ stw r5, 0xfc(r31) +/* 8007B9A8 00078908 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8007B9AC 0007890C 90 7F 01 00 */ stw r3, 0x100(r31) +/* 8007B9B0 00078910 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8007B9B4 00078914 90 BF 01 04 */ stw r5, 0x104(r31) +/* 8007B9B8 00078918 90 81 00 08 */ stw r4, 8(r1) +/* 8007B9BC 0007891C 90 7F 01 08 */ stw r3, 0x108(r31) +/* 8007B9C0 00078920 90 01 00 08 */ stw r0, 8(r1) +/* 8007B9C4 00078924 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007B9C8 00078928 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007B9CC 0007892C 7C 08 03 A6 */ mtlr r0 +/* 8007B9D0 00078930 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007B9D4 00078934 4E 80 00 20 */ blr + +.global __dt__15CBCKnockBackCmd +__dt__15CBCKnockBackCmd: +/* 8007B9D8 00078938 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007B9DC 0007893C 7C 08 02 A6 */ mflr r0 +/* 8007B9E0 00078940 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007B9E4 00078944 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007B9E8 00078948 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007B9EC 0007894C 41 82 00 30 */ beq lbl_8007BA1C +/* 8007B9F0 00078950 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8007B9F4 00078954 38 03 AA 44 */ addi r0, r3, lbl_803DAA44@l +/* 8007B9F8 00078958 90 1F 00 00 */ stw r0, 0(r31) +/* 8007B9FC 0007895C 41 82 00 10 */ beq lbl_8007BA0C +/* 8007BA00 00078960 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BA04 00078964 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BA08 00078968 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007BA0C: +/* 8007BA0C 0007896C 7C 80 07 35 */ extsh. r0, r4 +/* 8007BA10 00078970 40 81 00 0C */ ble lbl_8007BA1C +/* 8007BA14 00078974 7F E3 FB 78 */ mr r3, r31 +/* 8007BA18 00078978 48 29 9F 19 */ bl Free__7CMemoryFPCv +lbl_8007BA1C: +/* 8007BA1C 0007897C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007BA20 00078980 7F E3 FB 78 */ mr r3, r31 +/* 8007BA24 00078984 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007BA28 00078988 7C 08 03 A6 */ mtlr r0 +/* 8007BA2C 0007898C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007BA30 00078990 4E 80 00 20 */ blr + +.global __dt__21CBCLoopHitReactionCmd +__dt__21CBCLoopHitReactionCmd: +/* 8007BA34 00078994 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007BA38 00078998 7C 08 02 A6 */ mflr r0 +/* 8007BA3C 0007899C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007BA40 000789A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007BA44 000789A4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007BA48 000789A8 41 82 00 30 */ beq lbl_8007BA78 +/* 8007BA4C 000789AC 3C 60 80 3E */ lis r3, lbl_803DAA38@ha +/* 8007BA50 000789B0 38 03 AA 38 */ addi r0, r3, lbl_803DAA38@l +/* 8007BA54 000789B4 90 1F 00 00 */ stw r0, 0(r31) +/* 8007BA58 000789B8 41 82 00 10 */ beq lbl_8007BA68 +/* 8007BA5C 000789BC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BA60 000789C0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BA64 000789C4 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007BA68: +/* 8007BA68 000789C8 7C 80 07 35 */ extsh. r0, r4 +/* 8007BA6C 000789CC 40 81 00 0C */ ble lbl_8007BA78 +/* 8007BA70 000789D0 7F E3 FB 78 */ mr r3, r31 +/* 8007BA74 000789D4 48 29 9E BD */ bl Free__7CMemoryFPCv +lbl_8007BA78: +/* 8007BA78 000789D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007BA7C 000789DC 7F E3 FB 78 */ mr r3, r31 +/* 8007BA80 000789E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007BA84 000789E4 7C 08 03 A6 */ mtlr r0 +/* 8007BA88 000789E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007BA8C 000789EC 4E 80 00 20 */ blr + +.global TryLoopReaction__10CPatternedFR13CStateManageri +TryLoopReaction__10CPatternedFR13CStateManageri: +/* 8007BA90 000789F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007BA94 000789F4 7C 08 02 A6 */ mflr r0 +/* 8007BA98 000789F8 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007BA9C 000789FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007BAA0 00078A00 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8007BAA4 00078A04 38 80 00 08 */ li r4, 8 +/* 8007BAA8 00078A08 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007BAAC 00078A0C 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8007BAB0 00078A10 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8007BAB4 00078A14 90 01 00 08 */ stw r0, 8(r1) +/* 8007BAB8 00078A18 38 03 AA 2C */ addi r0, r3, lbl_803DAA2C@l +/* 8007BABC 00078A1C 38 60 00 08 */ li r3, 8 +/* 8007BAC0 00078A20 3B E6 00 04 */ addi r31, r6, 4 +/* 8007BAC4 00078A24 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007BAC8 00078A28 7F E3 FB 78 */ mr r3, r31 +/* 8007BACC 00078A2C 90 01 00 08 */ stw r0, 8(r1) +/* 8007BAD0 00078A30 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007BAD4 00078A34 48 0B 59 65 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007BAD8 00078A38 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007BADC 00078A3C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8007BAE0 00078A40 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l +/* 8007BAE4 00078A44 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BAE8 00078A48 90 1F 01 58 */ stw r0, 0x158(r31) +/* 8007BAEC 00078A4C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BAF0 00078A50 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8007BAF4 00078A54 90 81 00 08 */ stw r4, 8(r1) +/* 8007BAF8 00078A58 90 7F 01 5C */ stw r3, 0x15c(r31) +/* 8007BAFC 00078A5C 90 01 00 08 */ stw r0, 8(r1) +/* 8007BB00 00078A60 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007BB04 00078A64 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007BB08 00078A68 7C 08 03 A6 */ mtlr r0 +/* 8007BB0C 00078A6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007BB10 00078A70 4E 80 00 20 */ blr + +.global __dt__18CBCLoopReactionCmd +__dt__18CBCLoopReactionCmd: +/* 8007BB14 00078A74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007BB18 00078A78 7C 08 02 A6 */ mflr r0 +/* 8007BB1C 00078A7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007BB20 00078A80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007BB24 00078A84 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007BB28 00078A88 41 82 00 30 */ beq lbl_8007BB58 +/* 8007BB2C 00078A8C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8007BB30 00078A90 38 03 AA 2C */ addi r0, r3, lbl_803DAA2C@l +/* 8007BB34 00078A94 90 1F 00 00 */ stw r0, 0(r31) +/* 8007BB38 00078A98 41 82 00 10 */ beq lbl_8007BB48 +/* 8007BB3C 00078A9C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BB40 00078AA0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BB44 00078AA4 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007BB48: +/* 8007BB48 00078AA8 7C 80 07 35 */ extsh. r0, r4 +/* 8007BB4C 00078AAC 40 81 00 0C */ ble lbl_8007BB58 +/* 8007BB50 00078AB0 7F E3 FB 78 */ mr r3, r31 +/* 8007BB54 00078AB4 48 29 9D DD */ bl Free__7CMemoryFPCv +lbl_8007BB58: +/* 8007BB58 00078AB8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007BB5C 00078ABC 7F E3 FB 78 */ mr r3, r31 +/* 8007BB60 00078AC0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007BB64 00078AC4 7C 08 03 A6 */ mtlr r0 +/* 8007BB68 00078AC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007BB6C 00078ACC 4E 80 00 20 */ blr + +.global TryTurn__10CPatternedFR13CStateManageri +TryTurn__10CPatternedFR13CStateManageri: +/* 8007BB70 00078AD0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8007BB74 00078AD4 7C 08 02 A6 */ mflr r0 +/* 8007BB78 00078AD8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8007BB7C 00078ADC 38 81 00 08 */ addi r4, r1, 8 +/* 8007BB80 00078AE0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8007BB84 00078AE4 C0 63 02 E4 */ lfs f3, 0x2e4(r3) +/* 8007BB88 00078AE8 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8007BB8C 00078AEC C0 43 02 E8 */ lfs f2, 0x2e8(r3) +/* 8007BB90 00078AF0 C0 03 00 60 */ lfs f0, 0x60(r3) +/* 8007BB94 00078AF4 EC 63 08 28 */ fsubs f3, f3, f1 +/* 8007BB98 00078AF8 C0 23 02 E0 */ lfs f1, 0x2e0(r3) +/* 8007BB9C 00078AFC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8007BBA0 00078B00 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8007BBA4 00078B04 80 A3 04 50 */ lwz r5, 0x450(r3) +/* 8007BBA8 00078B08 38 61 00 14 */ addi r3, r1, 0x14 +/* 8007BBAC 00078B0C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8007BBB0 00078B10 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8007BBB4 00078B14 3B E5 00 04 */ addi r31, r5, 4 +/* 8007BBB8 00078B18 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8007BBBC 00078B1C D0 01 00 08 */ stfs f0, 8(r1) +/* 8007BBC0 00078B20 48 29 8C 91 */ bl AsNormalized__9CVector3fCFv +/* 8007BBC4 00078B24 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8007BBC8 00078B28 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8007BBCC 00078B2C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8007BBD0 00078B30 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8007BBD4 00078B34 C0 C5 00 00 */ lfs f6, 0(r5) +/* 8007BBD8 00078B38 7F E3 FB 78 */ mr r3, r31 +/* 8007BBDC 00078B3C C0 A5 00 04 */ lfs f5, 4(r5) +/* 8007BBE0 00078B40 38 81 00 20 */ addi r4, r1, 0x20 +/* 8007BBE4 00078B44 C0 85 00 08 */ lfs f4, 8(r5) +/* 8007BBE8 00078B48 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 8007BBEC 00078B4C C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 8007BBF0 00078B50 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 8007BBF4 00078B54 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 8007BBF8 00078B58 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 8007BBFC 00078B5C D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8007BC00 00078B60 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8007BC04 00078B64 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8007BC08 00078B68 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8007BC0C 00078B6C 48 0B 5B 0D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 8007BC10 00078B70 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8007BC14 00078B74 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8007BC18 00078B78 7C 08 03 A6 */ mtlr r0 +/* 8007BC1C 00078B7C 38 21 00 50 */ addi r1, r1, 0x50 +/* 8007BC20 00078B80 4E 80 00 20 */ blr + +.global TryGetUp__10CPatternedFR13CStateManageri +TryGetUp__10CPatternedFR13CStateManageri: +/* 8007BC24 00078B84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007BC28 00078B88 7C 08 02 A6 */ mflr r0 +/* 8007BC2C 00078B8C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007BC30 00078B90 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007BC34 00078B94 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8007BC38 00078B98 38 80 00 00 */ li r4, 0 +/* 8007BC3C 00078B9C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007BC40 00078BA0 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8007BC44 00078BA4 3C 60 80 3E */ lis r3, lbl_803DAA20@ha +/* 8007BC48 00078BA8 90 01 00 08 */ stw r0, 8(r1) +/* 8007BC4C 00078BAC 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l +/* 8007BC50 00078BB0 38 60 00 00 */ li r3, 0 +/* 8007BC54 00078BB4 3B E6 00 04 */ addi r31, r6, 4 +/* 8007BC58 00078BB8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007BC5C 00078BBC 7F E3 FB 78 */ mr r3, r31 +/* 8007BC60 00078BC0 90 01 00 08 */ stw r0, 8(r1) +/* 8007BC64 00078BC4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007BC68 00078BC8 48 0B 57 D1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007BC6C 00078BCC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007BC70 00078BD0 3C 60 80 3E */ lis r3, lbl_803DAA20@ha +/* 8007BC74 00078BD4 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l +/* 8007BC78 00078BD8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BC7C 00078BDC 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 8007BC80 00078BE0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BC84 00078BE4 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8007BC88 00078BE8 90 81 00 08 */ stw r4, 8(r1) +/* 8007BC8C 00078BEC 90 7F 00 C0 */ stw r3, 0xc0(r31) +/* 8007BC90 00078BF0 90 01 00 08 */ stw r0, 8(r1) +/* 8007BC94 00078BF4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007BC98 00078BF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007BC9C 00078BFC 7C 08 03 A6 */ mtlr r0 +/* 8007BCA0 00078C00 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007BCA4 00078C04 4E 80 00 20 */ blr + +.global __dt__11CBCGetupCmd +__dt__11CBCGetupCmd: +/* 8007BCA8 00078C08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007BCAC 00078C0C 7C 08 02 A6 */ mflr r0 +/* 8007BCB0 00078C10 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007BCB4 00078C14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007BCB8 00078C18 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007BCBC 00078C1C 41 82 00 30 */ beq lbl_8007BCEC +/* 8007BCC0 00078C20 3C 60 80 3E */ lis r3, lbl_803DAA20@ha +/* 8007BCC4 00078C24 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l +/* 8007BCC8 00078C28 90 1F 00 00 */ stw r0, 0(r31) +/* 8007BCCC 00078C2C 41 82 00 10 */ beq lbl_8007BCDC +/* 8007BCD0 00078C30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BCD4 00078C34 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BCD8 00078C38 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007BCDC: +/* 8007BCDC 00078C3C 7C 80 07 35 */ extsh. r0, r4 +/* 8007BCE0 00078C40 40 81 00 0C */ ble lbl_8007BCEC +/* 8007BCE4 00078C44 7F E3 FB 78 */ mr r3, r31 +/* 8007BCE8 00078C48 48 29 9C 49 */ bl Free__7CMemoryFPCv +lbl_8007BCEC: +/* 8007BCEC 00078C4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007BCF0 00078C50 7F E3 FB 78 */ mr r3, r31 +/* 8007BCF4 00078C54 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007BCF8 00078C58 7C 08 03 A6 */ mtlr r0 +/* 8007BCFC 00078C5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007BD00 00078C60 4E 80 00 20 */ blr + +.global sub_8007bd04 +sub_8007bd04: +/* 8007BD04 00078C64 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007BD08 00078C68 7C 08 02 A6 */ mflr r0 +/* 8007BD0C 00078C6C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007BD10 00078C70 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007BD14 00078C74 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8007BD18 00078C78 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 8007BD1C 00078C7C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007BD20 00078C80 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8007BD24 00078C84 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 8007BD28 00078C88 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 8007BD2C 00078C8C 3B E6 00 04 */ addi r31, r6, 4 +/* 8007BD30 00078C90 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8007BD34 00078C94 38 60 00 04 */ li r3, 4 +/* 8007BD38 00078C98 90 01 00 08 */ stw r0, 8(r1) +/* 8007BD3C 00078C9C 38 04 AA 44 */ addi r0, r4, lbl_803DAA44@l +/* 8007BD40 00078CA0 38 80 00 04 */ li r4, 4 +/* 8007BD44 00078CA4 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007BD48 00078CA8 7F E3 FB 78 */ mr r3, r31 +/* 8007BD4C 00078CAC 90 01 00 08 */ stw r0, 8(r1) +/* 8007BD50 00078CB0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8007BD54 00078CB4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8007BD58 00078CB8 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8007BD5C 00078CBC 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8007BD60 00078CC0 48 0B 56 D9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007BD64 00078CC4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007BD68 00078CC8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8007BD6C 00078CCC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 8007BD70 00078CD0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BD74 00078CD4 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 8007BD78 00078CD8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BD7C 00078CDC 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8007BD80 00078CE0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8007BD84 00078CE4 90 BF 00 FC */ stw r5, 0xfc(r31) +/* 8007BD88 00078CE8 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8007BD8C 00078CEC 90 7F 01 00 */ stw r3, 0x100(r31) +/* 8007BD90 00078CF0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8007BD94 00078CF4 90 BF 01 04 */ stw r5, 0x104(r31) +/* 8007BD98 00078CF8 90 81 00 08 */ stw r4, 8(r1) +/* 8007BD9C 00078CFC 90 7F 01 08 */ stw r3, 0x108(r31) +/* 8007BDA0 00078D00 90 01 00 08 */ stw r0, 8(r1) +/* 8007BDA4 00078D04 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007BDA8 00078D08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007BDAC 00078D0C 7C 08 03 A6 */ mtlr r0 +/* 8007BDB0 00078D10 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007BDB4 00078D14 4E 80 00 20 */ blr + +.global TryTaunt__10CPatternedFR13CStateManageri +TryTaunt__10CPatternedFR13CStateManageri: +/* 8007BDB8 00078D18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007BDBC 00078D1C 7C 08 02 A6 */ mflr r0 +/* 8007BDC0 00078D20 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007BDC4 00078D24 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007BDC8 00078D28 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8007BDCC 00078D2C 38 80 00 12 */ li r4, 0x12 +/* 8007BDD0 00078D30 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007BDD4 00078D34 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8007BDD8 00078D38 3C 60 80 3E */ lis r3, lbl_803DAA14@ha +/* 8007BDDC 00078D3C 90 01 00 08 */ stw r0, 8(r1) +/* 8007BDE0 00078D40 38 03 AA 14 */ addi r0, r3, lbl_803DAA14@l +/* 8007BDE4 00078D44 38 60 00 12 */ li r3, 0x12 +/* 8007BDE8 00078D48 3B E6 00 04 */ addi r31, r6, 4 +/* 8007BDEC 00078D4C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007BDF0 00078D50 7F E3 FB 78 */ mr r3, r31 +/* 8007BDF4 00078D54 90 01 00 08 */ stw r0, 8(r1) +/* 8007BDF8 00078D58 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007BDFC 00078D5C 48 0B 56 3D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007BE00 00078D60 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007BE04 00078D64 3C 60 80 3E */ lis r3, lbl_803DAA14@ha +/* 8007BE08 00078D68 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l +/* 8007BE0C 00078D6C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BE10 00078D70 90 1F 02 14 */ stw r0, 0x214(r31) +/* 8007BE14 00078D74 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BE18 00078D78 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8007BE1C 00078D7C 90 81 00 08 */ stw r4, 8(r1) +/* 8007BE20 00078D80 90 7F 02 18 */ stw r3, 0x218(r31) +/* 8007BE24 00078D84 90 01 00 08 */ stw r0, 8(r1) +/* 8007BE28 00078D88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007BE2C 00078D8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007BE30 00078D90 7C 08 03 A6 */ mtlr r0 +/* 8007BE34 00078D94 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007BE38 00078D98 4E 80 00 20 */ blr + +.global __dt__11CBCTauntCmd +__dt__11CBCTauntCmd: +/* 8007BE3C 00078D9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007BE40 00078DA0 7C 08 02 A6 */ mflr r0 +/* 8007BE44 00078DA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007BE48 00078DA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007BE4C 00078DAC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007BE50 00078DB0 41 82 00 30 */ beq lbl_8007BE80 +/* 8007BE54 00078DB4 3C 60 80 3E */ lis r3, lbl_803DAA14@ha +/* 8007BE58 00078DB8 38 03 AA 14 */ addi r0, r3, lbl_803DAA14@l +/* 8007BE5C 00078DBC 90 1F 00 00 */ stw r0, 0(r31) +/* 8007BE60 00078DC0 41 82 00 10 */ beq lbl_8007BE70 +/* 8007BE64 00078DC4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BE68 00078DC8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BE6C 00078DCC 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007BE70: +/* 8007BE70 00078DD0 7C 80 07 35 */ extsh. r0, r4 +/* 8007BE74 00078DD4 40 81 00 0C */ ble lbl_8007BE80 +/* 8007BE78 00078DD8 7F E3 FB 78 */ mr r3, r31 +/* 8007BE7C 00078DDC 48 29 9A B5 */ bl Free__7CMemoryFPCv +lbl_8007BE80: +/* 8007BE80 00078DE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007BE84 00078DE4 7F E3 FB 78 */ mr r3, r31 +/* 8007BE88 00078DE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007BE8C 00078DEC 7C 08 03 A6 */ mtlr r0 +/* 8007BE90 00078DF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007BE94 00078DF4 4E 80 00 20 */ blr + +.global __dt__11CBCSlideCmd +__dt__11CBCSlideCmd: +/* 8007BE98 00078DF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007BE9C 00078DFC 7C 08 02 A6 */ mflr r0 +/* 8007BEA0 00078E00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007BEA4 00078E04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007BEA8 00078E08 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007BEAC 00078E0C 41 82 00 30 */ beq lbl_8007BEDC +/* 8007BEB0 00078E10 3C 60 80 3E */ lis r3, lbl_803DAA08@ha +/* 8007BEB4 00078E14 38 03 AA 08 */ addi r0, r3, lbl_803DAA08@l +/* 8007BEB8 00078E18 90 1F 00 00 */ stw r0, 0(r31) +/* 8007BEBC 00078E1C 41 82 00 10 */ beq lbl_8007BECC +/* 8007BEC0 00078E20 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BEC4 00078E24 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BEC8 00078E28 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007BECC: +/* 8007BECC 00078E2C 7C 80 07 35 */ extsh. r0, r4 +/* 8007BED0 00078E30 40 81 00 0C */ ble lbl_8007BEDC +/* 8007BED4 00078E34 7F E3 FB 78 */ mr r3, r31 +/* 8007BED8 00078E38 48 29 9A 59 */ bl Free__7CMemoryFPCv +lbl_8007BEDC: +/* 8007BEDC 00078E3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007BEE0 00078E40 7F E3 FB 78 */ mr r3, r31 +/* 8007BEE4 00078E44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007BEE8 00078E48 7C 08 03 A6 */ mtlr r0 +/* 8007BEEC 00078E4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007BEF0 00078E50 4E 80 00 20 */ blr + +.global TryJump__10CPatternedFR13CStateManageri +TryJump__10CPatternedFR13CStateManageri: +/* 8007BEF4 00078E54 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8007BEF8 00078E58 7C 08 02 A6 */ mflr r0 +/* 8007BEFC 00078E5C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007BF00 00078E60 3D 00 80 3E */ lis r8, lbl_803DAA68@ha +/* 8007BF04 00078E64 90 01 00 44 */ stw r0, 0x44(r1) +/* 8007BF08 00078E68 39 48 AA 68 */ addi r10, r8, lbl_803DAA68@l +/* 8007BF0C 00078E6C 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 8007BF10 00078E70 3D 00 80 3E */ lis r8, lbl_803DA9FC@ha +/* 8007BF14 00078E74 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8007BF18 00078E78 38 C0 00 00 */ li r6, 0 +/* 8007BF1C 00078E7C 88 81 00 2C */ lbz r4, 0x2c(r1) +/* 8007BF20 00078E80 50 C4 3E 30 */ rlwimi r4, r6, 7, 0x18, 0x18 +/* 8007BF24 00078E84 81 63 04 50 */ lwz r11, 0x450(r3) +/* 8007BF28 00078E88 39 20 00 10 */ li r9, 0x10 +/* 8007BF2C 00078E8C C0 A3 02 E0 */ lfs f5, 0x2e0(r3) +/* 8007BF30 00078E90 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 8007BF34 00078E94 C0 83 02 E4 */ lfs f4, 0x2e4(r3) +/* 8007BF38 00078E98 39 08 A9 FC */ addi r8, r8, lbl_803DA9FC@l +/* 8007BF3C 00078E9C C0 63 02 E8 */ lfs f3, 0x2e8(r3) +/* 8007BF40 00078EA0 3B EB 00 04 */ addi r31, r11, 4 +/* 8007BF44 00078EA4 C0 47 00 00 */ lfs f2, 0(r7) +/* 8007BF48 00078EA8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8007BF4C 00078EAC 98 81 00 2C */ stb r4, 0x2c(r1) +/* 8007BF50 00078EB0 7F E3 FB 78 */ mr r3, r31 +/* 8007BF54 00078EB4 C0 27 00 04 */ lfs f1, 4(r7) +/* 8007BF58 00078EB8 38 80 00 10 */ li r4, 0x10 +/* 8007BF5C 00078EBC 91 41 00 08 */ stw r10, 8(r1) +/* 8007BF60 00078EC0 C0 07 00 08 */ lfs f0, 8(r7) +/* 8007BF64 00078EC4 91 21 00 0C */ stw r9, 0xc(r1) +/* 8007BF68 00078EC8 91 01 00 08 */ stw r8, 8(r1) +/* 8007BF6C 00078ECC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007BF70 00078ED0 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8007BF74 00078ED4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8007BF78 00078ED8 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8007BF7C 00078EDC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8007BF80 00078EE0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8007BF84 00078EE4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8007BF88 00078EE8 98 01 00 2C */ stb r0, 0x2c(r1) +/* 8007BF8C 00078EEC 48 0B 54 AD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007BF90 00078EF0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007BF94 00078EF4 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha +/* 8007BF98 00078EF8 38 83 A9 FC */ addi r4, r3, lbl_803DA9FC@l +/* 8007BF9C 00078EFC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007BFA0 00078F00 90 1F 01 D4 */ stw r0, 0x1d4(r31) +/* 8007BFA4 00078F04 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007BFA8 00078F08 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8007BFAC 00078F0C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8007BFB0 00078F10 90 BF 01 D8 */ stw r5, 0x1d8(r31) +/* 8007BFB4 00078F14 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8007BFB8 00078F18 90 7F 01 DC */ stw r3, 0x1dc(r31) +/* 8007BFBC 00078F1C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8007BFC0 00078F20 90 BF 01 E0 */ stw r5, 0x1e0(r31) +/* 8007BFC4 00078F24 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8007BFC8 00078F28 90 7F 01 E4 */ stw r3, 0x1e4(r31) +/* 8007BFCC 00078F2C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8007BFD0 00078F30 90 BF 01 E8 */ stw r5, 0x1e8(r31) +/* 8007BFD4 00078F34 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8007BFD8 00078F38 90 7F 01 EC */ stw r3, 0x1ec(r31) +/* 8007BFDC 00078F3C 88 61 00 2C */ lbz r3, 0x2c(r1) +/* 8007BFE0 00078F40 90 BF 01 F0 */ stw r5, 0x1f0(r31) +/* 8007BFE4 00078F44 90 81 00 08 */ stw r4, 8(r1) +/* 8007BFE8 00078F48 98 7F 01 F4 */ stb r3, 0x1f4(r31) +/* 8007BFEC 00078F4C 90 01 00 08 */ stw r0, 8(r1) +/* 8007BFF0 00078F50 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8007BFF4 00078F54 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8007BFF8 00078F58 7C 08 03 A6 */ mtlr r0 +/* 8007BFFC 00078F5C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8007C000 00078F60 4E 80 00 20 */ blr + +.global __dt__10CBCJumpCmd +__dt__10CBCJumpCmd: +/* 8007C004 00078F64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007C008 00078F68 7C 08 02 A6 */ mflr r0 +/* 8007C00C 00078F6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007C010 00078F70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007C014 00078F74 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007C018 00078F78 41 82 00 30 */ beq lbl_8007C048 +/* 8007C01C 00078F7C 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha +/* 8007C020 00078F80 38 03 A9 FC */ addi r0, r3, lbl_803DA9FC@l +/* 8007C024 00078F84 90 1F 00 00 */ stw r0, 0(r31) +/* 8007C028 00078F88 41 82 00 10 */ beq lbl_8007C038 +/* 8007C02C 00078F8C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C030 00078F90 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C034 00078F94 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007C038: +/* 8007C038 00078F98 7C 80 07 35 */ extsh. r0, r4 +/* 8007C03C 00078F9C 40 81 00 0C */ ble lbl_8007C048 +/* 8007C040 00078FA0 7F E3 FB 78 */ mr r3, r31 +/* 8007C044 00078FA4 48 29 98 ED */ bl Free__7CMemoryFPCv +lbl_8007C048: +/* 8007C048 00078FA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007C04C 00078FAC 7F E3 FB 78 */ mr r3, r31 +/* 8007C050 00078FB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007C054 00078FB4 7C 08 03 A6 */ mtlr r0 +/* 8007C058 00078FB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007C05C 00078FBC 4E 80 00 20 */ blr + +.global sub_8007c060 +sub_8007c060: +/* 8007C060 00078FC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007C064 00078FC4 7C 08 02 A6 */ mflr r0 +/* 8007C068 00078FC8 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 8007C06C 00078FCC 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha +/* 8007C070 00078FD0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007C074 00078FD4 39 25 AA 68 */ addi r9, r5, lbl_803DAA68@l +/* 8007C078 00078FD8 38 C0 00 00 */ li r6, 0 +/* 8007C07C 00078FDC 39 00 00 0E */ li r8, 0xe +/* 8007C080 00078FE0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007C084 00078FE4 38 00 00 01 */ li r0, 1 +/* 8007C088 00078FE8 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8007C08C 00078FEC 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0 +/* 8007C090 00078FF0 81 43 04 50 */ lwz r10, 0x450(r3) +/* 8007C094 00078FF4 38 A0 FF FF */ li r5, -1 +/* 8007C098 00078FF8 C0 43 02 E0 */ lfs f2, 0x2e0(r3) +/* 8007C09C 00078FFC 7C 80 23 78 */ mr r0, r4 +/* 8007C0A0 00079000 C0 23 02 E4 */ lfs f1, 0x2e4(r3) +/* 8007C0A4 00079004 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l +/* 8007C0A8 00079008 C0 03 02 E8 */ lfs f0, 0x2e8(r3) +/* 8007C0AC 0007900C 3B EA 00 04 */ addi r31, r10, 4 +/* 8007C0B0 00079010 91 21 00 08 */ stw r9, 8(r1) +/* 8007C0B4 00079014 50 C0 F0 42 */ rlwimi r0, r6, 0x1e, 1, 1 +/* 8007C0B8 00079018 7F E3 FB 78 */ mr r3, r31 +/* 8007C0BC 0007901C 90 81 00 24 */ stw r4, 0x24(r1) +/* 8007C0C0 00079020 38 80 00 0E */ li r4, 0xe +/* 8007C0C4 00079024 91 01 00 0C */ stw r8, 0xc(r1) +/* 8007C0C8 00079028 90 E1 00 08 */ stw r7, 8(r1) +/* 8007C0CC 0007902C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8007C0D0 00079030 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8007C0D4 00079034 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8007C0D8 00079038 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8007C0DC 0007903C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8007C0E0 00079040 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007C0E4 00079044 48 0B 53 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007C0E8 00079048 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007C0EC 0007904C 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha +/* 8007C0F0 00079050 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l +/* 8007C0F4 00079054 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C0F8 00079058 90 1F 01 90 */ stw r0, 0x190(r31) +/* 8007C0FC 0007905C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C100 00079060 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8007C104 00079064 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8007C108 00079068 90 BF 01 94 */ stw r5, 0x194(r31) +/* 8007C10C 0007906C 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8007C110 00079070 90 7F 01 98 */ stw r3, 0x198(r31) +/* 8007C114 00079074 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8007C118 00079078 90 BF 01 9C */ stw r5, 0x19c(r31) +/* 8007C11C 0007907C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8007C120 00079080 90 7F 01 A0 */ stw r3, 0x1a0(r31) +/* 8007C124 00079084 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8007C128 00079088 90 BF 01 A4 */ stw r5, 0x1a4(r31) +/* 8007C12C 0007908C 90 81 00 08 */ stw r4, 8(r1) +/* 8007C130 00079090 90 7F 01 A8 */ stw r3, 0x1a8(r31) +/* 8007C134 00079094 90 01 00 08 */ stw r0, 8(r1) +/* 8007C138 00079098 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007C13C 0007909C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007C140 000790A0 7C 08 03 A6 */ mtlr r0 +/* 8007C144 000790A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007C148 000790A8 4E 80 00 20 */ blr + +.global __dt__14CBCGenerateCmd +__dt__14CBCGenerateCmd: +/* 8007C14C 000790AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007C150 000790B0 7C 08 02 A6 */ mflr r0 +/* 8007C154 000790B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007C158 000790B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007C15C 000790BC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007C160 000790C0 41 82 00 30 */ beq lbl_8007C190 +/* 8007C164 000790C4 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha +/* 8007C168 000790C8 38 03 A9 F0 */ addi r0, r3, lbl_803DA9F0@l +/* 8007C16C 000790CC 90 1F 00 00 */ stw r0, 0(r31) +/* 8007C170 000790D0 41 82 00 10 */ beq lbl_8007C180 +/* 8007C174 000790D4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C178 000790D8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C17C 000790DC 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007C180: +/* 8007C180 000790E0 7C 80 07 35 */ extsh. r0, r4 +/* 8007C184 000790E4 40 81 00 0C */ ble lbl_8007C190 +/* 8007C188 000790E8 7F E3 FB 78 */ mr r3, r31 +/* 8007C18C 000790EC 48 29 97 A5 */ bl Free__7CMemoryFPCv +lbl_8007C190: +/* 8007C190 000790F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007C194 000790F4 7F E3 FB 78 */ mr r3, r31 +/* 8007C198 000790F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007C19C 000790FC 7C 08 03 A6 */ mtlr r0 +/* 8007C1A0 00079100 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007C1A4 00079104 4E 80 00 20 */ blr + +.global sub_8007c1a8 +sub_8007c1a8: +/* 8007C1A8 00079108 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007C1AC 0007910C 7C 08 02 A6 */ mflr r0 +/* 8007C1B0 00079110 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007C1B4 00079114 3D 00 80 3E */ lis r8, lbl_803DAA68@ha +/* 8007C1B8 00079118 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007C1BC 0007911C 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 8007C1C0 00079120 39 08 AA 68 */ addi r8, r8, lbl_803DAA68@l +/* 8007C1C4 00079124 39 20 00 0E */ li r9, 0xe +/* 8007C1C8 00079128 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007C1CC 0007912C 38 C0 00 00 */ li r6, 0 +/* 8007C1D0 00079130 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8007C1D4 00079134 50 C4 F8 00 */ rlwimi r4, r6, 0x1f, 0, 0 +/* 8007C1D8 00079138 81 43 04 50 */ lwz r10, 0x450(r3) +/* 8007C1DC 0007913C 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha +/* 8007C1E0 00079140 C0 47 00 00 */ lfs f2, 0(r7) +/* 8007C1E4 00079144 7C 80 23 78 */ mr r0, r4 +/* 8007C1E8 00079148 C0 27 00 04 */ lfs f1, 4(r7) +/* 8007C1EC 0007914C 50 C0 F0 42 */ rlwimi r0, r6, 0x1e, 1, 1 +/* 8007C1F0 00079150 C0 07 00 08 */ lfs f0, 8(r7) +/* 8007C1F4 00079154 38 E0 FF FF */ li r7, -1 +/* 8007C1F8 00079158 90 81 00 24 */ stw r4, 0x24(r1) +/* 8007C1FC 0007915C 3B EA 00 04 */ addi r31, r10, 4 +/* 8007C200 00079160 38 80 00 0E */ li r4, 0xe +/* 8007C204 00079164 91 01 00 08 */ stw r8, 8(r1) +/* 8007C208 00079168 39 03 A9 F0 */ addi r8, r3, lbl_803DA9F0@l +/* 8007C20C 0007916C 7F E3 FB 78 */ mr r3, r31 +/* 8007C210 00079170 91 21 00 0C */ stw r9, 0xc(r1) +/* 8007C214 00079174 91 01 00 08 */ stw r8, 8(r1) +/* 8007C218 00079178 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007C21C 0007917C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8007C220 00079180 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8007C224 00079184 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8007C228 00079188 90 E1 00 20 */ stw r7, 0x20(r1) +/* 8007C22C 0007918C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007C230 00079190 48 0B 52 09 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007C234 00079194 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007C238 00079198 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha +/* 8007C23C 0007919C 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l +/* 8007C240 000791A0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C244 000791A4 90 1F 01 90 */ stw r0, 0x190(r31) +/* 8007C248 000791A8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C24C 000791AC 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8007C250 000791B0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8007C254 000791B4 90 BF 01 94 */ stw r5, 0x194(r31) +/* 8007C258 000791B8 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8007C25C 000791BC 90 7F 01 98 */ stw r3, 0x198(r31) +/* 8007C260 000791C0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8007C264 000791C4 90 BF 01 9C */ stw r5, 0x19c(r31) +/* 8007C268 000791C8 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8007C26C 000791CC 90 7F 01 A0 */ stw r3, 0x1a0(r31) +/* 8007C270 000791D0 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8007C274 000791D4 90 BF 01 A4 */ stw r5, 0x1a4(r31) +/* 8007C278 000791D8 90 81 00 08 */ stw r4, 8(r1) +/* 8007C27C 000791DC 90 7F 01 A8 */ stw r3, 0x1a8(r31) +/* 8007C280 000791E0 90 01 00 08 */ stw r0, 8(r1) +/* 8007C284 000791E4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007C288 000791E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007C28C 000791EC 7C 08 03 A6 */ mtlr r0 +/* 8007C290 000791F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007C294 000791F4 4E 80 00 20 */ blr + +.global TryBreakDodge__10CPatternedFR13CStateManageri +TryBreakDodge__10CPatternedFR13CStateManageri: +/* 8007C298 000791F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007C29C 000791FC 7C 08 02 A6 */ mflr r0 +/* 8007C2A0 00079200 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007C2A4 00079204 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007C2A8 00079208 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8007C2AC 0007920C 38 80 00 01 */ li r4, 1 +/* 8007C2B0 00079210 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007C2B4 00079214 80 E3 04 50 */ lwz r7, 0x450(r3) +/* 8007C2B8 00079218 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8007C2BC 0007921C 90 01 00 08 */ stw r0, 8(r1) +/* 8007C2C0 00079220 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l +/* 8007C2C4 00079224 38 60 00 01 */ li r3, 1 +/* 8007C2C8 00079228 38 00 00 02 */ li r0, 2 +/* 8007C2CC 0007922C 3B E7 00 04 */ addi r31, r7, 4 +/* 8007C2D0 00079230 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007C2D4 00079234 7F E3 FB 78 */ mr r3, r31 +/* 8007C2D8 00079238 90 C1 00 08 */ stw r6, 8(r1) +/* 8007C2DC 0007923C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007C2E0 00079240 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007C2E4 00079244 48 0B 51 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007C2E8 00079248 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007C2EC 0007924C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8007C2F0 00079250 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8007C2F4 00079254 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C2F8 00079258 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8007C2FC 0007925C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C300 00079260 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8007C304 00079264 90 81 00 08 */ stw r4, 8(r1) +/* 8007C308 00079268 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8007C30C 0007926C 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8007C310 00079270 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8007C314 00079274 90 01 00 08 */ stw r0, 8(r1) +/* 8007C318 00079278 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007C31C 0007927C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007C320 00079280 7C 08 03 A6 */ mtlr r0 +/* 8007C324 00079284 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007C328 00079288 4E 80 00 20 */ blr + +.global __dt__10CBCStepCmd +__dt__10CBCStepCmd: +/* 8007C32C 0007928C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007C330 00079290 7C 08 02 A6 */ mflr r0 +/* 8007C334 00079294 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007C338 00079298 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007C33C 0007929C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007C340 000792A0 41 82 00 30 */ beq lbl_8007C370 +/* 8007C344 000792A4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8007C348 000792A8 38 03 A9 E4 */ addi r0, r3, lbl_803DA9E4@l +/* 8007C34C 000792AC 90 1F 00 00 */ stw r0, 0(r31) +/* 8007C350 000792B0 41 82 00 10 */ beq lbl_8007C360 +/* 8007C354 000792B4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C358 000792B8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C35C 000792BC 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007C360: +/* 8007C360 000792C0 7C 80 07 35 */ extsh. r0, r4 +/* 8007C364 000792C4 40 81 00 0C */ ble lbl_8007C370 +/* 8007C368 000792C8 7F E3 FB 78 */ mr r3, r31 +/* 8007C36C 000792CC 48 29 95 C5 */ bl Free__7CMemoryFPCv +lbl_8007C370: +/* 8007C370 000792D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007C374 000792D4 7F E3 FB 78 */ mr r3, r31 +/* 8007C378 000792D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007C37C 000792DC 7C 08 03 A6 */ mtlr r0 +/* 8007C380 000792E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007C384 000792E4 4E 80 00 20 */ blr + +.global TryDodge__10CPatternedFR13CStateManageri +TryDodge__10CPatternedFR13CStateManageri: +/* 8007C388 000792E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007C38C 000792EC 7C 08 02 A6 */ mflr r0 +/* 8007C390 000792F0 38 C0 00 01 */ li r6, 1 +/* 8007C394 000792F4 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007C398 000792F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007C39C 000792FC 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8007C3A0 00079300 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007C3A4 00079304 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8007C3A8 00079308 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8007C3AC 0007930C 90 01 00 08 */ stw r0, 8(r1) +/* 8007C3B0 00079310 38 03 A9 E4 */ addi r0, r3, lbl_803DA9E4@l +/* 8007C3B4 00079314 3B E4 00 04 */ addi r31, r4, 4 +/* 8007C3B8 00079318 38 80 00 01 */ li r4, 1 +/* 8007C3BC 0007931C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8007C3C0 00079320 7F E3 FB 78 */ mr r3, r31 +/* 8007C3C4 00079324 90 01 00 08 */ stw r0, 8(r1) +/* 8007C3C8 00079328 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007C3CC 0007932C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8007C3D0 00079330 48 0B 50 69 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007C3D4 00079334 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007C3D8 00079338 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8007C3DC 0007933C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8007C3E0 00079340 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C3E4 00079344 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8007C3E8 00079348 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C3EC 0007934C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8007C3F0 00079350 90 81 00 08 */ stw r4, 8(r1) +/* 8007C3F4 00079354 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8007C3F8 00079358 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8007C3FC 0007935C 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8007C400 00079360 90 01 00 08 */ stw r0, 8(r1) +/* 8007C404 00079364 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007C408 00079368 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007C40C 0007936C 7C 08 03 A6 */ mtlr r0 +/* 8007C410 00079370 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007C414 00079374 4E 80 00 20 */ blr + +.global sub_8007c418 +sub_8007c418: +/* 8007C418 00079378 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007C41C 0007937C 7C 08 02 A6 */ mflr r0 +/* 8007C420 00079380 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007C424 00079384 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007C428 00079388 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8007C42C 0007938C 38 80 00 01 */ li r4, 1 +/* 8007C430 00079390 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007C434 00079394 80 E3 04 50 */ lwz r7, 0x450(r3) +/* 8007C438 00079398 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8007C43C 0007939C 90 01 00 08 */ stw r0, 8(r1) +/* 8007C440 000793A0 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l +/* 8007C444 000793A4 38 60 00 01 */ li r3, 1 +/* 8007C448 000793A8 38 00 00 00 */ li r0, 0 +/* 8007C44C 000793AC 3B E7 00 04 */ addi r31, r7, 4 +/* 8007C450 000793B0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8007C454 000793B4 7F E3 FB 78 */ mr r3, r31 +/* 8007C458 000793B8 90 C1 00 08 */ stw r6, 8(r1) +/* 8007C45C 000793BC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007C460 000793C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007C464 000793C4 48 0B 4F D5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007C468 000793C8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007C46C 000793CC 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8007C470 000793D0 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8007C474 000793D4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C478 000793D8 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8007C47C 000793DC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C480 000793E0 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8007C484 000793E4 90 81 00 08 */ stw r4, 8(r1) +/* 8007C488 000793E8 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8007C48C 000793EC 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8007C490 000793F0 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8007C494 000793F4 90 01 00 08 */ stw r0, 8(r1) +/* 8007C498 000793F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007C49C 000793FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007C4A0 00079400 7C 08 03 A6 */ mtlr r0 +/* 8007C4A4 00079404 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007C4A8 00079408 4E 80 00 20 */ blr + +.global sub_8007c4ac +sub_8007c4ac: +/* 8007C4AC 0007940C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007C4B0 00079410 7C 08 02 A6 */ mflr r0 +/* 8007C4B4 00079414 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007C4B8 00079418 38 E0 00 05 */ li r7, 5 +/* 8007C4BC 0007941C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007C4C0 00079420 38 C4 AA 68 */ addi r6, r4, lbl_803DAA68@l +/* 8007C4C4 00079424 38 00 00 01 */ li r0, 1 +/* 8007C4C8 00079428 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha +/* 8007C4CC 0007942C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007C4D0 00079430 81 03 04 50 */ lwz r8, 0x450(r3) +/* 8007C4D4 00079434 C0 43 02 E0 */ lfs f2, 0x2e0(r3) +/* 8007C4D8 00079438 C0 23 02 E4 */ lfs f1, 0x2e4(r3) +/* 8007C4DC 0007943C 3B E8 00 04 */ addi r31, r8, 4 +/* 8007C4E0 00079440 C0 03 02 E8 */ lfs f0, 0x2e8(r3) +/* 8007C4E4 00079444 7F E3 FB 78 */ mr r3, r31 +/* 8007C4E8 00079448 90 C1 00 08 */ stw r6, 8(r1) +/* 8007C4EC 0007944C 38 C4 A9 D8 */ addi r6, r4, lbl_803DA9D8@l +/* 8007C4F0 00079450 38 80 00 05 */ li r4, 5 +/* 8007C4F4 00079454 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8007C4F8 00079458 90 C1 00 08 */ stw r6, 8(r1) +/* 8007C4FC 0007945C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007C500 00079460 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8007C504 00079464 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8007C508 00079468 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8007C50C 0007946C 98 01 00 20 */ stb r0, 0x20(r1) +/* 8007C510 00079470 48 0B 4F 29 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007C514 00079474 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007C518 00079478 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha +/* 8007C51C 0007947C 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l +/* 8007C520 00079480 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C524 00079484 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8007C528 00079488 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C52C 0007948C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8007C530 00079490 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8007C534 00079494 90 7F 01 14 */ stw r3, 0x114(r31) +/* 8007C538 00079498 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8007C53C 0007949C 90 BF 01 18 */ stw r5, 0x118(r31) +/* 8007C540 000794A0 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8007C544 000794A4 90 7F 01 1C */ stw r3, 0x11c(r31) +/* 8007C548 000794A8 88 61 00 20 */ lbz r3, 0x20(r1) +/* 8007C54C 000794AC 90 BF 01 20 */ stw r5, 0x120(r31) +/* 8007C550 000794B0 90 81 00 08 */ stw r4, 8(r1) +/* 8007C554 000794B4 98 7F 01 24 */ stb r3, 0x124(r31) +/* 8007C558 000794B8 90 01 00 08 */ stw r0, 8(r1) +/* 8007C55C 000794BC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007C560 000794C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007C564 000794C4 7C 08 03 A6 */ mtlr r0 +/* 8007C568 000794C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007C56C 000794CC 4E 80 00 20 */ blr + +.global __dt__17CBCMeleeAttackCmd +__dt__17CBCMeleeAttackCmd: +/* 8007C570 000794D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007C574 000794D4 7C 08 02 A6 */ mflr r0 +/* 8007C578 000794D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007C57C 000794DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007C580 000794E0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007C584 000794E4 41 82 00 30 */ beq lbl_8007C5B4 +/* 8007C588 000794E8 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha +/* 8007C58C 000794EC 38 03 A9 D8 */ addi r0, r3, lbl_803DA9D8@l +/* 8007C590 000794F0 90 1F 00 00 */ stw r0, 0(r31) +/* 8007C594 000794F4 41 82 00 10 */ beq lbl_8007C5A4 +/* 8007C598 000794F8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C59C 000794FC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C5A0 00079500 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007C5A4: +/* 8007C5A4 00079504 7C 80 07 35 */ extsh. r0, r4 +/* 8007C5A8 00079508 40 81 00 0C */ ble lbl_8007C5B4 +/* 8007C5AC 0007950C 7F E3 FB 78 */ mr r3, r31 +/* 8007C5B0 00079510 48 29 93 81 */ bl Free__7CMemoryFPCv +lbl_8007C5B4: +/* 8007C5B4 00079514 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007C5B8 00079518 7F E3 FB 78 */ mr r3, r31 +/* 8007C5BC 0007951C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007C5C0 00079520 7C 08 03 A6 */ mtlr r0 +/* 8007C5C4 00079524 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007C5C8 00079528 4E 80 00 20 */ blr + +.global TryMeleeAttack__10CPatternedFR13CStateManageri +TryMeleeAttack__10CPatternedFR13CStateManageri: +/* 8007C5CC 0007952C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007C5D0 00079530 7C 08 02 A6 */ mflr r0 +/* 8007C5D4 00079534 3C C0 80 3E */ lis r6, lbl_803DAA68@ha +/* 8007C5D8 00079538 38 E0 00 05 */ li r7, 5 +/* 8007C5DC 0007953C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007C5E0 00079540 38 C6 AA 68 */ addi r6, r6, lbl_803DAA68@l +/* 8007C5E4 00079544 38 00 00 00 */ li r0, 0 +/* 8007C5E8 00079548 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007C5EC 0007954C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007C5F0 00079550 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 8007C5F4 00079554 81 03 04 50 */ lwz r8, 0x450(r3) +/* 8007C5F8 00079558 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha +/* 8007C5FC 0007955C C0 24 00 04 */ lfs f1, 4(r4) +/* 8007C600 00079560 C0 04 00 08 */ lfs f0, 8(r4) +/* 8007C604 00079564 3B E8 00 04 */ addi r31, r8, 4 +/* 8007C608 00079568 90 C1 00 08 */ stw r6, 8(r1) +/* 8007C60C 0007956C 38 C3 A9 D8 */ addi r6, r3, lbl_803DA9D8@l +/* 8007C610 00079570 7F E3 FB 78 */ mr r3, r31 +/* 8007C614 00079574 38 80 00 05 */ li r4, 5 +/* 8007C618 00079578 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8007C61C 0007957C 90 C1 00 08 */ stw r6, 8(r1) +/* 8007C620 00079580 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007C624 00079584 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8007C628 00079588 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8007C62C 0007958C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8007C630 00079590 98 01 00 20 */ stb r0, 0x20(r1) +/* 8007C634 00079594 48 0B 4E 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007C638 00079598 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007C63C 0007959C 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha +/* 8007C640 000795A0 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l +/* 8007C644 000795A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C648 000795A8 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8007C64C 000795AC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C650 000795B0 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8007C654 000795B4 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8007C658 000795B8 90 7F 01 14 */ stw r3, 0x114(r31) +/* 8007C65C 000795BC 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8007C660 000795C0 90 BF 01 18 */ stw r5, 0x118(r31) +/* 8007C664 000795C4 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8007C668 000795C8 90 7F 01 1C */ stw r3, 0x11c(r31) +/* 8007C66C 000795CC 88 61 00 20 */ lbz r3, 0x20(r1) +/* 8007C670 000795D0 90 BF 01 20 */ stw r5, 0x120(r31) +/* 8007C674 000795D4 90 81 00 08 */ stw r4, 8(r1) +/* 8007C678 000795D8 98 7F 01 24 */ stb r3, 0x124(r31) +/* 8007C67C 000795DC 90 01 00 08 */ stw r0, 8(r1) +/* 8007C680 000795E0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007C684 000795E4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007C688 000795E8 7C 08 03 A6 */ mtlr r0 +/* 8007C68C 000795EC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007C690 000795F0 4E 80 00 20 */ blr + +.global TryProjectileAttack__10CPatternedFR13CStateManageri +TryProjectileAttack__10CPatternedFR13CStateManageri: +/* 8007C694 000795F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007C698 000795F8 7C 08 02 A6 */ mflr r0 +/* 8007C69C 000795FC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8007C6A0 00079600 38 E0 00 06 */ li r7, 6 +/* 8007C6A4 00079604 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007C6A8 00079608 38 C4 AA 68 */ addi r6, r4, lbl_803DAA68@l +/* 8007C6AC 0007960C 38 00 00 00 */ li r0, 0 +/* 8007C6B0 00079610 3C 80 80 3E */ lis r4, lbl_803DA9CC@ha +/* 8007C6B4 00079614 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007C6B8 00079618 81 03 04 50 */ lwz r8, 0x450(r3) +/* 8007C6BC 0007961C C0 43 02 E0 */ lfs f2, 0x2e0(r3) +/* 8007C6C0 00079620 C0 23 02 E4 */ lfs f1, 0x2e4(r3) +/* 8007C6C4 00079624 3B E8 00 04 */ addi r31, r8, 4 +/* 8007C6C8 00079628 C0 03 02 E8 */ lfs f0, 0x2e8(r3) +/* 8007C6CC 0007962C 7F E3 FB 78 */ mr r3, r31 +/* 8007C6D0 00079630 90 C1 00 08 */ stw r6, 8(r1) +/* 8007C6D4 00079634 38 C4 A9 CC */ addi r6, r4, lbl_803DA9CC@l +/* 8007C6D8 00079638 38 80 00 06 */ li r4, 6 +/* 8007C6DC 0007963C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8007C6E0 00079640 90 C1 00 08 */ stw r6, 8(r1) +/* 8007C6E4 00079644 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8007C6E8 00079648 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8007C6EC 0007964C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8007C6F0 00079650 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8007C6F4 00079654 98 01 00 20 */ stb r0, 0x20(r1) +/* 8007C6F8 00079658 48 0B 4D 41 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8007C6FC 0007965C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007C700 00079660 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha +/* 8007C704 00079664 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l +/* 8007C708 00079668 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C70C 0007966C 90 1F 01 2C */ stw r0, 0x12c(r31) +/* 8007C710 00079670 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C714 00079674 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8007C718 00079678 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8007C71C 0007967C 90 7F 01 30 */ stw r3, 0x130(r31) +/* 8007C720 00079680 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8007C724 00079684 90 BF 01 34 */ stw r5, 0x134(r31) +/* 8007C728 00079688 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8007C72C 0007968C 90 7F 01 38 */ stw r3, 0x138(r31) +/* 8007C730 00079690 88 61 00 20 */ lbz r3, 0x20(r1) +/* 8007C734 00079694 90 BF 01 3C */ stw r5, 0x13c(r31) +/* 8007C738 00079698 90 81 00 08 */ stw r4, 8(r1) +/* 8007C73C 0007969C 98 7F 01 40 */ stb r3, 0x140(r31) +/* 8007C740 000796A0 90 01 00 08 */ stw r0, 8(r1) +/* 8007C744 000796A4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007C748 000796A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007C74C 000796AC 7C 08 03 A6 */ mtlr r0 +/* 8007C750 000796B0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007C754 000796B4 4E 80 00 20 */ blr + +.global __dt__22CBCProjectileAttackCmdFv +__dt__22CBCProjectileAttackCmdFv: +/* 8007C758 000796B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007C75C 000796BC 7C 08 02 A6 */ mflr r0 +/* 8007C760 000796C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007C764 000796C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007C768 000796C8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8007C76C 000796CC 41 82 00 30 */ beq lbl_8007C79C +/* 8007C770 000796D0 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha +/* 8007C774 000796D4 38 03 A9 CC */ addi r0, r3, lbl_803DA9CC@l +/* 8007C778 000796D8 90 1F 00 00 */ stw r0, 0(r31) +/* 8007C77C 000796DC 41 82 00 10 */ beq lbl_8007C78C +/* 8007C780 000796E0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8007C784 000796E4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8007C788 000796E8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8007C78C: +/* 8007C78C 000796EC 7C 80 07 35 */ extsh. r0, r4 +/* 8007C790 000796F0 40 81 00 0C */ ble lbl_8007C79C +/* 8007C794 000796F4 7F E3 FB 78 */ mr r3, r31 +/* 8007C798 000796F8 48 29 91 99 */ bl Free__7CMemoryFPCv +lbl_8007C79C: +/* 8007C79C 000796FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007C7A0 00079700 7F E3 FB 78 */ mr r3, r31 +/* 8007C7A4 00079704 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007C7A8 00079708 7C 08 03 A6 */ mtlr r0 +/* 8007C7AC 0007970C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007C7B0 00079710 4E 80 00 20 */ blr + +.global TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi: +/* 8007C7B4 00079714 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007C7B8 00079718 7C 08 02 A6 */ mflr r0 +/* 8007C7BC 0007971C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007C7C0 00079720 81 03 04 50 */ lwz r8, 0x450(r3) +/* 8007C7C4 00079724 80 08 02 B8 */ lwz r0, 0x2b8(r8) +/* 8007C7C8 00079728 7C 05 00 00 */ cmpw r5, r0 +/* 8007C7CC 0007972C 40 82 00 10 */ bne lbl_8007C7DC +/* 8007C7D0 00079730 38 00 00 02 */ li r0, 2 +/* 8007C7D4 00079734 90 03 03 2C */ stw r0, 0x32c(r3) +/* 8007C7D8 00079738 48 00 00 2C */ b lbl_8007C804 +lbl_8007C7DC: +/* 8007C7DC 0007973C 80 03 03 2C */ lwz r0, 0x32c(r3) +/* 8007C7E0 00079740 2C 00 00 01 */ cmpwi r0, 1 +/* 8007C7E4 00079744 40 82 00 18 */ bne lbl_8007C7FC +/* 8007C7E8 00079748 7C E5 3B 78 */ mr r5, r7 +/* 8007C7EC 0007974C 7C CC 33 78 */ mr r12, r6 +/* 8007C7F0 00079750 48 30 D1 3D */ bl __ptmf_scall +/* 8007C7F4 00079754 60 00 00 00 */ nop +/* 8007C7F8 00079758 48 00 00 0C */ b lbl_8007C804 +lbl_8007C7FC: +/* 8007C7FC 0007975C 38 00 00 03 */ li r0, 3 +/* 8007C800 00079760 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_8007C804: +/* 8007C804 00079764 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007C808 00079768 7C 08 03 A6 */ mtlr r0 +/* 8007C80C 0007976C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007C810 00079770 4E 80 00 20 */ blr + +.global SetCoverPoint__10CPatternedFP17CScriptCoverPointR9TUniqueId +SetCoverPoint__10CPatternedFP17CScriptCoverPointR9TUniqueId: +/* 8007C814 00079774 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007C818 00079778 7C 08 02 A6 */ mflr r0 +/* 8007C81C 0007977C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007C820 00079780 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007C824 00079784 7C BF 2B 78 */ mr r31, r5 +/* 8007C828 00079788 93 C1 00 08 */ stw r30, 8(r1) +/* 8007C82C 0007978C 7C 9E 23 78 */ mr r30, r4 +/* 8007C830 00079790 7F C3 F3 78 */ mr r3, r30 +/* 8007C834 00079794 38 80 00 01 */ li r4, 1 +/* 8007C838 00079798 48 0B 0B B9 */ bl SetInUse__17CScriptCoverPointFb +/* 8007C83C 0007979C A0 1E 00 08 */ lhz r0, 8(r30) +/* 8007C840 000797A0 B0 1F 00 00 */ sth r0, 0(r31) +/* 8007C844 000797A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007C848 000797A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007C84C 000797AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8007C850 000797B0 7C 08 03 A6 */ mtlr r0 +/* 8007C854 000797B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007C858 000797B8 4E 80 00 20 */ blr + +.global ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId +ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId: +/* 8007C85C 000797BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007C860 000797C0 7C 08 02 A6 */ mflr r0 +/* 8007C864 000797C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007C868 000797C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007C86C 000797CC 7C BF 2B 78 */ mr r31, r5 +/* 8007C870 000797D0 38 A1 00 08 */ addi r5, r1, 8 +/* 8007C874 000797D4 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8007C878 000797D8 B0 01 00 08 */ sth r0, 8(r1) +/* 8007C87C 000797DC 48 00 00 31 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 8007C880 000797E0 28 03 00 00 */ cmplwi r3, 0 +/* 8007C884 000797E4 41 82 00 14 */ beq lbl_8007C898 +/* 8007C888 000797E8 38 80 00 00 */ li r4, 0 +/* 8007C88C 000797EC 48 0B 0B 65 */ bl SetInUse__17CScriptCoverPointFb +/* 8007C890 000797F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007C894 000797F4 B0 1F 00 00 */ sth r0, 0(r31) +lbl_8007C898: +/* 8007C898 000797F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007C89C 000797FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007C8A0 00079800 7C 08 03 A6 */ mtlr r0 +/* 8007C8A4 00079804 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007C8A8 00079808 4E 80 00 20 */ blr + +.global GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId: +/* 8007C8AC 0007980C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007C8B0 00079810 7C 08 02 A6 */ mflr r0 +/* 8007C8B4 00079814 38 60 00 00 */ li r3, 0 +/* 8007C8B8 00079818 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007C8BC 0007981C A0 A5 00 00 */ lhz r5, 0(r5) +/* 8007C8C0 00079820 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007C8C4 00079824 7C 05 00 40 */ cmplw r5, r0 +/* 8007C8C8 00079828 41 82 00 24 */ beq lbl_8007C8EC +/* 8007C8CC 0007982C B0 A1 00 08 */ sth r5, 8(r1) +/* 8007C8D0 00079830 7C 83 23 78 */ mr r3, r4 +/* 8007C8D4 00079834 38 81 00 08 */ addi r4, r1, 8 +/* 8007C8D8 00079838 4B FC FC 9D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8007C8DC 0007983C 7C 64 1B 78 */ mr r4, r3 +/* 8007C8E0 00079840 38 61 00 0C */ addi r3, r1, 0xc +/* 8007C8E4 00079844 48 02 E1 49 */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" +/* 8007C8E8 00079848 80 63 00 04 */ lwz r3, 4(r3) +lbl_8007C8EC: +/* 8007C8EC 0007984C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007C8F0 00079850 7C 08 03 A6 */ mtlr r0 +/* 8007C8F4 00079854 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007C8F8 00079858 4E 80 00 20 */ blr + +.global SetupPlayerCollision__10CPatternedFb +SetupPlayerCollision__10CPatternedFb: +/* 8007C8FC 0007985C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8007C900 00079860 7C 08 02 A6 */ mflr r0 +/* 8007C904 00079864 90 01 00 54 */ stw r0, 0x54(r1) +/* 8007C908 00079868 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8007C90C 0007986C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8007C910 00079870 7C 7F 1B 78 */ mr r31, r3 +/* 8007C914 00079874 41 82 00 70 */ beq lbl_8007C984 +/* 8007C918 00079878 4B FD 6F A5 */ bl GetMaterialFilter__6CActorCFv +/* 8007C91C 0007987C 83 C3 00 00 */ lwz r30, 0(r3) +/* 8007C920 00079880 83 A3 00 04 */ lwz r29, 4(r3) +/* 8007C924 00079884 7F E3 FB 78 */ mr r3, r31 +/* 8007C928 00079888 4B FD 6F 95 */ bl GetMaterialFilter__6CActorCFv +/* 8007C92C 0007988C 80 AD 84 0C */ lwz r5, lbl_805A6FCC@sda21(r13) +/* 8007C930 00079890 38 80 00 01 */ li r4, 1 +/* 8007C934 00079894 83 83 00 08 */ lwz r28, 8(r3) +/* 8007C938 00079898 83 63 00 0C */ lwz r27, 0xc(r3) +/* 8007C93C 0007989C 38 60 00 00 */ li r3, 0 +/* 8007C940 000798A0 48 30 D5 B5 */ bl __shl2i +/* 8007C944 000798A4 7C 85 20 F8 */ nor r5, r4, r4 +/* 8007C948 000798A8 7C 60 18 F8 */ nor r0, r3, r3 +/* 8007C94C 000798AC 7F BD 23 78 */ or r29, r29, r4 +/* 8007C950 000798B0 7F DE 1B 78 */ or r30, r30, r3 +/* 8007C954 000798B4 7F 7B 28 38 */ and r27, r27, r5 +/* 8007C958 000798B8 7F 9C 00 38 */ and r28, r28, r0 +/* 8007C95C 000798BC 38 00 00 03 */ li r0, 3 +/* 8007C960 000798C0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8007C964 000798C4 7F E3 FB 78 */ mr r3, r31 +/* 8007C968 000798C8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8007C96C 000798CC 93 C1 00 20 */ stw r30, 0x20(r1) +/* 8007C970 000798D0 93 61 00 2C */ stw r27, 0x2c(r1) +/* 8007C974 000798D4 93 81 00 28 */ stw r28, 0x28(r1) +/* 8007C978 000798D8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8007C97C 000798DC 4B FD 6F 25 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8007C980 000798E0 48 00 00 6C */ b lbl_8007C9EC +lbl_8007C984: +/* 8007C984 000798E4 4B FD 6F 39 */ bl GetMaterialFilter__6CActorCFv +/* 8007C988 000798E8 83 63 00 00 */ lwz r27, 0(r3) +/* 8007C98C 000798EC 83 83 00 04 */ lwz r28, 4(r3) +/* 8007C990 000798F0 7F E3 FB 78 */ mr r3, r31 +/* 8007C994 000798F4 4B FD 6F 29 */ bl GetMaterialFilter__6CActorCFv +/* 8007C998 000798F8 80 AD 84 10 */ lwz r5, lbl_805A6FD0@sda21(r13) +/* 8007C99C 000798FC 38 80 00 01 */ li r4, 1 +/* 8007C9A0 00079900 83 A3 00 08 */ lwz r29, 8(r3) +/* 8007C9A4 00079904 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 8007C9A8 00079908 38 60 00 00 */ li r3, 0 +/* 8007C9AC 0007990C 48 30 D5 49 */ bl __shl2i +/* 8007C9B0 00079910 7C 85 20 F8 */ nor r5, r4, r4 +/* 8007C9B4 00079914 7C 60 18 F8 */ nor r0, r3, r3 +/* 8007C9B8 00079918 7F DE 23 78 */ or r30, r30, r4 +/* 8007C9BC 0007991C 7F BD 1B 78 */ or r29, r29, r3 +/* 8007C9C0 00079920 7F 9C 28 38 */ and r28, r28, r5 +/* 8007C9C4 00079924 7F 7B 00 38 */ and r27, r27, r0 +/* 8007C9C8 00079928 38 00 00 03 */ li r0, 3 +/* 8007C9CC 0007992C 93 81 00 0C */ stw r28, 0xc(r1) +/* 8007C9D0 00079930 7F E3 FB 78 */ mr r3, r31 +/* 8007C9D4 00079934 38 81 00 08 */ addi r4, r1, 8 +/* 8007C9D8 00079938 93 61 00 08 */ stw r27, 8(r1) +/* 8007C9DC 0007993C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8007C9E0 00079940 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8007C9E4 00079944 90 01 00 18 */ stw r0, 0x18(r1) +/* 8007C9E8 00079948 4B FD 6E B9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +lbl_8007C9EC: +/* 8007C9EC 0007994C BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8007C9F0 00079950 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8007C9F4 00079954 7C 08 03 A6 */ mtlr r0 +/* 8007C9F8 00079958 38 21 00 50 */ addi r1, r1, 0x50 +/* 8007C9FC 0007995C 4E 80 00 20 */ blr + +.global func_8007CA00 +func_8007CA00: +/* 8007CA00 00079960 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007CA04 00079964 7C 08 02 A6 */ mflr r0 +/* 8007CA08 00079968 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007CA0C 0007996C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8007CA10 00079970 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8007CA14 00079974 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007CA18 00079978 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8007CA1C 0007997C 80 C3 00 64 */ lwz r6, 0x64(r3) +/* 8007CA20 00079980 7C 85 23 78 */ mr r5, r4 +/* 8007CA24 00079984 7C 7F 1B 78 */ mr r31, r3 +/* 8007CA28 00079988 C3 E2 89 04 */ lfs f31, lbl_805AA624@sda21(r2) +/* 8007CA2C 0007998C 80 86 00 10 */ lwz r4, 0x10(r6) +/* 8007CA30 00079990 38 61 00 08 */ addi r3, r1, 8 +/* 8007CA34 00079994 38 C0 FF FF */ li r6, -1 +/* 8007CA38 00079998 38 84 00 3C */ addi r4, r4, 0x3c +/* 8007CA3C 0007999C 48 26 87 31 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai +/* 8007CA40 000799A0 C0 21 00 08 */ lfs f1, 8(r1) +/* 8007CA44 000799A4 C0 02 89 5C */ lfs f0, lbl_805AA67C@sda21(r2) +/* 8007CA48 000799A8 83 C1 00 0C */ lwz r30, 0xc(r1) +/* 8007CA4C 000799AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007CA50 000799B0 40 81 00 2C */ ble lbl_8007CA7C +/* 8007CA54 000799B4 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8007CA58 000799B8 7F C4 F3 78 */ mr r4, r30 +/* 8007CA5C 000799BC 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8007CA60 000799C0 7F E3 FB 78 */ mr r3, r31 +/* 8007CA64 000799C4 4B FA FA 65 */ bl GetAnimationDuration__9CAnimDataCFi +/* 8007CA68 000799C8 FF E0 08 90 */ fmr f31, f1 +/* 8007CA6C 000799CC 7F E3 FB 78 */ mr r3, r31 +/* 8007CA70 000799D0 7F C4 F3 78 */ mr r4, r30 +/* 8007CA74 000799D4 4B FB 1A AD */ bl GetAverageVelocity__9CAnimDataCFi +/* 8007CA78 000799D8 EF E1 07 F2 */ fmuls f31, f1, f31 +lbl_8007CA7C: +/* 8007CA7C 000799DC FC 20 F8 90 */ fmr f1, f31 +/* 8007CA80 000799E0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8007CA84 000799E4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007CA88 000799E8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8007CA8C 000799EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007CA90 000799F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8007CA94 000799F4 7C 08 03 A6 */ mtlr r0 +/* 8007CA98 000799F8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007CA9C 000799FC 4E 80 00 20 */ blr + +.global ApplyBoneTracking__10CPatternedCFv +ApplyBoneTracking__10CPatternedCFv: +/* 8007CAA0 00079A00 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8007CAA4 00079A04 38 80 00 00 */ li r4, 0 +/* 8007CAA8 00079A08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007CAAC 00079A0C 41 82 00 1C */ beq lbl_8007CAC8 +/* 8007CAB0 00079A10 C0 23 04 C4 */ lfs f1, 0x4c4(r3) +/* 8007CAB4 00079A14 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007CAB8 00079A18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007CABC 00079A1C 4C 40 13 82 */ cror 2, 0, 2 +/* 8007CAC0 00079A20 7C 00 00 26 */ mfcr r0 +/* 8007CAC4 00079A24 54 04 1F FE */ rlwinm r4, r0, 3, 0x1f, 0x1f +lbl_8007CAC8: +/* 8007CAC8 00079A28 54 83 06 3E */ clrlwi r3, r4, 0x18 +/* 8007CACC 00079A2C 4E 80 00 20 */ blr + +.global GetGunEyePos__10CPatternedCFv +GetGunEyePos__10CPatternedCFv: +/* 8007CAD0 00079A30 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8007CAD4 00079A34 7C 08 02 A6 */ mflr r0 +/* 8007CAD8 00079A38 90 01 00 44 */ stw r0, 0x44(r1) +/* 8007CADC 00079A3C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8007CAE0 00079A40 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8007CAE4 00079A44 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8007CAE8 00079A48 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8007CAEC 00079A4C DB A1 00 10 */ stfd f29, 0x10(r1) +/* 8007CAF0 00079A50 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 8007CAF4 00079A54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007CAF8 00079A58 C3 C4 00 50 */ lfs f30, 0x50(r4) +/* 8007CAFC 00079A5C 7C 7F 1B 78 */ mr r31, r3 +/* 8007CB00 00079A60 C3 E4 00 40 */ lfs f31, 0x40(r4) +/* 8007CB04 00079A64 7C 83 23 78 */ mr r3, r4 +/* 8007CB08 00079A68 C3 A4 00 60 */ lfs f29, 0x60(r4) +/* 8007CB0C 00079A6C 48 09 DE B5 */ bl GetBaseBoundingBox__13CPhysicsActorCFv +/* 8007CB10 00079A70 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 8007CB14 00079A74 C0 03 00 08 */ lfs f0, 8(r3) +/* 8007CB18 00079A78 C0 42 89 60 */ lfs f2, lbl_805AA680@sda21(r2) +/* 8007CB1C 00079A7C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8007CB20 00079A80 D3 FF 00 00 */ stfs f31, 0(r31) +/* 8007CB24 00079A84 D3 DF 00 04 */ stfs f30, 4(r31) +/* 8007CB28 00079A88 EF A2 E8 3A */ fmadds f29, f2, f0, f29 +/* 8007CB2C 00079A8C D3 BF 00 08 */ stfs f29, 8(r31) +/* 8007CB30 00079A90 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8007CB34 00079A94 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8007CB38 00079A98 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8007CB3C 00079A9C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8007CB40 00079AA0 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 8007CB44 00079AA4 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 8007CB48 00079AA8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8007CB4C 00079AAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007CB50 00079AB0 7C 08 03 A6 */ mtlr r0 +/* 8007CB54 00079AB4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8007CB58 00079AB8 4E 80 00 20 */ blr + +.global SetDestPos__10CPatternedFRC9CVector3f +SetDestPos__10CPatternedFRC9CVector3f: +/* 8007CB5C 00079ABC C0 04 00 00 */ lfs f0, 0(r4) +/* 8007CB60 00079AC0 D0 03 02 E0 */ stfs f0, 0x2e0(r3) +/* 8007CB64 00079AC4 C0 04 00 04 */ lfs f0, 4(r4) +/* 8007CB68 00079AC8 D0 03 02 E4 */ stfs f0, 0x2e4(r3) +/* 8007CB6C 00079ACC C0 04 00 08 */ lfs f0, 8(r4) +/* 8007CB70 00079AD0 D0 03 02 E8 */ stfs f0, 0x2e8(r3) +/* 8007CB74 00079AD4 4E 80 00 20 */ blr + +.global AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8007CB78 00079AD8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8007CB7C 00079ADC 7C 08 02 A6 */ mflr r0 +/* 8007CB80 00079AE0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8007CB84 00079AE4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8007CB88 00079AE8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8007CB8C 00079AEC BF 41 00 78 */ stmw r26, 0x78(r1) +/* 8007CB90 00079AF0 7C BA 2B 78 */ mr r26, r5 +/* 8007CB94 00079AF4 7C 7E 1B 78 */ mr r30, r3 +/* 8007CB98 00079AF8 A0 05 00 00 */ lhz r0, 0(r5) +/* 8007CB9C 00079AFC 7C 9B 23 78 */ mr r27, r4 +/* 8007CBA0 00079B00 7C DF 33 78 */ mr r31, r6 +/* 8007CBA4 00079B04 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8007CBA8 00079B08 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8007CBAC 00079B0C 48 02 60 F9 */ bl AcceptScriptMsg__3CAiF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8007CBB0 00079B10 28 1B 00 2A */ cmplwi r27, 0x2a +/* 8007CBB4 00079B14 41 81 05 08 */ bgt lbl_8007D0BC +/* 8007CBB8 00079B18 3C 60 80 3E */ lis r3, lbl_803DA920@ha +/* 8007CBBC 00079B1C 57 60 10 3A */ slwi r0, r27, 2 +/* 8007CBC0 00079B20 38 63 A9 20 */ addi r3, r3, lbl_803DA920@l +/* 8007CBC4 00079B24 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8007CBC8 00079B28 7C 09 03 A6 */ mtctr r0 +/* 8007CBCC 00079B2C 4E 80 04 20 */ bctr +/* 8007CBD0 00079B30 80 1E 05 08 */ lwz r0, 0x508(r30) +/* 8007CBD4 00079B34 2C 00 00 01 */ cmpwi r0, 1 +/* 8007CBD8 00079B38 41 82 00 70 */ beq lbl_8007CC48 +/* 8007CBDC 00079B3C 7F C3 F3 78 */ mr r3, r30 +/* 8007CBE0 00079B40 4B FD 6C DD */ bl GetMaterialFilter__6CActorCFv +/* 8007CBE4 00079B44 83 A3 00 00 */ lwz r29, 0(r3) +/* 8007CBE8 00079B48 83 83 00 04 */ lwz r28, 4(r3) +/* 8007CBEC 00079B4C 7F C3 F3 78 */ mr r3, r30 +/* 8007CBF0 00079B50 4B FD 6C CD */ bl GetMaterialFilter__6CActorCFv +/* 8007CBF4 00079B54 80 AD 84 08 */ lwz r5, lbl_805A6FC8@sda21(r13) +/* 8007CBF8 00079B58 38 80 00 01 */ li r4, 1 +/* 8007CBFC 00079B5C 83 63 00 08 */ lwz r27, 8(r3) +/* 8007CC00 00079B60 83 43 00 0C */ lwz r26, 0xc(r3) +/* 8007CC04 00079B64 38 60 00 00 */ li r3, 0 +/* 8007CC08 00079B68 48 30 D2 ED */ bl __shl2i +/* 8007CC0C 00079B6C 7C 85 20 F8 */ nor r5, r4, r4 +/* 8007CC10 00079B70 7C 60 18 F8 */ nor r0, r3, r3 +/* 8007CC14 00079B74 7F 5A 23 78 */ or r26, r26, r4 +/* 8007CC18 00079B78 7F 7B 1B 78 */ or r27, r27, r3 +/* 8007CC1C 00079B7C 7F 9C 28 38 */ and r28, r28, r5 +/* 8007CC20 00079B80 7F BD 00 38 */ and r29, r29, r0 +/* 8007CC24 00079B84 38 00 00 03 */ li r0, 3 +/* 8007CC28 00079B88 93 81 00 5C */ stw r28, 0x5c(r1) +/* 8007CC2C 00079B8C 7F C3 F3 78 */ mr r3, r30 +/* 8007CC30 00079B90 38 81 00 58 */ addi r4, r1, 0x58 +/* 8007CC34 00079B94 93 A1 00 58 */ stw r29, 0x58(r1) +/* 8007CC38 00079B98 93 41 00 64 */ stw r26, 0x64(r1) +/* 8007CC3C 00079B9C 93 61 00 60 */ stw r27, 0x60(r1) +/* 8007CC40 00079BA0 90 01 00 68 */ stw r0, 0x68(r1) +/* 8007CC44 00079BA4 4B FD 6C 5D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +lbl_8007CC48: +/* 8007CC48 00079BA8 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 8007CC4C 00079BAC 38 60 00 00 */ li r3, 0 +/* 8007CC50 00079BB0 28 04 00 00 */ cmplwi r4, 0 +/* 8007CC54 00079BB4 41 82 00 14 */ beq lbl_8007CC68 +/* 8007CC58 00079BB8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8007CC5C 00079BBC 28 00 00 00 */ cmplwi r0, 0 +/* 8007CC60 00079BC0 41 82 00 08 */ beq lbl_8007CC68 +/* 8007CC64 00079BC4 38 60 00 01 */ li r3, 1 +lbl_8007CC68: +/* 8007CC68 00079BC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007CC6C 00079BCC 41 82 01 4C */ beq lbl_8007CDB8 +/* 8007CC70 00079BD0 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8007CC74 00079BD4 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8007CC78 00079BD8 28 00 00 00 */ cmplwi r0, 0 +/* 8007CC7C 00079BDC 41 82 01 3C */ beq lbl_8007CDB8 +/* 8007CC80 00079BE0 7F C3 F3 78 */ mr r3, r30 +/* 8007CC84 00079BE4 48 09 DD 3D */ bl GetBaseBoundingBox__13CPhysicsActorCFv +/* 8007CC88 00079BE8 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 8007CC8C 00079BEC C0 03 00 04 */ lfs f0, 4(r3) +/* 8007CC90 00079BF0 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 8007CC94 00079BF4 C0 43 00 08 */ lfs f2, 8(r3) +/* 8007CC98 00079BF8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8007CC9C 00079BFC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8007CCA0 00079C00 C0 03 00 00 */ lfs f0, 0(r3) +/* 8007CCA4 00079C04 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8007CCA8 00079C08 38 61 00 4C */ addi r3, r1, 0x4c +/* 8007CCAC 00079C0C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8007CCB0 00079C10 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 8007CCB4 00079C14 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8007CCB8 00079C18 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8007CCBC 00079C1C 48 29 7B FD */ bl Magnitude__9CVector3fCFv +/* 8007CCC0 00079C20 C0 02 89 10 */ lfs f0, lbl_805AA630@sda21(r2) +/* 8007CCC4 00079C24 3C 60 80 3D */ lis r3, lbl_803CD600@ha +/* 8007CCC8 00079C28 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l +/* 8007CCCC 00079C2C 38 A0 00 00 */ li r5, 0 +/* 8007CCD0 00079C30 EF E0 00 72 */ fmuls f31, f0, f1 +/* 8007CCD4 00079C34 38 60 00 48 */ li r3, 0x48 +/* 8007CCD8 00079C38 48 29 8B 95 */ bl __nw__FUlPCcPCc +/* 8007CCDC 00079C3C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8007CCE0 00079C40 41 82 00 78 */ beq lbl_8007CD58 +/* 8007CCE4 00079C44 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007CCE8 00079C48 38 61 00 40 */ addi r3, r1, 0x40 +/* 8007CCEC 00079C4C C0 22 89 04 */ lfs f1, lbl_805AA624@sda21(r2) +/* 8007CCF0 00079C50 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8007CCF4 00079C54 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8007CCF8 00079C58 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8007CCFC 00079C5C 48 29 7B FD */ bl Normalize__9CVector3fFv +/* 8007CD00 00079C60 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8007CD04 00079C64 38 00 00 00 */ li r0, 0 +/* 8007CD08 00079C68 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 8007CD0C 00079C6C C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007CD10 00079C70 D0 3D 00 00 */ stfs f1, 0(r29) +/* 8007CD14 00079C74 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 8007CD18 00079C78 D0 3D 00 04 */ stfs f1, 4(r29) +/* 8007CD1C 00079C7C C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8007CD20 00079C80 D0 3D 00 08 */ stfs f1, 8(r29) +/* 8007CD24 00079C84 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8007CD28 00079C88 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 8007CD2C 00079C8C D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8007CD30 00079C90 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 8007CD34 00079C94 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 8007CD38 00079C98 D3 FD 00 20 */ stfs f31, 0x20(r29) +/* 8007CD3C 00079C9C 90 7D 00 24 */ stw r3, 0x24(r29) +/* 8007CD40 00079CA0 90 1D 00 2C */ stw r0, 0x2c(r29) +/* 8007CD44 00079CA4 90 1D 00 30 */ stw r0, 0x30(r29) +/* 8007CD48 00079CA8 90 1D 00 34 */ stw r0, 0x34(r29) +/* 8007CD4C 00079CAC 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 8007CD50 00079CB0 90 1D 00 40 */ stw r0, 0x40(r29) +/* 8007CD54 00079CB4 90 1D 00 44 */ stw r0, 0x44(r29) +lbl_8007CD58: +/* 8007CD58 00079CB8 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 8007CD5C 00079CBC 38 60 00 08 */ li r3, 8 +/* 8007CD60 00079CC0 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 8007CD64 00079CC4 38 A0 00 00 */ li r5, 0 +/* 8007CD68 00079CC8 48 29 8B 05 */ bl __nw__FUlPCcPCc +/* 8007CD6C 00079CCC 28 03 00 00 */ cmplwi r3, 0 +/* 8007CD70 00079CD0 41 82 00 10 */ beq lbl_8007CD80 +/* 8007CD74 00079CD4 93 A3 00 00 */ stw r29, 0(r3) +/* 8007CD78 00079CD8 38 00 00 01 */ li r0, 1 +/* 8007CD7C 00079CDC 90 03 00 04 */ stw r0, 4(r3) +lbl_8007CD80: +/* 8007CD80 00079CE0 90 61 00 14 */ stw r3, 0x14(r1) +/* 8007CD84 00079CE4 80 1E 05 10 */ lwz r0, 0x510(r30) +/* 8007CD88 00079CE8 7C 00 18 40 */ cmplw r0, r3 +/* 8007CD8C 00079CEC 41 82 00 24 */ beq lbl_8007CDB0 +/* 8007CD90 00079CF0 38 7E 05 10 */ addi r3, r30, 0x510 +/* 8007CD94 00079CF4 48 00 0F F1 */ bl sub_8007dd84 +/* 8007CD98 00079CF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007CD9C 00079CFC 90 1E 05 10 */ stw r0, 0x510(r30) +/* 8007CDA0 00079D00 80 9E 05 10 */ lwz r4, 0x510(r30) +/* 8007CDA4 00079D04 80 64 00 04 */ lwz r3, 4(r4) +/* 8007CDA8 00079D08 38 03 00 01 */ addi r0, r3, 1 +/* 8007CDAC 00079D0C 90 04 00 04 */ stw r0, 4(r4) +lbl_8007CDB0: +/* 8007CDB0 00079D10 38 61 00 14 */ addi r3, r1, 0x14 +/* 8007CDB4 00079D14 48 00 0F D1 */ bl sub_8007dd84 +lbl_8007CDB8: +/* 8007CDB8 00079D18 88 1E 00 F8 */ lbz r0, 0xf8(r30) +/* 8007CDBC 00079D1C 38 60 00 01 */ li r3, 1 +/* 8007CDC0 00079D20 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8007CDC4 00079D24 98 1E 00 F8 */ stb r0, 0xf8(r30) +/* 8007CDC8 00079D28 48 00 02 F4 */ b lbl_8007D0BC +/* 8007CDCC 00079D2C 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 8007CDD0 00079D30 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007CDD4 00079D34 40 82 00 34 */ bne lbl_8007CE08 +/* 8007CDD8 00079D38 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007CDDC 00079D3C 7F C3 F3 78 */ mr r3, r30 +/* 8007CDE0 00079D40 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 8007CDE4 00079D44 7F E5 FB 78 */ mr r5, r31 +/* 8007CDE8 00079D48 C0 06 00 00 */ lfs f0, 0(r6) +/* 8007CDEC 00079D4C 38 80 00 25 */ li r4, 0x25 +/* 8007CDF0 00079D50 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 8007CDF4 00079D54 C0 06 00 04 */ lfs f0, 4(r6) +/* 8007CDF8 00079D58 D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 8007CDFC 00079D5C C0 06 00 08 */ lfs f0, 8(r6) +/* 8007CE00 00079D60 D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 8007CE04 00079D64 4B FD 75 4D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8007CE08: +/* 8007CE08 00079D68 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 8007CE0C 00079D6C 38 60 00 01 */ li r3, 1 +/* 8007CE10 00079D70 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8007CE14 00079D74 98 1E 03 28 */ stb r0, 0x328(r30) +/* 8007CE18 00079D78 48 00 02 A4 */ b lbl_8007D0BC +/* 8007CE1C 00079D7C 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 8007CE20 00079D80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007CE24 00079D84 40 82 00 50 */ bne lbl_8007CE74 +/* 8007CE28 00079D88 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8007CE2C 00079D8C 48 0B D2 A1 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 8007CE30 00079D90 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007CE34 00079D94 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 8007CE38 00079D98 40 82 00 3C */ bne lbl_8007CE74 +/* 8007CE3C 00079D9C 7F C3 F3 78 */ mr r3, r30 +/* 8007CE40 00079DA0 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007CE44 00079DA4 81 8C 00 80 */ lwz r12, 0x80(r12) +/* 8007CE48 00079DA8 7D 89 03 A6 */ mtctr r12 +/* 8007CE4C 00079DAC 4E 80 04 21 */ bctrl +/* 8007CE50 00079DB0 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007CE54 00079DB4 FC 20 08 50 */ fneg f1, f1 +/* 8007CE58 00079DB8 7F C3 F3 78 */ mr r3, r30 +/* 8007CE5C 00079DBC 7F E5 FB 78 */ mr r5, r31 +/* 8007CE60 00079DC0 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 8007CE64 00079DC4 38 80 00 25 */ li r4, 0x25 +/* 8007CE68 00079DC8 D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 8007CE6C 00079DCC D0 3E 01 58 */ stfs f1, 0x158(r30) +/* 8007CE70 00079DD0 4B FD 71 11 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8007CE74: +/* 8007CE74 00079DD4 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 8007CE78 00079DD8 38 60 00 00 */ li r3, 0 +/* 8007CE7C 00079DDC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8007CE80 00079DE0 98 1E 03 28 */ stb r0, 0x328(r30) +/* 8007CE84 00079DE4 48 00 02 38 */ b lbl_8007D0BC +/* 8007CE88 00079DE8 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8007CE8C 00079DEC C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8007CE90 00079DF0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8007CE94 00079DF4 D0 1E 03 A0 */ stfs f0, 0x3a0(r30) +/* 8007CE98 00079DF8 D0 3E 03 A4 */ stfs f1, 0x3a4(r30) +/* 8007CE9C 00079DFC D0 5E 03 A8 */ stfs f2, 0x3a8(r30) +/* 8007CEA0 00079E00 48 00 02 1C */ b lbl_8007D0BC +/* 8007CEA4 00079E04 83 5E 03 34 */ lwz r26, 0x334(r30) +/* 8007CEA8 00079E08 28 1A 00 00 */ cmplwi r26, 0 +/* 8007CEAC 00079E0C 41 82 02 10 */ beq lbl_8007D0BC +/* 8007CEB0 00079E10 7F 43 D3 78 */ mr r3, r26 +/* 8007CEB4 00079E14 48 30 CA 49 */ bl __ptmf_test +/* 8007CEB8 00079E18 2C 03 00 00 */ cmpwi r3, 0 +/* 8007CEBC 00079E1C 41 82 02 00 */ beq lbl_8007D0BC +/* 8007CEC0 00079E20 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 8007CEC4 00079E24 7F C3 F3 78 */ mr r3, r30 +/* 8007CEC8 00079E28 7F E4 FB 78 */ mr r4, r31 +/* 8007CECC 00079E2C 7F 4C D3 78 */ mr r12, r26 +/* 8007CED0 00079E30 38 A0 00 02 */ li r5, 2 +/* 8007CED4 00079E34 48 30 CA 59 */ bl __ptmf_scall +/* 8007CED8 00079E38 60 00 00 00 */ nop +/* 8007CEDC 00079E3C 48 00 01 E0 */ b lbl_8007D0BC +/* 8007CEE0 00079E40 A0 1A 00 00 */ lhz r0, 0(r26) +/* 8007CEE4 00079E44 7F E3 FB 78 */ mr r3, r31 +/* 8007CEE8 00079E48 38 81 00 0C */ addi r4, r1, 0xc +/* 8007CEEC 00079E4C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8007CEF0 00079E50 4B FC F6 B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8007CEF4 00079E54 7C 64 1B 78 */ mr r4, r3 +/* 8007CEF8 00079E58 38 61 00 20 */ addi r3, r1, 0x20 +/* 8007CEFC 00079E5C 48 03 08 11 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8007CF00 00079E60 83 43 00 04 */ lwz r26, 4(r3) +/* 8007CF04 00079E64 28 1A 00 00 */ cmplwi r26, 0 +/* 8007CF08 00079E68 41 82 01 B4 */ beq lbl_8007D0BC +/* 8007CF0C 00079E6C 80 1A 01 2C */ lwz r0, 0x12c(r26) +/* 8007CF10 00079E70 2C 00 00 02 */ cmpwi r0, 2 +/* 8007CF14 00079E74 40 82 00 A0 */ bne lbl_8007CFB4 +/* 8007CF18 00079E78 88 1E 04 E1 */ lbz r0, 0x4e1(r30) +/* 8007CF1C 00079E7C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007CF20 00079E80 41 82 01 24 */ beq lbl_8007D044 +/* 8007CF24 00079E84 88 1A 01 30 */ lbz r0, 0x130(r26) +/* 8007CF28 00079E88 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007CF2C 00079E8C 41 82 01 18 */ beq lbl_8007D044 +/* 8007CF30 00079E90 7F C3 F3 78 */ mr r3, r30 +/* 8007CF34 00079E94 7F E4 FB 78 */ mr r4, r31 +/* 8007CF38 00079E98 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007CF3C 00079E9C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8007CF40 00079EA0 7D 89 03 A6 */ mtctr r12 +/* 8007CF44 00079EA4 4E 80 04 21 */ bctrl +/* 8007CF48 00079EA8 28 03 00 00 */ cmplwi r3, 0 +/* 8007CF4C 00079EAC 41 82 00 F8 */ beq lbl_8007D044 +/* 8007CF50 00079EB0 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 8007CF54 00079EB4 38 60 00 01 */ li r3, 1 +/* 8007CF58 00079EB8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8007CF5C 00079EBC 7F E5 FB 78 */ mr r5, r31 +/* 8007CF60 00079EC0 98 1E 04 01 */ stb r0, 0x401(r30) +/* 8007CF64 00079EC4 7F C3 F3 78 */ mr r3, r30 +/* 8007CF68 00079EC8 38 81 00 34 */ addi r4, r1, 0x34 +/* 8007CF6C 00079ECC 38 DA 01 2C */ addi r6, r26, 0x12c +/* 8007CF70 00079ED0 C0 3A 01 40 */ lfs f1, 0x140(r26) +/* 8007CF74 00079ED4 38 E0 00 01 */ li r7, 1 +/* 8007CF78 00079ED8 C0 7E 00 58 */ lfs f3, 0x58(r30) +/* 8007CF7C 00079EDC 39 00 00 00 */ li r8, 0 +/* 8007CF80 00079EE0 C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 8007CF84 00079EE4 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8007CF88 00079EE8 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8007CF8C 00079EEC D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8007CF90 00079EF0 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 8007CF94 00079EF4 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007CF98 00079EF8 81 8C 00 88 */ lwz r12, 0x88(r12) +/* 8007CF9C 00079EFC 7D 89 03 A6 */ mtctr r12 +/* 8007CFA0 00079F00 4E 80 04 21 */ bctrl +/* 8007CFA4 00079F04 38 7E 04 60 */ addi r3, r30, 0x460 +/* 8007CFA8 00079F08 38 80 00 02 */ li r4, 2 +/* 8007CFAC 00079F0C 48 1B 6D 85 */ bl DeferKnockBack__20CKnockBackControllerF11EWeaponType +/* 8007CFB0 00079F10 48 00 00 94 */ b lbl_8007D044 +lbl_8007CFB4: +/* 8007CFB4 00079F14 2C 00 00 03 */ cmpwi r0, 3 +/* 8007CFB8 00079F18 40 82 00 8C */ bne lbl_8007D044 +/* 8007CFBC 00079F1C 88 1E 04 E1 */ lbz r0, 0x4e1(r30) +/* 8007CFC0 00079F20 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8007CFC4 00079F24 41 82 00 80 */ beq lbl_8007D044 +/* 8007CFC8 00079F28 88 1A 01 30 */ lbz r0, 0x130(r26) +/* 8007CFCC 00079F2C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007CFD0 00079F30 41 82 00 74 */ beq lbl_8007D044 +/* 8007CFD4 00079F34 7F C3 F3 78 */ mr r3, r30 +/* 8007CFD8 00079F38 7F E4 FB 78 */ mr r4, r31 +/* 8007CFDC 00079F3C 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007CFE0 00079F40 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8007CFE4 00079F44 7D 89 03 A6 */ mtctr r12 +/* 8007CFE8 00079F48 4E 80 04 21 */ bctrl +/* 8007CFEC 00079F4C 28 03 00 00 */ cmplwi r3, 0 +/* 8007CFF0 00079F50 41 82 00 54 */ beq lbl_8007D044 +/* 8007CFF4 00079F54 C0 3A 01 40 */ lfs f1, 0x140(r26) +/* 8007CFF8 00079F58 7F C3 F3 78 */ mr r3, r30 +/* 8007CFFC 00079F5C C0 7E 00 58 */ lfs f3, 0x58(r30) +/* 8007D000 00079F60 7F E5 FB 78 */ mr r5, r31 +/* 8007D004 00079F64 C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 8007D008 00079F68 38 81 00 28 */ addi r4, r1, 0x28 +/* 8007D00C 00079F6C C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8007D010 00079F70 38 DA 01 2C */ addi r6, r26, 0x12c +/* 8007D014 00079F74 38 E0 00 01 */ li r7, 1 +/* 8007D018 00079F78 39 00 00 00 */ li r8, 0 +/* 8007D01C 00079F7C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8007D020 00079F80 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8007D024 00079F84 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8007D028 00079F88 81 9E 00 00 */ lwz r12, 0(r30) +/* 8007D02C 00079F8C 81 8C 00 88 */ lwz r12, 0x88(r12) +/* 8007D030 00079F90 7D 89 03 A6 */ mtctr r12 +/* 8007D034 00079F94 4E 80 04 21 */ bctrl +/* 8007D038 00079F98 38 7E 04 60 */ addi r3, r30, 0x460 +/* 8007D03C 00079F9C 38 80 00 03 */ li r4, 3 +/* 8007D040 00079FA0 48 1B 6C F1 */ bl DeferKnockBack__20CKnockBackControllerF11EWeaponType +lbl_8007D044: +/* 8007D044 00079FA4 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8007D048 00079FA8 A0 9A 00 EC */ lhz r4, 0xec(r26) +/* 8007D04C 00079FAC A0 03 00 08 */ lhz r0, 8(r3) +/* 8007D050 00079FB0 7C 04 00 40 */ cmplw r4, r0 +/* 8007D054 00079FB4 40 82 00 68 */ bne lbl_8007D0BC +/* 8007D058 00079FB8 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007D05C 00079FBC 38 60 00 01 */ li r3, 1 +/* 8007D060 00079FC0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8007D064 00079FC4 98 1E 04 00 */ stb r0, 0x400(r30) +/* 8007D068 00079FC8 48 00 00 54 */ b lbl_8007D0BC +/* 8007D06C 00079FCC A0 1A 00 00 */ lhz r0, 0(r26) +/* 8007D070 00079FD0 7F E3 FB 78 */ mr r3, r31 +/* 8007D074 00079FD4 38 81 00 08 */ addi r4, r1, 8 +/* 8007D078 00079FD8 B0 01 00 08 */ sth r0, 8(r1) +/* 8007D07C 00079FDC 4B FC F5 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8007D080 00079FE0 7C 64 1B 78 */ mr r4, r3 +/* 8007D084 00079FE4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8007D088 00079FE8 48 03 06 85 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8007D08C 00079FEC 80 83 00 04 */ lwz r4, 4(r3) +/* 8007D090 00079FF0 28 04 00 00 */ cmplwi r4, 0 +/* 8007D094 00079FF4 41 82 00 28 */ beq lbl_8007D0BC +/* 8007D098 00079FF8 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8007D09C 00079FFC A0 84 00 EC */ lhz r4, 0xec(r4) +/* 8007D0A0 0007A000 A0 03 00 08 */ lhz r0, 8(r3) +/* 8007D0A4 0007A004 7C 04 00 40 */ cmplw r4, r0 +/* 8007D0A8 0007A008 40 82 00 14 */ bne lbl_8007D0BC +/* 8007D0AC 0007A00C 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8007D0B0 0007A010 38 60 00 01 */ li r3, 1 +/* 8007D0B4 0007A014 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8007D0B8 0007A018 98 1E 04 00 */ stb r0, 0x400(r30) +lbl_8007D0BC: +/* 8007D0BC 0007A01C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8007D0C0 0007A020 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8007D0C4 0007A024 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 8007D0C8 0007A028 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8007D0CC 0007A02C 7C 08 03 A6 */ mtlr r0 +/* 8007D0D0 0007A030 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8007D0D4 0007A034 4E 80 00 20 */ blr + +.global Accept__10CPatternedFR8IVisitor +Accept__10CPatternedFR8IVisitor: +/* 8007D0D8 0007A038 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007D0DC 0007A03C 7C 08 02 A6 */ mflr r0 +/* 8007D0E0 0007A040 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007D0E4 0007A044 7C 60 1B 78 */ mr r0, r3 +/* 8007D0E8 0007A048 7C 83 23 78 */ mr r3, r4 +/* 8007D0EC 0007A04C 81 84 00 00 */ lwz r12, 0(r4) +/* 8007D0F0 0007A050 7C 04 03 78 */ mr r4, r0 +/* 8007D0F4 0007A054 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8007D0F8 0007A058 7D 89 03 A6 */ mtctr r12 +/* 8007D0FC 0007A05C 4E 80 04 21 */ bctrl +/* 8007D100 0007A060 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007D104 0007A064 7C 08 03 A6 */ mtlr r0 +/* 8007D108 0007A068 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007D10C 0007A06C 4E 80 00 20 */ blr + +.global BuildBodyController__10CPatternedF9EBodyType +BuildBodyController__10CPatternedF9EBodyType: +/* 8007D110 0007A070 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8007D114 0007A074 7C 08 02 A6 */ mflr r0 +/* 8007D118 0007A078 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8007D11C 0007A07C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8007D120 0007A080 7C 9F 23 78 */ mr r31, r4 +/* 8007D124 0007A084 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8007D128 0007A088 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8007D12C 0007A08C 7C 7D 1B 78 */ mr r29, r3 +/* 8007D130 0007A090 80 03 04 50 */ lwz r0, 0x450(r3) +/* 8007D134 0007A094 28 00 00 00 */ cmplwi r0, 0 +/* 8007D138 0007A098 40 82 01 70 */ bne lbl_8007D2A8 +/* 8007D13C 0007A09C 3C 80 80 3D */ lis r4, lbl_803CD600@ha +/* 8007D140 0007A0A0 38 60 03 34 */ li r3, 0x334 +/* 8007D144 0007A0A4 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l +/* 8007D148 0007A0A8 38 A0 00 00 */ li r5, 0 +/* 8007D14C 0007A0AC 48 29 87 21 */ bl __nw__FUlPCcPCc +/* 8007D150 0007A0B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8007D154 0007A0B4 41 82 00 18 */ beq lbl_8007D16C +/* 8007D158 0007A0B8 C0 3D 03 B8 */ lfs f1, 0x3b8(r29) +/* 8007D15C 0007A0BC 7F A4 EB 78 */ mr r4, r29 +/* 8007D160 0007A0C0 7F E5 FB 78 */ mr r5, r31 +/* 8007D164 0007A0C4 48 0B DC 25 */ bl __ct__15CBodyControllerFR6CActorf9EBodyType +/* 8007D168 0007A0C8 7C 7E 1B 78 */ mr r30, r3 +lbl_8007D16C: +/* 8007D16C 0007A0CC 83 FD 04 50 */ lwz r31, 0x450(r29) +/* 8007D170 0007A0D0 28 1F 00 00 */ cmplwi r31, 0 +/* 8007D174 0007A0D4 41 82 00 24 */ beq lbl_8007D198 +/* 8007D178 0007A0D8 38 7F 02 A4 */ addi r3, r31, 0x2a4 +/* 8007D17C 0007A0DC 38 80 FF FF */ li r4, -1 +/* 8007D180 0007A0E0 48 0B 6F F9 */ bl __dt__14CBodyStateInfoFv +/* 8007D184 0007A0E4 38 7F 00 04 */ addi r3, r31, 4 +/* 8007D188 0007A0E8 38 80 FF FF */ li r4, -1 +/* 8007D18C 0007A0EC 48 0B 46 69 */ bl __dt__16CBodyStateCmdMgrFv +/* 8007D190 0007A0F0 7F E3 FB 78 */ mr r3, r31 +/* 8007D194 0007A0F4 48 29 87 9D */ bl Free__7CMemoryFPCv +lbl_8007D198: +/* 8007D198 0007A0F8 93 DD 04 50 */ stw r30, 0x450(r29) +/* 8007D19C 0007A0FC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8007D1A0 0007A100 48 26 5E DD */ bl NoParameter__12CPASAnimParmFv +/* 8007D1A4 0007A104 38 61 00 20 */ addi r3, r1, 0x20 +/* 8007D1A8 0007A108 48 26 5E D5 */ bl NoParameter__12CPASAnimParmFv +/* 8007D1AC 0007A10C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8007D1B0 0007A110 48 26 5E CD */ bl NoParameter__12CPASAnimParmFv +/* 8007D1B4 0007A114 38 61 00 30 */ addi r3, r1, 0x30 +/* 8007D1B8 0007A118 48 26 5E C5 */ bl NoParameter__12CPASAnimParmFv +/* 8007D1BC 0007A11C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8007D1C0 0007A120 48 26 5E BD */ bl NoParameter__12CPASAnimParmFv +/* 8007D1C4 0007A124 38 61 00 40 */ addi r3, r1, 0x40 +/* 8007D1C8 0007A128 48 26 5E B5 */ bl NoParameter__12CPASAnimParmFv +/* 8007D1CC 0007A12C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8007D1D0 0007A130 48 26 5E AD */ bl NoParameter__12CPASAnimParmFv +/* 8007D1D4 0007A134 38 61 00 50 */ addi r3, r1, 0x50 +/* 8007D1D8 0007A138 38 80 00 00 */ li r4, 0 +/* 8007D1DC 0007A13C 48 26 5D A9 */ bl FromEnum__12CPASAnimParmFi +/* 8007D1E0 0007A140 38 61 00 20 */ addi r3, r1, 0x20 +/* 8007D1E4 0007A144 38 01 00 18 */ addi r0, r1, 0x18 +/* 8007D1E8 0007A148 90 61 00 08 */ stw r3, 8(r1) +/* 8007D1EC 0007A14C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8007D1F0 0007A150 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8007D1F4 0007A154 38 C1 00 48 */ addi r6, r1, 0x48 +/* 8007D1F8 0007A158 90 01 00 0C */ stw r0, 0xc(r1) +/* 8007D1FC 0007A15C 38 E1 00 40 */ addi r7, r1, 0x40 +/* 8007D200 0007A160 39 01 00 38 */ addi r8, r1, 0x38 +/* 8007D204 0007A164 39 21 00 30 */ addi r9, r1, 0x30 +/* 8007D208 0007A168 39 41 00 28 */ addi r10, r1, 0x28 +/* 8007D20C 0007A16C 38 80 00 18 */ li r4, 0x18 +/* 8007D210 0007A170 48 00 00 B5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8007D214 0007A174 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8007D218 0007A178 48 0B D2 3D */ bl GetPASDatabase__15CBodyControllerCFv +/* 8007D21C 0007A17C 7C 64 1B 78 */ mr r4, r3 +/* 8007D220 0007A180 38 61 00 10 */ addi r3, r1, 0x10 +/* 8007D224 0007A184 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8007D228 0007A188 38 C0 FF FF */ li r6, -1 +/* 8007D22C 0007A18C 48 26 7F 41 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai +/* 8007D230 0007A190 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8007D234 0007A194 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007D238 0007A198 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007D23C 0007A19C 7C 60 00 26 */ mfcr r3 +/* 8007D240 0007A1A0 88 1D 04 E1 */ lbz r0, 0x4e1(r29) +/* 8007D244 0007A1A4 50 60 3E B4 */ rlwimi r0, r3, 7, 0x1a, 0x1a +/* 8007D248 0007A1A8 34 A1 00 5C */ addic. r5, r1, 0x5c +/* 8007D24C 0007A1AC 98 1D 04 E1 */ stb r0, 0x4e1(r29) +/* 8007D250 0007A1B0 41 82 00 58 */ beq lbl_8007D2A8 +/* 8007D254 0007A1B4 80 C5 00 00 */ lwz r6, 0(r5) +/* 8007D258 0007A1B8 38 60 00 00 */ li r3, 0 +/* 8007D25C 0007A1BC 2C 06 00 00 */ cmpwi r6, 0 +/* 8007D260 0007A1C0 40 81 00 40 */ ble lbl_8007D2A0 +/* 8007D264 0007A1C4 2C 06 00 08 */ cmpwi r6, 8 +/* 8007D268 0007A1C8 38 86 FF F8 */ addi r4, r6, -8 +/* 8007D26C 0007A1CC 40 81 00 20 */ ble lbl_8007D28C +/* 8007D270 0007A1D0 38 04 00 07 */ addi r0, r4, 7 +/* 8007D274 0007A1D4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8007D278 0007A1D8 7C 09 03 A6 */ mtctr r0 +/* 8007D27C 0007A1DC 2C 04 00 00 */ cmpwi r4, 0 +/* 8007D280 0007A1E0 40 81 00 0C */ ble lbl_8007D28C +lbl_8007D284: +/* 8007D284 0007A1E4 38 63 00 08 */ addi r3, r3, 8 +/* 8007D288 0007A1E8 42 00 FF FC */ bdnz lbl_8007D284 +lbl_8007D28C: +/* 8007D28C 0007A1EC 7C 03 30 50 */ subf r0, r3, r6 +/* 8007D290 0007A1F0 7C 09 03 A6 */ mtctr r0 +/* 8007D294 0007A1F4 7C 03 30 00 */ cmpw r3, r6 +/* 8007D298 0007A1F8 40 80 00 08 */ bge lbl_8007D2A0 +lbl_8007D29C: +/* 8007D29C 0007A1FC 42 00 00 00 */ bdnz lbl_8007D29C +lbl_8007D2A0: +/* 8007D2A0 0007A200 38 00 00 00 */ li r0, 0 +/* 8007D2A4 0007A204 90 05 00 00 */ stw r0, 0(r5) +lbl_8007D2A8: +/* 8007D2A8 0007A208 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8007D2AC 0007A20C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8007D2B0 0007A210 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8007D2B4 0007A214 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8007D2B8 0007A218 7C 08 03 A6 */ mtlr r0 +/* 8007D2BC 0007A21C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8007D2C0 0007A220 4E 80 00 20 */ blr + +.global __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +__ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm: +/* 8007D2C4 0007A224 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007D2C8 0007A228 39 80 00 00 */ li r12, 0 +/* 8007D2CC 0007A22C 38 03 00 08 */ addi r0, r3, 8 +/* 8007D2D0 0007A230 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007D2D4 0007A234 81 61 00 18 */ lwz r11, 0x18(r1) +/* 8007D2D8 0007A238 90 83 00 00 */ stw r4, 0(r3) +/* 8007D2DC 0007A23C 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8007D2E0 0007A240 91 83 00 04 */ stw r12, 4(r3) +/* 8007D2E4 0007A244 81 83 00 04 */ lwz r12, 4(r3) +/* 8007D2E8 0007A248 55 8C 18 38 */ slwi r12, r12, 3 +/* 8007D2EC 0007A24C 7F E0 62 15 */ add. r31, r0, r12 +/* 8007D2F0 0007A250 41 82 00 14 */ beq lbl_8007D304 +/* 8007D2F4 0007A254 81 85 00 00 */ lwz r12, 0(r5) +/* 8007D2F8 0007A258 91 9F 00 00 */ stw r12, 0(r31) +/* 8007D2FC 0007A25C 80 A5 00 04 */ lwz r5, 4(r5) +/* 8007D300 0007A260 90 BF 00 04 */ stw r5, 4(r31) +lbl_8007D304: +/* 8007D304 0007A264 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D308 0007A268 38 A5 00 01 */ addi r5, r5, 1 +/* 8007D30C 0007A26C 90 A3 00 04 */ stw r5, 4(r3) +/* 8007D310 0007A270 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D314 0007A274 54 A5 18 38 */ slwi r5, r5, 3 +/* 8007D318 0007A278 7D 80 2A 15 */ add. r12, r0, r5 +/* 8007D31C 0007A27C 41 82 00 14 */ beq lbl_8007D330 +/* 8007D320 0007A280 80 A6 00 00 */ lwz r5, 0(r6) +/* 8007D324 0007A284 90 AC 00 00 */ stw r5, 0(r12) +/* 8007D328 0007A288 80 A6 00 04 */ lwz r5, 4(r6) +/* 8007D32C 0007A28C 90 AC 00 04 */ stw r5, 4(r12) +lbl_8007D330: +/* 8007D330 0007A290 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D334 0007A294 38 A5 00 01 */ addi r5, r5, 1 +/* 8007D338 0007A298 90 A3 00 04 */ stw r5, 4(r3) +/* 8007D33C 0007A29C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D340 0007A2A0 54 A5 18 38 */ slwi r5, r5, 3 +/* 8007D344 0007A2A4 7C C0 2A 15 */ add. r6, r0, r5 +/* 8007D348 0007A2A8 41 82 00 14 */ beq lbl_8007D35C +/* 8007D34C 0007A2AC 80 A7 00 00 */ lwz r5, 0(r7) +/* 8007D350 0007A2B0 90 A6 00 00 */ stw r5, 0(r6) +/* 8007D354 0007A2B4 80 A7 00 04 */ lwz r5, 4(r7) +/* 8007D358 0007A2B8 90 A6 00 04 */ stw r5, 4(r6) +lbl_8007D35C: +/* 8007D35C 0007A2BC 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D360 0007A2C0 38 A5 00 01 */ addi r5, r5, 1 +/* 8007D364 0007A2C4 90 A3 00 04 */ stw r5, 4(r3) +/* 8007D368 0007A2C8 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D36C 0007A2CC 54 A5 18 38 */ slwi r5, r5, 3 +/* 8007D370 0007A2D0 7C C0 2A 15 */ add. r6, r0, r5 +/* 8007D374 0007A2D4 41 82 00 14 */ beq lbl_8007D388 +/* 8007D378 0007A2D8 80 A8 00 00 */ lwz r5, 0(r8) +/* 8007D37C 0007A2DC 90 A6 00 00 */ stw r5, 0(r6) +/* 8007D380 0007A2E0 80 A8 00 04 */ lwz r5, 4(r8) +/* 8007D384 0007A2E4 90 A6 00 04 */ stw r5, 4(r6) +lbl_8007D388: +/* 8007D388 0007A2E8 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D38C 0007A2EC 38 A5 00 01 */ addi r5, r5, 1 +/* 8007D390 0007A2F0 90 A3 00 04 */ stw r5, 4(r3) +/* 8007D394 0007A2F4 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D398 0007A2F8 54 A5 18 38 */ slwi r5, r5, 3 +/* 8007D39C 0007A2FC 7C C0 2A 15 */ add. r6, r0, r5 +/* 8007D3A0 0007A300 41 82 00 14 */ beq lbl_8007D3B4 +/* 8007D3A4 0007A304 80 A9 00 00 */ lwz r5, 0(r9) +/* 8007D3A8 0007A308 90 A6 00 00 */ stw r5, 0(r6) +/* 8007D3AC 0007A30C 80 A9 00 04 */ lwz r5, 4(r9) +/* 8007D3B0 0007A310 90 A6 00 04 */ stw r5, 4(r6) +lbl_8007D3B4: +/* 8007D3B4 0007A314 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D3B8 0007A318 38 A5 00 01 */ addi r5, r5, 1 +/* 8007D3BC 0007A31C 90 A3 00 04 */ stw r5, 4(r3) +/* 8007D3C0 0007A320 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D3C4 0007A324 54 A5 18 38 */ slwi r5, r5, 3 +/* 8007D3C8 0007A328 7C C0 2A 15 */ add. r6, r0, r5 +/* 8007D3CC 0007A32C 41 82 00 14 */ beq lbl_8007D3E0 +/* 8007D3D0 0007A330 80 AA 00 00 */ lwz r5, 0(r10) +/* 8007D3D4 0007A334 90 A6 00 00 */ stw r5, 0(r6) +/* 8007D3D8 0007A338 80 AA 00 04 */ lwz r5, 4(r10) +/* 8007D3DC 0007A33C 90 A6 00 04 */ stw r5, 4(r6) +lbl_8007D3E0: +/* 8007D3E0 0007A340 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D3E4 0007A344 38 A5 00 01 */ addi r5, r5, 1 +/* 8007D3E8 0007A348 90 A3 00 04 */ stw r5, 4(r3) +/* 8007D3EC 0007A34C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D3F0 0007A350 54 A5 18 38 */ slwi r5, r5, 3 +/* 8007D3F4 0007A354 7C C0 2A 15 */ add. r6, r0, r5 +/* 8007D3F8 0007A358 41 82 00 14 */ beq lbl_8007D40C +/* 8007D3FC 0007A35C 80 AB 00 00 */ lwz r5, 0(r11) +/* 8007D400 0007A360 90 A6 00 00 */ stw r5, 0(r6) +/* 8007D404 0007A364 80 AB 00 04 */ lwz r5, 4(r11) +/* 8007D408 0007A368 90 A6 00 04 */ stw r5, 4(r6) +lbl_8007D40C: +/* 8007D40C 0007A36C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D410 0007A370 38 A5 00 01 */ addi r5, r5, 1 +/* 8007D414 0007A374 90 A3 00 04 */ stw r5, 4(r3) +/* 8007D418 0007A378 80 A3 00 04 */ lwz r5, 4(r3) +/* 8007D41C 0007A37C 54 A5 18 38 */ slwi r5, r5, 3 +/* 8007D420 0007A380 7C A0 2A 15 */ add. r5, r0, r5 +/* 8007D424 0007A384 41 82 00 14 */ beq lbl_8007D438 +/* 8007D428 0007A388 80 04 00 00 */ lwz r0, 0(r4) +/* 8007D42C 0007A38C 90 05 00 00 */ stw r0, 0(r5) +/* 8007D430 0007A390 80 04 00 04 */ lwz r0, 4(r4) +/* 8007D434 0007A394 90 05 00 04 */ stw r0, 4(r5) +lbl_8007D438: +/* 8007D438 0007A398 80 83 00 04 */ lwz r4, 4(r3) +/* 8007D43C 0007A39C 38 04 00 01 */ addi r0, r4, 1 +/* 8007D440 0007A3A0 90 03 00 04 */ stw r0, 4(r3) +/* 8007D444 0007A3A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007D448 0007A3A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007D44C 0007A3AC 4E 80 00 20 */ blr + +.global "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +"__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi": +/* 8007D450 0007A3B0 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8007D454 0007A3B4 7C 08 02 A6 */ mflr r0 +/* 8007D458 0007A3B8 39 8D A2 68 */ addi r12, r13, lbl_805A8E28@sda21 +/* 8007D45C 0007A3BC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8007D460 0007A3C0 BE C1 00 98 */ stmw r22, 0x98(r1) +/* 8007D464 0007A3C4 7C 7F 1B 78 */ mr r31, r3 +/* 8007D468 0007A3C8 83 21 00 CC */ lwz r25, 0xcc(r1) +/* 8007D46C 0007A3CC 7C 96 23 78 */ mr r22, r4 +/* 8007D470 0007A3D0 83 01 00 C8 */ lwz r24, 0xc8(r1) +/* 8007D474 0007A3D4 7C F7 3B 78 */ mr r23, r7 +/* 8007D478 0007A3D8 2C 19 00 01 */ cmpwi r25, 1 +/* 8007D47C 0007A3DC 83 41 00 D0 */ lwz r26, 0xd0(r1) +/* 8007D480 0007A3E0 83 61 00 D4 */ lwz r27, 0xd4(r1) +/* 8007D484 0007A3E4 83 81 00 D8 */ lwz r28, 0xd8(r1) +/* 8007D488 0007A3E8 83 A1 00 DC */ lwz r29, 0xdc(r1) +/* 8007D48C 0007A3EC 40 82 00 08 */ bne lbl_8007D494 +/* 8007D490 0007A3F0 39 8D A2 60 */ addi r12, r13, lbl_805A8E20@sda21 +lbl_8007D494: +/* 8007D494 0007A3F4 C0 38 00 C4 */ lfs f1, 0xc4(r24) +/* 8007D498 0007A3F8 7D 07 43 78 */ mr r7, r8 +/* 8007D49C 0007A3FC C0 D8 00 D0 */ lfs f6, 0xd0(r24) +/* 8007D4A0 0007A400 7D 28 4B 78 */ mr r8, r9 +/* 8007D4A4 0007A404 FD 00 08 50 */ fneg f8, f1 +/* 8007D4A8 0007A408 C0 F8 00 CC */ lfs f7, 0xcc(r24) +/* 8007D4AC 0007A40C C0 18 00 C8 */ lfs f0, 0xc8(r24) +/* 8007D4B0 0007A410 7D 49 53 78 */ mr r9, r10 +/* 8007D4B4 0007A414 C0 78 00 D4 */ lfs f3, 0xd4(r24) +/* 8007D4B8 0007A418 EC 81 30 2A */ fadds f4, f1, f6 +/* 8007D4BC 0007A41C EC 41 38 2A */ fadds f2, f1, f7 +/* 8007D4C0 0007A420 A0 A5 00 00 */ lhz r5, 0(r5) +/* 8007D4C4 0007A424 EC A0 18 2A */ fadds f5, f0, f3 +/* 8007D4C8 0007A428 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 8007D4CC 0007A42C EC 28 30 2A */ fadds f1, f8, f6 +/* 8007D4D0 0007A430 39 78 00 54 */ addi r11, r24, 0x54 +/* 8007D4D4 0007A434 EC 08 38 2A */ fadds f0, f8, f7 +/* 8007D4D8 0007A438 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8007D4DC 0007A43C 38 18 00 5C */ addi r0, r24, 0x5c +/* 8007D4E0 0007A440 C0 62 89 34 */ lfs f3, lbl_805AA654@sda21(r2) +/* 8007D4E4 0007A444 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 8007D4E8 0007A448 7F E3 FB 78 */ mr r3, r31 +/* 8007D4EC 0007A44C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8007D4F0 0007A450 38 81 00 20 */ addi r4, r1, 0x20 +/* 8007D4F4 0007A454 39 41 00 78 */ addi r10, r1, 0x78 +/* 8007D4F8 0007A458 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 8007D4FC 0007A45C D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 8007D500 0007A460 B0 A1 00 20 */ sth r5, 0x20(r1) +/* 8007D504 0007A464 91 61 00 08 */ stw r11, 8(r1) +/* 8007D508 0007A468 90 01 00 0C */ stw r0, 0xc(r1) +/* 8007D50C 0007A46C 91 81 00 10 */ stw r12, 0x10(r1) +/* 8007D510 0007A470 80 18 00 FC */ lwz r0, 0xfc(r24) +/* 8007D514 0007A474 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007D518 0007A478 93 81 00 18 */ stw r28, 0x18(r1) +/* 8007D51C 0007A47C 88 B8 00 F8 */ lbz r5, 0xf8(r24) +/* 8007D520 0007A480 C0 38 00 00 */ lfs f1, 0(r24) +/* 8007D524 0007A484 C0 58 00 D8 */ lfs f2, 0xd8(r24) +/* 8007D528 0007A488 48 02 58 D9 */ bl "__ct__3CAiF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxfRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersff" +/* 8007D52C 0007A48C 3C 60 80 3E */ lis r3, lbl_803DA5C8@ha +/* 8007D530 0007A490 20 19 00 01 */ subfic r0, r25, 1 +/* 8007D534 0007A494 38 83 A5 C8 */ addi r4, r3, lbl_803DA5C8@l +/* 8007D538 0007A498 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8007D53C 0007A49C 90 9F 00 00 */ stw r4, 0(r31) +/* 8007D540 0007A4A0 38 80 FF FF */ li r4, -1 +/* 8007D544 0007A4A4 7C 00 00 34 */ cntlzw r0, r0 +/* 8007D548 0007A4A8 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8007D54C 0007A4AC 90 9F 02 D8 */ stw r4, 0x2d8(r31) +/* 8007D550 0007A4B0 38 E0 00 00 */ li r7, 0 +/* 8007D554 0007A4B4 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007D558 0007A4B8 54 06 D9 7E */ srwi r6, r0, 5 +/* 8007D55C 0007A4BC A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8007D560 0007A4C0 20 79 00 01 */ subfic r3, r25, 1 +/* 8007D564 0007A4C4 38 19 FF FF */ addi r0, r25, -1 +/* 8007D568 0007A4C8 38 80 00 01 */ li r4, 1 +/* 8007D56C 0007A4CC B0 BF 02 DC */ sth r5, 0x2dc(r31) +/* 8007D570 0007A4D0 7C 60 03 78 */ or r0, r3, r0 +/* 8007D574 0007A4D4 54 05 0F FE */ srwi r5, r0, 0x1f +/* 8007D578 0007A4D8 38 7F 03 30 */ addi r3, r31, 0x330 +/* 8007D57C 0007A4DC C0 3E 00 00 */ lfs f1, 0(r30) +/* 8007D580 0007A4E0 D0 3F 02 E0 */ stfs f1, 0x2e0(r31) +/* 8007D584 0007A4E4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8007D588 0007A4E8 D0 3F 02 E4 */ stfs f1, 0x2e4(r31) +/* 8007D58C 0007A4EC C0 3E 00 08 */ lfs f1, 8(r30) +/* 8007D590 0007A4F0 D0 3F 02 E8 */ stfs f1, 0x2e8(r31) +/* 8007D594 0007A4F4 C0 3E 00 00 */ lfs f1, 0(r30) +/* 8007D598 0007A4F8 D0 3F 02 EC */ stfs f1, 0x2ec(r31) +/* 8007D59C 0007A4FC C0 3E 00 04 */ lfs f1, 4(r30) +/* 8007D5A0 0007A500 D0 3F 02 F0 */ stfs f1, 0x2f0(r31) +/* 8007D5A4 0007A504 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8007D5A8 0007A508 D0 3F 02 F4 */ stfs f1, 0x2f4(r31) +/* 8007D5AC 0007A50C D0 1F 02 F8 */ stfs f0, 0x2f8(r31) +/* 8007D5B0 0007A510 C0 18 00 18 */ lfs f0, 0x18(r24) +/* 8007D5B4 0007A514 D0 1F 02 FC */ stfs f0, 0x2fc(r31) +/* 8007D5B8 0007A518 C0 18 00 1C */ lfs f0, 0x1c(r24) +/* 8007D5BC 0007A51C D0 1F 03 00 */ stfs f0, 0x300(r31) +/* 8007D5C0 0007A520 C0 18 00 20 */ lfs f0, 0x20(r24) +/* 8007D5C4 0007A524 D0 1F 03 04 */ stfs f0, 0x304(r31) +/* 8007D5C8 0007A528 C0 18 00 24 */ lfs f0, 0x24(r24) +/* 8007D5CC 0007A52C D0 1F 03 08 */ stfs f0, 0x308(r31) +/* 8007D5D0 0007A530 90 FF 03 0C */ stw r7, 0x30c(r31) +/* 8007D5D4 0007A534 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8007D5D8 0007A538 D0 1F 03 10 */ stfs f0, 0x310(r31) +/* 8007D5DC 0007A53C C0 1E 00 04 */ lfs f0, 4(r30) +/* 8007D5E0 0007A540 D0 1F 03 14 */ stfs f0, 0x314(r31) +/* 8007D5E4 0007A544 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8007D5E8 0007A548 D0 1F 03 18 */ stfs f0, 0x318(r31) +/* 8007D5EC 0007A54C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8007D5F0 0007A550 D0 1F 03 1C */ stfs f0, 0x31c(r31) +/* 8007D5F4 0007A554 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8007D5F8 0007A558 D0 1F 03 20 */ stfs f0, 0x320(r31) +/* 8007D5FC 0007A55C C0 1E 00 08 */ lfs f0, 8(r30) +/* 8007D600 0007A560 D0 1F 03 24 */ stfs f0, 0x324(r31) +/* 8007D604 0007A564 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8007D608 0007A568 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 8007D60C 0007A56C 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8007D610 0007A570 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8007D614 0007A574 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8007D618 0007A578 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8007D61C 0007A57C 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8007D620 0007A580 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a +/* 8007D624 0007A584 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8007D628 0007A588 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8007D62C 0007A58C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8007D630 0007A590 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8007D634 0007A594 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8007D638 0007A598 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8007D63C 0007A59C 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8007D640 0007A5A0 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8007D644 0007A5A4 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d +/* 8007D648 0007A5A8 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8007D64C 0007A5AC 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8007D650 0007A5B0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8007D654 0007A5B4 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8007D658 0007A5B8 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8007D65C 0007A5BC 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f +/* 8007D660 0007A5C0 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8007D664 0007A5C4 88 1F 03 29 */ lbz r0, 0x329(r31) +/* 8007D668 0007A5C8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8007D66C 0007A5CC 98 1F 03 29 */ stb r0, 0x329(r31) +/* 8007D670 0007A5D0 90 FF 03 2C */ stw r7, 0x32c(r31) +/* 8007D674 0007A5D4 48 00 25 65 */ bl __ct__18CStateMachineStateFv +/* 8007D678 0007A5D8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8007D67C 0007A5DC 92 DF 03 4C */ stw r22, 0x34c(r31) +/* 8007D680 0007A5E0 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8007D684 0007A5E4 38 80 00 00 */ li r4, 0 +/* 8007D688 0007A5E8 C0 25 00 00 */ lfs f1, 0(r5) +/* 8007D68C 0007A5EC 38 60 00 02 */ li r3, 2 +/* 8007D690 0007A5F0 38 00 00 01 */ li r0, 1 +/* 8007D694 0007A5F4 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 8007D698 0007A5F8 D0 3F 03 50 */ stfs f1, 0x350(r31) +/* 8007D69C 0007A5FC C0 22 89 64 */ lfs f1, lbl_805AA684@sda21(r2) +/* 8007D6A0 0007A600 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8007D6A4 0007A604 D0 5F 03 54 */ stfs f2, 0x354(r31) +/* 8007D6A8 0007A608 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8007D6AC 0007A60C D0 5F 03 58 */ stfs f2, 0x358(r31) +/* 8007D6B0 0007A610 C0 45 00 00 */ lfs f2, 0(r5) +/* 8007D6B4 0007A614 D0 5F 03 5C */ stfs f2, 0x35c(r31) +/* 8007D6B8 0007A618 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8007D6BC 0007A61C D0 5F 03 60 */ stfs f2, 0x360(r31) +/* 8007D6C0 0007A620 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8007D6C4 0007A624 D0 5F 03 64 */ stfs f2, 0x364(r31) +/* 8007D6C8 0007A628 C0 45 00 00 */ lfs f2, 0(r5) +/* 8007D6CC 0007A62C D0 5F 03 68 */ stfs f2, 0x368(r31) +/* 8007D6D0 0007A630 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8007D6D4 0007A634 D0 5F 03 6C */ stfs f2, 0x36c(r31) +/* 8007D6D8 0007A638 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8007D6DC 0007A63C D0 5F 03 70 */ stfs f2, 0x370(r31) +/* 8007D6E0 0007A640 90 9F 03 74 */ stw r4, 0x374(r31) +/* 8007D6E4 0007A644 90 7F 03 78 */ stw r3, 0x378(r31) +/* 8007D6E8 0007A648 90 1F 03 7C */ stw r0, 0x37c(r31) +/* 8007D6EC 0007A64C 90 9F 03 80 */ stw r4, 0x380(r31) +/* 8007D6F0 0007A650 90 9F 03 84 */ stw r4, 0x384(r31) +/* 8007D6F4 0007A654 80 18 00 F4 */ lwz r0, 0xf4(r24) +/* 8007D6F8 0007A658 90 1F 03 88 */ stw r0, 0x388(r31) +/* 8007D6FC 0007A65C 90 9F 03 90 */ stw r4, 0x390(r31) +/* 8007D700 0007A660 90 9F 03 94 */ stw r4, 0x394(r31) +/* 8007D704 0007A664 90 9F 03 98 */ stw r4, 0x398(r31) +/* 8007D708 0007A668 90 9F 03 9C */ stw r4, 0x39c(r31) +/* 8007D70C 0007A66C C0 45 00 00 */ lfs f2, 0(r5) +/* 8007D710 0007A670 D0 5F 03 A0 */ stfs f2, 0x3a0(r31) +/* 8007D714 0007A674 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8007D718 0007A678 D0 5F 03 A4 */ stfs f2, 0x3a4(r31) +/* 8007D71C 0007A67C C0 5E 00 08 */ lfs f2, 8(r30) +/* 8007D720 0007A680 D0 5F 03 A8 */ stfs f2, 0x3a8(r31) +/* 8007D724 0007A684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007D728 0007A688 B0 1F 03 AC */ sth r0, 0x3ac(r31) +/* 8007D72C 0007A68C D0 1F 03 B0 */ stfs f0, 0x3b0(r31) +/* 8007D730 0007A690 C0 18 00 04 */ lfs f0, 4(r24) +/* 8007D734 0007A694 D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 8007D738 0007A698 C0 18 00 08 */ lfs f0, 8(r24) +/* 8007D73C 0007A69C D0 1F 03 B8 */ stfs f0, 0x3b8(r31) +/* 8007D740 0007A6A0 C0 18 00 0C */ lfs f0, 0xc(r24) +/* 8007D744 0007A6A4 D0 1F 03 BC */ stfs f0, 0x3bc(r31) +/* 8007D748 0007A6A8 C0 18 00 10 */ lfs f0, 0x10(r24) +/* 8007D74C 0007A6AC D0 1F 03 C0 */ stfs f0, 0x3c0(r31) +/* 8007D750 0007A6B0 C0 18 00 14 */ lfs f0, 0x14(r24) +/* 8007D754 0007A6B4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8007D758 0007A6B8 48 31 6C 99 */ bl cos +/* 8007D75C 0007A6BC FC 00 08 18 */ frsp f0, f1 +/* 8007D760 0007A6C0 20 19 00 01 */ subfic r0, r25, 1 +/* 8007D764 0007A6C4 7C 03 00 34 */ cntlzw r3, r0 +/* 8007D768 0007A6C8 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 8007D76C 0007A6CC 38 80 00 00 */ li r4, 0 +/* 8007D770 0007A6D0 38 00 00 01 */ li r0, 1 +/* 8007D774 0007A6D4 D0 1F 03 C4 */ stfs f0, 0x3c4(r31) +/* 8007D778 0007A6D8 54 65 DE 3E */ rlwinm r5, r3, 0x1b, 0x18, 0x1f +/* 8007D77C 0007A6DC C0 18 00 28 */ lfs f0, 0x28(r24) +/* 8007D780 0007A6E0 D0 1F 03 C8 */ stfs f0, 0x3c8(r31) +/* 8007D784 0007A6E4 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8007D788 0007A6E8 D0 1F 03 CC */ stfs f0, 0x3cc(r31) +/* 8007D78C 0007A6EC C0 18 00 30 */ lfs f0, 0x30(r24) +/* 8007D790 0007A6F0 D0 1F 03 D0 */ stfs f0, 0x3d0(r31) +/* 8007D794 0007A6F4 D0 3F 03 D4 */ stfs f1, 0x3d4(r31) +/* 8007D798 0007A6F8 C0 18 00 DC */ lfs f0, 0xdc(r24) +/* 8007D79C 0007A6FC D0 1F 03 D8 */ stfs f0, 0x3d8(r31) +/* 8007D7A0 0007A700 C0 18 00 E0 */ lfs f0, 0xe0(r24) +/* 8007D7A4 0007A704 D0 1F 03 DC */ stfs f0, 0x3dc(r31) +/* 8007D7A8 0007A708 C0 18 00 E4 */ lfs f0, 0xe4(r24) +/* 8007D7AC 0007A70C D0 1F 03 E0 */ stfs f0, 0x3e0(r31) +/* 8007D7B0 0007A710 D0 3F 03 E4 */ stfs f1, 0x3e4(r31) +/* 8007D7B4 0007A714 D0 3F 03 E8 */ stfs f1, 0x3e8(r31) +/* 8007D7B8 0007A718 D0 3F 03 EC */ stfs f1, 0x3ec(r31) +/* 8007D7BC 0007A71C D0 3F 03 F0 */ stfs f1, 0x3f0(r31) +/* 8007D7C0 0007A720 D0 3F 03 F4 */ stfs f1, 0x3f4(r31) +/* 8007D7C4 0007A724 90 9F 03 F8 */ stw r4, 0x3f8(r31) +/* 8007D7C8 0007A728 92 FF 03 FC */ stw r23, 0x3fc(r31) +/* 8007D7CC 0007A72C 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D7D0 0007A730 50 83 F8 00 */ rlwimi r3, r4, 0x1f, 0, 0 +/* 8007D7D4 0007A734 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D7D8 0007A738 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D7DC 0007A73C 50 03 F0 42 */ rlwimi r3, r0, 0x1e, 1, 1 +/* 8007D7E0 0007A740 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D7E4 0007A744 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D7E8 0007A748 50 83 E8 84 */ rlwimi r3, r4, 0x1d, 2, 2 +/* 8007D7EC 0007A74C 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D7F0 0007A750 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D7F4 0007A754 50 83 E0 C6 */ rlwimi r3, r4, 0x1c, 3, 3 +/* 8007D7F8 0007A758 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D7FC 0007A75C 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D800 0007A760 50 83 D9 08 */ rlwimi r3, r4, 0x1b, 4, 4 +/* 8007D804 0007A764 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D808 0007A768 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D80C 0007A76C 50 83 D1 4A */ rlwimi r3, r4, 0x1a, 5, 5 +/* 8007D810 0007A770 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D814 0007A774 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D818 0007A778 50 83 C9 8C */ rlwimi r3, r4, 0x19, 6, 6 +/* 8007D81C 0007A77C 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D820 0007A780 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D824 0007A784 50 A3 C1 CE */ rlwimi r3, r5, 0x18, 7, 7 +/* 8007D828 0007A788 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D82C 0007A78C 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D830 0007A790 50 83 B2 12 */ rlwimi r3, r4, 0x16, 8, 9 +/* 8007D834 0007A794 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D838 0007A798 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D83C 0007A79C 50 83 AA 94 */ rlwimi r3, r4, 0x15, 0xa, 0xa +/* 8007D840 0007A7A0 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D844 0007A7A4 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D848 0007A7A8 50 83 A2 D6 */ rlwimi r3, r4, 0x14, 0xb, 0xb +/* 8007D84C 0007A7AC 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D850 0007A7B0 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D854 0007A7B4 50 83 9B 18 */ rlwimi r3, r4, 0x13, 0xc, 0xc +/* 8007D858 0007A7B8 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D85C 0007A7BC 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D860 0007A7C0 50 83 93 5A */ rlwimi r3, r4, 0x12, 0xd, 0xd +/* 8007D864 0007A7C4 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D868 0007A7C8 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D86C 0007A7CC 50 83 8B 9C */ rlwimi r3, r4, 0x11, 0xe, 0xe +/* 8007D870 0007A7D0 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D874 0007A7D4 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D878 0007A7D8 50 83 83 DE */ rlwimi r3, r4, 0x10, 0xf, 0xf +/* 8007D87C 0007A7DC 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D880 0007A7E0 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D884 0007A7E4 50 83 7C 20 */ rlwimi r3, r4, 0xf, 0x10, 0x10 +/* 8007D888 0007A7E8 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D88C 0007A7EC 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D890 0007A7F0 50 83 74 62 */ rlwimi r3, r4, 0xe, 0x11, 0x11 +/* 8007D894 0007A7F4 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D898 0007A7F8 80 7F 04 00 */ lwz r3, 0x400(r31) +/* 8007D89C 0007A7FC 50 83 6C A4 */ rlwimi r3, r4, 0xd, 0x12, 0x12 +/* 8007D8A0 0007A800 C0 02 89 48 */ lfs f0, lbl_805AA668@sda21(r2) +/* 8007D8A4 0007A804 FC 40 08 90 */ fmr f2, f1 +/* 8007D8A8 0007A808 90 7F 04 00 */ stw r3, 0x400(r31) +/* 8007D8AC 0007A80C FC 60 08 90 */ fmr f3, f1 +/* 8007D8B0 0007A810 C0 82 89 04 */ lfs f4, lbl_805AA624@sda21(r2) +/* 8007D8B4 0007A814 38 7F 04 2C */ addi r3, r31, 0x42c +/* 8007D8B8 0007A818 80 BF 04 00 */ lwz r5, 0x400(r31) +/* 8007D8BC 0007A81C 50 85 64 E6 */ rlwimi r5, r4, 0xc, 0x13, 0x13 +/* 8007D8C0 0007A820 90 BF 04 00 */ stw r5, 0x400(r31) +/* 8007D8C4 0007A824 80 BF 04 00 */ lwz r5, 0x400(r31) +/* 8007D8C8 0007A828 50 85 5D 28 */ rlwimi r5, r4, 0xb, 0x14, 0x14 +/* 8007D8CC 0007A82C 90 BF 04 00 */ stw r5, 0x400(r31) +/* 8007D8D0 0007A830 80 BF 04 00 */ lwz r5, 0x400(r31) +/* 8007D8D4 0007A834 50 05 55 6A */ rlwimi r5, r0, 0xa, 0x15, 0x15 +/* 8007D8D8 0007A838 90 BF 04 00 */ stw r5, 0x400(r31) +/* 8007D8DC 0007A83C 88 DC 00 58 */ lbz r6, 0x58(r28) +/* 8007D8E0 0007A840 80 BF 04 00 */ lwz r5, 0x400(r31) +/* 8007D8E4 0007A844 50 C5 1D AC */ rlwimi r5, r6, 3, 0x16, 0x16 +/* 8007D8E8 0007A848 90 BF 04 00 */ stw r5, 0x400(r31) +/* 8007D8EC 0007A84C 88 DF 04 02 */ lbz r6, 0x402(r31) +/* 8007D8F0 0007A850 80 BF 04 00 */ lwz r5, 0x400(r31) +/* 8007D8F4 0007A854 50 C5 3D EE */ rlwimi r5, r6, 7, 0x17, 0x17 +/* 8007D8F8 0007A858 90 BF 04 00 */ stw r5, 0x400(r31) +/* 8007D8FC 0007A85C 80 BF 04 00 */ lwz r5, 0x400(r31) +/* 8007D900 0007A860 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18 +/* 8007D904 0007A864 90 BF 04 00 */ stw r5, 0x400(r31) +/* 8007D908 0007A868 80 9F 04 00 */ lwz r4, 0x400(r31) +/* 8007D90C 0007A86C 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 8007D910 0007A870 90 9F 04 00 */ stw r4, 0x400(r31) +/* 8007D914 0007A874 80 9F 04 00 */ lwz r4, 0x400(r31) +/* 8007D918 0007A878 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a +/* 8007D91C 0007A87C 90 9F 04 00 */ stw r4, 0x400(r31) +/* 8007D920 0007A880 80 18 00 34 */ lwz r0, 0x34(r24) +/* 8007D924 0007A884 90 1F 04 04 */ stw r0, 0x404(r31) +/* 8007D928 0007A888 88 18 00 38 */ lbz r0, 0x38(r24) +/* 8007D92C 0007A88C 98 1F 04 08 */ stb r0, 0x408(r31) +/* 8007D930 0007A890 C0 B8 00 3C */ lfs f5, 0x3c(r24) +/* 8007D934 0007A894 D0 BF 04 0C */ stfs f5, 0x40c(r31) +/* 8007D938 0007A898 C0 B8 00 40 */ lfs f5, 0x40(r24) +/* 8007D93C 0007A89C D0 BF 04 10 */ stfs f5, 0x410(r31) +/* 8007D940 0007A8A0 C0 B8 00 44 */ lfs f5, 0x44(r24) +/* 8007D944 0007A8A4 D0 BF 04 14 */ stfs f5, 0x414(r31) +/* 8007D948 0007A8A8 C0 B8 00 48 */ lfs f5, 0x48(r24) +/* 8007D94C 0007A8AC D0 BF 04 18 */ stfs f5, 0x418(r31) +/* 8007D950 0007A8B0 88 18 00 4C */ lbz r0, 0x4c(r24) +/* 8007D954 0007A8B4 98 1F 04 1C */ stb r0, 0x41c(r31) +/* 8007D958 0007A8B8 D0 3F 04 20 */ stfs f1, 0x420(r31) +/* 8007D95C 0007A8BC C0 B8 00 50 */ lfs f5, 0x50(r24) +/* 8007D960 0007A8C0 D0 BF 04 24 */ stfs f5, 0x424(r31) +/* 8007D964 0007A8C4 D0 1F 04 28 */ stfs f0, 0x428(r31) +/* 8007D968 0007A8C8 48 2E 5A 85 */ bl __ct__6CColorFffff +/* 8007D96C 0007A8CC 80 AD A2 50 */ lwz r5, lbl_805A8E10@sda21(r13) +/* 8007D970 0007A8D0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007D974 0007A8D4 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 8007D978 0007A8D8 38 00 00 00 */ li r0, 0 +/* 8007D97C 0007A8DC 90 BF 04 30 */ stw r5, 0x430(r31) +/* 8007D980 0007A8E0 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8007D984 0007A8E4 38 83 66 60 */ addi r4, r3, lbl_805A6660@l +/* 8007D988 0007A8E8 38 7F 04 5C */ addi r3, r31, 0x45c +/* 8007D98C 0007A8EC C0 05 00 00 */ lfs f0, 0(r5) +/* 8007D990 0007A8F0 D0 1F 04 34 */ stfs f0, 0x434(r31) +/* 8007D994 0007A8F4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8007D998 0007A8F8 D0 1F 04 38 */ stfs f0, 0x438(r31) +/* 8007D99C 0007A8FC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8007D9A0 0007A900 D0 1F 04 3C */ stfs f0, 0x43c(r31) +/* 8007D9A4 0007A904 C0 04 00 00 */ lfs f0, 0(r4) +/* 8007D9A8 0007A908 D0 1F 04 40 */ stfs f0, 0x440(r31) +/* 8007D9AC 0007A90C C0 04 00 04 */ lfs f0, 4(r4) +/* 8007D9B0 0007A910 D0 1F 04 44 */ stfs f0, 0x444(r31) +/* 8007D9B4 0007A914 C0 04 00 08 */ lfs f0, 8(r4) +/* 8007D9B8 0007A918 D0 1F 04 48 */ stfs f0, 0x448(r31) +/* 8007D9BC 0007A91C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8007D9C0 0007A920 D0 1F 04 4C */ stfs f0, 0x44c(r31) +/* 8007D9C4 0007A924 90 1F 04 50 */ stw r0, 0x450(r31) +/* 8007D9C8 0007A928 80 18 00 E8 */ lwz r0, 0xe8(r24) +/* 8007D9CC 0007A92C 90 1F 04 54 */ stw r0, 0x454(r31) +/* 8007D9D0 0007A930 80 18 01 34 */ lwz r0, 0x134(r24) +/* 8007D9D4 0007A934 90 1F 04 58 */ stw r0, 0x458(r31) +/* 8007D9D8 0007A938 48 0C 13 79 */ bl __ct__18CSteeringBehaviorsFv +/* 8007D9DC 0007A93C 7F A4 EB 78 */ mr r4, r29 +/* 8007D9E0 0007A940 38 7F 04 60 */ addi r3, r31, 0x460 +/* 8007D9E4 0007A944 48 1B 64 15 */ bl __ct__20CKnockBackController2F17EKnockBackVariant +/* 8007D9E8 0007A948 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007D9EC 0007A94C C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) +/* 8007D9F0 0007A950 C0 04 66 A0 */ lfs f0, skZero3f@l(r4) +/* 8007D9F4 0007A954 3C 60 80 3D */ lis r3, lbl_803CD600@ha +/* 8007D9F8 0007A958 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l +/* 8007D9FC 0007A95C 38 A0 00 00 */ li r5, 0 +/* 8007DA00 0007A960 D0 1F 04 E4 */ stfs f0, 0x4e4(r31) +/* 8007DA04 0007A964 38 60 00 08 */ li r3, 8 +/* 8007DA08 0007A968 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8007DA0C 0007A96C D0 1F 04 E8 */ stfs f0, 0x4e8(r31) +/* 8007DA10 0007A970 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8007DA14 0007A974 D0 1F 04 EC */ stfs f0, 0x4ec(r31) +/* 8007DA18 0007A978 D0 3F 04 F0 */ stfs f1, 0x4f0(r31) +/* 8007DA1C 0007A97C C0 18 01 00 */ lfs f0, 0x100(r24) +/* 8007DA20 0007A980 D0 1F 04 F4 */ stfs f0, 0x4f4(r31) +/* 8007DA24 0007A984 C0 18 01 04 */ lfs f0, 0x104(r24) +/* 8007DA28 0007A988 D0 1F 04 F8 */ stfs f0, 0x4f8(r31) +/* 8007DA2C 0007A98C C0 18 01 08 */ lfs f0, 0x108(r24) +/* 8007DA30 0007A990 D0 1F 04 FC */ stfs f0, 0x4fc(r31) +/* 8007DA34 0007A994 D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 8007DA38 0007A998 D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 8007DA3C 0007A99C 93 5F 05 08 */ stw r26, 0x508(r31) +/* 8007DA40 0007A9A0 C0 1C 00 64 */ lfs f0, 0x64(r28) +/* 8007DA44 0007A9A4 D0 1F 05 0C */ stfs f0, 0x50c(r31) +/* 8007DA48 0007A9A8 48 29 7E 25 */ bl __nw__FUlPCcPCc +/* 8007DA4C 0007A9AC 28 03 00 00 */ cmplwi r3, 0 +/* 8007DA50 0007A9B0 41 82 00 14 */ beq lbl_8007DA64 +/* 8007DA54 0007A9B4 38 80 00 00 */ li r4, 0 +/* 8007DA58 0007A9B8 38 00 00 01 */ li r0, 1 +/* 8007DA5C 0007A9BC 90 83 00 00 */ stw r4, 0(r3) +/* 8007DA60 0007A9C0 90 03 00 04 */ stw r0, 4(r3) +lbl_8007DA64: +/* 8007DA64 0007A9C4 90 7F 05 10 */ stw r3, 0x510(r31) +/* 8007DA68 0007A9C8 38 00 00 00 */ li r0, 0 +/* 8007DA6C 0007A9CC C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) +/* 8007DA70 0007A9D0 C0 38 01 10 */ lfs f1, 0x110(r24) +/* 8007DA74 0007A9D4 D0 3F 05 14 */ stfs f1, 0x514(r31) +/* 8007DA78 0007A9D8 C0 38 01 14 */ lfs f1, 0x114(r24) +/* 8007DA7C 0007A9DC D0 3F 05 18 */ stfs f1, 0x518(r31) +/* 8007DA80 0007A9E0 C0 38 01 18 */ lfs f1, 0x118(r24) +/* 8007DA84 0007A9E4 D0 3F 05 1C */ stfs f1, 0x51c(r31) +/* 8007DA88 0007A9E8 98 1F 05 2C */ stb r0, 0x52c(r31) +/* 8007DA8C 0007A9EC 98 1F 05 3C */ stb r0, 0x53c(r31) +/* 8007DA90 0007A9F0 C0 38 01 24 */ lfs f1, 0x124(r24) +/* 8007DA94 0007A9F4 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 8007DA98 0007A9F8 C0 38 01 28 */ lfs f1, 0x128(r24) +/* 8007DA9C 0007A9FC D0 3F 05 44 */ stfs f1, 0x544(r31) +/* 8007DAA0 0007AA00 C0 38 01 2C */ lfs f1, 0x12c(r24) +/* 8007DAA4 0007AA04 D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 8007DAA8 0007AA08 98 1F 05 58 */ stb r0, 0x558(r31) +/* 8007DAAC 0007AA0C D0 1F 05 5C */ stfs f0, 0x55c(r31) +/* 8007DAB0 0007AA10 D0 1F 05 60 */ stfs f0, 0x560(r31) +/* 8007DAB4 0007AA14 D0 1F 05 64 */ stfs f0, 0x564(r31) +/* 8007DAB8 0007AA18 80 98 01 1C */ lwz r4, 0x11c(r24) +/* 8007DABC 0007AA1C 3C 04 00 01 */ addis r0, r4, 1 +/* 8007DAC0 0007AA20 28 00 FF FF */ cmplwi r0, 0xffff +/* 8007DAC4 0007AA24 41 82 00 B0 */ beq lbl_8007DB74 +/* 8007DAC8 0007AA28 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8007DACC 0007AA2C 90 81 00 50 */ stw r4, 0x50(r1) +/* 8007DAD0 0007AA30 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8007DAD4 0007AA34 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8007DAD8 0007AA38 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8007DADC 0007AA3C 38 61 00 44 */ addi r3, r1, 0x44 +/* 8007DAE0 0007AA40 38 A1 00 4C */ addi r5, r1, 0x4c +/* 8007DAE4 0007AA44 81 84 00 00 */ lwz r12, 0(r4) +/* 8007DAE8 0007AA48 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8007DAEC 0007AA4C 7D 89 03 A6 */ mtctr r12 +/* 8007DAF0 0007AA50 4E 80 04 21 */ bctrl +/* 8007DAF4 0007AA54 38 61 00 6C */ addi r3, r1, 0x6c +/* 8007DAF8 0007AA58 38 81 00 44 */ addi r4, r1, 0x44 +/* 8007DAFC 0007AA5C 48 2C 33 AD */ bl __ct__6CTokenFRC6CToken +/* 8007DB00 0007AA60 38 00 00 00 */ li r0, 0 +/* 8007DB04 0007AA64 90 01 00 74 */ stw r0, 0x74(r1) +/* 8007DB08 0007AA68 88 1F 05 2C */ lbz r0, 0x52c(r31) +/* 8007DB0C 0007AA6C 28 00 00 00 */ cmplwi r0, 0 +/* 8007DB10 0007AA70 40 82 00 2C */ bne lbl_8007DB3C +/* 8007DB14 0007AA74 36 DF 05 20 */ addic. r22, r31, 0x520 +/* 8007DB18 0007AA78 41 82 00 18 */ beq lbl_8007DB30 +/* 8007DB1C 0007AA7C 7E C3 B3 78 */ mr r3, r22 +/* 8007DB20 0007AA80 38 81 00 6C */ addi r4, r1, 0x6c +/* 8007DB24 0007AA84 48 2C 33 85 */ bl __ct__6CTokenFRC6CToken +/* 8007DB28 0007AA88 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8007DB2C 0007AA8C 90 16 00 08 */ stw r0, 8(r22) +lbl_8007DB30: +/* 8007DB30 0007AA90 38 00 00 01 */ li r0, 1 +/* 8007DB34 0007AA94 98 1F 05 2C */ stb r0, 0x52c(r31) +/* 8007DB38 0007AA98 48 00 00 1C */ b lbl_8007DB54 +lbl_8007DB3C: +/* 8007DB3C 0007AA9C 3A DF 05 20 */ addi r22, r31, 0x520 +/* 8007DB40 0007AAA0 38 81 00 6C */ addi r4, r1, 0x6c +/* 8007DB44 0007AAA4 7E C3 B3 78 */ mr r3, r22 +/* 8007DB48 0007AAA8 48 2C 31 7D */ bl __as__6CTokenFRC6CToken +/* 8007DB4C 0007AAAC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8007DB50 0007AAB0 90 16 00 08 */ stw r0, 8(r22) +lbl_8007DB54: +/* 8007DB54 0007AAB4 38 61 00 6C */ addi r3, r1, 0x6c +/* 8007DB58 0007AAB8 38 80 00 00 */ li r4, 0 +/* 8007DB5C 0007AABC 48 2C 32 E5 */ bl __dt__6CTokenFv +/* 8007DB60 0007AAC0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8007DB64 0007AAC4 38 80 FF FF */ li r4, -1 +/* 8007DB68 0007AAC8 48 2C 32 D9 */ bl __dt__6CTokenFv +/* 8007DB6C 0007AACC 38 7F 05 20 */ addi r3, r31, 0x520 +/* 8007DB70 0007AAD0 48 2C 32 15 */ bl Lock__6CTokenFv +lbl_8007DB74: +/* 8007DB74 0007AAD4 80 98 01 20 */ lwz r4, 0x120(r24) +/* 8007DB78 0007AAD8 3C 04 00 01 */ addis r0, r4, 1 +/* 8007DB7C 0007AADC 28 00 FF FF */ cmplwi r0, 0xffff +/* 8007DB80 0007AAE0 41 82 00 B0 */ beq lbl_8007DC30 +/* 8007DB84 0007AAE4 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 8007DB88 0007AAE8 90 81 00 40 */ stw r4, 0x40(r1) +/* 8007DB8C 0007AAEC 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 8007DB90 0007AAF0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8007DB94 0007AAF4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8007DB98 0007AAF8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8007DB9C 0007AAFC 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8007DBA0 0007AB00 81 84 00 00 */ lwz r12, 0(r4) +/* 8007DBA4 0007AB04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8007DBA8 0007AB08 7D 89 03 A6 */ mtctr r12 +/* 8007DBAC 0007AB0C 4E 80 04 21 */ bctrl +/* 8007DBB0 0007AB10 38 61 00 60 */ addi r3, r1, 0x60 +/* 8007DBB4 0007AB14 38 81 00 34 */ addi r4, r1, 0x34 +/* 8007DBB8 0007AB18 48 2C 32 F1 */ bl __ct__6CTokenFRC6CToken +/* 8007DBBC 0007AB1C 38 00 00 00 */ li r0, 0 +/* 8007DBC0 0007AB20 90 01 00 68 */ stw r0, 0x68(r1) +/* 8007DBC4 0007AB24 88 1F 05 3C */ lbz r0, 0x53c(r31) +/* 8007DBC8 0007AB28 28 00 00 00 */ cmplwi r0, 0 +/* 8007DBCC 0007AB2C 40 82 00 2C */ bne lbl_8007DBF8 +/* 8007DBD0 0007AB30 36 DF 05 30 */ addic. r22, r31, 0x530 +/* 8007DBD4 0007AB34 41 82 00 18 */ beq lbl_8007DBEC +/* 8007DBD8 0007AB38 7E C3 B3 78 */ mr r3, r22 +/* 8007DBDC 0007AB3C 38 81 00 60 */ addi r4, r1, 0x60 +/* 8007DBE0 0007AB40 48 2C 32 C9 */ bl __ct__6CTokenFRC6CToken +/* 8007DBE4 0007AB44 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8007DBE8 0007AB48 90 16 00 08 */ stw r0, 8(r22) +lbl_8007DBEC: +/* 8007DBEC 0007AB4C 38 00 00 01 */ li r0, 1 +/* 8007DBF0 0007AB50 98 1F 05 3C */ stb r0, 0x53c(r31) +/* 8007DBF4 0007AB54 48 00 00 1C */ b lbl_8007DC10 +lbl_8007DBF8: +/* 8007DBF8 0007AB58 3A DF 05 30 */ addi r22, r31, 0x530 +/* 8007DBFC 0007AB5C 38 81 00 60 */ addi r4, r1, 0x60 +/* 8007DC00 0007AB60 7E C3 B3 78 */ mr r3, r22 +/* 8007DC04 0007AB64 48 2C 30 C1 */ bl __as__6CTokenFRC6CToken +/* 8007DC08 0007AB68 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8007DC0C 0007AB6C 90 16 00 08 */ stw r0, 8(r22) +lbl_8007DC10: +/* 8007DC10 0007AB70 38 61 00 60 */ addi r3, r1, 0x60 +/* 8007DC14 0007AB74 38 80 00 00 */ li r4, 0 +/* 8007DC18 0007AB78 48 2C 32 29 */ bl __dt__6CTokenFv +/* 8007DC1C 0007AB7C 38 61 00 34 */ addi r3, r1, 0x34 +/* 8007DC20 0007AB80 38 80 FF FF */ li r4, -1 +/* 8007DC24 0007AB84 48 2C 32 1D */ bl __dt__6CTokenFv +/* 8007DC28 0007AB88 38 7F 05 30 */ addi r3, r31, 0x530 +/* 8007DC2C 0007AB8C 48 2C 31 59 */ bl Lock__6CTokenFv +lbl_8007DC30: +/* 8007DC30 0007AB90 80 98 01 30 */ lwz r4, 0x130(r24) +/* 8007DC34 0007AB94 3C 04 00 01 */ addis r0, r4, 1 +/* 8007DC38 0007AB98 28 00 FF FF */ cmplwi r0, 0xffff +/* 8007DC3C 0007AB9C 41 82 00 B0 */ beq lbl_8007DCEC +/* 8007DC40 0007ABA0 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8007DC44 0007ABA4 90 81 00 30 */ stw r4, 0x30(r1) +/* 8007DC48 0007ABA8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8007DC4C 0007ABAC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8007DC50 0007ABB0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8007DC54 0007ABB4 38 61 00 24 */ addi r3, r1, 0x24 +/* 8007DC58 0007ABB8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8007DC5C 0007ABBC 81 84 00 00 */ lwz r12, 0(r4) +/* 8007DC60 0007ABC0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8007DC64 0007ABC4 7D 89 03 A6 */ mtctr r12 +/* 8007DC68 0007ABC8 4E 80 04 21 */ bctrl +/* 8007DC6C 0007ABCC 38 61 00 54 */ addi r3, r1, 0x54 +/* 8007DC70 0007ABD0 38 81 00 24 */ addi r4, r1, 0x24 +/* 8007DC74 0007ABD4 48 2C 32 35 */ bl __ct__6CTokenFRC6CToken +/* 8007DC78 0007ABD8 38 00 00 00 */ li r0, 0 +/* 8007DC7C 0007ABDC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8007DC80 0007ABE0 88 1F 05 58 */ lbz r0, 0x558(r31) +/* 8007DC84 0007ABE4 28 00 00 00 */ cmplwi r0, 0 +/* 8007DC88 0007ABE8 40 82 00 2C */ bne lbl_8007DCB4 +/* 8007DC8C 0007ABEC 36 DF 05 4C */ addic. r22, r31, 0x54c +/* 8007DC90 0007ABF0 41 82 00 18 */ beq lbl_8007DCA8 +/* 8007DC94 0007ABF4 7E C3 B3 78 */ mr r3, r22 +/* 8007DC98 0007ABF8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8007DC9C 0007ABFC 48 2C 32 0D */ bl __ct__6CTokenFRC6CToken +/* 8007DCA0 0007AC00 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8007DCA4 0007AC04 90 16 00 08 */ stw r0, 8(r22) +lbl_8007DCA8: +/* 8007DCA8 0007AC08 38 00 00 01 */ li r0, 1 +/* 8007DCAC 0007AC0C 98 1F 05 58 */ stb r0, 0x558(r31) +/* 8007DCB0 0007AC10 48 00 00 1C */ b lbl_8007DCCC +lbl_8007DCB4: +/* 8007DCB4 0007AC14 3A DF 05 4C */ addi r22, r31, 0x54c +/* 8007DCB8 0007AC18 38 81 00 54 */ addi r4, r1, 0x54 +/* 8007DCBC 0007AC1C 7E C3 B3 78 */ mr r3, r22 +/* 8007DCC0 0007AC20 48 2C 30 05 */ bl __as__6CTokenFRC6CToken +/* 8007DCC4 0007AC24 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8007DCC8 0007AC28 90 16 00 08 */ stw r0, 8(r22) +lbl_8007DCCC: +/* 8007DCCC 0007AC2C 38 61 00 54 */ addi r3, r1, 0x54 +/* 8007DCD0 0007AC30 38 80 00 00 */ li r4, 0 +/* 8007DCD4 0007AC34 48 2C 31 6D */ bl __dt__6CTokenFv +/* 8007DCD8 0007AC38 38 61 00 24 */ addi r3, r1, 0x24 +/* 8007DCDC 0007AC3C 38 80 FF FF */ li r4, -1 +/* 8007DCE0 0007AC40 48 2C 31 61 */ bl __dt__6CTokenFv +/* 8007DCE4 0007AC44 38 7F 05 4C */ addi r3, r31, 0x54c +/* 8007DCE8 0007AC48 48 2C 30 9D */ bl Lock__6CTokenFv +lbl_8007DCEC: +/* 8007DCEC 0007AC4C C0 3F 04 14 */ lfs f1, 0x414(r31) +/* 8007DCF0 0007AC50 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) +/* 8007DCF4 0007AC54 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007DCF8 0007AC58 40 81 00 08 */ ble lbl_8007DD00 +/* 8007DCFC 0007AC5C D0 1F 04 14 */ stfs f0, 0x414(r31) +lbl_8007DD00: +/* 8007DD00 0007AC60 38 80 00 00 */ li r4, 0 +/* 8007DD04 0007AC64 88 1F 00 E6 */ lbz r0, 0xe6(r31) +/* 8007DD08 0007AC68 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8007DD0C 0007AC6C 98 1F 00 E6 */ stb r0, 0xe6(r31) +/* 8007DD10 0007AC70 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8007DD14 0007AC74 28 03 00 00 */ cmplwi r3, 0 +/* 8007DD18 0007AC78 41 82 00 20 */ beq lbl_8007DD38 +/* 8007DD1C 0007AC7C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8007DD20 0007AC80 28 00 00 00 */ cmplwi r0, 0 +/* 8007DD24 0007AC84 40 82 00 10 */ bne lbl_8007DD34 +/* 8007DD28 0007AC88 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8007DD2C 0007AC8C 28 00 00 00 */ cmplwi r0, 0 +/* 8007DD30 0007AC90 41 82 00 08 */ beq lbl_8007DD38 +lbl_8007DD34: +/* 8007DD34 0007AC94 38 80 00 01 */ li r4, 1 +lbl_8007DD38: +/* 8007DD38 0007AC98 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8007DD3C 0007AC9C 41 82 00 30 */ beq lbl_8007DD6C +/* 8007DD40 0007ACA0 38 80 00 01 */ li r4, 1 +/* 8007DD44 0007ACA4 48 09 70 E5 */ bl HasModel__10CModelDataCF11EWhichModel +/* 8007DD48 0007ACA8 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8007DD4C 0007ACAC 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 8007DD50 0007ACB0 7C 64 00 34 */ cntlzw r4, r3 +/* 8007DD54 0007ACB4 54 85 DE 3E */ rlwinm r5, r4, 0x1b, 0x18, 0x1f +/* 8007DD58 0007ACB8 7F E3 FB 78 */ mr r3, r31 +/* 8007DD5C 0007ACBC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8007DD60 0007ACC0 7F 64 DB 78 */ mr r4, r27 +/* 8007DD64 0007ACC4 98 1F 04 02 */ stb r0, 0x402(r31) +/* 8007DD68 0007ACC8 4B FF F3 A9 */ bl BuildBodyController__10CPatternedF9EBodyType +lbl_8007DD6C: +/* 8007DD6C 0007ACCC 7F E3 FB 78 */ mr r3, r31 +/* 8007DD70 0007ACD0 BA C1 00 98 */ lmw r22, 0x98(r1) +/* 8007DD74 0007ACD4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8007DD78 0007ACD8 7C 08 03 A6 */ mtlr r0 +/* 8007DD7C 0007ACDC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8007DD80 0007ACE0 4E 80 00 20 */ blr + +.global sub_8007dd84 +sub_8007dd84: +/* 8007DD84 0007ACE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007DD88 0007ACE8 7C 08 02 A6 */ mflr r0 +/* 8007DD8C 0007ACEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007DD90 0007ACF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007DD94 0007ACF4 7C 7F 1B 78 */ mr r31, r3 +/* 8007DD98 0007ACF8 80 83 00 00 */ lwz r4, 0(r3) +/* 8007DD9C 0007ACFC 80 64 00 04 */ lwz r3, 4(r4) +/* 8007DDA0 0007AD00 34 03 FF FF */ addic. r0, r3, -1 +/* 8007DDA4 0007AD04 90 04 00 04 */ stw r0, 4(r4) +/* 8007DDA8 0007AD08 41 81 00 24 */ bgt lbl_8007DDCC +/* 8007DDAC 0007AD0C 80 7F 00 00 */ lwz r3, 0(r31) +/* 8007DDB0 0007AD10 38 80 00 01 */ li r4, 1 +/* 8007DDB4 0007AD14 80 63 00 00 */ lwz r3, 0(r3) +/* 8007DDB8 0007AD18 4B FF 9F 89 */ bl __dt__18CVertexMorphEffectFv +/* 8007DDBC 0007AD1C 80 7F 00 00 */ lwz r3, 0(r31) +/* 8007DDC0 0007AD20 28 03 00 00 */ cmplwi r3, 0 +/* 8007DDC4 0007AD24 41 82 00 08 */ beq lbl_8007DDCC +/* 8007DDC8 0007AD28 48 29 7B 69 */ bl Free__7CMemoryFPCv +lbl_8007DDCC: +/* 8007DDCC 0007AD2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007DDD0 0007AD30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007DDD4 0007AD34 7C 08 03 A6 */ mtlr r0 +/* 8007DDD8 0007AD38 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007DDDC 0007AD3C 4E 80 00 20 */ blr + +.global "Min__5CMathFRCfRCf" +"Min__5CMathFRCfRCf": +/* 8007DDE0 0007AD40 C0 23 00 00 */ lfs f1, 0(r3) +/* 8007DDE4 0007AD44 C0 04 00 00 */ lfs f0, 0(r4) +/* 8007DDE8 0007AD48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007DDEC 0007AD4C 4D 80 00 20 */ bltlr +/* 8007DDF0 0007AD50 7C 83 23 78 */ mr r3, r4 +/* 8007DDF4 0007AD54 4E 80 00 20 */ blr + +.global __sinit_CPatterned_cpp +__sinit_CPatterned_cpp: +/* 8007DDF8 0007AD58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007DDFC 0007AD5C 7C 08 02 A6 */ mflr r0 +/* 8007DE00 0007AD60 C0 42 89 08 */ lfs f2, lbl_805AA628@sda21(r2) +/* 8007DE04 0007AD64 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007DE08 0007AD68 38 61 00 0C */ addi r3, r1, 0xc +/* 8007DE0C 0007AD6C FC 60 10 90 */ fmr f3, f2 +/* 8007DE10 0007AD70 C0 22 89 10 */ lfs f1, lbl_805AA630@sda21(r2) +/* 8007DE14 0007AD74 C0 82 89 04 */ lfs f4, lbl_805AA624@sda21(r2) +/* 8007DE18 0007AD78 48 2E 55 D5 */ bl __ct__6CColorFffff +/* 8007DE1C 0007AD7C C0 22 89 10 */ lfs f1, lbl_805AA630@sda21(r2) +/* 8007DE20 0007AD80 38 61 00 08 */ addi r3, r1, 8 +/* 8007DE24 0007AD84 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8007DE28 0007AD88 FC 40 08 90 */ fmr f2, f1 +/* 8007DE2C 0007AD8C C0 62 89 08 */ lfs f3, lbl_805AA628@sda21(r2) +/* 8007DE30 0007AD90 90 0D A2 50 */ stw r0, lbl_805A8E10@sda21(r13) +/* 8007DE34 0007AD94 C0 82 89 04 */ lfs f4, lbl_805AA624@sda21(r2) +/* 8007DE38 0007AD98 48 2E 55 B5 */ bl __ct__6CColorFffff +/* 8007DE3C 0007AD9C 80 61 00 08 */ lwz r3, 8(r1) +/* 8007DE40 0007ADA0 38 00 00 00 */ li r0, 0 +/* 8007DE44 0007ADA4 39 00 00 FF */ li r8, 0xff +/* 8007DE48 0007ADA8 38 ED A2 58 */ addi r7, r13, lbl_805A8E18@sda21 +/* 8007DE4C 0007ADAC 38 C0 00 C0 */ li r6, 0xc0 +/* 8007DE50 0007ADB0 90 6D A2 54 */ stw r3, lbl_805A8E14@sda21(r13) +/* 8007DE54 0007ADB4 80 AD 83 E4 */ lwz r5, lbl_805A6FA4@sda21(r13) +/* 8007DE58 0007ADB8 38 60 00 00 */ li r3, 0 +/* 8007DE5C 0007ADBC 99 0D A2 58 */ stb r8, lbl_805A8E18@sda21(r13) +/* 8007DE60 0007ADC0 38 80 00 01 */ li r4, 1 +/* 8007DE64 0007ADC4 99 07 00 01 */ stb r8, 1(r7) +/* 8007DE68 0007ADC8 98 C7 00 02 */ stb r6, 2(r7) +/* 8007DE6C 0007ADCC 99 07 00 03 */ stb r8, 3(r7) +/* 8007DE70 0007ADD0 90 0D A2 64 */ stw r0, lbl_805A8E24@sda21(r13) +/* 8007DE74 0007ADD4 90 0D A2 60 */ stw r0, lbl_805A8E20@sda21(r13) +/* 8007DE78 0007ADD8 48 30 C0 7D */ bl __shl2i +/* 8007DE7C 0007ADDC 80 0D A2 60 */ lwz r0, lbl_805A8E20@sda21(r13) +/* 8007DE80 0007ADE0 80 CD A2 64 */ lwz r6, lbl_805A8E24@sda21(r13) +/* 8007DE84 0007ADE4 7C 00 1B 78 */ or r0, r0, r3 +/* 8007DE88 0007ADE8 80 AD 83 E8 */ lwz r5, lbl_805A6FA8@sda21(r13) +/* 8007DE8C 0007ADEC 7C C4 23 78 */ or r4, r6, r4 +/* 8007DE90 0007ADF0 90 0D A2 60 */ stw r0, lbl_805A8E20@sda21(r13) +/* 8007DE94 0007ADF4 38 60 00 00 */ li r3, 0 +/* 8007DE98 0007ADF8 90 8D A2 64 */ stw r4, lbl_805A8E24@sda21(r13) +/* 8007DE9C 0007ADFC 38 80 00 01 */ li r4, 1 +/* 8007DEA0 0007AE00 48 30 C0 55 */ bl __shl2i +/* 8007DEA4 0007AE04 80 0D A2 60 */ lwz r0, lbl_805A8E20@sda21(r13) +/* 8007DEA8 0007AE08 80 CD A2 64 */ lwz r6, lbl_805A8E24@sda21(r13) +/* 8007DEAC 0007AE0C 7C 00 1B 78 */ or r0, r0, r3 +/* 8007DEB0 0007AE10 80 AD 83 EC */ lwz r5, lbl_805A6FAC@sda21(r13) +/* 8007DEB4 0007AE14 7C C4 23 78 */ or r4, r6, r4 +/* 8007DEB8 0007AE18 90 0D A2 60 */ stw r0, lbl_805A8E20@sda21(r13) +/* 8007DEBC 0007AE1C 38 60 00 00 */ li r3, 0 +/* 8007DEC0 0007AE20 90 8D A2 64 */ stw r4, lbl_805A8E24@sda21(r13) +/* 8007DEC4 0007AE24 38 80 00 01 */ li r4, 1 +/* 8007DEC8 0007AE28 48 30 C0 2D */ bl __shl2i +/* 8007DECC 0007AE2C 80 0D A2 60 */ lwz r0, lbl_805A8E20@sda21(r13) +/* 8007DED0 0007AE30 80 CD A2 64 */ lwz r6, lbl_805A8E24@sda21(r13) +/* 8007DED4 0007AE34 7C 00 1B 78 */ or r0, r0, r3 +/* 8007DED8 0007AE38 80 AD 83 F0 */ lwz r5, lbl_805A6FB0@sda21(r13) +/* 8007DEDC 0007AE3C 7C C4 23 78 */ or r4, r6, r4 +/* 8007DEE0 0007AE40 90 0D A2 60 */ stw r0, lbl_805A8E20@sda21(r13) +/* 8007DEE4 0007AE44 38 60 00 00 */ li r3, 0 +/* 8007DEE8 0007AE48 90 8D A2 64 */ stw r4, lbl_805A8E24@sda21(r13) +/* 8007DEEC 0007AE4C 38 80 00 01 */ li r4, 1 +/* 8007DEF0 0007AE50 48 30 C0 05 */ bl __shl2i +/* 8007DEF4 0007AE54 80 AD A2 60 */ lwz r5, lbl_805A8E20@sda21(r13) +/* 8007DEF8 0007AE58 38 00 00 00 */ li r0, 0 +/* 8007DEFC 0007AE5C 80 CD A2 64 */ lwz r6, lbl_805A8E24@sda21(r13) +/* 8007DF00 0007AE60 7C A3 1B 78 */ or r3, r5, r3 +/* 8007DF04 0007AE64 80 AD 83 F4 */ lwz r5, lbl_805A6FB4@sda21(r13) +/* 8007DF08 0007AE68 7C C4 23 78 */ or r4, r6, r4 +/* 8007DF0C 0007AE6C 90 6D A2 60 */ stw r3, lbl_805A8E20@sda21(r13) +/* 8007DF10 0007AE70 38 60 00 00 */ li r3, 0 +/* 8007DF14 0007AE74 90 8D A2 64 */ stw r4, lbl_805A8E24@sda21(r13) +/* 8007DF18 0007AE78 38 80 00 01 */ li r4, 1 +/* 8007DF1C 0007AE7C 90 0D A2 6C */ stw r0, lbl_805A8E2C@sda21(r13) +/* 8007DF20 0007AE80 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) +/* 8007DF24 0007AE84 48 30 BF D1 */ bl __shl2i +/* 8007DF28 0007AE88 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) +/* 8007DF2C 0007AE8C 80 CD A2 6C */ lwz r6, lbl_805A8E2C@sda21(r13) +/* 8007DF30 0007AE90 7C 00 1B 78 */ or r0, r0, r3 +/* 8007DF34 0007AE94 80 AD 83 F8 */ lwz r5, lbl_805A6FB8@sda21(r13) +/* 8007DF38 0007AE98 7C C4 23 78 */ or r4, r6, r4 +/* 8007DF3C 0007AE9C 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) +/* 8007DF40 0007AEA0 38 60 00 00 */ li r3, 0 +/* 8007DF44 0007AEA4 90 8D A2 6C */ stw r4, lbl_805A8E2C@sda21(r13) +/* 8007DF48 0007AEA8 38 80 00 01 */ li r4, 1 +/* 8007DF4C 0007AEAC 48 30 BF A9 */ bl __shl2i +/* 8007DF50 0007AEB0 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) +/* 8007DF54 0007AEB4 80 CD A2 6C */ lwz r6, lbl_805A8E2C@sda21(r13) +/* 8007DF58 0007AEB8 7C 00 1B 78 */ or r0, r0, r3 +/* 8007DF5C 0007AEBC 80 AD 83 FC */ lwz r5, lbl_805A6FBC@sda21(r13) +/* 8007DF60 0007AEC0 7C C4 23 78 */ or r4, r6, r4 +/* 8007DF64 0007AEC4 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) +/* 8007DF68 0007AEC8 38 60 00 00 */ li r3, 0 +/* 8007DF6C 0007AECC 90 8D A2 6C */ stw r4, lbl_805A8E2C@sda21(r13) +/* 8007DF70 0007AED0 38 80 00 01 */ li r4, 1 +/* 8007DF74 0007AED4 48 30 BF 81 */ bl __shl2i +/* 8007DF78 0007AED8 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) +/* 8007DF7C 0007AEDC 80 CD A2 6C */ lwz r6, lbl_805A8E2C@sda21(r13) +/* 8007DF80 0007AEE0 7C 00 1B 78 */ or r0, r0, r3 +/* 8007DF84 0007AEE4 80 AD 84 00 */ lwz r5, lbl_805A6FC0@sda21(r13) +/* 8007DF88 0007AEE8 7C C4 23 78 */ or r4, r6, r4 +/* 8007DF8C 0007AEEC 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) +/* 8007DF90 0007AEF0 38 60 00 00 */ li r3, 0 +/* 8007DF94 0007AEF4 90 8D A2 6C */ stw r4, lbl_805A8E2C@sda21(r13) +/* 8007DF98 0007AEF8 38 80 00 01 */ li r4, 1 +/* 8007DF9C 0007AEFC 48 30 BF 59 */ bl __shl2i +/* 8007DFA0 0007AF00 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) +/* 8007DFA4 0007AF04 80 CD A2 6C */ lwz r6, lbl_805A8E2C@sda21(r13) +/* 8007DFA8 0007AF08 7C 00 1B 78 */ or r0, r0, r3 +/* 8007DFAC 0007AF0C 80 AD 84 04 */ lwz r5, lbl_805A6FC4@sda21(r13) +/* 8007DFB0 0007AF10 7C C4 23 78 */ or r4, r6, r4 +/* 8007DFB4 0007AF14 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) +/* 8007DFB8 0007AF18 38 60 00 00 */ li r3, 0 +/* 8007DFBC 0007AF1C 90 8D A2 6C */ stw r4, lbl_805A8E2C@sda21(r13) +/* 8007DFC0 0007AF20 38 80 00 01 */ li r4, 1 +/* 8007DFC4 0007AF24 48 30 BF 31 */ bl __shl2i +/* 8007DFC8 0007AF28 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) +/* 8007DFCC 0007AF2C 80 AD A2 6C */ lwz r5, lbl_805A8E2C@sda21(r13) +/* 8007DFD0 0007AF30 7C 00 1B 78 */ or r0, r0, r3 +/* 8007DFD4 0007AF34 7C A3 23 78 */ or r3, r5, r4 +/* 8007DFD8 0007AF38 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) +/* 8007DFDC 0007AF3C 90 6D A2 6C */ stw r3, lbl_805A8E2C@sda21(r13) +/* 8007DFE0 0007AF40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007DFE4 0007AF44 7C 08 03 A6 */ mtlr r0 +/* 8007DFE8 0007AF48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007DFEC 0007AF4C 4E 80 00 20 */ blr + +.global __dt__11CScriptDoorFv +__dt__11CScriptDoorFv: +/* 8007DFF0 0007AF50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007DFF4 0007AF54 7C 08 02 A6 */ mflr r0 +/* 8007DFF8 0007AF58 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007DFFC 0007AF5C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8007E000 0007AF60 7C 9F 23 78 */ mr r31, r4 +/* 8007E004 0007AF64 93 C1 00 08 */ stw r30, 8(r1) +/* 8007E008 0007AF68 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8007E00C 0007AF6C 41 82 00 28 */ beq lbl_8007E034 +/* 8007E010 0007AF70 3C A0 80 3E */ lis r5, lbl_803DAA78@ha +/* 8007E014 0007AF74 38 80 00 00 */ li r4, 0 +/* 8007E018 0007AF78 38 05 AA 78 */ addi r0, r5, lbl_803DAA78@l +/* 8007E01C 0007AF7C 90 1E 00 00 */ stw r0, 0(r30) +/* 8007E020 0007AF80 48 09 E3 F5 */ bl __dt__13CPhysicsActorFv +/* 8007E024 0007AF84 7F E0 07 35 */ extsh. r0, r31 +/* 8007E028 0007AF88 40 81 00 0C */ ble lbl_8007E034 +/* 8007E02C 0007AF8C 7F C3 F3 78 */ mr r3, r30 +/* 8007E030 0007AF90 48 29 79 01 */ bl Free__7CMemoryFPCv +lbl_8007E034: +/* 8007E034 0007AF94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007E038 0007AF98 7F C3 F3 78 */ mr r3, r30 +/* 8007E03C 0007AF9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8007E040 0007AFA0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8007E044 0007AFA4 7C 08 03 A6 */ mtlr r0 +/* 8007E048 0007AFA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007E04C 0007AFAC 4E 80 00 20 */ blr + +.global Accept__11CScriptDoorFR8IVisitor +Accept__11CScriptDoorFR8IVisitor: +/* 8007E050 0007AFB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007E054 0007AFB4 7C 08 02 A6 */ mflr r0 +/* 8007E058 0007AFB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007E05C 0007AFBC 7C 60 1B 78 */ mr r0, r3 +/* 8007E060 0007AFC0 7C 83 23 78 */ mr r3, r4 +/* 8007E064 0007AFC4 81 84 00 00 */ lwz r12, 0(r4) +/* 8007E068 0007AFC8 7C 04 03 78 */ mr r4, r0 +/* 8007E06C 0007AFCC 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 8007E070 0007AFD0 7D 89 03 A6 */ mtctr r12 +/* 8007E074 0007AFD4 4E 80 04 21 */ bctrl +/* 8007E078 0007AFD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007E07C 0007AFDC 7C 08 03 A6 */ mtlr r0 +/* 8007E080 0007AFE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007E084 0007AFE4 4E 80 00 20 */ blr + +.global Render__11CScriptDoorCFRC13CStateManager +Render__11CScriptDoorCFRC13CStateManager: +/* 8007E088 0007AFE8 4E 80 00 20 */ blr + +.global AddToRenderer__11CScriptDoorCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__11CScriptDoorCFRC14CFrustumPlanesRC13CStateManager: +/* 8007E08C 0007AFEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8007E090 0007AFF0 7C 08 02 A6 */ mflr r0 +/* 8007E094 0007AFF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007E098 0007AFF8 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 8007E09C 0007AFFC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8007E0A0 0007B000 40 82 00 0C */ bne lbl_8007E0AC +/* 8007E0A4 0007B004 7C A4 2B 78 */ mr r4, r5 +/* 8007E0A8 0007B008 48 09 C4 41 */ bl Render__13CPhysicsActorCFRC13CStateManager +lbl_8007E0AC: +/* 8007E0AC 0007B00C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8007E0B0 0007B010 7C 08 03 A6 */ mtlr r0 +/* 8007E0B4 0007B014 38 21 00 10 */ addi r1, r1, 0x10 +/* 8007E0B8 0007B018 4E 80 00 20 */ blr + +.global ForceClosed__11CScriptDoorFR13CStateManager +ForceClosed__11CScriptDoorFR13CStateManager: +/* 8007E0BC 0007B01C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007E0C0 0007B020 7C 08 02 A6 */ mflr r0 +/* 8007E0C4 0007B024 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007E0C8 0007B028 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007E0CC 0007B02C 7C 7F 1B 78 */ mr r31, r3 +/* 8007E0D0 0007B030 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8007E0D4 0007B034 7C 9E 23 78 */ mr r30, r4 +/* 8007E0D8 0007B038 88 C3 02 A8 */ lbz r6, 0x2a8(r3) +/* 8007E0DC 0007B03C 54 C0 DF FF */ rlwinm. r0, r6, 0x1b, 0x1f, 0x1f +/* 8007E0E0 0007B040 41 82 00 9C */ beq lbl_8007E17C +/* 8007E0E4 0007B044 38 60 00 00 */ li r3, 0 +/* 8007E0E8 0007B048 38 81 00 14 */ addi r4, r1, 0x14 +/* 8007E0EC 0007B04C 50 66 2E B4 */ rlwimi r6, r3, 5, 0x1a, 0x1a +/* 8007E0F0 0007B050 98 DF 02 A8 */ stb r6, 0x2a8(r31) +/* 8007E0F4 0007B054 88 1F 02 A8 */ lbz r0, 0x2a8(r31) +/* 8007E0F8 0007B058 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8007E0FC 0007B05C 98 1F 02 A8 */ stb r0, 0x2a8(r31) +/* 8007E100 0007B060 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8007E104 0007B064 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8007E108 0007B068 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8007E10C 0007B06C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8007E110 0007B070 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8007E114 0007B074 48 00 50 05 */ bl DoorClosing__11CBallCameraF9TUniqueId +/* 8007E118 0007B078 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8007E11C 0007B07C 38 81 00 0C */ addi r4, r1, 0xc +/* 8007E120 0007B080 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8007E124 0007B084 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8007E128 0007B088 B0 01 00 08 */ sth r0, 8(r1) +/* 8007E12C 0007B08C 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8007E130 0007B090 48 00 4F C5 */ bl DoorClosed__11CBallCameraF9TUniqueId +/* 8007E134 0007B094 7F E3 FB 78 */ mr r3, r31 +/* 8007E138 0007B098 38 80 00 01 */ li r4, 1 +/* 8007E13C 0007B09C 48 00 08 95 */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType +/* 8007E140 0007B0A0 7F E3 FB 78 */ mr r3, r31 +/* 8007E144 0007B0A4 7F C5 F3 78 */ mr r5, r30 +/* 8007E148 0007B0A8 38 80 00 02 */ li r4, 2 +/* 8007E14C 0007B0AC 38 C0 FF FF */ li r6, -1 +/* 8007E150 0007B0B0 4B FD 2F 71 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8007E154 0007B0B4 88 1F 02 A8 */ lbz r0, 0x2a8(r31) +/* 8007E158 0007B0B8 38 60 00 00 */ li r3, 0 +/* 8007E15C 0007B0BC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8007E160 0007B0C0 C0 02 89 68 */ lfs f0, lbl_805AA688@sda21(r2) +/* 8007E164 0007B0C4 98 1F 02 A8 */ stb r0, 0x2a8(r31) +/* 8007E168 0007B0C8 D0 1F 02 5C */ stfs f0, 0x25c(r31) +/* 8007E16C 0007B0CC 88 1F 02 A8 */ lbz r0, 0x2a8(r31) +/* 8007E170 0007B0D0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8007E174 0007B0D4 98 1F 02 A8 */ stb r0, 0x2a8(r31) +/* 8007E178 0007B0D8 48 00 00 34 */ b lbl_8007E1AC +lbl_8007E17C: +/* 8007E17C 0007B0DC 54 C0 E7 FF */ rlwinm. r0, r6, 0x1c, 0x1f, 0x1f +/* 8007E180 0007B0E0 41 82 00 2C */ beq lbl_8007E1AC +/* 8007E184 0007B0E4 38 E0 00 00 */ li r7, 0 +/* 8007E188 0007B0E8 7F C5 F3 78 */ mr r5, r30 +/* 8007E18C 0007B0EC 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b +/* 8007E190 0007B0F0 38 80 00 02 */ li r4, 2 +/* 8007E194 0007B0F4 98 DF 02 A8 */ stb r6, 0x2a8(r31) +/* 8007E198 0007B0F8 38 C0 FF FF */ li r6, -1 +/* 8007E19C 0007B0FC 88 1F 02 A8 */ lbz r0, 0x2a8(r31) +/* 8007E1A0 0007B100 50 E0 0F BC */ rlwimi r0, r7, 1, 0x1e, 0x1e +/* 8007E1A4 0007B104 98 1F 02 A8 */ stb r0, 0x2a8(r31) +/* 8007E1A8 0007B108 4B FD 2F 19 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8007E1AC: +/* 8007E1AC 0007B10C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007E1B0 0007B110 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007E1B4 0007B114 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8007E1B8 0007B118 7C 08 03 A6 */ mtlr r0 +/* 8007E1BC 0007B11C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007E1C0 0007B120 4E 80 00 20 */ blr + +.global IsConnectedToArea__11CScriptDoorCFRC13CStateManager7TAreaId +IsConnectedToArea__11CScriptDoorCFRC13CStateManager7TAreaId: +/* 8007E1C4 0007B124 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007E1C8 0007B128 7C 08 02 A6 */ mflr r0 +/* 8007E1CC 0007B12C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007E1D0 0007B130 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007E1D4 0007B134 7C BF 2B 78 */ mr r31, r5 +/* 8007E1D8 0007B138 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8007E1DC 0007B13C 7C 9E 23 78 */ mr r30, r4 +/* 8007E1E0 0007B140 38 81 00 08 */ addi r4, r1, 8 +/* 8007E1E4 0007B144 A0 03 02 82 */ lhz r0, 0x282(r3) +/* 8007E1E8 0007B148 7F C3 F3 78 */ mr r3, r30 +/* 8007E1EC 0007B14C B0 01 00 08 */ sth r0, 8(r1) +/* 8007E1F0 0007B150 4B FC E3 B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8007E1F4 0007B154 7C 64 1B 78 */ mr r4, r3 +/* 8007E1F8 0007B158 38 61 00 18 */ addi r3, r1, 0x18 +/* 8007E1FC 0007B15C 48 02 C2 09 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" +/* 8007E200 0007B160 80 63 00 04 */ lwz r3, 4(r3) +/* 8007E204 0007B164 28 03 00 00 */ cmplwi r3, 0 +/* 8007E208 0007B168 41 82 00 78 */ beq lbl_8007E280 +/* 8007E20C 0007B16C 80 C3 02 60 */ lwz r6, 0x260(r3) +/* 8007E210 0007B170 80 1F 00 00 */ lwz r0, 0(r31) +/* 8007E214 0007B174 7C 06 00 00 */ cmpw r6, r0 +/* 8007E218 0007B178 40 82 00 0C */ bne lbl_8007E224 +/* 8007E21C 0007B17C 38 60 00 01 */ li r3, 1 +/* 8007E220 0007B180 48 00 00 64 */ b lbl_8007E284 +lbl_8007E224: +/* 8007E224 0007B184 80 BE 08 50 */ lwz r5, 0x850(r30) +/* 8007E228 0007B188 54 C4 18 38 */ slwi r4, r6, 3 +/* 8007E22C 0007B18C 80 03 02 5C */ lwz r0, 0x25c(r3) +/* 8007E230 0007B190 38 84 00 04 */ addi r4, r4, 4 +/* 8007E234 0007B194 80 A5 00 20 */ lwz r5, 0x20(r5) +/* 8007E238 0007B198 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 8007E23C 0007B19C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8007E240 0007B1A0 7C A5 20 2E */ lwzx r5, r5, r4 +/* 8007E244 0007B1A4 7F C4 F3 78 */ mr r4, r30 +/* 8007E248 0007B1A8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8007E24C 0007B1AC 80 A5 00 D8 */ lwz r5, 0xd8(r5) +/* 8007E250 0007B1B0 7F C5 02 14 */ add r30, r5, r0 +/* 8007E254 0007B1B4 48 04 56 B1 */ bl GetDockReference__11CScriptDockCFv +/* 8007E258 0007B1B8 7C 65 1B 78 */ mr r5, r3 +/* 8007E25C 0007B1BC 7F C4 F3 78 */ mr r4, r30 +/* 8007E260 0007B1C0 38 61 00 0C */ addi r3, r1, 0xc +/* 8007E264 0007B1C4 4B FE 10 C1 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 8007E268 0007B1C8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8007E26C 0007B1CC 80 1F 00 00 */ lwz r0, 0(r31) +/* 8007E270 0007B1D0 7C 03 00 00 */ cmpw r3, r0 +/* 8007E274 0007B1D4 40 82 00 0C */ bne lbl_8007E280 +/* 8007E278 0007B1D8 38 60 00 01 */ li r3, 1 +/* 8007E27C 0007B1DC 48 00 00 08 */ b lbl_8007E284 +lbl_8007E280: +/* 8007E280 0007B1E0 38 60 00 00 */ li r3, 0 +lbl_8007E284: +/* 8007E284 0007B1E4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007E288 0007B1E8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007E28C 0007B1EC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8007E290 0007B1F0 7C 08 03 A6 */ mtlr r0 +/* 8007E294 0007B1F4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007E298 0007B1F8 4E 80 00 20 */ blr + +.global Think__11CScriptDoorFfR13CStateManager +Think__11CScriptDoorFfR13CStateManager: +/* 8007E29C 0007B1FC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8007E2A0 0007B200 7C 08 02 A6 */ mflr r0 +/* 8007E2A4 0007B204 90 01 00 54 */ stw r0, 0x54(r1) +/* 8007E2A8 0007B208 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8007E2AC 0007B20C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8007E2B0 0007B210 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8007E2B4 0007B214 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8007E2B8 0007B218 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8007E2BC 0007B21C FF E0 08 90 */ fmr f31, f1 +/* 8007E2C0 0007B220 7C 7E 1B 78 */ mr r30, r3 +/* 8007E2C4 0007B224 7C 9F 23 78 */ mr r31, r4 +/* 8007E2C8 0007B228 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8007E2CC 0007B22C 41 82 02 64 */ beq lbl_8007E530 +/* 8007E2D0 0007B230 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E2D4 0007B234 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007E2D8 0007B238 40 82 00 1C */ bne lbl_8007E2F4 +/* 8007E2DC 0007B23C C0 3E 02 5C */ lfs f1, 0x25c(r30) +/* 8007E2E0 0007B240 C0 02 89 6C */ lfs f0, lbl_805AA68C@sda21(r2) +/* 8007E2E4 0007B244 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007E2E8 0007B248 40 80 00 0C */ bge lbl_8007E2F4 +/* 8007E2EC 0007B24C EC 01 F8 2A */ fadds f0, f1, f31 +/* 8007E2F0 0007B250 D0 1E 02 5C */ stfs f0, 0x25c(r30) +lbl_8007E2F4: +/* 8007E2F4 0007B254 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E2F8 0007B258 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8007E2FC 0007B25C 41 82 00 40 */ beq lbl_8007E33C +/* 8007E300 0007B260 7F C3 F3 78 */ mr r3, r30 +/* 8007E304 0007B264 7F E4 FB 78 */ mr r4, r31 +/* 8007E308 0007B268 48 00 0A 45 */ bl GetDoorOpenCondition__11CScriptDoorFR13CStateManager +/* 8007E30C 0007B26C 2C 03 00 02 */ cmpwi r3, 2 +/* 8007E310 0007B270 40 82 00 2C */ bne lbl_8007E33C +/* 8007E314 0007B274 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E318 0007B278 38 60 00 00 */ li r3, 0 +/* 8007E31C 0007B27C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8007E320 0007B280 7F C3 F3 78 */ mr r3, r30 +/* 8007E324 0007B284 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007E328 0007B288 7F E5 FB 78 */ mr r5, r31 +/* 8007E32C 0007B28C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8007E330 0007B290 A0 1E 02 80 */ lhz r0, 0x280(r30) +/* 8007E334 0007B294 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8007E338 0007B298 48 00 07 2D */ bl OpenDoor__11CScriptDoorF9TUniqueIdR13CStateManager +lbl_8007E33C: +/* 8007E33C 0007B29C 88 7E 02 A8 */ lbz r3, 0x2a8(r30) +/* 8007E340 0007B2A0 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8007E344 0007B2A4 41 82 00 74 */ beq lbl_8007E3B8 +/* 8007E348 0007B2A8 38 00 00 00 */ li r0, 0 +/* 8007E34C 0007B2AC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8007E350 0007B2B0 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 8007E354 0007B2B4 98 7E 02 A8 */ stb r3, 0x2a8(r30) +/* 8007E358 0007B2B8 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8007E35C 0007B2BC B0 01 00 14 */ sth r0, 0x14(r1) +/* 8007E360 0007B2C0 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8007E364 0007B2C4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8007E368 0007B2C8 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8007E36C 0007B2CC 48 00 4D 89 */ bl DoorClosed__11CBallCameraF9TUniqueId +/* 8007E370 0007B2D0 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E374 0007B2D4 38 E0 00 00 */ li r7, 0 +/* 8007E378 0007B2D8 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 8007E37C 0007B2DC 7F C3 F3 78 */ mr r3, r30 +/* 8007E380 0007B2E0 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007E384 0007B2E4 7F E5 FB 78 */ mr r5, r31 +/* 8007E388 0007B2E8 38 80 00 02 */ li r4, 2 +/* 8007E38C 0007B2EC 38 C0 00 05 */ li r6, 5 +/* 8007E390 0007B2F0 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E394 0007B2F4 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 8007E398 0007B2F8 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007E39C 0007B2FC 4B FD 2D 25 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8007E3A0 0007B300 C0 02 89 68 */ lfs f0, lbl_805AA688@sda21(r2) +/* 8007E3A4 0007B304 38 60 00 00 */ li r3, 0 +/* 8007E3A8 0007B308 D0 1E 02 5C */ stfs f0, 0x25c(r30) +/* 8007E3AC 0007B30C 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E3B0 0007B310 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8007E3B4 0007B314 98 1E 02 A8 */ stb r0, 0x2a8(r30) +lbl_8007E3B8: +/* 8007E3B8 0007B318 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E3BC 0007B31C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007E3C0 0007B320 41 82 00 34 */ beq lbl_8007E3F4 +/* 8007E3C4 0007B324 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8007E3C8 0007B328 48 09 78 1D */ bl IsAnimating__10CModelDataCFv +/* 8007E3CC 0007B32C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007E3D0 0007B330 40 82 00 24 */ bne lbl_8007E3F4 +/* 8007E3D4 0007B334 7F C3 F3 78 */ mr r3, r30 +/* 8007E3D8 0007B338 7F E8 FB 78 */ mr r8, r31 +/* 8007E3DC 0007B33C 38 80 00 13 */ li r4, 0x13 +/* 8007E3E0 0007B340 38 A0 00 2A */ li r5, 0x2a +/* 8007E3E4 0007B344 38 C0 00 29 */ li r6, 0x29 +/* 8007E3E8 0007B348 38 E0 00 27 */ li r7, 0x27 +/* 8007E3EC 0007B34C 4B FD 58 FD */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8007E3F0 0007B350 48 00 00 E4 */ b lbl_8007E4D4 +lbl_8007E3F4: +/* 8007E3F4 0007B354 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E3F8 0007B358 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007E3FC 0007B35C 41 82 00 88 */ beq lbl_8007E484 +/* 8007E400 0007B360 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8007E404 0007B364 48 09 77 E1 */ bl IsAnimating__10CModelDataCFv +/* 8007E408 0007B368 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007E40C 0007B36C 40 82 00 78 */ bne lbl_8007E484 +/* 8007E410 0007B370 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E414 0007B374 38 60 00 00 */ li r3, 0 +/* 8007E418 0007B378 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8007E41C 0007B37C 38 81 00 0C */ addi r4, r1, 0xc +/* 8007E420 0007B380 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007E424 0007B384 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8007E428 0007B388 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8007E42C 0007B38C 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8007E430 0007B390 B0 01 00 08 */ sth r0, 8(r1) +/* 8007E434 0007B394 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8007E438 0007B398 48 00 4C BD */ bl DoorClosed__11CBallCameraF9TUniqueId +/* 8007E43C 0007B39C 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E440 0007B3A0 38 E0 00 00 */ li r7, 0 +/* 8007E444 0007B3A4 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 8007E448 0007B3A8 7F C3 F3 78 */ mr r3, r30 +/* 8007E44C 0007B3AC 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007E450 0007B3B0 7F E5 FB 78 */ mr r5, r31 +/* 8007E454 0007B3B4 38 80 00 02 */ li r4, 2 +/* 8007E458 0007B3B8 38 C0 FF FF */ li r6, -1 +/* 8007E45C 0007B3BC 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E460 0007B3C0 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b +/* 8007E464 0007B3C4 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007E468 0007B3C8 4B FD 2C 59 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8007E46C 0007B3CC C0 02 89 68 */ lfs f0, lbl_805AA688@sda21(r2) +/* 8007E470 0007B3D0 38 60 00 00 */ li r3, 0 +/* 8007E474 0007B3D4 D0 1E 02 5C */ stfs f0, 0x25c(r30) +/* 8007E478 0007B3D8 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E47C 0007B3DC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8007E480 0007B3E0 98 1E 02 A8 */ stb r0, 0x2a8(r30) +lbl_8007E484: +/* 8007E484 0007B3E4 7F C3 F3 78 */ mr r3, r30 +/* 8007E488 0007B3E8 4B FD 50 41 */ bl GetScannableObjectInfo__6CActorCFv +/* 8007E48C 0007B3EC 28 03 00 00 */ cmplwi r3, 0 +/* 8007E490 0007B3F0 41 82 00 28 */ beq lbl_8007E4B8 +/* 8007E494 0007B3F4 7F C3 F3 78 */ mr r3, r30 +/* 8007E498 0007B3F8 7F E9 FB 78 */ mr r9, r31 +/* 8007E49C 0007B3FC 38 80 00 13 */ li r4, 0x13 +/* 8007E4A0 0007B400 38 A0 00 02 */ li r5, 2 +/* 8007E4A4 0007B404 38 C0 00 2A */ li r6, 0x2a +/* 8007E4A8 0007B408 38 E0 00 29 */ li r7, 0x29 +/* 8007E4AC 0007B40C 39 00 00 27 */ li r8, 0x27 +/* 8007E4B0 0007B410 4B FD 5B 41 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8007E4B4 0007B414 48 00 00 20 */ b lbl_8007E4D4 +lbl_8007E4B8: +/* 8007E4B8 0007B418 7F C3 F3 78 */ mr r3, r30 +/* 8007E4BC 0007B41C 7F E8 FB 78 */ mr r8, r31 +/* 8007E4C0 0007B420 38 80 00 13 */ li r4, 0x13 +/* 8007E4C4 0007B424 38 A0 00 02 */ li r5, 2 +/* 8007E4C8 0007B428 38 C0 00 2A */ li r6, 0x2a +/* 8007E4CC 0007B42C 38 E0 00 29 */ li r7, 0x29 +/* 8007E4D0 0007B430 4B FD 5C 31 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_8007E4D4: +/* 8007E4D4 0007B434 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8007E4D8 0007B438 48 09 77 0D */ bl IsAnimating__10CModelDataCFv +/* 8007E4DC 0007B43C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007E4E0 0007B440 41 82 00 30 */ beq lbl_8007E510 +/* 8007E4E4 0007B444 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8007E4E8 0007B448 80 9E 02 60 */ lwz r4, 0x260(r30) +/* 8007E4EC 0007B44C 48 09 70 41 */ bl GetAnimationDuration__10CModelDataCFi +/* 8007E4F0 0007B450 C0 1E 02 58 */ lfs f0, 0x258(r30) +/* 8007E4F4 0007B454 7F C4 F3 78 */ mr r4, r30 +/* 8007E4F8 0007B458 7F E5 FB 78 */ mr r5, r31 +/* 8007E4FC 0007B45C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8007E500 0007B460 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8007E504 0007B464 38 C0 00 01 */ li r6, 1 +/* 8007E508 0007B468 EC 20 07 F2 */ fmuls f1, f0, f31 +/* 8007E50C 0007B46C 4B FD 6D 91 */ bl UpdateAnimation__6CActorFfR13CStateManagerb +lbl_8007E510: +/* 8007E510 0007B470 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8007E514 0007B474 88 1E 00 E7 */ lbz r0, 0xe7(r30) +/* 8007E518 0007B478 80 63 00 00 */ lwz r3, 0(r3) +/* 8007E51C 0007B47C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8007E520 0007B480 20 63 00 02 */ subfic r3, r3, 2 +/* 8007E524 0007B484 7C 63 00 34 */ cntlzw r3, r3 +/* 8007E528 0007B488 50 60 DF FE */ rlwimi r0, r3, 0x1b, 0x1f, 0x1f +/* 8007E52C 0007B48C 98 1E 00 E7 */ stb r0, 0xe7(r30) +lbl_8007E530: +/* 8007E530 0007B490 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8007E534 0007B494 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8007E538 0007B498 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8007E53C 0007B49C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8007E540 0007B4A0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8007E544 0007B4A4 7C 08 03 A6 */ mtlr r0 +/* 8007E548 0007B4A8 38 21 00 50 */ addi r1, r1, 0x50 +/* 8007E54C 0007B4AC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CScriptDoorF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CScriptDoorF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8007E550 0007B4B0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8007E554 0007B4B4 7C 08 02 A6 */ mflr r0 +/* 8007E558 0007B4B8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8007E55C 0007B4BC 38 04 FF FD */ addi r0, r4, -3 +/* 8007E560 0007B4C0 28 00 00 20 */ cmplwi r0, 0x20 +/* 8007E564 0007B4C4 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8007E568 0007B4C8 7C DF 33 78 */ mr r31, r6 +/* 8007E56C 0007B4CC 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8007E570 0007B4D0 7C BE 2B 78 */ mr r30, r5 +/* 8007E574 0007B4D4 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8007E578 0007B4D8 7C 7D 1B 78 */ mr r29, r3 +/* 8007E57C 0007B4DC 41 81 04 20 */ bgt lbl_8007E99C +/* 8007E580 0007B4E0 3C 60 80 3E */ lis r3, lbl_803DAAFC@ha +/* 8007E584 0007B4E4 54 00 10 3A */ slwi r0, r0, 2 +/* 8007E588 0007B4E8 38 63 AA FC */ addi r3, r3, lbl_803DAAFC@l +/* 8007E58C 0007B4EC 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8007E590 0007B4F0 7C 09 03 A6 */ mtctr r0 +/* 8007E594 0007B4F4 4E 80 04 20 */ bctr +/* 8007E598 0007B4F8 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 8007E59C 0007B4FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8007E5A0 0007B500 41 82 04 14 */ beq lbl_8007E9B4 +/* 8007E5A4 0007B504 A0 7D 02 7C */ lhz r3, 0x27c(r29) +/* 8007E5A8 0007B508 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8007E5AC 0007B50C 7C 03 28 40 */ cmplw r3, r5 +/* 8007E5B0 0007B510 41 82 00 10 */ beq lbl_8007E5C0 +/* 8007E5B4 0007B514 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8007E5B8 0007B518 7C 03 00 40 */ cmplw r3, r0 +/* 8007E5BC 0007B51C 40 82 03 F8 */ bne lbl_8007E9B4 +lbl_8007E5C0: +/* 8007E5C0 0007B520 88 9D 02 A8 */ lbz r4, 0x2a8(r29) +/* 8007E5C4 0007B524 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8007E5C8 0007B528 41 82 00 B8 */ beq lbl_8007E680 +/* 8007E5CC 0007B52C A0 1D 02 7E */ lhz r0, 0x27e(r29) +/* 8007E5D0 0007B530 7C 00 28 40 */ cmplw r0, r5 +/* 8007E5D4 0007B534 41 82 00 70 */ beq lbl_8007E644 +/* 8007E5D8 0007B538 88 0D A2 84 */ lbz r0, lbl_805A8E44@sda21(r13) +/* 8007E5DC 0007B53C 7C 00 07 75 */ extsb. r0, r0 +/* 8007E5E0 0007B540 40 82 00 14 */ bne lbl_8007E5F4 +/* 8007E5E4 0007B544 38 60 00 00 */ li r3, 0 +/* 8007E5E8 0007B548 38 00 00 01 */ li r0, 1 +/* 8007E5EC 0007B54C 90 6D A2 80 */ stw r3, lbl_805A8E40@sda21(r13) +/* 8007E5F0 0007B550 98 0D A2 84 */ stb r0, lbl_805A8E44@sda21(r13) +lbl_8007E5F4: +/* 8007E5F4 0007B554 A0 1D 02 7E */ lhz r0, 0x27e(r29) +/* 8007E5F8 0007B558 7F E3 FB 78 */ mr r3, r31 +/* 8007E5FC 0007B55C 38 81 00 54 */ addi r4, r1, 0x54 +/* 8007E600 0007B560 B0 01 00 54 */ sth r0, 0x54(r1) +/* 8007E604 0007B564 4B FC DF 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8007E608 0007B568 7C 64 1B 79 */ or. r4, r3, r3 +/* 8007E60C 0007B56C 41 82 00 38 */ beq lbl_8007E644 +/* 8007E610 0007B570 80 CD A2 80 */ lwz r6, lbl_805A8E40@sda21(r13) +/* 8007E614 0007B574 7F E3 FB 78 */ mr r3, r31 +/* 8007E618 0007B578 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8007E61C 0007B57C 38 06 00 01 */ addi r0, r6, 1 +/* 8007E620 0007B580 38 C0 00 03 */ li r6, 3 +/* 8007E624 0007B584 90 0D A2 80 */ stw r0, lbl_805A8E40@sda21(r13) +/* 8007E628 0007B588 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8007E62C 0007B58C B0 01 00 4C */ sth r0, 0x4c(r1) +/* 8007E630 0007B590 B0 01 00 50 */ sth r0, 0x50(r1) +/* 8007E634 0007B594 4B FC 58 9D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8007E638 0007B598 80 6D A2 80 */ lwz r3, lbl_805A8E40@sda21(r13) +/* 8007E63C 0007B59C 38 03 FF FF */ addi r0, r3, -1 +/* 8007E640 0007B5A0 90 0D A2 80 */ stw r0, lbl_805A8E40@sda21(r13) +lbl_8007E644: +/* 8007E644 0007B5A4 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8007E648 0007B5A8 38 60 00 00 */ li r3, 0 +/* 8007E64C 0007B5AC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8007E650 0007B5B0 7F A3 EB 78 */ mr r3, r29 +/* 8007E654 0007B5B4 98 1D 02 A8 */ stb r0, 0x2a8(r29) +/* 8007E658 0007B5B8 38 80 00 01 */ li r4, 1 +/* 8007E65C 0007B5BC 48 00 03 75 */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType +/* 8007E660 0007B5C0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8007E664 0007B5C4 38 81 00 48 */ addi r4, r1, 0x48 +/* 8007E668 0007B5C8 B0 01 00 48 */ sth r0, 0x48(r1) +/* 8007E66C 0007B5CC 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8007E670 0007B5D0 B0 01 00 44 */ sth r0, 0x44(r1) +/* 8007E674 0007B5D4 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8007E678 0007B5D8 48 00 4A A1 */ bl DoorClosing__11CBallCameraF9TUniqueId +/* 8007E67C 0007B5DC 48 00 03 38 */ b lbl_8007E9B4 +lbl_8007E680: +/* 8007E680 0007B5E0 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f +/* 8007E684 0007B5E4 41 82 03 30 */ beq lbl_8007E9B4 +/* 8007E688 0007B5E8 38 00 00 00 */ li r0, 0 +/* 8007E68C 0007B5EC 7F A3 EB 78 */ mr r3, r29 +/* 8007E690 0007B5F0 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b +/* 8007E694 0007B5F4 7F E5 FB 78 */ mr r5, r31 +/* 8007E698 0007B5F8 98 9D 02 A8 */ stb r4, 0x2a8(r29) +/* 8007E69C 0007B5FC 38 80 00 02 */ li r4, 2 +/* 8007E6A0 0007B600 38 C0 FF FF */ li r6, -1 +/* 8007E6A4 0007B604 4B FD 2A 1D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8007E6A8 0007B608 48 00 03 0C */ b lbl_8007E9B4 +/* 8007E6AC 0007B60C A0 7D 02 7C */ lhz r3, 0x27c(r29) +/* 8007E6B0 0007B610 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007E6B4 0007B614 7C 03 00 40 */ cmplw r3, r0 +/* 8007E6B8 0007B618 41 82 00 80 */ beq lbl_8007E738 +/* 8007E6BC 0007B61C A0 1D 02 7C */ lhz r0, 0x27c(r29) +/* 8007E6C0 0007B620 7F E3 FB 78 */ mr r3, r31 +/* 8007E6C4 0007B624 38 81 00 40 */ addi r4, r1, 0x40 +/* 8007E6C8 0007B628 B0 01 00 40 */ sth r0, 0x40(r1) +/* 8007E6CC 0007B62C 4B FC DE A9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8007E6D0 0007B630 7C 64 1B 78 */ mr r4, r3 +/* 8007E6D4 0007B634 38 61 00 7C */ addi r3, r1, 0x7c +/* 8007E6D8 0007B638 48 02 BA 19 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 8007E6DC 0007B63C 83 C3 00 04 */ lwz r30, 4(r3) +/* 8007E6E0 0007B640 28 1E 00 00 */ cmplwi r30, 0 +/* 8007E6E4 0007B644 41 82 02 D0 */ beq lbl_8007E9B4 +/* 8007E6E8 0007B648 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E6EC 0007B64C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007E6F0 0007B650 41 82 02 C4 */ beq lbl_8007E9B4 +/* 8007E6F4 0007B654 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8007E6F8 0007B658 38 60 00 01 */ li r3, 1 +/* 8007E6FC 0007B65C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8007E700 0007B660 7F E3 FB 78 */ mr r3, r31 +/* 8007E704 0007B664 98 1D 02 A8 */ stb r0, 0x2a8(r29) +/* 8007E708 0007B668 7F C4 F3 78 */ mr r4, r30 +/* 8007E70C 0007B66C 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8007E710 0007B670 38 C0 00 03 */ li r6, 3 +/* 8007E714 0007B674 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8007E718 0007B678 B0 01 00 38 */ sth r0, 0x38(r1) +/* 8007E71C 0007B67C B0 01 00 3C */ sth r0, 0x3c(r1) +/* 8007E720 0007B680 4B FC 57 B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8007E724 0007B684 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E728 0007B688 38 60 00 01 */ li r3, 1 +/* 8007E72C 0007B68C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8007E730 0007B690 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007E734 0007B694 48 00 02 80 */ b lbl_8007E9B4 +lbl_8007E738: +/* 8007E738 0007B698 88 9D 02 A8 */ lbz r4, 0x2a8(r29) +/* 8007E73C 0007B69C 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8007E740 0007B6A0 41 82 02 74 */ beq lbl_8007E9B4 +/* 8007E744 0007B6A4 38 00 00 01 */ li r0, 1 +/* 8007E748 0007B6A8 7F E3 FB 78 */ mr r3, r31 +/* 8007E74C 0007B6AC 50 04 0F BC */ rlwimi r4, r0, 1, 0x1e, 0x1e +/* 8007E750 0007B6B0 98 9D 02 A8 */ stb r4, 0x2a8(r29) +/* 8007E754 0007B6B4 38 81 00 34 */ addi r4, r1, 0x34 +/* 8007E758 0007B6B8 A0 1D 02 7E */ lhz r0, 0x27e(r29) +/* 8007E75C 0007B6BC B0 01 00 34 */ sth r0, 0x34(r1) +/* 8007E760 0007B6C0 4B FC DE 15 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8007E764 0007B6C4 7C 64 1B 78 */ mr r4, r3 +/* 8007E768 0007B6C8 38 61 00 74 */ addi r3, r1, 0x74 +/* 8007E76C 0007B6CC 48 02 B9 85 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 8007E770 0007B6D0 83 C3 00 04 */ lwz r30, 4(r3) +/* 8007E774 0007B6D4 28 1E 00 00 */ cmplwi r30, 0 +/* 8007E778 0007B6D8 41 82 00 34 */ beq lbl_8007E7AC +/* 8007E77C 0007B6DC A0 1D 00 08 */ lhz r0, 8(r29) +/* 8007E780 0007B6E0 7F E3 FB 78 */ mr r3, r31 +/* 8007E784 0007B6E4 7F C4 F3 78 */ mr r4, r30 +/* 8007E788 0007B6E8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8007E78C 0007B6EC B0 01 00 2C */ sth r0, 0x2c(r1) +/* 8007E790 0007B6F0 38 C0 00 03 */ li r6, 3 +/* 8007E794 0007B6F4 B0 01 00 30 */ sth r0, 0x30(r1) +/* 8007E798 0007B6F8 4B FC 57 39 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8007E79C 0007B6FC 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007E7A0 0007B700 38 60 00 01 */ li r3, 1 +/* 8007E7A4 0007B704 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8007E7A8 0007B708 98 1E 02 A8 */ stb r0, 0x2a8(r30) +lbl_8007E7AC: +/* 8007E7AC 0007B70C 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8007E7B0 0007B710 38 60 00 00 */ li r3, 0 +/* 8007E7B4 0007B714 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8007E7B8 0007B718 7F A3 EB 78 */ mr r3, r29 +/* 8007E7BC 0007B71C 98 1D 02 A8 */ stb r0, 0x2a8(r29) +/* 8007E7C0 0007B720 38 80 00 01 */ li r4, 1 +/* 8007E7C4 0007B724 48 00 02 0D */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType +/* 8007E7C8 0007B728 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8007E7CC 0007B72C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8007E7D0 0007B730 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8007E7D4 0007B734 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8007E7D8 0007B738 B0 01 00 24 */ sth r0, 0x24(r1) +/* 8007E7DC 0007B73C 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8007E7E0 0007B740 48 00 49 39 */ bl DoorClosing__11CBallCameraF9TUniqueId +/* 8007E7E4 0007B744 48 00 01 D0 */ b lbl_8007E9B4 +/* 8007E7E8 0007B748 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 8007E7EC 0007B74C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8007E7F0 0007B750 41 82 01 C4 */ beq lbl_8007E9B4 +/* 8007E7F4 0007B754 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8007E7F8 0007B758 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8007E7FC 0007B75C 40 82 01 B8 */ bne lbl_8007E9B4 +/* 8007E800 0007B760 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8007E804 0007B764 7F E3 FB 78 */ mr r3, r31 +/* 8007E808 0007B768 38 81 00 20 */ addi r4, r1, 0x20 +/* 8007E80C 0007B76C B0 01 00 20 */ sth r0, 0x20(r1) +/* 8007E810 0007B770 4B FC DD 95 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8007E814 0007B774 7C 64 1B 78 */ mr r4, r3 +/* 8007E818 0007B778 38 61 00 6C */ addi r3, r1, 0x6c +/* 8007E81C 0007B77C 48 02 B8 D5 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 8007E820 0007B780 80 03 00 04 */ lwz r0, 4(r3) +/* 8007E824 0007B784 28 00 00 00 */ cmplwi r0, 0 +/* 8007E828 0007B788 41 82 00 0C */ beq lbl_8007E834 +/* 8007E82C 0007B78C 38 60 00 02 */ li r3, 2 +/* 8007E830 0007B790 48 00 00 10 */ b lbl_8007E840 +lbl_8007E834: +/* 8007E834 0007B794 7F A3 EB 78 */ mr r3, r29 +/* 8007E838 0007B798 7F E4 FB 78 */ mr r4, r31 +/* 8007E83C 0007B79C 48 00 05 11 */ bl GetDoorOpenCondition__11CScriptDoorFR13CStateManager +lbl_8007E840: +/* 8007E840 0007B7A0 2C 03 00 01 */ cmpwi r3, 1 +/* 8007E844 0007B7A4 41 82 00 18 */ beq lbl_8007E85C +/* 8007E848 0007B7A8 40 80 00 08 */ bge lbl_8007E850 +/* 8007E84C 0007B7AC 48 00 00 48 */ b lbl_8007E894 +lbl_8007E850: +/* 8007E850 0007B7B0 2C 03 00 03 */ cmpwi r3, 3 +/* 8007E854 0007B7B4 40 80 00 40 */ bge lbl_8007E894 +/* 8007E858 0007B7B8 48 00 00 20 */ b lbl_8007E878 +lbl_8007E85C: +/* 8007E85C 0007B7BC 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8007E860 0007B7C0 38 60 00 01 */ li r3, 1 +/* 8007E864 0007B7C4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8007E868 0007B7C8 98 1D 02 A8 */ stb r0, 0x2a8(r29) +/* 8007E86C 0007B7CC A0 1E 00 00 */ lhz r0, 0(r30) +/* 8007E870 0007B7D0 B0 1D 02 80 */ sth r0, 0x280(r29) +/* 8007E874 0007B7D4 48 00 01 40 */ b lbl_8007E9B4 +lbl_8007E878: +/* 8007E878 0007B7D8 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8007E87C 0007B7DC 7F A3 EB 78 */ mr r3, r29 +/* 8007E880 0007B7E0 7F E5 FB 78 */ mr r5, r31 +/* 8007E884 0007B7E4 38 81 00 1C */ addi r4, r1, 0x1c +/* 8007E888 0007B7E8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8007E88C 0007B7EC 48 00 01 D9 */ bl OpenDoor__11CScriptDoorF9TUniqueIdR13CStateManager +/* 8007E890 0007B7F0 48 00 01 24 */ b lbl_8007E9B4 +lbl_8007E894: +/* 8007E894 0007B7F4 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8007E898 0007B7F8 38 60 00 00 */ li r3, 0 +/* 8007E89C 0007B7FC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8007E8A0 0007B800 38 60 00 01 */ li r3, 1 +/* 8007E8A4 0007B804 98 1D 02 A8 */ stb r0, 0x2a8(r29) +/* 8007E8A8 0007B808 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8007E8AC 0007B80C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8007E8B0 0007B810 98 1D 02 A8 */ stb r0, 0x2a8(r29) +/* 8007E8B4 0007B814 48 00 01 00 */ b lbl_8007E9B4 +/* 8007E8B8 0007B818 83 DD 00 2C */ lwz r30, 0x2c(r29) +/* 8007E8BC 0007B81C 48 00 00 64 */ b lbl_8007E920 +lbl_8007E8C0: +/* 8007E8C0 0007B820 80 1E 00 04 */ lwz r0, 4(r30) +/* 8007E8C4 0007B824 2C 00 00 07 */ cmpwi r0, 7 +/* 8007E8C8 0007B828 40 82 00 54 */ bne lbl_8007E91C +/* 8007E8CC 0007B82C 80 1E 00 08 */ lwz r0, 8(r30) +/* 8007E8D0 0007B830 7F E4 FB 78 */ mr r4, r31 +/* 8007E8D4 0007B834 38 61 00 14 */ addi r3, r1, 0x14 +/* 8007E8D8 0007B838 38 A1 00 60 */ addi r5, r1, 0x60 +/* 8007E8DC 0007B83C 90 01 00 60 */ stw r0, 0x60(r1) +/* 8007E8E0 0007B840 4B FC 96 3D */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8007E8E4 0007B844 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8007E8E8 0007B848 7F E3 FB 78 */ mr r3, r31 +/* 8007E8EC 0007B84C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8007E8F0 0007B850 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8007E8F4 0007B854 4B FC DC B1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8007E8F8 0007B858 7C 64 1B 78 */ mr r4, r3 +/* 8007E8FC 0007B85C 38 61 00 64 */ addi r3, r1, 0x64 +/* 8007E900 0007B860 48 02 BB 05 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" +/* 8007E904 0007B864 80 63 00 04 */ lwz r3, 4(r3) +/* 8007E908 0007B868 28 03 00 00 */ cmplwi r3, 0 +/* 8007E90C 0007B86C 41 82 00 10 */ beq lbl_8007E91C +/* 8007E910 0007B870 A0 03 00 08 */ lhz r0, 8(r3) +/* 8007E914 0007B874 B0 1D 02 82 */ sth r0, 0x282(r29) +/* 8007E918 0007B878 48 00 00 9C */ b lbl_8007E9B4 +lbl_8007E91C: +/* 8007E91C 0007B87C 3B DE 00 0C */ addi r30, r30, 0xc +lbl_8007E920: +/* 8007E920 0007B880 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8007E924 0007B884 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 8007E928 0007B888 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8007E92C 0007B88C 7C 03 02 14 */ add r0, r3, r0 +/* 8007E930 0007B890 7C 1E 00 40 */ cmplw r30, r0 +/* 8007E934 0007B894 40 82 FF 8C */ bne lbl_8007E8C0 +/* 8007E938 0007B898 48 00 00 7C */ b lbl_8007E9B4 +/* 8007E93C 0007B89C 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8007E940 0007B8A0 38 60 00 01 */ li r3, 1 +/* 8007E944 0007B8A4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8007E948 0007B8A8 7F E4 FB 78 */ mr r4, r31 +/* 8007E94C 0007B8AC 98 1D 02 A8 */ stb r0, 0x2a8(r29) +/* 8007E950 0007B8B0 38 61 00 58 */ addi r3, r1, 0x58 +/* 8007E954 0007B8B4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8007E958 0007B8B8 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8007E95C 0007B8BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8007E960 0007B8C0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8007E964 0007B8C4 4B FC 95 5D */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId +/* 8007E968 0007B8C8 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8007E96C 0007B8CC 38 81 00 5C */ addi r4, r1, 0x5c +/* 8007E970 0007B8D0 38 A0 00 01 */ li r5, 1 +/* 8007E974 0007B8D4 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8007E978 0007B8D8 80 7F 08 C0 */ lwz r3, 0x8c0(r31) +/* 8007E97C 0007B8DC 80 63 00 00 */ lwz r3, 0(r3) +/* 8007E980 0007B8E0 48 0E 9E 31 */ bl SetDoorVisited__13CMapWorldInfoF9TEditorIdb +/* 8007E984 0007B8E4 48 00 00 30 */ b lbl_8007E9B4 +/* 8007E988 0007B8E8 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8007E98C 0007B8EC 38 60 00 00 */ li r3, 0 +/* 8007E990 0007B8F0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8007E994 0007B8F4 98 1D 02 A8 */ stb r0, 0x2a8(r29) +/* 8007E998 0007B8F8 48 00 00 1C */ b lbl_8007E9B4 +lbl_8007E99C: +/* 8007E99C 0007B8FC A0 1E 00 00 */ lhz r0, 0(r30) +/* 8007E9A0 0007B900 7F A3 EB 78 */ mr r3, r29 +/* 8007E9A4 0007B904 7F E6 FB 78 */ mr r6, r31 +/* 8007E9A8 0007B908 38 A1 00 08 */ addi r5, r1, 8 +/* 8007E9AC 0007B90C B0 01 00 08 */ sth r0, 8(r1) +/* 8007E9B0 0007B910 4B FD 4C 65 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_8007E9B4: +/* 8007E9B4 0007B914 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8007E9B8 0007B918 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8007E9BC 0007B91C 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8007E9C0 0007B920 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8007E9C4 0007B924 7C 08 03 A6 */ mtlr r0 +/* 8007E9C8 0007B928 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8007E9CC 0007B92C 4E 80 00 20 */ blr + +.global SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType +SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType: +/* 8007E9D0 0007B930 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007E9D4 0007B934 7C 08 02 A6 */ mflr r0 +/* 8007E9D8 0007B938 38 A0 00 00 */ li r5, 0 +/* 8007E9DC 0007B93C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007E9E0 0007B940 90 83 02 60 */ stw r4, 0x260(r3) +/* 8007E9E4 0007B944 80 C3 00 64 */ lwz r6, 0x64(r3) +/* 8007E9E8 0007B948 28 06 00 00 */ cmplwi r6, 0 +/* 8007E9EC 0007B94C 41 82 00 14 */ beq lbl_8007EA00 +/* 8007E9F0 0007B950 80 06 00 10 */ lwz r0, 0x10(r6) +/* 8007E9F4 0007B954 28 00 00 00 */ cmplwi r0, 0 +/* 8007E9F8 0007B958 41 82 00 08 */ beq lbl_8007EA00 +/* 8007E9FC 0007B95C 38 A0 00 01 */ li r5, 1 +lbl_8007EA00: +/* 8007EA00 0007B960 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8007EA04 0007B964 41 82 00 50 */ beq lbl_8007EA54 +/* 8007EA08 0007B968 C0 02 89 70 */ lfs f0, lbl_805AA690@sda21(r2) +/* 8007EA0C 0007B96C 38 00 00 00 */ li r0, 0 +/* 8007EA10 0007B970 38 E0 FF FF */ li r7, -1 +/* 8007EA14 0007B974 38 C0 00 01 */ li r6, 1 +/* 8007EA18 0007B978 90 81 00 08 */ stw r4, 8(r1) +/* 8007EA1C 0007B97C 38 81 00 08 */ addi r4, r1, 8 +/* 8007EA20 0007B980 38 A0 00 00 */ li r5, 0 +/* 8007EA24 0007B984 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8007EA28 0007B988 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8007EA2C 0007B98C 98 C1 00 14 */ stb r6, 0x14(r1) +/* 8007EA30 0007B990 90 01 00 18 */ stw r0, 0x18(r1) +/* 8007EA34 0007B994 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8007EA38 0007B998 98 01 00 20 */ stb r0, 0x20(r1) +/* 8007EA3C 0007B99C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007EA40 0007B9A0 90 01 00 28 */ stw r0, 0x28(r1) +/* 8007EA44 0007B9A4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8007EA48 0007B9A8 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8007EA4C 0007B9AC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8007EA50 0007B9B0 4B FA E3 2D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +lbl_8007EA54: +/* 8007EA54 0007B9B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007EA58 0007B9B8 7C 08 03 A6 */ mtlr r0 +/* 8007EA5C 0007B9BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007EA60 0007B9C0 4E 80 00 20 */ blr + +.global OpenDoor__11CScriptDoorF9TUniqueIdR13CStateManager +OpenDoor__11CScriptDoorF9TUniqueIdR13CStateManager: +/* 8007EA64 0007B9C4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8007EA68 0007B9C8 7C 08 02 A6 */ mflr r0 +/* 8007EA6C 0007B9CC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8007EA70 0007B9D0 BE E1 00 7C */ stmw r23, 0x7c(r1) +/* 8007EA74 0007B9D4 7C BE 2B 78 */ mr r30, r5 +/* 8007EA78 0007B9D8 7C 9D 23 78 */ mr r29, r4 +/* 8007EA7C 0007B9DC 7C 7C 1B 78 */ mr r28, r3 +/* 8007EA80 0007B9E0 7F C4 F3 78 */ mr r4, r30 +/* 8007EA84 0007B9E4 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8007EA88 0007B9E8 A0 03 00 08 */ lhz r0, 8(r3) +/* 8007EA8C 0007B9EC 38 61 00 3C */ addi r3, r1, 0x3c +/* 8007EA90 0007B9F0 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8007EA94 0007B9F4 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 8007EA98 0007B9F8 4B FC 94 29 */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId +/* 8007EA9C 0007B9FC 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8007EAA0 0007BA00 38 81 00 40 */ addi r4, r1, 0x40 +/* 8007EAA4 0007BA04 38 A0 00 01 */ li r5, 1 +/* 8007EAA8 0007BA08 90 01 00 40 */ stw r0, 0x40(r1) +/* 8007EAAC 0007BA0C 80 7E 08 C0 */ lwz r3, 0x8c0(r30) +/* 8007EAB0 0007BA10 80 63 00 00 */ lwz r3, 0(r3) +/* 8007EAB4 0007BA14 48 0E 9C FD */ bl SetDoorVisited__13CMapWorldInfoF9TEditorIdb +/* 8007EAB8 0007BA18 88 1C 02 A8 */ lbz r0, 0x2a8(r28) +/* 8007EABC 0007BA1C 38 C0 00 01 */ li r6, 1 +/* 8007EAC0 0007BA20 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8007EAC4 0007BA24 38 A0 00 00 */ li r5, 0 +/* 8007EAC8 0007BA28 98 1C 02 A8 */ stb r0, 0x2a8(r28) +/* 8007EACC 0007BA2C 7F C3 F3 78 */ mr r3, r30 +/* 8007EAD0 0007BA30 38 81 00 24 */ addi r4, r1, 0x24 +/* 8007EAD4 0007BA34 88 1C 02 A8 */ lbz r0, 0x2a8(r28) +/* 8007EAD8 0007BA38 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8007EADC 0007BA3C 98 1C 02 A8 */ stb r0, 0x2a8(r28) +/* 8007EAE0 0007BA40 88 1C 02 A8 */ lbz r0, 0x2a8(r28) +/* 8007EAE4 0007BA44 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8007EAE8 0007BA48 98 1C 02 A8 */ stb r0, 0x2a8(r28) +/* 8007EAEC 0007BA4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007EAF0 0007BA50 B0 1C 02 7C */ sth r0, 0x27c(r28) +/* 8007EAF4 0007BA54 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007EAF8 0007BA58 B0 1C 02 7E */ sth r0, 0x27e(r28) +/* 8007EAFC 0007BA5C A0 1D 00 00 */ lhz r0, 0(r29) +/* 8007EB00 0007BA60 B0 01 00 24 */ sth r0, 0x24(r1) +/* 8007EB04 0007BA64 4B FC DA A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8007EB08 0007BA68 7C 64 1B 78 */ mr r4, r3 +/* 8007EB0C 0007BA6C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8007EB10 0007BA70 48 02 B5 E1 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 8007EB14 0007BA74 80 63 00 04 */ lwz r3, 4(r3) +/* 8007EB18 0007BA78 28 03 00 00 */ cmplwi r3, 0 +/* 8007EB1C 0007BA7C 41 82 00 0C */ beq lbl_8007EB28 +/* 8007EB20 0007BA80 A0 03 00 08 */ lhz r0, 8(r3) +/* 8007EB24 0007BA84 B0 1C 02 7C */ sth r0, 0x27c(r28) +lbl_8007EB28: +/* 8007EB28 0007BA88 7F 83 E3 78 */ mr r3, r28 +/* 8007EB2C 0007BA8C 38 80 00 00 */ li r4, 0 +/* 8007EB30 0007BA90 4B FF FE A1 */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType +/* 8007EB34 0007BA94 A0 7C 02 7C */ lhz r3, 0x27c(r28) +/* 8007EB38 0007BA98 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007EB3C 0007BA9C 7C 03 00 40 */ cmplw r3, r0 +/* 8007EB40 0007BAA0 41 82 00 1C */ beq lbl_8007EB5C +/* 8007EB44 0007BAA4 7F 83 E3 78 */ mr r3, r28 +/* 8007EB48 0007BAA8 7F C5 F3 78 */ mr r5, r30 +/* 8007EB4C 0007BAAC 38 80 00 07 */ li r4, 7 +/* 8007EB50 0007BAB0 38 C0 FF FF */ li r6, -1 +/* 8007EB54 0007BAB4 4B FD 25 6D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8007EB58 0007BAB8 48 00 00 18 */ b lbl_8007EB70 +lbl_8007EB5C: +/* 8007EB5C 0007BABC 7F 83 E3 78 */ mr r3, r28 +/* 8007EB60 0007BAC0 7F C5 F3 78 */ mr r5, r30 +/* 8007EB64 0007BAC4 38 80 00 08 */ li r4, 8 +/* 8007EB68 0007BAC8 38 C0 FF FF */ li r6, -1 +/* 8007EB6C 0007BACC 4B FD 25 55 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8007EB70: +/* 8007EB70 0007BAD0 A0 1C 02 82 */ lhz r0, 0x282(r28) +/* 8007EB74 0007BAD4 7F C3 F3 78 */ mr r3, r30 +/* 8007EB78 0007BAD8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8007EB7C 0007BADC B0 01 00 20 */ sth r0, 0x20(r1) +/* 8007EB80 0007BAE0 4B FC DA 25 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8007EB84 0007BAE4 7C 64 1B 78 */ mr r4, r3 +/* 8007EB88 0007BAE8 38 61 00 54 */ addi r3, r1, 0x54 +/* 8007EB8C 0007BAEC 48 02 B8 79 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" +/* 8007EB90 0007BAF0 83 E3 00 04 */ lwz r31, 4(r3) +/* 8007EB94 0007BAF4 28 1F 00 00 */ cmplwi r31, 0 +/* 8007EB98 0007BAF8 41 82 01 04 */ beq lbl_8007EC9C +/* 8007EB9C 0007BAFC 83 7E 08 48 */ lwz r27, 0x848(r30) +/* 8007EBA0 0007BB00 AB 3B 20 08 */ lha r25, 0x2008(r27) +/* 8007EBA4 0007BB04 48 00 00 F0 */ b lbl_8007EC94 +lbl_8007EBA8: +/* 8007EBA8 0007BB08 7F 63 DB 78 */ mr r3, r27 +/* 8007EBAC 0007BB0C 7F 24 CB 78 */ mr r4, r25 +/* 8007EBB0 0007BB10 4B F9 11 65 */ bl __vc__11CObjectListFi +/* 8007EBB4 0007BB14 7C 64 1B 78 */ mr r4, r3 +/* 8007EBB8 0007BB18 38 61 00 64 */ addi r3, r1, 0x64 +/* 8007EBBC 0007BB1C 48 02 B5 35 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 8007EBC0 0007BB20 83 03 00 04 */ lwz r24, 4(r3) +/* 8007EBC4 0007BB24 28 18 00 00 */ cmplwi r24, 0 +/* 8007EBC8 0007BB28 41 82 00 B0 */ beq lbl_8007EC78 +/* 8007EBCC 0007BB2C A0 78 00 08 */ lhz r3, 8(r24) +/* 8007EBD0 0007BB30 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8007EBD4 0007BB34 7C 03 00 40 */ cmplw r3, r0 +/* 8007EBD8 0007BB38 41 82 00 A0 */ beq lbl_8007EC78 +/* 8007EBDC 0007BB3C A0 18 02 82 */ lhz r0, 0x282(r24) +/* 8007EBE0 0007BB40 7F C3 F3 78 */ mr r3, r30 +/* 8007EBE4 0007BB44 38 81 00 1C */ addi r4, r1, 0x1c +/* 8007EBE8 0007BB48 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8007EBEC 0007BB4C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8007EBF0 0007BB50 4B FC D9 B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8007EBF4 0007BB54 7C 64 1B 78 */ mr r4, r3 +/* 8007EBF8 0007BB58 38 61 00 4C */ addi r3, r1, 0x4c +/* 8007EBFC 0007BB5C 48 02 B8 09 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" +/* 8007EC00 0007BB60 82 E3 00 04 */ lwz r23, 4(r3) +/* 8007EC04 0007BB64 28 17 00 00 */ cmplwi r23, 0 +/* 8007EC08 0007BB68 41 82 00 70 */ beq lbl_8007EC78 +/* 8007EC0C 0007BB6C 7F E4 FB 78 */ mr r4, r31 +/* 8007EC10 0007BB70 7F C5 F3 78 */ mr r5, r30 +/* 8007EC14 0007BB74 38 61 00 38 */ addi r3, r1, 0x38 +/* 8007EC18 0007BB78 48 04 4A E9 */ bl GetCurrentConnectedAreaId__11CScriptDockCFRC13CStateManager +/* 8007EC1C 0007BB7C 80 77 02 60 */ lwz r3, 0x260(r23) +/* 8007EC20 0007BB80 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8007EC24 0007BB84 7C 03 00 00 */ cmpw r3, r0 +/* 8007EC28 0007BB88 40 82 00 50 */ bne lbl_8007EC78 +/* 8007EC2C 0007BB8C 83 5F 02 60 */ lwz r26, 0x260(r31) +/* 8007EC30 0007BB90 7E E4 BB 78 */ mr r4, r23 +/* 8007EC34 0007BB94 7F C5 F3 78 */ mr r5, r30 +/* 8007EC38 0007BB98 38 61 00 34 */ addi r3, r1, 0x34 +/* 8007EC3C 0007BB9C 48 04 4A C5 */ bl GetCurrentConnectedAreaId__11CScriptDockCFRC13CStateManager +/* 8007EC40 0007BBA0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007EC44 0007BBA4 7C 00 D0 00 */ cmpw r0, r26 +/* 8007EC48 0007BBA8 40 82 00 30 */ bne lbl_8007EC78 +/* 8007EC4C 0007BBAC A0 18 00 08 */ lhz r0, 8(r24) +/* 8007EC50 0007BBB0 7F C3 F3 78 */ mr r3, r30 +/* 8007EC54 0007BBB4 7F 04 C3 78 */ mr r4, r24 +/* 8007EC58 0007BBB8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8007EC5C 0007BBBC B0 1C 02 7E */ sth r0, 0x27e(r28) +/* 8007EC60 0007BBC0 38 C0 00 09 */ li r6, 9 +/* 8007EC64 0007BBC4 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8007EC68 0007BBC8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8007EC6C 0007BBCC B0 01 00 14 */ sth r0, 0x14(r1) +/* 8007EC70 0007BBD0 4B FC 52 61 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8007EC74 0007BBD4 48 00 00 28 */ b lbl_8007EC9C +lbl_8007EC78: +/* 8007EC78 0007BBD8 2C 19 FF FF */ cmpwi r25, -1 +/* 8007EC7C 0007BBDC 41 82 00 14 */ beq lbl_8007EC90 +/* 8007EC80 0007BBE0 57 23 18 38 */ slwi r3, r25, 3 +/* 8007EC84 0007BBE4 38 03 00 08 */ addi r0, r3, 8 +/* 8007EC88 0007BBE8 7F 3B 02 AE */ lhax r25, r27, r0 +/* 8007EC8C 0007BBEC 48 00 00 08 */ b lbl_8007EC94 +lbl_8007EC90: +/* 8007EC90 0007BBF0 3B 20 FF FF */ li r25, -1 +lbl_8007EC94: +/* 8007EC94 0007BBF4 2C 19 FF FF */ cmpwi r25, -1 +/* 8007EC98 0007BBF8 40 82 FF 10 */ bne lbl_8007EBA8 +lbl_8007EC9C: +/* 8007EC9C 0007BBFC A0 1C 02 7C */ lhz r0, 0x27c(r28) +/* 8007ECA0 0007BC00 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 8007ECA4 0007BC04 7C 00 18 40 */ cmplw r0, r3 +/* 8007ECA8 0007BC08 40 82 00 90 */ bne lbl_8007ED38 +/* 8007ECAC 0007BC0C A0 1C 02 7E */ lhz r0, 0x27e(r28) +/* 8007ECB0 0007BC10 7C 00 18 40 */ cmplw r0, r3 +/* 8007ECB4 0007BC14 40 82 00 84 */ bne lbl_8007ED38 +/* 8007ECB8 0007BC18 83 5C 00 2C */ lwz r26, 0x2c(r28) +/* 8007ECBC 0007BC1C 48 00 00 64 */ b lbl_8007ED20 +lbl_8007ECC0: +/* 8007ECC0 0007BC20 80 1A 00 04 */ lwz r0, 4(r26) +/* 8007ECC4 0007BC24 2C 00 00 09 */ cmpwi r0, 9 +/* 8007ECC8 0007BC28 40 82 00 54 */ bne lbl_8007ED1C +/* 8007ECCC 0007BC2C 80 1A 00 08 */ lwz r0, 8(r26) +/* 8007ECD0 0007BC30 7F C4 F3 78 */ mr r4, r30 +/* 8007ECD4 0007BC34 38 61 00 08 */ addi r3, r1, 8 +/* 8007ECD8 0007BC38 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8007ECDC 0007BC3C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8007ECE0 0007BC40 4B FC 92 3D */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8007ECE4 0007BC44 A0 01 00 08 */ lhz r0, 8(r1) +/* 8007ECE8 0007BC48 7F C3 F3 78 */ mr r3, r30 +/* 8007ECEC 0007BC4C 38 81 00 0C */ addi r4, r1, 0xc +/* 8007ECF0 0007BC50 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8007ECF4 0007BC54 4B FC D8 B1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8007ECF8 0007BC58 7C 64 1B 78 */ mr r4, r3 +/* 8007ECFC 0007BC5C 38 61 00 44 */ addi r3, r1, 0x44 +/* 8007ED00 0007BC60 48 02 B3 F1 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 8007ED04 0007BC64 80 63 00 04 */ lwz r3, 4(r3) +/* 8007ED08 0007BC68 28 03 00 00 */ cmplwi r3, 0 +/* 8007ED0C 0007BC6C 41 82 00 10 */ beq lbl_8007ED1C +/* 8007ED10 0007BC70 A0 03 00 08 */ lhz r0, 8(r3) +/* 8007ED14 0007BC74 B0 1C 02 7E */ sth r0, 0x27e(r28) +/* 8007ED18 0007BC78 48 00 00 20 */ b lbl_8007ED38 +lbl_8007ED1C: +/* 8007ED1C 0007BC7C 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_8007ED20: +/* 8007ED20 0007BC80 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 8007ED24 0007BC84 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 8007ED28 0007BC88 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8007ED2C 0007BC8C 7C 03 02 14 */ add r0, r3, r0 +/* 8007ED30 0007BC90 7C 1A 00 40 */ cmplw r26, r0 +/* 8007ED34 0007BC94 40 82 FF 8C */ bne lbl_8007ECC0 +lbl_8007ED38: +/* 8007ED38 0007BC98 BA E1 00 7C */ lmw r23, 0x7c(r1) +/* 8007ED3C 0007BC9C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8007ED40 0007BCA0 7C 08 03 A6 */ mtlr r0 +/* 8007ED44 0007BCA4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8007ED48 0007BCA8 4E 80 00 20 */ blr + +.global GetDoorOpenCondition__11CScriptDoorFR13CStateManager +GetDoorOpenCondition__11CScriptDoorFR13CStateManager: +/* 8007ED4C 0007BCAC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8007ED50 0007BCB0 7C 08 02 A6 */ mflr r0 +/* 8007ED54 0007BCB4 90 01 00 74 */ stw r0, 0x74(r1) +/* 8007ED58 0007BCB8 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 8007ED5C 0007BCBC 7C 9D 23 78 */ mr r29, r4 +/* 8007ED60 0007BCC0 7C 7C 1B 78 */ mr r28, r3 +/* 8007ED64 0007BCC4 38 81 00 10 */ addi r4, r1, 0x10 +/* 8007ED68 0007BCC8 A0 03 02 82 */ lhz r0, 0x282(r3) +/* 8007ED6C 0007BCCC 7F A3 EB 78 */ mr r3, r29 +/* 8007ED70 0007BCD0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8007ED74 0007BCD4 4B FC D8 01 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8007ED78 0007BCD8 7C 64 1B 78 */ mr r4, r3 +/* 8007ED7C 0007BCDC 38 61 00 44 */ addi r3, r1, 0x44 +/* 8007ED80 0007BCE0 48 02 B6 85 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" +/* 8007ED84 0007BCE4 83 C3 00 04 */ lwz r30, 4(r3) +/* 8007ED88 0007BCE8 28 1E 00 00 */ cmplwi r30, 0 +/* 8007ED8C 0007BCEC 40 82 00 0C */ bne lbl_8007ED98 +/* 8007ED90 0007BCF0 38 60 00 02 */ li r3, 2 +/* 8007ED94 0007BCF4 48 00 02 AC */ b lbl_8007F040 +lbl_8007ED98: +/* 8007ED98 0007BCF8 C0 3C 02 5C */ lfs f1, 0x25c(r28) +/* 8007ED9C 0007BCFC C0 02 89 6C */ lfs f0, lbl_805AA68C@sda21(r2) +/* 8007EDA0 0007BD00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8007EDA4 0007BD04 41 80 00 10 */ blt lbl_8007EDB4 +/* 8007EDA8 0007BD08 88 1C 02 A8 */ lbz r0, 0x2a8(r28) +/* 8007EDAC 0007BD0C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8007EDB0 0007BD10 41 82 00 0C */ beq lbl_8007EDBC +lbl_8007EDB4: +/* 8007EDB4 0007BD14 38 60 00 01 */ li r3, 1 +/* 8007EDB8 0007BD18 48 00 02 88 */ b lbl_8007F040 +lbl_8007EDBC: +/* 8007EDBC 0007BD1C 80 DE 02 60 */ lwz r6, 0x260(r30) +/* 8007EDC0 0007BD20 38 80 00 00 */ li r4, 0 +/* 8007EDC4 0007BD24 80 7D 08 50 */ lwz r3, 0x850(r29) +/* 8007EDC8 0007BD28 2C 06 00 00 */ cmpwi r6, 0 +/* 8007EDCC 0007BD2C 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8007EDD0 0007BD30 90 C1 00 34 */ stw r6, 0x34(r1) +/* 8007EDD4 0007BD34 41 80 00 14 */ blt lbl_8007EDE8 +/* 8007EDD8 0007BD38 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8007EDDC 0007BD3C 7C 06 00 00 */ cmpw r6, r0 +/* 8007EDE0 0007BD40 40 80 00 08 */ bge lbl_8007EDE8 +/* 8007EDE4 0007BD44 38 80 00 01 */ li r4, 1 +lbl_8007EDE8: +/* 8007EDE8 0007BD48 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8007EDEC 0007BD4C 40 82 00 0C */ bne lbl_8007EDF8 +/* 8007EDF0 0007BD50 38 60 00 00 */ li r3, 0 +/* 8007EDF4 0007BD54 48 00 02 4C */ b lbl_8007F040 +lbl_8007EDF8: +/* 8007EDF8 0007BD58 54 C4 18 38 */ slwi r4, r6, 3 +/* 8007EDFC 0007BD5C 80 A3 00 20 */ lwz r5, 0x20(r3) +/* 8007EE00 0007BD60 38 04 00 04 */ addi r0, r4, 4 +/* 8007EE04 0007BD64 90 C1 00 28 */ stw r6, 0x28(r1) +/* 8007EE08 0007BD68 7C 85 00 2E */ lwzx r4, r5, r0 +/* 8007EE0C 0007BD6C 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 8007EE10 0007BD70 88 04 00 F0 */ lbz r0, 0xf0(r4) +/* 8007EE14 0007BD74 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8007EE18 0007BD78 40 82 00 0C */ bne lbl_8007EE24 +/* 8007EE1C 0007BD7C 38 60 00 01 */ li r3, 1 +/* 8007EE20 0007BD80 48 00 02 20 */ b lbl_8007F040 +lbl_8007EE24: +/* 8007EE24 0007BD84 4B FD 73 41 */ bl AreSkyNeedsMet__6CWorldCFv +/* 8007EE28 0007BD88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007EE2C 0007BD8C 40 82 00 0C */ bne lbl_8007EE38 +/* 8007EE30 0007BD90 38 60 00 01 */ li r3, 1 +/* 8007EE34 0007BD94 48 00 02 0C */ b lbl_8007F040 +lbl_8007EE38: +/* 8007EE38 0007BD98 80 FE 02 60 */ lwz r7, 0x260(r30) +/* 8007EE3C 0007BD9C 7F C3 F3 78 */ mr r3, r30 +/* 8007EE40 0007BDA0 80 DD 08 50 */ lwz r6, 0x850(r29) +/* 8007EE44 0007BDA4 7F A4 EB 78 */ mr r4, r29 +/* 8007EE48 0007BDA8 54 E5 18 38 */ slwi r5, r7, 3 +/* 8007EE4C 0007BDAC 80 1E 02 5C */ lwz r0, 0x25c(r30) +/* 8007EE50 0007BDB0 80 C6 00 20 */ lwz r6, 0x20(r6) +/* 8007EE54 0007BDB4 38 A5 00 04 */ addi r5, r5, 4 +/* 8007EE58 0007BDB8 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 8007EE5C 0007BDBC 90 E1 00 20 */ stw r7, 0x20(r1) +/* 8007EE60 0007BDC0 7C A6 28 2E */ lwzx r5, r6, r5 +/* 8007EE64 0007BDC4 90 E1 00 24 */ stw r7, 0x24(r1) +/* 8007EE68 0007BDC8 80 A5 00 D8 */ lwz r5, 0xd8(r5) +/* 8007EE6C 0007BDCC 7F E5 02 14 */ add r31, r5, r0 +/* 8007EE70 0007BDD0 48 04 4A 95 */ bl GetDockReference__11CScriptDockCFv +/* 8007EE74 0007BDD4 7C 65 1B 78 */ mr r5, r3 +/* 8007EE78 0007BDD8 7F E4 FB 78 */ mr r4, r31 +/* 8007EE7C 0007BDDC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8007EE80 0007BDE0 4B FE 04 A5 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 8007EE84 0007BDE4 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8007EE88 0007BDE8 38 60 00 00 */ li r3, 0 +/* 8007EE8C 0007BDEC 80 BD 08 50 */ lwz r5, 0x850(r29) +/* 8007EE90 0007BDF0 2C 04 00 00 */ cmpwi r4, 0 +/* 8007EE94 0007BDF4 90 81 00 38 */ stw r4, 0x38(r1) +/* 8007EE98 0007BDF8 90 81 00 18 */ stw r4, 0x18(r1) +/* 8007EE9C 0007BDFC 41 80 00 14 */ blt lbl_8007EEB0 +/* 8007EEA0 0007BE00 80 05 00 18 */ lwz r0, 0x18(r5) +/* 8007EEA4 0007BE04 7C 04 00 00 */ cmpw r4, r0 +/* 8007EEA8 0007BE08 40 80 00 08 */ bge lbl_8007EEB0 +/* 8007EEAC 0007BE0C 38 60 00 01 */ li r3, 1 +lbl_8007EEB0: +/* 8007EEB0 0007BE10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007EEB4 0007BE14 40 82 00 0C */ bne lbl_8007EEC0 +/* 8007EEB8 0007BE18 38 60 00 00 */ li r3, 0 +/* 8007EEBC 0007BE1C 48 00 01 84 */ b lbl_8007F040 +lbl_8007EEC0: +/* 8007EEC0 0007BE20 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8007EEC4 0007BE24 80 85 00 20 */ lwz r4, 0x20(r5) +/* 8007EEC8 0007BE28 54 03 18 38 */ slwi r3, r0, 3 +/* 8007EECC 0007BE2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8007EED0 0007BE30 38 03 00 04 */ addi r0, r3, 4 +/* 8007EED4 0007BE34 7F E4 00 2E */ lwzx r31, r4, r0 +/* 8007EED8 0007BE38 88 1F 00 F0 */ lbz r0, 0xf0(r31) +/* 8007EEDC 0007BE3C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8007EEE0 0007BE40 40 82 00 2C */ bne lbl_8007EF0C +/* 8007EEE4 0007BE44 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8007EEE8 0007BE48 7F A3 EB 78 */ mr r3, r29 +/* 8007EEEC 0007BE4C 7F C4 F3 78 */ mr r4, r30 +/* 8007EEF0 0007BE50 38 A1 00 0C */ addi r5, r1, 0xc +/* 8007EEF4 0007BE54 B0 01 00 08 */ sth r0, 8(r1) +/* 8007EEF8 0007BE58 38 C0 00 0C */ li r6, 0xc +/* 8007EEFC 0007BE5C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8007EF00 0007BE60 4B FC 4F D1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8007EF04 0007BE64 38 60 00 01 */ li r3, 1 +/* 8007EF08 0007BE68 48 00 01 38 */ b lbl_8007F040 +lbl_8007EF0C: +/* 8007EF0C 0007BE6C 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 8007EF10 0007BE70 80 03 11 3C */ lwz r0, 0x113c(r3) +/* 8007EF14 0007BE74 2C 00 00 00 */ cmpwi r0, 0 +/* 8007EF18 0007BE78 41 82 00 0C */ beq lbl_8007EF24 +/* 8007EF1C 0007BE7C 38 60 00 01 */ li r3, 1 +/* 8007EF20 0007BE80 48 00 01 20 */ b lbl_8007F040 +lbl_8007EF24: +/* 8007EF24 0007BE84 83 DD 08 48 */ lwz r30, 0x848(r29) +/* 8007EF28 0007BE88 AB 7E 20 08 */ lha r27, 0x2008(r30) +/* 8007EF2C 0007BE8C 48 00 00 94 */ b lbl_8007EFC0 +lbl_8007EF30: +/* 8007EF30 0007BE90 7F C3 F3 78 */ mr r3, r30 +/* 8007EF34 0007BE94 7F 64 DB 78 */ mr r4, r27 +/* 8007EF38 0007BE98 4B F9 0D A5 */ bl __vc__11CObjectListCFi +/* 8007EF3C 0007BE9C 7C 64 1B 78 */ mr r4, r3 +/* 8007EF40 0007BEA0 38 61 00 3C */ addi r3, r1, 0x3c +/* 8007EF44 0007BEA4 48 02 B1 AD */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 8007EF48 0007BEA8 80 83 00 04 */ lwz r4, 4(r3) +/* 8007EF4C 0007BEAC 28 04 00 00 */ cmplwi r4, 0 +/* 8007EF50 0007BEB0 41 82 00 54 */ beq lbl_8007EFA4 +/* 8007EF54 0007BEB4 A0 64 00 08 */ lhz r3, 8(r4) +/* 8007EF58 0007BEB8 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8007EF5C 0007BEBC 7C 03 00 40 */ cmplw r3, r0 +/* 8007EF60 0007BEC0 41 82 00 44 */ beq lbl_8007EFA4 +/* 8007EF64 0007BEC4 80 64 00 04 */ lwz r3, 4(r4) +/* 8007EF68 0007BEC8 80 1C 00 04 */ lwz r0, 4(r28) +/* 8007EF6C 0007BECC 7C 03 00 00 */ cmpw r3, r0 +/* 8007EF70 0007BED0 41 82 00 10 */ beq lbl_8007EF80 +/* 8007EF74 0007BED4 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8007EF78 0007BED8 7C 03 00 00 */ cmpw r3, r0 +/* 8007EF7C 0007BEDC 40 82 00 28 */ bne lbl_8007EFA4 +lbl_8007EF80: +/* 8007EF80 0007BEE0 88 04 02 A8 */ lbz r0, 0x2a8(r4) +/* 8007EF84 0007BEE4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8007EF88 0007BEE8 41 82 00 1C */ beq lbl_8007EFA4 +/* 8007EF8C 0007BEEC A0 64 02 82 */ lhz r3, 0x282(r4) +/* 8007EF90 0007BEF0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007EF94 0007BEF4 7C 03 00 40 */ cmplw r3, r0 +/* 8007EF98 0007BEF8 41 82 00 0C */ beq lbl_8007EFA4 +/* 8007EF9C 0007BEFC 38 60 00 01 */ li r3, 1 +/* 8007EFA0 0007BF00 48 00 00 A0 */ b lbl_8007F040 +lbl_8007EFA4: +/* 8007EFA4 0007BF04 2C 1B FF FF */ cmpwi r27, -1 +/* 8007EFA8 0007BF08 41 82 00 14 */ beq lbl_8007EFBC +/* 8007EFAC 0007BF0C 57 63 18 38 */ slwi r3, r27, 3 +/* 8007EFB0 0007BF10 38 03 00 08 */ addi r0, r3, 8 +/* 8007EFB4 0007BF14 7F 7E 02 AE */ lhax r27, r30, r0 +/* 8007EFB8 0007BF18 48 00 00 08 */ b lbl_8007EFC0 +lbl_8007EFBC: +/* 8007EFBC 0007BF1C 3B 60 FF FF */ li r27, -1 +lbl_8007EFC0: +/* 8007EFC0 0007BF20 2C 1B FF FF */ cmpwi r27, -1 +/* 8007EFC4 0007BF24 40 82 FF 6C */ bne lbl_8007EF30 +/* 8007EFC8 0007BF28 80 7D 08 50 */ lwz r3, 0x850(r29) +/* 8007EFCC 0007BF2C 83 83 00 58 */ lwz r28, 0x58(r3) +/* 8007EFD0 0007BF30 48 00 00 30 */ b lbl_8007F000 +lbl_8007EFD4: +/* 8007EFD4 0007BF34 80 7C 00 04 */ lwz r3, 4(r28) +/* 8007EFD8 0007BF38 80 1F 00 04 */ lwz r0, 4(r31) +/* 8007EFDC 0007BF3C 7C 03 00 00 */ cmpw r3, r0 +/* 8007EFE0 0007BF40 41 82 00 1C */ beq lbl_8007EFFC +/* 8007EFE4 0007BF44 7F 83 E3 78 */ mr r3, r28 +/* 8007EFE8 0007BF48 4B FD F3 55 */ bl IsFinishedOccluding__9CGameAreaCFv +/* 8007EFEC 0007BF4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007EFF0 0007BF50 40 82 00 0C */ bne lbl_8007EFFC +/* 8007EFF4 0007BF54 38 60 00 01 */ li r3, 1 +/* 8007EFF8 0007BF58 48 00 00 48 */ b lbl_8007F040 +lbl_8007EFFC: +/* 8007EFFC 0007BF5C 83 9C 01 30 */ lwz r28, 0x130(r28) +lbl_8007F000: +/* 8007F000 0007BF60 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13) +/* 8007F004 0007BF64 7C 1C 00 40 */ cmplw r28, r0 +/* 8007F008 0007BF68 40 82 FF CC */ bne lbl_8007EFD4 +/* 8007F00C 0007BF6C 7F E3 FB 78 */ mr r3, r31 +/* 8007F010 0007BF70 4B FD FB 61 */ bl TryTakingOutOfARAM__9CGameAreaFv +/* 8007F014 0007BF74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007F018 0007BF78 40 82 00 0C */ bne lbl_8007F024 +/* 8007F01C 0007BF7C 38 60 00 01 */ li r3, 1 +/* 8007F020 0007BF80 48 00 00 20 */ b lbl_8007F040 +lbl_8007F024: +/* 8007F024 0007BF84 80 7D 08 50 */ lwz r3, 0x850(r29) +/* 8007F028 0007BF88 4B FD 86 75 */ bl GetMapWorld__6CWorldCFv +/* 8007F02C 0007BF8C 48 02 21 55 */ bl IsMapAreasStreaming__9CMapWorldCFv +/* 8007F030 0007BF90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8007F034 0007BF94 38 60 00 02 */ li r3, 2 +/* 8007F038 0007BF98 41 82 00 08 */ beq lbl_8007F040 +/* 8007F03C 0007BF9C 38 60 00 01 */ li r3, 1 +lbl_8007F040: +/* 8007F040 0007BFA0 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 8007F044 0007BFA4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8007F048 0007BFA8 7C 08 03 A6 */ mtlr r0 +/* 8007F04C 0007BFAC 38 21 00 70 */ addi r1, r1, 0x70 +/* 8007F050 0007BFB0 4E 80 00 20 */ blr + +.global GetOrbitPosition__11CScriptDoorCFRC13CStateManager +GetOrbitPosition__11CScriptDoorCFRC13CStateManager: +/* 8007F054 0007BFB4 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 8007F058 0007BFB8 C0 04 02 9C */ lfs f0, 0x29c(r4) +/* 8007F05C 0007BFBC C0 84 00 50 */ lfs f4, 0x50(r4) +/* 8007F060 0007BFC0 C0 64 02 A0 */ lfs f3, 0x2a0(r4) +/* 8007F064 0007BFC4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8007F068 0007BFC8 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 8007F06C 0007BFCC C0 24 02 A4 */ lfs f1, 0x2a4(r4) +/* 8007F070 0007BFD0 EC 64 18 2A */ fadds f3, f4, f3 +/* 8007F074 0007BFD4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8007F078 0007BFD8 EC 02 08 2A */ fadds f0, f2, f1 +/* 8007F07C 0007BFDC D0 63 00 04 */ stfs f3, 4(r3) +/* 8007F080 0007BFE0 D0 03 00 08 */ stfs f0, 8(r3) +/* 8007F084 0007BFE4 4E 80 00 20 */ blr + +.global GetProjectileBounds__11CScriptDoorCFv +GetProjectileBounds__11CScriptDoorCFv: +/* 8007F088 0007BFE8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8007F08C 0007BFEC 7C 08 02 A6 */ mflr r0 +/* 8007F090 0007BFF0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8007F094 0007BFF4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8007F098 0007BFF8 7C 7F 1B 78 */ mr r31, r3 +/* 8007F09C 0007BFFC 88 04 02 A8 */ lbz r0, 0x2a8(r4) +/* 8007F0A0 0007C000 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8007F0A4 0007C004 41 82 00 AC */ beq lbl_8007F150 +/* 8007F0A8 0007C008 C0 24 02 94 */ lfs f1, 0x294(r4) +/* 8007F0AC 0007C00C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8007F0B0 0007C010 C0 64 00 50 */ lfs f3, 0x50(r4) +/* 8007F0B4 0007C014 38 A1 00 08 */ addi r5, r1, 8 +/* 8007F0B8 0007C018 C0 04 02 88 */ lfs f0, 0x288(r4) +/* 8007F0BC 0007C01C EC C1 18 2A */ fadds f6, f1, f3 +/* 8007F0C0 0007C020 C0 44 02 98 */ lfs f2, 0x298(r4) +/* 8007F0C4 0007C024 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 8007F0C8 0007C028 EC 80 18 2A */ fadds f4, f0, f3 +/* 8007F0CC 0007C02C C0 04 02 8C */ lfs f0, 0x28c(r4) +/* 8007F0D0 0007C030 EC A2 08 2A */ fadds f5, f2, f1 +/* 8007F0D4 0007C034 EC 60 08 2A */ fadds f3, f0, f1 +/* 8007F0D8 0007C038 C0 24 02 90 */ lfs f1, 0x290(r4) +/* 8007F0DC 0007C03C C0 44 00 40 */ lfs f2, 0x40(r4) +/* 8007F0E0 0007C040 C0 04 02 84 */ lfs f0, 0x284(r4) +/* 8007F0E4 0007C044 38 81 00 14 */ addi r4, r1, 0x14 +/* 8007F0E8 0007C048 EC 21 10 2A */ fadds f1, f1, f2 +/* 8007F0EC 0007C04C EC 00 10 2A */ fadds f0, f0, f2 +/* 8007F0F0 0007C050 D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 8007F0F4 0007C054 D0 21 00 08 */ stfs f1, 8(r1) +/* 8007F0F8 0007C058 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 8007F0FC 0007C05C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8007F100 0007C060 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8007F104 0007C064 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8007F108 0007C068 48 2B 94 01 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8007F10C 0007C06C 38 00 00 01 */ li r0, 1 +/* 8007F110 0007C070 28 1F 00 00 */ cmplwi r31, 0 +/* 8007F114 0007C074 98 1F 00 18 */ stb r0, 0x18(r31) +/* 8007F118 0007C078 41 82 00 40 */ beq lbl_8007F158 +/* 8007F11C 0007C07C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8007F120 0007C080 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8007F124 0007C084 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8007F128 0007C088 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8007F12C 0007C08C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8007F130 0007C090 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8007F134 0007C094 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8007F138 0007C098 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8007F13C 0007C09C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8007F140 0007C0A0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8007F144 0007C0A4 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8007F148 0007C0A8 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8007F14C 0007C0AC 48 00 00 0C */ b lbl_8007F158 +lbl_8007F150: +/* 8007F150 0007C0B0 38 00 00 00 */ li r0, 0 +/* 8007F154 0007C0B4 98 1F 00 18 */ stb r0, 0x18(r31) +lbl_8007F158: +/* 8007F158 0007C0B8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8007F15C 0007C0BC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8007F160 0007C0C0 7C 08 03 A6 */ mtlr r0 +/* 8007F164 0007C0C4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8007F168 0007C0C8 4E 80 00 20 */ blr + +.global GetTouchBounds__11CScriptDoorCFv +GetTouchBounds__11CScriptDoorCFv: +/* 8007F16C 0007C0CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007F170 0007C0D0 7C 08 02 A6 */ mflr r0 +/* 8007F174 0007C0D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007F178 0007C0D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007F17C 0007C0DC 7C 7F 1B 78 */ mr r31, r3 +/* 8007F180 0007C0E0 88 04 00 30 */ lbz r0, 0x30(r4) +/* 8007F184 0007C0E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8007F188 0007C0E8 41 82 00 78 */ beq lbl_8007F200 +/* 8007F18C 0007C0EC 80 04 00 68 */ lwz r0, 0x68(r4) +/* 8007F190 0007C0F0 38 A0 00 00 */ li r5, 0 +/* 8007F194 0007C0F4 80 C4 00 6C */ lwz r6, 0x6c(r4) +/* 8007F198 0007C0F8 3C 60 00 08 */ lis r3, 8 +/* 8007F19C 0007C0FC 7C 00 28 38 */ and r0, r0, r5 +/* 8007F1A0 0007C100 7C C3 18 38 */ and r3, r6, r3 +/* 8007F1A4 0007C104 7C 63 2A 78 */ xor r3, r3, r5 +/* 8007F1A8 0007C108 7C 00 2A 78 */ xor r0, r0, r5 +/* 8007F1AC 0007C10C 7C 60 03 79 */ or. r0, r3, r0 +/* 8007F1B0 0007C110 41 82 00 50 */ beq lbl_8007F200 +/* 8007F1B4 0007C114 38 61 00 08 */ addi r3, r1, 8 +/* 8007F1B8 0007C118 48 09 B7 75 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8007F1BC 0007C11C 38 00 00 01 */ li r0, 1 +/* 8007F1C0 0007C120 28 1F 00 00 */ cmplwi r31, 0 +/* 8007F1C4 0007C124 98 1F 00 18 */ stb r0, 0x18(r31) +/* 8007F1C8 0007C128 41 82 00 40 */ beq lbl_8007F208 +/* 8007F1CC 0007C12C C0 01 00 08 */ lfs f0, 8(r1) +/* 8007F1D0 0007C130 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8007F1D4 0007C134 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8007F1D8 0007C138 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8007F1DC 0007C13C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8007F1E0 0007C140 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8007F1E4 0007C144 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8007F1E8 0007C148 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8007F1EC 0007C14C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8007F1F0 0007C150 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8007F1F4 0007C154 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8007F1F8 0007C158 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8007F1FC 0007C15C 48 00 00 0C */ b lbl_8007F208 +lbl_8007F200: +/* 8007F200 0007C160 38 00 00 00 */ li r0, 0 +/* 8007F204 0007C164 98 1F 00 18 */ stb r0, 0x18(r31) +lbl_8007F208: +/* 8007F208 0007C168 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8007F20C 0007C16C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8007F210 0007C170 7C 08 03 A6 */ mtlr r0 +/* 8007F214 0007C174 38 21 00 30 */ addi r1, r1, 0x30 +/* 8007F218 0007C178 4E 80 00 20 */ blr + +.global "__ct__11CScriptDoorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC9CVector3fRC6CAABoxbbfb" +"__ct__11CScriptDoorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC9CVector3fRC6CAABoxbbfb": +/* 8007F21C 0007C17C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8007F220 0007C180 7C 08 02 A6 */ mflr r0 +/* 8007F224 0007C184 90 01 01 24 */ stw r0, 0x124(r1) +/* 8007F228 0007C188 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8007F22C 0007C18C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8007F230 0007C190 BE 21 00 D4 */ stmw r17, 0xd4(r1) +/* 8007F234 0007C194 FF E0 08 90 */ fmr f31, f1 +/* 8007F238 0007C198 82 A1 01 28 */ lwz r21, 0x128(r1) +/* 8007F23C 0007C19C 8A 81 01 2F */ lbz r20, 0x12f(r1) +/* 8007F240 0007C1A0 7C 7E 1B 78 */ mr r30, r3 +/* 8007F244 0007C1A4 8B 81 01 33 */ lbz r28, 0x133(r1) +/* 8007F248 0007C1A8 7C 9F 23 78 */ mr r31, r4 +/* 8007F24C 0007C1AC 8A 61 01 37 */ lbz r19, 0x137(r1) +/* 8007F250 0007C1B0 7C B6 2B 78 */ mr r22, r5 +/* 8007F254 0007C1B4 8B A1 01 3B */ lbz r29, 0x13b(r1) +/* 8007F258 0007C1B8 7C D7 33 78 */ mr r23, r6 +/* 8007F25C 0007C1BC 7C F8 3B 78 */ mr r24, r7 +/* 8007F260 0007C1C0 7D 19 43 78 */ mr r25, r8 +/* 8007F264 0007C1C4 7D 3A 4B 78 */ mr r26, r9 +/* 8007F268 0007C1C8 7D 5B 53 78 */ mr r27, r10 +/* 8007F26C 0007C1CC 4B F9 C2 C9 */ bl Identity__10CAxisAngleFv +/* 8007F270 0007C1D0 7C 71 1B 78 */ mr r17, r3 +/* 8007F274 0007C1D4 4B F9 C2 C1 */ bl Identity__10CAxisAngleFv +/* 8007F278 0007C1D8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8007F27C 0007C1DC C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 8007F280 0007C1E0 C0 02 89 70 */ lfs f0, lbl_805AA690@sda21(r2) +/* 8007F284 0007C1E4 28 1C 00 00 */ cmplwi r28, 0 +/* 8007F288 0007C1E8 C0 64 00 04 */ lfs f3, 4(r4) +/* 8007F28C 0007C1EC 3A 41 00 90 */ addi r18, r1, 0x90 +/* 8007F290 0007C1F0 C0 84 00 08 */ lfs f4, 8(r4) +/* 8007F294 0007C1F4 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8007F298 0007C1F8 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 8007F29C 0007C1FC D0 81 00 98 */ stfs f4, 0x98(r1) +/* 8007F2A0 0007C200 C0 23 00 00 */ lfs f1, 0(r3) +/* 8007F2A4 0007C204 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8007F2A8 0007C208 C0 23 00 04 */ lfs f1, 4(r3) +/* 8007F2AC 0007C20C D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 8007F2B0 0007C210 C0 23 00 08 */ lfs f1, 8(r3) +/* 8007F2B4 0007C214 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 8007F2B8 0007C218 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 8007F2BC 0007C21C D0 61 00 AC */ stfs f3, 0xac(r1) +/* 8007F2C0 0007C220 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 8007F2C4 0007C224 C0 31 00 00 */ lfs f1, 0(r17) +/* 8007F2C8 0007C228 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 8007F2CC 0007C22C C0 31 00 04 */ lfs f1, 4(r17) +/* 8007F2D0 0007C230 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8007F2D4 0007C234 C0 31 00 08 */ lfs f1, 8(r17) +/* 8007F2D8 0007C238 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 8007F2DC 0007C23C D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8007F2E0 0007C240 41 82 00 90 */ beq lbl_8007F370 +/* 8007F2E4 0007C244 38 00 00 00 */ li r0, 0 +/* 8007F2E8 0007C248 80 AD 84 30 */ lwz r5, lbl_805A6FF0@sda21(r13) +/* 8007F2EC 0007C24C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8007F2F0 0007C250 38 60 00 00 */ li r3, 0 +/* 8007F2F4 0007C254 38 80 00 01 */ li r4, 1 +/* 8007F2F8 0007C258 90 01 00 28 */ stw r0, 0x28(r1) +/* 8007F2FC 0007C25C 48 30 AB F9 */ bl __shl2i +/* 8007F300 0007C260 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8007F304 0007C264 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 8007F308 0007C268 7C 00 1B 78 */ or r0, r0, r3 +/* 8007F30C 0007C26C 80 AD 84 34 */ lwz r5, lbl_805A6FF4@sda21(r13) +/* 8007F310 0007C270 7C C4 23 78 */ or r4, r6, r4 +/* 8007F314 0007C274 90 01 00 28 */ stw r0, 0x28(r1) +/* 8007F318 0007C278 38 60 00 00 */ li r3, 0 +/* 8007F31C 0007C27C 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8007F320 0007C280 38 80 00 01 */ li r4, 1 +/* 8007F324 0007C284 48 30 AB D1 */ bl __shl2i +/* 8007F328 0007C288 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8007F32C 0007C28C 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 8007F330 0007C290 7C 00 1B 78 */ or r0, r0, r3 +/* 8007F334 0007C294 80 AD 84 38 */ lwz r5, lbl_805A6FF8@sda21(r13) +/* 8007F338 0007C298 7C C4 23 78 */ or r4, r6, r4 +/* 8007F33C 0007C29C 90 01 00 28 */ stw r0, 0x28(r1) +/* 8007F340 0007C2A0 38 60 00 00 */ li r3, 0 +/* 8007F344 0007C2A4 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8007F348 0007C2A8 38 80 00 01 */ li r4, 1 +/* 8007F34C 0007C2AC 48 30 AB A9 */ bl __shl2i +/* 8007F350 0007C2B0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8007F354 0007C2B4 39 41 00 28 */ addi r10, r1, 0x28 +/* 8007F358 0007C2B8 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 8007F35C 0007C2BC 7C 00 1B 78 */ or r0, r0, r3 +/* 8007F360 0007C2C0 7C A3 23 78 */ or r3, r5, r4 +/* 8007F364 0007C2C4 90 01 00 28 */ stw r0, 0x28(r1) +/* 8007F368 0007C2C8 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8007F36C 0007C2CC 48 00 00 B4 */ b lbl_8007F420 +lbl_8007F370: +/* 8007F370 0007C2D0 38 00 00 00 */ li r0, 0 +/* 8007F374 0007C2D4 80 AD 84 3C */ lwz r5, lbl_805A6FFC@sda21(r13) +/* 8007F378 0007C2D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007F37C 0007C2DC 38 60 00 00 */ li r3, 0 +/* 8007F380 0007C2E0 38 80 00 01 */ li r4, 1 +/* 8007F384 0007C2E4 90 01 00 20 */ stw r0, 0x20(r1) +/* 8007F388 0007C2E8 48 30 AB 6D */ bl __shl2i +/* 8007F38C 0007C2EC 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8007F390 0007C2F0 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8007F394 0007C2F4 7C 00 1B 78 */ or r0, r0, r3 +/* 8007F398 0007C2F8 80 AD 84 40 */ lwz r5, lbl_805A7000@sda21(r13) +/* 8007F39C 0007C2FC 7C C4 23 78 */ or r4, r6, r4 +/* 8007F3A0 0007C300 90 01 00 20 */ stw r0, 0x20(r1) +/* 8007F3A4 0007C304 38 60 00 00 */ li r3, 0 +/* 8007F3A8 0007C308 90 81 00 24 */ stw r4, 0x24(r1) +/* 8007F3AC 0007C30C 38 80 00 01 */ li r4, 1 +/* 8007F3B0 0007C310 48 30 AB 45 */ bl __shl2i +/* 8007F3B4 0007C314 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8007F3B8 0007C318 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8007F3BC 0007C31C 7C 00 1B 78 */ or r0, r0, r3 +/* 8007F3C0 0007C320 80 AD 84 44 */ lwz r5, lbl_805A7004@sda21(r13) +/* 8007F3C4 0007C324 7C C4 23 78 */ or r4, r6, r4 +/* 8007F3C8 0007C328 90 01 00 20 */ stw r0, 0x20(r1) +/* 8007F3CC 0007C32C 38 60 00 00 */ li r3, 0 +/* 8007F3D0 0007C330 90 81 00 24 */ stw r4, 0x24(r1) +/* 8007F3D4 0007C334 38 80 00 01 */ li r4, 1 +/* 8007F3D8 0007C338 48 30 AB 1D */ bl __shl2i +/* 8007F3DC 0007C33C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8007F3E0 0007C340 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8007F3E4 0007C344 7C 00 1B 78 */ or r0, r0, r3 +/* 8007F3E8 0007C348 80 AD 84 48 */ lwz r5, lbl_805A7008@sda21(r13) +/* 8007F3EC 0007C34C 7C C4 23 78 */ or r4, r6, r4 +/* 8007F3F0 0007C350 90 01 00 20 */ stw r0, 0x20(r1) +/* 8007F3F4 0007C354 38 60 00 00 */ li r3, 0 +/* 8007F3F8 0007C358 90 81 00 24 */ stw r4, 0x24(r1) +/* 8007F3FC 0007C35C 38 80 00 01 */ li r4, 1 +/* 8007F400 0007C360 48 30 AA F5 */ bl __shl2i +/* 8007F404 0007C364 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8007F408 0007C368 39 41 00 20 */ addi r10, r1, 0x20 +/* 8007F40C 0007C36C 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8007F410 0007C370 7C 00 1B 78 */ or r0, r0, r3 +/* 8007F414 0007C374 7C A3 23 78 */ or r3, r5, r4 +/* 8007F418 0007C378 90 01 00 20 */ stw r0, 0x20(r1) +/* 8007F41C 0007C37C 90 61 00 24 */ stw r3, 0x24(r1) +lbl_8007F420: +/* 8007F420 0007C380 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8007F424 0007C384 7F C3 F3 78 */ mr r3, r30 +/* 8007F428 0007C388 C0 22 89 74 */ lfs f1, lbl_805AA694@sda21(r2) +/* 8007F42C 0007C38C 7E 85 A3 78 */ mr r5, r20 +/* 8007F430 0007C390 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8007F434 0007C394 7E C6 B3 78 */ mr r6, r22 +/* 8007F438 0007C398 C0 42 89 78 */ lfs f2, lbl_805AA698@sda21(r2) +/* 8007F43C 0007C39C 7E E7 BB 78 */ mr r7, r23 +/* 8007F440 0007C3A0 92 A1 00 08 */ stw r21, 8(r1) +/* 8007F444 0007C3A4 7F 08 C3 78 */ mr r8, r24 +/* 8007F448 0007C3A8 7F 29 CB 78 */ mr r9, r25 +/* 8007F44C 0007C3AC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8007F450 0007C3B0 92 41 00 0C */ stw r18, 0xc(r1) +/* 8007F454 0007C3B4 93 41 00 10 */ stw r26, 0x10(r1) +/* 8007F458 0007C3B8 48 09 D0 59 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 8007F45C 0007C3BC 3C 60 80 3E */ lis r3, lbl_803DAA78@ha +/* 8007F460 0007C3C0 C0 02 89 68 */ lfs f0, lbl_805AA688@sda21(r2) +/* 8007F464 0007C3C4 38 63 AA 78 */ addi r3, r3, lbl_803DAA78@l +/* 8007F468 0007C3C8 38 00 00 00 */ li r0, 0 +/* 8007F46C 0007C3CC 90 7E 00 00 */ stw r3, 0(r30) +/* 8007F470 0007C3D0 7F C4 F3 78 */ mr r4, r30 +/* 8007F474 0007C3D4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8007F478 0007C3D8 D3 FE 02 58 */ stfs f31, 0x258(r30) +/* 8007F47C 0007C3DC D0 1E 02 5C */ stfs f0, 0x25c(r30) +/* 8007F480 0007C3E0 90 1E 02 60 */ stw r0, 0x260(r30) +/* 8007F484 0007C3E4 48 09 B4 A9 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8007F488 0007C3E8 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8007F48C 0007C3EC 7F 04 C3 78 */ mr r4, r24 +/* 8007F490 0007C3F0 38 61 00 60 */ addi r3, r1, 0x60 +/* 8007F494 0007C3F4 D0 1E 02 64 */ stfs f0, 0x264(r30) +/* 8007F498 0007C3F8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8007F49C 0007C3FC D0 1E 02 68 */ stfs f0, 0x268(r30) +/* 8007F4A0 0007C400 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8007F4A4 0007C404 D0 1E 02 6C */ stfs f0, 0x26c(r30) +/* 8007F4A8 0007C408 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8007F4AC 0007C40C D0 1E 02 70 */ stfs f0, 0x270(r30) +/* 8007F4B0 0007C410 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8007F4B4 0007C414 D0 1E 02 74 */ stfs f0, 0x274(r30) +/* 8007F4B8 0007C418 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8007F4BC 0007C41C D0 1E 02 78 */ stfs f0, 0x278(r30) +/* 8007F4C0 0007C420 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007F4C4 0007C424 B0 1E 02 7C */ sth r0, 0x27c(r30) +/* 8007F4C8 0007C428 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007F4CC 0007C42C B0 1E 02 7E */ sth r0, 0x27e(r30) +/* 8007F4D0 0007C430 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007F4D4 0007C434 B0 1E 02 80 */ sth r0, 0x280(r30) +/* 8007F4D8 0007C438 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8007F4DC 0007C43C B0 1E 02 82 */ sth r0, 0x282(r30) +/* 8007F4E0 0007C440 48 29 37 61 */ bl GetRotation__12CTransform4fCFv +/* 8007F4E4 0007C444 7F 24 CB 78 */ mr r4, r25 +/* 8007F4E8 0007C448 38 61 00 30 */ addi r3, r1, 0x30 +/* 8007F4EC 0007C44C 38 A1 00 60 */ addi r5, r1, 0x60 +/* 8007F4F0 0007C450 48 09 62 C5 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 8007F4F4 0007C454 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8007F4F8 0007C458 38 80 00 00 */ li r4, 0 +/* 8007F4FC 0007C45C 38 60 00 01 */ li r3, 1 +/* 8007F500 0007C460 28 1C 00 00 */ cmplwi r28, 0 +/* 8007F504 0007C464 D0 1E 02 84 */ stfs f0, 0x284(r30) +/* 8007F508 0007C468 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8007F50C 0007C46C D0 1E 02 88 */ stfs f0, 0x288(r30) +/* 8007F510 0007C470 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8007F514 0007C474 D0 1E 02 8C */ stfs f0, 0x28c(r30) +/* 8007F518 0007C478 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8007F51C 0007C47C D0 1E 02 90 */ stfs f0, 0x290(r30) +/* 8007F520 0007C480 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8007F524 0007C484 D0 1E 02 94 */ stfs f0, 0x294(r30) +/* 8007F528 0007C488 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8007F52C 0007C48C D0 1E 02 98 */ stfs f0, 0x298(r30) +/* 8007F530 0007C490 C0 1B 00 00 */ lfs f0, 0(r27) +/* 8007F534 0007C494 D0 1E 02 9C */ stfs f0, 0x29c(r30) +/* 8007F538 0007C498 C0 1B 00 04 */ lfs f0, 4(r27) +/* 8007F53C 0007C49C D0 1E 02 A0 */ stfs f0, 0x2a0(r30) +/* 8007F540 0007C4A0 C0 1B 00 08 */ lfs f0, 8(r27) +/* 8007F544 0007C4A4 D0 1E 02 A4 */ stfs f0, 0x2a4(r30) +/* 8007F548 0007C4A8 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007F54C 0007C4AC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8007F550 0007C4B0 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007F554 0007C4B4 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007F558 0007C4B8 53 80 36 72 */ rlwimi r0, r28, 6, 0x19, 0x19 +/* 8007F55C 0007C4BC 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007F560 0007C4C0 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007F564 0007C4C4 53 80 2E B4 */ rlwimi r0, r28, 5, 0x1a, 0x1a +/* 8007F568 0007C4C8 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007F56C 0007C4CC 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007F570 0007C4D0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8007F574 0007C4D4 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007F578 0007C4D8 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007F57C 0007C4DC 52 60 1F 38 */ rlwimi r0, r19, 3, 0x1c, 0x1c +/* 8007F580 0007C4E0 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007F584 0007C4E4 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007F588 0007C4E8 53 A0 17 7A */ rlwimi r0, r29, 2, 0x1d, 0x1d +/* 8007F58C 0007C4EC 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007F590 0007C4F0 88 1E 02 A8 */ lbz r0, 0x2a8(r30) +/* 8007F594 0007C4F4 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8007F598 0007C4F8 98 1E 02 A8 */ stb r0, 0x2a8(r30) +/* 8007F59C 0007C4FC 88 1E 00 E6 */ lbz r0, 0xe6(r30) +/* 8007F5A0 0007C500 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c +/* 8007F5A4 0007C504 98 1E 00 E6 */ stb r0, 0xe6(r30) +/* 8007F5A8 0007C508 41 82 00 10 */ beq lbl_8007F5B8 +/* 8007F5AC 0007C50C 7F C3 F3 78 */ mr r3, r30 +/* 8007F5B0 0007C510 38 80 00 00 */ li r4, 0 +/* 8007F5B4 0007C514 4B FF F4 1D */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType +lbl_8007F5B8: +/* 8007F5B8 0007C518 C0 22 89 68 */ lfs f1, lbl_805AA688@sda21(r2) +/* 8007F5BC 0007C51C 7F C3 F3 78 */ mr r3, r30 +/* 8007F5C0 0007C520 48 09 B4 C9 */ bl SetMass__13CPhysicsActorFf +/* 8007F5C4 0007C524 7F C3 F3 78 */ mr r3, r30 +/* 8007F5C8 0007C528 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8007F5CC 0007C52C CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8007F5D0 0007C530 BA 21 00 D4 */ lmw r17, 0xd4(r1) +/* 8007F5D4 0007C534 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8007F5D8 0007C538 7C 08 03 A6 */ mtlr r0 +/* 8007F5DC 0007C53C 38 21 01 20 */ addi r1, r1, 0x120 +/* 8007F5E0 0007C540 4E 80 00 20 */ blr + +.global "GetStateIndex__13CStateMachineCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetStateIndex__13CStateMachineCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8007F5E4 0007C544 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007F5E8 0007C548 7C 08 02 A6 */ mflr r0 +/* 8007F5EC 0007C54C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007F5F0 0007C550 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8007F5F4 0007C554 3B E0 00 00 */ li r31, 0 +/* 8007F5F8 0007C558 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8007F5FC 0007C55C 3B C0 00 00 */ li r30, 0 +/* 8007F600 0007C560 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8007F604 0007C564 7C 9D 23 78 */ mr r29, r4 +/* 8007F608 0007C568 93 81 00 10 */ stw r28, 0x10(r1) +/* 8007F60C 0007C56C 7C 7C 1B 78 */ mr r28, r3 +/* 8007F610 0007C570 48 00 00 34 */ b lbl_8007F644 +lbl_8007F614: +/* 8007F614 0007C574 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 8007F618 0007C578 38 7F 00 0C */ addi r3, r31, 0xc +/* 8007F61C 0007C57C 80 9D 00 00 */ lwz r4, 0(r29) +/* 8007F620 0007C580 38 A0 00 1F */ li r5, 0x1f +/* 8007F624 0007C584 7C 60 1A 14 */ add r3, r0, r3 +/* 8007F628 0007C588 48 31 09 35 */ bl strncmp +/* 8007F62C 0007C58C 2C 03 00 00 */ cmpwi r3, 0 +/* 8007F630 0007C590 40 82 00 0C */ bne lbl_8007F63C +/* 8007F634 0007C594 7F C3 F3 78 */ mr r3, r30 +/* 8007F638 0007C598 48 00 00 1C */ b lbl_8007F654 +lbl_8007F63C: +/* 8007F63C 0007C59C 3B FF 00 34 */ addi r31, r31, 0x34 +/* 8007F640 0007C5A0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8007F644: +/* 8007F644 0007C5A4 80 1C 00 04 */ lwz r0, 4(r28) +/* 8007F648 0007C5A8 7C 1E 00 00 */ cmpw r30, r0 +/* 8007F64C 0007C5AC 41 80 FF C8 */ blt lbl_8007F614 +/* 8007F650 0007C5B0 38 60 00 00 */ li r3, 0 +lbl_8007F654: +/* 8007F654 0007C5B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007F658 0007C5B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8007F65C 0007C5BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8007F660 0007C5C0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8007F664 0007C5C4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8007F668 0007C5C8 7C 08 03 A6 */ mtlr r0 +/* 8007F66C 0007C5CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007F670 0007C5D0 4E 80 00 20 */ blr + +.global __ct__13CStateMachineFR12CInputStream +__ct__13CStateMachineFR12CInputStream: +/* 8007F674 0007C5D4 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8007F678 0007C5D8 7C 08 02 A6 */ mflr r0 +/* 8007F67C 0007C5DC 90 01 01 24 */ stw r0, 0x124(r1) +/* 8007F680 0007C5E0 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8007F684 0007C5E4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8007F688 0007C5E8 BE 01 00 D0 */ stmw r16, 0xd0(r1) +/* 8007F68C 0007C5EC 7C 7E 1B 78 */ mr r30, r3 +/* 8007F690 0007C5F0 38 00 00 00 */ li r0, 0 +/* 8007F694 0007C5F4 90 03 00 04 */ stw r0, 4(r3) +/* 8007F698 0007C5F8 7C 9F 23 78 */ mr r31, r4 +/* 8007F69C 0007C5FC 7F E3 FB 78 */ mr r3, r31 +/* 8007F6A0 0007C600 3A C0 00 00 */ li r22, 0 +/* 8007F6A4 0007C604 90 1E 00 08 */ stw r0, 8(r30) +/* 8007F6A8 0007C608 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8007F6AC 0007C60C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8007F6B0 0007C610 90 1E 00 18 */ stw r0, 0x18(r30) +/* 8007F6B4 0007C614 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 8007F6B8 0007C618 48 2B F5 CD */ bl ReadLong__12CInputStreamFv +/* 8007F6BC 0007C61C 7C 7D 1B 78 */ mr r29, r3 +/* 8007F6C0 0007C620 7F C3 F3 78 */ mr r3, r30 +/* 8007F6C4 0007C624 7F A4 EB 78 */ mr r4, r29 +/* 8007F6C8 0007C628 48 00 08 59 */ bl "reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi" +/* 8007F6CC 0007C62C 3A 41 00 9C */ addi r18, r1, 0x9c +/* 8007F6D0 0007C630 3A 21 00 70 */ addi r17, r1, 0x70 +/* 8007F6D4 0007C634 3A 00 00 00 */ li r16, 0 +/* 8007F6D8 0007C638 48 00 01 3C */ b lbl_8007F814 +lbl_8007F6DC: +/* 8007F6DC 0007C63C 3A 80 00 00 */ li r20, 0 +/* 8007F6E0 0007C640 3A 61 00 70 */ addi r19, r1, 0x70 +lbl_8007F6E4: +/* 8007F6E4 0007C644 7F E3 FB 78 */ mr r3, r31 +/* 8007F6E8 0007C648 48 2B F6 25 */ bl ReadChar__12CInputStreamFv +/* 8007F6EC 0007C64C 98 73 00 00 */ stb r3, 0(r19) +/* 8007F6F0 0007C650 88 13 00 00 */ lbz r0, 0(r19) +/* 8007F6F4 0007C654 7C 00 07 75 */ extsb. r0, r0 +/* 8007F6F8 0007C658 41 82 00 14 */ beq lbl_8007F70C +/* 8007F6FC 0007C65C 3A 94 00 01 */ addi r20, r20, 1 +/* 8007F700 0007C660 3A 73 00 01 */ addi r19, r19, 1 +/* 8007F704 0007C664 2C 14 00 1F */ cmpwi r20, 0x1f +/* 8007F708 0007C668 41 80 FF DC */ blt lbl_8007F6E4 +lbl_8007F70C: +/* 8007F70C 0007C66C 38 00 00 00 */ li r0, 0 +/* 8007F710 0007C670 7E 24 8B 78 */ mr r4, r17 +/* 8007F714 0007C674 7C 11 A1 AE */ stbx r0, r17, r20 +/* 8007F718 0007C678 38 61 00 14 */ addi r3, r1, 0x14 +/* 8007F71C 0007C67C 48 02 32 B5 */ bl GetStateFunc__3CAiFPCc +/* 8007F720 0007C680 81 01 00 14 */ lwz r8, 0x14(r1) +/* 8007F724 0007C684 38 00 00 00 */ li r0, 0 +/* 8007F728 0007C688 80 E1 00 18 */ lwz r7, 0x18(r1) +/* 8007F72C 0007C68C 7E 43 93 78 */ mr r3, r18 +/* 8007F730 0007C690 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8007F734 0007C694 38 81 00 70 */ addi r4, r1, 0x70 +/* 8007F738 0007C698 91 01 00 2C */ stw r8, 0x2c(r1) +/* 8007F73C 0007C69C 38 A0 00 1F */ li r5, 0x1f +/* 8007F740 0007C6A0 90 E1 00 30 */ stw r7, 0x30(r1) +/* 8007F744 0007C6A4 90 C1 00 34 */ stw r6, 0x34(r1) +/* 8007F748 0007C6A8 91 01 00 90 */ stw r8, 0x90(r1) +/* 8007F74C 0007C6AC 90 E1 00 94 */ stw r7, 0x94(r1) +/* 8007F750 0007C6B0 90 C1 00 98 */ stw r6, 0x98(r1) +/* 8007F754 0007C6B4 90 01 00 BC */ stw r0, 0xbc(r1) +/* 8007F758 0007C6B8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8007F75C 0007C6BC 48 31 09 69 */ bl strncpy +/* 8007F760 0007C6C0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8007F764 0007C6C4 80 BE 00 08 */ lwz r5, 8(r30) +/* 8007F768 0007C6C8 7C 00 28 00 */ cmpw r0, r5 +/* 8007F76C 0007C6CC 41 80 00 1C */ blt lbl_8007F788 +/* 8007F770 0007C6D0 2C 05 00 00 */ cmpwi r5, 0 +/* 8007F774 0007C6D4 7F C3 F3 78 */ mr r3, r30 +/* 8007F778 0007C6D8 38 80 00 04 */ li r4, 4 +/* 8007F77C 0007C6DC 41 82 00 08 */ beq lbl_8007F784 +/* 8007F780 0007C6E0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8007F784: +/* 8007F784 0007C6E4 48 00 07 9D */ bl "reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi" +lbl_8007F788: +/* 8007F788 0007C6E8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8007F78C 0007C6EC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8007F790 0007C6F0 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 8007F794 0007C6F4 7C 83 02 15 */ add. r4, r3, r0 +/* 8007F798 0007C6F8 41 82 00 6C */ beq lbl_8007F804 +/* 8007F79C 0007C6FC 80 61 00 90 */ lwz r3, 0x90(r1) +/* 8007F7A0 0007C700 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8007F7A4 0007C704 90 64 00 00 */ stw r3, 0(r4) +/* 8007F7A8 0007C708 90 04 00 04 */ stw r0, 4(r4) +/* 8007F7AC 0007C70C 80 01 00 98 */ lwz r0, 0x98(r1) +/* 8007F7B0 0007C710 90 04 00 08 */ stw r0, 8(r4) +/* 8007F7B4 0007C714 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 8007F7B8 0007C718 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 8007F7BC 0007C71C 90 64 00 0C */ stw r3, 0xc(r4) +/* 8007F7C0 0007C720 90 04 00 10 */ stw r0, 0x10(r4) +/* 8007F7C4 0007C724 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 8007F7C8 0007C728 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 8007F7CC 0007C72C 90 64 00 14 */ stw r3, 0x14(r4) +/* 8007F7D0 0007C730 90 04 00 18 */ stw r0, 0x18(r4) +/* 8007F7D4 0007C734 80 61 00 AC */ lwz r3, 0xac(r1) +/* 8007F7D8 0007C738 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 8007F7DC 0007C73C 90 64 00 1C */ stw r3, 0x1c(r4) +/* 8007F7E0 0007C740 90 04 00 20 */ stw r0, 0x20(r4) +/* 8007F7E4 0007C744 80 61 00 B4 */ lwz r3, 0xb4(r1) +/* 8007F7E8 0007C748 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8007F7EC 0007C74C 90 64 00 24 */ stw r3, 0x24(r4) +/* 8007F7F0 0007C750 90 04 00 28 */ stw r0, 0x28(r4) +/* 8007F7F4 0007C754 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 8007F7F8 0007C758 90 04 00 2C */ stw r0, 0x2c(r4) +/* 8007F7FC 0007C75C 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 8007F800 0007C760 90 04 00 30 */ stw r0, 0x30(r4) +lbl_8007F804: +/* 8007F804 0007C764 80 7E 00 04 */ lwz r3, 4(r30) +/* 8007F808 0007C768 3A 10 00 01 */ addi r16, r16, 1 +/* 8007F80C 0007C76C 38 03 00 01 */ addi r0, r3, 1 +/* 8007F810 0007C770 90 1E 00 04 */ stw r0, 4(r30) +lbl_8007F814: +/* 8007F814 0007C774 7C 10 E8 00 */ cmpw r16, r29 +/* 8007F818 0007C778 41 80 FE C4 */ blt lbl_8007F6DC +/* 8007F81C 0007C77C 7F E3 FB 78 */ mr r3, r31 +/* 8007F820 0007C780 48 2B F4 65 */ bl ReadLong__12CInputStreamFv +/* 8007F824 0007C784 7C 64 1B 78 */ mr r4, r3 +/* 8007F828 0007C788 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8007F82C 0007C78C 48 00 08 45 */ bl "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi" +/* 8007F830 0007C790 3B 00 00 00 */ li r24, 0 +/* 8007F834 0007C794 3B 21 00 71 */ addi r25, r1, 0x71 +/* 8007F838 0007C798 7F 1A C3 78 */ mr r26, r24 +/* 8007F83C 0007C79C 48 00 03 38 */ b lbl_8007FB74 +lbl_8007F840: +/* 8007F840 0007C7A0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8007F844 0007C7A4 7F E3 FB 78 */ mr r3, r31 +/* 8007F848 0007C7A8 82 5E 00 14 */ lwz r18, 0x14(r30) +/* 8007F84C 0007C7AC 7F 80 D2 14 */ add r28, r0, r26 +/* 8007F850 0007C7B0 48 2B F4 35 */ bl ReadLong__12CInputStreamFv +/* 8007F854 0007C7B4 90 7C 00 2C */ stw r3, 0x2c(r28) +/* 8007F858 0007C7B8 80 1C 00 2C */ lwz r0, 0x2c(r28) +/* 8007F85C 0007C7BC 2C 00 00 00 */ cmpwi r0, 0 +/* 8007F860 0007C7C0 41 82 03 0C */ beq lbl_8007FB6C +/* 8007F864 0007C7C4 3C 60 80 3E */ lis r3, lbl_803D8598@ha +/* 8007F868 0007C7C8 C3 E2 89 80 */ lfs f31, lbl_805AA6A0@sda21(r2) +/* 8007F86C 0007C7CC 3A 23 85 98 */ addi r17, r3, lbl_803D8598@l +/* 8007F870 0007C7D0 3A 00 00 00 */ li r16, 0 +/* 8007F874 0007C7D4 48 00 00 B4 */ b lbl_8007F928 +lbl_8007F878: +/* 8007F878 0007C7D8 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8007F87C 0007C7DC 38 60 00 00 */ li r3, 0 +/* 8007F880 0007C7E0 80 DE 00 18 */ lwz r6, 0x18(r30) +/* 8007F884 0007C7E4 80 B1 00 00 */ lwz r5, 0(r17) +/* 8007F888 0007C7E8 80 91 00 04 */ lwz r4, 4(r17) +/* 8007F88C 0007C7EC 7C 00 30 00 */ cmpw r0, r6 +/* 8007F890 0007C7F0 80 11 00 08 */ lwz r0, 8(r17) +/* 8007F894 0007C7F4 90 A1 00 54 */ stw r5, 0x54(r1) +/* 8007F898 0007C7F8 90 81 00 58 */ stw r4, 0x58(r1) +/* 8007F89C 0007C7FC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8007F8A0 0007C800 D3 E1 00 60 */ stfs f31, 0x60(r1) +/* 8007F8A4 0007C804 90 61 00 64 */ stw r3, 0x64(r1) +/* 8007F8A8 0007C808 90 61 00 68 */ stw r3, 0x68(r1) +/* 8007F8AC 0007C80C 98 61 00 6C */ stb r3, 0x6c(r1) +/* 8007F8B0 0007C810 41 80 00 1C */ blt lbl_8007F8CC +/* 8007F8B4 0007C814 2C 06 00 00 */ cmpwi r6, 0 +/* 8007F8B8 0007C818 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8007F8BC 0007C81C 38 80 00 04 */ li r4, 4 +/* 8007F8C0 0007C820 41 82 00 08 */ beq lbl_8007F8C8 +/* 8007F8C4 0007C824 54 C4 08 3C */ slwi r4, r6, 1 +lbl_8007F8C8: +/* 8007F8C8 0007C828 48 00 07 A9 */ bl "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi" +lbl_8007F8CC: +/* 8007F8CC 0007C82C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8007F8D0 0007C830 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8007F8D4 0007C834 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 8007F8D8 0007C838 7C 83 02 15 */ add. r4, r3, r0 +/* 8007F8DC 0007C83C 41 82 00 3C */ beq lbl_8007F918 +/* 8007F8E0 0007C840 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8007F8E4 0007C844 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8007F8E8 0007C848 90 04 00 00 */ stw r0, 0(r4) +/* 8007F8EC 0007C84C 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8007F8F0 0007C850 90 64 00 04 */ stw r3, 4(r4) +/* 8007F8F4 0007C854 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8007F8F8 0007C858 90 04 00 08 */ stw r0, 8(r4) +/* 8007F8FC 0007C85C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8007F900 0007C860 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 8007F904 0007C864 80 61 00 68 */ lwz r3, 0x68(r1) +/* 8007F908 0007C868 90 04 00 10 */ stw r0, 0x10(r4) +/* 8007F90C 0007C86C 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8007F910 0007C870 90 64 00 14 */ stw r3, 0x14(r4) +/* 8007F914 0007C874 98 04 00 18 */ stb r0, 0x18(r4) +lbl_8007F918: +/* 8007F918 0007C878 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8007F91C 0007C87C 3A 10 00 01 */ addi r16, r16, 1 +/* 8007F920 0007C880 38 03 00 01 */ addi r0, r3, 1 +/* 8007F924 0007C884 90 1E 00 14 */ stw r0, 0x14(r30) +lbl_8007F928: +/* 8007F928 0007C888 80 1C 00 2C */ lwz r0, 0x2c(r28) +/* 8007F92C 0007C88C 7C 10 00 00 */ cmpw r16, r0 +/* 8007F930 0007C890 41 80 FF 48 */ blt lbl_8007F878 +/* 8007F934 0007C894 1C 12 00 1C */ mulli r0, r18, 0x1c +/* 8007F938 0007C898 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8007F93C 0007C89C 3A E0 00 00 */ li r23, 0 +/* 8007F940 0007C8A0 3A 41 00 70 */ addi r18, r1, 0x70 +/* 8007F944 0007C8A4 7C 03 02 14 */ add r0, r3, r0 +/* 8007F948 0007C8A8 7E FB BB 78 */ mr r27, r23 +/* 8007F94C 0007C8AC 90 1C 00 30 */ stw r0, 0x30(r28) +/* 8007F950 0007C8B0 48 00 02 10 */ b lbl_8007FB60 +lbl_8007F954: +/* 8007F954 0007C8B4 7F E3 FB 78 */ mr r3, r31 +/* 8007F958 0007C8B8 48 2B F3 2D */ bl ReadLong__12CInputStreamFv +/* 8007F95C 0007C8BC 7C 71 1B 78 */ mr r17, r3 +/* 8007F960 0007C8C0 3A A0 00 00 */ li r21, 0 +/* 8007F964 0007C8C4 3A 71 FF FF */ addi r19, r17, -1 +/* 8007F968 0007C8C8 48 00 01 E8 */ b lbl_8007FB50 +lbl_8007F96C: +/* 8007F96C 0007C8CC 3A 00 00 00 */ li r16, 0 +/* 8007F970 0007C8D0 3A 81 00 70 */ addi r20, r1, 0x70 +lbl_8007F974: +/* 8007F974 0007C8D4 7F E3 FB 78 */ mr r3, r31 +/* 8007F978 0007C8D8 48 2B F3 95 */ bl ReadChar__12CInputStreamFv +/* 8007F97C 0007C8DC 98 74 00 00 */ stb r3, 0(r20) +/* 8007F980 0007C8E0 88 14 00 00 */ lbz r0, 0(r20) +/* 8007F984 0007C8E4 7C 00 07 75 */ extsb. r0, r0 +/* 8007F988 0007C8E8 41 82 00 14 */ beq lbl_8007F99C +/* 8007F98C 0007C8EC 3A 10 00 01 */ addi r16, r16, 1 +/* 8007F990 0007C8F0 3A 94 00 01 */ addi r20, r20, 1 +/* 8007F994 0007C8F4 2C 10 00 1F */ cmpwi r16, 0x1f +/* 8007F998 0007C8F8 41 80 FF DC */ blt lbl_8007F974 +lbl_8007F99C: +/* 8007F99C 0007C8FC 38 00 00 00 */ li r0, 0 +/* 8007F9A0 0007C900 38 61 00 08 */ addi r3, r1, 8 +/* 8007F9A4 0007C904 7C 12 81 AE */ stbx r0, r18, r16 +/* 8007F9A8 0007C908 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8007F9AC 0007C90C 2C 00 00 21 */ cmpwi r0, 0x21 +/* 8007F9B0 0007C910 40 82 00 0C */ bne lbl_8007F9BC +/* 8007F9B4 0007C914 7F 24 CB 78 */ mr r4, r25 +/* 8007F9B8 0007C918 48 00 00 08 */ b lbl_8007F9C0 +lbl_8007F9BC: +/* 8007F9BC 0007C91C 7E 44 93 78 */ mr r4, r18 +lbl_8007F9C0: +/* 8007F9C0 0007C920 48 02 2F C1 */ bl GetTriggerFunc__3CAiFPCc +/* 8007F9C4 0007C924 80 A1 00 08 */ lwz r5, 8(r1) +/* 8007F9C8 0007C928 7F E3 FB 78 */ mr r3, r31 +/* 8007F9CC 0007C92C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8007F9D0 0007C930 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8007F9D4 0007C934 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8007F9D8 0007C938 90 81 00 24 */ stw r4, 0x24(r1) +/* 8007F9DC 0007C93C 90 01 00 28 */ stw r0, 0x28(r1) +/* 8007F9E0 0007C940 48 2B F2 49 */ bl ReadFloat__12CInputStreamFv +/* 8007F9E4 0007C944 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8007F9E8 0007C948 FF E0 08 90 */ fmr f31, f1 +/* 8007F9EC 0007C94C 7C 15 98 00 */ cmpw r21, r19 +/* 8007F9F0 0007C950 7C 00 07 74 */ extsb r0, r0 +/* 8007F9F4 0007C954 20 00 00 21 */ subfic r0, r0, 0x21 +/* 8007F9F8 0007C958 7C 00 00 34 */ cntlzw r0, r0 +/* 8007F9FC 0007C95C 54 14 D9 7E */ srwi r20, r0, 5 +/* 8007FA00 0007C960 40 80 00 D8 */ bge lbl_8007FAD8 +/* 8007FA04 0007C964 3C 80 80 3E */ lis r4, lbl_803D8598@ha +/* 8007FA08 0007C968 38 60 00 00 */ li r3, 0 +/* 8007FA0C 0007C96C 38 C4 85 98 */ addi r6, r4, lbl_803D8598@l +/* 8007FA10 0007C970 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8007FA14 0007C974 80 FE 00 18 */ lwz r7, 0x18(r30) +/* 8007FA18 0007C978 80 A6 00 00 */ lwz r5, 0(r6) +/* 8007FA1C 0007C97C 80 86 00 04 */ lwz r4, 4(r6) +/* 8007FA20 0007C980 7C 00 38 00 */ cmpw r0, r7 +/* 8007FA24 0007C984 80 06 00 08 */ lwz r0, 8(r6) +/* 8007FA28 0007C988 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) +/* 8007FA2C 0007C98C 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8007FA30 0007C990 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8007FA34 0007C994 90 01 00 40 */ stw r0, 0x40(r1) +/* 8007FA38 0007C998 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8007FA3C 0007C99C 90 61 00 48 */ stw r3, 0x48(r1) +/* 8007FA40 0007C9A0 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8007FA44 0007C9A4 98 61 00 50 */ stb r3, 0x50(r1) +/* 8007FA48 0007C9A8 41 80 00 1C */ blt lbl_8007FA64 +/* 8007FA4C 0007C9AC 2C 07 00 00 */ cmpwi r7, 0 +/* 8007FA50 0007C9B0 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8007FA54 0007C9B4 38 80 00 04 */ li r4, 4 +/* 8007FA58 0007C9B8 41 82 00 08 */ beq lbl_8007FA60 +/* 8007FA5C 0007C9BC 54 E4 08 3C */ slwi r4, r7, 1 +lbl_8007FA60: +/* 8007FA60 0007C9C0 48 00 06 11 */ bl "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi" +lbl_8007FA64: +/* 8007FA64 0007C9C4 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8007FA68 0007C9C8 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8007FA6C 0007C9CC 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 8007FA70 0007C9D0 7C 83 02 15 */ add. r4, r3, r0 +/* 8007FA74 0007C9D4 41 82 00 3C */ beq lbl_8007FAB0 +/* 8007FA78 0007C9D8 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8007FA7C 0007C9DC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8007FA80 0007C9E0 90 04 00 00 */ stw r0, 0(r4) +/* 8007FA84 0007C9E4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8007FA88 0007C9E8 90 64 00 04 */ stw r3, 4(r4) +/* 8007FA8C 0007C9EC C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8007FA90 0007C9F0 90 04 00 08 */ stw r0, 8(r4) +/* 8007FA94 0007C9F4 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8007FA98 0007C9F8 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 8007FA9C 0007C9FC 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8007FAA0 0007CA00 90 04 00 10 */ stw r0, 0x10(r4) +/* 8007FAA4 0007CA04 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8007FAA8 0007CA08 90 64 00 14 */ stw r3, 0x14(r4) +/* 8007FAAC 0007CA0C 98 04 00 18 */ stb r0, 0x18(r4) +lbl_8007FAB0: +/* 8007FAB0 0007CA10 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8007FAB4 0007CA14 38 03 00 01 */ addi r0, r3, 1 +/* 8007FAB8 0007CA18 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8007FABC 0007CA1C 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8007FAC0 0007CA20 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 8007FAC4 0007CA24 38 03 FF FF */ addi r0, r3, -1 +/* 8007FAC8 0007CA28 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 8007FACC 0007CA2C 7C 04 02 14 */ add r0, r4, r0 +/* 8007FAD0 0007CA30 7C 10 03 78 */ mr r16, r0 +/* 8007FAD4 0007CA34 48 00 00 0C */ b lbl_8007FAE0 +lbl_8007FAD8: +/* 8007FAD8 0007CA38 80 1C 00 30 */ lwz r0, 0x30(r28) +/* 8007FADC 0007CA3C 7E 00 DA 14 */ add r16, r0, r27 +lbl_8007FAE0: +/* 8007FAE0 0007CA40 2C 15 00 00 */ cmpwi r21, 0 +/* 8007FAE4 0007CA44 40 82 00 40 */ bne lbl_8007FB24 +/* 8007FAE8 0007CA48 7F E3 FB 78 */ mr r3, r31 +/* 8007FAEC 0007CA4C 48 2B F1 99 */ bl ReadLong__12CInputStreamFv +/* 8007FAF0 0007CA50 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8007FAF4 0007CA54 1C 83 00 34 */ mulli r4, r3, 0x34 +/* 8007FAF8 0007CA58 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8007FAFC 0007CA5C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8007FB00 0007CA60 90 10 00 00 */ stw r0, 0(r16) +/* 8007FB04 0007CA64 7C 85 22 14 */ add r4, r5, r4 +/* 8007FB08 0007CA68 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8007FB0C 0007CA6C 90 70 00 04 */ stw r3, 4(r16) +/* 8007FB10 0007CA70 90 10 00 08 */ stw r0, 8(r16) +/* 8007FB14 0007CA74 D3 F0 00 0C */ stfs f31, 0xc(r16) +/* 8007FB18 0007CA78 90 90 00 14 */ stw r4, 0x14(r16) +/* 8007FB1C 0007CA7C 9A 90 00 18 */ stb r20, 0x18(r16) +/* 8007FB20 0007CA80 48 00 00 28 */ b lbl_8007FB48 +lbl_8007FB24: +/* 8007FB24 0007CA84 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8007FB28 0007CA88 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8007FB2C 0007CA8C 90 10 00 00 */ stw r0, 0(r16) +/* 8007FB30 0007CA90 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8007FB34 0007CA94 90 70 00 04 */ stw r3, 4(r16) +/* 8007FB38 0007CA98 90 10 00 08 */ stw r0, 8(r16) +/* 8007FB3C 0007CA9C D3 F0 00 0C */ stfs f31, 0xc(r16) +/* 8007FB40 0007CAA0 92 D0 00 10 */ stw r22, 0x10(r16) +/* 8007FB44 0007CAA4 9A 90 00 18 */ stb r20, 0x18(r16) +lbl_8007FB48: +/* 8007FB48 0007CAA8 7E 16 83 78 */ mr r22, r16 +/* 8007FB4C 0007CAAC 3A B5 00 01 */ addi r21, r21, 1 +lbl_8007FB50: +/* 8007FB50 0007CAB0 7C 15 88 00 */ cmpw r21, r17 +/* 8007FB54 0007CAB4 41 80 FE 18 */ blt lbl_8007F96C +/* 8007FB58 0007CAB8 3B 7B 00 1C */ addi r27, r27, 0x1c +/* 8007FB5C 0007CABC 3A F7 00 01 */ addi r23, r23, 1 +lbl_8007FB60: +/* 8007FB60 0007CAC0 80 1C 00 2C */ lwz r0, 0x2c(r28) +/* 8007FB64 0007CAC4 7C 17 00 00 */ cmpw r23, r0 +/* 8007FB68 0007CAC8 41 80 FD EC */ blt lbl_8007F954 +lbl_8007FB6C: +/* 8007FB6C 0007CACC 3B 5A 00 34 */ addi r26, r26, 0x34 +/* 8007FB70 0007CAD0 3B 18 00 01 */ addi r24, r24, 1 +lbl_8007FB74: +/* 8007FB74 0007CAD4 7C 18 E8 00 */ cmpw r24, r29 +/* 8007FB78 0007CAD8 41 80 FC C8 */ blt lbl_8007F840 +/* 8007FB7C 0007CADC 7F C3 F3 78 */ mr r3, r30 +/* 8007FB80 0007CAE0 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8007FB84 0007CAE4 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8007FB88 0007CAE8 BA 01 00 D0 */ lmw r16, 0xd0(r1) +/* 8007FB8C 0007CAEC 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8007FB90 0007CAF0 7C 08 03 A6 */ mtlr r0 +/* 8007FB94 0007CAF4 38 21 01 20 */ addi r1, r1, 0x120 +/* 8007FB98 0007CAF8 4E 80 00 20 */ blr + +.global GetName__18CStateMachineStateCFv +GetName__18CStateMachineStateCFv: +/* 8007FB9C 0007CAFC 80 63 00 04 */ lwz r3, 4(r3) +/* 8007FBA0 0007CB00 28 03 00 00 */ cmplwi r3, 0 +/* 8007FBA4 0007CB04 41 82 00 0C */ beq lbl_8007FBB0 +/* 8007FBA8 0007CB08 38 63 00 0C */ addi r3, r3, 0xc +/* 8007FBAC 0007CB0C 4E 80 00 20 */ blr +lbl_8007FBB0: +/* 8007FBB0 0007CB10 38 60 00 00 */ li r3, 0 +/* 8007FBB4 0007CB14 4E 80 00 20 */ blr + +.global Setup__18CStateMachineStateFPC13CStateMachine +Setup__18CStateMachineStateFPC13CStateMachine: +/* 8007FBB8 0007CB18 90 83 00 00 */ stw r4, 0(r3) +/* 8007FBBC 0007CB1C 38 00 00 00 */ li r0, 0 +/* 8007FBC0 0007CB20 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) +/* 8007FBC4 0007CB24 90 03 00 04 */ stw r0, 4(r3) +/* 8007FBC8 0007CB28 D0 03 00 08 */ stfs f0, 8(r3) +/* 8007FBCC 0007CB2C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8007FBD0 0007CB30 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8007FBD4 0007CB34 4E 80 00 20 */ blr + +.global __ct__18CStateMachineStateFv +__ct__18CStateMachineStateFv: +/* 8007FBD8 0007CB38 38 80 00 00 */ li r4, 0 +/* 8007FBDC 0007CB3C C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) +/* 8007FBE0 0007CB40 90 83 00 00 */ stw r4, 0(r3) +/* 8007FBE4 0007CB44 90 83 00 04 */ stw r4, 4(r3) +/* 8007FBE8 0007CB48 D0 03 00 08 */ stfs f0, 8(r3) +/* 8007FBEC 0007CB4C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8007FBF0 0007CB50 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8007FBF4 0007CB54 88 03 00 18 */ lbz r0, 0x18(r3) +/* 8007FBF8 0007CB58 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8007FBFC 0007CB5C 98 03 00 18 */ stb r0, 0x18(r3) +/* 8007FC00 0007CB60 4E 80 00 20 */ blr + +.global "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8007FC04 0007CB64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007FC08 0007CB68 7C 08 02 A6 */ mflr r0 +/* 8007FC0C 0007CB6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007FC10 0007CB70 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8007FC14 0007CB74 7C DE 33 79 */ or. r30, r6, r6 +/* 8007FC18 0007CB78 7C 7B 1B 78 */ mr r27, r3 +/* 8007FC1C 0007CB7C 7C 9C 23 78 */ mr r28, r4 +/* 8007FC20 0007CB80 7C BD 2B 78 */ mr r29, r5 +/* 8007FC24 0007CB84 7C FF 3B 78 */ mr r31, r7 +/* 8007FC28 0007CB88 41 82 00 3C */ beq lbl_8007FC64 +/* 8007FC2C 0007CB8C 80 1B 00 00 */ lwz r0, 0(r27) +/* 8007FC30 0007CB90 28 00 00 00 */ cmplwi r0, 0 +/* 8007FC34 0007CB94 40 82 00 0C */ bne lbl_8007FC40 +/* 8007FC38 0007CB98 7F C4 F3 78 */ mr r4, r30 +/* 8007FC3C 0007CB9C 4B FF FF 7D */ bl Setup__18CStateMachineStateFPC13CStateMachine +lbl_8007FC40: +/* 8007FC40 0007CBA0 7F C3 F3 78 */ mr r3, r30 +/* 8007FC44 0007CBA4 7F E4 FB 78 */ mr r4, r31 +/* 8007FC48 0007CBA8 4B FF F9 9D */ bl "GetStateIndex__13CStateMachineCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8007FC4C 0007CBAC 7C 60 1B 78 */ mr r0, r3 +/* 8007FC50 0007CBB0 7F 63 DB 78 */ mr r3, r27 +/* 8007FC54 0007CBB4 7C 06 03 78 */ mr r6, r0 +/* 8007FC58 0007CBB8 7F 84 E3 78 */ mr r4, r28 +/* 8007FC5C 0007CBBC 7F A5 EB 78 */ mr r5, r29 +/* 8007FC60 0007CBC0 48 00 00 19 */ bl SetState__18CStateMachineStateFR13CStateManagerR3CAii +lbl_8007FC64: +/* 8007FC64 0007CBC4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8007FC68 0007CBC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007FC6C 0007CBCC 7C 08 03 A6 */ mtlr r0 +/* 8007FC70 0007CBD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007FC74 0007CBD4 4E 80 00 20 */ blr + +.global SetState__18CStateMachineStateFR13CStateManagerR3CAii +SetState__18CStateMachineStateFR13CStateManagerR3CAii: +/* 8007FC78 0007CBD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8007FC7C 0007CBDC 7C 08 02 A6 */ mflr r0 +/* 8007FC80 0007CBE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8007FC84 0007CBE4 1C 06 00 34 */ mulli r0, r6, 0x34 +/* 8007FC88 0007CBE8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8007FC8C 0007CBEC 7C 7B 1B 78 */ mr r27, r3 +/* 8007FC90 0007CBF0 7C 9C 23 78 */ mr r28, r4 +/* 8007FC94 0007CBF4 7C BD 2B 78 */ mr r29, r5 +/* 8007FC98 0007CBF8 80 63 00 00 */ lwz r3, 0(r3) +/* 8007FC9C 0007CBFC 83 DB 00 04 */ lwz r30, 4(r27) +/* 8007FCA0 0007CC00 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8007FCA4 0007CC04 7F E3 02 14 */ add r31, r3, r0 +/* 8007FCA8 0007CC08 7C 1E F8 40 */ cmplw r30, r31 +/* 8007FCAC 0007CC0C 41 82 00 90 */ beq lbl_8007FD3C +/* 8007FCB0 0007CC10 28 1E 00 00 */ cmplwi r30, 0 +/* 8007FCB4 0007CC14 41 82 00 30 */ beq lbl_8007FCE4 +/* 8007FCB8 0007CC18 7F C3 F3 78 */ mr r3, r30 +/* 8007FCBC 0007CC1C 48 30 9C 41 */ bl __ptmf_test +/* 8007FCC0 0007CC20 2C 03 00 00 */ cmpwi r3, 0 +/* 8007FCC4 0007CC24 41 82 00 20 */ beq lbl_8007FCE4 +/* 8007FCC8 0007CC28 C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2) +/* 8007FCCC 0007CC2C 7F A3 EB 78 */ mr r3, r29 +/* 8007FCD0 0007CC30 7F 84 E3 78 */ mr r4, r28 +/* 8007FCD4 0007CC34 7F CC F3 78 */ mr r12, r30 +/* 8007FCD8 0007CC38 38 A0 00 02 */ li r5, 2 +/* 8007FCDC 0007CC3C 48 30 9C 51 */ bl __ptmf_scall +/* 8007FCE0 0007CC40 60 00 00 00 */ nop +lbl_8007FCE4: +/* 8007FCE4 0007CC44 93 FB 00 04 */ stw r31, 4(r27) +/* 8007FCE8 0007CC48 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) +/* 8007FCEC 0007CC4C D0 1B 00 08 */ stfs f0, 8(r27) +/* 8007FCF0 0007CC50 80 7C 09 00 */ lwz r3, 0x900(r28) +/* 8007FCF4 0007CC54 48 29 27 E9 */ bl Float__9CRandom16Fv +/* 8007FCF8 0007CC58 D0 3B 00 0C */ stfs f1, 0xc(r27) +/* 8007FCFC 0007CC5C 38 60 00 00 */ li r3, 0 +/* 8007FD00 0007CC60 88 1B 00 18 */ lbz r0, 0x18(r27) +/* 8007FD04 0007CC64 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8007FD08 0007CC68 98 1B 00 18 */ stb r0, 0x18(r27) +/* 8007FD0C 0007CC6C 83 FB 00 04 */ lwz r31, 4(r27) +/* 8007FD10 0007CC70 7F E3 FB 78 */ mr r3, r31 +/* 8007FD14 0007CC74 48 30 9B E9 */ bl __ptmf_test +/* 8007FD18 0007CC78 2C 03 00 00 */ cmpwi r3, 0 +/* 8007FD1C 0007CC7C 41 82 00 20 */ beq lbl_8007FD3C +/* 8007FD20 0007CC80 C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2) +/* 8007FD24 0007CC84 7F A3 EB 78 */ mr r3, r29 +/* 8007FD28 0007CC88 7F 84 E3 78 */ mr r4, r28 +/* 8007FD2C 0007CC8C 7F EC FB 78 */ mr r12, r31 +/* 8007FD30 0007CC90 38 A0 00 00 */ li r5, 0 +/* 8007FD34 0007CC94 48 30 9B F9 */ bl __ptmf_scall +/* 8007FD38 0007CC98 60 00 00 00 */ nop +lbl_8007FD3C: +/* 8007FD3C 0007CC9C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8007FD40 0007CCA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8007FD44 0007CCA4 7C 08 03 A6 */ mtlr r0 +/* 8007FD48 0007CCA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8007FD4C 0007CCAC 4E 80 00 20 */ blr + +.global Update__18CStateMachineStateFR13CStateManagerR3CAif +Update__18CStateMachineStateFR13CStateManagerR3CAif: +/* 8007FD50 0007CCB0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8007FD54 0007CCB4 7C 08 02 A6 */ mflr r0 +/* 8007FD58 0007CCB8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8007FD5C 0007CCBC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8007FD60 0007CCC0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8007FD64 0007CCC4 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 8007FD68 0007CCC8 7C 7D 1B 78 */ mr r29, r3 +/* 8007FD6C 0007CCCC FF E0 08 90 */ fmr f31, f1 +/* 8007FD70 0007CCD0 80 03 00 04 */ lwz r0, 4(r3) +/* 8007FD74 0007CCD4 7C 9E 23 78 */ mr r30, r4 +/* 8007FD78 0007CCD8 7C BF 2B 78 */ mr r31, r5 +/* 8007FD7C 0007CCDC 28 00 00 00 */ cmplwi r0, 0 +/* 8007FD80 0007CCE0 41 82 01 84 */ beq lbl_8007FF04 +/* 8007FD84 0007CCE4 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8007FD88 0007CCE8 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8007FD8C 0007CCEC D0 1D 00 08 */ stfs f0, 8(r29) +/* 8007FD90 0007CCF0 83 9D 00 04 */ lwz r28, 4(r29) +/* 8007FD94 0007CCF4 7F 83 E3 78 */ mr r3, r28 +/* 8007FD98 0007CCF8 48 30 9B 65 */ bl __ptmf_test +/* 8007FD9C 0007CCFC 2C 03 00 00 */ cmpwi r3, 0 +/* 8007FDA0 0007CD00 41 82 00 20 */ beq lbl_8007FDC0 +/* 8007FDA4 0007CD04 FC 20 F8 90 */ fmr f1, f31 +/* 8007FDA8 0007CD08 7F E3 FB 78 */ mr r3, r31 +/* 8007FDAC 0007CD0C 7F C4 F3 78 */ mr r4, r30 +/* 8007FDB0 0007CD10 7F 8C E3 78 */ mr r12, r28 +/* 8007FDB4 0007CD14 38 A0 00 01 */ li r5, 1 +/* 8007FDB8 0007CD18 48 30 9B 75 */ bl __ptmf_scall +/* 8007FDBC 0007CD1C 60 00 00 00 */ nop +lbl_8007FDC0: +/* 8007FDC0 0007CD20 3B 40 00 00 */ li r26, 0 +/* 8007FDC4 0007CD24 3B 60 00 00 */ li r27, 0 +/* 8007FDC8 0007CD28 48 00 01 2C */ b lbl_8007FEF4 +lbl_8007FDCC: +/* 8007FDCC 0007CD2C 80 03 00 30 */ lwz r0, 0x30(r3) +/* 8007FDD0 0007CD30 3B 00 00 00 */ li r24, 0 +/* 8007FDD4 0007CD34 3A E0 00 01 */ li r23, 1 +/* 8007FDD8 0007CD38 7F 20 DA 14 */ add r25, r0, r27 +/* 8007FDDC 0007CD3C 48 00 00 64 */ b lbl_8007FE40 +lbl_8007FDE0: +/* 8007FDE0 0007CD40 7F 23 CB 78 */ mr r3, r25 +/* 8007FDE4 0007CD44 3A E0 00 00 */ li r23, 0 +/* 8007FDE8 0007CD48 3B 80 00 01 */ li r28, 1 +/* 8007FDEC 0007CD4C 48 30 9B 11 */ bl __ptmf_test +/* 8007FDF0 0007CD50 2C 03 00 00 */ cmpwi r3, 0 +/* 8007FDF4 0007CD54 41 82 00 38 */ beq lbl_8007FE2C +/* 8007FDF8 0007CD58 C0 39 00 0C */ lfs f1, 0xc(r25) +/* 8007FDFC 0007CD5C 7F E3 FB 78 */ mr r3, r31 +/* 8007FE00 0007CD60 7F C4 F3 78 */ mr r4, r30 +/* 8007FE04 0007CD64 7F 2C CB 78 */ mr r12, r25 +/* 8007FE08 0007CD68 48 30 9B 25 */ bl __ptmf_scall +/* 8007FE0C 0007CD6C 60 00 00 00 */ nop +/* 8007FE10 0007CD70 88 19 00 18 */ lbz r0, 0x18(r25) +/* 8007FE14 0007CD74 7C 7C 1B 78 */ mr r28, r3 +/* 8007FE18 0007CD78 28 00 00 00 */ cmplwi r0, 0 +/* 8007FE1C 0007CD7C 41 82 00 10 */ beq lbl_8007FE2C +/* 8007FE20 0007CD80 57 80 06 3E */ clrlwi r0, r28, 0x18 +/* 8007FE24 0007CD84 7C 00 00 34 */ cntlzw r0, r0 +/* 8007FE28 0007CD88 54 1C D9 7E */ srwi r28, r0, 5 +lbl_8007FE2C: +/* 8007FE2C 0007CD8C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8007FE30 0007CD90 41 82 00 10 */ beq lbl_8007FE40 +/* 8007FE34 0007CD94 83 19 00 14 */ lwz r24, 0x14(r25) +/* 8007FE38 0007CD98 3A E0 00 01 */ li r23, 1 +/* 8007FE3C 0007CD9C 83 39 00 10 */ lwz r25, 0x10(r25) +lbl_8007FE40: +/* 8007FE40 0007CDA0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8007FE44 0007CDA4 41 82 00 0C */ beq lbl_8007FE50 +/* 8007FE48 0007CDA8 28 19 00 00 */ cmplwi r25, 0 +/* 8007FE4C 0007CDAC 40 82 FF 94 */ bne lbl_8007FDE0 +lbl_8007FE50: +/* 8007FE50 0007CDB0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8007FE54 0007CDB4 41 82 00 98 */ beq lbl_8007FEEC +/* 8007FE58 0007CDB8 28 18 00 00 */ cmplwi r24, 0 +/* 8007FE5C 0007CDBC 41 82 00 90 */ beq lbl_8007FEEC +/* 8007FE60 0007CDC0 83 9D 00 04 */ lwz r28, 4(r29) +/* 8007FE64 0007CDC4 7F 83 E3 78 */ mr r3, r28 +/* 8007FE68 0007CDC8 48 30 9A 95 */ bl __ptmf_test +/* 8007FE6C 0007CDCC 2C 03 00 00 */ cmpwi r3, 0 +/* 8007FE70 0007CDD0 41 82 00 20 */ beq lbl_8007FE90 +/* 8007FE74 0007CDD4 C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2) +/* 8007FE78 0007CDD8 7F E3 FB 78 */ mr r3, r31 +/* 8007FE7C 0007CDDC 7F C4 F3 78 */ mr r4, r30 +/* 8007FE80 0007CDE0 7F 8C E3 78 */ mr r12, r28 +/* 8007FE84 0007CDE4 38 A0 00 02 */ li r5, 2 +/* 8007FE88 0007CDE8 48 30 9A A5 */ bl __ptmf_scall +/* 8007FE8C 0007CDEC 60 00 00 00 */ nop +lbl_8007FE90: +/* 8007FE90 0007CDF0 93 1D 00 04 */ stw r24, 4(r29) +/* 8007FE94 0007CDF4 38 60 00 00 */ li r3, 0 +/* 8007FE98 0007CDF8 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) +/* 8007FE9C 0007CDFC D0 1D 00 08 */ stfs f0, 8(r29) +/* 8007FEA0 0007CE00 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 8007FEA4 0007CE04 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8007FEA8 0007CE08 98 1D 00 18 */ stb r0, 0x18(r29) +/* 8007FEAC 0007CE0C 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8007FEB0 0007CE10 48 29 26 2D */ bl Float__9CRandom16Fv +/* 8007FEB4 0007CE14 D0 3D 00 0C */ stfs f1, 0xc(r29) +/* 8007FEB8 0007CE18 83 9D 00 04 */ lwz r28, 4(r29) +/* 8007FEBC 0007CE1C 7F 83 E3 78 */ mr r3, r28 +/* 8007FEC0 0007CE20 48 30 9A 3D */ bl __ptmf_test +/* 8007FEC4 0007CE24 2C 03 00 00 */ cmpwi r3, 0 +/* 8007FEC8 0007CE28 41 82 00 3C */ beq lbl_8007FF04 +/* 8007FECC 0007CE2C C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2) +/* 8007FED0 0007CE30 7F E3 FB 78 */ mr r3, r31 +/* 8007FED4 0007CE34 7F C4 F3 78 */ mr r4, r30 +/* 8007FED8 0007CE38 7F 8C E3 78 */ mr r12, r28 +/* 8007FEDC 0007CE3C 38 A0 00 00 */ li r5, 0 +/* 8007FEE0 0007CE40 48 30 9A 4D */ bl __ptmf_scall +/* 8007FEE4 0007CE44 60 00 00 00 */ nop +/* 8007FEE8 0007CE48 48 00 00 1C */ b lbl_8007FF04 +lbl_8007FEEC: +/* 8007FEEC 0007CE4C 3B 7B 00 1C */ addi r27, r27, 0x1c +/* 8007FEF0 0007CE50 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8007FEF4: +/* 8007FEF4 0007CE54 80 7D 00 04 */ lwz r3, 4(r29) +/* 8007FEF8 0007CE58 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 8007FEFC 0007CE5C 7C 1A 00 00 */ cmpw r26, r0 +/* 8007FF00 0007CE60 41 80 FE CC */ blt lbl_8007FDCC +lbl_8007FF04: +/* 8007FF04 0007CE64 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8007FF08 0007CE68 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8007FF0C 0007CE6C BA E1 00 0C */ lmw r23, 0xc(r1) +/* 8007FF10 0007CE70 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8007FF14 0007CE74 7C 08 03 A6 */ mtlr r0 +/* 8007FF18 0007CE78 38 21 00 40 */ addi r1, r1, 0x40 +/* 8007FF1C 0007CE7C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi": +/* 8007FF20 0007CE80 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8007FF24 0007CE84 7C 08 02 A6 */ mflr r0 +/* 8007FF28 0007CE88 90 01 00 34 */ stw r0, 0x34(r1) +/* 8007FF2C 0007CE8C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8007FF30 0007CE90 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8007FF34 0007CE94 7C 9E 23 78 */ mr r30, r4 +/* 8007FF38 0007CE98 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8007FF3C 0007CE9C 7C 7D 1B 78 */ mr r29, r3 +/* 8007FF40 0007CEA0 80 03 00 08 */ lwz r0, 8(r3) +/* 8007FF44 0007CEA4 7C 1E 00 00 */ cmpw r30, r0 +/* 8007FF48 0007CEA8 40 81 01 0C */ ble lbl_80080054 +/* 8007FF4C 0007CEAC 1C 7E 00 34 */ mulli r3, r30, 0x34 +/* 8007FF50 0007CEB0 2C 03 00 00 */ cmpwi r3, 0 +/* 8007FF54 0007CEB4 40 82 00 0C */ bne lbl_8007FF60 +/* 8007FF58 0007CEB8 3B E0 00 00 */ li r31, 0 +/* 8007FF5C 0007CEBC 48 00 00 18 */ b lbl_8007FF74 +lbl_8007FF60: +/* 8007FF60 0007CEC0 3C 80 80 3D */ lis r4, lbl_803CD628@ha +/* 8007FF64 0007CEC4 38 A0 00 00 */ li r5, 0 +/* 8007FF68 0007CEC8 38 84 D6 28 */ addi r4, r4, lbl_803CD628@l +/* 8007FF6C 0007CECC 48 29 58 AD */ bl __nwa__FUlPCcPCc +/* 8007FF70 0007CED0 7C 7F 1B 78 */ mr r31, r3 +lbl_8007FF74: +/* 8007FF74 0007CED4 80 1D 00 04 */ lwz r0, 4(r29) +/* 8007FF78 0007CED8 7F E5 FB 78 */ mr r5, r31 +/* 8007FF7C 0007CEDC 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 8007FF80 0007CEE0 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 8007FF84 0007CEE4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8007FF88 0007CEE8 7C 86 02 14 */ add r4, r6, r0 +/* 8007FF8C 0007CEEC 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8007FF90 0007CEF0 90 81 00 08 */ stw r4, 8(r1) +/* 8007FF94 0007CEF4 90 81 00 0C */ stw r4, 0xc(r1) +/* 8007FF98 0007CEF8 48 00 00 7C */ b lbl_80080014 +lbl_8007FF9C: +/* 8007FF9C 0007CEFC 28 05 00 00 */ cmplwi r5, 0 +/* 8007FFA0 0007CF00 41 82 00 6C */ beq lbl_8008000C +/* 8007FFA4 0007CF04 80 66 00 00 */ lwz r3, 0(r6) +/* 8007FFA8 0007CF08 80 06 00 04 */ lwz r0, 4(r6) +/* 8007FFAC 0007CF0C 90 65 00 00 */ stw r3, 0(r5) +/* 8007FFB0 0007CF10 90 05 00 04 */ stw r0, 4(r5) +/* 8007FFB4 0007CF14 80 06 00 08 */ lwz r0, 8(r6) +/* 8007FFB8 0007CF18 90 05 00 08 */ stw r0, 8(r5) +/* 8007FFBC 0007CF1C 80 66 00 0C */ lwz r3, 0xc(r6) +/* 8007FFC0 0007CF20 80 06 00 10 */ lwz r0, 0x10(r6) +/* 8007FFC4 0007CF24 90 65 00 0C */ stw r3, 0xc(r5) +/* 8007FFC8 0007CF28 90 05 00 10 */ stw r0, 0x10(r5) +/* 8007FFCC 0007CF2C 80 66 00 14 */ lwz r3, 0x14(r6) +/* 8007FFD0 0007CF30 80 06 00 18 */ lwz r0, 0x18(r6) +/* 8007FFD4 0007CF34 90 65 00 14 */ stw r3, 0x14(r5) +/* 8007FFD8 0007CF38 90 05 00 18 */ stw r0, 0x18(r5) +/* 8007FFDC 0007CF3C 80 66 00 1C */ lwz r3, 0x1c(r6) +/* 8007FFE0 0007CF40 80 06 00 20 */ lwz r0, 0x20(r6) +/* 8007FFE4 0007CF44 90 65 00 1C */ stw r3, 0x1c(r5) +/* 8007FFE8 0007CF48 90 05 00 20 */ stw r0, 0x20(r5) +/* 8007FFEC 0007CF4C 80 66 00 24 */ lwz r3, 0x24(r6) +/* 8007FFF0 0007CF50 80 06 00 28 */ lwz r0, 0x28(r6) +/* 8007FFF4 0007CF54 90 65 00 24 */ stw r3, 0x24(r5) +/* 8007FFF8 0007CF58 90 05 00 28 */ stw r0, 0x28(r5) +/* 8007FFFC 0007CF5C 80 06 00 2C */ lwz r0, 0x2c(r6) +/* 80080000 0007CF60 90 05 00 2C */ stw r0, 0x2c(r5) +/* 80080004 0007CF64 80 06 00 30 */ lwz r0, 0x30(r6) +/* 80080008 0007CF68 90 05 00 30 */ stw r0, 0x30(r5) +lbl_8008000C: +/* 8008000C 0007CF6C 38 A5 00 34 */ addi r5, r5, 0x34 +/* 80080010 0007CF70 38 C6 00 34 */ addi r6, r6, 0x34 +lbl_80080014: +/* 80080014 0007CF74 7C 06 20 40 */ cmplw r6, r4 +/* 80080018 0007CF78 40 82 FF 84 */ bne lbl_8007FF9C +/* 8008001C 0007CF7C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80080020 0007CF80 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80080024 0007CF84 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 80080028 0007CF88 7C 64 1B 78 */ mr r4, r3 +/* 8008002C 0007CF8C 7C 03 02 14 */ add r0, r3, r0 +/* 80080030 0007CF90 48 00 00 08 */ b lbl_80080038 +lbl_80080034: +/* 80080034 0007CF94 38 84 00 34 */ addi r4, r4, 0x34 +lbl_80080038: +/* 80080038 0007CF98 7C 04 00 40 */ cmplw r4, r0 +/* 8008003C 0007CF9C 40 82 FF F8 */ bne lbl_80080034 +/* 80080040 0007CFA0 28 03 00 00 */ cmplwi r3, 0 +/* 80080044 0007CFA4 41 82 00 08 */ beq lbl_8008004C +/* 80080048 0007CFA8 48 29 58 E9 */ bl Free__7CMemoryFPCv +lbl_8008004C: +/* 8008004C 0007CFAC 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80080050 0007CFB0 93 DD 00 08 */ stw r30, 8(r29) +lbl_80080054: +/* 80080054 0007CFB4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80080058 0007CFB8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8008005C 0007CFBC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80080060 0007CFC0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80080064 0007CFC4 7C 08 03 A6 */ mtlr r0 +/* 80080068 0007CFC8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8008006C 0007CFCC 4E 80 00 20 */ blr + +.global "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi": +/* 80080070 0007CFD0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80080074 0007CFD4 7C 08 02 A6 */ mflr r0 +/* 80080078 0007CFD8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8008007C 0007CFDC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80080080 0007CFE0 7C 9F 23 78 */ mr r31, r4 +/* 80080084 0007CFE4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80080088 0007CFE8 7C 7E 1B 78 */ mr r30, r3 +/* 8008008C 0007CFEC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80080090 0007CFF0 80 03 00 08 */ lwz r0, 8(r3) +/* 80080094 0007CFF4 7C 1F 00 00 */ cmpw r31, r0 +/* 80080098 0007CFF8 40 81 00 DC */ ble lbl_80080174 +/* 8008009C 0007CFFC 1C 7F 00 1C */ mulli r3, r31, 0x1c +/* 800800A0 0007D000 2C 03 00 00 */ cmpwi r3, 0 +/* 800800A4 0007D004 40 82 00 0C */ bne lbl_800800B0 +/* 800800A8 0007D008 3B A0 00 00 */ li r29, 0 +/* 800800AC 0007D00C 48 00 00 18 */ b lbl_800800C4 +lbl_800800B0: +/* 800800B0 0007D010 3C 80 80 3D */ lis r4, lbl_803CD628@ha +/* 800800B4 0007D014 38 A0 00 00 */ li r5, 0 +/* 800800B8 0007D018 38 84 D6 28 */ addi r4, r4, lbl_803CD628@l +/* 800800BC 0007D01C 48 29 57 5D */ bl __nwa__FUlPCcPCc +/* 800800C0 0007D020 7C 7D 1B 78 */ mr r29, r3 +lbl_800800C4: +/* 800800C4 0007D024 80 1E 00 04 */ lwz r0, 4(r30) +/* 800800C8 0007D028 7F A5 EB 78 */ mr r5, r29 +/* 800800CC 0007D02C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 800800D0 0007D030 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 800800D4 0007D034 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800800D8 0007D038 7C 86 02 14 */ add r4, r6, r0 +/* 800800DC 0007D03C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800800E0 0007D040 90 81 00 08 */ stw r4, 8(r1) +/* 800800E4 0007D044 90 81 00 0C */ stw r4, 0xc(r1) +/* 800800E8 0007D048 48 00 00 4C */ b lbl_80080134 +lbl_800800EC: +/* 800800EC 0007D04C 28 05 00 00 */ cmplwi r5, 0 +/* 800800F0 0007D050 41 82 00 3C */ beq lbl_8008012C +/* 800800F4 0007D054 80 66 00 00 */ lwz r3, 0(r6) +/* 800800F8 0007D058 80 06 00 04 */ lwz r0, 4(r6) +/* 800800FC 0007D05C 90 65 00 00 */ stw r3, 0(r5) +/* 80080100 0007D060 90 05 00 04 */ stw r0, 4(r5) +/* 80080104 0007D064 80 06 00 08 */ lwz r0, 8(r6) +/* 80080108 0007D068 90 05 00 08 */ stw r0, 8(r5) +/* 8008010C 0007D06C C0 06 00 0C */ lfs f0, 0xc(r6) +/* 80080110 0007D070 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 80080114 0007D074 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80080118 0007D078 90 05 00 10 */ stw r0, 0x10(r5) +/* 8008011C 0007D07C 80 06 00 14 */ lwz r0, 0x14(r6) +/* 80080120 0007D080 90 05 00 14 */ stw r0, 0x14(r5) +/* 80080124 0007D084 88 06 00 18 */ lbz r0, 0x18(r6) +/* 80080128 0007D088 98 05 00 18 */ stb r0, 0x18(r5) +lbl_8008012C: +/* 8008012C 0007D08C 38 A5 00 1C */ addi r5, r5, 0x1c +/* 80080130 0007D090 38 C6 00 1C */ addi r6, r6, 0x1c +lbl_80080134: +/* 80080134 0007D094 7C 06 20 40 */ cmplw r6, r4 +/* 80080138 0007D098 40 82 FF B4 */ bne lbl_800800EC +/* 8008013C 0007D09C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80080140 0007D0A0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80080144 0007D0A4 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80080148 0007D0A8 7C 64 1B 78 */ mr r4, r3 +/* 8008014C 0007D0AC 7C 03 02 14 */ add r0, r3, r0 +/* 80080150 0007D0B0 48 00 00 08 */ b lbl_80080158 +lbl_80080154: +/* 80080154 0007D0B4 38 84 00 1C */ addi r4, r4, 0x1c +lbl_80080158: +/* 80080158 0007D0B8 7C 04 00 40 */ cmplw r4, r0 +/* 8008015C 0007D0BC 40 82 FF F8 */ bne lbl_80080154 +/* 80080160 0007D0C0 28 03 00 00 */ cmplwi r3, 0 +/* 80080164 0007D0C4 41 82 00 08 */ beq lbl_8008016C +/* 80080168 0007D0C8 48 29 57 C9 */ bl Free__7CMemoryFPCv +lbl_8008016C: +/* 8008016C 0007D0CC 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80080170 0007D0D0 93 FE 00 08 */ stw r31, 8(r30) +lbl_80080174: +/* 80080174 0007D0D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80080178 0007D0D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8008017C 0007D0DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80080180 0007D0E0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80080184 0007D0E4 7C 08 03 A6 */ mtlr r0 +/* 80080188 0007D0E8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8008018C 0007D0EC 4E 80 00 20 */ blr + +.global FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer_0 +FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer_0: +/* 80080190 0007D0F0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80080194 0007D0F4 7C 08 02 A6 */ mflr r0 +/* 80080198 0007D0F8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8008019C 0007D0FC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800801A0 0007D100 7C 7F 1B 78 */ mr r31, r3 +/* 800801A4 0007D104 38 60 00 48 */ li r3, 0x48 +/* 800801A8 0007D108 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800801AC 0007D10C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800801B0 0007D110 7C BD 2B 78 */ mr r29, r5 +/* 800801B4 0007D114 38 A0 00 00 */ li r5, 0 +/* 800801B8 0007D118 93 81 00 20 */ stw r28, 0x20(r1) +/* 800801BC 0007D11C 7C 9C 23 78 */ mr r28, r4 +/* 800801C0 0007D120 3C 80 80 3D */ lis r4, lbl_803CD66C@ha +/* 800801C4 0007D124 80 1C 00 04 */ lwz r0, 4(r28) +/* 800801C8 0007D128 38 84 D6 6C */ addi r4, r4, lbl_803CD66C@l +/* 800801CC 0007D12C 90 0D 84 50 */ stw r0, lbl_805A7010@sda21(r13) +/* 800801D0 0007D130 48 29 56 9D */ bl __nw__FUlPCcPCc +/* 800801D4 0007D134 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800801D8 0007D138 41 82 00 28 */ beq lbl_80080200 +/* 800801DC 0007D13C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800801E0 0007D140 7F 84 E3 78 */ mr r4, r28 +/* 800801E4 0007D144 38 63 00 04 */ addi r3, r3, 4 +/* 800801E8 0007D148 48 2B BA 69 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 800801EC 0007D14C 7C 65 1B 78 */ mr r5, r3 +/* 800801F0 0007D150 7F C3 F3 78 */ mr r3, r30 +/* 800801F4 0007D154 7F A4 EB 78 */ mr r4, r29 +/* 800801F8 0007D158 48 00 0D 05 */ bl __ct__8CMapAreaFR12CInputStreamUi +/* 800801FC 0007D15C 7C 7E 1B 78 */ mr r30, r3 +lbl_80080200: +/* 80080200 0007D160 7C 1E 00 D0 */ neg r0, r30 +/* 80080204 0007D164 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80080208 0007D168 7C 00 F3 78 */ or r0, r0, r30 +/* 8008020C 0007D16C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80080210 0007D170 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80080214 0007D174 38 81 00 08 */ addi r4, r1, 8 +/* 80080218 0007D178 98 01 00 08 */ stb r0, 8(r1) +/* 8008021C 0007D17C 48 00 01 19 */ bl "GetIObjObjectFor__17TToken<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>" +/* 80080220 0007D180 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80080224 0007D184 38 00 00 00 */ li r0, 0 +/* 80080228 0007D188 98 01 00 10 */ stb r0, 0x10(r1) +/* 8008022C 0007D18C 7C 03 00 D0 */ neg r0, r3 +/* 80080230 0007D190 7C 00 1B 78 */ or r0, r0, r3 +/* 80080234 0007D194 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80080238 0007D198 98 1F 00 00 */ stb r0, 0(r31) +/* 8008023C 0007D19C 90 7F 00 04 */ stw r3, 4(r31) +/* 80080240 0007D1A0 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80080244 0007D1A4 28 00 00 00 */ cmplwi r0, 0 +/* 80080248 0007D1A8 41 82 00 24 */ beq lbl_8008026C +/* 8008024C 0007D1AC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80080250 0007D1B0 28 03 00 00 */ cmplwi r3, 0 +/* 80080254 0007D1B4 41 82 00 18 */ beq lbl_8008026C +/* 80080258 0007D1B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8008025C 0007D1BC 38 80 00 01 */ li r4, 1 +/* 80080260 0007D1C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80080264 0007D1C4 7D 89 03 A6 */ mtctr r12 +/* 80080268 0007D1C8 4E 80 04 21 */ bctrl +lbl_8008026C: +/* 8008026C 0007D1CC 88 01 00 08 */ lbz r0, 8(r1) +/* 80080270 0007D1D0 28 00 00 00 */ cmplwi r0, 0 +/* 80080274 0007D1D4 41 82 00 10 */ beq lbl_80080284 +/* 80080278 0007D1D8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8008027C 0007D1DC 38 80 00 01 */ li r4, 1 +/* 80080280 0007D1E0 48 00 0B F9 */ bl __dt__8CMapAreaFv +lbl_80080284: +/* 80080284 0007D1E4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80080288 0007D1E8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8008028C 0007D1EC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80080290 0007D1F0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80080294 0007D1F4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80080298 0007D1F8 7C 08 03 A6 */ mtlr r0 +/* 8008029C 0007D1FC 38 21 00 30 */ addi r1, r1, 0x30 +/* 800802A0 0007D200 4E 80 00 20 */ blr + +.global "__dt__35TObjOwnerDerivedFromIObj<8CMapArea>Fv" +"__dt__35TObjOwnerDerivedFromIObj<8CMapArea>Fv": +/* 800802A4 0007D204 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800802A8 0007D208 7C 08 02 A6 */ mflr r0 +/* 800802AC 0007D20C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800802B0 0007D210 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800802B4 0007D214 7C 9F 23 78 */ mr r31, r4 +/* 800802B8 0007D218 93 C1 00 08 */ stw r30, 8(r1) +/* 800802BC 0007D21C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800802C0 0007D220 41 82 00 58 */ beq lbl_80080318 +/* 800802C4 0007D224 3C 60 80 3E */ lis r3, lbl_803DAB80@ha +/* 800802C8 0007D228 38 03 AB 80 */ addi r0, r3, lbl_803DAB80@l +/* 800802CC 0007D22C 90 1E 00 00 */ stw r0, 0(r30) +/* 800802D0 0007D230 80 7E 00 04 */ lwz r3, 4(r30) +/* 800802D4 0007D234 28 03 00 00 */ cmplwi r3, 0 +/* 800802D8 0007D238 41 82 00 0C */ beq lbl_800802E4 +/* 800802DC 0007D23C 38 80 00 01 */ li r4, 1 +/* 800802E0 0007D240 48 00 0B 99 */ bl __dt__8CMapAreaFv +lbl_800802E4: +/* 800802E4 0007D244 28 1E 00 00 */ cmplwi r30, 0 +/* 800802E8 0007D248 41 82 00 20 */ beq lbl_80080308 +/* 800802EC 0007D24C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 800802F0 0007D250 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 800802F4 0007D254 90 1E 00 00 */ stw r0, 0(r30) +/* 800802F8 0007D258 41 82 00 10 */ beq lbl_80080308 +/* 800802FC 0007D25C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80080300 0007D260 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80080304 0007D264 90 1E 00 00 */ stw r0, 0(r30) +lbl_80080308: +/* 80080308 0007D268 7F E0 07 35 */ extsh. r0, r31 +/* 8008030C 0007D26C 40 81 00 0C */ ble lbl_80080318 +/* 80080310 0007D270 7F C3 F3 78 */ mr r3, r30 +/* 80080314 0007D274 48 29 56 1D */ bl Free__7CMemoryFPCv +lbl_80080318: +/* 80080318 0007D278 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008031C 0007D27C 7F C3 F3 78 */ mr r3, r30 +/* 80080320 0007D280 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80080324 0007D284 83 C1 00 08 */ lwz r30, 8(r1) +/* 80080328 0007D288 7C 08 03 A6 */ mtlr r0 +/* 8008032C 0007D28C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80080330 0007D290 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__17TToken<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>" +"GetIObjObjectFor__17TToken<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>": +/* 80080334 0007D294 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80080338 0007D298 7C 08 02 A6 */ mflr r0 +/* 8008033C 0007D29C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80080340 0007D2A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80080344 0007D2A4 7C 7F 1B 78 */ mr r31, r3 +/* 80080348 0007D2A8 48 00 00 19 */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>" +/* 8008034C 0007D2AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80080350 0007D2B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80080354 0007D2B4 7C 08 03 A6 */ mtlr r0 +/* 80080358 0007D2B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008035C 0007D2BC 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>" +"GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>": +/* 80080360 0007D2C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80080364 0007D2C4 7C 08 02 A6 */ mflr r0 +/* 80080368 0007D2C8 3C A0 80 3D */ lis r5, lbl_803CD66C@ha +/* 8008036C 0007D2CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80080370 0007D2D0 38 05 D6 6C */ addi r0, r5, lbl_803CD66C@l +/* 80080374 0007D2D4 38 A0 00 00 */ li r5, 0 +/* 80080378 0007D2D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008037C 0007D2DC 7C 9F 23 78 */ mr r31, r4 +/* 80080380 0007D2E0 7C 04 03 78 */ mr r4, r0 +/* 80080384 0007D2E4 93 C1 00 08 */ stw r30, 8(r1) +/* 80080388 0007D2E8 7C 7E 1B 78 */ mr r30, r3 +/* 8008038C 0007D2EC 38 60 00 08 */ li r3, 8 +/* 80080390 0007D2F0 48 29 54 DD */ bl __nw__FUlPCcPCc +/* 80080394 0007D2F4 28 03 00 00 */ cmplwi r3, 0 +/* 80080398 0007D2F8 41 82 00 38 */ beq lbl_800803D0 +/* 8008039C 0007D2FC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 800803A0 0007D300 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 800803A4 0007D304 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 800803A8 0007D308 3C 80 80 3E */ lis r4, lbl_803DAB80@ha +/* 800803AC 0007D30C 90 03 00 00 */ stw r0, 0(r3) +/* 800803B0 0007D310 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 800803B4 0007D314 38 A0 00 00 */ li r5, 0 +/* 800803B8 0007D318 38 04 AB 80 */ addi r0, r4, lbl_803DAB80@l +/* 800803BC 0007D31C 90 C3 00 00 */ stw r6, 0(r3) +/* 800803C0 0007D320 98 BF 00 00 */ stb r5, 0(r31) +/* 800803C4 0007D324 80 9F 00 04 */ lwz r4, 4(r31) +/* 800803C8 0007D328 90 83 00 04 */ stw r4, 4(r3) +/* 800803CC 0007D32C 90 03 00 00 */ stw r0, 0(r3) +lbl_800803D0: +/* 800803D0 0007D330 7C 03 00 D0 */ neg r0, r3 +/* 800803D4 0007D334 7C 00 1B 78 */ or r0, r0, r3 +/* 800803D8 0007D338 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800803DC 0007D33C 98 1E 00 00 */ stb r0, 0(r30) +/* 800803E0 0007D340 90 7E 00 04 */ stw r3, 4(r30) +/* 800803E4 0007D344 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800803E8 0007D348 83 C1 00 08 */ lwz r30, 8(r1) +/* 800803EC 0007D34C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800803F0 0007D350 7C 08 03 A6 */ mtlr r0 +/* 800803F4 0007D354 38 21 00 10 */ addi r1, r1, 0x10 +/* 800803F8 0007D358 4E 80 00 20 */ blr + +.global GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId +GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId: +/* 800803FC 0007D35C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80080400 0007D360 7C 08 02 A6 */ mflr r0 +/* 80080404 0007D364 90 01 00 14 */ stw r0, 0x14(r1) +/* 80080408 0007D368 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008040C 0007D36C 7C 9F 23 78 */ mr r31, r4 +/* 80080410 0007D370 81 83 00 00 */ lwz r12, 0(r3) +/* 80080414 0007D374 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80080418 0007D378 7D 89 03 A6 */ mtctr r12 +/* 8008041C 0007D37C 4E 80 04 21 */ bctrl +/* 80080420 0007D380 3C 03 4E 54 */ addis r0, r3, 0x4e54 +/* 80080424 0007D384 28 00 4D 65 */ cmplwi r0, 0x4d65 +/* 80080428 0007D388 40 82 00 24 */ bne lbl_8008044C +/* 8008042C 0007D38C 3C 80 80 3D */ lis r4, lbl_803CD640@ha +/* 80080430 0007D390 3C 60 80 47 */ lis r3, lbl_8046C3E0@ha +/* 80080434 0007D394 38 84 D6 40 */ addi r4, r4, lbl_803CD640@l +/* 80080438 0007D398 7C 84 F8 AE */ lbzx r4, r4, r31 +/* 8008043C 0007D39C 38 03 C3 E0 */ addi r0, r3, lbl_8046C3E0@l +/* 80080440 0007D3A0 1C 64 00 0C */ mulli r3, r4, 0xc +/* 80080444 0007D3A4 7C 60 1A 14 */ add r3, r0, r3 +/* 80080448 0007D3A8 48 00 00 0C */ b lbl_80080454 +lbl_8008044C: +/* 8008044C 0007D3AC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80080450 0007D3B0 38 63 66 A0 */ addi r3, r3, skZero3f@l +lbl_80080454: +/* 80080454 0007D3B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80080458 0007D3B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008045C 0007D3BC 7C 08 03 A6 */ mtlr r0 +/* 80080460 0007D3C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80080464 0007D3C4 4E 80 00 20 */ blr + +.global GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId: +/* 80080468 0007D3C8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8008046C 0007D3CC 7C 08 02 A6 */ mflr r0 +/* 80080470 0007D3D0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80080474 0007D3D4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80080478 0007D3D8 7C BF 2B 78 */ mr r31, r5 +/* 8008047C 0007D3DC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80080480 0007D3E0 7C DE 33 78 */ mr r30, r6 +/* 80080484 0007D3E4 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80080488 0007D3E8 7C 7D 1B 78 */ mr r29, r3 +/* 8008048C 0007D3EC 7F E3 FB 78 */ mr r3, r31 +/* 80080490 0007D3F0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80080494 0007D3F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80080498 0007D3F8 7D 89 03 A6 */ mtctr r12 +/* 8008049C 0007D3FC 4E 80 04 21 */ bctrl +/* 800804A0 0007D400 3C 03 4E 54 */ addis r0, r3, 0x4e54 +/* 800804A4 0007D404 28 00 4D 65 */ cmplwi r0, 0x4d65 +/* 800804A8 0007D408 40 82 00 70 */ bne lbl_80080518 +/* 800804AC 0007D40C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800804B0 0007D410 7F E3 FB 78 */ mr r3, r31 +/* 800804B4 0007D414 38 81 00 14 */ addi r4, r1, 0x14 +/* 800804B8 0007D418 81 9F 00 00 */ lwz r12, 0(r31) +/* 800804BC 0007D41C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800804C0 0007D420 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800804C4 0007D424 7D 89 03 A6 */ mtctr r12 +/* 800804C8 0007D428 4E 80 04 21 */ bctrl +/* 800804CC 0007D42C 81 83 00 00 */ lwz r12, 0(r3) +/* 800804D0 0007D430 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800804D4 0007D434 7D 89 03 A6 */ mtctr r12 +/* 800804D8 0007D438 4E 80 04 21 */ bctrl +/* 800804DC 0007D43C 3C A0 80 3D */ lis r5, lbl_803CD640@ha +/* 800804E0 0007D440 3C 80 80 47 */ lis r4, lbl_8046C3E0@ha +/* 800804E4 0007D444 38 A5 D6 40 */ addi r5, r5, lbl_803CD640@l +/* 800804E8 0007D448 7C 7F 1B 78 */ mr r31, r3 +/* 800804EC 0007D44C 7C A5 F0 AE */ lbzx r5, r5, r30 +/* 800804F0 0007D450 38 04 C3 E0 */ addi r0, r4, lbl_8046C3E0@l +/* 800804F4 0007D454 38 61 00 18 */ addi r3, r1, 0x18 +/* 800804F8 0007D458 1C 85 00 0C */ mulli r4, r5, 0xc +/* 800804FC 0007D45C 7C 80 22 14 */ add r4, r0, r4 +/* 80080500 0007D460 48 29 2C 41 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80080504 0007D464 7F A3 EB 78 */ mr r3, r29 +/* 80080508 0007D468 7F E5 FB 78 */ mr r5, r31 +/* 8008050C 0007D46C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80080510 0007D470 48 29 24 41 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80080514 0007D474 48 00 00 40 */ b lbl_80080554 +lbl_80080518: +/* 80080518 0007D478 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8008051C 0007D47C 7F E3 FB 78 */ mr r3, r31 +/* 80080520 0007D480 38 81 00 0C */ addi r4, r1, 0xc +/* 80080524 0007D484 81 9F 00 00 */ lwz r12, 0(r31) +/* 80080528 0007D488 93 C1 00 08 */ stw r30, 8(r1) +/* 8008052C 0007D48C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80080530 0007D490 7D 89 03 A6 */ mtctr r12 +/* 80080534 0007D494 4E 80 04 21 */ bctrl +/* 80080538 0007D498 81 83 00 00 */ lwz r12, 0(r3) +/* 8008053C 0007D49C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80080540 0007D4A0 7D 89 03 A6 */ mtctr r12 +/* 80080544 0007D4A4 4E 80 04 21 */ bctrl +/* 80080548 0007D4A8 7C 64 1B 78 */ mr r4, r3 +/* 8008054C 0007D4AC 7F A3 EB 78 */ mr r3, r29 +/* 80080550 0007D4B0 48 29 26 25 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_80080554: +/* 80080554 0007D4B4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80080558 0007D4B8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8008055C 0007D4BC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80080560 0007D4C0 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80080564 0007D4C4 7C 08 03 A6 */ mtlr r0 +/* 80080568 0007D4C8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8008056C 0007D4CC 4E 80 00 20 */ blr + +.global SetupGXMaterial__Q28CMapArea15CMapAreaSurfaceFv +SetupGXMaterial__Q28CMapArea15CMapAreaSurfaceFv: +/* 80080570 0007D4D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80080574 0007D4D4 7C 08 02 A6 */ mflr r0 +/* 80080578 0007D4D8 3C 80 80 3D */ lis r4, lbl_803CD630@ha +/* 8008057C 0007D4DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80080580 0007D4E0 38 E4 D6 30 */ addi r7, r4, lbl_803CD630@l +/* 80080584 0007D4E4 38 61 00 08 */ addi r3, r1, 8 +/* 80080588 0007D4E8 80 C7 00 00 */ lwz r6, 0(r7) +/* 8008058C 0007D4EC 80 A7 00 04 */ lwz r5, 4(r7) +/* 80080590 0007D4F0 80 87 00 08 */ lwz r4, 8(r7) +/* 80080594 0007D4F4 80 07 00 0C */ lwz r0, 0xc(r7) +/* 80080598 0007D4F8 90 C1 00 08 */ stw r6, 8(r1) +/* 8008059C 0007D4FC 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800805A0 0007D500 90 81 00 10 */ stw r4, 0x10(r1) +/* 800805A4 0007D504 90 01 00 14 */ stw r0, 0x14(r1) +/* 800805A8 0007D508 48 28 78 81 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 800805AC 0007D50C 38 60 00 01 */ li r3, 1 +/* 800805B0 0007D510 48 28 88 A1 */ bl SetNumChans__3CGXFUc +/* 800805B4 0007D514 38 60 00 00 */ li r3, 0 +/* 800805B8 0007D518 48 28 88 5D */ bl SetNumTexGens__3CGXFUc +/* 800805BC 0007D51C 38 60 00 01 */ li r3, 1 +/* 800805C0 0007D520 48 28 86 D1 */ bl SetNumTevStages__3CGXFUc +/* 800805C4 0007D524 38 60 00 00 */ li r3, 0 +/* 800805C8 0007D528 38 80 00 00 */ li r4, 0 +/* 800805CC 0007D52C 38 A0 00 00 */ li r5, 0 +/* 800805D0 0007D530 38 C0 00 01 */ li r6, 1 +/* 800805D4 0007D534 38 E0 00 00 */ li r7, 0 +/* 800805D8 0007D538 39 00 00 00 */ li r8, 0 +/* 800805DC 0007D53C 39 20 00 02 */ li r9, 2 +/* 800805E0 0007D540 48 28 86 ED */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 800805E4 0007D544 38 60 00 00 */ li r3, 0 +/* 800805E8 0007D548 38 80 00 0F */ li r4, 0xf +/* 800805EC 0007D54C 38 A0 00 0F */ li r5, 0xf +/* 800805F0 0007D550 38 C0 00 0F */ li r6, 0xf +/* 800805F4 0007D554 38 E0 00 0E */ li r7, 0xe +/* 800805F8 0007D558 48 28 85 F5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 800805FC 0007D55C 38 60 00 00 */ li r3, 0 +/* 80080600 0007D560 38 80 00 07 */ li r4, 7 +/* 80080604 0007D564 38 A0 00 07 */ li r5, 7 +/* 80080608 0007D568 38 C0 00 07 */ li r6, 7 +/* 8008060C 0007D56C 38 E0 00 06 */ li r7, 6 +/* 80080610 0007D570 48 28 85 85 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80080614 0007D574 38 60 00 00 */ li r3, 0 +/* 80080618 0007D578 38 80 00 00 */ li r4, 0 +/* 8008061C 0007D57C 38 A0 00 00 */ li r5, 0 +/* 80080620 0007D580 38 C0 00 00 */ li r6, 0 +/* 80080624 0007D584 38 E0 00 01 */ li r7, 1 +/* 80080628 0007D588 39 00 00 00 */ li r8, 0 +/* 8008062C 0007D58C 48 28 85 0D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 80080630 0007D590 38 60 00 00 */ li r3, 0 +/* 80080634 0007D594 38 80 00 00 */ li r4, 0 +/* 80080638 0007D598 38 A0 00 00 */ li r5, 0 +/* 8008063C 0007D59C 38 C0 00 00 */ li r6, 0 +/* 80080640 0007D5A0 38 E0 00 01 */ li r7, 1 +/* 80080644 0007D5A4 39 00 00 00 */ li r8, 0 +/* 80080648 0007D5A8 48 28 84 39 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8008064C 0007D5AC 38 60 00 00 */ li r3, 0 +/* 80080650 0007D5B0 38 80 00 0C */ li r4, 0xc +/* 80080654 0007D5B4 48 28 83 8D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 80080658 0007D5B8 38 60 00 00 */ li r3, 0 +/* 8008065C 0007D5BC 38 80 00 1C */ li r4, 0x1c +/* 80080660 0007D5C0 48 28 83 3D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 80080664 0007D5C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80080668 0007D5C8 7C 08 03 A6 */ mtlr r0 +/* 8008066C 0007D5CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80080670 0007D5D0 4E 80 00 20 */ blr + +.global Draw__Q28CMapArea15CMapAreaSurfaceCFPC9CVector3fRC6CColorRC6CColorf +Draw__Q28CMapArea15CMapAreaSurfaceCFPC9CVector3fRC6CColorRC6CColorf: +/* 80080674 0007D5D4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80080678 0007D5D8 7C 08 02 A6 */ mflr r0 +/* 8008067C 0007D5DC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80080680 0007D5E0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80080684 0007D5E4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80080688 0007D5E8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8008068C 0007D5EC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80080690 0007D5F0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80080694 0007D5F4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80080698 0007D5F8 BE A1 00 24 */ stmw r21, 0x24(r1) +/* 8008069C 0007D5FC FF A0 08 90 */ fmr f29, f1 +/* 800806A0 0007D600 7C 7E 1B 78 */ mr r30, r3 +/* 800806A4 0007D604 7C B6 2B 78 */ mr r22, r5 +/* 800806A8 0007D608 7C DF 33 78 */ mr r31, r6 +/* 800806AC 0007D60C E0 16 A0 03 */ psq_l f0, 3(r22), 1, qr2 +/* 800806B0 0007D610 C0 42 89 88 */ lfs f2, lbl_805AA6A8@sda21(r2) +/* 800806B4 0007D614 C0 22 89 8C */ lfs f1, lbl_805AA6AC@sda21(r2) +/* 800806B8 0007D618 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800806BC 0007D61C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800806C0 0007D620 7C 00 00 26 */ mfcr r0 +/* 800806C4 0007D624 54 15 17 FE */ rlwinm r21, r0, 2, 0x1f, 0x1f +/* 800806C8 0007D628 E0 1F A0 03 */ psq_l f0, 3(r31), 1, qr2 +/* 800806CC 0007D62C EC 02 00 32 */ fmuls f0, f2, f0 +/* 800806D0 0007D630 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800806D4 0007D634 7C 00 00 26 */ mfcr r0 +/* 800806D8 0007D638 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 800806DC 0007D63C 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 800806E0 0007D640 28 04 00 00 */ cmplwi r4, 0 +/* 800806E4 0007D644 83 85 00 00 */ lwz r28, 0(r5) +/* 800806E8 0007D648 54 1D 17 FE */ rlwinm r29, r0, 2, 0x1f, 0x1f +/* 800806EC 0007D64C 83 63 00 00 */ lwz r27, 0(r3) +/* 800806F0 0007D650 41 82 00 10 */ beq lbl_80080700 +/* 800806F4 0007D654 38 60 00 09 */ li r3, 9 +/* 800806F8 0007D658 38 A0 00 0C */ li r5, 0xc +/* 800806FC 0007D65C 48 28 7F 49 */ bl SetArray__3CGXF7_GXAttrPCvUc +lbl_80080700: +/* 80080700 0007D660 28 15 00 00 */ cmplwi r21, 0 +/* 80080704 0007D664 41 82 01 0C */ beq lbl_80080810 +/* 80080708 0007D668 7E C4 B3 78 */ mr r4, r22 +/* 8008070C 0007D66C 38 60 00 00 */ li r3, 0 +/* 80080710 0007D670 48 28 85 35 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 80080714 0007D674 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 80080718 0007D678 3B 20 00 00 */ li r25, 0 +/* 8008071C 0007D67C 3B 43 00 04 */ addi r26, r3, 4 +/* 80080720 0007D680 48 00 00 E8 */ b lbl_80080808 +lbl_80080724: +/* 80080724 0007D684 83 1A 00 04 */ lwz r24, 4(r26) +/* 80080728 0007D688 38 80 00 00 */ li r4, 0 +/* 8008072C 0007D68C 80 7A 00 00 */ lwz r3, 0(r26) +/* 80080730 0007D690 3B 5A 00 08 */ addi r26, r26, 8 +/* 80080734 0007D694 38 18 00 03 */ addi r0, r24, 3 +/* 80080738 0007D698 57 05 04 3E */ clrlwi r5, r24, 0x10 +/* 8008073C 0007D69C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080740 0007D6A0 7F 57 D3 78 */ mr r23, r26 +/* 80080744 0007D6A4 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080748 0007D6A8 7C 00 01 94 */ addze r0, r0 +/* 8008074C 0007D6AC 54 00 10 3A */ slwi r0, r0, 2 +/* 80080750 0007D6B0 7F 5A 02 14 */ add r26, r26, r0 +/* 80080754 0007D6B4 48 28 7E 31 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 80080758 0007D6B8 2C 18 00 00 */ cmpwi r24, 0 +/* 8008075C 0007D6BC 38 A0 00 00 */ li r5, 0 +/* 80080760 0007D6C0 40 81 00 A0 */ ble lbl_80080800 +/* 80080764 0007D6C4 2C 18 00 08 */ cmpwi r24, 8 +/* 80080768 0007D6C8 38 98 FF F8 */ addi r4, r24, -8 +/* 8008076C 0007D6CC 40 81 00 68 */ ble lbl_800807D4 +/* 80080770 0007D6D0 38 04 00 07 */ addi r0, r4, 7 +/* 80080774 0007D6D4 3C 60 CC 01 */ lis r3, 0xcc01 +/* 80080778 0007D6D8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8008077C 0007D6DC 7C 09 03 A6 */ mtctr r0 +/* 80080780 0007D6E0 2C 04 00 00 */ cmpwi r4, 0 +/* 80080784 0007D6E4 40 81 00 50 */ ble lbl_800807D4 +lbl_80080788: +/* 80080788 0007D6E8 7C 97 2A 14 */ add r4, r23, r5 +/* 8008078C 0007D6EC 38 A5 00 08 */ addi r5, r5, 8 +/* 80080790 0007D6F0 88 04 00 00 */ lbz r0, 0(r4) +/* 80080794 0007D6F4 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 80080798 0007D6F8 88 04 00 01 */ lbz r0, 1(r4) +/* 8008079C 0007D6FC 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 800807A0 0007D700 88 04 00 02 */ lbz r0, 2(r4) +/* 800807A4 0007D704 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 800807A8 0007D708 88 04 00 03 */ lbz r0, 3(r4) +/* 800807AC 0007D70C 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 800807B0 0007D710 88 04 00 04 */ lbz r0, 4(r4) +/* 800807B4 0007D714 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 800807B8 0007D718 88 04 00 05 */ lbz r0, 5(r4) +/* 800807BC 0007D71C 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 800807C0 0007D720 88 04 00 06 */ lbz r0, 6(r4) +/* 800807C4 0007D724 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 800807C8 0007D728 88 04 00 07 */ lbz r0, 7(r4) +/* 800807CC 0007D72C 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 800807D0 0007D730 42 00 FF B8 */ bdnz lbl_80080788 +lbl_800807D4: +/* 800807D4 0007D734 7C 05 C0 50 */ subf r0, r5, r24 +/* 800807D8 0007D738 7C 77 2A 14 */ add r3, r23, r5 +/* 800807DC 0007D73C 3C 80 CC 01 */ lis r4, 0xcc01 +/* 800807E0 0007D740 7C 09 03 A6 */ mtctr r0 +/* 800807E4 0007D744 7C 05 C0 00 */ cmpw r5, r24 +/* 800807E8 0007D748 40 80 00 18 */ bge lbl_80080800 +lbl_800807EC: +/* 800807EC 0007D74C 88 03 00 00 */ lbz r0, 0(r3) +/* 800807F0 0007D750 38 A5 00 01 */ addi r5, r5, 1 +/* 800807F4 0007D754 38 63 00 01 */ addi r3, r3, 1 +/* 800807F8 0007D758 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 800807FC 0007D75C 42 00 FF F0 */ bdnz lbl_800807EC +lbl_80080800: +/* 80080800 0007D760 48 28 7D 81 */ bl End__3CGXFv +/* 80080804 0007D764 3B 39 00 01 */ addi r25, r25, 1 +lbl_80080808: +/* 80080808 0007D768 7C 19 E0 00 */ cmpw r25, r28 +/* 8008080C 0007D76C 41 80 FF 18 */ blt lbl_80080724 +lbl_80080810: +/* 80080810 0007D770 28 1D 00 00 */ cmplwi r29, 0 +/* 80080814 0007D774 41 82 01 B8 */ beq lbl_800809CC +/* 80080818 0007D778 C0 02 89 90 */ lfs f0, lbl_805AA6B0@sda21(r2) +/* 8008081C 0007D77C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80080820 0007D780 7C 00 00 26 */ mfcr r0 +/* 80080824 0007D784 CB E2 89 A0 */ lfd f31, lbl_805AA6C0@sda21(r2) +/* 80080828 0007D788 54 17 17 FE */ rlwinm r23, r0, 2, 0x1f, 0x1f +/* 8008082C 0007D78C 3B 00 00 00 */ li r24, 0 +/* 80080830 0007D790 7C 17 00 D0 */ neg r0, r23 +/* 80080834 0007D794 3F A0 43 30 */ lis r29, 0x4330 +/* 80080838 0007D798 7C 00 BB 78 */ or r0, r0, r23 +/* 8008083C 0007D79C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80080840 0007D7A0 3A A3 00 01 */ addi r21, r3, 1 +/* 80080844 0007D7A4 48 00 01 80 */ b lbl_800809C4 +lbl_80080848: +/* 80080848 0007D7A8 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8008084C 0007D7AC 28 17 00 00 */ cmplwi r23, 0 +/* 80080850 0007D7B0 3B 23 00 04 */ addi r25, r3, 4 +/* 80080854 0007D7B4 41 82 00 2C */ beq lbl_80080880 +/* 80080858 0007D7B8 6F 03 80 00 */ xoris r3, r24, 0x8000 +/* 8008085C 0007D7BC 3C 00 43 30 */ lis r0, 0x4330 +/* 80080860 0007D7C0 90 61 00 14 */ stw r3, 0x14(r1) +/* 80080864 0007D7C4 38 60 00 05 */ li r3, 5 +/* 80080868 0007D7C8 C8 22 89 98 */ lfd f1, lbl_805AA6B8@sda21(r2) +/* 8008086C 0007D7CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80080870 0007D7D0 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80080874 0007D7D4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80080878 0007D7D8 EC 3D 00 28 */ fsubs f1, f29, f0 +/* 8008087C 0007D7DC 48 28 AB 5D */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +lbl_80080880: +/* 80080880 0007D7E0 28 17 00 00 */ cmplwi r23, 0 +/* 80080884 0007D7E4 41 82 00 0C */ beq lbl_80080890 +/* 80080888 0007D7E8 C0 22 89 94 */ lfs f1, lbl_805AA6B4@sda21(r2) +/* 8008088C 0007D7EC 48 00 00 08 */ b lbl_80080894 +lbl_80080890: +/* 80080890 0007D7F0 C0 22 89 90 */ lfs f1, lbl_805AA6B0@sda21(r2) +lbl_80080894: +/* 80080894 0007D7F4 88 1F 00 03 */ lbz r0, 3(r31) +/* 80080898 0007D7F8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8008089C 0007D7FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800808A0 0007D800 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 800808A4 0007D804 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800808A8 0007D808 EF C1 00 32 */ fmuls f30, f1, f0 +/* 800808AC 0007D80C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 800808B0 0007D810 38 81 00 0C */ addi r4, r1, 0xc +/* 800808B4 0007D814 80 BF 00 00 */ lwz r5, 0(r31) +/* 800808B8 0007D818 38 60 00 00 */ li r3, 0 +/* 800808BC 0007D81C 88 01 00 08 */ lbz r0, 8(r1) +/* 800808C0 0007D820 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 800808C4 0007D824 90 01 00 0C */ stw r0, 0xc(r1) +/* 800808C8 0007D828 48 28 83 7D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 800808CC 0007D82C 3B 40 00 00 */ li r26, 0 +/* 800808D0 0007D830 48 00 00 E8 */ b lbl_800809B8 +lbl_800808D4: +/* 800808D4 0007D834 83 99 00 00 */ lwz r28, 0(r25) +/* 800808D8 0007D838 3B 39 00 04 */ addi r25, r25, 4 +/* 800808DC 0007D83C 7F 36 CB 78 */ mr r22, r25 +/* 800808E0 0007D840 38 60 00 B0 */ li r3, 0xb0 +/* 800808E4 0007D844 38 1C 00 03 */ addi r0, r28, 3 +/* 800808E8 0007D848 57 85 04 3E */ clrlwi r5, r28, 0x10 +/* 800808EC 0007D84C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800808F0 0007D850 38 80 00 00 */ li r4, 0 +/* 800808F4 0007D854 7C 00 16 70 */ srawi r0, r0, 2 +/* 800808F8 0007D858 7C 00 01 94 */ addze r0, r0 +/* 800808FC 0007D85C 54 00 10 3A */ slwi r0, r0, 2 +/* 80080900 0007D860 7F 39 02 14 */ add r25, r25, r0 +/* 80080904 0007D864 48 28 7C 81 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 80080908 0007D868 2C 1C 00 00 */ cmpwi r28, 0 +/* 8008090C 0007D86C 38 60 00 00 */ li r3, 0 +/* 80080910 0007D870 40 81 00 A0 */ ble lbl_800809B0 +/* 80080914 0007D874 2C 1C 00 08 */ cmpwi r28, 8 +/* 80080918 0007D878 38 BC FF F8 */ addi r5, r28, -8 +/* 8008091C 0007D87C 40 81 00 68 */ ble lbl_80080984 +/* 80080920 0007D880 38 05 00 07 */ addi r0, r5, 7 +/* 80080924 0007D884 3C 80 CC 01 */ lis r4, 0xcc01 +/* 80080928 0007D888 54 00 E8 FE */ srwi r0, r0, 3 +/* 8008092C 0007D88C 7C 09 03 A6 */ mtctr r0 +/* 80080930 0007D890 2C 05 00 00 */ cmpwi r5, 0 +/* 80080934 0007D894 40 81 00 50 */ ble lbl_80080984 +lbl_80080938: +/* 80080938 0007D898 7C B6 1A 14 */ add r5, r22, r3 +/* 8008093C 0007D89C 38 63 00 08 */ addi r3, r3, 8 +/* 80080940 0007D8A0 88 05 00 00 */ lbz r0, 0(r5) +/* 80080944 0007D8A4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 80080948 0007D8A8 88 05 00 01 */ lbz r0, 1(r5) +/* 8008094C 0007D8AC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 80080950 0007D8B0 88 05 00 02 */ lbz r0, 2(r5) +/* 80080954 0007D8B4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 80080958 0007D8B8 88 05 00 03 */ lbz r0, 3(r5) +/* 8008095C 0007D8BC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 80080960 0007D8C0 88 05 00 04 */ lbz r0, 4(r5) +/* 80080964 0007D8C4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 80080968 0007D8C8 88 05 00 05 */ lbz r0, 5(r5) +/* 8008096C 0007D8CC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 80080970 0007D8D0 88 05 00 06 */ lbz r0, 6(r5) +/* 80080974 0007D8D4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 80080978 0007D8D8 88 05 00 07 */ lbz r0, 7(r5) +/* 8008097C 0007D8DC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 80080980 0007D8E0 42 00 FF B8 */ bdnz lbl_80080938 +lbl_80080984: +/* 80080984 0007D8E4 7C 03 E0 50 */ subf r0, r3, r28 +/* 80080988 0007D8E8 7C 96 1A 14 */ add r4, r22, r3 +/* 8008098C 0007D8EC 3C A0 CC 01 */ lis r5, 0xcc01 +/* 80080990 0007D8F0 7C 09 03 A6 */ mtctr r0 +/* 80080994 0007D8F4 7C 03 E0 00 */ cmpw r3, r28 +/* 80080998 0007D8F8 40 80 00 18 */ bge lbl_800809B0 +lbl_8008099C: +/* 8008099C 0007D8FC 88 04 00 00 */ lbz r0, 0(r4) +/* 800809A0 0007D900 38 63 00 01 */ addi r3, r3, 1 +/* 800809A4 0007D904 38 84 00 01 */ addi r4, r4, 1 +/* 800809A8 0007D908 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 800809AC 0007D90C 42 00 FF F0 */ bdnz lbl_8008099C +lbl_800809B0: +/* 800809B0 0007D910 48 28 7B D1 */ bl End__3CGXFv +/* 800809B4 0007D914 3B 5A 00 01 */ addi r26, r26, 1 +lbl_800809B8: +/* 800809B8 0007D918 7C 1A D8 00 */ cmpw r26, r27 +/* 800809BC 0007D91C 41 80 FF 18 */ blt lbl_800808D4 +/* 800809C0 0007D920 3B 18 00 01 */ addi r24, r24, 1 +lbl_800809C4: +/* 800809C4 0007D924 7C 18 A8 00 */ cmpw r24, r21 +/* 800809C8 0007D928 41 80 FE 80 */ blt lbl_80080848 +lbl_800809CC: +/* 800809CC 0007D92C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 800809D0 0007D930 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 800809D4 0007D934 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 800809D8 0007D938 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 800809DC 0007D93C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 800809E0 0007D940 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 800809E4 0007D944 BA A1 00 24 */ lmw r21, 0x24(r1) +/* 800809E8 0007D948 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800809EC 0007D94C 7C 08 03 A6 */ mtlr r0 +/* 800809F0 0007D950 38 21 00 80 */ addi r1, r1, 0x80 +/* 800809F4 0007D954 4E 80 00 20 */ blr + +.global PostConstruct__Q28CMapArea15CMapAreaSurfaceFPCv +PostConstruct__Q28CMapArea15CMapAreaSurfaceFPCv: +/* 800809F8 0007D958 80 03 00 18 */ lwz r0, 0x18(r3) +/* 800809FC 0007D95C 38 C0 00 00 */ li r6, 0 +/* 80080A00 0007D960 7C 04 02 14 */ add r0, r4, r0 +/* 80080A04 0007D964 90 03 00 18 */ stw r0, 0x18(r3) +/* 80080A08 0007D968 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80080A0C 0007D96C 7C 04 02 14 */ add r0, r4, r0 +/* 80080A10 0007D970 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80080A14 0007D974 80 A3 00 18 */ lwz r5, 0x18(r3) +/* 80080A18 0007D978 80 85 00 00 */ lwz r4, 0(r5) +/* 80080A1C 0007D97C 38 A5 00 04 */ addi r5, r5, 4 +/* 80080A20 0007D980 2C 04 00 00 */ cmpwi r4, 0 +/* 80080A24 0007D984 40 81 01 60 */ ble lbl_80080B84 +/* 80080A28 0007D988 2C 04 00 08 */ cmpwi r4, 8 +/* 80080A2C 0007D98C 38 E4 FF F8 */ addi r7, r4, -8 +/* 80080A30 0007D990 40 81 01 20 */ ble lbl_80080B50 +/* 80080A34 0007D994 38 07 00 07 */ addi r0, r7, 7 +/* 80080A38 0007D998 54 00 E8 FE */ srwi r0, r0, 3 +/* 80080A3C 0007D99C 7C 09 03 A6 */ mtctr r0 +/* 80080A40 0007D9A0 2C 07 00 00 */ cmpwi r7, 0 +/* 80080A44 0007D9A4 40 81 01 0C */ ble lbl_80080B50 +lbl_80080A48: +/* 80080A48 0007D9A8 80 E5 00 04 */ lwz r7, 4(r5) +/* 80080A4C 0007D9AC 38 A5 00 08 */ addi r5, r5, 8 +/* 80080A50 0007D9B0 38 C6 00 08 */ addi r6, r6, 8 +/* 80080A54 0007D9B4 38 07 00 03 */ addi r0, r7, 3 +/* 80080A58 0007D9B8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080A5C 0007D9BC 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080A60 0007D9C0 7C 00 01 94 */ addze r0, r0 +/* 80080A64 0007D9C4 54 00 10 3A */ slwi r0, r0, 2 +/* 80080A68 0007D9C8 7C A5 02 14 */ add r5, r5, r0 +/* 80080A6C 0007D9CC 80 E5 00 04 */ lwz r7, 4(r5) +/* 80080A70 0007D9D0 38 A5 00 08 */ addi r5, r5, 8 +/* 80080A74 0007D9D4 38 07 00 03 */ addi r0, r7, 3 +/* 80080A78 0007D9D8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080A7C 0007D9DC 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080A80 0007D9E0 7C 00 01 94 */ addze r0, r0 +/* 80080A84 0007D9E4 54 00 10 3A */ slwi r0, r0, 2 +/* 80080A88 0007D9E8 7C A5 02 14 */ add r5, r5, r0 +/* 80080A8C 0007D9EC 80 E5 00 04 */ lwz r7, 4(r5) +/* 80080A90 0007D9F0 38 A5 00 08 */ addi r5, r5, 8 +/* 80080A94 0007D9F4 38 07 00 03 */ addi r0, r7, 3 +/* 80080A98 0007D9F8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080A9C 0007D9FC 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080AA0 0007DA00 7C 00 01 94 */ addze r0, r0 +/* 80080AA4 0007DA04 54 00 10 3A */ slwi r0, r0, 2 +/* 80080AA8 0007DA08 7C A5 02 14 */ add r5, r5, r0 +/* 80080AAC 0007DA0C 80 E5 00 04 */ lwz r7, 4(r5) +/* 80080AB0 0007DA10 38 A5 00 08 */ addi r5, r5, 8 +/* 80080AB4 0007DA14 38 07 00 03 */ addi r0, r7, 3 +/* 80080AB8 0007DA18 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080ABC 0007DA1C 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080AC0 0007DA20 7C 00 01 94 */ addze r0, r0 +/* 80080AC4 0007DA24 54 00 10 3A */ slwi r0, r0, 2 +/* 80080AC8 0007DA28 7C A5 02 14 */ add r5, r5, r0 +/* 80080ACC 0007DA2C 80 E5 00 04 */ lwz r7, 4(r5) +/* 80080AD0 0007DA30 38 A5 00 08 */ addi r5, r5, 8 +/* 80080AD4 0007DA34 38 07 00 03 */ addi r0, r7, 3 +/* 80080AD8 0007DA38 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080ADC 0007DA3C 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080AE0 0007DA40 7C 00 01 94 */ addze r0, r0 +/* 80080AE4 0007DA44 54 00 10 3A */ slwi r0, r0, 2 +/* 80080AE8 0007DA48 7C A5 02 14 */ add r5, r5, r0 +/* 80080AEC 0007DA4C 80 E5 00 04 */ lwz r7, 4(r5) +/* 80080AF0 0007DA50 38 A5 00 08 */ addi r5, r5, 8 +/* 80080AF4 0007DA54 38 07 00 03 */ addi r0, r7, 3 +/* 80080AF8 0007DA58 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080AFC 0007DA5C 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080B00 0007DA60 7C 00 01 94 */ addze r0, r0 +/* 80080B04 0007DA64 54 00 10 3A */ slwi r0, r0, 2 +/* 80080B08 0007DA68 7C A5 02 14 */ add r5, r5, r0 +/* 80080B0C 0007DA6C 80 E5 00 04 */ lwz r7, 4(r5) +/* 80080B10 0007DA70 38 A5 00 08 */ addi r5, r5, 8 +/* 80080B14 0007DA74 38 07 00 03 */ addi r0, r7, 3 +/* 80080B18 0007DA78 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080B1C 0007DA7C 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080B20 0007DA80 7C 00 01 94 */ addze r0, r0 +/* 80080B24 0007DA84 54 00 10 3A */ slwi r0, r0, 2 +/* 80080B28 0007DA88 7C A5 02 14 */ add r5, r5, r0 +/* 80080B2C 0007DA8C 80 E5 00 04 */ lwz r7, 4(r5) +/* 80080B30 0007DA90 38 A5 00 08 */ addi r5, r5, 8 +/* 80080B34 0007DA94 38 07 00 03 */ addi r0, r7, 3 +/* 80080B38 0007DA98 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080B3C 0007DA9C 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080B40 0007DAA0 7C 00 01 94 */ addze r0, r0 +/* 80080B44 0007DAA4 54 00 10 3A */ slwi r0, r0, 2 +/* 80080B48 0007DAA8 7C A5 02 14 */ add r5, r5, r0 +/* 80080B4C 0007DAAC 42 00 FE FC */ bdnz lbl_80080A48 +lbl_80080B50: +/* 80080B50 0007DAB0 7C 06 20 50 */ subf r0, r6, r4 +/* 80080B54 0007DAB4 7C 09 03 A6 */ mtctr r0 +/* 80080B58 0007DAB8 7C 06 20 00 */ cmpw r6, r4 +/* 80080B5C 0007DABC 40 80 00 28 */ bge lbl_80080B84 +lbl_80080B60: +/* 80080B60 0007DAC0 80 85 00 04 */ lwz r4, 4(r5) +/* 80080B64 0007DAC4 38 A5 00 08 */ addi r5, r5, 8 +/* 80080B68 0007DAC8 38 04 00 03 */ addi r0, r4, 3 +/* 80080B6C 0007DACC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080B70 0007DAD0 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080B74 0007DAD4 7C 00 01 94 */ addze r0, r0 +/* 80080B78 0007DAD8 54 00 10 3A */ slwi r0, r0, 2 +/* 80080B7C 0007DADC 7C A5 02 14 */ add r5, r5, r0 +/* 80080B80 0007DAE0 42 00 FF E0 */ bdnz lbl_80080B60 +lbl_80080B84: +/* 80080B84 0007DAE4 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 80080B88 0007DAE8 38 A0 00 00 */ li r5, 0 +/* 80080B8C 0007DAEC 80 64 00 00 */ lwz r3, 0(r4) +/* 80080B90 0007DAF0 38 84 00 04 */ addi r4, r4, 4 +/* 80080B94 0007DAF4 2C 03 00 00 */ cmpwi r3, 0 +/* 80080B98 0007DAF8 4C 81 00 20 */ blelr +/* 80080B9C 0007DAFC 2C 03 00 08 */ cmpwi r3, 8 +/* 80080BA0 0007DB00 38 C3 FF F8 */ addi r6, r3, -8 +/* 80080BA4 0007DB04 40 81 01 20 */ ble lbl_80080CC4 +/* 80080BA8 0007DB08 38 06 00 07 */ addi r0, r6, 7 +/* 80080BAC 0007DB0C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80080BB0 0007DB10 7C 09 03 A6 */ mtctr r0 +/* 80080BB4 0007DB14 2C 06 00 00 */ cmpwi r6, 0 +/* 80080BB8 0007DB18 40 81 01 0C */ ble lbl_80080CC4 +lbl_80080BBC: +/* 80080BBC 0007DB1C 80 C4 00 00 */ lwz r6, 0(r4) +/* 80080BC0 0007DB20 38 84 00 04 */ addi r4, r4, 4 +/* 80080BC4 0007DB24 38 A5 00 08 */ addi r5, r5, 8 +/* 80080BC8 0007DB28 38 06 00 03 */ addi r0, r6, 3 +/* 80080BCC 0007DB2C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080BD0 0007DB30 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080BD4 0007DB34 7C 00 01 94 */ addze r0, r0 +/* 80080BD8 0007DB38 54 00 10 3A */ slwi r0, r0, 2 +/* 80080BDC 0007DB3C 7C 84 02 14 */ add r4, r4, r0 +/* 80080BE0 0007DB40 80 C4 00 00 */ lwz r6, 0(r4) +/* 80080BE4 0007DB44 38 84 00 04 */ addi r4, r4, 4 +/* 80080BE8 0007DB48 38 06 00 03 */ addi r0, r6, 3 +/* 80080BEC 0007DB4C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080BF0 0007DB50 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080BF4 0007DB54 7C 00 01 94 */ addze r0, r0 +/* 80080BF8 0007DB58 54 00 10 3A */ slwi r0, r0, 2 +/* 80080BFC 0007DB5C 7C 84 02 14 */ add r4, r4, r0 +/* 80080C00 0007DB60 80 C4 00 00 */ lwz r6, 0(r4) +/* 80080C04 0007DB64 38 84 00 04 */ addi r4, r4, 4 +/* 80080C08 0007DB68 38 06 00 03 */ addi r0, r6, 3 +/* 80080C0C 0007DB6C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080C10 0007DB70 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080C14 0007DB74 7C 00 01 94 */ addze r0, r0 +/* 80080C18 0007DB78 54 00 10 3A */ slwi r0, r0, 2 +/* 80080C1C 0007DB7C 7C 84 02 14 */ add r4, r4, r0 +/* 80080C20 0007DB80 80 C4 00 00 */ lwz r6, 0(r4) +/* 80080C24 0007DB84 38 84 00 04 */ addi r4, r4, 4 +/* 80080C28 0007DB88 38 06 00 03 */ addi r0, r6, 3 +/* 80080C2C 0007DB8C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080C30 0007DB90 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080C34 0007DB94 7C 00 01 94 */ addze r0, r0 +/* 80080C38 0007DB98 54 00 10 3A */ slwi r0, r0, 2 +/* 80080C3C 0007DB9C 7C 84 02 14 */ add r4, r4, r0 +/* 80080C40 0007DBA0 80 C4 00 00 */ lwz r6, 0(r4) +/* 80080C44 0007DBA4 38 84 00 04 */ addi r4, r4, 4 +/* 80080C48 0007DBA8 38 06 00 03 */ addi r0, r6, 3 +/* 80080C4C 0007DBAC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080C50 0007DBB0 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080C54 0007DBB4 7C 00 01 94 */ addze r0, r0 +/* 80080C58 0007DBB8 54 00 10 3A */ slwi r0, r0, 2 +/* 80080C5C 0007DBBC 7C 84 02 14 */ add r4, r4, r0 +/* 80080C60 0007DBC0 80 C4 00 00 */ lwz r6, 0(r4) +/* 80080C64 0007DBC4 38 84 00 04 */ addi r4, r4, 4 +/* 80080C68 0007DBC8 38 06 00 03 */ addi r0, r6, 3 +/* 80080C6C 0007DBCC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080C70 0007DBD0 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080C74 0007DBD4 7C 00 01 94 */ addze r0, r0 +/* 80080C78 0007DBD8 54 00 10 3A */ slwi r0, r0, 2 +/* 80080C7C 0007DBDC 7C 84 02 14 */ add r4, r4, r0 +/* 80080C80 0007DBE0 80 C4 00 00 */ lwz r6, 0(r4) +/* 80080C84 0007DBE4 38 84 00 04 */ addi r4, r4, 4 +/* 80080C88 0007DBE8 38 06 00 03 */ addi r0, r6, 3 +/* 80080C8C 0007DBEC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080C90 0007DBF0 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080C94 0007DBF4 7C 00 01 94 */ addze r0, r0 +/* 80080C98 0007DBF8 54 00 10 3A */ slwi r0, r0, 2 +/* 80080C9C 0007DBFC 7C 84 02 14 */ add r4, r4, r0 +/* 80080CA0 0007DC00 80 C4 00 00 */ lwz r6, 0(r4) +/* 80080CA4 0007DC04 38 84 00 04 */ addi r4, r4, 4 +/* 80080CA8 0007DC08 38 06 00 03 */ addi r0, r6, 3 +/* 80080CAC 0007DC0C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080CB0 0007DC10 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080CB4 0007DC14 7C 00 01 94 */ addze r0, r0 +/* 80080CB8 0007DC18 54 00 10 3A */ slwi r0, r0, 2 +/* 80080CBC 0007DC1C 7C 84 02 14 */ add r4, r4, r0 +/* 80080CC0 0007DC20 42 00 FE FC */ bdnz lbl_80080BBC +lbl_80080CC4: +/* 80080CC4 0007DC24 7C 05 18 50 */ subf r0, r5, r3 +/* 80080CC8 0007DC28 7C 09 03 A6 */ mtctr r0 +/* 80080CCC 0007DC2C 7C 05 18 00 */ cmpw r5, r3 +/* 80080CD0 0007DC30 4C 80 00 20 */ bgelr +lbl_80080CD4: +/* 80080CD4 0007DC34 80 64 00 00 */ lwz r3, 0(r4) +/* 80080CD8 0007DC38 38 84 00 04 */ addi r4, r4, 4 +/* 80080CDC 0007DC3C 38 03 00 03 */ addi r0, r3, 3 +/* 80080CE0 0007DC40 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80080CE4 0007DC44 7C 00 16 70 */ srawi r0, r0, 2 +/* 80080CE8 0007DC48 7C 00 01 94 */ addze r0, r0 +/* 80080CEC 0007DC4C 54 00 10 3A */ slwi r0, r0, 2 +/* 80080CF0 0007DC50 7C 84 02 14 */ add r4, r4, r0 +/* 80080CF4 0007DC54 42 00 FF E0 */ bdnz lbl_80080CD4 + +.global sub_80080cf8 +sub_80080cf8: +/* 80080CF8 0007DC58 4E 80 00 20 */ blr + +.global GetAreaCenterPoint__8CMapAreaCFv +GetAreaCenterPoint__8CMapAreaCFv: +/* 80080CFC 0007DC5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80080D00 0007DC60 7C 08 02 A6 */ mflr r0 +/* 80080D04 0007DC64 38 84 00 10 */ addi r4, r4, 0x10 +/* 80080D08 0007DC68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80080D0C 0007DC6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80080D10 0007DC70 7C 7F 1B 78 */ mr r31, r3 +/* 80080D14 0007DC74 48 2B 68 F9 */ bl GetCenterPoint__6CAABoxCFv +/* 80080D18 0007DC78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80080D1C 0007DC7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80080D20 0007DC80 7C 08 03 A6 */ mtlr r0 +/* 80080D24 0007DC84 38 21 00 10 */ addi r1, r1, 0x10 +/* 80080D28 0007DC88 4E 80 00 20 */ blr + +.global GetIsVisibleToAutoMapper__8CMapAreaCFbb +GetIsVisibleToAutoMapper__8CMapAreaCFbb: +/* 80080D2C 0007DC8C 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80080D30 0007DC90 2C 00 00 02 */ cmpwi r0, 2 +/* 80080D34 0007DC94 41 82 00 48 */ beq lbl_80080D7C +/* 80080D38 0007DC98 40 80 00 14 */ bge lbl_80080D4C +/* 80080D3C 0007DC9C 2C 00 00 00 */ cmpwi r0, 0 +/* 80080D40 0007DCA0 41 82 00 18 */ beq lbl_80080D58 +/* 80080D44 0007DCA4 40 80 00 1C */ bge lbl_80080D60 +/* 80080D48 0007DCA8 48 00 00 44 */ b lbl_80080D8C +lbl_80080D4C: +/* 80080D4C 0007DCAC 2C 00 00 04 */ cmpwi r0, 4 +/* 80080D50 0007DCB0 40 80 00 3C */ bge lbl_80080D8C +/* 80080D54 0007DCB4 48 00 00 30 */ b lbl_80080D84 +lbl_80080D58: +/* 80080D58 0007DCB8 38 60 00 01 */ li r3, 1 +/* 80080D5C 0007DCBC 4E 80 00 20 */ blr +lbl_80080D60: +/* 80080D60 0007DCC0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80080D64 0007DCC4 38 60 00 00 */ li r3, 0 +/* 80080D68 0007DCC8 40 82 00 0C */ bne lbl_80080D74 +/* 80080D6C 0007DCCC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80080D70 0007DCD0 4D 82 00 20 */ beqlr +lbl_80080D74: +/* 80080D74 0007DCD4 38 60 00 01 */ li r3, 1 +/* 80080D78 0007DCD8 4E 80 00 20 */ blr +lbl_80080D7C: +/* 80080D7C 0007DCDC 7C A3 2B 78 */ mr r3, r5 +/* 80080D80 0007DCE0 4E 80 00 20 */ blr +lbl_80080D84: +/* 80080D84 0007DCE4 38 60 00 00 */ li r3, 0 +/* 80080D88 0007DCE8 4E 80 00 20 */ blr +lbl_80080D8C: +/* 80080D8C 0007DCEC 38 60 00 01 */ li r3, 1 +/* 80080D90 0007DCF0 4E 80 00 20 */ blr + +.global PostConstruct__8CMapAreaFv +PostConstruct__8CMapAreaFv: +/* 80080D94 0007DCF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80080D98 0007DCF8 7C 08 02 A6 */ mflr r0 +/* 80080D9C 0007DCFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80080DA0 0007DD00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80080DA4 0007DD04 7C 7F 1B 78 */ mr r31, r3 +/* 80080DA8 0007DD08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80080DAC 0007DD0C 3B C0 00 00 */ li r30, 0 +/* 80080DB0 0007DD10 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80080DB4 0007DD14 3B A0 00 00 */ li r29, 0 +/* 80080DB8 0007DD18 80 63 00 44 */ lwz r3, 0x44(r3) +/* 80080DBC 0007DD1C 90 7F 00 38 */ stw r3, 0x38(r31) +/* 80080DC0 0007DD20 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80080DC4 0007DD24 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80080DC8 0007DD28 7C 63 02 14 */ add r3, r3, r0 +/* 80080DCC 0007DD2C 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 80080DD0 0007DD30 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80080DD4 0007DD34 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80080DD8 0007DD38 7C 63 02 14 */ add r3, r3, r0 +/* 80080DDC 0007DD3C 90 7F 00 40 */ stw r3, 0x40(r31) +/* 80080DE0 0007DD40 48 00 00 1C */ b lbl_80080DFC +lbl_80080DE4: +/* 80080DE4 0007DD44 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 80080DE8 0007DD48 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80080DEC 0007DD4C 7C 60 F2 14 */ add r3, r0, r30 +/* 80080DF0 0007DD50 48 06 83 99 */ bl PostConstruct__15CMappableObjectFPCv +/* 80080DF4 0007DD54 3B DE 00 50 */ addi r30, r30, 0x50 +/* 80080DF8 0007DD58 3B BD 00 01 */ addi r29, r29, 1 +lbl_80080DFC: +/* 80080DFC 0007DD5C 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80080E00 0007DD60 7C 1D 00 00 */ cmpw r29, r0 +/* 80080E04 0007DD64 41 80 FF E0 */ blt lbl_80080DE4 +/* 80080E08 0007DD68 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80080E0C 0007DD6C 38 80 00 00 */ li r4, 0 +/* 80080E10 0007DD70 48 00 00 0C */ b lbl_80080E1C +lbl_80080E14: +/* 80080E14 0007DD74 38 63 00 04 */ addi r3, r3, 4 +/* 80080E18 0007DD78 38 84 00 01 */ addi r4, r4, 1 +lbl_80080E1C: +/* 80080E1C 0007DD7C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80080E20 0007DD80 1C 00 00 03 */ mulli r0, r0, 3 +/* 80080E24 0007DD84 7C 04 00 00 */ cmpw r4, r0 +/* 80080E28 0007DD88 41 80 FF EC */ blt lbl_80080E14 +/* 80080E2C 0007DD8C 3B A0 00 00 */ li r29, 0 +/* 80080E30 0007DD90 3B C0 00 00 */ li r30, 0 +/* 80080E34 0007DD94 48 00 00 1C */ b lbl_80080E50 +lbl_80080E38: +/* 80080E38 0007DD98 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 80080E3C 0007DD9C 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80080E40 0007DDA0 7C 60 F2 14 */ add r3, r0, r30 +/* 80080E44 0007DDA4 4B FF FB B5 */ bl PostConstruct__Q28CMapArea15CMapAreaSurfaceFPCv +/* 80080E48 0007DDA8 3B DE 00 20 */ addi r30, r30, 0x20 +/* 80080E4C 0007DDAC 3B BD 00 01 */ addi r29, r29, 1 +lbl_80080E50: +/* 80080E50 0007DDB0 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 80080E54 0007DDB4 7C 1D 00 00 */ cmpw r29, r0 +/* 80080E58 0007DDB8 41 80 FF E0 */ blt lbl_80080E38 +/* 80080E5C 0007DDBC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80080E60 0007DDC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80080E64 0007DDC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80080E68 0007DDC8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80080E6C 0007DDCC 7C 08 03 A6 */ mtlr r0 +/* 80080E70 0007DDD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80080E74 0007DDD4 4E 80 00 20 */ blr + +.global __dt__8CMapAreaFv +__dt__8CMapAreaFv: +/* 80080E78 0007DDD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80080E7C 0007DDDC 7C 08 02 A6 */ mflr r0 +/* 80080E80 0007DDE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80080E84 0007DDE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80080E88 0007DDE8 7C 9F 23 78 */ mr r31, r4 +/* 80080E8C 0007DDEC 93 C1 00 08 */ stw r30, 8(r1) +/* 80080E90 0007DDF0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80080E94 0007DDF4 41 82 00 4C */ beq lbl_80080EE0 +/* 80080E98 0007DDF8 80 BE 00 34 */ lwz r5, 0x34(r30) +/* 80080E9C 0007DDFC 38 00 00 00 */ li r0, 0 +/* 80080EA0 0007DE00 80 8D A2 F0 */ lwz r4, lbl_805A8EB0@sda21(r13) +/* 80080EA4 0007DE04 38 60 00 01 */ li r3, 1 +/* 80080EA8 0007DE08 38 A5 00 48 */ addi r5, r5, 0x48 +/* 80080EAC 0007DE0C 7C 85 20 50 */ subf r4, r5, r4 +/* 80080EB0 0007DE10 90 8D A2 F0 */ stw r4, lbl_805A8EB0@sda21(r13) +/* 80080EB4 0007DE14 80 9E 00 44 */ lwz r4, 0x44(r30) +/* 80080EB8 0007DE18 90 1E 00 44 */ stw r0, 0x44(r30) +/* 80080EBC 0007DE1C 48 2E BD 61 */ bl sub_8036cc1c +/* 80080EC0 0007DE20 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 80080EC4 0007DE24 41 82 00 0C */ beq lbl_80080ED0 +/* 80080EC8 0007DE28 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 80080ECC 0007DE2C 48 29 4A 65 */ bl Free__7CMemoryFPCv +lbl_80080ED0: +/* 80080ED0 0007DE30 7F E0 07 35 */ extsh. r0, r31 +/* 80080ED4 0007DE34 40 81 00 0C */ ble lbl_80080EE0 +/* 80080ED8 0007DE38 7F C3 F3 78 */ mr r3, r30 +/* 80080EDC 0007DE3C 48 29 4A 55 */ bl Free__7CMemoryFPCv +lbl_80080EE0: +/* 80080EE0 0007DE40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80080EE4 0007DE44 7F C3 F3 78 */ mr r3, r30 +/* 80080EE8 0007DE48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80080EEC 0007DE4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80080EF0 0007DE50 7C 08 03 A6 */ mtlr r0 +/* 80080EF4 0007DE54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80080EF8 0007DE58 4E 80 00 20 */ blr + +.global __ct__8CMapAreaFR12CInputStreamUi +__ct__8CMapAreaFR12CInputStreamUi: +/* 80080EFC 0007DE5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80080F00 0007DE60 7C 08 02 A6 */ mflr r0 +/* 80080F04 0007DE64 90 01 00 24 */ stw r0, 0x24(r1) +/* 80080F08 0007DE68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80080F0C 0007DE6C 7C BF 2B 78 */ mr r31, r5 +/* 80080F10 0007DE70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80080F14 0007DE74 7C 9E 23 78 */ mr r30, r4 +/* 80080F18 0007DE78 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80080F1C 0007DE7C 7C 7D 1B 78 */ mr r29, r3 +/* 80080F20 0007DE80 7F C3 F3 78 */ mr r3, r30 +/* 80080F24 0007DE84 48 2B DD 61 */ bl ReadLong__12CInputStreamFv +/* 80080F28 0007DE88 90 7D 00 00 */ stw r3, 0(r29) +/* 80080F2C 0007DE8C 7F C3 F3 78 */ mr r3, r30 +/* 80080F30 0007DE90 48 2B DD 55 */ bl ReadLong__12CInputStreamFv +/* 80080F34 0007DE94 90 7D 00 04 */ stw r3, 4(r29) +/* 80080F38 0007DE98 7F C3 F3 78 */ mr r3, r30 +/* 80080F3C 0007DE9C 48 2B DD 49 */ bl ReadLong__12CInputStreamFv +/* 80080F40 0007DEA0 90 7D 00 08 */ stw r3, 8(r29) +/* 80080F44 0007DEA4 7F C3 F3 78 */ mr r3, r30 +/* 80080F48 0007DEA8 48 2B DD 3D */ bl ReadLong__12CInputStreamFv +/* 80080F4C 0007DEAC 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80080F50 0007DEB0 7F C4 F3 78 */ mr r4, r30 +/* 80080F54 0007DEB4 38 7D 00 10 */ addi r3, r29, 0x10 +/* 80080F58 0007DEB8 48 2B 75 E5 */ bl __ct__6CAABoxFR12CInputStream +/* 80080F5C 0007DEBC 7F C3 F3 78 */ mr r3, r30 +/* 80080F60 0007DEC0 48 2B DD 25 */ bl ReadLong__12CInputStreamFv +/* 80080F64 0007DEC4 90 7D 00 28 */ stw r3, 0x28(r29) +/* 80080F68 0007DEC8 7F C3 F3 78 */ mr r3, r30 +/* 80080F6C 0007DECC 48 2B DD 19 */ bl ReadLong__12CInputStreamFv +/* 80080F70 0007DED0 90 7D 00 2C */ stw r3, 0x2c(r29) +/* 80080F74 0007DED4 7F C3 F3 78 */ mr r3, r30 +/* 80080F78 0007DED8 48 2B DD 0D */ bl ReadLong__12CInputStreamFv +/* 80080F7C 0007DEDC 90 7D 00 30 */ stw r3, 0x30(r29) +/* 80080F80 0007DEE0 38 80 00 00 */ li r4, 0 +/* 80080F84 0007DEE4 38 1F FF CC */ addi r0, r31, -52 +/* 80080F88 0007DEE8 3C 60 80 3D */ lis r3, lbl_803CD66C@ha +/* 80080F8C 0007DEEC 90 9D 00 44 */ stw r4, 0x44(r29) +/* 80080F90 0007DEF0 38 83 D6 6C */ addi r4, r3, lbl_803CD66C@l +/* 80080F94 0007DEF4 38 A0 00 00 */ li r5, 0 +/* 80080F98 0007DEF8 90 1D 00 34 */ stw r0, 0x34(r29) +/* 80080F9C 0007DEFC 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 80080FA0 0007DF00 48 29 48 79 */ bl __nwa__FUlPCcPCc +/* 80080FA4 0007DF04 7C 7F 1B 78 */ mr r31, r3 +/* 80080FA8 0007DF08 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 80080FAC 0007DF0C 48 29 49 85 */ bl Free__7CMemoryFPCv +/* 80080FB0 0007DF10 93 FD 00 44 */ stw r31, 0x44(r29) +/* 80080FB4 0007DF14 7F C3 F3 78 */ mr r3, r30 +/* 80080FB8 0007DF18 80 9D 00 44 */ lwz r4, 0x44(r29) +/* 80080FBC 0007DF1C 80 BD 00 34 */ lwz r5, 0x34(r29) +/* 80080FC0 0007DF20 48 2B DF 95 */ bl Get__12CInputStreamFPvUl +/* 80080FC4 0007DF24 7F A3 EB 78 */ mr r3, r29 +/* 80080FC8 0007DF28 4B FF FD CD */ bl PostConstruct__8CMapAreaFv +/* 80080FCC 0007DF2C 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 80080FD0 0007DF30 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 80080FD4 0007DF34 1C 80 00 0C */ mulli r4, r0, 0xc +/* 80080FD8 0007DF38 48 2F DA D9 */ bl DCFlushRange +/* 80080FDC 0007DF3C 80 8D A2 F0 */ lwz r4, lbl_805A8EB0@sda21(r13) +/* 80080FE0 0007DF40 7F A3 EB 78 */ mr r3, r29 +/* 80080FE4 0007DF44 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 80080FE8 0007DF48 7C 80 22 14 */ add r4, r0, r4 +/* 80080FEC 0007DF4C 38 04 00 48 */ addi r0, r4, 0x48 +/* 80080FF0 0007DF50 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) +/* 80080FF4 0007DF54 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80080FF8 0007DF58 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80080FFC 0007DF5C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80081000 0007DF60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80081004 0007DF64 7C 08 03 A6 */ mtlr r0 +/* 80081008 0007DF68 38 21 00 20 */ addi r1, r1, 0x20 +/* 8008100C 0007DF6C 4E 80 00 20 */ blr + +.global __sinit_CMapArea_cpp +__sinit_CMapArea_cpp: +/* 80081010 0007DF70 C0 42 89 8C */ lfs f2, lbl_805AA6AC@sda21(r2) +/* 80081014 0007DF74 3C 60 80 47 */ lis r3, lbl_8046C3E0@ha +/* 80081018 0007DF78 C0 22 89 A8 */ lfs f1, lbl_805AA6C8@sda21(r2) +/* 8008101C 0007DF7C D4 43 C3 E0 */ stfsu f2, lbl_8046C3E0@l(r3) +/* 80081020 0007DF80 C0 02 89 AC */ lfs f0, lbl_805AA6CC@sda21(r2) +/* 80081024 0007DF84 D0 43 00 04 */ stfs f2, 4(r3) +/* 80081028 0007DF88 D0 23 00 08 */ stfs f1, 8(r3) +/* 8008102C 0007DF8C D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80081030 0007DF90 D0 43 00 10 */ stfs f2, 0x10(r3) +/* 80081034 0007DF94 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80081038 0007DF98 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 8008103C 0007DF9C D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 80081040 0007DFA0 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80081044 0007DFA4 4E 80 00 20 */ blr + +.global SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager +SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager: +/* 80081048 0007DFA8 94 21 F1 C0 */ stwu r1, -0xe40(r1) +/* 8008104C 0007DFAC 7C 08 02 A6 */ mflr r0 +/* 80081050 0007DFB0 90 01 0E 44 */ stw r0, 0xe44(r1) +/* 80081054 0007DFB4 DB E1 0E 30 */ stfd f31, 0xe30(r1) +/* 80081058 0007DFB8 F3 E1 0E 38 */ psq_st f31, -456(r1), 0, qr0 +/* 8008105C 0007DFBC DB C1 0E 20 */ stfd f30, 0xe20(r1) +/* 80081060 0007DFC0 F3 C1 0E 28 */ psq_st f30, -472(r1), 0, qr0 +/* 80081064 0007DFC4 DB A1 0E 10 */ stfd f29, 0xe10(r1) +/* 80081068 0007DFC8 F3 A1 0E 18 */ psq_st f29, -488(r1), 0, qr0 +/* 8008106C 0007DFCC DB 81 0E 00 */ stfd f28, 0xe00(r1) +/* 80081070 0007DFD0 F3 81 0E 08 */ psq_st f28, -504(r1), 0, qr0 +/* 80081074 0007DFD4 DB 61 0D F0 */ stfd f27, 0xdf0(r1) +/* 80081078 0007DFD8 F3 61 0D F8 */ psq_st f27, -520(r1), 0, qr0 +/* 8008107C 0007DFDC BF 01 0D D0 */ stmw r24, 0xdd0(r1) +/* 80081080 0007DFE0 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) +/* 80081084 0007DFE4 38 00 00 00 */ li r0, 0 +/* 80081088 0007DFE8 80 ED 85 34 */ lwz r7, lbl_805A70F4@sda21(r13) +/* 8008108C 0007DFEC 7C 7B 1B 78 */ mr r27, r3 +/* 80081090 0007DFF0 B0 C1 00 08 */ sth r6, 8(r1) +/* 80081094 0007DFF4 7C 9C 23 78 */ mr r28, r4 +/* 80081098 0007DFF8 7C BD 2B 78 */ mr r29, r5 +/* 8008109C 0007DFFC 7C E5 3B 78 */ mr r5, r7 +/* 800810A0 0007E000 90 01 05 B8 */ stw r0, 0x5b8(r1) +/* 800810A4 0007E004 38 60 00 00 */ li r3, 0 +/* 800810A8 0007E008 38 80 00 01 */ li r4, 1 +/* 800810AC 0007E00C 90 01 03 74 */ stw r0, 0x374(r1) +/* 800810B0 0007E010 90 01 01 30 */ stw r0, 0x130(r1) +/* 800810B4 0007E014 48 30 8E 41 */ bl __shl2i +/* 800810B8 0007E018 80 AD 85 38 */ lwz r5, lbl_805A70F8@sda21(r13) +/* 800810BC 0007E01C 7C 9E 23 78 */ mr r30, r4 +/* 800810C0 0007E020 7C 7A 1B 78 */ mr r26, r3 +/* 800810C4 0007E024 38 60 00 00 */ li r3, 0 +/* 800810C8 0007E028 38 80 00 01 */ li r4, 1 +/* 800810CC 0007E02C 48 30 8E 29 */ bl __shl2i +/* 800810D0 0007E030 80 AD 85 3C */ lwz r5, lbl_805A70FC@sda21(r13) +/* 800810D4 0007E034 7F DE 23 78 */ or r30, r30, r4 +/* 800810D8 0007E038 7F 5A 1B 78 */ or r26, r26, r3 +/* 800810DC 0007E03C 38 60 00 00 */ li r3, 0 +/* 800810E0 0007E040 38 80 00 01 */ li r4, 1 +/* 800810E4 0007E044 48 30 8E 11 */ bl __shl2i +/* 800810E8 0007E048 80 AD 85 40 */ lwz r5, lbl_805A7100@sda21(r13) +/* 800810EC 0007E04C 7F DE 23 78 */ or r30, r30, r4 +/* 800810F0 0007E050 7F 5A 1B 78 */ or r26, r26, r3 +/* 800810F4 0007E054 38 60 00 00 */ li r3, 0 +/* 800810F8 0007E058 38 80 00 01 */ li r4, 1 +/* 800810FC 0007E05C 48 30 8D F9 */ bl __shl2i +/* 80081100 0007E060 80 AD 85 44 */ lwz r5, lbl_805A7104@sda21(r13) +/* 80081104 0007E064 7C 98 23 78 */ mr r24, r4 +/* 80081108 0007E068 7C 79 1B 78 */ mr r25, r3 +/* 8008110C 0007E06C 38 60 00 00 */ li r3, 0 +/* 80081110 0007E070 38 80 00 01 */ li r4, 1 +/* 80081114 0007E074 48 30 8D E1 */ bl __shl2i +/* 80081118 0007E078 80 AD 85 48 */ lwz r5, lbl_805A7108@sda21(r13) +/* 8008111C 0007E07C 7F 18 23 78 */ or r24, r24, r4 +/* 80081120 0007E080 7F 39 1B 78 */ or r25, r25, r3 +/* 80081124 0007E084 38 60 00 00 */ li r3, 0 +/* 80081128 0007E088 38 80 00 01 */ li r4, 1 +/* 8008112C 0007E08C 48 30 8D C9 */ bl __shl2i +/* 80081130 0007E090 80 AD 85 4C */ lwz r5, lbl_805A710C@sda21(r13) +/* 80081134 0007E094 7F 18 23 78 */ or r24, r24, r4 +/* 80081138 0007E098 7F 39 1B 78 */ or r25, r25, r3 +/* 8008113C 0007E09C 38 60 00 00 */ li r3, 0 +/* 80081140 0007E0A0 38 80 00 01 */ li r4, 1 +/* 80081144 0007E0A4 48 30 8D B1 */ bl __shl2i +/* 80081148 0007E0A8 38 00 00 03 */ li r0, 3 +/* 8008114C 0007E0AC 7F 18 23 78 */ or r24, r24, r4 +/* 80081150 0007E0B0 7F 39 1B 78 */ or r25, r25, r3 +/* 80081154 0007E0B4 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80081158 0007E0B8 C3 A2 89 B0 */ lfs f29, lbl_805AA6D0@sda21(r2) +/* 8008115C 0007E0BC 3B E1 03 78 */ addi r31, r1, 0x378 +/* 80081160 0007E0C0 93 C1 00 BC */ stw r30, 0xbc(r1) +/* 80081164 0007E0C4 3B C1 01 34 */ addi r30, r1, 0x134 +/* 80081168 0007E0C8 C3 C2 89 B8 */ lfs f30, lbl_805AA6D8@sda21(r2) +/* 8008116C 0007E0CC 93 41 00 B8 */ stw r26, 0xb8(r1) +/* 80081170 0007E0D0 C3 E2 89 BC */ lfs f31, lbl_805AA6DC@sda21(r2) +/* 80081174 0007E0D4 93 01 00 C4 */ stw r24, 0xc4(r1) +/* 80081178 0007E0D8 C3 82 89 B4 */ lfs f28, lbl_805AA6D4@sda21(r2) +/* 8008117C 0007E0DC 93 21 00 C0 */ stw r25, 0xc0(r1) +/* 80081180 0007E0E0 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 80081184 0007E0E4 48 00 03 04 */ b lbl_80081488 +lbl_80081188: +/* 80081188 0007E0E8 FC 20 E8 90 */ fmr f1, f29 +/* 8008118C 0007E0EC C0 42 89 B4 */ lfs f2, lbl_805AA6D4@sda21(r2) +/* 80081190 0007E0F0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80081194 0007E0F4 38 9B 03 7C */ addi r4, r27, 0x37c +/* 80081198 0007E0F8 4B FD AE 39 */ bl GetInterpolatedSplinePointByTime__13CCameraSplineCFff +/* 8008119C 0007E0FC C0 41 00 60 */ lfs f2, 0x60(r1) +/* 800811A0 0007E100 EC 3E E8 2A */ fadds f1, f30, f29 +/* 800811A4 0007E104 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 800811A8 0007E108 38 61 00 54 */ addi r3, r1, 0x54 +/* 800811AC 0007E10C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800811B0 0007E110 38 9B 03 7C */ addi r4, r27, 0x37c +/* 800811B4 0007E114 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 800811B8 0007E118 C0 42 89 B4 */ lfs f2, lbl_805AA6D4@sda21(r2) +/* 800811BC 0007E11C D0 61 00 94 */ stfs f3, 0x94(r1) +/* 800811C0 0007E120 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 800811C4 0007E124 4B FD AE 0D */ bl GetInterpolatedSplinePointByTime__13CCameraSplineCFff +/* 800811C8 0007E128 C0 A1 00 54 */ lfs f5, 0x54(r1) +/* 800811CC 0007E12C 38 61 00 78 */ addi r3, r1, 0x78 +/* 800811D0 0007E130 C0 81 00 58 */ lfs f4, 0x58(r1) +/* 800811D4 0007E134 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 800811D8 0007E138 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 800811DC 0007E13C C0 21 00 98 */ lfs f1, 0x98(r1) +/* 800811E0 0007E140 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 800811E4 0007E144 EC 44 10 28 */ fsubs f2, f4, f2 +/* 800811E8 0007E148 EC 23 08 28 */ fsubs f1, f3, f1 +/* 800811EC 0007E14C D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 800811F0 0007E150 EC 05 00 28 */ fsubs f0, f5, f0 +/* 800811F4 0007E154 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 800811F8 0007E158 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 800811FC 0007E15C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80081200 0007E160 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80081204 0007E164 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80081208 0007E168 48 29 36 B1 */ bl Magnitude__9CVector3fCFv +/* 8008120C 0007E16C FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80081210 0007E170 40 81 01 84 */ ble lbl_80081394 +/* 80081214 0007E174 38 61 00 78 */ addi r3, r1, 0x78 +/* 80081218 0007E178 48 29 36 A1 */ bl Magnitude__9CVector3fCFv +/* 8008121C 0007E17C FF 60 08 90 */ fmr f27, f1 +/* 80081220 0007E180 38 61 00 48 */ addi r3, r1, 0x48 +/* 80081224 0007E184 38 81 00 78 */ addi r4, r1, 0x78 +/* 80081228 0007E188 48 29 36 29 */ bl AsNormalized__9CVector3fCFv +/* 8008122C 0007E18C FC 20 D8 90 */ fmr f1, f27 +/* 80081230 0007E190 7F A4 EB 78 */ mr r4, r29 +/* 80081234 0007E194 38 61 01 00 */ addi r3, r1, 0x100 +/* 80081238 0007E198 38 A1 00 08 */ addi r5, r1, 8 +/* 8008123C 0007E19C 38 C1 00 90 */ addi r6, r1, 0x90 +/* 80081240 0007E1A0 38 E1 00 48 */ addi r7, r1, 0x48 +/* 80081244 0007E1A4 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 80081248 0007E1A8 39 21 05 B8 */ addi r9, r1, 0x5b8 +/* 8008124C 0007E1AC 4B FC BD 79 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80081250 0007E1B0 80 01 03 74 */ lwz r0, 0x374(r1) +/* 80081254 0007E1B4 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80081258 0007E1B8 7C 9F 02 15 */ add. r4, r31, r0 +/* 8008125C 0007E1BC 41 82 00 5C */ beq lbl_800812B8 +/* 80081260 0007E1C0 C0 21 01 00 */ lfs f1, 0x100(r1) +/* 80081264 0007E1C4 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 80081268 0007E1C8 D0 24 00 00 */ stfs f1, 0(r4) +/* 8008126C 0007E1CC C0 21 01 08 */ lfs f1, 0x108(r1) +/* 80081270 0007E1D0 D0 04 00 04 */ stfs f0, 4(r4) +/* 80081274 0007E1D4 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 80081278 0007E1D8 D0 24 00 08 */ stfs f1, 8(r4) +/* 8008127C 0007E1DC C0 21 01 10 */ lfs f1, 0x110(r1) +/* 80081280 0007E1E0 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80081284 0007E1E4 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 80081288 0007E1E8 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 8008128C 0007E1EC C0 21 01 18 */ lfs f1, 0x118(r1) +/* 80081290 0007E1F0 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80081294 0007E1F4 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 80081298 0007E1F8 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 8008129C 0007E1FC 88 01 01 20 */ lbz r0, 0x120(r1) +/* 800812A0 0007E200 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 800812A4 0007E204 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 800812A8 0007E208 98 04 00 20 */ stb r0, 0x20(r4) +/* 800812AC 0007E20C 80 01 01 28 */ lwz r0, 0x128(r1) +/* 800812B0 0007E210 90 64 00 2C */ stw r3, 0x2c(r4) +/* 800812B4 0007E214 90 04 00 28 */ stw r0, 0x28(r4) +lbl_800812B8: +/* 800812B8 0007E218 80 A1 03 74 */ lwz r5, 0x374(r1) +/* 800812BC 0007E21C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800812C0 0007E220 38 81 00 78 */ addi r4, r1, 0x78 +/* 800812C4 0007E224 38 05 00 01 */ addi r0, r5, 1 +/* 800812C8 0007E228 90 01 03 74 */ stw r0, 0x374(r1) +/* 800812CC 0007E22C 48 29 35 85 */ bl AsNormalized__9CVector3fCFv +/* 800812D0 0007E230 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 800812D4 0007E234 38 61 00 78 */ addi r3, r1, 0x78 +/* 800812D8 0007E238 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 800812DC 0007E23C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 800812E0 0007E240 FC 40 10 50 */ fneg f2, f2 +/* 800812E4 0007E244 FC 20 08 50 */ fneg f1, f1 +/* 800812E8 0007E248 FC 00 00 50 */ fneg f0, f0 +/* 800812EC 0007E24C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800812F0 0007E250 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800812F4 0007E254 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800812F8 0007E258 48 29 35 C1 */ bl Magnitude__9CVector3fCFv +/* 800812FC 0007E25C 7F A4 EB 78 */ mr r4, r29 +/* 80081300 0007E260 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80081304 0007E264 38 A1 00 08 */ addi r5, r1, 8 +/* 80081308 0007E268 38 C1 00 84 */ addi r6, r1, 0x84 +/* 8008130C 0007E26C 38 E1 00 3C */ addi r7, r1, 0x3c +/* 80081310 0007E270 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 80081314 0007E274 39 21 05 B8 */ addi r9, r1, 0x5b8 +/* 80081318 0007E278 4B FC BC AD */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 8008131C 0007E27C 80 01 01 30 */ lwz r0, 0x130(r1) +/* 80081320 0007E280 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80081324 0007E284 7C 9E 02 15 */ add. r4, r30, r0 +/* 80081328 0007E288 41 82 00 5C */ beq lbl_80081384 +/* 8008132C 0007E28C C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 80081330 0007E290 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80081334 0007E294 D0 24 00 00 */ stfs f1, 0(r4) +/* 80081338 0007E298 C0 21 00 D8 */ lfs f1, 0xd8(r1) +/* 8008133C 0007E29C D0 04 00 04 */ stfs f0, 4(r4) +/* 80081340 0007E2A0 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80081344 0007E2A4 D0 24 00 08 */ stfs f1, 8(r4) +/* 80081348 0007E2A8 C0 21 00 E0 */ lfs f1, 0xe0(r1) +/* 8008134C 0007E2AC D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80081350 0007E2B0 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 80081354 0007E2B4 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80081358 0007E2B8 C0 21 00 E8 */ lfs f1, 0xe8(r1) +/* 8008135C 0007E2BC D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80081360 0007E2C0 C0 01 00 EC */ lfs f0, 0xec(r1) +/* 80081364 0007E2C4 D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80081368 0007E2C8 88 01 00 F0 */ lbz r0, 0xf0(r1) +/* 8008136C 0007E2CC D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80081370 0007E2D0 80 61 00 FC */ lwz r3, 0xfc(r1) +/* 80081374 0007E2D4 98 04 00 20 */ stb r0, 0x20(r4) +/* 80081378 0007E2D8 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8008137C 0007E2DC 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80081380 0007E2E0 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80081384: +/* 80081384 0007E2E4 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80081388 0007E2E8 38 03 00 01 */ addi r0, r3, 1 +/* 8008138C 0007E2EC 90 01 01 30 */ stw r0, 0x130(r1) +/* 80081390 0007E2F0 48 00 00 F4 */ b lbl_80081484 +lbl_80081394: +/* 80081394 0007E2F4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80081398 0007E2F8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8008139C 0007E2FC C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 800813A0 0007E300 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800813A4 0007E304 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800813A8 0007E308 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800813AC 0007E30C 48 29 35 4D */ bl Normalize__9CVector3fFv +/* 800813B0 0007E310 80 01 03 74 */ lwz r0, 0x374(r1) +/* 800813B4 0007E314 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 800813B8 0007E318 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 800813BC 0007E31C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 800813C0 0007E320 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 800813C4 0007E324 7C 7F 02 15 */ add. r3, r31, r0 +/* 800813C8 0007E328 41 82 00 38 */ beq lbl_80081400 +/* 800813CC 0007E32C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800813D0 0007E330 38 00 00 00 */ li r0, 0 +/* 800813D4 0007E334 D0 03 00 00 */ stfs f0, 0(r3) +/* 800813D8 0007E338 D0 03 00 04 */ stfs f0, 4(r3) +/* 800813DC 0007E33C D0 03 00 08 */ stfs f0, 8(r3) +/* 800813E0 0007E340 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800813E4 0007E344 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 800813E8 0007E348 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 800813EC 0007E34C D0 63 00 18 */ stfs f3, 0x18(r3) +/* 800813F0 0007E350 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800813F4 0007E354 98 03 00 20 */ stb r0, 0x20(r3) +/* 800813F8 0007E358 90 03 00 2C */ stw r0, 0x2c(r3) +/* 800813FC 0007E35C 90 03 00 28 */ stw r0, 0x28(r3) +lbl_80081400: +/* 80081400 0007E360 80 81 03 74 */ lwz r4, 0x374(r1) +/* 80081404 0007E364 38 61 00 0C */ addi r3, r1, 0xc +/* 80081408 0007E368 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008140C 0007E36C C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80081410 0007E370 38 04 00 01 */ addi r0, r4, 1 +/* 80081414 0007E374 90 01 03 74 */ stw r0, 0x374(r1) +/* 80081418 0007E378 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8008141C 0007E37C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80081420 0007E380 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80081424 0007E384 48 29 34 D5 */ bl Normalize__9CVector3fFv +/* 80081428 0007E388 80 01 01 30 */ lwz r0, 0x130(r1) +/* 8008142C 0007E38C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80081430 0007E390 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80081434 0007E394 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80081438 0007E398 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8008143C 0007E39C 7C 7E 02 15 */ add. r3, r30, r0 +/* 80081440 0007E3A0 41 82 00 38 */ beq lbl_80081478 +/* 80081444 0007E3A4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80081448 0007E3A8 38 00 00 00 */ li r0, 0 +/* 8008144C 0007E3AC D0 03 00 00 */ stfs f0, 0(r3) +/* 80081450 0007E3B0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80081454 0007E3B4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80081458 0007E3B8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8008145C 0007E3BC D0 23 00 10 */ stfs f1, 0x10(r3) +/* 80081460 0007E3C0 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80081464 0007E3C4 D0 63 00 18 */ stfs f3, 0x18(r3) +/* 80081468 0007E3C8 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8008146C 0007E3CC 98 03 00 20 */ stb r0, 0x20(r3) +/* 80081470 0007E3D0 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80081474 0007E3D4 90 03 00 28 */ stw r0, 0x28(r3) +lbl_80081478: +/* 80081478 0007E3D8 80 61 01 30 */ lwz r3, 0x130(r1) +/* 8008147C 0007E3DC 38 03 00 01 */ addi r0, r3, 1 +/* 80081480 0007E3E0 90 01 01 30 */ stw r0, 0x130(r1) +lbl_80081484: +/* 80081484 0007E3E4 EF BD F0 2A */ fadds f29, f29, f30 +lbl_80081488: +/* 80081488 0007E3E8 FC 1D E0 40 */ fcmpo cr0, f29, f28 +/* 8008148C 0007E3EC 41 80 FC FC */ blt lbl_80081188 +/* 80081490 0007E3F0 83 A1 03 74 */ lwz r29, 0x374(r1) +/* 80081494 0007E3F4 7F F8 FB 78 */ mr r24, r31 +/* 80081498 0007E3F8 3B 20 00 00 */ li r25, 0 +/* 8008149C 0007E3FC 48 00 01 FC */ b lbl_80081698 +lbl_800814A0: +/* 800814A0 0007E400 88 18 00 20 */ lbz r0, 0x20(r24) +/* 800814A4 0007E404 28 00 00 00 */ cmplwi r0, 0 +/* 800814A8 0007E408 41 82 01 E4 */ beq lbl_8008168C +/* 800814AC 0007E40C C0 38 00 08 */ lfs f1, 8(r24) +/* 800814B0 0007E410 38 61 00 6C */ addi r3, r1, 0x6c +/* 800814B4 0007E414 C0 1E 00 08 */ lfs f0, 8(r30) +/* 800814B8 0007E418 C0 78 00 0C */ lfs f3, 0xc(r24) +/* 800814BC 0007E41C C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 800814C0 0007E420 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800814C4 0007E424 C0 38 00 04 */ lfs f1, 4(r24) +/* 800814C8 0007E428 C0 1E 00 04 */ lfs f0, 4(r30) +/* 800814CC 0007E42C EC 43 10 28 */ fsubs f2, f3, f2 +/* 800814D0 0007E430 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 800814D4 0007E434 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800814D8 0007E438 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 800814DC 0007E43C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800814E0 0007E440 48 29 33 D9 */ bl Magnitude__9CVector3fCFv +/* 800814E4 0007E444 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 800814E8 0007E448 C0 02 89 C0 */ lfs f0, lbl_805AA6E0@sda21(r2) +/* 800814EC 0007E44C EC 21 10 28 */ fsubs f1, f1, f2 +/* 800814F0 0007E450 FC 20 0A 10 */ fabs f1, f1 +/* 800814F4 0007E454 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800814F8 0007E458 40 80 00 68 */ bge lbl_80081560 +/* 800814FC 0007E45C 6F 23 80 00 */ xoris r3, r25, 0x8000 +/* 80081500 0007E460 3C 00 43 30 */ lis r0, 0x4330 +/* 80081504 0007E464 90 61 0D C4 */ stw r3, 0xdc4(r1) +/* 80081508 0007E468 38 61 00 24 */ addi r3, r1, 0x24 +/* 8008150C 0007E46C C8 22 89 C8 */ lfd f1, lbl_805AA6E8@sda21(r2) +/* 80081510 0007E470 38 9B 03 7C */ addi r4, r27, 0x37c +/* 80081514 0007E474 90 01 0D C0 */ stw r0, 0xdc0(r1) +/* 80081518 0007E478 C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) +/* 8008151C 0007E47C C8 01 0D C0 */ lfd f0, 0xdc0(r1) +/* 80081520 0007E480 C0 42 89 B4 */ lfs f2, lbl_805AA6D4@sda21(r2) +/* 80081524 0007E484 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80081528 0007E488 EC 23 00 2A */ fadds f1, f3, f0 +/* 8008152C 0007E48C 4B FD AA A5 */ bl GetInterpolatedSplinePointByTime__13CCameraSplineCFff +/* 80081530 0007E490 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80081534 0007E494 C0 18 00 08 */ lfs f0, 8(r24) +/* 80081538 0007E498 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 8008153C 0007E49C C0 58 00 0C */ lfs f2, 0xc(r24) +/* 80081540 0007E4A0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80081544 0007E4A4 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80081548 0007E4A8 C0 18 00 04 */ lfs f0, 4(r24) +/* 8008154C 0007E4AC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80081550 0007E4B0 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 80081554 0007E4B4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80081558 0007E4B8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8008155C 0007E4BC D0 01 00 6C */ stfs f0, 0x6c(r1) +lbl_80081560: +/* 80081560 0007E4C0 38 61 00 6C */ addi r3, r1, 0x6c +/* 80081564 0007E4C4 48 29 33 55 */ bl Magnitude__9CVector3fCFv +/* 80081568 0007E4C8 C0 02 89 C4 */ lfs f0, lbl_805AA6E4@sda21(r2) +/* 8008156C 0007E4CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80081570 0007E4D0 40 81 01 1C */ ble lbl_8008168C +/* 80081574 0007E4D4 1C 79 00 30 */ mulli r3, r25, 0x30 +/* 80081578 0007E4D8 80 A1 01 30 */ lwz r5, 0x130(r1) +/* 8008157C 0007E4DC 38 80 00 00 */ li r4, 0 +/* 80081580 0007E4E0 2C 05 00 00 */ cmpwi r5, 0 +/* 80081584 0007E4E4 38 03 00 28 */ addi r0, r3, 0x28 +/* 80081588 0007E4E8 7C 7F 02 14 */ add r3, r31, r0 +/* 8008158C 0007E4EC 80 03 00 00 */ lwz r0, 0(r3) +/* 80081590 0007E4F0 80 63 00 04 */ lwz r3, 4(r3) +/* 80081594 0007E4F4 90 7C 00 04 */ stw r3, 4(r28) +/* 80081598 0007E4F8 90 1C 00 00 */ stw r0, 0(r28) +/* 8008159C 0007E4FC 40 81 00 40 */ ble lbl_800815DC +/* 800815A0 0007E500 2C 05 00 08 */ cmpwi r5, 8 +/* 800815A4 0007E504 38 65 FF F8 */ addi r3, r5, -8 +/* 800815A8 0007E508 40 81 00 20 */ ble lbl_800815C8 +/* 800815AC 0007E50C 38 03 00 07 */ addi r0, r3, 7 +/* 800815B0 0007E510 54 00 E8 FE */ srwi r0, r0, 3 +/* 800815B4 0007E514 7C 09 03 A6 */ mtctr r0 +/* 800815B8 0007E518 2C 03 00 00 */ cmpwi r3, 0 +/* 800815BC 0007E51C 40 81 00 0C */ ble lbl_800815C8 +lbl_800815C0: +/* 800815C0 0007E520 38 84 00 08 */ addi r4, r4, 8 +/* 800815C4 0007E524 42 00 FF FC */ bdnz lbl_800815C0 +lbl_800815C8: +/* 800815C8 0007E528 7C 04 28 50 */ subf r0, r4, r5 +/* 800815CC 0007E52C 7C 09 03 A6 */ mtctr r0 +/* 800815D0 0007E530 7C 04 28 00 */ cmpw r4, r5 +/* 800815D4 0007E534 40 80 00 08 */ bge lbl_800815DC +lbl_800815D8: +/* 800815D8 0007E538 42 00 00 00 */ bdnz lbl_800815D8 +lbl_800815DC: +/* 800815DC 0007E53C 80 A1 03 74 */ lwz r5, 0x374(r1) +/* 800815E0 0007E540 38 60 00 00 */ li r3, 0 +/* 800815E4 0007E544 90 61 01 30 */ stw r3, 0x130(r1) +/* 800815E8 0007E548 2C 05 00 00 */ cmpwi r5, 0 +/* 800815EC 0007E54C 40 81 00 40 */ ble lbl_8008162C +/* 800815F0 0007E550 2C 05 00 08 */ cmpwi r5, 8 +/* 800815F4 0007E554 38 85 FF F8 */ addi r4, r5, -8 +/* 800815F8 0007E558 40 81 00 20 */ ble lbl_80081618 +/* 800815FC 0007E55C 38 04 00 07 */ addi r0, r4, 7 +/* 80081600 0007E560 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081604 0007E564 7C 09 03 A6 */ mtctr r0 +/* 80081608 0007E568 2C 04 00 00 */ cmpwi r4, 0 +/* 8008160C 0007E56C 40 81 00 0C */ ble lbl_80081618 +lbl_80081610: +/* 80081610 0007E570 38 63 00 08 */ addi r3, r3, 8 +/* 80081614 0007E574 42 00 FF FC */ bdnz lbl_80081610 +lbl_80081618: +/* 80081618 0007E578 7C 03 28 50 */ subf r0, r3, r5 +/* 8008161C 0007E57C 7C 09 03 A6 */ mtctr r0 +/* 80081620 0007E580 7C 03 28 00 */ cmpw r3, r5 +/* 80081624 0007E584 40 80 00 08 */ bge lbl_8008162C +lbl_80081628: +/* 80081628 0007E588 42 00 00 00 */ bdnz lbl_80081628 +lbl_8008162C: +/* 8008162C 0007E58C 80 A1 05 B8 */ lwz r5, 0x5b8(r1) +/* 80081630 0007E590 38 60 00 00 */ li r3, 0 +/* 80081634 0007E594 90 61 03 74 */ stw r3, 0x374(r1) +/* 80081638 0007E598 2C 05 00 00 */ cmpwi r5, 0 +/* 8008163C 0007E59C 40 81 00 40 */ ble lbl_8008167C +/* 80081640 0007E5A0 2C 05 00 08 */ cmpwi r5, 8 +/* 80081644 0007E5A4 38 85 FF F8 */ addi r4, r5, -8 +/* 80081648 0007E5A8 40 81 00 20 */ ble lbl_80081668 +/* 8008164C 0007E5AC 38 04 00 07 */ addi r0, r4, 7 +/* 80081650 0007E5B0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081654 0007E5B4 7C 09 03 A6 */ mtctr r0 +/* 80081658 0007E5B8 2C 04 00 00 */ cmpwi r4, 0 +/* 8008165C 0007E5BC 40 81 00 0C */ ble lbl_80081668 +lbl_80081660: +/* 80081660 0007E5C0 38 63 00 08 */ addi r3, r3, 8 +/* 80081664 0007E5C4 42 00 FF FC */ bdnz lbl_80081660 +lbl_80081668: +/* 80081668 0007E5C8 7C 03 28 50 */ subf r0, r3, r5 +/* 8008166C 0007E5CC 7C 09 03 A6 */ mtctr r0 +/* 80081670 0007E5D0 7C 03 28 00 */ cmpw r3, r5 +/* 80081674 0007E5D4 40 80 00 08 */ bge lbl_8008167C +lbl_80081678: +/* 80081678 0007E5D8 42 00 00 00 */ bdnz lbl_80081678 +lbl_8008167C: +/* 8008167C 0007E5DC 38 00 00 00 */ li r0, 0 +/* 80081680 0007E5E0 38 60 00 00 */ li r3, 0 +/* 80081684 0007E5E4 90 01 05 B8 */ stw r0, 0x5b8(r1) +/* 80081688 0007E5E8 48 00 01 0C */ b lbl_80081794 +lbl_8008168C: +/* 8008168C 0007E5EC 3B 18 00 30 */ addi r24, r24, 0x30 +/* 80081690 0007E5F0 3B DE 00 30 */ addi r30, r30, 0x30 +/* 80081694 0007E5F4 3B 39 00 01 */ addi r25, r25, 1 +lbl_80081698: +/* 80081698 0007E5F8 7C 19 E8 00 */ cmpw r25, r29 +/* 8008169C 0007E5FC 41 80 FE 04 */ blt lbl_800814A0 +/* 800816A0 0007E600 80 A1 01 30 */ lwz r5, 0x130(r1) +/* 800816A4 0007E604 38 60 00 00 */ li r3, 0 +/* 800816A8 0007E608 2C 05 00 00 */ cmpwi r5, 0 +/* 800816AC 0007E60C 40 81 00 40 */ ble lbl_800816EC +/* 800816B0 0007E610 2C 05 00 08 */ cmpwi r5, 8 +/* 800816B4 0007E614 38 85 FF F8 */ addi r4, r5, -8 +/* 800816B8 0007E618 40 81 00 20 */ ble lbl_800816D8 +/* 800816BC 0007E61C 38 04 00 07 */ addi r0, r4, 7 +/* 800816C0 0007E620 54 00 E8 FE */ srwi r0, r0, 3 +/* 800816C4 0007E624 7C 09 03 A6 */ mtctr r0 +/* 800816C8 0007E628 2C 04 00 00 */ cmpwi r4, 0 +/* 800816CC 0007E62C 40 81 00 0C */ ble lbl_800816D8 +lbl_800816D0: +/* 800816D0 0007E630 38 63 00 08 */ addi r3, r3, 8 +/* 800816D4 0007E634 42 00 FF FC */ bdnz lbl_800816D0 +lbl_800816D8: +/* 800816D8 0007E638 7C 03 28 50 */ subf r0, r3, r5 +/* 800816DC 0007E63C 7C 09 03 A6 */ mtctr r0 +/* 800816E0 0007E640 7C 03 28 00 */ cmpw r3, r5 +/* 800816E4 0007E644 40 80 00 08 */ bge lbl_800816EC +lbl_800816E8: +/* 800816E8 0007E648 42 00 00 00 */ bdnz lbl_800816E8 +lbl_800816EC: +/* 800816EC 0007E64C 38 60 00 00 */ li r3, 0 +/* 800816F0 0007E650 2C 1D 00 00 */ cmpwi r29, 0 +/* 800816F4 0007E654 90 61 01 30 */ stw r3, 0x130(r1) +/* 800816F8 0007E658 40 81 00 40 */ ble lbl_80081738 +/* 800816FC 0007E65C 2C 1D 00 08 */ cmpwi r29, 8 +/* 80081700 0007E660 38 9D FF F8 */ addi r4, r29, -8 +/* 80081704 0007E664 40 81 00 20 */ ble lbl_80081724 +/* 80081708 0007E668 38 04 00 07 */ addi r0, r4, 7 +/* 8008170C 0007E66C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081710 0007E670 7C 09 03 A6 */ mtctr r0 +/* 80081714 0007E674 2C 04 00 00 */ cmpwi r4, 0 +/* 80081718 0007E678 40 81 00 0C */ ble lbl_80081724 +lbl_8008171C: +/* 8008171C 0007E67C 38 63 00 08 */ addi r3, r3, 8 +/* 80081720 0007E680 42 00 FF FC */ bdnz lbl_8008171C +lbl_80081724: +/* 80081724 0007E684 7C 03 E8 50 */ subf r0, r3, r29 +/* 80081728 0007E688 7C 09 03 A6 */ mtctr r0 +/* 8008172C 0007E68C 7C 03 E8 00 */ cmpw r3, r29 +/* 80081730 0007E690 40 80 00 08 */ bge lbl_80081738 +lbl_80081734: +/* 80081734 0007E694 42 00 00 00 */ bdnz lbl_80081734 +lbl_80081738: +/* 80081738 0007E698 80 A1 05 B8 */ lwz r5, 0x5b8(r1) +/* 8008173C 0007E69C 38 60 00 00 */ li r3, 0 +/* 80081740 0007E6A0 90 61 03 74 */ stw r3, 0x374(r1) +/* 80081744 0007E6A4 2C 05 00 00 */ cmpwi r5, 0 +/* 80081748 0007E6A8 40 81 00 40 */ ble lbl_80081788 +/* 8008174C 0007E6AC 2C 05 00 08 */ cmpwi r5, 8 +/* 80081750 0007E6B0 38 85 FF F8 */ addi r4, r5, -8 +/* 80081754 0007E6B4 40 81 00 20 */ ble lbl_80081774 +/* 80081758 0007E6B8 38 04 00 07 */ addi r0, r4, 7 +/* 8008175C 0007E6BC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081760 0007E6C0 7C 09 03 A6 */ mtctr r0 +/* 80081764 0007E6C4 2C 04 00 00 */ cmpwi r4, 0 +/* 80081768 0007E6C8 40 81 00 0C */ ble lbl_80081774 +lbl_8008176C: +/* 8008176C 0007E6CC 38 63 00 08 */ addi r3, r3, 8 +/* 80081770 0007E6D0 42 00 FF FC */ bdnz lbl_8008176C +lbl_80081774: +/* 80081774 0007E6D4 7C 03 28 50 */ subf r0, r3, r5 +/* 80081778 0007E6D8 7C 09 03 A6 */ mtctr r0 +/* 8008177C 0007E6DC 7C 03 28 00 */ cmpw r3, r5 +/* 80081780 0007E6E0 40 80 00 08 */ bge lbl_80081788 +lbl_80081784: +/* 80081784 0007E6E4 42 00 00 00 */ bdnz lbl_80081784 +lbl_80081788: +/* 80081788 0007E6E8 38 00 00 00 */ li r0, 0 +/* 8008178C 0007E6EC 38 60 00 01 */ li r3, 1 +/* 80081790 0007E6F0 90 01 05 B8 */ stw r0, 0x5b8(r1) +lbl_80081794: +/* 80081794 0007E6F4 E3 E1 0E 38 */ psq_l f31, -456(r1), 0, qr0 +/* 80081798 0007E6F8 CB E1 0E 30 */ lfd f31, 0xe30(r1) +/* 8008179C 0007E6FC E3 C1 0E 28 */ psq_l f30, -472(r1), 0, qr0 +/* 800817A0 0007E700 CB C1 0E 20 */ lfd f30, 0xe20(r1) +/* 800817A4 0007E704 E3 A1 0E 18 */ psq_l f29, -488(r1), 0, qr0 +/* 800817A8 0007E708 CB A1 0E 10 */ lfd f29, 0xe10(r1) +/* 800817AC 0007E70C E3 81 0E 08 */ psq_l f28, -504(r1), 0, qr0 +/* 800817B0 0007E710 CB 81 0E 00 */ lfd f28, 0xe00(r1) +/* 800817B4 0007E714 E3 61 0D F8 */ psq_l f27, -520(r1), 0, qr0 +/* 800817B8 0007E718 CB 61 0D F0 */ lfd f27, 0xdf0(r1) +/* 800817BC 0007E71C BB 01 0D D0 */ lmw r24, 0xdd0(r1) +/* 800817C0 0007E720 80 01 0E 44 */ lwz r0, 0xe44(r1) +/* 800817C4 0007E724 7C 08 03 A6 */ mtlr r0 +/* 800817C8 0007E728 38 21 0E 40 */ addi r1, r1, 0xe40 +/* 800817CC 0007E72C 4E 80 00 20 */ blr + +.global CheckFailsafeFromMorphBallState__11CBallCameraCFR13CStateManager +CheckFailsafeFromMorphBallState__11CBallCameraCFR13CStateManager: +/* 800817D0 0007E730 94 21 F4 40 */ stwu r1, -0xbc0(r1) +/* 800817D4 0007E734 7C 08 02 A6 */ mflr r0 +/* 800817D8 0007E738 90 01 0B C4 */ stw r0, 0xbc4(r1) +/* 800817DC 0007E73C DB E1 0B B0 */ stfd f31, 0xbb0(r1) +/* 800817E0 0007E740 F3 E1 0B B8 */ psq_st f31, -1096(r1), 0, qr0 +/* 800817E4 0007E744 DB C1 0B A0 */ stfd f30, 0xba0(r1) +/* 800817E8 0007E748 F3 C1 0B A8 */ psq_st f30, -1112(r1), 0, qr0 +/* 800817EC 0007E74C DB A1 0B 90 */ stfd f29, 0xb90(r1) +/* 800817F0 0007E750 F3 A1 0B 98 */ psq_st f29, -1128(r1), 0, qr0 +/* 800817F4 0007E754 DB 81 0B 80 */ stfd f28, 0xb80(r1) +/* 800817F8 0007E758 F3 81 0B 88 */ psq_st f28, -1144(r1), 0, qr0 +/* 800817FC 0007E75C DB 61 0B 70 */ stfd f27, 0xb70(r1) +/* 80081800 0007E760 F3 61 0B 78 */ psq_st f27, -1160(r1), 0, qr0 +/* 80081804 0007E764 BF 61 0B 5C */ stmw r27, 0xb5c(r1) +/* 80081808 0007E768 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8008180C 0007E76C 38 00 00 00 */ li r0, 0 +/* 80081810 0007E770 90 01 03 48 */ stw r0, 0x348(r1) +/* 80081814 0007E774 7C 7C 1B 78 */ mr r28, r3 +/* 80081818 0007E778 C3 82 89 B0 */ lfs f28, lbl_805AA6D0@sda21(r2) +/* 8008181C 0007E77C 7C 9D 23 78 */ mr r29, r4 +/* 80081820 0007E780 B0 A1 00 08 */ sth r5, 8(r1) +/* 80081824 0007E784 3B E1 02 28 */ addi r31, r1, 0x228 +/* 80081828 0007E788 C3 A2 89 D0 */ lfs f29, lbl_805AA6F0@sda21(r2) +/* 8008182C 0007E78C 3B C1 01 04 */ addi r30, r1, 0x104 +/* 80081830 0007E790 90 01 02 24 */ stw r0, 0x224(r1) +/* 80081834 0007E794 C3 C2 89 B8 */ lfs f30, lbl_805AA6D8@sda21(r2) +/* 80081838 0007E798 90 01 01 00 */ stw r0, 0x100(r1) +/* 8008183C 0007E79C C3 E2 89 BC */ lfs f31, lbl_805AA6DC@sda21(r2) +/* 80081840 0007E7A0 48 00 03 10 */ b lbl_80081B50 +lbl_80081844: +/* 80081844 0007E7A4 EC 3C E8 24 */ fdivs f1, f28, f29 +/* 80081848 0007E7A8 80 9C 04 7C */ lwz r4, 0x47c(r28) +/* 8008184C 0007E7AC 38 61 00 60 */ addi r3, r1, 0x60 +/* 80081850 0007E7B0 38 84 00 90 */ addi r4, r4, 0x90 +/* 80081854 0007E7B4 48 1B D5 71 */ bl "GetFailsafeBezierPoint__11CBallCameraFRCQ24rstl18vector<9CVector3f>f" +/* 80081858 0007E7B8 EC 1E E0 2A */ fadds f0, f30, f28 +/* 8008185C 0007E7BC C0 81 00 60 */ lfs f4, 0x60(r1) +/* 80081860 0007E7C0 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 80081864 0007E7C4 38 61 00 54 */ addi r3, r1, 0x54 +/* 80081868 0007E7C8 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 8008186C 0007E7CC EC 20 E8 24 */ fdivs f1, f0, f29 +/* 80081870 0007E7D0 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 80081874 0007E7D4 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 80081878 0007E7D8 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8008187C 0007E7DC 80 9C 04 7C */ lwz r4, 0x47c(r28) +/* 80081880 0007E7E0 38 84 00 90 */ addi r4, r4, 0x90 +/* 80081884 0007E7E4 48 1B D5 41 */ bl "GetFailsafeBezierPoint__11CBallCameraFRCQ24rstl18vector<9CVector3f>f" +/* 80081888 0007E7E8 C0 A1 00 54 */ lfs f5, 0x54(r1) +/* 8008188C 0007E7EC 38 61 00 78 */ addi r3, r1, 0x78 +/* 80081890 0007E7F0 C0 81 00 58 */ lfs f4, 0x58(r1) +/* 80081894 0007E7F4 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 80081898 0007E7F8 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 8008189C 0007E7FC C0 21 00 98 */ lfs f1, 0x98(r1) +/* 800818A0 0007E800 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 800818A4 0007E804 EC 44 10 28 */ fsubs f2, f4, f2 +/* 800818A8 0007E808 EC 23 08 28 */ fsubs f1, f3, f1 +/* 800818AC 0007E80C D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 800818B0 0007E810 EC 05 00 28 */ fsubs f0, f5, f0 +/* 800818B4 0007E814 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 800818B8 0007E818 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 800818BC 0007E81C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 800818C0 0007E820 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 800818C4 0007E824 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 800818C8 0007E828 48 29 2F F1 */ bl Magnitude__9CVector3fCFv +/* 800818CC 0007E82C FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 800818D0 0007E830 40 81 01 8C */ ble lbl_80081A5C +/* 800818D4 0007E834 38 61 00 78 */ addi r3, r1, 0x78 +/* 800818D8 0007E838 48 29 2F E1 */ bl Magnitude__9CVector3fCFv +/* 800818DC 0007E83C FF 60 08 90 */ fmr f27, f1 +/* 800818E0 0007E840 38 61 00 48 */ addi r3, r1, 0x48 +/* 800818E4 0007E844 38 81 00 78 */ addi r4, r1, 0x78 +/* 800818E8 0007E848 48 29 2F 69 */ bl AsNormalized__9CVector3fCFv +/* 800818EC 0007E84C FC 20 D8 90 */ fmr f1, f27 +/* 800818F0 0007E850 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 800818F4 0007E854 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 800818F8 0007E858 7F A4 EB 78 */ mr r4, r29 +/* 800818FC 0007E85C 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80081900 0007E860 38 A1 00 08 */ addi r5, r1, 8 +/* 80081904 0007E864 38 C1 00 90 */ addi r6, r1, 0x90 +/* 80081908 0007E868 38 E1 00 48 */ addi r7, r1, 0x48 +/* 8008190C 0007E86C 39 21 03 48 */ addi r9, r1, 0x348 +/* 80081910 0007E870 4B FC B6 B5 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80081914 0007E874 80 01 02 24 */ lwz r0, 0x224(r1) +/* 80081918 0007E878 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8008191C 0007E87C 7C 9F 02 15 */ add. r4, r31, r0 +/* 80081920 0007E880 41 82 00 5C */ beq lbl_8008197C +/* 80081924 0007E884 C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 80081928 0007E888 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 8008192C 0007E88C D0 24 00 00 */ stfs f1, 0(r4) +/* 80081930 0007E890 C0 21 00 D8 */ lfs f1, 0xd8(r1) +/* 80081934 0007E894 D0 04 00 04 */ stfs f0, 4(r4) +/* 80081938 0007E898 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 8008193C 0007E89C D0 24 00 08 */ stfs f1, 8(r4) +/* 80081940 0007E8A0 C0 21 00 E0 */ lfs f1, 0xe0(r1) +/* 80081944 0007E8A4 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80081948 0007E8A8 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 8008194C 0007E8AC D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80081950 0007E8B0 C0 21 00 E8 */ lfs f1, 0xe8(r1) +/* 80081954 0007E8B4 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80081958 0007E8B8 C0 01 00 EC */ lfs f0, 0xec(r1) +/* 8008195C 0007E8BC D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80081960 0007E8C0 88 01 00 F0 */ lbz r0, 0xf0(r1) +/* 80081964 0007E8C4 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80081968 0007E8C8 80 61 00 FC */ lwz r3, 0xfc(r1) +/* 8008196C 0007E8CC 98 04 00 20 */ stb r0, 0x20(r4) +/* 80081970 0007E8D0 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 80081974 0007E8D4 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80081978 0007E8D8 90 04 00 28 */ stw r0, 0x28(r4) +lbl_8008197C: +/* 8008197C 0007E8DC 80 A1 02 24 */ lwz r5, 0x224(r1) +/* 80081980 0007E8E0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80081984 0007E8E4 38 81 00 78 */ addi r4, r1, 0x78 +/* 80081988 0007E8E8 38 05 00 01 */ addi r0, r5, 1 +/* 8008198C 0007E8EC 90 01 02 24 */ stw r0, 0x224(r1) +/* 80081990 0007E8F0 48 29 2E C1 */ bl AsNormalized__9CVector3fCFv +/* 80081994 0007E8F4 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 80081998 0007E8F8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8008199C 0007E8FC C0 21 00 34 */ lfs f1, 0x34(r1) +/* 800819A0 0007E900 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 800819A4 0007E904 FC 40 10 50 */ fneg f2, f2 +/* 800819A8 0007E908 FC 20 08 50 */ fneg f1, f1 +/* 800819AC 0007E90C FC 00 00 50 */ fneg f0, f0 +/* 800819B0 0007E910 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800819B4 0007E914 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800819B8 0007E918 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800819BC 0007E91C 48 29 2E FD */ bl Magnitude__9CVector3fCFv +/* 800819C0 0007E920 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 800819C4 0007E924 7F A4 EB 78 */ mr r4, r29 +/* 800819C8 0007E928 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 800819CC 0007E92C 38 A1 00 08 */ addi r5, r1, 8 +/* 800819D0 0007E930 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800819D4 0007E934 38 C1 00 84 */ addi r6, r1, 0x84 +/* 800819D8 0007E938 38 E1 00 3C */ addi r7, r1, 0x3c +/* 800819DC 0007E93C 39 21 03 48 */ addi r9, r1, 0x348 +/* 800819E0 0007E940 4B FC B5 E5 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 800819E4 0007E944 80 01 01 00 */ lwz r0, 0x100(r1) +/* 800819E8 0007E948 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 800819EC 0007E94C 7C 9E 02 15 */ add. r4, r30, r0 +/* 800819F0 0007E950 41 82 00 5C */ beq lbl_80081A4C +/* 800819F4 0007E954 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 800819F8 0007E958 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 800819FC 0007E95C D0 24 00 00 */ stfs f1, 0(r4) +/* 80081A00 0007E960 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 80081A04 0007E964 D0 04 00 04 */ stfs f0, 4(r4) +/* 80081A08 0007E968 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 80081A0C 0007E96C D0 24 00 08 */ stfs f1, 8(r4) +/* 80081A10 0007E970 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 80081A14 0007E974 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80081A18 0007E978 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80081A1C 0007E97C D0 24 00 10 */ stfs f1, 0x10(r4) +/* 80081A20 0007E980 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 80081A24 0007E984 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80081A28 0007E988 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80081A2C 0007E98C D0 24 00 18 */ stfs f1, 0x18(r4) +/* 80081A30 0007E990 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 80081A34 0007E994 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 80081A38 0007E998 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 80081A3C 0007E99C 98 04 00 20 */ stb r0, 0x20(r4) +/* 80081A40 0007E9A0 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 80081A44 0007E9A4 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80081A48 0007E9A8 90 04 00 28 */ stw r0, 0x28(r4) +lbl_80081A4C: +/* 80081A4C 0007E9AC 80 61 01 00 */ lwz r3, 0x100(r1) +/* 80081A50 0007E9B0 38 03 00 01 */ addi r0, r3, 1 +/* 80081A54 0007E9B4 90 01 01 00 */ stw r0, 0x100(r1) +/* 80081A58 0007E9B8 48 00 00 F4 */ b lbl_80081B4C +lbl_80081A5C: +/* 80081A5C 0007E9BC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80081A60 0007E9C0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80081A64 0007E9C4 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80081A68 0007E9C8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80081A6C 0007E9CC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80081A70 0007E9D0 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80081A74 0007E9D4 48 29 2E 85 */ bl Normalize__9CVector3fFv +/* 80081A78 0007E9D8 80 01 02 24 */ lwz r0, 0x224(r1) +/* 80081A7C 0007E9DC C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80081A80 0007E9E0 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80081A84 0007E9E4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80081A88 0007E9E8 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 80081A8C 0007E9EC 7C 7F 02 15 */ add. r3, r31, r0 +/* 80081A90 0007E9F0 41 82 00 38 */ beq lbl_80081AC8 +/* 80081A94 0007E9F4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80081A98 0007E9F8 38 00 00 00 */ li r0, 0 +/* 80081A9C 0007E9FC D0 03 00 00 */ stfs f0, 0(r3) +/* 80081AA0 0007EA00 D0 03 00 04 */ stfs f0, 4(r3) +/* 80081AA4 0007EA04 D0 03 00 08 */ stfs f0, 8(r3) +/* 80081AA8 0007EA08 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80081AAC 0007EA0C D0 23 00 10 */ stfs f1, 0x10(r3) +/* 80081AB0 0007EA10 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80081AB4 0007EA14 D0 63 00 18 */ stfs f3, 0x18(r3) +/* 80081AB8 0007EA18 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80081ABC 0007EA1C 98 03 00 20 */ stb r0, 0x20(r3) +/* 80081AC0 0007EA20 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80081AC4 0007EA24 90 03 00 28 */ stw r0, 0x28(r3) +lbl_80081AC8: +/* 80081AC8 0007EA28 80 81 02 24 */ lwz r4, 0x224(r1) +/* 80081ACC 0007EA2C 38 61 00 0C */ addi r3, r1, 0xc +/* 80081AD0 0007EA30 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80081AD4 0007EA34 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80081AD8 0007EA38 38 04 00 01 */ addi r0, r4, 1 +/* 80081ADC 0007EA3C 90 01 02 24 */ stw r0, 0x224(r1) +/* 80081AE0 0007EA40 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80081AE4 0007EA44 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80081AE8 0007EA48 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80081AEC 0007EA4C 48 29 2E 0D */ bl Normalize__9CVector3fFv +/* 80081AF0 0007EA50 80 01 01 00 */ lwz r0, 0x100(r1) +/* 80081AF4 0007EA54 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80081AF8 0007EA58 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80081AFC 0007EA5C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80081B00 0007EA60 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80081B04 0007EA64 7C 7E 02 15 */ add. r3, r30, r0 +/* 80081B08 0007EA68 41 82 00 38 */ beq lbl_80081B40 +/* 80081B0C 0007EA6C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80081B10 0007EA70 38 00 00 00 */ li r0, 0 +/* 80081B14 0007EA74 D0 03 00 00 */ stfs f0, 0(r3) +/* 80081B18 0007EA78 D0 03 00 04 */ stfs f0, 4(r3) +/* 80081B1C 0007EA7C D0 03 00 08 */ stfs f0, 8(r3) +/* 80081B20 0007EA80 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80081B24 0007EA84 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 80081B28 0007EA88 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80081B2C 0007EA8C D0 63 00 18 */ stfs f3, 0x18(r3) +/* 80081B30 0007EA90 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80081B34 0007EA94 98 03 00 20 */ stb r0, 0x20(r3) +/* 80081B38 0007EA98 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80081B3C 0007EA9C 90 03 00 28 */ stw r0, 0x28(r3) +lbl_80081B40: +/* 80081B40 0007EAA0 80 61 01 00 */ lwz r3, 0x100(r1) +/* 80081B44 0007EAA4 38 03 00 01 */ addi r0, r3, 1 +/* 80081B48 0007EAA8 90 01 01 00 */ stw r0, 0x100(r1) +lbl_80081B4C: +/* 80081B4C 0007EAAC EF 9C F0 2A */ fadds f28, f28, f30 +lbl_80081B50: +/* 80081B50 0007EAB0 FC 1C E8 40 */ fcmpo cr0, f28, f29 +/* 80081B54 0007EAB4 41 80 FC F0 */ blt lbl_80081844 +/* 80081B58 0007EAB8 83 A1 02 24 */ lwz r29, 0x224(r1) +/* 80081B5C 0007EABC 3B 60 00 00 */ li r27, 0 +/* 80081B60 0007EAC0 48 00 01 E8 */ b lbl_80081D48 +lbl_80081B64: +/* 80081B64 0007EAC4 88 1F 00 20 */ lbz r0, 0x20(r31) +/* 80081B68 0007EAC8 28 00 00 00 */ cmplwi r0, 0 +/* 80081B6C 0007EACC 41 82 01 D0 */ beq lbl_80081D3C +/* 80081B70 0007EAD0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80081B74 0007EAD4 38 61 00 6C */ addi r3, r1, 0x6c +/* 80081B78 0007EAD8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80081B7C 0007EADC C0 7F 00 0C */ lfs f3, 0xc(r31) +/* 80081B80 0007EAE0 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 80081B84 0007EAE4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80081B88 0007EAE8 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80081B8C 0007EAEC C0 1E 00 04 */ lfs f0, 4(r30) +/* 80081B90 0007EAF0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80081B94 0007EAF4 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 80081B98 0007EAF8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80081B9C 0007EAFC D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80081BA0 0007EB00 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80081BA4 0007EB04 48 29 2D 15 */ bl Magnitude__9CVector3fCFv +/* 80081BA8 0007EB08 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 80081BAC 0007EB0C C0 02 89 C0 */ lfs f0, lbl_805AA6E0@sda21(r2) +/* 80081BB0 0007EB10 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80081BB4 0007EB14 FC 20 0A 10 */ fabs f1, f1 +/* 80081BB8 0007EB18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80081BBC 0007EB1C 40 80 00 70 */ bge lbl_80081C2C +/* 80081BC0 0007EB20 6F 63 80 00 */ xoris r3, r27, 0x8000 +/* 80081BC4 0007EB24 3C 00 43 30 */ lis r0, 0x4330 +/* 80081BC8 0007EB28 90 61 0B 54 */ stw r3, 0xb54(r1) +/* 80081BCC 0007EB2C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80081BD0 0007EB30 80 9C 04 7C */ lwz r4, 0x47c(r28) +/* 80081BD4 0007EB34 90 01 0B 50 */ stw r0, 0xb50(r1) +/* 80081BD8 0007EB38 C8 22 89 C8 */ lfd f1, lbl_805AA6E8@sda21(r2) +/* 80081BDC 0007EB3C 38 84 00 90 */ addi r4, r4, 0x90 +/* 80081BE0 0007EB40 C8 01 0B 50 */ lfd f0, 0xb50(r1) +/* 80081BE4 0007EB44 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 80081BE8 0007EB48 EC 20 08 28 */ fsubs f1, f0, f1 +/* 80081BEC 0007EB4C C0 02 89 D0 */ lfs f0, lbl_805AA6F0@sda21(r2) +/* 80081BF0 0007EB50 EC 22 08 2A */ fadds f1, f2, f1 +/* 80081BF4 0007EB54 EC 21 00 24 */ fdivs f1, f1, f0 +/* 80081BF8 0007EB58 48 1B D1 CD */ bl "GetFailsafeBezierPoint__11CBallCameraFRCQ24rstl18vector<9CVector3f>f" +/* 80081BFC 0007EB5C C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80081C00 0007EB60 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80081C04 0007EB64 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 80081C08 0007EB68 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 80081C0C 0007EB6C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80081C10 0007EB70 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80081C14 0007EB74 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80081C18 0007EB78 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80081C1C 0007EB7C D0 81 00 70 */ stfs f4, 0x70(r1) +/* 80081C20 0007EB80 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80081C24 0007EB84 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80081C28 0007EB88 D0 01 00 6C */ stfs f0, 0x6c(r1) +lbl_80081C2C: +/* 80081C2C 0007EB8C 38 61 00 6C */ addi r3, r1, 0x6c +/* 80081C30 0007EB90 48 29 2C 89 */ bl Magnitude__9CVector3fCFv +/* 80081C34 0007EB94 C0 02 89 C4 */ lfs f0, lbl_805AA6E4@sda21(r2) +/* 80081C38 0007EB98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80081C3C 0007EB9C 40 81 01 00 */ ble lbl_80081D3C +/* 80081C40 0007EBA0 80 A1 01 00 */ lwz r5, 0x100(r1) +/* 80081C44 0007EBA4 38 60 00 00 */ li r3, 0 +/* 80081C48 0007EBA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80081C4C 0007EBAC 40 81 00 40 */ ble lbl_80081C8C +/* 80081C50 0007EBB0 2C 05 00 08 */ cmpwi r5, 8 +/* 80081C54 0007EBB4 38 85 FF F8 */ addi r4, r5, -8 +/* 80081C58 0007EBB8 40 81 00 20 */ ble lbl_80081C78 +/* 80081C5C 0007EBBC 38 04 00 07 */ addi r0, r4, 7 +/* 80081C60 0007EBC0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081C64 0007EBC4 7C 09 03 A6 */ mtctr r0 +/* 80081C68 0007EBC8 2C 04 00 00 */ cmpwi r4, 0 +/* 80081C6C 0007EBCC 40 81 00 0C */ ble lbl_80081C78 +lbl_80081C70: +/* 80081C70 0007EBD0 38 63 00 08 */ addi r3, r3, 8 +/* 80081C74 0007EBD4 42 00 FF FC */ bdnz lbl_80081C70 +lbl_80081C78: +/* 80081C78 0007EBD8 7C 03 28 50 */ subf r0, r3, r5 +/* 80081C7C 0007EBDC 7C 09 03 A6 */ mtctr r0 +/* 80081C80 0007EBE0 7C 03 28 00 */ cmpw r3, r5 +/* 80081C84 0007EBE4 40 80 00 08 */ bge lbl_80081C8C +lbl_80081C88: +/* 80081C88 0007EBE8 42 00 00 00 */ bdnz lbl_80081C88 +lbl_80081C8C: +/* 80081C8C 0007EBEC 80 A1 02 24 */ lwz r5, 0x224(r1) +/* 80081C90 0007EBF0 38 60 00 00 */ li r3, 0 +/* 80081C94 0007EBF4 90 61 01 00 */ stw r3, 0x100(r1) +/* 80081C98 0007EBF8 2C 05 00 00 */ cmpwi r5, 0 +/* 80081C9C 0007EBFC 40 81 00 40 */ ble lbl_80081CDC +/* 80081CA0 0007EC00 2C 05 00 08 */ cmpwi r5, 8 +/* 80081CA4 0007EC04 38 85 FF F8 */ addi r4, r5, -8 +/* 80081CA8 0007EC08 40 81 00 20 */ ble lbl_80081CC8 +/* 80081CAC 0007EC0C 38 04 00 07 */ addi r0, r4, 7 +/* 80081CB0 0007EC10 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081CB4 0007EC14 7C 09 03 A6 */ mtctr r0 +/* 80081CB8 0007EC18 2C 04 00 00 */ cmpwi r4, 0 +/* 80081CBC 0007EC1C 40 81 00 0C */ ble lbl_80081CC8 +lbl_80081CC0: +/* 80081CC0 0007EC20 38 63 00 08 */ addi r3, r3, 8 +/* 80081CC4 0007EC24 42 00 FF FC */ bdnz lbl_80081CC0 +lbl_80081CC8: +/* 80081CC8 0007EC28 7C 03 28 50 */ subf r0, r3, r5 +/* 80081CCC 0007EC2C 7C 09 03 A6 */ mtctr r0 +/* 80081CD0 0007EC30 7C 03 28 00 */ cmpw r3, r5 +/* 80081CD4 0007EC34 40 80 00 08 */ bge lbl_80081CDC +lbl_80081CD8: +/* 80081CD8 0007EC38 42 00 00 00 */ bdnz lbl_80081CD8 +lbl_80081CDC: +/* 80081CDC 0007EC3C 80 A1 03 48 */ lwz r5, 0x348(r1) +/* 80081CE0 0007EC40 38 60 00 00 */ li r3, 0 +/* 80081CE4 0007EC44 90 61 02 24 */ stw r3, 0x224(r1) +/* 80081CE8 0007EC48 2C 05 00 00 */ cmpwi r5, 0 +/* 80081CEC 0007EC4C 40 81 00 40 */ ble lbl_80081D2C +/* 80081CF0 0007EC50 2C 05 00 08 */ cmpwi r5, 8 +/* 80081CF4 0007EC54 38 85 FF F8 */ addi r4, r5, -8 +/* 80081CF8 0007EC58 40 81 00 20 */ ble lbl_80081D18 +/* 80081CFC 0007EC5C 38 04 00 07 */ addi r0, r4, 7 +/* 80081D00 0007EC60 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081D04 0007EC64 7C 09 03 A6 */ mtctr r0 +/* 80081D08 0007EC68 2C 04 00 00 */ cmpwi r4, 0 +/* 80081D0C 0007EC6C 40 81 00 0C */ ble lbl_80081D18 +lbl_80081D10: +/* 80081D10 0007EC70 38 63 00 08 */ addi r3, r3, 8 +/* 80081D14 0007EC74 42 00 FF FC */ bdnz lbl_80081D10 +lbl_80081D18: +/* 80081D18 0007EC78 7C 03 28 50 */ subf r0, r3, r5 +/* 80081D1C 0007EC7C 7C 09 03 A6 */ mtctr r0 +/* 80081D20 0007EC80 7C 03 28 00 */ cmpw r3, r5 +/* 80081D24 0007EC84 40 80 00 08 */ bge lbl_80081D2C +lbl_80081D28: +/* 80081D28 0007EC88 42 00 00 00 */ bdnz lbl_80081D28 +lbl_80081D2C: +/* 80081D2C 0007EC8C 38 00 00 00 */ li r0, 0 +/* 80081D30 0007EC90 38 60 00 00 */ li r3, 0 +/* 80081D34 0007EC94 90 01 03 48 */ stw r0, 0x348(r1) +/* 80081D38 0007EC98 48 00 01 0C */ b lbl_80081E44 +lbl_80081D3C: +/* 80081D3C 0007EC9C 3B FF 00 30 */ addi r31, r31, 0x30 +/* 80081D40 0007ECA0 3B DE 00 30 */ addi r30, r30, 0x30 +/* 80081D44 0007ECA4 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80081D48: +/* 80081D48 0007ECA8 7C 1B E8 00 */ cmpw r27, r29 +/* 80081D4C 0007ECAC 41 80 FE 18 */ blt lbl_80081B64 +/* 80081D50 0007ECB0 80 A1 01 00 */ lwz r5, 0x100(r1) +/* 80081D54 0007ECB4 38 60 00 00 */ li r3, 0 +/* 80081D58 0007ECB8 2C 05 00 00 */ cmpwi r5, 0 +/* 80081D5C 0007ECBC 40 81 00 40 */ ble lbl_80081D9C +/* 80081D60 0007ECC0 2C 05 00 08 */ cmpwi r5, 8 +/* 80081D64 0007ECC4 38 85 FF F8 */ addi r4, r5, -8 +/* 80081D68 0007ECC8 40 81 00 20 */ ble lbl_80081D88 +/* 80081D6C 0007ECCC 38 04 00 07 */ addi r0, r4, 7 +/* 80081D70 0007ECD0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081D74 0007ECD4 7C 09 03 A6 */ mtctr r0 +/* 80081D78 0007ECD8 2C 04 00 00 */ cmpwi r4, 0 +/* 80081D7C 0007ECDC 40 81 00 0C */ ble lbl_80081D88 +lbl_80081D80: +/* 80081D80 0007ECE0 38 63 00 08 */ addi r3, r3, 8 +/* 80081D84 0007ECE4 42 00 FF FC */ bdnz lbl_80081D80 +lbl_80081D88: +/* 80081D88 0007ECE8 7C 03 28 50 */ subf r0, r3, r5 +/* 80081D8C 0007ECEC 7C 09 03 A6 */ mtctr r0 +/* 80081D90 0007ECF0 7C 03 28 00 */ cmpw r3, r5 +/* 80081D94 0007ECF4 40 80 00 08 */ bge lbl_80081D9C +lbl_80081D98: +/* 80081D98 0007ECF8 42 00 00 00 */ bdnz lbl_80081D98 +lbl_80081D9C: +/* 80081D9C 0007ECFC 38 60 00 00 */ li r3, 0 +/* 80081DA0 0007ED00 2C 1D 00 00 */ cmpwi r29, 0 +/* 80081DA4 0007ED04 90 61 01 00 */ stw r3, 0x100(r1) +/* 80081DA8 0007ED08 40 81 00 40 */ ble lbl_80081DE8 +/* 80081DAC 0007ED0C 2C 1D 00 08 */ cmpwi r29, 8 +/* 80081DB0 0007ED10 38 9D FF F8 */ addi r4, r29, -8 +/* 80081DB4 0007ED14 40 81 00 20 */ ble lbl_80081DD4 +/* 80081DB8 0007ED18 38 04 00 07 */ addi r0, r4, 7 +/* 80081DBC 0007ED1C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081DC0 0007ED20 7C 09 03 A6 */ mtctr r0 +/* 80081DC4 0007ED24 2C 04 00 00 */ cmpwi r4, 0 +/* 80081DC8 0007ED28 40 81 00 0C */ ble lbl_80081DD4 +lbl_80081DCC: +/* 80081DCC 0007ED2C 38 63 00 08 */ addi r3, r3, 8 +/* 80081DD0 0007ED30 42 00 FF FC */ bdnz lbl_80081DCC +lbl_80081DD4: +/* 80081DD4 0007ED34 7C 03 E8 50 */ subf r0, r3, r29 +/* 80081DD8 0007ED38 7C 09 03 A6 */ mtctr r0 +/* 80081DDC 0007ED3C 7C 03 E8 00 */ cmpw r3, r29 +/* 80081DE0 0007ED40 40 80 00 08 */ bge lbl_80081DE8 +lbl_80081DE4: +/* 80081DE4 0007ED44 42 00 00 00 */ bdnz lbl_80081DE4 +lbl_80081DE8: +/* 80081DE8 0007ED48 80 A1 03 48 */ lwz r5, 0x348(r1) +/* 80081DEC 0007ED4C 38 60 00 00 */ li r3, 0 +/* 80081DF0 0007ED50 90 61 02 24 */ stw r3, 0x224(r1) +/* 80081DF4 0007ED54 2C 05 00 00 */ cmpwi r5, 0 +/* 80081DF8 0007ED58 40 81 00 40 */ ble lbl_80081E38 +/* 80081DFC 0007ED5C 2C 05 00 08 */ cmpwi r5, 8 +/* 80081E00 0007ED60 38 85 FF F8 */ addi r4, r5, -8 +/* 80081E04 0007ED64 40 81 00 20 */ ble lbl_80081E24 +/* 80081E08 0007ED68 38 04 00 07 */ addi r0, r4, 7 +/* 80081E0C 0007ED6C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80081E10 0007ED70 7C 09 03 A6 */ mtctr r0 +/* 80081E14 0007ED74 2C 04 00 00 */ cmpwi r4, 0 +/* 80081E18 0007ED78 40 81 00 0C */ ble lbl_80081E24 +lbl_80081E1C: +/* 80081E1C 0007ED7C 38 63 00 08 */ addi r3, r3, 8 +/* 80081E20 0007ED80 42 00 FF FC */ bdnz lbl_80081E1C +lbl_80081E24: +/* 80081E24 0007ED84 7C 03 28 50 */ subf r0, r3, r5 +/* 80081E28 0007ED88 7C 09 03 A6 */ mtctr r0 +/* 80081E2C 0007ED8C 7C 03 28 00 */ cmpw r3, r5 +/* 80081E30 0007ED90 40 80 00 08 */ bge lbl_80081E38 +lbl_80081E34: +/* 80081E34 0007ED94 42 00 00 00 */ bdnz lbl_80081E34 +lbl_80081E38: +/* 80081E38 0007ED98 38 00 00 00 */ li r0, 0 +/* 80081E3C 0007ED9C 38 60 00 01 */ li r3, 1 +/* 80081E40 0007EDA0 90 01 03 48 */ stw r0, 0x348(r1) +lbl_80081E44: +/* 80081E44 0007EDA4 E3 E1 0B B8 */ psq_l f31, -1096(r1), 0, qr0 +/* 80081E48 0007EDA8 CB E1 0B B0 */ lfd f31, 0xbb0(r1) +/* 80081E4C 0007EDAC E3 C1 0B A8 */ psq_l f30, -1112(r1), 0, qr0 +/* 80081E50 0007EDB0 CB C1 0B A0 */ lfd f30, 0xba0(r1) +/* 80081E54 0007EDB4 E3 A1 0B 98 */ psq_l f29, -1128(r1), 0, qr0 +/* 80081E58 0007EDB8 CB A1 0B 90 */ lfd f29, 0xb90(r1) +/* 80081E5C 0007EDBC E3 81 0B 88 */ psq_l f28, -1144(r1), 0, qr0 +/* 80081E60 0007EDC0 CB 81 0B 80 */ lfd f28, 0xb80(r1) +/* 80081E64 0007EDC4 E3 61 0B 78 */ psq_l f27, -1160(r1), 0, qr0 +/* 80081E68 0007EDC8 CB 61 0B 70 */ lfd f27, 0xb70(r1) +/* 80081E6C 0007EDCC BB 61 0B 5C */ lmw r27, 0xb5c(r1) +/* 80081E70 0007EDD0 80 01 0B C4 */ lwz r0, 0xbc4(r1) +/* 80081E74 0007EDD4 7C 08 03 A6 */ mtlr r0 +/* 80081E78 0007EDD8 38 21 0B C0 */ addi r1, r1, 0xbc0 +/* 80081E7C 0007EDDC 4E 80 00 20 */ blr + +.global ApplyCameraHint__11CBallCameraFR13CStateManager +ApplyCameraHint__11CBallCameraFR13CStateManager: +/* 80081E80 0007EDE0 94 21 FC D0 */ stwu r1, -0x330(r1) +/* 80081E84 0007EDE4 7C 08 02 A6 */ mflr r0 +/* 80081E88 0007EDE8 90 01 03 34 */ stw r0, 0x334(r1) +/* 80081E8C 0007EDEC DB E1 03 20 */ stfd f31, 0x320(r1) +/* 80081E90 0007EDF0 F3 E1 03 28 */ psq_st f31, 808(r1), 0, qr0 +/* 80081E94 0007EDF4 DB C1 03 10 */ stfd f30, 0x310(r1) +/* 80081E98 0007EDF8 F3 C1 03 18 */ psq_st f30, 792(r1), 0, qr0 +/* 80081E9C 0007EDFC 93 E1 03 0C */ stw r31, 0x30c(r1) +/* 80081EA0 0007EE00 93 C1 03 08 */ stw r30, 0x308(r1) +/* 80081EA4 0007EE04 93 A1 03 04 */ stw r29, 0x304(r1) +/* 80081EA8 0007EE08 7C 9E 23 78 */ mr r30, r4 +/* 80081EAC 0007EE0C 7C 7D 1B 78 */ mr r29, r3 +/* 80081EB0 0007EE10 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80081EB4 0007EE14 4B F8 75 1D */ bl GetCameraHint__14CCameraManagerCFR13CStateManager +/* 80081EB8 0007EE18 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80081EBC 0007EE1C 41 82 08 38 */ beq lbl_800826F4 +/* 80081EC0 0007EE20 7F A3 EB 78 */ mr r3, r29 +/* 80081EC4 0007EE24 7F C4 F3 78 */ mr r4, r30 +/* 80081EC8 0007EE28 48 00 A8 FD */ bl ResetToTweaks__11CBallCameraFR13CStateManager +/* 80081ECC 0007EE2C 80 1F 00 F4 */ lwz r0, 0xf4(r31) +/* 80081ED0 0007EE30 90 1D 01 88 */ stw r0, 0x188(r29) +/* 80081ED4 0007EE34 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80081ED8 0007EE38 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 80081EDC 0007EE3C 41 82 00 18 */ beq lbl_80081EF4 +/* 80081EE0 0007EE40 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80081EE4 0007EE44 38 60 00 01 */ li r3, 1 +/* 80081EE8 0007EE48 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80081EEC 0007EE4C 98 1D 01 8C */ stb r0, 0x18c(r29) +/* 80081EF0 0007EE50 48 00 00 14 */ b lbl_80081F04 +lbl_80081EF4: +/* 80081EF4 0007EE54 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80081EF8 0007EE58 38 60 00 00 */ li r3, 0 +/* 80081EFC 0007EE5C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80081F00 0007EE60 98 1D 01 8C */ stb r0, 0x18c(r29) +lbl_80081F04: +/* 80081F04 0007EE64 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80081F08 0007EE68 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 80081F0C 0007EE6C 41 82 00 18 */ beq lbl_80081F24 +/* 80081F10 0007EE70 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80081F14 0007EE74 38 60 00 01 */ li r3, 1 +/* 80081F18 0007EE78 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80081F1C 0007EE7C 98 1D 01 8C */ stb r0, 0x18c(r29) +/* 80081F20 0007EE80 48 00 00 14 */ b lbl_80081F34 +lbl_80081F24: +/* 80081F24 0007EE84 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80081F28 0007EE88 38 60 00 00 */ li r3, 0 +/* 80081F2C 0007EE8C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80081F30 0007EE90 98 1D 01 8C */ stb r0, 0x18c(r29) +lbl_80081F34: +/* 80081F34 0007EE94 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80081F38 0007EE98 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c +/* 80081F3C 0007EE9C 41 82 00 18 */ beq lbl_80081F54 +/* 80081F40 0007EEA0 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80081F44 0007EEA4 38 60 00 01 */ li r3, 1 +/* 80081F48 0007EEA8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80081F4C 0007EEAC 98 1D 01 8C */ stb r0, 0x18c(r29) +/* 80081F50 0007EEB0 48 00 00 14 */ b lbl_80081F64 +lbl_80081F54: +/* 80081F54 0007EEB4 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80081F58 0007EEB8 38 60 00 00 */ li r3, 0 +/* 80081F5C 0007EEBC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80081F60 0007EEC0 98 1D 01 8C */ stb r0, 0x18c(r29) +lbl_80081F64: +/* 80081F64 0007EEC4 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80081F68 0007EEC8 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b +/* 80081F6C 0007EECC 41 82 00 18 */ beq lbl_80081F84 +/* 80081F70 0007EED0 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80081F74 0007EED4 38 60 00 01 */ li r3, 1 +/* 80081F78 0007EED8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80081F7C 0007EEDC 98 1D 01 8C */ stb r0, 0x18c(r29) +/* 80081F80 0007EEE0 48 00 00 14 */ b lbl_80081F94 +lbl_80081F84: +/* 80081F84 0007EEE4 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80081F88 0007EEE8 38 60 00 00 */ li r3, 0 +/* 80081F8C 0007EEEC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80081F90 0007EEF0 98 1D 01 8C */ stb r0, 0x18c(r29) +lbl_80081F94: +/* 80081F94 0007EEF4 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80081F98 0007EEF8 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19 +/* 80081F9C 0007EEFC 41 82 00 14 */ beq lbl_80081FB0 +/* 80081FA0 0007EF00 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 80081FA4 0007EF04 38 60 00 01 */ li r3, 1 +/* 80081FA8 0007EF08 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80081FAC 0007EF0C 98 1D 01 8D */ stb r0, 0x18d(r29) +lbl_80081FB0: +/* 80081FB0 0007EF10 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80081FB4 0007EF14 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 +/* 80081FB8 0007EF18 41 82 00 18 */ beq lbl_80081FD0 +/* 80081FBC 0007EF1C 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 80081FC0 0007EF20 38 60 00 01 */ li r3, 1 +/* 80081FC4 0007EF24 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80081FC8 0007EF28 98 1D 01 8D */ stb r0, 0x18d(r29) +/* 80081FCC 0007EF2C 48 00 00 14 */ b lbl_80081FE0 +lbl_80081FD0: +/* 80081FD0 0007EF30 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 80081FD4 0007EF34 38 60 00 00 */ li r3, 0 +/* 80081FD8 0007EF38 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80081FDC 0007EF3C 98 1D 01 8D */ stb r0, 0x18d(r29) +lbl_80081FE0: +/* 80081FE0 0007EF40 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80081FE4 0007EF44 54 00 04 21 */ rlwinm. r0, r0, 0, 0x10, 0x10 +/* 80081FE8 0007EF48 41 82 00 18 */ beq lbl_80082000 +/* 80081FEC 0007EF4C 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 80081FF0 0007EF50 38 60 00 01 */ li r3, 1 +/* 80081FF4 0007EF54 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80081FF8 0007EF58 98 1D 01 8D */ stb r0, 0x18d(r29) +/* 80081FFC 0007EF5C 48 00 00 14 */ b lbl_80082010 +lbl_80082000: +/* 80082000 0007EF60 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 80082004 0007EF64 38 60 00 00 */ li r3, 0 +/* 80082008 0007EF68 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8008200C 0007EF6C 98 1D 01 8D */ stb r0, 0x18d(r29) +lbl_80082010: +/* 80082010 0007EF70 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082014 0007EF74 54 00 03 DF */ rlwinm. r0, r0, 0, 0xf, 0xf +/* 80082018 0007EF78 41 82 00 18 */ beq lbl_80082030 +/* 8008201C 0007EF7C 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 80082020 0007EF80 38 60 00 01 */ li r3, 1 +/* 80082024 0007EF84 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80082028 0007EF88 98 1D 01 8D */ stb r0, 0x18d(r29) +/* 8008202C 0007EF8C 48 00 00 14 */ b lbl_80082040 +lbl_80082030: +/* 80082030 0007EF90 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 80082034 0007EF94 38 60 00 00 */ li r3, 0 +/* 80082038 0007EF98 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8008203C 0007EF9C 98 1D 01 8D */ stb r0, 0x18d(r29) +lbl_80082040: +/* 80082040 0007EFA0 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082044 0007EFA4 54 00 03 9D */ rlwinm. r0, r0, 0, 0xe, 0xe +/* 80082048 0007EFA8 41 82 00 18 */ beq lbl_80082060 +/* 8008204C 0007EFAC 88 1D 01 8E */ lbz r0, 0x18e(r29) +/* 80082050 0007EFB0 38 60 00 01 */ li r3, 1 +/* 80082054 0007EFB4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80082058 0007EFB8 98 1D 01 8E */ stb r0, 0x18e(r29) +/* 8008205C 0007EFBC 48 00 00 14 */ b lbl_80082070 +lbl_80082060: +/* 80082060 0007EFC0 88 1D 01 8E */ lbz r0, 0x18e(r29) +/* 80082064 0007EFC4 38 60 00 00 */ li r3, 0 +/* 80082068 0007EFC8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8008206C 0007EFCC 98 1D 01 8E */ stb r0, 0x18e(r29) +lbl_80082070: +/* 80082070 0007EFD0 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082074 0007EFD4 54 00 03 19 */ rlwinm. r0, r0, 0, 0xc, 0xc +/* 80082078 0007EFD8 41 82 00 18 */ beq lbl_80082090 +/* 8008207C 0007EFDC 88 1D 01 8E */ lbz r0, 0x18e(r29) +/* 80082080 0007EFE0 38 60 00 01 */ li r3, 1 +/* 80082084 0007EFE4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80082088 0007EFE8 98 1D 01 8E */ stb r0, 0x18e(r29) +/* 8008208C 0007EFEC 48 00 00 14 */ b lbl_800820A0 +lbl_80082090: +/* 80082090 0007EFF0 88 1D 01 8E */ lbz r0, 0x18e(r29) +/* 80082094 0007EFF4 38 60 00 00 */ li r3, 0 +/* 80082098 0007EFF8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8008209C 0007EFFC 98 1D 01 8E */ stb r0, 0x18e(r29) +lbl_800820A0: +/* 800820A0 0007F000 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 800820A4 0007F004 54 00 03 19 */ rlwinm. r0, r0, 0, 0xc, 0xc +/* 800820A8 0007F008 41 82 00 18 */ beq lbl_800820C0 +/* 800820AC 0007F00C 88 1D 01 8E */ lbz r0, 0x18e(r29) +/* 800820B0 0007F010 38 60 00 01 */ li r3, 1 +/* 800820B4 0007F014 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800820B8 0007F018 98 1D 01 8E */ stb r0, 0x18e(r29) +/* 800820BC 0007F01C 48 00 00 14 */ b lbl_800820D0 +lbl_800820C0: +/* 800820C0 0007F020 88 1D 01 8E */ lbz r0, 0x18e(r29) +/* 800820C4 0007F024 38 60 00 00 */ li r3, 0 +/* 800820C8 0007F028 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800820CC 0007F02C 98 1D 01 8E */ stb r0, 0x18e(r29) +lbl_800820D0: +/* 800820D0 0007F030 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 800820D4 0007F034 54 00 02 53 */ rlwinm. r0, r0, 0, 9, 9 +/* 800820D8 0007F038 41 82 00 0C */ beq lbl_800820E4 +/* 800820DC 0007F03C C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 800820E0 0007F040 D0 1D 01 94 */ stfs f0, 0x194(r29) +lbl_800820E4: +/* 800820E4 0007F044 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 800820E8 0007F048 54 00 02 11 */ rlwinm. r0, r0, 0, 8, 8 +/* 800820EC 0007F04C 41 82 00 0C */ beq lbl_800820F8 +/* 800820F0 0007F050 C0 1F 00 FC */ lfs f0, 0xfc(r31) +/* 800820F4 0007F054 D0 1D 01 98 */ stfs f0, 0x198(r29) +lbl_800820F8: +/* 800820F8 0007F058 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 800820FC 0007F05C 54 00 01 CF */ rlwinm. r0, r0, 0, 7, 7 +/* 80082100 0007F060 41 82 00 0C */ beq lbl_8008210C +/* 80082104 0007F064 C0 1F 01 00 */ lfs f0, 0x100(r31) +/* 80082108 0007F068 D0 1D 01 9C */ stfs f0, 0x19c(r29) +lbl_8008210C: +/* 8008210C 0007F06C 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082110 0007F070 54 00 00 01 */ rlwinm. r0, r0, 0, 0, 0 +/* 80082114 0007F074 41 82 00 0C */ beq lbl_80082120 +/* 80082118 0007F078 C0 1F 01 40 */ lfs f0, 0x140(r31) +/* 8008211C 0007F07C D0 1D 01 A0 */ stfs f0, 0x1a0(r29) +lbl_80082120: +/* 80082120 0007F080 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082124 0007F084 54 00 01 8D */ rlwinm. r0, r0, 0, 6, 6 +/* 80082128 0007F088 41 82 00 4C */ beq lbl_80082174 +/* 8008212C 0007F08C C0 1F 01 04 */ lfs f0, 0x104(r31) +/* 80082130 0007F090 C0 3F 01 08 */ lfs f1, 0x108(r31) +/* 80082134 0007F094 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80082138 0007F098 C0 1F 01 0C */ lfs f0, 0x10c(r31) +/* 8008213C 0007F09C D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80082140 0007F0A0 80 01 00 AC */ lwz r0, 0xac(r1) +/* 80082144 0007F0A4 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80082148 0007F0A8 80 61 00 B0 */ lwz r3, 0xb0(r1) +/* 8008214C 0007F0AC 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80082150 0007F0B0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80082154 0007F0B4 90 61 00 BC */ stw r3, 0xbc(r1) +/* 80082158 0007F0B8 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8008215C 0007F0BC 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80082160 0007F0C0 C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 80082164 0007F0C4 D0 1D 01 B4 */ stfs f0, 0x1b4(r29) +/* 80082168 0007F0C8 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8008216C 0007F0CC D0 3D 01 B8 */ stfs f1, 0x1b8(r29) +/* 80082170 0007F0D0 D0 1D 01 BC */ stfs f0, 0x1bc(r29) +lbl_80082174: +/* 80082174 0007F0D4 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082178 0007F0D8 54 00 01 4B */ rlwinm. r0, r0, 0, 5, 5 +/* 8008217C 0007F0DC 41 82 00 4C */ beq lbl_800821C8 +/* 80082180 0007F0E0 C0 1F 01 10 */ lfs f0, 0x110(r31) +/* 80082184 0007F0E4 C0 3F 01 14 */ lfs f1, 0x114(r31) +/* 80082188 0007F0E8 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8008218C 0007F0EC C0 1F 01 18 */ lfs f0, 0x118(r31) +/* 80082190 0007F0F0 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 80082194 0007F0F4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80082198 0007F0F8 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8008219C 0007F0FC 80 61 00 98 */ lwz r3, 0x98(r1) +/* 800821A0 0007F100 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 800821A4 0007F104 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800821A8 0007F108 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 800821AC 0007F10C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 800821B0 0007F110 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 800821B4 0007F114 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 800821B8 0007F118 D0 1D 04 10 */ stfs f0, 0x410(r29) +/* 800821BC 0007F11C C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 800821C0 0007F120 D0 3D 04 14 */ stfs f1, 0x414(r29) +/* 800821C4 0007F124 D0 1D 04 18 */ stfs f0, 0x418(r29) +lbl_800821C8: +/* 800821C8 0007F128 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 800821CC 0007F12C 54 00 00 C7 */ rlwinm. r0, r0, 0, 3, 3 +/* 800821D0 0007F130 41 82 00 20 */ beq lbl_800821F0 +/* 800821D4 0007F134 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 800821D8 0007F138 38 60 00 01 */ li r3, 1 +/* 800821DC 0007F13C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800821E0 0007F140 98 1D 01 8C */ stb r0, 0x18c(r29) +/* 800821E4 0007F144 C0 1F 01 2C */ lfs f0, 0x12c(r31) +/* 800821E8 0007F148 D0 1D 01 AC */ stfs f0, 0x1ac(r29) +/* 800821EC 0007F14C 48 00 00 14 */ b lbl_80082200 +lbl_800821F0: +/* 800821F0 0007F150 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 800821F4 0007F154 38 60 00 00 */ li r3, 0 +/* 800821F8 0007F158 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800821FC 0007F15C 98 1D 01 8C */ stb r0, 0x18c(r29) +lbl_80082200: +/* 80082200 0007F160 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082204 0007F164 54 00 00 85 */ rlwinm. r0, r0, 0, 2, 2 +/* 80082208 0007F168 41 82 00 20 */ beq lbl_80082228 +/* 8008220C 0007F16C 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80082210 0007F170 38 60 00 01 */ li r3, 1 +/* 80082214 0007F174 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80082218 0007F178 98 1D 01 8C */ stb r0, 0x18c(r29) +/* 8008221C 0007F17C C0 1F 01 30 */ lfs f0, 0x130(r31) +/* 80082220 0007F180 D0 1D 01 B0 */ stfs f0, 0x1b0(r29) +/* 80082224 0007F184 48 00 00 14 */ b lbl_80082238 +lbl_80082228: +/* 80082228 0007F188 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 8008222C 0007F18C 38 60 00 00 */ li r3, 0 +/* 80082230 0007F190 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80082234 0007F194 98 1D 01 8C */ stb r0, 0x18c(r29) +lbl_80082238: +/* 80082238 0007F198 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8008223C 0007F19C 54 00 01 09 */ rlwinm. r0, r0, 0, 4, 4 +/* 80082240 0007F1A0 41 82 00 1C */ beq lbl_8008225C +/* 80082244 0007F1A4 C0 3D 01 5C */ lfs f1, 0x15c(r29) +/* 80082248 0007F1A8 7F A3 EB 78 */ mr r3, r29 +/* 8008224C 0007F1AC C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 80082250 0007F1B0 C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) +/* 80082254 0007F1B4 C0 82 89 B0 */ lfs f4, lbl_805AA6D0@sda21(r2) +/* 80082258 0007F1B8 4B FD 8C C1 */ bl SetFovInterpolation__11CGameCameraFffff +lbl_8008225C: +/* 8008225C 0007F1BC 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082260 0007F1C0 54 00 00 43 */ rlwinm. r0, r0, 0, 1, 1 +/* 80082264 0007F1C4 41 82 00 0C */ beq lbl_80082270 +/* 80082268 0007F1C8 C0 1F 01 34 */ lfs f0, 0x134(r31) +/* 8008226C 0007F1CC D0 1D 01 A8 */ stfs f0, 0x1a8(r29) +lbl_80082270: +/* 80082270 0007F1D0 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082274 0007F1D4 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 +/* 80082278 0007F1D8 41 82 00 14 */ beq lbl_8008228C +/* 8008227C 0007F1DC 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80082280 0007F1E0 C0 3F 01 4C */ lfs f1, 0x14c(r31) +/* 80082284 0007F1E4 4B F8 F8 21 */ bl SetControlDirectionInterpolation__7CPlayerFf +/* 80082288 0007F1E8 48 00 00 0C */ b lbl_80082294 +lbl_8008228C: +/* 8008228C 0007F1EC 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80082290 0007F1F0 4B F8 F7 F9 */ bl ResetControlDirectionInterpolation__7CPlayerFv +lbl_80082294: +/* 80082294 0007F1F4 80 1F 00 F4 */ lwz r0, 0xf4(r31) +/* 80082298 0007F1F8 28 00 00 08 */ cmplwi r0, 8 +/* 8008229C 0007F1FC 41 81 04 30 */ bgt lbl_800826CC +/* 800822A0 0007F200 3C 60 80 3E */ lis r3, lbl_803DAC04@ha +/* 800822A4 0007F204 54 00 10 3A */ slwi r0, r0, 2 +/* 800822A8 0007F208 38 63 AC 04 */ addi r3, r3, lbl_803DAC04@l +/* 800822AC 0007F20C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800822B0 0007F210 7C 09 03 A6 */ mtctr r0 +/* 800822B4 0007F214 4E 80 04 20 */ bctr +/* 800822B8 0007F218 C0 1F 01 1C */ lfs f0, 0x11c(r31) +/* 800822BC 0007F21C 7F A3 EB 78 */ mr r3, r29 +/* 800822C0 0007F220 C0 3F 01 20 */ lfs f1, 0x120(r31) +/* 800822C4 0007F224 7F C4 F3 78 */ mr r4, r30 +/* 800822C8 0007F228 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 800822CC 0007F22C C0 1F 01 24 */ lfs f0, 0x124(r31) +/* 800822D0 0007F230 D0 21 01 10 */ stfs f1, 0x110(r1) +/* 800822D4 0007F234 80 01 01 0C */ lwz r0, 0x10c(r1) +/* 800822D8 0007F238 D0 01 01 14 */ stfs f0, 0x114(r1) +/* 800822DC 0007F23C 80 A1 01 10 */ lwz r5, 0x110(r1) +/* 800822E0 0007F240 90 01 00 88 */ stw r0, 0x88(r1) +/* 800822E4 0007F244 80 01 01 14 */ lwz r0, 0x114(r1) +/* 800822E8 0007F248 90 A1 00 8C */ stw r5, 0x8c(r1) +/* 800822EC 0007F24C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 800822F0 0007F250 90 01 00 90 */ stw r0, 0x90(r1) +/* 800822F4 0007F254 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 800822F8 0007F258 D0 1D 04 5C */ stfs f0, 0x45c(r29) +/* 800822FC 0007F25C C0 01 00 90 */ lfs f0, 0x90(r1) +/* 80082300 0007F260 D0 3D 04 60 */ stfs f1, 0x460(r29) +/* 80082304 0007F264 D0 1D 04 64 */ stfs f0, 0x464(r29) +/* 80082308 0007F268 48 00 A7 89 */ bl ResetPosition__11CBallCameraFR13CStateManager +/* 8008230C 0007F26C 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80082310 0007F270 38 61 00 7C */ addi r3, r1, 0x7c +/* 80082314 0007F274 48 20 2A 35 */ bl GetBallPosition__7CPlayerCFv +/* 80082318 0007F278 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 8008231C 0007F27C C3 C1 01 10 */ lfs f30, 0x110(r1) +/* 80082320 0007F280 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 80082324 0007F284 EC 60 F0 2A */ fadds f3, f0, f30 +/* 80082328 0007F288 C3 E1 01 14 */ lfs f31, 0x114(r1) +/* 8008232C 0007F28C C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80082330 0007F290 C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 80082334 0007F294 EC 42 F8 2A */ fadds f2, f2, f31 +/* 80082338 0007F298 D0 61 01 04 */ stfs f3, 0x104(r1) +/* 8008233C 0007F29C EC 00 08 2A */ fadds f0, f0, f1 +/* 80082340 0007F2A0 D0 41 01 08 */ stfs f2, 0x108(r1) +/* 80082344 0007F2A4 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 80082348 0007F2A8 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8008234C 0007F2AC 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80082350 0007F2B0 41 82 00 C8 */ beq lbl_80082418 +/* 80082354 0007F2B4 FC 40 F0 90 */ fmr f2, f30 +/* 80082358 0007F2B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8008235C 0007F2BC 48 29 1E A5 */ bl __ct__9CVector2fFff +/* 80082360 0007F2C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80082364 0007F2C4 48 29 1D 91 */ bl Magnitude__9CVector2fCFv +/* 80082368 0007F2C8 FC 00 08 90 */ fmr f0, f1 +/* 8008236C 0007F2CC C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 80082370 0007F2D0 FC 40 F0 90 */ fmr f2, f30 +/* 80082374 0007F2D4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80082378 0007F2D8 FF C0 00 90 */ fmr f30, f0 +/* 8008237C 0007F2DC 48 29 1E 85 */ bl __ct__9CVector2fFff +/* 80082380 0007F2E0 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80082384 0007F2E4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80082388 0007F2E8 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 8008238C 0007F2EC 38 81 00 64 */ addi r4, r1, 0x64 +/* 80082390 0007F2F0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80082394 0007F2F4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80082398 0007F2F8 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 8008239C 0007F2FC D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800823A0 0007F300 48 29 24 B1 */ bl AsNormalized__9CVector3fCFv +/* 800823A4 0007F304 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 800823A8 0007F308 FC 20 F0 90 */ fmr f1, f30 +/* 800823AC 0007F30C C0 01 00 78 */ lfs f0, 0x78(r1) +/* 800823B0 0007F310 7F A4 EB 78 */ mr r4, r29 +/* 800823B4 0007F314 FC 80 18 50 */ fneg f4, f3 +/* 800823B8 0007F318 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 800823BC 0007F31C FC 00 00 50 */ fneg f0, f0 +/* 800823C0 0007F320 FC 60 10 50 */ fneg f3, f2 +/* 800823C4 0007F324 7F C6 F3 78 */ mr r6, r30 +/* 800823C8 0007F328 D0 81 00 F4 */ stfs f4, 0xf4(r1) +/* 800823CC 0007F32C FC 40 F8 90 */ fmr f2, f31 +/* 800823D0 0007F330 38 61 00 58 */ addi r3, r1, 0x58 +/* 800823D4 0007F334 D0 61 00 F8 */ stfs f3, 0xf8(r1) +/* 800823D8 0007F338 81 21 00 F4 */ lwz r9, 0xf4(r1) +/* 800823DC 0007F33C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 800823E0 0007F340 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 800823E4 0007F344 81 01 00 F8 */ lwz r8, 0xf8(r1) +/* 800823E8 0007F348 38 E0 00 00 */ li r7, 0 +/* 800823EC 0007F34C 80 01 00 FC */ lwz r0, 0xfc(r1) +/* 800823F0 0007F350 91 21 00 4C */ stw r9, 0x4c(r1) +/* 800823F4 0007F354 91 01 00 50 */ stw r8, 0x50(r1) +/* 800823F8 0007F358 90 01 00 54 */ stw r0, 0x54(r1) +/* 800823FC 0007F35C 48 00 78 B9 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +/* 80082400 0007F360 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 80082404 0007F364 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 80082408 0007F368 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8008240C 0007F36C D0 41 01 00 */ stfs f2, 0x100(r1) +/* 80082410 0007F370 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80082414 0007F374 D0 01 01 08 */ stfs f0, 0x108(r1) +lbl_80082418: +/* 80082418 0007F378 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8008241C 0007F37C 38 61 02 08 */ addi r3, r1, 0x208 +/* 80082420 0007F380 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 80082424 0007F384 38 BD 01 D8 */ addi r5, r29, 0x1d8 +/* 80082428 0007F388 38 81 01 00 */ addi r4, r1, 0x100 +/* 8008242C 0007F38C 48 29 16 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80082430 0007F390 38 61 02 C8 */ addi r3, r1, 0x2c8 +/* 80082434 0007F394 38 81 02 08 */ addi r4, r1, 0x208 +/* 80082438 0007F398 48 29 07 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008243C 0007F39C 7F A3 EB 78 */ mr r3, r29 +/* 80082440 0007F3A0 7F C5 F3 78 */ mr r5, r30 +/* 80082444 0007F3A4 38 81 02 C8 */ addi r4, r1, 0x2c8 +/* 80082448 0007F3A8 48 00 A5 B1 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 8008244C 0007F3AC 48 00 02 80 */ b lbl_800826CC +/* 80082450 0007F3B0 7F A3 EB 78 */ mr r3, r29 +/* 80082454 0007F3B4 7F C4 F3 78 */ mr r4, r30 +/* 80082458 0007F3B8 48 00 A6 39 */ bl ResetPosition__11CBallCameraFR13CStateManager +/* 8008245C 0007F3BC 7F A3 EB 78 */ mr r3, r29 +/* 80082460 0007F3C0 7F C5 F3 78 */ mr r5, r30 +/* 80082464 0007F3C4 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80082468 0007F3C8 48 00 A5 91 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 8008246C 0007F3CC 48 00 02 60 */ b lbl_800826CC +/* 80082470 0007F3D0 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082474 0007F3D4 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 80082478 0007F3D8 41 82 02 54 */ beq lbl_800826CC +/* 8008247C 0007F3DC 7F A3 EB 78 */ mr r3, r29 +/* 80082480 0007F3E0 7F C4 F3 78 */ mr r4, r30 +/* 80082484 0007F3E4 48 00 A6 0D */ bl ResetPosition__11CBallCameraFR13CStateManager +/* 80082488 0007F3E8 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8008248C 0007F3EC 54 00 03 5B */ rlwinm. r0, r0, 0, 0xd, 0xd +/* 80082490 0007F3F0 41 82 00 C8 */ beq lbl_80082558 +/* 80082494 0007F3F4 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 80082498 0007F3F8 7F C5 F3 78 */ mr r5, r30 +/* 8008249C 0007F3FC 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 800824A0 0007F400 4B F8 84 C9 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 800824A4 0007F404 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 800824A8 0007F408 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800824AC 0007F40C C0 01 02 04 */ lfs f0, 0x204(r1) +/* 800824B0 0007F410 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 800824B4 0007F414 C0 64 00 50 */ lfs f3, 0x50(r4) +/* 800824B8 0007F418 C0 41 01 F4 */ lfs f2, 0x1f4(r1) +/* 800824BC 0007F41C EC 81 00 28 */ fsubs f4, f1, f0 +/* 800824C0 0007F420 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 800824C4 0007F424 C0 01 01 E4 */ lfs f0, 0x1e4(r1) +/* 800824C8 0007F428 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800824CC 0007F42C D0 81 00 F0 */ stfs f4, 0xf0(r1) +/* 800824D0 0007F430 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800824D4 0007F434 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800824D8 0007F438 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 800824DC 0007F43C D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 800824E0 0007F440 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 800824E4 0007F444 48 29 22 15 */ bl CanBeNormalized__9CVector3fCFv +/* 800824E8 0007F448 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800824EC 0007F44C 41 82 00 10 */ beq lbl_800824FC +/* 800824F0 0007F450 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800824F4 0007F454 48 29 24 05 */ bl Normalize__9CVector3fFv +/* 800824F8 0007F458 48 00 00 20 */ b lbl_80082518 +lbl_800824FC: +/* 800824FC 0007F45C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80082500 0007F460 C0 03 05 0C */ lfs f0, 0x50c(r3) +/* 80082504 0007F464 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 80082508 0007F468 C0 03 05 10 */ lfs f0, 0x510(r3) +/* 8008250C 0007F46C D0 01 00 EC */ stfs f0, 0xec(r1) +/* 80082510 0007F470 C0 03 05 14 */ lfs f0, 0x514(r3) +/* 80082514 0007F474 D0 01 00 F0 */ stfs f0, 0xf0(r1) +lbl_80082518: +/* 80082518 0007F478 80 A1 00 E8 */ lwz r5, 0xe8(r1) +/* 8008251C 0007F47C 7F A4 EB 78 */ mr r4, r29 +/* 80082520 0007F480 80 E1 00 EC */ lwz r7, 0xec(r1) +/* 80082524 0007F484 7F C6 F3 78 */ mr r6, r30 +/* 80082528 0007F488 80 01 00 F0 */ lwz r0, 0xf0(r1) +/* 8008252C 0007F48C 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 80082530 0007F490 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80082534 0007F494 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80082538 0007F498 90 E1 00 44 */ stw r7, 0x44(r1) +/* 8008253C 0007F49C 90 01 00 48 */ stw r0, 0x48(r1) +/* 80082540 0007F4A0 48 00 76 41 */ bl UpdateLookDirection__11CBallCameraFRC9CVector3fR13CStateManager +/* 80082544 0007F4A4 7F A3 EB 78 */ mr r3, r29 +/* 80082548 0007F4A8 7F C5 F3 78 */ mr r5, r30 +/* 8008254C 0007F4AC 38 81 01 A8 */ addi r4, r1, 0x1a8 +/* 80082550 0007F4B0 48 00 A4 A9 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 80082554 0007F4B4 48 00 01 78 */ b lbl_800826CC +lbl_80082558: +/* 80082558 0007F4B8 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8008255C 0007F4BC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80082560 0007F4C0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80082564 0007F4C4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80082568 0007F4C8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8008256C 0007F4CC 38 61 01 78 */ addi r3, r1, 0x178 +/* 80082570 0007F4D0 38 81 00 DC */ addi r4, r1, 0xdc +/* 80082574 0007F4D4 38 BD 01 D8 */ addi r5, r29, 0x1d8 +/* 80082578 0007F4D8 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 8008257C 0007F4DC D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 80082580 0007F4E0 D0 41 00 E4 */ stfs f2, 0xe4(r1) +/* 80082584 0007F4E4 48 29 15 8D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80082588 0007F4E8 38 61 02 98 */ addi r3, r1, 0x298 +/* 8008258C 0007F4EC 38 81 01 78 */ addi r4, r1, 0x178 +/* 80082590 0007F4F0 48 29 05 E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80082594 0007F4F4 7F A3 EB 78 */ mr r3, r29 +/* 80082598 0007F4F8 7F C5 F3 78 */ mr r5, r30 +/* 8008259C 0007F4FC 38 81 02 98 */ addi r4, r1, 0x298 +/* 800825A0 0007F500 48 00 A4 59 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 800825A4 0007F504 48 00 01 28 */ b lbl_800826CC +/* 800825A8 0007F508 7F A3 EB 78 */ mr r3, r29 +/* 800825AC 0007F50C 7F C4 F3 78 */ mr r4, r30 +/* 800825B0 0007F510 48 00 A4 E1 */ bl ResetPosition__11CBallCameraFR13CStateManager +/* 800825B4 0007F514 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 800825B8 0007F518 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800825BC 0007F51C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 800825C0 0007F520 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 800825C4 0007F524 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800825C8 0007F528 38 61 01 48 */ addi r3, r1, 0x148 +/* 800825CC 0007F52C 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 800825D0 0007F530 38 BD 01 D8 */ addi r5, r29, 0x1d8 +/* 800825D4 0007F534 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 800825D8 0007F538 D0 21 00 D4 */ stfs f1, 0xd4(r1) +/* 800825DC 0007F53C D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 800825E0 0007F540 48 29 15 31 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800825E4 0007F544 38 61 02 68 */ addi r3, r1, 0x268 +/* 800825E8 0007F548 38 81 01 48 */ addi r4, r1, 0x148 +/* 800825EC 0007F54C 48 29 05 89 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800825F0 0007F550 7F A3 EB 78 */ mr r3, r29 +/* 800825F4 0007F554 7F C5 F3 78 */ mr r5, r30 +/* 800825F8 0007F558 38 81 02 68 */ addi r4, r1, 0x268 +/* 800825FC 0007F55C 48 00 A3 FD */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 80082600 0007F560 48 00 00 CC */ b lbl_800826CC +/* 80082604 0007F564 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80082608 0007F568 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 8008260C 0007F56C 41 82 00 C0 */ beq lbl_800826CC +/* 80082610 0007F570 7F A3 EB 78 */ mr r3, r29 +/* 80082614 0007F574 7F C4 F3 78 */ mr r4, r30 +/* 80082618 0007F578 48 00 A4 79 */ bl ResetPosition__11CBallCameraFR13CStateManager +/* 8008261C 0007F57C C0 1D 01 90 */ lfs f0, 0x190(r29) +/* 80082620 0007F580 7F A3 EB 78 */ mr r3, r29 +/* 80082624 0007F584 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80082628 0007F588 7F C6 F3 78 */ mr r6, r30 +/* 8008262C 0007F58C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80082630 0007F590 38 81 00 10 */ addi r4, r1, 0x10 +/* 80082634 0007F594 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80082638 0007F598 C0 1D 01 A0 */ lfs f0, 0x1a0(r29) +/* 8008263C 0007F59C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80082640 0007F5A0 48 00 70 8D */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +/* 80082644 0007F5A4 81 1E 08 4C */ lwz r8, 0x84c(r30) +/* 80082648 0007F5A8 7F A4 EB 78 */ mr r4, r29 +/* 8008264C 0007F5AC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80082650 0007F5B0 7F C6 F3 78 */ mr r6, r30 +/* 80082654 0007F5B4 80 E8 05 0C */ lwz r7, 0x50c(r8) +/* 80082658 0007F5B8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8008265C 0007F5BC 80 08 05 10 */ lwz r0, 0x510(r8) +/* 80082660 0007F5C0 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80082664 0007F5C4 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80082668 0007F5C8 90 E1 00 28 */ stw r7, 0x28(r1) +/* 8008266C 0007F5CC 38 E0 00 00 */ li r7, 0 +/* 80082670 0007F5D0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80082674 0007F5D4 80 08 05 14 */ lwz r0, 0x514(r8) +/* 80082678 0007F5D8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8008267C 0007F5DC 48 00 76 39 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +/* 80082680 0007F5E0 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80082684 0007F5E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80082688 0007F5E8 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8008268C 0007F5EC 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80082690 0007F5F0 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80082694 0007F5F4 38 61 01 18 */ addi r3, r1, 0x118 +/* 80082698 0007F5F8 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 8008269C 0007F5FC 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 800826A0 0007F600 38 BD 01 CC */ addi r5, r29, 0x1cc +/* 800826A4 0007F604 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 800826A8 0007F608 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 800826AC 0007F60C 48 29 14 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800826B0 0007F610 38 61 02 38 */ addi r3, r1, 0x238 +/* 800826B4 0007F614 38 81 01 18 */ addi r4, r1, 0x118 +/* 800826B8 0007F618 48 29 04 BD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800826BC 0007F61C 7F A3 EB 78 */ mr r3, r29 +/* 800826C0 0007F620 7F C5 F3 78 */ mr r5, r30 +/* 800826C4 0007F624 38 81 02 38 */ addi r4, r1, 0x238 +/* 800826C8 0007F628 48 00 A3 31 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +lbl_800826CC: +/* 800826CC 0007F62C 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 800826D0 0007F630 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 800826D4 0007F634 41 82 00 20 */ beq lbl_800826F4 +/* 800826D8 0007F638 A0 1D 00 08 */ lhz r0, 8(r29) +/* 800826DC 0007F63C 7F C4 F3 78 */ mr r4, r30 +/* 800826E0 0007F640 38 A1 00 0C */ addi r5, r1, 0xc +/* 800826E4 0007F644 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800826E8 0007F648 B0 01 00 08 */ sth r0, 8(r1) +/* 800826EC 0007F64C 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 800826F0 0007F650 4B F8 81 59 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +lbl_800826F4: +/* 800826F4 0007F654 E3 E1 03 28 */ psq_l f31, 808(r1), 0, qr0 +/* 800826F8 0007F658 CB E1 03 20 */ lfd f31, 0x320(r1) +/* 800826FC 0007F65C E3 C1 03 18 */ psq_l f30, 792(r1), 0, qr0 +/* 80082700 0007F660 CB C1 03 10 */ lfd f30, 0x310(r1) +/* 80082704 0007F664 83 E1 03 0C */ lwz r31, 0x30c(r1) +/* 80082708 0007F668 83 C1 03 08 */ lwz r30, 0x308(r1) +/* 8008270C 0007F66C 80 01 03 34 */ lwz r0, 0x334(r1) +/* 80082710 0007F670 83 A1 03 04 */ lwz r29, 0x304(r1) +/* 80082714 0007F674 7C 08 03 A6 */ mtlr r0 +/* 80082718 0007F678 38 21 03 30 */ addi r1, r1, 0x330 +/* 8008271C 0007F67C 4E 80 00 20 */ blr + +.global Accept__11CBallCameraFR8IVisitor +Accept__11CBallCameraFR8IVisitor: +/* 80082720 0007F680 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80082724 0007F684 7C 08 02 A6 */ mflr r0 +/* 80082728 0007F688 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008272C 0007F68C 7C 60 1B 78 */ mr r0, r3 +/* 80082730 0007F690 7C 83 23 78 */ mr r3, r4 +/* 80082734 0007F694 81 84 00 00 */ lwz r12, 0(r4) +/* 80082738 0007F698 7C 04 03 78 */ mr r4, r0 +/* 8008273C 0007F69C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80082740 0007F6A0 7D 89 03 A6 */ mtctr r12 +/* 80082744 0007F6A4 4E 80 04 21 */ bctrl +/* 80082748 0007F6A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008274C 0007F6AC 7C 08 03 A6 */ mtlr r0 +/* 80082750 0007F6B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80082754 0007F6B4 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CBallCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CBallCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80082758 0007F6B8 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8008275C 0007F6BC 7C 08 02 A6 */ mflr r0 +/* 80082760 0007F6C0 90 01 01 04 */ stw r0, 0x104(r1) +/* 80082764 0007F6C4 BF 21 00 E4 */ stmw r25, 0xe4(r1) +/* 80082768 0007F6C8 7C 7F 1B 78 */ mr r31, r3 +/* 8008276C 0007F6CC 7C 99 23 78 */ mr r25, r4 +/* 80082770 0007F6D0 7C DE 33 78 */ mr r30, r6 +/* 80082774 0007F6D4 A0 05 00 00 */ lhz r0, 0(r5) +/* 80082778 0007F6D8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8008277C 0007F6DC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80082780 0007F6E0 4B FD 8B C9 */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80082784 0007F6E4 2C 19 00 22 */ cmpwi r25, 0x22 +/* 80082788 0007F6E8 41 82 03 54 */ beq lbl_80082ADC +/* 8008278C 0007F6EC 40 80 03 6C */ bge lbl_80082AF8 +/* 80082790 0007F6F0 2C 19 00 21 */ cmpwi r25, 0x21 +/* 80082794 0007F6F4 40 80 00 08 */ bge lbl_8008279C +/* 80082798 0007F6F8 48 00 03 60 */ b lbl_80082AF8 +lbl_8008279C: +/* 8008279C 0007F6FC 7F C4 F3 78 */ mr r4, r30 +/* 800827A0 0007F700 38 61 00 14 */ addi r3, r1, 0x14 +/* 800827A4 0007F704 4B FC A9 39 */ bl AllocateUniqueId__13CStateManagerFv +/* 800827A8 0007F708 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800827AC 0007F70C 3C 60 80 3D */ lis r3, lbl_803CD678@ha +/* 800827B0 0007F710 38 83 D6 78 */ addi r4, r3, lbl_803CD678@l +/* 800827B4 0007F714 38 A0 00 00 */ li r5, 0 +/* 800827B8 0007F718 B0 1F 04 6C */ sth r0, 0x46c(r31) +/* 800827BC 0007F71C 38 60 03 10 */ li r3, 0x310 +/* 800827C0 0007F720 48 29 30 AD */ bl __nw__FUlPCcPCc +/* 800827C4 0007F724 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800827C8 0007F728 41 82 00 4C */ beq lbl_80082814 +/* 800827CC 0007F72C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800827D0 0007F730 7F E4 FB 78 */ mr r4, r31 +/* 800827D4 0007F734 38 61 00 1C */ addi r3, r1, 0x1c +/* 800827D8 0007F738 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800827DC 0007F73C 4B FC E8 A9 */ bl GetAreaId__7CEntityCFv +/* 800827E0 0007F740 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800827E4 0007F744 7F A3 EB 78 */ mr r3, r29 +/* 800827E8 0007F748 C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) +/* 800827EC 0007F74C 38 81 00 0C */ addi r4, r1, 0xc +/* 800827F0 0007F750 90 01 00 20 */ stw r0, 0x20(r1) +/* 800827F4 0007F754 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800827F8 0007F758 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 800827FC 0007F75C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80082800 0007F760 A0 1F 04 6C */ lhz r0, 0x46c(r31) +/* 80082804 0007F764 38 E0 00 01 */ li r7, 1 +/* 80082808 0007F768 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8008280C 0007F76C 48 12 6C 29 */ bl __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff +/* 80082810 0007F770 7C 7D 1B 78 */ mr r29, r3 +lbl_80082814: +/* 80082814 0007F774 28 1D 00 00 */ cmplwi r29, 0 +/* 80082818 0007F778 41 82 02 0C */ beq lbl_80082A24 +/* 8008281C 0007F77C 80 AD 85 04 */ lwz r5, lbl_805A70C4@sda21(r13) +/* 80082820 0007F780 38 60 00 00 */ li r3, 0 +/* 80082824 0007F784 38 80 00 01 */ li r4, 1 +/* 80082828 0007F788 48 30 76 CD */ bl __shl2i +/* 8008282C 0007F78C 80 AD 85 08 */ lwz r5, lbl_805A70C8@sda21(r13) +/* 80082830 0007F790 7C 9B 23 78 */ mr r27, r4 +/* 80082834 0007F794 7C 7C 1B 78 */ mr r28, r3 +/* 80082838 0007F798 38 60 00 00 */ li r3, 0 +/* 8008283C 0007F79C 38 80 00 01 */ li r4, 1 +/* 80082840 0007F7A0 48 30 76 B5 */ bl __shl2i +/* 80082844 0007F7A4 80 AD 85 0C */ lwz r5, lbl_805A70CC@sda21(r13) +/* 80082848 0007F7A8 7C 99 23 78 */ mr r25, r4 +/* 8008284C 0007F7AC 7C 7A 1B 78 */ mr r26, r3 +/* 80082850 0007F7B0 38 60 00 00 */ li r3, 0 +/* 80082854 0007F7B4 38 80 00 01 */ li r4, 1 +/* 80082858 0007F7B8 48 30 76 9D */ bl __shl2i +/* 8008285C 0007F7BC 7F 39 23 78 */ or r25, r25, r4 +/* 80082860 0007F7C0 7F 5A 1B 78 */ or r26, r26, r3 +/* 80082864 0007F7C4 38 00 00 03 */ li r0, 3 +/* 80082868 0007F7C8 93 61 00 8C */ stw r27, 0x8c(r1) +/* 8008286C 0007F7CC 7F A3 EB 78 */ mr r3, r29 +/* 80082870 0007F7D0 38 81 00 88 */ addi r4, r1, 0x88 +/* 80082874 0007F7D4 90 01 00 68 */ stw r0, 0x68(r1) +/* 80082878 0007F7D8 93 81 00 88 */ stw r28, 0x88(r1) +/* 8008287C 0007F7DC 93 21 00 94 */ stw r25, 0x94(r1) +/* 80082880 0007F7E0 93 41 00 90 */ stw r26, 0x90(r1) +/* 80082884 0007F7E4 90 01 00 98 */ stw r0, 0x98(r1) +/* 80082888 0007F7E8 4B FD 10 19 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8008288C 0007F7EC 80 AD 85 10 */ lwz r5, lbl_805A70D0@sda21(r13) +/* 80082890 0007F7F0 38 60 00 00 */ li r3, 0 +/* 80082894 0007F7F4 38 80 00 01 */ li r4, 1 +/* 80082898 0007F7F8 48 30 76 5D */ bl __shl2i +/* 8008289C 0007F7FC 80 AD 85 14 */ lwz r5, lbl_805A70D4@sda21(r13) +/* 800828A0 0007F800 7C 9A 23 78 */ mr r26, r4 +/* 800828A4 0007F804 7C 79 1B 78 */ mr r25, r3 +/* 800828A8 0007F808 38 60 00 00 */ li r3, 0 +/* 800828AC 0007F80C 38 80 00 01 */ li r4, 1 +/* 800828B0 0007F810 48 30 76 45 */ bl __shl2i +/* 800828B4 0007F814 80 AD 85 18 */ lwz r5, lbl_805A70D8@sda21(r13) +/* 800828B8 0007F818 7F 5A 23 78 */ or r26, r26, r4 +/* 800828BC 0007F81C 7F 39 1B 78 */ or r25, r25, r3 +/* 800828C0 0007F820 38 60 00 00 */ li r3, 0 +/* 800828C4 0007F824 38 80 00 01 */ li r4, 1 +/* 800828C8 0007F828 48 30 76 2D */ bl __shl2i +/* 800828CC 0007F82C 80 AD 85 1C */ lwz r5, lbl_805A70DC@sda21(r13) +/* 800828D0 0007F830 7F 5A 23 78 */ or r26, r26, r4 +/* 800828D4 0007F834 7F 39 1B 78 */ or r25, r25, r3 +/* 800828D8 0007F838 38 60 00 00 */ li r3, 0 +/* 800828DC 0007F83C 38 80 00 01 */ li r4, 1 +/* 800828E0 0007F840 48 30 76 15 */ bl __shl2i +/* 800828E4 0007F844 7F 5A 23 78 */ or r26, r26, r4 +/* 800828E8 0007F848 7F 39 1B 78 */ or r25, r25, r3 +/* 800828EC 0007F84C 93 5D 00 6C */ stw r26, 0x6c(r29) +/* 800828F0 0007F850 7F A3 EB 78 */ mr r3, r29 +/* 800828F4 0007F854 38 81 00 34 */ addi r4, r1, 0x34 +/* 800828F8 0007F858 93 3D 00 68 */ stw r25, 0x68(r29) +/* 800828FC 0007F85C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80082900 0007F860 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80082904 0007F864 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80082908 0007F868 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8008290C 0007F86C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80082910 0007F870 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80082914 0007F874 4B FD 05 79 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80082918 0007F878 7F C3 F3 78 */ mr r3, r30 +/* 8008291C 0007F87C 7F A4 EB 78 */ mr r4, r29 +/* 80082920 0007F880 4B FC A3 D5 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80082924 0007F884 88 1D 00 F8 */ lbz r0, 0xf8(r29) +/* 80082928 0007F888 38 60 00 00 */ li r3, 0 +/* 8008292C 0007F88C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80082930 0007F890 98 1D 00 F8 */ stb r0, 0xf8(r29) +/* 80082934 0007F894 4B F9 8C 01 */ bl Identity__10CAxisAngleFv +/* 80082938 0007F898 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 8008293C 0007F89C C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80082940 0007F8A0 7C 7C 1B 78 */ mr r28, r3 +/* 80082944 0007F8A4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80082948 0007F8A8 38 84 67 24 */ addi r4, r4, lbl_805A6724@l +/* 8008294C 0007F8AC 48 28 E3 F1 */ bl BuildFromAxisAngle__13CNUQuaternionFRC9CVector3ff +/* 80082950 0007F8B0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80082954 0007F8B4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80082958 0007F8B8 C4 A3 66 A0 */ lfsu f5, skZero3f@l(r3) +/* 8008295C 0007F8BC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 80082960 0007F8C0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80082964 0007F8C4 C1 5F 00 60 */ lfs f10, 0x60(r31) +/* 80082968 0007F8C8 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 8008296C 0007F8CC C1 21 00 24 */ lfs f9, 0x24(r1) +/* 80082970 0007F8D0 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 80082974 0007F8D4 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 80082978 0007F8D8 C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 8008297C 0007F8DC C0 83 00 04 */ lfs f4, 4(r3) +/* 80082980 0007F8E0 C0 63 00 08 */ lfs f3, 8(r3) +/* 80082984 0007F8E4 C0 5C 00 00 */ lfs f2, 0(r28) +/* 80082988 0007F8E8 C0 3C 00 04 */ lfs f1, 4(r28) +/* 8008298C 0007F8EC C0 1C 00 08 */ lfs f0, 8(r28) +/* 80082990 0007F8F0 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 80082994 0007F8F4 D1 41 00 A8 */ stfs f10, 0xa8(r1) +/* 80082998 0007F8F8 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 8008299C 0007F8FC 90 1D 01 F4 */ stw r0, 0x1f4(r29) +/* 800829A0 0007F900 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 800829A4 0007F904 90 7D 01 F8 */ stw r3, 0x1f8(r29) +/* 800829A8 0007F908 D1 21 00 AC */ stfs f9, 0xac(r1) +/* 800829AC 0007F90C 80 61 00 AC */ lwz r3, 0xac(r1) +/* 800829B0 0007F910 90 1D 01 FC */ stw r0, 0x1fc(r29) +/* 800829B4 0007F914 D1 01 00 B0 */ stfs f8, 0xb0(r1) +/* 800829B8 0007F918 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 800829BC 0007F91C 90 7D 02 00 */ stw r3, 0x200(r29) +/* 800829C0 0007F920 D0 E1 00 B4 */ stfs f7, 0xb4(r1) +/* 800829C4 0007F924 80 61 00 B4 */ lwz r3, 0xb4(r1) +/* 800829C8 0007F928 90 1D 02 04 */ stw r0, 0x204(r29) +/* 800829CC 0007F92C D0 C1 00 B8 */ stfs f6, 0xb8(r1) +/* 800829D0 0007F930 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 800829D4 0007F934 90 7D 02 08 */ stw r3, 0x208(r29) +/* 800829D8 0007F938 D0 A1 00 BC */ stfs f5, 0xbc(r1) +/* 800829DC 0007F93C 80 61 00 BC */ lwz r3, 0xbc(r1) +/* 800829E0 0007F940 90 1D 02 0C */ stw r0, 0x20c(r29) +/* 800829E4 0007F944 D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 800829E8 0007F948 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 800829EC 0007F94C 90 7D 02 10 */ stw r3, 0x210(r29) +/* 800829F0 0007F950 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 800829F4 0007F954 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 800829F8 0007F958 90 1D 02 14 */ stw r0, 0x214(r29) +/* 800829FC 0007F95C D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 80082A00 0007F960 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 80082A04 0007F964 90 7D 02 18 */ stw r3, 0x218(r29) +/* 80082A08 0007F968 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 80082A0C 0007F96C 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 80082A10 0007F970 90 1D 02 1C */ stw r0, 0x21c(r29) +/* 80082A14 0007F974 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 80082A18 0007F978 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 80082A1C 0007F97C 90 7D 02 20 */ stw r3, 0x220(r29) +/* 80082A20 0007F980 90 1D 02 24 */ stw r0, 0x224(r29) +lbl_80082A24: +/* 80082A24 0007F984 80 AD 85 20 */ lwz r5, lbl_805A70E0@sda21(r13) +/* 80082A28 0007F988 38 60 00 00 */ li r3, 0 +/* 80082A2C 0007F98C 38 80 00 01 */ li r4, 1 +/* 80082A30 0007F990 48 30 74 C5 */ bl __shl2i +/* 80082A34 0007F994 80 AD 85 24 */ lwz r5, lbl_805A70E4@sda21(r13) +/* 80082A38 0007F998 7C 9A 23 78 */ mr r26, r4 +/* 80082A3C 0007F99C 7C 79 1B 78 */ mr r25, r3 +/* 80082A40 0007F9A0 38 60 00 00 */ li r3, 0 +/* 80082A44 0007F9A4 38 80 00 01 */ li r4, 1 +/* 80082A48 0007F9A8 48 30 74 AD */ bl __shl2i +/* 80082A4C 0007F9AC 80 AD 85 28 */ lwz r5, lbl_805A70E8@sda21(r13) +/* 80082A50 0007F9B0 7F 5A 23 78 */ or r26, r26, r4 +/* 80082A54 0007F9B4 7F 39 1B 78 */ or r25, r25, r3 +/* 80082A58 0007F9B8 38 60 00 00 */ li r3, 0 +/* 80082A5C 0007F9BC 38 80 00 01 */ li r4, 1 +/* 80082A60 0007F9C0 48 30 74 95 */ bl __shl2i +/* 80082A64 0007F9C4 80 AD 85 2C */ lwz r5, lbl_805A70EC@sda21(r13) +/* 80082A68 0007F9C8 7F 5A 23 78 */ or r26, r26, r4 +/* 80082A6C 0007F9CC 7F 39 1B 78 */ or r25, r25, r3 +/* 80082A70 0007F9D0 38 60 00 00 */ li r3, 0 +/* 80082A74 0007F9D4 38 80 00 01 */ li r4, 1 +/* 80082A78 0007F9D8 48 30 74 7D */ bl __shl2i +/* 80082A7C 0007F9DC 80 AD 85 30 */ lwz r5, lbl_805A70F0@sda21(r13) +/* 80082A80 0007F9E0 7F 5A 23 78 */ or r26, r26, r4 +/* 80082A84 0007F9E4 7F 39 1B 78 */ or r25, r25, r3 +/* 80082A88 0007F9E8 38 60 00 00 */ li r3, 0 +/* 80082A8C 0007F9EC 38 80 00 01 */ li r4, 1 +/* 80082A90 0007F9F0 48 30 74 65 */ bl __shl2i +/* 80082A94 0007F9F4 7F 5A 23 78 */ or r26, r26, r4 +/* 80082A98 0007F9F8 7F 39 1B 78 */ or r25, r25, r3 +/* 80082A9C 0007F9FC 38 A0 00 03 */ li r5, 3 +/* 80082AA0 0007FA00 38 00 00 00 */ li r0, 0 +/* 80082AA4 0007FA04 90 A1 00 50 */ stw r5, 0x50(r1) +/* 80082AA8 0007FA08 7F E3 FB 78 */ mr r3, r31 +/* 80082AAC 0007FA0C 38 81 00 70 */ addi r4, r1, 0x70 +/* 80082AB0 0007FA10 90 01 00 74 */ stw r0, 0x74(r1) +/* 80082AB4 0007FA14 90 01 00 70 */ stw r0, 0x70(r1) +/* 80082AB8 0007FA18 93 41 00 7C */ stw r26, 0x7c(r1) +/* 80082ABC 0007FA1C 93 21 00 78 */ stw r25, 0x78(r1) +/* 80082AC0 0007FA20 90 A1 00 80 */ stw r5, 0x80(r1) +/* 80082AC4 0007FA24 4B FD 0D DD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80082AC8 0007FA28 7F E3 FB 78 */ mr r3, r31 +/* 80082ACC 0007FA2C 7F C5 F3 78 */ mr r5, r30 +/* 80082AD0 0007FA30 38 80 00 13 */ li r4, 0x13 +/* 80082AD4 0007FA34 4B FD 14 AD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80082AD8 0007FA38 48 00 00 20 */ b lbl_80082AF8 +lbl_80082ADC: +/* 80082ADC 0007FA3C A0 1F 04 6C */ lhz r0, 0x46c(r31) +/* 80082AE0 0007FA40 7F C3 F3 78 */ mr r3, r30 +/* 80082AE4 0007FA44 38 81 00 08 */ addi r4, r1, 8 +/* 80082AE8 0007FA48 B0 01 00 08 */ sth r0, 8(r1) +/* 80082AEC 0007FA4C 4B FC 97 81 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80082AF0 0007FA50 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80082AF4 0007FA54 B0 1F 04 6C */ sth r0, 0x46c(r31) +lbl_80082AF8: +/* 80082AF8 0007FA58 BB 21 00 E4 */ lmw r25, 0xe4(r1) +/* 80082AFC 0007FA5C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80082B00 0007FA60 7C 08 03 A6 */ mtlr r0 +/* 80082B04 0007FA64 38 21 01 00 */ addi r1, r1, 0x100 +/* 80082B08 0007FA68 4E 80 00 20 */ blr + +.global ProcessInput__11CBallCameraFRC11CFinalInputR13CStateManager +ProcessInput__11CBallCameraFRC11CFinalInputR13CStateManager: +/* 80082B0C 0007FA6C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80082B10 0007FA70 7C 08 02 A6 */ mflr r0 +/* 80082B14 0007FA74 90 01 00 34 */ stw r0, 0x34(r1) +/* 80082B18 0007FA78 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80082B1C 0007FA7C 7C BF 2B 78 */ mr r31, r5 +/* 80082B20 0007FA80 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80082B24 0007FA84 7C 7E 1B 78 */ mr r30, r3 +/* 80082B28 0007FA88 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80082B2C 0007FA8C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80082B30 0007FA90 7C 9C 23 78 */ mr r28, r4 +/* 80082B34 0007FA94 80 04 00 04 */ lwz r0, 4(r4) +/* 80082B38 0007FA98 2C 00 00 00 */ cmpwi r0, 0 +/* 80082B3C 0007FA9C 40 82 01 40 */ bne lbl_80082C7C +/* 80082B40 0007FAA0 A0 1E 00 E8 */ lhz r0, 0xe8(r30) +/* 80082B44 0007FAA4 7F E3 FB 78 */ mr r3, r31 +/* 80082B48 0007FAA8 38 81 00 0C */ addi r4, r1, 0xc +/* 80082B4C 0007FAAC B0 01 00 08 */ sth r0, 8(r1) +/* 80082B50 0007FAB0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80082B54 0007FAB4 4B FC 9A 51 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80082B58 0007FAB8 7C 64 1B 78 */ mr r4, r3 +/* 80082B5C 0007FABC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80082B60 0007FAC0 48 02 98 35 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 80082B64 0007FAC4 83 A3 00 04 */ lwz r29, 4(r3) +/* 80082B68 0007FAC8 28 1D 00 00 */ cmplwi r29, 0 +/* 80082B6C 0007FACC 41 82 01 10 */ beq lbl_80082C7C +/* 80082B70 0007FAD0 80 1D 02 F8 */ lwz r0, 0x2f8(r29) +/* 80082B74 0007FAD4 2C 00 00 01 */ cmpwi r0, 1 +/* 80082B78 0007FAD8 40 82 01 04 */ bne lbl_80082C7C +/* 80082B7C 0007FADC 80 1E 04 00 */ lwz r0, 0x400(r30) +/* 80082B80 0007FAE0 2C 00 00 02 */ cmpwi r0, 2 +/* 80082B84 0007FAE4 41 82 00 28 */ beq lbl_80082BAC +/* 80082B88 0007FAE8 40 80 00 10 */ bge lbl_80082B98 +/* 80082B8C 0007FAEC 2C 00 00 00 */ cmpwi r0, 0 +/* 80082B90 0007FAF0 41 82 00 74 */ beq lbl_80082C04 +/* 80082B94 0007FAF4 48 00 00 A0 */ b lbl_80082C34 +lbl_80082B98: +/* 80082B98 0007FAF8 2C 00 00 06 */ cmpwi r0, 6 +/* 80082B9C 0007FAFC 40 80 00 98 */ bge lbl_80082C34 +/* 80082BA0 0007FB00 2C 00 00 04 */ cmpwi r0, 4 +/* 80082BA4 0007FB04 40 80 00 90 */ bge lbl_80082C34 +/* 80082BA8 0007FB08 48 00 00 38 */ b lbl_80082BE0 +lbl_80082BAC: +/* 80082BAC 0007FB0C 7F 84 E3 78 */ mr r4, r28 +/* 80082BB0 0007FB10 38 60 00 31 */ li r3, 0x31 +/* 80082BB4 0007FB14 4B F8 9C C1 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80082BB8 0007FB18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80082BBC 0007FB1C 41 82 00 10 */ beq lbl_80082BCC +/* 80082BC0 0007FB20 88 1D 03 DC */ lbz r0, 0x3dc(r29) +/* 80082BC4 0007FB24 28 00 00 00 */ cmplwi r0, 0 +/* 80082BC8 0007FB28 41 82 00 6C */ beq lbl_80082C34 +lbl_80082BCC: +/* 80082BCC 0007FB2C 7F C3 F3 78 */ mr r3, r30 +/* 80082BD0 0007FB30 7F E5 FB 78 */ mr r5, r31 +/* 80082BD4 0007FB34 38 80 00 00 */ li r4, 0 +/* 80082BD8 0007FB38 48 00 00 C5 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80082BDC 0007FB3C 48 00 00 58 */ b lbl_80082C34 +lbl_80082BE0: +/* 80082BE0 0007FB40 80 7D 07 68 */ lwz r3, 0x768(r29) +/* 80082BE4 0007FB44 88 03 1D E4 */ lbz r0, 0x1de4(r3) +/* 80082BE8 0007FB48 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80082BEC 0007FB4C 40 82 00 48 */ bne lbl_80082C34 +/* 80082BF0 0007FB50 7F C3 F3 78 */ mr r3, r30 +/* 80082BF4 0007FB54 7F E5 FB 78 */ mr r5, r31 +/* 80082BF8 0007FB58 38 80 00 00 */ li r4, 0 +/* 80082BFC 0007FB5C 48 00 00 A1 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80082C00 0007FB60 48 00 00 34 */ b lbl_80082C34 +lbl_80082C04: +/* 80082C04 0007FB64 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 80082C08 0007FB68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80082C0C 0007FB6C 41 82 00 28 */ beq lbl_80082C34 +/* 80082C10 0007FB70 7F 84 E3 78 */ mr r4, r28 +/* 80082C14 0007FB74 38 60 00 31 */ li r3, 0x31 +/* 80082C18 0007FB78 4B F8 9B B9 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80082C1C 0007FB7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80082C20 0007FB80 41 82 00 14 */ beq lbl_80082C34 +/* 80082C24 0007FB84 7F C3 F3 78 */ mr r3, r30 +/* 80082C28 0007FB88 7F E5 FB 78 */ mr r5, r31 +/* 80082C2C 0007FB8C 38 80 00 02 */ li r4, 2 +/* 80082C30 0007FB90 48 00 00 6D */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +lbl_80082C34: +/* 80082C34 0007FB94 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 80082C38 0007FB98 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80082C3C 0007FB9C 41 82 00 40 */ beq lbl_80082C7C +/* 80082C40 0007FBA0 80 1E 04 00 */ lwz r0, 0x400(r30) +/* 80082C44 0007FBA4 2C 00 00 03 */ cmpwi r0, 3 +/* 80082C48 0007FBA8 41 82 00 34 */ beq lbl_80082C7C +/* 80082C4C 0007FBAC 80 7D 07 68 */ lwz r3, 0x768(r29) +/* 80082C50 0007FBB0 88 03 1D E4 */ lbz r0, 0x1de4(r3) +/* 80082C54 0007FBB4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80082C58 0007FBB8 40 82 00 14 */ bne lbl_80082C6C +/* 80082C5C 0007FBBC C0 23 1D E8 */ lfs f1, 0x1de8(r3) +/* 80082C60 0007FBC0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80082C64 0007FBC4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80082C68 0007FBC8 40 81 00 14 */ ble lbl_80082C7C +lbl_80082C6C: +/* 80082C6C 0007FBCC 7F C3 F3 78 */ mr r3, r30 +/* 80082C70 0007FBD0 7F E5 FB 78 */ mr r5, r31 +/* 80082C74 0007FBD4 38 80 00 03 */ li r4, 3 +/* 80082C78 0007FBD8 48 00 00 25 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +lbl_80082C7C: +/* 80082C7C 0007FBDC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80082C80 0007FBE0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80082C84 0007FBE4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80082C88 0007FBE8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80082C8C 0007FBEC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80082C90 0007FBF0 7C 08 03 A6 */ mtlr r0 +/* 80082C94 0007FBF4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80082C98 0007FBF8 4E 80 00 20 */ blr + +.global SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager: +/* 80082C9C 0007FBFC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80082CA0 0007FC00 7C 08 02 A6 */ mflr r0 +/* 80082CA4 0007FC04 90 01 00 74 */ stw r0, 0x74(r1) +/* 80082CA8 0007FC08 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80082CAC 0007FC0C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80082CB0 0007FC10 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80082CB4 0007FC14 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80082CB8 0007FC18 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80082CBC 0007FC1C 7C 9E 23 78 */ mr r30, r4 +/* 80082CC0 0007FC20 7C 7D 1B 78 */ mr r29, r3 +/* 80082CC4 0007FC24 2C 1E 00 04 */ cmpwi r30, 4 +/* 80082CC8 0007FC28 7C BF 2B 78 */ mr r31, r5 +/* 80082CCC 0007FC2C 41 82 00 2C */ beq lbl_80082CF8 +/* 80082CD0 0007FC30 40 80 00 1C */ bge lbl_80082CEC +/* 80082CD4 0007FC34 2C 1E 00 01 */ cmpwi r30, 1 +/* 80082CD8 0007FC38 41 82 01 20 */ beq lbl_80082DF8 +/* 80082CDC 0007FC3C 40 80 00 BC */ bge lbl_80082D98 +/* 80082CE0 0007FC40 2C 1E 00 00 */ cmpwi r30, 0 +/* 80082CE4 0007FC44 40 80 00 B4 */ bge lbl_80082D98 +/* 80082CE8 0007FC48 48 00 01 10 */ b lbl_80082DF8 +lbl_80082CEC: +/* 80082CEC 0007FC4C 2C 1E 00 06 */ cmpwi r30, 6 +/* 80082CF0 0007FC50 40 80 01 08 */ bge lbl_80082DF8 +/* 80082CF4 0007FC54 48 00 00 B4 */ b lbl_80082DA8 +lbl_80082CF8: +/* 80082CF8 0007FC58 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 80082CFC 0007FC5C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80082D00 0007FC60 80 84 00 7C */ lwz r4, 0x7c(r4) +/* 80082D04 0007FC64 38 84 00 34 */ addi r4, r4, 0x34 +/* 80082D08 0007FC68 48 28 FE 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80082D0C 0007FC6C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80082D10 0007FC70 38 81 00 1C */ addi r4, r1, 0x1c +/* 80082D14 0007FC74 48 28 FE 2D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80082D18 0007FC78 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80082D1C 0007FC7C 38 C0 00 01 */ li r6, 1 +/* 80082D20 0007FC80 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80082D24 0007FC84 7F A3 EB 78 */ mr r3, r29 +/* 80082D28 0007FC88 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80082D2C 0007FC8C 7F E5 FB 78 */ mr r5, r31 +/* 80082D30 0007FC90 38 81 00 10 */ addi r4, r1, 0x10 +/* 80082D34 0007FC94 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80082D38 0007FC98 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 80082D3C 0007FC9C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80082D40 0007FCA0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80082D44 0007FCA4 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80082D48 0007FCA8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80082D4C 0007FCAC C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80082D50 0007FCB0 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80082D54 0007FCB4 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80082D58 0007FCB8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80082D5C 0007FCBC D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80082D60 0007FCC0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80082D64 0007FCC4 48 00 9D B9 */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager +/* 80082D68 0007FCC8 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80082D6C 0007FCCC 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80082D70 0007FCD0 C3 E3 01 5C */ lfs f31, 0x15c(r3) +/* 80082D74 0007FCD4 4B F8 93 65 */ bl DefaultThirdPersonFov__14CCameraManagerFv +/* 80082D78 0007FCD8 FC 40 08 90 */ fmr f2, f1 +/* 80082D7C 0007FCDC C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) +/* 80082D80 0007FCE0 FC 20 F8 90 */ fmr f1, f31 +/* 80082D84 0007FCE4 C0 82 89 B0 */ lfs f4, lbl_805AA6D0@sda21(r2) +/* 80082D88 0007FCE8 7F A3 EB 78 */ mr r3, r29 +/* 80082D8C 0007FCEC 4B FD 81 8D */ bl SetFovInterpolation__11CGameCameraFffff +/* 80082D90 0007FCF0 38 00 00 00 */ li r0, 0 +/* 80082D94 0007FCF4 90 1D 03 6C */ stw r0, 0x36c(r29) +lbl_80082D98: +/* 80082D98 0007FCF8 7F E3 FB 78 */ mr r3, r31 +/* 80082D9C 0007FCFC 38 80 00 00 */ li r4, 0 +/* 80082DA0 0007FD00 4B FC 11 B9 */ bl SetGameState__13CStateManagerFQ213CStateManager10EGameState +/* 80082DA4 0007FD04 48 00 00 54 */ b lbl_80082DF8 +lbl_80082DA8: +/* 80082DA8 0007FD08 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80082DAC 0007FD0C 7F E4 FB 78 */ mr r4, r31 +/* 80082DB0 0007FD10 38 A1 00 0C */ addi r5, r1, 0xc +/* 80082DB4 0007FD14 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80082DB8 0007FD18 B0 01 00 08 */ sth r0, 8(r1) +/* 80082DBC 0007FD1C 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80082DC0 0007FD20 4B F8 7A 89 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +/* 80082DC4 0007FD24 7F E3 FB 78 */ mr r3, r31 +/* 80082DC8 0007FD28 38 80 00 00 */ li r4, 0 +/* 80082DCC 0007FD2C 4B FC 11 8D */ bl SetGameState__13CStateManagerFQ213CStateManager10EGameState +/* 80082DD0 0007FD30 C3 FD 01 5C */ lfs f31, 0x15c(r29) +/* 80082DD4 0007FD34 4B F8 92 FD */ bl DefaultFirstPersonFov__14CCameraManagerFv +/* 80082DD8 0007FD38 FC 40 08 90 */ fmr f2, f1 +/* 80082DDC 0007FD3C C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) +/* 80082DE0 0007FD40 FC 20 F8 90 */ fmr f1, f31 +/* 80082DE4 0007FD44 C0 82 89 B0 */ lfs f4, lbl_805AA6D0@sda21(r2) +/* 80082DE8 0007FD48 7F A3 EB 78 */ mr r3, r29 +/* 80082DEC 0007FD4C 4B FD 81 2D */ bl SetFovInterpolation__11CGameCameraFffff +/* 80082DF0 0007FD50 38 00 00 00 */ li r0, 0 +/* 80082DF4 0007FD54 90 1D 03 6C */ stw r0, 0x36c(r29) +lbl_80082DF8: +/* 80082DF8 0007FD58 93 DD 04 00 */ stw r30, 0x400(r29) +/* 80082DFC 0007FD5C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80082E00 0007FD60 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80082E04 0007FD64 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80082E08 0007FD68 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80082E0C 0007FD6C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80082E10 0007FD70 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80082E14 0007FD74 7C 08 03 A6 */ mtlr r0 +/* 80082E18 0007FD78 38 21 00 70 */ addi r1, r1, 0x70 +/* 80082E1C 0007FD7C 4E 80 00 20 */ blr + +.global Think__11CBallCameraFfR13CStateManager +Think__11CBallCameraFfR13CStateManager: +/* 80082E20 0007FD80 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80082E24 0007FD84 7C 08 02 A6 */ mflr r0 +/* 80082E28 0007FD88 90 01 01 04 */ stw r0, 0x104(r1) +/* 80082E2C 0007FD8C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80082E30 0007FD90 DB E1 00 F8 */ stfd f31, 0xf8(r1) +/* 80082E34 0007FD94 FF E0 08 90 */ fmr f31, f1 +/* 80082E38 0007FD98 93 E1 00 F4 */ stw r31, 0xf4(r1) +/* 80082E3C 0007FD9C 7C 7F 1B 78 */ mr r31, r3 +/* 80082E40 0007FDA0 93 C1 00 F0 */ stw r30, 0xf0(r1) +/* 80082E44 0007FDA4 93 A1 00 EC */ stw r29, 0xec(r1) +/* 80082E48 0007FDA8 7C 9D 23 78 */ mr r29, r4 +/* 80082E4C 0007FDAC 7F A3 EB 78 */ mr r3, r29 +/* 80082E50 0007FDB0 80 04 08 CC */ lwz r0, 0x8cc(r4) +/* 80082E54 0007FDB4 7F E4 FB 78 */ mr r4, r31 +/* 80082E58 0007FDB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80082E5C 0007FDBC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80082E60 0007FDC0 4B FC 24 19 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId +/* 80082E64 0007FDC4 FC 20 F8 90 */ fmr f1, f31 +/* 80082E68 0007FDC8 7F E3 FB 78 */ mr r3, r31 +/* 80082E6C 0007FDCC 7F A4 EB 78 */ mr r4, r29 +/* 80082E70 0007FDD0 48 00 59 B9 */ bl UpdatePlayerMovement__11CBallCameraFfR13CStateManager +/* 80082E74 0007FDD4 A0 1F 04 6C */ lhz r0, 0x46c(r31) +/* 80082E78 0007FDD8 7F A3 EB 78 */ mr r3, r29 +/* 80082E7C 0007FDDC 38 81 00 08 */ addi r4, r1, 8 +/* 80082E80 0007FDE0 B0 01 00 08 */ sth r0, 8(r1) +/* 80082E84 0007FDE4 4B FC 96 F1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80082E88 0007FDE8 7C 64 1B 78 */ mr r4, r3 +/* 80082E8C 0007FDEC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80082E90 0007FDF0 48 02 C4 BD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80082E94 0007FDF4 83 C3 00 04 */ lwz r30, 4(r3) +/* 80082E98 0007FDF8 28 1E 00 00 */ cmplwi r30, 0 +/* 80082E9C 0007FDFC 41 82 00 1C */ beq lbl_80082EB8 +/* 80082EA0 0007FE00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80082EA4 0007FE04 7F A3 EB 78 */ mr r3, r29 +/* 80082EA8 0007FE08 7F C4 F3 78 */ mr r4, r30 +/* 80082EAC 0007FE0C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80082EB0 0007FE10 90 01 00 0C */ stw r0, 0xc(r1) +/* 80082EB4 0007FE14 4B FC 23 C5 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId +lbl_80082EB8: +/* 80082EB8 0007FE18 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80082EBC 0007FE1C 80 03 02 F4 */ lwz r0, 0x2f4(r3) +/* 80082EC0 0007FE20 2C 00 00 01 */ cmpwi r0, 1 +/* 80082EC4 0007FE24 41 82 00 44 */ beq lbl_80082F08 +/* 80082EC8 0007FE28 2C 00 00 03 */ cmpwi r0, 3 +/* 80082ECC 0007FE2C 41 82 00 3C */ beq lbl_80082F08 +/* 80082ED0 0007FE30 2C 00 00 02 */ cmpwi r0, 2 +/* 80082ED4 0007FE34 41 82 00 34 */ beq lbl_80082F08 +/* 80082ED8 0007FE38 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 80082EDC 0007FE3C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80082EE0 0007FE40 40 82 00 28 */ bne lbl_80082F08 +/* 80082EE4 0007FE44 28 1E 00 00 */ cmplwi r30, 0 +/* 80082EE8 0007FE48 41 82 01 EC */ beq lbl_800830D4 +/* 80082EEC 0007FE4C 7F C3 F3 78 */ mr r3, r30 +/* 80082EF0 0007FE50 38 80 00 00 */ li r4, 0 +/* 80082EF4 0007FE54 81 9E 00 00 */ lwz r12, 0(r30) +/* 80082EF8 0007FE58 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80082EFC 0007FE5C 7D 89 03 A6 */ mtctr r12 +/* 80082F00 0007FE60 4E 80 04 21 */ bctrl +/* 80082F04 0007FE64 48 00 01 D0 */ b lbl_800830D4 +lbl_80082F08: +/* 80082F08 0007FE68 28 1E 00 00 */ cmplwi r30, 0 +/* 80082F0C 0007FE6C 41 82 00 1C */ beq lbl_80082F28 +/* 80082F10 0007FE70 7F C3 F3 78 */ mr r3, r30 +/* 80082F14 0007FE74 38 80 00 01 */ li r4, 1 +/* 80082F18 0007FE78 81 9E 00 00 */ lwz r12, 0(r30) +/* 80082F1C 0007FE7C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80082F20 0007FE80 7D 89 03 A6 */ mtctr r12 +/* 80082F24 0007FE84 4E 80 04 21 */ bctrl +lbl_80082F28: +/* 80082F28 0007FE88 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80082F2C 0007FE8C 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80082F30 0007FE90 48 28 FC 45 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80082F34 0007FE94 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80082F38 0007FE98 80 03 09 D0 */ lwz r0, 0x9d0(r3) +/* 80082F3C 0007FE9C 2C 00 00 01 */ cmpwi r0, 1 +/* 80082F40 0007FEA0 41 82 00 14 */ beq lbl_80082F54 +/* 80082F44 0007FEA4 FC 20 F8 90 */ fmr f1, f31 +/* 80082F48 0007FEA8 7F E3 FB 78 */ mr r3, r31 +/* 80082F4C 0007FEAC 7F A4 EB 78 */ mr r4, r29 +/* 80082F50 0007FEB0 48 00 0B 15 */ bl UpdateLookAtPosition__11CBallCameraFfR13CStateManager +lbl_80082F54: +/* 80082F54 0007FEB4 FC 20 F8 90 */ fmr f1, f31 +/* 80082F58 0007FEB8 7F E3 FB 78 */ mr r3, r31 +/* 80082F5C 0007FEBC 7F A4 EB 78 */ mr r4, r29 +/* 80082F60 0007FEC0 48 00 03 F9 */ bl CheckFailSafe__11CBallCameraFfR13CStateManager +/* 80082F64 0007FEC4 7F E3 FB 78 */ mr r3, r31 +/* 80082F68 0007FEC8 7F A4 EB 78 */ mr r4, r29 +/* 80082F6C 0007FECC 48 00 69 91 */ bl UpdateObjectTooCloseId__11CBallCameraFR13CStateManager +/* 80082F70 0007FED0 FC 20 F8 90 */ fmr f1, f31 +/* 80082F74 0007FED4 7F E3 FB 78 */ mr r3, r31 +/* 80082F78 0007FED8 48 00 1A 59 */ bl UpdateAnglePerSecond__11CBallCameraFf +/* 80082F7C 0007FEDC 80 1F 04 00 */ lwz r0, 0x400(r31) +/* 80082F80 0007FEE0 2C 00 00 01 */ cmpwi r0, 1 +/* 80082F84 0007FEE4 41 82 00 D8 */ beq lbl_8008305C +/* 80082F88 0007FEE8 40 80 00 10 */ bge lbl_80082F98 +/* 80082F8C 0007FEEC 2C 00 00 00 */ cmpwi r0, 0 +/* 80082F90 0007FEF0 40 80 00 18 */ bge lbl_80082FA8 +/* 80082F94 0007FEF4 48 00 00 C8 */ b lbl_8008305C +lbl_80082F98: +/* 80082F98 0007FEF8 2C 00 00 06 */ cmpwi r0, 6 +/* 80082F9C 0007FEFC 40 80 00 C0 */ bge lbl_8008305C +/* 80082FA0 0007FF00 2C 00 00 04 */ cmpwi r0, 4 +/* 80082FA4 0007FF04 40 80 00 A8 */ bge lbl_8008304C +lbl_80082FA8: +/* 80082FA8 0007FF08 80 1F 01 88 */ lwz r0, 0x188(r31) +/* 80082FAC 0007FF0C 2C 00 00 06 */ cmpwi r0, 6 +/* 80082FB0 0007FF10 41 82 00 54 */ beq lbl_80083004 +/* 80082FB4 0007FF14 40 80 00 1C */ bge lbl_80082FD0 +/* 80082FB8 0007FF18 2C 00 00 03 */ cmpwi r0, 3 +/* 80082FBC 0007FF1C 41 82 00 A0 */ beq lbl_8008305C +/* 80082FC0 0007FF20 40 80 00 30 */ bge lbl_80082FF0 +/* 80082FC4 0007FF24 2C 00 00 00 */ cmpwi r0, 0 +/* 80082FC8 0007FF28 40 80 00 3C */ bge lbl_80083004 +/* 80082FCC 0007FF2C 48 00 00 90 */ b lbl_8008305C +lbl_80082FD0: +/* 80082FD0 0007FF30 2C 00 00 08 */ cmpwi r0, 8 +/* 80082FD4 0007FF34 41 82 00 64 */ beq lbl_80083038 +/* 80082FD8 0007FF38 40 80 00 84 */ bge lbl_8008305C +/* 80082FDC 0007FF3C FC 20 F8 90 */ fmr f1, f31 +/* 80082FE0 0007FF40 7F E3 FB 78 */ mr r3, r31 +/* 80082FE4 0007FF44 7F A4 EB 78 */ mr r4, r29 +/* 80082FE8 0007FF48 48 00 1C C1 */ bl UpdateUsingPathCameras__11CBallCameraFfR13CStateManager +/* 80082FEC 0007FF4C 48 00 00 70 */ b lbl_8008305C +lbl_80082FF0: +/* 80082FF0 0007FF50 FC 20 F8 90 */ fmr f1, f31 +/* 80082FF4 0007FF54 7F E3 FB 78 */ mr r3, r31 +/* 80082FF8 0007FF58 7F A4 EB 78 */ mr r4, r29 +/* 80082FFC 0007FF5C 48 00 0F FD */ bl UpdateUsingFixedCameras__11CBallCameraFfR13CStateManager +/* 80083000 0007FF60 48 00 00 5C */ b lbl_8008305C +lbl_80083004: +/* 80083004 0007FF64 80 1F 03 6C */ lwz r0, 0x36c(r31) +/* 80083008 0007FF68 2C 00 00 00 */ cmpwi r0, 0 +/* 8008300C 0007FF6C 41 82 00 18 */ beq lbl_80083024 +/* 80083010 0007FF70 FC 20 F8 90 */ fmr f1, f31 +/* 80083014 0007FF74 7F E3 FB 78 */ mr r3, r31 +/* 80083018 0007FF78 7F A4 EB 78 */ mr r4, r29 +/* 8008301C 0007FF7C 48 00 3C B9 */ bl UpdateUsingFreeLook__11CBallCameraFfR13CStateManager +/* 80083020 0007FF80 48 00 00 3C */ b lbl_8008305C +lbl_80083024: +/* 80083024 0007FF84 FC 20 F8 90 */ fmr f1, f31 +/* 80083028 0007FF88 7F E3 FB 78 */ mr r3, r31 +/* 8008302C 0007FF8C 7F A4 EB 78 */ mr r4, r29 +/* 80083030 0007FF90 48 00 28 79 */ bl UpdateUsingColliders__11CBallCameraFfR13CStateManager +/* 80083034 0007FF94 48 00 00 28 */ b lbl_8008305C +lbl_80083038: +/* 80083038 0007FF98 FC 20 F8 90 */ fmr f1, f31 +/* 8008303C 0007FF9C 7F E3 FB 78 */ mr r3, r31 +/* 80083040 0007FFA0 7F A4 EB 78 */ mr r4, r29 +/* 80083044 0007FFA4 48 00 1C F1 */ bl UpdateUsingSpindleCameras__11CBallCameraFfR13CStateManager +/* 80083048 0007FFA8 48 00 00 14 */ b lbl_8008305C +lbl_8008304C: +/* 8008304C 0007FFAC FC 20 F8 90 */ fmr f1, f31 +/* 80083050 0007FFB0 7F E3 FB 78 */ mr r3, r31 +/* 80083054 0007FFB4 7F A4 EB 78 */ mr r4, r29 +/* 80083058 0007FFB8 48 00 1D 69 */ bl UpdateUsingTransitions__11CBallCameraFfR13CStateManager +lbl_8008305C: +/* 8008305C 0007FFBC FC 20 F8 90 */ fmr f1, f31 +/* 80083060 0007FFC0 7F E4 FB 78 */ mr r4, r31 +/* 80083064 0007FFC4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80083068 0007FFC8 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 8008306C 0007FFCC 38 DF 00 34 */ addi r6, r31, 0x34 +/* 80083070 0007FFD0 48 00 60 11 */ bl UpdateCameraPositions__11CBallCameraFfRC12CTransform4fRC12CTransform4f +/* 80083074 0007FFD4 38 61 00 80 */ addi r3, r1, 0x80 +/* 80083078 0007FFD8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8008307C 0007FFDC 48 28 FA F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80083080 0007FFE0 7F E4 FB 78 */ mr r4, r31 +/* 80083084 0007FFE4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80083088 0007FFE8 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8008308C 0007FFEC 38 C1 00 B0 */ addi r6, r1, 0xb0 +/* 80083090 0007FFF0 4B FD 7F 31 */ bl ValidateCameraTransform__11CGameCameraFRC12CTransform4fRC12CTransform4f +/* 80083094 0007FFF4 38 61 00 80 */ addi r3, r1, 0x80 +/* 80083098 0007FFF8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8008309C 0007FFFC 48 28 FA A5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800830A0 00080000 38 7F 00 34 */ addi r3, r31, 0x34 +/* 800830A4 00080004 38 81 00 80 */ addi r4, r1, 0x80 +/* 800830A8 00080008 48 28 FA 99 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800830AC 0008000C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800830B0 00080010 38 60 00 01 */ li r3, 1 +/* 800830B4 00080014 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800830B8 00080018 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800830BC 0008001C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800830C0 00080020 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800830C4 00080024 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800830C8 00080028 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800830CC 0008002C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800830D0 00080030 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_800830D4: +/* 800830D4 00080034 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800830D8 00080038 CB E1 00 F8 */ lfd f31, 0xf8(r1) +/* 800830DC 0008003C 83 E1 00 F4 */ lwz r31, 0xf4(r1) +/* 800830E0 00080040 83 C1 00 F0 */ lwz r30, 0xf0(r1) +/* 800830E4 00080044 83 A1 00 EC */ lwz r29, 0xec(r1) +/* 800830E8 00080048 7C 08 03 A6 */ mtlr r0 +/* 800830EC 0008004C 38 21 01 00 */ addi r1, r1, 0x100 +/* 800830F0 00080050 4E 80 00 20 */ blr + +.global DoorClosed__11CBallCameraF9TUniqueId +DoorClosed__11CBallCameraF9TUniqueId: +/* 800830F4 00080054 A0 84 00 00 */ lhz r4, 0(r4) +/* 800830F8 00080058 A0 03 03 DC */ lhz r0, 0x3dc(r3) +/* 800830FC 0008005C 7C 04 00 40 */ cmplw r4, r0 +/* 80083100 00080060 4C 82 00 20 */ bnelr +/* 80083104 00080064 88 03 01 8E */ lbz r0, 0x18e(r3) +/* 80083108 00080068 38 80 00 01 */ li r4, 1 +/* 8008310C 0008006C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80083110 00080070 98 03 01 8E */ stb r0, 0x18e(r3) +/* 80083114 00080074 4E 80 00 20 */ blr + +.global DoorClosing__11CBallCameraF9TUniqueId +DoorClosing__11CBallCameraF9TUniqueId: +/* 80083118 00080078 A0 84 00 00 */ lhz r4, 0(r4) +/* 8008311C 0008007C A0 03 03 DC */ lhz r0, 0x3dc(r3) +/* 80083120 00080080 7C 04 00 40 */ cmplw r4, r0 +/* 80083124 00080084 4C 82 00 20 */ bnelr +/* 80083128 00080088 88 03 01 8E */ lbz r0, 0x18e(r3) +/* 8008312C 0008008C 38 80 00 01 */ li r4, 1 +/* 80083130 00080090 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80083134 00080094 98 03 01 8E */ stb r0, 0x18e(r3) +/* 80083138 00080098 4E 80 00 20 */ blr + +.global IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager +IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager: +/* 8008313C 0008009C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80083140 000800A0 7C 08 02 A6 */ mflr r0 +/* 80083144 000800A4 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80083148 000800A8 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8008314C 000800AC 7C 9F 23 78 */ mr r31, r4 +/* 80083150 000800B0 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80083154 000800B4 7C 7E 1B 78 */ mr r30, r3 +/* 80083158 000800B8 7F E3 FB 78 */ mr r3, r31 +/* 8008315C 000800BC 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 80083160 000800C0 80 A4 08 70 */ lwz r5, 0x870(r4) +/* 80083164 000800C4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80083168 000800C8 80 A5 00 80 */ lwz r5, 0x80(r5) +/* 8008316C 000800CC A0 05 03 DC */ lhz r0, 0x3dc(r5) +/* 80083170 000800D0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80083174 000800D4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80083178 000800D8 4B FC 94 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8008317C 000800DC 7C 64 1B 78 */ mr r4, r3 +/* 80083180 000800E0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80083184 000800E4 48 02 6F 6D */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 80083188 000800E8 83 A3 00 04 */ lwz r29, 4(r3) +/* 8008318C 000800EC 28 1D 00 00 */ cmplwi r29, 0 +/* 80083190 000800F0 41 82 00 14 */ beq lbl_800831A4 +/* 80083194 000800F4 41 82 00 18 */ beq lbl_800831AC +/* 80083198 000800F8 88 1D 02 A8 */ lbz r0, 0x2a8(r29) +/* 8008319C 000800FC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800831A0 00080100 41 82 00 0C */ beq lbl_800831AC +lbl_800831A4: +/* 800831A4 00080104 38 60 00 00 */ li r3, 0 +/* 800831A8 00080108 48 00 01 94 */ b lbl_8008333C +lbl_800831AC: +/* 800831AC 0008010C 7F A4 EB 78 */ mr r4, r29 +/* 800831B0 00080110 38 61 00 50 */ addi r3, r1, 0x50 +/* 800831B4 00080114 81 9D 00 00 */ lwz r12, 0(r29) +/* 800831B8 00080118 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 800831BC 0008011C 7D 89 03 A6 */ mtctr r12 +/* 800831C0 00080120 4E 80 04 21 */ bctrl +/* 800831C4 00080124 88 01 00 68 */ lbz r0, 0x68(r1) +/* 800831C8 00080128 28 00 00 00 */ cmplwi r0, 0 +/* 800831CC 0008012C 98 01 00 9C */ stb r0, 0x9c(r1) +/* 800831D0 00080130 41 82 00 3C */ beq lbl_8008320C +/* 800831D4 00080134 34 61 00 84 */ addic. r3, r1, 0x84 +/* 800831D8 00080138 41 82 00 34 */ beq lbl_8008320C +/* 800831DC 0008013C C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800831E0 00080140 D0 03 00 00 */ stfs f0, 0(r3) +/* 800831E4 00080144 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800831E8 00080148 D0 03 00 04 */ stfs f0, 4(r3) +/* 800831EC 0008014C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800831F0 00080150 D0 03 00 08 */ stfs f0, 8(r3) +/* 800831F4 00080154 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800831F8 00080158 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800831FC 0008015C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 80083200 00080160 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80083204 00080164 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80083208 00080168 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8008320C: +/* 8008320C 0008016C C0 9E 00 04 */ lfs f4, 4(r30) +/* 80083210 00080170 38 00 00 00 */ li r0, 0 +/* 80083214 00080174 C0 62 89 C4 */ lfs f3, lbl_805AA6E4@sda21(r2) +/* 80083218 00080178 38 61 00 6C */ addi r3, r1, 0x6c +/* 8008321C 0008017C C0 5E 00 08 */ lfs f2, 8(r30) +/* 80083220 00080180 38 81 00 44 */ addi r4, r1, 0x44 +/* 80083224 00080184 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80083228 00080188 EC C4 18 28 */ fsubs f6, f4, f3 +/* 8008322C 0008018C EC A2 18 28 */ fsubs f5, f2, f3 +/* 80083230 00080190 98 01 00 68 */ stb r0, 0x68(r1) +/* 80083234 00080194 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80083238 00080198 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8008323C 0008019C EC 84 18 2A */ fadds f4, f4, f3 +/* 80083240 000801A0 EC 42 18 2A */ fadds f2, f2, f3 +/* 80083244 000801A4 EC 00 18 2A */ fadds f0, f0, f3 +/* 80083248 000801A8 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8008324C 000801AC D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 80083250 000801B0 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 80083254 000801B4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80083258 000801B8 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8008325C 000801BC D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80083260 000801C0 48 2B 52 A9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80083264 000801C4 88 01 00 9C */ lbz r0, 0x9c(r1) +/* 80083268 000801C8 28 00 00 00 */ cmplwi r0, 0 +/* 8008326C 000801CC 41 82 00 18 */ beq lbl_80083284 +/* 80083270 000801D0 38 61 00 84 */ addi r3, r1, 0x84 +/* 80083274 000801D4 38 81 00 6C */ addi r4, r1, 0x6c +/* 80083278 000801D8 48 2B 49 0D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 8008327C 000801DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80083280 000801E0 40 82 00 14 */ bne lbl_80083294 +lbl_80083284: +/* 80083284 000801E4 38 00 00 00 */ li r0, 0 +/* 80083288 000801E8 38 60 00 00 */ li r3, 0 +/* 8008328C 000801EC 98 01 00 9C */ stb r0, 0x9c(r1) +/* 80083290 000801F0 48 00 00 AC */ b lbl_8008333C +lbl_80083294: +/* 80083294 000801F4 A0 1D 02 82 */ lhz r0, 0x282(r29) +/* 80083298 000801F8 7F E3 FB 78 */ mr r3, r31 +/* 8008329C 000801FC 38 81 00 08 */ addi r4, r1, 8 +/* 800832A0 00080200 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800832A4 00080204 B0 01 00 08 */ sth r0, 8(r1) +/* 800832A8 00080208 4B FC 92 FD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800832AC 0008020C 7C 64 1B 78 */ mr r4, r3 +/* 800832B0 00080210 38 61 00 18 */ addi r3, r1, 0x18 +/* 800832B4 00080214 48 02 71 51 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" +/* 800832B8 00080218 80 83 00 04 */ lwz r4, 4(r3) +/* 800832BC 0008021C 28 04 00 00 */ cmplwi r4, 0 +/* 800832C0 00080220 40 82 00 14 */ bne lbl_800832D4 +/* 800832C4 00080224 38 00 00 00 */ li r0, 0 +/* 800832C8 00080228 38 60 00 00 */ li r3, 0 +/* 800832CC 0008022C 98 01 00 9C */ stb r0, 0x9c(r1) +/* 800832D0 00080230 48 00 00 6C */ b lbl_8008333C +lbl_800832D4: +/* 800832D4 00080234 7F E5 FB 78 */ mr r5, r31 +/* 800832D8 00080238 38 61 00 28 */ addi r3, r1, 0x28 +/* 800832DC 0008023C 48 04 06 AD */ bl GetPlane__11CScriptDockCFRC13CStateManager +/* 800832E0 00080240 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800832E4 00080244 C0 1E 00 04 */ lfs f0, 4(r30) +/* 800832E8 00080248 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 800832EC 0008024C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800832F0 00080250 C0 3E 00 00 */ lfs f1, 0(r30) +/* 800832F4 00080254 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 800832F8 00080258 C0 7E 00 08 */ lfs f3, 8(r30) +/* 800832FC 0008025C EC 42 00 7A */ fmadds f2, f2, f1, f0 +/* 80083300 00080260 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80083304 00080264 C0 02 89 D4 */ lfs f0, lbl_805AA6F4@sda21(r2) +/* 80083308 00080268 EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 8008330C 0008026C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80083310 00080270 FC 20 0A 10 */ fabs f1, f1 +/* 80083314 00080274 FC 20 08 18 */ frsp f1, f1 +/* 80083318 00080278 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008331C 0008027C 40 80 00 14 */ bge lbl_80083330 +/* 80083320 00080280 38 00 00 00 */ li r0, 0 +/* 80083324 00080284 38 60 00 01 */ li r3, 1 +/* 80083328 00080288 98 01 00 9C */ stb r0, 0x9c(r1) +/* 8008332C 0008028C 48 00 00 10 */ b lbl_8008333C +lbl_80083330: +/* 80083330 00080290 38 00 00 00 */ li r0, 0 +/* 80083334 00080294 38 60 00 00 */ li r3, 0 +/* 80083338 00080298 98 01 00 9C */ stb r0, 0x9c(r1) +lbl_8008333C: +/* 8008333C 0008029C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80083340 000802A0 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80083344 000802A4 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80083348 000802A8 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8008334C 000802AC 7C 08 03 A6 */ mtlr r0 +/* 80083350 000802B0 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80083354 000802B4 4E 80 00 20 */ blr + +.global CheckFailSafe__11CBallCameraFfR13CStateManager +CheckFailSafe__11CBallCameraFfR13CStateManager: +/* 80083358 000802B8 94 21 F6 C0 */ stwu r1, -0x940(r1) +/* 8008335C 000802BC 7C 08 02 A6 */ mflr r0 +/* 80083360 000802C0 90 01 09 44 */ stw r0, 0x944(r1) +/* 80083364 000802C4 DB E1 09 30 */ stfd f31, 0x930(r1) +/* 80083368 000802C8 F3 E1 09 38 */ psq_st f31, -1736(r1), 0, qr0 +/* 8008336C 000802CC DB C1 09 20 */ stfd f30, 0x920(r1) +/* 80083370 000802D0 F3 C1 09 28 */ psq_st f30, -1752(r1), 0, qr0 +/* 80083374 000802D4 93 E1 09 1C */ stw r31, 0x91c(r1) +/* 80083378 000802D8 93 C1 09 18 */ stw r30, 0x918(r1) +/* 8008337C 000802DC 93 A1 09 14 */ stw r29, 0x914(r1) +/* 80083380 000802E0 93 81 09 10 */ stw r28, 0x910(r1) +/* 80083384 000802E4 7C 9E 23 78 */ mr r30, r4 +/* 80083388 000802E8 FF E0 08 90 */ fmr f31, f1 +/* 8008338C 000802EC 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80083390 000802F0 7C 7D 1B 78 */ mr r29, r3 +/* 80083394 000802F4 38 61 00 6C */ addi r3, r1, 0x6c +/* 80083398 000802F8 48 20 19 B1 */ bl GetBallPosition__7CPlayerCFv +/* 8008339C 000802FC C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 800833A0 00080300 38 61 00 90 */ addi r3, r1, 0x90 +/* 800833A4 00080304 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 800833A8 00080308 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 800833AC 0008030C D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 800833B0 00080310 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 800833B4 00080314 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 800833B8 00080318 88 9D 01 8C */ lbz r4, 0x18c(r29) +/* 800833BC 0008031C 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 800833C0 00080320 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800833C4 00080324 98 1D 01 8D */ stb r0, 0x18d(r29) +/* 800833C8 00080328 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 800833CC 0008032C C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 800833D0 00080330 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 800833D4 00080334 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800833D8 00080338 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800833DC 0008033C C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800833E0 00080340 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 800833E4 00080344 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800833E8 00080348 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 800833EC 0008034C EC 01 00 28 */ fsubs f0, f1, f0 +/* 800833F0 00080350 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 800833F4 00080354 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800833F8 00080358 48 29 14 C1 */ bl Magnitude__9CVector3fCFv +/* 800833FC 0008035C FF C0 08 90 */ fmr f30, f1 +/* 80083400 00080360 38 61 00 90 */ addi r3, r1, 0x90 +/* 80083404 00080364 48 29 14 F5 */ bl Normalize__9CVector3fFv +/* 80083408 00080368 38 00 00 00 */ li r0, 0 +/* 8008340C 0008036C 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80083410 00080370 90 01 01 08 */ stw r0, 0x108(r1) +/* 80083414 00080374 38 E3 C4 08 */ addi r7, r3, lbl_8046C408@l +/* 80083418 00080378 FC 20 F0 90 */ fmr f1, f30 +/* 8008341C 0008037C 7F C3 F3 78 */ mr r3, r30 +/* 80083420 00080380 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80083424 00080384 38 81 01 08 */ addi r4, r1, 0x108 +/* 80083428 00080388 C0 5D 00 50 */ lfs f2, 0x50(r29) +/* 8008342C 0008038C 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80083430 00080390 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80083434 00080394 38 C1 00 90 */ addi r6, r1, 0x90 +/* 80083438 00080398 39 00 00 00 */ li r8, 0 +/* 8008343C 0008039C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80083440 000803A0 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80083444 000803A4 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 80083448 000803A8 4B FC 92 91 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" +/* 8008344C 000803AC C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80083450 000803B0 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80083454 000803B4 C0 5D 00 50 */ lfs f2, 0x50(r29) +/* 80083458 000803B8 FC 20 F0 90 */ fmr f1, f30 +/* 8008345C 000803BC C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80083460 000803C0 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 80083464 000803C4 7F C4 F3 78 */ mr r4, r30 +/* 80083468 000803C8 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8008346C 000803CC D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80083470 000803D0 38 BD 03 68 */ addi r5, r29, 0x368 +/* 80083474 000803D4 38 C1 00 54 */ addi r6, r1, 0x54 +/* 80083478 000803D8 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8008347C 000803DC 38 E1 00 90 */ addi r7, r1, 0x90 +/* 80083480 000803E0 39 21 01 08 */ addi r9, r1, 0x108 +/* 80083484 000803E4 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 80083488 000803E8 4B FC 9B 3D */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 8008348C 000803EC 8B E1 00 C8 */ lbz r31, 0xc8(r1) +/* 80083490 000803F0 C0 E1 00 A8 */ lfs f7, 0xa8(r1) +/* 80083494 000803F4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80083498 000803F8 C0 C1 00 AC */ lfs f6, 0xac(r1) +/* 8008349C 000803FC C0 A1 00 B0 */ lfs f5, 0xb0(r1) +/* 800834A0 00080400 C0 81 00 B4 */ lfs f4, 0xb4(r1) +/* 800834A4 00080404 C0 61 00 B8 */ lfs f3, 0xb8(r1) +/* 800834A8 00080408 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 800834AC 0008040C C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 800834B0 00080410 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 800834B4 00080414 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 800834B8 00080418 80 61 00 D4 */ lwz r3, 0xd4(r1) +/* 800834BC 0008041C D0 E1 00 D8 */ stfs f7, 0xd8(r1) +/* 800834C0 00080420 D0 C1 00 DC */ stfs f6, 0xdc(r1) +/* 800834C4 00080424 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 800834C8 00080428 D0 81 00 E4 */ stfs f4, 0xe4(r1) +/* 800834CC 0008042C D0 61 00 E8 */ stfs f3, 0xe8(r1) +/* 800834D0 00080430 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 800834D4 00080434 D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 800834D8 00080438 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 800834DC 0008043C 9B E1 00 F8 */ stb r31, 0xf8(r1) +/* 800834E0 00080440 90 61 01 04 */ stw r3, 0x104(r1) +/* 800834E4 00080444 90 01 01 00 */ stw r0, 0x100(r1) +/* 800834E8 00080448 41 82 01 C4 */ beq lbl_800836AC +/* 800834EC 0008044C 90 7D 03 54 */ stw r3, 0x354(r29) +/* 800834F0 00080450 7F C3 F3 78 */ mr r3, r30 +/* 800834F4 00080454 90 1D 03 50 */ stw r0, 0x350(r29) +/* 800834F8 00080458 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 800834FC 0008045C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80083500 00080460 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 80083504 00080464 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 80083508 00080468 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 8008350C 0008046C D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80083510 00080470 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 80083514 00080474 C0 04 02 7C */ lfs f0, 0x27c(r4) +/* 80083518 00080478 EC 01 00 2A */ fadds f0, f1, f0 +/* 8008351C 0008047C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80083520 00080480 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80083524 00080484 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 80083528 00080488 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8008352C 0008048C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80083530 00080490 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80083534 00080494 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 80083538 00080498 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 8008353C 0008049C C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80083540 000804A0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80083544 000804A4 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80083548 000804A8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8008354C 000804AC D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80083550 000804B0 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80083554 000804B4 4B FC 09 E9 */ bl GetPlayer__13CStateManagerCFv +/* 80083558 000804B8 3C 80 80 47 */ lis r4, lbl_8046C408@ha +/* 8008355C 000804BC 7C 68 1B 78 */ mr r8, r3 +/* 80083560 000804C0 38 E4 C4 08 */ addi r7, r4, lbl_8046C408@l +/* 80083564 000804C4 7F C3 F3 78 */ mr r3, r30 +/* 80083568 000804C8 38 81 00 48 */ addi r4, r1, 0x48 +/* 8008356C 000804CC 38 A1 00 84 */ addi r5, r1, 0x84 +/* 80083570 000804D0 38 C1 01 08 */ addi r6, r1, 0x108 +/* 80083574 000804D4 4B FC 99 F9 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +/* 80083578 000804D8 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 8008357C 000804DC 7C 7C 1B 78 */ mr r28, r3 +/* 80083580 000804E0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80083584 000804E4 7F C3 F3 78 */ mr r3, r30 +/* 80083588 000804E8 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8008358C 000804EC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80083590 000804F0 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80083594 000804F4 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80083598 000804F8 4B FC 09 A5 */ bl GetPlayer__13CStateManagerCFv +/* 8008359C 000804FC 3C 80 80 47 */ lis r4, lbl_8046C408@ha +/* 800835A0 00080500 7C 68 1B 78 */ mr r8, r3 +/* 800835A4 00080504 38 E4 C4 08 */ addi r7, r4, lbl_8046C408@l +/* 800835A8 00080508 7F C3 F3 78 */ mr r3, r30 +/* 800835AC 0008050C 38 81 00 3C */ addi r4, r1, 0x3c +/* 800835B0 00080510 38 A1 00 78 */ addi r5, r1, 0x78 +/* 800835B4 00080514 38 C1 01 08 */ addi r6, r1, 0x108 +/* 800835B8 00080518 4B FC 99 B5 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +/* 800835BC 0008051C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800835C0 00080520 40 82 01 14 */ bne lbl_800836D4 +/* 800835C4 00080524 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800835C8 00080528 40 82 01 0C */ bne lbl_800836D4 +/* 800835CC 0008052C 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 800835D0 00080530 38 60 00 00 */ li r3, 0 +/* 800835D4 00080534 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 800835D8 00080538 98 1D 01 8C */ stb r0, 0x18c(r29) +/* 800835DC 0008053C 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 800835E0 00080540 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800835E4 00080544 41 82 00 F0 */ beq lbl_800836D4 +/* 800835E8 00080548 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 800835EC 0008054C 7F A3 EB 78 */ mr r3, r29 +/* 800835F0 00080550 7F C4 F3 78 */ mr r4, r30 +/* 800835F4 00080554 D0 1D 03 5C */ stfs f0, 0x35c(r29) +/* 800835F8 00080558 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 800835FC 0008055C D0 1D 03 60 */ stfs f0, 0x360(r29) +/* 80083600 00080560 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80083604 00080564 D0 1D 03 64 */ stfs f0, 0x364(r29) +/* 80083608 00080568 48 00 50 39 */ bl ShouldResetSpline__11CBallCameraCFR13CStateManager +/* 8008360C 0008056C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80083610 00080570 41 82 00 C4 */ beq lbl_800836D4 +/* 80083614 00080574 88 1D 01 8E */ lbz r0, 0x18e(r29) +/* 80083618 00080578 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8008361C 0008057C 40 82 00 B8 */ bne lbl_800836D4 +/* 80083620 00080580 80 1D 03 50 */ lwz r0, 0x350(r29) +/* 80083624 00080584 38 80 00 00 */ li r4, 0 +/* 80083628 00080588 80 BD 03 54 */ lwz r5, 0x354(r29) +/* 8008362C 0008058C 3C 60 80 00 */ lis r3, 0x8000 +/* 80083630 00080590 7C 00 20 38 */ and r0, r0, r4 +/* 80083634 00080594 7C A3 18 38 */ and r3, r5, r3 +/* 80083638 00080598 7C 63 22 78 */ xor r3, r3, r4 +/* 8008363C 0008059C 7C 00 22 78 */ xor r0, r0, r4 +/* 80083640 000805A0 7C 60 03 79 */ or. r0, r3, r0 +/* 80083644 000805A4 41 82 00 90 */ beq lbl_800836D4 +/* 80083648 000805A8 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 8008364C 000805AC 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80083650 000805B0 C0 62 89 B0 */ lfs f3, lbl_805AA6D0@sda21(r2) +/* 80083654 000805B4 38 E3 C4 08 */ addi r7, r3, lbl_8046C408@l +/* 80083658 000805B8 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 8008365C 000805BC 7F C3 F3 78 */ mr r3, r30 +/* 80083660 000805C0 EC 81 18 2A */ fadds f4, f1, f3 +/* 80083664 000805C4 C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 80083668 000805C8 C0 22 89 D8 */ lfs f1, lbl_805AA6F8@sda21(r2) +/* 8008366C 000805CC EC 00 18 2A */ fadds f0, f0, f3 +/* 80083670 000805D0 38 81 00 9C */ addi r4, r1, 0x9c +/* 80083674 000805D4 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80083678 000805D8 EC 22 08 2A */ fadds f1, f2, f1 +/* 8008367C 000805DC D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80083680 000805E0 38 C1 01 08 */ addi r6, r1, 0x108 +/* 80083684 000805E4 39 00 00 00 */ li r8, 0 +/* 80083688 000805E8 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 8008368C 000805EC D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80083690 000805F0 4B FC 98 DD */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +/* 80083694 000805F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80083698 000805F8 41 82 00 3C */ beq lbl_800836D4 +/* 8008369C 000805FC 7F A3 EB 78 */ mr r3, r29 +/* 800836A0 00080600 7F C4 F3 78 */ mr r4, r30 +/* 800836A4 00080604 48 00 3D 11 */ bl ResetSpline__11CBallCameraFR13CStateManager +/* 800836A8 00080608 48 00 00 2C */ b lbl_800836D4 +lbl_800836AC: +/* 800836AC 0008060C 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 800836B0 00080610 38 60 00 01 */ li r3, 1 +/* 800836B4 00080614 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 800836B8 00080618 38 80 00 01 */ li r4, 1 +/* 800836BC 0008061C 98 1D 01 8C */ stb r0, 0x18c(r29) +/* 800836C0 00080620 38 60 00 00 */ li r3, 0 +/* 800836C4 00080624 80 AD 84 F8 */ lwz r5, lbl_805A70B8@sda21(r13) +/* 800836C8 00080628 48 30 68 2D */ bl __shl2i +/* 800836CC 0008062C 90 9D 03 54 */ stw r4, 0x354(r29) +/* 800836D0 00080630 90 7D 03 50 */ stw r3, 0x350(r29) +lbl_800836D4: +/* 800836D4 00080634 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 800836D8 00080638 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800836DC 0008063C 40 82 00 68 */ bne lbl_80083744 +/* 800836E0 00080640 C0 1D 03 4C */ lfs f0, 0x34c(r29) +/* 800836E4 00080644 7F A3 EB 78 */ mr r3, r29 +/* 800836E8 00080648 7F C4 F3 78 */ mr r4, r30 +/* 800836EC 0008064C EC 00 F8 2A */ fadds f0, f0, f31 +/* 800836F0 00080650 D0 1D 03 4C */ stfs f0, 0x34c(r29) +/* 800836F4 00080654 48 00 4F 4D */ bl ShouldResetSpline__11CBallCameraCFR13CStateManager +/* 800836F8 00080658 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800836FC 0008065C 41 82 00 50 */ beq lbl_8008374C +/* 80083700 00080660 88 1D 01 8E */ lbz r0, 0x18e(r29) +/* 80083704 00080664 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80083708 00080668 40 82 00 44 */ bne lbl_8008374C +/* 8008370C 0008066C 80 1D 03 50 */ lwz r0, 0x350(r29) +/* 80083710 00080670 38 80 00 00 */ li r4, 0 +/* 80083714 00080674 80 BD 03 54 */ lwz r5, 0x354(r29) +/* 80083718 00080678 38 60 00 20 */ li r3, 0x20 +/* 8008371C 0008067C 7C 00 20 38 */ and r0, r0, r4 +/* 80083720 00080680 7C A3 18 38 */ and r3, r5, r3 +/* 80083724 00080684 7C 63 22 78 */ xor r3, r3, r4 +/* 80083728 00080688 7C 00 22 78 */ xor r0, r0, r4 +/* 8008372C 0008068C 7C 60 03 79 */ or. r0, r3, r0 +/* 80083730 00080690 41 82 00 1C */ beq lbl_8008374C +/* 80083734 00080694 7F A3 EB 78 */ mr r3, r29 +/* 80083738 00080698 7F C4 F3 78 */ mr r4, r30 +/* 8008373C 0008069C 48 00 42 89 */ bl BuildSpline__11CBallCameraFR13CStateManager +/* 80083740 000806A0 48 00 00 0C */ b lbl_8008374C +lbl_80083744: +/* 80083744 000806A4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80083748 000806A8 D0 1D 03 4C */ stfs f0, 0x34c(r29) +lbl_8008374C: +/* 8008374C 000806AC C0 3D 03 4C */ lfs f1, 0x34c(r29) +/* 80083750 000806B0 38 81 00 08 */ addi r4, r1, 8 +/* 80083754 000806B4 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) +/* 80083758 000806B8 38 6D 84 FC */ addi r3, r13, lbl_805A70BC@sda21 +/* 8008375C 000806BC 38 AD 85 00 */ addi r5, r13, lbl_805A70C0@sda21 +/* 80083760 000806C0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80083764 000806C4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80083768 000806C8 4B F8 8B 4D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8008376C 000806CC C0 03 00 00 */ lfs f0, 0(r3) +/* 80083770 000806D0 D0 1D 03 58 */ stfs f0, 0x358(r29) +/* 80083774 000806D4 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 80083778 000806D8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8008377C 000806DC 41 82 00 54 */ beq lbl_800837D0 +/* 80083780 000806E0 C0 3D 03 4C */ lfs f1, 0x34c(r29) +/* 80083784 000806E4 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 80083788 000806E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008378C 000806EC 41 81 00 20 */ bgt lbl_800837AC +/* 80083790 000806F0 A0 7D 03 DC */ lhz r3, 0x3dc(r29) +/* 80083794 000806F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80083798 000806F8 7C 03 00 40 */ cmplw r3, r0 +/* 8008379C 000806FC 41 82 00 34 */ beq lbl_800837D0 +/* 800837A0 00080700 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 800837A4 00080704 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800837A8 00080708 40 81 00 28 */ ble lbl_800837D0 +lbl_800837AC: +/* 800837AC 0008070C 88 1D 01 8C */ lbz r0, 0x18c(r29) +/* 800837B0 00080710 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800837B4 00080714 40 82 00 1C */ bne lbl_800837D0 +/* 800837B8 00080718 80 1D 03 6C */ lwz r0, 0x36c(r29) +/* 800837BC 0008071C 2C 00 00 00 */ cmpwi r0, 0 +/* 800837C0 00080720 40 82 00 10 */ bne lbl_800837D0 +/* 800837C4 00080724 38 00 00 01 */ li r0, 1 +/* 800837C8 00080728 98 1D 03 E4 */ stb r0, 0x3e4(r29) +/* 800837CC 0008072C 48 00 00 0C */ b lbl_800837D8 +lbl_800837D0: +/* 800837D0 00080730 38 00 00 00 */ li r0, 0 +/* 800837D4 00080734 98 1D 03 E4 */ stb r0, 0x3e4(r29) +lbl_800837D8: +/* 800837D8 00080738 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 800837DC 0008073C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800837E0 00080740 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 800837E4 00080744 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 800837E8 00080748 C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 800837EC 0008074C EC 81 00 28 */ fsubs f4, f1, f0 +/* 800837F0 00080750 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 800837F4 00080754 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 800837F8 00080758 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800837FC 0008075C 8B 9D 03 E4 */ lbz r28, 0x3e4(r29) +/* 80083800 00080760 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80083804 00080764 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80083808 00080768 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8008380C 0008076C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80083810 00080770 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80083814 00080774 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80083818 00080778 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8008381C 0008077C 48 29 10 9D */ bl Magnitude__9CVector3fCFv +/* 80083820 00080780 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80083824 00080784 C0 42 89 C4 */ lfs f2, lbl_805AA6E4@sda21(r2) +/* 80083828 00080788 C0 03 02 7C */ lfs f0, 0x27c(r3) +/* 8008382C 0008078C EC 02 00 2A */ fadds f0, f2, f0 +/* 80083830 00080790 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80083834 00080794 40 80 00 08 */ bge lbl_8008383C +/* 80083838 00080798 3B 80 00 01 */ li r28, 1 +lbl_8008383C: +/* 8008383C 0008079C 88 9D 01 8E */ lbz r4, 0x18e(r29) +/* 80083840 000807A0 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f +/* 80083844 000807A4 41 82 00 1C */ beq lbl_80083860 +/* 80083848 000807A8 38 60 00 00 */ li r3, 0 +/* 8008384C 000807AC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80083850 000807B0 50 64 26 F6 */ rlwimi r4, r3, 4, 0x1b, 0x1b +/* 80083854 000807B4 98 9D 01 8E */ stb r4, 0x18e(r29) +/* 80083858 000807B8 41 82 00 08 */ beq lbl_80083860 +/* 8008385C 000807BC 3B 80 00 01 */ li r28, 1 +lbl_80083860: +/* 80083860 000807C0 88 7D 01 8E */ lbz r3, 0x18e(r29) +/* 80083864 000807C4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80083868 000807C8 41 82 00 40 */ beq lbl_800838A8 +/* 8008386C 000807CC 38 00 00 00 */ li r0, 0 +/* 80083870 000807D0 7F C4 F3 78 */ mr r4, r30 +/* 80083874 000807D4 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 80083878 000807D8 98 7D 01 8E */ stb r3, 0x18e(r29) +/* 8008387C 000807DC 38 61 00 0C */ addi r3, r1, 0xc +/* 80083880 000807E0 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80083884 000807E4 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80083888 000807E8 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8008388C 000807EC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80083890 000807F0 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80083894 000807F4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80083898 000807F8 4B FF F8 A5 */ bl IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager +/* 8008389C 000807FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800838A0 00080800 41 82 00 08 */ beq lbl_800838A8 +/* 800838A4 00080804 3B 80 00 01 */ li r28, 1 +lbl_800838A8: +/* 800838A8 00080808 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800838AC 0008080C 41 82 00 14 */ beq lbl_800838C0 +/* 800838B0 00080810 FC 20 F8 90 */ fmr f1, f31 +/* 800838B4 00080814 7F A3 EB 78 */ mr r3, r29 +/* 800838B8 00080818 7F C4 F3 78 */ mr r4, r30 +/* 800838BC 0008081C 48 00 00 89 */ bl ActivateFailSafe__11CBallCameraFfR13CStateManager +lbl_800838C0: +/* 800838C0 00080820 80 A1 01 08 */ lwz r5, 0x108(r1) +/* 800838C4 00080824 38 60 00 00 */ li r3, 0 +/* 800838C8 00080828 2C 05 00 00 */ cmpwi r5, 0 +/* 800838CC 0008082C 40 81 00 40 */ ble lbl_8008390C +/* 800838D0 00080830 2C 05 00 08 */ cmpwi r5, 8 +/* 800838D4 00080834 38 85 FF F8 */ addi r4, r5, -8 +/* 800838D8 00080838 40 81 00 20 */ ble lbl_800838F8 +/* 800838DC 0008083C 38 04 00 07 */ addi r0, r4, 7 +/* 800838E0 00080840 54 00 E8 FE */ srwi r0, r0, 3 +/* 800838E4 00080844 7C 09 03 A6 */ mtctr r0 +/* 800838E8 00080848 2C 04 00 00 */ cmpwi r4, 0 +/* 800838EC 0008084C 40 81 00 0C */ ble lbl_800838F8 +lbl_800838F0: +/* 800838F0 00080850 38 63 00 08 */ addi r3, r3, 8 +/* 800838F4 00080854 42 00 FF FC */ bdnz lbl_800838F0 +lbl_800838F8: +/* 800838F8 00080858 7C 03 28 50 */ subf r0, r3, r5 +/* 800838FC 0008085C 7C 09 03 A6 */ mtctr r0 +/* 80083900 00080860 7C 03 28 00 */ cmpw r3, r5 +/* 80083904 00080864 40 80 00 08 */ bge lbl_8008390C +lbl_80083908: +/* 80083908 00080868 42 00 00 00 */ bdnz lbl_80083908 +lbl_8008390C: +/* 8008390C 0008086C 38 00 00 00 */ li r0, 0 +/* 80083910 00080870 90 01 01 08 */ stw r0, 0x108(r1) +/* 80083914 00080874 E3 E1 09 38 */ psq_l f31, -1736(r1), 0, qr0 +/* 80083918 00080878 CB E1 09 30 */ lfd f31, 0x930(r1) +/* 8008391C 0008087C E3 C1 09 28 */ psq_l f30, -1752(r1), 0, qr0 +/* 80083920 00080880 CB C1 09 20 */ lfd f30, 0x920(r1) +/* 80083924 00080884 83 E1 09 1C */ lwz r31, 0x91c(r1) +/* 80083928 00080888 83 C1 09 18 */ lwz r30, 0x918(r1) +/* 8008392C 0008088C 83 A1 09 14 */ lwz r29, 0x914(r1) +/* 80083930 00080890 80 01 09 44 */ lwz r0, 0x944(r1) +/* 80083934 00080894 83 81 09 10 */ lwz r28, 0x910(r1) +/* 80083938 00080898 7C 08 03 A6 */ mtlr r0 +/* 8008393C 0008089C 38 21 09 40 */ addi r1, r1, 0x940 +/* 80083940 000808A0 4E 80 00 20 */ blr + +.global ActivateFailSafe__11CBallCameraFfR13CStateManager +ActivateFailSafe__11CBallCameraFfR13CStateManager: +/* 80083944 000808A4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80083948 000808A8 7C 08 02 A6 */ mflr r0 +/* 8008394C 000808AC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80083950 000808B0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80083954 000808B4 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80083958 000808B8 7C 9F 23 78 */ mr r31, r4 +/* 8008395C 000808BC 7F E6 FB 78 */ mr r6, r31 +/* 80083960 000808C0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80083964 000808C4 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80083968 000808C8 7C 7E 1B 78 */ mr r30, r3 +/* 8008396C 000808CC C0 03 01 90 */ lfs f0, 0x190(r3) +/* 80083970 000808D0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80083974 000808D4 C0 03 01 A0 */ lfs f0, 0x1a0(r3) +/* 80083978 000808D8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8008397C 000808DC 48 00 5D 51 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +/* 80083980 000808E0 81 1F 08 4C */ lwz r8, 0x84c(r31) +/* 80083984 000808E4 7F C4 F3 78 */ mr r4, r30 +/* 80083988 000808E8 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8008398C 000808EC 7F E6 FB 78 */ mr r6, r31 +/* 80083990 000808F0 80 E8 05 0C */ lwz r7, 0x50c(r8) +/* 80083994 000808F4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80083998 000808F8 80 08 05 10 */ lwz r0, 0x510(r8) +/* 8008399C 000808FC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800839A0 00080900 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 800839A4 00080904 90 E1 00 18 */ stw r7, 0x18(r1) +/* 800839A8 00080908 38 E0 00 01 */ li r7, 1 +/* 800839AC 0008090C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800839B0 00080910 80 08 05 14 */ lwz r0, 0x514(r8) +/* 800839B4 00080914 90 01 00 20 */ stw r0, 0x20(r1) +/* 800839B8 00080918 48 00 62 FD */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +/* 800839BC 0008091C C0 41 00 24 */ lfs f2, 0x24(r1) +/* 800839C0 00080920 7F C3 F3 78 */ mr r3, r30 +/* 800839C4 00080924 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 800839C8 00080928 38 81 00 30 */ addi r4, r1, 0x30 +/* 800839CC 0008092C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800839D0 00080930 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800839D4 00080934 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800839D8 00080938 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800839DC 0008093C 4B FC F4 B1 */ bl SetTranslation__6CActorFRC9CVector3f +/* 800839E0 00080940 7F C3 F3 78 */ mr r3, r30 +/* 800839E4 00080944 7F E4 FB 78 */ mr r4, r31 +/* 800839E8 00080948 48 00 90 A9 */ bl ResetPosition__11CBallCameraFR13CStateManager +/* 800839EC 0008094C 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 800839F0 00080950 38 61 00 3C */ addi r3, r1, 0x3c +/* 800839F4 00080954 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 800839F8 00080958 38 BE 01 D8 */ addi r5, r30, 0x1d8 +/* 800839FC 0008095C 38 81 00 30 */ addi r4, r1, 0x30 +/* 80083A00 00080960 48 29 01 11 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80083A04 00080964 38 61 00 6C */ addi r3, r1, 0x6c +/* 80083A08 00080968 38 81 00 3C */ addi r4, r1, 0x3c +/* 80083A0C 0008096C 48 28 F1 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80083A10 00080970 7F C3 F3 78 */ mr r3, r30 +/* 80083A14 00080974 7F E5 FB 78 */ mr r5, r31 +/* 80083A18 00080978 38 81 00 6C */ addi r4, r1, 0x6c +/* 80083A1C 0008097C 48 00 8F DD */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 80083A20 00080980 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80083A24 00080984 7F E4 FB 78 */ mr r4, r31 +/* 80083A28 00080988 38 A1 00 0C */ addi r5, r1, 0xc +/* 80083A2C 0008098C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80083A30 00080990 B0 01 00 08 */ sth r0, 8(r1) +/* 80083A34 00080994 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80083A38 00080998 4B F8 6E 11 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +/* 80083A3C 0008099C 38 00 00 00 */ li r0, 0 +/* 80083A40 000809A0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80083A44 000809A4 98 1E 03 E4 */ stb r0, 0x3e4(r30) +/* 80083A48 000809A8 D0 1E 03 4C */ stfs f0, 0x34c(r30) +/* 80083A4C 000809AC 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80083A50 000809B0 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80083A54 000809B4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80083A58 000809B8 7C 08 03 A6 */ mtlr r0 +/* 80083A5C 000809BC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80083A60 000809C0 4E 80 00 20 */ blr + +.global UpdateLookAtPosition__11CBallCameraFfR13CStateManager +UpdateLookAtPosition__11CBallCameraFfR13CStateManager: +/* 80083A64 000809C4 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 80083A68 000809C8 7C 08 02 A6 */ mflr r0 +/* 80083A6C 000809CC 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 80083A70 000809D0 DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 80083A74 000809D4 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 80083A78 000809D8 DB C1 01 A0 */ stfd f30, 0x1a0(r1) +/* 80083A7C 000809DC F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 +/* 80083A80 000809E0 DB A1 01 90 */ stfd f29, 0x190(r1) +/* 80083A84 000809E4 F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 +/* 80083A88 000809E8 DB 81 01 80 */ stfd f28, 0x180(r1) +/* 80083A8C 000809EC F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 +/* 80083A90 000809F0 DB 61 01 70 */ stfd f27, 0x170(r1) +/* 80083A94 000809F4 F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 +/* 80083A98 000809F8 DB 41 01 60 */ stfd f26, 0x160(r1) +/* 80083A9C 000809FC F3 41 01 68 */ psq_st f26, 360(r1), 0, qr0 +/* 80083AA0 00080A00 DB 21 01 50 */ stfd f25, 0x150(r1) +/* 80083AA4 00080A04 F3 21 01 58 */ psq_st f25, 344(r1), 0, qr0 +/* 80083AA8 00080A08 DB 01 01 40 */ stfd f24, 0x140(r1) +/* 80083AAC 00080A0C F3 01 01 48 */ psq_st f24, 328(r1), 0, qr0 +/* 80083AB0 00080A10 DA E1 01 30 */ stfd f23, 0x130(r1) +/* 80083AB4 00080A14 F2 E1 01 38 */ psq_st f23, 312(r1), 0, qr0 +/* 80083AB8 00080A18 DA C1 01 20 */ stfd f22, 0x120(r1) +/* 80083ABC 00080A1C F2 C1 01 28 */ psq_st f22, 296(r1), 0, qr0 +/* 80083AC0 00080A20 DA A1 01 10 */ stfd f21, 0x110(r1) +/* 80083AC4 00080A24 F2 A1 01 18 */ psq_st f21, 280(r1), 0, qr0 +/* 80083AC8 00080A28 DA 81 01 00 */ stfd f20, 0x100(r1) +/* 80083ACC 00080A2C F2 81 01 08 */ psq_st f20, 264(r1), 0, qr0 +/* 80083AD0 00080A30 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 80083AD4 00080A34 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 80083AD8 00080A38 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 80083ADC 00080A3C 7C 7E 1B 78 */ mr r30, r3 +/* 80083AE0 00080A40 7C 9F 23 78 */ mr r31, r4 +/* 80083AE4 00080A44 A0 03 00 E8 */ lhz r0, 0xe8(r3) +/* 80083AE8 00080A48 FE C0 08 90 */ fmr f22, f1 +/* 80083AEC 00080A4C 7F E3 FB 78 */ mr r3, r31 +/* 80083AF0 00080A50 38 81 00 0C */ addi r4, r1, 0xc +/* 80083AF4 00080A54 B0 01 00 08 */ sth r0, 8(r1) +/* 80083AF8 00080A58 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80083AFC 00080A5C 4B FC 8A A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80083B00 00080A60 7C 64 1B 78 */ mr r4, r3 +/* 80083B04 00080A64 38 61 00 14 */ addi r3, r1, 0x14 +/* 80083B08 00080A68 48 02 88 8D */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 80083B0C 00080A6C 83 A3 00 04 */ lwz r29, 4(r3) +/* 80083B10 00080A70 28 1D 00 00 */ cmplwi r29, 0 +/* 80083B14 00080A74 41 82 04 68 */ beq lbl_80083F7C +/* 80083B18 00080A78 7F A4 EB 78 */ mr r4, r29 +/* 80083B1C 00080A7C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80083B20 00080A80 48 20 12 29 */ bl GetBallPosition__7CPlayerCFv +/* 80083B24 00080A84 C3 E1 00 28 */ lfs f31, 0x28(r1) +/* 80083B28 00080A88 7F A3 EB 78 */ mr r3, r29 +/* 80083B2C 00080A8C C3 C1 00 2C */ lfs f30, 0x2c(r1) +/* 80083B30 00080A90 C3 A1 00 30 */ lfs f29, 0x30(r1) +/* 80083B34 00080A94 4B F9 66 E1 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80083B38 00080A98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80083B3C 00080A9C 41 82 00 54 */ beq lbl_80083B90 +/* 80083B40 00080AA0 D3 FE 01 D8 */ stfs f31, 0x1d8(r30) +/* 80083B44 00080AA4 D3 DE 01 DC */ stfs f30, 0x1dc(r30) +/* 80083B48 00080AA8 D3 BE 01 E0 */ stfs f29, 0x1e0(r30) +/* 80083B4C 00080AAC C0 3E 01 E0 */ lfs f1, 0x1e0(r30) +/* 80083B50 00080AB0 C0 1E 01 BC */ lfs f0, 0x1bc(r30) +/* 80083B54 00080AB4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80083B58 00080AB8 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) +/* 80083B5C 00080ABC C0 1E 01 D8 */ lfs f0, 0x1d8(r30) +/* 80083B60 00080AC0 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) +/* 80083B64 00080AC4 C0 1E 01 DC */ lfs f0, 0x1dc(r30) +/* 80083B68 00080AC8 D0 1E 01 C4 */ stfs f0, 0x1c4(r30) +/* 80083B6C 00080ACC C0 1E 01 E0 */ lfs f0, 0x1e0(r30) +/* 80083B70 00080AD0 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) +/* 80083B74 00080AD4 C0 1E 01 D8 */ lfs f0, 0x1d8(r30) +/* 80083B78 00080AD8 D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 80083B7C 00080ADC C0 1E 01 DC */ lfs f0, 0x1dc(r30) +/* 80083B80 00080AE0 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) +/* 80083B84 00080AE4 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) +/* 80083B88 00080AE8 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +/* 80083B8C 00080AEC 48 00 03 F0 */ b lbl_80083F7C +lbl_80083B90: +/* 80083B90 00080AF0 C0 1D 05 0C */ lfs f0, 0x50c(r29) +/* 80083B94 00080AF4 38 61 00 4C */ addi r3, r1, 0x4c +/* 80083B98 00080AF8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80083B9C 00080AFC C0 1D 05 10 */ lfs f0, 0x510(r29) +/* 80083BA0 00080B00 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80083BA4 00080B04 C0 1D 05 14 */ lfs f0, 0x514(r29) +/* 80083BA8 00080B08 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80083BAC 00080B0C 48 29 0D 4D */ bl Normalize__9CVector3fFv +/* 80083BB0 00080B10 C0 7E 03 08 */ lfs f3, 0x308(r30) +/* 80083BB4 00080B14 C0 3E 01 B8 */ lfs f1, 0x1b8(r30) +/* 80083BB8 00080B18 C0 1E 01 B4 */ lfs f0, 0x1b4(r30) +/* 80083BBC 00080B1C C0 5E 01 BC */ lfs f2, 0x1bc(r30) +/* 80083BC0 00080B20 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80083BC4 00080B24 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80083BC8 00080B28 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80083BCC 00080B2C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80083BD0 00080B30 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80083BD4 00080B34 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 80083BD8 00080B38 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80083BDC 00080B3C 41 82 00 40 */ beq lbl_80083C1C +/* 80083BE0 00080B40 80 1E 04 00 */ lwz r0, 0x400(r30) +/* 80083BE4 00080B44 2C 00 00 02 */ cmpwi r0, 2 +/* 80083BE8 00080B48 41 82 00 10 */ beq lbl_80083BF8 +/* 80083BEC 00080B4C 80 1E 01 88 */ lwz r0, 0x188(r30) +/* 80083BF0 00080B50 2C 00 00 01 */ cmpwi r0, 1 +/* 80083BF4 00080B54 40 82 00 28 */ bne lbl_80083C1C +lbl_80083BF8: +/* 80083BF8 00080B58 C0 7E 03 08 */ lfs f3, 0x308(r30) +/* 80083BFC 00080B5C C0 3E 04 14 */ lfs f1, 0x414(r30) +/* 80083C00 00080B60 C0 1E 04 10 */ lfs f0, 0x410(r30) +/* 80083C04 00080B64 C0 5E 04 18 */ lfs f2, 0x418(r30) +/* 80083C08 00080B68 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80083C0C 00080B6C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80083C10 00080B70 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80083C14 00080B74 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80083C18 00080B78 D0 21 00 44 */ stfs f1, 0x44(r1) +lbl_80083C1C: +/* 80083C1C 00080B7C 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80083C20 00080B80 4B F8 6C B5 */ bl IsInterpolationCameraActive__14CCameraManagerCFv +/* 80083C24 00080B84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80083C28 00080B88 41 82 00 18 */ beq lbl_80083C40 +/* 80083C2C 00080B8C C0 3E 01 BC */ lfs f1, 0x1bc(r30) +/* 80083C30 00080B90 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80083C34 00080B94 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80083C38 00080B98 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80083C3C 00080B9C D0 01 00 44 */ stfs f0, 0x44(r1) +lbl_80083C40: +/* 80083C40 00080BA0 7F A4 EB 78 */ mr r4, r29 +/* 80083C44 00080BA4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80083C48 00080BA8 48 20 1A A1 */ bl CreateTransformFromMovementDirection__7CPlayerCFv +/* 80083C4C 00080BAC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80083C50 00080BB0 38 81 00 58 */ addi r4, r1, 0x58 +/* 80083C54 00080BB4 48 28 EF ED */ bl GetRotation__12CTransform4fCFv +/* 80083C58 00080BB8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80083C5C 00080BBC 38 81 00 88 */ addi r4, r1, 0x88 +/* 80083C60 00080BC0 48 28 EF 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80083C64 00080BC4 38 7E 02 FC */ addi r3, r30, 0x2fc +/* 80083C68 00080BC8 48 29 0A 91 */ bl CanBeNormalized__9CVector3fCFv +/* 80083C6C 00080BCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80083C70 00080BD0 41 82 00 2C */ beq lbl_80083C9C +/* 80083C74 00080BD4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80083C78 00080BD8 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80083C7C 00080BDC 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80083C80 00080BE0 48 28 EE 69 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80083C84 00080BE4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80083C88 00080BE8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80083C8C 00080BEC C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80083C90 00080BF0 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80083C94 00080BF4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80083C98 00080BF8 D0 01 00 48 */ stfs f0, 0x48(r1) +lbl_80083C9C: +/* 80083C9C 00080BFC C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80083CA0 00080C00 38 61 00 34 */ addi r3, r1, 0x34 +/* 80083CA4 00080C04 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80083CA8 00080C08 EF 3F 08 2A */ fadds f25, f31, f1 +/* 80083CAC 00080C0C C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80083CB0 00080C10 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80083CB4 00080C14 EC 9F 00 2A */ fadds f4, f31, f0 +/* 80083CB8 00080C18 C3 9E 01 D8 */ lfs f28, 0x1d8(r30) +/* 80083CBC 00080C1C EF 1E 10 2A */ fadds f24, f30, f2 +/* 80083CC0 00080C20 C3 7E 01 DC */ lfs f27, 0x1dc(r30) +/* 80083CC4 00080C24 EE FD 08 2A */ fadds f23, f29, f1 +/* 80083CC8 00080C28 C3 5E 01 E0 */ lfs f26, 0x1e0(r30) +/* 80083CCC 00080C2C EC 7E 00 2A */ fadds f3, f30, f0 +/* 80083CD0 00080C30 EC 5C C8 28 */ fsubs f2, f28, f25 +/* 80083CD4 00080C34 D3 3E 01 C0 */ stfs f25, 0x1c0(r30) +/* 80083CD8 00080C38 EC 3B C0 28 */ fsubs f1, f27, f24 +/* 80083CDC 00080C3C EC 1A B8 28 */ fsubs f0, f26, f23 +/* 80083CE0 00080C40 D3 1E 01 C4 */ stfs f24, 0x1c4(r30) +/* 80083CE4 00080C44 D2 FE 01 C8 */ stfs f23, 0x1c8(r30) +/* 80083CE8 00080C48 C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 80083CEC 00080C4C D0 9E 01 CC */ stfs f4, 0x1cc(r30) +/* 80083CF0 00080C50 EC 9D 28 2A */ fadds f4, f29, f5 +/* 80083CF4 00080C54 D0 7E 01 D0 */ stfs f3, 0x1d0(r30) +/* 80083CF8 00080C58 D0 9E 01 D4 */ stfs f4, 0x1d4(r30) +/* 80083CFC 00080C5C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80083D00 00080C60 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80083D04 00080C64 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80083D08 00080C68 48 29 0B B1 */ bl Magnitude__9CVector3fCFv +/* 80083D0C 00080C6C FE A0 08 90 */ fmr f21, f1 +/* 80083D10 00080C70 38 61 00 34 */ addi r3, r1, 0x34 +/* 80083D14 00080C74 48 29 09 E5 */ bl CanBeNormalized__9CVector3fCFv +/* 80083D18 00080C78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80083D1C 00080C7C 41 82 00 0C */ beq lbl_80083D28 +/* 80083D20 00080C80 38 61 00 34 */ addi r3, r1, 0x34 +/* 80083D24 00080C84 48 29 0B D5 */ bl Normalize__9CVector3fFv +lbl_80083D28: +/* 80083D28 00080C88 C0 3E 03 0C */ lfs f1, 0x30c(r30) +/* 80083D2C 00080C8C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80083D30 00080C90 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) +/* 80083D34 00080C94 38 6D 84 F0 */ addi r3, r13, lbl_805A70B0@sda21 +/* 80083D38 00080C98 C2 82 89 B8 */ lfs f20, lbl_805AA6D8@sda21(r2) +/* 80083D3C 00080C9C 38 AD 84 F4 */ addi r5, r13, lbl_805A70B4@sda21 +/* 80083D40 00080CA0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80083D44 00080CA4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80083D48 00080CA8 4B F8 85 6D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80083D4C 00080CAC C0 63 00 00 */ lfs f3, 0(r3) +/* 80083D50 00080CB0 FC 40 A8 90 */ fmr f2, f21 +/* 80083D54 00080CB4 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 80083D58 00080CB8 38 7E 02 3C */ addi r3, r30, 0x23c +/* 80083D5C 00080CBC C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80083D60 00080CC0 EE 80 A0 FA */ fmadds f20, f0, f3, f20 +/* 80083D64 00080CC4 EC 76 05 32 */ fmuls f3, f22, f20 +/* 80083D68 00080CC8 4B FD 9A 8D */ bl ApplyDistanceSpringNoMax__13CCameraSpringFfff +/* 80083D6C 00080CCC C0 02 89 E8 */ lfs f0, lbl_805AA708@sda21(r2) +/* 80083D70 00080CD0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80083D74 00080CD4 40 81 00 28 */ ble lbl_80083D9C +/* 80083D78 00080CD8 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 80083D7C 00080CDC C0 41 00 38 */ lfs f2, 0x38(r1) +/* 80083D80 00080CE0 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80083D84 00080CE4 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 80083D88 00080CE8 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 80083D8C 00080CEC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80083D90 00080CF0 EF 39 18 2A */ fadds f25, f25, f3 +/* 80083D94 00080CF4 EF 18 10 2A */ fadds f24, f24, f2 +/* 80083D98 00080CF8 EE F7 00 2A */ fadds f23, f23, f0 +lbl_80083D9C: +/* 80083D9C 00080CFC EC 59 E0 28 */ fsubs f2, f25, f28 +/* 80083DA0 00080D00 EC 38 D8 28 */ fsubs f1, f24, f27 +/* 80083DA4 00080D04 EC 17 D0 28 */ fsubs f0, f23, f26 +/* 80083DA8 00080D08 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80083DAC 00080D0C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80083DB0 00080D10 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80083DB4 00080D14 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 80083DB8 00080D18 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80083DBC 00080D1C 41 82 00 24 */ beq lbl_80083DE0 +/* 80083DC0 00080D20 D3 FE 01 D8 */ stfs f31, 0x1d8(r30) +/* 80083DC4 00080D24 D3 DE 01 DC */ stfs f30, 0x1dc(r30) +/* 80083DC8 00080D28 D3 BE 01 E0 */ stfs f29, 0x1e0(r30) +/* 80083DCC 00080D2C C0 3E 01 E0 */ lfs f1, 0x1e0(r30) +/* 80083DD0 00080D30 C0 1E 01 BC */ lfs f0, 0x1bc(r30) +/* 80083DD4 00080D34 EC 01 00 2A */ fadds f0, f1, f0 +/* 80083DD8 00080D38 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) +/* 80083DDC 00080D3C 48 00 00 10 */ b lbl_80083DEC +lbl_80083DE0: +/* 80083DE0 00080D40 D3 3E 01 D8 */ stfs f25, 0x1d8(r30) +/* 80083DE4 00080D44 D3 1E 01 DC */ stfs f24, 0x1dc(r30) +/* 80083DE8 00080D48 D2 FE 01 E0 */ stfs f23, 0x1e0(r30) +lbl_80083DEC: +/* 80083DEC 00080D4C 80 1E 01 88 */ lwz r0, 0x188(r30) +/* 80083DF0 00080D50 2C 00 00 05 */ cmpwi r0, 5 +/* 80083DF4 00080D54 41 82 00 94 */ beq lbl_80083E88 +/* 80083DF8 00080D58 40 80 00 10 */ bge lbl_80083E08 +/* 80083DFC 00080D5C 2C 00 00 04 */ cmpwi r0, 4 +/* 80083E00 00080D60 40 80 00 54 */ bge lbl_80083E54 +/* 80083E04 00080D64 48 00 00 0C */ b lbl_80083E10 +lbl_80083E08: +/* 80083E08 00080D68 2C 00 00 08 */ cmpwi r0, 8 +/* 80083E0C 00080D6C 41 82 00 7C */ beq lbl_80083E88 +lbl_80083E10: +/* 80083E10 00080D70 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80083E14 00080D74 4B F8 6A C1 */ bl IsInterpolationCameraActive__14CCameraManagerCFv +/* 80083E18 00080D78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80083E1C 00080D7C 41 82 00 9C */ beq lbl_80083EB8 +/* 80083E20 00080D80 C0 1E 01 C0 */ lfs f0, 0x1c0(r30) +/* 80083E24 00080D84 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) +/* 80083E28 00080D88 C0 1E 01 C4 */ lfs f0, 0x1c4(r30) +/* 80083E2C 00080D8C D0 1E 01 DC */ stfs f0, 0x1dc(r30) +/* 80083E30 00080D90 C0 1E 01 C8 */ lfs f0, 0x1c8(r30) +/* 80083E34 00080D94 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) +/* 80083E38 00080D98 C0 1E 01 C0 */ lfs f0, 0x1c0(r30) +/* 80083E3C 00080D9C D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 80083E40 00080DA0 C0 1E 01 C4 */ lfs f0, 0x1c4(r30) +/* 80083E44 00080DA4 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) +/* 80083E48 00080DA8 C0 1E 01 C8 */ lfs f0, 0x1c8(r30) +/* 80083E4C 00080DAC D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +/* 80083E50 00080DB0 48 00 00 68 */ b lbl_80083EB8 +lbl_80083E54: +/* 80083E54 00080DB4 C0 1E 01 CC */ lfs f0, 0x1cc(r30) +/* 80083E58 00080DB8 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) +/* 80083E5C 00080DBC C0 1E 01 D0 */ lfs f0, 0x1d0(r30) +/* 80083E60 00080DC0 D0 1E 01 DC */ stfs f0, 0x1dc(r30) +/* 80083E64 00080DC4 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) +/* 80083E68 00080DC8 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) +/* 80083E6C 00080DCC C0 1E 01 D8 */ lfs f0, 0x1d8(r30) +/* 80083E70 00080DD0 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) +/* 80083E74 00080DD4 C0 1E 01 DC */ lfs f0, 0x1dc(r30) +/* 80083E78 00080DD8 D0 1E 01 C4 */ stfs f0, 0x1c4(r30) +/* 80083E7C 00080DDC C0 1E 01 E0 */ lfs f0, 0x1e0(r30) +/* 80083E80 00080DE0 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) +/* 80083E84 00080DE4 48 00 00 34 */ b lbl_80083EB8 +lbl_80083E88: +/* 80083E88 00080DE8 C0 1E 01 CC */ lfs f0, 0x1cc(r30) +/* 80083E8C 00080DEC D0 1E 01 D8 */ stfs f0, 0x1d8(r30) +/* 80083E90 00080DF0 C0 1E 01 D0 */ lfs f0, 0x1d0(r30) +/* 80083E94 00080DF4 D0 1E 01 DC */ stfs f0, 0x1dc(r30) +/* 80083E98 00080DF8 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) +/* 80083E9C 00080DFC D0 1E 01 E0 */ stfs f0, 0x1e0(r30) +/* 80083EA0 00080E00 C0 1E 01 CC */ lfs f0, 0x1cc(r30) +/* 80083EA4 00080E04 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) +/* 80083EA8 00080E08 C0 1E 01 D0 */ lfs f0, 0x1d0(r30) +/* 80083EAC 00080E0C D0 1E 01 C4 */ stfs f0, 0x1c4(r30) +/* 80083EB0 00080E10 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) +/* 80083EB4 00080E14 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) +lbl_80083EB8: +/* 80083EB8 00080E18 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 80083EBC 00080E1C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80083EC0 00080E20 41 82 00 20 */ beq lbl_80083EE0 +/* 80083EC4 00080E24 C0 1E 01 BC */ lfs f0, 0x1bc(r30) +/* 80083EC8 00080E28 EC 1D 00 2A */ fadds f0, f29, f0 +/* 80083ECC 00080E2C D0 1E 01 E0 */ stfs f0, 0x1e0(r30) +/* 80083ED0 00080E30 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) +/* 80083ED4 00080E34 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) +/* 80083ED8 00080E38 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) +/* 80083EDC 00080E3C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +lbl_80083EE0: +/* 80083EE0 00080E40 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 80083EE4 00080E44 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80083EE8 00080E48 41 82 00 94 */ beq lbl_80083F7C +/* 80083EEC 00080E4C 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80083EF0 00080E50 7F E4 FB 78 */ mr r4, r31 +/* 80083EF4 00080E54 4B F8 54 DD */ bl GetCameraHint__14CCameraManagerCFR13CStateManager +/* 80083EF8 00080E58 28 03 00 00 */ cmplwi r3, 0 +/* 80083EFC 00080E5C 41 82 00 80 */ beq lbl_80083F7C +/* 80083F00 00080E60 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80083F04 00080E64 7F E4 FB 78 */ mr r4, r31 +/* 80083F08 00080E68 4B F8 54 C9 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager +/* 80083F0C 00080E6C C0 A2 89 EC */ lfs f5, lbl_805AA70C@sda21(r2) +/* 80083F10 00080E70 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 80083F14 00080E74 C0 63 00 48 */ lfs f3, 0x48(r3) +/* 80083F18 00080E78 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80083F1C 00080E7C C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80083F20 00080E80 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 80083F24 00080E84 EC 85 00 F2 */ fmuls f4, f5, f3 +/* 80083F28 00080E88 C0 DE 00 50 */ lfs f6, 0x50(r30) +/* 80083F2C 00080E8C EC 01 00 2A */ fadds f0, f1, f0 +/* 80083F30 00080E90 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80083F34 00080E94 EC 25 00 B2 */ fmuls f1, f5, f2 +/* 80083F38 00080E98 EC 46 20 2A */ fadds f2, f6, f4 +/* 80083F3C 00080E9C D0 1E 01 D8 */ stfs f0, 0x1d8(r30) +/* 80083F40 00080EA0 EC 03 08 2A */ fadds f0, f3, f1 +/* 80083F44 00080EA4 D0 5E 01 DC */ stfs f2, 0x1dc(r30) +/* 80083F48 00080EA8 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) +/* 80083F4C 00080EAC C0 1E 01 D8 */ lfs f0, 0x1d8(r30) +/* 80083F50 00080EB0 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) +/* 80083F54 00080EB4 C0 1E 01 DC */ lfs f0, 0x1dc(r30) +/* 80083F58 00080EB8 D0 1E 01 C4 */ stfs f0, 0x1c4(r30) +/* 80083F5C 00080EBC C0 1E 01 E0 */ lfs f0, 0x1e0(r30) +/* 80083F60 00080EC0 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) +/* 80083F64 00080EC4 C0 1E 01 D8 */ lfs f0, 0x1d8(r30) +/* 80083F68 00080EC8 D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 80083F6C 00080ECC C0 1E 01 DC */ lfs f0, 0x1dc(r30) +/* 80083F70 00080ED0 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) +/* 80083F74 00080ED4 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) +/* 80083F78 00080ED8 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +lbl_80083F7C: +/* 80083F7C 00080EDC E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 +/* 80083F80 00080EE0 CB E1 01 B0 */ lfd f31, 0x1b0(r1) +/* 80083F84 00080EE4 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 +/* 80083F88 00080EE8 CB C1 01 A0 */ lfd f30, 0x1a0(r1) +/* 80083F8C 00080EEC E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0 +/* 80083F90 00080EF0 CB A1 01 90 */ lfd f29, 0x190(r1) +/* 80083F94 00080EF4 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0 +/* 80083F98 00080EF8 CB 81 01 80 */ lfd f28, 0x180(r1) +/* 80083F9C 00080EFC E3 61 01 78 */ psq_l f27, 376(r1), 0, qr0 +/* 80083FA0 00080F00 CB 61 01 70 */ lfd f27, 0x170(r1) +/* 80083FA4 00080F04 E3 41 01 68 */ psq_l f26, 360(r1), 0, qr0 +/* 80083FA8 00080F08 CB 41 01 60 */ lfd f26, 0x160(r1) +/* 80083FAC 00080F0C E3 21 01 58 */ psq_l f25, 344(r1), 0, qr0 +/* 80083FB0 00080F10 CB 21 01 50 */ lfd f25, 0x150(r1) +/* 80083FB4 00080F14 E3 01 01 48 */ psq_l f24, 328(r1), 0, qr0 +/* 80083FB8 00080F18 CB 01 01 40 */ lfd f24, 0x140(r1) +/* 80083FBC 00080F1C E2 E1 01 38 */ psq_l f23, 312(r1), 0, qr0 +/* 80083FC0 00080F20 CA E1 01 30 */ lfd f23, 0x130(r1) +/* 80083FC4 00080F24 E2 C1 01 28 */ psq_l f22, 296(r1), 0, qr0 +/* 80083FC8 00080F28 CA C1 01 20 */ lfd f22, 0x120(r1) +/* 80083FCC 00080F2C E2 A1 01 18 */ psq_l f21, 280(r1), 0, qr0 +/* 80083FD0 00080F30 CA A1 01 10 */ lfd f21, 0x110(r1) +/* 80083FD4 00080F34 E2 81 01 08 */ psq_l f20, 264(r1), 0, qr0 +/* 80083FD8 00080F38 CA 81 01 00 */ lfd f20, 0x100(r1) +/* 80083FDC 00080F3C 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80083FE0 00080F40 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 80083FE4 00080F44 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 80083FE8 00080F48 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 80083FEC 00080F4C 7C 08 03 A6 */ mtlr r0 +/* 80083FF0 00080F50 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 80083FF4 00080F54 4E 80 00 20 */ blr + +.global UpdateUsingFixedCameras__11CBallCameraFfR13CStateManager +UpdateUsingFixedCameras__11CBallCameraFfR13CStateManager: +/* 80083FF8 00080F58 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80083FFC 00080F5C 7C 08 02 A6 */ mflr r0 +/* 80084000 00080F60 90 01 00 74 */ stw r0, 0x74(r1) +/* 80084004 00080F64 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80084008 00080F68 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8008400C 00080F6C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80084010 00080F70 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80084014 00080F74 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80084018 00080F78 FF E0 08 90 */ fmr f31, f1 +/* 8008401C 00080F7C 7C 9E 23 78 */ mr r30, r4 +/* 80084020 00080F80 7C 7D 1B 78 */ mr r29, r3 +/* 80084024 00080F84 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80084028 00080F88 4B F8 53 A9 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager +/* 8008402C 00080F8C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80084030 00080F90 41 82 01 38 */ beq lbl_80084168 +/* 80084034 00080F94 80 1D 01 88 */ lwz r0, 0x188(r29) +/* 80084038 00080F98 2C 00 00 05 */ cmpwi r0, 5 +/* 8008403C 00080F9C 41 82 00 D0 */ beq lbl_8008410C +/* 80084040 00080FA0 40 80 01 00 */ bge lbl_80084140 +/* 80084044 00080FA4 2C 00 00 04 */ cmpwi r0, 4 +/* 80084048 00080FA8 40 80 00 08 */ bge lbl_80084050 +/* 8008404C 00080FAC 48 00 00 F4 */ b lbl_80084140 +lbl_80084050: +/* 80084050 00080FB0 C0 BF 00 60 */ lfs f5, 0x60(r31) +/* 80084054 00080FB4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80084058 00080FB8 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 8008405C 00080FBC C0 7F 00 40 */ lfs f3, 0x40(r31) +/* 80084060 00080FC0 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 80084064 00080FC4 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80084068 00080FC8 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 8008406C 00080FCC C0 5D 01 DC */ lfs f2, 0x1dc(r29) +/* 80084070 00080FD0 C0 3D 01 E0 */ lfs f1, 0x1e0(r29) +/* 80084074 00080FD4 C0 1D 01 D8 */ lfs f0, 0x1d8(r29) +/* 80084078 00080FD8 EC 42 20 28 */ fsubs f2, f2, f4 +/* 8008407C 00080FDC EC 21 28 28 */ fsubs f1, f1, f5 +/* 80084080 00080FE0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80084084 00080FE4 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80084088 00080FE8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8008408C 00080FEC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80084090 00080FF0 48 29 06 69 */ bl CanBeNormalized__9CVector3fCFv +/* 80084094 00080FF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80084098 00080FF8 41 82 00 A8 */ beq lbl_80084140 +/* 8008409C 00080FFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 800840A0 00081000 38 81 00 2C */ addi r4, r1, 0x2c +/* 800840A4 00081004 48 29 07 AD */ bl AsNormalized__9CVector3fCFv +/* 800840A8 00081008 7F A4 EB 78 */ mr r4, r29 +/* 800840AC 0008100C 7F C6 F3 78 */ mr r6, r30 +/* 800840B0 00081010 38 61 00 20 */ addi r3, r1, 0x20 +/* 800840B4 00081014 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800840B8 00081018 48 00 00 D5 */ bl GetFixedLookTarget__11CBallCameraCFRC9CVector3fR13CStateManager +/* 800840BC 0008101C C0 41 00 20 */ lfs f2, 0x20(r1) +/* 800840C0 00081020 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 800840C4 00081024 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800840C8 00081028 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800840CC 0008102C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800840D0 00081030 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800840D4 00081034 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 800840D8 00081038 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19 +/* 800840DC 0008103C 41 82 00 14 */ beq lbl_800840F0 +/* 800840E0 00081040 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 800840E4 00081044 38 60 00 01 */ li r3, 1 +/* 800840E8 00081048 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800840EC 0008104C 98 1D 01 8D */ stb r0, 0x18d(r29) +lbl_800840F0: +/* 800840F0 00081050 FC 20 F8 90 */ fmr f1, f31 +/* 800840F4 00081054 7F A3 EB 78 */ mr r3, r29 +/* 800840F8 00081058 7F C6 F3 78 */ mr r6, r30 +/* 800840FC 0008105C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80084100 00081060 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80084104 00081064 48 00 49 D9 */ bl UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager +/* 80084108 00081068 48 00 00 38 */ b lbl_80084140 +lbl_8008410C: +/* 8008410C 0008106C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80084110 00081070 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80084114 00081074 48 28 EA 2D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80084118 00081078 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8008411C 0008107C 38 60 00 01 */ li r3, 1 +/* 80084120 00081080 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80084124 00081084 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80084128 00081088 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8008412C 0008108C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80084130 00081090 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80084134 00081094 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80084138 00081098 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8008413C 0008109C 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_80084140: +/* 80084140 000810A0 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80084144 000810A4 7F A3 EB 78 */ mr r3, r29 +/* 80084148 000810A8 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8008414C 000810AC 7F C5 F3 78 */ mr r5, r30 +/* 80084150 000810B0 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80084154 000810B4 38 81 00 08 */ addi r4, r1, 8 +/* 80084158 000810B8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8008415C 000810BC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80084160 000810C0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80084164 000810C4 48 00 89 B9 */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager +lbl_80084168: +/* 80084168 000810C8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8008416C 000810CC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80084170 000810D0 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80084174 000810D4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80084178 000810D8 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8008417C 000810DC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80084180 000810E0 7C 08 03 A6 */ mtlr r0 +/* 80084184 000810E4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80084188 000810E8 4E 80 00 20 */ blr + +.global GetFixedLookTarget__11CBallCameraCFRC9CVector3fR13CStateManager +GetFixedLookTarget__11CBallCameraCFRC9CVector3fR13CStateManager: +/* 8008418C 000810EC 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80084190 000810F0 7C 08 02 A6 */ mflr r0 +/* 80084194 000810F4 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80084198 000810F8 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8008419C 000810FC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 800841A0 00081100 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 800841A4 00081104 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 800841A8 00081108 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 800841AC 0008110C 7C 7D 1B 78 */ mr r29, r3 +/* 800841B0 00081110 80 66 08 70 */ lwz r3, 0x870(r6) +/* 800841B4 00081114 7C 9E 23 78 */ mr r30, r4 +/* 800841B8 00081118 7C BF 2B 78 */ mr r31, r5 +/* 800841BC 0008111C 7C C4 33 78 */ mr r4, r6 +/* 800841C0 00081120 4B F8 52 11 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager +/* 800841C4 00081124 28 03 00 00 */ cmplwi r3, 0 +/* 800841C8 00081128 40 82 00 20 */ bne lbl_800841E8 +/* 800841CC 0008112C C0 1F 00 00 */ lfs f0, 0(r31) +/* 800841D0 00081130 D0 1D 00 00 */ stfs f0, 0(r29) +/* 800841D4 00081134 C0 1F 00 04 */ lfs f0, 4(r31) +/* 800841D8 00081138 D0 1D 00 04 */ stfs f0, 4(r29) +/* 800841DC 0008113C C0 1F 00 08 */ lfs f0, 8(r31) +/* 800841E0 00081140 D0 1D 00 08 */ stfs f0, 8(r29) +/* 800841E4 00081144 48 00 03 60 */ b lbl_80084544 +lbl_800841E8: +/* 800841E8 00081148 C0 63 00 58 */ lfs f3, 0x58(r3) +/* 800841EC 0008114C C0 43 00 48 */ lfs f2, 0x48(r3) +/* 800841F0 00081150 C0 23 00 38 */ lfs f1, 0x38(r3) +/* 800841F4 00081154 38 61 00 98 */ addi r3, r1, 0x98 +/* 800841F8 00081158 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800841FC 0008115C D0 61 00 94 */ stfs f3, 0x94(r1) +/* 80084200 00081160 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 80084204 00081164 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 80084208 00081168 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 8008420C 0008116C D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 80084210 00081170 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 80084214 00081174 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80084218 00081178 48 29 04 E1 */ bl CanBeNormalized__9CVector3fCFv +/* 8008421C 0008117C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80084220 00081180 41 82 00 28 */ beq lbl_80084248 +/* 80084224 00081184 38 61 00 8C */ addi r3, r1, 0x8c +/* 80084228 00081188 48 29 04 D1 */ bl CanBeNormalized__9CVector3fCFv +/* 8008422C 0008118C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80084230 00081190 41 82 00 18 */ beq lbl_80084248 +/* 80084234 00081194 38 61 00 98 */ addi r3, r1, 0x98 +/* 80084238 00081198 48 29 06 C1 */ bl Normalize__9CVector3fFv +/* 8008423C 0008119C 38 61 00 8C */ addi r3, r1, 0x8c +/* 80084240 000811A0 48 29 06 B9 */ bl Normalize__9CVector3fFv +/* 80084244 000811A4 48 00 00 24 */ b lbl_80084268 +lbl_80084248: +/* 80084248 000811A8 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 8008424C 000811AC C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80084250 000811B0 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 80084254 000811B4 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80084258 000811B8 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 8008425C 000811BC D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 80084260 000811C0 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 80084264 000811C4 D0 21 00 94 */ stfs f1, 0x94(r1) +lbl_80084268: +/* 80084268 000811C8 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8008426C 000811CC 7F E3 FB 78 */ mr r3, r31 +/* 80084270 000811D0 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80084274 000811D4 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80084278 000811D8 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8008427C 000811DC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80084280 000811E0 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80084284 000811E4 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80084288 000811E8 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8008428C 000811EC 48 29 04 6D */ bl CanBeNormalized__9CVector3fCFv +/* 80084290 000811F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80084294 000811F4 41 82 00 20 */ beq lbl_800842B4 +/* 80084298 000811F8 38 61 00 80 */ addi r3, r1, 0x80 +/* 8008429C 000811FC 48 29 04 5D */ bl CanBeNormalized__9CVector3fCFv +/* 800842A0 00081200 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800842A4 00081204 41 82 00 10 */ beq lbl_800842B4 +/* 800842A8 00081208 38 61 00 80 */ addi r3, r1, 0x80 +/* 800842AC 0008120C 48 29 06 4D */ bl Normalize__9CVector3fFv +/* 800842B0 00081210 48 00 00 1C */ b lbl_800842CC +lbl_800842B4: +/* 800842B4 00081214 C0 41 00 8C */ lfs f2, 0x8c(r1) +/* 800842B8 00081218 C0 21 00 90 */ lfs f1, 0x90(r1) +/* 800842BC 0008121C C0 01 00 94 */ lfs f0, 0x94(r1) +/* 800842C0 00081220 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 800842C4 00081224 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 800842C8 00081228 D0 01 00 88 */ stfs f0, 0x88(r1) +lbl_800842CC: +/* 800842CC 0008122C C0 3F 00 04 */ lfs f1, 4(r31) +/* 800842D0 00081230 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800842D4 00081234 C0 5F 00 00 */ lfs f2, 0(r31) +/* 800842D8 00081238 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800842DC 0008123C C0 21 00 80 */ lfs f1, 0x80(r1) +/* 800842E0 00081240 C0 9F 00 08 */ lfs f4, 8(r31) +/* 800842E4 00081244 C0 61 00 88 */ lfs f3, 0x88(r1) +/* 800842E8 00081248 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 800842EC 0008124C C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 800842F0 00081250 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 800842F4 00081254 FC 40 0A 10 */ fabs f2, f1 +/* 800842F8 00081258 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800842FC 0008125C 40 81 00 14 */ ble lbl_80084310 +/* 80084300 00081260 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80084304 00081264 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 80084308 00081268 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 8008430C 0008126C EC 22 00 32 */ fmuls f1, f2, f0 +lbl_80084310: +/* 80084310 00081270 48 31 09 1D */ bl acos +/* 80084314 00081274 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 80084318 00081278 FF E0 08 18 */ frsp f31, f1 +/* 8008431C 0008127C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80084320 00081280 41 82 00 78 */ beq lbl_80084398 +/* 80084324 00081284 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 80084328 00081288 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8008432C 0008128C C0 41 00 98 */ lfs f2, 0x98(r1) +/* 80084330 00081290 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80084334 00081294 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80084338 00081298 C0 81 00 A0 */ lfs f4, 0xa0(r1) +/* 8008433C 0008129C C0 61 00 94 */ lfs f3, 0x94(r1) +/* 80084340 000812A0 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80084344 000812A4 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80084348 000812A8 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8008434C 000812AC FC 40 0A 10 */ fabs f2, f1 +/* 80084350 000812B0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80084354 000812B4 40 81 00 14 */ ble lbl_80084368 +/* 80084358 000812B8 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 8008435C 000812BC C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 80084360 000812C0 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 80084364 000812C4 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_80084368: +/* 80084368 000812C8 48 31 08 C5 */ bl acos +/* 8008436C 000812CC FC 20 08 18 */ frsp f1, f1 +/* 80084370 000812D0 C0 1E 01 AC */ lfs f0, 0x1ac(r30) +/* 80084374 000812D4 EC 9F 08 28 */ fsubs f4, f31, f1 +/* 80084378 000812D8 FC 40 22 10 */ fabs f2, f4 +/* 8008437C 000812DC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80084380 000812E0 40 81 00 14 */ ble lbl_80084394 +/* 80084384 000812E4 C0 62 89 F8 */ lfs f3, lbl_805AA718@sda21(r2) +/* 80084388 000812E8 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 8008438C 000812EC FC 44 18 AE */ fsel f2, f4, f2, f3 +/* 80084390 000812F0 EC 80 00 B2 */ fmuls f4, f0, f2 +lbl_80084394: +/* 80084394 000812F4 EF E1 20 2A */ fadds f31, f1, f4 +lbl_80084398: +/* 80084398 000812F8 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8008439C 000812FC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800843A0 00081300 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800843A4 00081304 4C 41 13 82 */ cror 2, 1, 2 +/* 800843A8 00081308 40 82 00 08 */ bne lbl_800843B0 +/* 800843AC 0008130C FF E0 F8 50 */ fneg f31, f31 +lbl_800843B0: +/* 800843B0 00081310 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 800843B4 00081314 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 800843B8 00081318 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 800843BC 0008131C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800843C0 00081320 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 800843C4 00081324 C0 81 00 88 */ lfs f4, 0x88(r1) +/* 800843C8 00081328 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 800843CC 0008132C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 800843D0 00081330 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 800843D4 00081334 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 800843D8 00081338 FC 40 0A 10 */ fabs f2, f1 +/* 800843DC 0008133C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800843E0 00081340 40 81 00 14 */ ble lbl_800843F4 +/* 800843E4 00081344 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 800843E8 00081348 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 800843EC 0008134C FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 800843F0 00081350 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_800843F4: +/* 800843F4 00081354 48 31 08 39 */ bl acos +/* 800843F8 00081358 FC 40 08 18 */ frsp f2, f1 +/* 800843FC 0008135C 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 80084400 00081360 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80084404 00081364 FC 80 10 90 */ fmr f4, f2 +/* 80084408 00081368 41 82 00 28 */ beq lbl_80084430 +/* 8008440C 0008136C FC 20 12 10 */ fabs f1, f2 +/* 80084410 00081370 C0 1E 01 B0 */ lfs f0, 0x1b0(r30) +/* 80084414 00081374 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80084418 00081378 40 81 00 14 */ ble lbl_8008442C +/* 8008441C 0008137C C0 62 89 F8 */ lfs f3, lbl_805AA718@sda21(r2) +/* 80084420 00081380 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80084424 00081384 FC 22 18 6E */ fsel f1, f2, f1, f3 +/* 80084428 00081388 EC 40 00 72 */ fmuls f2, f0, f1 +lbl_8008442C: +/* 8008442C 0008138C FC 80 10 90 */ fmr f4, f2 +lbl_80084430: +/* 80084430 00081390 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80084434 00081394 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80084438 00081398 C0 61 00 80 */ lfs f3, 0x80(r1) +/* 8008443C 0008139C EC 21 00 32 */ fmuls f1, f1, f0 +/* 80084440 000813A0 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 80084444 000813A4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80084448 000813A8 EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 8008444C 000813AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80084450 000813B0 4C 41 13 82 */ cror 2, 1, 2 +/* 80084454 000813B4 40 82 00 08 */ bne lbl_8008445C +/* 80084458 000813B8 FC 80 20 50 */ fneg f4, f4 +lbl_8008445C: +/* 8008445C 000813BC D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80084460 000813C0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80084464 000813C4 38 81 00 0C */ addi r4, r1, 0xc +/* 80084468 000813C8 48 28 CC 91 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8008446C 000813CC C0 61 00 38 */ lfs f3, 0x38(r1) +/* 80084470 000813D0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80084474 000813D4 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 80084478 000813D8 38 81 00 70 */ addi r4, r1, 0x70 +/* 8008447C 000813DC C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80084480 000813E0 38 A1 00 8C */ addi r5, r1, 0x8c +/* 80084484 000813E4 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80084488 000813E8 D0 61 00 70 */ stfs f3, 0x70(r1) +/* 8008448C 000813EC D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80084490 000813F0 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 80084494 000813F4 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80084498 000813F8 48 28 CD CD */ bl Transform__11CQuaternionCFRC9CVector3f +/* 8008449C 000813FC C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 800844A0 00081400 38 61 00 58 */ addi r3, r1, 0x58 +/* 800844A4 00081404 C0 61 00 30 */ lfs f3, 0x30(r1) +/* 800844A8 00081408 FC 20 20 50 */ fneg f1, f4 +/* 800844AC 0008140C C0 41 00 34 */ lfs f2, 0x34(r1) +/* 800844B0 00081410 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800844B4 00081414 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 800844B8 00081418 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 800844BC 0008141C D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 800844C0 00081420 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 800844C4 00081424 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800844C8 00081428 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800844CC 0008142C 48 29 04 2D */ bl Normalize__9CVector3fFv +/* 800844D0 00081430 FC 00 F8 50 */ fneg f0, f31 +/* 800844D4 00081434 38 61 00 1C */ addi r3, r1, 0x1c +/* 800844D8 00081438 38 81 00 58 */ addi r4, r1, 0x58 +/* 800844DC 0008143C 38 A1 00 08 */ addi r5, r1, 8 +/* 800844E0 00081440 D0 01 00 08 */ stfs f0, 8(r1) +/* 800844E4 00081444 48 28 CE 11 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 800844E8 00081448 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 800844EC 0008144C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800844F0 00081450 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 800844F4 00081454 38 81 00 48 */ addi r4, r1, 0x48 +/* 800844F8 00081458 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 800844FC 0008145C 38 A1 00 64 */ addi r5, r1, 0x64 +/* 80084500 00081460 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80084504 00081464 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 80084508 00081468 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8008450C 0008146C D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80084510 00081470 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80084514 00081474 48 28 CD 51 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80084518 00081478 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8008451C 0008147C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80084520 00081480 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80084524 00081484 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80084528 00081488 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 8008452C 0008148C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80084530 00081490 D0 5D 00 00 */ stfs f2, 0(r29) +/* 80084534 00081494 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80084538 00081498 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8008453C 0008149C C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80084540 000814A0 D0 1D 00 08 */ stfs f0, 8(r29) +lbl_80084544: +/* 80084544 000814A4 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80084548 000814A8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8008454C 000814AC CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80084550 000814B0 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 80084554 000814B4 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 80084558 000814B8 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8008455C 000814BC 7C 08 03 A6 */ mtlr r0 +/* 80084560 000814C0 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80084564 000814C4 4E 80 00 20 */ blr + +.global MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager +MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager: +/* 80084568 000814C8 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8008456C 000814CC 7C 08 02 A6 */ mflr r0 +/* 80084570 000814D0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80084574 000814D4 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80084578 000814D8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8008457C 000814DC BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 80084580 000814E0 7C 9D 23 78 */ mr r29, r4 +/* 80084584 000814E4 FF E0 08 90 */ fmr f31, f1 +/* 80084588 000814E8 A0 04 04 6C */ lhz r0, 0x46c(r4) +/* 8008458C 000814EC 7C DE 33 78 */ mr r30, r6 +/* 80084590 000814F0 7C 7C 1B 78 */ mr r28, r3 +/* 80084594 000814F4 7C BB 2B 78 */ mr r27, r5 +/* 80084598 000814F8 B0 01 00 08 */ sth r0, 8(r1) +/* 8008459C 000814FC 7F C3 F3 78 */ mr r3, r30 +/* 800845A0 00081500 38 81 00 08 */ addi r4, r1, 8 +/* 800845A4 00081504 4B FC 7F D1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800845A8 00081508 7C 64 1B 78 */ mr r4, r3 +/* 800845AC 0008150C 38 61 00 0C */ addi r3, r1, 0xc +/* 800845B0 00081510 48 02 81 35 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 800845B4 00081514 83 E3 00 04 */ lwz r31, 4(r3) +/* 800845B8 00081518 28 1F 00 00 */ cmplwi r31, 0 +/* 800845BC 0008151C 41 82 02 D8 */ beq lbl_80084894 +/* 800845C0 00081520 C0 3B 00 04 */ lfs f1, 4(r27) +/* 800845C4 00081524 38 61 00 80 */ addi r3, r1, 0x80 +/* 800845C8 00081528 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 800845CC 0008152C C0 7B 00 08 */ lfs f3, 8(r27) +/* 800845D0 00081530 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 800845D4 00081534 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800845D8 00081538 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800845DC 0008153C C0 3B 00 00 */ lfs f1, 0(r27) +/* 800845E0 00081540 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800845E4 00081544 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 800845E8 00081548 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800845EC 0008154C D0 41 00 88 */ stfs f2, 0x88(r1) +/* 800845F0 00081550 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 800845F4 00081554 48 29 01 05 */ bl CanBeNormalized__9CVector3fCFv +/* 800845F8 00081558 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800845FC 0008155C 41 82 00 18 */ beq lbl_80084614 +/* 80084600 00081560 38 61 00 80 */ addi r3, r1, 0x80 +/* 80084604 00081564 48 29 02 B5 */ bl Magnitude__9CVector3fCFv +/* 80084608 00081568 C0 02 89 FC */ lfs f0, lbl_805AA71C@sda21(r2) +/* 8008460C 0008156C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80084610 00081570 40 80 00 28 */ bge lbl_80084638 +lbl_80084614: +/* 80084614 00081574 7F E3 FB 78 */ mr r3, r31 +/* 80084618 00081578 48 09 6D 61 */ bl Stop__13CPhysicsActorFv +/* 8008461C 0008157C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80084620 00081580 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80084624 00081584 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80084628 00081588 D0 1C 00 00 */ stfs f0, 0(r28) +/* 8008462C 0008158C D0 3C 00 04 */ stfs f1, 4(r28) +/* 80084630 00081590 D0 5C 00 08 */ stfs f2, 8(r28) +/* 80084634 00081594 48 00 02 78 */ b lbl_800848AC +lbl_80084638: +/* 80084638 00081598 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 8008463C 0008159C FC 20 F8 90 */ fmr f1, f31 +/* 80084640 000815A0 C0 5F 01 38 */ lfs f2, 0x138(r31) +/* 80084644 000815A4 7F A4 EB 78 */ mr r4, r29 +/* 80084648 000815A8 EC A0 F8 24 */ fdivs f5, f0, f31 +/* 8008464C 000815AC C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80084650 000815B0 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80084654 000815B4 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 80084658 000815B8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8008465C 000815BC C0 7F 01 3C */ lfs f3, 0x13c(r31) +/* 80084660 000815C0 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 80084664 000815C4 EC 85 00 32 */ fmuls f4, f5, f0 +/* 80084668 000815C8 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 8008466C 000815CC EC 65 00 B2 */ fmuls f3, f5, f2 +/* 80084670 000815D0 C0 5F 01 40 */ lfs f2, 0x140(r31) +/* 80084674 000815D4 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80084678 000815D8 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8008467C 000815DC D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80084680 000815E0 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80084684 000815E4 81 01 00 74 */ lwz r8, 0x74(r1) +/* 80084688 000815E8 C0 DF 00 60 */ lfs f6, 0x60(r31) +/* 8008468C 000815EC C0 BF 00 50 */ lfs f5, 0x50(r31) +/* 80084690 000815F0 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80084694 000815F4 80 E1 00 78 */ lwz r7, 0x78(r1) +/* 80084698 000815F8 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8008469C 000815FC 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 800846A0 00081600 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 800846A4 00081604 81 61 00 5C */ lwz r11, 0x5c(r1) +/* 800846A8 00081608 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 800846AC 0008160C 81 41 00 60 */ lwz r10, 0x60(r1) +/* 800846B0 00081610 81 21 00 64 */ lwz r9, 0x64(r1) +/* 800846B4 00081614 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 800846B8 00081618 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 800846BC 0008161C D0 C1 00 70 */ stfs f6, 0x70(r1) +/* 800846C0 00081620 91 61 00 20 */ stw r11, 0x20(r1) +/* 800846C4 00081624 91 41 00 24 */ stw r10, 0x24(r1) +/* 800846C8 00081628 91 21 00 28 */ stw r9, 0x28(r1) +/* 800846CC 0008162C 91 01 00 2C */ stw r8, 0x2c(r1) +/* 800846D0 00081630 90 E1 00 30 */ stw r7, 0x30(r1) +/* 800846D4 00081634 90 01 00 34 */ stw r0, 0x34(r1) +/* 800846D8 00081638 48 00 03 65 */ bl ComputeVelocity__11CBallCameraCFRC9CVector3fRC9CVector3f +/* 800846DC 0008163C C0 41 00 38 */ lfs f2, 0x38(r1) +/* 800846E0 00081640 7F E3 FB 78 */ mr r3, r31 +/* 800846E4 00081644 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 800846E8 00081648 38 81 00 5C */ addi r4, r1, 0x5c +/* 800846EC 0008164C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 800846F0 00081650 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 800846F4 00081654 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 800846F8 00081658 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800846FC 0008165C 48 09 65 A5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80084700 00081660 88 1F 00 F8 */ lbz r0, 0xf8(r31) +/* 80084704 00081664 38 60 00 01 */ li r3, 1 +/* 80084708 00081668 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8008470C 0008166C 7F E3 FB 78 */ mr r3, r31 +/* 80084710 00081670 98 1F 00 F8 */ stb r0, 0xf8(r31) +/* 80084714 00081674 7F C5 F3 78 */ mr r5, r30 +/* 80084718 00081678 38 80 00 13 */ li r4, 0x13 +/* 8008471C 0008167C 4B FC FC 35 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80084720 00081680 FC 20 F8 90 */ fmr f1, f31 +/* 80084724 00081684 7F C3 F3 78 */ mr r3, r30 +/* 80084728 00081688 7F E4 FB 78 */ mr r4, r31 +/* 8008472C 0008168C 38 A0 00 00 */ li r5, 0 +/* 80084730 00081690 48 0F D6 09 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80084734 00081694 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80084738 00081698 38 61 00 50 */ addi r3, r1, 0x50 +/* 8008473C 0008169C C0 1B 00 04 */ lfs f0, 4(r27) +/* 80084740 000816A0 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80084744 000816A4 C0 5B 00 08 */ lfs f2, 8(r27) +/* 80084748 000816A8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8008474C 000816AC C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80084750 000816B0 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80084754 000816B4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80084758 000816B8 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 8008475C 000816BC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80084760 000816C0 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80084764 000816C4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80084768 000816C8 48 28 FF 91 */ bl CanBeNormalized__9CVector3fCFv +/* 8008476C 000816CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80084770 000816D0 41 82 00 D8 */ beq lbl_80084848 +/* 80084774 000816D4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80084778 000816D8 48 29 01 41 */ bl Magnitude__9CVector3fCFv +/* 8008477C 000816DC C0 02 89 BC */ lfs f0, lbl_805AA6DC@sda21(r2) +/* 80084780 000816E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80084784 000816E4 40 81 00 C4 */ ble lbl_80084848 +/* 80084788 000816E8 7F E3 FB 78 */ mr r3, r31 +/* 8008478C 000816EC 38 81 00 68 */ addi r4, r1, 0x68 +/* 80084790 000816F0 4B FC E6 FD */ bl SetTranslation__6CActorFRC9CVector3f +/* 80084794 000816F4 FC 40 F8 90 */ fmr f2, f31 +/* 80084798 000816F8 C0 22 8A 00 */ lfs f1, lbl_805AA720@sda21(r2) +/* 8008479C 000816FC 7F A4 EB 78 */ mr r4, r29 +/* 800847A0 00081700 38 61 00 14 */ addi r3, r1, 0x14 +/* 800847A4 00081704 38 A1 00 74 */ addi r5, r1, 0x74 +/* 800847A8 00081708 38 C1 00 5C */ addi r6, r1, 0x5c +/* 800847AC 0008170C 48 00 03 8D */ bl TweenVelocity__11CBallCameraFRC9CVector3fRC9CVector3fff +/* 800847B0 00081710 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 800847B4 00081714 7F E3 FB 78 */ mr r3, r31 +/* 800847B8 00081718 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 800847BC 0008171C 38 81 00 44 */ addi r4, r1, 0x44 +/* 800847C0 00081720 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800847C4 00081724 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800847C8 00081728 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800847CC 0008172C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800847D0 00081730 48 09 64 D1 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 800847D4 00081734 FC 20 F8 90 */ fmr f1, f31 +/* 800847D8 00081738 7F C3 F3 78 */ mr r3, r30 +/* 800847DC 0008173C 7F E4 FB 78 */ mr r4, r31 +/* 800847E0 00081740 38 A0 00 00 */ li r5, 0 +/* 800847E4 00081744 48 0F D5 55 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 800847E8 00081748 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 800847EC 0008174C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800847F0 00081750 C0 1B 00 04 */ lfs f0, 4(r27) +/* 800847F4 00081754 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 800847F8 00081758 C0 5B 00 08 */ lfs f2, 8(r27) +/* 800847FC 0008175C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80084800 00081760 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80084804 00081764 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80084808 00081768 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8008480C 0008176C D0 81 00 54 */ stfs f4, 0x54(r1) +/* 80084810 00081770 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80084814 00081774 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80084818 00081778 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8008481C 0008177C 48 29 00 9D */ bl Magnitude__9CVector3fCFv +/* 80084820 00081780 C0 02 89 BC */ lfs f0, lbl_805AA6DC@sda21(r2) +/* 80084824 00081784 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80084828 00081788 40 81 00 14 */ ble lbl_8008483C +/* 8008482C 0008178C 80 7D 04 78 */ lwz r3, 0x478(r29) +/* 80084830 00081790 38 03 00 01 */ addi r0, r3, 1 +/* 80084834 00081794 90 1D 04 78 */ stw r0, 0x478(r29) +/* 80084838 00081798 48 00 00 20 */ b lbl_80084858 +lbl_8008483C: +/* 8008483C 0008179C 38 00 00 00 */ li r0, 0 +/* 80084840 000817A0 90 1D 04 78 */ stw r0, 0x478(r29) +/* 80084844 000817A4 48 00 00 14 */ b lbl_80084858 +lbl_80084848: +/* 80084848 000817A8 7F E3 FB 78 */ mr r3, r31 +/* 8008484C 000817AC 48 09 6B 2D */ bl Stop__13CPhysicsActorFv +/* 80084850 000817B0 38 00 00 00 */ li r0, 0 +/* 80084854 000817B4 90 1D 04 78 */ stw r0, 0x478(r29) +lbl_80084858: +/* 80084858 000817B8 88 1F 00 F8 */ lbz r0, 0xf8(r31) +/* 8008485C 000817BC 38 60 00 00 */ li r3, 0 +/* 80084860 000817C0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80084864 000817C4 7F E3 FB 78 */ mr r3, r31 +/* 80084868 000817C8 98 1F 00 F8 */ stb r0, 0xf8(r31) +/* 8008486C 000817CC 7F C5 F3 78 */ mr r5, r30 +/* 80084870 000817D0 38 80 00 13 */ li r4, 0x13 +/* 80084874 000817D4 4B FC F7 0D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80084878 000817D8 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8008487C 000817DC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80084880 000817E0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80084884 000817E4 D0 1C 00 00 */ stfs f0, 0(r28) +/* 80084888 000817E8 D0 3C 00 04 */ stfs f1, 4(r28) +/* 8008488C 000817EC D0 5C 00 08 */ stfs f2, 8(r28) +/* 80084890 000817F0 48 00 00 1C */ b lbl_800848AC +lbl_80084894: +/* 80084894 000817F4 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80084898 000817F8 D0 1C 00 00 */ stfs f0, 0(r28) +/* 8008489C 000817FC C0 1B 00 04 */ lfs f0, 4(r27) +/* 800848A0 00081800 D0 1C 00 04 */ stfs f0, 4(r28) +/* 800848A4 00081804 C0 1B 00 08 */ lfs f0, 8(r27) +/* 800848A8 00081808 D0 1C 00 08 */ stfs f0, 8(r28) +lbl_800848AC: +/* 800848AC 0008180C E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 800848B0 00081810 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 800848B4 00081814 BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 800848B8 00081818 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800848BC 0008181C 7C 08 03 A6 */ mtlr r0 +/* 800848C0 00081820 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800848C4 00081824 4E 80 00 20 */ blr + +.global ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager +ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager: +/* 800848C8 00081828 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800848CC 0008182C 7C 08 02 A6 */ mflr r0 +/* 800848D0 00081830 90 01 00 74 */ stw r0, 0x74(r1) +/* 800848D4 00081834 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800848D8 00081838 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800848DC 0008183C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800848E0 00081840 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 800848E4 00081844 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 800848E8 00081848 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 800848EC 0008184C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800848F0 00081850 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800848F4 00081854 80 E6 08 4C */ lwz r7, 0x84c(r6) +/* 800848F8 00081858 7C 7E 1B 78 */ mr r30, r3 +/* 800848FC 0008185C 7C BF 2B 78 */ mr r31, r5 +/* 80084900 00081860 7C C3 33 78 */ mr r3, r6 +/* 80084904 00081864 A0 07 00 C4 */ lhz r0, 0xc4(r7) +/* 80084908 00081868 38 81 00 0C */ addi r4, r1, 0xc +/* 8008490C 0008186C B0 01 00 08 */ sth r0, 8(r1) +/* 80084910 00081870 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80084914 00081874 4B FC 7C 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80084918 00081878 7C 64 1B 78 */ mr r4, r3 +/* 8008491C 0008187C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80084920 00081880 48 02 1F 41 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" +/* 80084924 00081884 80 83 00 04 */ lwz r4, 4(r3) +/* 80084928 00081888 C3 FF 00 00 */ lfs f31, 0(r31) +/* 8008492C 0008188C 28 04 00 00 */ cmplwi r4, 0 +/* 80084930 00081890 C3 DF 00 04 */ lfs f30, 4(r31) +/* 80084934 00081894 C3 BF 00 08 */ lfs f29, 8(r31) +/* 80084938 00081898 41 82 00 5C */ beq lbl_80084994 +/* 8008493C 0008189C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80084940 000818A0 4B FF 1D 8D */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80084944 000818A4 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 80084948 000818A8 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8008494C 000818AC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80084950 000818B0 EC 62 08 28 */ fsubs f3, f2, f1 +/* 80084954 000818B4 4C 41 13 82 */ cror 2, 1, 2 +/* 80084958 000818B8 40 82 00 1C */ bne lbl_80084974 +/* 8008495C 000818BC C0 02 8A 04 */ lfs f0, lbl_805AA724@sda21(r2) +/* 80084960 000818C0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80084964 000818C4 4C 40 13 82 */ cror 2, 0, 2 +/* 80084968 000818C8 40 82 00 0C */ bne lbl_80084974 +/* 8008496C 000818CC EF A0 08 2A */ fadds f29, f0, f1 +/* 80084970 000818D0 48 00 00 24 */ b lbl_80084994 +lbl_80084974: +/* 80084974 000818D4 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80084978 000818D8 40 80 00 1C */ bge lbl_80084994 +/* 8008497C 000818DC C0 02 8A 08 */ lfs f0, lbl_805AA728@sda21(r2) +/* 80084980 000818E0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80084984 000818E4 4C 41 13 82 */ cror 2, 1, 2 +/* 80084988 000818E8 40 82 00 0C */ bne lbl_80084994 +/* 8008498C 000818EC C0 02 8A 0C */ lfs f0, lbl_805AA72C@sda21(r2) +/* 80084990 000818F0 EF A1 00 28 */ fsubs f29, f1, f0 +lbl_80084994: +/* 80084994 000818F4 D3 FE 00 00 */ stfs f31, 0(r30) +/* 80084998 000818F8 D3 DE 00 04 */ stfs f30, 4(r30) +/* 8008499C 000818FC D3 BE 00 08 */ stfs f29, 8(r30) +/* 800849A0 00081900 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800849A4 00081904 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800849A8 00081908 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 800849AC 0008190C CB C1 00 50 */ lfd f30, 0x50(r1) +/* 800849B0 00081910 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 800849B4 00081914 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 800849B8 00081918 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800849BC 0008191C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800849C0 00081920 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800849C4 00081924 7C 08 03 A6 */ mtlr r0 +/* 800849C8 00081928 38 21 00 70 */ addi r1, r1, 0x70 +/* 800849CC 0008192C 4E 80 00 20 */ blr + +.global UpdateAnglePerSecond__11CBallCameraFf +UpdateAnglePerSecond__11CBallCameraFf: +/* 800849D0 00081930 C0 63 01 A8 */ lfs f3, 0x1a8(r3) +/* 800849D4 00081934 C0 43 01 A4 */ lfs f2, 0x1a4(r3) +/* 800849D8 00081938 C0 02 8A 10 */ lfs f0, lbl_805AA730@sda21(r2) +/* 800849DC 0008193C EC 83 10 28 */ fsubs f4, f3, f2 +/* 800849E0 00081940 FC 40 22 10 */ fabs f2, f4 +/* 800849E4 00081944 FC 40 10 18 */ frsp f2, f2 +/* 800849E8 00081948 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800849EC 0008194C 4C 41 13 82 */ cror 2, 1, 2 +/* 800849F0 00081950 40 82 00 44 */ bne lbl_80084A34 +/* 800849F4 00081954 C0 42 8A 14 */ lfs f2, lbl_805AA734@sda21(r2) +/* 800849F8 00081958 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 800849FC 0008195C EC 64 10 24 */ fdivs f3, f4, f2 +/* 80084A00 00081960 FC 40 1A 10 */ fabs f2, f3 +/* 80084A04 00081964 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80084A08 00081968 40 81 00 14 */ ble lbl_80084A1C +/* 80084A0C 0008196C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80084A10 00081970 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 80084A14 00081974 FC 03 00 AE */ fsel f0, f3, f2, f0 +/* 80084A18 00081978 EC 62 00 32 */ fmuls f3, f2, f0 +lbl_80084A1C: +/* 80084A1C 0008197C C0 42 8A 18 */ lfs f2, lbl_805AA738@sda21(r2) +/* 80084A20 00081980 C0 03 01 A4 */ lfs f0, 0x1a4(r3) +/* 80084A24 00081984 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80084A28 00081988 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80084A2C 0008198C D0 03 01 A4 */ stfs f0, 0x1a4(r3) +/* 80084A30 00081990 4E 80 00 20 */ blr +lbl_80084A34: +/* 80084A34 00081994 D0 63 01 A4 */ stfs f3, 0x1a4(r3) +/* 80084A38 00081998 4E 80 00 20 */ blr + +.global ComputeVelocity__11CBallCameraCFRC9CVector3fRC9CVector3f +ComputeVelocity__11CBallCameraCFRC9CVector3fRC9CVector3f: +/* 80084A3C 0008199C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80084A40 000819A0 7C 08 02 A6 */ mflr r0 +/* 80084A44 000819A4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80084A48 000819A8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80084A4C 000819AC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80084A50 000819B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80084A54 000819B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80084A58 000819B8 C0 46 00 00 */ lfs f2, 0(r6) +/* 80084A5C 000819BC 7C 7E 1B 78 */ mr r30, r3 +/* 80084A60 000819C0 C0 26 00 04 */ lfs f1, 4(r6) +/* 80084A64 000819C4 7C 9F 23 78 */ mr r31, r4 +/* 80084A68 000819C8 C0 06 00 08 */ lfs f0, 8(r6) +/* 80084A6C 000819CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80084A70 000819D0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80084A74 000819D4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80084A78 000819D8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80084A7C 000819DC 48 28 FE 3D */ bl Magnitude__9CVector3fCFv +/* 80084A80 000819E0 C0 5F 04 70 */ lfs f2, 0x470(r31) +/* 80084A84 000819E4 FF E0 08 90 */ fmr f31, f1 +/* 80084A88 000819E8 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80084A8C 000819EC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80084A90 000819F0 40 81 00 70 */ ble lbl_80084B00 +/* 80084A94 000819F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80084A98 000819F8 48 28 FC 61 */ bl CanBeNormalized__9CVector3fCFv +/* 80084A9C 000819FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80084AA0 00081A00 41 82 00 60 */ beq lbl_80084B00 +/* 80084AA4 00081A04 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 80084AA8 00081A08 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80084AAC 00081A0C 40 82 00 54 */ bne lbl_80084B00 +/* 80084AB0 00081A10 FC 20 FA 10 */ fabs f1, f31 +/* 80084AB4 00081A14 C0 1F 04 74 */ lfs f0, 0x474(r31) +/* 80084AB8 00081A18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80084ABC 00081A1C 40 81 00 14 */ ble lbl_80084AD0 +/* 80084AC0 00081A20 C0 42 89 F8 */ lfs f2, lbl_805AA718@sda21(r2) +/* 80084AC4 00081A24 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80084AC8 00081A28 FC 3F 10 6E */ fsel f1, f31, f1, f2 +/* 80084ACC 00081A2C EF E0 00 72 */ fmuls f31, f0, f1 +lbl_80084AD0: +/* 80084AD0 00081A30 38 61 00 08 */ addi r3, r1, 8 +/* 80084AD4 00081A34 38 81 00 14 */ addi r4, r1, 0x14 +/* 80084AD8 00081A38 48 28 FD 79 */ bl AsNormalized__9CVector3fCFv +/* 80084ADC 00081A3C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80084AE0 00081A40 C0 21 00 08 */ lfs f1, 8(r1) +/* 80084AE4 00081A44 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80084AE8 00081A48 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80084AEC 00081A4C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80084AF0 00081A50 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80084AF4 00081A54 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80084AF8 00081A58 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80084AFC 00081A5C D0 01 00 18 */ stfs f0, 0x18(r1) +lbl_80084B00: +/* 80084B00 00081A60 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80084B04 00081A64 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80084B08 00081A68 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80084B0C 00081A6C D0 1E 00 04 */ stfs f0, 4(r30) +/* 80084B10 00081A70 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80084B14 00081A74 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80084B18 00081A78 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80084B1C 00081A7C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80084B20 00081A80 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80084B24 00081A84 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80084B28 00081A88 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80084B2C 00081A8C 7C 08 03 A6 */ mtlr r0 +/* 80084B30 00081A90 38 21 00 40 */ addi r1, r1, 0x40 +/* 80084B34 00081A94 4E 80 00 20 */ blr + +.global TweenVelocity__11CBallCameraFRC9CVector3fRC9CVector3fff +TweenVelocity__11CBallCameraFRC9CVector3fRC9CVector3fff: +/* 80084B38 00081A98 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80084B3C 00081A9C 7C 08 02 A6 */ mflr r0 +/* 80084B40 00081AA0 90 01 00 94 */ stw r0, 0x94(r1) +/* 80084B44 00081AA4 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80084B48 00081AA8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80084B4C 00081AAC DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80084B50 00081AB0 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80084B54 00081AB4 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80084B58 00081AB8 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80084B5C 00081ABC DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80084B60 00081AC0 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80084B64 00081AC4 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 80084B68 00081AC8 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 80084B6C 00081ACC DB 41 00 30 */ stfd f26, 0x30(r1) +/* 80084B70 00081AD0 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 +/* 80084B74 00081AD4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80084B78 00081AD8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80084B7C 00081ADC 7C DF 33 78 */ mr r31, r6 +/* 80084B80 00081AE0 7C 7E 1B 78 */ mr r30, r3 +/* 80084B84 00081AE4 C3 C5 00 00 */ lfs f30, 0(r5) +/* 80084B88 00081AE8 FF 40 08 90 */ fmr f26, f1 +/* 80084B8C 00081AEC C0 06 00 00 */ lfs f0, 0(r6) +/* 80084B90 00081AF0 FF 60 10 90 */ fmr f27, f2 +/* 80084B94 00081AF4 C3 A5 00 04 */ lfs f29, 4(r5) +/* 80084B98 00081AF8 38 61 00 14 */ addi r3, r1, 0x14 +/* 80084B9C 00081AFC C0 46 00 04 */ lfs f2, 4(r6) +/* 80084BA0 00081B00 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80084BA4 00081B04 C3 85 00 08 */ lfs f28, 8(r5) +/* 80084BA8 00081B08 C0 26 00 08 */ lfs f1, 8(r6) +/* 80084BAC 00081B0C EC 42 E8 28 */ fsubs f2, f2, f29 +/* 80084BB0 00081B10 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 80084BB4 00081B14 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80084BB8 00081B18 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80084BBC 00081B1C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80084BC0 00081B20 48 28 FB 39 */ bl CanBeNormalized__9CVector3fCFv +/* 80084BC4 00081B24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80084BC8 00081B28 41 82 00 80 */ beq lbl_80084C48 +/* 80084BCC 00081B2C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80084BD0 00081B30 48 28 FC E9 */ bl Magnitude__9CVector3fCFv +/* 80084BD4 00081B34 EC 5A 06 F2 */ fmuls f2, f26, f27 +/* 80084BD8 00081B38 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80084BDC 00081B3C EF E1 10 24 */ fdivs f31, f1, f2 +/* 80084BE0 00081B40 FC 20 FA 10 */ fabs f1, f31 +/* 80084BE4 00081B44 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80084BE8 00081B48 40 81 00 14 */ ble lbl_80084BFC +/* 80084BEC 00081B4C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80084BF0 00081B50 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80084BF4 00081B54 FC 1F 00 6E */ fsel f0, f31, f1, f0 +/* 80084BF8 00081B58 EF E1 00 32 */ fmuls f31, f1, f0 +lbl_80084BFC: +/* 80084BFC 00081B5C 38 61 00 08 */ addi r3, r1, 8 +/* 80084C00 00081B60 38 81 00 14 */ addi r4, r1, 0x14 +/* 80084C04 00081B64 48 28 FC 4D */ bl AsNormalized__9CVector3fCFv +/* 80084C08 00081B68 C0 41 00 08 */ lfs f2, 8(r1) +/* 80084C0C 00081B6C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80084C10 00081B70 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80084C14 00081B74 EC 5A 00 B2 */ fmuls f2, f26, f2 +/* 80084C18 00081B78 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 80084C1C 00081B7C EC 1A 00 32 */ fmuls f0, f26, f0 +/* 80084C20 00081B80 EC 5B 00 B2 */ fmuls f2, f27, f2 +/* 80084C24 00081B84 EC 3B 00 72 */ fmuls f1, f27, f1 +/* 80084C28 00081B88 EC 1B 00 32 */ fmuls f0, f27, f0 +/* 80084C2C 00081B8C EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80084C30 00081B90 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80084C34 00081B94 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80084C38 00081B98 EC 5E 10 2A */ fadds f2, f30, f2 +/* 80084C3C 00081B9C EC 3D 08 2A */ fadds f1, f29, f1 +/* 80084C40 00081BA0 EC 1C 00 2A */ fadds f0, f28, f0 +/* 80084C44 00081BA4 48 00 00 10 */ b lbl_80084C54 +lbl_80084C48: +/* 80084C48 00081BA8 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80084C4C 00081BAC C0 3F 00 04 */ lfs f1, 4(r31) +/* 80084C50 00081BB0 C0 1F 00 08 */ lfs f0, 8(r31) +lbl_80084C54: +/* 80084C54 00081BB4 D0 5E 00 00 */ stfs f2, 0(r30) +/* 80084C58 00081BB8 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80084C5C 00081BBC D0 1E 00 08 */ stfs f0, 8(r30) +/* 80084C60 00081BC0 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80084C64 00081BC4 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80084C68 00081BC8 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80084C6C 00081BCC CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80084C70 00081BD0 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80084C74 00081BD4 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80084C78 00081BD8 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80084C7C 00081BDC CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80084C80 00081BE0 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 80084C84 00081BE4 CB 61 00 40 */ lfd f27, 0x40(r1) +/* 80084C88 00081BE8 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 +/* 80084C8C 00081BEC CB 41 00 30 */ lfd f26, 0x30(r1) +/* 80084C90 00081BF0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80084C94 00081BF4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80084C98 00081BF8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80084C9C 00081BFC 7C 08 03 A6 */ mtlr r0 +/* 80084CA0 00081C00 38 21 00 90 */ addi r1, r1, 0x90 +/* 80084CA4 00081C04 4E 80 00 20 */ blr + +.global UpdateUsingPathCameras__11CBallCameraFfR13CStateManager +UpdateUsingPathCameras__11CBallCameraFfR13CStateManager: +/* 80084CA8 00081C08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80084CAC 00081C0C 7C 08 02 A6 */ mflr r0 +/* 80084CB0 00081C10 90 01 00 24 */ stw r0, 0x24(r1) +/* 80084CB4 00081C14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80084CB8 00081C18 7C 9F 23 78 */ mr r31, r4 +/* 80084CBC 00081C1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80084CC0 00081C20 7C 7E 1B 78 */ mr r30, r3 +/* 80084CC4 00081C24 38 61 00 08 */ addi r3, r1, 8 +/* 80084CC8 00081C28 80 84 08 70 */ lwz r4, 0x870(r4) +/* 80084CCC 00081C2C 4B F8 45 F1 */ bl GetPathCameraId__14CCameraManagerCFv +/* 80084CD0 00081C30 A0 01 00 08 */ lhz r0, 8(r1) +/* 80084CD4 00081C34 7F E3 FB 78 */ mr r3, r31 +/* 80084CD8 00081C38 38 81 00 0C */ addi r4, r1, 0xc +/* 80084CDC 00081C3C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80084CE0 00081C40 4B FC 78 95 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80084CE4 00081C44 7C 64 1B 78 */ mr r4, r3 +/* 80084CE8 00081C48 38 61 00 10 */ addi r3, r1, 0x10 +/* 80084CEC 00081C4C 48 02 80 E9 */ bl "__ct__25TCastToPtr<11CPathCamera>FP7CEntity" +/* 80084CF0 00081C50 80 83 00 04 */ lwz r4, 4(r3) +/* 80084CF4 00081C54 28 04 00 00 */ cmplwi r4, 0 +/* 80084CF8 00081C58 41 82 00 24 */ beq lbl_80084D1C +/* 80084CFC 00081C5C 7F C3 F3 78 */ mr r3, r30 +/* 80084D00 00081C60 7F E5 FB 78 */ mr r5, r31 +/* 80084D04 00081C64 38 84 00 34 */ addi r4, r4, 0x34 +/* 80084D08 00081C68 48 00 7C F1 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 80084D0C 00081C6C 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 80084D10 00081C70 38 60 00 01 */ li r3, 1 +/* 80084D14 00081C74 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80084D18 00081C78 98 1E 01 8D */ stb r0, 0x18d(r30) +lbl_80084D1C: +/* 80084D1C 00081C7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80084D20 00081C80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80084D24 00081C84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80084D28 00081C88 7C 08 03 A6 */ mtlr r0 +/* 80084D2C 00081C8C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80084D30 00081C90 4E 80 00 20 */ blr + +.global UpdateUsingSpindleCameras__11CBallCameraFfR13CStateManager +UpdateUsingSpindleCameras__11CBallCameraFfR13CStateManager: +/* 80084D34 00081C94 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80084D38 00081C98 7C 08 02 A6 */ mflr r0 +/* 80084D3C 00081C9C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80084D40 00081CA0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80084D44 00081CA4 7C 9F 23 78 */ mr r31, r4 +/* 80084D48 00081CA8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80084D4C 00081CAC 7C 7E 1B 78 */ mr r30, r3 +/* 80084D50 00081CB0 38 61 00 08 */ addi r3, r1, 8 +/* 80084D54 00081CB4 80 84 08 70 */ lwz r4, 0x870(r4) +/* 80084D58 00081CB8 4B F8 44 AD */ bl GetSpindleCameraId__14CCameraManagerCFv +/* 80084D5C 00081CBC A0 01 00 08 */ lhz r0, 8(r1) +/* 80084D60 00081CC0 7F E3 FB 78 */ mr r3, r31 +/* 80084D64 00081CC4 38 81 00 0C */ addi r4, r1, 0xc +/* 80084D68 00081CC8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80084D6C 00081CCC 4B FC 78 09 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80084D70 00081CD0 7C 64 1B 78 */ mr r4, r3 +/* 80084D74 00081CD4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80084D78 00081CD8 48 02 11 AD */ bl "__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity" +/* 80084D7C 00081CDC 80 83 00 04 */ lwz r4, 4(r3) +/* 80084D80 00081CE0 28 04 00 00 */ cmplwi r4, 0 +/* 80084D84 00081CE4 41 82 00 24 */ beq lbl_80084DA8 +/* 80084D88 00081CE8 7F C3 F3 78 */ mr r3, r30 +/* 80084D8C 00081CEC 7F E5 FB 78 */ mr r5, r31 +/* 80084D90 00081CF0 38 84 00 34 */ addi r4, r4, 0x34 +/* 80084D94 00081CF4 48 00 7C 65 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 80084D98 00081CF8 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 80084D9C 00081CFC 38 60 00 01 */ li r3, 1 +/* 80084DA0 00081D00 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80084DA4 00081D04 98 1E 01 8D */ stb r0, 0x18d(r30) +lbl_80084DA8: +/* 80084DA8 00081D08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80084DAC 00081D0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80084DB0 00081D10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80084DB4 00081D14 7C 08 03 A6 */ mtlr r0 +/* 80084DB8 00081D18 38 21 00 20 */ addi r1, r1, 0x20 +/* 80084DBC 00081D1C 4E 80 00 20 */ blr + +.global UpdateUsingTransitions__11CBallCameraFfR13CStateManager +UpdateUsingTransitions__11CBallCameraFfR13CStateManager: +/* 80084DC0 00081D20 94 21 FC 60 */ stwu r1, -0x3a0(r1) +/* 80084DC4 00081D24 7C 08 02 A6 */ mflr r0 +/* 80084DC8 00081D28 90 01 03 A4 */ stw r0, 0x3a4(r1) +/* 80084DCC 00081D2C DB E1 03 90 */ stfd f31, 0x390(r1) +/* 80084DD0 00081D30 F3 E1 03 98 */ psq_st f31, 920(r1), 0, qr0 +/* 80084DD4 00081D34 DB C1 03 80 */ stfd f30, 0x380(r1) +/* 80084DD8 00081D38 F3 C1 03 88 */ psq_st f30, 904(r1), 0, qr0 +/* 80084DDC 00081D3C DB A1 03 70 */ stfd f29, 0x370(r1) +/* 80084DE0 00081D40 F3 A1 03 78 */ psq_st f29, 888(r1), 0, qr0 +/* 80084DE4 00081D44 DB 81 03 60 */ stfd f28, 0x360(r1) +/* 80084DE8 00081D48 F3 81 03 68 */ psq_st f28, 872(r1), 0, qr0 +/* 80084DEC 00081D4C DB 61 03 50 */ stfd f27, 0x350(r1) +/* 80084DF0 00081D50 F3 61 03 58 */ psq_st f27, 856(r1), 0, qr0 +/* 80084DF4 00081D54 DB 41 03 40 */ stfd f26, 0x340(r1) +/* 80084DF8 00081D58 F3 41 03 48 */ psq_st f26, 840(r1), 0, qr0 +/* 80084DFC 00081D5C DB 21 03 30 */ stfd f25, 0x330(r1) +/* 80084E00 00081D60 F3 21 03 38 */ psq_st f25, 824(r1), 0, qr0 +/* 80084E04 00081D64 DB 01 03 20 */ stfd f24, 0x320(r1) +/* 80084E08 00081D68 F3 01 03 28 */ psq_st f24, 808(r1), 0, qr0 +/* 80084E0C 00081D6C DA E1 03 10 */ stfd f23, 0x310(r1) +/* 80084E10 00081D70 F2 E1 03 18 */ psq_st f23, 792(r1), 0, qr0 +/* 80084E14 00081D74 DA C1 03 00 */ stfd f22, 0x300(r1) +/* 80084E18 00081D78 F2 C1 03 08 */ psq_st f22, 776(r1), 0, qr0 +/* 80084E1C 00081D7C 93 E1 02 FC */ stw r31, 0x2fc(r1) +/* 80084E20 00081D80 93 C1 02 F8 */ stw r30, 0x2f8(r1) +/* 80084E24 00081D84 93 A1 02 F4 */ stw r29, 0x2f4(r1) +/* 80084E28 00081D88 93 81 02 F0 */ stw r28, 0x2f0(r1) +/* 80084E2C 00081D8C 7C 7D 1B 78 */ mr r29, r3 +/* 80084E30 00081D90 FF E0 08 90 */ fmr f31, f1 +/* 80084E34 00081D94 80 03 04 00 */ lwz r0, 0x400(r3) +/* 80084E38 00081D98 7C 9E 23 78 */ mr r30, r4 +/* 80084E3C 00081D9C 2C 00 00 05 */ cmpwi r0, 5 +/* 80084E40 00081DA0 40 82 00 0C */ bne lbl_80084E4C +/* 80084E44 00081DA4 48 1B 98 85 */ bl UpdateTransitionFromBallCamera__11CBallCameraFR13CStateManager +/* 80084E48 00081DA8 48 00 09 F0 */ b lbl_80085838 +lbl_80084E4C: +/* 80084E4C 00081DAC 88 1D 01 8D */ lbz r0, 0x18d(r29) +/* 80084E50 00081DB0 38 60 00 00 */ li r3, 0 +/* 80084E54 00081DB4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80084E58 00081DB8 38 61 01 10 */ addi r3, r1, 0x110 +/* 80084E5C 00081DBC 98 1D 01 8D */ stb r0, 0x18d(r29) +/* 80084E60 00081DC0 83 FE 08 4C */ lwz r31, 0x84c(r30) +/* 80084E64 00081DC4 7F E4 FB 78 */ mr r4, r31 +/* 80084E68 00081DC8 48 1F FE E1 */ bl GetBallPosition__7CPlayerCFv +/* 80084E6C 00081DCC C3 61 01 10 */ lfs f27, 0x110(r1) +/* 80084E70 00081DD0 7F E4 FB 78 */ mr r4, r31 +/* 80084E74 00081DD4 C3 41 01 14 */ lfs f26, 0x114(r1) +/* 80084E78 00081DD8 38 61 01 04 */ addi r3, r1, 0x104 +/* 80084E7C 00081DDC C2 C1 01 18 */ lfs f22, 0x118(r1) +/* 80084E80 00081DE0 48 1F FE FD */ bl GetEyePosition__7CPlayerCFv +/* 80084E84 00081DE4 C0 1D 01 BC */ lfs f0, 0x1bc(r29) +/* 80084E88 00081DE8 38 9D 00 34 */ addi r4, r29, 0x34 +/* 80084E8C 00081DEC C3 21 01 04 */ lfs f25, 0x104(r1) +/* 80084E90 00081DF0 38 61 02 B8 */ addi r3, r1, 0x2b8 +/* 80084E94 00081DF4 EE D6 00 2A */ fadds f22, f22, f0 +/* 80084E98 00081DF8 C3 01 01 08 */ lfs f24, 0x108(r1) +/* 80084E9C 00081DFC C2 E1 01 0C */ lfs f23, 0x10c(r1) +/* 80084EA0 00081E00 C3 9D 00 58 */ lfs f28, 0x58(r29) +/* 80084EA4 00081E04 C3 BD 00 48 */ lfs f29, 0x48(r29) +/* 80084EA8 00081E08 C3 DD 00 38 */ lfs f30, 0x38(r29) +/* 80084EAC 00081E0C 48 28 DC C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80084EB0 00081E10 80 1D 04 00 */ lwz r0, 0x400(r29) +/* 80084EB4 00081E14 2C 00 00 05 */ cmpwi r0, 5 +/* 80084EB8 00081E18 41 82 04 80 */ beq lbl_80085338 +/* 80084EBC 00081E1C 40 80 09 5C */ bge lbl_80085818 +/* 80084EC0 00081E20 2C 00 00 04 */ cmpwi r0, 4 +/* 80084EC4 00081E24 40 80 00 08 */ bge lbl_80084ECC +/* 80084EC8 00081E28 48 00 09 50 */ b lbl_80085818 +lbl_80084ECC: +/* 80084ECC 00081E2C C0 1D 01 94 */ lfs f0, 0x194(r29) +/* 80084ED0 00081E30 FC 20 F8 90 */ fmr f1, f31 +/* 80084ED4 00081E34 7F A3 EB 78 */ mr r3, r29 +/* 80084ED8 00081E38 7F C6 F3 78 */ mr r6, r30 +/* 80084EDC 00081E3C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80084EE0 00081E40 38 81 00 24 */ addi r4, r1, 0x24 +/* 80084EE4 00081E44 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80084EE8 00081E48 C0 1D 01 A0 */ lfs f0, 0x1a0(r29) +/* 80084EEC 00081E4C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80084EF0 00081E50 48 00 47 DD */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +/* 80084EF4 00081E54 C0 1D 01 94 */ lfs f0, 0x194(r29) +/* 80084EF8 00081E58 7F C4 F3 78 */ mr r4, r30 +/* 80084EFC 00081E5C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80084F00 00081E60 3B 80 00 00 */ li r28, 0 +/* 80084F04 00081E64 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80084F08 00081E68 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80084F0C 00081E6C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80084F10 00081E70 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80084F14 00081E74 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 80084F18 00081E78 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 80084F1C 00081E7C D0 41 01 00 */ stfs f2, 0x100(r1) +/* 80084F20 00081E80 4B FF E2 1D */ bl IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager +/* 80084F24 00081E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80084F28 00081E88 40 82 00 10 */ bne lbl_80084F38 +/* 80084F2C 00081E8C 80 1D 04 78 */ lwz r0, 0x478(r29) +/* 80084F30 00081E90 2C 00 00 02 */ cmpwi r0, 2 +/* 80084F34 00081E94 40 81 00 08 */ ble lbl_80084F3C +lbl_80084F38: +/* 80084F38 00081E98 3B 80 00 01 */ li r28, 1 +lbl_80084F3C: +/* 80084F3C 00081E9C 81 3E 08 4C */ lwz r9, 0x84c(r30) +/* 80084F40 00081EA0 7F A4 EB 78 */ mr r4, r29 +/* 80084F44 00081EA4 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80084F48 00081EA8 7F C6 F3 78 */ mr r6, r30 +/* 80084F4C 00081EAC 81 09 05 0C */ lwz r8, 0x50c(r9) +/* 80084F50 00081EB0 38 61 00 EC */ addi r3, r1, 0xec +/* 80084F54 00081EB4 80 09 05 10 */ lwz r0, 0x510(r9) +/* 80084F58 00081EB8 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 80084F5C 00081EBC C0 41 00 24 */ lfs f2, 0x24(r1) +/* 80084F60 00081EC0 57 87 06 3E */ clrlwi r7, r28, 0x18 +/* 80084F64 00081EC4 91 01 00 E0 */ stw r8, 0xe0(r1) +/* 80084F68 00081EC8 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80084F6C 00081ECC 80 09 05 14 */ lwz r0, 0x514(r9) +/* 80084F70 00081ED0 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 80084F74 00081ED4 48 00 4D 41 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +/* 80084F78 00081ED8 C0 41 00 EC */ lfs f2, 0xec(r1) +/* 80084F7C 00081EDC C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 80084F80 00081EE0 C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 80084F84 00081EE4 EF 62 C8 28 */ fsubs f27, f2, f25 +/* 80084F88 00081EE8 C0 62 89 B0 */ lfs f3, lbl_805AA6D0@sda21(r2) +/* 80084F8C 00081EEC EF 41 C0 28 */ fsubs f26, f1, f24 +/* 80084F90 00081EF0 C0 3F 05 78 */ lfs f1, 0x578(r31) +/* 80084F94 00081EF4 EE C0 B8 28 */ fsubs f22, f0, f23 +/* 80084F98 00081EF8 FC 03 08 00 */ fcmpu cr0, f3, f1 +/* 80084F9C 00081EFC 40 82 00 08 */ bne lbl_80084FA4 +/* 80084FA0 00081F00 48 00 00 24 */ b lbl_80084FC4 +lbl_80084FA4: +/* 80084FA4 00081F04 C0 1F 05 74 */ lfs f0, 0x574(r31) +/* 80084FA8 00081F08 38 81 00 0C */ addi r4, r1, 0xc +/* 80084FAC 00081F0C 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 +/* 80084FB0 00081F10 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 +/* 80084FB4 00081F14 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80084FB8 00081F18 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80084FBC 00081F1C 4B F8 72 F9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80084FC0 00081F20 C0 63 00 00 */ lfs f3, 0(r3) +lbl_80084FC4: +/* 80084FC4 00081F24 EC 43 06 F2 */ fmuls f2, f3, f27 +/* 80084FC8 00081F28 7F C3 F3 78 */ mr r3, r30 +/* 80084FCC 00081F2C EC 23 06 B2 */ fmuls f1, f3, f26 +/* 80084FD0 00081F30 38 81 00 08 */ addi r4, r1, 8 +/* 80084FD4 00081F34 EC 03 05 B2 */ fmuls f0, f3, f22 +/* 80084FD8 00081F38 EC 59 10 2A */ fadds f2, f25, f2 +/* 80084FDC 00081F3C EC 38 08 2A */ fadds f1, f24, f1 +/* 80084FE0 00081F40 EC 17 00 2A */ fadds f0, f23, f0 +/* 80084FE4 00081F44 D0 41 01 8C */ stfs f2, 0x18c(r1) +/* 80084FE8 00081F48 D0 21 01 90 */ stfs f1, 0x190(r1) +/* 80084FEC 00081F4C D0 01 01 94 */ stfs f0, 0x194(r1) +/* 80084FF0 00081F50 A0 1D 04 6C */ lhz r0, 0x46c(r29) +/* 80084FF4 00081F54 B0 01 00 08 */ sth r0, 8(r1) +/* 80084FF8 00081F58 4B FC 75 7D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80084FFC 00081F5C 7C 64 1B 78 */ mr r4, r3 +/* 80085000 00081F60 38 61 00 2C */ addi r3, r1, 0x2c +/* 80085004 00081F64 48 02 76 E1 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80085008 00081F68 80 63 00 04 */ lwz r3, 4(r3) +/* 8008500C 00081F6C 28 03 00 00 */ cmplwi r3, 0 +/* 80085010 00081F70 41 82 02 C0 */ beq lbl_800852D0 +/* 80085014 00081F74 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80085018 00081F78 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 8008501C 00081F7C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80085020 00081F80 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80085024 00081F84 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 80085028 00081F88 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 8008502C 00081F8C D0 41 00 DC */ stfs f2, 0xdc(r1) +/* 80085030 00081F90 4B FC DE 5D */ bl SetTranslation__6CActorFRC9CVector3f +/* 80085034 00081F94 80 A1 01 8C */ lwz r5, 0x18c(r1) +/* 80085038 00081F98 7F A4 EB 78 */ mr r4, r29 +/* 8008503C 00081F9C 80 E1 01 90 */ lwz r7, 0x190(r1) +/* 80085040 00081FA0 7F C6 F3 78 */ mr r6, r30 +/* 80085044 00081FA4 80 01 01 94 */ lwz r0, 0x194(r1) +/* 80085048 00081FA8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8008504C 00081FAC 90 A1 00 BC */ stw r5, 0xbc(r1) +/* 80085050 00081FB0 38 A1 00 BC */ addi r5, r1, 0xbc +/* 80085054 00081FB4 90 E1 00 C0 */ stw r7, 0xc0(r1) +/* 80085058 00081FB8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8008505C 00081FBC 4B FF F8 6D */ bl ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager +/* 80085060 00081FC0 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 80085064 00081FC4 FC 20 F8 90 */ fmr f1, f31 +/* 80085068 00081FC8 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 8008506C 00081FCC 7F A4 EB 78 */ mr r4, r29 +/* 80085070 00081FD0 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 80085074 00081FD4 7F C6 F3 78 */ mr r6, r30 +/* 80085078 00081FD8 D0 61 01 8C */ stfs f3, 0x18c(r1) +/* 8008507C 00081FDC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80085080 00081FE0 38 A1 01 8C */ addi r5, r1, 0x18c +/* 80085084 00081FE4 D0 41 01 90 */ stfs f2, 0x190(r1) +/* 80085088 00081FE8 D0 01 01 94 */ stfs f0, 0x194(r1) +/* 8008508C 00081FEC 4B FF F4 DD */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager +/* 80085090 00081FF0 C0 A1 00 B0 */ lfs f5, 0xb0(r1) +/* 80085094 00081FF4 38 61 01 80 */ addi r3, r1, 0x180 +/* 80085098 00081FF8 C0 81 00 B4 */ lfs f4, 0xb4(r1) +/* 8008509C 00081FFC C0 61 00 B8 */ lfs f3, 0xb8(r1) +/* 800850A0 00082000 D0 A1 01 8C */ stfs f5, 0x18c(r1) +/* 800850A4 00082004 D0 81 01 90 */ stfs f4, 0x190(r1) +/* 800850A8 00082008 D0 61 01 94 */ stfs f3, 0x194(r1) +/* 800850AC 0008200C C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 800850B0 00082010 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 800850B4 00082014 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 800850B8 00082018 D0 01 01 80 */ stfs f0, 0x180(r1) +/* 800850BC 0008201C D0 21 01 84 */ stfs f1, 0x184(r1) +/* 800850C0 00082020 D0 41 01 88 */ stfs f2, 0x188(r1) +/* 800850C4 00082024 C0 5D 01 DC */ lfs f2, 0x1dc(r29) +/* 800850C8 00082028 C0 3D 01 E0 */ lfs f1, 0x1e0(r29) +/* 800850CC 0008202C C0 1D 01 D8 */ lfs f0, 0x1d8(r29) +/* 800850D0 00082030 EC 42 20 28 */ fsubs f2, f2, f4 +/* 800850D4 00082034 EC 21 18 28 */ fsubs f1, f1, f3 +/* 800850D8 00082038 EC 00 28 28 */ fsubs f0, f0, f5 +/* 800850DC 0008203C D0 41 01 84 */ stfs f2, 0x184(r1) +/* 800850E0 00082040 D0 01 01 80 */ stfs f0, 0x180(r1) +/* 800850E4 00082044 D0 21 01 88 */ stfs f1, 0x188(r1) +/* 800850E8 00082048 48 28 F6 11 */ bl CanBeNormalized__9CVector3fCFv +/* 800850EC 0008204C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800850F0 00082050 41 82 01 E0 */ beq lbl_800852D0 +/* 800850F4 00082054 38 61 01 80 */ addi r3, r1, 0x180 +/* 800850F8 00082058 48 28 F8 01 */ bl Normalize__9CVector3fFv +/* 800850FC 0008205C C0 01 01 84 */ lfs f0, 0x184(r1) +/* 80085100 00082060 C0 41 01 80 */ lfs f2, 0x180(r1) +/* 80085104 00082064 EC 3D 00 32 */ fmuls f1, f29, f0 +/* 80085108 00082068 C0 61 01 88 */ lfs f3, 0x188(r1) +/* 8008510C 0008206C C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80085110 00082070 EC 3E 08 BA */ fmadds f1, f30, f2, f1 +/* 80085114 00082074 EC 5C 08 FA */ fmadds f2, f28, f3, f1 +/* 80085118 00082078 FC 20 12 10 */ fabs f1, f2 +/* 8008511C 0008207C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80085120 00082080 40 81 00 14 */ ble lbl_80085134 +/* 80085124 00082084 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80085128 00082088 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 8008512C 0008208C FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80085130 00082090 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_80085134: +/* 80085134 00082094 FC 00 12 10 */ fabs f0, f2 +/* 80085138 00082098 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 8008513C 0008209C C0 3F 05 78 */ lfs f1, 0x578(r31) +/* 80085140 000820A0 FC 02 08 00 */ fcmpu cr0, f2, f1 +/* 80085144 000820A4 FE C0 00 18 */ frsp f22, f0 +/* 80085148 000820A8 40 82 00 08 */ bne lbl_80085150 +/* 8008514C 000820AC 48 00 00 24 */ b lbl_80085170 +lbl_80085150: +/* 80085150 000820B0 C0 1F 05 74 */ lfs f0, 0x574(r31) +/* 80085154 000820B4 38 81 00 1C */ addi r4, r1, 0x1c +/* 80085158 000820B8 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 +/* 8008515C 000820BC 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 +/* 80085160 000820C0 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80085164 000820C4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80085168 000820C8 4B F8 71 4D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8008516C 000820CC C0 43 00 00 */ lfs f2, 0(r3) +lbl_80085170: +/* 80085170 000820D0 C0 22 89 DC */ lfs f1, lbl_805AA6FC@sda21(r2) +/* 80085174 000820D4 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80085178 000820D8 EE E1 00 B2 */ fmuls f23, f1, f2 +/* 8008517C 000820DC FC 20 BA 10 */ fabs f1, f23 +/* 80085180 000820E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80085184 000820E4 40 81 00 14 */ ble lbl_80085198 +/* 80085188 000820E8 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 8008518C 000820EC C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80085190 000820F0 FC 17 00 6E */ fsel f0, f23, f1, f0 +/* 80085194 000820F4 EE E1 00 32 */ fmuls f23, f1, f0 +lbl_80085198: +/* 80085198 000820F8 FC 20 B0 90 */ fmr f1, f22 +/* 8008519C 000820FC 48 30 FA 91 */ bl acos +/* 800851A0 00082100 FC 20 08 18 */ frsp f1, f1 +/* 800851A4 00082104 C0 02 8A 1C */ lfs f0, lbl_805AA73C@sda21(r2) +/* 800851A8 00082108 FC 16 00 40 */ fcmpo cr0, f22, f0 +/* 800851AC 0008210C EC 17 00 72 */ fmuls f0, f23, f1 +/* 800851B0 00082110 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800851B4 00082114 40 80 00 CC */ bge lbl_80085280 +/* 800851B8 00082118 C0 41 02 BC */ lfs f2, 0x2bc(r1) +/* 800851BC 0008211C 38 61 00 7C */ addi r3, r1, 0x7c +/* 800851C0 00082120 C0 21 02 CC */ lfs f1, 0x2cc(r1) +/* 800851C4 00082124 38 81 01 80 */ addi r4, r1, 0x180 +/* 800851C8 00082128 C0 01 02 DC */ lfs f0, 0x2dc(r1) +/* 800851CC 0008212C D0 41 00 88 */ stfs f2, 0x88(r1) +/* 800851D0 00082130 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 800851D4 00082134 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800851D8 00082138 48 28 EB F9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800851DC 0008213C 7C 7F 1B 78 */ mr r31, r3 +/* 800851E0 00082140 38 61 00 94 */ addi r3, r1, 0x94 +/* 800851E4 00082144 38 81 00 88 */ addi r4, r1, 0x88 +/* 800851E8 00082148 48 28 EB E9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800851EC 0008214C 7C 64 1B 78 */ mr r4, r3 +/* 800851F0 00082150 7F E5 FB 78 */ mr r5, r31 +/* 800851F4 00082154 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800851F8 00082158 38 C1 00 20 */ addi r6, r1, 0x20 +/* 800851FC 0008215C 48 28 C4 99 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 80085200 00082160 C0 61 00 A0 */ lfs f3, 0xa0(r1) +/* 80085204 00082164 38 61 02 28 */ addi r3, r1, 0x228 +/* 80085208 00082168 C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 8008520C 0008216C 38 81 02 B8 */ addi r4, r1, 0x2b8 +/* 80085210 00082170 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 80085214 00082174 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 80085218 00082178 D0 61 01 70 */ stfs f3, 0x170(r1) +/* 8008521C 0008217C D0 41 01 74 */ stfs f2, 0x174(r1) +/* 80085220 00082180 D0 21 01 78 */ stfs f1, 0x178(r1) +/* 80085224 00082184 D0 01 01 7C */ stfs f0, 0x17c(r1) +/* 80085228 00082188 48 28 DA 19 */ bl GetRotation__12CTransform4fCFv +/* 8008522C 0008218C 38 61 02 58 */ addi r3, r1, 0x258 +/* 80085230 00082190 38 81 01 70 */ addi r4, r1, 0x170 +/* 80085234 00082194 48 28 CD 85 */ bl BuildTransform4f__11CQuaternionCFv +/* 80085238 00082198 38 61 02 88 */ addi r3, r1, 0x288 +/* 8008523C 0008219C 38 81 02 58 */ addi r4, r1, 0x258 +/* 80085240 000821A0 38 A1 02 28 */ addi r5, r1, 0x228 +/* 80085244 000821A4 48 28 D7 0D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80085248 000821A8 38 7D 00 34 */ addi r3, r29, 0x34 +/* 8008524C 000821AC 38 81 02 88 */ addi r4, r1, 0x288 +/* 80085250 000821B0 48 28 D8 F1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80085254 000821B4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80085258 000821B8 38 60 00 01 */ li r3, 1 +/* 8008525C 000821BC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80085260 000821C0 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80085264 000821C4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80085268 000821C8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8008526C 000821CC 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80085270 000821D0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80085274 000821D4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80085278 000821D8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8008527C 000821DC 48 00 00 54 */ b lbl_800852D0 +lbl_80085280: +/* 80085280 000821E0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80085284 000821E4 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 80085288 000821E8 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8008528C 000821EC 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 80085290 000821F0 38 61 01 F8 */ addi r3, r1, 0x1f8 +/* 80085294 000821F4 38 A1 01 80 */ addi r5, r1, 0x180 +/* 80085298 000821F8 48 28 E8 79 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8008529C 000821FC 38 7D 00 34 */ addi r3, r29, 0x34 +/* 800852A0 00082200 38 81 01 F8 */ addi r4, r1, 0x1f8 +/* 800852A4 00082204 48 28 D8 9D */ bl __as__12CTransform4fFRC12CTransform4f +/* 800852A8 00082208 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800852AC 0008220C 38 60 00 01 */ li r3, 1 +/* 800852B0 00082210 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800852B4 00082214 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800852B8 00082218 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800852BC 0008221C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800852C0 00082220 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800852C4 00082224 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800852C8 00082228 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800852CC 0008222C 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_800852D0: +/* 800852D0 00082230 7F A4 EB 78 */ mr r4, r29 +/* 800852D4 00082234 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 800852D8 00082238 38 BD 00 34 */ addi r5, r29, 0x34 +/* 800852DC 0008223C 38 C1 02 B8 */ addi r6, r1, 0x2b8 +/* 800852E0 00082240 4B FD 5C E1 */ bl ValidateCameraTransform__11CGameCameraFRC12CTransform4fRC12CTransform4f +/* 800852E4 00082244 38 7D 00 34 */ addi r3, r29, 0x34 +/* 800852E8 00082248 38 81 01 C8 */ addi r4, r1, 0x1c8 +/* 800852EC 0008224C 48 28 D8 55 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800852F0 00082250 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800852F4 00082254 38 A0 00 01 */ li r5, 1 +/* 800852F8 00082258 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 800852FC 0008225C 7F A3 EB 78 */ mr r3, r29 +/* 80085300 00082260 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80085304 00082264 38 81 01 8C */ addi r4, r1, 0x18c +/* 80085308 00082268 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8008530C 0008226C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80085310 00082270 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80085314 00082274 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80085318 00082278 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8008531C 0008227C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80085320 00082280 4B FC DB 6D */ bl SetTranslation__6CActorFRC9CVector3f +/* 80085324 00082284 7F A3 EB 78 */ mr r3, r29 +/* 80085328 00082288 7F C5 F3 78 */ mr r5, r30 +/* 8008532C 0008228C 38 81 01 8C */ addi r4, r1, 0x18c +/* 80085330 00082290 48 00 77 ED */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager +/* 80085334 00082294 48 00 04 E4 */ b lbl_80085818 +lbl_80085338: +/* 80085338 00082298 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 8008533C 0008229C C0 3F 05 78 */ lfs f1, 0x578(r31) +/* 80085340 000822A0 FC 02 08 00 */ fcmpu cr0, f2, f1 +/* 80085344 000822A4 40 82 00 08 */ bne lbl_8008534C +/* 80085348 000822A8 48 00 00 24 */ b lbl_8008536C +lbl_8008534C: +/* 8008534C 000822AC C0 1F 05 74 */ lfs f0, 0x574(r31) +/* 80085350 000822B0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80085354 000822B4 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 +/* 80085358 000822B8 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 +/* 8008535C 000822BC EC 00 08 24 */ fdivs f0, f0, f1 +/* 80085360 000822C0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80085364 000822C4 4B F8 6F 51 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80085368 000822C8 C0 43 00 00 */ lfs f2, 0(r3) +lbl_8008536C: +/* 8008536C 000822CC C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80085370 000822D0 C0 02 89 C0 */ lfs f0, lbl_805AA6E0@sda21(r2) +/* 80085374 000822D4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80085378 000822D8 FC 20 0A 10 */ fabs f1, f1 +/* 8008537C 000822DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80085380 000822E0 40 80 00 54 */ bge lbl_800853D4 +/* 80085384 000822E4 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80085388 000822E8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8008538C 000822EC 48 28 D7 B5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80085390 000822F0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80085394 000822F4 38 A0 00 01 */ li r5, 1 +/* 80085398 000822F8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8008539C 000822FC 7F E4 FB 78 */ mr r4, r31 +/* 800853A0 00082300 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800853A4 00082304 38 61 00 70 */ addi r3, r1, 0x70 +/* 800853A8 00082308 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800853AC 0008230C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 800853B0 00082310 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800853B4 00082314 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800853B8 00082318 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 800853BC 0008231C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800853C0 00082320 48 1F F9 BD */ bl GetEyePosition__7CPlayerCFv +/* 800853C4 00082324 7F A3 EB 78 */ mr r3, r29 +/* 800853C8 00082328 38 81 00 70 */ addi r4, r1, 0x70 +/* 800853CC 0008232C 4B FC DA C1 */ bl SetTranslation__6CActorFRC9CVector3f +/* 800853D0 00082330 48 00 04 68 */ b lbl_80085838 +lbl_800853D4: +/* 800853D4 00082334 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 800853D8 00082338 C0 3F 05 78 */ lfs f1, 0x578(r31) +/* 800853DC 0008233C FC 02 08 00 */ fcmpu cr0, f2, f1 +/* 800853E0 00082340 40 82 00 08 */ bne lbl_800853E8 +/* 800853E4 00082344 48 00 00 24 */ b lbl_80085408 +lbl_800853E8: +/* 800853E8 00082348 C0 1F 05 74 */ lfs f0, 0x574(r31) +/* 800853EC 0008234C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800853F0 00082350 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 +/* 800853F4 00082354 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 +/* 800853F8 00082358 EC 00 08 24 */ fdivs f0, f0, f1 +/* 800853FC 0008235C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80085400 00082360 4B F8 6E B5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80085404 00082364 C0 43 00 00 */ lfs f2, 0(r3) +lbl_80085408: +/* 80085408 00082368 C0 22 8A 20 */ lfs f1, lbl_805AA740@sda21(r2) +/* 8008540C 0008236C C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80085410 00082370 EF 82 08 24 */ fdivs f28, f2, f1 +/* 80085414 00082374 FC 20 E2 10 */ fabs f1, f28 +/* 80085418 00082378 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008541C 0008237C 40 81 00 14 */ ble lbl_80085430 +/* 80085420 00082380 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80085424 00082384 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80085428 00082388 FC 1C 00 6E */ fsel f0, f28, f1, f0 +/* 8008542C 0008238C EF 81 00 32 */ fmuls f28, f1, f0 +lbl_80085430: +/* 80085430 00082390 C0 DD 00 60 */ lfs f6, 0x60(r29) +/* 80085434 00082394 38 61 01 58 */ addi r3, r1, 0x158 +/* 80085438 00082398 C0 BD 00 50 */ lfs f5, 0x50(r29) +/* 8008543C 0008239C C0 5D 00 40 */ lfs f2, 0x40(r29) +/* 80085440 000823A0 EC 66 B8 28 */ fsubs f3, f6, f23 +/* 80085444 000823A4 EC 85 C0 28 */ fsubs f4, f5, f24 +/* 80085448 000823A8 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008544C 000823AC EC 22 C8 28 */ fsubs f1, f2, f25 +/* 80085450 000823B0 D0 41 01 64 */ stfs f2, 0x164(r1) +/* 80085454 000823B4 D0 61 01 60 */ stfs f3, 0x160(r1) +/* 80085458 000823B8 D0 A1 01 68 */ stfs f5, 0x168(r1) +/* 8008545C 000823BC D0 C1 01 6C */ stfs f6, 0x16c(r1) +/* 80085460 000823C0 D0 21 01 58 */ stfs f1, 0x158(r1) +/* 80085464 000823C4 D0 81 01 5C */ stfs f4, 0x15c(r1) +/* 80085468 000823C8 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 8008546C 000823CC 48 28 F2 8D */ bl CanBeNormalized__9CVector3fCFv +/* 80085470 000823D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80085474 000823D4 41 82 03 5C */ beq lbl_800857D0 +/* 80085478 000823D8 38 61 01 58 */ addi r3, r1, 0x158 +/* 8008547C 000823DC 48 28 F4 3D */ bl Magnitude__9CVector3fCFv +/* 80085480 000823E0 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 80085484 000823E4 FF A0 08 90 */ fmr f29, f1 +/* 80085488 000823E8 C0 7F 05 78 */ lfs f3, 0x578(r31) +/* 8008548C 000823EC FC 02 18 00 */ fcmpu cr0, f2, f3 +/* 80085490 000823F0 40 82 00 08 */ bne lbl_80085498 +/* 80085494 000823F4 48 00 00 24 */ b lbl_800854B8 +lbl_80085498: +/* 80085498 000823F8 C0 1F 05 74 */ lfs f0, 0x574(r31) +/* 8008549C 000823FC 38 81 00 14 */ addi r4, r1, 0x14 +/* 800854A0 00082400 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 +/* 800854A4 00082404 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 +/* 800854A8 00082408 EC 00 18 24 */ fdivs f0, f0, f3 +/* 800854AC 0008240C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800854B0 00082410 4B F8 6E 05 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800854B4 00082414 C0 43 00 00 */ lfs f2, 0(r3) +lbl_800854B8: +/* 800854B8 00082418 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 800854BC 0008241C C0 3D 01 90 */ lfs f1, 0x190(r29) +/* 800854C0 00082420 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800854C4 00082424 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800854C8 00082428 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 800854CC 0008242C 40 81 00 08 */ ble lbl_800854D4 +/* 800854D0 00082430 FF A0 00 90 */ fmr f29, f0 +lbl_800854D4: +/* 800854D4 00082434 C0 3D 00 60 */ lfs f1, 0x60(r29) +/* 800854D8 00082438 38 61 01 4C */ addi r3, r1, 0x14c +/* 800854DC 0008243C C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 800854E0 00082440 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 800854E4 00082444 C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 800854E8 00082448 EC A1 00 28 */ fsubs f5, f1, f0 +/* 800854EC 0008244C C0 5D 00 40 */ lfs f2, 0x40(r29) +/* 800854F0 00082450 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 800854F4 00082454 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800854F8 00082458 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800854FC 0008245C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80085500 00082460 D0 A1 01 54 */ stfs f5, 0x154(r1) +/* 80085504 00082464 C3 C2 8A 14 */ lfs f30, lbl_805AA734@sda21(r2) +/* 80085508 00082468 D0 61 01 50 */ stfs f3, 0x150(r1) +/* 8008550C 0008246C D0 21 01 4C */ stfs f1, 0x14c(r1) +/* 80085510 00082470 D0 01 01 54 */ stfs f0, 0x154(r1) +/* 80085514 00082474 C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 80085518 00082478 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 8008551C 0008247C C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 80085520 00082480 D0 01 01 44 */ stfs f0, 0x144(r1) +/* 80085524 00082484 C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 80085528 00082488 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 8008552C 0008248C 48 28 F1 CD */ bl CanBeNormalized__9CVector3fCFv +/* 80085530 00082490 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80085534 00082494 41 82 00 10 */ beq lbl_80085544 +/* 80085538 00082498 38 61 01 4C */ addi r3, r1, 0x14c +/* 8008553C 0008249C 48 28 F3 BD */ bl Normalize__9CVector3fFv +/* 80085540 000824A0 48 00 00 28 */ b lbl_80085568 +lbl_80085544: +/* 80085544 000824A4 C0 41 01 48 */ lfs f2, 0x148(r1) +/* 80085548 000824A8 C0 21 01 44 */ lfs f1, 0x144(r1) +/* 8008554C 000824AC C0 01 01 40 */ lfs f0, 0x140(r1) +/* 80085550 000824B0 FC 40 10 50 */ fneg f2, f2 +/* 80085554 000824B4 FC 20 08 50 */ fneg f1, f1 +/* 80085558 000824B8 FC 00 00 50 */ fneg f0, f0 +/* 8008555C 000824BC D0 41 01 54 */ stfs f2, 0x154(r1) +/* 80085560 000824C0 D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 80085564 000824C4 D0 21 01 50 */ stfs f1, 0x150(r1) +lbl_80085568: +/* 80085568 000824C8 38 61 01 40 */ addi r3, r1, 0x140 +/* 8008556C 000824CC 48 28 F1 8D */ bl CanBeNormalized__9CVector3fCFv +/* 80085570 000824D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80085574 000824D4 41 82 00 74 */ beq lbl_800855E8 +/* 80085578 000824D8 38 61 01 40 */ addi r3, r1, 0x140 +/* 8008557C 000824DC 48 28 F3 7D */ bl Normalize__9CVector3fFv +/* 80085580 000824E0 C0 01 01 44 */ lfs f0, 0x144(r1) +/* 80085584 000824E4 C0 41 01 40 */ lfs f2, 0x140(r1) +/* 80085588 000824E8 FC 00 00 50 */ fneg f0, f0 +/* 8008558C 000824EC C0 21 01 50 */ lfs f1, 0x150(r1) +/* 80085590 000824F0 C0 81 01 48 */ lfs f4, 0x148(r1) +/* 80085594 000824F4 FC 40 10 50 */ fneg f2, f2 +/* 80085598 000824F8 C0 61 01 4C */ lfs f3, 0x14c(r1) +/* 8008559C 000824FC EC 21 00 32 */ fmuls f1, f1, f0 +/* 800855A0 00082500 FC 80 20 50 */ fneg f4, f4 +/* 800855A4 00082504 C0 A1 01 54 */ lfs f5, 0x154(r1) +/* 800855A8 00082508 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 800855AC 0008250C EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 800855B0 00082510 EC 25 09 3A */ fmadds f1, f5, f4, f1 +/* 800855B4 00082514 FC 40 0A 10 */ fabs f2, f1 +/* 800855B8 00082518 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800855BC 0008251C 40 81 00 14 */ ble lbl_800855D0 +/* 800855C0 00082520 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 800855C4 00082524 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 800855C8 00082528 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 800855CC 0008252C EC 22 00 32 */ fmuls f1, f2, f0 +lbl_800855D0: +/* 800855D0 00082530 48 30 F6 5D */ bl acos +/* 800855D4 00082534 FC 00 08 18 */ frsp f0, f1 +/* 800855D8 00082538 FC 00 02 10 */ fabs f0, f0 +/* 800855DC 0008253C FC 00 00 18 */ frsp f0, f0 +/* 800855E0 00082540 EC 00 07 32 */ fmuls f0, f0, f28 +/* 800855E4 00082544 EF C0 F8 24 */ fdivs f30, f0, f31 +lbl_800855E8: +/* 800855E8 00082548 FC 20 F0 90 */ fmr f1, f30 +/* 800855EC 0008254C C0 42 8A 24 */ lfs f2, lbl_805AA744@sda21(r2) +/* 800855F0 00082550 FC 60 F8 90 */ fmr f3, f31 +/* 800855F4 00082554 7F A4 EB 78 */ mr r4, r29 +/* 800855F8 00082558 7F E5 FB 78 */ mr r5, r31 +/* 800855FC 0008255C 7F C6 F3 78 */ mr r6, r30 +/* 80085600 00082560 38 61 00 64 */ addi r3, r1, 0x64 +/* 80085604 00082564 48 00 3D 71 */ bl ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager +/* 80085608 00082568 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8008560C 0008256C 38 61 01 34 */ addi r3, r1, 0x134 +/* 80085610 00082570 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 80085614 00082574 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80085618 00082578 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 8008561C 0008257C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80085620 00082580 D0 41 01 34 */ stfs f2, 0x134(r1) +/* 80085624 00082584 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 80085628 00082588 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 8008562C 0008258C 48 28 F2 CD */ bl Normalize__9CVector3fFv +/* 80085630 00082590 C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 80085634 00082594 7F A4 EB 78 */ mr r4, r29 +/* 80085638 00082598 C0 DD 00 60 */ lfs f6, 0x60(r29) +/* 8008563C 0008259C 7F C6 F3 78 */ mr r6, r30 +/* 80085640 000825A0 EC 5D 00 32 */ fmuls f2, f29, f0 +/* 80085644 000825A4 C0 61 01 38 */ lfs f3, 0x138(r1) +/* 80085648 000825A8 C0 21 01 34 */ lfs f1, 0x134(r1) +/* 8008564C 000825AC EC 06 B8 28 */ fsubs f0, f6, f23 +/* 80085650 000825B0 EC 7D 00 F2 */ fmuls f3, f29, f3 +/* 80085654 000825B4 C0 BD 00 50 */ lfs f5, 0x50(r29) +/* 80085658 000825B8 EC 3D 00 72 */ fmuls f1, f29, f1 +/* 8008565C 000825BC C0 9D 00 40 */ lfs f4, 0x40(r29) +/* 80085660 000825C0 EC 57 10 2A */ fadds f2, f23, f2 +/* 80085664 000825C4 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 80085668 000825C8 EC 78 18 2A */ fadds f3, f24, f3 +/* 8008566C 000825CC 38 61 00 4C */ addi r3, r1, 0x4c +/* 80085670 000825D0 EC 39 08 2A */ fadds f1, f25, f1 +/* 80085674 000825D4 D0 41 01 6C */ stfs f2, 0x16c(r1) +/* 80085678 000825D8 EC 00 BF 3A */ fmadds f0, f0, f28, f23 +/* 8008567C 000825DC 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80085680 000825E0 D0 61 01 68 */ stfs f3, 0x168(r1) +/* 80085684 000825E4 D0 21 01 64 */ stfs f1, 0x164(r1) +/* 80085688 000825E8 80 E1 01 68 */ lwz r7, 0x168(r1) +/* 8008568C 000825EC D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 80085690 000825F0 81 01 01 64 */ lwz r8, 0x164(r1) +/* 80085694 000825F4 80 01 01 6C */ lwz r0, 0x16c(r1) +/* 80085698 000825F8 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8008569C 000825FC D0 C1 00 60 */ stfs f6, 0x60(r1) +/* 800856A0 00082600 91 01 00 40 */ stw r8, 0x40(r1) +/* 800856A4 00082604 90 E1 00 44 */ stw r7, 0x44(r1) +/* 800856A8 00082608 90 01 00 48 */ stw r0, 0x48(r1) +/* 800856AC 0008260C 4B FF F2 1D */ bl ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager +/* 800856B0 00082610 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 800856B4 00082614 FC 20 F8 90 */ fmr f1, f31 +/* 800856B8 00082618 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 800856BC 0008261C 7F A4 EB 78 */ mr r4, r29 +/* 800856C0 00082620 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800856C4 00082624 7F C6 F3 78 */ mr r6, r30 +/* 800856C8 00082628 D0 61 01 64 */ stfs f3, 0x164(r1) +/* 800856CC 0008262C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800856D0 00082630 38 A1 01 64 */ addi r5, r1, 0x164 +/* 800856D4 00082634 D0 41 01 68 */ stfs f2, 0x168(r1) +/* 800856D8 00082638 D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 800856DC 0008263C 4B FF EE 8D */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager +/* 800856E0 00082640 EC 17 B0 28 */ fsubs f0, f23, f22 +/* 800856E4 00082644 C0 A1 00 34 */ lfs f5, 0x34(r1) +/* 800856E8 00082648 C0 81 00 38 */ lfs f4, 0x38(r1) +/* 800856EC 0008264C 38 61 01 1C */ addi r3, r1, 0x11c +/* 800856F0 00082650 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 800856F4 00082654 EC 3B 28 28 */ fsubs f1, f27, f5 +/* 800856F8 00082658 EC 5C B0 3A */ fmadds f2, f28, f0, f22 +/* 800856FC 0008265C D2 C1 01 30 */ stfs f22, 0x130(r1) +/* 80085700 00082660 EC DA 20 28 */ fsubs f6, f26, f4 +/* 80085704 00082664 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80085708 00082668 D0 A1 01 64 */ stfs f5, 0x164(r1) +/* 8008570C 0008266C EC A2 18 28 */ fsubs f5, f2, f3 +/* 80085710 00082670 D0 81 01 68 */ stfs f4, 0x168(r1) +/* 80085714 00082674 D0 A1 01 24 */ stfs f5, 0x124(r1) +/* 80085718 00082678 D0 61 01 6C */ stfs f3, 0x16c(r1) +/* 8008571C 0008267C D3 61 01 28 */ stfs f27, 0x128(r1) +/* 80085720 00082680 D3 41 01 2C */ stfs f26, 0x12c(r1) +/* 80085724 00082684 D0 41 01 30 */ stfs f2, 0x130(r1) +/* 80085728 00082688 D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 8008572C 0008268C D0 C1 01 20 */ stfs f6, 0x120(r1) +/* 80085730 00082690 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 80085734 00082694 48 28 EF C5 */ bl CanBeNormalized__9CVector3fCFv +/* 80085738 00082698 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008573C 0008269C 41 82 00 54 */ beq lbl_80085790 +/* 80085740 000826A0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 80085744 000826A4 38 61 01 98 */ addi r3, r1, 0x198 +/* 80085748 000826A8 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 8008574C 000826AC 38 A1 01 28 */ addi r5, r1, 0x128 +/* 80085750 000826B0 38 81 01 64 */ addi r4, r1, 0x164 +/* 80085754 000826B4 48 28 E3 BD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80085758 000826B8 38 7D 00 34 */ addi r3, r29, 0x34 +/* 8008575C 000826BC 38 81 01 98 */ addi r4, r1, 0x198 +/* 80085760 000826C0 48 28 D3 E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80085764 000826C4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80085768 000826C8 38 60 00 01 */ li r3, 1 +/* 8008576C 000826CC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80085770 000826D0 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80085774 000826D4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80085778 000826D8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8008577C 000826DC 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80085780 000826E0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80085784 000826E4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80085788 000826E8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8008578C 000826EC 48 00 00 80 */ b lbl_8008580C +lbl_80085790: +/* 80085790 000826F0 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 80085794 000826F4 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80085798 000826F8 80 84 00 7C */ lwz r4, 0x7c(r4) +/* 8008579C 000826FC 38 84 00 34 */ addi r4, r4, 0x34 +/* 800857A0 00082700 48 28 D3 A1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800857A4 00082704 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800857A8 00082708 38 60 00 01 */ li r3, 1 +/* 800857AC 0008270C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800857B0 00082710 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800857B4 00082714 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800857B8 00082718 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800857BC 0008271C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800857C0 00082720 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800857C4 00082724 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800857C8 00082728 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800857CC 0008272C 48 00 00 40 */ b lbl_8008580C +lbl_800857D0: +/* 800857D0 00082730 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 800857D4 00082734 38 7D 00 34 */ addi r3, r29, 0x34 +/* 800857D8 00082738 80 84 00 7C */ lwz r4, 0x7c(r4) +/* 800857DC 0008273C 38 84 00 34 */ addi r4, r4, 0x34 +/* 800857E0 00082740 48 28 D3 61 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800857E4 00082744 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800857E8 00082748 38 60 00 01 */ li r3, 1 +/* 800857EC 0008274C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800857F0 00082750 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800857F4 00082754 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800857F8 00082758 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800857FC 0008275C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80085800 00082760 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80085804 00082764 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80085808 00082768 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_8008580C: +/* 8008580C 0008276C 7F A3 EB 78 */ mr r3, r29 +/* 80085810 00082770 38 81 01 64 */ addi r4, r1, 0x164 +/* 80085814 00082774 4B FC D6 79 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_80085818: +/* 80085818 00082778 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8008581C 0008277C 7F C5 F3 78 */ mr r5, r30 +/* 80085820 00082780 38 9D 00 34 */ addi r4, r29, 0x34 +/* 80085824 00082784 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80085828 00082788 81 83 00 00 */ lwz r12, 0(r3) +/* 8008582C 0008278C 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80085830 00082790 7D 89 03 A6 */ mtctr r12 +/* 80085834 00082794 4E 80 04 21 */ bctrl +lbl_80085838: +/* 80085838 00082798 E3 E1 03 98 */ psq_l f31, 920(r1), 0, qr0 +/* 8008583C 0008279C CB E1 03 90 */ lfd f31, 0x390(r1) +/* 80085840 000827A0 E3 C1 03 88 */ psq_l f30, 904(r1), 0, qr0 +/* 80085844 000827A4 CB C1 03 80 */ lfd f30, 0x380(r1) +/* 80085848 000827A8 E3 A1 03 78 */ psq_l f29, 888(r1), 0, qr0 +/* 8008584C 000827AC CB A1 03 70 */ lfd f29, 0x370(r1) +/* 80085850 000827B0 E3 81 03 68 */ psq_l f28, 872(r1), 0, qr0 +/* 80085854 000827B4 CB 81 03 60 */ lfd f28, 0x360(r1) +/* 80085858 000827B8 E3 61 03 58 */ psq_l f27, 856(r1), 0, qr0 +/* 8008585C 000827BC CB 61 03 50 */ lfd f27, 0x350(r1) +/* 80085860 000827C0 E3 41 03 48 */ psq_l f26, 840(r1), 0, qr0 +/* 80085864 000827C4 CB 41 03 40 */ lfd f26, 0x340(r1) +/* 80085868 000827C8 E3 21 03 38 */ psq_l f25, 824(r1), 0, qr0 +/* 8008586C 000827CC CB 21 03 30 */ lfd f25, 0x330(r1) +/* 80085870 000827D0 E3 01 03 28 */ psq_l f24, 808(r1), 0, qr0 +/* 80085874 000827D4 CB 01 03 20 */ lfd f24, 0x320(r1) +/* 80085878 000827D8 E2 E1 03 18 */ psq_l f23, 792(r1), 0, qr0 +/* 8008587C 000827DC CA E1 03 10 */ lfd f23, 0x310(r1) +/* 80085880 000827E0 E2 C1 03 08 */ psq_l f22, 776(r1), 0, qr0 +/* 80085884 000827E4 CA C1 03 00 */ lfd f22, 0x300(r1) +/* 80085888 000827E8 83 E1 02 FC */ lwz r31, 0x2fc(r1) +/* 8008588C 000827EC 83 C1 02 F8 */ lwz r30, 0x2f8(r1) +/* 80085890 000827F0 83 A1 02 F4 */ lwz r29, 0x2f4(r1) +/* 80085894 000827F4 80 01 03 A4 */ lwz r0, 0x3a4(r1) +/* 80085898 000827F8 83 81 02 F0 */ lwz r28, 0x2f0(r1) +/* 8008589C 000827FC 7C 08 03 A6 */ mtlr r0 +/* 800858A0 00082800 38 21 03 A0 */ addi r1, r1, 0x3a0 +/* 800858A4 00082804 4E 80 00 20 */ blr + +.global UpdateUsingColliders__11CBallCameraFfR13CStateManager +UpdateUsingColliders__11CBallCameraFfR13CStateManager: +/* 800858A8 00082808 94 21 F3 80 */ stwu r1, -0xc80(r1) +/* 800858AC 0008280C 7C 08 02 A6 */ mflr r0 +/* 800858B0 00082810 90 01 0C 84 */ stw r0, 0xc84(r1) +/* 800858B4 00082814 DB E1 0C 70 */ stfd f31, 0xc70(r1) +/* 800858B8 00082818 F3 E1 0C 78 */ psq_st f31, -904(r1), 0, qr0 +/* 800858BC 0008281C DB C1 0C 60 */ stfd f30, 0xc60(r1) +/* 800858C0 00082820 F3 C1 0C 68 */ psq_st f30, -920(r1), 0, qr0 +/* 800858C4 00082824 DB A1 0C 50 */ stfd f29, 0xc50(r1) +/* 800858C8 00082828 F3 A1 0C 58 */ psq_st f29, -936(r1), 0, qr0 +/* 800858CC 0008282C DB 81 0C 40 */ stfd f28, 0xc40(r1) +/* 800858D0 00082830 F3 81 0C 48 */ psq_st f28, -952(r1), 0, qr0 +/* 800858D4 00082834 DB 61 0C 30 */ stfd f27, 0xc30(r1) +/* 800858D8 00082838 F3 61 0C 38 */ psq_st f27, -968(r1), 0, qr0 +/* 800858DC 0008283C DB 41 0C 20 */ stfd f26, 0xc20(r1) +/* 800858E0 00082840 F3 41 0C 28 */ psq_st f26, -984(r1), 0, qr0 +/* 800858E4 00082844 DB 21 0C 10 */ stfd f25, 0xc10(r1) +/* 800858E8 00082848 F3 21 0C 18 */ psq_st f25, -1000(r1), 0, qr0 +/* 800858EC 0008284C DB 01 0C 00 */ stfd f24, 0xc00(r1) +/* 800858F0 00082850 F3 01 0C 08 */ psq_st f24, -1016(r1), 0, qr0 +/* 800858F4 00082854 BF 61 0B EC */ stmw r27, 0xbec(r1) +/* 800858F8 00082858 7C 9E 23 78 */ mr r30, r4 +/* 800858FC 0008285C FF E0 08 90 */ fmr f31, f1 +/* 80085900 00082860 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80085904 00082864 7C 7F 1B 78 */ mr r31, r3 +/* 80085908 00082868 80 04 09 D0 */ lwz r0, 0x9d0(r4) +/* 8008590C 0008286C 2C 00 00 01 */ cmpwi r0, 1 +/* 80085910 00082870 41 82 13 70 */ beq lbl_80086C80 +/* 80085914 00082874 38 61 01 60 */ addi r3, r1, 0x160 +/* 80085918 00082878 48 1F F4 31 */ bl GetBallPosition__7CPlayerCFv +/* 8008591C 0008287C C0 E1 01 60 */ lfs f7, 0x160(r1) +/* 80085920 00082880 C0 C1 01 64 */ lfs f6, 0x164(r1) +/* 80085924 00082884 C0 A1 01 68 */ lfs f5, 0x168(r1) +/* 80085928 00082888 D0 E1 02 2C */ stfs f7, 0x22c(r1) +/* 8008592C 0008288C D0 C1 02 30 */ stfs f6, 0x230(r1) +/* 80085930 00082890 D0 A1 02 34 */ stfs f5, 0x234(r1) +/* 80085934 00082894 83 BE 08 4C */ lwz r29, 0x84c(r30) +/* 80085938 00082898 80 1D 09 D0 */ lwz r0, 0x9d0(r29) +/* 8008593C 0008289C 2C 00 00 02 */ cmpwi r0, 2 +/* 80085940 000828A0 40 82 00 A4 */ bne lbl_800859E4 +/* 80085944 000828A4 C0 1F 01 DC */ lfs f0, 0x1dc(r31) +/* 80085948 000828A8 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 8008594C 000828AC C0 7F 01 E0 */ lfs f3, 0x1e0(r31) +/* 80085950 000828B0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80085954 000828B4 ED 00 20 28 */ fsubs f8, f0, f4 +/* 80085958 000828B8 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) +/* 8008595C 000828BC C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80085960 000828C0 EC 63 10 28 */ fsubs f3, f3, f2 +/* 80085964 000828C4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80085968 000828C8 D1 01 02 24 */ stfs f8, 0x224(r1) +/* 8008596C 000828CC D0 61 02 28 */ stfs f3, 0x228(r1) +/* 80085970 000828D0 D0 01 02 20 */ stfs f0, 0x220(r1) +/* 80085974 000828D4 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 80085978 000828D8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8008597C 000828DC 41 82 00 1C */ beq lbl_80085998 +/* 80085980 000828E0 EC 66 20 28 */ fsubs f3, f6, f4 +/* 80085984 000828E4 EC 45 10 28 */ fsubs f2, f5, f2 +/* 80085988 000828E8 EC 07 08 28 */ fsubs f0, f7, f1 +/* 8008598C 000828EC D0 61 02 24 */ stfs f3, 0x224(r1) +/* 80085990 000828F0 D0 01 02 20 */ stfs f0, 0x220(r1) +/* 80085994 000828F4 D0 41 02 28 */ stfs f2, 0x228(r1) +lbl_80085998: +/* 80085998 000828F8 38 61 02 20 */ addi r3, r1, 0x220 +/* 8008599C 000828FC 48 28 ED 5D */ bl CanBeNormalized__9CVector3fCFv +/* 800859A0 00082900 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800859A4 00082904 41 82 12 DC */ beq lbl_80086C80 +/* 800859A8 00082908 38 61 02 20 */ addi r3, r1, 0x220 +/* 800859AC 0008290C 48 28 EF 4D */ bl Normalize__9CVector3fFv +/* 800859B0 00082910 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 800859B4 00082914 FC 20 F8 90 */ fmr f1, f31 +/* 800859B8 00082918 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 800859BC 0008291C 7F E3 FB 78 */ mr r3, r31 +/* 800859C0 00082920 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800859C4 00082924 7F C6 F3 78 */ mr r6, r30 +/* 800859C8 00082928 38 81 02 20 */ addi r4, r1, 0x220 +/* 800859CC 0008292C D0 01 01 54 */ stfs f0, 0x154(r1) +/* 800859D0 00082930 38 A1 01 54 */ addi r5, r1, 0x154 +/* 800859D4 00082934 D0 41 01 58 */ stfs f2, 0x158(r1) +/* 800859D8 00082938 D0 61 01 5C */ stfs f3, 0x15c(r1) +/* 800859DC 0008293C 48 00 31 01 */ bl UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager +/* 800859E0 00082940 48 00 12 A0 */ b lbl_80086C80 +lbl_800859E4: +/* 800859E4 00082944 80 1D 02 F8 */ lwz r0, 0x2f8(r29) +/* 800859E8 00082948 2C 00 00 00 */ cmpwi r0, 0 +/* 800859EC 0008294C 40 82 00 10 */ bne lbl_800859FC +/* 800859F0 00082950 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 800859F4 00082954 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800859F8 00082958 41 82 12 88 */ beq lbl_80086C80 +lbl_800859FC: +/* 800859FC 0008295C 38 61 03 A0 */ addi r3, r1, 0x3a0 +/* 80085A00 00082960 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80085A04 00082964 48 28 D1 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80085A08 00082968 C3 DF 00 60 */ lfs f30, 0x60(r31) +/* 80085A0C 0008296C 7F E3 FB 78 */ mr r3, r31 +/* 80085A10 00082970 C3 BF 00 50 */ lfs f29, 0x50(r31) +/* 80085A14 00082974 38 9F 02 64 */ addi r4, r31, 0x264 +/* 80085A18 00082978 C3 9F 00 40 */ lfs f28, 0x40(r31) +/* 80085A1C 0008297C 48 00 59 F5 */ bl "CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>" +/* 80085A20 00082980 90 7F 02 C4 */ stw r3, 0x2c4(r31) +/* 80085A24 00082984 7F E3 FB 78 */ mr r3, r31 +/* 80085A28 00082988 38 9F 02 74 */ addi r4, r31, 0x274 +/* 80085A2C 0008298C 48 00 59 E5 */ bl "CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>" +/* 80085A30 00082990 90 7F 02 C8 */ stw r3, 0x2c8(r31) +/* 80085A34 00082994 7F E3 FB 78 */ mr r3, r31 +/* 80085A38 00082998 38 9F 02 84 */ addi r4, r31, 0x284 +/* 80085A3C 0008299C 48 00 59 D5 */ bl "CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>" +/* 80085A40 000829A0 90 7F 02 CC */ stw r3, 0x2cc(r31) +/* 80085A44 000829A4 38 61 02 14 */ addi r3, r1, 0x214 +/* 80085A48 000829A8 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80085A4C 000829AC C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80085A50 000829B0 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 80085A54 000829B4 FF 20 00 90 */ fmr f25, f0 +/* 80085A58 000829B8 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 80085A5C 000829BC C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80085A60 000829C0 EC A3 08 28 */ fsubs f5, f3, f1 +/* 80085A64 000829C4 C0 61 02 30 */ lfs f3, 0x230(r1) +/* 80085A68 000829C8 C0 21 02 2C */ lfs f1, 0x22c(r1) +/* 80085A6C 000829CC EC 64 18 28 */ fsubs f3, f4, f3 +/* 80085A70 000829D0 D0 A1 02 1C */ stfs f5, 0x21c(r1) +/* 80085A74 000829D4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80085A78 000829D8 D0 01 02 08 */ stfs f0, 0x208(r1) +/* 80085A7C 000829DC D0 21 02 14 */ stfs f1, 0x214(r1) +/* 80085A80 000829E0 D0 61 02 18 */ stfs f3, 0x218(r1) +/* 80085A84 000829E4 D0 01 02 0C */ stfs f0, 0x20c(r1) +/* 80085A88 000829E8 D0 A1 02 10 */ stfs f5, 0x210(r1) +/* 80085A8C 000829EC D0 01 02 1C */ stfs f0, 0x21c(r1) +/* 80085A90 000829F0 48 28 EC 69 */ bl CanBeNormalized__9CVector3fCFv +/* 80085A94 000829F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80085A98 000829F8 41 82 00 14 */ beq lbl_80085AAC +/* 80085A9C 000829FC 38 61 02 14 */ addi r3, r1, 0x214 +/* 80085AA0 00082A00 48 28 EE 19 */ bl Magnitude__9CVector3fCFv +/* 80085AA4 00082A04 FF 20 08 90 */ fmr f25, f1 +/* 80085AA8 00082A08 48 00 00 28 */ b lbl_80085AD0 +lbl_80085AAC: +/* 80085AAC 00082A0C C0 5D 05 14 */ lfs f2, 0x514(r29) +/* 80085AB0 00082A10 C0 3D 05 10 */ lfs f1, 0x510(r29) +/* 80085AB4 00082A14 C0 1D 05 0C */ lfs f0, 0x50c(r29) +/* 80085AB8 00082A18 FC 40 10 50 */ fneg f2, f2 +/* 80085ABC 00082A1C FC 20 08 50 */ fneg f1, f1 +/* 80085AC0 00082A20 FC 00 00 50 */ fneg f0, f0 +/* 80085AC4 00082A24 D0 41 02 1C */ stfs f2, 0x21c(r1) +/* 80085AC8 00082A28 D0 01 02 14 */ stfs f0, 0x214(r1) +/* 80085ACC 00082A2C D0 21 02 18 */ stfs f1, 0x218(r1) +lbl_80085AD0: +/* 80085AD0 00082A30 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80085AD4 00082A34 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80085AD8 00082A38 C0 01 02 0C */ lfs f0, 0x20c(r1) +/* 80085ADC 00082A3C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80085AE0 00082A40 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80085AE4 00082A44 38 61 03 70 */ addi r3, r1, 0x370 +/* 80085AE8 00082A48 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80085AEC 00082A4C C0 41 02 10 */ lfs f2, 0x210(r1) +/* 80085AF0 00082A50 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80085AF4 00082A54 C0 01 02 08 */ lfs f0, 0x208(r1) +/* 80085AF8 00082A58 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80085AFC 00082A5C D0 81 02 0C */ stfs f4, 0x20c(r1) +/* 80085B00 00082A60 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80085B04 00082A64 D0 41 02 10 */ stfs f2, 0x210(r1) +/* 80085B08 00082A68 D0 01 02 08 */ stfs f0, 0x208(r1) +/* 80085B0C 00082A6C 48 28 D0 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80085B10 00082A70 C0 21 02 0C */ lfs f1, 0x20c(r1) +/* 80085B14 00082A74 38 61 01 48 */ addi r3, r1, 0x148 +/* 80085B18 00082A78 C0 01 02 30 */ lfs f0, 0x230(r1) +/* 80085B1C 00082A7C C0 41 02 10 */ lfs f2, 0x210(r1) +/* 80085B20 00082A80 EC 61 00 28 */ fsubs f3, f1, f0 +/* 80085B24 00082A84 C0 01 02 34 */ lfs f0, 0x234(r1) +/* 80085B28 00082A88 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 80085B2C 00082A8C EC 42 00 28 */ fsubs f2, f2, f0 +/* 80085B30 00082A90 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 80085B34 00082A94 D0 61 01 40 */ stfs f3, 0x140(r1) +/* 80085B38 00082A98 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80085B3C 00082A9C D0 41 01 44 */ stfs f2, 0x144(r1) +/* 80085B40 00082AA0 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 80085B44 00082AA4 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 80085B48 00082AA8 D0 61 01 4C */ stfs f3, 0x14c(r1) +/* 80085B4C 00082AAC D0 41 01 50 */ stfs f2, 0x150(r1) +/* 80085B50 00082AB0 48 28 EB A9 */ bl CanBeNormalized__9CVector3fCFv +/* 80085B54 00082AB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80085B58 00082AB8 41 82 00 28 */ beq lbl_80085B80 +/* 80085B5C 00082ABC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 80085B60 00082AC0 38 61 02 E0 */ addi r3, r1, 0x2e0 +/* 80085B64 00082AC4 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 80085B68 00082AC8 38 A1 02 08 */ addi r5, r1, 0x208 +/* 80085B6C 00082ACC 38 81 02 2C */ addi r4, r1, 0x22c +/* 80085B70 00082AD0 48 28 DF A1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80085B74 00082AD4 38 61 03 70 */ addi r3, r1, 0x370 +/* 80085B78 00082AD8 38 81 02 E0 */ addi r4, r1, 0x2e0 +/* 80085B7C 00082ADC 48 28 CF C5 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80085B80: +/* 80085B80 00082AE0 C0 62 89 E4 */ lfs f3, lbl_805AA704@sda21(r2) +/* 80085B84 00082AE4 FC 40 C8 90 */ fmr f2, f25 +/* 80085B88 00082AE8 C0 1F 03 08 */ lfs f0, 0x308(r31) +/* 80085B8C 00082AEC 38 7F 02 14 */ addi r3, r31, 0x214 +/* 80085B90 00082AF0 C0 3F 01 90 */ lfs f1, 0x190(r31) +/* 80085B94 00082AF4 EC 03 00 2A */ fadds f0, f3, f0 +/* 80085B98 00082AF8 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 80085B9C 00082AFC 4B FD 7C 9D */ bl ApplyDistanceSpring__13CCameraSpringFfff +/* 80085BA0 00082B00 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80085BA4 00082B04 38 61 01 FC */ addi r3, r1, 0x1fc +/* 80085BA8 00082B08 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 80085BAC 00082B0C C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 80085BB0 00082B10 C0 61 02 30 */ lfs f3, 0x230(r1) +/* 80085BB4 00082B14 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 80085BB8 00082B18 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80085BBC 00082B1C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80085BC0 00082B20 C0 21 02 2C */ lfs f1, 0x22c(r1) +/* 80085BC4 00082B24 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80085BC8 00082B28 D0 81 02 04 */ stfs f4, 0x204(r1) +/* 80085BCC 00082B2C EC 21 00 28 */ fsubs f1, f1, f0 +/* 80085BD0 00082B30 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80085BD4 00082B34 D0 41 02 00 */ stfs f2, 0x200(r1) +/* 80085BD8 00082B38 D0 21 01 FC */ stfs f1, 0x1fc(r1) +/* 80085BDC 00082B3C D0 01 02 04 */ stfs f0, 0x204(r1) +/* 80085BE0 00082B40 48 28 EB 19 */ bl CanBeNormalized__9CVector3fCFv +/* 80085BE4 00082B44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80085BE8 00082B48 41 82 00 C0 */ beq lbl_80085CA8 +/* 80085BEC 00082B4C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 80085BF0 00082B50 48 28 ED 09 */ bl Normalize__9CVector3fFv +/* 80085BF4 00082B54 C0 21 02 00 */ lfs f1, 0x200(r1) +/* 80085BF8 00082B58 C0 1D 05 10 */ lfs f0, 0x510(r29) +/* 80085BFC 00082B5C C0 41 01 FC */ lfs f2, 0x1fc(r1) +/* 80085C00 00082B60 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80085C04 00082B64 C0 3D 05 0C */ lfs f1, 0x50c(r29) +/* 80085C08 00082B68 C0 81 02 04 */ lfs f4, 0x204(r1) +/* 80085C0C 00082B6C C0 7D 05 14 */ lfs f3, 0x514(r29) +/* 80085C10 00082B70 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80085C14 00082B74 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80085C18 00082B78 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80085C1C 00082B7C FC 40 0A 10 */ fabs f2, f1 +/* 80085C20 00082B80 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80085C24 00082B84 40 81 00 14 */ ble lbl_80085C38 +/* 80085C28 00082B88 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80085C2C 00082B8C C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 80085C30 00082B90 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 80085C34 00082B94 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_80085C38: +/* 80085C38 00082B98 48 30 EF F5 */ bl acos +/* 80085C3C 00082B9C FC 20 08 18 */ frsp f1, f1 +/* 80085C40 00082BA0 C0 02 8A 28 */ lfs f0, lbl_805AA748@sda21(r2) +/* 80085C44 00082BA4 FC 20 0A 10 */ fabs f1, f1 +/* 80085C48 00082BA8 FC 20 08 18 */ frsp f1, f1 +/* 80085C4C 00082BAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80085C50 00082BB0 40 81 00 58 */ ble lbl_80085CA8 +/* 80085C54 00082BB4 C0 1D 01 38 */ lfs f0, 0x138(r29) +/* 80085C58 00082BB8 38 61 01 F0 */ addi r3, r1, 0x1f0 +/* 80085C5C 00082BBC D0 01 01 F0 */ stfs f0, 0x1f0(r1) +/* 80085C60 00082BC0 C0 1D 01 3C */ lfs f0, 0x13c(r29) +/* 80085C64 00082BC4 D0 01 01 F4 */ stfs f0, 0x1f4(r1) +/* 80085C68 00082BC8 C0 1D 01 40 */ lfs f0, 0x140(r29) +/* 80085C6C 00082BCC D0 01 01 F8 */ stfs f0, 0x1f8(r1) +/* 80085C70 00082BD0 48 28 EA 89 */ bl CanBeNormalized__9CVector3fCFv +/* 80085C74 00082BD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80085C78 00082BD8 41 82 00 30 */ beq lbl_80085CA8 +/* 80085C7C 00082BDC C0 BF 01 90 */ lfs f5, 0x190(r31) +/* 80085C80 00082BE0 FC 40 C8 90 */ fmr f2, f25 +/* 80085C84 00082BE4 C0 3F 01 9C */ lfs f1, 0x19c(r31) +/* 80085C88 00082BE8 38 7F 02 14 */ addi r3, r31, 0x214 +/* 80085C8C 00082BEC C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) +/* 80085C90 00082BF0 EC 21 28 28 */ fsubs f1, f1, f5 +/* 80085C94 00082BF4 C0 9F 03 08 */ lfs f4, 0x308(r31) +/* 80085C98 00082BF8 EC 60 07 F2 */ fmuls f3, f0, f31 +/* 80085C9C 00082BFC EC 24 28 7A */ fmadds f1, f4, f1, f5 +/* 80085CA0 00082C00 4B FD 7B 99 */ bl ApplyDistanceSpring__13CCameraSpringFfff +/* 80085CA4 00082C04 D0 21 00 2C */ stfs f1, 0x2c(r1) +lbl_80085CA8: +/* 80085CA8 00082C08 7F E4 FB 78 */ mr r4, r31 +/* 80085CAC 00082C0C 7F C6 F3 78 */ mr r6, r30 +/* 80085CB0 00082C10 38 61 02 38 */ addi r3, r1, 0x238 +/* 80085CB4 00082C14 38 BF 02 84 */ addi r5, r31, 0x284 +/* 80085CB8 00082C18 48 00 56 65 */ bl "CalculateCollidersBoundingBox__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RC13CStateManager" +/* 80085CBC 00082C1C 80 C1 02 38 */ lwz r6, 0x238(r1) +/* 80085CC0 00082C20 38 00 00 00 */ li r0, 0 +/* 80085CC4 00082C24 80 A1 02 3C */ lwz r5, 0x23c(r1) +/* 80085CC8 00082C28 7F C3 F3 78 */ mr r3, r30 +/* 80085CCC 00082C2C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80085CD0 00082C30 90 DF 03 34 */ stw r6, 0x334(r31) +/* 80085CD4 00082C34 90 BF 03 38 */ stw r5, 0x338(r31) +/* 80085CD8 00082C38 80 A1 02 40 */ lwz r5, 0x240(r1) +/* 80085CDC 00082C3C 90 BF 03 3C */ stw r5, 0x33c(r31) +/* 80085CE0 00082C40 80 C1 02 44 */ lwz r6, 0x244(r1) +/* 80085CE4 00082C44 80 A1 02 48 */ lwz r5, 0x248(r1) +/* 80085CE8 00082C48 90 DF 03 40 */ stw r6, 0x340(r31) +/* 80085CEC 00082C4C 90 BF 03 44 */ stw r5, 0x344(r31) +/* 80085CF0 00082C50 80 A1 02 4C */ lwz r5, 0x24c(r1) +/* 80085CF4 00082C54 90 BF 03 48 */ stw r5, 0x348(r31) +/* 80085CF8 00082C58 90 01 03 D0 */ stw r0, 0x3d0(r1) +/* 80085CFC 00082C5C A0 1F 04 6C */ lhz r0, 0x46c(r31) +/* 80085D00 00082C60 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80085D04 00082C64 4B FC 68 A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80085D08 00082C68 7C 64 1B 78 */ mr r4, r3 +/* 80085D0C 00082C6C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80085D10 00082C70 48 02 9F 81 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80085D14 00082C74 3C 80 80 47 */ lis r4, lbl_8046C408@ha +/* 80085D18 00082C78 80 E3 00 04 */ lwz r7, 4(r3) +/* 80085D1C 00082C7C 38 C4 C4 08 */ addi r6, r4, lbl_8046C408@l +/* 80085D20 00082C80 7F C3 F3 78 */ mr r3, r30 +/* 80085D24 00082C84 38 81 03 D0 */ addi r4, r1, 0x3d0 +/* 80085D28 00082C88 38 BF 03 34 */ addi r5, r31, 0x334 +/* 80085D2C 00082C8C 4B FC 69 F5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80085D30 00082C90 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 80085D34 00082C94 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80085D38 00082C98 40 82 01 1C */ bne lbl_80085E54 +/* 80085D3C 00082C9C A0 7F 03 68 */ lhz r3, 0x368(r31) +/* 80085D40 00082CA0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80085D44 00082CA4 7C 03 00 40 */ cmplw r3, r0 +/* 80085D48 00082CA8 40 82 01 0C */ bne lbl_80085E54 +/* 80085D4C 00082CAC C0 3F 03 4C */ lfs f1, 0x34c(r31) +/* 80085D50 00082CB0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80085D54 00082CB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80085D58 00082CB8 41 81 00 58 */ bgt lbl_80085DB0 +/* 80085D5C 00082CBC 80 BF 03 50 */ lwz r5, 0x350(r31) +/* 80085D60 00082CC0 38 80 00 00 */ li r4, 0 +/* 80085D64 00082CC4 80 DF 03 54 */ lwz r6, 0x354(r31) +/* 80085D68 00082CC8 3C 60 80 00 */ lis r3, 0x8000 +/* 80085D6C 00082CCC 7C A0 20 38 */ and r0, r5, r4 +/* 80085D70 00082CD0 7C C3 18 38 */ and r3, r6, r3 +/* 80085D74 00082CD4 7C 63 22 78 */ xor r3, r3, r4 +/* 80085D78 00082CD8 7C 00 22 78 */ xor r0, r0, r4 +/* 80085D7C 00082CDC 7C 60 03 79 */ or. r0, r3, r0 +/* 80085D80 00082CE0 41 82 00 08 */ beq lbl_80085D88 +/* 80085D84 00082CE4 38 80 00 01 */ li r4, 1 +lbl_80085D88: +/* 80085D88 00082CE8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80085D8C 00082CEC 40 82 00 24 */ bne lbl_80085DB0 +/* 80085D90 00082CF0 3C 00 40 00 */ lis r0, 0x4000 +/* 80085D94 00082CF4 38 80 00 00 */ li r4, 0 +/* 80085D98 00082CF8 7C C3 00 38 */ and r3, r6, r0 +/* 80085D9C 00082CFC 7C A0 20 38 */ and r0, r5, r4 +/* 80085DA0 00082D00 7C 63 22 78 */ xor r3, r3, r4 +/* 80085DA4 00082D04 7C 00 22 78 */ xor r0, r0, r4 +/* 80085DA8 00082D08 7C 60 03 79 */ or. r0, r3, r0 +/* 80085DAC 00082D0C 41 82 01 40 */ beq lbl_80085EEC +lbl_80085DB0: +/* 80085DB0 00082D10 C0 22 89 E0 */ lfs f1, lbl_805AA700@sda21(r2) +/* 80085DB4 00082D14 C0 1F 03 2C */ lfs f0, 0x32c(r31) +/* 80085DB8 00082D18 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 80085DBC 00082D1C D0 1F 03 2C */ stfs f0, 0x32c(r31) +/* 80085DC0 00082D20 C0 1F 03 2C */ lfs f0, 0x32c(r31) +/* 80085DC4 00082D24 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80085DC8 00082D28 40 80 00 08 */ bge lbl_80085DD0 +/* 80085DCC 00082D2C D0 3F 03 2C */ stfs f1, 0x32c(r31) +lbl_80085DD0: +/* 80085DD0 00082D30 C0 3F 03 2C */ lfs f1, 0x32c(r31) +/* 80085DD4 00082D34 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 80085DD8 00082D38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80085DDC 00082D3C 40 81 00 08 */ ble lbl_80085DE4 +/* 80085DE0 00082D40 D0 1F 03 2C */ stfs f0, 0x32c(r31) +lbl_80085DE4: +/* 80085DE4 00082D44 C0 42 8A 2C */ lfs f2, lbl_805AA74C@sda21(r2) +/* 80085DE8 00082D48 7F E3 FB 78 */ mr r3, r31 +/* 80085DEC 00082D4C C0 3F 03 2C */ lfs f1, 0x32c(r31) +/* 80085DF0 00082D50 38 9F 02 64 */ addi r4, r31, 0x264 +/* 80085DF4 00082D54 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) +/* 80085DF8 00082D58 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80085DFC 00082D5C C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) +/* 80085E00 00082D60 EC 41 00 32 */ fmuls f2, f1, f0 +/* 80085E04 00082D64 48 00 60 C5 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" +/* 80085E08 00082D68 C0 42 8A 34 */ lfs f2, lbl_805AA754@sda21(r2) +/* 80085E0C 00082D6C 7F E3 FB 78 */ mr r3, r31 +/* 80085E10 00082D70 C0 3F 03 2C */ lfs f1, 0x32c(r31) +/* 80085E14 00082D74 38 9F 02 74 */ addi r4, r31, 0x274 +/* 80085E18 00082D78 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) +/* 80085E1C 00082D7C EC 22 00 72 */ fmuls f1, f2, f1 +/* 80085E20 00082D80 C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) +/* 80085E24 00082D84 EC 41 00 32 */ fmuls f2, f1, f0 +/* 80085E28 00082D88 48 00 60 A1 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" +/* 80085E2C 00082D8C C0 42 8A 38 */ lfs f2, lbl_805AA758@sda21(r2) +/* 80085E30 00082D90 7F E3 FB 78 */ mr r3, r31 +/* 80085E34 00082D94 C0 3F 03 2C */ lfs f1, 0x32c(r31) +/* 80085E38 00082D98 38 9F 02 84 */ addi r4, r31, 0x284 +/* 80085E3C 00082D9C C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) +/* 80085E40 00082DA0 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80085E44 00082DA4 C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) +/* 80085E48 00082DA8 EC 41 00 32 */ fmuls f2, f1, f0 +/* 80085E4C 00082DAC 48 00 60 7D */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" +/* 80085E50 00082DB0 48 00 00 9C */ b lbl_80085EEC +lbl_80085E54: +/* 80085E54 00082DB4 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 80085E58 00082DB8 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80085E5C 00082DBC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80085E60 00082DC0 41 82 00 14 */ beq lbl_80085E74 +/* 80085E64 00082DC4 C0 1D 04 F8 */ lfs f0, 0x4f8(r29) +/* 80085E68 00082DC8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80085E6C 00082DCC 40 80 00 08 */ bge lbl_80085E74 +/* 80085E70 00082DD0 C0 22 8A 04 */ lfs f1, lbl_805AA724@sda21(r2) +lbl_80085E74: +/* 80085E74 00082DD4 C0 5F 03 2C */ lfs f2, 0x32c(r31) +/* 80085E78 00082DD8 7F E3 FB 78 */ mr r3, r31 +/* 80085E7C 00082DDC C0 82 89 E0 */ lfs f4, lbl_805AA700@sda21(r2) +/* 80085E80 00082DE0 38 9F 02 64 */ addi r4, r31, 0x264 +/* 80085E84 00082DE4 EC 01 10 28 */ fsubs f0, f1, f2 +/* 80085E88 00082DE8 C0 22 8A 2C */ lfs f1, lbl_805AA74C@sda21(r2) +/* 80085E8C 00082DEC C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) +/* 80085E90 00082DF0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80085E94 00082DF4 EC 04 10 3A */ fmadds f0, f4, f0, f2 +/* 80085E98 00082DF8 D0 1F 03 2C */ stfs f0, 0x32c(r31) +/* 80085E9C 00082DFC C0 1F 03 2C */ lfs f0, 0x32c(r31) +/* 80085EA0 00082E00 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80085EA4 00082E04 FC 40 08 90 */ fmr f2, f1 +/* 80085EA8 00082E08 48 00 60 21 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" +/* 80085EAC 00082E0C C0 22 8A 34 */ lfs f1, lbl_805AA754@sda21(r2) +/* 80085EB0 00082E10 7F E3 FB 78 */ mr r3, r31 +/* 80085EB4 00082E14 C0 1F 03 2C */ lfs f0, 0x32c(r31) +/* 80085EB8 00082E18 38 9F 02 74 */ addi r4, r31, 0x274 +/* 80085EBC 00082E1C C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) +/* 80085EC0 00082E20 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80085EC4 00082E24 FC 40 08 90 */ fmr f2, f1 +/* 80085EC8 00082E28 48 00 60 01 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" +/* 80085ECC 00082E2C C0 22 8A 38 */ lfs f1, lbl_805AA758@sda21(r2) +/* 80085ED0 00082E30 7F E3 FB 78 */ mr r3, r31 +/* 80085ED4 00082E34 C0 1F 03 2C */ lfs f0, 0x32c(r31) +/* 80085ED8 00082E38 38 9F 02 84 */ addi r4, r31, 0x284 +/* 80085EDC 00082E3C C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) +/* 80085EE0 00082E40 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80085EE4 00082E44 FC 40 08 90 */ fmr f2, f1 +/* 80085EE8 00082E48 48 00 5F E1 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" +lbl_80085EEC: +/* 80085EEC 00082E4C C0 1F 01 A0 */ lfs f0, 0x1a0(r31) +/* 80085EF0 00082E50 FC 20 F8 90 */ fmr f1, f31 +/* 80085EF4 00082E54 7F E3 FB 78 */ mr r3, r31 +/* 80085EF8 00082E58 7F C6 F3 78 */ mr r6, r30 +/* 80085EFC 00082E5C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80085F00 00082E60 38 81 00 28 */ addi r4, r1, 0x28 +/* 80085F04 00082E64 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80085F08 00082E68 3B 60 00 01 */ li r27, 1 +/* 80085F0C 00082E6C 48 00 37 C1 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +/* 80085F10 00082E70 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80085F14 00082E74 41 82 00 08 */ beq lbl_80085F1C +/* 80085F18 00082E78 3B 60 00 00 */ li r27, 0 +lbl_80085F1C: +/* 80085F1C 00082E7C C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 80085F20 00082E80 38 61 01 30 */ addi r3, r1, 0x130 +/* 80085F24 00082E84 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 80085F28 00082E88 38 81 03 70 */ addi r4, r1, 0x370 +/* 80085F2C 00082E8C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80085F30 00082E90 38 A1 01 E4 */ addi r5, r1, 0x1e4 +/* 80085F34 00082E94 D0 41 01 E4 */ stfs f2, 0x1e4(r1) +/* 80085F38 00082E98 D0 21 01 E8 */ stfs f1, 0x1e8(r1) +/* 80085F3C 00082E9C D0 01 01 EC */ stfs f0, 0x1ec(r1) +/* 80085F40 00082EA0 48 28 CB 41 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80085F44 00082EA4 C0 41 01 30 */ lfs f2, 0x130(r1) +/* 80085F48 00082EA8 7F C3 F3 78 */ mr r3, r30 +/* 80085F4C 00082EAC C0 21 01 34 */ lfs f1, 0x134(r1) +/* 80085F50 00082EB0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80085F54 00082EB4 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 80085F58 00082EB8 D0 41 01 E4 */ stfs f2, 0x1e4(r1) +/* 80085F5C 00082EBC D0 21 01 E8 */ stfs f1, 0x1e8(r1) +/* 80085F60 00082EC0 D0 01 01 EC */ stfs f0, 0x1ec(r1) +/* 80085F64 00082EC4 A0 1F 03 DC */ lhz r0, 0x3dc(r31) +/* 80085F68 00082EC8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80085F6C 00082ECC 4B FC 66 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80085F70 00082ED0 7C 64 1B 78 */ mr r4, r3 +/* 80085F74 00082ED4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80085F78 00082ED8 48 02 41 79 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 80085F7C 00082EDC 80 63 00 04 */ lwz r3, 4(r3) +/* 80085F80 00082EE0 28 03 00 00 */ cmplwi r3, 0 +/* 80085F84 00082EE4 41 82 00 14 */ beq lbl_80085F98 +/* 80085F88 00082EE8 41 82 02 58 */ beq lbl_800861E0 +/* 80085F8C 00082EEC 88 03 02 A8 */ lbz r0, 0x2a8(r3) +/* 80085F90 00082EF0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80085F94 00082EF4 40 82 02 4C */ bne lbl_800861E0 +lbl_80085F98: +/* 80085F98 00082EF8 80 1F 04 00 */ lwz r0, 0x400(r31) +/* 80085F9C 00082EFC 2C 00 00 03 */ cmpwi r0, 3 +/* 80085FA0 00082F00 40 82 01 10 */ bne lbl_800860B0 +/* 80085FA4 00082F04 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80085FA8 00082F08 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 80085FAC 00082F0C C0 01 02 30 */ lfs f0, 0x230(r1) +/* 80085FB0 00082F10 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80085FB4 00082F14 C0 41 02 34 */ lfs f2, 0x234(r1) +/* 80085FB8 00082F18 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80085FBC 00082F1C C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80085FC0 00082F20 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 80085FC4 00082F24 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80085FC8 00082F28 D0 81 01 DC */ stfs f4, 0x1dc(r1) +/* 80085FCC 00082F2C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80085FD0 00082F30 D0 41 01 E0 */ stfs f2, 0x1e0(r1) +/* 80085FD4 00082F34 D0 01 01 D8 */ stfs f0, 0x1d8(r1) +/* 80085FD8 00082F38 48 28 E7 21 */ bl CanBeNormalized__9CVector3fCFv +/* 80085FDC 00082F3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80085FE0 00082F40 41 82 00 10 */ beq lbl_80085FF0 +/* 80085FE4 00082F44 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 80085FE8 00082F48 48 28 E9 11 */ bl Normalize__9CVector3fFv +/* 80085FEC 00082F4C 48 00 00 1C */ b lbl_80086008 +lbl_80085FF0: +/* 80085FF0 00082F50 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80085FF4 00082F54 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 80085FF8 00082F58 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80085FFC 00082F5C D0 01 01 D8 */ stfs f0, 0x1d8(r1) +/* 80086000 00082F60 D0 21 01 DC */ stfs f1, 0x1dc(r1) +/* 80086004 00082F64 D0 41 01 E0 */ stfs f2, 0x1e0(r1) +lbl_80086008: +/* 80086008 00082F68 C0 3F 04 30 */ lfs f1, 0x430(r31) +/* 8008600C 00082F6C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80086010 00082F70 EC 39 08 28 */ fsubs f1, f25, f1 +/* 80086014 00082F74 FC 20 0A 10 */ fabs f1, f1 +/* 80086018 00082F78 FC 20 08 18 */ frsp f1, f1 +/* 8008601C 00082F7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80086020 00082F80 40 80 00 40 */ bge lbl_80086060 +/* 80086024 00082F84 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 80086028 00082F88 FC 60 F8 90 */ fmr f3, f31 +/* 8008602C 00082F8C 7F E4 FB 78 */ mr r4, r31 +/* 80086030 00082F90 7F A5 EB 78 */ mr r5, r29 +/* 80086034 00082F94 C0 23 01 AC */ lfs f1, 0x1ac(r3) +/* 80086038 00082F98 7F C6 F3 78 */ mr r6, r30 +/* 8008603C 00082F9C C0 43 01 B0 */ lfs f2, 0x1b0(r3) +/* 80086040 00082FA0 38 61 01 24 */ addi r3, r1, 0x124 +/* 80086044 00082FA4 48 00 33 31 */ bl ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager +/* 80086048 00082FA8 C0 41 01 24 */ lfs f2, 0x124(r1) +/* 8008604C 00082FAC C0 21 01 28 */ lfs f1, 0x128(r1) +/* 80086050 00082FB0 C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 80086054 00082FB4 D0 41 01 D8 */ stfs f2, 0x1d8(r1) +/* 80086058 00082FB8 D0 21 01 DC */ stfs f1, 0x1dc(r1) +/* 8008605C 00082FBC D0 01 01 E0 */ stfs f0, 0x1e0(r1) +lbl_80086060: +/* 80086060 00082FC0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80086064 00082FC4 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 80086068 00082FC8 D0 01 01 E0 */ stfs f0, 0x1e0(r1) +/* 8008606C 00082FCC 48 28 E8 8D */ bl Normalize__9CVector3fFv +/* 80086070 00082FD0 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 80086074 00082FD4 3B 60 00 00 */ li r27, 0 +/* 80086078 00082FD8 C0 01 01 E0 */ lfs f0, 0x1e0(r1) +/* 8008607C 00082FDC C0 61 01 D8 */ lfs f3, 0x1d8(r1) +/* 80086080 00082FE0 EC 20 01 32 */ fmuls f1, f0, f4 +/* 80086084 00082FE4 C0 41 01 DC */ lfs f2, 0x1dc(r1) +/* 80086088 00082FE8 EC 63 01 32 */ fmuls f3, f3, f4 +/* 8008608C 00082FEC C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80086090 00082FF0 EC 42 01 32 */ fmuls f2, f2, f4 +/* 80086094 00082FF4 D0 21 01 E0 */ stfs f1, 0x1e0(r1) +/* 80086098 00082FF8 D0 61 01 D8 */ stfs f3, 0x1d8(r1) +/* 8008609C 00082FFC D0 41 01 DC */ stfs f2, 0x1dc(r1) +/* 800860A0 00083000 D0 01 01 E0 */ stfs f0, 0x1e0(r1) +/* 800860A4 00083004 D0 61 01 E4 */ stfs f3, 0x1e4(r1) +/* 800860A8 00083008 D0 41 01 E8 */ stfs f2, 0x1e8(r1) +/* 800860AC 0008300C D0 01 01 EC */ stfs f0, 0x1ec(r1) +lbl_800860B0: +/* 800860B0 00083010 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 800860B4 00083014 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800860B8 00083018 41 82 01 28 */ beq lbl_800861E0 +/* 800860BC 0008301C 80 1F 04 00 */ lwz r0, 0x400(r31) +/* 800860C0 00083020 2C 00 00 02 */ cmpwi r0, 2 +/* 800860C4 00083024 41 82 00 10 */ beq lbl_800860D4 +/* 800860C8 00083028 80 1F 01 88 */ lwz r0, 0x188(r31) +/* 800860CC 0008302C 2C 00 00 01 */ cmpwi r0, 1 +/* 800860D0 00083030 40 82 01 10 */ bne lbl_800861E0 +lbl_800860D4: +/* 800860D4 00083034 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 800860D8 00083038 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800860DC 0008303C C0 01 02 30 */ lfs f0, 0x230(r1) +/* 800860E0 00083040 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 800860E4 00083044 C0 41 02 34 */ lfs f2, 0x234(r1) +/* 800860E8 00083048 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800860EC 0008304C C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 800860F0 00083050 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 800860F4 00083054 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800860F8 00083058 D0 81 01 D0 */ stfs f4, 0x1d0(r1) +/* 800860FC 0008305C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80086100 00083060 D0 41 01 D4 */ stfs f2, 0x1d4(r1) +/* 80086104 00083064 D0 01 01 CC */ stfs f0, 0x1cc(r1) +/* 80086108 00083068 48 28 E5 F1 */ bl CanBeNormalized__9CVector3fCFv +/* 8008610C 0008306C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80086110 00083070 41 82 00 10 */ beq lbl_80086120 +/* 80086114 00083074 38 61 01 CC */ addi r3, r1, 0x1cc +/* 80086118 00083078 48 28 E7 E1 */ bl Normalize__9CVector3fFv +/* 8008611C 0008307C 48 00 00 1C */ b lbl_80086138 +lbl_80086120: +/* 80086120 00083080 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80086124 00083084 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 80086128 00083088 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8008612C 0008308C D0 01 01 CC */ stfs f0, 0x1cc(r1) +/* 80086130 00083090 D0 21 01 D0 */ stfs f1, 0x1d0(r1) +/* 80086134 00083094 D0 41 01 D4 */ stfs f2, 0x1d4(r1) +lbl_80086138: +/* 80086138 00083098 C0 3F 04 04 */ lfs f1, 0x404(r31) +/* 8008613C 0008309C C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) +/* 80086140 000830A0 EC 39 08 28 */ fsubs f1, f25, f1 +/* 80086144 000830A4 FC 20 0A 10 */ fabs f1, f1 +/* 80086148 000830A8 FC 20 08 18 */ frsp f1, f1 +/* 8008614C 000830AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80086150 000830B0 40 80 00 40 */ bge lbl_80086190 +/* 80086154 000830B4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 80086158 000830B8 FC 60 F8 90 */ fmr f3, f31 +/* 8008615C 000830BC 7F E4 FB 78 */ mr r4, r31 +/* 80086160 000830C0 7F A5 EB 78 */ mr r5, r29 +/* 80086164 000830C4 C0 23 01 80 */ lfs f1, 0x180(r3) +/* 80086168 000830C8 7F C6 F3 78 */ mr r6, r30 +/* 8008616C 000830CC C0 43 01 84 */ lfs f2, 0x184(r3) +/* 80086170 000830D0 38 61 01 18 */ addi r3, r1, 0x118 +/* 80086174 000830D4 48 00 32 01 */ bl ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager +/* 80086178 000830D8 C0 41 01 18 */ lfs f2, 0x118(r1) +/* 8008617C 000830DC C0 21 01 1C */ lfs f1, 0x11c(r1) +/* 80086180 000830E0 C0 01 01 20 */ lfs f0, 0x120(r1) +/* 80086184 000830E4 D0 41 01 CC */ stfs f2, 0x1cc(r1) +/* 80086188 000830E8 D0 21 01 D0 */ stfs f1, 0x1d0(r1) +/* 8008618C 000830EC D0 01 01 D4 */ stfs f0, 0x1d4(r1) +lbl_80086190: +/* 80086190 000830F0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80086194 000830F4 38 61 01 CC */ addi r3, r1, 0x1cc +/* 80086198 000830F8 D0 01 01 D4 */ stfs f0, 0x1d4(r1) +/* 8008619C 000830FC 48 28 E7 5D */ bl Normalize__9CVector3fFv +/* 800861A0 00083100 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 800861A4 00083104 3B 60 00 00 */ li r27, 0 +/* 800861A8 00083108 C0 01 01 D4 */ lfs f0, 0x1d4(r1) +/* 800861AC 0008310C C0 61 01 CC */ lfs f3, 0x1cc(r1) +/* 800861B0 00083110 EC 20 01 32 */ fmuls f1, f0, f4 +/* 800861B4 00083114 C0 41 01 D0 */ lfs f2, 0x1d0(r1) +/* 800861B8 00083118 EC 63 01 32 */ fmuls f3, f3, f4 +/* 800861BC 0008311C C0 02 8A 3C */ lfs f0, lbl_805AA75C@sda21(r2) +/* 800861C0 00083120 EC 42 01 32 */ fmuls f2, f2, f4 +/* 800861C4 00083124 D0 21 01 D4 */ stfs f1, 0x1d4(r1) +/* 800861C8 00083128 D0 61 01 CC */ stfs f3, 0x1cc(r1) +/* 800861CC 0008312C D0 41 01 D0 */ stfs f2, 0x1d0(r1) +/* 800861D0 00083130 D0 01 01 D4 */ stfs f0, 0x1d4(r1) +/* 800861D4 00083134 D0 61 01 E4 */ stfs f3, 0x1e4(r1) +/* 800861D8 00083138 D0 41 01 E8 */ stfs f2, 0x1e8(r1) +/* 800861DC 0008313C D0 01 01 EC */ stfs f0, 0x1ec(r1) +lbl_800861E0: +/* 800861E0 00083140 80 1F 01 88 */ lwz r0, 0x188(r31) +/* 800861E4 00083144 2C 00 00 02 */ cmpwi r0, 2 +/* 800861E8 00083148 41 82 00 08 */ beq lbl_800861F0 +/* 800861EC 0008314C 48 00 00 EC */ b lbl_800862D8 +lbl_800861F0: +/* 800861F0 00083150 C0 5F 04 5C */ lfs f2, 0x45c(r31) +/* 800861F4 00083154 D0 41 01 E4 */ stfs f2, 0x1e4(r1) +/* 800861F8 00083158 C0 3F 04 60 */ lfs f1, 0x460(r31) +/* 800861FC 0008315C D0 21 01 E8 */ stfs f1, 0x1e8(r1) +/* 80086200 00083160 C0 1F 04 64 */ lfs f0, 0x464(r31) +/* 80086204 00083164 D0 01 01 EC */ stfs f0, 0x1ec(r1) +/* 80086208 00083168 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008620C 0008316C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80086210 00083170 41 82 00 C4 */ beq lbl_800862D4 +/* 80086214 00083174 D0 41 01 C0 */ stfs f2, 0x1c0(r1) +/* 80086218 00083178 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 8008621C 0008317C D0 21 01 C4 */ stfs f1, 0x1c4(r1) +/* 80086220 00083180 D0 01 01 C8 */ stfs f0, 0x1c8(r1) +/* 80086224 00083184 48 28 E4 D5 */ bl CanBeNormalized__9CVector3fCFv +/* 80086228 00083188 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008622C 0008318C 41 82 00 10 */ beq lbl_8008623C +/* 80086230 00083190 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 80086234 00083194 48 28 E6 C5 */ bl Normalize__9CVector3fFv +/* 80086238 00083198 48 00 00 28 */ b lbl_80086260 +lbl_8008623C: +/* 8008623C 0008319C C0 5D 05 14 */ lfs f2, 0x514(r29) +/* 80086240 000831A0 C0 3D 05 10 */ lfs f1, 0x510(r29) +/* 80086244 000831A4 C0 1D 05 0C */ lfs f0, 0x50c(r29) +/* 80086248 000831A8 FC 40 10 50 */ fneg f2, f2 +/* 8008624C 000831AC FC 20 08 50 */ fneg f1, f1 +/* 80086250 000831B0 FC 00 00 50 */ fneg f0, f0 +/* 80086254 000831B4 D0 41 01 C8 */ stfs f2, 0x1c8(r1) +/* 80086258 000831B8 D0 01 01 C0 */ stfs f0, 0x1c0(r1) +/* 8008625C 000831BC D0 21 01 C4 */ stfs f1, 0x1c4(r1) +lbl_80086260: +/* 80086260 000831C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80086264 000831C4 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80086268 000831C8 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 8008626C 000831CC C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 80086270 000831D0 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80086274 000831D4 7F C4 F3 78 */ mr r4, r30 +/* 80086278 000831D8 38 61 02 B0 */ addi r3, r1, 0x2b0 +/* 8008627C 000831DC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80086280 000831E0 38 C1 02 2C */ addi r6, r1, 0x22c +/* 80086284 000831E4 38 E1 01 C0 */ addi r7, r1, 0x1c0 +/* 80086288 000831E8 39 21 03 D0 */ addi r9, r1, 0x3d0 +/* 8008628C 000831EC 4B FC 6D 39 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80086290 000831F0 88 01 02 D0 */ lbz r0, 0x2d0(r1) +/* 80086294 000831F4 C0 81 02 B0 */ lfs f4, 0x2b0(r1) +/* 80086298 000831F8 28 00 00 00 */ cmplwi r0, 0 +/* 8008629C 000831FC 41 82 00 38 */ beq lbl_800862D4 +/* 800862A0 00083200 C0 41 01 C4 */ lfs f2, 0x1c4(r1) +/* 800862A4 00083204 C0 21 01 C8 */ lfs f1, 0x1c8(r1) +/* 800862A8 00083208 C0 01 01 C0 */ lfs f0, 0x1c0(r1) +/* 800862AC 0008320C EC 44 00 B2 */ fmuls f2, f4, f2 +/* 800862B0 00083210 C0 62 8A 20 */ lfs f3, lbl_805AA740@sda21(r2) +/* 800862B4 00083214 EC 24 00 72 */ fmuls f1, f4, f1 +/* 800862B8 00083218 EC 04 00 32 */ fmuls f0, f4, f0 +/* 800862BC 0008321C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800862C0 00083220 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800862C4 00083224 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800862C8 00083228 D0 41 01 E8 */ stfs f2, 0x1e8(r1) +/* 800862CC 0008322C D0 01 01 E4 */ stfs f0, 0x1e4(r1) +/* 800862D0 00083230 D0 21 01 EC */ stfs f1, 0x1ec(r1) +lbl_800862D4: +/* 800862D4 00083234 3B 60 00 00 */ li r27, 0 +lbl_800862D8: +/* 800862D8 00083238 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 800862DC 0008323C 48 28 E5 DD */ bl Magnitude__9CVector3fCFv +/* 800862E0 00083240 C0 41 02 2C */ lfs f2, 0x22c(r1) +/* 800862E4 00083244 7F C6 F3 78 */ mr r6, r30 +/* 800862E8 00083248 C0 01 01 E4 */ lfs f0, 0x1e4(r1) +/* 800862EC 0008324C 38 61 02 2C */ addi r3, r1, 0x22c +/* 800862F0 00083250 C0 61 02 30 */ lfs f3, 0x230(r1) +/* 800862F4 00083254 38 81 01 0C */ addi r4, r1, 0x10c +/* 800862F8 00083258 EC 82 00 2A */ fadds f4, f2, f0 +/* 800862FC 0008325C C0 41 01 E8 */ lfs f2, 0x1e8(r1) +/* 80086300 00083260 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80086304 00083264 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80086308 00083268 EC 63 10 2A */ fadds f3, f3, f2 +/* 8008630C 0008326C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80086310 00083270 C0 41 02 34 */ lfs f2, 0x234(r1) +/* 80086314 00083274 C0 21 01 EC */ lfs f1, 0x1ec(r1) +/* 80086318 00083278 D0 81 01 B4 */ stfs f4, 0x1b4(r1) +/* 8008631C 0008327C EC 42 08 2A */ fadds f2, f2, f1 +/* 80086320 00083280 C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) +/* 80086324 00083284 D0 61 01 B8 */ stfs f3, 0x1b8(r1) +/* 80086328 00083288 D0 41 01 BC */ stfs f2, 0x1bc(r1) +/* 8008632C 0008328C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80086330 00083290 D0 81 01 0C */ stfs f4, 0x10c(r1) +/* 80086334 00083294 D0 61 01 10 */ stfs f3, 0x110(r1) +/* 80086338 00083298 D0 41 01 14 */ stfs f2, 0x114(r1) +/* 8008633C 0008329C 48 00 46 C1 */ bl DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager +/* 80086340 000832A0 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80086344 000832A4 7C 00 00 34 */ cntlzw r0, r0 +/* 80086348 000832A8 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 8008634C 000832AC 40 82 00 AC */ bne lbl_800863F8 +/* 80086350 000832B0 C3 21 00 24 */ lfs f25, 0x24(r1) +/* 80086354 000832B4 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80086358 000832B8 FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 8008635C 000832BC 4C 41 13 82 */ cror 2, 1, 2 +/* 80086360 000832C0 40 82 00 5C */ bne lbl_800863BC +/* 80086364 000832C4 38 61 01 00 */ addi r3, r1, 0x100 +/* 80086368 000832C8 38 81 01 E4 */ addi r4, r1, 0x1e4 +/* 8008636C 000832CC 48 28 E4 E5 */ bl AsNormalized__9CVector3fCFv +/* 80086370 000832D0 C0 41 01 08 */ lfs f2, 0x108(r1) +/* 80086374 000832D4 C0 21 01 00 */ lfs f1, 0x100(r1) +/* 80086378 000832D8 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 8008637C 000832DC EC B9 00 B2 */ fmuls f5, f25, f2 +/* 80086380 000832E0 EC 99 00 72 */ fmuls f4, f25, f1 +/* 80086384 000832E4 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 80086388 000832E8 EC 79 00 32 */ fmuls f3, f25, f0 +/* 8008638C 000832EC C0 41 02 30 */ lfs f2, 0x230(r1) +/* 80086390 000832F0 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 80086394 000832F4 EC 21 28 2A */ fadds f1, f1, f5 +/* 80086398 000832F8 EC 42 18 2A */ fadds f2, f2, f3 +/* 8008639C 000832FC D0 81 01 E4 */ stfs f4, 0x1e4(r1) +/* 800863A0 00083300 EC 00 20 2A */ fadds f0, f0, f4 +/* 800863A4 00083304 D0 61 01 E8 */ stfs f3, 0x1e8(r1) +/* 800863A8 00083308 D0 A1 01 EC */ stfs f5, 0x1ec(r1) +/* 800863AC 0008330C D0 01 01 B4 */ stfs f0, 0x1b4(r1) +/* 800863B0 00083310 D0 41 01 B8 */ stfs f2, 0x1b8(r1) +/* 800863B4 00083314 D0 21 01 BC */ stfs f1, 0x1bc(r1) +/* 800863B8 00083318 48 00 00 40 */ b lbl_800863F8 +lbl_800863BC: +/* 800863BC 0008331C C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 800863C0 00083320 C0 01 02 30 */ lfs f0, 0x230(r1) +/* 800863C4 00083324 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 800863C8 00083328 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 800863CC 0008332C EC A4 00 28 */ fsubs f5, f4, f0 +/* 800863D0 00083330 C0 41 02 34 */ lfs f2, 0x234(r1) +/* 800863D4 00083334 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 800863D8 00083338 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800863DC 0008333C D0 A1 01 E8 */ stfs f5, 0x1e8(r1) +/* 800863E0 00083340 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800863E4 00083344 D0 21 01 B4 */ stfs f1, 0x1b4(r1) +/* 800863E8 00083348 D0 01 01 E4 */ stfs f0, 0x1e4(r1) +/* 800863EC 0008334C D0 41 01 EC */ stfs f2, 0x1ec(r1) +/* 800863F0 00083350 D0 81 01 B8 */ stfs f4, 0x1b8(r1) +/* 800863F4 00083354 D0 61 01 BC */ stfs f3, 0x1bc(r1) +lbl_800863F8: +/* 800863F8 00083358 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 800863FC 0008335C 38 61 02 80 */ addi r3, r1, 0x280 +/* 80086400 00083360 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 80086404 00083364 38 BF 01 D8 */ addi r5, r31, 0x1d8 +/* 80086408 00083368 38 81 01 B4 */ addi r4, r1, 0x1b4 +/* 8008640C 0008336C 48 28 D7 05 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80086410 00083370 38 61 03 40 */ addi r3, r1, 0x340 +/* 80086414 00083374 38 81 02 80 */ addi r4, r1, 0x280 +/* 80086418 00083378 48 28 C7 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008641C 0008337C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80086420 00083380 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80086424 00083384 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80086428 00083388 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8008642C 0008338C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80086430 00083390 38 61 02 50 */ addi r3, r1, 0x250 +/* 80086434 00083394 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 80086438 00083398 38 BF 01 D8 */ addi r5, r31, 0x1d8 +/* 8008643C 0008339C D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 80086440 000833A0 D0 21 00 F8 */ stfs f1, 0xf8(r1) +/* 80086444 000833A4 D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 80086448 000833A8 48 28 D6 C9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8008644C 000833AC 38 61 03 10 */ addi r3, r1, 0x310 +/* 80086450 000833B0 38 81 02 50 */ addi r4, r1, 0x250 +/* 80086454 000833B4 48 28 C7 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80086458 000833B8 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 8008645C 000833BC 38 81 03 40 */ addi r4, r1, 0x340 +/* 80086460 000833C0 48 28 C6 E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80086464 000833C4 38 61 03 40 */ addi r3, r1, 0x340 +/* 80086468 000833C8 38 81 03 10 */ addi r4, r1, 0x310 +/* 8008646C 000833CC 48 28 C6 D5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80086470 000833D0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80086474 000833D4 3B 83 66 A0 */ addi r28, r3, skZero3f@l +/* 80086478 000833D8 C0 5C 00 00 */ lfs f2, 0(r28) +/* 8008647C 000833DC C0 3C 00 04 */ lfs f1, 4(r28) +/* 80086480 000833E0 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80086484 000833E4 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 80086488 000833E8 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 8008648C 000833EC D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 80086490 000833F0 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 80086494 000833F4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80086498 000833F8 40 82 00 10 */ bne lbl_800864A8 +/* 8008649C 000833FC 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 800864A0 00083400 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800864A4 00083404 40 82 00 3C */ bne lbl_800864E0 +lbl_800864A8: +/* 800864A8 00083408 FC 20 F8 90 */ fmr f1, f31 +/* 800864AC 0008340C 7F E4 FB 78 */ mr r4, r31 +/* 800864B0 00083410 7F C7 F3 78 */ mr r7, r30 +/* 800864B4 00083414 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800864B8 00083418 38 A1 03 40 */ addi r5, r1, 0x340 +/* 800864BC 0008341C 38 C1 03 D0 */ addi r6, r1, 0x3d0 +/* 800864C0 00083420 48 00 4D 8D */ bl "AvoidGeometryFull__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +/* 800864C4 00083424 C0 41 00 E8 */ lfs f2, 0xe8(r1) +/* 800864C8 00083428 C0 21 00 EC */ lfs f1, 0xec(r1) +/* 800864CC 0008342C C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 800864D0 00083430 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 800864D4 00083434 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 800864D8 00083438 D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 800864DC 0008343C 48 00 00 38 */ b lbl_80086514 +lbl_800864E0: +/* 800864E0 00083440 FC 20 F8 90 */ fmr f1, f31 +/* 800864E4 00083444 7F E4 FB 78 */ mr r4, r31 +/* 800864E8 00083448 7F C7 F3 78 */ mr r7, r30 +/* 800864EC 0008344C 38 61 00 DC */ addi r3, r1, 0xdc +/* 800864F0 00083450 38 A1 03 40 */ addi r5, r1, 0x340 +/* 800864F4 00083454 38 C1 03 D0 */ addi r6, r1, 0x3d0 +/* 800864F8 00083458 48 00 4C 21 */ bl "AvoidGeometry__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +/* 800864FC 0008345C C0 41 00 DC */ lfs f2, 0xdc(r1) +/* 80086500 00083460 C0 21 00 E0 */ lfs f1, 0xe0(r1) +/* 80086504 00083464 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 80086508 00083468 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 8008650C 0008346C D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 80086510 00083470 D0 01 01 B0 */ stfs f0, 0x1b0(r1) +lbl_80086514: +/* 80086514 00083474 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 80086518 00083478 38 61 00 50 */ addi r3, r1, 0x50 +/* 8008651C 0008347C C0 01 02 30 */ lfs f0, 0x230(r1) +/* 80086520 00083480 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80086524 00083484 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80086528 00083488 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 8008652C 0008348C C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80086530 00083490 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80086534 00083494 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 80086538 00083498 FC 40 20 18 */ frsp f2, f4 +/* 8008653C 0008349C EC 63 08 28 */ fsubs f3, f3, f1 +/* 80086540 000834A0 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 80086544 000834A4 FC 20 00 18 */ frsp f1, f0 +/* 80086548 000834A8 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8008654C 000834AC D0 61 00 CC */ stfs f3, 0xcc(r1) +/* 80086550 000834B0 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 80086554 000834B4 D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 80086558 000834B8 D0 61 00 D8 */ stfs f3, 0xd8(r1) +/* 8008655C 000834BC 48 28 DC A5 */ bl __ct__9CVector2fFff +/* 80086560 000834C0 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80086564 000834C4 38 61 01 9C */ addi r3, r1, 0x19c +/* 80086568 000834C8 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 8008656C 000834CC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80086570 000834D0 D0 41 01 9C */ stfs f2, 0x19c(r1) +/* 80086574 000834D4 D0 21 01 A0 */ stfs f1, 0x1a0(r1) +/* 80086578 000834D8 D0 01 01 A4 */ stfs f0, 0x1a4(r1) +/* 8008657C 000834DC 48 28 E3 3D */ bl Magnitude__9CVector3fCFv +/* 80086580 000834E0 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 80086584 000834E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80086588 000834E8 40 80 00 F8 */ bge lbl_80086680 +/* 8008658C 000834EC 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 80086590 000834F0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80086594 000834F4 41 82 00 58 */ beq lbl_800865EC +/* 80086598 000834F8 80 1F 04 78 */ lwz r0, 0x478(r31) +/* 8008659C 000834FC 2C 00 00 02 */ cmpwi r0, 2 +/* 800865A0 00083500 40 81 00 4C */ ble lbl_800865EC +/* 800865A4 00083504 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 800865A8 00083508 3C 00 43 30 */ lis r0, 0x4330 +/* 800865AC 0008350C 90 61 0B DC */ stw r3, 0xbdc(r1) +/* 800865B0 00083510 C8 22 89 C8 */ lfd f1, lbl_805AA6E8@sda21(r2) +/* 800865B4 00083514 90 01 0B D8 */ stw r0, 0xbd8(r1) +/* 800865B8 00083518 C0 82 89 B8 */ lfs f4, lbl_805AA6D8@sda21(r2) +/* 800865BC 0008351C C8 01 0B D8 */ lfd f0, 0xbd8(r1) +/* 800865C0 00083520 C0 41 01 A8 */ lfs f2, 0x1a8(r1) +/* 800865C4 00083524 EC 60 08 28 */ fsubs f3, f0, f1 +/* 800865C8 00083528 C0 21 01 AC */ lfs f1, 0x1ac(r1) +/* 800865CC 0008352C C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 800865D0 00083530 EC 64 18 24 */ fdivs f3, f4, f3 +/* 800865D4 00083534 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 800865D8 00083538 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 800865DC 0008353C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 800865E0 00083540 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 800865E4 00083544 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 800865E8 00083548 D0 01 01 B0 */ stfs f0, 0x1b0(r1) +lbl_800865EC: +/* 800865EC 0008354C C0 81 00 24 */ lfs f4, 0x24(r1) +/* 800865F0 00083550 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) +/* 800865F4 00083554 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 800865F8 00083558 40 80 00 60 */ bge lbl_80086658 +/* 800865FC 0008355C C0 41 01 A8 */ lfs f2, 0x1a8(r1) +/* 80086600 00083560 C0 62 8A 04 */ lfs f3, lbl_805AA724@sda21(r2) +/* 80086604 00083564 C0 21 01 AC */ lfs f1, 0x1ac(r1) +/* 80086608 00083568 C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 8008660C 0008356C EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80086610 00083570 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80086614 00083574 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80086618 00083578 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 8008661C 0008357C D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 80086620 00083580 D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 80086624 00083584 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 80086628 00083588 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8008662C 0008358C 41 82 00 2C */ beq lbl_80086658 +/* 80086630 00083590 80 1F 04 78 */ lwz r0, 0x478(r31) +/* 80086634 00083594 2C 00 00 00 */ cmpwi r0, 0 +/* 80086638 00083598 40 81 00 20 */ ble lbl_80086658 +/* 8008663C 0008359C C0 7F 03 08 */ lfs f3, 0x308(r31) +/* 80086640 000835A0 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80086644 000835A4 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80086648 000835A8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8008664C 000835AC D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 80086650 000835B0 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 80086654 000835B4 D0 01 01 B0 */ stfs f0, 0x1b0(r1) +lbl_80086658: +/* 80086658 000835B8 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 8008665C 000835BC FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80086660 000835C0 40 80 00 20 */ bge lbl_80086680 +/* 80086664 000835C4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80086668 000835C8 C0 3C 00 04 */ lfs f1, 4(r28) +/* 8008666C 000835CC C0 1C 00 08 */ lfs f0, 8(r28) +/* 80086670 000835D0 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) +/* 80086674 000835D4 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 80086678 000835D8 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 8008667C 000835DC D0 01 01 B0 */ stfs f0, 0x1b0(r1) +lbl_80086680: +/* 80086680 000835E0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80086684 000835E4 38 81 03 40 */ addi r4, r1, 0x340 +/* 80086688 000835E8 38 A1 01 A8 */ addi r5, r1, 0x1a8 +/* 8008668C 000835EC 48 28 C3 F5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80086690 000835F0 C0 61 00 BC */ lfs f3, 0xbc(r1) +/* 80086694 000835F4 38 61 01 90 */ addi r3, r1, 0x190 +/* 80086698 000835F8 C0 21 01 B8 */ lfs f1, 0x1b8(r1) +/* 8008669C 000835FC C0 41 00 C0 */ lfs f2, 0xc0(r1) +/* 800866A0 00083600 C0 01 01 BC */ lfs f0, 0x1bc(r1) +/* 800866A4 00083604 EC A3 08 2A */ fadds f5, f3, f1 +/* 800866A8 00083608 C0 81 02 30 */ lfs f4, 0x230(r1) +/* 800866AC 0008360C C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 800866B0 00083610 EC 62 00 2A */ fadds f3, f2, f0 +/* 800866B4 00083614 C0 01 01 B4 */ lfs f0, 0x1b4(r1) +/* 800866B8 00083618 EC 85 20 28 */ fsubs f4, f5, f4 +/* 800866BC 0008361C C0 41 02 34 */ lfs f2, 0x234(r1) +/* 800866C0 00083620 EC 21 00 2A */ fadds f1, f1, f0 +/* 800866C4 00083624 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 800866C8 00083628 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800866CC 0008362C D0 81 01 94 */ stfs f4, 0x194(r1) +/* 800866D0 00083630 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800866D4 00083634 D0 41 01 98 */ stfs f2, 0x198(r1) +/* 800866D8 00083638 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 800866DC 0008363C 48 28 E0 1D */ bl CanBeNormalized__9CVector3fCFv +/* 800866E0 00083640 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800866E4 00083644 41 82 00 0C */ beq lbl_800866F0 +/* 800866E8 00083648 38 61 01 90 */ addi r3, r1, 0x190 +/* 800866EC 0008364C 48 28 E2 0D */ bl Normalize__9CVector3fFv +lbl_800866F0: +/* 800866F0 00083650 C0 C1 00 2C */ lfs f6, 0x2c(r1) +/* 800866F4 00083654 C0 41 01 90 */ lfs f2, 0x190(r1) +/* 800866F8 00083658 C0 21 01 94 */ lfs f1, 0x194(r1) +/* 800866FC 0008365C C0 01 01 98 */ lfs f0, 0x198(r1) +/* 80086700 00083660 EC 86 00 B2 */ fmuls f4, f6, f2 +/* 80086704 00083664 C0 A1 02 2C */ lfs f5, 0x22c(r1) +/* 80086708 00083668 EC 46 00 72 */ fmuls f2, f6, f1 +/* 8008670C 0008366C C0 61 02 30 */ lfs f3, 0x230(r1) +/* 80086710 00083670 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80086714 00083674 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 80086718 00083678 80 1F 01 88 */ lwz r0, 0x188(r31) +/* 8008671C 0008367C EF 65 20 2A */ fadds f27, f5, f4 +/* 80086720 00083680 EF 43 10 2A */ fadds f26, f3, f2 +/* 80086724 00083684 2C 00 00 06 */ cmpwi r0, 6 +/* 80086728 00083688 EF 21 00 2A */ fadds f25, f1, f0 +/* 8008672C 0008368C 40 82 00 48 */ bne lbl_80086774 +/* 80086730 00083690 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 80086734 00083694 38 61 00 10 */ addi r3, r1, 0x10 +/* 80086738 00083698 4B F8 2B 85 */ bl GetPathCameraId__14CCameraManagerCFv +/* 8008673C 0008369C A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80086740 000836A0 7F C3 F3 78 */ mr r3, r30 +/* 80086744 000836A4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80086748 000836A8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8008674C 000836AC 4B FC 5E 59 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80086750 000836B0 7C 64 1B 78 */ mr r4, r3 +/* 80086754 000836B4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80086758 000836B8 48 02 66 7D */ bl "__ct__25TCastToPtr<11CPathCamera>FP7CEntity" +/* 8008675C 000836BC 80 63 00 04 */ lwz r3, 4(r3) +/* 80086760 000836C0 28 03 00 00 */ cmplwi r3, 0 +/* 80086764 000836C4 41 82 00 10 */ beq lbl_80086774 +/* 80086768 000836C8 C3 63 00 40 */ lfs f27, 0x40(r3) +/* 8008676C 000836CC C3 43 00 50 */ lfs f26, 0x50(r3) +/* 80086770 000836D0 C3 23 00 60 */ lfs f25, 0x60(r3) +lbl_80086774: +/* 80086774 000836D4 C0 5F 02 98 */ lfs f2, 0x298(r31) +/* 80086778 000836D8 38 61 01 90 */ addi r3, r1, 0x190 +/* 8008677C 000836DC C0 3F 02 9C */ lfs f1, 0x29c(r31) +/* 80086780 000836E0 C0 1F 02 94 */ lfs f0, 0x294(r31) +/* 80086784 000836E4 EC 42 D0 28 */ fsubs f2, f2, f26 +/* 80086788 000836E8 EC 21 C8 28 */ fsubs f1, f1, f25 +/* 8008678C 000836EC EC 00 D8 28 */ fsubs f0, f0, f27 +/* 80086790 000836F0 D0 41 01 94 */ stfs f2, 0x194(r1) +/* 80086794 000836F4 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 80086798 000836F8 D0 21 01 98 */ stfs f1, 0x198(r1) +/* 8008679C 000836FC 48 28 E1 1D */ bl Magnitude__9CVector3fCFv +/* 800867A0 00083700 FF 00 08 90 */ fmr f24, f1 +/* 800867A4 00083704 38 61 01 90 */ addi r3, r1, 0x190 +/* 800867A8 00083708 48 28 DF 51 */ bl CanBeNormalized__9CVector3fCFv +/* 800867AC 0008370C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800867B0 00083710 41 82 00 0C */ beq lbl_800867BC +/* 800867B4 00083714 38 61 01 90 */ addi r3, r1, 0x190 +/* 800867B8 00083718 48 28 E1 41 */ bl Normalize__9CVector3fFv +lbl_800867BC: +/* 800867BC 0008371C FC 40 C0 90 */ fmr f2, f24 +/* 800867C0 00083720 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 800867C4 00083724 FC 60 F8 90 */ fmr f3, f31 +/* 800867C8 00083728 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800867CC 0008372C 4B FD 70 6D */ bl ApplyDistanceSpring__13CCameraSpringFfff +/* 800867D0 00083730 C0 01 01 90 */ lfs f0, 0x190(r1) +/* 800867D4 00083734 38 61 01 84 */ addi r3, r1, 0x184 +/* 800867D8 00083738 C0 61 01 94 */ lfs f3, 0x194(r1) +/* 800867DC 0008373C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800867E0 00083740 C0 41 01 98 */ lfs f2, 0x198(r1) +/* 800867E4 00083744 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 800867E8 00083748 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800867EC 0008374C EC 1B 00 2A */ fadds f0, f27, f0 +/* 800867F0 00083750 EC 5A 18 2A */ fadds f2, f26, f3 +/* 800867F4 00083754 EC 39 08 2A */ fadds f1, f25, f1 +/* 800867F8 00083758 D0 1F 02 94 */ stfs f0, 0x294(r31) +/* 800867FC 0008375C D0 5F 02 98 */ stfs f2, 0x298(r31) +/* 80086800 00083760 D0 3F 02 9C */ stfs f1, 0x29c(r31) +/* 80086804 00083764 C0 5F 02 98 */ lfs f2, 0x298(r31) +/* 80086808 00083768 C0 3F 02 9C */ lfs f1, 0x29c(r31) +/* 8008680C 0008376C C0 1F 02 94 */ lfs f0, 0x294(r31) +/* 80086810 00083770 EC 5D 10 28 */ fsubs f2, f29, f2 +/* 80086814 00083774 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 80086818 00083778 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 8008681C 0008377C D0 41 01 88 */ stfs f2, 0x188(r1) +/* 80086820 00083780 D0 01 01 84 */ stfs f0, 0x184(r1) +/* 80086824 00083784 D0 21 01 8C */ stfs f1, 0x18c(r1) +/* 80086828 00083788 48 28 E0 91 */ bl Magnitude__9CVector3fCFv +/* 8008682C 0008378C FF 00 08 90 */ fmr f24, f1 +/* 80086830 00083790 38 61 01 84 */ addi r3, r1, 0x184 +/* 80086834 00083794 48 28 DE C5 */ bl CanBeNormalized__9CVector3fCFv +/* 80086838 00083798 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008683C 0008379C 41 82 00 0C */ beq lbl_80086848 +/* 80086840 000837A0 38 61 01 84 */ addi r3, r1, 0x184 +/* 80086844 000837A4 48 28 E0 B5 */ bl Normalize__9CVector3fFv +lbl_80086848: +/* 80086848 000837A8 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 8008684C 000837AC C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80086850 000837B0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80086854 000837B4 41 82 00 08 */ beq lbl_8008685C +/* 80086858 000837B8 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) +lbl_8008685C: +/* 8008685C 000837BC FC 40 C0 90 */ fmr f2, f24 +/* 80086860 000837C0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80086864 000837C4 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 80086868 000837C8 38 7F 02 50 */ addi r3, r31, 0x250 +/* 8008686C 000837CC 4B FD 6F CD */ bl ApplyDistanceSpring__13CCameraSpringFfff +/* 80086870 000837D0 80 1F 04 00 */ lwz r0, 0x400(r31) +/* 80086874 000837D4 2C 00 00 03 */ cmpwi r0, 3 +/* 80086878 000837D8 40 82 00 1C */ bne lbl_80086894 +/* 8008687C 000837DC FC 40 C0 90 */ fmr f2, f24 +/* 80086880 000837E0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80086884 000837E4 FC 60 F8 90 */ fmr f3, f31 +/* 80086888 000837E8 38 7F 04 48 */ addi r3, r31, 0x448 +/* 8008688C 000837EC 4B FD 6F AD */ bl ApplyDistanceSpring__13CCameraSpringFfff +/* 80086890 000837F0 48 00 00 3C */ b lbl_800868CC +lbl_80086894: +/* 80086894 000837F4 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 80086898 000837F8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8008689C 000837FC 41 82 00 30 */ beq lbl_800868CC +/* 800868A0 00083800 80 1F 04 00 */ lwz r0, 0x400(r31) +/* 800868A4 00083804 2C 00 00 02 */ cmpwi r0, 2 +/* 800868A8 00083808 41 82 00 10 */ beq lbl_800868B8 +/* 800868AC 0008380C 80 1F 01 88 */ lwz r0, 0x188(r31) +/* 800868B0 00083810 2C 00 00 01 */ cmpwi r0, 1 +/* 800868B4 00083814 40 82 00 18 */ bne lbl_800868CC +lbl_800868B8: +/* 800868B8 00083818 FC 40 C0 90 */ fmr f2, f24 +/* 800868BC 0008381C C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 800868C0 00083820 FC 60 F8 90 */ fmr f3, f31 +/* 800868C4 00083824 38 7F 04 1C */ addi r3, r31, 0x41c +/* 800868C8 00083828 4B FD 6F 71 */ bl ApplyDistanceSpring__13CCameraSpringFfff +lbl_800868CC: +/* 800868CC 0008382C C0 61 01 88 */ lfs f3, 0x188(r1) +/* 800868D0 00083830 C0 41 01 8C */ lfs f2, 0x18c(r1) +/* 800868D4 00083834 C0 01 01 84 */ lfs f0, 0x184(r1) +/* 800868D8 00083838 EC 81 00 F2 */ fmuls f4, f1, f3 +/* 800868DC 0008383C C0 BF 02 98 */ lfs f5, 0x298(r31) +/* 800868E0 00083840 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 800868E4 00083844 C0 7F 02 9C */ lfs f3, 0x29c(r31) +/* 800868E8 00083848 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800868EC 0008384C C0 3F 02 94 */ lfs f1, 0x294(r31) +/* 800868F0 00083850 EC 85 20 2A */ fadds f4, f5, f4 +/* 800868F4 00083854 EC 63 10 2A */ fadds f3, f3, f2 +/* 800868F8 00083858 EC 41 00 2A */ fadds f2, f1, f0 +/* 800868FC 0008385C D0 81 01 7C */ stfs f4, 0x17c(r1) +/* 80086900 00083860 D0 41 01 78 */ stfs f2, 0x178(r1) +/* 80086904 00083864 D0 61 01 80 */ stfs f3, 0x180(r1) +/* 80086908 00083868 80 7D 07 68 */ lwz r3, 0x768(r29) +/* 8008690C 0008386C 80 03 18 7C */ lwz r0, 0x187c(r3) +/* 80086910 00083870 2C 00 00 01 */ cmpwi r0, 1 +/* 80086914 00083874 41 82 00 68 */ beq lbl_8008697C +/* 80086918 00083878 88 1F 01 8E */ lbz r0, 0x18e(r31) +/* 8008691C 0008387C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80086920 00083880 40 82 00 5C */ bne lbl_8008697C +/* 80086924 00083884 C0 3D 01 40 */ lfs f1, 0x140(r29) +/* 80086928 00083888 C0 02 8A 40 */ lfs f0, lbl_805AA760@sda21(r2) +/* 8008692C 0008388C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80086930 00083890 40 81 00 4C */ ble lbl_8008697C +/* 80086934 00083894 EC 63 F0 28 */ fsubs f3, f3, f30 +/* 80086938 00083898 C0 02 89 BC */ lfs f0, lbl_805AA6DC@sda21(r2) +/* 8008693C 0008389C EC 22 E0 28 */ fsubs f1, f2, f28 +/* 80086940 000838A0 EC A0 07 F2 */ fmuls f5, f0, f31 +/* 80086944 000838A4 FC 40 1A 10 */ fabs f2, f3 +/* 80086948 000838A8 EC 04 E8 28 */ fsubs f0, f4, f29 +/* 8008694C 000838AC FC 02 28 40 */ fcmpo cr0, f2, f5 +/* 80086950 000838B0 40 81 00 14 */ ble lbl_80086964 +/* 80086954 000838B4 C0 82 89 F8 */ lfs f4, lbl_805AA718@sda21(r2) +/* 80086958 000838B8 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 8008695C 000838BC FC 43 20 AE */ fsel f2, f3, f2, f4 +/* 80086960 000838C0 EC 65 00 B2 */ fmuls f3, f5, f2 +lbl_80086964: +/* 80086964 000838C4 EC 5C 08 2A */ fadds f2, f28, f1 +/* 80086968 000838C8 EC 3D 00 2A */ fadds f1, f29, f0 +/* 8008696C 000838CC EC 1E 18 2A */ fadds f0, f30, f3 +/* 80086970 000838D0 D0 41 01 78 */ stfs f2, 0x178(r1) +/* 80086974 000838D4 D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 80086978 000838D8 D0 01 01 80 */ stfs f0, 0x180(r1) +lbl_8008697C: +/* 8008697C 000838DC 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80086980 000838E0 41 82 00 54 */ beq lbl_800869D4 +/* 80086984 000838E4 80 1F 04 00 */ lwz r0, 0x400(r31) +/* 80086988 000838E8 2C 00 00 04 */ cmpwi r0, 4 +/* 8008698C 000838EC 41 82 00 48 */ beq lbl_800869D4 +/* 80086990 000838F0 80 A1 01 78 */ lwz r5, 0x178(r1) +/* 80086994 000838F4 FC 20 F8 90 */ fmr f1, f31 +/* 80086998 000838F8 80 C1 01 7C */ lwz r6, 0x17c(r1) +/* 8008699C 000838FC 7F E4 FB 78 */ mr r4, r31 +/* 800869A0 00083900 80 01 01 80 */ lwz r0, 0x180(r1) +/* 800869A4 00083904 38 61 00 AC */ addi r3, r1, 0xac +/* 800869A8 00083908 90 A1 00 A0 */ stw r5, 0xa0(r1) +/* 800869AC 0008390C 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 800869B0 00083910 90 C1 00 A4 */ stw r6, 0xa4(r1) +/* 800869B4 00083914 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 800869B8 00083918 48 00 1D 21 */ bl InterpolateCameraElevation__11CBallCameraCFRC9CVector3ff +/* 800869BC 0008391C C0 41 00 AC */ lfs f2, 0xac(r1) +/* 800869C0 00083920 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 800869C4 00083924 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 800869C8 00083928 D0 41 01 78 */ stfs f2, 0x178(r1) +/* 800869CC 0008392C D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 800869D0 00083930 D0 01 01 80 */ stfs f0, 0x180(r1) +lbl_800869D4: +/* 800869D4 00083934 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 800869D8 00083938 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800869DC 0008393C 41 82 00 14 */ beq lbl_800869F0 +/* 800869E0 00083940 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 800869E4 00083944 C0 01 02 34 */ lfs f0, 0x234(r1) +/* 800869E8 00083948 EC 01 00 2A */ fadds f0, f1, f0 +/* 800869EC 0008394C D0 01 01 80 */ stfs f0, 0x180(r1) +lbl_800869F0: +/* 800869F0 00083950 38 61 01 9C */ addi r3, r1, 0x19c +/* 800869F4 00083954 48 28 DE C5 */ bl Magnitude__9CVector3fCFv +/* 800869F8 00083958 C0 42 89 E0 */ lfs f2, lbl_805AA700@sda21(r2) +/* 800869FC 0008395C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80086A00 00083960 40 80 00 24 */ bge lbl_80086A24 +/* 80086A04 00083964 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 80086A08 00083968 C0 01 01 80 */ lfs f0, 0x180(r1) +/* 80086A0C 0008396C EC 22 08 2A */ fadds f1, f2, f1 +/* 80086A10 00083970 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80086A14 00083974 40 80 00 08 */ bge lbl_80086A1C +/* 80086A18 00083978 D0 21 01 80 */ stfs f1, 0x180(r1) +lbl_80086A1C: +/* 80086A1C 0008397C 38 7F 02 14 */ addi r3, r31, 0x214 +/* 80086A20 00083980 4B FD 6D 91 */ bl Reset__13CCameraSpringFv +lbl_80086A24: +/* 80086A24 00083984 80 A1 01 78 */ lwz r5, 0x178(r1) +/* 80086A28 00083988 7F E4 FB 78 */ mr r4, r31 +/* 80086A2C 0008398C 80 E1 01 7C */ lwz r7, 0x17c(r1) +/* 80086A30 00083990 7F C6 F3 78 */ mr r6, r30 +/* 80086A34 00083994 80 01 01 80 */ lwz r0, 0x180(r1) +/* 80086A38 00083998 38 61 00 94 */ addi r3, r1, 0x94 +/* 80086A3C 0008399C 90 A1 00 88 */ stw r5, 0x88(r1) +/* 80086A40 000839A0 38 A1 00 88 */ addi r5, r1, 0x88 +/* 80086A44 000839A4 90 E1 00 8C */ stw r7, 0x8c(r1) +/* 80086A48 000839A8 90 01 00 90 */ stw r0, 0x90(r1) +/* 80086A4C 000839AC 4B FF DE 7D */ bl ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager +/* 80086A50 000839B0 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 80086A54 000839B4 38 61 01 9C */ addi r3, r1, 0x19c +/* 80086A58 000839B8 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 80086A5C 000839BC C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 80086A60 000839C0 D0 41 01 78 */ stfs f2, 0x178(r1) +/* 80086A64 000839C4 D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 80086A68 000839C8 D0 01 01 80 */ stfs f0, 0x180(r1) +/* 80086A6C 000839CC 48 28 DE 4D */ bl Magnitude__9CVector3fCFv +/* 80086A70 000839D0 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 80086A74 000839D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80086A78 000839D8 40 80 00 8C */ bge lbl_80086B04 +/* 80086A7C 000839DC A0 BF 03 DC */ lhz r5, 0x3dc(r31) +/* 80086A80 000839E0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80086A84 000839E4 7C 05 00 40 */ cmplw r5, r0 +/* 80086A88 000839E8 41 82 00 7C */ beq lbl_80086B04 +/* 80086A8C 000839EC C0 3F 03 E0 */ lfs f1, 0x3e0(r31) +/* 80086A90 000839F0 C0 02 8A 44 */ lfs f0, lbl_805AA764@sda21(r2) +/* 80086A94 000839F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80086A98 000839F8 40 80 00 6C */ bge lbl_80086B04 +/* 80086A9C 000839FC B0 A1 00 08 */ sth r5, 8(r1) +/* 80086AA0 00083A00 7F C3 F3 78 */ mr r3, r30 +/* 80086AA4 00083A04 38 81 00 0C */ addi r4, r1, 0xc +/* 80086AA8 00083A08 B0 A1 00 0C */ sth r5, 0xc(r1) +/* 80086AAC 00083A0C 4B FC 5A F9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80086AB0 00083A10 7C 64 1B 78 */ mr r4, r3 +/* 80086AB4 00083A14 38 61 00 30 */ addi r3, r1, 0x30 +/* 80086AB8 00083A18 48 02 36 39 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 80086ABC 00083A1C 80 63 00 04 */ lwz r3, 4(r3) +/* 80086AC0 00083A20 28 03 00 00 */ cmplwi r3, 0 +/* 80086AC4 00083A24 41 82 00 40 */ beq lbl_80086B04 +/* 80086AC8 00083A28 88 03 02 A8 */ lbz r0, 0x2a8(r3) +/* 80086ACC 00083A2C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80086AD0 00083A30 40 82 00 34 */ bne lbl_80086B04 +/* 80086AD4 00083A34 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80086AD8 00083A38 D0 01 01 78 */ stfs f0, 0x178(r1) +/* 80086ADC 00083A3C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80086AE0 00083A40 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80086AE4 00083A44 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80086AE8 00083A48 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80086AEC 00083A4C D0 41 00 84 */ stfs f2, 0x84(r1) +/* 80086AF0 00083A50 D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 80086AF4 00083A54 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80086AF8 00083A58 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80086AFC 00083A5C D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80086B00 00083A60 D0 41 01 80 */ stfs f2, 0x180(r1) +lbl_80086B04: +/* 80086B04 00083A64 FC 20 F8 90 */ fmr f1, f31 +/* 80086B08 00083A68 C3 21 01 80 */ lfs f25, 0x180(r1) +/* 80086B0C 00083A6C 7F E4 FB 78 */ mr r4, r31 +/* 80086B10 00083A70 7F C6 F3 78 */ mr r6, r30 +/* 80086B14 00083A74 38 61 00 64 */ addi r3, r1, 0x64 +/* 80086B18 00083A78 38 A1 01 78 */ addi r5, r1, 0x178 +/* 80086B1C 00083A7C 4B FF DA 4D */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager +/* 80086B20 00083A80 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 80086B24 00083A84 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80086B28 00083A88 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80086B2C 00083A8C D0 41 01 78 */ stfs f2, 0x178(r1) +/* 80086B30 00083A90 D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 80086B34 00083A94 D0 01 01 80 */ stfs f0, 0x180(r1) +/* 80086B38 00083A98 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 80086B3C 00083A9C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80086B40 00083AA0 41 82 00 44 */ beq lbl_80086B84 +/* 80086B44 00083AA4 80 1F 04 78 */ lwz r0, 0x478(r31) +/* 80086B48 00083AA8 2C 00 00 00 */ cmpwi r0, 0 +/* 80086B4C 00083AAC 40 81 00 38 */ ble lbl_80086B84 +/* 80086B50 00083AB0 FC 20 F8 90 */ fmr f1, f31 +/* 80086B54 00083AB4 D3 21 01 80 */ stfs f25, 0x180(r1) +/* 80086B58 00083AB8 7F E4 FB 78 */ mr r4, r31 +/* 80086B5C 00083ABC 7F C6 F3 78 */ mr r6, r30 +/* 80086B60 00083AC0 38 61 00 58 */ addi r3, r1, 0x58 +/* 80086B64 00083AC4 38 A1 01 78 */ addi r5, r1, 0x178 +/* 80086B68 00083AC8 4B FF DA 01 */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager +/* 80086B6C 00083ACC C0 41 00 58 */ lfs f2, 0x58(r1) +/* 80086B70 00083AD0 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 80086B74 00083AD4 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 80086B78 00083AD8 D0 41 01 78 */ stfs f2, 0x178(r1) +/* 80086B7C 00083ADC D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 80086B80 00083AE0 D0 01 01 80 */ stfs f0, 0x180(r1) +lbl_80086B84: +/* 80086B84 00083AE4 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) +/* 80086B88 00083AE8 C0 61 01 78 */ lfs f3, 0x178(r1) +/* 80086B8C 00083AEC C0 3F 01 DC */ lfs f1, 0x1dc(r31) +/* 80086B90 00083AF0 C0 81 01 7C */ lfs f4, 0x17c(r1) +/* 80086B94 00083AF4 EC 40 18 28 */ fsubs f2, f0, f3 +/* 80086B98 00083AF8 C0 1F 01 E0 */ lfs f0, 0x1e0(r31) +/* 80086B9C 00083AFC C0 A1 01 80 */ lfs f5, 0x180(r1) +/* 80086BA0 00083B00 EC 21 20 28 */ fsubs f1, f1, f4 +/* 80086BA4 00083B04 D0 41 01 6C */ stfs f2, 0x16c(r1) +/* 80086BA8 00083B08 EC 00 28 28 */ fsubs f0, f0, f5 +/* 80086BAC 00083B0C D0 21 01 70 */ stfs f1, 0x170(r1) +/* 80086BB0 00083B10 D0 01 01 74 */ stfs f0, 0x174(r1) +/* 80086BB4 00083B14 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 80086BB8 00083B18 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80086BBC 00083B1C 41 82 00 28 */ beq lbl_80086BE4 +/* 80086BC0 00083B20 C0 41 02 30 */ lfs f2, 0x230(r1) +/* 80086BC4 00083B24 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 80086BC8 00083B28 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 80086BCC 00083B2C EC 42 20 28 */ fsubs f2, f2, f4 +/* 80086BD0 00083B30 EC 21 28 28 */ fsubs f1, f1, f5 +/* 80086BD4 00083B34 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80086BD8 00083B38 D0 41 01 70 */ stfs f2, 0x170(r1) +/* 80086BDC 00083B3C D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 80086BE0 00083B40 D0 21 01 74 */ stfs f1, 0x174(r1) +lbl_80086BE4: +/* 80086BE4 00083B44 38 61 01 6C */ addi r3, r1, 0x16c +/* 80086BE8 00083B48 48 28 DB 11 */ bl CanBeNormalized__9CVector3fCFv +/* 80086BEC 00083B4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80086BF0 00083B50 41 82 00 24 */ beq lbl_80086C14 +/* 80086BF4 00083B54 38 61 01 6C */ addi r3, r1, 0x16c +/* 80086BF8 00083B58 48 28 DD 01 */ bl Normalize__9CVector3fFv +/* 80086BFC 00083B5C FC 20 F8 90 */ fmr f1, f31 +/* 80086C00 00083B60 7F E3 FB 78 */ mr r3, r31 +/* 80086C04 00083B64 7F C6 F3 78 */ mr r6, r30 +/* 80086C08 00083B68 38 81 01 6C */ addi r4, r1, 0x16c +/* 80086C0C 00083B6C 38 A1 01 78 */ addi r5, r1, 0x178 +/* 80086C10 00083B70 48 00 1E CD */ bl UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager +lbl_80086C14: +/* 80086C14 00083B74 C0 3F 04 70 */ lfs f1, 0x470(r31) +/* 80086C18 00083B78 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80086C1C 00083B7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80086C20 00083B80 40 81 00 0C */ ble lbl_80086C2C +/* 80086C24 00083B84 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80086C28 00083B88 D0 1F 04 70 */ stfs f0, 0x470(r31) +lbl_80086C2C: +/* 80086C2C 00083B8C 80 A1 03 D0 */ lwz r5, 0x3d0(r1) +/* 80086C30 00083B90 38 60 00 00 */ li r3, 0 +/* 80086C34 00083B94 2C 05 00 00 */ cmpwi r5, 0 +/* 80086C38 00083B98 40 81 00 40 */ ble lbl_80086C78 +/* 80086C3C 00083B9C 2C 05 00 08 */ cmpwi r5, 8 +/* 80086C40 00083BA0 38 85 FF F8 */ addi r4, r5, -8 +/* 80086C44 00083BA4 40 81 00 20 */ ble lbl_80086C64 +/* 80086C48 00083BA8 38 04 00 07 */ addi r0, r4, 7 +/* 80086C4C 00083BAC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80086C50 00083BB0 7C 09 03 A6 */ mtctr r0 +/* 80086C54 00083BB4 2C 04 00 00 */ cmpwi r4, 0 +/* 80086C58 00083BB8 40 81 00 0C */ ble lbl_80086C64 +lbl_80086C5C: +/* 80086C5C 00083BBC 38 63 00 08 */ addi r3, r3, 8 +/* 80086C60 00083BC0 42 00 FF FC */ bdnz lbl_80086C5C +lbl_80086C64: +/* 80086C64 00083BC4 7C 03 28 50 */ subf r0, r3, r5 +/* 80086C68 00083BC8 7C 09 03 A6 */ mtctr r0 +/* 80086C6C 00083BCC 7C 03 28 00 */ cmpw r3, r5 +/* 80086C70 00083BD0 40 80 00 08 */ bge lbl_80086C78 +lbl_80086C74: +/* 80086C74 00083BD4 42 00 00 00 */ bdnz lbl_80086C74 +lbl_80086C78: +/* 80086C78 00083BD8 38 00 00 00 */ li r0, 0 +/* 80086C7C 00083BDC 90 01 03 D0 */ stw r0, 0x3d0(r1) +lbl_80086C80: +/* 80086C80 00083BE0 E3 E1 0C 78 */ psq_l f31, -904(r1), 0, qr0 +/* 80086C84 00083BE4 CB E1 0C 70 */ lfd f31, 0xc70(r1) +/* 80086C88 00083BE8 E3 C1 0C 68 */ psq_l f30, -920(r1), 0, qr0 +/* 80086C8C 00083BEC CB C1 0C 60 */ lfd f30, 0xc60(r1) +/* 80086C90 00083BF0 E3 A1 0C 58 */ psq_l f29, -936(r1), 0, qr0 +/* 80086C94 00083BF4 CB A1 0C 50 */ lfd f29, 0xc50(r1) +/* 80086C98 00083BF8 E3 81 0C 48 */ psq_l f28, -952(r1), 0, qr0 +/* 80086C9C 00083BFC CB 81 0C 40 */ lfd f28, 0xc40(r1) +/* 80086CA0 00083C00 E3 61 0C 38 */ psq_l f27, -968(r1), 0, qr0 +/* 80086CA4 00083C04 CB 61 0C 30 */ lfd f27, 0xc30(r1) +/* 80086CA8 00083C08 E3 41 0C 28 */ psq_l f26, -984(r1), 0, qr0 +/* 80086CAC 00083C0C CB 41 0C 20 */ lfd f26, 0xc20(r1) +/* 80086CB0 00083C10 E3 21 0C 18 */ psq_l f25, -1000(r1), 0, qr0 +/* 80086CB4 00083C14 CB 21 0C 10 */ lfd f25, 0xc10(r1) +/* 80086CB8 00083C18 E3 01 0C 08 */ psq_l f24, -1016(r1), 0, qr0 +/* 80086CBC 00083C1C CB 01 0C 00 */ lfd f24, 0xc00(r1) +/* 80086CC0 00083C20 BB 61 0B EC */ lmw r27, 0xbec(r1) +/* 80086CC4 00083C24 80 01 0C 84 */ lwz r0, 0xc84(r1) +/* 80086CC8 00083C28 7C 08 03 A6 */ mtlr r0 +/* 80086CCC 00083C2C 38 21 0C 80 */ addi r1, r1, 0xc80 +/* 80086CD0 00083C30 4E 80 00 20 */ blr + +.global UpdateUsingFreeLook__11CBallCameraFfR13CStateManager +UpdateUsingFreeLook__11CBallCameraFfR13CStateManager: +/* 80086CD4 00083C34 94 21 FD C0 */ stwu r1, -0x240(r1) +/* 80086CD8 00083C38 7C 08 02 A6 */ mflr r0 +/* 80086CDC 00083C3C 90 01 02 44 */ stw r0, 0x244(r1) +/* 80086CE0 00083C40 DB E1 02 30 */ stfd f31, 0x230(r1) +/* 80086CE4 00083C44 F3 E1 02 38 */ psq_st f31, 568(r1), 0, qr0 +/* 80086CE8 00083C48 DB C1 02 20 */ stfd f30, 0x220(r1) +/* 80086CEC 00083C4C F3 C1 02 28 */ psq_st f30, 552(r1), 0, qr0 +/* 80086CF0 00083C50 DB A1 02 10 */ stfd f29, 0x210(r1) +/* 80086CF4 00083C54 F3 A1 02 18 */ psq_st f29, 536(r1), 0, qr0 +/* 80086CF8 00083C58 DB 81 02 00 */ stfd f28, 0x200(r1) +/* 80086CFC 00083C5C F3 81 02 08 */ psq_st f28, 520(r1), 0, qr0 +/* 80086D00 00083C60 DB 61 01 F0 */ stfd f27, 0x1f0(r1) +/* 80086D04 00083C64 F3 61 01 F8 */ psq_st f27, 504(r1), 0, qr0 +/* 80086D08 00083C68 DB 41 01 E0 */ stfd f26, 0x1e0(r1) +/* 80086D0C 00083C6C F3 41 01 E8 */ psq_st f26, 488(r1), 0, qr0 +/* 80086D10 00083C70 93 E1 01 DC */ stw r31, 0x1dc(r1) +/* 80086D14 00083C74 93 C1 01 D8 */ stw r30, 0x1d8(r1) +/* 80086D18 00083C78 93 A1 01 D4 */ stw r29, 0x1d4(r1) +/* 80086D1C 00083C7C 7C 7E 1B 78 */ mr r30, r3 +/* 80086D20 00083C80 FF 80 08 90 */ fmr f28, f1 +/* 80086D24 00083C84 80 03 04 00 */ lwz r0, 0x400(r3) +/* 80086D28 00083C88 7C 9F 23 78 */ mr r31, r4 +/* 80086D2C 00083C8C 2C 00 00 04 */ cmpwi r0, 4 +/* 80086D30 00083C90 41 82 00 0C */ beq lbl_80086D3C +/* 80086D34 00083C94 2C 00 00 05 */ cmpwi r0, 5 +/* 80086D38 00083C98 40 82 00 10 */ bne lbl_80086D48 +lbl_80086D3C: +/* 80086D3C 00083C9C 38 00 00 00 */ li r0, 0 +/* 80086D40 00083CA0 90 1E 03 6C */ stw r0, 0x36c(r30) +/* 80086D44 00083CA4 48 00 06 24 */ b lbl_80087368 +lbl_80086D48: +/* 80086D48 00083CA8 80 1E 03 6C */ lwz r0, 0x36c(r30) +/* 80086D4C 00083CAC 2C 00 00 01 */ cmpwi r0, 1 +/* 80086D50 00083CB0 40 82 00 28 */ bne lbl_80086D78 +/* 80086D54 00083CB4 80 1E 01 88 */ lwz r0, 0x188(r30) +/* 80086D58 00083CB8 2C 00 00 09 */ cmpwi r0, 9 +/* 80086D5C 00083CBC 40 80 00 1C */ bge lbl_80086D78 +/* 80086D60 00083CC0 2C 00 00 04 */ cmpwi r0, 4 +/* 80086D64 00083CC4 40 80 00 08 */ bge lbl_80086D6C +/* 80086D68 00083CC8 48 00 00 10 */ b lbl_80086D78 +lbl_80086D6C: +/* 80086D6C 00083CCC 38 00 00 00 */ li r0, 0 +/* 80086D70 00083CD0 90 1E 03 6C */ stw r0, 0x36c(r30) +/* 80086D74 00083CD4 48 00 05 F4 */ b lbl_80087368 +lbl_80086D78: +/* 80086D78 00083CD8 C0 1E 01 90 */ lfs f0, 0x190(r30) +/* 80086D7C 00083CDC 7F C3 F3 78 */ mr r3, r30 +/* 80086D80 00083CE0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80086D84 00083CE4 7F E6 FB 78 */ mr r6, r31 +/* 80086D88 00083CE8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80086D8C 00083CEC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80086D90 00083CF0 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80086D94 00083CF4 C0 1E 01 A0 */ lfs f0, 0x1a0(r30) +/* 80086D98 00083CF8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80086D9C 00083CFC 48 00 29 31 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +/* 80086DA0 00083D00 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80086DA4 00083D04 38 61 00 EC */ addi r3, r1, 0xec +/* 80086DA8 00083D08 48 1F DF A1 */ bl GetBallPosition__7CPlayerCFv +/* 80086DAC 00083D0C C3 E1 00 EC */ lfs f31, 0xec(r1) +/* 80086DB0 00083D10 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80086DB4 00083D14 C3 C1 00 F0 */ lfs f30, 0xf0(r1) +/* 80086DB8 00083D18 38 9E 03 7C */ addi r4, r30, 0x37c +/* 80086DBC 00083D1C C3 A1 00 F4 */ lfs f29, 0xf4(r1) +/* 80086DC0 00083D20 38 A0 00 02 */ li r5, 2 +/* 80086DC4 00083D24 4B FD 62 C1 */ bl GetKnotPosition__11CBallCameraCFi +/* 80086DC8 00083D28 C0 21 00 E8 */ lfs f1, 0xe8(r1) +/* 80086DCC 00083D2C 38 61 01 40 */ addi r3, r1, 0x140 +/* 80086DD0 00083D30 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 80086DD4 00083D34 EC 7D 08 28 */ fsubs f3, f29, f1 +/* 80086DD8 00083D38 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 80086DDC 00083D3C EC 5F 00 28 */ fsubs f2, f31, f0 +/* 80086DE0 00083D40 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80086DE4 00083D44 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 80086DE8 00083D48 D0 61 01 48 */ stfs f3, 0x148(r1) +/* 80086DEC 00083D4C D0 41 01 40 */ stfs f2, 0x140(r1) +/* 80086DF0 00083D50 D0 21 01 44 */ stfs f1, 0x144(r1) +/* 80086DF4 00083D54 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 80086DF8 00083D58 48 28 D9 01 */ bl CanBeNormalized__9CVector3fCFv +/* 80086DFC 00083D5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80086E00 00083D60 41 82 00 10 */ beq lbl_80086E10 +/* 80086E04 00083D64 38 61 01 40 */ addi r3, r1, 0x140 +/* 80086E08 00083D68 48 28 DA F1 */ bl Normalize__9CVector3fFv +/* 80086E0C 00083D6C 48 00 00 20 */ b lbl_80086E2C +lbl_80086E10: +/* 80086E10 00083D70 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80086E14 00083D74 C0 03 05 0C */ lfs f0, 0x50c(r3) +/* 80086E18 00083D78 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 80086E1C 00083D7C C0 03 05 10 */ lfs f0, 0x510(r3) +/* 80086E20 00083D80 D0 01 01 44 */ stfs f0, 0x144(r1) +/* 80086E24 00083D84 C0 03 05 14 */ lfs f0, 0x514(r3) +/* 80086E28 00083D88 D0 01 01 48 */ stfs f0, 0x148(r1) +lbl_80086E2C: +/* 80086E2C 00083D8C 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80086E30 00083D90 38 9E 03 7C */ addi r4, r30, 0x37c +/* 80086E34 00083D94 38 A0 00 03 */ li r5, 3 +/* 80086E38 00083D98 4B FD 62 4D */ bl GetKnotPosition__11CBallCameraCFi +/* 80086E3C 00083D9C C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 80086E40 00083DA0 7F C4 F3 78 */ mr r4, r30 +/* 80086E44 00083DA4 C0 41 00 D8 */ lfs f2, 0xd8(r1) +/* 80086E48 00083DA8 7F E6 FB 78 */ mr r6, r31 +/* 80086E4C 00083DAC C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80086E50 00083DB0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80086E54 00083DB4 81 21 01 40 */ lwz r9, 0x140(r1) +/* 80086E58 00083DB8 38 A1 00 BC */ addi r5, r1, 0xbc +/* 80086E5C 00083DBC 81 01 01 44 */ lwz r8, 0x144(r1) +/* 80086E60 00083DC0 38 E0 00 00 */ li r7, 0 +/* 80086E64 00083DC4 80 01 01 48 */ lwz r0, 0x148(r1) +/* 80086E68 00083DC8 D0 21 01 34 */ stfs f1, 0x134(r1) +/* 80086E6C 00083DCC C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80086E70 00083DD0 D0 41 01 38 */ stfs f2, 0x138(r1) +/* 80086E74 00083DD4 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80086E78 00083DD8 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 80086E7C 00083DDC 91 21 00 BC */ stw r9, 0xbc(r1) +/* 80086E80 00083DE0 91 01 00 C0 */ stw r8, 0xc0(r1) +/* 80086E84 00083DE4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80086E88 00083DE8 48 00 2E 2D */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +/* 80086E8C 00083DEC C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 80086E90 00083DF0 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 80086E94 00083DF4 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 80086E98 00083DF8 D0 41 01 28 */ stfs f2, 0x128(r1) +/* 80086E9C 00083DFC D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 80086EA0 00083E00 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 80086EA4 00083E04 88 1E 03 70 */ lbz r0, 0x370(r30) +/* 80086EA8 00083E08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80086EAC 00083E0C 41 82 00 2C */ beq lbl_80086ED8 +/* 80086EB0 00083E10 80 E1 01 28 */ lwz r7, 0x128(r1) +/* 80086EB4 00083E14 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80086EB8 00083E18 80 C1 01 2C */ lwz r6, 0x12c(r1) +/* 80086EBC 00083E1C 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 80086EC0 00083E20 80 01 01 30 */ lwz r0, 0x130(r1) +/* 80086EC4 00083E24 38 80 00 03 */ li r4, 3 +/* 80086EC8 00083E28 90 E1 00 B0 */ stw r7, 0xb0(r1) +/* 80086ECC 00083E2C 90 C1 00 B4 */ stw r6, 0xb4(r1) +/* 80086ED0 00083E30 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80086ED4 00083E34 4B FD 61 7D */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f +lbl_80086ED8: +/* 80086ED8 00083E38 C0 1E 03 74 */ lfs f0, 0x374(r30) +/* 80086EDC 00083E3C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80086EE0 00083E40 38 6D 84 E0 */ addi r3, r13, lbl_805A70A0@sda21 +/* 80086EE4 00083E44 38 AD 84 E4 */ addi r5, r13, lbl_805A70A4@sda21 +/* 80086EE8 00083E48 EC 00 E0 28 */ fsubs f0, f0, f28 +/* 80086EEC 00083E4C D0 1E 03 74 */ stfs f0, 0x374(r30) +/* 80086EF0 00083E50 C0 3E 03 74 */ lfs f1, 0x374(r30) +/* 80086EF4 00083E54 C0 1E 03 78 */ lfs f0, 0x378(r30) +/* 80086EF8 00083E58 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80086EFC 00083E5C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80086F00 00083E60 4B F8 53 B5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80086F04 00083E64 80 1E 03 6C */ lwz r0, 0x36c(r30) +/* 80086F08 00083E68 C0 23 00 00 */ lfs f1, 0(r3) +/* 80086F0C 00083E6C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80086F10 00083E70 2C 00 00 01 */ cmpwi r0, 1 +/* 80086F14 00083E74 EF 40 08 28 */ fsubs f26, f0, f1 +/* 80086F18 00083E78 40 82 00 80 */ bne lbl_80086F98 +/* 80086F1C 00083E7C 38 00 00 00 */ li r0, 0 +/* 80086F20 00083E80 7F C3 F3 78 */ mr r3, r30 +/* 80086F24 00083E84 90 01 00 34 */ stw r0, 0x34(r1) +/* 80086F28 00083E88 7F E5 FB 78 */ mr r5, r31 +/* 80086F2C 00083E8C 38 81 00 30 */ addi r4, r1, 0x30 +/* 80086F30 00083E90 90 01 00 30 */ stw r0, 0x30(r1) +/* 80086F34 00083E94 4B FF A1 15 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager +/* 80086F38 00083E98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80086F3C 00083E9C 40 82 00 5C */ bne lbl_80086F98 +/* 80086F40 00083EA0 80 E1 01 34 */ lwz r7, 0x134(r1) +/* 80086F44 00083EA4 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80086F48 00083EA8 80 C1 01 38 */ lwz r6, 0x138(r1) +/* 80086F4C 00083EAC 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 80086F50 00083EB0 80 01 01 3C */ lwz r0, 0x13c(r1) +/* 80086F54 00083EB4 38 80 00 03 */ li r4, 3 +/* 80086F58 00083EB8 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 80086F5C 00083EBC 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 80086F60 00083EC0 90 01 00 AC */ stw r0, 0xac(r1) +/* 80086F64 00083EC4 4B FD 60 ED */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f +/* 80086F68 00083EC8 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80086F6C 00083ECC 38 80 00 00 */ li r4, 0 +/* 80086F70 00083ED0 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 80086F74 00083ED4 3C 60 80 00 */ lis r3, 0x8000 +/* 80086F78 00083ED8 7C 00 20 38 */ and r0, r0, r4 +/* 80086F7C 00083EDC 7C A3 18 38 */ and r3, r5, r3 +/* 80086F80 00083EE0 7C 63 22 78 */ xor r3, r3, r4 +/* 80086F84 00083EE4 7C 00 22 78 */ xor r0, r0, r4 +/* 80086F88 00083EE8 7C 60 03 79 */ or. r0, r3, r0 +/* 80086F8C 00083EEC 41 82 00 0C */ beq lbl_80086F98 +/* 80086F90 00083EF0 90 9E 03 6C */ stw r4, 0x36c(r30) +/* 80086F94 00083EF4 48 00 03 D4 */ b lbl_80087368 +lbl_80086F98: +/* 80086F98 00083EF8 C0 3E 03 74 */ lfs f1, 0x374(r30) +/* 80086F9C 00083EFC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80086FA0 00083F00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80086FA4 00083F04 4C 40 13 82 */ cror 2, 0, 2 +/* 80086FA8 00083F08 41 82 00 1C */ beq lbl_80086FC4 +/* 80086FAC 00083F0C C0 02 8A 48 */ lfs f0, lbl_805AA768@sda21(r2) +/* 80086FB0 00083F10 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 80086FB4 00083F14 40 81 01 E4 */ ble lbl_80087198 +/* 80086FB8 00083F18 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 80086FBC 00083F1C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80086FC0 00083F20 41 82 01 D8 */ beq lbl_80087198 +lbl_80086FC4: +/* 80086FC4 00083F24 80 1E 03 6C */ lwz r0, 0x36c(r30) +/* 80086FC8 00083F28 2C 00 00 02 */ cmpwi r0, 2 +/* 80086FCC 00083F2C 40 82 01 C4 */ bne lbl_80087190 +/* 80086FD0 00083F30 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 80086FD4 00083F34 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80086FD8 00083F38 40 82 01 B8 */ bne lbl_80087190 +/* 80086FDC 00083F3C 38 00 00 00 */ li r0, 0 +/* 80086FE0 00083F40 7F C3 F3 78 */ mr r3, r30 +/* 80086FE4 00083F44 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80086FE8 00083F48 7F E5 FB 78 */ mr r5, r31 +/* 80086FEC 00083F4C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80086FF0 00083F50 90 01 00 28 */ stw r0, 0x28(r1) +/* 80086FF4 00083F54 4B FF A0 55 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager +/* 80086FF8 00083F58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80086FFC 00083F5C 40 82 00 10 */ bne lbl_8008700C +/* 80087000 00083F60 38 00 00 00 */ li r0, 0 +/* 80087004 00083F64 90 1E 03 6C */ stw r0, 0x36c(r30) +/* 80087008 00083F68 48 00 01 90 */ b lbl_80087198 +lbl_8008700C: +/* 8008700C 00083F6C 38 61 00 98 */ addi r3, r1, 0x98 +/* 80087010 00083F70 38 9E 03 7C */ addi r4, r30, 0x37c +/* 80087014 00083F74 38 A0 00 02 */ li r5, 2 +/* 80087018 00083F78 4B FD 60 6D */ bl GetKnotPosition__11CBallCameraCFi +/* 8008701C 00083F7C C0 41 00 98 */ lfs f2, 0x98(r1) +/* 80087020 00083F80 38 61 00 8C */ addi r3, r1, 0x8c +/* 80087024 00083F84 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 80087028 00083F88 38 9E 03 7C */ addi r4, r30, 0x37c +/* 8008702C 00083F8C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80087030 00083F90 38 A0 00 01 */ li r5, 1 +/* 80087034 00083F94 D0 41 01 1C */ stfs f2, 0x11c(r1) +/* 80087038 00083F98 D0 21 01 20 */ stfs f1, 0x120(r1) +/* 8008703C 00083F9C D0 01 01 24 */ stfs f0, 0x124(r1) +/* 80087040 00083FA0 4B FD 60 45 */ bl GetKnotPosition__11CBallCameraCFi +/* 80087044 00083FA4 C0 41 00 8C */ lfs f2, 0x8c(r1) +/* 80087048 00083FA8 7F C3 F3 78 */ mr r3, r30 +/* 8008704C 00083FAC C0 21 00 90 */ lfs f1, 0x90(r1) +/* 80087050 00083FB0 7F E4 FB 78 */ mr r4, r31 +/* 80087054 00083FB4 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 80087058 00083FB8 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 8008705C 00083FBC D0 21 01 14 */ stfs f1, 0x114(r1) +/* 80087060 00083FC0 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 80087064 00083FC4 48 00 09 61 */ bl BuildSpline__11CBallCameraFR13CStateManager +/* 80087068 00083FC8 38 61 00 74 */ addi r3, r1, 0x74 +/* 8008706C 00083FCC 38 9E 03 7C */ addi r4, r30, 0x37c +/* 80087070 00083FD0 38 A0 00 01 */ li r5, 1 +/* 80087074 00083FD4 4B FD 60 11 */ bl GetKnotPosition__11CBallCameraCFi +/* 80087078 00083FD8 80 E1 00 74 */ lwz r7, 0x74(r1) +/* 8008707C 00083FDC 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80087080 00083FE0 80 C1 00 78 */ lwz r6, 0x78(r1) +/* 80087084 00083FE4 38 A1 00 80 */ addi r5, r1, 0x80 +/* 80087088 00083FE8 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8008708C 00083FEC 38 80 00 03 */ li r4, 3 +/* 80087090 00083FF0 90 E1 00 80 */ stw r7, 0x80(r1) +/* 80087094 00083FF4 90 C1 00 84 */ stw r6, 0x84(r1) +/* 80087098 00083FF8 90 01 00 88 */ stw r0, 0x88(r1) +/* 8008709C 00083FFC 4B FD 5F B5 */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f +/* 800870A0 00084000 38 61 00 5C */ addi r3, r1, 0x5c +/* 800870A4 00084004 38 9E 03 7C */ addi r4, r30, 0x37c +/* 800870A8 00084008 38 A0 00 00 */ li r5, 0 +/* 800870AC 0008400C 4B FD 5F D9 */ bl GetKnotPosition__11CBallCameraCFi +/* 800870B0 00084010 80 E1 00 5C */ lwz r7, 0x5c(r1) +/* 800870B4 00084014 38 7E 03 7C */ addi r3, r30, 0x37c +/* 800870B8 00084018 80 C1 00 60 */ lwz r6, 0x60(r1) +/* 800870BC 0008401C 38 A1 00 68 */ addi r5, r1, 0x68 +/* 800870C0 00084020 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800870C4 00084024 38 80 00 02 */ li r4, 2 +/* 800870C8 00084028 90 E1 00 68 */ stw r7, 0x68(r1) +/* 800870CC 0008402C 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 800870D0 00084030 90 01 00 70 */ stw r0, 0x70(r1) +/* 800870D4 00084034 4B FD 5F 7D */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f +/* 800870D8 00084038 80 E1 01 1C */ lwz r7, 0x11c(r1) +/* 800870DC 0008403C 38 7E 03 7C */ addi r3, r30, 0x37c +/* 800870E0 00084040 80 C1 01 20 */ lwz r6, 0x120(r1) +/* 800870E4 00084044 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800870E8 00084048 80 01 01 24 */ lwz r0, 0x124(r1) +/* 800870EC 0008404C 38 80 00 01 */ li r4, 1 +/* 800870F0 00084050 90 E1 00 50 */ stw r7, 0x50(r1) +/* 800870F4 00084054 90 C1 00 54 */ stw r6, 0x54(r1) +/* 800870F8 00084058 90 01 00 58 */ stw r0, 0x58(r1) +/* 800870FC 0008405C 4B FD 5F 55 */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f +/* 80087100 00084060 80 E1 01 10 */ lwz r7, 0x110(r1) +/* 80087104 00084064 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80087108 00084068 80 C1 01 14 */ lwz r6, 0x114(r1) +/* 8008710C 0008406C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80087110 00084070 80 01 01 18 */ lwz r0, 0x118(r1) +/* 80087114 00084074 38 80 00 00 */ li r4, 0 +/* 80087118 00084078 90 E1 00 44 */ stw r7, 0x44(r1) +/* 8008711C 0008407C 90 C1 00 48 */ stw r6, 0x48(r1) +/* 80087120 00084080 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80087124 00084084 4B FD 5F 2D */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f +/* 80087128 00084088 38 7E 03 7C */ addi r3, r30, 0x37c +/* 8008712C 0008408C 4B FD 51 91 */ bl CalculateSplineLength__13CCameraSplineFv +/* 80087130 00084090 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) +/* 80087134 00084094 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80087138 00084098 38 80 00 02 */ li r4, 2 +/* 8008713C 0008409C C3 7E 03 C0 */ lfs f27, 0x3c0(r30) +/* 80087140 000840A0 C3 5E 03 78 */ lfs f26, 0x378(r30) +/* 80087144 000840A4 4B FD 5F 95 */ bl GetKnotT__13CCameraSplineCFi +/* 80087148 000840A8 EC 01 D8 24 */ fdivs f0, f1, f27 +/* 8008714C 000840AC 38 81 00 0C */ addi r4, r1, 0xc +/* 80087150 000840B0 38 6D 84 E8 */ addi r3, r13, lbl_805A70A8@sda21 +/* 80087154 000840B4 38 AD 84 EC */ addi r5, r13, lbl_805A70AC@sda21 +/* 80087158 000840B8 EC 1A D0 3C */ fnmsubs f0, f26, f0, f26 +/* 8008715C 000840BC D0 1E 03 74 */ stfs f0, 0x374(r30) +/* 80087160 000840C0 C0 1E 03 74 */ lfs f0, 0x374(r30) +/* 80087164 000840C4 EC 00 E0 28 */ fsubs f0, f0, f28 +/* 80087168 000840C8 D0 1E 03 74 */ stfs f0, 0x374(r30) +/* 8008716C 000840CC C0 3E 03 74 */ lfs f1, 0x374(r30) +/* 80087170 000840D0 C0 1E 03 78 */ lfs f0, 0x378(r30) +/* 80087174 000840D4 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80087178 000840D8 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8008717C 000840DC 4B F8 51 39 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80087180 000840E0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80087184 000840E4 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80087188 000840E8 EF 40 08 28 */ fsubs f26, f0, f1 +/* 8008718C 000840EC 48 00 00 0C */ b lbl_80087198 +lbl_80087190: +/* 80087190 000840F0 38 00 00 00 */ li r0, 0 +/* 80087194 000840F4 90 1E 03 6C */ stw r0, 0x36c(r30) +lbl_80087198: +/* 80087198 000840F8 38 7E 03 7C */ addi r3, r30, 0x37c +/* 8008719C 000840FC 4B FD 51 21 */ bl CalculateSplineLength__13CCameraSplineFv +/* 800871A0 00084100 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) +/* 800871A4 00084104 38 61 01 98 */ addi r3, r1, 0x198 +/* 800871A8 00084108 38 9E 03 7C */ addi r4, r30, 0x37c +/* 800871AC 0008410C C0 1E 03 C0 */ lfs f0, 0x3c0(r30) +/* 800871B0 00084110 EC 3A 00 32 */ fmuls f1, f26, f0 +/* 800871B4 00084114 4B FD 48 CD */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf +/* 800871B8 00084118 C0 41 01 C4 */ lfs f2, 0x1c4(r1) +/* 800871BC 0008411C 7F E3 FB 78 */ mr r3, r31 +/* 800871C0 00084120 C0 21 01 B4 */ lfs f1, 0x1b4(r1) +/* 800871C4 00084124 38 81 00 08 */ addi r4, r1, 8 +/* 800871C8 00084128 C0 01 01 A4 */ lfs f0, 0x1a4(r1) +/* 800871CC 0008412C D0 21 01 08 */ stfs f1, 0x108(r1) +/* 800871D0 00084130 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 800871D4 00084134 D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 800871D8 00084138 A0 1E 04 6C */ lhz r0, 0x46c(r30) +/* 800871DC 0008413C B0 01 00 08 */ sth r0, 8(r1) +/* 800871E0 00084140 4B FC 53 95 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800871E4 00084144 7C 64 1B 78 */ mr r4, r3 +/* 800871E8 00084148 38 61 00 1C */ addi r3, r1, 0x1c +/* 800871EC 0008414C 48 02 54 F9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 800871F0 00084150 83 A3 00 04 */ lwz r29, 4(r3) +/* 800871F4 00084154 28 1D 00 00 */ cmplwi r29, 0 +/* 800871F8 00084158 41 82 00 B0 */ beq lbl_800872A8 +/* 800871FC 0008415C 7F A3 EB 78 */ mr r3, r29 +/* 80087200 00084160 4B FC C6 BD */ bl GetMaterialFilter__6CActorCFv +/* 80087204 00084164 81 43 00 00 */ lwz r10, 0(r3) +/* 80087208 00084168 38 A0 00 03 */ li r5, 3 +/* 8008720C 0008416C 80 C3 00 04 */ lwz r6, 4(r3) +/* 80087210 00084170 3C 00 40 00 */ lis r0, 0x4000 +/* 80087214 00084174 90 A1 01 60 */ stw r5, 0x160(r1) +/* 80087218 00084178 38 81 01 68 */ addi r4, r1, 0x168 +/* 8008721C 0008417C 7C C0 03 78 */ or r0, r6, r0 +/* 80087220 00084180 90 C1 01 84 */ stw r6, 0x184(r1) +/* 80087224 00084184 91 41 01 80 */ stw r10, 0x180(r1) +/* 80087228 00084188 81 03 00 08 */ lwz r8, 8(r3) +/* 8008722C 0008418C 81 23 00 0C */ lwz r9, 0xc(r3) +/* 80087230 00084190 91 21 01 8C */ stw r9, 0x18c(r1) +/* 80087234 00084194 91 01 01 88 */ stw r8, 0x188(r1) +/* 80087238 00084198 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 8008723C 0008419C 7F A3 EB 78 */ mr r3, r29 +/* 80087240 000841A0 90 C1 01 90 */ stw r6, 0x190(r1) +/* 80087244 000841A4 80 DE 03 C8 */ lwz r6, 0x3c8(r30) +/* 80087248 000841A8 80 FE 03 CC */ lwz r7, 0x3cc(r30) +/* 8008724C 000841AC 7D 06 33 78 */ or r6, r8, r6 +/* 80087250 000841B0 7D 27 3B 78 */ or r7, r9, r7 +/* 80087254 000841B4 90 01 01 6C */ stw r0, 0x16c(r1) +/* 80087258 000841B8 91 41 01 68 */ stw r10, 0x168(r1) +/* 8008725C 000841BC 90 E1 01 74 */ stw r7, 0x174(r1) +/* 80087260 000841C0 90 C1 01 70 */ stw r6, 0x170(r1) +/* 80087264 000841C4 90 A1 01 78 */ stw r5, 0x178(r1) +/* 80087268 000841C8 4B FC C6 39 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8008726C 000841CC FC 20 E0 90 */ fmr f1, f28 +/* 80087270 000841D0 7F C4 F3 78 */ mr r4, r30 +/* 80087274 000841D4 7F E6 FB 78 */ mr r6, r31 +/* 80087278 000841D8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8008727C 000841DC 38 A1 01 04 */ addi r5, r1, 0x104 +/* 80087280 000841E0 4B FF D2 E9 */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager +/* 80087284 000841E4 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 80087288 000841E8 7F A3 EB 78 */ mr r3, r29 +/* 8008728C 000841EC C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 80087290 000841F0 38 81 01 80 */ addi r4, r1, 0x180 +/* 80087294 000841F4 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80087298 000841F8 D0 41 01 28 */ stfs f2, 0x128(r1) +/* 8008729C 000841FC D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 800872A0 00084200 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 800872A4 00084204 4B FC C5 FD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +lbl_800872A8: +/* 800872A8 00084208 C0 1E 01 D8 */ lfs f0, 0x1d8(r30) +/* 800872AC 0008420C C0 61 01 28 */ lfs f3, 0x128(r1) +/* 800872B0 00084210 C0 3E 01 DC */ lfs f1, 0x1dc(r30) +/* 800872B4 00084214 C0 81 01 2C */ lfs f4, 0x12c(r1) +/* 800872B8 00084218 EC 40 18 28 */ fsubs f2, f0, f3 +/* 800872BC 0008421C C0 1E 01 E0 */ lfs f0, 0x1e0(r30) +/* 800872C0 00084220 C0 A1 01 30 */ lfs f5, 0x130(r1) +/* 800872C4 00084224 EC 21 20 28 */ fsubs f1, f1, f4 +/* 800872C8 00084228 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 800872CC 0008422C EC 00 28 28 */ fsubs f0, f0, f5 +/* 800872D0 00084230 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 800872D4 00084234 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 800872D8 00084238 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 800872DC 0008423C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800872E0 00084240 41 82 00 1C */ beq lbl_800872FC +/* 800872E4 00084244 EC 5F 18 28 */ fsubs f2, f31, f3 +/* 800872E8 00084248 EC 3E 20 28 */ fsubs f1, f30, f4 +/* 800872EC 0008424C EC 1D 28 28 */ fsubs f0, f29, f5 +/* 800872F0 00084250 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 800872F4 00084254 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 800872F8 00084258 D0 01 01 00 */ stfs f0, 0x100(r1) +lbl_800872FC: +/* 800872FC 0008425C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80087300 00084260 48 28 D3 F9 */ bl CanBeNormalized__9CVector3fCFv +/* 80087304 00084264 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80087308 00084268 41 82 00 24 */ beq lbl_8008732C +/* 8008730C 0008426C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80087310 00084270 48 28 D5 E9 */ bl Normalize__9CVector3fFv +/* 80087314 00084274 FC 20 E0 90 */ fmr f1, f28 +/* 80087318 00084278 7F C3 F3 78 */ mr r3, r30 +/* 8008731C 0008427C 7F E6 FB 78 */ mr r6, r31 +/* 80087320 00084280 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80087324 00084284 38 A1 01 28 */ addi r5, r1, 0x128 +/* 80087328 00084288 48 00 17 B5 */ bl UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager +lbl_8008732C: +/* 8008732C 0008428C 7F C3 F3 78 */ mr r3, r30 +/* 80087330 00084290 7F E5 FB 78 */ mr r5, r31 +/* 80087334 00084294 38 81 01 28 */ addi r4, r1, 0x128 +/* 80087338 00084298 48 00 57 E5 */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager +/* 8008733C 0008429C 88 1E 03 D0 */ lbz r0, 0x3d0(r30) +/* 80087340 000842A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80087344 000842A4 41 82 00 24 */ beq lbl_80087368 +/* 80087348 000842A8 C0 5E 03 74 */ lfs f2, 0x374(r30) +/* 8008734C 000842AC C0 3E 03 78 */ lfs f1, 0x378(r30) +/* 80087350 000842B0 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) +/* 80087354 000842B4 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80087358 000842B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008735C 000842BC 40 80 00 0C */ bge lbl_80087368 +/* 80087360 000842C0 38 00 00 00 */ li r0, 0 +/* 80087364 000842C4 90 1E 03 6C */ stw r0, 0x36c(r30) +lbl_80087368: +/* 80087368 000842C8 E3 E1 02 38 */ psq_l f31, 568(r1), 0, qr0 +/* 8008736C 000842CC CB E1 02 30 */ lfd f31, 0x230(r1) +/* 80087370 000842D0 E3 C1 02 28 */ psq_l f30, 552(r1), 0, qr0 +/* 80087374 000842D4 CB C1 02 20 */ lfd f30, 0x220(r1) +/* 80087378 000842D8 E3 A1 02 18 */ psq_l f29, 536(r1), 0, qr0 +/* 8008737C 000842DC CB A1 02 10 */ lfd f29, 0x210(r1) +/* 80087380 000842E0 E3 81 02 08 */ psq_l f28, 520(r1), 0, qr0 +/* 80087384 000842E4 CB 81 02 00 */ lfd f28, 0x200(r1) +/* 80087388 000842E8 E3 61 01 F8 */ psq_l f27, 504(r1), 0, qr0 +/* 8008738C 000842EC CB 61 01 F0 */ lfd f27, 0x1f0(r1) +/* 80087390 000842F0 E3 41 01 E8 */ psq_l f26, 488(r1), 0, qr0 +/* 80087394 000842F4 CB 41 01 E0 */ lfd f26, 0x1e0(r1) +/* 80087398 000842F8 83 E1 01 DC */ lwz r31, 0x1dc(r1) +/* 8008739C 000842FC 83 C1 01 D8 */ lwz r30, 0x1d8(r1) +/* 800873A0 00084300 80 01 02 44 */ lwz r0, 0x244(r1) +/* 800873A4 00084304 83 A1 01 D4 */ lwz r29, 0x1d4(r1) +/* 800873A8 00084308 7C 08 03 A6 */ mtlr r0 +/* 800873AC 0008430C 38 21 02 40 */ addi r1, r1, 0x240 +/* 800873B0 00084310 4E 80 00 20 */ blr + +.global ResetSpline__11CBallCameraFR13CStateManager +ResetSpline__11CBallCameraFR13CStateManager: +/* 800873B4 00084314 94 21 F6 20 */ stwu r1, -0x9e0(r1) +/* 800873B8 00084318 7C 08 02 A6 */ mflr r0 +/* 800873BC 0008431C 90 01 09 E4 */ stw r0, 0x9e4(r1) +/* 800873C0 00084320 DB E1 09 D0 */ stfd f31, 0x9d0(r1) +/* 800873C4 00084324 F3 E1 09 D8 */ psq_st f31, -1576(r1), 0, qr0 +/* 800873C8 00084328 DB C1 09 C0 */ stfd f30, 0x9c0(r1) +/* 800873CC 0008432C F3 C1 09 C8 */ psq_st f30, -1592(r1), 0, qr0 +/* 800873D0 00084330 DB A1 09 B0 */ stfd f29, 0x9b0(r1) +/* 800873D4 00084334 F3 A1 09 B8 */ psq_st f29, -1608(r1), 0, qr0 +/* 800873D8 00084338 DB 81 09 A0 */ stfd f28, 0x9a0(r1) +/* 800873DC 0008433C F3 81 09 A8 */ psq_st f28, -1624(r1), 0, qr0 +/* 800873E0 00084340 93 E1 09 9C */ stw r31, 0x99c(r1) +/* 800873E4 00084344 93 C1 09 98 */ stw r30, 0x998(r1) +/* 800873E8 00084348 93 A1 09 94 */ stw r29, 0x994(r1) +/* 800873EC 0008434C 93 81 09 90 */ stw r28, 0x990(r1) +/* 800873F0 00084350 7C 9F 23 78 */ mr r31, r4 +/* 800873F4 00084354 7C 7E 1B 78 */ mr r30, r3 +/* 800873F8 00084358 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 800873FC 0008435C 38 61 00 EC */ addi r3, r1, 0xec +/* 80087400 00084360 48 1F D9 49 */ bl GetBallPosition__7CPlayerCFv +/* 80087404 00084364 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 80087408 00084368 39 40 00 00 */ li r10, 0 +/* 8008740C 0008436C C0 21 00 EC */ lfs f1, 0xec(r1) +/* 80087410 00084370 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80087414 00084374 C0 81 00 F0 */ lfs f4, 0xf0(r1) +/* 80087418 00084378 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 8008741C 0008437C C0 61 00 F4 */ lfs f3, 0xf4(r1) +/* 80087420 00084380 7F E4 FB 78 */ mr r4, r31 +/* 80087424 00084384 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80087428 00084388 38 61 01 50 */ addi r3, r1, 0x150 +/* 8008742C 0008438C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80087430 00084390 38 A1 00 08 */ addi r5, r1, 8 +/* 80087434 00084394 D0 21 01 40 */ stfs f1, 0x140(r1) +/* 80087438 00084398 38 C1 01 40 */ addi r6, r1, 0x140 +/* 8008743C 0008439C C0 22 8A 4C */ lfs f1, lbl_805AA76C@sda21(r2) +/* 80087440 000843A0 38 E1 01 34 */ addi r7, r1, 0x134 +/* 80087444 000843A4 D0 81 01 44 */ stfs f4, 0x144(r1) +/* 80087448 000843A8 39 21 01 80 */ addi r9, r1, 0x180 +/* 8008744C 000843AC D0 61 01 48 */ stfs f3, 0x148(r1) +/* 80087450 000843B0 91 41 01 80 */ stw r10, 0x180(r1) +/* 80087454 000843B4 B0 01 00 08 */ sth r0, 8(r1) +/* 80087458 000843B8 D0 41 01 34 */ stfs f2, 0x134(r1) +/* 8008745C 000843BC D0 41 01 38 */ stfs f2, 0x138(r1) +/* 80087460 000843C0 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 80087464 000843C4 4B FC 5B 61 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80087468 000843C8 88 01 01 70 */ lbz r0, 0x170(r1) +/* 8008746C 000843CC C0 21 01 50 */ lfs f1, 0x150(r1) +/* 80087470 000843D0 28 00 00 00 */ cmplwi r0, 0 +/* 80087474 000843D4 41 82 00 28 */ beq lbl_8008749C +/* 80087478 000843D8 C0 02 8A 4C */ lfs f0, lbl_805AA76C@sda21(r2) +/* 8008747C 000843DC 38 81 00 0C */ addi r4, r1, 0xc +/* 80087480 000843E0 38 6D 84 D0 */ addi r3, r13, lbl_805A7090@sda21 +/* 80087484 000843E4 38 AD 84 D4 */ addi r5, r13, lbl_805A7094@sda21 +/* 80087488 000843E8 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8008748C 000843EC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80087490 000843F0 4B F8 4E 25 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80087494 000843F4 C3 83 00 00 */ lfs f28, 0(r3) +/* 80087498 000843F8 48 00 00 08 */ b lbl_800874A0 +lbl_8008749C: +/* 8008749C 000843FC C3 82 89 B8 */ lfs f28, lbl_805AA6D8@sda21(r2) +lbl_800874A0: +/* 800874A0 00084400 38 C0 00 01 */ li r6, 1 +/* 800874A4 00084404 38 A0 00 00 */ li r5, 0 +/* 800874A8 00084408 90 DE 03 6C */ stw r6, 0x36c(r30) +/* 800874AC 0008440C 38 7E 03 7C */ addi r3, r30, 0x37c +/* 800874B0 00084410 38 80 00 04 */ li r4, 4 +/* 800874B4 00084414 88 1E 03 70 */ lbz r0, 0x370(r30) +/* 800874B8 00084418 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800874BC 0008441C 98 1E 03 70 */ stb r0, 0x370(r30) +/* 800874C0 00084420 88 1E 03 D0 */ lbz r0, 0x3d0(r30) +/* 800874C4 00084424 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 800874C8 00084428 98 1E 03 D0 */ stb r0, 0x3d0(r30) +/* 800874CC 0008442C 4B FD 59 7D */ bl Reset__13CCameraSplineFi +/* 800874D0 00084430 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 800874D4 00084434 38 7E 03 7C */ addi r3, r30, 0x37c +/* 800874D8 00084438 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 800874DC 0008443C 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 800874E0 00084440 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 800874E4 00084444 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 800874E8 00084448 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800874EC 0008444C 80 E1 00 BC */ lwz r7, 0xbc(r1) +/* 800874F0 00084450 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 800874F4 00084454 80 C1 00 C0 */ lwz r6, 0xc0(r1) +/* 800874F8 00084458 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800874FC 0008445C 90 E1 00 C8 */ stw r7, 0xc8(r1) +/* 80087500 00084460 90 C1 00 CC */ stw r6, 0xcc(r1) +/* 80087504 00084464 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 80087508 00084468 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 8008750C 0008446C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80087510 00084470 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80087514 00084474 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 80087518 00084478 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 8008751C 0008447C 80 E1 00 D4 */ lwz r7, 0xd4(r1) +/* 80087520 00084480 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 80087524 00084484 80 C1 00 D8 */ lwz r6, 0xd8(r1) +/* 80087528 00084488 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 8008752C 0008448C 90 E1 00 E0 */ stw r7, 0xe0(r1) +/* 80087530 00084490 90 C1 00 E4 */ stw r6, 0xe4(r1) +/* 80087534 00084494 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 80087538 00084498 4B FD 5A 19 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +/* 8008753C 0008449C C0 1E 01 90 */ lfs f0, 0x190(r30) +/* 80087540 000844A0 7F C3 F3 78 */ mr r3, r30 +/* 80087544 000844A4 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80087548 000844A8 7F E6 FB 78 */ mr r6, r31 +/* 8008754C 000844AC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80087550 000844B0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80087554 000844B4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80087558 000844B8 C0 1E 01 A0 */ lfs f0, 0x1a0(r30) +/* 8008755C 000844BC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80087560 000844C0 48 00 21 6D */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +/* 80087564 000844C4 C0 1E 03 64 */ lfs f0, 0x364(r30) +/* 80087568 000844C8 38 7E 03 7C */ addi r3, r30, 0x37c +/* 8008756C 000844CC C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80087570 000844D0 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80087574 000844D4 C0 7E 03 5C */ lfs f3, 0x35c(r30) +/* 80087578 000844D8 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8008757C 000844DC C0 5E 03 60 */ lfs f2, 0x360(r30) +/* 80087580 000844E0 C0 9E 00 60 */ lfs f4, 0x60(r30) +/* 80087584 000844E4 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 80087588 000844E8 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 8008758C 000844EC D0 61 01 28 */ stfs f3, 0x128(r1) +/* 80087590 000844F0 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 80087594 000844F4 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 80087598 000844F8 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 8008759C 000844FC D0 81 01 30 */ stfs f4, 0x130(r1) +/* 800875A0 00084500 80 E1 01 28 */ lwz r7, 0x128(r1) +/* 800875A4 00084504 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 800875A8 00084508 80 C1 01 2C */ lwz r6, 0x12c(r1) +/* 800875AC 0008450C D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800875B0 00084510 81 41 00 8C */ lwz r10, 0x8c(r1) +/* 800875B4 00084514 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 800875B8 00084518 81 21 00 90 */ lwz r9, 0x90(r1) +/* 800875BC 0008451C 81 01 00 94 */ lwz r8, 0x94(r1) +/* 800875C0 00084520 80 01 01 30 */ lwz r0, 0x130(r1) +/* 800875C4 00084524 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 800875C8 00084528 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 800875CC 0008452C D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 800875D0 00084530 91 41 00 98 */ stw r10, 0x98(r1) +/* 800875D4 00084534 91 21 00 9C */ stw r9, 0x9c(r1) +/* 800875D8 00084538 91 01 00 A0 */ stw r8, 0xa0(r1) +/* 800875DC 0008453C 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 800875E0 00084540 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 800875E4 00084544 90 01 00 AC */ stw r0, 0xac(r1) +/* 800875E8 00084548 4B FD 59 69 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +/* 800875EC 0008454C C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) +/* 800875F0 00084550 38 7E 03 7C */ addi r3, r30, 0x37c +/* 800875F4 00084554 C0 5E 03 5C */ lfs f2, 0x35c(r30) +/* 800875F8 00084558 38 81 00 80 */ addi r4, r1, 0x80 +/* 800875FC 0008455C C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80087600 00084560 EC C0 E0 2A */ fadds f6, f0, f28 +/* 80087604 00084564 C0 7E 03 60 */ lfs f3, 0x360(r30) +/* 80087608 00084568 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8008760C 0008456C C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80087610 00084570 EC A2 08 28 */ fsubs f5, f2, f1 +/* 80087614 00084574 C0 5E 03 64 */ lfs f2, 0x364(r30) +/* 80087618 00084578 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 8008761C 0008457C EC 83 00 28 */ fsubs f4, f3, f0 +/* 80087620 00084580 EC A6 01 72 */ fmuls f5, f6, f5 +/* 80087624 00084584 C0 01 01 28 */ lfs f0, 0x128(r1) +/* 80087628 00084588 EC 62 08 28 */ fsubs f3, f2, f1 +/* 8008762C 0008458C C3 E1 01 2C */ lfs f31, 0x12c(r1) +/* 80087630 00084590 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80087634 00084594 EC 86 01 32 */ fmuls f4, f6, f4 +/* 80087638 00084598 EC 40 28 2A */ fadds f2, f0, f5 +/* 8008763C 0008459C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80087640 000845A0 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80087644 000845A4 EC 66 00 F2 */ fmuls f3, f6, f3 +/* 80087648 000845A8 C3 C1 01 30 */ lfs f30, 0x130(r1) +/* 8008764C 000845AC EC 9F 20 2A */ fadds f4, f31, f4 +/* 80087650 000845B0 EC 7E 18 2A */ fadds f3, f30, f3 +/* 80087654 000845B4 D0 41 01 1C */ stfs f2, 0x11c(r1) +/* 80087658 000845B8 81 41 00 68 */ lwz r10, 0x68(r1) +/* 8008765C 000845BC D0 81 01 20 */ stfs f4, 0x120(r1) +/* 80087660 000845C0 80 E1 01 1C */ lwz r7, 0x11c(r1) +/* 80087664 000845C4 D0 61 01 24 */ stfs f3, 0x124(r1) +/* 80087668 000845C8 80 C1 01 20 */ lwz r6, 0x120(r1) +/* 8008766C 000845CC D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80087670 000845D0 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80087674 000845D4 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80087678 000845D8 81 21 00 6C */ lwz r9, 0x6c(r1) +/* 8008767C 000845DC 81 01 00 70 */ lwz r8, 0x70(r1) +/* 80087680 000845E0 91 41 00 74 */ stw r10, 0x74(r1) +/* 80087684 000845E4 91 21 00 78 */ stw r9, 0x78(r1) +/* 80087688 000845E8 91 01 00 7C */ stw r8, 0x7c(r1) +/* 8008768C 000845EC 90 E1 00 80 */ stw r7, 0x80(r1) +/* 80087690 000845F0 90 C1 00 84 */ stw r6, 0x84(r1) +/* 80087694 000845F4 90 01 00 88 */ stw r0, 0x88(r1) +/* 80087698 000845F8 4B FD 58 B9 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +/* 8008769C 000845FC C0 01 01 48 */ lfs f0, 0x148(r1) +/* 800876A0 00084600 38 61 01 10 */ addi r3, r1, 0x110 +/* 800876A4 00084604 C3 A1 01 24 */ lfs f29, 0x124(r1) +/* 800876A8 00084608 C0 61 01 44 */ lfs f3, 0x144(r1) +/* 800876AC 0008460C EC 80 E8 28 */ fsubs f4, f0, f29 +/* 800876B0 00084610 C0 41 01 20 */ lfs f2, 0x120(r1) +/* 800876B4 00084614 C0 21 01 40 */ lfs f1, 0x140(r1) +/* 800876B8 00084618 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 800876BC 0008461C EC 43 10 28 */ fsubs f2, f3, f2 +/* 800876C0 00084620 D0 81 01 18 */ stfs f4, 0x118(r1) +/* 800876C4 00084624 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800876C8 00084628 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800876CC 0008462C D0 41 01 14 */ stfs f2, 0x114(r1) +/* 800876D0 00084630 D0 21 01 10 */ stfs f1, 0x110(r1) +/* 800876D4 00084634 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 800876D8 00084638 48 28 D0 21 */ bl CanBeNormalized__9CVector3fCFv +/* 800876DC 0008463C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800876E0 00084640 41 82 00 10 */ beq lbl_800876F0 +/* 800876E4 00084644 38 61 01 10 */ addi r3, r1, 0x110 +/* 800876E8 00084648 48 28 D2 11 */ bl Normalize__9CVector3fFv +/* 800876EC 0008464C 48 00 00 20 */ b lbl_8008770C +lbl_800876F0: +/* 800876F0 00084650 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 800876F4 00084654 C0 03 05 0C */ lfs f0, 0x50c(r3) +/* 800876F8 00084658 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 800876FC 0008465C C0 03 05 10 */ lfs f0, 0x510(r3) +/* 80087700 00084660 D0 01 01 14 */ stfs f0, 0x114(r1) +/* 80087704 00084664 C0 03 05 14 */ lfs f0, 0x514(r3) +/* 80087708 00084668 D0 01 01 18 */ stfs f0, 0x118(r1) +lbl_8008770C: +/* 8008770C 0008466C 80 61 01 10 */ lwz r3, 0x110(r1) +/* 80087710 00084670 7F C4 F3 78 */ mr r4, r30 +/* 80087714 00084674 80 E1 01 14 */ lwz r7, 0x114(r1) +/* 80087718 00084678 7F E6 FB 78 */ mr r6, r31 +/* 8008771C 0008467C 80 01 01 18 */ lwz r0, 0x118(r1) +/* 80087720 00084680 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80087724 00084684 90 61 00 50 */ stw r3, 0x50(r1) +/* 80087728 00084688 38 61 00 5C */ addi r3, r1, 0x5c +/* 8008772C 0008468C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80087730 00084690 90 E1 00 54 */ stw r7, 0x54(r1) +/* 80087734 00084694 38 E0 00 00 */ li r7, 0 +/* 80087738 00084698 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8008773C 0008469C 90 01 00 58 */ stw r0, 0x58(r1) +/* 80087740 000846A0 48 00 25 75 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +/* 80087744 000846A4 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80087748 000846A8 38 7E 03 7C */ addi r3, r30, 0x37c +/* 8008774C 000846AC C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 80087750 000846B0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80087754 000846B4 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 80087758 000846B8 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8008775C 000846BC C0 41 00 64 */ lfs f2, 0x64(r1) +/* 80087760 000846C0 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80087764 000846C4 D0 81 01 04 */ stfs f4, 0x104(r1) +/* 80087768 000846C8 D0 61 01 08 */ stfs f3, 0x108(r1) +/* 8008776C 000846CC 80 E1 01 04 */ lwz r7, 0x104(r1) +/* 80087770 000846D0 D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 80087774 000846D4 80 C1 01 08 */ lwz r6, 0x108(r1) +/* 80087778 000846D8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8008777C 000846DC 80 01 01 0C */ lwz r0, 0x10c(r1) +/* 80087780 000846E0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80087784 000846E4 81 41 00 2C */ lwz r10, 0x2c(r1) +/* 80087788 000846E8 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8008778C 000846EC 81 21 00 30 */ lwz r9, 0x30(r1) +/* 80087790 000846F0 81 01 00 34 */ lwz r8, 0x34(r1) +/* 80087794 000846F4 91 41 00 38 */ stw r10, 0x38(r1) +/* 80087798 000846F8 91 21 00 3C */ stw r9, 0x3c(r1) +/* 8008779C 000846FC 91 01 00 40 */ stw r8, 0x40(r1) +/* 800877A0 00084700 90 E1 00 44 */ stw r7, 0x44(r1) +/* 800877A4 00084704 90 C1 00 48 */ stw r6, 0x48(r1) +/* 800877A8 00084708 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800877AC 0008470C 4B FD 57 A5 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +/* 800877B0 00084710 38 7E 03 7C */ addi r3, r30, 0x37c +/* 800877B4 00084714 4B FD 4B 09 */ bl CalculateSplineLength__13CCameraSplineFv +/* 800877B8 00084718 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) +/* 800877BC 0008471C 38 A0 00 00 */ li r5, 0 +/* 800877C0 00084720 38 60 00 00 */ li r3, 0 +/* 800877C4 00084724 38 80 00 01 */ li r4, 1 +/* 800877C8 00084728 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 800877CC 0008472C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800877D0 00084730 88 1E 03 D0 */ lbz r0, 0x3d0(r30) +/* 800877D4 00084734 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 800877D8 00084738 98 1E 03 D0 */ stb r0, 0x3d0(r30) +/* 800877DC 0008473C 80 AD 84 D8 */ lwz r5, lbl_805A7098@sda21(r13) +/* 800877E0 00084740 48 30 27 15 */ bl __shl2i +/* 800877E4 00084744 80 AD 84 DC */ lwz r5, lbl_805A709C@sda21(r13) +/* 800877E8 00084748 7C 9C 23 78 */ mr r28, r4 +/* 800877EC 0008474C 7C 7D 1B 78 */ mr r29, r3 +/* 800877F0 00084750 38 60 00 00 */ li r3, 0 +/* 800877F4 00084754 38 80 00 01 */ li r4, 1 +/* 800877F8 00084758 48 30 26 FD */ bl __shl2i +/* 800877FC 0008475C 7F 9C 23 78 */ or r28, r28, r4 +/* 80087800 00084760 7F BD 1B 78 */ or r29, r29, r3 +/* 80087804 00084764 93 9E 03 CC */ stw r28, 0x3cc(r30) +/* 80087808 00084768 7F C3 F3 78 */ mr r3, r30 +/* 8008780C 0008476C 7F E5 FB 78 */ mr r5, r31 +/* 80087810 00084770 38 81 00 18 */ addi r4, r1, 0x18 +/* 80087814 00084774 93 BE 03 C8 */ stw r29, 0x3c8(r30) +/* 80087818 00084778 4B FF 98 31 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager +/* 8008781C 0008477C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80087820 00084780 40 82 00 F8 */ bne lbl_80087918 +/* 80087824 00084784 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80087828 00084788 38 80 00 00 */ li r4, 0 +/* 8008782C 0008478C 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80087830 00084790 3C 60 80 00 */ lis r3, 0x8000 +/* 80087834 00084794 7C A0 20 38 */ and r0, r5, r4 +/* 80087838 00084798 7C C3 18 38 */ and r3, r6, r3 +/* 8008783C 0008479C 7C 63 22 78 */ xor r3, r3, r4 +/* 80087840 000847A0 7C 00 22 78 */ xor r0, r0, r4 +/* 80087844 000847A4 7C 60 03 79 */ or. r0, r3, r0 +/* 80087848 000847A8 41 82 00 08 */ beq lbl_80087850 +/* 8008784C 000847AC 38 80 00 01 */ li r4, 1 +lbl_80087850: +/* 80087850 000847B0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80087854 000847B4 40 82 00 24 */ bne lbl_80087878 +/* 80087858 000847B8 3C 00 40 00 */ lis r0, 0x4000 +/* 8008785C 000847BC 38 80 00 00 */ li r4, 0 +/* 80087860 000847C0 7C C3 00 38 */ and r3, r6, r0 +/* 80087864 000847C4 7C A0 20 38 */ and r0, r5, r4 +/* 80087868 000847C8 7C 63 22 78 */ xor r3, r3, r4 +/* 8008786C 000847CC 7C 00 22 78 */ xor r0, r0, r4 +/* 80087870 000847D0 7C 60 03 79 */ or. r0, r3, r0 +/* 80087874 000847D4 41 82 00 A4 */ beq lbl_80087918 +lbl_80087878: +/* 80087878 000847D8 D3 C1 01 00 */ stfs f30, 0x100(r1) +/* 8008787C 000847DC 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80087880 000847E0 C0 01 01 28 */ lfs f0, 0x128(r1) +/* 80087884 000847E4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80087888 000847E8 D3 E1 00 FC */ stfs f31, 0xfc(r1) +/* 8008788C 000847EC 38 80 00 02 */ li r4, 2 +/* 80087890 000847F0 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 80087894 000847F4 80 C1 00 FC */ lwz r6, 0xfc(r1) +/* 80087898 000847F8 D3 A1 01 00 */ stfs f29, 0x100(r1) +/* 8008789C 000847FC 80 E1 00 F8 */ lwz r7, 0xf8(r1) +/* 800878A0 00084800 80 01 01 00 */ lwz r0, 0x100(r1) +/* 800878A4 00084804 90 E1 00 20 */ stw r7, 0x20(r1) +/* 800878A8 00084808 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800878AC 0008480C 90 01 00 28 */ stw r0, 0x28(r1) +/* 800878B0 00084810 4B FD 57 A1 */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f +/* 800878B4 00084814 38 7E 03 7C */ addi r3, r30, 0x37c +/* 800878B8 00084818 4B FD 4A 05 */ bl CalculateSplineLength__13CCameraSplineFv +/* 800878BC 0008481C D0 3E 03 C0 */ stfs f1, 0x3c0(r30) +/* 800878C0 00084820 7F C3 F3 78 */ mr r3, r30 +/* 800878C4 00084824 7F E5 FB 78 */ mr r5, r31 +/* 800878C8 00084828 38 81 00 18 */ addi r4, r1, 0x18 +/* 800878CC 0008482C 4B FF 97 7D */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager +/* 800878D0 00084830 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800878D4 00084834 40 82 00 44 */ bne lbl_80087918 +/* 800878D8 00084838 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800878DC 0008483C 38 80 00 00 */ li r4, 0 +/* 800878E0 00084840 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800878E4 00084844 3C 60 80 00 */ lis r3, 0x8000 +/* 800878E8 00084848 7C 00 20 38 */ and r0, r0, r4 +/* 800878EC 0008484C 7C A3 18 38 */ and r3, r5, r3 +/* 800878F0 00084850 7C 63 22 78 */ xor r3, r3, r4 +/* 800878F4 00084854 7C 00 22 78 */ xor r0, r0, r4 +/* 800878F8 00084858 7C 60 03 79 */ or. r0, r3, r0 +/* 800878FC 0008485C 41 82 00 1C */ beq lbl_80087918 +/* 80087900 00084860 88 1E 03 D0 */ lbz r0, 0x3d0(r30) +/* 80087904 00084864 38 60 00 01 */ li r3, 1 +/* 80087908 00084868 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8008790C 0008486C 98 1E 03 D0 */ stb r0, 0x3d0(r30) +/* 80087910 00084870 90 9E 03 CC */ stw r4, 0x3cc(r30) +/* 80087914 00084874 90 9E 03 C8 */ stw r4, 0x3c8(r30) +lbl_80087918: +/* 80087918 00084878 C0 42 89 DC */ lfs f2, lbl_805AA6FC@sda21(r2) +/* 8008791C 0008487C 38 60 00 00 */ li r3, 0 +/* 80087920 00084880 C0 22 89 E0 */ lfs f1, lbl_805AA700@sda21(r2) +/* 80087924 00084884 C0 02 8A 50 */ lfs f0, lbl_805AA770@sda21(r2) +/* 80087928 00084888 EC 22 0F 3A */ fmadds f1, f2, f28, f1 +/* 8008792C 0008488C D0 3E 03 74 */ stfs f1, 0x374(r30) +/* 80087930 00084890 D0 1E 03 78 */ stfs f0, 0x378(r30) +/* 80087934 00084894 80 A1 01 80 */ lwz r5, 0x180(r1) +/* 80087938 00084898 2C 05 00 00 */ cmpwi r5, 0 +/* 8008793C 0008489C 40 81 00 40 */ ble lbl_8008797C +/* 80087940 000848A0 2C 05 00 08 */ cmpwi r5, 8 +/* 80087944 000848A4 38 85 FF F8 */ addi r4, r5, -8 +/* 80087948 000848A8 40 81 00 20 */ ble lbl_80087968 +/* 8008794C 000848AC 38 04 00 07 */ addi r0, r4, 7 +/* 80087950 000848B0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80087954 000848B4 7C 09 03 A6 */ mtctr r0 +/* 80087958 000848B8 2C 04 00 00 */ cmpwi r4, 0 +/* 8008795C 000848BC 40 81 00 0C */ ble lbl_80087968 +lbl_80087960: +/* 80087960 000848C0 38 63 00 08 */ addi r3, r3, 8 +/* 80087964 000848C4 42 00 FF FC */ bdnz lbl_80087960 +lbl_80087968: +/* 80087968 000848C8 7C 03 28 50 */ subf r0, r3, r5 +/* 8008796C 000848CC 7C 09 03 A6 */ mtctr r0 +/* 80087970 000848D0 7C 03 28 00 */ cmpw r3, r5 +/* 80087974 000848D4 40 80 00 08 */ bge lbl_8008797C +lbl_80087978: +/* 80087978 000848D8 42 00 00 00 */ bdnz lbl_80087978 +lbl_8008797C: +/* 8008797C 000848DC 38 00 00 00 */ li r0, 0 +/* 80087980 000848E0 90 01 01 80 */ stw r0, 0x180(r1) +/* 80087984 000848E4 E3 E1 09 D8 */ psq_l f31, -1576(r1), 0, qr0 +/* 80087988 000848E8 CB E1 09 D0 */ lfd f31, 0x9d0(r1) +/* 8008798C 000848EC E3 C1 09 C8 */ psq_l f30, -1592(r1), 0, qr0 +/* 80087990 000848F0 CB C1 09 C0 */ lfd f30, 0x9c0(r1) +/* 80087994 000848F4 E3 A1 09 B8 */ psq_l f29, -1608(r1), 0, qr0 +/* 80087998 000848F8 CB A1 09 B0 */ lfd f29, 0x9b0(r1) +/* 8008799C 000848FC E3 81 09 A8 */ psq_l f28, -1624(r1), 0, qr0 +/* 800879A0 00084900 CB 81 09 A0 */ lfd f28, 0x9a0(r1) +/* 800879A4 00084904 83 E1 09 9C */ lwz r31, 0x99c(r1) +/* 800879A8 00084908 83 C1 09 98 */ lwz r30, 0x998(r1) +/* 800879AC 0008490C 83 A1 09 94 */ lwz r29, 0x994(r1) +/* 800879B0 00084910 80 01 09 E4 */ lwz r0, 0x9e4(r1) +/* 800879B4 00084914 83 81 09 90 */ lwz r28, 0x990(r1) +/* 800879B8 00084918 7C 08 03 A6 */ mtlr r0 +/* 800879BC 0008491C 38 21 09 E0 */ addi r1, r1, 0x9e0 +/* 800879C0 00084920 4E 80 00 20 */ blr + +.global BuildSpline__11CBallCameraFR13CStateManager +BuildSpline__11CBallCameraFR13CStateManager: +/* 800879C4 00084924 94 21 F3 F0 */ stwu r1, -0xc10(r1) +/* 800879C8 00084928 7C 08 02 A6 */ mflr r0 +/* 800879CC 0008492C 90 01 0C 14 */ stw r0, 0xc14(r1) +/* 800879D0 00084930 DB E1 0C 00 */ stfd f31, 0xc00(r1) +/* 800879D4 00084934 F3 E1 0C 08 */ psq_st f31, -1016(r1), 0, qr0 +/* 800879D8 00084938 DB C1 0B F0 */ stfd f30, 0xbf0(r1) +/* 800879DC 0008493C F3 C1 0B F8 */ psq_st f30, -1032(r1), 0, qr0 +/* 800879E0 00084940 DB A1 0B E0 */ stfd f29, 0xbe0(r1) +/* 800879E4 00084944 F3 A1 0B E8 */ psq_st f29, -1048(r1), 0, qr0 +/* 800879E8 00084948 93 E1 0B DC */ stw r31, 0xbdc(r1) +/* 800879EC 0008494C 93 C1 0B D8 */ stw r30, 0xbd8(r1) +/* 800879F0 00084950 7C 9F 23 78 */ mr r31, r4 +/* 800879F4 00084954 7C 7E 1B 78 */ mr r30, r3 +/* 800879F8 00084958 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 800879FC 0008495C 38 61 02 34 */ addi r3, r1, 0x234 +/* 80087A00 00084960 48 1F D3 49 */ bl GetBallPosition__7CPlayerCFv +/* 80087A04 00084964 C3 C1 02 34 */ lfs f30, 0x234(r1) +/* 80087A08 00084968 38 00 00 02 */ li r0, 2 +/* 80087A0C 0008496C C3 A1 02 38 */ lfs f29, 0x238(r1) +/* 80087A10 00084970 38 A0 00 00 */ li r5, 0 +/* 80087A14 00084974 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80087A18 00084978 38 80 00 04 */ li r4, 4 +/* 80087A1C 0008497C 90 1E 03 6C */ stw r0, 0x36c(r30) +/* 80087A20 00084980 88 1E 03 70 */ lbz r0, 0x370(r30) +/* 80087A24 00084984 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80087A28 00084988 98 1E 03 70 */ stb r0, 0x370(r30) +/* 80087A2C 0008498C 4B FD 54 1D */ bl Reset__13CCameraSplineFi +/* 80087A30 00084990 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80087A34 00084994 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80087A38 00084998 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80087A3C 0008499C 38 81 02 28 */ addi r4, r1, 0x228 +/* 80087A40 000849A0 D0 21 02 04 */ stfs f1, 0x204(r1) +/* 80087A44 000849A4 38 A1 02 10 */ addi r5, r1, 0x210 +/* 80087A48 000849A8 D0 01 02 08 */ stfs f0, 0x208(r1) +/* 80087A4C 000849AC 80 E1 02 04 */ lwz r7, 0x204(r1) +/* 80087A50 000849B0 D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 80087A54 000849B4 80 C1 02 08 */ lwz r6, 0x208(r1) +/* 80087A58 000849B8 80 01 02 0C */ lwz r0, 0x20c(r1) +/* 80087A5C 000849BC 90 E1 02 10 */ stw r7, 0x210(r1) +/* 80087A60 000849C0 90 C1 02 14 */ stw r6, 0x214(r1) +/* 80087A64 000849C4 90 01 02 18 */ stw r0, 0x218(r1) +/* 80087A68 000849C8 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80087A6C 000849CC C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80087A70 000849D0 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80087A74 000849D4 D0 41 02 1C */ stfs f2, 0x21c(r1) +/* 80087A78 000849D8 D0 21 02 20 */ stfs f1, 0x220(r1) +/* 80087A7C 000849DC 80 E1 02 1C */ lwz r7, 0x21c(r1) +/* 80087A80 000849E0 D0 01 02 24 */ stfs f0, 0x224(r1) +/* 80087A84 000849E4 80 C1 02 20 */ lwz r6, 0x220(r1) +/* 80087A88 000849E8 80 01 02 24 */ lwz r0, 0x224(r1) +/* 80087A8C 000849EC 90 E1 02 28 */ stw r7, 0x228(r1) +/* 80087A90 000849F0 90 C1 02 2C */ stw r6, 0x22c(r1) +/* 80087A94 000849F4 90 01 02 30 */ stw r0, 0x230(r1) +/* 80087A98 000849F8 4B FD 54 B9 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +/* 80087A9C 000849FC C0 1E 01 90 */ lfs f0, 0x190(r30) +/* 80087AA0 00084A00 7F C3 F3 78 */ mr r3, r30 +/* 80087AA4 00084A04 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80087AA8 00084A08 7F E6 FB 78 */ mr r6, r31 +/* 80087AAC 00084A0C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80087AB0 00084A10 38 81 00 14 */ addi r4, r1, 0x14 +/* 80087AB4 00084A14 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80087AB8 00084A18 C0 1E 01 A0 */ lfs f0, 0x1a0(r30) +/* 80087ABC 00084A1C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80087AC0 00084A20 48 00 1C 0D */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +/* 80087AC4 00084A24 C0 BE 00 50 */ lfs f5, 0x50(r30) +/* 80087AC8 00084A28 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 80087ACC 00084A2C C0 DE 00 40 */ lfs f6, 0x40(r30) +/* 80087AD0 00084A30 38 81 00 10 */ addi r4, r1, 0x10 +/* 80087AD4 00084A34 EC 5D 28 28 */ fsubs f2, f29, f5 +/* 80087AD8 00084A38 C3 BE 00 60 */ lfs f29, 0x60(r30) +/* 80087ADC 00084A3C C0 82 89 DC */ lfs f4, lbl_805AA6FC@sda21(r2) +/* 80087AE0 00084A40 EC 7E 30 28 */ fsubs f3, f30, f6 +/* 80087AE4 00084A44 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 80087AE8 00084A48 C0 02 8A 54 */ lfs f0, lbl_805AA774@sda21(r2) +/* 80087AEC 00084A4C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80087AF0 00084A50 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) +/* 80087AF4 00084A54 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80087AF8 00084A58 D0 A1 01 FC */ stfs f5, 0x1fc(r1) +/* 80087AFC 00084A5C EF C6 18 2A */ fadds f30, f6, f3 +/* 80087B00 00084A60 EF E5 10 2A */ fadds f31, f5, f2 +/* 80087B04 00084A64 D3 A1 02 00 */ stfs f29, 0x200(r1) +/* 80087B08 00084A68 EC 46 F0 28 */ fsubs f2, f6, f30 +/* 80087B0C 00084A6C D0 21 02 A0 */ stfs f1, 0x2a0(r1) +/* 80087B10 00084A70 EC 25 F8 28 */ fsubs f1, f5, f31 +/* 80087B14 00084A74 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80087B18 00084A78 D0 41 02 98 */ stfs f2, 0x298(r1) +/* 80087B1C 00084A7C D0 21 02 9C */ stfs f1, 0x29c(r1) +/* 80087B20 00084A80 48 28 95 D9 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80087B24 00084A84 C0 01 01 E8 */ lfs f0, 0x1e8(r1) +/* 80087B28 00084A88 C0 61 01 EC */ lfs f3, 0x1ec(r1) +/* 80087B2C 00084A8C C0 41 01 F0 */ lfs f2, 0x1f0(r1) +/* 80087B30 00084A90 C0 21 01 F4 */ lfs f1, 0x1f4(r1) +/* 80087B34 00084A94 D0 01 02 88 */ stfs f0, 0x288(r1) +/* 80087B38 00084A98 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80087B3C 00084A9C D0 61 02 8C */ stfs f3, 0x28c(r1) +/* 80087B40 00084AA0 D0 41 02 90 */ stfs f2, 0x290(r1) +/* 80087B44 00084AA4 D0 21 02 94 */ stfs f1, 0x294(r1) +/* 80087B48 00084AA8 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80087B4C 00084AAC C0 9E 00 38 */ lfs f4, 0x38(r30) +/* 80087B50 00084AB0 C0 E3 05 10 */ lfs f7, 0x510(r3) +/* 80087B54 00084AB4 C0 DE 00 58 */ lfs f6, 0x58(r30) +/* 80087B58 00084AB8 C0 BE 00 48 */ lfs f5, 0x48(r30) +/* 80087B5C 00084ABC EC 24 01 F2 */ fmuls f1, f4, f7 +/* 80087B60 00084AC0 C0 43 05 0C */ lfs f2, 0x50c(r3) +/* 80087B64 00084AC4 C1 03 05 14 */ lfs f8, 0x514(r3) +/* 80087B68 00084AC8 EC 22 09 78 */ fmsubs f1, f2, f5, f1 +/* 80087B6C 00084ACC D0 81 01 D0 */ stfs f4, 0x1d0(r1) +/* 80087B70 00084AD0 EC 65 02 32 */ fmuls f3, f5, f8 +/* 80087B74 00084AD4 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80087B78 00084AD8 D0 A1 01 D4 */ stfs f5, 0x1d4(r1) +/* 80087B7C 00084ADC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80087B80 00084AE0 EC 67 19 B8 */ fmsubs f3, f7, f6, f3 +/* 80087B84 00084AE4 D0 C1 01 D8 */ stfs f6, 0x1d8(r1) +/* 80087B88 00084AE8 EC 08 11 38 */ fmsubs f0, f8, f4, f2 +/* 80087B8C 00084AEC D0 21 01 E4 */ stfs f1, 0x1e4(r1) +/* 80087B90 00084AF0 D0 61 01 DC */ stfs f3, 0x1dc(r1) +/* 80087B94 00084AF4 D0 01 01 E0 */ stfs f0, 0x1e0(r1) +/* 80087B98 00084AF8 4C 41 13 82 */ cror 2, 1, 2 +/* 80087B9C 00084AFC 40 82 00 38 */ bne lbl_80087BD4 +/* 80087BA0 00084B00 C0 02 8A 58 */ lfs f0, lbl_805AA778@sda21(r2) +/* 80087BA4 00084B04 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 80087BA8 00084B08 38 81 00 0C */ addi r4, r1, 0xc +/* 80087BAC 00084B0C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80087BB0 00084B10 48 28 95 49 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80087BB4 00084B14 C0 01 01 C0 */ lfs f0, 0x1c0(r1) +/* 80087BB8 00084B18 80 81 01 C4 */ lwz r4, 0x1c4(r1) +/* 80087BBC 00084B1C 80 61 01 C8 */ lwz r3, 0x1c8(r1) +/* 80087BC0 00084B20 80 01 01 CC */ lwz r0, 0x1cc(r1) +/* 80087BC4 00084B24 D0 01 02 88 */ stfs f0, 0x288(r1) +/* 80087BC8 00084B28 90 81 02 8C */ stw r4, 0x28c(r1) +/* 80087BCC 00084B2C 90 61 02 90 */ stw r3, 0x290(r1) +/* 80087BD0 00084B30 90 01 02 94 */ stw r0, 0x294(r1) +lbl_80087BD4: +/* 80087BD4 00084B34 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 80087BD8 00084B38 38 81 02 88 */ addi r4, r1, 0x288 +/* 80087BDC 00084B3C 38 A1 02 98 */ addi r5, r1, 0x298 +/* 80087BE0 00084B40 48 28 96 85 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80087BE4 00084B44 C0 61 01 B4 */ lfs f3, 0x1b4(r1) +/* 80087BE8 00084B48 38 00 00 00 */ li r0, 0 +/* 80087BEC 00084B4C C0 41 01 B8 */ lfs f2, 0x1b8(r1) +/* 80087BF0 00084B50 38 61 01 90 */ addi r3, r1, 0x190 +/* 80087BF4 00084B54 C0 21 01 BC */ lfs f1, 0x1bc(r1) +/* 80087BF8 00084B58 EC 1E 18 2A */ fadds f0, f30, f3 +/* 80087BFC 00084B5C EC 9F 10 2A */ fadds f4, f31, f2 +/* 80087C00 00084B60 D0 61 02 98 */ stfs f3, 0x298(r1) +/* 80087C04 00084B64 EC 7D 08 2A */ fadds f3, f29, f1 +/* 80087C08 00084B68 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 80087C0C 00084B6C D0 41 02 9C */ stfs f2, 0x29c(r1) +/* 80087C10 00084B70 38 81 02 98 */ addi r4, r1, 0x298 +/* 80087C14 00084B74 D0 21 02 A0 */ stfs f1, 0x2a0(r1) +/* 80087C18 00084B78 D0 01 02 7C */ stfs f0, 0x27c(r1) +/* 80087C1C 00084B7C D0 81 02 80 */ stfs f4, 0x280(r1) +/* 80087C20 00084B80 D0 61 02 84 */ stfs f3, 0x284(r1) +/* 80087C24 00084B84 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80087C28 00084B88 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80087C2C 00084B8C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80087C30 00084B90 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 80087C34 00084B94 D0 01 01 A8 */ stfs f0, 0x1a8(r1) +/* 80087C38 00084B98 D0 41 01 B0 */ stfs f2, 0x1b0(r1) +/* 80087C3C 00084B9C D0 41 02 84 */ stfs f2, 0x284(r1) +/* 80087C40 00084BA0 B0 A1 00 08 */ sth r5, 8(r1) +/* 80087C44 00084BA4 90 01 03 C8 */ stw r0, 0x3c8(r1) +/* 80087C48 00084BA8 48 28 CC 09 */ bl AsNormalized__9CVector3fCFv +/* 80087C4C 00084BAC C0 41 01 90 */ lfs f2, 0x190(r1) +/* 80087C50 00084BB0 38 61 02 98 */ addi r3, r1, 0x298 +/* 80087C54 00084BB4 C0 21 01 94 */ lfs f1, 0x194(r1) +/* 80087C58 00084BB8 C0 01 01 98 */ lfs f0, 0x198(r1) +/* 80087C5C 00084BBC FC 40 10 50 */ fneg f2, f2 +/* 80087C60 00084BC0 FC 20 08 50 */ fneg f1, f1 +/* 80087C64 00084BC4 FC 00 00 50 */ fneg f0, f0 +/* 80087C68 00084BC8 D0 41 01 9C */ stfs f2, 0x19c(r1) +/* 80087C6C 00084BCC D0 21 01 A0 */ stfs f1, 0x1a0(r1) +/* 80087C70 00084BD0 D0 01 01 A4 */ stfs f0, 0x1a4(r1) +/* 80087C74 00084BD4 48 28 CC 45 */ bl Magnitude__9CVector3fCFv +/* 80087C78 00084BD8 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80087C7C 00084BDC 7F E4 FB 78 */ mr r4, r31 +/* 80087C80 00084BE0 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 80087C84 00084BE4 38 A1 00 08 */ addi r5, r1, 8 +/* 80087C88 00084BE8 38 61 03 68 */ addi r3, r1, 0x368 +/* 80087C8C 00084BEC 38 C1 02 7C */ addi r6, r1, 0x27c +/* 80087C90 00084BF0 38 E1 01 9C */ addi r7, r1, 0x19c +/* 80087C94 00084BF4 39 21 03 C8 */ addi r9, r1, 0x3c8 +/* 80087C98 00084BF8 4B FC 53 2D */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80087C9C 00084BFC 88 81 03 88 */ lbz r4, 0x388(r1) +/* 80087CA0 00084C00 C0 E1 03 68 */ lfs f7, 0x368(r1) +/* 80087CA4 00084C04 C0 C1 03 6C */ lfs f6, 0x36c(r1) +/* 80087CA8 00084C08 28 04 00 00 */ cmplwi r4, 0 +/* 80087CAC 00084C0C C0 A1 03 70 */ lfs f5, 0x370(r1) +/* 80087CB0 00084C10 C0 81 03 74 */ lfs f4, 0x374(r1) +/* 80087CB4 00084C14 C0 61 03 78 */ lfs f3, 0x378(r1) +/* 80087CB8 00084C18 C0 41 03 7C */ lfs f2, 0x37c(r1) +/* 80087CBC 00084C1C C0 21 03 80 */ lfs f1, 0x380(r1) +/* 80087CC0 00084C20 C0 01 03 84 */ lfs f0, 0x384(r1) +/* 80087CC4 00084C24 80 01 03 90 */ lwz r0, 0x390(r1) +/* 80087CC8 00084C28 80 61 03 94 */ lwz r3, 0x394(r1) +/* 80087CCC 00084C2C D0 E1 03 98 */ stfs f7, 0x398(r1) +/* 80087CD0 00084C30 D0 C1 03 9C */ stfs f6, 0x39c(r1) +/* 80087CD4 00084C34 D0 A1 03 A0 */ stfs f5, 0x3a0(r1) +/* 80087CD8 00084C38 D0 81 03 A4 */ stfs f4, 0x3a4(r1) +/* 80087CDC 00084C3C D0 61 03 A8 */ stfs f3, 0x3a8(r1) +/* 80087CE0 00084C40 D0 41 03 AC */ stfs f2, 0x3ac(r1) +/* 80087CE4 00084C44 D0 21 03 B0 */ stfs f1, 0x3b0(r1) +/* 80087CE8 00084C48 D0 01 03 B4 */ stfs f0, 0x3b4(r1) +/* 80087CEC 00084C4C 98 81 03 B8 */ stb r4, 0x3b8(r1) +/* 80087CF0 00084C50 90 61 03 C4 */ stw r3, 0x3c4(r1) +/* 80087CF4 00084C54 90 01 03 C0 */ stw r0, 0x3c0(r1) +/* 80087CF8 00084C58 41 82 00 54 */ beq lbl_80087D4C +/* 80087CFC 00084C5C 38 61 01 84 */ addi r3, r1, 0x184 +/* 80087D00 00084C60 38 81 02 98 */ addi r4, r1, 0x298 +/* 80087D04 00084C64 48 28 CB 4D */ bl AsNormalized__9CVector3fCFv +/* 80087D08 00084C68 C0 A2 8A 5C */ lfs f5, lbl_805AA77C@sda21(r2) +/* 80087D0C 00084C6C C0 41 01 88 */ lfs f2, 0x188(r1) +/* 80087D10 00084C70 C0 21 01 8C */ lfs f1, 0x18c(r1) +/* 80087D14 00084C74 C0 01 01 84 */ lfs f0, 0x184(r1) +/* 80087D18 00084C78 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80087D1C 00084C7C C0 C1 03 A0 */ lfs f6, 0x3a0(r1) +/* 80087D20 00084C80 EC 45 00 72 */ fmuls f2, f5, f1 +/* 80087D24 00084C84 C0 61 03 A4 */ lfs f3, 0x3a4(r1) +/* 80087D28 00084C88 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80087D2C 00084C8C C0 21 03 9C */ lfs f1, 0x39c(r1) +/* 80087D30 00084C90 EC 86 20 2A */ fadds f4, f6, f4 +/* 80087D34 00084C94 EC 43 10 2A */ fadds f2, f3, f2 +/* 80087D38 00084C98 EC 01 00 2A */ fadds f0, f1, f0 +/* 80087D3C 00084C9C D0 81 02 80 */ stfs f4, 0x280(r1) +/* 80087D40 00084CA0 D0 01 02 7C */ stfs f0, 0x27c(r1) +/* 80087D44 00084CA4 D0 41 02 84 */ stfs f2, 0x284(r1) +/* 80087D48 00084CA8 48 00 00 28 */ b lbl_80087D70 +lbl_80087D4C: +/* 80087D4C 00084CAC C0 41 02 9C */ lfs f2, 0x29c(r1) +/* 80087D50 00084CB0 C0 21 02 A0 */ lfs f1, 0x2a0(r1) +/* 80087D54 00084CB4 C0 01 02 98 */ lfs f0, 0x298(r1) +/* 80087D58 00084CB8 EC 5F 10 2A */ fadds f2, f31, f2 +/* 80087D5C 00084CBC EC 3D 08 2A */ fadds f1, f29, f1 +/* 80087D60 00084CC0 EC 1E 00 2A */ fadds f0, f30, f0 +/* 80087D64 00084CC4 D0 41 02 80 */ stfs f2, 0x280(r1) +/* 80087D68 00084CC8 D0 01 02 7C */ stfs f0, 0x27c(r1) +/* 80087D6C 00084CCC D0 21 02 84 */ stfs f1, 0x284(r1) +lbl_80087D70: +/* 80087D70 00084CD0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80087D74 00084CD4 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80087D78 00084CD8 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80087D7C 00084CDC 38 81 01 78 */ addi r4, r1, 0x178 +/* 80087D80 00084CE0 D0 21 01 60 */ stfs f1, 0x160(r1) +/* 80087D84 00084CE4 38 A1 01 6C */ addi r5, r1, 0x16c +/* 80087D88 00084CE8 80 E1 02 7C */ lwz r7, 0x27c(r1) +/* 80087D8C 00084CEC D0 01 01 64 */ stfs f0, 0x164(r1) +/* 80087D90 00084CF0 81 41 01 60 */ lwz r10, 0x160(r1) +/* 80087D94 00084CF4 D0 21 01 68 */ stfs f1, 0x168(r1) +/* 80087D98 00084CF8 81 21 01 64 */ lwz r9, 0x164(r1) +/* 80087D9C 00084CFC 81 01 01 68 */ lwz r8, 0x168(r1) +/* 80087DA0 00084D00 80 C1 02 80 */ lwz r6, 0x280(r1) +/* 80087DA4 00084D04 80 01 02 84 */ lwz r0, 0x284(r1) +/* 80087DA8 00084D08 91 41 01 6C */ stw r10, 0x16c(r1) +/* 80087DAC 00084D0C 91 21 01 70 */ stw r9, 0x170(r1) +/* 80087DB0 00084D10 91 01 01 74 */ stw r8, 0x174(r1) +/* 80087DB4 00084D14 90 E1 01 78 */ stw r7, 0x178(r1) +/* 80087DB8 00084D18 90 C1 01 7C */ stw r6, 0x17c(r1) +/* 80087DBC 00084D1C 90 01 01 80 */ stw r0, 0x180(r1) +/* 80087DC0 00084D20 4B FD 51 91 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +/* 80087DC4 00084D24 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80087DC8 00084D28 7F C4 F3 78 */ mr r4, r30 +/* 80087DCC 00084D2C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80087DD0 00084D30 7F E6 FB 78 */ mr r6, r31 +/* 80087DD4 00084D34 C0 45 05 0C */ lfs f2, 0x50c(r5) +/* 80087DD8 00084D38 38 61 01 54 */ addi r3, r1, 0x154 +/* 80087DDC 00084D3C C0 65 05 10 */ lfs f3, 0x510(r5) +/* 80087DE0 00084D40 38 E0 00 00 */ li r7, 0 +/* 80087DE4 00084D44 C0 05 05 14 */ lfs f0, 0x514(r5) +/* 80087DE8 00084D48 38 A1 01 48 */ addi r5, r1, 0x148 +/* 80087DEC 00084D4C D0 41 02 70 */ stfs f2, 0x270(r1) +/* 80087DF0 00084D50 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80087DF4 00084D54 D0 61 02 74 */ stfs f3, 0x274(r1) +/* 80087DF8 00084D58 81 21 02 70 */ lwz r9, 0x270(r1) +/* 80087DFC 00084D5C D0 01 02 78 */ stfs f0, 0x278(r1) +/* 80087E00 00084D60 81 01 02 74 */ lwz r8, 0x274(r1) +/* 80087E04 00084D64 80 01 02 78 */ lwz r0, 0x278(r1) +/* 80087E08 00084D68 91 21 01 48 */ stw r9, 0x148(r1) +/* 80087E0C 00084D6C 91 01 01 4C */ stw r8, 0x14c(r1) +/* 80087E10 00084D70 90 01 01 50 */ stw r0, 0x150(r1) +/* 80087E14 00084D74 48 00 1E A1 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +/* 80087E18 00084D78 38 61 01 3C */ addi r3, r1, 0x13c +/* 80087E1C 00084D7C 38 81 02 88 */ addi r4, r1, 0x288 +/* 80087E20 00084D80 38 A1 02 98 */ addi r5, r1, 0x298 +/* 80087E24 00084D84 48 28 94 41 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80087E28 00084D88 C0 61 01 3C */ lfs f3, 0x13c(r1) +/* 80087E2C 00084D8C 38 61 01 18 */ addi r3, r1, 0x118 +/* 80087E30 00084D90 C0 41 01 40 */ lfs f2, 0x140(r1) +/* 80087E34 00084D94 38 81 02 98 */ addi r4, r1, 0x298 +/* 80087E38 00084D98 C0 21 01 44 */ lfs f1, 0x144(r1) +/* 80087E3C 00084D9C EC 1E 18 2A */ fadds f0, f30, f3 +/* 80087E40 00084DA0 EC 9F 10 2A */ fadds f4, f31, f2 +/* 80087E44 00084DA4 D0 61 02 98 */ stfs f3, 0x298(r1) +/* 80087E48 00084DA8 EC 7D 08 2A */ fadds f3, f29, f1 +/* 80087E4C 00084DAC D0 41 02 9C */ stfs f2, 0x29c(r1) +/* 80087E50 00084DB0 D0 21 02 A0 */ stfs f1, 0x2a0(r1) +/* 80087E54 00084DB4 D0 01 02 64 */ stfs f0, 0x264(r1) +/* 80087E58 00084DB8 D0 81 02 68 */ stfs f4, 0x268(r1) +/* 80087E5C 00084DBC D0 61 02 6C */ stfs f3, 0x26c(r1) +/* 80087E60 00084DC0 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80087E64 00084DC4 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80087E68 00084DC8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80087E6C 00084DCC D0 21 01 34 */ stfs f1, 0x134(r1) +/* 80087E70 00084DD0 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 80087E74 00084DD4 D0 41 01 38 */ stfs f2, 0x138(r1) +/* 80087E78 00084DD8 D0 41 02 6C */ stfs f2, 0x26c(r1) +/* 80087E7C 00084DDC 48 28 C9 D5 */ bl AsNormalized__9CVector3fCFv +/* 80087E80 00084DE0 C0 41 01 18 */ lfs f2, 0x118(r1) +/* 80087E84 00084DE4 38 61 02 98 */ addi r3, r1, 0x298 +/* 80087E88 00084DE8 C0 21 01 1C */ lfs f1, 0x11c(r1) +/* 80087E8C 00084DEC C0 01 01 20 */ lfs f0, 0x120(r1) +/* 80087E90 00084DF0 FC 40 10 50 */ fneg f2, f2 +/* 80087E94 00084DF4 FC 20 08 50 */ fneg f1, f1 +/* 80087E98 00084DF8 FC 00 00 50 */ fneg f0, f0 +/* 80087E9C 00084DFC D0 41 01 24 */ stfs f2, 0x124(r1) +/* 80087EA0 00084E00 D0 21 01 28 */ stfs f1, 0x128(r1) +/* 80087EA4 00084E04 D0 01 01 2C */ stfs f0, 0x12c(r1) +/* 80087EA8 00084E08 48 28 CA 11 */ bl Magnitude__9CVector3fCFv +/* 80087EAC 00084E0C 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80087EB0 00084E10 7F E4 FB 78 */ mr r4, r31 +/* 80087EB4 00084E14 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 80087EB8 00084E18 38 A1 00 08 */ addi r5, r1, 8 +/* 80087EBC 00084E1C 38 61 03 38 */ addi r3, r1, 0x338 +/* 80087EC0 00084E20 38 C1 02 64 */ addi r6, r1, 0x264 +/* 80087EC4 00084E24 38 E1 01 24 */ addi r7, r1, 0x124 +/* 80087EC8 00084E28 39 21 03 C8 */ addi r9, r1, 0x3c8 +/* 80087ECC 00084E2C 4B FC 50 F9 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80087ED0 00084E30 88 01 03 58 */ lbz r0, 0x358(r1) +/* 80087ED4 00084E34 C0 A1 03 38 */ lfs f5, 0x338(r1) +/* 80087ED8 00084E38 80 A1 03 3C */ lwz r5, 0x33c(r1) +/* 80087EDC 00084E3C 28 00 00 00 */ cmplwi r0, 0 +/* 80087EE0 00084E40 80 81 03 40 */ lwz r4, 0x340(r1) +/* 80087EE4 00084E44 80 61 03 44 */ lwz r3, 0x344(r1) +/* 80087EE8 00084E48 C0 81 03 48 */ lfs f4, 0x348(r1) +/* 80087EEC 00084E4C C0 61 03 4C */ lfs f3, 0x34c(r1) +/* 80087EF0 00084E50 C0 41 03 50 */ lfs f2, 0x350(r1) +/* 80087EF4 00084E54 C0 21 03 54 */ lfs f1, 0x354(r1) +/* 80087EF8 00084E58 C8 01 03 60 */ lfd f0, 0x360(r1) +/* 80087EFC 00084E5C D0 A1 03 98 */ stfs f5, 0x398(r1) +/* 80087F00 00084E60 90 A1 03 9C */ stw r5, 0x39c(r1) +/* 80087F04 00084E64 90 81 03 A0 */ stw r4, 0x3a0(r1) +/* 80087F08 00084E68 90 61 03 A4 */ stw r3, 0x3a4(r1) +/* 80087F0C 00084E6C D0 81 03 A8 */ stfs f4, 0x3a8(r1) +/* 80087F10 00084E70 D0 61 03 AC */ stfs f3, 0x3ac(r1) +/* 80087F14 00084E74 D0 41 03 B0 */ stfs f2, 0x3b0(r1) +/* 80087F18 00084E78 D0 21 03 B4 */ stfs f1, 0x3b4(r1) +/* 80087F1C 00084E7C 98 01 03 B8 */ stb r0, 0x3b8(r1) +/* 80087F20 00084E80 D8 01 03 C0 */ stfd f0, 0x3c0(r1) +/* 80087F24 00084E84 41 82 00 54 */ beq lbl_80087F78 +/* 80087F28 00084E88 38 61 01 0C */ addi r3, r1, 0x10c +/* 80087F2C 00084E8C 38 81 02 98 */ addi r4, r1, 0x298 +/* 80087F30 00084E90 48 28 C9 21 */ bl AsNormalized__9CVector3fCFv +/* 80087F34 00084E94 C0 A2 89 E0 */ lfs f5, lbl_805AA700@sda21(r2) +/* 80087F38 00084E98 C0 41 01 10 */ lfs f2, 0x110(r1) +/* 80087F3C 00084E9C C0 21 01 14 */ lfs f1, 0x114(r1) +/* 80087F40 00084EA0 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 80087F44 00084EA4 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80087F48 00084EA8 C0 C1 03 A0 */ lfs f6, 0x3a0(r1) +/* 80087F4C 00084EAC EC 45 00 72 */ fmuls f2, f5, f1 +/* 80087F50 00084EB0 C0 61 03 A4 */ lfs f3, 0x3a4(r1) +/* 80087F54 00084EB4 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80087F58 00084EB8 C0 21 03 9C */ lfs f1, 0x39c(r1) +/* 80087F5C 00084EBC EC 86 20 2A */ fadds f4, f6, f4 +/* 80087F60 00084EC0 EC 43 10 2A */ fadds f2, f3, f2 +/* 80087F64 00084EC4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80087F68 00084EC8 D0 81 02 68 */ stfs f4, 0x268(r1) +/* 80087F6C 00084ECC D0 01 02 64 */ stfs f0, 0x264(r1) +/* 80087F70 00084ED0 D0 41 02 6C */ stfs f2, 0x26c(r1) +/* 80087F74 00084ED4 48 00 00 28 */ b lbl_80087F9C +lbl_80087F78: +/* 80087F78 00084ED8 C0 41 02 9C */ lfs f2, 0x29c(r1) +/* 80087F7C 00084EDC C0 21 02 A0 */ lfs f1, 0x2a0(r1) +/* 80087F80 00084EE0 C0 01 02 98 */ lfs f0, 0x298(r1) +/* 80087F84 00084EE4 EC 5F 10 2A */ fadds f2, f31, f2 +/* 80087F88 00084EE8 EC 3D 08 2A */ fadds f1, f29, f1 +/* 80087F8C 00084EEC EC 1E 00 2A */ fadds f0, f30, f0 +/* 80087F90 00084EF0 D0 41 02 68 */ stfs f2, 0x268(r1) +/* 80087F94 00084EF4 D0 01 02 64 */ stfs f0, 0x264(r1) +/* 80087F98 00084EF8 D0 21 02 6C */ stfs f1, 0x26c(r1) +lbl_80087F9C: +/* 80087F9C 00084EFC C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80087FA0 00084F00 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80087FA4 00084F04 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80087FA8 00084F08 38 81 01 00 */ addi r4, r1, 0x100 +/* 80087FAC 00084F0C D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 80087FB0 00084F10 38 A1 00 F4 */ addi r5, r1, 0xf4 +/* 80087FB4 00084F14 80 E1 02 64 */ lwz r7, 0x264(r1) +/* 80087FB8 00084F18 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 80087FBC 00084F1C 81 41 00 E8 */ lwz r10, 0xe8(r1) +/* 80087FC0 00084F20 D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 80087FC4 00084F24 81 21 00 EC */ lwz r9, 0xec(r1) +/* 80087FC8 00084F28 81 01 00 F0 */ lwz r8, 0xf0(r1) +/* 80087FCC 00084F2C 80 C1 02 68 */ lwz r6, 0x268(r1) +/* 80087FD0 00084F30 80 01 02 6C */ lwz r0, 0x26c(r1) +/* 80087FD4 00084F34 91 41 00 F4 */ stw r10, 0xf4(r1) +/* 80087FD8 00084F38 91 21 00 F8 */ stw r9, 0xf8(r1) +/* 80087FDC 00084F3C 91 01 00 FC */ stw r8, 0xfc(r1) +/* 80087FE0 00084F40 90 E1 01 00 */ stw r7, 0x100(r1) +/* 80087FE4 00084F44 90 C1 01 04 */ stw r6, 0x104(r1) +/* 80087FE8 00084F48 90 01 01 08 */ stw r0, 0x108(r1) +/* 80087FEC 00084F4C 4B FD 4F 65 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +/* 80087FF0 00084F50 38 61 00 DC */ addi r3, r1, 0xdc +/* 80087FF4 00084F54 38 81 02 88 */ addi r4, r1, 0x288 +/* 80087FF8 00084F58 38 A1 02 98 */ addi r5, r1, 0x298 +/* 80087FFC 00084F5C 48 28 92 69 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80088000 00084F60 C0 61 00 DC */ lfs f3, 0xdc(r1) +/* 80088004 00084F64 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80088008 00084F68 C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 8008800C 00084F6C 38 81 02 98 */ addi r4, r1, 0x298 +/* 80088010 00084F70 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 80088014 00084F74 EC 1E 18 2A */ fadds f0, f30, f3 +/* 80088018 00084F78 EC 9F 10 2A */ fadds f4, f31, f2 +/* 8008801C 00084F7C D0 61 02 98 */ stfs f3, 0x298(r1) +/* 80088020 00084F80 EC 7D 08 2A */ fadds f3, f29, f1 +/* 80088024 00084F84 D0 41 02 9C */ stfs f2, 0x29c(r1) +/* 80088028 00084F88 D0 21 02 A0 */ stfs f1, 0x2a0(r1) +/* 8008802C 00084F8C D0 01 02 58 */ stfs f0, 0x258(r1) +/* 80088030 00084F90 D0 81 02 5C */ stfs f4, 0x25c(r1) +/* 80088034 00084F94 D0 61 02 60 */ stfs f3, 0x260(r1) +/* 80088038 00084F98 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8008803C 00084F9C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80088040 00084FA0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80088044 00084FA4 D0 21 00 D4 */ stfs f1, 0xd4(r1) +/* 80088048 00084FA8 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 8008804C 00084FAC D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 80088050 00084FB0 D0 41 02 60 */ stfs f2, 0x260(r1) +/* 80088054 00084FB4 48 28 C7 FD */ bl AsNormalized__9CVector3fCFv +/* 80088058 00084FB8 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 8008805C 00084FBC 38 61 02 98 */ addi r3, r1, 0x298 +/* 80088060 00084FC0 C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 80088064 00084FC4 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 80088068 00084FC8 FC 40 10 50 */ fneg f2, f2 +/* 8008806C 00084FCC FC 20 08 50 */ fneg f1, f1 +/* 80088070 00084FD0 FC 00 00 50 */ fneg f0, f0 +/* 80088074 00084FD4 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 80088078 00084FD8 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 8008807C 00084FDC D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 80088080 00084FE0 48 28 C8 39 */ bl Magnitude__9CVector3fCFv +/* 80088084 00084FE4 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80088088 00084FE8 7F E4 FB 78 */ mr r4, r31 +/* 8008808C 00084FEC 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 80088090 00084FF0 38 A1 00 08 */ addi r5, r1, 8 +/* 80088094 00084FF4 38 61 03 08 */ addi r3, r1, 0x308 +/* 80088098 00084FF8 38 C1 02 58 */ addi r6, r1, 0x258 +/* 8008809C 00084FFC 38 E1 00 C4 */ addi r7, r1, 0xc4 +/* 800880A0 00085000 39 21 03 C8 */ addi r9, r1, 0x3c8 +/* 800880A4 00085004 4B FC 4F 21 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 800880A8 00085008 88 01 03 28 */ lbz r0, 0x328(r1) +/* 800880AC 0008500C C0 A1 03 08 */ lfs f5, 0x308(r1) +/* 800880B0 00085010 80 A1 03 0C */ lwz r5, 0x30c(r1) +/* 800880B4 00085014 28 00 00 00 */ cmplwi r0, 0 +/* 800880B8 00085018 80 81 03 10 */ lwz r4, 0x310(r1) +/* 800880BC 0008501C 80 61 03 14 */ lwz r3, 0x314(r1) +/* 800880C0 00085020 C0 81 03 18 */ lfs f4, 0x318(r1) +/* 800880C4 00085024 C0 61 03 1C */ lfs f3, 0x31c(r1) +/* 800880C8 00085028 C0 41 03 20 */ lfs f2, 0x320(r1) +/* 800880CC 0008502C C0 21 03 24 */ lfs f1, 0x324(r1) +/* 800880D0 00085030 C8 01 03 30 */ lfd f0, 0x330(r1) +/* 800880D4 00085034 D0 A1 03 98 */ stfs f5, 0x398(r1) +/* 800880D8 00085038 90 A1 03 9C */ stw r5, 0x39c(r1) +/* 800880DC 0008503C 90 81 03 A0 */ stw r4, 0x3a0(r1) +/* 800880E0 00085040 90 61 03 A4 */ stw r3, 0x3a4(r1) +/* 800880E4 00085044 D0 81 03 A8 */ stfs f4, 0x3a8(r1) +/* 800880E8 00085048 D0 61 03 AC */ stfs f3, 0x3ac(r1) +/* 800880EC 0008504C D0 41 03 B0 */ stfs f2, 0x3b0(r1) +/* 800880F0 00085050 D0 21 03 B4 */ stfs f1, 0x3b4(r1) +/* 800880F4 00085054 98 01 03 B8 */ stb r0, 0x3b8(r1) +/* 800880F8 00085058 D8 01 03 C0 */ stfd f0, 0x3c0(r1) +/* 800880FC 0008505C 41 82 00 54 */ beq lbl_80088150 +/* 80088100 00085060 38 61 00 AC */ addi r3, r1, 0xac +/* 80088104 00085064 38 81 02 98 */ addi r4, r1, 0x298 +/* 80088108 00085068 48 28 C7 49 */ bl AsNormalized__9CVector3fCFv +/* 8008810C 0008506C C0 A2 89 E0 */ lfs f5, lbl_805AA700@sda21(r2) +/* 80088110 00085070 C0 41 00 B0 */ lfs f2, 0xb0(r1) +/* 80088114 00085074 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80088118 00085078 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 8008811C 0008507C EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80088120 00085080 C0 C1 03 A0 */ lfs f6, 0x3a0(r1) +/* 80088124 00085084 EC 45 00 72 */ fmuls f2, f5, f1 +/* 80088128 00085088 C0 61 03 A4 */ lfs f3, 0x3a4(r1) +/* 8008812C 0008508C EC 05 00 32 */ fmuls f0, f5, f0 +/* 80088130 00085090 C0 21 03 9C */ lfs f1, 0x39c(r1) +/* 80088134 00085094 EC 86 20 2A */ fadds f4, f6, f4 +/* 80088138 00085098 EC 43 10 2A */ fadds f2, f3, f2 +/* 8008813C 0008509C EC 01 00 2A */ fadds f0, f1, f0 +/* 80088140 000850A0 D0 81 02 5C */ stfs f4, 0x25c(r1) +/* 80088144 000850A4 D0 01 02 58 */ stfs f0, 0x258(r1) +/* 80088148 000850A8 D0 41 02 60 */ stfs f2, 0x260(r1) +/* 8008814C 000850AC 48 00 00 28 */ b lbl_80088174 +lbl_80088150: +/* 80088150 000850B0 C0 41 02 9C */ lfs f2, 0x29c(r1) +/* 80088154 000850B4 C0 21 02 A0 */ lfs f1, 0x2a0(r1) +/* 80088158 000850B8 C0 01 02 98 */ lfs f0, 0x298(r1) +/* 8008815C 000850BC EC 5F 10 2A */ fadds f2, f31, f2 +/* 80088160 000850C0 EC 3D 08 2A */ fadds f1, f29, f1 +/* 80088164 000850C4 EC 1E 00 2A */ fadds f0, f30, f0 +/* 80088168 000850C8 D0 41 02 5C */ stfs f2, 0x25c(r1) +/* 8008816C 000850CC D0 01 02 58 */ stfs f0, 0x258(r1) +/* 80088170 000850D0 D0 21 02 60 */ stfs f1, 0x260(r1) +lbl_80088174: +/* 80088174 000850D4 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80088178 000850D8 38 7E 03 7C */ addi r3, r30, 0x37c +/* 8008817C 000850DC C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80088180 000850E0 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80088184 000850E4 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 80088188 000850E8 38 A1 00 94 */ addi r5, r1, 0x94 +/* 8008818C 000850EC 80 E1 02 58 */ lwz r7, 0x258(r1) +/* 80088190 000850F0 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80088194 000850F4 81 41 00 88 */ lwz r10, 0x88(r1) +/* 80088198 000850F8 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8008819C 000850FC 81 21 00 8C */ lwz r9, 0x8c(r1) +/* 800881A0 00085100 81 01 00 90 */ lwz r8, 0x90(r1) +/* 800881A4 00085104 80 C1 02 5C */ lwz r6, 0x25c(r1) +/* 800881A8 00085108 80 01 02 60 */ lwz r0, 0x260(r1) +/* 800881AC 0008510C 91 41 00 94 */ stw r10, 0x94(r1) +/* 800881B0 00085110 91 21 00 98 */ stw r9, 0x98(r1) +/* 800881B4 00085114 91 01 00 9C */ stw r8, 0x9c(r1) +/* 800881B8 00085118 90 E1 00 A0 */ stw r7, 0xa0(r1) +/* 800881BC 0008511C 90 C1 00 A4 */ stw r6, 0xa4(r1) +/* 800881C0 00085120 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 800881C4 00085124 4B FD 4D 8D */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f +/* 800881C8 00085128 38 00 00 00 */ li r0, 0 +/* 800881CC 0008512C 7F C3 F3 78 */ mr r3, r30 +/* 800881D0 00085130 90 01 00 24 */ stw r0, 0x24(r1) +/* 800881D4 00085134 7F E5 FB 78 */ mr r5, r31 +/* 800881D8 00085138 38 81 00 20 */ addi r4, r1, 0x20 +/* 800881DC 0008513C 90 01 00 20 */ stw r0, 0x20(r1) +/* 800881E0 00085140 4B FF 8E 69 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager +/* 800881E4 00085144 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800881E8 00085148 40 82 03 B4 */ bne lbl_8008859C +/* 800881EC 0008514C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800881F0 00085150 38 80 00 00 */ li r4, 0 +/* 800881F4 00085154 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800881F8 00085158 3C 60 40 00 */ lis r3, 0x4000 +/* 800881FC 0008515C 7C 00 20 38 */ and r0, r0, r4 +/* 80088200 00085160 7C A3 18 38 */ and r3, r5, r3 +/* 80088204 00085164 7C 63 22 78 */ xor r3, r3, r4 +/* 80088208 00085168 7C 00 22 78 */ xor r0, r0, r4 +/* 8008820C 0008516C 7C 60 03 79 */ or. r0, r3, r0 +/* 80088210 00085170 41 82 03 8C */ beq lbl_8008859C +/* 80088214 00085174 C0 41 02 80 */ lfs f2, 0x280(r1) +/* 80088218 00085178 38 61 00 70 */ addi r3, r1, 0x70 +/* 8008821C 0008517C C0 21 02 84 */ lfs f1, 0x284(r1) +/* 80088220 00085180 38 81 02 98 */ addi r4, r1, 0x298 +/* 80088224 00085184 C0 01 02 7C */ lfs f0, 0x27c(r1) +/* 80088228 00085188 EC 42 F8 28 */ fsubs f2, f2, f31 +/* 8008822C 0008518C EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80088230 00085190 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80088234 00085194 D0 41 02 9C */ stfs f2, 0x29c(r1) +/* 80088238 00085198 D0 01 02 98 */ stfs f0, 0x298(r1) +/* 8008823C 0008519C D0 21 02 A0 */ stfs f1, 0x2a0(r1) +/* 80088240 000851A0 48 28 C6 11 */ bl AsNormalized__9CVector3fCFv +/* 80088244 000851A4 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80088248 000851A8 38 61 02 98 */ addi r3, r1, 0x298 +/* 8008824C 000851AC C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80088250 000851B0 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 80088254 000851B4 FC 40 10 50 */ fneg f2, f2 +/* 80088258 000851B8 FC 20 08 50 */ fneg f1, f1 +/* 8008825C 000851BC FC 00 00 50 */ fneg f0, f0 +/* 80088260 000851C0 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80088264 000851C4 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80088268 000851C8 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 8008826C 000851CC 48 28 C6 4D */ bl Magnitude__9CVector3fCFv +/* 80088270 000851D0 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80088274 000851D4 7F E4 FB 78 */ mr r4, r31 +/* 80088278 000851D8 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 8008827C 000851DC 38 A1 00 08 */ addi r5, r1, 8 +/* 80088280 000851E0 38 61 02 D8 */ addi r3, r1, 0x2d8 +/* 80088284 000851E4 38 C1 02 7C */ addi r6, r1, 0x27c +/* 80088288 000851E8 38 E1 00 7C */ addi r7, r1, 0x7c +/* 8008828C 000851EC 39 21 03 C8 */ addi r9, r1, 0x3c8 +/* 80088290 000851F0 4B FC 4D 35 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80088294 000851F4 88 01 02 F8 */ lbz r0, 0x2f8(r1) +/* 80088298 000851F8 C0 A1 02 D8 */ lfs f5, 0x2d8(r1) +/* 8008829C 000851FC 80 A1 02 DC */ lwz r5, 0x2dc(r1) +/* 800882A0 00085200 28 00 00 00 */ cmplwi r0, 0 +/* 800882A4 00085204 80 81 02 E0 */ lwz r4, 0x2e0(r1) +/* 800882A8 00085208 80 61 02 E4 */ lwz r3, 0x2e4(r1) +/* 800882AC 0008520C C0 81 02 E8 */ lfs f4, 0x2e8(r1) +/* 800882B0 00085210 C0 61 02 EC */ lfs f3, 0x2ec(r1) +/* 800882B4 00085214 C0 41 02 F0 */ lfs f2, 0x2f0(r1) +/* 800882B8 00085218 C0 21 02 F4 */ lfs f1, 0x2f4(r1) +/* 800882BC 0008521C C8 01 03 00 */ lfd f0, 0x300(r1) +/* 800882C0 00085220 D0 A1 03 98 */ stfs f5, 0x398(r1) +/* 800882C4 00085224 90 A1 03 9C */ stw r5, 0x39c(r1) +/* 800882C8 00085228 90 81 03 A0 */ stw r4, 0x3a0(r1) +/* 800882CC 0008522C 90 61 03 A4 */ stw r3, 0x3a4(r1) +/* 800882D0 00085230 D0 81 03 A8 */ stfs f4, 0x3a8(r1) +/* 800882D4 00085234 D0 61 03 AC */ stfs f3, 0x3ac(r1) +/* 800882D8 00085238 D0 41 03 B0 */ stfs f2, 0x3b0(r1) +/* 800882DC 0008523C D0 21 03 B4 */ stfs f1, 0x3b4(r1) +/* 800882E0 00085240 98 01 03 B8 */ stb r0, 0x3b8(r1) +/* 800882E4 00085244 D8 01 03 C0 */ stfd f0, 0x3c0(r1) +/* 800882E8 00085248 41 82 00 B0 */ beq lbl_80088398 +/* 800882EC 0008524C 80 01 03 C0 */ lwz r0, 0x3c0(r1) +/* 800882F0 00085250 38 80 00 00 */ li r4, 0 +/* 800882F4 00085254 80 A1 03 C4 */ lwz r5, 0x3c4(r1) +/* 800882F8 00085258 38 60 00 20 */ li r3, 0x20 +/* 800882FC 0008525C 7C 00 20 38 */ and r0, r0, r4 +/* 80088300 00085260 7C A3 18 38 */ and r3, r5, r3 +/* 80088304 00085264 7C 63 22 78 */ xor r3, r3, r4 +/* 80088308 00085268 7C 00 22 78 */ xor r0, r0, r4 +/* 8008830C 0008526C 7C 60 03 79 */ or. r0, r3, r0 +/* 80088310 00085270 40 82 00 88 */ bne lbl_80088398 +/* 80088314 00085274 38 61 00 64 */ addi r3, r1, 0x64 +/* 80088318 00085278 38 81 02 98 */ addi r4, r1, 0x298 +/* 8008831C 0008527C 48 28 C5 35 */ bl AsNormalized__9CVector3fCFv +/* 80088320 00085280 C0 62 89 C4 */ lfs f3, lbl_805AA6E4@sda21(r2) +/* 80088324 00085284 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80088328 00085288 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8008832C 0008528C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80088330 00085290 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80088334 00085294 38 80 00 01 */ li r4, 1 +/* 80088338 00085298 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8008833C 0008529C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80088340 000852A0 C0 A2 8A 60 */ lfs f5, lbl_805AA780@sda21(r2) +/* 80088344 000852A4 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80088348 000852A8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8008834C 000852AC C0 C1 03 9C */ lfs f6, 0x39c(r1) +/* 80088350 000852B0 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80088354 000852B4 EC 45 00 72 */ fmuls f2, f5, f1 +/* 80088358 000852B8 C0 61 03 A0 */ lfs f3, 0x3a0(r1) +/* 8008835C 000852BC EC 05 00 32 */ fmuls f0, f5, f0 +/* 80088360 000852C0 C0 21 03 A4 */ lfs f1, 0x3a4(r1) +/* 80088364 000852C4 EC 86 20 28 */ fsubs f4, f6, f4 +/* 80088368 000852C8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8008836C 000852CC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80088370 000852D0 D0 81 02 4C */ stfs f4, 0x24c(r1) +/* 80088374 000852D4 D0 41 02 50 */ stfs f2, 0x250(r1) +/* 80088378 000852D8 80 E1 02 4C */ lwz r7, 0x24c(r1) +/* 8008837C 000852DC D0 01 02 54 */ stfs f0, 0x254(r1) +/* 80088380 000852E0 80 C1 02 50 */ lwz r6, 0x250(r1) +/* 80088384 000852E4 80 01 02 54 */ lwz r0, 0x254(r1) +/* 80088388 000852E8 90 E1 00 58 */ stw r7, 0x58(r1) +/* 8008838C 000852EC 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80088390 000852F0 90 01 00 60 */ stw r0, 0x60(r1) +/* 80088394 000852F4 4B FD 4C BD */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f +lbl_80088398: +/* 80088398 000852F8 C0 41 02 68 */ lfs f2, 0x268(r1) +/* 8008839C 000852FC 38 61 00 40 */ addi r3, r1, 0x40 +/* 800883A0 00085300 C0 21 02 6C */ lfs f1, 0x26c(r1) +/* 800883A4 00085304 38 81 02 98 */ addi r4, r1, 0x298 +/* 800883A8 00085308 C0 01 02 64 */ lfs f0, 0x264(r1) +/* 800883AC 0008530C EC 42 F8 28 */ fsubs f2, f2, f31 +/* 800883B0 00085310 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 800883B4 00085314 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 800883B8 00085318 D0 41 02 9C */ stfs f2, 0x29c(r1) +/* 800883BC 0008531C D0 01 02 98 */ stfs f0, 0x298(r1) +/* 800883C0 00085320 D0 21 02 A0 */ stfs f1, 0x2a0(r1) +/* 800883C4 00085324 48 28 C4 8D */ bl AsNormalized__9CVector3fCFv +/* 800883C8 00085328 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 800883CC 0008532C 38 61 02 98 */ addi r3, r1, 0x298 +/* 800883D0 00085330 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 800883D4 00085334 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 800883D8 00085338 FC 40 10 50 */ fneg f2, f2 +/* 800883DC 0008533C FC 20 08 50 */ fneg f1, f1 +/* 800883E0 00085340 FC 00 00 50 */ fneg f0, f0 +/* 800883E4 00085344 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800883E8 00085348 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800883EC 0008534C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800883F0 00085350 48 28 C4 C9 */ bl Magnitude__9CVector3fCFv +/* 800883F4 00085354 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 800883F8 00085358 7F E4 FB 78 */ mr r4, r31 +/* 800883FC 0008535C 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 80088400 00085360 38 A1 00 08 */ addi r5, r1, 8 +/* 80088404 00085364 38 61 02 A8 */ addi r3, r1, 0x2a8 +/* 80088408 00085368 38 C1 02 64 */ addi r6, r1, 0x264 +/* 8008840C 0008536C 38 E1 00 4C */ addi r7, r1, 0x4c +/* 80088410 00085370 39 21 03 C8 */ addi r9, r1, 0x3c8 +/* 80088414 00085374 4B FC 4B B1 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80088418 00085378 88 01 02 C8 */ lbz r0, 0x2c8(r1) +/* 8008841C 0008537C C0 A1 02 A8 */ lfs f5, 0x2a8(r1) +/* 80088420 00085380 80 A1 02 AC */ lwz r5, 0x2ac(r1) +/* 80088424 00085384 28 00 00 00 */ cmplwi r0, 0 +/* 80088428 00085388 80 81 02 B0 */ lwz r4, 0x2b0(r1) +/* 8008842C 0008538C 80 61 02 B4 */ lwz r3, 0x2b4(r1) +/* 80088430 00085390 C0 81 02 B8 */ lfs f4, 0x2b8(r1) +/* 80088434 00085394 C0 61 02 BC */ lfs f3, 0x2bc(r1) +/* 80088438 00085398 C0 41 02 C0 */ lfs f2, 0x2c0(r1) +/* 8008843C 0008539C C0 21 02 C4 */ lfs f1, 0x2c4(r1) +/* 80088440 000853A0 C8 01 02 D0 */ lfd f0, 0x2d0(r1) +/* 80088444 000853A4 D0 A1 03 98 */ stfs f5, 0x398(r1) +/* 80088448 000853A8 90 A1 03 9C */ stw r5, 0x39c(r1) +/* 8008844C 000853AC 90 81 03 A0 */ stw r4, 0x3a0(r1) +/* 80088450 000853B0 90 61 03 A4 */ stw r3, 0x3a4(r1) +/* 80088454 000853B4 D0 81 03 A8 */ stfs f4, 0x3a8(r1) +/* 80088458 000853B8 D0 61 03 AC */ stfs f3, 0x3ac(r1) +/* 8008845C 000853BC D0 41 03 B0 */ stfs f2, 0x3b0(r1) +/* 80088460 000853C0 D0 21 03 B4 */ stfs f1, 0x3b4(r1) +/* 80088464 000853C4 98 01 03 B8 */ stb r0, 0x3b8(r1) +/* 80088468 000853C8 D8 01 03 C0 */ stfd f0, 0x3c0(r1) +/* 8008846C 000853CC 41 82 00 B0 */ beq lbl_8008851C +/* 80088470 000853D0 80 01 03 C0 */ lwz r0, 0x3c0(r1) +/* 80088474 000853D4 38 80 00 00 */ li r4, 0 +/* 80088478 000853D8 80 A1 03 C4 */ lwz r5, 0x3c4(r1) +/* 8008847C 000853DC 38 60 00 20 */ li r3, 0x20 +/* 80088480 000853E0 7C 00 20 38 */ and r0, r0, r4 +/* 80088484 000853E4 7C A3 18 38 */ and r3, r5, r3 +/* 80088488 000853E8 7C 63 22 78 */ xor r3, r3, r4 +/* 8008848C 000853EC 7C 00 22 78 */ xor r0, r0, r4 +/* 80088490 000853F0 7C 60 03 79 */ or. r0, r3, r0 +/* 80088494 000853F4 40 82 00 88 */ bne lbl_8008851C +/* 80088498 000853F8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8008849C 000853FC 38 81 02 98 */ addi r4, r1, 0x298 +/* 800884A0 00085400 48 28 C3 B1 */ bl AsNormalized__9CVector3fCFv +/* 800884A4 00085404 C0 62 89 C4 */ lfs f3, lbl_805AA6E4@sda21(r2) +/* 800884A8 00085408 38 7E 03 7C */ addi r3, r30, 0x37c +/* 800884AC 0008540C C0 41 00 34 */ lfs f2, 0x34(r1) +/* 800884B0 00085410 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800884B4 00085414 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 800884B8 00085418 38 80 00 02 */ li r4, 2 +/* 800884BC 0008541C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 800884C0 00085420 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800884C4 00085424 C0 A2 8A 60 */ lfs f5, lbl_805AA780@sda21(r2) +/* 800884C8 00085428 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800884CC 0008542C EC 03 00 32 */ fmuls f0, f3, f0 +/* 800884D0 00085430 C0 C1 03 9C */ lfs f6, 0x39c(r1) +/* 800884D4 00085434 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 800884D8 00085438 EC 45 00 72 */ fmuls f2, f5, f1 +/* 800884DC 0008543C C0 61 03 A0 */ lfs f3, 0x3a0(r1) +/* 800884E0 00085440 EC 05 00 32 */ fmuls f0, f5, f0 +/* 800884E4 00085444 C0 21 03 A4 */ lfs f1, 0x3a4(r1) +/* 800884E8 00085448 EC 86 20 28 */ fsubs f4, f6, f4 +/* 800884EC 0008544C EC 43 10 28 */ fsubs f2, f3, f2 +/* 800884F0 00085450 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800884F4 00085454 D0 81 02 40 */ stfs f4, 0x240(r1) +/* 800884F8 00085458 D0 41 02 44 */ stfs f2, 0x244(r1) +/* 800884FC 0008545C 80 E1 02 40 */ lwz r7, 0x240(r1) +/* 80088500 00085460 D0 01 02 48 */ stfs f0, 0x248(r1) +/* 80088504 00085464 80 C1 02 44 */ lwz r6, 0x244(r1) +/* 80088508 00085468 80 01 02 48 */ lwz r0, 0x248(r1) +/* 8008850C 0008546C 90 E1 00 28 */ stw r7, 0x28(r1) +/* 80088510 00085470 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80088514 00085474 90 01 00 30 */ stw r0, 0x30(r1) +/* 80088518 00085478 4B FD 4B 39 */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f +lbl_8008851C: +/* 8008851C 0008547C 38 7E 03 7C */ addi r3, r30, 0x37c +/* 80088520 00085480 4B FD 3D 9D */ bl CalculateSplineLength__13CCameraSplineFv +/* 80088524 00085484 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) +/* 80088528 00085488 7F C3 F3 78 */ mr r3, r30 +/* 8008852C 0008548C 7F E5 FB 78 */ mr r5, r31 +/* 80088530 00085490 38 81 00 20 */ addi r4, r1, 0x20 +/* 80088534 00085494 4B FF 8B 15 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager +/* 80088538 00085498 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008853C 0008549C 40 82 00 60 */ bne lbl_8008859C +/* 80088540 000854A0 38 60 00 00 */ li r3, 0 +/* 80088544 000854A4 90 7E 03 6C */ stw r3, 0x36c(r30) +/* 80088548 000854A8 80 A1 03 C8 */ lwz r5, 0x3c8(r1) +/* 8008854C 000854AC 2C 05 00 00 */ cmpwi r5, 0 +/* 80088550 000854B0 40 81 00 40 */ ble lbl_80088590 +/* 80088554 000854B4 2C 05 00 08 */ cmpwi r5, 8 +/* 80088558 000854B8 38 85 FF F8 */ addi r4, r5, -8 +/* 8008855C 000854BC 40 81 00 20 */ ble lbl_8008857C +/* 80088560 000854C0 38 04 00 07 */ addi r0, r4, 7 +/* 80088564 000854C4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80088568 000854C8 7C 09 03 A6 */ mtctr r0 +/* 8008856C 000854CC 2C 04 00 00 */ cmpwi r4, 0 +/* 80088570 000854D0 40 81 00 0C */ ble lbl_8008857C +lbl_80088574: +/* 80088574 000854D4 38 63 00 08 */ addi r3, r3, 8 +/* 80088578 000854D8 42 00 FF FC */ bdnz lbl_80088574 +lbl_8008857C: +/* 8008857C 000854DC 7C 03 28 50 */ subf r0, r3, r5 +/* 80088580 000854E0 7C 09 03 A6 */ mtctr r0 +/* 80088584 000854E4 7C 03 28 00 */ cmpw r3, r5 +/* 80088588 000854E8 40 80 00 08 */ bge lbl_80088590 +lbl_8008858C: +/* 8008858C 000854EC 42 00 00 00 */ bdnz lbl_8008858C +lbl_80088590: +/* 80088590 000854F0 38 00 00 00 */ li r0, 0 +/* 80088594 000854F4 90 01 03 C8 */ stw r0, 0x3c8(r1) +/* 80088598 000854F8 48 00 00 78 */ b lbl_80088610 +lbl_8008859C: +/* 8008859C 000854FC C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) +/* 800885A0 00085500 38 7E 03 7C */ addi r3, r30, 0x37c +/* 800885A4 00085504 D0 1E 03 74 */ stfs f0, 0x374(r30) +/* 800885A8 00085508 D0 1E 03 78 */ stfs f0, 0x378(r30) +/* 800885AC 0008550C 4B FD 3D 11 */ bl CalculateSplineLength__13CCameraSplineFv +/* 800885B0 00085510 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) +/* 800885B4 00085514 38 60 00 00 */ li r3, 0 +/* 800885B8 00085518 90 7E 03 CC */ stw r3, 0x3cc(r30) +/* 800885BC 0008551C 90 7E 03 C8 */ stw r3, 0x3c8(r30) +/* 800885C0 00085520 80 A1 03 C8 */ lwz r5, 0x3c8(r1) +/* 800885C4 00085524 2C 05 00 00 */ cmpwi r5, 0 +/* 800885C8 00085528 40 81 00 40 */ ble lbl_80088608 +/* 800885CC 0008552C 2C 05 00 08 */ cmpwi r5, 8 +/* 800885D0 00085530 38 85 FF F8 */ addi r4, r5, -8 +/* 800885D4 00085534 40 81 00 20 */ ble lbl_800885F4 +/* 800885D8 00085538 38 04 00 07 */ addi r0, r4, 7 +/* 800885DC 0008553C 54 00 E8 FE */ srwi r0, r0, 3 +/* 800885E0 00085540 7C 09 03 A6 */ mtctr r0 +/* 800885E4 00085544 2C 04 00 00 */ cmpwi r4, 0 +/* 800885E8 00085548 40 81 00 0C */ ble lbl_800885F4 +lbl_800885EC: +/* 800885EC 0008554C 38 63 00 08 */ addi r3, r3, 8 +/* 800885F0 00085550 42 00 FF FC */ bdnz lbl_800885EC +lbl_800885F4: +/* 800885F4 00085554 7C 03 28 50 */ subf r0, r3, r5 +/* 800885F8 00085558 7C 09 03 A6 */ mtctr r0 +/* 800885FC 0008555C 7C 03 28 00 */ cmpw r3, r5 +/* 80088600 00085560 40 80 00 08 */ bge lbl_80088608 +lbl_80088604: +/* 80088604 00085564 42 00 00 00 */ bdnz lbl_80088604 +lbl_80088608: +/* 80088608 00085568 38 00 00 00 */ li r0, 0 +/* 8008860C 0008556C 90 01 03 C8 */ stw r0, 0x3c8(r1) +lbl_80088610: +/* 80088610 00085570 E3 E1 0C 08 */ psq_l f31, -1016(r1), 0, qr0 +/* 80088614 00085574 CB E1 0C 00 */ lfd f31, 0xc00(r1) +/* 80088618 00085578 E3 C1 0B F8 */ psq_l f30, -1032(r1), 0, qr0 +/* 8008861C 0008557C CB C1 0B F0 */ lfd f30, 0xbf0(r1) +/* 80088620 00085580 E3 A1 0B E8 */ psq_l f29, -1048(r1), 0, qr0 +/* 80088624 00085584 CB A1 0B E0 */ lfd f29, 0xbe0(r1) +/* 80088628 00085588 83 E1 0B DC */ lwz r31, 0xbdc(r1) +/* 8008862C 0008558C 80 01 0C 14 */ lwz r0, 0xc14(r1) +/* 80088630 00085590 83 C1 0B D8 */ lwz r30, 0xbd8(r1) +/* 80088634 00085594 7C 08 03 A6 */ mtlr r0 +/* 80088638 00085598 38 21 0C 10 */ addi r1, r1, 0xc10 +/* 8008863C 0008559C 4E 80 00 20 */ blr + +.global ShouldResetSpline__11CBallCameraCFR13CStateManager +ShouldResetSpline__11CBallCameraCFR13CStateManager: +/* 80088640 000855A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80088644 000855A4 7C 08 02 A6 */ mflr r0 +/* 80088648 000855A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8008864C 000855AC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80088650 000855B0 3B E0 00 00 */ li r31, 0 +/* 80088654 000855B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80088658 000855B8 7C 9E 23 78 */ mr r30, r4 +/* 8008865C 000855BC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80088660 000855C0 7C 7D 1B 78 */ mr r29, r3 +/* 80088664 000855C4 80 03 04 00 */ lwz r0, 0x400(r3) +/* 80088668 000855C8 2C 00 00 04 */ cmpwi r0, 4 +/* 8008866C 000855CC 41 82 00 4C */ beq lbl_800886B8 +/* 80088670 000855D0 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80088674 000855D4 4B F8 22 61 */ bl IsInterpolationCameraActive__14CCameraManagerCFv +/* 80088678 000855D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008867C 000855DC 40 82 00 3C */ bne lbl_800886B8 +/* 80088680 000855E0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80088684 000855E4 80 63 07 68 */ lwz r3, 0x768(r3) +/* 80088688 000855E8 80 03 18 7C */ lwz r0, 0x187c(r3) +/* 8008868C 000855EC 2C 00 00 01 */ cmpwi r0, 1 +/* 80088690 000855F0 41 82 00 28 */ beq lbl_800886B8 +/* 80088694 000855F4 80 1D 03 6C */ lwz r0, 0x36c(r29) +/* 80088698 000855F8 2C 00 00 00 */ cmpwi r0, 0 +/* 8008869C 000855FC 40 82 00 1C */ bne lbl_800886B8 +/* 800886A0 00085600 80 1D 01 88 */ lwz r0, 0x188(r29) +/* 800886A4 00085604 2C 00 00 09 */ cmpwi r0, 9 +/* 800886A8 00085608 40 80 00 0C */ bge lbl_800886B4 +/* 800886AC 0008560C 2C 00 00 04 */ cmpwi r0, 4 +/* 800886B0 00085610 40 80 00 08 */ bge lbl_800886B8 +lbl_800886B4: +/* 800886B4 00085614 3B E0 00 01 */ li r31, 1 +lbl_800886B8: +/* 800886B8 00085618 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800886BC 0008561C 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 800886C0 00085620 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800886C4 00085624 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800886C8 00085628 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800886CC 0008562C 7C 08 03 A6 */ mtlr r0 +/* 800886D0 00085630 38 21 00 20 */ addi r1, r1, 0x20 +/* 800886D4 00085634 4E 80 00 20 */ blr + +.global InterpolateCameraElevation__11CBallCameraCFRC9CVector3ff +InterpolateCameraElevation__11CBallCameraCFRC9CVector3ff: +/* 800886D8 00085638 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800886DC 0008563C 7C 08 02 A6 */ mflr r0 +/* 800886E0 00085640 90 01 00 64 */ stw r0, 0x64(r1) +/* 800886E4 00085644 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 800886E8 00085648 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 800886EC 0008564C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 800886F0 00085650 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 800886F4 00085654 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 800886F8 00085658 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 800886FC 0008565C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80088700 00085660 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80088704 00085664 7C 9F 23 78 */ mr r31, r4 +/* 80088708 00085668 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008870C 0008566C C0 44 01 A0 */ lfs f2, 0x1a0(r4) +/* 80088710 00085670 7C 7E 1B 78 */ mr r30, r3 +/* 80088714 00085674 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80088718 00085678 40 80 00 20 */ bge lbl_80088738 +/* 8008871C 0008567C C0 05 00 00 */ lfs f0, 0(r5) +/* 80088720 00085680 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80088724 00085684 C0 05 00 04 */ lfs f0, 4(r5) +/* 80088728 00085688 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8008872C 0008568C C0 05 00 08 */ lfs f0, 8(r5) +/* 80088730 00085690 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80088734 00085694 48 00 00 C4 */ b lbl_800887F8 +lbl_80088738: +/* 80088738 00085698 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008873C 0008569C C3 E5 00 00 */ lfs f31, 0(r5) +/* 80088740 000856A0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80088744 000856A4 C3 C5 00 04 */ lfs f30, 4(r5) +/* 80088748 000856A8 C3 A5 00 08 */ lfs f29, 8(r5) +/* 8008874C 000856AC 40 82 00 60 */ bne lbl_800887AC +/* 80088750 000856B0 80 1F 03 50 */ lwz r0, 0x350(r31) +/* 80088754 000856B4 38 80 00 00 */ li r4, 0 +/* 80088758 000856B8 80 BF 03 54 */ lwz r5, 0x354(r31) +/* 8008875C 000856BC 3C 60 80 00 */ lis r3, 0x8000 +/* 80088760 000856C0 7C 00 20 38 */ and r0, r0, r4 +/* 80088764 000856C4 7C A3 18 38 */ and r3, r5, r3 +/* 80088768 000856C8 7C 63 22 78 */ xor r3, r3, r4 +/* 8008876C 000856CC 7C 00 22 78 */ xor r0, r0, r4 +/* 80088770 000856D0 7C 60 03 79 */ or. r0, r3, r0 +/* 80088774 000856D4 41 82 00 38 */ beq lbl_800887AC +/* 80088778 000856D8 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 8008877C 000856DC D0 1F 03 D4 */ stfs f0, 0x3d4(r31) +/* 80088780 000856E0 C3 BF 00 60 */ lfs f29, 0x60(r31) +/* 80088784 000856E4 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80088788 000856E8 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8008878C 000856EC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80088790 000856F0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80088794 000856F4 D3 A1 00 1C */ stfs f29, 0x1c(r1) +/* 80088798 000856F8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8008879C 000856FC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800887A0 00085700 D3 A1 00 10 */ stfs f29, 0x10(r1) +/* 800887A4 00085704 D3 BF 03 D8 */ stfs f29, 0x3d8(r31) +/* 800887A8 00085708 48 00 00 44 */ b lbl_800887EC +lbl_800887AC: +/* 800887AC 0008570C C0 5F 03 D4 */ lfs f2, 0x3d4(r31) +/* 800887B0 00085710 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800887B4 00085714 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800887B8 00085718 40 81 00 34 */ ble lbl_800887EC +/* 800887BC 0008571C EC 02 08 28 */ fsubs f0, f2, f1 +/* 800887C0 00085720 38 9F 03 D4 */ addi r4, r31, 0x3d4 +/* 800887C4 00085724 38 6D 84 C8 */ addi r3, r13, lbl_805A7088@sda21 +/* 800887C8 00085728 38 AD 84 CC */ addi r5, r13, lbl_805A708C@sda21 +/* 800887CC 0008572C D0 1F 03 D4 */ stfs f0, 0x3d4(r31) +/* 800887D0 00085730 4B F8 3A E5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800887D4 00085734 C0 5F 03 D8 */ lfs f2, 0x3d8(r31) +/* 800887D8 00085738 C0 63 00 00 */ lfs f3, 0(r3) +/* 800887DC 0008573C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 800887E0 00085740 EC 3D 10 28 */ fsubs f1, f29, f2 +/* 800887E4 00085744 EC 00 18 28 */ fsubs f0, f0, f3 +/* 800887E8 00085748 EF A1 10 3A */ fmadds f29, f1, f0, f2 +lbl_800887EC: +/* 800887EC 0008574C D3 FE 00 00 */ stfs f31, 0(r30) +/* 800887F0 00085750 D3 DE 00 04 */ stfs f30, 4(r30) +/* 800887F4 00085754 D3 BE 00 08 */ stfs f29, 8(r30) +lbl_800887F8: +/* 800887F8 00085758 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 800887FC 0008575C CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80088800 00085760 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80088804 00085764 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80088808 00085768 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 8008880C 0008576C CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80088810 00085770 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80088814 00085774 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80088818 00085778 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8008881C 0008577C 7C 08 03 A6 */ mtlr r0 +/* 80088820 00085780 38 21 00 60 */ addi r1, r1, 0x60 +/* 80088824 00085784 4E 80 00 20 */ blr + +.global UpdatePlayerMovement__11CBallCameraFfR13CStateManager +UpdatePlayerMovement__11CBallCameraFfR13CStateManager: +/* 80088828 00085788 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8008882C 0008578C 7C 08 02 A6 */ mflr r0 +/* 80088830 00085790 90 01 00 74 */ stw r0, 0x74(r1) +/* 80088834 00085794 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80088838 00085798 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8008883C 0008579C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80088840 000857A0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80088844 000857A4 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80088848 000857A8 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 8008884C 000857AC DB 81 00 30 */ stfd f28, 0x30(r1) +/* 80088850 000857B0 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 80088854 000857B4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80088858 000857B8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8008885C 000857BC FF 80 08 90 */ fmr f28, f1 +/* 80088860 000857C0 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 80088864 000857C4 7C 7E 1B 78 */ mr r30, r3 +/* 80088868 000857C8 7F E3 FB 78 */ mr r3, r31 +/* 8008886C 000857CC 48 1F D0 11 */ bl GetActualBallMaxVelocity__7CPlayerCFf +/* 80088870 000857D0 FC 00 0A 10 */ fabs f0, f1 +/* 80088874 000857D4 7F E4 FB 78 */ mr r4, r31 +/* 80088878 000857D8 38 61 00 08 */ addi r3, r1, 8 +/* 8008887C 000857DC FC 00 00 18 */ frsp f0, f0 +/* 80088880 000857E0 D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 80088884 000857E4 48 1F C4 C5 */ bl GetBallPosition__7CPlayerCFv +/* 80088888 000857E8 C3 A1 00 08 */ lfs f29, 8(r1) +/* 8008888C 000857EC 38 7E 02 FC */ addi r3, r30, 0x2fc +/* 80088890 000857F0 C0 1E 02 DC */ lfs f0, 0x2dc(r30) +/* 80088894 000857F4 C3 E1 00 0C */ lfs f31, 0xc(r1) +/* 80088898 000857F8 C0 7E 02 E0 */ lfs f3, 0x2e0(r30) +/* 8008889C 000857FC EC 3D 00 28 */ fsubs f1, f29, f0 +/* 800888A0 00085800 C3 C1 00 10 */ lfs f30, 0x10(r1) +/* 800888A4 00085804 C0 5E 02 E4 */ lfs f2, 0x2e4(r30) +/* 800888A8 00085808 EC 7F 18 28 */ fsubs f3, f31, f3 +/* 800888AC 0008580C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800888B0 00085810 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 800888B4 00085814 EC 3E 10 28 */ fsubs f1, f30, f2 +/* 800888B8 00085818 D0 7E 02 F4 */ stfs f3, 0x2f4(r30) +/* 800888BC 0008581C D0 3E 02 F8 */ stfs f1, 0x2f8(r30) +/* 800888C0 00085820 C0 3E 02 F0 */ lfs f1, 0x2f0(r30) +/* 800888C4 00085824 D0 3E 02 FC */ stfs f1, 0x2fc(r30) +/* 800888C8 00085828 C0 3E 02 F4 */ lfs f1, 0x2f4(r30) +/* 800888CC 0008582C D0 3E 03 00 */ stfs f1, 0x300(r30) +/* 800888D0 00085830 C0 3E 02 F8 */ lfs f1, 0x2f8(r30) +/* 800888D4 00085834 D0 3E 03 04 */ stfs f1, 0x304(r30) +/* 800888D8 00085838 D0 1E 03 04 */ stfs f0, 0x304(r30) +/* 800888DC 0008583C 48 28 BE 1D */ bl CanBeNormalized__9CVector3fCFv +/* 800888E0 00085840 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800888E4 00085844 41 82 00 18 */ beq lbl_800888FC +/* 800888E8 00085848 38 7E 02 FC */ addi r3, r30, 0x2fc +/* 800888EC 0008584C 48 28 BF CD */ bl Magnitude__9CVector3fCFv +/* 800888F0 00085850 EC 01 E0 24 */ fdivs f0, f1, f28 +/* 800888F4 00085854 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) +/* 800888F8 00085858 48 00 00 0C */ b lbl_80088904 +lbl_800888FC: +/* 800888FC 0008585C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80088900 00085860 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) +lbl_80088904: +/* 80088904 00085864 D3 BE 02 DC */ stfs f29, 0x2dc(r30) +/* 80088908 00085868 38 80 00 00 */ li r4, 0 +/* 8008890C 0008586C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80088910 00085870 38 61 00 14 */ addi r3, r1, 0x14 +/* 80088914 00085874 D3 FE 02 E0 */ stfs f31, 0x2e0(r30) +/* 80088918 00085878 D3 DE 02 E4 */ stfs f30, 0x2e4(r30) +/* 8008891C 0008587C 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 80088920 00085880 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80088924 00085884 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 80088928 00085888 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8008892C 0008588C C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 80088930 00085890 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80088934 00085894 EC 5E 10 28 */ fsubs f2, f30, f2 +/* 80088938 00085898 EC 7F 18 28 */ fsubs f3, f31, f3 +/* 8008893C 0008589C EC 3D 08 28 */ fsubs f1, f29, f1 +/* 80088940 000858A0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80088944 000858A4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80088948 000858A8 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8008894C 000858AC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80088950 000858B0 48 28 BD A9 */ bl CanBeNormalized__9CVector3fCFv +/* 80088954 000858B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80088958 000858B8 41 82 00 7C */ beq lbl_800889D4 +/* 8008895C 000858BC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80088960 000858C0 48 28 BF 99 */ bl Normalize__9CVector3fFv +/* 80088964 000858C4 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80088968 000858C8 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 8008896C 000858CC C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80088970 000858D0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80088974 000858D4 C0 3F 05 0C */ lfs f1, 0x50c(r31) +/* 80088978 000858D8 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 8008897C 000858DC C0 7F 05 14 */ lfs f3, 0x514(r31) +/* 80088980 000858E0 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80088984 000858E4 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80088988 000858E8 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8008898C 000858EC FC 40 0A 10 */ fabs f2, f1 +/* 80088990 000858F0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80088994 000858F4 40 81 00 14 */ ble lbl_800889A8 +/* 80088998 000858F8 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 8008899C 000858FC C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 800889A0 00085900 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 800889A4 00085904 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_800889A8: +/* 800889A8 00085908 48 30 C2 85 */ bl acos +/* 800889AC 0008590C FC 20 08 18 */ frsp f1, f1 +/* 800889B0 00085910 C0 02 8A 68 */ lfs f0, lbl_805AA788@sda21(r2) +/* 800889B4 00085914 FC 20 0A 10 */ fabs f1, f1 +/* 800889B8 00085918 FC 20 08 18 */ frsp f1, f1 +/* 800889BC 0008591C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800889C0 00085920 40 81 00 14 */ ble lbl_800889D4 +/* 800889C4 00085924 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 800889C8 00085928 38 60 00 01 */ li r3, 1 +/* 800889CC 0008592C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800889D0 00085930 98 1E 01 8D */ stb r0, 0x18d(r30) +lbl_800889D4: +/* 800889D4 00085934 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 800889D8 00085938 C0 42 8A 6C */ lfs f2, lbl_805AA78C@sda21(r2) +/* 800889DC 0008593C D0 3E 03 08 */ stfs f1, 0x308(r30) +/* 800889E0 00085940 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) +/* 800889E4 00085944 EC 60 10 28 */ fsubs f3, f0, f2 +/* 800889E8 00085948 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 800889EC 0008594C 40 81 00 54 */ ble lbl_80088A40 +/* 800889F0 00085950 C0 1E 02 EC */ lfs f0, 0x2ec(r30) +/* 800889F4 00085954 C0 22 8A 74 */ lfs f1, lbl_805AA794@sda21(r2) +/* 800889F8 00085958 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800889FC 0008595C C0 42 8A 70 */ lfs f2, lbl_805AA790@sda21(r2) +/* 80088A00 00085960 EC 03 00 24 */ fdivs f0, f3, f0 +/* 80088A04 00085964 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80088A08 00085968 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80088A0C 0008596C 48 30 C0 D1 */ bl sin +/* 80088A10 00085970 FC 20 08 18 */ frsp f1, f1 +/* 80088A14 00085974 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80088A18 00085978 FC 20 0A 10 */ fabs f1, f1 +/* 80088A1C 0008597C FC 40 08 18 */ frsp f2, f1 +/* 80088A20 00085980 FC 20 12 10 */ fabs f1, f2 +/* 80088A24 00085984 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80088A28 00085988 40 81 00 14 */ ble lbl_80088A3C +/* 80088A2C 0008598C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80088A30 00085990 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80088A34 00085994 FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80088A38 00085998 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_80088A3C: +/* 80088A3C 0008599C D0 5E 03 08 */ stfs f2, 0x308(r30) +lbl_80088A40: +/* 80088A40 000859A0 C0 7E 01 94 */ lfs f3, 0x194(r30) +/* 80088A44 000859A4 C0 1E 01 98 */ lfs f0, 0x198(r30) +/* 80088A48 000859A8 C0 5E 03 08 */ lfs f2, 0x308(r30) +/* 80088A4C 000859AC EC 20 18 28 */ fsubs f1, f0, f3 +/* 80088A50 000859B0 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) +/* 80088A54 000859B4 EC 22 18 7A */ fmadds f1, f2, f1, f3 +/* 80088A58 000859B8 D0 3E 01 90 */ stfs f1, 0x190(r30) +/* 80088A5C 000859BC C0 3E 03 08 */ lfs f1, 0x308(r30) +/* 80088A60 000859C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80088A64 000859C4 40 81 00 20 */ ble lbl_80088A84 +/* 80088A68 000859C8 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 80088A6C 000859CC 2C 00 00 00 */ cmpwi r0, 0 +/* 80088A70 000859D0 40 82 00 14 */ bne lbl_80088A84 +/* 80088A74 000859D4 C0 1E 03 0C */ lfs f0, 0x30c(r30) +/* 80088A78 000859D8 EC 1C 00 7A */ fmadds f0, f28, f1, f0 +/* 80088A7C 000859DC D0 1E 03 0C */ stfs f0, 0x30c(r30) +/* 80088A80 000859E0 48 00 00 0C */ b lbl_80088A8C +lbl_80088A84: +/* 80088A84 000859E4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80088A88 000859E8 D0 1E 03 0C */ stfs f0, 0x30c(r30) +lbl_80088A8C: +/* 80088A8C 000859EC 38 9E 03 0C */ addi r4, r30, 0x30c +/* 80088A90 000859F0 38 6D 84 C4 */ addi r3, r13, lbl_805A7084@sda21 +/* 80088A94 000859F4 38 A2 8A 64 */ addi r5, r2, lbl_805AA784@sda21 +/* 80088A98 000859F8 4B F8 38 1D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80088A9C 000859FC C0 03 00 00 */ lfs f0, 0(r3) +/* 80088AA0 00085A00 D0 1E 03 0C */ stfs f0, 0x30c(r30) +/* 80088AA4 00085A04 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80088AA8 00085A08 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80088AAC 00085A0C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80088AB0 00085A10 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80088AB4 00085A14 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80088AB8 00085A18 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80088ABC 00085A1C E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 80088AC0 00085A20 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 80088AC4 00085A24 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80088AC8 00085A28 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80088ACC 00085A2C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80088AD0 00085A30 7C 08 03 A6 */ mtlr r0 +/* 80088AD4 00085A34 38 21 00 70 */ addi r1, r1, 0x70 +/* 80088AD8 00085A38 4E 80 00 20 */ blr + +.global UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager +UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager: +/* 80088ADC 00085A3C 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 80088AE0 00085A40 7C 08 02 A6 */ mflr r0 +/* 80088AE4 00085A44 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 80088AE8 00085A48 DB E1 02 B0 */ stfd f31, 0x2b0(r1) +/* 80088AEC 00085A4C F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 +/* 80088AF0 00085A50 DB C1 02 A0 */ stfd f30, 0x2a0(r1) +/* 80088AF4 00085A54 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 +/* 80088AF8 00085A58 DB A1 02 90 */ stfd f29, 0x290(r1) +/* 80088AFC 00085A5C F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 +/* 80088B00 00085A60 DB 81 02 80 */ stfd f28, 0x280(r1) +/* 80088B04 00085A64 F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 +/* 80088B08 00085A68 93 E1 02 7C */ stw r31, 0x27c(r1) +/* 80088B0C 00085A6C 93 C1 02 78 */ stw r30, 0x278(r1) +/* 80088B10 00085A70 93 A1 02 74 */ stw r29, 0x274(r1) +/* 80088B14 00085A74 93 81 02 70 */ stw r28, 0x270(r1) +/* 80088B18 00085A78 FF C0 08 90 */ fmr f30, f1 +/* 80088B1C 00085A7C 7C 7E 1B 78 */ mr r30, r3 +/* 80088B20 00085A80 7C 9C 23 78 */ mr r28, r4 +/* 80088B24 00085A84 7C BF 2B 78 */ mr r31, r5 +/* 80088B28 00085A88 7C DD 33 78 */ mr r29, r6 +/* 80088B2C 00085A8C 38 61 02 40 */ addi r3, r1, 0x240 +/* 80088B30 00085A90 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80088B34 00085A94 48 28 A0 41 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80088B38 00085A98 C0 5C 00 00 */ lfs f2, 0(r28) +/* 80088B3C 00085A9C C0 3C 00 04 */ lfs f1, 4(r28) +/* 80088B40 00085AA0 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80088B44 00085AA4 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80088B48 00085AA8 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80088B4C 00085AAC D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80088B50 00085AB0 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 80088B54 00085AB4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80088B58 00085AB8 41 82 00 3C */ beq lbl_80088B94 +/* 80088B5C 00085ABC 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80088B60 00085AC0 7F A4 EB 78 */ mr r4, r29 +/* 80088B64 00085AC4 4B F8 08 6D */ bl GetCameraHint__14CCameraManagerCFR13CStateManager +/* 80088B68 00085AC8 28 03 00 00 */ cmplwi r3, 0 +/* 80088B6C 00085ACC 41 82 00 28 */ beq lbl_80088B94 +/* 80088B70 00085AD0 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80088B74 00085AD4 7F A4 EB 78 */ mr r4, r29 +/* 80088B78 00085AD8 4B F8 08 59 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager +/* 80088B7C 00085ADC C0 43 00 58 */ lfs f2, 0x58(r3) +/* 80088B80 00085AE0 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 80088B84 00085AE4 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 80088B88 00085AE8 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80088B8C 00085AEC D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80088B90 00085AF0 D0 41 00 BC */ stfs f2, 0xbc(r1) +lbl_80088B94: +/* 80088B94 00085AF4 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80088B98 00085AF8 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80088B9C 00085AFC C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 80088BA0 00085B00 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 80088BA4 00085B04 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 80088BA8 00085B08 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80088BAC 00085B0C D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 80088BB0 00085B10 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 80088BB4 00085B14 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 80088BB8 00085B18 48 28 BB 41 */ bl CanBeNormalized__9CVector3fCFv +/* 80088BBC 00085B1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80088BC0 00085B20 40 82 00 14 */ bne lbl_80088BD4 +/* 80088BC4 00085B24 7F C3 F3 78 */ mr r3, r30 +/* 80088BC8 00085B28 7F E4 FB 78 */ mr r4, r31 +/* 80088BCC 00085B2C 4B FC A2 C1 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80088BD0 00085B30 48 00 04 70 */ b lbl_80089040 +lbl_80088BD4: +/* 80088BD4 00085B34 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 80088BD8 00085B38 38 61 00 9C */ addi r3, r1, 0x9c +/* 80088BDC 00085B3C C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 80088BE0 00085B40 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 80088BE4 00085B44 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80088BE8 00085B48 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80088BEC 00085B4C D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 80088BF0 00085B50 48 28 BB 09 */ bl CanBeNormalized__9CVector3fCFv +/* 80088BF4 00085B54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80088BF8 00085B58 41 82 00 10 */ beq lbl_80088C08 +/* 80088BFC 00085B5C 38 61 00 9C */ addi r3, r1, 0x9c +/* 80088C00 00085B60 48 28 BC F9 */ bl Normalize__9CVector3fFv +/* 80088C04 00085B64 48 00 00 84 */ b lbl_80088C88 +lbl_80088C08: +/* 80088C08 00085B68 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80088C0C 00085B6C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80088C10 00085B70 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 80088C14 00085B74 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80088C18 00085B78 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80088C1C 00085B7C 7F E4 FB 78 */ mr r4, r31 +/* 80088C20 00085B80 EC 81 00 2A */ fadds f4, f1, f0 +/* 80088C24 00085B84 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 80088C28 00085B88 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80088C2C 00085B8C 38 61 02 10 */ addi r3, r1, 0x210 +/* 80088C30 00085B90 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80088C34 00085B94 EC 43 10 2A */ fadds f2, f3, f2 +/* 80088C38 00085B98 EC 01 00 2A */ fadds f0, f1, f0 +/* 80088C3C 00085B9C D0 81 00 74 */ stfs f4, 0x74(r1) +/* 80088C40 00085BA0 38 A1 00 70 */ addi r5, r1, 0x70 +/* 80088C44 00085BA4 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80088C48 00085BA8 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80088C4C 00085BAC 48 28 AE C5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80088C50 00085BB0 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80088C54 00085BB4 38 81 02 10 */ addi r4, r1, 0x210 +/* 80088C58 00085BB8 48 28 9E E9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80088C5C 00085BBC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80088C60 00085BC0 38 60 00 01 */ li r3, 1 +/* 80088C64 00085BC4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80088C68 00085BC8 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80088C6C 00085BCC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80088C70 00085BD0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80088C74 00085BD4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80088C78 00085BD8 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80088C7C 00085BDC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80088C80 00085BE0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80088C84 00085BE4 48 00 03 BC */ b lbl_80089040 +lbl_80088C88: +/* 80088C88 00085BE8 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 80088C8C 00085BEC C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 80088C90 00085BF0 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 80088C94 00085BF4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80088C98 00085BF8 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80088C9C 00085BFC C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 80088CA0 00085C00 C0 61 00 BC */ lfs f3, 0xbc(r1) +/* 80088CA4 00085C04 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80088CA8 00085C08 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80088CAC 00085C0C EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80088CB0 00085C10 FC 40 0A 10 */ fabs f2, f1 +/* 80088CB4 00085C14 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80088CB8 00085C18 40 81 00 14 */ ble lbl_80088CCC +/* 80088CBC 00085C1C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80088CC0 00085C20 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 80088CC4 00085C24 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 80088CC8 00085C28 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_80088CCC: +/* 80088CCC 00085C2C FC 40 0A 10 */ fabs f2, f1 +/* 80088CD0 00085C30 C0 02 8A 78 */ lfs f0, lbl_805AA798@sda21(r2) +/* 80088CD4 00085C34 FC 40 10 18 */ frsp f2, f2 +/* 80088CD8 00085C38 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80088CDC 00085C3C 4C 41 13 82 */ cror 2, 1, 2 +/* 80088CE0 00085C40 40 82 00 84 */ bne lbl_80088D64 +/* 80088CE4 00085C44 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80088CE8 00085C48 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80088CEC 00085C4C C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 80088CF0 00085C50 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80088CF4 00085C54 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80088CF8 00085C58 7F E4 FB 78 */ mr r4, r31 +/* 80088CFC 00085C5C EC 81 00 2A */ fadds f4, f1, f0 +/* 80088D00 00085C60 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 80088D04 00085C64 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80088D08 00085C68 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80088D0C 00085C6C C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80088D10 00085C70 EC 43 10 2A */ fadds f2, f3, f2 +/* 80088D14 00085C74 EC 01 00 2A */ fadds f0, f1, f0 +/* 80088D18 00085C78 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 80088D1C 00085C7C 38 A1 00 64 */ addi r5, r1, 0x64 +/* 80088D20 00085C80 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80088D24 00085C84 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80088D28 00085C88 48 28 AD E9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80088D2C 00085C8C 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80088D30 00085C90 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 80088D34 00085C94 48 28 9E 0D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80088D38 00085C98 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80088D3C 00085C9C 38 60 00 01 */ li r3, 1 +/* 80088D40 00085CA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80088D44 00085CA4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80088D48 00085CA8 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80088D4C 00085CAC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80088D50 00085CB0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80088D54 00085CB4 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80088D58 00085CB8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80088D5C 00085CBC 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80088D60 00085CC0 48 00 02 D4 */ b lbl_80089034 +lbl_80088D64: +/* 80088D64 00085CC4 48 30 BE C9 */ bl acos +/* 80088D68 00085CC8 C0 02 8A 7C */ lfs f0, lbl_805AA79C@sda21(r2) +/* 80088D6C 00085CCC FC 20 08 18 */ frsp f1, f1 +/* 80088D70 00085CD0 38 81 00 0C */ addi r4, r1, 0xc +/* 80088D74 00085CD4 38 6D 84 BC */ addi r3, r13, lbl_805A707C@sda21 +/* 80088D78 00085CD8 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 80088D7C 00085CDC 38 AD 84 C0 */ addi r5, r13, lbl_805A7080@sda21 +/* 80088D80 00085CE0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80088D84 00085CE4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80088D88 00085CE8 4B F8 35 2D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80088D8C 00085CEC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 80088D90 00085CF0 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 80088D94 00085CF4 38 84 66 F4 */ addi r4, r4, lbl_805A66F4@l +/* 80088D98 00085CF8 C0 61 00 B4 */ lfs f3, 0xb4(r1) +/* 80088D9C 00085CFC C0 04 00 04 */ lfs f0, 4(r4) +/* 80088DA0 00085D00 C0 44 00 00 */ lfs f2, 0(r4) +/* 80088DA4 00085D04 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80088DA8 00085D08 C0 A1 00 BC */ lfs f5, 0xbc(r1) +/* 80088DAC 00085D0C C0 84 00 08 */ lfs f4, 8(r4) +/* 80088DB0 00085D10 C3 E3 00 00 */ lfs f31, 0(r3) +/* 80088DB4 00085D14 EC 23 00 BA */ fmadds f1, f3, f2, f0 +/* 80088DB8 00085D18 C0 5E 01 A4 */ lfs f2, 0x1a4(r30) +/* 80088DBC 00085D1C C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80088DC0 00085D20 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 80088DC4 00085D24 EC 65 09 3A */ fmadds f3, f5, f4, f1 +/* 80088DC8 00085D28 EC 3E 00 B2 */ fmuls f1, f30, f2 +/* 80088DCC 00085D2C FC 40 1A 10 */ fabs f2, f3 +/* 80088DD0 00085D30 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80088DD4 00085D34 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80088DD8 00085D38 40 81 00 14 */ ble lbl_80088DEC +/* 80088DDC 00085D3C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80088DE0 00085D40 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80088DE4 00085D44 FC 03 00 6E */ fsel f0, f3, f1, f0 +/* 80088DE8 00085D48 EC 61 00 32 */ fmuls f3, f1, f0 +lbl_80088DEC: +/* 80088DEC 00085D4C FC 40 1A 10 */ fabs f2, f3 +/* 80088DF0 00085D50 C0 22 8A 80 */ lfs f1, lbl_805AA7A0@sda21(r2) +/* 80088DF4 00085D54 80 1E 03 6C */ lwz r0, 0x36c(r30) +/* 80088DF8 00085D58 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80088DFC 00085D5C EC 21 07 B2 */ fmuls f1, f1, f30 +/* 80088E00 00085D60 FF A0 10 18 */ frsp f29, f2 +/* 80088E04 00085D64 2C 00 00 01 */ cmpwi r0, 1 +/* 80088E08 00085D68 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 80088E0C 00085D6C EF 81 00 32 */ fmuls f28, f1, f0 +/* 80088E10 00085D70 40 82 00 1C */ bne lbl_80088E2C +/* 80088E14 00085D74 C0 22 8A 84 */ lfs f1, lbl_805AA7A4@sda21(r2) +/* 80088E18 00085D78 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80088E1C 00085D7C EF 81 07 B2 */ fmuls f28, f1, f30 +/* 80088E20 00085D80 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 80088E24 00085D84 40 81 00 08 */ ble lbl_80088E2C +/* 80088E28 00085D88 D3 81 00 10 */ stfs f28, 0x10(r1) +lbl_80088E2C: +/* 80088E2C 00085D8C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80088E30 00085D90 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 80088E34 00085D94 40 81 00 24 */ ble lbl_80088E58 +/* 80088E38 00085D98 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80088E3C 00085D9C 4B F9 13 D9 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80088E40 00085DA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80088E44 00085DA4 40 82 00 14 */ bne lbl_80088E58 +/* 80088E48 00085DA8 C0 02 8A 88 */ lfs f0, lbl_805AA7A8@sda21(r2) +/* 80088E4C 00085DAC FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80088E50 00085DB0 40 81 00 08 */ ble lbl_80088E58 +/* 80088E54 00085DB4 D3 81 00 10 */ stfs f28, 0x10(r1) +lbl_80088E58: +/* 80088E58 00085DB8 80 1E 04 00 */ lwz r0, 0x400(r30) +/* 80088E5C 00085DBC 2C 00 00 03 */ cmpwi r0, 3 +/* 80088E60 00085DC0 41 82 00 34 */ beq lbl_80088E94 +/* 80088E64 00085DC4 40 80 00 40 */ bge lbl_80088EA4 +/* 80088E68 00085DC8 2C 00 00 02 */ cmpwi r0, 2 +/* 80088E6C 00085DCC 40 80 00 08 */ bge lbl_80088E74 +/* 80088E70 00085DD0 48 00 00 34 */ b lbl_80088EA4 +lbl_80088E74: +/* 80088E74 00085DD4 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 80088E78 00085DD8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80088E7C 00085DDC 41 82 00 28 */ beq lbl_80088EA4 +/* 80088E80 00085DE0 C0 1E 04 0C */ lfs f0, 0x40c(r30) +/* 80088E84 00085DE4 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80088E88 00085DE8 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80088E8C 00085DEC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80088E90 00085DF0 48 00 00 14 */ b lbl_80088EA4 +lbl_80088E94: +/* 80088E94 00085DF4 C0 1E 04 38 */ lfs f0, 0x438(r30) +/* 80088E98 00085DF8 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80088E9C 00085DFC EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80088EA0 00085E00 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_80088EA4: +/* 80088EA4 00085E04 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 80088EA8 00085E08 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80088EAC 00085E0C 40 82 00 14 */ bne lbl_80088EC0 +/* 80088EB0 00085E10 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80088EB4 00085E14 4B F8 1A 21 */ bl IsInterpolationCameraActive__14CCameraManagerCFv +/* 80088EB8 00085E18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80088EBC 00085E1C 41 82 00 CC */ beq lbl_80088F88 +lbl_80088EC0: +/* 80088EC0 00085E20 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 80088EC4 00085E24 38 60 00 00 */ li r3, 0 +/* 80088EC8 00085E28 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80088ECC 00085E2C C0 02 8A 8C */ lfs f0, lbl_805AA7AC@sda21(r2) +/* 80088ED0 00085E30 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 80088ED4 00085E34 38 61 00 3C */ addi r3, r1, 0x3c +/* 80088ED8 00085E38 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80088EDC 00085E3C D0 01 00 08 */ stfs f0, 8(r1) +/* 80088EE0 00085E40 48 28 AE F1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80088EE4 00085E44 7C 7D 1B 78 */ mr r29, r3 +/* 80088EE8 00085E48 38 61 00 48 */ addi r3, r1, 0x48 +/* 80088EEC 00085E4C 38 81 00 9C */ addi r4, r1, 0x9c +/* 80088EF0 00085E50 48 28 AE E1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80088EF4 00085E54 7C 64 1B 78 */ mr r4, r3 +/* 80088EF8 00085E58 7F A5 EB 78 */ mr r5, r29 +/* 80088EFC 00085E5C 38 61 00 54 */ addi r3, r1, 0x54 +/* 80088F00 00085E60 38 C1 00 08 */ addi r6, r1, 8 +/* 80088F04 00085E64 48 28 87 91 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 80088F08 00085E68 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 80088F0C 00085E6C 38 61 01 50 */ addi r3, r1, 0x150 +/* 80088F10 00085E70 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 80088F14 00085E74 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80088F18 00085E78 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 80088F1C 00085E7C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 80088F20 00085E80 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 80088F24 00085E84 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 80088F28 00085E88 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 80088F2C 00085E8C D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80088F30 00085E90 48 28 9D 11 */ bl GetRotation__12CTransform4fCFv +/* 80088F34 00085E94 38 61 01 80 */ addi r3, r1, 0x180 +/* 80088F38 00085E98 38 81 00 8C */ addi r4, r1, 0x8c +/* 80088F3C 00085E9C 48 28 90 7D */ bl BuildTransform4f__11CQuaternionCFv +/* 80088F40 00085EA0 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80088F44 00085EA4 38 81 01 80 */ addi r4, r1, 0x180 +/* 80088F48 00085EA8 38 A1 01 50 */ addi r5, r1, 0x150 +/* 80088F4C 00085EAC 48 28 9A 05 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80088F50 00085EB0 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80088F54 00085EB4 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 80088F58 00085EB8 48 28 9B E9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80088F5C 00085EBC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80088F60 00085EC0 38 60 00 01 */ li r3, 1 +/* 80088F64 00085EC4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80088F68 00085EC8 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80088F6C 00085ECC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80088F70 00085ED0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80088F74 00085ED4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80088F78 00085ED8 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80088F7C 00085EDC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80088F80 00085EE0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80088F84 00085EE4 48 00 00 B0 */ b lbl_80089034 +lbl_80088F88: +/* 80088F88 00085EE8 38 61 00 14 */ addi r3, r1, 0x14 +/* 80088F8C 00085EEC 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80088F90 00085EF0 48 28 AE 41 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80088F94 00085EF4 7C 7D 1B 78 */ mr r29, r3 +/* 80088F98 00085EF8 38 61 00 20 */ addi r3, r1, 0x20 +/* 80088F9C 00085EFC 38 81 00 9C */ addi r4, r1, 0x9c +/* 80088FA0 00085F00 48 28 AE 31 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80088FA4 00085F04 7C 64 1B 78 */ mr r4, r3 +/* 80088FA8 00085F08 7F A5 EB 78 */ mr r5, r29 +/* 80088FAC 00085F0C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80088FB0 00085F10 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80088FB4 00085F14 48 28 86 E1 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 80088FB8 00085F18 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 80088FBC 00085F1C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80088FC0 00085F20 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 80088FC4 00085F24 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80088FC8 00085F28 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80088FCC 00085F2C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80088FD0 00085F30 D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 80088FD4 00085F34 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80088FD8 00085F38 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80088FDC 00085F3C D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80088FE0 00085F40 48 28 9C 61 */ bl GetRotation__12CTransform4fCFv +/* 80088FE4 00085F44 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80088FE8 00085F48 38 81 00 7C */ addi r4, r1, 0x7c +/* 80088FEC 00085F4C 48 28 8F CD */ bl BuildTransform4f__11CQuaternionCFv +/* 80088FF0 00085F50 38 61 01 20 */ addi r3, r1, 0x120 +/* 80088FF4 00085F54 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 80088FF8 00085F58 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 80088FFC 00085F5C 48 28 99 55 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80089000 00085F60 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80089004 00085F64 38 81 01 20 */ addi r4, r1, 0x120 +/* 80089008 00085F68 48 28 9B 39 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8008900C 00085F6C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80089010 00085F70 38 60 00 01 */ li r3, 1 +/* 80089014 00085F74 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80089018 00085F78 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8008901C 00085F7C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80089020 00085F80 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80089024 00085F84 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80089028 00085F88 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8008902C 00085F8C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80089030 00085F90 98 1E 00 E4 */ stb r0, 0xe4(r30) +lbl_80089034: +/* 80089034 00085F94 7F C3 F3 78 */ mr r3, r30 +/* 80089038 00085F98 7F E4 FB 78 */ mr r4, r31 +/* 8008903C 00085F9C 4B FC 9E 51 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_80089040: +/* 80089040 00085FA0 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 +/* 80089044 00085FA4 CB E1 02 B0 */ lfd f31, 0x2b0(r1) +/* 80089048 00085FA8 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 +/* 8008904C 00085FAC CB C1 02 A0 */ lfd f30, 0x2a0(r1) +/* 80089050 00085FB0 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 +/* 80089054 00085FB4 CB A1 02 90 */ lfd f29, 0x290(r1) +/* 80089058 00085FB8 E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 +/* 8008905C 00085FBC CB 81 02 80 */ lfd f28, 0x280(r1) +/* 80089060 00085FC0 83 E1 02 7C */ lwz r31, 0x27c(r1) +/* 80089064 00085FC4 83 C1 02 78 */ lwz r30, 0x278(r1) +/* 80089068 00085FC8 83 A1 02 74 */ lwz r29, 0x274(r1) +/* 8008906C 00085FCC 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 80089070 00085FD0 83 81 02 70 */ lwz r28, 0x270(r1) +/* 80089074 00085FD4 7C 08 03 A6 */ mtlr r0 +/* 80089078 00085FD8 38 21 02 C0 */ addi r1, r1, 0x2c0 + +.global sub_8008907c +sub_8008907c: +/* 8008907C 00085FDC 4E 80 00 20 */ blr + +.global UpdateCameraPositions__11CBallCameraFfRC12CTransform4fRC12CTransform4f +UpdateCameraPositions__11CBallCameraFfRC12CTransform4fRC12CTransform4f: +/* 80089080 00085FE0 94 21 FE 50 */ stwu r1, -0x1b0(r1) +/* 80089084 00085FE4 7C 08 02 A6 */ mflr r0 +/* 80089088 00085FE8 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 8008908C 00085FEC DB E1 01 A0 */ stfd f31, 0x1a0(r1) +/* 80089090 00085FF0 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 +/* 80089094 00085FF4 93 E1 01 9C */ stw r31, 0x19c(r1) +/* 80089098 00085FF8 93 C1 01 98 */ stw r30, 0x198(r1) +/* 8008909C 00085FFC 93 A1 01 94 */ stw r29, 0x194(r1) +/* 800890A0 00086000 93 81 01 90 */ stw r28, 0x190(r1) +/* 800890A4 00086004 FF E0 08 90 */ fmr f31, f1 +/* 800890A8 00086008 7C DE 33 78 */ mr r30, r6 +/* 800890AC 0008600C 7C 7C 1B 78 */ mr r28, r3 +/* 800890B0 00086010 7C BD 2B 78 */ mr r29, r5 +/* 800890B4 00086014 7F C4 F3 78 */ mr r4, r30 +/* 800890B8 00086018 38 61 01 58 */ addi r3, r1, 0x158 +/* 800890BC 0008601C 48 28 9A B9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800890C0 00086020 C0 7D 00 24 */ lfs f3, 0x24(r29) +/* 800890C4 00086024 C0 3D 00 14 */ lfs f1, 0x14(r29) +/* 800890C8 00086028 FC 80 1A 10 */ fabs f4, f3 +/* 800890CC 0008602C C0 1D 00 04 */ lfs f0, 4(r29) +/* 800890D0 00086030 C0 42 8A 20 */ lfs f2, lbl_805AA740@sda21(r2) +/* 800890D4 00086034 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 800890D8 00086038 FC 00 20 18 */ frsp f0, f4 +/* 800890DC 0008603C D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 800890E0 00086040 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 800890E4 00086044 D0 61 00 CC */ stfs f3, 0xcc(r1) +/* 800890E8 00086048 40 81 02 58 */ ble lbl_80089340 +/* 800890EC 0008604C C0 7E 00 24 */ lfs f3, 0x24(r30) +/* 800890F0 00086050 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 800890F4 00086054 FC 80 1A 10 */ fabs f4, f3 +/* 800890F8 00086058 C0 3E 00 04 */ lfs f1, 4(r30) +/* 800890FC 0008605C D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80089100 00086060 FC 00 20 18 */ frsp f0, f4 +/* 80089104 00086064 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80089108 00086068 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 8008910C 0008606C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80089110 00086070 40 81 02 30 */ ble lbl_80089340 +/* 80089114 00086074 C0 DD 00 10 */ lfs f6, 0x10(r29) +/* 80089118 00086078 C0 9E 00 10 */ lfs f4, 0x10(r30) +/* 8008911C 0008607C C0 5D 00 00 */ lfs f2, 0(r29) +/* 80089120 00086080 EC 06 01 32 */ fmuls f0, f6, f4 +/* 80089124 00086084 C0 7E 00 00 */ lfs f3, 0(r30) +/* 80089128 00086088 C0 FD 00 20 */ lfs f7, 0x20(r29) +/* 8008912C 0008608C C0 BE 00 20 */ lfs f5, 0x20(r30) +/* 80089130 00086090 EC 22 00 FA */ fmadds f1, f2, f3, f0 +/* 80089134 00086094 C0 02 8A 88 */ lfs f0, lbl_805AA7A8@sda21(r2) +/* 80089138 00086098 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 8008913C 0008609C EC 27 09 7A */ fmadds f1, f7, f5, f1 +/* 80089140 000860A0 D0 C1 00 B0 */ stfs f6, 0xb0(r1) +/* 80089144 000860A4 D0 E1 00 B4 */ stfs f7, 0xb4(r1) +/* 80089148 000860A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008914C 000860AC 41 81 01 F4 */ bgt lbl_80089340 +/* 80089150 000860B0 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 80089154 000860B4 38 61 00 78 */ addi r3, r1, 0x78 +/* 80089158 000860B8 C0 22 8A 70 */ lfs f1, lbl_805AA790@sda21(r2) +/* 8008915C 000860BC 38 81 00 6C */ addi r4, r1, 0x6c +/* 80089160 000860C0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80089164 000860C4 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 80089168 000860C8 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 8008916C 000860CC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80089170 000860D0 D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 80089174 000860D4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80089178 000860D8 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8008917C 000860DC D0 C1 00 88 */ stfs f6, 0x88(r1) +/* 80089180 000860E0 D0 E1 00 8C */ stfs f7, 0x8c(r1) +/* 80089184 000860E4 48 28 AC 4D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80089188 000860E8 7C 7F 1B 78 */ mr r31, r3 +/* 8008918C 000860EC 38 61 00 90 */ addi r3, r1, 0x90 +/* 80089190 000860F0 38 81 00 84 */ addi r4, r1, 0x84 +/* 80089194 000860F4 48 28 AC 3D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80089198 000860F8 7C 64 1B 78 */ mr r4, r3 +/* 8008919C 000860FC 7F E5 FB 78 */ mr r5, r31 +/* 800891A0 00086100 38 61 00 9C */ addi r3, r1, 0x9c +/* 800891A4 00086104 38 C1 00 08 */ addi r6, r1, 8 +/* 800891A8 00086108 48 28 7E 79 */ bl ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle +/* 800891AC 0008610C C0 81 00 9C */ lfs f4, 0x9c(r1) +/* 800891B0 00086110 38 61 01 28 */ addi r3, r1, 0x128 +/* 800891B4 00086114 C0 61 00 A0 */ lfs f3, 0xa0(r1) +/* 800891B8 00086118 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 800891BC 0008611C C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 800891C0 00086120 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 800891C4 00086124 C0 DD 00 20 */ lfs f6, 0x20(r29) +/* 800891C8 00086128 C0 BD 00 10 */ lfs f5, 0x10(r29) +/* 800891CC 0008612C C0 1D 00 00 */ lfs f0, 0(r29) +/* 800891D0 00086130 D0 81 00 E8 */ stfs f4, 0xe8(r1) +/* 800891D4 00086134 D0 61 00 EC */ stfs f3, 0xec(r1) +/* 800891D8 00086138 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 800891DC 0008613C D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 800891E0 00086140 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800891E4 00086144 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 800891E8 00086148 D0 C1 00 5C */ stfs f6, 0x5c(r1) +/* 800891EC 0008614C 48 28 8D CD */ bl BuildTransform4f__11CQuaternionCFv +/* 800891F0 00086150 38 61 00 60 */ addi r3, r1, 0x60 +/* 800891F4 00086154 38 81 01 28 */ addi r4, r1, 0x128 +/* 800891F8 00086158 38 A1 00 54 */ addi r5, r1, 0x54 +/* 800891FC 0008615C 48 28 98 ED */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80089200 00086160 C0 E1 00 64 */ lfs f7, 0x64(r1) +/* 80089204 00086164 C0 7E 00 14 */ lfs f3, 0x14(r30) +/* 80089208 00086168 C1 01 00 60 */ lfs f8, 0x60(r1) +/* 8008920C 0008616C EC 07 00 F2 */ fmuls f0, f7, f3 +/* 80089210 00086170 C0 9E 00 04 */ lfs f4, 4(r30) +/* 80089214 00086174 C0 C1 00 68 */ lfs f6, 0x68(r1) +/* 80089218 00086178 C0 BE 00 24 */ lfs f5, 0x24(r30) +/* 8008921C 0008617C EC 28 01 3A */ fmadds f1, f8, f4, f0 +/* 80089220 00086180 C0 02 8A 88 */ lfs f0, lbl_805AA7A8@sda21(r2) +/* 80089224 00086184 D1 01 00 DC */ stfs f8, 0xdc(r1) +/* 80089228 00086188 EC 26 09 7A */ fmadds f1, f6, f5, f1 +/* 8008922C 0008618C D0 E1 00 E0 */ stfs f7, 0xe0(r1) +/* 80089230 00086190 D0 C1 00 E4 */ stfs f6, 0xe4(r1) +/* 80089234 00086194 FC 20 0A 10 */ fabs f1, f1 +/* 80089238 00086198 FC 20 08 18 */ frsp f1, f1 +/* 8008923C 0008619C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80089240 000861A0 41 81 01 00 */ bgt lbl_80089340 +/* 80089244 000861A4 EC 47 01 72 */ fmuls f2, f7, f5 +/* 80089248 000861A8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8008924C 000861AC EC 26 01 32 */ fmuls f1, f6, f4 +/* 80089250 000861B0 38 81 00 3C */ addi r4, r1, 0x3c +/* 80089254 000861B4 EC 08 00 F2 */ fmuls f0, f8, f3 +/* 80089258 000861B8 EC 43 11 B8 */ fmsubs f2, f3, f6, f2 +/* 8008925C 000861BC EC 25 0A 38 */ fmsubs f1, f5, f8, f1 +/* 80089260 000861C0 EC 04 01 F8 */ fmsubs f0, f4, f7, f0 +/* 80089264 000861C4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80089268 000861C8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8008926C 000861CC D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80089270 000861D0 48 28 B5 E1 */ bl AsNormalized__9CVector3fCFv +/* 80089274 000861D4 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 80089278 000861D8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8008927C 000861DC C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 80089280 000861E0 38 81 00 24 */ addi r4, r1, 0x24 +/* 80089284 000861E4 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 80089288 000861E8 C0 BE 00 24 */ lfs f5, 0x24(r30) +/* 8008928C 000861EC C0 9E 00 14 */ lfs f4, 0x14(r30) +/* 80089290 000861F0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80089294 000861F4 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 80089298 000861F8 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 8008929C 000861FC D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 800892A0 00086200 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800892A4 00086204 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 800892A8 00086208 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 800892AC 0008620C 48 28 B5 A5 */ bl AsNormalized__9CVector3fCFv +/* 800892B0 00086210 C0 41 00 D4 */ lfs f2, 0xd4(r1) +/* 800892B4 00086214 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800892B8 00086218 C1 21 00 30 */ lfs f9, 0x30(r1) +/* 800892BC 0008621C 38 81 00 DC */ addi r4, r1, 0xdc +/* 800892C0 00086220 C0 81 00 D8 */ lfs f4, 0xd8(r1) +/* 800892C4 00086224 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800892C8 00086228 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 800892CC 0008622C EC 09 00 B2 */ fmuls f0, f9, f2 +/* 800892D0 00086230 C0 C1 00 D0 */ lfs f6, 0xd0(r1) +/* 800892D4 00086234 38 C1 00 D0 */ addi r6, r1, 0xd0 +/* 800892D8 00086238 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 800892DC 0008623C EC 23 01 32 */ fmuls f1, f3, f4 +/* 800892E0 00086240 ED 06 00 F8 */ fmsubs f8, f6, f3, f0 +/* 800892E4 00086244 EC 05 01 B2 */ fmuls f0, f5, f6 +/* 800892E8 00086248 C0 FE 00 2C */ lfs f7, 0x2c(r30) +/* 800892EC 0008624C EC 62 09 78 */ fmsubs f3, f2, f5, f1 +/* 800892F0 00086250 C0 DE 00 1C */ lfs f6, 0x1c(r30) +/* 800892F4 00086254 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 800892F8 00086258 EC 44 02 78 */ fmsubs f2, f4, f9, f0 +/* 800892FC 0008625C C0 BE 00 24 */ lfs f5, 0x24(r30) +/* 80089300 00086260 38 E1 00 0C */ addi r7, r1, 0xc +/* 80089304 00086264 C0 9E 00 14 */ lfs f4, 0x14(r30) +/* 80089308 00086268 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8008930C 0008626C D0 61 00 DC */ stfs f3, 0xdc(r1) +/* 80089310 00086270 D0 41 00 E0 */ stfs f2, 0xe0(r1) +/* 80089314 00086274 D1 01 00 E4 */ stfs f8, 0xe4(r1) +/* 80089318 00086278 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8008931C 0008627C D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80089320 00086280 D0 E1 00 14 */ stfs f7, 0x14(r1) +/* 80089324 00086284 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80089328 00086288 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8008932C 0008628C D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 80089330 00086290 48 28 9B 2D */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 80089334 00086294 38 61 01 58 */ addi r3, r1, 0x158 +/* 80089338 00086298 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8008933C 0008629C 48 28 98 05 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80089340: +/* 80089340 000862A0 7F 83 E3 78 */ mr r3, r28 +/* 80089344 000862A4 38 81 01 58 */ addi r4, r1, 0x158 +/* 80089348 000862A8 48 28 98 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008934C 000862AC E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 +/* 80089350 000862B0 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 80089354 000862B4 CB E1 01 A0 */ lfd f31, 0x1a0(r1) +/* 80089358 000862B8 83 E1 01 9C */ lwz r31, 0x19c(r1) +/* 8008935C 000862BC 83 C1 01 98 */ lwz r30, 0x198(r1) +/* 80089360 000862C0 83 A1 01 94 */ lwz r29, 0x194(r1) +/* 80089364 000862C4 83 81 01 90 */ lwz r28, 0x190(r1) +/* 80089368 000862C8 7C 08 03 A6 */ mtlr r0 +/* 8008936C 000862CC 38 21 01 B0 */ addi r1, r1, 0x1b0 +/* 80089370 000862D0 4E 80 00 20 */ blr + +.global ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager +ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager: +/* 80089374 000862D4 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80089378 000862D8 7C 08 02 A6 */ mflr r0 +/* 8008937C 000862DC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80089380 000862E0 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80089384 000862E4 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80089388 000862E8 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 8008938C 000862EC F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 80089390 000862F0 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 80089394 000862F4 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 80089398 000862F8 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 8008939C 000862FC F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 800893A0 00086300 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 800893A4 00086304 93 C1 00 88 */ stw r30, 0x88(r1) +/* 800893A8 00086308 93 A1 00 84 */ stw r29, 0x84(r1) +/* 800893AC 0008630C C0 84 00 60 */ lfs f4, 0x60(r4) +/* 800893B0 00086310 FF A0 08 90 */ fmr f29, f1 +/* 800893B4 00086314 C0 05 00 60 */ lfs f0, 0x60(r5) +/* 800893B8 00086318 FF C0 10 90 */ fmr f30, f2 +/* 800893BC 0008631C FF E0 18 90 */ fmr f31, f3 +/* 800893C0 00086320 C0 A4 00 50 */ lfs f5, 0x50(r4) +/* 800893C4 00086324 EC 64 00 28 */ fsubs f3, f4, f0 +/* 800893C8 00086328 C0 45 00 50 */ lfs f2, 0x50(r5) +/* 800893CC 0008632C 7C BF 2B 78 */ mr r31, r5 +/* 800893D0 00086330 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 800893D4 00086334 EC 85 10 28 */ fsubs f4, f5, f2 +/* 800893D8 00086338 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 800893DC 0008633C 80 05 02 F8 */ lwz r0, 0x2f8(r5) +/* 800893E0 00086340 7C 9E 23 78 */ mr r30, r4 +/* 800893E4 00086344 EC 41 00 28 */ fsubs f2, f1, f0 +/* 800893E8 00086348 C0 C5 00 58 */ lfs f6, 0x58(r5) +/* 800893EC 0008634C C0 A5 00 48 */ lfs f5, 0x48(r5) +/* 800893F0 00086350 2C 00 00 01 */ cmpwi r0, 1 +/* 800893F4 00086354 C0 05 00 38 */ lfs f0, 0x38(r5) +/* 800893F8 00086358 7C 7D 1B 78 */ mr r29, r3 +/* 800893FC 0008635C D0 61 00 74 */ stfs f3, 0x74(r1) +/* 80089400 00086360 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80089404 00086364 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80089408 00086368 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 8008940C 0008636C D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80089410 00086370 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80089414 00086374 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 80089418 00086378 D0 C1 00 68 */ stfs f6, 0x68(r1) +/* 8008941C 0008637C 40 82 00 84 */ bne lbl_800894A0 +/* 80089420 00086380 C0 5F 05 0C */ lfs f2, 0x50c(r31) +/* 80089424 00086384 7C C3 33 78 */ mr r3, r6 +/* 80089428 00086388 C0 3F 05 10 */ lfs f1, 0x510(r31) +/* 8008942C 0008638C 38 81 00 08 */ addi r4, r1, 8 +/* 80089430 00086390 C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 80089434 00086394 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80089438 00086398 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 8008943C 0008639C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80089440 000863A0 A0 1E 03 DC */ lhz r0, 0x3dc(r30) +/* 80089444 000863A4 B0 01 00 08 */ sth r0, 8(r1) +/* 80089448 000863A8 4B FC 31 5D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8008944C 000863AC 7C 64 1B 78 */ mr r4, r3 +/* 80089450 000863B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80089454 000863B4 48 02 0C 9D */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 80089458 000863B8 80 63 00 04 */ lwz r3, 4(r3) +/* 8008945C 000863BC 28 03 00 00 */ cmplwi r3, 0 +/* 80089460 000863C0 41 82 00 14 */ beq lbl_80089474 +/* 80089464 000863C4 41 82 00 3C */ beq lbl_800894A0 +/* 80089468 000863C8 88 03 02 A8 */ lbz r0, 0x2a8(r3) +/* 8008946C 000863CC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80089470 000863D0 40 82 00 30 */ bne lbl_800894A0 +lbl_80089474: +/* 80089474 000863D4 80 1E 04 00 */ lwz r0, 0x400(r30) +/* 80089478 000863D8 2C 00 00 03 */ cmpwi r0, 3 +/* 8008947C 000863DC 41 82 00 0C */ beq lbl_80089488 +/* 80089480 000863E0 2C 00 00 02 */ cmpwi r0, 2 +/* 80089484 000863E4 40 82 00 1C */ bne lbl_800894A0 +lbl_80089488: +/* 80089488 000863E8 C0 5F 05 18 */ lfs f2, 0x518(r31) +/* 8008948C 000863EC C0 3F 05 1C */ lfs f1, 0x51c(r31) +/* 80089490 000863F0 C0 1F 05 20 */ lfs f0, 0x520(r31) +/* 80089494 000863F4 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80089498 000863F8 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 8008949C 000863FC D0 01 00 68 */ stfs f0, 0x68(r1) +lbl_800894A0: +/* 800894A0 00086400 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 800894A4 00086404 2C 00 00 03 */ cmpwi r0, 3 +/* 800894A8 00086408 40 82 00 1C */ bne lbl_800894C4 +/* 800894AC 0008640C C0 5F 05 18 */ lfs f2, 0x518(r31) +/* 800894B0 00086410 C0 3F 05 1C */ lfs f1, 0x51c(r31) +/* 800894B4 00086414 C0 1F 05 20 */ lfs f0, 0x520(r31) +/* 800894B8 00086418 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 800894BC 0008641C D0 21 00 64 */ stfs f1, 0x64(r1) +/* 800894C0 00086420 D0 01 00 68 */ stfs f0, 0x68(r1) +lbl_800894C4: +/* 800894C4 00086424 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 800894C8 00086428 38 61 00 60 */ addi r3, r1, 0x60 +/* 800894CC 0008642C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800894D0 00086430 48 28 B2 29 */ bl CanBeNormalized__9CVector3fCFv +/* 800894D4 00086434 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800894D8 00086438 41 82 00 10 */ beq lbl_800894E8 +/* 800894DC 0008643C 38 61 00 60 */ addi r3, r1, 0x60 +/* 800894E0 00086440 48 28 B4 19 */ bl Normalize__9CVector3fFv +/* 800894E4 00086444 48 00 00 28 */ b lbl_8008950C +lbl_800894E8: +/* 800894E8 00086448 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 800894EC 0008644C C0 21 00 70 */ lfs f1, 0x70(r1) +/* 800894F0 00086450 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 800894F4 00086454 FC 40 10 50 */ fneg f2, f2 +/* 800894F8 00086458 FC 20 08 50 */ fneg f1, f1 +/* 800894FC 0008645C FC 00 00 50 */ fneg f0, f0 +/* 80089500 00086460 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80089504 00086464 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80089508 00086468 D0 21 00 64 */ stfs f1, 0x64(r1) +lbl_8008950C: +/* 8008950C 0008646C 38 61 00 6C */ addi r3, r1, 0x6c +/* 80089510 00086470 48 28 B1 E9 */ bl CanBeNormalized__9CVector3fCFv +/* 80089514 00086474 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80089518 00086478 41 82 00 10 */ beq lbl_80089528 +/* 8008951C 0008647C 38 61 00 6C */ addi r3, r1, 0x6c +/* 80089520 00086480 48 28 B3 D9 */ bl Normalize__9CVector3fFv +/* 80089524 00086484 48 00 00 2C */ b lbl_80089550 +lbl_80089528: +/* 80089528 00086488 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8008952C 0008648C C0 21 00 64 */ lfs f1, 0x64(r1) +/* 80089530 00086490 FC 00 00 50 */ fneg f0, f0 +/* 80089534 00086494 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 80089538 00086498 FC 20 08 50 */ fneg f1, f1 +/* 8008953C 0008649C FC 40 10 50 */ fneg f2, f2 +/* 80089540 000864A0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80089544 000864A4 D0 3D 00 04 */ stfs f1, 4(r29) +/* 80089548 000864A8 D0 5D 00 08 */ stfs f2, 8(r29) +/* 8008954C 000864AC 48 00 01 44 */ b lbl_80089690 +lbl_80089550: +/* 80089550 000864B0 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80089554 000864B4 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 80089558 000864B8 FC 00 00 50 */ fneg f0, f0 +/* 8008955C 000864BC C0 21 00 70 */ lfs f1, 0x70(r1) +/* 80089560 000864C0 C0 81 00 68 */ lfs f4, 0x68(r1) +/* 80089564 000864C4 FC 40 10 50 */ fneg f2, f2 +/* 80089568 000864C8 C0 61 00 6C */ lfs f3, 0x6c(r1) +/* 8008956C 000864CC EC 21 00 32 */ fmuls f1, f1, f0 +/* 80089570 000864D0 FC 80 20 50 */ fneg f4, f4 +/* 80089574 000864D4 C0 A1 00 74 */ lfs f5, 0x74(r1) +/* 80089578 000864D8 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 8008957C 000864DC EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 80089580 000864E0 EF 85 09 3A */ fmadds f28, f5, f4, f1 +/* 80089584 000864E4 FC 20 E2 10 */ fabs f1, f28 +/* 80089588 000864E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008958C 000864EC 40 81 00 14 */ ble lbl_800895A0 +/* 80089590 000864F0 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80089594 000864F4 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 80089598 000864F8 FC 1C 00 6E */ fsel f0, f28, f1, f0 +/* 8008959C 000864FC EF 81 00 32 */ fmuls f28, f1, f0 +lbl_800895A0: +/* 800895A0 00086500 FC 20 E0 90 */ fmr f1, f28 +/* 800895A4 00086504 48 30 B6 89 */ bl acos +/* 800895A8 00086508 C0 02 8A 1C */ lfs f0, lbl_805AA73C@sda21(r2) +/* 800895AC 0008650C FC 20 08 18 */ frsp f1, f1 +/* 800895B0 00086510 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 800895B4 00086514 4C 41 13 82 */ cror 2, 1, 2 +/* 800895B8 00086518 40 82 00 2C */ bne lbl_800895E4 +/* 800895BC 0008651C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800895C0 00086520 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 800895C4 00086524 FC 00 00 50 */ fneg f0, f0 +/* 800895C8 00086528 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 800895CC 0008652C FC 20 08 50 */ fneg f1, f1 +/* 800895D0 00086530 FC 40 10 50 */ fneg f2, f2 +/* 800895D4 00086534 D0 1D 00 00 */ stfs f0, 0(r29) +/* 800895D8 00086538 D0 3D 00 04 */ stfs f1, 4(r29) +/* 800895DC 0008653C D0 5D 00 08 */ stfs f2, 8(r29) +/* 800895E0 00086540 48 00 00 B0 */ b lbl_80089690 +lbl_800895E4: +/* 800895E4 00086544 EC 01 F0 24 */ fdivs f0, f1, f30 +/* 800895E8 00086548 38 81 00 10 */ addi r4, r1, 0x10 +/* 800895EC 0008654C 38 6D 84 B4 */ addi r3, r13, lbl_805A7074@sda21 +/* 800895F0 00086550 38 AD 84 B8 */ addi r5, r13, lbl_805A7078@sda21 +/* 800895F4 00086554 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800895F8 00086558 4B F8 2C BD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800895FC 0008655C EC 7D 07 F2 */ fmuls f3, f29, f31 +/* 80089600 00086560 C0 83 00 00 */ lfs f4, 0(r3) +/* 80089604 00086564 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 80089608 00086568 38 61 00 28 */ addi r3, r1, 0x28 +/* 8008960C 0008656C C0 21 00 64 */ lfs f1, 0x64(r1) +/* 80089610 00086570 38 81 00 1C */ addi r4, r1, 0x1c +/* 80089614 00086574 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80089618 00086578 EC 63 01 32 */ fmuls f3, f3, f4 +/* 8008961C 0008657C FC 40 10 50 */ fneg f2, f2 +/* 80089620 00086580 FC 20 08 50 */ fneg f1, f1 +/* 80089624 00086584 FC 00 00 50 */ fneg f0, f0 +/* 80089628 00086588 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8008962C 0008658C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80089630 00086590 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80089634 00086594 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80089638 00086598 48 28 A7 99 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8008963C 0008659C 7C 7F 1B 78 */ mr r31, r3 +/* 80089640 000865A0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80089644 000865A4 38 81 00 6C */ addi r4, r1, 0x6c +/* 80089648 000865A8 48 28 A7 89 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8008964C 000865AC 7C 64 1B 78 */ mr r4, r3 +/* 80089650 000865B0 7F E5 FB 78 */ mr r5, r31 +/* 80089654 000865B4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80089658 000865B8 38 C1 00 0C */ addi r6, r1, 0xc +/* 8008965C 000865BC 48 28 80 39 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 80089660 000865C0 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 80089664 000865C4 7F A3 EB 78 */ mr r3, r29 +/* 80089668 000865C8 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8008966C 000865CC 38 81 00 50 */ addi r4, r1, 0x50 +/* 80089670 000865D0 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80089674 000865D4 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80089678 000865D8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8008967C 000865DC D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80089680 000865E0 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 80089684 000865E4 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80089688 000865E8 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8008968C 000865EC 48 28 7B D9 */ bl Transform__11CQuaternionCFRC9CVector3f +lbl_80089690: +/* 80089690 000865F0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80089694 000865F4 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80089698 000865F8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8008969C 000865FC CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 800896A0 00086600 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 800896A4 00086604 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 800896A8 00086608 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 800896AC 0008660C CB 81 00 90 */ lfd f28, 0x90(r1) +/* 800896B0 00086610 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 800896B4 00086614 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 800896B8 00086618 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800896BC 0008661C 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 800896C0 00086620 7C 08 03 A6 */ mtlr r0 +/* 800896C4 00086624 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 800896C8 00086628 4E 80 00 20 */ blr + +.global ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager: +/* 800896CC 0008662C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800896D0 00086630 7C 08 02 A6 */ mflr r0 +/* 800896D4 00086634 90 01 00 94 */ stw r0, 0x94(r1) +/* 800896D8 00086638 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 800896DC 0008663C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 800896E0 00086640 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 800896E4 00086644 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 800896E8 00086648 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 800896EC 0008664C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 800896F0 00086650 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 800896F4 00086654 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 800896F8 00086658 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 800896FC 0008665C 7C DE 33 78 */ mr r30, r6 +/* 80089700 00086660 7C 7B 1B 78 */ mr r27, r3 +/* 80089704 00086664 FF A0 08 90 */ fmr f29, f1 +/* 80089708 00086668 83 E6 08 4C */ lwz r31, 0x84c(r6) +/* 8008970C 0008666C 7C 9C 23 78 */ mr r28, r4 +/* 80089710 00086670 7C BD 2B 78 */ mr r29, r5 +/* 80089714 00086674 7F E4 FB 78 */ mr r4, r31 +/* 80089718 00086678 38 61 00 1C */ addi r3, r1, 0x1c +/* 8008971C 0008667C 48 1F B6 2D */ bl GetBallPosition__7CPlayerCFv +/* 80089720 00086680 C0 3B 00 50 */ lfs f1, 0x50(r27) +/* 80089724 00086684 38 61 00 28 */ addi r3, r1, 0x28 +/* 80089728 00086688 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8008972C 0008668C C0 7B 00 60 */ lfs f3, 0x60(r27) +/* 80089730 00086690 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 80089734 00086694 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80089738 00086698 C0 3B 00 40 */ lfs f1, 0x40(r27) +/* 8008973C 0008669C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80089740 000866A0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80089744 000866A4 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 80089748 000866A8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8008974C 000866AC C3 E2 89 B0 */ lfs f31, lbl_805AA6D0@sda21(r2) +/* 80089750 000866B0 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80089754 000866B4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80089758 000866B8 48 28 AF A1 */ bl CanBeNormalized__9CVector3fCFv +/* 8008975C 000866BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80089760 000866C0 41 82 00 24 */ beq lbl_80089784 +/* 80089764 000866C4 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80089768 000866C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8008976C 000866CC C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80089770 000866D0 48 28 AA 91 */ bl __ct__9CVector2fFff +/* 80089774 000866D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80089778 000866D8 48 28 A9 7D */ bl Magnitude__9CVector2fCFv +/* 8008977C 000866DC FF E0 08 90 */ fmr f31, f1 +/* 80089780 000866E0 48 00 00 28 */ b lbl_800897A8 +lbl_80089784: +/* 80089784 000866E4 C0 5F 05 14 */ lfs f2, 0x514(r31) +/* 80089788 000866E8 C0 3F 05 10 */ lfs f1, 0x510(r31) +/* 8008978C 000866EC C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 80089790 000866F0 FC 40 10 50 */ fneg f2, f2 +/* 80089794 000866F4 FC 20 08 50 */ fneg f1, f1 +/* 80089798 000866F8 FC 00 00 50 */ fneg f0, f0 +/* 8008979C 000866FC D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800897A0 00086700 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800897A4 00086704 D0 21 00 2C */ stfs f1, 0x2c(r1) +lbl_800897A8: +/* 800897A8 00086708 A0 1B 03 DC */ lhz r0, 0x3dc(r27) +/* 800897AC 0008670C 7F C3 F3 78 */ mr r3, r30 +/* 800897B0 00086710 38 81 00 08 */ addi r4, r1, 8 +/* 800897B4 00086714 B0 01 00 08 */ sth r0, 8(r1) +/* 800897B8 00086718 4B FC 2D ED */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800897BC 0008671C 7C 64 1B 78 */ mr r4, r3 +/* 800897C0 00086720 38 61 00 0C */ addi r3, r1, 0xc +/* 800897C4 00086724 48 02 09 2D */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 800897C8 00086728 80 63 00 04 */ lwz r3, 4(r3) +/* 800897CC 0008672C 3B E0 00 00 */ li r31, 0 +/* 800897D0 00086730 C0 5D 00 00 */ lfs f2, 0(r29) +/* 800897D4 00086734 C3 C2 89 B8 */ lfs f30, lbl_805AA6D8@sda21(r2) +/* 800897D8 00086738 28 03 00 00 */ cmplwi r3, 0 +/* 800897DC 0008673C FC 20 10 90 */ fmr f1, f2 +/* 800897E0 00086740 C3 9C 00 00 */ lfs f28, 0(r28) +/* 800897E4 00086744 FC 00 F0 90 */ fmr f0, f30 +/* 800897E8 00086748 41 82 00 B8 */ beq lbl_800898A0 +/* 800897EC 0008674C 88 03 02 A8 */ lbz r0, 0x2a8(r3) +/* 800897F0 00086750 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800897F4 00086754 40 82 00 AC */ bne lbl_800898A0 +/* 800897F8 00086758 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) +/* 800897FC 0008675C C0 3B 03 E0 */ lfs f1, 0x3e0(r27) +/* 80089800 00086760 EC 60 00 B2 */ fmuls f3, f0, f2 +/* 80089804 00086764 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) +/* 80089808 00086768 EC 21 18 24 */ fdivs f1, f1, f3 +/* 8008980C 0008676C FC 20 0A 10 */ fabs f1, f1 +/* 80089810 00086770 FC 40 08 18 */ frsp f2, f1 +/* 80089814 00086774 FC 20 12 10 */ fabs f1, f2 +/* 80089818 00086778 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008981C 0008677C 40 81 00 10 */ ble lbl_8008982C +/* 80089820 00086780 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 80089824 00086784 FC 02 07 AE */ fsel f0, f2, f30, f0 +/* 80089828 00086788 EC 5E 00 32 */ fmuls f2, f30, f0 +lbl_8008982C: +/* 8008982C 0008678C C0 1B 03 E0 */ lfs f0, 0x3e0(r27) +/* 80089830 00086790 FF C0 10 90 */ fmr f30, f2 +/* 80089834 00086794 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80089838 00086798 40 80 00 08 */ bge lbl_80089840 +/* 8008983C 0008679C 3B E0 00 01 */ li r31, 1 +lbl_80089840: +/* 80089840 000867A0 88 03 02 A8 */ lbz r0, 0x2a8(r3) +/* 80089844 000867A4 54 03 DF FF */ rlwinm. r3, r0, 0x1b, 0x1f, 0x1f +/* 80089848 000867A8 41 82 00 18 */ beq lbl_80089860 +/* 8008984C 000867AC C0 3B 04 68 */ lfs f1, 0x468(r27) +/* 80089850 000867B0 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80089854 000867B4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80089858 000867B8 EC 22 08 3A */ fmadds f1, f2, f0, f1 +/* 8008985C 000867BC 48 00 00 14 */ b lbl_80089870 +lbl_80089860: +/* 80089860 000867C0 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80089864 000867C4 C0 22 8A 44 */ lfs f1, lbl_805AA764@sda21(r2) +/* 80089868 000867C8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8008986C 000867CC EC 22 08 3A */ fmadds f1, f2, f0, f1 +lbl_80089870: +/* 80089870 000867D0 88 1B 01 8D */ lbz r0, 0x18d(r27) +/* 80089874 000867D4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80089878 000867D8 41 82 00 14 */ beq lbl_8008988C +/* 8008987C 000867DC C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 80089880 000867E0 C0 1B 03 08 */ lfs f0, 0x308(r27) +/* 80089884 000867E4 EC 02 00 2A */ fadds f0, f2, f0 +/* 80089888 000867E8 EC 21 00 32 */ fmuls f1, f1, f0 +lbl_8008988C: +/* 8008988C 000867EC 28 03 00 00 */ cmplwi r3, 0 +/* 80089890 000867F0 C3 82 8A 48 */ lfs f28, lbl_805AA768@sda21(r2) +/* 80089894 000867F4 40 82 00 08 */ bne lbl_8008989C +/* 80089898 000867F8 C3 82 8A 5C */ lfs f28, lbl_805AA77C@sda21(r2) +lbl_8008989C: +/* 8008989C 000867FC C0 02 8A 6C */ lfs f0, lbl_805AA78C@sda21(r2) +lbl_800898A0: +/* 800898A0 00086800 FC 40 F8 90 */ fmr f2, f31 +/* 800898A4 00086804 38 7B 02 14 */ addi r3, r27, 0x214 +/* 800898A8 00086808 EC 7D 00 32 */ fmuls f3, f29, f0 +/* 800898AC 0008680C 4B FD 3F 8D */ bl ApplyDistanceSpring__13CCameraSpringFfff +/* 800898B0 00086810 D0 3D 00 00 */ stfs f1, 0(r29) +/* 800898B4 00086814 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 800898B8 00086818 C0 1C 00 00 */ lfs f0, 0(r28) +/* 800898BC 0008681C EC 00 E0 28 */ fsubs f0, f0, f28 +/* 800898C0 00086820 EC 00 E7 BA */ fmadds f0, f0, f30, f28 +/* 800898C4 00086824 D0 1C 00 00 */ stfs f0, 0(r28) +/* 800898C8 00086828 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 800898CC 0008682C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 800898D0 00086830 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 800898D4 00086834 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 800898D8 00086838 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 800898DC 0008683C CB A1 00 60 */ lfd f29, 0x60(r1) +/* 800898E0 00086840 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 800898E4 00086844 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 800898E8 00086848 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 800898EC 0008684C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800898F0 00086850 7C 08 03 A6 */ mtlr r0 +/* 800898F4 00086854 38 21 00 90 */ addi r1, r1, 0x90 +/* 800898F8 00086858 4E 80 00 20 */ blr + +.global UpdateObjectTooCloseId__11CBallCameraFR13CStateManager +UpdateObjectTooCloseId__11CBallCameraFR13CStateManager: +/* 800898FC 0008685C 94 21 DF 10 */ stwu r1, -0x20f0(r1) +/* 80089900 00086860 7C 08 02 A6 */ mflr r0 +/* 80089904 00086864 90 01 20 F4 */ stw r0, 0x20f4(r1) +/* 80089908 00086868 38 00 20 E8 */ li r0, 0x20e8 +/* 8008990C 0008686C DB E1 20 E0 */ stfd f31, 0x20e0(r1) +/* 80089910 00086870 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 80089914 00086874 38 00 20 D8 */ li r0, 0x20d8 +/* 80089918 00086878 DB C1 20 D0 */ stfd f30, 0x20d0(r1) +/* 8008991C 0008687C 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 80089920 00086880 38 00 20 C8 */ li r0, 0x20c8 +/* 80089924 00086884 DB A1 20 C0 */ stfd f29, 0x20c0(r1) +/* 80089928 00086888 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 8008992C 0008688C 38 00 20 B8 */ li r0, 0x20b8 +/* 80089930 00086890 DB 81 20 B0 */ stfd f28, 0x20b0(r1) +/* 80089934 00086894 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 +/* 80089938 00086898 38 00 20 A8 */ li r0, 0x20a8 +/* 8008993C 0008689C DB 61 20 A0 */ stfd f27, 0x20a0(r1) +/* 80089940 000868A0 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 +/* 80089944 000868A4 38 00 20 98 */ li r0, 0x2098 +/* 80089948 000868A8 DB 41 20 90 */ stfd f26, 0x2090(r1) +/* 8008994C 000868AC 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 +/* 80089950 000868B0 93 E1 20 8C */ stw r31, 0x208c(r1) +/* 80089954 000868B4 93 C1 20 88 */ stw r30, 0x2088(r1) +/* 80089958 000868B8 93 A1 20 84 */ stw r29, 0x2084(r1) +/* 8008995C 000868BC 93 81 20 80 */ stw r28, 0x2080(r1) +/* 80089960 000868C0 C0 02 8A 90 */ lfs f0, lbl_805AA7B0@sda21(r2) +/* 80089964 000868C4 7C 7E 1B 78 */ mr r30, r3 +/* 80089968 000868C8 7C 9F 23 78 */ mr r31, r4 +/* 8008996C 000868CC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80089970 000868D0 D0 1E 03 E0 */ stfs f0, 0x3e0(r30) +/* 80089974 000868D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80089978 000868D8 B0 1E 03 DC */ sth r0, 0x3dc(r30) +/* 8008997C 000868DC 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80089980 000868E0 48 1F B3 C9 */ bl GetBallPosition__7CPlayerCFv +/* 80089984 000868E4 80 BF 08 48 */ lwz r5, 0x848(r31) +/* 80089988 000868E8 3C 60 80 3E */ lis r3, lbl_803D96D8@ha +/* 8008998C 000868EC C3 9E 00 40 */ lfs f28, 0x40(r30) +/* 80089990 000868F0 38 03 96 D8 */ addi r0, r3, lbl_803D96D8@l +/* 80089994 000868F4 C3 7E 00 50 */ lfs f27, 0x50(r30) +/* 80089998 000868F8 38 81 00 70 */ addi r4, r1, 0x70 +/* 8008999C 000868FC C3 5E 00 60 */ lfs f26, 0x60(r30) +/* 800899A0 00086900 38 65 00 04 */ addi r3, r5, 4 +/* 800899A4 00086904 C3 E1 00 48 */ lfs f31, 0x48(r1) +/* 800899A8 00086908 38 C1 20 70 */ addi r6, r1, 0x2070 +/* 800899AC 0008690C 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800899B0 00086910 C3 C1 00 4C */ lfs f30, 0x4c(r1) +/* 800899B4 00086914 C3 A1 00 50 */ lfs f29, 0x50(r1) +lbl_800899B8: +/* 800899B8 00086918 80 03 00 00 */ lwz r0, 0(r3) +/* 800899BC 0008691C 90 04 00 00 */ stw r0, 0(r4) +/* 800899C0 00086920 A8 03 00 04 */ lha r0, 4(r3) +/* 800899C4 00086924 B0 04 00 04 */ sth r0, 4(r4) +/* 800899C8 00086928 A8 03 00 06 */ lha r0, 6(r3) +/* 800899CC 0008692C 38 63 00 08 */ addi r3, r3, 8 +/* 800899D0 00086930 B0 04 00 06 */ sth r0, 6(r4) +/* 800899D4 00086934 38 84 00 08 */ addi r4, r4, 8 +/* 800899D8 00086938 7C 04 30 40 */ cmplw r4, r6 +/* 800899DC 0008693C 41 80 FF DC */ blt lbl_800899B8 +/* 800899E0 00086940 80 05 20 04 */ lwz r0, 0x2004(r5) +/* 800899E4 00086944 90 01 20 70 */ stw r0, 0x2070(r1) +/* 800899E8 00086948 A8 05 20 08 */ lha r0, 0x2008(r5) +/* 800899EC 0008694C B0 01 20 74 */ sth r0, 0x2074(r1) +/* 800899F0 00086950 7C 1D 03 78 */ mr r29, r0 +/* 800899F4 00086954 A8 05 20 0A */ lha r0, 0x200a(r5) +/* 800899F8 00086958 B0 01 20 76 */ sth r0, 0x2076(r1) +/* 800899FC 0008695C 48 00 01 14 */ b lbl_80089B10 +lbl_80089A00: +/* 80089A00 00086960 7F A4 EB 78 */ mr r4, r29 +/* 80089A04 00086964 38 61 00 6C */ addi r3, r1, 0x6c +/* 80089A08 00086968 4B F8 63 0D */ bl __vc__11CObjectListFi +/* 80089A0C 0008696C 7C 64 1B 78 */ mr r4, r3 +/* 80089A10 00086970 38 61 00 10 */ addi r3, r1, 0x10 +/* 80089A14 00086974 48 02 06 DD */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 80089A18 00086978 83 83 00 04 */ lwz r28, 4(r3) +/* 80089A1C 0008697C 28 1C 00 00 */ cmplwi r28, 0 +/* 80089A20 00086980 41 82 00 D0 */ beq lbl_80089AF0 +/* 80089A24 00086984 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80089A28 00086988 80 9C 00 04 */ lwz r4, 4(r28) +/* 80089A2C 0008698C 80 03 00 04 */ lwz r0, 4(r3) +/* 80089A30 00086990 7C 04 00 00 */ cmpw r4, r0 +/* 80089A34 00086994 40 82 00 BC */ bne lbl_80089AF0 +/* 80089A38 00086998 7F 84 E3 78 */ mr r4, r28 +/* 80089A3C 0008699C 38 61 00 54 */ addi r3, r1, 0x54 +/* 80089A40 000869A0 48 09 0E ED */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80089A44 000869A4 C0 5C 00 50 */ lfs f2, 0x50(r28) +/* 80089A48 000869A8 38 61 00 3C */ addi r3, r1, 0x3c +/* 80089A4C 000869AC C0 3C 00 60 */ lfs f1, 0x60(r28) +/* 80089A50 000869B0 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80089A54 000869B4 EC 42 D8 28 */ fsubs f2, f2, f27 +/* 80089A58 000869B8 EC 21 D0 28 */ fsubs f1, f1, f26 +/* 80089A5C 000869BC EC 00 E0 28 */ fsubs f0, f0, f28 +/* 80089A60 000869C0 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80089A64 000869C4 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80089A68 000869C8 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80089A6C 000869CC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80089A70 000869D0 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80089A74 000869D4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80089A78 000869D8 48 28 AE 41 */ bl Magnitude__9CVector3fCFv +/* 80089A7C 000869DC C0 7C 00 50 */ lfs f3, 0x50(r28) +/* 80089A80 000869E0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80089A84 000869E4 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 80089A88 000869E8 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80089A8C 000869EC EC 63 F0 28 */ fsubs f3, f3, f30 +/* 80089A90 000869F0 EC 42 E8 28 */ fsubs f2, f2, f29 +/* 80089A94 000869F4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80089A98 000869F8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80089A9C 000869FC D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80089AA0 00086A00 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80089AA4 00086A04 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80089AA8 00086A08 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80089AAC 00086A0C D0 61 00 28 */ stfs f3, 0x28(r1) +/* 80089AB0 00086A10 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80089AB4 00086A14 48 28 AE 05 */ bl Magnitude__9CVector3fCFv +/* 80089AB8 00086A18 D0 21 00 08 */ stfs f1, 8(r1) +/* 80089ABC 00086A1C 38 61 00 0C */ addi r3, r1, 0xc +/* 80089AC0 00086A20 38 81 00 08 */ addi r4, r1, 8 +/* 80089AC4 00086A24 4B FF 43 1D */ bl "Min__5CMathFRCfRCf" +/* 80089AC8 00086A28 C0 23 00 00 */ lfs f1, 0(r3) +/* 80089ACC 00086A2C C0 02 8A 94 */ lfs f0, lbl_805AA7B4@sda21(r2) +/* 80089AD0 00086A30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80089AD4 00086A34 40 80 00 1C */ bge lbl_80089AF0 +/* 80089AD8 00086A38 C0 1E 03 E0 */ lfs f0, 0x3e0(r30) +/* 80089ADC 00086A3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80089AE0 00086A40 40 80 00 10 */ bge lbl_80089AF0 +/* 80089AE4 00086A44 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80089AE8 00086A48 B0 1E 03 DC */ sth r0, 0x3dc(r30) +/* 80089AEC 00086A4C D0 3E 03 E0 */ stfs f1, 0x3e0(r30) +lbl_80089AF0: +/* 80089AF0 00086A50 2C 1D FF FF */ cmpwi r29, -1 +/* 80089AF4 00086A54 41 82 00 18 */ beq lbl_80089B0C +/* 80089AF8 00086A58 57 A4 18 38 */ slwi r4, r29, 3 +/* 80089AFC 00086A5C 38 61 00 6C */ addi r3, r1, 0x6c +/* 80089B00 00086A60 38 04 00 08 */ addi r0, r4, 8 +/* 80089B04 00086A64 7F A3 02 AE */ lhax r29, r3, r0 +/* 80089B08 00086A68 48 00 00 08 */ b lbl_80089B10 +lbl_80089B0C: +/* 80089B0C 00086A6C 3B A0 FF FF */ li r29, -1 +lbl_80089B10: +/* 80089B10 00086A70 2C 1D FF FF */ cmpwi r29, -1 +/* 80089B14 00086A74 40 82 FE EC */ bne lbl_80089A00 +/* 80089B18 00086A78 38 00 20 E8 */ li r0, 0x20e8 +/* 80089B1C 00086A7C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 80089B20 00086A80 CB E1 20 E0 */ lfd f31, 0x20e0(r1) +/* 80089B24 00086A84 38 00 20 D8 */ li r0, 0x20d8 +/* 80089B28 00086A88 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 80089B2C 00086A8C CB C1 20 D0 */ lfd f30, 0x20d0(r1) +/* 80089B30 00086A90 38 00 20 C8 */ li r0, 0x20c8 +/* 80089B34 00086A94 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 80089B38 00086A98 CB A1 20 C0 */ lfd f29, 0x20c0(r1) +/* 80089B3C 00086A9C 38 00 20 B8 */ li r0, 0x20b8 +/* 80089B40 00086AA0 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 +/* 80089B44 00086AA4 CB 81 20 B0 */ lfd f28, 0x20b0(r1) +/* 80089B48 00086AA8 38 00 20 A8 */ li r0, 0x20a8 +/* 80089B4C 00086AAC 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 +/* 80089B50 00086AB0 CB 61 20 A0 */ lfd f27, 0x20a0(r1) +/* 80089B54 00086AB4 38 00 20 98 */ li r0, 0x2098 +/* 80089B58 00086AB8 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 +/* 80089B5C 00086ABC CB 41 20 90 */ lfd f26, 0x2090(r1) +/* 80089B60 00086AC0 83 E1 20 8C */ lwz r31, 0x208c(r1) +/* 80089B64 00086AC4 83 C1 20 88 */ lwz r30, 0x2088(r1) +/* 80089B68 00086AC8 83 A1 20 84 */ lwz r29, 0x2084(r1) +/* 80089B6C 00086ACC 80 01 20 F4 */ lwz r0, 0x20f4(r1) +/* 80089B70 00086AD0 83 81 20 80 */ lwz r28, 0x2080(r1) +/* 80089B74 00086AD4 7C 08 03 A6 */ mtlr r0 +/* 80089B78 00086AD8 38 21 20 F0 */ addi r1, r1, 0x20f0 +/* 80089B7C 00086ADC 4E 80 00 20 */ blr + +.global UpdateLookDirection__11CBallCameraFRC9CVector3fR13CStateManager +UpdateLookDirection__11CBallCameraFRC9CVector3fR13CStateManager: +/* 80089B80 00086AE0 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80089B84 00086AE4 7C 08 02 A6 */ mflr r0 +/* 80089B88 00086AE8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80089B8C 00086AEC 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80089B90 00086AF0 7C DF 33 78 */ mr r31, r6 +/* 80089B94 00086AF4 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80089B98 00086AF8 7C 9E 23 78 */ mr r30, r4 +/* 80089B9C 00086AFC 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 80089BA0 00086B00 7C 7D 1B 78 */ mr r29, r3 +/* 80089BA4 00086B04 7C A3 2B 78 */ mr r3, r5 +/* 80089BA8 00086B08 C0 45 00 00 */ lfs f2, 0(r5) +/* 80089BAC 00086B0C C0 25 00 04 */ lfs f1, 4(r5) +/* 80089BB0 00086B10 C0 05 00 08 */ lfs f0, 8(r5) +/* 80089BB4 00086B14 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80089BB8 00086B18 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80089BBC 00086B1C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80089BC0 00086B20 48 28 AB 39 */ bl CanBeNormalized__9CVector3fCFv +/* 80089BC4 00086B24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80089BC8 00086B28 40 82 00 18 */ bne lbl_80089BE0 +/* 80089BCC 00086B2C C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80089BD0 00086B30 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80089BD4 00086B34 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80089BD8 00086B38 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80089BDC 00086B3C D0 21 00 3C */ stfs f1, 0x3c(r1) +lbl_80089BE0: +/* 80089BE0 00086B40 C0 1E 01 90 */ lfs f0, 0x190(r30) +/* 80089BE4 00086B44 7F C3 F3 78 */ mr r3, r30 +/* 80089BE8 00086B48 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80089BEC 00086B4C 7F E6 FB 78 */ mr r6, r31 +/* 80089BF0 00086B50 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80089BF4 00086B54 38 81 00 08 */ addi r4, r1, 8 +/* 80089BF8 00086B58 38 A1 00 0C */ addi r5, r1, 0xc +/* 80089BFC 00086B5C C0 1E 01 A0 */ lfs f0, 0x1a0(r30) +/* 80089C00 00086B60 D0 01 00 08 */ stfs f0, 8(r1) +/* 80089C04 00086B64 4B FF FA C9 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +/* 80089C08 00086B68 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80089C0C 00086B6C 7F C4 F3 78 */ mr r4, r30 +/* 80089C10 00086B70 80 E1 00 38 */ lwz r7, 0x38(r1) +/* 80089C14 00086B74 7F E6 FB 78 */ mr r6, r31 +/* 80089C18 00086B78 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80089C1C 00086B7C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80089C20 00086B80 90 61 00 10 */ stw r3, 0x10(r1) +/* 80089C24 00086B84 38 61 00 1C */ addi r3, r1, 0x1c +/* 80089C28 00086B88 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80089C2C 00086B8C 90 E1 00 14 */ stw r7, 0x14(r1) +/* 80089C30 00086B90 38 E0 00 00 */ li r7, 0 +/* 80089C34 00086B94 C0 41 00 08 */ lfs f2, 8(r1) +/* 80089C38 00086B98 90 01 00 18 */ stw r0, 0x18(r1) +/* 80089C3C 00086B9C 48 00 00 79 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +/* 80089C40 00086BA0 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80089C44 00086BA4 7F C3 F3 78 */ mr r3, r30 +/* 80089C48 00086BA8 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80089C4C 00086BAC 7F E4 FB 78 */ mr r4, r31 +/* 80089C50 00086BB0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80089C54 00086BB4 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80089C58 00086BB8 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80089C5C 00086BBC D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80089C60 00086BC0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80089C64 00086BC4 4B FF 9E 01 */ bl UpdateLookAtPosition__11CBallCameraFfR13CStateManager +/* 80089C68 00086BC8 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 80089C6C 00086BCC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80089C70 00086BD0 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 80089C74 00086BD4 38 BE 01 D8 */ addi r5, r30, 0x1d8 +/* 80089C78 00086BD8 38 81 00 28 */ addi r4, r1, 0x28 +/* 80089C7C 00086BDC 48 28 9E 95 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80089C80 00086BE0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80089C84 00086BE4 38 81 00 40 */ addi r4, r1, 0x40 +/* 80089C88 00086BE8 48 28 8E ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80089C8C 00086BEC 7F A3 EB 78 */ mr r3, r29 +/* 80089C90 00086BF0 38 81 00 70 */ addi r4, r1, 0x70 +/* 80089C94 00086BF4 48 28 8E E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80089C98 00086BF8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80089C9C 00086BFC 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80089CA0 00086C00 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80089CA4 00086C04 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 80089CA8 00086C08 7C 08 03 A6 */ mtlr r0 +/* 80089CAC 00086C0C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80089CB0 00086C10 4E 80 00 20 */ blr + +.global FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb: +/* 80089CB4 00086C14 94 21 EA 10 */ stwu r1, -0x15f0(r1) +/* 80089CB8 00086C18 7C 08 02 A6 */ mflr r0 +/* 80089CBC 00086C1C 90 01 15 F4 */ stw r0, 0x15f4(r1) +/* 80089CC0 00086C20 38 00 15 E8 */ li r0, 0x15e8 +/* 80089CC4 00086C24 DB E1 15 E0 */ stfd f31, 0x15e0(r1) +/* 80089CC8 00086C28 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 80089CCC 00086C2C 38 00 15 D8 */ li r0, 0x15d8 +/* 80089CD0 00086C30 DB C1 15 D0 */ stfd f30, 0x15d0(r1) +/* 80089CD4 00086C34 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 80089CD8 00086C38 38 00 15 C8 */ li r0, 0x15c8 +/* 80089CDC 00086C3C DB A1 15 C0 */ stfd f29, 0x15c0(r1) +/* 80089CE0 00086C40 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 80089CE4 00086C44 38 00 15 B8 */ li r0, 0x15b8 +/* 80089CE8 00086C48 DB 81 15 B0 */ stfd f28, 0x15b0(r1) +/* 80089CEC 00086C4C 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 +/* 80089CF0 00086C50 38 00 15 A8 */ li r0, 0x15a8 +/* 80089CF4 00086C54 DB 61 15 A0 */ stfd f27, 0x15a0(r1) +/* 80089CF8 00086C58 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 +/* 80089CFC 00086C5C 38 00 15 98 */ li r0, 0x1598 +/* 80089D00 00086C60 DB 41 15 90 */ stfd f26, 0x1590(r1) +/* 80089D04 00086C64 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 +/* 80089D08 00086C68 38 00 15 88 */ li r0, 0x1588 +/* 80089D0C 00086C6C DB 21 15 80 */ stfd f25, 0x1580(r1) +/* 80089D10 00086C70 13 21 00 0E */ psq_stx f25, r1, r0, 0, qr0 +/* 80089D14 00086C74 38 00 15 78 */ li r0, 0x1578 +/* 80089D18 00086C78 DB 01 15 70 */ stfd f24, 0x1570(r1) +/* 80089D1C 00086C7C 13 01 00 0E */ psq_stx f24, r1, r0, 0, qr0 +/* 80089D20 00086C80 38 00 15 68 */ li r0, 0x1568 +/* 80089D24 00086C84 DA E1 15 60 */ stfd f23, 0x1560(r1) +/* 80089D28 00086C88 12 E1 00 0E */ psq_stx f23, r1, r0, 0, qr0 +/* 80089D2C 00086C8C BF 21 15 44 */ stmw r25, 0x1544(r1) +/* 80089D30 00086C90 7C 9D 23 78 */ mr r29, r4 +/* 80089D34 00086C94 FF 40 08 90 */ fmr f26, f1 +/* 80089D38 00086C98 A0 04 00 E8 */ lhz r0, 0xe8(r4) +/* 80089D3C 00086C9C FE E0 10 90 */ fmr f23, f2 +/* 80089D40 00086CA0 7C DF 33 78 */ mr r31, r6 +/* 80089D44 00086CA4 7C 7E 1B 78 */ mr r30, r3 +/* 80089D48 00086CA8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80089D4C 00086CAC 7C B9 2B 78 */ mr r25, r5 +/* 80089D50 00086CB0 7C FB 3B 78 */ mr r27, r7 +/* 80089D54 00086CB4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80089D58 00086CB8 7F E3 FB 78 */ mr r3, r31 +/* 80089D5C 00086CBC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80089D60 00086CC0 4B FC 28 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80089D64 00086CC4 7C 64 1B 78 */ mr r4, r3 +/* 80089D68 00086CC8 38 61 00 44 */ addi r3, r1, 0x44 +/* 80089D6C 00086CCC 48 02 26 29 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 80089D70 00086CD0 83 43 00 04 */ lwz r26, 4(r3) +/* 80089D74 00086CD4 28 1A 00 00 */ cmplwi r26, 0 +/* 80089D78 00086CD8 40 82 00 18 */ bne lbl_80089D90 +/* 80089D7C 00086CDC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80089D80 00086CE0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80089D84 00086CE4 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80089D88 00086CE8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80089D8C 00086CEC 48 00 0B F0 */ b lbl_8008A97C +lbl_80089D90: +/* 80089D90 00086CF0 C0 59 00 00 */ lfs f2, 0(r25) +/* 80089D94 00086CF4 7F 23 CB 78 */ mr r3, r25 +/* 80089D98 00086CF8 C0 39 00 04 */ lfs f1, 4(r25) +/* 80089D9C 00086CFC C0 19 00 08 */ lfs f0, 8(r25) +/* 80089DA0 00086D00 D0 41 02 20 */ stfs f2, 0x220(r1) +/* 80089DA4 00086D04 D0 21 02 24 */ stfs f1, 0x224(r1) +/* 80089DA8 00086D08 D0 01 02 28 */ stfs f0, 0x228(r1) +/* 80089DAC 00086D0C 48 28 A9 4D */ bl CanBeNormalized__9CVector3fCFv +/* 80089DB0 00086D10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80089DB4 00086D14 40 82 00 18 */ bne lbl_80089DCC +/* 80089DB8 00086D18 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80089DBC 00086D1C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 80089DC0 00086D20 D0 21 02 20 */ stfs f1, 0x220(r1) +/* 80089DC4 00086D24 D0 01 02 24 */ stfs f0, 0x224(r1) +/* 80089DC8 00086D28 D0 21 02 28 */ stfs f1, 0x228(r1) +lbl_80089DCC: +/* 80089DCC 00086D2C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80089DD0 00086D30 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 80089DD4 00086D34 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80089DD8 00086D38 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 80089DDC 00086D3C 38 61 03 AC */ addi r3, r1, 0x3ac +/* 80089DE0 00086D40 38 A1 02 20 */ addi r5, r1, 0x220 +/* 80089DE4 00086D44 48 28 9D 2D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80089DE8 00086D48 38 61 04 FC */ addi r3, r1, 0x4fc +/* 80089DEC 00086D4C 38 81 03 AC */ addi r4, r1, 0x3ac +/* 80089DF0 00086D50 48 28 8D 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80089DF4 00086D54 7F 44 D3 78 */ mr r4, r26 +/* 80089DF8 00086D58 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 80089DFC 00086D5C 48 1F AF 4D */ bl GetBallPosition__7CPlayerCFv +/* 80089E00 00086D60 C0 21 01 A8 */ lfs f1, 0x1a8(r1) +/* 80089E04 00086D64 7F A3 EB 78 */ mr r3, r29 +/* 80089E08 00086D68 C0 41 01 AC */ lfs f2, 0x1ac(r1) +/* 80089E0C 00086D6C 7F E6 FB 78 */ mr r6, r31 +/* 80089E10 00086D70 C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 80089E14 00086D74 38 81 00 2C */ addi r4, r1, 0x2c +/* 80089E18 00086D78 D0 21 02 14 */ stfs f1, 0x214(r1) +/* 80089E1C 00086D7C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80089E20 00086D80 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 80089E24 00086D84 D0 41 02 18 */ stfs f2, 0x218(r1) +/* 80089E28 00086D88 D0 01 02 1C */ stfs f0, 0x21c(r1) +/* 80089E2C 00086D8C D3 41 00 30 */ stfs f26, 0x30(r1) +/* 80089E30 00086D90 D2 E1 00 2C */ stfs f23, 0x2c(r1) +/* 80089E34 00086D94 4B FF F8 99 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager +/* 80089E38 00086D98 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80089E3C 00086D9C 38 61 01 9C */ addi r3, r1, 0x19c +/* 80089E40 00086DA0 48 1F AF 3D */ bl GetEyePosition__7CPlayerCFv +/* 80089E44 00086DA4 C0 41 01 9C */ lfs f2, 0x19c(r1) +/* 80089E48 00086DA8 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 80089E4C 00086DAC C0 21 01 A0 */ lfs f1, 0x1a0(r1) +/* 80089E50 00086DB0 38 C3 C4 08 */ addi r6, r3, lbl_8046C408@l +/* 80089E54 00086DB4 C0 01 01 A4 */ lfs f0, 0x1a4(r1) +/* 80089E58 00086DB8 7F E3 FB 78 */ mr r3, r31 +/* 80089E5C 00086DBC D0 41 02 08 */ stfs f2, 0x208(r1) +/* 80089E60 00086DC0 38 81 02 14 */ addi r4, r1, 0x214 +/* 80089E64 00086DC4 38 A1 02 08 */ addi r5, r1, 0x208 +/* 80089E68 00086DC8 38 E0 00 00 */ li r7, 0 +/* 80089E6C 00086DCC D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 80089E70 00086DD0 D0 01 02 10 */ stfs f0, 0x210(r1) +/* 80089E74 00086DD4 4B FC 2F C9 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor +/* 80089E78 00086DD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80089E7C 00086DDC 40 82 00 1C */ bne lbl_80089E98 +/* 80089E80 00086DE0 C0 41 02 14 */ lfs f2, 0x214(r1) +/* 80089E84 00086DE4 C0 21 02 18 */ lfs f1, 0x218(r1) +/* 80089E88 00086DE8 C0 01 02 1C */ lfs f0, 0x21c(r1) +/* 80089E8C 00086DEC D0 41 02 08 */ stfs f2, 0x208(r1) +/* 80089E90 00086DF0 D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 80089E94 00086DF4 D0 01 02 10 */ stfs f0, 0x210(r1) +lbl_80089E98: +/* 80089E98 00086DF8 C0 21 02 10 */ lfs f1, 0x210(r1) +/* 80089E9C 00086DFC 38 61 03 7C */ addi r3, r1, 0x37c +/* 80089EA0 00086E00 C0 01 02 1C */ lfs f0, 0x21c(r1) +/* 80089EA4 00086E04 38 81 04 FC */ addi r4, r1, 0x4fc +/* 80089EA8 00086E08 C0 61 00 30 */ lfs f3, 0x30(r1) +/* 80089EAC 00086E0C C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80089EB0 00086E10 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80089EB4 00086E14 FC 20 18 50 */ fneg f1, f3 +/* 80089EB8 00086E18 C0 62 89 B0 */ lfs f3, lbl_805AA6D0@sda21(r2) +/* 80089EBC 00086E1C D0 41 02 04 */ stfs f2, 0x204(r1) +/* 80089EC0 00086E20 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80089EC4 00086E24 D0 61 01 FC */ stfs f3, 0x1fc(r1) +/* 80089EC8 00086E28 D0 21 02 00 */ stfs f1, 0x200(r1) +/* 80089ECC 00086E2C D0 01 02 04 */ stfs f0, 0x204(r1) +/* 80089ED0 00086E30 48 28 8D 71 */ bl GetRotation__12CTransform4fCFv +/* 80089ED4 00086E34 38 61 01 90 */ addi r3, r1, 0x190 +/* 80089ED8 00086E38 38 81 03 7C */ addi r4, r1, 0x37c +/* 80089EDC 00086E3C 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 80089EE0 00086E40 48 28 8C 09 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80089EE4 00086E44 C0 21 02 10 */ lfs f1, 0x210(r1) +/* 80089EE8 00086E48 FF A0 D0 90 */ fmr f29, f26 +/* 80089EEC 00086E4C C0 01 02 1C */ lfs f0, 0x21c(r1) +/* 80089EF0 00086E50 38 61 01 FC */ addi r3, r1, 0x1fc +/* 80089EF4 00086E54 C0 61 01 90 */ lfs f3, 0x190(r1) +/* 80089EF8 00086E58 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80089EFC 00086E5C C3 81 00 2C */ lfs f28, 0x2c(r1) +/* 80089F00 00086E60 C0 41 01 94 */ lfs f2, 0x194(r1) +/* 80089F04 00086E64 C0 21 01 98 */ lfs f1, 0x198(r1) +/* 80089F08 00086E68 EF 9C 00 28 */ fsubs f28, f28, f0 +/* 80089F0C 00086E6C D0 61 01 FC */ stfs f3, 0x1fc(r1) +/* 80089F10 00086E70 C3 C2 89 B0 */ lfs f30, lbl_805AA6D0@sda21(r2) +/* 80089F14 00086E74 D0 41 02 00 */ stfs f2, 0x200(r1) +/* 80089F18 00086E78 C3 61 00 30 */ lfs f27, 0x30(r1) +/* 80089F1C 00086E7C D0 21 02 04 */ stfs f1, 0x204(r1) +/* 80089F20 00086E80 48 28 A9 99 */ bl Magnitude__9CVector3fCFv +/* 80089F24 00086E84 C0 81 02 0C */ lfs f4, 0x20c(r1) +/* 80089F28 00086E88 7F E6 FB 78 */ mr r6, r31 +/* 80089F2C 00086E8C C0 61 02 00 */ lfs f3, 0x200(r1) +/* 80089F30 00086E90 38 61 02 08 */ addi r3, r1, 0x208 +/* 80089F34 00086E94 C0 41 02 10 */ lfs f2, 0x210(r1) +/* 80089F38 00086E98 38 81 01 84 */ addi r4, r1, 0x184 +/* 80089F3C 00086E9C C0 01 02 04 */ lfs f0, 0x204(r1) +/* 80089F40 00086EA0 EC 84 18 2A */ fadds f4, f4, f3 +/* 80089F44 00086EA4 C0 62 8A 98 */ lfs f3, lbl_805AA7B8@sda21(r2) +/* 80089F48 00086EA8 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80089F4C 00086EAC EC 42 00 2A */ fadds f2, f2, f0 +/* 80089F50 00086EB0 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80089F54 00086EB4 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 80089F58 00086EB8 C0 01 01 FC */ lfs f0, 0x1fc(r1) +/* 80089F5C 00086EBC D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80089F60 00086EC0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80089F64 00086EC4 C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) +/* 80089F68 00086EC8 D0 81 01 88 */ stfs f4, 0x188(r1) +/* 80089F6C 00086ECC D0 01 01 84 */ stfs f0, 0x184(r1) +/* 80089F70 00086ED0 D0 41 01 8C */ stfs f2, 0x18c(r1) +/* 80089F74 00086ED4 48 00 0A 89 */ bl DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager +/* 80089F78 00086ED8 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80089F7C 00086EDC 3B 80 00 00 */ li r28, 0 +/* 80089F80 00086EE0 7C 03 00 34 */ cntlzw r3, r0 +/* 80089F84 00086EE4 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 80089F88 00086EE8 54 7A D9 7E */ srwi r26, r3, 5 +/* 80089F8C 00086EEC 40 82 03 54 */ bne lbl_8008A2E0 +/* 80089F90 00086EF0 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80089F94 00086EF4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 80089F98 00086EF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80089F9C 00086EFC 4C 40 13 82 */ cror 2, 0, 2 +/* 80089FA0 00086F00 40 82 03 40 */ bne lbl_8008A2E0 +/* 80089FA4 00086F04 C0 21 02 14 */ lfs f1, 0x214(r1) +/* 80089FA8 00086F08 38 00 00 00 */ li r0, 0 +/* 80089FAC 00086F0C C0 A1 02 18 */ lfs f5, 0x218(r1) +/* 80089FB0 00086F10 7F E3 FB 78 */ mr r3, r31 +/* 80089FB4 00086F14 C0 C1 02 1C */ lfs f6, 0x21c(r1) +/* 80089FB8 00086F18 EC 81 D0 28 */ fsubs f4, f1, f26 +/* 80089FBC 00086F1C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80089FC0 00086F20 EC 65 D0 28 */ fsubs f3, f5, f26 +/* 80089FC4 00086F24 EC 5A 08 2A */ fadds f2, f26, f1 +/* 80089FC8 00086F28 D0 C1 02 4C */ stfs f6, 0x24c(r1) +/* 80089FCC 00086F2C EC 3A 28 2A */ fadds f1, f26, f5 +/* 80089FD0 00086F30 EC 00 30 2A */ fadds f0, f0, f6 +/* 80089FD4 00086F34 D0 81 02 44 */ stfs f4, 0x244(r1) +/* 80089FD8 00086F38 38 81 00 0C */ addi r4, r1, 0xc +/* 80089FDC 00086F3C D0 61 02 48 */ stfs f3, 0x248(r1) +/* 80089FE0 00086F40 D0 41 02 50 */ stfs f2, 0x250(r1) +/* 80089FE4 00086F44 D0 21 02 54 */ stfs f1, 0x254(r1) +/* 80089FE8 00086F48 D0 01 02 58 */ stfs f0, 0x258(r1) +/* 80089FEC 00086F4C 90 01 0D 30 */ stw r0, 0xd30(r1) +/* 80089FF0 00086F50 A0 1D 04 6C */ lhz r0, 0x46c(r29) +/* 80089FF4 00086F54 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80089FF8 00086F58 4B FC 25 AD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80089FFC 00086F5C 7C 64 1B 78 */ mr r4, r3 +/* 8008A000 00086F60 38 61 00 3C */ addi r3, r1, 0x3c +/* 8008A004 00086F64 48 02 5C 8D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8008A008 00086F68 3C 80 80 47 */ lis r4, lbl_8046C408@ha +/* 8008A00C 00086F6C 80 E3 00 04 */ lwz r7, 4(r3) +/* 8008A010 00086F70 38 C4 C4 08 */ addi r6, r4, lbl_8046C408@l +/* 8008A014 00086F74 7F E3 FB 78 */ mr r3, r31 +/* 8008A018 00086F78 38 81 0D 30 */ addi r4, r1, 0xd30 +/* 8008A01C 00086F7C 38 A1 02 44 */ addi r5, r1, 0x244 +/* 8008A020 00086F80 4B FC 27 01 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8008A024 00086F84 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8008A028 00086F88 38 61 01 74 */ addi r3, r1, 0x174 +/* 8008A02C 00086F8C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8008A030 00086F90 FC 00 00 50 */ fneg f0, f0 +/* 8008A034 00086F94 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8008A038 00086F98 48 28 70 C1 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8008A03C 00086F9C 38 61 03 4C */ addi r3, r1, 0x34c +/* 8008A040 00086FA0 38 81 01 74 */ addi r4, r1, 0x174 +/* 8008A044 00086FA4 48 28 7F 75 */ bl BuildTransform4f__11CQuaternionCFv +/* 8008A048 00086FA8 38 61 04 CC */ addi r3, r1, 0x4cc +/* 8008A04C 00086FAC 38 81 03 4C */ addi r4, r1, 0x34c +/* 8008A050 00086FB0 48 28 8B 25 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008A054 00086FB4 38 61 01 64 */ addi r3, r1, 0x164 +/* 8008A058 00086FB8 38 81 00 24 */ addi r4, r1, 0x24 +/* 8008A05C 00086FBC 48 28 70 9D */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8008A060 00086FC0 38 61 03 1C */ addi r3, r1, 0x31c +/* 8008A064 00086FC4 38 81 01 64 */ addi r4, r1, 0x164 +/* 8008A068 00086FC8 48 28 7F 51 */ bl BuildTransform4f__11CQuaternionCFv +/* 8008A06C 00086FCC 38 61 04 9C */ addi r3, r1, 0x49c +/* 8008A070 00086FD0 38 81 03 1C */ addi r4, r1, 0x31c +/* 8008A074 00086FD4 48 28 8B 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008A078 00086FD8 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 8008A07C 00086FDC CB 42 89 C8 */ lfd f26, lbl_805AA6E8@sda21(r2) +/* 8008A080 00086FE0 C3 22 8A 9C */ lfs f25, lbl_805AA7BC@sda21(r2) +/* 8008A084 00086FE4 3B 63 C4 08 */ addi r27, r3, lbl_8046C408@l +/* 8008A088 00086FE8 C3 02 8A A0 */ lfs f24, lbl_805AA7C0@sda21(r2) +/* 8008A08C 00086FEC 3F 40 43 30 */ lis r26, 0x4330 +/* 8008A090 00086FF0 C2 E2 89 C4 */ lfs f23, lbl_805AA6E4@sda21(r2) +/* 8008A094 00086FF4 48 00 01 E0 */ b lbl_8008A274 +lbl_8008A098: +/* 8008A098 00086FF8 38 61 01 FC */ addi r3, r1, 0x1fc +/* 8008A09C 00086FFC 48 28 A8 5D */ bl Normalize__9CVector3fFv +/* 8008A0A0 00087000 C0 43 00 04 */ lfs f2, 4(r3) +/* 8008A0A4 00087004 38 81 04 CC */ addi r4, r1, 0x4cc +/* 8008A0A8 00087008 C0 23 00 08 */ lfs f1, 8(r3) +/* 8008A0AC 0008700C 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 8008A0B0 00087010 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008A0B4 00087014 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8008A0B8 00087018 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8008A0BC 0008701C 38 61 01 58 */ addi r3, r1, 0x158 +/* 8008A0C0 00087020 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8008A0C4 00087024 D0 41 02 00 */ stfs f2, 0x200(r1) +/* 8008A0C8 00087028 D0 01 01 FC */ stfs f0, 0x1fc(r1) +/* 8008A0CC 0008702C D0 21 02 04 */ stfs f1, 0x204(r1) +/* 8008A0D0 00087030 48 28 89 B1 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8008A0D4 00087034 C0 41 01 58 */ lfs f2, 0x158(r1) +/* 8008A0D8 00087038 38 61 01 4C */ addi r3, r1, 0x14c +/* 8008A0DC 0008703C C0 21 01 5C */ lfs f1, 0x15c(r1) +/* 8008A0E0 00087040 38 81 04 9C */ addi r4, r1, 0x49c +/* 8008A0E4 00087044 C0 01 01 60 */ lfs f0, 0x160(r1) +/* 8008A0E8 00087048 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 8008A0EC 0008704C D0 41 01 F0 */ stfs f2, 0x1f0(r1) +/* 8008A0F0 00087050 D0 21 01 F4 */ stfs f1, 0x1f4(r1) +/* 8008A0F4 00087054 D0 01 01 F8 */ stfs f0, 0x1f8(r1) +/* 8008A0F8 00087058 48 28 89 89 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8008A0FC 0008705C C0 41 01 4C */ lfs f2, 0x14c(r1) +/* 8008A100 00087060 3B 20 00 00 */ li r25, 0 +/* 8008A104 00087064 C0 21 01 50 */ lfs f1, 0x150(r1) +/* 8008A108 00087068 C0 01 01 54 */ lfs f0, 0x154(r1) +/* 8008A10C 0008706C D0 41 01 E4 */ stfs f2, 0x1e4(r1) +/* 8008A110 00087070 D0 21 01 E8 */ stfs f1, 0x1e8(r1) +/* 8008A114 00087074 D0 01 01 EC */ stfs f0, 0x1ec(r1) +/* 8008A118 00087078 48 00 01 28 */ b lbl_8008A240 +lbl_8008A11C: +/* 8008A11C 0008707C C0 21 02 0C */ lfs f1, 0x20c(r1) +/* 8008A120 00087080 7F E3 FB 78 */ mr r3, r31 +/* 8008A124 00087084 C0 01 01 F4 */ lfs f0, 0x1f4(r1) +/* 8008A128 00087088 7F 67 DB 78 */ mr r7, r27 +/* 8008A12C 0008708C C0 61 02 10 */ lfs f3, 0x210(r1) +/* 8008A130 00087090 38 81 02 08 */ addi r4, r1, 0x208 +/* 8008A134 00087094 C0 41 01 F8 */ lfs f2, 0x1f8(r1) +/* 8008A138 00087098 EC 81 00 2A */ fadds f4, f1, f0 +/* 8008A13C 0008709C C0 21 02 08 */ lfs f1, 0x208(r1) +/* 8008A140 000870A0 38 A1 01 40 */ addi r5, r1, 0x140 +/* 8008A144 000870A4 C0 01 01 F0 */ lfs f0, 0x1f0(r1) +/* 8008A148 000870A8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8008A14C 000870AC D0 81 01 44 */ stfs f4, 0x144(r1) +/* 8008A150 000870B0 EC 01 00 2A */ fadds f0, f1, f0 +/* 8008A154 000870B4 38 C1 0D 30 */ addi r6, r1, 0xd30 +/* 8008A158 000870B8 D0 41 01 48 */ stfs f2, 0x148(r1) +/* 8008A15C 000870BC 39 00 00 00 */ li r8, 0 +/* 8008A160 000870C0 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 8008A164 000870C4 4B FC 2E 09 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +/* 8008A168 000870C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008A16C 000870CC 41 82 00 18 */ beq lbl_8008A184 +/* 8008A170 000870D0 C3 C1 01 F0 */ lfs f30, 0x1f0(r1) +/* 8008A174 000870D4 3B 80 00 01 */ li r28, 1 +/* 8008A178 000870D8 C3 A1 01 F4 */ lfs f29, 0x1f4(r1) +/* 8008A17C 000870DC C3 81 01 F8 */ lfs f28, 0x1f8(r1) +/* 8008A180 000870E0 48 00 00 E8 */ b lbl_8008A268 +lbl_8008A184: +/* 8008A184 000870E4 C0 21 02 0C */ lfs f1, 0x20c(r1) +/* 8008A188 000870E8 7F E3 FB 78 */ mr r3, r31 +/* 8008A18C 000870EC C0 01 01 E8 */ lfs f0, 0x1e8(r1) +/* 8008A190 000870F0 7F 67 DB 78 */ mr r7, r27 +/* 8008A194 000870F4 C0 61 02 10 */ lfs f3, 0x210(r1) +/* 8008A198 000870F8 38 81 02 08 */ addi r4, r1, 0x208 +/* 8008A19C 000870FC C0 41 01 EC */ lfs f2, 0x1ec(r1) +/* 8008A1A0 00087100 EC 81 00 2A */ fadds f4, f1, f0 +/* 8008A1A4 00087104 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 8008A1A8 00087108 38 A1 01 34 */ addi r5, r1, 0x134 +/* 8008A1AC 0008710C C0 01 01 E4 */ lfs f0, 0x1e4(r1) +/* 8008A1B0 00087110 EC 43 10 2A */ fadds f2, f3, f2 +/* 8008A1B4 00087114 D0 81 01 38 */ stfs f4, 0x138(r1) +/* 8008A1B8 00087118 EC 01 00 2A */ fadds f0, f1, f0 +/* 8008A1BC 0008711C 38 C1 0D 30 */ addi r6, r1, 0xd30 +/* 8008A1C0 00087120 D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 8008A1C4 00087124 39 00 00 00 */ li r8, 0 +/* 8008A1C8 00087128 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 8008A1CC 0008712C 4B FC 2D A1 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +/* 8008A1D0 00087130 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008A1D4 00087134 41 82 00 18 */ beq lbl_8008A1EC +/* 8008A1D8 00087138 C3 C1 01 E4 */ lfs f30, 0x1e4(r1) +/* 8008A1DC 0008713C 3B 80 00 01 */ li r28, 1 +/* 8008A1E0 00087140 C3 A1 01 E8 */ lfs f29, 0x1e8(r1) +/* 8008A1E4 00087144 C3 81 01 EC */ lfs f28, 0x1ec(r1) +/* 8008A1E8 00087148 48 00 00 80 */ b lbl_8008A268 +lbl_8008A1EC: +/* 8008A1EC 0008714C 38 61 01 28 */ addi r3, r1, 0x128 +/* 8008A1F0 00087150 38 81 04 CC */ addi r4, r1, 0x4cc +/* 8008A1F4 00087154 38 A1 01 F0 */ addi r5, r1, 0x1f0 +/* 8008A1F8 00087158 48 28 88 F1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8008A1FC 0008715C C0 41 01 28 */ lfs f2, 0x128(r1) +/* 8008A200 00087160 38 61 01 1C */ addi r3, r1, 0x11c +/* 8008A204 00087164 C0 21 01 2C */ lfs f1, 0x12c(r1) +/* 8008A208 00087168 38 81 04 9C */ addi r4, r1, 0x49c +/* 8008A20C 0008716C C0 01 01 30 */ lfs f0, 0x130(r1) +/* 8008A210 00087170 38 A1 01 E4 */ addi r5, r1, 0x1e4 +/* 8008A214 00087174 D0 41 01 F0 */ stfs f2, 0x1f0(r1) +/* 8008A218 00087178 D0 21 01 F4 */ stfs f1, 0x1f4(r1) +/* 8008A21C 0008717C D0 01 01 F8 */ stfs f0, 0x1f8(r1) +/* 8008A220 00087180 48 28 88 C9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8008A224 00087184 C0 41 01 1C */ lfs f2, 0x11c(r1) +/* 8008A228 00087188 3B 39 00 01 */ addi r25, r25, 1 +/* 8008A22C 0008718C C0 21 01 20 */ lfs f1, 0x120(r1) +/* 8008A230 00087190 C0 01 01 24 */ lfs f0, 0x124(r1) +/* 8008A234 00087194 D0 41 01 E4 */ stfs f2, 0x1e4(r1) +/* 8008A238 00087198 D0 21 01 E8 */ stfs f1, 0x1e8(r1) +/* 8008A23C 0008719C D0 01 01 EC */ stfs f0, 0x1ec(r1) +lbl_8008A240: +/* 8008A240 000871A0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8008A244 000871A4 6F 20 80 00 */ xoris r0, r25, 0x8000 +/* 8008A248 000871A8 90 01 15 3C */ stw r0, 0x153c(r1) +/* 8008A24C 000871AC EC 18 00 32 */ fmuls f0, f24, f0 +/* 8008A250 000871B0 93 41 15 38 */ stw r26, 0x1538(r1) +/* 8008A254 000871B4 EC 19 00 24 */ fdivs f0, f25, f0 +/* 8008A258 000871B8 C8 21 15 38 */ lfd f1, 0x1538(r1) +/* 8008A25C 000871BC EC 21 D0 28 */ fsubs f1, f1, f26 +/* 8008A260 000871C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008A264 000871C4 41 80 FE B8 */ blt lbl_8008A11C +lbl_8008A268: +/* 8008A268 000871C8 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8008A26C 000871CC EC 00 B8 28 */ fsubs f0, f0, f23 +/* 8008A270 000871D0 D0 01 00 28 */ stfs f0, 0x28(r1) +lbl_8008A274: +/* 8008A274 000871D4 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8008A278 000871D8 40 82 00 10 */ bne lbl_8008A288 +/* 8008A27C 000871DC C3 E1 00 28 */ lfs f31, 0x28(r1) +/* 8008A280 000871E0 FC 1F D8 40 */ fcmpo cr0, f31, f27 +/* 8008A284 000871E4 41 81 FE 14 */ bgt lbl_8008A098 +lbl_8008A288: +/* 8008A288 000871E8 80 A1 0D 30 */ lwz r5, 0xd30(r1) +/* 8008A28C 000871EC 38 60 00 00 */ li r3, 0 +/* 8008A290 000871F0 2C 05 00 00 */ cmpwi r5, 0 +/* 8008A294 000871F4 40 81 00 40 */ ble lbl_8008A2D4 +/* 8008A298 000871F8 2C 05 00 08 */ cmpwi r5, 8 +/* 8008A29C 000871FC 38 85 FF F8 */ addi r4, r5, -8 +/* 8008A2A0 00087200 40 81 00 20 */ ble lbl_8008A2C0 +/* 8008A2A4 00087204 38 04 00 07 */ addi r0, r4, 7 +/* 8008A2A8 00087208 54 00 E8 FE */ srwi r0, r0, 3 +/* 8008A2AC 0008720C 7C 09 03 A6 */ mtctr r0 +/* 8008A2B0 00087210 2C 04 00 00 */ cmpwi r4, 0 +/* 8008A2B4 00087214 40 81 00 0C */ ble lbl_8008A2C0 +lbl_8008A2B8: +/* 8008A2B8 00087218 38 63 00 08 */ addi r3, r3, 8 +/* 8008A2BC 0008721C 42 00 FF FC */ bdnz lbl_8008A2B8 +lbl_8008A2C0: +/* 8008A2C0 00087220 7C 03 28 50 */ subf r0, r3, r5 +/* 8008A2C4 00087224 7C 09 03 A6 */ mtctr r0 +/* 8008A2C8 00087228 7C 03 28 00 */ cmpw r3, r5 +/* 8008A2CC 0008722C 40 80 00 08 */ bge lbl_8008A2D4 +lbl_8008A2D0: +/* 8008A2D0 00087230 42 00 00 00 */ bdnz lbl_8008A2D0 +lbl_8008A2D4: +/* 8008A2D4 00087234 38 00 00 00 */ li r0, 0 +/* 8008A2D8 00087238 90 01 0D 30 */ stw r0, 0xd30(r1) +/* 8008A2DC 0008723C 48 00 06 58 */ b lbl_8008A934 +lbl_8008A2E0: +/* 8008A2E0 00087240 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8008A2E4 00087244 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008A2E8 00087248 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008A2EC 0008724C 40 80 00 38 */ bge lbl_8008A324 +/* 8008A2F0 00087250 38 61 01 FC */ addi r3, r1, 0x1fc +/* 8008A2F4 00087254 48 28 A6 05 */ bl Normalize__9CVector3fFv +/* 8008A2F8 00087258 C0 62 89 E0 */ lfs f3, lbl_805AA700@sda21(r2) +/* 8008A2FC 0008725C C0 43 00 04 */ lfs f2, 4(r3) +/* 8008A300 00087260 C0 23 00 08 */ lfs f1, 8(r3) +/* 8008A304 00087264 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008A308 00087268 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8008A30C 0008726C EC 23 00 72 */ fmuls f1, f3, f1 +/* 8008A310 00087270 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8008A314 00087274 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 8008A318 00087278 D0 41 02 00 */ stfs f2, 0x200(r1) +/* 8008A31C 0008727C D0 01 01 FC */ stfs f0, 0x1fc(r1) +/* 8008A320 00087280 D0 21 02 04 */ stfs f1, 0x204(r1) +lbl_8008A324: +/* 8008A324 00087284 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8008A328 00087288 38 61 01 0C */ addi r3, r1, 0x10c +/* 8008A32C 0008728C 38 81 00 1C */ addi r4, r1, 0x1c +/* 8008A330 00087290 FC 00 00 50 */ fneg f0, f0 +/* 8008A334 00087294 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8008A338 00087298 48 28 6D C1 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8008A33C 0008729C 38 61 02 EC */ addi r3, r1, 0x2ec +/* 8008A340 000872A0 38 81 01 0C */ addi r4, r1, 0x10c +/* 8008A344 000872A4 48 28 7C 75 */ bl BuildTransform4f__11CQuaternionCFv +/* 8008A348 000872A8 38 61 04 6C */ addi r3, r1, 0x46c +/* 8008A34C 000872AC 38 81 02 EC */ addi r4, r1, 0x2ec +/* 8008A350 000872B0 48 28 88 25 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008A354 000872B4 38 61 01 00 */ addi r3, r1, 0x100 +/* 8008A358 000872B8 38 81 04 6C */ addi r4, r1, 0x46c +/* 8008A35C 000872BC 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 8008A360 000872C0 48 28 87 21 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8008A364 000872C4 C0 41 01 00 */ lfs f2, 0x100(r1) +/* 8008A368 000872C8 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8008A36C 000872CC C0 21 01 04 */ lfs f1, 0x104(r1) +/* 8008A370 000872D0 38 81 00 24 */ addi r4, r1, 0x24 +/* 8008A374 000872D4 C0 01 01 08 */ lfs f0, 0x108(r1) +/* 8008A378 000872D8 D0 41 01 D8 */ stfs f2, 0x1d8(r1) +/* 8008A37C 000872DC D0 21 01 DC */ stfs f1, 0x1dc(r1) +/* 8008A380 000872E0 D0 01 01 E0 */ stfs f0, 0x1e0(r1) +/* 8008A384 000872E4 48 28 6D 75 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8008A388 000872E8 38 61 02 BC */ addi r3, r1, 0x2bc +/* 8008A38C 000872EC 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 8008A390 000872F0 48 28 7C 29 */ bl BuildTransform4f__11CQuaternionCFv +/* 8008A394 000872F4 38 61 04 3C */ addi r3, r1, 0x43c +/* 8008A398 000872F8 38 81 02 BC */ addi r4, r1, 0x2bc +/* 8008A39C 000872FC 48 28 87 D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008A3A0 00087300 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8008A3A4 00087304 38 81 04 3C */ addi r4, r1, 0x43c +/* 8008A3A8 00087308 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 8008A3AC 0008730C 48 28 86 D5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8008A3B0 00087310 C0 41 00 E4 */ lfs f2, 0xe4(r1) +/* 8008A3B4 00087314 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8008A3B8 00087318 C0 21 00 E8 */ lfs f1, 0xe8(r1) +/* 8008A3BC 0008731C C0 01 00 EC */ lfs f0, 0xec(r1) +/* 8008A3C0 00087320 D0 41 01 CC */ stfs f2, 0x1cc(r1) +/* 8008A3C4 00087324 D0 21 01 D0 */ stfs f1, 0x1d0(r1) +/* 8008A3C8 00087328 D0 01 01 D4 */ stfs f0, 0x1d4(r1) +/* 8008A3CC 0008732C 40 82 00 2C */ bne lbl_8008A3F8 +/* 8008A3D0 00087330 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8008A3D4 00087334 40 82 00 50 */ bne lbl_8008A424 +/* 8008A3D8 00087338 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8008A3DC 0008733C C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008A3E0 00087340 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008A3E4 00087344 41 81 00 14 */ bgt lbl_8008A3F8 +/* 8008A3E8 00087348 C0 3D 02 E8 */ lfs f1, 0x2e8(r29) +/* 8008A3EC 0008734C C0 02 8A 60 */ lfs f0, lbl_805AA780@sda21(r2) +/* 8008A3F0 00087350 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008A3F4 00087354 40 81 00 30 */ ble lbl_8008A424 +lbl_8008A3F8: +/* 8008A3F8 00087358 C2 E1 00 28 */ lfs f23, 0x28(r1) +/* 8008A3FC 0008735C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 8008A400 00087360 48 28 A4 F9 */ bl Normalize__9CVector3fFv +/* 8008A404 00087364 C0 43 00 00 */ lfs f2, 0(r3) +/* 8008A408 00087368 3B 80 00 01 */ li r28, 1 +/* 8008A40C 0008736C C0 23 00 04 */ lfs f1, 4(r3) +/* 8008A410 00087370 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008A414 00087374 EF D7 00 B2 */ fmuls f30, f23, f2 +/* 8008A418 00087378 EF B7 00 72 */ fmuls f29, f23, f1 +/* 8008A41C 0008737C EF 97 00 32 */ fmuls f28, f23, f0 +/* 8008A420 00087380 48 00 05 14 */ b lbl_8008A934 +lbl_8008A424: +/* 8008A424 00087384 C3 E2 89 E0 */ lfs f31, lbl_805AA700@sda21(r2) +/* 8008A428 00087388 3B 20 00 00 */ li r25, 0 +/* 8008A42C 0008738C CA E2 89 C8 */ lfd f23, lbl_805AA6E8@sda21(r2) +/* 8008A430 00087390 3F 40 43 30 */ lis r26, 0x4330 +/* 8008A434 00087394 C3 22 8A 9C */ lfs f25, lbl_805AA7BC@sda21(r2) +/* 8008A438 00087398 C3 02 8A A0 */ lfs f24, lbl_805AA7C0@sda21(r2) +/* 8008A43C 0008739C 48 00 01 90 */ b lbl_8008A5CC +lbl_8008A440: +/* 8008A440 000873A0 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 8008A444 000873A4 48 28 A4 75 */ bl Magnitude__9CVector3fCFv +/* 8008A448 000873A8 C0 41 02 0C */ lfs f2, 0x20c(r1) +/* 8008A44C 000873AC 7F E6 FB 78 */ mr r6, r31 +/* 8008A450 000873B0 C0 01 01 DC */ lfs f0, 0x1dc(r1) +/* 8008A454 000873B4 38 61 02 08 */ addi r3, r1, 0x208 +/* 8008A458 000873B8 C0 81 02 10 */ lfs f4, 0x210(r1) +/* 8008A45C 000873BC 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8008A460 000873C0 C0 61 01 E0 */ lfs f3, 0x1e0(r1) +/* 8008A464 000873C4 EC A2 00 2A */ fadds f5, f2, f0 +/* 8008A468 000873C8 C0 41 02 08 */ lfs f2, 0x208(r1) +/* 8008A46C 000873CC 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8008A470 000873D0 C0 01 01 D8 */ lfs f0, 0x1d8(r1) +/* 8008A474 000873D4 EC 64 18 2A */ fadds f3, f4, f3 +/* 8008A478 000873D8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8008A47C 000873DC EC 02 00 2A */ fadds f0, f2, f0 +/* 8008A480 000873E0 C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) +/* 8008A484 000873E4 D0 A1 00 DC */ stfs f5, 0xdc(r1) +/* 8008A488 000873E8 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 8008A48C 000873EC D0 61 00 E0 */ stfs f3, 0xe0(r1) +/* 8008A490 000873F0 48 00 05 6D */ bl DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager +/* 8008A494 000873F4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8008A498 000873F8 7C 00 00 34 */ cntlzw r0, r0 +/* 8008A49C 000873FC 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 8008A4A0 00087400 40 82 00 10 */ bne lbl_8008A4B0 +/* 8008A4A4 00087404 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8008A4A8 00087408 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8008A4AC 0008740C 40 81 00 30 */ ble lbl_8008A4DC +lbl_8008A4B0: +/* 8008A4B0 00087410 C2 E1 00 28 */ lfs f23, 0x28(r1) +/* 8008A4B4 00087414 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 8008A4B8 00087418 48 28 A4 41 */ bl Normalize__9CVector3fFv +/* 8008A4BC 0008741C C0 43 00 00 */ lfs f2, 0(r3) +/* 8008A4C0 00087420 3B 80 00 01 */ li r28, 1 +/* 8008A4C4 00087424 C0 23 00 04 */ lfs f1, 4(r3) +/* 8008A4C8 00087428 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008A4CC 0008742C EF D7 00 B2 */ fmuls f30, f23, f2 +/* 8008A4D0 00087430 EF B7 00 72 */ fmuls f29, f23, f1 +/* 8008A4D4 00087434 EF 97 00 32 */ fmuls f28, f23, f0 +/* 8008A4D8 00087438 48 00 01 1C */ b lbl_8008A5F4 +lbl_8008A4DC: +/* 8008A4DC 0008743C 38 61 01 CC */ addi r3, r1, 0x1cc +/* 8008A4E0 00087440 48 28 A3 D9 */ bl Magnitude__9CVector3fCFv +/* 8008A4E4 00087444 C0 41 02 0C */ lfs f2, 0x20c(r1) +/* 8008A4E8 00087448 7F E6 FB 78 */ mr r6, r31 +/* 8008A4EC 0008744C C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 8008A4F0 00087450 38 61 02 08 */ addi r3, r1, 0x208 +/* 8008A4F4 00087454 C0 81 02 10 */ lfs f4, 0x210(r1) +/* 8008A4F8 00087458 38 81 00 CC */ addi r4, r1, 0xcc +/* 8008A4FC 0008745C C0 61 01 D4 */ lfs f3, 0x1d4(r1) +/* 8008A500 00087460 EC A2 00 2A */ fadds f5, f2, f0 +/* 8008A504 00087464 C0 41 02 08 */ lfs f2, 0x208(r1) +/* 8008A508 00087468 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8008A50C 0008746C C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 8008A510 00087470 EC 64 18 2A */ fadds f3, f4, f3 +/* 8008A514 00087474 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8008A518 00087478 EC 02 00 2A */ fadds f0, f2, f0 +/* 8008A51C 0008747C C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) +/* 8008A520 00087480 D0 A1 00 D0 */ stfs f5, 0xd0(r1) +/* 8008A524 00087484 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 8008A528 00087488 D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 8008A52C 0008748C 48 00 04 D1 */ bl DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager +/* 8008A530 00087490 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8008A534 00087494 7C 00 00 34 */ cntlzw r0, r0 +/* 8008A538 00087498 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 8008A53C 0008749C 40 82 00 10 */ bne lbl_8008A54C +/* 8008A540 000874A0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8008A544 000874A4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8008A548 000874A8 40 81 00 30 */ ble lbl_8008A578 +lbl_8008A54C: +/* 8008A54C 000874AC C2 E1 00 28 */ lfs f23, 0x28(r1) +/* 8008A550 000874B0 38 61 01 CC */ addi r3, r1, 0x1cc +/* 8008A554 000874B4 48 28 A3 A5 */ bl Normalize__9CVector3fFv +/* 8008A558 000874B8 C0 43 00 00 */ lfs f2, 0(r3) +/* 8008A55C 000874BC 3B 80 00 01 */ li r28, 1 +/* 8008A560 000874C0 C0 23 00 04 */ lfs f1, 4(r3) +/* 8008A564 000874C4 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008A568 000874C8 EF D7 00 B2 */ fmuls f30, f23, f2 +/* 8008A56C 000874CC EF B7 00 72 */ fmuls f29, f23, f1 +/* 8008A570 000874D0 EF 97 00 32 */ fmuls f28, f23, f0 +/* 8008A574 000874D4 48 00 00 80 */ b lbl_8008A5F4 +lbl_8008A578: +/* 8008A578 000874D8 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8008A57C 000874DC 38 81 04 6C */ addi r4, r1, 0x46c +/* 8008A580 000874E0 38 A1 01 D8 */ addi r5, r1, 0x1d8 +/* 8008A584 000874E4 48 28 85 65 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8008A588 000874E8 C0 41 00 C0 */ lfs f2, 0xc0(r1) +/* 8008A58C 000874EC 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8008A590 000874F0 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 8008A594 000874F4 38 81 04 3C */ addi r4, r1, 0x43c +/* 8008A598 000874F8 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 8008A59C 000874FC 38 A1 01 CC */ addi r5, r1, 0x1cc +/* 8008A5A0 00087500 D0 41 01 D8 */ stfs f2, 0x1d8(r1) +/* 8008A5A4 00087504 D0 21 01 DC */ stfs f1, 0x1dc(r1) +/* 8008A5A8 00087508 D0 01 01 E0 */ stfs f0, 0x1e0(r1) +/* 8008A5AC 0008750C 48 28 85 3D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8008A5B0 00087510 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 8008A5B4 00087514 3B 39 00 01 */ addi r25, r25, 1 +/* 8008A5B8 00087518 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 8008A5BC 0008751C C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 8008A5C0 00087520 D0 41 01 CC */ stfs f2, 0x1cc(r1) +/* 8008A5C4 00087524 D0 21 01 D0 */ stfs f1, 0x1d0(r1) +/* 8008A5C8 00087528 D0 01 01 D4 */ stfs f0, 0x1d4(r1) +lbl_8008A5CC: +/* 8008A5CC 0008752C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8008A5D0 00087530 6F 20 80 00 */ xoris r0, r25, 0x8000 +/* 8008A5D4 00087534 90 01 15 3C */ stw r0, 0x153c(r1) +/* 8008A5D8 00087538 EC 18 00 32 */ fmuls f0, f24, f0 +/* 8008A5DC 0008753C 93 41 15 38 */ stw r26, 0x1538(r1) +/* 8008A5E0 00087540 EC 19 00 24 */ fdivs f0, f25, f0 +/* 8008A5E4 00087544 C8 21 15 38 */ lfd f1, 0x1538(r1) +/* 8008A5E8 00087548 EC 21 B8 28 */ fsubs f1, f1, f23 +/* 8008A5EC 0008754C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008A5F0 00087550 41 80 FE 50 */ blt lbl_8008A440 +lbl_8008A5F4: +/* 8008A5F4 00087554 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8008A5F8 00087558 40 82 03 3C */ bne lbl_8008A934 +/* 8008A5FC 0008755C C0 21 02 14 */ lfs f1, 0x214(r1) +/* 8008A600 00087560 38 00 00 00 */ li r0, 0 +/* 8008A604 00087564 C0 A1 02 18 */ lfs f5, 0x218(r1) +/* 8008A608 00087568 7F E3 FB 78 */ mr r3, r31 +/* 8008A60C 0008756C C0 C1 02 1C */ lfs f6, 0x21c(r1) +/* 8008A610 00087570 EC 81 D0 28 */ fsubs f4, f1, f26 +/* 8008A614 00087574 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8008A618 00087578 EC 65 D0 28 */ fsubs f3, f5, f26 +/* 8008A61C 0008757C EC 5A 08 2A */ fadds f2, f26, f1 +/* 8008A620 00087580 D0 C1 02 34 */ stfs f6, 0x234(r1) +/* 8008A624 00087584 EC 3A 28 2A */ fadds f1, f26, f5 +/* 8008A628 00087588 EC 00 30 2A */ fadds f0, f0, f6 +/* 8008A62C 0008758C D0 81 02 2C */ stfs f4, 0x22c(r1) +/* 8008A630 00087590 38 81 00 08 */ addi r4, r1, 8 +/* 8008A634 00087594 D0 61 02 30 */ stfs f3, 0x230(r1) +/* 8008A638 00087598 D0 41 02 38 */ stfs f2, 0x238(r1) +/* 8008A63C 0008759C D0 21 02 3C */ stfs f1, 0x23c(r1) +/* 8008A640 000875A0 D0 01 02 40 */ stfs f0, 0x240(r1) +/* 8008A644 000875A4 90 01 05 2C */ stw r0, 0x52c(r1) +/* 8008A648 000875A8 A0 1D 04 6C */ lhz r0, 0x46c(r29) +/* 8008A64C 000875AC B0 01 00 08 */ sth r0, 8(r1) +/* 8008A650 000875B0 4B FC 1F 55 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8008A654 000875B4 7C 64 1B 78 */ mr r4, r3 +/* 8008A658 000875B8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8008A65C 000875BC 48 02 56 35 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8008A660 000875C0 3C 80 80 47 */ lis r4, lbl_8046C408@ha +/* 8008A664 000875C4 80 E3 00 04 */ lwz r7, 4(r3) +/* 8008A668 000875C8 38 C4 C4 08 */ addi r6, r4, lbl_8046C408@l +/* 8008A66C 000875CC 7F E3 FB 78 */ mr r3, r31 +/* 8008A670 000875D0 38 81 05 2C */ addi r4, r1, 0x52c +/* 8008A674 000875D4 38 A1 02 2C */ addi r5, r1, 0x22c +/* 8008A678 000875D8 4B FC 20 A9 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8008A67C 000875DC C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8008A680 000875E0 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8008A684 000875E4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8008A688 000875E8 FC 00 00 50 */ fneg f0, f0 +/* 8008A68C 000875EC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8008A690 000875F0 48 28 6A 69 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8008A694 000875F4 38 61 02 8C */ addi r3, r1, 0x28c +/* 8008A698 000875F8 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 8008A69C 000875FC 48 28 79 1D */ bl BuildTransform4f__11CQuaternionCFv +/* 8008A6A0 00087600 38 61 04 0C */ addi r3, r1, 0x40c +/* 8008A6A4 00087604 38 81 02 8C */ addi r4, r1, 0x28c +/* 8008A6A8 00087608 48 28 84 CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008A6AC 0008760C 38 61 00 94 */ addi r3, r1, 0x94 +/* 8008A6B0 00087610 38 81 00 24 */ addi r4, r1, 0x24 +/* 8008A6B4 00087614 48 28 6A 45 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8008A6B8 00087618 38 61 02 5C */ addi r3, r1, 0x25c +/* 8008A6BC 0008761C 38 81 00 94 */ addi r4, r1, 0x94 +/* 8008A6C0 00087620 48 28 78 F9 */ bl BuildTransform4f__11CQuaternionCFv +/* 8008A6C4 00087624 38 61 03 DC */ addi r3, r1, 0x3dc +/* 8008A6C8 00087628 38 81 02 5C */ addi r4, r1, 0x25c +/* 8008A6CC 0008762C 48 28 84 A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008A6D0 00087630 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 8008A6D4 00087634 CB 02 89 C8 */ lfd f24, lbl_805AA6E8@sda21(r2) +/* 8008A6D8 00087638 C3 22 8A 9C */ lfs f25, lbl_805AA7BC@sda21(r2) +/* 8008A6DC 0008763C 3B 43 C4 08 */ addi r26, r3, lbl_8046C408@l +/* 8008A6E0 00087640 C3 E2 8A A0 */ lfs f31, lbl_805AA7C0@sda21(r2) +/* 8008A6E4 00087644 3F 60 43 30 */ lis r27, 0x4330 +/* 8008A6E8 00087648 C3 42 89 C4 */ lfs f26, lbl_805AA6E4@sda21(r2) +/* 8008A6EC 0008764C 48 00 01 E0 */ b lbl_8008A8CC +lbl_8008A6F0: +/* 8008A6F0 00087650 38 61 01 FC */ addi r3, r1, 0x1fc +/* 8008A6F4 00087654 48 28 A2 05 */ bl Normalize__9CVector3fFv +/* 8008A6F8 00087658 C0 43 00 04 */ lfs f2, 4(r3) +/* 8008A6FC 0008765C 38 81 04 0C */ addi r4, r1, 0x40c +/* 8008A700 00087660 C0 23 00 08 */ lfs f1, 8(r3) +/* 8008A704 00087664 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 8008A708 00087668 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008A70C 0008766C EC 57 00 B2 */ fmuls f2, f23, f2 +/* 8008A710 00087670 EC 37 00 72 */ fmuls f1, f23, f1 +/* 8008A714 00087674 38 61 00 88 */ addi r3, r1, 0x88 +/* 8008A718 00087678 EC 17 00 32 */ fmuls f0, f23, f0 +/* 8008A71C 0008767C D0 41 02 00 */ stfs f2, 0x200(r1) +/* 8008A720 00087680 D0 01 01 FC */ stfs f0, 0x1fc(r1) +/* 8008A724 00087684 D0 21 02 04 */ stfs f1, 0x204(r1) +/* 8008A728 00087688 48 28 83 59 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8008A72C 0008768C C0 41 00 88 */ lfs f2, 0x88(r1) +/* 8008A730 00087690 38 61 00 7C */ addi r3, r1, 0x7c +/* 8008A734 00087694 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 8008A738 00087698 38 81 03 DC */ addi r4, r1, 0x3dc +/* 8008A73C 0008769C C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8008A740 000876A0 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 8008A744 000876A4 D0 41 01 C0 */ stfs f2, 0x1c0(r1) +/* 8008A748 000876A8 D0 21 01 C4 */ stfs f1, 0x1c4(r1) +/* 8008A74C 000876AC D0 01 01 C8 */ stfs f0, 0x1c8(r1) +/* 8008A750 000876B0 48 28 83 31 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8008A754 000876B4 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 8008A758 000876B8 3B 20 00 00 */ li r25, 0 +/* 8008A75C 000876BC C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8008A760 000876C0 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8008A764 000876C4 D0 41 01 B4 */ stfs f2, 0x1b4(r1) +/* 8008A768 000876C8 D0 21 01 B8 */ stfs f1, 0x1b8(r1) +/* 8008A76C 000876CC D0 01 01 BC */ stfs f0, 0x1bc(r1) +/* 8008A770 000876D0 48 00 01 28 */ b lbl_8008A898 +lbl_8008A774: +/* 8008A774 000876D4 C0 21 02 0C */ lfs f1, 0x20c(r1) +/* 8008A778 000876D8 7F E3 FB 78 */ mr r3, r31 +/* 8008A77C 000876DC C0 01 01 C4 */ lfs f0, 0x1c4(r1) +/* 8008A780 000876E0 7F 47 D3 78 */ mr r7, r26 +/* 8008A784 000876E4 C0 61 02 10 */ lfs f3, 0x210(r1) +/* 8008A788 000876E8 38 81 02 08 */ addi r4, r1, 0x208 +/* 8008A78C 000876EC C0 41 01 C8 */ lfs f2, 0x1c8(r1) +/* 8008A790 000876F0 EC 81 00 2A */ fadds f4, f1, f0 +/* 8008A794 000876F4 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 8008A798 000876F8 38 A1 00 70 */ addi r5, r1, 0x70 +/* 8008A79C 000876FC C0 01 01 C0 */ lfs f0, 0x1c0(r1) +/* 8008A7A0 00087700 EC 43 10 2A */ fadds f2, f3, f2 +/* 8008A7A4 00087704 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 8008A7A8 00087708 EC 01 00 2A */ fadds f0, f1, f0 +/* 8008A7AC 0008770C 38 C1 05 2C */ addi r6, r1, 0x52c +/* 8008A7B0 00087710 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 8008A7B4 00087714 39 00 00 00 */ li r8, 0 +/* 8008A7B8 00087718 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8008A7BC 0008771C 4B FC 27 B1 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +/* 8008A7C0 00087720 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008A7C4 00087724 41 82 00 18 */ beq lbl_8008A7DC +/* 8008A7C8 00087728 C3 C1 01 C0 */ lfs f30, 0x1c0(r1) +/* 8008A7CC 0008772C 3B 80 00 01 */ li r28, 1 +/* 8008A7D0 00087730 C3 A1 01 C4 */ lfs f29, 0x1c4(r1) +/* 8008A7D4 00087734 C3 81 01 C8 */ lfs f28, 0x1c8(r1) +/* 8008A7D8 00087738 48 00 00 E8 */ b lbl_8008A8C0 +lbl_8008A7DC: +/* 8008A7DC 0008773C C0 21 02 0C */ lfs f1, 0x20c(r1) +/* 8008A7E0 00087740 7F E3 FB 78 */ mr r3, r31 +/* 8008A7E4 00087744 C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 8008A7E8 00087748 7F 47 D3 78 */ mr r7, r26 +/* 8008A7EC 0008774C C0 61 02 10 */ lfs f3, 0x210(r1) +/* 8008A7F0 00087750 38 81 02 08 */ addi r4, r1, 0x208 +/* 8008A7F4 00087754 C0 41 01 BC */ lfs f2, 0x1bc(r1) +/* 8008A7F8 00087758 EC 81 00 2A */ fadds f4, f1, f0 +/* 8008A7FC 0008775C C0 21 02 08 */ lfs f1, 0x208(r1) +/* 8008A800 00087760 38 A1 00 64 */ addi r5, r1, 0x64 +/* 8008A804 00087764 C0 01 01 B4 */ lfs f0, 0x1b4(r1) +/* 8008A808 00087768 EC 43 10 2A */ fadds f2, f3, f2 +/* 8008A80C 0008776C D0 81 00 68 */ stfs f4, 0x68(r1) +/* 8008A810 00087770 EC 01 00 2A */ fadds f0, f1, f0 +/* 8008A814 00087774 38 C1 05 2C */ addi r6, r1, 0x52c +/* 8008A818 00087778 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8008A81C 0008777C 39 00 00 00 */ li r8, 0 +/* 8008A820 00087780 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8008A824 00087784 4B FC 27 49 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +/* 8008A828 00087788 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008A82C 0008778C 41 82 00 18 */ beq lbl_8008A844 +/* 8008A830 00087790 C3 C1 01 B4 */ lfs f30, 0x1b4(r1) +/* 8008A834 00087794 3B 80 00 01 */ li r28, 1 +/* 8008A838 00087798 C3 A1 01 B8 */ lfs f29, 0x1b8(r1) +/* 8008A83C 0008779C C3 81 01 BC */ lfs f28, 0x1bc(r1) +/* 8008A840 000877A0 48 00 00 80 */ b lbl_8008A8C0 +lbl_8008A844: +/* 8008A844 000877A4 38 61 00 58 */ addi r3, r1, 0x58 +/* 8008A848 000877A8 38 81 04 0C */ addi r4, r1, 0x40c +/* 8008A84C 000877AC 38 A1 01 C0 */ addi r5, r1, 0x1c0 +/* 8008A850 000877B0 48 28 82 99 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8008A854 000877B4 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 8008A858 000877B8 38 61 00 4C */ addi r3, r1, 0x4c +/* 8008A85C 000877BC C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 8008A860 000877C0 38 81 03 DC */ addi r4, r1, 0x3dc +/* 8008A864 000877C4 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8008A868 000877C8 38 A1 01 B4 */ addi r5, r1, 0x1b4 +/* 8008A86C 000877CC D0 41 01 C0 */ stfs f2, 0x1c0(r1) +/* 8008A870 000877D0 D0 21 01 C4 */ stfs f1, 0x1c4(r1) +/* 8008A874 000877D4 D0 01 01 C8 */ stfs f0, 0x1c8(r1) +/* 8008A878 000877D8 48 28 82 71 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8008A87C 000877DC C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 8008A880 000877E0 3B 39 00 01 */ addi r25, r25, 1 +/* 8008A884 000877E4 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8008A888 000877E8 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8008A88C 000877EC D0 41 01 B4 */ stfs f2, 0x1b4(r1) +/* 8008A890 000877F0 D0 21 01 B8 */ stfs f1, 0x1b8(r1) +/* 8008A894 000877F4 D0 01 01 BC */ stfs f0, 0x1bc(r1) +lbl_8008A898: +/* 8008A898 000877F8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8008A89C 000877FC 6F 20 80 00 */ xoris r0, r25, 0x8000 +/* 8008A8A0 00087800 90 01 15 3C */ stw r0, 0x153c(r1) +/* 8008A8A4 00087804 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8008A8A8 00087808 93 61 15 38 */ stw r27, 0x1538(r1) +/* 8008A8AC 0008780C EC 19 00 24 */ fdivs f0, f25, f0 +/* 8008A8B0 00087810 C8 21 15 38 */ lfd f1, 0x1538(r1) +/* 8008A8B4 00087814 EC 21 C0 28 */ fsubs f1, f1, f24 +/* 8008A8B8 00087818 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008A8BC 0008781C 41 80 FE B8 */ blt lbl_8008A774 +lbl_8008A8C0: +/* 8008A8C0 00087820 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8008A8C4 00087824 EC 00 D0 28 */ fsubs f0, f0, f26 +/* 8008A8C8 00087828 D0 01 00 28 */ stfs f0, 0x28(r1) +lbl_8008A8CC: +/* 8008A8CC 0008782C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8008A8D0 00087830 40 82 00 10 */ bne lbl_8008A8E0 +/* 8008A8D4 00087834 C2 E1 00 28 */ lfs f23, 0x28(r1) +/* 8008A8D8 00087838 FC 17 D8 40 */ fcmpo cr0, f23, f27 +/* 8008A8DC 0008783C 41 81 FE 14 */ bgt lbl_8008A6F0 +lbl_8008A8E0: +/* 8008A8E0 00087840 80 A1 05 2C */ lwz r5, 0x52c(r1) +/* 8008A8E4 00087844 38 60 00 00 */ li r3, 0 +/* 8008A8E8 00087848 2C 05 00 00 */ cmpwi r5, 0 +/* 8008A8EC 0008784C 40 81 00 40 */ ble lbl_8008A92C +/* 8008A8F0 00087850 2C 05 00 08 */ cmpwi r5, 8 +/* 8008A8F4 00087854 38 85 FF F8 */ addi r4, r5, -8 +/* 8008A8F8 00087858 40 81 00 20 */ ble lbl_8008A918 +/* 8008A8FC 0008785C 38 04 00 07 */ addi r0, r4, 7 +/* 8008A900 00087860 54 00 E8 FE */ srwi r0, r0, 3 +/* 8008A904 00087864 7C 09 03 A6 */ mtctr r0 +/* 8008A908 00087868 2C 04 00 00 */ cmpwi r4, 0 +/* 8008A90C 0008786C 40 81 00 0C */ ble lbl_8008A918 +lbl_8008A910: +/* 8008A910 00087870 38 63 00 08 */ addi r3, r3, 8 +/* 8008A914 00087874 42 00 FF FC */ bdnz lbl_8008A910 +lbl_8008A918: +/* 8008A918 00087878 7C 03 28 50 */ subf r0, r3, r5 +/* 8008A91C 0008787C 7C 09 03 A6 */ mtctr r0 +/* 8008A920 00087880 7C 03 28 00 */ cmpw r3, r5 +/* 8008A924 00087884 40 80 00 08 */ bge lbl_8008A92C +lbl_8008A928: +/* 8008A928 00087888 42 00 00 00 */ bdnz lbl_8008A928 +lbl_8008A92C: +/* 8008A92C 0008788C 38 00 00 00 */ li r0, 0 +/* 8008A930 00087890 90 01 05 2C */ stw r0, 0x52c(r1) +lbl_8008A934: +/* 8008A934 00087894 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8008A938 00087898 40 82 00 20 */ bne lbl_8008A958 +/* 8008A93C 0008789C C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 8008A940 000878A0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8008A944 000878A4 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8008A948 000878A8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8008A94C 000878AC D0 3E 00 04 */ stfs f1, 4(r30) +/* 8008A950 000878B0 D0 5E 00 08 */ stfs f2, 8(r30) +/* 8008A954 000878B4 48 00 00 28 */ b lbl_8008A97C +lbl_8008A958: +/* 8008A958 000878B8 C0 01 02 08 */ lfs f0, 0x208(r1) +/* 8008A95C 000878BC C0 41 02 0C */ lfs f2, 0x20c(r1) +/* 8008A960 000878C0 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8008A964 000878C4 C0 21 02 10 */ lfs f1, 0x210(r1) +/* 8008A968 000878C8 EC 42 E8 2A */ fadds f2, f2, f29 +/* 8008A96C 000878CC EC 21 E0 2A */ fadds f1, f1, f28 +/* 8008A970 000878D0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8008A974 000878D4 D0 5E 00 04 */ stfs f2, 4(r30) +/* 8008A978 000878D8 D0 3E 00 08 */ stfs f1, 8(r30) +lbl_8008A97C: +/* 8008A97C 000878DC 38 00 15 E8 */ li r0, 0x15e8 +/* 8008A980 000878E0 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 8008A984 000878E4 CB E1 15 E0 */ lfd f31, 0x15e0(r1) +/* 8008A988 000878E8 38 00 15 D8 */ li r0, 0x15d8 +/* 8008A98C 000878EC 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 8008A990 000878F0 CB C1 15 D0 */ lfd f30, 0x15d0(r1) +/* 8008A994 000878F4 38 00 15 C8 */ li r0, 0x15c8 +/* 8008A998 000878F8 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 8008A99C 000878FC CB A1 15 C0 */ lfd f29, 0x15c0(r1) +/* 8008A9A0 00087900 38 00 15 B8 */ li r0, 0x15b8 +/* 8008A9A4 00087904 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 +/* 8008A9A8 00087908 CB 81 15 B0 */ lfd f28, 0x15b0(r1) +/* 8008A9AC 0008790C 38 00 15 A8 */ li r0, 0x15a8 +/* 8008A9B0 00087910 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 +/* 8008A9B4 00087914 CB 61 15 A0 */ lfd f27, 0x15a0(r1) +/* 8008A9B8 00087918 38 00 15 98 */ li r0, 0x1598 +/* 8008A9BC 0008791C 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 +/* 8008A9C0 00087920 CB 41 15 90 */ lfd f26, 0x1590(r1) +/* 8008A9C4 00087924 38 00 15 88 */ li r0, 0x1588 +/* 8008A9C8 00087928 13 21 00 0C */ psq_lx f25, r1, r0, 0, qr0 +/* 8008A9CC 0008792C CB 21 15 80 */ lfd f25, 0x1580(r1) +/* 8008A9D0 00087930 38 00 15 78 */ li r0, 0x1578 +/* 8008A9D4 00087934 13 01 00 0C */ psq_lx f24, r1, r0, 0, qr0 +/* 8008A9D8 00087938 CB 01 15 70 */ lfd f24, 0x1570(r1) +/* 8008A9DC 0008793C 38 00 15 68 */ li r0, 0x1568 +/* 8008A9E0 00087940 12 E1 00 0C */ psq_lx f23, r1, r0, 0, qr0 +/* 8008A9E4 00087944 CA E1 15 60 */ lfd f23, 0x1560(r1) +/* 8008A9E8 00087948 BB 21 15 44 */ lmw r25, 0x1544(r1) +/* 8008A9EC 0008794C 80 01 15 F4 */ lwz r0, 0x15f4(r1) +/* 8008A9F0 00087950 7C 08 03 A6 */ mtlr r0 +/* 8008A9F4 00087954 38 21 15 F0 */ addi r1, r1, 0x15f0 +/* 8008A9F8 00087958 4E 80 00 20 */ blr + +.global DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager +DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager: +/* 8008A9FC 0008795C 94 21 DA 70 */ stwu r1, -0x2590(r1) +/* 8008AA00 00087960 7C 08 02 A6 */ mflr r0 +/* 8008AA04 00087964 90 01 25 94 */ stw r0, 0x2594(r1) +/* 8008AA08 00087968 38 00 25 88 */ li r0, 0x2588 +/* 8008AA0C 0008796C DB E1 25 80 */ stfd f31, 0x2580(r1) +/* 8008AA10 00087970 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 8008AA14 00087974 38 00 25 78 */ li r0, 0x2578 +/* 8008AA18 00087978 DB C1 25 70 */ stfd f30, 0x2570(r1) +/* 8008AA1C 0008797C 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 8008AA20 00087980 38 00 25 68 */ li r0, 0x2568 +/* 8008AA24 00087984 DB A1 25 60 */ stfd f29, 0x2560(r1) +/* 8008AA28 00087988 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 8008AA2C 0008798C 38 00 25 58 */ li r0, 0x2558 +/* 8008AA30 00087990 DB 81 25 50 */ stfd f28, 0x2550(r1) +/* 8008AA34 00087994 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 +/* 8008AA38 00087998 38 00 25 48 */ li r0, 0x2548 +/* 8008AA3C 0008799C DB 61 25 40 */ stfd f27, 0x2540(r1) +/* 8008AA40 000879A0 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 +/* 8008AA44 000879A4 BF 21 25 24 */ stmw r25, 0x2524(r1) +/* 8008AA48 000879A8 7C 7B 1B 78 */ mr r27, r3 +/* 8008AA4C 000879AC 7C 99 23 78 */ mr r25, r4 +/* 8008AA50 000879B0 C0 84 00 04 */ lfs f4, 4(r4) +/* 8008AA54 000879B4 FF A0 08 90 */ fmr f29, f1 +/* 8008AA58 000879B8 C0 03 00 04 */ lfs f0, 4(r3) +/* 8008AA5C 000879BC 7C BC 2B 78 */ mr r28, r5 +/* 8008AA60 000879C0 C0 64 00 08 */ lfs f3, 8(r4) +/* 8008AA64 000879C4 7C DD 33 78 */ mr r29, r6 +/* 8008AA68 000879C8 C0 43 00 08 */ lfs f2, 8(r3) +/* 8008AA6C 000879CC EC 84 00 28 */ fsubs f4, f4, f0 +/* 8008AA70 000879D0 C0 24 00 00 */ lfs f1, 0(r4) +/* 8008AA74 000879D4 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008AA78 000879D8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8008AA7C 000879DC 38 61 00 60 */ addi r3, r1, 0x60 +/* 8008AA80 000879E0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8008AA84 000879E4 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 8008AA88 000879E8 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8008AA8C 000879EC D0 41 00 68 */ stfs f2, 0x68(r1) +/* 8008AA90 000879F0 48 28 9E 29 */ bl Magnitude__9CVector3fCFv +/* 8008AA94 000879F4 FF E0 08 90 */ fmr f31, f1 +/* 8008AA98 000879F8 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) +/* 8008AA9C 000879FC C0 02 8A A4 */ lfs f0, lbl_805AA7C4@sda21(r2) +/* 8008AAA0 00087A00 3B C0 00 01 */ li r30, 1 +/* 8008AAA4 00087A04 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 8008AAA8 00087A08 EC 81 F8 24 */ fdivs f4, f1, f31 +/* 8008AAAC 00087A0C C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8008AAB0 00087A10 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 8008AAB4 00087A14 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8008AAB8 00087A18 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8008AABC 00087A1C EC 24 00 72 */ fmuls f1, f4, f1 +/* 8008AAC0 00087A20 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8008AAC4 00087A24 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 8008AAC8 00087A28 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8008AACC 00087A2C D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 8008AAD0 00087A30 40 81 05 EC */ ble lbl_8008B0BC +/* 8008AAD4 00087A34 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8008AAD8 00087A38 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008AADC 00087A3C 38 A3 67 54 */ addi r5, r3, lbl_805A6754@l +/* 8008AAE0 00087A40 7F 64 DB 78 */ mr r4, r27 +/* 8008AAE4 00087A44 C0 A5 00 00 */ lfs f5, 0(r5) +/* 8008AAE8 00087A48 EF C0 07 72 */ fmuls f30, f0, f29 +/* 8008AAEC 00087A4C C0 85 00 04 */ lfs f4, 4(r5) +/* 8008AAF0 00087A50 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8008AAF4 00087A54 C0 65 00 08 */ lfs f3, 8(r5) +/* 8008AAF8 00087A58 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 8008AAFC 00087A5C C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8008AB00 00087A60 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8008AB04 00087A64 D0 A1 00 F8 */ stfs f5, 0xf8(r1) +/* 8008AB08 00087A68 D0 81 00 FC */ stfs f4, 0xfc(r1) +/* 8008AB0C 00087A6C D0 61 01 00 */ stfs f3, 0x100(r1) +/* 8008AB10 00087A70 D0 41 01 04 */ stfs f2, 0x104(r1) +/* 8008AB14 00087A74 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 8008AB18 00087A78 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 8008AB1C 00087A7C 48 2A CF ED */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8008AB20 00087A80 7F 24 CB 78 */ mr r4, r25 +/* 8008AB24 00087A84 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8008AB28 00087A88 48 2A CF E1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8008AB2C 00087A8C C0 41 01 08 */ lfs f2, 0x108(r1) +/* 8008AB30 00087A90 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8008AB34 00087A94 C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 8008AB38 00087A98 38 81 00 48 */ addi r4, r1, 0x48 +/* 8008AB3C 00087A9C C0 01 01 04 */ lfs f0, 0x104(r1) +/* 8008AB40 00087AA0 EC A2 F0 2A */ fadds f5, f2, f30 +/* 8008AB44 00087AA4 C0 41 00 FC */ lfs f2, 0xfc(r1) +/* 8008AB48 00087AA8 EC 81 F0 2A */ fadds f4, f1, f30 +/* 8008AB4C 00087AAC C0 21 01 00 */ lfs f1, 0x100(r1) +/* 8008AB50 00087AB0 EC 60 F0 2A */ fadds f3, f0, f30 +/* 8008AB54 00087AB4 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 8008AB58 00087AB8 EC 42 F0 28 */ fsubs f2, f2, f30 +/* 8008AB5C 00087ABC D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 8008AB60 00087AC0 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 8008AB64 00087AC4 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8008AB68 00087AC8 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 8008AB6C 00087ACC D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 8008AB70 00087AD0 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 8008AB74 00087AD4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8008AB78 00087AD8 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8008AB7C 00087ADC D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8008AB80 00087AE0 48 2A D9 89 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8008AB84 00087AE4 80 A1 00 E0 */ lwz r5, 0xe0(r1) +/* 8008AB88 00087AE8 38 00 00 00 */ li r0, 0 +/* 8008AB8C 00087AEC 81 61 00 E4 */ lwz r11, 0xe4(r1) +/* 8008AB90 00087AF0 7F A3 EB 78 */ mr r3, r29 +/* 8008AB94 00087AF4 81 41 00 E8 */ lwz r10, 0xe8(r1) +/* 8008AB98 00087AF8 38 81 1D 14 */ addi r4, r1, 0x1d14 +/* 8008AB9C 00087AFC 81 21 00 EC */ lwz r9, 0xec(r1) +/* 8008ABA0 00087B00 38 C1 00 F8 */ addi r6, r1, 0xf8 +/* 8008ABA4 00087B04 81 01 00 F0 */ lwz r8, 0xf0(r1) +/* 8008ABA8 00087B08 80 E1 00 F4 */ lwz r7, 0xf4(r1) +/* 8008ABAC 00087B0C 90 A1 00 F8 */ stw r5, 0xf8(r1) +/* 8008ABB0 00087B10 80 BD 08 4C */ lwz r5, 0x84c(r29) +/* 8008ABB4 00087B14 91 61 00 FC */ stw r11, 0xfc(r1) +/* 8008ABB8 00087B18 91 41 01 00 */ stw r10, 0x100(r1) +/* 8008ABBC 00087B1C 91 21 01 04 */ stw r9, 0x104(r1) +/* 8008ABC0 00087B20 91 01 01 08 */ stw r8, 0x108(r1) +/* 8008ABC4 00087B24 90 E1 01 0C */ stw r7, 0x10c(r1) +/* 8008ABC8 00087B28 90 01 1D 14 */ stw r0, 0x1d14(r1) +/* 8008ABCC 00087B2C 4B FC 1B 31 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" +/* 8008ABD0 00087B30 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 8008ABD4 00087B34 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8008ABD8 00087B38 48 21 8E B9 */ bl __ct__19CAreaCollisionCacheFRC6CAABox +/* 8008ABDC 00087B3C 7F A3 EB 78 */ mr r3, r29 +/* 8008ABE0 00087B40 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 8008ABE4 00087B44 48 0F 9A E1 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache +/* 8008ABE8 00087B48 88 01 1D 10 */ lbz r0, 0x1d10(r1) +/* 8008ABEC 00087B4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008ABF0 00087B50 41 82 00 08 */ beq lbl_8008ABF8 +/* 8008ABF4 00087B54 3B C0 00 00 */ li r30, 0 +lbl_8008ABF8: +/* 8008ABF8 00087B58 38 00 00 00 */ li r0, 0 +/* 8008ABFC 00087B5C 80 AD 84 84 */ lwz r5, lbl_805A7044@sda21(r13) +/* 8008AC00 00087B60 90 01 00 24 */ stw r0, 0x24(r1) +/* 8008AC04 00087B64 38 60 00 00 */ li r3, 0 +/* 8008AC08 00087B68 38 80 00 01 */ li r4, 1 +/* 8008AC0C 00087B6C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8008AC10 00087B70 48 2F F2 E5 */ bl __shl2i +/* 8008AC14 00087B74 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8008AC18 00087B78 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8008AC1C 00087B7C 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8008AC20 00087B80 3B E5 66 A0 */ addi r31, r5, skZero3f@l +/* 8008AC24 00087B84 7C 00 1B 78 */ or r0, r0, r3 +/* 8008AC28 00087B88 C3 DF 00 00 */ lfs f30, 0(r31) +/* 8008AC2C 00087B8C 7C C4 23 78 */ or r4, r6, r4 +/* 8008AC30 00087B90 90 01 00 20 */ stw r0, 0x20(r1) +/* 8008AC34 00087B94 C3 9F 00 04 */ lfs f28, 4(r31) +/* 8008AC38 00087B98 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8008AC3C 00087B9C 90 81 00 24 */ stw r4, 0x24(r1) +/* 8008AC40 00087BA0 38 81 00 20 */ addi r4, r1, 0x20 +/* 8008AC44 00087BA4 C3 7F 00 08 */ lfs f27, 8(r31) +/* 8008AC48 00087BA8 48 24 4C 6D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8008AC4C 00087BAC 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8008AC50 00087BB0 80 AD 84 8C */ lwz r5, lbl_805A704C@sda21(r13) +/* 8008AC54 00087BB4 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 8008AC58 00087BB8 D3 C1 00 D0 */ stfs f30, 0xd0(r1) +/* 8008AC5C 00087BBC 38 60 00 00 */ li r3, 0 +/* 8008AC60 00087BC0 38 80 00 01 */ li r4, 1 +/* 8008AC64 00087BC4 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8008AC68 00087BC8 D3 81 00 D4 */ stfs f28, 0xd4(r1) +/* 8008AC6C 00087BCC D3 61 00 D8 */ stfs f27, 0xd8(r1) +/* 8008AC70 00087BD0 D3 A1 00 DC */ stfs f29, 0xdc(r1) +/* 8008AC74 00087BD4 48 2F F2 81 */ bl __shl2i +/* 8008AC78 00087BD8 80 AD 84 90 */ lwz r5, lbl_805A7050@sda21(r13) +/* 8008AC7C 00087BDC 7C 99 23 78 */ mr r25, r4 +/* 8008AC80 00087BE0 7C 7A 1B 78 */ mr r26, r3 +/* 8008AC84 00087BE4 38 60 00 00 */ li r3, 0 +/* 8008AC88 00087BE8 38 80 00 01 */ li r4, 1 +/* 8008AC8C 00087BEC 48 2F F2 69 */ bl __shl2i +/* 8008AC90 00087BF0 80 AD 84 94 */ lwz r5, lbl_805A7054@sda21(r13) +/* 8008AC94 00087BF4 7F 39 23 78 */ or r25, r25, r4 +/* 8008AC98 00087BF8 7F 5A 1B 78 */ or r26, r26, r3 +/* 8008AC9C 00087BFC 38 60 00 00 */ li r3, 0 +/* 8008ACA0 00087C00 38 80 00 01 */ li r4, 1 +/* 8008ACA4 00087C04 48 2F F2 51 */ bl __shl2i +/* 8008ACA8 00087C08 80 AD 84 98 */ lwz r5, lbl_805A7058@sda21(r13) +/* 8008ACAC 00087C0C 7F 39 23 78 */ or r25, r25, r4 +/* 8008ACB0 00087C10 7F 5A 1B 78 */ or r26, r26, r3 +/* 8008ACB4 00087C14 38 60 00 00 */ li r3, 0 +/* 8008ACB8 00087C18 38 80 00 01 */ li r4, 1 +/* 8008ACBC 00087C1C 48 2F F2 39 */ bl __shl2i +/* 8008ACC0 00087C20 80 AD 84 88 */ lwz r5, lbl_805A7048@sda21(r13) +/* 8008ACC4 00087C24 7F 39 23 78 */ or r25, r25, r4 +/* 8008ACC8 00087C28 7F 5A 1B 78 */ or r26, r26, r3 +/* 8008ACCC 00087C2C 38 60 00 00 */ li r3, 0 +/* 8008ACD0 00087C30 38 80 00 01 */ li r4, 1 +/* 8008ACD4 00087C34 48 2F F2 21 */ bl __shl2i +/* 8008ACD8 00087C38 38 00 00 03 */ li r0, 3 +/* 8008ACDC 00087C3C 90 81 00 AC */ stw r4, 0xac(r1) +/* 8008ACE0 00087C40 7F 64 DB 78 */ mr r4, r27 +/* 8008ACE4 00087C44 90 61 00 A8 */ stw r3, 0xa8(r1) +/* 8008ACE8 00087C48 38 61 01 40 */ addi r3, r1, 0x140 +/* 8008ACEC 00087C4C 93 21 00 B4 */ stw r25, 0xb4(r1) +/* 8008ACF0 00087C50 93 41 00 B0 */ stw r26, 0xb0(r1) +/* 8008ACF4 00087C54 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 8008ACF8 00087C58 48 28 84 49 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8008ACFC 00087C5C 7F A3 EB 78 */ mr r3, r29 +/* 8008AD00 00087C60 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 8008AD04 00087C64 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 8008AD08 00087C68 38 C1 01 40 */ addi r6, r1, 0x140 +/* 8008AD0C 00087C6C 38 E1 00 A8 */ addi r7, r1, 0xa8 +/* 8008AD10 00087C70 39 01 1D 14 */ addi r8, r1, 0x1d14 +/* 8008AD14 00087C74 48 0F 98 51 */ bl "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 8008AD18 00087C78 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8008AD1C 00087C7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008AD20 00087C80 38 84 CA F8 */ addi r4, r4, lbl_803ECAF8@l +/* 8008AD24 00087C84 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8008AD28 00087C88 90 81 00 C0 */ stw r4, 0xc0(r1) +/* 8008AD2C 00087C8C 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l +/* 8008AD30 00087C90 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 8008AD34 00087C94 41 82 01 00 */ beq lbl_8008AE34 +/* 8008AD38 00087C98 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 8008AD3C 00087C9C 34 E1 01 E8 */ addic. r7, r1, 0x1e8 +/* 8008AD40 00087CA0 D0 1C 00 00 */ stfs f0, 0(r28) +/* 8008AD44 00087CA4 41 82 00 94 */ beq lbl_8008ADD8 +/* 8008AD48 00087CA8 38 C7 00 04 */ addi r6, r7, 4 +/* 8008AD4C 00087CAC 38 60 00 00 */ li r3, 0 +/* 8008AD50 00087CB0 48 00 00 74 */ b lbl_8008ADC4 +lbl_8008AD54: +/* 8008AD54 00087CB4 28 06 00 00 */ cmplwi r6, 0 +/* 8008AD58 00087CB8 41 82 00 64 */ beq lbl_8008ADBC +/* 8008AD5C 00087CBC 34 06 00 04 */ addic. r0, r6, 4 +/* 8008AD60 00087CC0 41 82 00 5C */ beq lbl_8008ADBC +/* 8008AD64 00087CC4 81 06 00 04 */ lwz r8, 4(r6) +/* 8008AD68 00087CC8 38 80 00 00 */ li r4, 0 +/* 8008AD6C 00087CCC 2C 08 00 00 */ cmpwi r8, 0 +/* 8008AD70 00087CD0 40 81 00 44 */ ble lbl_8008ADB4 +/* 8008AD74 00087CD4 2C 08 00 08 */ cmpwi r8, 8 +/* 8008AD78 00087CD8 38 A8 FF F8 */ addi r5, r8, -8 +/* 8008AD7C 00087CDC 40 81 00 20 */ ble lbl_8008AD9C +/* 8008AD80 00087CE0 38 05 00 07 */ addi r0, r5, 7 +/* 8008AD84 00087CE4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8008AD88 00087CE8 7C 09 03 A6 */ mtctr r0 +/* 8008AD8C 00087CEC 2C 05 00 00 */ cmpwi r5, 0 +/* 8008AD90 00087CF0 40 81 00 0C */ ble lbl_8008AD9C +lbl_8008AD94: +/* 8008AD94 00087CF4 38 84 00 08 */ addi r4, r4, 8 +/* 8008AD98 00087CF8 42 00 FF FC */ bdnz lbl_8008AD94 +lbl_8008AD9C: +/* 8008AD9C 00087CFC 7C 04 40 50 */ subf r0, r4, r8 +/* 8008ADA0 00087D00 7C 09 03 A6 */ mtctr r0 +/* 8008ADA4 00087D04 7C 04 40 00 */ cmpw r4, r8 +/* 8008ADA8 00087D08 40 80 00 0C */ bge lbl_8008ADB4 +lbl_8008ADAC: +/* 8008ADAC 00087D0C 38 84 00 01 */ addi r4, r4, 1 +/* 8008ADB0 00087D10 42 00 FF FC */ bdnz lbl_8008ADAC +lbl_8008ADB4: +/* 8008ADB4 00087D14 38 00 00 00 */ li r0, 0 +/* 8008ADB8 00087D18 90 06 00 04 */ stw r0, 4(r6) +lbl_8008ADBC: +/* 8008ADBC 00087D1C 38 C6 09 0C */ addi r6, r6, 0x90c +/* 8008ADC0 00087D20 38 63 00 01 */ addi r3, r3, 1 +lbl_8008ADC4: +/* 8008ADC4 00087D24 80 07 00 00 */ lwz r0, 0(r7) +/* 8008ADC8 00087D28 7C 03 00 00 */ cmpw r3, r0 +/* 8008ADCC 00087D2C 41 80 FF 88 */ blt lbl_8008AD54 +/* 8008ADD0 00087D30 38 00 00 00 */ li r0, 0 +/* 8008ADD4 00087D34 90 07 00 00 */ stw r0, 0(r7) +lbl_8008ADD8: +/* 8008ADD8 00087D38 80 A1 1D 14 */ lwz r5, 0x1d14(r1) +/* 8008ADDC 00087D3C 38 60 00 00 */ li r3, 0 +/* 8008ADE0 00087D40 2C 05 00 00 */ cmpwi r5, 0 +/* 8008ADE4 00087D44 40 81 00 40 */ ble lbl_8008AE24 +/* 8008ADE8 00087D48 2C 05 00 08 */ cmpwi r5, 8 +/* 8008ADEC 00087D4C 38 85 FF F8 */ addi r4, r5, -8 +/* 8008ADF0 00087D50 40 81 00 20 */ ble lbl_8008AE10 +/* 8008ADF4 00087D54 38 04 00 07 */ addi r0, r4, 7 +/* 8008ADF8 00087D58 54 00 E8 FE */ srwi r0, r0, 3 +/* 8008ADFC 00087D5C 7C 09 03 A6 */ mtctr r0 +/* 8008AE00 00087D60 2C 04 00 00 */ cmpwi r4, 0 +/* 8008AE04 00087D64 40 81 00 0C */ ble lbl_8008AE10 +lbl_8008AE08: +/* 8008AE08 00087D68 38 63 00 08 */ addi r3, r3, 8 +/* 8008AE0C 00087D6C 42 00 FF FC */ bdnz lbl_8008AE08 +lbl_8008AE10: +/* 8008AE10 00087D70 7C 03 28 50 */ subf r0, r3, r5 +/* 8008AE14 00087D74 7C 09 03 A6 */ mtctr r0 +/* 8008AE18 00087D78 7C 03 28 00 */ cmpw r3, r5 +/* 8008AE1C 00087D7C 40 80 00 08 */ bge lbl_8008AE24 +lbl_8008AE20: +/* 8008AE20 00087D80 42 00 00 00 */ bdnz lbl_8008AE20 +lbl_8008AE24: +/* 8008AE24 00087D84 38 00 00 00 */ li r0, 0 +/* 8008AE28 00087D88 38 60 00 01 */ li r3, 1 +/* 8008AE2C 00087D8C 90 01 1D 14 */ stw r0, 0x1d14(r1) +/* 8008AE30 00087D90 48 00 02 98 */ b lbl_8008B0C8 +lbl_8008AE34: +/* 8008AE34 00087D94 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8008AE38 00087D98 41 82 01 98 */ beq lbl_8008AFD0 +/* 8008AE3C 00087D9C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008AE40 00087DA0 38 61 01 70 */ addi r3, r1, 0x170 +/* 8008AE44 00087DA4 38 80 00 00 */ li r4, 0 +/* 8008AE48 00087DA8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8008AE4C 00087DAC 48 24 33 3D */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid +/* 8008AE50 00087DB0 38 00 00 00 */ li r0, 0 +/* 8008AE54 00087DB4 80 AD 84 9C */ lwz r5, lbl_805A705C@sda21(r13) +/* 8008AE58 00087DB8 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8008AE5C 00087DBC 38 60 00 00 */ li r3, 0 +/* 8008AE60 00087DC0 38 80 00 01 */ li r4, 1 +/* 8008AE64 00087DC4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8008AE68 00087DC8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8008AE6C 00087DCC 48 2F F0 89 */ bl __shl2i +/* 8008AE70 00087DD0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8008AE74 00087DD4 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8008AE78 00087DD8 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8008AE7C 00087DDC 7C 00 1B 78 */ or r0, r0, r3 +/* 8008AE80 00087DE0 C3 65 66 A0 */ lfs f27, skZero3f@l(r5) +/* 8008AE84 00087DE4 7C C4 23 78 */ or r4, r6, r4 +/* 8008AE88 00087DE8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8008AE8C 00087DEC C3 9F 00 04 */ lfs f28, 4(r31) +/* 8008AE90 00087DF0 38 61 00 88 */ addi r3, r1, 0x88 +/* 8008AE94 00087DF4 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8008AE98 00087DF8 38 81 00 18 */ addi r4, r1, 0x18 +/* 8008AE9C 00087DFC C3 DF 00 08 */ lfs f30, 8(r31) +/* 8008AEA0 00087E00 48 24 4A 15 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8008AEA4 00087E04 80 E1 00 54 */ lwz r7, 0x54(r1) +/* 8008AEA8 00087E08 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8008AEAC 00087E0C 39 03 CA F8 */ addi r8, r3, lbl_803ECAF8@l +/* 8008AEB0 00087E10 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 8008AEB4 00087E14 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8008AEB8 00087E18 38 60 00 00 */ li r3, 0 +/* 8008AEBC 00087E1C 80 AD 84 A4 */ lwz r5, lbl_805A7064@sda21(r13) +/* 8008AEC0 00087E20 38 80 00 01 */ li r4, 1 +/* 8008AEC4 00087E24 91 01 00 88 */ stw r8, 0x88(r1) +/* 8008AEC8 00087E28 D3 61 00 98 */ stfs f27, 0x98(r1) +/* 8008AECC 00087E2C D3 81 00 9C */ stfs f28, 0x9c(r1) +/* 8008AED0 00087E30 D3 C1 00 A0 */ stfs f30, 0xa0(r1) +/* 8008AED4 00087E34 D3 A1 00 A4 */ stfs f29, 0xa4(r1) +/* 8008AED8 00087E38 90 E1 00 30 */ stw r7, 0x30(r1) +/* 8008AEDC 00087E3C 90 C1 00 34 */ stw r6, 0x34(r1) +/* 8008AEE0 00087E40 90 01 00 38 */ stw r0, 0x38(r1) +/* 8008AEE4 00087E44 48 2F F0 11 */ bl __shl2i +/* 8008AEE8 00087E48 80 AD 84 A8 */ lwz r5, lbl_805A7068@sda21(r13) +/* 8008AEEC 00087E4C 7C 9A 23 78 */ mr r26, r4 +/* 8008AEF0 00087E50 7C 79 1B 78 */ mr r25, r3 +/* 8008AEF4 00087E54 38 60 00 00 */ li r3, 0 +/* 8008AEF8 00087E58 38 80 00 01 */ li r4, 1 +/* 8008AEFC 00087E5C 48 2F EF F9 */ bl __shl2i +/* 8008AF00 00087E60 80 AD 84 AC */ lwz r5, lbl_805A706C@sda21(r13) +/* 8008AF04 00087E64 7F 5A 23 78 */ or r26, r26, r4 +/* 8008AF08 00087E68 7F 39 1B 78 */ or r25, r25, r3 +/* 8008AF0C 00087E6C 38 60 00 00 */ li r3, 0 +/* 8008AF10 00087E70 38 80 00 01 */ li r4, 1 +/* 8008AF14 00087E74 48 2F EF E1 */ bl __shl2i +/* 8008AF18 00087E78 80 AD 84 B0 */ lwz r5, lbl_805A7070@sda21(r13) +/* 8008AF1C 00087E7C 7F 5A 23 78 */ or r26, r26, r4 +/* 8008AF20 00087E80 7F 39 1B 78 */ or r25, r25, r3 +/* 8008AF24 00087E84 38 60 00 00 */ li r3, 0 +/* 8008AF28 00087E88 38 80 00 01 */ li r4, 1 +/* 8008AF2C 00087E8C 48 2F EF C9 */ bl __shl2i +/* 8008AF30 00087E90 80 AD 84 A0 */ lwz r5, lbl_805A7060@sda21(r13) +/* 8008AF34 00087E94 7F 5A 23 78 */ or r26, r26, r4 +/* 8008AF38 00087E98 7F 39 1B 78 */ or r25, r25, r3 +/* 8008AF3C 00087E9C 38 60 00 00 */ li r3, 0 +/* 8008AF40 00087EA0 38 80 00 01 */ li r4, 1 +/* 8008AF44 00087EA4 48 2F EF B1 */ bl __shl2i +/* 8008AF48 00087EA8 38 00 00 03 */ li r0, 3 +/* 8008AF4C 00087EAC 90 81 00 74 */ stw r4, 0x74(r1) +/* 8008AF50 00087EB0 7F 64 DB 78 */ mr r4, r27 +/* 8008AF54 00087EB4 90 61 00 70 */ stw r3, 0x70(r1) +/* 8008AF58 00087EB8 38 61 01 10 */ addi r3, r1, 0x110 +/* 8008AF5C 00087EBC 93 41 00 7C */ stw r26, 0x7c(r1) +/* 8008AF60 00087EC0 93 21 00 78 */ stw r25, 0x78(r1) +/* 8008AF64 00087EC4 90 01 00 80 */ stw r0, 0x80(r1) +/* 8008AF68 00087EC8 48 28 81 D9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8008AF6C 00087ECC 38 61 01 70 */ addi r3, r1, 0x170 +/* 8008AF70 00087ED0 38 01 00 28 */ addi r0, r1, 0x28 +/* 8008AF74 00087ED4 90 61 00 08 */ stw r3, 8(r1) +/* 8008AF78 00087ED8 7F A3 EB 78 */ mr r3, r29 +/* 8008AF7C 00087EDC 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 8008AF80 00087EE0 38 A1 00 88 */ addi r5, r1, 0x88 +/* 8008AF84 00087EE4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8008AF88 00087EE8 38 C1 01 10 */ addi r6, r1, 0x110 +/* 8008AF8C 00087EEC 38 E1 00 70 */ addi r7, r1, 0x70 +/* 8008AF90 00087EF0 39 01 1D 14 */ addi r8, r1, 0x1d14 +/* 8008AF94 00087EF4 39 21 00 30 */ addi r9, r1, 0x30 +/* 8008AF98 00087EF8 39 41 00 10 */ addi r10, r1, 0x10 +/* 8008AF9C 00087EFC 48 0F 93 51 */ bl "DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd" +/* 8008AFA0 00087F00 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8008AFA4 00087F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008AFA8 00087F08 38 84 CA F8 */ addi r4, r4, lbl_803ECAF8@l +/* 8008AFAC 00087F0C 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8008AFB0 00087F10 90 81 00 88 */ stw r4, 0x88(r1) +/* 8008AFB4 00087F14 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l +/* 8008AFB8 00087F18 90 61 00 88 */ stw r3, 0x88(r1) +/* 8008AFBC 00087F1C 41 82 00 14 */ beq lbl_8008AFD0 +/* 8008AFC0 00087F20 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8008AFC4 00087F24 3B C0 00 00 */ li r30, 0 +/* 8008AFC8 00087F28 FC 00 00 18 */ frsp f0, f0 +/* 8008AFCC 00087F2C D0 1C 00 00 */ stfs f0, 0(r28) +lbl_8008AFD0: +/* 8008AFD0 00087F30 34 E1 01 E8 */ addic. r7, r1, 0x1e8 +/* 8008AFD4 00087F34 41 82 00 94 */ beq lbl_8008B068 +/* 8008AFD8 00087F38 38 C7 00 04 */ addi r6, r7, 4 +/* 8008AFDC 00087F3C 38 60 00 00 */ li r3, 0 +/* 8008AFE0 00087F40 48 00 00 74 */ b lbl_8008B054 +lbl_8008AFE4: +/* 8008AFE4 00087F44 28 06 00 00 */ cmplwi r6, 0 +/* 8008AFE8 00087F48 41 82 00 64 */ beq lbl_8008B04C +/* 8008AFEC 00087F4C 34 06 00 04 */ addic. r0, r6, 4 +/* 8008AFF0 00087F50 41 82 00 5C */ beq lbl_8008B04C +/* 8008AFF4 00087F54 81 06 00 04 */ lwz r8, 4(r6) +/* 8008AFF8 00087F58 38 80 00 00 */ li r4, 0 +/* 8008AFFC 00087F5C 2C 08 00 00 */ cmpwi r8, 0 +/* 8008B000 00087F60 40 81 00 44 */ ble lbl_8008B044 +/* 8008B004 00087F64 2C 08 00 08 */ cmpwi r8, 8 +/* 8008B008 00087F68 38 A8 FF F8 */ addi r5, r8, -8 +/* 8008B00C 00087F6C 40 81 00 20 */ ble lbl_8008B02C +/* 8008B010 00087F70 38 05 00 07 */ addi r0, r5, 7 +/* 8008B014 00087F74 54 00 E8 FE */ srwi r0, r0, 3 +/* 8008B018 00087F78 7C 09 03 A6 */ mtctr r0 +/* 8008B01C 00087F7C 2C 05 00 00 */ cmpwi r5, 0 +/* 8008B020 00087F80 40 81 00 0C */ ble lbl_8008B02C +lbl_8008B024: +/* 8008B024 00087F84 38 84 00 08 */ addi r4, r4, 8 +/* 8008B028 00087F88 42 00 FF FC */ bdnz lbl_8008B024 +lbl_8008B02C: +/* 8008B02C 00087F8C 7C 04 40 50 */ subf r0, r4, r8 +/* 8008B030 00087F90 7C 09 03 A6 */ mtctr r0 +/* 8008B034 00087F94 7C 04 40 00 */ cmpw r4, r8 +/* 8008B038 00087F98 40 80 00 0C */ bge lbl_8008B044 +lbl_8008B03C: +/* 8008B03C 00087F9C 38 84 00 01 */ addi r4, r4, 1 +/* 8008B040 00087FA0 42 00 FF FC */ bdnz lbl_8008B03C +lbl_8008B044: +/* 8008B044 00087FA4 38 00 00 00 */ li r0, 0 +/* 8008B048 00087FA8 90 06 00 04 */ stw r0, 4(r6) +lbl_8008B04C: +/* 8008B04C 00087FAC 38 C6 09 0C */ addi r6, r6, 0x90c +/* 8008B050 00087FB0 38 63 00 01 */ addi r3, r3, 1 +lbl_8008B054: +/* 8008B054 00087FB4 80 07 00 00 */ lwz r0, 0(r7) +/* 8008B058 00087FB8 7C 03 00 00 */ cmpw r3, r0 +/* 8008B05C 00087FBC 41 80 FF 88 */ blt lbl_8008AFE4 +/* 8008B060 00087FC0 38 00 00 00 */ li r0, 0 +/* 8008B064 00087FC4 90 07 00 00 */ stw r0, 0(r7) +lbl_8008B068: +/* 8008B068 00087FC8 80 A1 1D 14 */ lwz r5, 0x1d14(r1) +/* 8008B06C 00087FCC 38 60 00 00 */ li r3, 0 +/* 8008B070 00087FD0 2C 05 00 00 */ cmpwi r5, 0 +/* 8008B074 00087FD4 40 81 00 40 */ ble lbl_8008B0B4 +/* 8008B078 00087FD8 2C 05 00 08 */ cmpwi r5, 8 +/* 8008B07C 00087FDC 38 85 FF F8 */ addi r4, r5, -8 +/* 8008B080 00087FE0 40 81 00 20 */ ble lbl_8008B0A0 +/* 8008B084 00087FE4 38 04 00 07 */ addi r0, r4, 7 +/* 8008B088 00087FE8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8008B08C 00087FEC 7C 09 03 A6 */ mtctr r0 +/* 8008B090 00087FF0 2C 04 00 00 */ cmpwi r4, 0 +/* 8008B094 00087FF4 40 81 00 0C */ ble lbl_8008B0A0 +lbl_8008B098: +/* 8008B098 00087FF8 38 63 00 08 */ addi r3, r3, 8 +/* 8008B09C 00087FFC 42 00 FF FC */ bdnz lbl_8008B098 +lbl_8008B0A0: +/* 8008B0A0 00088000 7C 03 28 50 */ subf r0, r3, r5 +/* 8008B0A4 00088004 7C 09 03 A6 */ mtctr r0 +/* 8008B0A8 00088008 7C 03 28 00 */ cmpw r3, r5 +/* 8008B0AC 0008800C 40 80 00 08 */ bge lbl_8008B0B4 +lbl_8008B0B0: +/* 8008B0B0 00088010 42 00 00 00 */ bdnz lbl_8008B0B0 +lbl_8008B0B4: +/* 8008B0B4 00088014 38 00 00 00 */ li r0, 0 +/* 8008B0B8 00088018 90 01 1D 14 */ stw r0, 0x1d14(r1) +lbl_8008B0BC: +/* 8008B0BC 0008801C 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 8008B0C0 00088020 7C 00 00 34 */ cntlzw r0, r0 +/* 8008B0C4 00088024 54 03 D9 7E */ srwi r3, r0, 5 +lbl_8008B0C8: +/* 8008B0C8 00088028 38 00 25 88 */ li r0, 0x2588 +/* 8008B0CC 0008802C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 8008B0D0 00088030 CB E1 25 80 */ lfd f31, 0x2580(r1) +/* 8008B0D4 00088034 38 00 25 78 */ li r0, 0x2578 +/* 8008B0D8 00088038 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 8008B0DC 0008803C CB C1 25 70 */ lfd f30, 0x2570(r1) +/* 8008B0E0 00088040 38 00 25 68 */ li r0, 0x2568 +/* 8008B0E4 00088044 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 8008B0E8 00088048 CB A1 25 60 */ lfd f29, 0x2560(r1) +/* 8008B0EC 0008804C 38 00 25 58 */ li r0, 0x2558 +/* 8008B0F0 00088050 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 +/* 8008B0F4 00088054 CB 81 25 50 */ lfd f28, 0x2550(r1) +/* 8008B0F8 00088058 38 00 25 48 */ li r0, 0x2548 +/* 8008B0FC 0008805C 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 +/* 8008B100 00088060 CB 61 25 40 */ lfd f27, 0x2540(r1) +/* 8008B104 00088064 BB 21 25 24 */ lmw r25, 0x2524(r1) +/* 8008B108 00088068 80 01 25 94 */ lwz r0, 0x2594(r1) +/* 8008B10C 0008806C 7C 08 03 A6 */ mtlr r0 +/* 8008B110 00088070 38 21 25 90 */ addi r1, r1, 0x2590 +/* 8008B114 00088074 4E 80 00 20 */ blr + +.global "AvoidGeometry__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +"AvoidGeometry__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager": +/* 8008B118 00088078 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008B11C 0008807C 7C 08 02 A6 */ mflr r0 +/* 8008B120 00088080 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008B124 00088084 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008B128 00088088 7C 9F 23 78 */ mr r31, r4 +/* 8008B12C 0008808C 93 C1 00 08 */ stw r30, 8(r1) +/* 8008B130 00088090 7C 7E 1B 78 */ mr r30, r3 +/* 8008B134 00088094 80 04 03 28 */ lwz r0, 0x328(r4) +/* 8008B138 00088098 2C 00 00 02 */ cmpwi r0, 2 +/* 8008B13C 0008809C 41 82 00 7C */ beq lbl_8008B1B8 +/* 8008B140 000880A0 40 80 00 14 */ bge lbl_8008B154 +/* 8008B144 000880A4 2C 00 00 00 */ cmpwi r0, 0 +/* 8008B148 000880A8 41 82 00 18 */ beq lbl_8008B160 +/* 8008B14C 000880AC 40 80 00 40 */ bge lbl_8008B18C +/* 8008B150 000880B0 48 00 00 BC */ b lbl_8008B20C +lbl_8008B154: +/* 8008B154 000880B4 2C 00 00 04 */ cmpwi r0, 4 +/* 8008B158 000880B8 40 80 00 B4 */ bge lbl_8008B20C +/* 8008B15C 000880BC 48 00 00 88 */ b lbl_8008B1E4 +lbl_8008B160: +/* 8008B160 000880C0 FC 40 08 90 */ fmr f2, f1 +/* 8008B164 000880C4 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) +/* 8008B168 000880C8 7F E3 FB 78 */ mr r3, r31 +/* 8008B16C 000880CC 7C A4 2B 78 */ mr r4, r5 +/* 8008B170 000880D0 7C C8 33 78 */ mr r8, r6 +/* 8008B174 000880D4 7C E9 3B 78 */ mr r9, r7 +/* 8008B178 000880D8 38 BF 02 64 */ addi r5, r31, 0x264 +/* 8008B17C 000880DC 38 DF 02 D0 */ addi r6, r31, 0x2d0 +/* 8008B180 000880E0 38 E0 00 01 */ li r7, 1 +/* 8008B184 000880E4 48 00 07 49 */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +/* 8008B188 000880E8 48 00 00 84 */ b lbl_8008B20C +lbl_8008B18C: +/* 8008B18C 000880EC FC 40 08 90 */ fmr f2, f1 +/* 8008B190 000880F0 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) +/* 8008B194 000880F4 7F E3 FB 78 */ mr r3, r31 +/* 8008B198 000880F8 7C A4 2B 78 */ mr r4, r5 +/* 8008B19C 000880FC 7C C8 33 78 */ mr r8, r6 +/* 8008B1A0 00088100 7C E9 3B 78 */ mr r9, r7 +/* 8008B1A4 00088104 38 BF 02 74 */ addi r5, r31, 0x274 +/* 8008B1A8 00088108 38 DF 02 D4 */ addi r6, r31, 0x2d4 +/* 8008B1AC 0008810C 38 E0 00 03 */ li r7, 3 +/* 8008B1B0 00088110 48 00 07 1D */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +/* 8008B1B4 00088114 48 00 00 58 */ b lbl_8008B20C +lbl_8008B1B8: +/* 8008B1B8 00088118 FC 40 08 90 */ fmr f2, f1 +/* 8008B1BC 0008811C C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) +/* 8008B1C0 00088120 7F E3 FB 78 */ mr r3, r31 +/* 8008B1C4 00088124 7C A4 2B 78 */ mr r4, r5 +/* 8008B1C8 00088128 7C C8 33 78 */ mr r8, r6 +/* 8008B1CC 0008812C 7C E9 3B 78 */ mr r9, r7 +/* 8008B1D0 00088130 38 BF 02 84 */ addi r5, r31, 0x284 +/* 8008B1D4 00088134 38 DF 02 D8 */ addi r6, r31, 0x2d8 +/* 8008B1D8 00088138 38 E0 00 04 */ li r7, 4 +/* 8008B1DC 0008813C 48 00 06 F1 */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +/* 8008B1E0 00088140 48 00 00 2C */ b lbl_8008B20C +lbl_8008B1E4: +/* 8008B1E4 00088144 FC 40 08 90 */ fmr f2, f1 +/* 8008B1E8 00088148 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) +/* 8008B1EC 0008814C 7F E3 FB 78 */ mr r3, r31 +/* 8008B1F0 00088150 7C A4 2B 78 */ mr r4, r5 +/* 8008B1F4 00088154 7C C8 33 78 */ mr r8, r6 +/* 8008B1F8 00088158 7C E9 3B 78 */ mr r9, r7 +/* 8008B1FC 0008815C 38 BF 02 84 */ addi r5, r31, 0x284 +/* 8008B200 00088160 38 DF 02 D8 */ addi r6, r31, 0x2d8 +/* 8008B204 00088164 38 E0 00 04 */ li r7, 4 +/* 8008B208 00088168 48 00 06 C5 */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +lbl_8008B20C: +/* 8008B20C 0008816C 80 7F 03 28 */ lwz r3, 0x328(r31) +/* 8008B210 00088170 38 03 00 01 */ addi r0, r3, 1 +/* 8008B214 00088174 2C 00 00 04 */ cmpwi r0, 4 +/* 8008B218 00088178 90 1F 03 28 */ stw r0, 0x328(r31) +/* 8008B21C 0008817C 41 80 00 0C */ blt lbl_8008B228 +/* 8008B220 00088180 38 00 00 00 */ li r0, 0 +/* 8008B224 00088184 90 1F 03 28 */ stw r0, 0x328(r31) +lbl_8008B228: +/* 8008B228 00088188 7F C3 F3 78 */ mr r3, r30 +/* 8008B22C 0008818C 7F E4 FB 78 */ mr r4, r31 +/* 8008B230 00088190 48 00 02 1D */ bl ApplyColliders__11CBallCameraFv +/* 8008B234 00088194 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008B238 00088198 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008B23C 0008819C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8008B240 000881A0 7C 08 03 A6 */ mtlr r0 +/* 8008B244 000881A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008B248 000881A8 4E 80 00 20 */ blr + +.global "AvoidGeometryFull__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +"AvoidGeometryFull__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager": +/* 8008B24C 000881AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8008B250 000881B0 7C 08 02 A6 */ mflr r0 +/* 8008B254 000881B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8008B258 000881B8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8008B25C 000881BC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8008B260 000881C0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8008B264 000881C4 FF E0 08 90 */ fmr f31, f1 +/* 8008B268 000881C8 7C DE 33 78 */ mr r30, r6 +/* 8008B26C 000881CC 7C 9C 23 78 */ mr r28, r4 +/* 8008B270 000881D0 7C BD 2B 78 */ mr r29, r5 +/* 8008B274 000881D4 7C FF 3B 78 */ mr r31, r7 +/* 8008B278 000881D8 7C 7B 1B 78 */ mr r27, r3 +/* 8008B27C 000881DC FC 40 F8 90 */ fmr f2, f31 +/* 8008B280 000881E0 80 E4 02 68 */ lwz r7, 0x268(r4) +/* 8008B284 000881E4 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) +/* 8008B288 000881E8 7F 83 E3 78 */ mr r3, r28 +/* 8008B28C 000881EC 7F A4 EB 78 */ mr r4, r29 +/* 8008B290 000881F0 7F C8 F3 78 */ mr r8, r30 +/* 8008B294 000881F4 7F E9 FB 78 */ mr r9, r31 +/* 8008B298 000881F8 38 BC 02 64 */ addi r5, r28, 0x264 +/* 8008B29C 000881FC 38 DC 02 D0 */ addi r6, r28, 0x2d0 +/* 8008B2A0 00088200 48 00 06 2D */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +/* 8008B2A4 00088204 FC 40 F8 90 */ fmr f2, f31 +/* 8008B2A8 00088208 80 FC 02 78 */ lwz r7, 0x278(r28) +/* 8008B2AC 0008820C C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) +/* 8008B2B0 00088210 7F 83 E3 78 */ mr r3, r28 +/* 8008B2B4 00088214 7F A4 EB 78 */ mr r4, r29 +/* 8008B2B8 00088218 7F C8 F3 78 */ mr r8, r30 +/* 8008B2BC 0008821C 7F E9 FB 78 */ mr r9, r31 +/* 8008B2C0 00088220 38 BC 02 74 */ addi r5, r28, 0x274 +/* 8008B2C4 00088224 38 DC 02 D4 */ addi r6, r28, 0x2d4 +/* 8008B2C8 00088228 48 00 06 05 */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +/* 8008B2CC 0008822C FC 40 F8 90 */ fmr f2, f31 +/* 8008B2D0 00088230 80 FC 02 88 */ lwz r7, 0x288(r28) +/* 8008B2D4 00088234 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) +/* 8008B2D8 00088238 7F 83 E3 78 */ mr r3, r28 +/* 8008B2DC 0008823C 7F A4 EB 78 */ mr r4, r29 +/* 8008B2E0 00088240 7F C8 F3 78 */ mr r8, r30 +/* 8008B2E4 00088244 7F E9 FB 78 */ mr r9, r31 +/* 8008B2E8 00088248 38 BC 02 84 */ addi r5, r28, 0x284 +/* 8008B2EC 0008824C 38 DC 02 D8 */ addi r6, r28, 0x2d8 +/* 8008B2F0 00088250 48 00 05 DD */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +/* 8008B2F4 00088254 7F 63 DB 78 */ mr r3, r27 +/* 8008B2F8 00088258 7F 84 E3 78 */ mr r4, r28 +/* 8008B2FC 0008825C 48 00 01 51 */ bl ApplyColliders__11CBallCameraFv +/* 8008B300 00088260 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8008B304 00088264 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8008B308 00088268 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8008B30C 0008826C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8008B310 00088270 7C 08 03 A6 */ mtlr r0 +/* 8008B314 00088274 38 21 00 30 */ addi r1, r1, 0x30 +/* 8008B318 00088278 4E 80 00 20 */ blr + +.global "CalculateCollidersBoundingBox__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RC13CStateManager" +"CalculateCollidersBoundingBox__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RC13CStateManager": +/* 8008B31C 0008827C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8008B320 00088280 7C 08 02 A6 */ mflr r0 +/* 8008B324 00088284 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 8008B328 00088288 90 01 00 54 */ stw r0, 0x54(r1) +/* 8008B32C 0008828C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8008B330 00088290 7C 7B 1B 78 */ mr r27, r3 +/* 8008B334 00088294 38 64 67 54 */ addi r3, r4, lbl_805A6754@l +/* 8008B338 00088298 7C BC 2B 78 */ mr r28, r5 +/* 8008B33C 0008829C 7C DD 33 78 */ mr r29, r6 +/* 8008B340 000882A0 3B C0 00 00 */ li r30, 0 +/* 8008B344 000882A4 3B E0 00 00 */ li r31, 0 +/* 8008B348 000882A8 C0 A3 00 00 */ lfs f5, 0(r3) +/* 8008B34C 000882AC C0 83 00 04 */ lfs f4, 4(r3) +/* 8008B350 000882B0 C0 63 00 08 */ lfs f3, 8(r3) +/* 8008B354 000882B4 C0 43 00 0C */ lfs f2, 0xc(r3) +/* 8008B358 000882B8 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 8008B35C 000882BC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8008B360 000882C0 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8008B364 000882C4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8008B368 000882C8 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8008B36C 000882CC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8008B370 000882D0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8008B374 000882D4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8008B378 000882D8 48 00 00 20 */ b lbl_8008B398 +lbl_8008B37C: +/* 8008B37C 000882DC 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 8008B380 000882E0 38 9F 00 2C */ addi r4, r31, 0x2c +/* 8008B384 000882E4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8008B388 000882E8 7C 80 22 14 */ add r4, r0, r4 +/* 8008B38C 000882EC 48 2A C7 7D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8008B390 000882F0 3B FF 00 54 */ addi r31, r31, 0x54 +/* 8008B394 000882F4 3B DE 00 01 */ addi r30, r30, 1 +lbl_8008B398: +/* 8008B398 000882F8 80 1C 00 04 */ lwz r0, 4(r28) +/* 8008B39C 000882FC 7C 1E 00 00 */ cmpw r30, r0 +/* 8008B3A0 00088300 41 80 FF DC */ blt lbl_8008B37C +/* 8008B3A4 00088304 80 BD 08 4C */ lwz r5, 0x84c(r29) +/* 8008B3A8 00088308 38 61 00 14 */ addi r3, r1, 0x14 +/* 8008B3AC 0008830C 38 81 00 08 */ addi r4, r1, 8 +/* 8008B3B0 00088310 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8008B3B4 00088314 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8008B3B8 00088318 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8008B3BC 0008831C D0 01 00 08 */ stfs f0, 8(r1) +/* 8008B3C0 00088320 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8008B3C4 00088324 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8008B3C8 00088328 48 2A C7 41 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8008B3CC 0008832C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8008B3D0 00088330 D0 1B 00 00 */ stfs f0, 0(r27) +/* 8008B3D4 00088334 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8008B3D8 00088338 D0 1B 00 04 */ stfs f0, 4(r27) +/* 8008B3DC 0008833C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8008B3E0 00088340 D0 1B 00 08 */ stfs f0, 8(r27) +/* 8008B3E4 00088344 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8008B3E8 00088348 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 8008B3EC 0008834C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8008B3F0 00088350 D0 1B 00 10 */ stfs f0, 0x10(r27) +/* 8008B3F4 00088354 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8008B3F8 00088358 D0 1B 00 14 */ stfs f0, 0x14(r27) +/* 8008B3FC 0008835C BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8008B400 00088360 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8008B404 00088364 7C 08 03 A6 */ mtlr r0 +/* 8008B408 00088368 38 21 00 50 */ addi r1, r1, 0x50 +/* 8008B40C 0008836C 4E 80 00 20 */ blr + +.global "CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>" +"CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>": +/* 8008B410 00088370 80 04 00 04 */ lwz r0, 4(r4) +/* 8008B414 00088374 38 60 00 00 */ li r3, 0 +/* 8008B418 00088378 38 C0 00 00 */ li r6, 0 +/* 8008B41C 0008837C 7C 09 03 A6 */ mtctr r0 +/* 8008B420 00088380 2C 00 00 00 */ cmpwi r0, 0 +/* 8008B424 00088384 4C 81 00 20 */ blelr +lbl_8008B428: +/* 8008B428 00088388 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 8008B42C 0008838C 38 06 00 4C */ addi r0, r6, 0x4c +/* 8008B430 00088390 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8008B434 00088394 2C 00 00 02 */ cmpwi r0, 2 +/* 8008B438 00088398 41 80 00 08 */ blt lbl_8008B440 +/* 8008B43C 0008839C 38 63 00 01 */ addi r3, r3, 1 +lbl_8008B440: +/* 8008B440 000883A0 38 C6 00 54 */ addi r6, r6, 0x54 +/* 8008B444 000883A4 42 00 FF E4 */ bdnz lbl_8008B428 + +.global sub_8008b448 +sub_8008b448: +/* 8008B448 000883A8 4E 80 00 20 */ blr + +.global ApplyColliders__11CBallCameraFv +ApplyColliders__11CBallCameraFv: +/* 8008B44C 000883AC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8008B450 000883B0 7C 08 02 A6 */ mflr r0 +/* 8008B454 000883B4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8008B458 000883B8 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8008B45C 000883BC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8008B460 000883C0 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8008B464 000883C4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8008B468 000883C8 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8008B46C 000883CC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8008B470 000883D0 DB 81 00 60 */ stfd f28, 0x60(r1) +/* 8008B474 000883D4 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 8008B478 000883D8 DB 61 00 50 */ stfd f27, 0x50(r1) +/* 8008B47C 000883DC F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 +/* 8008B480 000883E0 DB 41 00 40 */ stfd f26, 0x40(r1) +/* 8008B484 000883E4 F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 +/* 8008B488 000883E8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8008B48C 000883EC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8008B490 000883F0 7C 9F 23 78 */ mr r31, r4 +/* 8008B494 000883F4 7C 7E 1B 78 */ mr r30, r3 +/* 8008B498 000883F8 80 C4 02 C4 */ lwz r6, 0x2c4(r4) +/* 8008B49C 000883FC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8008B4A0 00088400 38 BF 02 64 */ addi r5, r31, 0x264 +/* 8008B4A4 00088404 48 00 02 B9 */ bl "CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i" +/* 8008B4A8 00088408 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 8008B4AC 0008840C 7F E4 FB 78 */ mr r4, r31 +/* 8008B4B0 00088410 C3 E1 00 28 */ lfs f31, 0x28(r1) +/* 8008B4B4 00088414 38 61 00 18 */ addi r3, r1, 0x18 +/* 8008B4B8 00088418 C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 8008B4BC 0008841C 38 BF 02 74 */ addi r5, r31, 0x274 +/* 8008B4C0 00088420 80 DF 02 C8 */ lwz r6, 0x2c8(r31) +/* 8008B4C4 00088424 48 00 02 99 */ bl "CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i" +/* 8008B4C8 00088428 C3 81 00 18 */ lfs f28, 0x18(r1) +/* 8008B4CC 0008842C 7F E4 FB 78 */ mr r4, r31 +/* 8008B4D0 00088430 C3 61 00 1C */ lfs f27, 0x1c(r1) +/* 8008B4D4 00088434 38 61 00 0C */ addi r3, r1, 0xc +/* 8008B4D8 00088438 C3 41 00 20 */ lfs f26, 0x20(r1) +/* 8008B4DC 0008843C 38 BF 02 84 */ addi r5, r31, 0x284 +/* 8008B4E0 00088440 80 DF 02 CC */ lwz r6, 0x2cc(r31) +/* 8008B4E4 00088444 48 00 02 79 */ bl "CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i" +/* 8008B4E8 00088448 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008B4EC 0008844C C0 61 00 0C */ lfs f3, 0xc(r1) +/* 8008B4F0 00088450 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 8008B4F4 00088454 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 8008B4F8 00088458 C0 A1 00 14 */ lfs f5, 0x14(r1) +/* 8008B4FC 0008845C 40 82 00 14 */ bne lbl_8008B510 +/* 8008B500 00088460 D3 DF 02 A0 */ stfs f30, 0x2a0(r31) +/* 8008B504 00088464 D3 FF 02 A4 */ stfs f31, 0x2a4(r31) +/* 8008B508 00088468 D3 BF 02 A8 */ stfs f29, 0x2a8(r31) +/* 8008B50C 0008846C 48 00 00 20 */ b lbl_8008B52C +lbl_8008B510: +/* 8008B510 00088470 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8008B514 00088474 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8008B518 00088478 D0 1F 02 A0 */ stfs f0, 0x2a0(r31) +/* 8008B51C 0008847C C0 03 00 04 */ lfs f0, 4(r3) +/* 8008B520 00088480 D0 1F 02 A4 */ stfs f0, 0x2a4(r31) +/* 8008B524 00088484 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008B528 00088488 D0 1F 02 A8 */ stfs f0, 0x2a8(r31) +lbl_8008B52C: +/* 8008B52C 0008848C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008B530 00088490 C3 FF 02 A0 */ lfs f31, 0x2a0(r31) +/* 8008B534 00088494 FC 00 D8 00 */ fcmpu cr0, f0, f27 +/* 8008B538 00088498 C3 DF 02 A8 */ lfs f30, 0x2a8(r31) +/* 8008B53C 0008849C 40 82 00 14 */ bne lbl_8008B550 +/* 8008B540 000884A0 D3 9F 02 AC */ stfs f28, 0x2ac(r31) +/* 8008B544 000884A4 D3 7F 02 B0 */ stfs f27, 0x2b0(r31) +/* 8008B548 000884A8 D3 5F 02 B4 */ stfs f26, 0x2b4(r31) +/* 8008B54C 000884AC 48 00 00 20 */ b lbl_8008B56C +lbl_8008B550: +/* 8008B550 000884B0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8008B554 000884B4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8008B558 000884B8 D0 1F 02 AC */ stfs f0, 0x2ac(r31) +/* 8008B55C 000884BC C0 03 00 04 */ lfs f0, 4(r3) +/* 8008B560 000884C0 D0 1F 02 B0 */ stfs f0, 0x2b0(r31) +/* 8008B564 000884C4 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008B568 000884C8 D0 1F 02 B4 */ stfs f0, 0x2b4(r31) +lbl_8008B56C: +/* 8008B56C 000884CC C0 5F 02 AC */ lfs f2, 0x2ac(r31) +/* 8008B570 000884D0 C0 3F 02 B4 */ lfs f1, 0x2b4(r31) +/* 8008B574 000884D4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008B578 000884D8 EF FF 10 2A */ fadds f31, f31, f2 +/* 8008B57C 000884DC EF DE 08 2A */ fadds f30, f30, f1 +/* 8008B580 000884E0 FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 8008B584 000884E4 40 82 00 14 */ bne lbl_8008B598 +/* 8008B588 000884E8 D0 7F 02 B8 */ stfs f3, 0x2b8(r31) +/* 8008B58C 000884EC D0 9F 02 BC */ stfs f4, 0x2bc(r31) +/* 8008B590 000884F0 D0 BF 02 C0 */ stfs f5, 0x2c0(r31) +/* 8008B594 000884F4 48 00 00 20 */ b lbl_8008B5B4 +lbl_8008B598: +/* 8008B598 000884F8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8008B59C 000884FC C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8008B5A0 00088500 D0 1F 02 B8 */ stfs f0, 0x2b8(r31) +/* 8008B5A4 00088504 C0 03 00 04 */ lfs f0, 4(r3) +/* 8008B5A8 00088508 D0 1F 02 BC */ stfs f0, 0x2bc(r31) +/* 8008B5AC 0008850C C0 03 00 08 */ lfs f0, 8(r3) +/* 8008B5B0 00088510 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) +lbl_8008B5B4: +/* 8008B5B4 00088514 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008B5B8 00088518 C0 3F 02 B8 */ lfs f1, 0x2b8(r31) +/* 8008B5BC 0008851C C0 1F 02 C0 */ lfs f0, 0x2c0(r31) +/* 8008B5C0 00088520 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8008B5C4 00088524 EF FF 08 2A */ fadds f31, f31, f1 +/* 8008B5C8 00088528 EF DE 00 2A */ fadds f30, f30, f0 +/* 8008B5CC 0008852C 41 82 00 0C */ beq lbl_8008B5D8 +/* 8008B5D0 00088530 C0 02 8A 5C */ lfs f0, lbl_805AA77C@sda21(r2) +/* 8008B5D4 00088534 EF FF 00 24 */ fdivs f31, f31, f0 +lbl_8008B5D8: +/* 8008B5D8 00088538 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) +/* 8008B5DC 0008853C 28 00 00 00 */ cmplwi r0, 0 +/* 8008B5E0 00088540 EF DE 00 24 */ fdivs f30, f30, f0 +/* 8008B5E4 00088544 40 82 00 B0 */ bne lbl_8008B694 +/* 8008B5E8 00088548 A0 7F 03 68 */ lhz r3, 0x368(r31) +/* 8008B5EC 0008854C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008B5F0 00088550 7C 03 00 40 */ cmplw r3, r0 +/* 8008B5F4 00088554 40 82 00 A0 */ bne lbl_8008B694 +/* 8008B5F8 00088558 80 BF 03 50 */ lwz r5, 0x350(r31) +/* 8008B5FC 0008855C 38 80 00 00 */ li r4, 0 +/* 8008B600 00088560 80 DF 03 54 */ lwz r6, 0x354(r31) +/* 8008B604 00088564 3C 60 80 00 */ lis r3, 0x8000 +/* 8008B608 00088568 7C A0 20 38 */ and r0, r5, r4 +/* 8008B60C 0008856C C3 42 8A 5C */ lfs f26, lbl_805AA77C@sda21(r2) +/* 8008B610 00088570 7C C3 18 38 */ and r3, r6, r3 +/* 8008B614 00088574 C3 62 89 B8 */ lfs f27, lbl_805AA6D8@sda21(r2) +/* 8008B618 00088578 7C 63 22 78 */ xor r3, r3, r4 +/* 8008B61C 0008857C 7C 00 22 78 */ xor r0, r0, r4 +/* 8008B620 00088580 7C 60 03 79 */ or. r0, r3, r0 +/* 8008B624 00088584 41 82 00 08 */ beq lbl_8008B62C +/* 8008B628 00088588 38 80 00 01 */ li r4, 1 +lbl_8008B62C: +/* 8008B62C 0008858C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8008B630 00088590 41 82 00 10 */ beq lbl_8008B640 +/* 8008B634 00088594 C0 22 89 E0 */ lfs f1, lbl_805AA700@sda21(r2) +/* 8008B638 00088598 C0 1F 03 58 */ lfs f0, 0x358(r31) +/* 8008B63C 0008859C EF 61 D8 3A */ fmadds f27, f1, f0, f27 +lbl_8008B640: +/* 8008B640 000885A0 3C 00 40 00 */ lis r0, 0x4000 +/* 8008B644 000885A4 38 80 00 00 */ li r4, 0 +/* 8008B648 000885A8 7C C3 00 38 */ and r3, r6, r0 +/* 8008B64C 000885AC 7C A0 20 38 */ and r0, r5, r4 +/* 8008B650 000885B0 7C 63 22 78 */ xor r3, r3, r4 +/* 8008B654 000885B4 7C 00 22 78 */ xor r0, r0, r4 +/* 8008B658 000885B8 7C 60 03 79 */ or. r0, r3, r0 +/* 8008B65C 000885BC 41 82 00 30 */ beq lbl_8008B68C +/* 8008B660 000885C0 C0 3F 03 58 */ lfs f1, 0x358(r31) +/* 8008B664 000885C4 38 81 00 08 */ addi r4, r1, 8 +/* 8008B668 000885C8 C0 02 8A 04 */ lfs f0, lbl_805AA724@sda21(r2) +/* 8008B66C 000885CC 38 6D 84 7C */ addi r3, r13, lbl_805A703C@sda21 +/* 8008B670 000885D0 38 AD 84 80 */ addi r5, r13, lbl_805A7040@sda21 +/* 8008B674 000885D4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8008B678 000885D8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8008B67C 000885DC 4B F8 0C 39 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8008B680 000885E0 C0 23 00 00 */ lfs f1, 0(r3) +/* 8008B684 000885E4 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) +/* 8008B688 000885E8 EF 40 D0 7A */ fmadds f26, f0, f1, f26 +lbl_8008B68C: +/* 8008B68C 000885EC EF FF 06 B2 */ fmuls f31, f31, f26 +/* 8008B690 000885F0 EF DE 06 F2 */ fmuls f30, f30, f27 +lbl_8008B694: +/* 8008B694 000885F4 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008B698 000885F8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8008B69C 000885FC 40 82 00 24 */ bne lbl_8008B6C0 +/* 8008B6A0 00088600 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8008B6A4 00088604 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8008B6A8 00088608 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8008B6AC 0008860C C0 03 00 04 */ lfs f0, 4(r3) +/* 8008B6B0 00088610 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8008B6B4 00088614 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008B6B8 00088618 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8008B6BC 0008861C 48 00 00 58 */ b lbl_8008B714 +lbl_8008B6C0: +/* 8008B6C0 00088620 FC 20 FA 10 */ fabs f1, f31 +/* 8008B6C4 00088624 C0 02 8A A8 */ lfs f0, lbl_805AA7C8@sda21(r2) +/* 8008B6C8 00088628 FC 20 08 18 */ frsp f1, f1 +/* 8008B6CC 0008862C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008B6D0 00088630 40 80 00 08 */ bge lbl_8008B6D8 +/* 8008B6D4 00088634 C3 E2 89 B0 */ lfs f31, lbl_805AA6D0@sda21(r2) +lbl_8008B6D8: +/* 8008B6D8 00088638 FC 20 F2 10 */ fabs f1, f30 +/* 8008B6DC 0008863C C0 02 8A A8 */ lfs f0, lbl_805AA7C8@sda21(r2) +/* 8008B6E0 00088640 FC 20 08 18 */ frsp f1, f1 +/* 8008B6E4 00088644 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008B6E8 00088648 40 80 00 08 */ bge lbl_8008B6F0 +/* 8008B6EC 0008864C C3 C2 89 B0 */ lfs f30, lbl_805AA6D0@sda21(r2) +lbl_8008B6F0: +/* 8008B6F0 00088650 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008B6F4 00088654 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8008B6F8 00088658 41 82 00 0C */ beq lbl_8008B704 +/* 8008B6FC 0008865C C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) +/* 8008B700 00088660 EF DE 00 32 */ fmuls f30, f30, f0 +lbl_8008B704: +/* 8008B704 00088664 D3 FE 00 00 */ stfs f31, 0(r30) +/* 8008B708 00088668 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008B70C 0008866C D0 1E 00 04 */ stfs f0, 4(r30) +/* 8008B710 00088670 D3 DE 00 08 */ stfs f30, 8(r30) +lbl_8008B714: +/* 8008B714 00088674 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8008B718 00088678 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8008B71C 0008867C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8008B720 00088680 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8008B724 00088684 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8008B728 00088688 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8008B72C 0008868C E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 8008B730 00088690 CB 81 00 60 */ lfd f28, 0x60(r1) +/* 8008B734 00088694 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 +/* 8008B738 00088698 CB 61 00 50 */ lfd f27, 0x50(r1) +/* 8008B73C 0008869C E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 +/* 8008B740 000886A0 CB 41 00 40 */ lfd f26, 0x40(r1) +/* 8008B744 000886A4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8008B748 000886A8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8008B74C 000886AC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8008B750 000886B0 7C 08 03 A6 */ mtlr r0 +/* 8008B754 000886B4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8008B758 000886B8 4E 80 00 20 */ blr + +.global "CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i" +"CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i": +/* 8008B75C 000886BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8008B760 000886C0 81 25 00 04 */ lwz r9, 4(r5) +/* 8008B764 000886C4 2C 09 00 03 */ cmpwi r9, 3 +/* 8008B768 000886C8 40 80 00 1C */ bge lbl_8008B784 +/* 8008B76C 000886CC C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 8008B770 000886D0 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 8008B774 000886D4 D0 23 00 00 */ stfs f1, 0(r3) +/* 8008B778 000886D8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8008B77C 000886DC D0 23 00 08 */ stfs f1, 8(r3) +/* 8008B780 000886E0 48 00 01 44 */ b lbl_8008B8C4 +lbl_8008B784: +/* 8008B784 000886E4 C0 C2 89 B0 */ lfs f6, lbl_805AA6D0@sda21(r2) +/* 8008B788 000886E8 38 09 FF FF */ addi r0, r9, -1 +/* 8008B78C 000886EC 39 40 00 00 */ li r10, 0 +/* 8008B790 000886F0 39 60 00 00 */ li r11, 0 +/* 8008B794 000886F4 FC E0 30 90 */ fmr f7, f6 +/* 8008B798 000886F8 38 C0 00 00 */ li r6, 0 +/* 8008B79C 000886FC FD 00 30 90 */ fmr f8, f6 +/* 8008B7A0 00088700 7D 29 03 A6 */ mtctr r9 +/* 8008B7A4 00088704 2C 09 00 00 */ cmpwi r9, 0 +/* 8008B7A8 00088708 40 81 00 84 */ ble lbl_8008B82C +lbl_8008B7AC: +/* 8008B7AC 0008870C 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008B7B0 00088710 80 E5 00 0C */ lwz r7, 0xc(r5) +/* 8008B7B4 00088714 7D 07 02 14 */ add r8, r7, r0 +/* 8008B7B8 00088718 80 08 00 4C */ lwz r0, 0x4c(r8) +/* 8008B7BC 0008871C 2C 00 00 02 */ cmpwi r0, 2 +/* 8008B7C0 00088720 40 80 00 58 */ bge lbl_8008B818 +/* 8008B7C4 00088724 7C E7 32 14 */ add r7, r7, r6 +/* 8008B7C8 00088728 80 07 00 4C */ lwz r0, 0x4c(r7) +/* 8008B7CC 0008872C 2C 00 00 02 */ cmpwi r0, 2 +/* 8008B7D0 00088730 40 80 00 48 */ bge lbl_8008B818 +/* 8008B7D4 00088734 C0 A8 00 50 */ lfs f5, 0x50(r8) +/* 8008B7D8 00088738 C0 28 00 10 */ lfs f1, 0x10(r8) +/* 8008B7DC 0008873C C0 07 00 08 */ lfs f0, 8(r7) +/* 8008B7E0 00088740 C0 48 00 08 */ lfs f2, 8(r8) +/* 8008B7E4 00088744 EC 65 00 72 */ fmuls f3, f5, f1 +/* 8008B7E8 00088748 EC 25 00 32 */ fmuls f1, f5, f0 +/* 8008B7EC 0008874C C0 07 00 10 */ lfs f0, 0x10(r7) +/* 8008B7F0 00088750 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 8008B7F4 00088754 EC A5 00 32 */ fmuls f5, f5, f0 +/* 8008B7F8 00088758 EC 41 00 F2 */ fmuls f2, f1, f3 +/* 8008B7FC 0008875C EC 21 20 2A */ fadds f1, f1, f4 +/* 8008B800 00088760 EC 05 18 2A */ fadds f0, f5, f3 +/* 8008B804 00088764 EC 44 11 78 */ fmsubs f2, f4, f5, f2 +/* 8008B808 00088768 EC C6 10 2A */ fadds f6, f6, f2 +/* 8008B80C 0008876C EC E2 38 7A */ fmadds f7, f2, f1, f7 +/* 8008B810 00088770 ED 02 40 3A */ fmadds f8, f2, f0, f8 +/* 8008B814 00088774 48 00 00 08 */ b lbl_8008B81C +lbl_8008B818: +/* 8008B818 00088778 39 4A 00 01 */ addi r10, r10, 1 +lbl_8008B81C: +/* 8008B81C 0008877C 7D 60 5B 78 */ mr r0, r11 +/* 8008B820 00088780 38 C6 00 54 */ addi r6, r6, 0x54 +/* 8008B824 00088784 39 6B 00 01 */ addi r11, r11, 1 +/* 8008B828 00088788 42 00 FF 84 */ bdnz lbl_8008B7AC +lbl_8008B82C: +/* 8008B82C 0008878C 3C A0 43 30 */ lis r5, 0x4330 +/* 8008B830 00088790 6D 46 80 00 */ xoris r6, r10, 0x8000 +/* 8008B834 00088794 6D 20 80 00 */ xoris r0, r9, 0x8000 +/* 8008B838 00088798 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8008B83C 0008879C C8 62 89 C8 */ lfd f3, lbl_805AA6E8@sda21(r2) +/* 8008B840 000887A0 90 A1 00 08 */ stw r5, 8(r1) +/* 8008B844 000887A4 C0 04 03 30 */ lfs f0, 0x330(r4) +/* 8008B848 000887A8 C8 21 00 08 */ lfd f1, 8(r1) +/* 8008B84C 000887AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008B850 000887B0 EC 41 18 28 */ fsubs f2, f1, f3 +/* 8008B854 000887B4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8008B858 000887B8 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 8008B85C 000887BC EC 21 18 28 */ fsubs f1, f1, f3 +/* 8008B860 000887C0 EC 22 08 24 */ fdivs f1, f2, f1 +/* 8008B864 000887C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008B868 000887C8 4C 40 13 82 */ cror 2, 0, 2 +/* 8008B86C 000887CC 40 82 00 1C */ bne lbl_8008B888 +/* 8008B870 000887D0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 8008B874 000887D4 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 8008B878 000887D8 D0 23 00 00 */ stfs f1, 0(r3) +/* 8008B87C 000887DC D0 03 00 04 */ stfs f0, 4(r3) +/* 8008B880 000887E0 D0 23 00 08 */ stfs f1, 8(r3) +/* 8008B884 000887E4 48 00 00 40 */ b lbl_8008B8C4 +lbl_8008B888: +/* 8008B888 000887E8 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 8008B88C 000887EC FC 01 30 00 */ fcmpu cr0, f1, f6 +/* 8008B890 000887F0 41 82 00 24 */ beq lbl_8008B8B4 +/* 8008B894 000887F4 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) +/* 8008B898 000887F8 EC 40 01 B2 */ fmuls f2, f0, f6 +/* 8008B89C 000887FC EC 07 10 24 */ fdivs f0, f7, f2 +/* 8008B8A0 00088800 D0 03 00 00 */ stfs f0, 0(r3) +/* 8008B8A4 00088804 EC 08 10 24 */ fdivs f0, f8, f2 +/* 8008B8A8 00088808 D0 23 00 04 */ stfs f1, 4(r3) +/* 8008B8AC 0008880C D0 03 00 08 */ stfs f0, 8(r3) +/* 8008B8B0 00088810 48 00 00 14 */ b lbl_8008B8C4 +lbl_8008B8B4: +/* 8008B8B4 00088814 D0 23 00 00 */ stfs f1, 0(r3) +/* 8008B8B8 00088818 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008B8BC 0008881C D0 03 00 04 */ stfs f0, 4(r3) +/* 8008B8C0 00088820 D0 23 00 08 */ stfs f1, 8(r3) +lbl_8008B8C4: +/* 8008B8C4 00088824 38 21 00 20 */ addi r1, r1, 0x20 +/* 8008B8C8 00088828 4E 80 00 20 */ blr + +.global "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" +"UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager": +/* 8008B8CC 0008882C 94 21 FD B0 */ stwu r1, -0x250(r1) +/* 8008B8D0 00088830 7C 08 02 A6 */ mflr r0 +/* 8008B8D4 00088834 90 01 02 54 */ stw r0, 0x254(r1) +/* 8008B8D8 00088838 DB E1 02 40 */ stfd f31, 0x240(r1) +/* 8008B8DC 0008883C F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0 +/* 8008B8E0 00088840 DB C1 02 30 */ stfd f30, 0x230(r1) +/* 8008B8E4 00088844 F3 C1 02 38 */ psq_st f30, 568(r1), 0, qr0 +/* 8008B8E8 00088848 DB A1 02 20 */ stfd f29, 0x220(r1) +/* 8008B8EC 0008884C F3 A1 02 28 */ psq_st f29, 552(r1), 0, qr0 +/* 8008B8F0 00088850 DB 81 02 10 */ stfd f28, 0x210(r1) +/* 8008B8F4 00088854 F3 81 02 18 */ psq_st f28, 536(r1), 0, qr0 +/* 8008B8F8 00088858 DB 61 02 00 */ stfd f27, 0x200(r1) +/* 8008B8FC 0008885C F3 61 02 08 */ psq_st f27, 520(r1), 0, qr0 +/* 8008B900 00088860 DB 41 01 F0 */ stfd f26, 0x1f0(r1) +/* 8008B904 00088864 F3 41 01 F8 */ psq_st f26, 504(r1), 0, qr0 +/* 8008B908 00088868 DB 21 01 E0 */ stfd f25, 0x1e0(r1) +/* 8008B90C 0008886C F3 21 01 E8 */ psq_st f25, 488(r1), 0, qr0 +/* 8008B910 00088870 DB 01 01 D0 */ stfd f24, 0x1d0(r1) +/* 8008B914 00088874 F3 01 01 D8 */ psq_st f24, 472(r1), 0, qr0 +/* 8008B918 00088878 BF 01 01 B0 */ stmw r24, 0x1b0(r1) +/* 8008B91C 0008887C 7C B9 2B 78 */ mr r25, r5 +/* 8008B920 00088880 7C DA 33 78 */ mr r26, r6 +/* 8008B924 00088884 80 A6 00 00 */ lwz r5, 0(r6) +/* 8008B928 00088888 FF 40 08 90 */ fmr f26, f1 +/* 8008B92C 0008888C 80 19 00 04 */ lwz r0, 4(r25) +/* 8008B930 00088890 7C 78 1B 78 */ mr r24, r3 +/* 8008B934 00088894 7C FB 3B 78 */ mr r27, r7 +/* 8008B938 00088898 7D 1C 43 78 */ mr r28, r8 +/* 8008B93C 0008889C 7C 05 00 00 */ cmpw r5, r0 +/* 8008B940 000888A0 7D 3D 4B 78 */ mr r29, r9 +/* 8008B944 000888A4 40 80 05 30 */ bge lbl_8008BE74 +/* 8008B948 000888A8 80 ED A1 18 */ lwz r7, gpTweakPlayer@sda21(r13) +/* 8008B94C 000888AC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8008B950 000888B0 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) +/* 8008B954 000888B4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8008B958 000888B8 81 1D 08 4C */ lwz r8, 0x84c(r29) +/* 8008B95C 000888BC 38 61 01 50 */ addi r3, r1, 0x150 +/* 8008B960 000888C0 C0 45 00 7C */ lfs f2, 0x7c(r5) +/* 8008B964 000888C4 38 B8 03 1C */ addi r5, r24, 0x31c +/* 8008B968 000888C8 C0 27 02 7C */ lfs f1, 0x27c(r7) +/* 8008B96C 000888CC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008B970 000888D0 D0 18 03 10 */ stfs f0, 0x310(r24) +/* 8008B974 000888D4 D0 58 03 14 */ stfs f2, 0x314(r24) +/* 8008B978 000888D8 D0 38 03 18 */ stfs f1, 0x318(r24) +/* 8008B97C 000888DC C0 38 03 14 */ lfs f1, 0x314(r24) +/* 8008B980 000888E0 C0 18 03 08 */ lfs f0, 0x308(r24) +/* 8008B984 000888E4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8008B988 000888E8 D0 18 03 14 */ stfs f0, 0x314(r24) +/* 8008B98C 000888EC C0 78 03 14 */ lfs f3, 0x314(r24) +/* 8008B990 000888F0 C0 08 05 0C */ lfs f0, 0x50c(r8) +/* 8008B994 000888F4 C0 48 05 10 */ lfs f2, 0x510(r8) +/* 8008B998 000888F8 C0 28 05 14 */ lfs f1, 0x514(r8) +/* 8008B99C 000888FC EC 03 00 32 */ fmuls f0, f3, f0 +/* 8008B9A0 00088900 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8008B9A4 00088904 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8008B9A8 00088908 D0 18 03 1C */ stfs f0, 0x31c(r24) +/* 8008B9AC 0008890C D0 58 03 20 */ stfs f2, 0x320(r24) +/* 8008B9B0 00088910 D0 38 03 24 */ stfs f1, 0x324(r24) +/* 8008B9B4 00088914 C0 18 03 18 */ lfs f0, 0x318(r24) +/* 8008B9B8 00088918 D0 18 03 24 */ stfs f0, 0x324(r24) +/* 8008B9BC 0008891C C0 38 03 1C */ lfs f1, 0x31c(r24) +/* 8008B9C0 00088920 C0 08 00 40 */ lfs f0, 0x40(r8) +/* 8008B9C4 00088924 C0 48 00 60 */ lfs f2, 0x60(r8) +/* 8008B9C8 00088928 EC 01 00 2A */ fadds f0, f1, f0 +/* 8008B9CC 0008892C C0 28 00 50 */ lfs f1, 0x50(r8) +/* 8008B9D0 00088930 D0 18 03 1C */ stfs f0, 0x31c(r24) +/* 8008B9D4 00088934 C0 18 03 20 */ lfs f0, 0x320(r24) +/* 8008B9D8 00088938 EC 00 08 2A */ fadds f0, f0, f1 +/* 8008B9DC 0008893C D0 18 03 20 */ stfs f0, 0x320(r24) +/* 8008B9E0 00088940 C0 18 03 24 */ lfs f0, 0x324(r24) +/* 8008B9E4 00088944 EC 00 10 2A */ fadds f0, f0, f2 +/* 8008B9E8 00088948 D0 18 03 24 */ stfs f0, 0x324(r24) +/* 8008B9EC 0008894C C0 44 00 2C */ lfs f2, 0x2c(r4) +/* 8008B9F0 00088950 C0 24 00 1C */ lfs f1, 0x1c(r4) +/* 8008B9F4 00088954 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8008B9F8 00088958 38 81 00 84 */ addi r4, r1, 0x84 +/* 8008B9FC 0008895C D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8008BA00 00088960 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 8008BA04 00088964 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8008BA08 00088968 48 28 81 09 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8008BA0C 0008896C 38 61 01 80 */ addi r3, r1, 0x180 +/* 8008BA10 00088970 38 81 01 50 */ addi r4, r1, 0x150 +/* 8008BA14 00088974 48 28 71 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008BA18 00088978 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 8008BA1C 0008897C 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 8008BA20 00088980 C3 61 01 AC */ lfs f27, 0x1ac(r1) +/* 8008BA24 00088984 3B E3 C4 08 */ addi r31, r3, lbl_8046C408@l +/* 8008BA28 00088988 EF 40 D0 24 */ fdivs f26, f0, f26 +/* 8008BA2C 0008898C C3 81 01 9C */ lfs f28, 0x19c(r1) +/* 8008BA30 00088990 C3 A1 01 8C */ lfs f29, 0x18c(r1) +/* 8008BA34 00088994 3B C0 00 00 */ li r30, 0 +/* 8008BA38 00088998 C3 C2 89 BC */ lfs f30, lbl_805AA6DC@sda21(r2) +/* 8008BA3C 0008899C 48 00 04 30 */ b lbl_8008BE6C +lbl_8008BA40: +/* 8008BA40 000889A0 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BA44 000889A4 38 61 00 78 */ addi r3, r1, 0x78 +/* 8008BA48 000889A8 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 8008BA4C 000889AC 38 81 01 80 */ addi r4, r1, 0x180 +/* 8008BA50 000889B0 1C C0 00 54 */ mulli r6, r0, 0x54 +/* 8008BA54 000889B4 C3 01 01 AC */ lfs f24, 0x1ac(r1) +/* 8008BA58 000889B8 C3 21 01 9C */ lfs f25, 0x19c(r1) +/* 8008BA5C 000889BC 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 8008BA60 000889C0 C3 E1 01 8C */ lfs f31, 0x18c(r1) +/* 8008BA64 000889C4 38 C6 00 14 */ addi r6, r6, 0x14 +/* 8008BA68 000889C8 7C C7 32 14 */ add r6, r7, r6 +/* 8008BA6C 000889CC C0 26 00 04 */ lfs f1, 4(r6) +/* 8008BA70 000889D0 C0 46 00 08 */ lfs f2, 8(r6) +/* 8008BA74 000889D4 C0 06 00 00 */ lfs f0, 0(r6) +/* 8008BA78 000889D8 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 8008BA7C 000889DC D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8008BA80 000889E0 D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 8008BA84 000889E4 48 28 6F FD */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8008BA88 000889E8 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 8008BA8C 000889EC 38 61 00 6C */ addi r3, r1, 0x6c +/* 8008BA90 000889F0 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8008BA94 000889F4 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8008BA98 000889F8 EC A2 C8 2A */ fadds f5, f2, f25 +/* 8008BA9C 000889FC EC 81 C0 2A */ fadds f4, f1, f24 +/* 8008BAA0 00088A00 EC 60 F8 2A */ fadds f3, f0, f31 +/* 8008BAA4 00088A04 D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 8008BAA8 00088A08 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 8008BAAC 00088A0C D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 8008BAB0 00088A10 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BAB4 00088A14 80 B9 00 0C */ lwz r5, 0xc(r25) +/* 8008BAB8 00088A18 1C 80 00 54 */ mulli r4, r0, 0x54 +/* 8008BABC 00088A1C 38 84 00 2C */ addi r4, r4, 0x2c +/* 8008BAC0 00088A20 7C 85 22 14 */ add r4, r5, r4 +/* 8008BAC4 00088A24 C0 44 00 04 */ lfs f2, 4(r4) +/* 8008BAC8 00088A28 C0 24 00 08 */ lfs f1, 8(r4) +/* 8008BACC 00088A2C C0 04 00 00 */ lfs f0, 0(r4) +/* 8008BAD0 00088A30 EC 42 28 28 */ fsubs f2, f2, f5 +/* 8008BAD4 00088A34 EC 21 20 28 */ fsubs f1, f1, f4 +/* 8008BAD8 00088A38 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8008BADC 00088A3C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8008BAE0 00088A40 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8008BAE4 00088A44 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 8008BAE8 00088A48 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8008BAEC 00088A4C D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8008BAF0 00088A50 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 8008BAF4 00088A54 48 28 8D C5 */ bl Magnitude__9CVector3fCFv +/* 8008BAF8 00088A58 FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 8008BAFC 00088A5C 40 80 00 50 */ bge lbl_8008BB4C +/* 8008BB00 00088A60 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BB04 00088A64 80 99 00 0C */ lwz r4, 0xc(r25) +/* 8008BB08 00088A68 1C 60 00 54 */ mulli r3, r0, 0x54 +/* 8008BB0C 00088A6C 38 A3 00 08 */ addi r5, r3, 8 +/* 8008BB10 00088A70 7C A4 2A 14 */ add r5, r4, r5 +/* 8008BB14 00088A74 38 63 00 2C */ addi r3, r3, 0x2c +/* 8008BB18 00088A78 C0 05 00 00 */ lfs f0, 0(r5) +/* 8008BB1C 00088A7C 7C 64 1A 14 */ add r3, r4, r3 +/* 8008BB20 00088A80 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 8008BB24 00088A84 C0 05 00 04 */ lfs f0, 4(r5) +/* 8008BB28 00088A88 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8008BB2C 00088A8C C0 05 00 08 */ lfs f0, 8(r5) +/* 8008BB30 00088A90 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 8008BB34 00088A94 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008BB38 00088A98 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8008BB3C 00088A9C C0 03 00 04 */ lfs f0, 4(r3) +/* 8008BB40 00088AA0 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8008BB44 00088AA4 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008BB48 00088AA8 D0 01 00 B0 */ stfs f0, 0xb0(r1) +lbl_8008BB4C: +/* 8008BB4C 00088AAC C0 41 00 AC */ lfs f2, 0xac(r1) +/* 8008BB50 00088AB0 38 61 00 9C */ addi r3, r1, 0x9c +/* 8008BB54 00088AB4 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 8008BB58 00088AB8 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 8008BB5C 00088ABC EC 42 E0 28 */ fsubs f2, f2, f28 +/* 8008BB60 00088AC0 EC 21 D8 28 */ fsubs f1, f1, f27 +/* 8008BB64 00088AC4 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 8008BB68 00088AC8 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 8008BB6C 00088ACC D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8008BB70 00088AD0 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 8008BB74 00088AD4 48 28 8D 45 */ bl Magnitude__9CVector3fCFv +/* 8008BB78 00088AD8 FF E0 08 90 */ fmr f31, f1 +/* 8008BB7C 00088ADC 38 61 00 9C */ addi r3, r1, 0x9c +/* 8008BB80 00088AE0 48 28 8B 79 */ bl CanBeNormalized__9CVector3fCFv +/* 8008BB84 00088AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008BB88 00088AE8 41 82 01 30 */ beq lbl_8008BCB8 +/* 8008BB8C 00088AEC 38 61 00 9C */ addi r3, r1, 0x9c +/* 8008BB90 00088AF0 48 28 8D 69 */ bl Normalize__9CVector3fFv +/* 8008BB94 00088AF4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008BB98 00088AF8 3C 60 80 47 */ lis r3, lbl_8046C408@ha +/* 8008BB9C 00088AFC 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l +/* 8008BBA0 00088B00 C0 61 01 8C */ lfs f3, 0x18c(r1) +/* 8008BBA4 00088B04 B0 01 00 08 */ sth r0, 8(r1) +/* 8008BBA8 00088B08 7F A4 EB 78 */ mr r4, r29 +/* 8008BBAC 00088B0C C0 41 01 9C */ lfs f2, 0x19c(r1) +/* 8008BBB0 00088B10 7F 89 E3 78 */ mr r9, r28 +/* 8008BBB4 00088B14 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BBB8 00088B18 38 61 01 20 */ addi r3, r1, 0x120 +/* 8008BBBC 00088B1C 81 59 00 0C */ lwz r10, 0xc(r25) +/* 8008BBC0 00088B20 38 A1 00 08 */ addi r5, r1, 8 +/* 8008BBC4 00088B24 1C E0 00 54 */ mulli r7, r0, 0x54 +/* 8008BBC8 00088B28 C0 01 01 AC */ lfs f0, 0x1ac(r1) +/* 8008BBCC 00088B2C 38 C1 00 54 */ addi r6, r1, 0x54 +/* 8008BBD0 00088B30 38 07 00 04 */ addi r0, r7, 4 +/* 8008BBD4 00088B34 7C 2A 04 2E */ lfsx f1, r10, r0 +/* 8008BBD8 00088B38 38 E1 00 9C */ addi r7, r1, 0x9c +/* 8008BBDC 00088B3C EC 3F 08 2A */ fadds f1, f31, f1 +/* 8008BBE0 00088B40 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 8008BBE4 00088B44 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8008BBE8 00088B48 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8008BBEC 00088B4C 4B FC 13 D9 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 8008BBF0 00088B50 88 01 01 40 */ lbz r0, 0x140(r1) +/* 8008BBF4 00088B54 C0 C1 01 20 */ lfs f6, 0x120(r1) +/* 8008BBF8 00088B58 28 00 00 00 */ cmplwi r0, 0 +/* 8008BBFC 00088B5C 41 82 00 BC */ beq lbl_8008BCB8 +/* 8008BC00 00088B60 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BC04 00088B64 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8008BC08 00088B68 80 D9 00 0C */ lwz r6, 0xc(r25) +/* 8008BC0C 00088B6C 38 81 01 80 */ addi r4, r1, 0x180 +/* 8008BC10 00088B70 1C A0 00 54 */ mulli r5, r0, 0x54 +/* 8008BC14 00088B74 C0 81 00 A0 */ lfs f4, 0xa0(r1) +/* 8008BC18 00088B78 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 8008BC1C 00088B7C C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 8008BC20 00088B80 38 05 00 04 */ addi r0, r5, 4 +/* 8008BC24 00088B84 C0 A1 01 9C */ lfs f5, 0x19c(r1) +/* 8008BC28 00088B88 7C 46 04 2E */ lfsx f2, r6, r0 +/* 8008BC2C 00088B8C C0 61 01 AC */ lfs f3, 0x1ac(r1) +/* 8008BC30 00088B90 EC C6 10 28 */ fsubs f6, f6, f2 +/* 8008BC34 00088B94 C0 41 01 8C */ lfs f2, 0x18c(r1) +/* 8008BC38 00088B98 EC 86 01 32 */ fmuls f4, f6, f4 +/* 8008BC3C 00088B9C EC 26 00 72 */ fmuls f1, f6, f1 +/* 8008BC40 00088BA0 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8008BC44 00088BA4 EC C5 20 2A */ fadds f6, f5, f4 +/* 8008BC48 00088BA8 EC 83 08 2A */ fadds f4, f3, f1 +/* 8008BC4C 00088BAC EC 22 00 2A */ fadds f1, f2, f0 +/* 8008BC50 00088BB0 EC A6 28 28 */ fsubs f5, f6, f5 +/* 8008BC54 00088BB4 D0 C1 00 AC */ stfs f6, 0xac(r1) +/* 8008BC58 00088BB8 EC 64 18 28 */ fsubs f3, f4, f3 +/* 8008BC5C 00088BBC EC 01 10 28 */ fsubs f0, f1, f2 +/* 8008BC60 00088BC0 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 8008BC64 00088BC4 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 8008BC68 00088BC8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8008BC6C 00088BCC D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 8008BC70 00088BD0 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 8008BC74 00088BD4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8008BC78 00088BD8 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 8008BC7C 00088BDC D0 61 00 44 */ stfs f3, 0x44(r1) +/* 8008BC80 00088BE0 48 28 6F C1 */ bl GetRotation__12CTransform4fCFv +/* 8008BC84 00088BE4 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8008BC88 00088BE8 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8008BC8C 00088BEC 48 28 6A 55 */ bl GetInverse__12CTransform4fCFv +/* 8008BC90 00088BF0 38 61 00 48 */ addi r3, r1, 0x48 +/* 8008BC94 00088BF4 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 8008BC98 00088BF8 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8008BC9C 00088BFC 48 28 6E 4D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8008BCA0 00088C00 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 8008BCA4 00088C04 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 8008BCA8 00088C08 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8008BCAC 00088C0C D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 8008BCB0 00088C10 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8008BCB4 00088C14 D0 01 00 BC */ stfs f0, 0xbc(r1) +lbl_8008BCB8: +/* 8008BCB8 00088C18 80 81 00 A8 */ lwz r4, 0xa8(r1) +/* 8008BCBC 00088C1C 7F A3 EB 78 */ mr r3, r29 +/* 8008BCC0 00088C20 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BCC4 00088C24 7F 86 E3 78 */ mr r6, r28 +/* 8008BCC8 00088C28 90 81 00 24 */ stw r4, 0x24(r1) +/* 8008BCCC 00088C2C 7F E7 FB 78 */ mr r7, r31 +/* 8008BCD0 00088C30 80 A1 00 AC */ lwz r5, 0xac(r1) +/* 8008BCD4 00088C34 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008BCD8 00088C38 81 19 00 0C */ lwz r8, 0xc(r25) +/* 8008BCDC 00088C3C 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8008BCE0 00088C40 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8008BCE4 00088C44 38 A1 00 90 */ addi r5, r1, 0x90 +/* 8008BCE8 00088C48 81 21 00 B0 */ lwz r9, 0xb0(r1) +/* 8008BCEC 00088C4C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8008BCF0 00088C50 7D 48 02 14 */ add r10, r8, r0 +/* 8008BCF4 00088C54 91 21 00 2C */ stw r9, 0x2c(r1) +/* 8008BCF8 00088C58 39 00 00 00 */ li r8, 0 +/* 8008BCFC 00088C5C C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8008BD00 00088C60 D0 0A 00 2C */ stfs f0, 0x2c(r10) +/* 8008BD04 00088C64 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8008BD08 00088C68 D0 2A 00 30 */ stfs f1, 0x30(r10) +/* 8008BD0C 00088C6C D0 0A 00 34 */ stfs f0, 0x34(r10) +/* 8008BD10 00088C70 81 21 00 B4 */ lwz r9, 0xb4(r1) +/* 8008BD14 00088C74 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BD18 00088C78 91 21 00 18 */ stw r9, 0x18(r1) +/* 8008BD1C 00088C7C 81 41 00 B8 */ lwz r10, 0xb8(r1) +/* 8008BD20 00088C80 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008BD24 00088C84 81 39 00 0C */ lwz r9, 0xc(r25) +/* 8008BD28 00088C88 91 41 00 1C */ stw r10, 0x1c(r1) +/* 8008BD2C 00088C8C 81 41 00 BC */ lwz r10, 0xbc(r1) +/* 8008BD30 00088C90 7D 29 02 14 */ add r9, r9, r0 +/* 8008BD34 00088C94 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8008BD38 00088C98 91 41 00 20 */ stw r10, 0x20(r1) +/* 8008BD3C 00088C9C C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 8008BD40 00088CA0 D0 09 00 08 */ stfs f0, 8(r9) +/* 8008BD44 00088CA4 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8008BD48 00088CA8 D0 29 00 0C */ stfs f1, 0xc(r9) +/* 8008BD4C 00088CAC D0 09 00 10 */ stfs f0, 0x10(r9) +/* 8008BD50 00088CB0 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 8008BD54 00088CB4 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 8008BD58 00088CB8 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8008BD5C 00088CBC EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8008BD60 00088CC0 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8008BD64 00088CC4 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8008BD68 00088CC8 EC 7A 00 B2 */ fmuls f3, f26, f2 +/* 8008BD6C 00088CCC EC 5A 00 72 */ fmuls f2, f26, f1 +/* 8008BD70 00088CD0 EC 3A 00 32 */ fmuls f1, f26, f0 +/* 8008BD74 00088CD4 D0 61 00 90 */ stfs f3, 0x90(r1) +/* 8008BD78 00088CD8 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8008BD7C 00088CDC D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8008BD80 00088CE0 C0 18 03 08 */ lfs f0, 0x308(r24) +/* 8008BD84 00088CE4 EC 63 00 32 */ fmuls f3, f3, f0 +/* 8008BD88 00088CE8 EC 42 00 32 */ fmuls f2, f2, f0 +/* 8008BD8C 00088CEC EC 21 00 32 */ fmuls f1, f1, f0 +/* 8008BD90 00088CF0 D0 61 00 90 */ stfs f3, 0x90(r1) +/* 8008BD94 00088CF4 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8008BD98 00088CF8 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8008BD9C 00088CFC C0 18 03 1C */ lfs f0, 0x31c(r24) +/* 8008BDA0 00088D00 EC 03 00 2A */ fadds f0, f3, f0 +/* 8008BDA4 00088D04 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8008BDA8 00088D08 C0 18 03 20 */ lfs f0, 0x320(r24) +/* 8008BDAC 00088D0C 80 01 00 90 */ lwz r0, 0x90(r1) +/* 8008BDB0 00088D10 EC 02 00 2A */ fadds f0, f2, f0 +/* 8008BDB4 00088D14 90 01 00 0C */ stw r0, 0xc(r1) +/* 8008BDB8 00088D18 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8008BDBC 00088D1C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8008BDC0 00088D20 C0 18 03 24 */ lfs f0, 0x324(r24) +/* 8008BDC4 00088D24 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8008BDC8 00088D28 EC 01 00 2A */ fadds f0, f1, f0 +/* 8008BDCC 00088D2C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8008BDD0 00088D30 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8008BDD4 00088D34 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8008BDD8 00088D38 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BDDC 00088D3C 81 41 00 98 */ lwz r10, 0x98(r1) +/* 8008BDE0 00088D40 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008BDE4 00088D44 81 39 00 0C */ lwz r9, 0xc(r25) +/* 8008BDE8 00088D48 91 41 00 14 */ stw r10, 0x14(r1) +/* 8008BDEC 00088D4C 7D 29 02 14 */ add r9, r9, r0 +/* 8008BDF0 00088D50 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8008BDF4 00088D54 D0 49 00 20 */ stfs f2, 0x20(r9) +/* 8008BDF8 00088D58 D0 29 00 24 */ stfs f1, 0x24(r9) +/* 8008BDFC 00088D5C D0 09 00 28 */ stfs f0, 0x28(r9) +/* 8008BE00 00088D60 4B FC 11 6D */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" +/* 8008BE04 00088D64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008BE08 00088D68 41 82 00 20 */ beq lbl_8008BE28 +/* 8008BE0C 00088D6C 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BE10 00088D70 38 A0 00 00 */ li r5, 0 +/* 8008BE14 00088D74 80 99 00 0C */ lwz r4, 0xc(r25) +/* 8008BE18 00088D78 1C 60 00 54 */ mulli r3, r0, 0x54 +/* 8008BE1C 00088D7C 38 03 00 4C */ addi r0, r3, 0x4c +/* 8008BE20 00088D80 7C A4 01 2E */ stwx r5, r4, r0 +/* 8008BE24 00088D84 48 00 00 20 */ b lbl_8008BE44 +lbl_8008BE28: +/* 8008BE28 00088D88 80 1A 00 00 */ lwz r0, 0(r26) +/* 8008BE2C 00088D8C 80 79 00 0C */ lwz r3, 0xc(r25) +/* 8008BE30 00088D90 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008BE34 00088D94 7C 83 02 14 */ add r4, r3, r0 +/* 8008BE38 00088D98 80 64 00 4C */ lwz r3, 0x4c(r4) +/* 8008BE3C 00088D9C 38 03 00 01 */ addi r0, r3, 1 +/* 8008BE40 00088DA0 90 04 00 4C */ stw r0, 0x4c(r4) +lbl_8008BE44: +/* 8008BE44 00088DA4 80 7A 00 00 */ lwz r3, 0(r26) +/* 8008BE48 00088DA8 38 03 00 01 */ addi r0, r3, 1 +/* 8008BE4C 00088DAC 90 1A 00 00 */ stw r0, 0(r26) +/* 8008BE50 00088DB0 80 7A 00 00 */ lwz r3, 0(r26) +/* 8008BE54 00088DB4 80 19 00 04 */ lwz r0, 4(r25) +/* 8008BE58 00088DB8 7C 03 00 00 */ cmpw r3, r0 +/* 8008BE5C 00088DBC 40 82 00 0C */ bne lbl_8008BE68 +/* 8008BE60 00088DC0 38 00 00 00 */ li r0, 0 +/* 8008BE64 00088DC4 90 1A 00 00 */ stw r0, 0(r26) +lbl_8008BE68: +/* 8008BE68 00088DC8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8008BE6C: +/* 8008BE6C 00088DCC 7C 1E D8 00 */ cmpw r30, r27 +/* 8008BE70 00088DD0 41 80 FB D0 */ blt lbl_8008BA40 +lbl_8008BE74: +/* 8008BE74 00088DD4 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0 +/* 8008BE78 00088DD8 CB E1 02 40 */ lfd f31, 0x240(r1) +/* 8008BE7C 00088DDC E3 C1 02 38 */ psq_l f30, 568(r1), 0, qr0 +/* 8008BE80 00088DE0 CB C1 02 30 */ lfd f30, 0x230(r1) +/* 8008BE84 00088DE4 E3 A1 02 28 */ psq_l f29, 552(r1), 0, qr0 +/* 8008BE88 00088DE8 CB A1 02 20 */ lfd f29, 0x220(r1) +/* 8008BE8C 00088DEC E3 81 02 18 */ psq_l f28, 536(r1), 0, qr0 +/* 8008BE90 00088DF0 CB 81 02 10 */ lfd f28, 0x210(r1) +/* 8008BE94 00088DF4 E3 61 02 08 */ psq_l f27, 520(r1), 0, qr0 +/* 8008BE98 00088DF8 CB 61 02 00 */ lfd f27, 0x200(r1) +/* 8008BE9C 00088DFC E3 41 01 F8 */ psq_l f26, 504(r1), 0, qr0 +/* 8008BEA0 00088E00 CB 41 01 F0 */ lfd f26, 0x1f0(r1) +/* 8008BEA4 00088E04 E3 21 01 E8 */ psq_l f25, 488(r1), 0, qr0 +/* 8008BEA8 00088E08 CB 21 01 E0 */ lfd f25, 0x1e0(r1) +/* 8008BEAC 00088E0C E3 01 01 D8 */ psq_l f24, 472(r1), 0, qr0 +/* 8008BEB0 00088E10 CB 01 01 D0 */ lfd f24, 0x1d0(r1) +/* 8008BEB4 00088E14 BB 01 01 B0 */ lmw r24, 0x1b0(r1) +/* 8008BEB8 00088E18 80 01 02 54 */ lwz r0, 0x254(r1) +/* 8008BEBC 00088E1C 7C 08 03 A6 */ mtlr r0 +/* 8008BEC0 00088E20 38 21 02 50 */ addi r1, r1, 0x250 +/* 8008BEC4 00088E24 4E 80 00 20 */ blr + +.global "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" +"UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff": +/* 8008BEC8 00088E28 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8008BECC 00088E2C 7C 08 02 A6 */ mflr r0 +/* 8008BED0 00088E30 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8008BED4 00088E34 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8008BED8 00088E38 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8008BEDC 00088E3C DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 8008BEE0 00088E40 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8008BEE4 00088E44 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 8008BEE8 00088E48 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 8008BEEC 00088E4C DB 81 00 90 */ stfd f28, 0x90(r1) +/* 8008BEF0 00088E50 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 8008BEF4 00088E54 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 8008BEF8 00088E58 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 8008BEFC 00088E5C DB 41 00 70 */ stfd f26, 0x70(r1) +/* 8008BF00 00088E60 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 8008BF04 00088E64 DB 21 00 60 */ stfd f25, 0x60(r1) +/* 8008BF08 00088E68 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 +/* 8008BF0C 00088E6C DB 01 00 50 */ stfd f24, 0x50(r1) +/* 8008BF10 00088E70 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 +/* 8008BF14 00088E74 DA E1 00 40 */ stfd f23, 0x40(r1) +/* 8008BF18 00088E78 F2 E1 00 48 */ psq_st f23, 72(r1), 0, qr0 +/* 8008BF1C 00088E7C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8008BF20 00088E80 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8008BF24 00088E84 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8008BF28 00088E88 93 81 00 30 */ stw r28, 0x30(r1) +/* 8008BF2C 00088E8C FF A0 08 90 */ fmr f29, f1 +/* 8008BF30 00088E90 C3 02 8A AC */ lfs f24, lbl_805AA7CC@sda21(r2) +/* 8008BF34 00088E94 FF C0 10 90 */ fmr f30, f2 +/* 8008BF38 00088E98 CB 22 89 F0 */ lfd f25, lbl_805AA710@sda21(r2) +/* 8008BF3C 00088E9C FF E0 18 90 */ fmr f31, f3 +/* 8008BF40 00088EA0 C3 42 89 B0 */ lfs f26, lbl_805AA6D0@sda21(r2) +/* 8008BF44 00088EA4 C3 62 8A 8C */ lfs f27, lbl_805AA7AC@sda21(r2) +/* 8008BF48 00088EA8 7C 9C 23 78 */ mr r28, r4 +/* 8008BF4C 00088EAC CB 82 89 C8 */ lfd f28, lbl_805AA6E8@sda21(r2) +/* 8008BF50 00088EB0 3B A0 00 00 */ li r29, 0 +/* 8008BF54 00088EB4 3B C0 00 00 */ li r30, 0 +/* 8008BF58 00088EB8 3F E0 43 30 */ lis r31, 0x4330 +/* 8008BF5C 00088EBC 48 00 00 BC */ b lbl_8008C018 +lbl_8008BF60: +/* 8008BF60 00088EC0 FC 20 F8 90 */ fmr f1, f31 +/* 8008BF64 00088EC4 48 30 84 8D */ bl cos +/* 8008BF68 00088EC8 FC 00 08 18 */ frsp f0, f1 +/* 8008BF6C 00088ECC FC 1F C0 40 */ fcmpo cr0, f31, f24 +/* 8008BF70 00088ED0 EE FE 00 32 */ fmuls f23, f30, f0 +/* 8008BF74 00088ED4 40 81 00 0C */ ble lbl_8008BF80 +/* 8008BF78 00088ED8 C0 02 8A 04 */ lfs f0, lbl_805AA724@sda21(r2) +/* 8008BF7C 00088EDC EE F7 00 32 */ fmuls f23, f23, f0 +lbl_8008BF80: +/* 8008BF80 00088EE0 FC 20 F8 90 */ fmr f1, f31 +/* 8008BF84 00088EE4 48 30 8B 59 */ bl sin +/* 8008BF88 00088EE8 FC 20 08 18 */ frsp f1, f1 +/* 8008BF8C 00088EEC FC 00 0A 10 */ fabs f0, f1 +/* 8008BF90 00088EF0 FC 00 C8 40 */ fcmpo cr0, f0, f25 +/* 8008BF94 00088EF4 40 81 00 14 */ ble lbl_8008BFA8 +/* 8008BF98 00088EF8 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) +/* 8008BF9C 00088EFC C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 8008BFA0 00088F00 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 8008BFA4 00088F04 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_8008BFA8: +/* 8008BFA8 00088F08 EC 1D 00 72 */ fmuls f0, f29, f1 +/* 8008BFAC 00088F0C D3 41 00 18 */ stfs f26, 0x18(r1) +/* 8008BFB0 00088F10 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 8008BFB4 00088F14 3B BD 00 01 */ addi r29, r29, 1 +/* 8008BFB8 00088F18 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8008BFBC 00088F1C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8008BFC0 00088F20 7C A0 F2 14 */ add r5, r0, r30 +/* 8008BFC4 00088F24 3B DE 00 54 */ addi r30, r30, 0x54 +/* 8008BFC8 00088F28 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8008BFCC 00088F2C D2 E1 00 1C */ stfs f23, 0x1c(r1) +/* 8008BFD0 00088F30 90 81 00 08 */ stw r4, 8(r1) +/* 8008BFD4 00088F34 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8008BFD8 00088F38 90 61 00 0C */ stw r3, 0xc(r1) +/* 8008BFDC 00088F3C C0 01 00 08 */ lfs f0, 8(r1) +/* 8008BFE0 00088F40 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8008BFE4 00088F44 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8008BFE8 00088F48 90 01 00 10 */ stw r0, 0x10(r1) +/* 8008BFEC 00088F4C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8008BFF0 00088F50 D0 25 00 18 */ stfs f1, 0x18(r5) +/* 8008BFF4 00088F54 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 8008BFF8 00088F58 80 1C 00 04 */ lwz r0, 4(r28) +/* 8008BFFC 00088F5C 93 E1 00 20 */ stw r31, 0x20(r1) +/* 8008C000 00088F60 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8008C004 00088F64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8008C008 00088F68 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 8008C00C 00088F6C EC 00 E0 28 */ fsubs f0, f0, f28 +/* 8008C010 00088F70 EC 1B 00 24 */ fdivs f0, f27, f0 +/* 8008C014 00088F74 EF FF 00 2A */ fadds f31, f31, f0 +lbl_8008C018: +/* 8008C018 00088F78 80 1C 00 04 */ lwz r0, 4(r28) +/* 8008C01C 00088F7C 7C 1D 00 00 */ cmpw r29, r0 +/* 8008C020 00088F80 41 80 FF 40 */ blt lbl_8008BF60 +/* 8008C024 00088F84 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8008C028 00088F88 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8008C02C 00088F8C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8008C030 00088F90 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 8008C034 00088F94 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 8008C038 00088F98 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 8008C03C 00088F9C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 8008C040 00088FA0 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 8008C044 00088FA4 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 8008C048 00088FA8 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 8008C04C 00088FAC E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 8008C050 00088FB0 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 8008C054 00088FB4 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 +/* 8008C058 00088FB8 CB 21 00 60 */ lfd f25, 0x60(r1) +/* 8008C05C 00088FBC E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 +/* 8008C060 00088FC0 CB 01 00 50 */ lfd f24, 0x50(r1) +/* 8008C064 00088FC4 E2 E1 00 48 */ psq_l f23, 72(r1), 0, qr0 +/* 8008C068 00088FC8 CA E1 00 40 */ lfd f23, 0x40(r1) +/* 8008C06C 00088FCC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8008C070 00088FD0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8008C074 00088FD4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8008C078 00088FD8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8008C07C 00088FDC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8008C080 00088FE0 7C 08 03 A6 */ mtlr r0 +/* 8008C084 00088FE4 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8008C088 00088FE8 4E 80 00 20 */ blr + +.global Reset__11CBallCameraFRC12CTransform4fR13CStateManager +Reset__11CBallCameraFRC12CTransform4fR13CStateManager: +/* 8008C08C 00088FEC 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8008C090 00088FF0 7C 08 02 A6 */ mflr r0 +/* 8008C094 00088FF4 90 01 01 14 */ stw r0, 0x114(r1) +/* 8008C098 00088FF8 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 8008C09C 00088FFC 7C BF 2B 78 */ mr r31, r5 +/* 8008C0A0 00089000 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8008C0A4 00089004 7C 7E 1B 78 */ mr r30, r3 +/* 8008C0A8 00089008 38 7E 02 14 */ addi r3, r30, 0x214 +/* 8008C0AC 0008900C 93 A1 01 04 */ stw r29, 0x104(r1) +/* 8008C0B0 00089010 93 81 01 00 */ stw r28, 0x100(r1) +/* 8008C0B4 00089014 7C 9C 23 78 */ mr r28, r4 +/* 8008C0B8 00089018 4B FD 16 F9 */ bl Reset__13CCameraSpringFv +/* 8008C0BC 0008901C 38 7E 02 28 */ addi r3, r30, 0x228 +/* 8008C0C0 00089020 4B FD 16 F1 */ bl Reset__13CCameraSpringFv +/* 8008C0C4 00089024 38 7E 02 3C */ addi r3, r30, 0x23c +/* 8008C0C8 00089028 4B FD 16 E9 */ bl Reset__13CCameraSpringFv +/* 8008C0CC 0008902C 38 7E 02 50 */ addi r3, r30, 0x250 +/* 8008C0D0 00089030 4B FD 16 E1 */ bl Reset__13CCameraSpringFv +/* 8008C0D4 00089034 38 7E 04 1C */ addi r3, r30, 0x41c +/* 8008C0D8 00089038 4B FD 16 D9 */ bl Reset__13CCameraSpringFv +/* 8008C0DC 0008903C 38 7E 04 48 */ addi r3, r30, 0x448 +/* 8008C0E0 00089040 4B FD 16 D1 */ bl Reset__13CCameraSpringFv +/* 8008C0E4 00089044 C0 5C 00 04 */ lfs f2, 4(r28) +/* 8008C0E8 00089048 7F C4 F3 78 */ mr r4, r30 +/* 8008C0EC 0008904C C0 3C 00 14 */ lfs f1, 0x14(r28) +/* 8008C0F0 00089050 7F E6 FB 78 */ mr r6, r31 +/* 8008C0F4 00089054 C0 1C 00 24 */ lfs f0, 0x24(r28) +/* 8008C0F8 00089058 38 61 00 44 */ addi r3, r1, 0x44 +/* 8008C0FC 0008905C D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8008C100 00089060 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8008C104 00089064 38 E0 00 00 */ li r7, 0 +/* 8008C108 00089068 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8008C10C 0008906C 81 21 00 2C */ lwz r9, 0x2c(r1) +/* 8008C110 00089070 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8008C114 00089074 81 01 00 30 */ lwz r8, 0x30(r1) +/* 8008C118 00089078 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8008C11C 0008907C 91 21 00 38 */ stw r9, 0x38(r1) +/* 8008C120 00089080 91 01 00 3C */ stw r8, 0x3c(r1) +/* 8008C124 00089084 90 01 00 40 */ stw r0, 0x40(r1) +/* 8008C128 00089088 C0 3E 01 90 */ lfs f1, 0x190(r30) +/* 8008C12C 0008908C C0 5E 01 A0 */ lfs f2, 0x1a0(r30) +/* 8008C130 00089090 4B FF DB 85 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb +/* 8008C134 00089094 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8008C138 00089098 7F E3 FB 78 */ mr r3, r31 +/* 8008C13C 0008909C C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8008C140 000890A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8008C144 000890A4 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8008C148 000890A8 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 8008C14C 000890AC D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8008C150 000890B0 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8008C154 000890B4 A0 1E 00 E8 */ lhz r0, 0xe8(r30) +/* 8008C158 000890B8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8008C15C 000890BC B0 01 00 14 */ sth r0, 0x14(r1) +/* 8008C160 000890C0 4B FC 04 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8008C164 000890C4 7C 64 1B 78 */ mr r4, r3 +/* 8008C168 000890C8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8008C16C 000890CC 48 02 02 29 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 8008C170 000890D0 83 83 00 04 */ lwz r28, 4(r3) +/* 8008C174 000890D4 28 1C 00 00 */ cmplwi r28, 0 +/* 8008C178 000890D8 41 82 02 74 */ beq lbl_8008C3EC +/* 8008C17C 000890DC 7F C3 F3 78 */ mr r3, r30 +/* 8008C180 000890E0 7F E4 FB 78 */ mr r4, r31 +/* 8008C184 000890E4 48 00 09 0D */ bl ResetPosition__11CBallCameraFR13CStateManager +/* 8008C188 000890E8 C0 3E 01 B4 */ lfs f1, 0x1b4(r30) +/* 8008C18C 000890EC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8008C190 000890F0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008C194 000890F4 D0 3E 03 10 */ stfs f1, 0x310(r30) +/* 8008C198 000890F8 C0 3E 01 B8 */ lfs f1, 0x1b8(r30) +/* 8008C19C 000890FC D0 3E 03 14 */ stfs f1, 0x314(r30) +/* 8008C1A0 00089100 C0 3E 01 BC */ lfs f1, 0x1bc(r30) +/* 8008C1A4 00089104 D0 3E 03 18 */ stfs f1, 0x318(r30) +/* 8008C1A8 00089108 C0 3E 01 D8 */ lfs f1, 0x1d8(r30) +/* 8008C1AC 0008910C D0 3E 03 1C */ stfs f1, 0x31c(r30) +/* 8008C1B0 00089110 C0 3E 01 DC */ lfs f1, 0x1dc(r30) +/* 8008C1B4 00089114 D0 3E 03 20 */ stfs f1, 0x320(r30) +/* 8008C1B8 00089118 C0 3E 01 E0 */ lfs f1, 0x1e0(r30) +/* 8008C1BC 0008911C D0 3E 03 24 */ stfs f1, 0x324(r30) +/* 8008C1C0 00089120 C0 5E 01 E0 */ lfs f2, 0x1e0(r30) +/* 8008C1C4 00089124 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 8008C1C8 00089128 C0 9E 01 DC */ lfs f4, 0x1dc(r30) +/* 8008C1CC 0008912C C0 61 00 60 */ lfs f3, 0x60(r1) +/* 8008C1D0 00089130 EC A2 08 28 */ fsubs f5, f2, f1 +/* 8008C1D4 00089134 C0 5E 01 D8 */ lfs f2, 0x1d8(r30) +/* 8008C1D8 00089138 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 8008C1DC 0008913C EC 64 18 28 */ fsubs f3, f4, f3 +/* 8008C1E0 00089140 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 8008C1E4 00089144 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8008C1E8 00089148 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 8008C1EC 0008914C D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8008C1F0 00089150 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8008C1F4 00089154 48 28 85 05 */ bl CanBeNormalized__9CVector3fCFv +/* 8008C1F8 00089158 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008C1FC 0008915C 41 82 00 30 */ beq lbl_8008C22C +/* 8008C200 00089160 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8008C204 00089164 38 61 00 98 */ addi r3, r1, 0x98 +/* 8008C208 00089168 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 8008C20C 0008916C 38 BE 01 D8 */ addi r5, r30, 0x1d8 +/* 8008C210 00089170 38 81 00 5C */ addi r4, r1, 0x5c +/* 8008C214 00089174 48 28 78 FD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8008C218 00089178 7F C3 F3 78 */ mr r3, r30 +/* 8008C21C 0008917C 7F E5 FB 78 */ mr r5, r31 +/* 8008C220 00089180 38 81 00 98 */ addi r4, r1, 0x98 +/* 8008C224 00089184 48 00 07 D5 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 8008C228 00089188 48 00 00 60 */ b lbl_8008C288 +lbl_8008C22C: +/* 8008C22C 0008918C 7F 84 E3 78 */ mr r4, r28 +/* 8008C230 00089190 38 61 00 68 */ addi r3, r1, 0x68 +/* 8008C234 00089194 48 1F 94 B5 */ bl CreateTransformFromMovementDirection__7CPlayerCFv +/* 8008C238 00089198 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8008C23C 0008919C 38 81 00 68 */ addi r4, r1, 0x68 +/* 8008C240 000891A0 48 28 69 35 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008C244 000891A4 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 8008C248 000891A8 7F C3 F3 78 */ mr r3, r30 +/* 8008C24C 000891AC C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8008C250 000891B0 7F E5 FB 78 */ mr r5, r31 +/* 8008C254 000891B4 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8008C258 000891B8 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8008C25C 000891BC D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 8008C260 000891C0 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 8008C264 000891C4 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 8008C268 000891C8 48 00 07 91 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +/* 8008C26C 000891CC A0 1E 00 08 */ lhz r0, 8(r30) +/* 8008C270 000891D0 7F E4 FB 78 */ mr r4, r31 +/* 8008C274 000891D4 38 A1 00 0C */ addi r5, r1, 0xc +/* 8008C278 000891D8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8008C27C 000891DC B0 01 00 08 */ sth r0, 8(r1) +/* 8008C280 000891E0 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8008C284 000891E4 4B F7 E5 C5 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +lbl_8008C288: +/* 8008C288 000891E8 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 8008C28C 000891EC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8008C290 000891F0 3B A3 66 A0 */ addi r29, r3, skZero3f@l +/* 8008C294 000891F4 38 A0 00 00 */ li r5, 0 +/* 8008C298 000891F8 D0 3E 02 E8 */ stfs f1, 0x2e8(r30) +/* 8008C29C 000891FC 7F 84 E3 78 */ mr r4, r28 +/* 8008C2A0 00089200 38 61 00 20 */ addi r3, r1, 0x20 +/* 8008C2A4 00089204 D0 3E 02 EC */ stfs f1, 0x2ec(r30) +/* 8008C2A8 00089208 C0 1E 01 94 */ lfs f0, 0x194(r30) +/* 8008C2AC 0008920C D0 1E 01 90 */ stfs f0, 0x190(r30) +/* 8008C2B0 00089210 C0 1D 00 00 */ lfs f0, 0(r29) +/* 8008C2B4 00089214 D0 1E 02 FC */ stfs f0, 0x2fc(r30) +/* 8008C2B8 00089218 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8008C2BC 0008921C D0 1E 03 00 */ stfs f0, 0x300(r30) +/* 8008C2C0 00089220 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8008C2C4 00089224 D0 1E 03 04 */ stfs f0, 0x304(r30) +/* 8008C2C8 00089228 C0 1D 00 00 */ lfs f0, 0(r29) +/* 8008C2CC 0008922C D0 1E 02 F0 */ stfs f0, 0x2f0(r30) +/* 8008C2D0 00089230 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8008C2D4 00089234 D0 1E 02 F4 */ stfs f0, 0x2f4(r30) +/* 8008C2D8 00089238 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8008C2DC 0008923C D0 1E 02 F8 */ stfs f0, 0x2f8(r30) +/* 8008C2E0 00089240 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008C2E4 00089244 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8008C2E8 00089248 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008C2EC 0008924C D0 3E 03 08 */ stfs f1, 0x308(r30) +/* 8008C2F0 00089250 48 1F 8A 59 */ bl GetBallPosition__7CPlayerCFv +/* 8008C2F4 00089254 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8008C2F8 00089258 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8008C2FC 0008925C 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8008C300 00089260 38 00 00 00 */ li r0, 0 +/* 8008C304 00089264 D0 1E 02 DC */ stfs f0, 0x2dc(r30) +/* 8008C308 00089268 38 A0 00 01 */ li r5, 1 +/* 8008C30C 0008926C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) +/* 8008C310 00089270 7F C3 F3 78 */ mr r3, r30 +/* 8008C314 00089274 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 8008C318 00089278 7F E4 FB 78 */ mr r4, r31 +/* 8008C31C 0008927C C0 22 89 BC */ lfs f1, lbl_805AA6DC@sda21(r2) +/* 8008C320 00089280 D0 5E 02 E0 */ stfs f2, 0x2e0(r30) +/* 8008C324 00089284 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8008C328 00089288 D0 5E 02 E4 */ stfs f2, 0x2e4(r30) +/* 8008C32C 0008928C C0 9E 00 60 */ lfs f4, 0x60(r30) +/* 8008C330 00089290 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8008C334 00089294 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 8008C338 00089298 D0 5E 02 94 */ stfs f2, 0x294(r30) +/* 8008C33C 0008929C D0 7E 02 98 */ stfs f3, 0x298(r30) +/* 8008C340 000892A0 D0 9E 02 9C */ stfs f4, 0x29c(r30) +/* 8008C344 000892A4 C0 46 00 00 */ lfs f2, 0(r6) +/* 8008C348 000892A8 D0 5E 02 A0 */ stfs f2, 0x2a0(r30) +/* 8008C34C 000892AC C0 5D 00 04 */ lfs f2, 4(r29) +/* 8008C350 000892B0 D0 5E 02 A4 */ stfs f2, 0x2a4(r30) +/* 8008C354 000892B4 C0 5D 00 08 */ lfs f2, 8(r29) +/* 8008C358 000892B8 D0 5E 02 A8 */ stfs f2, 0x2a8(r30) +/* 8008C35C 000892BC C0 46 00 00 */ lfs f2, 0(r6) +/* 8008C360 000892C0 D0 5E 02 AC */ stfs f2, 0x2ac(r30) +/* 8008C364 000892C4 C0 5D 00 04 */ lfs f2, 4(r29) +/* 8008C368 000892C8 D0 5E 02 B0 */ stfs f2, 0x2b0(r30) +/* 8008C36C 000892CC C0 5D 00 08 */ lfs f2, 8(r29) +/* 8008C370 000892D0 D0 5E 02 B4 */ stfs f2, 0x2b4(r30) +/* 8008C374 000892D4 C0 46 00 00 */ lfs f2, 0(r6) +/* 8008C378 000892D8 D0 5E 02 B8 */ stfs f2, 0x2b8(r30) +/* 8008C37C 000892DC C0 5D 00 04 */ lfs f2, 4(r29) +/* 8008C380 000892E0 D0 5E 02 BC */ stfs f2, 0x2bc(r30) +/* 8008C384 000892E4 C0 5D 00 08 */ lfs f2, 8(r29) +/* 8008C388 000892E8 D0 5E 02 C0 */ stfs f2, 0x2c0(r30) +/* 8008C38C 000892EC 90 1E 02 C4 */ stw r0, 0x2c4(r30) +/* 8008C390 000892F0 90 1E 02 C8 */ stw r0, 0x2c8(r30) +/* 8008C394 000892F4 90 1E 02 CC */ stw r0, 0x2cc(r30) +/* 8008C398 000892F8 90 1E 02 D0 */ stw r0, 0x2d0(r30) +/* 8008C39C 000892FC 90 1E 02 D4 */ stw r0, 0x2d4(r30) +/* 8008C3A0 00089300 90 1E 02 D8 */ stw r0, 0x2d8(r30) +/* 8008C3A4 00089304 D0 1E 03 2C */ stfs f0, 0x32c(r30) +/* 8008C3A8 00089308 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008C3AC 0008930C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8008C3B0 00089310 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008C3B4 00089314 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008C3B8 00089318 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8008C3BC 0008931C 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008C3C0 00089320 81 9E 00 00 */ lwz r12, 0(r30) +/* 8008C3C4 00089324 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8008C3C8 00089328 7D 89 03 A6 */ mtctr r12 +/* 8008C3CC 0008932C 4E 80 04 21 */ bctrl +/* 8008C3D0 00089330 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008C3D4 00089334 38 60 00 00 */ li r3, 0 +/* 8008C3D8 00089338 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8008C3DC 0008933C 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008C3E0 00089340 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008C3E4 00089344 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8008C3E8 00089348 98 1E 01 8D */ stb r0, 0x18d(r30) +lbl_8008C3EC: +/* 8008C3EC 0008934C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8008C3F0 00089350 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 8008C3F4 00089354 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 8008C3F8 00089358 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 8008C3FC 0008935C 83 81 01 00 */ lwz r28, 0x100(r1) +/* 8008C400 00089360 7C 08 03 A6 */ mtlr r0 +/* 8008C404 00089364 38 21 01 10 */ addi r1, r1, 0x110 +/* 8008C408 00089368 4E 80 00 20 */ blr + +.global Render__11CBallCameraCFRC13CStateManager +Render__11CBallCameraCFRC13CStateManager: +/* 8008C40C 0008936C 4E 80 00 20 */ blr + +.global "SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff" +"SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff": +/* 8008C410 00089370 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 8008C414 00089374 7C 08 02 A6 */ mflr r0 +/* 8008C418 00089378 90 01 01 84 */ stw r0, 0x184(r1) +/* 8008C41C 0008937C DB E1 01 70 */ stfd f31, 0x170(r1) +/* 8008C420 00089380 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 8008C424 00089384 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 8008C428 00089388 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 8008C42C 0008938C DB A1 01 50 */ stfd f29, 0x150(r1) +/* 8008C430 00089390 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 8008C434 00089394 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 8008C438 00089398 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 8008C43C 0008939C DB 61 01 30 */ stfd f27, 0x130(r1) +/* 8008C440 000893A0 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 +/* 8008C444 000893A4 DB 41 01 20 */ stfd f26, 0x120(r1) +/* 8008C448 000893A8 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 +/* 8008C44C 000893AC DB 21 01 10 */ stfd f25, 0x110(r1) +/* 8008C450 000893B0 F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 +/* 8008C454 000893B4 DB 01 01 00 */ stfd f24, 0x100(r1) +/* 8008C458 000893B8 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0 +/* 8008C45C 000893BC DA E1 00 F0 */ stfd f23, 0xf0(r1) +/* 8008C460 000893C0 F2 E1 00 F8 */ psq_st f23, 248(r1), 0, qr0 +/* 8008C464 000893C4 DA C1 00 E0 */ stfd f22, 0xe0(r1) +/* 8008C468 000893C8 F2 C1 00 E8 */ psq_st f22, 232(r1), 0, qr0 +/* 8008C46C 000893CC DA A1 00 D0 */ stfd f21, 0xd0(r1) +/* 8008C470 000893D0 F2 A1 00 D8 */ psq_st f21, 216(r1), 0, qr0 +/* 8008C474 000893D4 DA 81 00 C0 */ stfd f20, 0xc0(r1) +/* 8008C478 000893D8 F2 81 00 C8 */ psq_st f20, 200(r1), 0, qr0 +/* 8008C47C 000893DC DA 61 00 B0 */ stfd f19, 0xb0(r1) +/* 8008C480 000893E0 F2 61 00 B8 */ psq_st f19, 184(r1), 0, qr0 +/* 8008C484 000893E4 BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 8008C488 000893E8 FF 40 08 90 */ fmr f26, f1 +/* 8008C48C 000893EC 7C 9B 23 78 */ mr r27, r4 +/* 8008C490 000893F0 7C BC 2B 78 */ mr r28, r5 +/* 8008C494 000893F4 FF 60 10 90 */ fmr f27, f2 +/* 8008C498 000893F8 FF 80 18 90 */ fmr f28, f3 +/* 8008C49C 000893FC 7F 63 DB 78 */ mr r3, r27 +/* 8008C4A0 00089400 FF A0 20 90 */ fmr f29, f4 +/* 8008C4A4 00089404 7F 84 E3 78 */ mr r4, r28 +/* 8008C4A8 00089408 FF C0 28 90 */ fmr f30, f5 +/* 8008C4AC 0008940C FF E0 30 90 */ fmr f31, f6 +/* 8008C4B0 00089410 48 00 13 9D */ bl "reserve__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>Fi" +/* 8008C4B4 00089414 C2 82 8A AC */ lfs f20, lbl_805AA7CC@sda21(r2) +/* 8008C4B8 00089418 6F 9E 80 00 */ xoris r30, r28, 0x8000 +/* 8008C4BC 0008941C C2 A2 89 B0 */ lfs f21, lbl_805AA6D0@sda21(r2) +/* 8008C4C0 00089420 3B A0 00 00 */ li r29, 0 +/* 8008C4C4 00089424 C2 C2 89 E0 */ lfs f22, lbl_805AA700@sda21(r2) +/* 8008C4C8 00089428 3F E0 43 30 */ lis r31, 0x4330 +/* 8008C4CC 0008942C C2 E2 89 B8 */ lfs f23, lbl_805AA6D8@sda21(r2) +/* 8008C4D0 00089430 C3 02 8A 8C */ lfs f24, lbl_805AA7AC@sda21(r2) +/* 8008C4D4 00089434 CB 22 89 C8 */ lfd f25, lbl_805AA6E8@sda21(r2) +/* 8008C4D8 00089438 48 00 00 CC */ b lbl_8008C5A4 +lbl_8008C4DC: +/* 8008C4DC 0008943C FC 20 F8 90 */ fmr f1, f31 +/* 8008C4E0 00089440 48 30 7F 11 */ bl cos +/* 8008C4E4 00089444 FC 00 08 18 */ frsp f0, f1 +/* 8008C4E8 00089448 FC 1F A0 40 */ fcmpo cr0, f31, f20 +/* 8008C4EC 0008944C EE 7B 00 32 */ fmuls f19, f27, f0 +/* 8008C4F0 00089450 40 81 00 0C */ ble lbl_8008C4FC +/* 8008C4F4 00089454 C0 02 8A 04 */ lfs f0, lbl_805AA724@sda21(r2) +/* 8008C4F8 00089458 EE 73 00 32 */ fmuls f19, f19, f0 +lbl_8008C4FC: +/* 8008C4FC 0008945C FC 20 F8 90 */ fmr f1, f31 +/* 8008C500 00089460 48 30 85 DD */ bl sin +/* 8008C504 00089464 FC 00 08 18 */ frsp f0, f1 +/* 8008C508 00089468 D2 A1 00 18 */ stfs f21, 0x18(r1) +/* 8008C50C 0008946C FC 20 E8 90 */ fmr f1, f29 +/* 8008C510 00089470 D2 61 00 1C */ stfs f19, 0x1c(r1) +/* 8008C514 00089474 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 8008C518 00089478 D3 A1 00 20 */ stfs f29, 0x20(r1) +/* 8008C51C 0008947C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8008C520 00089480 48 28 8F E1 */ bl SqrtF__5CMathFf +/* 8008C524 00089484 EC 16 00 72 */ fmuls f0, f22, f1 +/* 8008C528 00089488 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 8008C52C 0008948C 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 8008C530 00089490 FC 20 E0 90 */ fmr f1, f28 +/* 8008C534 00089494 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8008C538 00089498 FC 40 B8 90 */ fmr f2, f23 +/* 8008C53C 0008949C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8008C540 000894A0 38 61 00 34 */ addi r3, r1, 0x34 +/* 8008C544 000894A4 38 81 00 08 */ addi r4, r1, 8 +/* 8008C548 000894A8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8008C54C 000894AC D3 C1 00 28 */ stfs f30, 0x28(r1) +/* 8008C550 000894B0 D2 E1 00 2C */ stfs f23, 0x2c(r1) +/* 8008C554 000894B4 D2 A1 00 30 */ stfs f21, 0x30(r1) +/* 8008C558 000894B8 90 E1 00 08 */ stw r7, 8(r1) +/* 8008C55C 000894BC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8008C560 000894C0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8008C564 000894C4 48 00 12 41 */ bl __ct__15CCameraColliderFf9CVector3fRC13CCameraSpringf +/* 8008C568 000894C8 7F 63 DB 78 */ mr r3, r27 +/* 8008C56C 000894CC 38 81 00 34 */ addi r4, r1, 0x34 +/* 8008C570 000894D0 48 00 00 B9 */ bl "push_back__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>FRC15CCameraCollider" +/* 8008C574 000894D4 34 01 00 34 */ addic. r0, r1, 0x34 +/* 8008C578 000894D8 41 82 00 10 */ beq lbl_8008C588 +/* 8008C57C 000894DC 3C 60 80 3E */ lis r3, lbl_803DAC28@ha +/* 8008C580 000894E0 38 03 AC 28 */ addi r0, r3, lbl_803DAC28@l +/* 8008C584 000894E4 90 01 00 34 */ stw r0, 0x34(r1) +lbl_8008C588: +/* 8008C588 000894E8 93 C1 00 8C */ stw r30, 0x8c(r1) +/* 8008C58C 000894EC 3B BD 00 01 */ addi r29, r29, 1 +/* 8008C590 000894F0 93 E1 00 88 */ stw r31, 0x88(r1) +/* 8008C594 000894F4 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 8008C598 000894F8 EC 00 C8 28 */ fsubs f0, f0, f25 +/* 8008C59C 000894FC EC 18 00 24 */ fdivs f0, f24, f0 +/* 8008C5A0 00089500 EF FF 00 2A */ fadds f31, f31, f0 +lbl_8008C5A4: +/* 8008C5A4 00089504 7C 1D E0 00 */ cmpw r29, r28 +/* 8008C5A8 00089508 41 80 FF 34 */ blt lbl_8008C4DC +/* 8008C5AC 0008950C E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 8008C5B0 00089510 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 8008C5B4 00089514 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 8008C5B8 00089518 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 8008C5BC 0008951C E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 8008C5C0 00089520 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 8008C5C4 00089524 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 8008C5C8 00089528 CB 81 01 40 */ lfd f28, 0x140(r1) +/* 8008C5CC 0008952C E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 +/* 8008C5D0 00089530 CB 61 01 30 */ lfd f27, 0x130(r1) +/* 8008C5D4 00089534 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 +/* 8008C5D8 00089538 CB 41 01 20 */ lfd f26, 0x120(r1) +/* 8008C5DC 0008953C E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 +/* 8008C5E0 00089540 CB 21 01 10 */ lfd f25, 0x110(r1) +/* 8008C5E4 00089544 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0 +/* 8008C5E8 00089548 CB 01 01 00 */ lfd f24, 0x100(r1) +/* 8008C5EC 0008954C E2 E1 00 F8 */ psq_l f23, 248(r1), 0, qr0 +/* 8008C5F0 00089550 CA E1 00 F0 */ lfd f23, 0xf0(r1) +/* 8008C5F4 00089554 E2 C1 00 E8 */ psq_l f22, 232(r1), 0, qr0 +/* 8008C5F8 00089558 CA C1 00 E0 */ lfd f22, 0xe0(r1) +/* 8008C5FC 0008955C E2 A1 00 D8 */ psq_l f21, 216(r1), 0, qr0 +/* 8008C600 00089560 CA A1 00 D0 */ lfd f21, 0xd0(r1) +/* 8008C604 00089564 E2 81 00 C8 */ psq_l f20, 200(r1), 0, qr0 +/* 8008C608 00089568 CA 81 00 C0 */ lfd f20, 0xc0(r1) +/* 8008C60C 0008956C E2 61 00 B8 */ psq_l f19, 184(r1), 0, qr0 +/* 8008C610 00089570 CA 61 00 B0 */ lfd f19, 0xb0(r1) +/* 8008C614 00089574 BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 8008C618 00089578 80 01 01 84 */ lwz r0, 0x184(r1) +/* 8008C61C 0008957C 7C 08 03 A6 */ mtlr r0 +/* 8008C620 00089580 38 21 01 80 */ addi r1, r1, 0x180 +/* 8008C624 00089584 4E 80 00 20 */ blr + +.global "push_back__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>FRC15CCameraCollider" +"push_back__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>FRC15CCameraCollider": +/* 8008C628 00089588 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008C62C 0008958C 7C 08 02 A6 */ mflr r0 +/* 8008C630 00089590 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008C634 00089594 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008C638 00089598 7C 9F 23 78 */ mr r31, r4 +/* 8008C63C 0008959C 93 C1 00 08 */ stw r30, 8(r1) +/* 8008C640 000895A0 7C 7E 1B 78 */ mr r30, r3 +/* 8008C644 000895A4 80 03 00 04 */ lwz r0, 4(r3) +/* 8008C648 000895A8 80 A3 00 08 */ lwz r5, 8(r3) +/* 8008C64C 000895AC 7C 00 28 00 */ cmpw r0, r5 +/* 8008C650 000895B0 41 80 00 18 */ blt lbl_8008C668 +/* 8008C654 000895B4 2C 05 00 00 */ cmpwi r5, 0 +/* 8008C658 000895B8 38 80 00 04 */ li r4, 4 +/* 8008C65C 000895BC 41 82 00 08 */ beq lbl_8008C664 +/* 8008C660 000895C0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8008C664: +/* 8008C664 000895C4 48 00 11 E9 */ bl "reserve__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>Fi" +lbl_8008C668: +/* 8008C668 000895C8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8008C66C 000895CC 7F E4 FB 78 */ mr r4, r31 +/* 8008C670 000895D0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8008C674 000895D4 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008C678 000895D8 7C 63 02 14 */ add r3, r3, r0 +/* 8008C67C 000895DC 48 00 00 29 */ bl "construct<15CCameraCollider>__4rstlFPvRC15CCameraCollider" +/* 8008C680 000895E0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8008C684 000895E4 38 03 00 01 */ addi r0, r3, 1 +/* 8008C688 000895E8 90 1E 00 04 */ stw r0, 4(r30) +/* 8008C68C 000895EC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008C690 000895F0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8008C694 000895F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008C698 000895F8 7C 08 03 A6 */ mtlr r0 +/* 8008C69C 000895FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008C6A0 00089600 4E 80 00 20 */ blr + +.global "construct<15CCameraCollider>__4rstlFPvRC15CCameraCollider" +"construct<15CCameraCollider>__4rstlFPvRC15CCameraCollider": +/* 8008C6A4 00089604 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008C6A8 00089608 7C 08 02 A6 */ mflr r0 +/* 8008C6AC 0008960C 28 03 00 00 */ cmplwi r3, 0 +/* 8008C6B0 00089610 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008C6B4 00089614 41 82 00 08 */ beq lbl_8008C6BC +/* 8008C6B8 00089618 48 00 00 15 */ bl __ct__15CCameraColliderFRC15CCameraCollider +lbl_8008C6BC: +/* 8008C6BC 0008961C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008C6C0 00089620 7C 08 03 A6 */ mtlr r0 +/* 8008C6C4 00089624 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008C6C8 00089628 4E 80 00 20 */ blr + +.global __ct__15CCameraColliderFRC15CCameraCollider +__ct__15CCameraColliderFRC15CCameraCollider: +/* 8008C6CC 0008962C 3C A0 80 3E */ lis r5, lbl_803DAC28@ha +/* 8008C6D0 00089630 38 05 AC 28 */ addi r0, r5, lbl_803DAC28@l +/* 8008C6D4 00089634 90 03 00 00 */ stw r0, 0(r3) +/* 8008C6D8 00089638 C0 04 00 04 */ lfs f0, 4(r4) +/* 8008C6DC 0008963C D0 03 00 04 */ stfs f0, 4(r3) +/* 8008C6E0 00089640 C0 04 00 08 */ lfs f0, 8(r4) +/* 8008C6E4 00089644 D0 03 00 08 */ stfs f0, 8(r3) +/* 8008C6E8 00089648 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8008C6EC 0008964C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8008C6F0 00089650 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8008C6F4 00089654 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8008C6F8 00089658 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8008C6FC 0008965C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8008C700 00089660 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8008C704 00089664 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8008C708 00089668 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 8008C70C 0008966C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8008C710 00089670 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8008C714 00089674 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8008C718 00089678 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 8008C71C 0008967C D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8008C720 00089680 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 8008C724 00089684 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8008C728 00089688 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8008C72C 0008968C D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8008C730 00089690 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 8008C734 00089694 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8008C738 00089698 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 8008C73C 0008969C D0 03 00 34 */ stfs f0, 0x34(r3) +/* 8008C740 000896A0 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 8008C744 000896A4 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8008C748 000896A8 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 8008C74C 000896AC D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 8008C750 000896B0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8008C754 000896B4 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 8008C758 000896B8 C0 04 00 44 */ lfs f0, 0x44(r4) +/* 8008C75C 000896BC D0 03 00 44 */ stfs f0, 0x44(r3) +/* 8008C760 000896C0 C0 04 00 48 */ lfs f0, 0x48(r4) +/* 8008C764 000896C4 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 8008C768 000896C8 80 04 00 4C */ lwz r0, 0x4c(r4) +/* 8008C76C 000896CC 90 03 00 4C */ stw r0, 0x4c(r3) +/* 8008C770 000896D0 C0 04 00 50 */ lfs f0, 0x50(r4) +/* 8008C774 000896D4 D0 03 00 50 */ stfs f0, 0x50(r3) +/* 8008C778 000896D8 4E 80 00 20 */ blr + +.global __dt__15CCameraColliderFv +__dt__15CCameraColliderFv: +/* 8008C77C 000896DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008C780 000896E0 7C 08 02 A6 */ mflr r0 +/* 8008C784 000896E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008C788 000896E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008C78C 000896EC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8008C790 000896F0 41 82 00 1C */ beq lbl_8008C7AC +/* 8008C794 000896F4 3C A0 80 3E */ lis r5, lbl_803DAC28@ha +/* 8008C798 000896F8 7C 80 07 35 */ extsh. r0, r4 +/* 8008C79C 000896FC 38 05 AC 28 */ addi r0, r5, lbl_803DAC28@l +/* 8008C7A0 00089700 90 1F 00 00 */ stw r0, 0(r31) +/* 8008C7A4 00089704 40 81 00 08 */ ble lbl_8008C7AC +/* 8008C7A8 00089708 48 28 91 89 */ bl Free__7CMemoryFPCv +lbl_8008C7AC: +/* 8008C7AC 0008970C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008C7B0 00089710 7F E3 FB 78 */ mr r3, r31 +/* 8008C7B4 00089714 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008C7B8 00089718 7C 08 03 A6 */ mtlr r0 +/* 8008C7BC 0008971C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008C7C0 00089720 4E 80 00 20 */ blr + +.global ResetToTweaks__11CBallCameraFR13CStateManager +ResetToTweaks__11CBallCameraFR13CStateManager: +/* 8008C7C4 00089724 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8008C7C8 00089728 7C 08 02 A6 */ mflr r0 +/* 8008C7CC 0008972C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8008C7D0 00089730 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8008C7D4 00089734 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8008C7D8 00089738 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 8008C7DC 0008973C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 8008C7E0 00089740 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 8008C7E4 00089744 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 8008C7E8 00089748 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8008C7EC 0008974C 7C 7F 1B 78 */ mr r31, r3 +/* 8008C7F0 00089750 38 80 00 00 */ li r4, 0 +/* 8008C7F4 00089754 90 83 01 88 */ stw r4, 0x188(r3) +/* 8008C7F8 00089758 38 60 00 01 */ li r3, 1 +/* 8008C7FC 0008975C 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008C800 00089760 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8008C804 00089764 98 1F 01 8C */ stb r0, 0x18c(r31) +/* 8008C808 00089768 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008C80C 0008976C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8008C810 00089770 98 1F 01 8C */ stb r0, 0x18c(r31) +/* 8008C814 00089774 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008C818 00089778 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8008C81C 0008977C 98 1F 01 8C */ stb r0, 0x18c(r31) +/* 8008C820 00089780 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008C824 00089784 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8008C828 00089788 98 1F 01 8C */ stb r0, 0x18c(r31) +/* 8008C82C 0008978C 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008C830 00089790 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8008C834 00089794 98 1F 01 8C */ stb r0, 0x18c(r31) +/* 8008C838 00089798 88 1F 01 8C */ lbz r0, 0x18c(r31) +/* 8008C83C 0008979C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8008C840 000897A0 98 1F 01 8C */ stb r0, 0x18c(r31) +/* 8008C844 000897A4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008C848 000897A8 C0 03 00 84 */ lfs f0, 0x84(r3) +/* 8008C84C 000897AC D0 1F 01 94 */ stfs f0, 0x194(r31) +/* 8008C850 000897B0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008C854 000897B4 C0 03 00 88 */ lfs f0, 0x88(r3) +/* 8008C858 000897B8 D0 1F 01 98 */ stfs f0, 0x198(r31) +/* 8008C85C 000897BC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008C860 000897C0 C0 03 00 8C */ lfs f0, 0x8c(r3) +/* 8008C864 000897C4 D0 1F 01 9C */ stfs f0, 0x19c(r31) +/* 8008C868 000897C8 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008C86C 000897CC C3 A3 00 94 */ lfs f29, 0x94(r3) +/* 8008C870 000897D0 C3 E3 00 9C */ lfs f31, 0x9c(r3) +/* 8008C874 000897D4 FC 20 E8 90 */ fmr f1, f29 +/* 8008C878 000897D8 C3 C3 00 98 */ lfs f30, 0x98(r3) +/* 8008C87C 000897DC 48 28 8C 85 */ bl SqrtF__5CMathFf +/* 8008C880 000897E0 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008C884 000897E4 D3 BF 02 14 */ stfs f29, 0x214(r31) +/* 8008C888 000897E8 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8008C88C 000897EC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008C890 000897F0 D0 3F 02 18 */ stfs f1, 0x218(r31) +/* 8008C894 000897F4 D3 DF 02 1C */ stfs f30, 0x21c(r31) +/* 8008C898 000897F8 D3 FF 02 20 */ stfs f31, 0x220(r31) +/* 8008C89C 000897FC D0 1F 02 24 */ stfs f0, 0x224(r31) +/* 8008C8A0 00089800 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008C8A4 00089804 C3 E3 00 AC */ lfs f31, 0xac(r3) +/* 8008C8A8 00089808 C3 A3 00 B4 */ lfs f29, 0xb4(r3) +/* 8008C8AC 0008980C FC 20 F8 90 */ fmr f1, f31 +/* 8008C8B0 00089810 C3 C3 00 B0 */ lfs f30, 0xb0(r3) +/* 8008C8B4 00089814 48 28 8C 4D */ bl SqrtF__5CMathFf +/* 8008C8B8 00089818 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008C8BC 0008981C D3 FF 02 50 */ stfs f31, 0x250(r31) +/* 8008C8C0 00089820 EC 60 00 72 */ fmuls f3, f0, f1 +/* 8008C8C4 00089824 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 8008C8C8 00089828 C0 22 8A 3C */ lfs f1, lbl_805AA75C@sda21(r2) +/* 8008C8CC 0008982C C0 02 8A AC */ lfs f0, lbl_805AA7CC@sda21(r2) +/* 8008C8D0 00089830 D0 7F 02 54 */ stfs f3, 0x254(r31) +/* 8008C8D4 00089834 D3 DF 02 58 */ stfs f30, 0x258(r31) +/* 8008C8D8 00089838 D3 BF 02 5C */ stfs f29, 0x25c(r31) +/* 8008C8DC 0008983C D0 5F 02 60 */ stfs f2, 0x260(r31) +/* 8008C8E0 00089840 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 8008C8E4 00089844 80 04 00 78 */ lwz r0, 0x78(r4) +/* 8008C8E8 00089848 80 64 00 7C */ lwz r3, 0x7c(r4) +/* 8008C8EC 0008984C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008C8F0 00089850 80 04 00 80 */ lwz r0, 0x80(r4) +/* 8008C8F4 00089854 90 61 00 18 */ stw r3, 0x18(r1) +/* 8008C8F8 00089858 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8008C8FC 0008985C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8008C900 00089860 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8008C904 00089864 D0 5F 01 B4 */ stfs f2, 0x1b4(r31) +/* 8008C908 00089868 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8008C90C 0008986C D0 7F 01 B8 */ stfs f3, 0x1b8(r31) +/* 8008C910 00089870 D0 5F 01 BC */ stfs f2, 0x1bc(r31) +/* 8008C914 00089874 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 8008C918 00089878 80 04 01 8C */ lwz r0, 0x18c(r4) +/* 8008C91C 0008987C 80 64 01 90 */ lwz r3, 0x190(r4) +/* 8008C920 00089880 90 01 00 08 */ stw r0, 8(r1) +/* 8008C924 00089884 80 04 01 94 */ lwz r0, 0x194(r4) +/* 8008C928 00089888 90 61 00 0C */ stw r3, 0xc(r1) +/* 8008C92C 0008988C C0 41 00 08 */ lfs f2, 8(r1) +/* 8008C930 00089890 90 01 00 10 */ stw r0, 0x10(r1) +/* 8008C934 00089894 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 8008C938 00089898 D0 5F 04 10 */ stfs f2, 0x410(r31) +/* 8008C93C 0008989C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8008C940 000898A0 D0 7F 04 14 */ stfs f3, 0x414(r31) +/* 8008C944 000898A4 D0 5F 04 18 */ stfs f2, 0x418(r31) +/* 8008C948 000898A8 D0 3F 01 A0 */ stfs f1, 0x1a0(r31) +/* 8008C94C 000898AC D0 1F 01 AC */ stfs f0, 0x1ac(r31) +/* 8008C950 000898B0 D0 1F 01 B0 */ stfs f0, 0x1b0(r31) +/* 8008C954 000898B4 C3 BF 01 5C */ lfs f29, 0x15c(r31) +/* 8008C958 000898B8 4B F7 F7 81 */ bl DefaultThirdPersonFov__14CCameraManagerFv +/* 8008C95C 000898BC FC 40 08 90 */ fmr f2, f1 +/* 8008C960 000898C0 C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) +/* 8008C964 000898C4 FC 20 E8 90 */ fmr f1, f29 +/* 8008C968 000898C8 C0 82 89 B0 */ lfs f4, lbl_805AA6D0@sda21(r2) +/* 8008C96C 000898CC 7F E3 FB 78 */ mr r3, r31 +/* 8008C970 000898D0 4B FC E5 A9 */ bl SetFovInterpolation__11CGameCameraFffff +/* 8008C974 000898D4 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 8008C978 000898D8 38 60 00 00 */ li r3, 0 +/* 8008C97C 000898DC C0 04 00 74 */ lfs f0, 0x74(r4) +/* 8008C980 000898E0 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) +/* 8008C984 000898E4 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 8008C988 000898E8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8008C98C 000898EC 98 1F 01 8D */ stb r0, 0x18d(r31) +/* 8008C990 000898F0 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 8008C994 000898F4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8008C998 000898F8 98 1F 01 8D */ stb r0, 0x18d(r31) +/* 8008C99C 000898FC 88 1F 01 8D */ lbz r0, 0x18d(r31) +/* 8008C9A0 00089900 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8008C9A4 00089904 98 1F 01 8D */ stb r0, 0x18d(r31) +/* 8008C9A8 00089908 88 1F 01 8E */ lbz r0, 0x18e(r31) +/* 8008C9AC 0008990C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8008C9B0 00089910 98 1F 01 8E */ stb r0, 0x18e(r31) +/* 8008C9B4 00089914 88 1F 01 8E */ lbz r0, 0x18e(r31) +/* 8008C9B8 00089918 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8008C9BC 0008991C 98 1F 01 8E */ stb r0, 0x18e(r31) +/* 8008C9C0 00089920 88 1F 01 8E */ lbz r0, 0x18e(r31) +/* 8008C9C4 00089924 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8008C9C8 00089928 98 1F 01 8E */ stb r0, 0x18e(r31) +/* 8008C9CC 0008992C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8008C9D0 00089930 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8008C9D4 00089934 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 8008C9D8 00089938 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 8008C9DC 0008993C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 8008C9E0 00089940 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 8008C9E4 00089944 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8008C9E8 00089948 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8008C9EC 0008994C 7C 08 03 A6 */ mtlr r0 +/* 8008C9F0 00089950 38 21 00 60 */ addi r1, r1, 0x60 +/* 8008C9F4 00089954 4E 80 00 20 */ blr + +.global TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager +TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager: +/* 8008C9F8 00089958 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8008C9FC 0008995C 7C 08 02 A6 */ mflr r0 +/* 8008CA00 00089960 90 01 00 34 */ stw r0, 0x34(r1) +/* 8008CA04 00089964 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8008CA08 00089968 7C BF 2B 78 */ mr r31, r5 +/* 8008CA0C 0008996C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8008CA10 00089970 7C 9E 23 78 */ mr r30, r4 +/* 8008CA14 00089974 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8008CA18 00089978 7C 7D 1B 78 */ mr r29, r3 +/* 8008CA1C 0008997C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 8008CA20 00089980 48 28 61 21 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8008CA24 00089984 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8008CA28 00089988 38 C0 00 01 */ li r6, 1 +/* 8008CA2C 0008998C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 8008CA30 00089990 7F A3 EB 78 */ mr r3, r29 +/* 8008CA34 00089994 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8008CA38 00089998 7F E5 FB 78 */ mr r5, r31 +/* 8008CA3C 0008999C 38 81 00 08 */ addi r4, r1, 8 +/* 8008CA40 000899A0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8008CA44 000899A4 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8008CA48 000899A8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8008CA4C 000899AC 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8008CA50 000899B0 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 8008CA54 000899B4 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8008CA58 000899B8 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 8008CA5C 000899BC C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 8008CA60 000899C0 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8008CA64 000899C4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8008CA68 000899C8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8008CA6C 000899CC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8008CA70 000899D0 48 00 00 AD */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager +/* 8008CA74 000899D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8008CA78 000899D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8008CA7C 000899DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8008CA80 000899E0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8008CA84 000899E4 7C 08 03 A6 */ mtlr r0 +/* 8008CA88 000899E8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8008CA8C 000899EC 4E 80 00 20 */ blr + +.global ResetPosition__11CBallCameraFR13CStateManager +ResetPosition__11CBallCameraFR13CStateManager: +/* 8008CA90 000899F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8008CA94 000899F4 7C 08 02 A6 */ mflr r0 +/* 8008CA98 000899F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8008CA9C 000899FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8008CAA0 00089A00 7C 7F 1B 78 */ mr r31, r3 +/* 8008CAA4 00089A04 38 61 00 08 */ addi r3, r1, 8 +/* 8008CAA8 00089A08 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8008CAAC 00089A0C 48 1F 82 9D */ bl GetBallPosition__7CPlayerCFv +/* 8008CAB0 00089A10 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8008CAB4 00089A14 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8008CAB8 00089A18 C0 01 00 08 */ lfs f0, 8(r1) +/* 8008CABC 00089A1C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) +/* 8008CAC0 00089A20 D0 3F 01 DC */ stfs f1, 0x1dc(r31) +/* 8008CAC4 00089A24 D0 5F 01 E0 */ stfs f2, 0x1e0(r31) +/* 8008CAC8 00089A28 C0 3F 01 E0 */ lfs f1, 0x1e0(r31) +/* 8008CACC 00089A2C C0 1F 01 BC */ lfs f0, 0x1bc(r31) +/* 8008CAD0 00089A30 EC 01 00 2A */ fadds f0, f1, f0 +/* 8008CAD4 00089A34 D0 1F 01 E0 */ stfs f0, 0x1e0(r31) +/* 8008CAD8 00089A38 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) +/* 8008CADC 00089A3C D0 1F 01 C0 */ stfs f0, 0x1c0(r31) +/* 8008CAE0 00089A40 C0 1F 01 DC */ lfs f0, 0x1dc(r31) +/* 8008CAE4 00089A44 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) +/* 8008CAE8 00089A48 C0 1F 01 E0 */ lfs f0, 0x1e0(r31) +/* 8008CAEC 00089A4C D0 1F 01 C8 */ stfs f0, 0x1c8(r31) +/* 8008CAF0 00089A50 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) +/* 8008CAF4 00089A54 D0 1F 01 CC */ stfs f0, 0x1cc(r31) +/* 8008CAF8 00089A58 C0 1F 01 DC */ lfs f0, 0x1dc(r31) +/* 8008CAFC 00089A5C D0 1F 01 D0 */ stfs f0, 0x1d0(r31) +/* 8008CB00 00089A60 C0 1F 01 E0 */ lfs f0, 0x1e0(r31) +/* 8008CB04 00089A64 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) +/* 8008CB08 00089A68 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8008CB0C 00089A6C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8008CB10 00089A70 7C 08 03 A6 */ mtlr r0 +/* 8008CB14 00089A74 38 21 00 20 */ addi r1, r1, 0x20 +/* 8008CB18 00089A78 4E 80 00 20 */ blr + +.global TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager +TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager: +/* 8008CB1C 00089A7C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8008CB20 00089A80 7C 08 02 A6 */ mflr r0 +/* 8008CB24 00089A84 90 01 00 54 */ stw r0, 0x54(r1) +/* 8008CB28 00089A88 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8008CB2C 00089A8C 7C BF 2B 78 */ mr r31, r5 +/* 8008CB30 00089A90 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8008CB34 00089A94 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8008CB38 00089A98 7C 9E 23 78 */ mr r30, r4 +/* 8008CB3C 00089A9C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8008CB40 00089AA0 7C 7D 1B 78 */ mr r29, r3 +/* 8008CB44 00089AA4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8008CB48 00089AA8 38 9D 02 64 */ addi r4, r29, 0x264 +/* 8008CB4C 00089AAC D0 03 02 94 */ stfs f0, 0x294(r3) +/* 8008CB50 00089AB0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8008CB54 00089AB4 D0 03 02 98 */ stfs f0, 0x298(r3) +/* 8008CB58 00089AB8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8008CB5C 00089ABC D0 03 02 9C */ stfs f0, 0x29c(r3) +/* 8008CB60 00089AC0 80 FE 00 00 */ lwz r7, 0(r30) +/* 8008CB64 00089AC4 80 DE 00 04 */ lwz r6, 4(r30) +/* 8008CB68 00089AC8 80 1E 00 08 */ lwz r0, 8(r30) +/* 8008CB6C 00089ACC 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 8008CB70 00089AD0 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8008CB74 00089AD4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8008CB78 00089AD8 48 00 00 A5 */ bl "TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f" +/* 8008CB7C 00089ADC 80 FE 00 00 */ lwz r7, 0(r30) +/* 8008CB80 00089AE0 7F A3 EB 78 */ mr r3, r29 +/* 8008CB84 00089AE4 80 DE 00 04 */ lwz r6, 4(r30) +/* 8008CB88 00089AE8 38 9D 02 74 */ addi r4, r29, 0x274 +/* 8008CB8C 00089AEC 80 1E 00 08 */ lwz r0, 8(r30) +/* 8008CB90 00089AF0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8008CB94 00089AF4 90 E1 00 20 */ stw r7, 0x20(r1) +/* 8008CB98 00089AF8 90 C1 00 24 */ stw r6, 0x24(r1) +/* 8008CB9C 00089AFC 90 01 00 28 */ stw r0, 0x28(r1) +/* 8008CBA0 00089B00 48 00 00 7D */ bl "TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f" +/* 8008CBA4 00089B04 80 FE 00 00 */ lwz r7, 0(r30) +/* 8008CBA8 00089B08 7F A3 EB 78 */ mr r3, r29 +/* 8008CBAC 00089B0C 80 DE 00 04 */ lwz r6, 4(r30) +/* 8008CBB0 00089B10 38 9D 02 84 */ addi r4, r29, 0x284 +/* 8008CBB4 00089B14 80 1E 00 08 */ lwz r0, 8(r30) +/* 8008CBB8 00089B18 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8008CBBC 00089B1C 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8008CBC0 00089B20 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8008CBC4 00089B24 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8008CBC8 00089B28 48 00 00 55 */ bl "TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f" +/* 8008CBCC 00089B2C A0 1D 04 6C */ lhz r0, 0x46c(r29) +/* 8008CBD0 00089B30 7F E3 FB 78 */ mr r3, r31 +/* 8008CBD4 00089B34 38 81 00 08 */ addi r4, r1, 8 +/* 8008CBD8 00089B38 B0 01 00 08 */ sth r0, 8(r1) +/* 8008CBDC 00089B3C 4B FB F9 99 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8008CBE0 00089B40 7C 64 1B 78 */ mr r4, r3 +/* 8008CBE4 00089B44 38 61 00 0C */ addi r3, r1, 0xc +/* 8008CBE8 00089B48 48 02 27 65 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8008CBEC 00089B4C 80 63 00 04 */ lwz r3, 4(r3) +/* 8008CBF0 00089B50 28 03 00 00 */ cmplwi r3, 0 +/* 8008CBF4 00089B54 41 82 00 0C */ beq lbl_8008CC00 +/* 8008CBF8 00089B58 7F C4 F3 78 */ mr r4, r30 +/* 8008CBFC 00089B5C 4B FC 62 91 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_8008CC00: +/* 8008CC00 00089B60 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8008CC04 00089B64 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8008CC08 00089B68 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8008CC0C 00089B6C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8008CC10 00089B70 7C 08 03 A6 */ mtlr r0 +/* 8008CC14 00089B74 38 21 00 50 */ addi r1, r1, 0x50 +/* 8008CC18 00089B78 4E 80 00 20 */ blr + +.global "TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f" +"TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f": +/* 8008CC1C 00089B7C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8008CC20 00089B80 39 00 00 00 */ li r8, 0 +/* 8008CC24 00089B84 38 E0 00 00 */ li r7, 0 +/* 8008CC28 00089B88 48 00 00 B4 */ b lbl_8008CCDC +lbl_8008CC2C: +/* 8008CC2C 00089B8C 80 05 00 00 */ lwz r0, 0(r5) +/* 8008CC30 00089B90 39 08 00 01 */ addi r8, r8, 1 +/* 8008CC34 00089B94 80 65 00 04 */ lwz r3, 4(r5) +/* 8008CC38 00089B98 90 01 00 20 */ stw r0, 0x20(r1) +/* 8008CC3C 00089B9C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8008CC40 00089BA0 90 61 00 24 */ stw r3, 0x24(r1) +/* 8008CC44 00089BA4 80 65 00 08 */ lwz r3, 8(r5) +/* 8008CC48 00089BA8 7C C0 3A 14 */ add r6, r0, r7 +/* 8008CC4C 00089BAC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8008CC50 00089BB0 90 61 00 28 */ stw r3, 0x28(r1) +/* 8008CC54 00089BB4 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8008CC58 00089BB8 D0 06 00 2C */ stfs f0, 0x2c(r6) +/* 8008CC5C 00089BBC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8008CC60 00089BC0 D0 26 00 30 */ stfs f1, 0x30(r6) +/* 8008CC64 00089BC4 D0 06 00 34 */ stfs f0, 0x34(r6) +/* 8008CC68 00089BC8 80 05 00 00 */ lwz r0, 0(r5) +/* 8008CC6C 00089BCC 80 65 00 04 */ lwz r3, 4(r5) +/* 8008CC70 00089BD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008CC74 00089BD4 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8008CC78 00089BD8 90 61 00 18 */ stw r3, 0x18(r1) +/* 8008CC7C 00089BDC 80 65 00 08 */ lwz r3, 8(r5) +/* 8008CC80 00089BE0 7C C0 3A 14 */ add r6, r0, r7 +/* 8008CC84 00089BE4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8008CC88 00089BE8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8008CC8C 00089BEC C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8008CC90 00089BF0 D0 06 00 14 */ stfs f0, 0x14(r6) +/* 8008CC94 00089BF4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8008CC98 00089BF8 D0 26 00 18 */ stfs f1, 0x18(r6) +/* 8008CC9C 00089BFC D0 06 00 1C */ stfs f0, 0x1c(r6) +/* 8008CCA0 00089C00 80 05 00 00 */ lwz r0, 0(r5) +/* 8008CCA4 00089C04 80 65 00 04 */ lwz r3, 4(r5) +/* 8008CCA8 00089C08 90 01 00 08 */ stw r0, 8(r1) +/* 8008CCAC 00089C0C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8008CCB0 00089C10 90 61 00 0C */ stw r3, 0xc(r1) +/* 8008CCB4 00089C14 80 65 00 08 */ lwz r3, 8(r5) +/* 8008CCB8 00089C18 7C C0 3A 14 */ add r6, r0, r7 +/* 8008CCBC 00089C1C C0 01 00 08 */ lfs f0, 8(r1) +/* 8008CCC0 00089C20 38 E7 00 54 */ addi r7, r7, 0x54 +/* 8008CCC4 00089C24 90 61 00 10 */ stw r3, 0x10(r1) +/* 8008CCC8 00089C28 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8008CCCC 00089C2C D0 06 00 20 */ stfs f0, 0x20(r6) +/* 8008CCD0 00089C30 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8008CCD4 00089C34 D0 26 00 24 */ stfs f1, 0x24(r6) +/* 8008CCD8 00089C38 D0 06 00 28 */ stfs f0, 0x28(r6) +lbl_8008CCDC: +/* 8008CCDC 00089C3C 80 04 00 04 */ lwz r0, 4(r4) +/* 8008CCE0 00089C40 7C 08 00 00 */ cmpw r8, r0 +/* 8008CCE4 00089C44 41 80 FF 48 */ blt lbl_8008CC2C +/* 8008CCE8 00089C48 38 21 00 30 */ addi r1, r1, 0x30 +/* 8008CCEC 00089C4C 4E 80 00 20 */ blr + +.global __dt__11CBallCameraFv +__dt__11CBallCameraFv: +/* 8008CCF0 00089C50 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8008CCF4 00089C54 7C 08 02 A6 */ mflr r0 +/* 8008CCF8 00089C58 90 01 00 54 */ stw r0, 0x54(r1) +/* 8008CCFC 00089C5C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8008CD00 00089C60 7C 9F 23 78 */ mr r31, r4 +/* 8008CD04 00089C64 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8008CD08 00089C68 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8008CD0C 00089C6C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8008CD10 00089C70 93 81 00 40 */ stw r28, 0x40(r1) +/* 8008CD14 00089C74 41 82 01 74 */ beq lbl_8008CE88 +/* 8008CD18 00089C78 3C 60 80 3E */ lis r3, lbl_803DAB90@ha +/* 8008CD1C 00089C7C 34 1E 04 80 */ addic. r0, r30, 0x480 +/* 8008CD20 00089C80 38 03 AB 90 */ addi r0, r3, lbl_803DAB90@l +/* 8008CD24 00089C84 90 1E 00 00 */ stw r0, 0(r30) +/* 8008CD28 00089C88 41 82 00 0C */ beq lbl_8008CD34 +/* 8008CD2C 00089C8C 80 7E 04 80 */ lwz r3, 0x480(r30) +/* 8008CD30 00089C90 48 28 8C 01 */ bl Free__7CMemoryFPCv +lbl_8008CD34: +/* 8008CD34 00089C94 38 7E 04 7C */ addi r3, r30, 0x47c +/* 8008CD38 00089C98 38 80 FF FF */ li r4, -1 +/* 8008CD3C 00089C9C 48 00 01 71 */ bl __dt__Q211CBallCamera14SFailsafeStateFv +/* 8008CD40 00089CA0 38 7E 03 7C */ addi r3, r30, 0x37c +/* 8008CD44 00089CA4 38 80 FF FF */ li r4, -1 +/* 8008CD48 00089CA8 4B FD 08 A1 */ bl __dt__13CCameraSplineFv +/* 8008CD4C 00089CAC 34 1E 02 84 */ addic. r0, r30, 0x284 +/* 8008CD50 00089CB0 41 82 00 5C */ beq lbl_8008CDAC +/* 8008CD54 00089CB4 80 1E 02 88 */ lwz r0, 0x288(r30) +/* 8008CD58 00089CB8 83 9E 02 90 */ lwz r28, 0x290(r30) +/* 8008CD5C 00089CBC 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008CD60 00089CC0 93 81 00 2C */ stw r28, 0x2c(r1) +/* 8008CD64 00089CC4 7F BC 02 14 */ add r29, r28, r0 +/* 8008CD68 00089CC8 93 81 00 28 */ stw r28, 0x28(r1) +/* 8008CD6C 00089CCC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8008CD70 00089CD0 93 A1 00 30 */ stw r29, 0x30(r1) +/* 8008CD74 00089CD4 48 00 00 20 */ b lbl_8008CD94 +lbl_8008CD78: +/* 8008CD78 00089CD8 7F 83 E3 78 */ mr r3, r28 +/* 8008CD7C 00089CDC 38 80 FF FF */ li r4, -1 +/* 8008CD80 00089CE0 81 9C 00 00 */ lwz r12, 0(r28) +/* 8008CD84 00089CE4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008CD88 00089CE8 7D 89 03 A6 */ mtctr r12 +/* 8008CD8C 00089CEC 4E 80 04 21 */ bctrl +/* 8008CD90 00089CF0 3B 9C 00 54 */ addi r28, r28, 0x54 +lbl_8008CD94: +/* 8008CD94 00089CF4 7C 1C E8 40 */ cmplw r28, r29 +/* 8008CD98 00089CF8 40 82 FF E0 */ bne lbl_8008CD78 +/* 8008CD9C 00089CFC 80 7E 02 90 */ lwz r3, 0x290(r30) +/* 8008CDA0 00089D00 28 03 00 00 */ cmplwi r3, 0 +/* 8008CDA4 00089D04 41 82 00 08 */ beq lbl_8008CDAC +/* 8008CDA8 00089D08 48 28 8B 89 */ bl Free__7CMemoryFPCv +lbl_8008CDAC: +/* 8008CDAC 00089D0C 34 1E 02 74 */ addic. r0, r30, 0x274 +/* 8008CDB0 00089D10 41 82 00 5C */ beq lbl_8008CE0C +/* 8008CDB4 00089D14 80 1E 02 78 */ lwz r0, 0x278(r30) +/* 8008CDB8 00089D18 83 9E 02 80 */ lwz r28, 0x280(r30) +/* 8008CDBC 00089D1C 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008CDC0 00089D20 93 81 00 1C */ stw r28, 0x1c(r1) +/* 8008CDC4 00089D24 7F BC 02 14 */ add r29, r28, r0 +/* 8008CDC8 00089D28 93 81 00 18 */ stw r28, 0x18(r1) +/* 8008CDCC 00089D2C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8008CDD0 00089D30 93 A1 00 20 */ stw r29, 0x20(r1) +/* 8008CDD4 00089D34 48 00 00 20 */ b lbl_8008CDF4 +lbl_8008CDD8: +/* 8008CDD8 00089D38 7F 83 E3 78 */ mr r3, r28 +/* 8008CDDC 00089D3C 38 80 FF FF */ li r4, -1 +/* 8008CDE0 00089D40 81 9C 00 00 */ lwz r12, 0(r28) +/* 8008CDE4 00089D44 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008CDE8 00089D48 7D 89 03 A6 */ mtctr r12 +/* 8008CDEC 00089D4C 4E 80 04 21 */ bctrl +/* 8008CDF0 00089D50 3B 9C 00 54 */ addi r28, r28, 0x54 +lbl_8008CDF4: +/* 8008CDF4 00089D54 7C 1C E8 40 */ cmplw r28, r29 +/* 8008CDF8 00089D58 40 82 FF E0 */ bne lbl_8008CDD8 +/* 8008CDFC 00089D5C 80 7E 02 80 */ lwz r3, 0x280(r30) +/* 8008CE00 00089D60 28 03 00 00 */ cmplwi r3, 0 +/* 8008CE04 00089D64 41 82 00 08 */ beq lbl_8008CE0C +/* 8008CE08 00089D68 48 28 8B 29 */ bl Free__7CMemoryFPCv +lbl_8008CE0C: +/* 8008CE0C 00089D6C 34 1E 02 64 */ addic. r0, r30, 0x264 +/* 8008CE10 00089D70 41 82 00 5C */ beq lbl_8008CE6C +/* 8008CE14 00089D74 80 1E 02 68 */ lwz r0, 0x268(r30) +/* 8008CE18 00089D78 83 9E 02 70 */ lwz r28, 0x270(r30) +/* 8008CE1C 00089D7C 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008CE20 00089D80 93 81 00 0C */ stw r28, 0xc(r1) +/* 8008CE24 00089D84 7F BC 02 14 */ add r29, r28, r0 +/* 8008CE28 00089D88 93 81 00 08 */ stw r28, 8(r1) +/* 8008CE2C 00089D8C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8008CE30 00089D90 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8008CE34 00089D94 48 00 00 20 */ b lbl_8008CE54 +lbl_8008CE38: +/* 8008CE38 00089D98 7F 83 E3 78 */ mr r3, r28 +/* 8008CE3C 00089D9C 38 80 FF FF */ li r4, -1 +/* 8008CE40 00089DA0 81 9C 00 00 */ lwz r12, 0(r28) +/* 8008CE44 00089DA4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008CE48 00089DA8 7D 89 03 A6 */ mtctr r12 +/* 8008CE4C 00089DAC 4E 80 04 21 */ bctrl +/* 8008CE50 00089DB0 3B 9C 00 54 */ addi r28, r28, 0x54 +lbl_8008CE54: +/* 8008CE54 00089DB4 7C 1C E8 40 */ cmplw r28, r29 +/* 8008CE58 00089DB8 40 82 FF E0 */ bne lbl_8008CE38 +/* 8008CE5C 00089DBC 80 7E 02 70 */ lwz r3, 0x270(r30) +/* 8008CE60 00089DC0 28 03 00 00 */ cmplwi r3, 0 +/* 8008CE64 00089DC4 41 82 00 08 */ beq lbl_8008CE6C +/* 8008CE68 00089DC8 48 28 8A C9 */ bl Free__7CMemoryFPCv +lbl_8008CE6C: +/* 8008CE6C 00089DCC 7F C3 F3 78 */ mr r3, r30 +/* 8008CE70 00089DD0 38 80 00 00 */ li r4, 0 +/* 8008CE74 00089DD4 4B FD 0B E9 */ bl __dt__11CGameCameraFv +/* 8008CE78 00089DD8 7F E0 07 35 */ extsh. r0, r31 +/* 8008CE7C 00089DDC 40 81 00 0C */ ble lbl_8008CE88 +/* 8008CE80 00089DE0 7F C3 F3 78 */ mr r3, r30 +/* 8008CE84 00089DE4 48 28 8A AD */ bl Free__7CMemoryFPCv +lbl_8008CE88: +/* 8008CE88 00089DE8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8008CE8C 00089DEC 7F C3 F3 78 */ mr r3, r30 +/* 8008CE90 00089DF0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8008CE94 00089DF4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8008CE98 00089DF8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8008CE9C 00089DFC 83 81 00 40 */ lwz r28, 0x40(r1) +/* 8008CEA0 00089E00 7C 08 03 A6 */ mtlr r0 +/* 8008CEA4 00089E04 38 21 00 50 */ addi r1, r1, 0x50 +/* 8008CEA8 00089E08 4E 80 00 20 */ blr + +.global __dt__Q211CBallCamera14SFailsafeStateFv +__dt__Q211CBallCamera14SFailsafeStateFv: +/* 8008CEAC 00089E0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8008CEB0 00089E10 7C 08 02 A6 */ mflr r0 +/* 8008CEB4 00089E14 90 01 00 34 */ stw r0, 0x34(r1) +/* 8008CEB8 00089E18 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8008CEBC 00089E1C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8008CEC0 00089E20 7C 9E 23 78 */ mr r30, r4 +/* 8008CEC4 00089E24 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8008CEC8 00089E28 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8008CECC 00089E2C 41 82 00 70 */ beq lbl_8008CF3C +/* 8008CED0 00089E30 83 FD 00 00 */ lwz r31, 0(r29) +/* 8008CED4 00089E34 28 1F 00 00 */ cmplwi r31, 0 +/* 8008CED8 00089E38 41 82 00 54 */ beq lbl_8008CF2C +/* 8008CEDC 00089E3C 34 1F 00 90 */ addic. r0, r31, 0x90 +/* 8008CEE0 00089E40 41 82 00 44 */ beq lbl_8008CF24 +/* 8008CEE4 00089E44 80 1F 00 94 */ lwz r0, 0x94(r31) +/* 8008CEE8 00089E48 80 7F 00 9C */ lwz r3, 0x9c(r31) +/* 8008CEEC 00089E4C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8008CEF0 00089E50 90 61 00 0C */ stw r3, 0xc(r1) +/* 8008CEF4 00089E54 7C 64 1B 78 */ mr r4, r3 +/* 8008CEF8 00089E58 7C 03 02 14 */ add r0, r3, r0 +/* 8008CEFC 00089E5C 90 61 00 08 */ stw r3, 8(r1) +/* 8008CF00 00089E60 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008CF04 00089E64 90 01 00 10 */ stw r0, 0x10(r1) +/* 8008CF08 00089E68 48 00 00 08 */ b lbl_8008CF10 +lbl_8008CF0C: +/* 8008CF0C 00089E6C 38 84 00 0C */ addi r4, r4, 0xc +lbl_8008CF10: +/* 8008CF10 00089E70 7C 04 00 40 */ cmplw r4, r0 +/* 8008CF14 00089E74 40 82 FF F8 */ bne lbl_8008CF0C +/* 8008CF18 00089E78 28 03 00 00 */ cmplwi r3, 0 +/* 8008CF1C 00089E7C 41 82 00 08 */ beq lbl_8008CF24 +/* 8008CF20 00089E80 48 28 8A 11 */ bl Free__7CMemoryFPCv +lbl_8008CF24: +/* 8008CF24 00089E84 7F E3 FB 78 */ mr r3, r31 +/* 8008CF28 00089E88 48 28 8A 09 */ bl Free__7CMemoryFPCv +lbl_8008CF2C: +/* 8008CF2C 00089E8C 7F C0 07 35 */ extsh. r0, r30 +/* 8008CF30 00089E90 40 81 00 0C */ ble lbl_8008CF3C +/* 8008CF34 00089E94 7F A3 EB 78 */ mr r3, r29 +/* 8008CF38 00089E98 48 28 89 F9 */ bl Free__7CMemoryFPCv +lbl_8008CF3C: +/* 8008CF3C 00089E9C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8008CF40 00089EA0 7F A3 EB 78 */ mr r3, r29 +/* 8008CF44 00089EA4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8008CF48 00089EA8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8008CF4C 00089EAC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8008CF50 00089EB0 7C 08 03 A6 */ mtlr r0 +/* 8008CF54 00089EB4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8008CF58 00089EB8 4E 80 00 20 */ blr + +.global __ct__11CBallCameraF9TUniqueId9TUniqueIdRC12CTransform4fffff +__ct__11CBallCameraF9TUniqueId9TUniqueIdRC12CTransform4fffff: +/* 8008CF5C 00089EBC 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8008CF60 00089EC0 7C 08 02 A6 */ mflr r0 +/* 8008CF64 00089EC4 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8008CF68 00089EC8 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8008CF6C 00089ECC F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8008CF70 00089ED0 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8008CF74 00089ED4 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8008CF78 00089ED8 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8008CF7C 00089EDC F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8008CF80 00089EE0 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8008CF84 00089EE4 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 8008CF88 00089EE8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8008CF8C 00089EEC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8008CF90 00089EF0 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8008CF94 00089EF4 93 81 00 60 */ stw r28, 0x60(r1) +/* 8008CF98 00089EF8 3C E0 80 3D */ lis r7, lbl_803CD678@ha +/* 8008CF9C 00089EFC FF 80 08 90 */ fmr f28, f1 +/* 8008CFA0 00089F00 FF A0 10 90 */ fmr f29, f2 +/* 8008CFA4 00089F04 38 E7 D6 78 */ addi r7, r7, lbl_803CD678@l +/* 8008CFA8 00089F08 7C 7E 1B 78 */ mr r30, r3 +/* 8008CFAC 00089F0C 7C 9C 23 78 */ mr r28, r4 +/* 8008CFB0 00089F10 FF E0 18 90 */ fmr f31, f3 +/* 8008CFB4 00089F14 FF C0 20 90 */ fmr f30, f4 +/* 8008CFB8 00089F18 7C BD 2B 78 */ mr r29, r5 +/* 8008CFBC 00089F1C 7C DF 33 78 */ mr r31, r6 +/* 8008CFC0 00089F20 38 61 00 30 */ addi r3, r1, 0x30 +/* 8008CFC4 00089F24 38 87 00 07 */ addi r4, r7, 7 +/* 8008CFC8 00089F28 4B F7 7C F1 */ bl string_l__4rstlFPCc +/* 8008CFCC 00089F2C 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) +/* 8008CFD0 00089F30 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8008CFD4 00089F34 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8008CFD8 00089F38 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8008CFDC 00089F3C 90 81 00 28 */ stw r4, 0x28(r1) +/* 8008CFE0 00089F40 38 61 00 40 */ addi r3, r1, 0x40 +/* 8008CFE4 00089F44 38 81 00 2C */ addi r4, r1, 0x2c +/* 8008CFE8 00089F48 38 C1 00 28 */ addi r6, r1, 0x28 +/* 8008CFEC 00089F4C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8008CFF0 00089F50 4B FC 44 95 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8008CFF4 00089F54 A0 7D 00 00 */ lhz r3, 0(r29) +/* 8008CFF8 00089F58 FC 20 E0 90 */ fmr f1, f28 +/* 8008CFFC 00089F5C A0 1C 00 00 */ lhz r0, 0(r28) +/* 8008D000 00089F60 FC 40 E8 90 */ fmr f2, f29 +/* 8008D004 00089F64 B0 61 00 10 */ sth r3, 0x10(r1) +/* 8008D008 00089F68 FC 60 F8 90 */ fmr f3, f31 +/* 8008D00C 00089F6C FC 80 F0 90 */ fmr f4, f30 +/* 8008D010 00089F70 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8008D014 00089F74 38 00 00 00 */ li r0, 0 +/* 8008D018 00089F78 7F C3 F3 78 */ mr r3, r30 +/* 8008D01C 00089F7C 7F E8 FB 78 */ mr r8, r31 +/* 8008D020 00089F80 90 01 00 08 */ stw r0, 8(r1) +/* 8008D024 00089F84 38 81 00 14 */ addi r4, r1, 0x14 +/* 8008D028 00089F88 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8008D02C 00089F8C 38 E1 00 40 */ addi r7, r1, 0x40 +/* 8008D030 00089F90 39 21 00 10 */ addi r9, r1, 0x10 +/* 8008D034 00089F94 38 A0 00 01 */ li r5, 1 +/* 8008D038 00089F98 39 40 00 00 */ li r10, 0 +/* 8008D03C 00089F9C 4B FD 0A 81 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" +/* 8008D040 00089FA0 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8008D044 00089FA4 80 61 00 50 */ lwz r3, 0x50(r1) +/* 8008D048 00089FA8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8008D04C 00089FAC 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8008D050 00089FB0 7C 64 1B 78 */ mr r4, r3 +/* 8008D054 00089FB4 7C 03 02 14 */ add r0, r3, r0 +/* 8008D058 00089FB8 90 61 00 18 */ stw r3, 0x18(r1) +/* 8008D05C 00089FBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8008D060 00089FC0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8008D064 00089FC4 48 00 00 08 */ b lbl_8008D06C +lbl_8008D068: +/* 8008D068 00089FC8 38 84 00 0C */ addi r4, r4, 0xc +lbl_8008D06C: +/* 8008D06C 00089FCC 7C 04 00 40 */ cmplw r4, r0 +/* 8008D070 00089FD0 40 82 FF F8 */ bne lbl_8008D068 +/* 8008D074 00089FD4 28 03 00 00 */ cmplwi r3, 0 +/* 8008D078 00089FD8 41 82 00 08 */ beq lbl_8008D080 +/* 8008D07C 00089FDC 48 28 88 B5 */ bl Free__7CMemoryFPCv +lbl_8008D080: +/* 8008D080 00089FE0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8008D084 00089FE4 48 2B 0A 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8008D088 00089FE8 3C 60 80 3E */ lis r3, lbl_803DAB90@ha +/* 8008D08C 00089FEC 38 80 00 00 */ li r4, 0 +/* 8008D090 00089FF0 38 03 AB 90 */ addi r0, r3, lbl_803DAB90@l +/* 8008D094 00089FF4 38 60 00 01 */ li r3, 1 +/* 8008D098 00089FF8 90 1E 00 00 */ stw r0, 0(r30) +/* 8008D09C 00089FFC 90 9E 01 88 */ stw r4, 0x188(r30) +/* 8008D0A0 0008A000 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 8008D0A4 0008A004 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8008D0A8 0008A008 98 1E 01 8C */ stb r0, 0x18c(r30) +/* 8008D0AC 0008A00C 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 8008D0B0 0008A010 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8008D0B4 0008A014 98 1E 01 8C */ stb r0, 0x18c(r30) +/* 8008D0B8 0008A018 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 8008D0BC 0008A01C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8008D0C0 0008A020 98 1E 01 8C */ stb r0, 0x18c(r30) +/* 8008D0C4 0008A024 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 8008D0C8 0008A028 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8008D0CC 0008A02C 98 1E 01 8C */ stb r0, 0x18c(r30) +/* 8008D0D0 0008A030 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 8008D0D4 0008A034 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8008D0D8 0008A038 98 1E 01 8C */ stb r0, 0x18c(r30) +/* 8008D0DC 0008A03C 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 8008D0E0 0008A040 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8008D0E4 0008A044 98 1E 01 8C */ stb r0, 0x18c(r30) +/* 8008D0E8 0008A048 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 8008D0EC 0008A04C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8008D0F0 0008A050 98 1E 01 8C */ stb r0, 0x18c(r30) +/* 8008D0F4 0008A054 88 1E 01 8C */ lbz r0, 0x18c(r30) +/* 8008D0F8 0008A058 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8008D0FC 0008A05C 98 1E 01 8C */ stb r0, 0x18c(r30) +/* 8008D100 0008A060 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008D104 0008A064 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8008D108 0008A068 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008D10C 0008A06C 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008D110 0008A070 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8008D114 0008A074 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008D118 0008A078 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008D11C 0008A07C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8008D120 0008A080 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008D124 0008A084 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008D128 0008A088 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8008D12C 0008A08C 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008D130 0008A090 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008D134 0008A094 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8008D138 0008A098 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008D13C 0008A09C 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008D140 0008A0A0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8008D144 0008A0A4 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008D148 0008A0A8 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008D14C 0008A0AC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8008D150 0008A0B0 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008D154 0008A0B4 88 1E 01 8D */ lbz r0, 0x18d(r30) +/* 8008D158 0008A0B8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 8008D15C 0008A0BC 98 1E 01 8D */ stb r0, 0x18d(r30) +/* 8008D160 0008A0C0 88 1E 01 8E */ lbz r0, 0x18e(r30) +/* 8008D164 0008A0C4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8008D168 0008A0C8 98 1E 01 8E */ stb r0, 0x18e(r30) +/* 8008D16C 0008A0CC 88 1E 01 8E */ lbz r0, 0x18e(r30) +/* 8008D170 0008A0D0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8008D174 0008A0D4 98 1E 01 8E */ stb r0, 0x18e(r30) +/* 8008D178 0008A0D8 88 1E 01 8E */ lbz r0, 0x18e(r30) +/* 8008D17C 0008A0DC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8008D180 0008A0E0 98 1E 01 8E */ stb r0, 0x18e(r30) +/* 8008D184 0008A0E4 88 1E 01 8E */ lbz r0, 0x18e(r30) +/* 8008D188 0008A0E8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8008D18C 0008A0EC 98 1E 01 8E */ stb r0, 0x18e(r30) +/* 8008D190 0008A0F0 88 1E 01 8E */ lbz r0, 0x18e(r30) +/* 8008D194 0008A0F4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8008D198 0008A0F8 98 1E 01 8E */ stb r0, 0x18e(r30) +/* 8008D19C 0008A0FC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D1A0 0008A100 C0 03 00 84 */ lfs f0, 0x84(r3) +/* 8008D1A4 0008A104 D0 1E 01 90 */ stfs f0, 0x190(r30) +/* 8008D1A8 0008A108 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D1AC 0008A10C C0 03 00 84 */ lfs f0, 0x84(r3) +/* 8008D1B0 0008A110 D0 1E 01 94 */ stfs f0, 0x194(r30) +/* 8008D1B4 0008A114 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D1B8 0008A118 C0 03 00 88 */ lfs f0, 0x88(r3) +/* 8008D1BC 0008A11C D0 1E 01 98 */ stfs f0, 0x198(r30) +/* 8008D1C0 0008A120 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D1C4 0008A124 C0 03 00 8C */ lfs f0, 0x8c(r3) +/* 8008D1C8 0008A128 D0 1E 01 9C */ stfs f0, 0x19c(r30) +/* 8008D1CC 0008A12C C0 22 8A 3C */ lfs f1, lbl_805AA75C@sda21(r2) +/* 8008D1D0 0008A130 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8008D1D4 0008A134 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8008D1D8 0008A138 C0 02 8A B0 */ lfs f0, lbl_805AA7D0@sda21(r2) +/* 8008D1DC 0008A13C D0 3E 01 A0 */ stfs f1, 0x1a0(r30) +/* 8008D1E0 0008A140 3B E5 66 A0 */ addi r31, r5, skZero3f@l +/* 8008D1E4 0008A144 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8008D1E8 0008A148 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 8008D1EC 0008A14C 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) +/* 8008D1F0 0008A150 38 7E 01 E4 */ addi r3, r30, 0x1e4 +/* 8008D1F4 0008A154 C0 45 00 74 */ lfs f2, 0x74(r5) +/* 8008D1F8 0008A158 D0 5E 01 A4 */ stfs f2, 0x1a4(r30) +/* 8008D1FC 0008A15C 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) +/* 8008D200 0008A160 C0 45 00 74 */ lfs f2, 0x74(r5) +/* 8008D204 0008A164 D0 5E 01 A8 */ stfs f2, 0x1a8(r30) +/* 8008D208 0008A168 D0 1E 01 AC */ stfs f0, 0x1ac(r30) +/* 8008D20C 0008A16C D0 1E 01 B0 */ stfs f0, 0x1b0(r30) +/* 8008D210 0008A170 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) +/* 8008D214 0008A174 C0 05 00 78 */ lfs f0, 0x78(r5) +/* 8008D218 0008A178 D0 1E 01 B4 */ stfs f0, 0x1b4(r30) +/* 8008D21C 0008A17C C0 05 00 7C */ lfs f0, 0x7c(r5) +/* 8008D220 0008A180 D0 1E 01 B8 */ stfs f0, 0x1b8(r30) +/* 8008D224 0008A184 C0 05 00 80 */ lfs f0, 0x80(r5) +/* 8008D228 0008A188 D0 1E 01 BC */ stfs f0, 0x1bc(r30) +/* 8008D22C 0008A18C D0 3E 01 C0 */ stfs f1, 0x1c0(r30) +/* 8008D230 0008A190 D0 3E 01 C4 */ stfs f1, 0x1c4(r30) +/* 8008D234 0008A194 D0 3E 01 C8 */ stfs f1, 0x1c8(r30) +/* 8008D238 0008A198 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8008D23C 0008A19C D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 8008D240 0008A1A0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8008D244 0008A1A4 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) +/* 8008D248 0008A1A8 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8008D24C 0008A1AC D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +/* 8008D250 0008A1B0 D0 3E 01 D8 */ stfs f1, 0x1d8(r30) +/* 8008D254 0008A1B4 D0 3E 01 DC */ stfs f1, 0x1dc(r30) +/* 8008D258 0008A1B8 D0 3E 01 E0 */ stfs f1, 0x1e0(r30) +/* 8008D25C 0008A1BC 48 28 59 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008D260 0008A1C0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D264 0008A1C4 C0 23 00 94 */ lfs f1, 0x94(r3) +/* 8008D268 0008A1C8 C3 E3 00 9C */ lfs f31, 0x9c(r3) +/* 8008D26C 0008A1CC C3 C3 00 98 */ lfs f30, 0x98(r3) +/* 8008D270 0008A1D0 D0 3E 02 14 */ stfs f1, 0x214(r30) +/* 8008D274 0008A1D4 48 28 82 8D */ bl SqrtF__5CMathFf +/* 8008D278 0008A1D8 C0 42 89 E0 */ lfs f2, lbl_805AA700@sda21(r2) +/* 8008D27C 0008A1DC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008D280 0008A1E0 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8008D284 0008A1E4 D0 3E 02 18 */ stfs f1, 0x218(r30) +/* 8008D288 0008A1E8 D3 DE 02 1C */ stfs f30, 0x21c(r30) +/* 8008D28C 0008A1EC D3 FE 02 20 */ stfs f31, 0x220(r30) +/* 8008D290 0008A1F0 D0 1E 02 24 */ stfs f0, 0x224(r30) +/* 8008D294 0008A1F4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D298 0008A1F8 C0 23 00 A0 */ lfs f1, 0xa0(r3) +/* 8008D29C 0008A1FC C3 C3 00 A8 */ lfs f30, 0xa8(r3) +/* 8008D2A0 0008A200 C3 E3 00 A4 */ lfs f31, 0xa4(r3) +/* 8008D2A4 0008A204 D0 3E 02 28 */ stfs f1, 0x228(r30) +/* 8008D2A8 0008A208 48 28 82 59 */ bl SqrtF__5CMathFf +/* 8008D2AC 0008A20C C0 42 89 E0 */ lfs f2, lbl_805AA700@sda21(r2) +/* 8008D2B0 0008A210 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008D2B4 0008A214 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8008D2B8 0008A218 D0 3E 02 2C */ stfs f1, 0x22c(r30) +/* 8008D2BC 0008A21C D3 FE 02 30 */ stfs f31, 0x230(r30) +/* 8008D2C0 0008A220 D3 DE 02 34 */ stfs f30, 0x234(r30) +/* 8008D2C4 0008A224 D0 1E 02 38 */ stfs f0, 0x238(r30) +/* 8008D2C8 0008A228 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D2CC 0008A22C C0 23 00 B8 */ lfs f1, 0xb8(r3) +/* 8008D2D0 0008A230 C3 C3 00 C0 */ lfs f30, 0xc0(r3) +/* 8008D2D4 0008A234 C3 E3 00 BC */ lfs f31, 0xbc(r3) +/* 8008D2D8 0008A238 D0 3E 02 3C */ stfs f1, 0x23c(r30) +/* 8008D2DC 0008A23C 48 28 82 25 */ bl SqrtF__5CMathFf +/* 8008D2E0 0008A240 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008D2E4 0008A244 C0 42 8A B4 */ lfs f2, lbl_805AA7D4@sda21(r2) +/* 8008D2E8 0008A248 EC 60 00 72 */ fmuls f3, f0, f1 +/* 8008D2EC 0008A24C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008D2F0 0008A250 EC 22 07 B2 */ fmuls f1, f2, f30 +/* 8008D2F4 0008A254 D0 7E 02 40 */ stfs f3, 0x240(r30) +/* 8008D2F8 0008A258 D3 FE 02 44 */ stfs f31, 0x244(r30) +/* 8008D2FC 0008A25C D0 3E 02 48 */ stfs f1, 0x248(r30) +/* 8008D300 0008A260 D0 1E 02 4C */ stfs f0, 0x24c(r30) +/* 8008D304 0008A264 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D308 0008A268 C0 23 00 AC */ lfs f1, 0xac(r3) +/* 8008D30C 0008A26C C3 C3 00 B4 */ lfs f30, 0xb4(r3) +/* 8008D310 0008A270 C3 E3 00 B0 */ lfs f31, 0xb0(r3) +/* 8008D314 0008A274 D0 3E 02 50 */ stfs f1, 0x250(r30) +/* 8008D318 0008A278 48 28 81 E9 */ bl SqrtF__5CMathFf +/* 8008D31C 0008A27C C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008D320 0008A280 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8008D324 0008A284 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 8008D328 0008A288 3C 60 80 5A */ lis r3, lbl_805A6784@ha +/* 8008D32C 0008A28C EC 20 00 72 */ fmuls f1, f0, f1 +/* 8008D330 0008A290 38 A3 67 84 */ addi r5, r3, lbl_805A6784@l +/* 8008D334 0008A294 C0 62 89 B0 */ lfs f3, lbl_805AA6D0@sda21(r2) +/* 8008D338 0008A298 38 00 00 00 */ li r0, 0 +/* 8008D33C 0008A29C C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) +/* 8008D340 0008A2A0 38 60 00 00 */ li r3, 0 +/* 8008D344 0008A2A4 D0 3E 02 54 */ stfs f1, 0x254(r30) +/* 8008D348 0008A2A8 38 80 00 01 */ li r4, 1 +/* 8008D34C 0008A2AC C0 02 8A B8 */ lfs f0, lbl_805AA7D8@sda21(r2) +/* 8008D350 0008A2B0 D3 FE 02 58 */ stfs f31, 0x258(r30) +/* 8008D354 0008A2B4 D3 DE 02 5C */ stfs f30, 0x25c(r30) +/* 8008D358 0008A2B8 D0 7E 02 60 */ stfs f3, 0x260(r30) +/* 8008D35C 0008A2BC 90 1E 02 68 */ stw r0, 0x268(r30) +/* 8008D360 0008A2C0 90 1E 02 6C */ stw r0, 0x26c(r30) +/* 8008D364 0008A2C4 90 1E 02 70 */ stw r0, 0x270(r30) +/* 8008D368 0008A2C8 90 1E 02 78 */ stw r0, 0x278(r30) +/* 8008D36C 0008A2CC 90 1E 02 7C */ stw r0, 0x27c(r30) +/* 8008D370 0008A2D0 90 1E 02 80 */ stw r0, 0x280(r30) +/* 8008D374 0008A2D4 90 1E 02 88 */ stw r0, 0x288(r30) +/* 8008D378 0008A2D8 90 1E 02 8C */ stw r0, 0x28c(r30) +/* 8008D37C 0008A2DC 90 1E 02 90 */ stw r0, 0x290(r30) +/* 8008D380 0008A2E0 D0 7E 02 94 */ stfs f3, 0x294(r30) +/* 8008D384 0008A2E4 D0 7E 02 98 */ stfs f3, 0x298(r30) +/* 8008D388 0008A2E8 D0 7E 02 9C */ stfs f3, 0x29c(r30) +/* 8008D38C 0008A2EC D0 7E 02 A0 */ stfs f3, 0x2a0(r30) +/* 8008D390 0008A2F0 D0 7E 02 A4 */ stfs f3, 0x2a4(r30) +/* 8008D394 0008A2F4 D0 5E 02 A8 */ stfs f2, 0x2a8(r30) +/* 8008D398 0008A2F8 D0 7E 02 AC */ stfs f3, 0x2ac(r30) +/* 8008D39C 0008A2FC D0 7E 02 B0 */ stfs f3, 0x2b0(r30) +/* 8008D3A0 0008A300 D0 5E 02 B4 */ stfs f2, 0x2b4(r30) +/* 8008D3A4 0008A304 D0 7E 02 B8 */ stfs f3, 0x2b8(r30) +/* 8008D3A8 0008A308 D0 7E 02 BC */ stfs f3, 0x2bc(r30) +/* 8008D3AC 0008A30C D0 5E 02 C0 */ stfs f2, 0x2c0(r30) +/* 8008D3B0 0008A310 90 1E 02 C4 */ stw r0, 0x2c4(r30) +/* 8008D3B4 0008A314 90 1E 02 C8 */ stw r0, 0x2c8(r30) +/* 8008D3B8 0008A318 90 1E 02 CC */ stw r0, 0x2cc(r30) +/* 8008D3BC 0008A31C 90 1E 02 D0 */ stw r0, 0x2d0(r30) +/* 8008D3C0 0008A320 90 1E 02 D4 */ stw r0, 0x2d4(r30) +/* 8008D3C4 0008A324 90 1E 02 D8 */ stw r0, 0x2d8(r30) +/* 8008D3C8 0008A328 D0 7E 02 DC */ stfs f3, 0x2dc(r30) +/* 8008D3CC 0008A32C D0 7E 02 E0 */ stfs f3, 0x2e0(r30) +/* 8008D3D0 0008A330 D0 7E 02 E4 */ stfs f3, 0x2e4(r30) +/* 8008D3D4 0008A334 D0 7E 02 E8 */ stfs f3, 0x2e8(r30) +/* 8008D3D8 0008A338 D0 7E 02 EC */ stfs f3, 0x2ec(r30) +/* 8008D3DC 0008A33C C0 26 00 00 */ lfs f1, 0(r6) +/* 8008D3E0 0008A340 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 8008D3E4 0008A344 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8008D3E8 0008A348 D0 3E 02 F4 */ stfs f1, 0x2f4(r30) +/* 8008D3EC 0008A34C C0 3F 00 08 */ lfs f1, 8(r31) +/* 8008D3F0 0008A350 D0 3E 02 F8 */ stfs f1, 0x2f8(r30) +/* 8008D3F4 0008A354 C0 26 00 00 */ lfs f1, 0(r6) +/* 8008D3F8 0008A358 D0 3E 02 FC */ stfs f1, 0x2fc(r30) +/* 8008D3FC 0008A35C C0 3F 00 04 */ lfs f1, 4(r31) +/* 8008D400 0008A360 D0 3E 03 00 */ stfs f1, 0x300(r30) +/* 8008D404 0008A364 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8008D408 0008A368 D0 3E 03 04 */ stfs f1, 0x304(r30) +/* 8008D40C 0008A36C D0 7E 03 08 */ stfs f3, 0x308(r30) +/* 8008D410 0008A370 D0 7E 03 0C */ stfs f3, 0x30c(r30) +/* 8008D414 0008A374 D0 7E 03 10 */ stfs f3, 0x310(r30) +/* 8008D418 0008A378 D0 7E 03 14 */ stfs f3, 0x314(r30) +/* 8008D41C 0008A37C D0 7E 03 18 */ stfs f3, 0x318(r30) +/* 8008D420 0008A380 D0 7E 03 1C */ stfs f3, 0x31c(r30) +/* 8008D424 0008A384 D0 7E 03 20 */ stfs f3, 0x320(r30) +/* 8008D428 0008A388 D0 7E 03 24 */ stfs f3, 0x324(r30) +/* 8008D42C 0008A38C 90 1E 03 28 */ stw r0, 0x328(r30) +/* 8008D430 0008A390 D0 5E 03 2C */ stfs f2, 0x32c(r30) +/* 8008D434 0008A394 D0 1E 03 30 */ stfs f0, 0x330(r30) +/* 8008D438 0008A398 C0 05 00 00 */ lfs f0, 0(r5) +/* 8008D43C 0008A39C D0 1E 03 34 */ stfs f0, 0x334(r30) +/* 8008D440 0008A3A0 C0 05 00 04 */ lfs f0, 4(r5) +/* 8008D444 0008A3A4 D0 1E 03 38 */ stfs f0, 0x338(r30) +/* 8008D448 0008A3A8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8008D44C 0008A3AC D0 1E 03 3C */ stfs f0, 0x33c(r30) +/* 8008D450 0008A3B0 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8008D454 0008A3B4 D0 1E 03 40 */ stfs f0, 0x340(r30) +/* 8008D458 0008A3B8 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8008D45C 0008A3BC D0 1E 03 44 */ stfs f0, 0x344(r30) +/* 8008D460 0008A3C0 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8008D464 0008A3C4 D0 1E 03 48 */ stfs f0, 0x348(r30) +/* 8008D468 0008A3C8 D0 7E 03 4C */ stfs f3, 0x34c(r30) +/* 8008D46C 0008A3CC 90 1E 03 54 */ stw r0, 0x354(r30) +/* 8008D470 0008A3D0 90 1E 03 50 */ stw r0, 0x350(r30) +/* 8008D474 0008A3D4 80 AD 84 74 */ lwz r5, lbl_805A7034@sda21(r13) +/* 8008D478 0008A3D8 48 2F CA 7D */ bl __shl2i +/* 8008D47C 0008A3DC 80 1E 03 54 */ lwz r0, 0x354(r30) +/* 8008D480 0008A3E0 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8008D484 0008A3E4 80 FE 03 50 */ lwz r7, 0x350(r30) +/* 8008D488 0008A3E8 38 C5 66 A0 */ addi r6, r5, skZero3f@l +/* 8008D48C 0008A3EC 7C 00 23 78 */ or r0, r0, r4 +/* 8008D490 0008A3F0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) +/* 8008D494 0008A3F4 90 1E 03 54 */ stw r0, 0x354(r30) +/* 8008D498 0008A3F8 7C E0 1B 78 */ or r0, r7, r3 +/* 8008D49C 0008A3FC 38 A0 00 00 */ li r5, 0 +/* 8008D4A0 0008A400 38 7E 03 7C */ addi r3, r30, 0x37c +/* 8008D4A4 0008A404 90 1E 03 50 */ stw r0, 0x350(r30) +/* 8008D4A8 0008A408 38 80 00 00 */ li r4, 0 +/* 8008D4AC 0008A40C D0 3E 03 58 */ stfs f1, 0x358(r30) +/* 8008D4B0 0008A410 C0 06 00 00 */ lfs f0, 0(r6) +/* 8008D4B4 0008A414 D0 1E 03 5C */ stfs f0, 0x35c(r30) +/* 8008D4B8 0008A418 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8008D4BC 0008A41C D0 1E 03 60 */ stfs f0, 0x360(r30) +/* 8008D4C0 0008A420 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8008D4C4 0008A424 D0 1E 03 64 */ stfs f0, 0x364(r30) +/* 8008D4C8 0008A428 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008D4CC 0008A42C B0 1E 03 68 */ sth r0, 0x368(r30) +/* 8008D4D0 0008A430 90 BE 03 6C */ stw r5, 0x36c(r30) +/* 8008D4D4 0008A434 88 1E 03 70 */ lbz r0, 0x370(r30) +/* 8008D4D8 0008A438 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8008D4DC 0008A43C 98 1E 03 70 */ stb r0, 0x370(r30) +/* 8008D4E0 0008A440 D0 3E 03 74 */ stfs f1, 0x374(r30) +/* 8008D4E4 0008A444 4B FD 02 7D */ bl __ct__13CCameraSplineFb +/* 8008D4E8 0008A448 38 00 00 00 */ li r0, 0 +/* 8008D4EC 0008A44C 38 60 00 00 */ li r3, 0 +/* 8008D4F0 0008A450 90 1E 03 CC */ stw r0, 0x3cc(r30) +/* 8008D4F4 0008A454 38 80 00 01 */ li r4, 1 +/* 8008D4F8 0008A458 90 1E 03 C8 */ stw r0, 0x3c8(r30) +/* 8008D4FC 0008A45C 80 AD 84 78 */ lwz r5, lbl_805A7038@sda21(r13) +/* 8008D500 0008A460 48 2F C9 F5 */ bl __shl2i +/* 8008D504 0008A464 80 1E 03 CC */ lwz r0, 0x3cc(r30) +/* 8008D508 0008A468 38 A0 00 00 */ li r5, 0 +/* 8008D50C 0008A46C 80 DE 03 C8 */ lwz r6, 0x3c8(r30) +/* 8008D510 0008A470 7C 00 23 78 */ or r0, r0, r4 +/* 8008D514 0008A474 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 8008D518 0008A478 90 1E 03 CC */ stw r0, 0x3cc(r30) +/* 8008D51C 0008A47C 7C C0 1B 78 */ or r0, r6, r3 +/* 8008D520 0008A480 C0 22 8A BC */ lfs f1, lbl_805AA7DC@sda21(r2) +/* 8008D524 0008A484 90 1E 03 C8 */ stw r0, 0x3c8(r30) +/* 8008D528 0008A488 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008D52C 0008A48C 88 1E 03 D0 */ lbz r0, 0x3d0(r30) +/* 8008D530 0008A490 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8008D534 0008A494 98 1E 03 D0 */ stb r0, 0x3d0(r30) +/* 8008D538 0008A498 D0 5E 03 D4 */ stfs f2, 0x3d4(r30) +/* 8008D53C 0008A49C D0 5E 03 D8 */ stfs f2, 0x3d8(r30) +/* 8008D540 0008A4A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008D544 0008A4A4 B0 1E 03 DC */ sth r0, 0x3dc(r30) +/* 8008D548 0008A4A8 D0 3E 03 E0 */ stfs f1, 0x3e0(r30) +/* 8008D54C 0008A4AC 98 BE 03 E4 */ stb r5, 0x3e4(r30) +/* 8008D550 0008A4B0 D0 5E 03 E8 */ stfs f2, 0x3e8(r30) +/* 8008D554 0008A4B4 D0 5E 03 EC */ stfs f2, 0x3ec(r30) +/* 8008D558 0008A4B8 D0 5E 03 F0 */ stfs f2, 0x3f0(r30) +/* 8008D55C 0008A4BC D0 1E 03 F4 */ stfs f0, 0x3f4(r30) +/* 8008D560 0008A4C0 D0 5E 03 F8 */ stfs f2, 0x3f8(r30) +/* 8008D564 0008A4C4 D0 5E 03 FC */ stfs f2, 0x3fc(r30) +/* 8008D568 0008A4C8 90 BE 04 00 */ stw r5, 0x400(r30) +/* 8008D56C 0008A4CC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D570 0008A4D0 C0 03 01 78 */ lfs f0, 0x178(r3) +/* 8008D574 0008A4D4 D0 1E 04 04 */ stfs f0, 0x404(r30) +/* 8008D578 0008A4D8 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D57C 0008A4DC C0 03 01 80 */ lfs f0, 0x180(r3) +/* 8008D580 0008A4E0 D0 1E 04 08 */ stfs f0, 0x408(r30) +/* 8008D584 0008A4E4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D588 0008A4E8 C0 03 01 88 */ lfs f0, 0x188(r3) +/* 8008D58C 0008A4EC D0 1E 04 0C */ stfs f0, 0x40c(r30) +/* 8008D590 0008A4F0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D594 0008A4F4 C0 03 01 8C */ lfs f0, 0x18c(r3) +/* 8008D598 0008A4F8 D0 1E 04 10 */ stfs f0, 0x410(r30) +/* 8008D59C 0008A4FC C0 03 01 90 */ lfs f0, 0x190(r3) +/* 8008D5A0 0008A500 D0 1E 04 14 */ stfs f0, 0x414(r30) +/* 8008D5A4 0008A504 C0 03 01 94 */ lfs f0, 0x194(r3) +/* 8008D5A8 0008A508 D0 1E 04 18 */ stfs f0, 0x418(r30) +/* 8008D5AC 0008A50C 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D5B0 0008A510 C0 23 01 98 */ lfs f1, 0x198(r3) +/* 8008D5B4 0008A514 C3 C3 01 A0 */ lfs f30, 0x1a0(r3) +/* 8008D5B8 0008A518 C3 E3 01 9C */ lfs f31, 0x19c(r3) +/* 8008D5BC 0008A51C D0 3E 04 1C */ stfs f1, 0x41c(r30) +/* 8008D5C0 0008A520 48 28 7F 41 */ bl SqrtF__5CMathFf +/* 8008D5C4 0008A524 C0 42 89 E0 */ lfs f2, lbl_805AA700@sda21(r2) +/* 8008D5C8 0008A528 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) +/* 8008D5CC 0008A52C EC 22 00 72 */ fmuls f1, f2, f1 +/* 8008D5D0 0008A530 D0 3E 04 20 */ stfs f1, 0x420(r30) +/* 8008D5D4 0008A534 D3 FE 04 24 */ stfs f31, 0x424(r30) +/* 8008D5D8 0008A538 D3 DE 04 28 */ stfs f30, 0x428(r30) +/* 8008D5DC 0008A53C D0 1E 04 2C */ stfs f0, 0x42c(r30) +/* 8008D5E0 0008A540 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D5E4 0008A544 C0 03 01 A4 */ lfs f0, 0x1a4(r3) +/* 8008D5E8 0008A548 D0 1E 04 30 */ stfs f0, 0x430(r30) +/* 8008D5EC 0008A54C 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D5F0 0008A550 C0 03 01 AC */ lfs f0, 0x1ac(r3) +/* 8008D5F4 0008A554 D0 1E 04 34 */ stfs f0, 0x434(r30) +/* 8008D5F8 0008A558 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D5FC 0008A55C C0 03 01 B4 */ lfs f0, 0x1b4(r3) +/* 8008D600 0008A560 D0 1E 04 38 */ stfs f0, 0x438(r30) +/* 8008D604 0008A564 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D608 0008A568 C0 03 01 B8 */ lfs f0, 0x1b8(r3) +/* 8008D60C 0008A56C D0 1E 04 3C */ stfs f0, 0x43c(r30) +/* 8008D610 0008A570 C0 03 01 BC */ lfs f0, 0x1bc(r3) +/* 8008D614 0008A574 D0 1E 04 40 */ stfs f0, 0x440(r30) +/* 8008D618 0008A578 C0 03 01 C0 */ lfs f0, 0x1c0(r3) +/* 8008D61C 0008A57C D0 1E 04 44 */ stfs f0, 0x444(r30) +/* 8008D620 0008A580 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 8008D624 0008A584 C0 23 01 C4 */ lfs f1, 0x1c4(r3) +/* 8008D628 0008A588 C3 C3 01 CC */ lfs f30, 0x1cc(r3) +/* 8008D62C 0008A58C C3 E3 01 C8 */ lfs f31, 0x1c8(r3) +/* 8008D630 0008A590 D0 3E 04 48 */ stfs f1, 0x448(r30) +/* 8008D634 0008A594 48 28 7E CD */ bl SqrtF__5CMathFf +/* 8008D638 0008A598 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) +/* 8008D63C 0008A59C 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8008D640 0008A5A0 38 C5 66 A0 */ addi r6, r5, skZero3f@l +/* 8008D644 0008A5A4 3C 60 80 3D */ lis r3, lbl_803CD678@ha +/* 8008D648 0008A5A8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8008D64C 0008A5AC 38 83 D6 78 */ addi r4, r3, lbl_803CD678@l +/* 8008D650 0008A5B0 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) +/* 8008D654 0008A5B4 38 00 00 00 */ li r0, 0 +/* 8008D658 0008A5B8 38 60 00 A0 */ li r3, 0xa0 +/* 8008D65C 0008A5BC 38 A0 00 00 */ li r5, 0 +/* 8008D660 0008A5C0 D0 1E 04 4C */ stfs f0, 0x44c(r30) +/* 8008D664 0008A5C4 D3 FE 04 50 */ stfs f31, 0x450(r30) +/* 8008D668 0008A5C8 D3 DE 04 54 */ stfs f30, 0x454(r30) +/* 8008D66C 0008A5CC D0 5E 04 58 */ stfs f2, 0x458(r30) +/* 8008D670 0008A5D0 C0 06 00 00 */ lfs f0, 0(r6) +/* 8008D674 0008A5D4 D0 1E 04 5C */ stfs f0, 0x45c(r30) +/* 8008D678 0008A5D8 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8008D67C 0008A5DC D0 1E 04 60 */ stfs f0, 0x460(r30) +/* 8008D680 0008A5E0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8008D684 0008A5E4 D0 1E 04 64 */ stfs f0, 0x464(r30) +/* 8008D688 0008A5E8 80 CD A1 1C */ lwz r6, gpTweakBall@sda21(r13) +/* 8008D68C 0008A5EC C0 06 01 70 */ lfs f0, 0x170(r6) +/* 8008D690 0008A5F0 D0 1E 04 68 */ stfs f0, 0x468(r30) +/* 8008D694 0008A5F4 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) +/* 8008D698 0008A5F8 B0 DE 04 6C */ sth r6, 0x46c(r30) +/* 8008D69C 0008A5FC D0 5E 04 70 */ stfs f2, 0x470(r30) +/* 8008D6A0 0008A600 D0 5E 04 74 */ stfs f2, 0x474(r30) +/* 8008D6A4 0008A604 90 1E 04 78 */ stw r0, 0x478(r30) +/* 8008D6A8 0008A608 48 28 81 C5 */ bl __nw__FUlPCcPCc +/* 8008D6AC 0008A60C 7C 60 1B 79 */ or. r0, r3, r3 +/* 8008D6B0 0008A610 41 82 00 0C */ beq lbl_8008D6BC +/* 8008D6B4 0008A614 48 1B 0F 55 */ bl __ct__Q211CBallCamera14SFailsafeStateFv +/* 8008D6B8 0008A618 7C 60 1B 78 */ mr r0, r3 +lbl_8008D6BC: +/* 8008D6BC 0008A61C 3C 60 80 3D */ lis r3, lbl_803CD678@ha +/* 8008D6C0 0008A620 90 1E 04 7C */ stw r0, 0x47c(r30) +/* 8008D6C4 0008A624 38 83 D6 78 */ addi r4, r3, lbl_803CD678@l +/* 8008D6C8 0008A628 38 A0 00 00 */ li r5, 0 +/* 8008D6CC 0008A62C 38 60 00 01 */ li r3, 1 +/* 8008D6D0 0008A630 48 28 81 9D */ bl __nw__FUlPCcPCc +/* 8008D6D4 0008A634 7C 60 1B 79 */ or. r0, r3, r3 +/* 8008D6D8 0008A638 41 82 00 0C */ beq lbl_8008D6E4 +/* 8008D6DC 0008A63C 48 1B 0F 29 */ bl nullsub_19 +/* 8008D6E0 0008A640 7C 60 1B 78 */ mr r0, r3 +lbl_8008D6E4: +/* 8008D6E4 0008A644 C0 22 8A 2C */ lfs f1, lbl_805AA74C@sda21(r2) +/* 8008D6E8 0008A648 7F C3 F3 78 */ mr r3, r30 +/* 8008D6EC 0008A64C 90 1E 04 80 */ stw r0, 0x480(r30) +/* 8008D6F0 0008A650 38 9E 02 64 */ addi r4, r30, 0x264 +/* 8008D6F4 0008A654 FC 40 08 90 */ fmr f2, f1 +/* 8008D6F8 0008A658 C0 62 89 BC */ lfs f3, lbl_805AA6DC@sda21(r2) +/* 8008D6FC 0008A65C C0 82 89 E0 */ lfs f4, lbl_805AA700@sda21(r2) +/* 8008D700 0008A660 38 A0 00 03 */ li r5, 3 +/* 8008D704 0008A664 C0 A2 89 DC */ lfs f5, lbl_805AA6FC@sda21(r2) +/* 8008D708 0008A668 C0 C2 8A 30 */ lfs f6, lbl_805AA750@sda21(r2) +/* 8008D70C 0008A66C 4B FF ED 05 */ bl "SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff" +/* 8008D710 0008A670 C0 22 8A 34 */ lfs f1, lbl_805AA754@sda21(r2) +/* 8008D714 0008A674 7F C3 F3 78 */ mr r3, r30 +/* 8008D718 0008A678 C0 62 89 BC */ lfs f3, lbl_805AA6DC@sda21(r2) +/* 8008D71C 0008A67C 38 9E 02 74 */ addi r4, r30, 0x274 +/* 8008D720 0008A680 FC 40 08 90 */ fmr f2, f1 +/* 8008D724 0008A684 C0 82 89 E0 */ lfs f4, lbl_805AA700@sda21(r2) +/* 8008D728 0008A688 C0 A2 89 DC */ lfs f5, lbl_805AA6FC@sda21(r2) +/* 8008D72C 0008A68C 38 A0 00 06 */ li r5, 6 +/* 8008D730 0008A690 C0 C2 8A 30 */ lfs f6, lbl_805AA750@sda21(r2) +/* 8008D734 0008A694 4B FF EC DD */ bl "SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff" +/* 8008D738 0008A698 C0 22 8A 38 */ lfs f1, lbl_805AA758@sda21(r2) +/* 8008D73C 0008A69C 7F C3 F3 78 */ mr r3, r30 +/* 8008D740 0008A6A0 C0 62 89 BC */ lfs f3, lbl_805AA6DC@sda21(r2) +/* 8008D744 0008A6A4 38 9E 02 84 */ addi r4, r30, 0x284 +/* 8008D748 0008A6A8 FC 40 08 90 */ fmr f2, f1 +/* 8008D74C 0008A6AC C0 82 89 E0 */ lfs f4, lbl_805AA700@sda21(r2) +/* 8008D750 0008A6B0 C0 A2 89 DC */ lfs f5, lbl_805AA6FC@sda21(r2) +/* 8008D754 0008A6B4 38 A0 00 0C */ li r5, 0xc +/* 8008D758 0008A6B8 C0 C2 8A 30 */ lfs f6, lbl_805AA750@sda21(r2) +/* 8008D75C 0008A6BC 4B FF EC B5 */ bl "SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff" +/* 8008D760 0008A6C0 7F C3 F3 78 */ mr r3, r30 +/* 8008D764 0008A6C4 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8008D768 0008A6C8 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8008D76C 0008A6CC E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8008D770 0008A6D0 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8008D774 0008A6D4 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8008D778 0008A6D8 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8008D77C 0008A6DC E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 8008D780 0008A6E0 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 8008D784 0008A6E4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8008D788 0008A6E8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8008D78C 0008A6EC 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8008D790 0008A6F0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8008D794 0008A6F4 83 81 00 60 */ lwz r28, 0x60(r1) +/* 8008D798 0008A6F8 7C 08 03 A6 */ mtlr r0 +/* 8008D79C 0008A6FC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8008D7A0 0008A700 4E 80 00 20 */ blr + +.global __ct__15CCameraColliderFf9CVector3fRC13CCameraSpringf +__ct__15CCameraColliderFf9CVector3fRC13CCameraSpringf: +/* 8008D7A4 0008A704 3C C0 80 3E */ lis r6, lbl_803DAC28@ha +/* 8008D7A8 0008A708 38 00 00 00 */ li r0, 0 +/* 8008D7AC 0008A70C 38 C6 AC 28 */ addi r6, r6, lbl_803DAC28@l +/* 8008D7B0 0008A710 90 C3 00 00 */ stw r6, 0(r3) +/* 8008D7B4 0008A714 D0 23 00 04 */ stfs f1, 4(r3) +/* 8008D7B8 0008A718 C0 04 00 00 */ lfs f0, 0(r4) +/* 8008D7BC 0008A71C D0 03 00 08 */ stfs f0, 8(r3) +/* 8008D7C0 0008A720 C0 04 00 04 */ lfs f0, 4(r4) +/* 8008D7C4 0008A724 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8008D7C8 0008A728 C0 04 00 08 */ lfs f0, 8(r4) +/* 8008D7CC 0008A72C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8008D7D0 0008A730 C0 04 00 00 */ lfs f0, 0(r4) +/* 8008D7D4 0008A734 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8008D7D8 0008A738 C0 04 00 04 */ lfs f0, 4(r4) +/* 8008D7DC 0008A73C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8008D7E0 0008A740 C0 04 00 08 */ lfs f0, 8(r4) +/* 8008D7E4 0008A744 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8008D7E8 0008A748 C0 04 00 00 */ lfs f0, 0(r4) +/* 8008D7EC 0008A74C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8008D7F0 0008A750 C0 04 00 04 */ lfs f0, 4(r4) +/* 8008D7F4 0008A754 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8008D7F8 0008A758 C0 04 00 08 */ lfs f0, 8(r4) +/* 8008D7FC 0008A75C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8008D800 0008A760 C0 04 00 00 */ lfs f0, 0(r4) +/* 8008D804 0008A764 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8008D808 0008A768 C0 04 00 04 */ lfs f0, 4(r4) +/* 8008D80C 0008A76C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8008D810 0008A770 C0 04 00 08 */ lfs f0, 8(r4) +/* 8008D814 0008A774 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 8008D818 0008A778 C0 05 00 00 */ lfs f0, 0(r5) +/* 8008D81C 0008A77C D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8008D820 0008A780 C0 05 00 04 */ lfs f0, 4(r5) +/* 8008D824 0008A784 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 8008D828 0008A788 C0 05 00 08 */ lfs f0, 8(r5) +/* 8008D82C 0008A78C D0 03 00 40 */ stfs f0, 0x40(r3) +/* 8008D830 0008A790 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8008D834 0008A794 D0 03 00 44 */ stfs f0, 0x44(r3) +/* 8008D838 0008A798 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8008D83C 0008A79C D0 03 00 48 */ stfs f0, 0x48(r3) +/* 8008D840 0008A7A0 90 03 00 4C */ stw r0, 0x4c(r3) +/* 8008D844 0008A7A4 D0 43 00 50 */ stfs f2, 0x50(r3) +/* 8008D848 0008A7A8 4E 80 00 20 */ blr + +.global "reserve__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>Fi": +/* 8008D84C 0008A7AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8008D850 0008A7B0 7C 08 02 A6 */ mflr r0 +/* 8008D854 0008A7B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8008D858 0008A7B8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8008D85C 0008A7BC 7C 9F 23 78 */ mr r31, r4 +/* 8008D860 0008A7C0 7C 7E 1B 78 */ mr r30, r3 +/* 8008D864 0008A7C4 80 03 00 08 */ lwz r0, 8(r3) +/* 8008D868 0008A7C8 7C 1F 00 00 */ cmpw r31, r0 +/* 8008D86C 0008A7CC 40 81 00 B0 */ ble lbl_8008D91C +/* 8008D870 0008A7D0 1C 7F 00 54 */ mulli r3, r31, 0x54 +/* 8008D874 0008A7D4 2C 03 00 00 */ cmpwi r3, 0 +/* 8008D878 0008A7D8 40 82 00 0C */ bne lbl_8008D884 +/* 8008D87C 0008A7DC 3B A0 00 00 */ li r29, 0 +/* 8008D880 0008A7E0 48 00 00 18 */ b lbl_8008D898 +lbl_8008D884: +/* 8008D884 0008A7E4 3C 80 80 3D */ lis r4, lbl_803CD678@ha +/* 8008D888 0008A7E8 38 A0 00 00 */ li r5, 0 +/* 8008D88C 0008A7EC 38 84 D6 78 */ addi r4, r4, lbl_803CD678@l +/* 8008D890 0008A7F0 48 28 7F 89 */ bl __nwa__FUlPCcPCc +/* 8008D894 0008A7F4 7C 7D 1B 78 */ mr r29, r3 +lbl_8008D898: +/* 8008D898 0008A7F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8008D89C 0008A7FC 7F A5 EB 78 */ mr r5, r29 +/* 8008D8A0 0008A800 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8008D8A4 0008A804 38 61 00 14 */ addi r3, r1, 0x14 +/* 8008D8A8 0008A808 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008D8AC 0008A80C 38 81 00 0C */ addi r4, r1, 0xc +/* 8008D8B0 0008A810 7C C6 02 14 */ add r6, r6, r0 +/* 8008D8B4 0008A814 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8008D8B8 0008A818 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8008D8BC 0008A81C 90 C1 00 08 */ stw r6, 8(r1) +/* 8008D8C0 0008A820 90 01 00 10 */ stw r0, 0x10(r1) +/* 8008D8C4 0008A824 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008D8C8 0008A828 48 00 00 69 */ bl "uninitialized_copy,Q24rstl17rmemory_allocator>,P15CCameraCollider>__4rstlFQ24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>P15CCameraCollider" +/* 8008D8CC 0008A82C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8008D8D0 0008A830 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8008D8D4 0008A834 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8008D8D8 0008A838 7F 9B 02 14 */ add r28, r27, r0 +/* 8008D8DC 0008A83C 48 00 00 20 */ b lbl_8008D8FC +lbl_8008D8E0: +/* 8008D8E0 0008A840 7F 63 DB 78 */ mr r3, r27 +/* 8008D8E4 0008A844 38 80 FF FF */ li r4, -1 +/* 8008D8E8 0008A848 81 9B 00 00 */ lwz r12, 0(r27) +/* 8008D8EC 0008A84C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008D8F0 0008A850 7D 89 03 A6 */ mtctr r12 +/* 8008D8F4 0008A854 4E 80 04 21 */ bctrl +/* 8008D8F8 0008A858 3B 7B 00 54 */ addi r27, r27, 0x54 +lbl_8008D8FC: +/* 8008D8FC 0008A85C 7C 1B E0 40 */ cmplw r27, r28 +/* 8008D900 0008A860 40 82 FF E0 */ bne lbl_8008D8E0 +/* 8008D904 0008A864 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8008D908 0008A868 28 03 00 00 */ cmplwi r3, 0 +/* 8008D90C 0008A86C 41 82 00 08 */ beq lbl_8008D914 +/* 8008D910 0008A870 48 28 80 21 */ bl Free__7CMemoryFPCv +lbl_8008D914: +/* 8008D914 0008A874 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8008D918 0008A878 93 FE 00 08 */ stw r31, 8(r30) +lbl_8008D91C: +/* 8008D91C 0008A87C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8008D920 0008A880 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8008D924 0008A884 7C 08 03 A6 */ mtlr r0 +/* 8008D928 0008A888 38 21 00 30 */ addi r1, r1, 0x30 +/* 8008D92C 0008A88C 4E 80 00 20 */ blr + +.global "uninitialized_copy,Q24rstl17rmemory_allocator>,P15CCameraCollider>__4rstlFQ24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>P15CCameraCollider" +"uninitialized_copy,Q24rstl17rmemory_allocator>,P15CCameraCollider>__4rstlFQ24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>P15CCameraCollider": +/* 8008D930 0008A890 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8008D934 0008A894 7C 08 02 A6 */ mflr r0 +/* 8008D938 0008A898 90 01 00 24 */ stw r0, 0x24(r1) +/* 8008D93C 0008A89C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8008D940 0008A8A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8008D944 0008A8A4 7C BE 2B 78 */ mr r30, r5 +/* 8008D948 0008A8A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8008D94C 0008A8AC 7C 9D 23 78 */ mr r29, r4 +/* 8008D950 0008A8B0 83 E3 00 00 */ lwz r31, 0(r3) +/* 8008D954 0008A8B4 48 00 00 18 */ b lbl_8008D96C +lbl_8008D958: +/* 8008D958 0008A8B8 7F C3 F3 78 */ mr r3, r30 +/* 8008D95C 0008A8BC 7F E4 FB 78 */ mr r4, r31 +/* 8008D960 0008A8C0 4B FF ED 45 */ bl "construct<15CCameraCollider>__4rstlFPvRC15CCameraCollider" +/* 8008D964 0008A8C4 3B DE 00 54 */ addi r30, r30, 0x54 +/* 8008D968 0008A8C8 3B FF 00 54 */ addi r31, r31, 0x54 +lbl_8008D96C: +/* 8008D96C 0008A8CC 80 1D 00 00 */ lwz r0, 0(r29) +/* 8008D970 0008A8D0 7C 1F 00 40 */ cmplw r31, r0 +/* 8008D974 0008A8D4 40 82 FF E4 */ bne lbl_8008D958 +/* 8008D978 0008A8D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8008D97C 0008A8DC 7F C3 F3 78 */ mr r3, r30 +/* 8008D980 0008A8E0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8008D984 0008A8E4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8008D988 0008A8E8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8008D98C 0008A8EC 7C 08 03 A6 */ mtlr r0 +/* 8008D990 0008A8F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8008D994 0008A8F4 4E 80 00 20 */ blr + +.global __sinit_CBallCamera_cpp +__sinit_CBallCamera_cpp: +/* 8008D998 0008A8F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8008D99C 0008A8FC 7C 08 02 A6 */ mflr r0 +/* 8008D9A0 0008A900 38 60 00 00 */ li r3, 0 +/* 8008D9A4 0008A904 38 80 00 01 */ li r4, 1 +/* 8008D9A8 0008A908 90 01 00 34 */ stw r0, 0x34(r1) +/* 8008D9AC 0008A90C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8008D9B0 0008A910 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8008D9B4 0008A914 80 AD 84 60 */ lwz r5, lbl_805A7020@sda21(r13) +/* 8008D9B8 0008A918 48 2F C5 3D */ bl __shl2i +/* 8008D9BC 0008A91C 90 8D A2 8C */ stw r4, lbl_805A8E4C@sda21(r13) +/* 8008D9C0 0008A920 38 80 00 01 */ li r4, 1 +/* 8008D9C4 0008A924 80 AD 84 64 */ lwz r5, lbl_805A7024@sda21(r13) +/* 8008D9C8 0008A928 90 6D A2 88 */ stw r3, lbl_805A8E48@sda21(r13) +/* 8008D9CC 0008A92C 38 60 00 00 */ li r3, 0 +/* 8008D9D0 0008A930 48 2F C5 25 */ bl __shl2i +/* 8008D9D4 0008A934 80 AD 84 68 */ lwz r5, lbl_805A7028@sda21(r13) +/* 8008D9D8 0008A938 7C 9E 23 78 */ mr r30, r4 +/* 8008D9DC 0008A93C 7C 7F 1B 78 */ mr r31, r3 +/* 8008D9E0 0008A940 38 60 00 00 */ li r3, 0 +/* 8008D9E4 0008A944 38 80 00 01 */ li r4, 1 +/* 8008D9E8 0008A948 48 2F C5 0D */ bl __shl2i +/* 8008D9EC 0008A94C 80 AD 84 6C */ lwz r5, lbl_805A702C@sda21(r13) +/* 8008D9F0 0008A950 7F DE 23 78 */ or r30, r30, r4 +/* 8008D9F4 0008A954 7F FF 1B 78 */ or r31, r31, r3 +/* 8008D9F8 0008A958 38 60 00 00 */ li r3, 0 +/* 8008D9FC 0008A95C 38 80 00 01 */ li r4, 1 +/* 8008DA00 0008A960 48 2F C4 F5 */ bl __shl2i +/* 8008DA04 0008A964 80 AD 84 70 */ lwz r5, lbl_805A7030@sda21(r13) +/* 8008DA08 0008A968 7F DE 23 78 */ or r30, r30, r4 +/* 8008DA0C 0008A96C 7F FF 1B 78 */ or r31, r31, r3 +/* 8008DA10 0008A970 38 60 00 00 */ li r3, 0 +/* 8008DA14 0008A974 38 80 00 01 */ li r4, 1 +/* 8008DA18 0008A978 48 2F C4 DD */ bl __shl2i +/* 8008DA1C 0008A97C 3C A0 80 47 */ lis r5, lbl_8046C408@ha +/* 8008DA20 0008A980 80 0D A2 88 */ lwz r0, lbl_805A8E48@sda21(r13) +/* 8008DA24 0008A984 7F DE 23 78 */ or r30, r30, r4 +/* 8008DA28 0008A988 7F FF 1B 78 */ or r31, r31, r3 +/* 8008DA2C 0008A98C 38 65 C4 08 */ addi r3, r5, lbl_8046C408@l +/* 8008DA30 0008A990 38 A0 00 03 */ li r5, 3 +/* 8008DA34 0008A994 80 8D A2 8C */ lwz r4, lbl_805A8E4C@sda21(r13) +/* 8008DA38 0008A998 93 CD A2 94 */ stw r30, lbl_805A8E54@sda21(r13) +/* 8008DA3C 0008A99C 93 ED A2 90 */ stw r31, lbl_805A8E50@sda21(r13) +/* 8008DA40 0008A9A0 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8008DA44 0008A9A4 90 83 00 04 */ stw r4, 4(r3) +/* 8008DA48 0008A9A8 90 03 00 00 */ stw r0, 0(r3) +/* 8008DA4C 0008A9AC 93 C3 00 0C */ stw r30, 0xc(r3) +/* 8008DA50 0008A9B0 93 E3 00 08 */ stw r31, 8(r3) +/* 8008DA54 0008A9B4 90 A3 00 10 */ stw r5, 0x10(r3) +/* 8008DA58 0008A9B8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8008DA5C 0008A9BC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8008DA60 0008A9C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8008DA64 0008A9C4 7C 08 03 A6 */ mtlr r0 +/* 8008DA68 0008A9C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8008DA6C 0008A9CC 4E 80 00 20 */ blr + +.global __dt__13CScriptEffectFv +__dt__13CScriptEffectFv: +/* 8008DA70 0008A9D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008DA74 0008A9D4 7C 08 02 A6 */ mflr r0 +/* 8008DA78 0008A9D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008DA7C 0008A9DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008DA80 0008A9E0 7C 9F 23 78 */ mr r31, r4 +/* 8008DA84 0008A9E4 93 C1 00 08 */ stw r30, 8(r1) +/* 8008DA88 0008A9E8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8008DA8C 0008A9EC 41 82 00 C8 */ beq lbl_8008DB54 +/* 8008DA90 0008A9F0 3C 60 80 3E */ lis r3, lbl_803DAC38@ha +/* 8008DA94 0008A9F4 34 1E 01 38 */ addic. r0, r30, 0x138 +/* 8008DA98 0008A9F8 38 03 AC 38 */ addi r0, r3, lbl_803DAC38@l +/* 8008DA9C 0008A9FC 90 1E 00 00 */ stw r0, 0(r30) +/* 8008DAA0 0008AA00 41 82 00 10 */ beq lbl_8008DAB0 +/* 8008DAA4 0008AA04 80 7E 01 38 */ lwz r3, 0x138(r30) +/* 8008DAA8 0008AA08 38 80 00 01 */ li r4, 1 +/* 8008DAAC 0008AA0C 48 07 76 29 */ bl __dt__12CActorLightsFv +lbl_8008DAB0: +/* 8008DAB0 0008AA10 34 1E 01 04 */ addic. r0, r30, 0x104 +/* 8008DAB4 0008AA14 41 82 00 24 */ beq lbl_8008DAD8 +/* 8008DAB8 0008AA18 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8008DABC 0008AA1C 28 03 00 00 */ cmplwi r3, 0 +/* 8008DAC0 0008AA20 41 82 00 18 */ beq lbl_8008DAD8 +/* 8008DAC4 0008AA24 81 83 00 00 */ lwz r12, 0(r3) +/* 8008DAC8 0008AA28 38 80 00 01 */ li r4, 1 +/* 8008DACC 0008AA2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008DAD0 0008AA30 7D 89 03 A6 */ mtctr r12 +/* 8008DAD4 0008AA34 4E 80 04 21 */ bctrl +lbl_8008DAD8: +/* 8008DAD8 0008AA38 34 1E 00 F8 */ addic. r0, r30, 0xf8 +/* 8008DADC 0008AA3C 41 82 00 18 */ beq lbl_8008DAF4 +/* 8008DAE0 0008AA40 34 1E 00 F8 */ addic. r0, r30, 0xf8 +/* 8008DAE4 0008AA44 41 82 00 10 */ beq lbl_8008DAF4 +/* 8008DAE8 0008AA48 38 7E 00 F8 */ addi r3, r30, 0xf8 +/* 8008DAEC 0008AA4C 38 80 00 00 */ li r4, 0 +/* 8008DAF0 0008AA50 48 2B 33 51 */ bl __dt__6CTokenFv +lbl_8008DAF4: +/* 8008DAF4 0008AA54 34 1E 00 F4 */ addic. r0, r30, 0xf4 +/* 8008DAF8 0008AA58 41 82 00 24 */ beq lbl_8008DB1C +/* 8008DAFC 0008AA5C 80 7E 00 F4 */ lwz r3, 0xf4(r30) +/* 8008DB00 0008AA60 28 03 00 00 */ cmplwi r3, 0 +/* 8008DB04 0008AA64 41 82 00 18 */ beq lbl_8008DB1C +/* 8008DB08 0008AA68 81 83 00 00 */ lwz r12, 0(r3) +/* 8008DB0C 0008AA6C 38 80 00 01 */ li r4, 1 +/* 8008DB10 0008AA70 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008DB14 0008AA74 7D 89 03 A6 */ mtctr r12 +/* 8008DB18 0008AA78 4E 80 04 21 */ bctrl +lbl_8008DB1C: +/* 8008DB1C 0008AA7C 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8008DB20 0008AA80 41 82 00 18 */ beq lbl_8008DB38 +/* 8008DB24 0008AA84 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8008DB28 0008AA88 41 82 00 10 */ beq lbl_8008DB38 +/* 8008DB2C 0008AA8C 38 7E 00 E8 */ addi r3, r30, 0xe8 +/* 8008DB30 0008AA90 38 80 00 00 */ li r4, 0 +/* 8008DB34 0008AA94 48 2B 33 0D */ bl __dt__6CTokenFv +lbl_8008DB38: +/* 8008DB38 0008AA98 7F C3 F3 78 */ mr r3, r30 +/* 8008DB3C 0008AA9C 38 80 00 00 */ li r4, 0 +/* 8008DB40 0008AAA0 4B FC 7B B1 */ bl __dt__6CActorFv +/* 8008DB44 0008AAA4 7F E0 07 35 */ extsh. r0, r31 +/* 8008DB48 0008AAA8 40 81 00 0C */ ble lbl_8008DB54 +/* 8008DB4C 0008AAAC 7F C3 F3 78 */ mr r3, r30 +/* 8008DB50 0008AAB0 48 28 7D E1 */ bl Free__7CMemoryFPCv +lbl_8008DB54: +/* 8008DB54 0008AAB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008DB58 0008AAB8 7F C3 F3 78 */ mr r3, r30 +/* 8008DB5C 0008AABC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008DB60 0008AAC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8008DB64 0008AAC4 7C 08 03 A6 */ mtlr r0 +/* 8008DB68 0008AAC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008DB6C 0008AACC 4E 80 00 20 */ blr + +.global SetActive__13CScriptEffectFb +SetActive__13CScriptEffectFb: +/* 8008DB70 0008AAD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008DB74 0008AAD4 7C 08 02 A6 */ mflr r0 +/* 8008DB78 0008AAD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008DB7C 0008AADC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008DB80 0008AAE0 7C 7F 1B 78 */ mr r31, r3 +/* 8008DB84 0008AAE4 4B FC 5C C9 */ bl SetActive__6CActorFb +/* 8008DB88 0008AAE8 88 1F 00 E7 */ lbz r0, 0xe7(r31) +/* 8008DB8C 0008AAEC 38 60 00 01 */ li r3, 1 +/* 8008DB90 0008AAF0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8008DB94 0008AAF4 98 1F 00 E7 */ stb r0, 0xe7(r31) +/* 8008DB98 0008AAF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008DB9C 0008AAFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008DBA0 0008AB00 7C 08 03 A6 */ mtlr r0 +/* 8008DBA4 0008AB04 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008DBA8 0008AB08 4E 80 00 20 */ blr + +.global GetSortingBounds__13CScriptEffectCFRC12CTransform4f +GetSortingBounds__13CScriptEffectCFRC12CTransform4f: +/* 8008DBAC 0008AB0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8008DBB0 0008AB10 7C 08 02 A6 */ mflr r0 +/* 8008DBB4 0008AB14 90 01 00 24 */ stw r0, 0x24(r1) +/* 8008DBB8 0008AB18 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8008DBBC 0008AB1C 7C 9F 23 78 */ mr r31, r4 +/* 8008DBC0 0008AB20 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8008DBC4 0008AB24 7C 7E 1B 78 */ mr r30, r3 +/* 8008DBC8 0008AB28 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008DBCC 0008AB2C A0 84 01 3C */ lhz r4, 0x13c(r4) +/* 8008DBD0 0008AB30 7C 04 00 40 */ cmplw r4, r0 +/* 8008DBD4 0008AB34 41 82 00 28 */ beq lbl_8008DBFC +/* 8008DBD8 0008AB38 B0 81 00 08 */ sth r4, 8(r1) +/* 8008DBDC 0008AB3C 7C A3 2B 78 */ mr r3, r5 +/* 8008DBE0 0008AB40 38 81 00 08 */ addi r4, r1, 8 +/* 8008DBE4 0008AB44 4B FB E9 C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8008DBE8 0008AB48 7C 64 1B 79 */ or. r4, r3, r3 +/* 8008DBEC 0008AB4C 41 82 00 10 */ beq lbl_8008DBFC +/* 8008DBF0 0008AB50 7F C3 F3 78 */ mr r3, r30 +/* 8008DBF4 0008AB54 4B FE 8A D9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 8008DBF8 0008AB58 48 00 00 34 */ b lbl_8008DC2C +lbl_8008DBFC: +/* 8008DBFC 0008AB5C C0 1F 00 9C */ lfs f0, 0x9c(r31) +/* 8008DC00 0008AB60 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8008DC04 0008AB64 C0 1F 00 A0 */ lfs f0, 0xa0(r31) +/* 8008DC08 0008AB68 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8008DC0C 0008AB6C C0 1F 00 A4 */ lfs f0, 0xa4(r31) +/* 8008DC10 0008AB70 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8008DC14 0008AB74 C0 1F 00 A8 */ lfs f0, 0xa8(r31) +/* 8008DC18 0008AB78 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8008DC1C 0008AB7C C0 1F 00 AC */ lfs f0, 0xac(r31) +/* 8008DC20 0008AB80 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8008DC24 0008AB84 C0 1F 00 B0 */ lfs f0, 0xb0(r31) +/* 8008DC28 0008AB88 D0 1E 00 14 */ stfs f0, 0x14(r30) +lbl_8008DC2C: +/* 8008DC2C 0008AB8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8008DC30 0008AB90 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8008DC34 0008AB94 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8008DC38 0008AB98 7C 08 03 A6 */ mtlr r0 +/* 8008DC3C 0008AB9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8008DC40 0008ABA0 4E 80 00 20 */ blr + +.global CalculateRenderBounds__13CScriptEffectFv +CalculateRenderBounds__13CScriptEffectFv: +/* 8008DC44 0008ABA4 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8008DC48 0008ABA8 7C 08 02 A6 */ mflr r0 +/* 8008DC4C 0008ABAC 38 A0 00 00 */ li r5, 0 +/* 8008DC50 0008ABB0 90 01 01 04 */ stw r0, 0x104(r1) +/* 8008DC54 0008ABB4 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8008DC58 0008ABB8 7C 7F 1B 78 */ mr r31, r3 +/* 8008DC5C 0008ABBC 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8008DC60 0008ABC0 3B C0 00 00 */ li r30, 0 +/* 8008DC64 0008ABC4 80 83 01 04 */ lwz r4, 0x104(r3) +/* 8008DC68 0008ABC8 28 04 00 00 */ cmplwi r4, 0 +/* 8008DC6C 0008ABCC 41 82 00 24 */ beq lbl_8008DC90 +/* 8008DC70 0008ABD0 81 84 00 00 */ lwz r12, 0(r4) +/* 8008DC74 0008ABD4 38 61 00 80 */ addi r3, r1, 0x80 +/* 8008DC78 0008ABD8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8008DC7C 0008ABDC 7D 89 03 A6 */ mtctr r12 +/* 8008DC80 0008ABE0 4E 80 04 21 */ bctrl +/* 8008DC84 0008ABE4 38 61 00 80 */ addi r3, r1, 0x80 +/* 8008DC88 0008ABE8 38 A0 00 01 */ li r5, 1 +/* 8008DC8C 0008ABEC 48 00 00 14 */ b lbl_8008DCA0 +lbl_8008DC90: +/* 8008DC90 0008ABF0 38 00 00 00 */ li r0, 0 +/* 8008DC94 0008ABF4 38 61 00 64 */ addi r3, r1, 0x64 +/* 8008DC98 0008ABF8 98 01 00 7C */ stb r0, 0x7c(r1) +/* 8008DC9C 0008ABFC 3B C0 00 01 */ li r30, 1 +lbl_8008DCA0: +/* 8008DCA0 0008AC00 88 03 00 18 */ lbz r0, 0x18(r3) +/* 8008DCA4 0008AC04 28 00 00 00 */ cmplwi r0, 0 +/* 8008DCA8 0008AC08 98 01 00 E8 */ stb r0, 0xe8(r1) +/* 8008DCAC 0008AC0C 41 82 00 3C */ beq lbl_8008DCE8 +/* 8008DCB0 0008AC10 34 81 00 D0 */ addic. r4, r1, 0xd0 +/* 8008DCB4 0008AC14 41 82 00 34 */ beq lbl_8008DCE8 +/* 8008DCB8 0008AC18 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008DCBC 0008AC1C D0 04 00 00 */ stfs f0, 0(r4) +/* 8008DCC0 0008AC20 C0 03 00 04 */ lfs f0, 4(r3) +/* 8008DCC4 0008AC24 D0 04 00 04 */ stfs f0, 4(r4) +/* 8008DCC8 0008AC28 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008DCCC 0008AC2C D0 04 00 08 */ stfs f0, 8(r4) +/* 8008DCD0 0008AC30 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8008DCD4 0008AC34 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 8008DCD8 0008AC38 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8008DCDC 0008AC3C D0 04 00 10 */ stfs f0, 0x10(r4) +/* 8008DCE0 0008AC40 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8008DCE4 0008AC44 D0 04 00 14 */ stfs f0, 0x14(r4) +lbl_8008DCE8: +/* 8008DCE8 0008AC48 7F C0 07 75 */ extsb. r0, r30 +/* 8008DCEC 0008AC4C 41 82 00 0C */ beq lbl_8008DCF8 +/* 8008DCF0 0008AC50 38 00 00 00 */ li r0, 0 +/* 8008DCF4 0008AC54 98 01 00 7C */ stb r0, 0x7c(r1) +lbl_8008DCF8: +/* 8008DCF8 0008AC58 7C A0 07 75 */ extsb. r0, r5 +/* 8008DCFC 0008AC5C 41 82 00 0C */ beq lbl_8008DD08 +/* 8008DD00 0008AC60 38 00 00 00 */ li r0, 0 +/* 8008DD04 0008AC64 98 01 00 98 */ stb r0, 0x98(r1) +lbl_8008DD08: +/* 8008DD08 0008AC68 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 8008DD0C 0008AC6C 38 A0 00 00 */ li r5, 0 +/* 8008DD10 0008AC70 3B C0 00 00 */ li r30, 0 +/* 8008DD14 0008AC74 28 04 00 00 */ cmplwi r4, 0 +/* 8008DD18 0008AC78 41 82 00 24 */ beq lbl_8008DD3C +/* 8008DD1C 0008AC7C 81 84 00 00 */ lwz r12, 0(r4) +/* 8008DD20 0008AC80 38 61 00 48 */ addi r3, r1, 0x48 +/* 8008DD24 0008AC84 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8008DD28 0008AC88 7D 89 03 A6 */ mtctr r12 +/* 8008DD2C 0008AC8C 4E 80 04 21 */ bctrl +/* 8008DD30 0008AC90 38 61 00 48 */ addi r3, r1, 0x48 +/* 8008DD34 0008AC94 38 A0 00 01 */ li r5, 1 +/* 8008DD38 0008AC98 48 00 00 14 */ b lbl_8008DD4C +lbl_8008DD3C: +/* 8008DD3C 0008AC9C 38 00 00 00 */ li r0, 0 +/* 8008DD40 0008ACA0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8008DD44 0008ACA4 98 01 00 44 */ stb r0, 0x44(r1) +/* 8008DD48 0008ACA8 3B C0 00 01 */ li r30, 1 +lbl_8008DD4C: +/* 8008DD4C 0008ACAC 88 03 00 18 */ lbz r0, 0x18(r3) +/* 8008DD50 0008ACB0 28 00 00 00 */ cmplwi r0, 0 +/* 8008DD54 0008ACB4 98 01 00 CC */ stb r0, 0xcc(r1) +/* 8008DD58 0008ACB8 41 82 00 3C */ beq lbl_8008DD94 +/* 8008DD5C 0008ACBC 34 81 00 B4 */ addic. r4, r1, 0xb4 +/* 8008DD60 0008ACC0 41 82 00 34 */ beq lbl_8008DD94 +/* 8008DD64 0008ACC4 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008DD68 0008ACC8 D0 04 00 00 */ stfs f0, 0(r4) +/* 8008DD6C 0008ACCC C0 03 00 04 */ lfs f0, 4(r3) +/* 8008DD70 0008ACD0 D0 04 00 04 */ stfs f0, 4(r4) +/* 8008DD74 0008ACD4 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008DD78 0008ACD8 D0 04 00 08 */ stfs f0, 8(r4) +/* 8008DD7C 0008ACDC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8008DD80 0008ACE0 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 8008DD84 0008ACE4 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8008DD88 0008ACE8 D0 04 00 10 */ stfs f0, 0x10(r4) +/* 8008DD8C 0008ACEC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8008DD90 0008ACF0 D0 04 00 14 */ stfs f0, 0x14(r4) +lbl_8008DD94: +/* 8008DD94 0008ACF4 7F C0 07 75 */ extsb. r0, r30 +/* 8008DD98 0008ACF8 41 82 00 0C */ beq lbl_8008DDA4 +/* 8008DD9C 0008ACFC 38 00 00 00 */ li r0, 0 +/* 8008DDA0 0008AD00 98 01 00 44 */ stb r0, 0x44(r1) +lbl_8008DDA4: +/* 8008DDA4 0008AD04 7C A0 07 75 */ extsb. r0, r5 +/* 8008DDA8 0008AD08 41 82 00 0C */ beq lbl_8008DDB4 +/* 8008DDAC 0008AD0C 38 00 00 00 */ li r0, 0 +/* 8008DDB0 0008AD10 98 01 00 60 */ stb r0, 0x60(r1) +lbl_8008DDB4: +/* 8008DDB4 0008AD14 88 81 00 E8 */ lbz r4, 0xe8(r1) +/* 8008DDB8 0008AD18 28 04 00 00 */ cmplwi r4, 0 +/* 8008DDBC 0008AD1C 40 82 00 10 */ bne lbl_8008DDCC +/* 8008DDC0 0008AD20 88 01 00 CC */ lbz r0, 0xcc(r1) +/* 8008DDC4 0008AD24 28 00 00 00 */ cmplwi r0, 0 +/* 8008DDC8 0008AD28 41 82 00 C8 */ beq lbl_8008DE90 +lbl_8008DDCC: +/* 8008DDCC 0008AD2C 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8008DDD0 0008AD30 C4 A3 67 54 */ lfsu f5, lbl_805A6754@l(r3) +/* 8008DDD4 0008AD34 28 04 00 00 */ cmplwi r4, 0 +/* 8008DDD8 0008AD38 C0 83 00 04 */ lfs f4, 4(r3) +/* 8008DDDC 0008AD3C C0 63 00 08 */ lfs f3, 8(r3) +/* 8008DDE0 0008AD40 C0 43 00 0C */ lfs f2, 0xc(r3) +/* 8008DDE4 0008AD44 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 8008DDE8 0008AD48 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8008DDEC 0008AD4C D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 8008DDF0 0008AD50 D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 8008DDF4 0008AD54 D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 8008DDF8 0008AD58 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 8008DDFC 0008AD5C D0 21 00 AC */ stfs f1, 0xac(r1) +/* 8008DE00 0008AD60 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8008DE04 0008AD64 41 82 00 20 */ beq lbl_8008DE24 +/* 8008DE08 0008AD68 3B C1 00 D0 */ addi r30, r1, 0xd0 +/* 8008DE0C 0008AD6C 38 61 00 9C */ addi r3, r1, 0x9c +/* 8008DE10 0008AD70 7F C4 F3 78 */ mr r4, r30 +/* 8008DE14 0008AD74 48 2A 9C F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8008DE18 0008AD78 38 61 00 9C */ addi r3, r1, 0x9c +/* 8008DE1C 0008AD7C 38 9E 00 0C */ addi r4, r30, 0xc +/* 8008DE20 0008AD80 48 2A 9C E9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8008DE24: +/* 8008DE24 0008AD84 88 01 00 CC */ lbz r0, 0xcc(r1) +/* 8008DE28 0008AD88 28 00 00 00 */ cmplwi r0, 0 +/* 8008DE2C 0008AD8C 41 82 00 20 */ beq lbl_8008DE4C +/* 8008DE30 0008AD90 3B C1 00 B4 */ addi r30, r1, 0xb4 +/* 8008DE34 0008AD94 38 61 00 9C */ addi r3, r1, 0x9c +/* 8008DE38 0008AD98 7F C4 F3 78 */ mr r4, r30 +/* 8008DE3C 0008AD9C 48 2A 9C CD */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8008DE40 0008ADA0 38 61 00 9C */ addi r3, r1, 0x9c +/* 8008DE44 0008ADA4 38 9E 00 0C */ addi r4, r30, 0xc +/* 8008DE48 0008ADA8 48 2A 9C C1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8008DE4C: +/* 8008DE4C 0008ADAC 80 81 00 9C */ lwz r4, 0x9c(r1) +/* 8008DE50 0008ADB0 38 60 00 01 */ li r3, 1 +/* 8008DE54 0008ADB4 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 8008DE58 0008ADB8 90 9F 00 9C */ stw r4, 0x9c(r31) +/* 8008DE5C 0008ADBC 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 8008DE60 0008ADC0 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8008DE64 0008ADC4 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 8008DE68 0008ADC8 80 81 00 A8 */ lwz r4, 0xa8(r1) +/* 8008DE6C 0008ADCC 80 01 00 AC */ lwz r0, 0xac(r1) +/* 8008DE70 0008ADD0 90 9F 00 A8 */ stw r4, 0xa8(r31) +/* 8008DE74 0008ADD4 90 1F 00 AC */ stw r0, 0xac(r31) +/* 8008DE78 0008ADD8 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 8008DE7C 0008ADDC 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 8008DE80 0008ADE0 88 1F 01 11 */ lbz r0, 0x111(r31) +/* 8008DE84 0008ADE4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8008DE88 0008ADE8 98 1F 01 11 */ stb r0, 0x111(r31) +/* 8008DE8C 0008ADEC 48 00 00 6C */ b lbl_8008DEF8 +lbl_8008DE90: +/* 8008DE90 0008ADF0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8008DE94 0008ADF4 38 81 00 08 */ addi r4, r1, 8 +/* 8008DE98 0008ADF8 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8008DE9C 0008ADFC 7C 85 23 78 */ mr r5, r4 +/* 8008DEA0 0008AE00 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8008DEA4 0008AE04 38 61 00 14 */ addi r3, r1, 0x14 +/* 8008DEA8 0008AE08 D0 01 00 08 */ stfs f0, 8(r1) +/* 8008DEAC 0008AE0C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8008DEB0 0008AE10 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8008DEB4 0008AE14 48 2A A6 55 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8008DEB8 0008AE18 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8008DEBC 0008AE1C 38 60 00 00 */ li r3, 0 +/* 8008DEC0 0008AE20 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8008DEC4 0008AE24 90 9F 00 9C */ stw r4, 0x9c(r31) +/* 8008DEC8 0008AE28 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 8008DECC 0008AE2C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8008DED0 0008AE30 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 8008DED4 0008AE34 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8008DED8 0008AE38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8008DEDC 0008AE3C 90 9F 00 A8 */ stw r4, 0xa8(r31) +/* 8008DEE0 0008AE40 90 1F 00 AC */ stw r0, 0xac(r31) +/* 8008DEE4 0008AE44 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8008DEE8 0008AE48 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 8008DEEC 0008AE4C 88 1F 01 11 */ lbz r0, 0x111(r31) +/* 8008DEF0 0008AE50 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8008DEF4 0008AE54 98 1F 01 11 */ stb r0, 0x111(r31) +lbl_8008DEF8: +/* 8008DEF8 0008AE58 38 00 00 00 */ li r0, 0 +/* 8008DEFC 0008AE5C 98 01 00 CC */ stb r0, 0xcc(r1) +/* 8008DF00 0008AE60 98 01 00 E8 */ stb r0, 0xe8(r1) +/* 8008DF04 0008AE64 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8008DF08 0008AE68 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8008DF0C 0008AE6C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8008DF10 0008AE70 7C 08 03 A6 */ mtlr r0 +/* 8008DF14 0008AE74 38 21 01 00 */ addi r1, r1, 0x100 +/* 8008DF18 0008AE78 4E 80 00 20 */ blr + +.global CanRenderUnsorted__13CScriptEffectCFRC13CStateManager +CanRenderUnsorted__13CScriptEffectCFRC13CStateManager: +/* 8008DF1C 0008AE7C 38 60 00 00 */ li r3, 0 +/* 8008DF20 0008AE80 4E 80 00 20 */ blr + +.global sub_8008df24 +sub_8008df24: +/* 8008DF24 0008AE84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008DF28 0008AE88 7C 08 02 A6 */ mflr r0 +/* 8008DF2C 0008AE8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008DF30 0008AE90 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008DF34 0008AE94 3B E0 00 00 */ li r31, 0 +/* 8008DF38 0008AE98 93 C1 00 08 */ stw r30, 8(r1) +/* 8008DF3C 0008AE9C 7C 7E 1B 78 */ mr r30, r3 +/* 8008DF40 0008AEA0 80 63 01 04 */ lwz r3, 0x104(r3) +/* 8008DF44 0008AEA4 28 03 00 00 */ cmplwi r3, 0 +/* 8008DF48 0008AEA8 41 82 00 1C */ beq lbl_8008DF64 +/* 8008DF4C 0008AEAC 81 83 00 00 */ lwz r12, 0(r3) +/* 8008DF50 0008AEB0 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8008DF54 0008AEB4 7D 89 03 A6 */ mtctr r12 +/* 8008DF58 0008AEB8 4E 80 04 21 */ bctrl +/* 8008DF5C 0008AEBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008DF60 0008AEC0 41 82 00 2C */ beq lbl_8008DF8C +lbl_8008DF64: +/* 8008DF64 0008AEC4 80 7E 00 F4 */ lwz r3, 0xf4(r30) +/* 8008DF68 0008AEC8 28 03 00 00 */ cmplwi r3, 0 +/* 8008DF6C 0008AECC 41 82 00 1C */ beq lbl_8008DF88 +/* 8008DF70 0008AED0 81 83 00 00 */ lwz r12, 0(r3) +/* 8008DF74 0008AED4 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8008DF78 0008AED8 7D 89 03 A6 */ mtctr r12 +/* 8008DF7C 0008AEDC 4E 80 04 21 */ bctrl +/* 8008DF80 0008AEE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008DF84 0008AEE4 41 82 00 08 */ beq lbl_8008DF8C +lbl_8008DF88: +/* 8008DF88 0008AEE8 3B E0 00 01 */ li r31, 1 +lbl_8008DF8C: +/* 8008DF8C 0008AEEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008DF90 0008AEF0 7F E3 FB 78 */ mr r3, r31 +/* 8008DF94 0008AEF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008DF98 0008AEF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8008DF9C 0008AEFC 7C 08 03 A6 */ mtlr r0 +/* 8008DFA0 0008AF00 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008DFA4 0008AF04 4E 80 00 20 */ blr + +.global ResetParticleCounts__13CScriptEffectFv +ResetParticleCounts__13CScriptEffectFv: +/* 8008DFA8 0008AF08 38 00 00 00 */ li r0, 0 +/* 8008DFAC 0008AF0C 90 0D A2 98 */ stw r0, lbl_805A8E58@sda21(r13) +/* 8008DFB0 0008AF10 90 0D A2 9C */ stw r0, lbl_805A8E5C@sda21(r13) +/* 8008DFB4 0008AF14 4E 80 00 20 */ blr + +.global Accept__13CScriptEffectFR8IVisitor +Accept__13CScriptEffectFR8IVisitor: +/* 8008DFB8 0008AF18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008DFBC 0008AF1C 7C 08 02 A6 */ mflr r0 +/* 8008DFC0 0008AF20 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008DFC4 0008AF24 7C 60 1B 78 */ mr r0, r3 +/* 8008DFC8 0008AF28 7C 83 23 78 */ mr r3, r4 +/* 8008DFCC 0008AF2C 81 84 00 00 */ lwz r12, 0(r4) +/* 8008DFD0 0008AF30 7C 04 03 78 */ mr r4, r0 +/* 8008DFD4 0008AF34 81 8C 00 88 */ lwz r12, 0x88(r12) +/* 8008DFD8 0008AF38 7D 89 03 A6 */ mtctr r12 +/* 8008DFDC 0008AF3C 4E 80 04 21 */ bctrl +/* 8008DFE0 0008AF40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008DFE4 0008AF44 7C 08 03 A6 */ mtlr r0 +/* 8008DFE8 0008AF48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008DFEC 0008AF4C 4E 80 00 20 */ blr + +.global PreRender__13CScriptEffectFR13CStateManagerRC14CFrustumPlanes +PreRender__13CScriptEffectFR13CStateManagerRC14CFrustumPlanes: +/* 8008DFF0 0008AF50 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8008DFF4 0008AF54 7C 08 02 A6 */ mflr r0 +/* 8008DFF8 0008AF58 90 01 00 84 */ stw r0, 0x84(r1) +/* 8008DFFC 0008AF5C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8008E000 0008AF60 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8008E004 0008AF64 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8008E008 0008AF68 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 8008E00C 0008AF6C DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8008E010 0008AF70 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 8008E014 0008AF74 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 8008E018 0008AF78 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 8008E01C 0008AF7C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8008E020 0008AF80 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8008E024 0008AF84 88 03 01 10 */ lbz r0, 0x110(r3) +/* 8008E028 0008AF88 7C 7E 1B 78 */ mr r30, r3 +/* 8008E02C 0008AF8C 7C 9F 23 78 */ mr r31, r4 +/* 8008E030 0008AF90 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8008E034 0008AF94 40 82 00 10 */ bne lbl_8008E044 +/* 8008E038 0008AF98 88 1E 01 11 */ lbz r0, 0x111(r30) +/* 8008E03C 0008AF9C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008E040 0008AFA0 41 82 01 50 */ beq lbl_8008E190 +lbl_8008E044: +/* 8008E044 0008AFA4 C3 E2 8A C0 */ lfs f31, lbl_805AA7E0@sda21(r2) +/* 8008E048 0008AFA8 7F E4 FB 78 */ mr r4, r31 +/* 8008E04C 0008AFAC C3 9E 00 60 */ lfs f28, 0x60(r30) +/* 8008E050 0008AFB0 C3 BE 00 50 */ lfs f29, 0x50(r30) +/* 8008E054 0008AFB4 C3 DE 00 40 */ lfs f30, 0x40(r30) +/* 8008E058 0008AFB8 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8008E05C 0008AFBC 4B F7 DA BD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8008E060 0008AFC0 C0 63 00 50 */ lfs f3, 0x50(r3) +/* 8008E064 0008AFC4 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 8008E068 0008AFC8 EC C3 E8 28 */ fsubs f6, f3, f29 +/* 8008E06C 0008AFCC C0 E3 00 60 */ lfs f7, 0x60(r3) +/* 8008E070 0008AFD0 EC 81 F0 28 */ fsubs f4, f1, f30 +/* 8008E074 0008AFD4 C0 02 8A C4 */ lfs f0, lbl_805AA7E4@sda21(r2) +/* 8008E078 0008AFD8 EC A7 E0 28 */ fsubs f5, f7, f28 +/* 8008E07C 0008AFDC D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8008E080 0008AFE0 EC 44 01 32 */ fmuls f2, f4, f4 +/* 8008E084 0008AFE4 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8008E088 0008AFE8 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 8008E08C 0008AFEC EC 65 01 72 */ fmuls f3, f5, f5 +/* 8008E090 0008AFF0 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 8008E094 0008AFF4 EC 22 08 2A */ fadds f1, f2, f1 +/* 8008E098 0008AFF8 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8008E09C 0008AFFC D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 8008E0A0 0008B000 EC 23 08 2A */ fadds f1, f3, f1 +/* 8008E0A4 0008B004 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 8008E0A8 0008B008 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008E0AC 0008B00C 40 81 00 24 */ ble lbl_8008E0D0 +/* 8008E0B0 0008B010 C0 62 8A C8 */ lfs f3, lbl_805AA7E8@sda21(r2) +/* 8008E0B4 0008B014 FC 03 08 00 */ fcmpu cr0, f3, f1 +/* 8008E0B8 0008B018 40 82 00 08 */ bne lbl_8008E0C0 +/* 8008E0BC 0008B01C 48 00 00 18 */ b lbl_8008E0D4 +lbl_8008E0C0: +/* 8008E0C0 0008B020 FC 00 08 34 */ frsqrte f0, f1 +/* 8008E0C4 0008B024 FC 61 00 32 */ fmul f3, f1, f0 +/* 8008E0C8 0008B028 FC 60 18 18 */ frsp f3, f3 +/* 8008E0CC 0008B02C 48 00 00 08 */ b lbl_8008E0D4 +lbl_8008E0D0: +/* 8008E0D0 0008B030 C0 62 8A C8 */ lfs f3, lbl_805AA7E8@sda21(r2) +lbl_8008E0D4: +/* 8008E0D4 0008B034 88 1E 01 10 */ lbz r0, 0x110(r30) +/* 8008E0D8 0008B038 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8008E0DC 0008B03C 41 82 00 28 */ beq lbl_8008E104 +/* 8008E0E0 0008B040 C0 1E 01 18 */ lfs f0, 0x118(r30) +/* 8008E0E4 0008B044 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008E0E8 0008B048 40 80 00 1C */ bge lbl_8008E104 +/* 8008E0EC 0008B04C C0 1E 01 14 */ lfs f0, 0x114(r30) +/* 8008E0F0 0008B050 C0 5E 01 1C */ lfs f2, 0x11c(r30) +/* 8008E0F4 0008B054 EC 03 00 24 */ fdivs f0, f3, f0 +/* 8008E0F8 0008B058 C0 22 8A C0 */ lfs f1, lbl_805AA7E0@sda21(r2) +/* 8008E0FC 0008B05C EC 21 10 28 */ fsubs f1, f1, f2 +/* 8008E100 0008B060 EF E1 10 3A */ fmadds f31, f1, f0, f2 +lbl_8008E104: +/* 8008E104 0008B064 88 1E 01 11 */ lbz r0, 0x111(r30) +/* 8008E108 0008B068 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008E10C 0008B06C 41 82 00 6C */ beq lbl_8008E178 +/* 8008E110 0008B070 C0 9E 01 20 */ lfs f4, 0x120(r30) +/* 8008E114 0008B074 C0 5E 01 24 */ lfs f2, 0x124(r30) +/* 8008E118 0008B078 EC 23 20 28 */ fsubs f1, f3, f4 +/* 8008E11C 0008B07C C0 0D 85 54 */ lfs f0, lbl_805A7114@sda21(r13) +/* 8008E120 0008B080 EC 42 20 28 */ fsubs f2, f2, f4 +/* 8008E124 0008B084 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8008E128 0008B088 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8008E12C 0008B08C 40 80 00 0C */ bge lbl_8008E138 +/* 8008E130 0008B090 38 61 00 0C */ addi r3, r1, 0xc +/* 8008E134 0008B094 48 00 00 08 */ b lbl_8008E13C +lbl_8008E138: +/* 8008E138 0008B098 38 6D 85 54 */ addi r3, r13, lbl_805A7114@sda21 +lbl_8008E13C: +/* 8008E13C 0008B09C C0 23 00 00 */ lfs f1, 0(r3) +/* 8008E140 0008B0A0 C0 0D 85 58 */ lfs f0, lbl_805A7118@sda21(r13) +/* 8008E144 0008B0A4 EC 21 10 24 */ fdivs f1, f1, f2 +/* 8008E148 0008B0A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008E14C 0008B0AC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8008E150 0008B0B0 40 80 00 0C */ bge lbl_8008E15C +/* 8008E154 0008B0B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8008E158 0008B0B8 48 00 00 08 */ b lbl_8008E160 +lbl_8008E15C: +/* 8008E15C 0008B0BC 38 6D 85 58 */ addi r3, r13, lbl_805A7118@sda21 +lbl_8008E160: +/* 8008E160 0008B0C0 C0 43 00 00 */ lfs f2, 0(r3) +/* 8008E164 0008B0C4 C0 22 8A C0 */ lfs f1, lbl_805AA7E0@sda21(r2) +/* 8008E168 0008B0C8 C0 1E 01 28 */ lfs f0, 0x128(r30) +/* 8008E16C 0008B0CC EC 21 10 28 */ fsubs f1, f1, f2 +/* 8008E170 0008B0D0 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8008E174 0008B0D4 EF E1 07 FA */ fmadds f31, f1, f31, f0 +lbl_8008E178: +/* 8008E178 0008B0D8 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8008E17C 0008B0DC FC 20 F8 90 */ fmr f1, f31 +/* 8008E180 0008B0E0 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E184 0008B0E4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8008E188 0008B0E8 7D 89 03 A6 */ mtctr r12 +/* 8008E18C 0008B0EC 4E 80 04 21 */ bctrl +lbl_8008E190: +/* 8008E190 0008B0F0 A0 1E 01 3C */ lhz r0, 0x13c(r30) +/* 8008E194 0008B0F4 7F E3 FB 78 */ mr r3, r31 +/* 8008E198 0008B0F8 38 81 00 08 */ addi r4, r1, 8 +/* 8008E19C 0008B0FC B0 01 00 08 */ sth r0, 8(r1) +/* 8008E1A0 0008B100 4B FB E4 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8008E1A4 0008B104 28 03 00 00 */ cmplwi r3, 0 +/* 8008E1A8 0008B108 40 82 00 0C */ bne lbl_8008E1B4 +/* 8008E1AC 0008B10C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008E1B0 0008B110 B0 1E 01 3C */ sth r0, 0x13c(r30) +lbl_8008E1B4: +/* 8008E1B4 0008B114 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8008E1B8 0008B118 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8008E1BC 0008B11C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8008E1C0 0008B120 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8008E1C4 0008B124 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8008E1C8 0008B128 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8008E1CC 0008B12C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8008E1D0 0008B130 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8008E1D4 0008B134 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8008E1D8 0008B138 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8008E1DC 0008B13C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8008E1E0 0008B140 7C 08 03 A6 */ mtlr r0 +/* 8008E1E4 0008B144 38 21 00 80 */ addi r1, r1, 0x80 +/* 8008E1E8 0008B148 4E 80 00 20 */ blr + +.global Render__13CScriptEffectCFRC13CStateManager +Render__13CScriptEffectCFRC13CStateManager: +/* 8008E1EC 0008B14C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008E1F0 0008B150 7C 08 02 A6 */ mflr r0 +/* 8008E1F4 0008B154 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008E1F8 0008B158 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008E1FC 0008B15C 7C 7F 1B 78 */ mr r31, r3 +/* 8008E200 0008B160 80 63 01 38 */ lwz r3, 0x138(r3) +/* 8008E204 0008B164 28 03 00 00 */ cmplwi r3, 0 +/* 8008E208 0008B168 41 82 00 08 */ beq lbl_8008E210 +/* 8008E20C 0008B16C 48 07 6B 7D */ bl ActivateLights__12CActorLightsCFv +lbl_8008E210: +/* 8008E210 0008B170 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E214 0008B174 28 03 00 00 */ cmplwi r3, 0 +/* 8008E218 0008B178 41 82 00 30 */ beq lbl_8008E248 +/* 8008E21C 0008B17C 48 28 9C D1 */ bl GetParticleCountAll__11CElementGenCFv +/* 8008E220 0008B180 2C 03 00 00 */ cmpwi r3, 0 +/* 8008E224 0008B184 40 81 00 24 */ ble lbl_8008E248 +/* 8008E228 0008B188 80 0D A2 98 */ lwz r0, lbl_805A8E58@sda21(r13) +/* 8008E22C 0008B18C 7C 00 1A 14 */ add r0, r0, r3 +/* 8008E230 0008B190 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E234 0008B194 90 0D A2 98 */ stw r0, lbl_805A8E58@sda21(r13) +/* 8008E238 0008B198 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E23C 0008B19C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8008E240 0008B1A0 7D 89 03 A6 */ mtctr r12 +/* 8008E244 0008B1A4 4E 80 04 21 */ bctrl +lbl_8008E248: +/* 8008E248 0008B1A8 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008E24C 0008B1AC 28 03 00 00 */ cmplwi r3, 0 +/* 8008E250 0008B1B0 41 82 00 3C */ beq lbl_8008E28C +/* 8008E254 0008B1B4 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E258 0008B1B8 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8008E25C 0008B1BC 7D 89 03 A6 */ mtctr r12 +/* 8008E260 0008B1C0 4E 80 04 21 */ bctrl +/* 8008E264 0008B1C4 2C 03 00 00 */ cmpwi r3, 0 +/* 8008E268 0008B1C8 40 81 00 24 */ ble lbl_8008E28C +/* 8008E26C 0008B1CC 80 0D A2 98 */ lwz r0, lbl_805A8E58@sda21(r13) +/* 8008E270 0008B1D0 7C 00 1A 14 */ add r0, r0, r3 +/* 8008E274 0008B1D4 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008E278 0008B1D8 90 0D A2 98 */ stw r0, lbl_805A8E58@sda21(r13) +/* 8008E27C 0008B1DC 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E280 0008B1E0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8008E284 0008B1E4 7D 89 03 A6 */ mtctr r12 +/* 8008E288 0008B1E8 4E 80 04 21 */ bctrl +lbl_8008E28C: +/* 8008E28C 0008B1EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008E290 0008B1F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008E294 0008B1F4 7C 08 03 A6 */ mtlr r0 +/* 8008E298 0008B1F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008E29C 0008B1FC 4E 80 00 20 */ blr + +.global AddToRenderer__13CScriptEffectCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__13CScriptEffectCFRC14CFrustumPlanesRC13CStateManager: +/* 8008E2A0 0008B200 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8008E2A4 0008B204 7C 08 02 A6 */ mflr r0 +/* 8008E2A8 0008B208 90 01 00 64 */ stw r0, 0x64(r1) +/* 8008E2AC 0008B20C BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 8008E2B0 0008B210 7C 7D 1B 78 */ mr r29, r3 +/* 8008E2B4 0008B214 7C BE 2B 78 */ mr r30, r5 +/* 8008E2B8 0008B218 88 03 01 11 */ lbz r0, 0x111(r3) +/* 8008E2BC 0008B21C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8008E2C0 0008B220 40 82 00 2C */ bne lbl_8008E2EC +/* 8008E2C4 0008B224 C0 3D 01 34 */ lfs f1, 0x134(r29) +/* 8008E2C8 0008B228 C0 1D 01 2C */ lfs f0, 0x12c(r29) +/* 8008E2CC 0008B22C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008E2D0 0008B230 40 80 00 0C */ bge lbl_8008E2DC +/* 8008E2D4 0008B234 38 7D 01 2C */ addi r3, r29, 0x12c +/* 8008E2D8 0008B238 48 00 00 08 */ b lbl_8008E2E0 +lbl_8008E2DC: +/* 8008E2DC 0008B23C 38 7D 01 34 */ addi r3, r29, 0x134 +lbl_8008E2E0: +/* 8008E2E0 0008B240 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008E2E4 0008B244 D0 1D 01 2C */ stfs f0, 0x12c(r29) +/* 8008E2E8 0008B248 48 00 01 50 */ b lbl_8008E438 +lbl_8008E2EC: +/* 8008E2EC 0008B24C 3B FD 00 9C */ addi r31, r29, 0x9c +/* 8008E2F0 0008B250 7C 83 23 78 */ mr r3, r4 +/* 8008E2F4 0008B254 7F E4 FB 78 */ mr r4, r31 +/* 8008E2F8 0008B258 48 2B 6E D9 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 8008E2FC 0008B25C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008E300 0008B260 41 82 01 38 */ beq lbl_8008E438 +/* 8008E304 0008B264 C0 3D 01 34 */ lfs f1, 0x134(r29) +/* 8008E308 0008B268 C0 1D 01 2C */ lfs f0, 0x12c(r29) +/* 8008E30C 0008B26C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008E310 0008B270 40 80 00 0C */ bge lbl_8008E31C +/* 8008E314 0008B274 38 7D 01 2C */ addi r3, r29, 0x12c +/* 8008E318 0008B278 48 00 00 08 */ b lbl_8008E320 +lbl_8008E31C: +/* 8008E31C 0008B27C 38 7D 01 34 */ addi r3, r29, 0x134 +lbl_8008E320: +/* 8008E320 0008B280 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008E324 0008B284 3B 60 00 01 */ li r27, 1 +/* 8008E328 0008B288 D0 1D 01 2C */ stfs f0, 0x12c(r29) +/* 8008E32C 0008B28C 88 1D 01 10 */ lbz r0, 0x110(r29) +/* 8008E330 0008B290 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8008E334 0008B294 40 82 00 68 */ bne lbl_8008E39C +/* 8008E338 0008B298 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8008E33C 0008B29C 7F C4 F3 78 */ mr r4, r30 +/* 8008E340 0008B2A0 80 63 00 00 */ lwz r3, 0(r3) +/* 8008E344 0008B2A4 48 00 32 15 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8008E348 0008B2A8 2C 03 00 02 */ cmpwi r3, 2 +/* 8008E34C 0008B2AC 41 82 00 24 */ beq lbl_8008E370 +/* 8008E350 0008B2B0 40 80 00 14 */ bge lbl_8008E364 +/* 8008E354 0008B2B4 2C 03 00 00 */ cmpwi r3, 0 +/* 8008E358 0008B2B8 41 82 00 18 */ beq lbl_8008E370 +/* 8008E35C 0008B2BC 40 80 00 24 */ bge lbl_8008E380 +/* 8008E360 0008B2C0 48 00 00 3C */ b lbl_8008E39C +lbl_8008E364: +/* 8008E364 0008B2C4 2C 03 00 04 */ cmpwi r3, 4 +/* 8008E368 0008B2C8 40 80 00 34 */ bge lbl_8008E39C +/* 8008E36C 0008B2CC 48 00 00 24 */ b lbl_8008E390 +lbl_8008E370: +/* 8008E370 0008B2D0 88 1D 01 10 */ lbz r0, 0x110(r29) +/* 8008E374 0008B2D4 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8008E378 0008B2D8 7C 1B 03 78 */ mr r27, r0 +/* 8008E37C 0008B2DC 48 00 00 20 */ b lbl_8008E39C +lbl_8008E380: +/* 8008E380 0008B2E0 88 1D 01 10 */ lbz r0, 0x110(r29) +/* 8008E384 0008B2E4 54 00 FF FE */ rlwinm r0, r0, 0x1f, 0x1f, 0x1f +/* 8008E388 0008B2E8 7C 1B 03 78 */ mr r27, r0 +/* 8008E38C 0008B2EC 48 00 00 10 */ b lbl_8008E39C +lbl_8008E390: +/* 8008E390 0008B2F0 88 1D 01 10 */ lbz r0, 0x110(r29) +/* 8008E394 0008B2F4 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f +/* 8008E398 0008B2F8 7C 1B 03 78 */ mr r27, r0 +lbl_8008E39C: +/* 8008E39C 0008B2FC 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8008E3A0 0008B300 41 82 00 98 */ beq lbl_8008E438 +/* 8008E3A4 0008B304 80 1D 01 38 */ lwz r0, 0x138(r29) +/* 8008E3A8 0008B308 28 00 00 00 */ cmplwi r0, 0 +/* 8008E3AC 0008B30C 41 82 00 80 */ beq lbl_8008E42C +/* 8008E3B0 0008B310 7F E4 FB 78 */ mr r4, r31 +/* 8008E3B4 0008B314 38 61 00 10 */ addi r3, r1, 0x10 +/* 8008E3B8 0008B318 48 2A 92 55 */ bl GetCenterPoint__6CAABoxCFv +/* 8008E3BC 0008B31C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8008E3C0 0008B320 38 81 00 1C */ addi r4, r1, 0x1c +/* 8008E3C4 0008B324 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8008E3C8 0008B328 7C 85 23 78 */ mr r5, r4 +/* 8008E3CC 0008B32C 81 1D 00 04 */ lwz r8, 4(r29) +/* 8008E3D0 0008B330 38 61 00 28 */ addi r3, r1, 0x28 +/* 8008E3D4 0008B334 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8008E3D8 0008B338 55 06 18 38 */ slwi r6, r8, 3 +/* 8008E3DC 0008B33C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8008E3E0 0008B340 80 FE 08 50 */ lwz r7, 0x850(r30) +/* 8008E3E4 0008B344 38 06 00 04 */ addi r0, r6, 4 +/* 8008E3E8 0008B348 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8008E3EC 0008B34C 83 7D 01 38 */ lwz r27, 0x138(r29) +/* 8008E3F0 0008B350 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8008E3F4 0008B354 80 C7 00 20 */ lwz r6, 0x20(r7) +/* 8008E3F8 0008B358 91 01 00 08 */ stw r8, 8(r1) +/* 8008E3FC 0008B35C 7F 86 00 2E */ lwzx r28, r6, r0 +/* 8008E400 0008B360 91 01 00 0C */ stw r8, 0xc(r1) +/* 8008E404 0008B364 48 2A A1 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8008E408 0008B368 7C 66 1B 78 */ mr r6, r3 +/* 8008E40C 0008B36C 7F 63 DB 78 */ mr r3, r27 +/* 8008E410 0008B370 7F C4 F3 78 */ mr r4, r30 +/* 8008E414 0008B374 7F 85 E3 78 */ mr r5, r28 +/* 8008E418 0008B378 48 07 59 A9 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox +/* 8008E41C 0008B37C 80 7D 01 38 */ lwz r3, 0x138(r29) +/* 8008E420 0008B380 7F C4 F3 78 */ mr r4, r30 +/* 8008E424 0008B384 7F E5 FB 78 */ mr r5, r31 +/* 8008E428 0008B388 48 07 52 E9 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox +lbl_8008E42C: +/* 8008E42C 0008B38C 7F A3 EB 78 */ mr r3, r29 +/* 8008E430 0008B390 7F C4 F3 78 */ mr r4, r30 +/* 8008E434 0008B394 4B FC 65 99 */ bl EnsureRendered__6CActorCFRC13CStateManager +lbl_8008E438: +/* 8008E438 0008B398 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 8008E43C 0008B39C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8008E440 0008B3A0 7C 08 03 A6 */ mtlr r0 +/* 8008E444 0008B3A4 38 21 00 60 */ addi r1, r1, 0x60 +/* 8008E448 0008B3A8 4E 80 00 20 */ blr + +.global AcceptScriptMsg__13CScriptEffectF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__13CScriptEffectF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8008E44C 0008B3AC 94 21 FD B0 */ stwu r1, -0x250(r1) +/* 8008E450 0008B3B0 7C 08 02 A6 */ mflr r0 +/* 8008E454 0008B3B4 90 01 02 54 */ stw r0, 0x254(r1) +/* 8008E458 0008B3B8 BE C1 02 28 */ stmw r22, 0x228(r1) +/* 8008E45C 0008B3BC 7C 9D 23 78 */ mr r29, r4 +/* 8008E460 0008B3C0 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 8008E464 0008B3C4 7C 7F 1B 78 */ mr r31, r3 +/* 8008E468 0008B3C8 7C BC 2B 78 */ mr r28, r5 +/* 8008E46C 0008B3CC 7C DE 33 78 */ mr r30, r6 +/* 8008E470 0008B3D0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8008E474 0008B3D4 54 1B CF FE */ rlwinm r27, r0, 0x19, 0x1f, 0x1f +/* 8008E478 0008B3D8 41 82 01 08 */ beq lbl_8008E580 +/* 8008E47C 0008B3DC 40 80 00 10 */ bge lbl_8008E48C +/* 8008E480 0008B3E0 2C 1D 00 01 */ cmpwi r29, 1 +/* 8008E484 0008B3E4 41 82 02 64 */ beq lbl_8008E6E8 +/* 8008E488 0008B3E8 48 00 05 80 */ b lbl_8008EA08 +lbl_8008E48C: +/* 8008E48C 0008B3EC 2C 1D 00 23 */ cmpwi r29, 0x23 +/* 8008E490 0008B3F0 41 82 00 0C */ beq lbl_8008E49C +/* 8008E494 0008B3F4 40 80 05 74 */ bge lbl_8008EA08 +/* 8008E498 0008B3F8 48 00 02 20 */ b lbl_8008E6B8 +lbl_8008E49C: +/* 8008E49C 0008B3FC 83 5F 00 2C */ lwz r26, 0x2c(r31) +/* 8008E4A0 0008B400 48 00 00 C4 */ b lbl_8008E564 +lbl_8008E4A4: +/* 8008E4A4 0008B404 80 7A 00 00 */ lwz r3, 0(r26) +/* 8008E4A8 0008B408 2C 03 00 19 */ cmpwi r3, 0x19 +/* 8008E4AC 0008B40C 40 82 00 10 */ bne lbl_8008E4BC +/* 8008E4B0 0008B410 80 1A 00 04 */ lwz r0, 4(r26) +/* 8008E4B4 0008B414 2C 00 00 06 */ cmpwi r0, 6 +/* 8008E4B8 0008B418 41 82 00 18 */ beq lbl_8008E4D0 +lbl_8008E4BC: +/* 8008E4BC 0008B41C 2C 03 00 20 */ cmpwi r3, 0x20 +/* 8008E4C0 0008B420 40 82 00 A0 */ bne lbl_8008E560 +/* 8008E4C4 0008B424 80 1A 00 04 */ lwz r0, 4(r26) +/* 8008E4C8 0008B428 2C 00 00 01 */ cmpwi r0, 1 +/* 8008E4CC 0008B42C 40 82 00 94 */ bne lbl_8008E560 +lbl_8008E4D0: +/* 8008E4D0 0008B430 80 1A 00 08 */ lwz r0, 8(r26) +/* 8008E4D4 0008B434 7F C4 F3 78 */ mr r4, r30 +/* 8008E4D8 0008B438 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8008E4DC 0008B43C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8008E4E0 0008B440 90 01 00 58 */ stw r0, 0x58(r1) +/* 8008E4E4 0008B444 4B FB 9A E5 */ bl GetIdListForScript__13CStateManagerCF9TEditorId +/* 8008E4E8 0008B448 83 01 00 C8 */ lwz r24, 0xc8(r1) +/* 8008E4EC 0008B44C 83 21 00 CC */ lwz r25, 0xcc(r1) +/* 8008E4F0 0008B450 82 E1 00 D0 */ lwz r23, 0xd0(r1) +/* 8008E4F4 0008B454 82 C1 00 C4 */ lwz r22, 0xc4(r1) +/* 8008E4F8 0008B458 48 00 00 48 */ b lbl_8008E540 +lbl_8008E4FC: +/* 8008E4FC 0008B45C A0 16 00 14 */ lhz r0, 0x14(r22) +/* 8008E500 0008B460 7F C3 F3 78 */ mr r3, r30 +/* 8008E504 0008B464 38 81 00 38 */ addi r4, r1, 0x38 +/* 8008E508 0008B468 B0 01 00 38 */ sth r0, 0x38(r1) +/* 8008E50C 0008B46C 4B FB E0 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8008E510 0008B470 7C 64 1B 78 */ mr r4, r3 +/* 8008E514 0008B474 38 61 00 6C */ addi r3, r1, 0x6c +/* 8008E518 0008B478 48 01 89 D1 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" +/* 8008E51C 0008B47C 80 03 00 04 */ lwz r0, 4(r3) +/* 8008E520 0008B480 28 00 00 00 */ cmplwi r0, 0 +/* 8008E524 0008B484 41 82 00 0C */ beq lbl_8008E530 +/* 8008E528 0008B488 A0 16 00 14 */ lhz r0, 0x14(r22) +/* 8008E52C 0008B48C B0 1F 01 3C */ sth r0, 0x13c(r31) +lbl_8008E530: +/* 8008E530 0008B490 7F 03 C3 78 */ mr r3, r24 +/* 8008E534 0008B494 7E C4 B3 78 */ mr r4, r22 +/* 8008E538 0008B498 48 2A E0 A9 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8008E53C 0008B49C 7C 76 1B 78 */ mr r22, r3 +lbl_8008E540: +/* 8008E540 0008B4A0 7C 16 C8 40 */ cmplw r22, r25 +/* 8008E544 0008B4A4 38 00 00 00 */ li r0, 0 +/* 8008E548 0008B4A8 40 82 00 0C */ bne lbl_8008E554 +/* 8008E54C 0008B4AC 7C 18 B8 40 */ cmplw r24, r23 +/* 8008E550 0008B4B0 41 82 00 08 */ beq lbl_8008E558 +lbl_8008E554: +/* 8008E554 0008B4B4 38 00 00 01 */ li r0, 1 +lbl_8008E558: +/* 8008E558 0008B4B8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8008E55C 0008B4BC 40 82 FF A0 */ bne lbl_8008E4FC +lbl_8008E560: +/* 8008E560 0008B4C0 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_8008E564: +/* 8008E564 0008B4C4 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 8008E568 0008B4C8 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 8008E56C 0008B4CC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8008E570 0008B4D0 7C 03 02 14 */ add r0, r3, r0 +/* 8008E574 0008B4D4 7C 1A 00 40 */ cmplw r26, r0 +/* 8008E578 0008B4D8 40 82 FF 2C */ bne lbl_8008E4A4 +/* 8008E57C 0008B4DC 48 00 04 8C */ b lbl_8008EA08 +lbl_8008E580: +/* 8008E580 0008B4E0 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E584 0008B4E4 28 03 00 00 */ cmplwi r3, 0 +/* 8008E588 0008B4E8 41 82 04 80 */ beq lbl_8008EA08 +/* 8008E58C 0008B4EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E590 0008B4F0 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 8008E594 0008B4F4 7D 89 03 A6 */ mtctr r12 +/* 8008E598 0008B4F8 4E 80 04 21 */ bctrl +/* 8008E59C 0008B4FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008E5A0 0008B500 41 82 04 68 */ beq lbl_8008EA08 +/* 8008E5A4 0008B504 7F C4 F3 78 */ mr r4, r30 +/* 8008E5A8 0008B508 38 61 00 34 */ addi r3, r1, 0x34 +/* 8008E5AC 0008B50C 4B FB EB 31 */ bl AllocateUniqueId__13CStateManagerFv +/* 8008E5B0 0008B510 A0 01 00 34 */ lhz r0, 0x34(r1) +/* 8008E5B4 0008B514 3C 60 80 3D */ lis r3, lbl_803CD690@ha +/* 8008E5B8 0008B518 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l +/* 8008E5BC 0008B51C 3B 40 00 00 */ li r26, 0 +/* 8008E5C0 0008B520 B0 1F 01 08 */ sth r0, 0x108(r31) +/* 8008E5C4 0008B524 3A E0 00 00 */ li r23, 0 +/* 8008E5C8 0008B528 38 60 01 48 */ li r3, 0x148 +/* 8008E5CC 0008B52C 38 A0 00 00 */ li r5, 0 +/* 8008E5D0 0008B530 82 DF 01 0C */ lwz r22, 0x10c(r31) +/* 8008E5D4 0008B534 48 28 72 99 */ bl __nw__FUlPCcPCc +/* 8008E5D8 0008B538 7C 79 1B 79 */ or. r25, r3, r3 +/* 8008E5DC 0008B53C 41 82 00 AC */ beq lbl_8008E688 +/* 8008E5E0 0008B540 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8008E5E4 0008B544 3C 60 80 3D */ lis r3, lbl_803CD690@ha +/* 8008E5E8 0008B548 83 1F 01 04 */ lwz r24, 0x104(r31) +/* 8008E5EC 0008B54C 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l +/* 8008E5F0 0008B550 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 8008E5F4 0008B554 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8008E5F8 0008B558 38 84 00 07 */ addi r4, r4, 7 +/* 8008E5FC 0008B55C B0 01 00 30 */ sth r0, 0x30(r1) +/* 8008E600 0008B560 4B F7 66 B9 */ bl string_l__4rstlFPCc +/* 8008E604 0008B564 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8008E608 0008B568 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8008E60C 0008B56C 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8008E610 0008B570 3B 40 00 01 */ li r26, 1 +/* 8008E614 0008B574 4B F7 66 49 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8008E618 0008B578 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8008E61C 0008B57C 7F 04 C3 78 */ mr r4, r24 +/* 8008E620 0008B580 80 BF 00 04 */ lwz r5, 4(r31) +/* 8008E624 0008B584 38 61 01 BC */ addi r3, r1, 0x1bc +/* 8008E628 0008B588 54 18 CF FE */ rlwinm r24, r0, 0x19, 0x1f, 0x1f +/* 8008E62C 0008B58C 3A E0 00 01 */ li r23, 1 +/* 8008E630 0008B590 90 A1 00 54 */ stw r5, 0x54(r1) +/* 8008E634 0008B594 A0 1F 01 08 */ lhz r0, 0x108(r31) +/* 8008E638 0008B598 90 A1 00 50 */ stw r5, 0x50(r1) +/* 8008E63C 0008B59C B0 01 00 28 */ sth r0, 0x28(r1) +/* 8008E640 0008B5A0 81 84 00 00 */ lwz r12, 0(r4) +/* 8008E644 0008B5A4 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8008E648 0008B5A8 7D 89 03 A6 */ mtctr r12 +/* 8008E64C 0008B5AC 4E 80 04 21 */ bctrl +/* 8008E650 0008B5B0 92 C1 00 08 */ stw r22, 8(r1) +/* 8008E654 0008B5B4 38 00 00 01 */ li r0, 1 +/* 8008E658 0008B5B8 C0 22 8A C8 */ lfs f1, lbl_805AA7E8@sda21(r2) +/* 8008E65C 0008B5BC 7F 23 CB 78 */ mr r3, r25 +/* 8008E660 0008B5C0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8008E664 0008B5C4 7F 06 C3 78 */ mr r6, r24 +/* 8008E668 0008B5C8 38 81 00 28 */ addi r4, r1, 0x28 +/* 8008E66C 0008B5CC 38 A1 00 54 */ addi r5, r1, 0x54 +/* 8008E670 0008B5D0 38 E1 00 A4 */ addi r7, r1, 0xa4 +/* 8008E674 0008B5D4 39 1F 00 34 */ addi r8, r31, 0x34 +/* 8008E678 0008B5D8 39 21 00 30 */ addi r9, r1, 0x30 +/* 8008E67C 0008B5DC 39 41 01 BC */ addi r10, r1, 0x1bc +/* 8008E680 0008B5E0 48 02 71 A5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +/* 8008E684 0008B5E4 7C 79 1B 78 */ mr r25, r3 +lbl_8008E688: +/* 8008E688 0008B5E8 7F C3 F3 78 */ mr r3, r30 +/* 8008E68C 0008B5EC 7F 24 CB 78 */ mr r4, r25 +/* 8008E690 0008B5F0 4B FB E6 65 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8008E694 0008B5F4 7E E0 07 75 */ extsb. r0, r23 +/* 8008E698 0008B5F8 41 82 00 0C */ beq lbl_8008E6A4 +/* 8008E69C 0008B5FC 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8008E6A0 0008B600 48 2A F4 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8008E6A4: +/* 8008E6A4 0008B604 7F 40 07 75 */ extsb. r0, r26 +/* 8008E6A8 0008B608 41 82 03 60 */ beq lbl_8008EA08 +/* 8008E6AC 0008B60C 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8008E6B0 0008B610 48 2A F4 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8008E6B4 0008B614 48 00 03 54 */ b lbl_8008EA08 +lbl_8008E6B8: +/* 8008E6B8 0008B618 A0 7F 01 08 */ lhz r3, 0x108(r31) +/* 8008E6BC 0008B61C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008E6C0 0008B620 7C 03 00 40 */ cmplw r3, r0 +/* 8008E6C4 0008B624 41 82 03 44 */ beq lbl_8008EA08 +/* 8008E6C8 0008B628 A0 1F 01 08 */ lhz r0, 0x108(r31) +/* 8008E6CC 0008B62C 7F C3 F3 78 */ mr r3, r30 +/* 8008E6D0 0008B630 38 81 00 24 */ addi r4, r1, 0x24 +/* 8008E6D4 0008B634 B0 01 00 24 */ sth r0, 0x24(r1) +/* 8008E6D8 0008B638 4B FB DB 95 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8008E6DC 0008B63C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008E6E0 0008B640 B0 1F 01 08 */ sth r0, 0x108(r31) +/* 8008E6E4 0008B644 48 00 03 24 */ b lbl_8008EA08 +lbl_8008E6E8: +/* 8008E6E8 0008B648 88 1F 01 10 */ lbz r0, 0x110(r31) +/* 8008E6EC 0008B64C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8008E6F0 0008B650 41 82 03 18 */ beq lbl_8008EA08 +/* 8008E6F4 0008B654 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E6F8 0008B658 28 03 00 00 */ cmplwi r3, 0 +/* 8008E6FC 0008B65C 41 82 01 94 */ beq lbl_8008E890 +/* 8008E700 0008B660 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E704 0008B664 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 8008E708 0008B668 7D 89 03 A6 */ mtctr r12 +/* 8008E70C 0008B66C 4E 80 04 21 */ bctrl +/* 8008E710 0008B670 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008E714 0008B674 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 8008E718 0008B678 C0 03 00 04 */ lfs f0, 4(r3) +/* 8008E71C 0008B67C D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 8008E720 0008B680 C0 03 00 08 */ lfs f0, 8(r3) +/* 8008E724 0008B684 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 8008E728 0008B688 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E72C 0008B68C 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E730 0008B690 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 8008E734 0008B694 7D 89 03 A6 */ mtctr r12 +/* 8008E738 0008B698 4E 80 04 21 */ bctrl +/* 8008E73C 0008B69C 80 03 00 00 */ lwz r0, 0(r3) +/* 8008E740 0008B6A0 3C 60 80 3D */ lis r3, lbl_803CD690@ha +/* 8008E744 0008B6A4 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l +/* 8008E748 0008B6A8 3A C0 00 00 */ li r22, 0 +/* 8008E74C 0008B6AC 90 01 00 60 */ stw r0, 0x60(r1) +/* 8008E750 0008B6B0 38 60 03 40 */ li r3, 0x340 +/* 8008E754 0008B6B4 38 A0 00 00 */ li r5, 0 +/* 8008E758 0008B6B8 48 28 71 15 */ bl __nw__FUlPCcPCc +/* 8008E75C 0008B6BC 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8008E760 0008B6C0 41 82 00 2C */ beq lbl_8008E78C +/* 8008E764 0008B6C4 38 61 00 84 */ addi r3, r1, 0x84 +/* 8008E768 0008B6C8 38 9F 00 F8 */ addi r4, r31, 0xf8 +/* 8008E76C 0008B6CC 48 2B 27 3D */ bl __ct__6CTokenFRC6CToken +/* 8008E770 0008B6D0 7F 43 D3 78 */ mr r3, r26 +/* 8008E774 0008B6D4 38 81 00 84 */ addi r4, r1, 0x84 +/* 8008E778 0008B6D8 3A C0 00 01 */ li r22, 1 +/* 8008E77C 0008B6DC 38 A0 00 00 */ li r5, 0 +/* 8008E780 0008B6E0 38 C0 00 01 */ li r6, 1 +/* 8008E784 0008B6E4 48 29 0C 5D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8008E788 0008B6E8 7C 7A 1B 78 */ mr r26, r3 +lbl_8008E78C: +/* 8008E78C 0008B6EC 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E790 0008B6F0 28 03 00 00 */ cmplwi r3, 0 +/* 8008E794 0008B6F4 41 82 00 18 */ beq lbl_8008E7AC +/* 8008E798 0008B6F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E79C 0008B6FC 38 80 00 01 */ li r4, 1 +/* 8008E7A0 0008B700 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008E7A4 0008B704 7D 89 03 A6 */ mtctr r12 +/* 8008E7A8 0008B708 4E 80 04 21 */ bctrl +lbl_8008E7AC: +/* 8008E7AC 0008B70C 7E C0 07 75 */ extsb. r0, r22 +/* 8008E7B0 0008B710 93 5F 01 04 */ stw r26, 0x104(r31) +/* 8008E7B4 0008B714 41 82 00 10 */ beq lbl_8008E7C4 +/* 8008E7B8 0008B718 38 61 00 84 */ addi r3, r1, 0x84 +/* 8008E7BC 0008B71C 38 80 00 00 */ li r4, 0 +/* 8008E7C0 0008B720 48 2B 26 81 */ bl __dt__6CTokenFv +lbl_8008E7C4: +/* 8008E7C4 0008B724 38 61 01 2C */ addi r3, r1, 0x12c +/* 8008E7C8 0008B728 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8008E7CC 0008B72C 48 28 43 A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008E7D0 0008B730 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8008E7D4 0008B734 38 61 01 8C */ addi r3, r1, 0x18c +/* 8008E7D8 0008B738 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8008E7DC 0008B73C 38 81 01 2C */ addi r4, r1, 0x12c +/* 8008E7E0 0008B740 C0 45 00 00 */ lfs f2, 0(r5) +/* 8008E7E4 0008B744 C0 25 00 04 */ lfs f1, 4(r5) +/* 8008E7E8 0008B748 C0 05 00 08 */ lfs f0, 8(r5) +/* 8008E7EC 0008B74C D0 41 01 38 */ stfs f2, 0x138(r1) +/* 8008E7F0 0008B750 D0 21 01 48 */ stfs f1, 0x148(r1) +/* 8008E7F4 0008B754 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 8008E7F8 0008B758 48 28 43 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008E7FC 0008B75C 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E800 0008B760 38 81 01 8C */ addi r4, r1, 0x18c +/* 8008E804 0008B764 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E808 0008B768 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8008E80C 0008B76C 7D 89 03 A6 */ mtctr r12 +/* 8008E810 0008B770 4E 80 04 21 */ bctrl +/* 8008E814 0008B774 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8008E818 0008B778 38 81 00 98 */ addi r4, r1, 0x98 +/* 8008E81C 0008B77C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8008E820 0008B780 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8008E824 0008B784 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8008E828 0008B788 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8008E82C 0008B78C D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 8008E830 0008B790 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E834 0008B794 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E838 0008B798 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8008E83C 0008B79C 7D 89 03 A6 */ mtctr r12 +/* 8008E840 0008B7A0 4E 80 04 21 */ bctrl +/* 8008E844 0008B7A4 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E848 0008B7A8 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 8008E84C 0008B7AC 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E850 0008B7B0 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8008E854 0008B7B4 7D 89 03 A6 */ mtctr r12 +/* 8008E858 0008B7B8 4E 80 04 21 */ bctrl +/* 8008E85C 0008B7BC 80 BF 01 38 */ lwz r5, 0x138(r31) +/* 8008E860 0008B7C0 38 81 00 60 */ addi r4, r1, 0x60 +/* 8008E864 0008B7C4 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E868 0008B7C8 7C 05 00 D0 */ neg r0, r5 +/* 8008E86C 0008B7CC 7C 05 2B 78 */ or r5, r0, r5 +/* 8008E870 0008B7D0 88 03 02 6D */ lbz r0, 0x26d(r3) +/* 8008E874 0008B7D4 50 A0 36 B4 */ rlwimi r0, r5, 6, 0x1a, 0x1a +/* 8008E878 0008B7D8 98 03 02 6D */ stb r0, 0x26d(r3) +/* 8008E87C 0008B7DC 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008E880 0008B7E0 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E884 0008B7E4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8008E888 0008B7E8 7D 89 03 A6 */ mtctr r12 +/* 8008E88C 0008B7EC 4E 80 04 21 */ bctrl +lbl_8008E890: +/* 8008E890 0008B7F0 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008E894 0008B7F4 28 03 00 00 */ cmplwi r3, 0 +/* 8008E898 0008B7F8 41 82 01 70 */ beq lbl_8008EA08 +/* 8008E89C 0008B7FC 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E8A0 0008B800 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 8008E8A4 0008B804 7D 89 03 A6 */ mtctr r12 +/* 8008E8A8 0008B808 4E 80 04 21 */ bctrl +/* 8008E8AC 0008B80C C0 03 00 00 */ lfs f0, 0(r3) +/* 8008E8B0 0008B810 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 8008E8B4 0008B814 C0 03 00 04 */ lfs f0, 4(r3) +/* 8008E8B8 0008B818 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 8008E8BC 0008B81C C0 03 00 08 */ lfs f0, 8(r3) +/* 8008E8C0 0008B820 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 8008E8C4 0008B824 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008E8C8 0008B828 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E8CC 0008B82C 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 8008E8D0 0008B830 7D 89 03 A6 */ mtctr r12 +/* 8008E8D4 0008B834 4E 80 04 21 */ bctrl +/* 8008E8D8 0008B838 80 03 00 00 */ lwz r0, 0(r3) +/* 8008E8DC 0008B83C 3C 60 80 3D */ lis r3, lbl_803CD690@ha +/* 8008E8E0 0008B840 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l +/* 8008E8E4 0008B844 3A C0 00 00 */ li r22, 0 +/* 8008E8E8 0008B848 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8008E8EC 0008B84C 38 60 04 58 */ li r3, 0x458 +/* 8008E8F0 0008B850 38 A0 00 00 */ li r5, 0 +/* 8008E8F4 0008B854 48 28 6F 79 */ bl __nw__FUlPCcPCc +/* 8008E8F8 0008B858 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8008E8FC 0008B85C 41 82 00 24 */ beq lbl_8008E920 +/* 8008E900 0008B860 38 61 00 7C */ addi r3, r1, 0x7c +/* 8008E904 0008B864 38 9F 00 E8 */ addi r4, r31, 0xe8 +/* 8008E908 0008B868 48 2B 25 A1 */ bl __ct__6CTokenFRC6CToken +/* 8008E90C 0008B86C 7F 43 D3 78 */ mr r3, r26 +/* 8008E910 0008B870 38 81 00 7C */ addi r4, r1, 0x7c +/* 8008E914 0008B874 3A C0 00 01 */ li r22, 1 +/* 8008E918 0008B878 48 2D 38 59 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 8008E91C 0008B87C 7C 7A 1B 78 */ mr r26, r3 +lbl_8008E920: +/* 8008E920 0008B880 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008E924 0008B884 28 03 00 00 */ cmplwi r3, 0 +/* 8008E928 0008B888 41 82 00 18 */ beq lbl_8008E940 +/* 8008E92C 0008B88C 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E930 0008B890 38 80 00 01 */ li r4, 1 +/* 8008E934 0008B894 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008E938 0008B898 7D 89 03 A6 */ mtctr r12 +/* 8008E93C 0008B89C 4E 80 04 21 */ bctrl +lbl_8008E940: +/* 8008E940 0008B8A0 7E C0 07 75 */ extsb. r0, r22 +/* 8008E944 0008B8A4 93 5F 00 F4 */ stw r26, 0xf4(r31) +/* 8008E948 0008B8A8 41 82 00 10 */ beq lbl_8008E958 +/* 8008E94C 0008B8AC 38 61 00 7C */ addi r3, r1, 0x7c +/* 8008E950 0008B8B0 38 80 00 00 */ li r4, 0 +/* 8008E954 0008B8B4 48 2B 24 ED */ bl __dt__6CTokenFv +lbl_8008E958: +/* 8008E958 0008B8B8 38 61 00 FC */ addi r3, r1, 0xfc +/* 8008E95C 0008B8BC 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8008E960 0008B8C0 48 28 42 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008E964 0008B8C4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8008E968 0008B8C8 38 61 01 5C */ addi r3, r1, 0x15c +/* 8008E96C 0008B8CC 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8008E970 0008B8D0 38 81 00 FC */ addi r4, r1, 0xfc +/* 8008E974 0008B8D4 C0 45 00 00 */ lfs f2, 0(r5) +/* 8008E978 0008B8D8 C0 25 00 04 */ lfs f1, 4(r5) +/* 8008E97C 0008B8DC C0 05 00 08 */ lfs f0, 8(r5) +/* 8008E980 0008B8E0 D0 41 01 08 */ stfs f2, 0x108(r1) +/* 8008E984 0008B8E4 D0 21 01 18 */ stfs f1, 0x118(r1) +/* 8008E988 0008B8E8 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 8008E98C 0008B8EC 48 28 41 E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008E990 0008B8F0 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008E994 0008B8F4 38 81 01 5C */ addi r4, r1, 0x15c +/* 8008E998 0008B8F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E99C 0008B8FC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8008E9A0 0008B900 7D 89 03 A6 */ mtctr r12 +/* 8008E9A4 0008B904 4E 80 04 21 */ bctrl +/* 8008E9A8 0008B908 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8008E9AC 0008B90C 38 81 00 8C */ addi r4, r1, 0x8c +/* 8008E9B0 0008B910 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8008E9B4 0008B914 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8008E9B8 0008B918 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8008E9BC 0008B91C D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8008E9C0 0008B920 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8008E9C4 0008B924 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008E9C8 0008B928 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E9CC 0008B92C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8008E9D0 0008B930 7D 89 03 A6 */ mtctr r12 +/* 8008E9D4 0008B934 4E 80 04 21 */ bctrl +/* 8008E9D8 0008B938 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008E9DC 0008B93C 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 8008E9E0 0008B940 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E9E4 0008B944 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8008E9E8 0008B948 7D 89 03 A6 */ mtctr r12 +/* 8008E9EC 0008B94C 4E 80 04 21 */ bctrl +/* 8008E9F0 0008B950 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008E9F4 0008B954 38 81 00 5C */ addi r4, r1, 0x5c +/* 8008E9F8 0008B958 81 83 00 00 */ lwz r12, 0(r3) +/* 8008E9FC 0008B95C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8008EA00 0008B960 7D 89 03 A6 */ mtctr r12 +/* 8008EA04 0008B964 4E 80 04 21 */ bctrl +lbl_8008EA08: +/* 8008EA08 0008B968 A0 1C 00 00 */ lhz r0, 0(r28) +/* 8008EA0C 0008B96C 7F E3 FB 78 */ mr r3, r31 +/* 8008EA10 0008B970 7F A4 EB 78 */ mr r4, r29 +/* 8008EA14 0008B974 7F C6 F3 78 */ mr r6, r30 +/* 8008EA18 0008B978 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8008EA1C 0008B97C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8008EA20 0008B980 4B FC 4B F5 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8008EA24 0008B984 A0 1F 01 08 */ lhz r0, 0x108(r31) +/* 8008EA28 0008B988 7F C3 F3 78 */ mr r3, r30 +/* 8008EA2C 0008B98C 38 81 00 1C */ addi r4, r1, 0x1c +/* 8008EA30 0008B990 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8008EA34 0008B994 4B FB DB 41 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8008EA38 0008B998 7C 64 1B 78 */ mr r4, r3 +/* 8008EA3C 0008B99C 38 61 00 74 */ addi r3, r1, 0x74 +/* 8008EA40 0008B9A0 48 02 12 51 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8008EA44 0008B9A4 83 43 00 04 */ lwz r26, 4(r3) +/* 8008EA48 0008B9A8 7F C3 F3 78 */ mr r3, r30 +/* 8008EA4C 0008B9AC A0 1C 00 00 */ lhz r0, 0(r28) +/* 8008EA50 0008B9B0 7F A6 EB 78 */ mr r6, r29 +/* 8008EA54 0008B9B4 7F 44 D3 78 */ mr r4, r26 +/* 8008EA58 0008B9B8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8008EA5C 0008B9BC B0 01 00 18 */ sth r0, 0x18(r1) +/* 8008EA60 0008B9C0 4B FB 54 71 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8008EA64 0008B9C4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8008EA68 0008B9C8 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 8008EA6C 0008B9CC 7C 1B 00 40 */ cmplw r27, r0 +/* 8008EA70 0008B9D0 41 82 02 8C */ beq lbl_8008ECFC +/* 8008EA74 0008B9D4 28 00 00 00 */ cmplwi r0, 0 +/* 8008EA78 0008B9D8 41 82 01 FC */ beq lbl_8008EC74 +/* 8008EA7C 0008B9DC 38 00 00 00 */ li r0, 0 +/* 8008EA80 0008B9E0 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8008EA84 0008B9E4 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8008EA88 0008B9E8 90 01 00 DC */ stw r0, 0xdc(r1) +/* 8008EA8C 0008B9EC 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 8008EA90 0008B9F0 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8008EA94 0008B9F4 4B F7 D9 75 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 8008EA98 0008B9F8 83 7F 00 2C */ lwz r27, 0x2c(r31) +/* 8008EA9C 0008B9FC 48 00 00 94 */ b lbl_8008EB30 +lbl_8008EAA0: +/* 8008EAA0 0008BA00 80 1B 00 00 */ lwz r0, 0(r27) +/* 8008EAA4 0008BA04 2C 00 00 12 */ cmpwi r0, 0x12 +/* 8008EAA8 0008BA08 40 82 00 84 */ bne lbl_8008EB2C +/* 8008EAAC 0008BA0C 80 1B 00 04 */ lwz r0, 4(r27) +/* 8008EAB0 0008BA10 2C 00 00 01 */ cmpwi r0, 1 +/* 8008EAB4 0008BA14 40 82 00 78 */ bne lbl_8008EB2C +/* 8008EAB8 0008BA18 80 1B 00 08 */ lwz r0, 8(r27) +/* 8008EABC 0008BA1C 7F C4 F3 78 */ mr r4, r30 +/* 8008EAC0 0008BA20 38 61 00 14 */ addi r3, r1, 0x14 +/* 8008EAC4 0008BA24 38 A1 00 4C */ addi r5, r1, 0x4c +/* 8008EAC8 0008BA28 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8008EACC 0008BA2C 4B FB 94 51 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8008EAD0 0008BA30 A2 C1 00 14 */ lhz r22, 0x14(r1) +/* 8008EAD4 0008BA34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008EAD8 0008BA38 7C 16 00 40 */ cmplw r22, r0 +/* 8008EADC 0008BA3C 41 82 00 50 */ beq lbl_8008EB2C +/* 8008EAE0 0008BA40 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8008EAE4 0008BA44 80 A1 00 DC */ lwz r5, 0xdc(r1) +/* 8008EAE8 0008BA48 7C 00 28 00 */ cmpw r0, r5 +/* 8008EAEC 0008BA4C 41 80 00 1C */ blt lbl_8008EB08 +/* 8008EAF0 0008BA50 2C 05 00 00 */ cmpwi r5, 0 +/* 8008EAF4 0008BA54 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8008EAF8 0008BA58 38 80 00 04 */ li r4, 4 +/* 8008EAFC 0008BA5C 41 82 00 08 */ beq lbl_8008EB04 +/* 8008EB00 0008BA60 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8008EB04: +/* 8008EB04 0008BA64 4B F7 D9 05 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_8008EB08: +/* 8008EB08 0008BA68 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8008EB0C 0008BA6C 80 61 00 E0 */ lwz r3, 0xe0(r1) +/* 8008EB10 0008BA70 54 00 08 3C */ slwi r0, r0, 1 +/* 8008EB14 0008BA74 7C 63 02 15 */ add. r3, r3, r0 +/* 8008EB18 0008BA78 41 82 00 08 */ beq lbl_8008EB20 +/* 8008EB1C 0008BA7C B2 C3 00 00 */ sth r22, 0(r3) +lbl_8008EB20: +/* 8008EB20 0008BA80 80 61 00 D8 */ lwz r3, 0xd8(r1) +/* 8008EB24 0008BA84 38 03 00 01 */ addi r0, r3, 1 +/* 8008EB28 0008BA88 90 01 00 D8 */ stw r0, 0xd8(r1) +lbl_8008EB2C: +/* 8008EB2C 0008BA8C 3B 7B 00 0C */ addi r27, r27, 0xc +lbl_8008EB30: +/* 8008EB30 0008BA90 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 8008EB34 0008BA94 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 8008EB38 0008BA98 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8008EB3C 0008BA9C 7C 03 02 14 */ add r0, r3, r0 +/* 8008EB40 0008BAA0 7C 1B 00 40 */ cmplw r27, r0 +/* 8008EB44 0008BAA4 40 82 FF 5C */ bne lbl_8008EAA0 +/* 8008EB48 0008BAA8 82 C1 00 D8 */ lwz r22, 0xd8(r1) +/* 8008EB4C 0008BAAC 2C 16 00 00 */ cmpwi r22, 0 +/* 8008EB50 0008BAB0 41 82 00 E4 */ beq lbl_8008EC34 +/* 8008EB54 0008BAB4 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8008EB58 0008BAB8 48 28 39 85 */ bl Float__9CRandom16Fv +/* 8008EB5C 0008BABC 6E C3 80 00 */ xoris r3, r22, 0x8000 +/* 8008EB60 0008BAC0 3C 00 43 30 */ lis r0, 0x4330 +/* 8008EB64 0008BAC4 90 61 02 14 */ stw r3, 0x214(r1) +/* 8008EB68 0008BAC8 7F C3 F3 78 */ mr r3, r30 +/* 8008EB6C 0008BACC C8 62 8A D0 */ lfd f3, lbl_805AA7F0@sda21(r2) +/* 8008EB70 0008BAD0 38 81 00 10 */ addi r4, r1, 0x10 +/* 8008EB74 0008BAD4 90 01 02 10 */ stw r0, 0x210(r1) +/* 8008EB78 0008BAD8 C0 02 8A CC */ lfs f0, lbl_805AA7EC@sda21(r2) +/* 8008EB7C 0008BADC C8 41 02 10 */ lfd f2, 0x210(r1) +/* 8008EB80 0008BAE0 80 A1 00 E0 */ lwz r5, 0xe0(r1) +/* 8008EB84 0008BAE4 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8008EB88 0008BAE8 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8008EB8C 0008BAEC EC 00 00 72 */ fmuls f0, f0, f1 +/* 8008EB90 0008BAF0 FC 00 00 1E */ fctiwz f0, f0 +/* 8008EB94 0008BAF4 D8 01 02 18 */ stfd f0, 0x218(r1) +/* 8008EB98 0008BAF8 80 01 02 1C */ lwz r0, 0x21c(r1) +/* 8008EB9C 0008BAFC 54 00 08 3C */ slwi r0, r0, 1 +/* 8008EBA0 0008BB00 7C 05 02 2E */ lhzx r0, r5, r0 +/* 8008EBA4 0008BB04 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8008EBA8 0008BB08 4B FB D9 FD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8008EBAC 0008BB0C 7C 64 1B 78 */ mr r4, r3 +/* 8008EBB0 0008BB10 38 61 00 64 */ addi r3, r1, 0x64 +/* 8008EBB4 0008BB14 48 02 10 DD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8008EBB8 0008BB18 82 C3 00 04 */ lwz r22, 4(r3) +/* 8008EBBC 0008BB1C 28 16 00 00 */ cmplwi r22, 0 +/* 8008EBC0 0008BB20 41 82 00 74 */ beq lbl_8008EC34 +/* 8008EBC4 0008BB24 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8008EBC8 0008BB28 38 96 00 34 */ addi r4, r22, 0x34 +/* 8008EBCC 0008BB2C 48 28 3F 75 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8008EBD0 0008BB30 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8008EBD4 0008BB34 38 60 00 01 */ li r3, 1 +/* 8008EBD8 0008BB38 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8008EBDC 0008BB3C 28 1A 00 00 */ cmplwi r26, 0 +/* 8008EBE0 0008BB40 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8008EBE4 0008BB44 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8008EBE8 0008BB48 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8008EBEC 0008BB4C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8008EBF0 0008BB50 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8008EBF4 0008BB54 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8008EBF8 0008BB58 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8008EBFC 0008BB5C 41 82 00 38 */ beq lbl_8008EC34 +/* 8008EC00 0008BB60 38 7A 00 34 */ addi r3, r26, 0x34 +/* 8008EC04 0008BB64 38 96 00 34 */ addi r4, r22, 0x34 +/* 8008EC08 0008BB68 48 28 3F 39 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8008EC0C 0008BB6C 88 1A 00 E4 */ lbz r0, 0xe4(r26) +/* 8008EC10 0008BB70 38 60 00 01 */ li r3, 1 +/* 8008EC14 0008BB74 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8008EC18 0008BB78 98 1A 00 E4 */ stb r0, 0xe4(r26) +/* 8008EC1C 0008BB7C 88 1A 00 E4 */ lbz r0, 0xe4(r26) +/* 8008EC20 0008BB80 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8008EC24 0008BB84 98 1A 00 E4 */ stb r0, 0xe4(r26) +/* 8008EC28 0008BB88 88 1A 00 E4 */ lbz r0, 0xe4(r26) +/* 8008EC2C 0008BB8C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8008EC30 0008BB90 98 1A 00 E4 */ stb r0, 0xe4(r26) +lbl_8008EC34: +/* 8008EC34 0008BB94 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8008EC38 0008BB98 80 61 00 E0 */ lwz r3, 0xe0(r1) +/* 8008EC3C 0008BB9C 54 00 08 3C */ slwi r0, r0, 1 +/* 8008EC40 0008BBA0 7C 03 02 14 */ add r0, r3, r0 +/* 8008EC44 0008BBA4 90 61 00 40 */ stw r3, 0x40(r1) +/* 8008EC48 0008BBA8 7C 64 1B 78 */ mr r4, r3 +/* 8008EC4C 0008BBAC 90 01 00 48 */ stw r0, 0x48(r1) +/* 8008EC50 0008BBB0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8008EC54 0008BBB4 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8008EC58 0008BBB8 48 00 00 08 */ b lbl_8008EC60 +lbl_8008EC5C: +/* 8008EC5C 0008BBBC 38 84 00 02 */ addi r4, r4, 2 +lbl_8008EC60: +/* 8008EC60 0008BBC0 7C 04 00 40 */ cmplw r4, r0 +/* 8008EC64 0008BBC4 40 82 FF F8 */ bne lbl_8008EC5C +/* 8008EC68 0008BBC8 28 03 00 00 */ cmplwi r3, 0 +/* 8008EC6C 0008BBCC 41 82 00 08 */ beq lbl_8008EC74 +/* 8008EC70 0008BBD0 48 28 6C C1 */ bl Free__7CMemoryFPCv +lbl_8008EC74: +/* 8008EC74 0008BBD4 88 1F 01 10 */ lbz r0, 0x110(r31) +/* 8008EC78 0008BBD8 38 60 00 01 */ li r3, 1 +/* 8008EC7C 0008BBDC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8008EC80 0008BBE0 98 1F 01 10 */ stb r0, 0x110(r31) +/* 8008EC84 0008BBE4 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8008EC88 0008BBE8 28 03 00 00 */ cmplwi r3, 0 +/* 8008EC8C 0008BBEC 41 82 00 1C */ beq lbl_8008ECA8 +/* 8008EC90 0008BBF0 81 83 00 00 */ lwz r12, 0(r3) +/* 8008EC94 0008BBF4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8008EC98 0008BBF8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8008EC9C 0008BBFC 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f +/* 8008ECA0 0008BC00 7D 89 03 A6 */ mtctr r12 +/* 8008ECA4 0008BC04 4E 80 04 21 */ bctrl +lbl_8008ECA8: +/* 8008ECA8 0008BC08 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8008ECAC 0008BC0C 28 03 00 00 */ cmplwi r3, 0 +/* 8008ECB0 0008BC10 41 82 00 1C */ beq lbl_8008ECCC +/* 8008ECB4 0008BC14 81 83 00 00 */ lwz r12, 0(r3) +/* 8008ECB8 0008BC18 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8008ECBC 0008BC1C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8008ECC0 0008BC20 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f +/* 8008ECC4 0008BC24 7D 89 03 A6 */ mtctr r12 +/* 8008ECC8 0008BC28 4E 80 04 21 */ bctrl +lbl_8008ECCC: +/* 8008ECCC 0008BC2C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8008ECD0 0008BC30 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008ECD4 0008BC34 41 82 00 28 */ beq lbl_8008ECFC +/* 8008ECD8 0008BC38 C0 3F 01 30 */ lfs f1, 0x130(r31) +/* 8008ECDC 0008BC3C C0 1F 01 2C */ lfs f0, 0x12c(r31) +/* 8008ECE0 0008BC40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008ECE4 0008BC44 40 80 00 0C */ bge lbl_8008ECF0 +/* 8008ECE8 0008BC48 38 7F 01 2C */ addi r3, r31, 0x12c +/* 8008ECEC 0008BC4C 48 00 00 08 */ b lbl_8008ECF4 +lbl_8008ECF0: +/* 8008ECF0 0008BC50 38 7F 01 30 */ addi r3, r31, 0x130 +lbl_8008ECF4: +/* 8008ECF4 0008BC54 C0 03 00 00 */ lfs f0, 0(r3) +/* 8008ECF8 0008BC58 D0 1F 01 2C */ stfs f0, 0x12c(r31) +lbl_8008ECFC: +/* 8008ECFC 0008BC5C BA C1 02 28 */ lmw r22, 0x228(r1) +/* 8008ED00 0008BC60 80 01 02 54 */ lwz r0, 0x254(r1) +/* 8008ED04 0008BC64 7C 08 03 A6 */ mtlr r0 +/* 8008ED08 0008BC68 38 21 02 50 */ addi r1, r1, 0x250 +/* 8008ED0C 0008BC6C 4E 80 00 20 */ blr + +.global GetModulationColor__17CParticleElectricFv +GetModulationColor__17CParticleElectricFv: +/* 8008ED10 0008BC70 38 63 01 B8 */ addi r3, r3, 0x1b8 +/* 8008ED14 0008BC74 4E 80 00 20 */ blr + +.global GetGlobalScale__17CParticleElectricFv +GetGlobalScale__17CParticleElectricFv: +/* 8008ED18 0008BC78 38 63 00 E0 */ addi r3, r3, 0xe0 +/* 8008ED1C 0008BC7C 4E 80 00 20 */ blr + +.global GetGlobalScale__11CElementGenCFv +GetGlobalScale__11CElementGenCFv: +/* 8008ED20 0008BC80 38 63 01 00 */ addi r3, r3, 0x100 +/* 8008ED24 0008BC84 4E 80 00 20 */ blr + +.global Think__13CScriptEffectFfR13CStateManager +Think__13CScriptEffectFfR13CStateManager: +/* 8008ED28 0008BC88 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 8008ED2C 0008BC8C 7C 08 02 A6 */ mflr r0 +/* 8008ED30 0008BC90 90 01 01 94 */ stw r0, 0x194(r1) +/* 8008ED34 0008BC94 DB E1 01 80 */ stfd f31, 0x180(r1) +/* 8008ED38 0008BC98 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 8008ED3C 0008BC9C 93 E1 01 7C */ stw r31, 0x17c(r1) +/* 8008ED40 0008BCA0 93 C1 01 78 */ stw r30, 0x178(r1) +/* 8008ED44 0008BCA4 93 A1 01 74 */ stw r29, 0x174(r1) +/* 8008ED48 0008BCA8 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 8008ED4C 0008BCAC FF E0 08 90 */ fmr f31, f1 +/* 8008ED50 0008BCB0 7C 7E 1B 78 */ mr r30, r3 +/* 8008ED54 0008BCB4 7C 9F 23 78 */ mr r31, r4 +/* 8008ED58 0008BCB8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8008ED5C 0008BCBC 41 82 01 8C */ beq lbl_8008EEE8 +/* 8008ED60 0008BCC0 80 1E 01 04 */ lwz r0, 0x104(r30) +/* 8008ED64 0008BCC4 28 00 00 00 */ cmplwi r0, 0 +/* 8008ED68 0008BCC8 41 82 00 84 */ beq lbl_8008EDEC +/* 8008ED6C 0008BCCC 38 61 00 84 */ addi r3, r1, 0x84 +/* 8008ED70 0008BCD0 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8008ED74 0008BCD4 48 28 3E 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008ED78 0008BCD8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8008ED7C 0008BCDC 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8008ED80 0008BCE0 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8008ED84 0008BCE4 38 81 00 84 */ addi r4, r1, 0x84 +/* 8008ED88 0008BCE8 C0 45 00 00 */ lfs f2, 0(r5) +/* 8008ED8C 0008BCEC C0 25 00 04 */ lfs f1, 4(r5) +/* 8008ED90 0008BCF0 C0 05 00 08 */ lfs f0, 8(r5) +/* 8008ED94 0008BCF4 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8008ED98 0008BCF8 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 8008ED9C 0008BCFC D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8008EDA0 0008BD00 48 28 3D D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008EDA4 0008BD04 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8008EDA8 0008BD08 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 8008EDAC 0008BD0C 81 83 00 00 */ lwz r12, 0(r3) +/* 8008EDB0 0008BD10 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8008EDB4 0008BD14 7D 89 03 A6 */ mtctr r12 +/* 8008EDB8 0008BD18 4E 80 04 21 */ bctrl +/* 8008EDBC 0008BD1C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8008EDC0 0008BD20 38 81 00 48 */ addi r4, r1, 0x48 +/* 8008EDC4 0008BD24 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8008EDC8 0008BD28 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8008EDCC 0008BD2C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8008EDD0 0008BD30 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8008EDD4 0008BD34 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8008EDD8 0008BD38 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8008EDDC 0008BD3C 81 83 00 00 */ lwz r12, 0(r3) +/* 8008EDE0 0008BD40 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8008EDE4 0008BD44 7D 89 03 A6 */ mtctr r12 +/* 8008EDE8 0008BD48 4E 80 04 21 */ bctrl +lbl_8008EDEC: +/* 8008EDEC 0008BD4C 80 1E 00 F4 */ lwz r0, 0xf4(r30) +/* 8008EDF0 0008BD50 28 00 00 00 */ cmplwi r0, 0 +/* 8008EDF4 0008BD54 41 82 00 84 */ beq lbl_8008EE78 +/* 8008EDF8 0008BD58 38 61 00 54 */ addi r3, r1, 0x54 +/* 8008EDFC 0008BD5C 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8008EE00 0008BD60 48 28 3D 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008EE04 0008BD64 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8008EE08 0008BD68 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8008EE0C 0008BD6C 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8008EE10 0008BD70 38 81 00 54 */ addi r4, r1, 0x54 +/* 8008EE14 0008BD74 C0 45 00 00 */ lfs f2, 0(r5) +/* 8008EE18 0008BD78 C0 25 00 04 */ lfs f1, 4(r5) +/* 8008EE1C 0008BD7C C0 05 00 08 */ lfs f0, 8(r5) +/* 8008EE20 0008BD80 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8008EE24 0008BD84 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8008EE28 0008BD88 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8008EE2C 0008BD8C 48 28 3D 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008EE30 0008BD90 80 7E 00 F4 */ lwz r3, 0xf4(r30) +/* 8008EE34 0008BD94 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8008EE38 0008BD98 81 83 00 00 */ lwz r12, 0(r3) +/* 8008EE3C 0008BD9C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8008EE40 0008BDA0 7D 89 03 A6 */ mtctr r12 +/* 8008EE44 0008BDA4 4E 80 04 21 */ bctrl +/* 8008EE48 0008BDA8 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8008EE4C 0008BDAC 38 81 00 3C */ addi r4, r1, 0x3c +/* 8008EE50 0008BDB0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8008EE54 0008BDB4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8008EE58 0008BDB8 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8008EE5C 0008BDBC D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8008EE60 0008BDC0 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8008EE64 0008BDC4 80 7E 00 F4 */ lwz r3, 0xf4(r30) +/* 8008EE68 0008BDC8 81 83 00 00 */ lwz r12, 0(r3) +/* 8008EE6C 0008BDCC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8008EE70 0008BDD0 7D 89 03 A6 */ mtctr r12 +/* 8008EE74 0008BDD4 4E 80 04 21 */ bctrl +lbl_8008EE78: +/* 8008EE78 0008BDD8 A0 1E 01 08 */ lhz r0, 0x108(r30) +/* 8008EE7C 0008BDDC 7F E3 FB 78 */ mr r3, r31 +/* 8008EE80 0008BDE0 38 81 00 1C */ addi r4, r1, 0x1c +/* 8008EE84 0008BDE4 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8008EE88 0008BDE8 4B FB D6 ED */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8008EE8C 0008BDEC 7C 64 1B 78 */ mr r4, r3 +/* 8008EE90 0008BDF0 38 61 00 34 */ addi r3, r1, 0x34 +/* 8008EE94 0008BDF4 48 02 0D FD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8008EE98 0008BDF8 83 A3 00 04 */ lwz r29, 4(r3) +/* 8008EE9C 0008BDFC 28 1D 00 00 */ cmplwi r29, 0 +/* 8008EEA0 0008BE00 41 82 00 38 */ beq lbl_8008EED8 +/* 8008EEA4 0008BE04 38 7D 00 34 */ addi r3, r29, 0x34 +/* 8008EEA8 0008BE08 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8008EEAC 0008BE0C 48 28 3C 95 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8008EEB0 0008BE10 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8008EEB4 0008BE14 38 60 00 01 */ li r3, 1 +/* 8008EEB8 0008BE18 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8008EEBC 0008BE1C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8008EEC0 0008BE20 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8008EEC4 0008BE24 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8008EEC8 0008BE28 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8008EECC 0008BE2C 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8008EED0 0008BE30 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8008EED4 0008BE34 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_8008EED8: +/* 8008EED8 0008BE38 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8008EEDC 0008BE3C 38 60 00 00 */ li r3, 0 +/* 8008EEE0 0008BE40 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8008EEE4 0008BE44 98 1E 00 E4 */ stb r0, 0xe4(r30) +lbl_8008EEE8: +/* 8008EEE8 0008BE48 88 1E 01 10 */ lbz r0, 0x110(r30) +/* 8008EEEC 0008BE4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8008EEF0 0008BE50 40 82 00 1C */ bne lbl_8008EF0C +/* 8008EEF4 0008BE54 C0 3E 01 2C */ lfs f1, 0x12c(r30) +/* 8008EEF8 0008BE58 C0 02 8A C8 */ lfs f0, lbl_805AA7E8@sda21(r2) +/* 8008EEFC 0008BE5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008EF00 0008BE60 4C 40 13 82 */ cror 2, 0, 2 +/* 8008EF04 0008BE64 40 82 00 60 */ bne lbl_8008EF64 +/* 8008EF08 0008BE68 48 00 02 14 */ b lbl_8008F11C +lbl_8008EF0C: +/* 8008EF0C 0008BE6C 80 BE 00 04 */ lwz r5, 4(r30) +/* 8008EF10 0008BE70 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 8008EF14 0008BE74 54 A3 18 38 */ slwi r3, r5, 3 +/* 8008EF18 0008BE78 90 A1 00 24 */ stw r5, 0x24(r1) +/* 8008EF1C 0008BE7C 80 84 00 20 */ lwz r4, 0x20(r4) +/* 8008EF20 0008BE80 38 03 00 04 */ addi r0, r3, 4 +/* 8008EF24 0008BE84 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8008EF28 0008BE88 7C 64 00 2E */ lwzx r3, r4, r0 +/* 8008EF2C 0008BE8C 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 8008EF30 0008BE90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008EF34 0008BE94 41 82 00 10 */ beq lbl_8008EF44 +/* 8008EF38 0008BE98 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 8008EF3C 0008BE9C 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 8008EF40 0008BEA0 48 00 00 08 */ b lbl_8008EF48 +lbl_8008EF44: +/* 8008EF44 0008BEA4 38 00 00 00 */ li r0, 0 +lbl_8008EF48: +/* 8008EF48 0008BEA8 2C 00 00 00 */ cmpwi r0, 0 +/* 8008EF4C 0008BEAC 40 82 00 18 */ bne lbl_8008EF64 +/* 8008EF50 0008BEB0 C0 3E 01 2C */ lfs f1, 0x12c(r30) +/* 8008EF54 0008BEB4 C0 02 8A C8 */ lfs f0, lbl_805AA7E8@sda21(r2) +/* 8008EF58 0008BEB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008EF5C 0008BEBC 4C 40 13 82 */ cror 2, 0, 2 +/* 8008EF60 0008BEC0 41 82 01 BC */ beq lbl_8008F11C +lbl_8008EF64: +/* 8008EF64 0008BEC4 C0 1E 01 2C */ lfs f0, 0x12c(r30) +/* 8008EF68 0008BEC8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8008EF6C 0008BECC D0 1E 01 2C */ stfs f0, 0x12c(r30) +/* 8008EF70 0008BED0 88 1E 01 10 */ lbz r0, 0x110(r30) +/* 8008EF74 0008BED4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008EF78 0008BED8 41 82 01 54 */ beq lbl_8008F0CC +/* 8008EF7C 0008BEDC 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8008EF80 0008BEE0 28 03 00 00 */ cmplwi r3, 0 +/* 8008EF84 0008BEE4 41 82 00 2C */ beq lbl_8008EFB0 +/* 8008EF88 0008BEE8 81 83 00 00 */ lwz r12, 0(r3) +/* 8008EF8C 0008BEEC FC 20 F8 90 */ fmr f1, f31 +/* 8008EF90 0008BEF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8008EF94 0008BEF4 7D 89 03 A6 */ mtctr r12 +/* 8008EF98 0008BEF8 4E 80 04 21 */ bctrl +/* 8008EF9C 0008BEFC 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8008EFA0 0008BF00 48 28 8F 4D */ bl GetParticleCountAll__11CElementGenCFv +/* 8008EFA4 0008BF04 80 0D A2 9C */ lwz r0, lbl_805A8E5C@sda21(r13) +/* 8008EFA8 0008BF08 7C 00 1A 14 */ add r0, r0, r3 +/* 8008EFAC 0008BF0C 90 0D A2 9C */ stw r0, lbl_805A8E5C@sda21(r13) +lbl_8008EFB0: +/* 8008EFB0 0008BF10 80 7E 00 F4 */ lwz r3, 0xf4(r30) +/* 8008EFB4 0008BF14 28 03 00 00 */ cmplwi r3, 0 +/* 8008EFB8 0008BF18 41 82 00 38 */ beq lbl_8008EFF0 +/* 8008EFBC 0008BF1C 81 83 00 00 */ lwz r12, 0(r3) +/* 8008EFC0 0008BF20 FC 20 F8 90 */ fmr f1, f31 +/* 8008EFC4 0008BF24 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8008EFC8 0008BF28 7D 89 03 A6 */ mtctr r12 +/* 8008EFCC 0008BF2C 4E 80 04 21 */ bctrl +/* 8008EFD0 0008BF30 80 7E 00 F4 */ lwz r3, 0xf4(r30) +/* 8008EFD4 0008BF34 81 83 00 00 */ lwz r12, 0(r3) +/* 8008EFD8 0008BF38 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8008EFDC 0008BF3C 7D 89 03 A6 */ mtctr r12 +/* 8008EFE0 0008BF40 4E 80 04 21 */ bctrl +/* 8008EFE4 0008BF44 80 0D A2 9C */ lwz r0, lbl_805A8E5C@sda21(r13) +/* 8008EFE8 0008BF48 7C 00 1A 14 */ add r0, r0, r3 +/* 8008EFEC 0008BF4C 90 0D A2 9C */ stw r0, lbl_805A8E5C@sda21(r13) +lbl_8008EFF0: +/* 8008EFF0 0008BF50 A0 7E 01 08 */ lhz r3, 0x108(r30) +/* 8008EFF4 0008BF54 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008EFF8 0008BF58 7C 03 00 40 */ cmplw r3, r0 +/* 8008EFFC 0008BF5C 41 82 00 60 */ beq lbl_8008F05C +/* 8008F000 0008BF60 A0 1E 01 08 */ lhz r0, 0x108(r30) +/* 8008F004 0008BF64 7F E3 FB 78 */ mr r3, r31 +/* 8008F008 0008BF68 38 81 00 18 */ addi r4, r1, 0x18 +/* 8008F00C 0008BF6C B0 01 00 18 */ sth r0, 0x18(r1) +/* 8008F010 0008BF70 4B FB D5 65 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8008F014 0008BF74 7C 64 1B 78 */ mr r4, r3 +/* 8008F018 0008BF78 38 61 00 2C */ addi r3, r1, 0x2c +/* 8008F01C 0008BF7C 48 01 EA 69 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 8008F020 0008BF80 83 A3 00 04 */ lwz r29, 4(r3) +/* 8008F024 0008BF84 28 1D 00 00 */ cmplwi r29, 0 +/* 8008F028 0008BF88 41 82 00 34 */ beq lbl_8008F05C +/* 8008F02C 0008BF8C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8008F030 0008BF90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008F034 0008BF94 41 82 00 28 */ beq lbl_8008F05C +/* 8008F038 0008BF98 80 9E 01 04 */ lwz r4, 0x104(r30) +/* 8008F03C 0008BF9C 38 61 01 14 */ addi r3, r1, 0x114 +/* 8008F040 0008BFA0 81 84 00 00 */ lwz r12, 0(r4) +/* 8008F044 0008BFA4 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8008F048 0008BFA8 7D 89 03 A6 */ mtctr r12 +/* 8008F04C 0008BFAC 4E 80 04 21 */ bctrl +/* 8008F050 0008BFB0 7F A3 EB 78 */ mr r3, r29 +/* 8008F054 0008BFB4 38 81 01 14 */ addi r4, r1, 0x114 +/* 8008F058 0008BFB8 48 02 66 ED */ bl SetLight__10CGameLightFRC6CLight +lbl_8008F05C: +/* 8008F05C 0008BFBC 88 1E 01 11 */ lbz r0, 0x111(r30) +/* 8008F060 0008BFC0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8008F064 0008BFC4 41 82 00 68 */ beq lbl_8008F0CC +/* 8008F068 0008BFC8 C0 3E 01 40 */ lfs f1, 0x140(r30) +/* 8008F06C 0008BFCC C0 02 8A D8 */ lfs f0, lbl_805AA7F8@sda21(r2) +/* 8008F070 0008BFD0 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8008F074 0008BFD4 D0 3E 01 40 */ stfs f1, 0x140(r30) +/* 8008F078 0008BFD8 C0 3E 01 40 */ lfs f1, 0x140(r30) +/* 8008F07C 0008BFDC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8008F080 0008BFE0 40 81 00 20 */ ble lbl_8008F0A0 +/* 8008F084 0008BFE4 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8008F088 0008BFE8 7F E3 FB 78 */ mr r3, r31 +/* 8008F08C 0008BFEC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8008F090 0008BFF0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8008F094 0008BFF4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8008F098 0008BFF8 4B FB D1 D5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8008F09C 0008BFFC 48 00 00 80 */ b lbl_8008F11C +lbl_8008F0A0: +/* 8008F0A0 0008C000 7F C3 F3 78 */ mr r3, r30 +/* 8008F0A4 0008C004 4B FF EE 81 */ bl sub_8008df24 +/* 8008F0A8 0008C008 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008F0AC 0008C00C 41 82 00 20 */ beq lbl_8008F0CC +/* 8008F0B0 0008C010 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8008F0B4 0008C014 7F E3 FB 78 */ mr r3, r31 +/* 8008F0B8 0008C018 38 81 00 0C */ addi r4, r1, 0xc +/* 8008F0BC 0008C01C B0 01 00 08 */ sth r0, 8(r1) +/* 8008F0C0 0008C020 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8008F0C4 0008C024 4B FB D1 A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8008F0C8 0008C028 48 00 00 54 */ b lbl_8008F11C +lbl_8008F0CC: +/* 8008F0CC 0008C02C 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8008F0D0 0008C030 28 03 00 00 */ cmplwi r3, 0 +/* 8008F0D4 0008C034 41 82 00 48 */ beq lbl_8008F11C +/* 8008F0D8 0008C038 88 1E 00 B4 */ lbz r0, 0xb4(r30) +/* 8008F0DC 0008C03C 7C 00 07 75 */ extsb. r0, r0 +/* 8008F0E0 0008C040 41 82 00 1C */ beq lbl_8008F0FC +/* 8008F0E4 0008C044 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F0E8 0008C048 38 9E 00 B8 */ addi r4, r30, 0xb8 +/* 8008F0EC 0008C04C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8008F0F0 0008C050 7D 89 03 A6 */ mtctr r12 +/* 8008F0F4 0008C054 4E 80 04 21 */ bctrl +/* 8008F0F8 0008C058 48 00 00 24 */ b lbl_8008F11C +lbl_8008F0FC: +/* 8008F0FC 0008C05C 38 00 FF FF */ li r0, -1 +/* 8008F100 0008C060 38 81 00 20 */ addi r4, r1, 0x20 +/* 8008F104 0008C064 90 01 00 20 */ stw r0, 0x20(r1) +/* 8008F108 0008C068 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8008F10C 0008C06C 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F110 0008C070 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8008F114 0008C074 7D 89 03 A6 */ mtctr r12 +/* 8008F118 0008C078 4E 80 04 21 */ bctrl +lbl_8008F11C: +/* 8008F11C 0008C07C E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 8008F120 0008C080 80 01 01 94 */ lwz r0, 0x194(r1) +/* 8008F124 0008C084 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 8008F128 0008C088 83 E1 01 7C */ lwz r31, 0x17c(r1) +/* 8008F12C 0008C08C 83 C1 01 78 */ lwz r30, 0x178(r1) +/* 8008F130 0008C090 83 A1 01 74 */ lwz r29, 0x174(r1) +/* 8008F134 0008C094 7C 08 03 A6 */ mtlr r0 +/* 8008F138 0008C098 38 21 01 90 */ addi r1, r1, 0x190 +/* 8008F13C 0008C09C 4E 80 00 20 */ blr + +.global "__ct__13CScriptEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fUiUibbbbbffff" +"__ct__13CScriptEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fUiUibbbbbffff": +/* 8008F140 0008C0A0 94 21 FC D0 */ stwu r1, -0x330(r1) +/* 8008F144 0008C0A4 7C 08 02 A6 */ mflr r0 +/* 8008F148 0008C0A8 90 01 03 34 */ stw r0, 0x334(r1) +/* 8008F14C 0008C0AC DB E1 03 20 */ stfd f31, 0x320(r1) +/* 8008F150 0008C0B0 F3 E1 03 28 */ psq_st f31, 808(r1), 0, qr0 +/* 8008F154 0008C0B4 DB C1 03 10 */ stfd f30, 0x310(r1) +/* 8008F158 0008C0B8 F3 C1 03 18 */ psq_st f30, 792(r1), 0, qr0 +/* 8008F15C 0008C0BC DB A1 03 00 */ stfd f29, 0x300(r1) +/* 8008F160 0008C0C0 F3 A1 03 08 */ psq_st f29, 776(r1), 0, qr0 +/* 8008F164 0008C0C4 DB 81 02 F0 */ stfd f28, 0x2f0(r1) +/* 8008F168 0008C0C8 F3 81 02 F8 */ psq_st f28, 760(r1), 0, qr0 +/* 8008F16C 0008C0CC DB 61 02 E0 */ stfd f27, 0x2e0(r1) +/* 8008F170 0008C0D0 F3 61 02 E8 */ psq_st f27, 744(r1), 0, qr0 +/* 8008F174 0008C0D4 DB 41 02 D0 */ stfd f26, 0x2d0(r1) +/* 8008F178 0008C0D8 F3 41 02 D8 */ psq_st f26, 728(r1), 0, qr0 +/* 8008F17C 0008C0DC DB 21 02 C0 */ stfd f25, 0x2c0(r1) +/* 8008F180 0008C0E0 F3 21 02 C8 */ psq_st f25, 712(r1), 0, qr0 +/* 8008F184 0008C0E4 BD C1 02 78 */ stmw r14, 0x278(r1) +/* 8008F188 0008C0E8 FF 20 08 90 */ fmr f25, f1 +/* 8008F18C 0008C0EC 7C 6F 1B 78 */ mr r15, r3 +/* 8008F190 0008C0F0 FF 40 10 90 */ fmr f26, f2 +/* 8008F194 0008C0F4 8A E1 03 3B */ lbz r23, 0x33b(r1) +/* 8008F198 0008C0F8 FF 60 18 90 */ fmr f27, f3 +/* 8008F19C 0008C0FC 8B 01 03 3F */ lbz r24, 0x33f(r1) +/* 8008F1A0 0008C100 FF 80 20 90 */ fmr f28, f4 +/* 8008F1A4 0008C104 8B 21 03 43 */ lbz r25, 0x343(r1) +/* 8008F1A8 0008C108 FF A0 28 90 */ fmr f29, f5 +/* 8008F1AC 0008C10C 8B 41 03 47 */ lbz r26, 0x347(r1) +/* 8008F1B0 0008C110 FF C0 30 90 */ fmr f30, f6 +/* 8008F1B4 0008C114 8B 61 03 4B */ lbz r27, 0x34b(r1) +/* 8008F1B8 0008C118 FF E0 38 90 */ fmr f31, f7 +/* 8008F1BC 0008C11C 8B 81 03 53 */ lbz r28, 0x353(r1) +/* 8008F1C0 0008C120 8B A1 03 57 */ lbz r29, 0x357(r1) +/* 8008F1C4 0008C124 7C 90 23 78 */ mr r16, r4 +/* 8008F1C8 0008C128 8B C1 03 5B */ lbz r30, 0x35b(r1) +/* 8008F1CC 0008C12C 7C B1 2B 78 */ mr r17, r5 +/* 8008F1D0 0008C130 83 E1 03 5C */ lwz r31, 0x35c(r1) +/* 8008F1D4 0008C134 7C D2 33 78 */ mr r18, r6 +/* 8008F1D8 0008C138 89 C1 03 63 */ lbz r14, 0x363(r1) +/* 8008F1DC 0008C13C 7C F3 3B 78 */ mr r19, r7 +/* 8008F1E0 0008C140 7D 14 43 78 */ mr r20, r8 +/* 8008F1E4 0008C144 7D 35 4B 78 */ mr r21, r9 +/* 8008F1E8 0008C148 7D 56 53 78 */ mr r22, r10 +/* 8008F1EC 0008C14C 38 61 02 28 */ addi r3, r1, 0x228 +/* 8008F1F0 0008C150 4B FA B5 B5 */ bl CModelDataNull__10CModelDataFv +/* 8008F1F4 0008C154 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 8008F1F8 0008C158 4B F8 BC 41 */ bl None__16CActorParametersFv +/* 8008F1FC 0008C15C 7E E5 BB 78 */ mr r5, r23 +/* 8008F200 0008C160 38 61 01 58 */ addi r3, r1, 0x158 +/* 8008F204 0008C164 38 81 01 C0 */ addi r4, r1, 0x1c0 +/* 8008F208 0008C168 48 07 76 05 */ bl sub_8010680c +/* 8008F20C 0008C16C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8008F210 0008C170 38 00 00 00 */ li r0, 0 +/* 8008F214 0008C174 80 AD 85 50 */ lwz r5, lbl_805A7110@sda21(r13) +/* 8008F218 0008C178 38 60 00 00 */ li r3, 0 +/* 8008F21C 0008C17C B0 81 00 10 */ sth r4, 0x10(r1) +/* 8008F220 0008C180 38 80 00 01 */ li r4, 1 +/* 8008F224 0008C184 90 01 00 64 */ stw r0, 0x64(r1) +/* 8008F228 0008C188 90 01 00 60 */ stw r0, 0x60(r1) +/* 8008F22C 0008C18C 48 2F AC C9 */ bl __shl2i +/* 8008F230 0008C190 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 8008F234 0008C194 39 61 01 58 */ addi r11, r1, 0x158 +/* 8008F238 0008C198 80 C1 00 64 */ lwz r6, 0x64(r1) +/* 8008F23C 0008C19C 38 01 00 10 */ addi r0, r1, 0x10 +/* 8008F240 0008C1A0 7C A3 1B 78 */ or r3, r5, r3 +/* 8008F244 0008C1A4 A1 30 00 00 */ lhz r9, 0(r16) +/* 8008F248 0008C1A8 7C C4 23 78 */ or r4, r6, r4 +/* 8008F24C 0008C1AC 90 61 00 60 */ stw r3, 0x60(r1) +/* 8008F250 0008C1B0 7D E3 7B 78 */ mr r3, r15 +/* 8008F254 0008C1B4 7F 45 D3 78 */ mr r5, r26 +/* 8008F258 0008C1B8 90 81 00 64 */ stw r4, 0x64(r1) +/* 8008F25C 0008C1BC 7E 26 8B 78 */ mr r6, r17 +/* 8008F260 0008C1C0 7E 47 93 78 */ mr r7, r18 +/* 8008F264 0008C1C4 7E 68 9B 78 */ mr r8, r19 +/* 8008F268 0008C1C8 B1 21 00 14 */ sth r9, 0x14(r1) +/* 8008F26C 0008C1CC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8008F270 0008C1D0 39 21 02 28 */ addi r9, r1, 0x228 +/* 8008F274 0008C1D4 39 41 00 60 */ addi r10, r1, 0x60 +/* 8008F278 0008C1D8 91 61 00 08 */ stw r11, 8(r1) +/* 8008F27C 0008C1DC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8008F280 0008C1E0 4B FC 65 A1 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8008F284 0008C1E4 38 61 01 58 */ addi r3, r1, 0x158 +/* 8008F288 0008C1E8 38 80 FF FF */ li r4, -1 +/* 8008F28C 0008C1EC 48 07 73 7D */ bl __dt__16CActorParametersFv +/* 8008F290 0008C1F0 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 8008F294 0008C1F4 38 80 FF FF */ li r4, -1 +/* 8008F298 0008C1F8 48 07 73 71 */ bl __dt__16CActorParametersFv +/* 8008F29C 0008C1FC 38 61 02 28 */ addi r3, r1, 0x228 +/* 8008F2A0 0008C200 38 80 FF FF */ li r4, -1 +/* 8008F2A4 0008C204 48 08 77 A9 */ bl __dt__10CModelDataFv +/* 8008F2A8 0008C208 3C 60 80 3E */ lis r3, lbl_803DAC38@ha +/* 8008F2AC 0008C20C 3A 0F 00 E8 */ addi r16, r15, 0xe8 +/* 8008F2B0 0008C210 38 03 AC 38 */ addi r0, r3, lbl_803DAC38@l +/* 8008F2B4 0008C214 38 80 00 00 */ li r4, 0 +/* 8008F2B8 0008C218 90 0F 00 00 */ stw r0, 0(r15) +/* 8008F2BC 0008C21C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8008F2C0 0008C220 48 00 07 A1 */ bl "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FP20CElectricDescription" +/* 8008F2C4 0008C224 38 00 00 00 */ li r0, 0 +/* 8008F2C8 0008C228 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8008F2CC 0008C22C 98 01 00 20 */ stb r0, 0x20(r1) +/* 8008F2D0 0008C230 7E 03 83 78 */ mr r3, r16 +/* 8008F2D4 0008C234 48 2B 1C 31 */ bl __ct__6CTokenFP4IObj +/* 8008F2D8 0008C238 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8008F2DC 0008C23C 28 00 00 00 */ cmplwi r0, 0 +/* 8008F2E0 0008C240 41 82 00 24 */ beq lbl_8008F304 +/* 8008F2E4 0008C244 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8008F2E8 0008C248 28 03 00 00 */ cmplwi r3, 0 +/* 8008F2EC 0008C24C 41 82 00 18 */ beq lbl_8008F304 +/* 8008F2F0 0008C250 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F2F4 0008C254 38 80 00 01 */ li r4, 1 +/* 8008F2F8 0008C258 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008F2FC 0008C25C 7D 89 03 A6 */ mtctr r12 +/* 8008F300 0008C260 4E 80 04 21 */ bctrl +lbl_8008F304: +/* 8008F304 0008C264 38 00 00 00 */ li r0, 0 +/* 8008F308 0008C268 7E 03 83 78 */ mr r3, r16 +/* 8008F30C 0008C26C 90 10 00 08 */ stw r0, 8(r16) +/* 8008F310 0008C270 48 2B 1A 75 */ bl Lock__6CTokenFv +/* 8008F314 0008C274 38 00 00 00 */ li r0, 0 +/* 8008F318 0008C278 3A 0F 00 F8 */ addi r16, r15, 0xf8 +/* 8008F31C 0008C27C 90 0F 00 F4 */ stw r0, 0xf4(r15) +/* 8008F320 0008C280 38 61 00 18 */ addi r3, r1, 0x18 +/* 8008F324 0008C284 38 80 00 00 */ li r4, 0 +/* 8008F328 0008C288 48 00 06 19 */ bl "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FP15CGenDescription" +/* 8008F32C 0008C28C 38 00 00 00 */ li r0, 0 +/* 8008F330 0008C290 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8008F334 0008C294 98 01 00 18 */ stb r0, 0x18(r1) +/* 8008F338 0008C298 7E 03 83 78 */ mr r3, r16 +/* 8008F33C 0008C29C 48 2B 1B C9 */ bl __ct__6CTokenFP4IObj +/* 8008F340 0008C2A0 88 01 00 18 */ lbz r0, 0x18(r1) +/* 8008F344 0008C2A4 28 00 00 00 */ cmplwi r0, 0 +/* 8008F348 0008C2A8 41 82 00 24 */ beq lbl_8008F36C +/* 8008F34C 0008C2AC 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8008F350 0008C2B0 28 03 00 00 */ cmplwi r3, 0 +/* 8008F354 0008C2B4 41 82 00 18 */ beq lbl_8008F36C +/* 8008F358 0008C2B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F35C 0008C2BC 38 80 00 01 */ li r4, 1 +/* 8008F360 0008C2C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008F364 0008C2C4 7D 89 03 A6 */ mtctr r12 +/* 8008F368 0008C2C8 4E 80 04 21 */ bctrl +lbl_8008F36C: +/* 8008F36C 0008C2CC 38 00 00 00 */ li r0, 0 +/* 8008F370 0008C2D0 7E 03 83 78 */ mr r3, r16 +/* 8008F374 0008C2D4 90 10 00 08 */ stw r0, 8(r16) +/* 8008F378 0008C2D8 48 2B 1A 0D */ bl Lock__6CTokenFv +/* 8008F37C 0008C2DC 38 60 00 00 */ li r3, 0 +/* 8008F380 0008C2E0 28 1E 00 00 */ cmplwi r30, 0 +/* 8008F384 0008C2E4 90 6F 01 04 */ stw r3, 0x104(r15) +/* 8008F388 0008C2E8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008F38C 0008C2EC B0 0F 01 08 */ sth r0, 0x108(r15) +/* 8008F390 0008C2F0 92 AF 01 0C */ stw r21, 0x10c(r15) +/* 8008F394 0008C2F4 88 0F 01 10 */ lbz r0, 0x110(r15) +/* 8008F398 0008C2F8 53 40 3E 30 */ rlwimi r0, r26, 7, 0x18, 0x18 +/* 8008F39C 0008C2FC 98 0F 01 10 */ stb r0, 0x110(r15) +/* 8008F3A0 0008C300 88 0F 01 10 */ lbz r0, 0x110(r15) +/* 8008F3A4 0008C304 53 00 36 72 */ rlwimi r0, r24, 6, 0x19, 0x19 +/* 8008F3A8 0008C308 98 0F 01 10 */ stb r0, 0x110(r15) +/* 8008F3AC 0008C30C 88 0F 01 10 */ lbz r0, 0x110(r15) +/* 8008F3B0 0008C310 53 20 2E B4 */ rlwimi r0, r25, 5, 0x1a, 0x1a +/* 8008F3B4 0008C314 98 0F 01 10 */ stb r0, 0x110(r15) +/* 8008F3B8 0008C318 88 0F 01 10 */ lbz r0, 0x110(r15) +/* 8008F3BC 0008C31C 53 60 26 F6 */ rlwimi r0, r27, 4, 0x1b, 0x1b +/* 8008F3C0 0008C320 98 0F 01 10 */ stb r0, 0x110(r15) +/* 8008F3C4 0008C324 88 0F 01 10 */ lbz r0, 0x110(r15) +/* 8008F3C8 0008C328 53 80 1F 38 */ rlwimi r0, r28, 3, 0x1c, 0x1c +/* 8008F3CC 0008C32C 98 0F 01 10 */ stb r0, 0x110(r15) +/* 8008F3D0 0008C330 88 0F 01 10 */ lbz r0, 0x110(r15) +/* 8008F3D4 0008C334 53 A0 17 7A */ rlwimi r0, r29, 2, 0x1d, 0x1d +/* 8008F3D8 0008C338 98 0F 01 10 */ stb r0, 0x110(r15) +/* 8008F3DC 0008C33C 88 0F 01 10 */ lbz r0, 0x110(r15) +/* 8008F3E0 0008C340 53 C0 0F BC */ rlwimi r0, r30, 1, 0x1e, 0x1e +/* 8008F3E4 0008C344 98 0F 01 10 */ stb r0, 0x110(r15) +/* 8008F3E8 0008C348 41 82 00 18 */ beq lbl_8008F400 +/* 8008F3EC 0008C34C 28 1D 00 00 */ cmplwi r29, 0 +/* 8008F3F0 0008C350 41 82 00 10 */ beq lbl_8008F400 +/* 8008F3F4 0008C354 28 1C 00 00 */ cmplwi r28, 0 +/* 8008F3F8 0008C358 41 82 00 08 */ beq lbl_8008F400 +/* 8008F3FC 0008C35C 38 60 00 01 */ li r3, 1 +lbl_8008F400: +/* 8008F400 0008C360 88 0F 01 10 */ lbz r0, 0x110(r15) +/* 8008F404 0008C364 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8008F408 0008C368 38 A0 00 00 */ li r5, 0 +/* 8008F40C 0008C36C EC 19 06 72 */ fmuls f0, f25, f25 +/* 8008F410 0008C370 98 0F 01 10 */ stb r0, 0x110(r15) +/* 8008F414 0008C374 7F E4 FB 78 */ mr r4, r31 +/* 8008F418 0008C378 88 01 03 4F */ lbz r0, 0x34f(r1) +/* 8008F41C 0008C37C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8008F420 0008C380 88 CF 01 11 */ lbz r6, 0x111(r15) +/* 8008F424 0008C384 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 +/* 8008F428 0008C388 98 CF 01 11 */ stb r6, 0x111(r15) +/* 8008F42C 0008C38C 88 0F 01 11 */ lbz r0, 0x111(r15) +/* 8008F430 0008C390 51 C0 36 72 */ rlwimi r0, r14, 6, 0x19, 0x19 +/* 8008F434 0008C394 98 0F 01 11 */ stb r0, 0x111(r15) +/* 8008F438 0008C398 88 0F 01 11 */ lbz r0, 0x111(r15) +/* 8008F43C 0008C39C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 8008F440 0008C3A0 98 0F 01 11 */ stb r0, 0x111(r15) +/* 8008F444 0008C3A4 D3 2F 01 14 */ stfs f25, 0x114(r15) +/* 8008F448 0008C3A8 D0 0F 01 18 */ stfs f0, 0x118(r15) +/* 8008F44C 0008C3AC D3 4F 01 1C */ stfs f26, 0x11c(r15) +/* 8008F450 0008C3B0 D3 AF 01 20 */ stfs f29, 0x120(r15) +/* 8008F454 0008C3B4 D3 CF 01 24 */ stfs f30, 0x124(r15) +/* 8008F458 0008C3B8 D3 EF 01 28 */ stfs f31, 0x128(r15) +/* 8008F45C 0008C3BC D3 6F 01 2C */ stfs f27, 0x12c(r15) +/* 8008F460 0008C3C0 D3 6F 01 30 */ stfs f27, 0x130(r15) +/* 8008F464 0008C3C4 D3 8F 01 34 */ stfs f28, 0x134(r15) +/* 8008F468 0008C3C8 48 07 6F A9 */ bl MakeActorLights__16CLightParametersCFv +/* 8008F46C 0008C3CC 38 00 00 00 */ li r0, 0 +/* 8008F470 0008C3D0 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 8008F474 0008C3D4 98 01 00 58 */ stb r0, 0x58(r1) +/* 8008F478 0008C3D8 90 6F 01 38 */ stw r3, 0x138(r15) +/* 8008F47C 0008C3DC 88 01 00 58 */ lbz r0, 0x58(r1) +/* 8008F480 0008C3E0 28 00 00 00 */ cmplwi r0, 0 +/* 8008F484 0008C3E4 41 82 00 10 */ beq lbl_8008F494 +/* 8008F488 0008C3E8 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 8008F48C 0008C3EC 38 80 00 01 */ li r4, 1 +/* 8008F490 0008C3F0 48 07 5C 45 */ bl __dt__12CActorLightsFv +lbl_8008F494: +/* 8008F494 0008C3F4 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 8008F498 0008C3F8 3C 15 00 01 */ addis r0, r21, 1 +/* 8008F49C 0008C3FC C0 02 8A C8 */ lfs f0, lbl_805AA7E8@sda21(r2) +/* 8008F4A0 0008C400 28 00 FF FF */ cmplwi r0, 0xffff +/* 8008F4A4 0008C404 B0 6F 01 3C */ sth r3, 0x13c(r15) +/* 8008F4A8 0008C408 D0 0F 01 40 */ stfs f0, 0x140(r15) +/* 8008F4AC 0008C40C 41 82 01 E0 */ beq lbl_8008F68C +/* 8008F4B0 0008C410 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8008F4B4 0008C414 92 A1 00 54 */ stw r21, 0x54(r1) +/* 8008F4B8 0008C418 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8008F4BC 0008C41C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8008F4C0 0008C420 90 01 00 50 */ stw r0, 0x50(r1) +/* 8008F4C4 0008C424 38 61 00 48 */ addi r3, r1, 0x48 +/* 8008F4C8 0008C428 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8008F4CC 0008C42C 81 84 00 00 */ lwz r12, 0(r4) +/* 8008F4D0 0008C430 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8008F4D4 0008C434 7D 89 03 A6 */ mtctr r12 +/* 8008F4D8 0008C438 4E 80 04 21 */ bctrl +/* 8008F4DC 0008C43C 39 C1 00 8C */ addi r14, r1, 0x8c +/* 8008F4E0 0008C440 38 81 00 48 */ addi r4, r1, 0x48 +/* 8008F4E4 0008C444 7D C3 73 78 */ mr r3, r14 +/* 8008F4E8 0008C448 48 2B 19 C1 */ bl __ct__6CTokenFRC6CToken +/* 8008F4EC 0008C44C 7D C3 73 78 */ mr r3, r14 +/* 8008F4F0 0008C450 48 2B 19 1D */ bl GetObj__6CTokenFv +/* 8008F4F4 0008C454 80 03 00 04 */ lwz r0, 4(r3) +/* 8008F4F8 0008C458 38 6F 00 F8 */ addi r3, r15, 0xf8 +/* 8008F4FC 0008C45C 7D C4 73 78 */ mr r4, r14 +/* 8008F500 0008C460 90 01 00 94 */ stw r0, 0x94(r1) +/* 8008F504 0008C464 48 2B 17 C1 */ bl __as__6CTokenFRC6CToken +/* 8008F508 0008C468 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8008F50C 0008C46C 7D C3 73 78 */ mr r3, r14 +/* 8008F510 0008C470 38 80 00 00 */ li r4, 0 +/* 8008F514 0008C474 90 0F 01 00 */ stw r0, 0x100(r15) +/* 8008F518 0008C478 48 2B 19 29 */ bl __dt__6CTokenFv +/* 8008F51C 0008C47C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8008F520 0008C480 38 80 FF FF */ li r4, -1 +/* 8008F524 0008C484 48 2B 19 1D */ bl __dt__6CTokenFv +/* 8008F528 0008C488 3C 60 80 3D */ lis r3, lbl_803CD690@ha +/* 8008F52C 0008C48C 3A 00 00 00 */ li r16, 0 +/* 8008F530 0008C490 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l +/* 8008F534 0008C494 38 A0 00 00 */ li r5, 0 +/* 8008F538 0008C498 38 60 03 40 */ li r3, 0x340 +/* 8008F53C 0008C49C 48 28 63 31 */ bl __nw__FUlPCcPCc +/* 8008F540 0008C4A0 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8008F544 0008C4A4 41 82 00 2C */ beq lbl_8008F570 +/* 8008F548 0008C4A8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8008F54C 0008C4AC 38 8F 00 F8 */ addi r4, r15, 0xf8 +/* 8008F550 0008C4B0 48 2B 19 59 */ bl __ct__6CTokenFRC6CToken +/* 8008F554 0008C4B4 7D C3 73 78 */ mr r3, r14 +/* 8008F558 0008C4B8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8008F55C 0008C4BC 3A 00 00 01 */ li r16, 1 +/* 8008F560 0008C4C0 38 A0 00 00 */ li r5, 0 +/* 8008F564 0008C4C4 38 C0 00 01 */ li r6, 1 +/* 8008F568 0008C4C8 48 28 FE 79 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8008F56C 0008C4CC 7C 6E 1B 78 */ mr r14, r3 +lbl_8008F570: +/* 8008F570 0008C4D0 80 6F 01 04 */ lwz r3, 0x104(r15) +/* 8008F574 0008C4D4 28 03 00 00 */ cmplwi r3, 0 +/* 8008F578 0008C4D8 41 82 00 18 */ beq lbl_8008F590 +/* 8008F57C 0008C4DC 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F580 0008C4E0 38 80 00 01 */ li r4, 1 +/* 8008F584 0008C4E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008F588 0008C4E8 7D 89 03 A6 */ mtctr r12 +/* 8008F58C 0008C4EC 4E 80 04 21 */ bctrl +lbl_8008F590: +/* 8008F590 0008C4F0 7E 00 07 75 */ extsb. r0, r16 +/* 8008F594 0008C4F4 91 CF 01 04 */ stw r14, 0x104(r15) +/* 8008F598 0008C4F8 41 82 00 10 */ beq lbl_8008F5A8 +/* 8008F59C 0008C4FC 38 61 00 40 */ addi r3, r1, 0x40 +/* 8008F5A0 0008C500 38 80 00 00 */ li r4, 0 +/* 8008F5A4 0008C504 48 2B 18 9D */ bl __dt__6CTokenFv +lbl_8008F5A8: +/* 8008F5A8 0008C508 7E 64 9B 78 */ mr r4, r19 +/* 8008F5AC 0008C50C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8008F5B0 0008C510 48 28 35 C5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008F5B4 0008C514 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8008F5B8 0008C518 38 61 01 28 */ addi r3, r1, 0x128 +/* 8008F5BC 0008C51C 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8008F5C0 0008C520 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8008F5C4 0008C524 C0 45 00 00 */ lfs f2, 0(r5) +/* 8008F5C8 0008C528 C0 25 00 04 */ lfs f1, 4(r5) +/* 8008F5CC 0008C52C C0 05 00 08 */ lfs f0, 8(r5) +/* 8008F5D0 0008C530 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 8008F5D4 0008C534 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 8008F5D8 0008C538 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 8008F5DC 0008C53C 48 28 35 99 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008F5E0 0008C540 80 6F 01 04 */ lwz r3, 0x104(r15) +/* 8008F5E4 0008C544 38 81 01 28 */ addi r4, r1, 0x128 +/* 8008F5E8 0008C548 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F5EC 0008C54C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8008F5F0 0008C550 7D 89 03 A6 */ mtctr r12 +/* 8008F5F4 0008C554 4E 80 04 21 */ bctrl +/* 8008F5F8 0008C558 C0 53 00 2C */ lfs f2, 0x2c(r19) +/* 8008F5FC 0008C55C 38 81 00 80 */ addi r4, r1, 0x80 +/* 8008F600 0008C560 C0 33 00 1C */ lfs f1, 0x1c(r19) +/* 8008F604 0008C564 C0 13 00 0C */ lfs f0, 0xc(r19) +/* 8008F608 0008C568 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 8008F60C 0008C56C D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8008F610 0008C570 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 8008F614 0008C574 80 6F 01 04 */ lwz r3, 0x104(r15) +/* 8008F618 0008C578 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F61C 0008C57C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8008F620 0008C580 7D 89 03 A6 */ mtctr r12 +/* 8008F624 0008C584 4E 80 04 21 */ bctrl +/* 8008F628 0008C588 80 6F 01 04 */ lwz r3, 0x104(r15) +/* 8008F62C 0008C58C 7E 84 A3 78 */ mr r4, r20 +/* 8008F630 0008C590 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F634 0008C594 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8008F638 0008C598 7D 89 03 A6 */ mtctr r12 +/* 8008F63C 0008C59C 4E 80 04 21 */ bctrl +/* 8008F640 0008C5A0 80 6F 01 04 */ lwz r3, 0x104(r15) +/* 8008F644 0008C5A4 7F 44 D3 78 */ mr r4, r26 +/* 8008F648 0008C5A8 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F64C 0008C5AC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8008F650 0008C5B0 7D 89 03 A6 */ mtctr r12 +/* 8008F654 0008C5B4 4E 80 04 21 */ bctrl +/* 8008F658 0008C5B8 80 6F 01 04 */ lwz r3, 0x104(r15) +/* 8008F65C 0008C5BC 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8008F660 0008C5C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F664 0008C5C4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8008F668 0008C5C8 7D 89 03 A6 */ mtctr r12 +/* 8008F66C 0008C5CC 4E 80 04 21 */ bctrl +/* 8008F670 0008C5D0 80 6F 01 38 */ lwz r3, 0x138(r15) +/* 8008F674 0008C5D4 80 8F 01 04 */ lwz r4, 0x104(r15) +/* 8008F678 0008C5D8 7C 03 00 D0 */ neg r0, r3 +/* 8008F67C 0008C5DC 7C 03 1B 78 */ or r3, r0, r3 +/* 8008F680 0008C5E0 88 04 02 6D */ lbz r0, 0x26d(r4) +/* 8008F684 0008C5E4 50 60 36 B4 */ rlwimi r0, r3, 6, 0x1a, 0x1a +/* 8008F688 0008C5E8 98 04 02 6D */ stb r0, 0x26d(r4) +lbl_8008F68C: +/* 8008F68C 0008C5EC 3C 16 00 01 */ addis r0, r22, 1 +/* 8008F690 0008C5F0 28 00 FF FF */ cmplwi r0, 0xffff +/* 8008F694 0008C5F4 41 82 01 BC */ beq lbl_8008F850 +/* 8008F698 0008C5F8 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 8008F69C 0008C5FC 92 C1 00 3C */ stw r22, 0x3c(r1) +/* 8008F6A0 0008C600 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 8008F6A4 0008C604 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8008F6A8 0008C608 90 01 00 38 */ stw r0, 0x38(r1) +/* 8008F6AC 0008C60C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8008F6B0 0008C610 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8008F6B4 0008C614 81 84 00 00 */ lwz r12, 0(r4) +/* 8008F6B8 0008C618 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8008F6BC 0008C61C 7D 89 03 A6 */ mtctr r12 +/* 8008F6C0 0008C620 4E 80 04 21 */ bctrl +/* 8008F6C4 0008C624 39 C1 00 74 */ addi r14, r1, 0x74 +/* 8008F6C8 0008C628 38 81 00 30 */ addi r4, r1, 0x30 +/* 8008F6CC 0008C62C 7D C3 73 78 */ mr r3, r14 +/* 8008F6D0 0008C630 48 2B 17 D9 */ bl __ct__6CTokenFRC6CToken +/* 8008F6D4 0008C634 7D C3 73 78 */ mr r3, r14 +/* 8008F6D8 0008C638 48 2B 17 35 */ bl GetObj__6CTokenFv +/* 8008F6DC 0008C63C 80 03 00 04 */ lwz r0, 4(r3) +/* 8008F6E0 0008C640 38 6F 00 E8 */ addi r3, r15, 0xe8 +/* 8008F6E4 0008C644 7D C4 73 78 */ mr r4, r14 +/* 8008F6E8 0008C648 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8008F6EC 0008C64C 48 2B 15 D9 */ bl __as__6CTokenFRC6CToken +/* 8008F6F0 0008C650 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8008F6F4 0008C654 7D C3 73 78 */ mr r3, r14 +/* 8008F6F8 0008C658 38 80 00 00 */ li r4, 0 +/* 8008F6FC 0008C65C 90 0F 00 F0 */ stw r0, 0xf0(r15) +/* 8008F700 0008C660 48 2B 17 41 */ bl __dt__6CTokenFv +/* 8008F704 0008C664 38 61 00 30 */ addi r3, r1, 0x30 +/* 8008F708 0008C668 38 80 FF FF */ li r4, -1 +/* 8008F70C 0008C66C 48 2B 17 35 */ bl __dt__6CTokenFv +/* 8008F710 0008C670 3C 60 80 3D */ lis r3, lbl_803CD690@ha +/* 8008F714 0008C674 3A 00 00 00 */ li r16, 0 +/* 8008F718 0008C678 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l +/* 8008F71C 0008C67C 38 A0 00 00 */ li r5, 0 +/* 8008F720 0008C680 38 60 04 58 */ li r3, 0x458 +/* 8008F724 0008C684 48 28 61 49 */ bl __nw__FUlPCcPCc +/* 8008F728 0008C688 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8008F72C 0008C68C 41 82 00 24 */ beq lbl_8008F750 +/* 8008F730 0008C690 38 61 00 28 */ addi r3, r1, 0x28 +/* 8008F734 0008C694 38 8F 00 E8 */ addi r4, r15, 0xe8 +/* 8008F738 0008C698 48 2B 17 71 */ bl __ct__6CTokenFRC6CToken +/* 8008F73C 0008C69C 7D C3 73 78 */ mr r3, r14 +/* 8008F740 0008C6A0 38 81 00 28 */ addi r4, r1, 0x28 +/* 8008F744 0008C6A4 3A 00 00 01 */ li r16, 1 +/* 8008F748 0008C6A8 48 2D 2A 29 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 8008F74C 0008C6AC 7C 6E 1B 78 */ mr r14, r3 +lbl_8008F750: +/* 8008F750 0008C6B0 80 6F 00 F4 */ lwz r3, 0xf4(r15) +/* 8008F754 0008C6B4 28 03 00 00 */ cmplwi r3, 0 +/* 8008F758 0008C6B8 41 82 00 18 */ beq lbl_8008F770 +/* 8008F75C 0008C6BC 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F760 0008C6C0 38 80 00 01 */ li r4, 1 +/* 8008F764 0008C6C4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8008F768 0008C6C8 7D 89 03 A6 */ mtctr r12 +/* 8008F76C 0008C6CC 4E 80 04 21 */ bctrl +lbl_8008F770: +/* 8008F770 0008C6D0 7E 00 07 75 */ extsb. r0, r16 +/* 8008F774 0008C6D4 91 CF 00 F4 */ stw r14, 0xf4(r15) +/* 8008F778 0008C6D8 41 82 00 10 */ beq lbl_8008F788 +/* 8008F77C 0008C6DC 38 61 00 28 */ addi r3, r1, 0x28 +/* 8008F780 0008C6E0 38 80 00 00 */ li r4, 0 +/* 8008F784 0008C6E4 48 2B 16 BD */ bl __dt__6CTokenFv +lbl_8008F788: +/* 8008F788 0008C6E8 7E 64 9B 78 */ mr r4, r19 +/* 8008F78C 0008C6EC 38 61 00 98 */ addi r3, r1, 0x98 +/* 8008F790 0008C6F0 48 28 33 E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008F794 0008C6F4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8008F798 0008C6F8 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8008F79C 0008C6FC 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8008F7A0 0008C700 38 81 00 98 */ addi r4, r1, 0x98 +/* 8008F7A4 0008C704 C0 45 00 00 */ lfs f2, 0(r5) +/* 8008F7A8 0008C708 C0 25 00 04 */ lfs f1, 4(r5) +/* 8008F7AC 0008C70C C0 05 00 08 */ lfs f0, 8(r5) +/* 8008F7B0 0008C710 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8008F7B4 0008C714 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 8008F7B8 0008C718 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8008F7BC 0008C71C 48 28 33 B9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8008F7C0 0008C720 80 6F 00 F4 */ lwz r3, 0xf4(r15) +/* 8008F7C4 0008C724 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8008F7C8 0008C728 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F7CC 0008C72C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8008F7D0 0008C730 7D 89 03 A6 */ mtctr r12 +/* 8008F7D4 0008C734 4E 80 04 21 */ bctrl +/* 8008F7D8 0008C738 C0 53 00 2C */ lfs f2, 0x2c(r19) +/* 8008F7DC 0008C73C 38 81 00 68 */ addi r4, r1, 0x68 +/* 8008F7E0 0008C740 C0 33 00 1C */ lfs f1, 0x1c(r19) +/* 8008F7E4 0008C744 C0 13 00 0C */ lfs f0, 0xc(r19) +/* 8008F7E8 0008C748 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 8008F7EC 0008C74C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8008F7F0 0008C750 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8008F7F4 0008C754 80 6F 00 F4 */ lwz r3, 0xf4(r15) +/* 8008F7F8 0008C758 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F7FC 0008C75C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8008F800 0008C760 7D 89 03 A6 */ mtctr r12 +/* 8008F804 0008C764 4E 80 04 21 */ bctrl +/* 8008F808 0008C768 80 6F 00 F4 */ lwz r3, 0xf4(r15) +/* 8008F80C 0008C76C 7E 84 A3 78 */ mr r4, r20 +/* 8008F810 0008C770 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F814 0008C774 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8008F818 0008C778 7D 89 03 A6 */ mtctr r12 +/* 8008F81C 0008C77C 4E 80 04 21 */ bctrl +/* 8008F820 0008C780 80 6F 00 F4 */ lwz r3, 0xf4(r15) +/* 8008F824 0008C784 7F 44 D3 78 */ mr r4, r26 +/* 8008F828 0008C788 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F82C 0008C78C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8008F830 0008C790 7D 89 03 A6 */ mtctr r12 +/* 8008F834 0008C794 4E 80 04 21 */ bctrl +/* 8008F838 0008C798 80 6F 00 F4 */ lwz r3, 0xf4(r15) +/* 8008F83C 0008C79C 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8008F840 0008C7A0 81 83 00 00 */ lwz r12, 0(r3) +/* 8008F844 0008C7A4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8008F848 0008C7A8 7D 89 03 A6 */ mtctr r12 +/* 8008F84C 0008C7AC 4E 80 04 21 */ bctrl +lbl_8008F850: +/* 8008F850 0008C7B0 88 0F 00 E7 */ lbz r0, 0xe7(r15) +/* 8008F854 0008C7B4 38 60 00 01 */ li r3, 1 +/* 8008F858 0008C7B8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8008F85C 0008C7BC 7D E3 7B 78 */ mr r3, r15 +/* 8008F860 0008C7C0 98 0F 00 E7 */ stb r0, 0xe7(r15) +/* 8008F864 0008C7C4 E3 E1 03 28 */ psq_l f31, 808(r1), 0, qr0 +/* 8008F868 0008C7C8 CB E1 03 20 */ lfd f31, 0x320(r1) +/* 8008F86C 0008C7CC E3 C1 03 18 */ psq_l f30, 792(r1), 0, qr0 +/* 8008F870 0008C7D0 CB C1 03 10 */ lfd f30, 0x310(r1) +/* 8008F874 0008C7D4 E3 A1 03 08 */ psq_l f29, 776(r1), 0, qr0 +/* 8008F878 0008C7D8 CB A1 03 00 */ lfd f29, 0x300(r1) +/* 8008F87C 0008C7DC E3 81 02 F8 */ psq_l f28, 760(r1), 0, qr0 +/* 8008F880 0008C7E0 CB 81 02 F0 */ lfd f28, 0x2f0(r1) +/* 8008F884 0008C7E4 E3 61 02 E8 */ psq_l f27, 744(r1), 0, qr0 +/* 8008F888 0008C7E8 CB 61 02 E0 */ lfd f27, 0x2e0(r1) +/* 8008F88C 0008C7EC E3 41 02 D8 */ psq_l f26, 728(r1), 0, qr0 +/* 8008F890 0008C7F0 CB 41 02 D0 */ lfd f26, 0x2d0(r1) +/* 8008F894 0008C7F4 E3 21 02 C8 */ psq_l f25, 712(r1), 0, qr0 +/* 8008F898 0008C7F8 CB 21 02 C0 */ lfd f25, 0x2c0(r1) +/* 8008F89C 0008C7FC B9 C1 02 78 */ lmw r14, 0x278(r1) +/* 8008F8A0 0008C800 80 01 03 34 */ lwz r0, 0x334(r1) +/* 8008F8A4 0008C804 7C 08 03 A6 */ mtlr r0 +/* 8008F8A8 0008C808 38 21 03 30 */ addi r1, r1, 0x330 +/* 8008F8AC 0008C80C 4E 80 00 20 */ blr + +.global "__dt__43TObjOwnerDerivedFromIObj<15CGenDescription>Fv" +"__dt__43TObjOwnerDerivedFromIObj<15CGenDescription>Fv": +/* 8008F8B0 0008C810 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008F8B4 0008C814 7C 08 02 A6 */ mflr r0 +/* 8008F8B8 0008C818 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008F8BC 0008C81C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008F8C0 0008C820 7C 9F 23 78 */ mr r31, r4 +/* 8008F8C4 0008C824 93 C1 00 08 */ stw r30, 8(r1) +/* 8008F8C8 0008C828 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8008F8CC 0008C82C 41 82 00 58 */ beq lbl_8008F924 +/* 8008F8D0 0008C830 3C 60 80 3E */ lis r3, lbl_803DACB0@ha +/* 8008F8D4 0008C834 38 03 AC B0 */ addi r0, r3, lbl_803DACB0@l +/* 8008F8D8 0008C838 90 1E 00 00 */ stw r0, 0(r30) +/* 8008F8DC 0008C83C 80 7E 00 04 */ lwz r3, 4(r30) +/* 8008F8E0 0008C840 28 03 00 00 */ cmplwi r3, 0 +/* 8008F8E4 0008C844 41 82 00 0C */ beq lbl_8008F8F0 +/* 8008F8E8 0008C848 38 80 00 01 */ li r4, 1 +/* 8008F8EC 0008C84C 48 2D 75 4D */ bl __dt__15CGenDescriptionFv +lbl_8008F8F0: +/* 8008F8F0 0008C850 28 1E 00 00 */ cmplwi r30, 0 +/* 8008F8F4 0008C854 41 82 00 20 */ beq lbl_8008F914 +/* 8008F8F8 0008C858 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 8008F8FC 0008C85C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 8008F900 0008C860 90 1E 00 00 */ stw r0, 0(r30) +/* 8008F904 0008C864 41 82 00 10 */ beq lbl_8008F914 +/* 8008F908 0008C868 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8008F90C 0008C86C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8008F910 0008C870 90 1E 00 00 */ stw r0, 0(r30) +lbl_8008F914: +/* 8008F914 0008C874 7F E0 07 35 */ extsh. r0, r31 +/* 8008F918 0008C878 40 81 00 0C */ ble lbl_8008F924 +/* 8008F91C 0008C87C 7F C3 F3 78 */ mr r3, r30 +/* 8008F920 0008C880 48 28 60 11 */ bl Free__7CMemoryFPCv +lbl_8008F924: +/* 8008F924 0008C884 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008F928 0008C888 7F C3 F3 78 */ mr r3, r30 +/* 8008F92C 0008C88C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008F930 0008C890 83 C1 00 08 */ lwz r30, 8(r1) +/* 8008F934 0008C894 7C 08 03 A6 */ mtlr r0 +/* 8008F938 0008C898 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008F93C 0008C89C 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FP15CGenDescription" +"GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FP15CGenDescription": +/* 8008F940 0008C8A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008F944 0008C8A4 7C 08 02 A6 */ mflr r0 +/* 8008F948 0008C8A8 3C A0 80 3D */ lis r5, lbl_803CD690@ha +/* 8008F94C 0008C8AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008F950 0008C8B0 38 05 D6 90 */ addi r0, r5, lbl_803CD690@l +/* 8008F954 0008C8B4 38 A0 00 00 */ li r5, 0 +/* 8008F958 0008C8B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008F95C 0008C8BC 7C 9F 23 78 */ mr r31, r4 +/* 8008F960 0008C8C0 7C 04 03 78 */ mr r4, r0 +/* 8008F964 0008C8C4 93 C1 00 08 */ stw r30, 8(r1) +/* 8008F968 0008C8C8 7C 7E 1B 78 */ mr r30, r3 +/* 8008F96C 0008C8CC 38 60 00 08 */ li r3, 8 +/* 8008F970 0008C8D0 48 28 5E FD */ bl __nw__FUlPCcPCc +/* 8008F974 0008C8D4 28 03 00 00 */ cmplwi r3, 0 +/* 8008F978 0008C8D8 41 82 00 2C */ beq lbl_8008F9A4 +/* 8008F97C 0008C8DC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8008F980 0008C8E0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8008F984 0008C8E4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8008F988 0008C8E8 3C 80 80 3E */ lis r4, lbl_803DACB0@ha +/* 8008F98C 0008C8EC 90 03 00 00 */ stw r0, 0(r3) +/* 8008F990 0008C8F0 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l +/* 8008F994 0008C8F4 38 04 AC B0 */ addi r0, r4, lbl_803DACB0@l +/* 8008F998 0008C8F8 90 A3 00 00 */ stw r5, 0(r3) +/* 8008F99C 0008C8FC 93 E3 00 04 */ stw r31, 4(r3) +/* 8008F9A0 0008C900 90 03 00 00 */ stw r0, 0(r3) +lbl_8008F9A4: +/* 8008F9A4 0008C904 7C 03 00 D0 */ neg r0, r3 +/* 8008F9A8 0008C908 7C 00 1B 78 */ or r0, r0, r3 +/* 8008F9AC 0008C90C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8008F9B0 0008C910 98 1E 00 00 */ stb r0, 0(r30) +/* 8008F9B4 0008C914 90 7E 00 04 */ stw r3, 4(r30) +/* 8008F9B8 0008C918 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008F9BC 0008C91C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8008F9C0 0008C920 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008F9C4 0008C924 7C 08 03 A6 */ mtlr r0 +/* 8008F9C8 0008C928 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008F9CC 0008C92C 4E 80 00 20 */ blr + +.global "__dt__48TObjOwnerDerivedFromIObj<20CElectricDescription>Fv" +"__dt__48TObjOwnerDerivedFromIObj<20CElectricDescription>Fv": +/* 8008F9D0 0008C930 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008F9D4 0008C934 7C 08 02 A6 */ mflr r0 +/* 8008F9D8 0008C938 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008F9DC 0008C93C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008F9E0 0008C940 7C 9F 23 78 */ mr r31, r4 +/* 8008F9E4 0008C944 93 C1 00 08 */ stw r30, 8(r1) +/* 8008F9E8 0008C948 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8008F9EC 0008C94C 41 82 00 58 */ beq lbl_8008FA44 +/* 8008F9F0 0008C950 3C 60 80 3E */ lis r3, lbl_803DACA4@ha +/* 8008F9F4 0008C954 38 03 AC A4 */ addi r0, r3, lbl_803DACA4@l +/* 8008F9F8 0008C958 90 1E 00 00 */ stw r0, 0(r30) +/* 8008F9FC 0008C95C 80 7E 00 04 */ lwz r3, 4(r30) +/* 8008FA00 0008C960 28 03 00 00 */ cmplwi r3, 0 +/* 8008FA04 0008C964 41 82 00 0C */ beq lbl_8008FA10 +/* 8008FA08 0008C968 38 80 00 01 */ li r4, 1 +/* 8008FA0C 0008C96C 48 2D 6D AD */ bl __dt__20CElectricDescriptionFv +lbl_8008FA10: +/* 8008FA10 0008C970 28 1E 00 00 */ cmplwi r30, 0 +/* 8008FA14 0008C974 41 82 00 20 */ beq lbl_8008FA34 +/* 8008FA18 0008C978 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 8008FA1C 0008C97C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 8008FA20 0008C980 90 1E 00 00 */ stw r0, 0(r30) +/* 8008FA24 0008C984 41 82 00 10 */ beq lbl_8008FA34 +/* 8008FA28 0008C988 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8008FA2C 0008C98C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8008FA30 0008C990 90 1E 00 00 */ stw r0, 0(r30) +lbl_8008FA34: +/* 8008FA34 0008C994 7F E0 07 35 */ extsh. r0, r31 +/* 8008FA38 0008C998 40 81 00 0C */ ble lbl_8008FA44 +/* 8008FA3C 0008C99C 7F C3 F3 78 */ mr r3, r30 +/* 8008FA40 0008C9A0 48 28 5E F1 */ bl Free__7CMemoryFPCv +lbl_8008FA44: +/* 8008FA44 0008C9A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008FA48 0008C9A8 7F C3 F3 78 */ mr r3, r30 +/* 8008FA4C 0008C9AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008FA50 0008C9B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8008FA54 0008C9B4 7C 08 03 A6 */ mtlr r0 +/* 8008FA58 0008C9B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008FA5C 0008C9BC 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FP20CElectricDescription" +"GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FP20CElectricDescription": +/* 8008FA60 0008C9C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008FA64 0008C9C4 7C 08 02 A6 */ mflr r0 +/* 8008FA68 0008C9C8 3C A0 80 3D */ lis r5, lbl_803CD690@ha +/* 8008FA6C 0008C9CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008FA70 0008C9D0 38 05 D6 90 */ addi r0, r5, lbl_803CD690@l +/* 8008FA74 0008C9D4 38 A0 00 00 */ li r5, 0 +/* 8008FA78 0008C9D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8008FA7C 0008C9DC 7C 9F 23 78 */ mr r31, r4 +/* 8008FA80 0008C9E0 7C 04 03 78 */ mr r4, r0 +/* 8008FA84 0008C9E4 93 C1 00 08 */ stw r30, 8(r1) +/* 8008FA88 0008C9E8 7C 7E 1B 78 */ mr r30, r3 +/* 8008FA8C 0008C9EC 38 60 00 08 */ li r3, 8 +/* 8008FA90 0008C9F0 48 28 5D DD */ bl __nw__FUlPCcPCc +/* 8008FA94 0008C9F4 28 03 00 00 */ cmplwi r3, 0 +/* 8008FA98 0008C9F8 41 82 00 2C */ beq lbl_8008FAC4 +/* 8008FA9C 0008C9FC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8008FAA0 0008CA00 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8008FAA4 0008CA04 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8008FAA8 0008CA08 3C 80 80 3E */ lis r4, lbl_803DACA4@ha +/* 8008FAAC 0008CA0C 90 03 00 00 */ stw r0, 0(r3) +/* 8008FAB0 0008CA10 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l +/* 8008FAB4 0008CA14 38 04 AC A4 */ addi r0, r4, lbl_803DACA4@l +/* 8008FAB8 0008CA18 90 A3 00 00 */ stw r5, 0(r3) +/* 8008FABC 0008CA1C 93 E3 00 04 */ stw r31, 4(r3) +/* 8008FAC0 0008CA20 90 03 00 00 */ stw r0, 0(r3) +lbl_8008FAC4: +/* 8008FAC4 0008CA24 7C 03 00 D0 */ neg r0, r3 +/* 8008FAC8 0008CA28 7C 00 1B 78 */ or r0, r0, r3 +/* 8008FACC 0008CA2C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8008FAD0 0008CA30 98 1E 00 00 */ stb r0, 0(r30) +/* 8008FAD4 0008CA34 90 7E 00 04 */ stw r3, 4(r30) +/* 8008FAD8 0008CA38 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8008FADC 0008CA3C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8008FAE0 0008CA40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008FAE4 0008CA44 7C 08 03 A6 */ mtlr r0 +/* 8008FAE8 0008CA48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008FAEC 0008CA4C 4E 80 00 20 */ blr + +.global sub_8008faf0 +sub_8008faf0: +/* 8008FAF0 0008CA50 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8008FAF4 0008CA54 7C 08 02 A6 */ mflr r0 +/* 8008FAF8 0008CA58 90 01 00 74 */ stw r0, 0x74(r1) +/* 8008FAFC 0008CA5C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8008FB00 0008CA60 7C 9F 23 78 */ mr r31, r4 +/* 8008FB04 0008CA64 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8008FB08 0008CA68 7C 7E 1B 78 */ mr r30, r3 +/* 8008FB0C 0008CA6C 80 63 01 84 */ lwz r3, 0x184(r3) +/* 8008FB10 0008CA70 81 83 00 00 */ lwz r12, 0(r3) +/* 8008FB14 0008CA74 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8008FB18 0008CA78 7D 89 03 A6 */ mtctr r12 +/* 8008FB1C 0008CA7C 4E 80 04 21 */ bctrl +/* 8008FB20 0008CA80 A0 7E 01 88 */ lhz r3, 0x188(r30) +/* 8008FB24 0008CA84 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008FB28 0008CA88 7C 03 00 40 */ cmplw r3, r0 +/* 8008FB2C 0008CA8C 41 82 00 60 */ beq lbl_8008FB8C +/* 8008FB30 0008CA90 A0 1E 01 88 */ lhz r0, 0x188(r30) +/* 8008FB34 0008CA94 7F E3 FB 78 */ mr r3, r31 +/* 8008FB38 0008CA98 38 81 00 08 */ addi r4, r1, 8 +/* 8008FB3C 0008CA9C B0 01 00 08 */ sth r0, 8(r1) +/* 8008FB40 0008CAA0 4B FB CA 35 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8008FB44 0008CAA4 7C 64 1B 78 */ mr r4, r3 +/* 8008FB48 0008CAA8 38 61 00 0C */ addi r3, r1, 0xc +/* 8008FB4C 0008CAAC 48 01 DF 39 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 8008FB50 0008CAB0 83 E3 00 04 */ lwz r31, 4(r3) +/* 8008FB54 0008CAB4 28 1F 00 00 */ cmplwi r31, 0 +/* 8008FB58 0008CAB8 41 82 00 34 */ beq lbl_8008FB8C +/* 8008FB5C 0008CABC 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8008FB60 0008CAC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008FB64 0008CAC4 41 82 00 28 */ beq lbl_8008FB8C +/* 8008FB68 0008CAC8 80 9E 01 84 */ lwz r4, 0x184(r30) +/* 8008FB6C 0008CACC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8008FB70 0008CAD0 81 84 00 00 */ lwz r12, 0(r4) +/* 8008FB74 0008CAD4 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8008FB78 0008CAD8 7D 89 03 A6 */ mtctr r12 +/* 8008FB7C 0008CADC 4E 80 04 21 */ bctrl +/* 8008FB80 0008CAE0 7F E3 FB 78 */ mr r3, r31 +/* 8008FB84 0008CAE4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8008FB88 0008CAE8 48 02 5B BD */ bl SetLight__10CGameLightFRC6CLight +lbl_8008FB8C: +/* 8008FB8C 0008CAEC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8008FB90 0008CAF0 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8008FB94 0008CAF4 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8008FB98 0008CAF8 7C 08 03 A6 */ mtlr r0 +/* 8008FB9C 0008CAFC 38 21 00 70 */ addi r1, r1, 0x70 +/* 8008FBA0 0008CB00 4E 80 00 20 */ blr + +.global GetTouchBounds__5CBombCFv +GetTouchBounds__5CBombCFv: +/* 8008FBA4 0008CB04 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8008FBA8 0008CB08 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8008FBAC 0008CB0C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008FBB0 0008CB10 41 82 00 0C */ beq lbl_8008FBBC +/* 8008FBB4 0008CB14 C0 ED 85 60 */ lfs f7, lbl_805A7120@sda21(r13) +/* 8008FBB8 0008CB18 48 00 00 08 */ b lbl_8008FBC0 +lbl_8008FBBC: +/* 8008FBBC 0008CB1C C0 E4 01 3C */ lfs f7, 0x13c(r4) +lbl_8008FBC0: +/* 8008FBC0 0008CB20 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 8008FBC4 0008CB24 C0 64 01 78 */ lfs f3, 0x178(r4) +/* 8008FBC8 0008CB28 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8008FBCC 0008CB2C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8008FBD0 0008CB30 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 8008FBD4 0008CB34 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8008FBD8 0008CB38 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8008FBDC 0008CB3C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8008FBE0 0008CB40 D0 41 00 08 */ stfs f2, 8(r1) +/* 8008FBE4 0008CB44 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8008FBE8 0008CB48 40 80 00 0C */ bge lbl_8008FBF4 +/* 8008FBEC 0008CB4C 38 A1 00 08 */ addi r5, r1, 8 +/* 8008FBF0 0008CB50 48 00 00 08 */ b lbl_8008FBF8 +lbl_8008FBF4: +/* 8008FBF4 0008CB54 38 A1 00 0C */ addi r5, r1, 0xc +lbl_8008FBF8: +/* 8008FBF8 0008CB58 C0 05 00 00 */ lfs f0, 0(r5) +/* 8008FBFC 0008CB5C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8008FC00 0008CB60 C0 64 01 74 */ lfs f3, 0x174(r4) +/* 8008FC04 0008CB64 EC A7 00 2A */ fadds f5, f7, f0 +/* 8008FC08 0008CB68 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 8008FC0C 0008CB6C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8008FC10 0008CB70 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 8008FC14 0008CB74 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8008FC18 0008CB78 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8008FC1C 0008CB7C D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8008FC20 0008CB80 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8008FC24 0008CB84 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 8008FC28 0008CB88 40 80 00 0C */ bge lbl_8008FC34 +/* 8008FC2C 0008CB8C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8008FC30 0008CB90 48 00 00 08 */ b lbl_8008FC38 +lbl_8008FC34: +/* 8008FC34 0008CB94 38 A1 00 14 */ addi r5, r1, 0x14 +lbl_8008FC38: +/* 8008FC38 0008CB98 C0 05 00 00 */ lfs f0, 0(r5) +/* 8008FC3C 0008CB9C C0 24 00 40 */ lfs f1, 0x40(r4) +/* 8008FC40 0008CBA0 C0 44 01 70 */ lfs f2, 0x170(r4) +/* 8008FC44 0008CBA4 EC 87 00 2A */ fadds f4, f7, f0 +/* 8008FC48 0008CBA8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8008FC4C 0008CBAC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 8008FC50 0008CBB0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8008FC54 0008CBB4 40 80 00 0C */ bge lbl_8008FC60 +/* 8008FC58 0008CBB8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8008FC5C 0008CBBC 48 00 00 08 */ b lbl_8008FC64 +lbl_8008FC60: +/* 8008FC60 0008CBC0 38 A1 00 1C */ addi r5, r1, 0x1c +lbl_8008FC64: +/* 8008FC64 0008CBC4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8008FC68 0008CBC8 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 8008FC6C 0008CBCC C0 C4 01 78 */ lfs f6, 0x178(r4) +/* 8008FC70 0008CBD0 EC 67 00 2A */ fadds f3, f7, f0 +/* 8008FC74 0008CBD4 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8008FC78 0008CBD8 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8008FC7C 0008CBDC FC 02 30 40 */ fcmpo cr0, f2, f6 +/* 8008FC80 0008CBE0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8008FC84 0008CBE4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8008FC88 0008CBE8 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8008FC8C 0008CBEC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8008FC90 0008CBF0 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 8008FC94 0008CBF4 40 80 00 0C */ bge lbl_8008FCA0 +/* 8008FC98 0008CBF8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8008FC9C 0008CBFC 48 00 00 08 */ b lbl_8008FCA4 +lbl_8008FCA0: +/* 8008FCA0 0008CC00 38 A1 00 24 */ addi r5, r1, 0x24 +lbl_8008FCA4: +/* 8008FCA4 0008CC04 C0 05 00 00 */ lfs f0, 0(r5) +/* 8008FCA8 0008CC08 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8008FCAC 0008CC0C C1 04 01 74 */ lfs f8, 0x174(r4) +/* 8008FCB0 0008CC10 EC 40 38 28 */ fsubs f2, f0, f7 +/* 8008FCB4 0008CC14 C0 C4 00 60 */ lfs f6, 0x60(r4) +/* 8008FCB8 0008CC18 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8008FCBC 0008CC1C FC 01 40 40 */ fcmpo cr0, f1, f8 +/* 8008FCC0 0008CC20 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8008FCC4 0008CC24 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8008FCC8 0008CC28 D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 8008FCCC 0008CC2C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8008FCD0 0008CC30 D1 01 00 2C */ stfs f8, 0x2c(r1) +/* 8008FCD4 0008CC34 40 80 00 0C */ bge lbl_8008FCE0 +/* 8008FCD8 0008CC38 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8008FCDC 0008CC3C 48 00 00 08 */ b lbl_8008FCE4 +lbl_8008FCE0: +/* 8008FCE0 0008CC40 38 A1 00 2C */ addi r5, r1, 0x2c +lbl_8008FCE4: +/* 8008FCE4 0008CC44 C0 05 00 00 */ lfs f0, 0(r5) +/* 8008FCE8 0008CC48 C0 C4 00 40 */ lfs f6, 0x40(r4) +/* 8008FCEC 0008CC4C C1 04 01 70 */ lfs f8, 0x170(r4) +/* 8008FCF0 0008CC50 EC 20 38 28 */ fsubs f1, f0, f7 +/* 8008FCF4 0008CC54 D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 8008FCF8 0008CC58 FC 06 40 40 */ fcmpo cr0, f6, f8 +/* 8008FCFC 0008CC5C D1 01 00 34 */ stfs f8, 0x34(r1) +/* 8008FD00 0008CC60 40 80 00 0C */ bge lbl_8008FD0C +/* 8008FD04 0008CC64 38 81 00 30 */ addi r4, r1, 0x30 +/* 8008FD08 0008CC68 48 00 00 08 */ b lbl_8008FD10 +lbl_8008FD0C: +/* 8008FD0C 0008CC6C 38 81 00 34 */ addi r4, r1, 0x34 +lbl_8008FD10: +/* 8008FD10 0008CC70 C0 04 00 00 */ lfs f0, 0(r4) +/* 8008FD14 0008CC74 38 00 00 01 */ li r0, 1 +/* 8008FD18 0008CC78 28 03 00 00 */ cmplwi r3, 0 +/* 8008FD1C 0008CC7C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 8008FD20 0008CC80 EC 00 38 28 */ fsubs f0, f0, f7 +/* 8008FD24 0008CC84 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8008FD28 0008CC88 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8008FD2C 0008CC8C D0 61 00 74 */ stfs f3, 0x74(r1) +/* 8008FD30 0008CC90 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 8008FD34 0008CC94 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 8008FD38 0008CC98 98 03 00 18 */ stb r0, 0x18(r3) +/* 8008FD3C 0008CC9C 41 82 00 1C */ beq lbl_8008FD58 +/* 8008FD40 0008CCA0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8008FD44 0008CCA4 D0 23 00 04 */ stfs f1, 4(r3) +/* 8008FD48 0008CCA8 D0 43 00 08 */ stfs f2, 8(r3) +/* 8008FD4C 0008CCAC D0 63 00 0C */ stfs f3, 0xc(r3) +/* 8008FD50 0008CCB0 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 8008FD54 0008CCB4 D0 A3 00 14 */ stfs f5, 0x14(r3) +lbl_8008FD58: +/* 8008FD58 0008CCB8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8008FD5C 0008CCBC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__5CBombF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__5CBombF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8008FD60 0008CCC0 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8008FD64 0008CCC4 7C 08 02 A6 */ mflr r0 +/* 8008FD68 0008CCC8 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8008FD6C 0008CCCC BF 01 00 D0 */ stmw r24, 0xd0(r1) +/* 8008FD70 0008CCD0 7C 9D 23 78 */ mr r29, r4 +/* 8008FD74 0008CCD4 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 8008FD78 0008CCD8 7C 7C 1B 78 */ mr r28, r3 +/* 8008FD7C 0008CCDC 7C BE 2B 78 */ mr r30, r5 +/* 8008FD80 0008CCE0 7C DF 33 78 */ mr r31, r6 +/* 8008FD84 0008CCE4 41 82 01 C0 */ beq lbl_8008FF44 +/* 8008FD88 0008CCE8 40 80 02 08 */ bge lbl_8008FF90 +/* 8008FD8C 0008CCEC 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 8008FD90 0008CCF0 40 80 00 08 */ bge lbl_8008FD98 +/* 8008FD94 0008CCF4 48 00 01 FC */ b lbl_8008FF90 +lbl_8008FD98: +/* 8008FD98 0008CCF8 80 7C 01 84 */ lwz r3, 0x184(r28) +/* 8008FD9C 0008CCFC 81 83 00 00 */ lwz r12, 0(r3) +/* 8008FDA0 0008CD00 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 8008FDA4 0008CD04 7D 89 03 A6 */ mtctr r12 +/* 8008FDA8 0008CD08 4E 80 04 21 */ bctrl +/* 8008FDAC 0008CD0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8008FDB0 0008CD10 41 82 01 0C */ beq lbl_8008FEBC +/* 8008FDB4 0008CD14 7F E4 FB 78 */ mr r4, r31 +/* 8008FDB8 0008CD18 38 61 00 34 */ addi r3, r1, 0x34 +/* 8008FDBC 0008CD1C 4B FB D3 21 */ bl AllocateUniqueId__13CStateManagerFv +/* 8008FDC0 0008CD20 A0 01 00 34 */ lhz r0, 0x34(r1) +/* 8008FDC4 0008CD24 3C 60 80 3D */ lis r3, lbl_803CD6A8@ha +/* 8008FDC8 0008CD28 38 83 D6 A8 */ addi r4, r3, lbl_803CD6A8@l +/* 8008FDCC 0008CD2C 3B 00 00 00 */ li r24, 0 +/* 8008FDD0 0008CD30 B0 1C 01 88 */ sth r0, 0x188(r28) +/* 8008FDD4 0008CD34 3B 40 00 00 */ li r26, 0 +/* 8008FDD8 0008CD38 38 60 01 48 */ li r3, 0x148 +/* 8008FDDC 0008CD3C 38 A0 00 00 */ li r5, 0 +/* 8008FDE0 0008CD40 83 3C 01 8C */ lwz r25, 0x18c(r28) +/* 8008FDE4 0008CD44 48 28 5A 89 */ bl __nw__FUlPCcPCc +/* 8008FDE8 0008CD48 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8008FDEC 0008CD4C 41 82 00 A4 */ beq lbl_8008FE90 +/* 8008FDF0 0008CD50 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8008FDF4 0008CD54 3C 60 80 3D */ lis r3, lbl_803CD6A8@ha +/* 8008FDF8 0008CD58 83 5C 01 84 */ lwz r26, 0x184(r28) +/* 8008FDFC 0008CD5C 38 83 D6 A8 */ addi r4, r3, lbl_803CD6A8@l +/* 8008FE00 0008CD60 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 8008FE04 0008CD64 38 61 00 6C */ addi r3, r1, 0x6c +/* 8008FE08 0008CD68 38 84 00 07 */ addi r4, r4, 7 +/* 8008FE0C 0008CD6C B0 01 00 30 */ sth r0, 0x30(r1) +/* 8008FE10 0008CD70 4B F7 4E A9 */ bl string_l__4rstlFPCc +/* 8008FE14 0008CD74 38 61 00 5C */ addi r3, r1, 0x5c +/* 8008FE18 0008CD78 38 81 00 6C */ addi r4, r1, 0x6c +/* 8008FE1C 0008CD7C 38 BC 00 10 */ addi r5, r28, 0x10 +/* 8008FE20 0008CD80 3B 00 00 01 */ li r24, 1 +/* 8008FE24 0008CD84 4B F7 4E 39 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8008FE28 0008CD88 80 BC 00 04 */ lwz r5, 4(r28) +/* 8008FE2C 0008CD8C 7F 44 D3 78 */ mr r4, r26 +/* 8008FE30 0008CD90 38 61 00 7C */ addi r3, r1, 0x7c +/* 8008FE34 0008CD94 3B 40 00 01 */ li r26, 1 +/* 8008FE38 0008CD98 90 A1 00 40 */ stw r5, 0x40(r1) +/* 8008FE3C 0008CD9C A0 1C 01 88 */ lhz r0, 0x188(r28) +/* 8008FE40 0008CDA0 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 8008FE44 0008CDA4 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8008FE48 0008CDA8 81 84 00 00 */ lwz r12, 0(r4) +/* 8008FE4C 0008CDAC 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8008FE50 0008CDB0 7D 89 03 A6 */ mtctr r12 +/* 8008FE54 0008CDB4 4E 80 04 21 */ bctrl +/* 8008FE58 0008CDB8 93 21 00 08 */ stw r25, 8(r1) +/* 8008FE5C 0008CDBC 38 00 00 01 */ li r0, 1 +/* 8008FE60 0008CDC0 C0 22 8A E0 */ lfs f1, lbl_805AA800@sda21(r2) +/* 8008FE64 0008CDC4 7F 63 DB 78 */ mr r3, r27 +/* 8008FE68 0008CDC8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8008FE6C 0008CDCC 38 81 00 28 */ addi r4, r1, 0x28 +/* 8008FE70 0008CDD0 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8008FE74 0008CDD4 38 E1 00 5C */ addi r7, r1, 0x5c +/* 8008FE78 0008CDD8 39 1C 00 34 */ addi r8, r28, 0x34 +/* 8008FE7C 0008CDDC 39 21 00 30 */ addi r9, r1, 0x30 +/* 8008FE80 0008CDE0 39 41 00 7C */ addi r10, r1, 0x7c +/* 8008FE84 0008CDE4 38 C0 00 00 */ li r6, 0 +/* 8008FE88 0008CDE8 48 02 59 9D */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +/* 8008FE8C 0008CDEC 7C 7B 1B 78 */ mr r27, r3 +lbl_8008FE90: +/* 8008FE90 0008CDF0 7F E3 FB 78 */ mr r3, r31 +/* 8008FE94 0008CDF4 7F 64 DB 78 */ mr r4, r27 +/* 8008FE98 0008CDF8 4B FB CE 5D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8008FE9C 0008CDFC 7F 40 07 75 */ extsb. r0, r26 +/* 8008FEA0 0008CE00 41 82 00 0C */ beq lbl_8008FEAC +/* 8008FEA4 0008CE04 38 61 00 5C */ addi r3, r1, 0x5c +/* 8008FEA8 0008CE08 48 2A DC 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8008FEAC: +/* 8008FEAC 0008CE0C 7F 00 07 75 */ extsb. r0, r24 +/* 8008FEB0 0008CE10 41 82 00 0C */ beq lbl_8008FEBC +/* 8008FEB4 0008CE14 38 61 00 6C */ addi r3, r1, 0x6c +/* 8008FEB8 0008CE18 48 2A DC 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8008FEBC: +/* 8008FEBC 0008CE1C A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 8008FEC0 0008CE20 7F E3 FB 78 */ mr r3, r31 +/* 8008FEC4 0008CE24 80 BC 00 F0 */ lwz r5, 0xf0(r28) +/* 8008FEC8 0008CE28 38 81 00 24 */ addi r4, r1, 0x24 +/* 8008FECC 0008CE2C B0 01 00 20 */ sth r0, 0x20(r1) +/* 8008FED0 0008CE30 B0 01 00 24 */ sth r0, 0x24(r1) +/* 8008FED4 0008CE34 4B FB 4E 35 */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType +/* 8008FED8 0008CE38 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 8008FEDC 0008CE3C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8008FEE0 0008CE40 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8008FEE4 0008CE44 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8008FEE8 0008CE48 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 8008FEEC 0008CE4C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8008FEF0 0008CE50 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8008FEF4 0008CE54 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8008FEF8 0008CE58 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8008FEFC 0008CE5C 38 80 06 DC */ li r4, 0x6dc +/* 8008FF00 0008CE60 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8008FF04 0008CE64 38 E0 00 01 */ li r7, 1 +/* 8008FF08 0008CE68 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8008FF0C 0008CE6C 39 00 00 00 */ li r8, 0 +/* 8008FF10 0008CE70 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8008FF14 0008CE74 48 25 A3 9D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 8008FF18 0008CE78 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 8008FF1C 0008CE7C 7F E3 FB 78 */ mr r3, r31 +/* 8008FF20 0008CE80 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8008FF24 0008CE84 38 81 00 44 */ addi r4, r1, 0x44 +/* 8008FF28 0008CE88 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 8008FF2C 0008CE8C 38 A0 00 01 */ li r5, 1 +/* 8008FF30 0008CE90 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8008FF34 0008CE94 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8008FF38 0008CE98 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8008FF3C 0008CE9C 4B FB 88 49 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType +/* 8008FF40 0008CEA0 48 00 00 50 */ b lbl_8008FF90 +lbl_8008FF44: +/* 8008FF44 0008CEA4 A0 7C 01 88 */ lhz r3, 0x188(r28) +/* 8008FF48 0008CEA8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8008FF4C 0008CEAC 7C 03 00 40 */ cmplw r3, r0 +/* 8008FF50 0008CEB0 41 82 00 18 */ beq lbl_8008FF68 +/* 8008FF54 0008CEB4 A0 1C 01 88 */ lhz r0, 0x188(r28) +/* 8008FF58 0008CEB8 7F E3 FB 78 */ mr r3, r31 +/* 8008FF5C 0008CEBC 38 81 00 1C */ addi r4, r1, 0x1c +/* 8008FF60 0008CEC0 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8008FF64 0008CEC4 4B FB C3 09 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_8008FF68: +/* 8008FF68 0008CEC8 88 1C 01 90 */ lbz r0, 0x190(r28) +/* 8008FF6C 0008CECC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8008FF70 0008CED0 41 82 00 20 */ beq lbl_8008FF90 +/* 8008FF74 0008CED4 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 8008FF78 0008CED8 7F E3 FB 78 */ mr r3, r31 +/* 8008FF7C 0008CEDC 80 BC 00 F0 */ lwz r5, 0xf0(r28) +/* 8008FF80 0008CEE0 38 81 00 18 */ addi r4, r1, 0x18 +/* 8008FF84 0008CEE4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8008FF88 0008CEE8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8008FF8C 0008CEEC 4B FB 4D 4D */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType +lbl_8008FF90: +/* 8008FF90 0008CEF0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8008FF94 0008CEF4 7F 83 E3 78 */ mr r3, r28 +/* 8008FF98 0008CEF8 7F A4 EB 78 */ mr r4, r29 +/* 8008FF9C 0008CEFC 7F E6 FB 78 */ mr r6, r31 +/* 8008FFA0 0008CF00 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8008FFA4 0008CF04 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8008FFA8 0008CF08 4B FC 36 6D */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8008FFAC 0008CF0C BB 01 00 D0 */ lmw r24, 0xd0(r1) +/* 8008FFB0 0008CF10 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8008FFB4 0008CF14 7C 08 03 A6 */ mtlr r0 +/* 8008FFB8 0008CF18 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8008FFBC 0008CF1C 4E 80 00 20 */ blr + +.global Accept__5CBombFR8IVisitor +Accept__5CBombFR8IVisitor: +/* 8008FFC0 0008CF20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8008FFC4 0008CF24 7C 08 02 A6 */ mflr r0 +/* 8008FFC8 0008CF28 90 01 00 14 */ stw r0, 0x14(r1) +/* 8008FFCC 0008CF2C 7C 60 1B 78 */ mr r0, r3 +/* 8008FFD0 0008CF30 7C 83 23 78 */ mr r3, r4 +/* 8008FFD4 0008CF34 81 84 00 00 */ lwz r12, 0(r4) +/* 8008FFD8 0008CF38 7C 04 03 78 */ mr r4, r0 +/* 8008FFDC 0008CF3C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8008FFE0 0008CF40 7D 89 03 A6 */ mtctr r12 +/* 8008FFE4 0008CF44 4E 80 04 21 */ bctrl +/* 8008FFE8 0008CF48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8008FFEC 0008CF4C 7C 08 03 A6 */ mtlr r0 +/* 8008FFF0 0008CF50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8008FFF4 0008CF54 4E 80 00 20 */ blr + +.global Think__5CBombFfR13CStateManager +Think__5CBombFfR13CStateManager: +/* 8008FFF8 0008CF58 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8008FFFC 0008CF5C 7C 08 02 A6 */ mflr r0 +/* 80090000 0008CF60 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80090004 0008CF64 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 80090008 0008CF68 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8009000C 0008CF6C 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80090010 0008CF70 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80090014 0008CF74 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80090018 0008CF78 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 8009001C 0008CF7C FF E0 08 90 */ fmr f31, f1 +/* 80090020 0008CF80 7C 7E 1B 78 */ mr r30, r3 +/* 80090024 0008CF84 7C 9F 23 78 */ mr r31, r4 +/* 80090028 0008CF88 48 07 20 B1 */ bl Think__7CWeaponFfR13CStateManager +/* 8009002C 0008CF8C 88 1E 01 90 */ lbz r0, 0x190(r30) +/* 80090030 0008CF90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80090034 0008CF94 41 82 00 D8 */ beq lbl_8009010C +/* 80090038 0008CF98 C0 3E 01 7C */ lfs f1, 0x17c(r30) +/* 8009003C 0008CF9C C0 02 8A E0 */ lfs f0, lbl_805AA800@sda21(r2) +/* 80090040 0008CFA0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80090044 0008CFA4 4C 40 13 82 */ cror 2, 0, 2 +/* 80090048 0008CFA8 40 82 00 6C */ bne lbl_800900B4 +/* 8009004C 0008CFAC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80090050 0008CFB0 7F C3 F3 78 */ mr r3, r30 +/* 80090054 0008CFB4 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80090058 0008CFB8 7F E5 FB 78 */ mr r5, r31 +/* 8009005C 0008CFBC C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80090060 0008CFC0 38 81 00 64 */ addi r4, r1, 0x64 +/* 80090064 0008CFC4 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80090068 0008CFC8 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 8009006C 0008CFCC D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80090070 0008CFD0 48 00 05 75 */ bl Explode__5CBombFRC9CVector3fR13CStateManager +/* 80090074 0008CFD4 A0 1E 01 88 */ lhz r0, 0x188(r30) +/* 80090078 0008CFD8 7F E3 FB 78 */ mr r3, r31 +/* 8009007C 0008CFDC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80090080 0008CFE0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80090084 0008CFE4 4B FB C4 F1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80090088 0008CFE8 7C 64 1B 78 */ mr r4, r3 +/* 8009008C 0008CFEC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80090090 0008CFF0 48 01 D9 F5 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 80090094 0008CFF4 80 63 00 04 */ lwz r3, 4(r3) +/* 80090098 0008CFF8 28 03 00 00 */ cmplwi r3, 0 +/* 8009009C 0008CFFC 41 82 00 18 */ beq lbl_800900B4 +/* 800900A0 0008D000 81 83 00 00 */ lwz r12, 0(r3) +/* 800900A4 0008D004 38 80 00 01 */ li r4, 1 +/* 800900A8 0008D008 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800900AC 0008D00C 7D 89 03 A6 */ mtctr r12 +/* 800900B0 0008D010 4E 80 04 21 */ bctrl +lbl_800900B4: +/* 800900B4 0008D014 C0 3E 01 7C */ lfs f1, 0x17c(r30) +/* 800900B8 0008D018 C0 02 8A E4 */ lfs f0, lbl_805AA804@sda21(r2) +/* 800900BC 0008D01C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800900C0 0008D020 40 81 00 20 */ ble lbl_800900E0 +/* 800900C4 0008D024 80 7E 01 80 */ lwz r3, 0x180(r30) +/* 800900C8 0008D028 FC 20 F8 90 */ fmr f1, f31 +/* 800900CC 0008D02C 81 83 00 00 */ lwz r12, 0(r3) +/* 800900D0 0008D030 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800900D4 0008D034 7D 89 03 A6 */ mtctr r12 +/* 800900D8 0008D038 4E 80 04 21 */ bctrl +/* 800900DC 0008D03C 48 00 00 14 */ b lbl_800900F0 +lbl_800900E0: +/* 800900E0 0008D040 FC 20 F8 90 */ fmr f1, f31 +/* 800900E4 0008D044 7F C3 F3 78 */ mr r3, r30 +/* 800900E8 0008D048 7F E4 FB 78 */ mr r4, r31 +/* 800900EC 0008D04C 4B FF FA 05 */ bl sub_8008faf0 +lbl_800900F0: +/* 800900F0 0008D050 88 1E 01 90 */ lbz r0, 0x190(r30) +/* 800900F4 0008D054 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800900F8 0008D058 40 82 00 58 */ bne lbl_80090150 +/* 800900FC 0008D05C C0 1E 01 7C */ lfs f0, 0x17c(r30) +/* 80090100 0008D060 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80090104 0008D064 D0 1E 01 7C */ stfs f0, 0x17c(r30) +/* 80090108 0008D068 48 00 00 48 */ b lbl_80090150 +lbl_8009010C: +/* 8009010C 0008D06C FC 20 F8 90 */ fmr f1, f31 +/* 80090110 0008D070 7F C3 F3 78 */ mr r3, r30 +/* 80090114 0008D074 7F E4 FB 78 */ mr r4, r31 +/* 80090118 0008D078 4B FF F9 D9 */ bl sub_8008faf0 +/* 8009011C 0008D07C 80 7E 01 84 */ lwz r3, 0x184(r30) +/* 80090120 0008D080 81 83 00 00 */ lwz r12, 0(r3) +/* 80090124 0008D084 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 80090128 0008D088 7D 89 03 A6 */ mtctr r12 +/* 8009012C 0008D08C 4E 80 04 21 */ bctrl +/* 80090130 0008D090 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80090134 0008D094 41 82 00 1C */ beq lbl_80090150 +/* 80090138 0008D098 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8009013C 0008D09C 7F E3 FB 78 */ mr r3, r31 +/* 80090140 0008D0A0 38 81 00 0C */ addi r4, r1, 0xc +/* 80090144 0008D0A4 B0 01 00 08 */ sth r0, 8(r1) +/* 80090148 0008D0A8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8009014C 0008D0AC 4B FB C1 21 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_80090150: +/* 80090150 0008D0B0 88 1E 01 90 */ lbz r0, 0x190(r30) +/* 80090154 0008D0B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80090158 0008D0B8 41 82 02 70 */ beq lbl_800903C8 +/* 8009015C 0008D0BC C0 BE 01 64 */ lfs f5, 0x164(r30) +/* 80090160 0008D0C0 C0 9E 01 68 */ lfs f4, 0x168(r30) +/* 80090164 0008D0C4 EC 45 01 72 */ fmuls f2, f5, f5 +/* 80090168 0008D0C8 C0 DE 01 6C */ lfs f6, 0x16c(r30) +/* 8009016C 0008D0CC EC 24 01 32 */ fmuls f1, f4, f4 +/* 80090170 0008D0D0 C0 02 8A E0 */ lfs f0, lbl_805AA800@sda21(r2) +/* 80090174 0008D0D4 EC 66 01 B2 */ fmuls f3, f6, f6 +/* 80090178 0008D0D8 EC 22 08 2A */ fadds f1, f2, f1 +/* 8009017C 0008D0DC EC 23 08 2A */ fadds f1, f3, f1 +/* 80090180 0008D0E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80090184 0008D0E4 40 81 00 34 */ ble lbl_800901B8 +/* 80090188 0008D0E8 EC 5F 01 72 */ fmuls f2, f31, f5 +/* 8009018C 0008D0EC C0 7E 01 58 */ lfs f3, 0x158(r30) +/* 80090190 0008D0F0 EC 3F 01 32 */ fmuls f1, f31, f4 +/* 80090194 0008D0F4 EC 1F 01 B2 */ fmuls f0, f31, f6 +/* 80090198 0008D0F8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8009019C 0008D0FC D0 5E 01 58 */ stfs f2, 0x158(r30) +/* 800901A0 0008D100 C0 5E 01 5C */ lfs f2, 0x15c(r30) +/* 800901A4 0008D104 EC 22 08 2A */ fadds f1, f2, f1 +/* 800901A8 0008D108 D0 3E 01 5C */ stfs f1, 0x15c(r30) +/* 800901AC 0008D10C C0 3E 01 60 */ lfs f1, 0x160(r30) +/* 800901B0 0008D110 EC 01 00 2A */ fadds f0, f1, f0 +/* 800901B4 0008D114 D0 1E 01 60 */ stfs f0, 0x160(r30) +lbl_800901B8: +/* 800901B8 0008D118 C0 3E 01 58 */ lfs f1, 0x158(r30) +/* 800901BC 0008D11C C0 1E 01 5C */ lfs f0, 0x15c(r30) +/* 800901C0 0008D120 EC 41 00 72 */ fmuls f2, f1, f1 +/* 800901C4 0008D124 C0 7E 01 60 */ lfs f3, 0x160(r30) +/* 800901C8 0008D128 EC 20 00 32 */ fmuls f1, f0, f0 +/* 800901CC 0008D12C C0 02 8A E0 */ lfs f0, lbl_805AA800@sda21(r2) +/* 800901D0 0008D130 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 800901D4 0008D134 EC 22 08 2A */ fadds f1, f2, f1 +/* 800901D8 0008D138 EC 23 08 2A */ fadds f1, f3, f1 +/* 800901DC 0008D13C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800901E0 0008D140 40 81 01 E8 */ ble lbl_800903C8 +/* 800901E4 0008D144 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800901E8 0008D148 7F C3 F3 78 */ mr r3, r30 +/* 800901EC 0008D14C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800901F0 0008D150 38 81 00 1C */ addi r4, r1, 0x1c +/* 800901F4 0008D154 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800901F8 0008D158 D0 1E 01 70 */ stfs f0, 0x170(r30) +/* 800901FC 0008D15C D0 3E 01 74 */ stfs f1, 0x174(r30) +/* 80090200 0008D160 D0 5E 01 78 */ stfs f2, 0x178(r30) +/* 80090204 0008D164 C0 5E 01 5C */ lfs f2, 0x15c(r30) +/* 80090208 0008D168 C0 3E 01 60 */ lfs f1, 0x160(r30) +/* 8009020C 0008D16C C0 1E 01 58 */ lfs f0, 0x158(r30) +/* 80090210 0008D170 EC 9F 00 B2 */ fmuls f4, f31, f2 +/* 80090214 0008D174 C0 BE 00 50 */ lfs f5, 0x50(r30) +/* 80090218 0008D178 EC 5F 00 72 */ fmuls f2, f31, f1 +/* 8009021C 0008D17C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80090220 0008D180 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80090224 0008D184 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80090228 0008D188 EC 85 20 2A */ fadds f4, f5, f4 +/* 8009022C 0008D18C EC 43 10 2A */ fadds f2, f3, f2 +/* 80090230 0008D190 EC 01 00 2A */ fadds f0, f1, f0 +/* 80090234 0008D194 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 80090238 0008D198 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8009023C 0008D19C D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80090240 0008D1A0 4B FC 2C 4D */ bl SetTranslation__6CActorFRC9CVector3f +/* 80090244 0008D1A4 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80090248 0008D1A8 38 61 00 70 */ addi r3, r1, 0x70 +/* 8009024C 0008D1AC C0 1E 01 74 */ lfs f0, 0x174(r30) +/* 80090250 0008D1B0 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80090254 0008D1B4 C0 5E 01 78 */ lfs f2, 0x178(r30) +/* 80090258 0008D1B8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8009025C 0008D1BC C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80090260 0008D1C0 C0 1E 01 70 */ lfs f0, 0x170(r30) +/* 80090264 0008D1C4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80090268 0008D1C8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8009026C 0008D1CC D0 81 00 74 */ stfs f4, 0x74(r1) +/* 80090270 0008D1D0 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80090274 0008D1D4 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80090278 0008D1D8 48 28 46 41 */ bl Magnitude__9CVector3fCFv +/* 8009027C 0008D1DC FF E0 08 90 */ fmr f31, f1 +/* 80090280 0008D1E0 C0 02 8A E0 */ lfs f0, lbl_805AA800@sda21(r2) +/* 80090284 0008D1E4 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80090288 0008D1E8 40 82 00 30 */ bne lbl_800902B8 +/* 8009028C 0008D1EC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80090290 0008D1F0 7F C3 F3 78 */ mr r3, r30 +/* 80090294 0008D1F4 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80090298 0008D1F8 7F E5 FB 78 */ mr r5, r31 +/* 8009029C 0008D1FC C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800902A0 0008D200 38 81 00 58 */ addi r4, r1, 0x58 +/* 800902A4 0008D204 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800902A8 0008D208 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800902AC 0008D20C D0 41 00 60 */ stfs f2, 0x60(r1) +/* 800902B0 0008D210 48 00 03 35 */ bl Explode__5CBombFRC9CVector3fR13CStateManager +/* 800902B4 0008D214 48 00 01 14 */ b lbl_800903C8 +lbl_800902B8: +/* 800902B8 0008D218 88 0D A2 A0 */ lbz r0, lbl_805A8E60@sda21(r13) +/* 800902BC 0008D21C 7C 00 07 75 */ extsb. r0, r0 +/* 800902C0 0008D220 40 82 00 88 */ bne lbl_80090348 +/* 800902C4 0008D224 80 AD 85 84 */ lwz r5, lbl_805A7144@sda21(r13) +/* 800902C8 0008D228 38 60 00 00 */ li r3, 0 +/* 800902CC 0008D22C 38 80 00 01 */ li r4, 1 +/* 800902D0 0008D230 48 2F 9C 25 */ bl __shl2i +/* 800902D4 0008D234 80 AD 85 88 */ lwz r5, lbl_805A7148@sda21(r13) +/* 800902D8 0008D238 7C 9C 23 78 */ mr r28, r4 +/* 800902DC 0008D23C 7C 7D 1B 78 */ mr r29, r3 +/* 800902E0 0008D240 38 60 00 00 */ li r3, 0 +/* 800902E4 0008D244 38 80 00 01 */ li r4, 1 +/* 800902E8 0008D248 48 2F 9C 0D */ bl __shl2i +/* 800902EC 0008D24C 80 AD 85 8C */ lwz r5, lbl_805A714C@sda21(r13) +/* 800902F0 0008D250 7F 9C 23 78 */ or r28, r28, r4 +/* 800902F4 0008D254 7F BD 1B 78 */ or r29, r29, r3 +/* 800902F8 0008D258 38 60 00 00 */ li r3, 0 +/* 800902FC 0008D25C 38 80 00 01 */ li r4, 1 +/* 80090300 0008D260 48 2F 9B F5 */ bl __shl2i +/* 80090304 0008D264 80 AD 85 80 */ lwz r5, lbl_805A7140@sda21(r13) +/* 80090308 0008D268 7F 9C 23 78 */ or r28, r28, r4 +/* 8009030C 0008D26C 7F BD 1B 78 */ or r29, r29, r3 +/* 80090310 0008D270 38 60 00 00 */ li r3, 0 +/* 80090314 0008D274 38 80 00 01 */ li r4, 1 +/* 80090318 0008D278 48 2F 9B DD */ bl __shl2i +/* 8009031C 0008D27C 3C A0 80 47 */ lis r5, lbl_8046C420@ha +/* 80090320 0008D280 38 C0 00 03 */ li r6, 3 +/* 80090324 0008D284 38 A5 C4 20 */ addi r5, r5, lbl_8046C420@l +/* 80090328 0008D288 38 00 00 01 */ li r0, 1 +/* 8009032C 0008D28C 90 C1 00 90 */ stw r6, 0x90(r1) +/* 80090330 0008D290 90 85 00 04 */ stw r4, 4(r5) +/* 80090334 0008D294 90 65 00 00 */ stw r3, 0(r5) +/* 80090338 0008D298 93 85 00 0C */ stw r28, 0xc(r5) +/* 8009033C 0008D29C 93 A5 00 08 */ stw r29, 8(r5) +/* 80090340 0008D2A0 90 C5 00 10 */ stw r6, 0x10(r5) +/* 80090344 0008D2A4 98 0D A2 A0 */ stb r0, lbl_805A8E60@sda21(r13) +lbl_80090348: +/* 80090348 0008D2A8 C0 02 8A E8 */ lfs f0, lbl_805AA808@sda21(r2) +/* 8009034C 0008D2AC 3C 60 80 47 */ lis r3, lbl_8046C420@ha +/* 80090350 0008D2B0 38 E3 C4 20 */ addi r7, r3, lbl_8046C420@l +/* 80090354 0008D2B4 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 80090358 0008D2B8 EC 80 F8 24 */ fdivs f4, f0, f31 +/* 8009035C 0008D2BC C0 01 00 70 */ lfs f0, 0x70(r1) +/* 80090360 0008D2C0 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 80090364 0008D2C4 7F E4 FB 78 */ mr r4, r31 +/* 80090368 0008D2C8 38 61 00 98 */ addi r3, r1, 0x98 +/* 8009036C 0008D2CC 38 BE 01 70 */ addi r5, r30, 0x170 +/* 80090370 0008D2D0 EC 64 00 B2 */ fmuls f3, f4, f2 +/* 80090374 0008D2D4 38 C1 00 4C */ addi r6, r1, 0x4c +/* 80090378 0008D2D8 EC 44 00 72 */ fmuls f2, f4, f1 +/* 8009037C 0008D2DC EC 04 00 32 */ fmuls f0, f4, f0 +/* 80090380 0008D2E0 FC 20 F8 90 */ fmr f1, f31 +/* 80090384 0008D2E4 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80090388 0008D2E8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8009038C 0008D2EC D0 41 00 54 */ stfs f2, 0x54(r1) +/* 80090390 0008D2F0 4B FB CC 09 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80090394 0008D2F4 88 01 00 B8 */ lbz r0, 0xb8(r1) +/* 80090398 0008D2F8 28 00 00 00 */ cmplwi r0, 0 +/* 8009039C 0008D2FC 41 82 00 2C */ beq lbl_800903C8 +/* 800903A0 0008D300 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800903A4 0008D304 7F C3 F3 78 */ mr r3, r30 +/* 800903A8 0008D308 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800903AC 0008D30C 7F E5 FB 78 */ mr r5, r31 +/* 800903B0 0008D310 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800903B4 0008D314 38 81 00 40 */ addi r4, r1, 0x40 +/* 800903B8 0008D318 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800903BC 0008D31C D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800903C0 0008D320 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 800903C4 0008D324 48 00 02 21 */ bl Explode__5CBombFRC9CVector3fR13CStateManager +lbl_800903C8: +/* 800903C8 0008D328 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800903CC 0008D32C 38 81 00 34 */ addi r4, r1, 0x34 +/* 800903D0 0008D330 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800903D4 0008D334 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800903D8 0008D338 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800903DC 0008D33C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800903E0 0008D340 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800903E4 0008D344 80 7E 01 80 */ lwz r3, 0x180(r30) +/* 800903E8 0008D348 81 83 00 00 */ lwz r12, 0(r3) +/* 800903EC 0008D34C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800903F0 0008D350 7D 89 03 A6 */ mtctr r12 +/* 800903F4 0008D354 4E 80 04 21 */ bctrl +/* 800903F8 0008D358 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800903FC 0008D35C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80090400 0008D360 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80090404 0008D364 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80090408 0008D368 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8009040C 0008D36C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80090410 0008D370 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80090414 0008D374 80 7E 01 84 */ lwz r3, 0x184(r30) +/* 80090418 0008D378 81 83 00 00 */ lwz r12, 0(r3) +/* 8009041C 0008D37C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80090420 0008D380 7D 89 03 A6 */ mtctr r12 +/* 80090424 0008D384 4E 80 04 21 */ bctrl +/* 80090428 0008D388 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 8009042C 0008D38C 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80090430 0008D390 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 80090434 0008D394 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80090438 0008D398 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 8009043C 0008D39C 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80090440 0008D3A0 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 80090444 0008D3A4 7C 08 03 A6 */ mtlr r0 +/* 80090448 0008D3A8 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8009044C 0008D3AC 4E 80 00 20 */ blr + +.global nullsub_99 +nullsub_99: +/* 80090450 0008D3B0 4E 80 00 20 */ blr + +.global AddToRenderer__5CBombCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__5CBombCFRC14CFrustumPlanesRC13CStateManager: +/* 80090454 0008D3B4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80090458 0008D3B8 7C 08 02 A6 */ mflr r0 +/* 8009045C 0008D3BC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80090460 0008D3C0 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80090464 0008D3C4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80090468 0008D3C8 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8009046C 0008D3CC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80090470 0008D3D0 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 80090474 0008D3D4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 80090478 0008D3D8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8009047C 0008D3DC 80 85 08 4C */ lwz r4, 0x84c(r5) +/* 80090480 0008D3E0 7C 7F 1B 78 */ mr r31, r3 +/* 80090484 0008D3E4 C3 A3 00 60 */ lfs f29, 0x60(r3) +/* 80090488 0008D3E8 C3 C3 00 50 */ lfs f30, 0x50(r3) +/* 8009048C 0008D3EC C3 E3 00 40 */ lfs f31, 0x40(r3) +/* 80090490 0008D3F0 80 64 07 68 */ lwz r3, 0x768(r4) +/* 80090494 0008D3F4 48 06 89 71 */ bl GetBallRadius__10CMorphBallCFv +/* 80090498 0008D3F8 C0 02 8A EC */ lfs f0, lbl_805AA80C@sda21(r2) +/* 8009049C 0008D3FC 38 61 00 44 */ addi r3, r1, 0x44 +/* 800904A0 0008D400 38 81 00 20 */ addi r4, r1, 0x20 +/* 800904A4 0008D404 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800904A8 0008D408 EC A0 00 72 */ fmuls f5, f0, f1 +/* 800904AC 0008D40C EC 1F 28 2A */ fadds f0, f31, f5 +/* 800904B0 0008D410 EC 9E 28 2A */ fadds f4, f30, f5 +/* 800904B4 0008D414 EC 7D 28 2A */ fadds f3, f29, f5 +/* 800904B8 0008D418 EC 5F 28 28 */ fsubs f2, f31, f5 +/* 800904BC 0008D41C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800904C0 0008D420 EC 3E 28 28 */ fsubs f1, f30, f5 +/* 800904C4 0008D424 EC 1D 28 28 */ fsubs f0, f29, f5 +/* 800904C8 0008D428 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 800904CC 0008D42C D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 800904D0 0008D430 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 800904D4 0008D434 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800904D8 0008D438 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800904DC 0008D43C 48 2A 80 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800904E0 0008D440 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 800904E4 0008D444 38 61 00 08 */ addi r3, r1, 8 +/* 800904E8 0008D448 38 C4 61 D4 */ addi r6, r4, lbl_805A61D4@l +/* 800904EC 0008D44C 38 81 00 44 */ addi r4, r1, 0x44 +/* 800904F0 0008D450 C0 46 00 04 */ lfs f2, 4(r6) +/* 800904F4 0008D454 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800904F8 0008D458 C0 26 00 14 */ lfs f1, 0x14(r6) +/* 800904FC 0008D45C C0 06 00 24 */ lfs f0, 0x24(r6) +/* 80090500 0008D460 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80090504 0008D464 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80090508 0008D468 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8009050C 0008D46C 48 2A 6C D1 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 80090510 0008D470 88 1F 01 90 */ lbz r0, 0x190(r31) +/* 80090514 0008D474 C0 41 00 08 */ lfs f2, 8(r1) +/* 80090518 0008D478 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8009051C 0008D47C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80090520 0008D480 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80090524 0008D484 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80090528 0008D488 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8009052C 0008D48C D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80090530 0008D490 41 82 00 5C */ beq lbl_8009058C +/* 80090534 0008D494 C0 3F 01 7C */ lfs f1, 0x17c(r31) +/* 80090538 0008D498 C0 02 8A E4 */ lfs f0, lbl_805AA804@sda21(r2) +/* 8009053C 0008D49C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80090540 0008D4A0 40 81 00 28 */ ble lbl_80090568 +/* 80090544 0008D4A4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80090548 0008D4A8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8009054C 0008D4AC 38 C1 00 44 */ addi r6, r1, 0x44 +/* 80090550 0008D4B0 80 9F 01 80 */ lwz r4, 0x180(r31) +/* 80090554 0008D4B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80090558 0008D4B8 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8009055C 0008D4BC 7D 89 03 A6 */ mtctr r12 +/* 80090560 0008D4C0 4E 80 04 21 */ bctrl +/* 80090564 0008D4C4 48 00 00 48 */ b lbl_800905AC +lbl_80090568: +/* 80090568 0008D4C8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8009056C 0008D4CC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80090570 0008D4D0 38 C1 00 44 */ addi r6, r1, 0x44 +/* 80090574 0008D4D4 80 9F 01 84 */ lwz r4, 0x184(r31) +/* 80090578 0008D4D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8009057C 0008D4DC 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80090580 0008D4E0 7D 89 03 A6 */ mtctr r12 +/* 80090584 0008D4E4 4E 80 04 21 */ bctrl +/* 80090588 0008D4E8 48 00 00 24 */ b lbl_800905AC +lbl_8009058C: +/* 8009058C 0008D4EC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80090590 0008D4F0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80090594 0008D4F4 38 C1 00 44 */ addi r6, r1, 0x44 +/* 80090598 0008D4F8 80 9F 01 84 */ lwz r4, 0x184(r31) +/* 8009059C 0008D4FC 81 83 00 00 */ lwz r12, 0(r3) +/* 800905A0 0008D500 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 800905A4 0008D504 7D 89 03 A6 */ mtctr r12 +/* 800905A8 0008D508 4E 80 04 21 */ bctrl +lbl_800905AC: +/* 800905AC 0008D50C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 800905B0 0008D510 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 800905B4 0008D514 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 800905B8 0008D518 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 800905BC 0008D51C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 800905C0 0008D520 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 800905C4 0008D524 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800905C8 0008D528 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800905CC 0008D52C 7C 08 03 A6 */ mtlr r0 +/* 800905D0 0008D530 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800905D4 0008D534 4E 80 00 20 */ blr + +.global Touch__5CBombFR6CActorR13CStateManager +Touch__5CBombFR6CActorR13CStateManager: +/* 800905D8 0008D538 88 03 01 90 */ lbz r0, 0x190(r3) +/* 800905DC 0008D53C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800905E0 0008D540 4E 80 00 20 */ blr + +.global Explode__5CBombFRC9CVector3fR13CStateManager +Explode__5CBombFRC9CVector3fR13CStateManager: +/* 800905E4 0008D544 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800905E8 0008D548 7C 08 02 A6 */ mflr r0 +/* 800905EC 0008D54C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800905F0 0008D550 39 01 00 28 */ addi r8, r1, 0x28 +/* 800905F4 0008D554 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800905F8 0008D558 7C BF 2B 78 */ mr r31, r5 +/* 800905FC 0008D55C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80090600 0008D560 7C 9E 23 78 */ mr r30, r4 +/* 80090604 0008D564 7F C6 F3 78 */ mr r6, r30 +/* 80090608 0008D568 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8009060C 0008D56C 7C 7D 1B 78 */ mr r29, r3 +/* 80090610 0008D570 7F A5 EB 78 */ mr r5, r29 +/* 80090614 0008D574 80 03 00 F8 */ lwz r0, 0xf8(r3) +/* 80090618 0008D578 38 FD 01 2C */ addi r7, r29, 0x12c +/* 8009061C 0008D57C 80 83 00 FC */ lwz r4, 0xfc(r3) +/* 80090620 0008D580 7F E3 FB 78 */ mr r3, r31 +/* 80090624 0008D584 90 81 00 2C */ stw r4, 0x2c(r1) +/* 80090628 0008D588 38 81 00 14 */ addi r4, r1, 0x14 +/* 8009062C 0008D58C 90 01 00 28 */ stw r0, 0x28(r1) +/* 80090630 0008D590 80 1D 01 00 */ lwz r0, 0x100(r29) +/* 80090634 0008D594 81 3D 01 04 */ lwz r9, 0x104(r29) +/* 80090638 0008D598 91 21 00 34 */ stw r9, 0x34(r1) +/* 8009063C 0008D59C 90 01 00 30 */ stw r0, 0x30(r1) +/* 80090640 0008D5A0 80 1D 01 08 */ lwz r0, 0x108(r29) +/* 80090644 0008D5A4 90 01 00 38 */ stw r0, 0x38(r1) +/* 80090648 0008D5A8 A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 8009064C 0008D5AC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80090650 0008D5B0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80090654 0008D5B4 4B FB 86 59 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter +/* 80090658 0008D5B8 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 8009065C 0008D5BC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80090660 0008D5C0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80090664 0008D5C4 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80090668 0008D5C8 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8009066C 0008D5CC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80090670 0008D5D0 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 80090674 0008D5D4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80090678 0008D5D8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8009067C 0008D5DC 38 80 06 DE */ li r4, 0x6de +/* 80090680 0008D5E0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80090684 0008D5E4 38 E0 00 01 */ li r7, 1 +/* 80090688 0008D5E8 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8009068C 0008D5EC 39 00 00 00 */ li r8, 0 +/* 80090690 0008D5F0 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80090694 0008D5F4 48 25 9C 1D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 80090698 0008D5F8 7F E3 FB 78 */ mr r3, r31 +/* 8009069C 0008D5FC 7F C4 F3 78 */ mr r4, r30 +/* 800906A0 0008D600 38 A0 00 01 */ li r5, 1 +/* 800906A4 0008D604 4B FB 80 E1 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType +/* 800906A8 0008D608 A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 800906AC 0008D60C 7F E3 FB 78 */ mr r3, r31 +/* 800906B0 0008D610 80 BD 00 F0 */ lwz r5, 0xf0(r29) +/* 800906B4 0008D614 38 81 00 0C */ addi r4, r1, 0xc +/* 800906B8 0008D618 B0 01 00 08 */ sth r0, 8(r1) +/* 800906BC 0008D61C B0 01 00 0C */ sth r0, 0xc(r1) +/* 800906C0 0008D620 4B FB 46 19 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType +/* 800906C4 0008D624 88 1D 01 90 */ lbz r0, 0x190(r29) +/* 800906C8 0008D628 38 60 00 00 */ li r3, 0 +/* 800906CC 0008D62C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800906D0 0008D630 98 1D 01 90 */ stb r0, 0x190(r29) +/* 800906D4 0008D634 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800906D8 0008D638 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800906DC 0008D63C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800906E0 0008D640 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800906E4 0008D644 7C 08 03 A6 */ mtlr r0 +/* 800906E8 0008D648 38 21 00 50 */ addi r1, r1, 0x50 +/* 800906EC 0008D64C 4E 80 00 20 */ blr + +.global __dt__5CBombFv +__dt__5CBombFv: +/* 800906F0 0008D650 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800906F4 0008D654 7C 08 02 A6 */ mflr r0 +/* 800906F8 0008D658 90 01 00 14 */ stw r0, 0x14(r1) +/* 800906FC 0008D65C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80090700 0008D660 7C 9F 23 78 */ mr r31, r4 +/* 80090704 0008D664 93 C1 00 08 */ stw r30, 8(r1) +/* 80090708 0008D668 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8009070C 0008D66C 41 82 00 7C */ beq lbl_80090788 +/* 80090710 0008D670 3C 60 80 3E */ lis r3, lbl_803DACC0@ha +/* 80090714 0008D674 34 1E 01 84 */ addic. r0, r30, 0x184 +/* 80090718 0008D678 38 03 AC C0 */ addi r0, r3, lbl_803DACC0@l +/* 8009071C 0008D67C 90 1E 00 00 */ stw r0, 0(r30) +/* 80090720 0008D680 41 82 00 24 */ beq lbl_80090744 +/* 80090724 0008D684 80 7E 01 84 */ lwz r3, 0x184(r30) +/* 80090728 0008D688 28 03 00 00 */ cmplwi r3, 0 +/* 8009072C 0008D68C 41 82 00 18 */ beq lbl_80090744 +/* 80090730 0008D690 81 83 00 00 */ lwz r12, 0(r3) +/* 80090734 0008D694 38 80 00 01 */ li r4, 1 +/* 80090738 0008D698 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009073C 0008D69C 7D 89 03 A6 */ mtctr r12 +/* 80090740 0008D6A0 4E 80 04 21 */ bctrl +lbl_80090744: +/* 80090744 0008D6A4 34 1E 01 80 */ addic. r0, r30, 0x180 +/* 80090748 0008D6A8 41 82 00 24 */ beq lbl_8009076C +/* 8009074C 0008D6AC 80 7E 01 80 */ lwz r3, 0x180(r30) +/* 80090750 0008D6B0 28 03 00 00 */ cmplwi r3, 0 +/* 80090754 0008D6B4 41 82 00 18 */ beq lbl_8009076C +/* 80090758 0008D6B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8009075C 0008D6BC 38 80 00 01 */ li r4, 1 +/* 80090760 0008D6C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80090764 0008D6C4 7D 89 03 A6 */ mtctr r12 +/* 80090768 0008D6C8 4E 80 04 21 */ bctrl +lbl_8009076C: +/* 8009076C 0008D6CC 7F C3 F3 78 */ mr r3, r30 +/* 80090770 0008D6D0 38 80 00 00 */ li r4, 0 +/* 80090774 0008D6D4 48 07 1A C1 */ bl __dt__7CWeaponFv +/* 80090778 0008D6D8 7F E0 07 35 */ extsh. r0, r31 +/* 8009077C 0008D6DC 40 81 00 0C */ ble lbl_80090788 +/* 80090780 0008D6E0 7F C3 F3 78 */ mr r3, r30 +/* 80090784 0008D6E4 48 28 51 AD */ bl Free__7CMemoryFPCv +lbl_80090788: +/* 80090788 0008D6E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009078C 0008D6EC 7F C3 F3 78 */ mr r3, r30 +/* 80090790 0008D6F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80090794 0008D6F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80090798 0008D6F8 7C 08 03 A6 */ mtlr r0 +/* 8009079C 0008D6FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800907A0 0008D700 4E 80 00 20 */ blr + +.global "__ct__5CBombF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdfRC12CTransform4fRC11CDamageInfo" +"__ct__5CBombF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdfRC12CTransform4fRC11CDamageInfo": +/* 800907A4 0008D704 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 800907A8 0008D708 7C 08 02 A6 */ mflr r0 +/* 800907AC 0008D70C 90 01 01 34 */ stw r0, 0x134(r1) +/* 800907B0 0008D710 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 800907B4 0008D714 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 800907B8 0008D718 BE 61 00 EC */ stmw r19, 0xec(r1) +/* 800907BC 0008D71C 3D 60 80 3D */ lis r11, lbl_803CD6A8@ha +/* 800907C0 0008D720 FF E0 08 90 */ fmr f31, f1 +/* 800907C4 0008D724 39 6B D6 A8 */ addi r11, r11, lbl_803CD6A8@l +/* 800907C8 0008D728 7C 7E 1B 78 */ mr r30, r3 +/* 800907CC 0008D72C 7C 98 23 78 */ mr r24, r4 +/* 800907D0 0008D730 7C BF 2B 78 */ mr r31, r5 +/* 800907D4 0008D734 7C D9 33 78 */ mr r25, r6 +/* 800907D8 0008D738 7C FA 3B 78 */ mr r26, r7 +/* 800907DC 0008D73C 7D 1B 43 78 */ mr r27, r8 +/* 800907E0 0008D740 7D 3C 4B 78 */ mr r28, r9 +/* 800907E4 0008D744 7D 5D 53 78 */ mr r29, r10 +/* 800907E8 0008D748 38 61 00 68 */ addi r3, r1, 0x68 +/* 800907EC 0008D74C 38 8B 00 13 */ addi r4, r11, 0x13 +/* 800907F0 0008D750 4B F7 44 C9 */ bl string_l__4rstlFPCc +/* 800907F4 0008D754 38 61 00 90 */ addi r3, r1, 0x90 +/* 800907F8 0008D758 4B FA 9F AD */ bl CModelDataNull__10CModelDataFv +/* 800907FC 0008D75C 38 00 00 00 */ li r0, 0 +/* 80090800 0008D760 80 AD 85 78 */ lwz r5, lbl_805A7138@sda21(r13) +/* 80090804 0008D764 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80090808 0008D768 38 60 00 00 */ li r3, 0 +/* 8009080C 0008D76C 38 80 00 01 */ li r4, 1 +/* 80090810 0008D770 90 01 00 48 */ stw r0, 0x48(r1) +/* 80090814 0008D774 48 2F 96 E1 */ bl __shl2i +/* 80090818 0008D778 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8009081C 0008D77C 80 C1 00 4C */ lwz r6, 0x4c(r1) +/* 80090820 0008D780 7C 00 1B 78 */ or r0, r0, r3 +/* 80090824 0008D784 80 AD 85 7C */ lwz r5, lbl_805A713C@sda21(r13) +/* 80090828 0008D788 7C C4 23 78 */ or r4, r6, r4 +/* 8009082C 0008D78C 90 01 00 48 */ stw r0, 0x48(r1) +/* 80090830 0008D790 38 60 00 00 */ li r3, 0 +/* 80090834 0008D794 90 81 00 4C */ stw r4, 0x4c(r1) +/* 80090838 0008D798 38 80 00 01 */ li r4, 1 +/* 8009083C 0008D79C 48 2F 96 B9 */ bl __shl2i +/* 80090840 0008D7A0 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80090844 0008D7A4 80 C1 00 4C */ lwz r6, 0x4c(r1) +/* 80090848 0008D7A8 7C 00 1B 78 */ or r0, r0, r3 +/* 8009084C 0008D7AC 80 AD 85 70 */ lwz r5, lbl_805A7130@sda21(r13) +/* 80090850 0008D7B0 7C C4 23 78 */ or r4, r6, r4 +/* 80090854 0008D7B4 90 01 00 48 */ stw r0, 0x48(r1) +/* 80090858 0008D7B8 38 60 00 00 */ li r3, 0 +/* 8009085C 0008D7BC 90 81 00 4C */ stw r4, 0x4c(r1) +/* 80090860 0008D7C0 38 80 00 01 */ li r4, 1 +/* 80090864 0008D7C4 48 2F 96 91 */ bl __shl2i +/* 80090868 0008D7C8 80 AD 85 74 */ lwz r5, lbl_805A7134@sda21(r13) +/* 8009086C 0008D7CC 7C 96 23 78 */ mr r22, r4 +/* 80090870 0008D7D0 7C 77 1B 78 */ mr r23, r3 +/* 80090874 0008D7D4 38 60 00 00 */ li r3, 0 +/* 80090878 0008D7D8 38 80 00 01 */ li r4, 1 +/* 8009087C 0008D7DC 48 2F 96 79 */ bl __shl2i +/* 80090880 0008D7E0 80 AD 85 64 */ lwz r5, lbl_805A7124@sda21(r13) +/* 80090884 0008D7E4 7E D6 23 78 */ or r22, r22, r4 +/* 80090888 0008D7E8 7E F7 1B 78 */ or r23, r23, r3 +/* 8009088C 0008D7EC 38 60 00 00 */ li r3, 0 +/* 80090890 0008D7F0 38 80 00 01 */ li r4, 1 +/* 80090894 0008D7F4 48 2F 96 61 */ bl __shl2i +/* 80090898 0008D7F8 80 AD 85 68 */ lwz r5, lbl_805A7128@sda21(r13) +/* 8009089C 0008D7FC 7C 94 23 78 */ mr r20, r4 +/* 800908A0 0008D800 7C 75 1B 78 */ mr r21, r3 +/* 800908A4 0008D804 38 60 00 00 */ li r3, 0 +/* 800908A8 0008D808 38 80 00 01 */ li r4, 1 +/* 800908AC 0008D80C 48 2F 96 49 */ bl __shl2i +/* 800908B0 0008D810 80 AD 85 6C */ lwz r5, lbl_805A712C@sda21(r13) +/* 800908B4 0008D814 7E 94 23 78 */ or r20, r20, r4 +/* 800908B8 0008D818 7E B5 1B 78 */ or r21, r21, r3 +/* 800908BC 0008D81C 38 60 00 00 */ li r3, 0 +/* 800908C0 0008D820 38 80 00 01 */ li r4, 1 +/* 800908C4 0008D824 48 2F 96 31 */ bl __shl2i +/* 800908C8 0008D828 A3 7B 00 00 */ lhz r27, 0(r27) +/* 800908CC 0008D82C 7E 94 23 78 */ or r20, r20, r4 +/* 800908D0 0008D830 7E B5 1B 78 */ or r21, r21, r3 +/* 800908D4 0008D834 83 5A 00 00 */ lwz r26, 0(r26) +/* 800908D8 0008D838 A3 39 00 00 */ lhz r25, 0(r25) +/* 800908DC 0008D83C 3A 60 00 03 */ li r19, 3 +/* 800908E0 0008D840 92 81 00 7C */ stw r20, 0x7c(r1) +/* 800908E4 0008D844 3A 81 00 78 */ addi r20, r1, 0x78 +/* 800908E8 0008D848 39 81 00 48 */ addi r12, r1, 0x48 +/* 800908EC 0008D84C 39 60 01 00 */ li r11, 0x100 +/* 800908F0 0008D850 92 A1 00 78 */ stw r21, 0x78(r1) +/* 800908F4 0008D854 38 01 00 90 */ addi r0, r1, 0x90 +/* 800908F8 0008D858 7F C3 F3 78 */ mr r3, r30 +/* 800908FC 0008D85C 7F 8A E3 78 */ mr r10, r28 +/* 80090900 0008D860 92 C1 00 84 */ stw r22, 0x84(r1) +/* 80090904 0008D864 38 81 00 24 */ addi r4, r1, 0x24 +/* 80090908 0008D868 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8009090C 0008D86C 38 E1 00 20 */ addi r7, r1, 0x20 +/* 80090910 0008D870 92 E1 00 80 */ stw r23, 0x80(r1) +/* 80090914 0008D874 39 21 00 68 */ addi r9, r1, 0x68 +/* 80090918 0008D878 38 C0 00 01 */ li r6, 1 +/* 8009091C 0008D87C 39 00 00 04 */ li r8, 4 +/* 80090920 0008D880 92 61 00 88 */ stw r19, 0x88(r1) +/* 80090924 0008D884 B3 61 00 20 */ sth r27, 0x20(r1) +/* 80090928 0008D888 93 41 00 28 */ stw r26, 0x28(r1) +/* 8009092C 0008D88C B3 21 00 24 */ sth r25, 0x24(r1) +/* 80090930 0008D890 92 81 00 08 */ stw r20, 8(r1) +/* 80090934 0008D894 91 81 00 0C */ stw r12, 0xc(r1) +/* 80090938 0008D898 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8009093C 0008D89C 91 61 00 14 */ stw r11, 0x14(r1) +/* 80090940 0008D8A0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80090944 0008D8A4 48 07 19 51 */ bl "__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData" +/* 80090948 0008D8A8 38 61 00 90 */ addi r3, r1, 0x90 +/* 8009094C 0008D8AC 38 80 FF FF */ li r4, -1 +/* 80090950 0008D8B0 48 08 60 FD */ bl __dt__10CModelDataFv +/* 80090954 0008D8B4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80090958 0008D8B8 48 2A D1 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009095C 0008D8BC 3C 60 80 3E */ lis r3, lbl_803DACC0@ha +/* 80090960 0008D8C0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80090964 0008D8C4 38 03 AC C0 */ addi r0, r3, lbl_803DACC0@l +/* 80090968 0008D8C8 3A 80 00 00 */ li r20, 0 +/* 8009096C 0008D8CC 90 1E 00 00 */ stw r0, 0(r30) +/* 80090970 0008D8D0 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 80090974 0008D8D4 3C 60 80 3D */ lis r3, lbl_803CD6A8@ha +/* 80090978 0008D8D8 38 A0 00 00 */ li r5, 0 +/* 8009097C 0008D8DC C0 06 00 00 */ lfs f0, 0(r6) +/* 80090980 0008D8E0 38 83 D6 A8 */ addi r4, r3, lbl_803CD6A8@l +/* 80090984 0008D8E4 38 60 03 40 */ li r3, 0x340 +/* 80090988 0008D8E8 D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 8009098C 0008D8EC C0 06 00 04 */ lfs f0, 4(r6) +/* 80090990 0008D8F0 D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 80090994 0008D8F4 C0 06 00 08 */ lfs f0, 8(r6) +/* 80090998 0008D8F8 D0 1E 01 60 */ stfs f0, 0x160(r30) +/* 8009099C 0008D8FC C0 06 00 00 */ lfs f0, 0(r6) +/* 800909A0 0008D900 D0 1E 01 64 */ stfs f0, 0x164(r30) +/* 800909A4 0008D904 C0 06 00 04 */ lfs f0, 4(r6) +/* 800909A8 0008D908 D0 1E 01 68 */ stfs f0, 0x168(r30) +/* 800909AC 0008D90C C0 06 00 08 */ lfs f0, 8(r6) +/* 800909B0 0008D910 D0 1E 01 6C */ stfs f0, 0x16c(r30) +/* 800909B4 0008D914 C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 800909B8 0008D918 C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 800909BC 0008D91C C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 800909C0 0008D920 D0 1E 01 70 */ stfs f0, 0x170(r30) +/* 800909C4 0008D924 D0 3E 01 74 */ stfs f1, 0x174(r30) +/* 800909C8 0008D928 D0 5E 01 78 */ stfs f2, 0x178(r30) +/* 800909CC 0008D92C D3 FE 01 7C */ stfs f31, 0x17c(r30) +/* 800909D0 0008D930 48 28 4E 9D */ bl __nw__FUlPCcPCc +/* 800909D4 0008D934 7C 73 1B 79 */ or. r19, r3, r3 +/* 800909D8 0008D938 41 82 00 2C */ beq lbl_80090A04 +/* 800909DC 0008D93C 7F 04 C3 78 */ mr r4, r24 +/* 800909E0 0008D940 38 61 00 3C */ addi r3, r1, 0x3c +/* 800909E4 0008D944 48 2B 04 C5 */ bl __ct__6CTokenFRC6CToken +/* 800909E8 0008D948 7E 63 9B 78 */ mr r3, r19 +/* 800909EC 0008D94C 38 81 00 3C */ addi r4, r1, 0x3c +/* 800909F0 0008D950 3A 80 00 01 */ li r20, 1 +/* 800909F4 0008D954 38 A0 00 00 */ li r5, 0 +/* 800909F8 0008D958 38 C0 00 01 */ li r6, 1 +/* 800909FC 0008D95C 48 28 E9 E5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80090A00 0008D960 7C 73 1B 78 */ mr r19, r3 +lbl_80090A04: +/* 80090A04 0008D964 7E 80 07 75 */ extsb. r0, r20 +/* 80090A08 0008D968 92 7E 01 80 */ stw r19, 0x180(r30) +/* 80090A0C 0008D96C 41 82 00 10 */ beq lbl_80090A1C +/* 80090A10 0008D970 38 61 00 3C */ addi r3, r1, 0x3c +/* 80090A14 0008D974 38 80 00 00 */ li r4, 0 +/* 80090A18 0008D978 48 2B 04 29 */ bl __dt__6CTokenFv +lbl_80090A1C: +/* 80090A1C 0008D97C 3C 60 80 3D */ lis r3, lbl_803CD6A8@ha +/* 80090A20 0008D980 3A 80 00 00 */ li r20, 0 +/* 80090A24 0008D984 38 83 D6 A8 */ addi r4, r3, lbl_803CD6A8@l +/* 80090A28 0008D988 38 A0 00 00 */ li r5, 0 +/* 80090A2C 0008D98C 38 60 03 40 */ li r3, 0x340 +/* 80090A30 0008D990 48 28 4E 3D */ bl __nw__FUlPCcPCc +/* 80090A34 0008D994 7C 73 1B 79 */ or. r19, r3, r3 +/* 80090A38 0008D998 41 82 00 2C */ beq lbl_80090A64 +/* 80090A3C 0008D99C 7F E4 FB 78 */ mr r4, r31 +/* 80090A40 0008D9A0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80090A44 0008D9A4 48 2B 04 65 */ bl __ct__6CTokenFRC6CToken +/* 80090A48 0008D9A8 7E 63 9B 78 */ mr r3, r19 +/* 80090A4C 0008D9AC 38 81 00 34 */ addi r4, r1, 0x34 +/* 80090A50 0008D9B0 3A 80 00 01 */ li r20, 1 +/* 80090A54 0008D9B4 38 A0 00 00 */ li r5, 0 +/* 80090A58 0008D9B8 38 C0 00 01 */ li r6, 1 +/* 80090A5C 0008D9BC 48 28 E9 85 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80090A60 0008D9C0 7C 73 1B 78 */ mr r19, r3 +lbl_80090A64: +/* 80090A64 0008D9C4 7E 80 07 75 */ extsb. r0, r20 +/* 80090A68 0008D9C8 92 7E 01 84 */ stw r19, 0x184(r30) +/* 80090A6C 0008D9CC 41 82 00 10 */ beq lbl_80090A7C +/* 80090A70 0008D9D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80090A74 0008D9D4 38 80 00 00 */ li r4, 0 +/* 80090A78 0008D9D8 48 2B 03 C9 */ bl __dt__6CTokenFv +lbl_80090A7C: +/* 80090A7C 0008D9DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80090A80 0008D9E0 7F E4 FB 78 */ mr r4, r31 +/* 80090A84 0008D9E4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80090A88 0008D9E8 B0 1E 01 88 */ sth r0, 0x188(r30) +/* 80090A8C 0008D9EC 48 2B 04 1D */ bl __ct__6CTokenFRC6CToken +/* 80090A90 0008D9F0 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 80090A94 0008D9F4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80090A98 0008D9F8 38 80 FF FF */ li r4, -1 +/* 80090A9C 0008D9FC 80 05 00 08 */ lwz r0, 8(r5) +/* 80090AA0 0008DA00 90 1E 01 8C */ stw r0, 0x18c(r30) +/* 80090AA4 0008DA04 48 2B 03 9D */ bl __dt__6CTokenFv +/* 80090AA8 0008DA08 88 1E 01 90 */ lbz r0, 0x190(r30) +/* 80090AAC 0008DA0C 38 60 00 01 */ li r3, 1 +/* 80090AB0 0008DA10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80090AB4 0008DA14 38 60 00 00 */ li r3, 0 +/* 80090AB8 0008DA18 98 1E 01 90 */ stb r0, 0x190(r30) +/* 80090ABC 0008DA1C 38 81 00 5C */ addi r4, r1, 0x5c +/* 80090AC0 0008DA20 88 1E 01 90 */ lbz r0, 0x190(r30) +/* 80090AC4 0008DA24 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80090AC8 0008DA28 98 1E 01 90 */ stb r0, 0x190(r30) +/* 80090ACC 0008DA2C 88 1E 01 90 */ lbz r0, 0x190(r30) +/* 80090AD0 0008DA30 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80090AD4 0008DA34 98 1E 01 90 */ stb r0, 0x190(r30) +/* 80090AD8 0008DA38 C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 80090ADC 0008DA3C C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 80090AE0 0008DA40 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80090AE4 0008DA44 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80090AE8 0008DA48 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80090AEC 0008DA4C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80090AF0 0008DA50 80 7E 01 80 */ lwz r3, 0x180(r30) +/* 80090AF4 0008DA54 81 83 00 00 */ lwz r12, 0(r3) +/* 80090AF8 0008DA58 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80090AFC 0008DA5C 7D 89 03 A6 */ mtctr r12 +/* 80090B00 0008DA60 4E 80 04 21 */ bctrl +/* 80090B04 0008DA64 C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 80090B08 0008DA68 38 81 00 50 */ addi r4, r1, 0x50 +/* 80090B0C 0008DA6C C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 80090B10 0008DA70 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80090B14 0008DA74 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80090B18 0008DA78 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80090B1C 0008DA7C D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80090B20 0008DA80 80 7E 01 84 */ lwz r3, 0x184(r30) +/* 80090B24 0008DA84 81 83 00 00 */ lwz r12, 0(r3) +/* 80090B28 0008DA88 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80090B2C 0008DA8C 7D 89 03 A6 */ mtctr r12 +/* 80090B30 0008DA90 4E 80 04 21 */ bctrl +/* 80090B34 0008DA94 7F C3 F3 78 */ mr r3, r30 +/* 80090B38 0008DA98 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 80090B3C 0008DA9C CB E1 01 20 */ lfd f31, 0x120(r1) +/* 80090B40 0008DAA0 BA 61 00 EC */ lmw r19, 0xec(r1) +/* 80090B44 0008DAA4 80 01 01 34 */ lwz r0, 0x134(r1) +/* 80090B48 0008DAA8 7C 08 03 A6 */ mtlr r0 +/* 80090B4C 0008DAAC 38 21 01 30 */ addi r1, r1, 0x130 +/* 80090B50 0008DAB0 4E 80 00 20 */ blr + +.global __ct__10CTweakBallFR12CInputStream +__ct__10CTweakBallFR12CInputStream: +/* 80090B54 0008DAB4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80090B58 0008DAB8 7C 08 02 A6 */ mflr r0 +/* 80090B5C 0008DABC 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha +/* 80090B60 0008DAC0 3C A0 80 3E */ lis r5, lbl_803DAD30@ha +/* 80090B64 0008DAC4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80090B68 0008DAC8 38 C6 9C C4 */ addi r6, r6, lbl_803D9CC4@l +/* 80090B6C 0008DACC 38 05 AD 30 */ addi r0, r5, lbl_803DAD30@l +/* 80090B70 0008DAD0 C0 22 8A F0 */ lfs f1, lbl_805AA810@sda21(r2) +/* 80090B74 0008DAD4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80090B78 0008DAD8 7C 7F 1B 78 */ mr r31, r3 +/* 80090B7C 0008DADC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80090B80 0008DAE0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80090B84 0008DAE4 3B C0 00 00 */ li r30, 0 +/* 80090B88 0008DAE8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80090B8C 0008DAEC 3B A0 00 00 */ li r29, 0 +/* 80090B90 0008DAF0 93 81 00 30 */ stw r28, 0x30(r1) +/* 80090B94 0008DAF4 7C 9C 23 78 */ mr r28, r4 +/* 80090B98 0008DAF8 90 DF 00 00 */ stw r6, 0(r31) +/* 80090B9C 0008DAFC 90 1F 00 00 */ stw r0, 0(r31) +/* 80090BA0 0008DB00 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80090BA4 0008DB04 D0 1F 00 78 */ stfs f0, 0x78(r31) +/* 80090BA8 0008DB08 C0 03 00 04 */ lfs f0, 4(r3) +/* 80090BAC 0008DB0C D0 1F 00 7C */ stfs f0, 0x7c(r31) +/* 80090BB0 0008DB10 C0 03 00 08 */ lfs f0, 8(r3) +/* 80090BB4 0008DB14 D0 1F 00 80 */ stfs f0, 0x80(r31) +/* 80090BB8 0008DB18 D0 3F 01 58 */ stfs f1, 0x158(r31) +/* 80090BBC 0008DB1C C0 03 00 00 */ lfs f0, 0(r3) +/* 80090BC0 0008DB20 D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 80090BC4 0008DB24 C0 03 00 04 */ lfs f0, 4(r3) +/* 80090BC8 0008DB28 D0 1F 01 90 */ stfs f0, 0x190(r31) +/* 80090BCC 0008DB2C C0 03 00 08 */ lfs f0, 8(r3) +/* 80090BD0 0008DB30 D0 1F 01 94 */ stfs f0, 0x194(r31) +/* 80090BD4 0008DB34 C0 03 00 00 */ lfs f0, 0(r3) +/* 80090BD8 0008DB38 D0 1F 01 B8 */ stfs f0, 0x1b8(r31) +/* 80090BDC 0008DB3C C0 03 00 04 */ lfs f0, 4(r3) +/* 80090BE0 0008DB40 D0 1F 01 BC */ stfs f0, 0x1bc(r31) +/* 80090BE4 0008DB44 C0 03 00 08 */ lfs f0, 8(r3) +/* 80090BE8 0008DB48 D0 1F 01 C0 */ stfs f0, 0x1c0(r31) +/* 80090BEC 0008DB4C D0 3F 01 EC */ stfs f1, 0x1ec(r31) +lbl_80090BF0: +/* 80090BF0 0008DB50 7F 83 E3 78 */ mr r3, r28 +/* 80090BF4 0008DB54 48 2A E0 35 */ bl ReadFloat__12CInputStreamFv +/* 80090BF8 0008DB58 3B BD 00 01 */ addi r29, r29, 1 +/* 80090BFC 0008DB5C 38 1E 00 04 */ addi r0, r30, 4 +/* 80090C00 0008DB60 2C 1D 00 08 */ cmpwi r29, 8 +/* 80090C04 0008DB64 7C 3F 05 2E */ stfsx f1, r31, r0 +/* 80090C08 0008DB68 3B DE 00 04 */ addi r30, r30, 4 +/* 80090C0C 0008DB6C 41 80 FF E4 */ blt lbl_80090BF0 +/* 80090C10 0008DB70 3B A0 00 00 */ li r29, 0 +/* 80090C14 0008DB74 7F BE EB 78 */ mr r30, r29 +lbl_80090C18: +/* 80090C18 0008DB78 7F 83 E3 78 */ mr r3, r28 +/* 80090C1C 0008DB7C 48 2A E0 0D */ bl ReadFloat__12CInputStreamFv +/* 80090C20 0008DB80 3B BD 00 01 */ addi r29, r29, 1 +/* 80090C24 0008DB84 38 1E 00 24 */ addi r0, r30, 0x24 +/* 80090C28 0008DB88 2C 1D 00 08 */ cmpwi r29, 8 +/* 80090C2C 0008DB8C 7C 3F 05 2E */ stfsx f1, r31, r0 +/* 80090C30 0008DB90 3B DE 00 04 */ addi r30, r30, 4 +/* 80090C34 0008DB94 41 80 FF E4 */ blt lbl_80090C18 +/* 80090C38 0008DB98 3B A0 00 00 */ li r29, 0 +/* 80090C3C 0008DB9C 7F BE EB 78 */ mr r30, r29 +lbl_80090C40: +/* 80090C40 0008DBA0 7F 83 E3 78 */ mr r3, r28 +/* 80090C44 0008DBA4 48 2A DF E5 */ bl ReadFloat__12CInputStreamFv +/* 80090C48 0008DBA8 3B BD 00 01 */ addi r29, r29, 1 +/* 80090C4C 0008DBAC 38 1E 00 44 */ addi r0, r30, 0x44 +/* 80090C50 0008DBB0 2C 1D 00 08 */ cmpwi r29, 8 +/* 80090C54 0008DBB4 7C 3F 05 2E */ stfsx f1, r31, r0 +/* 80090C58 0008DBB8 3B DE 00 04 */ addi r30, r30, 4 +/* 80090C5C 0008DBBC 41 80 FF E4 */ blt lbl_80090C40 +/* 80090C60 0008DBC0 7F 83 E3 78 */ mr r3, r28 +/* 80090C64 0008DBC4 48 2A DF C5 */ bl ReadFloat__12CInputStreamFv +/* 80090C68 0008DBC8 D0 3F 00 64 */ stfs f1, 0x64(r31) +/* 80090C6C 0008DBCC 7F 83 E3 78 */ mr r3, r28 +/* 80090C70 0008DBD0 48 2A DF B9 */ bl ReadFloat__12CInputStreamFv +/* 80090C74 0008DBD4 D0 3F 00 68 */ stfs f1, 0x68(r31) +/* 80090C78 0008DBD8 7F 83 E3 78 */ mr r3, r28 +/* 80090C7C 0008DBDC 48 2A DF AD */ bl ReadFloat__12CInputStreamFv +/* 80090C80 0008DBE0 FC 00 08 50 */ fneg f0, f1 +/* 80090C84 0008DBE4 7F 83 E3 78 */ mr r3, r28 +/* 80090C88 0008DBE8 D0 1F 00 6C */ stfs f0, 0x6c(r31) +/* 80090C8C 0008DBEC 48 2A DF 9D */ bl ReadFloat__12CInputStreamFv +/* 80090C90 0008DBF0 FC 00 08 50 */ fneg f0, f1 +/* 80090C94 0008DBF4 3B A0 00 00 */ li r29, 0 +/* 80090C98 0008DBF8 7F BE EB 78 */ mr r30, r29 +/* 80090C9C 0008DBFC D0 1F 00 70 */ stfs f0, 0x70(r31) +lbl_80090CA0: +/* 80090CA0 0008DC00 7F 83 E3 78 */ mr r3, r28 +/* 80090CA4 0008DC04 48 2A DF 85 */ bl ReadFloat__12CInputStreamFv +/* 80090CA8 0008DC08 3B BD 00 01 */ addi r29, r29, 1 +/* 80090CAC 0008DC0C 38 1E 00 C4 */ addi r0, r30, 0xc4 +/* 80090CB0 0008DC10 2C 1D 00 08 */ cmpwi r29, 8 +/* 80090CB4 0008DC14 7C 3F 05 2E */ stfsx f1, r31, r0 +/* 80090CB8 0008DC18 3B DE 00 04 */ addi r30, r30, 4 +/* 80090CBC 0008DC1C 41 80 FF E4 */ blt lbl_80090CA0 +/* 80090CC0 0008DC20 7F 83 E3 78 */ mr r3, r28 +/* 80090CC4 0008DC24 48 2A DF 65 */ bl ReadFloat__12CInputStreamFv +/* 80090CC8 0008DC28 FC 00 08 50 */ fneg f0, f1 +/* 80090CCC 0008DC2C 7F 83 E3 78 */ mr r3, r28 +/* 80090CD0 0008DC30 D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 80090CD4 0008DC34 48 2A DF 55 */ bl ReadFloat__12CInputStreamFv +/* 80090CD8 0008DC38 FC 00 08 50 */ fneg f0, f1 +/* 80090CDC 0008DC3C 7F 83 E3 78 */ mr r3, r28 +/* 80090CE0 0008DC40 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 80090CE4 0008DC44 48 2A DF 45 */ bl ReadFloat__12CInputStreamFv +/* 80090CE8 0008DC48 D0 3F 01 4C */ stfs f1, 0x14c(r31) +/* 80090CEC 0008DC4C 7F 83 E3 78 */ mr r3, r28 +/* 80090CF0 0008DC50 48 2A DF 39 */ bl ReadFloat__12CInputStreamFv +/* 80090CF4 0008DC54 D0 3F 01 50 */ stfs f1, 0x150(r31) +/* 80090CF8 0008DC58 7F 83 E3 78 */ mr r3, r28 +/* 80090CFC 0008DC5C 48 2A DF 2D */ bl ReadFloat__12CInputStreamFv +/* 80090D00 0008DC60 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090D04 0008DC64 7F 83 E3 78 */ mr r3, r28 +/* 80090D08 0008DC68 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090D0C 0008DC6C D0 1F 01 58 */ stfs f0, 0x158(r31) +/* 80090D10 0008DC70 48 2A DF 19 */ bl ReadFloat__12CInputStreamFv +/* 80090D14 0008DC74 D0 3F 01 DC */ stfs f1, 0x1dc(r31) +/* 80090D18 0008DC78 7F 83 E3 78 */ mr r3, r28 +/* 80090D1C 0008DC7C 48 2A DF 0D */ bl ReadFloat__12CInputStreamFv +/* 80090D20 0008DC80 D0 3F 01 E0 */ stfs f1, 0x1e0(r31) +/* 80090D24 0008DC84 7F 83 E3 78 */ mr r3, r28 +/* 80090D28 0008DC88 48 2A DF 01 */ bl ReadFloat__12CInputStreamFv +/* 80090D2C 0008DC8C C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090D30 0008DC90 7F 83 E3 78 */ mr r3, r28 +/* 80090D34 0008DC94 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090D38 0008DC98 D0 1F 01 EC */ stfs f0, 0x1ec(r31) +/* 80090D3C 0008DC9C 48 2A DE ED */ bl ReadFloat__12CInputStreamFv +/* 80090D40 0008DCA0 D0 3F 01 F0 */ stfs f1, 0x1f0(r31) +/* 80090D44 0008DCA4 7F 83 E3 78 */ mr r3, r28 +/* 80090D48 0008DCA8 48 2A DE E1 */ bl ReadFloat__12CInputStreamFv +/* 80090D4C 0008DCAC D0 3F 01 F4 */ stfs f1, 0x1f4(r31) +/* 80090D50 0008DCB0 7F 83 E3 78 */ mr r3, r28 +/* 80090D54 0008DCB4 48 2A DE D5 */ bl ReadFloat__12CInputStreamFv +/* 80090D58 0008DCB8 D0 3F 01 F8 */ stfs f1, 0x1f8(r31) +/* 80090D5C 0008DCBC 7F 83 E3 78 */ mr r3, r28 +/* 80090D60 0008DCC0 48 2A DE C9 */ bl ReadFloat__12CInputStreamFv +/* 80090D64 0008DCC4 D0 3F 01 FC */ stfs f1, 0x1fc(r31) +/* 80090D68 0008DCC8 7F 83 E3 78 */ mr r3, r28 +/* 80090D6C 0008DCCC C0 62 8A F8 */ lfs f3, lbl_805AA818@sda21(r2) +/* 80090D70 0008DCD0 C0 42 8A FC */ lfs f2, lbl_805AA81C@sda21(r2) +/* 80090D74 0008DCD4 D0 7F 01 2C */ stfs f3, 0x12c(r31) +/* 80090D78 0008DCD8 C0 22 8B 00 */ lfs f1, lbl_805AA820@sda21(r2) +/* 80090D7C 0008DCDC D0 7F 01 30 */ stfs f3, 0x130(r31) +/* 80090D80 0008DCE0 C0 02 8B 04 */ lfs f0, lbl_805AA824@sda21(r2) +/* 80090D84 0008DCE4 D0 5F 01 34 */ stfs f2, 0x134(r31) +/* 80090D88 0008DCE8 D0 7F 01 38 */ stfs f3, 0x138(r31) +/* 80090D8C 0008DCEC D0 3F 01 3C */ stfs f1, 0x13c(r31) +/* 80090D90 0008DCF0 D0 3F 01 40 */ stfs f1, 0x140(r31) +/* 80090D94 0008DCF4 D0 3F 01 44 */ stfs f1, 0x144(r31) +/* 80090D98 0008DCF8 D0 3F 01 48 */ stfs f1, 0x148(r31) +/* 80090D9C 0008DCFC D0 7F 00 EC */ stfs f3, 0xec(r31) +/* 80090DA0 0008DD00 D0 5F 00 F0 */ stfs f2, 0xf0(r31) +/* 80090DA4 0008DD04 D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 80090DA8 0008DD08 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 80090DAC 0008DD0C D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 80090DB0 0008DD10 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 80090DB4 0008DD14 D0 1F 01 04 */ stfs f0, 0x104(r31) +/* 80090DB8 0008DD18 D0 1F 01 08 */ stfs f0, 0x108(r31) +/* 80090DBC 0008DD1C D0 7F 01 0C */ stfs f3, 0x10c(r31) +/* 80090DC0 0008DD20 D0 5F 01 10 */ stfs f2, 0x110(r31) +/* 80090DC4 0008DD24 D0 1F 01 14 */ stfs f0, 0x114(r31) +/* 80090DC8 0008DD28 D0 1F 01 18 */ stfs f0, 0x118(r31) +/* 80090DCC 0008DD2C D0 1F 01 1C */ stfs f0, 0x11c(r31) +/* 80090DD0 0008DD30 D0 1F 01 20 */ stfs f0, 0x120(r31) +/* 80090DD4 0008DD34 D0 1F 01 24 */ stfs f0, 0x124(r31) +/* 80090DD8 0008DD38 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 80090DDC 0008DD3C 48 2A DE 4D */ bl ReadFloat__12CInputStreamFv +/* 80090DE0 0008DD40 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090DE4 0008DD44 7F 84 E3 78 */ mr r4, r28 +/* 80090DE8 0008DD48 38 61 00 20 */ addi r3, r1, 0x20 +/* 80090DEC 0008DD4C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090DF0 0008DD50 D0 1F 00 74 */ stfs f0, 0x74(r31) +/* 80090DF4 0008DD54 48 28 3D 99 */ bl __ct__9CVector3fFR12CInputStream +/* 80090DF8 0008DD58 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80090DFC 0008DD5C 7F 83 E3 78 */ mr r3, r28 +/* 80090E00 0008DD60 D0 1F 00 78 */ stfs f0, 0x78(r31) +/* 80090E04 0008DD64 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80090E08 0008DD68 D0 1F 00 7C */ stfs f0, 0x7c(r31) +/* 80090E0C 0008DD6C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80090E10 0008DD70 D0 1F 00 80 */ stfs f0, 0x80(r31) +/* 80090E14 0008DD74 48 2A DE 15 */ bl ReadFloat__12CInputStreamFv +/* 80090E18 0008DD78 D0 3F 00 84 */ stfs f1, 0x84(r31) +/* 80090E1C 0008DD7C 7F 83 E3 78 */ mr r3, r28 +/* 80090E20 0008DD80 48 2A DE 09 */ bl ReadFloat__12CInputStreamFv +/* 80090E24 0008DD84 D0 3F 00 88 */ stfs f1, 0x88(r31) +/* 80090E28 0008DD88 7F 83 E3 78 */ mr r3, r28 +/* 80090E2C 0008DD8C 48 2A DD FD */ bl ReadFloat__12CInputStreamFv +/* 80090E30 0008DD90 D0 3F 00 8C */ stfs f1, 0x8c(r31) +/* 80090E34 0008DD94 7F 83 E3 78 */ mr r3, r28 +/* 80090E38 0008DD98 48 2A DD F1 */ bl ReadFloat__12CInputStreamFv +/* 80090E3C 0008DD9C C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090E40 0008DDA0 7F 83 E3 78 */ mr r3, r28 +/* 80090E44 0008DDA4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090E48 0008DDA8 D0 1F 00 90 */ stfs f0, 0x90(r31) +/* 80090E4C 0008DDAC 48 2A DD DD */ bl ReadFloat__12CInputStreamFv +/* 80090E50 0008DDB0 D0 3F 00 94 */ stfs f1, 0x94(r31) +/* 80090E54 0008DDB4 7F 83 E3 78 */ mr r3, r28 +/* 80090E58 0008DDB8 48 2A DD D1 */ bl ReadFloat__12CInputStreamFv +/* 80090E5C 0008DDBC D0 3F 00 98 */ stfs f1, 0x98(r31) +/* 80090E60 0008DDC0 7F 83 E3 78 */ mr r3, r28 +/* 80090E64 0008DDC4 48 2A DD C5 */ bl ReadFloat__12CInputStreamFv +/* 80090E68 0008DDC8 D0 3F 00 9C */ stfs f1, 0x9c(r31) +/* 80090E6C 0008DDCC 7F 83 E3 78 */ mr r3, r28 +/* 80090E70 0008DDD0 48 2A DD B9 */ bl ReadFloat__12CInputStreamFv +/* 80090E74 0008DDD4 D0 3F 00 A0 */ stfs f1, 0xa0(r31) +/* 80090E78 0008DDD8 7F 83 E3 78 */ mr r3, r28 +/* 80090E7C 0008DDDC 48 2A DD AD */ bl ReadFloat__12CInputStreamFv +/* 80090E80 0008DDE0 D0 3F 00 A4 */ stfs f1, 0xa4(r31) +/* 80090E84 0008DDE4 7F 83 E3 78 */ mr r3, r28 +/* 80090E88 0008DDE8 48 2A DD A1 */ bl ReadFloat__12CInputStreamFv +/* 80090E8C 0008DDEC D0 3F 00 A8 */ stfs f1, 0xa8(r31) +/* 80090E90 0008DDF0 7F 83 E3 78 */ mr r3, r28 +/* 80090E94 0008DDF4 48 2A DD 95 */ bl ReadFloat__12CInputStreamFv +/* 80090E98 0008DDF8 D0 3F 00 AC */ stfs f1, 0xac(r31) +/* 80090E9C 0008DDFC 7F 83 E3 78 */ mr r3, r28 +/* 80090EA0 0008DE00 48 2A DD 89 */ bl ReadFloat__12CInputStreamFv +/* 80090EA4 0008DE04 D0 3F 00 B0 */ stfs f1, 0xb0(r31) +/* 80090EA8 0008DE08 7F 83 E3 78 */ mr r3, r28 +/* 80090EAC 0008DE0C 48 2A DD 7D */ bl ReadFloat__12CInputStreamFv +/* 80090EB0 0008DE10 D0 3F 00 B4 */ stfs f1, 0xb4(r31) +/* 80090EB4 0008DE14 7F 83 E3 78 */ mr r3, r28 +/* 80090EB8 0008DE18 48 2A DD 71 */ bl ReadFloat__12CInputStreamFv +/* 80090EBC 0008DE1C D0 3F 00 B8 */ stfs f1, 0xb8(r31) +/* 80090EC0 0008DE20 7F 83 E3 78 */ mr r3, r28 +/* 80090EC4 0008DE24 48 2A DD 65 */ bl ReadFloat__12CInputStreamFv +/* 80090EC8 0008DE28 D0 3F 00 BC */ stfs f1, 0xbc(r31) +/* 80090ECC 0008DE2C 7F 83 E3 78 */ mr r3, r28 +/* 80090ED0 0008DE30 48 2A DD 59 */ bl ReadFloat__12CInputStreamFv +/* 80090ED4 0008DE34 D0 3F 00 C0 */ stfs f1, 0xc0(r31) +/* 80090ED8 0008DE38 7F 83 E3 78 */ mr r3, r28 +/* 80090EDC 0008DE3C 48 2A DD 4D */ bl ReadFloat__12CInputStreamFv +/* 80090EE0 0008DE40 D0 3F 01 54 */ stfs f1, 0x154(r31) +/* 80090EE4 0008DE44 7F 83 E3 78 */ mr r3, r28 +/* 80090EE8 0008DE48 48 2A DD 41 */ bl ReadFloat__12CInputStreamFv +/* 80090EEC 0008DE4C C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090EF0 0008DE50 7F 83 E3 78 */ mr r3, r28 +/* 80090EF4 0008DE54 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090EF8 0008DE58 D0 1F 01 5C */ stfs f0, 0x15c(r31) +/* 80090EFC 0008DE5C 48 2A DD 2D */ bl ReadFloat__12CInputStreamFv +/* 80090F00 0008DE60 D0 3F 01 60 */ stfs f1, 0x160(r31) +/* 80090F04 0008DE64 7F 83 E3 78 */ mr r3, r28 +/* 80090F08 0008DE68 48 2A DD 21 */ bl ReadFloat__12CInputStreamFv +/* 80090F0C 0008DE6C D0 3F 01 64 */ stfs f1, 0x164(r31) +/* 80090F10 0008DE70 7F 83 E3 78 */ mr r3, r28 +/* 80090F14 0008DE74 48 2A DD 15 */ bl ReadFloat__12CInputStreamFv +/* 80090F18 0008DE78 D0 3F 01 68 */ stfs f1, 0x168(r31) +/* 80090F1C 0008DE7C 7F 83 E3 78 */ mr r3, r28 +/* 80090F20 0008DE80 48 2A DD 09 */ bl ReadFloat__12CInputStreamFv +/* 80090F24 0008DE84 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090F28 0008DE88 7F 83 E3 78 */ mr r3, r28 +/* 80090F2C 0008DE8C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090F30 0008DE90 D0 1F 01 6C */ stfs f0, 0x16c(r31) +/* 80090F34 0008DE94 48 2A DC F5 */ bl ReadFloat__12CInputStreamFv +/* 80090F38 0008DE98 D0 3F 01 70 */ stfs f1, 0x170(r31) +/* 80090F3C 0008DE9C 7F 83 E3 78 */ mr r3, r28 +/* 80090F40 0008DEA0 48 2A DC E9 */ bl ReadFloat__12CInputStreamFv +/* 80090F44 0008DEA4 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090F48 0008DEA8 7F 83 E3 78 */ mr r3, r28 +/* 80090F4C 0008DEAC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090F50 0008DEB0 D0 1F 01 74 */ stfs f0, 0x174(r31) +/* 80090F54 0008DEB4 48 2A DC D5 */ bl ReadFloat__12CInputStreamFv +/* 80090F58 0008DEB8 D0 3F 01 78 */ stfs f1, 0x178(r31) +/* 80090F5C 0008DEBC 7F 83 E3 78 */ mr r3, r28 +/* 80090F60 0008DEC0 48 2A DC C9 */ bl ReadFloat__12CInputStreamFv +/* 80090F64 0008DEC4 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090F68 0008DEC8 7F 83 E3 78 */ mr r3, r28 +/* 80090F6C 0008DECC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090F70 0008DED0 D0 1F 01 7C */ stfs f0, 0x17c(r31) +/* 80090F74 0008DED4 48 2A DC B5 */ bl ReadFloat__12CInputStreamFv +/* 80090F78 0008DED8 D0 3F 01 80 */ stfs f1, 0x180(r31) +/* 80090F7C 0008DEDC 7F 83 E3 78 */ mr r3, r28 +/* 80090F80 0008DEE0 48 2A DC A9 */ bl ReadFloat__12CInputStreamFv +/* 80090F84 0008DEE4 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090F88 0008DEE8 7F 83 E3 78 */ mr r3, r28 +/* 80090F8C 0008DEEC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090F90 0008DEF0 D0 1F 01 84 */ stfs f0, 0x184(r31) +/* 80090F94 0008DEF4 48 2A DC 95 */ bl ReadFloat__12CInputStreamFv +/* 80090F98 0008DEF8 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80090F9C 0008DEFC 7F 84 E3 78 */ mr r4, r28 +/* 80090FA0 0008DF00 38 61 00 14 */ addi r3, r1, 0x14 +/* 80090FA4 0008DF04 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80090FA8 0008DF08 D0 1F 01 88 */ stfs f0, 0x188(r31) +/* 80090FAC 0008DF0C 48 28 3B E1 */ bl __ct__9CVector3fFR12CInputStream +/* 80090FB0 0008DF10 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80090FB4 0008DF14 7F 83 E3 78 */ mr r3, r28 +/* 80090FB8 0008DF18 D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 80090FBC 0008DF1C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80090FC0 0008DF20 D0 1F 01 90 */ stfs f0, 0x190(r31) +/* 80090FC4 0008DF24 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80090FC8 0008DF28 D0 1F 01 94 */ stfs f0, 0x194(r31) +/* 80090FCC 0008DF2C 48 2A DC 5D */ bl ReadFloat__12CInputStreamFv +/* 80090FD0 0008DF30 D0 3F 01 98 */ stfs f1, 0x198(r31) +/* 80090FD4 0008DF34 7F 83 E3 78 */ mr r3, r28 +/* 80090FD8 0008DF38 48 2A DC 51 */ bl ReadFloat__12CInputStreamFv +/* 80090FDC 0008DF3C D0 3F 01 9C */ stfs f1, 0x19c(r31) +/* 80090FE0 0008DF40 7F 83 E3 78 */ mr r3, r28 +/* 80090FE4 0008DF44 48 2A DC 45 */ bl ReadFloat__12CInputStreamFv +/* 80090FE8 0008DF48 D0 3F 01 A0 */ stfs f1, 0x1a0(r31) +/* 80090FEC 0008DF4C 7F 83 E3 78 */ mr r3, r28 +/* 80090FF0 0008DF50 48 2A DC 39 */ bl ReadFloat__12CInputStreamFv +/* 80090FF4 0008DF54 D0 3F 01 A4 */ stfs f1, 0x1a4(r31) +/* 80090FF8 0008DF58 7F 83 E3 78 */ mr r3, r28 +/* 80090FFC 0008DF5C 48 2A DC 2D */ bl ReadFloat__12CInputStreamFv +/* 80091000 0008DF60 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80091004 0008DF64 7F 83 E3 78 */ mr r3, r28 +/* 80091008 0008DF68 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8009100C 0008DF6C D0 1F 01 A8 */ stfs f0, 0x1a8(r31) +/* 80091010 0008DF70 48 2A DC 19 */ bl ReadFloat__12CInputStreamFv +/* 80091014 0008DF74 D0 3F 01 AC */ stfs f1, 0x1ac(r31) +/* 80091018 0008DF78 7F 83 E3 78 */ mr r3, r28 +/* 8009101C 0008DF7C 48 2A DC 0D */ bl ReadFloat__12CInputStreamFv +/* 80091020 0008DF80 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80091024 0008DF84 7F 83 E3 78 */ mr r3, r28 +/* 80091028 0008DF88 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8009102C 0008DF8C D0 1F 01 B0 */ stfs f0, 0x1b0(r31) +/* 80091030 0008DF90 48 2A DB F9 */ bl ReadFloat__12CInputStreamFv +/* 80091034 0008DF94 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) +/* 80091038 0008DF98 7F 84 E3 78 */ mr r4, r28 +/* 8009103C 0008DF9C 38 61 00 08 */ addi r3, r1, 8 +/* 80091040 0008DFA0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80091044 0008DFA4 D0 1F 01 B4 */ stfs f0, 0x1b4(r31) +/* 80091048 0008DFA8 48 28 3B 45 */ bl __ct__9CVector3fFR12CInputStream +/* 8009104C 0008DFAC C0 01 00 08 */ lfs f0, 8(r1) +/* 80091050 0008DFB0 7F 83 E3 78 */ mr r3, r28 +/* 80091054 0008DFB4 D0 1F 01 B8 */ stfs f0, 0x1b8(r31) +/* 80091058 0008DFB8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8009105C 0008DFBC D0 1F 01 BC */ stfs f0, 0x1bc(r31) +/* 80091060 0008DFC0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80091064 0008DFC4 D0 1F 01 C0 */ stfs f0, 0x1c0(r31) +/* 80091068 0008DFC8 48 2A DB C1 */ bl ReadFloat__12CInputStreamFv +/* 8009106C 0008DFCC D0 3F 01 C4 */ stfs f1, 0x1c4(r31) +/* 80091070 0008DFD0 7F 83 E3 78 */ mr r3, r28 +/* 80091074 0008DFD4 48 2A DB B5 */ bl ReadFloat__12CInputStreamFv +/* 80091078 0008DFD8 D0 3F 01 C8 */ stfs f1, 0x1c8(r31) +/* 8009107C 0008DFDC 7F 83 E3 78 */ mr r3, r28 +/* 80091080 0008DFE0 48 2A DB A9 */ bl ReadFloat__12CInputStreamFv +/* 80091084 0008DFE4 D0 3F 01 CC */ stfs f1, 0x1cc(r31) +/* 80091088 0008DFE8 7F 83 E3 78 */ mr r3, r28 +/* 8009108C 0008DFEC 48 2A DB 9D */ bl ReadFloat__12CInputStreamFv +/* 80091090 0008DFF0 D0 3F 01 D0 */ stfs f1, 0x1d0(r31) +/* 80091094 0008DFF4 7F 83 E3 78 */ mr r3, r28 +/* 80091098 0008DFF8 48 2A DB 91 */ bl ReadFloat__12CInputStreamFv +/* 8009109C 0008DFFC D0 3F 01 D4 */ stfs f1, 0x1d4(r31) +/* 800910A0 0008E000 7F 83 E3 78 */ mr r3, r28 +/* 800910A4 0008E004 48 2A DB 85 */ bl ReadFloat__12CInputStreamFv +/* 800910A8 0008E008 D0 3F 01 D8 */ stfs f1, 0x1d8(r31) +/* 800910AC 0008E00C 7F 83 E3 78 */ mr r3, r28 +/* 800910B0 0008E010 48 2A DB 79 */ bl ReadFloat__12CInputStreamFv +/* 800910B4 0008E014 D0 3F 01 E4 */ stfs f1, 0x1e4(r31) +/* 800910B8 0008E018 7F 83 E3 78 */ mr r3, r28 +/* 800910BC 0008E01C 48 2A DB 6D */ bl ReadFloat__12CInputStreamFv +/* 800910C0 0008E020 D0 3F 01 E8 */ stfs f1, 0x1e8(r31) +/* 800910C4 0008E024 7F 83 E3 78 */ mr r3, r28 +/* 800910C8 0008E028 48 2A DB 61 */ bl ReadFloat__12CInputStreamFv +/* 800910CC 0008E02C D0 3F 02 00 */ stfs f1, 0x200(r31) +/* 800910D0 0008E030 7F 83 E3 78 */ mr r3, r28 +/* 800910D4 0008E034 48 2A DB 55 */ bl ReadFloat__12CInputStreamFv +/* 800910D8 0008E038 D0 3F 02 04 */ stfs f1, 0x204(r31) +/* 800910DC 0008E03C 7F 83 E3 78 */ mr r3, r28 +/* 800910E0 0008E040 48 2A DB 49 */ bl ReadFloat__12CInputStreamFv +/* 800910E4 0008E044 D0 3F 02 0C */ stfs f1, 0x20c(r31) +/* 800910E8 0008E048 7F 83 E3 78 */ mr r3, r28 +/* 800910EC 0008E04C 48 2A DB 3D */ bl ReadFloat__12CInputStreamFv +/* 800910F0 0008E050 D0 3F 02 18 */ stfs f1, 0x218(r31) +/* 800910F4 0008E054 7F 83 E3 78 */ mr r3, r28 +/* 800910F8 0008E058 48 2A DB 31 */ bl ReadFloat__12CInputStreamFv +/* 800910FC 0008E05C D0 3F 02 1C */ stfs f1, 0x21c(r31) +/* 80091100 0008E060 7F 83 E3 78 */ mr r3, r28 +/* 80091104 0008E064 48 2A DB 25 */ bl ReadFloat__12CInputStreamFv +/* 80091108 0008E068 D0 3F 02 20 */ stfs f1, 0x220(r31) +/* 8009110C 0008E06C 7F 83 E3 78 */ mr r3, r28 +/* 80091110 0008E070 48 2A DB 19 */ bl ReadFloat__12CInputStreamFv +/* 80091114 0008E074 D0 3F 02 24 */ stfs f1, 0x224(r31) +/* 80091118 0008E078 7F 83 E3 78 */ mr r3, r28 +/* 8009111C 0008E07C 48 2A DB 0D */ bl ReadFloat__12CInputStreamFv +/* 80091120 0008E080 D0 3F 02 10 */ stfs f1, 0x210(r31) +/* 80091124 0008E084 7F 83 E3 78 */ mr r3, r28 +/* 80091128 0008E088 C0 1F 02 10 */ lfs f0, 0x210(r31) +/* 8009112C 0008E08C D0 1F 02 28 */ stfs f0, 0x228(r31) +/* 80091130 0008E090 48 2A DA F9 */ bl ReadFloat__12CInputStreamFv +/* 80091134 0008E094 D0 3F 02 2C */ stfs f1, 0x22c(r31) +/* 80091138 0008E098 7F 83 E3 78 */ mr r3, r28 +/* 8009113C 0008E09C 48 2A DA ED */ bl ReadFloat__12CInputStreamFv +/* 80091140 0008E0A0 D0 3F 02 30 */ stfs f1, 0x230(r31) +/* 80091144 0008E0A4 7F 83 E3 78 */ mr r3, r28 +/* 80091148 0008E0A8 48 2A DA E1 */ bl ReadFloat__12CInputStreamFv +/* 8009114C 0008E0AC D0 3F 02 34 */ stfs f1, 0x234(r31) +/* 80091150 0008E0B0 7F E3 FB 78 */ mr r3, r31 +/* 80091154 0008E0B4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80091158 0008E0B8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8009115C 0008E0BC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80091160 0008E0C0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80091164 0008E0C4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80091168 0008E0C8 7C 08 03 A6 */ mtlr r0 +/* 8009116C 0008E0CC 38 21 00 40 */ addi r1, r1, 0x40 +/* 80091170 0008E0D0 4E 80 00 20 */ blr + +.global __dt__10CTweakBallFv +__dt__10CTweakBallFv: +/* 80091174 0008E0D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80091178 0008E0D8 7C 08 02 A6 */ mflr r0 +/* 8009117C 0008E0DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80091180 0008E0E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80091184 0008E0E4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80091188 0008E0E8 41 82 00 30 */ beq lbl_800911B8 +/* 8009118C 0008E0EC 3C 60 80 3E */ lis r3, lbl_803DAD30@ha +/* 80091190 0008E0F0 38 03 AD 30 */ addi r0, r3, lbl_803DAD30@l +/* 80091194 0008E0F4 90 1F 00 00 */ stw r0, 0(r31) +/* 80091198 0008E0F8 41 82 00 10 */ beq lbl_800911A8 +/* 8009119C 0008E0FC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 800911A0 0008E100 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 800911A4 0008E104 90 1F 00 00 */ stw r0, 0(r31) +lbl_800911A8: +/* 800911A8 0008E108 7C 80 07 35 */ extsh. r0, r4 +/* 800911AC 0008E10C 40 81 00 0C */ ble lbl_800911B8 +/* 800911B0 0008E110 7F E3 FB 78 */ mr r3, r31 +/* 800911B4 0008E114 48 00 00 1D */ bl "__dl__24TOneStatic<10CTweakBall>FPv" +lbl_800911B8: +/* 800911B8 0008E118 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800911BC 0008E11C 7F E3 FB 78 */ mr r3, r31 +/* 800911C0 0008E120 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800911C4 0008E124 7C 08 03 A6 */ mtlr r0 +/* 800911C8 0008E128 38 21 00 10 */ addi r1, r1, 0x10 +/* 800911CC 0008E12C 4E 80 00 20 */ blr + +.global "__dl__24TOneStatic<10CTweakBall>FPv" +"__dl__24TOneStatic<10CTweakBall>FPv": +/* 800911D0 0008E130 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800911D4 0008E134 7C 08 02 A6 */ mflr r0 +/* 800911D8 0008E138 90 01 00 14 */ stw r0, 0x14(r1) +/* 800911DC 0008E13C 4B FA 5F A9 */ bl "ReferenceCount__24TOneStatic<10CTweakBall>Fv" +/* 800911E0 0008E140 80 83 00 00 */ lwz r4, 0(r3) +/* 800911E4 0008E144 38 04 FF FF */ addi r0, r4, -1 +/* 800911E8 0008E148 90 03 00 00 */ stw r0, 0(r3) +/* 800911EC 0008E14C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800911F0 0008E150 7C 08 03 A6 */ mtlr r0 +/* 800911F4 0008E154 38 21 00 10 */ addi r1, r1, 0x10 +/* 800911F8 0008E158 4E 80 00 20 */ blr + +.global GetMissileComboChargeFactor__12CPlayerStateFv +GetMissileComboChargeFactor__12CPlayerStateFv: +/* 800911FC 0008E15C C0 22 8B 08 */ lfs f1, lbl_805AA828@sda21(r2) +/* 80091200 0008E160 4E 80 00 20 */ blr + +.global GetComboFireAmmoPeriod__12CPlayerStateCFv +GetComboFireAmmoPeriod__12CPlayerStateCFv: +/* 80091204 0008E164 80 03 00 08 */ lwz r0, 8(r3) +/* 80091208 0008E168 3C 60 80 3D */ lis r3, lbl_803CD778@ha +/* 8009120C 0008E16C 38 63 D7 78 */ addi r3, r3, lbl_803CD778@l +/* 80091210 0008E170 54 00 10 3A */ slwi r0, r0, 2 +/* 80091214 0008E174 7C 23 04 2E */ lfsx f1, r3, r0 +/* 80091218 0008E178 4E 80 00 20 */ blr + +.global GetMissileCostForAltAttack__12CPlayerStateCFv +GetMissileCostForAltAttack__12CPlayerStateCFv: +/* 8009121C 0008E17C 80 03 00 08 */ lwz r0, 8(r3) +/* 80091220 0008E180 3C 60 80 3D */ lis r3, lbl_803CD764@ha +/* 80091224 0008E184 38 63 D7 64 */ addi r3, r3, lbl_803CD764@l +/* 80091228 0008E188 54 00 10 3A */ slwi r0, r0, 2 +/* 8009122C 0008E18C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80091230 0008E190 4E 80 00 20 */ blr + +.global CalculateItemCollectionRate__12CPlayerStateFv +CalculateItemCollectionRate__12CPlayerStateFv: +/* 80091234 0008E194 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80091238 0008E198 7C 08 02 A6 */ mflr r0 +/* 8009123C 0008E19C 38 80 00 07 */ li r4, 7 +/* 80091240 0008E1A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80091244 0008E1A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80091248 0008E1A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009124C 0008E1AC 7C 7E 1B 78 */ mr r30, r3 +/* 80091250 0008E1B0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80091254 0008E1B4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80091258 0008E1B8 48 00 08 9D */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8009125C 0008E1BC 2C 03 00 04 */ cmpwi r3, 4 +/* 80091260 0008E1C0 7C 7C 1B 78 */ mr r28, r3 +/* 80091264 0008E1C4 41 80 00 08 */ blt lbl_8009126C +/* 80091268 0008E1C8 3B 83 FF FD */ addi r28, r3, -3 +lbl_8009126C: +/* 8009126C 0008E1CC 7F C3 F3 78 */ mr r3, r30 +/* 80091270 0008E1D0 38 80 00 02 */ li r4, 2 +/* 80091274 0008E1D4 48 00 08 81 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091278 0008E1D8 7C 7D 1B 78 */ mr r29, r3 +/* 8009127C 0008E1DC 7F C3 F3 78 */ mr r3, r30 +/* 80091280 0008E1E0 38 80 00 01 */ li r4, 1 +/* 80091284 0008E1E4 48 00 08 71 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091288 0008E1E8 7C 7F 1B 78 */ mr r31, r3 +/* 8009128C 0008E1EC 7F C3 F3 78 */ mr r3, r30 +/* 80091290 0008E1F0 38 80 00 03 */ li r4, 3 +/* 80091294 0008E1F4 48 00 08 61 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091298 0008E1F8 7F BD 1A 14 */ add r29, r29, r3 +/* 8009129C 0008E1FC 7F C3 F3 78 */ mr r3, r30 +/* 800912A0 0008E200 38 80 00 04 */ li r4, 4 +/* 800912A4 0008E204 48 00 08 51 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800912A8 0008E208 3C A0 66 66 */ lis r5, 0x66666667@ha +/* 800912AC 0008E20C 38 80 00 06 */ li r4, 6 +/* 800912B0 0008E210 38 05 66 67 */ addi r0, r5, 0x66666667@l +/* 800912B4 0008E214 7C 00 18 96 */ mulhw r0, r0, r3 +/* 800912B8 0008E218 7F C3 F3 78 */ mr r3, r30 +/* 800912BC 0008E21C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 800912C0 0008E220 54 05 0F FE */ srwi r5, r0, 0x1f +/* 800912C4 0008E224 7C 00 2A 14 */ add r0, r0, r5 +/* 800912C8 0008E228 7F BD 02 14 */ add r29, r29, r0 +/* 800912CC 0008E22C 48 00 08 29 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800912D0 0008E230 7C 1D 1A 14 */ add r0, r29, r3 +/* 800912D4 0008E234 7F C3 F3 78 */ mr r3, r30 +/* 800912D8 0008E238 7F A0 E2 14 */ add r29, r0, r28 +/* 800912DC 0008E23C 38 80 00 08 */ li r4, 8 +/* 800912E0 0008E240 48 00 08 15 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800912E4 0008E244 7F BD 1A 14 */ add r29, r29, r3 +/* 800912E8 0008E248 7F C3 F3 78 */ mr r3, r30 +/* 800912EC 0008E24C 38 80 00 09 */ li r4, 9 +/* 800912F0 0008E250 48 00 08 05 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800912F4 0008E254 7F BD 1A 14 */ add r29, r29, r3 +/* 800912F8 0008E258 7F C3 F3 78 */ mr r3, r30 +/* 800912FC 0008E25C 38 80 00 0A */ li r4, 0xa +/* 80091300 0008E260 48 00 07 F5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091304 0008E264 7F BD 1A 14 */ add r29, r29, r3 +/* 80091308 0008E268 7F C3 F3 78 */ mr r3, r30 +/* 8009130C 0008E26C 38 80 00 0B */ li r4, 0xb +/* 80091310 0008E270 48 00 07 E5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091314 0008E274 7F BD 1A 14 */ add r29, r29, r3 +/* 80091318 0008E278 7F C3 F3 78 */ mr r3, r30 +/* 8009131C 0008E27C 38 80 00 0C */ li r4, 0xc +/* 80091320 0008E280 48 00 07 D5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091324 0008E284 7F BD 1A 14 */ add r29, r29, r3 +/* 80091328 0008E288 7F C3 F3 78 */ mr r3, r30 +/* 8009132C 0008E28C 38 80 00 0D */ li r4, 0xd +/* 80091330 0008E290 48 00 07 C5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091334 0008E294 7F BD 1A 14 */ add r29, r29, r3 +/* 80091338 0008E298 7F C3 F3 78 */ mr r3, r30 +/* 8009133C 0008E29C 38 80 00 0E */ li r4, 0xe +/* 80091340 0008E2A0 48 00 07 B5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091344 0008E2A4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091348 0008E2A8 7F C3 F3 78 */ mr r3, r30 +/* 8009134C 0008E2AC 38 80 00 0F */ li r4, 0xf +/* 80091350 0008E2B0 48 00 07 A5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091354 0008E2B4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091358 0008E2B8 7F C3 F3 78 */ mr r3, r30 +/* 8009135C 0008E2BC 38 80 00 10 */ li r4, 0x10 +/* 80091360 0008E2C0 48 00 07 95 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091364 0008E2C4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091368 0008E2C8 7F C3 F3 78 */ mr r3, r30 +/* 8009136C 0008E2CC 38 80 00 12 */ li r4, 0x12 +/* 80091370 0008E2D0 48 00 07 85 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091374 0008E2D4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091378 0008E2D8 7F C3 F3 78 */ mr r3, r30 +/* 8009137C 0008E2DC 38 80 00 13 */ li r4, 0x13 +/* 80091380 0008E2E0 48 00 07 75 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091384 0008E2E4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091388 0008E2E8 7F C3 F3 78 */ mr r3, r30 +/* 8009138C 0008E2EC 38 80 00 15 */ li r4, 0x15 +/* 80091390 0008E2F0 48 00 07 65 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091394 0008E2F4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091398 0008E2F8 7F C3 F3 78 */ mr r3, r30 +/* 8009139C 0008E2FC 38 80 00 16 */ li r4, 0x16 +/* 800913A0 0008E300 48 00 07 55 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800913A4 0008E304 7F BD 1A 14 */ add r29, r29, r3 +/* 800913A8 0008E308 7F C3 F3 78 */ mr r3, r30 +/* 800913AC 0008E30C 38 80 00 18 */ li r4, 0x18 +/* 800913B0 0008E310 48 00 07 45 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800913B4 0008E314 7F BD 1A 14 */ add r29, r29, r3 +/* 800913B8 0008E318 7F C3 F3 78 */ mr r3, r30 +/* 800913BC 0008E31C 38 80 00 1D */ li r4, 0x1d +/* 800913C0 0008E320 48 00 07 35 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800913C4 0008E324 7F BD 1A 14 */ add r29, r29, r3 +/* 800913C8 0008E328 7F C3 F3 78 */ mr r3, r30 +/* 800913CC 0008E32C 38 80 00 1E */ li r4, 0x1e +/* 800913D0 0008E330 48 00 07 25 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800913D4 0008E334 7F BD 1A 14 */ add r29, r29, r3 +/* 800913D8 0008E338 7F C3 F3 78 */ mr r3, r30 +/* 800913DC 0008E33C 38 80 00 1F */ li r4, 0x1f +/* 800913E0 0008E340 48 00 07 15 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800913E4 0008E344 7F BD 1A 14 */ add r29, r29, r3 +/* 800913E8 0008E348 7F C3 F3 78 */ mr r3, r30 +/* 800913EC 0008E34C 38 80 00 20 */ li r4, 0x20 +/* 800913F0 0008E350 48 00 07 05 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800913F4 0008E354 7F BD 1A 14 */ add r29, r29, r3 +/* 800913F8 0008E358 7F C3 F3 78 */ mr r3, r30 +/* 800913FC 0008E35C 38 80 00 21 */ li r4, 0x21 +/* 80091400 0008E360 48 00 06 F5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091404 0008E364 7F BD 1A 14 */ add r29, r29, r3 +/* 80091408 0008E368 7F C3 F3 78 */ mr r3, r30 +/* 8009140C 0008E36C 38 80 00 22 */ li r4, 0x22 +/* 80091410 0008E370 48 00 06 E5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091414 0008E374 7F BD 1A 14 */ add r29, r29, r3 +/* 80091418 0008E378 7F C3 F3 78 */ mr r3, r30 +/* 8009141C 0008E37C 38 80 00 23 */ li r4, 0x23 +/* 80091420 0008E380 48 00 06 D5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091424 0008E384 7F BD 1A 14 */ add r29, r29, r3 +/* 80091428 0008E388 7F C3 F3 78 */ mr r3, r30 +/* 8009142C 0008E38C 38 80 00 24 */ li r4, 0x24 +/* 80091430 0008E390 48 00 06 C5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091434 0008E394 7F BD 1A 14 */ add r29, r29, r3 +/* 80091438 0008E398 7F C3 F3 78 */ mr r3, r30 +/* 8009143C 0008E39C 38 80 00 25 */ li r4, 0x25 +/* 80091440 0008E3A0 48 00 06 B5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091444 0008E3A4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091448 0008E3A8 7F C3 F3 78 */ mr r3, r30 +/* 8009144C 0008E3AC 38 80 00 26 */ li r4, 0x26 +/* 80091450 0008E3B0 48 00 06 A5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091454 0008E3B4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091458 0008E3B8 7F C3 F3 78 */ mr r3, r30 +/* 8009145C 0008E3BC 38 80 00 27 */ li r4, 0x27 +/* 80091460 0008E3C0 48 00 06 95 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091464 0008E3C4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091468 0008E3C8 7F C3 F3 78 */ mr r3, r30 +/* 8009146C 0008E3CC 38 80 00 28 */ li r4, 0x28 +/* 80091470 0008E3D0 48 00 06 85 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091474 0008E3D4 7F BD 1A 14 */ add r29, r29, r3 +/* 80091478 0008E3D8 7F C3 F3 78 */ mr r3, r30 +/* 8009147C 0008E3DC 38 80 00 1C */ li r4, 0x1c +/* 80091480 0008E3E0 48 00 06 75 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091484 0008E3E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80091488 0008E3E8 7C 7D 1A 14 */ add r3, r29, r3 +/* 8009148C 0008E3EC 7C 7F 1A 14 */ add r3, r31, r3 +/* 80091490 0008E3F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80091494 0008E3F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80091498 0008E3F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009149C 0008E3FC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800914A0 0008E400 7C 08 03 A6 */ mtlr r0 +/* 800914A4 0008E404 38 21 00 20 */ addi r1, r1, 0x20 +/* 800914A8 0008E408 4E 80 00 20 */ blr + +.global GetTotalPickupCount__12CPlayerStateFv +GetTotalPickupCount__12CPlayerStateFv: +/* 800914AC 0008E40C 38 60 00 63 */ li r3, 0x63 +/* 800914B0 0008E410 4E 80 00 20 */ blr + +.global SetIsFusionEnabled__12CPlayerStateFb +SetIsFusionEnabled__12CPlayerStateFb: +/* 800914B4 0008E414 88 03 00 00 */ lbz r0, 0(r3) +/* 800914B8 0008E418 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800914BC 0008E41C 98 03 00 00 */ stb r0, 0(r3) +/* 800914C0 0008E420 4E 80 00 20 */ blr + +.global GetIsFusionEnabled__12CPlayerStateFv +GetIsFusionEnabled__12CPlayerStateFv: +/* 800914C4 0008E424 88 03 00 00 */ lbz r0, 0(r3) +/* 800914C8 0008E428 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f +/* 800914CC 0008E42C 7C 03 00 D0 */ neg r0, r3 +/* 800914D0 0008E430 7C 00 1B 78 */ or r0, r0, r3 +/* 800914D4 0008E434 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800914D8 0008E438 4E 80 00 20 */ blr + +.global GetCurrentSuit__12CPlayerStateFv +GetCurrentSuit__12CPlayerStateFv: +/* 800914DC 0008E43C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800914E0 0008E440 7C 08 02 A6 */ mflr r0 +/* 800914E4 0008E444 90 01 00 14 */ stw r0, 0x14(r1) +/* 800914E8 0008E448 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800914EC 0008E44C 7C 7F 1B 78 */ mr r31, r3 +/* 800914F0 0008E450 4B FF FF D5 */ bl GetIsFusionEnabled__12CPlayerStateFv +/* 800914F4 0008E454 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800914F8 0008E458 41 82 00 0C */ beq lbl_80091504 +/* 800914FC 0008E45C 38 60 00 04 */ li r3, 4 +/* 80091500 0008E460 48 00 00 08 */ b lbl_80091508 +lbl_80091504: +/* 80091504 0008E464 80 7F 00 20 */ lwz r3, 0x20(r31) +lbl_80091508: +/* 80091508 0008E468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009150C 0008E46C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80091510 0008E470 7C 08 03 A6 */ mtlr r0 +/* 80091514 0008E474 38 21 00 10 */ addi r1, r1, 0x10 +/* 80091518 0008E478 4E 80 00 20 */ blr + +.global CanVisorSeeFog__12CPlayerStateCFRC13CStateManager +CanVisorSeeFog__12CPlayerStateCFRC13CStateManager: +/* 8009151C 0008E47C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80091520 0008E480 7C 08 02 A6 */ mflr r0 +/* 80091524 0008E484 90 01 00 14 */ stw r0, 0x14(r1) +/* 80091528 0008E488 48 00 00 31 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8009152C 0008E48C 2C 03 00 00 */ cmpwi r3, 0 +/* 80091530 0008E490 38 00 00 00 */ li r0, 0 +/* 80091534 0008E494 41 82 00 0C */ beq lbl_80091540 +/* 80091538 0008E498 2C 03 00 02 */ cmpwi r3, 2 +/* 8009153C 0008E49C 40 82 00 08 */ bne lbl_80091544 +lbl_80091540: +/* 80091540 0008E4A0 38 00 00 01 */ li r0, 1 +lbl_80091544: +/* 80091544 0008E4A4 7C 03 03 78 */ mr r3, r0 +/* 80091548 0008E4A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009154C 0008E4AC 7C 08 03 A6 */ mtlr r0 +/* 80091550 0008E4B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80091554 0008E4B4 4E 80 00 20 */ blr + +.global GetActiveVisor__12CPlayerStateCFRC13CStateManager +GetActiveVisor__12CPlayerStateCFRC13CStateManager: +/* 80091558 0008E4B8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009155C 0008E4BC 7C 08 02 A6 */ mflr r0 +/* 80091560 0008E4C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80091564 0008E4C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80091568 0008E4C8 7C 7F 1B 78 */ mr r31, r3 +/* 8009156C 0008E4CC 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80091570 0008E4D0 4B F7 A5 A9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80091574 0008E4D4 7C 64 1B 78 */ mr r4, r3 +/* 80091578 0008E4D8 38 61 00 08 */ addi r3, r1, 8 +/* 8009157C 0008E4DC 48 01 CE F9 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" +/* 80091580 0008E4E0 80 03 00 04 */ lwz r0, 4(r3) +/* 80091584 0008E4E4 28 00 00 00 */ cmplwi r0, 0 +/* 80091588 0008E4E8 41 82 00 0C */ beq lbl_80091594 +/* 8009158C 0008E4EC 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80091590 0008E4F0 48 00 00 08 */ b lbl_80091598 +lbl_80091594: +/* 80091594 0008E4F4 38 60 00 00 */ li r3, 0 +lbl_80091598: +/* 80091598 0008E4F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009159C 0008E4FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800915A0 0008E500 7C 08 03 A6 */ mtlr r0 +/* 800915A4 0008E504 38 21 00 20 */ addi r1, r1, 0x20 +/* 800915A8 0008E508 4E 80 00 20 */ blr + +.global UpdateStaticInterference__12CPlayerStateFR13CStateManagerRCf +UpdateStaticInterference__12CPlayerStateFR13CStateManagerRCf: +/* 800915AC 0008E50C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800915B0 0008E510 7C 08 02 A6 */ mflr r0 +/* 800915B4 0008E514 38 63 01 88 */ addi r3, r3, 0x188 +/* 800915B8 0008E518 90 01 00 14 */ stw r0, 0x14(r1) +/* 800915BC 0008E51C C0 25 00 00 */ lfs f1, 0(r5) +/* 800915C0 0008E520 48 12 F1 E9 */ bl Update__19CStaticInterferenceFR13CStateManagerf +/* 800915C4 0008E524 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800915C8 0008E528 7C 08 03 A6 */ mtlr r0 +/* 800915CC 0008E52C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800915D0 0008E530 4E 80 00 20 */ blr + +.global SetScanTime__12CPlayerStateFUif +SetScanTime__12CPlayerStateFUif: +/* 800915D4 0008E534 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800915D8 0008E538 7C 08 02 A6 */ mflr r0 +/* 800915DC 0008E53C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800915E0 0008E540 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800915E4 0008E544 89 21 00 14 */ lbz r9, 0x14(r1) +/* 800915E8 0008E548 38 E1 00 0C */ addi r7, r1, 0xc +/* 800915EC 0008E54C DB E1 00 38 */ stfd f31, 0x38(r1) +/* 800915F0 0008E550 FF E0 08 90 */ fmr f31, f1 +/* 800915F4 0008E554 80 03 01 74 */ lwz r0, 0x174(r3) +/* 800915F8 0008E558 80 C3 01 7C */ lwz r6, 0x17c(r3) +/* 800915FC 0008E55C 54 00 18 38 */ slwi r0, r0, 3 +/* 80091600 0008E560 90 81 00 08 */ stw r4, 8(r1) +/* 80091604 0008E564 7D 06 02 14 */ add r8, r6, r0 +/* 80091608 0008E568 38 C1 00 08 */ addi r6, r1, 8 +/* 8009160C 0008E56C 91 01 00 2C */ stw r8, 0x2c(r1) +/* 80091610 0008E570 38 81 00 20 */ addi r4, r1, 0x20 +/* 80091614 0008E574 80 03 01 7C */ lwz r0, 0x17c(r3) +/* 80091618 0008E578 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009161C 0008E57C 99 21 00 10 */ stb r9, 0x10(r1) +/* 80091620 0008E580 91 01 00 30 */ stw r8, 0x30(r1) +/* 80091624 0008E584 90 01 00 28 */ stw r0, 0x28(r1) +/* 80091628 0008E588 99 21 00 0C */ stb r9, 0xc(r1) +/* 8009162C 0008E58C 91 01 00 24 */ stw r8, 0x24(r1) +/* 80091630 0008E590 90 01 00 20 */ stw r0, 0x20(r1) +/* 80091634 0008E594 48 00 0E 6D */ bl "lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPQ24rstl10pairPQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>" +/* 80091638 0008E598 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8009163C 0008E59C 38 80 00 00 */ li r4, 0 +/* 80091640 0008E5A0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80091644 0008E5A4 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80091648 0008E5A8 7C 05 00 40 */ cmplw r5, r0 +/* 8009164C 0008E5AC 41 82 00 18 */ beq lbl_80091664 +/* 80091650 0008E5B0 80 61 00 08 */ lwz r3, 8(r1) +/* 80091654 0008E5B4 80 05 00 00 */ lwz r0, 0(r5) +/* 80091658 0008E5B8 7C 03 00 40 */ cmplw r3, r0 +/* 8009165C 0008E5BC 41 80 00 08 */ blt lbl_80091664 +/* 80091660 0008E5C0 38 80 00 01 */ li r4, 1 +lbl_80091664: +/* 80091664 0008E5C4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80091668 0008E5C8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8009166C 0008E5CC 41 82 00 08 */ beq lbl_80091674 +/* 80091670 0008E5D0 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80091674: +/* 80091674 0008E5D4 80 63 00 00 */ lwz r3, 0(r3) +/* 80091678 0008E5D8 D3 E3 00 04 */ stfs f31, 4(r3) +/* 8009167C 0008E5DC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80091680 0008E5E0 CB E1 00 38 */ lfd f31, 0x38(r1) +/* 80091684 0008E5E4 7C 08 03 A6 */ mtlr r0 +/* 80091688 0008E5E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8009168C 0008E5EC 4E 80 00 20 */ blr + +.global GetScanTime__12CPlayerStateCFUi +GetScanTime__12CPlayerStateCFUi: +/* 80091690 0008E5F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80091694 0008E5F4 7C 08 02 A6 */ mflr r0 +/* 80091698 0008E5F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8009169C 0008E5FC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800916A0 0008E600 89 21 00 14 */ lbz r9, 0x14(r1) +/* 800916A4 0008E604 38 C1 00 08 */ addi r6, r1, 8 +/* 800916A8 0008E608 80 03 01 74 */ lwz r0, 0x174(r3) +/* 800916AC 0008E60C 38 E1 00 0C */ addi r7, r1, 0xc +/* 800916B0 0008E610 81 03 01 7C */ lwz r8, 0x17c(r3) +/* 800916B4 0008E614 38 61 00 1C */ addi r3, r1, 0x1c +/* 800916B8 0008E618 54 00 18 38 */ slwi r0, r0, 3 +/* 800916BC 0008E61C 90 81 00 08 */ stw r4, 8(r1) +/* 800916C0 0008E620 7C 08 02 14 */ add r0, r8, r0 +/* 800916C4 0008E624 38 81 00 20 */ addi r4, r1, 0x20 +/* 800916C8 0008E628 99 21 00 10 */ stb r9, 0x10(r1) +/* 800916CC 0008E62C 90 01 00 30 */ stw r0, 0x30(r1) +/* 800916D0 0008E630 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800916D4 0008E634 91 01 00 28 */ stw r8, 0x28(r1) +/* 800916D8 0008E638 99 21 00 0C */ stb r9, 0xc(r1) +/* 800916DC 0008E63C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800916E0 0008E640 91 01 00 20 */ stw r8, 0x20(r1) +/* 800916E4 0008E644 48 00 0C FD */ bl "lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPCQ24rstl10pairPCQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>" +/* 800916E8 0008E648 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800916EC 0008E64C 38 80 00 00 */ li r4, 0 +/* 800916F0 0008E650 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800916F4 0008E654 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800916F8 0008E658 7C 05 00 40 */ cmplw r5, r0 +/* 800916FC 0008E65C 41 82 00 18 */ beq lbl_80091714 +/* 80091700 0008E660 80 61 00 08 */ lwz r3, 8(r1) +/* 80091704 0008E664 80 05 00 00 */ lwz r0, 0(r5) +/* 80091708 0008E668 7C 03 00 40 */ cmplw r3, r0 +/* 8009170C 0008E66C 41 80 00 08 */ blt lbl_80091714 +/* 80091710 0008E670 38 80 00 01 */ li r4, 1 +lbl_80091714: +/* 80091714 0008E674 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80091718 0008E678 38 61 00 2C */ addi r3, r1, 0x2c +/* 8009171C 0008E67C 41 82 00 08 */ beq lbl_80091724 +/* 80091720 0008E680 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80091724: +/* 80091724 0008E684 80 63 00 00 */ lwz r3, 0(r3) +/* 80091728 0008E688 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8009172C 0008E68C C0 23 00 04 */ lfs f1, 4(r3) +/* 80091730 0008E690 7C 08 03 A6 */ mtlr r0 +/* 80091734 0008E694 38 21 00 40 */ addi r1, r1, 0x40 +/* 80091738 0008E698 4E 80 00 20 */ blr + +.global InitializeScanTimes__12CPlayerStateFv +InitializeScanTimes__12CPlayerStateFv: +/* 8009173C 0008E69C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80091740 0008E6A0 7C 08 02 A6 */ mflr r0 +/* 80091744 0008E6A4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80091748 0008E6A8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8009174C 0008E6AC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80091750 0008E6B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80091754 0008E6B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80091758 0008E6B8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009175C 0008E6BC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80091760 0008E6C0 7C 7C 1B 78 */ mr r28, r3 +/* 80091764 0008E6C4 80 03 01 74 */ lwz r0, 0x174(r3) +/* 80091768 0008E6C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8009176C 0008E6CC 40 82 00 90 */ bne lbl_800917FC +/* 80091770 0008E6D0 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13) +/* 80091774 0008E6D4 38 7C 01 70 */ addi r3, r28, 0x170 +/* 80091778 0008E6D8 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8009177C 0008E6DC 48 00 0D E5 */ bl sub_80092560 +/* 80091780 0008E6E0 83 DF 00 2C */ lwz r30, 0x2c(r31) +/* 80091784 0008E6E4 48 00 00 60 */ b lbl_800917E4 +lbl_80091788: +/* 80091788 0008E6E8 80 1C 01 74 */ lwz r0, 0x174(r28) +/* 8009178C 0008E6EC 80 BC 01 78 */ lwz r5, 0x178(r28) +/* 80091790 0008E6F0 83 BE 00 00 */ lwz r29, 0(r30) +/* 80091794 0008E6F4 7C 00 28 00 */ cmpw r0, r5 +/* 80091798 0008E6F8 C3 ED 85 98 */ lfs f31, lbl_805A7158@sda21(r13) +/* 8009179C 0008E6FC 41 80 00 1C */ blt lbl_800917B8 +/* 800917A0 0008E700 2C 05 00 00 */ cmpwi r5, 0 +/* 800917A4 0008E704 38 7C 01 70 */ addi r3, r28, 0x170 +/* 800917A8 0008E708 38 80 00 04 */ li r4, 4 +/* 800917AC 0008E70C 41 82 00 08 */ beq lbl_800917B4 +/* 800917B0 0008E710 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800917B4: +/* 800917B4 0008E714 48 00 0D AD */ bl sub_80092560 +lbl_800917B8: +/* 800917B8 0008E718 80 1C 01 74 */ lwz r0, 0x174(r28) +/* 800917BC 0008E71C 80 7C 01 7C */ lwz r3, 0x17c(r28) +/* 800917C0 0008E720 54 00 18 38 */ slwi r0, r0, 3 +/* 800917C4 0008E724 7C 63 02 15 */ add. r3, r3, r0 +/* 800917C8 0008E728 41 82 00 0C */ beq lbl_800917D4 +/* 800917CC 0008E72C 93 A3 00 00 */ stw r29, 0(r3) +/* 800917D0 0008E730 D3 E3 00 04 */ stfs f31, 4(r3) +lbl_800917D4: +/* 800917D4 0008E734 80 7C 01 74 */ lwz r3, 0x174(r28) +/* 800917D8 0008E738 3B DE 00 08 */ addi r30, r30, 8 +/* 800917DC 0008E73C 38 03 00 01 */ addi r0, r3, 1 +/* 800917E0 0008E740 90 1C 01 74 */ stw r0, 0x174(r28) +lbl_800917E4: +/* 800917E4 0008E744 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 800917E8 0008E748 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 800917EC 0008E74C 54 00 18 38 */ slwi r0, r0, 3 +/* 800917F0 0008E750 7C 03 02 14 */ add r0, r3, r0 +/* 800917F4 0008E754 7C 1E 00 40 */ cmplw r30, r0 +/* 800917F8 0008E758 40 82 FF 90 */ bne lbl_80091788 +lbl_800917FC: +/* 800917FC 0008E75C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80091800 0008E760 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80091804 0008E764 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80091808 0008E768 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009180C 0008E76C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80091810 0008E770 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80091814 0008E774 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80091818 0008E778 7C 08 03 A6 */ mtlr r0 +/* 8009181C 0008E77C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80091820 0008E780 4E 80 00 20 */ blr + +.global GetEnergyTankCapacity__12CPlayerStateFv +GetEnergyTankCapacity__12CPlayerStateFv: +/* 80091824 0008E784 C0 22 8B 0C */ lfs f1, lbl_805AA82C@sda21(r2) +/* 80091828 0008E788 4E 80 00 20 */ blr + +.global GetBaseHealthCapacity__12CPlayerStateFv +GetBaseHealthCapacity__12CPlayerStateFv: +/* 8009182C 0008E78C C0 22 8B 10 */ lfs f1, lbl_805AA830@sda21(r2) +/* 80091830 0008E790 4E 80 00 20 */ blr + +.global GetIsVisorTransitioning__12CPlayerStateCFv +GetIsVisorTransitioning__12CPlayerStateCFv: +/* 80091834 0008E794 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80091838 0008E798 38 A0 00 00 */ li r5, 0 +/* 8009183C 0008E79C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80091840 0008E7A0 7C 04 00 00 */ cmpw r4, r0 +/* 80091844 0008E7A4 40 82 00 14 */ bne lbl_80091858 +/* 80091848 0008E7A8 C0 22 8B 14 */ lfs f1, lbl_805AA834@sda21(r2) +/* 8009184C 0008E7AC C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80091850 0008E7B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80091854 0008E7B4 40 81 00 08 */ ble lbl_8009185C +lbl_80091858: +/* 80091858 0008E7B8 38 A0 00 01 */ li r5, 1 +lbl_8009185C: +/* 8009185C 0008E7BC 7C A3 2B 78 */ mr r3, r5 +/* 80091860 0008E7C0 4E 80 00 20 */ blr + +.global GetVisorTransitionFactor__12CPlayerStateCFv +GetVisorTransitionFactor__12CPlayerStateCFv: +/* 80091864 0008E7C4 C0 23 00 1C */ lfs f1, 0x1c(r3) +/* 80091868 0008E7C8 C0 02 8B 14 */ lfs f0, lbl_805AA834@sda21(r2) +/* 8009186C 0008E7CC EC 21 00 24 */ fdivs f1, f1, f0 +/* 80091870 0008E7D0 4E 80 00 20 */ blr + +.global UpdateVisorTransition__12CPlayerStateFf +UpdateVisorTransition__12CPlayerStateFf: +/* 80091874 0008E7D4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80091878 0008E7D8 7C 08 02 A6 */ mflr r0 +/* 8009187C 0008E7DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80091880 0008E7E0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80091884 0008E7E4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80091888 0008E7E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009188C 0008E7EC 7C 7F 1B 78 */ mr r31, r3 +/* 80091890 0008E7F0 FF E0 08 90 */ fmr f31, f1 +/* 80091894 0008E7F4 4B FF FF A1 */ bl GetIsVisorTransitioning__12CPlayerStateCFv +/* 80091898 0008E7F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009189C 0008E7FC 41 82 00 9C */ beq lbl_80091938 +/* 800918A0 0008E800 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 800918A4 0008E804 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 800918A8 0008E808 7C 03 00 00 */ cmpw r3, r0 +/* 800918AC 0008E80C 40 82 00 34 */ bne lbl_800918E0 +/* 800918B0 0008E810 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 800918B4 0008E814 C0 02 8B 18 */ lfs f0, lbl_805AA838@sda21(r2) +/* 800918B8 0008E818 EC 21 F8 2A */ fadds f1, f1, f31 +/* 800918BC 0008E81C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800918C0 0008E820 D0 21 00 08 */ stfs f1, 8(r1) +/* 800918C4 0008E824 40 80 00 0C */ bge lbl_800918D0 +/* 800918C8 0008E828 38 61 00 08 */ addi r3, r1, 8 +/* 800918CC 0008E82C 48 00 00 08 */ b lbl_800918D4 +lbl_800918D0: +/* 800918D0 0008E830 38 62 8B 18 */ addi r3, r2, lbl_805AA838@sda21 +lbl_800918D4: +/* 800918D4 0008E834 C0 03 00 00 */ lfs f0, 0(r3) +/* 800918D8 0008E838 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 800918DC 0008E83C 48 00 00 5C */ b lbl_80091938 +lbl_800918E0: +/* 800918E0 0008E840 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 800918E4 0008E844 C0 02 8B 1C */ lfs f0, lbl_805AA83C@sda21(r2) +/* 800918E8 0008E848 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800918EC 0008E84C D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 800918F0 0008E850 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 800918F4 0008E854 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800918F8 0008E858 40 80 00 40 */ bge lbl_80091938 +/* 800918FC 0008E85C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80091900 0008E860 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80091904 0008E864 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 80091908 0008E868 FC 00 02 10 */ fabs f0, f0 +/* 8009190C 0008E86C FC 00 00 18 */ frsp f0, f0 +/* 80091910 0008E870 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80091914 0008E874 C0 2D 85 94 */ lfs f1, lbl_805A7154@sda21(r13) +/* 80091918 0008E878 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8009191C 0008E87C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80091920 0008E880 40 80 00 0C */ bge lbl_8009192C +/* 80091924 0008E884 38 6D 85 94 */ addi r3, r13, lbl_805A7154@sda21 +/* 80091928 0008E888 48 00 00 08 */ b lbl_80091930 +lbl_8009192C: +/* 8009192C 0008E88C 38 7F 00 1C */ addi r3, r31, 0x1c +lbl_80091930: +/* 80091930 0008E890 C0 03 00 00 */ lfs f0, 0(r3) +/* 80091934 0008E894 D0 1F 00 1C */ stfs f0, 0x1c(r31) +lbl_80091938: +/* 80091938 0008E898 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8009193C 0008E89C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80091940 0008E8A0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80091944 0008E8A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80091948 0008E8A8 7C 08 03 A6 */ mtlr r0 +/* 8009194C 0008E8AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80091950 0008E8B0 4E 80 00 20 */ blr + +.global StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor: +/* 80091954 0008E8B4 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80091958 0008E8B8 7C 04 00 00 */ cmpw r4, r0 +/* 8009195C 0008E8BC 4D 82 00 20 */ beqlr +/* 80091960 0008E8C0 90 83 00 18 */ stw r4, 0x18(r3) +/* 80091964 0008E8C4 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80091968 0008E8C8 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8009196C 0008E8CC 7C 04 00 00 */ cmpw r4, r0 +/* 80091970 0008E8D0 4E 80 00 20 */ blr + +.global ResetVisor__12CPlayerStateFv +ResetVisor__12CPlayerStateFv: +/* 80091974 0008E8D4 38 00 00 00 */ li r0, 0 +/* 80091978 0008E8D8 C0 02 8B 1C */ lfs f0, lbl_805AA83C@sda21(r2) +/* 8009197C 0008E8DC 90 03 00 18 */ stw r0, 0x18(r3) +/* 80091980 0008E8E0 90 03 00 14 */ stw r0, 0x14(r3) +/* 80091984 0008E8E4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80091988 0008E8E8 4E 80 00 20 */ blr + +.global ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType +ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType: +/* 8009198C 0008E8EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80091990 0008E8F0 7C 08 02 A6 */ mflr r0 +/* 80091994 0008E8F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80091998 0008E8F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009199C 0008E8FC 7C 9F 23 78 */ mr r31, r4 +/* 800919A0 0008E900 93 C1 00 08 */ stw r30, 8(r1) +/* 800919A4 0008E904 7C 7E 1B 78 */ mr r30, r3 +/* 800919A8 0008E908 48 00 01 19 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800919AC 0008E90C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800919B0 0008E910 41 82 00 24 */ beq lbl_800919D4 +/* 800919B4 0008E914 38 00 00 01 */ li r0, 1 +/* 800919B8 0008E918 80 7E 00 04 */ lwz r3, 4(r30) +/* 800919BC 0008E91C 7C 00 F8 30 */ slw r0, r0, r31 +/* 800919C0 0008E920 7C 63 00 38 */ and r3, r3, r0 +/* 800919C4 0008E924 7C 03 00 D0 */ neg r0, r3 +/* 800919C8 0008E928 7C 00 1B 78 */ or r0, r0, r3 +/* 800919CC 0008E92C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800919D0 0008E930 48 00 00 08 */ b lbl_800919D8 +lbl_800919D4: +/* 800919D4 0008E934 38 60 00 00 */ li r3, 0 +lbl_800919D8: +/* 800919D8 0008E938 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800919DC 0008E93C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800919E0 0008E940 83 C1 00 08 */ lwz r30, 8(r1) +/* 800919E4 0008E944 7C 08 03 A6 */ mtlr r0 +/* 800919E8 0008E948 38 21 00 10 */ addi r1, r1, 0x10 +/* 800919EC 0008E94C 4E 80 00 20 */ blr + +.global DisableItem__12CPlayerStateFQ212CPlayerState9EItemType +DisableItem__12CPlayerStateFQ212CPlayerState9EItemType: +/* 800919F0 0008E950 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800919F4 0008E954 7C 08 02 A6 */ mflr r0 +/* 800919F8 0008E958 90 01 00 14 */ stw r0, 0x14(r1) +/* 800919FC 0008E95C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80091A00 0008E960 7C 9F 23 78 */ mr r31, r4 +/* 80091A04 0008E964 93 C1 00 08 */ stw r30, 8(r1) +/* 80091A08 0008E968 7C 7E 1B 78 */ mr r30, r3 +/* 80091A0C 0008E96C 48 00 00 B5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091A10 0008E970 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80091A14 0008E974 41 82 00 18 */ beq lbl_80091A2C +/* 80091A18 0008E978 38 00 00 01 */ li r0, 1 +/* 80091A1C 0008E97C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80091A20 0008E980 7C 00 F8 30 */ slw r0, r0, r31 +/* 80091A24 0008E984 7C 60 00 78 */ andc r0, r3, r0 +/* 80091A28 0008E988 90 1E 00 04 */ stw r0, 4(r30) +lbl_80091A2C: +/* 80091A2C 0008E98C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80091A30 0008E990 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80091A34 0008E994 83 C1 00 08 */ lwz r30, 8(r1) +/* 80091A38 0008E998 7C 08 03 A6 */ mtlr r0 +/* 80091A3C 0008E99C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80091A40 0008E9A0 4E 80 00 20 */ blr + +.global EnableItem__12CPlayerStateFQ212CPlayerState9EItemType +EnableItem__12CPlayerStateFQ212CPlayerState9EItemType: +/* 80091A44 0008E9A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80091A48 0008E9A8 7C 08 02 A6 */ mflr r0 +/* 80091A4C 0008E9AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80091A50 0008E9B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80091A54 0008E9B4 7C 9F 23 78 */ mr r31, r4 +/* 80091A58 0008E9B8 93 C1 00 08 */ stw r30, 8(r1) +/* 80091A5C 0008E9BC 7C 7E 1B 78 */ mr r30, r3 +/* 80091A60 0008E9C0 48 00 00 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091A64 0008E9C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80091A68 0008E9C8 41 82 00 18 */ beq lbl_80091A80 +/* 80091A6C 0008E9CC 38 00 00 01 */ li r0, 1 +/* 80091A70 0008E9D0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80091A74 0008E9D4 7C 00 F8 30 */ slw r0, r0, r31 +/* 80091A78 0008E9D8 7C 60 03 78 */ or r0, r3, r0 +/* 80091A7C 0008E9DC 90 1E 00 04 */ stw r0, 4(r30) +lbl_80091A80: +/* 80091A80 0008E9E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80091A84 0008E9E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80091A88 0008E9E8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80091A8C 0008E9EC 7C 08 03 A6 */ mtlr r0 +/* 80091A90 0008E9F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80091A94 0008E9F4 4E 80 00 20 */ blr + +.global GetPowerUp__12CPlayerStateFQ212CPlayerState9EItemType +GetPowerUp__12CPlayerStateFQ212CPlayerState9EItemType: +/* 80091A98 0008E9F8 2C 04 00 00 */ cmpwi r4, 0 +/* 80091A9C 0008E9FC 41 80 00 0C */ blt lbl_80091AA8 +/* 80091AA0 0008EA00 2C 04 00 28 */ cmpwi r4, 0x28 +/* 80091AA4 0008EA04 40 81 00 0C */ ble lbl_80091AB0 +lbl_80091AA8: +/* 80091AA8 0008EA08 38 60 00 00 */ li r3, 0 +/* 80091AAC 0008EA0C 4E 80 00 20 */ blr +lbl_80091AB0: +/* 80091AB0 0008EA10 54 80 18 38 */ slwi r0, r4, 3 +/* 80091AB4 0008EA14 7C 63 02 14 */ add r3, r3, r0 +/* 80091AB8 0008EA18 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 80091ABC 0008EA1C 4E 80 00 20 */ blr + +.global HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType: +/* 80091AC0 0008EA20 2C 04 00 00 */ cmpwi r4, 0 +/* 80091AC4 0008EA24 41 80 00 0C */ blt lbl_80091AD0 +/* 80091AC8 0008EA28 2C 04 00 28 */ cmpwi r4, 0x28 +/* 80091ACC 0008EA2C 40 81 00 0C */ ble lbl_80091AD8 +lbl_80091AD0: +/* 80091AD0 0008EA30 38 60 00 00 */ li r3, 0 +/* 80091AD4 0008EA34 4E 80 00 20 */ blr +lbl_80091AD8: +/* 80091AD8 0008EA38 54 80 18 38 */ slwi r0, r4, 3 +/* 80091ADC 0008EA3C 7C 63 02 14 */ add r3, r3, r0 +/* 80091AE0 0008EA40 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 80091AE4 0008EA44 7C 03 00 D0 */ neg r0, r3 +/* 80091AE8 0008EA48 7C 00 18 78 */ andc r0, r0, r3 +/* 80091AEC 0008EA4C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80091AF0 0008EA50 4E 80 00 20 */ blr + +.global GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType +GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType: +/* 80091AF4 0008EA54 2C 04 00 00 */ cmpwi r4, 0 +/* 80091AF8 0008EA58 41 80 00 0C */ blt lbl_80091B04 +/* 80091AFC 0008EA5C 2C 04 00 28 */ cmpwi r4, 0x28 +/* 80091B00 0008EA60 40 81 00 0C */ ble lbl_80091B0C +lbl_80091B04: +/* 80091B04 0008EA64 38 60 00 00 */ li r3, 0 +/* 80091B08 0008EA68 4E 80 00 20 */ blr +lbl_80091B0C: +/* 80091B0C 0008EA6C 54 80 18 38 */ slwi r0, r4, 3 +/* 80091B10 0008EA70 7C 63 02 14 */ add r3, r3, r0 +/* 80091B14 0008EA74 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 80091B18 0008EA78 4E 80 00 20 */ blr + +.global GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType: +/* 80091B1C 0008EA7C 2C 04 00 00 */ cmpwi r4, 0 +/* 80091B20 0008EA80 41 80 00 0C */ blt lbl_80091B2C +/* 80091B24 0008EA84 2C 04 00 28 */ cmpwi r4, 0x28 +/* 80091B28 0008EA88 40 81 00 0C */ ble lbl_80091B34 +lbl_80091B2C: +/* 80091B2C 0008EA8C 38 60 00 00 */ li r3, 0 +/* 80091B30 0008EA90 4E 80 00 20 */ blr +lbl_80091B34: +/* 80091B34 0008EA94 2C 04 00 0F */ cmpwi r4, 0xf +/* 80091B38 0008EA98 41 82 00 44 */ beq lbl_80091B7C +/* 80091B3C 0008EA9C 40 80 00 24 */ bge lbl_80091B60 +/* 80091B40 0008EAA0 2C 04 00 07 */ cmpwi r4, 7 +/* 80091B44 0008EAA4 40 80 00 10 */ bge lbl_80091B54 +/* 80091B48 0008EAA8 2C 04 00 04 */ cmpwi r4, 4 +/* 80091B4C 0008EAAC 41 82 00 30 */ beq lbl_80091B7C +/* 80091B50 0008EAB0 48 00 00 3C */ b lbl_80091B8C +lbl_80091B54: +/* 80091B54 0008EAB4 2C 04 00 09 */ cmpwi r4, 9 +/* 80091B58 0008EAB8 40 80 00 34 */ bge lbl_80091B8C +/* 80091B5C 0008EABC 48 00 00 20 */ b lbl_80091B7C +lbl_80091B60: +/* 80091B60 0008EAC0 2C 04 00 1D */ cmpwi r4, 0x1d +/* 80091B64 0008EAC4 40 80 00 10 */ bge lbl_80091B74 +/* 80091B68 0008EAC8 2C 04 00 18 */ cmpwi r4, 0x18 +/* 80091B6C 0008EACC 41 82 00 10 */ beq lbl_80091B7C +/* 80091B70 0008EAD0 48 00 00 1C */ b lbl_80091B8C +lbl_80091B74: +/* 80091B74 0008EAD4 2C 04 00 29 */ cmpwi r4, 0x29 +/* 80091B78 0008EAD8 40 80 00 14 */ bge lbl_80091B8C +lbl_80091B7C: +/* 80091B7C 0008EADC 54 80 18 38 */ slwi r0, r4, 3 +/* 80091B80 0008EAE0 7C 63 02 14 */ add r3, r3, r0 +/* 80091B84 0008EAE4 80 63 00 28 */ lwz r3, 0x28(r3) +/* 80091B88 0008EAE8 4E 80 00 20 */ blr +lbl_80091B8C: +/* 80091B8C 0008EAEC 38 60 00 00 */ li r3, 0 +/* 80091B90 0008EAF0 4E 80 00 20 */ blr + +.global DecrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei +DecrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei: +/* 80091B94 0008EAF4 2C 04 00 00 */ cmpwi r4, 0 +/* 80091B98 0008EAF8 4D 80 00 20 */ bltlr +/* 80091B9C 0008EAFC 2C 04 00 28 */ cmpwi r4, 0x28 +/* 80091BA0 0008EB00 40 81 00 08 */ ble lbl_80091BA8 + +.global sub_80091ba4 +sub_80091ba4: +/* 80091BA4 0008EB04 4E 80 00 20 */ blr +lbl_80091BA8: +/* 80091BA8 0008EB08 2C 04 00 07 */ cmpwi r4, 7 +/* 80091BAC 0008EB0C 40 80 00 10 */ bge lbl_80091BBC +/* 80091BB0 0008EB10 2C 04 00 04 */ cmpwi r4, 4 +/* 80091BB4 0008EB14 41 82 00 10 */ beq lbl_80091BC4 + +.global sub_80091bb8 +sub_80091bb8: +/* 80091BB8 0008EB18 4E 80 00 20 */ blr +lbl_80091BBC: +/* 80091BBC 0008EB1C 2C 04 00 09 */ cmpwi r4, 9 +/* 80091BC0 0008EB20 4C 80 00 20 */ bgelr +lbl_80091BC4: +/* 80091BC4 0008EB24 54 80 18 38 */ slwi r0, r4, 3 +/* 80091BC8 0008EB28 7C 63 02 14 */ add r3, r3, r0 +/* 80091BCC 0008EB2C 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80091BD0 0008EB30 7C 05 00 50 */ subf r0, r5, r0 +/* 80091BD4 0008EB34 90 03 00 28 */ stw r0, 0x28(r3) +/* 80091BD8 0008EB38 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80091BDC 0008EB3C 2C 00 00 00 */ cmpwi r0, 0 +/* 80091BE0 0008EB40 4C 80 00 20 */ bgelr +/* 80091BE4 0008EB44 38 00 00 00 */ li r0, 0 +/* 80091BE8 0008EB48 90 03 00 28 */ stw r0, 0x28(r3) +/* 80091BEC 0008EB4C 4E 80 00 20 */ blr + +.global IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei +IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei: +/* 80091BF0 0008EB50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80091BF4 0008EB54 7C 08 02 A6 */ mflr r0 +/* 80091BF8 0008EB58 90 01 00 34 */ stw r0, 0x34(r1) +/* 80091BFC 0008EB5C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80091C00 0008EB60 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80091C04 0008EB64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80091C08 0008EB68 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80091C0C 0008EB6C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80091C10 0008EB70 7C 9E 23 79 */ or. r30, r4, r4 +/* 80091C14 0008EB74 7C 7D 1B 78 */ mr r29, r3 +/* 80091C18 0008EB78 41 80 00 C4 */ blt lbl_80091CDC +/* 80091C1C 0008EB7C 2C 1E 00 28 */ cmpwi r30, 0x28 +/* 80091C20 0008EB80 40 81 00 08 */ ble lbl_80091C28 +/* 80091C24 0008EB84 48 00 00 B8 */ b lbl_80091CDC +lbl_80091C28: +/* 80091C28 0008EB88 2C 05 00 00 */ cmpwi r5, 0 +/* 80091C2C 0008EB8C 41 80 00 B0 */ blt lbl_80091CDC +/* 80091C30 0008EB90 38 1E FF FC */ addi r0, r30, -4 +/* 80091C34 0008EB94 28 00 00 24 */ cmplwi r0, 0x24 +/* 80091C38 0008EB98 41 81 00 8C */ bgt lbl_80091CC4 +/* 80091C3C 0008EB9C 3C 80 80 3E */ lis r4, lbl_803DAD40@ha +/* 80091C40 0008EBA0 54 00 10 3A */ slwi r0, r0, 2 +/* 80091C44 0008EBA4 38 84 AD 40 */ addi r4, r4, lbl_803DAD40@l +/* 80091C48 0008EBA8 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80091C4C 0008EBAC 7C 09 03 A6 */ mtctr r0 +/* 80091C50 0008EBB0 4E 80 04 20 */ bctr +/* 80091C54 0008EBB4 57 C0 18 38 */ slwi r0, r30, 3 +/* 80091C58 0008EBB8 7C 9D 02 14 */ add r4, r29, r0 +/* 80091C5C 0008EBBC 80 04 00 28 */ lwz r0, 0x28(r4) +/* 80091C60 0008EBC0 80 64 00 2C */ lwz r3, 0x2c(r4) +/* 80091C64 0008EBC4 7C 00 2A 14 */ add r0, r0, r5 +/* 80091C68 0008EBC8 90 04 00 28 */ stw r0, 0x28(r4) +/* 80091C6C 0008EBCC 80 04 00 28 */ lwz r0, 0x28(r4) +/* 80091C70 0008EBD0 7C 00 18 00 */ cmpw r0, r3 +/* 80091C74 0008EBD4 40 81 00 50 */ ble lbl_80091CC4 +/* 80091C78 0008EBD8 90 64 00 28 */ stw r3, 0x28(r4) +/* 80091C7C 0008EBDC 48 00 00 48 */ b lbl_80091CC4 +/* 80091C80 0008EBE0 37 FD 00 0C */ addic. r31, r29, 0xc +/* 80091C84 0008EBE4 41 82 00 40 */ beq lbl_80091CC4 +/* 80091C88 0008EBE8 6C A4 80 00 */ xoris r4, r5, 0x8000 +/* 80091C8C 0008EBEC 3C 00 43 30 */ lis r0, 0x4330 +/* 80091C90 0008EBF0 90 81 00 0C */ stw r4, 0xc(r1) +/* 80091C94 0008EBF4 C8 42 8B 20 */ lfd f2, lbl_805AA840@sda21(r2) +/* 80091C98 0008EBF8 90 01 00 08 */ stw r0, 8(r1) +/* 80091C9C 0008EBFC C0 1F 00 00 */ lfs f0, 0(r31) +/* 80091CA0 0008EC00 C8 21 00 08 */ lfd f1, 8(r1) +/* 80091CA4 0008EC04 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80091CA8 0008EC08 EF E1 00 2A */ fadds f31, f1, f0 +/* 80091CAC 0008EC0C 48 00 00 85 */ bl CalculateHealth__12CPlayerStateFUi +/* 80091CB0 0008EC10 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 80091CB4 0008EC14 40 81 00 0C */ ble lbl_80091CC0 +/* 80091CB8 0008EC18 D0 3F 00 00 */ stfs f1, 0(r31) +/* 80091CBC 0008EC1C 48 00 00 08 */ b lbl_80091CC4 +lbl_80091CC0: +/* 80091CC0 0008EC20 D3 FF 00 00 */ stfs f31, 0(r31) +lbl_80091CC4: +/* 80091CC4 0008EC24 2C 1E 00 18 */ cmpwi r30, 0x18 +/* 80091CC8 0008EC28 40 82 00 14 */ bne lbl_80091CDC +/* 80091CCC 0008EC2C 7F A3 EB 78 */ mr r3, r29 +/* 80091CD0 0008EC30 38 80 00 1A */ li r4, 0x1a +/* 80091CD4 0008EC34 38 A0 27 0F */ li r5, 0x270f +/* 80091CD8 0008EC38 4B FF FF 19 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei +lbl_80091CDC: +/* 80091CDC 0008EC3C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80091CE0 0008EC40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80091CE4 0008EC44 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80091CE8 0008EC48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80091CEC 0008EC4C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80091CF0 0008EC50 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80091CF4 0008EC54 7C 08 03 A6 */ mtlr r0 +/* 80091CF8 0008EC58 38 21 00 30 */ addi r1, r1, 0x30 +/* 80091CFC 0008EC5C 4E 80 00 20 */ blr + +.global ResetAndIncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei +ResetAndIncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei: +/* 80091D00 0008EC60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80091D04 0008EC64 7C 08 02 A6 */ mflr r0 +/* 80091D08 0008EC68 38 E0 00 00 */ li r7, 0 +/* 80091D0C 0008EC6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80091D10 0008EC70 54 80 18 38 */ slwi r0, r4, 3 +/* 80091D14 0008EC74 7C C3 02 14 */ add r6, r3, r0 +/* 80091D18 0008EC78 90 E6 00 28 */ stw r7, 0x28(r6) +/* 80091D1C 0008EC7C 4B FF FE D5 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei +/* 80091D20 0008EC80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80091D24 0008EC84 7C 08 03 A6 */ mtlr r0 +/* 80091D28 0008EC88 38 21 00 10 */ addi r1, r1, 0x10 +/* 80091D2C 0008EC8C 4E 80 00 20 */ blr + +.global CalculateHealth__12CPlayerStateFUi +CalculateHealth__12CPlayerStateFUi: +/* 80091D30 0008EC90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80091D34 0008EC94 3C 00 43 30 */ lis r0, 0x4330 +/* 80091D38 0008EC98 C8 42 8B 20 */ lfd f2, lbl_805AA840@sda21(r2) +/* 80091D3C 0008EC9C 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 80091D40 0008ECA0 90 01 00 08 */ stw r0, 8(r1) +/* 80091D44 0008ECA4 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 80091D48 0008ECA8 C0 62 8B 0C */ lfs f3, lbl_805AA82C@sda21(r2) +/* 80091D4C 0008ECAC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80091D50 0008ECB0 C0 02 8B 10 */ lfs f0, lbl_805AA830@sda21(r2) +/* 80091D54 0008ECB4 C8 21 00 08 */ lfd f1, 8(r1) +/* 80091D58 0008ECB8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80091D5C 0008ECBC EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 80091D60 0008ECC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80091D64 0008ECC4 4E 80 00 20 */ blr + +.global InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei +InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei: +/* 80091D68 0008ECC8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80091D6C 0008ECCC 7C 08 02 A6 */ mflr r0 +/* 80091D70 0008ECD0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80091D74 0008ECD4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80091D78 0008ECD8 7C 7F 1B 78 */ mr r31, r3 +/* 80091D7C 0008ECDC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80091D80 0008ECE0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80091D84 0008ECE4 7C 9D 23 79 */ or. r29, r4, r4 +/* 80091D88 0008ECE8 41 80 00 E8 */ blt lbl_80091E70 +/* 80091D8C 0008ECEC 2C 1D 00 28 */ cmpwi r29, 0x28 +/* 80091D90 0008ECF0 40 81 00 08 */ ble lbl_80091D98 +/* 80091D94 0008ECF4 48 00 00 DC */ b lbl_80091E70 +lbl_80091D98: +/* 80091D98 0008ECF8 57 A0 18 38 */ slwi r0, r29, 3 +/* 80091D9C 0008ECFC 3C 60 80 3D */ lis r3, lbl_803CD6C0@ha +/* 80091DA0 0008ED00 7F DF 02 14 */ add r30, r31, r0 +/* 80091DA4 0008ED04 57 A6 10 3A */ slwi r6, r29, 2 +/* 80091DA8 0008ED08 80 FE 00 2C */ lwz r7, 0x2c(r30) +/* 80091DAC 0008ED0C 38 03 D6 C0 */ addi r0, r3, lbl_803CD6C0@l +/* 80091DB0 0008ED10 38 81 00 08 */ addi r4, r1, 8 +/* 80091DB4 0008ED14 3B DE 00 28 */ addi r30, r30, 0x28 +/* 80091DB8 0008ED18 7C 65 3A 14 */ add r3, r5, r7 +/* 80091DBC 0008ED1C 7C A0 32 14 */ add r5, r0, r6 +/* 80091DC0 0008ED20 90 61 00 08 */ stw r3, 8(r1) +/* 80091DC4 0008ED24 38 6D 85 90 */ addi r3, r13, lbl_805A7150@sda21 +/* 80091DC8 0008ED28 4B FC 82 9D */ bl "Clamp__5CMathFRCiRCiRCi" +/* 80091DCC 0008ED2C 80 03 00 00 */ lwz r0, 0(r3) +/* 80091DD0 0008ED30 90 1E 00 04 */ stw r0, 4(r30) +/* 80091DD4 0008ED34 80 7E 00 04 */ lwz r3, 4(r30) +/* 80091DD8 0008ED38 80 1E 00 00 */ lwz r0, 0(r30) +/* 80091DDC 0008ED3C 7C 03 00 00 */ cmpw r3, r0 +/* 80091DE0 0008ED40 40 80 00 0C */ bge lbl_80091DEC +/* 80091DE4 0008ED44 38 7E 00 04 */ addi r3, r30, 4 +/* 80091DE8 0008ED48 48 00 00 08 */ b lbl_80091DF0 +lbl_80091DEC: +/* 80091DEC 0008ED4C 7F C3 F3 78 */ mr r3, r30 +lbl_80091DF0: +/* 80091DF0 0008ED50 80 03 00 00 */ lwz r0, 0(r3) +/* 80091DF4 0008ED54 2C 1D 00 14 */ cmpwi r29, 0x14 +/* 80091DF8 0008ED58 90 1E 00 00 */ stw r0, 0(r30) +/* 80091DFC 0008ED5C 41 80 00 74 */ blt lbl_80091E70 +/* 80091E00 0008ED60 2C 1D 00 17 */ cmpwi r29, 0x17 +/* 80091E04 0008ED64 41 81 00 6C */ bgt lbl_80091E70 +/* 80091E08 0008ED68 7F E3 FB 78 */ mr r3, r31 +/* 80091E0C 0008ED6C 38 80 00 17 */ li r4, 0x17 +/* 80091E10 0008ED70 4B FF FC B1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091E14 0008ED74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80091E18 0008ED78 41 82 00 10 */ beq lbl_80091E28 +/* 80091E1C 0008ED7C 38 00 00 03 */ li r0, 3 +/* 80091E20 0008ED80 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80091E24 0008ED84 48 00 00 4C */ b lbl_80091E70 +lbl_80091E28: +/* 80091E28 0008ED88 7F E3 FB 78 */ mr r3, r31 +/* 80091E2C 0008ED8C 38 80 00 15 */ li r4, 0x15 +/* 80091E30 0008ED90 4B FF FC 91 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091E34 0008ED94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80091E38 0008ED98 41 82 00 10 */ beq lbl_80091E48 +/* 80091E3C 0008ED9C 38 00 00 01 */ li r0, 1 +/* 80091E40 0008EDA0 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80091E44 0008EDA4 48 00 00 2C */ b lbl_80091E70 +lbl_80091E48: +/* 80091E48 0008EDA8 7F E3 FB 78 */ mr r3, r31 +/* 80091E4C 0008EDAC 38 80 00 16 */ li r4, 0x16 +/* 80091E50 0008EDB0 4B FF FC 71 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80091E54 0008EDB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80091E58 0008EDB8 41 82 00 10 */ beq lbl_80091E68 +/* 80091E5C 0008EDBC 38 00 00 02 */ li r0, 2 +/* 80091E60 0008EDC0 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80091E64 0008EDC4 48 00 00 0C */ b lbl_80091E70 +lbl_80091E68: +/* 80091E68 0008EDC8 38 00 00 00 */ li r0, 0 +/* 80091E6C 0008EDCC 90 1F 00 20 */ stw r0, 0x20(r31) +lbl_80091E70: +/* 80091E70 0008EDD0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80091E74 0008EDD4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80091E78 0008EDD8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80091E7C 0008EDDC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80091E80 0008EDE0 7C 08 03 A6 */ mtlr r0 +/* 80091E84 0008EDE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80091E88 0008EDE8 4E 80 00 20 */ blr + +.global ReInitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei +ReInitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei: +/* 80091E8C 0008EDEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80091E90 0008EDF0 7C 08 02 A6 */ mflr r0 +/* 80091E94 0008EDF4 38 E0 00 00 */ li r7, 0 +/* 80091E98 0008EDF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80091E9C 0008EDFC 54 80 18 38 */ slwi r0, r4, 3 +/* 80091EA0 0008EE00 7C C3 02 14 */ add r6, r3, r0 +/* 80091EA4 0008EE04 90 E6 00 2C */ stw r7, 0x2c(r6) +/* 80091EA8 0008EE08 4B FF FE C1 */ bl InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei +/* 80091EAC 0008EE0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80091EB0 0008EE10 7C 08 03 A6 */ mtlr r0 +/* 80091EB4 0008EE14 38 21 00 10 */ addi r1, r1, 0x10 +/* 80091EB8 0008EE18 4E 80 00 20 */ blr + +.global PutTo__12CPlayerStateFR13COutPutStream +PutTo__12CPlayerStateFR13COutPutStream: +/* 80091EBC 0008EE1C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80091EC0 0008EE20 7C 08 02 A6 */ mflr r0 +/* 80091EC4 0008EE24 90 01 00 44 */ stw r0, 0x44(r1) +/* 80091EC8 0008EE28 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80091ECC 0008EE2C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80091ED0 0008EE30 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80091ED4 0008EE34 7C 7E 1B 78 */ mr r30, r3 +/* 80091ED8 0008EE38 7C 9F 23 78 */ mr r31, r4 +/* 80091EDC 0008EE3C 80 83 00 04 */ lwz r4, 4(r3) +/* 80091EE0 0008EE40 7F E3 FB 78 */ mr r3, r31 +/* 80091EE4 0008EE44 38 A0 00 20 */ li r5, 0x20 +/* 80091EE8 0008EE48 48 2A D4 D5 */ bl WriteBits__13COutputStreamFii +/* 80091EEC 0008EE4C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80091EF0 0008EE50 7F E3 FB 78 */ mr r3, r31 +/* 80091EF4 0008EE54 38 A0 00 20 */ li r5, 0x20 +/* 80091EF8 0008EE58 D0 01 00 08 */ stfs f0, 8(r1) +/* 80091EFC 0008EE5C 80 81 00 08 */ lwz r4, 8(r1) +/* 80091F00 0008EE60 48 2A D4 BD */ bl WriteBits__13COutputStreamFii +/* 80091F04 0008EE64 38 60 00 05 */ li r3, 5 +/* 80091F08 0008EE68 48 00 04 B9 */ bl GetBitCount__12CPlayerStateFUi +/* 80091F0C 0008EE6C 80 9E 00 08 */ lwz r4, 8(r30) +/* 80091F10 0008EE70 7C 65 1B 78 */ mr r5, r3 +/* 80091F14 0008EE74 7F E3 FB 78 */ mr r3, r31 +/* 80091F18 0008EE78 48 2A D4 A5 */ bl WriteBits__13COutputStreamFii +/* 80091F1C 0008EE7C 38 60 00 04 */ li r3, 4 +/* 80091F20 0008EE80 48 00 04 A1 */ bl GetBitCount__12CPlayerStateFUi +/* 80091F24 0008EE84 80 9E 00 20 */ lwz r4, 0x20(r30) +/* 80091F28 0008EE88 7C 65 1B 78 */ mr r5, r3 +/* 80091F2C 0008EE8C 7F E3 FB 78 */ mr r3, r31 +/* 80091F30 0008EE90 48 2A D4 8D */ bl WriteBits__13COutputStreamFii +/* 80091F34 0008EE94 3C 60 80 3D */ lis r3, lbl_803CD6C0@ha +/* 80091F38 0008EE98 3B 9E 00 28 */ addi r28, r30, 0x28 +/* 80091F3C 0008EE9C 3B A3 D6 C0 */ addi r29, r3, lbl_803CD6C0@l +/* 80091F40 0008EEA0 3B 60 00 00 */ li r27, 0 +lbl_80091F44: +/* 80091F44 0008EEA4 80 7D 00 00 */ lwz r3, 0(r29) +/* 80091F48 0008EEA8 2C 03 00 00 */ cmpwi r3, 0 +/* 80091F4C 0008EEAC 40 81 00 2C */ ble lbl_80091F78 +/* 80091F50 0008EEB0 48 00 04 71 */ bl GetBitCount__12CPlayerStateFUi +/* 80091F54 0008EEB4 7C 7A 1B 78 */ mr r26, r3 +/* 80091F58 0008EEB8 80 9C 00 00 */ lwz r4, 0(r28) +/* 80091F5C 0008EEBC 7F E3 FB 78 */ mr r3, r31 +/* 80091F60 0008EEC0 7F 45 D3 78 */ mr r5, r26 +/* 80091F64 0008EEC4 48 2A D4 59 */ bl WriteBits__13COutputStreamFii +/* 80091F68 0008EEC8 80 9C 00 04 */ lwz r4, 4(r28) +/* 80091F6C 0008EECC 7F E3 FB 78 */ mr r3, r31 +/* 80091F70 0008EED0 7F 45 D3 78 */ mr r5, r26 +/* 80091F74 0008EED4 48 2A D4 49 */ bl WriteBits__13COutputStreamFii +lbl_80091F78: +/* 80091F78 0008EED8 3B 7B 00 01 */ addi r27, r27, 1 +/* 80091F7C 0008EEDC 3B 9C 00 08 */ addi r28, r28, 8 +/* 80091F80 0008EEE0 2C 1B 00 29 */ cmpwi r27, 0x29 +/* 80091F84 0008EEE4 3B BD 00 04 */ addi r29, r29, 4 +/* 80091F88 0008EEE8 41 80 FF BC */ blt lbl_80091F44 +/* 80091F8C 0008EEEC 83 BE 01 7C */ lwz r29, 0x17c(r30) +/* 80091F90 0008EEF0 C3 E2 8B 28 */ lfs f31, lbl_805AA848@sda21(r2) +/* 80091F94 0008EEF4 48 00 00 30 */ b lbl_80091FC4 +lbl_80091F98: +/* 80091F98 0008EEF8 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80091F9C 0008EEFC 7F E3 FB 78 */ mr r3, r31 +/* 80091FA0 0008EF00 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80091FA4 0008EF04 4C 41 13 82 */ cror 2, 1, 2 +/* 80091FA8 0008EF08 40 82 00 0C */ bne lbl_80091FB4 +/* 80091FAC 0008EF0C 38 80 00 01 */ li r4, 1 +/* 80091FB0 0008EF10 48 00 00 08 */ b lbl_80091FB8 +lbl_80091FB4: +/* 80091FB4 0008EF14 38 80 00 00 */ li r4, 0 +lbl_80091FB8: +/* 80091FB8 0008EF18 38 A0 00 01 */ li r5, 1 +/* 80091FBC 0008EF1C 48 2A D4 01 */ bl WriteBits__13COutputStreamFii +/* 80091FC0 0008EF20 3B BD 00 08 */ addi r29, r29, 8 +lbl_80091FC4: +/* 80091FC4 0008EF24 80 1E 01 74 */ lwz r0, 0x174(r30) +/* 80091FC8 0008EF28 80 7E 01 7C */ lwz r3, 0x17c(r30) +/* 80091FCC 0008EF2C 54 00 18 38 */ slwi r0, r0, 3 +/* 80091FD0 0008EF30 7C 03 02 14 */ add r0, r3, r0 +/* 80091FD4 0008EF34 7C 1D 00 40 */ cmplw r29, r0 +/* 80091FD8 0008EF38 40 82 FF C0 */ bne lbl_80091F98 +/* 80091FDC 0008EF3C 38 60 01 00 */ li r3, 0x100 +/* 80091FE0 0008EF40 48 00 03 E1 */ bl GetBitCount__12CPlayerStateFUi +/* 80091FE4 0008EF44 80 9E 01 80 */ lwz r4, 0x180(r30) +/* 80091FE8 0008EF48 7C 65 1B 78 */ mr r5, r3 +/* 80091FEC 0008EF4C 7F E3 FB 78 */ mr r3, r31 +/* 80091FF0 0008EF50 48 2A D3 CD */ bl WriteBits__13COutputStreamFii +/* 80091FF4 0008EF54 38 60 01 00 */ li r3, 0x100 +/* 80091FF8 0008EF58 48 00 03 C9 */ bl GetBitCount__12CPlayerStateFUi +/* 80091FFC 0008EF5C 80 9E 01 84 */ lwz r4, 0x184(r30) +/* 80092000 0008EF60 7C 65 1B 78 */ mr r5, r3 +/* 80092004 0008EF64 7F E3 FB 78 */ mr r3, r31 +/* 80092008 0008EF68 48 2A D3 B5 */ bl WriteBits__13COutputStreamFii +/* 8009200C 0008EF6C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80092010 0008EF70 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80092014 0008EF74 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80092018 0008EF78 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8009201C 0008EF7C 7C 08 03 A6 */ mtlr r0 +/* 80092020 0008EF80 38 21 00 40 */ addi r1, r1, 0x40 +/* 80092024 0008EF84 4E 80 00 20 */ blr + +.global __ct__12CPlayerStateFR12CInputStream +__ct__12CPlayerStateFR12CInputStream: +/* 80092028 0008EF88 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8009202C 0008EF8C 7C 08 02 A6 */ mflr r0 +/* 80092030 0008EF90 90 01 00 54 */ stw r0, 0x54(r1) +/* 80092034 0008EF94 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80092038 0008EF98 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8009203C 0008EF9C BF 21 00 24 */ stmw r25, 0x24(r1) +/* 80092040 0008EFA0 7C 7E 1B 78 */ mr r30, r3 +/* 80092044 0008EFA4 7C 9F 23 78 */ mr r31, r4 +/* 80092048 0008EFA8 88 03 00 00 */ lbz r0, 0(r3) +/* 8009204C 0008EFAC 38 60 00 01 */ li r3, 1 +/* 80092050 0008EFB0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80092054 0008EFB4 38 A0 00 00 */ li r5, 0 +/* 80092058 0008EFB8 98 1E 00 00 */ stb r0, 0(r30) +/* 8009205C 0008EFBC 38 7E 01 88 */ addi r3, r30, 0x188 +/* 80092060 0008EFC0 C0 42 8B 10 */ lfs f2, lbl_805AA830@sda21(r2) +/* 80092064 0008EFC4 38 80 00 05 */ li r4, 5 +/* 80092068 0008EFC8 88 1E 00 00 */ lbz r0, 0(r30) +/* 8009206C 0008EFCC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80092070 0008EFD0 C0 22 8B 2C */ lfs f1, lbl_805AA84C@sda21(r2) +/* 80092074 0008EFD4 98 1E 00 00 */ stb r0, 0(r30) +/* 80092078 0008EFD8 C0 02 8B 14 */ lfs f0, lbl_805AA834@sda21(r2) +/* 8009207C 0008EFDC 88 1E 00 00 */ lbz r0, 0(r30) +/* 80092080 0008EFE0 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80092084 0008EFE4 98 1E 00 00 */ stb r0, 0(r30) +/* 80092088 0008EFE8 90 BE 00 04 */ stw r5, 4(r30) +/* 8009208C 0008EFEC 90 BE 00 08 */ stw r5, 8(r30) +/* 80092090 0008EFF0 D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 80092094 0008EFF4 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80092098 0008EFF8 90 BE 00 14 */ stw r5, 0x14(r30) +/* 8009209C 0008EFFC 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 800920A0 0008F000 90 1E 00 18 */ stw r0, 0x18(r30) +/* 800920A4 0008F004 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 800920A8 0008F008 90 BE 00 20 */ stw r5, 0x20(r30) +/* 800920AC 0008F00C 90 BE 00 24 */ stw r5, 0x24(r30) +/* 800920B0 0008F010 90 BE 01 74 */ stw r5, 0x174(r30) +/* 800920B4 0008F014 90 BE 01 78 */ stw r5, 0x178(r30) +/* 800920B8 0008F018 90 BE 01 7C */ stw r5, 0x17c(r30) +/* 800920BC 0008F01C 90 BE 01 80 */ stw r5, 0x180(r30) +/* 800920C0 0008F020 90 BE 01 84 */ stw r5, 0x184(r30) +/* 800920C4 0008F024 48 12 EB 89 */ bl __ct__19CStaticInterferenceFi +/* 800920C8 0008F028 7F E3 FB 78 */ mr r3, r31 +/* 800920CC 0008F02C 38 80 00 20 */ li r4, 0x20 +/* 800920D0 0008F030 48 2A CC 69 */ bl ReadBits__12CInputStreamFi +/* 800920D4 0008F034 90 7E 00 04 */ stw r3, 4(r30) +/* 800920D8 0008F038 7F E3 FB 78 */ mr r3, r31 +/* 800920DC 0008F03C 38 80 00 20 */ li r4, 0x20 +/* 800920E0 0008F040 48 2A CC 59 */ bl ReadBits__12CInputStreamFi +/* 800920E4 0008F044 90 61 00 08 */ stw r3, 8(r1) +/* 800920E8 0008F048 38 60 00 05 */ li r3, 5 +/* 800920EC 0008F04C C0 02 8B 2C */ lfs f0, lbl_805AA84C@sda21(r2) +/* 800920F0 0008F050 C0 21 00 08 */ lfs f1, 8(r1) +/* 800920F4 0008F054 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 800920F8 0008F058 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 800920FC 0008F05C 48 00 02 C5 */ bl GetBitCount__12CPlayerStateFUi +/* 80092100 0008F060 7C 64 1B 78 */ mr r4, r3 +/* 80092104 0008F064 7F E3 FB 78 */ mr r3, r31 +/* 80092108 0008F068 48 2A CC 31 */ bl ReadBits__12CInputStreamFi +/* 8009210C 0008F06C 90 7E 00 08 */ stw r3, 8(r30) +/* 80092110 0008F070 38 60 00 04 */ li r3, 4 +/* 80092114 0008F074 48 00 02 AD */ bl GetBitCount__12CPlayerStateFUi +/* 80092118 0008F078 7C 64 1B 78 */ mr r4, r3 +/* 8009211C 0008F07C 7F E3 FB 78 */ mr r3, r31 +/* 80092120 0008F080 48 2A CC 19 */ bl ReadBits__12CInputStreamFi +/* 80092124 0008F084 3C 80 80 3D */ lis r4, lbl_803CD6C0@ha +/* 80092128 0008F088 90 7E 00 20 */ stw r3, 0x20(r30) +/* 8009212C 0008F08C 3B 64 D6 C0 */ addi r27, r4, lbl_803CD6C0@l +/* 80092130 0008F090 3B 9E 00 24 */ addi r28, r30, 0x24 +/* 80092134 0008F094 3B A0 00 00 */ li r29, 0 +lbl_80092138: +/* 80092138 0008F098 80 7B 00 00 */ lwz r3, 0(r27) +/* 8009213C 0008F09C 3B 40 00 00 */ li r26, 0 +/* 80092140 0008F0A0 38 A0 00 00 */ li r5, 0 +/* 80092144 0008F0A4 28 03 00 00 */ cmplwi r3, 0 +/* 80092148 0008F0A8 41 82 00 34 */ beq lbl_8009217C +/* 8009214C 0008F0AC 48 00 02 75 */ bl GetBitCount__12CPlayerStateFUi +/* 80092150 0008F0B0 7C 60 1B 78 */ mr r0, r3 +/* 80092154 0008F0B4 7F E3 FB 78 */ mr r3, r31 +/* 80092158 0008F0B8 7C 19 03 78 */ mr r25, r0 +/* 8009215C 0008F0BC 7F 24 CB 78 */ mr r4, r25 +/* 80092160 0008F0C0 48 2A CB D9 */ bl ReadBits__12CInputStreamFi +/* 80092164 0008F0C4 7C 60 1B 78 */ mr r0, r3 +/* 80092168 0008F0C8 7F E3 FB 78 */ mr r3, r31 +/* 8009216C 0008F0CC 7C 1A 03 78 */ mr r26, r0 +/* 80092170 0008F0D0 7F 24 CB 78 */ mr r4, r25 +/* 80092174 0008F0D4 48 2A CB C5 */ bl ReadBits__12CInputStreamFi +/* 80092178 0008F0D8 7C 65 1B 78 */ mr r5, r3 +lbl_8009217C: +/* 8009217C 0008F0DC 7F 44 D3 78 */ mr r4, r26 +/* 80092180 0008F0E0 38 61 00 0C */ addi r3, r1, 0xc +/* 80092184 0008F0E4 48 00 02 31 */ bl __ct__Q212CPlayerState8CPowerUpFii +/* 80092188 0008F0E8 80 1C 00 00 */ lwz r0, 0(r28) +/* 8009218C 0008F0EC 54 00 18 38 */ slwi r0, r0, 3 +/* 80092190 0008F0F0 7C 7C 02 14 */ add r3, r28, r0 +/* 80092194 0008F0F4 34 63 00 04 */ addic. r3, r3, 4 +/* 80092198 0008F0F8 41 82 00 14 */ beq lbl_800921AC +/* 8009219C 0008F0FC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800921A0 0008F100 90 03 00 00 */ stw r0, 0(r3) +/* 800921A4 0008F104 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800921A8 0008F108 90 03 00 04 */ stw r0, 4(r3) +lbl_800921AC: +/* 800921AC 0008F10C 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 800921B0 0008F110 3B BD 00 01 */ addi r29, r29, 1 +/* 800921B4 0008F114 2C 1D 00 29 */ cmpwi r29, 0x29 +/* 800921B8 0008F118 3B 7B 00 04 */ addi r27, r27, 4 +/* 800921BC 0008F11C 38 03 00 01 */ addi r0, r3, 1 +/* 800921C0 0008F120 90 1E 00 24 */ stw r0, 0x24(r30) +/* 800921C4 0008F124 41 80 FF 74 */ blt lbl_80092138 +/* 800921C8 0008F128 83 AD A0 84 */ lwz r29, gpMemoryCard@sda21(r13) +/* 800921CC 0008F12C 38 7E 01 70 */ addi r3, r30, 0x170 +/* 800921D0 0008F130 80 9D 00 24 */ lwz r4, 0x24(r29) +/* 800921D4 0008F134 48 00 03 8D */ bl sub_80092560 +/* 800921D8 0008F138 83 9D 00 2C */ lwz r28, 0x2c(r29) +/* 800921DC 0008F13C 48 00 00 84 */ b lbl_80092260 +lbl_800921E0: +/* 800921E0 0008F140 7F E3 FB 78 */ mr r3, r31 +/* 800921E4 0008F144 38 80 00 01 */ li r4, 1 +/* 800921E8 0008F148 48 2A CB 51 */ bl ReadBits__12CInputStreamFi +/* 800921EC 0008F14C 7C 03 00 D0 */ neg r0, r3 +/* 800921F0 0008F150 7C 00 1B 78 */ or r0, r0, r3 +/* 800921F4 0008F154 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 800921F8 0008F158 41 82 00 0C */ beq lbl_80092204 +/* 800921FC 0008F15C C3 E2 8B 28 */ lfs f31, lbl_805AA848@sda21(r2) +/* 80092200 0008F160 48 00 00 08 */ b lbl_80092208 +lbl_80092204: +/* 80092204 0008F164 C3 E2 8B 1C */ lfs f31, lbl_805AA83C@sda21(r2) +lbl_80092208: +/* 80092208 0008F168 80 1E 01 74 */ lwz r0, 0x174(r30) +/* 8009220C 0008F16C 80 BE 01 78 */ lwz r5, 0x178(r30) +/* 80092210 0008F170 83 7C 00 00 */ lwz r27, 0(r28) +/* 80092214 0008F174 7C 00 28 00 */ cmpw r0, r5 +/* 80092218 0008F178 41 80 00 1C */ blt lbl_80092234 +/* 8009221C 0008F17C 2C 05 00 00 */ cmpwi r5, 0 +/* 80092220 0008F180 38 7E 01 70 */ addi r3, r30, 0x170 +/* 80092224 0008F184 38 80 00 04 */ li r4, 4 +/* 80092228 0008F188 41 82 00 08 */ beq lbl_80092230 +/* 8009222C 0008F18C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80092230: +/* 80092230 0008F190 48 00 03 31 */ bl sub_80092560 +lbl_80092234: +/* 80092234 0008F194 80 1E 01 74 */ lwz r0, 0x174(r30) +/* 80092238 0008F198 80 7E 01 7C */ lwz r3, 0x17c(r30) +/* 8009223C 0008F19C 54 00 18 38 */ slwi r0, r0, 3 +/* 80092240 0008F1A0 7C 63 02 15 */ add. r3, r3, r0 +/* 80092244 0008F1A4 41 82 00 0C */ beq lbl_80092250 +/* 80092248 0008F1A8 93 63 00 00 */ stw r27, 0(r3) +/* 8009224C 0008F1AC D3 E3 00 04 */ stfs f31, 4(r3) +lbl_80092250: +/* 80092250 0008F1B0 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 80092254 0008F1B4 3B 9C 00 08 */ addi r28, r28, 8 +/* 80092258 0008F1B8 38 03 00 01 */ addi r0, r3, 1 +/* 8009225C 0008F1BC 90 1E 01 74 */ stw r0, 0x174(r30) +lbl_80092260: +/* 80092260 0008F1C0 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 80092264 0008F1C4 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80092268 0008F1C8 54 00 18 38 */ slwi r0, r0, 3 +/* 8009226C 0008F1CC 7C 03 02 14 */ add r0, r3, r0 +/* 80092270 0008F1D0 7C 1C 00 40 */ cmplw r28, r0 +/* 80092274 0008F1D4 40 82 FF 6C */ bne lbl_800921E0 +/* 80092278 0008F1D8 38 60 01 00 */ li r3, 0x100 +/* 8009227C 0008F1DC 48 00 01 45 */ bl GetBitCount__12CPlayerStateFUi +/* 80092280 0008F1E0 7C 64 1B 78 */ mr r4, r3 +/* 80092284 0008F1E4 7F E3 FB 78 */ mr r3, r31 +/* 80092288 0008F1E8 48 2A CA B1 */ bl ReadBits__12CInputStreamFi +/* 8009228C 0008F1EC 90 7E 01 80 */ stw r3, 0x180(r30) +/* 80092290 0008F1F0 38 60 01 00 */ li r3, 0x100 +/* 80092294 0008F1F4 48 00 01 2D */ bl GetBitCount__12CPlayerStateFUi +/* 80092298 0008F1F8 7C 64 1B 78 */ mr r4, r3 +/* 8009229C 0008F1FC 7F E3 FB 78 */ mr r3, r31 +/* 800922A0 0008F200 48 2A CA 99 */ bl ReadBits__12CInputStreamFi +/* 800922A4 0008F204 90 7E 01 84 */ stw r3, 0x184(r30) +/* 800922A8 0008F208 7F C3 F3 78 */ mr r3, r30 +/* 800922AC 0008F20C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 800922B0 0008F210 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 800922B4 0008F214 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 800922B8 0008F218 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800922BC 0008F21C 7C 08 03 A6 */ mtlr r0 +/* 800922C0 0008F220 38 21 00 50 */ addi r1, r1, 0x50 +/* 800922C4 0008F224 4E 80 00 20 */ blr + +.global __ct__12CPlayerStateFv +__ct__12CPlayerStateFv: +/* 800922C8 0008F228 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800922CC 0008F22C 7C 08 02 A6 */ mflr r0 +/* 800922D0 0008F230 38 C0 00 00 */ li r6, 0 +/* 800922D4 0008F234 C0 42 8B 10 */ lfs f2, lbl_805AA830@sda21(r2) +/* 800922D8 0008F238 90 01 00 24 */ stw r0, 0x24(r1) +/* 800922DC 0008F23C 38 80 00 00 */ li r4, 0 +/* 800922E0 0008F240 C0 22 8B 2C */ lfs f1, lbl_805AA84C@sda21(r2) +/* 800922E4 0008F244 38 A0 00 00 */ li r5, 0 +/* 800922E8 0008F248 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800922EC 0008F24C 7C 7F 1B 78 */ mr r31, r3 +/* 800922F0 0008F250 38 60 00 01 */ li r3, 1 +/* 800922F4 0008F254 C0 02 8B 14 */ lfs f0, lbl_805AA834@sda21(r2) +/* 800922F8 0008F258 88 1F 00 00 */ lbz r0, 0(r31) +/* 800922FC 0008F25C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80092300 0008F260 38 61 00 08 */ addi r3, r1, 8 +/* 80092304 0008F264 98 1F 00 00 */ stb r0, 0(r31) +/* 80092308 0008F268 88 1F 00 00 */ lbz r0, 0(r31) +/* 8009230C 0008F26C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80092310 0008F270 98 1F 00 00 */ stb r0, 0(r31) +/* 80092314 0008F274 88 1F 00 00 */ lbz r0, 0(r31) +/* 80092318 0008F278 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8009231C 0008F27C 98 1F 00 00 */ stb r0, 0(r31) +/* 80092320 0008F280 90 DF 00 04 */ stw r6, 4(r31) +/* 80092324 0008F284 90 DF 00 08 */ stw r6, 8(r31) +/* 80092328 0008F288 D0 5F 00 0C */ stfs f2, 0xc(r31) +/* 8009232C 0008F28C D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 80092330 0008F290 90 DF 00 14 */ stw r6, 0x14(r31) +/* 80092334 0008F294 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80092338 0008F298 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8009233C 0008F29C D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80092340 0008F2A0 90 DF 00 20 */ stw r6, 0x20(r31) +/* 80092344 0008F2A4 48 00 00 71 */ bl __ct__Q212CPlayerState8CPowerUpFii +/* 80092348 0008F2A8 38 00 00 29 */ li r0, 0x29 +/* 8009234C 0008F2AC 38 7F 00 28 */ addi r3, r31, 0x28 +/* 80092350 0008F2B0 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80092354 0008F2B4 7C 09 03 A6 */ mtctr r0 +lbl_80092358: +/* 80092358 0008F2B8 28 03 00 00 */ cmplwi r3, 0 +/* 8009235C 0008F2BC 41 82 00 14 */ beq lbl_80092370 +/* 80092360 0008F2C0 80 01 00 08 */ lwz r0, 8(r1) +/* 80092364 0008F2C4 90 03 00 00 */ stw r0, 0(r3) +/* 80092368 0008F2C8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8009236C 0008F2CC 90 03 00 04 */ stw r0, 4(r3) +lbl_80092370: +/* 80092370 0008F2D0 38 63 00 08 */ addi r3, r3, 8 +/* 80092374 0008F2D4 42 00 FF E4 */ bdnz lbl_80092358 +/* 80092378 0008F2D8 38 00 00 00 */ li r0, 0 +/* 8009237C 0008F2DC 38 7F 01 88 */ addi r3, r31, 0x188 +/* 80092380 0008F2E0 90 1F 01 74 */ stw r0, 0x174(r31) +/* 80092384 0008F2E4 38 80 00 05 */ li r4, 5 +/* 80092388 0008F2E8 90 1F 01 78 */ stw r0, 0x178(r31) +/* 8009238C 0008F2EC 90 1F 01 7C */ stw r0, 0x17c(r31) +/* 80092390 0008F2F0 90 1F 01 80 */ stw r0, 0x180(r31) +/* 80092394 0008F2F4 90 1F 01 84 */ stw r0, 0x184(r31) +/* 80092398 0008F2F8 48 12 E8 B5 */ bl __ct__19CStaticInterferenceFi +/* 8009239C 0008F2FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800923A0 0008F300 7F E3 FB 78 */ mr r3, r31 +/* 800923A4 0008F304 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800923A8 0008F308 7C 08 03 A6 */ mtlr r0 +/* 800923AC 0008F30C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800923B0 0008F310 4E 80 00 20 */ blr + +.global __ct__Q212CPlayerState8CPowerUpFii +__ct__Q212CPlayerState8CPowerUpFii: +/* 800923B4 0008F314 90 83 00 00 */ stw r4, 0(r3) +/* 800923B8 0008F318 90 A3 00 04 */ stw r5, 4(r3) +/* 800923BC 0008F31C 4E 80 00 20 */ blr + +.global GetBitCount__12CPlayerStateFUi +GetBitCount__12CPlayerStateFUi: +/* 800923C0 0008F320 38 80 00 00 */ li r4, 0 +/* 800923C4 0008F324 48 00 00 0C */ b lbl_800923D0 +lbl_800923C8: +/* 800923C8 0008F328 54 63 F8 7E */ srwi r3, r3, 1 +/* 800923CC 0008F32C 38 84 00 01 */ addi r4, r4, 1 +lbl_800923D0: +/* 800923D0 0008F330 28 03 00 00 */ cmplwi r3, 0 +/* 800923D4 0008F334 40 82 FF F4 */ bne lbl_800923C8 +/* 800923D8 0008F338 7C 83 23 78 */ mr r3, r4 +/* 800923DC 0008F33C 4E 80 00 20 */ blr + +.global "lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPCQ24rstl10pairPCQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>" +"lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPCQ24rstl10pairPCQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>": +/* 800923E0 0008F340 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800923E4 0008F344 7C 08 02 A6 */ mflr r0 +/* 800923E8 0008F348 90 01 00 34 */ stw r0, 0x34(r1) +/* 800923EC 0008F34C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800923F0 0008F350 7C 9F 23 78 */ mr r31, r4 +/* 800923F4 0008F354 7C 7E 1B 78 */ mr r30, r3 +/* 800923F8 0008F358 7C DB 33 78 */ mr r27, r6 +/* 800923FC 0008F35C 38 61 00 0C */ addi r3, r1, 0xc +/* 80092400 0008F360 80 85 00 00 */ lwz r4, 0(r5) +/* 80092404 0008F364 80 1F 00 00 */ lwz r0, 0(r31) +/* 80092408 0008F368 90 81 00 08 */ stw r4, 8(r1) +/* 8009240C 0008F36C 38 81 00 08 */ addi r4, r1, 8 +/* 80092410 0008F370 90 01 00 0C */ stw r0, 0xc(r1) +/* 80092414 0008F374 48 00 02 C5 */ bl "distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pair" +/* 80092418 0008F378 80 1F 00 00 */ lwz r0, 0(r31) +/* 8009241C 0008F37C 7C 7D 1B 78 */ mr r29, r3 +/* 80092420 0008F380 90 01 00 10 */ stw r0, 0x10(r1) +/* 80092424 0008F384 48 00 00 58 */ b lbl_8009247C +lbl_80092428: +/* 80092428 0008F388 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 8009242C 0008F38C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80092430 0008F390 7C 83 EA 14 */ add r4, r3, r29 +/* 80092434 0008F394 38 61 00 10 */ addi r3, r1, 0x10 +/* 80092438 0008F398 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 8009243C 0008F39C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80092440 0008F3A0 7F 84 E3 78 */ mr r4, r28 +/* 80092444 0008F3A4 48 00 02 15 */ bl "advance,i>__4rstlFRPCQ24rstl10pairi" +/* 80092448 0008F3A8 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8009244C 0008F3AC 80 1B 00 00 */ lwz r0, 0(r27) +/* 80092450 0008F3B0 80 64 00 00 */ lwz r3, 0(r4) +/* 80092454 0008F3B4 7C 03 00 40 */ cmplw r3, r0 +/* 80092458 0008F3B8 40 80 00 20 */ bge lbl_80092478 +/* 8009245C 0008F3BC 90 9F 00 00 */ stw r4, 0(r31) +/* 80092460 0008F3C0 7C 7C E8 50 */ subf r3, r28, r29 +/* 80092464 0008F3C4 3B A3 FF FF */ addi r29, r3, -1 +/* 80092468 0008F3C8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8009246C 0008F3CC 38 03 00 08 */ addi r0, r3, 8 +/* 80092470 0008F3D0 90 1F 00 00 */ stw r0, 0(r31) +/* 80092474 0008F3D4 48 00 00 08 */ b lbl_8009247C +lbl_80092478: +/* 80092478 0008F3D8 7F 9D E3 78 */ mr r29, r28 +lbl_8009247C: +/* 8009247C 0008F3DC 2C 1D 00 00 */ cmpwi r29, 0 +/* 80092480 0008F3E0 41 81 FF A8 */ bgt lbl_80092428 +/* 80092484 0008F3E4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80092488 0008F3E8 90 1E 00 00 */ stw r0, 0(r30) +/* 8009248C 0008F3EC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80092490 0008F3F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80092494 0008F3F4 7C 08 03 A6 */ mtlr r0 +/* 80092498 0008F3F8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8009249C 0008F3FC 4E 80 00 20 */ blr + +.global "lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPQ24rstl10pairPQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>" +"lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPQ24rstl10pairPQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>": +/* 800924A0 0008F400 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800924A4 0008F404 7C 08 02 A6 */ mflr r0 +/* 800924A8 0008F408 90 01 00 34 */ stw r0, 0x34(r1) +/* 800924AC 0008F40C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800924B0 0008F410 7C 9F 23 78 */ mr r31, r4 +/* 800924B4 0008F414 7C 7E 1B 78 */ mr r30, r3 +/* 800924B8 0008F418 7C DB 33 78 */ mr r27, r6 +/* 800924BC 0008F41C 38 61 00 0C */ addi r3, r1, 0xc +/* 800924C0 0008F420 80 85 00 00 */ lwz r4, 0(r5) +/* 800924C4 0008F424 80 1F 00 00 */ lwz r0, 0(r31) +/* 800924C8 0008F428 90 81 00 08 */ stw r4, 8(r1) +/* 800924CC 0008F42C 38 81 00 08 */ addi r4, r1, 8 +/* 800924D0 0008F430 90 01 00 0C */ stw r0, 0xc(r1) +/* 800924D4 0008F434 48 00 02 49 */ bl "distance>__4rstlFPQ24rstl10pairPQ24rstl10pair" +/* 800924D8 0008F438 80 1F 00 00 */ lwz r0, 0(r31) +/* 800924DC 0008F43C 7C 7D 1B 78 */ mr r29, r3 +/* 800924E0 0008F440 90 01 00 10 */ stw r0, 0x10(r1) +/* 800924E4 0008F444 48 00 00 58 */ b lbl_8009253C +lbl_800924E8: +/* 800924E8 0008F448 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 800924EC 0008F44C 80 1F 00 00 */ lwz r0, 0(r31) +/* 800924F0 0008F450 7C 83 EA 14 */ add r4, r3, r29 +/* 800924F4 0008F454 38 61 00 10 */ addi r3, r1, 0x10 +/* 800924F8 0008F458 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 800924FC 0008F45C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80092500 0008F460 7F 84 E3 78 */ mr r4, r28 +/* 80092504 0008F464 48 00 01 81 */ bl "advance,i>__4rstlFRPQ24rstl10pairi" +/* 80092508 0008F468 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8009250C 0008F46C 80 1B 00 00 */ lwz r0, 0(r27) +/* 80092510 0008F470 80 64 00 00 */ lwz r3, 0(r4) +/* 80092514 0008F474 7C 03 00 40 */ cmplw r3, r0 +/* 80092518 0008F478 40 80 00 20 */ bge lbl_80092538 +/* 8009251C 0008F47C 90 9F 00 00 */ stw r4, 0(r31) +/* 80092520 0008F480 7C 7C E8 50 */ subf r3, r28, r29 +/* 80092524 0008F484 3B A3 FF FF */ addi r29, r3, -1 +/* 80092528 0008F488 80 7F 00 00 */ lwz r3, 0(r31) +/* 8009252C 0008F48C 38 03 00 08 */ addi r0, r3, 8 +/* 80092530 0008F490 90 1F 00 00 */ stw r0, 0(r31) +/* 80092534 0008F494 48 00 00 08 */ b lbl_8009253C +lbl_80092538: +/* 80092538 0008F498 7F 9D E3 78 */ mr r29, r28 +lbl_8009253C: +/* 8009253C 0008F49C 2C 1D 00 00 */ cmpwi r29, 0 +/* 80092540 0008F4A0 41 81 FF A8 */ bgt lbl_800924E8 +/* 80092544 0008F4A4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80092548 0008F4A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8009254C 0008F4AC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80092550 0008F4B0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80092554 0008F4B4 7C 08 03 A6 */ mtlr r0 +/* 80092558 0008F4B8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8009255C 0008F4BC 4E 80 00 20 */ blr + +.global sub_80092560 +sub_80092560: +/* 80092560 0008F4C0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80092564 0008F4C4 7C 08 02 A6 */ mflr r0 +/* 80092568 0008F4C8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8009256C 0008F4CC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80092570 0008F4D0 7C 9F 23 78 */ mr r31, r4 +/* 80092574 0008F4D4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80092578 0008F4D8 7C 7E 1B 78 */ mr r30, r3 +/* 8009257C 0008F4DC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80092580 0008F4E0 80 03 00 08 */ lwz r0, 8(r3) +/* 80092584 0008F4E4 7C 1F 00 00 */ cmpw r31, r0 +/* 80092588 0008F4E8 40 81 00 B4 */ ble lbl_8009263C +/* 8009258C 0008F4EC 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 80092590 0008F4F0 40 82 00 0C */ bne lbl_8009259C +/* 80092594 0008F4F4 3B A0 00 00 */ li r29, 0 +/* 80092598 0008F4F8 48 00 00 1C */ b lbl_800925B4 +lbl_8009259C: +/* 8009259C 0008F4FC 3C 80 80 3D */ lis r4, lbl_803CD78C@ha +/* 800925A0 0008F500 38 A0 00 00 */ li r5, 0 +/* 800925A4 0008F504 38 84 D7 8C */ addi r4, r4, lbl_803CD78C@l +/* 800925A8 0008F508 38 84 00 2D */ addi r4, r4, 0x2d +/* 800925AC 0008F50C 48 28 32 6D */ bl __nwa__FUlPCcPCc +/* 800925B0 0008F510 7C 7D 1B 78 */ mr r29, r3 +lbl_800925B4: +/* 800925B4 0008F514 80 1E 00 04 */ lwz r0, 4(r30) +/* 800925B8 0008F518 7F A4 EB 78 */ mr r4, r29 +/* 800925BC 0008F51C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800925C0 0008F520 54 00 18 38 */ slwi r0, r0, 3 +/* 800925C4 0008F524 7C 65 02 14 */ add r3, r5, r0 +/* 800925C8 0008F528 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800925CC 0008F52C 90 61 00 08 */ stw r3, 8(r1) +/* 800925D0 0008F530 90 61 00 0C */ stw r3, 0xc(r1) +/* 800925D4 0008F534 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800925D8 0008F538 48 00 00 24 */ b lbl_800925FC +lbl_800925DC: +/* 800925DC 0008F53C 28 04 00 00 */ cmplwi r4, 0 +/* 800925E0 0008F540 41 82 00 14 */ beq lbl_800925F4 +/* 800925E4 0008F544 80 05 00 00 */ lwz r0, 0(r5) +/* 800925E8 0008F548 90 04 00 00 */ stw r0, 0(r4) +/* 800925EC 0008F54C C0 05 00 04 */ lfs f0, 4(r5) +/* 800925F0 0008F550 D0 04 00 04 */ stfs f0, 4(r4) +lbl_800925F4: +/* 800925F4 0008F554 38 84 00 08 */ addi r4, r4, 8 +/* 800925F8 0008F558 38 A5 00 08 */ addi r5, r5, 8 +lbl_800925FC: +/* 800925FC 0008F55C 7C 05 18 40 */ cmplw r5, r3 +/* 80092600 0008F560 40 82 FF DC */ bne lbl_800925DC +/* 80092604 0008F564 80 1E 00 04 */ lwz r0, 4(r30) +/* 80092608 0008F568 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8009260C 0008F56C 54 00 18 38 */ slwi r0, r0, 3 +/* 80092610 0008F570 7C 64 1B 78 */ mr r4, r3 +/* 80092614 0008F574 7C 03 02 14 */ add r0, r3, r0 +/* 80092618 0008F578 48 00 00 08 */ b lbl_80092620 +lbl_8009261C: +/* 8009261C 0008F57C 38 84 00 08 */ addi r4, r4, 8 +lbl_80092620: +/* 80092620 0008F580 7C 04 00 40 */ cmplw r4, r0 +/* 80092624 0008F584 40 82 FF F8 */ bne lbl_8009261C +/* 80092628 0008F588 28 03 00 00 */ cmplwi r3, 0 +/* 8009262C 0008F58C 41 82 00 08 */ beq lbl_80092634 +/* 80092630 0008F590 48 28 33 01 */ bl Free__7CMemoryFPCv +lbl_80092634: +/* 80092634 0008F594 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80092638 0008F598 93 FE 00 08 */ stw r31, 8(r30) +lbl_8009263C: +/* 8009263C 0008F59C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80092640 0008F5A0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80092644 0008F5A4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80092648 0008F5A8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8009264C 0008F5AC 7C 08 03 A6 */ mtlr r0 +/* 80092650 0008F5B0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80092654 0008F5B4 4E 80 00 20 */ blr + +.global "advance,i>__4rstlFRPCQ24rstl10pairi" +"advance,i>__4rstlFRPCQ24rstl10pairi": +/* 80092658 0008F5B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009265C 0008F5BC 7C 08 02 A6 */ mflr r0 +/* 80092660 0008F5C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80092664 0008F5C4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80092668 0008F5C8 88 01 00 08 */ lbz r0, 8(r1) +/* 8009266C 0008F5CC 98 01 00 0C */ stb r0, 0xc(r1) +/* 80092670 0008F5D0 48 00 00 55 */ bl sub_800926c4 +/* 80092674 0008F5D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80092678 0008F5D8 7C 08 03 A6 */ mtlr r0 +/* 8009267C 0008F5DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80092680 0008F5E0 4E 80 00 20 */ blr + +.global "advance,i>__4rstlFRPQ24rstl10pairi" +"advance,i>__4rstlFRPQ24rstl10pairi": +/* 80092684 0008F5E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80092688 0008F5E8 7C 08 02 A6 */ mflr r0 +/* 8009268C 0008F5EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80092690 0008F5F0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80092694 0008F5F4 88 01 00 08 */ lbz r0, 8(r1) +/* 80092698 0008F5F8 98 01 00 0C */ stb r0, 0xc(r1) +/* 8009269C 0008F5FC 48 00 00 15 */ bl "__advance,i>__4rstlFRPCQ24rstl10pairiQ24rstl26random_access_iterator_tag" +/* 800926A0 0008F600 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800926A4 0008F604 7C 08 03 A6 */ mtlr r0 +/* 800926A8 0008F608 38 21 00 10 */ addi r1, r1, 0x10 +/* 800926AC 0008F60C 4E 80 00 20 */ blr + +.global "__advance,i>__4rstlFRPCQ24rstl10pairiQ24rstl26random_access_iterator_tag" +"__advance,i>__4rstlFRPCQ24rstl10pairiQ24rstl26random_access_iterator_tag": +/* 800926B0 0008F610 80 A3 00 00 */ lwz r5, 0(r3) +/* 800926B4 0008F614 54 80 18 38 */ slwi r0, r4, 3 +/* 800926B8 0008F618 7C 05 02 14 */ add r0, r5, r0 +/* 800926BC 0008F61C 90 03 00 00 */ stw r0, 0(r3) +/* 800926C0 0008F620 4E 80 00 20 */ blr + +.global sub_800926c4 +sub_800926c4: +/* 800926C4 0008F624 80 A3 00 00 */ lwz r5, 0(r3) +/* 800926C8 0008F628 54 80 18 38 */ slwi r0, r4, 3 +/* 800926CC 0008F62C 7C 05 02 14 */ add r0, r5, r0 +/* 800926D0 0008F630 90 03 00 00 */ stw r0, 0(r3) +/* 800926D4 0008F634 4E 80 00 20 */ blr + +.global "distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pair" +"distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pair": +/* 800926D8 0008F638 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800926DC 0008F63C 7C 08 02 A6 */ mflr r0 +/* 800926E0 0008F640 90 01 00 24 */ stw r0, 0x24(r1) +/* 800926E4 0008F644 38 A1 00 0C */ addi r5, r1, 0xc +/* 800926E8 0008F648 88 E1 00 08 */ lbz r7, 8(r1) +/* 800926EC 0008F64C 80 C4 00 00 */ lwz r6, 0(r4) +/* 800926F0 0008F650 38 81 00 10 */ addi r4, r1, 0x10 +/* 800926F4 0008F654 80 03 00 00 */ lwz r0, 0(r3) +/* 800926F8 0008F658 38 61 00 14 */ addi r3, r1, 0x14 +/* 800926FC 0008F65C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80092700 0008F660 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80092704 0008F664 90 01 00 14 */ stw r0, 0x14(r1) +/* 80092708 0008F668 48 00 00 59 */ bl "__distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pairQ24rstl26random_access_iterator_tag" +/* 8009270C 0008F66C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80092710 0008F670 7C 08 03 A6 */ mtlr r0 +/* 80092714 0008F674 38 21 00 20 */ addi r1, r1, 0x20 +/* 80092718 0008F678 4E 80 00 20 */ blr + +.global "distance>__4rstlFPQ24rstl10pairPQ24rstl10pair" +"distance>__4rstlFPQ24rstl10pairPQ24rstl10pair": +/* 8009271C 0008F67C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80092720 0008F680 7C 08 02 A6 */ mflr r0 +/* 80092724 0008F684 90 01 00 24 */ stw r0, 0x24(r1) +/* 80092728 0008F688 38 A1 00 0C */ addi r5, r1, 0xc +/* 8009272C 0008F68C 88 E1 00 08 */ lbz r7, 8(r1) +/* 80092730 0008F690 80 C4 00 00 */ lwz r6, 0(r4) +/* 80092734 0008F694 38 81 00 10 */ addi r4, r1, 0x10 +/* 80092738 0008F698 80 03 00 00 */ lwz r0, 0(r3) +/* 8009273C 0008F69C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80092740 0008F6A0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80092744 0008F6A4 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80092748 0008F6A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009274C 0008F6AC 48 00 00 2D */ bl "__advance,i>__4rstlFRPQ24rstl10pairiQ24rstl26random_access_iterator_tag" +/* 80092750 0008F6B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80092754 0008F6B4 7C 08 03 A6 */ mtlr r0 +/* 80092758 0008F6B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009275C 0008F6BC 4E 80 00 20 */ blr + +.global "__distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pairQ24rstl26random_access_iterator_tag" +"__distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pairQ24rstl26random_access_iterator_tag": +/* 80092760 0008F6C0 80 63 00 00 */ lwz r3, 0(r3) +/* 80092764 0008F6C4 80 04 00 00 */ lwz r0, 0(r4) +/* 80092768 0008F6C8 7C 03 00 50 */ subf r0, r3, r0 +/* 8009276C 0008F6CC 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80092770 0008F6D0 7C 60 01 94 */ addze r3, r0 +/* 80092774 0008F6D4 4E 80 00 20 */ blr + +.global "__advance,i>__4rstlFRPQ24rstl10pairiQ24rstl26random_access_iterator_tag" +"__advance,i>__4rstlFRPQ24rstl10pairiQ24rstl26random_access_iterator_tag": +/* 80092778 0008F6D8 80 63 00 00 */ lwz r3, 0(r3) +/* 8009277C 0008F6DC 80 04 00 00 */ lwz r0, 0(r4) +/* 80092780 0008F6E0 7C 03 00 50 */ subf r0, r3, r0 +/* 80092784 0008F6E4 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80092788 0008F6E8 7C 60 01 94 */ addze r3, r0 +/* 8009278C 0008F6EC 4E 80 00 20 */ blr + +.global Accept__12CScriptTimerFR8IVisitor +Accept__12CScriptTimerFR8IVisitor: +/* 80092790 0008F6F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80092794 0008F6F4 7C 08 02 A6 */ mflr r0 +/* 80092798 0008F6F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009279C 0008F6FC 7C 60 1B 78 */ mr r0, r3 +/* 800927A0 0008F700 7C 83 23 78 */ mr r3, r4 +/* 800927A4 0008F704 81 84 00 00 */ lwz r12, 0(r4) +/* 800927A8 0008F708 7C 04 03 78 */ mr r4, r0 +/* 800927AC 0008F70C 81 8C 00 C8 */ lwz r12, 0xc8(r12) +/* 800927B0 0008F710 7D 89 03 A6 */ mtctr r12 +/* 800927B4 0008F714 4E 80 04 21 */ bctrl +/* 800927B8 0008F718 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800927BC 0008F71C 7C 08 03 A6 */ mtlr r0 +/* 800927C0 0008F720 38 21 00 10 */ addi r1, r1, 0x10 +/* 800927C4 0008F724 4E 80 00 20 */ blr + +.global Think__12CScriptTimerFfR13CStateManager +Think__12CScriptTimerFfR13CStateManager: +/* 800927C8 0008F728 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800927CC 0008F72C 7C 08 02 A6 */ mflr r0 +/* 800927D0 0008F730 90 01 00 14 */ stw r0, 0x14(r1) +/* 800927D4 0008F734 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800927D8 0008F738 54 06 CF FF */ rlwinm. r6, r0, 0x19, 0x1f, 0x1f +/* 800927DC 0008F73C 41 82 00 2C */ beq lbl_80092808 +/* 800927E0 0008F740 88 03 00 42 */ lbz r0, 0x42(r3) +/* 800927E4 0008F744 38 A0 00 00 */ li r5, 0 +/* 800927E8 0008F748 28 00 00 00 */ cmplwi r0, 0 +/* 800927EC 0008F74C 41 82 00 10 */ beq lbl_800927FC +/* 800927F0 0008F750 28 06 00 00 */ cmplwi r6, 0 +/* 800927F4 0008F754 41 82 00 08 */ beq lbl_800927FC +/* 800927F8 0008F758 38 A0 00 01 */ li r5, 1 +lbl_800927FC: +/* 800927FC 0008F75C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80092800 0008F760 41 82 00 08 */ beq lbl_80092808 +/* 80092804 0008F764 48 00 00 15 */ bl ApplyTime__12CScriptTimerFfR13CStateManager +lbl_80092808: +/* 80092808 0008F768 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009280C 0008F76C 7C 08 03 A6 */ mtlr r0 +/* 80092810 0008F770 38 21 00 10 */ addi r1, r1, 0x10 +/* 80092814 0008F774 4E 80 00 20 */ blr + +.global ApplyTime__12CScriptTimerFfR13CStateManager +ApplyTime__12CScriptTimerFfR13CStateManager: +/* 80092818 0008F778 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009281C 0008F77C 7C 08 02 A6 */ mflr r0 +/* 80092820 0008F780 C0 42 8B 30 */ lfs f2, lbl_805AA850@sda21(r2) +/* 80092824 0008F784 90 01 00 14 */ stw r0, 0x14(r1) +/* 80092828 0008F788 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009282C 0008F78C 7C 9F 23 78 */ mr r31, r4 +/* 80092830 0008F790 93 C1 00 08 */ stw r30, 8(r1) +/* 80092834 0008F794 7C 7E 1B 78 */ mr r30, r3 +/* 80092838 0008F798 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 8009283C 0008F79C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80092840 0008F7A0 40 81 00 6C */ ble lbl_800928AC +/* 80092844 0008F7A4 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80092848 0008F7A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009284C 0008F7AC 41 82 00 60 */ beq lbl_800928AC +/* 80092850 0008F7B0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80092854 0008F7B4 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 80092858 0008F7B8 C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 8009285C 0008F7BC FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80092860 0008F7C0 4C 40 13 82 */ cror 2, 0, 2 +/* 80092864 0008F7C4 40 82 00 48 */ bne lbl_800928AC +/* 80092868 0008F7C8 7F E5 FB 78 */ mr r5, r31 +/* 8009286C 0008F7CC 38 80 00 09 */ li r4, 9 +/* 80092870 0008F7D0 38 C0 FF FF */ li r6, -1 +/* 80092874 0008F7D4 4B FB E8 4D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80092878 0008F7D8 38 00 00 00 */ li r0, 0 +/* 8009287C 0008F7DC 98 1E 00 42 */ stb r0, 0x42(r30) +/* 80092880 0008F7E0 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 80092884 0008F7E4 28 00 00 00 */ cmplwi r0, 0 +/* 80092888 0008F7E8 41 82 00 24 */ beq lbl_800928AC +/* 8009288C 0008F7EC 7F C3 F3 78 */ mr r3, r30 +/* 80092890 0008F7F0 7F E4 FB 78 */ mr r4, r31 +/* 80092894 0008F7F4 48 00 01 65 */ bl Reset__12CScriptTimerFR13CStateManager +/* 80092898 0008F7F8 88 1E 00 41 */ lbz r0, 0x41(r30) +/* 8009289C 0008F7FC 28 00 00 00 */ cmplwi r0, 0 +/* 800928A0 0008F800 41 82 00 0C */ beq lbl_800928AC +/* 800928A4 0008F804 38 00 00 01 */ li r0, 1 +/* 800928A8 0008F808 98 1E 00 42 */ stb r0, 0x42(r30) +lbl_800928AC: +/* 800928AC 0008F80C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800928B0 0008F810 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800928B4 0008F814 83 C1 00 08 */ lwz r30, 8(r1) +/* 800928B8 0008F818 7C 08 03 A6 */ mtlr r0 +/* 800928BC 0008F81C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800928C0 0008F820 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12CScriptTimerF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12CScriptTimerF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800928C4 0008F824 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800928C8 0008F828 7C 08 02 A6 */ mflr r0 +/* 800928CC 0008F82C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800928D0 0008F830 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800928D4 0008F834 7C DF 33 78 */ mr r31, r6 +/* 800928D8 0008F838 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800928DC 0008F83C 7C BE 2B 78 */ mr r30, r5 +/* 800928E0 0008F840 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800928E4 0008F844 7C 9D 23 78 */ mr r29, r4 +/* 800928E8 0008F848 2C 1D 00 0E */ cmpwi r29, 0xe +/* 800928EC 0008F84C 93 81 00 10 */ stw r28, 0x10(r1) +/* 800928F0 0008F850 7C 7C 1B 78 */ mr r28, r3 +/* 800928F4 0008F854 41 82 00 30 */ beq lbl_80092924 +/* 800928F8 0008F858 40 80 00 1C */ bge lbl_80092914 +/* 800928FC 0008F85C 2C 1D 00 0B */ cmpwi r29, 0xb +/* 80092900 0008F860 41 82 00 A0 */ beq lbl_800929A0 +/* 80092904 0008F864 40 80 00 B8 */ bge lbl_800929BC +/* 80092908 0008F868 2C 1D 00 0A */ cmpwi r29, 0xa +/* 8009290C 0008F86C 40 80 00 48 */ bge lbl_80092954 +/* 80092910 0008F870 48 00 00 AC */ b lbl_800929BC +lbl_80092914: +/* 80092914 0008F874 2C 1D 00 10 */ cmpwi r29, 0x10 +/* 80092918 0008F878 41 82 00 68 */ beq lbl_80092980 +/* 8009291C 0008F87C 40 80 00 A0 */ bge lbl_800929BC +/* 80092920 0008F880 48 00 00 1C */ b lbl_8009293C +lbl_80092924: +/* 80092924 0008F884 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80092928 0008F888 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009292C 0008F88C 41 82 00 90 */ beq lbl_800929BC +/* 80092930 0008F890 38 00 00 01 */ li r0, 1 +/* 80092934 0008F894 98 1C 00 42 */ stb r0, 0x42(r28) +/* 80092938 0008F898 48 00 00 84 */ b lbl_800929BC +lbl_8009293C: +/* 8009293C 0008F89C 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80092940 0008F8A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80092944 0008F8A4 41 82 00 78 */ beq lbl_800929BC +/* 80092948 0008F8A8 38 00 00 00 */ li r0, 0 +/* 8009294C 0008F8AC 98 1C 00 42 */ stb r0, 0x42(r28) +/* 80092950 0008F8B0 48 00 00 6C */ b lbl_800929BC +lbl_80092954: +/* 80092954 0008F8B4 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80092958 0008F8B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009295C 0008F8BC 41 82 00 60 */ beq lbl_800929BC +/* 80092960 0008F8C0 7F E4 FB 78 */ mr r4, r31 +/* 80092964 0008F8C4 48 00 00 95 */ bl Reset__12CScriptTimerFR13CStateManager +/* 80092968 0008F8C8 88 1C 00 41 */ lbz r0, 0x41(r28) +/* 8009296C 0008F8CC 28 00 00 00 */ cmplwi r0, 0 +/* 80092970 0008F8D0 41 82 00 4C */ beq lbl_800929BC +/* 80092974 0008F8D4 38 00 00 01 */ li r0, 1 +/* 80092978 0008F8D8 98 1C 00 42 */ stb r0, 0x42(r28) +/* 8009297C 0008F8DC 48 00 00 40 */ b lbl_800929BC +lbl_80092980: +/* 80092980 0008F8E0 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80092984 0008F8E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80092988 0008F8E8 41 82 00 34 */ beq lbl_800929BC +/* 8009298C 0008F8EC 7F E4 FB 78 */ mr r4, r31 +/* 80092990 0008F8F0 48 00 00 69 */ bl Reset__12CScriptTimerFR13CStateManager +/* 80092994 0008F8F4 38 00 00 00 */ li r0, 0 +/* 80092998 0008F8F8 98 1C 00 42 */ stb r0, 0x42(r28) +/* 8009299C 0008F8FC 48 00 00 20 */ b lbl_800929BC +lbl_800929A0: +/* 800929A0 0008F900 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800929A4 0008F904 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800929A8 0008F908 41 82 00 14 */ beq lbl_800929BC +/* 800929AC 0008F90C 7F E4 FB 78 */ mr r4, r31 +/* 800929B0 0008F910 48 00 00 49 */ bl Reset__12CScriptTimerFR13CStateManager +/* 800929B4 0008F914 38 00 00 01 */ li r0, 1 +/* 800929B8 0008F918 98 1C 00 42 */ stb r0, 0x42(r28) +lbl_800929BC: +/* 800929BC 0008F91C A0 1E 00 00 */ lhz r0, 0(r30) +/* 800929C0 0008F920 7F 83 E3 78 */ mr r3, r28 +/* 800929C4 0008F924 7F A4 EB 78 */ mr r4, r29 +/* 800929C8 0008F928 7F E6 FB 78 */ mr r6, r31 +/* 800929CC 0008F92C B0 01 00 08 */ sth r0, 8(r1) +/* 800929D0 0008F930 38 A1 00 08 */ addi r5, r1, 8 +/* 800929D4 0008F934 4B FB E7 89 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800929D8 0008F938 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800929DC 0008F93C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800929E0 0008F940 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800929E4 0008F944 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800929E8 0008F948 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800929EC 0008F94C 7C 08 03 A6 */ mtlr r0 +/* 800929F0 0008F950 38 21 00 20 */ addi r1, r1, 0x20 +/* 800929F4 0008F954 4E 80 00 20 */ blr + +.global Reset__12CScriptTimerFR13CStateManager +Reset__12CScriptTimerFR13CStateManager: +/* 800929F8 0008F958 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800929FC 0008F95C 7C 08 02 A6 */ mflr r0 +/* 80092A00 0008F960 90 01 00 14 */ stw r0, 0x14(r1) +/* 80092A04 0008F964 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80092A08 0008F968 7C 7F 1B 78 */ mr r31, r3 +/* 80092A0C 0008F96C 80 64 09 00 */ lwz r3, 0x900(r4) +/* 80092A10 0008F970 48 27 FA CD */ bl Float__9CRandom16Fv +/* 80092A14 0008F974 C0 5F 00 3C */ lfs f2, 0x3c(r31) +/* 80092A18 0008F978 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80092A1C 0008F97C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80092A20 0008F980 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 80092A24 0008F984 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80092A28 0008F988 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80092A2C 0008F98C 7C 08 03 A6 */ mtlr r0 +/* 80092A30 0008F990 38 21 00 10 */ addi r1, r1, 0x10 +/* 80092A34 0008F994 4E 80 00 20 */ blr + +.global __dt__12CScriptTimerFv +__dt__12CScriptTimerFv: +/* 80092A38 0008F998 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80092A3C 0008F99C 7C 08 02 A6 */ mflr r0 +/* 80092A40 0008F9A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80092A44 0008F9A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80092A48 0008F9A8 7C 9F 23 78 */ mr r31, r4 +/* 80092A4C 0008F9AC 93 C1 00 08 */ stw r30, 8(r1) +/* 80092A50 0008F9B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80092A54 0008F9B4 41 82 00 28 */ beq lbl_80092A7C +/* 80092A58 0008F9B8 3C A0 80 3E */ lis r5, lbl_803DADD8@ha +/* 80092A5C 0008F9BC 38 80 00 00 */ li r4, 0 +/* 80092A60 0008F9C0 38 05 AD D8 */ addi r0, r5, lbl_803DADD8@l +/* 80092A64 0008F9C4 90 1E 00 00 */ stw r0, 0(r30) +/* 80092A68 0008F9C8 4B FB E8 0D */ bl __dt__7CEntityFv +/* 80092A6C 0008F9CC 7F E0 07 35 */ extsh. r0, r31 +/* 80092A70 0008F9D0 40 81 00 0C */ ble lbl_80092A7C +/* 80092A74 0008F9D4 7F C3 F3 78 */ mr r3, r30 +/* 80092A78 0008F9D8 48 28 2E B9 */ bl Free__7CMemoryFPCv +lbl_80092A7C: +/* 80092A7C 0008F9DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80092A80 0008F9E0 7F C3 F3 78 */ mr r3, r30 +/* 80092A84 0008F9E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80092A88 0008F9E8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80092A8C 0008F9EC 7C 08 03 A6 */ mtlr r0 +/* 80092A90 0008F9F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80092A94 0008F9F4 4E 80 00 20 */ blr + +.global "__ct__12CScriptTimerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoffbbb" +"__ct__12CScriptTimerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoffbbb": +/* 80092A98 0008F9F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80092A9C 0008F9FC 7C 08 02 A6 */ mflr r0 +/* 80092AA0 0008FA00 90 01 00 34 */ stw r0, 0x34(r1) +/* 80092AA4 0008FA04 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 80092AA8 0008FA08 FF E0 10 90 */ fmr f31, f2 +/* 80092AAC 0008FA0C DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80092AB0 0008FA10 FF C0 08 90 */ fmr f30, f1 +/* 80092AB4 0008FA14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80092AB8 0008FA18 7D 1F 43 78 */ mr r31, r8 +/* 80092ABC 0008FA1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80092AC0 0008FA20 7C FE 3B 78 */ mr r30, r7 +/* 80092AC4 0008FA24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80092AC8 0008FA28 7C 7D 1B 78 */ mr r29, r3 +/* 80092ACC 0008FA2C A0 04 00 00 */ lhz r0, 0(r4) +/* 80092AD0 0008FA30 7C A4 2B 78 */ mr r4, r5 +/* 80092AD4 0008FA34 7C C5 33 78 */ mr r5, r6 +/* 80092AD8 0008FA38 7D 26 4B 78 */ mr r6, r9 +/* 80092ADC 0008FA3C B0 01 00 08 */ sth r0, 8(r1) +/* 80092AE0 0008FA40 7C 87 23 78 */ mr r7, r4 +/* 80092AE4 0008FA44 38 81 00 08 */ addi r4, r1, 8 +/* 80092AE8 0008FA48 4B FB E8 3D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80092AEC 0008FA4C 3C 80 80 3E */ lis r4, lbl_803DADD8@ha +/* 80092AF0 0008FA50 7F A3 EB 78 */ mr r3, r29 +/* 80092AF4 0008FA54 38 04 AD D8 */ addi r0, r4, lbl_803DADD8@l +/* 80092AF8 0008FA58 90 1D 00 00 */ stw r0, 0(r29) +/* 80092AFC 0008FA5C D3 DD 00 34 */ stfs f30, 0x34(r29) +/* 80092B00 0008FA60 D3 DD 00 38 */ stfs f30, 0x38(r29) +/* 80092B04 0008FA64 D3 FD 00 3C */ stfs f31, 0x3c(r29) +/* 80092B08 0008FA68 9B DD 00 40 */ stb r30, 0x40(r29) +/* 80092B0C 0008FA6C 9B FD 00 41 */ stb r31, 0x41(r29) +/* 80092B10 0008FA70 9B FD 00 42 */ stb r31, 0x42(r29) +/* 80092B14 0008FA74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80092B18 0008FA78 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 80092B1C 0008FA7C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80092B20 0008FA80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80092B24 0008FA84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80092B28 0008FA88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80092B2C 0008FA8C 7C 08 03 A6 */ mtlr r0 +/* 80092B30 0008FA90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80092B34 0008FA94 4E 80 00 20 */ blr + +.global GetMoveOutofIntoAlpha__16CCinematicCameraCFv +GetMoveOutofIntoAlpha__16CCinematicCameraCFv: +/* 80092B38 0008FA98 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80092B3C 0008FA9C 7C 08 02 A6 */ mflr r0 +/* 80092B40 0008FAA0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80092B44 0008FAA4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80092B48 0008FAA8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80092B4C 0008FAAC DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80092B50 0008FAB0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80092B54 0008FAB4 C0 62 8B 38 */ lfs f3, lbl_805AA858@sda21(r2) +/* 80092B58 0008FAB8 C0 43 01 60 */ lfs f2, 0x160(r3) +/* 80092B5C 0008FABC C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80092B60 0008FAC0 C0 03 02 14 */ lfs f0, 0x214(r3) +/* 80092B64 0008FAC4 EF E3 10 2A */ fadds f31, f3, f2 +/* 80092B68 0008FAC8 C0 82 8B 3C */ lfs f4, lbl_805AA85C@sda21(r2) +/* 80092B6C 0008FACC EC A1 00 28 */ fsubs f5, f1, f0 +/* 80092B70 0008FAD0 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 80092B74 0008FAD4 C0 43 02 18 */ lfs f2, 0x218(r3) +/* 80092B78 0008FAD8 EF C4 F8 2A */ fadds f30, f4, f31 +/* 80092B7C 0008FADC C0 23 00 40 */ lfs f1, 0x40(r3) +/* 80092B80 0008FAE0 C0 03 02 10 */ lfs f0, 0x210(r3) +/* 80092B84 0008FAE4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80092B88 0008FAE8 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80092B8C 0008FAEC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80092B90 0008FAF0 38 61 00 08 */ addi r3, r1, 8 +/* 80092B94 0008FAF4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80092B98 0008FAF8 D0 01 00 08 */ stfs f0, 8(r1) +/* 80092B9C 0008FAFC 48 28 1D 1D */ bl Magnitude__9CVector3fCFv +/* 80092BA0 0008FB00 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80092BA4 0008FB04 C0 02 8B 40 */ lfs f0, lbl_805AA860@sda21(r2) +/* 80092BA8 0008FB08 4C 41 13 82 */ cror 2, 1, 2 +/* 80092BAC 0008FB0C 40 82 00 20 */ bne lbl_80092BCC +/* 80092BB0 0008FB10 FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 80092BB4 0008FB14 4C 40 13 82 */ cror 2, 0, 2 +/* 80092BB8 0008FB18 40 82 00 14 */ bne lbl_80092BCC +/* 80092BBC 0008FB1C EC 21 F8 28 */ fsubs f1, f1, f31 +/* 80092BC0 0008FB20 EC 1E F8 28 */ fsubs f0, f30, f31 +/* 80092BC4 0008FB24 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80092BC8 0008FB28 48 00 00 10 */ b lbl_80092BD8 +lbl_80092BCC: +/* 80092BCC 0008FB2C FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 80092BD0 0008FB30 40 81 00 08 */ ble lbl_80092BD8 +/* 80092BD4 0008FB34 C0 02 8B 3C */ lfs f0, lbl_805AA85C@sda21(r2) +lbl_80092BD8: +/* 80092BD8 0008FB38 FC 20 00 90 */ fmr f1, f0 +/* 80092BDC 0008FB3C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80092BE0 0008FB40 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80092BE4 0008FB44 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80092BE8 0008FB48 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80092BEC 0008FB4C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80092BF0 0008FB50 7C 08 03 A6 */ mtlr r0 +/* 80092BF4 0008FB54 38 21 00 40 */ addi r1, r1, 0x40 +/* 80092BF8 0008FB58 4E 80 00 20 */ blr + +.global "GetInterpolatedHFov__16CCinematicCameraCFRCQ24rstl36vectorf" +"GetInterpolatedHFov__16CCinematicCameraCFRCQ24rstl36vectorf": +/* 80092BFC 0008FB5C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80092C00 0008FB60 7C 08 02 A6 */ mflr r0 +/* 80092C04 0008FB64 90 01 00 34 */ stw r0, 0x34(r1) +/* 80092C08 0008FB68 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80092C0C 0008FB6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80092C10 0008FB70 7C 9E 23 78 */ mr r30, r4 +/* 80092C14 0008FB74 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80092C18 0008FB78 7C 7D 1B 78 */ mr r29, r3 +/* 80092C1C 0008FB7C 83 E4 00 04 */ lwz r31, 4(r4) +/* 80092C20 0008FB80 2C 1F 00 00 */ cmpwi r31, 0 +/* 80092C24 0008FB84 40 82 00 0C */ bne lbl_80092C30 +/* 80092C28 0008FB88 C0 3D 01 F0 */ lfs f1, 0x1f0(r29) +/* 80092C2C 0008FB8C 48 00 00 98 */ b lbl_80092CC4 +lbl_80092C30: +/* 80092C30 0008FB90 2C 1F 00 01 */ cmpwi r31, 1 +/* 80092C34 0008FB94 40 82 00 10 */ bne lbl_80092C44 +/* 80092C38 0008FB98 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80092C3C 0008FB9C C0 23 00 00 */ lfs f1, 0(r3) +/* 80092C40 0008FBA0 48 00 00 84 */ b lbl_80092CC4 +lbl_80092C44: +/* 80092C44 0008FBA4 C0 5D 01 E8 */ lfs f2, 0x1e8(r29) +/* 80092C48 0008FBA8 48 30 20 65 */ bl fmod +/* 80092C4C 0008FBAC 38 7F FF FF */ addi r3, r31, -1 +/* 80092C50 0008FBB0 3C 00 43 30 */ lis r0, 0x4330 +/* 80092C54 0008FBB4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80092C58 0008FBB8 90 01 00 08 */ stw r0, 8(r1) +/* 80092C5C 0008FBBC C8 62 8B 48 */ lfd f3, lbl_805AA868@sda21(r2) +/* 80092C60 0008FBC0 FC 80 08 18 */ frsp f4, f1 +/* 80092C64 0008FBC4 90 61 00 0C */ stw r3, 0xc(r1) +/* 80092C68 0008FBC8 C0 3D 01 E8 */ lfs f1, 0x1e8(r29) +/* 80092C6C 0008FBCC C8 01 00 08 */ lfd f0, 8(r1) +/* 80092C70 0008FBD0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80092C74 0008FBD4 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80092C78 0008FBD8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80092C7C 0008FBDC EC A1 00 24 */ fdivs f5, f1, f0 +/* 80092C80 0008FBE0 EC 04 28 24 */ fdivs f0, f4, f5 +/* 80092C84 0008FBE4 FC 00 00 1E */ fctiwz f0, f0 +/* 80092C88 0008FBE8 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 80092C8C 0008FBEC 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80092C90 0008FBF0 6C 83 80 00 */ xoris r3, r4, 0x8000 +/* 80092C94 0008FBF4 38 04 00 01 */ addi r0, r4, 1 +/* 80092C98 0008FBF8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80092C9C 0008FBFC 54 83 10 3A */ slwi r3, r4, 2 +/* 80092CA0 0008FC00 54 00 10 3A */ slwi r0, r0, 2 +/* 80092CA4 0008FC04 7C 25 1C 2E */ lfsx f1, r5, r3 +/* 80092CA8 0008FC08 C8 41 00 18 */ lfd f2, 0x18(r1) +/* 80092CAC 0008FC0C 7C 05 04 2E */ lfsx f0, r5, r0 +/* 80092CB0 0008FC10 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80092CB4 0008FC14 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80092CB8 0008FC18 EC 42 21 7C */ fnmsubs f2, f2, f5, f4 +/* 80092CBC 0008FC1C EC 42 28 24 */ fdivs f2, f2, f5 +/* 80092CC0 0008FC20 EC 22 08 3A */ fmadds f1, f2, f0, f1 +lbl_80092CC4: +/* 80092CC4 0008FC24 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80092CC8 0008FC28 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80092CCC 0008FC2C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80092CD0 0008FC30 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80092CD4 0008FC34 7C 08 03 A6 */ mtlr r0 +/* 80092CD8 0008FC38 38 21 00 30 */ addi r1, r1, 0x30 +/* 80092CDC 0008FC3C 4E 80 00 20 */ blr + +.global "GetInterpolatedOrientation__16CCinematicCameraCFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>f" +"GetInterpolatedOrientation__16CCinematicCameraCFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>f": +/* 80092CE0 0008FC40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80092CE4 0008FC44 7C 08 02 A6 */ mflr r0 +/* 80092CE8 0008FC48 90 01 00 34 */ stw r0, 0x34(r1) +/* 80092CEC 0008FC4C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80092CF0 0008FC50 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80092CF4 0008FC54 7C BE 2B 78 */ mr r30, r5 +/* 80092CF8 0008FC58 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80092CFC 0008FC5C 7C 9D 23 78 */ mr r29, r4 +/* 80092D00 0008FC60 93 81 00 20 */ stw r28, 0x20(r1) +/* 80092D04 0008FC64 7C 7C 1B 78 */ mr r28, r3 +/* 80092D08 0008FC68 83 E5 00 04 */ lwz r31, 4(r5) +/* 80092D0C 0008FC6C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80092D10 0008FC70 40 82 00 28 */ bne lbl_80092D38 +/* 80092D14 0008FC74 C0 1D 01 FC */ lfs f0, 0x1fc(r29) +/* 80092D18 0008FC78 D0 1C 00 00 */ stfs f0, 0(r28) +/* 80092D1C 0008FC7C C0 1D 02 00 */ lfs f0, 0x200(r29) +/* 80092D20 0008FC80 D0 1C 00 04 */ stfs f0, 4(r28) +/* 80092D24 0008FC84 C0 1D 02 04 */ lfs f0, 0x204(r29) +/* 80092D28 0008FC88 D0 1C 00 08 */ stfs f0, 8(r28) +/* 80092D2C 0008FC8C C0 1D 02 08 */ lfs f0, 0x208(r29) +/* 80092D30 0008FC90 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 80092D34 0008FC94 48 00 00 B4 */ b lbl_80092DE8 +lbl_80092D38: +/* 80092D38 0008FC98 2C 1F 00 01 */ cmpwi r31, 1 +/* 80092D3C 0008FC9C 40 82 00 2C */ bne lbl_80092D68 +/* 80092D40 0008FCA0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80092D44 0008FCA4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80092D48 0008FCA8 D0 1C 00 00 */ stfs f0, 0(r28) +/* 80092D4C 0008FCAC C0 03 00 04 */ lfs f0, 4(r3) +/* 80092D50 0008FCB0 D0 1C 00 04 */ stfs f0, 4(r28) +/* 80092D54 0008FCB4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80092D58 0008FCB8 D0 1C 00 08 */ stfs f0, 8(r28) +/* 80092D5C 0008FCBC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80092D60 0008FCC0 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 80092D64 0008FCC4 48 00 00 84 */ b lbl_80092DE8 +lbl_80092D68: +/* 80092D68 0008FCC8 C0 5D 01 E8 */ lfs f2, 0x1e8(r29) +/* 80092D6C 0008FCCC 48 30 1F 41 */ bl fmod +/* 80092D70 0008FCD0 38 7F FF FF */ addi r3, r31, -1 +/* 80092D74 0008FCD4 3C 00 43 30 */ lis r0, 0x4330 +/* 80092D78 0008FCD8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80092D7C 0008FCDC FC 60 08 18 */ frsp f3, f1 +/* 80092D80 0008FCE0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80092D84 0008FCE4 7F 83 E3 78 */ mr r3, r28 +/* 80092D88 0008FCE8 C8 42 8B 48 */ lfd f2, lbl_805AA868@sda21(r2) +/* 80092D8C 0008FCEC 90 01 00 08 */ stw r0, 8(r1) +/* 80092D90 0008FCF0 C0 3D 01 E8 */ lfs f1, 0x1e8(r29) +/* 80092D94 0008FCF4 C8 01 00 08 */ lfd f0, 8(r1) +/* 80092D98 0008FCF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 80092D9C 0008FCFC EC 00 10 28 */ fsubs f0, f0, f2 +/* 80092DA0 0008FD00 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 80092DA4 0008FD04 EC 21 00 24 */ fdivs f1, f1, f0 +/* 80092DA8 0008FD08 EC 03 08 24 */ fdivs f0, f3, f1 +/* 80092DAC 0008FD0C FC 00 00 1E */ fctiwz f0, f0 +/* 80092DB0 0008FD10 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 80092DB4 0008FD14 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 80092DB8 0008FD18 6C C0 80 00 */ xoris r0, r6, 0x8000 +/* 80092DBC 0008FD1C 38 86 00 01 */ addi r4, r6, 1 +/* 80092DC0 0008FD20 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80092DC4 0008FD24 54 80 20 36 */ slwi r0, r4, 4 +/* 80092DC8 0008FD28 7C A7 02 14 */ add r5, r7, r0 +/* 80092DCC 0008FD2C C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80092DD0 0008FD30 54 C0 20 36 */ slwi r0, r6, 4 +/* 80092DD4 0008FD34 7C 87 02 14 */ add r4, r7, r0 +/* 80092DD8 0008FD38 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80092DDC 0008FD3C EC 00 18 7C */ fnmsubs f0, f0, f1, f3 +/* 80092DE0 0008FD40 EC 20 08 24 */ fdivs f1, f0, f1 +/* 80092DE4 0008FD44 48 27 EF 15 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +lbl_80092DE8: +/* 80092DE8 0008FD48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80092DEC 0008FD4C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80092DF0 0008FD50 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80092DF4 0008FD54 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80092DF8 0008FD58 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80092DFC 0008FD5C 7C 08 03 A6 */ mtlr r0 +/* 80092E00 0008FD60 38 21 00 30 */ addi r1, r1, 0x30 +/* 80092E04 0008FD64 4E 80 00 20 */ blr + +.global "GetInterpolatedSplinePoint__16CCinematicCameraCFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Rif" +"GetInterpolatedSplinePoint__16CCinematicCameraCFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Rif": +/* 80092E08 0008FD68 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80092E0C 0008FD6C 7C 08 02 A6 */ mflr r0 +/* 80092E10 0008FD70 90 01 00 74 */ stw r0, 0x74(r1) +/* 80092E14 0008FD74 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 80092E18 0008FD78 7C BE 2B 78 */ mr r30, r5 +/* 80092E1C 0008FD7C 7C 7D 1B 78 */ mr r29, r3 +/* 80092E20 0008FD80 7C 9B 23 78 */ mr r27, r4 +/* 80092E24 0008FD84 7C DC 33 78 */ mr r28, r6 +/* 80092E28 0008FD88 83 E5 00 04 */ lwz r31, 4(r5) +/* 80092E2C 0008FD8C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80092E30 0008FD90 40 81 02 E0 */ ble lbl_80093110 +/* 80092E34 0008FD94 C0 5B 01 E8 */ lfs f2, 0x1e8(r27) +/* 80092E38 0008FD98 48 30 1E 75 */ bl fmod +/* 80092E3C 0008FD9C 38 7F FF FF */ addi r3, r31, -1 +/* 80092E40 0008FDA0 3C 00 43 30 */ lis r0, 0x4330 +/* 80092E44 0008FDA4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80092E48 0008FDA8 90 01 00 38 */ stw r0, 0x38(r1) +/* 80092E4C 0008FDAC C8 42 8B 48 */ lfd f2, lbl_805AA868@sda21(r2) +/* 80092E50 0008FDB0 FC 60 08 18 */ frsp f3, f1 +/* 80092E54 0008FDB4 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80092E58 0008FDB8 2C 1F 00 01 */ cmpwi r31, 1 +/* 80092E5C 0008FDBC C0 3B 01 E8 */ lfs f1, 0x1e8(r27) +/* 80092E60 0008FDC0 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 80092E64 0008FDC4 90 01 00 48 */ stw r0, 0x48(r1) +/* 80092E68 0008FDC8 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80092E6C 0008FDCC EC 21 00 24 */ fdivs f1, f1, f0 +/* 80092E70 0008FDD0 EC 03 08 24 */ fdivs f0, f3, f1 +/* 80092E74 0008FDD4 FC 00 00 1E */ fctiwz f0, f0 +/* 80092E78 0008FDD8 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 80092E7C 0008FDDC 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 80092E80 0008FDE0 6C A0 80 00 */ xoris r0, r5, 0x8000 +/* 80092E84 0008FDE4 90 BC 00 00 */ stw r5, 0(r28) +/* 80092E88 0008FDE8 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80092E8C 0008FDEC C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80092E90 0008FDF0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80092E94 0008FDF4 EC 00 18 7C */ fnmsubs f0, f0, f1, f3 +/* 80092E98 0008FDF8 EC 20 08 24 */ fdivs f1, f0, f1 +/* 80092E9C 0008FDFC 40 82 00 24 */ bne lbl_80092EC0 +/* 80092EA0 0008FE00 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80092EA4 0008FE04 C0 03 00 00 */ lfs f0, 0(r3) +/* 80092EA8 0008FE08 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80092EAC 0008FE0C C0 03 00 04 */ lfs f0, 4(r3) +/* 80092EB0 0008FE10 D0 1D 00 04 */ stfs f0, 4(r29) +/* 80092EB4 0008FE14 C0 03 00 08 */ lfs f0, 8(r3) +/* 80092EB8 0008FE18 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80092EBC 0008FE1C 48 00 02 78 */ b lbl_80093134 +lbl_80092EC0: +/* 80092EC0 0008FE20 2C 1F 00 02 */ cmpwi r31, 2 +/* 80092EC4 0008FE24 40 82 00 54 */ bne lbl_80092F18 +/* 80092EC8 0008FE28 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80092ECC 0008FE2C C0 43 00 00 */ lfs f2, 0(r3) +/* 80092ED0 0008FE30 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80092ED4 0008FE34 C0 C3 00 04 */ lfs f6, 4(r3) +/* 80092ED8 0008FE38 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80092EDC 0008FE3C C0 63 00 10 */ lfs f3, 0x10(r3) +/* 80092EE0 0008FE40 C0 83 00 08 */ lfs f4, 8(r3) +/* 80092EE4 0008FE44 EC A3 30 28 */ fsubs f5, f3, f6 +/* 80092EE8 0008FE48 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 80092EEC 0008FE4C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80092EF0 0008FE50 EC 63 20 28 */ fsubs f3, f3, f4 +/* 80092EF4 0008FE54 EC A1 01 72 */ fmuls f5, f1, f5 +/* 80092EF8 0008FE58 EC 02 00 2A */ fadds f0, f2, f0 +/* 80092EFC 0008FE5C EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80092F00 0008FE60 EC 46 28 2A */ fadds f2, f6, f5 +/* 80092F04 0008FE64 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80092F08 0008FE68 EC 04 08 2A */ fadds f0, f4, f1 +/* 80092F0C 0008FE6C D0 5D 00 04 */ stfs f2, 4(r29) +/* 80092F10 0008FE70 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80092F14 0008FE74 48 00 02 20 */ b lbl_80093134 +lbl_80092F18: +/* 80092F18 0008FE78 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80092F1C 0008FE7C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80092F20 0008FE80 2C 05 00 00 */ cmpwi r5, 0 +/* 80092F24 0008FE84 C0 43 00 04 */ lfs f2, 4(r3) +/* 80092F28 0008FE88 C0 63 00 08 */ lfs f3, 8(r3) +/* 80092F2C 0008FE8C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80092F30 0008FE90 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80092F34 0008FE94 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80092F38 0008FE98 40 81 00 30 */ ble lbl_80092F68 +/* 80092F3C 0008FE9C 38 05 FF FF */ addi r0, r5, -1 +/* 80092F40 0008FEA0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80092F44 0008FEA4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80092F48 0008FEA8 7C 63 02 14 */ add r3, r3, r0 +/* 80092F4C 0008FEAC C0 83 00 00 */ lfs f4, 0(r3) +/* 80092F50 0008FEB0 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 80092F54 0008FEB4 C0 83 00 04 */ lfs f4, 4(r3) +/* 80092F58 0008FEB8 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80092F5C 0008FEBC C0 83 00 08 */ lfs f4, 8(r3) +/* 80092F60 0008FEC0 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80092F64 0008FEC4 48 00 00 44 */ b lbl_80092FA8 +lbl_80092F68: +/* 80092F68 0008FEC8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80092F6C 0008FECC C1 23 00 04 */ lfs f9, 4(r3) +/* 80092F70 0008FED0 C0 83 00 10 */ lfs f4, 0x10(r3) +/* 80092F74 0008FED4 C0 E3 00 08 */ lfs f7, 8(r3) +/* 80092F78 0008FED8 C0 C3 00 14 */ lfs f6, 0x14(r3) +/* 80092F7C 0008FEDC ED 04 48 28 */ fsubs f8, f4, f9 +/* 80092F80 0008FEE0 C0 A3 00 00 */ lfs f5, 0(r3) +/* 80092F84 0008FEE4 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 80092F88 0008FEE8 EC C6 38 28 */ fsubs f6, f6, f7 +/* 80092F8C 0008FEEC ED 09 40 28 */ fsubs f8, f9, f8 +/* 80092F90 0008FEF0 EC 84 28 28 */ fsubs f4, f4, f5 +/* 80092F94 0008FEF4 EC C7 30 28 */ fsubs f6, f7, f6 +/* 80092F98 0008FEF8 D1 01 00 30 */ stfs f8, 0x30(r1) +/* 80092F9C 0008FEFC EC 85 20 28 */ fsubs f4, f5, f4 +/* 80092FA0 0008FF00 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 80092FA4 0008FF04 D0 81 00 2C */ stfs f4, 0x2c(r1) +lbl_80092FA8: +/* 80092FA8 0008FF08 1C 65 00 0C */ mulli r3, r5, 0xc +/* 80092FAC 0008FF0C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80092FB0 0008FF10 38 05 00 01 */ addi r0, r5, 1 +/* 80092FB4 0008FF14 7C 64 1A 14 */ add r3, r4, r3 +/* 80092FB8 0008FF18 7C 00 F8 00 */ cmpw r0, r31 +/* 80092FBC 0008FF1C C0 83 00 00 */ lfs f4, 0(r3) +/* 80092FC0 0008FF20 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 80092FC4 0008FF24 C0 83 00 04 */ lfs f4, 4(r3) +/* 80092FC8 0008FF28 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80092FCC 0008FF2C C0 83 00 08 */ lfs f4, 8(r3) +/* 80092FD0 0008FF30 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80092FD4 0008FF34 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80092FD8 0008FF38 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80092FDC 0008FF3C D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80092FE0 0008FF40 41 80 00 5C */ blt lbl_8009303C +/* 80092FE4 0008FF44 38 7F FF FF */ addi r3, r31, -1 +/* 80092FE8 0008FF48 38 1F FF FE */ addi r0, r31, -2 +/* 80092FEC 0008FF4C 1C 63 00 0C */ mulli r3, r3, 0xc +/* 80092FF0 0008FF50 7C 64 1A 14 */ add r3, r4, r3 +/* 80092FF4 0008FF54 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80092FF8 0008FF58 C1 23 00 04 */ lfs f9, 4(r3) +/* 80092FFC 0008FF5C C0 E3 00 08 */ lfs f7, 8(r3) +/* 80093000 0008FF60 C0 A3 00 00 */ lfs f5, 0(r3) +/* 80093004 0008FF64 7C 64 02 14 */ add r3, r4, r0 +/* 80093008 0008FF68 C1 03 00 04 */ lfs f8, 4(r3) +/* 8009300C 0008FF6C C0 C3 00 08 */ lfs f6, 8(r3) +/* 80093010 0008FF70 C0 83 00 00 */ lfs f4, 0(r3) +/* 80093014 0008FF74 ED 08 48 28 */ fsubs f8, f8, f9 +/* 80093018 0008FF78 EC C6 38 28 */ fsubs f6, f6, f7 +/* 8009301C 0008FF7C EC 84 28 28 */ fsubs f4, f4, f5 +/* 80093020 0008FF80 ED 09 40 28 */ fsubs f8, f9, f8 +/* 80093024 0008FF84 EC C7 30 28 */ fsubs f6, f7, f6 +/* 80093028 0008FF88 EC 85 20 28 */ fsubs f4, f5, f4 +/* 8009302C 0008FF8C D1 01 00 18 */ stfs f8, 0x18(r1) +/* 80093030 0008FF90 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 80093034 0008FF94 D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 80093038 0008FF98 48 00 00 24 */ b lbl_8009305C +lbl_8009303C: +/* 8009303C 0008FF9C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80093040 0008FFA0 7C 64 02 14 */ add r3, r4, r0 +/* 80093044 0008FFA4 C0 83 00 00 */ lfs f4, 0(r3) +/* 80093048 0008FFA8 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8009304C 0008FFAC C0 83 00 04 */ lfs f4, 4(r3) +/* 80093050 0008FFB0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80093054 0008FFB4 C0 83 00 08 */ lfs f4, 8(r3) +/* 80093058 0008FFB8 D0 81 00 1C */ stfs f4, 0x1c(r1) +lbl_8009305C: +/* 8009305C 0008FFBC 38 05 00 02 */ addi r0, r5, 2 +/* 80093060 0008FFC0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80093064 0008FFC4 7C 00 F8 00 */ cmpw r0, r31 +/* 80093068 0008FFC8 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8009306C 0008FFCC D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80093070 0008FFD0 41 80 00 60 */ blt lbl_800930D0 +/* 80093074 0008FFD4 38 7F FF FF */ addi r3, r31, -1 +/* 80093078 0008FFD8 38 1F FF FE */ addi r0, r31, -2 +/* 8009307C 0008FFDC 1C 63 00 0C */ mulli r3, r3, 0xc +/* 80093080 0008FFE0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80093084 0008FFE4 7C 64 1A 14 */ add r3, r4, r3 +/* 80093088 0008FFE8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8009308C 0008FFEC C0 C3 00 04 */ lfs f6, 4(r3) +/* 80093090 0008FFF0 C0 83 00 08 */ lfs f4, 8(r3) +/* 80093094 0008FFF4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80093098 0008FFF8 7C 64 02 14 */ add r3, r4, r0 +/* 8009309C 0008FFFC C0 A3 00 04 */ lfs f5, 4(r3) +/* 800930A0 00090000 C0 63 00 08 */ lfs f3, 8(r3) +/* 800930A4 00090004 C0 03 00 00 */ lfs f0, 0(r3) +/* 800930A8 00090008 EC A5 30 28 */ fsubs f5, f5, f6 +/* 800930AC 0009000C EC 63 20 28 */ fsubs f3, f3, f4 +/* 800930B0 00090010 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800930B4 00090014 EC A6 28 28 */ fsubs f5, f6, f5 +/* 800930B8 00090018 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800930BC 0009001C EC 02 00 28 */ fsubs f0, f2, f0 +/* 800930C0 00090020 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 800930C4 00090024 D0 01 00 08 */ stfs f0, 8(r1) +/* 800930C8 00090028 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 800930CC 0009002C 48 00 00 28 */ b lbl_800930F4 +lbl_800930D0: +/* 800930D0 00090030 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800930D4 00090034 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800930D8 00090038 7C 63 02 14 */ add r3, r3, r0 +/* 800930DC 0009003C C0 03 00 00 */ lfs f0, 0(r3) +/* 800930E0 00090040 D0 01 00 08 */ stfs f0, 8(r1) +/* 800930E4 00090044 C0 03 00 04 */ lfs f0, 4(r3) +/* 800930E8 00090048 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800930EC 0009004C C0 03 00 08 */ lfs f0, 8(r3) +/* 800930F0 00090050 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_800930F4: +/* 800930F4 00090054 7F A3 EB 78 */ mr r3, r29 +/* 800930F8 00090058 38 81 00 2C */ addi r4, r1, 0x2c +/* 800930FC 0009005C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80093100 00090060 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80093104 00090064 38 E1 00 08 */ addi r7, r1, 8 +/* 80093108 00090068 48 28 1F BD */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8009310C 0009006C 48 00 00 28 */ b lbl_80093134 +lbl_80093110: +/* 80093110 00090070 38 00 00 00 */ li r0, 0 +/* 80093114 00090074 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80093118 00090078 90 1C 00 00 */ stw r0, 0(r28) +/* 8009311C 0009007C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80093120 00090080 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80093124 00090084 C0 03 00 04 */ lfs f0, 4(r3) +/* 80093128 00090088 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8009312C 0009008C C0 03 00 08 */ lfs f0, 8(r3) +/* 80093130 00090090 D0 1D 00 08 */ stfs f0, 8(r29) +lbl_80093134: +/* 80093134 00090094 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 80093138 00090098 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8009313C 0009009C 7C 08 03 A6 */ mtlr r0 +/* 80093140 000900A0 38 21 00 70 */ addi r1, r1, 0x70 +/* 80093144 000900A4 4E 80 00 20 */ blr + +.global "PickRandomActiveConnection__16CCinematicCameraFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R11SConnectionR13CStateManager" +"PickRandomActiveConnection__16CCinematicCameraFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R11SConnectionR13CStateManager": +/* 80093148 000900A8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8009314C 000900AC 7C 08 02 A6 */ mflr r0 +/* 80093150 000900B0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80093154 000900B4 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 80093158 000900B8 7C 7A 1B 78 */ mr r26, r3 +/* 8009315C 000900BC 7C 9B 23 78 */ mr r27, r4 +/* 80093160 000900C0 7C BC 2B 78 */ mr r28, r5 +/* 80093164 000900C4 3B C0 00 00 */ li r30, 0 +/* 80093168 000900C8 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 8009316C 000900CC 48 00 00 74 */ b lbl_800931E0 +lbl_80093170: +/* 80093170 000900D0 80 1D 00 00 */ lwz r0, 0(r29) +/* 80093174 000900D4 2C 00 00 01 */ cmpwi r0, 1 +/* 80093178 000900D8 40 82 00 64 */ bne lbl_800931DC +/* 8009317C 000900DC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80093180 000900E0 2C 00 00 08 */ cmpwi r0, 8 +/* 80093184 000900E4 40 82 00 58 */ bne lbl_800931DC +/* 80093188 000900E8 80 1D 00 08 */ lwz r0, 8(r29) +/* 8009318C 000900EC 7F 84 E3 78 */ mr r4, r28 +/* 80093190 000900F0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80093194 000900F4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80093198 000900F8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8009319C 000900FC 4B FB 4D 81 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800931A0 00090100 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800931A4 00090104 7F 83 E3 78 */ mr r3, r28 +/* 800931A8 00090108 38 81 00 14 */ addi r4, r1, 0x14 +/* 800931AC 0009010C B0 01 00 14 */ sth r0, 0x14(r1) +/* 800931B0 00090110 4B FB 93 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800931B4 00090114 7C 64 1B 78 */ mr r4, r3 +/* 800931B8 00090118 38 61 00 28 */ addi r3, r1, 0x28 +/* 800931BC 0009011C 48 01 CA D5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800931C0 00090120 80 63 00 04 */ lwz r3, 4(r3) +/* 800931C4 00090124 28 03 00 00 */ cmplwi r3, 0 +/* 800931C8 00090128 41 82 00 14 */ beq lbl_800931DC +/* 800931CC 0009012C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800931D0 00090130 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800931D4 00090134 41 82 00 08 */ beq lbl_800931DC +/* 800931D8 00090138 3B DE 00 01 */ addi r30, r30, 1 +lbl_800931DC: +/* 800931DC 0009013C 3B BD 00 0C */ addi r29, r29, 0xc +lbl_800931E0: +/* 800931E0 00090140 80 1A 00 04 */ lwz r0, 4(r26) +/* 800931E4 00090144 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 800931E8 00090148 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800931EC 0009014C 7C 03 02 14 */ add r0, r3, r0 +/* 800931F0 00090150 7C 1D 00 40 */ cmplw r29, r0 +/* 800931F4 00090154 40 82 FF 7C */ bne lbl_80093170 +/* 800931F8 00090158 2C 1E 00 00 */ cmpwi r30, 0 +/* 800931FC 0009015C 40 82 00 0C */ bne lbl_80093208 +/* 80093200 00090160 38 60 00 00 */ li r3, 0 +/* 80093204 00090164 48 00 00 D4 */ b lbl_800932D8 +lbl_80093208: +/* 80093208 00090168 80 7C 09 00 */ lwz r3, 0x900(r28) +/* 8009320C 0009016C 48 27 F3 15 */ bl Next__9CRandom16Fv +/* 80093210 00090170 7C 03 F3 D6 */ divw r0, r3, r30 +/* 80093214 00090174 83 FA 00 0C */ lwz r31, 0xc(r26) +/* 80093218 00090178 3B A0 00 00 */ li r29, 0 +/* 8009321C 0009017C 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 80093220 00090180 7F C0 18 50 */ subf r30, r0, r3 +/* 80093224 00090184 48 00 00 98 */ b lbl_800932BC +lbl_80093228: +/* 80093228 00090188 80 1F 00 00 */ lwz r0, 0(r31) +/* 8009322C 0009018C 2C 00 00 01 */ cmpwi r0, 1 +/* 80093230 00090190 40 82 00 88 */ bne lbl_800932B8 +/* 80093234 00090194 80 1F 00 04 */ lwz r0, 4(r31) +/* 80093238 00090198 2C 00 00 08 */ cmpwi r0, 8 +/* 8009323C 0009019C 40 82 00 7C */ bne lbl_800932B8 +/* 80093240 000901A0 80 1F 00 08 */ lwz r0, 8(r31) +/* 80093244 000901A4 7F 84 E3 78 */ mr r4, r28 +/* 80093248 000901A8 38 61 00 08 */ addi r3, r1, 8 +/* 8009324C 000901AC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80093250 000901B0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80093254 000901B4 4B FB 4C C9 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80093258 000901B8 A0 01 00 08 */ lhz r0, 8(r1) +/* 8009325C 000901BC 7F 83 E3 78 */ mr r3, r28 +/* 80093260 000901C0 38 81 00 0C */ addi r4, r1, 0xc +/* 80093264 000901C4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80093268 000901C8 4B FB 93 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8009326C 000901CC 7C 64 1B 78 */ mr r4, r3 +/* 80093270 000901D0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80093274 000901D4 48 01 CA 1D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80093278 000901D8 80 63 00 04 */ lwz r3, 4(r3) +/* 8009327C 000901DC 28 03 00 00 */ cmplwi r3, 0 +/* 80093280 000901E0 41 82 00 38 */ beq lbl_800932B8 +/* 80093284 000901E4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80093288 000901E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009328C 000901EC 41 82 00 2C */ beq lbl_800932B8 +/* 80093290 000901F0 7C 1E E8 00 */ cmpw r30, r29 +/* 80093294 000901F4 40 82 00 20 */ bne lbl_800932B4 +/* 80093298 000901F8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8009329C 000901FC 90 1B 00 00 */ stw r0, 0(r27) +/* 800932A0 00090200 80 1F 00 04 */ lwz r0, 4(r31) +/* 800932A4 00090204 90 1B 00 04 */ stw r0, 4(r27) +/* 800932A8 00090208 80 1F 00 08 */ lwz r0, 8(r31) +/* 800932AC 0009020C 90 1B 00 08 */ stw r0, 8(r27) +/* 800932B0 00090210 48 00 00 24 */ b lbl_800932D4 +lbl_800932B4: +/* 800932B4 00090214 3B BD 00 01 */ addi r29, r29, 1 +lbl_800932B8: +/* 800932B8 00090218 3B FF 00 0C */ addi r31, r31, 0xc +lbl_800932BC: +/* 800932BC 0009021C 80 1A 00 04 */ lwz r0, 4(r26) +/* 800932C0 00090220 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 800932C4 00090224 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800932C8 00090228 7C 03 02 14 */ add r0, r3, r0 +/* 800932CC 0009022C 7C 1F 00 40 */ cmplw r31, r0 +/* 800932D0 00090230 40 82 FF 58 */ bne lbl_80093228 +lbl_800932D4: +/* 800932D4 00090234 38 60 00 01 */ li r3, 1 +lbl_800932D8: +/* 800932D8 00090238 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 800932DC 0009023C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800932E0 00090240 7C 08 03 A6 */ mtlr r0 +/* 800932E4 00090244 38 21 00 50 */ addi r1, r1, 0x50 +/* 800932E8 00090248 4E 80 00 20 */ blr + +.global GenerateMoveOutofIntoEyePosition__16CCinematicCameraFbR13CStateManager +GenerateMoveOutofIntoEyePosition__16CCinematicCameraFbR13CStateManager: +/* 800932EC 0009024C 94 21 FD 20 */ stwu r1, -0x2e0(r1) +/* 800932F0 00090250 7C 08 02 A6 */ mflr r0 +/* 800932F4 00090254 90 01 02 E4 */ stw r0, 0x2e4(r1) +/* 800932F8 00090258 DB E1 02 D0 */ stfd f31, 0x2d0(r1) +/* 800932FC 0009025C F3 E1 02 D8 */ psq_st f31, 728(r1), 0, qr0 +/* 80093300 00090260 DB C1 02 C0 */ stfd f30, 0x2c0(r1) +/* 80093304 00090264 F3 C1 02 C8 */ psq_st f30, 712(r1), 0, qr0 +/* 80093308 00090268 DB A1 02 B0 */ stfd f29, 0x2b0(r1) +/* 8009330C 0009026C F3 A1 02 B8 */ psq_st f29, 696(r1), 0, qr0 +/* 80093310 00090270 DB 81 02 A0 */ stfd f28, 0x2a0(r1) +/* 80093314 00090274 F3 81 02 A8 */ psq_st f28, 680(r1), 0, qr0 +/* 80093318 00090278 DB 61 02 90 */ stfd f27, 0x290(r1) +/* 8009331C 0009027C F3 61 02 98 */ psq_st f27, 664(r1), 0, qr0 +/* 80093320 00090280 DB 41 02 80 */ stfd f26, 0x280(r1) +/* 80093324 00090284 F3 41 02 88 */ psq_st f26, 648(r1), 0, qr0 +/* 80093328 00090288 BF 21 02 64 */ stmw r25, 0x264(r1) +/* 8009332C 0009028C 88 0D A2 AC */ lbz r0, lbl_805A8E6C@sda21(r13) +/* 80093330 00090290 7C 7D 1B 78 */ mr r29, r3 +/* 80093334 00090294 7C 9E 23 78 */ mr r30, r4 +/* 80093338 00090298 7C BF 2B 78 */ mr r31, r5 +/* 8009333C 0009029C 7C 00 07 75 */ extsb. r0, r0 +/* 80093340 000902A0 40 82 00 18 */ bne lbl_80093358 +/* 80093344 000902A4 3C 60 80 3D */ lis r3, lbl_803CD7C0@ha +/* 80093348 000902A8 38 00 00 01 */ li r0, 1 +/* 8009334C 000902AC 38 63 D7 C0 */ addi r3, r3, lbl_803CD7C0@l +/* 80093350 000902B0 98 0D A2 AC */ stb r0, lbl_805A8E6C@sda21(r13) +/* 80093354 000902B4 90 6D A2 A8 */ stw r3, lbl_805A8E68@sda21(r13) +lbl_80093358: +/* 80093358 000902B8 88 0D A2 B4 */ lbz r0, lbl_805A8E74@sda21(r13) +/* 8009335C 000902BC 7C 00 07 75 */ extsb. r0, r0 +/* 80093360 000902C0 40 82 00 1C */ bne lbl_8009337C +/* 80093364 000902C4 3C 60 80 3D */ lis r3, lbl_803CD7C0@ha +/* 80093368 000902C8 38 00 00 01 */ li r0, 1 +/* 8009336C 000902CC 38 63 D7 C0 */ addi r3, r3, lbl_803CD7C0@l +/* 80093370 000902D0 98 0D A2 B4 */ stb r0, lbl_805A8E74@sda21(r13) +/* 80093374 000902D4 38 03 00 06 */ addi r0, r3, 6 +/* 80093378 000902D8 90 0D A2 B0 */ stw r0, lbl_805A8E70@sda21(r13) +lbl_8009337C: +/* 8009337C 000902DC 83 9F 08 4C */ lwz r28, 0x84c(r31) +/* 80093380 000902E0 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80093384 000902E4 38 9C 00 34 */ addi r4, r28, 0x34 +/* 80093388 000902E8 48 27 ED A1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8009338C 000902EC C0 61 00 A8 */ lfs f3, 0xa8(r1) +/* 80093390 000902F0 7F 84 E3 78 */ mr r4, r28 +/* 80093394 000902F4 C0 41 00 AC */ lfs f2, 0xac(r1) +/* 80093398 000902F8 38 61 00 9C */ addi r3, r1, 0x9c +/* 8009339C 000902FC C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 800933A0 00090300 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 800933A4 00090304 D0 61 00 B8 */ stfs f3, 0xb8(r1) +/* 800933A8 00090308 D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 800933AC 0009030C D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 800933B0 00090310 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 800933B4 00090314 48 1F 19 C9 */ bl GetEyePosition__7CPlayerCFv +/* 800933B8 00090318 A0 7D 02 0C */ lhz r3, 0x20c(r29) +/* 800933BC 0009031C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800933C0 00090320 C3 E1 00 9C */ lfs f31, 0x9c(r1) +/* 800933C4 00090324 7C 03 00 40 */ cmplw r3, r0 +/* 800933C8 00090328 C3 C1 00 A0 */ lfs f30, 0xa0(r1) +/* 800933CC 0009032C C3 A1 00 A4 */ lfs f29, 0xa4(r1) +/* 800933D0 00090330 41 82 02 5C */ beq lbl_8009362C +/* 800933D4 00090334 A0 1D 02 0C */ lhz r0, 0x20c(r29) +/* 800933D8 00090338 7F E3 FB 78 */ mr r3, r31 +/* 800933DC 0009033C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800933E0 00090340 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800933E4 00090344 4B FB 91 91 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800933E8 00090348 7C 60 1B 78 */ mr r0, r3 +/* 800933EC 0009034C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800933F0 00090350 7C 04 03 78 */ mr r4, r0 +/* 800933F4 00090354 48 01 89 79 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +/* 800933F8 00090358 83 E3 00 04 */ lwz r31, 4(r3) +/* 800933FC 0009035C 28 1F 00 00 */ cmplwi r31, 0 +/* 80093400 00090360 41 82 02 2C */ beq lbl_8009362C +/* 80093404 00090364 88 1F 02 E3 */ lbz r0, 0x2e3(r31) +/* 80093408 00090368 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009340C 0009036C 41 82 02 20 */ beq lbl_8009362C +/* 80093410 00090370 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80093414 00090374 38 60 00 00 */ li r3, 0 +/* 80093418 00090378 28 04 00 00 */ cmplwi r4, 0 +/* 8009341C 0009037C 41 82 00 14 */ beq lbl_80093430 +/* 80093420 00090380 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80093424 00090384 28 00 00 00 */ cmplwi r0, 0 +/* 80093428 00090388 41 82 00 08 */ beq lbl_80093430 +/* 8009342C 0009038C 38 60 00 01 */ li r3, 1 +lbl_80093430: +/* 80093430 00090390 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80093434 00090394 41 82 01 F8 */ beq lbl_8009362C +/* 80093438 00090398 83 64 00 10 */ lwz r27, 0x10(r4) +/* 8009343C 0009039C 7F 63 DB 78 */ mr r3, r27 +/* 80093440 000903A0 4B F9 6C 41 */ bl GetRootAnimationTree__9CAnimDataCFv +/* 80093444 000903A4 7C 7C 1B 78 */ mr r28, r3 +/* 80093448 000903A8 80 63 00 00 */ lwz r3, 0(r3) +/* 8009344C 000903AC 80 03 00 00 */ lwz r0, 0(r3) +/* 80093450 000903B0 28 00 00 00 */ cmplwi r0, 0 +/* 80093454 000903B4 41 82 01 D8 */ beq lbl_8009362C +/* 80093458 000903B8 83 5F 00 64 */ lwz r26, 0x64(r31) +/* 8009345C 000903BC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80093460 000903C0 80 8D A2 A8 */ lwz r4, lbl_805A8E68@sda21(r13) +/* 80093464 000903C4 4B F7 18 55 */ bl string_l__4rstlFPCc +/* 80093468 000903C8 7F 64 DB 78 */ mr r4, r27 +/* 8009346C 000903CC 38 61 00 0C */ addi r3, r1, 0xc +/* 80093470 000903D0 38 A1 00 8C */ addi r5, r1, 0x8c +/* 80093474 000903D4 4B F9 B3 C5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80093478 000903D8 8B 21 00 0C */ lbz r25, 0xc(r1) +/* 8009347C 000903DC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80093480 000903E0 48 2A A6 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80093484 000903E4 80 8D A2 B0 */ lwz r4, lbl_805A8E70@sda21(r13) +/* 80093488 000903E8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8009348C 000903EC 4B F7 18 2D */ bl string_l__4rstlFPCc +/* 80093490 000903F0 7F 64 DB 78 */ mr r4, r27 +/* 80093494 000903F4 38 61 00 08 */ addi r3, r1, 8 +/* 80093498 000903F8 38 A1 00 7C */ addi r5, r1, 0x7c +/* 8009349C 000903FC 4B F9 B3 9D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800934A0 00090400 8B 61 00 08 */ lbz r27, 8(r1) +/* 800934A4 00090404 38 61 00 7C */ addi r3, r1, 0x7c +/* 800934A8 00090408 48 2A A6 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800934AC 0009040C 28 19 00 FF */ cmplwi r25, 0xff +/* 800934B0 00090410 41 82 01 7C */ beq lbl_8009362C +/* 800934B4 00090414 28 1B 00 FF */ cmplwi r27, 0xff +/* 800934B8 00090418 41 82 01 74 */ beq lbl_8009362C +/* 800934BC 0009041C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800934C0 00090420 41 82 00 1C */ beq lbl_800934DC +/* 800934C4 00090424 C0 0D 85 A4 */ lfs f0, lbl_805A7164@sda21(r13) +/* 800934C8 00090428 38 61 00 24 */ addi r3, r1, 0x24 +/* 800934CC 0009042C 80 0D 85 A0 */ lwz r0, lbl_805A7160@sda21(r13) +/* 800934D0 00090430 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800934D4 00090434 90 01 00 28 */ stw r0, 0x28(r1) +/* 800934D8 00090438 48 00 00 34 */ b lbl_8009350C +lbl_800934DC: +/* 800934DC 0009043C 80 9C 00 00 */ lwz r4, 0(r28) +/* 800934E0 00090440 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800934E4 00090444 80 84 00 00 */ lwz r4, 0(r4) +/* 800934E8 00090448 81 84 00 00 */ lwz r12, 0(r4) +/* 800934EC 0009044C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800934F0 00090450 7D 89 03 A6 */ mtctr r12 +/* 800934F4 00090454 4E 80 04 21 */ bctrl +/* 800934F8 00090458 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 800934FC 0009045C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80093500 00090460 80 01 00 CC */ lwz r0, 0xcc(r1) +/* 80093504 00090464 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80093508 00090468 90 01 00 20 */ stw r0, 0x20(r1) +lbl_8009350C: +/* 8009350C 0009046C C0 03 00 00 */ lfs f0, 0(r3) +/* 80093510 00090470 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80093514 00090474 3B 81 00 2C */ addi r28, r1, 0x2c +/* 80093518 00090478 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8009351C 0009047C 80 03 00 04 */ lwz r0, 4(r3) +/* 80093520 00090480 90 01 00 30 */ stw r0, 0x30(r1) +/* 80093524 00090484 41 82 00 08 */ beq lbl_8009352C +/* 80093528 00090488 3B 80 00 00 */ li r28, 0 +lbl_8009352C: +/* 8009352C 0009048C 80 8D A2 A8 */ lwz r4, lbl_805A8E68@sda21(r13) +/* 80093530 00090490 38 61 00 6C */ addi r3, r1, 0x6c +/* 80093534 00090494 4B F7 17 85 */ bl string_l__4rstlFPCc +/* 80093538 00090498 7F 44 D3 78 */ mr r4, r26 +/* 8009353C 0009049C 7F 86 E3 78 */ mr r6, r28 +/* 80093540 000904A0 38 61 01 70 */ addi r3, r1, 0x170 +/* 80093544 000904A4 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80093548 000904A8 48 08 23 D5 */ bl "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +/* 8009354C 000904AC 38 61 02 30 */ addi r3, r1, 0x230 +/* 80093550 000904B0 38 81 01 70 */ addi r4, r1, 0x170 +/* 80093554 000904B4 48 27 F6 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80093558 000904B8 38 61 00 6C */ addi r3, r1, 0x6c +/* 8009355C 000904BC 48 2A A5 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80093560 000904C0 38 61 01 40 */ addi r3, r1, 0x140 +/* 80093564 000904C4 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80093568 000904C8 38 A1 02 30 */ addi r5, r1, 0x230 +/* 8009356C 000904CC 48 27 F3 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80093570 000904D0 38 61 02 00 */ addi r3, r1, 0x200 +/* 80093574 000904D4 38 81 01 40 */ addi r4, r1, 0x140 +/* 80093578 000904D8 48 27 F5 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8009357C 000904DC 80 8D A2 B0 */ lwz r4, lbl_805A8E70@sda21(r13) +/* 80093580 000904E0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80093584 000904E4 4B F7 17 35 */ bl string_l__4rstlFPCc +/* 80093588 000904E8 7F 44 D3 78 */ mr r4, r26 +/* 8009358C 000904EC 7F 86 E3 78 */ mr r6, r28 +/* 80093590 000904F0 38 61 01 10 */ addi r3, r1, 0x110 +/* 80093594 000904F4 38 A1 00 5C */ addi r5, r1, 0x5c +/* 80093598 000904F8 48 08 23 85 */ bl "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +/* 8009359C 000904FC 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 800935A0 00090500 38 81 01 10 */ addi r4, r1, 0x110 +/* 800935A4 00090504 48 27 F5 D1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800935A8 00090508 38 61 00 5C */ addi r3, r1, 0x5c +/* 800935AC 0009050C 48 2A A5 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800935B0 00090510 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 800935B4 00090514 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800935B8 00090518 38 A1 01 D0 */ addi r5, r1, 0x1d0 +/* 800935BC 0009051C 48 27 F3 95 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800935C0 00090520 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 800935C4 00090524 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 800935C8 00090528 48 27 F5 AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800935CC 0009052C C0 61 02 0C */ lfs f3, 0x20c(r1) +/* 800935D0 00090530 38 61 00 4C */ addi r3, r1, 0x4c +/* 800935D4 00090534 C0 41 01 AC */ lfs f2, 0x1ac(r1) +/* 800935D8 00090538 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800935DC 0009053C C0 21 02 1C */ lfs f1, 0x21c(r1) +/* 800935E0 00090540 C0 01 01 BC */ lfs f0, 0x1bc(r1) +/* 800935E4 00090544 EC 63 10 2A */ fadds f3, f3, f2 +/* 800935E8 00090548 C0 82 8B 50 */ lfs f4, lbl_805AA870@sda21(r2) +/* 800935EC 0009054C EC 41 00 2A */ fadds f2, f1, f0 +/* 800935F0 00090550 C0 21 02 2C */ lfs f1, 0x22c(r1) +/* 800935F4 00090554 C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 800935F8 00090558 EF E4 00 F2 */ fmuls f31, f4, f3 +/* 800935FC 0009055C EC 01 00 2A */ fadds f0, f1, f0 +/* 80093600 00090560 EF C4 00 B2 */ fmuls f30, f4, f2 +/* 80093604 00090564 EF A4 00 32 */ fmuls f29, f4, f0 +/* 80093608 00090568 48 27 EB 21 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8009360C 0009056C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80093610 00090570 80 81 00 50 */ lwz r4, 0x50(r1) +/* 80093614 00090574 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80093618 00090578 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8009361C 0009057C D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80093620 00090580 90 81 00 BC */ stw r4, 0xbc(r1) +/* 80093624 00090584 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 80093628 00090588 90 01 00 C4 */ stw r0, 0xc4(r1) +lbl_8009362C: +/* 8009362C 0009058C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80093630 00090590 FF 80 F8 90 */ fmr f28, f31 +/* 80093634 00090594 C0 22 8B 40 */ lfs f1, lbl_805AA860@sda21(r2) +/* 80093638 00090598 FF 60 F0 90 */ fmr f27, f30 +/* 8009363C 0009059C C0 03 00 F0 */ lfs f0, 0xf0(r3) +/* 80093640 000905A0 FF 40 E8 90 */ fmr f26, f29 +/* 80093644 000905A4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80093648 000905A8 FC 00 00 50 */ fneg f0, f0 +/* 8009364C 000905AC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80093650 000905B0 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80093654 000905B4 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80093658 000905B8 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8009365C 000905BC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80093660 000905C0 48 27 DC 05 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80093664 000905C4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80093668 000905C8 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 8009366C 000905CC C0 A1 00 44 */ lfs f5, 0x44(r1) +/* 80093670 000905D0 C0 C1 00 48 */ lfs f6, 0x48(r1) +/* 80093674 000905D4 40 82 00 30 */ bne lbl_800936A4 +/* 80093678 000905D8 C0 22 8B 3C */ lfs f1, lbl_805AA85C@sda21(r2) +/* 8009367C 000905DC C0 02 8B 54 */ lfs f0, lbl_805AA874@sda21(r2) +/* 80093680 000905E0 EC 61 01 32 */ fmuls f3, f1, f4 +/* 80093684 000905E4 EC 41 01 72 */ fmuls f2, f1, f5 +/* 80093688 000905E8 EC 21 01 B2 */ fmuls f1, f1, f6 +/* 8009368C 000905EC EF 9F 18 2A */ fadds f28, f31, f3 +/* 80093690 000905F0 EF 7E 10 2A */ fadds f27, f30, f2 +/* 80093694 000905F4 EF 5D 08 2A */ fadds f26, f29, f1 +/* 80093698 000905F8 EC 84 00 32 */ fmuls f4, f4, f0 +/* 8009369C 000905FC EC A5 00 32 */ fmuls f5, f5, f0 +/* 800936A0 00090600 EC C6 00 32 */ fmuls f6, f6, f0 +lbl_800936A4: +/* 800936A4 00090604 38 00 00 02 */ li r0, 2 +/* 800936A8 00090608 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 800936AC 0009060C 38 C0 00 00 */ li r6, 0 +/* 800936B0 00090610 7C 09 03 A6 */ mtctr r0 +lbl_800936B4: +/* 800936B4 00090614 28 04 00 00 */ cmplwi r4, 0 +/* 800936B8 00090618 80 7D 01 94 */ lwz r3, 0x194(r29) +/* 800936BC 0009061C 20 E6 00 02 */ subfic r7, r6, 2 +/* 800936C0 00090620 41 82 00 0C */ beq lbl_800936CC +/* 800936C4 00090624 7C C0 33 78 */ mr r0, r6 +/* 800936C8 00090628 48 00 00 0C */ b lbl_800936D4 +lbl_800936CC: +/* 800936CC 0009062C 80 1D 01 8C */ lwz r0, 0x18c(r29) +/* 800936D0 00090630 7C 07 00 50 */ subf r0, r7, r0 +lbl_800936D4: +/* 800936D4 00090634 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800936D8 00090638 28 04 00 00 */ cmplwi r4, 0 +/* 800936DC 0009063C 7C 63 02 14 */ add r3, r3, r0 +/* 800936E0 00090640 D3 83 00 00 */ stfs f28, 0(r3) +/* 800936E4 00090644 D3 63 00 04 */ stfs f27, 4(r3) +/* 800936E8 00090648 D3 43 00 08 */ stfs f26, 8(r3) +/* 800936EC 0009064C 80 7D 01 A4 */ lwz r3, 0x1a4(r29) +/* 800936F0 00090650 41 82 00 0C */ beq lbl_800936FC +/* 800936F4 00090654 7C C0 33 78 */ mr r0, r6 +/* 800936F8 00090658 48 00 00 0C */ b lbl_80093704 +lbl_800936FC: +/* 800936FC 0009065C 80 1D 01 9C */ lwz r0, 0x19c(r29) +/* 80093700 00090660 7C 07 00 50 */ subf r0, r7, r0 +lbl_80093704: +/* 80093704 00090664 54 00 20 36 */ slwi r0, r0, 4 +/* 80093708 00090668 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8009370C 0009066C 7C A3 02 14 */ add r5, r3, r0 +/* 80093710 00090670 28 04 00 00 */ cmplwi r4, 0 +/* 80093714 00090674 D0 05 00 00 */ stfs f0, 0(r5) +/* 80093718 00090678 80 61 00 BC */ lwz r3, 0xbc(r1) +/* 8009371C 0009067C 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 80093720 00090680 90 65 00 04 */ stw r3, 4(r5) +/* 80093724 00090684 90 05 00 08 */ stw r0, 8(r5) +/* 80093728 00090688 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8009372C 0009068C 90 05 00 0C */ stw r0, 0xc(r5) +/* 80093730 00090690 80 7D 01 C4 */ lwz r3, 0x1c4(r29) +/* 80093734 00090694 41 82 00 0C */ beq lbl_80093740 +/* 80093738 00090698 7C C0 33 78 */ mr r0, r6 +/* 8009373C 0009069C 48 00 00 0C */ b lbl_80093748 +lbl_80093740: +/* 80093740 000906A0 80 1D 01 BC */ lwz r0, 0x1bc(r29) +/* 80093744 000906A4 7C 07 00 50 */ subf r0, r7, r0 +lbl_80093748: +/* 80093748 000906A8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8009374C 000906AC EF 9C 20 2A */ fadds f28, f28, f4 +/* 80093750 000906B0 EF 7B 28 2A */ fadds f27, f27, f5 +/* 80093754 000906B4 38 C6 00 01 */ addi r6, r6, 1 +/* 80093758 000906B8 EF 5A 30 2A */ fadds f26, f26, f6 +/* 8009375C 000906BC 7C 63 02 14 */ add r3, r3, r0 +/* 80093760 000906C0 D3 E3 00 00 */ stfs f31, 0(r3) +/* 80093764 000906C4 D3 C3 00 04 */ stfs f30, 4(r3) +/* 80093768 000906C8 D3 A3 00 08 */ stfs f29, 8(r3) +/* 8009376C 000906CC 42 00 FF 48 */ bdnz lbl_800936B4 +/* 80093770 000906D0 D3 FD 02 10 */ stfs f31, 0x210(r29) +/* 80093774 000906D4 D3 DD 02 14 */ stfs f30, 0x214(r29) +/* 80093778 000906D8 D3 BD 02 18 */ stfs f29, 0x218(r29) +/* 8009377C 000906DC E3 E1 02 D8 */ psq_l f31, 728(r1), 0, qr0 +/* 80093780 000906E0 CB E1 02 D0 */ lfd f31, 0x2d0(r1) +/* 80093784 000906E4 E3 C1 02 C8 */ psq_l f30, 712(r1), 0, qr0 +/* 80093788 000906E8 CB C1 02 C0 */ lfd f30, 0x2c0(r1) +/* 8009378C 000906EC E3 A1 02 B8 */ psq_l f29, 696(r1), 0, qr0 +/* 80093790 000906F0 CB A1 02 B0 */ lfd f29, 0x2b0(r1) +/* 80093794 000906F4 E3 81 02 A8 */ psq_l f28, 680(r1), 0, qr0 +/* 80093798 000906F8 CB 81 02 A0 */ lfd f28, 0x2a0(r1) +/* 8009379C 000906FC E3 61 02 98 */ psq_l f27, 664(r1), 0, qr0 +/* 800937A0 00090700 CB 61 02 90 */ lfd f27, 0x290(r1) +/* 800937A4 00090704 E3 41 02 88 */ psq_l f26, 648(r1), 0, qr0 +/* 800937A8 00090708 CB 41 02 80 */ lfd f26, 0x280(r1) +/* 800937AC 0009070C BB 21 02 64 */ lmw r25, 0x264(r1) +/* 800937B0 00090710 80 01 02 E4 */ lwz r0, 0x2e4(r1) +/* 800937B4 00090714 7C 08 03 A6 */ mtlr r0 +/* 800937B8 00090718 38 21 02 E0 */ addi r1, r1, 0x2e0 +/* 800937BC 0009071C 4E 80 00 20 */ blr + +.global GenerateMoveOutofIntoPoints__16CCinematicCameraFbR13CStateManager +GenerateMoveOutofIntoPoints__16CCinematicCameraFbR13CStateManager: +/* 800937C0 00090720 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 800937C4 00090724 7C 08 02 A6 */ mflr r0 +/* 800937C8 00090728 90 01 01 04 */ stw r0, 0x104(r1) +/* 800937CC 0009072C DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 800937D0 00090730 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 800937D4 00090734 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 800937D8 00090738 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 800937DC 0009073C DB A1 00 D0 */ stfd f29, 0xd0(r1) +/* 800937E0 00090740 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 +/* 800937E4 00090744 DB 81 00 C0 */ stfd f28, 0xc0(r1) +/* 800937E8 00090748 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 +/* 800937EC 0009074C DB 61 00 B0 */ stfd f27, 0xb0(r1) +/* 800937F0 00090750 F3 61 00 B8 */ psq_st f27, 184(r1), 0, qr0 +/* 800937F4 00090754 DB 41 00 A0 */ stfd f26, 0xa0(r1) +/* 800937F8 00090758 F3 41 00 A8 */ psq_st f26, 168(r1), 0, qr0 +/* 800937FC 0009075C DB 21 00 90 */ stfd f25, 0x90(r1) +/* 80093800 00090760 F3 21 00 98 */ psq_st f25, 152(r1), 0, qr0 +/* 80093804 00090764 DB 01 00 80 */ stfd f24, 0x80(r1) +/* 80093808 00090768 F3 01 00 88 */ psq_st f24, 136(r1), 0, qr0 +/* 8009380C 0009076C DA E1 00 70 */ stfd f23, 0x70(r1) +/* 80093810 00090770 F2 E1 00 78 */ psq_st f23, 120(r1), 0, qr0 +/* 80093814 00090774 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 80093818 00090778 7C 7B 1B 78 */ mr r27, r3 +/* 8009381C 0009077C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80093820 00090780 7C BD 2B 78 */ mr r29, r5 +/* 80093824 00090784 80 BB 01 8C */ lwz r5, 0x18c(r27) +/* 80093828 00090788 C3 E3 00 F0 */ lfs f31, 0xf0(r3) +/* 8009382C 0009078C 7C 9C 23 78 */ mr r28, r4 +/* 80093830 00090790 83 FD 08 4C */ lwz r31, 0x84c(r29) +/* 80093834 00090794 38 7B 01 88 */ addi r3, r27, 0x188 +/* 80093838 00090798 38 85 00 02 */ addi r4, r5, 2 +/* 8009383C 0009079C 4B FC A4 BD */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 80093840 000907A0 80 9B 01 9C */ lwz r4, 0x19c(r27) +/* 80093844 000907A4 38 7B 01 98 */ addi r3, r27, 0x198 +/* 80093848 000907A8 38 84 00 02 */ addi r4, r4, 2 +/* 8009384C 000907AC 48 00 1D 3D */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" +/* 80093850 000907B0 80 9B 01 AC */ lwz r4, 0x1ac(r27) +/* 80093854 000907B4 38 7B 01 A8 */ addi r3, r27, 0x1a8 +/* 80093858 000907B8 38 84 00 02 */ addi r4, r4, 2 +/* 8009385C 000907BC 4B F7 8B AD */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 80093860 000907C0 80 9B 01 BC */ lwz r4, 0x1bc(r27) +/* 80093864 000907C4 38 7B 01 B8 */ addi r3, r27, 0x1b8 +/* 80093868 000907C8 38 84 00 02 */ addi r4, r4, 2 +/* 8009386C 000907CC 4B FC A4 8D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 80093870 000907D0 80 9B 01 CC */ lwz r4, 0x1cc(r27) +/* 80093874 000907D4 38 7B 01 C8 */ addi r3, r27, 0x1c8 +/* 80093878 000907D8 38 84 00 02 */ addi r4, r4, 2 +/* 8009387C 000907DC 4B F7 8B 8D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 80093880 000907E0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80093884 000907E4 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80093888 000907E8 48 27 E8 A1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8009388C 000907EC C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 80093890 000907F0 7F E4 FB 78 */ mr r4, r31 +/* 80093894 000907F4 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 80093898 000907F8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8009389C 000907FC C0 21 00 34 */ lfs f1, 0x34(r1) +/* 800938A0 00090800 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 800938A4 00090804 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 800938A8 00090808 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800938AC 0009080C D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800938B0 00090810 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800938B4 00090814 48 1F 14 C9 */ bl GetEyePosition__7CPlayerCFv +/* 800938B8 00090818 FC 00 F8 50 */ fneg f0, f31 +/* 800938BC 0009081C C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 800938C0 00090820 C0 22 8B 40 */ lfs f1, lbl_805AA860@sda21(r2) +/* 800938C4 00090824 38 61 00 14 */ addi r3, r1, 0x14 +/* 800938C8 00090828 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 800938CC 0009082C FF 80 F8 90 */ fmr f28, f31 +/* 800938D0 00090830 C3 A1 00 28 */ lfs f29, 0x28(r1) +/* 800938D4 00090834 FF 60 F0 90 */ fmr f27, f30 +/* 800938D8 00090838 D0 21 00 08 */ stfs f1, 8(r1) +/* 800938DC 0009083C 38 81 00 3C */ addi r4, r1, 0x3c +/* 800938E0 00090840 FF 40 E8 90 */ fmr f26, f29 +/* 800938E4 00090844 38 A1 00 08 */ addi r5, r1, 8 +/* 800938E8 00090848 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800938EC 0009084C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800938F0 00090850 48 27 D9 75 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 800938F4 00090854 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800938F8 00090858 C3 21 00 14 */ lfs f25, 0x14(r1) +/* 800938FC 0009085C C3 01 00 18 */ lfs f24, 0x18(r1) +/* 80093900 00090860 C2 E1 00 1C */ lfs f23, 0x1c(r1) +/* 80093904 00090864 40 82 00 30 */ bne lbl_80093934 +/* 80093908 00090868 C0 22 8B 3C */ lfs f1, lbl_805AA85C@sda21(r2) +/* 8009390C 0009086C C0 02 8B 54 */ lfs f0, lbl_805AA874@sda21(r2) +/* 80093910 00090870 EC 61 06 72 */ fmuls f3, f1, f25 +/* 80093914 00090874 EC 41 06 32 */ fmuls f2, f1, f24 +/* 80093918 00090878 EC 21 05 F2 */ fmuls f1, f1, f23 +/* 8009391C 0009087C EF 9C 18 2A */ fadds f28, f28, f3 +/* 80093920 00090880 EF 7B 10 2A */ fadds f27, f27, f2 +/* 80093924 00090884 EF 5A 08 2A */ fadds f26, f26, f1 +/* 80093928 00090888 EF 39 00 32 */ fmuls f25, f25, f0 +/* 8009392C 0009088C EF 18 00 32 */ fmuls f24, f24, f0 +/* 80093930 00090890 EE F7 00 32 */ fmuls f23, f23, f0 +lbl_80093934: +/* 80093934 00090894 3B C0 00 00 */ li r30, 0 +lbl_80093938: +/* 80093938 00090898 80 1B 01 8C */ lwz r0, 0x18c(r27) +/* 8009393C 0009089C 80 BB 01 90 */ lwz r5, 0x190(r27) +/* 80093940 000908A0 7C 00 28 00 */ cmpw r0, r5 +/* 80093944 000908A4 41 80 00 1C */ blt lbl_80093960 +/* 80093948 000908A8 2C 05 00 00 */ cmpwi r5, 0 +/* 8009394C 000908AC 38 7B 01 88 */ addi r3, r27, 0x188 +/* 80093950 000908B0 38 80 00 04 */ li r4, 4 +/* 80093954 000908B4 41 82 00 08 */ beq lbl_8009395C +/* 80093958 000908B8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8009395C: +/* 8009395C 000908BC 4B FC A3 9D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_80093960: +/* 80093960 000908C0 80 1B 01 8C */ lwz r0, 0x18c(r27) +/* 80093964 000908C4 80 7B 01 94 */ lwz r3, 0x194(r27) +/* 80093968 000908C8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8009396C 000908CC 7C 63 02 15 */ add. r3, r3, r0 +/* 80093970 000908D0 41 82 00 10 */ beq lbl_80093980 +/* 80093974 000908D4 D3 83 00 00 */ stfs f28, 0(r3) +/* 80093978 000908D8 D3 63 00 04 */ stfs f27, 4(r3) +/* 8009397C 000908DC D3 43 00 08 */ stfs f26, 8(r3) +lbl_80093980: +/* 80093980 000908E0 80 7B 01 8C */ lwz r3, 0x18c(r27) +/* 80093984 000908E4 38 03 00 01 */ addi r0, r3, 1 +/* 80093988 000908E8 90 1B 01 8C */ stw r0, 0x18c(r27) +/* 8009398C 000908EC 80 1B 01 9C */ lwz r0, 0x19c(r27) +/* 80093990 000908F0 80 BB 01 A0 */ lwz r5, 0x1a0(r27) +/* 80093994 000908F4 7C 00 28 00 */ cmpw r0, r5 +/* 80093998 000908F8 41 80 00 1C */ blt lbl_800939B4 +/* 8009399C 000908FC 2C 05 00 00 */ cmpwi r5, 0 +/* 800939A0 00090900 38 7B 01 98 */ addi r3, r27, 0x198 +/* 800939A4 00090904 38 80 00 04 */ li r4, 4 +/* 800939A8 00090908 41 82 00 08 */ beq lbl_800939B0 +/* 800939AC 0009090C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800939B0: +/* 800939B0 00090910 48 00 1B D9 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" +lbl_800939B4: +/* 800939B4 00090914 80 1B 01 9C */ lwz r0, 0x19c(r27) +/* 800939B8 00090918 80 7B 01 A4 */ lwz r3, 0x1a4(r27) +/* 800939BC 0009091C 54 00 20 36 */ slwi r0, r0, 4 +/* 800939C0 00090920 7C 63 02 15 */ add. r3, r3, r0 +/* 800939C4 00090924 41 82 00 24 */ beq lbl_800939E8 +/* 800939C8 00090928 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 800939CC 0009092C D0 03 00 00 */ stfs f0, 0(r3) +/* 800939D0 00090930 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 800939D4 00090934 D0 03 00 04 */ stfs f0, 4(r3) +/* 800939D8 00090938 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 800939DC 0009093C D0 03 00 08 */ stfs f0, 8(r3) +/* 800939E0 00090940 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 800939E4 00090944 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_800939E8: +/* 800939E8 00090948 80 7B 01 9C */ lwz r3, 0x19c(r27) +/* 800939EC 0009094C 38 03 00 01 */ addi r0, r3, 1 +/* 800939F0 00090950 90 1B 01 9C */ stw r0, 0x19c(r27) +/* 800939F4 00090954 80 1B 01 AC */ lwz r0, 0x1ac(r27) +/* 800939F8 00090958 80 BB 01 B0 */ lwz r5, 0x1b0(r27) +/* 800939FC 0009095C A3 5F 00 08 */ lhz r26, 8(r31) +/* 80093A00 00090960 7C 00 28 00 */ cmpw r0, r5 +/* 80093A04 00090964 41 80 00 1C */ blt lbl_80093A20 +/* 80093A08 00090968 2C 05 00 00 */ cmpwi r5, 0 +/* 80093A0C 0009096C 38 7B 01 A8 */ addi r3, r27, 0x1a8 +/* 80093A10 00090970 38 80 00 04 */ li r4, 4 +/* 80093A14 00090974 41 82 00 08 */ beq lbl_80093A1C +/* 80093A18 00090978 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80093A1C: +/* 80093A1C 0009097C 4B F7 89 ED */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_80093A20: +/* 80093A20 00090980 80 1B 01 AC */ lwz r0, 0x1ac(r27) +/* 80093A24 00090984 80 7B 01 B4 */ lwz r3, 0x1b4(r27) +/* 80093A28 00090988 54 00 08 3C */ slwi r0, r0, 1 +/* 80093A2C 0009098C 7C 63 02 15 */ add. r3, r3, r0 +/* 80093A30 00090990 41 82 00 08 */ beq lbl_80093A38 +/* 80093A34 00090994 B3 43 00 00 */ sth r26, 0(r3) +lbl_80093A38: +/* 80093A38 00090998 80 7B 01 AC */ lwz r3, 0x1ac(r27) +/* 80093A3C 0009099C 38 03 00 01 */ addi r0, r3, 1 +/* 80093A40 000909A0 90 1B 01 AC */ stw r0, 0x1ac(r27) +/* 80093A44 000909A4 80 1B 01 BC */ lwz r0, 0x1bc(r27) +/* 80093A48 000909A8 80 BB 01 C0 */ lwz r5, 0x1c0(r27) +/* 80093A4C 000909AC 7C 00 28 00 */ cmpw r0, r5 +/* 80093A50 000909B0 41 80 00 1C */ blt lbl_80093A6C +/* 80093A54 000909B4 2C 05 00 00 */ cmpwi r5, 0 +/* 80093A58 000909B8 38 7B 01 B8 */ addi r3, r27, 0x1b8 +/* 80093A5C 000909BC 38 80 00 04 */ li r4, 4 +/* 80093A60 000909C0 41 82 00 08 */ beq lbl_80093A68 +/* 80093A64 000909C4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80093A68: +/* 80093A68 000909C8 4B FC A2 91 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_80093A6C: +/* 80093A6C 000909CC 80 1B 01 BC */ lwz r0, 0x1bc(r27) +/* 80093A70 000909D0 80 7B 01 C4 */ lwz r3, 0x1c4(r27) +/* 80093A74 000909D4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80093A78 000909D8 7C 63 02 15 */ add. r3, r3, r0 +/* 80093A7C 000909DC 41 82 00 10 */ beq lbl_80093A8C +/* 80093A80 000909E0 D3 E3 00 00 */ stfs f31, 0(r3) +/* 80093A84 000909E4 D3 C3 00 04 */ stfs f30, 4(r3) +/* 80093A88 000909E8 D3 A3 00 08 */ stfs f29, 8(r3) +lbl_80093A8C: +/* 80093A8C 000909EC 80 7B 01 BC */ lwz r3, 0x1bc(r27) +/* 80093A90 000909F0 38 03 00 01 */ addi r0, r3, 1 +/* 80093A94 000909F4 90 1B 01 BC */ stw r0, 0x1bc(r27) +/* 80093A98 000909F8 80 1B 01 CC */ lwz r0, 0x1cc(r27) +/* 80093A9C 000909FC 80 BB 01 D0 */ lwz r5, 0x1d0(r27) +/* 80093AA0 00090A00 7C 00 28 00 */ cmpw r0, r5 +/* 80093AA4 00090A04 41 80 00 1C */ blt lbl_80093AC0 +/* 80093AA8 00090A08 2C 05 00 00 */ cmpwi r5, 0 +/* 80093AAC 00090A0C 38 7B 01 C8 */ addi r3, r27, 0x1c8 +/* 80093AB0 00090A10 38 80 00 04 */ li r4, 4 +/* 80093AB4 00090A14 41 82 00 08 */ beq lbl_80093ABC +/* 80093AB8 00090A18 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80093ABC: +/* 80093ABC 00090A1C 4B F7 89 4D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_80093AC0: +/* 80093AC0 00090A20 80 1B 01 CC */ lwz r0, 0x1cc(r27) +/* 80093AC4 00090A24 80 7B 01 D4 */ lwz r3, 0x1d4(r27) +/* 80093AC8 00090A28 54 00 08 3C */ slwi r0, r0, 1 +/* 80093ACC 00090A2C 7C 63 02 15 */ add. r3, r3, r0 +/* 80093AD0 00090A30 41 82 00 0C */ beq lbl_80093ADC +/* 80093AD4 00090A34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80093AD8 00090A38 B0 03 00 00 */ sth r0, 0(r3) +lbl_80093ADC: +/* 80093ADC 00090A3C 80 7B 01 CC */ lwz r3, 0x1cc(r27) +/* 80093AE0 00090A40 3B DE 00 01 */ addi r30, r30, 1 +/* 80093AE4 00090A44 2C 1E 00 02 */ cmpwi r30, 2 +/* 80093AE8 00090A48 EF 9C C8 2A */ fadds f28, f28, f25 +/* 80093AEC 00090A4C 38 03 00 01 */ addi r0, r3, 1 +/* 80093AF0 00090A50 EF 7B C0 2A */ fadds f27, f27, f24 +/* 80093AF4 00090A54 EF 5A B8 2A */ fadds f26, f26, f23 +/* 80093AF8 00090A58 90 1B 01 CC */ stw r0, 0x1cc(r27) +/* 80093AFC 00090A5C 41 80 FE 3C */ blt lbl_80093938 +/* 80093B00 00090A60 7F 63 DB 78 */ mr r3, r27 +/* 80093B04 00090A64 7F 84 E3 78 */ mr r4, r28 +/* 80093B08 00090A68 7F A5 EB 78 */ mr r5, r29 +/* 80093B0C 00090A6C 4B FF F7 E1 */ bl GenerateMoveOutofIntoEyePosition__16CCinematicCameraFbR13CStateManager +/* 80093B10 00090A70 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 80093B14 00090A74 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 80093B18 00090A78 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 80093B1C 00090A7C CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 80093B20 00090A80 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 +/* 80093B24 00090A84 CB A1 00 D0 */ lfd f29, 0xd0(r1) +/* 80093B28 00090A88 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 +/* 80093B2C 00090A8C CB 81 00 C0 */ lfd f28, 0xc0(r1) +/* 80093B30 00090A90 E3 61 00 B8 */ psq_l f27, 184(r1), 0, qr0 +/* 80093B34 00090A94 CB 61 00 B0 */ lfd f27, 0xb0(r1) +/* 80093B38 00090A98 E3 41 00 A8 */ psq_l f26, 168(r1), 0, qr0 +/* 80093B3C 00090A9C CB 41 00 A0 */ lfd f26, 0xa0(r1) +/* 80093B40 00090AA0 E3 21 00 98 */ psq_l f25, 152(r1), 0, qr0 +/* 80093B44 00090AA4 CB 21 00 90 */ lfd f25, 0x90(r1) +/* 80093B48 00090AA8 E3 01 00 88 */ psq_l f24, 136(r1), 0, qr0 +/* 80093B4C 00090AAC CB 01 00 80 */ lfd f24, 0x80(r1) +/* 80093B50 00090AB0 E2 E1 00 78 */ psq_l f23, 120(r1), 0, qr0 +/* 80093B54 00090AB4 CA E1 00 70 */ lfd f23, 0x70(r1) +/* 80093B58 00090AB8 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 80093B5C 00090ABC 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80093B60 00090AC0 7C 08 03 A6 */ mtlr r0 +/* 80093B64 00090AC4 38 21 01 00 */ addi r1, r1, 0x100 +/* 80093B68 00090AC8 4E 80 00 20 */ blr + +.global CalculateWaypoints__16CCinematicCameraFR13CStateManager +CalculateWaypoints__16CCinematicCameraFR13CStateManager: +/* 80093B6C 00090ACC 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80093B70 00090AD0 7C 08 02 A6 */ mflr r0 +/* 80093B74 00090AD4 90 01 01 64 */ stw r0, 0x164(r1) +/* 80093B78 00090AD8 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 80093B7C 00090ADC F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 80093B80 00090AE0 DB C1 01 40 */ stfd f30, 0x140(r1) +/* 80093B84 00090AE4 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 +/* 80093B88 00090AE8 DB A1 01 30 */ stfd f29, 0x130(r1) +/* 80093B8C 00090AEC F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 +/* 80093B90 00090AF0 BF 61 01 1C */ stmw r27, 0x11c(r1) +/* 80093B94 00090AF4 7C 7F 1B 78 */ mr r31, r3 +/* 80093B98 00090AF8 7C 9E 23 78 */ mr r30, r4 +/* 80093B9C 00090AFC 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 80093BA0 00090B00 3B 80 00 00 */ li r28, 0 +/* 80093BA4 00090B04 3B A0 00 00 */ li r29, 0 +/* 80093BA8 00090B08 48 00 00 40 */ b lbl_80093BE8 +lbl_80093BAC: +/* 80093BAC 00090B0C 80 64 00 00 */ lwz r3, 0(r4) +/* 80093BB0 00090B10 2C 03 00 0F */ cmpwi r3, 0xf +/* 80093BB4 00090B14 40 82 00 18 */ bne lbl_80093BCC +/* 80093BB8 00090B18 80 04 00 04 */ lwz r0, 4(r4) +/* 80093BBC 00090B1C 2C 00 00 01 */ cmpwi r0, 1 +/* 80093BC0 00090B20 40 82 00 0C */ bne lbl_80093BCC +/* 80093BC4 00090B24 7C 9C 23 78 */ mr r28, r4 +/* 80093BC8 00090B28 48 00 00 1C */ b lbl_80093BE4 +lbl_80093BCC: +/* 80093BCC 00090B2C 2C 03 00 10 */ cmpwi r3, 0x10 +/* 80093BD0 00090B30 40 82 00 14 */ bne lbl_80093BE4 +/* 80093BD4 00090B34 80 04 00 04 */ lwz r0, 4(r4) +/* 80093BD8 00090B38 2C 00 00 01 */ cmpwi r0, 1 +/* 80093BDC 00090B3C 40 82 00 08 */ bne lbl_80093BE4 +/* 80093BE0 00090B40 7C 9D 23 78 */ mr r29, r4 +lbl_80093BE4: +/* 80093BE4 00090B44 38 84 00 0C */ addi r4, r4, 0xc +lbl_80093BE8: +/* 80093BE8 00090B48 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80093BEC 00090B4C 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80093BF0 00090B50 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80093BF4 00090B54 7C 03 02 14 */ add r0, r3, r0 +/* 80093BF8 00090B58 7C 04 00 40 */ cmplw r4, r0 +/* 80093BFC 00090B5C 40 82 FF B0 */ bne lbl_80093BAC +/* 80093C00 00090B60 80 1F 01 8C */ lwz r0, 0x18c(r31) +/* 80093C04 00090B64 80 7F 01 94 */ lwz r3, 0x194(r31) +/* 80093C08 00090B68 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80093C0C 00090B6C 90 61 00 7C */ stw r3, 0x7c(r1) +/* 80093C10 00090B70 7C 03 02 14 */ add r0, r3, r0 +/* 80093C14 00090B74 90 61 00 78 */ stw r3, 0x78(r1) +/* 80093C18 00090B78 90 01 00 84 */ stw r0, 0x84(r1) +/* 80093C1C 00090B7C 90 01 00 80 */ stw r0, 0x80(r1) +/* 80093C20 00090B80 48 00 00 08 */ b lbl_80093C28 +lbl_80093C24: +/* 80093C24 00090B84 38 63 00 0C */ addi r3, r3, 0xc +lbl_80093C28: +/* 80093C28 00090B88 7C 03 00 40 */ cmplw r3, r0 +/* 80093C2C 00090B8C 40 82 FF F8 */ bne lbl_80093C24 +/* 80093C30 00090B90 38 00 00 00 */ li r0, 0 +/* 80093C34 00090B94 38 7F 01 88 */ addi r3, r31, 0x188 +/* 80093C38 00090B98 90 1F 01 8C */ stw r0, 0x18c(r31) +/* 80093C3C 00090B9C 38 80 00 03 */ li r4, 3 +/* 80093C40 00090BA0 4B FC A0 B9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 80093C44 00090BA4 80 1F 01 9C */ lwz r0, 0x19c(r31) +/* 80093C48 00090BA8 80 7F 01 A4 */ lwz r3, 0x1a4(r31) +/* 80093C4C 00090BAC 54 00 20 36 */ slwi r0, r0, 4 +/* 80093C50 00090BB0 7C 03 02 14 */ add r0, r3, r0 +/* 80093C54 00090BB4 90 61 00 6C */ stw r3, 0x6c(r1) +/* 80093C58 00090BB8 90 01 00 74 */ stw r0, 0x74(r1) +/* 80093C5C 00090BBC 90 01 00 70 */ stw r0, 0x70(r1) +/* 80093C60 00090BC0 90 61 00 68 */ stw r3, 0x68(r1) +/* 80093C64 00090BC4 48 00 00 08 */ b lbl_80093C6C +lbl_80093C68: +/* 80093C68 00090BC8 38 63 00 10 */ addi r3, r3, 0x10 +lbl_80093C6C: +/* 80093C6C 00090BCC 7C 03 00 40 */ cmplw r3, r0 +/* 80093C70 00090BD0 40 82 FF F8 */ bne lbl_80093C68 +/* 80093C74 00090BD4 38 00 00 00 */ li r0, 0 +/* 80093C78 00090BD8 38 7F 01 98 */ addi r3, r31, 0x198 +/* 80093C7C 00090BDC 90 1F 01 9C */ stw r0, 0x19c(r31) +/* 80093C80 00090BE0 38 80 00 03 */ li r4, 3 +/* 80093C84 00090BE4 48 00 19 05 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" +/* 80093C88 00090BE8 80 1F 01 AC */ lwz r0, 0x1ac(r31) +/* 80093C8C 00090BEC 80 7F 01 B4 */ lwz r3, 0x1b4(r31) +/* 80093C90 00090BF0 54 00 08 3C */ slwi r0, r0, 1 +/* 80093C94 00090BF4 7C 03 02 14 */ add r0, r3, r0 +/* 80093C98 00090BF8 90 61 00 5C */ stw r3, 0x5c(r1) +/* 80093C9C 00090BFC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80093CA0 00090C00 90 01 00 60 */ stw r0, 0x60(r1) +/* 80093CA4 00090C04 90 61 00 58 */ stw r3, 0x58(r1) +/* 80093CA8 00090C08 48 00 00 08 */ b lbl_80093CB0 +lbl_80093CAC: +/* 80093CAC 00090C0C 38 63 00 02 */ addi r3, r3, 2 +lbl_80093CB0: +/* 80093CB0 00090C10 7C 03 00 40 */ cmplw r3, r0 +/* 80093CB4 00090C14 40 82 FF F8 */ bne lbl_80093CAC +/* 80093CB8 00090C18 38 00 00 00 */ li r0, 0 +/* 80093CBC 00090C1C 38 7F 01 A8 */ addi r3, r31, 0x1a8 +/* 80093CC0 00090C20 90 1F 01 AC */ stw r0, 0x1ac(r31) +/* 80093CC4 00090C24 38 80 00 03 */ li r4, 3 +/* 80093CC8 00090C28 4B F7 87 41 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 80093CCC 00090C2C 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 80093CD0 00090C30 80 7F 01 C4 */ lwz r3, 0x1c4(r31) +/* 80093CD4 00090C34 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80093CD8 00090C38 90 61 00 4C */ stw r3, 0x4c(r1) +/* 80093CDC 00090C3C 7C 03 02 14 */ add r0, r3, r0 +/* 80093CE0 00090C40 90 61 00 48 */ stw r3, 0x48(r1) +/* 80093CE4 00090C44 90 01 00 54 */ stw r0, 0x54(r1) +/* 80093CE8 00090C48 90 01 00 50 */ stw r0, 0x50(r1) +/* 80093CEC 00090C4C 48 00 00 08 */ b lbl_80093CF4 +lbl_80093CF0: +/* 80093CF0 00090C50 38 63 00 0C */ addi r3, r3, 0xc +lbl_80093CF4: +/* 80093CF4 00090C54 7C 03 00 40 */ cmplw r3, r0 +/* 80093CF8 00090C58 40 82 FF F8 */ bne lbl_80093CF0 +/* 80093CFC 00090C5C 38 00 00 00 */ li r0, 0 +/* 80093D00 00090C60 38 7F 01 B8 */ addi r3, r31, 0x1b8 +/* 80093D04 00090C64 90 1F 01 BC */ stw r0, 0x1bc(r31) +/* 80093D08 00090C68 38 80 00 03 */ li r4, 3 +/* 80093D0C 00090C6C 4B FC 9F ED */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 80093D10 00090C70 80 1F 01 CC */ lwz r0, 0x1cc(r31) +/* 80093D14 00090C74 80 7F 01 D4 */ lwz r3, 0x1d4(r31) +/* 80093D18 00090C78 54 00 08 3C */ slwi r0, r0, 1 +/* 80093D1C 00090C7C 7C 03 02 14 */ add r0, r3, r0 +/* 80093D20 00090C80 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80093D24 00090C84 90 01 00 44 */ stw r0, 0x44(r1) +/* 80093D28 00090C88 90 01 00 40 */ stw r0, 0x40(r1) +/* 80093D2C 00090C8C 90 61 00 38 */ stw r3, 0x38(r1) +/* 80093D30 00090C90 48 00 00 08 */ b lbl_80093D38 +lbl_80093D34: +/* 80093D34 00090C94 38 63 00 02 */ addi r3, r3, 2 +lbl_80093D38: +/* 80093D38 00090C98 7C 03 00 40 */ cmplw r3, r0 +/* 80093D3C 00090C9C 40 82 FF F8 */ bne lbl_80093D34 +/* 80093D40 00090CA0 38 00 00 00 */ li r0, 0 +/* 80093D44 00090CA4 38 7F 01 C8 */ addi r3, r31, 0x1c8 +/* 80093D48 00090CA8 90 1F 01 CC */ stw r0, 0x1cc(r31) +/* 80093D4C 00090CAC 38 80 00 03 */ li r4, 3 +/* 80093D50 00090CB0 4B F7 86 B9 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 80093D54 00090CB4 80 1F 01 DC */ lwz r0, 0x1dc(r31) +/* 80093D58 00090CB8 80 7F 01 E4 */ lwz r3, 0x1e4(r31) +/* 80093D5C 00090CBC 54 00 10 3A */ slwi r0, r0, 2 +/* 80093D60 00090CC0 7C 03 02 14 */ add r0, r3, r0 +/* 80093D64 00090CC4 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80093D68 00090CC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80093D6C 00090CCC 90 01 00 30 */ stw r0, 0x30(r1) +/* 80093D70 00090CD0 90 61 00 28 */ stw r3, 0x28(r1) +/* 80093D74 00090CD4 48 00 00 08 */ b lbl_80093D7C +lbl_80093D78: +/* 80093D78 00090CD8 38 63 00 04 */ addi r3, r3, 4 +lbl_80093D7C: +/* 80093D7C 00090CDC 7C 03 00 40 */ cmplw r3, r0 +/* 80093D80 00090CE0 40 82 FF F8 */ bne lbl_80093D78 +/* 80093D84 00090CE4 38 00 00 00 */ li r0, 0 +/* 80093D88 00090CE8 38 7F 01 D8 */ addi r3, r31, 0x1d8 +/* 80093D8C 00090CEC 90 1F 01 DC */ stw r0, 0x1dc(r31) +/* 80093D90 00090CF0 38 80 00 03 */ li r4, 3 +/* 80093D94 00090CF4 4B FC A0 65 */ bl "reserve__Q24rstl36vectorFi" +/* 80093D98 00090CF8 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 80093D9C 00090CFC 38 60 00 00 */ li r3, 0 +/* 80093DA0 00090D00 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80093DA4 00090D04 98 1F 02 20 */ stb r0, 0x220(r31) +/* 80093DA8 00090D08 80 7F 02 1C */ lwz r3, 0x21c(r31) +/* 80093DAC 00090D0C 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e +/* 80093DB0 00090D10 41 82 00 1C */ beq lbl_80093DCC +/* 80093DB4 00090D14 54 60 05 AD */ rlwinm. r0, r3, 0, 0x16, 0x16 +/* 80093DB8 00090D18 40 82 00 14 */ bne lbl_80093DCC +/* 80093DBC 00090D1C 7F E3 FB 78 */ mr r3, r31 +/* 80093DC0 00090D20 7F C5 F3 78 */ mr r5, r30 +/* 80093DC4 00090D24 38 80 00 01 */ li r4, 1 +/* 80093DC8 00090D28 4B FF F9 F9 */ bl GenerateMoveOutofIntoPoints__16CCinematicCameraFbR13CStateManager +lbl_80093DCC: +/* 80093DCC 00090D2C 28 1C 00 00 */ cmplwi r28, 0 +/* 80093DD0 00090D30 41 82 02 E0 */ beq lbl_800940B0 +/* 80093DD4 00090D34 80 1C 00 08 */ lwz r0, 8(r28) +/* 80093DD8 00090D38 7F C4 F3 78 */ mr r4, r30 +/* 80093DDC 00090D3C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80093DE0 00090D40 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 80093DE4 00090D44 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80093DE8 00090D48 4B FB 41 35 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80093DEC 00090D4C A0 01 00 20 */ lhz r0, 0x20(r1) +/* 80093DF0 00090D50 7F C3 F3 78 */ mr r3, r30 +/* 80093DF4 00090D54 38 81 00 24 */ addi r4, r1, 0x24 +/* 80093DF8 00090D58 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80093DFC 00090D5C 4B FB 87 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80093E00 00090D60 7C 64 1B 78 */ mr r4, r3 +/* 80093E04 00090D64 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80093E08 00090D68 48 01 BE 89 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80093E0C 00090D6C 83 83 00 04 */ lwz r28, 4(r3) +/* 80093E10 00090D70 48 00 02 98 */ b lbl_800940A8 +lbl_80093E14: +/* 80093E14 00090D74 80 9F 01 8C */ lwz r4, 0x18c(r31) +/* 80093E18 00090D78 38 7F 01 88 */ addi r3, r31, 0x188 +/* 80093E1C 00090D7C 38 84 00 01 */ addi r4, r4, 1 +/* 80093E20 00090D80 4B FC 9E D9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 80093E24 00090D84 80 1F 01 8C */ lwz r0, 0x18c(r31) +/* 80093E28 00090D88 80 BF 01 90 */ lwz r5, 0x190(r31) +/* 80093E2C 00090D8C C3 BC 00 60 */ lfs f29, 0x60(r28) +/* 80093E30 00090D90 7C 00 28 00 */ cmpw r0, r5 +/* 80093E34 00090D94 C3 DC 00 50 */ lfs f30, 0x50(r28) +/* 80093E38 00090D98 C3 FC 00 40 */ lfs f31, 0x40(r28) +/* 80093E3C 00090D9C 41 80 00 1C */ blt lbl_80093E58 +/* 80093E40 00090DA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80093E44 00090DA4 38 7F 01 88 */ addi r3, r31, 0x188 +/* 80093E48 00090DA8 38 80 00 04 */ li r4, 4 +/* 80093E4C 00090DAC 41 82 00 08 */ beq lbl_80093E54 +/* 80093E50 00090DB0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80093E54: +/* 80093E54 00090DB4 4B FC 9E A5 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_80093E58: +/* 80093E58 00090DB8 80 1F 01 8C */ lwz r0, 0x18c(r31) +/* 80093E5C 00090DBC 80 7F 01 94 */ lwz r3, 0x194(r31) +/* 80093E60 00090DC0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80093E64 00090DC4 7C 63 02 15 */ add. r3, r3, r0 +/* 80093E68 00090DC8 41 82 00 10 */ beq lbl_80093E78 +/* 80093E6C 00090DCC D3 E3 00 00 */ stfs f31, 0(r3) +/* 80093E70 00090DD0 D3 C3 00 04 */ stfs f30, 4(r3) +/* 80093E74 00090DD4 D3 A3 00 08 */ stfs f29, 8(r3) +lbl_80093E78: +/* 80093E78 00090DD8 80 9F 01 8C */ lwz r4, 0x18c(r31) +/* 80093E7C 00090DDC 38 7F 01 98 */ addi r3, r31, 0x198 +/* 80093E80 00090DE0 38 04 00 01 */ addi r0, r4, 1 +/* 80093E84 00090DE4 90 1F 01 8C */ stw r0, 0x18c(r31) +/* 80093E88 00090DE8 80 9F 01 9C */ lwz r4, 0x19c(r31) +/* 80093E8C 00090DEC 38 84 00 01 */ addi r4, r4, 1 +/* 80093E90 00090DF0 48 00 16 F9 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" +/* 80093E94 00090DF4 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80093E98 00090DF8 38 9C 00 34 */ addi r4, r28, 0x34 +/* 80093E9C 00090DFC 48 27 E2 8D */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80093EA0 00090E00 80 1F 01 9C */ lwz r0, 0x19c(r31) +/* 80093EA4 00090E04 80 BF 01 A0 */ lwz r5, 0x1a0(r31) +/* 80093EA8 00090E08 7C 00 28 00 */ cmpw r0, r5 +/* 80093EAC 00090E0C 41 80 00 1C */ blt lbl_80093EC8 +/* 80093EB0 00090E10 2C 05 00 00 */ cmpwi r5, 0 +/* 80093EB4 00090E14 38 7F 01 98 */ addi r3, r31, 0x198 +/* 80093EB8 00090E18 38 80 00 04 */ li r4, 4 +/* 80093EBC 00090E1C 41 82 00 08 */ beq lbl_80093EC4 +/* 80093EC0 00090E20 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80093EC4: +/* 80093EC4 00090E24 48 00 16 C5 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" +lbl_80093EC8: +/* 80093EC8 00090E28 80 1F 01 9C */ lwz r0, 0x19c(r31) +/* 80093ECC 00090E2C 80 7F 01 A4 */ lwz r3, 0x1a4(r31) +/* 80093ED0 00090E30 54 00 20 36 */ slwi r0, r0, 4 +/* 80093ED4 00090E34 7C 63 02 15 */ add. r3, r3, r0 +/* 80093ED8 00090E38 41 82 00 24 */ beq lbl_80093EFC +/* 80093EDC 00090E3C C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 80093EE0 00090E40 D0 03 00 00 */ stfs f0, 0(r3) +/* 80093EE4 00090E44 C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 80093EE8 00090E48 D0 03 00 04 */ stfs f0, 4(r3) +/* 80093EEC 00090E4C C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 80093EF0 00090E50 D0 03 00 08 */ stfs f0, 8(r3) +/* 80093EF4 00090E54 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 80093EF8 00090E58 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_80093EFC: +/* 80093EFC 00090E5C 80 BF 01 9C */ lwz r5, 0x19c(r31) +/* 80093F00 00090E60 7F 84 E3 78 */ mr r4, r28 +/* 80093F04 00090E64 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80093F08 00090E68 38 05 00 01 */ addi r0, r5, 1 +/* 80093F0C 00090E6C 90 1F 01 9C */ stw r0, 0x19c(r31) +/* 80093F10 00090E70 48 01 6E 95 */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" +/* 80093F14 00090E74 83 63 00 04 */ lwz r27, 4(r3) +/* 80093F18 00090E78 28 1B 00 00 */ cmplwi r27, 0 +/* 80093F1C 00090E7C 41 82 00 64 */ beq lbl_80093F80 +/* 80093F20 00090E80 80 9F 01 DC */ lwz r4, 0x1dc(r31) +/* 80093F24 00090E84 38 7F 01 D8 */ addi r3, r31, 0x1d8 +/* 80093F28 00090E88 38 84 00 01 */ addi r4, r4, 1 +/* 80093F2C 00090E8C 4B FC 9E CD */ bl "reserve__Q24rstl36vectorFi" +/* 80093F30 00090E90 80 1F 01 DC */ lwz r0, 0x1dc(r31) +/* 80093F34 00090E94 80 BF 01 E0 */ lwz r5, 0x1e0(r31) +/* 80093F38 00090E98 C3 BB 00 E8 */ lfs f29, 0xe8(r27) +/* 80093F3C 00090E9C 7C 00 28 00 */ cmpw r0, r5 +/* 80093F40 00090EA0 41 80 00 1C */ blt lbl_80093F5C +/* 80093F44 00090EA4 2C 05 00 00 */ cmpwi r5, 0 +/* 80093F48 00090EA8 38 7F 01 D8 */ addi r3, r31, 0x1d8 +/* 80093F4C 00090EAC 38 80 00 04 */ li r4, 4 +/* 80093F50 00090EB0 41 82 00 08 */ beq lbl_80093F58 +/* 80093F54 00090EB4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80093F58: +/* 80093F58 00090EB8 4B FC 9E A1 */ bl "reserve__Q24rstl36vectorFi" +lbl_80093F5C: +/* 80093F5C 00090EBC 80 1F 01 DC */ lwz r0, 0x1dc(r31) +/* 80093F60 00090EC0 80 7F 01 E4 */ lwz r3, 0x1e4(r31) +/* 80093F64 00090EC4 54 00 10 3A */ slwi r0, r0, 2 +/* 80093F68 00090EC8 7C 63 02 15 */ add. r3, r3, r0 +/* 80093F6C 00090ECC 41 82 00 08 */ beq lbl_80093F74 +/* 80093F70 00090ED0 D3 A3 00 00 */ stfs f29, 0(r3) +lbl_80093F74: +/* 80093F74 00090ED4 80 7F 01 DC */ lwz r3, 0x1dc(r31) +/* 80093F78 00090ED8 38 03 00 01 */ addi r0, r3, 1 +/* 80093F7C 00090EDC 90 1F 01 DC */ stw r0, 0x1dc(r31) +lbl_80093F80: +/* 80093F80 00090EE0 80 BF 01 AC */ lwz r5, 0x1ac(r31) +/* 80093F84 00090EE4 80 7F 01 B4 */ lwz r3, 0x1b4(r31) +/* 80093F88 00090EE8 54 A0 08 3C */ slwi r0, r5, 1 +/* 80093F8C 00090EEC A0 DC 00 08 */ lhz r6, 8(r28) +/* 80093F90 00090EF0 7C 83 02 14 */ add r4, r3, r0 +/* 80093F94 00090EF4 90 61 00 BC */ stw r3, 0xbc(r1) +/* 80093F98 00090EF8 90 81 00 B0 */ stw r4, 0xb0(r1) +/* 80093F9C 00090EFC 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 80093FA0 00090F00 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 80093FA4 00090F04 90 81 00 B8 */ stw r4, 0xb8(r1) +/* 80093FA8 00090F08 48 00 00 10 */ b lbl_80093FB8 +lbl_80093FAC: +/* 80093FAC 00090F0C 80 61 00 C0 */ lwz r3, 0xc0(r1) +/* 80093FB0 00090F10 38 03 00 02 */ addi r0, r3, 2 +/* 80093FB4 00090F14 90 01 00 C0 */ stw r0, 0xc0(r1) +lbl_80093FB8: +/* 80093FB8 00090F18 80 61 00 C0 */ lwz r3, 0xc0(r1) +/* 80093FBC 00090F1C 7C 03 20 40 */ cmplw r3, r4 +/* 80093FC0 00090F20 41 82 00 10 */ beq lbl_80093FD0 +/* 80093FC4 00090F24 A0 03 00 00 */ lhz r0, 0(r3) +/* 80093FC8 00090F28 7C 00 30 40 */ cmplw r0, r6 +/* 80093FCC 00090F2C 40 82 FF E0 */ bne lbl_80093FAC +lbl_80093FD0: +/* 80093FD0 00090F30 80 61 00 C0 */ lwz r3, 0xc0(r1) +/* 80093FD4 00090F34 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 80093FD8 00090F38 7C 03 00 40 */ cmplw r3, r0 +/* 80093FDC 00090F3C 40 82 00 D4 */ bne lbl_800940B0 +/* 80093FE0 00090F40 38 7F 01 A8 */ addi r3, r31, 0x1a8 +/* 80093FE4 00090F44 38 85 00 01 */ addi r4, r5, 1 +/* 80093FE8 00090F48 4B F7 84 21 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 80093FEC 00090F4C 80 1F 01 AC */ lwz r0, 0x1ac(r31) +/* 80093FF0 00090F50 80 BF 01 B0 */ lwz r5, 0x1b0(r31) +/* 80093FF4 00090F54 A3 7C 00 08 */ lhz r27, 8(r28) +/* 80093FF8 00090F58 7C 00 28 00 */ cmpw r0, r5 +/* 80093FFC 00090F5C 41 80 00 1C */ blt lbl_80094018 +/* 80094000 00090F60 2C 05 00 00 */ cmpwi r5, 0 +/* 80094004 00090F64 38 7F 01 A8 */ addi r3, r31, 0x1a8 +/* 80094008 00090F68 38 80 00 04 */ li r4, 4 +/* 8009400C 00090F6C 41 82 00 08 */ beq lbl_80094014 +/* 80094010 00090F70 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80094014: +/* 80094014 00090F74 4B F7 83 F5 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_80094018: +/* 80094018 00090F78 80 1F 01 AC */ lwz r0, 0x1ac(r31) +/* 8009401C 00090F7C 80 7F 01 B4 */ lwz r3, 0x1b4(r31) +/* 80094020 00090F80 54 00 08 3C */ slwi r0, r0, 1 +/* 80094024 00090F84 7C 63 02 15 */ add. r3, r3, r0 +/* 80094028 00090F88 41 82 00 08 */ beq lbl_80094030 +/* 8009402C 00090F8C B3 63 00 00 */ sth r27, 0(r3) +lbl_80094030: +/* 80094030 00090F90 80 9F 01 AC */ lwz r4, 0x1ac(r31) +/* 80094034 00090F94 38 00 00 00 */ li r0, 0 +/* 80094038 00090F98 7F C5 F3 78 */ mr r5, r30 +/* 8009403C 00090F9C 38 7C 00 20 */ addi r3, r28, 0x20 +/* 80094040 00090FA0 38 C4 00 01 */ addi r6, r4, 1 +/* 80094044 00090FA4 38 81 01 0C */ addi r4, r1, 0x10c +/* 80094048 00090FA8 90 DF 01 AC */ stw r6, 0x1ac(r31) +/* 8009404C 00090FAC 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) +/* 80094050 00090FB0 90 01 01 0C */ stw r0, 0x10c(r1) +/* 80094054 00090FB4 90 C1 00 AC */ stw r6, 0xac(r1) +/* 80094058 00090FB8 90 01 01 10 */ stw r0, 0x110(r1) +/* 8009405C 00090FBC 90 C1 01 14 */ stw r6, 0x114(r1) +/* 80094060 00090FC0 4B FF F0 E9 */ bl "PickRandomActiveConnection__16CCinematicCameraFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R11SConnectionR13CStateManager" +/* 80094064 00090FC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80094068 00090FC8 41 82 00 48 */ beq lbl_800940B0 +/* 8009406C 00090FCC 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80094070 00090FD0 7F C4 F3 78 */ mr r4, r30 +/* 80094074 00090FD4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80094078 00090FD8 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 8009407C 00090FDC 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80094080 00090FE0 4B FB 3E 9D */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80094084 00090FE4 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 80094088 00090FE8 7F C3 F3 78 */ mr r3, r30 +/* 8009408C 00090FEC 38 81 00 1C */ addi r4, r1, 0x1c +/* 80094090 00090FF0 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80094094 00090FF4 4B FB 85 11 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80094098 00090FF8 7C 64 1B 78 */ mr r4, r3 +/* 8009409C 00090FFC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800940A0 00091000 48 01 BB F1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800940A4 00091004 83 83 00 04 */ lwz r28, 4(r3) +lbl_800940A8: +/* 800940A8 00091008 28 1C 00 00 */ cmplwi r28, 0 +/* 800940AC 0009100C 40 82 FD 68 */ bne lbl_80093E14 +lbl_800940B0: +/* 800940B0 00091010 28 1D 00 00 */ cmplwi r29, 0 +/* 800940B4 00091014 41 82 01 E4 */ beq lbl_80094298 +/* 800940B8 00091018 80 1D 00 08 */ lwz r0, 8(r29) +/* 800940BC 0009101C 7F C4 F3 78 */ mr r4, r30 +/* 800940C0 00091020 38 61 00 10 */ addi r3, r1, 0x10 +/* 800940C4 00091024 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 800940C8 00091028 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800940CC 0009102C 4B FB 3E 51 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800940D0 00091030 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800940D4 00091034 7F C3 F3 78 */ mr r3, r30 +/* 800940D8 00091038 38 81 00 14 */ addi r4, r1, 0x14 +/* 800940DC 0009103C B0 01 00 14 */ sth r0, 0x14(r1) +/* 800940E0 00091040 4B FB 84 C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800940E4 00091044 7C 64 1B 78 */ mr r4, r3 +/* 800940E8 00091048 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800940EC 0009104C 48 01 BB A5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800940F0 00091050 83 83 00 04 */ lwz r28, 4(r3) +/* 800940F4 00091054 48 00 01 9C */ b lbl_80094290 +lbl_800940F8: +/* 800940F8 00091058 80 9F 01 BC */ lwz r4, 0x1bc(r31) +/* 800940FC 0009105C 38 7F 01 B8 */ addi r3, r31, 0x1b8 +/* 80094100 00091060 38 84 00 01 */ addi r4, r4, 1 +/* 80094104 00091064 4B FC 9B F5 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 80094108 00091068 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 8009410C 0009106C 80 BF 01 C0 */ lwz r5, 0x1c0(r31) +/* 80094110 00091070 C3 FC 00 60 */ lfs f31, 0x60(r28) +/* 80094114 00091074 7C 00 28 00 */ cmpw r0, r5 +/* 80094118 00091078 C3 DC 00 50 */ lfs f30, 0x50(r28) +/* 8009411C 0009107C C3 BC 00 40 */ lfs f29, 0x40(r28) +/* 80094120 00091080 41 80 00 1C */ blt lbl_8009413C +/* 80094124 00091084 2C 05 00 00 */ cmpwi r5, 0 +/* 80094128 00091088 38 7F 01 B8 */ addi r3, r31, 0x1b8 +/* 8009412C 0009108C 38 80 00 04 */ li r4, 4 +/* 80094130 00091090 41 82 00 08 */ beq lbl_80094138 +/* 80094134 00091094 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80094138: +/* 80094138 00091098 4B FC 9B C1 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8009413C: +/* 8009413C 0009109C 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 80094140 000910A0 80 7F 01 C4 */ lwz r3, 0x1c4(r31) +/* 80094144 000910A4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80094148 000910A8 7C 63 02 15 */ add. r3, r3, r0 +/* 8009414C 000910AC 41 82 00 10 */ beq lbl_8009415C +/* 80094150 000910B0 D3 A3 00 00 */ stfs f29, 0(r3) +/* 80094154 000910B4 D3 C3 00 04 */ stfs f30, 4(r3) +/* 80094158 000910B8 D3 E3 00 08 */ stfs f31, 8(r3) +lbl_8009415C: +/* 8009415C 000910BC 80 7F 01 BC */ lwz r3, 0x1bc(r31) +/* 80094160 000910C0 38 03 00 01 */ addi r0, r3, 1 +/* 80094164 000910C4 90 1F 01 BC */ stw r0, 0x1bc(r31) +/* 80094168 000910C8 80 BF 01 CC */ lwz r5, 0x1cc(r31) +/* 8009416C 000910CC 80 7F 01 D4 */ lwz r3, 0x1d4(r31) +/* 80094170 000910D0 54 A0 08 3C */ slwi r0, r5, 1 +/* 80094174 000910D4 A0 DC 00 08 */ lhz r6, 8(r28) +/* 80094178 000910D8 7C 83 02 14 */ add r4, r3, r0 +/* 8009417C 000910DC 90 61 00 9C */ stw r3, 0x9c(r1) +/* 80094180 000910E0 90 81 00 90 */ stw r4, 0x90(r1) +/* 80094184 000910E4 90 61 00 A0 */ stw r3, 0xa0(r1) +/* 80094188 000910E8 90 81 00 94 */ stw r4, 0x94(r1) +/* 8009418C 000910EC 90 81 00 98 */ stw r4, 0x98(r1) +/* 80094190 000910F0 48 00 00 10 */ b lbl_800941A0 +lbl_80094194: +/* 80094194 000910F4 80 61 00 A0 */ lwz r3, 0xa0(r1) +/* 80094198 000910F8 38 03 00 02 */ addi r0, r3, 2 +/* 8009419C 000910FC 90 01 00 A0 */ stw r0, 0xa0(r1) +lbl_800941A0: +/* 800941A0 00091100 80 61 00 A0 */ lwz r3, 0xa0(r1) +/* 800941A4 00091104 7C 03 20 40 */ cmplw r3, r4 +/* 800941A8 00091108 41 82 00 10 */ beq lbl_800941B8 +/* 800941AC 0009110C A0 03 00 00 */ lhz r0, 0(r3) +/* 800941B0 00091110 7C 00 30 40 */ cmplw r0, r6 +/* 800941B4 00091114 40 82 FF E0 */ bne lbl_80094194 +lbl_800941B8: +/* 800941B8 00091118 80 61 00 A0 */ lwz r3, 0xa0(r1) +/* 800941BC 0009111C 80 01 00 90 */ lwz r0, 0x90(r1) +/* 800941C0 00091120 7C 03 00 40 */ cmplw r3, r0 +/* 800941C4 00091124 40 82 00 D4 */ bne lbl_80094298 +/* 800941C8 00091128 38 7F 01 C8 */ addi r3, r31, 0x1c8 +/* 800941CC 0009112C 38 85 00 01 */ addi r4, r5, 1 +/* 800941D0 00091130 4B F7 82 39 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 800941D4 00091134 80 1F 01 CC */ lwz r0, 0x1cc(r31) +/* 800941D8 00091138 80 BF 01 D0 */ lwz r5, 0x1d0(r31) +/* 800941DC 0009113C A3 7C 00 08 */ lhz r27, 8(r28) +/* 800941E0 00091140 7C 00 28 00 */ cmpw r0, r5 +/* 800941E4 00091144 41 80 00 1C */ blt lbl_80094200 +/* 800941E8 00091148 2C 05 00 00 */ cmpwi r5, 0 +/* 800941EC 0009114C 38 7F 01 C8 */ addi r3, r31, 0x1c8 +/* 800941F0 00091150 38 80 00 04 */ li r4, 4 +/* 800941F4 00091154 41 82 00 08 */ beq lbl_800941FC +/* 800941F8 00091158 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800941FC: +/* 800941FC 0009115C 4B F7 82 0D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_80094200: +/* 80094200 00091160 80 1F 01 CC */ lwz r0, 0x1cc(r31) +/* 80094204 00091164 80 7F 01 D4 */ lwz r3, 0x1d4(r31) +/* 80094208 00091168 54 00 08 3C */ slwi r0, r0, 1 +/* 8009420C 0009116C 7C 63 02 15 */ add. r3, r3, r0 +/* 80094210 00091170 41 82 00 08 */ beq lbl_80094218 +/* 80094214 00091174 B3 63 00 00 */ sth r27, 0(r3) +lbl_80094218: +/* 80094218 00091178 80 9F 01 CC */ lwz r4, 0x1cc(r31) +/* 8009421C 0009117C 38 00 00 00 */ li r0, 0 +/* 80094220 00091180 7F C5 F3 78 */ mr r5, r30 +/* 80094224 00091184 38 7C 00 20 */ addi r3, r28, 0x20 +/* 80094228 00091188 38 C4 00 01 */ addi r6, r4, 1 +/* 8009422C 0009118C 38 81 01 00 */ addi r4, r1, 0x100 +/* 80094230 00091190 90 DF 01 CC */ stw r6, 0x1cc(r31) +/* 80094234 00091194 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) +/* 80094238 00091198 90 01 01 00 */ stw r0, 0x100(r1) +/* 8009423C 0009119C 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 80094240 000911A0 90 01 01 04 */ stw r0, 0x104(r1) +/* 80094244 000911A4 90 C1 01 08 */ stw r6, 0x108(r1) +/* 80094248 000911A8 4B FF EF 01 */ bl "PickRandomActiveConnection__16CCinematicCameraFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R11SConnectionR13CStateManager" +/* 8009424C 000911AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80094250 000911B0 41 82 00 48 */ beq lbl_80094298 +/* 80094254 000911B4 80 01 01 08 */ lwz r0, 0x108(r1) +/* 80094258 000911B8 7F C4 F3 78 */ mr r4, r30 +/* 8009425C 000911BC 38 61 00 08 */ addi r3, r1, 8 +/* 80094260 000911C0 38 A1 00 88 */ addi r5, r1, 0x88 +/* 80094264 000911C4 90 01 00 88 */ stw r0, 0x88(r1) +/* 80094268 000911C8 4B FB 3C B5 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8009426C 000911CC A0 01 00 08 */ lhz r0, 8(r1) +/* 80094270 000911D0 7F C3 F3 78 */ mr r3, r30 +/* 80094274 000911D4 38 81 00 0C */ addi r4, r1, 0xc +/* 80094278 000911D8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8009427C 000911DC 4B FB 83 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80094280 000911E0 7C 64 1B 78 */ mr r4, r3 +/* 80094284 000911E4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80094288 000911E8 48 01 BA 09 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8009428C 000911EC 83 83 00 04 */ lwz r28, 4(r3) +lbl_80094290: +/* 80094290 000911F0 28 1C 00 00 */ cmplwi r28, 0 +/* 80094294 000911F4 40 82 FE 64 */ bne lbl_800940F8 +lbl_80094298: +/* 80094298 000911F8 80 7F 02 1C */ lwz r3, 0x21c(r31) +/* 8009429C 000911FC 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d +/* 800942A0 00091200 41 82 00 1C */ beq lbl_800942BC +/* 800942A4 00091204 54 60 05 AD */ rlwinm. r0, r3, 0, 0x16, 0x16 +/* 800942A8 00091208 40 82 00 14 */ bne lbl_800942BC +/* 800942AC 0009120C 7F E3 FB 78 */ mr r3, r31 +/* 800942B0 00091210 7F C5 F3 78 */ mr r5, r30 +/* 800942B4 00091214 38 80 00 00 */ li r4, 0 +/* 800942B8 00091218 4B FF F5 09 */ bl GenerateMoveOutofIntoPoints__16CCinematicCameraFbR13CStateManager +lbl_800942BC: +/* 800942BC 0009121C E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 800942C0 00091220 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 800942C4 00091224 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 +/* 800942C8 00091228 CB C1 01 40 */ lfd f30, 0x140(r1) +/* 800942CC 0009122C E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 +/* 800942D0 00091230 CB A1 01 30 */ lfd f29, 0x130(r1) +/* 800942D4 00091234 BB 61 01 1C */ lmw r27, 0x11c(r1) +/* 800942D8 00091238 80 01 01 64 */ lwz r0, 0x164(r1) +/* 800942DC 0009123C 7C 08 03 A6 */ mtlr r0 +/* 800942E0 00091240 38 21 01 60 */ addi r1, r1, 0x160 +/* 800942E4 00091244 4E 80 00 20 */ blr + +.global WasDeactivated__16CCinematicCameraFR13CStateManager +WasDeactivated__16CCinematicCameraFR13CStateManager: +/* 800942E8 00091248 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800942EC 0009124C 7C 08 02 A6 */ mflr r0 +/* 800942F0 00091250 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800942F4 00091254 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 800942F8 00091258 7C 7F 1B 78 */ mr r31, r3 +/* 800942FC 0009125C 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80094300 00091260 7C 9E 23 78 */ mr r30, r4 +/* 80094304 00091264 7F C5 F3 78 */ mr r5, r30 +/* 80094308 00091268 38 81 00 0C */ addi r4, r1, 0xc +/* 8009430C 0009126C A0 03 00 08 */ lhz r0, 8(r3) +/* 80094310 00091270 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80094314 00091274 B0 01 00 08 */ sth r0, 8(r1) +/* 80094318 00091278 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8009431C 0009127C 4B F7 6E A9 */ bl RemoveCinemaCamera__14CCameraManagerF9TUniqueIdR13CStateManager +/* 80094320 00091280 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80094324 00091284 7F C4 F3 78 */ mr r4, r30 +/* 80094328 00091288 80 63 07 68 */ lwz r3, 0x768(r3) +/* 8009432C 0009128C 48 05 B4 01 */ bl LoadMorphBallModel__10CMorphBallFR13CStateManager +/* 80094330 00091290 80 1F 02 1C */ lwz r0, 0x21c(r31) +/* 80094334 00091294 54 00 05 EF */ rlwinm. r0, r0, 0, 0x17, 0x17 +/* 80094338 00091298 41 82 00 14 */ beq lbl_8009434C +/* 8009433C 0009129C 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 80094340 000912A0 38 60 00 00 */ li r3, 0 +/* 80094344 000912A4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80094348 000912A8 98 1E 0F 94 */ stb r0, 0xf94(r30) +lbl_8009434C: +/* 8009434C 000912AC 38 00 00 00 */ li r0, 0 +/* 80094350 000912B0 38 7F 01 88 */ addi r3, r31, 0x188 +/* 80094354 000912B4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80094358 000912B8 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8009435C 000912BC 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 80094360 000912C0 90 01 00 CC */ stw r0, 0xcc(r1) +/* 80094364 000912C4 48 00 04 29 */ bl "__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>" +/* 80094368 000912C8 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8009436C 000912CC 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 80094370 000912D0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80094374 000912D4 90 61 00 64 */ stw r3, 0x64(r1) +/* 80094378 000912D8 7C 64 1B 78 */ mr r4, r3 +/* 8009437C 000912DC 7C 03 02 14 */ add r0, r3, r0 +/* 80094380 000912E0 90 61 00 60 */ stw r3, 0x60(r1) +/* 80094384 000912E4 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80094388 000912E8 90 01 00 68 */ stw r0, 0x68(r1) +/* 8009438C 000912EC 48 00 00 08 */ b lbl_80094394 +lbl_80094390: +/* 80094390 000912F0 38 84 00 0C */ addi r4, r4, 0xc +lbl_80094394: +/* 80094394 000912F4 7C 04 00 40 */ cmplw r4, r0 +/* 80094398 000912F8 40 82 FF F8 */ bne lbl_80094390 +/* 8009439C 000912FC 28 03 00 00 */ cmplwi r3, 0 +/* 800943A0 00091300 41 82 00 08 */ beq lbl_800943A8 +/* 800943A4 00091304 48 28 15 8D */ bl Free__7CMemoryFPCv +lbl_800943A8: +/* 800943A8 00091308 38 00 00 00 */ li r0, 0 +/* 800943AC 0009130C 38 7F 01 98 */ addi r3, r31, 0x198 +/* 800943B0 00091310 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800943B4 00091314 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800943B8 00091318 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 800943BC 0009131C 90 01 00 BC */ stw r0, 0xbc(r1) +/* 800943C0 00091320 48 00 02 C1 */ bl "__as__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>FRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>" +/* 800943C4 00091324 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800943C8 00091328 80 61 00 BC */ lwz r3, 0xbc(r1) +/* 800943CC 0009132C 54 00 20 36 */ slwi r0, r0, 4 +/* 800943D0 00091330 7C 03 02 14 */ add r0, r3, r0 +/* 800943D4 00091334 90 61 00 54 */ stw r3, 0x54(r1) +/* 800943D8 00091338 7C 64 1B 78 */ mr r4, r3 +/* 800943DC 0009133C 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800943E0 00091340 90 01 00 58 */ stw r0, 0x58(r1) +/* 800943E4 00091344 90 61 00 50 */ stw r3, 0x50(r1) +/* 800943E8 00091348 48 00 00 08 */ b lbl_800943F0 +lbl_800943EC: +/* 800943EC 0009134C 38 84 00 10 */ addi r4, r4, 0x10 +lbl_800943F0: +/* 800943F0 00091350 7C 04 00 40 */ cmplw r4, r0 +/* 800943F4 00091354 40 82 FF F8 */ bne lbl_800943EC +/* 800943F8 00091358 28 03 00 00 */ cmplwi r3, 0 +/* 800943FC 0009135C 41 82 00 08 */ beq lbl_80094404 +/* 80094400 00091360 48 28 15 31 */ bl Free__7CMemoryFPCv +lbl_80094404: +/* 80094404 00091364 38 00 00 00 */ li r0, 0 +/* 80094408 00091368 38 7F 01 A8 */ addi r3, r31, 0x1a8 +/* 8009440C 0009136C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80094410 00091370 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80094414 00091374 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80094418 00091378 90 01 00 AC */ stw r0, 0xac(r1) +/* 8009441C 0009137C 4B FC 90 95 */ bl sub_8005d4b0 +/* 80094420 00091380 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80094424 00091384 80 61 00 AC */ lwz r3, 0xac(r1) +/* 80094428 00091388 54 00 08 3C */ slwi r0, r0, 1 +/* 8009442C 0009138C 7C 03 02 14 */ add r0, r3, r0 +/* 80094430 00091390 90 61 00 44 */ stw r3, 0x44(r1) +/* 80094434 00091394 7C 64 1B 78 */ mr r4, r3 +/* 80094438 00091398 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8009443C 0009139C 90 01 00 48 */ stw r0, 0x48(r1) +/* 80094440 000913A0 90 61 00 40 */ stw r3, 0x40(r1) +/* 80094444 000913A4 48 00 00 08 */ b lbl_8009444C +lbl_80094448: +/* 80094448 000913A8 38 84 00 02 */ addi r4, r4, 2 +lbl_8009444C: +/* 8009444C 000913AC 7C 04 00 40 */ cmplw r4, r0 +/* 80094450 000913B0 40 82 FF F8 */ bne lbl_80094448 +/* 80094454 000913B4 28 03 00 00 */ cmplwi r3, 0 +/* 80094458 000913B8 41 82 00 08 */ beq lbl_80094460 +/* 8009445C 000913BC 48 28 14 D5 */ bl Free__7CMemoryFPCv +lbl_80094460: +/* 80094460 000913C0 38 00 00 00 */ li r0, 0 +/* 80094464 000913C4 38 7F 01 B8 */ addi r3, r31, 0x1b8 +/* 80094468 000913C8 90 01 00 94 */ stw r0, 0x94(r1) +/* 8009446C 000913CC 38 81 00 90 */ addi r4, r1, 0x90 +/* 80094470 000913D0 90 01 00 98 */ stw r0, 0x98(r1) +/* 80094474 000913D4 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80094478 000913D8 48 00 03 15 */ bl "__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>" +/* 8009447C 000913DC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80094480 000913E0 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 80094484 000913E4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80094488 000913E8 90 61 00 34 */ stw r3, 0x34(r1) +/* 8009448C 000913EC 7C 64 1B 78 */ mr r4, r3 +/* 80094490 000913F0 7C 03 02 14 */ add r0, r3, r0 +/* 80094494 000913F4 90 61 00 30 */ stw r3, 0x30(r1) +/* 80094498 000913F8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8009449C 000913FC 90 01 00 38 */ stw r0, 0x38(r1) +/* 800944A0 00091400 48 00 00 08 */ b lbl_800944A8 +lbl_800944A4: +/* 800944A4 00091404 38 84 00 0C */ addi r4, r4, 0xc +lbl_800944A8: +/* 800944A8 00091408 7C 04 00 40 */ cmplw r4, r0 +/* 800944AC 0009140C 40 82 FF F8 */ bne lbl_800944A4 +/* 800944B0 00091410 28 03 00 00 */ cmplwi r3, 0 +/* 800944B4 00091414 41 82 00 08 */ beq lbl_800944BC +/* 800944B8 00091418 48 28 14 79 */ bl Free__7CMemoryFPCv +lbl_800944BC: +/* 800944BC 0009141C 38 00 00 00 */ li r0, 0 +/* 800944C0 00091420 38 7F 01 C8 */ addi r3, r31, 0x1c8 +/* 800944C4 00091424 90 01 00 84 */ stw r0, 0x84(r1) +/* 800944C8 00091428 38 81 00 80 */ addi r4, r1, 0x80 +/* 800944CC 0009142C 90 01 00 88 */ stw r0, 0x88(r1) +/* 800944D0 00091430 90 01 00 8C */ stw r0, 0x8c(r1) +/* 800944D4 00091434 4B FC 8F DD */ bl sub_8005d4b0 +/* 800944D8 00091438 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800944DC 0009143C 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 800944E0 00091440 54 00 08 3C */ slwi r0, r0, 1 +/* 800944E4 00091444 7C 03 02 14 */ add r0, r3, r0 +/* 800944E8 00091448 90 61 00 24 */ stw r3, 0x24(r1) +/* 800944EC 0009144C 7C 64 1B 78 */ mr r4, r3 +/* 800944F0 00091450 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800944F4 00091454 90 01 00 28 */ stw r0, 0x28(r1) +/* 800944F8 00091458 90 61 00 20 */ stw r3, 0x20(r1) +/* 800944FC 0009145C 48 00 00 08 */ b lbl_80094504 +lbl_80094500: +/* 80094500 00091460 38 84 00 02 */ addi r4, r4, 2 +lbl_80094504: +/* 80094504 00091464 7C 04 00 40 */ cmplw r4, r0 +/* 80094508 00091468 40 82 FF F8 */ bne lbl_80094500 +/* 8009450C 0009146C 28 03 00 00 */ cmplwi r3, 0 +/* 80094510 00091470 41 82 00 08 */ beq lbl_80094518 +/* 80094514 00091474 48 28 14 1D */ bl Free__7CMemoryFPCv +lbl_80094518: +/* 80094518 00091478 38 00 00 00 */ li r0, 0 +/* 8009451C 0009147C 38 7F 01 D8 */ addi r3, r31, 0x1d8 +/* 80094520 00091480 90 01 00 74 */ stw r0, 0x74(r1) +/* 80094524 00091484 38 81 00 70 */ addi r4, r1, 0x70 +/* 80094528 00091488 90 01 00 78 */ stw r0, 0x78(r1) +/* 8009452C 0009148C 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80094530 00091490 48 00 00 5D */ bl "__as__Q24rstl36vectorFRCQ24rstl36vector" +/* 80094534 00091494 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80094538 00091498 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 8009453C 0009149C 54 00 10 3A */ slwi r0, r0, 2 +/* 80094540 000914A0 7C 03 02 14 */ add r0, r3, r0 +/* 80094544 000914A4 90 61 00 14 */ stw r3, 0x14(r1) +/* 80094548 000914A8 7C 64 1B 78 */ mr r4, r3 +/* 8009454C 000914AC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80094550 000914B0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80094554 000914B4 90 61 00 10 */ stw r3, 0x10(r1) +/* 80094558 000914B8 48 00 00 08 */ b lbl_80094560 +lbl_8009455C: +/* 8009455C 000914BC 38 84 00 04 */ addi r4, r4, 4 +lbl_80094560: +/* 80094560 000914C0 7C 04 00 40 */ cmplw r4, r0 +/* 80094564 000914C4 40 82 FF F8 */ bne lbl_8009455C +/* 80094568 000914C8 28 03 00 00 */ cmplwi r3, 0 +/* 8009456C 000914CC 41 82 00 08 */ beq lbl_80094574 +/* 80094570 000914D0 48 28 13 C1 */ bl Free__7CMemoryFPCv +lbl_80094574: +/* 80094574 000914D4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80094578 000914D8 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8009457C 000914DC 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80094580 000914E0 7C 08 03 A6 */ mtlr r0 +/* 80094584 000914E4 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80094588 000914E8 4E 80 00 20 */ blr + +.global "__as__Q24rstl36vectorFRCQ24rstl36vector" +"__as__Q24rstl36vectorFRCQ24rstl36vector": +/* 8009458C 000914EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80094590 000914F0 7C 08 02 A6 */ mflr r0 +/* 80094594 000914F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80094598 000914F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009459C 000914FC 7C 7F 1B 78 */ mr r31, r3 +/* 800945A0 00091500 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800945A4 00091504 7C 9E 23 78 */ mr r30, r4 +/* 800945A8 00091508 7C 1F F0 40 */ cmplw r31, r30 +/* 800945AC 0009150C 40 82 00 08 */ bne lbl_800945B4 +/* 800945B0 00091510 48 00 00 B8 */ b lbl_80094668 +lbl_800945B4: +/* 800945B4 00091514 80 1F 00 04 */ lwz r0, 4(r31) +/* 800945B8 00091518 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800945BC 0009151C 54 00 10 3A */ slwi r0, r0, 2 +/* 800945C0 00091520 7C 03 02 14 */ add r0, r3, r0 +/* 800945C4 00091524 90 61 00 0C */ stw r3, 0xc(r1) +/* 800945C8 00091528 90 01 00 14 */ stw r0, 0x14(r1) +/* 800945CC 0009152C 90 01 00 10 */ stw r0, 0x10(r1) +/* 800945D0 00091530 90 61 00 08 */ stw r3, 8(r1) +/* 800945D4 00091534 48 00 00 08 */ b lbl_800945DC +lbl_800945D8: +/* 800945D8 00091538 38 63 00 04 */ addi r3, r3, 4 +lbl_800945DC: +/* 800945DC 0009153C 7C 03 00 40 */ cmplw r3, r0 +/* 800945E0 00091540 40 82 FF F8 */ bne lbl_800945D8 +/* 800945E4 00091544 38 00 00 00 */ li r0, 0 +/* 800945E8 00091548 90 1F 00 04 */ stw r0, 4(r31) +/* 800945EC 0009154C 80 9E 00 04 */ lwz r4, 4(r30) +/* 800945F0 00091550 2C 04 00 00 */ cmpwi r4, 0 +/* 800945F4 00091554 40 82 00 28 */ bne lbl_8009461C +/* 800945F8 00091558 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800945FC 0009155C 28 03 00 00 */ cmplwi r3, 0 +/* 80094600 00091560 41 82 00 08 */ beq lbl_80094608 +/* 80094604 00091564 48 28 13 2D */ bl Free__7CMemoryFPCv +lbl_80094608: +/* 80094608 00091568 38 00 00 00 */ li r0, 0 +/* 8009460C 0009156C 90 1F 00 04 */ stw r0, 4(r31) +/* 80094610 00091570 90 1F 00 08 */ stw r0, 8(r31) +/* 80094614 00091574 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80094618 00091578 48 00 00 4C */ b lbl_80094664 +lbl_8009461C: +/* 8009461C 0009157C 7F E3 FB 78 */ mr r3, r31 +/* 80094620 00091580 4B FC 97 D9 */ bl "reserve__Q24rstl36vectorFi" +/* 80094624 00091584 80 1E 00 04 */ lwz r0, 4(r30) +/* 80094628 00091588 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8009462C 0009158C 54 00 10 3A */ slwi r0, r0, 2 +/* 80094630 00091590 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80094634 00091594 7C 04 02 14 */ add r0, r4, r0 +/* 80094638 00091598 48 00 00 1C */ b lbl_80094654 +lbl_8009463C: +/* 8009463C 0009159C 28 03 00 00 */ cmplwi r3, 0 +/* 80094640 000915A0 41 82 00 0C */ beq lbl_8009464C +/* 80094644 000915A4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80094648 000915A8 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8009464C: +/* 8009464C 000915AC 38 63 00 04 */ addi r3, r3, 4 +/* 80094650 000915B0 38 84 00 04 */ addi r4, r4, 4 +lbl_80094654: +/* 80094654 000915B4 7C 04 00 40 */ cmplw r4, r0 +/* 80094658 000915B8 40 82 FF E4 */ bne lbl_8009463C +/* 8009465C 000915BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80094660 000915C0 90 1F 00 04 */ stw r0, 4(r31) +lbl_80094664: +/* 80094664 000915C4 7F E3 FB 78 */ mr r3, r31 +lbl_80094668: +/* 80094668 000915C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009466C 000915CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80094670 000915D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80094674 000915D4 7C 08 03 A6 */ mtlr r0 +/* 80094678 000915D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009467C 000915DC 4E 80 00 20 */ blr + +.global "__as__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>FRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>" +"__as__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>FRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>": +/* 80094680 000915E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80094684 000915E4 7C 08 02 A6 */ mflr r0 +/* 80094688 000915E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009468C 000915EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80094690 000915F0 7C 7F 1B 78 */ mr r31, r3 +/* 80094694 000915F4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80094698 000915F8 7C 9E 23 78 */ mr r30, r4 +/* 8009469C 000915FC 7C 1F F0 40 */ cmplw r31, r30 +/* 800946A0 00091600 40 82 00 08 */ bne lbl_800946A8 +/* 800946A4 00091604 48 00 00 D0 */ b lbl_80094774 +lbl_800946A8: +/* 800946A8 00091608 80 1F 00 04 */ lwz r0, 4(r31) +/* 800946AC 0009160C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800946B0 00091610 54 00 20 36 */ slwi r0, r0, 4 +/* 800946B4 00091614 7C 03 02 14 */ add r0, r3, r0 +/* 800946B8 00091618 90 61 00 0C */ stw r3, 0xc(r1) +/* 800946BC 0009161C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800946C0 00091620 90 01 00 10 */ stw r0, 0x10(r1) +/* 800946C4 00091624 90 61 00 08 */ stw r3, 8(r1) +/* 800946C8 00091628 48 00 00 08 */ b lbl_800946D0 +lbl_800946CC: +/* 800946CC 0009162C 38 63 00 10 */ addi r3, r3, 0x10 +lbl_800946D0: +/* 800946D0 00091630 7C 03 00 40 */ cmplw r3, r0 +/* 800946D4 00091634 40 82 FF F8 */ bne lbl_800946CC +/* 800946D8 00091638 38 00 00 00 */ li r0, 0 +/* 800946DC 0009163C 90 1F 00 04 */ stw r0, 4(r31) +/* 800946E0 00091640 80 9E 00 04 */ lwz r4, 4(r30) +/* 800946E4 00091644 2C 04 00 00 */ cmpwi r4, 0 +/* 800946E8 00091648 40 82 00 28 */ bne lbl_80094710 +/* 800946EC 0009164C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800946F0 00091650 28 03 00 00 */ cmplwi r3, 0 +/* 800946F4 00091654 41 82 00 08 */ beq lbl_800946FC +/* 800946F8 00091658 48 28 12 39 */ bl Free__7CMemoryFPCv +lbl_800946FC: +/* 800946FC 0009165C 38 00 00 00 */ li r0, 0 +/* 80094700 00091660 90 1F 00 04 */ stw r0, 4(r31) +/* 80094704 00091664 90 1F 00 08 */ stw r0, 8(r31) +/* 80094708 00091668 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8009470C 0009166C 48 00 00 64 */ b lbl_80094770 +lbl_80094710: +/* 80094710 00091670 7F E3 FB 78 */ mr r3, r31 +/* 80094714 00091674 48 00 0E 75 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" +/* 80094718 00091678 80 1E 00 04 */ lwz r0, 4(r30) +/* 8009471C 0009167C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80094720 00091680 54 00 20 36 */ slwi r0, r0, 4 +/* 80094724 00091684 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80094728 00091688 7C 04 02 14 */ add r0, r4, r0 +/* 8009472C 0009168C 48 00 00 34 */ b lbl_80094760 +lbl_80094730: +/* 80094730 00091690 28 03 00 00 */ cmplwi r3, 0 +/* 80094734 00091694 41 82 00 24 */ beq lbl_80094758 +/* 80094738 00091698 C0 04 00 00 */ lfs f0, 0(r4) +/* 8009473C 0009169C D0 03 00 00 */ stfs f0, 0(r3) +/* 80094740 000916A0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80094744 000916A4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80094748 000916A8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8009474C 000916AC D0 03 00 08 */ stfs f0, 8(r3) +/* 80094750 000916B0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80094754 000916B4 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_80094758: +/* 80094758 000916B8 38 63 00 10 */ addi r3, r3, 0x10 +/* 8009475C 000916BC 38 84 00 10 */ addi r4, r4, 0x10 +lbl_80094760: +/* 80094760 000916C0 7C 04 00 40 */ cmplw r4, r0 +/* 80094764 000916C4 40 82 FF CC */ bne lbl_80094730 +/* 80094768 000916C8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8009476C 000916CC 90 1F 00 04 */ stw r0, 4(r31) +lbl_80094770: +/* 80094770 000916D0 7F E3 FB 78 */ mr r3, r31 +lbl_80094774: +/* 80094774 000916D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80094778 000916D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009477C 000916DC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80094780 000916E0 7C 08 03 A6 */ mtlr r0 +/* 80094784 000916E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80094788 000916E8 4E 80 00 20 */ blr + +.global "__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>" +"__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>": +/* 8009478C 000916EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80094790 000916F0 7C 08 02 A6 */ mflr r0 +/* 80094794 000916F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80094798 000916F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009479C 000916FC 7C 7F 1B 78 */ mr r31, r3 +/* 800947A0 00091700 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800947A4 00091704 7C 9E 23 78 */ mr r30, r4 +/* 800947A8 00091708 7C 1F F0 40 */ cmplw r31, r30 +/* 800947AC 0009170C 40 82 00 08 */ bne lbl_800947B4 +/* 800947B0 00091710 48 00 00 C8 */ b lbl_80094878 +lbl_800947B4: +/* 800947B4 00091714 80 1F 00 04 */ lwz r0, 4(r31) +/* 800947B8 00091718 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800947BC 0009171C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800947C0 00091720 90 61 00 0C */ stw r3, 0xc(r1) +/* 800947C4 00091724 7C 03 02 14 */ add r0, r3, r0 +/* 800947C8 00091728 90 61 00 08 */ stw r3, 8(r1) +/* 800947CC 0009172C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800947D0 00091730 90 01 00 10 */ stw r0, 0x10(r1) +/* 800947D4 00091734 48 00 00 08 */ b lbl_800947DC +lbl_800947D8: +/* 800947D8 00091738 38 63 00 0C */ addi r3, r3, 0xc +lbl_800947DC: +/* 800947DC 0009173C 7C 03 00 40 */ cmplw r3, r0 +/* 800947E0 00091740 40 82 FF F8 */ bne lbl_800947D8 +/* 800947E4 00091744 38 00 00 00 */ li r0, 0 +/* 800947E8 00091748 90 1F 00 04 */ stw r0, 4(r31) +/* 800947EC 0009174C 80 9E 00 04 */ lwz r4, 4(r30) +/* 800947F0 00091750 2C 04 00 00 */ cmpwi r4, 0 +/* 800947F4 00091754 40 82 00 28 */ bne lbl_8009481C +/* 800947F8 00091758 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800947FC 0009175C 28 03 00 00 */ cmplwi r3, 0 +/* 80094800 00091760 41 82 00 08 */ beq lbl_80094808 +/* 80094804 00091764 48 28 11 2D */ bl Free__7CMemoryFPCv +lbl_80094808: +/* 80094808 00091768 38 00 00 00 */ li r0, 0 +/* 8009480C 0009176C 90 1F 00 04 */ stw r0, 4(r31) +/* 80094810 00091770 90 1F 00 08 */ stw r0, 8(r31) +/* 80094814 00091774 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80094818 00091778 48 00 00 5C */ b lbl_80094874 +lbl_8009481C: +/* 8009481C 0009177C 7F E3 FB 78 */ mr r3, r31 +/* 80094820 00091780 4B FC 94 D9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 80094824 00091784 80 1E 00 04 */ lwz r0, 4(r30) +/* 80094828 00091788 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8009482C 0009178C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80094830 00091790 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80094834 00091794 7C 04 02 14 */ add r0, r4, r0 +/* 80094838 00091798 48 00 00 2C */ b lbl_80094864 +lbl_8009483C: +/* 8009483C 0009179C 28 03 00 00 */ cmplwi r3, 0 +/* 80094840 000917A0 41 82 00 1C */ beq lbl_8009485C +/* 80094844 000917A4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80094848 000917A8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8009484C 000917AC C0 04 00 04 */ lfs f0, 4(r4) +/* 80094850 000917B0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80094854 000917B4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80094858 000917B8 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8009485C: +/* 8009485C 000917BC 38 63 00 0C */ addi r3, r3, 0xc +/* 80094860 000917C0 38 84 00 0C */ addi r4, r4, 0xc +lbl_80094864: +/* 80094864 000917C4 7C 04 00 40 */ cmplw r4, r0 +/* 80094868 000917C8 40 82 FF D4 */ bne lbl_8009483C +/* 8009486C 000917CC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80094870 000917D0 90 1F 00 04 */ stw r0, 4(r31) +lbl_80094874: +/* 80094874 000917D4 7F E3 FB 78 */ mr r3, r31 +lbl_80094878: +/* 80094878 000917D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009487C 000917DC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80094880 000917E0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80094884 000917E4 7C 08 03 A6 */ mtlr r0 +/* 80094888 000917E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009488C 000917EC 4E 80 00 20 */ blr + +.global DeactivateSelf__16CCinematicCameraFR13CStateManager +DeactivateSelf__16CCinematicCameraFR13CStateManager: +/* 80094890 000917F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80094894 000917F4 7C 08 02 A6 */ mflr r0 +/* 80094898 000917F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009489C 000917FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800948A0 00091800 7C 9F 23 78 */ mr r31, r4 +/* 800948A4 00091804 38 80 00 00 */ li r4, 0 +/* 800948A8 00091808 93 C1 00 08 */ stw r30, 8(r1) +/* 800948AC 0009180C 7C 7E 1B 78 */ mr r30, r3 +/* 800948B0 00091810 81 83 00 00 */ lwz r12, 0(r3) +/* 800948B4 00091814 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800948B8 00091818 7D 89 03 A6 */ mtctr r12 +/* 800948BC 0009181C 4E 80 04 21 */ bctrl +/* 800948C0 00091820 7F C3 F3 78 */ mr r3, r30 +/* 800948C4 00091824 7F E5 FB 78 */ mr r5, r31 +/* 800948C8 00091828 38 80 00 05 */ li r4, 5 +/* 800948CC 0009182C 38 C0 FF FF */ li r6, -1 +/* 800948D0 00091830 4B FB C7 F1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800948D4 00091834 7F C3 F3 78 */ mr r3, r30 +/* 800948D8 00091838 7F E4 FB 78 */ mr r4, r31 +/* 800948DC 0009183C 4B FF FA 0D */ bl WasDeactivated__16CCinematicCameraFR13CStateManager +/* 800948E0 00091840 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800948E4 00091844 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800948E8 00091848 83 C1 00 08 */ lwz r30, 8(r1) +/* 800948EC 0009184C 7C 08 03 A6 */ mtlr r0 +/* 800948F0 00091850 38 21 00 10 */ addi r1, r1, 0x10 +/* 800948F4 00091854 4E 80 00 20 */ blr + +.global SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager +SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager: +/* 800948F8 00091858 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800948FC 0009185C 7C 08 02 A6 */ mflr r0 +/* 80094900 00091860 38 C0 00 02 */ li r6, 2 +/* 80094904 00091864 90 01 00 24 */ stw r0, 0x24(r1) +/* 80094908 00091868 A0 E3 00 08 */ lhz r7, 8(r3) +/* 8009490C 0009186C 7C A3 2B 78 */ mr r3, r5 +/* 80094910 00091870 A0 04 00 00 */ lhz r0, 0(r4) +/* 80094914 00091874 38 81 00 10 */ addi r4, r1, 0x10 +/* 80094918 00091878 B0 E1 00 08 */ sth r7, 8(r1) +/* 8009491C 0009187C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80094920 00091880 B0 E1 00 0C */ sth r7, 0xc(r1) +/* 80094924 00091884 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80094928 00091888 4B FA F5 2D */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId +/* 8009492C 0009188C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80094930 00091890 7C 08 03 A6 */ mtlr r0 +/* 80094934 00091894 38 21 00 20 */ addi r1, r1, 0x20 +/* 80094938 00091898 4E 80 00 20 */ blr + +.global AcceptScriptMsg__16CCinematicCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__16CCinematicCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8009493C 0009189C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80094940 000918A0 7C 08 02 A6 */ mflr r0 +/* 80094944 000918A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80094948 000918A8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8009494C 000918AC 7C DF 33 78 */ mr r31, r6 +/* 80094950 000918B0 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80094954 000918B4 7C 7E 1B 78 */ mr r30, r3 +/* 80094958 000918B8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8009495C 000918BC 7C 9D 23 78 */ mr r29, r4 +/* 80094960 000918C0 A0 05 00 00 */ lhz r0, 0(r5) +/* 80094964 000918C4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80094968 000918C8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8009496C 000918CC 4B FC 69 DD */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80094970 000918D0 2C 1D 00 04 */ cmpwi r29, 4 +/* 80094974 000918D4 41 82 01 CC */ beq lbl_80094B40 +/* 80094978 000918D8 40 80 00 10 */ bge lbl_80094988 +/* 8009497C 000918DC 2C 1D 00 01 */ cmpwi r29, 1 +/* 80094980 000918E0 41 82 00 C4 */ beq lbl_80094A44 +/* 80094984 000918E4 48 00 01 C8 */ b lbl_80094B4C +lbl_80094988: +/* 80094988 000918E8 2C 1D 00 23 */ cmpwi r29, 0x23 +/* 8009498C 000918EC 41 82 00 08 */ beq lbl_80094994 +/* 80094990 000918F0 48 00 01 BC */ b lbl_80094B4C +lbl_80094994: +/* 80094994 000918F4 80 7E 02 1C */ lwz r3, 0x21c(r30) +/* 80094998 000918F8 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d +/* 8009499C 000918FC 40 82 00 0C */ bne lbl_800949A8 +/* 800949A0 00091900 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e +/* 800949A4 00091904 41 82 01 A8 */ beq lbl_80094B4C +lbl_800949A8: +/* 800949A8 00091908 83 BE 00 2C */ lwz r29, 0x2c(r30) +/* 800949AC 0009190C 48 00 00 7C */ b lbl_80094A28 +lbl_800949B0: +/* 800949B0 00091910 80 1D 00 08 */ lwz r0, 8(r29) +/* 800949B4 00091914 7F E4 FB 78 */ mr r4, r31 +/* 800949B8 00091918 38 61 00 1C */ addi r3, r1, 0x1c +/* 800949BC 0009191C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800949C0 00091920 90 01 00 28 */ stw r0, 0x28(r1) +/* 800949C4 00091924 4B FB 35 59 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800949C8 00091928 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 800949CC 0009192C 7F E3 FB 78 */ mr r3, r31 +/* 800949D0 00091930 38 81 00 18 */ addi r4, r1, 0x18 +/* 800949D4 00091934 B0 01 00 24 */ sth r0, 0x24(r1) +/* 800949D8 00091938 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800949DC 0009193C 4B FB 7B 99 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800949E0 00091940 7C 60 1B 78 */ mr r0, r3 +/* 800949E4 00091944 38 61 00 2C */ addi r3, r1, 0x2c +/* 800949E8 00091948 7C 04 03 78 */ mr r4, r0 +/* 800949EC 0009194C 48 01 73 81 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +/* 800949F0 00091950 80 63 00 04 */ lwz r3, 4(r3) +/* 800949F4 00091954 28 03 00 00 */ cmplwi r3, 0 +/* 800949F8 00091958 41 82 00 2C */ beq lbl_80094A24 +/* 800949FC 0009195C 88 03 02 E3 */ lbz r0, 0x2e3(r3) +/* 80094A00 00091960 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80094A04 00091964 41 82 00 20 */ beq lbl_80094A24 +/* 80094A08 00091968 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 80094A0C 0009196C B0 1E 02 0C */ sth r0, 0x20c(r30) +/* 80094A10 00091970 80 1D 00 04 */ lwz r0, 4(r29) +/* 80094A14 00091974 2C 00 00 04 */ cmpwi r0, 4 +/* 80094A18 00091978 41 82 00 0C */ beq lbl_80094A24 +/* 80094A1C 0009197C 2C 00 00 0A */ cmpwi r0, 0xa +/* 80094A20 00091980 40 82 01 2C */ bne lbl_80094B4C +lbl_80094A24: +/* 80094A24 00091984 3B BD 00 0C */ addi r29, r29, 0xc +lbl_80094A28: +/* 80094A28 00091988 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 80094A2C 0009198C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 80094A30 00091990 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80094A34 00091994 7C 03 02 14 */ add r0, r3, r0 +/* 80094A38 00091998 7C 1D 00 40 */ cmplw r29, r0 +/* 80094A3C 0009199C 40 82 FF 74 */ bne lbl_800949B0 +/* 80094A40 000919A0 48 00 01 0C */ b lbl_80094B4C +lbl_80094A44: +/* 80094A44 000919A4 7F C3 F3 78 */ mr r3, r30 +/* 80094A48 000919A8 7F E4 FB 78 */ mr r4, r31 +/* 80094A4C 000919AC 4B FF F1 21 */ bl CalculateWaypoints__16CCinematicCameraFR13CStateManager +/* 80094A50 000919B0 80 1E 02 1C */ lwz r0, 0x21c(r30) +/* 80094A54 000919B4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80094A58 000919B8 40 82 00 1C */ bne lbl_80094A74 +/* 80094A5C 000919BC 88 1E 02 20 */ lbz r0, 0x220(r30) +/* 80094A60 000919C0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80094A64 000919C4 41 82 00 10 */ beq lbl_80094A74 +/* 80094A68 000919C8 80 1E 01 BC */ lwz r0, 0x1bc(r30) +/* 80094A6C 000919CC 2C 00 00 00 */ cmpwi r0, 0 +/* 80094A70 000919D0 41 82 00 DC */ beq lbl_80094B4C +lbl_80094A74: +/* 80094A74 000919D4 C0 22 8B 40 */ lfs f1, lbl_805AA860@sda21(r2) +/* 80094A78 000919D8 7F C3 F3 78 */ mr r3, r30 +/* 80094A7C 000919DC 7F E4 FB 78 */ mr r4, r31 +/* 80094A80 000919E0 D0 3E 01 EC */ stfs f1, 0x1ec(r30) +/* 80094A84 000919E4 81 9E 00 00 */ lwz r12, 0(r30) +/* 80094A88 000919E8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80094A8C 000919EC 7D 89 03 A6 */ mtctr r12 +/* 80094A90 000919F0 4E 80 04 21 */ bctrl +/* 80094A94 000919F4 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80094A98 000919F8 7F E5 FB 78 */ mr r5, r31 +/* 80094A9C 000919FC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80094AA0 00091A00 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80094AA4 00091A04 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80094AA8 00091A08 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80094AAC 00091A0C 4B F7 68 91 */ bl AddCinemaCamera__14CCameraManagerF9TUniqueIdR13CStateManager +/* 80094AB0 00091A10 38 00 00 00 */ li r0, 0 +/* 80094AB4 00091A14 90 1E 01 F4 */ stw r0, 0x1f4(r30) +/* 80094AB8 00091A18 80 1E 01 AC */ lwz r0, 0x1ac(r30) +/* 80094ABC 00091A1C 2C 00 00 00 */ cmpwi r0, 0 +/* 80094AC0 00091A20 40 81 00 28 */ ble lbl_80094AE8 +/* 80094AC4 00091A24 80 1E 01 F4 */ lwz r0, 0x1f4(r30) +/* 80094AC8 00091A28 7F C3 F3 78 */ mr r3, r30 +/* 80094ACC 00091A2C 80 DE 01 B4 */ lwz r6, 0x1b4(r30) +/* 80094AD0 00091A30 7F E5 FB 78 */ mr r5, r31 +/* 80094AD4 00091A34 54 00 08 3C */ slwi r0, r0, 1 +/* 80094AD8 00091A38 38 81 00 0C */ addi r4, r1, 0xc +/* 80094ADC 00091A3C 7C 06 02 2E */ lhzx r0, r6, r0 +/* 80094AE0 00091A40 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80094AE4 00091A44 4B FF FE 15 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager +lbl_80094AE8: +/* 80094AE8 00091A48 38 00 00 00 */ li r0, 0 +/* 80094AEC 00091A4C 90 1E 01 F8 */ stw r0, 0x1f8(r30) +/* 80094AF0 00091A50 80 1E 01 CC */ lwz r0, 0x1cc(r30) +/* 80094AF4 00091A54 2C 00 00 00 */ cmpwi r0, 0 +/* 80094AF8 00091A58 40 81 00 28 */ ble lbl_80094B20 +/* 80094AFC 00091A5C 80 1E 01 F8 */ lwz r0, 0x1f8(r30) +/* 80094B00 00091A60 7F C3 F3 78 */ mr r3, r30 +/* 80094B04 00091A64 80 DE 01 D4 */ lwz r6, 0x1d4(r30) +/* 80094B08 00091A68 7F E5 FB 78 */ mr r5, r31 +/* 80094B0C 00091A6C 54 00 08 3C */ slwi r0, r0, 1 +/* 80094B10 00091A70 38 81 00 08 */ addi r4, r1, 8 +/* 80094B14 00091A74 7C 06 02 2E */ lhzx r0, r6, r0 +/* 80094B18 00091A78 B0 01 00 08 */ sth r0, 8(r1) +/* 80094B1C 00091A7C 4B FF FD DD */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager +lbl_80094B20: +/* 80094B20 00091A80 80 1E 02 1C */ lwz r0, 0x21c(r30) +/* 80094B24 00091A84 54 00 05 EF */ rlwinm. r0, r0, 0, 0x17, 0x17 +/* 80094B28 00091A88 41 82 00 24 */ beq lbl_80094B4C +/* 80094B2C 00091A8C 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 80094B30 00091A90 38 60 00 01 */ li r3, 1 +/* 80094B34 00091A94 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80094B38 00091A98 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 80094B3C 00091A9C 48 00 00 10 */ b lbl_80094B4C +lbl_80094B40: +/* 80094B40 00091AA0 7F C3 F3 78 */ mr r3, r30 +/* 80094B44 00091AA4 7F E4 FB 78 */ mr r4, r31 +/* 80094B48 00091AA8 4B FF F7 A1 */ bl WasDeactivated__16CCinematicCameraFR13CStateManager +lbl_80094B4C: +/* 80094B4C 00091AAC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80094B50 00091AB0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80094B54 00091AB4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80094B58 00091AB8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80094B5C 00091ABC 7C 08 03 A6 */ mtlr r0 +/* 80094B60 00091AC0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80094B64 00091AC4 4E 80 00 20 */ blr + +.global Accept__16CCinematicCameraFR8IVisitor +Accept__16CCinematicCameraFR8IVisitor: +/* 80094B68 00091AC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80094B6C 00091ACC 7C 08 02 A6 */ mflr r0 +/* 80094B70 00091AD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80094B74 00091AD4 7C 60 1B 78 */ mr r0, r3 +/* 80094B78 00091AD8 7C 83 23 78 */ mr r3, r4 +/* 80094B7C 00091ADC 81 84 00 00 */ lwz r12, 0(r4) +/* 80094B80 00091AE0 7C 04 03 78 */ mr r4, r0 +/* 80094B84 00091AE4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80094B88 00091AE8 7D 89 03 A6 */ mtctr r12 +/* 80094B8C 00091AEC 4E 80 04 21 */ bctrl +/* 80094B90 00091AF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80094B94 00091AF4 7C 08 03 A6 */ mtlr r0 +/* 80094B98 00091AF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80094B9C 00091AFC 4E 80 00 20 */ blr + +.global ProcessInput__16CCinematicCameraFRC11CFinalInputR13CStateManager +ProcessInput__16CCinematicCameraFRC11CFinalInputR13CStateManager: +/* 80094BA0 00091B00 4E 80 00 20 */ blr + +.global Think__16CCinematicCameraFfR13CStateManager +Think__16CCinematicCameraFfR13CStateManager: +/* 80094BA4 00091B04 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80094BA8 00091B08 7C 08 02 A6 */ mflr r0 +/* 80094BAC 00091B0C 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80094BB0 00091B10 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 80094BB4 00091B14 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 80094BB8 00091B18 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 80094BBC 00091B1C F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 80094BC0 00091B20 93 E1 01 AC */ stw r31, 0x1ac(r1) +/* 80094BC4 00091B24 93 C1 01 A8 */ stw r30, 0x1a8(r1) +/* 80094BC8 00091B28 93 A1 01 A4 */ stw r29, 0x1a4(r1) +/* 80094BCC 00091B2C 93 81 01 A0 */ stw r28, 0x1a0(r1) +/* 80094BD0 00091B30 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80094BD4 00091B34 FF E0 08 90 */ fmr f31, f1 +/* 80094BD8 00091B38 7C 7E 1B 78 */ mr r30, r3 +/* 80094BDC 00091B3C 7C 9F 23 78 */ mr r31, r4 +/* 80094BE0 00091B40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80094BE4 00091B44 41 82 05 C8 */ beq lbl_800951AC +/* 80094BE8 00091B48 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80094BEC 00091B4C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80094BF0 00091B50 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80094BF4 00091B54 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 80094BF8 00091B58 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80094BFC 00091B5C D0 41 01 08 */ stfs f2, 0x108(r1) +/* 80094C00 00091B60 80 1E 01 8C */ lwz r0, 0x18c(r30) +/* 80094C04 00091B64 2C 00 00 00 */ cmpwi r0, 0 +/* 80094C08 00091B68 40 81 00 74 */ ble lbl_80094C7C +/* 80094C0C 00091B6C 38 00 00 00 */ li r0, 0 +/* 80094C10 00091B70 7F C4 F3 78 */ mr r4, r30 +/* 80094C14 00091B74 90 01 00 24 */ stw r0, 0x24(r1) +/* 80094C18 00091B78 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80094C1C 00091B7C 38 BE 01 88 */ addi r5, r30, 0x188 +/* 80094C20 00091B80 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80094C24 00091B84 C0 3E 01 EC */ lfs f1, 0x1ec(r30) +/* 80094C28 00091B88 4B FF E1 E1 */ bl "GetInterpolatedSplinePoint__16CCinematicCameraCFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Rif" +/* 80094C2C 00091B8C C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 80094C30 00091B90 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 80094C34 00091B94 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80094C38 00091B98 D0 41 01 00 */ stfs f2, 0x100(r1) +/* 80094C3C 00091B9C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80094C40 00091BA0 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80094C44 00091BA4 D0 01 01 08 */ stfs f0, 0x108(r1) +/* 80094C48 00091BA8 80 1E 01 F4 */ lwz r0, 0x1f4(r30) +/* 80094C4C 00091BAC 7C 03 00 00 */ cmpw r3, r0 +/* 80094C50 00091BB0 40 81 00 2C */ ble lbl_80094C7C +/* 80094C54 00091BB4 90 7E 01 F4 */ stw r3, 0x1f4(r30) +/* 80094C58 00091BB8 7F C3 F3 78 */ mr r3, r30 +/* 80094C5C 00091BBC 7F E5 FB 78 */ mr r5, r31 +/* 80094C60 00091BC0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80094C64 00091BC4 80 1E 01 F4 */ lwz r0, 0x1f4(r30) +/* 80094C68 00091BC8 80 DE 01 B4 */ lwz r6, 0x1b4(r30) +/* 80094C6C 00091BCC 54 00 08 3C */ slwi r0, r0, 1 +/* 80094C70 00091BD0 7C 06 02 2E */ lhzx r0, r6, r0 +/* 80094C74 00091BD4 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80094C78 00091BD8 4B FF FC 81 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager +lbl_80094C7C: +/* 80094C7C 00091BDC C0 3E 01 EC */ lfs f1, 0x1ec(r30) +/* 80094C80 00091BE0 7F C4 F3 78 */ mr r4, r30 +/* 80094C84 00091BE4 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80094C88 00091BE8 38 BE 01 98 */ addi r5, r30, 0x198 +/* 80094C8C 00091BEC 4B FF E0 55 */ bl "GetInterpolatedOrientation__16CCinematicCameraCFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>f" +/* 80094C90 00091BF0 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 80094C94 00091BF4 C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 80094C98 00091BF8 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 80094C9C 00091BFC C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 80094CA0 00091C00 D0 61 00 F0 */ stfs f3, 0xf0(r1) +/* 80094CA4 00091C04 D0 41 00 F4 */ stfs f2, 0xf4(r1) +/* 80094CA8 00091C08 D0 21 00 F8 */ stfs f1, 0xf8(r1) +/* 80094CAC 00091C0C D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 80094CB0 00091C10 80 1E 02 1C */ lwz r0, 0x21c(r30) +/* 80094CB4 00091C14 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80094CB8 00091C18 40 82 02 10 */ bne lbl_80094EC8 +/* 80094CBC 00091C1C 80 1E 01 BC */ lwz r0, 0x1bc(r30) +/* 80094CC0 00091C20 2C 00 00 00 */ cmpwi r0, 0 +/* 80094CC4 00091C24 40 81 01 BC */ ble lbl_80094E80 +/* 80094CC8 00091C28 38 00 00 00 */ li r0, 0 +/* 80094CCC 00091C2C 7F C4 F3 78 */ mr r4, r30 +/* 80094CD0 00091C30 90 01 00 20 */ stw r0, 0x20(r1) +/* 80094CD4 00091C34 38 61 00 98 */ addi r3, r1, 0x98 +/* 80094CD8 00091C38 38 BE 01 B8 */ addi r5, r30, 0x1b8 +/* 80094CDC 00091C3C 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80094CE0 00091C40 C0 3E 01 EC */ lfs f1, 0x1ec(r30) +/* 80094CE4 00091C44 4B FF E1 25 */ bl "GetInterpolatedSplinePoint__16CCinematicCameraCFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Rif" +/* 80094CE8 00091C48 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 80094CEC 00091C4C C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 80094CF0 00091C50 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80094CF4 00091C54 D0 41 00 E4 */ stfs f2, 0xe4(r1) +/* 80094CF8 00091C58 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 80094CFC 00091C5C D0 01 00 EC */ stfs f0, 0xec(r1) +/* 80094D00 00091C60 80 1E 01 BC */ lwz r0, 0x1bc(r30) +/* 80094D04 00091C64 2C 00 00 01 */ cmpwi r0, 1 +/* 80094D08 00091C68 40 82 00 58 */ bne lbl_80094D60 +/* 80094D0C 00091C6C 80 BE 01 D4 */ lwz r5, 0x1d4(r30) +/* 80094D10 00091C70 7F E3 FB 78 */ mr r3, r31 +/* 80094D14 00091C74 38 81 00 18 */ addi r4, r1, 0x18 +/* 80094D18 00091C78 A0 05 00 00 */ lhz r0, 0(r5) +/* 80094D1C 00091C7C B0 01 00 18 */ sth r0, 0x18(r1) +/* 80094D20 00091C80 4B FB 78 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80094D24 00091C84 7C 64 1B 78 */ mr r4, r3 +/* 80094D28 00091C88 38 61 00 28 */ addi r3, r1, 0x28 +/* 80094D2C 00091C8C 48 01 AF 65 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80094D30 00091C90 80 63 00 04 */ lwz r3, 4(r3) +/* 80094D34 00091C94 28 03 00 00 */ cmplwi r3, 0 +/* 80094D38 00091C98 41 82 00 20 */ beq lbl_80094D58 +/* 80094D3C 00091C9C C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80094D40 00091CA0 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80094D44 00091CA4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80094D48 00091CA8 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 80094D4C 00091CAC D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 80094D50 00091CB0 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 80094D54 00091CB4 48 00 00 0C */ b lbl_80094D60 +lbl_80094D58: +/* 80094D58 00091CB8 C0 1E 01 E8 */ lfs f0, 0x1e8(r30) +/* 80094D5C 00091CBC D0 1E 01 EC */ stfs f0, 0x1ec(r30) +lbl_80094D60: +/* 80094D60 00091CC0 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80094D64 00091CC4 80 1E 01 F8 */ lwz r0, 0x1f8(r30) +/* 80094D68 00091CC8 7C 03 00 00 */ cmpw r3, r0 +/* 80094D6C 00091CCC 40 81 00 2C */ ble lbl_80094D98 +/* 80094D70 00091CD0 90 7E 01 F8 */ stw r3, 0x1f8(r30) +/* 80094D74 00091CD4 7F C3 F3 78 */ mr r3, r30 +/* 80094D78 00091CD8 7F E5 FB 78 */ mr r5, r31 +/* 80094D7C 00091CDC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80094D80 00091CE0 80 1E 01 F8 */ lwz r0, 0x1f8(r30) +/* 80094D84 00091CE4 80 DE 01 D4 */ lwz r6, 0x1d4(r30) +/* 80094D88 00091CE8 54 00 08 3C */ slwi r0, r0, 1 +/* 80094D8C 00091CEC 7C 06 02 2E */ lhzx r0, r6, r0 +/* 80094D90 00091CF0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80094D94 00091CF4 4B FF FB 65 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager +lbl_80094D98: +/* 80094D98 00091CF8 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 80094D9C 00091CFC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80094DA0 00091D00 38 A4 66 F4 */ addi r5, r4, lbl_805A66F4@l +/* 80094DA4 00091D04 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 80094DA8 00091D08 48 27 C4 BD */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80094DAC 00091D0C C0 41 00 E8 */ lfs f2, 0xe8(r1) +/* 80094DB0 00091D10 38 61 00 48 */ addi r3, r1, 0x48 +/* 80094DB4 00091D14 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 80094DB8 00091D18 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 80094DBC 00091D1C ED 02 00 28 */ fsubs f8, f2, f0 +/* 80094DC0 00091D20 C0 01 01 00 */ lfs f0, 0x100(r1) +/* 80094DC4 00091D24 C0 E1 00 8C */ lfs f7, 0x8c(r1) +/* 80094DC8 00091D28 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80094DCC 00091D2C C0 C1 00 90 */ lfs f6, 0x90(r1) +/* 80094DD0 00091D30 C0 A1 00 94 */ lfs f5, 0x94(r1) +/* 80094DD4 00091D34 C0 81 00 EC */ lfs f4, 0xec(r1) +/* 80094DD8 00091D38 FC 40 40 18 */ frsp f2, f8 +/* 80094DDC 00091D3C C0 61 01 08 */ lfs f3, 0x108(r1) +/* 80094DE0 00091D40 FC 20 00 18 */ frsp f1, f0 +/* 80094DE4 00091D44 D0 E1 00 D8 */ stfs f7, 0xd8(r1) +/* 80094DE8 00091D48 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80094DEC 00091D4C D0 C1 00 DC */ stfs f6, 0xdc(r1) +/* 80094DF0 00091D50 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 80094DF4 00091D54 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80094DF8 00091D58 D1 01 00 78 */ stfs f8, 0x78(r1) +/* 80094DFC 00091D5C D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 80094E00 00091D60 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80094E04 00091D64 D1 01 00 84 */ stfs f8, 0x84(r1) +/* 80094E08 00091D68 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 80094E0C 00091D6C 48 27 F3 F5 */ bl __ct__9CVector2fFff +/* 80094E10 00091D70 38 61 00 48 */ addi r3, r1, 0x48 +/* 80094E14 00091D74 48 27 F2 E1 */ bl Magnitude__9CVector2fCFv +/* 80094E18 00091D78 C0 02 8B 58 */ lfs f0, lbl_805AA878@sda21(r2) +/* 80094E1C 00091D7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80094E20 00091D80 40 80 00 14 */ bge lbl_80094E34 +/* 80094E24 00091D84 7F C3 F3 78 */ mr r3, r30 +/* 80094E28 00091D88 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 80094E2C 00091D8C 4B FB E0 61 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80094E30 00091D90 48 00 02 04 */ b lbl_80095034 +lbl_80094E34: +/* 80094E34 00091D94 38 61 01 6C */ addi r3, r1, 0x16c +/* 80094E38 00091D98 38 81 01 00 */ addi r4, r1, 0x100 +/* 80094E3C 00091D9C 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 80094E40 00091DA0 38 C1 00 D8 */ addi r6, r1, 0xd8 +/* 80094E44 00091DA4 48 27 EC CD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80094E48 00091DA8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80094E4C 00091DAC 38 81 01 6C */ addi r4, r1, 0x16c +/* 80094E50 00091DB0 48 27 DC F1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80094E54 00091DB4 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80094E58 00091DB8 38 60 00 01 */ li r3, 1 +/* 80094E5C 00091DBC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80094E60 00091DC0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80094E64 00091DC4 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80094E68 00091DC8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80094E6C 00091DCC 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80094E70 00091DD0 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80094E74 00091DD4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80094E78 00091DD8 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80094E7C 00091DDC 48 00 01 B8 */ b lbl_80095034 +lbl_80094E80: +/* 80094E80 00091DE0 38 61 01 3C */ addi r3, r1, 0x13c +/* 80094E84 00091DE4 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 80094E88 00091DE8 38 A1 01 00 */ addi r5, r1, 0x100 +/* 80094E8C 00091DEC 48 27 D0 31 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 80094E90 00091DF0 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80094E94 00091DF4 38 81 01 3C */ addi r4, r1, 0x13c +/* 80094E98 00091DF8 48 27 DC A9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80094E9C 00091DFC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80094EA0 00091E00 38 60 00 01 */ li r3, 1 +/* 80094EA4 00091E04 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80094EA8 00091E08 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80094EAC 00091E0C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80094EB0 00091E10 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80094EB4 00091E14 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80094EB8 00091E18 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80094EBC 00091E1C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80094EC0 00091E20 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80094EC4 00091E24 48 00 01 70 */ b lbl_80095034 +lbl_80094EC8: +/* 80094EC8 00091E28 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80094ECC 00091E2C C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80094ED0 00091E30 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80094ED4 00091E34 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80094ED8 00091E38 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 80094EDC 00091E3C D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 80094EE0 00091E40 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 80094EE4 00091E44 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80094EE8 00091E48 2C 00 00 01 */ cmpwi r0, 1 +/* 80094EEC 00091E4C 40 82 00 38 */ bne lbl_80094F24 +/* 80094EF0 00091E50 80 63 07 68 */ lwz r3, 0x768(r3) +/* 80094EF4 00091E54 48 06 3F 11 */ bl GetBallRadius__10CMorphBallCFv +/* 80094EF8 00091E58 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80094EFC 00091E5C C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80094F00 00091E60 C0 62 8B 40 */ lfs f3, lbl_805AA860@sda21(r2) +/* 80094F04 00091E64 EC 00 08 2A */ fadds f0, f0, f1 +/* 80094F08 00091E68 C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 80094F0C 00091E6C EC 42 18 2A */ fadds f2, f2, f3 +/* 80094F10 00091E70 EC 21 18 2A */ fadds f1, f1, f3 +/* 80094F14 00091E74 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 80094F18 00091E78 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 80094F1C 00091E7C D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 80094F20 00091E80 48 00 00 30 */ b lbl_80094F50 +lbl_80094F24: +/* 80094F24 00091E84 48 1E FE BD */ bl GetEyeHeight__7CPlayerCFv +/* 80094F28 00091E88 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80094F2C 00091E8C C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80094F30 00091E90 C0 62 8B 40 */ lfs f3, lbl_805AA860@sda21(r2) +/* 80094F34 00091E94 EC 00 08 2A */ fadds f0, f0, f1 +/* 80094F38 00091E98 C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 80094F3C 00091E9C EC 42 18 2A */ fadds f2, f2, f3 +/* 80094F40 00091EA0 EC 21 18 2A */ fadds f1, f1, f3 +/* 80094F44 00091EA4 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 80094F48 00091EA8 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 80094F4C 00091EAC D0 21 00 D0 */ stfs f1, 0xd0(r1) +lbl_80094F50: +/* 80094F50 00091EB0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 80094F54 00091EB4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80094F58 00091EB8 38 A4 66 F4 */ addi r5, r4, lbl_805A66F4@l +/* 80094F5C 00091EBC 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 80094F60 00091EC0 48 27 C3 05 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80094F64 00091EC4 C0 41 00 D0 */ lfs f2, 0xd0(r1) +/* 80094F68 00091EC8 38 61 00 40 */ addi r3, r1, 0x40 +/* 80094F6C 00091ECC C0 01 01 04 */ lfs f0, 0x104(r1) +/* 80094F70 00091ED0 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 80094F74 00091ED4 ED 02 00 28 */ fsubs f8, f2, f0 +/* 80094F78 00091ED8 C0 01 01 00 */ lfs f0, 0x100(r1) +/* 80094F7C 00091EDC C0 E1 00 68 */ lfs f7, 0x68(r1) +/* 80094F80 00091EE0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80094F84 00091EE4 C0 C1 00 6C */ lfs f6, 0x6c(r1) +/* 80094F88 00091EE8 C0 A1 00 70 */ lfs f5, 0x70(r1) +/* 80094F8C 00091EEC C0 81 00 D4 */ lfs f4, 0xd4(r1) +/* 80094F90 00091EF0 FC 40 40 18 */ frsp f2, f8 +/* 80094F94 00091EF4 C0 61 01 08 */ lfs f3, 0x108(r1) +/* 80094F98 00091EF8 FC 20 00 18 */ frsp f1, f0 +/* 80094F9C 00091EFC D0 E1 00 C0 */ stfs f7, 0xc0(r1) +/* 80094FA0 00091F00 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80094FA4 00091F04 D0 C1 00 C4 */ stfs f6, 0xc4(r1) +/* 80094FA8 00091F08 D0 A1 00 C8 */ stfs f5, 0xc8(r1) +/* 80094FAC 00091F0C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80094FB0 00091F10 D1 01 00 54 */ stfs f8, 0x54(r1) +/* 80094FB4 00091F14 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80094FB8 00091F18 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80094FBC 00091F1C D1 01 00 60 */ stfs f8, 0x60(r1) +/* 80094FC0 00091F20 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 80094FC4 00091F24 48 27 F2 3D */ bl __ct__9CVector2fFff +/* 80094FC8 00091F28 38 61 00 40 */ addi r3, r1, 0x40 +/* 80094FCC 00091F2C 48 27 F1 29 */ bl Magnitude__9CVector2fCFv +/* 80094FD0 00091F30 C0 02 8B 58 */ lfs f0, lbl_805AA878@sda21(r2) +/* 80094FD4 00091F34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80094FD8 00091F38 40 80 00 14 */ bge lbl_80094FEC +/* 80094FDC 00091F3C 7F C3 F3 78 */ mr r3, r30 +/* 80094FE0 00091F40 38 81 00 CC */ addi r4, r1, 0xcc +/* 80094FE4 00091F44 4B FB DE A9 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80094FE8 00091F48 48 00 00 4C */ b lbl_80095034 +lbl_80094FEC: +/* 80094FEC 00091F4C 38 61 01 0C */ addi r3, r1, 0x10c +/* 80094FF0 00091F50 38 81 01 00 */ addi r4, r1, 0x100 +/* 80094FF4 00091F54 38 A1 00 CC */ addi r5, r1, 0xcc +/* 80094FF8 00091F58 38 C1 00 C0 */ addi r6, r1, 0xc0 +/* 80094FFC 00091F5C 48 27 EB 15 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80095000 00091F60 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80095004 00091F64 38 81 01 0C */ addi r4, r1, 0x10c +/* 80095008 00091F68 48 27 DB 39 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8009500C 00091F6C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80095010 00091F70 38 60 00 01 */ li r3, 1 +/* 80095014 00091F74 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80095018 00091F78 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8009501C 00091F7C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80095020 00091F80 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80095024 00091F84 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80095028 00091F88 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8009502C 00091F8C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80095030 00091F90 98 1E 00 E4 */ stb r0, 0xe4(r30) +lbl_80095034: +/* 80095034 00091F94 C3 DE 01 68 */ lfs f30, 0x168(r30) +/* 80095038 00091F98 7F C3 F3 78 */ mr r3, r30 +/* 8009503C 00091F9C C0 3E 01 EC */ lfs f1, 0x1ec(r30) +/* 80095040 00091FA0 38 9E 01 D8 */ addi r4, r30, 0x1d8 +/* 80095044 00091FA4 4B FF DB B9 */ bl "GetInterpolatedHFov__16CCinematicCameraCFRCQ24rstl36vectorf" +/* 80095048 00091FA8 EC 01 F0 24 */ fdivs f0, f1, f30 +/* 8009504C 00091FAC 38 60 00 01 */ li r3, 1 +/* 80095050 00091FB0 D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 80095054 00091FB4 88 1E 01 70 */ lbz r0, 0x170(r30) +/* 80095058 00091FB8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8009505C 00091FBC 98 1E 01 70 */ stb r0, 0x170(r30) +/* 80095060 00091FC0 A0 7E 02 0C */ lhz r3, 0x20c(r30) +/* 80095064 00091FC4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80095068 00091FC8 7C 03 00 40 */ cmplw r3, r0 +/* 8009506C 00091FCC 41 82 00 98 */ beq lbl_80095104 +/* 80095070 00091FD0 A0 1E 02 0C */ lhz r0, 0x20c(r30) +/* 80095074 00091FD4 7F E3 FB 78 */ mr r3, r31 +/* 80095078 00091FD8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8009507C 00091FDC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80095080 00091FE0 4B FB 74 F5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80095084 00091FE4 7C 64 1B 78 */ mr r4, r3 +/* 80095088 00091FE8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8009508C 00091FEC 48 01 6C E1 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +/* 80095090 00091FF0 83 A3 00 04 */ lwz r29, 4(r3) +/* 80095094 00091FF4 28 1D 00 00 */ cmplwi r29, 0 +/* 80095098 00091FF8 41 82 00 6C */ beq lbl_80095104 +/* 8009509C 00091FFC 88 1D 02 E3 */ lbz r0, 0x2e3(r29) +/* 800950A0 00092000 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800950A4 00092004 41 82 00 60 */ beq lbl_80095104 +/* 800950A8 00092008 7F C3 F3 78 */ mr r3, r30 +/* 800950AC 0009200C 4B FF DA 8D */ bl GetMoveOutofIntoAlpha__16CCinematicCameraCFv +/* 800950B0 00092010 FC 00 08 90 */ fmr f0, f1 +/* 800950B4 00092014 C0 22 8B 3C */ lfs f1, lbl_805AA85C@sda21(r2) +/* 800950B8 00092018 38 A0 00 05 */ li r5, 5 +/* 800950BC 0009201C 38 80 00 00 */ li r4, 0 +/* 800950C0 00092020 38 00 00 03 */ li r0, 3 +/* 800950C4 00092024 FC 40 08 90 */ fmr f2, f1 +/* 800950C8 00092028 FC 80 00 90 */ fmr f4, f0 +/* 800950CC 0009202C 98 A1 00 30 */ stb r5, 0x30(r1) +/* 800950D0 00092030 FC 60 08 90 */ fmr f3, f1 +/* 800950D4 00092034 38 61 00 34 */ addi r3, r1, 0x34 +/* 800950D8 00092038 98 81 00 31 */ stb r4, 0x31(r1) +/* 800950DC 0009203C B0 01 00 32 */ sth r0, 0x32(r1) +/* 800950E0 00092040 48 2C E3 0D */ bl __ct__6CColorFffff +/* 800950E4 00092044 88 01 00 30 */ lbz r0, 0x30(r1) +/* 800950E8 00092048 98 1D 00 B4 */ stb r0, 0xb4(r29) +/* 800950EC 0009204C 88 01 00 31 */ lbz r0, 0x31(r1) +/* 800950F0 00092050 98 1D 00 B5 */ stb r0, 0xb5(r29) +/* 800950F4 00092054 A0 01 00 32 */ lhz r0, 0x32(r1) +/* 800950F8 00092058 B0 1D 00 B6 */ sth r0, 0xb6(r29) +/* 800950FC 0009205C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80095100 00092060 90 1D 00 B8 */ stw r0, 0xb8(r29) +lbl_80095104: +/* 80095104 00092064 C0 1E 01 EC */ lfs f0, 0x1ec(r30) +/* 80095108 00092068 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8009510C 0009206C D0 1E 01 EC */ stfs f0, 0x1ec(r30) +/* 80095110 00092070 C0 3E 01 EC */ lfs f1, 0x1ec(r30) +/* 80095114 00092074 C0 1E 01 E8 */ lfs f0, 0x1e8(r30) +/* 80095118 00092078 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009511C 0009207C 40 81 00 90 */ ble lbl_800951AC +/* 80095120 00092080 80 7E 01 F4 */ lwz r3, 0x1f4(r30) +/* 80095124 00092084 3B 83 00 01 */ addi r28, r3, 1 +/* 80095128 00092088 57 9D 08 3C */ slwi r29, r28, 1 +/* 8009512C 0009208C 48 00 00 28 */ b lbl_80095154 +lbl_80095130: +/* 80095130 00092090 80 DE 01 B4 */ lwz r6, 0x1b4(r30) +/* 80095134 00092094 7F C3 F3 78 */ mr r3, r30 +/* 80095138 00092098 7F E5 FB 78 */ mr r5, r31 +/* 8009513C 0009209C 38 81 00 0C */ addi r4, r1, 0xc +/* 80095140 000920A0 7C 06 EA 2E */ lhzx r0, r6, r29 +/* 80095144 000920A4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80095148 000920A8 4B FF F7 B1 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager +/* 8009514C 000920AC 3B BD 00 02 */ addi r29, r29, 2 +/* 80095150 000920B0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80095154: +/* 80095154 000920B4 80 1E 01 AC */ lwz r0, 0x1ac(r30) +/* 80095158 000920B8 7C 1C 00 00 */ cmpw r28, r0 +/* 8009515C 000920BC 41 80 FF D4 */ blt lbl_80095130 +/* 80095160 000920C0 80 7E 01 F8 */ lwz r3, 0x1f8(r30) +/* 80095164 000920C4 3B 83 00 01 */ addi r28, r3, 1 +/* 80095168 000920C8 57 9D 08 3C */ slwi r29, r28, 1 +/* 8009516C 000920CC 48 00 00 28 */ b lbl_80095194 +lbl_80095170: +/* 80095170 000920D0 80 DE 01 D4 */ lwz r6, 0x1d4(r30) +/* 80095174 000920D4 7F C3 F3 78 */ mr r3, r30 +/* 80095178 000920D8 7F E5 FB 78 */ mr r5, r31 +/* 8009517C 000920DC 38 81 00 08 */ addi r4, r1, 8 +/* 80095180 000920E0 7C 06 EA 2E */ lhzx r0, r6, r29 +/* 80095184 000920E4 B0 01 00 08 */ sth r0, 8(r1) +/* 80095188 000920E8 4B FF F7 71 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager +/* 8009518C 000920EC 3B BD 00 02 */ addi r29, r29, 2 +/* 80095190 000920F0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80095194: +/* 80095194 000920F4 80 1E 01 CC */ lwz r0, 0x1cc(r30) +/* 80095198 000920F8 7C 1C 00 00 */ cmpw r28, r0 +/* 8009519C 000920FC 41 80 FF D4 */ blt lbl_80095170 +/* 800951A0 00092100 7F C3 F3 78 */ mr r3, r30 +/* 800951A4 00092104 7F E4 FB 78 */ mr r4, r31 +/* 800951A8 00092108 4B FF F6 E9 */ bl DeactivateSelf__16CCinematicCameraFR13CStateManager +lbl_800951AC: +/* 800951AC 0009210C E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 800951B0 00092110 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 800951B4 00092114 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 800951B8 00092118 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 800951BC 0009211C 83 E1 01 AC */ lwz r31, 0x1ac(r1) +/* 800951C0 00092120 83 C1 01 A8 */ lwz r30, 0x1a8(r1) +/* 800951C4 00092124 83 A1 01 A4 */ lwz r29, 0x1a4(r1) +/* 800951C8 00092128 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 800951CC 0009212C 83 81 01 A0 */ lwz r28, 0x1a0(r1) +/* 800951D0 00092130 7C 08 03 A6 */ mtlr r0 +/* 800951D4 00092134 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 800951D8 00092138 4E 80 00 20 */ blr + +.global Reset__16CCinematicCameraFRC12CTransform4fR13CStateManager +Reset__16CCinematicCameraFRC12CTransform4fR13CStateManager: +/* 800951DC 0009213C 4E 80 00 20 */ blr + +.global __dt__16CCinematicCameraFv +__dt__16CCinematicCameraFv: +/* 800951E0 00092140 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800951E4 00092144 7C 08 02 A6 */ mflr r0 +/* 800951E8 00092148 90 01 00 74 */ stw r0, 0x74(r1) +/* 800951EC 0009214C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800951F0 00092150 7C 9F 23 78 */ mr r31, r4 +/* 800951F4 00092154 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800951F8 00092158 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800951FC 0009215C 41 82 01 DC */ beq lbl_800953D8 +/* 80095200 00092160 3C 60 80 3E */ lis r3, lbl_803DADF8@ha +/* 80095204 00092164 34 1E 01 D8 */ addic. r0, r30, 0x1d8 +/* 80095208 00092168 38 03 AD F8 */ addi r0, r3, lbl_803DADF8@l +/* 8009520C 0009216C 90 1E 00 00 */ stw r0, 0(r30) +/* 80095210 00092170 41 82 00 44 */ beq lbl_80095254 +/* 80095214 00092174 80 1E 01 DC */ lwz r0, 0x1dc(r30) +/* 80095218 00092178 80 7E 01 E4 */ lwz r3, 0x1e4(r30) +/* 8009521C 0009217C 54 00 10 3A */ slwi r0, r0, 2 +/* 80095220 00092180 7C 03 02 14 */ add r0, r3, r0 +/* 80095224 00092184 90 61 00 5C */ stw r3, 0x5c(r1) +/* 80095228 00092188 7C 64 1B 78 */ mr r4, r3 +/* 8009522C 0009218C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80095230 00092190 90 01 00 60 */ stw r0, 0x60(r1) +/* 80095234 00092194 90 61 00 58 */ stw r3, 0x58(r1) +/* 80095238 00092198 48 00 00 08 */ b lbl_80095240 +lbl_8009523C: +/* 8009523C 0009219C 38 84 00 04 */ addi r4, r4, 4 +lbl_80095240: +/* 80095240 000921A0 7C 04 00 40 */ cmplw r4, r0 +/* 80095244 000921A4 40 82 FF F8 */ bne lbl_8009523C +/* 80095248 000921A8 28 03 00 00 */ cmplwi r3, 0 +/* 8009524C 000921AC 41 82 00 08 */ beq lbl_80095254 +/* 80095250 000921B0 48 28 06 E1 */ bl Free__7CMemoryFPCv +lbl_80095254: +/* 80095254 000921B4 34 1E 01 C8 */ addic. r0, r30, 0x1c8 +/* 80095258 000921B8 41 82 00 44 */ beq lbl_8009529C +/* 8009525C 000921BC 80 1E 01 CC */ lwz r0, 0x1cc(r30) +/* 80095260 000921C0 80 7E 01 D4 */ lwz r3, 0x1d4(r30) +/* 80095264 000921C4 54 00 08 3C */ slwi r0, r0, 1 +/* 80095268 000921C8 7C 03 02 14 */ add r0, r3, r0 +/* 8009526C 000921CC 90 61 00 4C */ stw r3, 0x4c(r1) +/* 80095270 000921D0 7C 64 1B 78 */ mr r4, r3 +/* 80095274 000921D4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80095278 000921D8 90 01 00 50 */ stw r0, 0x50(r1) +/* 8009527C 000921DC 90 61 00 48 */ stw r3, 0x48(r1) +/* 80095280 000921E0 48 00 00 08 */ b lbl_80095288 +lbl_80095284: +/* 80095284 000921E4 38 84 00 02 */ addi r4, r4, 2 +lbl_80095288: +/* 80095288 000921E8 7C 04 00 40 */ cmplw r4, r0 +/* 8009528C 000921EC 40 82 FF F8 */ bne lbl_80095284 +/* 80095290 000921F0 28 03 00 00 */ cmplwi r3, 0 +/* 80095294 000921F4 41 82 00 08 */ beq lbl_8009529C +/* 80095298 000921F8 48 28 06 99 */ bl Free__7CMemoryFPCv +lbl_8009529C: +/* 8009529C 000921FC 34 1E 01 B8 */ addic. r0, r30, 0x1b8 +/* 800952A0 00092200 41 82 00 44 */ beq lbl_800952E4 +/* 800952A4 00092204 80 1E 01 BC */ lwz r0, 0x1bc(r30) +/* 800952A8 00092208 80 7E 01 C4 */ lwz r3, 0x1c4(r30) +/* 800952AC 0009220C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800952B0 00092210 90 61 00 3C */ stw r3, 0x3c(r1) +/* 800952B4 00092214 7C 64 1B 78 */ mr r4, r3 +/* 800952B8 00092218 7C 03 02 14 */ add r0, r3, r0 +/* 800952BC 0009221C 90 61 00 38 */ stw r3, 0x38(r1) +/* 800952C0 00092220 90 01 00 44 */ stw r0, 0x44(r1) +/* 800952C4 00092224 90 01 00 40 */ stw r0, 0x40(r1) +/* 800952C8 00092228 48 00 00 08 */ b lbl_800952D0 +lbl_800952CC: +/* 800952CC 0009222C 38 84 00 0C */ addi r4, r4, 0xc +lbl_800952D0: +/* 800952D0 00092230 7C 04 00 40 */ cmplw r4, r0 +/* 800952D4 00092234 40 82 FF F8 */ bne lbl_800952CC +/* 800952D8 00092238 28 03 00 00 */ cmplwi r3, 0 +/* 800952DC 0009223C 41 82 00 08 */ beq lbl_800952E4 +/* 800952E0 00092240 48 28 06 51 */ bl Free__7CMemoryFPCv +lbl_800952E4: +/* 800952E4 00092244 34 1E 01 A8 */ addic. r0, r30, 0x1a8 +/* 800952E8 00092248 41 82 00 44 */ beq lbl_8009532C +/* 800952EC 0009224C 80 1E 01 AC */ lwz r0, 0x1ac(r30) +/* 800952F0 00092250 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 800952F4 00092254 54 00 08 3C */ slwi r0, r0, 1 +/* 800952F8 00092258 7C 03 02 14 */ add r0, r3, r0 +/* 800952FC 0009225C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80095300 00092260 7C 64 1B 78 */ mr r4, r3 +/* 80095304 00092264 90 01 00 34 */ stw r0, 0x34(r1) +/* 80095308 00092268 90 01 00 30 */ stw r0, 0x30(r1) +/* 8009530C 0009226C 90 61 00 28 */ stw r3, 0x28(r1) +/* 80095310 00092270 48 00 00 08 */ b lbl_80095318 +lbl_80095314: +/* 80095314 00092274 38 84 00 02 */ addi r4, r4, 2 +lbl_80095318: +/* 80095318 00092278 7C 04 00 40 */ cmplw r4, r0 +/* 8009531C 0009227C 40 82 FF F8 */ bne lbl_80095314 +/* 80095320 00092280 28 03 00 00 */ cmplwi r3, 0 +/* 80095324 00092284 41 82 00 08 */ beq lbl_8009532C +/* 80095328 00092288 48 28 06 09 */ bl Free__7CMemoryFPCv +lbl_8009532C: +/* 8009532C 0009228C 34 1E 01 98 */ addic. r0, r30, 0x198 +/* 80095330 00092290 41 82 00 44 */ beq lbl_80095374 +/* 80095334 00092294 80 1E 01 9C */ lwz r0, 0x19c(r30) +/* 80095338 00092298 80 7E 01 A4 */ lwz r3, 0x1a4(r30) +/* 8009533C 0009229C 54 00 20 36 */ slwi r0, r0, 4 +/* 80095340 000922A0 7C 03 02 14 */ add r0, r3, r0 +/* 80095344 000922A4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80095348 000922A8 7C 64 1B 78 */ mr r4, r3 +/* 8009534C 000922AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80095350 000922B0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80095354 000922B4 90 61 00 18 */ stw r3, 0x18(r1) +/* 80095358 000922B8 48 00 00 08 */ b lbl_80095360 +lbl_8009535C: +/* 8009535C 000922BC 38 84 00 10 */ addi r4, r4, 0x10 +lbl_80095360: +/* 80095360 000922C0 7C 04 00 40 */ cmplw r4, r0 +/* 80095364 000922C4 40 82 FF F8 */ bne lbl_8009535C +/* 80095368 000922C8 28 03 00 00 */ cmplwi r3, 0 +/* 8009536C 000922CC 41 82 00 08 */ beq lbl_80095374 +/* 80095370 000922D0 48 28 05 C1 */ bl Free__7CMemoryFPCv +lbl_80095374: +/* 80095374 000922D4 34 1E 01 88 */ addic. r0, r30, 0x188 +/* 80095378 000922D8 41 82 00 44 */ beq lbl_800953BC +/* 8009537C 000922DC 80 1E 01 8C */ lwz r0, 0x18c(r30) +/* 80095380 000922E0 80 7E 01 94 */ lwz r3, 0x194(r30) +/* 80095384 000922E4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80095388 000922E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8009538C 000922EC 7C 64 1B 78 */ mr r4, r3 +/* 80095390 000922F0 7C 03 02 14 */ add r0, r3, r0 +/* 80095394 000922F4 90 61 00 08 */ stw r3, 8(r1) +/* 80095398 000922F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009539C 000922FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 800953A0 00092300 48 00 00 08 */ b lbl_800953A8 +lbl_800953A4: +/* 800953A4 00092304 38 84 00 0C */ addi r4, r4, 0xc +lbl_800953A8: +/* 800953A8 00092308 7C 04 00 40 */ cmplw r4, r0 +/* 800953AC 0009230C 40 82 FF F8 */ bne lbl_800953A4 +/* 800953B0 00092310 28 03 00 00 */ cmplwi r3, 0 +/* 800953B4 00092314 41 82 00 08 */ beq lbl_800953BC +/* 800953B8 00092318 48 28 05 79 */ bl Free__7CMemoryFPCv +lbl_800953BC: +/* 800953BC 0009231C 7F C3 F3 78 */ mr r3, r30 +/* 800953C0 00092320 38 80 00 00 */ li r4, 0 +/* 800953C4 00092324 4B FC 86 99 */ bl __dt__11CGameCameraFv +/* 800953C8 00092328 7F E0 07 35 */ extsh. r0, r31 +/* 800953CC 0009232C 40 81 00 0C */ ble lbl_800953D8 +/* 800953D0 00092330 7F C3 F3 78 */ mr r3, r30 +/* 800953D4 00092334 48 28 05 5D */ bl Free__7CMemoryFPCv +lbl_800953D8: +/* 800953D8 00092338 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800953DC 0009233C 7F C3 F3 78 */ mr r3, r30 +/* 800953E0 00092340 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800953E4 00092344 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800953E8 00092348 7C 08 03 A6 */ mtlr r0 +/* 800953EC 0009234C 38 21 00 70 */ addi r1, r1, 0x70 +/* 800953F0 00092350 4E 80 00 20 */ blr + +.global "__ct__16CCinematicCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi" +"__ct__16CCinematicCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi": +/* 800953F4 00092354 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800953F8 00092358 7C 08 02 A6 */ mflr r0 +/* 800953FC 0009235C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80095400 00092360 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80095404 00092364 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80095408 00092368 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 8009540C 0009236C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80095410 00092370 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80095414 00092374 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80095418 00092378 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8009541C 0009237C A0 04 00 00 */ lhz r0, 0(r4) +/* 80095420 00092380 FF E0 10 90 */ fmr f31, f2 +/* 80095424 00092384 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80095428 00092388 7D 3F 4B 78 */ mr r31, r9 +/* 8009542C 0009238C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80095430 00092390 FF C0 08 90 */ fmr f30, f1 +/* 80095434 00092394 FC 40 18 90 */ fmr f2, f3 +/* 80095438 00092398 B0 81 00 10 */ sth r4, 0x10(r1) +/* 8009543C 0009239C 38 00 00 00 */ li r0, 0 +/* 80095440 000923A0 FC 60 20 90 */ fmr f3, f4 +/* 80095444 000923A4 7C A9 2B 78 */ mr r9, r5 +/* 80095448 000923A8 7C C4 33 78 */ mr r4, r6 +/* 8009544C 000923AC 7C FE 3B 78 */ mr r30, r7 +/* 80095450 000923B0 7D 05 43 78 */ mr r5, r8 +/* 80095454 000923B4 7D 26 4B 78 */ mr r6, r9 +/* 80095458 000923B8 7C 87 23 78 */ mr r7, r4 +/* 8009545C 000923BC FC 20 F8 90 */ fmr f1, f31 +/* 80095460 000923C0 FC 80 28 90 */ fmr f4, f5 +/* 80095464 000923C4 90 01 00 08 */ stw r0, 8(r1) +/* 80095468 000923C8 7C 7D 1B 78 */ mr r29, r3 +/* 8009546C 000923CC 7F C8 F3 78 */ mr r8, r30 +/* 80095470 000923D0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80095474 000923D4 39 21 00 10 */ addi r9, r1, 0x10 +/* 80095478 000923D8 57 EA DF FE */ rlwinm r10, r31, 0x1b, 0x1f, 0x1f +/* 8009547C 000923DC 4B FC 86 41 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" +/* 80095480 000923E0 3C 60 80 3E */ lis r3, lbl_803DADF8@ha +/* 80095484 000923E4 38 00 00 00 */ li r0, 0 +/* 80095488 000923E8 38 63 AD F8 */ addi r3, r3, lbl_803DADF8@l +/* 8009548C 000923EC C0 02 8B 40 */ lfs f0, lbl_805AA860@sda21(r2) +/* 80095490 000923F0 90 7D 00 00 */ stw r3, 0(r29) +/* 80095494 000923F4 7F C4 F3 78 */ mr r4, r30 +/* 80095498 000923F8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8009549C 000923FC 90 1D 01 8C */ stw r0, 0x18c(r29) +/* 800954A0 00092400 90 1D 01 90 */ stw r0, 0x190(r29) +/* 800954A4 00092404 90 1D 01 94 */ stw r0, 0x194(r29) +/* 800954A8 00092408 90 1D 01 9C */ stw r0, 0x19c(r29) +/* 800954AC 0009240C 90 1D 01 A0 */ stw r0, 0x1a0(r29) +/* 800954B0 00092410 90 1D 01 A4 */ stw r0, 0x1a4(r29) +/* 800954B4 00092414 90 1D 01 AC */ stw r0, 0x1ac(r29) +/* 800954B8 00092418 90 1D 01 B0 */ stw r0, 0x1b0(r29) +/* 800954BC 0009241C 90 1D 01 B4 */ stw r0, 0x1b4(r29) +/* 800954C0 00092420 90 1D 01 BC */ stw r0, 0x1bc(r29) +/* 800954C4 00092424 90 1D 01 C0 */ stw r0, 0x1c0(r29) +/* 800954C8 00092428 90 1D 01 C4 */ stw r0, 0x1c4(r29) +/* 800954CC 0009242C 90 1D 01 CC */ stw r0, 0x1cc(r29) +/* 800954D0 00092430 90 1D 01 D0 */ stw r0, 0x1d0(r29) +/* 800954D4 00092434 90 1D 01 D4 */ stw r0, 0x1d4(r29) +/* 800954D8 00092438 90 1D 01 DC */ stw r0, 0x1dc(r29) +/* 800954DC 0009243C 90 1D 01 E0 */ stw r0, 0x1e0(r29) +/* 800954E0 00092440 90 1D 01 E4 */ stw r0, 0x1e4(r29) +/* 800954E4 00092444 D3 DD 01 E8 */ stfs f30, 0x1e8(r29) +/* 800954E8 00092448 D0 1D 01 EC */ stfs f0, 0x1ec(r29) +/* 800954EC 0009244C D3 FD 01 F0 */ stfs f31, 0x1f0(r29) +/* 800954F0 00092450 90 1D 01 F4 */ stw r0, 0x1f4(r29) +/* 800954F4 00092454 90 1D 01 F8 */ stw r0, 0x1f8(r29) +/* 800954F8 00092458 48 27 CC 31 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 800954FC 0009245C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80095500 00092460 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80095504 00092464 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80095508 00092468 38 80 00 00 */ li r4, 0 +/* 8009550C 0009246C D0 1D 01 FC */ stfs f0, 0x1fc(r29) +/* 80095510 00092470 7F A3 EB 78 */ mr r3, r29 +/* 80095514 00092474 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80095518 00092478 D0 1D 02 00 */ stfs f0, 0x200(r29) +/* 8009551C 0009247C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80095520 00092480 D0 1D 02 04 */ stfs f0, 0x204(r29) +/* 80095524 00092484 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80095528 00092488 D0 1D 02 08 */ stfs f0, 0x208(r29) +/* 8009552C 0009248C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80095530 00092490 B0 1D 02 0C */ sth r0, 0x20c(r29) +/* 80095534 00092494 C0 05 00 00 */ lfs f0, 0(r5) +/* 80095538 00092498 D0 1D 02 10 */ stfs f0, 0x210(r29) +/* 8009553C 0009249C C0 05 00 04 */ lfs f0, 4(r5) +/* 80095540 000924A0 D0 1D 02 14 */ stfs f0, 0x214(r29) +/* 80095544 000924A4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80095548 000924A8 D0 1D 02 18 */ stfs f0, 0x218(r29) +/* 8009554C 000924AC 93 FD 02 1C */ stw r31, 0x21c(r29) +/* 80095550 000924B0 88 1D 02 20 */ lbz r0, 0x220(r29) +/* 80095554 000924B4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80095558 000924B8 98 1D 02 20 */ stb r0, 0x220(r29) +/* 8009555C 000924BC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80095560 000924C0 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80095564 000924C4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80095568 000924C8 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 8009556C 000924CC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80095570 000924D0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80095574 000924D4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80095578 000924D8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8009557C 000924DC 7C 08 03 A6 */ mtlr r0 +/* 80095580 000924E0 38 21 00 60 */ addi r1, r1, 0x60 +/* 80095584 000924E4 4E 80 00 20 */ blr + +.global "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi": +/* 80095588 000924E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8009558C 000924EC 7C 08 02 A6 */ mflr r0 +/* 80095590 000924F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80095594 000924F4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80095598 000924F8 7C 9F 23 78 */ mr r31, r4 +/* 8009559C 000924FC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800955A0 00092500 7C 7E 1B 78 */ mr r30, r3 +/* 800955A4 00092504 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800955A8 00092508 80 03 00 08 */ lwz r0, 8(r3) +/* 800955AC 0009250C 7C 1F 00 00 */ cmpw r31, r0 +/* 800955B0 00092510 40 81 00 C4 */ ble lbl_80095674 +/* 800955B4 00092514 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 800955B8 00092518 40 82 00 0C */ bne lbl_800955C4 +/* 800955BC 0009251C 3B A0 00 00 */ li r29, 0 +/* 800955C0 00092520 48 00 00 1C */ b lbl_800955DC +lbl_800955C4: +/* 800955C4 00092524 3C 80 80 3D */ lis r4, lbl_803CD7C0@ha +/* 800955C8 00092528 38 A0 00 00 */ li r5, 0 +/* 800955CC 0009252C 38 84 D7 C0 */ addi r4, r4, lbl_803CD7C0@l +/* 800955D0 00092530 38 84 00 0C */ addi r4, r4, 0xc +/* 800955D4 00092534 48 28 02 45 */ bl __nwa__FUlPCcPCc +/* 800955D8 00092538 7C 7D 1B 78 */ mr r29, r3 +lbl_800955DC: +/* 800955DC 0009253C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800955E0 00092540 7F A3 EB 78 */ mr r3, r29 +/* 800955E4 00092544 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 800955E8 00092548 54 00 20 36 */ slwi r0, r0, 4 +/* 800955EC 0009254C 7C 04 02 14 */ add r0, r4, r0 +/* 800955F0 00092550 90 81 00 10 */ stw r4, 0x10(r1) +/* 800955F4 00092554 90 01 00 08 */ stw r0, 8(r1) +/* 800955F8 00092558 90 01 00 0C */ stw r0, 0xc(r1) +/* 800955FC 0009255C 90 81 00 14 */ stw r4, 0x14(r1) +/* 80095600 00092560 48 00 00 34 */ b lbl_80095634 +lbl_80095604: +/* 80095604 00092564 28 03 00 00 */ cmplwi r3, 0 +/* 80095608 00092568 41 82 00 24 */ beq lbl_8009562C +/* 8009560C 0009256C C0 04 00 00 */ lfs f0, 0(r4) +/* 80095610 00092570 D0 03 00 00 */ stfs f0, 0(r3) +/* 80095614 00092574 C0 04 00 04 */ lfs f0, 4(r4) +/* 80095618 00092578 D0 03 00 04 */ stfs f0, 4(r3) +/* 8009561C 0009257C C0 04 00 08 */ lfs f0, 8(r4) +/* 80095620 00092580 D0 03 00 08 */ stfs f0, 8(r3) +/* 80095624 00092584 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80095628 00092588 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_8009562C: +/* 8009562C 0009258C 38 63 00 10 */ addi r3, r3, 0x10 +/* 80095630 00092590 38 84 00 10 */ addi r4, r4, 0x10 +lbl_80095634: +/* 80095634 00092594 7C 04 00 40 */ cmplw r4, r0 +/* 80095638 00092598 40 82 FF CC */ bne lbl_80095604 +/* 8009563C 0009259C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80095640 000925A0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80095644 000925A4 54 00 20 36 */ slwi r0, r0, 4 +/* 80095648 000925A8 7C 64 1B 78 */ mr r4, r3 +/* 8009564C 000925AC 7C 03 02 14 */ add r0, r3, r0 +/* 80095650 000925B0 48 00 00 08 */ b lbl_80095658 +lbl_80095654: +/* 80095654 000925B4 38 84 00 10 */ addi r4, r4, 0x10 +lbl_80095658: +/* 80095658 000925B8 7C 04 00 40 */ cmplw r4, r0 +/* 8009565C 000925BC 40 82 FF F8 */ bne lbl_80095654 +/* 80095660 000925C0 28 03 00 00 */ cmplwi r3, 0 +/* 80095664 000925C4 41 82 00 08 */ beq lbl_8009566C +/* 80095668 000925C8 48 28 02 C9 */ bl Free__7CMemoryFPCv +lbl_8009566C: +/* 8009566C 000925CC 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80095670 000925D0 93 FE 00 08 */ stw r31, 8(r30) +lbl_80095674: +/* 80095674 000925D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80095678 000925D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8009567C 000925DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80095680 000925E0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80095684 000925E4 7C 08 03 A6 */ mtlr r0 +/* 80095688 000925E8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8009568C 000925EC 4E 80 00 20 */ blr + +.global SetupMiniMapWorld__11CAutoMapperFv +SetupMiniMapWorld__11CAutoMapperFv: +/* 80095690 000925F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80095694 000925F4 7C 08 02 A6 */ mflr r0 +/* 80095698 000925F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009569C 000925FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800956A0 00092600 93 C1 00 08 */ stw r30, 8(r1) +/* 800956A4 00092604 7C 7E 1B 78 */ mr r30, r3 +/* 800956A8 00092608 83 E4 08 50 */ lwz r31, 0x850(r4) +/* 800956AC 0009260C 7F E3 FB 78 */ mr r3, r31 +/* 800956B0 00092610 4B FC 1F ED */ bl GetMapWorld__6CWorldCFv +/* 800956B4 00092614 80 BF 00 68 */ lwz r5, 0x68(r31) +/* 800956B8 00092618 7F E4 FB 78 */ mr r4, r31 +/* 800956BC 0009261C 38 C0 00 03 */ li r6, 3 +/* 800956C0 00092620 48 00 BB 49 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii +/* 800956C4 00092624 38 00 00 03 */ li r0, 3 +/* 800956C8 00092628 90 1E 03 28 */ stw r0, 0x328(r30) +/* 800956CC 0009262C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800956D0 00092630 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800956D4 00092634 83 C1 00 08 */ lwz r30, 8(r1) +/* 800956D8 00092638 7C 08 03 A6 */ mtlr r0 +/* 800956DC 0009263C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800956E0 00092640 4E 80 00 20 */ blr + +.global LeaveMapScreen__11CAutoMapperCFRC13CStateManager +LeaveMapScreen__11CAutoMapperCFRC13CStateManager: +/* 800956E4 00092644 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800956E8 00092648 7C 08 02 A6 */ mflr r0 +/* 800956EC 0009264C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800956F0 00092650 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800956F4 00092654 7C 9F 23 78 */ mr r31, r4 +/* 800956F8 00092658 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800956FC 0009265C 7C 7E 1B 78 */ mr r30, r3 +/* 80095700 00092660 80 03 01 C0 */ lwz r0, 0x1c0(r3) +/* 80095704 00092664 2C 00 00 02 */ cmpwi r0, 2 +/* 80095708 00092668 40 82 00 28 */ bne lbl_80095730 +/* 8009570C 0009266C 48 00 0B A9 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +/* 80095710 00092670 D0 3E 01 30 */ stfs f1, 0x130(r30) +/* 80095714 00092674 7F C3 F3 78 */ mr r3, r30 +/* 80095718 00092678 7F E4 FB 78 */ mr r4, r31 +/* 8009571C 0009267C D0 3E 01 34 */ stfs f1, 0x134(r30) +/* 80095720 00092680 D0 3E 00 D4 */ stfs f1, 0xd4(r30) +/* 80095724 00092684 D0 3E 00 D8 */ stfs f1, 0xd8(r30) +/* 80095728 00092688 4B FF FF 69 */ bl SetupMiniMapWorld__11CAutoMapperFv +/* 8009572C 0009268C 48 00 01 F8 */ b lbl_80095924 +lbl_80095730: +/* 80095730 00092690 38 00 00 02 */ li r0, 2 +/* 80095734 00092694 38 61 00 08 */ addi r3, r1, 8 +/* 80095738 00092698 90 1E 03 28 */ stw r0, 0x328(r30) +/* 8009573C 0009269C 80 9E 00 A8 */ lwz r4, 0xa8(r30) +/* 80095740 000926A0 80 1E 00 AC */ lwz r0, 0xac(r30) +/* 80095744 000926A4 90 9E 01 04 */ stw r4, 0x104(r30) +/* 80095748 000926A8 90 1E 01 08 */ stw r0, 0x108(r30) +/* 8009574C 000926AC 80 9E 00 B0 */ lwz r4, 0xb0(r30) +/* 80095750 000926B0 80 1E 00 B4 */ lwz r0, 0xb4(r30) +/* 80095754 000926B4 90 9E 01 0C */ stw r4, 0x10c(r30) +/* 80095758 000926B8 90 1E 01 10 */ stw r0, 0x110(r30) +/* 8009575C 000926BC 80 9E 00 B8 */ lwz r4, 0xb8(r30) +/* 80095760 000926C0 80 1E 00 BC */ lwz r0, 0xbc(r30) +/* 80095764 000926C4 90 9E 01 14 */ stw r4, 0x114(r30) +/* 80095768 000926C8 90 1E 01 18 */ stw r0, 0x118(r30) +/* 8009576C 000926CC C0 1E 00 C0 */ lfs f0, 0xc0(r30) +/* 80095770 000926D0 D0 1E 01 1C */ stfs f0, 0x11c(r30) +/* 80095774 000926D4 C0 1E 00 C4 */ lfs f0, 0xc4(r30) +/* 80095778 000926D8 D0 1E 01 20 */ stfs f0, 0x120(r30) +/* 8009577C 000926DC 80 9E 00 C8 */ lwz r4, 0xc8(r30) +/* 80095780 000926E0 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 80095784 000926E4 90 9E 01 24 */ stw r4, 0x124(r30) +/* 80095788 000926E8 90 1E 01 28 */ stw r0, 0x128(r30) +/* 8009578C 000926EC 80 1E 00 D0 */ lwz r0, 0xd0(r30) +/* 80095790 000926F0 90 1E 01 2C */ stw r0, 0x12c(r30) +/* 80095794 000926F4 C0 1E 00 D4 */ lfs f0, 0xd4(r30) +/* 80095798 000926F8 D0 1E 01 30 */ stfs f0, 0x130(r30) +/* 8009579C 000926FC C0 1E 00 D8 */ lfs f0, 0xd8(r30) +/* 800957A0 00092700 D0 1E 01 34 */ stfs f0, 0x134(r30) +/* 800957A4 00092704 C0 1E 00 DC */ lfs f0, 0xdc(r30) +/* 800957A8 00092708 D0 1E 01 38 */ stfs f0, 0x138(r30) +/* 800957AC 0009270C C0 1E 00 E0 */ lfs f0, 0xe0(r30) +/* 800957B0 00092710 D0 1E 01 3C */ stfs f0, 0x13c(r30) +/* 800957B4 00092714 C0 1E 00 E4 */ lfs f0, 0xe4(r30) +/* 800957B8 00092718 D0 1E 01 40 */ stfs f0, 0x140(r30) +/* 800957BC 0009271C C0 1E 00 E8 */ lfs f0, 0xe8(r30) +/* 800957C0 00092720 D0 1E 01 44 */ stfs f0, 0x144(r30) +/* 800957C4 00092724 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800957C8 00092728 90 1E 01 48 */ stw r0, 0x148(r30) +/* 800957CC 0009272C 80 1E 00 F0 */ lwz r0, 0xf0(r30) +/* 800957D0 00092730 90 1E 01 4C */ stw r0, 0x14c(r30) +/* 800957D4 00092734 80 1E 00 F4 */ lwz r0, 0xf4(r30) +/* 800957D8 00092738 90 1E 01 50 */ stw r0, 0x150(r30) +/* 800957DC 0009273C 80 1E 00 F8 */ lwz r0, 0xf8(r30) +/* 800957E0 00092740 90 1E 01 54 */ stw r0, 0x154(r30) +/* 800957E4 00092744 80 1E 00 FC */ lwz r0, 0xfc(r30) +/* 800957E8 00092748 90 1E 01 58 */ stw r0, 0x158(r30) +/* 800957EC 0009274C 80 1E 01 00 */ lwz r0, 0x100(r30) +/* 800957F0 00092750 90 1E 01 5C */ stw r0, 0x15c(r30) +/* 800957F4 00092754 80 9E 01 04 */ lwz r4, 0x104(r30) +/* 800957F8 00092758 80 1E 01 08 */ lwz r0, 0x108(r30) +/* 800957FC 0009275C 90 9E 01 60 */ stw r4, 0x160(r30) +/* 80095800 00092760 90 1E 01 64 */ stw r0, 0x164(r30) +/* 80095804 00092764 80 9E 01 0C */ lwz r4, 0x10c(r30) +/* 80095808 00092768 80 1E 01 10 */ lwz r0, 0x110(r30) +/* 8009580C 0009276C 90 9E 01 68 */ stw r4, 0x168(r30) +/* 80095810 00092770 90 1E 01 6C */ stw r0, 0x16c(r30) +/* 80095814 00092774 80 9E 01 14 */ lwz r4, 0x114(r30) +/* 80095818 00092778 80 1E 01 18 */ lwz r0, 0x118(r30) +/* 8009581C 0009277C 90 9E 01 70 */ stw r4, 0x170(r30) +/* 80095820 00092780 90 1E 01 74 */ stw r0, 0x174(r30) +/* 80095824 00092784 C0 1E 01 1C */ lfs f0, 0x11c(r30) +/* 80095828 00092788 D0 1E 01 78 */ stfs f0, 0x178(r30) +/* 8009582C 0009278C C0 1E 01 20 */ lfs f0, 0x120(r30) +/* 80095830 00092790 D0 1E 01 7C */ stfs f0, 0x17c(r30) +/* 80095834 00092794 80 9E 01 24 */ lwz r4, 0x124(r30) +/* 80095838 00092798 80 1E 01 28 */ lwz r0, 0x128(r30) +/* 8009583C 0009279C 90 9E 01 80 */ stw r4, 0x180(r30) +/* 80095840 000927A0 90 1E 01 84 */ stw r0, 0x184(r30) +/* 80095844 000927A4 80 1E 01 2C */ lwz r0, 0x12c(r30) +/* 80095848 000927A8 90 1E 01 88 */ stw r0, 0x188(r30) +/* 8009584C 000927AC C0 1E 01 30 */ lfs f0, 0x130(r30) +/* 80095850 000927B0 D0 1E 01 8C */ stfs f0, 0x18c(r30) +/* 80095854 000927B4 C0 1E 01 34 */ lfs f0, 0x134(r30) +/* 80095858 000927B8 D0 1E 01 90 */ stfs f0, 0x190(r30) +/* 8009585C 000927BC C0 1E 01 38 */ lfs f0, 0x138(r30) +/* 80095860 000927C0 D0 1E 01 94 */ stfs f0, 0x194(r30) +/* 80095864 000927C4 C0 1E 01 3C */ lfs f0, 0x13c(r30) +/* 80095868 000927C8 D0 1E 01 98 */ stfs f0, 0x198(r30) +/* 8009586C 000927CC C0 1E 01 40 */ lfs f0, 0x140(r30) +/* 80095870 000927D0 D0 1E 01 9C */ stfs f0, 0x19c(r30) +/* 80095874 000927D4 C0 1E 01 44 */ lfs f0, 0x144(r30) +/* 80095878 000927D8 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) +/* 8009587C 000927DC 80 1E 01 48 */ lwz r0, 0x148(r30) +/* 80095880 000927E0 90 1E 01 A4 */ stw r0, 0x1a4(r30) +/* 80095884 000927E4 80 1E 01 4C */ lwz r0, 0x14c(r30) +/* 80095888 000927E8 90 1E 01 A8 */ stw r0, 0x1a8(r30) +/* 8009588C 000927EC 80 1E 01 50 */ lwz r0, 0x150(r30) +/* 80095890 000927F0 90 1E 01 AC */ stw r0, 0x1ac(r30) +/* 80095894 000927F4 80 1E 01 54 */ lwz r0, 0x154(r30) +/* 80095898 000927F8 90 1E 01 B0 */ stw r0, 0x1b0(r30) +/* 8009589C 000927FC 80 1E 01 58 */ lwz r0, 0x158(r30) +/* 800958A0 00092800 90 1E 01 B4 */ stw r0, 0x1b4(r30) +/* 800958A4 00092804 80 1E 01 5C */ lwz r0, 0x15c(r30) +/* 800958A8 00092808 90 1E 01 B8 */ stw r0, 0x1b8(r30) +/* 800958AC 0009280C 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 800958B0 00092810 81 84 00 00 */ lwz r12, 0(r4) +/* 800958B4 00092814 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800958B8 00092818 7D 89 03 A6 */ mtctr r12 +/* 800958BC 0009281C 4E 80 04 21 */ bctrl +/* 800958C0 00092820 80 01 00 08 */ lwz r0, 8(r1) +/* 800958C4 00092824 7F C4 F3 78 */ mr r4, r30 +/* 800958C8 00092828 7F E5 FB 78 */ mr r5, r31 +/* 800958CC 0009282C 38 61 00 0C */ addi r3, r1, 0xc +/* 800958D0 00092830 90 1E 00 A0 */ stw r0, 0xa0(r30) +/* 800958D4 00092834 80 DE 00 A0 */ lwz r6, 0xa0(r30) +/* 800958D8 00092838 48 00 10 81 */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri +/* 800958DC 0009283C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800958E0 00092840 38 00 00 01 */ li r0, 1 +/* 800958E4 00092844 D0 1E 01 24 */ stfs f0, 0x124(r30) +/* 800958E8 00092848 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800958EC 0009284C D0 1E 01 28 */ stfs f0, 0x128(r30) +/* 800958F0 00092850 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800958F4 00092854 D0 1E 01 2C */ stfs f0, 0x12c(r30) +/* 800958F8 00092858 90 1E 01 50 */ stw r0, 0x150(r30) +/* 800958FC 0009285C 48 00 09 B9 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +/* 80095900 00092860 D0 3E 01 30 */ stfs f1, 0x130(r30) +/* 80095904 00092864 48 00 09 B1 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +/* 80095908 00092868 D0 3E 01 34 */ stfs f1, 0x134(r30) +/* 8009590C 0009286C 38 00 00 01 */ li r0, 1 +/* 80095910 00092870 C0 22 8B 6C */ lfs f1, lbl_805AA88C@sda21(r2) +/* 80095914 00092874 7F C3 F3 78 */ mr r3, r30 +/* 80095918 00092878 90 1E 01 54 */ stw r0, 0x154(r30) +/* 8009591C 0009287C 90 1E 01 58 */ stw r0, 0x158(r30) +/* 80095920 00092880 48 00 18 59 */ bl ResetInterpolationTimer__11CAutoMapperFf +lbl_80095924: +/* 80095924 00092884 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80095928 00092888 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009592C 0009288C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80095930 00092890 7C 08 03 A6 */ mtlr r0 +/* 80095934 00092894 38 21 00 20 */ addi r1, r1, 0x20 +/* 80095938 00092898 4E 80 00 20 */ blr + +.global SetCurWorldAssetId__11CAutoMapperFi +SetCurWorldAssetId__11CAutoMapperFi: +/* 8009593C 0009289C 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 80095940 000928A0 39 00 00 00 */ li r8, 0 +/* 80095944 000928A4 38 C0 00 00 */ li r6, 0 +/* 80095948 000928A8 80 07 00 14 */ lwz r0, 0x14(r7) +/* 8009594C 000928AC 7C 09 03 A6 */ mtctr r0 +/* 80095950 000928B0 2C 00 00 00 */ cmpwi r0, 0 +/* 80095954 000928B4 4C 81 00 20 */ blelr +lbl_80095958: +/* 80095958 000928B8 80 A7 00 1C */ lwz r5, 0x1c(r7) +/* 8009595C 000928BC 38 06 00 10 */ addi r0, r6, 0x10 +/* 80095960 000928C0 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80095964 000928C4 7C 04 00 40 */ cmplw r4, r0 +/* 80095968 000928C8 40 82 00 0C */ bne lbl_80095974 +/* 8009596C 000928CC 91 03 00 9C */ stw r8, 0x9c(r3) +/* 80095970 000928D0 4E 80 00 20 */ blr +lbl_80095974: +/* 80095974 000928D4 38 C6 00 70 */ addi r6, r6, 0x70 +/* 80095978 000928D8 39 08 00 01 */ addi r8, r8, 1 +/* 8009597C 000928DC 42 00 FF DC */ bdnz lbl_80095958 + +.global sub_80095980 +sub_80095980: +/* 80095980 000928E0 4E 80 00 20 */ blr + +.global TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState +TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState: +/* 80095984 000928E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80095988 000928E8 7C 08 02 A6 */ mflr r0 +/* 8009598C 000928EC 7C 65 1B 78 */ mr r5, r3 +/* 80095990 000928F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80095994 000928F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80095998 000928F8 7C 9F 23 78 */ mr r31, r4 +/* 8009599C 000928FC 80 03 00 9C */ lwz r0, 0x9c(r3) +/* 800959A0 00092900 38 61 00 08 */ addi r3, r1, 8 +/* 800959A4 00092904 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 800959A8 00092908 38 A5 01 24 */ addi r5, r5, 0x124 +/* 800959AC 0009290C 1C 80 00 70 */ mulli r4, r0, 0x70 +/* 800959B0 00092910 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 800959B4 00092914 38 84 00 14 */ addi r4, r4, 0x14 +/* 800959B8 00092918 7C 80 22 14 */ add r4, r0, r4 +/* 800959BC 0009291C 48 27 D1 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800959C0 00092920 C0 01 00 08 */ lfs f0, 8(r1) +/* 800959C4 00092924 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 800959C8 00092928 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800959CC 0009292C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 800959D0 00092930 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800959D4 00092934 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 800959D8 00092938 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800959DC 0009293C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800959E0 00092940 7C 08 03 A6 */ mtlr r0 +/* 800959E4 00092944 38 21 00 20 */ addi r1, r1, 0x20 +/* 800959E8 00092948 4E 80 00 20 */ blr + +.global TransformRenderStatesUniverseToWorld__11CAutoMapperFv +TransformRenderStatesUniverseToWorld__11CAutoMapperFv: +/* 800959EC 0009294C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800959F0 00092950 7C 08 02 A6 */ mflr r0 +/* 800959F4 00092954 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800959F8 00092958 93 E1 00 EC */ stw r31, 0xec(r1) +/* 800959FC 0009295C 7C 7F 1B 78 */ mr r31, r3 +/* 80095A00 00092960 38 61 00 7C */ addi r3, r1, 0x7c +/* 80095A04 00092964 80 1F 00 9C */ lwz r0, 0x9c(r31) +/* 80095A08 00092968 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 80095A0C 0009296C 1C 80 00 70 */ mulli r4, r0, 0x70 +/* 80095A10 00092970 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 80095A14 00092974 38 84 00 14 */ addi r4, r4, 0x14 +/* 80095A18 00092978 7C 80 22 14 */ add r4, r0, r4 +/* 80095A1C 0009297C 48 27 D2 81 */ bl GetQuickInverse__12CTransform4fCFv +/* 80095A20 00092980 38 61 00 AC */ addi r3, r1, 0xac +/* 80095A24 00092984 38 81 00 7C */ addi r4, r1, 0x7c +/* 80095A28 00092988 48 27 D1 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80095A2C 0009298C 38 61 00 5C */ addi r3, r1, 0x5c +/* 80095A30 00092990 38 81 00 AC */ addi r4, r1, 0xac +/* 80095A34 00092994 48 27 C6 F5 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80095A38 00092998 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 80095A3C 0009299C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80095A40 000929A0 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 80095A44 000929A4 38 9F 01 68 */ addi r4, r31, 0x168 +/* 80095A48 000929A8 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 80095A4C 000929AC 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80095A50 000929B0 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80095A54 000929B4 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 80095A58 000929B8 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80095A5C 000929BC D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80095A60 000929C0 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80095A64 000929C4 48 27 B7 3D */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80095A68 000929C8 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80095A6C 000929CC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80095A70 000929D0 38 81 00 AC */ addi r4, r1, 0xac +/* 80095A74 000929D4 38 BF 01 80 */ addi r5, r31, 0x180 +/* 80095A78 000929D8 D0 1F 01 68 */ stfs f0, 0x168(r31) +/* 80095A7C 000929DC 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 80095A80 000929E0 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80095A84 000929E4 90 DF 01 6C */ stw r6, 0x16c(r31) +/* 80095A88 000929E8 90 1F 01 70 */ stw r0, 0x170(r31) +/* 80095A8C 000929EC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80095A90 000929F0 90 1F 01 74 */ stw r0, 0x174(r31) +/* 80095A94 000929F4 48 27 D0 55 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80095A98 000929F8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80095A9C 000929FC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80095AA0 00092A00 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 80095AA4 00092A04 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80095AA8 00092A08 D0 1F 01 80 */ stfs f0, 0x180(r31) +/* 80095AAC 00092A0C C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80095AB0 00092A10 D0 1F 01 84 */ stfs f0, 0x184(r31) +/* 80095AB4 00092A14 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80095AB8 00092A18 D0 1F 01 88 */ stfs f0, 0x188(r31) +/* 80095ABC 00092A1C 48 27 B6 E5 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80095AC0 00092A20 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80095AC4 00092A24 38 61 00 44 */ addi r3, r1, 0x44 +/* 80095AC8 00092A28 38 81 00 AC */ addi r4, r1, 0xac +/* 80095ACC 00092A2C 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 80095AD0 00092A30 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 80095AD4 00092A34 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80095AD8 00092A38 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80095ADC 00092A3C 90 DF 00 B4 */ stw r6, 0xb4(r31) +/* 80095AE0 00092A40 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 80095AE4 00092A44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80095AE8 00092A48 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 80095AEC 00092A4C 48 27 CF FD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80095AF0 00092A50 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80095AF4 00092A54 38 61 00 08 */ addi r3, r1, 8 +/* 80095AF8 00092A58 38 9F 01 0C */ addi r4, r31, 0x10c +/* 80095AFC 00092A5C 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80095B00 00092A60 D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 80095B04 00092A64 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80095B08 00092A68 D0 1F 00 CC */ stfs f0, 0xcc(r31) +/* 80095B0C 00092A6C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80095B10 00092A70 D0 1F 00 D0 */ stfs f0, 0xd0(r31) +/* 80095B14 00092A74 48 27 B6 8D */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80095B18 00092A78 C0 01 00 08 */ lfs f0, 8(r1) +/* 80095B1C 00092A7C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80095B20 00092A80 38 81 00 AC */ addi r4, r1, 0xac +/* 80095B24 00092A84 38 BF 01 24 */ addi r5, r31, 0x124 +/* 80095B28 00092A88 D0 1F 01 0C */ stfs f0, 0x10c(r31) +/* 80095B2C 00092A8C 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 80095B30 00092A90 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80095B34 00092A94 90 DF 01 10 */ stw r6, 0x110(r31) +/* 80095B38 00092A98 90 1F 01 14 */ stw r0, 0x114(r31) +/* 80095B3C 00092A9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80095B40 00092AA0 90 1F 01 18 */ stw r0, 0x118(r31) +/* 80095B44 00092AA4 48 27 CF A5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80095B48 00092AA8 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80095B4C 00092AAC D0 1F 01 24 */ stfs f0, 0x124(r31) +/* 80095B50 00092AB0 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80095B54 00092AB4 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 80095B58 00092AB8 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80095B5C 00092ABC D0 1F 01 2C */ stfs f0, 0x12c(r31) +/* 80095B60 00092AC0 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 80095B64 00092AC4 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80095B68 00092AC8 7C 08 03 A6 */ mtlr r0 +/* 80095B6C 00092ACC 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80095B70 00092AD0 4E 80 00 20 */ blr + +.global TransformRenderStatesWorldToUniverse__11CAutoMapperFv +TransformRenderStatesWorldToUniverse__11CAutoMapperFv: +/* 80095B74 00092AD4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80095B78 00092AD8 7C 08 02 A6 */ mflr r0 +/* 80095B7C 00092ADC 90 01 00 94 */ stw r0, 0x94(r1) +/* 80095B80 00092AE0 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80095B84 00092AE4 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80095B88 00092AE8 7C 7E 1B 78 */ mr r30, r3 +/* 80095B8C 00092AEC 38 61 00 5C */ addi r3, r1, 0x5c +/* 80095B90 00092AF0 80 1E 00 9C */ lwz r0, 0x9c(r30) +/* 80095B94 00092AF4 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 80095B98 00092AF8 1C 80 00 70 */ mulli r4, r0, 0x70 +/* 80095B9C 00092AFC 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 80095BA0 00092B00 3B E4 00 14 */ addi r31, r4, 0x14 +/* 80095BA4 00092B04 7F E0 FA 14 */ add r31, r0, r31 +/* 80095BA8 00092B08 7F E4 FB 78 */ mr r4, r31 +/* 80095BAC 00092B0C 48 27 C5 7D */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80095BB0 00092B10 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 80095BB4 00092B14 38 61 00 28 */ addi r3, r1, 0x28 +/* 80095BB8 00092B18 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 80095BBC 00092B1C 38 9E 01 68 */ addi r4, r30, 0x168 +/* 80095BC0 00092B20 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 80095BC4 00092B24 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80095BC8 00092B28 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80095BCC 00092B2C D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 80095BD0 00092B30 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80095BD4 00092B34 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80095BD8 00092B38 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80095BDC 00092B3C 48 27 B5 C5 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80095BE0 00092B40 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80095BE4 00092B44 7F E4 FB 78 */ mr r4, r31 +/* 80095BE8 00092B48 38 61 00 50 */ addi r3, r1, 0x50 +/* 80095BEC 00092B4C 38 BE 01 80 */ addi r5, r30, 0x180 +/* 80095BF0 00092B50 D0 1E 01 68 */ stfs f0, 0x168(r30) +/* 80095BF4 00092B54 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 80095BF8 00092B58 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80095BFC 00092B5C 90 DE 01 6C */ stw r6, 0x16c(r30) +/* 80095C00 00092B60 90 1E 01 70 */ stw r0, 0x170(r30) +/* 80095C04 00092B64 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80095C08 00092B68 90 1E 01 74 */ stw r0, 0x174(r30) +/* 80095C0C 00092B6C 48 27 CE DD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80095C10 00092B70 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80095C14 00092B74 38 61 00 18 */ addi r3, r1, 0x18 +/* 80095C18 00092B78 38 9E 00 B0 */ addi r4, r30, 0xb0 +/* 80095C1C 00092B7C 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80095C20 00092B80 D0 1E 01 80 */ stfs f0, 0x180(r30) +/* 80095C24 00092B84 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80095C28 00092B88 D0 1E 01 84 */ stfs f0, 0x184(r30) +/* 80095C2C 00092B8C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80095C30 00092B90 D0 1E 01 88 */ stfs f0, 0x188(r30) +/* 80095C34 00092B94 48 27 B5 6D */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80095C38 00092B98 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80095C3C 00092B9C 7F E4 FB 78 */ mr r4, r31 +/* 80095C40 00092BA0 38 61 00 44 */ addi r3, r1, 0x44 +/* 80095C44 00092BA4 38 BE 00 C8 */ addi r5, r30, 0xc8 +/* 80095C48 00092BA8 D0 1E 00 B0 */ stfs f0, 0xb0(r30) +/* 80095C4C 00092BAC 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80095C50 00092BB0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80095C54 00092BB4 90 DE 00 B4 */ stw r6, 0xb4(r30) +/* 80095C58 00092BB8 90 1E 00 B8 */ stw r0, 0xb8(r30) +/* 80095C5C 00092BBC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80095C60 00092BC0 90 1E 00 BC */ stw r0, 0xbc(r30) +/* 80095C64 00092BC4 48 27 CE 85 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80095C68 00092BC8 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80095C6C 00092BCC 38 61 00 08 */ addi r3, r1, 8 +/* 80095C70 00092BD0 38 9E 01 0C */ addi r4, r30, 0x10c +/* 80095C74 00092BD4 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80095C78 00092BD8 D0 1E 00 C8 */ stfs f0, 0xc8(r30) +/* 80095C7C 00092BDC C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80095C80 00092BE0 D0 1E 00 CC */ stfs f0, 0xcc(r30) +/* 80095C84 00092BE4 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80095C88 00092BE8 D0 1E 00 D0 */ stfs f0, 0xd0(r30) +/* 80095C8C 00092BEC 48 27 B5 15 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80095C90 00092BF0 C0 01 00 08 */ lfs f0, 8(r1) +/* 80095C94 00092BF4 7F E4 FB 78 */ mr r4, r31 +/* 80095C98 00092BF8 38 61 00 38 */ addi r3, r1, 0x38 +/* 80095C9C 00092BFC 38 BE 01 24 */ addi r5, r30, 0x124 +/* 80095CA0 00092C00 D0 1E 01 0C */ stfs f0, 0x10c(r30) +/* 80095CA4 00092C04 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 80095CA8 00092C08 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80095CAC 00092C0C 90 DE 01 10 */ stw r6, 0x110(r30) +/* 80095CB0 00092C10 90 1E 01 14 */ stw r0, 0x114(r30) +/* 80095CB4 00092C14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80095CB8 00092C18 90 1E 01 18 */ stw r0, 0x118(r30) +/* 80095CBC 00092C1C 48 27 CE 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80095CC0 00092C20 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80095CC4 00092C24 D0 1E 01 24 */ stfs f0, 0x124(r30) +/* 80095CC8 00092C28 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80095CCC 00092C2C D0 1E 01 28 */ stfs f0, 0x128(r30) +/* 80095CD0 00092C30 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80095CD4 00092C34 D0 1E 01 2C */ stfs f0, 0x12c(r30) +/* 80095CD8 00092C38 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80095CDC 00092C3C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80095CE0 00092C40 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80095CE4 00092C44 7C 08 03 A6 */ mtlr r0 +/* 80095CE8 00092C48 38 21 00 90 */ addi r1, r1, 0x90 +/* 80095CEC 00092C4C 4E 80 00 20 */ blr + +.global IsRenderStateInterpolating__11CAutoMapperCFv +IsRenderStateInterpolating__11CAutoMapperCFv: +/* 80095CF0 00092C50 C0 23 01 C8 */ lfs f1, 0x1c8(r3) +/* 80095CF4 00092C54 C0 03 01 C4 */ lfs f0, 0x1c4(r3) +/* 80095CF8 00092C58 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095CFC 00092C5C 7C 00 00 26 */ mfcr r0 +/* 80095D00 00092C60 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80095D04 00092C64 4E 80 00 20 */ blr + +.global IsInMapperStateTransition__11CAutoMapperCFv +IsInMapperStateTransition__11CAutoMapperCFv: +/* 80095D08 00092C68 80 83 01 BC */ lwz r4, 0x1bc(r3) +/* 80095D0C 00092C6C 80 03 01 C0 */ lwz r0, 0x1c0(r3) +/* 80095D10 00092C70 7C 64 00 50 */ subf r3, r4, r0 +/* 80095D14 00092C74 7C 00 20 50 */ subf r0, r0, r4 +/* 80095D18 00092C78 7C 60 03 78 */ or r0, r3, r0 +/* 80095D1C 00092C7C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80095D20 00092C80 4E 80 00 20 */ blr + +.global IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState: +/* 80095D24 00092C84 80 03 01 BC */ lwz r0, 0x1bc(r3) +/* 80095D28 00092C88 38 A0 00 00 */ li r5, 0 +/* 80095D2C 00092C8C 7C 04 00 00 */ cmpw r4, r0 +/* 80095D30 00092C90 40 82 00 14 */ bne lbl_80095D44 +/* 80095D34 00092C94 80 03 01 C0 */ lwz r0, 0x1c0(r3) +/* 80095D38 00092C98 7C 04 00 00 */ cmpw r4, r0 +/* 80095D3C 00092C9C 40 82 00 08 */ bne lbl_80095D44 +/* 80095D40 00092CA0 38 A0 00 01 */ li r5, 1 +lbl_80095D44: +/* 80095D44 00092CA4 7C A3 2B 78 */ mr r3, r5 +/* 80095D48 00092CA8 4E 80 00 20 */ blr + +.global GetFinalMapScreenCameraMoveSpeed__11CAutoMapperCFv +GetFinalMapScreenCameraMoveSpeed__11CAutoMapperCFv: +/* 80095D4C 00092CAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80095D50 00092CB0 7C 08 02 A6 */ mflr r0 +/* 80095D54 00092CB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80095D58 00092CB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80095D5C 00092CBC 7C 7F 1B 78 */ mr r31, r3 +/* 80095D60 00092CC0 48 00 00 39 */ bl GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv +/* 80095D64 00092CC4 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 80095D68 00092CC8 88 03 00 04 */ lbz r0, 4(r3) +/* 80095D6C 00092CCC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80095D70 00092CD0 41 82 00 14 */ beq lbl_80095D84 +/* 80095D74 00092CD4 C0 5F 00 C0 */ lfs f2, 0xc0(r31) +/* 80095D78 00092CD8 C0 03 00 08 */ lfs f0, 8(r3) +/* 80095D7C 00092CDC EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80095D80 00092CE0 EC 21 00 24 */ fdivs f1, f1, f0 +lbl_80095D84: +/* 80095D84 00092CE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80095D88 00092CE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80095D8C 00092CEC 7C 08 03 A6 */ mtlr r0 +/* 80095D90 00092CF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80095D94 00092CF4 4E 80 00 20 */ blr + +.global GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv +GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv: +/* 80095D98 00092CF8 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 80095D9C 00092CFC C0 23 00 78 */ lfs f1, 0x78(r3) +/* 80095DA0 00092D00 4E 80 00 20 */ blr + +.global GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager +GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager: +/* 80095DA4 00092D04 94 21 FE 90 */ stwu r1, -0x170(r1) +/* 80095DA8 00092D08 7C 08 02 A6 */ mflr r0 +/* 80095DAC 00092D0C 90 01 01 74 */ stw r0, 0x174(r1) +/* 80095DB0 00092D10 DB E1 01 60 */ stfd f31, 0x160(r1) +/* 80095DB4 00092D14 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 +/* 80095DB8 00092D18 DB C1 01 50 */ stfd f30, 0x150(r1) +/* 80095DBC 00092D1C F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0 +/* 80095DC0 00092D20 DB A1 01 40 */ stfd f29, 0x140(r1) +/* 80095DC4 00092D24 F3 A1 01 48 */ psq_st f29, 328(r1), 0, qr0 +/* 80095DC8 00092D28 BE A1 01 14 */ stmw r21, 0x114(r1) +/* 80095DCC 00092D2C 7C 7D 1B 78 */ mr r29, r3 +/* 80095DD0 00092D30 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80095DD4 00092D34 81 83 00 00 */ lwz r12, 0(r3) +/* 80095DD8 00092D38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80095DDC 00092D3C 7D 89 03 A6 */ mtctr r12 +/* 80095DE0 00092D40 4E 80 04 21 */ bctrl +/* 80095DE4 00092D44 7C 64 1B 78 */ mr r4, r3 +/* 80095DE8 00092D48 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80095DEC 00092D4C 48 13 DB ED */ bl StateForWorld__10CGameStateFUi +/* 80095DF0 00092D50 7C 64 1B 78 */ mr r4, r3 +/* 80095DF4 00092D54 38 61 00 3C */ addi r3, r1, 0x3c +/* 80095DF8 00092D58 48 13 EF 6D */ bl GetMapWorldInfo__11CWorldStateCFv +/* 80095DFC 00092D5C 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80095E00 00092D60 38 61 00 3C */ addi r3, r1, 0x3c +/* 80095E04 00092D64 83 E4 00 00 */ lwz r31, 0(r4) +/* 80095E08 00092D68 4B F7 2E 35 */ bl sub_80008c3c +/* 80095E0C 00092D6C 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 80095E10 00092D70 81 83 00 00 */ lwz r12, 0(r3) +/* 80095E14 00092D74 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80095E18 00092D78 7D 89 03 A6 */ mtctr r12 +/* 80095E1C 00092D7C 4E 80 04 21 */ bctrl +/* 80095E20 00092D80 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 80095E24 00092D84 80 1D 00 A0 */ lwz r0, 0xa0(r29) +/* 80095E28 00092D88 38 A4 67 54 */ addi r5, r4, lbl_805A6754@l +/* 80095E2C 00092D8C 7C 7E 1B 78 */ mr r30, r3 +/* 80095E30 00092D90 C0 A5 00 00 */ lfs f5, 0(r5) +/* 80095E34 00092D94 38 81 00 38 */ addi r4, r1, 0x38 +/* 80095E38 00092D98 C0 85 00 04 */ lfs f4, 4(r5) +/* 80095E3C 00092D9C C0 65 00 08 */ lfs f3, 8(r5) +/* 80095E40 00092DA0 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 80095E44 00092DA4 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 80095E48 00092DA8 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 80095E4C 00092DAC D0 A1 00 94 */ stfs f5, 0x94(r1) +/* 80095E50 00092DB0 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 80095E54 00092DB4 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 80095E58 00092DB8 D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 80095E5C 00092DBC D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 80095E60 00092DC0 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 80095E64 00092DC4 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80095E68 00092DC8 90 01 00 38 */ stw r0, 0x38(r1) +/* 80095E6C 00092DCC 81 83 00 00 */ lwz r12, 0(r3) +/* 80095E70 00092DD0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80095E74 00092DD4 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80095E78 00092DD8 7D 89 03 A6 */ mtctr r12 +/* 80095E7C 00092DDC 4E 80 04 21 */ bctrl +/* 80095E80 00092DE0 80 9D 00 A0 */ lwz r4, 0xa0(r29) +/* 80095E84 00092DE4 7C 77 1B 78 */ mr r23, r3 +/* 80095E88 00092DE8 7F C3 F3 78 */ mr r3, r30 +/* 80095E8C 00092DEC 48 00 B5 2D */ bl GetMapArea__9CMapWorldCFi +/* 80095E90 00092DF0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80095E94 00092DF4 7C 7B 1B 78 */ mr r27, r3 +/* 80095E98 00092DF8 3B 01 00 88 */ addi r24, r1, 0x88 +/* 80095E9C 00092DFC 3A A0 FF FF */ li r21, -1 +/* 80095EA0 00092E00 88 04 00 04 */ lbz r0, 4(r4) +/* 80095EA4 00092E04 54 16 CF FE */ rlwinm r22, r0, 0x19, 0x1f, 0x1f +/* 80095EA8 00092E08 48 00 00 C8 */ b lbl_80095F70 +lbl_80095EAC: +/* 80095EAC 00092E0C 2C 15 FF FF */ cmpwi r21, -1 +/* 80095EB0 00092E10 40 82 00 0C */ bne lbl_80095EBC +/* 80095EB4 00092E14 83 3D 00 A0 */ lwz r25, 0xa0(r29) +/* 80095EB8 00092E18 48 00 00 24 */ b lbl_80095EDC +lbl_80095EBC: +/* 80095EBC 00092E1C 7E E4 BB 78 */ mr r4, r23 +/* 80095EC0 00092E20 7E A5 AB 78 */ mr r5, r21 +/* 80095EC4 00092E24 81 97 00 00 */ lwz r12, 0(r23) +/* 80095EC8 00092E28 38 61 00 30 */ addi r3, r1, 0x30 +/* 80095ECC 00092E2C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80095ED0 00092E30 7D 89 03 A6 */ mtctr r12 +/* 80095ED4 00092E34 4E 80 04 21 */ bctrl +/* 80095ED8 00092E38 83 21 00 30 */ lwz r25, 0x30(r1) +lbl_80095EDC: +/* 80095EDC 00092E3C 7F C3 F3 78 */ mr r3, r30 +/* 80095EE0 00092E40 7F 24 CB 78 */ mr r4, r25 +/* 80095EE4 00092E44 48 00 B4 D5 */ bl GetMapArea__9CMapWorldCFi +/* 80095EE8 00092E48 93 21 00 20 */ stw r25, 0x20(r1) +/* 80095EEC 00092E4C 7C 7A 1B 78 */ mr r26, r3 +/* 80095EF0 00092E50 7F E3 FB 78 */ mr r3, r31 +/* 80095EF4 00092E54 38 81 00 24 */ addi r4, r1, 0x24 +/* 80095EF8 00092E58 93 21 00 24 */ stw r25, 0x24(r1) +/* 80095EFC 00092E5C 93 21 00 28 */ stw r25, 0x28(r1) +/* 80095F00 00092E60 93 21 00 2C */ stw r25, 0x2c(r1) +/* 80095F04 00092E64 48 0D 1E 01 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId +/* 80095F08 00092E68 7C 7C 1B 78 */ mr r28, r3 +/* 80095F0C 00092E6C 7F E3 FB 78 */ mr r3, r31 +/* 80095F10 00092E70 38 81 00 2C */ addi r4, r1, 0x2c +/* 80095F14 00092E74 48 0D 25 2D */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId +/* 80095F18 00092E78 7C 64 1B 78 */ mr r4, r3 +/* 80095F1C 00092E7C 7F 43 D3 78 */ mr r3, r26 +/* 80095F20 00092E80 7F 85 E3 78 */ mr r5, r28 +/* 80095F24 00092E84 4B FE AE 09 */ bl GetIsVisibleToAutoMapper__8CMapAreaCFbb +/* 80095F28 00092E88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80095F2C 00092E8C 41 82 00 40 */ beq lbl_80095F6C +/* 80095F30 00092E90 80 BD 00 24 */ lwz r5, 0x24(r29) +/* 80095F34 00092E94 7F 44 D3 78 */ mr r4, r26 +/* 80095F38 00092E98 7F 26 CB 78 */ mr r6, r25 +/* 80095F3C 00092E9C 38 61 00 DC */ addi r3, r1, 0xdc +/* 80095F40 00092EA0 4B FE A5 29 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 80095F44 00092EA4 38 61 00 7C */ addi r3, r1, 0x7c +/* 80095F48 00092EA8 38 9A 00 10 */ addi r4, r26, 0x10 +/* 80095F4C 00092EAC 38 A1 00 DC */ addi r5, r1, 0xdc +/* 80095F50 00092EB0 48 2A 19 AD */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 80095F54 00092EB4 38 61 00 94 */ addi r3, r1, 0x94 +/* 80095F58 00092EB8 38 81 00 7C */ addi r4, r1, 0x7c +/* 80095F5C 00092EBC 48 2A 1B AD */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80095F60 00092EC0 7F 04 C3 78 */ mr r4, r24 +/* 80095F64 00092EC4 38 61 00 94 */ addi r3, r1, 0x94 +/* 80095F68 00092EC8 48 2A 1B A1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_80095F6C: +/* 80095F6C 00092ECC 3A B5 00 01 */ addi r21, r21, 1 +lbl_80095F70: +/* 80095F70 00092ED0 28 16 00 00 */ cmplwi r22, 0 +/* 80095F74 00092ED4 41 82 00 0C */ beq lbl_80095F80 +/* 80095F78 00092ED8 38 60 00 00 */ li r3, 0 +/* 80095F7C 00092EDC 48 00 00 18 */ b lbl_80095F94 +lbl_80095F80: +/* 80095F80 00092EE0 7E E3 BB 78 */ mr r3, r23 +/* 80095F84 00092EE4 81 97 00 00 */ lwz r12, 0(r23) +/* 80095F88 00092EE8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80095F8C 00092EEC 7D 89 03 A6 */ mtctr r12 +/* 80095F90 00092EF0 4E 80 04 21 */ bctrl +lbl_80095F94: +/* 80095F94 00092EF4 7C 15 18 00 */ cmpw r21, r3 +/* 80095F98 00092EF8 41 80 FF 14 */ blt lbl_80095EAC +/* 80095F9C 00092EFC 7F 64 DB 78 */ mr r4, r27 +/* 80095FA0 00092F00 38 61 00 64 */ addi r3, r1, 0x64 +/* 80095FA4 00092F04 4B FE AD 59 */ bl GetAreaCenterPoint__8CMapAreaCFv +/* 80095FA8 00092F08 80 BD 00 24 */ lwz r5, 0x24(r29) +/* 80095FAC 00092F0C 7F 64 DB 78 */ mr r4, r27 +/* 80095FB0 00092F10 80 DD 00 A0 */ lwz r6, 0xa0(r29) +/* 80095FB4 00092F14 38 61 00 AC */ addi r3, r1, 0xac +/* 80095FB8 00092F18 4B FE A4 B1 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 80095FBC 00092F1C 38 61 00 70 */ addi r3, r1, 0x70 +/* 80095FC0 00092F20 38 81 00 AC */ addi r4, r1, 0xac +/* 80095FC4 00092F24 38 A1 00 64 */ addi r5, r1, 0x64 +/* 80095FC8 00092F28 48 27 CB 21 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80095FCC 00092F2C C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 80095FD0 00092F30 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 80095FD4 00092F34 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 80095FD8 00092F38 EC 21 18 28 */ fsubs f1, f1, f3 +/* 80095FDC 00092F3C C0 41 00 74 */ lfs f2, 0x74(r1) +/* 80095FE0 00092F40 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80095FE4 00092F44 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 80095FE8 00092F48 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80095FEC 00092F4C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80095FF0 00092F50 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80095FF4 00092F54 40 80 00 0C */ bge lbl_80096000 +/* 80095FF8 00092F58 38 61 00 18 */ addi r3, r1, 0x18 +/* 80095FFC 00092F5C 48 00 00 08 */ b lbl_80096004 +lbl_80096000: +/* 80096000 00092F60 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80096004: +/* 80096004 00092F64 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 80096008 00092F68 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 8009600C 00092F6C EC 21 10 28 */ fsubs f1, f1, f2 +/* 80096010 00092F70 C3 E3 00 00 */ lfs f31, 0(r3) +/* 80096014 00092F74 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80096018 00092F78 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8009601C 00092F7C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80096020 00092F80 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80096024 00092F84 40 80 00 0C */ bge lbl_80096030 +/* 80096028 00092F88 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009602C 00092F8C 48 00 00 08 */ b lbl_80096034 +lbl_80096030: +/* 80096030 00092F90 38 61 00 14 */ addi r3, r1, 0x14 +lbl_80096034: +/* 80096034 00092F94 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 80096038 00092F98 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 8009603C 00092F9C EC 21 18 28 */ fsubs f1, f1, f3 +/* 80096040 00092FA0 C3 C3 00 00 */ lfs f30, 0(r3) +/* 80096044 00092FA4 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80096048 00092FA8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8009604C 00092FAC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80096050 00092FB0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80096054 00092FB4 40 80 00 0C */ bge lbl_80096060 +/* 80096058 00092FB8 38 81 00 08 */ addi r4, r1, 8 +/* 8009605C 00092FBC 48 00 00 08 */ b lbl_80096064 +lbl_80096060: +/* 80096060 00092FC0 38 81 00 0C */ addi r4, r1, 0xc +lbl_80096064: +/* 80096064 00092FC4 C0 3B 00 20 */ lfs f1, 0x20(r27) +/* 80096068 00092FC8 38 61 00 58 */ addi r3, r1, 0x58 +/* 8009606C 00092FCC C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 80096070 00092FD0 C0 7B 00 24 */ lfs f3, 0x24(r27) +/* 80096074 00092FD4 C0 5B 00 18 */ lfs f2, 0x18(r27) +/* 80096078 00092FD8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8009607C 00092FDC C0 3B 00 1C */ lfs f1, 0x1c(r27) +/* 80096080 00092FE0 C0 1B 00 10 */ lfs f0, 0x10(r27) +/* 80096084 00092FE4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80096088 00092FE8 C3 A4 00 00 */ lfs f29, 0(r4) +/* 8009608C 00092FEC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80096090 00092FF0 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 80096094 00092FF4 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 80096098 00092FF8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8009609C 00092FFC D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800960A0 00093000 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 800960A4 00093004 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 800960A8 00093008 48 27 E8 11 */ bl Magnitude__9CVector3fCFv +/* 800960AC 0009300C C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) +/* 800960B0 00093010 38 61 00 40 */ addi r3, r1, 0x40 +/* 800960B4 00093014 D3 E1 00 40 */ stfs f31, 0x40(r1) +/* 800960B8 00093018 EF E0 00 72 */ fmuls f31, f0, f1 +/* 800960BC 0009301C D3 C1 00 44 */ stfs f30, 0x44(r1) +/* 800960C0 00093020 D3 A1 00 48 */ stfs f29, 0x48(r1) +/* 800960C4 00093024 48 27 E7 F5 */ bl Magnitude__9CVector3fCFv +/* 800960C8 00093028 C0 A2 8B 70 */ lfs f5, lbl_805AA890@sda21(r2) +/* 800960CC 0009302C C0 42 8B 7C */ lfs f2, lbl_805AA89C@sda21(r2) +/* 800960D0 00093030 C0 1D 00 C4 */ lfs f0, 0xc4(r29) +/* 800960D4 00093034 EC 85 00 72 */ fmuls f4, f5, f1 +/* 800960D8 00093038 C0 62 8B 78 */ lfs f3, lbl_805AA898@sda21(r2) +/* 800960DC 0009303C EC 22 00 32 */ fmuls f1, f2, f0 +/* 800960E0 00093040 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 800960E4 00093044 EF A5 27 FA */ fmadds f29, f5, f31, f4 +/* 800960E8 00093048 C0 02 8B 74 */ lfs f0, lbl_805AA894@sda21(r2) +/* 800960EC 0009304C C0 43 00 C0 */ lfs f2, 0xc0(r3) +/* 800960F0 00093050 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800960F4 00093054 EF BD 00 B2 */ fmuls f29, f29, f2 +/* 800960F8 00093058 EC 25 00 7C */ fnmsubs f1, f5, f1, f0 +/* 800960FC 0009305C 48 2F EA B9 */ bl tan +/* 80096100 00093060 FC 00 08 18 */ frsp f0, f1 +/* 80096104 00093064 EC 3D 00 32 */ fmuls f1, f29, f0 +/* 80096108 00093068 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 +/* 8009610C 0009306C CB E1 01 60 */ lfd f31, 0x160(r1) +/* 80096110 00093070 E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0 +/* 80096114 00093074 CB C1 01 50 */ lfd f30, 0x150(r1) +/* 80096118 00093078 E3 A1 01 48 */ psq_l f29, 328(r1), 0, qr0 +/* 8009611C 0009307C CB A1 01 40 */ lfd f29, 0x140(r1) +/* 80096120 00093080 BA A1 01 14 */ lmw r21, 0x114(r1) +/* 80096124 00093084 80 01 01 74 */ lwz r0, 0x174(r1) +/* 80096128 00093088 7C 08 03 A6 */ mtlr r0 +/* 8009612C 0009308C 38 21 01 70 */ addi r1, r1, 0x170 +/* 80096130 00093090 4E 80 00 20 */ blr + +.global GetClampedMapScreenCameraDistance__11CAutoMapperCFf +GetClampedMapScreenCameraDistance__11CAutoMapperCFf: +/* 80096134 00093094 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80096138 00093098 7C 08 02 A6 */ mflr r0 +/* 8009613C 0009309C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80096140 000930A0 80 03 01 BC */ lwz r0, 0x1bc(r3) +/* 80096144 000930A4 D0 21 00 08 */ stfs f1, 8(r1) +/* 80096148 000930A8 2C 00 00 02 */ cmpwi r0, 2 +/* 8009614C 000930AC 40 82 00 20 */ bne lbl_8009616C +/* 80096150 000930B0 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) +/* 80096154 000930B4 38 81 00 08 */ addi r4, r1, 8 +/* 80096158 000930B8 38 65 00 D4 */ addi r3, r5, 0xd4 +/* 8009615C 000930BC 38 A5 00 D8 */ addi r5, r5, 0xd8 +/* 80096160 000930C0 4B F7 61 55 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80096164 000930C4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80096168 000930C8 48 00 00 1C */ b lbl_80096184 +lbl_8009616C: +/* 8009616C 000930CC 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) +/* 80096170 000930D0 38 81 00 08 */ addi r4, r1, 8 +/* 80096174 000930D4 38 65 00 0C */ addi r3, r5, 0xc +/* 80096178 000930D8 38 A5 00 10 */ addi r5, r5, 0x10 +/* 8009617C 000930DC 4B F7 61 39 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80096180 000930E0 C0 23 00 00 */ lfs f1, 0(r3) +lbl_80096184: +/* 80096184 000930E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80096188 000930E8 7C 08 03 A6 */ mtlr r0 +/* 8009618C 000930EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80096190 000930F0 4E 80 00 20 */ blr + +.global GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager +GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager: +/* 80096194 000930F4 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80096198 000930F8 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 8009619C 000930FC C0 64 00 08 */ lfs f3, 8(r4) +/* 800961A0 00093100 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 800961A4 00093104 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 800961A8 00093108 EC 20 18 28 */ fsubs f1, f0, f3 +/* 800961AC 0009310C C0 03 04 94 */ lfs f0, 0x494(r3) +/* 800961B0 00093110 C0 44 00 9C */ lfs f2, 0x9c(r4) +/* 800961B4 00093114 EC 01 18 3A */ fmadds f0, f1, f0, f3 +/* 800961B8 00093118 EC 22 00 32 */ fmuls f1, f2, f0 +/* 800961BC 0009311C 4E 80 00 20 */ blr + +.global GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager +GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager: +/* 800961C0 00093120 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 800961C4 00093124 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 800961C8 00093128 C0 64 00 08 */ lfs f3, 8(r4) +/* 800961CC 0009312C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 800961D0 00093130 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 800961D4 00093134 EC 20 18 28 */ fsubs f1, f0, f3 +/* 800961D8 00093138 C0 03 04 94 */ lfs f0, 0x494(r3) +/* 800961DC 0009313C C0 44 00 94 */ lfs f2, 0x94(r4) +/* 800961E0 00093140 EC 01 18 3A */ fmadds f0, f1, f0, f3 +/* 800961E4 00093144 EC 22 00 32 */ fmuls f1, f2, f0 +/* 800961E8 00093148 4E 80 00 20 */ blr + +.global GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager +GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager: +/* 800961EC 0009314C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 800961F0 00093150 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 800961F4 00093154 C0 64 00 08 */ lfs f3, 8(r4) +/* 800961F8 00093158 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 800961FC 0009315C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80096200 00093160 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80096204 00093164 C0 03 04 94 */ lfs f0, 0x494(r3) +/* 80096208 00093168 C0 44 00 8C */ lfs f2, 0x8c(r4) +/* 8009620C 0009316C EC 01 18 3A */ fmadds f0, f1, f0, f3 +/* 80096210 00093170 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80096214 00093174 4E 80 00 20 */ blr + +.global GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager +GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager: +/* 80096218 00093178 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 8009621C 0009317C 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 80096220 00093180 C0 64 00 08 */ lfs f3, 8(r4) +/* 80096224 00093184 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80096228 00093188 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009622C 0009318C EC 20 18 28 */ fsubs f1, f0, f3 +/* 80096230 00093190 C0 03 04 94 */ lfs f0, 0x494(r3) +/* 80096234 00093194 C0 44 00 84 */ lfs f2, 0x84(r4) +/* 80096238 00093198 EC 01 18 3A */ fmadds f0, f1, f0, f3 +/* 8009623C 0009319C EC 22 00 32 */ fmuls f1, f2, f0 +/* 80096240 000931A0 4E 80 00 20 */ blr + +.global GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri +GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri: +/* 80096244 000931A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80096248 000931A8 7C 08 02 A6 */ mflr r0 +/* 8009624C 000931AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80096250 000931B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80096254 000931B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80096258 000931B8 7C BE 2B 78 */ mr r30, r5 +/* 8009625C 000931BC 83 E3 00 24 */ lwz r31, 0x24(r3) +/* 80096260 000931C0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80096264 000931C4 7F E3 FB 78 */ mr r3, r31 +/* 80096268 000931C8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8009626C 000931CC 7D 89 03 A6 */ mtctr r12 +/* 80096270 000931D0 4E 80 04 21 */ bctrl +/* 80096274 000931D4 7F E4 FB 78 */ mr r4, r31 +/* 80096278 000931D8 7F C5 F3 78 */ mr r5, r30 +/* 8009627C 000931DC 48 00 AD 85 */ bl GetCurrentMapAreaDepth__9CMapWorldCFRC6IWorldi +/* 80096280 000931E0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80096284 000931E4 3C 00 43 30 */ lis r0, 0x4330 +/* 80096288 000931E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8009628C 000931EC C8 22 8B 88 */ lfd f1, lbl_805AA8A8@sda21(r2) +/* 80096290 000931F0 90 01 00 08 */ stw r0, 8(r1) +/* 80096294 000931F4 C8 01 00 08 */ lfd f0, 8(r1) +/* 80096298 000931F8 EC 20 08 28 */ fsubs f1, f0, f1 +/* 8009629C 000931FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800962A0 00093200 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800962A4 00093204 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800962A8 00093208 7C 08 03 A6 */ mtlr r0 +/* 800962AC 0009320C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800962B0 00093210 4E 80 00 20 */ blr + +.global GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +GetMapAreaMiniMapDrawDepth__11CAutoMapperFv: +/* 800962B4 00093214 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) +/* 800962B8 00093218 4E 80 00 20 */ blr + +.global GetMapScreenViewportSize__11CAutoMapperFv +GetMapScreenViewportSize__11CAutoMapperFv: +/* 800962BC 0009321C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800962C0 00093220 7C 08 02 A6 */ mflr r0 +/* 800962C4 00093224 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 800962C8 00093228 90 01 00 14 */ stw r0, 0x14(r1) +/* 800962CC 0009322C 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l +/* 800962D0 00093230 80 85 00 08 */ lwz r4, 8(r5) +/* 800962D4 00093234 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 800962D8 00093238 48 27 E0 75 */ bl __ct__9CVector2iFii +/* 800962DC 0009323C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800962E0 00093240 7C 08 03 A6 */ mtlr r0 +/* 800962E4 00093244 38 21 00 10 */ addi r1, r1, 0x10 +/* 800962E8 00093248 4E 80 00 20 */ blr + +.global GetMiniMapViewportSize__11CAutoMapperFv +GetMiniMapViewportSize__11CAutoMapperFv: +/* 800962EC 0009324C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800962F0 00093250 7C 08 02 A6 */ mflr r0 +/* 800962F4 00093254 3C 80 43 30 */ lis r4, 0x4330 +/* 800962F8 00093258 3C A0 80 3F */ lis r5, lbl_803ED910@ha +/* 800962FC 0009325C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80096300 00093260 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l +/* 80096304 00093264 C8 A2 8B 88 */ lfd f5, lbl_805AA8A8@sda21(r2) +/* 80096308 00093268 80 A6 00 08 */ lwz r5, 8(r6) +/* 8009630C 0009326C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 80096310 00093270 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 80096314 00093274 80 ED A1 44 */ lwz r7, gpTweakAutoMapper@sda21(r13) +/* 80096318 00093278 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8009631C 0009327C 90 81 00 08 */ stw r4, 8(r1) +/* 80096320 00093280 C0 02 8B 94 */ lfs f0, lbl_805AA8B4@sda21(r2) +/* 80096324 00093284 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80096328 00093288 C0 67 00 B8 */ lfs f3, 0xb8(r7) +/* 8009632C 0009328C C8 21 00 08 */ lfd f1, 8(r1) +/* 80096330 00093290 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80096334 00093294 EC 81 28 28 */ fsubs f4, f1, f5 +/* 80096338 00093298 C0 22 8B 98 */ lfs f1, lbl_805AA8B8@sda21(r2) +/* 8009633C 0009329C 90 81 00 18 */ stw r4, 0x18(r1) +/* 80096340 000932A0 EC 84 00 24 */ fdivs f4, f4, f0 +/* 80096344 000932A4 C8 41 00 18 */ lfd f2, 0x18(r1) +/* 80096348 000932A8 C0 07 00 BC */ lfs f0, 0xbc(r7) +/* 8009634C 000932AC EC 42 28 28 */ fsubs f2, f2, f5 +/* 80096350 000932B0 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80096354 000932B4 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80096358 000932B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8009635C 000932BC FC 20 18 1E */ fctiwz f1, f3 +/* 80096360 000932C0 FC 00 00 1E */ fctiwz f0, f0 +/* 80096364 000932C4 D8 21 00 10 */ stfd f1, 0x10(r1) +/* 80096368 000932C8 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 8009636C 000932CC 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80096370 000932D0 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 80096374 000932D4 48 27 DF D9 */ bl __ct__9CVector2iFii +/* 80096378 000932D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8009637C 000932DC 7C 08 03 A6 */ mtlr r0 +/* 80096380 000932E0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80096384 000932E4 4E 80 00 20 */ blr + +.global FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager +FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager: +/* 80096388 000932E8 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8009638C 000932EC 7C 08 02 A6 */ mflr r0 +/* 80096390 000932F0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80096394 000932F4 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80096398 000932F8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8009639C 000932FC DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 800963A0 00093300 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 800963A4 00093304 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 800963A8 00093308 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 800963AC 0009330C DB 81 00 90 */ stfd f28, 0x90(r1) +/* 800963B0 00093310 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 800963B4 00093314 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 800963B8 00093318 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 800963BC 0009331C BE A1 00 54 */ stmw r21, 0x54(r1) +/* 800963C0 00093320 80 04 00 A0 */ lwz r0, 0xa0(r4) +/* 800963C4 00093324 7C 78 1B 78 */ mr r24, r3 +/* 800963C8 00093328 83 C4 00 10 */ lwz r30, 0x10(r4) +/* 800963CC 0009332C 7C B9 2B 78 */ mr r25, r5 +/* 800963D0 00093330 C3 82 8B 9C */ lfs f28, lbl_805AA8BC@sda21(r2) +/* 800963D4 00093334 7C DA 33 78 */ mr r26, r6 +/* 800963D8 00093338 7C 1D 03 78 */ mr r29, r0 +/* 800963DC 0009333C 7C 1C 03 78 */ mr r28, r0 +/* 800963E0 00093340 3B 60 00 00 */ li r27, 0 +/* 800963E4 00093344 3B E0 00 00 */ li r31, 0 +/* 800963E8 00093348 48 00 01 84 */ b lbl_8009656C +lbl_800963EC: +/* 800963EC 0009334C 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 800963F0 00093350 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800963F4 00093354 7E C0 FA 14 */ add r22, r0, r31 +/* 800963F8 00093358 80 96 00 10 */ lwz r4, 0x10(r22) +/* 800963FC 0009335C 48 13 D5 DD */ bl StateForWorld__10CGameStateFUi +/* 80096400 00093360 7C 64 1B 78 */ mr r4, r3 +/* 80096404 00093364 38 61 00 08 */ addi r3, r1, 8 +/* 80096408 00093368 48 13 E9 5D */ bl GetMapWorldInfo__11CWorldStateCFv +/* 8009640C 0009336C 80 61 00 08 */ lwz r3, 8(r1) +/* 80096410 00093370 80 63 00 00 */ lwz r3, 0(r3) +/* 80096414 00093374 48 0D 18 01 */ bl IsAnythingSet__13CMapWorldInfoFv +/* 80096418 00093378 7C 77 1B 78 */ mr r23, r3 +/* 8009641C 0009337C 38 61 00 08 */ addi r3, r1, 8 +/* 80096420 00093380 4B F7 28 1D */ bl sub_80008c3c +/* 80096424 00093384 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 80096428 00093388 41 82 01 3C */ beq lbl_80096564 +/* 8009642C 0009338C 3A A0 00 00 */ li r21, 0 +/* 80096430 00093390 3A E0 00 00 */ li r23, 0 +/* 80096434 00093394 48 00 01 24 */ b lbl_80096558 +lbl_80096438: +/* 80096438 00093398 80 16 00 50 */ lwz r0, 0x50(r22) +/* 8009643C 0009339C 38 61 00 3C */ addi r3, r1, 0x3c +/* 80096440 000933A0 C0 39 00 04 */ lfs f1, 4(r25) +/* 80096444 000933A4 7C 80 BA 14 */ add r4, r0, r23 +/* 80096448 000933A8 C0 19 00 08 */ lfs f0, 8(r25) +/* 8009644C 000933AC C3 A4 00 2C */ lfs f29, 0x2c(r4) +/* 80096450 000933B0 C3 C4 00 1C */ lfs f30, 0x1c(r4) +/* 80096454 000933B4 C3 E4 00 0C */ lfs f31, 0xc(r4) +/* 80096458 000933B8 EC 5D 00 28 */ fsubs f2, f29, f0 +/* 8009645C 000933BC C0 19 00 00 */ lfs f0, 0(r25) +/* 80096460 000933C0 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 80096464 000933C4 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 80096468 000933C8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8009646C 000933CC D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80096470 000933D0 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80096474 000933D4 48 27 E2 85 */ bl CanBeNormalized__9CVector3fCFv +/* 80096478 000933D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009647C 000933DC 41 82 00 90 */ beq lbl_8009650C +/* 80096480 000933E0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80096484 000933E4 38 81 00 3C */ addi r4, r1, 0x3c +/* 80096488 000933E8 48 27 E3 C9 */ bl AsNormalized__9CVector3fCFv +/* 8009648C 000933EC C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80096490 000933F0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80096494 000933F4 C0 1A 00 04 */ lfs f0, 4(r26) +/* 80096498 000933F8 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8009649C 000933FC EC 01 00 32 */ fmuls f0, f1, f0 +/* 800964A0 00093400 C0 3A 00 00 */ lfs f1, 0(r26) +/* 800964A4 00093404 C0 81 00 38 */ lfs f4, 0x38(r1) +/* 800964A8 00093408 C0 7A 00 08 */ lfs f3, 8(r26) +/* 800964AC 0009340C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 800964B0 00093410 EF 64 00 FA */ fmadds f27, f4, f3, f0 +/* 800964B4 00093414 48 27 E4 05 */ bl Magnitude__9CVector3fCFv +/* 800964B8 00093418 EC 61 06 F2 */ fmuls f3, f1, f27 +/* 800964BC 0009341C C0 5A 00 04 */ lfs f2, 4(r26) +/* 800964C0 00093420 C0 3A 00 08 */ lfs f1, 8(r26) +/* 800964C4 00093424 38 81 00 18 */ addi r4, r1, 0x18 +/* 800964C8 00093428 C0 1A 00 00 */ lfs f0, 0(r26) +/* 800964CC 0009342C EC A3 00 B2 */ fmuls f5, f3, f2 +/* 800964D0 00093430 EC 83 00 72 */ fmuls f4, f3, f1 +/* 800964D4 00093434 C0 59 00 04 */ lfs f2, 4(r25) +/* 800964D8 00093438 EC 63 00 32 */ fmuls f3, f3, f0 +/* 800964DC 0009343C C0 39 00 08 */ lfs f1, 8(r25) +/* 800964E0 00093440 C0 19 00 00 */ lfs f0, 0(r25) +/* 800964E4 00093444 EC 42 28 2A */ fadds f2, f2, f5 +/* 800964E8 00093448 EC 21 20 2A */ fadds f1, f1, f4 +/* 800964EC 0009344C D0 61 00 24 */ stfs f3, 0x24(r1) +/* 800964F0 00093450 EC 00 18 2A */ fadds f0, f0, f3 +/* 800964F4 00093454 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 800964F8 00093458 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 800964FC 0009345C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80096500 00093460 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80096504 00093464 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80096508 00093468 48 00 00 08 */ b lbl_80096510 +lbl_8009650C: +/* 8009650C 0009346C 7F 24 CB 78 */ mr r4, r25 +lbl_80096510: +/* 80096510 00093470 C0 44 00 04 */ lfs f2, 4(r4) +/* 80096514 00093474 38 61 00 0C */ addi r3, r1, 0xc +/* 80096518 00093478 C0 24 00 08 */ lfs f1, 8(r4) +/* 8009651C 0009347C C0 04 00 00 */ lfs f0, 0(r4) +/* 80096520 00093480 EC 42 F0 28 */ fsubs f2, f2, f30 +/* 80096524 00093484 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80096528 00093488 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8009652C 0009348C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80096530 00093490 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80096534 00093494 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80096538 00093498 48 27 E3 81 */ bl Magnitude__9CVector3fCFv +/* 8009653C 0009349C FC 01 E0 40 */ fcmpo cr0, f1, f28 +/* 80096540 000934A0 40 80 00 10 */ bge lbl_80096550 +/* 80096544 000934A4 FF 80 08 90 */ fmr f28, f1 +/* 80096548 000934A8 7F 7D DB 78 */ mr r29, r27 +/* 8009654C 000934AC 7E BC AB 78 */ mr r28, r21 +lbl_80096550: +/* 80096550 000934B0 3A F7 00 30 */ addi r23, r23, 0x30 +/* 80096554 000934B4 3A B5 00 01 */ addi r21, r21, 1 +lbl_80096558: +/* 80096558 000934B8 80 16 00 48 */ lwz r0, 0x48(r22) +/* 8009655C 000934BC 7C 15 00 00 */ cmpw r21, r0 +/* 80096560 000934C0 41 80 FE D8 */ blt lbl_80096438 +lbl_80096564: +/* 80096564 000934C4 3B FF 00 70 */ addi r31, r31, 0x70 +/* 80096568 000934C8 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8009656C: +/* 8009656C 000934CC 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80096570 000934D0 7C 1B 00 00 */ cmpw r27, r0 +/* 80096574 000934D4 41 80 FE 78 */ blt lbl_800963EC +/* 80096578 000934D8 93 B8 00 00 */ stw r29, 0(r24) +/* 8009657C 000934DC 93 98 00 04 */ stw r28, 4(r24) +/* 80096580 000934E0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80096584 000934E4 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80096588 000934E8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8009658C 000934EC CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80096590 000934F0 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 80096594 000934F4 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 80096598 000934F8 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 8009659C 000934FC CB 81 00 90 */ lfd f28, 0x90(r1) +/* 800965A0 00093500 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 800965A4 00093504 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 800965A8 00093508 BA A1 00 54 */ lmw r21, 0x54(r1) +/* 800965AC 0009350C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800965B0 00093510 7C 08 03 A6 */ mtlr r0 +/* 800965B4 00093514 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 800965B8 00093518 4E 80 00 20 */ blr + +.global FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo +FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo: +/* 800965BC 0009351C 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 800965C0 00093520 7C 08 02 A6 */ mflr r0 +/* 800965C4 00093524 90 01 01 94 */ stw r0, 0x194(r1) +/* 800965C8 00093528 DB E1 01 80 */ stfd f31, 0x180(r1) +/* 800965CC 0009352C F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 800965D0 00093530 DB C1 01 70 */ stfd f30, 0x170(r1) +/* 800965D4 00093534 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 +/* 800965D8 00093538 DB A1 01 60 */ stfd f29, 0x160(r1) +/* 800965DC 0009353C F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 +/* 800965E0 00093540 DB 81 01 50 */ stfd f28, 0x150(r1) +/* 800965E4 00093544 F3 81 01 58 */ psq_st f28, 344(r1), 0, qr0 +/* 800965E8 00093548 DB 61 01 40 */ stfd f27, 0x140(r1) +/* 800965EC 0009354C F3 61 01 48 */ psq_st f27, 328(r1), 0, qr0 +/* 800965F0 00093550 BE C1 01 18 */ stmw r22, 0x118(r1) +/* 800965F4 00093554 7C FD 3B 78 */ mr r29, r7 +/* 800965F8 00093558 7C 77 1B 78 */ mr r23, r3 +/* 800965FC 0009355C 7F A3 EB 78 */ mr r3, r29 +/* 80096600 00093560 7C 9B 23 78 */ mr r27, r4 +/* 80096604 00093564 81 9D 00 00 */ lwz r12, 0(r29) +/* 80096608 00093568 7C BC 2B 78 */ mr r28, r5 +/* 8009660C 0009356C 7D 16 43 78 */ mr r22, r8 +/* 80096610 00093570 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80096614 00093574 7D 89 03 A6 */ mtctr r12 +/* 80096618 00093578 4E 80 04 21 */ bctrl +/* 8009661C 0009357C 7C 7F 1B 78 */ mr r31, r3 +/* 80096620 00093580 83 D7 00 A0 */ lwz r30, 0xa0(r23) +/* 80096624 00093584 C3 82 8B A0 */ lfs f28, lbl_805AA8C0@sda21(r2) +/* 80096628 00093588 7F E4 FB 78 */ mr r4, r31 +/* 8009662C 0009358C 7F A5 EB 78 */ mr r5, r29 +/* 80096630 00093590 7E C6 B3 78 */ mr r6, r22 +/* 80096634 00093594 38 61 00 80 */ addi r3, r1, 0x80 +/* 80096638 00093598 48 00 A7 D1 */ bl GetVisibleAreas__9CMapWorldCFRC6IWorldRC13CMapWorldInfo +/* 8009663C 0009359C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80096640 000935A0 80 61 00 88 */ lwz r3, 0x88(r1) +/* 80096644 000935A4 2C 00 00 00 */ cmpwi r0, 0 +/* 80096648 000935A8 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 8009664C 000935AC 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 80096650 000935B0 40 82 00 18 */ bne lbl_80096668 +/* 80096654 000935B4 2C 03 00 00 */ cmpwi r3, 0 +/* 80096658 000935B8 40 82 00 10 */ bne lbl_80096668 +/* 8009665C 000935BC 38 00 00 00 */ li r0, 0 +/* 80096660 000935C0 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80096664 000935C4 48 00 00 68 */ b lbl_800966CC +lbl_80096668: +/* 80096668 000935C8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8009666C 000935CC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 80096670 000935D0 40 82 00 10 */ bne lbl_80096680 +/* 80096674 000935D4 38 00 00 00 */ li r0, 0 +/* 80096678 000935D8 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8009667C 000935DC 48 00 00 1C */ b lbl_80096698 +lbl_80096680: +/* 80096680 000935E0 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 80096684 000935E4 38 A0 00 00 */ li r5, 0 +/* 80096688 000935E8 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 8009668C 000935EC 38 84 00 0F */ addi r4, r4, 0xf +/* 80096690 000935F0 48 27 F1 89 */ bl __nwa__FUlPCcPCc +/* 80096694 000935F4 90 61 00 A8 */ stw r3, 0xa8(r1) +lbl_80096698: +/* 80096698 000935F8 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 8009669C 000935FC 80 81 00 8C */ lwz r4, 0x8c(r1) +/* 800966A0 00093600 80 61 00 A8 */ lwz r3, 0xa8(r1) +/* 800966A4 00093604 7C 09 03 A6 */ mtctr r0 +/* 800966A8 00093608 2C 00 00 00 */ cmpwi r0, 0 +/* 800966AC 0009360C 40 81 00 20 */ ble lbl_800966CC +lbl_800966B0: +/* 800966B0 00093610 28 03 00 00 */ cmplwi r3, 0 +/* 800966B4 00093614 41 82 00 0C */ beq lbl_800966C0 +/* 800966B8 00093618 80 04 00 00 */ lwz r0, 0(r4) +/* 800966BC 0009361C 90 03 00 00 */ stw r0, 0(r3) +lbl_800966C0: +/* 800966C0 00093620 38 63 00 04 */ addi r3, r3, 4 +/* 800966C4 00093624 38 84 00 04 */ addi r4, r4, 4 +/* 800966C8 00093628 42 00 FF E8 */ bdnz lbl_800966B0 +lbl_800966CC: +/* 800966CC 0009362C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800966D0 00093630 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 800966D4 00093634 54 00 10 3A */ slwi r0, r0, 2 +/* 800966D8 00093638 7C 03 02 14 */ add r0, r3, r0 +/* 800966DC 0009363C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 800966E0 00093640 7C 64 1B 78 */ mr r4, r3 +/* 800966E4 00093644 90 01 00 34 */ stw r0, 0x34(r1) +/* 800966E8 00093648 90 01 00 30 */ stw r0, 0x30(r1) +/* 800966EC 0009364C 90 61 00 28 */ stw r3, 0x28(r1) +/* 800966F0 00093650 48 00 00 08 */ b lbl_800966F8 +lbl_800966F4: +/* 800966F4 00093654 38 84 00 04 */ addi r4, r4, 4 +lbl_800966F8: +/* 800966F8 00093658 7C 04 00 40 */ cmplw r4, r0 +/* 800966FC 0009365C 40 82 FF F8 */ bne lbl_800966F4 +/* 80096700 00093660 28 03 00 00 */ cmplwi r3, 0 +/* 80096704 00093664 41 82 00 08 */ beq lbl_8009670C +/* 80096708 00093668 48 27 F2 29 */ bl Free__7CMemoryFPCv +lbl_8009670C: +/* 8009670C 0009366C 83 01 00 A0 */ lwz r24, 0xa0(r1) +/* 80096710 00093670 2C 18 00 00 */ cmpwi r24, 0 +/* 80096714 00093674 40 82 00 48 */ bne lbl_8009675C +/* 80096718 00093678 80 61 00 A8 */ lwz r3, 0xa8(r1) +/* 8009671C 0009367C 57 00 10 3A */ slwi r0, r24, 2 +/* 80096720 00093680 7C 03 02 14 */ add r0, r3, r0 +/* 80096724 00093684 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80096728 00093688 7C 64 1B 78 */ mr r4, r3 +/* 8009672C 0009368C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80096730 00093690 90 01 00 20 */ stw r0, 0x20(r1) +/* 80096734 00093694 90 61 00 18 */ stw r3, 0x18(r1) +/* 80096738 00093698 48 00 00 08 */ b lbl_80096740 +lbl_8009673C: +/* 8009673C 0009369C 38 84 00 04 */ addi r4, r4, 4 +lbl_80096740: +/* 80096740 000936A0 7C 04 00 40 */ cmplw r4, r0 +/* 80096744 000936A4 40 82 FF F8 */ bne lbl_8009673C +/* 80096748 000936A8 28 03 00 00 */ cmplwi r3, 0 +/* 8009674C 000936AC 41 82 00 08 */ beq lbl_80096754 +/* 80096750 000936B0 48 27 F1 E1 */ bl Free__7CMemoryFPCv +lbl_80096754: +/* 80096754 000936B4 38 60 FF FF */ li r3, -1 +/* 80096758 000936B8 48 00 01 C4 */ b lbl_8009691C +lbl_8009675C: +/* 8009675C 000936BC 83 41 00 A8 */ lwz r26, 0xa8(r1) +/* 80096760 000936C0 3A E0 00 00 */ li r23, 0 +/* 80096764 000936C4 48 00 01 68 */ b lbl_800968CC +lbl_80096768: +/* 80096768 000936C8 82 DA 00 00 */ lwz r22, 0(r26) +/* 8009676C 000936CC 7F E3 FB 78 */ mr r3, r31 +/* 80096770 000936D0 7E C4 B3 78 */ mr r4, r22 +/* 80096774 000936D4 48 00 AC 45 */ bl GetMapArea__9CMapWorldCFi +/* 80096778 000936D8 7C 79 1B 78 */ mr r25, r3 +/* 8009677C 000936DC 7F A5 EB 78 */ mr r5, r29 +/* 80096780 000936E0 7E C6 B3 78 */ mr r6, r22 +/* 80096784 000936E4 38 61 00 AC */ addi r3, r1, 0xac +/* 80096788 000936E8 7F 24 CB 78 */ mr r4, r25 +/* 8009678C 000936EC 4B FE 9C DD */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 80096790 000936F0 38 61 00 DC */ addi r3, r1, 0xdc +/* 80096794 000936F4 38 81 00 AC */ addi r4, r1, 0xac +/* 80096798 000936F8 48 27 C3 DD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8009679C 000936FC 7F 24 CB 78 */ mr r4, r25 +/* 800967A0 00093700 38 61 00 68 */ addi r3, r1, 0x68 +/* 800967A4 00093704 4B FE A5 59 */ bl GetAreaCenterPoint__8CMapAreaCFv +/* 800967A8 00093708 38 61 00 74 */ addi r3, r1, 0x74 +/* 800967AC 0009370C 38 81 00 DC */ addi r4, r1, 0xdc +/* 800967B0 00093710 38 A1 00 68 */ addi r5, r1, 0x68 +/* 800967B4 00093714 48 27 C3 35 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800967B8 00093718 C3 A1 00 74 */ lfs f29, 0x74(r1) +/* 800967BC 0009371C 38 61 00 90 */ addi r3, r1, 0x90 +/* 800967C0 00093720 C0 1B 00 00 */ lfs f0, 0(r27) +/* 800967C4 00093724 C3 E1 00 78 */ lfs f31, 0x78(r1) +/* 800967C8 00093728 C0 5B 00 04 */ lfs f2, 4(r27) +/* 800967CC 0009372C EC 1D 00 28 */ fsubs f0, f29, f0 +/* 800967D0 00093730 C3 C1 00 7C */ lfs f30, 0x7c(r1) +/* 800967D4 00093734 C0 3B 00 08 */ lfs f1, 8(r27) +/* 800967D8 00093738 EC 5F 10 28 */ fsubs f2, f31, f2 +/* 800967DC 0009373C D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800967E0 00093740 EC 1E 08 28 */ fsubs f0, f30, f1 +/* 800967E4 00093744 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 800967E8 00093748 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 800967EC 0009374C 48 27 DF 0D */ bl CanBeNormalized__9CVector3fCFv +/* 800967F0 00093750 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800967F4 00093754 41 82 00 90 */ beq lbl_80096884 +/* 800967F8 00093758 38 61 00 5C */ addi r3, r1, 0x5c +/* 800967FC 0009375C 38 81 00 90 */ addi r4, r1, 0x90 +/* 80096800 00093760 48 27 E0 51 */ bl AsNormalized__9CVector3fCFv +/* 80096804 00093764 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80096808 00093768 38 61 00 90 */ addi r3, r1, 0x90 +/* 8009680C 0009376C C0 1C 00 04 */ lfs f0, 4(r28) +/* 80096810 00093770 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 80096814 00093774 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80096818 00093778 C0 3C 00 00 */ lfs f1, 0(r28) +/* 8009681C 0009377C C0 81 00 64 */ lfs f4, 0x64(r1) +/* 80096820 00093780 C0 7C 00 08 */ lfs f3, 8(r28) +/* 80096824 00093784 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80096828 00093788 EF 64 00 FA */ fmadds f27, f4, f3, f0 +/* 8009682C 0009378C 48 27 E0 8D */ bl Magnitude__9CVector3fCFv +/* 80096830 00093790 EC 61 06 F2 */ fmuls f3, f1, f27 +/* 80096834 00093794 C0 5C 00 04 */ lfs f2, 4(r28) +/* 80096838 00093798 C0 3C 00 08 */ lfs f1, 8(r28) +/* 8009683C 0009379C 38 81 00 44 */ addi r4, r1, 0x44 +/* 80096840 000937A0 C0 1C 00 00 */ lfs f0, 0(r28) +/* 80096844 000937A4 EC A3 00 B2 */ fmuls f5, f3, f2 +/* 80096848 000937A8 EC 83 00 72 */ fmuls f4, f3, f1 +/* 8009684C 000937AC C0 5B 00 04 */ lfs f2, 4(r27) +/* 80096850 000937B0 EC 63 00 32 */ fmuls f3, f3, f0 +/* 80096854 000937B4 C0 3B 00 08 */ lfs f1, 8(r27) +/* 80096858 000937B8 C0 1B 00 00 */ lfs f0, 0(r27) +/* 8009685C 000937BC EC 42 28 2A */ fadds f2, f2, f5 +/* 80096860 000937C0 EC 21 20 2A */ fadds f1, f1, f4 +/* 80096864 000937C4 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80096868 000937C8 EC 00 18 2A */ fadds f0, f0, f3 +/* 8009686C 000937CC D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 80096870 000937D0 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 80096874 000937D4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80096878 000937D8 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8009687C 000937DC D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80096880 000937E0 48 00 00 08 */ b lbl_80096888 +lbl_80096884: +/* 80096884 000937E4 7F 64 DB 78 */ mr r4, r27 +lbl_80096888: +/* 80096888 000937E8 C0 44 00 04 */ lfs f2, 4(r4) +/* 8009688C 000937EC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80096890 000937F0 C0 24 00 08 */ lfs f1, 8(r4) +/* 80096894 000937F4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80096898 000937F8 EC 42 F8 28 */ fsubs f2, f2, f31 +/* 8009689C 000937FC EC 21 F0 28 */ fsubs f1, f1, f30 +/* 800968A0 00093800 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 800968A4 00093804 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800968A8 00093808 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800968AC 0009380C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800968B0 00093810 48 27 E0 09 */ bl Magnitude__9CVector3fCFv +/* 800968B4 00093814 FC 01 E0 40 */ fcmpo cr0, f1, f28 +/* 800968B8 00093818 40 80 00 0C */ bge lbl_800968C4 +/* 800968BC 0009381C 7E DE B3 78 */ mr r30, r22 +/* 800968C0 00093820 FF 80 08 90 */ fmr f28, f1 +lbl_800968C4: +/* 800968C4 00093824 3B 5A 00 04 */ addi r26, r26, 4 +/* 800968C8 00093828 3A F7 00 01 */ addi r23, r23, 1 +lbl_800968CC: +/* 800968CC 0009382C 7C 17 C0 00 */ cmpw r23, r24 +/* 800968D0 00093830 41 80 FE 98 */ blt lbl_80096768 +/* 800968D4 00093834 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 800968D8 00093838 7F DA F3 78 */ mr r26, r30 +/* 800968DC 0009383C 80 61 00 A8 */ lwz r3, 0xa8(r1) +/* 800968E0 00093840 54 00 10 3A */ slwi r0, r0, 2 +/* 800968E4 00093844 7C 03 02 14 */ add r0, r3, r0 +/* 800968E8 00093848 90 61 00 0C */ stw r3, 0xc(r1) +/* 800968EC 0009384C 7C 64 1B 78 */ mr r4, r3 +/* 800968F0 00093850 90 01 00 14 */ stw r0, 0x14(r1) +/* 800968F4 00093854 90 01 00 10 */ stw r0, 0x10(r1) +/* 800968F8 00093858 90 61 00 08 */ stw r3, 8(r1) +/* 800968FC 0009385C 48 00 00 08 */ b lbl_80096904 +lbl_80096900: +/* 80096900 00093860 38 84 00 04 */ addi r4, r4, 4 +lbl_80096904: +/* 80096904 00093864 7C 04 00 40 */ cmplw r4, r0 +/* 80096908 00093868 40 82 FF F8 */ bne lbl_80096900 +/* 8009690C 0009386C 28 03 00 00 */ cmplwi r3, 0 +/* 80096910 00093870 41 82 00 08 */ beq lbl_80096918 +/* 80096914 00093874 48 27 F0 1D */ bl Free__7CMemoryFPCv +lbl_80096918: +/* 80096918 00093878 7F 43 D3 78 */ mr r3, r26 +lbl_8009691C: +/* 8009691C 0009387C E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 80096920 00093880 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 80096924 00093884 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 +/* 80096928 00093888 CB C1 01 70 */ lfd f30, 0x170(r1) +/* 8009692C 0009388C E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 +/* 80096930 00093890 CB A1 01 60 */ lfd f29, 0x160(r1) +/* 80096934 00093894 E3 81 01 58 */ psq_l f28, 344(r1), 0, qr0 +/* 80096938 00093898 CB 81 01 50 */ lfd f28, 0x150(r1) +/* 8009693C 0009389C E3 61 01 48 */ psq_l f27, 328(r1), 0, qr0 +/* 80096940 000938A0 CB 61 01 40 */ lfd f27, 0x140(r1) +/* 80096944 000938A4 BA C1 01 18 */ lmw r22, 0x118(r1) +/* 80096948 000938A8 80 01 01 94 */ lwz r0, 0x194(r1) +/* 8009694C 000938AC 7C 08 03 A6 */ mtlr r0 +/* 80096950 000938B0 38 21 01 90 */ addi r1, r1, 0x190 +/* 80096954 000938B4 4E 80 00 20 */ blr + +.global GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri +GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri: +/* 80096958 000938B8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8009695C 000938BC 7C 08 02 A6 */ mflr r0 +/* 80096960 000938C0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80096964 000938C4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80096968 000938C8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8009696C 000938CC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80096970 000938D0 7C DD 33 78 */ mr r29, r6 +/* 80096974 000938D4 93 81 00 50 */ stw r28, 0x50(r1) +/* 80096978 000938D8 7C 7C 1B 78 */ mr r28, r3 +/* 8009697C 000938DC 83 C4 00 24 */ lwz r30, 0x24(r4) +/* 80096980 000938E0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80096984 000938E4 7F C3 F3 78 */ mr r3, r30 +/* 80096988 000938E8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8009698C 000938EC 7D 89 03 A6 */ mtctr r12 +/* 80096990 000938F0 4E 80 04 21 */ bctrl +/* 80096994 000938F4 7F A4 EB 78 */ mr r4, r29 +/* 80096998 000938F8 48 00 AA 21 */ bl GetMapArea__9CMapWorldCFi +/* 8009699C 000938FC 7C 7F 1B 78 */ mr r31, r3 +/* 800969A0 00093900 38 61 00 08 */ addi r3, r1, 8 +/* 800969A4 00093904 7F E4 FB 78 */ mr r4, r31 +/* 800969A8 00093908 4B FE A3 55 */ bl GetAreaCenterPoint__8CMapAreaCFv +/* 800969AC 0009390C 7F E4 FB 78 */ mr r4, r31 +/* 800969B0 00093910 7F C5 F3 78 */ mr r5, r30 +/* 800969B4 00093914 7F A6 EB 78 */ mr r6, r29 +/* 800969B8 00093918 38 61 00 14 */ addi r3, r1, 0x14 +/* 800969BC 0009391C 4B FE 9A AD */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 800969C0 00093920 7F 83 E3 78 */ mr r3, r28 +/* 800969C4 00093924 38 81 00 14 */ addi r4, r1, 0x14 +/* 800969C8 00093928 38 A1 00 08 */ addi r5, r1, 8 +/* 800969CC 0009392C 48 27 C1 1D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800969D0 00093930 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800969D4 00093934 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800969D8 00093938 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800969DC 0009393C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800969E0 00093940 83 81 00 50 */ lwz r28, 0x50(r1) +/* 800969E4 00093944 7C 08 03 A6 */ mtlr r0 +/* 800969E8 00093948 38 21 00 60 */ addi r1, r1, 0x60 +/* 800969EC 0009394C 4E 80 00 20 */ blr + +.global GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager +GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager: +/* 800969F0 00093950 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800969F4 00093954 7C 08 02 A6 */ mflr r0 +/* 800969F8 00093958 90 01 00 84 */ stw r0, 0x84(r1) +/* 800969FC 0009395C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80096A00 00093960 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80096A04 00093964 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80096A08 00093968 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) +/* 80096A0C 0009396C 7C 7F 1B 78 */ mr r31, r3 +/* 80096A10 00093970 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80096A14 00093974 C3 E5 00 2C */ lfs f31, 0x2c(r5) +/* 80096A18 00093978 4B F7 51 01 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80096A1C 0009397C 7C 64 1B 78 */ mr r4, r3 +/* 80096A20 00093980 38 61 00 30 */ addi r3, r1, 0x30 +/* 80096A24 00093984 38 84 00 34 */ addi r4, r4, 0x34 +/* 80096A28 00093988 48 27 B7 01 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80096A2C 0009398C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80096A30 00093990 38 81 00 30 */ addi r4, r1, 0x30 +/* 80096A34 00093994 4B F8 4B 91 */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion +/* 80096A38 00093998 C0 81 00 48 */ lfs f4, 0x48(r1) +/* 80096A3C 0009399C 3C 00 43 30 */ lis r0, 0x4330 +/* 80096A40 000939A0 C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) +/* 80096A44 000939A4 90 01 00 58 */ stw r0, 0x58(r1) +/* 80096A48 000939A8 EC 44 00 32 */ fmuls f2, f4, f0 +/* 80096A4C 000939AC C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) +/* 80096A50 000939B0 C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) +/* 80096A54 000939B4 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 80096A58 000939B8 FC 40 10 1E */ fctiwz f2, f2 +/* 80096A5C 000939BC D8 41 00 50 */ stfd f2, 0x50(r1) +/* 80096A60 000939C0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80096A64 000939C4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80096A68 000939C8 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80096A6C 000939CC C8 41 00 58 */ lfd f2, 0x58(r1) +/* 80096A70 000939D0 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80096A74 000939D4 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 80096A78 000939D8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80096A7C 000939DC 40 80 00 08 */ bge lbl_80096A84 +/* 80096A80 000939E0 EC 42 08 2A */ fadds f2, f2, f1 +lbl_80096A84: +/* 80096A84 000939E4 C0 02 8B AC */ lfs f0, lbl_805AA8CC@sda21(r2) +/* 80096A88 000939E8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80096A8C 000939EC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80096A90 000939F0 38 81 00 08 */ addi r4, r1, 8 +/* 80096A94 000939F4 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80096A98 000939F8 D0 01 00 08 */ stfs f0, 8(r1) +/* 80096A9C 000939FC 48 27 A6 CD */ bl XRotation__11CQuaternionFRC9CRelAngle +/* 80096AA0 00093A00 38 61 00 20 */ addi r3, r1, 0x20 +/* 80096AA4 00093A04 38 81 00 0C */ addi r4, r1, 0xc +/* 80096AA8 00093A08 48 27 A6 51 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80096AAC 00093A0C 7F E3 FB 78 */ mr r3, r31 +/* 80096AB0 00093A10 38 81 00 20 */ addi r4, r1, 0x20 +/* 80096AB4 00093A14 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80096AB8 00093A18 48 27 A6 E9 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80096ABC 00093A1C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80096AC0 00093A20 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80096AC4 00093A24 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80096AC8 00093A28 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80096ACC 00093A2C 7C 08 03 A6 */ mtlr r0 +/* 80096AD0 00093A30 38 21 00 80 */ addi r1, r1, 0x80 +/* 80096AD4 00093A34 4E 80 00 20 */ blr + +.global LeaveMapScreenState__11CAutoMapperFv +LeaveMapScreenState__11CAutoMapperFv: +/* 80096AD8 00093A38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80096ADC 00093A3C 7C 08 02 A6 */ mflr r0 +/* 80096AE0 00093A40 38 80 00 00 */ li r4, 0 +/* 80096AE4 00093A44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80096AE8 00093A48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80096AEC 00093A4C 7C 7F 1B 78 */ mr r31, r3 +/* 80096AF0 00093A50 48 00 01 39 */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb +/* 80096AF4 00093A54 7F E3 FB 78 */ mr r3, r31 +/* 80096AF8 00093A58 38 80 00 00 */ li r4, 0 +/* 80096AFC 00093A5C 48 00 00 A9 */ bl SetShouldZoomingSoundBePlaying__11CAutoMapperFb +/* 80096B00 00093A60 7F E3 FB 78 */ mr r3, r31 +/* 80096B04 00093A64 38 80 00 00 */ li r4, 0 +/* 80096B08 00093A68 48 00 00 19 */ bl SetShouldRotatingSoundBePlaying__11CAutoMapperFb +/* 80096B0C 00093A6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80096B10 00093A70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80096B14 00093A74 7C 08 03 A6 */ mtlr r0 +/* 80096B18 00093A78 38 21 00 10 */ addi r1, r1, 0x10 +/* 80096B1C 00093A7C 4E 80 00 20 */ blr + +.global SetShouldRotatingSoundBePlaying__11CAutoMapperFb +SetShouldRotatingSoundBePlaying__11CAutoMapperFb: +/* 80096B20 00093A80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80096B24 00093A84 7C 08 02 A6 */ mflr r0 +/* 80096B28 00093A88 90 01 00 24 */ stw r0, 0x24(r1) +/* 80096B2C 00093A8C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80096B30 00093A90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80096B34 00093A94 7C 7F 1B 78 */ mr r31, r3 +/* 80096B38 00093A98 41 82 00 40 */ beq lbl_80096B78 +/* 80096B3C 00093A9C 80 1F 01 D0 */ lwz r0, 0x1d0(r31) +/* 80096B40 00093AA0 28 00 00 00 */ cmplwi r0, 0 +/* 80096B44 00093AA4 40 82 00 4C */ bne lbl_80096B90 +/* 80096B48 00093AA8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80096B4C 00093AAC 38 61 00 0C */ addi r3, r1, 0xc +/* 80096B50 00093AB0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80096B54 00093AB4 38 80 05 5F */ li r4, 0x55f +/* 80096B58 00093AB8 38 A0 00 7F */ li r5, 0x7f +/* 80096B5C 00093ABC 38 C0 00 40 */ li r6, 0x40 +/* 80096B60 00093AC0 38 E0 00 00 */ li r7, 0 +/* 80096B64 00093AC4 39 20 00 01 */ li r9, 1 +/* 80096B68 00093AC8 48 25 32 0D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80096B6C 00093ACC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80096B70 00093AD0 90 1F 01 D0 */ stw r0, 0x1d0(r31) +/* 80096B74 00093AD4 48 00 00 1C */ b lbl_80096B90 +lbl_80096B78: +/* 80096B78 00093AD8 80 1F 01 D0 */ lwz r0, 0x1d0(r31) +/* 80096B7C 00093ADC 38 61 00 08 */ addi r3, r1, 8 +/* 80096B80 00093AE0 90 01 00 08 */ stw r0, 8(r1) +/* 80096B84 00093AE4 48 25 31 C5 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80096B88 00093AE8 38 00 00 00 */ li r0, 0 +/* 80096B8C 00093AEC 90 1F 01 D0 */ stw r0, 0x1d0(r31) +lbl_80096B90: +/* 80096B90 00093AF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80096B94 00093AF4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80096B98 00093AF8 7C 08 03 A6 */ mtlr r0 +/* 80096B9C 00093AFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80096BA0 00093B00 4E 80 00 20 */ blr + +.global SetShouldZoomingSoundBePlaying__11CAutoMapperFb +SetShouldZoomingSoundBePlaying__11CAutoMapperFb: +/* 80096BA4 00093B04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80096BA8 00093B08 7C 08 02 A6 */ mflr r0 +/* 80096BAC 00093B0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80096BB0 00093B10 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80096BB4 00093B14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80096BB8 00093B18 7C 7F 1B 78 */ mr r31, r3 +/* 80096BBC 00093B1C 41 82 00 40 */ beq lbl_80096BFC +/* 80096BC0 00093B20 80 1F 01 D4 */ lwz r0, 0x1d4(r31) +/* 80096BC4 00093B24 28 00 00 00 */ cmplwi r0, 0 +/* 80096BC8 00093B28 40 82 00 4C */ bne lbl_80096C14 +/* 80096BCC 00093B2C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80096BD0 00093B30 38 61 00 0C */ addi r3, r1, 0xc +/* 80096BD4 00093B34 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80096BD8 00093B38 38 80 05 60 */ li r4, 0x560 +/* 80096BDC 00093B3C 38 A0 00 7F */ li r5, 0x7f +/* 80096BE0 00093B40 38 C0 00 40 */ li r6, 0x40 +/* 80096BE4 00093B44 38 E0 00 00 */ li r7, 0 +/* 80096BE8 00093B48 39 20 00 01 */ li r9, 1 +/* 80096BEC 00093B4C 48 25 31 89 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80096BF0 00093B50 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80096BF4 00093B54 90 1F 01 D4 */ stw r0, 0x1d4(r31) +/* 80096BF8 00093B58 48 00 00 1C */ b lbl_80096C14 +lbl_80096BFC: +/* 80096BFC 00093B5C 80 1F 01 D4 */ lwz r0, 0x1d4(r31) +/* 80096C00 00093B60 38 61 00 08 */ addi r3, r1, 8 +/* 80096C04 00093B64 90 01 00 08 */ stw r0, 8(r1) +/* 80096C08 00093B68 48 25 31 41 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80096C0C 00093B6C 38 00 00 00 */ li r0, 0 +/* 80096C10 00093B70 90 1F 01 D4 */ stw r0, 0x1d4(r31) +lbl_80096C14: +/* 80096C14 00093B74 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80096C18 00093B78 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80096C1C 00093B7C 7C 08 03 A6 */ mtlr r0 +/* 80096C20 00093B80 38 21 00 20 */ addi r1, r1, 0x20 +/* 80096C24 00093B84 4E 80 00 20 */ blr + +.global SetShouldPanningSoundBePlaying__11CAutoMapperFb +SetShouldPanningSoundBePlaying__11CAutoMapperFb: +/* 80096C28 00093B88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80096C2C 00093B8C 7C 08 02 A6 */ mflr r0 +/* 80096C30 00093B90 90 01 00 24 */ stw r0, 0x24(r1) +/* 80096C34 00093B94 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80096C38 00093B98 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80096C3C 00093B9C 7C 7F 1B 78 */ mr r31, r3 +/* 80096C40 00093BA0 41 82 00 40 */ beq lbl_80096C80 +/* 80096C44 00093BA4 80 1F 01 CC */ lwz r0, 0x1cc(r31) +/* 80096C48 00093BA8 28 00 00 00 */ cmplwi r0, 0 +/* 80096C4C 00093BAC 40 82 00 4C */ bne lbl_80096C98 +/* 80096C50 00093BB0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80096C54 00093BB4 38 61 00 0C */ addi r3, r1, 0xc +/* 80096C58 00093BB8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80096C5C 00093BBC 38 80 05 7E */ li r4, 0x57e +/* 80096C60 00093BC0 38 A0 00 7F */ li r5, 0x7f +/* 80096C64 00093BC4 38 C0 00 40 */ li r6, 0x40 +/* 80096C68 00093BC8 38 E0 00 00 */ li r7, 0 +/* 80096C6C 00093BCC 39 20 00 01 */ li r9, 1 +/* 80096C70 00093BD0 48 25 31 05 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80096C74 00093BD4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80096C78 00093BD8 90 1F 01 CC */ stw r0, 0x1cc(r31) +/* 80096C7C 00093BDC 48 00 00 1C */ b lbl_80096C98 +lbl_80096C80: +/* 80096C80 00093BE0 80 1F 01 CC */ lwz r0, 0x1cc(r31) +/* 80096C84 00093BE4 38 61 00 08 */ addi r3, r1, 8 +/* 80096C88 00093BE8 90 01 00 08 */ stw r0, 8(r1) +/* 80096C8C 00093BEC 48 25 30 BD */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80096C90 00093BF0 38 00 00 00 */ li r0, 0 +/* 80096C94 00093BF4 90 1F 01 CC */ stw r0, 0x1cc(r31) +lbl_80096C98: +/* 80096C98 00093BF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80096C9C 00093BFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80096CA0 00093C00 7C 08 03 A6 */ mtlr r0 +/* 80096CA4 00093C04 38 21 00 20 */ addi r1, r1, 0x20 +/* 80096CA8 00093C08 4E 80 00 20 */ blr + +.global BuildMapScreenUniverseRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni +BuildMapScreenUniverseRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni: +/* 80096CAC 00093C0C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80096CB0 00093C10 7C 08 02 A6 */ mflr r0 +/* 80096CB4 00093C14 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80096CB8 00093C18 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80096CBC 00093C1C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80096CC0 00093C20 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 80096CC4 00093C24 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 80096CC8 00093C28 BF 41 00 78 */ stmw r26, 0x78(r1) +/* 80096CCC 00093C2C 7C 9B 23 78 */ mr r27, r4 +/* 80096CD0 00093C30 7C BC 2B 78 */ mr r28, r5 +/* 80096CD4 00093C34 7C FE 3B 78 */ mr r30, r7 +/* 80096CD8 00093C38 7C 7A 1B 78 */ mr r26, r3 +/* 80096CDC 00093C3C 83 ED A1 44 */ lwz r31, gpTweakAutoMapper@sda21(r13) +/* 80096CE0 00093C40 7C DD 33 78 */ mr r29, r6 +/* 80096CE4 00093C44 7F 63 DB 78 */ mr r3, r27 +/* 80096CE8 00093C48 7F 84 E3 78 */ mr r4, r28 +/* 80096CEC 00093C4C 7F C5 F3 78 */ mr r5, r30 +/* 80096CF0 00093C50 4B FF F5 55 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri +/* 80096CF4 00093C54 FF C0 08 90 */ fmr f30, f1 +/* 80096CF8 00093C58 7F 63 DB 78 */ mr r3, r27 +/* 80096CFC 00093C5C 7F 84 E3 78 */ mr r4, r28 +/* 80096D00 00093C60 7F C5 F3 78 */ mr r5, r30 +/* 80096D04 00093C64 4B FF F5 41 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri +/* 80096D08 00093C68 FF E0 08 90 */ fmr f31, f1 +/* 80096D0C 00093C6C 7F 64 DB 78 */ mr r4, r27 +/* 80096D10 00093C70 7F 85 E3 78 */ mr r5, r28 +/* 80096D14 00093C74 7F C6 F3 78 */ mr r6, r30 +/* 80096D18 00093C78 38 61 00 10 */ addi r3, r1, 0x10 +/* 80096D1C 00093C7C 4B FF FC 3D */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri +/* 80096D20 00093C80 38 61 00 08 */ addi r3, r1, 8 +/* 80096D24 00093C84 4B FF F5 99 */ bl GetMapScreenViewportSize__11CAutoMapperFv +/* 80096D28 00093C88 C0 A2 8B A8 */ lfs f5, lbl_805AA8C8@sda21(r2) +/* 80096D2C 00093C8C FC 60 F8 90 */ fmr f3, f31 +/* 80096D30 00093C90 FC 80 F0 90 */ fmr f4, f30 +/* 80096D34 00093C94 C0 3F 00 D0 */ lfs f1, 0xd0(r31) +/* 80096D38 00093C98 FC C0 28 90 */ fmr f6, f5 +/* 80096D3C 00093C9C C0 5F 00 1C */ lfs f2, 0x1c(r31) +/* 80096D40 00093CA0 FC E0 28 90 */ fmr f7, f5 +/* 80096D44 00093CA4 FD 00 28 90 */ fmr f8, f5 +/* 80096D48 00093CA8 7F A5 EB 78 */ mr r5, r29 +/* 80096D4C 00093CAC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80096D50 00093CB0 38 81 00 08 */ addi r4, r1, 8 +/* 80096D54 00093CB4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80096D58 00093CB8 48 00 72 FD */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff +/* 80096D5C 00093CBC 38 A0 00 02 */ li r5, 2 +/* 80096D60 00093CC0 38 00 00 01 */ li r0, 1 +/* 80096D64 00093CC4 90 A1 00 60 */ stw r5, 0x60(r1) +/* 80096D68 00093CC8 7F 43 D3 78 */ mr r3, r26 +/* 80096D6C 00093CCC 38 81 00 1C */ addi r4, r1, 0x1c +/* 80096D70 00093CD0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80096D74 00093CD4 90 A1 00 68 */ stw r5, 0x68(r1) +/* 80096D78 00093CD8 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80096D7C 00093CDC 90 A1 00 70 */ stw r5, 0x70(r1) +/* 80096D80 00093CE0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80096D84 00093CE4 48 00 00 29 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState +/* 80096D88 00093CE8 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80096D8C 00093CEC CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80096D90 00093CF0 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 80096D94 00093CF4 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 80096D98 00093CF8 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 80096D9C 00093CFC 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80096DA0 00093D00 7C 08 03 A6 */ mtlr r0 +/* 80096DA4 00093D04 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80096DA8 00093D08 4E 80 00 20 */ blr + +.global __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState +__ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState: +/* 80096DAC 00093D0C 80 04 00 00 */ lwz r0, 0(r4) +/* 80096DB0 00093D10 90 03 00 00 */ stw r0, 0(r3) +/* 80096DB4 00093D14 80 04 00 04 */ lwz r0, 4(r4) +/* 80096DB8 00093D18 90 03 00 04 */ stw r0, 4(r3) +/* 80096DBC 00093D1C C0 04 00 08 */ lfs f0, 8(r4) +/* 80096DC0 00093D20 D0 03 00 08 */ stfs f0, 8(r3) +/* 80096DC4 00093D24 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80096DC8 00093D28 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80096DCC 00093D2C C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80096DD0 00093D30 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80096DD4 00093D34 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80096DD8 00093D38 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80096DDC 00093D3C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80096DE0 00093D40 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80096DE4 00093D44 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80096DE8 00093D48 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80096DEC 00093D4C C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80096DF0 00093D50 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80096DF4 00093D54 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80096DF8 00093D58 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80096DFC 00093D5C C0 04 00 28 */ lfs f0, 0x28(r4) +/* 80096E00 00093D60 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80096E04 00093D64 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 80096E08 00093D68 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80096E0C 00093D6C C0 04 00 30 */ lfs f0, 0x30(r4) +/* 80096E10 00093D70 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 80096E14 00093D74 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 80096E18 00093D78 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 80096E1C 00093D7C C0 04 00 38 */ lfs f0, 0x38(r4) +/* 80096E20 00093D80 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 80096E24 00093D84 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 80096E28 00093D88 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 80096E2C 00093D8C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80096E30 00093D90 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 80096E34 00093D94 80 04 00 44 */ lwz r0, 0x44(r4) +/* 80096E38 00093D98 90 03 00 44 */ stw r0, 0x44(r3) +/* 80096E3C 00093D9C 80 04 00 48 */ lwz r0, 0x48(r4) +/* 80096E40 00093DA0 90 03 00 48 */ stw r0, 0x48(r3) +/* 80096E44 00093DA4 80 04 00 4C */ lwz r0, 0x4c(r4) +/* 80096E48 00093DA8 90 03 00 4C */ stw r0, 0x4c(r3) +/* 80096E4C 00093DAC 80 04 00 50 */ lwz r0, 0x50(r4) +/* 80096E50 00093DB0 90 03 00 50 */ stw r0, 0x50(r3) +/* 80096E54 00093DB4 80 04 00 54 */ lwz r0, 0x54(r4) +/* 80096E58 00093DB8 90 03 00 54 */ stw r0, 0x54(r3) +/* 80096E5C 00093DBC 80 04 00 58 */ lwz r0, 0x58(r4) +/* 80096E60 00093DC0 90 03 00 58 */ stw r0, 0x58(r3) +/* 80096E64 00093DC4 4E 80 00 20 */ blr + +.global BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni +BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni: +/* 80096E68 00093DC8 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80096E6C 00093DCC 7C 08 02 A6 */ mflr r0 +/* 80096E70 00093DD0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80096E74 00093DD4 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80096E78 00093DD8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80096E7C 00093DDC DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80096E80 00093DE0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80096E84 00093DE4 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80096E88 00093DE8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80096E8C 00093DEC BF 41 00 78 */ stmw r26, 0x78(r1) +/* 80096E90 00093DF0 55 00 06 3F */ clrlwi. r0, r8, 0x18 +/* 80096E94 00093DF4 7C 7A 1B 78 */ mr r26, r3 +/* 80096E98 00093DF8 7C 9B 23 78 */ mr r27, r4 +/* 80096E9C 00093DFC 7C BC 2B 78 */ mr r28, r5 +/* 80096EA0 00093E00 7C DD 33 78 */ mr r29, r6 +/* 80096EA4 00093E04 7C FE 3B 78 */ mr r30, r7 +/* 80096EA8 00093E08 41 82 00 10 */ beq lbl_80096EB8 +/* 80096EAC 00093E0C 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 80096EB0 00093E10 C3 A3 00 10 */ lfs f29, 0x10(r3) +/* 80096EB4 00093E14 48 00 00 0C */ b lbl_80096EC0 +lbl_80096EB8: +/* 80096EB8 00093E18 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 80096EBC 00093E1C C3 A3 00 08 */ lfs f29, 8(r3) +lbl_80096EC0: +/* 80096EC0 00093E20 83 ED A1 44 */ lwz r31, gpTweakAutoMapper@sda21(r13) +/* 80096EC4 00093E24 7F 63 DB 78 */ mr r3, r27 +/* 80096EC8 00093E28 7F 84 E3 78 */ mr r4, r28 +/* 80096ECC 00093E2C 7F C5 F3 78 */ mr r5, r30 +/* 80096ED0 00093E30 4B FF F3 75 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri +/* 80096ED4 00093E34 FF C0 08 90 */ fmr f30, f1 +/* 80096ED8 00093E38 7F 63 DB 78 */ mr r3, r27 +/* 80096EDC 00093E3C 7F 84 E3 78 */ mr r4, r28 +/* 80096EE0 00093E40 7F C5 F3 78 */ mr r5, r30 +/* 80096EE4 00093E44 4B FF F3 61 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri +/* 80096EE8 00093E48 FF E0 08 90 */ fmr f31, f1 +/* 80096EEC 00093E4C 7F 64 DB 78 */ mr r4, r27 +/* 80096EF0 00093E50 7F 85 E3 78 */ mr r5, r28 +/* 80096EF4 00093E54 7F C6 F3 78 */ mr r6, r30 +/* 80096EF8 00093E58 38 61 00 10 */ addi r3, r1, 0x10 +/* 80096EFC 00093E5C 4B FF FA 5D */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri +/* 80096F00 00093E60 38 61 00 08 */ addi r3, r1, 8 +/* 80096F04 00093E64 4B FF F3 B9 */ bl GetMapScreenViewportSize__11CAutoMapperFv +/* 80096F08 00093E68 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 80096F0C 00093E6C FC 20 E8 90 */ fmr f1, f29 +/* 80096F10 00093E70 FC 60 F8 90 */ fmr f3, f31 +/* 80096F14 00093E74 C0 BF 00 88 */ lfs f5, 0x88(r31) +/* 80096F18 00093E78 FC 80 F0 90 */ fmr f4, f30 +/* 80096F1C 00093E7C C0 43 00 1C */ lfs f2, 0x1c(r3) +/* 80096F20 00093E80 C0 DF 00 90 */ lfs f6, 0x90(r31) +/* 80096F24 00093E84 C0 FF 00 98 */ lfs f7, 0x98(r31) +/* 80096F28 00093E88 C1 1F 00 A0 */ lfs f8, 0xa0(r31) +/* 80096F2C 00093E8C 7F A5 EB 78 */ mr r5, r29 +/* 80096F30 00093E90 38 61 00 1C */ addi r3, r1, 0x1c +/* 80096F34 00093E94 38 81 00 08 */ addi r4, r1, 8 +/* 80096F38 00093E98 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80096F3C 00093E9C 48 00 71 19 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff +/* 80096F40 00093EA0 38 A0 00 02 */ li r5, 2 +/* 80096F44 00093EA4 38 00 00 01 */ li r0, 1 +/* 80096F48 00093EA8 90 A1 00 60 */ stw r5, 0x60(r1) +/* 80096F4C 00093EAC 7F 43 D3 78 */ mr r3, r26 +/* 80096F50 00093EB0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80096F54 00093EB4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80096F58 00093EB8 90 A1 00 68 */ stw r5, 0x68(r1) +/* 80096F5C 00093EBC 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80096F60 00093EC0 90 A1 00 70 */ stw r5, 0x70(r1) +/* 80096F64 00093EC4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80096F68 00093EC8 4B FF FE 45 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState +/* 80096F6C 00093ECC E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80096F70 00093ED0 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80096F74 00093ED4 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80096F78 00093ED8 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80096F7C 00093EDC E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 80096F80 00093EE0 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 80096F84 00093EE4 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 80096F88 00093EE8 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80096F8C 00093EEC 7C 08 03 A6 */ mtlr r0 +/* 80096F90 00093EF0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80096F94 00093EF4 4E 80 00 20 */ blr + +.global BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni +BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni: +/* 80096F98 00093EF8 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80096F9C 00093EFC 7C 08 02 A6 */ mflr r0 +/* 80096FA0 00093F00 90 01 01 24 */ stw r0, 0x124(r1) +/* 80096FA4 00093F04 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 80096FA8 00093F08 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 80096FAC 00093F0C DB C1 01 00 */ stfd f30, 0x100(r1) +/* 80096FB0 00093F10 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 80096FB4 00093F14 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 80096FB8 00093F18 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 80096FBC 00093F1C DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 80096FC0 00093F20 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 80096FC4 00093F24 DB 61 00 D0 */ stfd f27, 0xd0(r1) +/* 80096FC8 00093F28 F3 61 00 D8 */ psq_st f27, 216(r1), 0, qr0 +/* 80096FCC 00093F2C DB 41 00 C0 */ stfd f26, 0xc0(r1) +/* 80096FD0 00093F30 F3 41 00 C8 */ psq_st f26, 200(r1), 0, qr0 +/* 80096FD4 00093F34 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 80096FD8 00093F38 7C BD 2B 78 */ mr r29, r5 +/* 80096FDC 00093F3C 7C 7B 1B 78 */ mr r27, r3 +/* 80096FE0 00093F40 7C 9C 23 78 */ mr r28, r4 +/* 80096FE4 00093F44 7C DF 33 78 */ mr r31, r6 +/* 80096FE8 00093F48 7C FE 3B 78 */ mr r30, r7 +/* 80096FEC 00093F4C 7F A4 EB 78 */ mr r4, r29 +/* 80096FF0 00093F50 38 61 00 2C */ addi r3, r1, 0x2c +/* 80096FF4 00093F54 4B FF F9 FD */ bl GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager +/* 80096FF8 00093F58 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80096FFC 00093F5C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80097000 00093F60 C0 5F 00 04 */ lfs f2, 4(r31) +/* 80097004 00093F64 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80097008 00093F68 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8009700C 00093F6C C0 9F 00 0C */ lfs f4, 0xc(r31) +/* 80097010 00093F70 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 80097014 00093F74 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80097018 00093F78 C0 BF 00 00 */ lfs f5, 0(r31) +/* 8009701C 00093F7C C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80097020 00093F80 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 80097024 00093F84 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80097028 00093F88 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 8009702C 00093F8C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80097030 00093F90 4C 41 13 82 */ cror 2, 1, 2 +/* 80097034 00093F94 40 82 00 0C */ bne lbl_80097040 +/* 80097038 00093F98 38 81 00 2C */ addi r4, r1, 0x2c +/* 8009703C 00093F9C 48 00 00 14 */ b lbl_80097050 +lbl_80097040: +/* 80097040 00093FA0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80097044 00093FA4 38 81 00 2C */ addi r4, r1, 0x2c +/* 80097048 00093FA8 48 27 A3 E9 */ bl BuildEquivalent__11CQuaternionCFv +/* 8009704C 00093FAC 38 81 00 10 */ addi r4, r1, 0x10 +lbl_80097050: +/* 80097050 00093FB0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80097054 00093FB4 7F A3 EB 78 */ mr r3, r29 +/* 80097058 00093FB8 83 ED A1 44 */ lwz r31, gpTweakAutoMapper@sda21(r13) +/* 8009705C 00093FBC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80097060 00093FC0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80097064 00093FC4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80097068 00093FC8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8009706C 00093FCC D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80097070 00093FD0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80097074 00093FD4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80097078 00093FD8 4B FF F1 1D */ bl GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager +/* 8009707C 00093FDC FF 40 08 90 */ fmr f26, f1 +/* 80097080 00093FE0 7F A3 EB 78 */ mr r3, r29 +/* 80097084 00093FE4 4B FF F1 3D */ bl GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager +/* 80097088 00093FE8 FF 60 08 90 */ fmr f27, f1 +/* 8009708C 00093FEC 7F A3 EB 78 */ mr r3, r29 +/* 80097090 00093FF0 4B FF F1 5D */ bl GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager +/* 80097094 00093FF4 FF 80 08 90 */ fmr f28, f1 +/* 80097098 00093FF8 7F A3 EB 78 */ mr r3, r29 +/* 8009709C 00093FFC 4B FF F1 7D */ bl GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager +/* 800970A0 00094000 FF A0 08 90 */ fmr f29, f1 +/* 800970A4 00094004 4B FF F2 11 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +/* 800970A8 00094008 FF C0 08 90 */ fmr f30, f1 +/* 800970AC 0009400C 4B FF F2 09 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +/* 800970B0 00094010 FF E0 08 90 */ fmr f31, f1 +/* 800970B4 00094014 7F 84 E3 78 */ mr r4, r28 +/* 800970B8 00094018 7F A5 EB 78 */ mr r5, r29 +/* 800970BC 0009401C 7F C6 F3 78 */ mr r6, r30 +/* 800970C0 00094020 38 61 00 20 */ addi r3, r1, 0x20 +/* 800970C4 00094024 4B FF F8 95 */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri +/* 800970C8 00094028 38 61 00 08 */ addi r3, r1, 8 +/* 800970CC 0009402C 4B FF F2 21 */ bl GetMiniMapViewportSize__11CAutoMapperFv +/* 800970D0 00094030 FC 60 F8 90 */ fmr f3, f31 +/* 800970D4 00094034 C0 3F 00 28 */ lfs f1, 0x28(r31) +/* 800970D8 00094038 FC 80 F0 90 */ fmr f4, f30 +/* 800970DC 0009403C C0 5F 00 30 */ lfs f2, 0x30(r31) +/* 800970E0 00094040 FC A0 E8 90 */ fmr f5, f29 +/* 800970E4 00094044 38 61 00 4C */ addi r3, r1, 0x4c +/* 800970E8 00094048 FC C0 E0 90 */ fmr f6, f28 +/* 800970EC 0009404C 38 81 00 08 */ addi r4, r1, 8 +/* 800970F0 00094050 FC E0 D8 90 */ fmr f7, f27 +/* 800970F4 00094054 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800970F8 00094058 FD 00 D0 90 */ fmr f8, f26 +/* 800970FC 0009405C 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80097100 00094060 48 00 6F 55 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff +/* 80097104 00094064 38 C0 00 02 */ li r6, 2 +/* 80097108 00094068 38 A0 00 01 */ li r5, 1 +/* 8009710C 0009406C 38 00 00 03 */ li r0, 3 +/* 80097110 00094070 90 C1 00 90 */ stw r6, 0x90(r1) +/* 80097114 00094074 7F 63 DB 78 */ mr r3, r27 +/* 80097118 00094078 38 81 00 4C */ addi r4, r1, 0x4c +/* 8009711C 0009407C 90 C1 00 94 */ stw r6, 0x94(r1) +/* 80097120 00094080 90 C1 00 98 */ stw r6, 0x98(r1) +/* 80097124 00094084 90 A1 00 9C */ stw r5, 0x9c(r1) +/* 80097128 00094088 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 8009712C 0009408C 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 80097130 00094090 4B FF FC 7D */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState +/* 80097134 00094094 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 80097138 00094098 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8009713C 0009409C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 80097140 000940A0 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 80097144 000940A4 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 80097148 000940A8 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 8009714C 000940AC E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 80097150 000940B0 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 80097154 000940B4 E3 61 00 D8 */ psq_l f27, 216(r1), 0, qr0 +/* 80097158 000940B8 CB 61 00 D0 */ lfd f27, 0xd0(r1) +/* 8009715C 000940BC E3 41 00 C8 */ psq_l f26, 200(r1), 0, qr0 +/* 80097160 000940C0 CB 41 00 C0 */ lfd f26, 0xc0(r1) +/* 80097164 000940C4 BB 61 00 AC */ lmw r27, 0xac(r1) +/* 80097168 000940C8 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8009716C 000940CC 7C 08 03 A6 */ mtlr r0 +/* 80097170 000940D0 38 21 01 20 */ addi r1, r1, 0x120 +/* 80097174 000940D4 4E 80 00 20 */ blr + +.global ResetInterpolationTimer__11CAutoMapperFf +ResetInterpolationTimer__11CAutoMapperFf: +/* 80097178 000940D8 D0 23 01 C4 */ stfs f1, 0x1c4(r3) +/* 8009717C 000940DC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 80097180 000940E0 D0 03 01 C8 */ stfs f0, 0x1c8(r3) +/* 80097184 000940E4 4E 80 00 20 */ blr + +.global CompleteMapperStateTransition__11CAutoMapperFv +CompleteMapperStateTransition__11CAutoMapperFv: +/* 80097188 000940E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009718C 000940EC 7C 08 02 A6 */ mflr r0 +/* 80097190 000940F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80097194 000940F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80097198 000940F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009719C 000940FC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800971A0 00094100 7C 9D 23 78 */ mr r29, r4 +/* 800971A4 00094104 93 81 00 10 */ stw r28, 0x10(r1) +/* 800971A8 00094108 7C 7C 1B 78 */ mr r28, r3 +/* 800971AC 0009410C 80 03 01 BC */ lwz r0, 0x1bc(r3) +/* 800971B0 00094110 2C 00 00 02 */ cmpwi r0, 2 +/* 800971B4 00094114 40 82 00 08 */ bne lbl_800971BC +/* 800971B8 00094118 4B FF E8 35 */ bl TransformRenderStatesUniverseToWorld__11CAutoMapperFv +lbl_800971BC: +/* 800971BC 0009411C 80 1C 01 C0 */ lwz r0, 0x1c0(r28) +/* 800971C0 00094120 2C 00 00 01 */ cmpwi r0, 1 +/* 800971C4 00094124 40 82 00 78 */ bne lbl_8009723C +/* 800971C8 00094128 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 800971CC 0009412C 81 83 00 00 */ lwz r12, 0(r3) +/* 800971D0 00094130 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800971D4 00094134 7D 89 03 A6 */ mtctr r12 +/* 800971D8 00094138 4E 80 04 21 */ bctrl +/* 800971DC 0009413C 7C 7E 1B 78 */ mr r30, r3 +/* 800971E0 00094140 48 00 9F A1 */ bl IsMapAreasStreaming__9CMapWorldCFv +/* 800971E4 00094144 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 800971E8 00094148 81 83 00 00 */ lwz r12, 0(r3) +/* 800971EC 0009414C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800971F0 00094150 7D 89 03 A6 */ mtctr r12 +/* 800971F4 00094154 4E 80 04 21 */ bctrl +/* 800971F8 00094158 7C 64 1B 78 */ mr r4, r3 +/* 800971FC 0009415C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80097200 00094160 48 13 C7 D9 */ bl StateForWorld__10CGameStateFUi +/* 80097204 00094164 7C 64 1B 78 */ mr r4, r3 +/* 80097208 00094168 38 61 00 08 */ addi r3, r1, 8 +/* 8009720C 0009416C 48 13 DB 59 */ bl GetMapWorldInfo__11CWorldStateCFv +/* 80097210 00094170 80 81 00 08 */ lwz r4, 8(r1) +/* 80097214 00094174 38 61 00 08 */ addi r3, r1, 8 +/* 80097218 00094178 83 E4 00 00 */ lwz r31, 0(r4) +/* 8009721C 0009417C 4B F7 1A 21 */ bl sub_80008c3c +/* 80097220 00094180 80 BC 00 24 */ lwz r5, 0x24(r28) +/* 80097224 00094184 7F C3 F3 78 */ mr r3, r30 +/* 80097228 00094188 7F E4 FB 78 */ mr r4, r31 +/* 8009722C 0009418C 48 00 86 31 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld +/* 80097230 00094190 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 80097234 00094194 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) +/* 80097238 00094198 D0 1C 01 DC */ stfs f0, 0x1dc(r28) +lbl_8009723C: +/* 8009723C 0009419C 80 1C 01 C0 */ lwz r0, 0x1c0(r28) +/* 80097240 000941A0 2C 00 00 00 */ cmpwi r0, 0 +/* 80097244 000941A4 40 82 00 A4 */ bne lbl_800972E8 +/* 80097248 000941A8 83 FC 00 28 */ lwz r31, 0x28(r28) +/* 8009724C 000941AC 28 1F 00 00 */ cmplwi r31, 0 +/* 80097250 000941B0 41 82 00 1C */ beq lbl_8009726C +/* 80097254 000941B4 41 82 00 10 */ beq lbl_80097264 +/* 80097258 000941B8 7F E3 FB 78 */ mr r3, r31 +/* 8009725C 000941BC 38 80 00 00 */ li r4, 0 +/* 80097260 000941C0 48 2A 9B E1 */ bl __dt__6CTokenFv +lbl_80097264: +/* 80097264 000941C4 7F E3 FB 78 */ mr r3, r31 +/* 80097268 000941C8 48 27 E6 C9 */ bl Free__7CMemoryFPCv +lbl_8009726C: +/* 8009726C 000941CC 38 00 00 00 */ li r0, 0 +/* 80097270 000941D0 7F 83 E3 78 */ mr r3, r28 +/* 80097274 000941D4 90 1C 00 28 */ stw r0, 0x28(r28) +/* 80097278 000941D8 38 9C 02 10 */ addi r4, r28, 0x210 +/* 8009727C 000941DC 38 A0 00 00 */ li r5, 0 +/* 80097280 000941E0 90 1C 00 2C */ stw r0, 0x2c(r28) +/* 80097284 000941E4 90 1C 02 FC */ stw r0, 0x2fc(r28) +/* 80097288 000941E8 90 1C 03 00 */ stw r0, 0x300(r28) +/* 8009728C 000941EC 90 1C 03 04 */ stw r0, 0x304(r28) +/* 80097290 000941F0 90 1C 03 08 */ stw r0, 0x308(r28) +/* 80097294 000941F4 90 1C 02 F8 */ stw r0, 0x2f8(r28) +/* 80097298 000941F8 90 1C 03 0C */ stw r0, 0x30c(r28) +/* 8009729C 000941FC 90 1C 03 10 */ stw r0, 0x310(r28) +/* 800972A0 00094200 90 1C 03 14 */ stw r0, 0x314(r28) +/* 800972A4 00094204 48 00 61 A5 */ bl "SetResLockState,9>>__11CAutoMapperFv" +/* 800972A8 00094208 7F 83 E3 78 */ mr r3, r28 +/* 800972AC 0009420C 38 9C 02 5C */ addi r4, r28, 0x25c +/* 800972B0 00094210 38 A0 00 00 */ li r5, 0 +/* 800972B4 00094214 48 00 61 95 */ bl "SetResLockState,9>>__11CAutoMapperFv" +/* 800972B8 00094218 7F 83 E3 78 */ mr r3, r28 +/* 800972BC 0009421C 38 9C 02 A8 */ addi r4, r28, 0x2a8 +/* 800972C0 00094220 38 A0 00 00 */ li r5, 0 +/* 800972C4 00094224 48 00 61 09 */ bl "SetResLockState,2>>__11CAutoMapperFv" +/* 800972C8 00094228 7F 83 E3 78 */ mr r3, r28 +/* 800972CC 0009422C 38 9C 02 BC */ addi r4, r28, 0x2bc +/* 800972D0 00094230 38 A0 00 00 */ li r5, 0 +/* 800972D4 00094234 48 00 60 F9 */ bl "SetResLockState,2>>__11CAutoMapperFv" +/* 800972D8 00094238 7F 83 E3 78 */ mr r3, r28 +/* 800972DC 0009423C 38 9C 02 D0 */ addi r4, r28, 0x2d0 +/* 800972E0 00094240 38 A0 00 00 */ li r5, 0 +/* 800972E4 00094244 48 00 60 E9 */ bl "SetResLockState,2>>__11CAutoMapperFv" +lbl_800972E8: +/* 800972E8 00094248 80 1C 01 C0 */ lwz r0, 0x1c0(r28) +/* 800972EC 0009424C 2C 00 00 02 */ cmpwi r0, 2 +/* 800972F0 00094250 40 82 00 1C */ bne lbl_8009730C +/* 800972F4 00094254 80 1C 03 28 */ lwz r0, 0x328(r28) +/* 800972F8 00094258 2C 00 00 01 */ cmpwi r0, 1 +/* 800972FC 0009425C 40 82 00 10 */ bne lbl_8009730C +/* 80097300 00094260 7F 83 E3 78 */ mr r3, r28 +/* 80097304 00094264 7F A4 EB 78 */ mr r4, r29 +/* 80097308 00094268 4B FF E3 DD */ bl LeaveMapScreen__11CAutoMapperCFRC13CStateManager +lbl_8009730C: +/* 8009730C 0009426C 80 1C 01 C0 */ lwz r0, 0x1c0(r28) +/* 80097310 00094270 90 1C 01 BC */ stw r0, 0x1bc(r28) +/* 80097314 00094274 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80097318 00094278 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009731C 0009427C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80097320 00094280 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80097324 00094284 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80097328 00094288 7C 08 03 A6 */ mtlr r0 +/* 8009732C 0009428C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80097330 00094290 4E 80 00 20 */ blr + +.global BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager +BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager: +/* 80097334 00094294 94 21 FD F0 */ stwu r1, -0x210(r1) +/* 80097338 00094298 7C 08 02 A6 */ mflr r0 +/* 8009733C 0009429C 90 01 02 14 */ stw r0, 0x214(r1) +/* 80097340 000942A0 BF 61 01 FC */ stmw r27, 0x1fc(r1) +/* 80097344 000942A4 7C 9E 23 78 */ mr r30, r4 +/* 80097348 000942A8 7C 7C 1B 78 */ mr r28, r3 +/* 8009734C 000942AC 7C BD 2B 78 */ mr r29, r5 +/* 80097350 000942B0 80 03 01 C0 */ lwz r0, 0x1c0(r3) +/* 80097354 000942B4 7C 1E 00 00 */ cmpw r30, r0 +/* 80097358 000942B8 41 82 09 14 */ beq lbl_80097C6C +/* 8009735C 000942BC 2C 1E 00 00 */ cmpwi r30, 0 +/* 80097360 000942C0 40 82 00 0C */ bne lbl_8009736C +/* 80097364 000942C4 2C 00 00 00 */ cmpwi r0, 0 +/* 80097368 000942C8 40 82 00 14 */ bne lbl_8009737C +lbl_8009736C: +/* 8009736C 000942CC 2C 1E 00 00 */ cmpwi r30, 0 +/* 80097370 000942D0 41 82 00 14 */ beq lbl_80097384 +/* 80097374 000942D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80097378 000942D8 40 82 00 0C */ bne lbl_80097384 +lbl_8009737C: +/* 8009737C 000942DC 38 60 00 02 */ li r3, 2 +/* 80097380 000942E0 48 25 27 35 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels +lbl_80097384: +/* 80097384 000942E4 80 1C 01 C0 */ lwz r0, 0x1c0(r28) +/* 80097388 000942E8 90 1C 01 BC */ stw r0, 0x1bc(r28) +/* 8009738C 000942EC 93 DC 01 C0 */ stw r30, 0x1c0(r28) +/* 80097390 000942F0 80 7C 00 A8 */ lwz r3, 0xa8(r28) +/* 80097394 000942F4 80 1C 00 AC */ lwz r0, 0xac(r28) +/* 80097398 000942F8 90 7C 01 60 */ stw r3, 0x160(r28) +/* 8009739C 000942FC 90 1C 01 64 */ stw r0, 0x164(r28) +/* 800973A0 00094300 80 7C 00 B0 */ lwz r3, 0xb0(r28) +/* 800973A4 00094304 80 1C 00 B4 */ lwz r0, 0xb4(r28) +/* 800973A8 00094308 90 7C 01 68 */ stw r3, 0x168(r28) +/* 800973AC 0009430C 90 1C 01 6C */ stw r0, 0x16c(r28) +/* 800973B0 00094310 80 7C 00 B8 */ lwz r3, 0xb8(r28) +/* 800973B4 00094314 80 1C 00 BC */ lwz r0, 0xbc(r28) +/* 800973B8 00094318 90 7C 01 70 */ stw r3, 0x170(r28) +/* 800973BC 0009431C 90 1C 01 74 */ stw r0, 0x174(r28) +/* 800973C0 00094320 C0 1C 00 C0 */ lfs f0, 0xc0(r28) +/* 800973C4 00094324 D0 1C 01 78 */ stfs f0, 0x178(r28) +/* 800973C8 00094328 C0 1C 00 C4 */ lfs f0, 0xc4(r28) +/* 800973CC 0009432C D0 1C 01 7C */ stfs f0, 0x17c(r28) +/* 800973D0 00094330 80 7C 00 C8 */ lwz r3, 0xc8(r28) +/* 800973D4 00094334 80 1C 00 CC */ lwz r0, 0xcc(r28) +/* 800973D8 00094338 90 7C 01 80 */ stw r3, 0x180(r28) +/* 800973DC 0009433C 90 1C 01 84 */ stw r0, 0x184(r28) +/* 800973E0 00094340 80 1C 00 D0 */ lwz r0, 0xd0(r28) +/* 800973E4 00094344 90 1C 01 88 */ stw r0, 0x188(r28) +/* 800973E8 00094348 C0 1C 00 D4 */ lfs f0, 0xd4(r28) +/* 800973EC 0009434C D0 1C 01 8C */ stfs f0, 0x18c(r28) +/* 800973F0 00094350 C0 1C 00 D8 */ lfs f0, 0xd8(r28) +/* 800973F4 00094354 D0 1C 01 90 */ stfs f0, 0x190(r28) +/* 800973F8 00094358 C0 1C 00 DC */ lfs f0, 0xdc(r28) +/* 800973FC 0009435C D0 1C 01 94 */ stfs f0, 0x194(r28) +/* 80097400 00094360 C0 1C 00 E0 */ lfs f0, 0xe0(r28) +/* 80097404 00094364 D0 1C 01 98 */ stfs f0, 0x198(r28) +/* 80097408 00094368 C0 1C 00 E4 */ lfs f0, 0xe4(r28) +/* 8009740C 0009436C D0 1C 01 9C */ stfs f0, 0x19c(r28) +/* 80097410 00094370 C0 1C 00 E8 */ lfs f0, 0xe8(r28) +/* 80097414 00094374 D0 1C 01 A0 */ stfs f0, 0x1a0(r28) +/* 80097418 00094378 80 1C 00 EC */ lwz r0, 0xec(r28) +/* 8009741C 0009437C 90 1C 01 A4 */ stw r0, 0x1a4(r28) +/* 80097420 00094380 80 1C 00 F0 */ lwz r0, 0xf0(r28) +/* 80097424 00094384 90 1C 01 A8 */ stw r0, 0x1a8(r28) +/* 80097428 00094388 80 1C 00 F4 */ lwz r0, 0xf4(r28) +/* 8009742C 0009438C 90 1C 01 AC */ stw r0, 0x1ac(r28) +/* 80097430 00094390 80 1C 00 F8 */ lwz r0, 0xf8(r28) +/* 80097434 00094394 90 1C 01 B0 */ stw r0, 0x1b0(r28) +/* 80097438 00094398 80 1C 00 FC */ lwz r0, 0xfc(r28) +/* 8009743C 0009439C 90 1C 01 B4 */ stw r0, 0x1b4(r28) +/* 80097440 000943A0 80 1C 01 00 */ lwz r0, 0x100(r28) +/* 80097444 000943A4 90 1C 01 B8 */ stw r0, 0x1b8(r28) +/* 80097448 000943A8 80 7C 00 A8 */ lwz r3, 0xa8(r28) +/* 8009744C 000943AC 80 1C 00 AC */ lwz r0, 0xac(r28) +/* 80097450 000943B0 90 7C 01 04 */ stw r3, 0x104(r28) +/* 80097454 000943B4 90 1C 01 08 */ stw r0, 0x108(r28) +/* 80097458 000943B8 80 7C 00 B0 */ lwz r3, 0xb0(r28) +/* 8009745C 000943BC 80 1C 00 B4 */ lwz r0, 0xb4(r28) +/* 80097460 000943C0 90 7C 01 0C */ stw r3, 0x10c(r28) +/* 80097464 000943C4 90 1C 01 10 */ stw r0, 0x110(r28) +/* 80097468 000943C8 80 7C 00 B8 */ lwz r3, 0xb8(r28) +/* 8009746C 000943CC 80 1C 00 BC */ lwz r0, 0xbc(r28) +/* 80097470 000943D0 90 7C 01 14 */ stw r3, 0x114(r28) +/* 80097474 000943D4 90 1C 01 18 */ stw r0, 0x118(r28) +/* 80097478 000943D8 C0 1C 00 C0 */ lfs f0, 0xc0(r28) +/* 8009747C 000943DC D0 1C 01 1C */ stfs f0, 0x11c(r28) +/* 80097480 000943E0 C0 1C 00 C4 */ lfs f0, 0xc4(r28) +/* 80097484 000943E4 D0 1C 01 20 */ stfs f0, 0x120(r28) +/* 80097488 000943E8 80 7C 00 C8 */ lwz r3, 0xc8(r28) +/* 8009748C 000943EC 80 1C 00 CC */ lwz r0, 0xcc(r28) +/* 80097490 000943F0 90 7C 01 24 */ stw r3, 0x124(r28) +/* 80097494 000943F4 90 1C 01 28 */ stw r0, 0x128(r28) +/* 80097498 000943F8 80 1C 00 D0 */ lwz r0, 0xd0(r28) +/* 8009749C 000943FC 90 1C 01 2C */ stw r0, 0x12c(r28) +/* 800974A0 00094400 C0 1C 00 D4 */ lfs f0, 0xd4(r28) +/* 800974A4 00094404 D0 1C 01 30 */ stfs f0, 0x130(r28) +/* 800974A8 00094408 C0 1C 00 D8 */ lfs f0, 0xd8(r28) +/* 800974AC 0009440C D0 1C 01 34 */ stfs f0, 0x134(r28) +/* 800974B0 00094410 C0 1C 00 DC */ lfs f0, 0xdc(r28) +/* 800974B4 00094414 D0 1C 01 38 */ stfs f0, 0x138(r28) +/* 800974B8 00094418 C0 1C 00 E0 */ lfs f0, 0xe0(r28) +/* 800974BC 0009441C D0 1C 01 3C */ stfs f0, 0x13c(r28) +/* 800974C0 00094420 C0 1C 00 E4 */ lfs f0, 0xe4(r28) +/* 800974C4 00094424 D0 1C 01 40 */ stfs f0, 0x140(r28) +/* 800974C8 00094428 C0 1C 00 E8 */ lfs f0, 0xe8(r28) +/* 800974CC 0009442C D0 1C 01 44 */ stfs f0, 0x144(r28) +/* 800974D0 00094430 80 1C 00 EC */ lwz r0, 0xec(r28) +/* 800974D4 00094434 90 1C 01 48 */ stw r0, 0x148(r28) +/* 800974D8 00094438 80 1C 00 F0 */ lwz r0, 0xf0(r28) +/* 800974DC 0009443C 90 1C 01 4C */ stw r0, 0x14c(r28) +/* 800974E0 00094440 80 1C 00 F4 */ lwz r0, 0xf4(r28) +/* 800974E4 00094444 90 1C 01 50 */ stw r0, 0x150(r28) +/* 800974E8 00094448 80 1C 00 F8 */ lwz r0, 0xf8(r28) +/* 800974EC 0009444C 90 1C 01 54 */ stw r0, 0x154(r28) +/* 800974F0 00094450 80 1C 00 FC */ lwz r0, 0xfc(r28) +/* 800974F4 00094454 90 1C 01 58 */ stw r0, 0x158(r28) +/* 800974F8 00094458 80 1C 01 00 */ lwz r0, 0x100(r28) +/* 800974FC 0009445C 90 1C 01 5C */ stw r0, 0x15c(r28) +/* 80097500 00094460 80 1C 01 BC */ lwz r0, 0x1bc(r28) +/* 80097504 00094464 2C 00 00 00 */ cmpwi r0, 0 +/* 80097508 00094468 40 82 00 F4 */ bne lbl_800975FC +/* 8009750C 0009446C 2C 1E 00 01 */ cmpwi r30, 1 +/* 80097510 00094470 40 82 00 EC */ bne lbl_800975FC +/* 80097514 00094474 80 FC 00 A0 */ lwz r7, 0xa0(r28) +/* 80097518 00094478 7F 84 E3 78 */ mr r4, r28 +/* 8009751C 0009447C 7F A5 EB 78 */ mr r5, r29 +/* 80097520 00094480 38 61 01 98 */ addi r3, r1, 0x198 +/* 80097524 00094484 38 DC 00 B0 */ addi r6, r28, 0xb0 +/* 80097528 00094488 39 00 00 00 */ li r8, 0 +/* 8009752C 0009448C 4B FF F9 3D */ bl BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni +/* 80097530 00094490 80 81 01 98 */ lwz r4, 0x198(r1) +/* 80097534 00094494 7F 83 E3 78 */ mr r3, r28 +/* 80097538 00094498 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 8009753C 0009449C 90 9C 01 04 */ stw r4, 0x104(r28) +/* 80097540 000944A0 90 1C 01 08 */ stw r0, 0x108(r28) +/* 80097544 000944A4 80 81 01 A0 */ lwz r4, 0x1a0(r1) +/* 80097548 000944A8 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 8009754C 000944AC 90 9C 01 0C */ stw r4, 0x10c(r28) +/* 80097550 000944B0 90 1C 01 10 */ stw r0, 0x110(r28) +/* 80097554 000944B4 80 81 01 A8 */ lwz r4, 0x1a8(r1) +/* 80097558 000944B8 80 01 01 AC */ lwz r0, 0x1ac(r1) +/* 8009755C 000944BC 90 9C 01 14 */ stw r4, 0x114(r28) +/* 80097560 000944C0 90 1C 01 18 */ stw r0, 0x118(r28) +/* 80097564 000944C4 C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 80097568 000944C8 D0 1C 01 1C */ stfs f0, 0x11c(r28) +/* 8009756C 000944CC C0 01 01 B4 */ lfs f0, 0x1b4(r1) +/* 80097570 000944D0 D0 1C 01 20 */ stfs f0, 0x120(r28) +/* 80097574 000944D4 80 81 01 B8 */ lwz r4, 0x1b8(r1) +/* 80097578 000944D8 80 01 01 BC */ lwz r0, 0x1bc(r1) +/* 8009757C 000944DC 90 9C 01 24 */ stw r4, 0x124(r28) +/* 80097580 000944E0 90 1C 01 28 */ stw r0, 0x128(r28) +/* 80097584 000944E4 80 01 01 C0 */ lwz r0, 0x1c0(r1) +/* 80097588 000944E8 90 1C 01 2C */ stw r0, 0x12c(r28) +/* 8009758C 000944EC C0 01 01 C4 */ lfs f0, 0x1c4(r1) +/* 80097590 000944F0 D0 1C 01 30 */ stfs f0, 0x130(r28) +/* 80097594 000944F4 C0 01 01 C8 */ lfs f0, 0x1c8(r1) +/* 80097598 000944F8 D0 1C 01 34 */ stfs f0, 0x134(r28) +/* 8009759C 000944FC C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 800975A0 00094500 D0 1C 01 38 */ stfs f0, 0x138(r28) +/* 800975A4 00094504 C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 800975A8 00094508 D0 1C 01 3C */ stfs f0, 0x13c(r28) +/* 800975AC 0009450C C0 01 01 D4 */ lfs f0, 0x1d4(r1) +/* 800975B0 00094510 D0 1C 01 40 */ stfs f0, 0x140(r28) +/* 800975B4 00094514 C0 01 01 D8 */ lfs f0, 0x1d8(r1) +/* 800975B8 00094518 D0 1C 01 44 */ stfs f0, 0x144(r28) +/* 800975BC 0009451C 80 01 01 DC */ lwz r0, 0x1dc(r1) +/* 800975C0 00094520 90 1C 01 48 */ stw r0, 0x148(r28) +/* 800975C4 00094524 80 01 01 E0 */ lwz r0, 0x1e0(r1) +/* 800975C8 00094528 90 1C 01 4C */ stw r0, 0x14c(r28) +/* 800975CC 0009452C 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 800975D0 00094530 90 1C 01 50 */ stw r0, 0x150(r28) +/* 800975D4 00094534 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800975D8 00094538 90 1C 01 54 */ stw r0, 0x154(r28) +/* 800975DC 0009453C 80 01 01 EC */ lwz r0, 0x1ec(r1) +/* 800975E0 00094540 90 1C 01 58 */ stw r0, 0x158(r28) +/* 800975E4 00094544 80 01 01 F0 */ lwz r0, 0x1f0(r1) +/* 800975E8 00094548 90 1C 01 5C */ stw r0, 0x15c(r28) +/* 800975EC 0009454C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 800975F0 00094550 C0 24 00 64 */ lfs f1, 0x64(r4) +/* 800975F4 00094554 4B FF FB 85 */ bl ResetInterpolationTimer__11CAutoMapperFf +/* 800975F8 00094558 48 00 06 74 */ b lbl_80097C6C +lbl_800975FC: +/* 800975FC 0009455C 2C 00 00 01 */ cmpwi r0, 1 +/* 80097600 00094560 40 82 01 30 */ bne lbl_80097730 +/* 80097604 00094564 2C 1E 00 00 */ cmpwi r30, 0 +/* 80097608 00094568 40 82 01 28 */ bne lbl_80097730 +/* 8009760C 0009456C 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 80097610 00094570 38 61 00 14 */ addi r3, r1, 0x14 +/* 80097614 00094574 81 84 00 00 */ lwz r12, 0(r4) +/* 80097618 00094578 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8009761C 0009457C 7D 89 03 A6 */ mtctr r12 +/* 80097620 00094580 4E 80 04 21 */ bctrl +/* 80097624 00094584 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80097628 00094588 7F 84 E3 78 */ mr r4, r28 +/* 8009762C 0009458C 7F A5 EB 78 */ mr r5, r29 +/* 80097630 00094590 38 61 01 3C */ addi r3, r1, 0x13c +/* 80097634 00094594 90 1C 00 A0 */ stw r0, 0xa0(r28) +/* 80097638 00094598 38 DC 00 B0 */ addi r6, r28, 0xb0 +/* 8009763C 0009459C 80 FC 00 A0 */ lwz r7, 0xa0(r28) +/* 80097640 000945A0 4B FF F9 59 */ bl BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni +/* 80097644 000945A4 80 81 01 3C */ lwz r4, 0x13c(r1) +/* 80097648 000945A8 7F 83 E3 78 */ mr r3, r28 +/* 8009764C 000945AC 80 01 01 40 */ lwz r0, 0x140(r1) +/* 80097650 000945B0 90 9C 01 04 */ stw r4, 0x104(r28) +/* 80097654 000945B4 90 1C 01 08 */ stw r0, 0x108(r28) +/* 80097658 000945B8 80 81 01 44 */ lwz r4, 0x144(r1) +/* 8009765C 000945BC 80 01 01 48 */ lwz r0, 0x148(r1) +/* 80097660 000945C0 90 9C 01 0C */ stw r4, 0x10c(r28) +/* 80097664 000945C4 90 1C 01 10 */ stw r0, 0x110(r28) +/* 80097668 000945C8 80 81 01 4C */ lwz r4, 0x14c(r1) +/* 8009766C 000945CC 80 01 01 50 */ lwz r0, 0x150(r1) +/* 80097670 000945D0 90 9C 01 14 */ stw r4, 0x114(r28) +/* 80097674 000945D4 90 1C 01 18 */ stw r0, 0x118(r28) +/* 80097678 000945D8 C0 01 01 54 */ lfs f0, 0x154(r1) +/* 8009767C 000945DC D0 1C 01 1C */ stfs f0, 0x11c(r28) +/* 80097680 000945E0 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 80097684 000945E4 D0 1C 01 20 */ stfs f0, 0x120(r28) +/* 80097688 000945E8 80 81 01 5C */ lwz r4, 0x15c(r1) +/* 8009768C 000945EC 80 01 01 60 */ lwz r0, 0x160(r1) +/* 80097690 000945F0 90 9C 01 24 */ stw r4, 0x124(r28) +/* 80097694 000945F4 90 1C 01 28 */ stw r0, 0x128(r28) +/* 80097698 000945F8 80 01 01 64 */ lwz r0, 0x164(r1) +/* 8009769C 000945FC 90 1C 01 2C */ stw r0, 0x12c(r28) +/* 800976A0 00094600 C0 01 01 68 */ lfs f0, 0x168(r1) +/* 800976A4 00094604 D0 1C 01 30 */ stfs f0, 0x130(r28) +/* 800976A8 00094608 C0 01 01 6C */ lfs f0, 0x16c(r1) +/* 800976AC 0009460C D0 1C 01 34 */ stfs f0, 0x134(r28) +/* 800976B0 00094610 C0 01 01 70 */ lfs f0, 0x170(r1) +/* 800976B4 00094614 D0 1C 01 38 */ stfs f0, 0x138(r28) +/* 800976B8 00094618 C0 01 01 74 */ lfs f0, 0x174(r1) +/* 800976BC 0009461C D0 1C 01 3C */ stfs f0, 0x13c(r28) +/* 800976C0 00094620 C0 01 01 78 */ lfs f0, 0x178(r1) +/* 800976C4 00094624 D0 1C 01 40 */ stfs f0, 0x140(r28) +/* 800976C8 00094628 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 800976CC 0009462C D0 1C 01 44 */ stfs f0, 0x144(r28) +/* 800976D0 00094630 80 01 01 80 */ lwz r0, 0x180(r1) +/* 800976D4 00094634 90 1C 01 48 */ stw r0, 0x148(r28) +/* 800976D8 00094638 80 01 01 84 */ lwz r0, 0x184(r1) +/* 800976DC 0009463C 90 1C 01 4C */ stw r0, 0x14c(r28) +/* 800976E0 00094640 80 01 01 88 */ lwz r0, 0x188(r1) +/* 800976E4 00094644 90 1C 01 50 */ stw r0, 0x150(r28) +/* 800976E8 00094648 80 01 01 8C */ lwz r0, 0x18c(r1) +/* 800976EC 0009464C 90 1C 01 54 */ stw r0, 0x154(r28) +/* 800976F0 00094650 80 01 01 90 */ lwz r0, 0x190(r1) +/* 800976F4 00094654 90 1C 01 58 */ stw r0, 0x158(r28) +/* 800976F8 00094658 80 01 01 94 */ lwz r0, 0x194(r1) +/* 800976FC 0009465C 90 1C 01 5C */ stw r0, 0x15c(r28) +/* 80097700 00094660 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80097704 00094664 C0 24 00 68 */ lfs f1, 0x68(r4) +/* 80097708 00094668 4B FF FA 71 */ bl ResetInterpolationTimer__11CAutoMapperFf +/* 8009770C 0009466C 83 7C 02 00 */ lwz r27, 0x200(r28) +/* 80097710 00094670 80 9C 01 FC */ lwz r4, 0x1fc(r28) +/* 80097714 00094674 48 00 00 10 */ b lbl_80097724 +lbl_80097718: +/* 80097718 00094678 38 7C 01 F8 */ addi r3, r28, 0x1f8 +/* 8009771C 0009467C 48 00 6B D9 */ bl sub_8009e2f4 +/* 80097720 00094680 7C 64 1B 78 */ mr r4, r3 +lbl_80097724: +/* 80097724 00094684 7C 04 D8 40 */ cmplw r4, r27 +/* 80097728 00094688 40 82 FF F0 */ bne lbl_80097718 +/* 8009772C 0009468C 48 00 05 40 */ b lbl_80097C6C +lbl_80097730: +/* 80097730 00094690 2C 00 00 01 */ cmpwi r0, 1 +/* 80097734 00094694 40 82 01 1C */ bne lbl_80097850 +/* 80097738 00094698 2C 1E 00 02 */ cmpwi r30, 2 +/* 8009773C 0009469C 40 82 01 14 */ bne lbl_80097850 +/* 80097740 000946A0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80097744 000946A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80097748 000946A8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8009774C 000946AC 38 80 05 92 */ li r4, 0x592 +/* 80097750 000946B0 38 A0 00 7F */ li r5, 0x7f +/* 80097754 000946B4 38 C0 00 40 */ li r6, 0x40 +/* 80097758 000946B8 38 E0 00 00 */ li r7, 0 +/* 8009775C 000946BC 39 20 00 00 */ li r9, 0 +/* 80097760 000946C0 48 25 26 15 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80097764 000946C4 80 FC 00 A0 */ lwz r7, 0xa0(r28) +/* 80097768 000946C8 7F 84 E3 78 */ mr r4, r28 +/* 8009776C 000946CC 7F A5 EB 78 */ mr r5, r29 +/* 80097770 000946D0 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80097774 000946D4 38 DC 00 B0 */ addi r6, r28, 0xb0 +/* 80097778 000946D8 4B FF F5 35 */ bl BuildMapScreenUniverseRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni +/* 8009777C 000946DC 80 81 00 E0 */ lwz r4, 0xe0(r1) +/* 80097780 000946E0 7F 83 E3 78 */ mr r3, r28 +/* 80097784 000946E4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80097788 000946E8 90 9C 01 04 */ stw r4, 0x104(r28) +/* 8009778C 000946EC 90 1C 01 08 */ stw r0, 0x108(r28) +/* 80097790 000946F0 80 81 00 E8 */ lwz r4, 0xe8(r1) +/* 80097794 000946F4 80 01 00 EC */ lwz r0, 0xec(r1) +/* 80097798 000946F8 90 9C 01 0C */ stw r4, 0x10c(r28) +/* 8009779C 000946FC 90 1C 01 10 */ stw r0, 0x110(r28) +/* 800977A0 00094700 80 81 00 F0 */ lwz r4, 0xf0(r1) +/* 800977A4 00094704 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800977A8 00094708 90 9C 01 14 */ stw r4, 0x114(r28) +/* 800977AC 0009470C 90 1C 01 18 */ stw r0, 0x118(r28) +/* 800977B0 00094710 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 800977B4 00094714 D0 1C 01 1C */ stfs f0, 0x11c(r28) +/* 800977B8 00094718 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 800977BC 0009471C D0 1C 01 20 */ stfs f0, 0x120(r28) +/* 800977C0 00094720 80 81 01 00 */ lwz r4, 0x100(r1) +/* 800977C4 00094724 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800977C8 00094728 90 9C 01 24 */ stw r4, 0x124(r28) +/* 800977CC 0009472C 90 1C 01 28 */ stw r0, 0x128(r28) +/* 800977D0 00094730 80 01 01 08 */ lwz r0, 0x108(r1) +/* 800977D4 00094734 90 1C 01 2C */ stw r0, 0x12c(r28) +/* 800977D8 00094738 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 800977DC 0009473C D0 1C 01 30 */ stfs f0, 0x130(r28) +/* 800977E0 00094740 C0 01 01 10 */ lfs f0, 0x110(r1) +/* 800977E4 00094744 D0 1C 01 34 */ stfs f0, 0x134(r28) +/* 800977E8 00094748 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 800977EC 0009474C D0 1C 01 38 */ stfs f0, 0x138(r28) +/* 800977F0 00094750 C0 01 01 18 */ lfs f0, 0x118(r1) +/* 800977F4 00094754 D0 1C 01 3C */ stfs f0, 0x13c(r28) +/* 800977F8 00094758 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 800977FC 0009475C D0 1C 01 40 */ stfs f0, 0x140(r28) +/* 80097800 00094760 C0 01 01 20 */ lfs f0, 0x120(r1) +/* 80097804 00094764 D0 1C 01 44 */ stfs f0, 0x144(r28) +/* 80097808 00094768 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8009780C 0009476C 90 1C 01 48 */ stw r0, 0x148(r28) +/* 80097810 00094770 80 01 01 28 */ lwz r0, 0x128(r1) +/* 80097814 00094774 90 1C 01 4C */ stw r0, 0x14c(r28) +/* 80097818 00094778 80 01 01 2C */ lwz r0, 0x12c(r1) +/* 8009781C 0009477C 90 1C 01 50 */ stw r0, 0x150(r28) +/* 80097820 00094780 80 01 01 30 */ lwz r0, 0x130(r1) +/* 80097824 00094784 90 1C 01 54 */ stw r0, 0x154(r28) +/* 80097828 00094788 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8009782C 0009478C 90 1C 01 58 */ stw r0, 0x158(r28) +/* 80097830 00094790 80 01 01 38 */ lwz r0, 0x138(r1) +/* 80097834 00094794 90 1C 01 5C */ stw r0, 0x15c(r28) +/* 80097838 00094798 4B FF E3 3D */ bl TransformRenderStatesWorldToUniverse__11CAutoMapperFv +/* 8009783C 0009479C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80097840 000947A0 7F 83 E3 78 */ mr r3, r28 +/* 80097844 000947A4 C0 24 00 DC */ lfs f1, 0xdc(r4) +/* 80097848 000947A8 4B FF F9 31 */ bl ResetInterpolationTimer__11CAutoMapperFf +/* 8009784C 000947AC 48 00 04 20 */ b lbl_80097C6C +lbl_80097850: +/* 80097850 000947B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80097854 000947B4 40 82 02 04 */ bne lbl_80097A58 +/* 80097858 000947B8 2C 1E 00 01 */ cmpwi r30, 1 +/* 8009785C 000947BC 40 82 01 FC */ bne lbl_80097A58 +/* 80097860 000947C0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80097864 000947C4 38 61 00 0C */ addi r3, r1, 0xc +/* 80097868 000947C8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8009786C 000947CC 38 80 05 93 */ li r4, 0x593 +/* 80097870 000947D0 38 A0 00 7F */ li r5, 0x7f +/* 80097874 000947D4 38 C0 00 40 */ li r6, 0x40 +/* 80097878 000947D8 38 E0 00 00 */ li r7, 0 +/* 8009787C 000947DC 39 20 00 00 */ li r9, 0 +/* 80097880 000947E0 48 25 24 F5 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80097884 000947E4 80 DC 01 F4 */ lwz r6, 0x1f4(r28) +/* 80097888 000947E8 7F 84 E3 78 */ mr r4, r28 +/* 8009788C 000947EC 80 FC 00 A0 */ lwz r7, 0xa0(r28) +/* 80097890 000947F0 7F A5 EB 78 */ mr r5, r29 +/* 80097894 000947F4 7C 06 00 D0 */ neg r0, r6 +/* 80097898 000947F8 38 61 00 84 */ addi r3, r1, 0x84 +/* 8009789C 000947FC 7C 00 30 78 */ andc r0, r0, r6 +/* 800978A0 00094800 38 DC 00 B0 */ addi r6, r28, 0xb0 +/* 800978A4 00094804 54 08 0F FE */ srwi r8, r0, 0x1f +/* 800978A8 00094808 4B FF F5 C1 */ bl BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni +/* 800978AC 0009480C 80 A1 00 84 */ lwz r5, 0x84(r1) +/* 800978B0 00094810 7F 83 E3 78 */ mr r3, r28 +/* 800978B4 00094814 80 01 00 88 */ lwz r0, 0x88(r1) +/* 800978B8 00094818 38 9C 01 04 */ addi r4, r28, 0x104 +/* 800978BC 0009481C 90 BC 01 04 */ stw r5, 0x104(r28) +/* 800978C0 00094820 90 1C 01 08 */ stw r0, 0x108(r28) +/* 800978C4 00094824 80 A1 00 8C */ lwz r5, 0x8c(r1) +/* 800978C8 00094828 80 01 00 90 */ lwz r0, 0x90(r1) +/* 800978CC 0009482C 90 BC 01 0C */ stw r5, 0x10c(r28) +/* 800978D0 00094830 90 1C 01 10 */ stw r0, 0x110(r28) +/* 800978D4 00094834 80 A1 00 94 */ lwz r5, 0x94(r1) +/* 800978D8 00094838 80 01 00 98 */ lwz r0, 0x98(r1) +/* 800978DC 0009483C 90 BC 01 14 */ stw r5, 0x114(r28) +/* 800978E0 00094840 90 1C 01 18 */ stw r0, 0x118(r28) +/* 800978E4 00094844 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 800978E8 00094848 D0 1C 01 1C */ stfs f0, 0x11c(r28) +/* 800978EC 0009484C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 800978F0 00094850 D0 1C 01 20 */ stfs f0, 0x120(r28) +/* 800978F4 00094854 80 A1 00 A4 */ lwz r5, 0xa4(r1) +/* 800978F8 00094858 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 800978FC 0009485C 90 BC 01 24 */ stw r5, 0x124(r28) +/* 80097900 00094860 90 1C 01 28 */ stw r0, 0x128(r28) +/* 80097904 00094864 80 01 00 AC */ lwz r0, 0xac(r1) +/* 80097908 00094868 90 1C 01 2C */ stw r0, 0x12c(r28) +/* 8009790C 0009486C C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 80097910 00094870 D0 1C 01 30 */ stfs f0, 0x130(r28) +/* 80097914 00094874 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80097918 00094878 D0 1C 01 34 */ stfs f0, 0x134(r28) +/* 8009791C 0009487C C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 80097920 00094880 D0 1C 01 38 */ stfs f0, 0x138(r28) +/* 80097924 00094884 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80097928 00094888 D0 1C 01 3C */ stfs f0, 0x13c(r28) +/* 8009792C 0009488C C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 80097930 00094890 D0 1C 01 40 */ stfs f0, 0x140(r28) +/* 80097934 00094894 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80097938 00094898 D0 1C 01 44 */ stfs f0, 0x144(r28) +/* 8009793C 0009489C 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 80097940 000948A0 90 1C 01 48 */ stw r0, 0x148(r28) +/* 80097944 000948A4 80 01 00 CC */ lwz r0, 0xcc(r1) +/* 80097948 000948A8 90 1C 01 4C */ stw r0, 0x14c(r28) +/* 8009794C 000948AC 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 80097950 000948B0 90 1C 01 50 */ stw r0, 0x150(r28) +/* 80097954 000948B4 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80097958 000948B8 90 1C 01 54 */ stw r0, 0x154(r28) +/* 8009795C 000948BC 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 80097960 000948C0 90 1C 01 58 */ stw r0, 0x158(r28) +/* 80097964 000948C4 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 80097968 000948C8 90 1C 01 5C */ stw r0, 0x15c(r28) +/* 8009796C 000948CC 4B FF E0 19 */ bl TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState +/* 80097970 000948D0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80097974 000948D4 7F 83 E3 78 */ mr r3, r28 +/* 80097978 000948D8 C0 24 00 DC */ lfs f1, 0xdc(r4) +/* 8009797C 000948DC 4B FF F7 FD */ bl ResetInterpolationTimer__11CAutoMapperFf +/* 80097980 000948E0 3B C0 00 00 */ li r30, 0 +/* 80097984 000948E4 3B E0 00 00 */ li r31, 0 +/* 80097988 000948E8 48 00 00 C0 */ b lbl_80097A48 +lbl_8009798C: +/* 8009798C 000948EC 80 7C 00 20 */ lwz r3, 0x20(r28) +/* 80097990 000948F0 38 1F 00 04 */ addi r0, r31, 4 +/* 80097994 000948F4 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 80097998 000948F8 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8009799C 000948FC 7C 00 20 40 */ cmplw r0, r4 +/* 800979A0 00094900 40 82 00 10 */ bne lbl_800979B0 +/* 800979A4 00094904 80 1D 08 50 */ lwz r0, 0x850(r29) +/* 800979A8 00094908 7C 04 00 40 */ cmplw r4, r0 +/* 800979AC 0009490C 40 82 00 94 */ bne lbl_80097A40 +lbl_800979B0: +/* 800979B0 00094910 38 60 00 00 */ li r3, 0 +/* 800979B4 00094914 38 01 00 20 */ addi r0, r1, 0x20 +/* 800979B8 00094918 98 61 00 20 */ stb r3, 0x20(r1) +/* 800979BC 0009491C 90 61 00 24 */ stw r3, 0x24(r1) +/* 800979C0 00094920 80 7C 00 20 */ lwz r3, 0x20(r28) +/* 800979C4 00094924 7F 63 FA 14 */ add r27, r3, r31 +/* 800979C8 00094928 7C 00 D8 40 */ cmplw r0, r27 +/* 800979CC 0009492C 41 82 00 48 */ beq lbl_80097A14 +/* 800979D0 00094930 88 1B 00 00 */ lbz r0, 0(r27) +/* 800979D4 00094934 28 00 00 00 */ cmplwi r0, 0 +/* 800979D8 00094938 41 82 00 24 */ beq lbl_800979FC +/* 800979DC 0009493C 80 7B 00 04 */ lwz r3, 4(r27) +/* 800979E0 00094940 28 03 00 00 */ cmplwi r3, 0 +/* 800979E4 00094944 41 82 00 18 */ beq lbl_800979FC +/* 800979E8 00094948 81 83 00 00 */ lwz r12, 0(r3) +/* 800979EC 0009494C 38 80 00 01 */ li r4, 1 +/* 800979F0 00094950 81 8C 00 08 */ lwz r12, 8(r12) +/* 800979F4 00094954 7D 89 03 A6 */ mtctr r12 +/* 800979F8 00094958 4E 80 04 21 */ bctrl +lbl_800979FC: +/* 800979FC 0009495C 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80097A00 00094960 38 00 00 00 */ li r0, 0 +/* 80097A04 00094964 98 7B 00 00 */ stb r3, 0(r27) +/* 80097A08 00094968 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80097A0C 0009496C 90 7B 00 04 */ stw r3, 4(r27) +/* 80097A10 00094970 98 01 00 20 */ stb r0, 0x20(r1) +lbl_80097A14: +/* 80097A14 00094974 88 01 00 20 */ lbz r0, 0x20(r1) +/* 80097A18 00094978 28 00 00 00 */ cmplwi r0, 0 +/* 80097A1C 0009497C 41 82 00 24 */ beq lbl_80097A40 +/* 80097A20 00094980 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80097A24 00094984 28 03 00 00 */ cmplwi r3, 0 +/* 80097A28 00094988 41 82 00 18 */ beq lbl_80097A40 +/* 80097A2C 0009498C 81 83 00 00 */ lwz r12, 0(r3) +/* 80097A30 00094990 38 80 00 01 */ li r4, 1 +/* 80097A34 00094994 81 8C 00 08 */ lwz r12, 8(r12) +/* 80097A38 00094998 7D 89 03 A6 */ mtctr r12 +/* 80097A3C 0009499C 4E 80 04 21 */ bctrl +lbl_80097A40: +/* 80097A40 000949A0 3B FF 00 08 */ addi r31, r31, 8 +/* 80097A44 000949A4 3B DE 00 01 */ addi r30, r30, 1 +lbl_80097A48: +/* 80097A48 000949A8 80 1C 00 18 */ lwz r0, 0x18(r28) +/* 80097A4C 000949AC 7C 1E 00 00 */ cmpw r30, r0 +/* 80097A50 000949B0 41 80 FF 3C */ blt lbl_8009798C +/* 80097A54 000949B4 48 00 02 18 */ b lbl_80097C6C +lbl_80097A58: +/* 80097A58 000949B8 2C 00 00 02 */ cmpwi r0, 2 +/* 80097A5C 000949BC 40 82 02 10 */ bne lbl_80097C6C +/* 80097A60 000949C0 2C 1E 00 00 */ cmpwi r30, 0 +/* 80097A64 000949C4 40 82 02 08 */ bne lbl_80097C6C +/* 80097A68 000949C8 80 1D 08 50 */ lwz r0, 0x850(r29) +/* 80097A6C 000949CC 38 61 00 08 */ addi r3, r1, 8 +/* 80097A70 000949D0 90 1C 00 24 */ stw r0, 0x24(r28) +/* 80097A74 000949D4 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 80097A78 000949D8 81 84 00 00 */ lwz r12, 0(r4) +/* 80097A7C 000949DC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80097A80 000949E0 7D 89 03 A6 */ mtctr r12 +/* 80097A84 000949E4 4E 80 04 21 */ bctrl +/* 80097A88 000949E8 80 01 00 08 */ lwz r0, 8(r1) +/* 80097A8C 000949EC 7F 84 E3 78 */ mr r4, r28 +/* 80097A90 000949F0 7F A5 EB 78 */ mr r5, r29 +/* 80097A94 000949F4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80097A98 000949F8 90 1C 00 A0 */ stw r0, 0xa0(r28) +/* 80097A9C 000949FC 38 DC 00 B0 */ addi r6, r28, 0xb0 +/* 80097AA0 00094A00 80 FC 00 A0 */ lwz r7, 0xa0(r28) +/* 80097AA4 00094A04 4B FF F4 F5 */ bl BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni +/* 80097AA8 00094A08 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80097AAC 00094A0C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80097AB0 00094A10 90 7C 01 04 */ stw r3, 0x104(r28) +/* 80097AB4 00094A14 90 1C 01 08 */ stw r0, 0x108(r28) +/* 80097AB8 00094A18 80 61 00 30 */ lwz r3, 0x30(r1) +/* 80097ABC 00094A1C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80097AC0 00094A20 90 7C 01 0C */ stw r3, 0x10c(r28) +/* 80097AC4 00094A24 90 1C 01 10 */ stw r0, 0x110(r28) +/* 80097AC8 00094A28 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80097ACC 00094A2C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80097AD0 00094A30 90 7C 01 14 */ stw r3, 0x114(r28) +/* 80097AD4 00094A34 90 1C 01 18 */ stw r0, 0x118(r28) +/* 80097AD8 00094A38 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80097ADC 00094A3C D0 1C 01 1C */ stfs f0, 0x11c(r28) +/* 80097AE0 00094A40 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80097AE4 00094A44 D0 1C 01 20 */ stfs f0, 0x120(r28) +/* 80097AE8 00094A48 80 61 00 48 */ lwz r3, 0x48(r1) +/* 80097AEC 00094A4C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80097AF0 00094A50 90 7C 01 24 */ stw r3, 0x124(r28) +/* 80097AF4 00094A54 90 1C 01 28 */ stw r0, 0x128(r28) +/* 80097AF8 00094A58 80 01 00 50 */ lwz r0, 0x50(r1) +/* 80097AFC 00094A5C 90 1C 01 2C */ stw r0, 0x12c(r28) +/* 80097B00 00094A60 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80097B04 00094A64 D0 1C 01 30 */ stfs f0, 0x130(r28) +/* 80097B08 00094A68 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80097B0C 00094A6C D0 1C 01 34 */ stfs f0, 0x134(r28) +/* 80097B10 00094A70 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80097B14 00094A74 D0 1C 01 38 */ stfs f0, 0x138(r28) +/* 80097B18 00094A78 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 80097B1C 00094A7C D0 1C 01 3C */ stfs f0, 0x13c(r28) +/* 80097B20 00094A80 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80097B24 00094A84 D0 1C 01 40 */ stfs f0, 0x140(r28) +/* 80097B28 00094A88 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80097B2C 00094A8C D0 1C 01 44 */ stfs f0, 0x144(r28) +/* 80097B30 00094A90 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80097B34 00094A94 90 1C 01 48 */ stw r0, 0x148(r28) +/* 80097B38 00094A98 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80097B3C 00094A9C 90 1C 01 4C */ stw r0, 0x14c(r28) +/* 80097B40 00094AA0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80097B44 00094AA4 90 1C 01 50 */ stw r0, 0x150(r28) +/* 80097B48 00094AA8 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80097B4C 00094AAC 90 1C 01 54 */ stw r0, 0x154(r28) +/* 80097B50 00094AB0 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 80097B54 00094AB4 90 1C 01 58 */ stw r0, 0x158(r28) +/* 80097B58 00094AB8 80 01 00 80 */ lwz r0, 0x80(r1) +/* 80097B5C 00094ABC 90 1C 01 5C */ stw r0, 0x15c(r28) +/* 80097B60 00094AC0 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 80097B64 00094AC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80097B68 00094AC8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80097B6C 00094ACC 7D 89 03 A6 */ mtctr r12 +/* 80097B70 00094AD0 4E 80 04 21 */ bctrl +/* 80097B74 00094AD4 7C 64 1B 78 */ mr r4, r3 +/* 80097B78 00094AD8 7F 83 E3 78 */ mr r3, r28 +/* 80097B7C 00094ADC 4B FF DD C1 */ bl SetCurWorldAssetId__11CAutoMapperFi +/* 80097B80 00094AE0 7F 83 E3 78 */ mr r3, r28 +/* 80097B84 00094AE4 38 9C 01 04 */ addi r4, r28, 0x104 +/* 80097B88 00094AE8 4B FF DD FD */ bl TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState +/* 80097B8C 00094AEC 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80097B90 00094AF0 7F 83 E3 78 */ mr r3, r28 +/* 80097B94 00094AF4 C0 24 00 68 */ lfs f1, 0x68(r4) +/* 80097B98 00094AF8 4B FF F5 E1 */ bl ResetInterpolationTimer__11CAutoMapperFf +/* 80097B9C 00094AFC 83 7C 02 00 */ lwz r27, 0x200(r28) +/* 80097BA0 00094B00 80 9C 01 FC */ lwz r4, 0x1fc(r28) +/* 80097BA4 00094B04 48 00 00 10 */ b lbl_80097BB4 +lbl_80097BA8: +/* 80097BA8 00094B08 38 7C 01 F8 */ addi r3, r28, 0x1f8 +/* 80097BAC 00094B0C 48 00 67 49 */ bl sub_8009e2f4 +/* 80097BB0 00094B10 7C 64 1B 78 */ mr r4, r3 +lbl_80097BB4: +/* 80097BB4 00094B14 7C 04 D8 40 */ cmplw r4, r27 +/* 80097BB8 00094B18 40 82 FF F0 */ bne lbl_80097BA8 +/* 80097BBC 00094B1C 3B A1 00 18 */ addi r29, r1, 0x18 +/* 80097BC0 00094B20 3B E0 00 00 */ li r31, 0 +/* 80097BC4 00094B24 3B C0 00 00 */ li r30, 0 +/* 80097BC8 00094B28 48 00 00 98 */ b lbl_80097C60 +lbl_80097BCC: +/* 80097BCC 00094B2C 38 00 00 00 */ li r0, 0 +/* 80097BD0 00094B30 98 01 00 18 */ stb r0, 0x18(r1) +/* 80097BD4 00094B34 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80097BD8 00094B38 80 1C 00 20 */ lwz r0, 0x20(r28) +/* 80097BDC 00094B3C 7F 60 F2 14 */ add r27, r0, r30 +/* 80097BE0 00094B40 7C 1D D8 40 */ cmplw r29, r27 +/* 80097BE4 00094B44 41 82 00 48 */ beq lbl_80097C2C +/* 80097BE8 00094B48 88 1B 00 00 */ lbz r0, 0(r27) +/* 80097BEC 00094B4C 28 00 00 00 */ cmplwi r0, 0 +/* 80097BF0 00094B50 41 82 00 24 */ beq lbl_80097C14 +/* 80097BF4 00094B54 80 7B 00 04 */ lwz r3, 4(r27) +/* 80097BF8 00094B58 28 03 00 00 */ cmplwi r3, 0 +/* 80097BFC 00094B5C 41 82 00 18 */ beq lbl_80097C14 +/* 80097C00 00094B60 81 83 00 00 */ lwz r12, 0(r3) +/* 80097C04 00094B64 38 80 00 01 */ li r4, 1 +/* 80097C08 00094B68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80097C0C 00094B6C 7D 89 03 A6 */ mtctr r12 +/* 80097C10 00094B70 4E 80 04 21 */ bctrl +lbl_80097C14: +/* 80097C14 00094B74 88 61 00 18 */ lbz r3, 0x18(r1) +/* 80097C18 00094B78 38 00 00 00 */ li r0, 0 +/* 80097C1C 00094B7C 98 7B 00 00 */ stb r3, 0(r27) +/* 80097C20 00094B80 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80097C24 00094B84 90 7B 00 04 */ stw r3, 4(r27) +/* 80097C28 00094B88 98 01 00 18 */ stb r0, 0x18(r1) +lbl_80097C2C: +/* 80097C2C 00094B8C 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80097C30 00094B90 28 00 00 00 */ cmplwi r0, 0 +/* 80097C34 00094B94 41 82 00 24 */ beq lbl_80097C58 +/* 80097C38 00094B98 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80097C3C 00094B9C 28 03 00 00 */ cmplwi r3, 0 +/* 80097C40 00094BA0 41 82 00 18 */ beq lbl_80097C58 +/* 80097C44 00094BA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80097C48 00094BA8 38 80 00 01 */ li r4, 1 +/* 80097C4C 00094BAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80097C50 00094BB0 7D 89 03 A6 */ mtctr r12 +/* 80097C54 00094BB4 4E 80 04 21 */ bctrl +lbl_80097C58: +/* 80097C58 00094BB8 3B DE 00 08 */ addi r30, r30, 8 +/* 80097C5C 00094BBC 3B FF 00 01 */ addi r31, r31, 1 +lbl_80097C60: +/* 80097C60 00094BC0 80 1C 00 18 */ lwz r0, 0x18(r28) +/* 80097C64 00094BC4 7C 1F 00 00 */ cmpw r31, r0 +/* 80097C68 00094BC8 41 80 FF 64 */ blt lbl_80097BCC +lbl_80097C6C: +/* 80097C6C 00094BCC BB 61 01 FC */ lmw r27, 0x1fc(r1) +/* 80097C70 00094BD0 80 01 02 14 */ lwz r0, 0x214(r1) +/* 80097C74 00094BD4 7C 08 03 A6 */ mtlr r0 +/* 80097C78 00094BD8 38 21 02 10 */ addi r1, r1, 0x210 +/* 80097C7C 00094BDC 4E 80 00 20 */ blr + +.global Update__11CAutoMapperFfRC13CStateManager +Update__11CAutoMapperFfRC13CStateManager: +/* 80097C80 00094BE0 94 21 FC C0 */ stwu r1, -0x340(r1) +/* 80097C84 00094BE4 7C 08 02 A6 */ mflr r0 +/* 80097C88 00094BE8 90 01 03 44 */ stw r0, 0x344(r1) +/* 80097C8C 00094BEC DB E1 03 30 */ stfd f31, 0x330(r1) +/* 80097C90 00094BF0 F3 E1 03 38 */ psq_st f31, 824(r1), 0, qr0 +/* 80097C94 00094BF4 DB C1 03 20 */ stfd f30, 0x320(r1) +/* 80097C98 00094BF8 F3 C1 03 28 */ psq_st f30, 808(r1), 0, qr0 +/* 80097C9C 00094BFC 93 E1 03 1C */ stw r31, 0x31c(r1) +/* 80097CA0 00094C00 93 C1 03 18 */ stw r30, 0x318(r1) +/* 80097CA4 00094C04 93 A1 03 14 */ stw r29, 0x314(r1) +/* 80097CA8 00094C08 93 81 03 10 */ stw r28, 0x310(r1) +/* 80097CAC 00094C0C 7C 7F 1B 78 */ mr r31, r3 +/* 80097CB0 00094C10 FF E0 08 90 */ fmr f31, f1 +/* 80097CB4 00094C14 80 03 01 BC */ lwz r0, 0x1bc(r3) +/* 80097CB8 00094C18 7C 9D 23 78 */ mr r29, r4 +/* 80097CBC 00094C1C 38 60 00 00 */ li r3, 0 +/* 80097CC0 00094C20 2C 00 00 00 */ cmpwi r0, 0 +/* 80097CC4 00094C24 41 82 00 14 */ beq lbl_80097CD8 +/* 80097CC8 00094C28 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 80097CCC 00094C2C 2C 00 00 00 */ cmpwi r0, 0 +/* 80097CD0 00094C30 41 82 00 08 */ beq lbl_80097CD8 +/* 80097CD4 00094C34 38 60 00 01 */ li r3, 1 +lbl_80097CD8: +/* 80097CD8 00094C38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80097CDC 00094C3C 41 82 00 44 */ beq lbl_80097D20 +/* 80097CE0 00094C40 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) +/* 80097CE4 00094C44 C8 42 8B B0 */ lfd f2, lbl_805AA8D0@sda21(r2) +/* 80097CE8 00094C48 EC 20 F8 2A */ fadds f1, f0, f31 +/* 80097CEC 00094C4C 48 2F CF C1 */ bl fmod +/* 80097CF0 00094C50 FC 00 08 18 */ frsp f0, f1 +/* 80097CF4 00094C54 C0 22 8B B8 */ lfs f1, lbl_805AA8D8@sda21(r2) +/* 80097CF8 00094C58 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) +/* 80097CFC 00094C5C C0 5F 01 D8 */ lfs f2, 0x1d8(r31) +/* 80097D00 00094C60 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80097D04 00094C64 40 80 00 0C */ bge lbl_80097D10 +/* 80097D08 00094C68 EC 02 08 24 */ fdivs f0, f2, f1 +/* 80097D0C 00094C6C 48 00 00 10 */ b lbl_80097D1C +lbl_80097D10: +/* 80097D10 00094C70 C0 02 8B BC */ lfs f0, lbl_805AA8DC@sda21(r2) +/* 80097D14 00094C74 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80097D18 00094C78 EC 00 08 24 */ fdivs f0, f0, f1 +lbl_80097D1C: +/* 80097D1C 00094C7C D0 1F 01 DC */ stfs f0, 0x1dc(r31) +lbl_80097D20: +/* 80097D20 00094C80 83 DF 00 28 */ lwz r30, 0x28(r31) +/* 80097D24 00094C84 28 1E 00 00 */ cmplwi r30, 0 +/* 80097D28 00094C88 41 82 02 4C */ beq lbl_80097F74 +/* 80097D2C 00094C8C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80097D30 00094C90 28 00 00 00 */ cmplwi r0, 0 +/* 80097D34 00094C94 40 82 02 40 */ bne lbl_80097F74 +/* 80097D38 00094C98 80 1E 00 08 */ lwz r0, 8(r30) +/* 80097D3C 00094C9C 28 00 00 00 */ cmplwi r0, 0 +/* 80097D40 00094CA0 41 82 00 0C */ beq lbl_80097D4C +/* 80097D44 00094CA4 38 60 00 01 */ li r3, 1 +/* 80097D48 00094CA8 48 00 00 3C */ b lbl_80097D84 +lbl_80097D4C: +/* 80097D4C 00094CAC 88 1E 00 04 */ lbz r0, 4(r30) +/* 80097D50 00094CB0 28 00 00 00 */ cmplwi r0, 0 +/* 80097D54 00094CB4 41 82 00 2C */ beq lbl_80097D80 +/* 80097D58 00094CB8 80 7E 00 00 */ lwz r3, 0(r30) +/* 80097D5C 00094CBC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80097D60 00094CC0 28 00 00 00 */ cmplwi r0, 0 +/* 80097D64 00094CC4 41 82 00 1C */ beq lbl_80097D80 +/* 80097D68 00094CC8 7F C3 F3 78 */ mr r3, r30 +/* 80097D6C 00094CCC 48 2A 90 A1 */ bl GetObj__6CTokenFv +/* 80097D70 00094CD0 80 03 00 04 */ lwz r0, 4(r3) +/* 80097D74 00094CD4 38 60 00 01 */ li r3, 1 +/* 80097D78 00094CD8 90 1E 00 08 */ stw r0, 8(r30) +/* 80097D7C 00094CDC 48 00 00 08 */ b lbl_80097D84 +lbl_80097D80: +/* 80097D80 00094CE0 38 60 00 00 */ li r3, 0 +lbl_80097D84: +/* 80097D84 00094CE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80097D88 00094CE8 41 82 01 EC */ beq lbl_80097F74 +/* 80097D8C 00094CEC 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 80097D90 00094CF0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 80097D94 00094CF4 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l +/* 80097D98 00094CF8 80 04 00 08 */ lwz r0, 8(r4) +/* 80097D9C 00094CFC 38 83 00 16 */ addi r4, r3, 0x16 +/* 80097DA0 00094D00 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80097DA4 00094D04 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097DA8 00094D08 48 22 A3 AD */ bl FindWidget__9CGuiFrameCFPCc +/* 80097DAC 00094D0C 7C 7E 1B 78 */ mr r30, r3 +/* 80097DB0 00094D10 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) +/* 80097DB4 00094D14 38 80 00 2A */ li r4, 0x2a +/* 80097DB8 00094D18 48 2B E9 45 */ bl GetString__12CStringTableCFi +/* 80097DBC 00094D1C 7C 64 1B 78 */ mr r4, r3 +/* 80097DC0 00094D20 38 61 01 AC */ addi r3, r1, 0x1ac +/* 80097DC4 00094D24 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80097DC8 00094D28 38 A0 FF FF */ li r5, -1 +/* 80097DCC 00094D2C 48 2A 59 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80097DD0 00094D30 38 7E 00 D4 */ addi r3, r30, 0xd4 +/* 80097DD4 00094D34 38 81 01 AC */ addi r4, r1, 0x1ac +/* 80097DD8 00094D38 38 A0 00 00 */ li r5, 0 +/* 80097DDC 00094D3C 48 23 1A A9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80097DE0 00094D40 38 61 01 AC */ addi r3, r1, 0x1ac +/* 80097DE4 00094D44 48 2A 53 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80097DE8 00094D48 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 80097DEC 00094D4C 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097DF0 00094D50 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 80097DF4 00094D54 38 84 00 24 */ addi r4, r4, 0x24 +/* 80097DF8 00094D58 48 22 A3 5D */ bl FindWidget__9CGuiFrameCFPCc +/* 80097DFC 00094D5C 7C 7E 1B 78 */ mr r30, r3 +/* 80097E00 00094D60 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) +/* 80097E04 00094D64 38 80 00 2B */ li r4, 0x2b +/* 80097E08 00094D68 48 2B E8 F5 */ bl GetString__12CStringTableCFi +/* 80097E0C 00094D6C 7C 64 1B 78 */ mr r4, r3 +/* 80097E10 00094D70 38 61 01 9C */ addi r3, r1, 0x19c +/* 80097E14 00094D74 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80097E18 00094D78 38 A0 FF FF */ li r5, -1 +/* 80097E1C 00094D7C 48 2A 59 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80097E20 00094D80 38 7E 00 D4 */ addi r3, r30, 0xd4 +/* 80097E24 00094D84 38 81 01 9C */ addi r4, r1, 0x19c +/* 80097E28 00094D88 38 A0 00 00 */ li r5, 0 +/* 80097E2C 00094D8C 48 23 1A 59 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80097E30 00094D90 38 61 01 9C */ addi r3, r1, 0x19c +/* 80097E34 00094D94 48 2A 53 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80097E38 00094D98 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 80097E3C 00094D9C 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097E40 00094DA0 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 80097E44 00094DA4 38 84 00 33 */ addi r4, r4, 0x33 +/* 80097E48 00094DA8 48 22 A3 0D */ bl FindWidget__9CGuiFrameCFPCc +/* 80097E4C 00094DAC 90 7F 02 FC */ stw r3, 0x2fc(r31) +/* 80097E50 00094DB0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 80097E54 00094DB4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l +/* 80097E58 00094DB8 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097E5C 00094DBC 38 84 00 41 */ addi r4, r4, 0x41 +/* 80097E60 00094DC0 48 22 A2 F5 */ bl FindWidget__9CGuiFrameCFPCc +/* 80097E64 00094DC4 90 7F 03 00 */ stw r3, 0x300(r31) +/* 80097E68 00094DC8 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 80097E6C 00094DCC 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l +/* 80097E70 00094DD0 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097E74 00094DD4 38 84 00 57 */ addi r4, r4, 0x57 +/* 80097E78 00094DD8 48 22 A2 DD */ bl FindWidget__9CGuiFrameCFPCc +/* 80097E7C 00094DDC 90 7F 03 04 */ stw r3, 0x304(r31) +/* 80097E80 00094DE0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 80097E84 00094DE4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l +/* 80097E88 00094DE8 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097E8C 00094DEC 38 84 00 6E */ addi r4, r4, 0x6e +/* 80097E90 00094DF0 48 22 A2 C5 */ bl FindWidget__9CGuiFrameCFPCc +/* 80097E94 00094DF4 90 7F 03 08 */ stw r3, 0x308(r31) +/* 80097E98 00094DF8 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 80097E9C 00094DFC 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l +/* 80097EA0 00094E00 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097EA4 00094E04 38 84 00 85 */ addi r4, r4, 0x85 +/* 80097EA8 00094E08 48 22 A2 AD */ bl FindWidget__9CGuiFrameCFPCc +/* 80097EAC 00094E0C 7C 7E 1B 78 */ mr r30, r3 +/* 80097EB0 00094E10 38 80 00 00 */ li r4, 0 +/* 80097EB4 00094E14 38 7E 00 D4 */ addi r3, r30, 0xd4 +/* 80097EB8 00094E18 48 23 18 95 */ bl sub_802c974c +/* 80097EBC 00094E1C 38 7E 00 D4 */ addi r3, r30, 0xd4 +/* 80097EC0 00094E20 38 80 00 01 */ li r4, 1 +/* 80097EC4 00094E24 48 23 18 55 */ bl SetImageBaseline__15CGuiTextSupportFb +/* 80097EC8 00094E28 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) +/* 80097ECC 00094E2C 38 80 00 31 */ li r4, 0x31 +/* 80097ED0 00094E30 48 2B E8 2D */ bl GetString__12CStringTableCFi +/* 80097ED4 00094E34 7C 64 1B 78 */ mr r4, r3 +/* 80097ED8 00094E38 38 61 01 8C */ addi r3, r1, 0x18c +/* 80097EDC 00094E3C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80097EE0 00094E40 38 A0 FF FF */ li r5, -1 +/* 80097EE4 00094E44 48 2A 58 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80097EE8 00094E48 38 7E 00 D4 */ addi r3, r30, 0xd4 +/* 80097EEC 00094E4C 38 81 01 8C */ addi r4, r1, 0x18c +/* 80097EF0 00094E50 38 A0 00 00 */ li r5, 0 +/* 80097EF4 00094E54 48 23 19 91 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80097EF8 00094E58 38 61 01 8C */ addi r3, r1, 0x18c +/* 80097EFC 00094E5C 48 2A 52 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80097F00 00094E60 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 80097F04 00094E64 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097F08 00094E68 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 80097F0C 00094E6C 38 84 00 98 */ addi r4, r4, 0x98 +/* 80097F10 00094E70 48 22 A2 45 */ bl FindWidget__9CGuiFrameCFPCc +/* 80097F14 00094E74 90 7F 03 0C */ stw r3, 0x30c(r31) +/* 80097F18 00094E78 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 80097F1C 00094E7C 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l +/* 80097F20 00094E80 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097F24 00094E84 38 84 00 AC */ addi r4, r4, 0xac +/* 80097F28 00094E88 48 22 A2 2D */ bl FindWidget__9CGuiFrameCFPCc +/* 80097F2C 00094E8C 90 7F 03 10 */ stw r3, 0x310(r31) +/* 80097F30 00094E90 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 80097F34 00094E94 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l +/* 80097F38 00094E98 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097F3C 00094E9C 38 84 00 C3 */ addi r4, r4, 0xc3 +/* 80097F40 00094EA0 48 22 A2 15 */ bl FindWidget__9CGuiFrameCFPCc +/* 80097F44 00094EA4 90 7F 03 14 */ stw r3, 0x314(r31) +/* 80097F48 00094EA8 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 80097F4C 00094EAC 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l +/* 80097F50 00094EB0 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097F54 00094EB4 38 84 00 D9 */ addi r4, r4, 0xd9 +/* 80097F58 00094EB8 48 22 A1 FD */ bl FindWidget__9CGuiFrameCFPCc +/* 80097F5C 00094EBC 90 7F 02 F8 */ stw r3, 0x2f8(r31) +/* 80097F60 00094EC0 38 80 00 00 */ li r4, 0 +/* 80097F64 00094EC4 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 80097F68 00094EC8 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 80097F6C 00094ECC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80097F70 00094ED0 98 03 00 B6 */ stb r0, 0xb6(r3) +lbl_80097F74: +/* 80097F74 00094ED4 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097F78 00094ED8 28 03 00 00 */ cmplwi r3, 0 +/* 80097F7C 00094EDC 41 82 02 4C */ beq lbl_800981C8 +/* 80097F80 00094EE0 FC 20 F8 90 */ fmr f1, f31 +/* 80097F84 00094EE4 48 22 A7 81 */ bl Update__9CGuiFrameFf +/* 80097F88 00094EE8 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 80097F8C 00094EEC 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80097F90 00094EF0 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 80097F94 00094EF4 38 84 00 EB */ addi r4, r4, 0xeb +/* 80097F98 00094EF8 48 22 A1 BD */ bl FindWidget__9CGuiFrameCFPCc +/* 80097F9C 00094EFC 38 00 00 00 */ li r0, 0 +/* 80097FA0 00094F00 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 +/* 80097FA4 00094F04 90 81 01 CC */ stw r4, 0x1cc(r1) +/* 80097FA8 00094F08 3C 80 80 3D */ lis r4, lbl_803CD7FC@ha +/* 80097FAC 00094F0C 38 E4 D7 FC */ addi r7, r4, lbl_803CD7FC@l +/* 80097FB0 00094F10 80 82 8B 68 */ lwz r4, lbl_805AA888@sda21(r2) +/* 80097FB4 00094F14 90 01 01 D0 */ stw r0, 0x1d0(r1) +/* 80097FB8 00094F18 7C 7E 1B 78 */ mr r30, r3 +/* 80097FBC 00094F1C 80 C7 00 00 */ lwz r6, 0(r7) +/* 80097FC0 00094F20 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80097FC4 00094F24 80 A7 00 04 */ lwz r5, 4(r7) +/* 80097FC8 00094F28 81 1F 01 BC */ lwz r8, 0x1bc(r31) +/* 80097FCC 00094F2C 80 67 00 08 */ lwz r3, 8(r7) +/* 80097FD0 00094F30 80 07 00 0C */ lwz r0, 0xc(r7) +/* 80097FD4 00094F34 2C 08 00 02 */ cmpwi r8, 2 +/* 80097FD8 00094F38 90 C1 01 DC */ stw r6, 0x1dc(r1) +/* 80097FDC 00094F3C 90 A1 01 E0 */ stw r5, 0x1e0(r1) +/* 80097FE0 00094F40 90 61 01 E4 */ stw r3, 0x1e4(r1) +/* 80097FE4 00094F44 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 80097FE8 00094F48 90 81 00 4C */ stw r4, 0x4c(r1) +/* 80097FEC 00094F4C 41 82 00 20 */ beq lbl_8009800C +/* 80097FF0 00094F50 2C 08 00 01 */ cmpwi r8, 1 +/* 80097FF4 00094F54 40 82 00 B0 */ bne lbl_800980A4 +/* 80097FF8 00094F58 7F E3 FB 78 */ mr r3, r31 +/* 80097FFC 00094F5C 7F A4 EB 78 */ mr r4, r29 +/* 80098000 00094F60 48 00 41 39 */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv +/* 80098004 00094F64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80098008 00094F68 41 82 00 9C */ beq lbl_800980A4 +lbl_8009800C: +/* 8009800C 00094F6C 38 61 01 CC */ addi r3, r1, 0x1cc +/* 80098010 00094F70 38 80 01 00 */ li r4, 0x100 +/* 80098014 00094F74 38 A0 00 01 */ li r5, 1 +/* 80098018 00094F78 48 2A 4F 5D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8009801C 00094F7C 38 61 01 CC */ addi r3, r1, 0x1cc +/* 80098020 00094F80 38 81 01 DC */ addi r4, r1, 0x1dc +/* 80098024 00094F84 38 A0 FF FF */ li r5, -1 +/* 80098028 00094F88 48 2A 54 BD */ bl sub_8033d4e4 +/* 8009802C 00094F8C 80 1F 02 F4 */ lwz r0, 0x2f4(r31) +/* 80098030 00094F90 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 80098034 00094F94 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80098038 00094F98 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l +/* 8009803C 00094F9C 54 00 10 3A */ slwi r0, r0, 2 +/* 80098040 00094FA0 7C 83 02 14 */ add r4, r3, r0 +/* 80098044 00094FA4 38 65 00 FB */ addi r3, r5, 0xfb +/* 80098048 00094FA8 80 84 00 98 */ lwz r4, 0x98(r4) +/* 8009804C 00094FAC 4C C6 31 82 */ crclr 6 +/* 80098050 00094FB0 48 23 E1 61 */ bl Stringize__7CBasicsFPCce +/* 80098054 00094FB4 7C 64 1B 78 */ mr r4, r3 +/* 80098058 00094FB8 38 61 01 7C */ addi r3, r1, 0x17c +/* 8009805C 00094FBC 38 C1 00 0C */ addi r6, r1, 0xc +/* 80098060 00094FC0 38 A0 FF FF */ li r5, -1 +/* 80098064 00094FC4 48 2A 61 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80098068 00094FC8 38 61 01 6C */ addi r3, r1, 0x16c +/* 8009806C 00094FCC 38 81 01 7C */ addi r4, r1, 0x17c +/* 80098070 00094FD0 48 2A 66 B1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80098074 00094FD4 38 61 01 CC */ addi r3, r1, 0x1cc +/* 80098078 00094FD8 38 81 01 6C */ addi r4, r1, 0x16c +/* 8009807C 00094FDC 48 2A 55 D1 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80098080 00094FE0 38 61 01 6C */ addi r3, r1, 0x16c +/* 80098084 00094FE4 48 2A 50 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80098088 00094FE8 38 61 01 7C */ addi r3, r1, 0x17c +/* 8009808C 00094FEC 48 2A 5A 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80098090 00094FF0 38 61 01 CC */ addi r3, r1, 0x1cc +/* 80098094 00094FF4 38 81 00 4C */ addi r4, r1, 0x4c +/* 80098098 00094FF8 38 A0 FF FF */ li r5, -1 +/* 8009809C 00094FFC 48 2A 54 49 */ bl sub_8033d4e4 +/* 800980A0 00095000 48 00 00 24 */ b lbl_800980C4 +lbl_800980A4: +/* 800980A4 00095004 38 61 01 5C */ addi r3, r1, 0x15c +/* 800980A8 00095008 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 +/* 800980AC 0009500C 4B F7 D9 45 */ bl wstring_l__4rstlFPCw +/* 800980B0 00095010 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800980B4 00095014 38 81 01 5C */ addi r4, r1, 0x15c +/* 800980B8 00095018 48 2A 52 95 */ bl sub_8033d34c +/* 800980BC 0009501C 38 61 01 5C */ addi r3, r1, 0x15c +/* 800980C0 00095020 48 2A 50 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800980C4: +/* 800980C4 00095024 38 7E 00 D4 */ addi r3, r30, 0xd4 +/* 800980C8 00095028 38 81 01 CC */ addi r4, r1, 0x1cc +/* 800980CC 0009502C 38 A0 00 00 */ li r5, 0 +/* 800980D0 00095030 48 23 17 B5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800980D4 00095034 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800980D8 00095038 48 2A 50 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800980DC 0009503C 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 800980E0 00095040 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 800980E4 00095044 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 800980E8 00095048 38 84 01 01 */ addi r4, r4, 0x101 +/* 800980EC 0009504C 48 22 A0 69 */ bl FindWidget__9CGuiFrameCFPCc +/* 800980F0 00095050 38 00 00 00 */ li r0, 0 +/* 800980F4 00095054 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 +/* 800980F8 00095058 90 81 01 BC */ stw r4, 0x1bc(r1) +/* 800980FC 0009505C 7C 7E 1B 78 */ mr r30, r3 +/* 80098100 00095060 90 01 01 C0 */ stw r0, 0x1c0(r1) +/* 80098104 00095064 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 80098108 00095068 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 8009810C 0009506C 2C 00 00 02 */ cmpwi r0, 2 +/* 80098110 00095070 40 82 00 34 */ bne lbl_80098144 +/* 80098114 00095074 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) +/* 80098118 00095078 38 80 00 2D */ li r4, 0x2d +/* 8009811C 0009507C 48 2B E5 E1 */ bl GetString__12CStringTableCFi +/* 80098120 00095080 7C 64 1B 78 */ mr r4, r3 +/* 80098124 00095084 38 61 01 4C */ addi r3, r1, 0x14c +/* 80098128 00095088 4B F7 D8 C9 */ bl wstring_l__4rstlFPCw +/* 8009812C 0009508C 38 61 01 BC */ addi r3, r1, 0x1bc +/* 80098130 00095090 38 81 01 4C */ addi r4, r1, 0x14c +/* 80098134 00095094 48 2A 52 19 */ bl sub_8033d34c +/* 80098138 00095098 38 61 01 4C */ addi r3, r1, 0x14c +/* 8009813C 0009509C 48 2A 4F F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80098140 000950A0 48 00 00 70 */ b lbl_800981B0 +lbl_80098144: +/* 80098144 000950A4 2C 00 00 01 */ cmpwi r0, 1 +/* 80098148 000950A8 40 82 00 48 */ bne lbl_80098190 +/* 8009814C 000950AC 7F E3 FB 78 */ mr r3, r31 +/* 80098150 000950B0 7F A4 EB 78 */ mr r4, r29 +/* 80098154 000950B4 48 00 3F E5 */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv +/* 80098158 000950B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009815C 000950BC 41 82 00 34 */ beq lbl_80098190 +/* 80098160 000950C0 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) +/* 80098164 000950C4 38 80 00 2C */ li r4, 0x2c +/* 80098168 000950C8 48 2B E5 95 */ bl GetString__12CStringTableCFi +/* 8009816C 000950CC 7C 64 1B 78 */ mr r4, r3 +/* 80098170 000950D0 38 61 01 3C */ addi r3, r1, 0x13c +/* 80098174 000950D4 4B F7 D8 7D */ bl wstring_l__4rstlFPCw +/* 80098178 000950D8 38 61 01 BC */ addi r3, r1, 0x1bc +/* 8009817C 000950DC 38 81 01 3C */ addi r4, r1, 0x13c +/* 80098180 000950E0 48 2A 51 CD */ bl sub_8033d34c +/* 80098184 000950E4 38 61 01 3C */ addi r3, r1, 0x13c +/* 80098188 000950E8 48 2A 4F AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009818C 000950EC 48 00 00 24 */ b lbl_800981B0 +lbl_80098190: +/* 80098190 000950F0 38 61 01 2C */ addi r3, r1, 0x12c +/* 80098194 000950F4 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 +/* 80098198 000950F8 4B F7 D8 59 */ bl wstring_l__4rstlFPCw +/* 8009819C 000950FC 38 61 01 BC */ addi r3, r1, 0x1bc +/* 800981A0 00095100 38 81 01 2C */ addi r4, r1, 0x12c +/* 800981A4 00095104 48 2A 51 A9 */ bl sub_8033d34c +/* 800981A8 00095108 38 61 01 2C */ addi r3, r1, 0x12c +/* 800981AC 0009510C 48 2A 4F 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800981B0: +/* 800981B0 00095110 38 7E 00 D4 */ addi r3, r30, 0xd4 +/* 800981B4 00095114 38 81 01 BC */ addi r4, r1, 0x1bc +/* 800981B8 00095118 38 A0 00 00 */ li r5, 0 +/* 800981BC 0009511C 48 23 16 C9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800981C0 00095120 38 61 01 BC */ addi r3, r1, 0x1bc +/* 800981C4 00095124 48 2A 4F 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800981C8: +/* 800981C8 00095128 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800981CC 0009512C C0 02 8B 90 */ lfs f0, lbl_805AA8B0@sda21(r2) +/* 800981D0 00095130 80 03 01 64 */ lwz r0, 0x164(r3) +/* 800981D4 00095134 EC 20 07 F2 */ fmuls f1, f0, f31 +/* 800981D8 00095138 2C 00 00 01 */ cmpwi r0, 1 +/* 800981DC 0009513C 41 82 00 48 */ beq lbl_80098224 +/* 800981E0 00095140 40 80 00 10 */ bge lbl_800981F0 +/* 800981E4 00095144 2C 00 00 00 */ cmpwi r0, 0 +/* 800981E8 00095148 40 80 00 14 */ bge lbl_800981FC +/* 800981EC 0009514C 48 00 00 84 */ b lbl_80098270 +lbl_800981F0: +/* 800981F0 00095150 2C 00 00 03 */ cmpwi r0, 3 +/* 800981F4 00095154 40 80 00 7C */ bge lbl_80098270 +/* 800981F8 00095158 48 00 00 54 */ b lbl_8009824C +lbl_800981FC: +/* 800981FC 0009515C C0 1F 03 18 */ lfs f0, 0x318(r31) +/* 80098200 00095160 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80098204 00095164 D0 1F 03 18 */ stfs f0, 0x318(r31) +/* 80098208 00095168 C0 1F 03 1C */ lfs f0, 0x31c(r31) +/* 8009820C 0009516C EC 00 08 28 */ fsubs f0, f0, f1 +/* 80098210 00095170 D0 1F 03 1C */ stfs f0, 0x31c(r31) +/* 80098214 00095174 C0 1F 03 20 */ lfs f0, 0x320(r31) +/* 80098218 00095178 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8009821C 0009517C D0 1F 03 20 */ stfs f0, 0x320(r31) +/* 80098220 00095180 48 00 00 50 */ b lbl_80098270 +lbl_80098224: +/* 80098224 00095184 C0 1F 03 18 */ lfs f0, 0x318(r31) +/* 80098228 00095188 EC 00 08 2A */ fadds f0, f0, f1 +/* 8009822C 0009518C D0 1F 03 18 */ stfs f0, 0x318(r31) +/* 80098230 00095190 C0 1F 03 1C */ lfs f0, 0x31c(r31) +/* 80098234 00095194 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80098238 00095198 D0 1F 03 1C */ stfs f0, 0x31c(r31) +/* 8009823C 0009519C C0 1F 03 20 */ lfs f0, 0x320(r31) +/* 80098240 000951A0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80098244 000951A4 D0 1F 03 20 */ stfs f0, 0x320(r31) +/* 80098248 000951A8 48 00 00 28 */ b lbl_80098270 +lbl_8009824C: +/* 8009824C 000951AC C0 1F 03 18 */ lfs f0, 0x318(r31) +/* 80098250 000951B0 EC 00 08 2A */ fadds f0, f0, f1 +/* 80098254 000951B4 D0 1F 03 18 */ stfs f0, 0x318(r31) +/* 80098258 000951B8 C0 1F 03 1C */ lfs f0, 0x31c(r31) +/* 8009825C 000951BC EC 00 08 2A */ fadds f0, f0, f1 +/* 80098260 000951C0 D0 1F 03 1C */ stfs f0, 0x31c(r31) +/* 80098264 000951C4 C0 1F 03 20 */ lfs f0, 0x320(r31) +/* 80098268 000951C8 EC 00 08 2A */ fadds f0, f0, f1 +/* 8009826C 000951CC D0 1F 03 20 */ stfs f0, 0x320(r31) +lbl_80098270: +/* 80098270 000951D0 C0 3F 03 18 */ lfs f1, 0x318(r31) +/* 80098274 000951D4 C0 0D 85 E4 */ lfs f0, lbl_805A71A4@sda21(r13) +/* 80098278 000951D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009827C 000951DC 40 80 00 0C */ bge lbl_80098288 +/* 80098280 000951E0 38 7F 03 18 */ addi r3, r31, 0x318 +/* 80098284 000951E4 48 00 00 08 */ b lbl_8009828C +lbl_80098288: +/* 80098288 000951E8 38 6D 85 E4 */ addi r3, r13, lbl_805A71A4@sda21 +lbl_8009828C: +/* 8009828C 000951EC C0 2D 85 E8 */ lfs f1, lbl_805A71A8@sda21(r13) +/* 80098290 000951F0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80098294 000951F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80098298 000951F8 40 80 00 08 */ bge lbl_800982A0 +/* 8009829C 000951FC 48 00 00 08 */ b lbl_800982A4 +lbl_800982A0: +/* 800982A0 00095200 38 6D 85 E8 */ addi r3, r13, lbl_805A71A8@sda21 +lbl_800982A4: +/* 800982A4 00095204 C0 03 00 00 */ lfs f0, 0(r3) +/* 800982A8 00095208 D0 1F 03 18 */ stfs f0, 0x318(r31) +/* 800982AC 0009520C C0 3F 03 1C */ lfs f1, 0x31c(r31) +/* 800982B0 00095210 C0 0D 85 EC */ lfs f0, lbl_805A71AC@sda21(r13) +/* 800982B4 00095214 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800982B8 00095218 40 80 00 0C */ bge lbl_800982C4 +/* 800982BC 0009521C 38 7F 03 1C */ addi r3, r31, 0x31c +/* 800982C0 00095220 48 00 00 08 */ b lbl_800982C8 +lbl_800982C4: +/* 800982C4 00095224 38 6D 85 EC */ addi r3, r13, lbl_805A71AC@sda21 +lbl_800982C8: +/* 800982C8 00095228 C0 2D 85 F0 */ lfs f1, lbl_805A71B0@sda21(r13) +/* 800982CC 0009522C C0 03 00 00 */ lfs f0, 0(r3) +/* 800982D0 00095230 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800982D4 00095234 40 80 00 08 */ bge lbl_800982DC +/* 800982D8 00095238 48 00 00 08 */ b lbl_800982E0 +lbl_800982DC: +/* 800982DC 0009523C 38 6D 85 F0 */ addi r3, r13, lbl_805A71B0@sda21 +lbl_800982E0: +/* 800982E0 00095240 C0 03 00 00 */ lfs f0, 0(r3) +/* 800982E4 00095244 D0 1F 03 1C */ stfs f0, 0x31c(r31) +/* 800982E8 00095248 C0 3F 03 20 */ lfs f1, 0x320(r31) +/* 800982EC 0009524C C0 0D 85 F4 */ lfs f0, lbl_805A71B4@sda21(r13) +/* 800982F0 00095250 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800982F4 00095254 40 80 00 0C */ bge lbl_80098300 +/* 800982F8 00095258 38 7F 03 20 */ addi r3, r31, 0x320 +/* 800982FC 0009525C 48 00 00 08 */ b lbl_80098304 +lbl_80098300: +/* 80098300 00095260 38 6D 85 F4 */ addi r3, r13, lbl_805A71B4@sda21 +lbl_80098304: +/* 80098304 00095264 C0 2D 85 F8 */ lfs f1, lbl_805A71B8@sda21(r13) +/* 80098308 00095268 C0 03 00 00 */ lfs f0, 0(r3) +/* 8009830C 0009526C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80098310 00095270 40 80 00 08 */ bge lbl_80098318 +/* 80098314 00095274 48 00 00 08 */ b lbl_8009831C +lbl_80098318: +/* 80098318 00095278 38 6D 85 F8 */ addi r3, r13, lbl_805A71B8@sda21 +lbl_8009831C: +/* 8009831C 0009527C C0 03 00 00 */ lfs f0, 0(r3) +/* 80098320 00095280 D0 1F 03 20 */ stfs f0, 0x320(r31) +/* 80098324 00095284 83 DF 03 0C */ lwz r30, 0x30c(r31) +/* 80098328 00095288 28 1E 00 00 */ cmplwi r30, 0 +/* 8009832C 0009528C 41 82 00 64 */ beq lbl_80098390 +/* 80098330 00095290 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 80098334 00095294 38 61 02 AC */ addi r3, r1, 0x2ac +/* 80098338 00095298 C0 1F 03 18 */ lfs f0, 0x318(r31) +/* 8009833C 0009529C 38 81 01 20 */ addi r4, r1, 0x120 +/* 80098340 000952A0 C0 42 8B C0 */ lfs f2, lbl_805AA8E0@sda21(r2) +/* 80098344 000952A4 EC 60 00 72 */ fmuls f3, f0, f1 +/* 80098348 000952A8 D0 21 01 18 */ stfs f1, 0x118(r1) +/* 8009834C 000952AC EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80098350 000952B0 D0 41 01 14 */ stfs f2, 0x114(r1) +/* 80098354 000952B4 D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 80098358 000952B8 D0 01 01 20 */ stfs f0, 0x120(r1) +/* 8009835C 000952BC D0 61 01 24 */ stfs f3, 0x124(r1) +/* 80098360 000952C0 D0 61 01 28 */ stfs f3, 0x128(r1) +/* 80098364 000952C4 48 27 AD DD */ bl Translate__12CTransform4fFRC9CVector3f +/* 80098368 000952C8 38 61 02 DC */ addi r3, r1, 0x2dc +/* 8009836C 000952CC 38 81 02 AC */ addi r4, r1, 0x2ac +/* 80098370 000952D0 38 BE 00 74 */ addi r5, r30, 0x74 +/* 80098374 000952D4 48 27 A5 DD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80098378 000952D8 83 DF 03 0C */ lwz r30, 0x30c(r31) +/* 8009837C 000952DC 38 81 02 DC */ addi r4, r1, 0x2dc +/* 80098380 000952E0 38 7E 00 04 */ addi r3, r30, 4 +/* 80098384 000952E4 48 27 A7 BD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80098388 000952E8 7F C3 F3 78 */ mr r3, r30 +/* 8009838C 000952EC 48 22 C4 5D */ bl RecalculateTransforms__10CGuiObjectFv +lbl_80098390: +/* 80098390 000952F0 83 DF 03 10 */ lwz r30, 0x310(r31) +/* 80098394 000952F4 28 1E 00 00 */ cmplwi r30, 0 +/* 80098398 000952F8 41 82 00 64 */ beq lbl_800983FC +/* 8009839C 000952FC C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 800983A0 00095300 38 61 02 4C */ addi r3, r1, 0x24c +/* 800983A4 00095304 C0 5F 03 1C */ lfs f2, 0x31c(r31) +/* 800983A8 00095308 38 81 01 08 */ addi r4, r1, 0x108 +/* 800983AC 0009530C C0 02 8B C4 */ lfs f0, lbl_805AA8E4@sda21(r2) +/* 800983B0 00095310 EC 62 00 72 */ fmuls f3, f2, f1 +/* 800983B4 00095314 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 800983B8 00095318 EC 42 00 32 */ fmuls f2, f2, f0 +/* 800983BC 0009531C D0 21 01 00 */ stfs f1, 0x100(r1) +/* 800983C0 00095320 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 800983C4 00095324 D0 61 01 08 */ stfs f3, 0x108(r1) +/* 800983C8 00095328 D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 800983CC 0009532C D0 41 01 10 */ stfs f2, 0x110(r1) +/* 800983D0 00095330 48 27 AD 71 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800983D4 00095334 38 61 02 7C */ addi r3, r1, 0x27c +/* 800983D8 00095338 38 81 02 4C */ addi r4, r1, 0x24c +/* 800983DC 0009533C 38 BE 00 74 */ addi r5, r30, 0x74 +/* 800983E0 00095340 48 27 A5 71 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800983E4 00095344 83 DF 03 10 */ lwz r30, 0x310(r31) +/* 800983E8 00095348 38 81 02 7C */ addi r4, r1, 0x27c +/* 800983EC 0009534C 38 7E 00 04 */ addi r3, r30, 4 +/* 800983F0 00095350 48 27 A7 51 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800983F4 00095354 7F C3 F3 78 */ mr r3, r30 +/* 800983F8 00095358 48 22 C3 F1 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_800983FC: +/* 800983FC 0009535C 83 DF 03 14 */ lwz r30, 0x314(r31) +/* 80098400 00095360 28 1E 00 00 */ cmplwi r30, 0 +/* 80098404 00095364 41 82 00 64 */ beq lbl_80098468 +/* 80098408 00095368 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 8009840C 0009536C 38 61 01 EC */ addi r3, r1, 0x1ec +/* 80098410 00095370 C0 5F 03 20 */ lfs f2, 0x320(r31) +/* 80098414 00095374 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 80098418 00095378 C0 02 8B C8 */ lfs f0, lbl_805AA8E8@sda21(r2) +/* 8009841C 0009537C EC 62 00 72 */ fmuls f3, f2, f1 +/* 80098420 00095380 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 80098424 00095384 EC 42 00 32 */ fmuls f2, f2, f0 +/* 80098428 00095388 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 8009842C 0009538C D0 01 00 EC */ stfs f0, 0xec(r1) +/* 80098430 00095390 D0 61 00 F0 */ stfs f3, 0xf0(r1) +/* 80098434 00095394 D0 61 00 F4 */ stfs f3, 0xf4(r1) +/* 80098438 00095398 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 8009843C 0009539C 48 27 AD 05 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80098440 000953A0 38 61 02 1C */ addi r3, r1, 0x21c +/* 80098444 000953A4 38 81 01 EC */ addi r4, r1, 0x1ec +/* 80098448 000953A8 38 BE 00 74 */ addi r5, r30, 0x74 +/* 8009844C 000953AC 48 27 A5 05 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80098450 000953B0 83 DF 03 14 */ lwz r30, 0x314(r31) +/* 80098454 000953B4 38 81 02 1C */ addi r4, r1, 0x21c +/* 80098458 000953B8 38 7E 00 04 */ addi r3, r30, 4 +/* 8009845C 000953BC 48 27 A6 E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80098460 000953C0 7F C3 F3 78 */ mr r3, r30 +/* 80098464 000953C4 48 22 C3 85 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_80098468: +/* 80098468 000953C8 7F E3 FB 78 */ mr r3, r31 +/* 8009846C 000953CC 38 80 00 00 */ li r4, 0 +/* 80098470 000953D0 4B FF D8 B5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 80098474 000953D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80098478 000953D8 41 82 02 E4 */ beq lbl_8009875C +/* 8009847C 000953DC 7F A4 EB 78 */ mr r4, r29 +/* 80098480 000953E0 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80098484 000953E4 4B FF E5 6D */ bl GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager +/* 80098488 000953E8 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 8009848C 000953EC 7F E3 FB 78 */ mr r3, r31 +/* 80098490 000953F0 7F A4 EB 78 */ mr r4, r29 +/* 80098494 000953F4 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 80098498 000953F8 80 A1 00 D8 */ lwz r5, 0xd8(r1) +/* 8009849C 000953FC 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 800984A0 00095400 90 BF 00 B4 */ stw r5, 0xb4(r31) +/* 800984A4 00095404 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 800984A8 00095408 80 01 00 E0 */ lwz r0, 0xe0(r1) +/* 800984AC 0009540C 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 800984B0 00095410 C3 DF 00 C0 */ lfs f30, 0xc0(r31) +/* 800984B4 00095414 4B FF D8 F1 */ bl GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager +/* 800984B8 00095418 EC 5E 08 28 */ fsubs f2, f30, f1 +/* 800984BC 0009541C C0 02 8B CC */ lfs f0, lbl_805AA8EC@sda21(r2) +/* 800984C0 00095420 FC 40 12 10 */ fabs f2, f2 +/* 800984C4 00095424 FC 40 10 18 */ frsp f2, f2 +/* 800984C8 00095428 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800984CC 0009542C 40 80 00 0C */ bge lbl_800984D8 +/* 800984D0 00095430 D0 3F 00 C0 */ stfs f1, 0xc0(r31) +/* 800984D4 00095434 48 00 00 20 */ b lbl_800984F4 +lbl_800984D8: +/* 800984D8 00095438 FC 1E 08 40 */ fcmpo cr0, f30, f1 +/* 800984DC 0009543C 40 80 00 10 */ bge lbl_800984EC +/* 800984E0 00095440 EC 00 F0 2A */ fadds f0, f0, f30 +/* 800984E4 00095444 D0 1F 00 C0 */ stfs f0, 0xc0(r31) +/* 800984E8 00095448 48 00 00 0C */ b lbl_800984F4 +lbl_800984EC: +/* 800984EC 0009544C EC 1E 00 28 */ fsubs f0, f30, f0 +/* 800984F0 00095450 D0 1F 00 C0 */ stfs f0, 0xc0(r31) +lbl_800984F4: +/* 800984F4 00095454 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 800984F8 00095458 38 61 00 48 */ addi r3, r1, 0x48 +/* 800984FC 0009545C 81 84 00 00 */ lwz r12, 0(r4) +/* 80098500 00095460 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80098504 00095464 7D 89 03 A6 */ mtctr r12 +/* 80098508 00095468 4E 80 04 21 */ bctrl +/* 8009850C 0009546C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80098510 00095470 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 80098514 00095474 7C 00 18 00 */ cmpw r0, r3 +/* 80098518 00095478 41 82 02 10 */ beq lbl_80098728 +/* 8009851C 0009547C 80 FF 00 A8 */ lwz r7, 0xa8(r31) +/* 80098520 00095480 7F E4 FB 78 */ mr r4, r31 +/* 80098524 00095484 80 DF 00 AC */ lwz r6, 0xac(r31) +/* 80098528 00095488 7F A5 EB 78 */ mr r5, r29 +/* 8009852C 0009548C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80098530 00095490 90 FF 01 60 */ stw r7, 0x160(r31) +/* 80098534 00095494 90 DF 01 64 */ stw r6, 0x164(r31) +/* 80098538 00095498 80 FF 00 B0 */ lwz r7, 0xb0(r31) +/* 8009853C 0009549C 80 DF 00 B4 */ lwz r6, 0xb4(r31) +/* 80098540 000954A0 90 FF 01 68 */ stw r7, 0x168(r31) +/* 80098544 000954A4 90 DF 01 6C */ stw r6, 0x16c(r31) +/* 80098548 000954A8 80 FF 00 B8 */ lwz r7, 0xb8(r31) +/* 8009854C 000954AC 80 DF 00 BC */ lwz r6, 0xbc(r31) +/* 80098550 000954B0 90 FF 01 70 */ stw r7, 0x170(r31) +/* 80098554 000954B4 90 DF 01 74 */ stw r6, 0x174(r31) +/* 80098558 000954B8 C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 8009855C 000954BC D0 1F 01 78 */ stfs f0, 0x178(r31) +/* 80098560 000954C0 C0 1F 00 C4 */ lfs f0, 0xc4(r31) +/* 80098564 000954C4 D0 1F 01 7C */ stfs f0, 0x17c(r31) +/* 80098568 000954C8 80 FF 00 C8 */ lwz r7, 0xc8(r31) +/* 8009856C 000954CC 80 DF 00 CC */ lwz r6, 0xcc(r31) +/* 80098570 000954D0 90 FF 01 80 */ stw r7, 0x180(r31) +/* 80098574 000954D4 90 DF 01 84 */ stw r6, 0x184(r31) +/* 80098578 000954D8 80 DF 00 D0 */ lwz r6, 0xd0(r31) +/* 8009857C 000954DC 90 DF 01 88 */ stw r6, 0x188(r31) +/* 80098580 000954E0 C0 1F 00 D4 */ lfs f0, 0xd4(r31) +/* 80098584 000954E4 D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 80098588 000954E8 C0 1F 00 D8 */ lfs f0, 0xd8(r31) +/* 8009858C 000954EC D0 1F 01 90 */ stfs f0, 0x190(r31) +/* 80098590 000954F0 C0 1F 00 DC */ lfs f0, 0xdc(r31) +/* 80098594 000954F4 D0 1F 01 94 */ stfs f0, 0x194(r31) +/* 80098598 000954F8 C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 8009859C 000954FC D0 1F 01 98 */ stfs f0, 0x198(r31) +/* 800985A0 00095500 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 800985A4 00095504 D0 1F 01 9C */ stfs f0, 0x19c(r31) +/* 800985A8 00095508 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 800985AC 0009550C D0 1F 01 A0 */ stfs f0, 0x1a0(r31) +/* 800985B0 00095510 80 DF 00 EC */ lwz r6, 0xec(r31) +/* 800985B4 00095514 90 DF 01 A4 */ stw r6, 0x1a4(r31) +/* 800985B8 00095518 80 DF 00 F0 */ lwz r6, 0xf0(r31) +/* 800985BC 0009551C 90 DF 01 A8 */ stw r6, 0x1a8(r31) +/* 800985C0 00095520 80 DF 00 F4 */ lwz r6, 0xf4(r31) +/* 800985C4 00095524 90 DF 01 AC */ stw r6, 0x1ac(r31) +/* 800985C8 00095528 80 DF 00 F8 */ lwz r6, 0xf8(r31) +/* 800985CC 0009552C 90 DF 01 B0 */ stw r6, 0x1b0(r31) +/* 800985D0 00095530 80 DF 00 FC */ lwz r6, 0xfc(r31) +/* 800985D4 00095534 90 DF 01 B4 */ stw r6, 0x1b4(r31) +/* 800985D8 00095538 80 DF 01 00 */ lwz r6, 0x100(r31) +/* 800985DC 0009553C 90 DF 01 B8 */ stw r6, 0x1b8(r31) +/* 800985E0 00095540 80 FF 00 A8 */ lwz r7, 0xa8(r31) +/* 800985E4 00095544 80 DF 00 AC */ lwz r6, 0xac(r31) +/* 800985E8 00095548 90 FF 01 04 */ stw r7, 0x104(r31) +/* 800985EC 0009554C 90 DF 01 08 */ stw r6, 0x108(r31) +/* 800985F0 00095550 80 FF 00 B0 */ lwz r7, 0xb0(r31) +/* 800985F4 00095554 80 DF 00 B4 */ lwz r6, 0xb4(r31) +/* 800985F8 00095558 90 FF 01 0C */ stw r7, 0x10c(r31) +/* 800985FC 0009555C 90 DF 01 10 */ stw r6, 0x110(r31) +/* 80098600 00095560 80 FF 00 B8 */ lwz r7, 0xb8(r31) +/* 80098604 00095564 80 DF 00 BC */ lwz r6, 0xbc(r31) +/* 80098608 00095568 90 FF 01 14 */ stw r7, 0x114(r31) +/* 8009860C 0009556C 90 DF 01 18 */ stw r6, 0x118(r31) +/* 80098610 00095570 C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 80098614 00095574 D0 1F 01 1C */ stfs f0, 0x11c(r31) +/* 80098618 00095578 C0 1F 00 C4 */ lfs f0, 0xc4(r31) +/* 8009861C 0009557C D0 1F 01 20 */ stfs f0, 0x120(r31) +/* 80098620 00095580 80 FF 00 C8 */ lwz r7, 0xc8(r31) +/* 80098624 00095584 80 DF 00 CC */ lwz r6, 0xcc(r31) +/* 80098628 00095588 90 FF 01 24 */ stw r7, 0x124(r31) +/* 8009862C 0009558C 90 DF 01 28 */ stw r6, 0x128(r31) +/* 80098630 00095590 80 DF 00 D0 */ lwz r6, 0xd0(r31) +/* 80098634 00095594 90 DF 01 2C */ stw r6, 0x12c(r31) +/* 80098638 00095598 C0 1F 00 D4 */ lfs f0, 0xd4(r31) +/* 8009863C 0009559C D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 80098640 000955A0 C0 1F 00 D8 */ lfs f0, 0xd8(r31) +/* 80098644 000955A4 D0 1F 01 34 */ stfs f0, 0x134(r31) +/* 80098648 000955A8 C0 1F 00 DC */ lfs f0, 0xdc(r31) +/* 8009864C 000955AC D0 1F 01 38 */ stfs f0, 0x138(r31) +/* 80098650 000955B0 C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 80098654 000955B4 D0 1F 01 3C */ stfs f0, 0x13c(r31) +/* 80098658 000955B8 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 8009865C 000955BC D0 1F 01 40 */ stfs f0, 0x140(r31) +/* 80098660 000955C0 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80098664 000955C4 D0 1F 01 44 */ stfs f0, 0x144(r31) +/* 80098668 000955C8 80 DF 00 EC */ lwz r6, 0xec(r31) +/* 8009866C 000955CC 90 DF 01 48 */ stw r6, 0x148(r31) +/* 80098670 000955D0 80 DF 00 F0 */ lwz r6, 0xf0(r31) +/* 80098674 000955D4 90 DF 01 4C */ stw r6, 0x14c(r31) +/* 80098678 000955D8 80 DF 00 F4 */ lwz r6, 0xf4(r31) +/* 8009867C 000955DC 90 DF 01 50 */ stw r6, 0x150(r31) +/* 80098680 000955E0 80 DF 00 F8 */ lwz r6, 0xf8(r31) +/* 80098684 000955E4 90 DF 01 54 */ stw r6, 0x154(r31) +/* 80098688 000955E8 80 DF 00 FC */ lwz r6, 0xfc(r31) +/* 8009868C 000955EC 90 DF 01 58 */ stw r6, 0x158(r31) +/* 80098690 000955F0 80 DF 01 00 */ lwz r6, 0x100(r31) +/* 80098694 000955F4 90 DF 01 5C */ stw r6, 0x15c(r31) +/* 80098698 000955F8 80 DF 00 A0 */ lwz r6, 0xa0(r31) +/* 8009869C 000955FC 90 DF 00 A4 */ stw r6, 0xa4(r31) +/* 800986A0 00095600 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 800986A4 00095604 80 DF 00 A0 */ lwz r6, 0xa0(r31) +/* 800986A8 00095608 4B FF E2 B1 */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri +/* 800986AC 0009560C C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 800986B0 00095610 38 80 00 00 */ li r4, 0 +/* 800986B4 00095614 38 60 00 04 */ li r3, 4 +/* 800986B8 00095618 38 00 00 01 */ li r0, 1 +/* 800986BC 0009561C D0 1F 01 24 */ stfs f0, 0x124(r31) +/* 800986C0 00095620 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 800986C4 00095624 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 800986C8 00095628 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 800986CC 0009562C D0 1F 01 2C */ stfs f0, 0x12c(r31) +/* 800986D0 00095630 90 9F 01 48 */ stw r4, 0x148(r31) +/* 800986D4 00095634 90 9F 01 4C */ stw r4, 0x14c(r31) +/* 800986D8 00095638 90 7F 01 50 */ stw r3, 0x150(r31) +/* 800986DC 0009563C 90 1F 01 54 */ stw r0, 0x154(r31) +/* 800986E0 00095640 90 1F 01 58 */ stw r0, 0x158(r31) +/* 800986E4 00095644 90 9F 01 5C */ stw r4, 0x15c(r31) +/* 800986E8 00095648 4B FF DB CD */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +/* 800986EC 0009564C D0 3F 01 30 */ stfs f1, 0x130(r31) +/* 800986F0 00095650 4B FF DB C5 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +/* 800986F4 00095654 D0 3F 01 34 */ stfs f1, 0x134(r31) +/* 800986F8 00095658 4B FF DB BD */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +/* 800986FC 0009565C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80098700 00095660 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80098704 00095664 D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 80098708 00095668 4B FF DB AD */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv +/* 8009870C 0009566C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80098710 00095670 7F E3 FB 78 */ mr r3, r31 +/* 80098714 00095674 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80098718 00095678 D0 1F 01 90 */ stfs f0, 0x190(r31) +/* 8009871C 0009567C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80098720 00095680 C0 24 00 6C */ lfs f1, 0x6c(r4) +/* 80098724 00095684 4B FF EA 55 */ bl ResetInterpolationTimer__11CAutoMapperFf +lbl_80098728: +/* 80098728 00095688 7F A3 EB 78 */ mr r3, r29 +/* 8009872C 0009568C 4B FF DA ED */ bl GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager +/* 80098730 00095690 D0 3F 00 DC */ stfs f1, 0xdc(r31) +/* 80098734 00095694 7F A3 EB 78 */ mr r3, r29 +/* 80098738 00095698 4B FF DA B5 */ bl GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager +/* 8009873C 0009569C D0 3F 00 E0 */ stfs f1, 0xe0(r31) +/* 80098740 000956A0 7F A3 EB 78 */ mr r3, r29 +/* 80098744 000956A4 4B FF DA 7D */ bl GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager +/* 80098748 000956A8 D0 3F 00 E4 */ stfs f1, 0xe4(r31) +/* 8009874C 000956AC 7F A3 EB 78 */ mr r3, r29 +/* 80098750 000956B0 4B FF DA 45 */ bl GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager +/* 80098754 000956B4 D0 3F 00 E8 */ stfs f1, 0xe8(r31) +/* 80098758 000956B8 48 00 00 F4 */ b lbl_8009884C +lbl_8009875C: +/* 8009875C 000956BC 80 9F 01 C0 */ lwz r4, 0x1c0(r31) +/* 80098760 000956C0 2C 04 00 00 */ cmpwi r4, 0 +/* 80098764 000956C4 40 82 00 54 */ bne lbl_800987B8 +/* 80098768 000956C8 C3 DF 01 1C */ lfs f30, 0x11c(r31) +/* 8009876C 000956CC 7F E3 FB 78 */ mr r3, r31 +/* 80098770 000956D0 7F A4 EB 78 */ mr r4, r29 +/* 80098774 000956D4 4B FF D6 31 */ bl GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager +/* 80098778 000956D8 EC 5E 08 28 */ fsubs f2, f30, f1 +/* 8009877C 000956DC C0 02 8B CC */ lfs f0, lbl_805AA8EC@sda21(r2) +/* 80098780 000956E0 FC 40 12 10 */ fabs f2, f2 +/* 80098784 000956E4 FC 40 10 18 */ frsp f2, f2 +/* 80098788 000956E8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8009878C 000956EC 40 80 00 0C */ bge lbl_80098798 +/* 80098790 000956F0 D0 3F 00 C0 */ stfs f1, 0xc0(r31) +/* 80098794 000956F4 48 00 00 B8 */ b lbl_8009884C +lbl_80098798: +/* 80098798 000956F8 FC 1E 08 40 */ fcmpo cr0, f30, f1 +/* 8009879C 000956FC 40 80 00 10 */ bge lbl_800987AC +/* 800987A0 00095700 EC 00 F0 2A */ fadds f0, f0, f30 +/* 800987A4 00095704 D0 1F 01 1C */ stfs f0, 0x11c(r31) +/* 800987A8 00095708 48 00 00 A4 */ b lbl_8009884C +lbl_800987AC: +/* 800987AC 0009570C EC 1E 00 28 */ fsubs f0, f30, f0 +/* 800987B0 00095710 D0 1F 01 1C */ stfs f0, 0x11c(r31) +/* 800987B4 00095714 48 00 00 98 */ b lbl_8009884C +lbl_800987B8: +/* 800987B8 00095718 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 800987BC 0009571C 38 60 00 00 */ li r3, 0 +/* 800987C0 00095720 2C 00 00 00 */ cmpwi r0, 0 +/* 800987C4 00095724 41 82 00 10 */ beq lbl_800987D4 +/* 800987C8 00095728 2C 04 00 00 */ cmpwi r4, 0 +/* 800987CC 0009572C 41 82 00 08 */ beq lbl_800987D4 +/* 800987D0 00095730 38 60 00 01 */ li r3, 1 +lbl_800987D4: +/* 800987D4 00095734 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800987D8 00095738 41 82 00 74 */ beq lbl_8009884C +/* 800987DC 0009573C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800987E0 00095740 28 03 00 00 */ cmplwi r3, 0 +/* 800987E4 00095744 41 82 00 68 */ beq lbl_8009884C +/* 800987E8 00095748 81 83 00 00 */ lwz r12, 0(r3) +/* 800987EC 0009574C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800987F0 00095750 7D 89 03 A6 */ mtctr r12 +/* 800987F4 00095754 4E 80 04 21 */ bctrl +/* 800987F8 00095758 7C 60 1B 78 */ mr r0, r3 +/* 800987FC 0009575C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80098800 00095760 7C 1C 03 78 */ mr r28, r0 +/* 80098804 00095764 81 83 00 00 */ lwz r12, 0(r3) +/* 80098808 00095768 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009880C 0009576C 7D 89 03 A6 */ mtctr r12 +/* 80098810 00095770 4E 80 04 21 */ bctrl +/* 80098814 00095774 7C 64 1B 78 */ mr r4, r3 +/* 80098818 00095778 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009881C 0009577C 48 13 B1 BD */ bl StateForWorld__10CGameStateFUi +/* 80098820 00095780 7C 64 1B 78 */ mr r4, r3 +/* 80098824 00095784 38 61 00 44 */ addi r3, r1, 0x44 +/* 80098828 00095788 48 13 C5 3D */ bl GetMapWorldInfo__11CWorldStateCFv +/* 8009882C 0009578C 80 81 00 44 */ lwz r4, 0x44(r1) +/* 80098830 00095790 38 61 00 44 */ addi r3, r1, 0x44 +/* 80098834 00095794 83 C4 00 00 */ lwz r30, 0(r4) +/* 80098838 00095798 4B F7 04 05 */ bl sub_80008c3c +/* 8009883C 0009579C 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 80098840 000957A0 7F 83 E3 78 */ mr r3, r28 +/* 80098844 000957A4 7F C4 F3 78 */ mr r4, r30 +/* 80098848 000957A8 48 00 70 15 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld +lbl_8009884C: +/* 8009884C 000957AC 7F E3 FB 78 */ mr r3, r31 +/* 80098850 000957B0 4B FF D4 A1 */ bl IsRenderStateInterpolating__11CAutoMapperCFv +/* 80098854 000957B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80098858 000957B8 41 82 00 78 */ beq lbl_800988D0 +/* 8009885C 000957BC C0 1F 01 C8 */ lfs f0, 0x1c8(r31) +/* 80098860 000957C0 EC 20 F8 2A */ fadds f1, f0, f31 +/* 80098864 000957C4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80098868 000957C8 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) +/* 8009886C 000957CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80098870 000957D0 40 80 00 0C */ bge lbl_8009887C +/* 80098874 000957D4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80098878 000957D8 48 00 00 08 */ b lbl_80098880 +lbl_8009887C: +/* 8009887C 000957DC 38 7F 01 C4 */ addi r3, r31, 0x1c4 +lbl_80098880: +/* 80098880 000957E0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80098884 000957E4 38 7F 01 60 */ addi r3, r31, 0x160 +/* 80098888 000957E8 38 9F 00 A8 */ addi r4, r31, 0xa8 +/* 8009888C 000957EC 38 BF 01 04 */ addi r5, r31, 0x104 +/* 80098890 000957F0 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) +/* 80098894 000957F4 C0 3F 01 C8 */ lfs f1, 0x1c8(r31) +/* 80098898 000957F8 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) +/* 8009889C 000957FC EC 21 00 24 */ fdivs f1, f1, f0 +/* 800988A0 00095800 48 00 53 9D */ bl InterpolateWithClamp__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderStateRQ211CAutoMapper22SAutoMapperRenderStateRCQ211CAutoMapper22SAutoMapperRenderStatef +/* 800988A4 00095804 C0 3F 01 C8 */ lfs f1, 0x1c8(r31) +/* 800988A8 00095808 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) +/* 800988AC 0009580C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800988B0 00095810 40 82 00 3C */ bne lbl_800988EC +/* 800988B4 00095814 80 1F 03 28 */ lwz r0, 0x328(r31) +/* 800988B8 00095818 2C 00 00 02 */ cmpwi r0, 2 +/* 800988BC 0009581C 40 82 00 30 */ bne lbl_800988EC +/* 800988C0 00095820 7F E3 FB 78 */ mr r3, r31 +/* 800988C4 00095824 7F A4 EB 78 */ mr r4, r29 +/* 800988C8 00095828 4B FF CD C9 */ bl SetupMiniMapWorld__11CAutoMapperFv +/* 800988CC 0009582C 48 00 00 20 */ b lbl_800988EC +lbl_800988D0: +/* 800988D0 00095830 7F E3 FB 78 */ mr r3, r31 +/* 800988D4 00095834 4B FF D4 35 */ bl IsInMapperStateTransition__11CAutoMapperCFv +/* 800988D8 00095838 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800988DC 0009583C 41 82 00 10 */ beq lbl_800988EC +/* 800988E0 00095840 7F E3 FB 78 */ mr r3, r31 +/* 800988E4 00095844 7F A4 EB 78 */ mr r4, r29 +/* 800988E8 00095848 4B FF E8 A1 */ bl CompleteMapperStateTransition__11CAutoMapperFv +lbl_800988EC: +/* 800988EC 0009584C 83 9F 00 88 */ lwz r28, 0x88(r31) +/* 800988F0 00095850 7F E3 FB 78 */ mr r3, r31 +/* 800988F4 00095854 38 80 00 02 */ li r4, 2 +/* 800988F8 00095858 4B FF D4 2D */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 800988FC 0009585C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80098900 00095860 41 82 00 7C */ beq lbl_8009897C +/* 80098904 00095864 80 1F 00 9C */ lwz r0, 0x9c(r31) +/* 80098908 00095868 80 9F 00 20 */ lwz r4, 0x20(r31) +/* 8009890C 0009586C 54 03 18 38 */ slwi r3, r0, 3 +/* 80098910 00095870 38 03 00 04 */ addi r0, r3, 4 +/* 80098914 00095874 7F A4 00 2E */ lwzx r29, r4, r0 +/* 80098918 00095878 28 1D 00 00 */ cmplwi r29, 0 +/* 8009891C 0009587C 41 82 00 3C */ beq lbl_80098958 +/* 80098920 00095880 7F A3 EB 78 */ mr r3, r29 +/* 80098924 00095884 81 9D 00 00 */ lwz r12, 0(r29) +/* 80098928 00095888 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8009892C 0009588C 7D 89 03 A6 */ mtctr r12 +/* 80098930 00095890 4E 80 04 21 */ bctrl +/* 80098934 00095894 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80098938 00095898 41 82 00 20 */ beq lbl_80098958 +/* 8009893C 0009589C 7F A3 EB 78 */ mr r3, r29 +/* 80098940 000958A0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80098944 000958A4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80098948 000958A8 7D 89 03 A6 */ mtctr r12 +/* 8009894C 000958AC 4E 80 04 21 */ bctrl +/* 80098950 000958B0 7C 7C 1B 78 */ mr r28, r3 +/* 80098954 000958B4 48 00 01 0C */ b lbl_80098A60 +lbl_80098958: +/* 80098958 000958B8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8009895C 000958BC 28 03 00 00 */ cmplwi r3, 0 +/* 80098960 000958C0 41 82 01 00 */ beq lbl_80098A60 +/* 80098964 000958C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80098968 000958C8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8009896C 000958CC 7D 89 03 A6 */ mtctr r12 +/* 80098970 000958D0 4E 80 04 21 */ bctrl +/* 80098974 000958D4 7C 7C 1B 78 */ mr r28, r3 +/* 80098978 000958D8 48 00 00 E8 */ b lbl_80098A60 +lbl_8009897C: +/* 8009897C 000958DC 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80098980 000958E0 28 00 00 00 */ cmplwi r0, 0 +/* 80098984 000958E4 41 82 00 DC */ beq lbl_80098A60 +/* 80098988 000958E8 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 8009898C 000958EC 38 81 00 3C */ addi r4, r1, 0x3c +/* 80098990 000958F0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80098994 000958F4 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80098998 000958F8 90 01 00 38 */ stw r0, 0x38(r1) +/* 8009899C 000958FC 81 83 00 00 */ lwz r12, 0(r3) +/* 800989A0 00095900 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800989A4 00095904 7D 89 03 A6 */ mtctr r12 +/* 800989A8 00095908 4E 80 04 21 */ bctrl +/* 800989AC 0009590C 7C 60 1B 78 */ mr r0, r3 +/* 800989B0 00095910 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800989B4 00095914 7C 1C 03 78 */ mr r28, r0 +/* 800989B8 00095918 81 83 00 00 */ lwz r12, 0(r3) +/* 800989BC 0009591C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800989C0 00095920 7D 89 03 A6 */ mtctr r12 +/* 800989C4 00095924 4E 80 04 21 */ bctrl +/* 800989C8 00095928 7C 64 1B 78 */ mr r4, r3 +/* 800989CC 0009592C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800989D0 00095930 48 13 B0 09 */ bl StateForWorld__10CGameStateFUi +/* 800989D4 00095934 7C 64 1B 78 */ mr r4, r3 +/* 800989D8 00095938 38 61 00 34 */ addi r3, r1, 0x34 +/* 800989DC 0009593C 48 13 C3 89 */ bl GetMapWorldInfo__11CWorldStateCFv +/* 800989E0 00095940 80 81 00 34 */ lwz r4, 0x34(r1) +/* 800989E4 00095944 38 61 00 34 */ addi r3, r1, 0x34 +/* 800989E8 00095948 83 A4 00 00 */ lwz r29, 0(r4) +/* 800989EC 0009594C 4B F7 02 51 */ bl sub_80008c3c +/* 800989F0 00095950 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 800989F4 00095954 7F A3 EB 78 */ mr r3, r29 +/* 800989F8 00095958 38 81 00 30 */ addi r4, r1, 0x30 +/* 800989FC 0009595C 3B C0 00 01 */ li r30, 1 +/* 80098A00 00095960 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80098A04 00095964 90 01 00 30 */ stw r0, 0x30(r1) +/* 80098A08 00095968 48 0C F9 1D */ bl IsMapped__13CMapWorldInfoCF7TAreaId +/* 80098A0C 0009596C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80098A10 00095970 40 82 00 28 */ bne lbl_80098A38 +/* 80098A14 00095974 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 80098A18 00095978 7F A3 EB 78 */ mr r3, r29 +/* 80098A1C 0009597C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80098A20 00095980 90 01 00 24 */ stw r0, 0x24(r1) +/* 80098A24 00095984 90 01 00 28 */ stw r0, 0x28(r1) +/* 80098A28 00095988 48 0C F3 59 */ bl IsAreaVisited__13CMapWorldInfoCF7TAreaId +/* 80098A2C 0009598C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80098A30 00095990 40 82 00 08 */ bne lbl_80098A38 +/* 80098A34 00095994 3B C0 00 00 */ li r30, 0 +lbl_80098A38: +/* 80098A38 00095998 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80098A3C 0009599C 41 82 00 1C */ beq lbl_80098A58 +/* 80098A40 000959A0 7F 83 E3 78 */ mr r3, r28 +/* 80098A44 000959A4 81 9C 00 00 */ lwz r12, 0(r28) +/* 80098A48 000959A8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80098A4C 000959AC 7D 89 03 A6 */ mtctr r12 +/* 80098A50 000959B0 4E 80 04 21 */ bctrl +/* 80098A54 000959B4 48 00 00 08 */ b lbl_80098A5C +lbl_80098A58: +/* 80098A58 000959B8 38 60 FF FF */ li r3, -1 +lbl_80098A5C: +/* 80098A5C 000959BC 7C 7C 1B 78 */ mr r28, r3 +lbl_80098A60: +/* 80098A60 000959C0 80 1F 00 88 */ lwz r0, 0x88(r31) +/* 80098A64 000959C4 7C 1C 00 40 */ cmplw r28, r0 +/* 80098A68 000959C8 41 82 01 84 */ beq lbl_80098BEC +/* 80098A6C 000959CC 93 9F 00 88 */ stw r28, 0x88(r31) +/* 80098A70 000959D0 80 9F 00 88 */ lwz r4, 0x88(r31) +/* 80098A74 000959D4 3C 04 00 01 */ addis r0, r4, 1 +/* 80098A78 000959D8 28 00 FF FF */ cmplwi r0, 0xffff +/* 80098A7C 000959DC 41 82 00 B4 */ beq lbl_80098B30 +/* 80098A80 000959E0 3C 60 53 54 */ lis r3, 0x53545247@ha +/* 80098A84 000959E4 90 81 00 6C */ stw r4, 0x6c(r1) +/* 80098A88 000959E8 38 03 52 47 */ addi r0, r3, 0x53545247@l +/* 80098A8C 000959EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80098A90 000959F0 90 01 00 68 */ stw r0, 0x68(r1) +/* 80098A94 000959F4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80098A98 000959F8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80098A9C 000959FC 81 84 00 00 */ lwz r12, 0(r4) +/* 80098AA0 00095A00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80098AA4 00095A04 7D 89 03 A6 */ mtctr r12 +/* 80098AA8 00095A08 4E 80 04 21 */ bctrl +/* 80098AAC 00095A0C 38 61 00 BC */ addi r3, r1, 0xbc +/* 80098AB0 00095A10 38 81 00 60 */ addi r4, r1, 0x60 +/* 80098AB4 00095A14 48 2A 83 F5 */ bl __ct__6CTokenFRC6CToken +/* 80098AB8 00095A18 38 00 00 00 */ li r0, 0 +/* 80098ABC 00095A1C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80098AC0 00095A20 88 1F 00 98 */ lbz r0, 0x98(r31) +/* 80098AC4 00095A24 28 00 00 00 */ cmplwi r0, 0 +/* 80098AC8 00095A28 40 82 00 2C */ bne lbl_80098AF4 +/* 80098ACC 00095A2C 37 BF 00 8C */ addic. r29, r31, 0x8c +/* 80098AD0 00095A30 41 82 00 18 */ beq lbl_80098AE8 +/* 80098AD4 00095A34 7F A3 EB 78 */ mr r3, r29 +/* 80098AD8 00095A38 38 81 00 BC */ addi r4, r1, 0xbc +/* 80098ADC 00095A3C 48 2A 83 CD */ bl __ct__6CTokenFRC6CToken +/* 80098AE0 00095A40 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80098AE4 00095A44 90 1D 00 08 */ stw r0, 8(r29) +lbl_80098AE8: +/* 80098AE8 00095A48 38 00 00 01 */ li r0, 1 +/* 80098AEC 00095A4C 98 1F 00 98 */ stb r0, 0x98(r31) +/* 80098AF0 00095A50 48 00 00 1C */ b lbl_80098B0C +lbl_80098AF4: +/* 80098AF4 00095A54 3B BF 00 8C */ addi r29, r31, 0x8c +/* 80098AF8 00095A58 38 81 00 BC */ addi r4, r1, 0xbc +/* 80098AFC 00095A5C 7F A3 EB 78 */ mr r3, r29 +/* 80098B00 00095A60 48 2A 81 C5 */ bl __as__6CTokenFRC6CToken +/* 80098B04 00095A64 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80098B08 00095A68 90 1D 00 08 */ stw r0, 8(r29) +lbl_80098B0C: +/* 80098B0C 00095A6C 38 61 00 BC */ addi r3, r1, 0xbc +/* 80098B10 00095A70 38 80 00 00 */ li r4, 0 +/* 80098B14 00095A74 48 2A 83 2D */ bl __dt__6CTokenFv +/* 80098B18 00095A78 38 61 00 60 */ addi r3, r1, 0x60 +/* 80098B1C 00095A7C 38 80 FF FF */ li r4, -1 +/* 80098B20 00095A80 48 2A 83 21 */ bl __dt__6CTokenFv +/* 80098B24 00095A84 38 7F 00 8C */ addi r3, r31, 0x8c +/* 80098B28 00095A88 48 2A 82 5D */ bl Lock__6CTokenFv +/* 80098B2C 00095A8C 48 00 00 C0 */ b lbl_80098BEC +lbl_80098B30: +/* 80098B30 00095A90 3B BF 00 8C */ addi r29, r31, 0x8c +/* 80098B34 00095A94 38 81 00 AC */ addi r4, r1, 0xac +/* 80098B38 00095A98 38 00 00 00 */ li r0, 0 +/* 80098B3C 00095A9C 7C 1D 20 40 */ cmplw r29, r4 +/* 80098B40 00095AA0 98 01 00 B8 */ stb r0, 0xb8(r1) +/* 80098B44 00095AA4 41 82 00 7C */ beq lbl_80098BC0 +/* 80098B48 00095AA8 28 00 00 00 */ cmplwi r0, 0 +/* 80098B4C 00095AAC 41 82 00 48 */ beq lbl_80098B94 +/* 80098B50 00095AB0 88 1F 00 98 */ lbz r0, 0x98(r31) +/* 80098B54 00095AB4 28 00 00 00 */ cmplwi r0, 0 +/* 80098B58 00095AB8 40 82 00 28 */ bne lbl_80098B80 +/* 80098B5C 00095ABC 37 BF 00 8C */ addic. r29, r31, 0x8c +/* 80098B60 00095AC0 41 82 00 14 */ beq lbl_80098B74 +/* 80098B64 00095AC4 7F A3 EB 78 */ mr r3, r29 +/* 80098B68 00095AC8 48 2A 83 41 */ bl __ct__6CTokenFRC6CToken +/* 80098B6C 00095ACC 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80098B70 00095AD0 90 1D 00 08 */ stw r0, 8(r29) +lbl_80098B74: +/* 80098B74 00095AD4 38 00 00 01 */ li r0, 1 +/* 80098B78 00095AD8 98 1F 00 98 */ stb r0, 0x98(r31) +/* 80098B7C 00095ADC 48 00 00 44 */ b lbl_80098BC0 +lbl_80098B80: +/* 80098B80 00095AE0 7F A3 EB 78 */ mr r3, r29 +/* 80098B84 00095AE4 48 2A 81 41 */ bl __as__6CTokenFRC6CToken +/* 80098B88 00095AE8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80098B8C 00095AEC 90 1D 00 08 */ stw r0, 8(r29) +/* 80098B90 00095AF0 48 00 00 30 */ b lbl_80098BC0 +lbl_80098B94: +/* 80098B94 00095AF4 88 1F 00 98 */ lbz r0, 0x98(r31) +/* 80098B98 00095AF8 28 00 00 00 */ cmplwi r0, 0 +/* 80098B9C 00095AFC 41 82 00 1C */ beq lbl_80098BB8 +/* 80098BA0 00095B00 34 7F 00 8C */ addic. r3, r31, 0x8c +/* 80098BA4 00095B04 41 82 00 14 */ beq lbl_80098BB8 +/* 80098BA8 00095B08 28 03 00 00 */ cmplwi r3, 0 +/* 80098BAC 00095B0C 41 82 00 0C */ beq lbl_80098BB8 +/* 80098BB0 00095B10 38 80 00 00 */ li r4, 0 +/* 80098BB4 00095B14 48 2A 82 8D */ bl __dt__6CTokenFv +lbl_80098BB8: +/* 80098BB8 00095B18 38 00 00 00 */ li r0, 0 +/* 80098BBC 00095B1C 98 1F 00 98 */ stb r0, 0x98(r31) +lbl_80098BC0: +/* 80098BC0 00095B20 88 01 00 B8 */ lbz r0, 0xb8(r1) +/* 80098BC4 00095B24 28 00 00 00 */ cmplwi r0, 0 +/* 80098BC8 00095B28 41 82 00 1C */ beq lbl_80098BE4 +/* 80098BCC 00095B2C 34 61 00 AC */ addic. r3, r1, 0xac +/* 80098BD0 00095B30 41 82 00 14 */ beq lbl_80098BE4 +/* 80098BD4 00095B34 28 03 00 00 */ cmplwi r3, 0 +/* 80098BD8 00095B38 41 82 00 0C */ beq lbl_80098BE4 +/* 80098BDC 00095B3C 38 80 00 00 */ li r4, 0 +/* 80098BE0 00095B40 48 2A 82 61 */ bl __dt__6CTokenFv +lbl_80098BE4: +/* 80098BE4 00095B44 38 00 00 00 */ li r0, 0 +/* 80098BE8 00095B48 98 01 00 B8 */ stb r0, 0xb8(r1) +lbl_80098BEC: +/* 80098BEC 00095B4C 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80098BF0 00095B50 28 00 00 00 */ cmplwi r0, 0 +/* 80098BF4 00095B54 41 82 00 D0 */ beq lbl_80098CC4 +/* 80098BF8 00095B58 88 1F 00 98 */ lbz r0, 0x98(r31) +/* 80098BFC 00095B5C 28 00 00 00 */ cmplwi r0, 0 +/* 80098C00 00095B60 41 82 00 9C */ beq lbl_80098C9C +/* 80098C04 00095B64 3B BF 00 8C */ addi r29, r31, 0x8c +/* 80098C08 00095B68 80 1F 00 94 */ lwz r0, 0x94(r31) +/* 80098C0C 00095B6C 28 00 00 00 */ cmplwi r0, 0 +/* 80098C10 00095B70 41 82 00 0C */ beq lbl_80098C1C +/* 80098C14 00095B74 38 60 00 01 */ li r3, 1 +/* 80098C18 00095B78 48 00 00 3C */ b lbl_80098C54 +lbl_80098C1C: +/* 80098C1C 00095B7C 88 1D 00 04 */ lbz r0, 4(r29) +/* 80098C20 00095B80 28 00 00 00 */ cmplwi r0, 0 +/* 80098C24 00095B84 41 82 00 2C */ beq lbl_80098C50 +/* 80098C28 00095B88 80 7D 00 00 */ lwz r3, 0(r29) +/* 80098C2C 00095B8C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80098C30 00095B90 28 00 00 00 */ cmplwi r0, 0 +/* 80098C34 00095B94 41 82 00 1C */ beq lbl_80098C50 +/* 80098C38 00095B98 7F A3 EB 78 */ mr r3, r29 +/* 80098C3C 00095B9C 48 2A 81 D1 */ bl GetObj__6CTokenFv +/* 80098C40 00095BA0 80 03 00 04 */ lwz r0, 4(r3) +/* 80098C44 00095BA4 38 60 00 01 */ li r3, 1 +/* 80098C48 00095BA8 90 1D 00 08 */ stw r0, 8(r29) +/* 80098C4C 00095BAC 48 00 00 08 */ b lbl_80098C54 +lbl_80098C50: +/* 80098C50 00095BB0 38 60 00 00 */ li r3, 0 +lbl_80098C54: +/* 80098C54 00095BB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80098C58 00095BB8 41 82 00 6C */ beq lbl_80098CC4 +/* 80098C5C 00095BBC 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 80098C60 00095BC0 38 80 00 00 */ li r4, 0 +/* 80098C64 00095BC4 48 2B DA 99 */ bl GetString__12CStringTableCFi +/* 80098C68 00095BC8 7C 64 1B 78 */ mr r4, r3 +/* 80098C6C 00095BCC 38 61 00 9C */ addi r3, r1, 0x9c +/* 80098C70 00095BD0 38 C1 00 08 */ addi r6, r1, 8 +/* 80098C74 00095BD4 38 A0 FF FF */ li r5, -1 +/* 80098C78 00095BD8 48 2A 4B 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80098C7C 00095BDC 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 80098C80 00095BE0 38 81 00 9C */ addi r4, r1, 0x9c +/* 80098C84 00095BE4 38 A0 00 00 */ li r5, 0 +/* 80098C88 00095BE8 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80098C8C 00095BEC 48 23 0B F9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80098C90 00095BF0 38 61 00 9C */ addi r3, r1, 0x9c +/* 80098C94 00095BF4 48 2A 44 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80098C98 00095BF8 48 00 00 2C */ b lbl_80098CC4 +lbl_80098C9C: +/* 80098C9C 00095BFC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80098CA0 00095C00 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 +/* 80098CA4 00095C04 4B F7 CD 4D */ bl wstring_l__4rstlFPCw +/* 80098CA8 00095C08 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 80098CAC 00095C0C 38 81 00 8C */ addi r4, r1, 0x8c +/* 80098CB0 00095C10 38 A0 00 00 */ li r5, 0 +/* 80098CB4 00095C14 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80098CB8 00095C18 48 23 0B CD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80098CBC 00095C1C 38 61 00 8C */ addi r3, r1, 0x8c +/* 80098CC0 00095C20 48 2A 44 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80098CC4: +/* 80098CC4 00095C24 7F E3 FB 78 */ mr r3, r31 +/* 80098CC8 00095C28 38 80 00 01 */ li r4, 1 +/* 80098CCC 00095C2C 4B FF D0 59 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 80098CD0 00095C30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80098CD4 00095C34 41 82 01 D0 */ beq lbl_80098EA4 +/* 80098CD8 00095C38 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 80098CDC 00095C3C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80098CE0 00095C40 90 01 00 20 */ stw r0, 0x20(r1) +/* 80098CE4 00095C44 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80098CE8 00095C48 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80098CEC 00095C4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80098CF0 00095C50 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80098CF4 00095C54 7D 89 03 A6 */ mtctr r12 +/* 80098CF8 00095C58 4E 80 04 21 */ bctrl +/* 80098CFC 00095C5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80098D00 00095C60 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80098D04 00095C64 7D 89 03 A6 */ mtctr r12 +/* 80098D08 00095C68 4E 80 04 21 */ bctrl +/* 80098D0C 00095C6C 7C 64 1B 78 */ mr r4, r3 +/* 80098D10 00095C70 7F E3 FB 78 */ mr r3, r31 +/* 80098D14 00095C74 48 00 02 05 */ bl GetAreaHintDescriptionString__11CAutoMapperFUi +/* 80098D18 00095C78 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 80098D1C 00095C7C 7C 03 00 40 */ cmplw r3, r0 +/* 80098D20 00095C80 41 82 01 84 */ beq lbl_80098EA4 +/* 80098D24 00095C84 90 7F 00 74 */ stw r3, 0x74(r31) +/* 80098D28 00095C88 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 80098D2C 00095C8C 3C 04 00 01 */ addis r0, r4, 1 +/* 80098D30 00095C90 28 00 FF FF */ cmplwi r0, 0xffff +/* 80098D34 00095C94 41 82 00 B4 */ beq lbl_80098DE8 +/* 80098D38 00095C98 3C 60 53 54 */ lis r3, 0x53545247@ha +/* 80098D3C 00095C9C 90 81 00 5C */ stw r4, 0x5c(r1) +/* 80098D40 00095CA0 38 03 52 47 */ addi r0, r3, 0x53545247@l +/* 80098D44 00095CA4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80098D48 00095CA8 90 01 00 58 */ stw r0, 0x58(r1) +/* 80098D4C 00095CAC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80098D50 00095CB0 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80098D54 00095CB4 81 84 00 00 */ lwz r12, 0(r4) +/* 80098D58 00095CB8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80098D5C 00095CBC 7D 89 03 A6 */ mtctr r12 +/* 80098D60 00095CC0 4E 80 04 21 */ bctrl +/* 80098D64 00095CC4 38 61 00 80 */ addi r3, r1, 0x80 +/* 80098D68 00095CC8 38 81 00 50 */ addi r4, r1, 0x50 +/* 80098D6C 00095CCC 48 2A 81 3D */ bl __ct__6CTokenFRC6CToken +/* 80098D70 00095CD0 38 00 00 00 */ li r0, 0 +/* 80098D74 00095CD4 90 01 00 88 */ stw r0, 0x88(r1) +/* 80098D78 00095CD8 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 80098D7C 00095CDC 28 00 00 00 */ cmplwi r0, 0 +/* 80098D80 00095CE0 40 82 00 2C */ bne lbl_80098DAC +/* 80098D84 00095CE4 37 BF 00 78 */ addic. r29, r31, 0x78 +/* 80098D88 00095CE8 41 82 00 18 */ beq lbl_80098DA0 +/* 80098D8C 00095CEC 7F A3 EB 78 */ mr r3, r29 +/* 80098D90 00095CF0 38 81 00 80 */ addi r4, r1, 0x80 +/* 80098D94 00095CF4 48 2A 81 15 */ bl __ct__6CTokenFRC6CToken +/* 80098D98 00095CF8 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80098D9C 00095CFC 90 1D 00 08 */ stw r0, 8(r29) +lbl_80098DA0: +/* 80098DA0 00095D00 38 00 00 01 */ li r0, 1 +/* 80098DA4 00095D04 98 1F 00 84 */ stb r0, 0x84(r31) +/* 80098DA8 00095D08 48 00 00 1C */ b lbl_80098DC4 +lbl_80098DAC: +/* 80098DAC 00095D0C 3B BF 00 78 */ addi r29, r31, 0x78 +/* 80098DB0 00095D10 38 81 00 80 */ addi r4, r1, 0x80 +/* 80098DB4 00095D14 7F A3 EB 78 */ mr r3, r29 +/* 80098DB8 00095D18 48 2A 7F 0D */ bl __as__6CTokenFRC6CToken +/* 80098DBC 00095D1C 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80098DC0 00095D20 90 1D 00 08 */ stw r0, 8(r29) +lbl_80098DC4: +/* 80098DC4 00095D24 38 61 00 80 */ addi r3, r1, 0x80 +/* 80098DC8 00095D28 38 80 00 00 */ li r4, 0 +/* 80098DCC 00095D2C 48 2A 80 75 */ bl __dt__6CTokenFv +/* 80098DD0 00095D30 38 61 00 50 */ addi r3, r1, 0x50 +/* 80098DD4 00095D34 38 80 FF FF */ li r4, -1 +/* 80098DD8 00095D38 48 2A 80 69 */ bl __dt__6CTokenFv +/* 80098DDC 00095D3C 38 7F 00 78 */ addi r3, r31, 0x78 +/* 80098DE0 00095D40 48 2A 7F A5 */ bl Lock__6CTokenFv +/* 80098DE4 00095D44 48 00 00 C0 */ b lbl_80098EA4 +lbl_80098DE8: +/* 80098DE8 00095D48 3B BF 00 78 */ addi r29, r31, 0x78 +/* 80098DEC 00095D4C 38 81 00 70 */ addi r4, r1, 0x70 +/* 80098DF0 00095D50 38 00 00 00 */ li r0, 0 +/* 80098DF4 00095D54 7C 1D 20 40 */ cmplw r29, r4 +/* 80098DF8 00095D58 98 01 00 7C */ stb r0, 0x7c(r1) +/* 80098DFC 00095D5C 41 82 00 7C */ beq lbl_80098E78 +/* 80098E00 00095D60 28 00 00 00 */ cmplwi r0, 0 +/* 80098E04 00095D64 41 82 00 48 */ beq lbl_80098E4C +/* 80098E08 00095D68 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 80098E0C 00095D6C 28 00 00 00 */ cmplwi r0, 0 +/* 80098E10 00095D70 40 82 00 28 */ bne lbl_80098E38 +/* 80098E14 00095D74 37 BF 00 78 */ addic. r29, r31, 0x78 +/* 80098E18 00095D78 41 82 00 14 */ beq lbl_80098E2C +/* 80098E1C 00095D7C 7F A3 EB 78 */ mr r3, r29 +/* 80098E20 00095D80 48 2A 80 89 */ bl __ct__6CTokenFRC6CToken +/* 80098E24 00095D84 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80098E28 00095D88 90 1D 00 08 */ stw r0, 8(r29) +lbl_80098E2C: +/* 80098E2C 00095D8C 38 00 00 01 */ li r0, 1 +/* 80098E30 00095D90 98 1F 00 84 */ stb r0, 0x84(r31) +/* 80098E34 00095D94 48 00 00 44 */ b lbl_80098E78 +lbl_80098E38: +/* 80098E38 00095D98 7F A3 EB 78 */ mr r3, r29 +/* 80098E3C 00095D9C 48 2A 7E 89 */ bl __as__6CTokenFRC6CToken +/* 80098E40 00095DA0 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80098E44 00095DA4 90 1D 00 08 */ stw r0, 8(r29) +/* 80098E48 00095DA8 48 00 00 30 */ b lbl_80098E78 +lbl_80098E4C: +/* 80098E4C 00095DAC 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 80098E50 00095DB0 28 00 00 00 */ cmplwi r0, 0 +/* 80098E54 00095DB4 41 82 00 1C */ beq lbl_80098E70 +/* 80098E58 00095DB8 34 7F 00 78 */ addic. r3, r31, 0x78 +/* 80098E5C 00095DBC 41 82 00 14 */ beq lbl_80098E70 +/* 80098E60 00095DC0 28 03 00 00 */ cmplwi r3, 0 +/* 80098E64 00095DC4 41 82 00 0C */ beq lbl_80098E70 +/* 80098E68 00095DC8 38 80 00 00 */ li r4, 0 +/* 80098E6C 00095DCC 48 2A 7F D5 */ bl __dt__6CTokenFv +lbl_80098E70: +/* 80098E70 00095DD0 38 00 00 00 */ li r0, 0 +/* 80098E74 00095DD4 98 1F 00 84 */ stb r0, 0x84(r31) +lbl_80098E78: +/* 80098E78 00095DD8 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 80098E7C 00095DDC 28 00 00 00 */ cmplwi r0, 0 +/* 80098E80 00095DE0 41 82 00 1C */ beq lbl_80098E9C +/* 80098E84 00095DE4 34 61 00 70 */ addic. r3, r1, 0x70 +/* 80098E88 00095DE8 41 82 00 14 */ beq lbl_80098E9C +/* 80098E8C 00095DEC 28 03 00 00 */ cmplwi r3, 0 +/* 80098E90 00095DF0 41 82 00 0C */ beq lbl_80098E9C +/* 80098E94 00095DF4 38 80 00 00 */ li r4, 0 +/* 80098E98 00095DF8 48 2A 7F A9 */ bl __dt__6CTokenFv +lbl_80098E9C: +/* 80098E9C 00095DFC 38 00 00 00 */ li r0, 0 +/* 80098EA0 00095E00 98 01 00 7C */ stb r0, 0x7c(r1) +lbl_80098EA4: +/* 80098EA4 00095E04 3B 80 00 00 */ li r28, 0 +/* 80098EA8 00095E08 3B A0 00 00 */ li r29, 0 +/* 80098EAC 00095E0C 48 00 00 30 */ b lbl_80098EDC +lbl_80098EB0: +/* 80098EB0 00095E10 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80098EB4 00095E14 7C 60 EA 14 */ add r3, r0, r29 +/* 80098EB8 00095E18 80 63 00 04 */ lwz r3, 4(r3) +/* 80098EBC 00095E1C 28 03 00 00 */ cmplwi r3, 0 +/* 80098EC0 00095E20 41 82 00 14 */ beq lbl_80098ED4 +/* 80098EC4 00095E24 81 83 00 00 */ lwz r12, 0(r3) +/* 80098EC8 00095E28 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80098ECC 00095E2C 7D 89 03 A6 */ mtctr r12 +/* 80098ED0 00095E30 4E 80 04 21 */ bctrl +lbl_80098ED4: +/* 80098ED4 00095E34 3B BD 00 08 */ addi r29, r29, 8 +/* 80098ED8 00095E38 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80098EDC: +/* 80098EDC 00095E3C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80098EE0 00095E40 7C 1C 00 00 */ cmpw r28, r0 +/* 80098EE4 00095E44 41 80 FF CC */ blt lbl_80098EB0 +/* 80098EE8 00095E48 E3 E1 03 38 */ psq_l f31, 824(r1), 0, qr0 +/* 80098EEC 00095E4C CB E1 03 30 */ lfd f31, 0x330(r1) +/* 80098EF0 00095E50 E3 C1 03 28 */ psq_l f30, 808(r1), 0, qr0 +/* 80098EF4 00095E54 CB C1 03 20 */ lfd f30, 0x320(r1) +/* 80098EF8 00095E58 83 E1 03 1C */ lwz r31, 0x31c(r1) +/* 80098EFC 00095E5C 83 C1 03 18 */ lwz r30, 0x318(r1) +/* 80098F00 00095E60 83 A1 03 14 */ lwz r29, 0x314(r1) +/* 80098F04 00095E64 80 01 03 44 */ lwz r0, 0x344(r1) +/* 80098F08 00095E68 83 81 03 10 */ lwz r28, 0x310(r1) +/* 80098F0C 00095E6C 7C 08 03 A6 */ mtlr r0 +/* 80098F10 00095E70 38 21 03 40 */ addi r1, r1, 0x340 +/* 80098F14 00095E74 4E 80 00 20 */ blr + +.global GetAreaHintDescriptionString__11CAutoMapperFUi +GetAreaHintDescriptionString__11CAutoMapperFUi: +/* 80098F18 00095E78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80098F1C 00095E7C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80098F20 00095E80 3B E0 00 00 */ li r31, 0 +/* 80098F24 00095E84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80098F28 00095E88 7F FE FB 78 */ mr r30, r31 +/* 80098F2C 00095E8C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80098F30 00095E90 93 81 00 10 */ stw r28, 0x10(r1) +/* 80098F34 00095E94 3B 80 00 00 */ li r28, 0 +/* 80098F38 00095E98 80 ED A0 80 */ lwz r7, gpGameState@sda21(r13) +/* 80098F3C 00095E9C 80 CD A0 84 */ lwz r6, gpMemoryCard@sda21(r13) +/* 80098F40 00095EA0 83 A7 01 FC */ lwz r29, 0x1fc(r7) +/* 80098F44 00095EA4 48 00 00 9C */ b lbl_80098FE0 +lbl_80098F48: +/* 80098F48 00095EA8 80 A7 02 04 */ lwz r5, 0x204(r7) +/* 80098F4C 00095EAC 7C 05 F8 2E */ lwzx r0, r5, r31 +/* 80098F50 00095EB0 2C 00 00 02 */ cmpwi r0, 2 +/* 80098F54 00095EB4 40 82 00 80 */ bne lbl_80098FD4 +/* 80098F58 00095EB8 80 A6 00 08 */ lwz r5, 8(r6) +/* 80098F5C 00095EBC 39 80 00 00 */ li r12, 0 +/* 80098F60 00095EC0 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 80098F64 00095EC4 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80098F68 00095EC8 7D 00 F2 14 */ add r8, r0, r30 +/* 80098F6C 00095ECC 80 08 00 24 */ lwz r0, 0x24(r8) +/* 80098F70 00095ED0 7C 09 03 A6 */ mtctr r0 +/* 80098F74 00095ED4 2C 00 00 00 */ cmpwi r0, 0 +/* 80098F78 00095ED8 40 81 00 5C */ ble lbl_80098FD4 +lbl_80098F7C: +/* 80098F7C 00095EDC 80 08 00 2C */ lwz r0, 0x2c(r8) +/* 80098F80 00095EE0 7D 20 62 14 */ add r9, r0, r12 +/* 80098F84 00095EE4 80 09 00 04 */ lwz r0, 4(r9) +/* 80098F88 00095EE8 7C 00 20 40 */ cmplw r0, r4 +/* 80098F8C 00095EEC 40 82 00 40 */ bne lbl_80098FCC +/* 80098F90 00095EF0 81 43 01 FC */ lwz r10, 0x1fc(r3) +/* 80098F94 00095EF4 81 63 02 00 */ lwz r11, 0x200(r3) +/* 80098F98 00095EF8 48 00 00 2C */ b lbl_80098FC4 +lbl_80098F9C: +/* 80098F9C 00095EFC 80 AA 00 14 */ lwz r5, 0x14(r10) +/* 80098FA0 00095F00 80 09 00 08 */ lwz r0, 8(r9) +/* 80098FA4 00095F04 7C 05 00 00 */ cmpw r5, r0 +/* 80098FA8 00095F08 40 82 00 18 */ bne lbl_80098FC0 +/* 80098FAC 00095F0C C0 2A 00 0C */ lfs f1, 0xc(r10) +/* 80098FB0 00095F10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80098FB4 00095F14 40 81 00 0C */ ble lbl_80098FC0 +/* 80098FB8 00095F18 80 69 00 0C */ lwz r3, 0xc(r9) +/* 80098FBC 00095F1C 48 00 00 30 */ b lbl_80098FEC +lbl_80098FC0: +/* 80098FC0 00095F20 81 4A 00 04 */ lwz r10, 4(r10) +lbl_80098FC4: +/* 80098FC4 00095F24 7C 0A 58 40 */ cmplw r10, r11 +/* 80098FC8 00095F28 40 82 FF D4 */ bne lbl_80098F9C +lbl_80098FCC: +/* 80098FCC 00095F2C 39 8C 00 10 */ addi r12, r12, 0x10 +/* 80098FD0 00095F30 42 00 FF AC */ bdnz lbl_80098F7C +lbl_80098FD4: +/* 80098FD4 00095F34 3B FF 00 0C */ addi r31, r31, 0xc +/* 80098FD8 00095F38 3B DE 00 30 */ addi r30, r30, 0x30 +/* 80098FDC 00095F3C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80098FE0: +/* 80098FE0 00095F40 7C 1C E8 00 */ cmpw r28, r29 +/* 80098FE4 00095F44 41 80 FF 64 */ blt lbl_80098F48 +/* 80098FE8 00095F48 38 60 FF FF */ li r3, -1 +lbl_80098FEC: +/* 80098FEC 00095F4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80098FF0 00095F50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80098FF4 00095F54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80098FF8 00095F58 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80098FFC 00095F5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80099000 00095F60 4E 80 00 20 */ blr + +.global Draw__11CAutoMapperCFRC13CStateManagerRC12CTransform4ff +Draw__11CAutoMapperCFRC13CStateManagerRC12CTransform4ff: +/* 80099004 00095F64 94 21 F7 40 */ stwu r1, -0x8c0(r1) +/* 80099008 00095F68 7C 08 02 A6 */ mflr r0 +/* 8009900C 00095F6C 90 01 08 C4 */ stw r0, 0x8c4(r1) +/* 80099010 00095F70 DB E1 08 B0 */ stfd f31, 0x8b0(r1) +/* 80099014 00095F74 F3 E1 08 B8 */ psq_st f31, -1864(r1), 0, qr0 +/* 80099018 00095F78 DB C1 08 A0 */ stfd f30, 0x8a0(r1) +/* 8009901C 00095F7C F3 C1 08 A8 */ psq_st f30, -1880(r1), 0, qr0 +/* 80099020 00095F80 DB A1 08 90 */ stfd f29, 0x890(r1) +/* 80099024 00095F84 F3 A1 08 98 */ psq_st f29, -1896(r1), 0, qr0 +/* 80099028 00095F88 DB 81 08 80 */ stfd f28, 0x880(r1) +/* 8009902C 00095F8C F3 81 08 88 */ psq_st f28, -1912(r1), 0, qr0 +/* 80099030 00095F90 DB 61 08 70 */ stfd f27, 0x870(r1) +/* 80099034 00095F94 F3 61 08 78 */ psq_st f27, -1928(r1), 0, qr0 +/* 80099038 00095F98 DB 41 08 60 */ stfd f26, 0x860(r1) +/* 8009903C 00095F9C F3 41 08 68 */ psq_st f26, -1944(r1), 0, qr0 +/* 80099040 00095FA0 DB 21 08 50 */ stfd f25, 0x850(r1) +/* 80099044 00095FA4 F3 21 08 58 */ psq_st f25, -1960(r1), 0, qr0 +/* 80099048 00095FA8 BF 01 08 30 */ stmw r24, 0x830(r1) +/* 8009904C 00095FAC FF 20 08 90 */ fmr f25, f1 +/* 80099050 00095FB0 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) +/* 80099054 00095FB4 7C 7F 1B 78 */ mr r31, r3 +/* 80099058 00095FB8 7C 9E 23 78 */ mr r30, r4 +/* 8009905C 00095FBC 7C B8 2B 78 */ mr r24, r5 +/* 80099060 00095FC0 38 66 01 7C */ addi r3, r6, 0x17c +/* 80099064 00095FC4 48 17 5D 11 */ bl GetHudAlpha__12CGameOptionsCFv +/* 80099068 00095FC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8009906C 00095FCC EF 59 00 72 */ fmuls f26, f25, f1 +/* 80099070 00095FD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80099074 00095FD4 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80099078 00095FD8 7D 89 03 A6 */ mtctr r12 +/* 8009907C 00095FDC 4E 80 04 21 */ bctrl +/* 80099080 00095FE0 38 60 00 01 */ li r3, 1 +/* 80099084 00095FE4 48 27 29 ED */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80099088 00095FE8 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 8009908C 00095FEC 38 60 00 00 */ li r3, 0 +/* 80099090 00095FF0 2C 00 00 00 */ cmpwi r0, 0 +/* 80099094 00095FF4 41 82 00 14 */ beq lbl_800990A8 +/* 80099098 00095FF8 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 8009909C 00095FFC 2C 00 00 00 */ cmpwi r0, 0 +/* 800990A0 00096000 41 82 00 08 */ beq lbl_800990A8 +/* 800990A4 00096004 38 60 00 01 */ li r3, 1 +lbl_800990A8: +/* 800990A8 00096008 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800990AC 0009600C 41 82 00 0C */ beq lbl_800990B8 +/* 800990B0 00096010 C3 A2 8B 80 */ lfs f29, lbl_805AA8A0@sda21(r2) +/* 800990B4 00096014 48 00 00 8C */ b lbl_80099140 +lbl_800990B8: +/* 800990B8 00096018 7F E3 FB 78 */ mr r3, r31 +/* 800990BC 0009601C 38 80 00 00 */ li r4, 0 +/* 800990C0 00096020 4B FF CC 65 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 800990C4 00096024 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800990C8 00096028 41 82 00 0C */ beq lbl_800990D4 +/* 800990CC 0009602C FF A0 D0 90 */ fmr f29, f26 +/* 800990D0 00096030 48 00 00 70 */ b lbl_80099140 +lbl_800990D4: +/* 800990D4 00096034 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 800990D8 00096038 2C 00 00 00 */ cmpwi r0, 0 +/* 800990DC 0009603C 40 82 00 2C */ bne lbl_80099108 +/* 800990E0 00096040 C0 5F 01 C4 */ lfs f2, 0x1c4(r31) +/* 800990E4 00096044 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 800990E8 00096048 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800990EC 0009604C 40 81 00 0C */ ble lbl_800990F8 +/* 800990F0 00096050 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) +/* 800990F4 00096054 EC 20 10 24 */ fdivs f1, f0, f2 +lbl_800990F8: +/* 800990F8 00096058 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 800990FC 0009605C EC 00 08 28 */ fsubs f0, f0, f1 +/* 80099100 00096060 EF BA 00 7A */ fmadds f29, f26, f1, f0 +/* 80099104 00096064 48 00 00 3C */ b lbl_80099140 +lbl_80099108: +/* 80099108 00096068 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 8009910C 0009606C 2C 00 00 00 */ cmpwi r0, 0 +/* 80099110 00096070 40 82 00 2C */ bne lbl_8009913C +/* 80099114 00096074 C0 5F 01 C4 */ lfs f2, 0x1c4(r31) +/* 80099118 00096078 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 8009911C 0009607C FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80099120 00096080 40 81 00 0C */ ble lbl_8009912C +/* 80099124 00096084 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) +/* 80099128 00096088 EC 20 10 24 */ fdivs f1, f0, f2 +lbl_8009912C: +/* 8009912C 0009608C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80099130 00096090 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80099134 00096094 EF BA 08 3A */ fmadds f29, f26, f0, f1 +/* 80099138 00096098 48 00 00 08 */ b lbl_80099140 +lbl_8009913C: +/* 8009913C 0009609C C3 A2 8B 80 */ lfs f29, lbl_805AA8A0@sda21(r2) +lbl_80099140: +/* 80099140 000960A0 80 9F 00 A8 */ lwz r4, 0xa8(r31) +/* 80099144 000960A4 3C 60 43 30 */ lis r3, 0x4330 +/* 80099148 000960A8 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 8009914C 000960AC 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80099150 000960B0 90 61 08 18 */ stw r3, 0x818(r1) +/* 80099154 000960B4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80099158 000960B8 C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) +/* 8009915C 000960BC 90 81 08 1C */ stw r4, 0x81c(r1) +/* 80099160 000960C0 C0 22 8B 7C */ lfs f1, lbl_805AA89C@sda21(r2) +/* 80099164 000960C4 C8 01 08 18 */ lfd f0, 0x818(r1) +/* 80099168 000960C8 90 01 08 24 */ stw r0, 0x824(r1) +/* 8009916C 000960CC EC A0 20 28 */ fsubs f5, f0, f4 +/* 80099170 000960D0 C0 1F 00 C4 */ lfs f0, 0xc4(r31) +/* 80099174 000960D4 90 61 08 20 */ stw r3, 0x820(r1) +/* 80099178 000960D8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8009917C 000960DC C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) +/* 80099180 000960E0 C8 01 08 20 */ lfd f0, 0x820(r1) +/* 80099184 000960E4 C0 62 8B 70 */ lfs f3, lbl_805AA890@sda21(r2) +/* 80099188 000960E8 EC 80 20 28 */ fsubs f4, f0, f4 +/* 8009918C 000960EC C0 02 8B 74 */ lfs f0, lbl_805AA894@sda21(r2) +/* 80099190 000960F0 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80099194 000960F4 EF 45 20 24 */ fdivs f26, f5, f4 +/* 80099198 000960F8 EC 23 00 7C */ fnmsubs f1, f3, f1, f0 +/* 8009919C 000960FC 48 2F BA 19 */ bl tan +/* 800991A0 00096100 FC 00 08 18 */ frsp f0, f1 +/* 800991A4 00096104 C0 3F 00 C0 */ lfs f1, 0xc0(r31) +/* 800991A8 00096108 38 61 06 64 */ addi r3, r1, 0x664 +/* 800991AC 0009610C 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 800991B0 00096110 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 800991B4 00096114 EF 61 00 24 */ fdivs f27, f1, f0 +/* 800991B8 00096118 48 27 8D 05 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 800991BC 0009611C 38 61 07 E4 */ addi r3, r1, 0x7e4 +/* 800991C0 00096120 38 81 06 64 */ addi r4, r1, 0x664 +/* 800991C4 00096124 48 27 99 B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800991C8 00096128 EC 1B 06 B2 */ fmuls f0, f27, f26 +/* 800991CC 0009612C C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) +/* 800991D0 00096130 C0 82 8B 80 */ lfs f4, lbl_805AA8A0@sda21(r2) +/* 800991D4 00096134 38 61 06 34 */ addi r3, r1, 0x634 +/* 800991D8 00096138 C0 22 8B D0 */ lfs f1, lbl_805AA8F0@sda21(r2) +/* 800991DC 0009613C EC 64 00 24 */ fdivs f3, f4, f0 +/* 800991E0 00096140 D0 41 07 B8 */ stfs f2, 0x7b8(r1) +/* 800991E4 00096144 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 800991E8 00096148 D0 41 07 BC */ stfs f2, 0x7bc(r1) +/* 800991EC 0009614C D0 41 07 C0 */ stfs f2, 0x7c0(r1) +/* 800991F0 00096150 D0 41 07 C4 */ stfs f2, 0x7c4(r1) +/* 800991F4 00096154 EC 04 D8 24 */ fdivs f0, f4, f27 +/* 800991F8 00096158 D0 61 07 B4 */ stfs f3, 0x7b4(r1) +/* 800991FC 0009615C D0 21 07 C8 */ stfs f1, 0x7c8(r1) +/* 80099200 00096160 D0 41 07 CC */ stfs f2, 0x7cc(r1) +/* 80099204 00096164 D0 41 07 D0 */ stfs f2, 0x7d0(r1) +/* 80099208 00096168 D0 41 07 D4 */ stfs f2, 0x7d4(r1) +/* 8009920C 0009616C D0 41 07 D8 */ stfs f2, 0x7d8(r1) +/* 80099210 00096170 D0 01 07 DC */ stfs f0, 0x7dc(r1) +/* 80099214 00096174 D0 41 07 E0 */ stfs f2, 0x7e0(r1) +/* 80099218 00096178 C0 64 00 C8 */ lfs f3, 0xc8(r4) +/* 8009921C 0009617C C0 24 00 C4 */ lfs f1, 0xc4(r4) +/* 80099220 00096180 48 27 9F E9 */ bl Scale__12CTransform4fFfff +/* 80099224 00096184 38 61 07 84 */ addi r3, r1, 0x784 +/* 80099228 00096188 38 81 06 34 */ addi r4, r1, 0x634 +/* 8009922C 0009618C 48 27 99 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80099230 00096190 38 61 05 74 */ addi r3, r1, 0x574 +/* 80099234 00096194 38 81 07 E4 */ addi r4, r1, 0x7e4 +/* 80099238 00096198 48 27 9A 65 */ bl GetQuickInverse__12CTransform4fCFv +/* 8009923C 0009619C 7F 04 C3 78 */ mr r4, r24 +/* 80099240 000961A0 38 61 05 A4 */ addi r3, r1, 0x5a4 +/* 80099244 000961A4 38 A1 07 84 */ addi r5, r1, 0x784 +/* 80099248 000961A8 48 27 97 09 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8009924C 000961AC 38 61 05 D4 */ addi r3, r1, 0x5d4 +/* 80099250 000961B0 38 81 05 A4 */ addi r4, r1, 0x5a4 +/* 80099254 000961B4 38 A1 07 B4 */ addi r5, r1, 0x7b4 +/* 80099258 000961B8 48 27 96 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8009925C 000961BC 38 61 06 04 */ addi r3, r1, 0x604 +/* 80099260 000961C0 38 81 05 D4 */ addi r4, r1, 0x5d4 +/* 80099264 000961C4 38 A1 05 74 */ addi r5, r1, 0x574 +/* 80099268 000961C8 48 27 96 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8009926C 000961CC 38 61 07 54 */ addi r3, r1, 0x754 +/* 80099270 000961D0 38 81 06 04 */ addi r4, r1, 0x604 +/* 80099274 000961D4 48 27 99 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80099278 000961D8 80 9F 01 C0 */ lwz r4, 0x1c0(r31) +/* 8009927C 000961DC C3 82 8B A8 */ lfs f28, lbl_805AA8C8@sda21(r2) +/* 80099280 000961E0 2C 04 00 02 */ cmpwi r4, 2 +/* 80099284 000961E4 40 82 00 3C */ bne lbl_800992C0 +/* 80099288 000961E8 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 8009928C 000961EC 2C 00 00 02 */ cmpwi r0, 2 +/* 80099290 000961F0 40 82 00 0C */ bne lbl_8009929C +/* 80099294 000961F4 C3 82 8B 80 */ lfs f28, lbl_805AA8A0@sda21(r2) +/* 80099298 000961F8 48 00 00 58 */ b lbl_800992F0 +lbl_8009929C: +/* 8009929C 000961FC C0 3F 01 C4 */ lfs f1, 0x1c4(r31) +/* 800992A0 00096200 FC 01 E0 40 */ fcmpo cr0, f1, f28 +/* 800992A4 00096204 40 81 00 10 */ ble lbl_800992B4 +/* 800992A8 00096208 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) +/* 800992AC 0009620C EC 00 08 24 */ fdivs f0, f0, f1 +/* 800992B0 00096210 48 00 00 08 */ b lbl_800992B8 +lbl_800992B4: +/* 800992B4 00096214 FC 00 E0 90 */ fmr f0, f28 +lbl_800992B8: +/* 800992B8 00096218 FF 80 00 90 */ fmr f28, f0 +/* 800992BC 0009621C 48 00 00 34 */ b lbl_800992F0 +lbl_800992C0: +/* 800992C0 00096220 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 800992C4 00096224 2C 00 00 02 */ cmpwi r0, 2 +/* 800992C8 00096228 40 82 00 28 */ bne lbl_800992F0 +/* 800992CC 0009622C C0 3F 01 C4 */ lfs f1, 0x1c4(r31) +/* 800992D0 00096230 FC 01 E0 40 */ fcmpo cr0, f1, f28 +/* 800992D4 00096234 40 81 00 10 */ ble lbl_800992E4 +/* 800992D8 00096238 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) +/* 800992DC 0009623C EC 20 08 24 */ fdivs f1, f0, f1 +/* 800992E0 00096240 48 00 00 08 */ b lbl_800992E8 +lbl_800992E4: +/* 800992E4 00096244 FC 20 E0 90 */ fmr f1, f28 +lbl_800992E8: +/* 800992E8 00096248 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 800992EC 0009624C EF 80 08 28 */ fsubs f28, f0, f1 +lbl_800992F0: +/* 800992F0 00096250 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 800992F4 00096254 38 60 00 00 */ li r3, 0 +/* 800992F8 00096258 2C 00 00 02 */ cmpwi r0, 2 +/* 800992FC 0009625C 41 82 00 0C */ beq lbl_80099308 +/* 80099300 00096260 2C 04 00 02 */ cmpwi r4, 2 +/* 80099304 00096264 40 82 00 08 */ bne lbl_8009930C +lbl_80099308: +/* 80099308 00096268 38 60 00 01 */ li r3, 1 +lbl_8009930C: +/* 8009930C 0009626C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80099310 00096270 41 82 00 20 */ beq lbl_80099330 +/* 80099314 00096274 80 1F 00 9C */ lwz r0, 0x9c(r31) +/* 80099318 00096278 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8009931C 0009627C 1C 60 00 70 */ mulli r3, r0, 0x70 +/* 80099320 00096280 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 80099324 00096284 3B A3 00 14 */ addi r29, r3, 0x14 +/* 80099328 00096288 7F A0 EA 14 */ add r29, r0, r29 +/* 8009932C 0009628C 48 00 00 0C */ b lbl_80099338 +lbl_80099330: +/* 80099330 00096290 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80099334 00096294 3B A3 66 70 */ addi r29, r3, skIdentity4f@l +lbl_80099338: +/* 80099338 00096298 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009933C 0009629C 38 60 00 00 */ li r3, 0 +/* 80099340 000962A0 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80099344 000962A4 C0 5F 00 C0 */ lfs f2, 0xc0(r31) +/* 80099348 000962A8 C0 24 00 0C */ lfs f1, 0xc(r4) +/* 8009934C 000962AC EC 00 E0 28 */ fsubs f0, f0, f28 +/* 80099350 000962B0 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 80099354 000962B4 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80099358 000962B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8009935C 000962BC EF 7D 00 32 */ fmuls f27, f29, f0 +/* 80099360 000962C0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80099364 000962C4 41 82 00 14 */ beq lbl_80099378 +/* 80099368 000962C8 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 8009936C 000962CC 2C 00 00 00 */ cmpwi r0, 0 +/* 80099370 000962D0 41 82 00 08 */ beq lbl_80099378 +/* 80099374 000962D4 38 60 00 01 */ li r3, 1 +lbl_80099378: +/* 80099378 000962D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009937C 000962DC 41 82 02 34 */ beq lbl_800995B0 +/* 80099380 000962E0 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80099384 000962E4 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80099388 000962E8 40 80 03 F4 */ bge lbl_8009977C +/* 8009938C 000962EC 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80099390 000962F0 28 03 00 00 */ cmplwi r3, 0 +/* 80099394 000962F4 41 82 03 E8 */ beq lbl_8009977C +/* 80099398 000962F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8009939C 000962FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800993A0 00096300 7D 89 03 A6 */ mtctr r12 +/* 800993A4 00096304 4E 80 04 21 */ bctrl +/* 800993A8 00096308 7C 64 1B 78 */ mr r4, r3 +/* 800993AC 0009630C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800993B0 00096310 48 13 A6 29 */ bl StateForWorld__10CGameStateFUi +/* 800993B4 00096314 7C 64 1B 78 */ mr r4, r3 +/* 800993B8 00096318 38 61 00 30 */ addi r3, r1, 0x30 +/* 800993BC 0009631C 48 13 B9 A9 */ bl GetMapWorldInfo__11CWorldStateCFv +/* 800993C0 00096320 80 81 00 30 */ lwz r4, 0x30(r1) +/* 800993C4 00096324 38 61 00 30 */ addi r3, r1, 0x30 +/* 800993C8 00096328 83 84 00 00 */ lwz r28, 0(r4) +/* 800993CC 0009632C 4B F6 F8 71 */ bl sub_80008c3c +/* 800993D0 00096330 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800993D4 00096334 81 83 00 00 */ lwz r12, 0(r3) +/* 800993D8 00096338 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800993DC 0009633C 7D 89 03 A6 */ mtctr r12 +/* 800993E0 00096340 4E 80 04 21 */ bctrl +/* 800993E4 00096344 80 1F 01 F4 */ lwz r0, 0x1f4(r31) +/* 800993E8 00096348 7C 7B 1B 78 */ mr r27, r3 +/* 800993EC 0009634C C3 42 8B A8 */ lfs f26, lbl_805AA8C8@sda21(r2) +/* 800993F0 00096350 2C 00 00 00 */ cmpwi r0, 0 +/* 800993F4 00096354 41 82 01 2C */ beq lbl_80099520 +/* 800993F8 00096358 80 7F 01 E4 */ lwz r3, 0x1e4(r31) +/* 800993FC 0009635C 80 03 00 08 */ lwz r0, 8(r3) +/* 80099400 00096360 2C 00 00 04 */ cmpwi r0, 4 +/* 80099404 00096364 40 82 01 1C */ bne lbl_80099520 +/* 80099408 00096368 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8009940C 0009636C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 80099410 00096370 80 1E 08 CC */ lwz r0, 0x8cc(r30) +/* 80099414 00096374 90 81 00 38 */ stw r4, 0x38(r1) +/* 80099418 00096378 7C 03 00 00 */ cmpw r3, r0 +/* 8009941C 0009637C C3 21 00 38 */ lfs f25, 0x38(r1) +/* 80099420 00096380 40 82 00 4C */ bne lbl_8009946C +/* 80099424 00096384 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80099428 00096388 80 1E 08 50 */ lwz r0, 0x850(r30) +/* 8009942C 0009638C 7C 03 00 40 */ cmplw r3, r0 +/* 80099430 00096390 40 82 00 3C */ bne lbl_8009946C +/* 80099434 00096394 C0 02 8B D4 */ lfs f0, lbl_805AA8F4@sda21(r2) +/* 80099438 00096398 C8 42 8B D8 */ lfd f2, lbl_805AA8F8@sda21(r2) +/* 8009943C 0009639C EC 39 00 32 */ fmuls f1, f25, f0 +/* 80099440 000963A0 48 2F B8 6D */ bl fmod +/* 80099444 000963A4 FC 40 08 18 */ frsp f2, f1 +/* 80099448 000963A8 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) +/* 8009944C 000963AC C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) +/* 80099450 000963B0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80099454 000963B4 40 80 00 08 */ bge lbl_8009945C +/* 80099458 000963B8 48 00 00 0C */ b lbl_80099464 +lbl_8009945C: +/* 8009945C 000963BC C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80099460 000963C0 EC 40 10 28 */ fsubs f2, f0, f2 +lbl_80099464: +/* 80099464 000963C4 EF 41 00 B2 */ fmuls f26, f1, f2 +/* 80099468 000963C8 48 00 00 B8 */ b lbl_80099520 +lbl_8009946C: +/* 8009946C 000963CC 83 5F 01 FC */ lwz r26, 0x1fc(r31) +/* 80099470 000963D0 48 00 00 A4 */ b lbl_80099514 +lbl_80099474: +/* 80099474 000963D4 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80099478 000963D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8009947C 000963DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80099480 000963E0 7D 89 03 A6 */ mtctr r12 +/* 80099484 000963E4 4E 80 04 21 */ bctrl +/* 80099488 000963E8 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 8009948C 000963EC 7C 00 18 40 */ cmplw r0, r3 +/* 80099490 000963F0 40 82 00 80 */ bne lbl_80099510 +/* 80099494 000963F4 80 7A 00 14 */ lwz r3, 0x14(r26) +/* 80099498 000963F8 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 8009949C 000963FC 7C 03 00 00 */ cmpw r3, r0 +/* 800994A0 00096400 40 82 00 70 */ bne lbl_80099510 +/* 800994A4 00096404 C0 42 8B 70 */ lfs f2, lbl_805AA890@sda21(r2) +/* 800994A8 00096408 C0 0D 85 D8 */ lfs f0, lbl_805A7198@sda21(r13) +/* 800994AC 0009640C EC 39 10 28 */ fsubs f1, f25, f2 +/* 800994B0 00096410 EC 21 10 24 */ fdivs f1, f1, f2 +/* 800994B4 00096414 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800994B8 00096418 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800994BC 0009641C 40 80 00 0C */ bge lbl_800994C8 +/* 800994C0 00096420 38 61 00 2C */ addi r3, r1, 0x2c +/* 800994C4 00096424 48 00 00 08 */ b lbl_800994CC +lbl_800994C8: +/* 800994C8 00096428 38 6D 85 D8 */ addi r3, r13, lbl_805A7198@sda21 +lbl_800994CC: +/* 800994CC 0009642C C0 42 8B 80 */ lfs f2, lbl_805AA8A0@sda21(r2) +/* 800994D0 00096430 C0 23 00 00 */ lfs f1, 0(r3) +/* 800994D4 00096434 C0 02 8B E0 */ lfs f0, lbl_805AA900@sda21(r2) +/* 800994D8 00096438 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800994DC 0009643C C8 42 8B D8 */ lfd f2, lbl_805AA8F8@sda21(r2) +/* 800994E0 00096440 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800994E4 00096444 48 2F B7 C9 */ bl fmod +/* 800994E8 00096448 FC 40 08 18 */ frsp f2, f1 +/* 800994EC 0009644C C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) +/* 800994F0 00096450 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) +/* 800994F4 00096454 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800994F8 00096458 40 80 00 08 */ bge lbl_80099500 +/* 800994FC 0009645C 48 00 00 0C */ b lbl_80099508 +lbl_80099500: +/* 80099500 00096460 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80099504 00096464 EC 40 10 28 */ fsubs f2, f0, f2 +lbl_80099508: +/* 80099508 00096468 EF 41 00 B2 */ fmuls f26, f1, f2 +/* 8009950C 0009646C 48 00 00 14 */ b lbl_80099520 +lbl_80099510: +/* 80099510 00096470 83 5A 00 04 */ lwz r26, 4(r26) +lbl_80099514: +/* 80099514 00096474 80 1F 02 00 */ lwz r0, 0x200(r31) +/* 80099518 00096478 7C 1A 00 40 */ cmplw r26, r0 +/* 8009951C 0009647C 40 82 FF 58 */ bne lbl_80099474 +lbl_80099520: +/* 80099520 00096480 83 5F 00 A0 */ lwz r26, 0xa0(r31) +/* 80099524 00096484 7F A5 EB 78 */ mr r5, r29 +/* 80099528 00096488 38 61 05 08 */ addi r3, r1, 0x508 +/* 8009952C 0009648C 38 81 07 54 */ addi r4, r1, 0x754 +/* 80099530 00096490 48 27 94 21 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80099534 00096494 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80099538 00096498 FC A0 D8 90 */ fmr f5, f27 +/* 8009953C 0009649C FD 00 D0 90 */ fmr f8, f26 +/* 80099540 000964A0 C0 C2 8B 90 */ lfs f6, lbl_805AA8B0@sda21(r2) +/* 80099544 000964A4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80099548 000964A8 7F C4 F3 78 */ mr r4, r30 +/* 8009954C 000964AC 7F 88 E3 78 */ mr r8, r28 +/* 80099550 000964B0 C0 1F 00 DC */ lfs f0, 0xdc(r31) +/* 80099554 000964B4 C0 5F 00 E0 */ lfs f2, 0xe0(r31) +/* 80099558 000964B8 38 61 05 38 */ addi r3, r1, 0x538 +/* 8009955C 000964BC C0 7F 00 E4 */ lfs f3, 0xe4(r31) +/* 80099560 000964C0 EC 20 07 72 */ fmuls f1, f0, f29 +/* 80099564 000964C4 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80099568 000964C8 EC 42 07 72 */ fmuls f2, f2, f29 +/* 8009956C 000964CC EC 63 07 72 */ fmuls f3, f3, f29 +/* 80099570 000964D0 80 FF 00 24 */ lwz r7, 0x24(r31) +/* 80099574 000964D4 EC 80 07 72 */ fmuls f4, f0, f29 +/* 80099578 000964D8 C0 FF 01 DC */ lfs f7, 0x1dc(r31) +/* 8009957C 000964DC 38 A1 05 08 */ addi r5, r1, 0x508 +/* 80099580 000964E0 38 C1 07 E4 */ addi r6, r1, 0x7e4 +/* 80099584 000964E4 39 20 00 01 */ li r9, 1 +/* 80099588 000964E8 48 00 83 BD */ bl __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb +/* 8009958C 000964EC C0 3F 00 D4 */ lfs f1, 0xd4(r31) +/* 80099590 000964F0 7C 64 1B 78 */ mr r4, r3 +/* 80099594 000964F4 C0 5F 00 D8 */ lfs f2, 0xd8(r31) +/* 80099598 000964F8 7F 63 DB 78 */ mr r3, r27 +/* 8009959C 000964FC 7F 45 D3 78 */ mr r5, r26 +/* 800995A0 00096500 7F 46 D3 78 */ mr r6, r26 +/* 800995A4 00096504 38 E0 00 01 */ li r7, 1 +/* 800995A8 00096508 48 00 75 B1 */ bl Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb +/* 800995AC 0009650C 48 00 01 D0 */ b lbl_8009977C +lbl_800995B0: +/* 800995B0 00096510 7F E3 FB 78 */ mr r3, r31 +/* 800995B4 00096514 38 80 00 00 */ li r4, 0 +/* 800995B8 00096518 4B FF C7 6D */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 800995BC 0009651C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800995C0 00096520 41 82 00 D8 */ beq lbl_80099698 +/* 800995C4 00096524 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800995C8 00096528 81 83 00 00 */ lwz r12, 0(r3) +/* 800995CC 0009652C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800995D0 00096530 7D 89 03 A6 */ mtctr r12 +/* 800995D4 00096534 4E 80 04 21 */ bctrl +/* 800995D8 00096538 7C 60 1B 78 */ mr r0, r3 +/* 800995DC 0009653C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800995E0 00096540 7C 1A 03 78 */ mr r26, r0 +/* 800995E4 00096544 81 83 00 00 */ lwz r12, 0(r3) +/* 800995E8 00096548 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800995EC 0009654C 7D 89 03 A6 */ mtctr r12 +/* 800995F0 00096550 4E 80 04 21 */ bctrl +/* 800995F4 00096554 7C 64 1B 78 */ mr r4, r3 +/* 800995F8 00096558 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800995FC 0009655C 48 13 A3 DD */ bl StateForWorld__10CGameStateFUi +/* 80099600 00096560 7C 64 1B 78 */ mr r4, r3 +/* 80099604 00096564 38 61 00 28 */ addi r3, r1, 0x28 +/* 80099608 00096568 48 13 B7 5D */ bl GetMapWorldInfo__11CWorldStateCFv +/* 8009960C 0009656C 80 81 00 28 */ lwz r4, 0x28(r1) +/* 80099610 00096570 38 61 00 28 */ addi r3, r1, 0x28 +/* 80099614 00096574 83 64 00 00 */ lwz r27, 0(r4) +/* 80099618 00096578 4B F6 F6 25 */ bl sub_80008c3c +/* 8009961C 0009657C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80099620 00096580 FC A0 D8 90 */ fmr f5, f27 +/* 80099624 00096584 C0 E2 8B A8 */ lfs f7, lbl_805AA8C8@sda21(r2) +/* 80099628 00096588 7F C4 F3 78 */ mr r4, r30 +/* 8009962C 0009658C D0 01 00 08 */ stfs f0, 8(r1) +/* 80099630 00096590 7F 68 DB 78 */ mr r8, r27 +/* 80099634 00096594 FD 00 38 90 */ fmr f8, f7 +/* 80099638 00096598 C0 3F 00 DC */ lfs f1, 0xdc(r31) +/* 8009963C 0009659C 38 61 04 CC */ addi r3, r1, 0x4cc +/* 80099640 000965A0 C0 5F 00 E0 */ lfs f2, 0xe0(r31) +/* 80099644 000965A4 38 A1 07 54 */ addi r5, r1, 0x754 +/* 80099648 000965A8 C0 7F 00 E4 */ lfs f3, 0xe4(r31) +/* 8009964C 000965AC C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80099650 000965B0 EC 21 07 72 */ fmuls f1, f1, f29 +/* 80099654 000965B4 EC 42 07 72 */ fmuls f2, f2, f29 +/* 80099658 000965B8 C0 C2 8B 80 */ lfs f6, lbl_805AA8A0@sda21(r2) +/* 8009965C 000965BC EC 63 07 72 */ fmuls f3, f3, f29 +/* 80099660 000965C0 80 FF 00 24 */ lwz r7, 0x24(r31) +/* 80099664 000965C4 EC 80 07 72 */ fmuls f4, f0, f29 +/* 80099668 000965C8 38 C1 07 E4 */ addi r6, r1, 0x7e4 +/* 8009966C 000965CC 39 20 00 00 */ li r9, 0 +/* 80099670 000965D0 48 00 82 D5 */ bl __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb +/* 80099674 000965D4 80 BF 00 A0 */ lwz r5, 0xa0(r31) +/* 80099678 000965D8 7C 64 1B 78 */ mr r4, r3 +/* 8009967C 000965DC 80 DF 00 A4 */ lwz r6, 0xa4(r31) +/* 80099680 000965E0 7F 43 D3 78 */ mr r3, r26 +/* 80099684 000965E4 C0 3F 00 D4 */ lfs f1, 0xd4(r31) +/* 80099688 000965E8 38 E0 00 00 */ li r7, 0 +/* 8009968C 000965EC C0 5F 00 D8 */ lfs f2, 0xd8(r31) +/* 80099690 000965F0 48 00 74 C9 */ bl Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb +/* 80099694 000965F4 48 00 00 E8 */ b lbl_8009977C +lbl_80099698: +/* 80099698 000965F8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8009969C 000965FC 81 83 00 00 */ lwz r12, 0(r3) +/* 800996A0 00096600 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800996A4 00096604 7D 89 03 A6 */ mtctr r12 +/* 800996A8 00096608 4E 80 04 21 */ bctrl +/* 800996AC 0009660C 7C 60 1B 78 */ mr r0, r3 +/* 800996B0 00096610 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800996B4 00096614 7C 1C 03 78 */ mr r28, r0 +/* 800996B8 00096618 81 83 00 00 */ lwz r12, 0(r3) +/* 800996BC 0009661C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800996C0 00096620 7D 89 03 A6 */ mtctr r12 +/* 800996C4 00096624 4E 80 04 21 */ bctrl +/* 800996C8 00096628 7C 64 1B 78 */ mr r4, r3 +/* 800996CC 0009662C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800996D0 00096630 48 13 A3 09 */ bl StateForWorld__10CGameStateFUi +/* 800996D4 00096634 7C 64 1B 78 */ mr r4, r3 +/* 800996D8 00096638 38 61 00 24 */ addi r3, r1, 0x24 +/* 800996DC 0009663C 48 13 B6 89 */ bl GetMapWorldInfo__11CWorldStateCFv +/* 800996E0 00096640 80 81 00 24 */ lwz r4, 0x24(r1) +/* 800996E4 00096644 38 61 00 24 */ addi r3, r1, 0x24 +/* 800996E8 00096648 83 64 00 00 */ lwz r27, 0(r4) +/* 800996EC 0009664C 4B F6 F5 51 */ bl sub_80008c3c +/* 800996F0 00096650 83 5F 00 A0 */ lwz r26, 0xa0(r31) +/* 800996F4 00096654 7F A5 EB 78 */ mr r5, r29 +/* 800996F8 00096658 38 61 04 60 */ addi r3, r1, 0x460 +/* 800996FC 0009665C 38 81 07 54 */ addi r4, r1, 0x754 +/* 80099700 00096660 48 27 92 51 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80099704 00096664 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80099708 00096668 FC A0 D8 90 */ fmr f5, f27 +/* 8009970C 0009666C C0 E2 8B A8 */ lfs f7, lbl_805AA8C8@sda21(r2) +/* 80099710 00096670 7F C4 F3 78 */ mr r4, r30 +/* 80099714 00096674 D0 01 00 08 */ stfs f0, 8(r1) +/* 80099718 00096678 7F 68 DB 78 */ mr r8, r27 +/* 8009971C 0009667C FD 00 38 90 */ fmr f8, f7 +/* 80099720 00096680 C0 3F 00 DC */ lfs f1, 0xdc(r31) +/* 80099724 00096684 38 61 04 90 */ addi r3, r1, 0x490 +/* 80099728 00096688 C0 5F 00 E0 */ lfs f2, 0xe0(r31) +/* 8009972C 0009668C 38 A1 04 60 */ addi r5, r1, 0x460 +/* 80099730 00096690 C0 7F 00 E4 */ lfs f3, 0xe4(r31) +/* 80099734 00096694 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80099738 00096698 EC 21 07 72 */ fmuls f1, f1, f29 +/* 8009973C 0009669C EC 42 07 72 */ fmuls f2, f2, f29 +/* 80099740 000966A0 C0 C2 8B 90 */ lfs f6, lbl_805AA8B0@sda21(r2) +/* 80099744 000966A4 EC 63 07 72 */ fmuls f3, f3, f29 +/* 80099748 000966A8 80 FF 00 24 */ lwz r7, 0x24(r31) +/* 8009974C 000966AC EC 80 07 72 */ fmuls f4, f0, f29 +/* 80099750 000966B0 38 C1 07 E4 */ addi r6, r1, 0x7e4 +/* 80099754 000966B4 39 20 00 01 */ li r9, 1 +/* 80099758 000966B8 48 00 81 ED */ bl __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb +/* 8009975C 000966BC C0 3F 00 D4 */ lfs f1, 0xd4(r31) +/* 80099760 000966C0 7C 64 1B 78 */ mr r4, r3 +/* 80099764 000966C4 C0 5F 00 D8 */ lfs f2, 0xd8(r31) +/* 80099768 000966C8 7F 83 E3 78 */ mr r3, r28 +/* 8009976C 000966CC 7F 45 D3 78 */ mr r5, r26 +/* 80099770 000966D0 7F 46 D3 78 */ mr r6, r26 +/* 80099774 000966D4 38 E0 00 00 */ li r7, 0 +/* 80099778 000966D8 48 00 73 E1 */ bl Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb +lbl_8009977C: +/* 8009977C 000966DC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 80099780 000966E0 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80099784 000966E4 40 81 01 50 */ ble lbl_800998D4 +/* 80099788 000966E8 83 5E 08 50 */ lwz r26, 0x850(r30) +/* 8009978C 000966EC 83 9E 08 CC */ lwz r28, 0x8cc(r30) +/* 80099790 000966F0 83 7F 00 10 */ lwz r27, 0x10(r31) +/* 80099794 000966F4 7F 43 D3 78 */ mr r3, r26 +/* 80099798 000966F8 4B FB DF 05 */ bl GetMapWorld__6CWorldCFv +/* 8009979C 000966FC 7F 84 E3 78 */ mr r4, r28 +/* 800997A0 00096700 48 00 7C 19 */ bl GetMapArea__9CMapWorldCFi +/* 800997A4 00096704 7C 64 1B 78 */ mr r4, r3 +/* 800997A8 00096708 7F 45 D3 78 */ mr r5, r26 +/* 800997AC 0009670C 7F 86 E3 78 */ mr r6, r28 +/* 800997B0 00096710 38 61 04 30 */ addi r3, r1, 0x430 +/* 800997B4 00096714 4B FE 6C B5 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 800997B8 00096718 38 61 07 24 */ addi r3, r1, 0x724 +/* 800997BC 0009671C 38 81 04 30 */ addi r4, r1, 0x430 +/* 800997C0 00096720 48 27 93 B5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800997C4 00096724 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 800997C8 00096728 48 13 A2 09 */ bl CurrentWorldAssetId__10CGameStateCFv +/* 800997CC 0009672C 7C 64 1B 78 */ mr r4, r3 +/* 800997D0 00096730 7F 63 DB 78 */ mr r3, r27 +/* 800997D4 00096734 48 16 87 95 */ bl GetMapWorldDataByWorldId__12CMapUniverseFUi +/* 800997D8 00096738 7C 7C 1B 78 */ mr r28, r3 +/* 800997DC 0009673C 38 61 04 00 */ addi r3, r1, 0x400 +/* 800997E0 00096740 38 9C 00 14 */ addi r4, r28, 0x14 +/* 800997E4 00096744 38 A1 07 24 */ addi r5, r1, 0x724 +/* 800997E8 00096748 48 27 91 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800997EC 0009674C 38 61 06 F4 */ addi r3, r1, 0x6f4 +/* 800997F0 00096750 38 81 04 00 */ addi r4, r1, 0x400 +/* 800997F4 00096754 48 27 93 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800997F8 00096758 C3 22 8B E4 */ lfs f25, lbl_805AA904@sda21(r2) +/* 800997FC 0009675C 3B 20 FF FF */ li r25, -1 +/* 80099800 00096760 3B 00 00 00 */ li r24, 0 +/* 80099804 00096764 3B 40 00 00 */ li r26, 0 +/* 80099808 00096768 48 00 00 74 */ b lbl_8009987C +lbl_8009980C: +/* 8009980C 0009676C 80 1C 00 50 */ lwz r0, 0x50(r28) +/* 80099810 00096770 38 61 00 EC */ addi r3, r1, 0xec +/* 80099814 00096774 C0 61 07 00 */ lfs f3, 0x700(r1) +/* 80099818 00096778 7C 80 D2 14 */ add r4, r0, r26 +/* 8009981C 0009677C C0 41 07 10 */ lfs f2, 0x710(r1) +/* 80099820 00096780 C0 C4 00 1C */ lfs f6, 0x1c(r4) +/* 80099824 00096784 C0 84 00 0C */ lfs f4, 0xc(r4) +/* 80099828 00096788 C0 E4 00 2C */ lfs f7, 0x2c(r4) +/* 8009982C 0009678C EC A2 30 28 */ fsubs f5, f2, f6 +/* 80099830 00096790 C0 21 07 20 */ lfs f1, 0x720(r1) +/* 80099834 00096794 EC 03 20 28 */ fsubs f0, f3, f4 +/* 80099838 00096798 D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 8009983C 0009679C EC 81 38 28 */ fsubs f4, f1, f7 +/* 80099840 000967A0 D0 C1 00 D8 */ stfs f6, 0xd8(r1) +/* 80099844 000967A4 D0 E1 00 DC */ stfs f7, 0xdc(r1) +/* 80099848 000967A8 D0 61 00 E0 */ stfs f3, 0xe0(r1) +/* 8009984C 000967AC D0 41 00 E4 */ stfs f2, 0xe4(r1) +/* 80099850 000967B0 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 80099854 000967B4 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 80099858 000967B8 D0 A1 00 F0 */ stfs f5, 0xf0(r1) +/* 8009985C 000967BC D0 81 00 F4 */ stfs f4, 0xf4(r1) +/* 80099860 000967C0 48 27 B0 59 */ bl Magnitude__9CVector3fCFv +/* 80099864 000967C4 FC 01 C8 40 */ fcmpo cr0, f1, f25 +/* 80099868 000967C8 40 80 00 0C */ bge lbl_80099874 +/* 8009986C 000967CC 7F 19 C3 78 */ mr r25, r24 +/* 80099870 000967D0 FF 20 08 90 */ fmr f25, f1 +lbl_80099874: +/* 80099874 000967D4 3B 5A 00 30 */ addi r26, r26, 0x30 +/* 80099878 000967D8 3B 18 00 01 */ addi r24, r24, 1 +lbl_8009987C: +/* 8009987C 000967DC 80 1C 00 48 */ lwz r0, 0x48(r28) +/* 80099880 000967E0 7C 18 00 00 */ cmpw r24, r0 +/* 80099884 000967E4 41 80 FF 88 */ blt lbl_8009980C +/* 80099888 000967E8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009988C 000967EC 48 13 A1 45 */ bl CurrentWorldAssetId__10CGameStateCFv +/* 80099890 000967F0 FC 20 E0 90 */ fmr f1, f28 +/* 80099894 000967F4 7C 65 1B 78 */ mr r5, r3 +/* 80099898 000967F8 80 9F 00 9C */ lwz r4, 0x9c(r31) +/* 8009989C 000967FC 7F 26 CB 78 */ mr r6, r25 +/* 800998A0 00096800 C0 5F 01 DC */ lfs f2, 0x1dc(r31) +/* 800998A4 00096804 7F C7 F3 78 */ mr r7, r30 +/* 800998A8 00096808 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800998AC 0009680C 39 01 07 54 */ addi r8, r1, 0x754 +/* 800998B0 00096810 39 21 07 E4 */ addi r9, r1, 0x7e4 +/* 800998B4 00096814 48 16 96 1D */ bl sub_80202ed0 +/* 800998B8 00096818 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 800998BC 0009681C 3C A0 80 5A */ lis r5, skZero3f@ha +/* 800998C0 00096820 7C 64 1B 78 */ mr r4, r3 +/* 800998C4 00096824 7F 63 DB 78 */ mr r3, r27 +/* 800998C8 00096828 FC 40 08 90 */ fmr f2, f1 +/* 800998CC 0009682C 38 A5 66 A0 */ addi r5, r5, skZero3f@l +/* 800998D0 00096830 48 16 89 A5 */ bl Draw__12CMapUniverseCFRCQ212CMapUniverse21CMapUniverseDrawParmsRC9CVector3fff +lbl_800998D4: +/* 800998D4 00096834 7F E3 FB 78 */ mr r3, r31 +/* 800998D8 00096838 38 80 00 02 */ li r4, 2 +/* 800998DC 0009683C 4B FF C4 49 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 800998E0 00096840 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800998E4 00096844 40 82 05 58 */ bne lbl_80099E3C +/* 800998E8 00096848 7F A5 EB 78 */ mr r5, r29 +/* 800998EC 0009684C 38 61 03 D0 */ addi r3, r1, 0x3d0 +/* 800998F0 00096850 38 81 07 54 */ addi r4, r1, 0x754 +/* 800998F4 00096854 48 27 90 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800998F8 00096858 38 61 06 C4 */ addi r3, r1, 0x6c4 +/* 800998FC 0009685C 38 81 03 D0 */ addi r4, r1, 0x3d0 +/* 80099900 00096860 48 27 92 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80099904 00096864 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80099908 00096868 80 1E 08 50 */ lwz r0, 0x850(r30) +/* 8009990C 0009686C 7C 03 00 40 */ cmplw r3, r0 +/* 80099910 00096870 40 82 02 68 */ bne lbl_80099B78 +/* 80099914 00096874 48 27 05 CD */ bl GetSecondsMod900__9CGraphicsFv +/* 80099918 00096878 C0 42 8B E8 */ lfs f2, lbl_805AA908@sda21(r2) +/* 8009991C 0009687C C0 02 8B 74 */ lfs f0, lbl_805AA894@sda21(r2) +/* 80099920 00096880 EC 22 00 78 */ fmsubs f1, f2, f1, f0 +/* 80099924 00096884 48 27 B4 CD */ bl FastSinR__5CMathFf +/* 80099928 00096888 C0 42 8B 80 */ lfs f2, lbl_805AA8A0@sda21(r2) +/* 8009992C 0009688C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80099930 00096890 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) +/* 80099934 00096894 38 6D 85 DC */ addi r3, r13, lbl_805A719C@sda21 +/* 80099938 00096898 EC 22 08 2A */ fadds f1, f2, f1 +/* 8009993C 0009689C 38 AD 85 E0 */ addi r5, r13, lbl_805A71A0@sda21 +/* 80099940 000968A0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80099944 000968A4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80099948 000968A8 4B F7 29 6D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8009994C 000968AC 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80099950 000968B0 C0 42 8B EC */ lfs f2, lbl_805AA90C@sda21(r2) +/* 80099954 000968B4 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80099958 000968B8 C0 24 00 0C */ lfs f1, 0xc(r4) +/* 8009995C 000968BC EC 42 00 32 */ fmuls f2, f2, f0 +/* 80099960 000968C0 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80099964 000968C4 C3 83 00 00 */ lfs f28, 0(r3) +/* 80099968 000968C8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 8009996C 000968CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80099970 000968D0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80099974 000968D4 40 80 00 0C */ bge lbl_80099980 +/* 80099978 000968D8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009997C 000968DC 48 00 00 08 */ b lbl_80099984 +lbl_80099980: +/* 80099980 000968E0 38 61 00 3C */ addi r3, r1, 0x3c +lbl_80099984: +/* 80099984 000968E4 C3 43 00 00 */ lfs f26, 0(r3) +/* 80099988 000968E8 7F C5 F3 78 */ mr r5, r30 +/* 8009998C 000968EC 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 80099990 000968F0 38 61 03 A0 */ addi r3, r1, 0x3a0 +/* 80099994 000968F4 4B F7 0F D5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 80099998 000968F8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8009999C 000968FC 38 81 03 A0 */ addi r4, r1, 0x3a0 +/* 800999A0 00096900 4B F8 1E 61 */ bl sub_8001b800 +/* 800999A4 00096904 C0 81 00 D0 */ lfs f4, 0xd0(r1) +/* 800999A8 00096908 3C 00 43 30 */ lis r0, 0x4330 +/* 800999AC 0009690C C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) +/* 800999B0 00096910 90 01 08 18 */ stw r0, 0x818(r1) +/* 800999B4 00096914 EC 44 00 32 */ fmuls f2, f4, f0 +/* 800999B8 00096918 C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) +/* 800999BC 0009691C C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) +/* 800999C0 00096920 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 800999C4 00096924 FC 40 10 1E */ fctiwz f2, f2 +/* 800999C8 00096928 D8 41 08 20 */ stfd f2, 0x820(r1) +/* 800999CC 0009692C 80 01 08 24 */ lwz r0, 0x824(r1) +/* 800999D0 00096930 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800999D4 00096934 90 01 08 1C */ stw r0, 0x81c(r1) +/* 800999D8 00096938 C8 41 08 18 */ lfd f2, 0x818(r1) +/* 800999DC 0009693C EC 42 18 28 */ fsubs f2, f2, f3 +/* 800999E0 00096940 EF A2 20 7C */ fnmsubs f29, f2, f1, f4 +/* 800999E4 00096944 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 800999E8 00096948 40 80 00 08 */ bge lbl_800999F0 +/* 800999EC 0009694C EF BD 08 2A */ fadds f29, f29, f1 +lbl_800999F0: +/* 800999F0 00096950 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 800999F4 00096954 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800999F8 00096958 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 800999FC 0009695C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80099A00 00096960 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80099A04 00096964 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 80099A08 00096968 80 9E 08 CC */ lwz r4, 0x8cc(r30) +/* 80099A0C 0009696C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 80099A10 00096970 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 80099A14 00096974 4B FE 69 E9 */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId +/* 80099A18 00096978 C0 22 8B 6C */ lfs f1, lbl_805AA88C@sda21(r2) +/* 80099A1C 0009697C C0 02 8B BC */ lfs f0, lbl_805AA8DC@sda21(r2) +/* 80099A20 00096980 C0 A3 00 04 */ lfs f5, 4(r3) +/* 80099A24 00096984 C0 61 00 B4 */ lfs f3, 0xb4(r1) +/* 80099A28 00096988 EC 01 07 3A */ fmadds f0, f1, f28, f0 +/* 80099A2C 0009698C C0 83 00 08 */ lfs f4, 8(r3) +/* 80099A30 00096990 C0 43 00 00 */ lfs f2, 0(r3) +/* 80099A34 00096994 EC A5 18 2A */ fadds f5, f5, f3 +/* 80099A38 00096998 C0 61 00 B8 */ lfs f3, 0xb8(r1) +/* 80099A3C 0009699C EC 3A 00 32 */ fmuls f1, f26, f0 +/* 80099A40 000969A0 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 80099A44 000969A4 38 61 02 BC */ addi r3, r1, 0x2bc +/* 80099A48 000969A8 EC 64 18 2A */ fadds f3, f4, f3 +/* 80099A4C 000969AC EC 02 00 2A */ fadds f0, f2, f0 +/* 80099A50 000969B0 D0 A1 00 C0 */ stfs f5, 0xc0(r1) +/* 80099A54 000969B4 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 80099A58 000969B8 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80099A5C 000969BC D3 A1 00 18 */ stfs f29, 0x18(r1) +/* 80099A60 000969C0 48 27 97 E1 */ bl Scale__12CTransform4fFf +/* 80099A64 000969C4 38 61 02 EC */ addi r3, r1, 0x2ec +/* 80099A68 000969C8 38 81 00 18 */ addi r4, r1, 0x18 +/* 80099A6C 000969CC 48 27 69 9D */ bl RotateZ__9CMatrix3fFRC9CRelAngle +/* 80099A70 000969D0 38 61 03 10 */ addi r3, r1, 0x310 +/* 80099A74 000969D4 38 81 02 EC */ addi r4, r1, 0x2ec +/* 80099A78 000969D8 38 A1 00 BC */ addi r5, r1, 0xbc +/* 80099A7C 000969DC 48 27 97 FD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80099A80 000969E0 7C 65 1B 78 */ mr r5, r3 +/* 80099A84 000969E4 38 61 03 40 */ addi r3, r1, 0x340 +/* 80099A88 000969E8 38 81 06 C4 */ addi r4, r1, 0x6c4 +/* 80099A8C 000969EC 48 27 8E C5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80099A90 000969F0 38 61 03 70 */ addi r3, r1, 0x370 +/* 80099A94 000969F4 38 81 03 40 */ addi r4, r1, 0x340 +/* 80099A98 000969F8 38 A1 02 BC */ addi r5, r1, 0x2bc +/* 80099A9C 000969FC 48 27 8E B5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80099AA0 00096A00 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80099AA4 00096A04 38 81 03 70 */ addi r4, r1, 0x370 +/* 80099AA8 00096A08 81 83 00 00 */ lwz r12, 0(r3) +/* 80099AAC 00096A0C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80099AB0 00096A10 7D 89 03 A6 */ mtctr r12 +/* 80099AB4 00096A14 4E 80 04 21 */ bctrl +/* 80099AB8 00096A18 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 80099ABC 00096A1C 38 80 00 00 */ li r4, 0 +/* 80099AC0 00096A20 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80099AC4 00096A24 2C 00 00 00 */ cmpwi r0, 0 +/* 80099AC8 00096A28 41 82 00 14 */ beq lbl_80099ADC +/* 80099ACC 00096A2C 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 80099AD0 00096A30 2C 00 00 00 */ cmpwi r0, 0 +/* 80099AD4 00096A34 41 82 00 08 */ beq lbl_80099ADC +/* 80099AD8 00096A38 38 80 00 01 */ li r4, 1 +lbl_80099ADC: +/* 80099ADC 00096A3C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80099AE0 00096A40 41 82 00 0C */ beq lbl_80099AEC +/* 80099AE4 00096A44 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80099AE8 00096A48 48 00 00 08 */ b lbl_80099AF0 +lbl_80099AEC: +/* 80099AEC 00096A4C C0 1F 00 DC */ lfs f0, 0xdc(r31) +lbl_80099AF0: +/* 80099AF0 00096A50 80 CD A1 44 */ lwz r6, gpTweakAutoMapper@sda21(r13) +/* 80099AF4 00096A54 3C 00 43 30 */ lis r0, 0x4330 +/* 80099AF8 00096A58 90 01 08 28 */ stw r0, 0x828(r1) +/* 80099AFC 00096A5C EC 40 06 F2 */ fmuls f2, f0, f27 +/* 80099B00 00096A60 88 06 00 F3 */ lbz r0, 0xf3(r6) +/* 80099B04 00096A64 C8 22 8C 00 */ lfd f1, lbl_805AA920@sda21(r2) +/* 80099B08 00096A68 90 01 08 2C */ stw r0, 0x82c(r1) +/* 80099B0C 00096A6C C8 01 08 28 */ lfd f0, 0x828(r1) +/* 80099B10 00096A70 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80099B14 00096A74 EF E2 00 32 */ fmuls f31, f2, f0 +/* 80099B18 00096A78 F3 E1 A0 11 */ psq_st f31, 17(r1), 1, qr2 +/* 80099B1C 00096A7C 38 80 00 03 */ li r4, 3 +/* 80099B20 00096A80 60 85 00 08 */ ori r5, r4, 8 +/* 80099B24 00096A84 81 06 00 F0 */ lwz r8, 0xf0(r6) +/* 80099B28 00096A88 89 21 00 11 */ lbz r9, 0x11(r1) +/* 80099B2C 00096A8C 54 A0 04 3A */ rlwinm r0, r5, 0, 0x10, 0x1d +/* 80099B30 00096A90 38 E0 00 05 */ li r7, 5 +/* 80099B34 00096A94 38 C0 00 00 */ li r6, 0 +/* 80099B38 00096A98 51 09 00 2E */ rlwimi r9, r8, 0, 0, 0x17 +/* 80099B3C 00096A9C 60 00 00 01 */ ori r0, r0, 1 +/* 80099B40 00096AA0 B0 81 00 42 */ sth r4, 0x42(r1) +/* 80099B44 00096AA4 38 81 00 50 */ addi r4, r1, 0x50 +/* 80099B48 00096AA8 98 E1 00 40 */ stb r7, 0x40(r1) +/* 80099B4C 00096AAC 98 C1 00 41 */ stb r6, 0x41(r1) +/* 80099B50 00096AB0 91 21 00 44 */ stw r9, 0x44(r1) +/* 80099B54 00096AB4 98 E1 00 48 */ stb r7, 0x48(r1) +/* 80099B58 00096AB8 98 C1 00 49 */ stb r6, 0x49(r1) +/* 80099B5C 00096ABC B0 A1 00 4A */ sth r5, 0x4a(r1) +/* 80099B60 00096AC0 91 21 00 4C */ stw r9, 0x4c(r1) +/* 80099B64 00096AC4 98 E1 00 50 */ stb r7, 0x50(r1) +/* 80099B68 00096AC8 98 C1 00 51 */ stb r6, 0x51(r1) +/* 80099B6C 00096ACC B0 01 00 52 */ sth r0, 0x52(r1) +/* 80099B70 00096AD0 91 21 00 54 */ stw r9, 0x54(r1) +/* 80099B74 00096AD4 48 2B C0 61 */ bl Draw__6CModelCFRC11CModelFlags +lbl_80099B78: +/* 80099B78 00096AD8 7F E3 FB 78 */ mr r3, r31 +/* 80099B7C 00096ADC 38 80 00 01 */ li r4, 1 +/* 80099B80 00096AE0 4B FF C1 A5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 80099B84 00096AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80099B88 00096AE8 41 82 02 B4 */ beq lbl_80099E3C +/* 80099B8C 00096AEC 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80099B90 00096AF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80099B94 00096AF4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80099B98 00096AF8 7D 89 03 A6 */ mtctr r12 +/* 80099B9C 00096AFC 4E 80 04 21 */ bctrl +/* 80099BA0 00096B00 7C 7D 1B 78 */ mr r29, r3 +/* 80099BA4 00096B04 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80099BA8 00096B08 81 83 00 00 */ lwz r12, 0(r3) +/* 80099BAC 00096B0C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80099BB0 00096B10 7D 89 03 A6 */ mtctr r12 +/* 80099BB4 00096B14 4E 80 04 21 */ bctrl +/* 80099BB8 00096B18 83 9F 01 FC */ lwz r28, 0x1fc(r31) +/* 80099BBC 00096B1C 7C 7B 1B 78 */ mr r27, r3 +/* 80099BC0 00096B20 48 00 02 70 */ b lbl_80099E30 +lbl_80099BC4: +/* 80099BC4 00096B24 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80099BC8 00096B28 7C 00 E8 40 */ cmplw r0, r29 +/* 80099BCC 00096B2C 40 82 02 60 */ bne lbl_80099E2C +/* 80099BD0 00096B30 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 80099BD4 00096B34 7F 63 DB 78 */ mr r3, r27 +/* 80099BD8 00096B38 48 00 77 E1 */ bl GetMapArea__9CMapWorldCFi +/* 80099BDC 00096B3C 7C 78 1B 79 */ or. r24, r3, r3 +/* 80099BE0 00096B40 41 82 02 4C */ beq lbl_80099E2C +/* 80099BE4 00096B44 38 61 02 98 */ addi r3, r1, 0x298 +/* 80099BE8 00096B48 38 81 07 E4 */ addi r4, r1, 0x7e4 +/* 80099BEC 00096B4C 48 27 95 09 */ bl BuildMatrix3f__12CTransform4fCFv +/* 80099BF0 00096B50 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80099BF4 00096B54 38 61 06 94 */ addi r3, r1, 0x694 +/* 80099BF8 00096B58 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80099BFC 00096B5C 38 81 02 98 */ addi r4, r1, 0x298 +/* 80099C00 00096B60 48 27 96 79 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80099C04 00096B64 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 80099C08 00096B68 7F 04 C3 78 */ mr r4, r24 +/* 80099C0C 00096B6C 80 DC 00 14 */ lwz r6, 0x14(r28) +/* 80099C10 00096B70 38 61 01 78 */ addi r3, r1, 0x178 +/* 80099C14 00096B74 4B FE 68 55 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 80099C18 00096B78 C0 41 01 A4 */ lfs f2, 0x1a4(r1) +/* 80099C1C 00096B7C 38 61 01 18 */ addi r3, r1, 0x118 +/* 80099C20 00096B80 C0 21 01 94 */ lfs f1, 0x194(r1) +/* 80099C24 00096B84 C0 01 01 84 */ lfs f0, 0x184(r1) +/* 80099C28 00096B88 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80099C2C 00096B8C C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 80099C30 00096B90 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80099C34 00096B94 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 80099C38 00096B98 48 27 96 09 */ bl Scale__12CTransform4fFf +/* 80099C3C 00096B9C 7F 04 C3 78 */ mr r4, r24 +/* 80099C40 00096BA0 38 61 00 98 */ addi r3, r1, 0x98 +/* 80099C44 00096BA4 4B FE 70 B9 */ bl GetAreaCenterPoint__8CMapAreaCFv +/* 80099C48 00096BA8 38 61 01 48 */ addi r3, r1, 0x148 +/* 80099C4C 00096BAC 38 81 00 98 */ addi r4, r1, 0x98 +/* 80099C50 00096BB0 48 27 94 F1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80099C54 00096BB4 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 80099C58 00096BB8 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80099C5C 00096BBC 48 27 94 E5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80099C60 00096BC0 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 80099C64 00096BC4 38 81 06 C4 */ addi r4, r1, 0x6c4 +/* 80099C68 00096BC8 38 A1 01 A8 */ addi r5, r1, 0x1a8 +/* 80099C6C 00096BCC 48 27 8C E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80099C70 00096BD0 38 61 02 08 */ addi r3, r1, 0x208 +/* 80099C74 00096BD4 38 81 01 D8 */ addi r4, r1, 0x1d8 +/* 80099C78 00096BD8 38 A1 01 48 */ addi r5, r1, 0x148 +/* 80099C7C 00096BDC 48 27 8C D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80099C80 00096BE0 38 61 02 38 */ addi r3, r1, 0x238 +/* 80099C84 00096BE4 38 81 02 08 */ addi r4, r1, 0x208 +/* 80099C88 00096BE8 38 A1 01 18 */ addi r5, r1, 0x118 +/* 80099C8C 00096BEC 48 27 8C C5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80099C90 00096BF0 38 61 02 68 */ addi r3, r1, 0x268 +/* 80099C94 00096BF4 38 81 02 38 */ addi r4, r1, 0x238 +/* 80099C98 00096BF8 38 A1 06 94 */ addi r5, r1, 0x694 +/* 80099C9C 00096BFC 48 27 8C B5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80099CA0 00096C00 38 61 02 68 */ addi r3, r1, 0x268 +/* 80099CA4 00096C04 48 27 29 3D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80099CA8 00096C08 80 1C 00 08 */ lwz r0, 8(r28) +/* 80099CAC 00096C0C C3 22 8B A8 */ lfs f25, lbl_805AA8C8@sda21(r2) +/* 80099CB0 00096C10 2C 00 00 01 */ cmpwi r0, 1 +/* 80099CB4 00096C14 40 82 00 08 */ bne lbl_80099CBC +/* 80099CB8 00096C18 C3 3C 00 0C */ lfs f25, 0xc(r28) +lbl_80099CBC: +/* 80099CBC 00096C1C C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 80099CC0 00096C20 FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 80099CC4 00096C24 40 81 01 68 */ ble lbl_80099E2C +/* 80099CC8 00096C28 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80099CCC 00096C2C 38 60 00 00 */ li r3, 0 +/* 80099CD0 00096C30 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80099CD4 00096C34 48 27 05 E5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80099CD8 00096C38 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 80099CDC 00096C3C 38 80 00 00 */ li r4, 0 +/* 80099CE0 00096C40 38 A0 00 01 */ li r5, 1 +/* 80099CE4 00096C44 48 27 5A 59 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80099CE8 00096C48 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80099CEC 00096C4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80099CF0 00096C50 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 80099CF4 00096C54 7D 89 03 A6 */ mtctr r12 +/* 80099CF8 00096C58 4E 80 04 21 */ bctrl +/* 80099CFC 00096C5C 38 60 00 98 */ li r3, 0x98 +/* 80099D00 00096C60 48 27 19 69 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 80099D04 00096C64 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 80099D08 00096C68 38 60 00 00 */ li r3, 0 +/* 80099D0C 00096C6C 2C 00 00 00 */ cmpwi r0, 0 +/* 80099D10 00096C70 41 82 00 14 */ beq lbl_80099D24 +/* 80099D14 00096C74 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 80099D18 00096C78 2C 00 00 00 */ cmpwi r0, 0 +/* 80099D1C 00096C7C 41 82 00 08 */ beq lbl_80099D24 +/* 80099D20 00096C80 38 60 00 01 */ li r3, 1 +lbl_80099D24: +/* 80099D24 00096C84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80099D28 00096C88 41 82 00 0C */ beq lbl_80099D34 +/* 80099D2C 00096C8C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80099D30 00096C90 48 00 00 08 */ b lbl_80099D38 +lbl_80099D34: +/* 80099D34 00096C94 C0 1F 00 DC */ lfs f0, 0xdc(r31) +lbl_80099D38: +/* 80099D38 00096C98 EC 19 00 32 */ fmuls f0, f25, f0 +/* 80099D3C 00096C9C 38 00 00 FF */ li r0, 0xff +/* 80099D40 00096CA0 C0 22 8B F0 */ lfs f1, lbl_805AA910@sda21(r2) +/* 80099D44 00096CA4 98 01 00 34 */ stb r0, 0x34(r1) +/* 80099D48 00096CA8 EC 00 06 F2 */ fmuls f0, f0, f27 +/* 80099D4C 00096CAC 98 01 00 35 */ stb r0, 0x35(r1) +/* 80099D50 00096CB0 EF C1 00 32 */ fmuls f30, f1, f0 +/* 80099D54 00096CB4 98 01 00 36 */ stb r0, 0x36(r1) +/* 80099D58 00096CB8 98 01 00 37 */ stb r0, 0x37(r1) +/* 80099D5C 00096CBC F3 C1 A0 10 */ psq_st f30, 16(r1), 1, qr2 +/* 80099D60 00096CC0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80099D64 00096CC4 80 81 00 34 */ lwz r4, 0x34(r1) +/* 80099D68 00096CC8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80099D6C 00096CCC 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 +/* 80099D70 00096CD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80099D74 00096CD4 48 27 17 D5 */ bl StreamColor__9CGraphicsFRC6CColor +/* 80099D78 00096CD8 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 80099D7C 00096CDC C0 42 8B 80 */ lfs f2, lbl_805AA8A0@sda21(r2) +/* 80099D80 00096CE0 48 27 16 E5 */ bl StreamTexcoord__9CGraphicsFff +/* 80099D84 00096CE4 C0 42 8B F4 */ lfs f2, lbl_805AA914@sda21(r2) +/* 80099D88 00096CE8 38 61 00 8C */ addi r3, r1, 0x8c +/* 80099D8C 00096CEC C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) +/* 80099D90 00096CF0 C0 02 8B D4 */ lfs f0, lbl_805AA8F4@sda21(r2) +/* 80099D94 00096CF4 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 80099D98 00096CF8 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80099D9C 00096CFC D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80099DA0 00096D00 48 27 18 21 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80099DA4 00096D04 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 80099DA8 00096D08 FC 40 08 90 */ fmr f2, f1 +/* 80099DAC 00096D0C 48 27 16 B9 */ bl StreamTexcoord__9CGraphicsFff +/* 80099DB0 00096D10 C0 42 8B F4 */ lfs f2, lbl_805AA914@sda21(r2) +/* 80099DB4 00096D14 38 61 00 80 */ addi r3, r1, 0x80 +/* 80099DB8 00096D18 C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) +/* 80099DBC 00096D1C C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 80099DC0 00096D20 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80099DC4 00096D24 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80099DC8 00096D28 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80099DCC 00096D2C 48 27 17 F5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80099DD0 00096D30 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 80099DD4 00096D34 FC 40 08 90 */ fmr f2, f1 +/* 80099DD8 00096D38 48 27 16 8D */ bl StreamTexcoord__9CGraphicsFff +/* 80099DDC 00096D3C C0 42 8B E0 */ lfs f2, lbl_805AA900@sda21(r2) +/* 80099DE0 00096D40 38 61 00 74 */ addi r3, r1, 0x74 +/* 80099DE4 00096D44 C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) +/* 80099DE8 00096D48 C0 02 8B D4 */ lfs f0, lbl_805AA8F4@sda21(r2) +/* 80099DEC 00096D4C D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80099DF0 00096D50 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 80099DF4 00096D54 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80099DF8 00096D58 48 27 17 C9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80099DFC 00096D5C C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 80099E00 00096D60 C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) +/* 80099E04 00096D64 48 27 16 61 */ bl StreamTexcoord__9CGraphicsFff +/* 80099E08 00096D68 C0 42 8B E0 */ lfs f2, lbl_805AA900@sda21(r2) +/* 80099E0C 00096D6C 38 61 00 68 */ addi r3, r1, 0x68 +/* 80099E10 00096D70 C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) +/* 80099E14 00096D74 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 80099E18 00096D78 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80099E1C 00096D7C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 80099E20 00096D80 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80099E24 00096D84 48 27 17 9D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80099E28 00096D88 48 27 15 E9 */ bl StreamEnd__9CGraphicsFv +lbl_80099E2C: +/* 80099E2C 00096D8C 83 9C 00 04 */ lwz r28, 4(r28) +lbl_80099E30: +/* 80099E30 00096D90 80 1F 02 00 */ lwz r0, 0x200(r31) +/* 80099E34 00096D94 7C 1C 00 40 */ cmplw r28, r0 +/* 80099E38 00096D98 40 82 FD 8C */ bne lbl_80099BC4 +lbl_80099E3C: +/* 80099E3C 00096D9C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80099E40 00096DA0 38 80 00 00 */ li r4, 0 +/* 80099E44 00096DA4 38 A0 00 00 */ li r5, 0 +/* 80099E48 00096DA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80099E4C 00096DAC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80099E50 00096DB0 7D 89 03 A6 */ mtctr r12 +/* 80099E54 00096DB4 4E 80 04 21 */ bctrl +/* 80099E58 00096DB8 48 2B 01 55 */ bl White__6CColorFv +/* 80099E5C 00096DBC 7C 64 1B 78 */ mr r4, r3 +/* 80099E60 00096DC0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80099E64 00096DC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80099E68 00096DC8 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80099E6C 00096DCC 7D 89 03 A6 */ mtctr r12 +/* 80099E70 00096DD0 4E 80 04 21 */ bctrl +/* 80099E74 00096DD4 48 27 2B 09 */ bl DisableAllLights__9CGraphicsFv +/* 80099E78 00096DD8 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80099E7C 00096DDC 28 00 00 00 */ cmplwi r0, 0 +/* 80099E80 00096DE0 41 82 00 C4 */ beq lbl_80099F44 +/* 80099E84 00096DE4 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 80099E88 00096DE8 38 60 00 00 */ li r3, 0 +/* 80099E8C 00096DEC 2C 00 00 00 */ cmpwi r0, 0 +/* 80099E90 00096DF0 41 82 00 14 */ beq lbl_80099EA4 +/* 80099E94 00096DF4 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 80099E98 00096DF8 2C 00 00 00 */ cmpwi r0, 0 +/* 80099E9C 00096DFC 41 82 00 08 */ beq lbl_80099EA4 +/* 80099EA0 00096E00 38 60 00 01 */ li r3, 1 +lbl_80099EA4: +/* 80099EA4 00096E04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80099EA8 00096E08 41 82 00 0C */ beq lbl_80099EB4 +/* 80099EAC 00096E0C C3 42 8B 80 */ lfs f26, lbl_805AA8A0@sda21(r2) +/* 80099EB0 00096E10 48 00 00 4C */ b lbl_80099EFC +lbl_80099EB4: +/* 80099EB4 00096E14 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 80099EB8 00096E18 2C 00 00 00 */ cmpwi r0, 0 +/* 80099EBC 00096E1C 41 82 00 20 */ beq lbl_80099EDC +/* 80099EC0 00096E20 C0 3F 01 C4 */ lfs f1, 0x1c4(r31) +/* 80099EC4 00096E24 C3 42 8B A8 */ lfs f26, lbl_805AA8C8@sda21(r2) +/* 80099EC8 00096E28 FC 01 D0 40 */ fcmpo cr0, f1, f26 +/* 80099ECC 00096E2C 40 81 00 30 */ ble lbl_80099EFC +/* 80099ED0 00096E30 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) +/* 80099ED4 00096E34 EF 40 08 24 */ fdivs f26, f0, f1 +/* 80099ED8 00096E38 48 00 00 24 */ b lbl_80099EFC +lbl_80099EDC: +/* 80099EDC 00096E3C C0 5F 01 C4 */ lfs f2, 0x1c4(r31) +/* 80099EE0 00096E40 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 80099EE4 00096E44 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80099EE8 00096E48 40 81 00 0C */ ble lbl_80099EF4 +/* 80099EEC 00096E4C C0 1F 01 C8 */ lfs f0, 0x1c8(r31) +/* 80099EF0 00096E50 EC 20 10 24 */ fdivs f1, f0, f2 +lbl_80099EF4: +/* 80099EF4 00096E54 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 80099EF8 00096E58 EF 40 08 28 */ fsubs f26, f0, f1 +lbl_80099EFC: +/* 80099EFC 00096E5C C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 80099F00 00096E60 FC 40 08 90 */ fmr f2, f1 +/* 80099F04 00096E64 48 27 04 DD */ bl SetDepthRange__9CGraphicsFff +/* 80099F08 00096E68 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80099F0C 00096E6C D3 41 00 58 */ stfs f26, 0x58(r1) +/* 80099F10 00096E70 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80099F14 00096E74 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80099F18 00096E78 C0 45 00 00 */ lfs f2, 0(r5) +/* 80099F1C 00096E7C 38 81 00 58 */ addi r4, r1, 0x58 +/* 80099F20 00096E80 C0 25 00 04 */ lfs f1, 4(r5) +/* 80099F24 00096E84 C0 05 00 08 */ lfs f0, 8(r5) +/* 80099F28 00096E88 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80099F2C 00096E8C D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80099F30 00096E90 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80099F34 00096E94 48 22 88 01 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +/* 80099F38 00096E98 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 80099F3C 00096E9C C0 42 8B FC */ lfs f2, lbl_805AA91C@sda21(r2) +/* 80099F40 00096EA0 48 27 04 A1 */ bl SetDepthRange__9CGraphicsFff +lbl_80099F44: +/* 80099F44 00096EA4 E3 E1 08 B8 */ psq_l f31, -1864(r1), 0, qr0 +/* 80099F48 00096EA8 CB E1 08 B0 */ lfd f31, 0x8b0(r1) +/* 80099F4C 00096EAC E3 C1 08 A8 */ psq_l f30, -1880(r1), 0, qr0 +/* 80099F50 00096EB0 CB C1 08 A0 */ lfd f30, 0x8a0(r1) +/* 80099F54 00096EB4 E3 A1 08 98 */ psq_l f29, -1896(r1), 0, qr0 +/* 80099F58 00096EB8 CB A1 08 90 */ lfd f29, 0x890(r1) +/* 80099F5C 00096EBC E3 81 08 88 */ psq_l f28, -1912(r1), 0, qr0 +/* 80099F60 00096EC0 CB 81 08 80 */ lfd f28, 0x880(r1) +/* 80099F64 00096EC4 E3 61 08 78 */ psq_l f27, -1928(r1), 0, qr0 +/* 80099F68 00096EC8 CB 61 08 70 */ lfd f27, 0x870(r1) +/* 80099F6C 00096ECC E3 41 08 68 */ psq_l f26, -1944(r1), 0, qr0 +/* 80099F70 00096ED0 CB 41 08 60 */ lfd f26, 0x860(r1) +/* 80099F74 00096ED4 E3 21 08 58 */ psq_l f25, -1960(r1), 0, qr0 +/* 80099F78 00096ED8 CB 21 08 50 */ lfd f25, 0x850(r1) +/* 80099F7C 00096EDC BB 01 08 30 */ lmw r24, 0x830(r1) +/* 80099F80 00096EE0 80 01 08 C4 */ lwz r0, 0x8c4(r1) +/* 80099F84 00096EE4 7C 08 03 A6 */ mtlr r0 +/* 80099F88 00096EE8 38 21 08 C0 */ addi r1, r1, 0x8c0 +/* 80099F8C 00096EEC 4E 80 00 20 */ blr + +.global ProcessMapPanInput__11CAutoMapperFRC11CFinalInputRC13CStateManager +ProcessMapPanInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: +/* 80099F90 00096EF0 94 21 FE 50 */ stwu r1, -0x1b0(r1) +/* 80099F94 00096EF4 7C 08 02 A6 */ mflr r0 +/* 80099F98 00096EF8 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 80099F9C 00096EFC DB E1 01 A0 */ stfd f31, 0x1a0(r1) +/* 80099FA0 00096F00 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 +/* 80099FA4 00096F04 DB C1 01 90 */ stfd f30, 0x190(r1) +/* 80099FA8 00096F08 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 +/* 80099FAC 00096F0C DB A1 01 80 */ stfd f29, 0x180(r1) +/* 80099FB0 00096F10 F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 +/* 80099FB4 00096F14 DB 81 01 70 */ stfd f28, 0x170(r1) +/* 80099FB8 00096F18 F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 +/* 80099FBC 00096F1C DB 61 01 60 */ stfd f27, 0x160(r1) +/* 80099FC0 00096F20 F3 61 01 68 */ psq_st f27, 360(r1), 0, qr0 +/* 80099FC4 00096F24 93 E1 01 5C */ stw r31, 0x15c(r1) +/* 80099FC8 00096F28 93 C1 01 58 */ stw r30, 0x158(r1) +/* 80099FCC 00096F2C 93 A1 01 54 */ stw r29, 0x154(r1) +/* 80099FD0 00096F30 7C 7F 1B 78 */ mr r31, r3 +/* 80099FD4 00096F34 7C 9D 23 78 */ mr r29, r4 +/* 80099FD8 00096F38 7C BE 2B 78 */ mr r30, r5 +/* 80099FDC 00096F3C 38 60 00 2A */ li r3, 0x2a +/* 80099FE0 00096F40 4B F7 29 39 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80099FE4 00096F44 FF 80 08 90 */ fmr f28, f1 +/* 80099FE8 00096F48 7F A4 EB 78 */ mr r4, r29 +/* 80099FEC 00096F4C 38 60 00 2B */ li r3, 0x2b +/* 80099FF0 00096F50 4B F7 29 29 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80099FF4 00096F54 FF A0 08 90 */ fmr f29, f1 +/* 80099FF8 00096F58 7F A4 EB 78 */ mr r4, r29 +/* 80099FFC 00096F5C 38 60 00 2C */ li r3, 0x2c +/* 8009A000 00096F60 4B F7 29 19 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8009A004 00096F64 FF C0 08 90 */ fmr f30, f1 +/* 8009A008 00096F68 7F A4 EB 78 */ mr r4, r29 +/* 8009A00C 00096F6C 38 60 00 2D */ li r3, 0x2d +/* 8009A010 00096F70 4B F7 29 09 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8009A014 00096F74 FF E0 08 90 */ fmr f31, f1 +/* 8009A018 00096F78 38 61 01 00 */ addi r3, r1, 0x100 +/* 8009A01C 00096F7C 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8009A020 00096F80 48 27 80 6D */ bl BuildTransform__11CQuaternionCFv +/* 8009A024 00096F84 38 61 01 24 */ addi r3, r1, 0x124 +/* 8009A028 00096F88 38 81 01 00 */ addi r4, r1, 0x100 +/* 8009A02C 00096F8C 48 27 5F F9 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8009A030 00096F90 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A034 00096F94 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 8009A038 00096F98 41 81 00 1C */ bgt lbl_8009A054 +/* 8009A03C 00096F9C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8009A040 00096FA0 41 81 00 14 */ bgt lbl_8009A054 +/* 8009A044 00096FA4 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8009A048 00096FA8 41 81 00 0C */ bgt lbl_8009A054 +/* 8009A04C 00096FAC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8009A050 00096FB0 40 81 02 A4 */ ble lbl_8009A2F4 +lbl_8009A054: +/* 8009A054 00096FB4 C0 22 8C 08 */ lfs f1, lbl_805AA928@sda21(r2) +/* 8009A058 00096FB8 7F E3 FB 78 */ mr r3, r31 +/* 8009A05C 00096FBC C0 1D 00 00 */ lfs f0, 0(r29) +/* 8009A060 00096FC0 EF 61 00 32 */ fmuls f27, f1, f0 +/* 8009A064 00096FC4 4B FF BC E9 */ bl GetFinalMapScreenCameraMoveSpeed__11CAutoMapperCFv +/* 8009A068 00096FC8 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A06C 00096FCC 38 80 00 00 */ li r4, 0 +/* 8009A070 00096FD0 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 8009A074 00096FD4 40 81 00 08 */ ble lbl_8009A07C +/* 8009A078 00096FD8 38 80 00 01 */ li r4, 1 +lbl_8009A07C: +/* 8009A07C 00096FDC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A080 00096FE0 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8009A084 00096FE4 40 81 00 08 */ ble lbl_8009A08C +/* 8009A088 00096FE8 38 84 00 02 */ addi r4, r4, 2 +lbl_8009A08C: +/* 8009A08C 00096FEC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A090 00096FF0 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8009A094 00096FF4 40 81 00 08 */ ble lbl_8009A09C +/* 8009A098 00096FF8 38 84 00 04 */ addi r4, r4, 4 +lbl_8009A09C: +/* 8009A09C 00096FFC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A0A0 00097000 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8009A0A4 00097004 40 81 00 08 */ ble lbl_8009A0AC +/* 8009A0A8 00097008 38 84 00 08 */ addi r4, r4, 8 +lbl_8009A0AC: +/* 8009A0AC 0009700C 28 04 00 0A */ cmplwi r4, 0xa +/* 8009A0B0 00097010 41 81 00 78 */ bgt lbl_8009A128 +/* 8009A0B4 00097014 3C 60 80 3E */ lis r3, lbl_803DAE7C@ha +/* 8009A0B8 00097018 54 80 10 3A */ slwi r0, r4, 2 +/* 8009A0BC 0009701C 38 63 AE 7C */ addi r3, r3, lbl_803DAE7C@l +/* 8009A0C0 00097020 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8009A0C4 00097024 7C 09 03 A6 */ mtctr r0 +/* 8009A0C8 00097028 4E 80 04 20 */ bctr +/* 8009A0CC 0009702C 38 00 00 01 */ li r0, 1 +/* 8009A0D0 00097030 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8009A0D4 00097034 48 00 00 54 */ b lbl_8009A128 +/* 8009A0D8 00097038 38 00 00 05 */ li r0, 5 +/* 8009A0DC 0009703C 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8009A0E0 00097040 48 00 00 48 */ b lbl_8009A128 +/* 8009A0E4 00097044 38 00 00 03 */ li r0, 3 +/* 8009A0E8 00097048 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8009A0EC 0009704C 48 00 00 3C */ b lbl_8009A128 +/* 8009A0F0 00097050 38 00 00 02 */ li r0, 2 +/* 8009A0F4 00097054 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8009A0F8 00097058 48 00 00 30 */ b lbl_8009A128 +/* 8009A0FC 0009705C 38 00 00 04 */ li r0, 4 +/* 8009A100 00097060 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8009A104 00097064 48 00 00 24 */ b lbl_8009A128 +/* 8009A108 00097068 38 00 00 07 */ li r0, 7 +/* 8009A10C 0009706C 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8009A110 00097070 48 00 00 18 */ b lbl_8009A128 +/* 8009A114 00097074 38 00 00 08 */ li r0, 8 +/* 8009A118 00097078 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8009A11C 0009707C 48 00 00 0C */ b lbl_8009A128 +/* 8009A120 00097080 38 00 00 06 */ li r0, 6 +/* 8009A124 00097084 90 1F 02 E8 */ stw r0, 0x2e8(r31) +lbl_8009A128: +/* 8009A128 00097088 EC 7F F0 28 */ fsubs f3, f31, f30 +/* 8009A12C 0009708C C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) +/* 8009A130 00097090 EC 1C E8 28 */ fsubs f0, f28, f29 +/* 8009A134 00097094 38 61 00 88 */ addi r3, r1, 0x88 +/* 8009A138 00097098 EC 5B 00 B2 */ fmuls f2, f27, f2 +/* 8009A13C 0009709C 38 81 01 24 */ addi r4, r1, 0x124 +/* 8009A140 000970A0 EC 7B 00 F2 */ fmuls f3, f27, f3 +/* 8009A144 000970A4 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 8009A148 000970A8 EC 1B 00 32 */ fmuls f0, f27, f0 +/* 8009A14C 000970AC EC 41 00 B2 */ fmuls f2, f1, f2 +/* 8009A150 000970B0 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 8009A154 000970B4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8009A158 000970B8 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 8009A15C 000970BC D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 8009A160 000970C0 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 8009A164 000970C4 48 27 61 31 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 8009A168 000970C8 C0 9F 00 CC */ lfs f4, 0xcc(r31) +/* 8009A16C 000970CC 38 61 00 7C */ addi r3, r1, 0x7c +/* 8009A170 000970D0 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 8009A174 000970D4 C0 7F 00 D0 */ lfs f3, 0xd0(r31) +/* 8009A178 000970D8 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8009A17C 000970DC EC 24 08 2A */ fadds f1, f4, f1 +/* 8009A180 000970E0 C0 5F 00 C8 */ lfs f2, 0xc8(r31) +/* 8009A184 000970E4 EC A3 00 2A */ fadds f5, f3, f0 +/* 8009A188 000970E8 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8009A18C 000970EC EC 81 20 28 */ fsubs f4, f1, f4 +/* 8009A190 000970F0 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 8009A194 000970F4 EC 22 00 2A */ fadds f1, f2, f0 +/* 8009A198 000970F8 C3 9D 00 00 */ lfs f28, 0(r29) +/* 8009A19C 000970FC EC 65 18 28 */ fsubs f3, f5, f3 +/* 8009A1A0 00097100 D0 A1 00 C0 */ stfs f5, 0xc0(r1) +/* 8009A1A4 00097104 EC 01 10 28 */ fsubs f0, f1, f2 +/* 8009A1A8 00097108 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8009A1AC 0009710C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8009A1B0 00097110 D0 81 00 80 */ stfs f4, 0x80(r1) +/* 8009A1B4 00097114 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 8009A1B8 00097118 48 27 A7 01 */ bl Magnitude__9CVector3fCFv +/* 8009A1BC 0009711C FC 01 E0 40 */ fcmpo cr0, f1, f28 +/* 8009A1C0 00097120 40 81 00 14 */ ble lbl_8009A1D4 +/* 8009A1C4 00097124 7F E3 FB 78 */ mr r3, r31 +/* 8009A1C8 00097128 38 80 00 01 */ li r4, 1 +/* 8009A1CC 0009712C 4B FF CA 5D */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb +/* 8009A1D0 00097130 48 00 00 10 */ b lbl_8009A1E0 +lbl_8009A1D4: +/* 8009A1D4 00097134 7F E3 FB 78 */ mr r3, r31 +/* 8009A1D8 00097138 38 80 00 00 */ li r4, 0 +/* 8009A1DC 0009713C 4B FF CA 4D */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb +lbl_8009A1E0: +/* 8009A1E0 00097140 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 8009A1E4 00097144 2C 00 00 01 */ cmpwi r0, 1 +/* 8009A1E8 00097148 40 82 00 60 */ bne lbl_8009A248 +/* 8009A1EC 0009714C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8009A1F0 00097150 81 83 00 00 */ lwz r12, 0(r3) +/* 8009A1F4 00097154 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8009A1F8 00097158 7D 89 03 A6 */ mtctr r12 +/* 8009A1FC 0009715C 4E 80 04 21 */ bctrl +/* 8009A200 00097160 C0 41 01 40 */ lfs f2, 0x140(r1) +/* 8009A204 00097164 7C 64 1B 78 */ mr r4, r3 +/* 8009A208 00097168 C0 21 01 34 */ lfs f1, 0x134(r1) +/* 8009A20C 0009716C 38 61 00 70 */ addi r3, r1, 0x70 +/* 8009A210 00097170 C0 01 01 28 */ lfs f0, 0x128(r1) +/* 8009A214 00097174 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 8009A218 00097178 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 8009A21C 0009717C 38 C1 00 64 */ addi r6, r1, 0x64 +/* 8009A220 00097180 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8009A224 00097184 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8009A228 00097188 48 00 54 2D */ bl ConstrainToWorldVolume__9CMapWorldCFRC9CVector3fRC9CVector3f +/* 8009A22C 0009718C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 8009A230 00097190 D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 8009A234 00097194 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8009A238 00097198 D0 1F 00 CC */ stfs f0, 0xcc(r31) +/* 8009A23C 0009719C C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8009A240 000971A0 D0 1F 00 D0 */ stfs f0, 0xd0(r31) +/* 8009A244 000971A4 48 00 02 D4 */ b lbl_8009A518 +lbl_8009A248: +/* 8009A248 000971A8 83 DF 00 10 */ lwz r30, 0x10(r31) +/* 8009A24C 000971AC 38 61 00 AC */ addi r3, r1, 0xac +/* 8009A250 000971B0 C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 8009A254 000971B4 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 8009A258 000971B8 C0 61 00 C0 */ lfs f3, 0xc0(r1) +/* 8009A25C 000971BC C0 5E 00 28 */ lfs f2, 0x28(r30) +/* 8009A260 000971C0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8009A264 000971C4 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 8009A268 000971C8 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 8009A26C 000971CC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8009A270 000971D0 C3 9E 00 2C */ lfs f28, 0x2c(r30) +/* 8009A274 000971D4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8009A278 000971D8 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 8009A27C 000971DC D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8009A280 000971E0 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 8009A284 000971E4 48 27 A6 35 */ bl Magnitude__9CVector3fCFv +/* 8009A288 000971E8 FC 01 E0 40 */ fcmpo cr0, f1, f28 +/* 8009A28C 000971EC 40 81 00 4C */ ble lbl_8009A2D8 +/* 8009A290 000971F0 38 61 00 58 */ addi r3, r1, 0x58 +/* 8009A294 000971F4 38 81 00 AC */ addi r4, r1, 0xac +/* 8009A298 000971F8 48 27 A5 B9 */ bl AsNormalized__9CVector3fCFv +/* 8009A29C 000971FC C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 8009A2A0 00097200 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8009A2A4 00097204 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8009A2A8 00097208 EC 9C 00 B2 */ fmuls f4, f28, f2 +/* 8009A2AC 0009720C C0 BE 00 24 */ lfs f5, 0x24(r30) +/* 8009A2B0 00097210 EC 5C 00 72 */ fmuls f2, f28, f1 +/* 8009A2B4 00097214 C0 7E 00 28 */ lfs f3, 0x28(r30) +/* 8009A2B8 00097218 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 8009A2BC 0009721C C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 8009A2C0 00097220 EC 85 20 2A */ fadds f4, f5, f4 +/* 8009A2C4 00097224 EC 43 10 2A */ fadds f2, f3, f2 +/* 8009A2C8 00097228 EC 01 00 2A */ fadds f0, f1, f0 +/* 8009A2CC 0009722C D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 8009A2D0 00097230 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8009A2D4 00097234 D0 41 00 C0 */ stfs f2, 0xc0(r1) +lbl_8009A2D8: +/* 8009A2D8 00097238 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8009A2DC 0009723C D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 8009A2E0 00097240 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 8009A2E4 00097244 D0 1F 00 CC */ stfs f0, 0xcc(r31) +/* 8009A2E8 00097248 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8009A2EC 0009724C D0 1F 00 D0 */ stfs f0, 0xd0(r31) +/* 8009A2F0 00097250 48 00 02 28 */ b lbl_8009A518 +lbl_8009A2F4: +/* 8009A2F4 00097254 7F E3 FB 78 */ mr r3, r31 +/* 8009A2F8 00097258 38 80 00 00 */ li r4, 0 +/* 8009A2FC 0009725C 4B FF C9 2D */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb +/* 8009A300 00097260 7F E3 FB 78 */ mr r3, r31 +/* 8009A304 00097264 4B FF BA 95 */ bl GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv +/* 8009A308 00097268 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 8009A30C 0009726C 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 8009A310 00097270 C0 03 00 E0 */ lfs f0, 0xe0(r3) +/* 8009A314 00097274 2C 00 00 01 */ cmpwi r0, 1 +/* 8009A318 00097278 EF E0 00 72 */ fmuls f31, f0, f1 +/* 8009A31C 0009727C 40 82 01 04 */ bne lbl_8009A420 +/* 8009A320 00097280 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8009A324 00097284 81 83 00 00 */ lwz r12, 0(r3) +/* 8009A328 00097288 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8009A32C 0009728C 7D 89 03 A6 */ mtctr r12 +/* 8009A330 00097290 4E 80 04 21 */ bctrl +/* 8009A334 00097294 80 9F 00 A0 */ lwz r4, 0xa0(r31) +/* 8009A338 00097298 7C 7D 1B 78 */ mr r29, r3 +/* 8009A33C 0009729C 48 00 70 7D */ bl GetMapArea__9CMapWorldCFi +/* 8009A340 000972A0 80 9F 00 A0 */ lwz r4, 0xa0(r31) +/* 8009A344 000972A4 7C 7E 1B 78 */ mr r30, r3 +/* 8009A348 000972A8 7F A3 EB 78 */ mr r3, r29 +/* 8009A34C 000972AC 48 00 70 6D */ bl GetMapArea__9CMapWorldCFi +/* 8009A350 000972B0 7F C4 F3 78 */ mr r4, r30 +/* 8009A354 000972B4 7C 7E 1B 78 */ mr r30, r3 +/* 8009A358 000972B8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8009A35C 000972BC 4B FE 69 A1 */ bl GetAreaCenterPoint__8CMapAreaCFv +/* 8009A360 000972C0 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 8009A364 000972C4 7F C4 F3 78 */ mr r4, r30 +/* 8009A368 000972C8 80 DF 00 A0 */ lwz r6, 0xa0(r31) +/* 8009A36C 000972CC 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8009A370 000972D0 4B FE 60 F9 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 8009A374 000972D4 38 61 00 4C */ addi r3, r1, 0x4c +/* 8009A378 000972D8 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 8009A37C 000972DC 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8009A380 000972E0 48 27 87 69 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8009A384 000972E4 C3 C1 00 4C */ lfs f30, 0x4c(r1) +/* 8009A388 000972E8 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8009A38C 000972EC C0 1F 00 C8 */ lfs f0, 0xc8(r31) +/* 8009A390 000972F0 C3 81 00 50 */ lfs f28, 0x50(r1) +/* 8009A394 000972F4 C0 5F 00 CC */ lfs f2, 0xcc(r31) +/* 8009A398 000972F8 EC 1E 00 28 */ fsubs f0, f30, f0 +/* 8009A39C 000972FC C0 3F 00 D0 */ lfs f1, 0xd0(r31) +/* 8009A3A0 00097300 C3 A1 00 54 */ lfs f29, 0x54(r1) +/* 8009A3A4 00097304 EC 5C 10 28 */ fsubs f2, f28, f2 +/* 8009A3A8 00097308 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8009A3AC 0009730C EC 1D 08 28 */ fsubs f0, f29, f1 +/* 8009A3B0 00097310 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8009A3B4 00097314 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8009A3B8 00097318 48 27 A5 01 */ bl Magnitude__9CVector3fCFv +/* 8009A3BC 0009731C FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8009A3C0 00097320 40 80 00 14 */ bge lbl_8009A3D4 +/* 8009A3C4 00097324 D3 DF 00 C8 */ stfs f30, 0xc8(r31) +/* 8009A3C8 00097328 D3 9F 00 CC */ stfs f28, 0xcc(r31) +/* 8009A3CC 0009732C D3 BF 00 D0 */ stfs f29, 0xd0(r31) +/* 8009A3D0 00097330 48 00 01 48 */ b lbl_8009A518 +lbl_8009A3D4: +/* 8009A3D4 00097334 38 61 00 34 */ addi r3, r1, 0x34 +/* 8009A3D8 00097338 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 8009A3DC 0009733C 48 27 A4 75 */ bl AsNormalized__9CVector3fCFv +/* 8009A3E0 00097340 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8009A3E4 00097344 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 8009A3E8 00097348 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8009A3EC 0009734C C0 3F 00 C8 */ lfs f1, 0xc8(r31) +/* 8009A3F0 00097350 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 8009A3F4 00097354 EC 9F 00 F2 */ fmuls f4, f31, f3 +/* 8009A3F8 00097358 C0 BF 00 CC */ lfs f5, 0xcc(r31) +/* 8009A3FC 0009735C EC 01 00 2A */ fadds f0, f1, f0 +/* 8009A400 00097360 C0 7F 00 D0 */ lfs f3, 0xd0(r31) +/* 8009A404 00097364 EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 8009A408 00097368 EC 45 20 2A */ fadds f2, f5, f4 +/* 8009A40C 0009736C D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 8009A410 00097370 EC 03 08 2A */ fadds f0, f3, f1 +/* 8009A414 00097374 D0 5F 00 CC */ stfs f2, 0xcc(r31) +/* 8009A418 00097378 D0 1F 00 D0 */ stfs f0, 0xd0(r31) +/* 8009A41C 0009737C 48 00 00 FC */ b lbl_8009A518 +lbl_8009A420: +/* 8009A420 00097380 C0 41 01 40 */ lfs f2, 0x140(r1) +/* 8009A424 00097384 7F E4 FB 78 */ mr r4, r31 +/* 8009A428 00097388 83 BF 00 10 */ lwz r29, 0x10(r31) +/* 8009A42C 0009738C 7F C7 F3 78 */ mr r7, r30 +/* 8009A430 00097390 C0 21 01 34 */ lfs f1, 0x134(r1) +/* 8009A434 00097394 38 61 00 08 */ addi r3, r1, 8 +/* 8009A438 00097398 C0 01 01 28 */ lfs f0, 0x128(r1) +/* 8009A43C 0009739C 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 8009A440 000973A0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8009A444 000973A4 38 C1 00 28 */ addi r6, r1, 0x28 +/* 8009A448 000973A8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8009A44C 000973AC D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8009A450 000973B0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8009A454 000973B4 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8009A458 000973B8 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8009A45C 000973BC 4B FF BF 2D */ bl FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager +/* 8009A460 000973C0 80 81 00 08 */ lwz r4, 8(r1) +/* 8009A464 000973C4 38 61 00 94 */ addi r3, r1, 0x94 +/* 8009A468 000973C8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8009A46C 000973CC 1C 84 00 70 */ mulli r4, r4, 0x70 +/* 8009A470 000973D0 80 BD 00 1C */ lwz r5, 0x1c(r29) +/* 8009A474 000973D4 C0 5F 00 CC */ lfs f2, 0xcc(r31) +/* 8009A478 000973D8 C0 3F 00 D0 */ lfs f1, 0xd0(r31) +/* 8009A47C 000973DC 38 84 00 50 */ addi r4, r4, 0x50 +/* 8009A480 000973E0 C0 1F 00 C8 */ lfs f0, 0xc8(r31) +/* 8009A484 000973E4 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8009A488 000973E8 7C 85 20 2E */ lwzx r4, r5, r4 +/* 8009A48C 000973EC 7C 84 02 14 */ add r4, r4, r0 +/* 8009A490 000973F0 C3 C4 00 2C */ lfs f30, 0x2c(r4) +/* 8009A494 000973F4 C3 A4 00 1C */ lfs f29, 0x1c(r4) +/* 8009A498 000973F8 C3 84 00 0C */ lfs f28, 0xc(r4) +/* 8009A49C 000973FC EC 3E 08 28 */ fsubs f1, f30, f1 +/* 8009A4A0 00097400 EC 5D 10 28 */ fsubs f2, f29, f2 +/* 8009A4A4 00097404 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 8009A4A8 00097408 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8009A4AC 0009740C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8009A4B0 00097410 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8009A4B4 00097414 48 27 A4 05 */ bl Magnitude__9CVector3fCFv +/* 8009A4B8 00097418 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8009A4BC 0009741C 40 80 00 14 */ bge lbl_8009A4D0 +/* 8009A4C0 00097420 D3 9F 00 C8 */ stfs f28, 0xc8(r31) +/* 8009A4C4 00097424 D3 BF 00 CC */ stfs f29, 0xcc(r31) +/* 8009A4C8 00097428 D3 DF 00 D0 */ stfs f30, 0xd0(r31) +/* 8009A4CC 0009742C 48 00 00 4C */ b lbl_8009A518 +lbl_8009A4D0: +/* 8009A4D0 00097430 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009A4D4 00097434 38 81 00 94 */ addi r4, r1, 0x94 +/* 8009A4D8 00097438 48 27 A3 79 */ bl AsNormalized__9CVector3fCFv +/* 8009A4DC 0009743C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8009A4E0 00097440 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8009A4E4 00097444 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8009A4E8 00097448 C0 3F 00 C8 */ lfs f1, 0xc8(r31) +/* 8009A4EC 0009744C C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8009A4F0 00097450 EC 9F 00 F2 */ fmuls f4, f31, f3 +/* 8009A4F4 00097454 C0 BF 00 CC */ lfs f5, 0xcc(r31) +/* 8009A4F8 00097458 EC 01 00 2A */ fadds f0, f1, f0 +/* 8009A4FC 0009745C C0 7F 00 D0 */ lfs f3, 0xd0(r31) +/* 8009A500 00097460 EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 8009A504 00097464 EC 45 20 2A */ fadds f2, f5, f4 +/* 8009A508 00097468 D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 8009A50C 0009746C EC 03 08 2A */ fadds f0, f3, f1 +/* 8009A510 00097470 D0 5F 00 CC */ stfs f2, 0xcc(r31) +/* 8009A514 00097474 D0 1F 00 D0 */ stfs f0, 0xd0(r31) +lbl_8009A518: +/* 8009A518 00097478 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 +/* 8009A51C 0009747C CB E1 01 A0 */ lfd f31, 0x1a0(r1) +/* 8009A520 00097480 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 +/* 8009A524 00097484 CB C1 01 90 */ lfd f30, 0x190(r1) +/* 8009A528 00097488 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 +/* 8009A52C 0009748C CB A1 01 80 */ lfd f29, 0x180(r1) +/* 8009A530 00097490 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 +/* 8009A534 00097494 CB 81 01 70 */ lfd f28, 0x170(r1) +/* 8009A538 00097498 E3 61 01 68 */ psq_l f27, 360(r1), 0, qr0 +/* 8009A53C 0009749C CB 61 01 60 */ lfd f27, 0x160(r1) +/* 8009A540 000974A0 83 E1 01 5C */ lwz r31, 0x15c(r1) +/* 8009A544 000974A4 83 C1 01 58 */ lwz r30, 0x158(r1) +/* 8009A548 000974A8 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 8009A54C 000974AC 83 A1 01 54 */ lwz r29, 0x154(r1) +/* 8009A550 000974B0 7C 08 03 A6 */ mtlr r0 +/* 8009A554 000974B4 38 21 01 B0 */ addi r1, r1, 0x1b0 +/* 8009A558 000974B8 4E 80 00 20 */ blr + +.global ProcessMapZoomInput__11CAutoMapperFRC11CFinalInputRC13CStateManager +ProcessMapZoomInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: +/* 8009A55C 000974BC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8009A560 000974C0 7C 08 02 A6 */ mflr r0 +/* 8009A564 000974C4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8009A568 000974C8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8009A56C 000974CC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8009A570 000974D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009A574 000974D4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009A578 000974D8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009A57C 000974DC 7C 7D 1B 78 */ mr r29, r3 +/* 8009A580 000974E0 7C 9E 23 78 */ mr r30, r4 +/* 8009A584 000974E4 38 60 00 2E */ li r3, 0x2e +/* 8009A588 000974E8 4B F7 22 ED */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8009A58C 000974EC 7C 7F 1B 78 */ mr r31, r3 +/* 8009A590 000974F0 7F C4 F3 78 */ mr r4, r30 +/* 8009A594 000974F4 38 60 00 2F */ li r3, 0x2f +/* 8009A598 000974F8 4B F7 22 DD */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8009A59C 000974FC 80 1D 03 24 */ lwz r0, 0x324(r29) +/* 8009A5A0 00097500 38 80 00 00 */ li r4, 0 +/* 8009A5A4 00097504 C3 FD 00 C0 */ lfs f31, 0xc0(r29) +/* 8009A5A8 00097508 2C 00 00 01 */ cmpwi r0, 1 +/* 8009A5AC 0009750C 41 82 00 40 */ beq lbl_8009A5EC +/* 8009A5B0 00097510 40 80 00 10 */ bge lbl_8009A5C0 +/* 8009A5B4 00097514 2C 00 00 00 */ cmpwi r0, 0 +/* 8009A5B8 00097518 40 80 00 14 */ bge lbl_8009A5CC +/* 8009A5BC 0009751C 48 00 00 6C */ b lbl_8009A628 +lbl_8009A5C0: +/* 8009A5C0 00097520 2C 00 00 03 */ cmpwi r0, 3 +/* 8009A5C4 00097524 40 80 00 64 */ bge lbl_8009A628 +/* 8009A5C8 00097528 48 00 00 44 */ b lbl_8009A60C +lbl_8009A5CC: +/* 8009A5CC 0009752C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8009A5D0 00097530 41 82 00 0C */ beq lbl_8009A5DC +/* 8009A5D4 00097534 38 80 00 01 */ li r4, 1 +/* 8009A5D8 00097538 48 00 00 50 */ b lbl_8009A628 +lbl_8009A5DC: +/* 8009A5DC 0009753C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009A5E0 00097540 41 82 00 48 */ beq lbl_8009A628 +/* 8009A5E4 00097544 38 80 00 02 */ li r4, 2 +/* 8009A5E8 00097548 48 00 00 40 */ b lbl_8009A628 +lbl_8009A5EC: +/* 8009A5EC 0009754C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8009A5F0 00097550 41 82 00 0C */ beq lbl_8009A5FC +/* 8009A5F4 00097554 38 80 00 01 */ li r4, 1 +/* 8009A5F8 00097558 48 00 00 30 */ b lbl_8009A628 +lbl_8009A5FC: +/* 8009A5FC 0009755C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009A600 00097560 41 82 00 28 */ beq lbl_8009A628 +/* 8009A604 00097564 38 80 00 02 */ li r4, 2 +/* 8009A608 00097568 48 00 00 20 */ b lbl_8009A628 +lbl_8009A60C: +/* 8009A60C 0009756C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009A610 00097570 41 82 00 0C */ beq lbl_8009A61C +/* 8009A614 00097574 38 80 00 02 */ li r4, 2 +/* 8009A618 00097578 48 00 00 10 */ b lbl_8009A628 +lbl_8009A61C: +/* 8009A61C 0009757C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8009A620 00097580 41 82 00 08 */ beq lbl_8009A628 +/* 8009A624 00097584 38 80 00 01 */ li r4, 1 +lbl_8009A628: +/* 8009A628 00097588 90 9D 03 24 */ stw r4, 0x324(r29) +/* 8009A62C 0009758C C0 22 8C 08 */ lfs f1, lbl_805AA928@sda21(r2) +/* 8009A630 00097590 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8009A634 00097594 80 1D 01 BC */ lwz r0, 0x1bc(r29) +/* 8009A638 00097598 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 8009A63C 0009759C EC 41 00 32 */ fmuls f2, f1, f0 +/* 8009A640 000975A0 2C 00 00 01 */ cmpwi r0, 1 +/* 8009A644 000975A4 C0 23 00 70 */ lfs f1, 0x70(r3) +/* 8009A648 000975A8 40 82 00 0C */ bne lbl_8009A654 +/* 8009A64C 000975AC C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 8009A650 000975B0 48 00 00 08 */ b lbl_8009A658 +lbl_8009A654: +/* 8009A654 000975B4 C0 02 8B E0 */ lfs f0, lbl_805AA900@sda21(r2) +lbl_8009A658: +/* 8009A658 000975B8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8009A65C 000975BC 80 1D 03 24 */ lwz r0, 0x324(r29) +/* 8009A660 000975C0 2C 00 00 01 */ cmpwi r0, 1 +/* 8009A664 000975C4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8009A668 000975C8 40 82 00 28 */ bne lbl_8009A690 +/* 8009A66C 000975CC C0 1D 00 C0 */ lfs f0, 0xc0(r29) +/* 8009A670 000975D0 7F A3 EB 78 */ mr r3, r29 +/* 8009A674 000975D4 EC 20 08 28 */ fsubs f1, f0, f1 +/* 8009A678 000975D8 4B FF BA BD */ bl GetClampedMapScreenCameraDistance__11CAutoMapperCFf +/* 8009A67C 000975DC D0 3D 00 C0 */ stfs f1, 0xc0(r29) +/* 8009A680 000975E0 38 00 00 01 */ li r0, 1 +/* 8009A684 000975E4 90 1D 02 F0 */ stw r0, 0x2f0(r29) +/* 8009A688 000975E8 90 1D 03 24 */ stw r0, 0x324(r29) +/* 8009A68C 000975EC 48 00 00 30 */ b lbl_8009A6BC +lbl_8009A690: +/* 8009A690 000975F0 2C 00 00 02 */ cmpwi r0, 2 +/* 8009A694 000975F4 40 82 00 28 */ bne lbl_8009A6BC +/* 8009A698 000975F8 C0 1D 00 C0 */ lfs f0, 0xc0(r29) +/* 8009A69C 000975FC 7F A3 EB 78 */ mr r3, r29 +/* 8009A6A0 00097600 EC 20 08 2A */ fadds f1, f0, f1 +/* 8009A6A4 00097604 4B FF BA 91 */ bl GetClampedMapScreenCameraDistance__11CAutoMapperCFf +/* 8009A6A8 00097608 D0 3D 00 C0 */ stfs f1, 0xc0(r29) +/* 8009A6AC 0009760C 38 60 00 01 */ li r3, 1 +/* 8009A6B0 00097610 38 00 00 02 */ li r0, 2 +/* 8009A6B4 00097614 90 7D 02 EC */ stw r3, 0x2ec(r29) +/* 8009A6B8 00097618 90 1D 03 24 */ stw r0, 0x324(r29) +lbl_8009A6BC: +/* 8009A6BC 0009761C C0 1D 00 C0 */ lfs f0, 0xc0(r29) +/* 8009A6C0 00097620 FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 8009A6C4 00097624 40 82 00 14 */ bne lbl_8009A6D8 +/* 8009A6C8 00097628 7F A3 EB 78 */ mr r3, r29 +/* 8009A6CC 0009762C 38 80 00 00 */ li r4, 0 +/* 8009A6D0 00097630 4B FF C4 D5 */ bl SetShouldZoomingSoundBePlaying__11CAutoMapperFb +/* 8009A6D4 00097634 48 00 00 10 */ b lbl_8009A6E4 +lbl_8009A6D8: +/* 8009A6D8 00097638 7F A3 EB 78 */ mr r3, r29 +/* 8009A6DC 0009763C 38 80 00 01 */ li r4, 1 +/* 8009A6E0 00097640 4B FF C4 C5 */ bl SetShouldZoomingSoundBePlaying__11CAutoMapperFb +lbl_8009A6E4: +/* 8009A6E4 00097644 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8009A6E8 00097648 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8009A6EC 0009764C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8009A6F0 00097650 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009A6F4 00097654 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009A6F8 00097658 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009A6FC 0009765C 7C 08 03 A6 */ mtlr r0 +/* 8009A700 00097660 38 21 00 30 */ addi r1, r1, 0x30 +/* 8009A704 00097664 4E 80 00 20 */ blr + +.global ProcessMapRotateInput__11CAutoMapperFRC11CFinalInputRC13CStateManager +ProcessMapRotateInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: +/* 8009A708 00097668 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 8009A70C 0009766C 7C 08 02 A6 */ mflr r0 +/* 8009A710 00097670 90 01 01 54 */ stw r0, 0x154(r1) +/* 8009A714 00097674 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 8009A718 00097678 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 8009A71C 0009767C DB C1 01 30 */ stfd f30, 0x130(r1) +/* 8009A720 00097680 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 +/* 8009A724 00097684 DB A1 01 20 */ stfd f29, 0x120(r1) +/* 8009A728 00097688 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 +/* 8009A72C 0009768C DB 81 01 10 */ stfd f28, 0x110(r1) +/* 8009A730 00097690 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 +/* 8009A734 00097694 DB 61 01 00 */ stfd f27, 0x100(r1) +/* 8009A738 00097698 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 +/* 8009A73C 0009769C 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8009A740 000976A0 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8009A744 000976A4 7C 7F 1B 78 */ mr r31, r3 +/* 8009A748 000976A8 7C 9E 23 78 */ mr r30, r4 +/* 8009A74C 000976AC 38 60 00 26 */ li r3, 0x26 +/* 8009A750 000976B0 4B F7 21 C9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8009A754 000976B4 FF 60 08 90 */ fmr f27, f1 +/* 8009A758 000976B8 7F C4 F3 78 */ mr r4, r30 +/* 8009A75C 000976BC 38 60 00 27 */ li r3, 0x27 +/* 8009A760 000976C0 4B F7 21 B9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8009A764 000976C4 FF 80 08 90 */ fmr f28, f1 +/* 8009A768 000976C8 7F C4 F3 78 */ mr r4, r30 +/* 8009A76C 000976CC 38 60 00 28 */ li r3, 0x28 +/* 8009A770 000976D0 4B F7 21 A9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8009A774 000976D4 FF A0 08 90 */ fmr f29, f1 +/* 8009A778 000976D8 7F C4 F3 78 */ mr r4, r30 +/* 8009A77C 000976DC 38 60 00 29 */ li r3, 0x29 +/* 8009A780 000976E0 4B F7 21 99 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8009A784 000976E4 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A788 000976E8 38 80 00 00 */ li r4, 0 +/* 8009A78C 000976EC FC 1B 00 40 */ fcmpo cr0, f27, f0 +/* 8009A790 000976F0 40 81 00 08 */ ble lbl_8009A798 +/* 8009A794 000976F4 38 80 00 02 */ li r4, 2 +lbl_8009A798: +/* 8009A798 000976F8 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A79C 000976FC FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 8009A7A0 00097700 40 81 00 08 */ ble lbl_8009A7A8 +/* 8009A7A4 00097704 38 84 00 01 */ addi r4, r4, 1 +lbl_8009A7A8: +/* 8009A7A8 00097708 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A7AC 0009770C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8009A7B0 00097710 40 81 00 08 */ ble lbl_8009A7B8 +/* 8009A7B4 00097714 38 84 00 04 */ addi r4, r4, 4 +lbl_8009A7B8: +/* 8009A7B8 00097718 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A7BC 0009771C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009A7C0 00097720 40 81 00 08 */ ble lbl_8009A7C8 +/* 8009A7C4 00097724 38 84 00 08 */ addi r4, r4, 8 +lbl_8009A7C8: +/* 8009A7C8 00097728 28 04 00 0A */ cmplwi r4, 0xa +/* 8009A7CC 0009772C 41 81 00 78 */ bgt lbl_8009A844 +/* 8009A7D0 00097730 3C 60 80 3E */ lis r3, lbl_803DAEA8@ha +/* 8009A7D4 00097734 54 80 10 3A */ slwi r0, r4, 2 +/* 8009A7D8 00097738 38 63 AE A8 */ addi r3, r3, lbl_803DAEA8@l +/* 8009A7DC 0009773C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8009A7E0 00097740 7C 09 03 A6 */ mtctr r0 +/* 8009A7E4 00097744 4E 80 04 20 */ bctr +/* 8009A7E8 00097748 38 00 00 01 */ li r0, 1 +/* 8009A7EC 0009774C 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8009A7F0 00097750 48 00 00 54 */ b lbl_8009A844 +/* 8009A7F4 00097754 38 00 00 05 */ li r0, 5 +/* 8009A7F8 00097758 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8009A7FC 0009775C 48 00 00 48 */ b lbl_8009A844 +/* 8009A800 00097760 38 00 00 03 */ li r0, 3 +/* 8009A804 00097764 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8009A808 00097768 48 00 00 3C */ b lbl_8009A844 +/* 8009A80C 0009776C 38 00 00 02 */ li r0, 2 +/* 8009A810 00097770 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8009A814 00097774 48 00 00 30 */ b lbl_8009A844 +/* 8009A818 00097778 38 00 00 04 */ li r0, 4 +/* 8009A81C 0009777C 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8009A820 00097780 48 00 00 24 */ b lbl_8009A844 +/* 8009A824 00097784 38 00 00 07 */ li r0, 7 +/* 8009A828 00097788 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8009A82C 0009778C 48 00 00 18 */ b lbl_8009A844 +/* 8009A830 00097790 38 00 00 08 */ li r0, 8 +/* 8009A834 00097794 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8009A838 00097798 48 00 00 0C */ b lbl_8009A844 +/* 8009A83C 0009779C 38 00 00 06 */ li r0, 6 +/* 8009A840 000977A0 90 1F 02 E4 */ stw r0, 0x2e4(r31) +lbl_8009A844: +/* 8009A844 000977A4 FC 00 D8 90 */ fmr f0, f27 +/* 8009A848 000977A8 38 00 00 00 */ li r0, 0 +/* 8009A84C 000977AC FC 1C D8 40 */ fcmpo cr0, f28, f27 +/* 8009A850 000977B0 40 81 00 0C */ ble lbl_8009A85C +/* 8009A854 000977B4 FC 00 E0 90 */ fmr f0, f28 +/* 8009A858 000977B8 38 00 00 01 */ li r0, 1 +lbl_8009A85C: +/* 8009A85C 000977BC FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8009A860 000977C0 40 81 00 0C */ ble lbl_8009A86C +/* 8009A864 000977C4 FC 00 E8 90 */ fmr f0, f29 +/* 8009A868 000977C8 38 00 00 02 */ li r0, 2 +lbl_8009A86C: +/* 8009A86C 000977CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009A870 000977D0 40 81 00 0C */ ble lbl_8009A87C +/* 8009A874 000977D4 FC 00 08 90 */ fmr f0, f1 +/* 8009A878 000977D8 38 00 00 03 */ li r0, 3 +lbl_8009A87C: +/* 8009A87C 000977DC C3 E2 8B A8 */ lfs f31, lbl_805AA8C8@sda21(r2) +/* 8009A880 000977E0 2C 00 00 02 */ cmpwi r0, 2 +/* 8009A884 000977E4 FF 80 F8 90 */ fmr f28, f31 +/* 8009A888 000977E8 FF A0 F8 90 */ fmr f29, f31 +/* 8009A88C 000977EC FF C0 F8 90 */ fmr f30, f31 +/* 8009A890 000977F0 41 82 00 34 */ beq lbl_8009A8C4 +/* 8009A894 000977F4 40 80 00 14 */ bge lbl_8009A8A8 +/* 8009A898 000977F8 2C 00 00 00 */ cmpwi r0, 0 +/* 8009A89C 000977FC 41 82 00 18 */ beq lbl_8009A8B4 +/* 8009A8A0 00097800 40 80 00 1C */ bge lbl_8009A8BC +/* 8009A8A4 00097804 48 00 00 2C */ b lbl_8009A8D0 +lbl_8009A8A8: +/* 8009A8A8 00097808 2C 00 00 04 */ cmpwi r0, 4 +/* 8009A8AC 0009780C 40 80 00 24 */ bge lbl_8009A8D0 +/* 8009A8B0 00097810 48 00 00 1C */ b lbl_8009A8CC +lbl_8009A8B4: +/* 8009A8B4 00097814 FF C0 00 90 */ fmr f30, f0 +/* 8009A8B8 00097818 48 00 00 18 */ b lbl_8009A8D0 +lbl_8009A8BC: +/* 8009A8BC 0009781C FF A0 00 90 */ fmr f29, f0 +/* 8009A8C0 00097820 48 00 00 10 */ b lbl_8009A8D0 +lbl_8009A8C4: +/* 8009A8C4 00097824 FF E0 00 90 */ fmr f31, f0 +/* 8009A8C8 00097828 48 00 00 08 */ b lbl_8009A8D0 +lbl_8009A8CC: +/* 8009A8CC 0009782C FF 80 00 90 */ fmr f28, f0 +lbl_8009A8D0: +/* 8009A8D0 00097830 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009A8D4 00097834 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8009A8D8 00097838 41 81 00 1C */ bgt lbl_8009A8F4 +/* 8009A8DC 0009783C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8009A8E0 00097840 41 81 00 14 */ bgt lbl_8009A8F4 +/* 8009A8E4 00097844 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8009A8E8 00097848 41 81 00 0C */ bgt lbl_8009A8F4 +/* 8009A8EC 0009784C FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 8009A8F0 00097850 40 81 03 40 */ ble lbl_8009AC30 +lbl_8009A8F4: +/* 8009A8F4 00097854 C0 22 8C 08 */ lfs f1, lbl_805AA928@sda21(r2) +/* 8009A8F8 00097858 7F E3 FB 78 */ mr r3, r31 +/* 8009A8FC 0009785C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8009A900 00097860 38 80 00 01 */ li r4, 1 +/* 8009A904 00097864 EF 61 00 32 */ fmuls f27, f1, f0 +/* 8009A908 00097868 4B FF C2 19 */ bl SetShouldRotatingSoundBePlaying__11CAutoMapperFb +/* 8009A90C 0009786C 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) +/* 8009A910 00097870 38 61 00 70 */ addi r3, r1, 0x70 +/* 8009A914 00097874 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8009A918 00097878 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8009A91C 0009787C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8009A920 00097880 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8009A924 00097884 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8009A928 00097888 4B F8 0C 9D */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion +/* 8009A92C 0009788C C0 81 00 70 */ lfs f4, 0x70(r1) +/* 8009A930 00097890 3C 00 43 30 */ lis r0, 0x4330 +/* 8009A934 00097894 C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) +/* 8009A938 00097898 90 01 00 88 */ stw r0, 0x88(r1) +/* 8009A93C 0009789C EC 04 00 32 */ fmuls f0, f4, f0 +/* 8009A940 000978A0 C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) +/* 8009A944 000978A4 C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) +/* 8009A948 000978A8 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 8009A94C 000978AC FC 00 00 1E */ fctiwz f0, f0 +/* 8009A950 000978B0 C0 A1 00 78 */ lfs f5, 0x78(r1) +/* 8009A954 000978B4 D8 01 00 80 */ stfd f0, 0x80(r1) +/* 8009A958 000978B8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8009A95C 000978BC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8009A960 000978C0 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8009A964 000978C4 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 8009A968 000978C8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8009A96C 000978CC EC 00 20 BC */ fnmsubs f0, f0, f2, f4 +/* 8009A970 000978D0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8009A974 000978D4 40 80 00 08 */ bge lbl_8009A97C +/* 8009A978 000978D8 EC 00 10 2A */ fadds f0, f0, f2 +lbl_8009A97C: +/* 8009A97C 000978DC C0 22 8B A4 */ lfs f1, lbl_805AA8C4@sda21(r2) +/* 8009A980 000978E0 3C 00 43 30 */ lis r0, 0x4330 +/* 8009A984 000978E4 90 01 00 98 */ stw r0, 0x98(r1) +/* 8009A988 000978E8 EC 65 00 72 */ fmuls f3, f5, f1 +/* 8009A98C 000978EC C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) +/* 8009A990 000978F0 C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) +/* 8009A994 000978F4 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 8009A998 000978F8 FC 60 18 1E */ fctiwz f3, f3 +/* 8009A99C 000978FC D8 61 00 90 */ stfd f3, 0x90(r1) +/* 8009A9A0 00097900 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8009A9A4 00097904 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8009A9A8 00097908 90 01 00 9C */ stw r0, 0x9c(r1) +/* 8009A9AC 0009790C C8 61 00 98 */ lfd f3, 0x98(r1) +/* 8009A9B0 00097910 EC 63 20 28 */ fsubs f3, f3, f4 +/* 8009A9B4 00097914 ED 03 28 BC */ fnmsubs f8, f3, f2, f5 +/* 8009A9B8 00097918 FC 08 08 40 */ fcmpo cr0, f8, f1 +/* 8009A9BC 0009791C 40 80 00 08 */ bge lbl_8009A9C4 +/* 8009A9C0 00097920 ED 08 10 2A */ fadds f8, f8, f2 +lbl_8009A9C4: +/* 8009A9C4 00097924 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 8009A9C8 00097928 3C 00 43 30 */ lis r0, 0x4330 +/* 8009A9CC 0009792C C0 E2 8B AC */ lfs f7, lbl_805AA8CC@sda21(r2) +/* 8009A9D0 00097930 C0 23 00 74 */ lfs f1, 0x74(r3) +/* 8009A9D4 00097934 C0 82 8B A4 */ lfs f4, lbl_805AA8C4@sda21(r2) +/* 8009A9D8 00097938 EC 3B 00 72 */ fmuls f1, f27, f1 +/* 8009A9DC 0009793C 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8009A9E0 00097940 C8 A2 8B 88 */ lfd f5, lbl_805AA8A8@sda21(r2) +/* 8009A9E4 00097944 C0 62 8B 78 */ lfs f3, lbl_805AA898@sda21(r2) +/* 8009A9E8 00097948 EC C1 07 F2 */ fmuls f6, f1, f31 +/* 8009A9EC 0009794C C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) +/* 8009A9F0 00097950 EC C7 01 B2 */ fmuls f6, f7, f6 +/* 8009A9F4 00097954 EC C8 30 28 */ fsubs f6, f8, f6 +/* 8009A9F8 00097958 EC 86 01 32 */ fmuls f4, f6, f4 +/* 8009A9FC 0009795C FC 80 20 1E */ fctiwz f4, f4 +/* 8009AA00 00097960 D8 81 00 A0 */ stfd f4, 0xa0(r1) +/* 8009AA04 00097964 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8009AA08 00097968 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8009AA0C 0009796C 90 01 00 AC */ stw r0, 0xac(r1) +/* 8009AA10 00097970 C8 81 00 A8 */ lfd f4, 0xa8(r1) +/* 8009AA14 00097974 EC 84 28 28 */ fsubs f4, f4, f5 +/* 8009AA18 00097978 EC C4 30 FC */ fnmsubs f6, f4, f3, f6 +/* 8009AA1C 0009797C FC 06 10 40 */ fcmpo cr0, f6, f2 +/* 8009AA20 00097980 40 80 00 08 */ bge lbl_8009AA28 +/* 8009AA24 00097984 EC C6 18 2A */ fadds f6, f6, f3 +lbl_8009AA28: +/* 8009AA28 00097988 EC 41 07 32 */ fmuls f2, f1, f28 +/* 8009AA2C 0009798C C0 62 8B AC */ lfs f3, lbl_805AA8CC@sda21(r2) +/* 8009AA30 00097990 3C 00 43 30 */ lis r0, 0x4330 +/* 8009AA34 00097994 C0 82 8B A4 */ lfs f4, lbl_805AA8C4@sda21(r2) +/* 8009AA38 00097998 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 8009AA3C 0009799C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8009AA40 000979A0 C8 A2 8B 88 */ lfd f5, lbl_805AA8A8@sda21(r2) +/* 8009AA44 000979A4 C0 62 8B 78 */ lfs f3, lbl_805AA898@sda21(r2) +/* 8009AA48 000979A8 EC C6 10 2A */ fadds f6, f6, f2 +/* 8009AA4C 000979AC C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) +/* 8009AA50 000979B0 EC 86 01 32 */ fmuls f4, f6, f4 +/* 8009AA54 000979B4 FC 80 20 1E */ fctiwz f4, f4 +/* 8009AA58 000979B8 D8 81 00 B0 */ stfd f4, 0xb0(r1) +/* 8009AA5C 000979BC 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8009AA60 000979C0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8009AA64 000979C4 90 01 00 BC */ stw r0, 0xbc(r1) +/* 8009AA68 000979C8 C8 81 00 B8 */ lfd f4, 0xb8(r1) +/* 8009AA6C 000979CC EC 84 28 28 */ fsubs f4, f4, f5 +/* 8009AA70 000979D0 EF E4 30 FC */ fnmsubs f31, f4, f3, f6 +/* 8009AA74 000979D4 FC 1F 10 40 */ fcmpo cr0, f31, f2 +/* 8009AA78 000979D8 40 80 00 08 */ bge lbl_8009AA80 +/* 8009AA7C 000979DC EF FF 18 2A */ fadds f31, f31, f3 +lbl_8009AA80: +/* 8009AA80 000979E0 EC 41 07 B2 */ fmuls f2, f1, f30 +/* 8009AA84 000979E4 C0 82 8B AC */ lfs f4, lbl_805AA8CC@sda21(r2) +/* 8009AA88 000979E8 3C 00 43 30 */ lis r0, 0x4330 +/* 8009AA8C 000979EC C0 62 8B A4 */ lfs f3, lbl_805AA8C4@sda21(r2) +/* 8009AA90 000979F0 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 8009AA94 000979F4 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 8009AA98 000979F8 C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) +/* 8009AA9C 000979FC C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) +/* 8009AAA0 00097A00 EC A0 28 28 */ fsubs f5, f0, f5 +/* 8009AAA4 00097A04 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009AAA8 00097A08 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 8009AAAC 00097A0C FC 60 18 1E */ fctiwz f3, f3 +/* 8009AAB0 00097A10 D8 61 00 C0 */ stfd f3, 0xc0(r1) +/* 8009AAB4 00097A14 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8009AAB8 00097A18 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8009AABC 00097A1C 90 01 00 CC */ stw r0, 0xcc(r1) +/* 8009AAC0 00097A20 C8 61 00 C8 */ lfd f3, 0xc8(r1) +/* 8009AAC4 00097A24 EC 63 20 28 */ fsubs f3, f3, f4 +/* 8009AAC8 00097A28 EC 83 28 BC */ fnmsubs f4, f3, f2, f5 +/* 8009AACC 00097A2C FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8009AAD0 00097A30 40 80 00 08 */ bge lbl_8009AAD8 +/* 8009AAD4 00097A34 EC 84 10 2A */ fadds f4, f4, f2 +lbl_8009AAD8: +/* 8009AAD8 00097A38 EC 01 07 72 */ fmuls f0, f1, f29 +/* 8009AADC 00097A3C C0 22 8B AC */ lfs f1, lbl_805AA8CC@sda21(r2) +/* 8009AAE0 00097A40 3C 00 43 30 */ lis r0, 0x4330 +/* 8009AAE4 00097A44 C0 42 8B A4 */ lfs f2, lbl_805AA8C4@sda21(r2) +/* 8009AAE8 00097A48 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8009AAEC 00097A4C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8009AAF0 00097A50 C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) +/* 8009AAF4 00097A54 C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) +/* 8009AAF8 00097A58 EC 84 00 2A */ fadds f4, f4, f0 +/* 8009AAFC 00097A5C C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009AB00 00097A60 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8009AB04 00097A64 FC 40 10 1E */ fctiwz f2, f2 +/* 8009AB08 00097A68 D8 41 00 D0 */ stfd f2, 0xd0(r1) +/* 8009AB0C 00097A6C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8009AB10 00097A70 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8009AB14 00097A74 90 01 00 DC */ stw r0, 0xdc(r1) +/* 8009AB18 00097A78 C8 41 00 D8 */ lfd f2, 0xd8(r1) +/* 8009AB1C 00097A7C EC 42 18 28 */ fsubs f2, f2, f3 +/* 8009AB20 00097A80 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 8009AB24 00097A84 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8009AB28 00097A88 40 80 00 08 */ bge lbl_8009AB30 +/* 8009AB2C 00097A8C EC 42 08 2A */ fadds f2, f2, f1 +lbl_8009AB30: +/* 8009AB30 00097A90 C0 22 8C 0C */ lfs f1, lbl_805AA92C@sda21(r2) +/* 8009AB34 00097A94 C0 02 8C 14 */ lfs f0, lbl_805AA934@sda21(r2) +/* 8009AB38 00097A98 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8009AB3C 00097A9C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009AB40 00097AA0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8009AB44 00097AA4 40 81 00 10 */ ble lbl_8009AB54 +/* 8009AB48 00097AA8 C0 02 8C 10 */ lfs f0, lbl_805AA930@sda21(r2) +/* 8009AB4C 00097AAC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8009AB50 00097AB0 D0 01 00 14 */ stfs f0, 0x14(r1) +lbl_8009AB54: +/* 8009AB54 00097AB4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009AB58 00097AB8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8009AB5C 00097ABC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8009AB60 00097AC0 4B F7 17 55 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8009AB64 00097AC4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8009AB68 00097AC8 3C 00 43 30 */ lis r0, 0x4330 +/* 8009AB6C 00097ACC C0 22 8B AC */ lfs f1, lbl_805AA8CC@sda21(r2) +/* 8009AB70 00097AD0 C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) +/* 8009AB74 00097AD4 EC 81 00 B2 */ fmuls f4, f1, f2 +/* 8009AB78 00097AD8 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 8009AB7C 00097ADC C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) +/* 8009AB80 00097AE0 C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) +/* 8009AB84 00097AE4 EC 44 00 32 */ fmuls f2, f4, f0 +/* 8009AB88 00097AE8 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009AB8C 00097AEC FC 40 10 1E */ fctiwz f2, f2 +/* 8009AB90 00097AF0 D8 41 00 E0 */ stfd f2, 0xe0(r1) +/* 8009AB94 00097AF4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8009AB98 00097AF8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8009AB9C 00097AFC 90 01 00 EC */ stw r0, 0xec(r1) +/* 8009ABA0 00097B00 C8 41 00 E8 */ lfd f2, 0xe8(r1) +/* 8009ABA4 00097B04 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8009ABA8 00097B08 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 8009ABAC 00097B0C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8009ABB0 00097B10 40 80 00 08 */ bge lbl_8009ABB8 +/* 8009ABB4 00097B14 EC 42 08 2A */ fadds f2, f2, f1 +lbl_8009ABB8: +/* 8009ABB8 00097B18 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009ABBC 00097B1C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8009ABC0 00097B20 D3 E1 00 08 */ stfs f31, 8(r1) +/* 8009ABC4 00097B24 38 81 00 10 */ addi r4, r1, 0x10 +/* 8009ABC8 00097B28 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8009ABCC 00097B2C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8009ABD0 00097B30 48 27 65 61 */ bl YRotation__11CQuaternionFRC9CRelAngle +/* 8009ABD4 00097B34 38 61 00 40 */ addi r3, r1, 0x40 +/* 8009ABD8 00097B38 38 81 00 0C */ addi r4, r1, 0xc +/* 8009ABDC 00097B3C 48 27 65 8D */ bl XRotation__11CQuaternionFRC9CRelAngle +/* 8009ABE0 00097B40 38 61 00 30 */ addi r3, r1, 0x30 +/* 8009ABE4 00097B44 38 81 00 08 */ addi r4, r1, 8 +/* 8009ABE8 00097B48 48 27 65 11 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8009ABEC 00097B4C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8009ABF0 00097B50 38 81 00 30 */ addi r4, r1, 0x30 +/* 8009ABF4 00097B54 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8009ABF8 00097B58 48 27 65 A9 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8009ABFC 00097B5C 38 61 00 60 */ addi r3, r1, 0x60 +/* 8009AC00 00097B60 38 81 00 20 */ addi r4, r1, 0x20 +/* 8009AC04 00097B64 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8009AC08 00097B68 48 27 65 99 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8009AC0C 00097B6C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8009AC10 00097B70 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 8009AC14 00097B74 80 61 00 64 */ lwz r3, 0x64(r1) +/* 8009AC18 00097B78 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8009AC1C 00097B7C 90 7F 00 B4 */ stw r3, 0xb4(r31) +/* 8009AC20 00097B80 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 8009AC24 00097B84 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 8009AC28 00097B88 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 8009AC2C 00097B8C 48 00 00 10 */ b lbl_8009AC3C +lbl_8009AC30: +/* 8009AC30 00097B90 7F E3 FB 78 */ mr r3, r31 +/* 8009AC34 00097B94 38 80 00 00 */ li r4, 0 +/* 8009AC38 00097B98 4B FF BE E9 */ bl SetShouldRotatingSoundBePlaying__11CAutoMapperFb +lbl_8009AC3C: +/* 8009AC3C 00097B9C E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 8009AC40 00097BA0 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 8009AC44 00097BA4 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 +/* 8009AC48 00097BA8 CB C1 01 30 */ lfd f30, 0x130(r1) +/* 8009AC4C 00097BAC E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 +/* 8009AC50 00097BB0 CB A1 01 20 */ lfd f29, 0x120(r1) +/* 8009AC54 00097BB4 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 +/* 8009AC58 00097BB8 CB 81 01 10 */ lfd f28, 0x110(r1) +/* 8009AC5C 00097BBC E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 +/* 8009AC60 00097BC0 CB 61 01 00 */ lfd f27, 0x100(r1) +/* 8009AC64 00097BC4 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8009AC68 00097BC8 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8009AC6C 00097BCC 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8009AC70 00097BD0 7C 08 03 A6 */ mtlr r0 +/* 8009AC74 00097BD4 38 21 01 50 */ addi r1, r1, 0x150 +/* 8009AC78 00097BD8 4E 80 00 20 */ blr + +.global ProcessMapScreenInput__11CAutoMapperRC11CFinalInputRC13CStateManager +ProcessMapScreenInput__11CAutoMapperRC11CFinalInputRC13CStateManager: +/* 8009AC7C 00097BDC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8009AC80 00097BE0 7C 08 02 A6 */ mflr r0 +/* 8009AC84 00097BE4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8009AC88 00097BE8 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 8009AC8C 00097BEC 7C 7D 1B 78 */ mr r29, r3 +/* 8009AC90 00097BF0 7C 9E 23 78 */ mr r30, r4 +/* 8009AC94 00097BF4 7C BF 2B 78 */ mr r31, r5 +/* 8009AC98 00097BF8 38 61 00 60 */ addi r3, r1, 0x60 +/* 8009AC9C 00097BFC 38 9D 00 B0 */ addi r4, r29, 0xb0 +/* 8009ACA0 00097C00 48 27 73 ED */ bl BuildTransform__11CQuaternionCFv +/* 8009ACA4 00097C04 38 61 00 84 */ addi r3, r1, 0x84 +/* 8009ACA8 00097C08 38 81 00 60 */ addi r4, r1, 0x60 +/* 8009ACAC 00097C0C 48 27 53 79 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8009ACB0 00097C10 80 1D 01 BC */ lwz r0, 0x1bc(r29) +/* 8009ACB4 00097C14 2C 00 00 01 */ cmpwi r0, 1 +/* 8009ACB8 00097C18 40 82 00 44 */ bne lbl_8009ACFC +/* 8009ACBC 00097C1C 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 8009ACC0 00097C20 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8009ACC4 00097C24 41 82 01 44 */ beq lbl_8009AE08 +/* 8009ACC8 00097C28 80 1D 03 28 */ lwz r0, 0x328(r29) +/* 8009ACCC 00097C2C 2C 00 00 00 */ cmpwi r0, 0 +/* 8009ACD0 00097C30 40 82 01 38 */ bne lbl_8009AE08 +/* 8009ACD4 00097C34 7F A3 EB 78 */ mr r3, r29 +/* 8009ACD8 00097C38 7F E4 FB 78 */ mr r4, r31 +/* 8009ACDC 00097C3C 48 00 14 5D */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv +/* 8009ACE0 00097C40 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009ACE4 00097C44 41 82 01 24 */ beq lbl_8009AE08 +/* 8009ACE8 00097C48 7F A3 EB 78 */ mr r3, r29 +/* 8009ACEC 00097C4C 7F E5 FB 78 */ mr r5, r31 +/* 8009ACF0 00097C50 38 80 00 02 */ li r4, 2 +/* 8009ACF4 00097C54 4B FF C6 41 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager +/* 8009ACF8 00097C58 48 00 01 10 */ b lbl_8009AE08 +lbl_8009ACFC: +/* 8009ACFC 00097C5C 2C 00 00 02 */ cmpwi r0, 2 +/* 8009AD00 00097C60 40 82 01 08 */ bne lbl_8009AE08 +/* 8009AD04 00097C64 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 8009AD08 00097C68 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8009AD0C 00097C6C 41 82 00 FC */ beq lbl_8009AE08 +/* 8009AD10 00097C70 80 1D 00 9C */ lwz r0, 0x9c(r29) +/* 8009AD14 00097C74 38 61 00 30 */ addi r3, r1, 0x30 +/* 8009AD18 00097C78 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 8009AD1C 00097C7C 1C 00 00 70 */ mulli r0, r0, 0x70 +/* 8009AD20 00097C80 80 84 00 1C */ lwz r4, 0x1c(r4) +/* 8009AD24 00097C84 7F 84 02 14 */ add r28, r4, r0 +/* 8009AD28 00097C88 38 9C 00 14 */ addi r4, r28, 0x14 +/* 8009AD2C 00097C8C 48 27 7F 71 */ bl GetQuickInverse__12CTransform4fCFv +/* 8009AD30 00097C90 38 61 00 24 */ addi r3, r1, 0x24 +/* 8009AD34 00097C94 38 81 00 30 */ addi r4, r1, 0x30 +/* 8009AD38 00097C98 38 BD 00 C8 */ addi r5, r29, 0xc8 +/* 8009AD3C 00097C9C 48 27 7D AD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8009AD40 00097CA0 83 9C 00 10 */ lwz r28, 0x10(r28) +/* 8009AD44 00097CA4 3B 61 00 24 */ addi r27, r1, 0x24 +/* 8009AD48 00097CA8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009AD4C 00097CAC 48 13 8C 85 */ bl CurrentWorldAssetId__10CGameStateCFv +/* 8009AD50 00097CB0 7C 1C 18 40 */ cmplw r28, r3 +/* 8009AD54 00097CB4 41 82 00 1C */ beq lbl_8009AD70 +/* 8009AD58 00097CB8 38 00 00 01 */ li r0, 1 +/* 8009AD5C 00097CBC 7F A3 EB 78 */ mr r3, r29 +/* 8009AD60 00097CC0 98 1D 03 2C */ stb r0, 0x32c(r29) +/* 8009AD64 00097CC4 7F E4 FB 78 */ mr r4, r31 +/* 8009AD68 00097CC8 48 00 12 35 */ bl CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager +/* 8009AD6C 00097CCC 48 00 00 9C */ b lbl_8009AE08 +lbl_8009AD70: +/* 8009AD70 00097CD0 80 1F 08 50 */ lwz r0, 0x850(r31) +/* 8009AD74 00097CD4 90 1D 00 24 */ stw r0, 0x24(r29) +/* 8009AD78 00097CD8 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8009AD7C 00097CDC 81 83 00 00 */ lwz r12, 0(r3) +/* 8009AD80 00097CE0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009AD84 00097CE4 7D 89 03 A6 */ mtctr r12 +/* 8009AD88 00097CE8 4E 80 04 21 */ bctrl +/* 8009AD8C 00097CEC 7C 64 1B 78 */ mr r4, r3 +/* 8009AD90 00097CF0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009AD94 00097CF4 48 13 8C 45 */ bl StateForWorld__10CGameStateFUi +/* 8009AD98 00097CF8 7C 64 1B 78 */ mr r4, r3 +/* 8009AD9C 00097CFC 38 61 00 08 */ addi r3, r1, 8 +/* 8009ADA0 00097D00 48 13 9F C5 */ bl GetMapWorldInfo__11CWorldStateCFv +/* 8009ADA4 00097D04 80 81 00 08 */ lwz r4, 8(r1) +/* 8009ADA8 00097D08 38 61 00 08 */ addi r3, r1, 8 +/* 8009ADAC 00097D0C 83 84 00 00 */ lwz r28, 0(r4) +/* 8009ADB0 00097D10 4B F6 DE 8D */ bl sub_80008c3c +/* 8009ADB4 00097D14 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 8009ADB8 00097D18 7F A3 EB 78 */ mr r3, r29 +/* 8009ADBC 00097D1C C0 21 00 94 */ lfs f1, 0x94(r1) +/* 8009ADC0 00097D20 7F 64 DB 78 */ mr r4, r27 +/* 8009ADC4 00097D24 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8009ADC8 00097D28 7F E6 FB 78 */ mr r6, r31 +/* 8009ADCC 00097D2C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8009ADD0 00097D30 7F 88 E3 78 */ mr r8, r28 +/* 8009ADD4 00097D34 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8009ADD8 00097D38 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8009ADDC 00097D3C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8009ADE0 00097D40 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8009ADE4 00097D44 80 FD 00 24 */ lwz r7, 0x24(r29) +/* 8009ADE8 00097D48 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8009ADEC 00097D4C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8009ADF0 00097D50 4B FF B7 CD */ bl FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo +/* 8009ADF4 00097D54 90 7D 00 A0 */ stw r3, 0xa0(r29) +/* 8009ADF8 00097D58 7F A3 EB 78 */ mr r3, r29 +/* 8009ADFC 00097D5C 7F E5 FB 78 */ mr r5, r31 +/* 8009AE00 00097D60 38 80 00 01 */ li r4, 1 +/* 8009AE04 00097D64 4B FF C5 31 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager +lbl_8009AE08: +/* 8009AE08 00097D68 38 00 00 00 */ li r0, 0 +/* 8009AE0C 00097D6C 90 1D 02 F4 */ stw r0, 0x2f4(r29) +/* 8009AE10 00097D70 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 8009AE14 00097D74 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8009AE18 00097D78 41 82 00 0C */ beq lbl_8009AE24 +/* 8009AE1C 00097D7C 38 00 00 01 */ li r0, 1 +/* 8009AE20 00097D80 90 1D 02 F4 */ stw r0, 0x2f4(r29) +lbl_8009AE24: +/* 8009AE24 00097D84 7F A3 EB 78 */ mr r3, r29 +/* 8009AE28 00097D88 3B 80 00 00 */ li r28, 0 +/* 8009AE2C 00097D8C 38 80 00 01 */ li r4, 1 +/* 8009AE30 00097D90 4B FF AE F5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 8009AE34 00097D94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009AE38 00097D98 40 82 00 18 */ bne lbl_8009AE50 +/* 8009AE3C 00097D9C 7F A3 EB 78 */ mr r3, r29 +/* 8009AE40 00097DA0 38 80 00 02 */ li r4, 2 +/* 8009AE44 00097DA4 4B FF AE E1 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 8009AE48 00097DA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009AE4C 00097DAC 41 82 00 08 */ beq lbl_8009AE54 +lbl_8009AE50: +/* 8009AE50 00097DB0 3B 80 00 01 */ li r28, 1 +lbl_8009AE54: +/* 8009AE54 00097DB4 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8009AE58 00097DB8 41 82 00 48 */ beq lbl_8009AEA0 +/* 8009AE5C 00097DBC 38 00 00 00 */ li r0, 0 +/* 8009AE60 00097DC0 7F A3 EB 78 */ mr r3, r29 +/* 8009AE64 00097DC4 90 1D 02 E4 */ stw r0, 0x2e4(r29) +/* 8009AE68 00097DC8 7F C4 F3 78 */ mr r4, r30 +/* 8009AE6C 00097DCC 7F E5 FB 78 */ mr r5, r31 +/* 8009AE70 00097DD0 90 1D 02 E8 */ stw r0, 0x2e8(r29) +/* 8009AE74 00097DD4 90 1D 02 EC */ stw r0, 0x2ec(r29) +/* 8009AE78 00097DD8 90 1D 02 F0 */ stw r0, 0x2f0(r29) +/* 8009AE7C 00097DDC 4B FF F8 8D */ bl ProcessMapRotateInput__11CAutoMapperFRC11CFinalInputRC13CStateManager +/* 8009AE80 00097DE0 7F A3 EB 78 */ mr r3, r29 +/* 8009AE84 00097DE4 7F C4 F3 78 */ mr r4, r30 +/* 8009AE88 00097DE8 7F E5 FB 78 */ mr r5, r31 +/* 8009AE8C 00097DEC 4B FF F6 D1 */ bl ProcessMapZoomInput__11CAutoMapperFRC11CFinalInputRC13CStateManager +/* 8009AE90 00097DF0 7F A3 EB 78 */ mr r3, r29 +/* 8009AE94 00097DF4 7F C4 F3 78 */ mr r4, r30 +/* 8009AE98 00097DF8 7F E5 FB 78 */ mr r5, r31 +/* 8009AE9C 00097DFC 4B FF F0 F5 */ bl ProcessMapPanInput__11CAutoMapperFRC11CFinalInputRC13CStateManager +lbl_8009AEA0: +/* 8009AEA0 00097E00 BB 61 00 AC */ lmw r27, 0xac(r1) +/* 8009AEA4 00097E04 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8009AEA8 00097E08 7C 08 03 A6 */ mtlr r0 +/* 8009AEAC 00097E0C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8009AEB0 00097E10 4E 80 00 20 */ blr + +.global ProcessControllerInput__11CAutoMapperFRC11CFinalInputRC13CStateManager +ProcessControllerInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: +/* 8009AEB4 00097E14 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 8009AEB8 00097E18 7C 08 02 A6 */ mflr r0 +/* 8009AEBC 00097E1C 90 01 02 04 */ stw r0, 0x204(r1) +/* 8009AEC0 00097E20 BE E1 01 DC */ stmw r23, 0x1dc(r1) +/* 8009AEC4 00097E24 7C 7F 1B 78 */ mr r31, r3 +/* 8009AEC8 00097E28 7C 9D 23 78 */ mr r29, r4 +/* 8009AECC 00097E2C 7C BE 2B 78 */ mr r30, r5 +/* 8009AED0 00097E30 4B FF AE 21 */ bl IsRenderStateInterpolating__11CAutoMapperCFv +/* 8009AED4 00097E34 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009AED8 00097E38 40 82 00 94 */ bne lbl_8009AF6C +/* 8009AEDC 00097E3C 7F E3 FB 78 */ mr r3, r31 +/* 8009AEE0 00097E40 3B 00 00 00 */ li r24, 0 +/* 8009AEE4 00097E44 38 80 00 01 */ li r4, 1 +/* 8009AEE8 00097E48 4B FF AE 3D */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 8009AEEC 00097E4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009AEF0 00097E50 40 82 00 18 */ bne lbl_8009AF08 +/* 8009AEF4 00097E54 7F E3 FB 78 */ mr r3, r31 +/* 8009AEF8 00097E58 38 80 00 02 */ li r4, 2 +/* 8009AEFC 00097E5C 4B FF AE 29 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 8009AF00 00097E60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009AF04 00097E64 41 82 00 08 */ beq lbl_8009AF0C +lbl_8009AF08: +/* 8009AF08 00097E68 3B 00 00 01 */ li r24, 1 +lbl_8009AF0C: +/* 8009AF0C 00097E6C 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 8009AF10 00097E70 41 82 00 5C */ beq lbl_8009AF6C +/* 8009AF14 00097E74 88 1F 03 2C */ lbz r0, 0x32c(r31) +/* 8009AF18 00097E78 28 00 00 00 */ cmplwi r0, 0 +/* 8009AF1C 00097E7C 41 82 00 14 */ beq lbl_8009AF30 +/* 8009AF20 00097E80 7F E3 FB 78 */ mr r3, r31 +/* 8009AF24 00097E84 7F C4 F3 78 */ mr r4, r30 +/* 8009AF28 00097E88 48 00 10 75 */ bl CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager +/* 8009AF2C 00097E8C 48 00 00 40 */ b lbl_8009AF6C +lbl_8009AF30: +/* 8009AF30 00097E90 80 1F 01 F4 */ lwz r0, 0x1f4(r31) +/* 8009AF34 00097E94 2C 00 00 00 */ cmpwi r0, 0 +/* 8009AF38 00097E98 40 81 00 18 */ ble lbl_8009AF50 +/* 8009AF3C 00097E9C C0 3D 00 00 */ lfs f1, 0(r29) +/* 8009AF40 00097EA0 7F E3 FB 78 */ mr r3, r31 +/* 8009AF44 00097EA4 7F C4 F3 78 */ mr r4, r30 +/* 8009AF48 00097EA8 48 00 09 9D */ bl UpdateHintNavigation__11CAutoMapperFfRC13CStateManager +/* 8009AF4C 00097EAC 48 00 00 20 */ b lbl_8009AF6C +lbl_8009AF50: +/* 8009AF50 00097EB0 80 1F 03 28 */ lwz r0, 0x328(r31) +/* 8009AF54 00097EB4 2C 00 00 00 */ cmpwi r0, 0 +/* 8009AF58 00097EB8 40 82 00 14 */ bne lbl_8009AF6C +/* 8009AF5C 00097EBC 7F E3 FB 78 */ mr r3, r31 +/* 8009AF60 00097EC0 7F A4 EB 78 */ mr r4, r29 +/* 8009AF64 00097EC4 7F C5 F3 78 */ mr r5, r30 +/* 8009AF68 00097EC8 4B FF FD 15 */ bl ProcessMapScreenInput__11CAutoMapperRC11CFinalInputRC13CStateManager +lbl_8009AF6C: +/* 8009AF6C 00097ECC 38 61 01 90 */ addi r3, r1, 0x190 +/* 8009AF70 00097ED0 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8009AF74 00097ED4 48 27 71 19 */ bl BuildTransform__11CQuaternionCFv +/* 8009AF78 00097ED8 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 8009AF7C 00097EDC 38 81 01 90 */ addi r4, r1, 0x190 +/* 8009AF80 00097EE0 48 27 50 A5 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8009AF84 00097EE4 7F E3 FB 78 */ mr r3, r31 +/* 8009AF88 00097EE8 38 80 00 01 */ li r4, 1 +/* 8009AF8C 00097EEC 4B FF AD 99 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 8009AF90 00097EF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009AF94 00097EF4 41 82 00 BC */ beq lbl_8009B050 +/* 8009AF98 00097EF8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8009AF9C 00097EFC 81 83 00 00 */ lwz r12, 0(r3) +/* 8009AFA0 00097F00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009AFA4 00097F04 7D 89 03 A6 */ mtctr r12 +/* 8009AFA8 00097F08 4E 80 04 21 */ bctrl +/* 8009AFAC 00097F0C 7C 64 1B 78 */ mr r4, r3 +/* 8009AFB0 00097F10 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009AFB4 00097F14 48 13 8A 25 */ bl StateForWorld__10CGameStateFUi +/* 8009AFB8 00097F18 7C 64 1B 78 */ mr r4, r3 +/* 8009AFBC 00097F1C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8009AFC0 00097F20 48 13 9D A5 */ bl GetMapWorldInfo__11CWorldStateCFv +/* 8009AFC4 00097F24 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8009AFC8 00097F28 38 61 00 28 */ addi r3, r1, 0x28 +/* 8009AFCC 00097F2C 83 04 00 00 */ lwz r24, 0(r4) +/* 8009AFD0 00097F30 4B F6 DC 6D */ bl sub_80008c3c +/* 8009AFD4 00097F34 C0 41 01 D0 */ lfs f2, 0x1d0(r1) +/* 8009AFD8 00097F38 7F E3 FB 78 */ mr r3, r31 +/* 8009AFDC 00097F3C C0 21 01 C4 */ lfs f1, 0x1c4(r1) +/* 8009AFE0 00097F40 7F C6 F3 78 */ mr r6, r30 +/* 8009AFE4 00097F44 C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 8009AFE8 00097F48 7F 08 C3 78 */ mr r8, r24 +/* 8009AFEC 00097F4C D0 21 01 68 */ stfs f1, 0x168(r1) +/* 8009AFF0 00097F50 38 9F 00 C8 */ addi r4, r31, 0xc8 +/* 8009AFF4 00097F54 38 A1 01 64 */ addi r5, r1, 0x164 +/* 8009AFF8 00097F58 D0 01 01 64 */ stfs f0, 0x164(r1) +/* 8009AFFC 00097F5C D0 41 01 6C */ stfs f2, 0x16c(r1) +/* 8009B000 00097F60 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 8009B004 00097F64 80 FF 00 24 */ lwz r7, 0x24(r31) +/* 8009B008 00097F68 D0 21 01 5C */ stfs f1, 0x15c(r1) +/* 8009B00C 00097F6C D0 41 01 60 */ stfs f2, 0x160(r1) +/* 8009B010 00097F70 4B FF B5 AD */ bl FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo +/* 8009B014 00097F74 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 8009B018 00097F78 7C 03 00 00 */ cmpw r3, r0 +/* 8009B01C 00097F7C 41 82 03 28 */ beq lbl_8009B344 +/* 8009B020 00097F80 90 7F 00 A0 */ stw r3, 0xa0(r31) +/* 8009B024 00097F84 7F E3 FB 78 */ mr r3, r31 +/* 8009B028 00097F88 7F C4 F3 78 */ mr r4, r30 +/* 8009B02C 00097F8C 80 BF 00 A0 */ lwz r5, 0xa0(r31) +/* 8009B030 00097F90 4B FF B2 15 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri +/* 8009B034 00097F94 D0 3F 00 D4 */ stfs f1, 0xd4(r31) +/* 8009B038 00097F98 7F E3 FB 78 */ mr r3, r31 +/* 8009B03C 00097F9C 7F C4 F3 78 */ mr r4, r30 +/* 8009B040 00097FA0 80 BF 00 A0 */ lwz r5, 0xa0(r31) +/* 8009B044 00097FA4 4B FF B2 01 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri +/* 8009B048 00097FA8 D0 3F 00 D8 */ stfs f1, 0xd8(r31) +/* 8009B04C 00097FAC 48 00 02 F8 */ b lbl_8009B344 +lbl_8009B050: +/* 8009B050 00097FB0 7F E3 FB 78 */ mr r3, r31 +/* 8009B054 00097FB4 38 80 00 02 */ li r4, 2 +/* 8009B058 00097FB8 4B FF AC CD */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 8009B05C 00097FBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009B060 00097FC0 41 82 02 E4 */ beq lbl_8009B344 +/* 8009B064 00097FC4 80 1F 01 F4 */ lwz r0, 0x1f4(r31) +/* 8009B068 00097FC8 83 3F 00 10 */ lwz r25, 0x10(r31) +/* 8009B06C 00097FCC 2C 00 00 00 */ cmpwi r0, 0 +/* 8009B070 00097FD0 82 FF 00 9C */ lwz r23, 0x9c(r31) +/* 8009B074 00097FD4 40 81 00 74 */ ble lbl_8009B0E8 +/* 8009B078 00097FD8 80 7F 01 E4 */ lwz r3, 0x1e4(r31) +/* 8009B07C 00097FDC 80 03 00 08 */ lwz r0, 8(r3) +/* 8009B080 00097FE0 2C 00 00 01 */ cmpwi r0, 1 +/* 8009B084 00097FE4 41 82 00 0C */ beq lbl_8009B090 +/* 8009B088 00097FE8 2C 00 00 03 */ cmpwi r0, 3 +/* 8009B08C 00097FEC 40 82 00 14 */ bne lbl_8009B0A0 +lbl_8009B090: +/* 8009B090 00097FF0 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8009B094 00097FF4 7F E3 FB 78 */ mr r3, r31 +/* 8009B098 00097FF8 4B FF A8 A5 */ bl SetCurWorldAssetId__11CAutoMapperFi +/* 8009B09C 00097FFC 48 00 00 90 */ b lbl_8009B12C +lbl_8009B0A0: +/* 8009B0A0 00098000 C0 41 01 D0 */ lfs f2, 0x1d0(r1) +/* 8009B0A4 00098004 7F E4 FB 78 */ mr r4, r31 +/* 8009B0A8 00098008 C0 21 01 C4 */ lfs f1, 0x1c4(r1) +/* 8009B0AC 0009800C 7F C7 F3 78 */ mr r7, r30 +/* 8009B0B0 00098010 C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 8009B0B4 00098014 38 61 00 50 */ addi r3, r1, 0x50 +/* 8009B0B8 00098018 D0 21 01 44 */ stfs f1, 0x144(r1) +/* 8009B0BC 0009801C 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 8009B0C0 00098020 38 C1 01 4C */ addi r6, r1, 0x14c +/* 8009B0C4 00098024 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 8009B0C8 00098028 D0 41 01 48 */ stfs f2, 0x148(r1) +/* 8009B0CC 0009802C D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 8009B0D0 00098030 D0 21 01 50 */ stfs f1, 0x150(r1) +/* 8009B0D4 00098034 D0 41 01 54 */ stfs f2, 0x154(r1) +/* 8009B0D8 00098038 4B FF B2 B1 */ bl FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager +/* 8009B0DC 0009803C 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8009B0E0 00098040 90 1F 00 9C */ stw r0, 0x9c(r31) +/* 8009B0E4 00098044 48 00 00 48 */ b lbl_8009B12C +lbl_8009B0E8: +/* 8009B0E8 00098048 C0 41 01 D0 */ lfs f2, 0x1d0(r1) +/* 8009B0EC 0009804C 7F E4 FB 78 */ mr r4, r31 +/* 8009B0F0 00098050 C0 21 01 C4 */ lfs f1, 0x1c4(r1) +/* 8009B0F4 00098054 7F C7 F3 78 */ mr r7, r30 +/* 8009B0F8 00098058 C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 8009B0FC 0009805C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8009B100 00098060 D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 8009B104 00098064 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 8009B108 00098068 38 C1 01 34 */ addi r6, r1, 0x134 +/* 8009B10C 0009806C D0 01 01 28 */ stfs f0, 0x128(r1) +/* 8009B110 00098070 D0 41 01 30 */ stfs f2, 0x130(r1) +/* 8009B114 00098074 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 8009B118 00098078 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 8009B11C 0009807C D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 8009B120 00098080 4B FF B2 69 */ bl FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager +/* 8009B124 00098084 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8009B128 00098088 90 1F 00 9C */ stw r0, 0x9c(r31) +lbl_8009B12C: +/* 8009B12C 0009808C 80 1F 00 9C */ lwz r0, 0x9c(r31) +/* 8009B130 00098090 7C 00 B8 00 */ cmpw r0, r23 +/* 8009B134 00098094 41 82 02 10 */ beq lbl_8009B344 +/* 8009B138 00098098 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009B13C 0009809C 48 13 88 95 */ bl CurrentWorldAssetId__10CGameStateCFv +/* 8009B140 000980A0 3B 60 00 00 */ li r27, 0 +/* 8009B144 000980A4 7C 7C 1B 78 */ mr r28, r3 +/* 8009B148 000980A8 7F 7A DB 78 */ mr r26, r27 +/* 8009B14C 000980AC 3B 00 00 00 */ li r24, 0 +/* 8009B150 000980B0 48 00 01 BC */ b lbl_8009B30C +lbl_8009B154: +/* 8009B154 000980B4 80 1F 00 9C */ lwz r0, 0x9c(r31) +/* 8009B158 000980B8 38 7B 00 10 */ addi r3, r27, 0x10 +/* 8009B15C 000980BC 80 99 00 1C */ lwz r4, 0x1c(r25) +/* 8009B160 000980C0 7C 18 00 00 */ cmpw r24, r0 +/* 8009B164 000980C4 7E E4 18 2E */ lwzx r23, r4, r3 +/* 8009B168 000980C8 40 82 01 08 */ bne lbl_8009B270 +/* 8009B16C 000980CC 7C 1C B8 40 */ cmplw r28, r23 +/* 8009B170 000980D0 41 82 01 00 */ beq lbl_8009B270 +/* 8009B174 000980D4 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha +/* 8009B178 000980D8 92 E1 00 44 */ stw r23, 0x44(r1) +/* 8009B17C 000980DC 38 03 56 4C */ addi r0, r3, 0x4D4C564C@l +/* 8009B180 000980E0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8009B184 000980E4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8009B188 000980E8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8009B18C 000980EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8009B190 000980F0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8009B194 000980F4 7D 89 03 A6 */ mtctr r12 +/* 8009B198 000980F8 4E 80 04 21 */ bctrl +/* 8009B19C 000980FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009B1A0 00098100 41 82 01 60 */ beq lbl_8009B300 +/* 8009B1A4 00098104 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009B1A8 00098108 38 60 00 40 */ li r3, 0x40 +/* 8009B1AC 0009810C 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 8009B1B0 00098110 38 A0 00 00 */ li r5, 0 +/* 8009B1B4 00098114 38 84 00 0F */ addi r4, r4, 0xf +/* 8009B1B8 00098118 48 27 A6 B5 */ bl __nw__FUlPCcPCc +/* 8009B1BC 0009811C 7C 64 1B 79 */ or. r4, r3, r3 +/* 8009B1C0 00098120 41 82 00 14 */ beq lbl_8009B1D4 +/* 8009B1C4 00098124 7E E4 BB 78 */ mr r4, r23 +/* 8009B1C8 00098128 38 A0 00 01 */ li r5, 1 +/* 8009B1CC 0009812C 4B FB C2 B1 */ bl __ct__11CDummyWorldFUi +/* 8009B1D0 00098130 7C 64 1B 78 */ mr r4, r3 +lbl_8009B1D4: +/* 8009B1D4 00098134 7C 04 00 D0 */ neg r0, r4 +/* 8009B1D8 00098138 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8009B1DC 0009813C 7C 03 23 78 */ or r3, r0, r4 +/* 8009B1E0 00098140 38 01 00 38 */ addi r0, r1, 0x38 +/* 8009B1E4 00098144 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8009B1E8 00098148 98 61 00 38 */ stb r3, 0x38(r1) +/* 8009B1EC 0009814C 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8009B1F0 00098150 7E E3 D2 14 */ add r23, r3, r26 +/* 8009B1F4 00098154 7C 00 B8 40 */ cmplw r0, r23 +/* 8009B1F8 00098158 41 82 00 48 */ beq lbl_8009B240 +/* 8009B1FC 0009815C 88 17 00 00 */ lbz r0, 0(r23) +/* 8009B200 00098160 28 00 00 00 */ cmplwi r0, 0 +/* 8009B204 00098164 41 82 00 24 */ beq lbl_8009B228 +/* 8009B208 00098168 80 77 00 04 */ lwz r3, 4(r23) +/* 8009B20C 0009816C 28 03 00 00 */ cmplwi r3, 0 +/* 8009B210 00098170 41 82 00 18 */ beq lbl_8009B228 +/* 8009B214 00098174 81 83 00 00 */ lwz r12, 0(r3) +/* 8009B218 00098178 38 80 00 01 */ li r4, 1 +/* 8009B21C 0009817C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009B220 00098180 7D 89 03 A6 */ mtctr r12 +/* 8009B224 00098184 4E 80 04 21 */ bctrl +lbl_8009B228: +/* 8009B228 00098188 88 61 00 38 */ lbz r3, 0x38(r1) +/* 8009B22C 0009818C 38 00 00 00 */ li r0, 0 +/* 8009B230 00098190 98 77 00 00 */ stb r3, 0(r23) +/* 8009B234 00098194 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8009B238 00098198 90 77 00 04 */ stw r3, 4(r23) +/* 8009B23C 0009819C 98 01 00 38 */ stb r0, 0x38(r1) +lbl_8009B240: +/* 8009B240 000981A0 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8009B244 000981A4 28 00 00 00 */ cmplwi r0, 0 +/* 8009B248 000981A8 41 82 00 B8 */ beq lbl_8009B300 +/* 8009B24C 000981AC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8009B250 000981B0 28 03 00 00 */ cmplwi r3, 0 +/* 8009B254 000981B4 41 82 00 AC */ beq lbl_8009B300 +/* 8009B258 000981B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8009B25C 000981BC 38 80 00 01 */ li r4, 1 +/* 8009B260 000981C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009B264 000981C4 7D 89 03 A6 */ mtctr r12 +/* 8009B268 000981C8 4E 80 04 21 */ bctrl +/* 8009B26C 000981CC 48 00 00 94 */ b lbl_8009B300 +lbl_8009B270: +/* 8009B270 000981D0 38 60 00 00 */ li r3, 0 +/* 8009B274 000981D4 38 01 00 30 */ addi r0, r1, 0x30 +/* 8009B278 000981D8 98 61 00 30 */ stb r3, 0x30(r1) +/* 8009B27C 000981DC 90 61 00 34 */ stw r3, 0x34(r1) +/* 8009B280 000981E0 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8009B284 000981E4 7E E3 D2 14 */ add r23, r3, r26 +/* 8009B288 000981E8 7C 00 B8 40 */ cmplw r0, r23 +/* 8009B28C 000981EC 41 82 00 48 */ beq lbl_8009B2D4 +/* 8009B290 000981F0 88 17 00 00 */ lbz r0, 0(r23) +/* 8009B294 000981F4 28 00 00 00 */ cmplwi r0, 0 +/* 8009B298 000981F8 41 82 00 24 */ beq lbl_8009B2BC +/* 8009B29C 000981FC 80 77 00 04 */ lwz r3, 4(r23) +/* 8009B2A0 00098200 28 03 00 00 */ cmplwi r3, 0 +/* 8009B2A4 00098204 41 82 00 18 */ beq lbl_8009B2BC +/* 8009B2A8 00098208 81 83 00 00 */ lwz r12, 0(r3) +/* 8009B2AC 0009820C 38 80 00 01 */ li r4, 1 +/* 8009B2B0 00098210 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009B2B4 00098214 7D 89 03 A6 */ mtctr r12 +/* 8009B2B8 00098218 4E 80 04 21 */ bctrl +lbl_8009B2BC: +/* 8009B2BC 0009821C 88 61 00 30 */ lbz r3, 0x30(r1) +/* 8009B2C0 00098220 38 00 00 00 */ li r0, 0 +/* 8009B2C4 00098224 98 77 00 00 */ stb r3, 0(r23) +/* 8009B2C8 00098228 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8009B2CC 0009822C 90 77 00 04 */ stw r3, 4(r23) +/* 8009B2D0 00098230 98 01 00 30 */ stb r0, 0x30(r1) +lbl_8009B2D4: +/* 8009B2D4 00098234 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8009B2D8 00098238 28 00 00 00 */ cmplwi r0, 0 +/* 8009B2DC 0009823C 41 82 00 24 */ beq lbl_8009B300 +/* 8009B2E0 00098240 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8009B2E4 00098244 28 03 00 00 */ cmplwi r3, 0 +/* 8009B2E8 00098248 41 82 00 18 */ beq lbl_8009B300 +/* 8009B2EC 0009824C 81 83 00 00 */ lwz r12, 0(r3) +/* 8009B2F0 00098250 38 80 00 01 */ li r4, 1 +/* 8009B2F4 00098254 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009B2F8 00098258 7D 89 03 A6 */ mtctr r12 +/* 8009B2FC 0009825C 4E 80 04 21 */ bctrl +lbl_8009B300: +/* 8009B300 00098260 3B 7B 00 70 */ addi r27, r27, 0x70 +/* 8009B304 00098264 3B 5A 00 08 */ addi r26, r26, 8 +/* 8009B308 00098268 3B 18 00 01 */ addi r24, r24, 1 +lbl_8009B30C: +/* 8009B30C 0009826C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8009B310 00098270 7C 18 00 00 */ cmpw r24, r0 +/* 8009B314 00098274 41 80 FE 40 */ blt lbl_8009B154 +/* 8009B318 00098278 80 1F 00 9C */ lwz r0, 0x9c(r31) +/* 8009B31C 0009827C 80 99 00 1C */ lwz r4, 0x1c(r25) +/* 8009B320 00098280 1C 60 00 70 */ mulli r3, r0, 0x70 +/* 8009B324 00098284 38 03 00 10 */ addi r0, r3, 0x10 +/* 8009B328 00098288 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8009B32C 0009828C 7C 1C 00 40 */ cmplw r28, r0 +/* 8009B330 00098290 40 82 00 0C */ bne lbl_8009B33C +/* 8009B334 00098294 80 1E 08 50 */ lwz r0, 0x850(r30) +/* 8009B338 00098298 48 00 00 08 */ b lbl_8009B340 +lbl_8009B33C: +/* 8009B33C 0009829C 38 00 00 00 */ li r0, 0 +lbl_8009B340: +/* 8009B340 000982A0 90 1F 00 24 */ stw r0, 0x24(r31) +lbl_8009B344: +/* 8009B344 000982A4 80 1F 03 00 */ lwz r0, 0x300(r31) +/* 8009B348 000982A8 28 00 00 00 */ cmplwi r0, 0 +/* 8009B34C 000982AC 41 82 04 48 */ beq lbl_8009B794 +/* 8009B350 000982B0 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 8009B354 000982B4 28 00 00 00 */ cmplwi r0, 0 +/* 8009B358 000982B8 41 82 01 14 */ beq lbl_8009B46C +/* 8009B35C 000982BC 3A FF 00 78 */ addi r23, r31, 0x78 +/* 8009B360 000982C0 80 1F 00 80 */ lwz r0, 0x80(r31) +/* 8009B364 000982C4 28 00 00 00 */ cmplwi r0, 0 +/* 8009B368 000982C8 41 82 00 0C */ beq lbl_8009B374 +/* 8009B36C 000982CC 38 60 00 01 */ li r3, 1 +/* 8009B370 000982D0 48 00 00 3C */ b lbl_8009B3AC +lbl_8009B374: +/* 8009B374 000982D4 88 17 00 04 */ lbz r0, 4(r23) +/* 8009B378 000982D8 28 00 00 00 */ cmplwi r0, 0 +/* 8009B37C 000982DC 41 82 00 2C */ beq lbl_8009B3A8 +/* 8009B380 000982E0 80 77 00 00 */ lwz r3, 0(r23) +/* 8009B384 000982E4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8009B388 000982E8 28 00 00 00 */ cmplwi r0, 0 +/* 8009B38C 000982EC 41 82 00 1C */ beq lbl_8009B3A8 +/* 8009B390 000982F0 7E E3 BB 78 */ mr r3, r23 +/* 8009B394 000982F4 48 2A 5A 79 */ bl GetObj__6CTokenFv +/* 8009B398 000982F8 80 03 00 04 */ lwz r0, 4(r3) +/* 8009B39C 000982FC 38 60 00 01 */ li r3, 1 +/* 8009B3A0 00098300 90 17 00 08 */ stw r0, 8(r23) +/* 8009B3A4 00098304 48 00 00 08 */ b lbl_8009B3AC +lbl_8009B3A8: +/* 8009B3A8 00098308 38 60 00 00 */ li r3, 0 +lbl_8009B3AC: +/* 8009B3AC 0009830C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009B3B0 00098310 41 82 00 BC */ beq lbl_8009B46C +/* 8009B3B4 00098314 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 8009B3B8 00098318 38 80 00 00 */ li r4, 0 +/* 8009B3BC 0009831C 48 2B B3 41 */ bl GetString__12CStringTableCFi +/* 8009B3C0 00098320 7C 64 1B 78 */ mr r4, r3 +/* 8009B3C4 00098324 38 61 01 18 */ addi r3, r1, 0x118 +/* 8009B3C8 00098328 38 C1 00 18 */ addi r6, r1, 0x18 +/* 8009B3CC 0009832C 38 A0 FF FF */ li r5, -1 +/* 8009B3D0 00098330 48 2A 23 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 8009B3D4 00098334 80 7F 02 FC */ lwz r3, 0x2fc(r31) +/* 8009B3D8 00098338 38 81 01 18 */ addi r4, r1, 0x118 +/* 8009B3DC 0009833C 38 A0 00 00 */ li r5, 0 +/* 8009B3E0 00098340 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8009B3E4 00098344 48 22 E4 A1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B3E8 00098348 38 61 01 18 */ addi r3, r1, 0x118 +/* 8009B3EC 0009834C 48 2A 1D 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B3F0 00098350 38 61 01 08 */ addi r3, r1, 0x108 +/* 8009B3F4 00098354 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 +/* 8009B3F8 00098358 4B F7 A5 F9 */ bl wstring_l__4rstlFPCw +/* 8009B3FC 0009835C 80 7F 03 04 */ lwz r3, 0x304(r31) +/* 8009B400 00098360 38 81 01 08 */ addi r4, r1, 0x108 +/* 8009B404 00098364 38 A0 00 00 */ li r5, 0 +/* 8009B408 00098368 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8009B40C 0009836C 48 22 E4 79 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B410 00098370 38 61 01 08 */ addi r3, r1, 0x108 +/* 8009B414 00098374 48 2A 1D 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B418 00098378 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8009B41C 0009837C 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 +/* 8009B420 00098380 4B F7 A5 D1 */ bl wstring_l__4rstlFPCw +/* 8009B424 00098384 80 7F 03 00 */ lwz r3, 0x300(r31) +/* 8009B428 00098388 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8009B42C 0009838C 38 A0 00 00 */ li r5, 0 +/* 8009B430 00098390 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8009B434 00098394 48 22 E4 51 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B438 00098398 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8009B43C 0009839C 48 2A 1C F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B440 000983A0 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 8009B444 000983A4 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 +/* 8009B448 000983A8 4B F7 A5 A9 */ bl wstring_l__4rstlFPCw +/* 8009B44C 000983AC 80 7F 03 08 */ lwz r3, 0x308(r31) +/* 8009B450 000983B0 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 8009B454 000983B4 38 A0 00 00 */ li r5, 0 +/* 8009B458 000983B8 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8009B45C 000983BC 48 22 E4 29 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B460 000983C0 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 8009B464 000983C4 48 2A 1C D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B468 000983C8 48 00 03 2C */ b lbl_8009B794 +lbl_8009B46C: +/* 8009B46C 000983CC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8009B470 000983D0 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 +/* 8009B474 000983D4 4B F7 A5 7D */ bl wstring_l__4rstlFPCw +/* 8009B478 000983D8 80 7F 02 FC */ lwz r3, 0x2fc(r31) +/* 8009B47C 000983DC 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8009B480 000983E0 38 A0 00 00 */ li r5, 0 +/* 8009B484 000983E4 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8009B488 000983E8 48 22 E3 FD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B48C 000983EC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8009B490 000983F0 48 2A 1C A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B494 000983F4 3C 60 80 3D */ lis r3, lbl_803CD7EC@ha +/* 8009B498 000983F8 38 00 00 00 */ li r0, 0 +/* 8009B49C 000983FC 38 A3 D7 EC */ addi r5, r3, lbl_803CD7EC@l +/* 8009B4A0 00098400 80 E2 8B 64 */ lwz r7, lbl_805AA884@sda21(r2) +/* 8009B4A4 00098404 81 65 00 00 */ lwz r11, 0(r5) +/* 8009B4A8 00098408 38 CD A9 1A */ addi r6, r13, lbl_805A94DA@sda21 +/* 8009B4AC 0009840C 81 45 00 04 */ lwz r10, 4(r5) +/* 8009B4B0 00098410 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B4B4 00098414 81 25 00 08 */ lwz r9, 8(r5) +/* 8009B4B8 00098418 38 80 01 00 */ li r4, 0x100 +/* 8009B4BC 0009841C 81 05 00 0C */ lwz r8, 0xc(r5) +/* 8009B4C0 00098420 38 A0 00 01 */ li r5, 1 +/* 8009B4C4 00098424 91 61 01 80 */ stw r11, 0x180(r1) +/* 8009B4C8 00098428 83 0D A0 74 */ lwz r24, gpStringTable@sda21(r13) +/* 8009B4CC 0009842C 91 41 01 84 */ stw r10, 0x184(r1) +/* 8009B4D0 00098430 91 21 01 88 */ stw r9, 0x188(r1) +/* 8009B4D4 00098434 91 01 01 8C */ stw r8, 0x18c(r1) +/* 8009B4D8 00098438 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 8009B4DC 0009843C 90 C1 01 70 */ stw r6, 0x170(r1) +/* 8009B4E0 00098440 90 01 01 74 */ stw r0, 0x174(r1) +/* 8009B4E4 00098444 90 01 01 78 */ stw r0, 0x178(r1) +/* 8009B4E8 00098448 48 2A 1A 8D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8009B4EC 0009844C 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B4F0 00098450 38 81 01 80 */ addi r4, r1, 0x180 +/* 8009B4F4 00098454 38 A0 FF FF */ li r5, -1 +/* 8009B4F8 00098458 48 2A 1F ED */ bl sub_8033d4e4 +/* 8009B4FC 0009845C 80 1F 02 E4 */ lwz r0, 0x2e4(r31) +/* 8009B500 00098460 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009B504 00098464 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 8009B508 00098468 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l +/* 8009B50C 0009846C 54 00 10 3A */ slwi r0, r0, 2 +/* 8009B510 00098470 7C 83 02 14 */ add r4, r3, r0 +/* 8009B514 00098474 38 65 01 10 */ addi r3, r5, 0x110 +/* 8009B518 00098478 80 84 00 24 */ lwz r4, 0x24(r4) +/* 8009B51C 0009847C 4C C6 31 82 */ crclr 6 +/* 8009B520 00098480 48 23 AC 91 */ bl Stringize__7CBasicsFPCce +/* 8009B524 00098484 7C 64 1B 78 */ mr r4, r3 +/* 8009B528 00098488 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8009B52C 0009848C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8009B530 00098490 38 A0 FF FF */ li r5, -1 +/* 8009B534 00098494 48 2A 2C 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8009B538 00098498 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8009B53C 0009849C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8009B540 000984A0 48 2A 31 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B544 000984A4 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B548 000984A8 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 8009B54C 000984AC 48 2A 21 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B550 000984B0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8009B554 000984B4 48 2A 1B E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B558 000984B8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8009B55C 000984BC 48 2A 25 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B560 000984C0 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B564 000984C4 38 81 00 2C */ addi r4, r1, 0x2c +/* 8009B568 000984C8 38 A0 FF FF */ li r5, -1 +/* 8009B56C 000984CC 48 2A 1F 79 */ bl sub_8033d4e4 +/* 8009B570 000984D0 7F 03 C3 78 */ mr r3, r24 +/* 8009B574 000984D4 38 80 00 2E */ li r4, 0x2e +/* 8009B578 000984D8 48 2B B1 85 */ bl GetString__12CStringTableCFi +/* 8009B57C 000984DC 7C 64 1B 78 */ mr r4, r3 +/* 8009B580 000984E0 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B584 000984E4 38 A0 FF FF */ li r5, -1 +/* 8009B588 000984E8 48 2A 1F 5D */ bl sub_8033d4e4 +/* 8009B58C 000984EC 80 7F 03 00 */ lwz r3, 0x300(r31) +/* 8009B590 000984F0 38 81 01 70 */ addi r4, r1, 0x170 +/* 8009B594 000984F4 38 A0 00 00 */ li r5, 0 +/* 8009B598 000984F8 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8009B59C 000984FC 48 22 E2 E9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B5A0 00098500 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B5A4 00098504 38 81 01 80 */ addi r4, r1, 0x180 +/* 8009B5A8 00098508 38 A0 FF FF */ li r5, -1 +/* 8009B5AC 0009850C 48 2A 1C 51 */ bl sub_8033d1fc +/* 8009B5B0 00098510 80 1F 02 E8 */ lwz r0, 0x2e8(r31) +/* 8009B5B4 00098514 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009B5B8 00098518 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 8009B5BC 0009851C 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l +/* 8009B5C0 00098520 54 00 10 3A */ slwi r0, r0, 2 +/* 8009B5C4 00098524 7C 83 02 14 */ add r4, r3, r0 +/* 8009B5C8 00098528 38 65 01 10 */ addi r3, r5, 0x110 +/* 8009B5CC 0009852C 80 84 00 4C */ lwz r4, 0x4c(r4) +/* 8009B5D0 00098530 4C C6 31 82 */ crclr 6 +/* 8009B5D4 00098534 48 23 AB DD */ bl Stringize__7CBasicsFPCce +/* 8009B5D8 00098538 7C 64 1B 78 */ mr r4, r3 +/* 8009B5DC 0009853C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8009B5E0 00098540 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8009B5E4 00098544 38 A0 FF FF */ li r5, -1 +/* 8009B5E8 00098548 48 2A 2B AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8009B5EC 0009854C 38 61 00 98 */ addi r3, r1, 0x98 +/* 8009B5F0 00098550 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8009B5F4 00098554 48 2A 31 2D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B5F8 00098558 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B5FC 0009855C 38 81 00 98 */ addi r4, r1, 0x98 +/* 8009B600 00098560 48 2A 20 4D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B604 00098564 38 61 00 98 */ addi r3, r1, 0x98 +/* 8009B608 00098568 48 2A 1B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B60C 0009856C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8009B610 00098570 48 2A 24 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B614 00098574 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B618 00098578 38 81 00 2C */ addi r4, r1, 0x2c +/* 8009B61C 0009857C 38 A0 FF FF */ li r5, -1 +/* 8009B620 00098580 48 2A 1E C5 */ bl sub_8033d4e4 +/* 8009B624 00098584 7F 03 C3 78 */ mr r3, r24 +/* 8009B628 00098588 38 80 00 2F */ li r4, 0x2f +/* 8009B62C 0009858C 48 2B B0 D1 */ bl GetString__12CStringTableCFi +/* 8009B630 00098590 7C 64 1B 78 */ mr r4, r3 +/* 8009B634 00098594 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B638 00098598 38 A0 FF FF */ li r5, -1 +/* 8009B63C 0009859C 48 2A 1E A9 */ bl sub_8033d4e4 +/* 8009B640 000985A0 80 7F 03 04 */ lwz r3, 0x304(r31) +/* 8009B644 000985A4 38 81 01 70 */ addi r4, r1, 0x170 +/* 8009B648 000985A8 38 A0 00 00 */ li r5, 0 +/* 8009B64C 000985AC 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8009B650 000985B0 48 22 E2 35 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B654 000985B4 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B658 000985B8 38 81 01 80 */ addi r4, r1, 0x180 +/* 8009B65C 000985BC 38 A0 FF FF */ li r5, -1 +/* 8009B660 000985C0 48 2A 1B 9D */ bl sub_8033d1fc +/* 8009B664 000985C4 80 1F 02 EC */ lwz r0, 0x2ec(r31) +/* 8009B668 000985C8 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009B66C 000985CC 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 8009B670 000985D0 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l +/* 8009B674 000985D4 54 00 10 3A */ slwi r0, r0, 2 +/* 8009B678 000985D8 7C 83 02 14 */ add r4, r3, r0 +/* 8009B67C 000985DC 38 65 00 FB */ addi r3, r5, 0xfb +/* 8009B680 000985E0 80 84 00 74 */ lwz r4, 0x74(r4) +/* 8009B684 000985E4 4C C6 31 82 */ crclr 6 +/* 8009B688 000985E8 48 23 AB 29 */ bl Stringize__7CBasicsFPCce +/* 8009B68C 000985EC 7C 64 1B 78 */ mr r4, r3 +/* 8009B690 000985F0 38 61 00 88 */ addi r3, r1, 0x88 +/* 8009B694 000985F4 38 C1 00 0C */ addi r6, r1, 0xc +/* 8009B698 000985F8 38 A0 FF FF */ li r5, -1 +/* 8009B69C 000985FC 48 2A 2A F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8009B6A0 00098600 38 61 00 78 */ addi r3, r1, 0x78 +/* 8009B6A4 00098604 38 81 00 88 */ addi r4, r1, 0x88 +/* 8009B6A8 00098608 48 2A 30 79 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B6AC 0009860C 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B6B0 00098610 38 81 00 78 */ addi r4, r1, 0x78 +/* 8009B6B4 00098614 48 2A 1F 99 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B6B8 00098618 38 61 00 78 */ addi r3, r1, 0x78 +/* 8009B6BC 0009861C 48 2A 1A 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B6C0 00098620 38 61 00 88 */ addi r3, r1, 0x88 +/* 8009B6C4 00098624 48 2A 24 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B6C8 00098628 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B6CC 0009862C 38 81 00 2C */ addi r4, r1, 0x2c +/* 8009B6D0 00098630 38 A0 FF FF */ li r5, -1 +/* 8009B6D4 00098634 48 2A 1E 11 */ bl sub_8033d4e4 +/* 8009B6D8 00098638 7F 03 C3 78 */ mr r3, r24 +/* 8009B6DC 0009863C 38 80 00 30 */ li r4, 0x30 +/* 8009B6E0 00098640 48 2B B0 1D */ bl GetString__12CStringTableCFi +/* 8009B6E4 00098644 7C 64 1B 78 */ mr r4, r3 +/* 8009B6E8 00098648 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B6EC 0009864C 38 A0 FF FF */ li r5, -1 +/* 8009B6F0 00098650 48 2A 1D F5 */ bl sub_8033d4e4 +/* 8009B6F4 00098654 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B6F8 00098658 38 81 01 80 */ addi r4, r1, 0x180 +/* 8009B6FC 0009865C 38 A0 FF FF */ li r5, -1 +/* 8009B700 00098660 48 2A 1D E5 */ bl sub_8033d4e4 +/* 8009B704 00098664 80 1F 02 F0 */ lwz r0, 0x2f0(r31) +/* 8009B708 00098668 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009B70C 0009866C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 8009B710 00098670 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l +/* 8009B714 00098674 54 00 10 3A */ slwi r0, r0, 2 +/* 8009B718 00098678 7C 83 02 14 */ add r4, r3, r0 +/* 8009B71C 0009867C 38 65 00 FB */ addi r3, r5, 0xfb +/* 8009B720 00098680 80 84 00 80 */ lwz r4, 0x80(r4) +/* 8009B724 00098684 4C C6 31 82 */ crclr 6 +/* 8009B728 00098688 48 23 AA 89 */ bl Stringize__7CBasicsFPCce +/* 8009B72C 0009868C 7C 64 1B 78 */ mr r4, r3 +/* 8009B730 00098690 38 61 00 68 */ addi r3, r1, 0x68 +/* 8009B734 00098694 38 C1 00 08 */ addi r6, r1, 8 +/* 8009B738 00098698 38 A0 FF FF */ li r5, -1 +/* 8009B73C 0009869C 48 2A 2A 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8009B740 000986A0 38 61 00 58 */ addi r3, r1, 0x58 +/* 8009B744 000986A4 38 81 00 68 */ addi r4, r1, 0x68 +/* 8009B748 000986A8 48 2A 2F D9 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B74C 000986AC 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B750 000986B0 38 81 00 58 */ addi r4, r1, 0x58 +/* 8009B754 000986B4 48 2A 1E F9 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B758 000986B8 38 61 00 58 */ addi r3, r1, 0x58 +/* 8009B75C 000986BC 48 2A 19 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B760 000986C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 8009B764 000986C4 48 2A 23 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8009B768 000986C8 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B76C 000986CC 38 81 00 2C */ addi r4, r1, 0x2c +/* 8009B770 000986D0 38 A0 FF FF */ li r5, -1 +/* 8009B774 000986D4 48 2A 1D 71 */ bl sub_8033d4e4 +/* 8009B778 000986D8 80 7F 03 08 */ lwz r3, 0x308(r31) +/* 8009B77C 000986DC 38 81 01 70 */ addi r4, r1, 0x170 +/* 8009B780 000986E0 38 A0 00 00 */ li r5, 0 +/* 8009B784 000986E4 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8009B788 000986E8 48 22 E0 FD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009B78C 000986EC 38 61 01 70 */ addi r3, r1, 0x170 +/* 8009B790 000986F0 48 2A 19 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8009B794: +/* 8009B794 000986F4 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 8009B798 000986F8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8009B79C 000986FC 41 82 00 C0 */ beq lbl_8009B85C +/* 8009B7A0 00098700 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009B7A4 00098704 38 63 00 A8 */ addi r3, r3, 0xa8 +/* 8009B7A8 00098708 80 03 00 BC */ lwz r0, 0xbc(r3) +/* 8009B7AC 0009870C 2C 00 00 01 */ cmpwi r0, 1 +/* 8009B7B0 00098710 41 82 00 50 */ beq lbl_8009B800 +/* 8009B7B4 00098714 40 80 00 10 */ bge lbl_8009B7C4 +/* 8009B7B8 00098718 2C 00 00 00 */ cmpwi r0, 0 +/* 8009B7BC 0009871C 40 80 00 14 */ bge lbl_8009B7D0 +/* 8009B7C0 00098720 48 00 00 9C */ b lbl_8009B85C +lbl_8009B7C4: +/* 8009B7C4 00098724 2C 00 00 03 */ cmpwi r0, 3 +/* 8009B7C8 00098728 40 80 00 94 */ bge lbl_8009B85C +/* 8009B7CC 0009872C 48 00 00 64 */ b lbl_8009B830 +lbl_8009B7D0: +/* 8009B7D0 00098730 38 80 00 01 */ li r4, 1 +/* 8009B7D4 00098734 48 13 99 D5 */ bl SetAutoMapperKeyState__14CSystemOptionsFi +/* 8009B7D8 00098738 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8009B7DC 0009873C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8009B7E0 00098740 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8009B7E4 00098744 38 80 05 AC */ li r4, 0x5ac +/* 8009B7E8 00098748 38 A0 00 7F */ li r5, 0x7f +/* 8009B7EC 0009874C 38 C0 00 40 */ li r6, 0x40 +/* 8009B7F0 00098750 38 E0 00 00 */ li r7, 0 +/* 8009B7F4 00098754 39 20 00 00 */ li r9, 0 +/* 8009B7F8 00098758 48 24 E5 7D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8009B7FC 0009875C 48 00 00 60 */ b lbl_8009B85C +lbl_8009B800: +/* 8009B800 00098760 38 80 00 02 */ li r4, 2 +/* 8009B804 00098764 48 13 99 A5 */ bl SetAutoMapperKeyState__14CSystemOptionsFi +/* 8009B808 00098768 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8009B80C 0009876C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8009B810 00098770 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8009B814 00098774 38 80 05 A6 */ li r4, 0x5a6 +/* 8009B818 00098778 38 A0 00 7F */ li r5, 0x7f +/* 8009B81C 0009877C 38 C0 00 40 */ li r6, 0x40 +/* 8009B820 00098780 38 E0 00 00 */ li r7, 0 +/* 8009B824 00098784 39 20 00 00 */ li r9, 0 +/* 8009B828 00098788 48 24 E5 4D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8009B82C 0009878C 48 00 00 30 */ b lbl_8009B85C +lbl_8009B830: +/* 8009B830 00098790 38 80 00 00 */ li r4, 0 +/* 8009B834 00098794 48 13 99 75 */ bl SetAutoMapperKeyState__14CSystemOptionsFi +/* 8009B838 00098798 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8009B83C 0009879C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009B840 000987A0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8009B844 000987A4 38 80 05 AD */ li r4, 0x5ad +/* 8009B848 000987A8 38 A0 00 7F */ li r5, 0x7f +/* 8009B84C 000987AC 38 C0 00 40 */ li r6, 0x40 +/* 8009B850 000987B0 38 E0 00 00 */ li r7, 0 +/* 8009B854 000987B4 39 20 00 00 */ li r9, 0 +/* 8009B858 000987B8 48 24 E5 1D */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8009B85C: +/* 8009B85C 000987BC 88 1D 00 2E */ lbz r0, 0x2e(r29) +/* 8009B860 000987C0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009B864 000987C4 40 82 00 10 */ bne lbl_8009B874 +/* 8009B868 000987C8 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 8009B86C 000987CC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8009B870 000987D0 41 82 00 60 */ beq lbl_8009B8D0 +lbl_8009B874: +/* 8009B874 000987D4 80 1F 03 28 */ lwz r0, 0x328(r31) +/* 8009B878 000987D8 2C 00 00 00 */ cmpwi r0, 0 +/* 8009B87C 000987DC 40 82 00 54 */ bne lbl_8009B8D0 +/* 8009B880 000987E0 7F E3 FB 78 */ mr r3, r31 +/* 8009B884 000987E4 7F C4 F3 78 */ mr r4, r30 +/* 8009B888 000987E8 48 00 09 A5 */ bl CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager +/* 8009B88C 000987EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009B890 000987F0 41 82 00 14 */ beq lbl_8009B8A4 +/* 8009B894 000987F4 7F E3 FB 78 */ mr r3, r31 +/* 8009B898 000987F8 7F C4 F3 78 */ mr r4, r30 +/* 8009B89C 000987FC 4B FF 9E 49 */ bl LeaveMapScreen__11CAutoMapperCFRC13CStateManager +/* 8009B8A0 00098800 48 00 00 30 */ b lbl_8009B8D0 +lbl_8009B8A4: +/* 8009B8A4 00098804 7F E3 FB 78 */ mr r3, r31 +/* 8009B8A8 00098808 7F C4 F3 78 */ mr r4, r30 +/* 8009B8AC 0009880C 48 00 09 6D */ bl NotHintNavigating__11CAutoMapperFv +/* 8009B8B0 00098810 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009B8B4 00098814 41 82 00 1C */ beq lbl_8009B8D0 +/* 8009B8B8 00098818 7F E3 FB 78 */ mr r3, r31 +/* 8009B8BC 0009881C 7F C5 F3 78 */ mr r5, r30 +/* 8009B8C0 00098820 38 80 00 02 */ li r4, 2 +/* 8009B8C4 00098824 4B FF BA 71 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager +/* 8009B8C8 00098828 38 00 00 01 */ li r0, 1 +/* 8009B8CC 0009882C 90 1F 03 28 */ stw r0, 0x328(r31) +lbl_8009B8D0: +/* 8009B8D0 00098830 BA E1 01 DC */ lmw r23, 0x1dc(r1) +/* 8009B8D4 00098834 80 01 02 04 */ lwz r0, 0x204(r1) +/* 8009B8D8 00098838 7C 08 03 A6 */ mtlr r0 +/* 8009B8DC 0009883C 38 21 02 00 */ addi r1, r1, 0x200 +/* 8009B8E0 00098840 4E 80 00 20 */ blr + +.global UpdateHintNavigation__11CAutoMapperFfRC13CStateManager +UpdateHintNavigation__11CAutoMapperFfRC13CStateManager: +/* 8009B8E4 00098844 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8009B8E8 00098848 7C 08 02 A6 */ mflr r0 +/* 8009B8EC 0009884C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8009B8F0 00098850 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8009B8F4 00098854 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8009B8F8 00098858 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8009B8FC 0009885C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8009B900 00098860 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8009B904 00098864 7C 7E 1B 78 */ mr r30, r3 +/* 8009B908 00098868 38 00 00 01 */ li r0, 1 +/* 8009B90C 0009886C 83 A3 01 E4 */ lwz r29, 0x1e4(r3) +/* 8009B910 00098870 FF E0 08 90 */ fmr f31, f1 +/* 8009B914 00098874 7C 9F 23 78 */ mr r31, r4 +/* 8009B918 00098878 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 8009B91C 0009887C 88 FD 00 10 */ lbz r7, 0x10(r29) +/* 8009B920 00098880 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8009B924 00098884 98 1D 00 10 */ stb r0, 0x10(r29) +/* 8009B928 00098888 80 1D 00 08 */ lwz r0, 8(r29) +/* 8009B92C 0009888C 28 00 00 06 */ cmplwi r0, 6 +/* 8009B930 00098890 41 81 06 48 */ bgt lbl_8009BF78 +/* 8009B934 00098894 3C A0 80 3E */ lis r5, lbl_803DAED4@ha +/* 8009B938 00098898 54 00 10 3A */ slwi r0, r0, 2 +/* 8009B93C 0009889C 38 A5 AE D4 */ addi r5, r5, lbl_803DAED4@l +/* 8009B940 000988A0 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8009B944 000988A4 7C 09 03 A6 */ mtctr r0 +/* 8009B948 000988A8 4E 80 04 20 */ bctr +/* 8009B94C 000988AC 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8009B950 000988B0 83 BD 00 0C */ lwz r29, 0xc(r29) +/* 8009B954 000988B4 81 83 00 00 */ lwz r12, 0(r3) +/* 8009B958 000988B8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8009B95C 000988BC 7D 89 03 A6 */ mtctr r12 +/* 8009B960 000988C0 4E 80 04 21 */ bctrl +/* 8009B964 000988C4 7F A4 EB 78 */ mr r4, r29 +/* 8009B968 000988C8 48 00 5A 51 */ bl GetMapArea__9CMapWorldCFi +/* 8009B96C 000988CC 28 03 00 00 */ cmplwi r3, 0 +/* 8009B970 000988D0 41 82 06 08 */ beq lbl_8009BF78 +/* 8009B974 000988D4 80 FE 00 A8 */ lwz r7, 0xa8(r30) +/* 8009B978 000988D8 7F C4 F3 78 */ mr r4, r30 +/* 8009B97C 000988DC 80 1E 00 AC */ lwz r0, 0xac(r30) +/* 8009B980 000988E0 7F E5 FB 78 */ mr r5, r31 +/* 8009B984 000988E4 7F A6 EB 78 */ mr r6, r29 +/* 8009B988 000988E8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8009B98C 000988EC 90 FE 01 60 */ stw r7, 0x160(r30) +/* 8009B990 000988F0 90 1E 01 64 */ stw r0, 0x164(r30) +/* 8009B994 000988F4 80 FE 00 B0 */ lwz r7, 0xb0(r30) +/* 8009B998 000988F8 80 1E 00 B4 */ lwz r0, 0xb4(r30) +/* 8009B99C 000988FC 90 FE 01 68 */ stw r7, 0x168(r30) +/* 8009B9A0 00098900 90 1E 01 6C */ stw r0, 0x16c(r30) +/* 8009B9A4 00098904 80 FE 00 B8 */ lwz r7, 0xb8(r30) +/* 8009B9A8 00098908 80 1E 00 BC */ lwz r0, 0xbc(r30) +/* 8009B9AC 0009890C 90 FE 01 70 */ stw r7, 0x170(r30) +/* 8009B9B0 00098910 90 1E 01 74 */ stw r0, 0x174(r30) +/* 8009B9B4 00098914 C0 1E 00 C0 */ lfs f0, 0xc0(r30) +/* 8009B9B8 00098918 D0 1E 01 78 */ stfs f0, 0x178(r30) +/* 8009B9BC 0009891C C0 1E 00 C4 */ lfs f0, 0xc4(r30) +/* 8009B9C0 00098920 D0 1E 01 7C */ stfs f0, 0x17c(r30) +/* 8009B9C4 00098924 80 FE 00 C8 */ lwz r7, 0xc8(r30) +/* 8009B9C8 00098928 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 8009B9CC 0009892C 90 FE 01 80 */ stw r7, 0x180(r30) +/* 8009B9D0 00098930 90 1E 01 84 */ stw r0, 0x184(r30) +/* 8009B9D4 00098934 80 1E 00 D0 */ lwz r0, 0xd0(r30) +/* 8009B9D8 00098938 90 1E 01 88 */ stw r0, 0x188(r30) +/* 8009B9DC 0009893C C0 1E 00 D4 */ lfs f0, 0xd4(r30) +/* 8009B9E0 00098940 D0 1E 01 8C */ stfs f0, 0x18c(r30) +/* 8009B9E4 00098944 C0 1E 00 D8 */ lfs f0, 0xd8(r30) +/* 8009B9E8 00098948 D0 1E 01 90 */ stfs f0, 0x190(r30) +/* 8009B9EC 0009894C C0 1E 00 DC */ lfs f0, 0xdc(r30) +/* 8009B9F0 00098950 D0 1E 01 94 */ stfs f0, 0x194(r30) +/* 8009B9F4 00098954 C0 1E 00 E0 */ lfs f0, 0xe0(r30) +/* 8009B9F8 00098958 D0 1E 01 98 */ stfs f0, 0x198(r30) +/* 8009B9FC 0009895C C0 1E 00 E4 */ lfs f0, 0xe4(r30) +/* 8009BA00 00098960 D0 1E 01 9C */ stfs f0, 0x19c(r30) +/* 8009BA04 00098964 C0 1E 00 E8 */ lfs f0, 0xe8(r30) +/* 8009BA08 00098968 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) +/* 8009BA0C 0009896C 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 8009BA10 00098970 90 1E 01 A4 */ stw r0, 0x1a4(r30) +/* 8009BA14 00098974 80 1E 00 F0 */ lwz r0, 0xf0(r30) +/* 8009BA18 00098978 90 1E 01 A8 */ stw r0, 0x1a8(r30) +/* 8009BA1C 0009897C 80 1E 00 F4 */ lwz r0, 0xf4(r30) +/* 8009BA20 00098980 90 1E 01 AC */ stw r0, 0x1ac(r30) +/* 8009BA24 00098984 80 1E 00 F8 */ lwz r0, 0xf8(r30) +/* 8009BA28 00098988 90 1E 01 B0 */ stw r0, 0x1b0(r30) +/* 8009BA2C 0009898C 80 1E 00 FC */ lwz r0, 0xfc(r30) +/* 8009BA30 00098990 90 1E 01 B4 */ stw r0, 0x1b4(r30) +/* 8009BA34 00098994 80 1E 01 00 */ lwz r0, 0x100(r30) +/* 8009BA38 00098998 90 1E 01 B8 */ stw r0, 0x1b8(r30) +/* 8009BA3C 0009899C 4B FF AF 1D */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri +/* 8009BA40 000989A0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8009BA44 000989A4 38 7E 01 04 */ addi r3, r30, 0x104 +/* 8009BA48 000989A8 D0 1E 01 24 */ stfs f0, 0x124(r30) +/* 8009BA4C 000989AC C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8009BA50 000989B0 D0 1E 01 28 */ stfs f0, 0x128(r30) +/* 8009BA54 000989B4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8009BA58 000989B8 D0 1E 01 2C */ stfs f0, 0x12c(r30) +/* 8009BA5C 000989BC 48 00 21 C1 */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv +/* 8009BA60 000989C0 38 00 00 01 */ li r0, 1 +/* 8009BA64 000989C4 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) +/* 8009BA68 000989C8 90 1E 01 50 */ stw r0, 0x150(r30) +/* 8009BA6C 000989CC 7F C3 F3 78 */ mr r3, r30 +/* 8009BA70 000989D0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009BA74 000989D4 C0 04 00 6C */ lfs f0, 0x6c(r4) +/* 8009BA78 000989D8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8009BA7C 000989DC 4B FF B6 FD */ bl ResetInterpolationTimer__11CAutoMapperFf +/* 8009BA80 000989E0 80 9E 01 E4 */ lwz r4, 0x1e4(r30) +/* 8009BA84 000989E4 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009BA88 000989E8 48 00 27 79 */ bl sub_8009e200 +/* 8009BA8C 000989EC 48 00 04 EC */ b lbl_8009BF78 +/* 8009BA90 000989F0 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8009BA94 000989F4 7C C4 33 78 */ mr r4, r6 +/* 8009BA98 000989F8 48 16 64 D1 */ bl GetMapWorldDataByWorldId__12CMapUniverseFUi +/* 8009BA9C 000989FC C0 23 00 64 */ lfs f1, 0x64(r3) +/* 8009BAA0 00098A00 C0 43 00 68 */ lfs f2, 0x68(r3) +/* 8009BAA4 00098A04 C0 63 00 6C */ lfs f3, 0x6c(r3) +/* 8009BAA8 00098A08 38 7E 01 04 */ addi r3, r30, 0x104 +/* 8009BAAC 00098A0C 80 9E 00 A8 */ lwz r4, 0xa8(r30) +/* 8009BAB0 00098A10 80 1E 00 AC */ lwz r0, 0xac(r30) +/* 8009BAB4 00098A14 90 9E 01 60 */ stw r4, 0x160(r30) +/* 8009BAB8 00098A18 90 1E 01 64 */ stw r0, 0x164(r30) +/* 8009BABC 00098A1C 80 9E 00 B0 */ lwz r4, 0xb0(r30) +/* 8009BAC0 00098A20 80 1E 00 B4 */ lwz r0, 0xb4(r30) +/* 8009BAC4 00098A24 90 9E 01 68 */ stw r4, 0x168(r30) +/* 8009BAC8 00098A28 90 1E 01 6C */ stw r0, 0x16c(r30) +/* 8009BACC 00098A2C 80 9E 00 B8 */ lwz r4, 0xb8(r30) +/* 8009BAD0 00098A30 80 1E 00 BC */ lwz r0, 0xbc(r30) +/* 8009BAD4 00098A34 90 9E 01 70 */ stw r4, 0x170(r30) +/* 8009BAD8 00098A38 90 1E 01 74 */ stw r0, 0x174(r30) +/* 8009BADC 00098A3C C0 1E 00 C0 */ lfs f0, 0xc0(r30) +/* 8009BAE0 00098A40 D0 1E 01 78 */ stfs f0, 0x178(r30) +/* 8009BAE4 00098A44 C0 1E 00 C4 */ lfs f0, 0xc4(r30) +/* 8009BAE8 00098A48 D0 1E 01 7C */ stfs f0, 0x17c(r30) +/* 8009BAEC 00098A4C 80 9E 00 C8 */ lwz r4, 0xc8(r30) +/* 8009BAF0 00098A50 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 8009BAF4 00098A54 90 9E 01 80 */ stw r4, 0x180(r30) +/* 8009BAF8 00098A58 90 1E 01 84 */ stw r0, 0x184(r30) +/* 8009BAFC 00098A5C 80 1E 00 D0 */ lwz r0, 0xd0(r30) +/* 8009BB00 00098A60 90 1E 01 88 */ stw r0, 0x188(r30) +/* 8009BB04 00098A64 C0 1E 00 D4 */ lfs f0, 0xd4(r30) +/* 8009BB08 00098A68 D0 1E 01 8C */ stfs f0, 0x18c(r30) +/* 8009BB0C 00098A6C C0 1E 00 D8 */ lfs f0, 0xd8(r30) +/* 8009BB10 00098A70 D0 1E 01 90 */ stfs f0, 0x190(r30) +/* 8009BB14 00098A74 C0 1E 00 DC */ lfs f0, 0xdc(r30) +/* 8009BB18 00098A78 D0 1E 01 94 */ stfs f0, 0x194(r30) +/* 8009BB1C 00098A7C C0 1E 00 E0 */ lfs f0, 0xe0(r30) +/* 8009BB20 00098A80 D0 1E 01 98 */ stfs f0, 0x198(r30) +/* 8009BB24 00098A84 C0 1E 00 E4 */ lfs f0, 0xe4(r30) +/* 8009BB28 00098A88 D0 1E 01 9C */ stfs f0, 0x19c(r30) +/* 8009BB2C 00098A8C C0 1E 00 E8 */ lfs f0, 0xe8(r30) +/* 8009BB30 00098A90 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) +/* 8009BB34 00098A94 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 8009BB38 00098A98 90 1E 01 A4 */ stw r0, 0x1a4(r30) +/* 8009BB3C 00098A9C 80 1E 00 F0 */ lwz r0, 0xf0(r30) +/* 8009BB40 00098AA0 90 1E 01 A8 */ stw r0, 0x1a8(r30) +/* 8009BB44 00098AA4 80 1E 00 F4 */ lwz r0, 0xf4(r30) +/* 8009BB48 00098AA8 90 1E 01 AC */ stw r0, 0x1ac(r30) +/* 8009BB4C 00098AAC 80 1E 00 F8 */ lwz r0, 0xf8(r30) +/* 8009BB50 00098AB0 90 1E 01 B0 */ stw r0, 0x1b0(r30) +/* 8009BB54 00098AB4 80 1E 00 FC */ lwz r0, 0xfc(r30) +/* 8009BB58 00098AB8 90 1E 01 B4 */ stw r0, 0x1b4(r30) +/* 8009BB5C 00098ABC 80 1E 01 00 */ lwz r0, 0x100(r30) +/* 8009BB60 00098AC0 90 1E 01 B8 */ stw r0, 0x1b8(r30) +/* 8009BB64 00098AC4 D0 3E 01 24 */ stfs f1, 0x124(r30) +/* 8009BB68 00098AC8 D0 5E 01 28 */ stfs f2, 0x128(r30) +/* 8009BB6C 00098ACC D0 7E 01 2C */ stfs f3, 0x12c(r30) +/* 8009BB70 00098AD0 48 00 20 AD */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv +/* 8009BB74 00098AD4 38 00 00 01 */ li r0, 1 +/* 8009BB78 00098AD8 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) +/* 8009BB7C 00098ADC 90 1E 01 50 */ stw r0, 0x150(r30) +/* 8009BB80 00098AE0 7F C3 F3 78 */ mr r3, r30 +/* 8009BB84 00098AE4 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009BB88 00098AE8 C0 04 00 6C */ lfs f0, 0x6c(r4) +/* 8009BB8C 00098AEC EC 21 00 32 */ fmuls f1, f1, f0 +/* 8009BB90 00098AF0 4B FF B5 E9 */ bl ResetInterpolationTimer__11CAutoMapperFf +/* 8009BB94 00098AF4 80 9E 01 E4 */ lwz r4, 0x1e4(r30) +/* 8009BB98 00098AF8 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009BB9C 00098AFC 48 00 26 65 */ bl sub_8009e200 +/* 8009BBA0 00098B00 48 00 03 D8 */ b lbl_8009BF78 +/* 8009BBA4 00098B04 48 00 05 95 */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv +/* 8009BBA8 00098B08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009BBAC 00098B0C 41 82 00 24 */ beq lbl_8009BBD0 +/* 8009BBB0 00098B10 7F C3 F3 78 */ mr r3, r30 +/* 8009BBB4 00098B14 7F E5 FB 78 */ mr r5, r31 +/* 8009BBB8 00098B18 38 80 00 02 */ li r4, 2 +/* 8009BBBC 00098B1C 4B FF B7 79 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager +/* 8009BBC0 00098B20 80 9E 01 E4 */ lwz r4, 0x1e4(r30) +/* 8009BBC4 00098B24 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009BBC8 00098B28 48 00 26 39 */ bl sub_8009e200 +/* 8009BBCC 00098B2C 48 00 03 AC */ b lbl_8009BF78 +lbl_8009BBD0: +/* 8009BBD0 00098B30 83 BE 01 E8 */ lwz r29, 0x1e8(r30) +/* 8009BBD4 00098B34 80 9E 01 E4 */ lwz r4, 0x1e4(r30) +/* 8009BBD8 00098B38 48 00 00 10 */ b lbl_8009BBE8 +lbl_8009BBDC: +/* 8009BBDC 00098B3C 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009BBE0 00098B40 48 00 26 21 */ bl sub_8009e200 +/* 8009BBE4 00098B44 7C 64 1B 78 */ mr r4, r3 +lbl_8009BBE8: +/* 8009BBE8 00098B48 7C 04 E8 40 */ cmplw r4, r29 +/* 8009BBEC 00098B4C 40 82 FF F0 */ bne lbl_8009BBDC +/* 8009BBF0 00098B50 48 00 03 88 */ b lbl_8009BF78 +/* 8009BBF4 00098B54 80 9E 01 E4 */ lwz r4, 0x1e4(r30) +/* 8009BBF8 00098B58 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009BBFC 00098B5C 48 00 26 05 */ bl sub_8009e200 +/* 8009BC00 00098B60 38 00 00 01 */ li r0, 1 +/* 8009BC04 00098B64 7F C3 F3 78 */ mr r3, r30 +/* 8009BC08 00098B68 98 1E 03 2C */ stb r0, 0x32c(r30) +/* 8009BC0C 00098B6C 7F E4 FB 78 */ mr r4, r31 +/* 8009BC10 00098B70 48 00 03 8D */ bl CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager +/* 8009BC14 00098B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009BC18 00098B78 40 82 03 60 */ bne lbl_8009BF78 +/* 8009BC1C 00098B7C 83 BE 01 E8 */ lwz r29, 0x1e8(r30) +/* 8009BC20 00098B80 80 9E 01 E4 */ lwz r4, 0x1e4(r30) +/* 8009BC24 00098B84 48 00 00 10 */ b lbl_8009BC34 +lbl_8009BC28: +/* 8009BC28 00098B88 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009BC2C 00098B8C 48 00 25 D5 */ bl sub_8009e200 +/* 8009BC30 00098B90 7C 64 1B 78 */ mr r4, r3 +lbl_8009BC34: +/* 8009BC34 00098B94 7C 04 E8 40 */ cmplw r4, r29 +/* 8009BC38 00098B98 40 82 FF F0 */ bne lbl_8009BC28 +/* 8009BC3C 00098B9C 48 00 03 3C */ b lbl_8009BF78 +/* 8009BC40 00098BA0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8009BC44 00098BA4 28 07 00 00 */ cmplwi r7, 0 +/* 8009BC48 00098BA8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8009BC4C 00098BAC 40 82 00 70 */ bne lbl_8009BCBC +/* 8009BC50 00098BB0 80 7E 00 A0 */ lwz r3, 0xa0(r30) +/* 8009BC54 00098BB4 80 1F 08 CC */ lwz r0, 0x8cc(r31) +/* 8009BC58 00098BB8 7C 03 00 00 */ cmpw r3, r0 +/* 8009BC5C 00098BBC 40 82 00 3C */ bne lbl_8009BC98 +/* 8009BC60 00098BC0 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8009BC64 00098BC4 80 1F 08 50 */ lwz r0, 0x850(r31) +/* 8009BC68 00098BC8 7C 03 00 40 */ cmplw r3, r0 +/* 8009BC6C 00098BCC 40 82 00 2C */ bne lbl_8009BC98 +/* 8009BC70 00098BD0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8009BC74 00098BD4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8009BC78 00098BD8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8009BC7C 00098BDC 38 80 05 6A */ li r4, 0x56a +/* 8009BC80 00098BE0 38 A0 00 7F */ li r5, 0x7f +/* 8009BC84 00098BE4 38 C0 00 40 */ li r6, 0x40 +/* 8009BC88 00098BE8 38 E0 00 00 */ li r7, 0 +/* 8009BC8C 00098BEC 39 20 00 00 */ li r9, 0 +/* 8009BC90 00098BF0 48 24 E0 E5 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8009BC94 00098BF4 48 00 00 28 */ b lbl_8009BCBC +lbl_8009BC98: +/* 8009BC98 00098BF8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8009BC9C 00098BFC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009BCA0 00098C00 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8009BCA4 00098C04 38 80 05 6B */ li r4, 0x56b +/* 8009BCA8 00098C08 38 A0 00 7F */ li r5, 0x7f +/* 8009BCAC 00098C0C 38 C0 00 40 */ li r6, 0x40 +/* 8009BCB0 00098C10 38 E0 00 00 */ li r7, 0 +/* 8009BCB4 00098C14 39 20 00 00 */ li r9, 0 +/* 8009BCB8 00098C18 48 24 E0 BD */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8009BCBC: +/* 8009BCBC 00098C1C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8009BCC0 00098C20 C0 0D 85 D0 */ lfs f0, lbl_805A7190@sda21(r13) +/* 8009BCC4 00098C24 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8009BCC8 00098C28 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8009BCCC 00098C2C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8009BCD0 00098C30 40 80 00 0C */ bge lbl_8009BCDC +/* 8009BCD4 00098C34 38 61 00 0C */ addi r3, r1, 0xc +/* 8009BCD8 00098C38 48 00 00 08 */ b lbl_8009BCE0 +lbl_8009BCDC: +/* 8009BCDC 00098C3C 38 6D 85 D0 */ addi r3, r13, lbl_805A7190@sda21 +lbl_8009BCE0: +/* 8009BCE0 00098C40 C0 03 00 00 */ lfs f0, 0(r3) +/* 8009BCE4 00098C44 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8009BCE8 00098C48 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8009BCEC 00098C4C 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8009BCF0 00098C50 83 BE 01 FC */ lwz r29, 0x1fc(r30) +/* 8009BCF4 00098C54 48 00 00 7C */ b lbl_8009BD70 +lbl_8009BCF8: +/* 8009BCF8 00098C58 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8009BCFC 00098C5C 81 83 00 00 */ lwz r12, 0(r3) +/* 8009BD00 00098C60 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009BD04 00098C64 7D 89 03 A6 */ mtctr r12 +/* 8009BD08 00098C68 4E 80 04 21 */ bctrl +/* 8009BD0C 00098C6C 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8009BD10 00098C70 7C 00 18 40 */ cmplw r0, r3 +/* 8009BD14 00098C74 40 82 00 58 */ bne lbl_8009BD6C +/* 8009BD18 00098C78 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 8009BD1C 00098C7C 80 1E 00 A0 */ lwz r0, 0xa0(r30) +/* 8009BD20 00098C80 7C 03 00 00 */ cmpw r3, r0 +/* 8009BD24 00098C84 40 82 00 48 */ bne lbl_8009BD6C +/* 8009BD28 00098C88 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8009BD2C 00098C8C 38 00 00 01 */ li r0, 1 +/* 8009BD30 00098C90 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) +/* 8009BD34 00098C94 90 1D 00 08 */ stw r0, 8(r29) +/* 8009BD38 00098C98 EC 21 00 24 */ fdivs f1, f1, f0 +/* 8009BD3C 00098C9C C0 0D 85 D4 */ lfs f0, lbl_805A7194@sda21(r13) +/* 8009BD40 00098CA0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009BD44 00098CA4 D0 21 00 08 */ stfs f1, 8(r1) +/* 8009BD48 00098CA8 40 80 00 0C */ bge lbl_8009BD54 +/* 8009BD4C 00098CAC 38 61 00 08 */ addi r3, r1, 8 +/* 8009BD50 00098CB0 48 00 00 08 */ b lbl_8009BD58 +lbl_8009BD54: +/* 8009BD54 00098CB4 38 6D 85 D4 */ addi r3, r13, lbl_805A7194@sda21 +lbl_8009BD58: +/* 8009BD58 00098CB8 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 8009BD5C 00098CBC C0 03 00 00 */ lfs f0, 0(r3) +/* 8009BD60 00098CC0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8009BD64 00098CC4 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8009BD68 00098CC8 48 00 00 14 */ b lbl_8009BD7C +lbl_8009BD6C: +/* 8009BD6C 00098CCC 83 BD 00 04 */ lwz r29, 4(r29) +lbl_8009BD70: +/* 8009BD70 00098CD0 80 1E 02 00 */ lwz r0, 0x200(r30) +/* 8009BD74 00098CD4 7C 1D 00 40 */ cmplw r29, r0 +/* 8009BD78 00098CD8 40 82 FF 80 */ bne lbl_8009BCF8 +lbl_8009BD7C: +/* 8009BD7C 00098CDC C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 8009BD80 00098CE0 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8009BD84 00098CE4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8009BD88 00098CE8 40 82 01 F0 */ bne lbl_8009BF78 +/* 8009BD8C 00098CEC 80 9E 01 E4 */ lwz r4, 0x1e4(r30) +/* 8009BD90 00098CF0 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009BD94 00098CF4 48 00 24 6D */ bl sub_8009e200 +/* 8009BD98 00098CF8 48 00 01 E0 */ b lbl_8009BF78 +/* 8009BD9C 00098CFC 80 9E 00 A8 */ lwz r4, 0xa8(r30) +/* 8009BDA0 00098D00 38 7E 01 04 */ addi r3, r30, 0x104 +/* 8009BDA4 00098D04 80 1E 00 AC */ lwz r0, 0xac(r30) +/* 8009BDA8 00098D08 90 9E 01 60 */ stw r4, 0x160(r30) +/* 8009BDAC 00098D0C 90 1E 01 64 */ stw r0, 0x164(r30) +/* 8009BDB0 00098D10 80 9E 00 B0 */ lwz r4, 0xb0(r30) +/* 8009BDB4 00098D14 80 1E 00 B4 */ lwz r0, 0xb4(r30) +/* 8009BDB8 00098D18 90 9E 01 68 */ stw r4, 0x168(r30) +/* 8009BDBC 00098D1C 90 1E 01 6C */ stw r0, 0x16c(r30) +/* 8009BDC0 00098D20 80 9E 00 B8 */ lwz r4, 0xb8(r30) +/* 8009BDC4 00098D24 80 1E 00 BC */ lwz r0, 0xbc(r30) +/* 8009BDC8 00098D28 90 9E 01 70 */ stw r4, 0x170(r30) +/* 8009BDCC 00098D2C 90 1E 01 74 */ stw r0, 0x174(r30) +/* 8009BDD0 00098D30 C0 1E 00 C0 */ lfs f0, 0xc0(r30) +/* 8009BDD4 00098D34 D0 1E 01 78 */ stfs f0, 0x178(r30) +/* 8009BDD8 00098D38 C0 1E 00 C4 */ lfs f0, 0xc4(r30) +/* 8009BDDC 00098D3C D0 1E 01 7C */ stfs f0, 0x17c(r30) +/* 8009BDE0 00098D40 80 9E 00 C8 */ lwz r4, 0xc8(r30) +/* 8009BDE4 00098D44 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 8009BDE8 00098D48 90 9E 01 80 */ stw r4, 0x180(r30) +/* 8009BDEC 00098D4C 90 1E 01 84 */ stw r0, 0x184(r30) +/* 8009BDF0 00098D50 80 1E 00 D0 */ lwz r0, 0xd0(r30) +/* 8009BDF4 00098D54 90 1E 01 88 */ stw r0, 0x188(r30) +/* 8009BDF8 00098D58 C0 1E 00 D4 */ lfs f0, 0xd4(r30) +/* 8009BDFC 00098D5C D0 1E 01 8C */ stfs f0, 0x18c(r30) +/* 8009BE00 00098D60 C0 1E 00 D8 */ lfs f0, 0xd8(r30) +/* 8009BE04 00098D64 D0 1E 01 90 */ stfs f0, 0x190(r30) +/* 8009BE08 00098D68 C0 1E 00 DC */ lfs f0, 0xdc(r30) +/* 8009BE0C 00098D6C D0 1E 01 94 */ stfs f0, 0x194(r30) +/* 8009BE10 00098D70 C0 1E 00 E0 */ lfs f0, 0xe0(r30) +/* 8009BE14 00098D74 D0 1E 01 98 */ stfs f0, 0x198(r30) +/* 8009BE18 00098D78 C0 1E 00 E4 */ lfs f0, 0xe4(r30) +/* 8009BE1C 00098D7C D0 1E 01 9C */ stfs f0, 0x19c(r30) +/* 8009BE20 00098D80 C0 1E 00 E8 */ lfs f0, 0xe8(r30) +/* 8009BE24 00098D84 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) +/* 8009BE28 00098D88 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 8009BE2C 00098D8C 90 1E 01 A4 */ stw r0, 0x1a4(r30) +/* 8009BE30 00098D90 80 1E 00 F0 */ lwz r0, 0xf0(r30) +/* 8009BE34 00098D94 90 1E 01 A8 */ stw r0, 0x1a8(r30) +/* 8009BE38 00098D98 80 1E 00 F4 */ lwz r0, 0xf4(r30) +/* 8009BE3C 00098D9C 90 1E 01 AC */ stw r0, 0x1ac(r30) +/* 8009BE40 00098DA0 80 1E 00 F8 */ lwz r0, 0xf8(r30) +/* 8009BE44 00098DA4 90 1E 01 B0 */ stw r0, 0x1b0(r30) +/* 8009BE48 00098DA8 80 1E 00 FC */ lwz r0, 0xfc(r30) +/* 8009BE4C 00098DAC 90 1E 01 B4 */ stw r0, 0x1b4(r30) +/* 8009BE50 00098DB0 80 1E 01 00 */ lwz r0, 0x100(r30) +/* 8009BE54 00098DB4 90 1E 01 B8 */ stw r0, 0x1b8(r30) +/* 8009BE58 00098DB8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009BE5C 00098DBC C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8009BE60 00098DC0 D0 1E 01 1C */ stfs f0, 0x11c(r30) +/* 8009BE64 00098DC4 48 00 1D B9 */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv +/* 8009BE68 00098DC8 38 00 00 01 */ li r0, 1 +/* 8009BE6C 00098DCC C0 22 8B 70 */ lfs f1, lbl_805AA890@sda21(r2) +/* 8009BE70 00098DD0 90 1E 01 4C */ stw r0, 0x14c(r30) +/* 8009BE74 00098DD4 7F C3 F3 78 */ mr r3, r30 +/* 8009BE78 00098DD8 4B FF B3 01 */ bl ResetInterpolationTimer__11CAutoMapperFf +/* 8009BE7C 00098DDC 80 9E 01 E4 */ lwz r4, 0x1e4(r30) +/* 8009BE80 00098DE0 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009BE84 00098DE4 48 00 23 7D */ bl sub_8009e200 +/* 8009BE88 00098DE8 48 00 00 F0 */ b lbl_8009BF78 +/* 8009BE8C 00098DEC 80 9E 00 A8 */ lwz r4, 0xa8(r30) +/* 8009BE90 00098DF0 38 7E 01 04 */ addi r3, r30, 0x104 +/* 8009BE94 00098DF4 80 1E 00 AC */ lwz r0, 0xac(r30) +/* 8009BE98 00098DF8 90 9E 01 60 */ stw r4, 0x160(r30) +/* 8009BE9C 00098DFC 90 1E 01 64 */ stw r0, 0x164(r30) +/* 8009BEA0 00098E00 80 9E 00 B0 */ lwz r4, 0xb0(r30) +/* 8009BEA4 00098E04 80 1E 00 B4 */ lwz r0, 0xb4(r30) +/* 8009BEA8 00098E08 90 9E 01 68 */ stw r4, 0x168(r30) +/* 8009BEAC 00098E0C 90 1E 01 6C */ stw r0, 0x16c(r30) +/* 8009BEB0 00098E10 80 9E 00 B8 */ lwz r4, 0xb8(r30) +/* 8009BEB4 00098E14 80 1E 00 BC */ lwz r0, 0xbc(r30) +/* 8009BEB8 00098E18 90 9E 01 70 */ stw r4, 0x170(r30) +/* 8009BEBC 00098E1C 90 1E 01 74 */ stw r0, 0x174(r30) +/* 8009BEC0 00098E20 C0 1E 00 C0 */ lfs f0, 0xc0(r30) +/* 8009BEC4 00098E24 D0 1E 01 78 */ stfs f0, 0x178(r30) +/* 8009BEC8 00098E28 C0 1E 00 C4 */ lfs f0, 0xc4(r30) +/* 8009BECC 00098E2C D0 1E 01 7C */ stfs f0, 0x17c(r30) +/* 8009BED0 00098E30 80 9E 00 C8 */ lwz r4, 0xc8(r30) +/* 8009BED4 00098E34 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 8009BED8 00098E38 90 9E 01 80 */ stw r4, 0x180(r30) +/* 8009BEDC 00098E3C 90 1E 01 84 */ stw r0, 0x184(r30) +/* 8009BEE0 00098E40 80 1E 00 D0 */ lwz r0, 0xd0(r30) +/* 8009BEE4 00098E44 90 1E 01 88 */ stw r0, 0x188(r30) +/* 8009BEE8 00098E48 C0 1E 00 D4 */ lfs f0, 0xd4(r30) +/* 8009BEEC 00098E4C D0 1E 01 8C */ stfs f0, 0x18c(r30) +/* 8009BEF0 00098E50 C0 1E 00 D8 */ lfs f0, 0xd8(r30) +/* 8009BEF4 00098E54 D0 1E 01 90 */ stfs f0, 0x190(r30) +/* 8009BEF8 00098E58 C0 1E 00 DC */ lfs f0, 0xdc(r30) +/* 8009BEFC 00098E5C D0 1E 01 94 */ stfs f0, 0x194(r30) +/* 8009BF00 00098E60 C0 1E 00 E0 */ lfs f0, 0xe0(r30) +/* 8009BF04 00098E64 D0 1E 01 98 */ stfs f0, 0x198(r30) +/* 8009BF08 00098E68 C0 1E 00 E4 */ lfs f0, 0xe4(r30) +/* 8009BF0C 00098E6C D0 1E 01 9C */ stfs f0, 0x19c(r30) +/* 8009BF10 00098E70 C0 1E 00 E8 */ lfs f0, 0xe8(r30) +/* 8009BF14 00098E74 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) +/* 8009BF18 00098E78 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 8009BF1C 00098E7C 90 1E 01 A4 */ stw r0, 0x1a4(r30) +/* 8009BF20 00098E80 80 1E 00 F0 */ lwz r0, 0xf0(r30) +/* 8009BF24 00098E84 90 1E 01 A8 */ stw r0, 0x1a8(r30) +/* 8009BF28 00098E88 80 1E 00 F4 */ lwz r0, 0xf4(r30) +/* 8009BF2C 00098E8C 90 1E 01 AC */ stw r0, 0x1ac(r30) +/* 8009BF30 00098E90 80 1E 00 F8 */ lwz r0, 0xf8(r30) +/* 8009BF34 00098E94 90 1E 01 B0 */ stw r0, 0x1b0(r30) +/* 8009BF38 00098E98 80 1E 00 FC */ lwz r0, 0xfc(r30) +/* 8009BF3C 00098E9C 90 1E 01 B4 */ stw r0, 0x1b4(r30) +/* 8009BF40 00098EA0 80 1E 01 00 */ lwz r0, 0x100(r30) +/* 8009BF44 00098EA4 90 1E 01 B8 */ stw r0, 0x1b8(r30) +/* 8009BF48 00098EA8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009BF4C 00098EAC C0 04 00 08 */ lfs f0, 8(r4) +/* 8009BF50 00098EB0 D0 1E 01 1C */ stfs f0, 0x11c(r30) +/* 8009BF54 00098EB4 48 00 1C C9 */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv +/* 8009BF58 00098EB8 38 00 00 01 */ li r0, 1 +/* 8009BF5C 00098EBC C0 22 8B 70 */ lfs f1, lbl_805AA890@sda21(r2) +/* 8009BF60 00098EC0 90 1E 01 4C */ stw r0, 0x14c(r30) +/* 8009BF64 00098EC4 7F C3 F3 78 */ mr r3, r30 +/* 8009BF68 00098EC8 4B FF B2 11 */ bl ResetInterpolationTimer__11CAutoMapperFf +/* 8009BF6C 00098ECC 80 9E 01 E4 */ lwz r4, 0x1e4(r30) +/* 8009BF70 00098ED0 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009BF74 00098ED4 48 00 22 8D */ bl sub_8009e200 +lbl_8009BF78: +/* 8009BF78 00098ED8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8009BF7C 00098EDC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8009BF80 00098EE0 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8009BF84 00098EE4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8009BF88 00098EE8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8009BF8C 00098EEC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8009BF90 00098EF0 7C 08 03 A6 */ mtlr r0 +/* 8009BF94 00098EF4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8009BF98 00098EF8 4E 80 00 20 */ blr + +.global CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager +CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager: +/* 8009BF9C 00098EFC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8009BFA0 00098F00 7C 08 02 A6 */ mflr r0 +/* 8009BFA4 00098F04 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8009BFA8 00098F08 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 8009BFAC 00098F0C 7C 9B 23 78 */ mr r27, r4 +/* 8009BFB0 00098F10 7C 7F 1B 78 */ mr r31, r3 +/* 8009BFB4 00098F14 80 A3 00 9C */ lwz r5, 0x9c(r3) +/* 8009BFB8 00098F18 80 83 00 20 */ lwz r4, 0x20(r3) +/* 8009BFBC 00098F1C 54 A0 18 38 */ slwi r0, r5, 3 +/* 8009BFC0 00098F20 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8009BFC4 00098F24 7C 84 02 14 */ add r4, r4, r0 +/* 8009BFC8 00098F28 83 C4 00 04 */ lwz r30, 4(r4) +/* 8009BFCC 00098F2C 1C 05 00 70 */ mulli r0, r5, 0x70 +/* 8009BFD0 00098F30 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8009BFD4 00098F34 28 1E 00 00 */ cmplwi r30, 0 +/* 8009BFD8 00098F38 7F A3 02 14 */ add r29, r3, r0 +/* 8009BFDC 00098F3C 41 82 01 3C */ beq lbl_8009C118 +/* 8009BFE0 00098F40 7F C3 F3 78 */ mr r3, r30 +/* 8009BFE4 00098F44 81 9E 00 00 */ lwz r12, 0(r30) +/* 8009BFE8 00098F48 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8009BFEC 00098F4C 7D 89 03 A6 */ mtctr r12 +/* 8009BFF0 00098F50 4E 80 04 21 */ bctrl +/* 8009BFF4 00098F54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009BFF8 00098F58 41 82 01 18 */ beq lbl_8009C110 +/* 8009BFFC 00098F5C 7F C3 F3 78 */ mr r3, r30 +/* 8009C000 00098F60 81 9E 00 00 */ lwz r12, 0(r30) +/* 8009C004 00098F64 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009C008 00098F68 7D 89 03 A6 */ mtctr r12 +/* 8009C00C 00098F6C 4E 80 04 21 */ bctrl +/* 8009C010 00098F70 7C 64 1B 78 */ mr r4, r3 +/* 8009C014 00098F74 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009C018 00098F78 48 13 79 C1 */ bl StateForWorld__10CGameStateFUi +/* 8009C01C 00098F7C 7C 64 1B 78 */ mr r4, r3 +/* 8009C020 00098F80 38 61 00 08 */ addi r3, r1, 8 +/* 8009C024 00098F84 48 13 8D 41 */ bl GetMapWorldInfo__11CWorldStateCFv +/* 8009C028 00098F88 80 81 00 08 */ lwz r4, 8(r1) +/* 8009C02C 00098F8C 38 61 00 08 */ addi r3, r1, 8 +/* 8009C030 00098F90 83 84 00 00 */ lwz r28, 0(r4) +/* 8009C034 00098F94 4B F6 CC 09 */ bl sub_80008c3c +/* 8009C038 00098F98 38 61 00 54 */ addi r3, r1, 0x54 +/* 8009C03C 00098F9C 38 9D 00 14 */ addi r4, r29, 0x14 +/* 8009C040 00098FA0 48 27 6C 5D */ bl GetQuickInverse__12CTransform4fCFv +/* 8009C044 00098FA4 38 61 00 24 */ addi r3, r1, 0x24 +/* 8009C048 00098FA8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8009C04C 00098FAC 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 8009C050 00098FB0 48 27 6A 99 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8009C054 00098FB4 3B A1 00 24 */ addi r29, r1, 0x24 +/* 8009C058 00098FB8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8009C05C 00098FBC 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8009C060 00098FC0 48 27 60 2D */ bl BuildTransform__11CQuaternionCFv +/* 8009C064 00098FC4 38 61 00 84 */ addi r3, r1, 0x84 +/* 8009C068 00098FC8 38 81 00 30 */ addi r4, r1, 0x30 +/* 8009C06C 00098FCC 48 27 3F B9 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8009C070 00098FD0 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 8009C074 00098FD4 7F E3 FB 78 */ mr r3, r31 +/* 8009C078 00098FD8 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 8009C07C 00098FDC 7F A4 EB 78 */ mr r4, r29 +/* 8009C080 00098FE0 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8009C084 00098FE4 7F 66 DB 78 */ mr r6, r27 +/* 8009C088 00098FE8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8009C08C 00098FEC 7F C7 F3 78 */ mr r7, r30 +/* 8009C090 00098FF0 7F 88 E3 78 */ mr r8, r28 +/* 8009C094 00098FF4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8009C098 00098FF8 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8009C09C 00098FFC D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8009C0A0 00099000 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8009C0A4 00099004 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8009C0A8 00099008 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8009C0AC 0009900C 4B FF A5 11 */ bl FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo +/* 8009C0B0 00099010 2C 03 FF FF */ cmpwi r3, -1 +/* 8009C0B4 00099014 41 82 00 4C */ beq lbl_8009C100 +/* 8009C0B8 00099018 90 7F 00 A0 */ stw r3, 0xa0(r31) +/* 8009C0BC 0009901C 7F C3 F3 78 */ mr r3, r30 +/* 8009C0C0 00099020 81 9E 00 00 */ lwz r12, 0(r30) +/* 8009C0C4 00099024 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8009C0C8 00099028 7D 89 03 A6 */ mtctr r12 +/* 8009C0CC 0009902C 4E 80 04 21 */ bctrl +/* 8009C0D0 00099030 7F 84 E3 78 */ mr r4, r28 +/* 8009C0D4 00099034 7F C5 F3 78 */ mr r5, r30 +/* 8009C0D8 00099038 48 00 37 85 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld +/* 8009C0DC 0009903C 93 DF 00 24 */ stw r30, 0x24(r31) +/* 8009C0E0 00099040 7F E3 FB 78 */ mr r3, r31 +/* 8009C0E4 00099044 7F 65 DB 78 */ mr r5, r27 +/* 8009C0E8 00099048 38 80 00 01 */ li r4, 1 +/* 8009C0EC 0009904C 4B FF B2 49 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager +/* 8009C0F0 00099050 38 00 00 00 */ li r0, 0 +/* 8009C0F4 00099054 38 60 00 01 */ li r3, 1 +/* 8009C0F8 00099058 98 1F 03 2C */ stb r0, 0x32c(r31) +/* 8009C0FC 0009905C 48 00 00 28 */ b lbl_8009C124 +lbl_8009C100: +/* 8009C100 00099060 38 00 00 00 */ li r0, 0 +/* 8009C104 00099064 38 60 00 00 */ li r3, 0 +/* 8009C108 00099068 98 1F 03 2C */ stb r0, 0x32c(r31) +/* 8009C10C 0009906C 48 00 00 18 */ b lbl_8009C124 +lbl_8009C110: +/* 8009C110 00099070 38 60 00 01 */ li r3, 1 +/* 8009C114 00099074 48 00 00 10 */ b lbl_8009C124 +lbl_8009C118: +/* 8009C118 00099078 38 00 00 00 */ li r0, 0 +/* 8009C11C 0009907C 38 60 00 00 */ li r3, 0 +/* 8009C120 00099080 98 1F 03 2C */ stb r0, 0x32c(r31) +lbl_8009C124: +/* 8009C124 00099084 BB 61 00 AC */ lmw r27, 0xac(r1) +/* 8009C128 00099088 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8009C12C 0009908C 7C 08 03 A6 */ mtlr r0 +/* 8009C130 00099090 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8009C134 00099094 4E 80 00 20 */ blr + +.global HasCurrentMapUniverseWorld__11CAutoMapperFv +HasCurrentMapUniverseWorld__11CAutoMapperFv: +/* 8009C138 00099098 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009C13C 0009909C 7C 08 02 A6 */ mflr r0 +/* 8009C140 000990A0 7C 64 1B 78 */ mr r4, r3 +/* 8009C144 000990A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009C148 000990A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009C14C 000990AC 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8009C150 000990B0 83 E4 00 10 */ lwz r31, 0x10(r4) +/* 8009C154 000990B4 81 83 00 00 */ lwz r12, 0(r3) +/* 8009C158 000990B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009C15C 000990BC 7D 89 03 A6 */ mtctr r12 +/* 8009C160 000990C0 4E 80 04 21 */ bctrl +/* 8009C164 000990C4 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8009C168 000990C8 38 A0 00 00 */ li r5, 0 +/* 8009C16C 000990CC 7C 09 03 A6 */ mtctr r0 +/* 8009C170 000990D0 2C 00 00 00 */ cmpwi r0, 0 +/* 8009C174 000990D4 40 81 00 28 */ ble lbl_8009C19C +lbl_8009C178: +/* 8009C178 000990D8 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 8009C17C 000990DC 38 05 00 10 */ addi r0, r5, 0x10 +/* 8009C180 000990E0 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8009C184 000990E4 7C 03 00 40 */ cmplw r3, r0 +/* 8009C188 000990E8 40 82 00 0C */ bne lbl_8009C194 +/* 8009C18C 000990EC 38 60 00 01 */ li r3, 1 +/* 8009C190 000990F0 48 00 00 10 */ b lbl_8009C1A0 +lbl_8009C194: +/* 8009C194 000990F4 38 A5 00 70 */ addi r5, r5, 0x70 +/* 8009C198 000990F8 42 00 FF E0 */ bdnz lbl_8009C178 +lbl_8009C19C: +/* 8009C19C 000990FC 38 60 00 00 */ li r3, 0 +lbl_8009C1A0: +/* 8009C1A0 00099100 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009C1A4 00099104 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8009C1A8 00099108 7C 08 03 A6 */ mtlr r0 +/* 8009C1AC 0009910C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8009C1B0 00099110 4E 80 00 20 */ blr + +.global UnmuteAllLoopedSounds__11CAutoMapperFv +UnmuteAllLoopedSounds__11CAutoMapperFv: +/* 8009C1B4 00099114 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009C1B8 00099118 7C 08 02 A6 */ mflr r0 +/* 8009C1BC 0009911C 38 80 00 7F */ li r4, 0x7f +/* 8009C1C0 00099120 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009C1C4 00099124 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009C1C8 00099128 7C 7F 1B 78 */ mr r31, r3 +/* 8009C1CC 0009912C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009C1D0 00099130 80 1F 01 CC */ lwz r0, 0x1cc(r31) +/* 8009C1D4 00099134 90 01 00 10 */ stw r0, 0x10(r1) +/* 8009C1D8 00099138 48 24 DA 81 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 8009C1DC 0009913C 80 1F 01 D0 */ lwz r0, 0x1d0(r31) +/* 8009C1E0 00099140 38 61 00 0C */ addi r3, r1, 0xc +/* 8009C1E4 00099144 38 80 00 7F */ li r4, 0x7f +/* 8009C1E8 00099148 90 01 00 0C */ stw r0, 0xc(r1) +/* 8009C1EC 0009914C 48 24 DA 6D */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 8009C1F0 00099150 80 1F 01 D4 */ lwz r0, 0x1d4(r31) +/* 8009C1F4 00099154 38 61 00 08 */ addi r3, r1, 8 +/* 8009C1F8 00099158 38 80 00 7F */ li r4, 0x7f +/* 8009C1FC 0009915C 90 01 00 08 */ stw r0, 8(r1) +/* 8009C200 00099160 48 24 DA 59 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 8009C204 00099164 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009C208 00099168 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009C20C 0009916C 7C 08 03 A6 */ mtlr r0 +/* 8009C210 00099170 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009C214 00099174 4E 80 00 20 */ blr + +.global NotHintNavigating__11CAutoMapperFv +NotHintNavigating__11CAutoMapperFv: +/* 8009C218 00099178 80 03 01 F4 */ lwz r0, 0x1f4(r3) +/* 8009C21C 0009917C 38 60 00 01 */ li r3, 1 +/* 8009C220 00099180 7C 00 00 34 */ cntlzw r0, r0 +/* 8009C224 00099184 5C 63 07 FE */ rlwnm r3, r3, r0, 0x1f, 0x1f +/* 8009C228 00099188 4E 80 00 20 */ blr + +.global CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager +CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager: +/* 8009C22C 0009918C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009C230 00099190 7C 08 02 A6 */ mflr r0 +/* 8009C234 00099194 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009C238 00099198 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009C23C 0009919C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009C240 000991A0 7C 9E 23 78 */ mr r30, r4 +/* 8009C244 000991A4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009C248 000991A8 7C 7D 1B 78 */ mr r29, r3 +/* 8009C24C 000991AC 4B FF FF CD */ bl NotHintNavigating__11CAutoMapperFv +/* 8009C250 000991B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009C254 000991B4 40 82 00 0C */ bne lbl_8009C260 +/* 8009C258 000991B8 38 60 00 00 */ li r3, 0 +/* 8009C25C 000991BC 48 00 00 68 */ b lbl_8009C2C4 +lbl_8009C260: +/* 8009C260 000991C0 7F A3 EB 78 */ mr r3, r29 +/* 8009C264 000991C4 4B FF 9A 8D */ bl IsRenderStateInterpolating__11CAutoMapperCFv +/* 8009C268 000991C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009C26C 000991CC 41 82 00 0C */ beq lbl_8009C278 +/* 8009C270 000991D0 38 60 00 00 */ li r3, 0 +/* 8009C274 000991D4 48 00 00 50 */ b lbl_8009C2C4 +lbl_8009C278: +/* 8009C278 000991D8 7F A3 EB 78 */ mr r3, r29 +/* 8009C27C 000991DC 38 80 00 02 */ li r4, 2 +/* 8009C280 000991E0 4B FF 9A A5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 8009C284 000991E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009C288 000991E8 41 82 00 0C */ beq lbl_8009C294 +/* 8009C28C 000991EC 3B E0 00 01 */ li r31, 1 +/* 8009C290 000991F0 48 00 00 30 */ b lbl_8009C2C0 +lbl_8009C294: +/* 8009C294 000991F4 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8009C298 000991F8 3B E0 00 00 */ li r31, 0 +/* 8009C29C 000991FC 80 1E 08 50 */ lwz r0, 0x850(r30) +/* 8009C2A0 00099200 7C 03 00 40 */ cmplw r3, r0 +/* 8009C2A4 00099204 40 82 00 1C */ bne lbl_8009C2C0 +/* 8009C2A8 00099208 7F A3 EB 78 */ mr r3, r29 +/* 8009C2AC 0009920C 38 80 00 01 */ li r4, 1 +/* 8009C2B0 00099210 4B FF 9A 75 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 8009C2B4 00099214 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009C2B8 00099218 41 82 00 08 */ beq lbl_8009C2C0 +/* 8009C2BC 0009921C 3B E0 00 01 */ li r31, 1 +lbl_8009C2C0: +/* 8009C2C0 00099220 7F E3 FB 78 */ mr r3, r31 +lbl_8009C2C4: +/* 8009C2C4 00099224 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009C2C8 00099228 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009C2CC 0009922C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009C2D0 00099230 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009C2D4 00099234 7C 08 03 A6 */ mtlr r0 +/* 8009C2D8 00099238 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009C2DC 0009923C 4E 80 00 20 */ blr + +.global CanLeaveMapScreen__11CAutoMapperCFRC13CStateManager +CanLeaveMapScreen__11CAutoMapperCFRC13CStateManager: +/* 8009C2E0 00099240 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009C2E4 00099244 7C 08 02 A6 */ mflr r0 +/* 8009C2E8 00099248 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009C2EC 0009924C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009C2F0 00099250 3B E0 00 00 */ li r31, 0 +/* 8009C2F4 00099254 80 03 03 28 */ lwz r0, 0x328(r3) +/* 8009C2F8 00099258 2C 00 00 03 */ cmpwi r0, 3 +/* 8009C2FC 0009925C 40 82 00 14 */ bne lbl_8009C310 +/* 8009C300 00099260 4B FF FF 2D */ bl CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager +/* 8009C304 00099264 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009C308 00099268 41 82 00 08 */ beq lbl_8009C310 +/* 8009C30C 0009926C 3B E0 00 01 */ li r31, 1 +lbl_8009C310: +/* 8009C310 00099270 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009C314 00099274 7F E3 FB 78 */ mr r3, r31 +/* 8009C318 00099278 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8009C31C 0009927C 7C 08 03 A6 */ mtlr r0 +/* 8009C320 00099280 38 21 00 10 */ addi r1, r1, 0x10 +/* 8009C324 00099284 4E 80 00 20 */ blr + +.global OnNewInGameGuiState__11CAutoMapperF15EInGameGuiStateR13CStateManager +OnNewInGameGuiState__11CAutoMapperF15EInGameGuiStateR13CStateManager: +/* 8009C328 00099288 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009C32C 0009928C 7C 08 02 A6 */ mflr r0 +/* 8009C330 00099290 2C 04 00 02 */ cmpwi r4, 2 +/* 8009C334 00099294 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009C338 00099298 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009C33C 0009929C 7C BF 2B 78 */ mr r31, r5 +/* 8009C340 000992A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009C344 000992A4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009C348 000992A8 7C 7D 1B 78 */ mr r29, r3 +/* 8009C34C 000992AC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8009C350 000992B0 40 82 01 2C */ bne lbl_8009C47C +/* 8009C354 000992B4 4B F6 84 BD */ bl EnsureWorldPaksReady__5CMainFv +/* 8009C358 000992B8 83 DF 08 50 */ lwz r30, 0x850(r31) +/* 8009C35C 000992BC 7F C3 F3 78 */ mr r3, r30 +/* 8009C360 000992C0 4B FB B3 3D */ bl GetMapWorld__6CWorldCFv +/* 8009C364 000992C4 7F C4 F3 78 */ mr r4, r30 +/* 8009C368 000992C8 38 A0 00 00 */ li r5, 0 +/* 8009C36C 000992CC 38 C0 27 0F */ li r6, 0x270f +/* 8009C370 000992D0 48 00 4E 99 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii +/* 8009C374 000992D4 7F A3 EB 78 */ mr r3, r29 +/* 8009C378 000992D8 48 00 01 6D */ bl SetupHintNavigation__11CAutoMapperFv +/* 8009C37C 000992DC 7F A3 EB 78 */ mr r3, r29 +/* 8009C380 000992E0 7F E5 FB 78 */ mr r5, r31 +/* 8009C384 000992E4 38 80 00 01 */ li r4, 1 +/* 8009C388 000992E8 4B FF AF AD */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager +/* 8009C38C 000992EC 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 8009C390 000992F0 3B 80 00 00 */ li r28, 0 +/* 8009C394 000992F4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l +/* 8009C398 000992F8 38 60 00 0C */ li r3, 0xc +/* 8009C39C 000992FC 38 84 00 0F */ addi r4, r4, 0xf +/* 8009C3A0 00099300 38 A0 00 00 */ li r5, 0 +/* 8009C3A4 00099304 48 27 94 C9 */ bl __nw__FUlPCcPCc +/* 8009C3A8 00099308 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8009C3AC 0009930C 41 82 00 38 */ beq lbl_8009C3E4 +/* 8009C3B0 00099310 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009C3B4 00099314 38 61 00 08 */ addi r3, r1, 8 +/* 8009C3B8 00099318 80 A2 8B 60 */ lwz r5, lbl_805AA880@sda21(r2) +/* 8009C3BC 0009931C 81 84 00 00 */ lwz r12, 0(r4) +/* 8009C3C0 00099320 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8009C3C4 00099324 7D 89 03 A6 */ mtctr r12 +/* 8009C3C8 00099328 4E 80 04 21 */ bctrl +/* 8009C3CC 0009932C 7F E3 FB 78 */ mr r3, r31 +/* 8009C3D0 00099330 38 81 00 08 */ addi r4, r1, 8 +/* 8009C3D4 00099334 3B 80 00 01 */ li r28, 1 +/* 8009C3D8 00099338 48 2A 4A D1 */ bl __ct__6CTokenFRC6CToken +/* 8009C3DC 0009933C 38 00 00 00 */ li r0, 0 +/* 8009C3E0 00099340 90 1F 00 08 */ stw r0, 8(r31) +lbl_8009C3E4: +/* 8009C3E4 00099344 83 DD 00 28 */ lwz r30, 0x28(r29) +/* 8009C3E8 00099348 28 1E 00 00 */ cmplwi r30, 0 +/* 8009C3EC 0009934C 41 82 00 1C */ beq lbl_8009C408 +/* 8009C3F0 00099350 41 82 00 10 */ beq lbl_8009C400 +/* 8009C3F4 00099354 7F C3 F3 78 */ mr r3, r30 +/* 8009C3F8 00099358 38 80 00 00 */ li r4, 0 +/* 8009C3FC 0009935C 48 2A 4A 45 */ bl __dt__6CTokenFv +lbl_8009C400: +/* 8009C400 00099360 7F C3 F3 78 */ mr r3, r30 +/* 8009C404 00099364 48 27 95 2D */ bl Free__7CMemoryFPCv +lbl_8009C408: +/* 8009C408 00099368 7F 80 07 75 */ extsb. r0, r28 +/* 8009C40C 0009936C 93 FD 00 28 */ stw r31, 0x28(r29) +/* 8009C410 00099370 41 82 00 10 */ beq lbl_8009C420 +/* 8009C414 00099374 38 61 00 08 */ addi r3, r1, 8 +/* 8009C418 00099378 38 80 FF FF */ li r4, -1 +/* 8009C41C 0009937C 48 2A 4A 25 */ bl __dt__6CTokenFv +lbl_8009C420: +/* 8009C420 00099380 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8009C424 00099384 48 2A 49 61 */ bl Lock__6CTokenFv +/* 8009C428 00099388 7F A3 EB 78 */ mr r3, r29 +/* 8009C42C 0009938C 38 9D 02 10 */ addi r4, r29, 0x210 +/* 8009C430 00099390 38 A0 00 01 */ li r5, 1 +/* 8009C434 00099394 48 00 10 15 */ bl "SetResLockState,9>>__11CAutoMapperFv" +/* 8009C438 00099398 7F A3 EB 78 */ mr r3, r29 +/* 8009C43C 0009939C 38 9D 02 5C */ addi r4, r29, 0x25c +/* 8009C440 000993A0 38 A0 00 01 */ li r5, 1 +/* 8009C444 000993A4 48 00 10 05 */ bl "SetResLockState,9>>__11CAutoMapperFv" +/* 8009C448 000993A8 7F A3 EB 78 */ mr r3, r29 +/* 8009C44C 000993AC 38 9D 02 A8 */ addi r4, r29, 0x2a8 +/* 8009C450 000993B0 38 A0 00 01 */ li r5, 1 +/* 8009C454 000993B4 48 00 0F 79 */ bl "SetResLockState,2>>__11CAutoMapperFv" +/* 8009C458 000993B8 7F A3 EB 78 */ mr r3, r29 +/* 8009C45C 000993BC 38 9D 02 BC */ addi r4, r29, 0x2bc +/* 8009C460 000993C0 38 A0 00 01 */ li r5, 1 +/* 8009C464 000993C4 48 00 0F 69 */ bl "SetResLockState,2>>__11CAutoMapperFv" +/* 8009C468 000993C8 7F A3 EB 78 */ mr r3, r29 +/* 8009C46C 000993CC 38 9D 02 D0 */ addi r4, r29, 0x2d0 +/* 8009C470 000993D0 38 A0 00 01 */ li r5, 1 +/* 8009C474 000993D4 48 00 0F 59 */ bl "SetResLockState,2>>__11CAutoMapperFv" +/* 8009C478 000993D8 48 00 00 4C */ b lbl_8009C4C4 +lbl_8009C47C: +/* 8009C47C 000993DC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009C480 000993E0 48 13 75 51 */ bl CurrentWorldAssetId__10CGameStateCFv +/* 8009C484 000993E4 4B F6 83 F9 */ bl EnsureWorldPakReady__5CMainFUi +/* 8009C488 000993E8 80 1D 01 BC */ lwz r0, 0x1bc(r29) +/* 8009C48C 000993EC 2C 00 00 02 */ cmpwi r0, 2 +/* 8009C490 000993F0 41 82 00 14 */ beq lbl_8009C4A4 +/* 8009C494 000993F4 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8009C498 000993F8 80 1F 08 50 */ lwz r0, 0x850(r31) +/* 8009C49C 000993FC 7C 03 00 40 */ cmplw r3, r0 +/* 8009C4A0 00099400 40 82 00 1C */ bne lbl_8009C4BC +lbl_8009C4A4: +/* 8009C4A4 00099404 7F A3 EB 78 */ mr r3, r29 +/* 8009C4A8 00099408 7F E5 FB 78 */ mr r5, r31 +/* 8009C4AC 0009940C 38 80 00 00 */ li r4, 0 +/* 8009C4B0 00099410 4B FF AE 85 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager +/* 8009C4B4 00099414 38 00 00 00 */ li r0, 0 +/* 8009C4B8 00099418 90 1D 03 28 */ stw r0, 0x328(r29) +lbl_8009C4BC: +/* 8009C4BC 0009941C 7F A3 EB 78 */ mr r3, r29 +/* 8009C4C0 00099420 4B FF A6 19 */ bl LeaveMapScreenState__11CAutoMapperFv +lbl_8009C4C4: +/* 8009C4C4 00099424 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009C4C8 00099428 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009C4CC 0009942C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009C4D0 00099430 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009C4D4 00099434 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8009C4D8 00099438 7C 08 03 A6 */ mtlr r0 +/* 8009C4DC 0009943C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009C4E0 00099440 4E 80 00 20 */ blr + +.global SetupHintNavigation__11CAutoMapperFv +SetupHintNavigation__11CAutoMapperFv: +/* 8009C4E4 00099444 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8009C4E8 00099448 7C 08 02 A6 */ mflr r0 +/* 8009C4EC 0009944C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8009C4F0 00099450 BE 81 00 90 */ stmw r20, 0x90(r1) +/* 8009C4F4 00099454 7C 7F 1B 78 */ mr r31, r3 +/* 8009C4F8 00099458 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 8009C4FC 0009945C 88 04 01 E4 */ lbz r0, 0x1e4(r4) +/* 8009C500 00099460 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8009C504 00099464 41 82 07 14 */ beq lbl_8009CC18 +/* 8009C508 00099468 82 9F 01 E8 */ lwz r20, 0x1e8(r31) +/* 8009C50C 0009946C 80 9F 01 E4 */ lwz r4, 0x1e4(r31) +/* 8009C510 00099470 48 00 00 10 */ b lbl_8009C520 +lbl_8009C514: +/* 8009C514 00099474 38 7F 01 E0 */ addi r3, r31, 0x1e0 +/* 8009C518 00099478 48 00 1C E9 */ bl sub_8009e200 +/* 8009C51C 0009947C 7C 64 1B 78 */ mr r4, r3 +lbl_8009C520: +/* 8009C520 00099480 7C 04 A0 40 */ cmplw r4, r20 +/* 8009C524 00099484 40 82 FF F0 */ bne lbl_8009C514 +/* 8009C528 00099488 82 9F 02 00 */ lwz r20, 0x200(r31) +/* 8009C52C 0009948C 80 9F 01 FC */ lwz r4, 0x1fc(r31) +/* 8009C530 00099490 48 00 00 10 */ b lbl_8009C540 +lbl_8009C534: +/* 8009C534 00099494 38 7F 01 F8 */ addi r3, r31, 0x1f8 +/* 8009C538 00099498 48 00 1D BD */ bl sub_8009e2f4 +/* 8009C53C 0009949C 7C 64 1B 78 */ mr r4, r3 +lbl_8009C540: +/* 8009C540 000994A0 7C 04 A0 40 */ cmplw r4, r20 +/* 8009C544 000994A4 40 82 FF F0 */ bne lbl_8009C534 +/* 8009C548 000994A8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8009C54C 000994AC 3B 63 01 F8 */ addi r27, r3, 0x1f8 +/* 8009C550 000994B0 7F 63 DB 78 */ mr r3, r27 +/* 8009C554 000994B4 48 1C B1 C9 */ bl GetCurrentDisplayedHint__12CHintOptionsCFv +/* 8009C558 000994B8 28 03 00 00 */ cmplwi r3, 0 +/* 8009C55C 000994BC 3A C0 00 00 */ li r22, 0 +/* 8009C560 000994C0 41 82 05 90 */ beq lbl_8009CAF0 +/* 8009C564 000994C4 48 1C B8 E9 */ bl CanContinue__Q212CHintOptions10SHintStateFv +/* 8009C568 000994C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009C56C 000994CC 41 82 05 84 */ beq lbl_8009CAF0 +/* 8009C570 000994D0 80 82 8C 18 */ lwz r4, lbl_805AA938@sda21(r2) +/* 8009C574 000994D4 38 A0 00 04 */ li r5, 4 +/* 8009C578 000994D8 82 9F 01 E8 */ lwz r20, 0x1e8(r31) +/* 8009C57C 000994DC 38 00 00 00 */ li r0, 0 +/* 8009C580 000994E0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 8009C584 000994E4 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 8009C588 000994E8 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l +/* 8009C58C 000994EC 82 B4 00 00 */ lwz r21, 0(r20) +/* 8009C590 000994F0 90 81 00 80 */ stw r4, 0x80(r1) +/* 8009C594 000994F4 38 83 00 0F */ addi r4, r3, 0xf +/* 8009C598 000994F8 3A C0 00 01 */ li r22, 1 +/* 8009C59C 000994FC 38 60 00 14 */ li r3, 0x14 +/* 8009C5A0 00099500 98 01 00 84 */ stb r0, 0x84(r1) +/* 8009C5A4 00099504 38 A0 00 00 */ li r5, 0 +/* 8009C5A8 00099508 48 27 92 71 */ bl __nwa__FUlPCcPCc +/* 8009C5AC 0009950C 28 03 00 00 */ cmplwi r3, 0 +/* 8009C5B0 00099510 41 82 00 0C */ beq lbl_8009C5BC +/* 8009C5B4 00099514 92 A3 00 00 */ stw r21, 0(r3) +/* 8009C5B8 00099518 92 83 00 04 */ stw r20, 4(r3) +lbl_8009C5BC: +/* 8009C5BC 0009951C 34 A3 00 08 */ addic. r5, r3, 8 +/* 8009C5C0 00099520 41 82 00 1C */ beq lbl_8009C5DC +/* 8009C5C4 00099524 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8009C5C8 00099528 80 81 00 80 */ lwz r4, 0x80(r1) +/* 8009C5CC 0009952C 90 05 00 00 */ stw r0, 0(r5) +/* 8009C5D0 00099530 88 01 00 84 */ lbz r0, 0x84(r1) +/* 8009C5D4 00099534 90 85 00 04 */ stw r4, 4(r5) +/* 8009C5D8 00099538 98 05 00 08 */ stb r0, 8(r5) +lbl_8009C5DC: +/* 8009C5DC 0009953C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) +/* 8009C5E0 00099540 7C 14 00 40 */ cmplw r20, r0 +/* 8009C5E4 00099544 40 82 00 08 */ bne lbl_8009C5EC +/* 8009C5E8 00099548 90 7F 01 E4 */ stw r3, 0x1e4(r31) +lbl_8009C5EC: +/* 8009C5EC 0009954C 80 83 00 00 */ lwz r4, 0(r3) +/* 8009C5F0 00099550 90 64 00 04 */ stw r3, 4(r4) +/* 8009C5F4 00099554 80 83 00 04 */ lwz r4, 4(r3) +/* 8009C5F8 00099558 90 64 00 00 */ stw r3, 0(r4) +/* 8009C5FC 0009955C 7F 63 DB 78 */ mr r3, r27 +/* 8009C600 00099560 80 9F 01 F4 */ lwz r4, 0x1f4(r31) +/* 8009C604 00099564 38 04 00 01 */ addi r0, r4, 1 +/* 8009C608 00099568 90 1F 01 F4 */ stw r0, 0x1f4(r31) +/* 8009C60C 0009956C 48 1C B0 F1 */ bl GetNextHintIdx__12CHintOptionsFv +/* 8009C610 00099570 1C 03 00 30 */ mulli r0, r3, 0x30 +/* 8009C614 00099574 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 8009C618 00099578 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8009C61C 0009957C 80 84 00 08 */ lwz r4, 8(r4) +/* 8009C620 00099580 81 83 00 00 */ lwz r12, 0(r3) +/* 8009C624 00099584 80 84 00 0C */ lwz r4, 0xc(r4) +/* 8009C628 00099588 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009C62C 0009958C 7F 44 02 14 */ add r26, r4, r0 +/* 8009C630 00099590 7D 89 03 A6 */ mtctr r12 +/* 8009C634 00099594 4E 80 04 21 */ bctrl +/* 8009C638 00099598 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009C63C 0009959C 83 A2 8C 1C */ lwz r29, lbl_805AA93C@sda21(r2) +/* 8009C640 000995A0 7C 75 1B 78 */ mr r21, r3 +/* 8009C644 000995A4 3A 80 00 00 */ li r20, 0 +/* 8009C648 000995A8 3B C4 D8 0C */ addi r30, r4, lbl_803CD80C@l +/* 8009C64C 000995AC 3B 00 00 00 */ li r24, 0 +/* 8009C650 000995B0 48 00 04 94 */ b lbl_8009CAE4 +lbl_8009C654: +/* 8009C654 000995B4 80 1A 00 2C */ lwz r0, 0x2c(r26) +/* 8009C658 000995B8 7F 20 C2 14 */ add r25, r0, r24 +/* 8009C65C 000995BC 82 F9 00 00 */ lwz r23, 0(r25) +/* 8009C660 000995C0 7C 17 A8 40 */ cmplw r23, r21 +/* 8009C664 000995C4 41 82 01 BC */ beq lbl_8009C820 +/* 8009C668 000995C8 83 9F 01 E8 */ lwz r28, 0x1e8(r31) +/* 8009C66C 000995CC 38 00 00 00 */ li r0, 0 +/* 8009C670 000995D0 38 80 00 02 */ li r4, 2 +/* 8009C674 000995D4 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 8009C678 000995D8 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l +/* 8009C67C 000995DC 90 81 00 70 */ stw r4, 0x70(r1) +/* 8009C680 000995E0 82 BC 00 00 */ lwz r21, 0(r28) +/* 8009C684 000995E4 38 83 00 0F */ addi r4, r3, 0xf +/* 8009C688 000995E8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8009C68C 000995EC 38 60 00 14 */ li r3, 0x14 +/* 8009C690 000995F0 38 A0 00 00 */ li r5, 0 +/* 8009C694 000995F4 98 01 00 78 */ stb r0, 0x78(r1) +/* 8009C698 000995F8 48 27 91 81 */ bl __nwa__FUlPCcPCc +/* 8009C69C 000995FC 28 03 00 00 */ cmplwi r3, 0 +/* 8009C6A0 00099600 41 82 00 0C */ beq lbl_8009C6AC +/* 8009C6A4 00099604 92 A3 00 00 */ stw r21, 0(r3) +/* 8009C6A8 00099608 93 83 00 04 */ stw r28, 4(r3) +lbl_8009C6AC: +/* 8009C6AC 0009960C 34 A3 00 08 */ addic. r5, r3, 8 +/* 8009C6B0 00099610 41 82 00 1C */ beq lbl_8009C6CC +/* 8009C6B4 00099614 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8009C6B8 00099618 80 81 00 74 */ lwz r4, 0x74(r1) +/* 8009C6BC 0009961C 90 05 00 00 */ stw r0, 0(r5) +/* 8009C6C0 00099620 88 01 00 78 */ lbz r0, 0x78(r1) +/* 8009C6C4 00099624 90 85 00 04 */ stw r4, 4(r5) +/* 8009C6C8 00099628 98 05 00 08 */ stb r0, 8(r5) +lbl_8009C6CC: +/* 8009C6CC 0009962C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) +/* 8009C6D0 00099630 7C 1C 00 40 */ cmplw r28, r0 +/* 8009C6D4 00099634 40 82 00 08 */ bne lbl_8009C6DC +/* 8009C6D8 00099638 90 7F 01 E4 */ stw r3, 0x1e4(r31) +lbl_8009C6DC: +/* 8009C6DC 0009963C 80 A3 00 00 */ lwz r5, 0(r3) +/* 8009C6E0 00099640 38 C0 00 01 */ li r6, 1 +/* 8009C6E4 00099644 38 00 00 00 */ li r0, 0 +/* 8009C6E8 00099648 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009C6EC 0009964C 90 65 00 04 */ stw r3, 4(r5) +/* 8009C6F0 00099650 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 8009C6F4 00099654 38 A0 00 00 */ li r5, 0 +/* 8009C6F8 00099658 80 E3 00 04 */ lwz r7, 4(r3) +/* 8009C6FC 0009965C 38 84 00 0F */ addi r4, r4, 0xf +/* 8009C700 00099660 90 C1 00 64 */ stw r6, 0x64(r1) +/* 8009C704 00099664 90 67 00 00 */ stw r3, 0(r7) +/* 8009C708 00099668 38 60 00 14 */ li r3, 0x14 +/* 8009C70C 0009966C 80 DF 01 F4 */ lwz r6, 0x1f4(r31) +/* 8009C710 00099670 92 E1 00 68 */ stw r23, 0x68(r1) +/* 8009C714 00099674 38 C6 00 01 */ addi r6, r6, 1 +/* 8009C718 00099678 90 DF 01 F4 */ stw r6, 0x1f4(r31) +/* 8009C71C 0009967C 82 BF 01 E8 */ lwz r21, 0x1e8(r31) +/* 8009C720 00099680 98 01 00 6C */ stb r0, 0x6c(r1) +/* 8009C724 00099684 83 95 00 00 */ lwz r28, 0(r21) +/* 8009C728 00099688 48 27 90 F1 */ bl __nwa__FUlPCcPCc +/* 8009C72C 0009968C 28 03 00 00 */ cmplwi r3, 0 +/* 8009C730 00099690 41 82 00 0C */ beq lbl_8009C73C +/* 8009C734 00099694 93 83 00 00 */ stw r28, 0(r3) +/* 8009C738 00099698 92 A3 00 04 */ stw r21, 4(r3) +lbl_8009C73C: +/* 8009C73C 0009969C 34 A3 00 08 */ addic. r5, r3, 8 +/* 8009C740 000996A0 41 82 00 1C */ beq lbl_8009C75C +/* 8009C744 000996A4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8009C748 000996A8 80 81 00 68 */ lwz r4, 0x68(r1) +/* 8009C74C 000996AC 90 05 00 00 */ stw r0, 0(r5) +/* 8009C750 000996B0 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8009C754 000996B4 90 85 00 04 */ stw r4, 4(r5) +/* 8009C758 000996B8 98 05 00 08 */ stb r0, 8(r5) +lbl_8009C75C: +/* 8009C75C 000996BC 80 1F 01 E4 */ lwz r0, 0x1e4(r31) +/* 8009C760 000996C0 7C 15 00 40 */ cmplw r21, r0 +/* 8009C764 000996C4 40 82 00 08 */ bne lbl_8009C76C +/* 8009C768 000996C8 90 7F 01 E4 */ stw r3, 0x1e4(r31) +lbl_8009C76C: +/* 8009C76C 000996CC 80 A3 00 00 */ lwz r5, 0(r3) +/* 8009C770 000996D0 38 C0 00 03 */ li r6, 3 +/* 8009C774 000996D4 38 00 00 00 */ li r0, 0 +/* 8009C778 000996D8 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009C77C 000996DC 90 65 00 04 */ stw r3, 4(r5) +/* 8009C780 000996E0 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 8009C784 000996E4 38 84 00 0F */ addi r4, r4, 0xf +/* 8009C788 000996E8 38 A0 00 00 */ li r5, 0 +/* 8009C78C 000996EC 80 E3 00 04 */ lwz r7, 4(r3) +/* 8009C790 000996F0 90 C1 00 58 */ stw r6, 0x58(r1) +/* 8009C794 000996F4 90 67 00 00 */ stw r3, 0(r7) +/* 8009C798 000996F8 38 60 00 14 */ li r3, 0x14 +/* 8009C79C 000996FC 80 DF 01 F4 */ lwz r6, 0x1f4(r31) +/* 8009C7A0 00099700 92 E1 00 5C */ stw r23, 0x5c(r1) +/* 8009C7A4 00099704 38 C6 00 01 */ addi r6, r6, 1 +/* 8009C7A8 00099708 90 DF 01 F4 */ stw r6, 0x1f4(r31) +/* 8009C7AC 0009970C 82 BF 01 E8 */ lwz r21, 0x1e8(r31) +/* 8009C7B0 00099710 98 01 00 60 */ stb r0, 0x60(r1) +/* 8009C7B4 00099714 83 95 00 00 */ lwz r28, 0(r21) +/* 8009C7B8 00099718 48 27 90 61 */ bl __nwa__FUlPCcPCc +/* 8009C7BC 0009971C 28 03 00 00 */ cmplwi r3, 0 +/* 8009C7C0 00099720 41 82 00 0C */ beq lbl_8009C7CC +/* 8009C7C4 00099724 93 83 00 00 */ stw r28, 0(r3) +/* 8009C7C8 00099728 92 A3 00 04 */ stw r21, 4(r3) +lbl_8009C7CC: +/* 8009C7CC 0009972C 34 A3 00 08 */ addic. r5, r3, 8 +/* 8009C7D0 00099730 41 82 00 1C */ beq lbl_8009C7EC +/* 8009C7D4 00099734 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8009C7D8 00099738 80 81 00 5C */ lwz r4, 0x5c(r1) +/* 8009C7DC 0009973C 90 05 00 00 */ stw r0, 0(r5) +/* 8009C7E0 00099740 88 01 00 60 */ lbz r0, 0x60(r1) +/* 8009C7E4 00099744 90 85 00 04 */ stw r4, 4(r5) +/* 8009C7E8 00099748 98 05 00 08 */ stb r0, 8(r5) +lbl_8009C7EC: +/* 8009C7EC 0009974C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) +/* 8009C7F0 00099750 7C 15 00 40 */ cmplw r21, r0 +/* 8009C7F4 00099754 40 82 00 08 */ bne lbl_8009C7FC +/* 8009C7F8 00099758 90 7F 01 E4 */ stw r3, 0x1e4(r31) +lbl_8009C7FC: +/* 8009C7FC 0009975C 80 83 00 00 */ lwz r4, 0(r3) +/* 8009C800 00099760 7E F5 BB 78 */ mr r21, r23 +/* 8009C804 00099764 90 64 00 04 */ stw r3, 4(r4) +/* 8009C808 00099768 80 83 00 04 */ lwz r4, 4(r3) +/* 8009C80C 0009976C 90 64 00 00 */ stw r3, 0(r4) +/* 8009C810 00099770 80 7F 01 F4 */ lwz r3, 0x1f4(r31) +/* 8009C814 00099774 38 03 00 01 */ addi r0, r3, 1 +/* 8009C818 00099778 90 1F 01 F4 */ stw r0, 0x1f4(r31) +/* 8009C81C 0009977C 48 00 00 94 */ b lbl_8009C8B0 +lbl_8009C820: +/* 8009C820 00099780 83 9F 01 E8 */ lwz r28, 0x1e8(r31) +/* 8009C824 00099784 38 00 00 00 */ li r0, 0 +/* 8009C828 00099788 38 80 00 06 */ li r4, 6 +/* 8009C82C 0009978C 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 8009C830 00099790 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l +/* 8009C834 00099794 90 81 00 4C */ stw r4, 0x4c(r1) +/* 8009C838 00099798 82 FC 00 00 */ lwz r23, 0(r28) +/* 8009C83C 0009979C 38 83 00 0F */ addi r4, r3, 0xf +/* 8009C840 000997A0 90 01 00 50 */ stw r0, 0x50(r1) +/* 8009C844 000997A4 38 60 00 14 */ li r3, 0x14 +/* 8009C848 000997A8 38 A0 00 00 */ li r5, 0 +/* 8009C84C 000997AC 98 01 00 54 */ stb r0, 0x54(r1) +/* 8009C850 000997B0 48 27 8F C9 */ bl __nwa__FUlPCcPCc +/* 8009C854 000997B4 28 03 00 00 */ cmplwi r3, 0 +/* 8009C858 000997B8 41 82 00 0C */ beq lbl_8009C864 +/* 8009C85C 000997BC 92 E3 00 00 */ stw r23, 0(r3) +/* 8009C860 000997C0 93 83 00 04 */ stw r28, 4(r3) +lbl_8009C864: +/* 8009C864 000997C4 34 A3 00 08 */ addic. r5, r3, 8 +/* 8009C868 000997C8 41 82 00 1C */ beq lbl_8009C884 +/* 8009C86C 000997CC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8009C870 000997D0 80 81 00 50 */ lwz r4, 0x50(r1) +/* 8009C874 000997D4 90 05 00 00 */ stw r0, 0(r5) +/* 8009C878 000997D8 88 01 00 54 */ lbz r0, 0x54(r1) +/* 8009C87C 000997DC 90 85 00 04 */ stw r4, 4(r5) +/* 8009C880 000997E0 98 05 00 08 */ stb r0, 8(r5) +lbl_8009C884: +/* 8009C884 000997E4 80 1F 01 E4 */ lwz r0, 0x1e4(r31) +/* 8009C888 000997E8 7C 1C 00 40 */ cmplw r28, r0 +/* 8009C88C 000997EC 40 82 00 08 */ bne lbl_8009C894 +/* 8009C890 000997F0 90 7F 01 E4 */ stw r3, 0x1e4(r31) +lbl_8009C894: +/* 8009C894 000997F4 80 83 00 00 */ lwz r4, 0(r3) +/* 8009C898 000997F8 90 64 00 04 */ stw r3, 4(r4) +/* 8009C89C 000997FC 80 83 00 04 */ lwz r4, 4(r3) +/* 8009C8A0 00099800 90 64 00 00 */ stw r3, 0(r4) +/* 8009C8A4 00099804 80 7F 01 F4 */ lwz r3, 0x1f4(r31) +/* 8009C8A8 00099808 38 03 00 01 */ addi r0, r3, 1 +/* 8009C8AC 0009980C 90 1F 01 F4 */ stw r0, 0x1f4(r31) +lbl_8009C8B0: +/* 8009C8B0 00099810 80 19 00 08 */ lwz r0, 8(r25) +/* 8009C8B4 00099814 38 C0 00 00 */ li r6, 0 +/* 8009C8B8 00099818 83 9F 01 E8 */ lwz r28, 0x1e8(r31) +/* 8009C8BC 0009981C 38 9E 00 0F */ addi r4, r30, 0xf +/* 8009C8C0 00099820 90 C1 00 40 */ stw r6, 0x40(r1) +/* 8009C8C4 00099824 38 60 00 14 */ li r3, 0x14 +/* 8009C8C8 00099828 82 FC 00 00 */ lwz r23, 0(r28) +/* 8009C8CC 0009982C 38 A0 00 00 */ li r5, 0 +/* 8009C8D0 00099830 90 01 00 44 */ stw r0, 0x44(r1) +/* 8009C8D4 00099834 98 C1 00 48 */ stb r6, 0x48(r1) +/* 8009C8D8 00099838 48 27 8F 41 */ bl __nwa__FUlPCcPCc +/* 8009C8DC 0009983C 28 03 00 00 */ cmplwi r3, 0 +/* 8009C8E0 00099840 41 82 00 0C */ beq lbl_8009C8EC +/* 8009C8E4 00099844 92 E3 00 00 */ stw r23, 0(r3) +/* 8009C8E8 00099848 93 83 00 04 */ stw r28, 4(r3) +lbl_8009C8EC: +/* 8009C8EC 0009984C 34 A3 00 08 */ addic. r5, r3, 8 +/* 8009C8F0 00099850 41 82 00 1C */ beq lbl_8009C90C +/* 8009C8F4 00099854 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8009C8F8 00099858 80 81 00 44 */ lwz r4, 0x44(r1) +/* 8009C8FC 0009985C 90 05 00 00 */ stw r0, 0(r5) +/* 8009C900 00099860 88 01 00 48 */ lbz r0, 0x48(r1) +/* 8009C904 00099864 90 85 00 04 */ stw r4, 4(r5) +/* 8009C908 00099868 98 05 00 08 */ stb r0, 8(r5) +lbl_8009C90C: +/* 8009C90C 0009986C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) +/* 8009C910 00099870 7C 1C 00 40 */ cmplw r28, r0 +/* 8009C914 00099874 40 82 00 08 */ bne lbl_8009C91C +/* 8009C918 00099878 90 7F 01 E4 */ stw r3, 0x1e4(r31) +lbl_8009C91C: +/* 8009C91C 0009987C 80 E3 00 00 */ lwz r7, 0(r3) +/* 8009C920 00099880 38 00 00 00 */ li r0, 0 +/* 8009C924 00099884 38 C0 00 05 */ li r6, 5 +/* 8009C928 00099888 90 01 00 38 */ stw r0, 0x38(r1) +/* 8009C92C 0009988C 38 9E 00 0F */ addi r4, r30, 0xf +/* 8009C930 00099890 38 A0 00 00 */ li r5, 0 +/* 8009C934 00099894 90 67 00 04 */ stw r3, 4(r7) +/* 8009C938 00099898 80 E3 00 04 */ lwz r7, 4(r3) +/* 8009C93C 0009989C 90 C1 00 34 */ stw r6, 0x34(r1) +/* 8009C940 000998A0 90 67 00 00 */ stw r3, 0(r7) +/* 8009C944 000998A4 38 60 00 14 */ li r3, 0x14 +/* 8009C948 000998A8 80 DF 01 F4 */ lwz r6, 0x1f4(r31) +/* 8009C94C 000998AC 98 01 00 3C */ stb r0, 0x3c(r1) +/* 8009C950 000998B0 38 06 00 01 */ addi r0, r6, 1 +/* 8009C954 000998B4 90 1F 01 F4 */ stw r0, 0x1f4(r31) +/* 8009C958 000998B8 82 FF 01 E8 */ lwz r23, 0x1e8(r31) +/* 8009C95C 000998BC 83 97 00 00 */ lwz r28, 0(r23) +/* 8009C960 000998C0 48 27 8E B9 */ bl __nwa__FUlPCcPCc +/* 8009C964 000998C4 28 03 00 00 */ cmplwi r3, 0 +/* 8009C968 000998C8 41 82 00 0C */ beq lbl_8009C974 +/* 8009C96C 000998CC 93 83 00 00 */ stw r28, 0(r3) +/* 8009C970 000998D0 92 E3 00 04 */ stw r23, 4(r3) +lbl_8009C974: +/* 8009C974 000998D4 34 A3 00 08 */ addic. r5, r3, 8 +/* 8009C978 000998D8 41 82 00 1C */ beq lbl_8009C994 +/* 8009C97C 000998DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8009C980 000998E0 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8009C984 000998E4 90 05 00 00 */ stw r0, 0(r5) +/* 8009C988 000998E8 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 8009C98C 000998EC 90 85 00 04 */ stw r4, 4(r5) +/* 8009C990 000998F0 98 05 00 08 */ stb r0, 8(r5) +lbl_8009C994: +/* 8009C994 000998F4 80 1F 01 E4 */ lwz r0, 0x1e4(r31) +/* 8009C998 000998F8 7C 17 00 40 */ cmplw r23, r0 +/* 8009C99C 000998FC 40 82 00 08 */ bne lbl_8009C9A4 +/* 8009C9A0 00099900 90 7F 01 E4 */ stw r3, 0x1e4(r31) +lbl_8009C9A4: +/* 8009C9A4 00099904 80 C3 00 00 */ lwz r6, 0(r3) +/* 8009C9A8 00099908 38 80 00 04 */ li r4, 4 +/* 8009C9AC 0009990C 38 00 00 00 */ li r0, 0 +/* 8009C9B0 00099910 90 81 00 28 */ stw r4, 0x28(r1) +/* 8009C9B4 00099914 38 9E 00 0F */ addi r4, r30, 0xf +/* 8009C9B8 00099918 38 A0 00 00 */ li r5, 0 +/* 8009C9BC 0009991C 90 66 00 04 */ stw r3, 4(r6) +/* 8009C9C0 00099920 80 C3 00 04 */ lwz r6, 4(r3) +/* 8009C9C4 00099924 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 8009C9C8 00099928 90 66 00 00 */ stw r3, 0(r6) +/* 8009C9CC 0009992C 38 60 00 14 */ li r3, 0x14 +/* 8009C9D0 00099930 80 DF 01 F4 */ lwz r6, 0x1f4(r31) +/* 8009C9D4 00099934 98 01 00 30 */ stb r0, 0x30(r1) +/* 8009C9D8 00099938 38 06 00 01 */ addi r0, r6, 1 +/* 8009C9DC 0009993C 90 1F 01 F4 */ stw r0, 0x1f4(r31) +/* 8009C9E0 00099940 82 FF 01 E8 */ lwz r23, 0x1e8(r31) +/* 8009C9E4 00099944 83 97 00 00 */ lwz r28, 0(r23) +/* 8009C9E8 00099948 48 27 8E 31 */ bl __nwa__FUlPCcPCc +/* 8009C9EC 0009994C 28 03 00 00 */ cmplwi r3, 0 +/* 8009C9F0 00099950 41 82 00 0C */ beq lbl_8009C9FC +/* 8009C9F4 00099954 93 83 00 00 */ stw r28, 0(r3) +/* 8009C9F8 00099958 92 E3 00 04 */ stw r23, 4(r3) +lbl_8009C9FC: +/* 8009C9FC 0009995C 34 A3 00 08 */ addic. r5, r3, 8 +/* 8009CA00 00099960 41 82 00 1C */ beq lbl_8009CA1C +/* 8009CA04 00099964 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8009CA08 00099968 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 8009CA0C 0009996C 90 05 00 00 */ stw r0, 0(r5) +/* 8009CA10 00099970 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8009CA14 00099974 90 85 00 04 */ stw r4, 4(r5) +/* 8009CA18 00099978 98 05 00 08 */ stb r0, 8(r5) +lbl_8009CA1C: +/* 8009CA1C 0009997C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) +/* 8009CA20 00099980 7C 17 00 40 */ cmplw r23, r0 +/* 8009CA24 00099984 40 82 00 08 */ bne lbl_8009CA2C +/* 8009CA28 00099988 90 7F 01 E4 */ stw r3, 0x1e4(r31) +lbl_8009CA2C: +/* 8009CA2C 0009998C 80 A3 00 00 */ lwz r5, 0(r3) +/* 8009CA30 00099990 38 80 00 00 */ li r4, 0 +/* 8009CA34 00099994 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) +/* 8009CA38 00099998 90 65 00 04 */ stw r3, 4(r5) +/* 8009CA3C 0009999C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8009CA40 000999A0 90 65 00 00 */ stw r3, 0(r5) +/* 8009CA44 000999A4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8009CA48 000999A8 80 BF 01 F4 */ lwz r5, 0x1f4(r31) +/* 8009CA4C 000999AC 38 05 00 01 */ addi r0, r5, 1 +/* 8009CA50 000999B0 90 1F 01 F4 */ stw r0, 0x1f4(r31) +/* 8009CA54 000999B4 80 B9 00 00 */ lwz r5, 0(r25) +/* 8009CA58 000999B8 80 D9 00 08 */ lwz r6, 8(r25) +/* 8009CA5C 000999BC 48 00 11 AD */ bl __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId +/* 8009CA60 000999C0 82 FF 02 00 */ lwz r23, 0x200(r31) +/* 8009CA64 000999C4 38 9E 00 0F */ addi r4, r30, 0xf +/* 8009CA68 000999C8 38 60 00 18 */ li r3, 0x18 +/* 8009CA6C 000999CC 38 A0 00 00 */ li r5, 0 +/* 8009CA70 000999D0 83 37 00 00 */ lwz r25, 0(r23) +/* 8009CA74 000999D4 48 27 8D A5 */ bl __nwa__FUlPCcPCc +/* 8009CA78 000999D8 28 03 00 00 */ cmplwi r3, 0 +/* 8009CA7C 000999DC 41 82 00 0C */ beq lbl_8009CA88 +/* 8009CA80 000999E0 93 23 00 00 */ stw r25, 0(r3) +/* 8009CA84 000999E4 92 E3 00 04 */ stw r23, 4(r3) +lbl_8009CA88: +/* 8009CA88 000999E8 34 83 00 08 */ addic. r4, r3, 8 +/* 8009CA8C 000999EC 41 82 00 24 */ beq lbl_8009CAB0 +/* 8009CA90 000999F0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8009CA94 000999F4 90 04 00 00 */ stw r0, 0(r4) +/* 8009CA98 000999F8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8009CA9C 000999FC D0 04 00 04 */ stfs f0, 4(r4) +/* 8009CAA0 00099A00 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8009CAA4 00099A04 90 04 00 08 */ stw r0, 8(r4) +/* 8009CAA8 00099A08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009CAAC 00099A0C 90 04 00 0C */ stw r0, 0xc(r4) +lbl_8009CAB0: +/* 8009CAB0 00099A10 80 1F 01 FC */ lwz r0, 0x1fc(r31) +/* 8009CAB4 00099A14 7C 17 00 40 */ cmplw r23, r0 +/* 8009CAB8 00099A18 40 82 00 08 */ bne lbl_8009CAC0 +/* 8009CABC 00099A1C 90 7F 01 FC */ stw r3, 0x1fc(r31) +lbl_8009CAC0: +/* 8009CAC0 00099A20 80 83 00 00 */ lwz r4, 0(r3) +/* 8009CAC4 00099A24 3B 18 00 10 */ addi r24, r24, 0x10 +/* 8009CAC8 00099A28 3A 94 00 01 */ addi r20, r20, 1 +/* 8009CACC 00099A2C 90 64 00 04 */ stw r3, 4(r4) +/* 8009CAD0 00099A30 80 83 00 04 */ lwz r4, 4(r3) +/* 8009CAD4 00099A34 90 64 00 00 */ stw r3, 0(r4) +/* 8009CAD8 00099A38 80 7F 02 0C */ lwz r3, 0x20c(r31) +/* 8009CADC 00099A3C 38 03 00 01 */ addi r0, r3, 1 +/* 8009CAE0 00099A40 90 1F 02 0C */ stw r0, 0x20c(r31) +lbl_8009CAE4: +/* 8009CAE4 00099A44 80 1A 00 24 */ lwz r0, 0x24(r26) +/* 8009CAE8 00099A48 7C 14 00 00 */ cmpw r20, r0 +/* 8009CAEC 00099A4C 41 80 FB 68 */ blt lbl_8009C654 +lbl_8009CAF0: +/* 8009CAF0 00099A50 3B 40 00 00 */ li r26, 0 +/* 8009CAF4 00099A54 56 DD 06 3E */ clrlwi r29, r22, 0x18 +/* 8009CAF8 00099A58 7F 5C D3 78 */ mr r28, r26 +/* 8009CAFC 00099A5C 3A 80 00 00 */ li r20, 0 +/* 8009CB00 00099A60 48 00 01 0C */ b lbl_8009CC0C +lbl_8009CB04: +/* 8009CB04 00099A64 28 1D 00 00 */ cmplwi r29, 0 +/* 8009CB08 00099A68 41 82 00 14 */ beq lbl_8009CB1C +/* 8009CB0C 00099A6C 7F 63 DB 78 */ mr r3, r27 +/* 8009CB10 00099A70 48 1C AB ED */ bl GetNextHintIdx__12CHintOptionsFv +/* 8009CB14 00099A74 7C 14 18 00 */ cmpw r20, r3 +/* 8009CB18 00099A78 41 82 00 E8 */ beq lbl_8009CC00 +lbl_8009CB1C: +/* 8009CB1C 00099A7C 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 8009CB20 00099A80 7C 03 D0 2E */ lwzx r0, r3, r26 +/* 8009CB24 00099A84 2C 00 00 02 */ cmpwi r0, 2 +/* 8009CB28 00099A88 40 82 00 D8 */ bne lbl_8009CC00 +/* 8009CB2C 00099A8C 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 8009CB30 00099A90 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 8009CB34 00099A94 3B C3 D8 0C */ addi r30, r3, lbl_803CD80C@l +/* 8009CB38 00099A98 3A A0 00 00 */ li r21, 0 +/* 8009CB3C 00099A9C 80 64 00 08 */ lwz r3, 8(r4) +/* 8009CB40 00099AA0 3B 00 00 00 */ li r24, 0 +/* 8009CB44 00099AA4 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8009CB48 00099AA8 7F 20 E2 14 */ add r25, r0, r28 +/* 8009CB4C 00099AAC 48 00 00 A8 */ b lbl_8009CBF4 +lbl_8009CB50: +/* 8009CB50 00099AB0 80 19 00 2C */ lwz r0, 0x2c(r25) +/* 8009CB54 00099AB4 38 61 00 08 */ addi r3, r1, 8 +/* 8009CB58 00099AB8 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 8009CB5C 00099ABC 38 80 00 01 */ li r4, 1 +/* 8009CB60 00099AC0 7C C0 C2 14 */ add r6, r0, r24 +/* 8009CB64 00099AC4 80 A6 00 00 */ lwz r5, 0(r6) +/* 8009CB68 00099AC8 80 C6 00 08 */ lwz r6, 8(r6) +/* 8009CB6C 00099ACC 48 00 10 9D */ bl __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId +/* 8009CB70 00099AD0 82 DF 02 00 */ lwz r22, 0x200(r31) +/* 8009CB74 00099AD4 38 9E 00 0F */ addi r4, r30, 0xf +/* 8009CB78 00099AD8 38 60 00 18 */ li r3, 0x18 +/* 8009CB7C 00099ADC 38 A0 00 00 */ li r5, 0 +/* 8009CB80 00099AE0 82 F6 00 00 */ lwz r23, 0(r22) +/* 8009CB84 00099AE4 48 27 8C 95 */ bl __nwa__FUlPCcPCc +/* 8009CB88 00099AE8 28 03 00 00 */ cmplwi r3, 0 +/* 8009CB8C 00099AEC 41 82 00 0C */ beq lbl_8009CB98 +/* 8009CB90 00099AF0 92 E3 00 00 */ stw r23, 0(r3) +/* 8009CB94 00099AF4 92 C3 00 04 */ stw r22, 4(r3) +lbl_8009CB98: +/* 8009CB98 00099AF8 34 83 00 08 */ addic. r4, r3, 8 +/* 8009CB9C 00099AFC 41 82 00 24 */ beq lbl_8009CBC0 +/* 8009CBA0 00099B00 80 01 00 08 */ lwz r0, 8(r1) +/* 8009CBA4 00099B04 90 04 00 00 */ stw r0, 0(r4) +/* 8009CBA8 00099B08 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8009CBAC 00099B0C D0 04 00 04 */ stfs f0, 4(r4) +/* 8009CBB0 00099B10 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8009CBB4 00099B14 90 04 00 08 */ stw r0, 8(r4) +/* 8009CBB8 00099B18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009CBBC 00099B1C 90 04 00 0C */ stw r0, 0xc(r4) +lbl_8009CBC0: +/* 8009CBC0 00099B20 80 1F 01 FC */ lwz r0, 0x1fc(r31) +/* 8009CBC4 00099B24 7C 16 00 40 */ cmplw r22, r0 +/* 8009CBC8 00099B28 40 82 00 08 */ bne lbl_8009CBD0 +/* 8009CBCC 00099B2C 90 7F 01 FC */ stw r3, 0x1fc(r31) +lbl_8009CBD0: +/* 8009CBD0 00099B30 80 83 00 00 */ lwz r4, 0(r3) +/* 8009CBD4 00099B34 3B 18 00 10 */ addi r24, r24, 0x10 +/* 8009CBD8 00099B38 3A B5 00 01 */ addi r21, r21, 1 +/* 8009CBDC 00099B3C 90 64 00 04 */ stw r3, 4(r4) +/* 8009CBE0 00099B40 80 83 00 04 */ lwz r4, 4(r3) +/* 8009CBE4 00099B44 90 64 00 00 */ stw r3, 0(r4) +/* 8009CBE8 00099B48 80 7F 02 0C */ lwz r3, 0x20c(r31) +/* 8009CBEC 00099B4C 38 03 00 01 */ addi r0, r3, 1 +/* 8009CBF0 00099B50 90 1F 02 0C */ stw r0, 0x20c(r31) +lbl_8009CBF4: +/* 8009CBF4 00099B54 80 19 00 24 */ lwz r0, 0x24(r25) +/* 8009CBF8 00099B58 7C 15 00 00 */ cmpw r21, r0 +/* 8009CBFC 00099B5C 41 80 FF 54 */ blt lbl_8009CB50 +lbl_8009CC00: +/* 8009CC00 00099B60 3B 5A 00 0C */ addi r26, r26, 0xc +/* 8009CC04 00099B64 3B 9C 00 30 */ addi r28, r28, 0x30 +/* 8009CC08 00099B68 3A 94 00 01 */ addi r20, r20, 1 +lbl_8009CC0C: +/* 8009CC0C 00099B6C 80 1B 00 04 */ lwz r0, 4(r27) +/* 8009CC10 00099B70 7C 14 00 00 */ cmpw r20, r0 +/* 8009CC14 00099B74 41 80 FE F0 */ blt lbl_8009CB04 +lbl_8009CC18: +/* 8009CC18 00099B78 BA 81 00 90 */ lmw r20, 0x90(r1) +/* 8009CC1C 00099B7C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8009CC20 00099B80 7C 08 03 A6 */ mtlr r0 +/* 8009CC24 00099B84 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8009CC28 00099B88 4E 80 00 20 */ blr + +.global CheckLoadComplete__11CAutoMapperFv +CheckLoadComplete__11CAutoMapperFv: +/* 8009CC2C 00099B8C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8009CC30 00099B90 7C 08 02 A6 */ mflr r0 +/* 8009CC34 00099B94 90 01 00 34 */ stw r0, 0x34(r1) +/* 8009CC38 00099B98 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8009CC3C 00099B9C 7C 7F 1B 78 */ mr r31, r3 +/* 8009CC40 00099BA0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8009CC44 00099BA4 80 03 00 04 */ lwz r0, 4(r3) +/* 8009CC48 00099BA8 2C 00 00 01 */ cmpwi r0, 1 +/* 8009CC4C 00099BAC 41 82 01 18 */ beq lbl_8009CD64 +/* 8009CC50 00099BB0 40 80 00 10 */ bge lbl_8009CC60 +/* 8009CC54 00099BB4 2C 00 00 00 */ cmpwi r0, 0 +/* 8009CC58 00099BB8 40 80 00 14 */ bge lbl_8009CC6C +/* 8009CC5C 00099BBC 48 00 02 58 */ b lbl_8009CEB4 +lbl_8009CC60: +/* 8009CC60 00099BC0 2C 00 00 03 */ cmpwi r0, 3 +/* 8009CC64 00099BC4 40 80 02 50 */ bge lbl_8009CEB4 +/* 8009CC68 00099BC8 48 00 02 44 */ b lbl_8009CEAC +lbl_8009CC6C: +/* 8009CC6C 00099BCC 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8009CC70 00099BD0 38 7F 00 4C */ addi r3, r31, 0x4c +/* 8009CC74 00099BD4 7C 65 1B 78 */ mr r5, r3 +/* 8009CC78 00099BD8 54 00 18 38 */ slwi r0, r0, 3 +/* 8009CC7C 00099BDC 7C 83 02 14 */ add r4, r3, r0 +/* 8009CC80 00099BE0 48 00 00 20 */ b lbl_8009CCA0 +lbl_8009CC84: +/* 8009CC84 00099BE4 80 65 00 00 */ lwz r3, 0(r5) +/* 8009CC88 00099BE8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8009CC8C 00099BEC 28 00 00 00 */ cmplwi r0, 0 +/* 8009CC90 00099BF0 40 82 00 0C */ bne lbl_8009CC9C +/* 8009CC94 00099BF4 38 60 00 00 */ li r3, 0 +/* 8009CC98 00099BF8 48 00 02 20 */ b lbl_8009CEB8 +lbl_8009CC9C: +/* 8009CC9C 00099BFC 38 A5 00 08 */ addi r5, r5, 8 +lbl_8009CCA0: +/* 8009CCA0 00099C00 7C 05 20 40 */ cmplw r5, r4 +/* 8009CCA4 00099C04 40 82 FF E0 */ bne lbl_8009CC84 +/* 8009CCA8 00099C08 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8009CCAC 00099C0C 28 00 00 00 */ cmplwi r0, 0 +/* 8009CCB0 00099C10 41 82 00 0C */ beq lbl_8009CCBC +/* 8009CCB4 00099C14 38 60 00 01 */ li r3, 1 +/* 8009CCB8 00099C18 48 00 00 3C */ b lbl_8009CCF4 +lbl_8009CCBC: +/* 8009CCBC 00099C1C 88 1F 00 34 */ lbz r0, 0x34(r31) +/* 8009CCC0 00099C20 28 00 00 00 */ cmplwi r0, 0 +/* 8009CCC4 00099C24 41 82 00 2C */ beq lbl_8009CCF0 +/* 8009CCC8 00099C28 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8009CCCC 00099C2C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8009CCD0 00099C30 28 00 00 00 */ cmplwi r0, 0 +/* 8009CCD4 00099C34 41 82 00 1C */ beq lbl_8009CCF0 +/* 8009CCD8 00099C38 38 7F 00 30 */ addi r3, r31, 0x30 +/* 8009CCDC 00099C3C 48 2A 41 31 */ bl GetObj__6CTokenFv +/* 8009CCE0 00099C40 80 03 00 04 */ lwz r0, 4(r3) +/* 8009CCE4 00099C44 38 60 00 01 */ li r3, 1 +/* 8009CCE8 00099C48 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8009CCEC 00099C4C 48 00 00 08 */ b lbl_8009CCF4 +lbl_8009CCF0: +/* 8009CCF0 00099C50 38 60 00 00 */ li r3, 0 +lbl_8009CCF4: +/* 8009CCF4 00099C54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009CCF8 00099C58 41 82 00 64 */ beq lbl_8009CD5C +/* 8009CCFC 00099C5C 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8009CD00 00099C60 28 00 00 00 */ cmplwi r0, 0 +/* 8009CD04 00099C64 41 82 00 0C */ beq lbl_8009CD10 +/* 8009CD08 00099C68 38 60 00 01 */ li r3, 1 +/* 8009CD0C 00099C6C 48 00 00 3C */ b lbl_8009CD48 +lbl_8009CD10: +/* 8009CD10 00099C70 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 8009CD14 00099C74 28 00 00 00 */ cmplwi r0, 0 +/* 8009CD18 00099C78 41 82 00 2C */ beq lbl_8009CD44 +/* 8009CD1C 00099C7C 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 8009CD20 00099C80 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8009CD24 00099C84 28 00 00 00 */ cmplwi r0, 0 +/* 8009CD28 00099C88 41 82 00 1C */ beq lbl_8009CD44 +/* 8009CD2C 00099C8C 38 7F 00 3C */ addi r3, r31, 0x3c +/* 8009CD30 00099C90 48 2A 40 DD */ bl GetObj__6CTokenFv +/* 8009CD34 00099C94 80 03 00 04 */ lwz r0, 4(r3) +/* 8009CD38 00099C98 38 60 00 01 */ li r3, 1 +/* 8009CD3C 00099C9C 90 1F 00 44 */ stw r0, 0x44(r31) +/* 8009CD40 00099CA0 48 00 00 08 */ b lbl_8009CD48 +lbl_8009CD44: +/* 8009CD44 00099CA4 38 60 00 00 */ li r3, 0 +lbl_8009CD48: +/* 8009CD48 00099CA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009CD4C 00099CAC 41 82 00 10 */ beq lbl_8009CD5C +/* 8009CD50 00099CB0 38 00 00 01 */ li r0, 1 +/* 8009CD54 00099CB4 90 1F 00 04 */ stw r0, 4(r31) +/* 8009CD58 00099CB8 48 00 00 0C */ b lbl_8009CD64 +lbl_8009CD5C: +/* 8009CD5C 00099CBC 38 60 00 00 */ li r3, 0 +/* 8009CD60 00099CC0 48 00 01 58 */ b lbl_8009CEB8 +lbl_8009CD64: +/* 8009CD64 00099CC4 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8009CD68 00099CC8 28 00 00 00 */ cmplwi r0, 0 +/* 8009CD6C 00099CCC 41 82 00 0C */ beq lbl_8009CD78 +/* 8009CD70 00099CD0 38 60 00 01 */ li r3, 1 +/* 8009CD74 00099CD4 48 00 00 3C */ b lbl_8009CDB0 +lbl_8009CD78: +/* 8009CD78 00099CD8 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 8009CD7C 00099CDC 28 00 00 00 */ cmplwi r0, 0 +/* 8009CD80 00099CE0 41 82 00 2C */ beq lbl_8009CDAC +/* 8009CD84 00099CE4 80 7F 00 08 */ lwz r3, 8(r31) +/* 8009CD88 00099CE8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8009CD8C 00099CEC 28 00 00 00 */ cmplwi r0, 0 +/* 8009CD90 00099CF0 41 82 00 1C */ beq lbl_8009CDAC +/* 8009CD94 00099CF4 38 7F 00 08 */ addi r3, r31, 8 +/* 8009CD98 00099CF8 48 2A 40 75 */ bl GetObj__6CTokenFv +/* 8009CD9C 00099CFC 80 03 00 04 */ lwz r0, 4(r3) +/* 8009CDA0 00099D00 38 60 00 01 */ li r3, 1 +/* 8009CDA4 00099D04 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8009CDA8 00099D08 48 00 00 08 */ b lbl_8009CDB0 +lbl_8009CDAC: +/* 8009CDAC 00099D0C 38 60 00 00 */ li r3, 0 +lbl_8009CDB0: +/* 8009CDB0 00099D10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009CDB4 00099D14 41 82 00 F0 */ beq lbl_8009CEA4 +/* 8009CDB8 00099D18 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8009CDBC 00099D1C 38 00 00 00 */ li r0, 0 +/* 8009CDC0 00099D20 98 01 00 08 */ stb r0, 8(r1) +/* 8009CDC4 00099D24 83 C3 00 14 */ lwz r30, 0x14(r3) +/* 8009CDC8 00099D28 90 01 00 0C */ stw r0, 0xc(r1) +/* 8009CDCC 00099D2C 57 C3 18 39 */ rlwinm. r3, r30, 3, 0, 0x1c +/* 8009CDD0 00099D30 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8009CDD4 00099D34 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009CDD8 00099D38 40 82 00 0C */ bne lbl_8009CDE4 +/* 8009CDDC 00099D3C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8009CDE0 00099D40 48 00 00 1C */ b lbl_8009CDFC +lbl_8009CDE4: +/* 8009CDE4 00099D44 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009CDE8 00099D48 38 A0 00 00 */ li r5, 0 +/* 8009CDEC 00099D4C 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 8009CDF0 00099D50 38 84 00 0F */ addi r4, r4, 0xf +/* 8009CDF4 00099D54 48 27 8A 25 */ bl __nwa__FUlPCcPCc +/* 8009CDF8 00099D58 90 61 00 1C */ stw r3, 0x1c(r1) +lbl_8009CDFC: +/* 8009CDFC 00099D5C 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8009CE00 00099D60 38 80 00 00 */ li r4, 0 +/* 8009CE04 00099D64 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8009CE08 00099D68 7F C9 03 A6 */ mtctr r30 +/* 8009CE0C 00099D6C 2C 1E 00 00 */ cmpwi r30, 0 +/* 8009CE10 00099D70 40 81 00 24 */ ble lbl_8009CE34 +lbl_8009CE14: +/* 8009CE14 00099D74 28 05 00 00 */ cmplwi r5, 0 +/* 8009CE18 00099D78 41 82 00 14 */ beq lbl_8009CE2C +/* 8009CE1C 00099D7C 88 61 00 08 */ lbz r3, 8(r1) +/* 8009CE20 00099D80 98 65 00 00 */ stb r3, 0(r5) +/* 8009CE24 00099D84 90 05 00 04 */ stw r0, 4(r5) +/* 8009CE28 00099D88 98 81 00 08 */ stb r4, 8(r1) +lbl_8009CE2C: +/* 8009CE2C 00099D8C 38 A5 00 08 */ addi r5, r5, 8 +/* 8009CE30 00099D90 42 00 FF E4 */ bdnz lbl_8009CE14 +lbl_8009CE34: +/* 8009CE34 00099D94 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8009CE38 00099D98 38 81 00 10 */ addi r4, r1, 0x10 +/* 8009CE3C 00099D9C 48 00 00 95 */ bl sub_8009ced0 +/* 8009CE40 00099DA0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009CE44 00099DA4 38 80 FF FF */ li r4, -1 +/* 8009CE48 00099DA8 48 00 01 D1 */ bl sub_8009d018 +/* 8009CE4C 00099DAC 88 01 00 08 */ lbz r0, 8(r1) +/* 8009CE50 00099DB0 28 00 00 00 */ cmplwi r0, 0 +/* 8009CE54 00099DB4 41 82 00 24 */ beq lbl_8009CE78 +/* 8009CE58 00099DB8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8009CE5C 00099DBC 28 03 00 00 */ cmplwi r3, 0 +/* 8009CE60 00099DC0 41 82 00 18 */ beq lbl_8009CE78 +/* 8009CE64 00099DC4 81 83 00 00 */ lwz r12, 0(r3) +/* 8009CE68 00099DC8 38 80 00 01 */ li r4, 1 +/* 8009CE6C 00099DCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009CE70 00099DD0 7D 89 03 A6 */ mtctr r12 +/* 8009CE74 00099DD4 4E 80 04 21 */ bctrl +lbl_8009CE78: +/* 8009CE78 00099DD8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8009CE7C 00099DDC 81 83 00 00 */ lwz r12, 0(r3) +/* 8009CE80 00099DE0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009CE84 00099DE4 7D 89 03 A6 */ mtctr r12 +/* 8009CE88 00099DE8 4E 80 04 21 */ bctrl +/* 8009CE8C 00099DEC 7C 64 1B 78 */ mr r4, r3 +/* 8009CE90 00099DF0 7F E3 FB 78 */ mr r3, r31 +/* 8009CE94 00099DF4 4B FF 8A A9 */ bl SetCurWorldAssetId__11CAutoMapperFi +/* 8009CE98 00099DF8 38 00 00 02 */ li r0, 2 +/* 8009CE9C 00099DFC 90 1F 00 04 */ stw r0, 4(r31) +/* 8009CEA0 00099E00 48 00 00 0C */ b lbl_8009CEAC +lbl_8009CEA4: +/* 8009CEA4 00099E04 38 60 00 00 */ li r3, 0 +/* 8009CEA8 00099E08 48 00 00 10 */ b lbl_8009CEB8 +lbl_8009CEAC: +/* 8009CEAC 00099E0C 38 60 00 01 */ li r3, 1 +/* 8009CEB0 00099E10 48 00 00 08 */ b lbl_8009CEB8 +lbl_8009CEB4: +/* 8009CEB4 00099E14 38 60 00 00 */ li r3, 0 +lbl_8009CEB8: +/* 8009CEB8 00099E18 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8009CEBC 00099E1C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8009CEC0 00099E20 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8009CEC4 00099E24 7C 08 03 A6 */ mtlr r0 +/* 8009CEC8 00099E28 38 21 00 30 */ addi r1, r1, 0x30 +/* 8009CECC 00099E2C 4E 80 00 20 */ blr + +.global sub_8009ced0 +sub_8009ced0: +/* 8009CED0 00099E30 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8009CED4 00099E34 7C 08 02 A6 */ mflr r0 +/* 8009CED8 00099E38 90 01 00 34 */ stw r0, 0x34(r1) +/* 8009CEDC 00099E3C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8009CEE0 00099E40 7C 9F 23 78 */ mr r31, r4 +/* 8009CEE4 00099E44 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8009CEE8 00099E48 7C 7E 1B 78 */ mr r30, r3 +/* 8009CEEC 00099E4C 7C 1E F8 40 */ cmplw r30, r31 +/* 8009CEF0 00099E50 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8009CEF4 00099E54 93 81 00 20 */ stw r28, 0x20(r1) +/* 8009CEF8 00099E58 40 82 00 08 */ bne lbl_8009CF00 +/* 8009CEFC 00099E5C 48 00 00 FC */ b lbl_8009CFF8 +lbl_8009CF00: +/* 8009CF00 00099E60 80 1E 00 04 */ lwz r0, 4(r30) +/* 8009CF04 00099E64 83 9E 00 0C */ lwz r28, 0xc(r30) +/* 8009CF08 00099E68 54 00 18 38 */ slwi r0, r0, 3 +/* 8009CF0C 00099E6C 7F BC 02 14 */ add r29, r28, r0 +/* 8009CF10 00099E70 93 81 00 0C */ stw r28, 0xc(r1) +/* 8009CF14 00099E74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009CF18 00099E78 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8009CF1C 00099E7C 93 81 00 08 */ stw r28, 8(r1) +/* 8009CF20 00099E80 48 00 00 3C */ b lbl_8009CF5C +lbl_8009CF24: +/* 8009CF24 00099E84 28 1C 00 00 */ cmplwi r28, 0 +/* 8009CF28 00099E88 41 82 00 30 */ beq lbl_8009CF58 +/* 8009CF2C 00099E8C 88 1C 00 00 */ lbz r0, 0(r28) +/* 8009CF30 00099E90 28 00 00 00 */ cmplwi r0, 0 +/* 8009CF34 00099E94 41 82 00 24 */ beq lbl_8009CF58 +/* 8009CF38 00099E98 80 7C 00 04 */ lwz r3, 4(r28) +/* 8009CF3C 00099E9C 28 03 00 00 */ cmplwi r3, 0 +/* 8009CF40 00099EA0 41 82 00 18 */ beq lbl_8009CF58 +/* 8009CF44 00099EA4 81 83 00 00 */ lwz r12, 0(r3) +/* 8009CF48 00099EA8 38 80 00 01 */ li r4, 1 +/* 8009CF4C 00099EAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009CF50 00099EB0 7D 89 03 A6 */ mtctr r12 +/* 8009CF54 00099EB4 4E 80 04 21 */ bctrl +lbl_8009CF58: +/* 8009CF58 00099EB8 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8009CF5C: +/* 8009CF5C 00099EBC 7C 1C E8 40 */ cmplw r28, r29 +/* 8009CF60 00099EC0 40 82 FF C4 */ bne lbl_8009CF24 +/* 8009CF64 00099EC4 38 00 00 00 */ li r0, 0 +/* 8009CF68 00099EC8 90 1E 00 04 */ stw r0, 4(r30) +/* 8009CF6C 00099ECC 80 9F 00 04 */ lwz r4, 4(r31) +/* 8009CF70 00099ED0 2C 04 00 00 */ cmpwi r4, 0 +/* 8009CF74 00099ED4 40 82 00 28 */ bne lbl_8009CF9C +/* 8009CF78 00099ED8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8009CF7C 00099EDC 28 03 00 00 */ cmplwi r3, 0 +/* 8009CF80 00099EE0 41 82 00 08 */ beq lbl_8009CF88 +/* 8009CF84 00099EE4 48 27 89 AD */ bl Free__7CMemoryFPCv +lbl_8009CF88: +/* 8009CF88 00099EE8 38 00 00 00 */ li r0, 0 +/* 8009CF8C 00099EEC 90 1E 00 04 */ stw r0, 4(r30) +/* 8009CF90 00099EF0 90 1E 00 08 */ stw r0, 8(r30) +/* 8009CF94 00099EF4 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8009CF98 00099EF8 48 00 00 5C */ b lbl_8009CFF4 +lbl_8009CF9C: +/* 8009CF9C 00099EFC 7F C3 F3 78 */ mr r3, r30 +/* 8009CFA0 00099F00 48 00 11 3D */ bl "reserve__Q24rstl61vector,Q24rstl17rmemory_allocator>Fi" +/* 8009CFA4 00099F04 80 7F 00 04 */ lwz r3, 4(r31) +/* 8009CFA8 00099F08 38 00 00 00 */ li r0, 0 +/* 8009CFAC 00099F0C 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8009CFB0 00099F10 54 63 18 38 */ slwi r3, r3, 3 +/* 8009CFB4 00099F14 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8009CFB8 00099F18 7C A6 1A 14 */ add r5, r6, r3 +/* 8009CFBC 00099F1C 48 00 00 28 */ b lbl_8009CFE4 +lbl_8009CFC0: +/* 8009CFC0 00099F20 28 04 00 00 */ cmplwi r4, 0 +/* 8009CFC4 00099F24 41 82 00 18 */ beq lbl_8009CFDC +/* 8009CFC8 00099F28 88 66 00 00 */ lbz r3, 0(r6) +/* 8009CFCC 00099F2C 98 64 00 00 */ stb r3, 0(r4) +/* 8009CFD0 00099F30 80 66 00 04 */ lwz r3, 4(r6) +/* 8009CFD4 00099F34 90 64 00 04 */ stw r3, 4(r4) +/* 8009CFD8 00099F38 98 06 00 00 */ stb r0, 0(r6) +lbl_8009CFDC: +/* 8009CFDC 00099F3C 38 84 00 08 */ addi r4, r4, 8 +/* 8009CFE0 00099F40 38 C6 00 08 */ addi r6, r6, 8 +lbl_8009CFE4: +/* 8009CFE4 00099F44 7C 06 28 40 */ cmplw r6, r5 +/* 8009CFE8 00099F48 40 82 FF D8 */ bne lbl_8009CFC0 +/* 8009CFEC 00099F4C 80 1F 00 04 */ lwz r0, 4(r31) +/* 8009CFF0 00099F50 90 1E 00 04 */ stw r0, 4(r30) +lbl_8009CFF4: +/* 8009CFF4 00099F54 7F C3 F3 78 */ mr r3, r30 +lbl_8009CFF8: +/* 8009CFF8 00099F58 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8009CFFC 00099F5C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8009D000 00099F60 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8009D004 00099F64 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8009D008 00099F68 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8009D00C 00099F6C 7C 08 03 A6 */ mtlr r0 +/* 8009D010 00099F70 38 21 00 30 */ addi r1, r1, 0x30 +/* 8009D014 00099F74 4E 80 00 20 */ blr + +.global sub_8009d018 +sub_8009d018: +/* 8009D018 00099F78 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8009D01C 00099F7C 7C 08 02 A6 */ mflr r0 +/* 8009D020 00099F80 90 01 00 34 */ stw r0, 0x34(r1) +/* 8009D024 00099F84 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8009D028 00099F88 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8009D02C 00099F8C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8009D030 00099F90 7C 9D 23 78 */ mr r29, r4 +/* 8009D034 00099F94 93 81 00 20 */ stw r28, 0x20(r1) +/* 8009D038 00099F98 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8009D03C 00099F9C 41 82 00 88 */ beq lbl_8009D0C4 +/* 8009D040 00099FA0 80 1C 00 04 */ lwz r0, 4(r28) +/* 8009D044 00099FA4 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8009D048 00099FA8 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D04C 00099FAC 7F FE 02 14 */ add r31, r30, r0 +/* 8009D050 00099FB0 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8009D054 00099FB4 93 E1 00 08 */ stw r31, 8(r1) +/* 8009D058 00099FB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009D05C 00099FBC 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8009D060 00099FC0 48 00 00 3C */ b lbl_8009D09C +lbl_8009D064: +/* 8009D064 00099FC4 28 1E 00 00 */ cmplwi r30, 0 +/* 8009D068 00099FC8 41 82 00 30 */ beq lbl_8009D098 +/* 8009D06C 00099FCC 88 1E 00 00 */ lbz r0, 0(r30) +/* 8009D070 00099FD0 28 00 00 00 */ cmplwi r0, 0 +/* 8009D074 00099FD4 41 82 00 24 */ beq lbl_8009D098 +/* 8009D078 00099FD8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8009D07C 00099FDC 28 03 00 00 */ cmplwi r3, 0 +/* 8009D080 00099FE0 41 82 00 18 */ beq lbl_8009D098 +/* 8009D084 00099FE4 81 83 00 00 */ lwz r12, 0(r3) +/* 8009D088 00099FE8 38 80 00 01 */ li r4, 1 +/* 8009D08C 00099FEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009D090 00099FF0 7D 89 03 A6 */ mtctr r12 +/* 8009D094 00099FF4 4E 80 04 21 */ bctrl +lbl_8009D098: +/* 8009D098 00099FF8 3B DE 00 08 */ addi r30, r30, 8 +lbl_8009D09C: +/* 8009D09C 00099FFC 7C 1E F8 40 */ cmplw r30, r31 +/* 8009D0A0 0009A000 40 82 FF C4 */ bne lbl_8009D064 +/* 8009D0A4 0009A004 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8009D0A8 0009A008 28 03 00 00 */ cmplwi r3, 0 +/* 8009D0AC 0009A00C 41 82 00 08 */ beq lbl_8009D0B4 +/* 8009D0B0 0009A010 48 27 88 81 */ bl Free__7CMemoryFPCv +lbl_8009D0B4: +/* 8009D0B4 0009A014 7F A0 07 35 */ extsh. r0, r29 +/* 8009D0B8 0009A018 40 81 00 0C */ ble lbl_8009D0C4 +/* 8009D0BC 0009A01C 7F 83 E3 78 */ mr r3, r28 +/* 8009D0C0 0009A020 48 27 88 71 */ bl Free__7CMemoryFPCv +lbl_8009D0C4: +/* 8009D0C4 0009A024 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8009D0C8 0009A028 7F 83 E3 78 */ mr r3, r28 +/* 8009D0CC 0009A02C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8009D0D0 0009A030 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8009D0D4 0009A034 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8009D0D8 0009A038 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8009D0DC 0009A03C 7C 08 03 A6 */ mtlr r0 +/* 8009D0E0 0009A040 38 21 00 30 */ addi r1, r1, 0x30 +/* 8009D0E4 0009A044 4E 80 00 20 */ blr + +.global __dt__11CAutoMapperFv +__dt__11CAutoMapperFv: +/* 8009D0E8 0009A048 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009D0EC 0009A04C 7C 08 02 A6 */ mflr r0 +/* 8009D0F0 0009A050 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009D0F4 0009A054 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009D0F8 0009A058 7C 9F 23 78 */ mr r31, r4 +/* 8009D0FC 0009A05C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009D100 0009A060 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8009D104 0009A064 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009D108 0009A068 93 81 00 10 */ stw r28, 0x10(r1) +/* 8009D10C 0009A06C 41 82 02 9C */ beq lbl_8009D3A8 +/* 8009D110 0009A070 3C 80 80 3E */ lis r4, lbl_803DAE70@ha +/* 8009D114 0009A074 38 60 00 02 */ li r3, 2 +/* 8009D118 0009A078 38 04 AE 70 */ addi r0, r4, lbl_803DAE70@l +/* 8009D11C 0009A07C 90 1E 00 00 */ stw r0, 0(r30) +/* 8009D120 0009A080 48 24 C9 95 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 8009D124 0009A084 34 1E 02 D0 */ addic. r0, r30, 0x2d0 +/* 8009D128 0009A088 41 82 00 38 */ beq lbl_8009D160 +/* 8009D12C 0009A08C 3B 9E 02 D4 */ addi r28, r30, 0x2d4 +/* 8009D130 0009A090 3B A0 00 00 */ li r29, 0 +/* 8009D134 0009A094 48 00 00 18 */ b lbl_8009D14C +lbl_8009D138: +/* 8009D138 0009A098 7F 83 E3 78 */ mr r3, r28 +/* 8009D13C 0009A09C 38 80 FF FF */ li r4, -1 +/* 8009D140 0009A0A0 48 2A 3D 01 */ bl __dt__6CTokenFv +/* 8009D144 0009A0A4 3B 9C 00 08 */ addi r28, r28, 8 +/* 8009D148 0009A0A8 3B BD 00 01 */ addi r29, r29, 1 +lbl_8009D14C: +/* 8009D14C 0009A0AC 80 1E 02 D0 */ lwz r0, 0x2d0(r30) +/* 8009D150 0009A0B0 7C 1D 00 00 */ cmpw r29, r0 +/* 8009D154 0009A0B4 41 80 FF E4 */ blt lbl_8009D138 +/* 8009D158 0009A0B8 38 00 00 00 */ li r0, 0 +/* 8009D15C 0009A0BC 90 1E 02 D0 */ stw r0, 0x2d0(r30) +lbl_8009D160: +/* 8009D160 0009A0C0 34 1E 02 BC */ addic. r0, r30, 0x2bc +/* 8009D164 0009A0C4 41 82 00 38 */ beq lbl_8009D19C +/* 8009D168 0009A0C8 3B 9E 02 C0 */ addi r28, r30, 0x2c0 +/* 8009D16C 0009A0CC 3B A0 00 00 */ li r29, 0 +/* 8009D170 0009A0D0 48 00 00 18 */ b lbl_8009D188 +lbl_8009D174: +/* 8009D174 0009A0D4 7F 83 E3 78 */ mr r3, r28 +/* 8009D178 0009A0D8 38 80 FF FF */ li r4, -1 +/* 8009D17C 0009A0DC 48 2A 3C C5 */ bl __dt__6CTokenFv +/* 8009D180 0009A0E0 3B 9C 00 08 */ addi r28, r28, 8 +/* 8009D184 0009A0E4 3B BD 00 01 */ addi r29, r29, 1 +lbl_8009D188: +/* 8009D188 0009A0E8 80 1E 02 BC */ lwz r0, 0x2bc(r30) +/* 8009D18C 0009A0EC 7C 1D 00 00 */ cmpw r29, r0 +/* 8009D190 0009A0F0 41 80 FF E4 */ blt lbl_8009D174 +/* 8009D194 0009A0F4 38 00 00 00 */ li r0, 0 +/* 8009D198 0009A0F8 90 1E 02 BC */ stw r0, 0x2bc(r30) +lbl_8009D19C: +/* 8009D19C 0009A0FC 34 1E 02 A8 */ addic. r0, r30, 0x2a8 +/* 8009D1A0 0009A100 41 82 00 38 */ beq lbl_8009D1D8 +/* 8009D1A4 0009A104 3B 9E 02 AC */ addi r28, r30, 0x2ac +/* 8009D1A8 0009A108 3B A0 00 00 */ li r29, 0 +/* 8009D1AC 0009A10C 48 00 00 18 */ b lbl_8009D1C4 +lbl_8009D1B0: +/* 8009D1B0 0009A110 7F 83 E3 78 */ mr r3, r28 +/* 8009D1B4 0009A114 38 80 FF FF */ li r4, -1 +/* 8009D1B8 0009A118 48 2A 3C 89 */ bl __dt__6CTokenFv +/* 8009D1BC 0009A11C 3B 9C 00 08 */ addi r28, r28, 8 +/* 8009D1C0 0009A120 3B BD 00 01 */ addi r29, r29, 1 +lbl_8009D1C4: +/* 8009D1C4 0009A124 80 1E 02 A8 */ lwz r0, 0x2a8(r30) +/* 8009D1C8 0009A128 7C 1D 00 00 */ cmpw r29, r0 +/* 8009D1CC 0009A12C 41 80 FF E4 */ blt lbl_8009D1B0 +/* 8009D1D0 0009A130 38 00 00 00 */ li r0, 0 +/* 8009D1D4 0009A134 90 1E 02 A8 */ stw r0, 0x2a8(r30) +lbl_8009D1D8: +/* 8009D1D8 0009A138 34 1E 02 5C */ addic. r0, r30, 0x25c +/* 8009D1DC 0009A13C 41 82 00 38 */ beq lbl_8009D214 +/* 8009D1E0 0009A140 3B 9E 02 60 */ addi r28, r30, 0x260 +/* 8009D1E4 0009A144 3B A0 00 00 */ li r29, 0 +/* 8009D1E8 0009A148 48 00 00 18 */ b lbl_8009D200 +lbl_8009D1EC: +/* 8009D1EC 0009A14C 7F 83 E3 78 */ mr r3, r28 +/* 8009D1F0 0009A150 38 80 FF FF */ li r4, -1 +/* 8009D1F4 0009A154 48 2A 3C 4D */ bl __dt__6CTokenFv +/* 8009D1F8 0009A158 3B 9C 00 08 */ addi r28, r28, 8 +/* 8009D1FC 0009A15C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8009D200: +/* 8009D200 0009A160 80 1E 02 5C */ lwz r0, 0x25c(r30) +/* 8009D204 0009A164 7C 1D 00 00 */ cmpw r29, r0 +/* 8009D208 0009A168 41 80 FF E4 */ blt lbl_8009D1EC +/* 8009D20C 0009A16C 38 00 00 00 */ li r0, 0 +/* 8009D210 0009A170 90 1E 02 5C */ stw r0, 0x25c(r30) +lbl_8009D214: +/* 8009D214 0009A174 34 1E 02 10 */ addic. r0, r30, 0x210 +/* 8009D218 0009A178 41 82 00 38 */ beq lbl_8009D250 +/* 8009D21C 0009A17C 3B 9E 02 14 */ addi r28, r30, 0x214 +/* 8009D220 0009A180 3B A0 00 00 */ li r29, 0 +/* 8009D224 0009A184 48 00 00 18 */ b lbl_8009D23C +lbl_8009D228: +/* 8009D228 0009A188 7F 83 E3 78 */ mr r3, r28 +/* 8009D22C 0009A18C 38 80 FF FF */ li r4, -1 +/* 8009D230 0009A190 48 2A 3C 11 */ bl __dt__6CTokenFv +/* 8009D234 0009A194 3B 9C 00 08 */ addi r28, r28, 8 +/* 8009D238 0009A198 3B BD 00 01 */ addi r29, r29, 1 +lbl_8009D23C: +/* 8009D23C 0009A19C 80 1E 02 10 */ lwz r0, 0x210(r30) +/* 8009D240 0009A1A0 7C 1D 00 00 */ cmpw r29, r0 +/* 8009D244 0009A1A4 41 80 FF E4 */ blt lbl_8009D228 +/* 8009D248 0009A1A8 38 00 00 00 */ li r0, 0 +/* 8009D24C 0009A1AC 90 1E 02 10 */ stw r0, 0x210(r30) +lbl_8009D250: +/* 8009D250 0009A1B0 38 7E 01 F8 */ addi r3, r30, 0x1f8 +/* 8009D254 0009A1B4 38 80 FF FF */ li r4, -1 +/* 8009D258 0009A1B8 48 00 11 19 */ bl sub_8009e370 +/* 8009D25C 0009A1BC 38 7E 01 E0 */ addi r3, r30, 0x1e0 +/* 8009D260 0009A1C0 38 80 FF FF */ li r4, -1 +/* 8009D264 0009A1C4 48 00 10 19 */ bl sub_8009e27c +/* 8009D268 0009A1C8 34 1E 00 8C */ addic. r0, r30, 0x8c +/* 8009D26C 0009A1CC 41 82 00 30 */ beq lbl_8009D29C +/* 8009D270 0009A1D0 88 1E 00 98 */ lbz r0, 0x98(r30) +/* 8009D274 0009A1D4 28 00 00 00 */ cmplwi r0, 0 +/* 8009D278 0009A1D8 41 82 00 1C */ beq lbl_8009D294 +/* 8009D27C 0009A1DC 34 7E 00 8C */ addic. r3, r30, 0x8c +/* 8009D280 0009A1E0 41 82 00 14 */ beq lbl_8009D294 +/* 8009D284 0009A1E4 28 03 00 00 */ cmplwi r3, 0 +/* 8009D288 0009A1E8 41 82 00 0C */ beq lbl_8009D294 +/* 8009D28C 0009A1EC 38 80 00 00 */ li r4, 0 +/* 8009D290 0009A1F0 48 2A 3B B1 */ bl __dt__6CTokenFv +lbl_8009D294: +/* 8009D294 0009A1F4 38 00 00 00 */ li r0, 0 +/* 8009D298 0009A1F8 98 1E 00 98 */ stb r0, 0x98(r30) +lbl_8009D29C: +/* 8009D29C 0009A1FC 34 1E 00 78 */ addic. r0, r30, 0x78 +/* 8009D2A0 0009A200 41 82 00 30 */ beq lbl_8009D2D0 +/* 8009D2A4 0009A204 88 1E 00 84 */ lbz r0, 0x84(r30) +/* 8009D2A8 0009A208 28 00 00 00 */ cmplwi r0, 0 +/* 8009D2AC 0009A20C 41 82 00 1C */ beq lbl_8009D2C8 +/* 8009D2B0 0009A210 34 7E 00 78 */ addic. r3, r30, 0x78 +/* 8009D2B4 0009A214 41 82 00 14 */ beq lbl_8009D2C8 +/* 8009D2B8 0009A218 28 03 00 00 */ cmplwi r3, 0 +/* 8009D2BC 0009A21C 41 82 00 0C */ beq lbl_8009D2C8 +/* 8009D2C0 0009A220 38 80 00 00 */ li r4, 0 +/* 8009D2C4 0009A224 48 2A 3B 7D */ bl __dt__6CTokenFv +lbl_8009D2C8: +/* 8009D2C8 0009A228 38 00 00 00 */ li r0, 0 +/* 8009D2CC 0009A22C 98 1E 00 84 */ stb r0, 0x84(r30) +lbl_8009D2D0: +/* 8009D2D0 0009A230 34 1E 00 48 */ addic. r0, r30, 0x48 +/* 8009D2D4 0009A234 41 82 00 38 */ beq lbl_8009D30C +/* 8009D2D8 0009A238 3B 9E 00 4C */ addi r28, r30, 0x4c +/* 8009D2DC 0009A23C 3B A0 00 00 */ li r29, 0 +/* 8009D2E0 0009A240 48 00 00 18 */ b lbl_8009D2F8 +lbl_8009D2E4: +/* 8009D2E4 0009A244 7F 83 E3 78 */ mr r3, r28 +/* 8009D2E8 0009A248 38 80 FF FF */ li r4, -1 +/* 8009D2EC 0009A24C 48 2A 3B 55 */ bl __dt__6CTokenFv +/* 8009D2F0 0009A250 3B 9C 00 08 */ addi r28, r28, 8 +/* 8009D2F4 0009A254 3B BD 00 01 */ addi r29, r29, 1 +lbl_8009D2F8: +/* 8009D2F8 0009A258 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 8009D2FC 0009A25C 7C 1D 00 00 */ cmpw r29, r0 +/* 8009D300 0009A260 41 80 FF E4 */ blt lbl_8009D2E4 +/* 8009D304 0009A264 38 00 00 00 */ li r0, 0 +/* 8009D308 0009A268 90 1E 00 48 */ stw r0, 0x48(r30) +lbl_8009D30C: +/* 8009D30C 0009A26C 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 8009D310 0009A270 41 82 00 18 */ beq lbl_8009D328 +/* 8009D314 0009A274 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 8009D318 0009A278 41 82 00 10 */ beq lbl_8009D328 +/* 8009D31C 0009A27C 38 7E 00 3C */ addi r3, r30, 0x3c +/* 8009D320 0009A280 38 80 00 00 */ li r4, 0 +/* 8009D324 0009A284 48 2A 3B 1D */ bl __dt__6CTokenFv +lbl_8009D328: +/* 8009D328 0009A288 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8009D32C 0009A28C 41 82 00 18 */ beq lbl_8009D344 +/* 8009D330 0009A290 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8009D334 0009A294 41 82 00 10 */ beq lbl_8009D344 +/* 8009D338 0009A298 38 7E 00 30 */ addi r3, r30, 0x30 +/* 8009D33C 0009A29C 38 80 00 00 */ li r4, 0 +/* 8009D340 0009A2A0 48 2A 3B 01 */ bl __dt__6CTokenFv +lbl_8009D344: +/* 8009D344 0009A2A4 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 8009D348 0009A2A8 41 82 00 28 */ beq lbl_8009D370 +/* 8009D34C 0009A2AC 83 BE 00 28 */ lwz r29, 0x28(r30) +/* 8009D350 0009A2B0 28 1D 00 00 */ cmplwi r29, 0 +/* 8009D354 0009A2B4 41 82 00 1C */ beq lbl_8009D370 +/* 8009D358 0009A2B8 41 82 00 10 */ beq lbl_8009D368 +/* 8009D35C 0009A2BC 7F A3 EB 78 */ mr r3, r29 +/* 8009D360 0009A2C0 38 80 00 00 */ li r4, 0 +/* 8009D364 0009A2C4 48 2A 3A DD */ bl __dt__6CTokenFv +lbl_8009D368: +/* 8009D368 0009A2C8 7F A3 EB 78 */ mr r3, r29 +/* 8009D36C 0009A2CC 48 27 85 C5 */ bl Free__7CMemoryFPCv +lbl_8009D370: +/* 8009D370 0009A2D0 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8009D374 0009A2D4 38 80 FF FF */ li r4, -1 +/* 8009D378 0009A2D8 4B FF FC A1 */ bl sub_8009d018 +/* 8009D37C 0009A2DC 34 1E 00 08 */ addic. r0, r30, 8 +/* 8009D380 0009A2E0 41 82 00 18 */ beq lbl_8009D398 +/* 8009D384 0009A2E4 34 1E 00 08 */ addic. r0, r30, 8 +/* 8009D388 0009A2E8 41 82 00 10 */ beq lbl_8009D398 +/* 8009D38C 0009A2EC 38 7E 00 08 */ addi r3, r30, 8 +/* 8009D390 0009A2F0 38 80 00 00 */ li r4, 0 +/* 8009D394 0009A2F4 48 2A 3A AD */ bl __dt__6CTokenFv +lbl_8009D398: +/* 8009D398 0009A2F8 7F E0 07 35 */ extsh. r0, r31 +/* 8009D39C 0009A2FC 40 81 00 0C */ ble lbl_8009D3A8 +/* 8009D3A0 0009A300 7F C3 F3 78 */ mr r3, r30 +/* 8009D3A4 0009A304 48 27 85 8D */ bl Free__7CMemoryFPCv +lbl_8009D3A8: +/* 8009D3A8 0009A308 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009D3AC 0009A30C 7F C3 F3 78 */ mr r3, r30 +/* 8009D3B0 0009A310 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009D3B4 0009A314 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009D3B8 0009A318 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009D3BC 0009A31C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8009D3C0 0009A320 7C 08 03 A6 */ mtlr r0 +/* 8009D3C4 0009A324 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009D3C8 0009A328 4E 80 00 20 */ blr + +.global "SetResLockState,2>>__11CAutoMapperFv" +"SetResLockState,2>>__11CAutoMapperFv": +/* 8009D3CC 0009A32C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009D3D0 0009A330 7C 08 02 A6 */ mflr r0 +/* 8009D3D4 0009A334 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009D3D8 0009A338 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009D3DC 0009A33C 54 BF 06 3E */ clrlwi r31, r5, 0x18 +/* 8009D3E0 0009A340 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009D3E4 0009A344 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009D3E8 0009A348 7C 9D 23 78 */ mr r29, r4 +/* 8009D3EC 0009A34C 3B DD 00 04 */ addi r30, r29, 4 +/* 8009D3F0 0009A350 48 00 00 24 */ b lbl_8009D414 +lbl_8009D3F4: +/* 8009D3F4 0009A354 28 1F 00 00 */ cmplwi r31, 0 +/* 8009D3F8 0009A358 41 82 00 10 */ beq lbl_8009D408 +/* 8009D3FC 0009A35C 7F C3 F3 78 */ mr r3, r30 +/* 8009D400 0009A360 48 2A 39 85 */ bl Lock__6CTokenFv +/* 8009D404 0009A364 48 00 00 0C */ b lbl_8009D410 +lbl_8009D408: +/* 8009D408 0009A368 7F C3 F3 78 */ mr r3, r30 +/* 8009D40C 0009A36C 48 2A 39 35 */ bl Unlock__6CTokenFv +lbl_8009D410: +/* 8009D410 0009A370 3B DE 00 08 */ addi r30, r30, 8 +lbl_8009D414: +/* 8009D414 0009A374 80 1D 00 00 */ lwz r0, 0(r29) +/* 8009D418 0009A378 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D41C 0009A37C 7C 7D 02 14 */ add r3, r29, r0 +/* 8009D420 0009A380 38 03 00 04 */ addi r0, r3, 4 +/* 8009D424 0009A384 7C 1E 00 40 */ cmplw r30, r0 +/* 8009D428 0009A388 40 82 FF CC */ bne lbl_8009D3F4 +/* 8009D42C 0009A38C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009D430 0009A390 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009D434 0009A394 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009D438 0009A398 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009D43C 0009A39C 7C 08 03 A6 */ mtlr r0 +/* 8009D440 0009A3A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009D444 0009A3A4 4E 80 00 20 */ blr + +.global "SetResLockState,9>>__11CAutoMapperFv" +"SetResLockState,9>>__11CAutoMapperFv": +/* 8009D448 0009A3A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009D44C 0009A3AC 7C 08 02 A6 */ mflr r0 +/* 8009D450 0009A3B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009D454 0009A3B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009D458 0009A3B8 54 BF 06 3E */ clrlwi r31, r5, 0x18 +/* 8009D45C 0009A3BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009D460 0009A3C0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009D464 0009A3C4 7C 9D 23 78 */ mr r29, r4 +/* 8009D468 0009A3C8 3B DD 00 04 */ addi r30, r29, 4 +/* 8009D46C 0009A3CC 48 00 00 24 */ b lbl_8009D490 +lbl_8009D470: +/* 8009D470 0009A3D0 28 1F 00 00 */ cmplwi r31, 0 +/* 8009D474 0009A3D4 41 82 00 10 */ beq lbl_8009D484 +/* 8009D478 0009A3D8 7F C3 F3 78 */ mr r3, r30 +/* 8009D47C 0009A3DC 48 2A 39 09 */ bl Lock__6CTokenFv +/* 8009D480 0009A3E0 48 00 00 0C */ b lbl_8009D48C +lbl_8009D484: +/* 8009D484 0009A3E4 7F C3 F3 78 */ mr r3, r30 +/* 8009D488 0009A3E8 48 2A 38 B9 */ bl Unlock__6CTokenFv +lbl_8009D48C: +/* 8009D48C 0009A3EC 3B DE 00 08 */ addi r30, r30, 8 +lbl_8009D490: +/* 8009D490 0009A3F0 80 1D 00 00 */ lwz r0, 0(r29) +/* 8009D494 0009A3F4 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D498 0009A3F8 7C 7D 02 14 */ add r3, r29, r0 +/* 8009D49C 0009A3FC 38 03 00 04 */ addi r0, r3, 4 +/* 8009D4A0 0009A400 7C 1E 00 40 */ cmplw r30, r0 +/* 8009D4A4 0009A404 40 82 FF CC */ bne lbl_8009D470 +/* 8009D4A8 0009A408 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009D4AC 0009A40C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009D4B0 0009A410 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009D4B4 0009A414 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009D4B8 0009A418 7C 08 03 A6 */ mtlr r0 +/* 8009D4BC 0009A41C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009D4C0 0009A420 4E 80 00 20 */ blr + +.global __ct__11CAutoMapperFR13CStateManager +__ct__11CAutoMapperFR13CStateManager: +/* 8009D4C4 0009A424 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 8009D4C8 0009A428 7C 08 02 A6 */ mflr r0 +/* 8009D4CC 0009A42C 3C A0 80 3E */ lis r5, lbl_803DAE70@ha +/* 8009D4D0 0009A430 90 01 01 54 */ stw r0, 0x154(r1) +/* 8009D4D4 0009A434 38 05 AE 70 */ addi r0, r5, lbl_803DAE70@l +/* 8009D4D8 0009A438 BF 21 01 34 */ stmw r25, 0x134(r1) +/* 8009D4DC 0009A43C 7C 7F 1B 78 */ mr r31, r3 +/* 8009D4E0 0009A440 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 8009D4E4 0009A444 7C 99 23 78 */ mr r25, r4 +/* 8009D4E8 0009A448 38 A3 D8 0C */ addi r5, r3, lbl_803CD80C@l +/* 8009D4EC 0009A44C 38 61 00 BC */ addi r3, r1, 0xbc +/* 8009D4F0 0009A450 38 A5 01 21 */ addi r5, r5, 0x121 +/* 8009D4F4 0009A454 90 1F 00 00 */ stw r0, 0(r31) +/* 8009D4F8 0009A458 38 00 00 00 */ li r0, 0 +/* 8009D4FC 0009A45C 90 1F 00 04 */ stw r0, 4(r31) +/* 8009D500 0009A460 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009D504 0009A464 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D508 0009A468 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8009D50C 0009A46C 7D 89 03 A6 */ mtctr r12 +/* 8009D510 0009A470 4E 80 04 21 */ bctrl +/* 8009D514 0009A474 3B 5F 00 08 */ addi r26, r31, 8 +/* 8009D518 0009A478 38 81 00 BC */ addi r4, r1, 0xbc +/* 8009D51C 0009A47C 7F 43 D3 78 */ mr r3, r26 +/* 8009D520 0009A480 48 2A 39 89 */ bl __ct__6CTokenFRC6CToken +/* 8009D524 0009A484 38 00 00 00 */ li r0, 0 +/* 8009D528 0009A488 38 61 00 BC */ addi r3, r1, 0xbc +/* 8009D52C 0009A48C 90 1A 00 08 */ stw r0, 8(r26) +/* 8009D530 0009A490 38 80 FF FF */ li r4, -1 +/* 8009D534 0009A494 48 2A 39 0D */ bl __dt__6CTokenFv +/* 8009D538 0009A498 38 C0 00 00 */ li r6, 0 +/* 8009D53C 0009A49C 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 8009D540 0009A4A0 90 DF 00 18 */ stw r6, 0x18(r31) +/* 8009D544 0009A4A4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l +/* 8009D548 0009A4A8 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8009D54C 0009A4AC 90 DF 00 1C */ stw r6, 0x1c(r31) +/* 8009D550 0009A4B0 38 A4 01 32 */ addi r5, r4, 0x132 +/* 8009D554 0009A4B4 90 DF 00 20 */ stw r6, 0x20(r31) +/* 8009D558 0009A4B8 80 19 08 50 */ lwz r0, 0x850(r25) +/* 8009D55C 0009A4BC 90 1F 00 24 */ stw r0, 0x24(r31) +/* 8009D560 0009A4C0 90 DF 00 28 */ stw r6, 0x28(r31) +/* 8009D564 0009A4C4 90 DF 00 2C */ stw r6, 0x2c(r31) +/* 8009D568 0009A4C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009D56C 0009A4CC 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D570 0009A4D0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8009D574 0009A4D4 7D 89 03 A6 */ mtctr r12 +/* 8009D578 0009A4D8 4E 80 04 21 */ bctrl +/* 8009D57C 0009A4DC 3B 5F 00 30 */ addi r26, r31, 0x30 +/* 8009D580 0009A4E0 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8009D584 0009A4E4 7F 43 D3 78 */ mr r3, r26 +/* 8009D588 0009A4E8 48 2A 39 21 */ bl __ct__6CTokenFRC6CToken +/* 8009D58C 0009A4EC 38 00 00 00 */ li r0, 0 +/* 8009D590 0009A4F0 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8009D594 0009A4F4 90 1A 00 08 */ stw r0, 8(r26) +/* 8009D598 0009A4F8 38 80 FF FF */ li r4, -1 +/* 8009D59C 0009A4FC 48 2A 38 A5 */ bl __dt__6CTokenFv +/* 8009D5A0 0009A500 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009D5A4 0009A504 3C 60 80 3D */ lis r3, lbl_803CD80C@ha +/* 8009D5A8 0009A508 38 A3 D8 0C */ addi r5, r3, lbl_803CD80C@l +/* 8009D5AC 0009A50C 38 61 00 AC */ addi r3, r1, 0xac +/* 8009D5B0 0009A510 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D5B4 0009A514 38 A5 01 44 */ addi r5, r5, 0x144 +/* 8009D5B8 0009A518 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8009D5BC 0009A51C 7D 89 03 A6 */ mtctr r12 +/* 8009D5C0 0009A520 4E 80 04 21 */ bctrl +/* 8009D5C4 0009A524 3B 5F 00 3C */ addi r26, r31, 0x3c +/* 8009D5C8 0009A528 38 81 00 AC */ addi r4, r1, 0xac +/* 8009D5CC 0009A52C 7F 43 D3 78 */ mr r3, r26 +/* 8009D5D0 0009A530 48 2A 38 D9 */ bl __ct__6CTokenFRC6CToken +/* 8009D5D4 0009A534 38 00 00 00 */ li r0, 0 +/* 8009D5D8 0009A538 38 61 00 AC */ addi r3, r1, 0xac +/* 8009D5DC 0009A53C 90 1A 00 08 */ stw r0, 8(r26) +/* 8009D5E0 0009A540 38 80 FF FF */ li r4, -1 +/* 8009D5E4 0009A544 48 2A 38 5D */ bl __dt__6CTokenFv +/* 8009D5E8 0009A548 38 80 00 00 */ li r4, 0 +/* 8009D5EC 0009A54C 38 00 FF FF */ li r0, -1 +/* 8009D5F0 0009A550 90 9F 00 48 */ stw r4, 0x48(r31) +/* 8009D5F4 0009A554 38 61 00 08 */ addi r3, r1, 8 +/* 8009D5F8 0009A558 90 1F 00 74 */ stw r0, 0x74(r31) +/* 8009D5FC 0009A55C 98 9F 00 84 */ stb r4, 0x84(r31) +/* 8009D600 0009A560 90 1F 00 88 */ stw r0, 0x88(r31) +/* 8009D604 0009A564 98 9F 00 98 */ stb r4, 0x98(r31) +/* 8009D608 0009A568 90 9F 00 9C */ stw r4, 0x9c(r31) +/* 8009D60C 0009A56C 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8009D610 0009A570 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D614 0009A574 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8009D618 0009A578 7D 89 03 A6 */ mtctr r12 +/* 8009D61C 0009A57C 4E 80 04 21 */ bctrl +/* 8009D620 0009A580 80 01 00 08 */ lwz r0, 8(r1) +/* 8009D624 0009A584 7F 24 CB 78 */ mr r4, r25 +/* 8009D628 0009A588 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 8009D62C 0009A58C 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 8009D630 0009A590 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 8009D634 0009A594 80 79 08 70 */ lwz r3, 0x870(r25) +/* 8009D638 0009A598 4B F6 E4 E1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8009D63C 0009A59C 7C 64 1B 78 */ mr r4, r3 +/* 8009D640 0009A5A0 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8009D644 0009A5A4 38 84 00 34 */ addi r4, r4, 0x34 +/* 8009D648 0009A5A8 48 27 4A E1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8009D64C 0009A5AC 80 FF 00 A0 */ lwz r7, 0xa0(r31) +/* 8009D650 0009A5B0 7F E4 FB 78 */ mr r4, r31 +/* 8009D654 0009A5B4 7F 25 CB 78 */ mr r5, r25 +/* 8009D658 0009A5B8 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8009D65C 0009A5BC 38 C1 00 C4 */ addi r6, r1, 0xc4 +/* 8009D660 0009A5C0 4B FF 99 39 */ bl BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni +/* 8009D664 0009A5C4 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8009D668 0009A5C8 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 8009D66C 0009A5CC 4B FF 97 41 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState +/* 8009D670 0009A5D0 38 7F 01 04 */ addi r3, r31, 0x104 +/* 8009D674 0009A5D4 38 9F 00 A8 */ addi r4, r31, 0xa8 +/* 8009D678 0009A5D8 4B FF 97 35 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState +/* 8009D67C 0009A5DC 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8009D680 0009A5E0 38 9F 00 A8 */ addi r4, r31, 0xa8 +/* 8009D684 0009A5E4 4B FF 97 29 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState +/* 8009D688 0009A5E8 38 A0 00 00 */ li r5, 0 +/* 8009D68C 0009A5EC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) +/* 8009D690 0009A5F0 90 BF 01 BC */ stw r5, 0x1bc(r31) +/* 8009D694 0009A5F4 38 9F 01 EC */ addi r4, r31, 0x1ec +/* 8009D698 0009A5F8 38 1F 02 04 */ addi r0, r31, 0x204 +/* 8009D69C 0009A5FC 38 7F 00 08 */ addi r3, r31, 8 +/* 8009D6A0 0009A600 90 BF 01 C0 */ stw r5, 0x1c0(r31) +/* 8009D6A4 0009A604 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) +/* 8009D6A8 0009A608 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) +/* 8009D6AC 0009A60C 90 BF 01 CC */ stw r5, 0x1cc(r31) +/* 8009D6B0 0009A610 90 BF 01 D0 */ stw r5, 0x1d0(r31) +/* 8009D6B4 0009A614 90 BF 01 D4 */ stw r5, 0x1d4(r31) +/* 8009D6B8 0009A618 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) +/* 8009D6BC 0009A61C D0 1F 01 DC */ stfs f0, 0x1dc(r31) +/* 8009D6C0 0009A620 90 9F 01 E4 */ stw r4, 0x1e4(r31) +/* 8009D6C4 0009A624 90 9F 01 E8 */ stw r4, 0x1e8(r31) +/* 8009D6C8 0009A628 90 9F 01 EC */ stw r4, 0x1ec(r31) +/* 8009D6CC 0009A62C 90 9F 01 F0 */ stw r4, 0x1f0(r31) +/* 8009D6D0 0009A630 90 BF 01 F4 */ stw r5, 0x1f4(r31) +/* 8009D6D4 0009A634 90 1F 01 FC */ stw r0, 0x1fc(r31) +/* 8009D6D8 0009A638 90 1F 02 00 */ stw r0, 0x200(r31) +/* 8009D6DC 0009A63C 90 1F 02 04 */ stw r0, 0x204(r31) +/* 8009D6E0 0009A640 90 1F 02 08 */ stw r0, 0x208(r31) +/* 8009D6E4 0009A644 90 BF 02 0C */ stw r5, 0x20c(r31) +/* 8009D6E8 0009A648 90 BF 02 10 */ stw r5, 0x210(r31) +/* 8009D6EC 0009A64C 90 BF 02 5C */ stw r5, 0x25c(r31) +/* 8009D6F0 0009A650 90 BF 02 A8 */ stw r5, 0x2a8(r31) +/* 8009D6F4 0009A654 90 BF 02 BC */ stw r5, 0x2bc(r31) +/* 8009D6F8 0009A658 90 BF 02 D0 */ stw r5, 0x2d0(r31) +/* 8009D6FC 0009A65C 90 BF 02 E4 */ stw r5, 0x2e4(r31) +/* 8009D700 0009A660 90 BF 02 E8 */ stw r5, 0x2e8(r31) +/* 8009D704 0009A664 90 BF 02 EC */ stw r5, 0x2ec(r31) +/* 8009D708 0009A668 90 BF 02 F0 */ stw r5, 0x2f0(r31) +/* 8009D70C 0009A66C 90 BF 02 F4 */ stw r5, 0x2f4(r31) +/* 8009D710 0009A670 90 BF 02 F8 */ stw r5, 0x2f8(r31) +/* 8009D714 0009A674 90 BF 02 FC */ stw r5, 0x2fc(r31) +/* 8009D718 0009A678 90 BF 03 00 */ stw r5, 0x300(r31) +/* 8009D71C 0009A67C 90 BF 03 04 */ stw r5, 0x304(r31) +/* 8009D720 0009A680 90 BF 03 08 */ stw r5, 0x308(r31) +/* 8009D724 0009A684 90 BF 03 0C */ stw r5, 0x30c(r31) +/* 8009D728 0009A688 90 BF 03 10 */ stw r5, 0x310(r31) +/* 8009D72C 0009A68C 90 BF 03 14 */ stw r5, 0x314(r31) +/* 8009D730 0009A690 D0 1F 03 18 */ stfs f0, 0x318(r31) +/* 8009D734 0009A694 D0 1F 03 1C */ stfs f0, 0x31c(r31) +/* 8009D738 0009A698 D0 1F 03 20 */ stfs f0, 0x320(r31) +/* 8009D73C 0009A69C 90 BF 03 24 */ stw r5, 0x324(r31) +/* 8009D740 0009A6A0 90 BF 03 28 */ stw r5, 0x328(r31) +/* 8009D744 0009A6A4 98 BF 03 2C */ stb r5, 0x32c(r31) +/* 8009D748 0009A6A8 48 2A 36 3D */ bl Lock__6CTokenFv +/* 8009D74C 0009A6AC 38 7F 00 30 */ addi r3, r31, 0x30 +/* 8009D750 0009A6B0 48 2A 36 35 */ bl Lock__6CTokenFv +/* 8009D754 0009A6B4 7F 43 D3 78 */ mr r3, r26 +/* 8009D758 0009A6B8 48 2A 36 2D */ bl Lock__6CTokenFv +/* 8009D75C 0009A6BC 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) +/* 8009D760 0009A6C0 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8009D764 0009A6C4 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8009D768 0009A6C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009D76C 0009A6CC 80 C5 00 04 */ lwz r6, 4(r5) +/* 8009D770 0009A6D0 38 61 00 9C */ addi r3, r1, 0x9c +/* 8009D774 0009A6D4 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 8009D778 0009A6D8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8009D77C 0009A6DC 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 8009D780 0009A6E0 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D784 0009A6E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009D788 0009A6E8 7D 89 03 A6 */ mtctr r12 +/* 8009D78C 0009A6EC 4E 80 04 21 */ bctrl +/* 8009D790 0009A6F0 38 7F 00 48 */ addi r3, r31, 0x48 +/* 8009D794 0009A6F4 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8009D798 0009A6F8 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D79C 0009A6FC 7C 63 02 14 */ add r3, r3, r0 +/* 8009D7A0 0009A700 34 63 00 04 */ addic. r3, r3, 4 +/* 8009D7A4 0009A704 41 82 00 0C */ beq lbl_8009D7B0 +/* 8009D7A8 0009A708 38 81 00 9C */ addi r4, r1, 0x9c +/* 8009D7AC 0009A70C 48 2A 36 FD */ bl __ct__6CTokenFRC6CToken +lbl_8009D7B0: +/* 8009D7B0 0009A710 80 BF 00 48 */ lwz r5, 0x48(r31) +/* 8009D7B4 0009A714 38 61 00 9C */ addi r3, r1, 0x9c +/* 8009D7B8 0009A718 38 80 FF FF */ li r4, -1 +/* 8009D7BC 0009A71C 38 05 00 01 */ addi r0, r5, 1 +/* 8009D7C0 0009A720 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8009D7C4 0009A724 48 2A 36 7D */ bl __dt__6CTokenFv +/* 8009D7C8 0009A728 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) +/* 8009D7CC 0009A72C 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8009D7D0 0009A730 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8009D7D4 0009A734 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009D7D8 0009A738 80 C5 00 08 */ lwz r6, 8(r5) +/* 8009D7DC 0009A73C 38 61 00 8C */ addi r3, r1, 0x8c +/* 8009D7E0 0009A740 38 A1 00 94 */ addi r5, r1, 0x94 +/* 8009D7E4 0009A744 90 01 00 94 */ stw r0, 0x94(r1) +/* 8009D7E8 0009A748 90 C1 00 98 */ stw r6, 0x98(r1) +/* 8009D7EC 0009A74C 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D7F0 0009A750 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009D7F4 0009A754 7D 89 03 A6 */ mtctr r12 +/* 8009D7F8 0009A758 4E 80 04 21 */ bctrl +/* 8009D7FC 0009A75C 38 7F 00 48 */ addi r3, r31, 0x48 +/* 8009D800 0009A760 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8009D804 0009A764 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D808 0009A768 7C 63 02 14 */ add r3, r3, r0 +/* 8009D80C 0009A76C 34 63 00 04 */ addic. r3, r3, 4 +/* 8009D810 0009A770 41 82 00 0C */ beq lbl_8009D81C +/* 8009D814 0009A774 38 81 00 8C */ addi r4, r1, 0x8c +/* 8009D818 0009A778 48 2A 36 91 */ bl __ct__6CTokenFRC6CToken +lbl_8009D81C: +/* 8009D81C 0009A77C 80 BF 00 48 */ lwz r5, 0x48(r31) +/* 8009D820 0009A780 38 61 00 8C */ addi r3, r1, 0x8c +/* 8009D824 0009A784 38 80 FF FF */ li r4, -1 +/* 8009D828 0009A788 38 05 00 01 */ addi r0, r5, 1 +/* 8009D82C 0009A78C 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8009D830 0009A790 48 2A 36 11 */ bl __dt__6CTokenFv +/* 8009D834 0009A794 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) +/* 8009D838 0009A798 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8009D83C 0009A79C 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8009D840 0009A7A0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009D844 0009A7A4 80 C5 00 0C */ lwz r6, 0xc(r5) +/* 8009D848 0009A7A8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8009D84C 0009A7AC 38 A1 00 84 */ addi r5, r1, 0x84 +/* 8009D850 0009A7B0 90 01 00 84 */ stw r0, 0x84(r1) +/* 8009D854 0009A7B4 90 C1 00 88 */ stw r6, 0x88(r1) +/* 8009D858 0009A7B8 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D85C 0009A7BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009D860 0009A7C0 7D 89 03 A6 */ mtctr r12 +/* 8009D864 0009A7C4 4E 80 04 21 */ bctrl +/* 8009D868 0009A7C8 38 7F 00 48 */ addi r3, r31, 0x48 +/* 8009D86C 0009A7CC 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8009D870 0009A7D0 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D874 0009A7D4 7C 63 02 14 */ add r3, r3, r0 +/* 8009D878 0009A7D8 34 63 00 04 */ addic. r3, r3, 4 +/* 8009D87C 0009A7DC 41 82 00 0C */ beq lbl_8009D888 +/* 8009D880 0009A7E0 38 81 00 7C */ addi r4, r1, 0x7c +/* 8009D884 0009A7E4 48 2A 36 25 */ bl __ct__6CTokenFRC6CToken +lbl_8009D888: +/* 8009D888 0009A7E8 80 BF 00 48 */ lwz r5, 0x48(r31) +/* 8009D88C 0009A7EC 38 61 00 7C */ addi r3, r1, 0x7c +/* 8009D890 0009A7F0 38 80 FF FF */ li r4, -1 +/* 8009D894 0009A7F4 38 05 00 01 */ addi r0, r5, 1 +/* 8009D898 0009A7F8 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8009D89C 0009A7FC 48 2A 35 A5 */ bl __dt__6CTokenFv +/* 8009D8A0 0009A800 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) +/* 8009D8A4 0009A804 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8009D8A8 0009A808 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8009D8AC 0009A80C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009D8B0 0009A810 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 8009D8B4 0009A814 38 61 00 6C */ addi r3, r1, 0x6c +/* 8009D8B8 0009A818 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8009D8BC 0009A81C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8009D8C0 0009A820 90 C1 00 78 */ stw r6, 0x78(r1) +/* 8009D8C4 0009A824 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D8C8 0009A828 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009D8CC 0009A82C 7D 89 03 A6 */ mtctr r12 +/* 8009D8D0 0009A830 4E 80 04 21 */ bctrl +/* 8009D8D4 0009A834 38 7F 00 48 */ addi r3, r31, 0x48 +/* 8009D8D8 0009A838 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8009D8DC 0009A83C 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D8E0 0009A840 7C 63 02 14 */ add r3, r3, r0 +/* 8009D8E4 0009A844 34 63 00 04 */ addic. r3, r3, 4 +/* 8009D8E8 0009A848 41 82 00 0C */ beq lbl_8009D8F4 +/* 8009D8EC 0009A84C 38 81 00 6C */ addi r4, r1, 0x6c +/* 8009D8F0 0009A850 48 2A 35 B9 */ bl __ct__6CTokenFRC6CToken +lbl_8009D8F4: +/* 8009D8F4 0009A854 80 BF 00 48 */ lwz r5, 0x48(r31) +/* 8009D8F8 0009A858 38 61 00 6C */ addi r3, r1, 0x6c +/* 8009D8FC 0009A85C 38 80 FF FF */ li r4, -1 +/* 8009D900 0009A860 38 05 00 01 */ addi r0, r5, 1 +/* 8009D904 0009A864 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8009D908 0009A868 48 2A 35 39 */ bl __dt__6CTokenFv +/* 8009D90C 0009A86C 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) +/* 8009D910 0009A870 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8009D914 0009A874 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8009D918 0009A878 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009D91C 0009A87C 80 C5 00 14 */ lwz r6, 0x14(r5) +/* 8009D920 0009A880 38 61 00 5C */ addi r3, r1, 0x5c +/* 8009D924 0009A884 38 A1 00 64 */ addi r5, r1, 0x64 +/* 8009D928 0009A888 90 01 00 64 */ stw r0, 0x64(r1) +/* 8009D92C 0009A88C 90 C1 00 68 */ stw r6, 0x68(r1) +/* 8009D930 0009A890 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D934 0009A894 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009D938 0009A898 7D 89 03 A6 */ mtctr r12 +/* 8009D93C 0009A89C 4E 80 04 21 */ bctrl +/* 8009D940 0009A8A0 38 7F 00 48 */ addi r3, r31, 0x48 +/* 8009D944 0009A8A4 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8009D948 0009A8A8 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D94C 0009A8AC 7C 63 02 14 */ add r3, r3, r0 +/* 8009D950 0009A8B0 34 63 00 04 */ addic. r3, r3, 4 +/* 8009D954 0009A8B4 41 82 00 0C */ beq lbl_8009D960 +/* 8009D958 0009A8B8 38 81 00 5C */ addi r4, r1, 0x5c +/* 8009D95C 0009A8BC 48 2A 35 4D */ bl __ct__6CTokenFRC6CToken +lbl_8009D960: +/* 8009D960 0009A8C0 80 BF 00 48 */ lwz r5, 0x48(r31) +/* 8009D964 0009A8C4 38 61 00 5C */ addi r3, r1, 0x5c +/* 8009D968 0009A8C8 38 80 FF FF */ li r4, -1 +/* 8009D96C 0009A8CC 38 05 00 01 */ addi r0, r5, 1 +/* 8009D970 0009A8D0 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8009D974 0009A8D4 48 2A 34 CD */ bl __dt__6CTokenFv +/* 8009D978 0009A8D8 3B 5F 00 4C */ addi r26, r31, 0x4c +/* 8009D97C 0009A8DC 3B 3F 00 48 */ addi r25, r31, 0x48 +/* 8009D980 0009A8E0 48 00 00 10 */ b lbl_8009D990 +lbl_8009D984: +/* 8009D984 0009A8E4 7F 43 D3 78 */ mr r3, r26 +/* 8009D988 0009A8E8 48 2A 33 FD */ bl Lock__6CTokenFv +/* 8009D98C 0009A8EC 3B 5A 00 08 */ addi r26, r26, 8 +lbl_8009D990: +/* 8009D990 0009A8F0 80 19 00 00 */ lwz r0, 0(r25) +/* 8009D994 0009A8F4 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D998 0009A8F8 7C 79 02 14 */ add r3, r25, r0 +/* 8009D99C 0009A8FC 38 03 00 04 */ addi r0, r3, 4 +/* 8009D9A0 0009A900 7C 1A 00 40 */ cmplw r26, r0 +/* 8009D9A4 0009A904 40 82 FF E0 */ bne lbl_8009D984 +/* 8009D9A8 0009A908 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8009D9AC 0009A90C 3B 9F 02 10 */ addi r28, r31, 0x210 +/* 8009D9B0 0009A910 3B C3 54 52 */ addi r30, r3, 0x54585452@l +/* 8009D9B4 0009A914 3B 7F 02 5C */ addi r27, r31, 0x25c +/* 8009D9B8 0009A918 3B 40 00 00 */ li r26, 0 +/* 8009D9BC 0009A91C 3B A0 00 00 */ li r29, 0 +lbl_8009D9C0: +/* 8009D9C0 0009A920 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) +/* 8009D9C4 0009A924 38 61 00 4C */ addi r3, r1, 0x4c +/* 8009D9C8 0009A928 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009D9CC 0009A92C 38 A1 00 54 */ addi r5, r1, 0x54 +/* 8009D9D0 0009A930 7C C0 EA 14 */ add r6, r0, r29 +/* 8009D9D4 0009A934 80 06 00 24 */ lwz r0, 0x24(r6) +/* 8009D9D8 0009A938 93 C1 00 54 */ stw r30, 0x54(r1) +/* 8009D9DC 0009A93C 90 01 00 58 */ stw r0, 0x58(r1) +/* 8009D9E0 0009A940 81 84 00 00 */ lwz r12, 0(r4) +/* 8009D9E4 0009A944 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009D9E8 0009A948 7D 89 03 A6 */ mtctr r12 +/* 8009D9EC 0009A94C 4E 80 04 21 */ bctrl +/* 8009D9F0 0009A950 80 1C 00 00 */ lwz r0, 0(r28) +/* 8009D9F4 0009A954 54 00 18 38 */ slwi r0, r0, 3 +/* 8009D9F8 0009A958 7C 7C 02 14 */ add r3, r28, r0 +/* 8009D9FC 0009A95C 34 63 00 04 */ addic. r3, r3, 4 +/* 8009DA00 0009A960 41 82 00 0C */ beq lbl_8009DA0C +/* 8009DA04 0009A964 38 81 00 4C */ addi r4, r1, 0x4c +/* 8009DA08 0009A968 48 2A 34 A1 */ bl __ct__6CTokenFRC6CToken +lbl_8009DA0C: +/* 8009DA0C 0009A96C 80 BF 02 10 */ lwz r5, 0x210(r31) +/* 8009DA10 0009A970 38 61 00 4C */ addi r3, r1, 0x4c +/* 8009DA14 0009A974 38 80 FF FF */ li r4, -1 +/* 8009DA18 0009A978 38 05 00 01 */ addi r0, r5, 1 +/* 8009DA1C 0009A97C 90 1F 02 10 */ stw r0, 0x210(r31) +/* 8009DA20 0009A980 48 2A 34 21 */ bl __dt__6CTokenFv +/* 8009DA24 0009A984 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) +/* 8009DA28 0009A988 38 61 00 3C */ addi r3, r1, 0x3c +/* 8009DA2C 0009A98C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009DA30 0009A990 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8009DA34 0009A994 7C C0 EA 14 */ add r6, r0, r29 +/* 8009DA38 0009A998 80 06 00 4C */ lwz r0, 0x4c(r6) +/* 8009DA3C 0009A99C 93 C1 00 44 */ stw r30, 0x44(r1) +/* 8009DA40 0009A9A0 90 01 00 48 */ stw r0, 0x48(r1) +/* 8009DA44 0009A9A4 81 84 00 00 */ lwz r12, 0(r4) +/* 8009DA48 0009A9A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009DA4C 0009A9AC 7D 89 03 A6 */ mtctr r12 +/* 8009DA50 0009A9B0 4E 80 04 21 */ bctrl +/* 8009DA54 0009A9B4 80 1B 00 00 */ lwz r0, 0(r27) +/* 8009DA58 0009A9B8 54 00 18 38 */ slwi r0, r0, 3 +/* 8009DA5C 0009A9BC 7C 7B 02 14 */ add r3, r27, r0 +/* 8009DA60 0009A9C0 34 63 00 04 */ addic. r3, r3, 4 +/* 8009DA64 0009A9C4 41 82 00 0C */ beq lbl_8009DA70 +/* 8009DA68 0009A9C8 38 81 00 3C */ addi r4, r1, 0x3c +/* 8009DA6C 0009A9CC 48 2A 34 3D */ bl __ct__6CTokenFRC6CToken +lbl_8009DA70: +/* 8009DA70 0009A9D0 80 BF 02 5C */ lwz r5, 0x25c(r31) +/* 8009DA74 0009A9D4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8009DA78 0009A9D8 38 80 FF FF */ li r4, -1 +/* 8009DA7C 0009A9DC 38 05 00 01 */ addi r0, r5, 1 +/* 8009DA80 0009A9E0 90 1F 02 5C */ stw r0, 0x25c(r31) +/* 8009DA84 0009A9E4 48 2A 33 BD */ bl __dt__6CTokenFv +/* 8009DA88 0009A9E8 3B 5A 00 01 */ addi r26, r26, 1 +/* 8009DA8C 0009A9EC 3B BD 00 04 */ addi r29, r29, 4 +/* 8009DA90 0009A9F0 2C 1A 00 09 */ cmpwi r26, 9 +/* 8009DA94 0009A9F4 41 80 FF 2C */ blt lbl_8009D9C0 +/* 8009DA98 0009A9F8 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8009DA9C 0009A9FC 3B 7F 02 A8 */ addi r27, r31, 0x2a8 +/* 8009DAA0 0009AA00 3B C3 54 52 */ addi r30, r3, 0x54585452@l +/* 8009DAA4 0009AA04 3B 9F 02 BC */ addi r28, r31, 0x2bc +/* 8009DAA8 0009AA08 3B 5F 02 D0 */ addi r26, r31, 0x2d0 +/* 8009DAAC 0009AA0C 3B 20 00 00 */ li r25, 0 +/* 8009DAB0 0009AA10 3B A0 00 00 */ li r29, 0 +lbl_8009DAB4: +/* 8009DAB4 0009AA14 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) +/* 8009DAB8 0009AA18 38 61 00 2C */ addi r3, r1, 0x2c +/* 8009DABC 0009AA1C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009DAC0 0009AA20 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8009DAC4 0009AA24 7C C0 EA 14 */ add r6, r0, r29 +/* 8009DAC8 0009AA28 80 06 00 74 */ lwz r0, 0x74(r6) +/* 8009DACC 0009AA2C 93 C1 00 34 */ stw r30, 0x34(r1) +/* 8009DAD0 0009AA30 90 01 00 38 */ stw r0, 0x38(r1) +/* 8009DAD4 0009AA34 81 84 00 00 */ lwz r12, 0(r4) +/* 8009DAD8 0009AA38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009DADC 0009AA3C 7D 89 03 A6 */ mtctr r12 +/* 8009DAE0 0009AA40 4E 80 04 21 */ bctrl +/* 8009DAE4 0009AA44 80 1B 00 00 */ lwz r0, 0(r27) +/* 8009DAE8 0009AA48 54 00 18 38 */ slwi r0, r0, 3 +/* 8009DAEC 0009AA4C 7C 7B 02 14 */ add r3, r27, r0 +/* 8009DAF0 0009AA50 34 63 00 04 */ addic. r3, r3, 4 +/* 8009DAF4 0009AA54 41 82 00 0C */ beq lbl_8009DB00 +/* 8009DAF8 0009AA58 38 81 00 2C */ addi r4, r1, 0x2c +/* 8009DAFC 0009AA5C 48 2A 33 AD */ bl __ct__6CTokenFRC6CToken +lbl_8009DB00: +/* 8009DB00 0009AA60 80 BF 02 A8 */ lwz r5, 0x2a8(r31) +/* 8009DB04 0009AA64 38 61 00 2C */ addi r3, r1, 0x2c +/* 8009DB08 0009AA68 38 80 FF FF */ li r4, -1 +/* 8009DB0C 0009AA6C 38 05 00 01 */ addi r0, r5, 1 +/* 8009DB10 0009AA70 90 1F 02 A8 */ stw r0, 0x2a8(r31) +/* 8009DB14 0009AA74 48 2A 33 2D */ bl __dt__6CTokenFv +/* 8009DB18 0009AA78 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) +/* 8009DB1C 0009AA7C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009DB20 0009AA80 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009DB24 0009AA84 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8009DB28 0009AA88 7C C0 EA 14 */ add r6, r0, r29 +/* 8009DB2C 0009AA8C 80 06 00 80 */ lwz r0, 0x80(r6) +/* 8009DB30 0009AA90 93 C1 00 24 */ stw r30, 0x24(r1) +/* 8009DB34 0009AA94 90 01 00 28 */ stw r0, 0x28(r1) +/* 8009DB38 0009AA98 81 84 00 00 */ lwz r12, 0(r4) +/* 8009DB3C 0009AA9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009DB40 0009AAA0 7D 89 03 A6 */ mtctr r12 +/* 8009DB44 0009AAA4 4E 80 04 21 */ bctrl +/* 8009DB48 0009AAA8 80 1C 00 00 */ lwz r0, 0(r28) +/* 8009DB4C 0009AAAC 54 00 18 38 */ slwi r0, r0, 3 +/* 8009DB50 0009AAB0 7C 7C 02 14 */ add r3, r28, r0 +/* 8009DB54 0009AAB4 34 63 00 04 */ addic. r3, r3, 4 +/* 8009DB58 0009AAB8 41 82 00 0C */ beq lbl_8009DB64 +/* 8009DB5C 0009AABC 38 81 00 1C */ addi r4, r1, 0x1c +/* 8009DB60 0009AAC0 48 2A 33 49 */ bl __ct__6CTokenFRC6CToken +lbl_8009DB64: +/* 8009DB64 0009AAC4 80 BF 02 BC */ lwz r5, 0x2bc(r31) +/* 8009DB68 0009AAC8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009DB6C 0009AACC 38 80 FF FF */ li r4, -1 +/* 8009DB70 0009AAD0 38 05 00 01 */ addi r0, r5, 1 +/* 8009DB74 0009AAD4 90 1F 02 BC */ stw r0, 0x2bc(r31) +/* 8009DB78 0009AAD8 48 2A 32 C9 */ bl __dt__6CTokenFv +/* 8009DB7C 0009AADC 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) +/* 8009DB80 0009AAE0 38 61 00 0C */ addi r3, r1, 0xc +/* 8009DB84 0009AAE4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8009DB88 0009AAE8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8009DB8C 0009AAEC 7C C0 EA 14 */ add r6, r0, r29 +/* 8009DB90 0009AAF0 80 06 00 98 */ lwz r0, 0x98(r6) +/* 8009DB94 0009AAF4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8009DB98 0009AAF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8009DB9C 0009AAFC 81 84 00 00 */ lwz r12, 0(r4) +/* 8009DBA0 0009AB00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8009DBA4 0009AB04 7D 89 03 A6 */ mtctr r12 +/* 8009DBA8 0009AB08 4E 80 04 21 */ bctrl +/* 8009DBAC 0009AB0C 80 1A 00 00 */ lwz r0, 0(r26) +/* 8009DBB0 0009AB10 54 00 18 38 */ slwi r0, r0, 3 +/* 8009DBB4 0009AB14 7C 7A 02 14 */ add r3, r26, r0 +/* 8009DBB8 0009AB18 34 63 00 04 */ addic. r3, r3, 4 +/* 8009DBBC 0009AB1C 41 82 00 0C */ beq lbl_8009DBC8 +/* 8009DBC0 0009AB20 38 81 00 0C */ addi r4, r1, 0xc +/* 8009DBC4 0009AB24 48 2A 32 E5 */ bl __ct__6CTokenFRC6CToken +lbl_8009DBC8: +/* 8009DBC8 0009AB28 80 BF 02 D0 */ lwz r5, 0x2d0(r31) +/* 8009DBCC 0009AB2C 38 61 00 0C */ addi r3, r1, 0xc +/* 8009DBD0 0009AB30 38 80 FF FF */ li r4, -1 +/* 8009DBD4 0009AB34 38 05 00 01 */ addi r0, r5, 1 +/* 8009DBD8 0009AB38 90 1F 02 D0 */ stw r0, 0x2d0(r31) +/* 8009DBDC 0009AB3C 48 2A 32 65 */ bl __dt__6CTokenFv +/* 8009DBE0 0009AB40 3B 39 00 01 */ addi r25, r25, 1 +/* 8009DBE4 0009AB44 3B BD 00 04 */ addi r29, r29, 4 +/* 8009DBE8 0009AB48 2C 19 00 02 */ cmpwi r25, 2 +/* 8009DBEC 0009AB4C 41 80 FE C8 */ blt lbl_8009DAB4 +/* 8009DBF0 0009AB50 7F E3 FB 78 */ mr r3, r31 +/* 8009DBF4 0009AB54 BB 21 01 34 */ lmw r25, 0x134(r1) +/* 8009DBF8 0009AB58 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8009DBFC 0009AB5C 7C 08 03 A6 */ mtlr r0 +/* 8009DC00 0009AB60 38 21 01 50 */ addi r1, r1, 0x150 +/* 8009DC04 0009AB64 4E 80 00 20 */ blr + +.global __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId +__ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId: +/* 8009DC08 0009AB68 90 83 00 00 */ stw r4, 0(r3) +/* 8009DC0C 0009AB6C D0 23 00 04 */ stfs f1, 4(r3) +/* 8009DC10 0009AB70 90 A3 00 08 */ stw r5, 8(r3) +/* 8009DC14 0009AB74 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8009DC18 0009AB78 4E 80 00 20 */ blr + +.global ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv +ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv: +/* 8009DC1C 0009AB7C 38 00 00 00 */ li r0, 0 +/* 8009DC20 0009AB80 90 03 00 44 */ stw r0, 0x44(r3) +/* 8009DC24 0009AB84 90 03 00 48 */ stw r0, 0x48(r3) +/* 8009DC28 0009AB88 90 03 00 4C */ stw r0, 0x4c(r3) +/* 8009DC2C 0009AB8C 90 03 00 50 */ stw r0, 0x50(r3) +/* 8009DC30 0009AB90 90 03 00 54 */ stw r0, 0x54(r3) +/* 8009DC34 0009AB94 90 03 00 58 */ stw r0, 0x58(r3) +/* 8009DC38 0009AB98 4E 80 00 20 */ blr + +.global InterpolateWithClamp__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderStateRQ211CAutoMapper22SAutoMapperRenderStateRCQ211CAutoMapper22SAutoMapperRenderStatef +InterpolateWithClamp__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderStateRQ211CAutoMapper22SAutoMapperRenderStateRCQ211CAutoMapper22SAutoMapperRenderStatef: +/* 8009DC3C 0009AB9C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8009DC40 0009ABA0 7C 08 02 A6 */ mflr r0 +/* 8009DC44 0009ABA4 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8009DC48 0009ABA8 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8009DC4C 0009ABAC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8009DC50 0009ABB0 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 8009DC54 0009ABB4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8009DC58 0009ABB8 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 8009DC5C 0009ABBC F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 8009DC60 0009ABC0 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 8009DC64 0009ABC4 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 8009DC68 0009ABC8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8009DC6C 0009ABCC 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8009DC70 0009ABD0 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8009DC74 0009ABD4 D0 21 00 08 */ stfs f1, 8(r1) +/* 8009DC78 0009ABD8 7C 7D 1B 78 */ mr r29, r3 +/* 8009DC7C 0009ABDC 7C 9E 23 78 */ mr r30, r4 +/* 8009DC80 0009ABE0 7C BF 2B 78 */ mr r31, r5 +/* 8009DC84 0009ABE4 38 81 00 08 */ addi r4, r1, 8 +/* 8009DC88 0009ABE8 38 6D 85 A8 */ addi r3, r13, lbl_805A7168@sda21 +/* 8009DC8C 0009ABEC 38 AD 85 AC */ addi r5, r13, lbl_805A716C@sda21 +/* 8009DC90 0009ABF0 4B F6 E6 25 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8009DC94 0009ABF4 C3 E3 00 00 */ lfs f31, 0(r3) +/* 8009DC98 0009ABF8 38 81 00 18 */ addi r4, r1, 0x18 +/* 8009DC9C 0009ABFC 38 6D 85 B0 */ addi r3, r13, lbl_805A7170@sda21 +/* 8009DCA0 0009AC00 38 AD 85 B4 */ addi r5, r13, lbl_805A7174@sda21 +/* 8009DCA4 0009AC04 EC 1F 07 F2 */ fmuls f0, f31, f31 +/* 8009DCA8 0009AC08 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8009DCAC 0009AC0C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8009DCB0 0009AC10 4B F6 E6 05 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8009DCB4 0009AC14 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 8009DCB8 0009AC18 38 81 00 14 */ addi r4, r1, 0x14 +/* 8009DCBC 0009AC1C C3 C3 00 00 */ lfs f30, 0(r3) +/* 8009DCC0 0009AC20 38 6D 85 B8 */ addi r3, r13, lbl_805A7178@sda21 +/* 8009DCC4 0009AC24 EF A1 F8 28 */ fsubs f29, f1, f31 +/* 8009DCC8 0009AC28 38 AD 85 BC */ addi r5, r13, lbl_805A717C@sda21 +/* 8009DCCC 0009AC2C EC 1D 07 72 */ fmuls f0, f29, f29 +/* 8009DCD0 0009AC30 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 8009DCD4 0009AC34 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8009DCD8 0009AC38 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8009DCDC 0009AC3C 4B F6 E5 D9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8009DCE0 0009AC40 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) +/* 8009DCE4 0009AC44 C3 83 00 00 */ lfs f28, 0(r3) +/* 8009DCE8 0009AC48 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8009DCEC 0009AC4C 4C 41 13 82 */ cror 2, 1, 2 +/* 8009DCF0 0009AC50 40 82 00 38 */ bne lbl_8009DD28 +/* 8009DCF4 0009AC54 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) +/* 8009DCF8 0009AC58 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 8009DCFC 0009AC5C EC 21 07 F8 */ fmsubs f1, f1, f31, f0 +/* 8009DD00 0009AC60 48 27 78 01 */ bl SqrtF__5CMathFf +/* 8009DD04 0009AC64 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) +/* 8009DD08 0009AC68 38 81 00 10 */ addi r4, r1, 0x10 +/* 8009DD0C 0009AC6C 38 6D 85 C0 */ addi r3, r13, lbl_805A7180@sda21 +/* 8009DD10 0009AC70 38 AD 85 C4 */ addi r5, r13, lbl_805A7184@sda21 +/* 8009DD14 0009AC74 EC 00 00 7A */ fmadds f0, f0, f1, f0 +/* 8009DD18 0009AC78 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8009DD1C 0009AC7C 4B F6 E5 99 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8009DD20 0009AC80 C0 03 00 00 */ lfs f0, 0(r3) +/* 8009DD24 0009AC84 48 00 00 3C */ b lbl_8009DD60 +lbl_8009DD28: +/* 8009DD28 0009AC88 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) +/* 8009DD2C 0009AC8C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 8009DD30 0009AC90 EC 21 07 78 */ fmsubs f1, f1, f29, f0 +/* 8009DD34 0009AC94 48 27 77 CD */ bl SqrtF__5CMathFf +/* 8009DD38 0009AC98 C0 42 8B 70 */ lfs f2, lbl_805AA890@sda21(r2) +/* 8009DD3C 0009AC9C 38 81 00 0C */ addi r4, r1, 0xc +/* 8009DD40 0009ACA0 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 8009DD44 0009ACA4 38 6D 85 C8 */ addi r3, r13, lbl_805A7188@sda21 +/* 8009DD48 0009ACA8 EC 22 10 7A */ fmadds f1, f2, f1, f2 +/* 8009DD4C 0009ACAC 38 AD 85 CC */ addi r5, r13, lbl_805A718C@sda21 +/* 8009DD50 0009ACB0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8009DD54 0009ACB4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8009DD58 0009ACB8 4B F6 E5 5D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8009DD5C 0009ACBC C0 03 00 00 */ lfs f0, 0(r3) +lbl_8009DD60: +/* 8009DD60 0009ACC0 3C 60 80 3D */ lis r3, lbl_803CD7D8@ha +/* 8009DD64 0009ACC4 80 FF 00 44 */ lwz r7, 0x44(r31) +/* 8009DD68 0009ACC8 38 C3 D7 D8 */ addi r6, r3, lbl_803CD7D8@l +/* 8009DD6C 0009ACCC 80 A6 00 04 */ lwz r5, 4(r6) +/* 8009DD70 0009ACD0 2C 07 00 00 */ cmpwi r7, 0 +/* 8009DD74 0009ACD4 80 86 00 08 */ lwz r4, 8(r6) +/* 8009DD78 0009ACD8 80 66 00 0C */ lwz r3, 0xc(r6) +/* 8009DD7C 0009ACDC 80 06 00 10 */ lwz r0, 0x10(r6) +/* 8009DD80 0009ACE0 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8009DD84 0009ACE4 80 A6 00 00 */ lwz r5, 0(r6) +/* 8009DD88 0009ACE8 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8009DD8C 0009ACEC 90 61 00 40 */ stw r3, 0x40(r1) +/* 8009DD90 0009ACF0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8009DD94 0009ACF4 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8009DD98 0009ACF8 D3 E1 00 38 */ stfs f31, 0x38(r1) +/* 8009DD9C 0009ACFC D3 81 00 3C */ stfs f28, 0x3c(r1) +/* 8009DDA0 0009AD00 D3 C1 00 40 */ stfs f30, 0x40(r1) +/* 8009DDA4 0009AD04 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8009DDA8 0009AD08 41 82 00 C0 */ beq lbl_8009DE68 +/* 8009DDAC 0009AD0C 80 7F 00 00 */ lwz r3, 0(r31) +/* 8009DDB0 0009AD10 3C A0 43 30 */ lis r5, 0x4330 +/* 8009DDB4 0009AD14 80 1F 00 04 */ lwz r0, 4(r31) +/* 8009DDB8 0009AD18 54 E7 10 3A */ slwi r7, r7, 2 +/* 8009DDBC 0009AD1C 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8009DDC0 0009AD20 80 DD 00 00 */ lwz r6, 0(r29) +/* 8009DDC4 0009AD24 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8009DDC8 0009AD28 80 7D 00 04 */ lwz r3, 4(r29) +/* 8009DDCC 0009AD2C 90 81 00 54 */ stw r4, 0x54(r1) +/* 8009DDD0 0009AD30 6C C6 80 00 */ xoris r6, r6, 0x8000 +/* 8009DDD4 0009AD34 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8009DDD8 0009AD38 C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) +/* 8009DDDC 0009AD3C 90 A1 00 50 */ stw r5, 0x50(r1) +/* 8009DDE0 0009AD40 38 61 00 34 */ addi r3, r1, 0x34 +/* 8009DDE4 0009AD44 7C 63 3C 2E */ lfsx f3, r3, r7 +/* 8009DDE8 0009AD48 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009DDEC 0009AD4C C8 01 00 50 */ lfd f0, 0x50(r1) +/* 8009DDF0 0009AD50 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 8009DDF4 0009AD54 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8009DDF8 0009AD58 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8009DDFC 0009AD5C EC A1 18 28 */ fsubs f5, f1, f3 +/* 8009DE00 0009AD60 90 A1 00 68 */ stw r5, 0x68(r1) +/* 8009DE04 0009AD64 EC 43 00 32 */ fmuls f2, f3, f0 +/* 8009DE08 0009AD68 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8009DE0C 0009AD6C 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 8009DE10 0009AD70 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8009DE14 0009AD74 90 A1 00 48 */ stw r5, 0x48(r1) +/* 8009DE18 0009AD78 C8 21 00 48 */ lfd f1, 0x48(r1) +/* 8009DE1C 0009AD7C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8009DE20 0009AD80 90 81 00 64 */ stw r4, 0x64(r1) +/* 8009DE24 0009AD84 EC 61 20 28 */ fsubs f3, f1, f4 +/* 8009DE28 0009AD88 90 A1 00 60 */ stw r5, 0x60(r1) +/* 8009DE2C 0009AD8C C8 21 00 60 */ lfd f1, 0x60(r1) +/* 8009DE30 0009AD90 EC 45 10 FA */ fmadds f2, f5, f3, f2 +/* 8009DE34 0009AD94 EC 21 20 28 */ fsubs f1, f1, f4 +/* 8009DE38 0009AD98 FC 40 10 1E */ fctiwz f2, f2 +/* 8009DE3C 0009AD9C EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 8009DE40 0009ADA0 D8 41 00 58 */ stfd f2, 0x58(r1) +/* 8009DE44 0009ADA4 FC 00 00 1E */ fctiwz f0, f0 +/* 8009DE48 0009ADA8 80 81 00 5C */ lwz r4, 0x5c(r1) +/* 8009DE4C 0009ADAC D8 01 00 70 */ stfd f0, 0x70(r1) +/* 8009DE50 0009ADB0 80 A1 00 74 */ lwz r5, 0x74(r1) +/* 8009DE54 0009ADB4 48 27 64 F9 */ bl __ct__9CVector2iFii +/* 8009DE58 0009ADB8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8009DE5C 0009ADBC 90 1E 00 00 */ stw r0, 0(r30) +/* 8009DE60 0009ADC0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8009DE64 0009ADC4 90 1E 00 04 */ stw r0, 4(r30) +lbl_8009DE68: +/* 8009DE68 0009ADC8 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8009DE6C 0009ADCC 2C 00 00 00 */ cmpwi r0, 0 +/* 8009DE70 0009ADD0 41 82 00 74 */ beq lbl_8009DEE4 +/* 8009DE74 0009ADD4 54 00 10 3A */ slwi r0, r0, 2 +/* 8009DE78 0009ADD8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8009DE7C 0009ADDC 7F 83 04 2E */ lfsx f28, r3, r0 +/* 8009DE80 0009ADE0 38 61 00 24 */ addi r3, r1, 0x24 +/* 8009DE84 0009ADE4 38 9D 00 08 */ addi r4, r29, 8 +/* 8009DE88 0009ADE8 38 BF 00 08 */ addi r5, r31, 8 +/* 8009DE8C 0009ADEC FC 20 E0 90 */ fmr f1, f28 +/* 8009DE90 0009ADF0 48 27 3E 69 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 8009DE94 0009ADF4 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8009DE98 0009ADF8 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) +/* 8009DE9C 0009ADFC D0 3E 00 08 */ stfs f1, 8(r30) +/* 8009DEA0 0009AE00 EC 40 E0 28 */ fsubs f2, f0, f28 +/* 8009DEA4 0009AE04 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8009DEA8 0009AE08 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8009DEAC 0009AE0C 90 7E 00 0C */ stw r3, 0xc(r30) +/* 8009DEB0 0009AE10 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8009DEB4 0009AE14 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8009DEB8 0009AE18 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8009DEBC 0009AE1C C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8009DEC0 0009AE20 C0 3D 00 18 */ lfs f1, 0x18(r29) +/* 8009DEC4 0009AE24 EC 00 07 32 */ fmuls f0, f0, f28 +/* 8009DEC8 0009AE28 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8009DECC 0009AE2C D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8009DED0 0009AE30 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8009DED4 0009AE34 C0 3D 00 1C */ lfs f1, 0x1c(r29) +/* 8009DED8 0009AE38 EC 00 07 32 */ fmuls f0, f0, f28 +/* 8009DEDC 0009AE3C EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8009DEE0 0009AE40 D0 1E 00 1C */ stfs f0, 0x1c(r30) +lbl_8009DEE4: +/* 8009DEE4 0009AE44 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 8009DEE8 0009AE48 2C 00 00 00 */ cmpwi r0, 0 +/* 8009DEEC 0009AE4C 41 82 00 54 */ beq lbl_8009DF40 +/* 8009DEF0 0009AE50 54 00 10 3A */ slwi r0, r0, 2 +/* 8009DEF4 0009AE54 38 61 00 34 */ addi r3, r1, 0x34 +/* 8009DEF8 0009AE58 7C E3 04 2E */ lfsx f7, r3, r0 +/* 8009DEFC 0009AE5C C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 8009DF00 0009AE60 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8009DF04 0009AE64 C0 7F 00 24 */ lfs f3, 0x24(r31) +/* 8009DF08 0009AE68 EC C1 38 28 */ fsubs f6, f1, f7 +/* 8009DF0C 0009AE6C C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 8009DF10 0009AE70 EC 00 01 F2 */ fmuls f0, f0, f7 +/* 8009DF14 0009AE74 C0 3D 00 20 */ lfs f1, 0x20(r29) +/* 8009DF18 0009AE78 EC 83 01 F2 */ fmuls f4, f3, f7 +/* 8009DF1C 0009AE7C C0 BD 00 24 */ lfs f5, 0x24(r29) +/* 8009DF20 0009AE80 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 8009DF24 0009AE84 C0 7D 00 28 */ lfs f3, 0x28(r29) +/* 8009DF28 0009AE88 EC 22 01 F2 */ fmuls f1, f2, f7 +/* 8009DF2C 0009AE8C EC 45 21 BA */ fmadds f2, f5, f6, f4 +/* 8009DF30 0009AE90 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8009DF34 0009AE94 EC 03 09 BA */ fmadds f0, f3, f6, f1 +/* 8009DF38 0009AE98 D0 5E 00 24 */ stfs f2, 0x24(r30) +/* 8009DF3C 0009AE9C D0 1E 00 28 */ stfs f0, 0x28(r30) +lbl_8009DF40: +/* 8009DF40 0009AEA0 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 8009DF44 0009AEA4 2C 00 00 00 */ cmpwi r0, 0 +/* 8009DF48 0009AEA8 41 82 00 2C */ beq lbl_8009DF74 +/* 8009DF4C 0009AEAC 54 00 10 3A */ slwi r0, r0, 2 +/* 8009DF50 0009AEB0 38 61 00 34 */ addi r3, r1, 0x34 +/* 8009DF54 0009AEB4 7C 63 04 2E */ lfsx f3, r3, r0 +/* 8009DF58 0009AEB8 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 8009DF5C 0009AEBC C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8009DF60 0009AEC0 EC 21 18 28 */ fsubs f1, f1, f3 +/* 8009DF64 0009AEC4 C0 5D 00 2C */ lfs f2, 0x2c(r29) +/* 8009DF68 0009AEC8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8009DF6C 0009AECC EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8009DF70 0009AED0 D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_8009DF74: +/* 8009DF74 0009AED4 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 8009DF78 0009AED8 2C 00 00 00 */ cmpwi r0, 0 +/* 8009DF7C 0009AEDC 41 82 00 2C */ beq lbl_8009DFA8 +/* 8009DF80 0009AEE0 54 00 10 3A */ slwi r0, r0, 2 +/* 8009DF84 0009AEE4 38 61 00 34 */ addi r3, r1, 0x34 +/* 8009DF88 0009AEE8 7C 63 04 2E */ lfsx f3, r3, r0 +/* 8009DF8C 0009AEEC C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 8009DF90 0009AEF0 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8009DF94 0009AEF4 EC 21 18 28 */ fsubs f1, f1, f3 +/* 8009DF98 0009AEF8 C0 5D 00 30 */ lfs f2, 0x30(r29) +/* 8009DF9C 0009AEFC EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8009DFA0 0009AF00 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8009DFA4 0009AF04 D0 1E 00 30 */ stfs f0, 0x30(r30) +lbl_8009DFA8: +/* 8009DFA8 0009AF08 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 8009DFAC 0009AF0C 2C 00 00 00 */ cmpwi r0, 0 +/* 8009DFB0 0009AF10 41 82 00 68 */ beq lbl_8009E018 +/* 8009DFB4 0009AF14 54 00 10 3A */ slwi r0, r0, 2 +/* 8009DFB8 0009AF18 38 61 00 34 */ addi r3, r1, 0x34 +/* 8009DFBC 0009AF1C 7C 63 04 2E */ lfsx f3, r3, r0 +/* 8009DFC0 0009AF20 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) +/* 8009DFC4 0009AF24 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8009DFC8 0009AF28 EC 41 18 28 */ fsubs f2, f1, f3 +/* 8009DFCC 0009AF2C C0 3D 00 34 */ lfs f1, 0x34(r29) +/* 8009DFD0 0009AF30 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8009DFD4 0009AF34 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8009DFD8 0009AF38 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 8009DFDC 0009AF3C C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8009DFE0 0009AF40 C0 3D 00 38 */ lfs f1, 0x38(r29) +/* 8009DFE4 0009AF44 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8009DFE8 0009AF48 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8009DFEC 0009AF4C D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 8009DFF0 0009AF50 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8009DFF4 0009AF54 C0 3D 00 3C */ lfs f1, 0x3c(r29) +/* 8009DFF8 0009AF58 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8009DFFC 0009AF5C EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8009E000 0009AF60 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 8009E004 0009AF64 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8009E008 0009AF68 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 8009E00C 0009AF6C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8009E010 0009AF70 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8009E014 0009AF74 D0 1E 00 40 */ stfs f0, 0x40(r30) +lbl_8009E018: +/* 8009E018 0009AF78 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8009E01C 0009AF7C CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8009E020 0009AF80 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8009E024 0009AF84 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 8009E028 0009AF88 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 8009E02C 0009AF8C CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 8009E030 0009AF90 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 8009E034 0009AF94 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 8009E038 0009AF98 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8009E03C 0009AF9C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8009E040 0009AFA0 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8009E044 0009AFA4 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8009E048 0009AFA8 7C 08 03 A6 */ mtlr r0 +/* 8009E04C 0009AFAC 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8009E050 0009AFB0 4E 80 00 20 */ blr + +.global __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff +__ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff: +/* 8009E054 0009AFB4 80 E4 00 00 */ lwz r7, 0(r4) +/* 8009E058 0009AFB8 38 00 00 00 */ li r0, 0 +/* 8009E05C 0009AFBC 90 E3 00 00 */ stw r7, 0(r3) +/* 8009E060 0009AFC0 80 84 00 04 */ lwz r4, 4(r4) +/* 8009E064 0009AFC4 90 83 00 04 */ stw r4, 4(r3) +/* 8009E068 0009AFC8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8009E06C 0009AFCC D0 03 00 08 */ stfs f0, 8(r3) +/* 8009E070 0009AFD0 C0 05 00 04 */ lfs f0, 4(r5) +/* 8009E074 0009AFD4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8009E078 0009AFD8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8009E07C 0009AFDC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8009E080 0009AFE0 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8009E084 0009AFE4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8009E088 0009AFE8 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 8009E08C 0009AFEC D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 8009E090 0009AFF0 C0 06 00 00 */ lfs f0, 0(r6) +/* 8009E094 0009AFF4 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8009E098 0009AFF8 C0 06 00 04 */ lfs f0, 4(r6) +/* 8009E09C 0009AFFC D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8009E0A0 0009B000 C0 06 00 08 */ lfs f0, 8(r6) +/* 8009E0A4 0009B004 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8009E0A8 0009B008 D0 63 00 2C */ stfs f3, 0x2c(r3) +/* 8009E0AC 0009B00C D0 83 00 30 */ stfs f4, 0x30(r3) +/* 8009E0B0 0009B010 D0 A3 00 34 */ stfs f5, 0x34(r3) +/* 8009E0B4 0009B014 D0 C3 00 38 */ stfs f6, 0x38(r3) +/* 8009E0B8 0009B018 D0 E3 00 3C */ stfs f7, 0x3c(r3) +/* 8009E0BC 0009B01C D1 03 00 40 */ stfs f8, 0x40(r3) +/* 8009E0C0 0009B020 90 03 00 44 */ stw r0, 0x44(r3) +/* 8009E0C4 0009B024 90 03 00 48 */ stw r0, 0x48(r3) +/* 8009E0C8 0009B028 90 03 00 4C */ stw r0, 0x4c(r3) +/* 8009E0CC 0009B02C 90 03 00 50 */ stw r0, 0x50(r3) +/* 8009E0D0 0009B030 90 03 00 54 */ stw r0, 0x54(r3) +/* 8009E0D4 0009B034 90 03 00 58 */ stw r0, 0x58(r3) +/* 8009E0D8 0009B038 4E 80 00 20 */ blr + +.global "reserve__Q24rstl61vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl61vector,Q24rstl17rmemory_allocator>Fi": +/* 8009E0DC 0009B03C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8009E0E0 0009B040 7C 08 02 A6 */ mflr r0 +/* 8009E0E4 0009B044 90 01 00 34 */ stw r0, 0x34(r1) +/* 8009E0E8 0009B048 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8009E0EC 0009B04C 7C 9F 23 78 */ mr r31, r4 +/* 8009E0F0 0009B050 7C 7E 1B 78 */ mr r30, r3 +/* 8009E0F4 0009B054 80 03 00 08 */ lwz r0, 8(r3) +/* 8009E0F8 0009B058 7C 1F 00 00 */ cmpw r31, r0 +/* 8009E0FC 0009B05C 40 81 00 F0 */ ble lbl_8009E1EC +/* 8009E100 0009B060 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8009E104 0009B064 40 82 00 0C */ bne lbl_8009E110 +/* 8009E108 0009B068 3B A0 00 00 */ li r29, 0 +/* 8009E10C 0009B06C 48 00 00 1C */ b lbl_8009E128 +lbl_8009E110: +/* 8009E110 0009B070 3C 80 80 3D */ lis r4, lbl_803CD80C@ha +/* 8009E114 0009B074 38 A0 00 00 */ li r5, 0 +/* 8009E118 0009B078 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l +/* 8009E11C 0009B07C 38 84 00 0F */ addi r4, r4, 0xf +/* 8009E120 0009B080 48 27 76 F9 */ bl __nwa__FUlPCcPCc +/* 8009E124 0009B084 7C 7D 1B 78 */ mr r29, r3 +lbl_8009E128: +/* 8009E128 0009B088 80 7E 00 04 */ lwz r3, 4(r30) +/* 8009E12C 0009B08C 7F A5 EB 78 */ mr r5, r29 +/* 8009E130 0009B090 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8009E134 0009B094 38 00 00 00 */ li r0, 0 +/* 8009E138 0009B098 54 63 18 38 */ slwi r3, r3, 3 +/* 8009E13C 0009B09C 7C 86 1A 14 */ add r4, r6, r3 +/* 8009E140 0009B0A0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8009E144 0009B0A4 90 81 00 08 */ stw r4, 8(r1) +/* 8009E148 0009B0A8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8009E14C 0009B0AC 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8009E150 0009B0B0 48 00 00 28 */ b lbl_8009E178 +lbl_8009E154: +/* 8009E154 0009B0B4 28 05 00 00 */ cmplwi r5, 0 +/* 8009E158 0009B0B8 41 82 00 18 */ beq lbl_8009E170 +/* 8009E15C 0009B0BC 88 66 00 00 */ lbz r3, 0(r6) +/* 8009E160 0009B0C0 98 65 00 00 */ stb r3, 0(r5) +/* 8009E164 0009B0C4 80 66 00 04 */ lwz r3, 4(r6) +/* 8009E168 0009B0C8 90 65 00 04 */ stw r3, 4(r5) +/* 8009E16C 0009B0CC 98 06 00 00 */ stb r0, 0(r6) +lbl_8009E170: +/* 8009E170 0009B0D0 38 A5 00 08 */ addi r5, r5, 8 +/* 8009E174 0009B0D4 38 C6 00 08 */ addi r6, r6, 8 +lbl_8009E178: +/* 8009E178 0009B0D8 7C 06 20 40 */ cmplw r6, r4 +/* 8009E17C 0009B0DC 40 82 FF D8 */ bne lbl_8009E154 +/* 8009E180 0009B0E0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8009E184 0009B0E4 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8009E188 0009B0E8 54 00 18 38 */ slwi r0, r0, 3 +/* 8009E18C 0009B0EC 7F 9B 02 14 */ add r28, r27, r0 +/* 8009E190 0009B0F0 48 00 00 3C */ b lbl_8009E1CC +lbl_8009E194: +/* 8009E194 0009B0F4 28 1B 00 00 */ cmplwi r27, 0 +/* 8009E198 0009B0F8 41 82 00 30 */ beq lbl_8009E1C8 +/* 8009E19C 0009B0FC 88 1B 00 00 */ lbz r0, 0(r27) +/* 8009E1A0 0009B100 28 00 00 00 */ cmplwi r0, 0 +/* 8009E1A4 0009B104 41 82 00 24 */ beq lbl_8009E1C8 +/* 8009E1A8 0009B108 80 7B 00 04 */ lwz r3, 4(r27) +/* 8009E1AC 0009B10C 28 03 00 00 */ cmplwi r3, 0 +/* 8009E1B0 0009B110 41 82 00 18 */ beq lbl_8009E1C8 +/* 8009E1B4 0009B114 81 83 00 00 */ lwz r12, 0(r3) +/* 8009E1B8 0009B118 38 80 00 01 */ li r4, 1 +/* 8009E1BC 0009B11C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009E1C0 0009B120 7D 89 03 A6 */ mtctr r12 +/* 8009E1C4 0009B124 4E 80 04 21 */ bctrl +lbl_8009E1C8: +/* 8009E1C8 0009B128 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8009E1CC: +/* 8009E1CC 0009B12C 7C 1B E0 40 */ cmplw r27, r28 +/* 8009E1D0 0009B130 40 82 FF C4 */ bne lbl_8009E194 +/* 8009E1D4 0009B134 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8009E1D8 0009B138 28 03 00 00 */ cmplwi r3, 0 +/* 8009E1DC 0009B13C 41 82 00 08 */ beq lbl_8009E1E4 +/* 8009E1E0 0009B140 48 27 77 51 */ bl Free__7CMemoryFPCv +lbl_8009E1E4: +/* 8009E1E4 0009B144 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8009E1E8 0009B148 93 FE 00 08 */ stw r31, 8(r30) +lbl_8009E1EC: +/* 8009E1EC 0009B14C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8009E1F0 0009B150 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8009E1F4 0009B154 7C 08 03 A6 */ mtlr r0 +/* 8009E1F8 0009B158 38 21 00 30 */ addi r1, r1, 0x30 +/* 8009E1FC 0009B15C 4E 80 00 20 */ blr + +.global sub_8009e200 +sub_8009e200: +/* 8009E200 0009B160 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009E204 0009B164 7C 08 02 A6 */ mflr r0 +/* 8009E208 0009B168 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009E20C 0009B16C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009E210 0009B170 93 C1 00 08 */ stw r30, 8(r1) +/* 8009E214 0009B174 7C 7E 1B 78 */ mr r30, r3 +/* 8009E218 0009B178 80 03 00 04 */ lwz r0, 4(r3) +/* 8009E21C 0009B17C 83 E4 00 04 */ lwz r31, 4(r4) +/* 8009E220 0009B180 7C 04 00 40 */ cmplw r4, r0 +/* 8009E224 0009B184 40 82 00 08 */ bne lbl_8009E22C +/* 8009E228 0009B188 93 FE 00 04 */ stw r31, 4(r30) +lbl_8009E22C: +/* 8009E22C 0009B18C 80 04 00 04 */ lwz r0, 4(r4) +/* 8009E230 0009B190 28 04 00 00 */ cmplwi r4, 0 +/* 8009E234 0009B194 80 64 00 00 */ lwz r3, 0(r4) +/* 8009E238 0009B198 90 03 00 04 */ stw r0, 4(r3) +/* 8009E23C 0009B19C 80 04 00 00 */ lwz r0, 0(r4) +/* 8009E240 0009B1A0 80 64 00 04 */ lwz r3, 4(r4) +/* 8009E244 0009B1A4 90 03 00 00 */ stw r0, 0(r3) +/* 8009E248 0009B1A8 41 82 00 0C */ beq lbl_8009E254 +/* 8009E24C 0009B1AC 7C 83 23 78 */ mr r3, r4 +/* 8009E250 0009B1B0 48 27 76 E1 */ bl Free__7CMemoryFPCv +lbl_8009E254: +/* 8009E254 0009B1B4 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8009E258 0009B1B8 7F E3 FB 78 */ mr r3, r31 +/* 8009E25C 0009B1BC 38 04 FF FF */ addi r0, r4, -1 +/* 8009E260 0009B1C0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8009E264 0009B1C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8009E268 0009B1C8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8009E26C 0009B1CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009E270 0009B1D0 7C 08 03 A6 */ mtlr r0 +/* 8009E274 0009B1D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8009E278 0009B1D8 4E 80 00 20 */ blr + +.global sub_8009e27c +sub_8009e27c: +/* 8009E27C 0009B1DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009E280 0009B1E0 7C 08 02 A6 */ mflr r0 +/* 8009E284 0009B1E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009E288 0009B1E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009E28C 0009B1EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009E290 0009B1F0 7C 9E 23 78 */ mr r30, r4 +/* 8009E294 0009B1F4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009E298 0009B1F8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8009E29C 0009B1FC 41 82 00 38 */ beq lbl_8009E2D4 +/* 8009E2A0 0009B200 83 FD 00 04 */ lwz r31, 4(r29) +/* 8009E2A4 0009B204 48 00 00 14 */ b lbl_8009E2B8 +lbl_8009E2A8: +/* 8009E2A8 0009B208 7F E3 FB 79 */ or. r3, r31, r31 +/* 8009E2AC 0009B20C 83 FF 00 04 */ lwz r31, 4(r31) +/* 8009E2B0 0009B210 41 82 00 08 */ beq lbl_8009E2B8 +/* 8009E2B4 0009B214 48 27 76 7D */ bl Free__7CMemoryFPCv +lbl_8009E2B8: +/* 8009E2B8 0009B218 80 1D 00 08 */ lwz r0, 8(r29) +/* 8009E2BC 0009B21C 7C 1F 00 40 */ cmplw r31, r0 +/* 8009E2C0 0009B220 40 82 FF E8 */ bne lbl_8009E2A8 +/* 8009E2C4 0009B224 7F C0 07 35 */ extsh. r0, r30 +/* 8009E2C8 0009B228 40 81 00 0C */ ble lbl_8009E2D4 +/* 8009E2CC 0009B22C 7F A3 EB 78 */ mr r3, r29 +/* 8009E2D0 0009B230 48 27 76 61 */ bl Free__7CMemoryFPCv +lbl_8009E2D4: +/* 8009E2D4 0009B234 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009E2D8 0009B238 7F A3 EB 78 */ mr r3, r29 +/* 8009E2DC 0009B23C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009E2E0 0009B240 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009E2E4 0009B244 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009E2E8 0009B248 7C 08 03 A6 */ mtlr r0 +/* 8009E2EC 0009B24C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009E2F0 0009B250 4E 80 00 20 */ blr + +.global sub_8009e2f4 +sub_8009e2f4: +/* 8009E2F4 0009B254 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009E2F8 0009B258 7C 08 02 A6 */ mflr r0 +/* 8009E2FC 0009B25C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009E300 0009B260 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009E304 0009B264 93 C1 00 08 */ stw r30, 8(r1) +/* 8009E308 0009B268 7C 7E 1B 78 */ mr r30, r3 +/* 8009E30C 0009B26C 80 03 00 04 */ lwz r0, 4(r3) +/* 8009E310 0009B270 83 E4 00 04 */ lwz r31, 4(r4) +/* 8009E314 0009B274 7C 04 00 40 */ cmplw r4, r0 +/* 8009E318 0009B278 40 82 00 08 */ bne lbl_8009E320 +/* 8009E31C 0009B27C 93 FE 00 04 */ stw r31, 4(r30) +lbl_8009E320: +/* 8009E320 0009B280 80 04 00 04 */ lwz r0, 4(r4) +/* 8009E324 0009B284 28 04 00 00 */ cmplwi r4, 0 +/* 8009E328 0009B288 80 64 00 00 */ lwz r3, 0(r4) +/* 8009E32C 0009B28C 90 03 00 04 */ stw r0, 4(r3) +/* 8009E330 0009B290 80 04 00 00 */ lwz r0, 0(r4) +/* 8009E334 0009B294 80 64 00 04 */ lwz r3, 4(r4) +/* 8009E338 0009B298 90 03 00 00 */ stw r0, 0(r3) +/* 8009E33C 0009B29C 41 82 00 0C */ beq lbl_8009E348 +/* 8009E340 0009B2A0 7C 83 23 78 */ mr r3, r4 +/* 8009E344 0009B2A4 48 27 75 ED */ bl Free__7CMemoryFPCv +lbl_8009E348: +/* 8009E348 0009B2A8 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8009E34C 0009B2AC 7F E3 FB 78 */ mr r3, r31 +/* 8009E350 0009B2B0 38 04 FF FF */ addi r0, r4, -1 +/* 8009E354 0009B2B4 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8009E358 0009B2B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8009E35C 0009B2BC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8009E360 0009B2C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009E364 0009B2C4 7C 08 03 A6 */ mtlr r0 +/* 8009E368 0009B2C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8009E36C 0009B2CC 4E 80 00 20 */ blr + +.global sub_8009e370 +sub_8009e370: +/* 8009E370 0009B2D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009E374 0009B2D4 7C 08 02 A6 */ mflr r0 +/* 8009E378 0009B2D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009E37C 0009B2DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009E380 0009B2E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009E384 0009B2E4 7C 9E 23 78 */ mr r30, r4 +/* 8009E388 0009B2E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009E38C 0009B2EC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8009E390 0009B2F0 41 82 00 38 */ beq lbl_8009E3C8 +/* 8009E394 0009B2F4 83 FD 00 04 */ lwz r31, 4(r29) +/* 8009E398 0009B2F8 48 00 00 14 */ b lbl_8009E3AC +lbl_8009E39C: +/* 8009E39C 0009B2FC 7F E3 FB 79 */ or. r3, r31, r31 +/* 8009E3A0 0009B300 83 FF 00 04 */ lwz r31, 4(r31) +/* 8009E3A4 0009B304 41 82 00 08 */ beq lbl_8009E3AC +/* 8009E3A8 0009B308 48 27 75 89 */ bl Free__7CMemoryFPCv +lbl_8009E3AC: +/* 8009E3AC 0009B30C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8009E3B0 0009B310 7C 1F 00 40 */ cmplw r31, r0 +/* 8009E3B4 0009B314 40 82 FF E8 */ bne lbl_8009E39C +/* 8009E3B8 0009B318 7F C0 07 35 */ extsh. r0, r30 +/* 8009E3BC 0009B31C 40 81 00 0C */ ble lbl_8009E3C8 +/* 8009E3C0 0009B320 7F A3 EB 78 */ mr r3, r29 +/* 8009E3C4 0009B324 48 27 75 6D */ bl Free__7CMemoryFPCv +lbl_8009E3C8: +/* 8009E3C8 0009B328 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009E3CC 0009B32C 7F A3 EB 78 */ mr r3, r29 +/* 8009E3D0 0009B330 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009E3D4 0009B334 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009E3D8 0009B338 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009E3DC 0009B33C 7C 08 03 A6 */ mtlr r0 +/* 8009E3E0 0009B340 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009E3E4 0009B344 4E 80 00 20 */ blr + +.global Accept__14CScriptCounterFR8IVisitor +Accept__14CScriptCounterFR8IVisitor: +/* 8009E3E8 0009B348 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009E3EC 0009B34C 7C 08 02 A6 */ mflr r0 +/* 8009E3F0 0009B350 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009E3F4 0009B354 7C 60 1B 78 */ mr r0, r3 +/* 8009E3F8 0009B358 7C 83 23 78 */ mr r3, r4 +/* 8009E3FC 0009B35C 81 84 00 00 */ lwz r12, 0(r4) +/* 8009E400 0009B360 7C 04 03 78 */ mr r4, r0 +/* 8009E404 0009B364 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8009E408 0009B368 7D 89 03 A6 */ mtctr r12 +/* 8009E40C 0009B36C 4E 80 04 21 */ bctrl +/* 8009E410 0009B370 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009E414 0009B374 7C 08 03 A6 */ mtlr r0 +/* 8009E418 0009B378 38 21 00 10 */ addi r1, r1, 0x10 +/* 8009E41C 0009B37C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__14CScriptCounterF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__14CScriptCounterF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8009E420 0009B380 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009E424 0009B384 7C 08 02 A6 */ mflr r0 +/* 8009E428 0009B388 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009E42C 0009B38C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009E430 0009B390 7C DF 33 78 */ mr r31, r6 +/* 8009E434 0009B394 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009E438 0009B398 7C BE 2B 78 */ mr r30, r5 +/* 8009E43C 0009B39C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009E440 0009B3A0 7C 9D 23 78 */ mr r29, r4 +/* 8009E444 0009B3A4 38 1D FF FB */ addi r0, r29, -5 +/* 8009E448 0009B3A8 28 00 00 08 */ cmplwi r0, 8 +/* 8009E44C 0009B3AC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8009E450 0009B3B0 7C 7C 1B 78 */ mr r28, r3 +/* 8009E454 0009B3B4 41 81 01 58 */ bgt lbl_8009E5AC +/* 8009E458 0009B3B8 3C 80 80 3E */ lis r4, lbl_803DAF10@ha +/* 8009E45C 0009B3BC 54 00 10 3A */ slwi r0, r0, 2 +/* 8009E460 0009B3C0 38 84 AF 10 */ addi r4, r4, lbl_803DAF10@l +/* 8009E464 0009B3C4 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8009E468 0009B3C8 7C 09 03 A6 */ mtctr r0 +/* 8009E46C 0009B3CC 4E 80 04 20 */ bctr +/* 8009E470 0009B3D0 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8009E474 0009B3D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009E478 0009B3D8 41 82 01 34 */ beq lbl_8009E5AC +/* 8009E47C 0009B3DC 38 00 00 00 */ li r0, 0 +/* 8009E480 0009B3E0 7F E5 FB 78 */ mr r5, r31 +/* 8009E484 0009B3E4 90 1C 00 38 */ stw r0, 0x38(r28) +/* 8009E488 0009B3E8 38 80 00 09 */ li r4, 9 +/* 8009E48C 0009B3EC 38 C0 FF FF */ li r6, -1 +/* 8009E490 0009B3F0 4B FB 2C 31 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8009E494 0009B3F4 88 1C 00 40 */ lbz r0, 0x40(r28) +/* 8009E498 0009B3F8 28 00 00 00 */ cmplwi r0, 0 +/* 8009E49C 0009B3FC 41 82 01 10 */ beq lbl_8009E5AC +/* 8009E4A0 0009B400 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8009E4A4 0009B404 90 1C 00 38 */ stw r0, 0x38(r28) +/* 8009E4A8 0009B408 48 00 01 04 */ b lbl_8009E5AC +/* 8009E4AC 0009B40C 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8009E4B0 0009B410 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009E4B4 0009B414 41 82 00 F8 */ beq lbl_8009E5AC +/* 8009E4B8 0009B418 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 8009E4BC 0009B41C 7F E5 FB 78 */ mr r5, r31 +/* 8009E4C0 0009B420 38 80 00 07 */ li r4, 7 +/* 8009E4C4 0009B424 38 C0 FF FF */ li r6, -1 +/* 8009E4C8 0009B428 90 1C 00 38 */ stw r0, 0x38(r28) +/* 8009E4CC 0009B42C 4B FB 2B F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8009E4D0 0009B430 88 1C 00 40 */ lbz r0, 0x40(r28) +/* 8009E4D4 0009B434 28 00 00 00 */ cmplwi r0, 0 +/* 8009E4D8 0009B438 41 82 00 D4 */ beq lbl_8009E5AC +/* 8009E4DC 0009B43C 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8009E4E0 0009B440 90 1C 00 38 */ stw r0, 0x38(r28) +/* 8009E4E4 0009B444 48 00 00 C8 */ b lbl_8009E5AC +/* 8009E4E8 0009B448 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8009E4EC 0009B44C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009E4F0 0009B450 41 82 00 BC */ beq lbl_8009E5AC +/* 8009E4F4 0009B454 80 9C 00 38 */ lwz r4, 0x38(r28) +/* 8009E4F8 0009B458 2C 04 00 00 */ cmpwi r4, 0 +/* 8009E4FC 0009B45C 41 82 00 B0 */ beq lbl_8009E5AC +/* 8009E500 0009B460 38 04 FF FF */ addi r0, r4, -1 +/* 8009E504 0009B464 90 1C 00 38 */ stw r0, 0x38(r28) +/* 8009E508 0009B468 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 8009E50C 0009B46C 2C 00 00 00 */ cmpwi r0, 0 +/* 8009E510 0009B470 40 82 00 9C */ bne lbl_8009E5AC +/* 8009E514 0009B474 7F E5 FB 78 */ mr r5, r31 +/* 8009E518 0009B478 38 80 00 09 */ li r4, 9 +/* 8009E51C 0009B47C 38 C0 FF FF */ li r6, -1 +/* 8009E520 0009B480 4B FB 2B A1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8009E524 0009B484 88 1C 00 40 */ lbz r0, 0x40(r28) +/* 8009E528 0009B488 28 00 00 00 */ cmplwi r0, 0 +/* 8009E52C 0009B48C 41 82 00 80 */ beq lbl_8009E5AC +/* 8009E530 0009B490 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8009E534 0009B494 90 1C 00 38 */ stw r0, 0x38(r28) +/* 8009E538 0009B498 48 00 00 74 */ b lbl_8009E5AC +/* 8009E53C 0009B49C 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8009E540 0009B4A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009E544 0009B4A4 41 82 00 68 */ beq lbl_8009E5AC +/* 8009E548 0009B4A8 80 9C 00 38 */ lwz r4, 0x38(r28) +/* 8009E54C 0009B4AC 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 8009E550 0009B4B0 7C 04 00 00 */ cmpw r4, r0 +/* 8009E554 0009B4B4 40 80 00 58 */ bge lbl_8009E5AC +/* 8009E558 0009B4B8 38 04 00 01 */ addi r0, r4, 1 +/* 8009E55C 0009B4BC 90 1C 00 38 */ stw r0, 0x38(r28) +/* 8009E560 0009B4C0 80 9C 00 38 */ lwz r4, 0x38(r28) +/* 8009E564 0009B4C4 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 8009E568 0009B4C8 7C 04 00 00 */ cmpw r4, r0 +/* 8009E56C 0009B4CC 40 82 00 40 */ bne lbl_8009E5AC +/* 8009E570 0009B4D0 7F E5 FB 78 */ mr r5, r31 +/* 8009E574 0009B4D4 38 80 00 07 */ li r4, 7 +/* 8009E578 0009B4D8 38 C0 FF FF */ li r6, -1 +/* 8009E57C 0009B4DC 4B FB 2B 45 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8009E580 0009B4E0 88 1C 00 40 */ lbz r0, 0x40(r28) +/* 8009E584 0009B4E4 28 00 00 00 */ cmplwi r0, 0 +/* 8009E588 0009B4E8 41 82 00 24 */ beq lbl_8009E5AC +/* 8009E58C 0009B4EC 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8009E590 0009B4F0 90 1C 00 38 */ stw r0, 0x38(r28) +/* 8009E594 0009B4F4 48 00 00 18 */ b lbl_8009E5AC +/* 8009E598 0009B4F8 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8009E59C 0009B4FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8009E5A0 0009B500 41 82 00 0C */ beq lbl_8009E5AC +/* 8009E5A4 0009B504 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8009E5A8 0009B508 90 1C 00 38 */ stw r0, 0x38(r28) +lbl_8009E5AC: +/* 8009E5AC 0009B50C A0 1E 00 00 */ lhz r0, 0(r30) +/* 8009E5B0 0009B510 7F 83 E3 78 */ mr r3, r28 +/* 8009E5B4 0009B514 7F A4 EB 78 */ mr r4, r29 +/* 8009E5B8 0009B518 7F E6 FB 78 */ mr r6, r31 +/* 8009E5BC 0009B51C B0 01 00 08 */ sth r0, 8(r1) +/* 8009E5C0 0009B520 38 A1 00 08 */ addi r5, r1, 8 +/* 8009E5C4 0009B524 4B FB 2B 99 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8009E5C8 0009B528 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009E5CC 0009B52C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009E5D0 0009B530 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009E5D4 0009B534 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009E5D8 0009B538 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8009E5DC 0009B53C 7C 08 03 A6 */ mtlr r0 +/* 8009E5E0 0009B540 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009E5E4 0009B544 4E 80 00 20 */ blr + +.global __dt__14CScriptCounterFv +__dt__14CScriptCounterFv: +/* 8009E5E8 0009B548 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009E5EC 0009B54C 7C 08 02 A6 */ mflr r0 +/* 8009E5F0 0009B550 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009E5F4 0009B554 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009E5F8 0009B558 7C 9F 23 78 */ mr r31, r4 +/* 8009E5FC 0009B55C 93 C1 00 08 */ stw r30, 8(r1) +/* 8009E600 0009B560 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8009E604 0009B564 41 82 00 28 */ beq lbl_8009E62C +/* 8009E608 0009B568 3C A0 80 3E */ lis r5, lbl_803DAEF0@ha +/* 8009E60C 0009B56C 38 80 00 00 */ li r4, 0 +/* 8009E610 0009B570 38 05 AE F0 */ addi r0, r5, lbl_803DAEF0@l +/* 8009E614 0009B574 90 1E 00 00 */ stw r0, 0(r30) +/* 8009E618 0009B578 4B FB 2C 5D */ bl __dt__7CEntityFv +/* 8009E61C 0009B57C 7F E0 07 35 */ extsh. r0, r31 +/* 8009E620 0009B580 40 81 00 0C */ ble lbl_8009E62C +/* 8009E624 0009B584 7F C3 F3 78 */ mr r3, r30 +/* 8009E628 0009B588 48 27 73 09 */ bl Free__7CMemoryFPCv +lbl_8009E62C: +/* 8009E62C 0009B58C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009E630 0009B590 7F C3 F3 78 */ mr r3, r30 +/* 8009E634 0009B594 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8009E638 0009B598 83 C1 00 08 */ lwz r30, 8(r1) +/* 8009E63C 0009B59C 7C 08 03 A6 */ mtlr r0 +/* 8009E640 0009B5A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8009E644 0009B5A4 4E 80 00 20 */ blr + +.global "__ct__14CScriptCounterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb" +"__ct__14CScriptCounterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb": +/* 8009E648 0009B5A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009E64C 0009B5AC 7C 08 02 A6 */ mflr r0 +/* 8009E650 0009B5B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009E654 0009B5B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009E658 0009B5B8 7D 3F 4B 78 */ mr r31, r9 +/* 8009E65C 0009B5BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009E660 0009B5C0 7D 1E 43 78 */ mr r30, r8 +/* 8009E664 0009B5C4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8009E668 0009B5C8 7C FD 3B 78 */ mr r29, r7 +/* 8009E66C 0009B5CC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8009E670 0009B5D0 7C 7C 1B 78 */ mr r28, r3 +/* 8009E674 0009B5D4 A0 04 00 00 */ lhz r0, 0(r4) +/* 8009E678 0009B5D8 7C A4 2B 78 */ mr r4, r5 +/* 8009E67C 0009B5DC 7C C5 33 78 */ mr r5, r6 +/* 8009E680 0009B5E0 7D 46 53 78 */ mr r6, r10 +/* 8009E684 0009B5E4 B0 01 00 08 */ sth r0, 8(r1) +/* 8009E688 0009B5E8 7C 87 23 78 */ mr r7, r4 +/* 8009E68C 0009B5EC 38 81 00 08 */ addi r4, r1, 8 +/* 8009E690 0009B5F0 4B FB 2C 95 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8009E694 0009B5F4 3C 80 80 3E */ lis r4, lbl_803DAEF0@ha +/* 8009E698 0009B5F8 7F 83 E3 78 */ mr r3, r28 +/* 8009E69C 0009B5FC 38 04 AE F0 */ addi r0, r4, lbl_803DAEF0@l +/* 8009E6A0 0009B600 90 1C 00 00 */ stw r0, 0(r28) +/* 8009E6A4 0009B604 93 BC 00 34 */ stw r29, 0x34(r28) +/* 8009E6A8 0009B608 93 BC 00 38 */ stw r29, 0x38(r28) +/* 8009E6AC 0009B60C 93 DC 00 3C */ stw r30, 0x3c(r28) +/* 8009E6B0 0009B610 9B FC 00 40 */ stb r31, 0x40(r28) +/* 8009E6B4 0009B614 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009E6B8 0009B618 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009E6BC 0009B61C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009E6C0 0009B620 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8009E6C4 0009B624 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8009E6C8 0009B628 7C 08 03 A6 */ mtlr r0 +/* 8009E6CC 0009B62C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009E6D0 0009B630 4E 80 00 20 */ blr + +.global MinCircle__FiPC9CVector2f +MinCircle__FiPC9CVector2f: +/* 8009E6D4 0009B634 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8009E6D8 0009B638 7C 08 02 A6 */ mflr r0 +/* 8009E6DC 0009B63C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8009E6E0 0009B640 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8009E6E4 0009B644 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8009E6E8 0009B648 BF 21 00 64 */ stmw r25, 0x64(r1) +/* 8009E6EC 0009B64C 38 CD A8 98 */ addi r6, r13, lbl_805A9458@sda21 +/* 8009E6F0 0009B650 7C 9D 23 78 */ mr r29, r4 +/* 8009E6F4 0009B654 C0 4D A8 98 */ lfs f2, lbl_805A9458@sda21(r13) +/* 8009E6F8 0009B658 2C 1D 00 01 */ cmpwi r29, 1 +/* 8009E6FC 0009B65C C0 26 00 04 */ lfs f1, 4(r6) +/* 8009E700 0009B660 7C 7C 1B 78 */ mr r28, r3 +/* 8009E704 0009B664 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 8009E708 0009B668 7C BF 2B 78 */ mr r31, r5 +/* 8009E70C 0009B66C D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8009E710 0009B670 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8009E714 0009B674 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8009E718 0009B678 41 80 02 68 */ blt lbl_8009E980 +/* 8009E71C 0009B67C 3C 80 80 3D */ lis r4, lbl_803CD960@ha +/* 8009E720 0009B680 57 A3 10 3A */ slwi r3, r29, 2 +/* 8009E724 0009B684 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l +/* 8009E728 0009B688 38 A0 00 00 */ li r5, 0 +/* 8009E72C 0009B68C 48 27 70 ED */ bl __nwa__FUlPCcPCc +/* 8009E730 0009B690 2C 1D 00 00 */ cmpwi r29, 0 +/* 8009E734 0009B694 7C 7E 1B 78 */ mr r30, r3 +/* 8009E738 0009B698 39 20 00 00 */ li r9, 0 +/* 8009E73C 0009B69C 40 81 00 A8 */ ble lbl_8009E7E4 +/* 8009E740 0009B6A0 2C 1D 00 08 */ cmpwi r29, 8 +/* 8009E744 0009B6A4 38 7D FF F8 */ addi r3, r29, -8 +/* 8009E748 0009B6A8 40 81 00 6C */ ble lbl_8009E7B4 +/* 8009E74C 0009B6AC 38 03 00 07 */ addi r0, r3, 7 +/* 8009E750 0009B6B0 7F E7 FB 78 */ mr r7, r31 +/* 8009E754 0009B6B4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8009E758 0009B6B8 7F C8 F3 78 */ mr r8, r30 +/* 8009E75C 0009B6BC 7C 09 03 A6 */ mtctr r0 +/* 8009E760 0009B6C0 2C 03 00 00 */ cmpwi r3, 0 +/* 8009E764 0009B6C4 40 81 00 50 */ ble lbl_8009E7B4 +lbl_8009E768: +/* 8009E768 0009B6C8 90 E8 00 00 */ stw r7, 0(r8) +/* 8009E76C 0009B6CC 38 67 00 08 */ addi r3, r7, 8 +/* 8009E770 0009B6D0 38 07 00 10 */ addi r0, r7, 0x10 +/* 8009E774 0009B6D4 38 C7 00 18 */ addi r6, r7, 0x18 +/* 8009E778 0009B6D8 90 68 00 04 */ stw r3, 4(r8) +/* 8009E77C 0009B6DC 38 A7 00 20 */ addi r5, r7, 0x20 +/* 8009E780 0009B6E0 38 87 00 28 */ addi r4, r7, 0x28 +/* 8009E784 0009B6E4 38 67 00 30 */ addi r3, r7, 0x30 +/* 8009E788 0009B6E8 90 08 00 08 */ stw r0, 8(r8) +/* 8009E78C 0009B6EC 38 07 00 38 */ addi r0, r7, 0x38 +/* 8009E790 0009B6F0 38 E7 00 40 */ addi r7, r7, 0x40 +/* 8009E794 0009B6F4 39 29 00 08 */ addi r9, r9, 8 +/* 8009E798 0009B6F8 90 C8 00 0C */ stw r6, 0xc(r8) +/* 8009E79C 0009B6FC 90 A8 00 10 */ stw r5, 0x10(r8) +/* 8009E7A0 0009B700 90 88 00 14 */ stw r4, 0x14(r8) +/* 8009E7A4 0009B704 90 68 00 18 */ stw r3, 0x18(r8) +/* 8009E7A8 0009B708 90 08 00 1C */ stw r0, 0x1c(r8) +/* 8009E7AC 0009B70C 39 08 00 20 */ addi r8, r8, 0x20 +/* 8009E7B0 0009B710 42 00 FF B8 */ bdnz lbl_8009E768 +lbl_8009E7B4: +/* 8009E7B4 0009B714 55 24 18 38 */ slwi r4, r9, 3 +/* 8009E7B8 0009B718 55 23 10 3A */ slwi r3, r9, 2 +/* 8009E7BC 0009B71C 7C 09 E8 50 */ subf r0, r9, r29 +/* 8009E7C0 0009B720 7C 9F 22 14 */ add r4, r31, r4 +/* 8009E7C4 0009B724 7C 7E 1A 14 */ add r3, r30, r3 +/* 8009E7C8 0009B728 7C 09 03 A6 */ mtctr r0 +/* 8009E7CC 0009B72C 7C 09 E8 00 */ cmpw r9, r29 +/* 8009E7D0 0009B730 40 80 00 14 */ bge lbl_8009E7E4 +lbl_8009E7D4: +/* 8009E7D4 0009B734 90 83 00 00 */ stw r4, 0(r3) +/* 8009E7D8 0009B738 38 84 00 08 */ addi r4, r4, 8 +/* 8009E7DC 0009B73C 38 63 00 04 */ addi r3, r3, 4 +/* 8009E7E0 0009B740 42 00 FF F4 */ bdnz lbl_8009E7D4 +lbl_8009E7E4: +/* 8009E7E4 0009B744 3B 3D FF FF */ addi r25, r29, -1 +/* 8009E7E8 0009B748 57 20 10 3A */ slwi r0, r25, 2 +/* 8009E7EC 0009B74C 7F 5E 02 14 */ add r26, r30, r0 +/* 8009E7F0 0009B750 48 00 00 3C */ b lbl_8009E82C +lbl_8009E7F4: +/* 8009E7F4 0009B754 48 2F 16 89 */ bl rand +/* 8009E7F8 0009B758 38 99 00 01 */ addi r4, r25, 1 +/* 8009E7FC 0009B75C 7C 03 23 D6 */ divw r0, r3, r4 +/* 8009E800 0009B760 7C 00 21 D6 */ mullw r0, r0, r4 +/* 8009E804 0009B764 7C 00 18 50 */ subf r0, r0, r3 +/* 8009E808 0009B768 7C 00 C8 00 */ cmpw r0, r25 +/* 8009E80C 0009B76C 41 82 00 18 */ beq lbl_8009E824 +/* 8009E810 0009B770 54 03 10 3A */ slwi r3, r0, 2 +/* 8009E814 0009B774 80 9A 00 00 */ lwz r4, 0(r26) +/* 8009E818 0009B778 7C 1E 18 2E */ lwzx r0, r30, r3 +/* 8009E81C 0009B77C 90 1A 00 00 */ stw r0, 0(r26) +/* 8009E820 0009B780 7C 9E 19 2E */ stwx r4, r30, r3 +lbl_8009E824: +/* 8009E824 0009B784 3B 5A FF FC */ addi r26, r26, -4 +/* 8009E828 0009B788 3B 39 FF FF */ addi r25, r25, -1 +lbl_8009E82C: +/* 8009E82C 0009B78C 2C 19 00 00 */ cmpwi r25, 0 +/* 8009E830 0009B790 41 81 FF C4 */ bgt lbl_8009E7F4 +/* 8009E834 0009B794 80 9E 00 00 */ lwz r4, 0(r30) +/* 8009E838 0009B798 38 61 00 28 */ addi r3, r1, 0x28 +/* 8009E83C 0009B79C 48 00 0A ED */ bl ExactCircle1__FRC9CVector2f +/* 8009E840 0009B7A0 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8009E844 0009B7A4 3B E0 00 01 */ li r31, 1 +/* 8009E848 0009B7A8 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8009E84C 0009B7AC 38 00 00 00 */ li r0, 0 +/* 8009E850 0009B7B0 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8009E854 0009B7B4 90 81 00 50 */ stw r4, 0x50(r1) +/* 8009E858 0009B7B8 C3 E2 8C 24 */ lfs f31, lbl_805AA944@sda21(r2) +/* 8009E85C 0009B7BC 90 61 00 54 */ stw r3, 0x54(r1) +/* 8009E860 0009B7C0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8009E864 0009B7C4 93 E1 00 40 */ stw r31, 0x40(r1) +/* 8009E868 0009B7C8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8009E86C 0009B7CC 48 00 00 FC */ b lbl_8009E968 +lbl_8009E870: +/* 8009E870 0009B7D0 3B 21 00 40 */ addi r25, r1, 0x40 +/* 8009E874 0009B7D4 57 FB 10 3A */ slwi r27, r31, 2 +/* 8009E878 0009B7D8 3B 40 00 00 */ li r26, 0 +/* 8009E87C 0009B7DC 48 00 00 4C */ b lbl_8009E8C8 +lbl_8009E880: +/* 8009E880 0009B7E0 80 19 00 04 */ lwz r0, 4(r25) +/* 8009E884 0009B7E4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8009E888 0009B7E8 7C 9E D8 2E */ lwzx r4, r30, r27 +/* 8009E88C 0009B7EC 54 00 10 3A */ slwi r0, r0, 2 +/* 8009E890 0009B7F0 7C BE 00 2E */ lwzx r5, r30, r0 +/* 8009E894 0009B7F4 48 27 56 A5 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8009E898 0009B7F8 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8009E89C 0009B7FC 38 61 00 0C */ addi r3, r1, 0xc +/* 8009E8A0 0009B800 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8009E8A4 0009B804 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8009E8A8 0009B808 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8009E8AC 0009B80C 48 27 58 31 */ bl MagSquared__9CVector2fCFv +/* 8009E8B0 0009B810 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8009E8B4 0009B814 40 80 00 0C */ bge lbl_8009E8C0 +/* 8009E8B8 0009B818 38 00 00 01 */ li r0, 1 +/* 8009E8BC 0009B81C 48 00 00 1C */ b lbl_8009E8D8 +lbl_8009E8C0: +/* 8009E8C0 0009B820 3B 39 00 04 */ addi r25, r25, 4 +/* 8009E8C4 0009B824 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8009E8C8: +/* 8009E8C8 0009B828 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8009E8CC 0009B82C 7C 1A 00 00 */ cmpw r26, r0 +/* 8009E8D0 0009B830 41 80 FF B0 */ blt lbl_8009E880 +/* 8009E8D4 0009B834 38 00 00 00 */ li r0, 0 +lbl_8009E8D8: +/* 8009E8D8 0009B838 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8009E8DC 0009B83C 40 82 00 88 */ bne lbl_8009E964 +/* 8009E8E0 0009B840 7C 7E D8 2E */ lwzx r3, r30, r27 +/* 8009E8E4 0009B844 38 81 00 50 */ addi r4, r1, 0x50 +/* 8009E8E8 0009B848 38 A1 00 08 */ addi r5, r1, 8 +/* 8009E8EC 0009B84C 48 00 0A 85 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009E8F0 0009B850 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009E8F4 0009B854 40 82 00 70 */ bne lbl_8009E964 +/* 8009E8F8 0009B858 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8009E8FC 0009B85C 3C 60 80 3E */ lis r3, lbl_803DAF38@ha +/* 8009E900 0009B860 38 63 AF 38 */ addi r3, r3, lbl_803DAF38@l +/* 8009E904 0009B864 7F E4 FB 78 */ mr r4, r31 +/* 8009E908 0009B868 54 00 10 3A */ slwi r0, r0, 2 +/* 8009E90C 0009B86C 7F C5 F3 78 */ mr r5, r30 +/* 8009E910 0009B870 7D 83 00 2E */ lwzx r12, r3, r0 +/* 8009E914 0009B874 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009E918 0009B878 38 C1 00 40 */ addi r6, r1, 0x40 +/* 8009E91C 0009B87C 7D 89 03 A6 */ mtctr r12 +/* 8009E920 0009B880 4E 80 04 21 */ bctrl +/* 8009E924 0009B884 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8009E928 0009B888 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8009E92C 0009B88C C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 8009E930 0009B890 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8009E934 0009B894 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009E938 0009B898 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8009E93C 0009B89C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8009E940 0009B8A0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8009E944 0009B8A4 40 81 00 20 */ ble lbl_8009E964 +/* 8009E948 0009B8A8 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8009E94C 0009B8AC 3B E0 00 00 */ li r31, 0 +/* 8009E950 0009B8B0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8009E954 0009B8B4 90 61 00 50 */ stw r3, 0x50(r1) +/* 8009E958 0009B8B8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8009E95C 0009B8BC D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8009E960 0009B8C0 48 00 00 08 */ b lbl_8009E968 +lbl_8009E964: +/* 8009E964 0009B8C4 3B FF 00 01 */ addi r31, r31, 1 +lbl_8009E968: +/* 8009E968 0009B8C8 7C 1F E8 00 */ cmpw r31, r29 +/* 8009E96C 0009B8CC 41 80 FF 04 */ blt lbl_8009E870 +/* 8009E970 0009B8D0 28 1E 00 00 */ cmplwi r30, 0 +/* 8009E974 0009B8D4 41 82 00 0C */ beq lbl_8009E980 +/* 8009E978 0009B8D8 7F C3 F3 78 */ mr r3, r30 +/* 8009E97C 0009B8DC 48 27 6F B5 */ bl Free__7CMemoryFPCv +lbl_8009E980: +/* 8009E980 0009B8E0 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 8009E984 0009B8E4 48 27 6B 7D */ bl SqrtF__5CMathFf +/* 8009E988 0009B8E8 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8009E98C 0009B8EC C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8009E990 0009B8F0 D0 1C 00 00 */ stfs f0, 0(r28) +/* 8009E994 0009B8F4 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8009E998 0009B8F8 D0 1C 00 04 */ stfs f0, 4(r28) +/* 8009E99C 0009B8FC C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8009E9A0 0009B900 D0 1C 00 08 */ stfs f0, 8(r28) +/* 8009E9A4 0009B904 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8009E9A8 0009B908 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8009E9AC 0009B90C BB 21 00 64 */ lmw r25, 0x64(r1) +/* 8009E9B0 0009B910 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8009E9B4 0009B914 7C 08 03 A6 */ mtlr r0 +/* 8009E9B8 0009B918 38 21 00 90 */ addi r1, r1, 0x90 +/* 8009E9BC 0009B91C 4E 80 00 20 */ blr + +.global UpdateSupport3__FiPP9CVector2fR7Support +UpdateSupport3__FiPP9CVector2fR7Support: +/* 8009E9C0 0009B920 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8009E9C4 0009B924 7C 08 02 A6 */ mflr r0 +/* 8009E9C8 0009B928 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8009E9CC 0009B92C DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 8009E9D0 0009B930 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8009E9D4 0009B934 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 8009E9D8 0009B938 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 8009E9DC 0009B93C BE C1 00 A8 */ stmw r22, 0xa8(r1) +/* 8009E9E0 0009B940 7C D9 33 78 */ mr r25, r6 +/* 8009E9E4 0009B944 7C 98 23 78 */ mr r24, r4 +/* 8009E9E8 0009B948 81 06 00 04 */ lwz r8, 4(r6) +/* 8009E9EC 0009B94C 54 80 10 3A */ slwi r0, r4, 2 +/* 8009E9F0 0009B950 80 E6 00 08 */ lwz r7, 8(r6) +/* 8009E9F4 0009B954 38 CD A8 98 */ addi r6, r13, lbl_805A9458@sda21 +/* 8009E9F8 0009B958 80 99 00 0C */ lwz r4, 0xc(r25) +/* 8009E9FC 0009B95C 55 08 10 3A */ slwi r8, r8, 2 +/* 8009EA00 0009B960 54 E7 10 3A */ slwi r7, r7, 2 +/* 8009EA04 0009B964 C3 E2 8C 28 */ lfs f31, lbl_805AA948@sda21(r2) +/* 8009EA08 0009B968 54 84 10 3A */ slwi r4, r4, 2 +/* 8009EA0C 0009B96C 7F E5 40 2E */ lwzx r31, r5, r8 +/* 8009EA10 0009B970 7F C5 38 2E */ lwzx r30, r5, r7 +/* 8009EA14 0009B974 FF C0 F8 90 */ fmr f30, f31 +/* 8009EA18 0009B978 7C 77 1B 78 */ mr r23, r3 +/* 8009EA1C 0009B97C 7F A5 20 2E */ lwzx r29, r5, r4 +/* 8009EA20 0009B980 7F 85 00 2E */ lwzx r28, r5, r0 +/* 8009EA24 0009B984 7F E4 FB 78 */ mr r4, r31 +/* 8009EA28 0009B988 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) +/* 8009EA2C 0009B98C C0 46 00 04 */ lfs f2, 4(r6) +/* 8009EA30 0009B990 7F 85 E3 78 */ mr r5, r28 +/* 8009EA34 0009B994 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 8009EA38 0009B998 38 61 00 48 */ addi r3, r1, 0x48 +/* 8009EA3C 0009B99C D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8009EA40 0009B9A0 3B 60 FF FF */ li r27, -1 +/* 8009EA44 0009B9A4 3B 40 FF FF */ li r26, -1 +/* 8009EA48 0009B9A8 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8009EA4C 0009B9AC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8009EA50 0009B9B0 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8009EA54 0009B9B4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8009EA58 0009B9B8 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8009EA5C 0009B9BC D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 8009EA60 0009B9C0 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8009EA64 0009B9C4 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8009EA68 0009B9C8 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 8009EA6C 0009B9CC D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8009EA70 0009B9D0 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8009EA74 0009B9D4 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 8009EA78 0009B9D8 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 8009EA7C 0009B9DC D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8009EA80 0009B9E0 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8009EA84 0009B9E4 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8009EA88 0009B9E8 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8009EA8C 0009B9EC 48 00 07 D1 */ bl ExactCircle2__FRC9CVector2fRC9CVector2f +/* 8009EA90 0009B9F0 80 C1 00 48 */ lwz r6, 0x48(r1) +/* 8009EA94 0009B9F4 7F C3 F3 78 */ mr r3, r30 +/* 8009EA98 0009B9F8 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8009EA9C 0009B9FC 38 81 00 54 */ addi r4, r1, 0x54 +/* 8009EAA0 0009BA00 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8009EAA4 0009BA04 38 A1 00 08 */ addi r5, r1, 8 +/* 8009EAA8 0009BA08 90 C1 00 54 */ stw r6, 0x54(r1) +/* 8009EAAC 0009BA0C 90 01 00 58 */ stw r0, 0x58(r1) +/* 8009EAB0 0009BA10 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8009EAB4 0009BA14 48 00 08 BD */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009EAB8 0009BA18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009EABC 0009BA1C 41 82 00 34 */ beq lbl_8009EAF0 +/* 8009EAC0 0009BA20 7F A3 EB 78 */ mr r3, r29 +/* 8009EAC4 0009BA24 38 81 00 54 */ addi r4, r1, 0x54 +/* 8009EAC8 0009BA28 38 A1 00 08 */ addi r5, r1, 8 +/* 8009EACC 0009BA2C 48 00 08 A5 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009EAD0 0009BA30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009EAD4 0009BA34 41 82 00 10 */ beq lbl_8009EAE4 +/* 8009EAD8 0009BA38 C3 E1 00 5C */ lfs f31, 0x5c(r1) +/* 8009EADC 0009BA3C 3B 60 00 00 */ li r27, 0 +/* 8009EAE0 0009BA40 48 00 00 18 */ b lbl_8009EAF8 +lbl_8009EAE4: +/* 8009EAE4 0009BA44 C3 C1 00 08 */ lfs f30, 8(r1) +/* 8009EAE8 0009BA48 3B 40 00 00 */ li r26, 0 +/* 8009EAEC 0009BA4C 48 00 00 0C */ b lbl_8009EAF8 +lbl_8009EAF0: +/* 8009EAF0 0009BA50 C3 C1 00 08 */ lfs f30, 8(r1) +/* 8009EAF4 0009BA54 3B 40 00 00 */ li r26, 0 +lbl_8009EAF8: +/* 8009EAF8 0009BA58 7F C4 F3 78 */ mr r4, r30 +/* 8009EAFC 0009BA5C 7F 85 E3 78 */ mr r5, r28 +/* 8009EB00 0009BA60 38 61 00 3C */ addi r3, r1, 0x3c +/* 8009EB04 0009BA64 48 00 07 59 */ bl ExactCircle2__FRC9CVector2fRC9CVector2f +/* 8009EB08 0009BA68 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8009EB0C 0009BA6C 3A C1 00 60 */ addi r22, r1, 0x60 +/* 8009EB10 0009BA70 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8009EB14 0009BA74 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8009EB18 0009BA78 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8009EB1C 0009BA7C 90 61 00 60 */ stw r3, 0x60(r1) +/* 8009EB20 0009BA80 90 01 00 64 */ stw r0, 0x64(r1) +/* 8009EB24 0009BA84 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8009EB28 0009BA88 40 80 00 6C */ bge lbl_8009EB94 +/* 8009EB2C 0009BA8C 7F E3 FB 78 */ mr r3, r31 +/* 8009EB30 0009BA90 7E C4 B3 78 */ mr r4, r22 +/* 8009EB34 0009BA94 38 A1 00 08 */ addi r5, r1, 8 +/* 8009EB38 0009BA98 48 00 08 39 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009EB3C 0009BA9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009EB40 0009BAA0 41 82 00 40 */ beq lbl_8009EB80 +/* 8009EB44 0009BAA4 7F A3 EB 78 */ mr r3, r29 +/* 8009EB48 0009BAA8 7E C4 B3 78 */ mr r4, r22 +/* 8009EB4C 0009BAAC 38 A1 00 08 */ addi r5, r1, 8 +/* 8009EB50 0009BAB0 48 00 08 21 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009EB54 0009BAB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009EB58 0009BAB8 41 82 00 10 */ beq lbl_8009EB68 +/* 8009EB5C 0009BABC C3 E1 00 68 */ lfs f31, 0x68(r1) +/* 8009EB60 0009BAC0 3B 60 00 01 */ li r27, 1 +/* 8009EB64 0009BAC4 48 00 00 30 */ b lbl_8009EB94 +lbl_8009EB68: +/* 8009EB68 0009BAC8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8009EB6C 0009BACC FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8009EB70 0009BAD0 40 80 00 24 */ bge lbl_8009EB94 +/* 8009EB74 0009BAD4 FF C0 00 90 */ fmr f30, f0 +/* 8009EB78 0009BAD8 3B 40 00 01 */ li r26, 1 +/* 8009EB7C 0009BADC 48 00 00 18 */ b lbl_8009EB94 +lbl_8009EB80: +/* 8009EB80 0009BAE0 C0 01 00 08 */ lfs f0, 8(r1) +/* 8009EB84 0009BAE4 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8009EB88 0009BAE8 40 80 00 0C */ bge lbl_8009EB94 +/* 8009EB8C 0009BAEC FF C0 00 90 */ fmr f30, f0 +/* 8009EB90 0009BAF0 3B 40 00 01 */ li r26, 1 +lbl_8009EB94: +/* 8009EB94 0009BAF4 7F A4 EB 78 */ mr r4, r29 +/* 8009EB98 0009BAF8 7F 85 E3 78 */ mr r5, r28 +/* 8009EB9C 0009BAFC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8009EBA0 0009BB00 48 00 06 BD */ bl ExactCircle2__FRC9CVector2fRC9CVector2f +/* 8009EBA4 0009BB04 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8009EBA8 0009BB08 3A C1 00 6C */ addi r22, r1, 0x6c +/* 8009EBAC 0009BB0C 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8009EBB0 0009BB10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8009EBB4 0009BB14 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8009EBB8 0009BB18 90 61 00 6C */ stw r3, 0x6c(r1) +/* 8009EBBC 0009BB1C 90 01 00 70 */ stw r0, 0x70(r1) +/* 8009EBC0 0009BB20 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8009EBC4 0009BB24 40 80 00 6C */ bge lbl_8009EC30 +/* 8009EBC8 0009BB28 7F E3 FB 78 */ mr r3, r31 +/* 8009EBCC 0009BB2C 7E C4 B3 78 */ mr r4, r22 +/* 8009EBD0 0009BB30 38 A1 00 08 */ addi r5, r1, 8 +/* 8009EBD4 0009BB34 48 00 07 9D */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009EBD8 0009BB38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009EBDC 0009BB3C 41 82 00 40 */ beq lbl_8009EC1C +/* 8009EBE0 0009BB40 7F C3 F3 78 */ mr r3, r30 +/* 8009EBE4 0009BB44 7E C4 B3 78 */ mr r4, r22 +/* 8009EBE8 0009BB48 38 A1 00 08 */ addi r5, r1, 8 +/* 8009EBEC 0009BB4C 48 00 07 85 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009EBF0 0009BB50 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009EBF4 0009BB54 41 82 00 10 */ beq lbl_8009EC04 +/* 8009EBF8 0009BB58 C3 E1 00 74 */ lfs f31, 0x74(r1) +/* 8009EBFC 0009BB5C 3B 60 00 02 */ li r27, 2 +/* 8009EC00 0009BB60 48 00 00 30 */ b lbl_8009EC30 +lbl_8009EC04: +/* 8009EC04 0009BB64 C0 01 00 08 */ lfs f0, 8(r1) +/* 8009EC08 0009BB68 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8009EC0C 0009BB6C 40 80 00 24 */ bge lbl_8009EC30 +/* 8009EC10 0009BB70 FF C0 00 90 */ fmr f30, f0 +/* 8009EC14 0009BB74 3B 40 00 02 */ li r26, 2 +/* 8009EC18 0009BB78 48 00 00 18 */ b lbl_8009EC30 +lbl_8009EC1C: +/* 8009EC1C 0009BB7C C0 01 00 08 */ lfs f0, 8(r1) +/* 8009EC20 0009BB80 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8009EC24 0009BB84 40 80 00 0C */ bge lbl_8009EC30 +/* 8009EC28 0009BB88 FF C0 00 90 */ fmr f30, f0 +/* 8009EC2C 0009BB8C 3B 40 00 02 */ li r26, 2 +lbl_8009EC30: +/* 8009EC30 0009BB90 7F E4 FB 78 */ mr r4, r31 +/* 8009EC34 0009BB94 7F C5 F3 78 */ mr r5, r30 +/* 8009EC38 0009BB98 7F 86 E3 78 */ mr r6, r28 +/* 8009EC3C 0009BB9C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8009EC40 0009BBA0 48 00 04 65 */ bl ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f +/* 8009EC44 0009BBA4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8009EC48 0009BBA8 38 81 00 78 */ addi r4, r1, 0x78 +/* 8009EC4C 0009BBAC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8009EC50 0009BBB0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8009EC54 0009BBB4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8009EC58 0009BBB8 90 61 00 78 */ stw r3, 0x78(r1) +/* 8009EC5C 0009BBBC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8009EC60 0009BBC0 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8009EC64 0009BBC4 40 80 00 38 */ bge lbl_8009EC9C +/* 8009EC68 0009BBC8 7F A3 EB 78 */ mr r3, r29 +/* 8009EC6C 0009BBCC 38 A1 00 08 */ addi r5, r1, 8 +/* 8009EC70 0009BBD0 48 00 07 01 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009EC74 0009BBD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009EC78 0009BBD8 41 82 00 10 */ beq lbl_8009EC88 +/* 8009EC7C 0009BBDC C3 E1 00 80 */ lfs f31, 0x80(r1) +/* 8009EC80 0009BBE0 3B 60 00 03 */ li r27, 3 +/* 8009EC84 0009BBE4 48 00 00 18 */ b lbl_8009EC9C +lbl_8009EC88: +/* 8009EC88 0009BBE8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8009EC8C 0009BBEC FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8009EC90 0009BBF0 40 80 00 0C */ bge lbl_8009EC9C +/* 8009EC94 0009BBF4 FF C0 00 90 */ fmr f30, f0 +/* 8009EC98 0009BBF8 3B 40 00 03 */ li r26, 3 +lbl_8009EC9C: +/* 8009EC9C 0009BBFC 7F E4 FB 78 */ mr r4, r31 +/* 8009ECA0 0009BC00 7F A5 EB 78 */ mr r5, r29 +/* 8009ECA4 0009BC04 7F 86 E3 78 */ mr r6, r28 +/* 8009ECA8 0009BC08 38 61 00 18 */ addi r3, r1, 0x18 +/* 8009ECAC 0009BC0C 48 00 03 F9 */ bl ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f +/* 8009ECB0 0009BC10 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8009ECB4 0009BC14 38 81 00 84 */ addi r4, r1, 0x84 +/* 8009ECB8 0009BC18 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8009ECBC 0009BC1C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8009ECC0 0009BC20 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8009ECC4 0009BC24 90 61 00 84 */ stw r3, 0x84(r1) +/* 8009ECC8 0009BC28 90 01 00 88 */ stw r0, 0x88(r1) +/* 8009ECCC 0009BC2C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8009ECD0 0009BC30 40 80 00 38 */ bge lbl_8009ED08 +/* 8009ECD4 0009BC34 7F C3 F3 78 */ mr r3, r30 +/* 8009ECD8 0009BC38 38 A1 00 08 */ addi r5, r1, 8 +/* 8009ECDC 0009BC3C 48 00 06 95 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009ECE0 0009BC40 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009ECE4 0009BC44 41 82 00 10 */ beq lbl_8009ECF4 +/* 8009ECE8 0009BC48 C3 E1 00 8C */ lfs f31, 0x8c(r1) +/* 8009ECEC 0009BC4C 3B 60 00 04 */ li r27, 4 +/* 8009ECF0 0009BC50 48 00 00 18 */ b lbl_8009ED08 +lbl_8009ECF4: +/* 8009ECF4 0009BC54 C0 01 00 08 */ lfs f0, 8(r1) +/* 8009ECF8 0009BC58 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8009ECFC 0009BC5C 40 80 00 0C */ bge lbl_8009ED08 +/* 8009ED00 0009BC60 FF C0 00 90 */ fmr f30, f0 +/* 8009ED04 0009BC64 3B 40 00 04 */ li r26, 4 +lbl_8009ED08: +/* 8009ED08 0009BC68 7F C4 F3 78 */ mr r4, r30 +/* 8009ED0C 0009BC6C 7F A5 EB 78 */ mr r5, r29 +/* 8009ED10 0009BC70 7F 86 E3 78 */ mr r6, r28 +/* 8009ED14 0009BC74 38 61 00 0C */ addi r3, r1, 0xc +/* 8009ED18 0009BC78 48 00 03 8D */ bl ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f +/* 8009ED1C 0009BC7C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8009ED20 0009BC80 38 81 00 90 */ addi r4, r1, 0x90 +/* 8009ED24 0009BC84 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8009ED28 0009BC88 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8009ED2C 0009BC8C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8009ED30 0009BC90 90 61 00 90 */ stw r3, 0x90(r1) +/* 8009ED34 0009BC94 90 01 00 94 */ stw r0, 0x94(r1) +/* 8009ED38 0009BC98 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8009ED3C 0009BC9C 40 80 00 30 */ bge lbl_8009ED6C +/* 8009ED40 0009BCA0 7F E3 FB 78 */ mr r3, r31 +/* 8009ED44 0009BCA4 38 A1 00 08 */ addi r5, r1, 8 +/* 8009ED48 0009BCA8 48 00 06 29 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009ED4C 0009BCAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009ED50 0009BCB0 41 82 00 0C */ beq lbl_8009ED5C +/* 8009ED54 0009BCB4 3B 60 00 05 */ li r27, 5 +/* 8009ED58 0009BCB8 48 00 00 14 */ b lbl_8009ED6C +lbl_8009ED5C: +/* 8009ED5C 0009BCBC C0 01 00 08 */ lfs f0, 8(r1) +/* 8009ED60 0009BCC0 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8009ED64 0009BCC4 40 80 00 08 */ bge lbl_8009ED6C +/* 8009ED68 0009BCC8 3B 40 00 05 */ li r26, 5 +lbl_8009ED6C: +/* 8009ED6C 0009BCCC 2C 1B FF FF */ cmpwi r27, -1 +/* 8009ED70 0009BCD0 40 82 00 08 */ bne lbl_8009ED78 +/* 8009ED74 0009BCD4 7F 5B D3 78 */ mr r27, r26 +lbl_8009ED78: +/* 8009ED78 0009BCD8 1C 1B 00 0C */ mulli r0, r27, 0xc +/* 8009ED7C 0009BCDC 38 A1 00 54 */ addi r5, r1, 0x54 +/* 8009ED80 0009BCE0 38 81 00 58 */ addi r4, r1, 0x58 +/* 8009ED84 0009BCE4 38 61 00 5C */ addi r3, r1, 0x5c +/* 8009ED88 0009BCE8 2C 1B 00 03 */ cmpwi r27, 3 +/* 8009ED8C 0009BCEC 7C 05 04 2E */ lfsx f0, r5, r0 +/* 8009ED90 0009BCF0 7C 24 04 2E */ lfsx f1, r4, r0 +/* 8009ED94 0009BCF4 7C 43 04 2E */ lfsx f2, r3, r0 +/* 8009ED98 0009BCF8 41 82 00 68 */ beq lbl_8009EE00 +/* 8009ED9C 0009BCFC 40 80 00 1C */ bge lbl_8009EDB8 +/* 8009EDA0 0009BD00 2C 1B 00 01 */ cmpwi r27, 1 +/* 8009EDA4 0009BD04 41 82 00 34 */ beq lbl_8009EDD8 +/* 8009EDA8 0009BD08 40 80 00 40 */ bge lbl_8009EDE8 +/* 8009EDAC 0009BD0C 2C 1B 00 00 */ cmpwi r27, 0 +/* 8009EDB0 0009BD10 40 80 00 18 */ bge lbl_8009EDC8 +/* 8009EDB4 0009BD14 48 00 00 60 */ b lbl_8009EE14 +lbl_8009EDB8: +/* 8009EDB8 0009BD18 2C 1B 00 05 */ cmpwi r27, 5 +/* 8009EDBC 0009BD1C 41 82 00 54 */ beq lbl_8009EE10 +/* 8009EDC0 0009BD20 40 80 00 54 */ bge lbl_8009EE14 +/* 8009EDC4 0009BD24 48 00 00 44 */ b lbl_8009EE08 +lbl_8009EDC8: +/* 8009EDC8 0009BD28 38 00 00 02 */ li r0, 2 +/* 8009EDCC 0009BD2C 90 19 00 00 */ stw r0, 0(r25) +/* 8009EDD0 0009BD30 93 19 00 08 */ stw r24, 8(r25) +/* 8009EDD4 0009BD34 48 00 00 40 */ b lbl_8009EE14 +lbl_8009EDD8: +/* 8009EDD8 0009BD38 38 00 00 02 */ li r0, 2 +/* 8009EDDC 0009BD3C 90 19 00 00 */ stw r0, 0(r25) +/* 8009EDE0 0009BD40 93 19 00 04 */ stw r24, 4(r25) +/* 8009EDE4 0009BD44 48 00 00 30 */ b lbl_8009EE14 +lbl_8009EDE8: +/* 8009EDE8 0009BD48 38 00 00 02 */ li r0, 2 +/* 8009EDEC 0009BD4C 90 19 00 00 */ stw r0, 0(r25) +/* 8009EDF0 0009BD50 80 19 00 0C */ lwz r0, 0xc(r25) +/* 8009EDF4 0009BD54 90 19 00 04 */ stw r0, 4(r25) +/* 8009EDF8 0009BD58 93 19 00 08 */ stw r24, 8(r25) +/* 8009EDFC 0009BD5C 48 00 00 18 */ b lbl_8009EE14 +lbl_8009EE00: +/* 8009EE00 0009BD60 93 19 00 0C */ stw r24, 0xc(r25) +/* 8009EE04 0009BD64 48 00 00 10 */ b lbl_8009EE14 +lbl_8009EE08: +/* 8009EE08 0009BD68 93 19 00 08 */ stw r24, 8(r25) +/* 8009EE0C 0009BD6C 48 00 00 08 */ b lbl_8009EE14 +lbl_8009EE10: +/* 8009EE10 0009BD70 93 19 00 04 */ stw r24, 4(r25) +lbl_8009EE14: +/* 8009EE14 0009BD74 D0 17 00 00 */ stfs f0, 0(r23) +/* 8009EE18 0009BD78 D0 37 00 04 */ stfs f1, 4(r23) +/* 8009EE1C 0009BD7C D0 57 00 08 */ stfs f2, 8(r23) +/* 8009EE20 0009BD80 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 8009EE24 0009BD84 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 8009EE28 0009BD88 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 8009EE2C 0009BD8C CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 8009EE30 0009BD90 BA C1 00 A8 */ lmw r22, 0xa8(r1) +/* 8009EE34 0009BD94 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8009EE38 0009BD98 7C 08 03 A6 */ mtlr r0 +/* 8009EE3C 0009BD9C 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8009EE40 0009BDA0 4E 80 00 20 */ blr + +.global UpdateSupport2__FiPP9CVector2fR7Support +UpdateSupport2__FiPP9CVector2fR7Support: +/* 8009EE44 0009BDA4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8009EE48 0009BDA8 7C 08 02 A6 */ mflr r0 +/* 8009EE4C 0009BDAC 90 01 00 94 */ stw r0, 0x94(r1) +/* 8009EE50 0009BDB0 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8009EE54 0009BDB4 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8009EE58 0009BDB8 BF 01 00 60 */ stmw r24, 0x60(r1) +/* 8009EE5C 0009BDBC 7C DE 33 78 */ mr r30, r6 +/* 8009EE60 0009BDC0 7C 9D 23 78 */ mr r29, r4 +/* 8009EE64 0009BDC4 80 C6 00 04 */ lwz r6, 4(r6) +/* 8009EE68 0009BDC8 54 80 10 3A */ slwi r0, r4, 2 +/* 8009EE6C 0009BDCC 80 9E 00 08 */ lwz r4, 8(r30) +/* 8009EE70 0009BDD0 3B 6D A8 98 */ addi r27, r13, lbl_805A9458@sda21 +/* 8009EE74 0009BDD4 54 C6 10 3A */ slwi r6, r6, 2 +/* 8009EE78 0009BDD8 7C 7C 1B 78 */ mr r28, r3 +/* 8009EE7C 0009BDDC 54 83 10 3A */ slwi r3, r4, 2 +/* 8009EE80 0009BDE0 7F 45 30 2E */ lwzx r26, r5, r6 +/* 8009EE84 0009BDE4 7F 25 18 2E */ lwzx r25, r5, r3 +/* 8009EE88 0009BDE8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8009EE8C 0009BDEC 7F 05 00 2E */ lwzx r24, r5, r0 +/* 8009EE90 0009BDF0 7F 44 D3 78 */ mr r4, r26 +/* 8009EE94 0009BDF4 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) +/* 8009EE98 0009BDF8 3B E0 FF FF */ li r31, -1 +/* 8009EE9C 0009BDFC C0 5B 00 04 */ lfs f2, 4(r27) +/* 8009EEA0 0009BE00 7F 05 C3 78 */ mr r5, r24 +/* 8009EEA4 0009BE04 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 8009EEA8 0009BE08 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8009EEAC 0009BE0C C3 E2 8C 28 */ lfs f31, lbl_805AA948@sda21(r2) +/* 8009EEB0 0009BE10 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8009EEB4 0009BE14 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8009EEB8 0009BE18 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8009EEBC 0009BE1C D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8009EEC0 0009BE20 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8009EEC4 0009BE24 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8009EEC8 0009BE28 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8009EECC 0009BE2C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8009EED0 0009BE30 48 00 03 8D */ bl ExactCircle2__FRC9CVector2fRC9CVector2f +/* 8009EED4 0009BE34 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8009EED8 0009BE38 7F 23 CB 78 */ mr r3, r25 +/* 8009EEDC 0009BE3C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8009EEE0 0009BE40 38 81 00 3C */ addi r4, r1, 0x3c +/* 8009EEE4 0009BE44 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8009EEE8 0009BE48 38 A1 00 08 */ addi r5, r1, 8 +/* 8009EEEC 0009BE4C 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 8009EEF0 0009BE50 90 01 00 40 */ stw r0, 0x40(r1) +/* 8009EEF4 0009BE54 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8009EEF8 0009BE58 48 00 04 79 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009EEFC 0009BE5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009EF00 0009BE60 41 82 00 0C */ beq lbl_8009EF0C +/* 8009EF04 0009BE64 C3 E1 00 44 */ lfs f31, 0x44(r1) +/* 8009EF08 0009BE68 3B E0 00 00 */ li r31, 0 +lbl_8009EF0C: +/* 8009EF0C 0009BE6C 7F 24 CB 78 */ mr r4, r25 +/* 8009EF10 0009BE70 7F 05 C3 78 */ mr r5, r24 +/* 8009EF14 0009BE74 38 61 00 18 */ addi r3, r1, 0x18 +/* 8009EF18 0009BE78 48 00 03 45 */ bl ExactCircle2__FRC9CVector2fRC9CVector2f +/* 8009EF1C 0009BE7C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8009EF20 0009BE80 38 81 00 48 */ addi r4, r1, 0x48 +/* 8009EF24 0009BE84 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8009EF28 0009BE88 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8009EF2C 0009BE8C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8009EF30 0009BE90 90 61 00 48 */ stw r3, 0x48(r1) +/* 8009EF34 0009BE94 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8009EF38 0009BE98 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8009EF3C 0009BE9C 40 80 00 1C */ bge lbl_8009EF58 +/* 8009EF40 0009BEA0 7F 43 D3 78 */ mr r3, r26 +/* 8009EF44 0009BEA4 38 A1 00 08 */ addi r5, r1, 8 +/* 8009EF48 0009BEA8 48 00 04 29 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf +/* 8009EF4C 0009BEAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009EF50 0009BEB0 41 82 00 08 */ beq lbl_8009EF58 +/* 8009EF54 0009BEB4 3B E0 00 01 */ li r31, 1 +lbl_8009EF58: +/* 8009EF58 0009BEB8 C0 4D A8 98 */ lfs f2, lbl_805A9458@sda21(r13) +/* 8009EF5C 0009BEBC 2C 1F FF FF */ cmpwi r31, -1 +/* 8009EF60 0009BEC0 C0 3B 00 04 */ lfs f1, 4(r27) +/* 8009EF64 0009BEC4 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 8009EF68 0009BEC8 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8009EF6C 0009BECC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8009EF70 0009BED0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8009EF74 0009BED4 41 82 00 40 */ beq lbl_8009EFB4 +/* 8009EF78 0009BED8 1C BF 00 0C */ mulli r5, r31, 0xc +/* 8009EF7C 0009BEDC 38 81 00 3C */ addi r4, r1, 0x3c +/* 8009EF80 0009BEE0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8009EF84 0009BEE4 20 1F 00 01 */ subfic r0, r31, 1 +/* 8009EF88 0009BEE8 7C 84 2A 14 */ add r4, r4, r5 +/* 8009EF8C 0009BEEC 7C 03 2C 2E */ lfsx f0, r3, r5 +/* 8009EF90 0009BEF0 54 00 10 3A */ slwi r0, r0, 2 +/* 8009EF94 0009BEF4 80 A4 00 00 */ lwz r5, 0(r4) +/* 8009EF98 0009BEF8 80 84 00 04 */ lwz r4, 4(r4) +/* 8009EF9C 0009BEFC 7C 7E 02 14 */ add r3, r30, r0 +/* 8009EFA0 0009BF00 90 A1 00 30 */ stw r5, 0x30(r1) +/* 8009EFA4 0009BF04 90 81 00 34 */ stw r4, 0x34(r1) +/* 8009EFA8 0009BF08 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8009EFAC 0009BF0C 93 A3 00 04 */ stw r29, 4(r3) +/* 8009EFB0 0009BF10 48 00 00 3C */ b lbl_8009EFEC +lbl_8009EFB4: +/* 8009EFB4 0009BF14 7F 44 D3 78 */ mr r4, r26 +/* 8009EFB8 0009BF18 7F 25 CB 78 */ mr r5, r25 +/* 8009EFBC 0009BF1C 7F 06 C3 78 */ mr r6, r24 +/* 8009EFC0 0009BF20 38 61 00 0C */ addi r3, r1, 0xc +/* 8009EFC4 0009BF24 48 00 00 E1 */ bl ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f +/* 8009EFC8 0009BF28 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8009EFCC 0009BF2C 38 00 00 03 */ li r0, 3 +/* 8009EFD0 0009BF30 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8009EFD4 0009BF34 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8009EFD8 0009BF38 90 81 00 30 */ stw r4, 0x30(r1) +/* 8009EFDC 0009BF3C 90 1E 00 00 */ stw r0, 0(r30) +/* 8009EFE0 0009BF40 90 61 00 34 */ stw r3, 0x34(r1) +/* 8009EFE4 0009BF44 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8009EFE8 0009BF48 93 BE 00 0C */ stw r29, 0xc(r30) +lbl_8009EFEC: +/* 8009EFEC 0009BF4C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8009EFF0 0009BF50 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8009EFF4 0009BF54 D0 1C 00 00 */ stfs f0, 0(r28) +/* 8009EFF8 0009BF58 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8009EFFC 0009BF5C D0 3C 00 04 */ stfs f1, 4(r28) +/* 8009F000 0009BF60 D0 1C 00 08 */ stfs f0, 8(r28) +/* 8009F004 0009BF64 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8009F008 0009BF68 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8009F00C 0009BF6C BB 01 00 60 */ lmw r24, 0x60(r1) +/* 8009F010 0009BF70 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8009F014 0009BF74 7C 08 03 A6 */ mtlr r0 +/* 8009F018 0009BF78 38 21 00 90 */ addi r1, r1, 0x90 +/* 8009F01C 0009BF7C 4E 80 00 20 */ blr + +.global UpdateSupport1__FiPP9CVector2fR7Support +UpdateSupport1__FiPP9CVector2fR7Support: +/* 8009F020 0009BF80 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8009F024 0009BF84 7C 08 02 A6 */ mflr r0 +/* 8009F028 0009BF88 90 01 00 34 */ stw r0, 0x34(r1) +/* 8009F02C 0009BF8C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8009F030 0009BF90 7C DF 33 78 */ mr r31, r6 +/* 8009F034 0009BF94 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8009F038 0009BF98 7C 9E 23 78 */ mr r30, r4 +/* 8009F03C 0009BF9C 57 C0 10 3A */ slwi r0, r30, 2 +/* 8009F040 0009BFA0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8009F044 0009BFA4 7C 7D 1B 78 */ mr r29, r3 +/* 8009F048 0009BFA8 80 86 00 04 */ lwz r4, 4(r6) +/* 8009F04C 0009BFAC 7C A6 2B 78 */ mr r6, r5 +/* 8009F050 0009BFB0 7C A6 00 2E */ lwzx r5, r6, r0 +/* 8009F054 0009BFB4 54 83 10 3A */ slwi r3, r4, 2 +/* 8009F058 0009BFB8 7C 86 18 2E */ lwzx r4, r6, r3 +/* 8009F05C 0009BFBC 38 61 00 08 */ addi r3, r1, 8 +/* 8009F060 0009BFC0 48 00 01 FD */ bl ExactCircle2__FRC9CVector2fRC9CVector2f +/* 8009F064 0009BFC4 C0 01 00 08 */ lfs f0, 8(r1) +/* 8009F068 0009BFC8 38 00 00 02 */ li r0, 2 +/* 8009F06C 0009BFCC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8009F070 0009BFD0 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8009F074 0009BFD4 90 1F 00 00 */ stw r0, 0(r31) +/* 8009F078 0009BFD8 93 DF 00 08 */ stw r30, 8(r31) +/* 8009F07C 0009BFDC D0 1D 00 00 */ stfs f0, 0(r29) +/* 8009F080 0009BFE0 D0 3D 00 04 */ stfs f1, 4(r29) +/* 8009F084 0009BFE4 D0 5D 00 08 */ stfs f2, 8(r29) +/* 8009F088 0009BFE8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8009F08C 0009BFEC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8009F090 0009BFF0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8009F094 0009BFF4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8009F098 0009BFF8 7C 08 03 A6 */ mtlr r0 +/* 8009F09C 0009BFFC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8009F0A0 0009C000 4E 80 00 20 */ blr + +.global ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f +ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f: +/* 8009F0A4 0009C004 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8009F0A8 0009C008 7C 08 02 A6 */ mflr r0 +/* 8009F0AC 0009C00C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8009F0B0 0009C010 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8009F0B4 0009C014 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8009F0B8 0009C018 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8009F0BC 0009C01C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8009F0C0 0009C020 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8009F0C4 0009C024 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8009F0C8 0009C028 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8009F0CC 0009C02C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 8009F0D0 0009C030 DB 61 00 60 */ stfd f27, 0x60(r1) +/* 8009F0D4 0009C034 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 +/* 8009F0D8 0009C038 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8009F0DC 0009C03C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8009F0E0 0009C040 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8009F0E4 0009C044 7C 9E 23 78 */ mr r30, r4 +/* 8009F0E8 0009C048 7C 7D 1B 78 */ mr r29, r3 +/* 8009F0EC 0009C04C 7C A4 2B 78 */ mr r4, r5 +/* 8009F0F0 0009C050 7C DF 33 78 */ mr r31, r6 +/* 8009F0F4 0009C054 7F C5 F3 78 */ mr r5, r30 +/* 8009F0F8 0009C058 38 61 00 18 */ addi r3, r1, 0x18 +/* 8009F0FC 0009C05C 48 27 4E 3D */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8009F100 0009C060 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8009F104 0009C064 7F E4 FB 78 */ mr r4, r31 +/* 8009F108 0009C068 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8009F10C 0009C06C 7F C5 F3 78 */ mr r5, r30 +/* 8009F110 0009C070 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8009F114 0009C074 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009F118 0009C078 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8009F11C 0009C07C 48 27 4E 1D */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8009F120 0009C080 C3 C1 00 10 */ lfs f30, 0x10(r1) +/* 8009F124 0009C084 38 61 00 30 */ addi r3, r1, 0x30 +/* 8009F128 0009C088 C3 E1 00 14 */ lfs f31, 0x14(r1) +/* 8009F12C 0009C08C D3 C1 00 28 */ stfs f30, 0x28(r1) +/* 8009F130 0009C090 C3 A1 00 30 */ lfs f29, 0x30(r1) +/* 8009F134 0009C094 D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 8009F138 0009C098 C3 81 00 34 */ lfs f28, 0x34(r1) +/* 8009F13C 0009C09C 48 27 4F A1 */ bl MagSquared__9CVector2fCFv +/* 8009F140 0009C0A0 C0 02 8C 2C */ lfs f0, lbl_805AA94C@sda21(r2) +/* 8009F144 0009C0A4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8009F148 0009C0A8 EF 60 00 72 */ fmuls f27, f0, f1 +/* 8009F14C 0009C0AC 48 27 4F 91 */ bl MagSquared__9CVector2fCFv +/* 8009F150 0009C0B0 EC 1C 07 B2 */ fmuls f0, f28, f30 +/* 8009F154 0009C0B4 C0 42 8C 2C */ lfs f2, lbl_805AA94C@sda21(r2) +/* 8009F158 0009C0B8 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 +/* 8009F15C 0009C0BC C0 8D A8 98 */ lfs f4, lbl_805A9458@sda21(r13) +/* 8009F160 0009C0C0 C0 63 00 04 */ lfs f3, 4(r3) +/* 8009F164 0009C0C4 EC A2 00 72 */ fmuls f5, f2, f1 +/* 8009F168 0009C0C8 EC DD 07 F8 */ fmsubs f6, f29, f31, f0 +/* 8009F16C 0009C0CC C0 42 8C 20 */ lfs f2, lbl_805AA940@sda21(r2) +/* 8009F170 0009C0D0 C0 02 8C 24 */ lfs f0, lbl_805AA944@sda21(r2) +/* 8009F174 0009C0D4 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 8009F178 0009C0D8 FC 20 32 10 */ fabs f1, f6 +/* 8009F17C 0009C0DC D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 8009F180 0009C0E0 FC 20 08 18 */ frsp f1, f1 +/* 8009F184 0009C0E4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8009F188 0009C0E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009F18C 0009C0EC 40 81 00 64 */ ble lbl_8009F1F0 +/* 8009F190 0009C0F0 C0 42 8C 30 */ lfs f2, lbl_805AA950@sda21(r2) +/* 8009F194 0009C0F4 EC 3C 01 72 */ fmuls f1, f28, f5 +/* 8009F198 0009C0F8 EC 1E 06 F2 */ fmuls f0, f30, f27 +/* 8009F19C 0009C0FC D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8009F1A0 0009C100 EC 42 30 24 */ fdivs f2, f2, f6 +/* 8009F1A4 0009C104 7F C4 F3 78 */ mr r4, r30 +/* 8009F1A8 0009C108 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8009F1AC 0009C10C 38 61 00 08 */ addi r3, r1, 8 +/* 8009F1B0 0009C110 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8009F1B4 0009C114 EC 3F 0E F8 */ fmsubs f1, f31, f27, f1 +/* 8009F1B8 0009C118 EC 1D 01 78 */ fmsubs f0, f29, f5, f0 +/* 8009F1BC 0009C11C EC 22 00 72 */ fmuls f1, f2, f1 +/* 8009F1C0 0009C120 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8009F1C4 0009C124 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8009F1C8 0009C128 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8009F1CC 0009C12C 48 27 4D A5 */ bl __pl__FRC9CVector2fRC9CVector2f +/* 8009F1D0 0009C130 C0 21 00 08 */ lfs f1, 8(r1) +/* 8009F1D4 0009C134 38 61 00 20 */ addi r3, r1, 0x20 +/* 8009F1D8 0009C138 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8009F1DC 0009C13C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8009F1E0 0009C140 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8009F1E4 0009C144 48 27 4E F9 */ bl MagSquared__9CVector2fCFv +/* 8009F1E8 0009C148 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8009F1EC 0009C14C 48 00 00 14 */ b lbl_8009F200 +lbl_8009F1F0: +/* 8009F1F0 0009C150 C0 02 8C 28 */ lfs f0, lbl_805AA948@sda21(r2) +/* 8009F1F4 0009C154 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 8009F1F8 0009C158 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 8009F1FC 0009C15C D0 01 00 40 */ stfs f0, 0x40(r1) +lbl_8009F200: +/* 8009F200 0009C160 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8009F204 0009C164 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 8009F208 0009C168 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8009F20C 0009C16C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8009F210 0009C170 D0 3D 00 04 */ stfs f1, 4(r29) +/* 8009F214 0009C174 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8009F218 0009C178 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8009F21C 0009C17C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8009F220 0009C180 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8009F224 0009C184 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8009F228 0009C188 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8009F22C 0009C18C CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8009F230 0009C190 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 8009F234 0009C194 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 8009F238 0009C198 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 +/* 8009F23C 0009C19C CB 61 00 60 */ lfd f27, 0x60(r1) +/* 8009F240 0009C1A0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8009F244 0009C1A4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8009F248 0009C1A8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8009F24C 0009C1AC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8009F250 0009C1B0 7C 08 03 A6 */ mtlr r0 +/* 8009F254 0009C1B4 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8009F258 0009C1B8 4E 80 00 20 */ blr + +.global ExactCircle2__FRC9CVector2fRC9CVector2f +ExactCircle2__FRC9CVector2fRC9CVector2f: +/* 8009F25C 0009C1BC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8009F260 0009C1C0 7C 08 02 A6 */ mflr r0 +/* 8009F264 0009C1C4 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 8009F268 0009C1C8 38 CD A8 98 */ addi r6, r13, lbl_805A9458@sda21 +/* 8009F26C 0009C1CC 90 01 00 54 */ stw r0, 0x54(r1) +/* 8009F270 0009C1D0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8009F274 0009C1D4 7C BF 2B 78 */ mr r31, r5 +/* 8009F278 0009C1D8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8009F27C 0009C1DC 7C 9E 23 78 */ mr r30, r4 +/* 8009F280 0009C1E0 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8009F284 0009C1E4 7C 7D 1B 78 */ mr r29, r3 +/* 8009F288 0009C1E8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009F28C 0009C1EC C0 4D A8 98 */ lfs f2, lbl_805A9458@sda21(r13) +/* 8009F290 0009C1F0 C0 26 00 04 */ lfs f1, 4(r6) +/* 8009F294 0009C1F4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8009F298 0009C1F8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8009F29C 0009C1FC D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8009F2A0 0009C200 48 27 4C D1 */ bl __pl__FRC9CVector2fRC9CVector2f +/* 8009F2A4 0009C204 38 61 00 18 */ addi r3, r1, 0x18 +/* 8009F2A8 0009C208 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8009F2AC 0009C20C 38 8D 86 08 */ addi r4, r13, lbl_805A71C8@sda21 +/* 8009F2B0 0009C210 48 27 4B F1 */ bl __ml__FRCfRC9CVector2f +/* 8009F2B4 0009C214 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8009F2B8 0009C218 7F E4 FB 78 */ mr r4, r31 +/* 8009F2BC 0009C21C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8009F2C0 0009C220 7F C5 F3 78 */ mr r5, r30 +/* 8009F2C4 0009C224 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8009F2C8 0009C228 38 61 00 08 */ addi r3, r1, 8 +/* 8009F2CC 0009C22C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8009F2D0 0009C230 48 27 4C 69 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8009F2D4 0009C234 C0 21 00 08 */ lfs f1, 8(r1) +/* 8009F2D8 0009C238 38 61 00 20 */ addi r3, r1, 0x20 +/* 8009F2DC 0009C23C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8009F2E0 0009C240 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8009F2E4 0009C244 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8009F2E8 0009C248 48 27 4D F5 */ bl MagSquared__9CVector2fCFv +/* 8009F2EC 0009C24C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8009F2F0 0009C250 C0 42 8C 34 */ lfs f2, lbl_805AA954@sda21(r2) +/* 8009F2F4 0009C254 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8009F2F8 0009C258 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8009F2FC 0009C25C EC 22 00 72 */ fmuls f1, f2, f1 +/* 8009F300 0009C260 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8009F304 0009C264 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8009F308 0009C268 D0 3D 00 08 */ stfs f1, 8(r29) +/* 8009F30C 0009C26C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8009F310 0009C270 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8009F314 0009C274 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8009F318 0009C278 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8009F31C 0009C27C 7C 08 03 A6 */ mtlr r0 +/* 8009F320 0009C280 38 21 00 50 */ addi r1, r1, 0x50 +/* 8009F324 0009C284 4E 80 00 20 */ blr + +.global ExactCircle1__FRC9CVector2f +ExactCircle1__FRC9CVector2f: +/* 8009F328 0009C288 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009F32C 0009C28C 38 AD A8 98 */ addi r5, r13, lbl_805A9458@sda21 +/* 8009F330 0009C290 C0 42 8C 20 */ lfs f2, lbl_805AA940@sda21(r2) +/* 8009F334 0009C294 C0 8D A8 98 */ lfs f4, lbl_805A9458@sda21(r13) +/* 8009F338 0009C298 C0 65 00 04 */ lfs f3, 4(r5) +/* 8009F33C 0009C29C C0 24 00 00 */ lfs f1, 0(r4) +/* 8009F340 0009C2A0 C0 04 00 04 */ lfs f0, 4(r4) +/* 8009F344 0009C2A4 D0 81 00 08 */ stfs f4, 8(r1) +/* 8009F348 0009C2A8 D0 23 00 00 */ stfs f1, 0(r3) +/* 8009F34C 0009C2AC D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8009F350 0009C2B0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8009F354 0009C2B4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8009F358 0009C2B8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8009F35C 0009C2BC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8009F360 0009C2C0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8009F364 0009C2C4 D0 43 00 08 */ stfs f2, 8(r3) +/* 8009F368 0009C2C8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009F36C 0009C2CC 4E 80 00 20 */ blr + +.global PointInsideCircle__FRC9CVector2fRC7Circle2Rf +PointInsideCircle__FRC9CVector2fRC7Circle2Rf: +/* 8009F370 0009C2D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009F374 0009C2D4 7C 08 02 A6 */ mflr r0 +/* 8009F378 0009C2D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009F37C 0009C2DC 7C 60 1B 78 */ mr r0, r3 +/* 8009F380 0009C2E0 38 61 00 08 */ addi r3, r1, 8 +/* 8009F384 0009C2E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009F388 0009C2E8 7C BF 2B 78 */ mr r31, r5 +/* 8009F38C 0009C2EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009F390 0009C2F0 7C 9E 23 78 */ mr r30, r4 +/* 8009F394 0009C2F4 7C 04 03 78 */ mr r4, r0 +/* 8009F398 0009C2F8 7F C5 F3 78 */ mr r5, r30 +/* 8009F39C 0009C2FC 48 27 4B 9D */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8009F3A0 0009C300 C0 21 00 08 */ lfs f1, 8(r1) +/* 8009F3A4 0009C304 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009F3A8 0009C308 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8009F3AC 0009C30C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8009F3B0 0009C310 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8009F3B4 0009C314 48 27 4D 29 */ bl MagSquared__9CVector2fCFv +/* 8009F3B8 0009C318 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8009F3BC 0009C31C C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 8009F3C0 0009C320 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8009F3C4 0009C324 D0 3F 00 00 */ stfs f1, 0(r31) +/* 8009F3C8 0009C328 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8009F3CC 0009C32C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009F3D0 0009C330 4C 40 13 82 */ cror 2, 0, 2 +/* 8009F3D4 0009C334 7C 00 00 26 */ mfcr r0 +/* 8009F3D8 0009C338 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 8009F3DC 0009C33C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009F3E0 0009C340 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009F3E4 0009C344 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009F3E8 0009C348 7C 08 03 A6 */ mtlr r0 +/* 8009F3EC 0009C34C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009F3F0 0009C350 4E 80 00 20 */ blr + +.global FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8009F3F4 0009C354 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8009F3F8 0009C358 7C 08 02 A6 */ mflr r0 +/* 8009F3FC 0009C35C 3C 80 80 3D */ lis r4, lbl_803CD960@ha +/* 8009F400 0009C360 90 01 00 24 */ stw r0, 0x24(r1) +/* 8009F404 0009C364 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l +/* 8009F408 0009C368 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8009F40C 0009C36C 7C BF 2B 78 */ mr r31, r5 +/* 8009F410 0009C370 38 A0 00 00 */ li r5, 0 +/* 8009F414 0009C374 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009F418 0009C378 7C 7E 1B 78 */ mr r30, r3 +/* 8009F41C 0009C37C 38 60 00 44 */ li r3, 0x44 +/* 8009F420 0009C380 48 27 64 4D */ bl __nw__FUlPCcPCc +/* 8009F424 0009C384 7C 64 1B 79 */ or. r4, r3, r3 +/* 8009F428 0009C388 41 82 00 10 */ beq lbl_8009F438 +/* 8009F42C 0009C38C 7F E4 FB 78 */ mr r4, r31 +/* 8009F430 0009C390 48 00 21 85 */ bl __ct__9CMapWorldFR12CInputStream +/* 8009F434 0009C394 7C 64 1B 78 */ mr r4, r3 +lbl_8009F438: +/* 8009F438 0009C398 7C 04 00 D0 */ neg r0, r4 +/* 8009F43C 0009C39C 90 81 00 0C */ stw r4, 0xc(r1) +/* 8009F440 0009C3A0 7C 00 23 78 */ or r0, r0, r4 +/* 8009F444 0009C3A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009F448 0009C3A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8009F44C 0009C3AC 38 81 00 08 */ addi r4, r1, 8 +/* 8009F450 0009C3B0 98 01 00 08 */ stb r0, 8(r1) +/* 8009F454 0009C3B4 48 00 01 11 */ bl "GetIObjObjectFor__18TToken<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>" +/* 8009F458 0009C3B8 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8009F45C 0009C3BC 38 00 00 00 */ li r0, 0 +/* 8009F460 0009C3C0 98 01 00 10 */ stb r0, 0x10(r1) +/* 8009F464 0009C3C4 7C 03 00 D0 */ neg r0, r3 +/* 8009F468 0009C3C8 7C 00 1B 78 */ or r0, r0, r3 +/* 8009F46C 0009C3CC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8009F470 0009C3D0 98 1E 00 00 */ stb r0, 0(r30) +/* 8009F474 0009C3D4 90 7E 00 04 */ stw r3, 4(r30) +/* 8009F478 0009C3D8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8009F47C 0009C3DC 28 00 00 00 */ cmplwi r0, 0 +/* 8009F480 0009C3E0 41 82 00 24 */ beq lbl_8009F4A4 +/* 8009F484 0009C3E4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8009F488 0009C3E8 28 03 00 00 */ cmplwi r3, 0 +/* 8009F48C 0009C3EC 41 82 00 18 */ beq lbl_8009F4A4 +/* 8009F490 0009C3F0 81 83 00 00 */ lwz r12, 0(r3) +/* 8009F494 0009C3F4 38 80 00 01 */ li r4, 1 +/* 8009F498 0009C3F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8009F49C 0009C3FC 7D 89 03 A6 */ mtctr r12 +/* 8009F4A0 0009C400 4E 80 04 21 */ bctrl +lbl_8009F4A4: +/* 8009F4A4 0009C404 88 01 00 08 */ lbz r0, 8(r1) +/* 8009F4A8 0009C408 28 00 00 00 */ cmplwi r0, 0 +/* 8009F4AC 0009C40C 41 82 00 10 */ beq lbl_8009F4BC +/* 8009F4B0 0009C410 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8009F4B4 0009C414 38 80 00 01 */ li r4, 1 +/* 8009F4B8 0009C418 48 00 1F 2D */ bl __dt__9CMapWorldFv +lbl_8009F4BC: +/* 8009F4BC 0009C41C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8009F4C0 0009C420 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009F4C4 0009C424 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8009F4C8 0009C428 7C 08 03 A6 */ mtlr r0 +/* 8009F4CC 0009C42C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8009F4D0 0009C430 4E 80 00 20 */ blr + +.global "__dt__36TObjOwnerDerivedFromIObj<9CMapWorld>Fv" +"__dt__36TObjOwnerDerivedFromIObj<9CMapWorld>Fv": +/* 8009F4D4 0009C434 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009F4D8 0009C438 7C 08 02 A6 */ mflr r0 +/* 8009F4DC 0009C43C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009F4E0 0009C440 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009F4E4 0009C444 7C 9F 23 78 */ mr r31, r4 +/* 8009F4E8 0009C448 93 C1 00 08 */ stw r30, 8(r1) +/* 8009F4EC 0009C44C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8009F4F0 0009C450 41 82 00 58 */ beq lbl_8009F548 +/* 8009F4F4 0009C454 3C 60 80 3E */ lis r3, lbl_803DAF48@ha +/* 8009F4F8 0009C458 38 03 AF 48 */ addi r0, r3, lbl_803DAF48@l +/* 8009F4FC 0009C45C 90 1E 00 00 */ stw r0, 0(r30) +/* 8009F500 0009C460 80 7E 00 04 */ lwz r3, 4(r30) +/* 8009F504 0009C464 28 03 00 00 */ cmplwi r3, 0 +/* 8009F508 0009C468 41 82 00 0C */ beq lbl_8009F514 +/* 8009F50C 0009C46C 38 80 00 01 */ li r4, 1 +/* 8009F510 0009C470 48 00 1E D5 */ bl __dt__9CMapWorldFv +lbl_8009F514: +/* 8009F514 0009C474 28 1E 00 00 */ cmplwi r30, 0 +/* 8009F518 0009C478 41 82 00 20 */ beq lbl_8009F538 +/* 8009F51C 0009C47C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 8009F520 0009C480 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 8009F524 0009C484 90 1E 00 00 */ stw r0, 0(r30) +/* 8009F528 0009C488 41 82 00 10 */ beq lbl_8009F538 +/* 8009F52C 0009C48C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8009F530 0009C490 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8009F534 0009C494 90 1E 00 00 */ stw r0, 0(r30) +lbl_8009F538: +/* 8009F538 0009C498 7F E0 07 35 */ extsh. r0, r31 +/* 8009F53C 0009C49C 40 81 00 0C */ ble lbl_8009F548 +/* 8009F540 0009C4A0 7F C3 F3 78 */ mr r3, r30 +/* 8009F544 0009C4A4 48 27 63 ED */ bl Free__7CMemoryFPCv +lbl_8009F548: +/* 8009F548 0009C4A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009F54C 0009C4AC 7F C3 F3 78 */ mr r3, r30 +/* 8009F550 0009C4B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8009F554 0009C4B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8009F558 0009C4B8 7C 08 03 A6 */ mtlr r0 +/* 8009F55C 0009C4BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8009F560 0009C4C0 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__18TToken<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>" +"GetIObjObjectFor__18TToken<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>": +/* 8009F564 0009C4C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009F568 0009C4C8 7C 08 02 A6 */ mflr r0 +/* 8009F56C 0009C4CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009F570 0009C4D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009F574 0009C4D4 7C 7F 1B 78 */ mr r31, r3 +/* 8009F578 0009C4D8 48 00 00 19 */ bl "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>" +/* 8009F57C 0009C4DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009F580 0009C4E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8009F584 0009C4E4 7C 08 03 A6 */ mtlr r0 +/* 8009F588 0009C4E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8009F58C 0009C4EC 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>" +"GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>": +/* 8009F590 0009C4F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8009F594 0009C4F4 7C 08 02 A6 */ mflr r0 +/* 8009F598 0009C4F8 3C A0 80 3D */ lis r5, lbl_803CD960@ha +/* 8009F59C 0009C4FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009F5A0 0009C500 38 05 D9 60 */ addi r0, r5, lbl_803CD960@l +/* 8009F5A4 0009C504 38 A0 00 00 */ li r5, 0 +/* 8009F5A8 0009C508 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8009F5AC 0009C50C 7C 9F 23 78 */ mr r31, r4 +/* 8009F5B0 0009C510 7C 04 03 78 */ mr r4, r0 +/* 8009F5B4 0009C514 93 C1 00 08 */ stw r30, 8(r1) +/* 8009F5B8 0009C518 7C 7E 1B 78 */ mr r30, r3 +/* 8009F5BC 0009C51C 38 60 00 08 */ li r3, 8 +/* 8009F5C0 0009C520 48 27 62 AD */ bl __nw__FUlPCcPCc +/* 8009F5C4 0009C524 28 03 00 00 */ cmplwi r3, 0 +/* 8009F5C8 0009C528 41 82 00 38 */ beq lbl_8009F600 +/* 8009F5CC 0009C52C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8009F5D0 0009C530 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8009F5D4 0009C534 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8009F5D8 0009C538 3C 80 80 3E */ lis r4, lbl_803DAF48@ha +/* 8009F5DC 0009C53C 90 03 00 00 */ stw r0, 0(r3) +/* 8009F5E0 0009C540 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8009F5E4 0009C544 38 A0 00 00 */ li r5, 0 +/* 8009F5E8 0009C548 38 04 AF 48 */ addi r0, r4, lbl_803DAF48@l +/* 8009F5EC 0009C54C 90 C3 00 00 */ stw r6, 0(r3) +/* 8009F5F0 0009C550 98 BF 00 00 */ stb r5, 0(r31) +/* 8009F5F4 0009C554 80 9F 00 04 */ lwz r4, 4(r31) +/* 8009F5F8 0009C558 90 83 00 04 */ stw r4, 4(r3) +/* 8009F5FC 0009C55C 90 03 00 00 */ stw r0, 0(r3) +lbl_8009F600: +/* 8009F600 0009C560 7C 03 00 D0 */ neg r0, r3 +/* 8009F604 0009C564 7C 00 1B 78 */ or r0, r0, r3 +/* 8009F608 0009C568 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8009F60C 0009C56C 98 1E 00 00 */ stb r0, 0(r30) +/* 8009F610 0009C570 90 7E 00 04 */ stw r3, 4(r30) +/* 8009F614 0009C574 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8009F618 0009C578 83 C1 00 08 */ lwz r30, 8(r1) +/* 8009F61C 0009C57C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8009F620 0009C580 7C 08 03 A6 */ mtlr r0 +/* 8009F624 0009C584 38 21 00 10 */ addi r1, r1, 0x10 +/* 8009F628 0009C588 4E 80 00 20 */ blr + +.global ClearTraversedFlags__9CMapWorldCFv +ClearTraversedFlags__9CMapWorldCFv: +/* 8009F62C 0009C58C 38 C0 00 00 */ li r6, 0 +/* 8009F630 0009C590 38 A0 00 00 */ li r5, 0 +/* 8009F634 0009C594 48 00 00 10 */ b lbl_8009F644 +lbl_8009F638: +/* 8009F638 0009C598 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 8009F63C 0009C59C 7C A4 31 AE */ stbx r5, r4, r6 +/* 8009F640 0009C5A0 38 C6 00 01 */ addi r6, r6, 1 +lbl_8009F644: +/* 8009F644 0009C5A4 80 03 00 24 */ lwz r0, 0x24(r3) +/* 8009F648 0009C5A8 7C 06 00 00 */ cmpw r6, r0 +/* 8009F64C 0009C5AC 41 80 FF EC */ blt lbl_8009F638 + +.global sub_8009f650 +sub_8009f650: +/* 8009F650 0009C5B0 4E 80 00 20 */ blr + +.global ConstrainToWorldVolume__9CMapWorldCFRC9CVector3fRC9CVector3f +ConstrainToWorldVolume__9CMapWorldCFRC9CVector3fRC9CVector3f: +/* 8009F654 0009C5B4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8009F658 0009C5B8 7C 08 02 A6 */ mflr r0 +/* 8009F65C 0009C5BC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8009F660 0009C5C0 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8009F664 0009C5C4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8009F668 0009C5C8 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8009F66C 0009C5CC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8009F670 0009C5D0 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8009F674 0009C5D4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8009F678 0009C5D8 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8009F67C 0009C5DC F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 8009F680 0009C5E0 DB 61 00 60 */ stfd f27, 0x60(r1) +/* 8009F684 0009C5E4 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 +/* 8009F688 0009C5E8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8009F68C 0009C5EC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8009F690 0009C5F0 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8009F694 0009C5F4 C0 66 00 08 */ lfs f3, 8(r6) +/* 8009F698 0009C5F8 7C BF 2B 78 */ mr r31, r5 +/* 8009F69C 0009C5FC C0 02 8C 38 */ lfs f0, lbl_805AA958@sda21(r2) +/* 8009F6A0 0009C600 7C 7D 1B 78 */ mr r29, r3 +/* 8009F6A4 0009C604 FC 20 1A 10 */ fabs f1, f3 +/* 8009F6A8 0009C608 C3 E5 00 00 */ lfs f31, 0(r5) +/* 8009F6AC 0009C60C C3 C5 00 04 */ lfs f30, 4(r5) +/* 8009F6B0 0009C610 7C 9E 23 78 */ mr r30, r4 +/* 8009F6B4 0009C614 C3 A5 00 08 */ lfs f29, 8(r5) +/* 8009F6B8 0009C618 FC 20 08 18 */ frsp f1, f1 +/* 8009F6BC 0009C61C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009F6C0 0009C620 40 81 00 88 */ ble lbl_8009F748 +/* 8009F6C4 0009C624 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8009F6C8 0009C628 C0 9E 00 38 */ lfs f4, 0x38(r30) +/* 8009F6CC 0009C62C C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 8009F6D0 0009C630 EC 41 20 2A */ fadds f2, f1, f4 +/* 8009F6D4 0009C634 EC 24 08 28 */ fsubs f1, f4, f1 +/* 8009F6D8 0009C638 EC 5D 10 28 */ fsubs f2, f29, f2 +/* 8009F6DC 0009C63C EC 3D 08 28 */ fsubs f1, f29, f1 +/* 8009F6E0 0009C640 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8009F6E4 0009C644 40 81 00 30 */ ble lbl_8009F714 +/* 8009F6E8 0009C648 FC 40 10 50 */ fneg f2, f2 +/* 8009F6EC 0009C64C C0 26 00 00 */ lfs f1, 0(r6) +/* 8009F6F0 0009C650 C0 06 00 04 */ lfs f0, 4(r6) +/* 8009F6F4 0009C654 EC 82 18 24 */ fdivs f4, f2, f3 +/* 8009F6F8 0009C658 EC 44 00 72 */ fmuls f2, f4, f1 +/* 8009F6FC 0009C65C EC 24 00 32 */ fmuls f1, f4, f0 +/* 8009F700 0009C660 EC 04 00 F2 */ fmuls f0, f4, f3 +/* 8009F704 0009C664 EF FF 10 2A */ fadds f31, f31, f2 +/* 8009F708 0009C668 EF DE 08 2A */ fadds f30, f30, f1 +/* 8009F70C 0009C66C EF BD 00 2A */ fadds f29, f29, f0 +/* 8009F710 0009C670 48 00 00 68 */ b lbl_8009F778 +lbl_8009F714: +/* 8009F714 0009C674 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009F718 0009C678 40 80 00 60 */ bge lbl_8009F778 +/* 8009F71C 0009C67C FC 40 08 50 */ fneg f2, f1 +/* 8009F720 0009C680 C0 26 00 00 */ lfs f1, 0(r6) +/* 8009F724 0009C684 C0 06 00 04 */ lfs f0, 4(r6) +/* 8009F728 0009C688 EC 82 18 24 */ fdivs f4, f2, f3 +/* 8009F72C 0009C68C EC 44 00 72 */ fmuls f2, f4, f1 +/* 8009F730 0009C690 EC 24 00 32 */ fmuls f1, f4, f0 +/* 8009F734 0009C694 EC 04 00 F2 */ fmuls f0, f4, f3 +/* 8009F738 0009C698 EF FF 10 2A */ fadds f31, f31, f2 +/* 8009F73C 0009C69C EF DE 08 2A */ fadds f30, f30, f1 +/* 8009F740 0009C6A0 EF BD 00 2A */ fadds f29, f29, f0 +/* 8009F744 0009C6A4 48 00 00 34 */ b lbl_8009F778 +lbl_8009F748: +/* 8009F748 0009C6A8 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 8009F74C 0009C6AC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8009F750 0009C6B0 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8009F754 0009C6B4 38 81 00 0C */ addi r4, r1, 0xc +/* 8009F758 0009C6B8 D3 A1 00 0C */ stfs f29, 0xc(r1) +/* 8009F75C 0009C6BC 38 A1 00 08 */ addi r5, r1, 8 +/* 8009F760 0009C6C0 EC 22 00 2A */ fadds f1, f2, f0 +/* 8009F764 0009C6C4 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8009F768 0009C6C8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8009F76C 0009C6CC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8009F770 0009C6D0 4B F6 CB 45 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8009F774 0009C6D4 C3 A3 00 00 */ lfs f29, 0(r3) +lbl_8009F778: +/* 8009F778 0009C6D8 C3 9F 00 04 */ lfs f28, 4(r31) +/* 8009F77C 0009C6DC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8009F780 0009C6E0 C3 7F 00 00 */ lfs f27, 0(r31) +/* 8009F784 0009C6E4 C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 8009F788 0009C6E8 C0 5E 00 34 */ lfs f2, 0x34(r30) +/* 8009F78C 0009C6EC 48 27 4A 75 */ bl __ct__9CVector2fFff +/* 8009F790 0009C6F0 FC 20 D8 90 */ fmr f1, f27 +/* 8009F794 0009C6F4 7C 7F 1B 78 */ mr r31, r3 +/* 8009F798 0009C6F8 FC 40 E0 90 */ fmr f2, f28 +/* 8009F79C 0009C6FC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8009F7A0 0009C700 48 27 4A 61 */ bl __ct__9CVector2fFff +/* 8009F7A4 0009C704 7C 64 1B 78 */ mr r4, r3 +/* 8009F7A8 0009C708 7F E5 FB 78 */ mr r5, r31 +/* 8009F7AC 0009C70C 38 61 00 34 */ addi r3, r1, 0x34 +/* 8009F7B0 0009C710 48 27 47 89 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8009F7B4 0009C714 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8009F7B8 0009C718 38 61 00 3C */ addi r3, r1, 0x3c +/* 8009F7BC 0009C71C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8009F7C0 0009C720 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8009F7C4 0009C724 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8009F7C8 0009C728 48 27 49 2D */ bl Magnitude__9CVector2fCFv +/* 8009F7CC 0009C72C C0 1E 00 3C */ lfs f0, 0x3c(r30) +/* 8009F7D0 0009C730 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8009F7D4 0009C734 40 81 00 38 */ ble lbl_8009F80C +/* 8009F7D8 0009C738 38 61 00 14 */ addi r3, r1, 0x14 +/* 8009F7DC 0009C73C 38 81 00 3C */ addi r4, r1, 0x3c +/* 8009F7E0 0009C740 48 27 48 A1 */ bl AsNormalized__9CVector2fCFv +/* 8009F7E4 0009C744 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009F7E8 0009C748 38 81 00 14 */ addi r4, r1, 0x14 +/* 8009F7EC 0009C74C 38 BE 00 3C */ addi r5, r30, 0x3c +/* 8009F7F0 0009C750 48 27 46 E5 */ bl __ml__FRC9CVector2fRCf +/* 8009F7F4 0009C754 C0 7E 00 30 */ lfs f3, 0x30(r30) +/* 8009F7F8 0009C758 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8009F7FC 0009C75C C0 3E 00 34 */ lfs f1, 0x34(r30) +/* 8009F800 0009C760 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8009F804 0009C764 EF E3 10 2A */ fadds f31, f3, f2 +/* 8009F808 0009C768 EF C1 00 2A */ fadds f30, f1, f0 +lbl_8009F80C: +/* 8009F80C 0009C76C D3 FD 00 00 */ stfs f31, 0(r29) +/* 8009F810 0009C770 D3 DD 00 04 */ stfs f30, 4(r29) +/* 8009F814 0009C774 D3 BD 00 08 */ stfs f29, 8(r29) +/* 8009F818 0009C778 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8009F81C 0009C77C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8009F820 0009C780 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8009F824 0009C784 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8009F828 0009C788 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8009F82C 0009C78C CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8009F830 0009C790 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 8009F834 0009C794 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 8009F838 0009C798 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 +/* 8009F83C 0009C79C CB 61 00 60 */ lfd f27, 0x60(r1) +/* 8009F840 0009C7A0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8009F844 0009C7A4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8009F848 0009C7A8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8009F84C 0009C7AC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8009F850 0009C7B0 7C 08 03 A6 */ mtlr r0 +/* 8009F854 0009C7B4 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8009F858 0009C7B8 4E 80 00 20 */ blr + +.global RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld +RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld: +/* 8009F85C 0009C7BC 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8009F860 0009C7C0 7C 08 02 A6 */ mflr r0 +/* 8009F864 0009C7C4 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8009F868 0009C7C8 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 8009F86C 0009C7CC F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8009F870 0009C7D0 BF 41 00 C8 */ stmw r26, 0xc8(r1) +/* 8009F874 0009C7D4 7C 7C 1B 78 */ mr r28, r3 +/* 8009F878 0009C7D8 38 C0 00 00 */ li r6, 0 +/* 8009F87C 0009C7DC 80 03 00 04 */ lwz r0, 4(r3) +/* 8009F880 0009C7E0 7C 9D 23 78 */ mr r29, r4 +/* 8009F884 0009C7E4 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 8009F888 0009C7E8 7C BE 2B 78 */ mr r30, r5 +/* 8009F88C 0009C7EC 38 61 00 58 */ addi r3, r1, 0x58 +/* 8009F890 0009C7F0 54 04 18 38 */ slwi r4, r0, 3 +/* 8009F894 0009C7F4 90 C1 00 60 */ stw r6, 0x60(r1) +/* 8009F898 0009C7F8 90 C1 00 64 */ stw r6, 0x64(r1) +/* 8009F89C 0009C7FC 48 00 29 C9 */ bl "reserve__Q24rstl45vector<9CVector2f,Q24rstl17rmemory_allocator>Fi" +/* 8009F8A0 0009C800 C0 22 8C 28 */ lfs f1, lbl_805AA948@sda21(r2) +/* 8009F8A4 0009C804 3B E0 00 00 */ li r31, 0 +/* 8009F8A8 0009C808 C0 02 8C 3C */ lfs f0, lbl_805AA95C@sda21(r2) +/* 8009F8AC 0009C80C D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8009F8B0 0009C810 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8009F8B4 0009C814 48 00 01 A0 */ b lbl_8009FA54 +lbl_8009F8B8: +/* 8009F8B8 0009C818 7F 83 E3 78 */ mr r3, r28 +/* 8009F8BC 0009C81C 7F C4 F3 78 */ mr r4, r30 +/* 8009F8C0 0009C820 7F E5 FB 78 */ mr r5, r31 +/* 8009F8C4 0009C824 38 C0 00 01 */ li r6, 1 +/* 8009F8C8 0009C828 48 00 0F 65 */ bl IsMapAreaValid__9CMapWorldCFRC6IWorldib +/* 8009F8CC 0009C82C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009F8D0 0009C830 41 82 01 80 */ beq lbl_8009FA50 +/* 8009F8D4 0009C834 7F 83 E3 78 */ mr r3, r28 +/* 8009F8D8 0009C838 7F E4 FB 78 */ mr r4, r31 +/* 8009F8DC 0009C83C 48 00 1A DD */ bl GetMapArea__9CMapWorldCFi +/* 8009F8E0 0009C840 93 E1 00 20 */ stw r31, 0x20(r1) +/* 8009F8E4 0009C844 7C 7A 1B 78 */ mr r26, r3 +/* 8009F8E8 0009C848 7F A3 EB 78 */ mr r3, r29 +/* 8009F8EC 0009C84C 38 81 00 24 */ addi r4, r1, 0x24 +/* 8009F8F0 0009C850 93 E1 00 24 */ stw r31, 0x24(r1) +/* 8009F8F4 0009C854 93 E1 00 28 */ stw r31, 0x28(r1) +/* 8009F8F8 0009C858 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8009F8FC 0009C85C 48 0C 84 09 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId +/* 8009F900 0009C860 7C 7B 1B 78 */ mr r27, r3 +/* 8009F904 0009C864 7F A3 EB 78 */ mr r3, r29 +/* 8009F908 0009C868 38 81 00 2C */ addi r4, r1, 0x2c +/* 8009F90C 0009C86C 48 0C 8B 35 */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId +/* 8009F910 0009C870 7C 64 1B 78 */ mr r4, r3 +/* 8009F914 0009C874 7F 43 D3 78 */ mr r3, r26 +/* 8009F918 0009C878 7F 65 DB 78 */ mr r5, r27 +/* 8009F91C 0009C87C 4B FE 14 11 */ bl GetIsVisibleToAutoMapper__8CMapAreaCFbb +/* 8009F920 0009C880 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009F924 0009C884 41 82 01 2C */ beq lbl_8009FA50 +/* 8009F928 0009C888 7F 44 D3 78 */ mr r4, r26 +/* 8009F92C 0009C88C 7F C5 F3 78 */ mr r5, r30 +/* 8009F930 0009C890 7F E6 FB 78 */ mr r6, r31 +/* 8009F934 0009C894 38 61 00 98 */ addi r3, r1, 0x98 +/* 8009F938 0009C898 4B FE 0B 31 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 8009F93C 0009C89C 38 61 00 68 */ addi r3, r1, 0x68 +/* 8009F940 0009C8A0 38 9A 00 10 */ addi r4, r26, 0x10 +/* 8009F944 0009C8A4 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8009F948 0009C8A8 48 29 7F B5 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8009F94C 0009C8AC C0 A1 00 68 */ lfs f5, 0x68(r1) +/* 8009F950 0009C8B0 3B 40 00 00 */ li r26, 0 +/* 8009F954 0009C8B4 C0 81 00 6C */ lfs f4, 0x6c(r1) +/* 8009F958 0009C8B8 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 8009F95C 0009C8BC C0 41 00 74 */ lfs f2, 0x74(r1) +/* 8009F960 0009C8C0 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8009F964 0009C8C4 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8009F968 0009C8C8 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 8009F96C 0009C8CC D0 81 00 84 */ stfs f4, 0x84(r1) +/* 8009F970 0009C8D0 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 8009F974 0009C8D4 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8009F978 0009C8D8 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8009F97C 0009C8DC D0 01 00 94 */ stfs f0, 0x94(r1) +lbl_8009F980: +/* 8009F980 0009C8E0 7F 45 D3 78 */ mr r5, r26 +/* 8009F984 0009C8E4 38 61 00 4C */ addi r3, r1, 0x4c +/* 8009F988 0009C8E8 38 81 00 80 */ addi r4, r1, 0x80 +/* 8009F98C 0009C8EC 48 29 7C 25 */ bl GetPoint__6CAABoxCFi +/* 8009F990 0009C8F0 C3 E1 00 54 */ lfs f31, 0x54(r1) +/* 8009F994 0009C8F4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8009F998 0009C8F8 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 8009F99C 0009C8FC C0 41 00 50 */ lfs f2, 0x50(r1) +/* 8009F9A0 0009C900 48 27 48 61 */ bl __ct__9CVector2fFff +/* 8009F9A4 0009C904 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8009F9A8 0009C908 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 8009F9AC 0009C90C 7C 00 28 00 */ cmpw r0, r5 +/* 8009F9B0 0009C910 41 80 00 1C */ blt lbl_8009F9CC +/* 8009F9B4 0009C914 2C 05 00 00 */ cmpwi r5, 0 +/* 8009F9B8 0009C918 38 61 00 58 */ addi r3, r1, 0x58 +/* 8009F9BC 0009C91C 38 80 00 04 */ li r4, 4 +/* 8009F9C0 0009C920 41 82 00 08 */ beq lbl_8009F9C8 +/* 8009F9C4 0009C924 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8009F9C8: +/* 8009F9C8 0009C928 48 00 28 9D */ bl "reserve__Q24rstl45vector<9CVector2f,Q24rstl17rmemory_allocator>Fi" +lbl_8009F9CC: +/* 8009F9CC 0009C92C 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8009F9D0 0009C930 80 61 00 64 */ lwz r3, 0x64(r1) +/* 8009F9D4 0009C934 54 00 18 38 */ slwi r0, r0, 3 +/* 8009F9D8 0009C938 7C 63 02 15 */ add. r3, r3, r0 +/* 8009F9DC 0009C93C 41 82 00 14 */ beq lbl_8009F9F0 +/* 8009F9E0 0009C940 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8009F9E4 0009C944 D0 03 00 00 */ stfs f0, 0(r3) +/* 8009F9E8 0009C948 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8009F9EC 0009C94C D0 03 00 04 */ stfs f0, 4(r3) +lbl_8009F9F0: +/* 8009F9F0 0009C950 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 8009F9F4 0009C954 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8009F9F8 0009C958 38 03 00 01 */ addi r0, r3, 1 +/* 8009F9FC 0009C95C D3 E1 00 1C */ stfs f31, 0x1c(r1) +/* 8009FA00 0009C960 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8009FA04 0009C964 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8009FA08 0009C968 40 80 00 0C */ bge lbl_8009FA14 +/* 8009FA0C 0009C96C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8009FA10 0009C970 48 00 00 08 */ b lbl_8009FA18 +lbl_8009FA14: +/* 8009FA14 0009C974 38 61 00 34 */ addi r3, r1, 0x34 +lbl_8009FA18: +/* 8009FA18 0009C978 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8009FA1C 0009C97C C0 23 00 00 */ lfs f1, 0(r3) +/* 8009FA20 0009C980 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8009FA24 0009C984 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8009FA28 0009C988 D3 E1 00 18 */ stfs f31, 0x18(r1) +/* 8009FA2C 0009C98C 40 80 00 0C */ bge lbl_8009FA38 +/* 8009FA30 0009C990 38 61 00 18 */ addi r3, r1, 0x18 +/* 8009FA34 0009C994 48 00 00 08 */ b lbl_8009FA3C +lbl_8009FA38: +/* 8009FA38 0009C998 38 61 00 30 */ addi r3, r1, 0x30 +lbl_8009FA3C: +/* 8009FA3C 0009C99C C0 03 00 00 */ lfs f0, 0(r3) +/* 8009FA40 0009C9A0 3B 5A 00 01 */ addi r26, r26, 1 +/* 8009FA44 0009C9A4 2C 1A 00 08 */ cmpwi r26, 8 +/* 8009FA48 0009C9A8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8009FA4C 0009C9AC 41 80 FF 34 */ blt lbl_8009F980 +lbl_8009FA50: +/* 8009FA50 0009C9B0 3B FF 00 01 */ addi r31, r31, 1 +lbl_8009FA54: +/* 8009FA54 0009C9B4 80 1C 00 04 */ lwz r0, 4(r28) +/* 8009FA58 0009C9B8 7C 1F 00 00 */ cmpw r31, r0 +/* 8009FA5C 0009C9BC 41 80 FE 5C */ blt lbl_8009F8B8 +/* 8009FA60 0009C9C0 80 81 00 5C */ lwz r4, 0x5c(r1) +/* 8009FA64 0009C9C4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8009FA68 0009C9C8 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 8009FA6C 0009C9CC 4B FF EC 69 */ bl MinCircle__FiPC9CVector2f +/* 8009FA70 0009C9D0 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8009FA74 0009C9D4 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8009FA78 0009C9D8 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8009FA7C 0009C9DC D0 3C 00 3C */ stfs f1, 0x3c(r28) +/* 8009FA80 0009C9E0 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 8009FA84 0009C9E4 EC 22 00 2A */ fadds f1, f2, f0 +/* 8009FA88 0009C9E8 C0 62 8C 2C */ lfs f3, lbl_805AA94C@sda21(r2) +/* 8009FA8C 0009C9EC EC 02 00 28 */ fsubs f0, f2, f0 +/* 8009FA90 0009C9F0 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8009FA94 0009C9F4 80 61 00 64 */ lwz r3, 0x64(r1) +/* 8009FA98 0009C9F8 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8009FA9C 0009C9FC 54 00 18 38 */ slwi r0, r0, 3 +/* 8009FAA0 0009CA00 D0 9C 00 30 */ stfs f4, 0x30(r28) +/* 8009FAA4 0009CA04 7C 03 02 14 */ add r0, r3, r0 +/* 8009FAA8 0009CA08 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8009FAAC 0009CA0C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8009FAB0 0009CA10 D0 5C 00 34 */ stfs f2, 0x34(r28) +/* 8009FAB4 0009CA14 7C 64 1B 78 */ mr r4, r3 +/* 8009FAB8 0009CA18 D0 3C 00 38 */ stfs f1, 0x38(r28) +/* 8009FABC 0009CA1C D0 1C 00 40 */ stfs f0, 0x40(r28) +/* 8009FAC0 0009CA20 90 01 00 14 */ stw r0, 0x14(r1) +/* 8009FAC4 0009CA24 90 01 00 10 */ stw r0, 0x10(r1) +/* 8009FAC8 0009CA28 90 61 00 0C */ stw r3, 0xc(r1) +/* 8009FACC 0009CA2C 90 61 00 08 */ stw r3, 8(r1) +/* 8009FAD0 0009CA30 48 00 00 08 */ b lbl_8009FAD8 +lbl_8009FAD4: +/* 8009FAD4 0009CA34 38 84 00 08 */ addi r4, r4, 8 +lbl_8009FAD8: +/* 8009FAD8 0009CA38 7C 04 00 40 */ cmplw r4, r0 +/* 8009FADC 0009CA3C 40 82 FF F8 */ bne lbl_8009FAD4 +/* 8009FAE0 0009CA40 28 03 00 00 */ cmplwi r3, 0 +/* 8009FAE4 0009CA44 41 82 00 08 */ beq lbl_8009FAEC +/* 8009FAE8 0009CA48 48 27 5E 49 */ bl Free__7CMemoryFPCv +lbl_8009FAEC: +/* 8009FAEC 0009CA4C E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 8009FAF0 0009CA50 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 8009FAF4 0009CA54 BB 41 00 C8 */ lmw r26, 0xc8(r1) +/* 8009FAF8 0009CA58 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8009FAFC 0009CA5C 7C 08 03 A6 */ mtlr r0 +/* 8009FB00 0009CA60 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8009FB04 0009CA64 4E 80 00 20 */ blr + +.global "DrawAreas__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiRCQ24rstl64vectorb" +"DrawAreas__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiRCQ24rstl64vectorb": +/* 8009FB08 0009CA68 94 21 FA 30 */ stwu r1, -0x5d0(r1) +/* 8009FB0C 0009CA6C 7C 08 02 A6 */ mflr r0 +/* 8009FB10 0009CA70 90 01 05 D4 */ stw r0, 0x5d4(r1) +/* 8009FB14 0009CA74 DB E1 05 C0 */ stfd f31, 0x5c0(r1) +/* 8009FB18 0009CA78 F3 E1 05 C8 */ psq_st f31, 1480(r1), 0, qr0 +/* 8009FB1C 0009CA7C DB C1 05 B0 */ stfd f30, 0x5b0(r1) +/* 8009FB20 0009CA80 F3 C1 05 B8 */ psq_st f30, 1464(r1), 0, qr0 +/* 8009FB24 0009CA84 DB A1 05 A0 */ stfd f29, 0x5a0(r1) +/* 8009FB28 0009CA88 F3 A1 05 A8 */ psq_st f29, 1448(r1), 0, qr0 +/* 8009FB2C 0009CA8C DB 81 05 90 */ stfd f28, 0x590(r1) +/* 8009FB30 0009CA90 F3 81 05 98 */ psq_st f28, 1432(r1), 0, qr0 +/* 8009FB34 0009CA94 DB 61 05 80 */ stfd f27, 0x580(r1) +/* 8009FB38 0009CA98 F3 61 05 88 */ psq_st f27, 1416(r1), 0, qr0 +/* 8009FB3C 0009CA9C DB 41 05 70 */ stfd f26, 0x570(r1) +/* 8009FB40 0009CAA0 F3 41 05 78 */ psq_st f26, 1400(r1), 0, qr0 +/* 8009FB44 0009CAA4 DB 21 05 60 */ stfd f25, 0x560(r1) +/* 8009FB48 0009CAA8 F3 21 05 68 */ psq_st f25, 1384(r1), 0, qr0 +/* 8009FB4C 0009CAAC DB 01 05 50 */ stfd f24, 0x550(r1) +/* 8009FB50 0009CAB0 F3 01 05 58 */ psq_st f24, 1368(r1), 0, qr0 +/* 8009FB54 0009CAB4 DA E1 05 40 */ stfd f23, 0x540(r1) +/* 8009FB58 0009CAB8 F2 E1 05 48 */ psq_st f23, 1352(r1), 0, qr0 +/* 8009FB5C 0009CABC BD C1 04 F8 */ stmw r14, 0x4f8(r1) +/* 8009FB60 0009CAC0 7C 7C 1B 78 */ mr r28, r3 +/* 8009FB64 0009CAC4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8009FB68 0009CAC8 7C 9F 23 78 */ mr r31, r4 +/* 8009FB6C 0009CACC 7C BD 2B 78 */ mr r29, r5 +/* 8009FB70 0009CAD0 81 83 00 00 */ lwz r12, 0(r3) +/* 8009FB74 0009CAD4 7C DB 33 78 */ mr r27, r6 +/* 8009FB78 0009CAD8 7C EF 3B 78 */ mr r15, r7 +/* 8009FB7C 0009CADC 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8009FB80 0009CAE0 7D 89 03 A6 */ mtctr r12 +/* 8009FB84 0009CAE4 4E 80 04 21 */ bctrl +/* 8009FB88 0009CAE8 C0 22 8C 30 */ lfs f1, lbl_805AA950@sda21(r2) +/* 8009FB8C 0009CAEC 38 60 00 05 */ li r3, 5 +/* 8009FB90 0009CAF0 48 26 B8 49 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 8009FB94 0009CAF4 3A 20 00 00 */ li r17, 0 +/* 8009FB98 0009CAF8 39 C0 00 00 */ li r14, 0 +/* 8009FB9C 0009CAFC 92 21 01 38 */ stw r17, 0x138(r1) +/* 8009FBA0 0009CB00 3A 00 00 00 */ li r16, 0 +/* 8009FBA4 0009CB04 3A 40 00 00 */ li r18, 0 +/* 8009FBA8 0009CB08 92 21 01 3C */ stw r17, 0x13c(r1) +/* 8009FBAC 0009CB0C 92 21 01 40 */ stw r17, 0x140(r1) +/* 8009FBB0 0009CB10 48 00 00 2C */ b lbl_8009FBDC +lbl_8009FBB4: +/* 8009FBB4 0009CB14 80 9B 00 0C */ lwz r4, 0xc(r27) +/* 8009FBB8 0009CB18 7F 83 E3 78 */ mr r3, r28 +/* 8009FBBC 0009CB1C 7C 84 88 2E */ lwzx r4, r4, r17 +/* 8009FBC0 0009CB20 48 00 17 F9 */ bl GetMapArea__9CMapWorldCFi +/* 8009FBC4 0009CB24 80 83 00 30 */ lwz r4, 0x30(r3) +/* 8009FBC8 0009CB28 3A 31 00 10 */ addi r17, r17, 0x10 +/* 8009FBCC 0009CB2C 80 03 00 28 */ lwz r0, 0x28(r3) +/* 8009FBD0 0009CB30 3A 52 00 01 */ addi r18, r18, 1 +/* 8009FBD4 0009CB34 7D CE 22 14 */ add r14, r14, r4 +/* 8009FBD8 0009CB38 7E 10 02 14 */ add r16, r16, r0 +lbl_8009FBDC: +/* 8009FBDC 0009CB3C 80 1B 00 04 */ lwz r0, 4(r27) +/* 8009FBE0 0009CB40 7C 12 00 00 */ cmpw r18, r0 +/* 8009FBE4 0009CB44 41 80 FF D0 */ blt lbl_8009FBB4 +/* 8009FBE8 0009CB48 88 BF 00 38 */ lbz r5, 0x38(r31) +/* 8009FBEC 0009CB4C 1C 10 00 06 */ mulli r0, r16, 6 +/* 8009FBF0 0009CB50 38 61 01 34 */ addi r3, r1, 0x134 +/* 8009FBF4 0009CB54 7C 85 00 D0 */ neg r4, r5 +/* 8009FBF8 0009CB58 7C 84 2B 78 */ or r4, r4, r5 +/* 8009FBFC 0009CB5C 7C 84 FE 70 */ srawi r4, r4, 0x1f +/* 8009FC00 0009CB60 7C 00 20 38 */ and r0, r0, r4 +/* 8009FC04 0009CB64 7C 90 02 14 */ add r4, r16, r0 +/* 8009FC08 0009CB68 7C 8E 22 14 */ add r4, r14, r4 +/* 8009FC0C 0009CB6C 48 00 25 49 */ bl "reserve__Q24rstl67vectorFi" +/* 8009FC10 0009CB70 81 DF 00 18 */ lwz r14, 0x18(r31) +/* 8009FC14 0009CB74 3B 20 00 00 */ li r25, 0 +/* 8009FC18 0009CB78 83 DF 00 28 */ lwz r30, 0x28(r31) +/* 8009FC1C 0009CB7C 3A E0 00 00 */ li r23, 0 +/* 8009FC20 0009CB80 82 6E 08 CC */ lwz r19, 0x8cc(r14) +/* 8009FC24 0009CB84 48 00 07 2C */ b lbl_800A0350 +lbl_8009FC28: +/* 8009FC28 0009CB88 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 8009FC2C 0009CB8C 7F 83 E3 78 */ mr r3, r28 +/* 8009FC30 0009CB90 7E 20 BA 14 */ add r17, r0, r23 +/* 8009FC34 0009CB94 83 51 00 00 */ lwz r26, 0(r17) +/* 8009FC38 0009CB98 7F 44 D3 78 */ mr r4, r26 +/* 8009FC3C 0009CB9C 48 00 17 7D */ bl GetMapArea__9CMapWorldCFi +/* 8009FC40 0009CBA0 93 41 00 90 */ stw r26, 0x90(r1) +/* 8009FC44 0009CBA4 7C 78 1B 78 */ mr r24, r3 +/* 8009FC48 0009CBA8 7F C3 F3 78 */ mr r3, r30 +/* 8009FC4C 0009CBAC 38 81 00 94 */ addi r4, r1, 0x94 +/* 8009FC50 0009CBB0 93 41 00 94 */ stw r26, 0x94(r1) +/* 8009FC54 0009CBB4 93 41 00 98 */ stw r26, 0x98(r1) +/* 8009FC58 0009CBB8 93 41 00 9C */ stw r26, 0x9c(r1) +/* 8009FC5C 0009CBBC 48 0C 80 A9 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId +/* 8009FC60 0009CBC0 7C 70 1B 78 */ mr r16, r3 +/* 8009FC64 0009CBC4 7F C3 F3 78 */ mr r3, r30 +/* 8009FC68 0009CBC8 38 81 00 9C */ addi r4, r1, 0x9c +/* 8009FC6C 0009CBCC 48 0C 87 D5 */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId +/* 8009FC70 0009CBD0 7C 64 1B 78 */ mr r4, r3 +/* 8009FC74 0009CBD4 7F 03 C3 78 */ mr r3, r24 +/* 8009FC78 0009CBD8 7E 05 83 78 */ mr r5, r16 +/* 8009FC7C 0009CBDC 4B FE 10 B1 */ bl GetIsVisibleToAutoMapper__8CMapAreaCFbb +/* 8009FC80 0009CBE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009FC84 0009CBE4 41 82 06 C4 */ beq lbl_800A0348 +/* 8009FC88 0009CBE8 C3 71 00 08 */ lfs f27, 8(r17) +/* 8009FC8C 0009CBEC C3 91 00 0C */ lfs f28, 0xc(r17) +/* 8009FC90 0009CBF0 FC 20 D8 90 */ fmr f1, f27 +/* 8009FC94 0009CBF4 C3 1F 00 00 */ lfs f24, 0(r31) +/* 8009FC98 0009CBF8 C2 FF 00 04 */ lfs f23, 4(r31) +/* 8009FC9C 0009CBFC C3 BF 00 08 */ lfs f29, 8(r31) +/* 8009FCA0 0009CC00 C3 5F 00 0C */ lfs f26, 0xc(r31) +/* 8009FCA4 0009CC04 82 1F 00 20 */ lwz r16, 0x20(r31) +/* 8009FCA8 0009CC08 48 27 55 F5 */ bl FloorF__5CMathFf +/* 8009FCAC 0009CC0C C3 22 8C 30 */ lfs f25, lbl_805AA950@sda21(r2) +/* 8009FCB0 0009CC10 EC 1B 08 28 */ fsubs f0, f27, f1 +/* 8009FCB4 0009CC14 FC 1B C8 40 */ fcmpo cr0, f27, f25 +/* 8009FCB8 0009CC18 4C 41 13 82 */ cror 2, 1, 2 +/* 8009FCBC 0009CC1C 40 82 00 08 */ bne lbl_8009FCC4 +/* 8009FCC0 0009CC20 48 00 00 18 */ b lbl_8009FCD8 +lbl_8009FCC4: +/* 8009FCC4 0009CC24 C3 22 8C 20 */ lfs f25, lbl_805AA940@sda21(r2) +/* 8009FCC8 0009CC28 FC 1B C8 40 */ fcmpo cr0, f27, f25 +/* 8009FCCC 0009CC2C 4C 41 13 82 */ cror 2, 1, 2 +/* 8009FCD0 0009CC30 40 82 00 08 */ bne lbl_8009FCD8 +/* 8009FCD4 0009CC34 FF 20 00 90 */ fmr f25, f0 +lbl_8009FCD8: +/* 8009FCD8 0009CC38 FC 20 E0 90 */ fmr f1, f28 +/* 8009FCDC 0009CC3C 48 27 55 C1 */ bl FloorF__5CMathFf +/* 8009FCE0 0009CC40 C3 62 8C 30 */ lfs f27, lbl_805AA950@sda21(r2) +/* 8009FCE4 0009CC44 EC 1C 08 28 */ fsubs f0, f28, f1 +/* 8009FCE8 0009CC48 FC 1C D8 40 */ fcmpo cr0, f28, f27 +/* 8009FCEC 0009CC4C 4C 41 13 82 */ cror 2, 1, 2 +/* 8009FCF0 0009CC50 40 82 00 08 */ bne lbl_8009FCF8 +/* 8009FCF4 0009CC54 48 00 00 18 */ b lbl_8009FD0C +lbl_8009FCF8: +/* 8009FCF8 0009CC58 C3 62 8C 20 */ lfs f27, lbl_805AA940@sda21(r2) +/* 8009FCFC 0009CC5C FC 1C D8 40 */ fcmpo cr0, f28, f27 +/* 8009FD00 0009CC60 4C 41 13 82 */ cror 2, 1, 2 +/* 8009FD04 0009CC64 40 82 00 08 */ bne lbl_8009FD0C +/* 8009FD08 0009CC68 FF 60 00 90 */ fmr f27, f0 +lbl_8009FD0C: +/* 8009FD0C 0009CC6C 93 41 00 88 */ stw r26, 0x88(r1) +/* 8009FD10 0009CC70 7F C3 F3 78 */ mr r3, r30 +/* 8009FD14 0009CC74 38 81 00 8C */ addi r4, r1, 0x8c +/* 8009FD18 0009CC78 93 41 00 8C */ stw r26, 0x8c(r1) +/* 8009FD1C 0009CC7C 48 0C 80 65 */ bl IsAreaVisited__13CMapWorldInfoCF7TAreaId +/* 8009FD20 0009CC80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009FD24 0009CC84 41 82 00 08 */ beq lbl_8009FD2C +/* 8009FD28 0009CC88 48 00 00 08 */ b lbl_8009FD30 +lbl_8009FD2C: +/* 8009FD2C 0009CC8C FF 00 E8 90 */ fmr f24, f29 +lbl_8009FD30: +/* 8009FD30 0009CC90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009FD34 0009CC94 41 82 00 08 */ beq lbl_8009FD3C +/* 8009FD38 0009CC98 48 00 00 08 */ b lbl_8009FD40 +lbl_8009FD3C: +/* 8009FD3C 0009CC9C FE E0 D0 90 */ fmr f23, f26 +lbl_8009FD40: +/* 8009FD40 0009CCA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009FD44 0009CCA4 41 82 00 10 */ beq lbl_8009FD54 +/* 8009FD48 0009CCA8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009FD4C 0009CCAC 38 84 00 3C */ addi r4, r4, 0x3c +/* 8009FD50 0009CCB0 48 00 00 0C */ b lbl_8009FD5C +lbl_8009FD54: +/* 8009FD54 0009CCB4 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009FD58 0009CCB8 38 84 00 44 */ addi r4, r4, 0x44 +lbl_8009FD5C: +/* 8009FD5C 0009CCBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009FD60 0009CCC0 82 24 00 00 */ lwz r17, 0(r4) +/* 8009FD64 0009CCC4 41 82 00 10 */ beq lbl_8009FD74 +/* 8009FD68 0009CCC8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009FD6C 0009CCCC 38 84 00 40 */ addi r4, r4, 0x40 +/* 8009FD70 0009CCD0 48 00 00 0C */ b lbl_8009FD7C +lbl_8009FD74: +/* 8009FD74 0009CCD4 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009FD78 0009CCD8 38 84 00 48 */ addi r4, r4, 0x48 +lbl_8009FD7C: +/* 8009FD7C 0009CCDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009FD80 0009CCE0 82 44 00 00 */ lwz r18, 0(r4) +/* 8009FD84 0009CCE4 41 82 00 10 */ beq lbl_8009FD94 +/* 8009FD88 0009CCE8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009FD8C 0009CCEC 38 84 00 4C */ addi r4, r4, 0x4c +/* 8009FD90 0009CCF0 48 00 00 0C */ b lbl_8009FD9C +lbl_8009FD94: +/* 8009FD94 0009CCF4 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 8009FD98 0009CCF8 38 84 00 7C */ addi r4, r4, 0x7c +lbl_8009FD9C: +/* 8009FD9C 0009CCFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8009FDA0 0009CD00 80 64 00 00 */ lwz r3, 0(r4) +/* 8009FDA4 0009CD04 90 61 00 B8 */ stw r3, 0xb8(r1) +/* 8009FDA8 0009CD08 41 82 00 10 */ beq lbl_8009FDB8 +/* 8009FDAC 0009CD0C 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 8009FDB0 0009CD10 38 63 00 50 */ addi r3, r3, 0x50 +/* 8009FDB4 0009CD14 48 00 00 0C */ b lbl_8009FDC0 +lbl_8009FDB8: +/* 8009FDB8 0009CD18 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 8009FDBC 0009CD1C 38 63 00 80 */ addi r3, r3, 0x80 +lbl_8009FDC0: +/* 8009FDC0 0009CD20 80 83 00 00 */ lwz r4, 0(r3) +/* 8009FDC4 0009CD24 38 C0 00 FF */ li r6, 0xff +/* 8009FDC8 0009CD28 38 00 00 00 */ li r0, 0 +/* 8009FDCC 0009CD2C C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8009FDD0 0009CD30 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 8009FDD4 0009CD34 38 61 00 84 */ addi r3, r1, 0x84 +/* 8009FDD8 0009CD38 38 81 00 80 */ addi r4, r1, 0x80 +/* 8009FDDC 0009CD3C 38 A1 00 7C */ addi r5, r1, 0x7c +/* 8009FDE0 0009CD40 98 C1 00 7C */ stb r6, 0x7c(r1) +/* 8009FDE4 0009CD44 98 C1 00 7D */ stb r6, 0x7d(r1) +/* 8009FDE8 0009CD48 98 C1 00 7E */ stb r6, 0x7e(r1) +/* 8009FDEC 0009CD4C 98 01 00 7F */ stb r0, 0x7f(r1) +/* 8009FDF0 0009CD50 90 01 00 80 */ stw r0, 0x80(r1) +/* 8009FDF4 0009CD54 48 2C 34 B9 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8009FDF8 0009CD58 7C 1A E8 50 */ subf r0, r26, r29 +/* 8009FDFC 0009CD5C 80 81 00 84 */ lwz r4, 0x84(r1) +/* 8009FE00 0009CD60 7C 03 00 34 */ cntlzw r3, r0 +/* 8009FE04 0009CD64 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 8009FE08 0009CD68 90 81 00 B0 */ stw r4, 0xb0(r1) +/* 8009FE0C 0009CD6C 54 60 D9 7E */ srwi r0, r3, 5 +/* 8009FE10 0009CD70 41 82 00 08 */ beq lbl_8009FE18 +/* 8009FE14 0009CD74 7D E0 7B 78 */ mr r0, r15 +lbl_8009FE18: +/* 8009FE18 0009CD78 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8009FE1C 0009CD7C 41 82 00 1C */ beq lbl_8009FE38 +/* 8009FE20 0009CD80 38 61 00 78 */ addi r3, r1, 0x78 +/* 8009FE24 0009CD84 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 8009FE28 0009CD88 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 8009FE2C 0009CD8C 48 2C 32 85 */ bl Add__6CColorFRC6CColorRC6CColor +/* 8009FE30 0009CD90 38 61 00 78 */ addi r3, r1, 0x78 +/* 8009FE34 0009CD94 48 00 00 24 */ b lbl_8009FE58 +lbl_8009FE38: +/* 8009FE38 0009CD98 EC 19 06 32 */ fmuls f0, f25, f24 +/* 8009FE3C 0009CD9C C0 22 8C 40 */ lfs f1, lbl_805AA960@sda21(r2) +/* 8009FE40 0009CDA0 EF E1 00 32 */ fmuls f31, f1, f0 +/* 8009FE44 0009CDA4 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 8009FE48 0009CDA8 38 61 00 74 */ addi r3, r1, 0x74 +/* 8009FE4C 0009CDAC 88 01 00 09 */ lbz r0, 9(r1) +/* 8009FE50 0009CDB0 52 20 00 2E */ rlwimi r0, r17, 0, 0, 0x17 +/* 8009FE54 0009CDB4 90 01 00 74 */ stw r0, 0x74(r1) +lbl_8009FE58: +/* 8009FE58 0009CDB8 7C 1A E8 50 */ subf r0, r26, r29 +/* 8009FE5C 0009CDBC 80 83 00 00 */ lwz r4, 0(r3) +/* 8009FE60 0009CDC0 7C 03 00 34 */ cntlzw r3, r0 +/* 8009FE64 0009CDC4 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 8009FE68 0009CDC8 90 81 00 AC */ stw r4, 0xac(r1) +/* 8009FE6C 0009CDCC 54 60 D9 7E */ srwi r0, r3, 5 +/* 8009FE70 0009CDD0 41 82 00 08 */ beq lbl_8009FE78 +/* 8009FE74 0009CDD4 7D E0 7B 78 */ mr r0, r15 +lbl_8009FE78: +/* 8009FE78 0009CDD8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8009FE7C 0009CDDC 41 82 00 1C */ beq lbl_8009FE98 +/* 8009FE80 0009CDE0 38 61 00 70 */ addi r3, r1, 0x70 +/* 8009FE84 0009CDE4 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8009FE88 0009CDE8 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 8009FE8C 0009CDEC 48 2C 32 25 */ bl Add__6CColorFRC6CColorRC6CColor +/* 8009FE90 0009CDF0 38 61 00 70 */ addi r3, r1, 0x70 +/* 8009FE94 0009CDF4 48 00 00 24 */ b lbl_8009FEB8 +lbl_8009FE98: +/* 8009FE98 0009CDF8 EC 1B 05 F2 */ fmuls f0, f27, f23 +/* 8009FE9C 0009CDFC C0 22 8C 40 */ lfs f1, lbl_805AA960@sda21(r2) +/* 8009FEA0 0009CE00 EF C1 00 32 */ fmuls f30, f1, f0 +/* 8009FEA4 0009CE04 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 8009FEA8 0009CE08 38 61 00 6C */ addi r3, r1, 0x6c +/* 8009FEAC 0009CE0C 88 01 00 08 */ lbz r0, 8(r1) +/* 8009FEB0 0009CE10 52 40 00 2E */ rlwimi r0, r18, 0, 0, 0x17 +/* 8009FEB4 0009CE14 90 01 00 6C */ stw r0, 0x6c(r1) +lbl_8009FEB8: +/* 8009FEB8 0009CE18 80 03 00 00 */ lwz r0, 0(r3) +/* 8009FEBC 0009CE1C 7C 1D 98 00 */ cmpw r29, r19 +/* 8009FEC0 0009CE20 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8009FEC4 0009CE24 40 82 00 14 */ bne lbl_8009FED8 +/* 8009FEC8 0009CE28 C0 22 8C 20 */ lfs f1, lbl_805AA940@sda21(r2) +/* 8009FECC 0009CE2C C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8009FED0 0009CE30 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8009FED4 0009CE34 40 82 00 60 */ bne lbl_8009FF34 +lbl_8009FED8: +/* 8009FED8 0009CE38 7C 13 D0 00 */ cmpw r19, r26 +/* 8009FEDC 0009CE3C 40 82 00 58 */ bne lbl_8009FF34 +/* 8009FEE0 0009CE40 80 6E 08 50 */ lwz r3, 0x850(r14) +/* 8009FEE4 0009CE44 4B FB 77 B9 */ bl GetMapWorld__6CWorldCFv +/* 8009FEE8 0009CE48 7C 1C 18 40 */ cmplw r28, r3 +/* 8009FEEC 0009CE4C 40 82 00 48 */ bne lbl_8009FF34 +/* 8009FEF0 0009CE50 C2 FF 00 2C */ lfs f23, 0x2c(r31) +/* 8009FEF4 0009CE54 38 61 00 68 */ addi r3, r1, 0x68 +/* 8009FEF8 0009CE58 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) +/* 8009FEFC 0009CE5C 38 81 00 AC */ addi r4, r1, 0xac +/* 8009FF00 0009CE60 FC 20 B8 90 */ fmr f1, f23 +/* 8009FF04 0009CE64 3A 25 00 F4 */ addi r17, r5, 0xf4 +/* 8009FF08 0009CE68 7E 25 8B 78 */ mr r5, r17 +/* 8009FF0C 0009CE6C 48 2C 33 A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8009FF10 0009CE70 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8009FF14 0009CE74 FC 20 B8 90 */ fmr f1, f23 +/* 8009FF18 0009CE78 7E 25 8B 78 */ mr r5, r17 +/* 8009FF1C 0009CE7C 38 61 00 64 */ addi r3, r1, 0x64 +/* 8009FF20 0009CE80 90 01 00 AC */ stw r0, 0xac(r1) +/* 8009FF24 0009CE84 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8009FF28 0009CE88 48 2C 33 85 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8009FF2C 0009CE8C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8009FF30 0009CE90 90 01 00 A8 */ stw r0, 0xa8(r1) +lbl_8009FF34: +/* 8009FF34 0009CE94 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 8009FF38 0009CE98 7F 04 C3 78 */ mr r4, r24 +/* 8009FF3C 0009CE9C 7F 46 D3 78 */ mr r6, r26 +/* 8009FF40 0009CEA0 38 61 03 FC */ addi r3, r1, 0x3fc +/* 8009FF44 0009CEA4 4B FE 05 25 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 8009FF48 0009CEA8 7E 04 83 78 */ mr r4, r16 +/* 8009FF4C 0009CEAC 38 61 04 2C */ addi r3, r1, 0x42c +/* 8009FF50 0009CEB0 48 27 2D 4D */ bl GetQuickInverse__12CTransform4fCFv +/* 8009FF54 0009CEB4 38 61 04 5C */ addi r3, r1, 0x45c +/* 8009FF58 0009CEB8 38 81 04 2C */ addi r4, r1, 0x42c +/* 8009FF5C 0009CEBC 38 A1 03 FC */ addi r5, r1, 0x3fc +/* 8009FF60 0009CEC0 48 27 29 F1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8009FF64 0009CEC4 38 61 04 BC */ addi r3, r1, 0x4bc +/* 8009FF68 0009CEC8 38 81 04 5C */ addi r4, r1, 0x45c +/* 8009FF6C 0009CECC 48 27 2C 09 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8009FF70 0009CED0 82 18 00 30 */ lwz r16, 0x30(r24) +/* 8009FF74 0009CED4 3A 40 00 00 */ li r18, 0 +/* 8009FF78 0009CED8 3A 20 00 00 */ li r17, 0 +/* 8009FF7C 0009CEDC 48 00 00 DC */ b lbl_800A0058 +lbl_8009FF80: +/* 8009FF80 0009CEE0 80 18 00 40 */ lwz r0, 0x40(r24) +/* 8009FF84 0009CEE4 38 61 01 04 */ addi r3, r1, 0x104 +/* 8009FF88 0009CEE8 38 81 04 BC */ addi r4, r1, 0x4bc +/* 8009FF8C 0009CEEC 38 A1 01 28 */ addi r5, r1, 0x128 +/* 8009FF90 0009CEF0 7C C0 8A 14 */ add r6, r0, r17 +/* 8009FF94 0009CEF4 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8009FF98 0009CEF8 C0 46 00 14 */ lfs f2, 0x14(r6) +/* 8009FF9C 0009CEFC C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8009FFA0 0009CF00 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 8009FFA4 0009CF04 D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 8009FFA8 0009CF08 D0 41 01 30 */ stfs f2, 0x130(r1) +/* 8009FFAC 0009CF0C 48 27 2B 3D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8009FFB0 0009CF10 80 61 00 A8 */ lwz r3, 0xa8(r1) +/* 8009FFB4 0009CF14 7F 44 D3 78 */ mr r4, r26 +/* 8009FFB8 0009CF18 80 01 00 AC */ lwz r0, 0xac(r1) +/* 8009FFBC 0009CF1C 7E 46 93 78 */ mr r6, r18 +/* 8009FFC0 0009CF20 90 61 00 5C */ stw r3, 0x5c(r1) +/* 8009FFC4 0009CF24 38 61 01 6C */ addi r3, r1, 0x16c +/* 8009FFC8 0009CF28 C0 21 01 08 */ lfs f1, 0x108(r1) +/* 8009FFCC 0009CF2C 38 E1 00 60 */ addi r7, r1, 0x60 +/* 8009FFD0 0009CF30 90 01 00 60 */ stw r0, 0x60(r1) +/* 8009FFD4 0009CF34 39 01 00 5C */ addi r8, r1, 0x5c +/* 8009FFD8 0009CF38 3C A0 00 04 */ lis r5, 4 +/* 8009FFDC 0009CF3C 48 00 1B 8D */ bl __ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor +/* 8009FFE0 0009CF40 80 01 01 38 */ lwz r0, 0x138(r1) +/* 8009FFE4 0009CF44 80 A1 01 3C */ lwz r5, 0x13c(r1) +/* 8009FFE8 0009CF48 7C 00 28 00 */ cmpw r0, r5 +/* 8009FFEC 0009CF4C 41 80 00 1C */ blt lbl_800A0008 +/* 8009FFF0 0009CF50 2C 05 00 00 */ cmpwi r5, 0 +/* 8009FFF4 0009CF54 38 61 01 34 */ addi r3, r1, 0x134 +/* 8009FFF8 0009CF58 38 80 00 04 */ li r4, 4 +/* 8009FFFC 0009CF5C 41 82 00 08 */ beq lbl_800A0004 +/* 800A0000 0009CF60 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800A0004: +/* 800A0004 0009CF64 48 00 21 51 */ bl "reserve__Q24rstl67vectorFi" +lbl_800A0008: +/* 800A0008 0009CF68 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800A000C 0009CF6C 80 61 01 40 */ lwz r3, 0x140(r1) +/* 800A0010 0009CF70 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800A0014 0009CF74 7C 63 02 15 */ add. r3, r3, r0 +/* 800A0018 0009CF78 41 82 00 2C */ beq lbl_800A0044 +/* 800A001C 0009CF7C C0 01 01 6C */ lfs f0, 0x16c(r1) +/* 800A0020 0009CF80 D0 03 00 00 */ stfs f0, 0(r3) +/* 800A0024 0009CF84 80 01 01 70 */ lwz r0, 0x170(r1) +/* 800A0028 0009CF88 90 03 00 04 */ stw r0, 4(r3) +/* 800A002C 0009CF8C 80 01 01 74 */ lwz r0, 0x174(r1) +/* 800A0030 0009CF90 90 03 00 08 */ stw r0, 8(r3) +/* 800A0034 0009CF94 80 01 01 78 */ lwz r0, 0x178(r1) +/* 800A0038 0009CF98 90 03 00 0C */ stw r0, 0xc(r3) +/* 800A003C 0009CF9C 80 01 01 7C */ lwz r0, 0x17c(r1) +/* 800A0040 0009CFA0 90 03 00 10 */ stw r0, 0x10(r3) +lbl_800A0044: +/* 800A0044 0009CFA4 80 61 01 38 */ lwz r3, 0x138(r1) +/* 800A0048 0009CFA8 3A 31 00 20 */ addi r17, r17, 0x20 +/* 800A004C 0009CFAC 3A 52 00 01 */ addi r18, r18, 1 +/* 800A0050 0009CFB0 38 03 00 01 */ addi r0, r3, 1 +/* 800A0054 0009CFB4 90 01 01 38 */ stw r0, 0x138(r1) +lbl_800A0058: +/* 800A0058 0009CFB8 7C 12 80 00 */ cmpw r18, r16 +/* 800A005C 0009CFBC 41 80 FF 24 */ blt lbl_8009FF80 +/* 800A0060 0009CFC0 3A C0 00 00 */ li r22, 0 +/* 800A0064 0009CFC4 93 41 00 54 */ stw r26, 0x54(r1) +/* 800A0068 0009CFC8 7E D5 B3 78 */ mr r21, r22 +/* 800A006C 0009CFCC 3A 80 00 00 */ li r20, 0 +/* 800A0070 0009CFD0 48 00 02 CC */ b lbl_800A033C +lbl_800A0074: +/* 800A0074 0009CFD4 80 18 00 38 */ lwz r0, 0x38(r24) +/* 800A0078 0009CFD8 7F C3 F3 78 */ mr r3, r30 +/* 800A007C 0009CFDC 38 81 00 58 */ addi r4, r1, 0x58 +/* 800A0080 0009CFE0 93 41 00 58 */ stw r26, 0x58(r1) +/* 800A0084 0009CFE4 7E 40 B2 14 */ add r18, r0, r22 +/* 800A0088 0009CFE8 48 0C 83 B9 */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId +/* 800A008C 0009CFEC 7C 64 1B 78 */ mr r4, r3 +/* 800A0090 0009CFF0 7E 43 93 78 */ mr r3, r18 +/* 800A0094 0009CFF4 7F C5 F3 78 */ mr r5, r30 +/* 800A0098 0009CFF8 48 04 89 AD */ bl GetIsVisibleToAutoMapper__15CMappableObjectFbRC13CMapWorldInfo +/* 800A009C 0009CFFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A00A0 0009D000 41 82 02 90 */ beq lbl_800A0330 +/* 800A00A4 0009D004 80 12 00 00 */ lwz r0, 0(r18) +/* 800A00A8 0009D008 3A 00 00 00 */ li r16, 0 +/* 800A00AC 0009D00C 2C 00 00 00 */ cmpwi r0, 0 +/* 800A00B0 0009D010 41 80 00 10 */ blt lbl_800A00C0 +/* 800A00B4 0009D014 2C 00 00 0F */ cmpwi r0, 0xf +/* 800A00B8 0009D018 41 81 00 08 */ bgt lbl_800A00C0 +/* 800A00BC 0009D01C 3A 00 00 01 */ li r16, 1 +lbl_800A00C0: +/* 800A00C0 0009D020 56 00 06 3F */ clrlwi. r0, r16, 0x18 +/* 800A00C4 0009D024 41 82 01 5C */ beq lbl_800A0220 +/* 800A00C8 0009D028 93 41 00 4C */ stw r26, 0x4c(r1) +/* 800A00CC 0009D02C 7F C3 F3 78 */ mr r3, r30 +/* 800A00D0 0009D030 38 81 00 50 */ addi r4, r1, 0x50 +/* 800A00D4 0009D034 93 41 00 50 */ stw r26, 0x50(r1) +/* 800A00D8 0009D038 48 0C 7C 2D */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId +/* 800A00DC 0009D03C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A00E0 0009D040 41 82 02 50 */ beq lbl_800A0330 +/* 800A00E4 0009D044 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 800A00E8 0009D048 28 00 00 00 */ cmplwi r0, 0 +/* 800A00EC 0009D04C 41 82 01 34 */ beq lbl_800A0220 +/* 800A00F0 0009D050 3A 00 00 00 */ li r16, 0 +/* 800A00F4 0009D054 7E B1 AB 78 */ mr r17, r21 +lbl_800A00F8: +/* 800A00F8 0009D058 7E 44 93 78 */ mr r4, r18 +/* 800A00FC 0009D05C 7E 05 83 78 */ mr r5, r16 +/* 800A0100 0009D060 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800A0104 0009D064 48 04 8A 41 */ bl BuildSurfaceCenterPoint__15CMappableObjectCFi +/* 800A0108 0009D068 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800A010C 0009D06C 7F 44 D3 78 */ mr r4, r26 +/* 800A0110 0009D070 4B FE 02 ED */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId +/* 800A0114 0009D074 C0 23 00 04 */ lfs f1, 4(r3) +/* 800A0118 0009D078 38 81 04 BC */ addi r4, r1, 0x4bc +/* 800A011C 0009D07C C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 800A0120 0009D080 38 A1 01 1C */ addi r5, r1, 0x11c +/* 800A0124 0009D084 C0 63 00 08 */ lfs f3, 8(r3) +/* 800A0128 0009D088 C0 41 01 00 */ lfs f2, 0x100(r1) +/* 800A012C 0009D08C EC 81 00 2A */ fadds f4, f1, f0 +/* 800A0130 0009D090 C0 23 00 00 */ lfs f1, 0(r3) +/* 800A0134 0009D094 38 61 00 EC */ addi r3, r1, 0xec +/* 800A0138 0009D098 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 800A013C 0009D09C EC 43 10 2A */ fadds f2, f3, f2 +/* 800A0140 0009D0A0 D0 81 01 20 */ stfs f4, 0x120(r1) +/* 800A0144 0009D0A4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800A0148 0009D0A8 D0 41 01 24 */ stfs f2, 0x124(r1) +/* 800A014C 0009D0AC D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 800A0150 0009D0B0 48 27 29 99 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800A0154 0009D0B4 39 20 00 FF */ li r9, 0xff +/* 800A0158 0009D0B8 38 00 00 00 */ li r0, 0 +/* 800A015C 0009D0BC C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 800A0160 0009D0C0 7F 44 D3 78 */ mr r4, r26 +/* 800A0164 0009D0C4 99 21 00 44 */ stb r9, 0x44(r1) +/* 800A0168 0009D0C8 7E 26 8B 78 */ mr r6, r17 +/* 800A016C 0009D0CC 38 61 01 58 */ addi r3, r1, 0x158 +/* 800A0170 0009D0D0 38 E1 00 48 */ addi r7, r1, 0x48 +/* 800A0174 0009D0D4 98 01 00 45 */ stb r0, 0x45(r1) +/* 800A0178 0009D0D8 39 01 00 44 */ addi r8, r1, 0x44 +/* 800A017C 0009D0DC 3C A0 00 02 */ lis r5, 2 +/* 800A0180 0009D0E0 99 21 00 46 */ stb r9, 0x46(r1) +/* 800A0184 0009D0E4 99 21 00 47 */ stb r9, 0x47(r1) +/* 800A0188 0009D0E8 99 21 00 48 */ stb r9, 0x48(r1) +/* 800A018C 0009D0EC 98 01 00 49 */ stb r0, 0x49(r1) +/* 800A0190 0009D0F0 99 21 00 4A */ stb r9, 0x4a(r1) +/* 800A0194 0009D0F4 99 21 00 4B */ stb r9, 0x4b(r1) +/* 800A0198 0009D0F8 48 00 19 D1 */ bl __ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor +/* 800A019C 0009D0FC 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800A01A0 0009D100 80 A1 01 3C */ lwz r5, 0x13c(r1) +/* 800A01A4 0009D104 7C 00 28 00 */ cmpw r0, r5 +/* 800A01A8 0009D108 41 80 00 1C */ blt lbl_800A01C4 +/* 800A01AC 0009D10C 2C 05 00 00 */ cmpwi r5, 0 +/* 800A01B0 0009D110 38 61 01 34 */ addi r3, r1, 0x134 +/* 800A01B4 0009D114 38 80 00 04 */ li r4, 4 +/* 800A01B8 0009D118 41 82 00 08 */ beq lbl_800A01C0 +/* 800A01BC 0009D11C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800A01C0: +/* 800A01C0 0009D120 48 00 1F 95 */ bl "reserve__Q24rstl67vectorFi" +lbl_800A01C4: +/* 800A01C4 0009D124 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800A01C8 0009D128 80 61 01 40 */ lwz r3, 0x140(r1) +/* 800A01CC 0009D12C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800A01D0 0009D130 7C 63 02 15 */ add. r3, r3, r0 +/* 800A01D4 0009D134 41 82 00 2C */ beq lbl_800A0200 +/* 800A01D8 0009D138 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 800A01DC 0009D13C D0 03 00 00 */ stfs f0, 0(r3) +/* 800A01E0 0009D140 80 01 01 5C */ lwz r0, 0x15c(r1) +/* 800A01E4 0009D144 90 03 00 04 */ stw r0, 4(r3) +/* 800A01E8 0009D148 80 01 01 60 */ lwz r0, 0x160(r1) +/* 800A01EC 0009D14C 90 03 00 08 */ stw r0, 8(r3) +/* 800A01F0 0009D150 80 01 01 64 */ lwz r0, 0x164(r1) +/* 800A01F4 0009D154 90 03 00 0C */ stw r0, 0xc(r3) +/* 800A01F8 0009D158 80 01 01 68 */ lwz r0, 0x168(r1) +/* 800A01FC 0009D15C 90 03 00 10 */ stw r0, 0x10(r3) +lbl_800A0200: +/* 800A0200 0009D160 80 61 01 38 */ lwz r3, 0x138(r1) +/* 800A0204 0009D164 3A 10 00 01 */ addi r16, r16, 1 +/* 800A0208 0009D168 2C 10 00 06 */ cmpwi r16, 6 +/* 800A020C 0009D16C 3A 31 00 01 */ addi r17, r17, 1 +/* 800A0210 0009D170 38 03 00 01 */ addi r0, r3, 1 +/* 800A0214 0009D174 90 01 01 38 */ stw r0, 0x138(r1) +/* 800A0218 0009D178 41 80 FE E0 */ blt lbl_800A00F8 +/* 800A021C 0009D17C 48 00 01 14 */ b lbl_800A0330 +lbl_800A0220: +/* 800A0220 0009D180 C3 72 00 3C */ lfs f27, 0x3c(r18) +/* 800A0224 0009D184 7F 44 D3 78 */ mr r4, r26 +/* 800A0228 0009D188 C3 92 00 2C */ lfs f28, 0x2c(r18) +/* 800A022C 0009D18C C3 B2 00 1C */ lfs f29, 0x1c(r18) +/* 800A0230 0009D190 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800A0234 0009D194 4B FE 01 C9 */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId +/* 800A0238 0009D198 C0 43 00 04 */ lfs f2, 4(r3) +/* 800A023C 0009D19C 38 81 04 BC */ addi r4, r1, 0x4bc +/* 800A0240 0009D1A0 C0 23 00 08 */ lfs f1, 8(r3) +/* 800A0244 0009D1A4 38 A1 01 10 */ addi r5, r1, 0x110 +/* 800A0248 0009D1A8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800A024C 0009D1AC EC 42 E0 2A */ fadds f2, f2, f28 +/* 800A0250 0009D1B0 EC 21 D8 2A */ fadds f1, f1, f27 +/* 800A0254 0009D1B4 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 800A0258 0009D1B8 EC 00 E8 2A */ fadds f0, f0, f29 +/* 800A025C 0009D1BC D0 41 01 14 */ stfs f2, 0x114(r1) +/* 800A0260 0009D1C0 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 800A0264 0009D1C4 D0 21 01 18 */ stfs f1, 0x118(r1) +/* 800A0268 0009D1C8 48 27 28 81 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800A026C 0009D1CC 56 00 06 3F */ clrlwi. r0, r16, 0x18 +/* 800A0270 0009D1D0 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 800A0274 0009D1D4 3C A0 00 01 */ lis r5, 1 +/* 800A0278 0009D1D8 41 82 00 08 */ beq lbl_800A0280 +/* 800A027C 0009D1DC 3C A0 00 03 */ lis r5, 3 +lbl_800A0280: +/* 800A0280 0009D1E0 39 20 00 FF */ li r9, 0xff +/* 800A0284 0009D1E4 38 00 00 00 */ li r0, 0 +/* 800A0288 0009D1E8 99 21 00 3C */ stb r9, 0x3c(r1) +/* 800A028C 0009D1EC 7F 44 D3 78 */ mr r4, r26 +/* 800A0290 0009D1F0 7E 86 A3 78 */ mr r6, r20 +/* 800A0294 0009D1F4 38 61 01 44 */ addi r3, r1, 0x144 +/* 800A0298 0009D1F8 98 01 00 3D */ stb r0, 0x3d(r1) +/* 800A029C 0009D1FC 38 E1 00 40 */ addi r7, r1, 0x40 +/* 800A02A0 0009D200 39 01 00 3C */ addi r8, r1, 0x3c +/* 800A02A4 0009D204 99 21 00 3E */ stb r9, 0x3e(r1) +/* 800A02A8 0009D208 99 21 00 3F */ stb r9, 0x3f(r1) +/* 800A02AC 0009D20C 99 21 00 40 */ stb r9, 0x40(r1) +/* 800A02B0 0009D210 98 01 00 41 */ stb r0, 0x41(r1) +/* 800A02B4 0009D214 99 21 00 42 */ stb r9, 0x42(r1) +/* 800A02B8 0009D218 99 21 00 43 */ stb r9, 0x43(r1) +/* 800A02BC 0009D21C 48 00 18 AD */ bl __ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor +/* 800A02C0 0009D220 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800A02C4 0009D224 80 A1 01 3C */ lwz r5, 0x13c(r1) +/* 800A02C8 0009D228 7C 00 28 00 */ cmpw r0, r5 +/* 800A02CC 0009D22C 41 80 00 1C */ blt lbl_800A02E8 +/* 800A02D0 0009D230 2C 05 00 00 */ cmpwi r5, 0 +/* 800A02D4 0009D234 38 61 01 34 */ addi r3, r1, 0x134 +/* 800A02D8 0009D238 38 80 00 04 */ li r4, 4 +/* 800A02DC 0009D23C 41 82 00 08 */ beq lbl_800A02E4 +/* 800A02E0 0009D240 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800A02E4: +/* 800A02E4 0009D244 48 00 1E 71 */ bl "reserve__Q24rstl67vectorFi" +lbl_800A02E8: +/* 800A02E8 0009D248 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800A02EC 0009D24C 80 61 01 40 */ lwz r3, 0x140(r1) +/* 800A02F0 0009D250 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800A02F4 0009D254 7C 63 02 15 */ add. r3, r3, r0 +/* 800A02F8 0009D258 41 82 00 2C */ beq lbl_800A0324 +/* 800A02FC 0009D25C C0 01 01 44 */ lfs f0, 0x144(r1) +/* 800A0300 0009D260 D0 03 00 00 */ stfs f0, 0(r3) +/* 800A0304 0009D264 80 01 01 48 */ lwz r0, 0x148(r1) +/* 800A0308 0009D268 90 03 00 04 */ stw r0, 4(r3) +/* 800A030C 0009D26C 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 800A0310 0009D270 90 03 00 08 */ stw r0, 8(r3) +/* 800A0314 0009D274 80 01 01 50 */ lwz r0, 0x150(r1) +/* 800A0318 0009D278 90 03 00 0C */ stw r0, 0xc(r3) +/* 800A031C 0009D27C 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800A0320 0009D280 90 03 00 10 */ stw r0, 0x10(r3) +lbl_800A0324: +/* 800A0324 0009D284 80 61 01 38 */ lwz r3, 0x138(r1) +/* 800A0328 0009D288 38 03 00 01 */ addi r0, r3, 1 +/* 800A032C 0009D28C 90 01 01 38 */ stw r0, 0x138(r1) +lbl_800A0330: +/* 800A0330 0009D290 3A D6 00 50 */ addi r22, r22, 0x50 +/* 800A0334 0009D294 3A B5 00 06 */ addi r21, r21, 6 +/* 800A0338 0009D298 3A 94 00 01 */ addi r20, r20, 1 +lbl_800A033C: +/* 800A033C 0009D29C 80 18 00 28 */ lwz r0, 0x28(r24) +/* 800A0340 0009D2A0 7C 14 00 00 */ cmpw r20, r0 +/* 800A0344 0009D2A4 41 80 FD 30 */ blt lbl_800A0074 +lbl_800A0348: +/* 800A0348 0009D2A8 3A F7 00 10 */ addi r23, r23, 0x10 +/* 800A034C 0009D2AC 3B 39 00 01 */ addi r25, r25, 1 +lbl_800A0350: +/* 800A0350 0009D2B0 80 1B 00 04 */ lwz r0, 4(r27) +/* 800A0354 0009D2B4 7C 19 00 00 */ cmpw r25, r0 +/* 800A0358 0009D2B8 41 80 F8 D0 */ blt lbl_8009FC28 +/* 800A035C 0009D2BC 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800A0360 0009D2C0 81 DF 00 1C */ lwz r14, 0x1c(r31) +/* 800A0364 0009D2C4 2C 00 00 00 */ cmpwi r0, 0 +/* 800A0368 0009D2C8 81 FF 00 20 */ lwz r15, 0x20(r31) +/* 800A036C 0009D2CC C3 DF 00 14 */ lfs f30, 0x14(r31) +/* 800A0370 0009D2D0 40 81 04 20 */ ble lbl_800A0790 +/* 800A0374 0009D2D4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800A0378 0009D2D8 80 C1 01 40 */ lwz r6, 0x140(r1) +/* 800A037C 0009D2DC 88 A1 00 0C */ lbz r5, 0xc(r1) +/* 800A0380 0009D2E0 38 61 00 38 */ addi r3, r1, 0x38 +/* 800A0384 0009D2E4 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800A0388 0009D2E8 38 81 00 30 */ addi r4, r1, 0x30 +/* 800A038C 0009D2EC 7C 06 02 14 */ add r0, r6, r0 +/* 800A0390 0009D2F0 98 A1 00 10 */ stb r5, 0x10(r1) +/* 800A0394 0009D2F4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800A0398 0009D2F8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800A039C 0009D2FC 90 01 00 30 */ stw r0, 0x30(r1) +/* 800A03A0 0009D300 90 C1 00 38 */ stw r6, 0x38(r1) +/* 800A03A4 0009D304 48 00 17 E9 */ bl sub_800a1b8c +/* 800A03A8 0009D308 3A 40 FF FF */ li r18, -1 +/* 800A03AC 0009D30C 3B 20 FF FF */ li r25, -1 +/* 800A03B0 0009D310 4B FE 01 C1 */ bl SetupGXMaterial__Q28CMapArea15CMapAreaSurfaceFv +/* 800A03B4 0009D314 3B 41 03 CC */ addi r26, r1, 0x3cc +/* 800A03B8 0009D318 3A 60 00 00 */ li r19, 0 +/* 800A03BC 0009D31C 3A 20 00 00 */ li r17, 0 +/* 800A03C0 0009D320 48 00 03 C4 */ b lbl_800A0784 +lbl_800A03C4: +/* 800A03C4 0009D324 80 01 01 40 */ lwz r0, 0x140(r1) +/* 800A03C8 0009D328 7F 83 E3 78 */ mr r3, r28 +/* 800A03CC 0009D32C 7C 80 8A 14 */ add r4, r0, r17 +/* 800A03D0 0009D330 80 04 00 08 */ lwz r0, 8(r4) +/* 800A03D4 0009D334 3A E4 00 0C */ addi r23, r4, 0xc +/* 800A03D8 0009D338 82 04 00 04 */ lwz r16, 4(r4) +/* 800A03DC 0009D33C 3B 04 00 10 */ addi r24, r4, 0x10 +/* 800A03E0 0009D340 54 14 00 1E */ rlwinm r20, r0, 0, 0, 0xf +/* 800A03E4 0009D344 54 16 04 3E */ clrlwi r22, r0, 0x10 +/* 800A03E8 0009D348 7E 04 83 78 */ mr r4, r16 +/* 800A03EC 0009D34C 48 00 0F CD */ bl GetMapArea__9CMapWorldCFi +/* 800A03F0 0009D350 7C 75 1B 78 */ mr r21, r3 +/* 800A03F4 0009D354 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 800A03F8 0009D358 7E 06 83 78 */ mr r6, r16 +/* 800A03FC 0009D35C 38 61 03 CC */ addi r3, r1, 0x3cc +/* 800A0400 0009D360 7E A4 AB 78 */ mr r4, r21 +/* 800A0404 0009D364 4B FE 00 65 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId +/* 800A0408 0009D368 3C 14 FF FC */ addis r0, r20, 0xfffc +/* 800A040C 0009D36C 28 00 00 00 */ cmplwi r0, 0 +/* 800A0410 0009D370 40 82 01 50 */ bne lbl_800A0560 +/* 800A0414 0009D374 80 75 00 40 */ lwz r3, 0x40(r21) +/* 800A0418 0009D378 56 C0 28 34 */ slwi r0, r22, 5 +/* 800A041C 0009D37C 80 CD A1 44 */ lwz r6, gpTweakAutoMapper@sda21(r13) +/* 800A0420 0009D380 7F 44 D3 78 */ mr r4, r26 +/* 800A0424 0009D384 7E 83 02 14 */ add r20, r3, r0 +/* 800A0428 0009D388 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800A042C 0009D38C C3 E6 00 54 */ lfs f31, 0x54(r6) +/* 800A0430 0009D390 38 A1 00 BC */ addi r5, r1, 0xbc +/* 800A0434 0009D394 C3 A6 00 58 */ lfs f29, 0x58(r6) +/* 800A0438 0009D398 C0 14 00 00 */ lfs f0, 0(r20) +/* 800A043C 0009D39C D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 800A0440 0009D3A0 C0 14 00 04 */ lfs f0, 4(r20) +/* 800A0444 0009D3A4 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800A0448 0009D3A8 C0 14 00 08 */ lfs f0, 8(r20) +/* 800A044C 0009D3AC D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 800A0450 0009D3B0 48 27 26 31 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800A0454 0009D3B4 C0 A2 8C 44 */ lfs f5, lbl_805AA964@sda21(r2) +/* 800A0458 0009D3B8 C0 0F 00 14 */ lfs f0, 0x14(r15) +/* 800A045C 0009D3BC C0 2F 00 04 */ lfs f1, 4(r15) +/* 800A0460 0009D3C0 EC C5 00 32 */ fmuls f6, f5, f0 +/* 800A0464 0009D3C4 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 800A0468 0009D3C8 EC 85 00 72 */ fmuls f4, f5, f1 +/* 800A046C 0009D3CC C0 6F 00 24 */ lfs f3, 0x24(r15) +/* 800A0470 0009D3D0 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 800A0474 0009D3D4 EC 26 00 32 */ fmuls f1, f6, f0 +/* 800A0478 0009D3D8 EC A5 00 F2 */ fmuls f5, f5, f3 +/* 800A047C 0009D3DC C0 61 00 D0 */ lfs f3, 0xd0(r1) +/* 800A0480 0009D3E0 C0 0D 86 04 */ lfs f0, lbl_805A71C4@sda21(r13) +/* 800A0484 0009D3E4 EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 800A0488 0009D3E8 D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 800A048C 0009D3EC D0 C1 00 D8 */ stfs f6, 0xd8(r1) +/* 800A0490 0009D3F0 EC 25 08 FA */ fmadds f1, f5, f3, f1 +/* 800A0494 0009D3F4 D0 A1 00 DC */ stfs f5, 0xdc(r1) +/* 800A0498 0009D3F8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800A049C 0009D3FC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800A04A0 0009D400 40 80 00 0C */ bge lbl_800A04AC +/* 800A04A4 0009D404 38 61 00 28 */ addi r3, r1, 0x28 +/* 800A04A8 0009D408 48 00 00 08 */ b lbl_800A04B0 +lbl_800A04AC: +/* 800A04AC 0009D40C 38 6D 86 04 */ addi r3, r13, lbl_805A71C4@sda21 +lbl_800A04B0: +/* 800A04B0 0009D410 C0 03 00 00 */ lfs f0, 0(r3) +/* 800A04B4 0009D414 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800A04B8 0009D418 C0 82 8C 30 */ lfs f4, lbl_805AA950@sda21(r2) +/* 800A04BC 0009D41C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800A04C0 0009D420 EC 3D 00 2A */ fadds f1, f29, f0 +/* 800A04C4 0009D424 FC 40 08 90 */ fmr f2, f1 +/* 800A04C8 0009D428 FC 60 08 90 */ fmr f3, f1 +/* 800A04CC 0009D42C 48 2C 2F 21 */ bl __ct__6CColorFffff +/* 800A04D0 0009D430 7E E4 BB 78 */ mr r4, r23 +/* 800A04D4 0009D434 38 61 00 24 */ addi r3, r1, 0x24 +/* 800A04D8 0009D438 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 800A04DC 0009D43C 48 2C 2C 9D */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 800A04E0 0009D440 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A04E4 0009D444 7C 19 80 00 */ cmpw r25, r16 +/* 800A04E8 0009D448 3A C0 00 00 */ li r22, 0 +/* 800A04EC 0009D44C 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 800A04F0 0009D450 40 82 00 0C */ bne lbl_800A04FC +/* 800A04F4 0009D454 2C 12 00 00 */ cmpwi r18, 0 +/* 800A04F8 0009D458 41 82 00 08 */ beq lbl_800A0500 +lbl_800A04FC: +/* 800A04FC 0009D45C 3A C0 00 01 */ li r22, 1 +lbl_800A0500: +/* 800A0500 0009D460 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 800A0504 0009D464 41 82 00 2C */ beq lbl_800A0530 +/* 800A0508 0009D468 7D C4 73 78 */ mr r4, r14 +/* 800A050C 0009D46C 7F 45 D3 78 */ mr r5, r26 +/* 800A0510 0009D470 38 61 03 9C */ addi r3, r1, 0x39c +/* 800A0514 0009D474 48 27 24 3D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800A0518 0009D478 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800A051C 0009D47C 38 81 03 9C */ addi r4, r1, 0x39c +/* 800A0520 0009D480 81 83 00 00 */ lwz r12, 0(r3) +/* 800A0524 0009D484 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800A0528 0009D488 7D 89 03 A6 */ mtctr r12 +/* 800A052C 0009D48C 4E 80 04 21 */ bctrl +lbl_800A0530: +/* 800A0530 0009D490 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 800A0534 0009D494 41 82 00 0C */ beq lbl_800A0540 +/* 800A0538 0009D498 80 95 00 3C */ lwz r4, 0x3c(r21) +/* 800A053C 0009D49C 48 00 00 08 */ b lbl_800A0544 +lbl_800A0540: +/* 800A0540 0009D4A0 38 80 00 00 */ li r4, 0 +lbl_800A0544: +/* 800A0544 0009D4A4 FC 20 F0 90 */ fmr f1, f30 +/* 800A0548 0009D4A8 7E 83 A3 78 */ mr r3, r20 +/* 800A054C 0009D4AC 7F 06 C3 78 */ mr r6, r24 +/* 800A0550 0009D4B0 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 800A0554 0009D4B4 4B FE 01 21 */ bl Draw__Q28CMapArea15CMapAreaSurfaceCFPC9CVector3fRC6CColorRC6CColorf +/* 800A0558 0009D4B8 3A 40 00 00 */ li r18, 0 +/* 800A055C 0009D4BC 48 00 02 1C */ b lbl_800A0778 +lbl_800A0560: +/* 800A0560 0009D4C0 3C 14 FF FD */ addis r0, r20, 0xfffd +/* 800A0564 0009D4C4 28 00 00 00 */ cmplwi r0, 0 +/* 800A0568 0009D4C8 41 82 00 10 */ beq lbl_800A0578 +/* 800A056C 0009D4CC 3C 14 FF FF */ addis r0, r20, 0xffff +/* 800A0570 0009D4D0 28 00 00 00 */ cmplwi r0, 0 +/* 800A0574 0009D4D4 40 82 01 44 */ bne lbl_800A06B8 +lbl_800A0578: +/* 800A0578 0009D4D8 3C 14 FF FD */ addis r0, r20, 0xfffd +/* 800A057C 0009D4DC 3A E0 00 03 */ li r23, 3 +/* 800A0580 0009D4E0 28 00 00 00 */ cmplwi r0, 0 +/* 800A0584 0009D4E4 40 82 00 08 */ bne lbl_800A058C +/* 800A0588 0009D4E8 3A E0 00 01 */ li r23, 1 +lbl_800A058C: +/* 800A058C 0009D4EC 1C B6 00 50 */ mulli r5, r22, 0x50 +/* 800A0590 0009D4F0 80 D5 00 38 */ lwz r6, 0x38(r21) +/* 800A0594 0009D4F4 7C 92 B8 50 */ subf r4, r18, r23 +/* 800A0598 0009D4F8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800A059C 0009D4FC 7C 17 90 50 */ subf r0, r23, r18 +/* 800A05A0 0009D500 7C 80 03 78 */ or r0, r4, r0 +/* 800A05A4 0009D504 7E 04 83 78 */ mr r4, r16 +/* 800A05A8 0009D508 7E 46 2A 14 */ add r18, r6, r5 +/* 800A05AC 0009D50C 54 15 0F FE */ srwi r21, r0, 0x1f +/* 800A05B0 0009D510 4B FD FE 4D */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId +/* 800A05B4 0009D514 7C 64 1B 78 */ mr r4, r3 +/* 800A05B8 0009D518 38 61 03 3C */ addi r3, r1, 0x33c +/* 800A05BC 0009D51C 48 27 2B 85 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800A05C0 0009D520 38 61 03 6C */ addi r3, r1, 0x36c +/* 800A05C4 0009D524 38 81 03 3C */ addi r4, r1, 0x33c +/* 800A05C8 0009D528 38 B2 00 10 */ addi r5, r18, 0x10 +/* 800A05CC 0009D52C 48 27 23 85 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800A05D0 0009D530 38 61 04 8C */ addi r3, r1, 0x48c +/* 800A05D4 0009D534 38 81 03 6C */ addi r4, r1, 0x36c +/* 800A05D8 0009D538 48 27 25 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800A05DC 0009D53C 3C 14 FF FD */ addis r0, r20, 0xfffd +/* 800A05E0 0009D540 28 00 00 00 */ cmplwi r0, 0 +/* 800A05E4 0009D544 40 82 00 1C */ bne lbl_800A0600 +/* 800A05E8 0009D548 7D C4 73 78 */ mr r4, r14 +/* 800A05EC 0009D54C 38 61 03 0C */ addi r3, r1, 0x30c +/* 800A05F0 0009D550 38 A1 04 8C */ addi r5, r1, 0x48c +/* 800A05F4 0009D554 48 27 23 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800A05F8 0009D558 38 81 03 0C */ addi r4, r1, 0x30c +/* 800A05FC 0009D55C 48 00 00 88 */ b lbl_800A0684 +lbl_800A0600: +/* 800A0600 0009D560 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 800A0604 0009D564 7D E4 7B 78 */ mr r4, r15 +/* 800A0608 0009D568 C0 3F 00 34 */ lfs f1, 0x34(r31) +/* 800A060C 0009D56C 38 61 02 C4 */ addi r3, r1, 0x2c4 +/* 800A0610 0009D570 D0 01 02 EC */ stfs f0, 0x2ec(r1) +/* 800A0614 0009D574 D0 21 02 E8 */ stfs f1, 0x2e8(r1) +/* 800A0618 0009D578 D0 01 02 F0 */ stfs f0, 0x2f0(r1) +/* 800A061C 0009D57C D0 01 02 F4 */ stfs f0, 0x2f4(r1) +/* 800A0620 0009D580 D0 21 02 F8 */ stfs f1, 0x2f8(r1) +/* 800A0624 0009D584 D0 01 02 FC */ stfs f0, 0x2fc(r1) +/* 800A0628 0009D588 D0 01 03 00 */ stfs f0, 0x300(r1) +/* 800A062C 0009D58C D0 01 03 04 */ stfs f0, 0x304(r1) +/* 800A0630 0009D590 D0 21 03 08 */ stfs f1, 0x308(r1) +/* 800A0634 0009D594 48 27 2A C1 */ bl BuildMatrix3f__12CTransform4fCFv +/* 800A0638 0009D598 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 800A063C 0009D59C 38 81 02 C4 */ addi r4, r1, 0x2c4 +/* 800A0640 0009D5A0 38 A1 02 E8 */ addi r5, r1, 0x2e8 +/* 800A0644 0009D5A4 48 26 FA ED */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800A0648 0009D5A8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800A064C 0009D5AC 38 61 02 70 */ addi r3, r1, 0x270 +/* 800A0650 0009D5B0 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 800A0654 0009D5B4 38 81 02 A0 */ addi r4, r1, 0x2a0 +/* 800A0658 0009D5B8 48 27 2C 21 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800A065C 0009D5BC 7C 74 1B 78 */ mr r20, r3 +/* 800A0660 0009D5C0 7D C4 73 78 */ mr r4, r14 +/* 800A0664 0009D5C4 38 61 02 40 */ addi r3, r1, 0x240 +/* 800A0668 0009D5C8 38 A1 04 8C */ addi r5, r1, 0x48c +/* 800A066C 0009D5CC 48 27 22 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800A0670 0009D5D0 7E 85 A3 78 */ mr r5, r20 +/* 800A0674 0009D5D4 38 61 02 10 */ addi r3, r1, 0x210 +/* 800A0678 0009D5D8 38 81 02 40 */ addi r4, r1, 0x240 +/* 800A067C 0009D5DC 48 27 22 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800A0680 0009D5E0 38 81 02 10 */ addi r4, r1, 0x210 +lbl_800A0684: +/* 800A0684 0009D5E4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800A0688 0009D5E8 81 83 00 00 */ lwz r12, 0(r3) +/* 800A068C 0009D5EC 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800A0690 0009D5F0 7D 89 03 A6 */ mtctr r12 +/* 800A0694 0009D5F4 4E 80 04 21 */ bctrl +/* 800A0698 0009D5F8 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 800A069C 0009D5FC 7E 43 93 78 */ mr r3, r18 +/* 800A06A0 0009D600 7F A4 EB 78 */ mr r4, r29 +/* 800A06A4 0009D604 7F C5 F3 78 */ mr r5, r30 +/* 800A06A8 0009D608 7E A6 AB 78 */ mr r6, r21 +/* 800A06AC 0009D60C 48 04 87 01 */ bl Draw__15CMappableObjectCFiRC13CMapWorldInfofb +/* 800A06B0 0009D610 7E F2 BB 78 */ mr r18, r23 +/* 800A06B4 0009D614 48 00 00 C4 */ b lbl_800A0778 +lbl_800A06B8: +/* 800A06B8 0009D618 3C 14 FF FE */ addis r0, r20, 0xfffe +/* 800A06BC 0009D61C 28 00 00 00 */ cmplwi r0, 0 +/* 800A06C0 0009D620 40 82 00 B8 */ bne lbl_800A0778 +/* 800A06C4 0009D624 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha +/* 800A06C8 0009D628 80 D5 00 38 */ lwz r6, 0x38(r21) +/* 800A06CC 0009D62C 38 03 AA AB */ addi r0, r3, 0x2AAAAAAB@l +/* 800A06D0 0009D630 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800A06D4 0009D634 7C A0 B0 96 */ mulhw r5, r0, r22 +/* 800A06D8 0009D638 7E 04 83 78 */ mr r4, r16 +/* 800A06DC 0009D63C 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 800A06E0 0009D640 7C 05 02 14 */ add r0, r5, r0 +/* 800A06E4 0009D644 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 800A06E8 0009D648 7E 86 02 14 */ add r20, r6, r0 +/* 800A06EC 0009D64C 4B FD FD 11 */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId +/* 800A06F0 0009D650 7C 64 1B 78 */ mr r4, r3 +/* 800A06F4 0009D654 38 61 01 80 */ addi r3, r1, 0x180 +/* 800A06F8 0009D658 48 27 2A 49 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800A06FC 0009D65C 7D C4 73 78 */ mr r4, r14 +/* 800A0700 0009D660 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 800A0704 0009D664 38 A1 01 80 */ addi r5, r1, 0x180 +/* 800A0708 0009D668 48 27 22 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800A070C 0009D66C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800A0710 0009D670 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 800A0714 0009D674 38 B4 00 10 */ addi r5, r20, 0x10 +/* 800A0718 0009D678 48 27 22 39 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800A071C 0009D67C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800A0720 0009D680 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 800A0724 0009D684 81 83 00 00 */ lwz r12, 0(r3) +/* 800A0728 0009D688 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800A072C 0009D68C 7D 89 03 A6 */ mtctr r12 +/* 800A0730 0009D690 4E 80 04 21 */ bctrl +/* 800A0734 0009D694 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha +/* 800A0738 0009D698 20 72 00 02 */ subfic r3, r18, 2 +/* 800A073C 0009D69C 38 84 AA AB */ addi r4, r4, 0x2AAAAAAB@l +/* 800A0740 0009D6A0 38 12 FF FE */ addi r0, r18, -2 +/* 800A0744 0009D6A4 7D 04 B0 96 */ mulhw r8, r4, r22 +/* 800A0748 0009D6A8 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 800A074C 0009D6AC 7C 60 03 78 */ or r0, r3, r0 +/* 800A0750 0009D6B0 7E 83 A3 78 */ mr r3, r20 +/* 800A0754 0009D6B4 7F A4 EB 78 */ mr r4, r29 +/* 800A0758 0009D6B8 7F C5 F3 78 */ mr r5, r30 +/* 800A075C 0009D6BC 55 06 0F FE */ srwi r6, r8, 0x1f +/* 800A0760 0009D6C0 54 07 0F FE */ srwi r7, r0, 0x1f +/* 800A0764 0009D6C4 7C 08 32 14 */ add r0, r8, r6 +/* 800A0768 0009D6C8 1C 00 00 06 */ mulli r0, r0, 6 +/* 800A076C 0009D6CC 7C C0 B0 50 */ subf r6, r0, r22 +/* 800A0770 0009D6D0 48 04 85 21 */ bl DrawDoorSurface__15CMappableObjectCFiRC13CMapWorldInfofib +/* 800A0774 0009D6D4 3A 40 00 02 */ li r18, 2 +lbl_800A0778: +/* 800A0778 0009D6D8 7E 19 83 78 */ mr r25, r16 +/* 800A077C 0009D6DC 3A 31 00 14 */ addi r17, r17, 0x14 +/* 800A0780 0009D6E0 3A 73 00 01 */ addi r19, r19, 1 +lbl_800A0784: +/* 800A0784 0009D6E4 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800A0788 0009D6E8 7C 13 00 00 */ cmpw r19, r0 +/* 800A078C 0009D6EC 41 80 FC 38 */ blt lbl_800A03C4 +lbl_800A0790: +/* 800A0790 0009D6F0 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800A0794 0009D6F4 80 61 01 40 */ lwz r3, 0x140(r1) +/* 800A0798 0009D6F8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800A079C 0009D6FC 90 61 00 18 */ stw r3, 0x18(r1) +/* 800A07A0 0009D700 7C 64 1B 78 */ mr r4, r3 +/* 800A07A4 0009D704 7C 03 02 14 */ add r0, r3, r0 +/* 800A07A8 0009D708 90 61 00 14 */ stw r3, 0x14(r1) +/* 800A07AC 0009D70C 90 01 00 20 */ stw r0, 0x20(r1) +/* 800A07B0 0009D710 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800A07B4 0009D714 48 00 00 08 */ b lbl_800A07BC +lbl_800A07B8: +/* 800A07B8 0009D718 38 84 00 14 */ addi r4, r4, 0x14 +lbl_800A07BC: +/* 800A07BC 0009D71C 7C 04 00 40 */ cmplw r4, r0 +/* 800A07C0 0009D720 40 82 FF F8 */ bne lbl_800A07B8 +/* 800A07C4 0009D724 28 03 00 00 */ cmplwi r3, 0 +/* 800A07C8 0009D728 41 82 00 08 */ beq lbl_800A07D0 +/* 800A07CC 0009D72C 48 27 51 65 */ bl Free__7CMemoryFPCv +lbl_800A07D0: +/* 800A07D0 0009D730 E3 E1 05 C8 */ psq_l f31, 1480(r1), 0, qr0 +/* 800A07D4 0009D734 CB E1 05 C0 */ lfd f31, 0x5c0(r1) +/* 800A07D8 0009D738 E3 C1 05 B8 */ psq_l f30, 1464(r1), 0, qr0 +/* 800A07DC 0009D73C CB C1 05 B0 */ lfd f30, 0x5b0(r1) +/* 800A07E0 0009D740 E3 A1 05 A8 */ psq_l f29, 1448(r1), 0, qr0 +/* 800A07E4 0009D744 CB A1 05 A0 */ lfd f29, 0x5a0(r1) +/* 800A07E8 0009D748 E3 81 05 98 */ psq_l f28, 1432(r1), 0, qr0 +/* 800A07EC 0009D74C CB 81 05 90 */ lfd f28, 0x590(r1) +/* 800A07F0 0009D750 E3 61 05 88 */ psq_l f27, 1416(r1), 0, qr0 +/* 800A07F4 0009D754 CB 61 05 80 */ lfd f27, 0x580(r1) +/* 800A07F8 0009D758 E3 41 05 78 */ psq_l f26, 1400(r1), 0, qr0 +/* 800A07FC 0009D75C CB 41 05 70 */ lfd f26, 0x570(r1) +/* 800A0800 0009D760 E3 21 05 68 */ psq_l f25, 1384(r1), 0, qr0 +/* 800A0804 0009D764 CB 21 05 60 */ lfd f25, 0x560(r1) +/* 800A0808 0009D768 E3 01 05 58 */ psq_l f24, 1368(r1), 0, qr0 +/* 800A080C 0009D76C CB 01 05 50 */ lfd f24, 0x550(r1) +/* 800A0810 0009D770 E2 E1 05 48 */ psq_l f23, 1352(r1), 0, qr0 +/* 800A0814 0009D774 CA E1 05 40 */ lfd f23, 0x540(r1) +/* 800A0818 0009D778 B9 C1 04 F8 */ lmw r14, 0x4f8(r1) +/* 800A081C 0009D77C 80 01 05 D4 */ lwz r0, 0x5d4(r1) +/* 800A0820 0009D780 7C 08 03 A6 */ mtlr r0 +/* 800A0824 0009D784 38 21 05 D0 */ addi r1, r1, 0x5d0 +/* 800A0828 0009D788 4E 80 00 20 */ blr + +.global IsMapAreaValid__9CMapWorldCFRC6IWorldib +IsMapAreaValid__9CMapWorldCFRC6IWorldib: +/* 800A082C 0009D78C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800A0830 0009D790 7C 08 02 A6 */ mflr r0 +/* 800A0834 0009D794 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A0838 0009D798 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800A083C 0009D79C 7C BF 2B 78 */ mr r31, r5 +/* 800A0840 0009D7A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800A0844 0009D7A4 7C DE 33 78 */ mr r30, r6 +/* 800A0848 0009D7A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800A084C 0009D7AC 7C 7D 1B 78 */ mr r29, r3 +/* 800A0850 0009D7B0 7C 83 23 78 */ mr r3, r4 +/* 800A0854 0009D7B4 38 81 00 0C */ addi r4, r1, 0xc +/* 800A0858 0009D7B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A085C 0009D7BC 81 83 00 00 */ lwz r12, 0(r3) +/* 800A0860 0009D7C0 93 E1 00 08 */ stw r31, 8(r1) +/* 800A0864 0009D7C4 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800A0868 0009D7C8 7D 89 03 A6 */ mtctr r12 +/* 800A086C 0009D7CC 4E 80 04 21 */ bctrl +/* 800A0870 0009D7D0 81 83 00 00 */ lwz r12, 0(r3) +/* 800A0874 0009D7D4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800A0878 0009D7D8 7D 89 03 A6 */ mtctr r12 +/* 800A087C 0009D7DC 4E 80 04 21 */ bctrl +/* 800A0880 0009D7E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A0884 0009D7E4 40 82 00 0C */ bne lbl_800A0890 +/* 800A0888 0009D7E8 38 60 00 00 */ li r3, 0 +/* 800A088C 0009D7EC 48 00 00 2C */ b lbl_800A08B8 +lbl_800A0890: +/* 800A0890 0009D7F0 7F A3 EB 78 */ mr r3, r29 +/* 800A0894 0009D7F4 7F E4 FB 78 */ mr r4, r31 +/* 800A0898 0009D7F8 48 00 0B 21 */ bl GetMapArea__9CMapWorldCFi +/* 800A089C 0009D7FC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800A08A0 0009D800 41 82 00 14 */ beq lbl_800A08B4 +/* 800A08A4 0009D804 28 03 00 00 */ cmplwi r3, 0 +/* 800A08A8 0009D808 40 82 00 0C */ bne lbl_800A08B4 +/* 800A08AC 0009D80C 38 60 00 00 */ li r3, 0 +/* 800A08B0 0009D810 48 00 00 08 */ b lbl_800A08B8 +lbl_800A08B4: +/* 800A08B4 0009D814 38 60 00 01 */ li r3, 1 +lbl_800A08B8: +/* 800A08B8 0009D818 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A08BC 0009D81C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800A08C0 0009D820 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800A08C4 0009D824 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800A08C8 0009D828 7C 08 03 A6 */ mtlr r0 +/* 800A08CC 0009D82C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800A08D0 0009D830 4E 80 00 20 */ blr + +.global "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" +"DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector": +/* 800A08D4 0009D834 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800A08D8 0009D838 7C 08 02 A6 */ mflr r0 +/* 800A08DC 0009D83C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800A08E0 0009D840 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 800A08E4 0009D844 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 800A08E8 0009D848 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 800A08EC 0009D84C F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 800A08F0 0009D850 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 800A08F4 0009D854 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 800A08F8 0009D858 BE A1 00 44 */ stmw r21, 0x44(r1) +/* 800A08FC 0009D85C 7C D7 33 79 */ or. r23, r6, r6 +/* 800A0900 0009D860 FF C0 08 90 */ fmr f30, f1 +/* 800A0904 0009D864 FF A0 10 90 */ fmr f29, f2 +/* 800A0908 0009D868 7C 75 1B 78 */ mr r21, r3 +/* 800A090C 0009D86C 7C 96 23 78 */ mr r22, r4 +/* 800A0910 0009D870 7C BA 2B 78 */ mr r26, r5 +/* 800A0914 0009D874 7C F8 3B 78 */ mr r24, r7 +/* 800A0918 0009D878 7D 19 43 78 */ mr r25, r8 +/* 800A091C 0009D87C 40 81 02 10 */ ble lbl_800A0B2C +/* 800A0920 0009D880 7F 06 C3 78 */ mr r6, r24 +/* 800A0924 0009D884 4B FF FF 09 */ bl IsMapAreaValid__9CMapWorldCFRC6IWorldib +/* 800A0928 0009D888 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A092C 0009D88C 41 82 02 00 */ beq lbl_800A0B2C +/* 800A0930 0009D890 FC 20 F0 90 */ fmr f1, f30 +/* 800A0934 0009D894 83 99 00 04 */ lwz r28, 4(r25) +/* 800A0938 0009D898 FC 40 E8 90 */ fmr f2, f29 +/* 800A093C 0009D89C 7F 44 D3 78 */ mr r4, r26 +/* 800A0940 0009D8A0 38 61 00 24 */ addi r3, r1, 0x24 +/* 800A0944 0009D8A4 38 A0 00 01 */ li r5, 1 +/* 800A0948 0009D8A8 48 00 0F E9 */ bl __ct__Q29CMapWorld15CMapAreaBFSInfoFiiff +/* 800A094C 0009D8AC 80 19 00 04 */ lwz r0, 4(r25) +/* 800A0950 0009D8B0 80 B9 00 08 */ lwz r5, 8(r25) +/* 800A0954 0009D8B4 7C 00 28 00 */ cmpw r0, r5 +/* 800A0958 0009D8B8 41 80 00 1C */ blt lbl_800A0974 +/* 800A095C 0009D8BC 2C 05 00 00 */ cmpwi r5, 0 +/* 800A0960 0009D8C0 7F 23 CB 78 */ mr r3, r25 +/* 800A0964 0009D8C4 38 80 00 04 */ li r4, 4 +/* 800A0968 0009D8C8 41 82 00 08 */ beq lbl_800A0970 +/* 800A096C 0009D8CC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800A0970: +/* 800A0970 0009D8D0 48 00 14 C9 */ bl "reserve__Q24rstl64vectorFi" +lbl_800A0974: +/* 800A0974 0009D8D4 80 19 00 04 */ lwz r0, 4(r25) +/* 800A0978 0009D8D8 80 79 00 0C */ lwz r3, 0xc(r25) +/* 800A097C 0009D8DC 54 00 20 36 */ slwi r0, r0, 4 +/* 800A0980 0009D8E0 7C 63 02 15 */ add. r3, r3, r0 +/* 800A0984 0009D8E4 41 82 00 24 */ beq lbl_800A09A8 +/* 800A0988 0009D8E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A098C 0009D8EC 90 03 00 00 */ stw r0, 0(r3) +/* 800A0990 0009D8F0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 800A0994 0009D8F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A0998 0009D8F8 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800A099C 0009D8FC D0 03 00 08 */ stfs f0, 8(r3) +/* 800A09A0 0009D900 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800A09A4 0009D904 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_800A09A8: +/* 800A09A8 0009D908 80 79 00 04 */ lwz r3, 4(r25) +/* 800A09AC 0009D90C 38 00 00 01 */ li r0, 1 +/* 800A09B0 0009D910 C3 E2 8C 30 */ lfs f31, lbl_805AA950@sda21(r2) +/* 800A09B4 0009D914 57 9D 20 36 */ slwi r29, r28, 4 +/* 800A09B8 0009D918 38 63 00 01 */ addi r3, r3, 1 +/* 800A09BC 0009D91C 90 79 00 04 */ stw r3, 4(r25) +/* 800A09C0 0009D920 80 75 00 2C */ lwz r3, 0x2c(r21) +/* 800A09C4 0009D924 7C 03 D1 AE */ stbx r0, r3, r26 +lbl_800A09C8: +/* 800A09C8 0009D928 80 19 00 04 */ lwz r0, 4(r25) +/* 800A09CC 0009D92C 7C 1C 00 00 */ cmpw r28, r0 +/* 800A09D0 0009D930 41 82 01 5C */ beq lbl_800A0B2C +/* 800A09D4 0009D934 80 19 00 0C */ lwz r0, 0xc(r25) +/* 800A09D8 0009D938 7C 60 EA 14 */ add r3, r0, r29 +/* 800A09DC 0009D93C 83 E3 00 04 */ lwz r31, 4(r3) +/* 800A09E0 0009D940 C0 23 00 08 */ lfs f1, 8(r3) +/* 800A09E4 0009D944 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800A09E8 0009D948 7C 1F B8 00 */ cmpw r31, r23 +/* 800A09EC 0009D94C EF C1 F8 28 */ fsubs f30, f1, f31 +/* 800A09F0 0009D950 80 03 00 00 */ lwz r0, 0(r3) +/* 800A09F4 0009D954 EF A0 F8 28 */ fsubs f29, f0, f31 +/* 800A09F8 0009D958 41 82 01 28 */ beq lbl_800A0B20 +/* 800A09FC 0009D95C 90 01 00 10 */ stw r0, 0x10(r1) +/* 800A0A00 0009D960 7E C3 B3 78 */ mr r3, r22 +/* 800A0A04 0009D964 38 81 00 10 */ addi r4, r1, 0x10 +/* 800A0A08 0009D968 81 96 00 00 */ lwz r12, 0(r22) +/* 800A0A0C 0009D96C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800A0A10 0009D970 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800A0A14 0009D974 7D 89 03 A6 */ mtctr r12 +/* 800A0A18 0009D978 4E 80 04 21 */ bctrl +/* 800A0A1C 0009D97C 3B 40 00 00 */ li r26, 0 +/* 800A0A20 0009D980 7C 7B 1B 78 */ mr r27, r3 +/* 800A0A24 0009D984 48 00 00 E0 */ b lbl_800A0B04 +lbl_800A0A28: +/* 800A0A28 0009D988 7F 64 DB 78 */ mr r4, r27 +/* 800A0A2C 0009D98C 7F 45 D3 78 */ mr r5, r26 +/* 800A0A30 0009D990 81 9B 00 00 */ lwz r12, 0(r27) +/* 800A0A34 0009D994 38 61 00 08 */ addi r3, r1, 8 +/* 800A0A38 0009D998 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800A0A3C 0009D99C 7D 89 03 A6 */ mtctr r12 +/* 800A0A40 0009D9A0 4E 80 04 21 */ bctrl +/* 800A0A44 0009D9A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 800A0A48 0009D9A8 7E A3 AB 78 */ mr r3, r21 +/* 800A0A4C 0009D9AC 7E C4 B3 78 */ mr r4, r22 +/* 800A0A50 0009D9B0 7F 06 C3 78 */ mr r6, r24 +/* 800A0A54 0009D9B4 7F C5 F3 78 */ mr r5, r30 +/* 800A0A58 0009D9B8 4B FF FD D5 */ bl IsMapAreaValid__9CMapWorldCFRC6IWorldib +/* 800A0A5C 0009D9BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A0A60 0009D9C0 41 82 00 A0 */ beq lbl_800A0B00 +/* 800A0A64 0009D9C4 80 75 00 2C */ lwz r3, 0x2c(r21) +/* 800A0A68 0009D9C8 7C 03 F0 AE */ lbzx r0, r3, r30 +/* 800A0A6C 0009D9CC 28 00 00 00 */ cmplwi r0, 0 +/* 800A0A70 0009D9D0 40 82 00 90 */ bne lbl_800A0B00 +/* 800A0A74 0009D9D4 FC 20 F0 90 */ fmr f1, f30 +/* 800A0A78 0009D9D8 7F C4 F3 78 */ mr r4, r30 +/* 800A0A7C 0009D9DC FC 40 E8 90 */ fmr f2, f29 +/* 800A0A80 0009D9E0 38 61 00 14 */ addi r3, r1, 0x14 +/* 800A0A84 0009D9E4 38 BF 00 01 */ addi r5, r31, 1 +/* 800A0A88 0009D9E8 48 00 0E A9 */ bl __ct__Q29CMapWorld15CMapAreaBFSInfoFiiff +/* 800A0A8C 0009D9EC 80 19 00 04 */ lwz r0, 4(r25) +/* 800A0A90 0009D9F0 80 B9 00 08 */ lwz r5, 8(r25) +/* 800A0A94 0009D9F4 7C 00 28 00 */ cmpw r0, r5 +/* 800A0A98 0009D9F8 41 80 00 1C */ blt lbl_800A0AB4 +/* 800A0A9C 0009D9FC 2C 05 00 00 */ cmpwi r5, 0 +/* 800A0AA0 0009DA00 7F 23 CB 78 */ mr r3, r25 +/* 800A0AA4 0009DA04 38 80 00 04 */ li r4, 4 +/* 800A0AA8 0009DA08 41 82 00 08 */ beq lbl_800A0AB0 +/* 800A0AAC 0009DA0C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800A0AB0: +/* 800A0AB0 0009DA10 48 00 13 89 */ bl "reserve__Q24rstl64vectorFi" +lbl_800A0AB4: +/* 800A0AB4 0009DA14 80 19 00 04 */ lwz r0, 4(r25) +/* 800A0AB8 0009DA18 80 79 00 0C */ lwz r3, 0xc(r25) +/* 800A0ABC 0009DA1C 54 00 20 36 */ slwi r0, r0, 4 +/* 800A0AC0 0009DA20 7C 63 02 15 */ add. r3, r3, r0 +/* 800A0AC4 0009DA24 41 82 00 24 */ beq lbl_800A0AE8 +/* 800A0AC8 0009DA28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A0ACC 0009DA2C 90 03 00 00 */ stw r0, 0(r3) +/* 800A0AD0 0009DA30 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800A0AD4 0009DA34 90 03 00 04 */ stw r0, 4(r3) +/* 800A0AD8 0009DA38 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800A0ADC 0009DA3C D0 03 00 08 */ stfs f0, 8(r3) +/* 800A0AE0 0009DA40 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 800A0AE4 0009DA44 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_800A0AE8: +/* 800A0AE8 0009DA48 80 79 00 04 */ lwz r3, 4(r25) +/* 800A0AEC 0009DA4C 38 00 00 01 */ li r0, 1 +/* 800A0AF0 0009DA50 38 63 00 01 */ addi r3, r3, 1 +/* 800A0AF4 0009DA54 90 79 00 04 */ stw r3, 4(r25) +/* 800A0AF8 0009DA58 80 75 00 2C */ lwz r3, 0x2c(r21) +/* 800A0AFC 0009DA5C 7C 03 F1 AE */ stbx r0, r3, r30 +lbl_800A0B00: +/* 800A0B00 0009DA60 3B 5A 00 01 */ addi r26, r26, 1 +lbl_800A0B04: +/* 800A0B04 0009DA64 7F 63 DB 78 */ mr r3, r27 +/* 800A0B08 0009DA68 81 9B 00 00 */ lwz r12, 0(r27) +/* 800A0B0C 0009DA6C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800A0B10 0009DA70 7D 89 03 A6 */ mtctr r12 +/* 800A0B14 0009DA74 4E 80 04 21 */ bctrl +/* 800A0B18 0009DA78 7C 1A 18 00 */ cmpw r26, r3 +/* 800A0B1C 0009DA7C 41 80 FF 0C */ blt lbl_800A0A28 +lbl_800A0B20: +/* 800A0B20 0009DA80 3B BD 00 10 */ addi r29, r29, 0x10 +/* 800A0B24 0009DA84 3B 9C 00 01 */ addi r28, r28, 1 +/* 800A0B28 0009DA88 4B FF FE A0 */ b lbl_800A09C8 +lbl_800A0B2C: +/* 800A0B2C 0009DA8C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 800A0B30 0009DA90 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 800A0B34 0009DA94 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 800A0B38 0009DA98 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 800A0B3C 0009DA9C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 800A0B40 0009DAA0 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 800A0B44 0009DAA4 BA A1 00 44 */ lmw r21, 0x44(r1) +/* 800A0B48 0009DAA8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800A0B4C 0009DAAC 7C 08 03 A6 */ mtlr r0 +/* 800A0B50 0009DAB0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800A0B54 0009DAB4 4E 80 00 20 */ blr + +.global Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb +Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb: +/* 800A0B58 0009DAB8 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800A0B5C 0009DABC 7C 08 02 A6 */ mflr r0 +/* 800A0B60 0009DAC0 90 01 00 84 */ stw r0, 0x84(r1) +/* 800A0B64 0009DAC4 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 800A0B68 0009DAC8 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 800A0B6C 0009DACC BF 21 00 54 */ stmw r25, 0x54(r1) +/* 800A0B70 0009DAD0 FC 00 08 18 */ frsp f0, f1 +/* 800A0B74 0009DAD4 C0 62 8C 20 */ lfs f3, lbl_805AA940@sda21(r2) +/* 800A0B78 0009DAD8 D0 21 00 08 */ stfs f1, 8(r1) +/* 800A0B7C 0009DADC 7C 79 1B 78 */ mr r25, r3 +/* 800A0B80 0009DAE0 7C 9A 23 78 */ mr r26, r4 +/* 800A0B84 0009DAE4 7C BB 2B 78 */ mr r27, r5 +/* 800A0B88 0009DAE8 FC 03 00 00 */ fcmpu cr0, f3, f0 +/* 800A0B8C 0009DAEC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 800A0B90 0009DAF0 7C DC 33 78 */ mr r28, r6 +/* 800A0B94 0009DAF4 7C FD 3B 78 */ mr r29, r7 +/* 800A0B98 0009DAF8 40 82 00 10 */ bne lbl_800A0BA8 +/* 800A0B9C 0009DAFC FC 00 10 18 */ frsp f0, f2 +/* 800A0BA0 0009DB00 FC 03 00 00 */ fcmpu cr0, f3, f0 +/* 800A0BA4 0009DB04 41 82 02 48 */ beq lbl_800A0DEC +lbl_800A0BA8: +/* 800A0BA8 0009DB08 7F 23 CB 78 */ mr r3, r25 +/* 800A0BAC 0009DB0C 4B FF EA 81 */ bl ClearTraversedFlags__9CMapWorldCFv +/* 800A0BB0 0009DB10 C0 21 00 08 */ lfs f1, 8(r1) +/* 800A0BB4 0009DB14 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800A0BB8 0009DB18 83 FA 00 24 */ lwz r31, 0x24(r26) +/* 800A0BBC 0009DB1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800A0BC0 0009DB20 40 80 00 0C */ bge lbl_800A0BCC +/* 800A0BC4 0009DB24 38 61 00 0C */ addi r3, r1, 0xc +/* 800A0BC8 0009DB28 48 00 00 08 */ b lbl_800A0BD0 +lbl_800A0BCC: +/* 800A0BCC 0009DB2C 38 61 00 08 */ addi r3, r1, 8 +lbl_800A0BD0: +/* 800A0BD0 0009DB30 C0 23 00 00 */ lfs f1, 0(r3) +/* 800A0BD4 0009DB34 48 27 46 7D */ bl CeilingF__5CMathFf +/* 800A0BD8 0009DB38 FC 00 08 1E */ fctiwz f0, f1 +/* 800A0BDC 0009DB3C 38 00 00 00 */ li r0, 0 +/* 800A0BE0 0009DB40 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A0BE4 0009DB44 38 61 00 30 */ addi r3, r1, 0x30 +/* 800A0BE8 0009DB48 80 99 00 04 */ lwz r4, 4(r25) +/* 800A0BEC 0009DB4C D8 01 00 40 */ stfd f0, 0x40(r1) +/* 800A0BF0 0009DB50 90 01 00 38 */ stw r0, 0x38(r1) +/* 800A0BF4 0009DB54 83 C1 00 44 */ lwz r30, 0x44(r1) +/* 800A0BF8 0009DB58 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800A0BFC 0009DB5C 48 00 12 3D */ bl "reserve__Q24rstl64vectorFi" +/* 800A0C00 0009DB60 7C 1B E0 00 */ cmpw r27, r28 +/* 800A0C04 0009DB64 41 82 01 6C */ beq lbl_800A0D70 +/* 800A0C08 0009DB68 80 B9 00 2C */ lwz r5, 0x2c(r25) +/* 800A0C0C 0009DB6C 38 00 00 01 */ li r0, 1 +/* 800A0C10 0009DB70 7F 23 CB 78 */ mr r3, r25 +/* 800A0C14 0009DB74 7F E4 FB 78 */ mr r4, r31 +/* 800A0C18 0009DB78 7C 05 E1 AE */ stbx r0, r5, r28 +/* 800A0C1C 0009DB7C 7F 65 DB 78 */ mr r5, r27 +/* 800A0C20 0009DB80 7F C6 F3 78 */ mr r6, r30 +/* 800A0C24 0009DB84 39 01 00 30 */ addi r8, r1, 0x30 +/* 800A0C28 0009DB88 C0 21 00 08 */ lfs f1, 8(r1) +/* 800A0C2C 0009DB8C 38 E0 00 01 */ li r7, 1 +/* 800A0C30 0009DB90 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 800A0C34 0009DB94 4B FF FC A1 */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" +/* 800A0C38 0009DB98 C0 21 00 08 */ lfs f1, 8(r1) +/* 800A0C3C 0009DB9C C0 02 8C 30 */ lfs f0, lbl_805AA950@sda21(r2) +/* 800A0C40 0009DBA0 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800A0C44 0009DBA4 48 27 46 0D */ bl CeilingF__5CMathFf +/* 800A0C48 0009DBA8 FF E0 08 90 */ fmr f31, f1 +/* 800A0C4C 0009DBAC C0 21 00 08 */ lfs f1, 8(r1) +/* 800A0C50 0009DBB0 48 27 46 4D */ bl FloorF__5CMathFf +/* 800A0C54 0009DBB4 C0 01 00 08 */ lfs f0, 8(r1) +/* 800A0C58 0009DBB8 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800A0C5C 0009DBBC 40 82 00 0C */ bne lbl_800A0C68 +/* 800A0C60 0009DBC0 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 800A0C64 0009DBC4 48 00 00 1C */ b lbl_800A0C80 +lbl_800A0C68: +/* 800A0C68 0009DBC8 FC 20 00 90 */ fmr f1, f0 +/* 800A0C6C 0009DBCC C8 42 8C 48 */ lfd f2, lbl_805AA968@sda21(r2) +/* 800A0C70 0009DBD0 48 2F 40 3D */ bl fmod +/* 800A0C74 0009DBD4 FC 20 08 18 */ frsp f1, f1 +/* 800A0C78 0009DBD8 C0 02 8C 30 */ lfs f0, lbl_805AA950@sda21(r2) +/* 800A0C7C 0009DBDC EC 00 08 28 */ fsubs f0, f0, f1 +lbl_800A0C80: +/* 800A0C80 0009DBE0 EC 5F 00 2A */ fadds f2, f31, f0 +/* 800A0C84 0009DBE4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 800A0C88 0009DBE8 C0 02 8C 30 */ lfs f0, lbl_805AA950@sda21(r2) +/* 800A0C8C 0009DBEC EC 21 00 28 */ fsubs f1, f1, f0 +/* 800A0C90 0009DBF0 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800A0C94 0009DBF4 48 27 45 BD */ bl CeilingF__5CMathFf +/* 800A0C98 0009DBF8 FF E0 08 90 */ fmr f31, f1 +/* 800A0C9C 0009DBFC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 800A0CA0 0009DC00 48 27 45 FD */ bl FloorF__5CMathFf +/* 800A0CA4 0009DC04 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800A0CA8 0009DC08 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800A0CAC 0009DC0C 40 82 00 0C */ bne lbl_800A0CB8 +/* 800A0CB0 0009DC10 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 800A0CB4 0009DC14 48 00 00 1C */ b lbl_800A0CD0 +lbl_800A0CB8: +/* 800A0CB8 0009DC18 FC 20 00 90 */ fmr f1, f0 +/* 800A0CBC 0009DC1C C8 42 8C 48 */ lfd f2, lbl_805AA968@sda21(r2) +/* 800A0CC0 0009DC20 48 2F 3F ED */ bl fmod +/* 800A0CC4 0009DC24 FC 20 08 18 */ frsp f1, f1 +/* 800A0CC8 0009DC28 C0 02 8C 30 */ lfs f0, lbl_805AA950@sda21(r2) +/* 800A0CCC 0009DC2C EC 00 08 28 */ fsubs f0, f0, f1 +lbl_800A0CD0: +/* 800A0CD0 0009DC30 EC 3F 00 2A */ fadds f1, f31, f0 +/* 800A0CD4 0009DC34 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800A0CD8 0009DC38 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800A0CDC 0009DC3C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800A0CE0 0009DC40 40 80 00 0C */ bge lbl_800A0CEC +/* 800A0CE4 0009DC44 38 61 00 28 */ addi r3, r1, 0x28 +/* 800A0CE8 0009DC48 48 00 00 08 */ b lbl_800A0CF0 +lbl_800A0CEC: +/* 800A0CEC 0009DC4C 38 61 00 2C */ addi r3, r1, 0x2c +lbl_800A0CF0: +/* 800A0CF0 0009DC50 C0 23 00 00 */ lfs f1, 0(r3) +/* 800A0CF4 0009DC54 48 27 45 5D */ bl CeilingF__5CMathFf +/* 800A0CF8 0009DC58 93 81 00 24 */ stw r28, 0x24(r1) +/* 800A0CFC 0009DC5C 7F E3 FB 78 */ mr r3, r31 +/* 800A0D00 0009DC60 FC 00 08 1E */ fctiwz f0, f1 +/* 800A0D04 0009DC64 38 81 00 24 */ addi r4, r1, 0x24 +/* 800A0D08 0009DC68 81 9F 00 00 */ lwz r12, 0(r31) +/* 800A0D0C 0009DC6C 93 81 00 20 */ stw r28, 0x20(r1) +/* 800A0D10 0009DC70 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800A0D14 0009DC74 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 800A0D18 0009DC78 83 C1 00 44 */ lwz r30, 0x44(r1) +/* 800A0D1C 0009DC7C 7D 89 03 A6 */ mtctr r12 +/* 800A0D20 0009DC80 4E 80 04 21 */ bctrl +/* 800A0D24 0009DC84 81 83 00 00 */ lwz r12, 0(r3) +/* 800A0D28 0009DC88 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800A0D2C 0009DC8C 7D 89 03 A6 */ mtctr r12 +/* 800A0D30 0009DC90 4E 80 04 21 */ bctrl +/* 800A0D34 0009DC94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A0D38 0009DC98 41 82 00 5C */ beq lbl_800A0D94 +/* 800A0D3C 0009DC9C 80 B9 00 2C */ lwz r5, 0x2c(r25) +/* 800A0D40 0009DCA0 38 00 00 00 */ li r0, 0 +/* 800A0D44 0009DCA4 7F 23 CB 78 */ mr r3, r25 +/* 800A0D48 0009DCA8 7F E4 FB 78 */ mr r4, r31 +/* 800A0D4C 0009DCAC 7C 05 E1 AE */ stbx r0, r5, r28 +/* 800A0D50 0009DCB0 7F 85 E3 78 */ mr r5, r28 +/* 800A0D54 0009DCB4 7F C6 F3 78 */ mr r6, r30 +/* 800A0D58 0009DCB8 39 01 00 30 */ addi r8, r1, 0x30 +/* 800A0D5C 0009DCBC C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800A0D60 0009DCC0 38 E0 00 01 */ li r7, 1 +/* 800A0D64 0009DCC4 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 800A0D68 0009DCC8 4B FF FB 6D */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" +/* 800A0D6C 0009DCCC 48 00 00 28 */ b lbl_800A0D94 +lbl_800A0D70: +/* 800A0D70 0009DCD0 C0 21 00 08 */ lfs f1, 8(r1) +/* 800A0D74 0009DCD4 7F 23 CB 78 */ mr r3, r25 +/* 800A0D78 0009DCD8 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 800A0D7C 0009DCDC 7F E4 FB 78 */ mr r4, r31 +/* 800A0D80 0009DCE0 7F 65 DB 78 */ mr r5, r27 +/* 800A0D84 0009DCE4 7F C6 F3 78 */ mr r6, r30 +/* 800A0D88 0009DCE8 39 01 00 30 */ addi r8, r1, 0x30 +/* 800A0D8C 0009DCEC 38 E0 00 01 */ li r7, 1 +/* 800A0D90 0009DCF0 4B FF FB 45 */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" +lbl_800A0D94: +/* 800A0D94 0009DCF4 7F 23 CB 78 */ mr r3, r25 +/* 800A0D98 0009DCF8 7F 44 D3 78 */ mr r4, r26 +/* 800A0D9C 0009DCFC 7F 65 DB 78 */ mr r5, r27 +/* 800A0DA0 0009DD00 7F A7 EB 78 */ mr r7, r29 +/* 800A0DA4 0009DD04 38 C1 00 30 */ addi r6, r1, 0x30 +/* 800A0DA8 0009DD08 4B FF ED 61 */ bl "DrawAreas__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiRCQ24rstl64vectorb" +/* 800A0DAC 0009DD0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A0DB0 0009DD10 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800A0DB4 0009DD14 54 00 20 36 */ slwi r0, r0, 4 +/* 800A0DB8 0009DD18 7C 03 02 14 */ add r0, r3, r0 +/* 800A0DBC 0009DD1C 90 61 00 14 */ stw r3, 0x14(r1) +/* 800A0DC0 0009DD20 7C 64 1B 78 */ mr r4, r3 +/* 800A0DC4 0009DD24 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800A0DC8 0009DD28 90 01 00 18 */ stw r0, 0x18(r1) +/* 800A0DCC 0009DD2C 90 61 00 10 */ stw r3, 0x10(r1) +/* 800A0DD0 0009DD30 48 00 00 08 */ b lbl_800A0DD8 +lbl_800A0DD4: +/* 800A0DD4 0009DD34 38 84 00 10 */ addi r4, r4, 0x10 +lbl_800A0DD8: +/* 800A0DD8 0009DD38 7C 04 00 40 */ cmplw r4, r0 +/* 800A0DDC 0009DD3C 40 82 FF F8 */ bne lbl_800A0DD4 +/* 800A0DE0 0009DD40 28 03 00 00 */ cmplwi r3, 0 +/* 800A0DE4 0009DD44 41 82 00 08 */ beq lbl_800A0DEC +/* 800A0DE8 0009DD48 48 27 4B 49 */ bl Free__7CMemoryFPCv +lbl_800A0DEC: +/* 800A0DEC 0009DD4C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 800A0DF0 0009DD50 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 800A0DF4 0009DD54 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 800A0DF8 0009DD58 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800A0DFC 0009DD5C 7C 08 03 A6 */ mtlr r0 +/* 800A0E00 0009DD60 38 21 00 80 */ addi r1, r1, 0x80 +/* 800A0E04 0009DD64 4E 80 00 20 */ blr + +.global GetVisibleAreas__9CMapWorldCFRC6IWorldRC13CMapWorldInfo +GetVisibleAreas__9CMapWorldCFRC6IWorldRC13CMapWorldInfo: +/* 800A0E08 0009DD68 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800A0E0C 0009DD6C 7C 08 02 A6 */ mflr r0 +/* 800A0E10 0009DD70 90 01 00 64 */ stw r0, 0x64(r1) +/* 800A0E14 0009DD74 38 00 00 00 */ li r0, 0 +/* 800A0E18 0009DD78 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 800A0E1C 0009DD7C 7C 9C 23 78 */ mr r28, r4 +/* 800A0E20 0009DD80 7C 7B 1B 78 */ mr r27, r3 +/* 800A0E24 0009DD84 7C BD 2B 78 */ mr r29, r5 +/* 800A0E28 0009DD88 7C DE 33 78 */ mr r30, r6 +/* 800A0E2C 0009DD8C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800A0E30 0009DD90 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800A0E34 0009DD94 80 84 00 04 */ lwz r4, 4(r4) +/* 800A0E38 0009DD98 90 01 00 30 */ stw r0, 0x30(r1) +/* 800A0E3C 0009DD9C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A0E40 0009DDA0 4B FB 8E 69 */ bl "reserve__Q24rstl36vectorFi" +/* 800A0E44 0009DDA4 3B E0 00 00 */ li r31, 0 +/* 800A0E48 0009DDA8 48 00 00 C4 */ b lbl_800A0F0C +lbl_800A0E4C: +/* 800A0E4C 0009DDAC 7F 83 E3 78 */ mr r3, r28 +/* 800A0E50 0009DDB0 7F A4 EB 78 */ mr r4, r29 +/* 800A0E54 0009DDB4 7F E5 FB 78 */ mr r5, r31 +/* 800A0E58 0009DDB8 38 C0 00 01 */ li r6, 1 +/* 800A0E5C 0009DDBC 4B FF F9 D1 */ bl IsMapAreaValid__9CMapWorldCFRC6IWorldib +/* 800A0E60 0009DDC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A0E64 0009DDC4 41 82 00 A4 */ beq lbl_800A0F08 +/* 800A0E68 0009DDC8 93 E1 00 18 */ stw r31, 0x18(r1) +/* 800A0E6C 0009DDCC 7F 83 E3 78 */ mr r3, r28 +/* 800A0E70 0009DDD0 7F E4 FB 78 */ mr r4, r31 +/* 800A0E74 0009DDD4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800A0E78 0009DDD8 93 E1 00 20 */ stw r31, 0x20(r1) +/* 800A0E7C 0009DDDC 93 E1 00 24 */ stw r31, 0x24(r1) +/* 800A0E80 0009DDE0 48 00 05 39 */ bl GetMapArea__9CMapWorldCFi +/* 800A0E84 0009DDE4 7C 79 1B 78 */ mr r25, r3 +/* 800A0E88 0009DDE8 7F C3 F3 78 */ mr r3, r30 +/* 800A0E8C 0009DDEC 38 81 00 1C */ addi r4, r1, 0x1c +/* 800A0E90 0009DDF0 48 0C 6E 75 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId +/* 800A0E94 0009DDF4 7C 7A 1B 78 */ mr r26, r3 +/* 800A0E98 0009DDF8 7F C3 F3 78 */ mr r3, r30 +/* 800A0E9C 0009DDFC 38 81 00 24 */ addi r4, r1, 0x24 +/* 800A0EA0 0009DE00 48 0C 75 A1 */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId +/* 800A0EA4 0009DE04 7C 64 1B 78 */ mr r4, r3 +/* 800A0EA8 0009DE08 7F 23 CB 78 */ mr r3, r25 +/* 800A0EAC 0009DE0C 7F 45 D3 78 */ mr r5, r26 +/* 800A0EB0 0009DE10 4B FD FE 7D */ bl GetIsVisibleToAutoMapper__8CMapAreaCFbb +/* 800A0EB4 0009DE14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A0EB8 0009DE18 41 82 00 50 */ beq lbl_800A0F08 +/* 800A0EBC 0009DE1C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800A0EC0 0009DE20 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 800A0EC4 0009DE24 7C 00 28 00 */ cmpw r0, r5 +/* 800A0EC8 0009DE28 41 80 00 1C */ blt lbl_800A0EE4 +/* 800A0ECC 0009DE2C 2C 05 00 00 */ cmpwi r5, 0 +/* 800A0ED0 0009DE30 38 61 00 28 */ addi r3, r1, 0x28 +/* 800A0ED4 0009DE34 38 80 00 04 */ li r4, 4 +/* 800A0ED8 0009DE38 41 82 00 08 */ beq lbl_800A0EE0 +/* 800A0EDC 0009DE3C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800A0EE0: +/* 800A0EE0 0009DE40 4B FB 8D C9 */ bl "reserve__Q24rstl36vectorFi" +lbl_800A0EE4: +/* 800A0EE4 0009DE44 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800A0EE8 0009DE48 80 61 00 34 */ lwz r3, 0x34(r1) +/* 800A0EEC 0009DE4C 54 00 10 3A */ slwi r0, r0, 2 +/* 800A0EF0 0009DE50 7C 63 02 15 */ add. r3, r3, r0 +/* 800A0EF4 0009DE54 41 82 00 08 */ beq lbl_800A0EFC +/* 800A0EF8 0009DE58 93 E3 00 00 */ stw r31, 0(r3) +lbl_800A0EFC: +/* 800A0EFC 0009DE5C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800A0F00 0009DE60 38 03 00 01 */ addi r0, r3, 1 +/* 800A0F04 0009DE64 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_800A0F08: +/* 800A0F08 0009DE68 3B FF 00 01 */ addi r31, r31, 1 +lbl_800A0F0C: +/* 800A0F0C 0009DE6C 80 1C 00 04 */ lwz r0, 4(r28) +/* 800A0F10 0009DE70 7C 1F 00 00 */ cmpw r31, r0 +/* 800A0F14 0009DE74 41 80 FF 38 */ blt lbl_800A0E4C +/* 800A0F18 0009DE78 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800A0F1C 0009DE7C 90 1B 00 04 */ stw r0, 4(r27) +/* 800A0F20 0009DE80 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800A0F24 0009DE84 90 1B 00 08 */ stw r0, 8(r27) +/* 800A0F28 0009DE88 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800A0F2C 0009DE8C 2C 00 00 00 */ cmpwi r0, 0 +/* 800A0F30 0009DE90 40 82 00 1C */ bne lbl_800A0F4C +/* 800A0F34 0009DE94 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800A0F38 0009DE98 2C 00 00 00 */ cmpwi r0, 0 +/* 800A0F3C 0009DE9C 40 82 00 10 */ bne lbl_800A0F4C +/* 800A0F40 0009DEA0 38 00 00 00 */ li r0, 0 +/* 800A0F44 0009DEA4 90 1B 00 0C */ stw r0, 0xc(r27) +/* 800A0F48 0009DEA8 48 00 00 64 */ b lbl_800A0FAC +lbl_800A0F4C: +/* 800A0F4C 0009DEAC 80 1B 00 08 */ lwz r0, 8(r27) +/* 800A0F50 0009DEB0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 800A0F54 0009DEB4 40 82 00 10 */ bne lbl_800A0F64 +/* 800A0F58 0009DEB8 38 00 00 00 */ li r0, 0 +/* 800A0F5C 0009DEBC 90 1B 00 0C */ stw r0, 0xc(r27) +/* 800A0F60 0009DEC0 48 00 00 18 */ b lbl_800A0F78 +lbl_800A0F64: +/* 800A0F64 0009DEC4 3C 80 80 3D */ lis r4, lbl_803CD960@ha +/* 800A0F68 0009DEC8 38 A0 00 00 */ li r5, 0 +/* 800A0F6C 0009DECC 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l +/* 800A0F70 0009DED0 48 27 48 A9 */ bl __nwa__FUlPCcPCc +/* 800A0F74 0009DED4 90 7B 00 0C */ stw r3, 0xc(r27) +lbl_800A0F78: +/* 800A0F78 0009DED8 80 1B 00 04 */ lwz r0, 4(r27) +/* 800A0F7C 0009DEDC 80 81 00 34 */ lwz r4, 0x34(r1) +/* 800A0F80 0009DEE0 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 800A0F84 0009DEE4 7C 09 03 A6 */ mtctr r0 +/* 800A0F88 0009DEE8 2C 00 00 00 */ cmpwi r0, 0 +/* 800A0F8C 0009DEEC 40 81 00 20 */ ble lbl_800A0FAC +lbl_800A0F90: +/* 800A0F90 0009DEF0 28 03 00 00 */ cmplwi r3, 0 +/* 800A0F94 0009DEF4 41 82 00 0C */ beq lbl_800A0FA0 +/* 800A0F98 0009DEF8 80 04 00 00 */ lwz r0, 0(r4) +/* 800A0F9C 0009DEFC 90 03 00 00 */ stw r0, 0(r3) +lbl_800A0FA0: +/* 800A0FA0 0009DF00 38 63 00 04 */ addi r3, r3, 4 +/* 800A0FA4 0009DF04 38 84 00 04 */ addi r4, r4, 4 +/* 800A0FA8 0009DF08 42 00 FF E8 */ bdnz lbl_800A0F90 +lbl_800A0FAC: +/* 800A0FAC 0009DF0C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800A0FB0 0009DF10 80 61 00 34 */ lwz r3, 0x34(r1) +/* 800A0FB4 0009DF14 54 00 10 3A */ slwi r0, r0, 2 +/* 800A0FB8 0009DF18 7C 03 02 14 */ add r0, r3, r0 +/* 800A0FBC 0009DF1C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800A0FC0 0009DF20 7C 64 1B 78 */ mr r4, r3 +/* 800A0FC4 0009DF24 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A0FC8 0009DF28 90 01 00 10 */ stw r0, 0x10(r1) +/* 800A0FCC 0009DF2C 90 61 00 08 */ stw r3, 8(r1) +/* 800A0FD0 0009DF30 48 00 00 08 */ b lbl_800A0FD8 +lbl_800A0FD4: +/* 800A0FD4 0009DF34 38 84 00 04 */ addi r4, r4, 4 +lbl_800A0FD8: +/* 800A0FD8 0009DF38 7C 04 00 40 */ cmplw r4, r0 +/* 800A0FDC 0009DF3C 40 82 FF F8 */ bne lbl_800A0FD4 +/* 800A0FE0 0009DF40 28 03 00 00 */ cmplwi r3, 0 +/* 800A0FE4 0009DF44 41 82 00 08 */ beq lbl_800A0FEC +/* 800A0FE8 0009DF48 48 27 49 49 */ bl Free__7CMemoryFPCv +lbl_800A0FEC: +/* 800A0FEC 0009DF4C BB 21 00 44 */ lmw r25, 0x44(r1) +/* 800A0FF0 0009DF50 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800A0FF4 0009DF54 7C 08 03 A6 */ mtlr r0 +/* 800A0FF8 0009DF58 38 21 00 60 */ addi r1, r1, 0x60 +/* 800A0FFC 0009DF5C 4E 80 00 20 */ blr + +.global GetCurrentMapAreaDepth__9CMapWorldCFRC6IWorldi +GetCurrentMapAreaDepth__9CMapWorldCFRC6IWorldi: +/* 800A1000 0009DF60 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800A1004 0009DF64 7C 08 02 A6 */ mflr r0 +/* 800A1008 0009DF68 90 01 00 54 */ stw r0, 0x54(r1) +/* 800A100C 0009DF6C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800A1010 0009DF70 7C BF 2B 78 */ mr r31, r5 +/* 800A1014 0009DF74 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800A1018 0009DF78 7C 9E 23 78 */ mr r30, r4 +/* 800A101C 0009DF7C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800A1020 0009DF80 7C 7D 1B 78 */ mr r29, r3 +/* 800A1024 0009DF84 4B FF E6 09 */ bl ClearTraversedFlags__9CMapWorldCFv +/* 800A1028 0009DF88 38 00 00 00 */ li r0, 0 +/* 800A102C 0009DF8C 80 9D 00 04 */ lwz r4, 4(r29) +/* 800A1030 0009DF90 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800A1034 0009DF94 38 61 00 28 */ addi r3, r1, 0x28 +/* 800A1038 0009DF98 90 01 00 30 */ stw r0, 0x30(r1) +/* 800A103C 0009DF9C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A1040 0009DFA0 48 00 0D F9 */ bl "reserve__Q24rstl64vectorFi" +/* 800A1044 0009DFA4 C0 22 8C 50 */ lfs f1, lbl_805AA970@sda21(r2) +/* 800A1048 0009DFA8 7F A3 EB 78 */ mr r3, r29 +/* 800A104C 0009DFAC 7F C4 F3 78 */ mr r4, r30 +/* 800A1050 0009DFB0 7F E5 FB 78 */ mr r5, r31 +/* 800A1054 0009DFB4 FC 40 08 90 */ fmr f2, f1 +/* 800A1058 0009DFB8 39 01 00 28 */ addi r8, r1, 0x28 +/* 800A105C 0009DFBC 38 C0 27 0F */ li r6, 0x270f +/* 800A1060 0009DFC0 38 E0 00 00 */ li r7, 0 +/* 800A1064 0009DFC4 4B FF F8 71 */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" +/* 800A1068 0009DFC8 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800A106C 0009DFCC 2C 05 00 00 */ cmpwi r5, 0 +/* 800A1070 0009DFD0 40 82 00 48 */ bne lbl_800A10B8 +/* 800A1074 0009DFD4 80 61 00 34 */ lwz r3, 0x34(r1) +/* 800A1078 0009DFD8 54 A0 20 36 */ slwi r0, r5, 4 +/* 800A107C 0009DFDC 7C 03 02 14 */ add r0, r3, r0 +/* 800A1080 0009DFE0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800A1084 0009DFE4 7C 64 1B 78 */ mr r4, r3 +/* 800A1088 0009DFE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A108C 0009DFEC 90 01 00 20 */ stw r0, 0x20(r1) +/* 800A1090 0009DFF0 90 61 00 18 */ stw r3, 0x18(r1) +/* 800A1094 0009DFF4 48 00 00 08 */ b lbl_800A109C +lbl_800A1098: +/* 800A1098 0009DFF8 38 84 00 10 */ addi r4, r4, 0x10 +lbl_800A109C: +/* 800A109C 0009DFFC 7C 04 00 40 */ cmplw r4, r0 +/* 800A10A0 0009E000 40 82 FF F8 */ bne lbl_800A1098 +/* 800A10A4 0009E004 28 03 00 00 */ cmplwi r3, 0 +/* 800A10A8 0009E008 41 82 00 08 */ beq lbl_800A10B0 +/* 800A10AC 0009E00C 48 27 48 85 */ bl Free__7CMemoryFPCv +lbl_800A10B0: +/* 800A10B0 0009E010 38 60 00 00 */ li r3, 0 +/* 800A10B4 0009E014 48 00 00 54 */ b lbl_800A1108 +lbl_800A10B8: +/* 800A10B8 0009E018 80 61 00 34 */ lwz r3, 0x34(r1) +/* 800A10BC 0009E01C 38 05 FF FF */ addi r0, r5, -1 +/* 800A10C0 0009E020 54 04 20 36 */ slwi r4, r0, 4 +/* 800A10C4 0009E024 54 A0 20 36 */ slwi r0, r5, 4 +/* 800A10C8 0009E028 7C 03 02 14 */ add r0, r3, r0 +/* 800A10CC 0009E02C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800A10D0 0009E030 7C 83 22 14 */ add r4, r3, r4 +/* 800A10D4 0009E034 7C 65 1B 78 */ mr r5, r3 +/* 800A10D8 0009E038 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A10DC 0009E03C 83 E4 00 04 */ lwz r31, 4(r4) +/* 800A10E0 0009E040 90 01 00 10 */ stw r0, 0x10(r1) +/* 800A10E4 0009E044 90 61 00 08 */ stw r3, 8(r1) +/* 800A10E8 0009E048 48 00 00 08 */ b lbl_800A10F0 +lbl_800A10EC: +/* 800A10EC 0009E04C 38 A5 00 10 */ addi r5, r5, 0x10 +lbl_800A10F0: +/* 800A10F0 0009E050 7C 05 00 40 */ cmplw r5, r0 +/* 800A10F4 0009E054 40 82 FF F8 */ bne lbl_800A10EC +/* 800A10F8 0009E058 28 03 00 00 */ cmplwi r3, 0 +/* 800A10FC 0009E05C 41 82 00 08 */ beq lbl_800A1104 +/* 800A1100 0009E060 48 27 48 31 */ bl Free__7CMemoryFPCv +lbl_800A1104: +/* 800A1104 0009E064 7F E3 FB 78 */ mr r3, r31 +lbl_800A1108: +/* 800A1108 0009E068 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800A110C 0009E06C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800A1110 0009E070 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800A1114 0009E074 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800A1118 0009E078 7C 08 03 A6 */ mtlr r0 +/* 800A111C 0009E07C 38 21 00 50 */ addi r1, r1, 0x50 +/* 800A1120 0009E080 4E 80 00 20 */ blr + +.global MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList +MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList: +/* 800A1124 0009E084 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800A1128 0009E088 38 C3 00 14 */ addi r6, r3, 0x14 +/* 800A112C 0009E08C 38 E0 00 00 */ li r7, 0 +/* 800A1130 0009E090 54 00 10 3A */ slwi r0, r0, 2 +/* 800A1134 0009E094 7C 66 00 2E */ lwzx r3, r6, r0 +lbl_800A1138: +/* 800A1138 0009E098 7C 03 20 40 */ cmplw r3, r4 +/* 800A113C 0009E09C 40 82 00 20 */ bne lbl_800A115C +/* 800A1140 0009E0A0 28 07 00 00 */ cmplwi r7, 0 +/* 800A1144 0009E0A4 80 63 00 14 */ lwz r3, 0x14(r3) +/* 800A1148 0009E0A8 40 82 00 0C */ bne lbl_800A1154 +/* 800A114C 0009E0AC 7C 66 01 2E */ stwx r3, r6, r0 +/* 800A1150 0009E0B0 48 00 00 18 */ b lbl_800A1168 +lbl_800A1154: +/* 800A1154 0009E0B4 90 67 00 14 */ stw r3, 0x14(r7) +/* 800A1158 0009E0B8 48 00 00 10 */ b lbl_800A1168 +lbl_800A115C: +/* 800A115C 0009E0BC 7C 67 1B 78 */ mr r7, r3 +/* 800A1160 0009E0C0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 800A1164 0009E0C4 4B FF FF D4 */ b lbl_800A1138 +lbl_800A1168: +/* 800A1168 0009E0C8 54 A3 10 3A */ slwi r3, r5, 2 +/* 800A116C 0009E0CC 7C 06 18 2E */ lwzx r0, r6, r3 +/* 800A1170 0009E0D0 90 04 00 14 */ stw r0, 0x14(r4) +/* 800A1174 0009E0D4 90 A4 00 10 */ stw r5, 0x10(r4) +/* 800A1178 0009E0D8 7C 86 19 2E */ stwx r4, r6, r3 +/* 800A117C 0009E0DC 4E 80 00 20 */ blr + +.global IsMapAreasStreaming__9CMapWorldCFv +IsMapAreasStreaming__9CMapWorldCFv: +/* 800A1180 0009E0E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800A1184 0009E0E4 7C 08 02 A6 */ mflr r0 +/* 800A1188 0009E0E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A118C 0009E0EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800A1190 0009E0F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800A1194 0009E0F4 3B C0 00 00 */ li r30, 0 +/* 800A1198 0009E0F8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800A119C 0009E0FC 93 81 00 10 */ stw r28, 0x10(r1) +/* 800A11A0 0009E100 7C 7C 1B 78 */ mr r28, r3 +/* 800A11A4 0009E104 83 A3 00 18 */ lwz r29, 0x18(r3) +/* 800A11A8 0009E108 48 00 00 34 */ b lbl_800A11DC +lbl_800A11AC: +/* 800A11AC 0009E10C 83 FD 00 14 */ lwz r31, 0x14(r29) +/* 800A11B0 0009E110 7F A3 EB 78 */ mr r3, r29 +/* 800A11B4 0009E114 48 00 08 39 */ bl IsLoaded__Q29CMapWorld12CMapAreaDataCFv +/* 800A11B8 0009E118 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A11BC 0009E11C 41 82 00 18 */ beq lbl_800A11D4 +/* 800A11C0 0009E120 7F 83 E3 78 */ mr r3, r28 +/* 800A11C4 0009E124 7F A4 EB 78 */ mr r4, r29 +/* 800A11C8 0009E128 38 A0 00 00 */ li r5, 0 +/* 800A11CC 0009E12C 4B FF FF 59 */ bl MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList +/* 800A11D0 0009E130 48 00 00 08 */ b lbl_800A11D8 +lbl_800A11D4: +/* 800A11D4 0009E134 3B C0 00 01 */ li r30, 1 +lbl_800A11D8: +/* 800A11D8 0009E138 7F FD FB 78 */ mr r29, r31 +lbl_800A11DC: +/* 800A11DC 0009E13C 28 1D 00 00 */ cmplwi r29, 0 +/* 800A11E0 0009E140 40 82 FF CC */ bne lbl_800A11AC +/* 800A11E4 0009E144 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A11E8 0009E148 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 800A11EC 0009E14C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800A11F0 0009E150 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800A11F4 0009E154 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800A11F8 0009E158 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800A11FC 0009E15C 7C 08 03 A6 */ mtlr r0 +/* 800A1200 0009E160 38 21 00 20 */ addi r1, r1, 0x20 +/* 800A1204 0009E164 4E 80 00 20 */ blr + +.global SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii +SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii: +/* 800A1208 0009E168 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800A120C 0009E16C 7C 08 02 A6 */ mflr r0 +/* 800A1210 0009E170 90 01 00 44 */ stw r0, 0x44(r1) +/* 800A1214 0009E174 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 800A1218 0009E178 7C 7F 1B 78 */ mr r31, r3 +/* 800A121C 0009E17C 7C 9D 23 78 */ mr r29, r4 +/* 800A1220 0009E180 7C BC 2B 78 */ mr r28, r5 +/* 800A1224 0009E184 7C DB 33 78 */ mr r27, r6 +/* 800A1228 0009E188 4B FF E4 05 */ bl ClearTraversedFlags__9CMapWorldCFv +/* 800A122C 0009E18C 38 00 00 00 */ li r0, 0 +/* 800A1230 0009E190 80 9F 00 04 */ lwz r4, 4(r31) +/* 800A1234 0009E194 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800A1238 0009E198 38 61 00 18 */ addi r3, r1, 0x18 +/* 800A123C 0009E19C 90 01 00 20 */ stw r0, 0x20(r1) +/* 800A1240 0009E1A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A1244 0009E1A4 48 00 0B F5 */ bl "reserve__Q24rstl64vectorFi" +/* 800A1248 0009E1A8 C0 22 8C 50 */ lfs f1, lbl_805AA970@sda21(r2) +/* 800A124C 0009E1AC 7F E3 FB 78 */ mr r3, r31 +/* 800A1250 0009E1B0 7F A4 EB 78 */ mr r4, r29 +/* 800A1254 0009E1B4 7F 85 E3 78 */ mr r5, r28 +/* 800A1258 0009E1B8 FC 40 08 90 */ fmr f2, f1 +/* 800A125C 0009E1BC 7F 66 DB 78 */ mr r6, r27 +/* 800A1260 0009E1C0 39 01 00 18 */ addi r8, r1, 0x18 +/* 800A1264 0009E1C4 38 E0 00 00 */ li r7, 0 +/* 800A1268 0009E1C8 4B FF F6 6D */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" +/* 800A126C 0009E1CC 3B 80 00 00 */ li r28, 0 +/* 800A1270 0009E1D0 3B BF 00 14 */ addi r29, r31, 0x14 +lbl_800A1274: +/* 800A1274 0009E1D4 7C 1C 00 D0 */ neg r0, r28 +/* 800A1278 0009E1D8 7C 00 E3 78 */ or r0, r0, r28 +/* 800A127C 0009E1DC 54 00 1F 7A */ rlwinm r0, r0, 3, 0x1d, 0x1d +/* 800A1280 0009E1E0 7F 7D 00 2E */ lwzx r27, r29, r0 +/* 800A1284 0009E1E4 48 00 00 3C */ b lbl_800A12C0 +lbl_800A1288: +/* 800A1288 0009E1E8 83 DB 00 14 */ lwz r30, 0x14(r27) +/* 800A128C 0009E1EC 7F E3 FB 78 */ mr r3, r31 +/* 800A1290 0009E1F0 7F 64 DB 78 */ mr r4, r27 +/* 800A1294 0009E1F4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800A1298 0009E1F8 48 00 00 D9 */ bl "IsMapAreaInBFSInfoVector__9CMapWorldCFPCQ29CMapWorld12CMapAreaDataRCQ24rstl64vector" +/* 800A129C 0009E1FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800A12A0 0009E200 40 82 00 1C */ bne lbl_800A12BC +/* 800A12A4 0009E204 7F 63 DB 78 */ mr r3, r27 +/* 800A12A8 0009E208 48 00 07 C9 */ bl Unlock__Q29CMapWorld12CMapAreaDataFv +/* 800A12AC 0009E20C 7F E3 FB 78 */ mr r3, r31 +/* 800A12B0 0009E210 7F 64 DB 78 */ mr r4, r27 +/* 800A12B4 0009E214 38 A0 00 02 */ li r5, 2 +/* 800A12B8 0009E218 4B FF FE 6D */ bl MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList +lbl_800A12BC: +/* 800A12BC 0009E21C 7F DB F3 78 */ mr r27, r30 +lbl_800A12C0: +/* 800A12C0 0009E220 28 1B 00 00 */ cmplwi r27, 0 +/* 800A12C4 0009E224 40 82 FF C4 */ bne lbl_800A1288 +/* 800A12C8 0009E228 3B 9C 00 01 */ addi r28, r28, 1 +/* 800A12CC 0009E22C 2C 1C 00 02 */ cmpwi r28, 2 +/* 800A12D0 0009E230 41 80 FF A4 */ blt lbl_800A1274 +/* 800A12D4 0009E234 83 C1 00 24 */ lwz r30, 0x24(r1) +/* 800A12D8 0009E238 48 00 00 3C */ b lbl_800A1314 +lbl_800A12DC: +/* 800A12DC 0009E23C 80 1E 00 00 */ lwz r0, 0(r30) +/* 800A12E0 0009E240 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800A12E4 0009E244 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 800A12E8 0009E248 7F 63 02 14 */ add r27, r3, r0 +/* 800A12EC 0009E24C 7F 63 DB 78 */ mr r3, r27 +/* 800A12F0 0009E250 48 00 07 AD */ bl Lock__Q29CMapWorld12CMapAreaDataFv +/* 800A12F4 0009E254 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 800A12F8 0009E258 2C 00 00 02 */ cmpwi r0, 2 +/* 800A12FC 0009E25C 40 82 00 14 */ bne lbl_800A1310 +/* 800A1300 0009E260 7F E3 FB 78 */ mr r3, r31 +/* 800A1304 0009E264 7F 64 DB 78 */ mr r4, r27 +/* 800A1308 0009E268 38 A0 00 01 */ li r5, 1 +/* 800A130C 0009E26C 4B FF FE 19 */ bl MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList +lbl_800A1310: +/* 800A1310 0009E270 3B DE 00 10 */ addi r30, r30, 0x10 +lbl_800A1314: +/* 800A1314 0009E274 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800A1318 0009E278 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800A131C 0009E27C 54 00 20 36 */ slwi r0, r0, 4 +/* 800A1320 0009E280 7C 03 02 14 */ add r0, r3, r0 +/* 800A1324 0009E284 7C 1E 00 40 */ cmplw r30, r0 +/* 800A1328 0009E288 40 82 FF B4 */ bne lbl_800A12DC +/* 800A132C 0009E28C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A1330 0009E290 7C 64 1B 78 */ mr r4, r3 +/* 800A1334 0009E294 90 01 00 10 */ stw r0, 0x10(r1) +/* 800A1338 0009E298 90 61 00 0C */ stw r3, 0xc(r1) +/* 800A133C 0009E29C 90 61 00 08 */ stw r3, 8(r1) +/* 800A1340 0009E2A0 48 00 00 08 */ b lbl_800A1348 +lbl_800A1344: +/* 800A1344 0009E2A4 38 84 00 10 */ addi r4, r4, 0x10 +lbl_800A1348: +/* 800A1348 0009E2A8 7C 04 00 40 */ cmplw r4, r0 +/* 800A134C 0009E2AC 40 82 FF F8 */ bne lbl_800A1344 +/* 800A1350 0009E2B0 28 03 00 00 */ cmplwi r3, 0 +/* 800A1354 0009E2B4 41 82 00 08 */ beq lbl_800A135C +/* 800A1358 0009E2B8 48 27 45 D9 */ bl Free__7CMemoryFPCv +lbl_800A135C: +/* 800A135C 0009E2BC BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 800A1360 0009E2C0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800A1364 0009E2C4 7C 08 03 A6 */ mtlr r0 +/* 800A1368 0009E2C8 38 21 00 40 */ addi r1, r1, 0x40 +/* 800A136C 0009E2CC 4E 80 00 20 */ blr + +.global "IsMapAreaInBFSInfoVector__9CMapWorldCFPCQ29CMapWorld12CMapAreaDataRCQ24rstl64vector" +"IsMapAreaInBFSInfoVector__9CMapWorldCFPCQ29CMapWorld12CMapAreaDataRCQ24rstl64vector": +/* 800A1370 0009E2D0 80 05 00 04 */ lwz r0, 4(r5) +/* 800A1374 0009E2D4 80 E5 00 0C */ lwz r7, 0xc(r5) +/* 800A1378 0009E2D8 54 00 20 36 */ slwi r0, r0, 4 +/* 800A137C 0009E2DC 7C C7 02 14 */ add r6, r7, r0 +/* 800A1380 0009E2E0 48 00 00 28 */ b lbl_800A13A8 +lbl_800A1384: +/* 800A1384 0009E2E4 80 07 00 00 */ lwz r0, 0(r7) +/* 800A1388 0009E2E8 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 800A138C 0009E2EC 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 800A1390 0009E2F0 7C 05 02 14 */ add r0, r5, r0 +/* 800A1394 0009E2F4 7C 04 00 40 */ cmplw r4, r0 +/* 800A1398 0009E2F8 40 82 00 0C */ bne lbl_800A13A4 +/* 800A139C 0009E2FC 38 60 00 01 */ li r3, 1 +/* 800A13A0 0009E300 4E 80 00 20 */ blr +lbl_800A13A4: +/* 800A13A4 0009E304 38 E7 00 10 */ addi r7, r7, 0x10 +lbl_800A13A8: +/* 800A13A8 0009E308 7C 07 30 40 */ cmplw r7, r6 +/* 800A13AC 0009E30C 40 82 FF D8 */ bne lbl_800A1384 +/* 800A13B0 0009E310 38 60 00 00 */ li r3, 0 +/* 800A13B4 0009E314 4E 80 00 20 */ blr + +.global GetMapArea__9CMapWorldCFi +GetMapArea__9CMapWorldCFi: +/* 800A13B8 0009E318 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A13BC 0009E31C 7C 08 02 A6 */ mflr r0 +/* 800A13C0 0009E320 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A13C4 0009E324 1C 04 00 18 */ mulli r0, r4, 0x18 +/* 800A13C8 0009E328 80 63 00 0C */ lwz r3, 0xc(r3) +/* 800A13CC 0009E32C 7C 63 02 14 */ add r3, r3, r0 +/* 800A13D0 0009E330 48 00 05 B9 */ bl GetMapArea__Q29CMapWorld12CMapAreaDataCFv +/* 800A13D4 0009E334 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A13D8 0009E338 7C 08 03 A6 */ mtlr r0 +/* 800A13DC 0009E33C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A13E0 0009E340 4E 80 00 20 */ blr + +.global __dt__9CMapWorldFv +__dt__9CMapWorldFv: +/* 800A13E4 0009E344 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800A13E8 0009E348 7C 08 02 A6 */ mflr r0 +/* 800A13EC 0009E34C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A13F0 0009E350 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800A13F4 0009E354 7C 9F 23 78 */ mr r31, r4 +/* 800A13F8 0009E358 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800A13FC 0009E35C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800A1400 0009E360 41 82 00 D8 */ beq lbl_800A14D8 +/* 800A1404 0009E364 80 7E 00 08 */ lwz r3, 8(r30) +/* 800A1408 0009E368 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 800A140C 0009E36C 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) +/* 800A1410 0009E370 1C 63 00 18 */ mulli r3, r3, 0x18 +/* 800A1414 0009E374 38 63 00 44 */ addi r3, r3, 0x44 +/* 800A1418 0009E378 7C 03 00 50 */ subf r0, r3, r0 +/* 800A141C 0009E37C 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) +/* 800A1420 0009E380 41 82 00 40 */ beq lbl_800A1460 +/* 800A1424 0009E384 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 800A1428 0009E388 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 800A142C 0009E38C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800A1430 0009E390 7C 83 02 14 */ add r4, r3, r0 +/* 800A1434 0009E394 7C 03 20 50 */ subf r0, r3, r4 +/* 800A1438 0009E398 90 81 00 14 */ stw r4, 0x14(r1) +/* 800A143C 0009E39C 90 81 00 10 */ stw r4, 0x10(r1) +/* 800A1440 0009E3A0 90 61 00 08 */ stw r3, 8(r1) +/* 800A1444 0009E3A4 7C 09 03 A6 */ mtctr r0 +/* 800A1448 0009E3A8 7C 03 20 40 */ cmplw r3, r4 +/* 800A144C 0009E3AC 41 82 00 08 */ beq lbl_800A1454 +lbl_800A1450: +/* 800A1450 0009E3B0 42 00 00 00 */ bdnz lbl_800A1450 +lbl_800A1454: +/* 800A1454 0009E3B4 28 03 00 00 */ cmplwi r3, 0 +/* 800A1458 0009E3B8 41 82 00 08 */ beq lbl_800A1460 +/* 800A145C 0009E3BC 48 27 44 D5 */ bl Free__7CMemoryFPCv +lbl_800A1460: +/* 800A1460 0009E3C0 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 800A1464 0009E3C4 41 82 00 58 */ beq lbl_800A14BC +/* 800A1468 0009E3C8 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 800A146C 0009E3CC 38 60 00 00 */ li r3, 0 +/* 800A1470 0009E3D0 2C 05 00 00 */ cmpwi r5, 0 +/* 800A1474 0009E3D4 40 81 00 40 */ ble lbl_800A14B4 +/* 800A1478 0009E3D8 2C 05 00 08 */ cmpwi r5, 8 +/* 800A147C 0009E3DC 38 85 FF F8 */ addi r4, r5, -8 +/* 800A1480 0009E3E0 40 81 00 20 */ ble lbl_800A14A0 +/* 800A1484 0009E3E4 38 04 00 07 */ addi r0, r4, 7 +/* 800A1488 0009E3E8 54 00 E8 FE */ srwi r0, r0, 3 +/* 800A148C 0009E3EC 7C 09 03 A6 */ mtctr r0 +/* 800A1490 0009E3F0 2C 04 00 00 */ cmpwi r4, 0 +/* 800A1494 0009E3F4 40 81 00 0C */ ble lbl_800A14A0 +lbl_800A1498: +/* 800A1498 0009E3F8 38 63 00 08 */ addi r3, r3, 8 +/* 800A149C 0009E3FC 42 00 FF FC */ bdnz lbl_800A1498 +lbl_800A14A0: +/* 800A14A0 0009E400 7C 03 28 50 */ subf r0, r3, r5 +/* 800A14A4 0009E404 7C 09 03 A6 */ mtctr r0 +/* 800A14A8 0009E408 7C 03 28 00 */ cmpw r3, r5 +/* 800A14AC 0009E40C 40 80 00 08 */ bge lbl_800A14B4 +lbl_800A14B0: +/* 800A14B0 0009E410 42 00 00 00 */ bdnz lbl_800A14B0 +lbl_800A14B4: +/* 800A14B4 0009E414 38 00 00 00 */ li r0, 0 +/* 800A14B8 0009E418 90 1E 00 10 */ stw r0, 0x10(r30) +lbl_800A14BC: +/* 800A14BC 0009E41C 7F C3 F3 78 */ mr r3, r30 +/* 800A14C0 0009E420 38 80 FF FF */ li r4, -1 +/* 800A14C4 0009E424 48 00 00 31 */ bl sub_800a14f4 +/* 800A14C8 0009E428 7F E0 07 35 */ extsh. r0, r31 +/* 800A14CC 0009E42C 40 81 00 0C */ ble lbl_800A14D8 +/* 800A14D0 0009E430 7F C3 F3 78 */ mr r3, r30 +/* 800A14D4 0009E434 48 27 44 5D */ bl Free__7CMemoryFPCv +lbl_800A14D8: +/* 800A14D8 0009E438 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A14DC 0009E43C 7F C3 F3 78 */ mr r3, r30 +/* 800A14E0 0009E440 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800A14E4 0009E444 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800A14E8 0009E448 7C 08 03 A6 */ mtlr r0 +/* 800A14EC 0009E44C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800A14F0 0009E450 4E 80 00 20 */ blr + +.global sub_800a14f4 +sub_800a14f4: +/* 800A14F4 0009E454 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A14F8 0009E458 7C 08 02 A6 */ mflr r0 +/* 800A14FC 0009E45C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A1500 0009E460 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800A1504 0009E464 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800A1508 0009E468 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800A150C 0009E46C 7C 9D 23 78 */ mr r29, r4 +/* 800A1510 0009E470 93 81 00 20 */ stw r28, 0x20(r1) +/* 800A1514 0009E474 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800A1518 0009E478 41 82 00 78 */ beq lbl_800A1590 +/* 800A151C 0009E47C 80 1C 00 04 */ lwz r0, 4(r28) +/* 800A1520 0009E480 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 800A1524 0009E484 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 800A1528 0009E488 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800A152C 0009E48C 7F FE 02 14 */ add r31, r30, r0 +/* 800A1530 0009E490 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800A1534 0009E494 93 E1 00 08 */ stw r31, 8(r1) +/* 800A1538 0009E498 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A153C 0009E49C 48 00 00 2C */ b lbl_800A1568 +lbl_800A1540: +/* 800A1540 0009E4A0 28 1E 00 00 */ cmplwi r30, 0 +/* 800A1544 0009E4A4 41 82 00 20 */ beq lbl_800A1564 +/* 800A1548 0009E4A8 34 1E 00 04 */ addic. r0, r30, 4 +/* 800A154C 0009E4AC 41 82 00 18 */ beq lbl_800A1564 +/* 800A1550 0009E4B0 34 1E 00 04 */ addic. r0, r30, 4 +/* 800A1554 0009E4B4 41 82 00 10 */ beq lbl_800A1564 +/* 800A1558 0009E4B8 38 7E 00 04 */ addi r3, r30, 4 +/* 800A155C 0009E4BC 38 80 00 00 */ li r4, 0 +/* 800A1560 0009E4C0 48 29 F8 E1 */ bl __dt__6CTokenFv +lbl_800A1564: +/* 800A1564 0009E4C4 3B DE 00 18 */ addi r30, r30, 0x18 +lbl_800A1568: +/* 800A1568 0009E4C8 7C 1E F8 40 */ cmplw r30, r31 +/* 800A156C 0009E4CC 40 82 FF D4 */ bne lbl_800A1540 +/* 800A1570 0009E4D0 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 800A1574 0009E4D4 28 03 00 00 */ cmplwi r3, 0 +/* 800A1578 0009E4D8 41 82 00 08 */ beq lbl_800A1580 +/* 800A157C 0009E4DC 48 27 43 B5 */ bl Free__7CMemoryFPCv +lbl_800A1580: +/* 800A1580 0009E4E0 7F A0 07 35 */ extsh. r0, r29 +/* 800A1584 0009E4E4 40 81 00 0C */ ble lbl_800A1590 +/* 800A1588 0009E4E8 7F 83 E3 78 */ mr r3, r28 +/* 800A158C 0009E4EC 48 27 43 A5 */ bl Free__7CMemoryFPCv +lbl_800A1590: +/* 800A1590 0009E4F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A1594 0009E4F4 7F 83 E3 78 */ mr r3, r28 +/* 800A1598 0009E4F8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800A159C 0009E4FC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800A15A0 0009E500 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800A15A4 0009E504 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800A15A8 0009E508 7C 08 03 A6 */ mtlr r0 +/* 800A15AC 0009E50C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A15B0 0009E510 4E 80 00 20 */ blr + +.global __ct__9CMapWorldFR12CInputStream +__ct__9CMapWorldFR12CInputStream: +/* 800A15B4 0009E514 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800A15B8 0009E518 7C 08 02 A6 */ mflr r0 +/* 800A15BC 0009E51C 90 01 00 64 */ stw r0, 0x64(r1) +/* 800A15C0 0009E520 38 00 00 03 */ li r0, 3 +/* 800A15C4 0009E524 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 800A15C8 0009E528 7C 7B 1B 78 */ mr r27, r3 +/* 800A15CC 0009E52C 38 60 00 00 */ li r3, 0 +/* 800A15D0 0009E530 7C 9C 23 78 */ mr r28, r4 +/* 800A15D4 0009E534 34 BB 00 14 */ addic. r5, r27, 0x14 +/* 800A15D8 0009E538 90 7B 00 04 */ stw r3, 4(r27) +/* 800A15DC 0009E53C 90 7B 00 08 */ stw r3, 8(r27) +/* 800A15E0 0009E540 90 7B 00 0C */ stw r3, 0xc(r27) +/* 800A15E4 0009E544 90 1B 00 10 */ stw r0, 0x10(r27) +/* 800A15E8 0009E548 41 82 00 08 */ beq lbl_800A15F0 +/* 800A15EC 0009E54C 90 65 00 00 */ stw r3, 0(r5) +lbl_800A15F0: +/* 800A15F0 0009E550 34 A5 00 04 */ addic. r5, r5, 4 +/* 800A15F4 0009E554 41 82 00 08 */ beq lbl_800A15FC +/* 800A15F8 0009E558 90 65 00 00 */ stw r3, 0(r5) +lbl_800A15FC: +/* 800A15FC 0009E55C 34 A5 00 04 */ addic. r5, r5, 4 +/* 800A1600 0009E560 41 82 00 08 */ beq lbl_800A1608 +/* 800A1604 0009E564 90 65 00 00 */ stw r3, 0(r5) +lbl_800A1608: +/* 800A1608 0009E568 38 00 00 00 */ li r0, 0 +/* 800A160C 0009E56C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800A1610 0009E570 90 1B 00 24 */ stw r0, 0x24(r27) +/* 800A1614 0009E574 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800A1618 0009E578 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) +/* 800A161C 0009E57C 7F 83 E3 78 */ mr r3, r28 +/* 800A1620 0009E580 90 1B 00 28 */ stw r0, 0x28(r27) +/* 800A1624 0009E584 90 1B 00 2C */ stw r0, 0x2c(r27) +/* 800A1628 0009E588 C0 24 00 00 */ lfs f1, 0(r4) +/* 800A162C 0009E58C D0 3B 00 30 */ stfs f1, 0x30(r27) +/* 800A1630 0009E590 C0 24 00 04 */ lfs f1, 4(r4) +/* 800A1634 0009E594 D0 3B 00 34 */ stfs f1, 0x34(r27) +/* 800A1638 0009E598 C0 24 00 08 */ lfs f1, 8(r4) +/* 800A163C 0009E59C D0 3B 00 38 */ stfs f1, 0x38(r27) +/* 800A1640 0009E5A0 D0 1B 00 3C */ stfs f0, 0x3c(r27) +/* 800A1644 0009E5A4 D0 1B 00 40 */ stfs f0, 0x40(r27) +/* 800A1648 0009E5A8 48 29 D6 3D */ bl ReadLong__12CInputStreamFv +/* 800A164C 0009E5AC 7F 83 E3 78 */ mr r3, r28 +/* 800A1650 0009E5B0 48 29 D6 35 */ bl ReadLong__12CInputStreamFv +/* 800A1654 0009E5B4 7F 83 E3 78 */ mr r3, r28 +/* 800A1658 0009E5B8 48 29 D6 2D */ bl ReadLong__12CInputStreamFv +/* 800A165C 0009E5BC 7C 7F 1B 78 */ mr r31, r3 +/* 800A1660 0009E5C0 7F 63 DB 78 */ mr r3, r27 +/* 800A1664 0009E5C4 7F E4 FB 78 */ mr r4, r31 +/* 800A1668 0009E5C8 48 00 08 D5 */ bl "reserve__Q24rstl61vectorFi" +/* 800A166C 0009E5CC 2C 1F 00 00 */ cmpwi r31, 0 +/* 800A1670 0009E5D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800A1674 0009E5D4 93 E1 00 20 */ stw r31, 0x20(r1) +/* 800A1678 0009E5D8 40 82 00 10 */ bne lbl_800A1688 +/* 800A167C 0009E5DC 38 00 00 00 */ li r0, 0 +/* 800A1680 0009E5E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A1684 0009E5E4 48 00 00 1C */ b lbl_800A16A0 +lbl_800A1688: +/* 800A1688 0009E5E8 3C 80 80 3D */ lis r4, lbl_803CD960@ha +/* 800A168C 0009E5EC 7F E3 FB 78 */ mr r3, r31 +/* 800A1690 0009E5F0 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l +/* 800A1694 0009E5F4 38 A0 00 00 */ li r5, 0 +/* 800A1698 0009E5F8 48 27 41 81 */ bl __nwa__FUlPCcPCc +/* 800A169C 0009E5FC 90 61 00 24 */ stw r3, 0x24(r1) +lbl_800A16A0: +/* 800A16A0 0009E600 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800A16A4 0009E604 7F E9 03 A6 */ mtctr r31 +/* 800A16A8 0009E608 2C 1F 00 00 */ cmpwi r31, 0 +/* 800A16AC 0009E60C 40 81 00 1C */ ble lbl_800A16C8 +lbl_800A16B0: +/* 800A16B0 0009E610 28 03 00 00 */ cmplwi r3, 0 +/* 800A16B4 0009E614 41 82 00 0C */ beq lbl_800A16C0 +/* 800A16B8 0009E618 88 0D 86 00 */ lbz r0, lbl_805A71C0@sda21(r13) +/* 800A16BC 0009E61C 98 03 00 00 */ stb r0, 0(r3) +lbl_800A16C0: +/* 800A16C0 0009E620 38 63 00 01 */ addi r3, r3, 1 +/* 800A16C4 0009E624 42 00 FF EC */ bdnz lbl_800A16B0 +lbl_800A16C8: +/* 800A16C8 0009E628 38 7B 00 20 */ addi r3, r27, 0x20 +/* 800A16CC 0009E62C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800A16D0 0009E630 48 00 01 69 */ bl sub_800a1838 +/* 800A16D4 0009E634 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800A16D8 0009E638 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800A16DC 0009E63C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800A16E0 0009E640 7C 83 02 14 */ add r4, r3, r0 +/* 800A16E4 0009E644 7C 03 20 50 */ subf r0, r3, r4 +/* 800A16E8 0009E648 90 81 00 14 */ stw r4, 0x14(r1) +/* 800A16EC 0009E64C 90 81 00 10 */ stw r4, 0x10(r1) +/* 800A16F0 0009E650 90 61 00 08 */ stw r3, 8(r1) +/* 800A16F4 0009E654 7C 09 03 A6 */ mtctr r0 +/* 800A16F8 0009E658 7C 03 20 40 */ cmplw r3, r4 +/* 800A16FC 0009E65C 41 82 00 08 */ beq lbl_800A1704 +lbl_800A1700: +/* 800A1700 0009E660 42 00 00 00 */ bdnz lbl_800A1700 +lbl_800A1704: +/* 800A1704 0009E664 28 03 00 00 */ cmplwi r3, 0 +/* 800A1708 0009E668 41 82 00 08 */ beq lbl_800A1710 +/* 800A170C 0009E66C 48 27 42 25 */ bl Free__7CMemoryFPCv +lbl_800A1710: +/* 800A1710 0009E670 3B C1 00 2C */ addi r30, r1, 0x2c +/* 800A1714 0009E674 3B A0 00 00 */ li r29, 0 +/* 800A1718 0009E678 48 00 00 D0 */ b lbl_800A17E8 +lbl_800A171C: +/* 800A171C 0009E67C 7F 83 E3 78 */ mr r3, r28 +/* 800A1720 0009E680 48 29 D5 65 */ bl ReadLong__12CInputStreamFv +/* 800A1724 0009E684 2C 1D 00 00 */ cmpwi r29, 0 +/* 800A1728 0009E688 7C 64 1B 78 */ mr r4, r3 +/* 800A172C 0009E68C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800A1730 0009E690 38 A0 00 02 */ li r5, 2 +/* 800A1734 0009E694 40 82 00 0C */ bne lbl_800A1740 +/* 800A1738 0009E698 38 C0 00 00 */ li r6, 0 +/* 800A173C 0009E69C 48 00 00 14 */ b lbl_800A1750 +lbl_800A1740: +/* 800A1740 0009E6A0 38 1D FF FF */ addi r0, r29, -1 +/* 800A1744 0009E6A4 80 DB 00 0C */ lwz r6, 0xc(r27) +/* 800A1748 0009E6A8 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 800A174C 0009E6AC 7C C6 02 14 */ add r6, r6, r0 +lbl_800A1750: +/* 800A1750 0009E6B0 48 00 03 71 */ bl __ct__Q29CMapWorld12CMapAreaDataFUiQ29CMapWorld12EMapAreaListPQ29CMapWorld12CMapAreaData +/* 800A1754 0009E6B4 80 1B 00 04 */ lwz r0, 4(r27) +/* 800A1758 0009E6B8 80 BB 00 08 */ lwz r5, 8(r27) +/* 800A175C 0009E6BC 7C 00 28 00 */ cmpw r0, r5 +/* 800A1760 0009E6C0 41 80 00 1C */ blt lbl_800A177C +/* 800A1764 0009E6C4 2C 05 00 00 */ cmpwi r5, 0 +/* 800A1768 0009E6C8 7F 63 DB 78 */ mr r3, r27 +/* 800A176C 0009E6CC 38 80 00 04 */ li r4, 4 +/* 800A1770 0009E6D0 41 82 00 08 */ beq lbl_800A1778 +/* 800A1774 0009E6D4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800A1778: +/* 800A1778 0009E6D8 48 00 07 C5 */ bl "reserve__Q24rstl61vectorFi" +lbl_800A177C: +/* 800A177C 0009E6DC 80 1B 00 04 */ lwz r0, 4(r27) +/* 800A1780 0009E6E0 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 800A1784 0009E6E4 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 800A1788 0009E6E8 7F 43 02 15 */ add. r26, r3, r0 +/* 800A178C 0009E6EC 41 82 00 34 */ beq lbl_800A17C0 +/* 800A1790 0009E6F0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 800A1794 0009E6F4 3B 3A 00 04 */ addi r25, r26, 4 +/* 800A1798 0009E6F8 7F 23 CB 78 */ mr r3, r25 +/* 800A179C 0009E6FC 7F C4 F3 78 */ mr r4, r30 +/* 800A17A0 0009E700 90 1A 00 00 */ stw r0, 0(r26) +/* 800A17A4 0009E704 48 29 F7 05 */ bl __ct__6CTokenFRC6CToken +/* 800A17A8 0009E708 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A17AC 0009E70C 90 19 00 08 */ stw r0, 8(r25) +/* 800A17B0 0009E710 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800A17B4 0009E714 90 1A 00 10 */ stw r0, 0x10(r26) +/* 800A17B8 0009E718 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800A17BC 0009E71C 90 1A 00 14 */ stw r0, 0x14(r26) +lbl_800A17C0: +/* 800A17C0 0009E720 80 7B 00 04 */ lwz r3, 4(r27) +/* 800A17C4 0009E724 28 1E 00 00 */ cmplwi r30, 0 +/* 800A17C8 0009E728 38 03 00 01 */ addi r0, r3, 1 +/* 800A17CC 0009E72C 90 1B 00 04 */ stw r0, 4(r27) +/* 800A17D0 0009E730 41 82 00 14 */ beq lbl_800A17E4 +/* 800A17D4 0009E734 41 82 00 10 */ beq lbl_800A17E4 +/* 800A17D8 0009E738 7F C3 F3 78 */ mr r3, r30 +/* 800A17DC 0009E73C 38 80 00 00 */ li r4, 0 +/* 800A17E0 0009E740 48 29 F6 61 */ bl __dt__6CTokenFv +lbl_800A17E4: +/* 800A17E4 0009E744 3B BD 00 01 */ addi r29, r29, 1 +lbl_800A17E8: +/* 800A17E8 0009E748 7C 1D F8 00 */ cmpw r29, r31 +/* 800A17EC 0009E74C 41 80 FF 30 */ blt lbl_800A171C +/* 800A17F0 0009E750 80 9B 00 04 */ lwz r4, 4(r27) +/* 800A17F4 0009E754 7F 63 DB 78 */ mr r3, r27 +/* 800A17F8 0009E758 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 800A17FC 0009E75C 38 04 FF FF */ addi r0, r4, -1 +/* 800A1800 0009E760 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 800A1804 0009E764 7C 05 02 14 */ add r0, r5, r0 +/* 800A1808 0009E768 90 1B 00 1C */ stw r0, 0x1c(r27) +/* 800A180C 0009E76C 80 1B 00 08 */ lwz r0, 8(r27) +/* 800A1810 0009E770 80 8D A2 F0 */ lwz r4, lbl_805A8EB0@sda21(r13) +/* 800A1814 0009E774 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 800A1818 0009E778 7C 80 22 14 */ add r4, r0, r4 +/* 800A181C 0009E77C 38 04 00 44 */ addi r0, r4, 0x44 +/* 800A1820 0009E780 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) +/* 800A1824 0009E784 BB 21 00 44 */ lmw r25, 0x44(r1) +/* 800A1828 0009E788 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800A182C 0009E78C 7C 08 03 A6 */ mtlr r0 +/* 800A1830 0009E790 38 21 00 60 */ addi r1, r1, 0x60 +/* 800A1834 0009E794 4E 80 00 20 */ blr + +.global sub_800a1838 +sub_800a1838: +/* 800A1838 0009E798 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800A183C 0009E79C 7C 08 02 A6 */ mflr r0 +/* 800A1840 0009E7A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A1844 0009E7A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800A1848 0009E7A8 7C 7F 1B 78 */ mr r31, r3 +/* 800A184C 0009E7AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800A1850 0009E7B0 7C 9E 23 78 */ mr r30, r4 +/* 800A1854 0009E7B4 7C 1F F0 40 */ cmplw r31, r30 +/* 800A1858 0009E7B8 40 82 00 08 */ bne lbl_800A1860 +/* 800A185C 0009E7BC 48 00 00 BC */ b lbl_800A1918 +lbl_800A1860: +/* 800A1860 0009E7C0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 800A1864 0009E7C4 80 1F 00 04 */ lwz r0, 4(r31) +/* 800A1868 0009E7C8 90 81 00 0C */ stw r4, 0xc(r1) +/* 800A186C 0009E7CC 7C 64 02 14 */ add r3, r4, r0 +/* 800A1870 0009E7D0 7C 04 18 50 */ subf r0, r4, r3 +/* 800A1874 0009E7D4 90 61 00 14 */ stw r3, 0x14(r1) +/* 800A1878 0009E7D8 90 61 00 10 */ stw r3, 0x10(r1) +/* 800A187C 0009E7DC 90 81 00 08 */ stw r4, 8(r1) +/* 800A1880 0009E7E0 7C 09 03 A6 */ mtctr r0 +/* 800A1884 0009E7E4 7C 04 18 40 */ cmplw r4, r3 +/* 800A1888 0009E7E8 41 82 00 08 */ beq lbl_800A1890 +lbl_800A188C: +/* 800A188C 0009E7EC 42 00 00 00 */ bdnz lbl_800A188C +lbl_800A1890: +/* 800A1890 0009E7F0 38 00 00 00 */ li r0, 0 +/* 800A1894 0009E7F4 90 1F 00 04 */ stw r0, 4(r31) +/* 800A1898 0009E7F8 80 9E 00 04 */ lwz r4, 4(r30) +/* 800A189C 0009E7FC 2C 04 00 00 */ cmpwi r4, 0 +/* 800A18A0 0009E800 40 82 00 28 */ bne lbl_800A18C8 +/* 800A18A4 0009E804 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800A18A8 0009E808 28 03 00 00 */ cmplwi r3, 0 +/* 800A18AC 0009E80C 41 82 00 08 */ beq lbl_800A18B4 +/* 800A18B0 0009E810 48 27 40 81 */ bl Free__7CMemoryFPCv +lbl_800A18B4: +/* 800A18B4 0009E814 38 00 00 00 */ li r0, 0 +/* 800A18B8 0009E818 90 1F 00 04 */ stw r0, 4(r31) +/* 800A18BC 0009E81C 90 1F 00 08 */ stw r0, 8(r31) +/* 800A18C0 0009E820 90 1F 00 0C */ stw r0, 0xc(r31) +/* 800A18C4 0009E824 48 00 00 50 */ b lbl_800A1914 +lbl_800A18C8: +/* 800A18C8 0009E828 7F E3 FB 78 */ mr r3, r31 +/* 800A18CC 0009E82C 48 00 07 9D */ bl sub_800a2068 +/* 800A18D0 0009E830 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800A18D4 0009E834 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A18D8 0009E838 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800A18DC 0009E83C 7C 85 02 14 */ add r4, r5, r0 +/* 800A18E0 0009E840 7C 05 20 50 */ subf r0, r5, r4 +/* 800A18E4 0009E844 7C 09 03 A6 */ mtctr r0 +/* 800A18E8 0009E848 7C 05 20 40 */ cmplw r5, r4 +/* 800A18EC 0009E84C 41 82 00 20 */ beq lbl_800A190C +lbl_800A18F0: +/* 800A18F0 0009E850 28 03 00 00 */ cmplwi r3, 0 +/* 800A18F4 0009E854 41 82 00 0C */ beq lbl_800A1900 +/* 800A18F8 0009E858 88 05 00 00 */ lbz r0, 0(r5) +/* 800A18FC 0009E85C 98 03 00 00 */ stb r0, 0(r3) +lbl_800A1900: +/* 800A1900 0009E860 38 63 00 01 */ addi r3, r3, 1 +/* 800A1904 0009E864 38 A5 00 01 */ addi r5, r5, 1 +/* 800A1908 0009E868 42 00 FF E8 */ bdnz lbl_800A18F0 +lbl_800A190C: +/* 800A190C 0009E86C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A1910 0009E870 90 1F 00 04 */ stw r0, 4(r31) +lbl_800A1914: +/* 800A1914 0009E874 7F E3 FB 78 */ mr r3, r31 +lbl_800A1918: +/* 800A1918 0009E878 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A191C 0009E87C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800A1920 0009E880 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800A1924 0009E884 7C 08 03 A6 */ mtlr r0 +/* 800A1928 0009E888 38 21 00 20 */ addi r1, r1, 0x20 +/* 800A192C 0009E88C 4E 80 00 20 */ blr + +.global __ct__Q29CMapWorld15CMapAreaBFSInfoFiiff +__ct__Q29CMapWorld15CMapAreaBFSInfoFiiff: +/* 800A1930 0009E890 90 83 00 00 */ stw r4, 0(r3) +/* 800A1934 0009E894 90 A3 00 04 */ stw r5, 4(r3) +/* 800A1938 0009E898 D0 23 00 08 */ stfs f1, 8(r3) +/* 800A193C 0009E89C D0 43 00 0C */ stfs f2, 0xc(r3) +/* 800A1940 0009E8A0 4E 80 00 20 */ blr + +.global __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb +__ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb: +/* 800A1944 0009E8A4 D0 23 00 00 */ stfs f1, 0(r3) +/* 800A1948 0009E8A8 C0 01 00 08 */ lfs f0, 8(r1) +/* 800A194C 0009E8AC D0 43 00 04 */ stfs f2, 4(r3) +/* 800A1950 0009E8B0 D0 63 00 08 */ stfs f3, 8(r3) +/* 800A1954 0009E8B4 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 800A1958 0009E8B8 D0 A3 00 10 */ stfs f5, 0x10(r3) +/* 800A195C 0009E8BC D0 C3 00 14 */ stfs f6, 0x14(r3) +/* 800A1960 0009E8C0 90 83 00 18 */ stw r4, 0x18(r3) +/* 800A1964 0009E8C4 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 800A1968 0009E8C8 90 C3 00 20 */ stw r6, 0x20(r3) +/* 800A196C 0009E8CC 90 E3 00 24 */ stw r7, 0x24(r3) +/* 800A1970 0009E8D0 91 03 00 28 */ stw r8, 0x28(r3) +/* 800A1974 0009E8D4 D0 E3 00 2C */ stfs f7, 0x2c(r3) +/* 800A1978 0009E8D8 D1 03 00 30 */ stfs f8, 0x30(r3) +/* 800A197C 0009E8DC D0 03 00 34 */ stfs f0, 0x34(r3) +/* 800A1980 0009E8E0 99 23 00 38 */ stb r9, 0x38(r3) +/* 800A1984 0009E8E4 4E 80 00 20 */ blr + +.global GetMapArea__Q29CMapWorld12CMapAreaDataCFv +GetMapArea__Q29CMapWorld12CMapAreaDataCFv: +/* 800A1988 0009E8E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A198C 0009E8EC 7C 08 02 A6 */ mflr r0 +/* 800A1990 0009E8F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A1994 0009E8F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A1998 0009E8F8 7C 7F 1B 78 */ mr r31, r3 +/* 800A199C 0009E8FC 80 03 00 0C */ lwz r0, 0xc(r3) +/* 800A19A0 0009E900 28 00 00 00 */ cmplwi r0, 0 +/* 800A19A4 0009E904 40 82 00 30 */ bne lbl_800A19D4 +/* 800A19A8 0009E908 88 1F 00 08 */ lbz r0, 8(r31) +/* 800A19AC 0009E90C 28 00 00 00 */ cmplwi r0, 0 +/* 800A19B0 0009E910 41 82 00 24 */ beq lbl_800A19D4 +/* 800A19B4 0009E914 80 7F 00 04 */ lwz r3, 4(r31) +/* 800A19B8 0009E918 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800A19BC 0009E91C 28 00 00 00 */ cmplwi r0, 0 +/* 800A19C0 0009E920 41 82 00 14 */ beq lbl_800A19D4 +/* 800A19C4 0009E924 38 7F 00 04 */ addi r3, r31, 4 +/* 800A19C8 0009E928 48 29 F4 45 */ bl GetObj__6CTokenFv +/* 800A19CC 0009E92C 80 03 00 04 */ lwz r0, 4(r3) +/* 800A19D0 0009E930 90 1F 00 0C */ stw r0, 0xc(r31) +lbl_800A19D4: +/* 800A19D4 0009E934 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A19D8 0009E938 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800A19DC 0009E93C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A19E0 0009E940 7C 08 03 A6 */ mtlr r0 +/* 800A19E4 0009E944 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A19E8 0009E948 4E 80 00 20 */ blr + +.global IsLoaded__Q29CMapWorld12CMapAreaDataCFv +IsLoaded__Q29CMapWorld12CMapAreaDataCFv: +/* 800A19EC 0009E94C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A19F0 0009E950 7C 08 02 A6 */ mflr r0 +/* 800A19F4 0009E954 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A19F8 0009E958 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A19FC 0009E95C 7C 7F 1B 78 */ mr r31, r3 +/* 800A1A00 0009E960 88 63 00 08 */ lbz r3, 8(r3) +/* 800A1A04 0009E964 28 03 00 00 */ cmplwi r3, 0 +/* 800A1A08 0009E968 40 82 00 0C */ bne lbl_800A1A14 +/* 800A1A0C 0009E96C 38 60 00 00 */ li r3, 0 +/* 800A1A10 0009E970 48 00 00 4C */ b lbl_800A1A5C +lbl_800A1A14: +/* 800A1A14 0009E974 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 800A1A18 0009E978 28 00 00 00 */ cmplwi r0, 0 +/* 800A1A1C 0009E97C 41 82 00 0C */ beq lbl_800A1A28 +/* 800A1A20 0009E980 38 60 00 01 */ li r3, 1 +/* 800A1A24 0009E984 48 00 00 38 */ b lbl_800A1A5C +lbl_800A1A28: +/* 800A1A28 0009E988 28 03 00 00 */ cmplwi r3, 0 +/* 800A1A2C 0009E98C 41 82 00 2C */ beq lbl_800A1A58 +/* 800A1A30 0009E990 80 7F 00 04 */ lwz r3, 4(r31) +/* 800A1A34 0009E994 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800A1A38 0009E998 28 00 00 00 */ cmplwi r0, 0 +/* 800A1A3C 0009E99C 41 82 00 1C */ beq lbl_800A1A58 +/* 800A1A40 0009E9A0 38 7F 00 04 */ addi r3, r31, 4 +/* 800A1A44 0009E9A4 48 29 F3 C9 */ bl GetObj__6CTokenFv +/* 800A1A48 0009E9A8 80 03 00 04 */ lwz r0, 4(r3) +/* 800A1A4C 0009E9AC 38 60 00 01 */ li r3, 1 +/* 800A1A50 0009E9B0 90 1F 00 0C */ stw r0, 0xc(r31) +/* 800A1A54 0009E9B4 48 00 00 08 */ b lbl_800A1A5C +lbl_800A1A58: +/* 800A1A58 0009E9B8 38 60 00 00 */ li r3, 0 +lbl_800A1A5C: +/* 800A1A5C 0009E9BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A1A60 0009E9C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A1A64 0009E9C4 7C 08 03 A6 */ mtlr r0 +/* 800A1A68 0009E9C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A1A6C 0009E9CC 4E 80 00 20 */ blr + +.global Unlock__Q29CMapWorld12CMapAreaDataFv +Unlock__Q29CMapWorld12CMapAreaDataFv: +/* 800A1A70 0009E9D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A1A74 0009E9D4 7C 08 02 A6 */ mflr r0 +/* 800A1A78 0009E9D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A1A7C 0009E9DC 38 00 00 00 */ li r0, 0 +/* 800A1A80 0009E9E0 90 03 00 0C */ stw r0, 0xc(r3) +/* 800A1A84 0009E9E4 38 63 00 04 */ addi r3, r3, 4 +/* 800A1A88 0009E9E8 48 29 F2 B9 */ bl Unlock__6CTokenFv +/* 800A1A8C 0009E9EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A1A90 0009E9F0 7C 08 03 A6 */ mtlr r0 +/* 800A1A94 0009E9F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A1A98 0009E9F8 4E 80 00 20 */ blr + +.global Lock__Q29CMapWorld12CMapAreaDataFv +Lock__Q29CMapWorld12CMapAreaDataFv: +/* 800A1A9C 0009E9FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A1AA0 0009EA00 7C 08 02 A6 */ mflr r0 +/* 800A1AA4 0009EA04 38 63 00 04 */ addi r3, r3, 4 +/* 800A1AA8 0009EA08 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A1AAC 0009EA0C 48 29 F2 D9 */ bl Lock__6CTokenFv +/* 800A1AB0 0009EA10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A1AB4 0009EA14 7C 08 03 A6 */ mtlr r0 +/* 800A1AB8 0009EA18 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A1ABC 0009EA1C 4E 80 00 20 */ blr + +.global __ct__Q29CMapWorld12CMapAreaDataFUiQ29CMapWorld12EMapAreaListPQ29CMapWorld12CMapAreaData +__ct__Q29CMapWorld12CMapAreaDataFUiQ29CMapWorld12EMapAreaListPQ29CMapWorld12CMapAreaData: +/* 800A1AC0 0009EA20 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A1AC4 0009EA24 7C 08 02 A6 */ mflr r0 +/* 800A1AC8 0009EA28 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A1ACC 0009EA2C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800A1AD0 0009EA30 7C DF 33 78 */ mr r31, r6 +/* 800A1AD4 0009EA34 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800A1AD8 0009EA38 7C BE 2B 78 */ mr r30, r5 +/* 800A1ADC 0009EA3C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800A1AE0 0009EA40 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800A1AE4 0009EA44 93 81 00 20 */ stw r28, 0x20(r1) +/* 800A1AE8 0009EA48 7C 7C 1B 78 */ mr r28, r3 +/* 800A1AEC 0009EA4C 3C 60 4D 41 */ lis r3, 0x4D415041@ha +/* 800A1AF0 0009EA50 90 9C 00 00 */ stw r4, 0(r28) +/* 800A1AF4 0009EA54 38 03 50 41 */ addi r0, r3, 0x4D415041@l +/* 800A1AF8 0009EA58 38 61 00 08 */ addi r3, r1, 8 +/* 800A1AFC 0009EA5C 90 81 00 14 */ stw r4, 0x14(r1) +/* 800A1B00 0009EA60 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800A1B04 0009EA64 90 01 00 10 */ stw r0, 0x10(r1) +/* 800A1B08 0009EA68 81 84 00 00 */ lwz r12, 0(r4) +/* 800A1B0C 0009EA6C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A1B10 0009EA70 7D 89 03 A6 */ mtctr r12 +/* 800A1B14 0009EA74 4E 80 04 21 */ bctrl +/* 800A1B18 0009EA78 3B BC 00 04 */ addi r29, r28, 4 +/* 800A1B1C 0009EA7C 38 81 00 08 */ addi r4, r1, 8 +/* 800A1B20 0009EA80 7F A3 EB 78 */ mr r3, r29 +/* 800A1B24 0009EA84 48 29 F3 85 */ bl __ct__6CTokenFRC6CToken +/* 800A1B28 0009EA88 38 00 00 00 */ li r0, 0 +/* 800A1B2C 0009EA8C 38 61 00 08 */ addi r3, r1, 8 +/* 800A1B30 0009EA90 90 1D 00 08 */ stw r0, 8(r29) +/* 800A1B34 0009EA94 38 80 FF FF */ li r4, -1 +/* 800A1B38 0009EA98 48 29 F3 09 */ bl __dt__6CTokenFv +/* 800A1B3C 0009EA9C 93 DC 00 10 */ stw r30, 0x10(r28) +/* 800A1B40 0009EAA0 7F 83 E3 78 */ mr r3, r28 +/* 800A1B44 0009EAA4 93 FC 00 14 */ stw r31, 0x14(r28) +/* 800A1B48 0009EAA8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800A1B4C 0009EAAC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800A1B50 0009EAB0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800A1B54 0009EAB4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800A1B58 0009EAB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A1B5C 0009EABC 7C 08 03 A6 */ mtlr r0 +/* 800A1B60 0009EAC0 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A1B64 0009EAC4 4E 80 00 20 */ blr + +.global __ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor +__ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor: +/* 800A1B68 0009EAC8 D0 23 00 00 */ stfs f1, 0(r3) +/* 800A1B6C 0009EACC 7C A0 33 78 */ or r0, r5, r6 +/* 800A1B70 0009EAD0 90 83 00 04 */ stw r4, 4(r3) +/* 800A1B74 0009EAD4 90 03 00 08 */ stw r0, 8(r3) +/* 800A1B78 0009EAD8 80 07 00 00 */ lwz r0, 0(r7) +/* 800A1B7C 0009EADC 90 03 00 0C */ stw r0, 0xc(r3) +/* 800A1B80 0009EAE0 80 08 00 00 */ lwz r0, 0(r8) +/* 800A1B84 0009EAE4 90 03 00 10 */ stw r0, 0x10(r3) +/* 800A1B88 0009EAE8 4E 80 00 20 */ blr + +.global sub_800a1b8c +sub_800a1b8c: +/* 800A1B8C 0009EAEC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800A1B90 0009EAF0 7C 08 02 A6 */ mflr r0 +/* 800A1B94 0009EAF4 90 01 00 64 */ stw r0, 0x64(r1) +/* 800A1B98 0009EAF8 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 800A1B9C 0009EAFC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 800A1BA0 0009EB00 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800A1BA4 0009EB04 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800A1BA8 0009EB08 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800A1BAC 0009EB0C 93 81 00 40 */ stw r28, 0x40(r1) +/* 800A1BB0 0009EB10 7C 7C 1B 78 */ mr r28, r3 +/* 800A1BB4 0009EB14 7C 9D 23 78 */ mr r29, r4 +/* 800A1BB8 0009EB18 80 63 00 00 */ lwz r3, 0(r3) +/* 800A1BBC 0009EB1C 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 800A1BC0 0009EB20 80 DD 00 00 */ lwz r6, 0(r29) +/* 800A1BC4 0009EB24 38 84 66 67 */ addi r4, r4, 0x66666667@l +/* 800A1BC8 0009EB28 7C BE 2B 78 */ mr r30, r5 +/* 800A1BCC 0009EB2C 7C 03 30 50 */ subf r0, r3, r6 +/* 800A1BD0 0009EB30 7C 04 00 96 */ mulhw r0, r4, r0 +/* 800A1BD4 0009EB34 7C 00 1E 70 */ srawi r0, r0, 3 +/* 800A1BD8 0009EB38 54 04 0F FE */ srwi r4, r0, 0x1f +/* 800A1BDC 0009EB3C 7C 80 22 14 */ add r4, r0, r4 +/* 800A1BE0 0009EB40 2C 04 00 01 */ cmpwi r4, 1 +/* 800A1BE4 0009EB44 40 81 01 CC */ ble lbl_800A1DB0 +/* 800A1BE8 0009EB48 2C 04 00 14 */ cmpwi r4, 0x14 +/* 800A1BEC 0009EB4C 41 81 00 30 */ bgt lbl_800A1C1C +/* 800A1BF0 0009EB50 88 FE 00 00 */ lbz r7, 0(r30) +/* 800A1BF4 0009EB54 38 61 00 34 */ addi r3, r1, 0x34 +/* 800A1BF8 0009EB58 80 DD 00 00 */ lwz r6, 0(r29) +/* 800A1BFC 0009EB5C 38 81 00 30 */ addi r4, r1, 0x30 +/* 800A1C00 0009EB60 80 1C 00 00 */ lwz r0, 0(r28) +/* 800A1C04 0009EB64 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800A1C08 0009EB68 98 E1 00 14 */ stb r7, 0x14(r1) +/* 800A1C0C 0009EB6C 90 C1 00 30 */ stw r6, 0x30(r1) +/* 800A1C10 0009EB70 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A1C14 0009EB74 48 00 08 FD */ bl "__insertion_sort,Q24rstl17rmemory_allocator>,29CMapObjectSortInfoGreaterThan>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator__4rstlFRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfo29CMapObjectSortInfoGreaterThan" +/* 800A1C4C 0009EBAC 80 9C 00 00 */ lwz r4, 0(r28) +/* 800A1C50 0009EBB0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800A1C54 0009EBB4 38 84 00 14 */ addi r4, r4, 0x14 +/* 800A1C58 0009EBB8 80 BF 00 08 */ lwz r5, 8(r31) +/* 800A1C5C 0009EBBC 38 03 FF EC */ addi r0, r3, -20 +/* 800A1C60 0009EBC0 90 81 00 38 */ stw r4, 0x38(r1) +/* 800A1C64 0009EBC4 C3 FF 00 00 */ lfs f31, 0(r31) +/* 800A1C68 0009EBC8 54 BF 00 1E */ rlwinm r31, r5, 0, 0, 0xf +/* 800A1C6C 0009EBCC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800A1C70 0009EBD0 48 00 00 10 */ b lbl_800A1C80 +lbl_800A1C74: +/* 800A1C74 0009EBD4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800A1C78 0009EBD8 38 03 00 14 */ addi r0, r3, 0x14 +/* 800A1C7C 0009EBDC 90 01 00 38 */ stw r0, 0x38(r1) +lbl_800A1C80: +/* 800A1C80 0009EBE0 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800A1C84 0009EBE4 80 03 00 08 */ lwz r0, 8(r3) +/* 800A1C88 0009EBE8 54 04 00 1E */ rlwinm r4, r0, 0, 0, 0xf +/* 800A1C8C 0009EBEC 7C 04 F8 00 */ cmpw r4, r31 +/* 800A1C90 0009EBF0 40 82 00 18 */ bne lbl_800A1CA8 +/* 800A1C94 0009EBF4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800A1C98 0009EBF8 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 800A1C9C 0009EBFC 7C 00 00 26 */ mfcr r0 +/* 800A1CA0 0009EC00 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 800A1CA4 0009EC04 48 00 00 18 */ b lbl_800A1CBC +lbl_800A1CA8: +/* 800A1CA8 0009EC08 7C 80 FA 78 */ xor r0, r4, r31 +/* 800A1CAC 0009EC0C 7C 03 0E 70 */ srawi r3, r0, 1 +/* 800A1CB0 0009EC10 7C 00 20 38 */ and r0, r0, r4 +/* 800A1CB4 0009EC14 7C 00 18 50 */ subf r0, r0, r3 +/* 800A1CB8 0009EC18 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_800A1CBC: +/* 800A1CBC 0009EC1C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800A1CC0 0009EC20 40 82 FF B4 */ bne lbl_800A1C74 +/* 800A1CC4 0009EC24 48 00 00 10 */ b lbl_800A1CD4 +lbl_800A1CC8: +/* 800A1CC8 0009EC28 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800A1CCC 0009EC2C 38 03 FF EC */ addi r0, r3, -20 +/* 800A1CD0 0009EC30 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_800A1CD4: +/* 800A1CD4 0009EC34 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800A1CD8 0009EC38 80 03 00 08 */ lwz r0, 8(r3) +/* 800A1CDC 0009EC3C 54 00 00 1E */ rlwinm r0, r0, 0, 0, 0xf +/* 800A1CE0 0009EC40 7C 1F 00 00 */ cmpw r31, r0 +/* 800A1CE4 0009EC44 40 82 00 18 */ bne lbl_800A1CFC +/* 800A1CE8 0009EC48 C0 03 00 00 */ lfs f0, 0(r3) +/* 800A1CEC 0009EC4C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800A1CF0 0009EC50 7C 00 00 26 */ mfcr r0 +/* 800A1CF4 0009EC54 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 800A1CF8 0009EC58 48 00 00 18 */ b lbl_800A1D10 +lbl_800A1CFC: +/* 800A1CFC 0009EC5C 7F E0 02 78 */ xor r0, r31, r0 +/* 800A1D00 0009EC60 7C 03 0E 70 */ srawi r3, r0, 1 +/* 800A1D04 0009EC64 7C 00 F8 38 */ and r0, r0, r31 +/* 800A1D08 0009EC68 7C 00 18 50 */ subf r0, r0, r3 +/* 800A1D0C 0009EC6C 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_800A1D10: +/* 800A1D10 0009EC70 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800A1D14 0009EC74 40 82 FF B4 */ bne lbl_800A1CC8 +/* 800A1D18 0009EC78 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800A1D1C 0009EC7C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800A1D20 0009EC80 7C 03 00 40 */ cmplw r3, r0 +/* 800A1D24 0009EC84 40 80 00 3C */ bge lbl_800A1D60 +/* 800A1D28 0009EC88 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 800A1D2C 0009EC8C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800A1D30 0009EC90 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800A1D34 0009EC94 38 81 00 28 */ addi r4, r1, 0x28 +/* 800A1D38 0009EC98 90 A1 00 28 */ stw r5, 0x28(r1) +/* 800A1D3C 0009EC9C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800A1D40 0009ECA0 48 00 00 99 */ bl sub_800a1dd8 +/* 800A1D44 0009ECA4 80 81 00 38 */ lwz r4, 0x38(r1) +/* 800A1D48 0009ECA8 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800A1D4C 0009ECAC 38 84 00 14 */ addi r4, r4, 0x14 +/* 800A1D50 0009ECB0 38 03 FF EC */ addi r0, r3, -20 +/* 800A1D54 0009ECB4 90 81 00 38 */ stw r4, 0x38(r1) +/* 800A1D58 0009ECB8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800A1D5C 0009ECBC 4B FF FF 24 */ b lbl_800A1C80 +lbl_800A1D60: +/* 800A1D60 0009ECC0 88 FE 00 00 */ lbz r7, 0(r30) +/* 800A1D64 0009ECC4 38 61 00 24 */ addi r3, r1, 0x24 +/* 800A1D68 0009ECC8 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 800A1D6C 0009ECCC 38 81 00 20 */ addi r4, r1, 0x20 +/* 800A1D70 0009ECD0 80 1C 00 00 */ lwz r0, 0(r28) +/* 800A1D74 0009ECD4 38 A1 00 0C */ addi r5, r1, 0xc +/* 800A1D78 0009ECD8 98 E1 00 0C */ stb r7, 0xc(r1) +/* 800A1D7C 0009ECDC 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800A1D80 0009ECE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A1D84 0009ECE4 4B FF FE 09 */ bl sub_800a1b8c +/* 800A1D88 0009ECE8 88 FE 00 00 */ lbz r7, 0(r30) +/* 800A1D8C 0009ECEC 38 61 00 1C */ addi r3, r1, 0x1c +/* 800A1D90 0009ECF0 80 DD 00 00 */ lwz r6, 0(r29) +/* 800A1D94 0009ECF4 38 81 00 18 */ addi r4, r1, 0x18 +/* 800A1D98 0009ECF8 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800A1D9C 0009ECFC 38 A1 00 08 */ addi r5, r1, 8 +/* 800A1DA0 0009ED00 98 E1 00 08 */ stb r7, 8(r1) +/* 800A1DA4 0009ED04 90 C1 00 18 */ stw r6, 0x18(r1) +/* 800A1DA8 0009ED08 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800A1DAC 0009ED0C 4B FF FD E1 */ bl sub_800a1b8c +lbl_800A1DB0: +/* 800A1DB0 0009ED10 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 800A1DB4 0009ED14 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800A1DB8 0009ED18 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 800A1DBC 0009ED1C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800A1DC0 0009ED20 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800A1DC4 0009ED24 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800A1DC8 0009ED28 83 81 00 40 */ lwz r28, 0x40(r1) +/* 800A1DCC 0009ED2C 7C 08 03 A6 */ mtlr r0 +/* 800A1DD0 0009ED30 38 21 00 60 */ addi r1, r1, 0x60 +/* 800A1DD4 0009ED34 4E 80 00 20 */ blr + +.global sub_800a1dd8 +sub_800a1dd8: +/* 800A1DD8 0009ED38 81 23 00 00 */ lwz r9, 0(r3) +/* 800A1DDC 0009ED3C 80 64 00 00 */ lwz r3, 0(r4) +/* 800A1DE0 0009ED40 C0 29 00 00 */ lfs f1, 0(r9) +/* 800A1DE4 0009ED44 80 A9 00 04 */ lwz r5, 4(r9) +/* 800A1DE8 0009ED48 80 C9 00 08 */ lwz r6, 8(r9) +/* 800A1DEC 0009ED4C 80 E9 00 0C */ lwz r7, 0xc(r9) +/* 800A1DF0 0009ED50 81 09 00 10 */ lwz r8, 0x10(r9) +/* 800A1DF4 0009ED54 C0 03 00 00 */ lfs f0, 0(r3) +/* 800A1DF8 0009ED58 D0 09 00 00 */ stfs f0, 0(r9) +/* 800A1DFC 0009ED5C 80 03 00 04 */ lwz r0, 4(r3) +/* 800A1E00 0009ED60 90 09 00 04 */ stw r0, 4(r9) +/* 800A1E04 0009ED64 80 03 00 08 */ lwz r0, 8(r3) +/* 800A1E08 0009ED68 90 09 00 08 */ stw r0, 8(r9) +/* 800A1E0C 0009ED6C 80 03 00 0C */ lwz r0, 0xc(r3) +/* 800A1E10 0009ED70 90 09 00 0C */ stw r0, 0xc(r9) +/* 800A1E14 0009ED74 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800A1E18 0009ED78 90 09 00 10 */ stw r0, 0x10(r9) +/* 800A1E1C 0009ED7C 80 64 00 00 */ lwz r3, 0(r4) +/* 800A1E20 0009ED80 D0 23 00 00 */ stfs f1, 0(r3) +/* 800A1E24 0009ED84 90 A3 00 04 */ stw r5, 4(r3) +/* 800A1E28 0009ED88 90 C3 00 08 */ stw r6, 8(r3) +/* 800A1E2C 0009ED8C 90 E3 00 0C */ stw r7, 0xc(r3) +/* 800A1E30 0009ED90 91 03 00 10 */ stw r8, 0x10(r3) +/* 800A1E34 0009ED94 4E 80 00 20 */ blr + +.global "reserve__Q24rstl64vectorFi" +"reserve__Q24rstl64vectorFi": +/* 800A1E38 0009ED98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A1E3C 0009ED9C 7C 08 02 A6 */ mflr r0 +/* 800A1E40 0009EDA0 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A1E44 0009EDA4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800A1E48 0009EDA8 7C 9F 23 78 */ mr r31, r4 +/* 800A1E4C 0009EDAC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800A1E50 0009EDB0 7C 7E 1B 78 */ mr r30, r3 +/* 800A1E54 0009EDB4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800A1E58 0009EDB8 80 03 00 08 */ lwz r0, 8(r3) +/* 800A1E5C 0009EDBC 7C 1F 00 00 */ cmpw r31, r0 +/* 800A1E60 0009EDC0 40 81 00 C0 */ ble lbl_800A1F20 +/* 800A1E64 0009EDC4 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 800A1E68 0009EDC8 40 82 00 0C */ bne lbl_800A1E74 +/* 800A1E6C 0009EDCC 3B A0 00 00 */ li r29, 0 +/* 800A1E70 0009EDD0 48 00 00 18 */ b lbl_800A1E88 +lbl_800A1E74: +/* 800A1E74 0009EDD4 3C 80 80 3D */ lis r4, lbl_803CD960@ha +/* 800A1E78 0009EDD8 38 A0 00 00 */ li r5, 0 +/* 800A1E7C 0009EDDC 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l +/* 800A1E80 0009EDE0 48 27 39 99 */ bl __nwa__FUlPCcPCc +/* 800A1E84 0009EDE4 7C 7D 1B 78 */ mr r29, r3 +lbl_800A1E88: +/* 800A1E88 0009EDE8 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A1E8C 0009EDEC 7F A4 EB 78 */ mr r4, r29 +/* 800A1E90 0009EDF0 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800A1E94 0009EDF4 54 00 20 36 */ slwi r0, r0, 4 +/* 800A1E98 0009EDF8 7C 65 02 14 */ add r3, r5, r0 +/* 800A1E9C 0009EDFC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800A1EA0 0009EE00 90 61 00 08 */ stw r3, 8(r1) +/* 800A1EA4 0009EE04 90 61 00 0C */ stw r3, 0xc(r1) +/* 800A1EA8 0009EE08 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800A1EAC 0009EE0C 48 00 00 34 */ b lbl_800A1EE0 +lbl_800A1EB0: +/* 800A1EB0 0009EE10 28 04 00 00 */ cmplwi r4, 0 +/* 800A1EB4 0009EE14 41 82 00 24 */ beq lbl_800A1ED8 +/* 800A1EB8 0009EE18 80 05 00 00 */ lwz r0, 0(r5) +/* 800A1EBC 0009EE1C 90 04 00 00 */ stw r0, 0(r4) +/* 800A1EC0 0009EE20 80 05 00 04 */ lwz r0, 4(r5) +/* 800A1EC4 0009EE24 90 04 00 04 */ stw r0, 4(r4) +/* 800A1EC8 0009EE28 C0 05 00 08 */ lfs f0, 8(r5) +/* 800A1ECC 0009EE2C D0 04 00 08 */ stfs f0, 8(r4) +/* 800A1ED0 0009EE30 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 800A1ED4 0009EE34 D0 04 00 0C */ stfs f0, 0xc(r4) +lbl_800A1ED8: +/* 800A1ED8 0009EE38 38 84 00 10 */ addi r4, r4, 0x10 +/* 800A1EDC 0009EE3C 38 A5 00 10 */ addi r5, r5, 0x10 +lbl_800A1EE0: +/* 800A1EE0 0009EE40 7C 05 18 40 */ cmplw r5, r3 +/* 800A1EE4 0009EE44 40 82 FF CC */ bne lbl_800A1EB0 +/* 800A1EE8 0009EE48 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A1EEC 0009EE4C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800A1EF0 0009EE50 54 00 20 36 */ slwi r0, r0, 4 +/* 800A1EF4 0009EE54 7C 64 1B 78 */ mr r4, r3 +/* 800A1EF8 0009EE58 7C 03 02 14 */ add r0, r3, r0 +/* 800A1EFC 0009EE5C 48 00 00 08 */ b lbl_800A1F04 +lbl_800A1F00: +/* 800A1F00 0009EE60 38 84 00 10 */ addi r4, r4, 0x10 +lbl_800A1F04: +/* 800A1F04 0009EE64 7C 04 00 40 */ cmplw r4, r0 +/* 800A1F08 0009EE68 40 82 FF F8 */ bne lbl_800A1F00 +/* 800A1F0C 0009EE6C 28 03 00 00 */ cmplwi r3, 0 +/* 800A1F10 0009EE70 41 82 00 08 */ beq lbl_800A1F18 +/* 800A1F14 0009EE74 48 27 3A 1D */ bl Free__7CMemoryFPCv +lbl_800A1F18: +/* 800A1F18 0009EE78 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800A1F1C 0009EE7C 93 FE 00 08 */ stw r31, 8(r30) +lbl_800A1F20: +/* 800A1F20 0009EE80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A1F24 0009EE84 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800A1F28 0009EE88 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800A1F2C 0009EE8C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800A1F30 0009EE90 7C 08 03 A6 */ mtlr r0 +/* 800A1F34 0009EE94 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A1F38 0009EE98 4E 80 00 20 */ blr + +.global "reserve__Q24rstl61vectorFi" +"reserve__Q24rstl61vectorFi": +/* 800A1F3C 0009EE9C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800A1F40 0009EEA0 7C 08 02 A6 */ mflr r0 +/* 800A1F44 0009EEA4 90 01 00 44 */ stw r0, 0x44(r1) +/* 800A1F48 0009EEA8 BF 21 00 24 */ stmw r25, 0x24(r1) +/* 800A1F4C 0009EEAC 7C 9F 23 78 */ mr r31, r4 +/* 800A1F50 0009EEB0 7C 7E 1B 78 */ mr r30, r3 +/* 800A1F54 0009EEB4 80 03 00 08 */ lwz r0, 8(r3) +/* 800A1F58 0009EEB8 7C 1F 00 00 */ cmpw r31, r0 +/* 800A1F5C 0009EEBC 40 81 00 F8 */ ble lbl_800A2054 +/* 800A1F60 0009EEC0 1C 7F 00 18 */ mulli r3, r31, 0x18 +/* 800A1F64 0009EEC4 2C 03 00 00 */ cmpwi r3, 0 +/* 800A1F68 0009EEC8 40 82 00 0C */ bne lbl_800A1F74 +/* 800A1F6C 0009EECC 3B 80 00 00 */ li r28, 0 +/* 800A1F70 0009EED0 48 00 00 18 */ b lbl_800A1F88 +lbl_800A1F74: +/* 800A1F74 0009EED4 3C 80 80 3D */ lis r4, lbl_803CD960@ha +/* 800A1F78 0009EED8 38 A0 00 00 */ li r5, 0 +/* 800A1F7C 0009EEDC 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l +/* 800A1F80 0009EEE0 48 27 38 99 */ bl __nwa__FUlPCcPCc +/* 800A1F84 0009EEE4 7C 7C 1B 78 */ mr r28, r3 +lbl_800A1F88: +/* 800A1F88 0009EEE8 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A1F8C 0009EEEC 7F 9B E3 78 */ mr r27, r28 +/* 800A1F90 0009EEF0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 800A1F94 0009EEF4 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 800A1F98 0009EEF8 93 41 00 10 */ stw r26, 0x10(r1) +/* 800A1F9C 0009EEFC 7F BA 02 14 */ add r29, r26, r0 +/* 800A1FA0 0009EF00 93 41 00 14 */ stw r26, 0x14(r1) +/* 800A1FA4 0009EF04 93 A1 00 08 */ stw r29, 8(r1) +/* 800A1FA8 0009EF08 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800A1FAC 0009EF0C 48 00 00 44 */ b lbl_800A1FF0 +lbl_800A1FB0: +/* 800A1FB0 0009EF10 28 1B 00 00 */ cmplwi r27, 0 +/* 800A1FB4 0009EF14 41 82 00 34 */ beq lbl_800A1FE8 +/* 800A1FB8 0009EF18 80 1A 00 00 */ lwz r0, 0(r26) +/* 800A1FBC 0009EF1C 3B 3B 00 04 */ addi r25, r27, 4 +/* 800A1FC0 0009EF20 7F 23 CB 78 */ mr r3, r25 +/* 800A1FC4 0009EF24 38 9A 00 04 */ addi r4, r26, 4 +/* 800A1FC8 0009EF28 90 1B 00 00 */ stw r0, 0(r27) +/* 800A1FCC 0009EF2C 48 29 EE DD */ bl __ct__6CTokenFRC6CToken +/* 800A1FD0 0009EF30 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 800A1FD4 0009EF34 90 19 00 08 */ stw r0, 8(r25) +/* 800A1FD8 0009EF38 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 800A1FDC 0009EF3C 90 1B 00 10 */ stw r0, 0x10(r27) +/* 800A1FE0 0009EF40 80 1A 00 14 */ lwz r0, 0x14(r26) +/* 800A1FE4 0009EF44 90 1B 00 14 */ stw r0, 0x14(r27) +lbl_800A1FE8: +/* 800A1FE8 0009EF48 3B 7B 00 18 */ addi r27, r27, 0x18 +/* 800A1FEC 0009EF4C 3B 5A 00 18 */ addi r26, r26, 0x18 +lbl_800A1FF0: +/* 800A1FF0 0009EF50 7C 1A E8 40 */ cmplw r26, r29 +/* 800A1FF4 0009EF54 40 82 FF BC */ bne lbl_800A1FB0 +/* 800A1FF8 0009EF58 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A1FFC 0009EF5C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 800A2000 0009EF60 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 800A2004 0009EF64 7F 7A 02 14 */ add r27, r26, r0 +/* 800A2008 0009EF68 48 00 00 2C */ b lbl_800A2034 +lbl_800A200C: +/* 800A200C 0009EF6C 28 1A 00 00 */ cmplwi r26, 0 +/* 800A2010 0009EF70 41 82 00 20 */ beq lbl_800A2030 +/* 800A2014 0009EF74 34 1A 00 04 */ addic. r0, r26, 4 +/* 800A2018 0009EF78 41 82 00 18 */ beq lbl_800A2030 +/* 800A201C 0009EF7C 34 1A 00 04 */ addic. r0, r26, 4 +/* 800A2020 0009EF80 41 82 00 10 */ beq lbl_800A2030 +/* 800A2024 0009EF84 38 7A 00 04 */ addi r3, r26, 4 +/* 800A2028 0009EF88 38 80 00 00 */ li r4, 0 +/* 800A202C 0009EF8C 48 29 EE 15 */ bl __dt__6CTokenFv +lbl_800A2030: +/* 800A2030 0009EF90 3B 5A 00 18 */ addi r26, r26, 0x18 +lbl_800A2034: +/* 800A2034 0009EF94 7C 1A D8 40 */ cmplw r26, r27 +/* 800A2038 0009EF98 40 82 FF D4 */ bne lbl_800A200C +/* 800A203C 0009EF9C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800A2040 0009EFA0 28 03 00 00 */ cmplwi r3, 0 +/* 800A2044 0009EFA4 41 82 00 08 */ beq lbl_800A204C +/* 800A2048 0009EFA8 48 27 38 E9 */ bl Free__7CMemoryFPCv +lbl_800A204C: +/* 800A204C 0009EFAC 93 9E 00 0C */ stw r28, 0xc(r30) +/* 800A2050 0009EFB0 93 FE 00 08 */ stw r31, 8(r30) +lbl_800A2054: +/* 800A2054 0009EFB4 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 800A2058 0009EFB8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800A205C 0009EFBC 7C 08 03 A6 */ mtlr r0 +/* 800A2060 0009EFC0 38 21 00 40 */ addi r1, r1, 0x40 +/* 800A2064 0009EFC4 4E 80 00 20 */ blr + +.global sub_800a2068 +sub_800a2068: +/* 800A2068 0009EFC8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A206C 0009EFCC 7C 08 02 A6 */ mflr r0 +/* 800A2070 0009EFD0 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A2074 0009EFD4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800A2078 0009EFD8 7C 9F 23 78 */ mr r31, r4 +/* 800A207C 0009EFDC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800A2080 0009EFE0 7C 7E 1B 78 */ mr r30, r3 +/* 800A2084 0009EFE4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800A2088 0009EFE8 80 03 00 08 */ lwz r0, 8(r3) +/* 800A208C 0009EFEC 7C 1F 00 00 */ cmpw r31, r0 +/* 800A2090 0009EFF0 40 81 00 A8 */ ble lbl_800A2138 +/* 800A2094 0009EFF4 7F E3 FB 79 */ or. r3, r31, r31 +/* 800A2098 0009EFF8 40 82 00 0C */ bne lbl_800A20A4 +/* 800A209C 0009EFFC 3B A0 00 00 */ li r29, 0 +/* 800A20A0 0009F000 48 00 00 18 */ b lbl_800A20B8 +lbl_800A20A4: +/* 800A20A4 0009F004 3C 80 80 3D */ lis r4, lbl_803CD960@ha +/* 800A20A8 0009F008 38 A0 00 00 */ li r5, 0 +/* 800A20AC 0009F00C 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l +/* 800A20B0 0009F010 48 27 37 69 */ bl __nwa__FUlPCcPCc +/* 800A20B4 0009F014 7C 7D 1B 78 */ mr r29, r3 +lbl_800A20B8: +/* 800A20B8 0009F018 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800A20BC 0009F01C 7F A4 EB 78 */ mr r4, r29 +/* 800A20C0 0009F020 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A20C4 0009F024 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800A20C8 0009F028 7C 65 02 14 */ add r3, r5, r0 +/* 800A20CC 0009F02C 7C 05 18 50 */ subf r0, r5, r3 +/* 800A20D0 0009F030 90 61 00 08 */ stw r3, 8(r1) +/* 800A20D4 0009F034 90 61 00 0C */ stw r3, 0xc(r1) +/* 800A20D8 0009F038 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800A20DC 0009F03C 7C 09 03 A6 */ mtctr r0 +/* 800A20E0 0009F040 7C 05 18 40 */ cmplw r5, r3 +/* 800A20E4 0009F044 41 82 00 20 */ beq lbl_800A2104 +lbl_800A20E8: +/* 800A20E8 0009F048 28 04 00 00 */ cmplwi r4, 0 +/* 800A20EC 0009F04C 41 82 00 0C */ beq lbl_800A20F8 +/* 800A20F0 0009F050 88 05 00 00 */ lbz r0, 0(r5) +/* 800A20F4 0009F054 98 04 00 00 */ stb r0, 0(r4) +lbl_800A20F8: +/* 800A20F8 0009F058 38 84 00 01 */ addi r4, r4, 1 +/* 800A20FC 0009F05C 38 A5 00 01 */ addi r5, r5, 1 +/* 800A2100 0009F060 42 00 FF E8 */ bdnz lbl_800A20E8 +lbl_800A2104: +/* 800A2104 0009F064 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800A2108 0009F068 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A210C 0009F06C 7C 83 02 14 */ add r4, r3, r0 +/* 800A2110 0009F070 7C 03 20 50 */ subf r0, r3, r4 +/* 800A2114 0009F074 7C 09 03 A6 */ mtctr r0 +/* 800A2118 0009F078 7C 03 20 40 */ cmplw r3, r4 +/* 800A211C 0009F07C 41 82 00 08 */ beq lbl_800A2124 +lbl_800A2120: +/* 800A2120 0009F080 42 00 00 00 */ bdnz lbl_800A2120 +lbl_800A2124: +/* 800A2124 0009F084 28 03 00 00 */ cmplwi r3, 0 +/* 800A2128 0009F088 41 82 00 08 */ beq lbl_800A2130 +/* 800A212C 0009F08C 48 27 38 05 */ bl Free__7CMemoryFPCv +lbl_800A2130: +/* 800A2130 0009F090 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800A2134 0009F094 93 FE 00 08 */ stw r31, 8(r30) +lbl_800A2138: +/* 800A2138 0009F098 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A213C 0009F09C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800A2140 0009F0A0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800A2144 0009F0A4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800A2148 0009F0A8 7C 08 03 A6 */ mtlr r0 +/* 800A214C 0009F0AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A2150 0009F0B0 4E 80 00 20 */ blr + +.global "reserve__Q24rstl67vectorFi" +"reserve__Q24rstl67vectorFi": +/* 800A2154 0009F0B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A2158 0009F0B8 7C 08 02 A6 */ mflr r0 +/* 800A215C 0009F0BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A2160 0009F0C0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800A2164 0009F0C4 7C 9F 23 78 */ mr r31, r4 +/* 800A2168 0009F0C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800A216C 0009F0CC 7C 7E 1B 78 */ mr r30, r3 +/* 800A2170 0009F0D0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800A2174 0009F0D4 80 03 00 08 */ lwz r0, 8(r3) +/* 800A2178 0009F0D8 7C 1F 00 00 */ cmpw r31, r0 +/* 800A217C 0009F0DC 40 81 00 CC */ ble lbl_800A2248 +/* 800A2180 0009F0E0 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 800A2184 0009F0E4 2C 03 00 00 */ cmpwi r3, 0 +/* 800A2188 0009F0E8 40 82 00 0C */ bne lbl_800A2194 +/* 800A218C 0009F0EC 3B A0 00 00 */ li r29, 0 +/* 800A2190 0009F0F0 48 00 00 18 */ b lbl_800A21A8 +lbl_800A2194: +/* 800A2194 0009F0F4 3C 80 80 3D */ lis r4, lbl_803CD960@ha +/* 800A2198 0009F0F8 38 A0 00 00 */ li r5, 0 +/* 800A219C 0009F0FC 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l +/* 800A21A0 0009F100 48 27 36 79 */ bl __nwa__FUlPCcPCc +/* 800A21A4 0009F104 7C 7D 1B 78 */ mr r29, r3 +lbl_800A21A8: +/* 800A21A8 0009F108 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A21AC 0009F10C 7F A4 EB 78 */ mr r4, r29 +/* 800A21B0 0009F110 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800A21B4 0009F114 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800A21B8 0009F118 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800A21BC 0009F11C 7C 65 02 14 */ add r3, r5, r0 +/* 800A21C0 0009F120 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800A21C4 0009F124 90 61 00 08 */ stw r3, 8(r1) +/* 800A21C8 0009F128 90 61 00 0C */ stw r3, 0xc(r1) +/* 800A21CC 0009F12C 48 00 00 3C */ b lbl_800A2208 +lbl_800A21D0: +/* 800A21D0 0009F130 28 04 00 00 */ cmplwi r4, 0 +/* 800A21D4 0009F134 41 82 00 2C */ beq lbl_800A2200 +/* 800A21D8 0009F138 C0 05 00 00 */ lfs f0, 0(r5) +/* 800A21DC 0009F13C D0 04 00 00 */ stfs f0, 0(r4) +/* 800A21E0 0009F140 80 05 00 04 */ lwz r0, 4(r5) +/* 800A21E4 0009F144 90 04 00 04 */ stw r0, 4(r4) +/* 800A21E8 0009F148 80 05 00 08 */ lwz r0, 8(r5) +/* 800A21EC 0009F14C 90 04 00 08 */ stw r0, 8(r4) +/* 800A21F0 0009F150 80 05 00 0C */ lwz r0, 0xc(r5) +/* 800A21F4 0009F154 90 04 00 0C */ stw r0, 0xc(r4) +/* 800A21F8 0009F158 80 05 00 10 */ lwz r0, 0x10(r5) +/* 800A21FC 0009F15C 90 04 00 10 */ stw r0, 0x10(r4) +lbl_800A2200: +/* 800A2200 0009F160 38 84 00 14 */ addi r4, r4, 0x14 +/* 800A2204 0009F164 38 A5 00 14 */ addi r5, r5, 0x14 +lbl_800A2208: +/* 800A2208 0009F168 7C 05 18 40 */ cmplw r5, r3 +/* 800A220C 0009F16C 40 82 FF C4 */ bne lbl_800A21D0 +/* 800A2210 0009F170 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A2214 0009F174 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800A2218 0009F178 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800A221C 0009F17C 7C 64 1B 78 */ mr r4, r3 +/* 800A2220 0009F180 7C 03 02 14 */ add r0, r3, r0 +/* 800A2224 0009F184 48 00 00 08 */ b lbl_800A222C +lbl_800A2228: +/* 800A2228 0009F188 38 84 00 14 */ addi r4, r4, 0x14 +lbl_800A222C: +/* 800A222C 0009F18C 7C 04 00 40 */ cmplw r4, r0 +/* 800A2230 0009F190 40 82 FF F8 */ bne lbl_800A2228 +/* 800A2234 0009F194 28 03 00 00 */ cmplwi r3, 0 +/* 800A2238 0009F198 41 82 00 08 */ beq lbl_800A2240 +/* 800A223C 0009F19C 48 27 36 F5 */ bl Free__7CMemoryFPCv +lbl_800A2240: +/* 800A2240 0009F1A0 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800A2244 0009F1A4 93 FE 00 08 */ stw r31, 8(r30) +lbl_800A2248: +/* 800A2248 0009F1A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A224C 0009F1AC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800A2250 0009F1B0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800A2254 0009F1B4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800A2258 0009F1B8 7C 08 03 A6 */ mtlr r0 +/* 800A225C 0009F1BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A2260 0009F1C0 4E 80 00 20 */ blr + +.global "reserve__Q24rstl45vector<9CVector2f,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl45vector<9CVector2f,Q24rstl17rmemory_allocator>Fi": +/* 800A2264 0009F1C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A2268 0009F1C8 7C 08 02 A6 */ mflr r0 +/* 800A226C 0009F1CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A2270 0009F1D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800A2274 0009F1D4 7C 9F 23 78 */ mr r31, r4 +/* 800A2278 0009F1D8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800A227C 0009F1DC 7C 7E 1B 78 */ mr r30, r3 +/* 800A2280 0009F1E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800A2284 0009F1E4 80 03 00 08 */ lwz r0, 8(r3) +/* 800A2288 0009F1E8 7C 1F 00 00 */ cmpw r31, r0 +/* 800A228C 0009F1EC 40 81 00 B0 */ ble lbl_800A233C +/* 800A2290 0009F1F0 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 800A2294 0009F1F4 40 82 00 0C */ bne lbl_800A22A0 +/* 800A2298 0009F1F8 3B A0 00 00 */ li r29, 0 +/* 800A229C 0009F1FC 48 00 00 18 */ b lbl_800A22B4 +lbl_800A22A0: +/* 800A22A0 0009F200 3C 80 80 3D */ lis r4, lbl_803CD960@ha +/* 800A22A4 0009F204 38 A0 00 00 */ li r5, 0 +/* 800A22A8 0009F208 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l +/* 800A22AC 0009F20C 48 27 35 6D */ bl __nwa__FUlPCcPCc +/* 800A22B0 0009F210 7C 7D 1B 78 */ mr r29, r3 +lbl_800A22B4: +/* 800A22B4 0009F214 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A22B8 0009F218 7F A3 EB 78 */ mr r3, r29 +/* 800A22BC 0009F21C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 800A22C0 0009F220 54 00 18 38 */ slwi r0, r0, 3 +/* 800A22C4 0009F224 7C 04 02 14 */ add r0, r4, r0 +/* 800A22C8 0009F228 90 81 00 10 */ stw r4, 0x10(r1) +/* 800A22CC 0009F22C 90 01 00 08 */ stw r0, 8(r1) +/* 800A22D0 0009F230 90 01 00 0C */ stw r0, 0xc(r1) +/* 800A22D4 0009F234 90 81 00 14 */ stw r4, 0x14(r1) +/* 800A22D8 0009F238 48 00 00 24 */ b lbl_800A22FC +lbl_800A22DC: +/* 800A22DC 0009F23C 28 03 00 00 */ cmplwi r3, 0 +/* 800A22E0 0009F240 41 82 00 14 */ beq lbl_800A22F4 +/* 800A22E4 0009F244 C0 04 00 00 */ lfs f0, 0(r4) +/* 800A22E8 0009F248 D0 03 00 00 */ stfs f0, 0(r3) +/* 800A22EC 0009F24C C0 04 00 04 */ lfs f0, 4(r4) +/* 800A22F0 0009F250 D0 03 00 04 */ stfs f0, 4(r3) +lbl_800A22F4: +/* 800A22F4 0009F254 38 63 00 08 */ addi r3, r3, 8 +/* 800A22F8 0009F258 38 84 00 08 */ addi r4, r4, 8 +lbl_800A22FC: +/* 800A22FC 0009F25C 7C 04 00 40 */ cmplw r4, r0 +/* 800A2300 0009F260 40 82 FF DC */ bne lbl_800A22DC +/* 800A2304 0009F264 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A2308 0009F268 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800A230C 0009F26C 54 00 18 38 */ slwi r0, r0, 3 +/* 800A2310 0009F270 7C 64 1B 78 */ mr r4, r3 +/* 800A2314 0009F274 7C 03 02 14 */ add r0, r3, r0 +/* 800A2318 0009F278 48 00 00 08 */ b lbl_800A2320 +lbl_800A231C: +/* 800A231C 0009F27C 38 84 00 08 */ addi r4, r4, 8 +lbl_800A2320: +/* 800A2320 0009F280 7C 04 00 40 */ cmplw r4, r0 +/* 800A2324 0009F284 40 82 FF F8 */ bne lbl_800A231C +/* 800A2328 0009F288 28 03 00 00 */ cmplwi r3, 0 +/* 800A232C 0009F28C 41 82 00 08 */ beq lbl_800A2334 +/* 800A2330 0009F290 48 27 36 01 */ bl Free__7CMemoryFPCv +lbl_800A2334: +/* 800A2334 0009F294 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800A2338 0009F298 93 FE 00 08 */ stw r31, 8(r30) +lbl_800A233C: +/* 800A233C 0009F29C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A2340 0009F2A0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800A2344 0009F2A4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800A2348 0009F2A8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800A234C 0009F2AC 7C 08 03 A6 */ mtlr r0 +/* 800A2350 0009F2B0 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A2354 0009F2B4 4E 80 00 20 */ blr + +.global "__sort3__4rstlFRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfo29CMapObjectSortInfoGreaterThan" +"__sort3__4rstlFRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfo29CMapObjectSortInfoGreaterThan": +/* 800A2358 0009F2B8 80 04 00 08 */ lwz r0, 8(r4) +/* 800A235C 0009F2BC 81 23 00 08 */ lwz r9, 8(r3) +/* 800A2360 0009F2C0 54 07 00 1E */ rlwinm r7, r0, 0, 0, 0xf +/* 800A2364 0009F2C4 55 20 00 1E */ rlwinm r0, r9, 0, 0, 0xf +/* 800A2368 0009F2C8 7C 07 00 00 */ cmpw r7, r0 +/* 800A236C 0009F2CC 40 82 00 1C */ bne lbl_800A2388 +/* 800A2370 0009F2D0 C0 24 00 00 */ lfs f1, 0(r4) +/* 800A2374 0009F2D4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800A2378 0009F2D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800A237C 0009F2DC 7C 00 00 26 */ mfcr r0 +/* 800A2380 0009F2E0 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 800A2384 0009F2E4 48 00 00 18 */ b lbl_800A239C +lbl_800A2388: +/* 800A2388 0009F2E8 7C E0 02 78 */ xor r0, r7, r0 +/* 800A238C 0009F2EC 7C 06 0E 70 */ srawi r6, r0, 1 +/* 800A2390 0009F2F0 7C 00 38 38 */ and r0, r0, r7 +/* 800A2394 0009F2F4 7C 00 30 50 */ subf r0, r0, r6 +/* 800A2398 0009F2F8 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_800A239C: +/* 800A239C 0009F2FC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800A23A0 0009F300 41 82 00 50 */ beq lbl_800A23F0 +/* 800A23A4 0009F304 C0 23 00 00 */ lfs f1, 0(r3) +/* 800A23A8 0009F308 80 C3 00 04 */ lwz r6, 4(r3) +/* 800A23AC 0009F30C 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 800A23B0 0009F310 81 03 00 10 */ lwz r8, 0x10(r3) +/* 800A23B4 0009F314 C0 04 00 00 */ lfs f0, 0(r4) +/* 800A23B8 0009F318 D0 03 00 00 */ stfs f0, 0(r3) +/* 800A23BC 0009F31C 80 04 00 04 */ lwz r0, 4(r4) +/* 800A23C0 0009F320 90 03 00 04 */ stw r0, 4(r3) +/* 800A23C4 0009F324 80 04 00 08 */ lwz r0, 8(r4) +/* 800A23C8 0009F328 90 03 00 08 */ stw r0, 8(r3) +/* 800A23CC 0009F32C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 800A23D0 0009F330 90 03 00 0C */ stw r0, 0xc(r3) +/* 800A23D4 0009F334 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800A23D8 0009F338 90 03 00 10 */ stw r0, 0x10(r3) +/* 800A23DC 0009F33C D0 24 00 00 */ stfs f1, 0(r4) +/* 800A23E0 0009F340 90 C4 00 04 */ stw r6, 4(r4) +/* 800A23E4 0009F344 91 24 00 08 */ stw r9, 8(r4) +/* 800A23E8 0009F348 90 E4 00 0C */ stw r7, 0xc(r4) +/* 800A23EC 0009F34C 91 04 00 10 */ stw r8, 0x10(r4) +lbl_800A23F0: +/* 800A23F0 0009F350 80 05 00 08 */ lwz r0, 8(r5) +/* 800A23F4 0009F354 80 C4 00 08 */ lwz r6, 8(r4) +/* 800A23F8 0009F358 54 08 00 1E */ rlwinm r8, r0, 0, 0, 0xf +/* 800A23FC 0009F35C 54 C6 00 1E */ rlwinm r6, r6, 0, 0, 0xf +/* 800A2400 0009F360 7C 08 30 00 */ cmpw r8, r6 +/* 800A2404 0009F364 40 82 00 1C */ bne lbl_800A2420 +/* 800A2408 0009F368 C0 25 00 00 */ lfs f1, 0(r5) +/* 800A240C 0009F36C C0 04 00 00 */ lfs f0, 0(r4) +/* 800A2410 0009F370 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800A2414 0009F374 7C C0 00 26 */ mfcr r6 +/* 800A2418 0009F378 54 C6 17 FE */ rlwinm r6, r6, 2, 0x1f, 0x1f +/* 800A241C 0009F37C 48 00 00 18 */ b lbl_800A2434 +lbl_800A2420: +/* 800A2420 0009F380 7D 06 32 78 */ xor r6, r8, r6 +/* 800A2424 0009F384 7C C7 0E 70 */ srawi r7, r6, 1 +/* 800A2428 0009F388 7C C6 40 38 */ and r6, r6, r8 +/* 800A242C 0009F38C 7C C6 38 50 */ subf r6, r6, r7 +/* 800A2430 0009F390 54 C6 0F FE */ srwi r6, r6, 0x1f +lbl_800A2434: +/* 800A2434 0009F394 54 C6 06 3F */ clrlwi. r6, r6, 0x18 +/* 800A2438 0009F398 4D 82 00 20 */ beqlr +/* 800A243C 0009F39C C0 25 00 00 */ lfs f1, 0(r5) +/* 800A2440 0009F3A0 54 0A 00 1E */ rlwinm r10, r0, 0, 0, 0xf +/* 800A2444 0009F3A4 80 E5 00 04 */ lwz r7, 4(r5) +/* 800A2448 0009F3A8 81 05 00 0C */ lwz r8, 0xc(r5) +/* 800A244C 0009F3AC 81 25 00 10 */ lwz r9, 0x10(r5) +/* 800A2450 0009F3B0 C0 04 00 00 */ lfs f0, 0(r4) +/* 800A2454 0009F3B4 D0 05 00 00 */ stfs f0, 0(r5) +/* 800A2458 0009F3B8 80 C4 00 04 */ lwz r6, 4(r4) +/* 800A245C 0009F3BC 90 C5 00 04 */ stw r6, 4(r5) +/* 800A2460 0009F3C0 80 C4 00 08 */ lwz r6, 8(r4) +/* 800A2464 0009F3C4 90 C5 00 08 */ stw r6, 8(r5) +/* 800A2468 0009F3C8 80 C4 00 0C */ lwz r6, 0xc(r4) +/* 800A246C 0009F3CC 90 C5 00 0C */ stw r6, 0xc(r5) +/* 800A2470 0009F3D0 80 C4 00 10 */ lwz r6, 0x10(r4) +/* 800A2474 0009F3D4 90 C5 00 10 */ stw r6, 0x10(r5) +/* 800A2478 0009F3D8 80 A3 00 08 */ lwz r5, 8(r3) +/* 800A247C 0009F3DC 54 A5 00 1E */ rlwinm r5, r5, 0, 0, 0xf +/* 800A2480 0009F3E0 7C 0A 28 00 */ cmpw r10, r5 +/* 800A2484 0009F3E4 40 82 00 18 */ bne lbl_800A249C +/* 800A2488 0009F3E8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800A248C 0009F3EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800A2490 0009F3F0 7C A0 00 26 */ mfcr r5 +/* 800A2494 0009F3F4 54 A5 17 FE */ rlwinm r5, r5, 2, 0x1f, 0x1f +/* 800A2498 0009F3F8 48 00 00 18 */ b lbl_800A24B0 +lbl_800A249C: +/* 800A249C 0009F3FC 7D 45 2A 78 */ xor r5, r10, r5 +/* 800A24A0 0009F400 7C A6 0E 70 */ srawi r6, r5, 1 +/* 800A24A4 0009F404 7C A5 50 38 */ and r5, r5, r10 +/* 800A24A8 0009F408 7C A5 30 50 */ subf r5, r5, r6 +/* 800A24AC 0009F40C 54 A5 0F FE */ srwi r5, r5, 0x1f +lbl_800A24B0: +/* 800A24B0 0009F410 54 A5 06 3F */ clrlwi. r5, r5, 0x18 +/* 800A24B4 0009F414 41 82 00 44 */ beq lbl_800A24F8 +/* 800A24B8 0009F418 C0 03 00 00 */ lfs f0, 0(r3) +/* 800A24BC 0009F41C D0 04 00 00 */ stfs f0, 0(r4) +/* 800A24C0 0009F420 80 A3 00 04 */ lwz r5, 4(r3) +/* 800A24C4 0009F424 90 A4 00 04 */ stw r5, 4(r4) +/* 800A24C8 0009F428 80 A3 00 08 */ lwz r5, 8(r3) +/* 800A24CC 0009F42C 90 A4 00 08 */ stw r5, 8(r4) +/* 800A24D0 0009F430 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 800A24D4 0009F434 90 A4 00 0C */ stw r5, 0xc(r4) +/* 800A24D8 0009F438 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 800A24DC 0009F43C 90 A4 00 10 */ stw r5, 0x10(r4) +/* 800A24E0 0009F440 D0 23 00 00 */ stfs f1, 0(r3) +/* 800A24E4 0009F444 90 E3 00 04 */ stw r7, 4(r3) +/* 800A24E8 0009F448 90 03 00 08 */ stw r0, 8(r3) +/* 800A24EC 0009F44C 91 03 00 0C */ stw r8, 0xc(r3) +/* 800A24F0 0009F450 91 23 00 10 */ stw r9, 0x10(r3) +/* 800A24F4 0009F454 4E 80 00 20 */ blr +lbl_800A24F8: +/* 800A24F8 0009F458 D0 24 00 00 */ stfs f1, 0(r4) +/* 800A24FC 0009F45C 90 E4 00 04 */ stw r7, 4(r4) +/* 800A2500 0009F460 90 04 00 08 */ stw r0, 8(r4) +/* 800A2504 0009F464 91 04 00 0C */ stw r8, 0xc(r4) +/* 800A2508 0009F468 91 24 00 10 */ stw r9, 0x10(r4) +/* 800A250C 0009F46C 4E 80 00 20 */ blr + +.global "__insertion_sort,Q24rstl17rmemory_allocator>,29CMapObjectSortInfoGreaterThan>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>,29CMapObjectSortInfoGreaterThan>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator__5CMathFRCfRCf" +/* 800A2AE8 0009FA48 C0 23 00 00 */ lfs f1, 0(r3) +/* 800A2AEC 0009FA4C 7F C4 F3 78 */ mr r4, r30 +/* 800A2AF0 0009FA50 C0 02 8C 64 */ lfs f0, lbl_805AA984@sda21(r2) +/* 800A2AF4 0009FA54 38 61 00 90 */ addi r3, r1, 0x90 +/* 800A2AF8 0009FA58 C0 42 8C 6C */ lfs f2, lbl_805AA98C@sda21(r2) +/* 800A2AFC 0009FA5C EC 61 00 28 */ fsubs f3, f1, f0 +/* 800A2B00 0009FA60 C0 22 8C 70 */ lfs f1, lbl_805AA990@sda21(r2) +/* 800A2B04 0009FA64 C0 02 8C 68 */ lfs f0, lbl_805AA988@sda21(r2) +/* 800A2B08 0009FA68 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 800A2B0C 0009FA6C EC 22 08 24 */ fdivs f1, f2, f1 +/* 800A2B10 0009FA70 EF E0 08 2A */ fadds f31, f0, f1 +/* 800A2B14 0009FA74 4B FD 3B B9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800A2B18 0009FA78 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800A2B1C 0009FA7C FC 20 F8 90 */ fmr f1, f31 +/* 800A2B20 0009FA80 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 800A2B24 0009FA84 7F E5 FB 78 */ mr r5, r31 +/* 800A2B28 0009FA88 C0 9D 00 40 */ lfs f4, 0x40(r29) +/* 800A2B2C 0009FA8C 7F C6 F3 78 */ mr r6, r30 +/* 800A2B30 0009FA90 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 800A2B34 0009FA94 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 800A2B38 0009FA98 38 81 00 1C */ addi r4, r1, 0x1c +/* 800A2B3C 0009FA9C 38 E1 00 6C */ addi r7, r1, 0x6c +/* 800A2B40 0009FAA0 39 00 00 01 */ li r8, 1 +/* 800A2B44 0009FAA4 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800A2B48 0009FAA8 D0 61 00 74 */ stfs f3, 0x74(r1) +/* 800A2B4C 0009FAAC A0 1D 00 08 */ lhz r0, 8(r29) +/* 800A2B50 0009FAB0 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 800A2B54 0009FAB4 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800A2B58 0009FAB8 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800A2B5C 0009FABC 80 7F 08 7C */ lwz r3, 0x87c(r31) +/* 800A2B60 0009FAC0 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 800A2B64 0009FAC4 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800A2B68 0009FAC8 48 08 C7 51 */ bl CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb +lbl_800A2B6C: +/* 800A2B6C 0009FACC A0 1D 00 08 */ lhz r0, 8(r29) +/* 800A2B70 0009FAD0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800A2B74 0009FAD4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800A2B78 0009FAD8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800A2B7C 0009FADC 80 7F 08 7C */ lwz r3, 0x87c(r31) +/* 800A2B80 0009FAE0 48 08 CA 01 */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId +/* 800A2B84 0009FAE4 7F A3 EB 78 */ mr r3, r29 +/* 800A2B88 0009FAE8 FF E0 08 90 */ fmr f31, f1 +/* 800A2B8C 0009FAEC 81 9D 00 00 */ lwz r12, 0(r29) +/* 800A2B90 0009FAF0 7F E4 FB 78 */ mr r4, r31 +/* 800A2B94 0009FAF4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800A2B98 0009FAF8 7D 89 03 A6 */ mtctr r12 +/* 800A2B9C 0009FAFC 4E 80 04 21 */ bctrl +/* 800A2BA0 0009FB00 C0 23 00 00 */ lfs f1, 0(r3) +/* 800A2BA4 0009FB04 C0 02 8C 78 */ lfs f0, lbl_805AA998@sda21(r2) +/* 800A2BA8 0009FB08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800A2BAC 0009FB0C 40 81 00 0C */ ble lbl_800A2BB8 +/* 800A2BB0 0009FB10 C0 02 8C 5C */ lfs f0, lbl_805AA97C@sda21(r2) +/* 800A2BB4 0009FB14 48 00 00 08 */ b lbl_800A2BBC +lbl_800A2BB8: +/* 800A2BB8 0009FB18 C0 02 8C 74 */ lfs f0, lbl_805AA994@sda21(r2) +lbl_800A2BBC: +/* 800A2BBC 0009FB1C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800A2BC0 0009FB20 4C 41 13 82 */ cror 2, 1, 2 +/* 800A2BC4 0009FB24 40 82 00 BC */ bne lbl_800A2C80 +/* 800A2BC8 0009FB28 7F C4 F3 78 */ mr r4, r30 +/* 800A2BCC 0009FB2C 38 61 00 78 */ addi r3, r1, 0x78 +/* 800A2BD0 0009FB30 4B FD 3A FD */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800A2BD4 0009FB34 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 800A2BD8 0009FB38 38 61 00 2C */ addi r3, r1, 0x2c +/* 800A2BDC 0009FB3C C0 5D 00 50 */ lfs f2, 0x50(r29) +/* 800A2BE0 0009FB40 C0 BD 00 40 */ lfs f5, 0x40(r29) +/* 800A2BE4 0009FB44 C0 22 8C 78 */ lfs f1, lbl_805AA998@sda21(r2) +/* 800A2BE8 0009FB48 C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 800A2BEC 0009FB4C C0 02 8C 7C */ lfs f0, lbl_805AA99C@sda21(r2) +/* 800A2BF0 0009FB50 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 800A2BF4 0009FB54 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800A2BF8 0009FB58 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 800A2BFC 0009FB5C D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 800A2C00 0009FB60 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 800A2C04 0009FB64 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 800A2C08 0009FB68 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800A2C0C 0009FB6C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800A2C10 0009FB70 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800A2C14 0009FB74 48 27 1C E5 */ bl Normalize__9CVector3fFv +/* 800A2C18 0009FB78 7F C4 F3 78 */ mr r4, r30 +/* 800A2C1C 0009FB7C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800A2C20 0009FB80 4B FD 3A AD */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800A2C24 0009FB84 C0 61 00 BC */ lfs f3, 0xbc(r1) +/* 800A2C28 0009FB88 7F C7 F3 78 */ mr r7, r30 +/* 800A2C2C 0009FB8C C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 800A2C30 0009FB90 7F E8 FB 78 */ mr r8, r31 +/* 800A2C34 0009FB94 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 800A2C38 0009FB98 38 81 00 0C */ addi r4, r1, 0xc +/* 800A2C3C 0009FB9C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 800A2C40 0009FBA0 38 A1 00 60 */ addi r5, r1, 0x60 +/* 800A2C44 0009FBA4 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800A2C48 0009FBA8 38 DD 01 38 */ addi r6, r29, 0x138 +/* 800A2C4C 0009FBAC 39 21 00 38 */ addi r9, r1, 0x38 +/* 800A2C50 0009FBB0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800A2C54 0009FBB4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800A2C58 0009FBB8 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 800A2C5C 0009FBBC A0 1D 00 08 */ lhz r0, 8(r29) +/* 800A2C60 0009FBC0 C0 3D 00 E8 */ lfs f1, 0xe8(r29) +/* 800A2C64 0009FBC4 B0 01 00 08 */ sth r0, 8(r1) +/* 800A2C68 0009FBC8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800A2C6C 0009FBCC 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 800A2C70 0009FBD0 81 83 00 00 */ lwz r12, 0(r3) +/* 800A2C74 0009FBD4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800A2C78 0009FBD8 7D 89 03 A6 */ mtctr r12 +/* 800A2C7C 0009FBDC 4E 80 04 21 */ bctrl +lbl_800A2C80: +/* 800A2C80 0009FBE0 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 800A2C84 0009FBE4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800A2C88 0009FBE8 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 800A2C8C 0009FBEC 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 800A2C90 0009FBF0 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 800A2C94 0009FBF4 83 A1 00 C4 */ lwz r29, 0xc4(r1) +/* 800A2C98 0009FBF8 7C 08 03 A6 */ mtlr r0 +/* 800A2C9C 0009FBFC 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800A2CA0 0009FC00 4E 80 00 20 */ blr + +.global AcceptScriptMsg__3CAiF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__3CAiF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800A2CA4 0009FC04 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800A2CA8 0009FC08 7C 08 02 A6 */ mflr r0 +/* 800A2CAC 0009FC0C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800A2CB0 0009FC10 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 800A2CB4 0009FC14 7C 9A 23 78 */ mr r26, r4 +/* 800A2CB8 0009FC18 2C 1A 00 23 */ cmpwi r26, 0x23 +/* 800A2CBC 0009FC1C 7C 79 1B 78 */ mr r25, r3 +/* 800A2CC0 0009FC20 7C BB 2B 78 */ mr r27, r5 +/* 800A2CC4 0009FC24 7C DC 33 78 */ mr r28, r6 +/* 800A2CC8 0009FC28 41 82 00 08 */ beq lbl_800A2CD0 +/* 800A2CCC 0009FC2C 48 00 00 68 */ b lbl_800A2D34 +lbl_800A2CD0: +/* 800A2CD0 0009FC30 4B FB 0B ED */ bl GetMaterialFilter__6CActorCFv +/* 800A2CD4 0009FC34 80 AD 86 18 */ lwz r5, lbl_805A71D8@sda21(r13) +/* 800A2CD8 0009FC38 7C 7F 1B 78 */ mr r31, r3 +/* 800A2CDC 0009FC3C 38 60 00 00 */ li r3, 0 +/* 800A2CE0 0009FC40 38 80 00 01 */ li r4, 1 +/* 800A2CE4 0009FC44 48 2E 72 11 */ bl __shl2i +/* 800A2CE8 0009FC48 7C 7E 1B 78 */ mr r30, r3 +/* 800A2CEC 0009FC4C 7C 9D 23 78 */ mr r29, r4 +/* 800A2CF0 0009FC50 7F 23 CB 78 */ mr r3, r25 +/* 800A2CF4 0009FC54 4B FB 0B C9 */ bl GetMaterialFilter__6CActorCFv +/* 800A2CF8 0009FC58 80 83 00 00 */ lwz r4, 0(r3) +/* 800A2CFC 0009FC5C 38 00 00 03 */ li r0, 3 +/* 800A2D00 0009FC60 80 C3 00 04 */ lwz r6, 4(r3) +/* 800A2D04 0009FC64 7F 23 CB 78 */ mr r3, r25 +/* 800A2D08 0009FC68 7C 85 F3 78 */ or r5, r4, r30 +/* 800A2D0C 0009FC6C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800A2D10 0009FC70 7C C6 EB 78 */ or r6, r6, r29 +/* 800A2D14 0009FC74 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800A2D18 0009FC78 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800A2D1C 0009FC7C 80 BF 00 08 */ lwz r5, 8(r31) +/* 800A2D20 0009FC80 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 800A2D24 0009FC84 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800A2D28 0009FC88 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800A2D2C 0009FC8C 90 01 00 20 */ stw r0, 0x20(r1) +/* 800A2D30 0009FC90 4B FB 0B 71 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +lbl_800A2D34: +/* 800A2D34 0009FC94 A0 1B 00 00 */ lhz r0, 0(r27) +/* 800A2D38 0009FC98 7F 23 CB 78 */ mr r3, r25 +/* 800A2D3C 0009FC9C 7F 44 D3 78 */ mr r4, r26 +/* 800A2D40 0009FCA0 7F 86 E3 78 */ mr r6, r28 +/* 800A2D44 0009FCA4 B0 01 00 08 */ sth r0, 8(r1) +/* 800A2D48 0009FCA8 38 A1 00 08 */ addi r5, r1, 8 +/* 800A2D4C 0009FCAC 4B FB 08 C9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800A2D50 0009FCB0 BB 21 00 34 */ lmw r25, 0x34(r1) +/* 800A2D54 0009FCB4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800A2D58 0009FCB8 7C 08 03 A6 */ mtlr r0 +/* 800A2D5C 0009FCBC 38 21 00 50 */ addi r1, r1, 0x50 +/* 800A2D60 0009FCC0 4E 80 00 20 */ blr + +.global TakeDamage__3CAiFRC9CVector3ff +TakeDamage__3CAiFRC9CVector3ff: +/* 800A2D64 0009FCC4 4E 80 00 20 */ blr + +.global GetDamageVulnerability__3CAiFv +GetDamageVulnerability__3CAiFv: +/* 800A2D68 0009FCC8 38 63 02 60 */ addi r3, r3, 0x260 +/* 800A2D6C 0009FCCC 4E 80 00 20 */ blr + +.global GetDamageVulnerability__3CAiCFv +GetDamageVulnerability__3CAiCFv: +/* 800A2D70 0009FCD0 38 63 02 60 */ addi r3, r3, 0x260 +/* 800A2D74 0009FCD4 4E 80 00 20 */ blr + +.global HealthInfo__3CAiFR13CStateManager +HealthInfo__3CAiFR13CStateManager: +/* 800A2D78 0009FCD8 38 63 02 58 */ addi r3, r3, 0x258 +/* 800A2D7C 0009FCDC 4E 80 00 20 */ blr + +.global __dt__3CAiFv +__dt__3CAiFv: +/* 800A2D80 0009FCE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A2D84 0009FCE4 7C 08 02 A6 */ mflr r0 +/* 800A2D88 0009FCE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A2D8C 0009FCEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A2D90 0009FCF0 7C 9F 23 78 */ mr r31, r4 +/* 800A2D94 0009FCF4 93 C1 00 08 */ stw r30, 8(r1) +/* 800A2D98 0009FCF8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800A2D9C 0009FCFC 41 82 00 48 */ beq lbl_800A2DE4 +/* 800A2DA0 0009FD00 3C 60 80 3E */ lis r3, lbl_803DBCCC@ha +/* 800A2DA4 0009FD04 34 1E 02 C8 */ addic. r0, r30, 0x2c8 +/* 800A2DA8 0009FD08 38 03 BC CC */ addi r0, r3, lbl_803DBCCC@l +/* 800A2DAC 0009FD0C 90 1E 00 00 */ stw r0, 0(r30) +/* 800A2DB0 0009FD10 41 82 00 18 */ beq lbl_800A2DC8 +/* 800A2DB4 0009FD14 34 1E 02 C8 */ addic. r0, r30, 0x2c8 +/* 800A2DB8 0009FD18 41 82 00 10 */ beq lbl_800A2DC8 +/* 800A2DBC 0009FD1C 38 7E 02 C8 */ addi r3, r30, 0x2c8 +/* 800A2DC0 0009FD20 38 80 00 00 */ li r4, 0 +/* 800A2DC4 0009FD24 48 29 E0 7D */ bl __dt__6CTokenFv +lbl_800A2DC8: +/* 800A2DC8 0009FD28 7F C3 F3 78 */ mr r3, r30 +/* 800A2DCC 0009FD2C 38 80 00 00 */ li r4, 0 +/* 800A2DD0 0009FD30 48 07 96 45 */ bl __dt__13CPhysicsActorFv +/* 800A2DD4 0009FD34 7F E0 07 35 */ extsh. r0, r31 +/* 800A2DD8 0009FD38 40 81 00 0C */ ble lbl_800A2DE4 +/* 800A2DDC 0009FD3C 7F C3 F3 78 */ mr r3, r30 +/* 800A2DE0 0009FD40 48 27 2B 51 */ bl Free__7CMemoryFPCv +lbl_800A2DE4: +/* 800A2DE4 0009FD44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A2DE8 0009FD48 7F C3 F3 78 */ mr r3, r30 +/* 800A2DEC 0009FD4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A2DF0 0009FD50 83 C1 00 08 */ lwz r30, 8(r1) +/* 800A2DF4 0009FD54 7C 08 03 A6 */ mtlr r0 +/* 800A2DF8 0009FD58 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A2DFC 0009FD5C 4E 80 00 20 */ blr + +.global "__ct__3CAiF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxfRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersff" +"__ct__3CAiF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxfRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersff": +/* 800A2E00 0009FD60 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800A2E04 0009FD64 7C 08 02 A6 */ mflr r0 +/* 800A2E08 0009FD68 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800A2E0C 0009FD6C DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 800A2E10 0009FD70 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 800A2E14 0009FD74 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 800A2E18 0009FD78 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 800A2E1C 0009FD7C DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 800A2E20 0009FD80 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 800A2E24 0009FD84 BE 21 00 74 */ stmw r17, 0x74(r1) +/* 800A2E28 0009FD88 FF A0 08 90 */ fmr f29, f1 +/* 800A2E2C 0009FD8C 83 01 00 E8 */ lwz r24, 0xe8(r1) +/* 800A2E30 0009FD90 FF C0 10 90 */ fmr f30, f2 +/* 800A2E34 0009FD94 83 21 00 EC */ lwz r25, 0xec(r1) +/* 800A2E38 0009FD98 FF E0 18 90 */ fmr f31, f3 +/* 800A2E3C 0009FD9C 83 41 00 F0 */ lwz r26, 0xf0(r1) +/* 800A2E40 0009FDA0 83 61 00 F4 */ lwz r27, 0xf4(r1) +/* 800A2E44 0009FDA4 7C 7F 1B 78 */ mr r31, r3 +/* 800A2E48 0009FDA8 83 81 00 F8 */ lwz r28, 0xf8(r1) +/* 800A2E4C 0009FDAC 7C 91 23 78 */ mr r17, r4 +/* 800A2E50 0009FDB0 7C B2 2B 78 */ mr r18, r5 +/* 800A2E54 0009FDB4 7C D3 33 78 */ mr r19, r6 +/* 800A2E58 0009FDB8 7C F4 3B 78 */ mr r20, r7 +/* 800A2E5C 0009FDBC 7D 15 43 78 */ mr r21, r8 +/* 800A2E60 0009FDC0 7D 36 4B 78 */ mr r22, r9 +/* 800A2E64 0009FDC4 7D 57 53 78 */ mr r23, r10 +/* 800A2E68 0009FDC8 4B F7 86 CD */ bl Identity__10CAxisAngleFv +/* 800A2E6C 0009FDCC 7C 7D 1B 78 */ mr r29, r3 +/* 800A2E70 0009FDD0 4B F7 86 C5 */ bl Identity__10CAxisAngleFv +/* 800A2E74 0009FDD4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800A2E78 0009FDD8 80 AD 86 10 */ lwz r5, lbl_805A71D0@sda21(r13) +/* 800A2E7C 0009FDDC 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 800A2E80 0009FDE0 C0 26 00 00 */ lfs f1, 0(r6) +/* 800A2E84 0009FDE4 38 80 00 01 */ li r4, 1 +/* 800A2E88 0009FDE8 C0 46 00 04 */ lfs f2, 4(r6) +/* 800A2E8C 0009FDEC C0 66 00 08 */ lfs f3, 8(r6) +/* 800A2E90 0009FDF0 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800A2E94 0009FDF4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800A2E98 0009FDF8 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 800A2E9C 0009FDFC C0 03 00 00 */ lfs f0, 0(r3) +/* 800A2EA0 0009FE00 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800A2EA4 0009FE04 C0 03 00 04 */ lfs f0, 4(r3) +/* 800A2EA8 0009FE08 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800A2EAC 0009FE0C C0 03 00 08 */ lfs f0, 8(r3) +/* 800A2EB0 0009FE10 38 60 00 00 */ li r3, 0 +/* 800A2EB4 0009FE14 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800A2EB8 0009FE18 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800A2EBC 0009FE1C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800A2EC0 0009FE20 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 800A2EC4 0009FE24 C0 1D 00 00 */ lfs f0, 0(r29) +/* 800A2EC8 0009FE28 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800A2ECC 0009FE2C C0 1D 00 04 */ lfs f0, 4(r29) +/* 800A2ED0 0009FE30 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800A2ED4 0009FE34 C0 1D 00 08 */ lfs f0, 8(r29) +/* 800A2ED8 0009FE38 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800A2EDC 0009FE3C D3 A1 00 68 */ stfs f29, 0x68(r1) +/* 800A2EE0 0009FE40 48 2E 70 15 */ bl __shl2i +/* 800A2EE4 0009FE44 80 AD 86 14 */ lwz r5, lbl_805A71D4@sda21(r13) +/* 800A2EE8 0009FE48 7C 9D 23 78 */ mr r29, r4 +/* 800A2EEC 0009FE4C 7C 7E 1B 78 */ mr r30, r3 +/* 800A2EF0 0009FE50 38 60 00 00 */ li r3, 0 +/* 800A2EF4 0009FE54 38 80 00 01 */ li r4, 1 +/* 800A2EF8 0009FE58 48 2E 6F FD */ bl __shl2i +/* 800A2EFC 0009FE5C 80 1A 00 00 */ lwz r0, 0(r26) +/* 800A2F00 0009FE60 7F DE 1B 78 */ or r30, r30, r3 +/* 800A2F04 0009FE64 7F BD 23 78 */ or r29, r29, r4 +/* 800A2F08 0009FE68 80 7A 00 04 */ lwz r3, 4(r26) +/* 800A2F0C 0009FE6C A0 91 00 00 */ lhz r4, 0(r17) +/* 800A2F10 0009FE70 7C 00 F3 78 */ or r0, r0, r30 +/* 800A2F14 0009FE74 7C 63 EB 78 */ or r3, r3, r29 +/* 800A2F18 0009FE78 90 01 00 30 */ stw r0, 0x30(r1) +/* 800A2F1C 0009FE7C 38 01 00 38 */ addi r0, r1, 0x38 +/* 800A2F20 0009FE80 FC 20 F0 90 */ fmr f1, f30 +/* 800A2F24 0009FE84 90 61 00 34 */ stw r3, 0x34(r1) +/* 800A2F28 0009FE88 FC 40 F8 90 */ fmr f2, f31 +/* 800A2F2C 0009FE8C 7F E3 FB 78 */ mr r3, r31 +/* 800A2F30 0009FE90 7E 45 93 78 */ mr r5, r18 +/* 800A2F34 0009FE94 B0 81 00 18 */ sth r4, 0x18(r1) +/* 800A2F38 0009FE98 7E 66 9B 78 */ mr r6, r19 +/* 800A2F3C 0009FE9C 7E 87 A3 78 */ mr r7, r20 +/* 800A2F40 0009FEA0 92 E1 00 08 */ stw r23, 8(r1) +/* 800A2F44 0009FEA4 7E A8 AB 78 */ mr r8, r21 +/* 800A2F48 0009FEA8 7E C9 B3 78 */ mr r9, r22 +/* 800A2F4C 0009FEAC 38 81 00 18 */ addi r4, r1, 0x18 +/* 800A2F50 0009FEB0 90 01 00 0C */ stw r0, 0xc(r1) +/* 800A2F54 0009FEB4 39 41 00 30 */ addi r10, r1, 0x30 +/* 800A2F58 0009FEB8 93 81 00 10 */ stw r28, 0x10(r1) +/* 800A2F5C 0009FEBC 48 07 95 55 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 800A2F60 0009FEC0 3C 60 80 3E */ lis r3, lbl_803DBCCC@ha +/* 800A2F64 0009FEC4 3C 80 41 46 */ lis r4, 0x4146534D@ha +/* 800A2F68 0009FEC8 38 03 BC CC */ addi r0, r3, lbl_803DBCCC@l +/* 800A2F6C 0009FECC 38 61 00 1C */ addi r3, r1, 0x1c +/* 800A2F70 0009FED0 90 1F 00 00 */ stw r0, 0(r31) +/* 800A2F74 0009FED4 38 04 53 4D */ addi r0, r4, 0x4146534D@l +/* 800A2F78 0009FED8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800A2F7C 0009FEDC C0 18 00 00 */ lfs f0, 0(r24) +/* 800A2F80 0009FEE0 D0 1F 02 58 */ stfs f0, 0x258(r31) +/* 800A2F84 0009FEE4 C0 18 00 04 */ lfs f0, 4(r24) +/* 800A2F88 0009FEE8 D0 1F 02 5C */ stfs f0, 0x25c(r31) +/* 800A2F8C 0009FEEC 80 D9 00 00 */ lwz r6, 0(r25) +/* 800A2F90 0009FEF0 80 99 00 04 */ lwz r4, 4(r25) +/* 800A2F94 0009FEF4 90 DF 02 60 */ stw r6, 0x260(r31) +/* 800A2F98 0009FEF8 90 9F 02 64 */ stw r4, 0x264(r31) +/* 800A2F9C 0009FEFC 80 D9 00 08 */ lwz r6, 8(r25) +/* 800A2FA0 0009FF00 80 99 00 0C */ lwz r4, 0xc(r25) +/* 800A2FA4 0009FF04 90 DF 02 68 */ stw r6, 0x268(r31) +/* 800A2FA8 0009FF08 90 9F 02 6C */ stw r4, 0x26c(r31) +/* 800A2FAC 0009FF0C 80 D9 00 10 */ lwz r6, 0x10(r25) +/* 800A2FB0 0009FF10 80 99 00 14 */ lwz r4, 0x14(r25) +/* 800A2FB4 0009FF14 90 DF 02 70 */ stw r6, 0x270(r31) +/* 800A2FB8 0009FF18 90 9F 02 74 */ stw r4, 0x274(r31) +/* 800A2FBC 0009FF1C 80 D9 00 18 */ lwz r6, 0x18(r25) +/* 800A2FC0 0009FF20 80 99 00 1C */ lwz r4, 0x1c(r25) +/* 800A2FC4 0009FF24 90 DF 02 78 */ stw r6, 0x278(r31) +/* 800A2FC8 0009FF28 90 9F 02 7C */ stw r4, 0x27c(r31) +/* 800A2FCC 0009FF2C 80 D9 00 20 */ lwz r6, 0x20(r25) +/* 800A2FD0 0009FF30 80 99 00 24 */ lwz r4, 0x24(r25) +/* 800A2FD4 0009FF34 90 DF 02 80 */ stw r6, 0x280(r31) +/* 800A2FD8 0009FF38 90 9F 02 84 */ stw r4, 0x284(r31) +/* 800A2FDC 0009FF3C 80 D9 00 28 */ lwz r6, 0x28(r25) +/* 800A2FE0 0009FF40 80 99 00 2C */ lwz r4, 0x2c(r25) +/* 800A2FE4 0009FF44 90 DF 02 88 */ stw r6, 0x288(r31) +/* 800A2FE8 0009FF48 90 9F 02 8C */ stw r4, 0x28c(r31) +/* 800A2FEC 0009FF4C 80 D9 00 30 */ lwz r6, 0x30(r25) +/* 800A2FF0 0009FF50 80 99 00 34 */ lwz r4, 0x34(r25) +/* 800A2FF4 0009FF54 90 DF 02 90 */ stw r6, 0x290(r31) +/* 800A2FF8 0009FF58 90 9F 02 94 */ stw r4, 0x294(r31) +/* 800A2FFC 0009FF5C 80 99 00 38 */ lwz r4, 0x38(r25) +/* 800A3000 0009FF60 90 9F 02 98 */ stw r4, 0x298(r31) +/* 800A3004 0009FF64 80 D9 00 3C */ lwz r6, 0x3c(r25) +/* 800A3008 0009FF68 80 99 00 40 */ lwz r4, 0x40(r25) +/* 800A300C 0009FF6C 90 DF 02 9C */ stw r6, 0x29c(r31) +/* 800A3010 0009FF70 90 9F 02 A0 */ stw r4, 0x2a0(r31) +/* 800A3014 0009FF74 80 D9 00 44 */ lwz r6, 0x44(r25) +/* 800A3018 0009FF78 80 99 00 48 */ lwz r4, 0x48(r25) +/* 800A301C 0009FF7C 90 DF 02 A4 */ stw r6, 0x2a4(r31) +/* 800A3020 0009FF80 90 9F 02 A8 */ stw r4, 0x2a8(r31) +/* 800A3024 0009FF84 80 D9 00 4C */ lwz r6, 0x4c(r25) +/* 800A3028 0009FF88 80 99 00 50 */ lwz r4, 0x50(r25) +/* 800A302C 0009FF8C 90 DF 02 AC */ stw r6, 0x2ac(r31) +/* 800A3030 0009FF90 90 9F 02 B0 */ stw r4, 0x2b0(r31) +/* 800A3034 0009FF94 80 D9 00 54 */ lwz r6, 0x54(r25) +/* 800A3038 0009FF98 80 99 00 58 */ lwz r4, 0x58(r25) +/* 800A303C 0009FF9C 90 DF 02 B4 */ stw r6, 0x2b4(r31) +/* 800A3040 0009FFA0 90 9F 02 B8 */ stw r4, 0x2b8(r31) +/* 800A3044 0009FFA4 80 99 00 5C */ lwz r4, 0x5c(r25) +/* 800A3048 0009FFA8 90 9F 02 BC */ stw r4, 0x2bc(r31) +/* 800A304C 0009FFAC 80 99 00 60 */ lwz r4, 0x60(r25) +/* 800A3050 0009FFB0 90 9F 02 C0 */ stw r4, 0x2c0(r31) +/* 800A3054 0009FFB4 80 99 00 64 */ lwz r4, 0x64(r25) +/* 800A3058 0009FFB8 90 9F 02 C4 */ stw r4, 0x2c4(r31) +/* 800A305C 0009FFBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A3060 0009FFC0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800A3064 0009FFC4 93 61 00 28 */ stw r27, 0x28(r1) +/* 800A3068 0009FFC8 81 84 00 00 */ lwz r12, 0(r4) +/* 800A306C 0009FFCC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A3070 0009FFD0 7D 89 03 A6 */ mtctr r12 +/* 800A3074 0009FFD4 4E 80 04 21 */ bctrl +/* 800A3078 0009FFD8 3A 3F 02 C8 */ addi r17, r31, 0x2c8 +/* 800A307C 0009FFDC 38 81 00 1C */ addi r4, r1, 0x1c +/* 800A3080 0009FFE0 7E 23 8B 78 */ mr r3, r17 +/* 800A3084 0009FFE4 48 29 DE 25 */ bl __ct__6CTokenFRC6CToken +/* 800A3088 0009FFE8 38 00 00 00 */ li r0, 0 +/* 800A308C 0009FFEC 38 61 00 1C */ addi r3, r1, 0x1c +/* 800A3090 0009FFF0 90 11 00 08 */ stw r0, 8(r17) +/* 800A3094 0009FFF4 38 80 FF FF */ li r4, -1 +/* 800A3098 0009FFF8 48 29 DD A9 */ bl __dt__6CTokenFv +/* 800A309C 0009FFFC 7E 23 8B 78 */ mr r3, r17 +/* 800A30A0 000A0000 48 29 DC E5 */ bl Lock__6CTokenFv +/* 800A30A4 000A0004 7F E3 FB 78 */ mr r3, r31 +/* 800A30A8 000A0008 4B FA FD 35 */ bl CreateShadow__6CActorFv +/* 800A30AC 000A000C 80 1F 00 94 */ lwz r0, 0x94(r31) +/* 800A30B0 000A0010 28 00 00 00 */ cmplwi r0, 0 +/* 800A30B4 000A0014 41 82 00 1C */ beq lbl_800A30D0 +/* 800A30B8 000A0018 7F E3 FB 78 */ mr r3, r31 +/* 800A30BC 000A001C 38 80 00 01 */ li r4, 1 +/* 800A30C0 000A0020 4B FA FC AD */ bl CreateShadow__6CActorFb +/* 800A30C4 000A0024 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 800A30C8 000A0028 38 80 00 00 */ li r4, 0 +/* 800A30CC 000A002C 48 06 2C 25 */ bl sub_80105cf0 +lbl_800A30D0: +/* 800A30D0 000A0030 80 9F 00 90 */ lwz r4, 0x90(r31) +/* 800A30D4 000A0034 28 04 00 00 */ cmplwi r4, 0 +/* 800A30D8 000A0038 41 82 00 14 */ beq lbl_800A30EC +/* 800A30DC 000A003C 88 04 02 98 */ lbz r0, 0x298(r4) +/* 800A30E0 000A0040 38 60 00 01 */ li r3, 1 +/* 800A30E4 000A0044 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800A30E8 000A0048 98 04 02 98 */ stb r0, 0x298(r4) +lbl_800A30EC: +/* 800A30EC 000A004C 7F E3 FB 78 */ mr r3, r31 +/* 800A30F0 000A0050 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 800A30F4 000A0054 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 800A30F8 000A0058 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 800A30FC 000A005C CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 800A3100 000A0060 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 800A3104 000A0064 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 800A3108 000A0068 BA 21 00 74 */ lmw r17, 0x74(r1) +/* 800A310C 000A006C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800A3110 000A0070 7C 08 03 A6 */ mtlr r0 +/* 800A3114 000A0074 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800A3118 000A0078 4E 80 00 20 */ blr + +.global GetTriggerFunc__10CAiFuncMapCFPCc +GetTriggerFunc__10CAiFuncMapCFPCc: +/* 800A311C 000A007C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800A3120 000A0080 7C 08 02 A6 */ mflr r0 +/* 800A3124 000A0084 90 01 00 44 */ stw r0, 0x44(r1) +/* 800A3128 000A0088 38 C1 00 08 */ addi r6, r1, 8 +/* 800A312C 000A008C 38 E1 00 0C */ addi r7, r1, 0xc +/* 800A3130 000A0090 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800A3134 000A0094 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800A3138 000A0098 7C 7E 1B 78 */ mr r30, r3 +/* 800A313C 000A009C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800A3140 000A00A0 80 04 00 14 */ lwz r0, 0x14(r4) +/* 800A3144 000A00A4 81 04 00 1C */ lwz r8, 0x1c(r4) +/* 800A3148 000A00A8 38 81 00 20 */ addi r4, r1, 0x20 +/* 800A314C 000A00AC 89 2D A2 C8 */ lbz r9, lbl_805A8E88@sda21(r13) +/* 800A3150 000A00B0 54 00 20 36 */ slwi r0, r0, 4 +/* 800A3154 000A00B4 7C 08 02 14 */ add r0, r8, r0 +/* 800A3158 000A00B8 90 A1 00 08 */ stw r5, 8(r1) +/* 800A315C 000A00BC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800A3160 000A00C0 99 21 00 14 */ stb r9, 0x14(r1) +/* 800A3164 000A00C4 99 21 00 10 */ stb r9, 0x10(r1) +/* 800A3168 000A00C8 90 01 00 30 */ stw r0, 0x30(r1) +/* 800A316C 000A00CC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800A3170 000A00D0 91 01 00 28 */ stw r8, 0x28(r1) +/* 800A3174 000A00D4 99 21 00 0C */ stb r9, 0xc(r1) +/* 800A3178 000A00D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A317C 000A00DC 91 01 00 20 */ stw r8, 0x20(r1) +/* 800A3180 000A00E0 48 00 08 C1 */ bl "lower_bound,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_all" +/* 800A3184 000A00E4 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 800A3188 000A00E8 3B E0 00 00 */ li r31, 0 +/* 800A318C 000A00EC 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800A3190 000A00F0 90 81 00 18 */ stw r4, 0x18(r1) +/* 800A3194 000A00F4 7C 04 00 40 */ cmplw r4, r0 +/* 800A3198 000A00F8 41 82 00 1C */ beq lbl_800A31B4 +/* 800A319C 000A00FC 80 61 00 08 */ lwz r3, 8(r1) +/* 800A31A0 000A0100 80 84 00 00 */ lwz r4, 0(r4) +/* 800A31A4 000A0104 48 2E CD F9 */ bl strcmp +/* 800A31A8 000A0108 54 60 0F FF */ rlwinm. r0, r3, 1, 0x1f, 0x1f +/* 800A31AC 000A010C 40 82 00 08 */ bne lbl_800A31B4 +/* 800A31B0 000A0110 3B E0 00 01 */ li r31, 1 +lbl_800A31B4: +/* 800A31B4 000A0114 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800A31B8 000A0118 38 61 00 2C */ addi r3, r1, 0x2c +/* 800A31BC 000A011C 41 82 00 08 */ beq lbl_800A31C4 +/* 800A31C0 000A0120 38 61 00 18 */ addi r3, r1, 0x18 +lbl_800A31C4: +/* 800A31C4 000A0124 80 83 00 00 */ lwz r4, 0(r3) +/* 800A31C8 000A0128 80 64 00 04 */ lwz r3, 4(r4) +/* 800A31CC 000A012C 80 04 00 08 */ lwz r0, 8(r4) +/* 800A31D0 000A0130 90 7E 00 00 */ stw r3, 0(r30) +/* 800A31D4 000A0134 90 1E 00 04 */ stw r0, 4(r30) +/* 800A31D8 000A0138 80 04 00 0C */ lwz r0, 0xc(r4) +/* 800A31DC 000A013C 90 1E 00 08 */ stw r0, 8(r30) +/* 800A31E0 000A0140 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800A31E4 000A0144 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800A31E8 000A0148 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800A31EC 000A014C 7C 08 03 A6 */ mtlr r0 +/* 800A31F0 000A0150 38 21 00 40 */ addi r1, r1, 0x40 +/* 800A31F4 000A0154 4E 80 00 20 */ blr + +.global GetStateFunc__10CAiFuncMapCFPCc +GetStateFunc__10CAiFuncMapCFPCc: +/* 800A31F8 000A0158 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800A31FC 000A015C 7C 08 02 A6 */ mflr r0 +/* 800A3200 000A0160 90 01 00 54 */ stw r0, 0x54(r1) +/* 800A3204 000A0164 38 E1 00 0C */ addi r7, r1, 0xc +/* 800A3208 000A0168 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800A320C 000A016C 7C 9F 23 78 */ mr r31, r4 +/* 800A3210 000A0170 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800A3214 000A0174 7C 7E 1B 78 */ mr r30, r3 +/* 800A3218 000A0178 38 61 00 1C */ addi r3, r1, 0x1c +/* 800A321C 000A017C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800A3220 000A0180 80 04 00 04 */ lwz r0, 4(r4) +/* 800A3224 000A0184 3C 80 80 3E */ lis r4, lbl_803E0004@ha +/* 800A3228 000A0188 84 C4 85 98 */ lwzu r6, -0x7a68(r4) +/* 800A322C 000A018C 89 2D A2 C4 */ lbz r9, lbl_805A8E84@sda21(r13) +/* 800A3230 000A0190 54 00 20 36 */ slwi r0, r0, 4 +/* 800A3234 000A0194 81 1F 00 0C */ lwz r8, 0xc(r31) +/* 800A3238 000A0198 81 64 00 04 */ lwz r11, lbl_803E0004@l(r4) +/* 800A323C 000A019C 81 44 00 08 */ lwz r10, 8(r4) +/* 800A3240 000A01A0 7C 08 02 14 */ add r0, r8, r0 +/* 800A3244 000A01A4 90 A1 00 08 */ stw r5, 8(r1) +/* 800A3248 000A01A8 38 81 00 20 */ addi r4, r1, 0x20 +/* 800A324C 000A01AC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800A3250 000A01B0 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800A3254 000A01B4 38 C1 00 08 */ addi r6, r1, 8 +/* 800A3258 000A01B8 91 61 00 38 */ stw r11, 0x38(r1) +/* 800A325C 000A01BC 91 41 00 3C */ stw r10, 0x3c(r1) +/* 800A3260 000A01C0 99 21 00 14 */ stb r9, 0x14(r1) +/* 800A3264 000A01C4 99 21 00 10 */ stb r9, 0x10(r1) +/* 800A3268 000A01C8 90 01 00 30 */ stw r0, 0x30(r1) +/* 800A326C 000A01CC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800A3270 000A01D0 91 01 00 28 */ stw r8, 0x28(r1) +/* 800A3274 000A01D4 99 21 00 0C */ stb r9, 0xc(r1) +/* 800A3278 000A01D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A327C 000A01DC 91 01 00 20 */ stw r8, 0x20(r1) +/* 800A3280 000A01E0 48 00 06 F9 */ bl "lower_bound,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>Fi" +/* 800A336C 000A02CC 3B DF 00 00 */ addi r30, r31, 0 +/* 800A3370 000A02D0 3B BF 03 70 */ addi r29, r31, 0x370 +/* 800A3374 000A02D4 3B 80 00 00 */ li r28, 0 +/* 800A3378 000A02D8 48 00 00 90 */ b lbl_800A3408 +lbl_800A337C: +/* 800A337C 000A02DC 80 1B 00 04 */ lwz r0, 4(r27) +/* 800A3380 000A02E0 80 BB 00 08 */ lwz r5, 8(r27) +/* 800A3384 000A02E4 80 9D 00 00 */ lwz r4, 0(r29) +/* 800A3388 000A02E8 80 7D 00 04 */ lwz r3, 4(r29) +/* 800A338C 000A02EC 7C 00 28 00 */ cmpw r0, r5 +/* 800A3390 000A02F0 80 1D 00 08 */ lwz r0, 8(r29) +/* 800A3394 000A02F4 90 81 00 54 */ stw r4, 0x54(r1) +/* 800A3398 000A02F8 83 5E 00 00 */ lwz r26, 0(r30) +/* 800A339C 000A02FC 90 61 00 58 */ stw r3, 0x58(r1) +/* 800A33A0 000A0300 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800A33A4 000A0304 41 80 00 1C */ blt lbl_800A33C0 +/* 800A33A8 000A0308 2C 05 00 00 */ cmpwi r5, 0 +/* 800A33AC 000A030C 7F 63 DB 78 */ mr r3, r27 +/* 800A33B0 000A0310 38 80 00 04 */ li r4, 4 +/* 800A33B4 000A0314 41 82 00 08 */ beq lbl_800A33BC +/* 800A33B8 000A0318 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800A33BC: +/* 800A33BC 000A031C 48 00 07 4D */ bl "reserve__Q24rstl94vector,Q24rstl17rmemory_allocator>Fi" +lbl_800A33C0: +/* 800A33C0 000A0320 80 1B 00 04 */ lwz r0, 4(r27) +/* 800A33C4 000A0324 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 800A33C8 000A0328 54 00 20 36 */ slwi r0, r0, 4 +/* 800A33CC 000A032C 7C 83 02 15 */ add. r4, r3, r0 +/* 800A33D0 000A0330 41 82 00 20 */ beq lbl_800A33F0 +/* 800A33D4 000A0334 93 44 00 00 */ stw r26, 0(r4) +/* 800A33D8 000A0338 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800A33DC 000A033C 80 61 00 58 */ lwz r3, 0x58(r1) +/* 800A33E0 000A0340 90 04 00 04 */ stw r0, 4(r4) +/* 800A33E4 000A0344 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 800A33E8 000A0348 90 64 00 08 */ stw r3, 8(r4) +/* 800A33EC 000A034C 90 04 00 0C */ stw r0, 0xc(r4) +lbl_800A33F0: +/* 800A33F0 000A0350 80 7B 00 04 */ lwz r3, 4(r27) +/* 800A33F4 000A0354 3B DE 00 04 */ addi r30, r30, 4 +/* 800A33F8 000A0358 3B BD 00 0C */ addi r29, r29, 0xc +/* 800A33FC 000A035C 3B 9C 00 01 */ addi r28, r28, 1 +/* 800A3400 000A0360 38 03 00 01 */ addi r0, r3, 1 +/* 800A3404 000A0364 90 1B 00 04 */ stw r0, 4(r27) +lbl_800A3408: +/* 800A3408 000A0368 80 1B 00 08 */ lwz r0, 8(r27) +/* 800A340C 000A036C 7C 1C 00 00 */ cmpw r28, r0 +/* 800A3410 000A0370 41 80 FF 6C */ blt lbl_800A337C +/* 800A3414 000A0374 38 7B 00 10 */ addi r3, r27, 0x10 +/* 800A3418 000A0378 38 80 00 44 */ li r4, 0x44 +/* 800A341C 000A037C 48 00 07 F5 */ bl "reserve__Q24rstl84vector,Q24rstl17rmemory_allocator>Fi" +/* 800A3420 000A0380 3B BF 06 04 */ addi r29, r31, 0x604 +/* 800A3424 000A0384 3B DF 0A 44 */ addi r30, r31, 0xa44 +/* 800A3428 000A0388 3B E0 00 00 */ li r31, 0 +/* 800A342C 000A038C 48 00 00 90 */ b lbl_800A34BC +lbl_800A3430: +/* 800A3430 000A0390 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 800A3434 000A0394 80 BB 00 18 */ lwz r5, 0x18(r27) +/* 800A3438 000A0398 80 9E 00 00 */ lwz r4, 0(r30) +/* 800A343C 000A039C 80 7E 00 04 */ lwz r3, 4(r30) +/* 800A3440 000A03A0 7C 00 28 00 */ cmpw r0, r5 +/* 800A3444 000A03A4 80 1E 00 08 */ lwz r0, 8(r30) +/* 800A3448 000A03A8 90 81 00 44 */ stw r4, 0x44(r1) +/* 800A344C 000A03AC 83 5D 00 00 */ lwz r26, 0(r29) +/* 800A3450 000A03B0 90 61 00 48 */ stw r3, 0x48(r1) +/* 800A3454 000A03B4 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800A3458 000A03B8 41 80 00 1C */ blt lbl_800A3474 +/* 800A345C 000A03BC 2C 05 00 00 */ cmpwi r5, 0 +/* 800A3460 000A03C0 38 7B 00 10 */ addi r3, r27, 0x10 +/* 800A3464 000A03C4 38 80 00 04 */ li r4, 4 +/* 800A3468 000A03C8 41 82 00 08 */ beq lbl_800A3470 +/* 800A346C 000A03CC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800A3470: +/* 800A3470 000A03D0 48 00 07 A1 */ bl "reserve__Q24rstl84vector,Q24rstl17rmemory_allocator>Fi" +lbl_800A3474: +/* 800A3474 000A03D4 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 800A3478 000A03D8 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 800A347C 000A03DC 54 00 20 36 */ slwi r0, r0, 4 +/* 800A3480 000A03E0 7C 83 02 15 */ add. r4, r3, r0 +/* 800A3484 000A03E4 41 82 00 20 */ beq lbl_800A34A4 +/* 800A3488 000A03E8 93 44 00 00 */ stw r26, 0(r4) +/* 800A348C 000A03EC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800A3490 000A03F0 80 61 00 48 */ lwz r3, 0x48(r1) +/* 800A3494 000A03F4 90 04 00 04 */ stw r0, 4(r4) +/* 800A3498 000A03F8 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800A349C 000A03FC 90 64 00 08 */ stw r3, 8(r4) +/* 800A34A0 000A0400 90 04 00 0C */ stw r0, 0xc(r4) +lbl_800A34A4: +/* 800A34A4 000A0404 80 7B 00 14 */ lwz r3, 0x14(r27) +/* 800A34A8 000A0408 3B BD 00 04 */ addi r29, r29, 4 +/* 800A34AC 000A040C 3B DE 00 0C */ addi r30, r30, 0xc +/* 800A34B0 000A0410 3B FF 00 01 */ addi r31, r31, 1 +/* 800A34B4 000A0414 38 03 00 01 */ addi r0, r3, 1 +/* 800A34B8 000A0418 90 1B 00 14 */ stw r0, 0x14(r27) +lbl_800A34BC: +/* 800A34BC 000A041C 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 800A34C0 000A0420 7C 1F 00 00 */ cmpw r31, r0 +/* 800A34C4 000A0424 41 80 FF 6C */ blt lbl_800A3430 +/* 800A34C8 000A0428 88 ED A2 BC */ lbz r7, lbl_805A8E7C@sda21(r13) +/* 800A34CC 000A042C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800A34D0 000A0430 38 81 00 38 */ addi r4, r1, 0x38 +/* 800A34D4 000A0434 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800A34D8 000A0438 98 E1 00 10 */ stb r7, 0x10(r1) +/* 800A34DC 000A043C 80 1B 00 04 */ lwz r0, 4(r27) +/* 800A34E0 000A0440 80 DB 00 0C */ lwz r6, 0xc(r27) +/* 800A34E4 000A0444 54 00 20 36 */ slwi r0, r0, 4 +/* 800A34E8 000A0448 98 E1 00 1C */ stb r7, 0x1c(r1) +/* 800A34EC 000A044C 7C C6 02 14 */ add r6, r6, r0 +/* 800A34F0 000A0450 90 C1 00 38 */ stw r6, 0x38(r1) +/* 800A34F4 000A0454 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 800A34F8 000A0458 98 E1 00 14 */ stb r7, 0x14(r1) +/* 800A34FC 000A045C 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 800A3500 000A0460 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A3504 000A0464 90 01 00 30 */ stw r0, 0x30(r1) +/* 800A3508 000A0468 48 00 00 69 */ bl "sort,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor" +/* 800A3550 000A04B0 7F 63 DB 78 */ mr r3, r27 +/* 800A3554 000A04B4 4B FF F4 CD */ bl CreateFuncLookup__3CAiFP10CAiFuncMap +/* 800A3558 000A04B8 7F 63 DB 78 */ mr r3, r27 +/* 800A355C 000A04BC BB 41 00 68 */ lmw r26, 0x68(r1) +/* 800A3560 000A04C0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800A3564 000A04C4 7C 08 03 A6 */ mtlr r0 +/* 800A3568 000A04C8 38 21 00 80 */ addi r1, r1, 0x80 +/* 800A356C 000A04CC 4E 80 00 20 */ blr + +.global "sort,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl50pairRQ24rstl50pairRQ24rstl50pairQ24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>" +/* 800A3618 000A0578 80 9C 00 00 */ lwz r4, 0(r28) +/* 800A361C 000A057C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800A3620 000A0580 38 84 00 10 */ addi r4, r4, 0x10 +/* 800A3624 000A0584 83 FF 00 00 */ lwz r31, 0(r31) +/* 800A3628 000A0588 38 03 FF F0 */ addi r0, r3, -16 +/* 800A362C 000A058C 90 81 00 38 */ stw r4, 0x38(r1) +/* 800A3630 000A0590 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800A3634 000A0594 48 00 00 10 */ b lbl_800A3644 +lbl_800A3638: +/* 800A3638 000A0598 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800A363C 000A059C 38 03 00 10 */ addi r0, r3, 0x10 +/* 800A3640 000A05A0 90 01 00 38 */ stw r0, 0x38(r1) +lbl_800A3644: +/* 800A3644 000A05A4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800A3648 000A05A8 7F E4 FB 78 */ mr r4, r31 +/* 800A364C 000A05AC 80 63 00 00 */ lwz r3, 0(r3) +/* 800A3650 000A05B0 48 2E C9 4D */ bl strcmp +/* 800A3654 000A05B4 2C 03 00 00 */ cmpwi r3, 0 +/* 800A3658 000A05B8 41 80 FF E0 */ blt lbl_800A3638 +/* 800A365C 000A05BC 48 00 00 10 */ b lbl_800A366C +lbl_800A3660: +/* 800A3660 000A05C0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800A3664 000A05C4 38 03 FF F0 */ addi r0, r3, -16 +/* 800A3668 000A05C8 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_800A366C: +/* 800A366C 000A05CC 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 800A3670 000A05D0 7F E3 FB 78 */ mr r3, r31 +/* 800A3674 000A05D4 80 84 00 00 */ lwz r4, 0(r4) +/* 800A3678 000A05D8 48 2E C9 25 */ bl strcmp +/* 800A367C 000A05DC 2C 03 00 00 */ cmpwi r3, 0 +/* 800A3680 000A05E0 41 80 FF E0 */ blt lbl_800A3660 +/* 800A3684 000A05E4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800A3688 000A05E8 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800A368C 000A05EC 7C 03 00 40 */ cmplw r3, r0 +/* 800A3690 000A05F0 40 80 00 74 */ bge lbl_800A3704 +/* 800A3694 000A05F4 81 21 00 38 */ lwz r9, 0x38(r1) +/* 800A3698 000A05F8 81 41 00 3C */ lwz r10, 0x3c(r1) +/* 800A369C 000A05FC 81 09 00 04 */ lwz r8, 4(r9) +/* 800A36A0 000A0600 38 69 00 10 */ addi r3, r9, 0x10 +/* 800A36A4 000A0604 80 E9 00 08 */ lwz r7, 8(r9) +/* 800A36A8 000A0608 38 0A FF F0 */ addi r0, r10, -16 +/* 800A36AC 000A060C 80 C9 00 0C */ lwz r6, 0xc(r9) +/* 800A36B0 000A0610 81 69 00 00 */ lwz r11, 0(r9) +/* 800A36B4 000A0614 80 8A 00 00 */ lwz r4, 0(r10) +/* 800A36B8 000A0618 91 41 00 28 */ stw r10, 0x28(r1) +/* 800A36BC 000A061C 90 89 00 00 */ stw r4, 0(r9) +/* 800A36C0 000A0620 80 AA 00 04 */ lwz r5, 4(r10) +/* 800A36C4 000A0624 80 8A 00 08 */ lwz r4, 8(r10) +/* 800A36C8 000A0628 91 21 00 2C */ stw r9, 0x2c(r1) +/* 800A36CC 000A062C 90 A9 00 04 */ stw r5, 4(r9) +/* 800A36D0 000A0630 90 89 00 08 */ stw r4, 8(r9) +/* 800A36D4 000A0634 80 8A 00 0C */ lwz r4, 0xc(r10) +/* 800A36D8 000A0638 91 01 00 44 */ stw r8, 0x44(r1) +/* 800A36DC 000A063C 90 89 00 0C */ stw r4, 0xc(r9) +/* 800A36E0 000A0640 91 6A 00 00 */ stw r11, 0(r10) +/* 800A36E4 000A0644 91 0A 00 04 */ stw r8, 4(r10) +/* 800A36E8 000A0648 90 EA 00 08 */ stw r7, 8(r10) +/* 800A36EC 000A064C 90 E1 00 48 */ stw r7, 0x48(r1) +/* 800A36F0 000A0650 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800A36F4 000A0654 90 CA 00 0C */ stw r6, 0xc(r10) +/* 800A36F8 000A0658 90 61 00 38 */ stw r3, 0x38(r1) +/* 800A36FC 000A065C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800A3700 000A0660 4B FF FF 44 */ b lbl_800A3644 +lbl_800A3704: +/* 800A3704 000A0664 88 FE 00 00 */ lbz r7, 0(r30) +/* 800A3708 000A0668 38 61 00 24 */ addi r3, r1, 0x24 +/* 800A370C 000A066C 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 800A3710 000A0670 38 81 00 20 */ addi r4, r1, 0x20 +/* 800A3714 000A0674 80 1C 00 00 */ lwz r0, 0(r28) +/* 800A3718 000A0678 38 A1 00 0C */ addi r5, r1, 0xc +/* 800A371C 000A067C 98 E1 00 0C */ stb r7, 0xc(r1) +/* 800A3720 000A0680 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800A3724 000A0684 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A3728 000A0688 4B FF FE 49 */ bl "sort,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor" +"sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor": +/* 800A3774 000A06D4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800A3778 000A06D8 7C 08 02 A6 */ mflr r0 +/* 800A377C 000A06DC 90 01 00 64 */ stw r0, 0x64(r1) +/* 800A3780 000A06E0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800A3784 000A06E4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800A3788 000A06E8 7C BE 2B 78 */ mr r30, r5 +/* 800A378C 000A06EC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800A3790 000A06F0 7C 9D 23 78 */ mr r29, r4 +/* 800A3794 000A06F4 93 81 00 50 */ stw r28, 0x50(r1) +/* 800A3798 000A06F8 7C 7C 1B 78 */ mr r28, r3 +/* 800A379C 000A06FC 80 63 00 00 */ lwz r3, 0(r3) +/* 800A37A0 000A0700 80 A4 00 00 */ lwz r5, 0(r4) +/* 800A37A4 000A0704 7C 03 28 50 */ subf r0, r3, r5 +/* 800A37A8 000A0708 7C 00 26 70 */ srawi r0, r0, 4 +/* 800A37AC 000A070C 7C 80 01 94 */ addze r4, r0 +/* 800A37B0 000A0710 2C 04 00 01 */ cmpwi r4, 1 +/* 800A37B4 000A0714 40 81 01 A4 */ ble lbl_800A3958 +/* 800A37B8 000A0718 2C 04 00 14 */ cmpwi r4, 0x14 +/* 800A37BC 000A071C 41 81 00 30 */ bgt lbl_800A37EC +/* 800A37C0 000A0720 88 FE 00 00 */ lbz r7, 0(r30) +/* 800A37C4 000A0724 38 61 00 34 */ addi r3, r1, 0x34 +/* 800A37C8 000A0728 80 DD 00 00 */ lwz r6, 0(r29) +/* 800A37CC 000A072C 38 81 00 30 */ addi r4, r1, 0x30 +/* 800A37D0 000A0730 80 1C 00 00 */ lwz r0, 0(r28) +/* 800A37D4 000A0734 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800A37D8 000A0738 98 E1 00 14 */ stb r7, 0x14(r1) +/* 800A37DC 000A073C 90 C1 00 30 */ stw r6, 0x30(r1) +/* 800A37E0 000A0740 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A37E4 000A0744 48 00 09 3D */ bl "__insertion_sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24" +/* 800A37E8 000A0748 48 00 01 70 */ b lbl_800A3958 +lbl_800A37EC: +/* 800A37EC 000A074C 54 80 0F FE */ srwi r0, r4, 0x1f +/* 800A37F0 000A0750 38 A5 FF F0 */ addi r5, r5, -16 +/* 800A37F4 000A0754 7C 80 22 14 */ add r4, r0, r4 +/* 800A37F8 000A0758 88 1E 00 00 */ lbz r0, 0(r30) +/* 800A37FC 000A075C 7C 84 0E 70 */ srawi r4, r4, 1 +/* 800A3800 000A0760 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 800A3804 000A0764 54 84 20 36 */ slwi r4, r4, 4 +/* 800A3808 000A0768 38 C1 00 10 */ addi r6, r1, 0x10 +/* 800A380C 000A076C 7F E3 22 14 */ add r31, r3, r4 +/* 800A3810 000A0770 98 01 00 10 */ stb r0, 0x10(r1) +/* 800A3814 000A0774 7F E4 FB 78 */ mr r4, r31 +/* 800A3818 000A0778 48 00 06 39 */ bl "__sort3,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl40pairRQ24rstl40pairRQ24rstl40pairQ24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>" +/* 800A381C 000A077C 80 9C 00 00 */ lwz r4, 0(r28) +/* 800A3820 000A0780 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800A3824 000A0784 38 84 00 10 */ addi r4, r4, 0x10 +/* 800A3828 000A0788 83 FF 00 00 */ lwz r31, 0(r31) +/* 800A382C 000A078C 38 03 FF F0 */ addi r0, r3, -16 +/* 800A3830 000A0790 90 81 00 38 */ stw r4, 0x38(r1) +/* 800A3834 000A0794 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800A3838 000A0798 48 00 00 10 */ b lbl_800A3848 +lbl_800A383C: +/* 800A383C 000A079C 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800A3840 000A07A0 38 03 00 10 */ addi r0, r3, 0x10 +/* 800A3844 000A07A4 90 01 00 38 */ stw r0, 0x38(r1) +lbl_800A3848: +/* 800A3848 000A07A8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800A384C 000A07AC 7F E4 FB 78 */ mr r4, r31 +/* 800A3850 000A07B0 80 63 00 00 */ lwz r3, 0(r3) +/* 800A3854 000A07B4 48 2E C7 49 */ bl strcmp +/* 800A3858 000A07B8 2C 03 00 00 */ cmpwi r3, 0 +/* 800A385C 000A07BC 41 80 FF E0 */ blt lbl_800A383C +/* 800A3860 000A07C0 48 00 00 10 */ b lbl_800A3870 +lbl_800A3864: +/* 800A3864 000A07C4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800A3868 000A07C8 38 03 FF F0 */ addi r0, r3, -16 +/* 800A386C 000A07CC 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_800A3870: +/* 800A3870 000A07D0 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 800A3874 000A07D4 7F E3 FB 78 */ mr r3, r31 +/* 800A3878 000A07D8 80 84 00 00 */ lwz r4, 0(r4) +/* 800A387C 000A07DC 48 2E C7 21 */ bl strcmp +/* 800A3880 000A07E0 2C 03 00 00 */ cmpwi r3, 0 +/* 800A3884 000A07E4 41 80 FF E0 */ blt lbl_800A3864 +/* 800A3888 000A07E8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800A388C 000A07EC 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800A3890 000A07F0 7C 03 00 40 */ cmplw r3, r0 +/* 800A3894 000A07F4 40 80 00 74 */ bge lbl_800A3908 +/* 800A3898 000A07F8 81 21 00 38 */ lwz r9, 0x38(r1) +/* 800A389C 000A07FC 81 41 00 3C */ lwz r10, 0x3c(r1) +/* 800A38A0 000A0800 81 09 00 04 */ lwz r8, 4(r9) +/* 800A38A4 000A0804 38 69 00 10 */ addi r3, r9, 0x10 +/* 800A38A8 000A0808 80 E9 00 08 */ lwz r7, 8(r9) +/* 800A38AC 000A080C 38 0A FF F0 */ addi r0, r10, -16 +/* 800A38B0 000A0810 80 C9 00 0C */ lwz r6, 0xc(r9) +/* 800A38B4 000A0814 81 69 00 00 */ lwz r11, 0(r9) +/* 800A38B8 000A0818 80 8A 00 00 */ lwz r4, 0(r10) +/* 800A38BC 000A081C 91 41 00 28 */ stw r10, 0x28(r1) +/* 800A38C0 000A0820 90 89 00 00 */ stw r4, 0(r9) +/* 800A38C4 000A0824 80 AA 00 04 */ lwz r5, 4(r10) +/* 800A38C8 000A0828 80 8A 00 08 */ lwz r4, 8(r10) +/* 800A38CC 000A082C 91 21 00 2C */ stw r9, 0x2c(r1) +/* 800A38D0 000A0830 90 A9 00 04 */ stw r5, 4(r9) +/* 800A38D4 000A0834 90 89 00 08 */ stw r4, 8(r9) +/* 800A38D8 000A0838 80 8A 00 0C */ lwz r4, 0xc(r10) +/* 800A38DC 000A083C 91 01 00 44 */ stw r8, 0x44(r1) +/* 800A38E0 000A0840 90 89 00 0C */ stw r4, 0xc(r9) +/* 800A38E4 000A0844 91 6A 00 00 */ stw r11, 0(r10) +/* 800A38E8 000A0848 91 0A 00 04 */ stw r8, 4(r10) +/* 800A38EC 000A084C 90 EA 00 08 */ stw r7, 8(r10) +/* 800A38F0 000A0850 90 E1 00 48 */ stw r7, 0x48(r1) +/* 800A38F4 000A0854 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800A38F8 000A0858 90 CA 00 0C */ stw r6, 0xc(r10) +/* 800A38FC 000A085C 90 61 00 38 */ stw r3, 0x38(r1) +/* 800A3900 000A0860 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800A3904 000A0864 4B FF FF 44 */ b lbl_800A3848 +lbl_800A3908: +/* 800A3908 000A0868 88 FE 00 00 */ lbz r7, 0(r30) +/* 800A390C 000A086C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800A3910 000A0870 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 800A3914 000A0874 38 81 00 20 */ addi r4, r1, 0x20 +/* 800A3918 000A0878 80 1C 00 00 */ lwz r0, 0(r28) +/* 800A391C 000A087C 38 A1 00 0C */ addi r5, r1, 0xc +/* 800A3920 000A0880 98 E1 00 0C */ stb r7, 0xc(r1) +/* 800A3924 000A0884 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800A3928 000A0888 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A392C 000A088C 4B FF FE 49 */ bl "sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor" +/* 800A3930 000A0890 88 FE 00 00 */ lbz r7, 0(r30) +/* 800A3934 000A0894 38 61 00 1C */ addi r3, r1, 0x1c +/* 800A3938 000A0898 80 DD 00 00 */ lwz r6, 0(r29) +/* 800A393C 000A089C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800A3940 000A08A0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800A3944 000A08A4 38 A1 00 08 */ addi r5, r1, 8 +/* 800A3948 000A08A8 98 E1 00 08 */ stb r7, 8(r1) +/* 800A394C 000A08AC 90 C1 00 18 */ stw r6, 0x18(r1) +/* 800A3950 000A08B0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800A3954 000A08B4 4B FF FE 21 */ bl "sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor" +lbl_800A3958: +/* 800A3958 000A08B8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800A395C 000A08BC 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800A3960 000A08C0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800A3964 000A08C4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800A3968 000A08C8 83 81 00 50 */ lwz r28, 0x50(r1) +/* 800A396C 000A08CC 7C 08 03 A6 */ mtlr r0 +/* 800A3970 000A08D0 38 21 00 60 */ addi r1, r1, 0x60 +/* 800A3974 000A08D4 4E 80 00 20 */ blr + +.global "lower_bound,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 800A39E0 000A0940 80 61 00 10 */ lwz r3, 0x10(r1) +/* 800A39E4 000A0944 80 9C 00 00 */ lwz r4, 0(r28) +/* 800A39E8 000A0948 80 63 00 00 */ lwz r3, 0(r3) +/* 800A39EC 000A094C 48 2E C5 B1 */ bl strcmp +/* 800A39F0 000A0950 2C 03 00 00 */ cmpwi r3, 0 +/* 800A39F4 000A0954 40 80 00 24 */ bge lbl_800A3A18 +/* 800A39F8 000A0958 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800A39FC 000A095C 7C 7D F0 50 */ subf r3, r29, r30 +/* 800A3A00 000A0960 3B C3 FF FF */ addi r30, r3, -1 +/* 800A3A04 000A0964 90 1B 00 00 */ stw r0, 0(r27) +/* 800A3A08 000A0968 80 7B 00 00 */ lwz r3, 0(r27) +/* 800A3A0C 000A096C 38 03 00 10 */ addi r0, r3, 0x10 +/* 800A3A10 000A0970 90 1B 00 00 */ stw r0, 0(r27) +/* 800A3A14 000A0974 48 00 00 08 */ b lbl_800A3A1C +lbl_800A3A18: +/* 800A3A18 000A0978 7F BE EB 78 */ mr r30, r29 +lbl_800A3A1C: +/* 800A3A1C 000A097C 2C 1E 00 00 */ cmpwi r30, 0 +/* 800A3A20 000A0980 41 81 FF A0 */ bgt lbl_800A39C0 +/* 800A3A24 000A0984 80 1B 00 00 */ lwz r0, 0(r27) +/* 800A3A28 000A0988 90 1F 00 00 */ stw r0, 0(r31) +/* 800A3A2C 000A098C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 800A3A30 000A0990 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A3A34 000A0994 7C 08 03 A6 */ mtlr r0 +/* 800A3A38 000A0998 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A3A3C 000A099C 4E 80 00 20 */ blr + +.global "lower_bound,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_all" +"lower_bound,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_all": +/* 800A3A40 000A09A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A3A44 000A09A4 7C 08 02 A6 */ mflr r0 +/* 800A3A48 000A09A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A3A4C 000A09AC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800A3A50 000A09B0 7C 9B 23 78 */ mr r27, r4 +/* 800A3A54 000A09B4 7C 7F 1B 78 */ mr r31, r3 +/* 800A3A58 000A09B8 7C DC 33 78 */ mr r28, r6 +/* 800A3A5C 000A09BC 38 61 00 0C */ addi r3, r1, 0xc +/* 800A3A60 000A09C0 80 85 00 00 */ lwz r4, 0(r5) +/* 800A3A64 000A09C4 80 1B 00 00 */ lwz r0, 0(r27) +/* 800A3A68 000A09C8 90 81 00 08 */ stw r4, 8(r1) +/* 800A3A6C 000A09CC 38 81 00 08 */ addi r4, r1, 8 +/* 800A3A70 000A09D0 90 01 00 0C */ stw r0, 0xc(r1) +/* 800A3A74 000A09D4 48 00 03 69 */ bl "distance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator,Q" +/* 800A3A78 000A09D8 80 1B 00 00 */ lwz r0, 0(r27) +/* 800A3A7C 000A09DC 7C 7E 1B 78 */ mr r30, r3 +/* 800A3A80 000A09E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 800A3A84 000A09E4 48 00 00 60 */ b lbl_800A3AE4 +lbl_800A3A88: +/* 800A3A88 000A09E8 57 C3 0F FE */ srwi r3, r30, 0x1f +/* 800A3A8C 000A09EC 80 1B 00 00 */ lwz r0, 0(r27) +/* 800A3A90 000A09F0 7C 83 F2 14 */ add r4, r3, r30 +/* 800A3A94 000A09F4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800A3A98 000A09F8 7C 9D 0E 70 */ srawi r29, r4, 1 +/* 800A3A9C 000A09FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 800A3AA0 000A0A00 7F A4 EB 78 */ mr r4, r29 +/* 800A3AA4 000A0A04 48 00 02 A1 */ bl "advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 800A3AA8 000A0A08 80 61 00 10 */ lwz r3, 0x10(r1) +/* 800A3AAC 000A0A0C 80 9C 00 00 */ lwz r4, 0(r28) +/* 800A3AB0 000A0A10 80 63 00 00 */ lwz r3, 0(r3) +/* 800A3AB4 000A0A14 48 2E C4 E9 */ bl strcmp +/* 800A3AB8 000A0A18 2C 03 00 00 */ cmpwi r3, 0 +/* 800A3ABC 000A0A1C 40 80 00 24 */ bge lbl_800A3AE0 +/* 800A3AC0 000A0A20 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800A3AC4 000A0A24 7C 7D F0 50 */ subf r3, r29, r30 +/* 800A3AC8 000A0A28 3B C3 FF FF */ addi r30, r3, -1 +/* 800A3ACC 000A0A2C 90 1B 00 00 */ stw r0, 0(r27) +/* 800A3AD0 000A0A30 80 7B 00 00 */ lwz r3, 0(r27) +/* 800A3AD4 000A0A34 38 03 00 10 */ addi r0, r3, 0x10 +/* 800A3AD8 000A0A38 90 1B 00 00 */ stw r0, 0(r27) +/* 800A3ADC 000A0A3C 48 00 00 08 */ b lbl_800A3AE4 +lbl_800A3AE0: +/* 800A3AE0 000A0A40 7F BE EB 78 */ mr r30, r29 +lbl_800A3AE4: +/* 800A3AE4 000A0A44 2C 1E 00 00 */ cmpwi r30, 0 +/* 800A3AE8 000A0A48 41 81 FF A0 */ bgt lbl_800A3A88 +/* 800A3AEC 000A0A4C 80 1B 00 00 */ lwz r0, 0(r27) +/* 800A3AF0 000A0A50 90 1F 00 00 */ stw r0, 0(r31) +/* 800A3AF4 000A0A54 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 800A3AF8 000A0A58 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A3AFC 000A0A5C 7C 08 03 A6 */ mtlr r0 +/* 800A3B00 000A0A60 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A3B04 000A0A64 4E 80 00 20 */ blr + +.global "reserve__Q24rstl94vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl94vector,Q24rstl17rmemory_allocator>Fi": +/* 800A3B08 000A0A68 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A3B0C 000A0A6C 7C 08 02 A6 */ mflr r0 +/* 800A3B10 000A0A70 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A3B14 000A0A74 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800A3B18 000A0A78 7C 9F 23 78 */ mr r31, r4 +/* 800A3B1C 000A0A7C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800A3B20 000A0A80 7C 7E 1B 78 */ mr r30, r3 +/* 800A3B24 000A0A84 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800A3B28 000A0A88 80 03 00 08 */ lwz r0, 8(r3) +/* 800A3B2C 000A0A8C 7C 1F 00 00 */ cmpw r31, r0 +/* 800A3B30 000A0A90 40 81 00 C4 */ ble lbl_800A3BF4 +/* 800A3B34 000A0A94 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 800A3B38 000A0A98 40 82 00 0C */ bne lbl_800A3B44 +/* 800A3B3C 000A0A9C 3B A0 00 00 */ li r29, 0 +/* 800A3B40 000A0AA0 48 00 00 1C */ b lbl_800A3B5C +lbl_800A3B44: +/* 800A3B44 000A0AA4 3C 80 80 3D */ lis r4, lbl_803CD968@ha +/* 800A3B48 000A0AA8 38 A0 00 00 */ li r5, 0 +/* 800A3B4C 000A0AAC 38 84 D9 68 */ addi r4, r4, lbl_803CD968@l +/* 800A3B50 000A0AB0 38 84 04 FA */ addi r4, r4, 0x4fa +/* 800A3B54 000A0AB4 48 27 1C C5 */ bl __nwa__FUlPCcPCc +/* 800A3B58 000A0AB8 7C 7D 1B 78 */ mr r29, r3 +lbl_800A3B5C: +/* 800A3B5C 000A0ABC 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A3B60 000A0AC0 7F A5 EB 78 */ mr r5, r29 +/* 800A3B64 000A0AC4 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 800A3B68 000A0AC8 54 00 20 36 */ slwi r0, r0, 4 +/* 800A3B6C 000A0ACC 7C 86 02 14 */ add r4, r6, r0 +/* 800A3B70 000A0AD0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800A3B74 000A0AD4 90 81 00 08 */ stw r4, 8(r1) +/* 800A3B78 000A0AD8 90 81 00 0C */ stw r4, 0xc(r1) +/* 800A3B7C 000A0ADC 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800A3B80 000A0AE0 48 00 00 34 */ b lbl_800A3BB4 +lbl_800A3B84: +/* 800A3B84 000A0AE4 28 05 00 00 */ cmplwi r5, 0 +/* 800A3B88 000A0AE8 41 82 00 24 */ beq lbl_800A3BAC +/* 800A3B8C 000A0AEC 80 06 00 00 */ lwz r0, 0(r6) +/* 800A3B90 000A0AF0 90 05 00 00 */ stw r0, 0(r5) +/* 800A3B94 000A0AF4 80 66 00 04 */ lwz r3, 4(r6) +/* 800A3B98 000A0AF8 80 06 00 08 */ lwz r0, 8(r6) +/* 800A3B9C 000A0AFC 90 65 00 04 */ stw r3, 4(r5) +/* 800A3BA0 000A0B00 90 05 00 08 */ stw r0, 8(r5) +/* 800A3BA4 000A0B04 80 06 00 0C */ lwz r0, 0xc(r6) +/* 800A3BA8 000A0B08 90 05 00 0C */ stw r0, 0xc(r5) +lbl_800A3BAC: +/* 800A3BAC 000A0B0C 38 A5 00 10 */ addi r5, r5, 0x10 +/* 800A3BB0 000A0B10 38 C6 00 10 */ addi r6, r6, 0x10 +lbl_800A3BB4: +/* 800A3BB4 000A0B14 7C 06 20 40 */ cmplw r6, r4 +/* 800A3BB8 000A0B18 40 82 FF CC */ bne lbl_800A3B84 +/* 800A3BBC 000A0B1C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A3BC0 000A0B20 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800A3BC4 000A0B24 54 00 20 36 */ slwi r0, r0, 4 +/* 800A3BC8 000A0B28 7C 64 1B 78 */ mr r4, r3 +/* 800A3BCC 000A0B2C 7C 03 02 14 */ add r0, r3, r0 +/* 800A3BD0 000A0B30 48 00 00 08 */ b lbl_800A3BD8 +lbl_800A3BD4: +/* 800A3BD4 000A0B34 38 84 00 10 */ addi r4, r4, 0x10 +lbl_800A3BD8: +/* 800A3BD8 000A0B38 7C 04 00 40 */ cmplw r4, r0 +/* 800A3BDC 000A0B3C 40 82 FF F8 */ bne lbl_800A3BD4 +/* 800A3BE0 000A0B40 28 03 00 00 */ cmplwi r3, 0 +/* 800A3BE4 000A0B44 41 82 00 08 */ beq lbl_800A3BEC +/* 800A3BE8 000A0B48 48 27 1D 49 */ bl Free__7CMemoryFPCv +lbl_800A3BEC: +/* 800A3BEC 000A0B4C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800A3BF0 000A0B50 93 FE 00 08 */ stw r31, 8(r30) +lbl_800A3BF4: +/* 800A3BF4 000A0B54 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A3BF8 000A0B58 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800A3BFC 000A0B5C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800A3C00 000A0B60 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800A3C04 000A0B64 7C 08 03 A6 */ mtlr r0 +/* 800A3C08 000A0B68 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A3C0C 000A0B6C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl84vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl84vector,Q24rstl17rmemory_allocator>Fi": +/* 800A3C10 000A0B70 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A3C14 000A0B74 7C 08 02 A6 */ mflr r0 +/* 800A3C18 000A0B78 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A3C1C 000A0B7C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800A3C20 000A0B80 7C 9F 23 78 */ mr r31, r4 +/* 800A3C24 000A0B84 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800A3C28 000A0B88 7C 7E 1B 78 */ mr r30, r3 +/* 800A3C2C 000A0B8C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800A3C30 000A0B90 80 03 00 08 */ lwz r0, 8(r3) +/* 800A3C34 000A0B94 7C 1F 00 00 */ cmpw r31, r0 +/* 800A3C38 000A0B98 40 81 00 C4 */ ble lbl_800A3CFC +/* 800A3C3C 000A0B9C 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 800A3C40 000A0BA0 40 82 00 0C */ bne lbl_800A3C4C +/* 800A3C44 000A0BA4 3B A0 00 00 */ li r29, 0 +/* 800A3C48 000A0BA8 48 00 00 1C */ b lbl_800A3C64 +lbl_800A3C4C: +/* 800A3C4C 000A0BAC 3C 80 80 3D */ lis r4, lbl_803CD968@ha +/* 800A3C50 000A0BB0 38 A0 00 00 */ li r5, 0 +/* 800A3C54 000A0BB4 38 84 D9 68 */ addi r4, r4, lbl_803CD968@l +/* 800A3C58 000A0BB8 38 84 04 FA */ addi r4, r4, 0x4fa +/* 800A3C5C 000A0BBC 48 27 1B BD */ bl __nwa__FUlPCcPCc +/* 800A3C60 000A0BC0 7C 7D 1B 78 */ mr r29, r3 +lbl_800A3C64: +/* 800A3C64 000A0BC4 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A3C68 000A0BC8 7F A5 EB 78 */ mr r5, r29 +/* 800A3C6C 000A0BCC 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 800A3C70 000A0BD0 54 00 20 36 */ slwi r0, r0, 4 +/* 800A3C74 000A0BD4 7C 86 02 14 */ add r4, r6, r0 +/* 800A3C78 000A0BD8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800A3C7C 000A0BDC 90 81 00 08 */ stw r4, 8(r1) +/* 800A3C80 000A0BE0 90 81 00 0C */ stw r4, 0xc(r1) +/* 800A3C84 000A0BE4 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800A3C88 000A0BE8 48 00 00 34 */ b lbl_800A3CBC +lbl_800A3C8C: +/* 800A3C8C 000A0BEC 28 05 00 00 */ cmplwi r5, 0 +/* 800A3C90 000A0BF0 41 82 00 24 */ beq lbl_800A3CB4 +/* 800A3C94 000A0BF4 80 06 00 00 */ lwz r0, 0(r6) +/* 800A3C98 000A0BF8 90 05 00 00 */ stw r0, 0(r5) +/* 800A3C9C 000A0BFC 80 66 00 04 */ lwz r3, 4(r6) +/* 800A3CA0 000A0C00 80 06 00 08 */ lwz r0, 8(r6) +/* 800A3CA4 000A0C04 90 65 00 04 */ stw r3, 4(r5) +/* 800A3CA8 000A0C08 90 05 00 08 */ stw r0, 8(r5) +/* 800A3CAC 000A0C0C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 800A3CB0 000A0C10 90 05 00 0C */ stw r0, 0xc(r5) +lbl_800A3CB4: +/* 800A3CB4 000A0C14 38 A5 00 10 */ addi r5, r5, 0x10 +/* 800A3CB8 000A0C18 38 C6 00 10 */ addi r6, r6, 0x10 +lbl_800A3CBC: +/* 800A3CBC 000A0C1C 7C 06 20 40 */ cmplw r6, r4 +/* 800A3CC0 000A0C20 40 82 FF CC */ bne lbl_800A3C8C +/* 800A3CC4 000A0C24 80 1E 00 04 */ lwz r0, 4(r30) +/* 800A3CC8 000A0C28 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800A3CCC 000A0C2C 54 00 20 36 */ slwi r0, r0, 4 +/* 800A3CD0 000A0C30 7C 64 1B 78 */ mr r4, r3 +/* 800A3CD4 000A0C34 7C 03 02 14 */ add r0, r3, r0 +/* 800A3CD8 000A0C38 48 00 00 08 */ b lbl_800A3CE0 +lbl_800A3CDC: +/* 800A3CDC 000A0C3C 38 84 00 10 */ addi r4, r4, 0x10 +lbl_800A3CE0: +/* 800A3CE0 000A0C40 7C 04 00 40 */ cmplw r4, r0 +/* 800A3CE4 000A0C44 40 82 FF F8 */ bne lbl_800A3CDC +/* 800A3CE8 000A0C48 28 03 00 00 */ cmplwi r3, 0 +/* 800A3CEC 000A0C4C 41 82 00 08 */ beq lbl_800A3CF4 +/* 800A3CF0 000A0C50 48 27 1C 41 */ bl Free__7CMemoryFPCv +lbl_800A3CF4: +/* 800A3CF4 000A0C54 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800A3CF8 000A0C58 93 FE 00 08 */ stw r31, 8(r30) +lbl_800A3CFC: +/* 800A3CFC 000A0C5C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A3D00 000A0C60 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800A3D04 000A0C64 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800A3D08 000A0C68 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800A3D0C 000A0C6C 7C 08 03 A6 */ mtlr r0 +/* 800A3D10 000A0C70 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A3D14 000A0C74 4E 80 00 20 */ blr + +.global "advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 800A3D18 000A0C78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A3D1C 000A0C7C 7C 08 02 A6 */ mflr r0 +/* 800A3D20 000A0C80 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A3D24 000A0C84 38 A1 00 0C */ addi r5, r1, 0xc +/* 800A3D28 000A0C88 88 01 00 08 */ lbz r0, 8(r1) +/* 800A3D2C 000A0C8C 98 01 00 0C */ stb r0, 0xc(r1) +/* 800A3D30 000A0C90 48 00 00 55 */ bl "__advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +/* 800A3D34 000A0C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A3D38 000A0C98 7C 08 03 A6 */ mtlr r0 +/* 800A3D3C 000A0C9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A3D40 000A0CA0 4E 80 00 20 */ blr + +.global "advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 800A3D44 000A0CA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A3D48 000A0CA8 7C 08 02 A6 */ mflr r0 +/* 800A3D4C 000A0CAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A3D50 000A0CB0 38 A1 00 0C */ addi r5, r1, 0xc +/* 800A3D54 000A0CB4 88 01 00 08 */ lbz r0, 8(r1) +/* 800A3D58 000A0CB8 98 01 00 0C */ stb r0, 0xc(r1) +/* 800A3D5C 000A0CBC 48 00 00 15 */ bl "__advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +/* 800A3D60 000A0CC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A3D64 000A0CC4 7C 08 03 A6 */ mtlr r0 +/* 800A3D68 000A0CC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A3D6C 000A0CCC 4E 80 00 20 */ blr + +.global "__advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +"__advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": +/* 800A3D70 000A0CD0 80 A3 00 00 */ lwz r5, 0(r3) +/* 800A3D74 000A0CD4 54 80 20 36 */ slwi r0, r4, 4 +/* 800A3D78 000A0CD8 7C 05 02 14 */ add r0, r5, r0 +/* 800A3D7C 000A0CDC 90 03 00 00 */ stw r0, 0(r3) +/* 800A3D80 000A0CE0 4E 80 00 20 */ blr + +.global "__advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +"__advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": +/* 800A3D84 000A0CE4 80 A3 00 00 */ lwz r5, 0(r3) +/* 800A3D88 000A0CE8 54 80 20 36 */ slwi r0, r4, 4 +/* 800A3D8C 000A0CEC 7C 05 02 14 */ add r0, r5, r0 +/* 800A3D90 000A0CF0 90 03 00 00 */ stw r0, 0(r3) +/* 800A3D94 000A0CF4 4E 80 00 20 */ blr + +.global "distance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator,Q" +"distance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator,Q": +/* 800A3DDC 000A0D3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800A3DE0 000A0D40 7C 08 02 A6 */ mflr r0 +/* 800A3DE4 000A0D44 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A3DE8 000A0D48 38 A1 00 0C */ addi r5, r1, 0xc +/* 800A3DEC 000A0D4C 88 E1 00 08 */ lbz r7, 8(r1) +/* 800A3DF0 000A0D50 80 C4 00 00 */ lwz r6, 0(r4) +/* 800A3DF4 000A0D54 38 81 00 10 */ addi r4, r1, 0x10 +/* 800A3DF8 000A0D58 80 03 00 00 */ lwz r0, 0(r3) +/* 800A3DFC 000A0D5C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800A3E00 000A0D60 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800A3E04 000A0D64 98 E1 00 0C */ stb r7, 0xc(r1) +/* 800A3E08 000A0D68 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A3E0C 000A0D6C 48 00 00 2D */ bl "__distance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator" +/* 800A3E10 000A0D70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A3E14 000A0D74 7C 08 03 A6 */ mtlr r0 +/* 800A3E18 000A0D78 38 21 00 20 */ addi r1, r1, 0x20 +/* 800A3E1C 000A0D7C 4E 80 00 20 */ blr + +.global "__distance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator" +"__distance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator": +/* 800A3E38 000A0D98 80 63 00 00 */ lwz r3, 0(r3) +/* 800A3E3C 000A0D9C 80 04 00 00 */ lwz r0, 0(r4) +/* 800A3E40 000A0DA0 7C 03 00 50 */ subf r0, r3, r0 +/* 800A3E44 000A0DA4 7C 00 26 70 */ srawi r0, r0, 4 +/* 800A3E48 000A0DA8 7C 60 01 94 */ addze r3, r0 +/* 800A3E4C 000A0DAC 4E 80 00 20 */ blr + +.global "__sort3,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl40pairRQ24rstl40pairRQ24rstl40pairQ24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>" +"__sort3,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl40pairRQ24rstl40pairRQ24rstl40pairQ24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>": +/* 800A3E50 000A0DB0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800A3E54 000A0DB4 7C 08 02 A6 */ mflr r0 +/* 800A3E58 000A0DB8 90 01 00 44 */ stw r0, 0x44(r1) +/* 800A3E5C 000A0DBC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800A3E60 000A0DC0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800A3E64 000A0DC4 7C BE 2B 78 */ mr r30, r5 +/* 800A3E68 000A0DC8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800A3E6C 000A0DCC 7C 9D 23 78 */ mr r29, r4 +/* 800A3E70 000A0DD0 93 81 00 30 */ stw r28, 0x30(r1) +/* 800A3E74 000A0DD4 7C 7C 1B 78 */ mr r28, r3 +/* 800A3E78 000A0DD8 80 64 00 00 */ lwz r3, 0(r4) +/* 800A3E7C 000A0DDC 80 9C 00 00 */ lwz r4, 0(r28) +/* 800A3E80 000A0DE0 48 2E C1 1D */ bl strcmp +/* 800A3E84 000A0DE4 2C 03 00 00 */ cmpwi r3, 0 +/* 800A3E88 000A0DE8 40 80 00 50 */ bge lbl_800A3ED8 +/* 800A3E8C 000A0DEC 80 DC 00 04 */ lwz r6, 4(r28) +/* 800A3E90 000A0DF0 80 BC 00 08 */ lwz r5, 8(r28) +/* 800A3E94 000A0DF4 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 800A3E98 000A0DF8 80 FC 00 00 */ lwz r7, 0(r28) +/* 800A3E9C 000A0DFC 80 1D 00 00 */ lwz r0, 0(r29) +/* 800A3EA0 000A0E00 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800A3EA4 000A0E04 90 1C 00 00 */ stw r0, 0(r28) +/* 800A3EA8 000A0E08 80 7D 00 04 */ lwz r3, 4(r29) +/* 800A3EAC 000A0E0C 80 1D 00 08 */ lwz r0, 8(r29) +/* 800A3EB0 000A0E10 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800A3EB4 000A0E14 90 7C 00 04 */ stw r3, 4(r28) +/* 800A3EB8 000A0E18 90 1C 00 08 */ stw r0, 8(r28) +/* 800A3EBC 000A0E1C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800A3EC0 000A0E20 90 81 00 14 */ stw r4, 0x14(r1) +/* 800A3EC4 000A0E24 90 1C 00 0C */ stw r0, 0xc(r28) +/* 800A3EC8 000A0E28 90 FD 00 00 */ stw r7, 0(r29) +/* 800A3ECC 000A0E2C 90 DD 00 04 */ stw r6, 4(r29) +/* 800A3ED0 000A0E30 90 BD 00 08 */ stw r5, 8(r29) +/* 800A3ED4 000A0E34 90 9D 00 0C */ stw r4, 0xc(r29) +lbl_800A3ED8: +/* 800A3ED8 000A0E38 80 7E 00 00 */ lwz r3, 0(r30) +/* 800A3EDC 000A0E3C 80 9D 00 00 */ lwz r4, 0(r29) +/* 800A3EE0 000A0E40 48 2E C0 BD */ bl strcmp +/* 800A3EE4 000A0E44 2C 03 00 00 */ cmpwi r3, 0 +/* 800A3EE8 000A0E48 40 80 00 B0 */ bge lbl_800A3F98 +/* 800A3EEC 000A0E4C 83 FE 00 00 */ lwz r31, 0(r30) +/* 800A3EF0 000A0E50 80 9E 00 04 */ lwz r4, 4(r30) +/* 800A3EF4 000A0E54 80 DE 00 08 */ lwz r6, 8(r30) +/* 800A3EF8 000A0E58 7F E3 FB 78 */ mr r3, r31 +/* 800A3EFC 000A0E5C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800A3F00 000A0E60 80 1D 00 00 */ lwz r0, 0(r29) +/* 800A3F04 000A0E64 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800A3F08 000A0E68 90 1E 00 00 */ stw r0, 0(r30) +/* 800A3F0C 000A0E6C 80 9D 00 04 */ lwz r4, 4(r29) +/* 800A3F10 000A0E70 80 1D 00 08 */ lwz r0, 8(r29) +/* 800A3F14 000A0E74 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800A3F18 000A0E78 90 9E 00 04 */ stw r4, 4(r30) +/* 800A3F1C 000A0E7C 90 1E 00 08 */ stw r0, 8(r30) +/* 800A3F20 000A0E80 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800A3F24 000A0E84 90 A1 00 24 */ stw r5, 0x24(r1) +/* 800A3F28 000A0E88 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800A3F2C 000A0E8C 80 9C 00 00 */ lwz r4, 0(r28) +/* 800A3F30 000A0E90 48 2E C0 6D */ bl strcmp +/* 800A3F34 000A0E94 2C 03 00 00 */ cmpwi r3, 0 +/* 800A3F38 000A0E98 40 80 00 44 */ bge lbl_800A3F7C +/* 800A3F3C 000A0E9C 80 1C 00 00 */ lwz r0, 0(r28) +/* 800A3F40 000A0EA0 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 800A3F44 000A0EA4 90 1D 00 00 */ stw r0, 0(r29) +/* 800A3F48 000A0EA8 80 61 00 20 */ lwz r3, 0x20(r1) +/* 800A3F4C 000A0EAC 80 DC 00 04 */ lwz r6, 4(r28) +/* 800A3F50 000A0EB0 80 BC 00 08 */ lwz r5, 8(r28) +/* 800A3F54 000A0EB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A3F58 000A0EB8 90 DD 00 04 */ stw r6, 4(r29) +/* 800A3F5C 000A0EBC 90 BD 00 08 */ stw r5, 8(r29) +/* 800A3F60 000A0EC0 80 BC 00 0C */ lwz r5, 0xc(r28) +/* 800A3F64 000A0EC4 90 BD 00 0C */ stw r5, 0xc(r29) +/* 800A3F68 000A0EC8 93 FC 00 00 */ stw r31, 0(r28) +/* 800A3F6C 000A0ECC 90 9C 00 04 */ stw r4, 4(r28) +/* 800A3F70 000A0ED0 90 7C 00 08 */ stw r3, 8(r28) +/* 800A3F74 000A0ED4 90 1C 00 0C */ stw r0, 0xc(r28) +/* 800A3F78 000A0ED8 48 00 00 20 */ b lbl_800A3F98 +lbl_800A3F7C: +/* 800A3F7C 000A0EDC 93 FD 00 00 */ stw r31, 0(r29) +/* 800A3F80 000A0EE0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800A3F84 000A0EE4 80 61 00 20 */ lwz r3, 0x20(r1) +/* 800A3F88 000A0EE8 90 1D 00 04 */ stw r0, 4(r29) +/* 800A3F8C 000A0EEC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A3F90 000A0EF0 90 7D 00 08 */ stw r3, 8(r29) +/* 800A3F94 000A0EF4 90 1D 00 0C */ stw r0, 0xc(r29) +lbl_800A3F98: +/* 800A3F98 000A0EF8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800A3F9C 000A0EFC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800A3FA0 000A0F00 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800A3FA4 000A0F04 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800A3FA8 000A0F08 83 81 00 30 */ lwz r28, 0x30(r1) +/* 800A3FAC 000A0F0C 7C 08 03 A6 */ mtlr r0 +/* 800A3FB0 000A0F10 38 21 00 40 */ addi r1, r1, 0x40 +/* 800A3FB4 000A0F14 4E 80 00 20 */ blr + +.global "__sort3,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl50pairRQ24rstl50pairRQ24rstl50pairQ24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>" +"__sort3,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl50pairRQ24rstl50pairRQ24rstl50pairQ24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>": +/* 800A3FB8 000A0F18 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800A3FBC 000A0F1C 7C 08 02 A6 */ mflr r0 +/* 800A3FC0 000A0F20 90 01 00 44 */ stw r0, 0x44(r1) +/* 800A3FC4 000A0F24 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800A3FC8 000A0F28 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800A3FCC 000A0F2C 7C BE 2B 78 */ mr r30, r5 +/* 800A3FD0 000A0F30 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800A3FD4 000A0F34 7C 9D 23 78 */ mr r29, r4 +/* 800A3FD8 000A0F38 93 81 00 30 */ stw r28, 0x30(r1) +/* 800A3FDC 000A0F3C 7C 7C 1B 78 */ mr r28, r3 +/* 800A3FE0 000A0F40 80 64 00 00 */ lwz r3, 0(r4) +/* 800A3FE4 000A0F44 80 9C 00 00 */ lwz r4, 0(r28) +/* 800A3FE8 000A0F48 48 2E BF B5 */ bl strcmp +/* 800A3FEC 000A0F4C 2C 03 00 00 */ cmpwi r3, 0 +/* 800A3FF0 000A0F50 40 80 00 50 */ bge lbl_800A4040 +/* 800A3FF4 000A0F54 80 DC 00 04 */ lwz r6, 4(r28) +/* 800A3FF8 000A0F58 80 BC 00 08 */ lwz r5, 8(r28) +/* 800A3FFC 000A0F5C 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 800A4000 000A0F60 80 FC 00 00 */ lwz r7, 0(r28) +/* 800A4004 000A0F64 80 1D 00 00 */ lwz r0, 0(r29) +/* 800A4008 000A0F68 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800A400C 000A0F6C 90 1C 00 00 */ stw r0, 0(r28) +/* 800A4010 000A0F70 80 7D 00 04 */ lwz r3, 4(r29) +/* 800A4014 000A0F74 80 1D 00 08 */ lwz r0, 8(r29) +/* 800A4018 000A0F78 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800A401C 000A0F7C 90 7C 00 04 */ stw r3, 4(r28) +/* 800A4020 000A0F80 90 1C 00 08 */ stw r0, 8(r28) +/* 800A4024 000A0F84 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800A4028 000A0F88 90 81 00 14 */ stw r4, 0x14(r1) +/* 800A402C 000A0F8C 90 1C 00 0C */ stw r0, 0xc(r28) +/* 800A4030 000A0F90 90 FD 00 00 */ stw r7, 0(r29) +/* 800A4034 000A0F94 90 DD 00 04 */ stw r6, 4(r29) +/* 800A4038 000A0F98 90 BD 00 08 */ stw r5, 8(r29) +/* 800A403C 000A0F9C 90 9D 00 0C */ stw r4, 0xc(r29) +lbl_800A4040: +/* 800A4040 000A0FA0 80 7E 00 00 */ lwz r3, 0(r30) +/* 800A4044 000A0FA4 80 9D 00 00 */ lwz r4, 0(r29) +/* 800A4048 000A0FA8 48 2E BF 55 */ bl strcmp +/* 800A404C 000A0FAC 2C 03 00 00 */ cmpwi r3, 0 +/* 800A4050 000A0FB0 40 80 00 B0 */ bge lbl_800A4100 +/* 800A4054 000A0FB4 83 FE 00 00 */ lwz r31, 0(r30) +/* 800A4058 000A0FB8 80 9E 00 04 */ lwz r4, 4(r30) +/* 800A405C 000A0FBC 80 DE 00 08 */ lwz r6, 8(r30) +/* 800A4060 000A0FC0 7F E3 FB 78 */ mr r3, r31 +/* 800A4064 000A0FC4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800A4068 000A0FC8 80 1D 00 00 */ lwz r0, 0(r29) +/* 800A406C 000A0FCC 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800A4070 000A0FD0 90 1E 00 00 */ stw r0, 0(r30) +/* 800A4074 000A0FD4 80 9D 00 04 */ lwz r4, 4(r29) +/* 800A4078 000A0FD8 80 1D 00 08 */ lwz r0, 8(r29) +/* 800A407C 000A0FDC 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800A4080 000A0FE0 90 9E 00 04 */ stw r4, 4(r30) +/* 800A4084 000A0FE4 90 1E 00 08 */ stw r0, 8(r30) +/* 800A4088 000A0FE8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800A408C 000A0FEC 90 A1 00 24 */ stw r5, 0x24(r1) +/* 800A4090 000A0FF0 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800A4094 000A0FF4 80 9C 00 00 */ lwz r4, 0(r28) +/* 800A4098 000A0FF8 48 2E BF 05 */ bl strcmp +/* 800A409C 000A0FFC 2C 03 00 00 */ cmpwi r3, 0 +/* 800A40A0 000A1000 40 80 00 44 */ bge lbl_800A40E4 +/* 800A40A4 000A1004 80 1C 00 00 */ lwz r0, 0(r28) +/* 800A40A8 000A1008 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 800A40AC 000A100C 90 1D 00 00 */ stw r0, 0(r29) +/* 800A40B0 000A1010 80 61 00 20 */ lwz r3, 0x20(r1) +/* 800A40B4 000A1014 80 DC 00 04 */ lwz r6, 4(r28) +/* 800A40B8 000A1018 80 BC 00 08 */ lwz r5, 8(r28) +/* 800A40BC 000A101C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A40C0 000A1020 90 DD 00 04 */ stw r6, 4(r29) +/* 800A40C4 000A1024 90 BD 00 08 */ stw r5, 8(r29) +/* 800A40C8 000A1028 80 BC 00 0C */ lwz r5, 0xc(r28) +/* 800A40CC 000A102C 90 BD 00 0C */ stw r5, 0xc(r29) +/* 800A40D0 000A1030 93 FC 00 00 */ stw r31, 0(r28) +/* 800A40D4 000A1034 90 9C 00 04 */ stw r4, 4(r28) +/* 800A40D8 000A1038 90 7C 00 08 */ stw r3, 8(r28) +/* 800A40DC 000A103C 90 1C 00 0C */ stw r0, 0xc(r28) +/* 800A40E0 000A1040 48 00 00 20 */ b lbl_800A4100 +lbl_800A40E4: +/* 800A40E4 000A1044 93 FD 00 00 */ stw r31, 0(r29) +/* 800A40E8 000A1048 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800A40EC 000A104C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 800A40F0 000A1050 90 1D 00 04 */ stw r0, 4(r29) +/* 800A40F4 000A1054 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A40F8 000A1058 90 7D 00 08 */ stw r3, 8(r29) +/* 800A40FC 000A105C 90 1D 00 0C */ stw r0, 0xc(r29) +lbl_800A4100: +/* 800A4100 000A1060 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800A4104 000A1064 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800A4108 000A1068 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800A410C 000A106C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800A4110 000A1070 83 81 00 30 */ lwz r28, 0x30(r1) +/* 800A4114 000A1074 7C 08 03 A6 */ mtlr r0 +/* 800A4118 000A1078 38 21 00 40 */ addi r1, r1, 0x40 +/* 800A411C 000A107C 4E 80 00 20 */ blr + +.global "__insertion_sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24" +"__insertion_sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24": +/* 800A4120 000A1080 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800A4124 000A1084 7C 08 02 A6 */ mflr r0 +/* 800A4128 000A1088 90 01 00 34 */ stw r0, 0x34(r1) +/* 800A412C 000A108C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 800A4130 000A1090 7C 7E 1B 78 */ mr r30, r3 +/* 800A4134 000A1094 7C 9F 23 78 */ mr r31, r4 +/* 800A4138 000A1098 83 A3 00 00 */ lwz r29, 0(r3) +/* 800A413C 000A109C 3B BD 00 10 */ addi r29, r29, 0x10 +/* 800A4140 000A10A0 48 00 00 94 */ b lbl_800A41D4 +lbl_800A4144: +/* 800A4144 000A10A4 80 9D 00 04 */ lwz r4, 4(r29) +/* 800A4148 000A10A8 7F BA EB 78 */ mr r26, r29 +/* 800A414C 000A10AC 80 7D 00 08 */ lwz r3, 8(r29) +/* 800A4150 000A10B0 3B 7D FF F0 */ addi r27, r29, -16 +/* 800A4154 000A10B4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800A4158 000A10B8 90 81 00 0C */ stw r4, 0xc(r1) +/* 800A415C 000A10BC 83 9D 00 00 */ lwz r28, 0(r29) +/* 800A4160 000A10C0 90 61 00 10 */ stw r3, 0x10(r1) +/* 800A4164 000A10C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A4168 000A10C8 48 00 00 2C */ b lbl_800A4194 +lbl_800A416C: +/* 800A416C 000A10CC 80 1B 00 00 */ lwz r0, 0(r27) +/* 800A4170 000A10D0 90 1A 00 00 */ stw r0, 0(r26) +/* 800A4174 000A10D4 80 7B 00 04 */ lwz r3, 4(r27) +/* 800A4178 000A10D8 80 1B 00 08 */ lwz r0, 8(r27) +/* 800A417C 000A10DC 90 7A 00 04 */ stw r3, 4(r26) +/* 800A4180 000A10E0 90 1A 00 08 */ stw r0, 8(r26) +/* 800A4184 000A10E4 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 800A4188 000A10E8 3B 7B FF F0 */ addi r27, r27, -16 +/* 800A418C 000A10EC 90 1A 00 0C */ stw r0, 0xc(r26) +/* 800A4190 000A10F0 3B 5A FF F0 */ addi r26, r26, -16 +lbl_800A4194: +/* 800A4194 000A10F4 80 1E 00 00 */ lwz r0, 0(r30) +/* 800A4198 000A10F8 7C 00 D0 40 */ cmplw r0, r26 +/* 800A419C 000A10FC 40 80 00 18 */ bge lbl_800A41B4 +/* 800A41A0 000A1100 80 9B 00 00 */ lwz r4, 0(r27) +/* 800A41A4 000A1104 7F 83 E3 78 */ mr r3, r28 +/* 800A41A8 000A1108 48 2E BD F5 */ bl strcmp +/* 800A41AC 000A110C 2C 03 00 00 */ cmpwi r3, 0 +/* 800A41B0 000A1110 41 80 FF BC */ blt lbl_800A416C +lbl_800A41B4: +/* 800A41B4 000A1114 93 9A 00 00 */ stw r28, 0(r26) +/* 800A41B8 000A1118 3B BD 00 10 */ addi r29, r29, 0x10 +/* 800A41BC 000A111C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800A41C0 000A1120 80 61 00 10 */ lwz r3, 0x10(r1) +/* 800A41C4 000A1124 90 1A 00 04 */ stw r0, 4(r26) +/* 800A41C8 000A1128 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A41CC 000A112C 90 7A 00 08 */ stw r3, 8(r26) +/* 800A41D0 000A1130 90 1A 00 0C */ stw r0, 0xc(r26) +lbl_800A41D4: +/* 800A41D4 000A1134 80 1F 00 00 */ lwz r0, 0(r31) +/* 800A41D8 000A1138 7C 1D 00 40 */ cmplw r29, r0 +/* 800A41DC 000A113C 41 80 FF 68 */ blt lbl_800A4144 +/* 800A41E0 000A1140 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800A41E4 000A1144 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800A41E8 000A1148 7C 08 03 A6 */ mtlr r0 +/* 800A41EC 000A114C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800A41F0 000A1150 4E 80 00 20 */ blr + +.global "__insertion_sort,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector__10CPatternedFP7CEntity" +"CastTo<8CWarWasp>__10CPatternedFP7CEntity": +/* 800A533C 000A229C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5340 000A22A0 7C 08 02 A6 */ mflr r0 +/* 800A5344 000A22A4 7C 64 1B 78 */ mr r4, r3 +/* 800A5348 000A22A8 38 60 00 27 */ li r3, 0x27 +/* 800A534C 000A22AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5350 000A22B0 80 84 00 00 */ lwz r4, 0(r4) +/* 800A5354 000A22B4 48 00 02 59 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A5358 000A22B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A535C 000A22BC 7C 08 03 A6 */ mtlr r0 +/* 800A5360 000A22C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5364 000A22C4 4E 80 00 20 */ blr + +.global sub_800a5368 +sub_800a5368: +/* 800A5368 000A22C8 90 83 00 00 */ stw r4, 0(r3) +/* 800A536C 000A22CC 4E 80 00 20 */ blr + +.global "CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity" +"CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity": +/* 800A5370 000A22D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5374 000A22D4 7C 08 02 A6 */ mflr r0 +/* 800A5378 000A22D8 7C 64 1B 78 */ mr r4, r3 +/* 800A537C 000A22DC 38 60 00 25 */ li r3, 0x25 +/* 800A5380 000A22E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5384 000A22E4 80 84 00 00 */ lwz r4, 0(r4) +/* 800A5388 000A22E8 48 00 02 25 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A538C 000A22EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A5390 000A22F0 7C 08 03 A6 */ mtlr r0 +/* 800A5394 000A22F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5398 000A22F8 4E 80 00 20 */ blr + +.global sub_800a539c +sub_800a539c: +/* 800A539C 000A22FC 90 83 00 00 */ stw r4, 0(r3) +/* 800A53A0 000A2300 4E 80 00 20 */ blr + +.global "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" +"CastTo<12CSpacePirate>__10CPatternedFP7CEntity": +/* 800A53A4 000A2304 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A53A8 000A2308 7C 08 02 A6 */ mflr r0 +/* 800A53AC 000A230C 7C 64 1B 78 */ mr r4, r3 +/* 800A53B0 000A2310 38 60 00 22 */ li r3, 0x22 +/* 800A53B4 000A2314 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A53B8 000A2318 80 84 00 00 */ lwz r4, 0(r4) +/* 800A53BC 000A231C 48 00 01 F1 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A53C0 000A2320 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A53C4 000A2324 7C 08 03 A6 */ mtlr r0 +/* 800A53C8 000A2328 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A53CC 000A232C 4E 80 00 20 */ blr + +.global sub_800a53d0 +sub_800a53d0: +/* 800A53D0 000A2330 90 83 00 00 */ stw r4, 0(r3) +/* 800A53D4 000A2334 4E 80 00 20 */ blr + +.global "CastTo<11CPuddleToad>__10CPatternedFP7CEntity" +"CastTo<11CPuddleToad>__10CPatternedFP7CEntity": +/* 800A53D8 000A2338 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A53DC 000A233C 7C 08 02 A6 */ mflr r0 +/* 800A53E0 000A2340 7C 64 1B 78 */ mr r4, r3 +/* 800A53E4 000A2344 38 60 00 1C */ li r3, 0x1c +/* 800A53E8 000A2348 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A53EC 000A234C 80 84 00 00 */ lwz r4, 0(r4) +/* 800A53F0 000A2350 48 00 01 BD */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A53F4 000A2354 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A53F8 000A2358 7C 08 03 A6 */ mtlr r0 +/* 800A53FC 000A235C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5400 000A2360 4E 80 00 20 */ blr + +.global sub_800a5404 +sub_800a5404: +/* 800A5404 000A2364 90 83 00 00 */ stw r4, 0(r3) +/* 800A5408 000A2368 4E 80 00 20 */ blr + +.global "CastTo<9CParasite>__10CPatternedFP7CEntity" +"CastTo<9CParasite>__10CPatternedFP7CEntity": +/* 800A540C 000A236C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5410 000A2370 7C 08 02 A6 */ mflr r0 +/* 800A5414 000A2374 7C 64 1B 78 */ mr r4, r3 +/* 800A5418 000A2378 38 60 00 18 */ li r3, 0x18 +/* 800A541C 000A237C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5420 000A2380 80 84 00 00 */ lwz r4, 0(r4) +/* 800A5424 000A2384 48 00 01 89 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A5428 000A2388 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A542C 000A238C 7C 08 03 A6 */ mtlr r0 +/* 800A5430 000A2390 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5434 000A2394 4E 80 00 20 */ blr + +.global sub_800a5438 +sub_800a5438: +/* 800A5438 000A2398 90 83 00 00 */ stw r4, 0(r3) +/* 800A543C 000A239C 4E 80 00 20 */ blr + +.global "CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity" +"CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity": +/* 800A5440 000A23A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5444 000A23A4 7C 08 02 A6 */ mflr r0 +/* 800A5448 000A23A8 7C 64 1B 78 */ mr r4, r3 +/* 800A544C 000A23AC 38 60 00 15 */ li r3, 0x15 +/* 800A5450 000A23B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5454 000A23B4 80 84 00 00 */ lwz r4, 0(r4) +/* 800A5458 000A23B8 48 00 01 55 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A545C 000A23BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A5460 000A23C0 7C 08 03 A6 */ mtlr r0 +/* 800A5464 000A23C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5468 000A23C8 4E 80 00 20 */ blr + +.global sub_800a546c +sub_800a546c: +/* 800A546C 000A23CC 90 83 00 00 */ stw r4, 0(r3) +/* 800A5470 000A23D0 4E 80 00 20 */ blr + +.global "CastTo<12CMetroidBeta>__10CPatternedFP7CEntity" +"CastTo<12CMetroidBeta>__10CPatternedFP7CEntity": +/* 800A5474 000A23D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5478 000A23D8 7C 08 02 A6 */ mflr r0 +/* 800A547C 000A23DC 7C 64 1B 78 */ mr r4, r3 +/* 800A5480 000A23E0 38 60 00 14 */ li r3, 0x14 +/* 800A5484 000A23E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5488 000A23E8 80 84 00 00 */ lwz r4, 0(r4) +/* 800A548C 000A23EC 48 00 01 21 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A5490 000A23F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A5494 000A23F4 7C 08 03 A6 */ mtlr r0 +/* 800A5498 000A23F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A549C 000A23FC 4E 80 00 20 */ blr + +.global sub_800a54a0 +sub_800a54a0: +/* 800A54A0 000A2400 90 83 00 00 */ stw r4, 0(r3) +/* 800A54A4 000A2404 4E 80 00 20 */ blr + +.global "CastTo<8CMetroid>__10CPatternedFP7CEntity" +"CastTo<8CMetroid>__10CPatternedFP7CEntity": +/* 800A54A8 000A2408 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A54AC 000A240C 7C 08 02 A6 */ mflr r0 +/* 800A54B0 000A2410 7C 64 1B 78 */ mr r4, r3 +/* 800A54B4 000A2414 38 60 00 13 */ li r3, 0x13 +/* 800A54B8 000A2418 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A54BC 000A241C 80 84 00 00 */ lwz r4, 0(r4) +/* 800A54C0 000A2420 48 00 00 ED */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A54C4 000A2424 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A54C8 000A2428 7C 08 03 A6 */ mtlr r0 +/* 800A54CC 000A242C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A54D0 000A2430 4E 80 00 20 */ blr + +.global sub_800a54d4 +sub_800a54d4: +/* 800A54D4 000A2434 90 83 00 00 */ stw r4, 0(r3) +/* 800A54D8 000A2438 4E 80 00 20 */ blr + +.global "CastTo<9CJellyZap>__10CPatternedFP7CEntity" +"CastTo<9CJellyZap>__10CPatternedFP7CEntity": +/* 800A54DC 000A243C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A54E0 000A2440 7C 08 02 A6 */ mflr r0 +/* 800A54E4 000A2444 7C 64 1B 78 */ mr r4, r3 +/* 800A54E8 000A2448 38 60 00 10 */ li r3, 0x10 +/* 800A54EC 000A244C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A54F0 000A2450 80 84 00 00 */ lwz r4, 0(r4) +/* 800A54F4 000A2454 48 00 00 B9 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A54F8 000A2458 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A54FC 000A245C 7C 08 03 A6 */ mtlr r0 +/* 800A5500 000A2460 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5504 000A2464 4E 80 00 20 */ blr + +.global sub_800a5508 +sub_800a5508: +/* 800A5508 000A2468 90 83 00 00 */ stw r4, 0(r3) +/* 800A550C 000A246C 4E 80 00 20 */ blr + +.global "CastTo<12CIceSheegoth>__10CPatternedFP7CEntity" +"CastTo<12CIceSheegoth>__10CPatternedFP7CEntity": +/* 800A5510 000A2470 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5514 000A2474 7C 08 02 A6 */ mflr r0 +/* 800A5518 000A2478 7C 64 1B 78 */ mr r4, r3 +/* 800A551C 000A247C 38 60 00 0F */ li r3, 0xf +/* 800A5520 000A2480 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5524 000A2484 80 84 00 00 */ lwz r4, 0(r4) +/* 800A5528 000A2488 48 00 00 85 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A552C 000A248C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A5530 000A2490 7C 08 03 A6 */ mtlr r0 +/* 800A5534 000A2494 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5538 000A2498 4E 80 00 20 */ blr + +.global sub_800a553c +sub_800a553c: +/* 800A553C 000A249C 90 83 00 00 */ stw r4, 0(r3) +/* 800A5540 000A24A0 4E 80 00 20 */ blr + +.global "CastTo<11CFlickerBat>__10CPatternedFP7CEntity" +"CastTo<11CFlickerBat>__10CPatternedFP7CEntity": +/* 800A5544 000A24A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5548 000A24A8 7C 08 02 A6 */ mflr r0 +/* 800A554C 000A24AC 7C 64 1B 78 */ mr r4, r3 +/* 800A5550 000A24B0 38 60 00 0D */ li r3, 0xd +/* 800A5554 000A24B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5558 000A24B8 80 84 00 00 */ lwz r4, 0(r4) +/* 800A555C 000A24BC 48 00 00 51 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A5560 000A24C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A5564 000A24C4 7C 08 03 A6 */ mtlr r0 +/* 800A5568 000A24C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A556C 000A24CC 4E 80 00 20 */ blr + +.global sub_800a5570 +sub_800a5570: +/* 800A5570 000A24D0 90 83 00 00 */ stw r4, 0(r3) +/* 800A5574 000A24D4 4E 80 00 20 */ blr + +.global "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" +"CastTo<11CEnergyBall>__10CPatternedFP7CEntity": +/* 800A5578 000A24D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A557C 000A24DC 7C 08 02 A6 */ mflr r0 +/* 800A5580 000A24E0 7C 64 1B 78 */ mr r4, r3 +/* 800A5584 000A24E4 38 60 00 28 */ li r3, 0x28 +/* 800A5588 000A24E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A558C 000A24EC 80 84 00 00 */ lwz r4, 0(r4) +/* 800A5590 000A24F0 48 00 00 1D */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +/* 800A5594 000A24F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A5598 000A24F8 7C 08 03 A6 */ mtlr r0 +/* 800A559C 000A24FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A55A0 000A2500 4E 80 00 20 */ blr + +.global sub_800a55a4 +sub_800a55a4: +/* 800A55A4 000A2504 90 83 00 00 */ stw r4, 0(r3) +/* 800A55A8 000A2508 4E 80 00 20 */ blr + +.global CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity +CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity: +/* 800A55AC 000A250C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800A55B0 000A2510 7C 08 02 A6 */ mflr r0 +/* 800A55B4 000A2514 90 01 00 24 */ stw r0, 0x24(r1) +/* 800A55B8 000A2518 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800A55BC 000A251C 7C 7F 1B 78 */ mr r31, r3 +/* 800A55C0 000A2520 38 61 00 08 */ addi r3, r1, 8 +/* 800A55C4 000A2524 48 00 74 99 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 800A55C8 000A2528 80 63 00 04 */ lwz r3, 4(r3) +/* 800A55CC 000A252C 28 03 00 00 */ cmplwi r3, 0 +/* 800A55D0 000A2530 41 82 00 14 */ beq lbl_800A55E4 +/* 800A55D4 000A2534 80 03 03 4C */ lwz r0, 0x34c(r3) +/* 800A55D8 000A2538 7C 1F 00 00 */ cmpw r31, r0 +/* 800A55DC 000A253C 40 82 00 08 */ bne lbl_800A55E4 +/* 800A55E0 000A2540 48 00 00 08 */ b lbl_800A55E8 +lbl_800A55E4: +/* 800A55E4 000A2544 38 60 00 00 */ li r3, 0 +lbl_800A55E8: +/* 800A55E8 000A2548 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800A55EC 000A254C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800A55F0 000A2550 7C 08 03 A6 */ mtlr r0 +/* 800A55F4 000A2554 38 21 00 20 */ addi r1, r1, 0x20 +/* 800A55F8 000A2558 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR7CWeapon" +"Visit__20TCastToPtr<7CWeapon>FR7CWeapon": +/* 800A55FC 000A255C 90 83 00 04 */ stw r4, 4(r3) +/* 800A5600 000A2560 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR17CWallCrawlerSwarm" +"Visit__20TCastToPtr<7CWeapon>FR17CWallCrawlerSwarm": +/* 800A5604 000A2564 38 00 00 00 */ li r0, 0 +/* 800A5608 000A2568 90 03 00 04 */ stw r0, 4(r3) +/* 800A560C 000A256C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR20CScriptSpindleCamera" +"Visit__20TCastToPtr<7CWeapon>FR20CScriptSpindleCamera": +/* 800A5610 000A2570 38 00 00 00 */ li r0, 0 +/* 800A5614 000A2574 90 03 00 04 */ stw r0, 4(r3) +/* 800A5618 000A2578 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR15CSnakeWeedSwarm" +"Visit__20TCastToPtr<7CWeapon>FR15CSnakeWeedSwarm": +/* 800A561C 000A257C 38 00 00 00 */ li r0, 0 +/* 800A5620 000A2580 90 03 00 04 */ stw r0, 4(r3) +/* 800A5624 000A2584 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR15CScriptWaypoint" +"Visit__20TCastToPtr<7CWeapon>FR15CScriptWaypoint": +/* 800A5628 000A2588 38 00 00 00 */ li r0, 0 +/* 800A562C 000A258C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5630 000A2590 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR12CScriptWater" +"Visit__20TCastToPtr<7CWeapon>FR12CScriptWater": +/* 800A5634 000A2594 38 00 00 00 */ li r0, 0 +/* 800A5638 000A2598 90 03 00 04 */ stw r0, 4(r3) +/* 800A563C 000A259C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptVisorFlare" +"Visit__20TCastToPtr<7CWeapon>FR17CScriptVisorFlare": +/* 800A5640 000A25A0 38 00 00 00 */ li r0, 0 +/* 800A5644 000A25A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5648 000A25A8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR14CScriptTrigger" +"Visit__20TCastToPtr<7CWeapon>FR14CScriptTrigger": +/* 800A564C 000A25AC 38 00 00 00 */ li r0, 0 +/* 800A5650 000A25B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5654 000A25B4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR12CScriptTimer" +"Visit__20TCastToPtr<7CWeapon>FR12CScriptTimer": +/* 800A5658 000A25B8 38 00 00 00 */ li r0, 0 +/* 800A565C 000A25BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5660 000A25C0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR10CTeamAiMgr" +"Visit__20TCastToPtr<7CWeapon>FR10CTeamAiMgr": +/* 800A5664 000A25C4 38 00 00 00 */ li r0, 0 +/* 800A5668 000A25C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A566C 000A25CC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR21CScriptTargetingPoint" +"Visit__20TCastToPtr<7CWeapon>FR21CScriptTargetingPoint": +/* 800A5670 000A25D0 38 00 00 00 */ li r0, 0 +/* 800A5674 000A25D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5678 000A25D8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR25CScriptSpiderBallWaypoint" +"Visit__20TCastToPtr<7CWeapon>FR25CScriptSpiderBallWaypoint": +/* 800A567C 000A25DC 38 00 00 00 */ li r0, 0 +/* 800A5680 000A25E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5684 000A25E4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR34CScriptSpiderBallAttractionSurface" +"Visit__20TCastToPtr<7CWeapon>FR34CScriptSpiderBallAttractionSurface": +/* 800A5688 000A25E8 38 00 00 00 */ li r0, 0 +/* 800A568C 000A25EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5690 000A25F0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR22CScriptSpecialFunction" +"Visit__20TCastToPtr<7CWeapon>FR22CScriptSpecialFunction": +/* 800A5694 000A25F4 38 00 00 00 */ li r0, 0 +/* 800A5698 000A25F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A569C 000A25FC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptSpawnPoint" +"Visit__20TCastToPtr<7CWeapon>FR17CScriptSpawnPoint": +/* 800A56A0 000A2600 38 00 00 00 */ li r0, 0 +/* 800A56A4 000A2604 90 03 00 04 */ stw r0, 4(r3) +/* 800A56A8 000A2608 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR12CScriptSound" +"Visit__20TCastToPtr<7CWeapon>FR12CScriptSound": +/* 800A56AC 000A260C 38 00 00 00 */ li r0, 0 +/* 800A56B0 000A2610 90 03 00 04 */ stw r0, 4(r3) +/* 800A56B4 000A2614 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR20CScriptRoomAcoustics" +"Visit__20TCastToPtr<7CWeapon>FR20CScriptRoomAcoustics": +/* 800A56B8 000A2618 38 00 00 00 */ li r0, 0 +/* 800A56BC 000A261C 90 03 00 04 */ stw r0, 4(r3) +/* 800A56C0 000A2620 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR22CScriptPointOfinterest" +"Visit__20TCastToPtr<7CWeapon>FR22CScriptPointOfinterest": +/* 800A56C4 000A2624 38 00 00 00 */ li r0, 0 +/* 800A56C8 000A2628 90 03 00 04 */ stw r0, 4(r3) +/* 800A56CC 000A262C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptPlayerHint" +"Visit__20TCastToPtr<7CWeapon>FR17CScriptPlayerHint": +/* 800A56D0 000A2630 38 00 00 00 */ li r0, 0 +/* 800A56D4 000A2634 90 03 00 04 */ stw r0, 4(r3) +/* 800A56D8 000A2638 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR15CScriptPlatform" +"Visit__20TCastToPtr<7CWeapon>FR15CScriptPlatform": +/* 800A56DC 000A263C 38 00 00 00 */ li r0, 0 +/* 800A56E0 000A2640 90 03 00 04 */ stw r0, 4(r3) +/* 800A56E4 000A2644 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR13CScriptPickup" +"Visit__20TCastToPtr<7CWeapon>FR13CScriptPickup": +/* 800A56E8 000A2648 38 00 00 00 */ li r0, 0 +/* 800A56EC 000A264C 90 03 00 04 */ stw r0, 4(r3) +/* 800A56F0 000A2650 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR15CScriptMazeNode" +"Visit__20TCastToPtr<7CWeapon>FR15CScriptMazeNode": +/* 800A56F4 000A2654 38 00 00 00 */ li r0, 0 +/* 800A56F8 000A2658 90 03 00 04 */ stw r0, 4(r3) +/* 800A56FC 000A265C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR16CScriptGunTurret" +"Visit__20TCastToPtr<7CWeapon>FR16CScriptGunTurret": +/* 800A5700 000A2660 38 00 00 00 */ li r0, 0 +/* 800A5704 000A2664 90 03 00 04 */ stw r0, 4(r3) +/* 800A5708 000A2668 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR19CScriptGrapplePoint" +"Visit__20TCastToPtr<7CWeapon>FR19CScriptGrapplePoint": +/* 800A570C 000A266C 38 00 00 00 */ li r0, 0 +/* 800A5710 000A2670 90 03 00 04 */ stw r0, 4(r3) +/* 800A5714 000A2674 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR13CScriptEffect" +"Visit__20TCastToPtr<7CWeapon>FR13CScriptEffect": +/* 800A5718 000A2678 38 00 00 00 */ li r0, 0 +/* 800A571C 000A267C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5720 000A2680 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR11CScriptDoor" +"Visit__20TCastToPtr<7CWeapon>FR11CScriptDoor": +/* 800A5724 000A2684 38 00 00 00 */ li r0, 0 +/* 800A5728 000A2688 90 03 00 04 */ stw r0, 4(r3) +/* 800A572C 000A268C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR11CScriptDock" +"Visit__20TCastToPtr<7CWeapon>FR11CScriptDock": +/* 800A5730 000A2690 38 00 00 00 */ li r0, 0 +/* 800A5734 000A2694 90 03 00 04 */ stw r0, 4(r3) +/* 800A5738 000A2698 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR18CScriptDistanceFog" +"Visit__20TCastToPtr<7CWeapon>FR18CScriptDistanceFog": +/* 800A573C 000A269C 38 00 00 00 */ li r0, 0 +/* 800A5740 000A26A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5744 000A26A4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR26CScriptDebugCameraWaypoint" +"Visit__20TCastToPtr<7CWeapon>FR26CScriptDebugCameraWaypoint": +/* 800A5748 000A26A8 38 00 00 00 */ li r0, 0 +/* 800A574C 000A26AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5750 000A26B0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptCoverPoint" +"Visit__20TCastToPtr<7CWeapon>FR17CScriptCoverPoint": +/* 800A5754 000A26B4 38 00 00 00 */ li r0, 0 +/* 800A5758 000A26B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A575C 000A26BC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR21CScriptCameraWaypoint" +"Visit__20TCastToPtr<7CWeapon>FR21CScriptCameraWaypoint": +/* 800A5760 000A26C0 38 00 00 00 */ li r0, 0 +/* 800A5764 000A26C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5768 000A26C8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR24CScriptCameraPitchVolume" +"Visit__20TCastToPtr<7CWeapon>FR24CScriptCameraPitchVolume": +/* 800A576C 000A26CC 38 00 00 00 */ li r0, 0 +/* 800A5770 000A26D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5774 000A26D4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptCameraHint" +"Visit__20TCastToPtr<7CWeapon>FR17CScriptCameraHint": +/* 800A5778 000A26D8 38 00 00 00 */ li r0, 0 +/* 800A577C 000A26DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5780 000A26E0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR18CScriptAiJumpPoint" +"Visit__20TCastToPtr<7CWeapon>FR18CScriptAiJumpPoint": +/* 800A5784 000A26E4 38 00 00 00 */ li r0, 0 +/* 800A5788 000A26E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A578C 000A26EC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR20CScriptActorKeyframe" +"Visit__20TCastToPtr<7CWeapon>FR20CScriptActorKeyframe": +/* 800A5790 000A26F0 38 00 00 00 */ li r0, 0 +/* 800A5794 000A26F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5798 000A26F8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR12CScriptActor" +"Visit__20TCastToPtr<7CWeapon>FR12CScriptActor": +/* 800A579C 000A26FC 38 00 00 00 */ li r0, 0 +/* 800A57A0 000A2700 90 03 00 04 */ stw r0, 4(r3) +/* 800A57A4 000A2704 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR9CRepulsor" +"Visit__20TCastToPtr<7CWeapon>FR9CRepulsor": +/* 800A57A8 000A2708 38 00 00 00 */ li r0, 0 +/* 800A57AC 000A270C 90 03 00 04 */ stw r0, 4(r3) +/* 800A57B0 000A2710 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR7CPlayer" +"Visit__20TCastToPtr<7CWeapon>FR7CPlayer": +/* 800A57B4 000A2714 38 00 00 00 */ li r0, 0 +/* 800A57B8 000A2718 90 03 00 04 */ stw r0, 4(r3) +/* 800A57BC 000A271C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR13CPhysicsActor" +"Visit__20TCastToPtr<7CWeapon>FR13CPhysicsActor": +/* 800A57C0 000A2720 38 00 00 00 */ li r0, 0 +/* 800A57C4 000A2724 90 03 00 04 */ stw r0, 4(r3) +/* 800A57C8 000A2728 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR3CAi" +"Visit__20TCastToPtr<7CWeapon>FR3CAi": +/* 800A57CC 000A272C 38 00 00 00 */ li r0, 0 +/* 800A57D0 000A2730 90 03 00 04 */ stw r0, 4(r3) +/* 800A57D4 000A2734 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR11CPathCamera" +"Visit__20TCastToPtr<7CWeapon>FR11CPathCamera": +/* 800A57D8 000A2738 38 00 00 00 */ li r0, 0 +/* 800A57DC 000A273C 90 03 00 04 */ stw r0, 4(r3) +/* 800A57E0 000A2740 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR18CMetroidPrimeRelay" +"Visit__20TCastToPtr<7CWeapon>FR18CMetroidPrimeRelay": +/* 800A57E4 000A2744 38 00 00 00 */ li r0, 0 +/* 800A57E8 000A2748 90 03 00 04 */ stw r0, 4(r3) +/* 800A57EC 000A274C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR19CHUDBillboardEffect" +"Visit__20TCastToPtr<7CWeapon>FR19CHUDBillboardEffect": +/* 800A57F0 000A2750 38 00 00 00 */ li r0, 0 +/* 800A57F4 000A2754 90 03 00 04 */ stw r0, 4(r3) +/* 800A57F8 000A2758 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR15CGameProjectile" +"Visit__20TCastToPtr<7CWeapon>FR15CGameProjectile": +/* 800A57FC 000A275C 90 83 00 04 */ stw r4, 4(r3) +/* 800A5800 000A2760 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR10CGameLight" +"Visit__20TCastToPtr<7CWeapon>FR10CGameLight": +/* 800A5804 000A2764 38 00 00 00 */ li r0, 0 +/* 800A5808 000A2768 90 03 00 04 */ stw r0, 4(r3) +/* 800A580C 000A276C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR11CGameCamera" +"Visit__20TCastToPtr<7CWeapon>FR11CGameCamera": +/* 800A5810 000A2770 38 00 00 00 */ li r0, 0 +/* 800A5814 000A2774 90 03 00 04 */ stw r0, 4(r3) +/* 800A5818 000A2778 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR10CFishCloud" +"Visit__20TCastToPtr<7CWeapon>FR10CFishCloud": +/* 800A581C 000A277C 38 00 00 00 */ li r0, 0 +/* 800A5820 000A2780 90 03 00 04 */ stw r0, 4(r3) +/* 800A5824 000A2784 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR18CFirstPersonCamera" +"Visit__20TCastToPtr<7CWeapon>FR18CFirstPersonCamera": +/* 800A5828 000A2788 38 00 00 00 */ li r0, 0 +/* 800A582C 000A278C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5830 000A2790 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR10CExplosion" +"Visit__20TCastToPtr<7CWeapon>FR10CExplosion": +/* 800A5834 000A2794 38 00 00 00 */ li r0, 0 +/* 800A5838 000A2798 90 03 00 04 */ stw r0, 4(r3) +/* 800A583C 000A279C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR7CEntity" +"Visit__20TCastToPtr<7CWeapon>FR7CEntity": +/* 800A5840 000A27A0 38 00 00 00 */ li r0, 0 +/* 800A5844 000A27A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5848 000A27A8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR17CEnergyProjectile" +"Visit__20TCastToPtr<7CWeapon>FR17CEnergyProjectile": +/* 800A584C 000A27AC 90 83 00 04 */ stw r4, 4(r3) +/* 800A5850 000A27B0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR16CDestroyableRock" +"Visit__20TCastToPtr<7CWeapon>FR16CDestroyableRock": +/* 800A5854 000A27B4 38 00 00 00 */ li r0, 0 +/* 800A5858 000A27B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A585C 000A27BC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR15CCollisionActor" +"Visit__20TCastToPtr<7CWeapon>FR15CCollisionActor": +/* 800A5860 000A27C0 38 00 00 00 */ li r0, 0 +/* 800A5864 000A27C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5868 000A27C8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR16CCinematicCamera" +"Visit__20TCastToPtr<7CWeapon>FR16CCinematicCamera": +/* 800A586C 000A27CC 38 00 00 00 */ li r0, 0 +/* 800A5870 000A27D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5874 000A27D4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR5CBomb" +"Visit__20TCastToPtr<7CWeapon>FR5CBomb": +/* 800A5878 000A27D8 90 83 00 04 */ stw r4, 4(r3) +/* 800A587C 000A27DC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR11CBallCamera" +"Visit__20TCastToPtr<7CWeapon>FR11CBallCamera": +/* 800A5880 000A27E0 38 00 00 00 */ li r0, 0 +/* 800A5884 000A27E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5888 000A27E8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CWeapon>FR6CActor" +"Visit__20TCastToPtr<7CWeapon>FR6CActor": +/* 800A588C 000A27EC 38 00 00 00 */ li r0, 0 +/* 800A5890 000A27F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5894 000A27F4 4E 80 00 20 */ blr + +.global "__ct__20TCastToPtr<7CWeapon>FP7CEntity" +"__ct__20TCastToPtr<7CWeapon>FP7CEntity": +/* 800A5898 000A27F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A589C 000A27FC 7C 08 02 A6 */ mflr r0 +/* 800A58A0 000A2800 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A58A4 000A2804 3C A0 80 3E */ lis r5, lbl_803DEF50@ha +/* 800A58A8 000A2808 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A58AC 000A280C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A58B0 000A2810 28 04 00 00 */ cmplwi r4, 0 +/* 800A58B4 000A2814 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A58B8 000A2818 7C 7F 1B 78 */ mr r31, r3 +/* 800A58BC 000A281C 38 65 EF 50 */ addi r3, r5, lbl_803DEF50@l +/* 800A58C0 000A2820 90 1F 00 00 */ stw r0, 0(r31) +/* 800A58C4 000A2824 38 00 00 00 */ li r0, 0 +/* 800A58C8 000A2828 90 7F 00 00 */ stw r3, 0(r31) +/* 800A58CC 000A282C 90 1F 00 04 */ stw r0, 4(r31) +/* 800A58D0 000A2830 41 82 00 1C */ beq lbl_800A58EC +/* 800A58D4 000A2834 7C 83 23 78 */ mr r3, r4 +/* 800A58D8 000A2838 7F E4 FB 78 */ mr r4, r31 +/* 800A58DC 000A283C 81 83 00 00 */ lwz r12, 0(r3) +/* 800A58E0 000A2840 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A58E4 000A2844 7D 89 03 A6 */ mtctr r12 +/* 800A58E8 000A2848 4E 80 04 21 */ bctrl +lbl_800A58EC: +/* 800A58EC 000A284C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A58F0 000A2850 7F E3 FB 78 */ mr r3, r31 +/* 800A58F4 000A2854 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A58F8 000A2858 7C 08 03 A6 */ mtlr r0 +/* 800A58FC 000A285C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5900 000A2860 4E 80 00 20 */ blr + +.global "__ct__20TCastToPtr<7CWeapon>FR7CEntity" +"__ct__20TCastToPtr<7CWeapon>FR7CEntity": +/* 800A5904 000A2864 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5908 000A2868 7C 08 02 A6 */ mflr r0 +/* 800A590C 000A286C 3C A0 80 3E */ lis r5, lbl_803DEF50@ha +/* 800A5910 000A2870 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A5914 000A2874 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5918 000A2878 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A591C 000A287C 38 A5 EF 50 */ addi r5, r5, lbl_803DEF50@l +/* 800A5920 000A2880 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A5924 000A2884 7C 7F 1B 78 */ mr r31, r3 +/* 800A5928 000A2888 90 03 00 00 */ stw r0, 0(r3) +/* 800A592C 000A288C 7C 83 23 78 */ mr r3, r4 +/* 800A5930 000A2890 38 00 00 00 */ li r0, 0 +/* 800A5934 000A2894 7F E4 FB 78 */ mr r4, r31 +/* 800A5938 000A2898 90 BF 00 00 */ stw r5, 0(r31) +/* 800A593C 000A289C 90 1F 00 04 */ stw r0, 4(r31) +/* 800A5940 000A28A0 81 83 00 00 */ lwz r12, 0(r3) +/* 800A5944 000A28A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A5948 000A28A8 7D 89 03 A6 */ mtctr r12 +/* 800A594C 000A28AC 4E 80 04 21 */ bctrl +/* 800A5950 000A28B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A5954 000A28B4 7F E3 FB 78 */ mr r3, r31 +/* 800A5958 000A28B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A595C 000A28BC 7C 08 03 A6 */ mtlr r0 +/* 800A5960 000A28C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5964 000A28C4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CWeapon" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CWeapon": +/* 800A5968 000A28C8 38 00 00 00 */ li r0, 0 +/* 800A596C 000A28CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5970 000A28D0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CWallCrawlerSwarm" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CWallCrawlerSwarm": +/* 800A5974 000A28D4 90 83 00 04 */ stw r4, 4(r3) +/* 800A5978 000A28D8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptSpindleCamera" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptSpindleCamera": +/* 800A597C 000A28DC 38 00 00 00 */ li r0, 0 +/* 800A5980 000A28E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5984 000A28E4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CSnakeWeedSwarm" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CSnakeWeedSwarm": +/* 800A5988 000A28E8 38 00 00 00 */ li r0, 0 +/* 800A598C 000A28EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5990 000A28F0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptWaypoint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptWaypoint": +/* 800A5994 000A28F4 38 00 00 00 */ li r0, 0 +/* 800A5998 000A28F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A599C 000A28FC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptWater" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptWater": +/* 800A59A0 000A2900 38 00 00 00 */ li r0, 0 +/* 800A59A4 000A2904 90 03 00 04 */ stw r0, 4(r3) +/* 800A59A8 000A2908 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptVisorFlare" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptVisorFlare": +/* 800A59AC 000A290C 38 00 00 00 */ li r0, 0 +/* 800A59B0 000A2910 90 03 00 04 */ stw r0, 4(r3) +/* 800A59B4 000A2914 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR14CScriptTrigger" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR14CScriptTrigger": +/* 800A59B8 000A2918 38 00 00 00 */ li r0, 0 +/* 800A59BC 000A291C 90 03 00 04 */ stw r0, 4(r3) +/* 800A59C0 000A2920 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptTimer" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptTimer": +/* 800A59C4 000A2924 38 00 00 00 */ li r0, 0 +/* 800A59C8 000A2928 90 03 00 04 */ stw r0, 4(r3) +/* 800A59CC 000A292C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CTeamAiMgr" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CTeamAiMgr": +/* 800A59D0 000A2930 38 00 00 00 */ li r0, 0 +/* 800A59D4 000A2934 90 03 00 04 */ stw r0, 4(r3) +/* 800A59D8 000A2938 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR21CScriptTargetingPoint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR21CScriptTargetingPoint": +/* 800A59DC 000A293C 38 00 00 00 */ li r0, 0 +/* 800A59E0 000A2940 90 03 00 04 */ stw r0, 4(r3) +/* 800A59E4 000A2944 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR25CScriptSpiderBallWaypoint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR25CScriptSpiderBallWaypoint": +/* 800A59E8 000A2948 38 00 00 00 */ li r0, 0 +/* 800A59EC 000A294C 90 03 00 04 */ stw r0, 4(r3) +/* 800A59F0 000A2950 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR34CScriptSpiderBallAttractionSurface" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR34CScriptSpiderBallAttractionSurface": +/* 800A59F4 000A2954 38 00 00 00 */ li r0, 0 +/* 800A59F8 000A2958 90 03 00 04 */ stw r0, 4(r3) +/* 800A59FC 000A295C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR22CScriptSpecialFunction" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR22CScriptSpecialFunction": +/* 800A5A00 000A2960 38 00 00 00 */ li r0, 0 +/* 800A5A04 000A2964 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A08 000A2968 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptSpawnPoint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptSpawnPoint": +/* 800A5A0C 000A296C 38 00 00 00 */ li r0, 0 +/* 800A5A10 000A2970 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A14 000A2974 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptSound" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptSound": +/* 800A5A18 000A2978 38 00 00 00 */ li r0, 0 +/* 800A5A1C 000A297C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A20 000A2980 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptRoomAcoustics" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptRoomAcoustics": +/* 800A5A24 000A2984 38 00 00 00 */ li r0, 0 +/* 800A5A28 000A2988 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A2C 000A298C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR22CScriptPointOfinterest" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR22CScriptPointOfinterest": +/* 800A5A30 000A2990 38 00 00 00 */ li r0, 0 +/* 800A5A34 000A2994 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A38 000A2998 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptPlayerHint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptPlayerHint": +/* 800A5A3C 000A299C 38 00 00 00 */ li r0, 0 +/* 800A5A40 000A29A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A44 000A29A4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptPlatform" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptPlatform": +/* 800A5A48 000A29A8 38 00 00 00 */ li r0, 0 +/* 800A5A4C 000A29AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A50 000A29B0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CScriptPickup" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CScriptPickup": +/* 800A5A54 000A29B4 38 00 00 00 */ li r0, 0 +/* 800A5A58 000A29B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A5C 000A29BC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptMazeNode" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptMazeNode": +/* 800A5A60 000A29C0 38 00 00 00 */ li r0, 0 +/* 800A5A64 000A29C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A68 000A29C8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CScriptGunTurret" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CScriptGunTurret": +/* 800A5A6C 000A29CC 38 00 00 00 */ li r0, 0 +/* 800A5A70 000A29D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A74 000A29D4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR19CScriptGrapplePoint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR19CScriptGrapplePoint": +/* 800A5A78 000A29D8 38 00 00 00 */ li r0, 0 +/* 800A5A7C 000A29DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A80 000A29E0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CScriptEffect" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CScriptEffect": +/* 800A5A84 000A29E4 38 00 00 00 */ li r0, 0 +/* 800A5A88 000A29E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A8C 000A29EC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CScriptDoor" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CScriptDoor": +/* 800A5A90 000A29F0 38 00 00 00 */ li r0, 0 +/* 800A5A94 000A29F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5A98 000A29F8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CScriptDock" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CScriptDock": +/* 800A5A9C 000A29FC 38 00 00 00 */ li r0, 0 +/* 800A5AA0 000A2A00 90 03 00 04 */ stw r0, 4(r3) +/* 800A5AA4 000A2A04 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CScriptDistanceFog" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CScriptDistanceFog": +/* 800A5AA8 000A2A08 38 00 00 00 */ li r0, 0 +/* 800A5AAC 000A2A0C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5AB0 000A2A10 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR26CScriptDebugCameraWaypoint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR26CScriptDebugCameraWaypoint": +/* 800A5AB4 000A2A14 38 00 00 00 */ li r0, 0 +/* 800A5AB8 000A2A18 90 03 00 04 */ stw r0, 4(r3) +/* 800A5ABC 000A2A1C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptCoverPoint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptCoverPoint": +/* 800A5AC0 000A2A20 38 00 00 00 */ li r0, 0 +/* 800A5AC4 000A2A24 90 03 00 04 */ stw r0, 4(r3) +/* 800A5AC8 000A2A28 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR21CScriptCameraWaypoint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR21CScriptCameraWaypoint": +/* 800A5ACC 000A2A2C 38 00 00 00 */ li r0, 0 +/* 800A5AD0 000A2A30 90 03 00 04 */ stw r0, 4(r3) +/* 800A5AD4 000A2A34 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR24CScriptCameraPitchVolume" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR24CScriptCameraPitchVolume": +/* 800A5AD8 000A2A38 38 00 00 00 */ li r0, 0 +/* 800A5ADC 000A2A3C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5AE0 000A2A40 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptCameraHint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptCameraHint": +/* 800A5AE4 000A2A44 38 00 00 00 */ li r0, 0 +/* 800A5AE8 000A2A48 90 03 00 04 */ stw r0, 4(r3) +/* 800A5AEC 000A2A4C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CScriptAiJumpPoint" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CScriptAiJumpPoint": +/* 800A5AF0 000A2A50 38 00 00 00 */ li r0, 0 +/* 800A5AF4 000A2A54 90 03 00 04 */ stw r0, 4(r3) +/* 800A5AF8 000A2A58 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptActorKeyframe" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptActorKeyframe": +/* 800A5AFC 000A2A5C 38 00 00 00 */ li r0, 0 +/* 800A5B00 000A2A60 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B04 000A2A64 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptActor" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptActor": +/* 800A5B08 000A2A68 38 00 00 00 */ li r0, 0 +/* 800A5B0C 000A2A6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B10 000A2A70 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR9CRepulsor" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR9CRepulsor": +/* 800A5B14 000A2A74 38 00 00 00 */ li r0, 0 +/* 800A5B18 000A2A78 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B1C 000A2A7C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CPlayer" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CPlayer": +/* 800A5B20 000A2A80 38 00 00 00 */ li r0, 0 +/* 800A5B24 000A2A84 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B28 000A2A88 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CPhysicsActor" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CPhysicsActor": +/* 800A5B2C 000A2A8C 38 00 00 00 */ li r0, 0 +/* 800A5B30 000A2A90 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B34 000A2A94 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR3CAi" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR3CAi": +/* 800A5B38 000A2A98 38 00 00 00 */ li r0, 0 +/* 800A5B3C 000A2A9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B40 000A2AA0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CPathCamera" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CPathCamera": +/* 800A5B44 000A2AA4 38 00 00 00 */ li r0, 0 +/* 800A5B48 000A2AA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B4C 000A2AAC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CMetroidPrimeRelay" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CMetroidPrimeRelay": +/* 800A5B50 000A2AB0 38 00 00 00 */ li r0, 0 +/* 800A5B54 000A2AB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B58 000A2AB8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR19CHUDBillboardEffect" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR19CHUDBillboardEffect": +/* 800A5B5C 000A2ABC 38 00 00 00 */ li r0, 0 +/* 800A5B60 000A2AC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B64 000A2AC4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CGameProjectile" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CGameProjectile": +/* 800A5B68 000A2AC8 38 00 00 00 */ li r0, 0 +/* 800A5B6C 000A2ACC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B70 000A2AD0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CGameLight" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CGameLight": +/* 800A5B74 000A2AD4 38 00 00 00 */ li r0, 0 +/* 800A5B78 000A2AD8 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B7C 000A2ADC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CGameCamera" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CGameCamera": +/* 800A5B80 000A2AE0 38 00 00 00 */ li r0, 0 +/* 800A5B84 000A2AE4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B88 000A2AE8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CFishCloud" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CFishCloud": +/* 800A5B8C 000A2AEC 38 00 00 00 */ li r0, 0 +/* 800A5B90 000A2AF0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5B94 000A2AF4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CFirstPersonCamera" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CFirstPersonCamera": +/* 800A5B98 000A2AF8 38 00 00 00 */ li r0, 0 +/* 800A5B9C 000A2AFC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5BA0 000A2B00 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CExplosion" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CExplosion": +/* 800A5BA4 000A2B04 38 00 00 00 */ li r0, 0 +/* 800A5BA8 000A2B08 90 03 00 04 */ stw r0, 4(r3) +/* 800A5BAC 000A2B0C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CEntity" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CEntity": +/* 800A5BB0 000A2B10 38 00 00 00 */ li r0, 0 +/* 800A5BB4 000A2B14 90 03 00 04 */ stw r0, 4(r3) +/* 800A5BB8 000A2B18 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CEnergyProjectile" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CEnergyProjectile": +/* 800A5BBC 000A2B1C 38 00 00 00 */ li r0, 0 +/* 800A5BC0 000A2B20 90 03 00 04 */ stw r0, 4(r3) +/* 800A5BC4 000A2B24 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CDestroyableRock" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CDestroyableRock": +/* 800A5BC8 000A2B28 38 00 00 00 */ li r0, 0 +/* 800A5BCC 000A2B2C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5BD0 000A2B30 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CCollisionActor" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CCollisionActor": +/* 800A5BD4 000A2B34 38 00 00 00 */ li r0, 0 +/* 800A5BD8 000A2B38 90 03 00 04 */ stw r0, 4(r3) +/* 800A5BDC 000A2B3C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CCinematicCamera" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CCinematicCamera": +/* 800A5BE0 000A2B40 38 00 00 00 */ li r0, 0 +/* 800A5BE4 000A2B44 90 03 00 04 */ stw r0, 4(r3) +/* 800A5BE8 000A2B48 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR5CBomb" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR5CBomb": +/* 800A5BEC 000A2B4C 38 00 00 00 */ li r0, 0 +/* 800A5BF0 000A2B50 90 03 00 04 */ stw r0, 4(r3) +/* 800A5BF4 000A2B54 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CBallCamera" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CBallCamera": +/* 800A5BF8 000A2B58 38 00 00 00 */ li r0, 0 +/* 800A5BFC 000A2B5C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5C00 000A2B60 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR6CActor" +"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR6CActor": +/* 800A5C04 000A2B64 38 00 00 00 */ li r0, 0 +/* 800A5C08 000A2B68 90 03 00 04 */ stw r0, 4(r3) +/* 800A5C0C 000A2B6C 4E 80 00 20 */ blr + +.global "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" +"__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity": +/* 800A5C10 000A2B70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5C14 000A2B74 7C 08 02 A6 */ mflr r0 +/* 800A5C18 000A2B78 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A5C1C 000A2B7C 3C A0 80 3E */ lis r5, lbl_803DEE64@ha +/* 800A5C20 000A2B80 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5C24 000A2B84 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A5C28 000A2B88 28 04 00 00 */ cmplwi r4, 0 +/* 800A5C2C 000A2B8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A5C30 000A2B90 7C 7F 1B 78 */ mr r31, r3 +/* 800A5C34 000A2B94 38 65 EE 64 */ addi r3, r5, lbl_803DEE64@l +/* 800A5C38 000A2B98 90 1F 00 00 */ stw r0, 0(r31) +/* 800A5C3C 000A2B9C 38 00 00 00 */ li r0, 0 +/* 800A5C40 000A2BA0 90 7F 00 00 */ stw r3, 0(r31) +/* 800A5C44 000A2BA4 90 1F 00 04 */ stw r0, 4(r31) +/* 800A5C48 000A2BA8 41 82 00 1C */ beq lbl_800A5C64 +/* 800A5C4C 000A2BAC 7C 83 23 78 */ mr r3, r4 +/* 800A5C50 000A2BB0 7F E4 FB 78 */ mr r4, r31 +/* 800A5C54 000A2BB4 81 83 00 00 */ lwz r12, 0(r3) +/* 800A5C58 000A2BB8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A5C5C 000A2BBC 7D 89 03 A6 */ mtctr r12 +/* 800A5C60 000A2BC0 4E 80 04 21 */ bctrl +lbl_800A5C64: +/* 800A5C64 000A2BC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A5C68 000A2BC8 7F E3 FB 78 */ mr r3, r31 +/* 800A5C6C 000A2BCC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A5C70 000A2BD0 7C 08 03 A6 */ mtlr r0 +/* 800A5C74 000A2BD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5C78 000A2BD8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CWeapon" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CWeapon": +/* 800A5C7C 000A2BDC 38 00 00 00 */ li r0, 0 +/* 800A5C80 000A2BE0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5C84 000A2BE4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CWallCrawlerSwarm" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CWallCrawlerSwarm": +/* 800A5C88 000A2BE8 38 00 00 00 */ li r0, 0 +/* 800A5C8C 000A2BEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5C90 000A2BF0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptSpindleCamera" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptSpindleCamera": +/* 800A5C94 000A2BF4 90 83 00 04 */ stw r4, 4(r3) +/* 800A5C98 000A2BF8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CSnakeWeedSwarm" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CSnakeWeedSwarm": +/* 800A5C9C 000A2BFC 38 00 00 00 */ li r0, 0 +/* 800A5CA0 000A2C00 90 03 00 04 */ stw r0, 4(r3) +/* 800A5CA4 000A2C04 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptWaypoint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptWaypoint": +/* 800A5CA8 000A2C08 38 00 00 00 */ li r0, 0 +/* 800A5CAC 000A2C0C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5CB0 000A2C10 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptWater" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptWater": +/* 800A5CB4 000A2C14 38 00 00 00 */ li r0, 0 +/* 800A5CB8 000A2C18 90 03 00 04 */ stw r0, 4(r3) +/* 800A5CBC 000A2C1C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptVisorFlare" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptVisorFlare": +/* 800A5CC0 000A2C20 38 00 00 00 */ li r0, 0 +/* 800A5CC4 000A2C24 90 03 00 04 */ stw r0, 4(r3) +/* 800A5CC8 000A2C28 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR14CScriptTrigger" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR14CScriptTrigger": +/* 800A5CCC 000A2C2C 38 00 00 00 */ li r0, 0 +/* 800A5CD0 000A2C30 90 03 00 04 */ stw r0, 4(r3) +/* 800A5CD4 000A2C34 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptTimer" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptTimer": +/* 800A5CD8 000A2C38 38 00 00 00 */ li r0, 0 +/* 800A5CDC 000A2C3C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5CE0 000A2C40 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CTeamAiMgr" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CTeamAiMgr": +/* 800A5CE4 000A2C44 38 00 00 00 */ li r0, 0 +/* 800A5CE8 000A2C48 90 03 00 04 */ stw r0, 4(r3) +/* 800A5CEC 000A2C4C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR21CScriptTargetingPoint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR21CScriptTargetingPoint": +/* 800A5CF0 000A2C50 38 00 00 00 */ li r0, 0 +/* 800A5CF4 000A2C54 90 03 00 04 */ stw r0, 4(r3) +/* 800A5CF8 000A2C58 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR25CScriptSpiderBallWaypoint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR25CScriptSpiderBallWaypoint": +/* 800A5CFC 000A2C5C 38 00 00 00 */ li r0, 0 +/* 800A5D00 000A2C60 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D04 000A2C64 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR34CScriptSpiderBallAttractionSurface" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR34CScriptSpiderBallAttractionSurface": +/* 800A5D08 000A2C68 38 00 00 00 */ li r0, 0 +/* 800A5D0C 000A2C6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D10 000A2C70 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR22CScriptSpecialFunction" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR22CScriptSpecialFunction": +/* 800A5D14 000A2C74 38 00 00 00 */ li r0, 0 +/* 800A5D18 000A2C78 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D1C 000A2C7C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptSpawnPoint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptSpawnPoint": +/* 800A5D20 000A2C80 38 00 00 00 */ li r0, 0 +/* 800A5D24 000A2C84 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D28 000A2C88 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptSound" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptSound": +/* 800A5D2C 000A2C8C 38 00 00 00 */ li r0, 0 +/* 800A5D30 000A2C90 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D34 000A2C94 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptRoomAcoustics" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptRoomAcoustics": +/* 800A5D38 000A2C98 38 00 00 00 */ li r0, 0 +/* 800A5D3C 000A2C9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D40 000A2CA0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR22CScriptPointOfinterest" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR22CScriptPointOfinterest": +/* 800A5D44 000A2CA4 38 00 00 00 */ li r0, 0 +/* 800A5D48 000A2CA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D4C 000A2CAC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptPlayerHint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptPlayerHint": +/* 800A5D50 000A2CB0 38 00 00 00 */ li r0, 0 +/* 800A5D54 000A2CB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D58 000A2CB8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptPlatform" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptPlatform": +/* 800A5D5C 000A2CBC 38 00 00 00 */ li r0, 0 +/* 800A5D60 000A2CC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D64 000A2CC4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CScriptPickup" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CScriptPickup": +/* 800A5D68 000A2CC8 38 00 00 00 */ li r0, 0 +/* 800A5D6C 000A2CCC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D70 000A2CD0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptMazeNode" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptMazeNode": +/* 800A5D74 000A2CD4 38 00 00 00 */ li r0, 0 +/* 800A5D78 000A2CD8 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D7C 000A2CDC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CScriptGunTurret" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CScriptGunTurret": +/* 800A5D80 000A2CE0 38 00 00 00 */ li r0, 0 +/* 800A5D84 000A2CE4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D88 000A2CE8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR19CScriptGrapplePoint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR19CScriptGrapplePoint": +/* 800A5D8C 000A2CEC 38 00 00 00 */ li r0, 0 +/* 800A5D90 000A2CF0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5D94 000A2CF4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CScriptEffect" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CScriptEffect": +/* 800A5D98 000A2CF8 38 00 00 00 */ li r0, 0 +/* 800A5D9C 000A2CFC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5DA0 000A2D00 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CScriptDoor" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CScriptDoor": +/* 800A5DA4 000A2D04 38 00 00 00 */ li r0, 0 +/* 800A5DA8 000A2D08 90 03 00 04 */ stw r0, 4(r3) +/* 800A5DAC 000A2D0C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CScriptDock" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CScriptDock": +/* 800A5DB0 000A2D10 38 00 00 00 */ li r0, 0 +/* 800A5DB4 000A2D14 90 03 00 04 */ stw r0, 4(r3) +/* 800A5DB8 000A2D18 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CScriptDistanceFog" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CScriptDistanceFog": +/* 800A5DBC 000A2D1C 38 00 00 00 */ li r0, 0 +/* 800A5DC0 000A2D20 90 03 00 04 */ stw r0, 4(r3) +/* 800A5DC4 000A2D24 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR26CScriptDebugCameraWaypoint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR26CScriptDebugCameraWaypoint": +/* 800A5DC8 000A2D28 38 00 00 00 */ li r0, 0 +/* 800A5DCC 000A2D2C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5DD0 000A2D30 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptCoverPoint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptCoverPoint": +/* 800A5DD4 000A2D34 38 00 00 00 */ li r0, 0 +/* 800A5DD8 000A2D38 90 03 00 04 */ stw r0, 4(r3) +/* 800A5DDC 000A2D3C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR21CScriptCameraWaypoint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR21CScriptCameraWaypoint": +/* 800A5DE0 000A2D40 38 00 00 00 */ li r0, 0 +/* 800A5DE4 000A2D44 90 03 00 04 */ stw r0, 4(r3) +/* 800A5DE8 000A2D48 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR24CScriptCameraPitchVolume" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR24CScriptCameraPitchVolume": +/* 800A5DEC 000A2D4C 38 00 00 00 */ li r0, 0 +/* 800A5DF0 000A2D50 90 03 00 04 */ stw r0, 4(r3) +/* 800A5DF4 000A2D54 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptCameraHint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptCameraHint": +/* 800A5DF8 000A2D58 38 00 00 00 */ li r0, 0 +/* 800A5DFC 000A2D5C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E00 000A2D60 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CScriptAiJumpPoint" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CScriptAiJumpPoint": +/* 800A5E04 000A2D64 38 00 00 00 */ li r0, 0 +/* 800A5E08 000A2D68 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E0C 000A2D6C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptActorKeyframe" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptActorKeyframe": +/* 800A5E10 000A2D70 38 00 00 00 */ li r0, 0 +/* 800A5E14 000A2D74 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E18 000A2D78 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptActor" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptActor": +/* 800A5E1C 000A2D7C 38 00 00 00 */ li r0, 0 +/* 800A5E20 000A2D80 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E24 000A2D84 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR9CRepulsor" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR9CRepulsor": +/* 800A5E28 000A2D88 38 00 00 00 */ li r0, 0 +/* 800A5E2C 000A2D8C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E30 000A2D90 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CPlayer" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CPlayer": +/* 800A5E34 000A2D94 38 00 00 00 */ li r0, 0 +/* 800A5E38 000A2D98 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E3C 000A2D9C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CPhysicsActor" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CPhysicsActor": +/* 800A5E40 000A2DA0 38 00 00 00 */ li r0, 0 +/* 800A5E44 000A2DA4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E48 000A2DA8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR3CAi" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR3CAi": +/* 800A5E4C 000A2DAC 38 00 00 00 */ li r0, 0 +/* 800A5E50 000A2DB0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E54 000A2DB4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CPathCamera" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CPathCamera": +/* 800A5E58 000A2DB8 38 00 00 00 */ li r0, 0 +/* 800A5E5C 000A2DBC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E60 000A2DC0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CMetroidPrimeRelay" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CMetroidPrimeRelay": +/* 800A5E64 000A2DC4 38 00 00 00 */ li r0, 0 +/* 800A5E68 000A2DC8 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E6C 000A2DCC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR19CHUDBillboardEffect" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR19CHUDBillboardEffect": +/* 800A5E70 000A2DD0 38 00 00 00 */ li r0, 0 +/* 800A5E74 000A2DD4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E78 000A2DD8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CGameProjectile" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CGameProjectile": +/* 800A5E7C 000A2DDC 38 00 00 00 */ li r0, 0 +/* 800A5E80 000A2DE0 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E84 000A2DE4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CGameLight" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CGameLight": +/* 800A5E88 000A2DE8 38 00 00 00 */ li r0, 0 +/* 800A5E8C 000A2DEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E90 000A2DF0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CGameCamera" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CGameCamera": +/* 800A5E94 000A2DF4 38 00 00 00 */ li r0, 0 +/* 800A5E98 000A2DF8 90 03 00 04 */ stw r0, 4(r3) +/* 800A5E9C 000A2DFC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CFishCloud" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CFishCloud": +/* 800A5EA0 000A2E00 38 00 00 00 */ li r0, 0 +/* 800A5EA4 000A2E04 90 03 00 04 */ stw r0, 4(r3) +/* 800A5EA8 000A2E08 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CFirstPersonCamera" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CFirstPersonCamera": +/* 800A5EAC 000A2E0C 38 00 00 00 */ li r0, 0 +/* 800A5EB0 000A2E10 90 03 00 04 */ stw r0, 4(r3) +/* 800A5EB4 000A2E14 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CExplosion" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CExplosion": +/* 800A5EB8 000A2E18 38 00 00 00 */ li r0, 0 +/* 800A5EBC 000A2E1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5EC0 000A2E20 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CEntity" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CEntity": +/* 800A5EC4 000A2E24 38 00 00 00 */ li r0, 0 +/* 800A5EC8 000A2E28 90 03 00 04 */ stw r0, 4(r3) +/* 800A5ECC 000A2E2C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CEnergyProjectile" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CEnergyProjectile": +/* 800A5ED0 000A2E30 38 00 00 00 */ li r0, 0 +/* 800A5ED4 000A2E34 90 03 00 04 */ stw r0, 4(r3) +/* 800A5ED8 000A2E38 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CDestroyableRock" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CDestroyableRock": +/* 800A5EDC 000A2E3C 38 00 00 00 */ li r0, 0 +/* 800A5EE0 000A2E40 90 03 00 04 */ stw r0, 4(r3) +/* 800A5EE4 000A2E44 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CCollisionActor" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CCollisionActor": +/* 800A5EE8 000A2E48 38 00 00 00 */ li r0, 0 +/* 800A5EEC 000A2E4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5EF0 000A2E50 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CCinematicCamera" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CCinematicCamera": +/* 800A5EF4 000A2E54 38 00 00 00 */ li r0, 0 +/* 800A5EF8 000A2E58 90 03 00 04 */ stw r0, 4(r3) +/* 800A5EFC 000A2E5C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR5CBomb" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR5CBomb": +/* 800A5F00 000A2E60 38 00 00 00 */ li r0, 0 +/* 800A5F04 000A2E64 90 03 00 04 */ stw r0, 4(r3) +/* 800A5F08 000A2E68 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CBallCamera" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CBallCamera": +/* 800A5F0C 000A2E6C 38 00 00 00 */ li r0, 0 +/* 800A5F10 000A2E70 90 03 00 04 */ stw r0, 4(r3) +/* 800A5F14 000A2E74 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR6CActor" +"Visit__34TCastToPtr<20CScriptSpindleCamera>FR6CActor": +/* 800A5F18 000A2E78 38 00 00 00 */ li r0, 0 +/* 800A5F1C 000A2E7C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5F20 000A2E80 4E 80 00 20 */ blr + +.global "__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity" +"__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity": +/* 800A5F24 000A2E84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A5F28 000A2E88 7C 08 02 A6 */ mflr r0 +/* 800A5F2C 000A2E8C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A5F30 000A2E90 3C A0 80 3E */ lis r5, lbl_803DED78@ha +/* 800A5F34 000A2E94 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A5F38 000A2E98 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A5F3C 000A2E9C 28 04 00 00 */ cmplwi r4, 0 +/* 800A5F40 000A2EA0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A5F44 000A2EA4 7C 7F 1B 78 */ mr r31, r3 +/* 800A5F48 000A2EA8 38 65 ED 78 */ addi r3, r5, lbl_803DED78@l +/* 800A5F4C 000A2EAC 90 1F 00 00 */ stw r0, 0(r31) +/* 800A5F50 000A2EB0 38 00 00 00 */ li r0, 0 +/* 800A5F54 000A2EB4 90 7F 00 00 */ stw r3, 0(r31) +/* 800A5F58 000A2EB8 90 1F 00 04 */ stw r0, 4(r31) +/* 800A5F5C 000A2EBC 41 82 00 1C */ beq lbl_800A5F78 +/* 800A5F60 000A2EC0 7C 83 23 78 */ mr r3, r4 +/* 800A5F64 000A2EC4 7F E4 FB 78 */ mr r4, r31 +/* 800A5F68 000A2EC8 81 83 00 00 */ lwz r12, 0(r3) +/* 800A5F6C 000A2ECC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A5F70 000A2ED0 7D 89 03 A6 */ mtctr r12 +/* 800A5F74 000A2ED4 4E 80 04 21 */ bctrl +lbl_800A5F78: +/* 800A5F78 000A2ED8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A5F7C 000A2EDC 7F E3 FB 78 */ mr r3, r31 +/* 800A5F80 000A2EE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A5F84 000A2EE4 7C 08 03 A6 */ mtlr r0 +/* 800A5F88 000A2EE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A5F8C 000A2EEC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CWeapon" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CWeapon": +/* 800A5F90 000A2EF0 38 00 00 00 */ li r0, 0 +/* 800A5F94 000A2EF4 90 03 00 04 */ stw r0, 4(r3) +/* 800A5F98 000A2EF8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CWallCrawlerSwarm" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CWallCrawlerSwarm": +/* 800A5F9C 000A2EFC 38 00 00 00 */ li r0, 0 +/* 800A5FA0 000A2F00 90 03 00 04 */ stw r0, 4(r3) +/* 800A5FA4 000A2F04 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptSpindleCamera" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptSpindleCamera": +/* 800A5FA8 000A2F08 38 00 00 00 */ li r0, 0 +/* 800A5FAC 000A2F0C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5FB0 000A2F10 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CSnakeWeedSwarm" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CSnakeWeedSwarm": +/* 800A5FB4 000A2F14 90 83 00 04 */ stw r4, 4(r3) +/* 800A5FB8 000A2F18 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptWaypoint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptWaypoint": +/* 800A5FBC 000A2F1C 38 00 00 00 */ li r0, 0 +/* 800A5FC0 000A2F20 90 03 00 04 */ stw r0, 4(r3) +/* 800A5FC4 000A2F24 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptWater" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptWater": +/* 800A5FC8 000A2F28 38 00 00 00 */ li r0, 0 +/* 800A5FCC 000A2F2C 90 03 00 04 */ stw r0, 4(r3) +/* 800A5FD0 000A2F30 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptVisorFlare" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptVisorFlare": +/* 800A5FD4 000A2F34 38 00 00 00 */ li r0, 0 +/* 800A5FD8 000A2F38 90 03 00 04 */ stw r0, 4(r3) +/* 800A5FDC 000A2F3C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR14CScriptTrigger" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR14CScriptTrigger": +/* 800A5FE0 000A2F40 38 00 00 00 */ li r0, 0 +/* 800A5FE4 000A2F44 90 03 00 04 */ stw r0, 4(r3) +/* 800A5FE8 000A2F48 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptTimer" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptTimer": +/* 800A5FEC 000A2F4C 38 00 00 00 */ li r0, 0 +/* 800A5FF0 000A2F50 90 03 00 04 */ stw r0, 4(r3) +/* 800A5FF4 000A2F54 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CTeamAiMgr" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CTeamAiMgr": +/* 800A5FF8 000A2F58 38 00 00 00 */ li r0, 0 +/* 800A5FFC 000A2F5C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6000 000A2F60 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR21CScriptTargetingPoint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR21CScriptTargetingPoint": +/* 800A6004 000A2F64 38 00 00 00 */ li r0, 0 +/* 800A6008 000A2F68 90 03 00 04 */ stw r0, 4(r3) +/* 800A600C 000A2F6C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR25CScriptSpiderBallWaypoint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR25CScriptSpiderBallWaypoint": +/* 800A6010 000A2F70 38 00 00 00 */ li r0, 0 +/* 800A6014 000A2F74 90 03 00 04 */ stw r0, 4(r3) +/* 800A6018 000A2F78 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR34CScriptSpiderBallAttractionSurface" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR34CScriptSpiderBallAttractionSurface": +/* 800A601C 000A2F7C 38 00 00 00 */ li r0, 0 +/* 800A6020 000A2F80 90 03 00 04 */ stw r0, 4(r3) +/* 800A6024 000A2F84 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR22CScriptSpecialFunction" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR22CScriptSpecialFunction": +/* 800A6028 000A2F88 38 00 00 00 */ li r0, 0 +/* 800A602C 000A2F8C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6030 000A2F90 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptSpawnPoint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptSpawnPoint": +/* 800A6034 000A2F94 38 00 00 00 */ li r0, 0 +/* 800A6038 000A2F98 90 03 00 04 */ stw r0, 4(r3) +/* 800A603C 000A2F9C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptSound" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptSound": +/* 800A6040 000A2FA0 38 00 00 00 */ li r0, 0 +/* 800A6044 000A2FA4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6048 000A2FA8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptRoomAcoustics" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptRoomAcoustics": +/* 800A604C 000A2FAC 38 00 00 00 */ li r0, 0 +/* 800A6050 000A2FB0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6054 000A2FB4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR22CScriptPointOfinterest" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR22CScriptPointOfinterest": +/* 800A6058 000A2FB8 38 00 00 00 */ li r0, 0 +/* 800A605C 000A2FBC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6060 000A2FC0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptPlayerHint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptPlayerHint": +/* 800A6064 000A2FC4 38 00 00 00 */ li r0, 0 +/* 800A6068 000A2FC8 90 03 00 04 */ stw r0, 4(r3) +/* 800A606C 000A2FCC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptPlatform" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptPlatform": +/* 800A6070 000A2FD0 38 00 00 00 */ li r0, 0 +/* 800A6074 000A2FD4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6078 000A2FD8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CScriptPickup" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CScriptPickup": +/* 800A607C 000A2FDC 38 00 00 00 */ li r0, 0 +/* 800A6080 000A2FE0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6084 000A2FE4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptMazeNode" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptMazeNode": +/* 800A6088 000A2FE8 38 00 00 00 */ li r0, 0 +/* 800A608C 000A2FEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6090 000A2FF0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CScriptGunTurret" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CScriptGunTurret": +/* 800A6094 000A2FF4 38 00 00 00 */ li r0, 0 +/* 800A6098 000A2FF8 90 03 00 04 */ stw r0, 4(r3) +/* 800A609C 000A2FFC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR19CScriptGrapplePoint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR19CScriptGrapplePoint": +/* 800A60A0 000A3000 38 00 00 00 */ li r0, 0 +/* 800A60A4 000A3004 90 03 00 04 */ stw r0, 4(r3) +/* 800A60A8 000A3008 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CScriptEffect" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CScriptEffect": +/* 800A60AC 000A300C 38 00 00 00 */ li r0, 0 +/* 800A60B0 000A3010 90 03 00 04 */ stw r0, 4(r3) +/* 800A60B4 000A3014 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CScriptDoor" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CScriptDoor": +/* 800A60B8 000A3018 38 00 00 00 */ li r0, 0 +/* 800A60BC 000A301C 90 03 00 04 */ stw r0, 4(r3) +/* 800A60C0 000A3020 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CScriptDock" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CScriptDock": +/* 800A60C4 000A3024 38 00 00 00 */ li r0, 0 +/* 800A60C8 000A3028 90 03 00 04 */ stw r0, 4(r3) +/* 800A60CC 000A302C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CScriptDistanceFog" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CScriptDistanceFog": +/* 800A60D0 000A3030 38 00 00 00 */ li r0, 0 +/* 800A60D4 000A3034 90 03 00 04 */ stw r0, 4(r3) +/* 800A60D8 000A3038 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR26CScriptDebugCameraWaypoint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR26CScriptDebugCameraWaypoint": +/* 800A60DC 000A303C 38 00 00 00 */ li r0, 0 +/* 800A60E0 000A3040 90 03 00 04 */ stw r0, 4(r3) +/* 800A60E4 000A3044 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptCoverPoint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptCoverPoint": +/* 800A60E8 000A3048 38 00 00 00 */ li r0, 0 +/* 800A60EC 000A304C 90 03 00 04 */ stw r0, 4(r3) +/* 800A60F0 000A3050 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR21CScriptCameraWaypoint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR21CScriptCameraWaypoint": +/* 800A60F4 000A3054 38 00 00 00 */ li r0, 0 +/* 800A60F8 000A3058 90 03 00 04 */ stw r0, 4(r3) +/* 800A60FC 000A305C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR24CScriptCameraPitchVolume" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR24CScriptCameraPitchVolume": +/* 800A6100 000A3060 38 00 00 00 */ li r0, 0 +/* 800A6104 000A3064 90 03 00 04 */ stw r0, 4(r3) +/* 800A6108 000A3068 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptCameraHint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptCameraHint": +/* 800A610C 000A306C 38 00 00 00 */ li r0, 0 +/* 800A6110 000A3070 90 03 00 04 */ stw r0, 4(r3) +/* 800A6114 000A3074 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CScriptAiJumpPoint" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CScriptAiJumpPoint": +/* 800A6118 000A3078 38 00 00 00 */ li r0, 0 +/* 800A611C 000A307C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6120 000A3080 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptActorKeyframe" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptActorKeyframe": +/* 800A6124 000A3084 38 00 00 00 */ li r0, 0 +/* 800A6128 000A3088 90 03 00 04 */ stw r0, 4(r3) +/* 800A612C 000A308C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptActor" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptActor": +/* 800A6130 000A3090 38 00 00 00 */ li r0, 0 +/* 800A6134 000A3094 90 03 00 04 */ stw r0, 4(r3) +/* 800A6138 000A3098 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR9CRepulsor" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR9CRepulsor": +/* 800A613C 000A309C 38 00 00 00 */ li r0, 0 +/* 800A6140 000A30A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6144 000A30A4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CPlayer" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CPlayer": +/* 800A6148 000A30A8 38 00 00 00 */ li r0, 0 +/* 800A614C 000A30AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6150 000A30B0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CPhysicsActor" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CPhysicsActor": +/* 800A6154 000A30B4 38 00 00 00 */ li r0, 0 +/* 800A6158 000A30B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A615C 000A30BC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR3CAi" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR3CAi": +/* 800A6160 000A30C0 38 00 00 00 */ li r0, 0 +/* 800A6164 000A30C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6168 000A30C8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CPathCamera" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CPathCamera": +/* 800A616C 000A30CC 38 00 00 00 */ li r0, 0 +/* 800A6170 000A30D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6174 000A30D4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CMetroidPrimeRelay" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CMetroidPrimeRelay": +/* 800A6178 000A30D8 38 00 00 00 */ li r0, 0 +/* 800A617C 000A30DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6180 000A30E0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR19CHUDBillboardEffect" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR19CHUDBillboardEffect": +/* 800A6184 000A30E4 38 00 00 00 */ li r0, 0 +/* 800A6188 000A30E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A618C 000A30EC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CGameProjectile" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CGameProjectile": +/* 800A6190 000A30F0 38 00 00 00 */ li r0, 0 +/* 800A6194 000A30F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6198 000A30F8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CGameLight" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CGameLight": +/* 800A619C 000A30FC 38 00 00 00 */ li r0, 0 +/* 800A61A0 000A3100 90 03 00 04 */ stw r0, 4(r3) +/* 800A61A4 000A3104 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CGameCamera" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CGameCamera": +/* 800A61A8 000A3108 38 00 00 00 */ li r0, 0 +/* 800A61AC 000A310C 90 03 00 04 */ stw r0, 4(r3) +/* 800A61B0 000A3110 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CFishCloud" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CFishCloud": +/* 800A61B4 000A3114 38 00 00 00 */ li r0, 0 +/* 800A61B8 000A3118 90 03 00 04 */ stw r0, 4(r3) +/* 800A61BC 000A311C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CFirstPersonCamera" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CFirstPersonCamera": +/* 800A61C0 000A3120 38 00 00 00 */ li r0, 0 +/* 800A61C4 000A3124 90 03 00 04 */ stw r0, 4(r3) +/* 800A61C8 000A3128 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CExplosion" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CExplosion": +/* 800A61CC 000A312C 38 00 00 00 */ li r0, 0 +/* 800A61D0 000A3130 90 03 00 04 */ stw r0, 4(r3) +/* 800A61D4 000A3134 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CEntity" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CEntity": +/* 800A61D8 000A3138 38 00 00 00 */ li r0, 0 +/* 800A61DC 000A313C 90 03 00 04 */ stw r0, 4(r3) +/* 800A61E0 000A3140 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CEnergyProjectile" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CEnergyProjectile": +/* 800A61E4 000A3144 38 00 00 00 */ li r0, 0 +/* 800A61E8 000A3148 90 03 00 04 */ stw r0, 4(r3) +/* 800A61EC 000A314C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CDestroyableRock" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CDestroyableRock": +/* 800A61F0 000A3150 38 00 00 00 */ li r0, 0 +/* 800A61F4 000A3154 90 03 00 04 */ stw r0, 4(r3) +/* 800A61F8 000A3158 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CCollisionActor" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CCollisionActor": +/* 800A61FC 000A315C 38 00 00 00 */ li r0, 0 +/* 800A6200 000A3160 90 03 00 04 */ stw r0, 4(r3) +/* 800A6204 000A3164 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CCinematicCamera" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CCinematicCamera": +/* 800A6208 000A3168 38 00 00 00 */ li r0, 0 +/* 800A620C 000A316C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6210 000A3170 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR5CBomb" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR5CBomb": +/* 800A6214 000A3174 38 00 00 00 */ li r0, 0 +/* 800A6218 000A3178 90 03 00 04 */ stw r0, 4(r3) +/* 800A621C 000A317C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CBallCamera" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CBallCamera": +/* 800A6220 000A3180 38 00 00 00 */ li r0, 0 +/* 800A6224 000A3184 90 03 00 04 */ stw r0, 4(r3) +/* 800A6228 000A3188 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR6CActor" +"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR6CActor": +/* 800A622C 000A318C 38 00 00 00 */ li r0, 0 +/* 800A6230 000A3190 90 03 00 04 */ stw r0, 4(r3) +/* 800A6234 000A3194 4E 80 00 20 */ blr + +.global "__ct__29TCastToPtr<15CSnakeWeedSwarm>FP7CEntity" +"__ct__29TCastToPtr<15CSnakeWeedSwarm>FP7CEntity": +/* 800A6238 000A3198 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A623C 000A319C 7C 08 02 A6 */ mflr r0 +/* 800A6240 000A31A0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A6244 000A31A4 3C A0 80 3E */ lis r5, lbl_803DEC8C@ha +/* 800A6248 000A31A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A624C 000A31AC 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A6250 000A31B0 28 04 00 00 */ cmplwi r4, 0 +/* 800A6254 000A31B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A6258 000A31B8 7C 7F 1B 78 */ mr r31, r3 +/* 800A625C 000A31BC 38 65 EC 8C */ addi r3, r5, lbl_803DEC8C@l +/* 800A6260 000A31C0 90 1F 00 00 */ stw r0, 0(r31) +/* 800A6264 000A31C4 38 00 00 00 */ li r0, 0 +/* 800A6268 000A31C8 90 7F 00 00 */ stw r3, 0(r31) +/* 800A626C 000A31CC 90 1F 00 04 */ stw r0, 4(r31) +/* 800A6270 000A31D0 41 82 00 1C */ beq lbl_800A628C +/* 800A6274 000A31D4 7C 83 23 78 */ mr r3, r4 +/* 800A6278 000A31D8 7F E4 FB 78 */ mr r4, r31 +/* 800A627C 000A31DC 81 83 00 00 */ lwz r12, 0(r3) +/* 800A6280 000A31E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A6284 000A31E4 7D 89 03 A6 */ mtctr r12 +/* 800A6288 000A31E8 4E 80 04 21 */ bctrl +lbl_800A628C: +/* 800A628C 000A31EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A6290 000A31F0 7F E3 FB 78 */ mr r3, r31 +/* 800A6294 000A31F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A6298 000A31F8 7C 08 03 A6 */ mtlr r0 +/* 800A629C 000A31FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A62A0 000A3200 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR7CWeapon" +"Visit__29TCastToPtr<15CScriptWaypoint>FR7CWeapon": +/* 800A62A4 000A3204 38 00 00 00 */ li r0, 0 +/* 800A62A8 000A3208 90 03 00 04 */ stw r0, 4(r3) +/* 800A62AC 000A320C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CWallCrawlerSwarm" +"Visit__29TCastToPtr<15CScriptWaypoint>FR17CWallCrawlerSwarm": +/* 800A62B0 000A3210 38 00 00 00 */ li r0, 0 +/* 800A62B4 000A3214 90 03 00 04 */ stw r0, 4(r3) +/* 800A62B8 000A3218 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptSpindleCamera" +"Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptSpindleCamera": +/* 800A62BC 000A321C 38 00 00 00 */ li r0, 0 +/* 800A62C0 000A3220 90 03 00 04 */ stw r0, 4(r3) +/* 800A62C4 000A3224 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CSnakeWeedSwarm" +"Visit__29TCastToPtr<15CScriptWaypoint>FR15CSnakeWeedSwarm": +/* 800A62C8 000A3228 38 00 00 00 */ li r0, 0 +/* 800A62CC 000A322C 90 03 00 04 */ stw r0, 4(r3) +/* 800A62D0 000A3230 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptWaypoint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptWaypoint": +/* 800A62D4 000A3234 90 83 00 04 */ stw r4, 4(r3) +/* 800A62D8 000A3238 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptWater" +"Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptWater": +/* 800A62DC 000A323C 38 00 00 00 */ li r0, 0 +/* 800A62E0 000A3240 90 03 00 04 */ stw r0, 4(r3) +/* 800A62E4 000A3244 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptVisorFlare" +"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptVisorFlare": +/* 800A62E8 000A3248 38 00 00 00 */ li r0, 0 +/* 800A62EC 000A324C 90 03 00 04 */ stw r0, 4(r3) +/* 800A62F0 000A3250 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR14CScriptTrigger" +"Visit__29TCastToPtr<15CScriptWaypoint>FR14CScriptTrigger": +/* 800A62F4 000A3254 38 00 00 00 */ li r0, 0 +/* 800A62F8 000A3258 90 03 00 04 */ stw r0, 4(r3) +/* 800A62FC 000A325C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptTimer" +"Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptTimer": +/* 800A6300 000A3260 38 00 00 00 */ li r0, 0 +/* 800A6304 000A3264 90 03 00 04 */ stw r0, 4(r3) +/* 800A6308 000A3268 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR10CTeamAiMgr" +"Visit__29TCastToPtr<15CScriptWaypoint>FR10CTeamAiMgr": +/* 800A630C 000A326C 38 00 00 00 */ li r0, 0 +/* 800A6310 000A3270 90 03 00 04 */ stw r0, 4(r3) +/* 800A6314 000A3274 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR21CScriptTargetingPoint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR21CScriptTargetingPoint": +/* 800A6318 000A3278 38 00 00 00 */ li r0, 0 +/* 800A631C 000A327C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6320 000A3280 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR25CScriptSpiderBallWaypoint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR25CScriptSpiderBallWaypoint": +/* 800A6324 000A3284 38 00 00 00 */ li r0, 0 +/* 800A6328 000A3288 90 03 00 04 */ stw r0, 4(r3) +/* 800A632C 000A328C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR34CScriptSpiderBallAttractionSurface" +"Visit__29TCastToPtr<15CScriptWaypoint>FR34CScriptSpiderBallAttractionSurface": +/* 800A6330 000A3290 38 00 00 00 */ li r0, 0 +/* 800A6334 000A3294 90 03 00 04 */ stw r0, 4(r3) +/* 800A6338 000A3298 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR22CScriptSpecialFunction" +"Visit__29TCastToPtr<15CScriptWaypoint>FR22CScriptSpecialFunction": +/* 800A633C 000A329C 38 00 00 00 */ li r0, 0 +/* 800A6340 000A32A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6344 000A32A4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptSpawnPoint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptSpawnPoint": +/* 800A6348 000A32A8 38 00 00 00 */ li r0, 0 +/* 800A634C 000A32AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6350 000A32B0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptSound" +"Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptSound": +/* 800A6354 000A32B4 38 00 00 00 */ li r0, 0 +/* 800A6358 000A32B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A635C 000A32BC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptRoomAcoustics" +"Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptRoomAcoustics": +/* 800A6360 000A32C0 38 00 00 00 */ li r0, 0 +/* 800A6364 000A32C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6368 000A32C8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR22CScriptPointOfinterest" +"Visit__29TCastToPtr<15CScriptWaypoint>FR22CScriptPointOfinterest": +/* 800A636C 000A32CC 38 00 00 00 */ li r0, 0 +/* 800A6370 000A32D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6374 000A32D4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptPlayerHint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptPlayerHint": +/* 800A6378 000A32D8 38 00 00 00 */ li r0, 0 +/* 800A637C 000A32DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6380 000A32E0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptPlatform" +"Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptPlatform": +/* 800A6384 000A32E4 38 00 00 00 */ li r0, 0 +/* 800A6388 000A32E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A638C 000A32EC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR13CScriptPickup" +"Visit__29TCastToPtr<15CScriptWaypoint>FR13CScriptPickup": +/* 800A6390 000A32F0 38 00 00 00 */ li r0, 0 +/* 800A6394 000A32F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6398 000A32F8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptMazeNode" +"Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptMazeNode": +/* 800A639C 000A32FC 38 00 00 00 */ li r0, 0 +/* 800A63A0 000A3300 90 03 00 04 */ stw r0, 4(r3) +/* 800A63A4 000A3304 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR16CScriptGunTurret" +"Visit__29TCastToPtr<15CScriptWaypoint>FR16CScriptGunTurret": +/* 800A63A8 000A3308 38 00 00 00 */ li r0, 0 +/* 800A63AC 000A330C 90 03 00 04 */ stw r0, 4(r3) +/* 800A63B0 000A3310 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR19CScriptGrapplePoint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR19CScriptGrapplePoint": +/* 800A63B4 000A3314 38 00 00 00 */ li r0, 0 +/* 800A63B8 000A3318 90 03 00 04 */ stw r0, 4(r3) +/* 800A63BC 000A331C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR13CScriptEffect" +"Visit__29TCastToPtr<15CScriptWaypoint>FR13CScriptEffect": +/* 800A63C0 000A3320 38 00 00 00 */ li r0, 0 +/* 800A63C4 000A3324 90 03 00 04 */ stw r0, 4(r3) +/* 800A63C8 000A3328 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CScriptDoor" +"Visit__29TCastToPtr<15CScriptWaypoint>FR11CScriptDoor": +/* 800A63CC 000A332C 38 00 00 00 */ li r0, 0 +/* 800A63D0 000A3330 90 03 00 04 */ stw r0, 4(r3) +/* 800A63D4 000A3334 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CScriptDock" +"Visit__29TCastToPtr<15CScriptWaypoint>FR11CScriptDock": +/* 800A63D8 000A3338 38 00 00 00 */ li r0, 0 +/* 800A63DC 000A333C 90 03 00 04 */ stw r0, 4(r3) +/* 800A63E0 000A3340 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR18CScriptDistanceFog" +"Visit__29TCastToPtr<15CScriptWaypoint>FR18CScriptDistanceFog": +/* 800A63E4 000A3344 38 00 00 00 */ li r0, 0 +/* 800A63E8 000A3348 90 03 00 04 */ stw r0, 4(r3) +/* 800A63EC 000A334C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR26CScriptDebugCameraWaypoint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR26CScriptDebugCameraWaypoint": +/* 800A63F0 000A3350 38 00 00 00 */ li r0, 0 +/* 800A63F4 000A3354 90 03 00 04 */ stw r0, 4(r3) +/* 800A63F8 000A3358 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptCoverPoint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptCoverPoint": +/* 800A63FC 000A335C 38 00 00 00 */ li r0, 0 +/* 800A6400 000A3360 90 03 00 04 */ stw r0, 4(r3) +/* 800A6404 000A3364 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR21CScriptCameraWaypoint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR21CScriptCameraWaypoint": +/* 800A6408 000A3368 38 00 00 00 */ li r0, 0 +/* 800A640C 000A336C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6410 000A3370 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR24CScriptCameraPitchVolume" +"Visit__29TCastToPtr<15CScriptWaypoint>FR24CScriptCameraPitchVolume": +/* 800A6414 000A3374 38 00 00 00 */ li r0, 0 +/* 800A6418 000A3378 90 03 00 04 */ stw r0, 4(r3) +/* 800A641C 000A337C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptCameraHint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptCameraHint": +/* 800A6420 000A3380 38 00 00 00 */ li r0, 0 +/* 800A6424 000A3384 90 03 00 04 */ stw r0, 4(r3) +/* 800A6428 000A3388 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR18CScriptAiJumpPoint" +"Visit__29TCastToPtr<15CScriptWaypoint>FR18CScriptAiJumpPoint": +/* 800A642C 000A338C 38 00 00 00 */ li r0, 0 +/* 800A6430 000A3390 90 03 00 04 */ stw r0, 4(r3) +/* 800A6434 000A3394 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptActorKeyframe" +"Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptActorKeyframe": +/* 800A6438 000A3398 38 00 00 00 */ li r0, 0 +/* 800A643C 000A339C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6440 000A33A0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptActor" +"Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptActor": +/* 800A6444 000A33A4 38 00 00 00 */ li r0, 0 +/* 800A6448 000A33A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A644C 000A33AC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR9CRepulsor" +"Visit__29TCastToPtr<15CScriptWaypoint>FR9CRepulsor": +/* 800A6450 000A33B0 38 00 00 00 */ li r0, 0 +/* 800A6454 000A33B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6458 000A33B8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR7CPlayer" +"Visit__29TCastToPtr<15CScriptWaypoint>FR7CPlayer": +/* 800A645C 000A33BC 38 00 00 00 */ li r0, 0 +/* 800A6460 000A33C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6464 000A33C4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR13CPhysicsActor" +"Visit__29TCastToPtr<15CScriptWaypoint>FR13CPhysicsActor": +/* 800A6468 000A33C8 38 00 00 00 */ li r0, 0 +/* 800A646C 000A33CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6470 000A33D0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR3CAi" +"Visit__29TCastToPtr<15CScriptWaypoint>FR3CAi": +/* 800A6474 000A33D4 38 00 00 00 */ li r0, 0 +/* 800A6478 000A33D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A647C 000A33DC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CPathCamera" +"Visit__29TCastToPtr<15CScriptWaypoint>FR11CPathCamera": +/* 800A6480 000A33E0 38 00 00 00 */ li r0, 0 +/* 800A6484 000A33E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6488 000A33E8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR18CMetroidPrimeRelay" +"Visit__29TCastToPtr<15CScriptWaypoint>FR18CMetroidPrimeRelay": +/* 800A648C 000A33EC 38 00 00 00 */ li r0, 0 +/* 800A6490 000A33F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6494 000A33F4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR19CHUDBillboardEffect" +"Visit__29TCastToPtr<15CScriptWaypoint>FR19CHUDBillboardEffect": +/* 800A6498 000A33F8 38 00 00 00 */ li r0, 0 +/* 800A649C 000A33FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A64A0 000A3400 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CGameProjectile" +"Visit__29TCastToPtr<15CScriptWaypoint>FR15CGameProjectile": +/* 800A64A4 000A3404 38 00 00 00 */ li r0, 0 +/* 800A64A8 000A3408 90 03 00 04 */ stw r0, 4(r3) +/* 800A64AC 000A340C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR10CGameLight" +"Visit__29TCastToPtr<15CScriptWaypoint>FR10CGameLight": +/* 800A64B0 000A3410 38 00 00 00 */ li r0, 0 +/* 800A64B4 000A3414 90 03 00 04 */ stw r0, 4(r3) +/* 800A64B8 000A3418 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CGameCamera" +"Visit__29TCastToPtr<15CScriptWaypoint>FR11CGameCamera": +/* 800A64BC 000A341C 38 00 00 00 */ li r0, 0 +/* 800A64C0 000A3420 90 03 00 04 */ stw r0, 4(r3) +/* 800A64C4 000A3424 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR10CFishCloud" +"Visit__29TCastToPtr<15CScriptWaypoint>FR10CFishCloud": +/* 800A64C8 000A3428 38 00 00 00 */ li r0, 0 +/* 800A64CC 000A342C 90 03 00 04 */ stw r0, 4(r3) +/* 800A64D0 000A3430 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR18CFirstPersonCamera" +"Visit__29TCastToPtr<15CScriptWaypoint>FR18CFirstPersonCamera": +/* 800A64D4 000A3434 38 00 00 00 */ li r0, 0 +/* 800A64D8 000A3438 90 03 00 04 */ stw r0, 4(r3) +/* 800A64DC 000A343C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR10CExplosion" +"Visit__29TCastToPtr<15CScriptWaypoint>FR10CExplosion": +/* 800A64E0 000A3440 38 00 00 00 */ li r0, 0 +/* 800A64E4 000A3444 90 03 00 04 */ stw r0, 4(r3) +/* 800A64E8 000A3448 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR7CEntity" +"Visit__29TCastToPtr<15CScriptWaypoint>FR7CEntity": +/* 800A64EC 000A344C 38 00 00 00 */ li r0, 0 +/* 800A64F0 000A3450 90 03 00 04 */ stw r0, 4(r3) +/* 800A64F4 000A3454 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CEnergyProjectile" +"Visit__29TCastToPtr<15CScriptWaypoint>FR17CEnergyProjectile": +/* 800A64F8 000A3458 38 00 00 00 */ li r0, 0 +/* 800A64FC 000A345C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6500 000A3460 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR16CDestroyableRock" +"Visit__29TCastToPtr<15CScriptWaypoint>FR16CDestroyableRock": +/* 800A6504 000A3464 38 00 00 00 */ li r0, 0 +/* 800A6508 000A3468 90 03 00 04 */ stw r0, 4(r3) +/* 800A650C 000A346C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CCollisionActor" +"Visit__29TCastToPtr<15CScriptWaypoint>FR15CCollisionActor": +/* 800A6510 000A3470 38 00 00 00 */ li r0, 0 +/* 800A6514 000A3474 90 03 00 04 */ stw r0, 4(r3) +/* 800A6518 000A3478 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR16CCinematicCamera" +"Visit__29TCastToPtr<15CScriptWaypoint>FR16CCinematicCamera": +/* 800A651C 000A347C 38 00 00 00 */ li r0, 0 +/* 800A6520 000A3480 90 03 00 04 */ stw r0, 4(r3) +/* 800A6524 000A3484 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR5CBomb" +"Visit__29TCastToPtr<15CScriptWaypoint>FR5CBomb": +/* 800A6528 000A3488 38 00 00 00 */ li r0, 0 +/* 800A652C 000A348C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6530 000A3490 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CBallCamera" +"Visit__29TCastToPtr<15CScriptWaypoint>FR11CBallCamera": +/* 800A6534 000A3494 38 00 00 00 */ li r0, 0 +/* 800A6538 000A3498 90 03 00 04 */ stw r0, 4(r3) +/* 800A653C 000A349C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptWaypoint>FR6CActor" +"Visit__29TCastToPtr<15CScriptWaypoint>FR6CActor": +/* 800A6540 000A34A0 38 00 00 00 */ li r0, 0 +/* 800A6544 000A34A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6548 000A34A8 4E 80 00 20 */ blr + +.global "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +"__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity": +/* 800A654C 000A34AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A6550 000A34B0 7C 08 02 A6 */ mflr r0 +/* 800A6554 000A34B4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A6558 000A34B8 3C A0 80 3E */ lis r5, lbl_803DEBA0@ha +/* 800A655C 000A34BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A6560 000A34C0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A6564 000A34C4 28 04 00 00 */ cmplwi r4, 0 +/* 800A6568 000A34C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A656C 000A34CC 7C 7F 1B 78 */ mr r31, r3 +/* 800A6570 000A34D0 38 65 EB A0 */ addi r3, r5, lbl_803DEBA0@l +/* 800A6574 000A34D4 90 1F 00 00 */ stw r0, 0(r31) +/* 800A6578 000A34D8 38 00 00 00 */ li r0, 0 +/* 800A657C 000A34DC 90 7F 00 00 */ stw r3, 0(r31) +/* 800A6580 000A34E0 90 1F 00 04 */ stw r0, 4(r31) +/* 800A6584 000A34E4 41 82 00 1C */ beq lbl_800A65A0 +/* 800A6588 000A34E8 7C 83 23 78 */ mr r3, r4 +/* 800A658C 000A34EC 7F E4 FB 78 */ mr r4, r31 +/* 800A6590 000A34F0 81 83 00 00 */ lwz r12, 0(r3) +/* 800A6594 000A34F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A6598 000A34F8 7D 89 03 A6 */ mtctr r12 +/* 800A659C 000A34FC 4E 80 04 21 */ bctrl +lbl_800A65A0: +/* 800A65A0 000A3500 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A65A4 000A3504 7F E3 FB 78 */ mr r3, r31 +/* 800A65A8 000A3508 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A65AC 000A350C 7C 08 03 A6 */ mtlr r0 +/* 800A65B0 000A3510 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A65B4 000A3514 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR7CWeapon" +"Visit__26TCastToPtr<12CScriptWater>FR7CWeapon": +/* 800A65B8 000A3518 38 00 00 00 */ li r0, 0 +/* 800A65BC 000A351C 90 03 00 04 */ stw r0, 4(r3) +/* 800A65C0 000A3520 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR17CWallCrawlerSwarm" +"Visit__26TCastToPtr<12CScriptWater>FR17CWallCrawlerSwarm": +/* 800A65C4 000A3524 38 00 00 00 */ li r0, 0 +/* 800A65C8 000A3528 90 03 00 04 */ stw r0, 4(r3) +/* 800A65CC 000A352C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR20CScriptSpindleCamera" +"Visit__26TCastToPtr<12CScriptWater>FR20CScriptSpindleCamera": +/* 800A65D0 000A3530 38 00 00 00 */ li r0, 0 +/* 800A65D4 000A3534 90 03 00 04 */ stw r0, 4(r3) +/* 800A65D8 000A3538 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR15CSnakeWeedSwarm" +"Visit__26TCastToPtr<12CScriptWater>FR15CSnakeWeedSwarm": +/* 800A65DC 000A353C 38 00 00 00 */ li r0, 0 +/* 800A65E0 000A3540 90 03 00 04 */ stw r0, 4(r3) +/* 800A65E4 000A3544 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR15CScriptWaypoint" +"Visit__26TCastToPtr<12CScriptWater>FR15CScriptWaypoint": +/* 800A65E8 000A3548 38 00 00 00 */ li r0, 0 +/* 800A65EC 000A354C 90 03 00 04 */ stw r0, 4(r3) +/* 800A65F0 000A3550 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR12CScriptWater" +"Visit__26TCastToPtr<12CScriptWater>FR12CScriptWater": +/* 800A65F4 000A3554 90 83 00 04 */ stw r4, 4(r3) +/* 800A65F8 000A3558 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptVisorFlare" +"Visit__26TCastToPtr<12CScriptWater>FR17CScriptVisorFlare": +/* 800A65FC 000A355C 38 00 00 00 */ li r0, 0 +/* 800A6600 000A3560 90 03 00 04 */ stw r0, 4(r3) +/* 800A6604 000A3564 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR14CScriptTrigger" +"Visit__26TCastToPtr<12CScriptWater>FR14CScriptTrigger": +/* 800A6608 000A3568 38 00 00 00 */ li r0, 0 +/* 800A660C 000A356C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6610 000A3570 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR12CScriptTimer" +"Visit__26TCastToPtr<12CScriptWater>FR12CScriptTimer": +/* 800A6614 000A3574 38 00 00 00 */ li r0, 0 +/* 800A6618 000A3578 90 03 00 04 */ stw r0, 4(r3) +/* 800A661C 000A357C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR10CTeamAiMgr" +"Visit__26TCastToPtr<12CScriptWater>FR10CTeamAiMgr": +/* 800A6620 000A3580 38 00 00 00 */ li r0, 0 +/* 800A6624 000A3584 90 03 00 04 */ stw r0, 4(r3) +/* 800A6628 000A3588 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR21CScriptTargetingPoint" +"Visit__26TCastToPtr<12CScriptWater>FR21CScriptTargetingPoint": +/* 800A662C 000A358C 38 00 00 00 */ li r0, 0 +/* 800A6630 000A3590 90 03 00 04 */ stw r0, 4(r3) +/* 800A6634 000A3594 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR25CScriptSpiderBallWaypoint" +"Visit__26TCastToPtr<12CScriptWater>FR25CScriptSpiderBallWaypoint": +/* 800A6638 000A3598 38 00 00 00 */ li r0, 0 +/* 800A663C 000A359C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6640 000A35A0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR34CScriptSpiderBallAttractionSurface" +"Visit__26TCastToPtr<12CScriptWater>FR34CScriptSpiderBallAttractionSurface": +/* 800A6644 000A35A4 38 00 00 00 */ li r0, 0 +/* 800A6648 000A35A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A664C 000A35AC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR22CScriptSpecialFunction" +"Visit__26TCastToPtr<12CScriptWater>FR22CScriptSpecialFunction": +/* 800A6650 000A35B0 38 00 00 00 */ li r0, 0 +/* 800A6654 000A35B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6658 000A35B8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptSpawnPoint" +"Visit__26TCastToPtr<12CScriptWater>FR17CScriptSpawnPoint": +/* 800A665C 000A35BC 38 00 00 00 */ li r0, 0 +/* 800A6660 000A35C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6664 000A35C4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR12CScriptSound" +"Visit__26TCastToPtr<12CScriptWater>FR12CScriptSound": +/* 800A6668 000A35C8 38 00 00 00 */ li r0, 0 +/* 800A666C 000A35CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6670 000A35D0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR20CScriptRoomAcoustics" +"Visit__26TCastToPtr<12CScriptWater>FR20CScriptRoomAcoustics": +/* 800A6674 000A35D4 38 00 00 00 */ li r0, 0 +/* 800A6678 000A35D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A667C 000A35DC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR22CScriptPointOfinterest" +"Visit__26TCastToPtr<12CScriptWater>FR22CScriptPointOfinterest": +/* 800A6680 000A35E0 38 00 00 00 */ li r0, 0 +/* 800A6684 000A35E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6688 000A35E8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptPlayerHint" +"Visit__26TCastToPtr<12CScriptWater>FR17CScriptPlayerHint": +/* 800A668C 000A35EC 38 00 00 00 */ li r0, 0 +/* 800A6690 000A35F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6694 000A35F4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR15CScriptPlatform" +"Visit__26TCastToPtr<12CScriptWater>FR15CScriptPlatform": +/* 800A6698 000A35F8 38 00 00 00 */ li r0, 0 +/* 800A669C 000A35FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A66A0 000A3600 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR13CScriptPickup" +"Visit__26TCastToPtr<12CScriptWater>FR13CScriptPickup": +/* 800A66A4 000A3604 38 00 00 00 */ li r0, 0 +/* 800A66A8 000A3608 90 03 00 04 */ stw r0, 4(r3) +/* 800A66AC 000A360C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR15CScriptMazeNode" +"Visit__26TCastToPtr<12CScriptWater>FR15CScriptMazeNode": +/* 800A66B0 000A3610 38 00 00 00 */ li r0, 0 +/* 800A66B4 000A3614 90 03 00 04 */ stw r0, 4(r3) +/* 800A66B8 000A3618 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR16CScriptGunTurret" +"Visit__26TCastToPtr<12CScriptWater>FR16CScriptGunTurret": +/* 800A66BC 000A361C 38 00 00 00 */ li r0, 0 +/* 800A66C0 000A3620 90 03 00 04 */ stw r0, 4(r3) +/* 800A66C4 000A3624 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR19CScriptGrapplePoint" +"Visit__26TCastToPtr<12CScriptWater>FR19CScriptGrapplePoint": +/* 800A66C8 000A3628 38 00 00 00 */ li r0, 0 +/* 800A66CC 000A362C 90 03 00 04 */ stw r0, 4(r3) +/* 800A66D0 000A3630 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR13CScriptEffect" +"Visit__26TCastToPtr<12CScriptWater>FR13CScriptEffect": +/* 800A66D4 000A3634 38 00 00 00 */ li r0, 0 +/* 800A66D8 000A3638 90 03 00 04 */ stw r0, 4(r3) +/* 800A66DC 000A363C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR11CScriptDoor" +"Visit__26TCastToPtr<12CScriptWater>FR11CScriptDoor": +/* 800A66E0 000A3640 38 00 00 00 */ li r0, 0 +/* 800A66E4 000A3644 90 03 00 04 */ stw r0, 4(r3) +/* 800A66E8 000A3648 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR11CScriptDock" +"Visit__26TCastToPtr<12CScriptWater>FR11CScriptDock": +/* 800A66EC 000A364C 38 00 00 00 */ li r0, 0 +/* 800A66F0 000A3650 90 03 00 04 */ stw r0, 4(r3) +/* 800A66F4 000A3654 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR18CScriptDistanceFog" +"Visit__26TCastToPtr<12CScriptWater>FR18CScriptDistanceFog": +/* 800A66F8 000A3658 38 00 00 00 */ li r0, 0 +/* 800A66FC 000A365C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6700 000A3660 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR26CScriptDebugCameraWaypoint" +"Visit__26TCastToPtr<12CScriptWater>FR26CScriptDebugCameraWaypoint": +/* 800A6704 000A3664 38 00 00 00 */ li r0, 0 +/* 800A6708 000A3668 90 03 00 04 */ stw r0, 4(r3) +/* 800A670C 000A366C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptCoverPoint" +"Visit__26TCastToPtr<12CScriptWater>FR17CScriptCoverPoint": +/* 800A6710 000A3670 38 00 00 00 */ li r0, 0 +/* 800A6714 000A3674 90 03 00 04 */ stw r0, 4(r3) +/* 800A6718 000A3678 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR21CScriptCameraWaypoint" +"Visit__26TCastToPtr<12CScriptWater>FR21CScriptCameraWaypoint": +/* 800A671C 000A367C 38 00 00 00 */ li r0, 0 +/* 800A6720 000A3680 90 03 00 04 */ stw r0, 4(r3) +/* 800A6724 000A3684 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR24CScriptCameraPitchVolume" +"Visit__26TCastToPtr<12CScriptWater>FR24CScriptCameraPitchVolume": +/* 800A6728 000A3688 38 00 00 00 */ li r0, 0 +/* 800A672C 000A368C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6730 000A3690 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptCameraHint" +"Visit__26TCastToPtr<12CScriptWater>FR17CScriptCameraHint": +/* 800A6734 000A3694 38 00 00 00 */ li r0, 0 +/* 800A6738 000A3698 90 03 00 04 */ stw r0, 4(r3) +/* 800A673C 000A369C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR18CScriptAiJumpPoint" +"Visit__26TCastToPtr<12CScriptWater>FR18CScriptAiJumpPoint": +/* 800A6740 000A36A0 38 00 00 00 */ li r0, 0 +/* 800A6744 000A36A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6748 000A36A8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR20CScriptActorKeyframe" +"Visit__26TCastToPtr<12CScriptWater>FR20CScriptActorKeyframe": +/* 800A674C 000A36AC 38 00 00 00 */ li r0, 0 +/* 800A6750 000A36B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6754 000A36B4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR12CScriptActor" +"Visit__26TCastToPtr<12CScriptWater>FR12CScriptActor": +/* 800A6758 000A36B8 38 00 00 00 */ li r0, 0 +/* 800A675C 000A36BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6760 000A36C0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR9CRepulsor" +"Visit__26TCastToPtr<12CScriptWater>FR9CRepulsor": +/* 800A6764 000A36C4 38 00 00 00 */ li r0, 0 +/* 800A6768 000A36C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A676C 000A36CC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR7CPlayer" +"Visit__26TCastToPtr<12CScriptWater>FR7CPlayer": +/* 800A6770 000A36D0 38 00 00 00 */ li r0, 0 +/* 800A6774 000A36D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6778 000A36D8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR13CPhysicsActor" +"Visit__26TCastToPtr<12CScriptWater>FR13CPhysicsActor": +/* 800A677C 000A36DC 38 00 00 00 */ li r0, 0 +/* 800A6780 000A36E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6784 000A36E4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR3CAi" +"Visit__26TCastToPtr<12CScriptWater>FR3CAi": +/* 800A6788 000A36E8 38 00 00 00 */ li r0, 0 +/* 800A678C 000A36EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6790 000A36F0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR11CPathCamera" +"Visit__26TCastToPtr<12CScriptWater>FR11CPathCamera": +/* 800A6794 000A36F4 38 00 00 00 */ li r0, 0 +/* 800A6798 000A36F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A679C 000A36FC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR18CMetroidPrimeRelay" +"Visit__26TCastToPtr<12CScriptWater>FR18CMetroidPrimeRelay": +/* 800A67A0 000A3700 38 00 00 00 */ li r0, 0 +/* 800A67A4 000A3704 90 03 00 04 */ stw r0, 4(r3) +/* 800A67A8 000A3708 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR19CHUDBillboardEffect" +"Visit__26TCastToPtr<12CScriptWater>FR19CHUDBillboardEffect": +/* 800A67AC 000A370C 38 00 00 00 */ li r0, 0 +/* 800A67B0 000A3710 90 03 00 04 */ stw r0, 4(r3) +/* 800A67B4 000A3714 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR15CGameProjectile" +"Visit__26TCastToPtr<12CScriptWater>FR15CGameProjectile": +/* 800A67B8 000A3718 38 00 00 00 */ li r0, 0 +/* 800A67BC 000A371C 90 03 00 04 */ stw r0, 4(r3) +/* 800A67C0 000A3720 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR10CGameLight" +"Visit__26TCastToPtr<12CScriptWater>FR10CGameLight": +/* 800A67C4 000A3724 38 00 00 00 */ li r0, 0 +/* 800A67C8 000A3728 90 03 00 04 */ stw r0, 4(r3) +/* 800A67CC 000A372C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR11CGameCamera" +"Visit__26TCastToPtr<12CScriptWater>FR11CGameCamera": +/* 800A67D0 000A3730 38 00 00 00 */ li r0, 0 +/* 800A67D4 000A3734 90 03 00 04 */ stw r0, 4(r3) +/* 800A67D8 000A3738 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR10CFishCloud" +"Visit__26TCastToPtr<12CScriptWater>FR10CFishCloud": +/* 800A67DC 000A373C 38 00 00 00 */ li r0, 0 +/* 800A67E0 000A3740 90 03 00 04 */ stw r0, 4(r3) +/* 800A67E4 000A3744 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR18CFirstPersonCamera" +"Visit__26TCastToPtr<12CScriptWater>FR18CFirstPersonCamera": +/* 800A67E8 000A3748 38 00 00 00 */ li r0, 0 +/* 800A67EC 000A374C 90 03 00 04 */ stw r0, 4(r3) +/* 800A67F0 000A3750 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR10CExplosion" +"Visit__26TCastToPtr<12CScriptWater>FR10CExplosion": +/* 800A67F4 000A3754 38 00 00 00 */ li r0, 0 +/* 800A67F8 000A3758 90 03 00 04 */ stw r0, 4(r3) +/* 800A67FC 000A375C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR7CEntity" +"Visit__26TCastToPtr<12CScriptWater>FR7CEntity": +/* 800A6800 000A3760 38 00 00 00 */ li r0, 0 +/* 800A6804 000A3764 90 03 00 04 */ stw r0, 4(r3) +/* 800A6808 000A3768 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR17CEnergyProjectile" +"Visit__26TCastToPtr<12CScriptWater>FR17CEnergyProjectile": +/* 800A680C 000A376C 38 00 00 00 */ li r0, 0 +/* 800A6810 000A3770 90 03 00 04 */ stw r0, 4(r3) +/* 800A6814 000A3774 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR16CDestroyableRock" +"Visit__26TCastToPtr<12CScriptWater>FR16CDestroyableRock": +/* 800A6818 000A3778 38 00 00 00 */ li r0, 0 +/* 800A681C 000A377C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6820 000A3780 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR15CCollisionActor" +"Visit__26TCastToPtr<12CScriptWater>FR15CCollisionActor": +/* 800A6824 000A3784 38 00 00 00 */ li r0, 0 +/* 800A6828 000A3788 90 03 00 04 */ stw r0, 4(r3) +/* 800A682C 000A378C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR16CCinematicCamera" +"Visit__26TCastToPtr<12CScriptWater>FR16CCinematicCamera": +/* 800A6830 000A3790 38 00 00 00 */ li r0, 0 +/* 800A6834 000A3794 90 03 00 04 */ stw r0, 4(r3) +/* 800A6838 000A3798 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR5CBomb" +"Visit__26TCastToPtr<12CScriptWater>FR5CBomb": +/* 800A683C 000A379C 38 00 00 00 */ li r0, 0 +/* 800A6840 000A37A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6844 000A37A4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR11CBallCamera" +"Visit__26TCastToPtr<12CScriptWater>FR11CBallCamera": +/* 800A6848 000A37A8 38 00 00 00 */ li r0, 0 +/* 800A684C 000A37AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6850 000A37B0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptWater>FR6CActor" +"Visit__26TCastToPtr<12CScriptWater>FR6CActor": +/* 800A6854 000A37B4 38 00 00 00 */ li r0, 0 +/* 800A6858 000A37B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A685C 000A37BC 4E 80 00 20 */ blr + +.global "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" +"__ct__26TCastToPtr<12CScriptWater>FP7CEntity": +/* 800A6860 000A37C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A6864 000A37C4 7C 08 02 A6 */ mflr r0 +/* 800A6868 000A37C8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A686C 000A37CC 3C A0 80 3E */ lis r5, lbl_803DEAB4@ha +/* 800A6870 000A37D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A6874 000A37D4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A6878 000A37D8 28 04 00 00 */ cmplwi r4, 0 +/* 800A687C 000A37DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A6880 000A37E0 7C 7F 1B 78 */ mr r31, r3 +/* 800A6884 000A37E4 38 65 EA B4 */ addi r3, r5, lbl_803DEAB4@l +/* 800A6888 000A37E8 90 1F 00 00 */ stw r0, 0(r31) +/* 800A688C 000A37EC 38 00 00 00 */ li r0, 0 +/* 800A6890 000A37F0 90 7F 00 00 */ stw r3, 0(r31) +/* 800A6894 000A37F4 90 1F 00 04 */ stw r0, 4(r31) +/* 800A6898 000A37F8 41 82 00 1C */ beq lbl_800A68B4 +/* 800A689C 000A37FC 7C 83 23 78 */ mr r3, r4 +/* 800A68A0 000A3800 7F E4 FB 78 */ mr r4, r31 +/* 800A68A4 000A3804 81 83 00 00 */ lwz r12, 0(r3) +/* 800A68A8 000A3808 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A68AC 000A380C 7D 89 03 A6 */ mtctr r12 +/* 800A68B0 000A3810 4E 80 04 21 */ bctrl +lbl_800A68B4: +/* 800A68B4 000A3814 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A68B8 000A3818 7F E3 FB 78 */ mr r3, r31 +/* 800A68BC 000A381C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A68C0 000A3820 7C 08 03 A6 */ mtlr r0 +/* 800A68C4 000A3824 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A68C8 000A3828 4E 80 00 20 */ blr + +.global "__ct__26TCastToPtr<12CScriptWater>FR7CEntity" +"__ct__26TCastToPtr<12CScriptWater>FR7CEntity": +/* 800A68CC 000A382C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A68D0 000A3830 7C 08 02 A6 */ mflr r0 +/* 800A68D4 000A3834 3C A0 80 3E */ lis r5, lbl_803DEAB4@ha +/* 800A68D8 000A3838 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A68DC 000A383C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A68E0 000A3840 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A68E4 000A3844 38 A5 EA B4 */ addi r5, r5, lbl_803DEAB4@l +/* 800A68E8 000A3848 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A68EC 000A384C 7C 7F 1B 78 */ mr r31, r3 +/* 800A68F0 000A3850 90 03 00 00 */ stw r0, 0(r3) +/* 800A68F4 000A3854 7C 83 23 78 */ mr r3, r4 +/* 800A68F8 000A3858 38 00 00 00 */ li r0, 0 +/* 800A68FC 000A385C 7F E4 FB 78 */ mr r4, r31 +/* 800A6900 000A3860 90 BF 00 00 */ stw r5, 0(r31) +/* 800A6904 000A3864 90 1F 00 04 */ stw r0, 4(r31) +/* 800A6908 000A3868 81 83 00 00 */ lwz r12, 0(r3) +/* 800A690C 000A386C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A6910 000A3870 7D 89 03 A6 */ mtctr r12 +/* 800A6914 000A3874 4E 80 04 21 */ bctrl +/* 800A6918 000A3878 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A691C 000A387C 7F E3 FB 78 */ mr r3, r31 +/* 800A6920 000A3880 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A6924 000A3884 7C 08 03 A6 */ mtlr r0 +/* 800A6928 000A3888 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A692C 000A388C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR7CWeapon" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR7CWeapon": +/* 800A6930 000A3890 38 00 00 00 */ li r0, 0 +/* 800A6934 000A3894 90 03 00 04 */ stw r0, 4(r3) +/* 800A6938 000A3898 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CWallCrawlerSwarm" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CWallCrawlerSwarm": +/* 800A693C 000A389C 38 00 00 00 */ li r0, 0 +/* 800A6940 000A38A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6944 000A38A4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptSpindleCamera" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptSpindleCamera": +/* 800A6948 000A38A8 38 00 00 00 */ li r0, 0 +/* 800A694C 000A38AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6950 000A38B0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CSnakeWeedSwarm" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CSnakeWeedSwarm": +/* 800A6954 000A38B4 38 00 00 00 */ li r0, 0 +/* 800A6958 000A38B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A695C 000A38BC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptWaypoint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptWaypoint": +/* 800A6960 000A38C0 38 00 00 00 */ li r0, 0 +/* 800A6964 000A38C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6968 000A38C8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptWater" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptWater": +/* 800A696C 000A38CC 38 00 00 00 */ li r0, 0 +/* 800A6970 000A38D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6974 000A38D4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptVisorFlare" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptVisorFlare": +/* 800A6978 000A38D8 90 83 00 04 */ stw r4, 4(r3) +/* 800A697C 000A38DC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR14CScriptTrigger" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR14CScriptTrigger": +/* 800A6980 000A38E0 38 00 00 00 */ li r0, 0 +/* 800A6984 000A38E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6988 000A38E8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptTimer" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptTimer": +/* 800A698C 000A38EC 38 00 00 00 */ li r0, 0 +/* 800A6990 000A38F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6994 000A38F4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR10CTeamAiMgr" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR10CTeamAiMgr": +/* 800A6998 000A38F8 38 00 00 00 */ li r0, 0 +/* 800A699C 000A38FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A69A0 000A3900 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR21CScriptTargetingPoint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR21CScriptTargetingPoint": +/* 800A69A4 000A3904 38 00 00 00 */ li r0, 0 +/* 800A69A8 000A3908 90 03 00 04 */ stw r0, 4(r3) +/* 800A69AC 000A390C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR25CScriptSpiderBallWaypoint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR25CScriptSpiderBallWaypoint": +/* 800A69B0 000A3910 38 00 00 00 */ li r0, 0 +/* 800A69B4 000A3914 90 03 00 04 */ stw r0, 4(r3) +/* 800A69B8 000A3918 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR34CScriptSpiderBallAttractionSurface" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR34CScriptSpiderBallAttractionSurface": +/* 800A69BC 000A391C 38 00 00 00 */ li r0, 0 +/* 800A69C0 000A3920 90 03 00 04 */ stw r0, 4(r3) +/* 800A69C4 000A3924 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR22CScriptSpecialFunction" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR22CScriptSpecialFunction": +/* 800A69C8 000A3928 38 00 00 00 */ li r0, 0 +/* 800A69CC 000A392C 90 03 00 04 */ stw r0, 4(r3) +/* 800A69D0 000A3930 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptSpawnPoint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptSpawnPoint": +/* 800A69D4 000A3934 38 00 00 00 */ li r0, 0 +/* 800A69D8 000A3938 90 03 00 04 */ stw r0, 4(r3) +/* 800A69DC 000A393C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptSound" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptSound": +/* 800A69E0 000A3940 38 00 00 00 */ li r0, 0 +/* 800A69E4 000A3944 90 03 00 04 */ stw r0, 4(r3) +/* 800A69E8 000A3948 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptRoomAcoustics" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptRoomAcoustics": +/* 800A69EC 000A394C 38 00 00 00 */ li r0, 0 +/* 800A69F0 000A3950 90 03 00 04 */ stw r0, 4(r3) +/* 800A69F4 000A3954 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR22CScriptPointOfinterest" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR22CScriptPointOfinterest": +/* 800A69F8 000A3958 38 00 00 00 */ li r0, 0 +/* 800A69FC 000A395C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A00 000A3960 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptPlayerHint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptPlayerHint": +/* 800A6A04 000A3964 38 00 00 00 */ li r0, 0 +/* 800A6A08 000A3968 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A0C 000A396C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptPlatform" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptPlatform": +/* 800A6A10 000A3970 38 00 00 00 */ li r0, 0 +/* 800A6A14 000A3974 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A18 000A3978 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR13CScriptPickup" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR13CScriptPickup": +/* 800A6A1C 000A397C 38 00 00 00 */ li r0, 0 +/* 800A6A20 000A3980 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A24 000A3984 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptMazeNode" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptMazeNode": +/* 800A6A28 000A3988 38 00 00 00 */ li r0, 0 +/* 800A6A2C 000A398C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A30 000A3990 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR16CScriptGunTurret" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR16CScriptGunTurret": +/* 800A6A34 000A3994 38 00 00 00 */ li r0, 0 +/* 800A6A38 000A3998 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A3C 000A399C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR19CScriptGrapplePoint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR19CScriptGrapplePoint": +/* 800A6A40 000A39A0 38 00 00 00 */ li r0, 0 +/* 800A6A44 000A39A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A48 000A39A8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR13CScriptEffect" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR13CScriptEffect": +/* 800A6A4C 000A39AC 38 00 00 00 */ li r0, 0 +/* 800A6A50 000A39B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A54 000A39B4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CScriptDoor" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CScriptDoor": +/* 800A6A58 000A39B8 38 00 00 00 */ li r0, 0 +/* 800A6A5C 000A39BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A60 000A39C0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CScriptDock" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CScriptDock": +/* 800A6A64 000A39C4 38 00 00 00 */ li r0, 0 +/* 800A6A68 000A39C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A6C 000A39CC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR18CScriptDistanceFog" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR18CScriptDistanceFog": +/* 800A6A70 000A39D0 38 00 00 00 */ li r0, 0 +/* 800A6A74 000A39D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A78 000A39D8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR26CScriptDebugCameraWaypoint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR26CScriptDebugCameraWaypoint": +/* 800A6A7C 000A39DC 38 00 00 00 */ li r0, 0 +/* 800A6A80 000A39E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A84 000A39E4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptCoverPoint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptCoverPoint": +/* 800A6A88 000A39E8 38 00 00 00 */ li r0, 0 +/* 800A6A8C 000A39EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A90 000A39F0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR21CScriptCameraWaypoint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR21CScriptCameraWaypoint": +/* 800A6A94 000A39F4 38 00 00 00 */ li r0, 0 +/* 800A6A98 000A39F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6A9C 000A39FC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR24CScriptCameraPitchVolume" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR24CScriptCameraPitchVolume": +/* 800A6AA0 000A3A00 38 00 00 00 */ li r0, 0 +/* 800A6AA4 000A3A04 90 03 00 04 */ stw r0, 4(r3) +/* 800A6AA8 000A3A08 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptCameraHint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptCameraHint": +/* 800A6AAC 000A3A0C 38 00 00 00 */ li r0, 0 +/* 800A6AB0 000A3A10 90 03 00 04 */ stw r0, 4(r3) +/* 800A6AB4 000A3A14 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR18CScriptAiJumpPoint" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR18CScriptAiJumpPoint": +/* 800A6AB8 000A3A18 38 00 00 00 */ li r0, 0 +/* 800A6ABC 000A3A1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6AC0 000A3A20 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptActorKeyframe" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptActorKeyframe": +/* 800A6AC4 000A3A24 38 00 00 00 */ li r0, 0 +/* 800A6AC8 000A3A28 90 03 00 04 */ stw r0, 4(r3) +/* 800A6ACC 000A3A2C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptActor" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptActor": +/* 800A6AD0 000A3A30 38 00 00 00 */ li r0, 0 +/* 800A6AD4 000A3A34 90 03 00 04 */ stw r0, 4(r3) +/* 800A6AD8 000A3A38 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR9CRepulsor" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR9CRepulsor": +/* 800A6ADC 000A3A3C 38 00 00 00 */ li r0, 0 +/* 800A6AE0 000A3A40 90 03 00 04 */ stw r0, 4(r3) +/* 800A6AE4 000A3A44 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR7CPlayer" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR7CPlayer": +/* 800A6AE8 000A3A48 38 00 00 00 */ li r0, 0 +/* 800A6AEC 000A3A4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6AF0 000A3A50 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR13CPhysicsActor" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR13CPhysicsActor": +/* 800A6AF4 000A3A54 38 00 00 00 */ li r0, 0 +/* 800A6AF8 000A3A58 90 03 00 04 */ stw r0, 4(r3) +/* 800A6AFC 000A3A5C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR3CAi" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR3CAi": +/* 800A6B00 000A3A60 38 00 00 00 */ li r0, 0 +/* 800A6B04 000A3A64 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B08 000A3A68 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CPathCamera" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CPathCamera": +/* 800A6B0C 000A3A6C 38 00 00 00 */ li r0, 0 +/* 800A6B10 000A3A70 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B14 000A3A74 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR18CMetroidPrimeRelay" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR18CMetroidPrimeRelay": +/* 800A6B18 000A3A78 38 00 00 00 */ li r0, 0 +/* 800A6B1C 000A3A7C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B20 000A3A80 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR19CHUDBillboardEffect" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR19CHUDBillboardEffect": +/* 800A6B24 000A3A84 38 00 00 00 */ li r0, 0 +/* 800A6B28 000A3A88 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B2C 000A3A8C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CGameProjectile" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CGameProjectile": +/* 800A6B30 000A3A90 38 00 00 00 */ li r0, 0 +/* 800A6B34 000A3A94 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B38 000A3A98 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR10CGameLight" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR10CGameLight": +/* 800A6B3C 000A3A9C 38 00 00 00 */ li r0, 0 +/* 800A6B40 000A3AA0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B44 000A3AA4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CGameCamera" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CGameCamera": +/* 800A6B48 000A3AA8 38 00 00 00 */ li r0, 0 +/* 800A6B4C 000A3AAC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B50 000A3AB0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR10CFishCloud" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR10CFishCloud": +/* 800A6B54 000A3AB4 38 00 00 00 */ li r0, 0 +/* 800A6B58 000A3AB8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B5C 000A3ABC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR18CFirstPersonCamera" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR18CFirstPersonCamera": +/* 800A6B60 000A3AC0 38 00 00 00 */ li r0, 0 +/* 800A6B64 000A3AC4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B68 000A3AC8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR10CExplosion" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR10CExplosion": +/* 800A6B6C 000A3ACC 38 00 00 00 */ li r0, 0 +/* 800A6B70 000A3AD0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B74 000A3AD4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR7CEntity" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR7CEntity": +/* 800A6B78 000A3AD8 38 00 00 00 */ li r0, 0 +/* 800A6B7C 000A3ADC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B80 000A3AE0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CEnergyProjectile" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CEnergyProjectile": +/* 800A6B84 000A3AE4 38 00 00 00 */ li r0, 0 +/* 800A6B88 000A3AE8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B8C 000A3AEC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR16CDestroyableRock" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR16CDestroyableRock": +/* 800A6B90 000A3AF0 38 00 00 00 */ li r0, 0 +/* 800A6B94 000A3AF4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6B98 000A3AF8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CCollisionActor" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CCollisionActor": +/* 800A6B9C 000A3AFC 38 00 00 00 */ li r0, 0 +/* 800A6BA0 000A3B00 90 03 00 04 */ stw r0, 4(r3) +/* 800A6BA4 000A3B04 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR16CCinematicCamera" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR16CCinematicCamera": +/* 800A6BA8 000A3B08 38 00 00 00 */ li r0, 0 +/* 800A6BAC 000A3B0C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6BB0 000A3B10 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR5CBomb" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR5CBomb": +/* 800A6BB4 000A3B14 38 00 00 00 */ li r0, 0 +/* 800A6BB8 000A3B18 90 03 00 04 */ stw r0, 4(r3) +/* 800A6BBC 000A3B1C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CBallCamera" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CBallCamera": +/* 800A6BC0 000A3B20 38 00 00 00 */ li r0, 0 +/* 800A6BC4 000A3B24 90 03 00 04 */ stw r0, 4(r3) +/* 800A6BC8 000A3B28 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR6CActor" +"Visit__31TCastToPtr<17CScriptVisorFlare>FR6CActor": +/* 800A6BCC 000A3B2C 38 00 00 00 */ li r0, 0 +/* 800A6BD0 000A3B30 90 03 00 04 */ stw r0, 4(r3) +/* 800A6BD4 000A3B34 4E 80 00 20 */ blr + +.global "__ct__31TCastToPtr<17CScriptVisorFlare>FP7CEntity" +"__ct__31TCastToPtr<17CScriptVisorFlare>FP7CEntity": +/* 800A6BD8 000A3B38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A6BDC 000A3B3C 7C 08 02 A6 */ mflr r0 +/* 800A6BE0 000A3B40 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A6BE4 000A3B44 3C A0 80 3E */ lis r5, lbl_803DE9C8@ha +/* 800A6BE8 000A3B48 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A6BEC 000A3B4C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A6BF0 000A3B50 28 04 00 00 */ cmplwi r4, 0 +/* 800A6BF4 000A3B54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A6BF8 000A3B58 7C 7F 1B 78 */ mr r31, r3 +/* 800A6BFC 000A3B5C 38 65 E9 C8 */ addi r3, r5, lbl_803DE9C8@l +/* 800A6C00 000A3B60 90 1F 00 00 */ stw r0, 0(r31) +/* 800A6C04 000A3B64 38 00 00 00 */ li r0, 0 +/* 800A6C08 000A3B68 90 7F 00 00 */ stw r3, 0(r31) +/* 800A6C0C 000A3B6C 90 1F 00 04 */ stw r0, 4(r31) +/* 800A6C10 000A3B70 41 82 00 1C */ beq lbl_800A6C2C +/* 800A6C14 000A3B74 7C 83 23 78 */ mr r3, r4 +/* 800A6C18 000A3B78 7F E4 FB 78 */ mr r4, r31 +/* 800A6C1C 000A3B7C 81 83 00 00 */ lwz r12, 0(r3) +/* 800A6C20 000A3B80 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A6C24 000A3B84 7D 89 03 A6 */ mtctr r12 +/* 800A6C28 000A3B88 4E 80 04 21 */ bctrl +lbl_800A6C2C: +/* 800A6C2C 000A3B8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A6C30 000A3B90 7F E3 FB 78 */ mr r3, r31 +/* 800A6C34 000A3B94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A6C38 000A3B98 7C 08 03 A6 */ mtlr r0 +/* 800A6C3C 000A3B9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A6C40 000A3BA0 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR7CWeapon" +"Visit__28TCastToPtr<14CScriptTrigger>FR7CWeapon": +/* 800A6C44 000A3BA4 38 00 00 00 */ li r0, 0 +/* 800A6C48 000A3BA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6C4C 000A3BAC 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CWallCrawlerSwarm" +"Visit__28TCastToPtr<14CScriptTrigger>FR17CWallCrawlerSwarm": +/* 800A6C50 000A3BB0 38 00 00 00 */ li r0, 0 +/* 800A6C54 000A3BB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6C58 000A3BB8 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptSpindleCamera" +"Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptSpindleCamera": +/* 800A6C5C 000A3BBC 38 00 00 00 */ li r0, 0 +/* 800A6C60 000A3BC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6C64 000A3BC4 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CSnakeWeedSwarm" +"Visit__28TCastToPtr<14CScriptTrigger>FR15CSnakeWeedSwarm": +/* 800A6C68 000A3BC8 38 00 00 00 */ li r0, 0 +/* 800A6C6C 000A3BCC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6C70 000A3BD0 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptWaypoint" +"Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptWaypoint": +/* 800A6C74 000A3BD4 38 00 00 00 */ li r0, 0 +/* 800A6C78 000A3BD8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6C7C 000A3BDC 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptWater" +"Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptWater": +/* 800A6C80 000A3BE0 90 83 00 04 */ stw r4, 4(r3) +/* 800A6C84 000A3BE4 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptVisorFlare" +"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptVisorFlare": +/* 800A6C88 000A3BE8 38 00 00 00 */ li r0, 0 +/* 800A6C8C 000A3BEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6C90 000A3BF0 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR14CScriptTrigger" +"Visit__28TCastToPtr<14CScriptTrigger>FR14CScriptTrigger": +/* 800A6C94 000A3BF4 90 83 00 04 */ stw r4, 4(r3) +/* 800A6C98 000A3BF8 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptTimer" +"Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptTimer": +/* 800A6C9C 000A3BFC 38 00 00 00 */ li r0, 0 +/* 800A6CA0 000A3C00 90 03 00 04 */ stw r0, 4(r3) +/* 800A6CA4 000A3C04 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR10CTeamAiMgr" +"Visit__28TCastToPtr<14CScriptTrigger>FR10CTeamAiMgr": +/* 800A6CA8 000A3C08 38 00 00 00 */ li r0, 0 +/* 800A6CAC 000A3C0C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6CB0 000A3C10 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR21CScriptTargetingPoint" +"Visit__28TCastToPtr<14CScriptTrigger>FR21CScriptTargetingPoint": +/* 800A6CB4 000A3C14 38 00 00 00 */ li r0, 0 +/* 800A6CB8 000A3C18 90 03 00 04 */ stw r0, 4(r3) +/* 800A6CBC 000A3C1C 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR25CScriptSpiderBallWaypoint" +"Visit__28TCastToPtr<14CScriptTrigger>FR25CScriptSpiderBallWaypoint": +/* 800A6CC0 000A3C20 38 00 00 00 */ li r0, 0 +/* 800A6CC4 000A3C24 90 03 00 04 */ stw r0, 4(r3) +/* 800A6CC8 000A3C28 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR34CScriptSpiderBallAttractionSurface" +"Visit__28TCastToPtr<14CScriptTrigger>FR34CScriptSpiderBallAttractionSurface": +/* 800A6CCC 000A3C2C 38 00 00 00 */ li r0, 0 +/* 800A6CD0 000A3C30 90 03 00 04 */ stw r0, 4(r3) +/* 800A6CD4 000A3C34 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR22CScriptSpecialFunction" +"Visit__28TCastToPtr<14CScriptTrigger>FR22CScriptSpecialFunction": +/* 800A6CD8 000A3C38 38 00 00 00 */ li r0, 0 +/* 800A6CDC 000A3C3C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6CE0 000A3C40 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptSpawnPoint" +"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptSpawnPoint": +/* 800A6CE4 000A3C44 38 00 00 00 */ li r0, 0 +/* 800A6CE8 000A3C48 90 03 00 04 */ stw r0, 4(r3) +/* 800A6CEC 000A3C4C 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptSound" +"Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptSound": +/* 800A6CF0 000A3C50 38 00 00 00 */ li r0, 0 +/* 800A6CF4 000A3C54 90 03 00 04 */ stw r0, 4(r3) +/* 800A6CF8 000A3C58 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptRoomAcoustics" +"Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptRoomAcoustics": +/* 800A6CFC 000A3C5C 38 00 00 00 */ li r0, 0 +/* 800A6D00 000A3C60 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D04 000A3C64 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR22CScriptPointOfinterest" +"Visit__28TCastToPtr<14CScriptTrigger>FR22CScriptPointOfinterest": +/* 800A6D08 000A3C68 38 00 00 00 */ li r0, 0 +/* 800A6D0C 000A3C6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D10 000A3C70 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptPlayerHint" +"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptPlayerHint": +/* 800A6D14 000A3C74 38 00 00 00 */ li r0, 0 +/* 800A6D18 000A3C78 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D1C 000A3C7C 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptPlatform" +"Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptPlatform": +/* 800A6D20 000A3C80 38 00 00 00 */ li r0, 0 +/* 800A6D24 000A3C84 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D28 000A3C88 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR13CScriptPickup" +"Visit__28TCastToPtr<14CScriptTrigger>FR13CScriptPickup": +/* 800A6D2C 000A3C8C 38 00 00 00 */ li r0, 0 +/* 800A6D30 000A3C90 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D34 000A3C94 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptMazeNode" +"Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptMazeNode": +/* 800A6D38 000A3C98 38 00 00 00 */ li r0, 0 +/* 800A6D3C 000A3C9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D40 000A3CA0 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR16CScriptGunTurret" +"Visit__28TCastToPtr<14CScriptTrigger>FR16CScriptGunTurret": +/* 800A6D44 000A3CA4 38 00 00 00 */ li r0, 0 +/* 800A6D48 000A3CA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D4C 000A3CAC 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR19CScriptGrapplePoint" +"Visit__28TCastToPtr<14CScriptTrigger>FR19CScriptGrapplePoint": +/* 800A6D50 000A3CB0 38 00 00 00 */ li r0, 0 +/* 800A6D54 000A3CB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D58 000A3CB8 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR13CScriptEffect" +"Visit__28TCastToPtr<14CScriptTrigger>FR13CScriptEffect": +/* 800A6D5C 000A3CBC 38 00 00 00 */ li r0, 0 +/* 800A6D60 000A3CC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D64 000A3CC4 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CScriptDoor" +"Visit__28TCastToPtr<14CScriptTrigger>FR11CScriptDoor": +/* 800A6D68 000A3CC8 38 00 00 00 */ li r0, 0 +/* 800A6D6C 000A3CCC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D70 000A3CD0 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CScriptDock" +"Visit__28TCastToPtr<14CScriptTrigger>FR11CScriptDock": +/* 800A6D74 000A3CD4 38 00 00 00 */ li r0, 0 +/* 800A6D78 000A3CD8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D7C 000A3CDC 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR18CScriptDistanceFog" +"Visit__28TCastToPtr<14CScriptTrigger>FR18CScriptDistanceFog": +/* 800A6D80 000A3CE0 38 00 00 00 */ li r0, 0 +/* 800A6D84 000A3CE4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D88 000A3CE8 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR26CScriptDebugCameraWaypoint" +"Visit__28TCastToPtr<14CScriptTrigger>FR26CScriptDebugCameraWaypoint": +/* 800A6D8C 000A3CEC 38 00 00 00 */ li r0, 0 +/* 800A6D90 000A3CF0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6D94 000A3CF4 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptCoverPoint" +"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptCoverPoint": +/* 800A6D98 000A3CF8 38 00 00 00 */ li r0, 0 +/* 800A6D9C 000A3CFC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6DA0 000A3D00 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR21CScriptCameraWaypoint" +"Visit__28TCastToPtr<14CScriptTrigger>FR21CScriptCameraWaypoint": +/* 800A6DA4 000A3D04 38 00 00 00 */ li r0, 0 +/* 800A6DA8 000A3D08 90 03 00 04 */ stw r0, 4(r3) +/* 800A6DAC 000A3D0C 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR24CScriptCameraPitchVolume" +"Visit__28TCastToPtr<14CScriptTrigger>FR24CScriptCameraPitchVolume": +/* 800A6DB0 000A3D10 38 00 00 00 */ li r0, 0 +/* 800A6DB4 000A3D14 90 03 00 04 */ stw r0, 4(r3) +/* 800A6DB8 000A3D18 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptCameraHint" +"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptCameraHint": +/* 800A6DBC 000A3D1C 38 00 00 00 */ li r0, 0 +/* 800A6DC0 000A3D20 90 03 00 04 */ stw r0, 4(r3) +/* 800A6DC4 000A3D24 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR18CScriptAiJumpPoint" +"Visit__28TCastToPtr<14CScriptTrigger>FR18CScriptAiJumpPoint": +/* 800A6DC8 000A3D28 38 00 00 00 */ li r0, 0 +/* 800A6DCC 000A3D2C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6DD0 000A3D30 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptActorKeyframe" +"Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptActorKeyframe": +/* 800A6DD4 000A3D34 38 00 00 00 */ li r0, 0 +/* 800A6DD8 000A3D38 90 03 00 04 */ stw r0, 4(r3) +/* 800A6DDC 000A3D3C 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptActor" +"Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptActor": +/* 800A6DE0 000A3D40 38 00 00 00 */ li r0, 0 +/* 800A6DE4 000A3D44 90 03 00 04 */ stw r0, 4(r3) +/* 800A6DE8 000A3D48 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR9CRepulsor" +"Visit__28TCastToPtr<14CScriptTrigger>FR9CRepulsor": +/* 800A6DEC 000A3D4C 38 00 00 00 */ li r0, 0 +/* 800A6DF0 000A3D50 90 03 00 04 */ stw r0, 4(r3) +/* 800A6DF4 000A3D54 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR7CPlayer" +"Visit__28TCastToPtr<14CScriptTrigger>FR7CPlayer": +/* 800A6DF8 000A3D58 38 00 00 00 */ li r0, 0 +/* 800A6DFC 000A3D5C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E00 000A3D60 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR13CPhysicsActor" +"Visit__28TCastToPtr<14CScriptTrigger>FR13CPhysicsActor": +/* 800A6E04 000A3D64 38 00 00 00 */ li r0, 0 +/* 800A6E08 000A3D68 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E0C 000A3D6C 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR3CAi" +"Visit__28TCastToPtr<14CScriptTrigger>FR3CAi": +/* 800A6E10 000A3D70 38 00 00 00 */ li r0, 0 +/* 800A6E14 000A3D74 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E18 000A3D78 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CPathCamera" +"Visit__28TCastToPtr<14CScriptTrigger>FR11CPathCamera": +/* 800A6E1C 000A3D7C 38 00 00 00 */ li r0, 0 +/* 800A6E20 000A3D80 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E24 000A3D84 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR18CMetroidPrimeRelay" +"Visit__28TCastToPtr<14CScriptTrigger>FR18CMetroidPrimeRelay": +/* 800A6E28 000A3D88 38 00 00 00 */ li r0, 0 +/* 800A6E2C 000A3D8C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E30 000A3D90 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR19CHUDBillboardEffect" +"Visit__28TCastToPtr<14CScriptTrigger>FR19CHUDBillboardEffect": +/* 800A6E34 000A3D94 38 00 00 00 */ li r0, 0 +/* 800A6E38 000A3D98 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E3C 000A3D9C 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CGameProjectile" +"Visit__28TCastToPtr<14CScriptTrigger>FR15CGameProjectile": +/* 800A6E40 000A3DA0 38 00 00 00 */ li r0, 0 +/* 800A6E44 000A3DA4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E48 000A3DA8 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR10CGameLight" +"Visit__28TCastToPtr<14CScriptTrigger>FR10CGameLight": +/* 800A6E4C 000A3DAC 38 00 00 00 */ li r0, 0 +/* 800A6E50 000A3DB0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E54 000A3DB4 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CGameCamera" +"Visit__28TCastToPtr<14CScriptTrigger>FR11CGameCamera": +/* 800A6E58 000A3DB8 38 00 00 00 */ li r0, 0 +/* 800A6E5C 000A3DBC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E60 000A3DC0 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR10CFishCloud" +"Visit__28TCastToPtr<14CScriptTrigger>FR10CFishCloud": +/* 800A6E64 000A3DC4 38 00 00 00 */ li r0, 0 +/* 800A6E68 000A3DC8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E6C 000A3DCC 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR18CFirstPersonCamera" +"Visit__28TCastToPtr<14CScriptTrigger>FR18CFirstPersonCamera": +/* 800A6E70 000A3DD0 38 00 00 00 */ li r0, 0 +/* 800A6E74 000A3DD4 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E78 000A3DD8 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR10CExplosion" +"Visit__28TCastToPtr<14CScriptTrigger>FR10CExplosion": +/* 800A6E7C 000A3DDC 38 00 00 00 */ li r0, 0 +/* 800A6E80 000A3DE0 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E84 000A3DE4 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR7CEntity" +"Visit__28TCastToPtr<14CScriptTrigger>FR7CEntity": +/* 800A6E88 000A3DE8 38 00 00 00 */ li r0, 0 +/* 800A6E8C 000A3DEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E90 000A3DF0 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CEnergyProjectile" +"Visit__28TCastToPtr<14CScriptTrigger>FR17CEnergyProjectile": +/* 800A6E94 000A3DF4 38 00 00 00 */ li r0, 0 +/* 800A6E98 000A3DF8 90 03 00 04 */ stw r0, 4(r3) +/* 800A6E9C 000A3DFC 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR16CDestroyableRock" +"Visit__28TCastToPtr<14CScriptTrigger>FR16CDestroyableRock": +/* 800A6EA0 000A3E00 38 00 00 00 */ li r0, 0 +/* 800A6EA4 000A3E04 90 03 00 04 */ stw r0, 4(r3) +/* 800A6EA8 000A3E08 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CCollisionActor" +"Visit__28TCastToPtr<14CScriptTrigger>FR15CCollisionActor": +/* 800A6EAC 000A3E0C 38 00 00 00 */ li r0, 0 +/* 800A6EB0 000A3E10 90 03 00 04 */ stw r0, 4(r3) +/* 800A6EB4 000A3E14 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR16CCinematicCamera" +"Visit__28TCastToPtr<14CScriptTrigger>FR16CCinematicCamera": +/* 800A6EB8 000A3E18 38 00 00 00 */ li r0, 0 +/* 800A6EBC 000A3E1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6EC0 000A3E20 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR5CBomb" +"Visit__28TCastToPtr<14CScriptTrigger>FR5CBomb": +/* 800A6EC4 000A3E24 38 00 00 00 */ li r0, 0 +/* 800A6EC8 000A3E28 90 03 00 04 */ stw r0, 4(r3) +/* 800A6ECC 000A3E2C 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CBallCamera" +"Visit__28TCastToPtr<14CScriptTrigger>FR11CBallCamera": +/* 800A6ED0 000A3E30 38 00 00 00 */ li r0, 0 +/* 800A6ED4 000A3E34 90 03 00 04 */ stw r0, 4(r3) +/* 800A6ED8 000A3E38 4E 80 00 20 */ blr + +.global "Visit__28TCastToPtr<14CScriptTrigger>FR6CActor" +"Visit__28TCastToPtr<14CScriptTrigger>FR6CActor": +/* 800A6EDC 000A3E3C 38 00 00 00 */ li r0, 0 +/* 800A6EE0 000A3E40 90 03 00 04 */ stw r0, 4(r3) +/* 800A6EE4 000A3E44 4E 80 00 20 */ blr + +.global "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" +"__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity": +/* 800A6EE8 000A3E48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A6EEC 000A3E4C 7C 08 02 A6 */ mflr r0 +/* 800A6EF0 000A3E50 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A6EF4 000A3E54 3C A0 80 3E */ lis r5, lbl_803DE8DC@ha +/* 800A6EF8 000A3E58 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A6EFC 000A3E5C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A6F00 000A3E60 28 04 00 00 */ cmplwi r4, 0 +/* 800A6F04 000A3E64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A6F08 000A3E68 7C 7F 1B 78 */ mr r31, r3 +/* 800A6F0C 000A3E6C 38 65 E8 DC */ addi r3, r5, lbl_803DE8DC@l +/* 800A6F10 000A3E70 90 1F 00 00 */ stw r0, 0(r31) +/* 800A6F14 000A3E74 38 00 00 00 */ li r0, 0 +/* 800A6F18 000A3E78 90 7F 00 00 */ stw r3, 0(r31) +/* 800A6F1C 000A3E7C 90 1F 00 04 */ stw r0, 4(r31) +/* 800A6F20 000A3E80 41 82 00 1C */ beq lbl_800A6F3C +/* 800A6F24 000A3E84 7C 83 23 78 */ mr r3, r4 +/* 800A6F28 000A3E88 7F E4 FB 78 */ mr r4, r31 +/* 800A6F2C 000A3E8C 81 83 00 00 */ lwz r12, 0(r3) +/* 800A6F30 000A3E90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A6F34 000A3E94 7D 89 03 A6 */ mtctr r12 +/* 800A6F38 000A3E98 4E 80 04 21 */ bctrl +lbl_800A6F3C: +/* 800A6F3C 000A3E9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A6F40 000A3EA0 7F E3 FB 78 */ mr r3, r31 +/* 800A6F44 000A3EA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A6F48 000A3EA8 7C 08 03 A6 */ mtlr r0 +/* 800A6F4C 000A3EAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A6F50 000A3EB0 4E 80 00 20 */ blr + +.global "__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity" +"__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity": +/* 800A6F54 000A3EB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A6F58 000A3EB8 7C 08 02 A6 */ mflr r0 +/* 800A6F5C 000A3EBC 3C A0 80 3E */ lis r5, lbl_803DE8DC@ha +/* 800A6F60 000A3EC0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A6F64 000A3EC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A6F68 000A3EC8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A6F6C 000A3ECC 38 A5 E8 DC */ addi r5, r5, lbl_803DE8DC@l +/* 800A6F70 000A3ED0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A6F74 000A3ED4 7C 7F 1B 78 */ mr r31, r3 +/* 800A6F78 000A3ED8 90 03 00 00 */ stw r0, 0(r3) +/* 800A6F7C 000A3EDC 7C 83 23 78 */ mr r3, r4 +/* 800A6F80 000A3EE0 38 00 00 00 */ li r0, 0 +/* 800A6F84 000A3EE4 7F E4 FB 78 */ mr r4, r31 +/* 800A6F88 000A3EE8 90 BF 00 00 */ stw r5, 0(r31) +/* 800A6F8C 000A3EEC 90 1F 00 04 */ stw r0, 4(r31) +/* 800A6F90 000A3EF0 81 83 00 00 */ lwz r12, 0(r3) +/* 800A6F94 000A3EF4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A6F98 000A3EF8 7D 89 03 A6 */ mtctr r12 +/* 800A6F9C 000A3EFC 4E 80 04 21 */ bctrl +/* 800A6FA0 000A3F00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A6FA4 000A3F04 7F E3 FB 78 */ mr r3, r31 +/* 800A6FA8 000A3F08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A6FAC 000A3F0C 7C 08 03 A6 */ mtlr r0 +/* 800A6FB0 000A3F10 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A6FB4 000A3F14 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR7CWeapon" +"Visit__26TCastToPtr<12CScriptTimer>FR7CWeapon": +/* 800A6FB8 000A3F18 38 00 00 00 */ li r0, 0 +/* 800A6FBC 000A3F1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6FC0 000A3F20 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR17CWallCrawlerSwarm" +"Visit__26TCastToPtr<12CScriptTimer>FR17CWallCrawlerSwarm": +/* 800A6FC4 000A3F24 38 00 00 00 */ li r0, 0 +/* 800A6FC8 000A3F28 90 03 00 04 */ stw r0, 4(r3) +/* 800A6FCC 000A3F2C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR20CScriptSpindleCamera" +"Visit__26TCastToPtr<12CScriptTimer>FR20CScriptSpindleCamera": +/* 800A6FD0 000A3F30 38 00 00 00 */ li r0, 0 +/* 800A6FD4 000A3F34 90 03 00 04 */ stw r0, 4(r3) +/* 800A6FD8 000A3F38 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR15CSnakeWeedSwarm" +"Visit__26TCastToPtr<12CScriptTimer>FR15CSnakeWeedSwarm": +/* 800A6FDC 000A3F3C 38 00 00 00 */ li r0, 0 +/* 800A6FE0 000A3F40 90 03 00 04 */ stw r0, 4(r3) +/* 800A6FE4 000A3F44 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR15CScriptWaypoint" +"Visit__26TCastToPtr<12CScriptTimer>FR15CScriptWaypoint": +/* 800A6FE8 000A3F48 38 00 00 00 */ li r0, 0 +/* 800A6FEC 000A3F4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A6FF0 000A3F50 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR12CScriptWater" +"Visit__26TCastToPtr<12CScriptTimer>FR12CScriptWater": +/* 800A6FF4 000A3F54 38 00 00 00 */ li r0, 0 +/* 800A6FF8 000A3F58 90 03 00 04 */ stw r0, 4(r3) +/* 800A6FFC 000A3F5C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptVisorFlare" +"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptVisorFlare": +/* 800A7000 000A3F60 38 00 00 00 */ li r0, 0 +/* 800A7004 000A3F64 90 03 00 04 */ stw r0, 4(r3) +/* 800A7008 000A3F68 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR14CScriptTrigger" +"Visit__26TCastToPtr<12CScriptTimer>FR14CScriptTrigger": +/* 800A700C 000A3F6C 38 00 00 00 */ li r0, 0 +/* 800A7010 000A3F70 90 03 00 04 */ stw r0, 4(r3) +/* 800A7014 000A3F74 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR12CScriptTimer" +"Visit__26TCastToPtr<12CScriptTimer>FR12CScriptTimer": +/* 800A7018 000A3F78 90 83 00 04 */ stw r4, 4(r3) +/* 800A701C 000A3F7C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR10CTeamAiMgr" +"Visit__26TCastToPtr<12CScriptTimer>FR10CTeamAiMgr": +/* 800A7020 000A3F80 38 00 00 00 */ li r0, 0 +/* 800A7024 000A3F84 90 03 00 04 */ stw r0, 4(r3) +/* 800A7028 000A3F88 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR21CScriptTargetingPoint" +"Visit__26TCastToPtr<12CScriptTimer>FR21CScriptTargetingPoint": +/* 800A702C 000A3F8C 38 00 00 00 */ li r0, 0 +/* 800A7030 000A3F90 90 03 00 04 */ stw r0, 4(r3) +/* 800A7034 000A3F94 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR25CScriptSpiderBallWaypoint" +"Visit__26TCastToPtr<12CScriptTimer>FR25CScriptSpiderBallWaypoint": +/* 800A7038 000A3F98 38 00 00 00 */ li r0, 0 +/* 800A703C 000A3F9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7040 000A3FA0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR34CScriptSpiderBallAttractionSurface" +"Visit__26TCastToPtr<12CScriptTimer>FR34CScriptSpiderBallAttractionSurface": +/* 800A7044 000A3FA4 38 00 00 00 */ li r0, 0 +/* 800A7048 000A3FA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A704C 000A3FAC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR22CScriptSpecialFunction" +"Visit__26TCastToPtr<12CScriptTimer>FR22CScriptSpecialFunction": +/* 800A7050 000A3FB0 38 00 00 00 */ li r0, 0 +/* 800A7054 000A3FB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7058 000A3FB8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptSpawnPoint" +"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptSpawnPoint": +/* 800A705C 000A3FBC 38 00 00 00 */ li r0, 0 +/* 800A7060 000A3FC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7064 000A3FC4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR12CScriptSound" +"Visit__26TCastToPtr<12CScriptTimer>FR12CScriptSound": +/* 800A7068 000A3FC8 38 00 00 00 */ li r0, 0 +/* 800A706C 000A3FCC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7070 000A3FD0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR20CScriptRoomAcoustics" +"Visit__26TCastToPtr<12CScriptTimer>FR20CScriptRoomAcoustics": +/* 800A7074 000A3FD4 38 00 00 00 */ li r0, 0 +/* 800A7078 000A3FD8 90 03 00 04 */ stw r0, 4(r3) +/* 800A707C 000A3FDC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR22CScriptPointOfinterest" +"Visit__26TCastToPtr<12CScriptTimer>FR22CScriptPointOfinterest": +/* 800A7080 000A3FE0 38 00 00 00 */ li r0, 0 +/* 800A7084 000A3FE4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7088 000A3FE8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptPlayerHint" +"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptPlayerHint": +/* 800A708C 000A3FEC 38 00 00 00 */ li r0, 0 +/* 800A7090 000A3FF0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7094 000A3FF4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR15CScriptPlatform" +"Visit__26TCastToPtr<12CScriptTimer>FR15CScriptPlatform": +/* 800A7098 000A3FF8 38 00 00 00 */ li r0, 0 +/* 800A709C 000A3FFC 90 03 00 04 */ stw r0, 4(r3) +/* 800A70A0 000A4000 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR13CScriptPickup" +"Visit__26TCastToPtr<12CScriptTimer>FR13CScriptPickup": +/* 800A70A4 000A4004 38 00 00 00 */ li r0, 0 +/* 800A70A8 000A4008 90 03 00 04 */ stw r0, 4(r3) +/* 800A70AC 000A400C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR15CScriptMazeNode" +"Visit__26TCastToPtr<12CScriptTimer>FR15CScriptMazeNode": +/* 800A70B0 000A4010 38 00 00 00 */ li r0, 0 +/* 800A70B4 000A4014 90 03 00 04 */ stw r0, 4(r3) +/* 800A70B8 000A4018 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR16CScriptGunTurret" +"Visit__26TCastToPtr<12CScriptTimer>FR16CScriptGunTurret": +/* 800A70BC 000A401C 38 00 00 00 */ li r0, 0 +/* 800A70C0 000A4020 90 03 00 04 */ stw r0, 4(r3) +/* 800A70C4 000A4024 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR19CScriptGrapplePoint" +"Visit__26TCastToPtr<12CScriptTimer>FR19CScriptGrapplePoint": +/* 800A70C8 000A4028 38 00 00 00 */ li r0, 0 +/* 800A70CC 000A402C 90 03 00 04 */ stw r0, 4(r3) +/* 800A70D0 000A4030 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR13CScriptEffect" +"Visit__26TCastToPtr<12CScriptTimer>FR13CScriptEffect": +/* 800A70D4 000A4034 38 00 00 00 */ li r0, 0 +/* 800A70D8 000A4038 90 03 00 04 */ stw r0, 4(r3) +/* 800A70DC 000A403C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR11CScriptDoor" +"Visit__26TCastToPtr<12CScriptTimer>FR11CScriptDoor": +/* 800A70E0 000A4040 38 00 00 00 */ li r0, 0 +/* 800A70E4 000A4044 90 03 00 04 */ stw r0, 4(r3) +/* 800A70E8 000A4048 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR11CScriptDock" +"Visit__26TCastToPtr<12CScriptTimer>FR11CScriptDock": +/* 800A70EC 000A404C 38 00 00 00 */ li r0, 0 +/* 800A70F0 000A4050 90 03 00 04 */ stw r0, 4(r3) +/* 800A70F4 000A4054 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR18CScriptDistanceFog" +"Visit__26TCastToPtr<12CScriptTimer>FR18CScriptDistanceFog": +/* 800A70F8 000A4058 38 00 00 00 */ li r0, 0 +/* 800A70FC 000A405C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7100 000A4060 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR26CScriptDebugCameraWaypoint" +"Visit__26TCastToPtr<12CScriptTimer>FR26CScriptDebugCameraWaypoint": +/* 800A7104 000A4064 38 00 00 00 */ li r0, 0 +/* 800A7108 000A4068 90 03 00 04 */ stw r0, 4(r3) +/* 800A710C 000A406C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptCoverPoint" +"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptCoverPoint": +/* 800A7110 000A4070 38 00 00 00 */ li r0, 0 +/* 800A7114 000A4074 90 03 00 04 */ stw r0, 4(r3) +/* 800A7118 000A4078 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR21CScriptCameraWaypoint" +"Visit__26TCastToPtr<12CScriptTimer>FR21CScriptCameraWaypoint": +/* 800A711C 000A407C 38 00 00 00 */ li r0, 0 +/* 800A7120 000A4080 90 03 00 04 */ stw r0, 4(r3) +/* 800A7124 000A4084 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR24CScriptCameraPitchVolume" +"Visit__26TCastToPtr<12CScriptTimer>FR24CScriptCameraPitchVolume": +/* 800A7128 000A4088 38 00 00 00 */ li r0, 0 +/* 800A712C 000A408C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7130 000A4090 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptCameraHint" +"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptCameraHint": +/* 800A7134 000A4094 38 00 00 00 */ li r0, 0 +/* 800A7138 000A4098 90 03 00 04 */ stw r0, 4(r3) +/* 800A713C 000A409C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR18CScriptAiJumpPoint" +"Visit__26TCastToPtr<12CScriptTimer>FR18CScriptAiJumpPoint": +/* 800A7140 000A40A0 38 00 00 00 */ li r0, 0 +/* 800A7144 000A40A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7148 000A40A8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR20CScriptActorKeyframe" +"Visit__26TCastToPtr<12CScriptTimer>FR20CScriptActorKeyframe": +/* 800A714C 000A40AC 38 00 00 00 */ li r0, 0 +/* 800A7150 000A40B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7154 000A40B4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR12CScriptActor" +"Visit__26TCastToPtr<12CScriptTimer>FR12CScriptActor": +/* 800A7158 000A40B8 38 00 00 00 */ li r0, 0 +/* 800A715C 000A40BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7160 000A40C0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR9CRepulsor" +"Visit__26TCastToPtr<12CScriptTimer>FR9CRepulsor": +/* 800A7164 000A40C4 38 00 00 00 */ li r0, 0 +/* 800A7168 000A40C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A716C 000A40CC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR7CPlayer" +"Visit__26TCastToPtr<12CScriptTimer>FR7CPlayer": +/* 800A7170 000A40D0 38 00 00 00 */ li r0, 0 +/* 800A7174 000A40D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7178 000A40D8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR13CPhysicsActor" +"Visit__26TCastToPtr<12CScriptTimer>FR13CPhysicsActor": +/* 800A717C 000A40DC 38 00 00 00 */ li r0, 0 +/* 800A7180 000A40E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7184 000A40E4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR3CAi" +"Visit__26TCastToPtr<12CScriptTimer>FR3CAi": +/* 800A7188 000A40E8 38 00 00 00 */ li r0, 0 +/* 800A718C 000A40EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7190 000A40F0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR11CPathCamera" +"Visit__26TCastToPtr<12CScriptTimer>FR11CPathCamera": +/* 800A7194 000A40F4 38 00 00 00 */ li r0, 0 +/* 800A7198 000A40F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A719C 000A40FC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR18CMetroidPrimeRelay" +"Visit__26TCastToPtr<12CScriptTimer>FR18CMetroidPrimeRelay": +/* 800A71A0 000A4100 38 00 00 00 */ li r0, 0 +/* 800A71A4 000A4104 90 03 00 04 */ stw r0, 4(r3) +/* 800A71A8 000A4108 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR19CHUDBillboardEffect" +"Visit__26TCastToPtr<12CScriptTimer>FR19CHUDBillboardEffect": +/* 800A71AC 000A410C 38 00 00 00 */ li r0, 0 +/* 800A71B0 000A4110 90 03 00 04 */ stw r0, 4(r3) +/* 800A71B4 000A4114 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR15CGameProjectile" +"Visit__26TCastToPtr<12CScriptTimer>FR15CGameProjectile": +/* 800A71B8 000A4118 38 00 00 00 */ li r0, 0 +/* 800A71BC 000A411C 90 03 00 04 */ stw r0, 4(r3) +/* 800A71C0 000A4120 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR10CGameLight" +"Visit__26TCastToPtr<12CScriptTimer>FR10CGameLight": +/* 800A71C4 000A4124 38 00 00 00 */ li r0, 0 +/* 800A71C8 000A4128 90 03 00 04 */ stw r0, 4(r3) +/* 800A71CC 000A412C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR11CGameCamera" +"Visit__26TCastToPtr<12CScriptTimer>FR11CGameCamera": +/* 800A71D0 000A4130 38 00 00 00 */ li r0, 0 +/* 800A71D4 000A4134 90 03 00 04 */ stw r0, 4(r3) +/* 800A71D8 000A4138 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR10CFishCloud" +"Visit__26TCastToPtr<12CScriptTimer>FR10CFishCloud": +/* 800A71DC 000A413C 38 00 00 00 */ li r0, 0 +/* 800A71E0 000A4140 90 03 00 04 */ stw r0, 4(r3) +/* 800A71E4 000A4144 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR18CFirstPersonCamera" +"Visit__26TCastToPtr<12CScriptTimer>FR18CFirstPersonCamera": +/* 800A71E8 000A4148 38 00 00 00 */ li r0, 0 +/* 800A71EC 000A414C 90 03 00 04 */ stw r0, 4(r3) +/* 800A71F0 000A4150 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR10CExplosion" +"Visit__26TCastToPtr<12CScriptTimer>FR10CExplosion": +/* 800A71F4 000A4154 38 00 00 00 */ li r0, 0 +/* 800A71F8 000A4158 90 03 00 04 */ stw r0, 4(r3) +/* 800A71FC 000A415C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR7CEntity" +"Visit__26TCastToPtr<12CScriptTimer>FR7CEntity": +/* 800A7200 000A4160 38 00 00 00 */ li r0, 0 +/* 800A7204 000A4164 90 03 00 04 */ stw r0, 4(r3) +/* 800A7208 000A4168 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR17CEnergyProjectile" +"Visit__26TCastToPtr<12CScriptTimer>FR17CEnergyProjectile": +/* 800A720C 000A416C 38 00 00 00 */ li r0, 0 +/* 800A7210 000A4170 90 03 00 04 */ stw r0, 4(r3) +/* 800A7214 000A4174 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR16CDestroyableRock" +"Visit__26TCastToPtr<12CScriptTimer>FR16CDestroyableRock": +/* 800A7218 000A4178 38 00 00 00 */ li r0, 0 +/* 800A721C 000A417C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7220 000A4180 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR15CCollisionActor" +"Visit__26TCastToPtr<12CScriptTimer>FR15CCollisionActor": +/* 800A7224 000A4184 38 00 00 00 */ li r0, 0 +/* 800A7228 000A4188 90 03 00 04 */ stw r0, 4(r3) +/* 800A722C 000A418C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR16CCinematicCamera" +"Visit__26TCastToPtr<12CScriptTimer>FR16CCinematicCamera": +/* 800A7230 000A4190 38 00 00 00 */ li r0, 0 +/* 800A7234 000A4194 90 03 00 04 */ stw r0, 4(r3) +/* 800A7238 000A4198 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR5CBomb" +"Visit__26TCastToPtr<12CScriptTimer>FR5CBomb": +/* 800A723C 000A419C 38 00 00 00 */ li r0, 0 +/* 800A7240 000A41A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7244 000A41A4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR11CBallCamera" +"Visit__26TCastToPtr<12CScriptTimer>FR11CBallCamera": +/* 800A7248 000A41A8 38 00 00 00 */ li r0, 0 +/* 800A724C 000A41AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7250 000A41B0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptTimer>FR6CActor" +"Visit__26TCastToPtr<12CScriptTimer>FR6CActor": +/* 800A7254 000A41B4 38 00 00 00 */ li r0, 0 +/* 800A7258 000A41B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A725C 000A41BC 4E 80 00 20 */ blr + +.global "__ct__26TCastToPtr<12CScriptTimer>FP7CEntity" +"__ct__26TCastToPtr<12CScriptTimer>FP7CEntity": +/* 800A7260 000A41C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A7264 000A41C4 7C 08 02 A6 */ mflr r0 +/* 800A7268 000A41C8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A726C 000A41CC 3C A0 80 3E */ lis r5, lbl_803DE7F0@ha +/* 800A7270 000A41D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A7274 000A41D4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A7278 000A41D8 28 04 00 00 */ cmplwi r4, 0 +/* 800A727C 000A41DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A7280 000A41E0 7C 7F 1B 78 */ mr r31, r3 +/* 800A7284 000A41E4 38 65 E7 F0 */ addi r3, r5, lbl_803DE7F0@l +/* 800A7288 000A41E8 90 1F 00 00 */ stw r0, 0(r31) +/* 800A728C 000A41EC 38 00 00 00 */ li r0, 0 +/* 800A7290 000A41F0 90 7F 00 00 */ stw r3, 0(r31) +/* 800A7294 000A41F4 90 1F 00 04 */ stw r0, 4(r31) +/* 800A7298 000A41F8 41 82 00 1C */ beq lbl_800A72B4 +/* 800A729C 000A41FC 7C 83 23 78 */ mr r3, r4 +/* 800A72A0 000A4200 7F E4 FB 78 */ mr r4, r31 +/* 800A72A4 000A4204 81 83 00 00 */ lwz r12, 0(r3) +/* 800A72A8 000A4208 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A72AC 000A420C 7D 89 03 A6 */ mtctr r12 +/* 800A72B0 000A4210 4E 80 04 21 */ bctrl +lbl_800A72B4: +/* 800A72B4 000A4214 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A72B8 000A4218 7F E3 FB 78 */ mr r3, r31 +/* 800A72BC 000A421C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A72C0 000A4220 7C 08 03 A6 */ mtlr r0 +/* 800A72C4 000A4224 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A72C8 000A4228 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR7CWeapon" +"Visit__24TCastToPtr<10CTeamAiMgr>FR7CWeapon": +/* 800A72CC 000A422C 38 00 00 00 */ li r0, 0 +/* 800A72D0 000A4230 90 03 00 04 */ stw r0, 4(r3) +/* 800A72D4 000A4234 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CWallCrawlerSwarm" +"Visit__24TCastToPtr<10CTeamAiMgr>FR17CWallCrawlerSwarm": +/* 800A72D8 000A4238 38 00 00 00 */ li r0, 0 +/* 800A72DC 000A423C 90 03 00 04 */ stw r0, 4(r3) +/* 800A72E0 000A4240 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptSpindleCamera" +"Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptSpindleCamera": +/* 800A72E4 000A4244 38 00 00 00 */ li r0, 0 +/* 800A72E8 000A4248 90 03 00 04 */ stw r0, 4(r3) +/* 800A72EC 000A424C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CSnakeWeedSwarm" +"Visit__24TCastToPtr<10CTeamAiMgr>FR15CSnakeWeedSwarm": +/* 800A72F0 000A4250 38 00 00 00 */ li r0, 0 +/* 800A72F4 000A4254 90 03 00 04 */ stw r0, 4(r3) +/* 800A72F8 000A4258 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptWaypoint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptWaypoint": +/* 800A72FC 000A425C 38 00 00 00 */ li r0, 0 +/* 800A7300 000A4260 90 03 00 04 */ stw r0, 4(r3) +/* 800A7304 000A4264 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptWater" +"Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptWater": +/* 800A7308 000A4268 38 00 00 00 */ li r0, 0 +/* 800A730C 000A426C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7310 000A4270 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptVisorFlare" +"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptVisorFlare": +/* 800A7314 000A4274 38 00 00 00 */ li r0, 0 +/* 800A7318 000A4278 90 03 00 04 */ stw r0, 4(r3) +/* 800A731C 000A427C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR14CScriptTrigger" +"Visit__24TCastToPtr<10CTeamAiMgr>FR14CScriptTrigger": +/* 800A7320 000A4280 38 00 00 00 */ li r0, 0 +/* 800A7324 000A4284 90 03 00 04 */ stw r0, 4(r3) +/* 800A7328 000A4288 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptTimer" +"Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptTimer": +/* 800A732C 000A428C 38 00 00 00 */ li r0, 0 +/* 800A7330 000A4290 90 03 00 04 */ stw r0, 4(r3) +/* 800A7334 000A4294 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR10CTeamAiMgr" +"Visit__24TCastToPtr<10CTeamAiMgr>FR10CTeamAiMgr": +/* 800A7338 000A4298 90 83 00 04 */ stw r4, 4(r3) +/* 800A733C 000A429C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR21CScriptTargetingPoint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR21CScriptTargetingPoint": +/* 800A7340 000A42A0 38 00 00 00 */ li r0, 0 +/* 800A7344 000A42A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7348 000A42A8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR25CScriptSpiderBallWaypoint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR25CScriptSpiderBallWaypoint": +/* 800A734C 000A42AC 38 00 00 00 */ li r0, 0 +/* 800A7350 000A42B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7354 000A42B4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR34CScriptSpiderBallAttractionSurface" +"Visit__24TCastToPtr<10CTeamAiMgr>FR34CScriptSpiderBallAttractionSurface": +/* 800A7358 000A42B8 38 00 00 00 */ li r0, 0 +/* 800A735C 000A42BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7360 000A42C0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR22CScriptSpecialFunction" +"Visit__24TCastToPtr<10CTeamAiMgr>FR22CScriptSpecialFunction": +/* 800A7364 000A42C4 38 00 00 00 */ li r0, 0 +/* 800A7368 000A42C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A736C 000A42CC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptSpawnPoint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptSpawnPoint": +/* 800A7370 000A42D0 38 00 00 00 */ li r0, 0 +/* 800A7374 000A42D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7378 000A42D8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptSound" +"Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptSound": +/* 800A737C 000A42DC 38 00 00 00 */ li r0, 0 +/* 800A7380 000A42E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7384 000A42E4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptRoomAcoustics" +"Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptRoomAcoustics": +/* 800A7388 000A42E8 38 00 00 00 */ li r0, 0 +/* 800A738C 000A42EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7390 000A42F0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR22CScriptPointOfinterest" +"Visit__24TCastToPtr<10CTeamAiMgr>FR22CScriptPointOfinterest": +/* 800A7394 000A42F4 38 00 00 00 */ li r0, 0 +/* 800A7398 000A42F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A739C 000A42FC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptPlayerHint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptPlayerHint": +/* 800A73A0 000A4300 38 00 00 00 */ li r0, 0 +/* 800A73A4 000A4304 90 03 00 04 */ stw r0, 4(r3) +/* 800A73A8 000A4308 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptPlatform" +"Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptPlatform": +/* 800A73AC 000A430C 38 00 00 00 */ li r0, 0 +/* 800A73B0 000A4310 90 03 00 04 */ stw r0, 4(r3) +/* 800A73B4 000A4314 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR13CScriptPickup" +"Visit__24TCastToPtr<10CTeamAiMgr>FR13CScriptPickup": +/* 800A73B8 000A4318 38 00 00 00 */ li r0, 0 +/* 800A73BC 000A431C 90 03 00 04 */ stw r0, 4(r3) +/* 800A73C0 000A4320 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptMazeNode" +"Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptMazeNode": +/* 800A73C4 000A4324 38 00 00 00 */ li r0, 0 +/* 800A73C8 000A4328 90 03 00 04 */ stw r0, 4(r3) +/* 800A73CC 000A432C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR16CScriptGunTurret" +"Visit__24TCastToPtr<10CTeamAiMgr>FR16CScriptGunTurret": +/* 800A73D0 000A4330 38 00 00 00 */ li r0, 0 +/* 800A73D4 000A4334 90 03 00 04 */ stw r0, 4(r3) +/* 800A73D8 000A4338 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR19CScriptGrapplePoint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR19CScriptGrapplePoint": +/* 800A73DC 000A433C 38 00 00 00 */ li r0, 0 +/* 800A73E0 000A4340 90 03 00 04 */ stw r0, 4(r3) +/* 800A73E4 000A4344 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR13CScriptEffect" +"Visit__24TCastToPtr<10CTeamAiMgr>FR13CScriptEffect": +/* 800A73E8 000A4348 38 00 00 00 */ li r0, 0 +/* 800A73EC 000A434C 90 03 00 04 */ stw r0, 4(r3) +/* 800A73F0 000A4350 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CScriptDoor" +"Visit__24TCastToPtr<10CTeamAiMgr>FR11CScriptDoor": +/* 800A73F4 000A4354 38 00 00 00 */ li r0, 0 +/* 800A73F8 000A4358 90 03 00 04 */ stw r0, 4(r3) +/* 800A73FC 000A435C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CScriptDock" +"Visit__24TCastToPtr<10CTeamAiMgr>FR11CScriptDock": +/* 800A7400 000A4360 38 00 00 00 */ li r0, 0 +/* 800A7404 000A4364 90 03 00 04 */ stw r0, 4(r3) +/* 800A7408 000A4368 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR18CScriptDistanceFog" +"Visit__24TCastToPtr<10CTeamAiMgr>FR18CScriptDistanceFog": +/* 800A740C 000A436C 38 00 00 00 */ li r0, 0 +/* 800A7410 000A4370 90 03 00 04 */ stw r0, 4(r3) +/* 800A7414 000A4374 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR26CScriptDebugCameraWaypoint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR26CScriptDebugCameraWaypoint": +/* 800A7418 000A4378 38 00 00 00 */ li r0, 0 +/* 800A741C 000A437C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7420 000A4380 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptCoverPoint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptCoverPoint": +/* 800A7424 000A4384 38 00 00 00 */ li r0, 0 +/* 800A7428 000A4388 90 03 00 04 */ stw r0, 4(r3) +/* 800A742C 000A438C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR21CScriptCameraWaypoint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR21CScriptCameraWaypoint": +/* 800A7430 000A4390 38 00 00 00 */ li r0, 0 +/* 800A7434 000A4394 90 03 00 04 */ stw r0, 4(r3) +/* 800A7438 000A4398 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR24CScriptCameraPitchVolume" +"Visit__24TCastToPtr<10CTeamAiMgr>FR24CScriptCameraPitchVolume": +/* 800A743C 000A439C 38 00 00 00 */ li r0, 0 +/* 800A7440 000A43A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7444 000A43A4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptCameraHint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptCameraHint": +/* 800A7448 000A43A8 38 00 00 00 */ li r0, 0 +/* 800A744C 000A43AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7450 000A43B0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR18CScriptAiJumpPoint" +"Visit__24TCastToPtr<10CTeamAiMgr>FR18CScriptAiJumpPoint": +/* 800A7454 000A43B4 38 00 00 00 */ li r0, 0 +/* 800A7458 000A43B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A745C 000A43BC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptActorKeyframe" +"Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptActorKeyframe": +/* 800A7460 000A43C0 38 00 00 00 */ li r0, 0 +/* 800A7464 000A43C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7468 000A43C8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptActor" +"Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptActor": +/* 800A746C 000A43CC 38 00 00 00 */ li r0, 0 +/* 800A7470 000A43D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7474 000A43D4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR9CRepulsor" +"Visit__24TCastToPtr<10CTeamAiMgr>FR9CRepulsor": +/* 800A7478 000A43D8 38 00 00 00 */ li r0, 0 +/* 800A747C 000A43DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7480 000A43E0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR7CPlayer" +"Visit__24TCastToPtr<10CTeamAiMgr>FR7CPlayer": +/* 800A7484 000A43E4 38 00 00 00 */ li r0, 0 +/* 800A7488 000A43E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A748C 000A43EC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR13CPhysicsActor" +"Visit__24TCastToPtr<10CTeamAiMgr>FR13CPhysicsActor": +/* 800A7490 000A43F0 38 00 00 00 */ li r0, 0 +/* 800A7494 000A43F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7498 000A43F8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR3CAi" +"Visit__24TCastToPtr<10CTeamAiMgr>FR3CAi": +/* 800A749C 000A43FC 38 00 00 00 */ li r0, 0 +/* 800A74A0 000A4400 90 03 00 04 */ stw r0, 4(r3) +/* 800A74A4 000A4404 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CPathCamera" +"Visit__24TCastToPtr<10CTeamAiMgr>FR11CPathCamera": +/* 800A74A8 000A4408 38 00 00 00 */ li r0, 0 +/* 800A74AC 000A440C 90 03 00 04 */ stw r0, 4(r3) +/* 800A74B0 000A4410 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR18CMetroidPrimeRelay" +"Visit__24TCastToPtr<10CTeamAiMgr>FR18CMetroidPrimeRelay": +/* 800A74B4 000A4414 38 00 00 00 */ li r0, 0 +/* 800A74B8 000A4418 90 03 00 04 */ stw r0, 4(r3) +/* 800A74BC 000A441C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR19CHUDBillboardEffect" +"Visit__24TCastToPtr<10CTeamAiMgr>FR19CHUDBillboardEffect": +/* 800A74C0 000A4420 38 00 00 00 */ li r0, 0 +/* 800A74C4 000A4424 90 03 00 04 */ stw r0, 4(r3) +/* 800A74C8 000A4428 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CGameProjectile" +"Visit__24TCastToPtr<10CTeamAiMgr>FR15CGameProjectile": +/* 800A74CC 000A442C 38 00 00 00 */ li r0, 0 +/* 800A74D0 000A4430 90 03 00 04 */ stw r0, 4(r3) +/* 800A74D4 000A4434 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR10CGameLight" +"Visit__24TCastToPtr<10CTeamAiMgr>FR10CGameLight": +/* 800A74D8 000A4438 38 00 00 00 */ li r0, 0 +/* 800A74DC 000A443C 90 03 00 04 */ stw r0, 4(r3) +/* 800A74E0 000A4440 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CGameCamera" +"Visit__24TCastToPtr<10CTeamAiMgr>FR11CGameCamera": +/* 800A74E4 000A4444 38 00 00 00 */ li r0, 0 +/* 800A74E8 000A4448 90 03 00 04 */ stw r0, 4(r3) +/* 800A74EC 000A444C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR10CFishCloud" +"Visit__24TCastToPtr<10CTeamAiMgr>FR10CFishCloud": +/* 800A74F0 000A4450 38 00 00 00 */ li r0, 0 +/* 800A74F4 000A4454 90 03 00 04 */ stw r0, 4(r3) +/* 800A74F8 000A4458 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR18CFirstPersonCamera" +"Visit__24TCastToPtr<10CTeamAiMgr>FR18CFirstPersonCamera": +/* 800A74FC 000A445C 38 00 00 00 */ li r0, 0 +/* 800A7500 000A4460 90 03 00 04 */ stw r0, 4(r3) +/* 800A7504 000A4464 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR10CExplosion" +"Visit__24TCastToPtr<10CTeamAiMgr>FR10CExplosion": +/* 800A7508 000A4468 38 00 00 00 */ li r0, 0 +/* 800A750C 000A446C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7510 000A4470 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR7CEntity" +"Visit__24TCastToPtr<10CTeamAiMgr>FR7CEntity": +/* 800A7514 000A4474 38 00 00 00 */ li r0, 0 +/* 800A7518 000A4478 90 03 00 04 */ stw r0, 4(r3) +/* 800A751C 000A447C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CEnergyProjectile" +"Visit__24TCastToPtr<10CTeamAiMgr>FR17CEnergyProjectile": +/* 800A7520 000A4480 38 00 00 00 */ li r0, 0 +/* 800A7524 000A4484 90 03 00 04 */ stw r0, 4(r3) +/* 800A7528 000A4488 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR16CDestroyableRock" +"Visit__24TCastToPtr<10CTeamAiMgr>FR16CDestroyableRock": +/* 800A752C 000A448C 38 00 00 00 */ li r0, 0 +/* 800A7530 000A4490 90 03 00 04 */ stw r0, 4(r3) +/* 800A7534 000A4494 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CCollisionActor" +"Visit__24TCastToPtr<10CTeamAiMgr>FR15CCollisionActor": +/* 800A7538 000A4498 38 00 00 00 */ li r0, 0 +/* 800A753C 000A449C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7540 000A44A0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR16CCinematicCamera" +"Visit__24TCastToPtr<10CTeamAiMgr>FR16CCinematicCamera": +/* 800A7544 000A44A4 38 00 00 00 */ li r0, 0 +/* 800A7548 000A44A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A754C 000A44AC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR5CBomb" +"Visit__24TCastToPtr<10CTeamAiMgr>FR5CBomb": +/* 800A7550 000A44B0 38 00 00 00 */ li r0, 0 +/* 800A7554 000A44B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7558 000A44B8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CBallCamera" +"Visit__24TCastToPtr<10CTeamAiMgr>FR11CBallCamera": +/* 800A755C 000A44BC 38 00 00 00 */ li r0, 0 +/* 800A7560 000A44C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7564 000A44C4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CTeamAiMgr>FR6CActor" +"Visit__24TCastToPtr<10CTeamAiMgr>FR6CActor": +/* 800A7568 000A44C8 38 00 00 00 */ li r0, 0 +/* 800A756C 000A44CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7570 000A44D0 4E 80 00 20 */ blr + +.global "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +"__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity": +/* 800A7574 000A44D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A7578 000A44D8 7C 08 02 A6 */ mflr r0 +/* 800A757C 000A44DC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A7580 000A44E0 3C A0 80 3E */ lis r5, lbl_803DE704@ha +/* 800A7584 000A44E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A7588 000A44E8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A758C 000A44EC 28 04 00 00 */ cmplwi r4, 0 +/* 800A7590 000A44F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A7594 000A44F4 7C 7F 1B 78 */ mr r31, r3 +/* 800A7598 000A44F8 38 65 E7 04 */ addi r3, r5, lbl_803DE704@l +/* 800A759C 000A44FC 90 1F 00 00 */ stw r0, 0(r31) +/* 800A75A0 000A4500 38 00 00 00 */ li r0, 0 +/* 800A75A4 000A4504 90 7F 00 00 */ stw r3, 0(r31) +/* 800A75A8 000A4508 90 1F 00 04 */ stw r0, 4(r31) +/* 800A75AC 000A450C 41 82 00 1C */ beq lbl_800A75C8 +/* 800A75B0 000A4510 7C 83 23 78 */ mr r3, r4 +/* 800A75B4 000A4514 7F E4 FB 78 */ mr r4, r31 +/* 800A75B8 000A4518 81 83 00 00 */ lwz r12, 0(r3) +/* 800A75BC 000A451C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A75C0 000A4520 7D 89 03 A6 */ mtctr r12 +/* 800A75C4 000A4524 4E 80 04 21 */ bctrl +lbl_800A75C8: +/* 800A75C8 000A4528 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A75CC 000A452C 7F E3 FB 78 */ mr r3, r31 +/* 800A75D0 000A4530 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A75D4 000A4534 7C 08 03 A6 */ mtlr r0 +/* 800A75D8 000A4538 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A75DC 000A453C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CWeapon" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CWeapon": +/* 800A75E0 000A4540 38 00 00 00 */ li r0, 0 +/* 800A75E4 000A4544 90 03 00 04 */ stw r0, 4(r3) +/* 800A75E8 000A4548 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CWallCrawlerSwarm" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CWallCrawlerSwarm": +/* 800A75EC 000A454C 38 00 00 00 */ li r0, 0 +/* 800A75F0 000A4550 90 03 00 04 */ stw r0, 4(r3) +/* 800A75F4 000A4554 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptSpindleCamera" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptSpindleCamera": +/* 800A75F8 000A4558 38 00 00 00 */ li r0, 0 +/* 800A75FC 000A455C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7600 000A4560 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CSnakeWeedSwarm" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CSnakeWeedSwarm": +/* 800A7604 000A4564 38 00 00 00 */ li r0, 0 +/* 800A7608 000A4568 90 03 00 04 */ stw r0, 4(r3) +/* 800A760C 000A456C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptWaypoint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptWaypoint": +/* 800A7610 000A4570 38 00 00 00 */ li r0, 0 +/* 800A7614 000A4574 90 03 00 04 */ stw r0, 4(r3) +/* 800A7618 000A4578 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptWater" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptWater": +/* 800A761C 000A457C 38 00 00 00 */ li r0, 0 +/* 800A7620 000A4580 90 03 00 04 */ stw r0, 4(r3) +/* 800A7624 000A4584 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptVisorFlare" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptVisorFlare": +/* 800A7628 000A4588 38 00 00 00 */ li r0, 0 +/* 800A762C 000A458C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7630 000A4590 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR14CScriptTrigger" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR14CScriptTrigger": +/* 800A7634 000A4594 38 00 00 00 */ li r0, 0 +/* 800A7638 000A4598 90 03 00 04 */ stw r0, 4(r3) +/* 800A763C 000A459C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptTimer" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptTimer": +/* 800A7640 000A45A0 38 00 00 00 */ li r0, 0 +/* 800A7644 000A45A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7648 000A45A8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CTeamAiMgr" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CTeamAiMgr": +/* 800A764C 000A45AC 38 00 00 00 */ li r0, 0 +/* 800A7650 000A45B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7654 000A45B4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR21CScriptTargetingPoint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR21CScriptTargetingPoint": +/* 800A7658 000A45B8 90 83 00 04 */ stw r4, 4(r3) +/* 800A765C 000A45BC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR25CScriptSpiderBallWaypoint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR25CScriptSpiderBallWaypoint": +/* 800A7660 000A45C0 38 00 00 00 */ li r0, 0 +/* 800A7664 000A45C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7668 000A45C8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR34CScriptSpiderBallAttractionSurface" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR34CScriptSpiderBallAttractionSurface": +/* 800A766C 000A45CC 38 00 00 00 */ li r0, 0 +/* 800A7670 000A45D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7674 000A45D4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR22CScriptSpecialFunction" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR22CScriptSpecialFunction": +/* 800A7678 000A45D8 38 00 00 00 */ li r0, 0 +/* 800A767C 000A45DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7680 000A45E0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptSpawnPoint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptSpawnPoint": +/* 800A7684 000A45E4 38 00 00 00 */ li r0, 0 +/* 800A7688 000A45E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A768C 000A45EC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptSound" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptSound": +/* 800A7690 000A45F0 38 00 00 00 */ li r0, 0 +/* 800A7694 000A45F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7698 000A45F8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptRoomAcoustics" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptRoomAcoustics": +/* 800A769C 000A45FC 38 00 00 00 */ li r0, 0 +/* 800A76A0 000A4600 90 03 00 04 */ stw r0, 4(r3) +/* 800A76A4 000A4604 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR22CScriptPointOfInterest" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR22CScriptPointOfInterest": +/* 800A76A8 000A4608 38 00 00 00 */ li r0, 0 +/* 800A76AC 000A460C 90 03 00 04 */ stw r0, 4(r3) +/* 800A76B0 000A4610 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptPlayerHint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptPlayerHint": +/* 800A76B4 000A4614 38 00 00 00 */ li r0, 0 +/* 800A76B8 000A4618 90 03 00 04 */ stw r0, 4(r3) +/* 800A76BC 000A461C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptPlatform" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptPlatform": +/* 800A76C0 000A4620 38 00 00 00 */ li r0, 0 +/* 800A76C4 000A4624 90 03 00 04 */ stw r0, 4(r3) +/* 800A76C8 000A4628 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CScriptPickup" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CScriptPickup": +/* 800A76CC 000A462C 38 00 00 00 */ li r0, 0 +/* 800A76D0 000A4630 90 03 00 04 */ stw r0, 4(r3) +/* 800A76D4 000A4634 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptMazeNode" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptMazeNode": +/* 800A76D8 000A4638 38 00 00 00 */ li r0, 0 +/* 800A76DC 000A463C 90 03 00 04 */ stw r0, 4(r3) +/* 800A76E0 000A4640 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CScriptGunTurret" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CScriptGunTurret": +/* 800A76E4 000A4644 38 00 00 00 */ li r0, 0 +/* 800A76E8 000A4648 90 03 00 04 */ stw r0, 4(r3) +/* 800A76EC 000A464C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR19CScriptGrapplePoint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR19CScriptGrapplePoint": +/* 800A76F0 000A4650 38 00 00 00 */ li r0, 0 +/* 800A76F4 000A4654 90 03 00 04 */ stw r0, 4(r3) +/* 800A76F8 000A4658 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CScriptEffect" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CScriptEffect": +/* 800A76FC 000A465C 38 00 00 00 */ li r0, 0 +/* 800A7700 000A4660 90 03 00 04 */ stw r0, 4(r3) +/* 800A7704 000A4664 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CScriptDoor" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CScriptDoor": +/* 800A7708 000A4668 38 00 00 00 */ li r0, 0 +/* 800A770C 000A466C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7710 000A4670 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CScriptDock" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CScriptDock": +/* 800A7714 000A4674 38 00 00 00 */ li r0, 0 +/* 800A7718 000A4678 90 03 00 04 */ stw r0, 4(r3) +/* 800A771C 000A467C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CScriptDistanceFog" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CScriptDistanceFog": +/* 800A7720 000A4680 38 00 00 00 */ li r0, 0 +/* 800A7724 000A4684 90 03 00 04 */ stw r0, 4(r3) +/* 800A7728 000A4688 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR26CScriptDebugCameraWaypoint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR26CScriptDebugCameraWaypoint": +/* 800A772C 000A468C 38 00 00 00 */ li r0, 0 +/* 800A7730 000A4690 90 03 00 04 */ stw r0, 4(r3) +/* 800A7734 000A4694 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptCoverPoint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptCoverPoint": +/* 800A7738 000A4698 38 00 00 00 */ li r0, 0 +/* 800A773C 000A469C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7740 000A46A0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR21CScriptCameraWaypoint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR21CScriptCameraWaypoint": +/* 800A7744 000A46A4 38 00 00 00 */ li r0, 0 +/* 800A7748 000A46A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A774C 000A46AC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR24CScriptCameraPitchVolume" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR24CScriptCameraPitchVolume": +/* 800A7750 000A46B0 38 00 00 00 */ li r0, 0 +/* 800A7754 000A46B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7758 000A46B8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptCameraHint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptCameraHint": +/* 800A775C 000A46BC 38 00 00 00 */ li r0, 0 +/* 800A7760 000A46C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7764 000A46C4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CScriptAiJumpPoint" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CScriptAiJumpPoint": +/* 800A7768 000A46C8 38 00 00 00 */ li r0, 0 +/* 800A776C 000A46CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7770 000A46D0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptActorKeyframe" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptActorKeyframe": +/* 800A7774 000A46D4 38 00 00 00 */ li r0, 0 +/* 800A7778 000A46D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A777C 000A46DC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptActor" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptActor": +/* 800A7780 000A46E0 38 00 00 00 */ li r0, 0 +/* 800A7784 000A46E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7788 000A46E8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR9CRepulsor" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR9CRepulsor": +/* 800A778C 000A46EC 38 00 00 00 */ li r0, 0 +/* 800A7790 000A46F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7794 000A46F4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CPlayer" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CPlayer": +/* 800A7798 000A46F8 38 00 00 00 */ li r0, 0 +/* 800A779C 000A46FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A77A0 000A4700 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CPhysicsActor" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CPhysicsActor": +/* 800A77A4 000A4704 38 00 00 00 */ li r0, 0 +/* 800A77A8 000A4708 90 03 00 04 */ stw r0, 4(r3) +/* 800A77AC 000A470C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR3CAi" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR3CAi": +/* 800A77B0 000A4710 38 00 00 00 */ li r0, 0 +/* 800A77B4 000A4714 90 03 00 04 */ stw r0, 4(r3) +/* 800A77B8 000A4718 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CPathCamera" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CPathCamera": +/* 800A77BC 000A471C 38 00 00 00 */ li r0, 0 +/* 800A77C0 000A4720 90 03 00 04 */ stw r0, 4(r3) +/* 800A77C4 000A4724 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CMetroidPrimeRelay" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CMetroidPrimeRelay": +/* 800A77C8 000A4728 38 00 00 00 */ li r0, 0 +/* 800A77CC 000A472C 90 03 00 04 */ stw r0, 4(r3) +/* 800A77D0 000A4730 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR19CHUDBillboardEffect" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR19CHUDBillboardEffect": +/* 800A77D4 000A4734 38 00 00 00 */ li r0, 0 +/* 800A77D8 000A4738 90 03 00 04 */ stw r0, 4(r3) +/* 800A77DC 000A473C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CGameProjectile" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CGameProjectile": +/* 800A77E0 000A4740 38 00 00 00 */ li r0, 0 +/* 800A77E4 000A4744 90 03 00 04 */ stw r0, 4(r3) +/* 800A77E8 000A4748 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CGameLight" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CGameLight": +/* 800A77EC 000A474C 38 00 00 00 */ li r0, 0 +/* 800A77F0 000A4750 90 03 00 04 */ stw r0, 4(r3) +/* 800A77F4 000A4754 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CGameCamera" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CGameCamera": +/* 800A77F8 000A4758 38 00 00 00 */ li r0, 0 +/* 800A77FC 000A475C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7800 000A4760 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CFishCloud" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CFishCloud": +/* 800A7804 000A4764 38 00 00 00 */ li r0, 0 +/* 800A7808 000A4768 90 03 00 04 */ stw r0, 4(r3) +/* 800A780C 000A476C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CFirstPersonCamera" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CFirstPersonCamera": +/* 800A7810 000A4770 38 00 00 00 */ li r0, 0 +/* 800A7814 000A4774 90 03 00 04 */ stw r0, 4(r3) +/* 800A7818 000A4778 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CExplosion" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CExplosion": +/* 800A781C 000A477C 38 00 00 00 */ li r0, 0 +/* 800A7820 000A4780 90 03 00 04 */ stw r0, 4(r3) +/* 800A7824 000A4784 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CEntity" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CEntity": +/* 800A7828 000A4788 38 00 00 00 */ li r0, 0 +/* 800A782C 000A478C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7830 000A4790 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CEnergyProjectile" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CEnergyProjectile": +/* 800A7834 000A4794 38 00 00 00 */ li r0, 0 +/* 800A7838 000A4798 90 03 00 04 */ stw r0, 4(r3) +/* 800A783C 000A479C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CDestroyableRock" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CDestroyableRock": +/* 800A7840 000A47A0 38 00 00 00 */ li r0, 0 +/* 800A7844 000A47A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7848 000A47A8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CCollisionActor" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CCollisionActor": +/* 800A784C 000A47AC 38 00 00 00 */ li r0, 0 +/* 800A7850 000A47B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7854 000A47B4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CCinematicCamera" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CCinematicCamera": +/* 800A7858 000A47B8 38 00 00 00 */ li r0, 0 +/* 800A785C 000A47BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7860 000A47C0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR5CBomb" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR5CBomb": +/* 800A7864 000A47C4 38 00 00 00 */ li r0, 0 +/* 800A7868 000A47C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A786C 000A47CC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CBallCamera" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CBallCamera": +/* 800A7870 000A47D0 38 00 00 00 */ li r0, 0 +/* 800A7874 000A47D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7878 000A47D8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR6CActor" +"Visit__35TCastToPtr<21CScriptTargetingPoint>FR6CActor": +/* 800A787C 000A47DC 38 00 00 00 */ li r0, 0 +/* 800A7880 000A47E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7884 000A47E4 4E 80 00 20 */ blr + +.global "__ct__35TCastToPtr<21CScriptTargetingPoint>FP7CEntity" +"__ct__35TCastToPtr<21CScriptTargetingPoint>FP7CEntity": +/* 800A7888 000A47E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A788C 000A47EC 7C 08 02 A6 */ mflr r0 +/* 800A7890 000A47F0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A7894 000A47F4 3C A0 80 3E */ lis r5, lbl_803DE618@ha +/* 800A7898 000A47F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A789C 000A47FC 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A78A0 000A4800 28 04 00 00 */ cmplwi r4, 0 +/* 800A78A4 000A4804 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A78A8 000A4808 7C 7F 1B 78 */ mr r31, r3 +/* 800A78AC 000A480C 38 65 E6 18 */ addi r3, r5, lbl_803DE618@l +/* 800A78B0 000A4810 90 1F 00 00 */ stw r0, 0(r31) +/* 800A78B4 000A4814 38 00 00 00 */ li r0, 0 +/* 800A78B8 000A4818 90 7F 00 00 */ stw r3, 0(r31) +/* 800A78BC 000A481C 90 1F 00 04 */ stw r0, 4(r31) +/* 800A78C0 000A4820 41 82 00 1C */ beq lbl_800A78DC +/* 800A78C4 000A4824 7C 83 23 78 */ mr r3, r4 +/* 800A78C8 000A4828 7F E4 FB 78 */ mr r4, r31 +/* 800A78CC 000A482C 81 83 00 00 */ lwz r12, 0(r3) +/* 800A78D0 000A4830 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A78D4 000A4834 7D 89 03 A6 */ mtctr r12 +/* 800A78D8 000A4838 4E 80 04 21 */ bctrl +lbl_800A78DC: +/* 800A78DC 000A483C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A78E0 000A4840 7F E3 FB 78 */ mr r3, r31 +/* 800A78E4 000A4844 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A78E8 000A4848 7C 08 03 A6 */ mtlr r0 +/* 800A78EC 000A484C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A78F0 000A4850 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CWeapon" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CWeapon": +/* 800A78F4 000A4854 38 00 00 00 */ li r0, 0 +/* 800A78F8 000A4858 90 03 00 04 */ stw r0, 4(r3) +/* 800A78FC 000A485C 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CWallCrawlerSwarm" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CWallCrawlerSwarm": +/* 800A7900 000A4860 38 00 00 00 */ li r0, 0 +/* 800A7904 000A4864 90 03 00 04 */ stw r0, 4(r3) +/* 800A7908 000A4868 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptSpindleCamera" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptSpindleCamera": +/* 800A790C 000A486C 38 00 00 00 */ li r0, 0 +/* 800A7910 000A4870 90 03 00 04 */ stw r0, 4(r3) +/* 800A7914 000A4874 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CSnakeWeedSwarm" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CSnakeWeedSwarm": +/* 800A7918 000A4878 38 00 00 00 */ li r0, 0 +/* 800A791C 000A487C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7920 000A4880 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptWaypoint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptWaypoint": +/* 800A7924 000A4884 38 00 00 00 */ li r0, 0 +/* 800A7928 000A4888 90 03 00 04 */ stw r0, 4(r3) +/* 800A792C 000A488C 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptWater" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptWater": +/* 800A7930 000A4890 38 00 00 00 */ li r0, 0 +/* 800A7934 000A4894 90 03 00 04 */ stw r0, 4(r3) +/* 800A7938 000A4898 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptVisorFlare" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptVisorFlare": +/* 800A793C 000A489C 38 00 00 00 */ li r0, 0 +/* 800A7940 000A48A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7944 000A48A4 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR14CScriptTrigger" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR14CScriptTrigger": +/* 800A7948 000A48A8 38 00 00 00 */ li r0, 0 +/* 800A794C 000A48AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7950 000A48B0 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptTimer" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptTimer": +/* 800A7954 000A48B4 38 00 00 00 */ li r0, 0 +/* 800A7958 000A48B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A795C 000A48BC 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CTeamAiMgr" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CTeamAiMgr": +/* 800A7960 000A48C0 38 00 00 00 */ li r0, 0 +/* 800A7964 000A48C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7968 000A48C8 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR21CScriptTargetingPoint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR21CScriptTargetingPoint": +/* 800A796C 000A48CC 38 00 00 00 */ li r0, 0 +/* 800A7970 000A48D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7974 000A48D4 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR25CScriptSpiderBallWaypoint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR25CScriptSpiderBallWaypoint": +/* 800A7978 000A48D8 90 83 00 04 */ stw r4, 4(r3) +/* 800A797C 000A48DC 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR34CScriptSpiderBallAttractionSurface" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR34CScriptSpiderBallAttractionSurface": +/* 800A7980 000A48E0 38 00 00 00 */ li r0, 0 +/* 800A7984 000A48E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7988 000A48E8 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR22CScriptSpecialFunction" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR22CScriptSpecialFunction": +/* 800A798C 000A48EC 38 00 00 00 */ li r0, 0 +/* 800A7990 000A48F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7994 000A48F4 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptSpawnPoint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptSpawnPoint": +/* 800A7998 000A48F8 38 00 00 00 */ li r0, 0 +/* 800A799C 000A48FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A79A0 000A4900 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptSound" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptSound": +/* 800A79A4 000A4904 38 00 00 00 */ li r0, 0 +/* 800A79A8 000A4908 90 03 00 04 */ stw r0, 4(r3) +/* 800A79AC 000A490C 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptRoomAcoustics" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptRoomAcoustics": +/* 800A79B0 000A4910 38 00 00 00 */ li r0, 0 +/* 800A79B4 000A4914 90 03 00 04 */ stw r0, 4(r3) +/* 800A79B8 000A4918 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR22CScriptPointOfinterest" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR22CScriptPointOfinterest": +/* 800A79BC 000A491C 38 00 00 00 */ li r0, 0 +/* 800A79C0 000A4920 90 03 00 04 */ stw r0, 4(r3) +/* 800A79C4 000A4924 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptPlayerHint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptPlayerHint": +/* 800A79C8 000A4928 38 00 00 00 */ li r0, 0 +/* 800A79CC 000A492C 90 03 00 04 */ stw r0, 4(r3) +/* 800A79D0 000A4930 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptPlatform" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptPlatform": +/* 800A79D4 000A4934 38 00 00 00 */ li r0, 0 +/* 800A79D8 000A4938 90 03 00 04 */ stw r0, 4(r3) +/* 800A79DC 000A493C 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CScriptPickup" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CScriptPickup": +/* 800A79E0 000A4940 38 00 00 00 */ li r0, 0 +/* 800A79E4 000A4944 90 03 00 04 */ stw r0, 4(r3) +/* 800A79E8 000A4948 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptMazeNode" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptMazeNode": +/* 800A79EC 000A494C 38 00 00 00 */ li r0, 0 +/* 800A79F0 000A4950 90 03 00 04 */ stw r0, 4(r3) +/* 800A79F4 000A4954 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CScriptGunTurret" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CScriptGunTurret": +/* 800A79F8 000A4958 38 00 00 00 */ li r0, 0 +/* 800A79FC 000A495C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A00 000A4960 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR19CScriptGrapplePoint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR19CScriptGrapplePoint": +/* 800A7A04 000A4964 38 00 00 00 */ li r0, 0 +/* 800A7A08 000A4968 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A0C 000A496C 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CScriptEffect" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CScriptEffect": +/* 800A7A10 000A4970 38 00 00 00 */ li r0, 0 +/* 800A7A14 000A4974 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A18 000A4978 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CScriptDoor" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CScriptDoor": +/* 800A7A1C 000A497C 38 00 00 00 */ li r0, 0 +/* 800A7A20 000A4980 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A24 000A4984 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CScriptDock" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CScriptDock": +/* 800A7A28 000A4988 38 00 00 00 */ li r0, 0 +/* 800A7A2C 000A498C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A30 000A4990 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CScriptDistanceFog" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CScriptDistanceFog": +/* 800A7A34 000A4994 38 00 00 00 */ li r0, 0 +/* 800A7A38 000A4998 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A3C 000A499C 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR26CScriptDebugCameraWaypoint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR26CScriptDebugCameraWaypoint": +/* 800A7A40 000A49A0 38 00 00 00 */ li r0, 0 +/* 800A7A44 000A49A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A48 000A49A8 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptCoverPoint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptCoverPoint": +/* 800A7A4C 000A49AC 38 00 00 00 */ li r0, 0 +/* 800A7A50 000A49B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A54 000A49B4 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR21CScriptCameraWaypoint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR21CScriptCameraWaypoint": +/* 800A7A58 000A49B8 38 00 00 00 */ li r0, 0 +/* 800A7A5C 000A49BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A60 000A49C0 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR24CScriptCameraPitchVolume" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR24CScriptCameraPitchVolume": +/* 800A7A64 000A49C4 38 00 00 00 */ li r0, 0 +/* 800A7A68 000A49C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A6C 000A49CC 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptCameraHint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptCameraHint": +/* 800A7A70 000A49D0 38 00 00 00 */ li r0, 0 +/* 800A7A74 000A49D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A78 000A49D8 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CScriptAiJumpPoint" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CScriptAiJumpPoint": +/* 800A7A7C 000A49DC 38 00 00 00 */ li r0, 0 +/* 800A7A80 000A49E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A84 000A49E4 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptActorKeyframe" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptActorKeyframe": +/* 800A7A88 000A49E8 38 00 00 00 */ li r0, 0 +/* 800A7A8C 000A49EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A90 000A49F0 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptActor" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptActor": +/* 800A7A94 000A49F4 38 00 00 00 */ li r0, 0 +/* 800A7A98 000A49F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7A9C 000A49FC 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR9CRepulsor" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR9CRepulsor": +/* 800A7AA0 000A4A00 38 00 00 00 */ li r0, 0 +/* 800A7AA4 000A4A04 90 03 00 04 */ stw r0, 4(r3) +/* 800A7AA8 000A4A08 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CPlayer" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CPlayer": +/* 800A7AAC 000A4A0C 38 00 00 00 */ li r0, 0 +/* 800A7AB0 000A4A10 90 03 00 04 */ stw r0, 4(r3) +/* 800A7AB4 000A4A14 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CPhysicsActor" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CPhysicsActor": +/* 800A7AB8 000A4A18 38 00 00 00 */ li r0, 0 +/* 800A7ABC 000A4A1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7AC0 000A4A20 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR3CAi" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR3CAi": +/* 800A7AC4 000A4A24 38 00 00 00 */ li r0, 0 +/* 800A7AC8 000A4A28 90 03 00 04 */ stw r0, 4(r3) +/* 800A7ACC 000A4A2C 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CPathCamera" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CPathCamera": +/* 800A7AD0 000A4A30 38 00 00 00 */ li r0, 0 +/* 800A7AD4 000A4A34 90 03 00 04 */ stw r0, 4(r3) +/* 800A7AD8 000A4A38 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CMetroidPrimeRelay" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CMetroidPrimeRelay": +/* 800A7ADC 000A4A3C 38 00 00 00 */ li r0, 0 +/* 800A7AE0 000A4A40 90 03 00 04 */ stw r0, 4(r3) +/* 800A7AE4 000A4A44 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR19CHUDBillboardEffect" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR19CHUDBillboardEffect": +/* 800A7AE8 000A4A48 38 00 00 00 */ li r0, 0 +/* 800A7AEC 000A4A4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7AF0 000A4A50 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CGameProjectile" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CGameProjectile": +/* 800A7AF4 000A4A54 38 00 00 00 */ li r0, 0 +/* 800A7AF8 000A4A58 90 03 00 04 */ stw r0, 4(r3) +/* 800A7AFC 000A4A5C 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CGameLight" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CGameLight": +/* 800A7B00 000A4A60 38 00 00 00 */ li r0, 0 +/* 800A7B04 000A4A64 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B08 000A4A68 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CGameCamera" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CGameCamera": +/* 800A7B0C 000A4A6C 38 00 00 00 */ li r0, 0 +/* 800A7B10 000A4A70 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B14 000A4A74 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CFishCloud" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CFishCloud": +/* 800A7B18 000A4A78 38 00 00 00 */ li r0, 0 +/* 800A7B1C 000A4A7C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B20 000A4A80 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CFirstPersonCamera" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CFirstPersonCamera": +/* 800A7B24 000A4A84 38 00 00 00 */ li r0, 0 +/* 800A7B28 000A4A88 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B2C 000A4A8C 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CExplosion" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CExplosion": +/* 800A7B30 000A4A90 38 00 00 00 */ li r0, 0 +/* 800A7B34 000A4A94 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B38 000A4A98 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CEntity" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CEntity": +/* 800A7B3C 000A4A9C 38 00 00 00 */ li r0, 0 +/* 800A7B40 000A4AA0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B44 000A4AA4 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CEnergyProjectile" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CEnergyProjectile": +/* 800A7B48 000A4AA8 38 00 00 00 */ li r0, 0 +/* 800A7B4C 000A4AAC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B50 000A4AB0 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CDestroyableRock" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CDestroyableRock": +/* 800A7B54 000A4AB4 38 00 00 00 */ li r0, 0 +/* 800A7B58 000A4AB8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B5C 000A4ABC 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CCollisionActor" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CCollisionActor": +/* 800A7B60 000A4AC0 38 00 00 00 */ li r0, 0 +/* 800A7B64 000A4AC4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B68 000A4AC8 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CCinematicCamera" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CCinematicCamera": +/* 800A7B6C 000A4ACC 38 00 00 00 */ li r0, 0 +/* 800A7B70 000A4AD0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B74 000A4AD4 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR5CBomb" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR5CBomb": +/* 800A7B78 000A4AD8 38 00 00 00 */ li r0, 0 +/* 800A7B7C 000A4ADC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B80 000A4AE0 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CBallCamera" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CBallCamera": +/* 800A7B84 000A4AE4 38 00 00 00 */ li r0, 0 +/* 800A7B88 000A4AE8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B8C 000A4AEC 4E 80 00 20 */ blr + +.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR6CActor" +"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR6CActor": +/* 800A7B90 000A4AF0 38 00 00 00 */ li r0, 0 +/* 800A7B94 000A4AF4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7B98 000A4AF8 4E 80 00 20 */ blr + +.global "__ct__39TCastToPtr<25CScriptSpiderBallWaypoint>FP7CEntity" +"__ct__39TCastToPtr<25CScriptSpiderBallWaypoint>FP7CEntity": +/* 800A7B9C 000A4AFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A7BA0 000A4B00 7C 08 02 A6 */ mflr r0 +/* 800A7BA4 000A4B04 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A7BA8 000A4B08 3C A0 80 3E */ lis r5, lbl_803DE52C@ha +/* 800A7BAC 000A4B0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A7BB0 000A4B10 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A7BB4 000A4B14 28 04 00 00 */ cmplwi r4, 0 +/* 800A7BB8 000A4B18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A7BBC 000A4B1C 7C 7F 1B 78 */ mr r31, r3 +/* 800A7BC0 000A4B20 38 65 E5 2C */ addi r3, r5, lbl_803DE52C@l +/* 800A7BC4 000A4B24 90 1F 00 00 */ stw r0, 0(r31) +/* 800A7BC8 000A4B28 38 00 00 00 */ li r0, 0 +/* 800A7BCC 000A4B2C 90 7F 00 00 */ stw r3, 0(r31) +/* 800A7BD0 000A4B30 90 1F 00 04 */ stw r0, 4(r31) +/* 800A7BD4 000A4B34 41 82 00 1C */ beq lbl_800A7BF0 +/* 800A7BD8 000A4B38 7C 83 23 78 */ mr r3, r4 +/* 800A7BDC 000A4B3C 7F E4 FB 78 */ mr r4, r31 +/* 800A7BE0 000A4B40 81 83 00 00 */ lwz r12, 0(r3) +/* 800A7BE4 000A4B44 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A7BE8 000A4B48 7D 89 03 A6 */ mtctr r12 +/* 800A7BEC 000A4B4C 4E 80 04 21 */ bctrl +lbl_800A7BF0: +/* 800A7BF0 000A4B50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A7BF4 000A4B54 7F E3 FB 78 */ mr r3, r31 +/* 800A7BF8 000A4B58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A7BFC 000A4B5C 7C 08 03 A6 */ mtlr r0 +/* 800A7C00 000A4B60 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A7C04 000A4B64 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CWeapon" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CWeapon": +/* 800A7C08 000A4B68 38 00 00 00 */ li r0, 0 +/* 800A7C0C 000A4B6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C10 000A4B70 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CWallCrawlerSwarm" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CWallCrawlerSwarm": +/* 800A7C14 000A4B74 38 00 00 00 */ li r0, 0 +/* 800A7C18 000A4B78 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C1C 000A4B7C 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptSpindleCamera" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptSpindleCamera": +/* 800A7C20 000A4B80 38 00 00 00 */ li r0, 0 +/* 800A7C24 000A4B84 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C28 000A4B88 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CSnakeWeedSwarm" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CSnakeWeedSwarm": +/* 800A7C2C 000A4B8C 38 00 00 00 */ li r0, 0 +/* 800A7C30 000A4B90 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C34 000A4B94 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptWaypoint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptWaypoint": +/* 800A7C38 000A4B98 38 00 00 00 */ li r0, 0 +/* 800A7C3C 000A4B9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C40 000A4BA0 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptWater" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptWater": +/* 800A7C44 000A4BA4 38 00 00 00 */ li r0, 0 +/* 800A7C48 000A4BA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C4C 000A4BAC 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptVisorFlare" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptVisorFlare": +/* 800A7C50 000A4BB0 38 00 00 00 */ li r0, 0 +/* 800A7C54 000A4BB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C58 000A4BB8 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR14CScriptTrigger" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR14CScriptTrigger": +/* 800A7C5C 000A4BBC 38 00 00 00 */ li r0, 0 +/* 800A7C60 000A4BC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C64 000A4BC4 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptTimer" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptTimer": +/* 800A7C68 000A4BC8 38 00 00 00 */ li r0, 0 +/* 800A7C6C 000A4BCC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C70 000A4BD0 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CTeamAiMgr" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CTeamAiMgr": +/* 800A7C74 000A4BD4 38 00 00 00 */ li r0, 0 +/* 800A7C78 000A4BD8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C7C 000A4BDC 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR21CScriptTargetingPoint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR21CScriptTargetingPoint": +/* 800A7C80 000A4BE0 38 00 00 00 */ li r0, 0 +/* 800A7C84 000A4BE4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C88 000A4BE8 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR25CScriptSpiderBallWaypoint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR25CScriptSpiderBallWaypoint": +/* 800A7C8C 000A4BEC 38 00 00 00 */ li r0, 0 +/* 800A7C90 000A4BF0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7C94 000A4BF4 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR34CScriptSpiderBallAttractionSurface" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR34CScriptSpiderBallAttractionSurface": +/* 800A7C98 000A4BF8 90 83 00 04 */ stw r4, 4(r3) +/* 800A7C9C 000A4BFC 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR22CScriptSpecialFunction" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR22CScriptSpecialFunction": +/* 800A7CA0 000A4C00 38 00 00 00 */ li r0, 0 +/* 800A7CA4 000A4C04 90 03 00 04 */ stw r0, 4(r3) +/* 800A7CA8 000A4C08 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptSpawnPoint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptSpawnPoint": +/* 800A7CAC 000A4C0C 38 00 00 00 */ li r0, 0 +/* 800A7CB0 000A4C10 90 03 00 04 */ stw r0, 4(r3) +/* 800A7CB4 000A4C14 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptSound" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptSound": +/* 800A7CB8 000A4C18 38 00 00 00 */ li r0, 0 +/* 800A7CBC 000A4C1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7CC0 000A4C20 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptRoomAcoustics" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptRoomAcoustics": +/* 800A7CC4 000A4C24 38 00 00 00 */ li r0, 0 +/* 800A7CC8 000A4C28 90 03 00 04 */ stw r0, 4(r3) +/* 800A7CCC 000A4C2C 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR22CScriptPointOfinterest" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR22CScriptPointOfinterest": +/* 800A7CD0 000A4C30 38 00 00 00 */ li r0, 0 +/* 800A7CD4 000A4C34 90 03 00 04 */ stw r0, 4(r3) +/* 800A7CD8 000A4C38 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptPlayerHint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptPlayerHint": +/* 800A7CDC 000A4C3C 38 00 00 00 */ li r0, 0 +/* 800A7CE0 000A4C40 90 03 00 04 */ stw r0, 4(r3) +/* 800A7CE4 000A4C44 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptPlatform" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptPlatform": +/* 800A7CE8 000A4C48 38 00 00 00 */ li r0, 0 +/* 800A7CEC 000A4C4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7CF0 000A4C50 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CScriptPickup" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CScriptPickup": +/* 800A7CF4 000A4C54 38 00 00 00 */ li r0, 0 +/* 800A7CF8 000A4C58 90 03 00 04 */ stw r0, 4(r3) +/* 800A7CFC 000A4C5C 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptMazeNode" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptMazeNode": +/* 800A7D00 000A4C60 38 00 00 00 */ li r0, 0 +/* 800A7D04 000A4C64 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D08 000A4C68 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CScriptGunTurret" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CScriptGunTurret": +/* 800A7D0C 000A4C6C 38 00 00 00 */ li r0, 0 +/* 800A7D10 000A4C70 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D14 000A4C74 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR19CScriptGrapplePoint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR19CScriptGrapplePoint": +/* 800A7D18 000A4C78 38 00 00 00 */ li r0, 0 +/* 800A7D1C 000A4C7C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D20 000A4C80 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CScriptEffect" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CScriptEffect": +/* 800A7D24 000A4C84 38 00 00 00 */ li r0, 0 +/* 800A7D28 000A4C88 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D2C 000A4C8C 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CScriptDoor" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CScriptDoor": +/* 800A7D30 000A4C90 38 00 00 00 */ li r0, 0 +/* 800A7D34 000A4C94 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D38 000A4C98 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CScriptDock" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CScriptDock": +/* 800A7D3C 000A4C9C 38 00 00 00 */ li r0, 0 +/* 800A7D40 000A4CA0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D44 000A4CA4 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CScriptDistanceFog" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CScriptDistanceFog": +/* 800A7D48 000A4CA8 38 00 00 00 */ li r0, 0 +/* 800A7D4C 000A4CAC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D50 000A4CB0 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR26CScriptDebugCameraWaypoint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR26CScriptDebugCameraWaypoint": +/* 800A7D54 000A4CB4 38 00 00 00 */ li r0, 0 +/* 800A7D58 000A4CB8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D5C 000A4CBC 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptCoverPoint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptCoverPoint": +/* 800A7D60 000A4CC0 38 00 00 00 */ li r0, 0 +/* 800A7D64 000A4CC4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D68 000A4CC8 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR21CScriptCameraWaypoint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR21CScriptCameraWaypoint": +/* 800A7D6C 000A4CCC 38 00 00 00 */ li r0, 0 +/* 800A7D70 000A4CD0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D74 000A4CD4 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR24CScriptCameraPitchVolume" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR24CScriptCameraPitchVolume": +/* 800A7D78 000A4CD8 38 00 00 00 */ li r0, 0 +/* 800A7D7C 000A4CDC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D80 000A4CE0 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptCameraHint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptCameraHint": +/* 800A7D84 000A4CE4 38 00 00 00 */ li r0, 0 +/* 800A7D88 000A4CE8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D8C 000A4CEC 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CScriptAiJumpPoint" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CScriptAiJumpPoint": +/* 800A7D90 000A4CF0 38 00 00 00 */ li r0, 0 +/* 800A7D94 000A4CF4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7D98 000A4CF8 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptActorKeyframe" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptActorKeyframe": +/* 800A7D9C 000A4CFC 38 00 00 00 */ li r0, 0 +/* 800A7DA0 000A4D00 90 03 00 04 */ stw r0, 4(r3) +/* 800A7DA4 000A4D04 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptActor" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptActor": +/* 800A7DA8 000A4D08 38 00 00 00 */ li r0, 0 +/* 800A7DAC 000A4D0C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7DB0 000A4D10 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR9CRepulsor" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR9CRepulsor": +/* 800A7DB4 000A4D14 38 00 00 00 */ li r0, 0 +/* 800A7DB8 000A4D18 90 03 00 04 */ stw r0, 4(r3) +/* 800A7DBC 000A4D1C 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CPlayer" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CPlayer": +/* 800A7DC0 000A4D20 38 00 00 00 */ li r0, 0 +/* 800A7DC4 000A4D24 90 03 00 04 */ stw r0, 4(r3) +/* 800A7DC8 000A4D28 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CPhysicsActor" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CPhysicsActor": +/* 800A7DCC 000A4D2C 38 00 00 00 */ li r0, 0 +/* 800A7DD0 000A4D30 90 03 00 04 */ stw r0, 4(r3) +/* 800A7DD4 000A4D34 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR3CAi" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR3CAi": +/* 800A7DD8 000A4D38 38 00 00 00 */ li r0, 0 +/* 800A7DDC 000A4D3C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7DE0 000A4D40 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CPathCamera" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CPathCamera": +/* 800A7DE4 000A4D44 38 00 00 00 */ li r0, 0 +/* 800A7DE8 000A4D48 90 03 00 04 */ stw r0, 4(r3) +/* 800A7DEC 000A4D4C 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CMetroidPrimeRelay" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CMetroidPrimeRelay": +/* 800A7DF0 000A4D50 38 00 00 00 */ li r0, 0 +/* 800A7DF4 000A4D54 90 03 00 04 */ stw r0, 4(r3) +/* 800A7DF8 000A4D58 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR19CHUDBillboardEffect" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR19CHUDBillboardEffect": +/* 800A7DFC 000A4D5C 38 00 00 00 */ li r0, 0 +/* 800A7E00 000A4D60 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E04 000A4D64 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CGameProjectile" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CGameProjectile": +/* 800A7E08 000A4D68 38 00 00 00 */ li r0, 0 +/* 800A7E0C 000A4D6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E10 000A4D70 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CGameLight" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CGameLight": +/* 800A7E14 000A4D74 38 00 00 00 */ li r0, 0 +/* 800A7E18 000A4D78 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E1C 000A4D7C 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CGameCamera" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CGameCamera": +/* 800A7E20 000A4D80 38 00 00 00 */ li r0, 0 +/* 800A7E24 000A4D84 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E28 000A4D88 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CFishCloud" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CFishCloud": +/* 800A7E2C 000A4D8C 38 00 00 00 */ li r0, 0 +/* 800A7E30 000A4D90 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E34 000A4D94 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CFirstPersonCamera" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CFirstPersonCamera": +/* 800A7E38 000A4D98 38 00 00 00 */ li r0, 0 +/* 800A7E3C 000A4D9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E40 000A4DA0 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CExplosion" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CExplosion": +/* 800A7E44 000A4DA4 38 00 00 00 */ li r0, 0 +/* 800A7E48 000A4DA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E4C 000A4DAC 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CEntity" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CEntity": +/* 800A7E50 000A4DB0 38 00 00 00 */ li r0, 0 +/* 800A7E54 000A4DB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E58 000A4DB8 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CEnergyProjectile" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CEnergyProjectile": +/* 800A7E5C 000A4DBC 38 00 00 00 */ li r0, 0 +/* 800A7E60 000A4DC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E64 000A4DC4 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CDestroyableRock" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CDestroyableRock": +/* 800A7E68 000A4DC8 38 00 00 00 */ li r0, 0 +/* 800A7E6C 000A4DCC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E70 000A4DD0 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CCollisionActor" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CCollisionActor": +/* 800A7E74 000A4DD4 38 00 00 00 */ li r0, 0 +/* 800A7E78 000A4DD8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E7C 000A4DDC 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CCinematicCamera" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CCinematicCamera": +/* 800A7E80 000A4DE0 38 00 00 00 */ li r0, 0 +/* 800A7E84 000A4DE4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E88 000A4DE8 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR5CBomb" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR5CBomb": +/* 800A7E8C 000A4DEC 38 00 00 00 */ li r0, 0 +/* 800A7E90 000A4DF0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7E94 000A4DF4 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CBallCamera" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CBallCamera": +/* 800A7E98 000A4DF8 38 00 00 00 */ li r0, 0 +/* 800A7E9C 000A4DFC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7EA0 000A4E00 4E 80 00 20 */ blr + +.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR6CActor" +"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR6CActor": +/* 800A7EA4 000A4E04 38 00 00 00 */ li r0, 0 +/* 800A7EA8 000A4E08 90 03 00 04 */ stw r0, 4(r3) +/* 800A7EAC 000A4E0C 4E 80 00 20 */ blr + +.global "__ct__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FP7CEntity" +"__ct__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FP7CEntity": +/* 800A7EB0 000A4E10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A7EB4 000A4E14 7C 08 02 A6 */ mflr r0 +/* 800A7EB8 000A4E18 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A7EBC 000A4E1C 3C A0 80 3E */ lis r5, lbl_803DE440@ha +/* 800A7EC0 000A4E20 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A7EC4 000A4E24 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A7EC8 000A4E28 28 04 00 00 */ cmplwi r4, 0 +/* 800A7ECC 000A4E2C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A7ED0 000A4E30 7C 7F 1B 78 */ mr r31, r3 +/* 800A7ED4 000A4E34 38 65 E4 40 */ addi r3, r5, lbl_803DE440@l +/* 800A7ED8 000A4E38 90 1F 00 00 */ stw r0, 0(r31) +/* 800A7EDC 000A4E3C 38 00 00 00 */ li r0, 0 +/* 800A7EE0 000A4E40 90 7F 00 00 */ stw r3, 0(r31) +/* 800A7EE4 000A4E44 90 1F 00 04 */ stw r0, 4(r31) +/* 800A7EE8 000A4E48 41 82 00 1C */ beq lbl_800A7F04 +/* 800A7EEC 000A4E4C 7C 83 23 78 */ mr r3, r4 +/* 800A7EF0 000A4E50 7F E4 FB 78 */ mr r4, r31 +/* 800A7EF4 000A4E54 81 83 00 00 */ lwz r12, 0(r3) +/* 800A7EF8 000A4E58 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A7EFC 000A4E5C 7D 89 03 A6 */ mtctr r12 +/* 800A7F00 000A4E60 4E 80 04 21 */ bctrl +lbl_800A7F04: +/* 800A7F04 000A4E64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A7F08 000A4E68 7F E3 FB 78 */ mr r3, r31 +/* 800A7F0C 000A4E6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A7F10 000A4E70 7C 08 03 A6 */ mtlr r0 +/* 800A7F14 000A4E74 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A7F18 000A4E78 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CWeapon" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CWeapon": +/* 800A7F1C 000A4E7C 38 00 00 00 */ li r0, 0 +/* 800A7F20 000A4E80 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F24 000A4E84 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CWallCrawlerSwarm" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CWallCrawlerSwarm": +/* 800A7F28 000A4E88 38 00 00 00 */ li r0, 0 +/* 800A7F2C 000A4E8C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F30 000A4E90 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptSpindleCamera" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptSpindleCamera": +/* 800A7F34 000A4E94 38 00 00 00 */ li r0, 0 +/* 800A7F38 000A4E98 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F3C 000A4E9C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CSnakeWeedSwarm" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CSnakeWeedSwarm": +/* 800A7F40 000A4EA0 38 00 00 00 */ li r0, 0 +/* 800A7F44 000A4EA4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F48 000A4EA8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptWaypoint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptWaypoint": +/* 800A7F4C 000A4EAC 38 00 00 00 */ li r0, 0 +/* 800A7F50 000A4EB0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F54 000A4EB4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptWater" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptWater": +/* 800A7F58 000A4EB8 38 00 00 00 */ li r0, 0 +/* 800A7F5C 000A4EBC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F60 000A4EC0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptVisorFlare" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptVisorFlare": +/* 800A7F64 000A4EC4 38 00 00 00 */ li r0, 0 +/* 800A7F68 000A4EC8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F6C 000A4ECC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR14CScriptTrigger" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR14CScriptTrigger": +/* 800A7F70 000A4ED0 38 00 00 00 */ li r0, 0 +/* 800A7F74 000A4ED4 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F78 000A4ED8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptTimer" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptTimer": +/* 800A7F7C 000A4EDC 38 00 00 00 */ li r0, 0 +/* 800A7F80 000A4EE0 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F84 000A4EE4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CTeamAiMgr" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CTeamAiMgr": +/* 800A7F88 000A4EE8 38 00 00 00 */ li r0, 0 +/* 800A7F8C 000A4EEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F90 000A4EF0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR21CScriptTargetingPoint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR21CScriptTargetingPoint": +/* 800A7F94 000A4EF4 38 00 00 00 */ li r0, 0 +/* 800A7F98 000A4EF8 90 03 00 04 */ stw r0, 4(r3) +/* 800A7F9C 000A4EFC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR25CScriptSpiderBallWaypoint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR25CScriptSpiderBallWaypoint": +/* 800A7FA0 000A4F00 38 00 00 00 */ li r0, 0 +/* 800A7FA4 000A4F04 90 03 00 04 */ stw r0, 4(r3) +/* 800A7FA8 000A4F08 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR34CScriptSpiderBallAttractionSurface" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR34CScriptSpiderBallAttractionSurface": +/* 800A7FAC 000A4F0C 38 00 00 00 */ li r0, 0 +/* 800A7FB0 000A4F10 90 03 00 04 */ stw r0, 4(r3) +/* 800A7FB4 000A4F14 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR22CScriptSpecialFunction" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR22CScriptSpecialFunction": +/* 800A7FB8 000A4F18 38 00 00 00 */ li r0, 0 +/* 800A7FBC 000A4F1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7FC0 000A4F20 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptSpawnPoint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptSpawnPoint": +/* 800A7FC4 000A4F24 90 83 00 04 */ stw r4, 4(r3) +/* 800A7FC8 000A4F28 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptSound" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptSound": +/* 800A7FCC 000A4F2C 38 00 00 00 */ li r0, 0 +/* 800A7FD0 000A4F30 90 03 00 04 */ stw r0, 4(r3) +/* 800A7FD4 000A4F34 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptRoomAcoustics" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptRoomAcoustics": +/* 800A7FD8 000A4F38 38 00 00 00 */ li r0, 0 +/* 800A7FDC 000A4F3C 90 03 00 04 */ stw r0, 4(r3) +/* 800A7FE0 000A4F40 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR22CScriptPointOfinterest" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR22CScriptPointOfinterest": +/* 800A7FE4 000A4F44 38 00 00 00 */ li r0, 0 +/* 800A7FE8 000A4F48 90 03 00 04 */ stw r0, 4(r3) +/* 800A7FEC 000A4F4C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptPlayerHint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptPlayerHint": +/* 800A7FF0 000A4F50 38 00 00 00 */ li r0, 0 +/* 800A7FF4 000A4F54 90 03 00 04 */ stw r0, 4(r3) +/* 800A7FF8 000A4F58 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptPlatform" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptPlatform": +/* 800A7FFC 000A4F5C 38 00 00 00 */ li r0, 0 +/* 800A8000 000A4F60 90 03 00 04 */ stw r0, 4(r3) +/* 800A8004 000A4F64 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CScriptPickup" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CScriptPickup": +/* 800A8008 000A4F68 38 00 00 00 */ li r0, 0 +/* 800A800C 000A4F6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8010 000A4F70 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptMazeNode" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptMazeNode": +/* 800A8014 000A4F74 38 00 00 00 */ li r0, 0 +/* 800A8018 000A4F78 90 03 00 04 */ stw r0, 4(r3) +/* 800A801C 000A4F7C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CScriptGunTurret" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CScriptGunTurret": +/* 800A8020 000A4F80 38 00 00 00 */ li r0, 0 +/* 800A8024 000A4F84 90 03 00 04 */ stw r0, 4(r3) +/* 800A8028 000A4F88 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR19CScriptGrapplePoint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR19CScriptGrapplePoint": +/* 800A802C 000A4F8C 38 00 00 00 */ li r0, 0 +/* 800A8030 000A4F90 90 03 00 04 */ stw r0, 4(r3) +/* 800A8034 000A4F94 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CScriptEffect" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CScriptEffect": +/* 800A8038 000A4F98 38 00 00 00 */ li r0, 0 +/* 800A803C 000A4F9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8040 000A4FA0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CScriptDoor" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CScriptDoor": +/* 800A8044 000A4FA4 38 00 00 00 */ li r0, 0 +/* 800A8048 000A4FA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A804C 000A4FAC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CScriptDock" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CScriptDock": +/* 800A8050 000A4FB0 38 00 00 00 */ li r0, 0 +/* 800A8054 000A4FB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8058 000A4FB8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CScriptDistanceFog" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CScriptDistanceFog": +/* 800A805C 000A4FBC 38 00 00 00 */ li r0, 0 +/* 800A8060 000A4FC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8064 000A4FC4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR26CScriptDebugCameraWaypoint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR26CScriptDebugCameraWaypoint": +/* 800A8068 000A4FC8 38 00 00 00 */ li r0, 0 +/* 800A806C 000A4FCC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8070 000A4FD0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptCoverPoint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptCoverPoint": +/* 800A8074 000A4FD4 38 00 00 00 */ li r0, 0 +/* 800A8078 000A4FD8 90 03 00 04 */ stw r0, 4(r3) +/* 800A807C 000A4FDC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR21CScriptCameraWaypoint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR21CScriptCameraWaypoint": +/* 800A8080 000A4FE0 38 00 00 00 */ li r0, 0 +/* 800A8084 000A4FE4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8088 000A4FE8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR24CScriptCameraPitchVolume" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR24CScriptCameraPitchVolume": +/* 800A808C 000A4FEC 38 00 00 00 */ li r0, 0 +/* 800A8090 000A4FF0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8094 000A4FF4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptCameraHint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptCameraHint": +/* 800A8098 000A4FF8 38 00 00 00 */ li r0, 0 +/* 800A809C 000A4FFC 90 03 00 04 */ stw r0, 4(r3) +/* 800A80A0 000A5000 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CScriptAiJumpPoint" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CScriptAiJumpPoint": +/* 800A80A4 000A5004 38 00 00 00 */ li r0, 0 +/* 800A80A8 000A5008 90 03 00 04 */ stw r0, 4(r3) +/* 800A80AC 000A500C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptActorKeyframe" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptActorKeyframe": +/* 800A80B0 000A5010 38 00 00 00 */ li r0, 0 +/* 800A80B4 000A5014 90 03 00 04 */ stw r0, 4(r3) +/* 800A80B8 000A5018 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptActor" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptActor": +/* 800A80BC 000A501C 38 00 00 00 */ li r0, 0 +/* 800A80C0 000A5020 90 03 00 04 */ stw r0, 4(r3) +/* 800A80C4 000A5024 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR9CRepulsor" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR9CRepulsor": +/* 800A80C8 000A5028 38 00 00 00 */ li r0, 0 +/* 800A80CC 000A502C 90 03 00 04 */ stw r0, 4(r3) +/* 800A80D0 000A5030 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CPlayer" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CPlayer": +/* 800A80D4 000A5034 38 00 00 00 */ li r0, 0 +/* 800A80D8 000A5038 90 03 00 04 */ stw r0, 4(r3) +/* 800A80DC 000A503C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CPhysicsActor" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CPhysicsActor": +/* 800A80E0 000A5040 38 00 00 00 */ li r0, 0 +/* 800A80E4 000A5044 90 03 00 04 */ stw r0, 4(r3) +/* 800A80E8 000A5048 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR3CAi" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR3CAi": +/* 800A80EC 000A504C 38 00 00 00 */ li r0, 0 +/* 800A80F0 000A5050 90 03 00 04 */ stw r0, 4(r3) +/* 800A80F4 000A5054 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CPathCamera" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CPathCamera": +/* 800A80F8 000A5058 38 00 00 00 */ li r0, 0 +/* 800A80FC 000A505C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8100 000A5060 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CMetroidPrimeRelay" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CMetroidPrimeRelay": +/* 800A8104 000A5064 38 00 00 00 */ li r0, 0 +/* 800A8108 000A5068 90 03 00 04 */ stw r0, 4(r3) +/* 800A810C 000A506C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR19CHUDBillboardEffect" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR19CHUDBillboardEffect": +/* 800A8110 000A5070 38 00 00 00 */ li r0, 0 +/* 800A8114 000A5074 90 03 00 04 */ stw r0, 4(r3) +/* 800A8118 000A5078 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CGameProjectile" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CGameProjectile": +/* 800A811C 000A507C 38 00 00 00 */ li r0, 0 +/* 800A8120 000A5080 90 03 00 04 */ stw r0, 4(r3) +/* 800A8124 000A5084 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CGameLight" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CGameLight": +/* 800A8128 000A5088 38 00 00 00 */ li r0, 0 +/* 800A812C 000A508C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8130 000A5090 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CGameCamera" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CGameCamera": +/* 800A8134 000A5094 38 00 00 00 */ li r0, 0 +/* 800A8138 000A5098 90 03 00 04 */ stw r0, 4(r3) +/* 800A813C 000A509C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CFishCloud" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CFishCloud": +/* 800A8140 000A50A0 38 00 00 00 */ li r0, 0 +/* 800A8144 000A50A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8148 000A50A8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CFirstPersonCamera" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CFirstPersonCamera": +/* 800A814C 000A50AC 38 00 00 00 */ li r0, 0 +/* 800A8150 000A50B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8154 000A50B4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CExplosion" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CExplosion": +/* 800A8158 000A50B8 38 00 00 00 */ li r0, 0 +/* 800A815C 000A50BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8160 000A50C0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CEntity" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CEntity": +/* 800A8164 000A50C4 38 00 00 00 */ li r0, 0 +/* 800A8168 000A50C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A816C 000A50CC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CEnergyProjectile" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CEnergyProjectile": +/* 800A8170 000A50D0 38 00 00 00 */ li r0, 0 +/* 800A8174 000A50D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8178 000A50D8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CDestroyableRock" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CDestroyableRock": +/* 800A817C 000A50DC 38 00 00 00 */ li r0, 0 +/* 800A8180 000A50E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8184 000A50E4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CCollisionActor" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CCollisionActor": +/* 800A8188 000A50E8 38 00 00 00 */ li r0, 0 +/* 800A818C 000A50EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8190 000A50F0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CCinematicCamera" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CCinematicCamera": +/* 800A8194 000A50F4 38 00 00 00 */ li r0, 0 +/* 800A8198 000A50F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A819C 000A50FC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR5CBomb" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR5CBomb": +/* 800A81A0 000A5100 38 00 00 00 */ li r0, 0 +/* 800A81A4 000A5104 90 03 00 04 */ stw r0, 4(r3) +/* 800A81A8 000A5108 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CBallCamera" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CBallCamera": +/* 800A81AC 000A510C 38 00 00 00 */ li r0, 0 +/* 800A81B0 000A5110 90 03 00 04 */ stw r0, 4(r3) +/* 800A81B4 000A5114 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR6CActor" +"Visit__31TCastToPtr<17CScriptSpawnPoint>FR6CActor": +/* 800A81B8 000A5118 38 00 00 00 */ li r0, 0 +/* 800A81BC 000A511C 90 03 00 04 */ stw r0, 4(r3) +/* 800A81C0 000A5120 4E 80 00 20 */ blr + +.global "__ct__31TCastToPtr<17CScriptSpawnPoint>FP7CEntity" +"__ct__31TCastToPtr<17CScriptSpawnPoint>FP7CEntity": +/* 800A81C4 000A5124 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A81C8 000A5128 7C 08 02 A6 */ mflr r0 +/* 800A81CC 000A512C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A81D0 000A5130 3C A0 80 3E */ lis r5, lbl_803DE354@ha +/* 800A81D4 000A5134 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A81D8 000A5138 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A81DC 000A513C 28 04 00 00 */ cmplwi r4, 0 +/* 800A81E0 000A5140 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A81E4 000A5144 7C 7F 1B 78 */ mr r31, r3 +/* 800A81E8 000A5148 38 65 E3 54 */ addi r3, r5, lbl_803DE354@l +/* 800A81EC 000A514C 90 1F 00 00 */ stw r0, 0(r31) +/* 800A81F0 000A5150 38 00 00 00 */ li r0, 0 +/* 800A81F4 000A5154 90 7F 00 00 */ stw r3, 0(r31) +/* 800A81F8 000A5158 90 1F 00 04 */ stw r0, 4(r31) +/* 800A81FC 000A515C 41 82 00 1C */ beq lbl_800A8218 +/* 800A8200 000A5160 7C 83 23 78 */ mr r3, r4 +/* 800A8204 000A5164 7F E4 FB 78 */ mr r4, r31 +/* 800A8208 000A5168 81 83 00 00 */ lwz r12, 0(r3) +/* 800A820C 000A516C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A8210 000A5170 7D 89 03 A6 */ mtctr r12 +/* 800A8214 000A5174 4E 80 04 21 */ bctrl +lbl_800A8218: +/* 800A8218 000A5178 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A821C 000A517C 7F E3 FB 78 */ mr r3, r31 +/* 800A8220 000A5180 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A8224 000A5184 7C 08 03 A6 */ mtlr r0 +/* 800A8228 000A5188 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A822C 000A518C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR7CWeapon" +"Visit__26TCastToPtr<12CScriptSound>FR7CWeapon": +/* 800A8230 000A5190 38 00 00 00 */ li r0, 0 +/* 800A8234 000A5194 90 03 00 04 */ stw r0, 4(r3) +/* 800A8238 000A5198 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR17CWallCrawlerSwarm" +"Visit__26TCastToPtr<12CScriptSound>FR17CWallCrawlerSwarm": +/* 800A823C 000A519C 38 00 00 00 */ li r0, 0 +/* 800A8240 000A51A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8244 000A51A4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR20CScriptSpindleCamera" +"Visit__26TCastToPtr<12CScriptSound>FR20CScriptSpindleCamera": +/* 800A8248 000A51A8 38 00 00 00 */ li r0, 0 +/* 800A824C 000A51AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8250 000A51B0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR15CSnakeWeedSwarm" +"Visit__26TCastToPtr<12CScriptSound>FR15CSnakeWeedSwarm": +/* 800A8254 000A51B4 38 00 00 00 */ li r0, 0 +/* 800A8258 000A51B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A825C 000A51BC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR15CScriptWaypoint" +"Visit__26TCastToPtr<12CScriptSound>FR15CScriptWaypoint": +/* 800A8260 000A51C0 38 00 00 00 */ li r0, 0 +/* 800A8264 000A51C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8268 000A51C8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR12CScriptWater" +"Visit__26TCastToPtr<12CScriptSound>FR12CScriptWater": +/* 800A826C 000A51CC 38 00 00 00 */ li r0, 0 +/* 800A8270 000A51D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8274 000A51D4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptVisorFlare" +"Visit__26TCastToPtr<12CScriptSound>FR17CScriptVisorFlare": +/* 800A8278 000A51D8 38 00 00 00 */ li r0, 0 +/* 800A827C 000A51DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8280 000A51E0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR14CScriptTrigger" +"Visit__26TCastToPtr<12CScriptSound>FR14CScriptTrigger": +/* 800A8284 000A51E4 38 00 00 00 */ li r0, 0 +/* 800A8288 000A51E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A828C 000A51EC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR12CScriptTimer" +"Visit__26TCastToPtr<12CScriptSound>FR12CScriptTimer": +/* 800A8290 000A51F0 38 00 00 00 */ li r0, 0 +/* 800A8294 000A51F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8298 000A51F8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR10CTeamAiMgr" +"Visit__26TCastToPtr<12CScriptSound>FR10CTeamAiMgr": +/* 800A829C 000A51FC 38 00 00 00 */ li r0, 0 +/* 800A82A0 000A5200 90 03 00 04 */ stw r0, 4(r3) +/* 800A82A4 000A5204 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR21CScriptTargetingPoint" +"Visit__26TCastToPtr<12CScriptSound>FR21CScriptTargetingPoint": +/* 800A82A8 000A5208 38 00 00 00 */ li r0, 0 +/* 800A82AC 000A520C 90 03 00 04 */ stw r0, 4(r3) +/* 800A82B0 000A5210 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR25CScriptSpiderBallWaypoint" +"Visit__26TCastToPtr<12CScriptSound>FR25CScriptSpiderBallWaypoint": +/* 800A82B4 000A5214 38 00 00 00 */ li r0, 0 +/* 800A82B8 000A5218 90 03 00 04 */ stw r0, 4(r3) +/* 800A82BC 000A521C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR34CScriptSpiderBallAttractionSurface" +"Visit__26TCastToPtr<12CScriptSound>FR34CScriptSpiderBallAttractionSurface": +/* 800A82C0 000A5220 38 00 00 00 */ li r0, 0 +/* 800A82C4 000A5224 90 03 00 04 */ stw r0, 4(r3) +/* 800A82C8 000A5228 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR22CScriptSpecialFunction" +"Visit__26TCastToPtr<12CScriptSound>FR22CScriptSpecialFunction": +/* 800A82CC 000A522C 38 00 00 00 */ li r0, 0 +/* 800A82D0 000A5230 90 03 00 04 */ stw r0, 4(r3) +/* 800A82D4 000A5234 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptSpawnPoint" +"Visit__26TCastToPtr<12CScriptSound>FR17CScriptSpawnPoint": +/* 800A82D8 000A5238 38 00 00 00 */ li r0, 0 +/* 800A82DC 000A523C 90 03 00 04 */ stw r0, 4(r3) +/* 800A82E0 000A5240 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR12CScriptSound" +"Visit__26TCastToPtr<12CScriptSound>FR12CScriptSound": +/* 800A82E4 000A5244 90 83 00 04 */ stw r4, 4(r3) +/* 800A82E8 000A5248 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR20CScriptRoomAcoustics" +"Visit__26TCastToPtr<12CScriptSound>FR20CScriptRoomAcoustics": +/* 800A82EC 000A524C 38 00 00 00 */ li r0, 0 +/* 800A82F0 000A5250 90 03 00 04 */ stw r0, 4(r3) +/* 800A82F4 000A5254 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR22CScriptPointOfinterest" +"Visit__26TCastToPtr<12CScriptSound>FR22CScriptPointOfinterest": +/* 800A82F8 000A5258 38 00 00 00 */ li r0, 0 +/* 800A82FC 000A525C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8300 000A5260 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptPlayerHint" +"Visit__26TCastToPtr<12CScriptSound>FR17CScriptPlayerHint": +/* 800A8304 000A5264 38 00 00 00 */ li r0, 0 +/* 800A8308 000A5268 90 03 00 04 */ stw r0, 4(r3) +/* 800A830C 000A526C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR15CScriptPlatform" +"Visit__26TCastToPtr<12CScriptSound>FR15CScriptPlatform": +/* 800A8310 000A5270 38 00 00 00 */ li r0, 0 +/* 800A8314 000A5274 90 03 00 04 */ stw r0, 4(r3) +/* 800A8318 000A5278 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR13CScriptPickup" +"Visit__26TCastToPtr<12CScriptSound>FR13CScriptPickup": +/* 800A831C 000A527C 38 00 00 00 */ li r0, 0 +/* 800A8320 000A5280 90 03 00 04 */ stw r0, 4(r3) +/* 800A8324 000A5284 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR15CScriptMazeNode" +"Visit__26TCastToPtr<12CScriptSound>FR15CScriptMazeNode": +/* 800A8328 000A5288 38 00 00 00 */ li r0, 0 +/* 800A832C 000A528C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8330 000A5290 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR16CScriptGunTurret" +"Visit__26TCastToPtr<12CScriptSound>FR16CScriptGunTurret": +/* 800A8334 000A5294 38 00 00 00 */ li r0, 0 +/* 800A8338 000A5298 90 03 00 04 */ stw r0, 4(r3) +/* 800A833C 000A529C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR19CScriptGrapplePoint" +"Visit__26TCastToPtr<12CScriptSound>FR19CScriptGrapplePoint": +/* 800A8340 000A52A0 38 00 00 00 */ li r0, 0 +/* 800A8344 000A52A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8348 000A52A8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR13CScriptEffect" +"Visit__26TCastToPtr<12CScriptSound>FR13CScriptEffect": +/* 800A834C 000A52AC 38 00 00 00 */ li r0, 0 +/* 800A8350 000A52B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8354 000A52B4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR11CScriptDoor" +"Visit__26TCastToPtr<12CScriptSound>FR11CScriptDoor": +/* 800A8358 000A52B8 38 00 00 00 */ li r0, 0 +/* 800A835C 000A52BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8360 000A52C0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR11CScriptDock" +"Visit__26TCastToPtr<12CScriptSound>FR11CScriptDock": +/* 800A8364 000A52C4 38 00 00 00 */ li r0, 0 +/* 800A8368 000A52C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A836C 000A52CC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR18CScriptDistanceFog" +"Visit__26TCastToPtr<12CScriptSound>FR18CScriptDistanceFog": +/* 800A8370 000A52D0 38 00 00 00 */ li r0, 0 +/* 800A8374 000A52D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8378 000A52D8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR26CScriptDebugCameraWaypoint" +"Visit__26TCastToPtr<12CScriptSound>FR26CScriptDebugCameraWaypoint": +/* 800A837C 000A52DC 38 00 00 00 */ li r0, 0 +/* 800A8380 000A52E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8384 000A52E4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptCoverPoint" +"Visit__26TCastToPtr<12CScriptSound>FR17CScriptCoverPoint": +/* 800A8388 000A52E8 38 00 00 00 */ li r0, 0 +/* 800A838C 000A52EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8390 000A52F0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR21CScriptCameraWaypoint" +"Visit__26TCastToPtr<12CScriptSound>FR21CScriptCameraWaypoint": +/* 800A8394 000A52F4 38 00 00 00 */ li r0, 0 +/* 800A8398 000A52F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A839C 000A52FC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR24CScriptCameraPitchVolume" +"Visit__26TCastToPtr<12CScriptSound>FR24CScriptCameraPitchVolume": +/* 800A83A0 000A5300 38 00 00 00 */ li r0, 0 +/* 800A83A4 000A5304 90 03 00 04 */ stw r0, 4(r3) +/* 800A83A8 000A5308 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptCameraHint" +"Visit__26TCastToPtr<12CScriptSound>FR17CScriptCameraHint": +/* 800A83AC 000A530C 38 00 00 00 */ li r0, 0 +/* 800A83B0 000A5310 90 03 00 04 */ stw r0, 4(r3) +/* 800A83B4 000A5314 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR18CScriptAiJumpPoint" +"Visit__26TCastToPtr<12CScriptSound>FR18CScriptAiJumpPoint": +/* 800A83B8 000A5318 38 00 00 00 */ li r0, 0 +/* 800A83BC 000A531C 90 03 00 04 */ stw r0, 4(r3) +/* 800A83C0 000A5320 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR20CScriptActorKeyframe" +"Visit__26TCastToPtr<12CScriptSound>FR20CScriptActorKeyframe": +/* 800A83C4 000A5324 38 00 00 00 */ li r0, 0 +/* 800A83C8 000A5328 90 03 00 04 */ stw r0, 4(r3) +/* 800A83CC 000A532C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR12CScriptActor" +"Visit__26TCastToPtr<12CScriptSound>FR12CScriptActor": +/* 800A83D0 000A5330 38 00 00 00 */ li r0, 0 +/* 800A83D4 000A5334 90 03 00 04 */ stw r0, 4(r3) +/* 800A83D8 000A5338 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR9CRepulsor" +"Visit__26TCastToPtr<12CScriptSound>FR9CRepulsor": +/* 800A83DC 000A533C 38 00 00 00 */ li r0, 0 +/* 800A83E0 000A5340 90 03 00 04 */ stw r0, 4(r3) +/* 800A83E4 000A5344 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR7CPlayer" +"Visit__26TCastToPtr<12CScriptSound>FR7CPlayer": +/* 800A83E8 000A5348 38 00 00 00 */ li r0, 0 +/* 800A83EC 000A534C 90 03 00 04 */ stw r0, 4(r3) +/* 800A83F0 000A5350 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR13CPhysicsActor" +"Visit__26TCastToPtr<12CScriptSound>FR13CPhysicsActor": +/* 800A83F4 000A5354 38 00 00 00 */ li r0, 0 +/* 800A83F8 000A5358 90 03 00 04 */ stw r0, 4(r3) +/* 800A83FC 000A535C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR3CAi" +"Visit__26TCastToPtr<12CScriptSound>FR3CAi": +/* 800A8400 000A5360 38 00 00 00 */ li r0, 0 +/* 800A8404 000A5364 90 03 00 04 */ stw r0, 4(r3) +/* 800A8408 000A5368 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR11CPathCamera" +"Visit__26TCastToPtr<12CScriptSound>FR11CPathCamera": +/* 800A840C 000A536C 38 00 00 00 */ li r0, 0 +/* 800A8410 000A5370 90 03 00 04 */ stw r0, 4(r3) +/* 800A8414 000A5374 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR18CMetroidPrimeRelay" +"Visit__26TCastToPtr<12CScriptSound>FR18CMetroidPrimeRelay": +/* 800A8418 000A5378 38 00 00 00 */ li r0, 0 +/* 800A841C 000A537C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8420 000A5380 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR19CHUDBillboardEffect" +"Visit__26TCastToPtr<12CScriptSound>FR19CHUDBillboardEffect": +/* 800A8424 000A5384 38 00 00 00 */ li r0, 0 +/* 800A8428 000A5388 90 03 00 04 */ stw r0, 4(r3) +/* 800A842C 000A538C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR15CGameProjectile" +"Visit__26TCastToPtr<12CScriptSound>FR15CGameProjectile": +/* 800A8430 000A5390 38 00 00 00 */ li r0, 0 +/* 800A8434 000A5394 90 03 00 04 */ stw r0, 4(r3) +/* 800A8438 000A5398 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR10CGameLight" +"Visit__26TCastToPtr<12CScriptSound>FR10CGameLight": +/* 800A843C 000A539C 38 00 00 00 */ li r0, 0 +/* 800A8440 000A53A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8444 000A53A4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR11CGameCamera" +"Visit__26TCastToPtr<12CScriptSound>FR11CGameCamera": +/* 800A8448 000A53A8 38 00 00 00 */ li r0, 0 +/* 800A844C 000A53AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8450 000A53B0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR10CFishCloud" +"Visit__26TCastToPtr<12CScriptSound>FR10CFishCloud": +/* 800A8454 000A53B4 38 00 00 00 */ li r0, 0 +/* 800A8458 000A53B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A845C 000A53BC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR18CFirstPersonCamera" +"Visit__26TCastToPtr<12CScriptSound>FR18CFirstPersonCamera": +/* 800A8460 000A53C0 38 00 00 00 */ li r0, 0 +/* 800A8464 000A53C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8468 000A53C8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR10CExplosion" +"Visit__26TCastToPtr<12CScriptSound>FR10CExplosion": +/* 800A846C 000A53CC 38 00 00 00 */ li r0, 0 +/* 800A8470 000A53D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8474 000A53D4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR7CEntity" +"Visit__26TCastToPtr<12CScriptSound>FR7CEntity": +/* 800A8478 000A53D8 38 00 00 00 */ li r0, 0 +/* 800A847C 000A53DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8480 000A53E0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR17CEnergyProjectile" +"Visit__26TCastToPtr<12CScriptSound>FR17CEnergyProjectile": +/* 800A8484 000A53E4 38 00 00 00 */ li r0, 0 +/* 800A8488 000A53E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A848C 000A53EC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR16CDestroyableRock" +"Visit__26TCastToPtr<12CScriptSound>FR16CDestroyableRock": +/* 800A8490 000A53F0 38 00 00 00 */ li r0, 0 +/* 800A8494 000A53F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8498 000A53F8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR15CCollisionActor" +"Visit__26TCastToPtr<12CScriptSound>FR15CCollisionActor": +/* 800A849C 000A53FC 38 00 00 00 */ li r0, 0 +/* 800A84A0 000A5400 90 03 00 04 */ stw r0, 4(r3) +/* 800A84A4 000A5404 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR16CCinematicCamera" +"Visit__26TCastToPtr<12CScriptSound>FR16CCinematicCamera": +/* 800A84A8 000A5408 38 00 00 00 */ li r0, 0 +/* 800A84AC 000A540C 90 03 00 04 */ stw r0, 4(r3) +/* 800A84B0 000A5410 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR5CBomb" +"Visit__26TCastToPtr<12CScriptSound>FR5CBomb": +/* 800A84B4 000A5414 38 00 00 00 */ li r0, 0 +/* 800A84B8 000A5418 90 03 00 04 */ stw r0, 4(r3) +/* 800A84BC 000A541C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR11CBallCamera" +"Visit__26TCastToPtr<12CScriptSound>FR11CBallCamera": +/* 800A84C0 000A5420 38 00 00 00 */ li r0, 0 +/* 800A84C4 000A5424 90 03 00 04 */ stw r0, 4(r3) +/* 800A84C8 000A5428 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptSound>FR6CActor" +"Visit__26TCastToPtr<12CScriptSound>FR6CActor": +/* 800A84CC 000A542C 38 00 00 00 */ li r0, 0 +/* 800A84D0 000A5430 90 03 00 04 */ stw r0, 4(r3) +/* 800A84D4 000A5434 4E 80 00 20 */ blr + +.global "__ct__26TCastToPtr<12CScriptSound>FP7CEntity" +"__ct__26TCastToPtr<12CScriptSound>FP7CEntity": +/* 800A84D8 000A5438 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A84DC 000A543C 7C 08 02 A6 */ mflr r0 +/* 800A84E0 000A5440 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A84E4 000A5444 3C A0 80 3E */ lis r5, lbl_803DE268@ha +/* 800A84E8 000A5448 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A84EC 000A544C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A84F0 000A5450 28 04 00 00 */ cmplwi r4, 0 +/* 800A84F4 000A5454 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A84F8 000A5458 7C 7F 1B 78 */ mr r31, r3 +/* 800A84FC 000A545C 38 65 E2 68 */ addi r3, r5, lbl_803DE268@l +/* 800A8500 000A5460 90 1F 00 00 */ stw r0, 0(r31) +/* 800A8504 000A5464 38 00 00 00 */ li r0, 0 +/* 800A8508 000A5468 90 7F 00 00 */ stw r3, 0(r31) +/* 800A850C 000A546C 90 1F 00 04 */ stw r0, 4(r31) +/* 800A8510 000A5470 41 82 00 1C */ beq lbl_800A852C +/* 800A8514 000A5474 7C 83 23 78 */ mr r3, r4 +/* 800A8518 000A5478 7F E4 FB 78 */ mr r4, r31 +/* 800A851C 000A547C 81 83 00 00 */ lwz r12, 0(r3) +/* 800A8520 000A5480 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A8524 000A5484 7D 89 03 A6 */ mtctr r12 +/* 800A8528 000A5488 4E 80 04 21 */ bctrl +lbl_800A852C: +/* 800A852C 000A548C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A8530 000A5490 7F E3 FB 78 */ mr r3, r31 +/* 800A8534 000A5494 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A8538 000A5498 7C 08 03 A6 */ mtlr r0 +/* 800A853C 000A549C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A8540 000A54A0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CWeapon" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CWeapon": +/* 800A8544 000A54A4 38 00 00 00 */ li r0, 0 +/* 800A8548 000A54A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A854C 000A54AC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CWallCrawlerSwarm" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CWallCrawlerSwarm": +/* 800A8550 000A54B0 38 00 00 00 */ li r0, 0 +/* 800A8554 000A54B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8558 000A54B8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptSpindleCamera" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptSpindleCamera": +/* 800A855C 000A54BC 38 00 00 00 */ li r0, 0 +/* 800A8560 000A54C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8564 000A54C4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CSnakeWeedSwarm" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CSnakeWeedSwarm": +/* 800A8568 000A54C8 38 00 00 00 */ li r0, 0 +/* 800A856C 000A54CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8570 000A54D0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptWaypoint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptWaypoint": +/* 800A8574 000A54D4 38 00 00 00 */ li r0, 0 +/* 800A8578 000A54D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A857C 000A54DC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptWater" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptWater": +/* 800A8580 000A54E0 38 00 00 00 */ li r0, 0 +/* 800A8584 000A54E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8588 000A54E8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptVisorFlare" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptVisorFlare": +/* 800A858C 000A54EC 38 00 00 00 */ li r0, 0 +/* 800A8590 000A54F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8594 000A54F4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR14CScriptTrigger" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR14CScriptTrigger": +/* 800A8598 000A54F8 38 00 00 00 */ li r0, 0 +/* 800A859C 000A54FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A85A0 000A5500 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptTimer" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptTimer": +/* 800A85A4 000A5504 38 00 00 00 */ li r0, 0 +/* 800A85A8 000A5508 90 03 00 04 */ stw r0, 4(r3) +/* 800A85AC 000A550C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CTeamAiMgr" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CTeamAiMgr": +/* 800A85B0 000A5510 38 00 00 00 */ li r0, 0 +/* 800A85B4 000A5514 90 03 00 04 */ stw r0, 4(r3) +/* 800A85B8 000A5518 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR21CScriptTargetingPoint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR21CScriptTargetingPoint": +/* 800A85BC 000A551C 38 00 00 00 */ li r0, 0 +/* 800A85C0 000A5520 90 03 00 04 */ stw r0, 4(r3) +/* 800A85C4 000A5524 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR25CScriptSpiderBallWaypoint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR25CScriptSpiderBallWaypoint": +/* 800A85C8 000A5528 38 00 00 00 */ li r0, 0 +/* 800A85CC 000A552C 90 03 00 04 */ stw r0, 4(r3) +/* 800A85D0 000A5530 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR34CScriptSpiderBallAttractionSurface" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR34CScriptSpiderBallAttractionSurface": +/* 800A85D4 000A5534 38 00 00 00 */ li r0, 0 +/* 800A85D8 000A5538 90 03 00 04 */ stw r0, 4(r3) +/* 800A85DC 000A553C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR22CScriptSpecialFunction" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR22CScriptSpecialFunction": +/* 800A85E0 000A5540 38 00 00 00 */ li r0, 0 +/* 800A85E4 000A5544 90 03 00 04 */ stw r0, 4(r3) +/* 800A85E8 000A5548 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptSpawnPoint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptSpawnPoint": +/* 800A85EC 000A554C 38 00 00 00 */ li r0, 0 +/* 800A85F0 000A5550 90 03 00 04 */ stw r0, 4(r3) +/* 800A85F4 000A5554 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptSound" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptSound": +/* 800A85F8 000A5558 38 00 00 00 */ li r0, 0 +/* 800A85FC 000A555C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8600 000A5560 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptRoomAcoustics" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptRoomAcoustics": +/* 800A8604 000A5564 90 83 00 04 */ stw r4, 4(r3) +/* 800A8608 000A5568 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR22CScriptPointOfinterest" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR22CScriptPointOfinterest": +/* 800A860C 000A556C 38 00 00 00 */ li r0, 0 +/* 800A8610 000A5570 90 03 00 04 */ stw r0, 4(r3) +/* 800A8614 000A5574 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptPlayerHint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptPlayerHint": +/* 800A8618 000A5578 38 00 00 00 */ li r0, 0 +/* 800A861C 000A557C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8620 000A5580 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptPlatform" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptPlatform": +/* 800A8624 000A5584 38 00 00 00 */ li r0, 0 +/* 800A8628 000A5588 90 03 00 04 */ stw r0, 4(r3) +/* 800A862C 000A558C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CScriptPickup" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CScriptPickup": +/* 800A8630 000A5590 38 00 00 00 */ li r0, 0 +/* 800A8634 000A5594 90 03 00 04 */ stw r0, 4(r3) +/* 800A8638 000A5598 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptMazeNode" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptMazeNode": +/* 800A863C 000A559C 38 00 00 00 */ li r0, 0 +/* 800A8640 000A55A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8644 000A55A4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CScriptGunTurret" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CScriptGunTurret": +/* 800A8648 000A55A8 38 00 00 00 */ li r0, 0 +/* 800A864C 000A55AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8650 000A55B0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR19CScriptGrapplePoint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR19CScriptGrapplePoint": +/* 800A8654 000A55B4 38 00 00 00 */ li r0, 0 +/* 800A8658 000A55B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A865C 000A55BC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CScriptEffect" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CScriptEffect": +/* 800A8660 000A55C0 38 00 00 00 */ li r0, 0 +/* 800A8664 000A55C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8668 000A55C8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CScriptDoor" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CScriptDoor": +/* 800A866C 000A55CC 38 00 00 00 */ li r0, 0 +/* 800A8670 000A55D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8674 000A55D4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CScriptDock" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CScriptDock": +/* 800A8678 000A55D8 38 00 00 00 */ li r0, 0 +/* 800A867C 000A55DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8680 000A55E0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CScriptDistanceFog" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CScriptDistanceFog": +/* 800A8684 000A55E4 38 00 00 00 */ li r0, 0 +/* 800A8688 000A55E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A868C 000A55EC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR26CScriptDebugCameraWaypoint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR26CScriptDebugCameraWaypoint": +/* 800A8690 000A55F0 38 00 00 00 */ li r0, 0 +/* 800A8694 000A55F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8698 000A55F8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptCoverPoint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptCoverPoint": +/* 800A869C 000A55FC 38 00 00 00 */ li r0, 0 +/* 800A86A0 000A5600 90 03 00 04 */ stw r0, 4(r3) +/* 800A86A4 000A5604 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR21CScriptCameraWaypoint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR21CScriptCameraWaypoint": +/* 800A86A8 000A5608 38 00 00 00 */ li r0, 0 +/* 800A86AC 000A560C 90 03 00 04 */ stw r0, 4(r3) +/* 800A86B0 000A5610 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR24CScriptCameraPitchVolume" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR24CScriptCameraPitchVolume": +/* 800A86B4 000A5614 38 00 00 00 */ li r0, 0 +/* 800A86B8 000A5618 90 03 00 04 */ stw r0, 4(r3) +/* 800A86BC 000A561C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptCameraHint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptCameraHint": +/* 800A86C0 000A5620 38 00 00 00 */ li r0, 0 +/* 800A86C4 000A5624 90 03 00 04 */ stw r0, 4(r3) +/* 800A86C8 000A5628 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CScriptAiJumpPoint" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CScriptAiJumpPoint": +/* 800A86CC 000A562C 38 00 00 00 */ li r0, 0 +/* 800A86D0 000A5630 90 03 00 04 */ stw r0, 4(r3) +/* 800A86D4 000A5634 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptActorKeyframe" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptActorKeyframe": +/* 800A86D8 000A5638 38 00 00 00 */ li r0, 0 +/* 800A86DC 000A563C 90 03 00 04 */ stw r0, 4(r3) +/* 800A86E0 000A5640 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptActor" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptActor": +/* 800A86E4 000A5644 38 00 00 00 */ li r0, 0 +/* 800A86E8 000A5648 90 03 00 04 */ stw r0, 4(r3) +/* 800A86EC 000A564C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR9CRepulsor" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR9CRepulsor": +/* 800A86F0 000A5650 38 00 00 00 */ li r0, 0 +/* 800A86F4 000A5654 90 03 00 04 */ stw r0, 4(r3) +/* 800A86F8 000A5658 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CPlayer" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CPlayer": +/* 800A86FC 000A565C 38 00 00 00 */ li r0, 0 +/* 800A8700 000A5660 90 03 00 04 */ stw r0, 4(r3) +/* 800A8704 000A5664 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CPhysicsActor" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CPhysicsActor": +/* 800A8708 000A5668 38 00 00 00 */ li r0, 0 +/* 800A870C 000A566C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8710 000A5670 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR3CAi" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR3CAi": +/* 800A8714 000A5674 38 00 00 00 */ li r0, 0 +/* 800A8718 000A5678 90 03 00 04 */ stw r0, 4(r3) +/* 800A871C 000A567C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CPathCamera" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CPathCamera": +/* 800A8720 000A5680 38 00 00 00 */ li r0, 0 +/* 800A8724 000A5684 90 03 00 04 */ stw r0, 4(r3) +/* 800A8728 000A5688 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CMetroidPrimeRelay" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CMetroidPrimeRelay": +/* 800A872C 000A568C 38 00 00 00 */ li r0, 0 +/* 800A8730 000A5690 90 03 00 04 */ stw r0, 4(r3) +/* 800A8734 000A5694 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR19CHUDBillboardEffect" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR19CHUDBillboardEffect": +/* 800A8738 000A5698 38 00 00 00 */ li r0, 0 +/* 800A873C 000A569C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8740 000A56A0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CGameProjectile" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CGameProjectile": +/* 800A8744 000A56A4 38 00 00 00 */ li r0, 0 +/* 800A8748 000A56A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A874C 000A56AC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CGameLight" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CGameLight": +/* 800A8750 000A56B0 38 00 00 00 */ li r0, 0 +/* 800A8754 000A56B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8758 000A56B8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CGameCamera" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CGameCamera": +/* 800A875C 000A56BC 38 00 00 00 */ li r0, 0 +/* 800A8760 000A56C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8764 000A56C4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CFishCloud" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CFishCloud": +/* 800A8768 000A56C8 38 00 00 00 */ li r0, 0 +/* 800A876C 000A56CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8770 000A56D0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CFirstPersonCamera" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CFirstPersonCamera": +/* 800A8774 000A56D4 38 00 00 00 */ li r0, 0 +/* 800A8778 000A56D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A877C 000A56DC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CExplosion" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CExplosion": +/* 800A8780 000A56E0 38 00 00 00 */ li r0, 0 +/* 800A8784 000A56E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8788 000A56E8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CEntity" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CEntity": +/* 800A878C 000A56EC 38 00 00 00 */ li r0, 0 +/* 800A8790 000A56F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8794 000A56F4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CEnergyProjectile" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CEnergyProjectile": +/* 800A8798 000A56F8 38 00 00 00 */ li r0, 0 +/* 800A879C 000A56FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A87A0 000A5700 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CDestroyableRock" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CDestroyableRock": +/* 800A87A4 000A5704 38 00 00 00 */ li r0, 0 +/* 800A87A8 000A5708 90 03 00 04 */ stw r0, 4(r3) +/* 800A87AC 000A570C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CCollisionActor" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CCollisionActor": +/* 800A87B0 000A5710 38 00 00 00 */ li r0, 0 +/* 800A87B4 000A5714 90 03 00 04 */ stw r0, 4(r3) +/* 800A87B8 000A5718 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CCinematicCamera" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CCinematicCamera": +/* 800A87BC 000A571C 38 00 00 00 */ li r0, 0 +/* 800A87C0 000A5720 90 03 00 04 */ stw r0, 4(r3) +/* 800A87C4 000A5724 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR5CBomb" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR5CBomb": +/* 800A87C8 000A5728 38 00 00 00 */ li r0, 0 +/* 800A87CC 000A572C 90 03 00 04 */ stw r0, 4(r3) +/* 800A87D0 000A5730 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CBallCamera" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CBallCamera": +/* 800A87D4 000A5734 38 00 00 00 */ li r0, 0 +/* 800A87D8 000A5738 90 03 00 04 */ stw r0, 4(r3) +/* 800A87DC 000A573C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR6CActor" +"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR6CActor": +/* 800A87E0 000A5740 38 00 00 00 */ li r0, 0 +/* 800A87E4 000A5744 90 03 00 04 */ stw r0, 4(r3) +/* 800A87E8 000A5748 4E 80 00 20 */ blr + +.global "__ct__34TCastToPtr<20CScriptRoomAcoustics>FP7CEntity" +"__ct__34TCastToPtr<20CScriptRoomAcoustics>FP7CEntity": +/* 800A87EC 000A574C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A87F0 000A5750 7C 08 02 A6 */ mflr r0 +/* 800A87F4 000A5754 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A87F8 000A5758 3C A0 80 3E */ lis r5, lbl_803DE17C@ha +/* 800A87FC 000A575C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A8800 000A5760 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A8804 000A5764 28 04 00 00 */ cmplwi r4, 0 +/* 800A8808 000A5768 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A880C 000A576C 7C 7F 1B 78 */ mr r31, r3 +/* 800A8810 000A5770 38 65 E1 7C */ addi r3, r5, lbl_803DE17C@l +/* 800A8814 000A5774 90 1F 00 00 */ stw r0, 0(r31) +/* 800A8818 000A5778 38 00 00 00 */ li r0, 0 +/* 800A881C 000A577C 90 7F 00 00 */ stw r3, 0(r31) +/* 800A8820 000A5780 90 1F 00 04 */ stw r0, 4(r31) +/* 800A8824 000A5784 41 82 00 1C */ beq lbl_800A8840 +/* 800A8828 000A5788 7C 83 23 78 */ mr r3, r4 +/* 800A882C 000A578C 7F E4 FB 78 */ mr r4, r31 +/* 800A8830 000A5790 81 83 00 00 */ lwz r12, 0(r3) +/* 800A8834 000A5794 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A8838 000A5798 7D 89 03 A6 */ mtctr r12 +/* 800A883C 000A579C 4E 80 04 21 */ bctrl +lbl_800A8840: +/* 800A8840 000A57A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A8844 000A57A4 7F E3 FB 78 */ mr r3, r31 +/* 800A8848 000A57A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A884C 000A57AC 7C 08 03 A6 */ mtlr r0 +/* 800A8850 000A57B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A8854 000A57B4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR7CWeapon" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR7CWeapon": +/* 800A8858 000A57B8 38 00 00 00 */ li r0, 0 +/* 800A885C 000A57BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8860 000A57C0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CWallCrawlerSwarm" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CWallCrawlerSwarm": +/* 800A8864 000A57C4 38 00 00 00 */ li r0, 0 +/* 800A8868 000A57C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A886C 000A57CC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptSpindleCamera" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptSpindleCamera": +/* 800A8870 000A57D0 38 00 00 00 */ li r0, 0 +/* 800A8874 000A57D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8878 000A57D8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CSnakeWeedSwarm" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CSnakeWeedSwarm": +/* 800A887C 000A57DC 38 00 00 00 */ li r0, 0 +/* 800A8880 000A57E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8884 000A57E4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptWaypoint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptWaypoint": +/* 800A8888 000A57E8 38 00 00 00 */ li r0, 0 +/* 800A888C 000A57EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8890 000A57F0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptWater" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptWater": +/* 800A8894 000A57F4 38 00 00 00 */ li r0, 0 +/* 800A8898 000A57F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A889C 000A57FC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptVisorFlare" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptVisorFlare": +/* 800A88A0 000A5800 38 00 00 00 */ li r0, 0 +/* 800A88A4 000A5804 90 03 00 04 */ stw r0, 4(r3) +/* 800A88A8 000A5808 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR14CScriptTrigger" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR14CScriptTrigger": +/* 800A88AC 000A580C 38 00 00 00 */ li r0, 0 +/* 800A88B0 000A5810 90 03 00 04 */ stw r0, 4(r3) +/* 800A88B4 000A5814 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptTimer" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptTimer": +/* 800A88B8 000A5818 38 00 00 00 */ li r0, 0 +/* 800A88BC 000A581C 90 03 00 04 */ stw r0, 4(r3) +/* 800A88C0 000A5820 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR10CTeamAiMgr" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR10CTeamAiMgr": +/* 800A88C4 000A5824 38 00 00 00 */ li r0, 0 +/* 800A88C8 000A5828 90 03 00 04 */ stw r0, 4(r3) +/* 800A88CC 000A582C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR21CScriptTargetingPoint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR21CScriptTargetingPoint": +/* 800A88D0 000A5830 38 00 00 00 */ li r0, 0 +/* 800A88D4 000A5834 90 03 00 04 */ stw r0, 4(r3) +/* 800A88D8 000A5838 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR25CScriptSpiderBallWaypoint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR25CScriptSpiderBallWaypoint": +/* 800A88DC 000A583C 38 00 00 00 */ li r0, 0 +/* 800A88E0 000A5840 90 03 00 04 */ stw r0, 4(r3) +/* 800A88E4 000A5844 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR34CScriptSpiderBallAttractionSurface" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR34CScriptSpiderBallAttractionSurface": +/* 800A88E8 000A5848 38 00 00 00 */ li r0, 0 +/* 800A88EC 000A584C 90 03 00 04 */ stw r0, 4(r3) +/* 800A88F0 000A5850 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR22CScriptSpecialFunction" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR22CScriptSpecialFunction": +/* 800A88F4 000A5854 38 00 00 00 */ li r0, 0 +/* 800A88F8 000A5858 90 03 00 04 */ stw r0, 4(r3) +/* 800A88FC 000A585C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptSpawnPoint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptSpawnPoint": +/* 800A8900 000A5860 38 00 00 00 */ li r0, 0 +/* 800A8904 000A5864 90 03 00 04 */ stw r0, 4(r3) +/* 800A8908 000A5868 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptSound" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptSound": +/* 800A890C 000A586C 38 00 00 00 */ li r0, 0 +/* 800A8910 000A5870 90 03 00 04 */ stw r0, 4(r3) +/* 800A8914 000A5874 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptRoomAcoustics" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptRoomAcoustics": +/* 800A8918 000A5878 38 00 00 00 */ li r0, 0 +/* 800A891C 000A587C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8920 000A5880 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR22CScriptPointOfinterest" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR22CScriptPointOfinterest": +/* 800A8924 000A5884 38 00 00 00 */ li r0, 0 +/* 800A8928 000A5888 90 03 00 04 */ stw r0, 4(r3) +/* 800A892C 000A588C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptPlayerHint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptPlayerHint": +/* 800A8930 000A5890 90 83 00 04 */ stw r4, 4(r3) +/* 800A8934 000A5894 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptPlatform" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptPlatform": +/* 800A8938 000A5898 38 00 00 00 */ li r0, 0 +/* 800A893C 000A589C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8940 000A58A0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR13CScriptPickup" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR13CScriptPickup": +/* 800A8944 000A58A4 38 00 00 00 */ li r0, 0 +/* 800A8948 000A58A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A894C 000A58AC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptMazeNode" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptMazeNode": +/* 800A8950 000A58B0 38 00 00 00 */ li r0, 0 +/* 800A8954 000A58B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8958 000A58B8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR16CScriptGunTurret" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR16CScriptGunTurret": +/* 800A895C 000A58BC 38 00 00 00 */ li r0, 0 +/* 800A8960 000A58C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8964 000A58C4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR19CScriptGrapplePoint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR19CScriptGrapplePoint": +/* 800A8968 000A58C8 38 00 00 00 */ li r0, 0 +/* 800A896C 000A58CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8970 000A58D0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR13CScriptEffect" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR13CScriptEffect": +/* 800A8974 000A58D4 38 00 00 00 */ li r0, 0 +/* 800A8978 000A58D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A897C 000A58DC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CScriptDoor" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CScriptDoor": +/* 800A8980 000A58E0 38 00 00 00 */ li r0, 0 +/* 800A8984 000A58E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8988 000A58E8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CScriptDock" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CScriptDock": +/* 800A898C 000A58EC 38 00 00 00 */ li r0, 0 +/* 800A8990 000A58F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8994 000A58F4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR18CScriptDistanceFog" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR18CScriptDistanceFog": +/* 800A8998 000A58F8 38 00 00 00 */ li r0, 0 +/* 800A899C 000A58FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A89A0 000A5900 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR26CScriptDebugCameraWaypoint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR26CScriptDebugCameraWaypoint": +/* 800A89A4 000A5904 38 00 00 00 */ li r0, 0 +/* 800A89A8 000A5908 90 03 00 04 */ stw r0, 4(r3) +/* 800A89AC 000A590C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptCoverPoint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptCoverPoint": +/* 800A89B0 000A5910 38 00 00 00 */ li r0, 0 +/* 800A89B4 000A5914 90 03 00 04 */ stw r0, 4(r3) +/* 800A89B8 000A5918 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR21CScriptCameraWaypoint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR21CScriptCameraWaypoint": +/* 800A89BC 000A591C 38 00 00 00 */ li r0, 0 +/* 800A89C0 000A5920 90 03 00 04 */ stw r0, 4(r3) +/* 800A89C4 000A5924 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR24CScriptCameraPitchVolume" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR24CScriptCameraPitchVolume": +/* 800A89C8 000A5928 38 00 00 00 */ li r0, 0 +/* 800A89CC 000A592C 90 03 00 04 */ stw r0, 4(r3) +/* 800A89D0 000A5930 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptCameraHint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptCameraHint": +/* 800A89D4 000A5934 38 00 00 00 */ li r0, 0 +/* 800A89D8 000A5938 90 03 00 04 */ stw r0, 4(r3) +/* 800A89DC 000A593C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR18CScriptAiJumpPoint" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR18CScriptAiJumpPoint": +/* 800A89E0 000A5940 38 00 00 00 */ li r0, 0 +/* 800A89E4 000A5944 90 03 00 04 */ stw r0, 4(r3) +/* 800A89E8 000A5948 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptActorKeyframe" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptActorKeyframe": +/* 800A89EC 000A594C 38 00 00 00 */ li r0, 0 +/* 800A89F0 000A5950 90 03 00 04 */ stw r0, 4(r3) +/* 800A89F4 000A5954 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptActor" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptActor": +/* 800A89F8 000A5958 38 00 00 00 */ li r0, 0 +/* 800A89FC 000A595C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A00 000A5960 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR9CRepulsor" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR9CRepulsor": +/* 800A8A04 000A5964 38 00 00 00 */ li r0, 0 +/* 800A8A08 000A5968 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A0C 000A596C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR7CPlayer" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR7CPlayer": +/* 800A8A10 000A5970 38 00 00 00 */ li r0, 0 +/* 800A8A14 000A5974 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A18 000A5978 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR13CPhysicsActor" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR13CPhysicsActor": +/* 800A8A1C 000A597C 38 00 00 00 */ li r0, 0 +/* 800A8A20 000A5980 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A24 000A5984 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR3CAi" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR3CAi": +/* 800A8A28 000A5988 38 00 00 00 */ li r0, 0 +/* 800A8A2C 000A598C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A30 000A5990 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CPathCamera" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CPathCamera": +/* 800A8A34 000A5994 38 00 00 00 */ li r0, 0 +/* 800A8A38 000A5998 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A3C 000A599C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR18CMetroidPrimeRelay" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR18CMetroidPrimeRelay": +/* 800A8A40 000A59A0 38 00 00 00 */ li r0, 0 +/* 800A8A44 000A59A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A48 000A59A8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR19CHUDBillboardEffect" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR19CHUDBillboardEffect": +/* 800A8A4C 000A59AC 38 00 00 00 */ li r0, 0 +/* 800A8A50 000A59B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A54 000A59B4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CGameProjectile" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CGameProjectile": +/* 800A8A58 000A59B8 38 00 00 00 */ li r0, 0 +/* 800A8A5C 000A59BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A60 000A59C0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR10CGameLight" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR10CGameLight": +/* 800A8A64 000A59C4 38 00 00 00 */ li r0, 0 +/* 800A8A68 000A59C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A6C 000A59CC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CGameCamera" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CGameCamera": +/* 800A8A70 000A59D0 38 00 00 00 */ li r0, 0 +/* 800A8A74 000A59D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A78 000A59D8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR10CFishCloud" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR10CFishCloud": +/* 800A8A7C 000A59DC 38 00 00 00 */ li r0, 0 +/* 800A8A80 000A59E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A84 000A59E4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR18CFirstPersonCamera" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR18CFirstPersonCamera": +/* 800A8A88 000A59E8 38 00 00 00 */ li r0, 0 +/* 800A8A8C 000A59EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A90 000A59F0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR10CExplosion" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR10CExplosion": +/* 800A8A94 000A59F4 38 00 00 00 */ li r0, 0 +/* 800A8A98 000A59F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8A9C 000A59FC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR7CEntity" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR7CEntity": +/* 800A8AA0 000A5A00 38 00 00 00 */ li r0, 0 +/* 800A8AA4 000A5A04 90 03 00 04 */ stw r0, 4(r3) +/* 800A8AA8 000A5A08 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CEnergyProjectile" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CEnergyProjectile": +/* 800A8AAC 000A5A0C 38 00 00 00 */ li r0, 0 +/* 800A8AB0 000A5A10 90 03 00 04 */ stw r0, 4(r3) +/* 800A8AB4 000A5A14 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR16CDestroyableRock" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR16CDestroyableRock": +/* 800A8AB8 000A5A18 38 00 00 00 */ li r0, 0 +/* 800A8ABC 000A5A1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8AC0 000A5A20 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CCollisionActor" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CCollisionActor": +/* 800A8AC4 000A5A24 38 00 00 00 */ li r0, 0 +/* 800A8AC8 000A5A28 90 03 00 04 */ stw r0, 4(r3) +/* 800A8ACC 000A5A2C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR16CCinematicCamera" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR16CCinematicCamera": +/* 800A8AD0 000A5A30 38 00 00 00 */ li r0, 0 +/* 800A8AD4 000A5A34 90 03 00 04 */ stw r0, 4(r3) +/* 800A8AD8 000A5A38 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR5CBomb" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR5CBomb": +/* 800A8ADC 000A5A3C 38 00 00 00 */ li r0, 0 +/* 800A8AE0 000A5A40 90 03 00 04 */ stw r0, 4(r3) +/* 800A8AE4 000A5A44 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CBallCamera" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CBallCamera": +/* 800A8AE8 000A5A48 38 00 00 00 */ li r0, 0 +/* 800A8AEC 000A5A4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8AF0 000A5A50 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR6CActor" +"Visit__31TCastToPtr<17CScriptPlayerHint>FR6CActor": +/* 800A8AF4 000A5A54 38 00 00 00 */ li r0, 0 +/* 800A8AF8 000A5A58 90 03 00 04 */ stw r0, 4(r3) +/* 800A8AFC 000A5A5C 4E 80 00 20 */ blr + +.global "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +"__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity": +/* 800A8B00 000A5A60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A8B04 000A5A64 7C 08 02 A6 */ mflr r0 +/* 800A8B08 000A5A68 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A8B0C 000A5A6C 3C A0 80 3E */ lis r5, lbl_803DE090@ha +/* 800A8B10 000A5A70 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A8B14 000A5A74 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A8B18 000A5A78 28 04 00 00 */ cmplwi r4, 0 +/* 800A8B1C 000A5A7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A8B20 000A5A80 7C 7F 1B 78 */ mr r31, r3 +/* 800A8B24 000A5A84 38 65 E0 90 */ addi r3, r5, lbl_803DE090@l +/* 800A8B28 000A5A88 90 1F 00 00 */ stw r0, 0(r31) +/* 800A8B2C 000A5A8C 38 00 00 00 */ li r0, 0 +/* 800A8B30 000A5A90 90 7F 00 00 */ stw r3, 0(r31) +/* 800A8B34 000A5A94 90 1F 00 04 */ stw r0, 4(r31) +/* 800A8B38 000A5A98 41 82 00 1C */ beq lbl_800A8B54 +/* 800A8B3C 000A5A9C 7C 83 23 78 */ mr r3, r4 +/* 800A8B40 000A5AA0 7F E4 FB 78 */ mr r4, r31 +/* 800A8B44 000A5AA4 81 83 00 00 */ lwz r12, 0(r3) +/* 800A8B48 000A5AA8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A8B4C 000A5AAC 7D 89 03 A6 */ mtctr r12 +/* 800A8B50 000A5AB0 4E 80 04 21 */ bctrl +lbl_800A8B54: +/* 800A8B54 000A5AB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A8B58 000A5AB8 7F E3 FB 78 */ mr r3, r31 +/* 800A8B5C 000A5ABC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A8B60 000A5AC0 7C 08 03 A6 */ mtlr r0 +/* 800A8B64 000A5AC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A8B68 000A5AC8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR7CWeapon" +"Visit__29TCastToPtr<15CScriptPlatform>FR7CWeapon": +/* 800A8B6C 000A5ACC 38 00 00 00 */ li r0, 0 +/* 800A8B70 000A5AD0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8B74 000A5AD4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CWallCrawlerSwarm" +"Visit__29TCastToPtr<15CScriptPlatform>FR17CWallCrawlerSwarm": +/* 800A8B78 000A5AD8 38 00 00 00 */ li r0, 0 +/* 800A8B7C 000A5ADC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8B80 000A5AE0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptSpindleCamera" +"Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptSpindleCamera": +/* 800A8B84 000A5AE4 38 00 00 00 */ li r0, 0 +/* 800A8B88 000A5AE8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8B8C 000A5AEC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CSnakeWeedSwarm" +"Visit__29TCastToPtr<15CScriptPlatform>FR15CSnakeWeedSwarm": +/* 800A8B90 000A5AF0 38 00 00 00 */ li r0, 0 +/* 800A8B94 000A5AF4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8B98 000A5AF8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptWaypoint" +"Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptWaypoint": +/* 800A8B9C 000A5AFC 38 00 00 00 */ li r0, 0 +/* 800A8BA0 000A5B00 90 03 00 04 */ stw r0, 4(r3) +/* 800A8BA4 000A5B04 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptWater" +"Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptWater": +/* 800A8BA8 000A5B08 38 00 00 00 */ li r0, 0 +/* 800A8BAC 000A5B0C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8BB0 000A5B10 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptVisorFlare" +"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptVisorFlare": +/* 800A8BB4 000A5B14 38 00 00 00 */ li r0, 0 +/* 800A8BB8 000A5B18 90 03 00 04 */ stw r0, 4(r3) +/* 800A8BBC 000A5B1C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR14CScriptTrigger" +"Visit__29TCastToPtr<15CScriptPlatform>FR14CScriptTrigger": +/* 800A8BC0 000A5B20 38 00 00 00 */ li r0, 0 +/* 800A8BC4 000A5B24 90 03 00 04 */ stw r0, 4(r3) +/* 800A8BC8 000A5B28 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptTimer" +"Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptTimer": +/* 800A8BCC 000A5B2C 38 00 00 00 */ li r0, 0 +/* 800A8BD0 000A5B30 90 03 00 04 */ stw r0, 4(r3) +/* 800A8BD4 000A5B34 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR10CTeamAiMgr" +"Visit__29TCastToPtr<15CScriptPlatform>FR10CTeamAiMgr": +/* 800A8BD8 000A5B38 38 00 00 00 */ li r0, 0 +/* 800A8BDC 000A5B3C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8BE0 000A5B40 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR21CScriptTargetingPoint" +"Visit__29TCastToPtr<15CScriptPlatform>FR21CScriptTargetingPoint": +/* 800A8BE4 000A5B44 38 00 00 00 */ li r0, 0 +/* 800A8BE8 000A5B48 90 03 00 04 */ stw r0, 4(r3) +/* 800A8BEC 000A5B4C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR25CScriptSpiderBallWaypoint" +"Visit__29TCastToPtr<15CScriptPlatform>FR25CScriptSpiderBallWaypoint": +/* 800A8BF0 000A5B50 38 00 00 00 */ li r0, 0 +/* 800A8BF4 000A5B54 90 03 00 04 */ stw r0, 4(r3) +/* 800A8BF8 000A5B58 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR34CScriptSpiderBallAttractionSurface" +"Visit__29TCastToPtr<15CScriptPlatform>FR34CScriptSpiderBallAttractionSurface": +/* 800A8BFC 000A5B5C 38 00 00 00 */ li r0, 0 +/* 800A8C00 000A5B60 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C04 000A5B64 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR22CScriptSpecialFunction" +"Visit__29TCastToPtr<15CScriptPlatform>FR22CScriptSpecialFunction": +/* 800A8C08 000A5B68 38 00 00 00 */ li r0, 0 +/* 800A8C0C 000A5B6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C10 000A5B70 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptSpawnPoint" +"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptSpawnPoint": +/* 800A8C14 000A5B74 38 00 00 00 */ li r0, 0 +/* 800A8C18 000A5B78 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C1C 000A5B7C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptSound" +"Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptSound": +/* 800A8C20 000A5B80 38 00 00 00 */ li r0, 0 +/* 800A8C24 000A5B84 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C28 000A5B88 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptRoomAcoustics" +"Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptRoomAcoustics": +/* 800A8C2C 000A5B8C 38 00 00 00 */ li r0, 0 +/* 800A8C30 000A5B90 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C34 000A5B94 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR22CScriptPointOfinterest" +"Visit__29TCastToPtr<15CScriptPlatform>FR22CScriptPointOfinterest": +/* 800A8C38 000A5B98 38 00 00 00 */ li r0, 0 +/* 800A8C3C 000A5B9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C40 000A5BA0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptPlayerHint" +"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptPlayerHint": +/* 800A8C44 000A5BA4 38 00 00 00 */ li r0, 0 +/* 800A8C48 000A5BA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C4C 000A5BAC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptPlatform" +"Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptPlatform": +/* 800A8C50 000A5BB0 90 83 00 04 */ stw r4, 4(r3) +/* 800A8C54 000A5BB4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR13CScriptPickup" +"Visit__29TCastToPtr<15CScriptPlatform>FR13CScriptPickup": +/* 800A8C58 000A5BB8 38 00 00 00 */ li r0, 0 +/* 800A8C5C 000A5BBC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C60 000A5BC0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptMazeNode" +"Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptMazeNode": +/* 800A8C64 000A5BC4 38 00 00 00 */ li r0, 0 +/* 800A8C68 000A5BC8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C6C 000A5BCC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR16CScriptGunTurret" +"Visit__29TCastToPtr<15CScriptPlatform>FR16CScriptGunTurret": +/* 800A8C70 000A5BD0 38 00 00 00 */ li r0, 0 +/* 800A8C74 000A5BD4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C78 000A5BD8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR19CScriptGrapplePoint" +"Visit__29TCastToPtr<15CScriptPlatform>FR19CScriptGrapplePoint": +/* 800A8C7C 000A5BDC 38 00 00 00 */ li r0, 0 +/* 800A8C80 000A5BE0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C84 000A5BE4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR13CScriptEffect" +"Visit__29TCastToPtr<15CScriptPlatform>FR13CScriptEffect": +/* 800A8C88 000A5BE8 38 00 00 00 */ li r0, 0 +/* 800A8C8C 000A5BEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C90 000A5BF0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CScriptDoor" +"Visit__29TCastToPtr<15CScriptPlatform>FR11CScriptDoor": +/* 800A8C94 000A5BF4 38 00 00 00 */ li r0, 0 +/* 800A8C98 000A5BF8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8C9C 000A5BFC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CScriptDock" +"Visit__29TCastToPtr<15CScriptPlatform>FR11CScriptDock": +/* 800A8CA0 000A5C00 38 00 00 00 */ li r0, 0 +/* 800A8CA4 000A5C04 90 03 00 04 */ stw r0, 4(r3) +/* 800A8CA8 000A5C08 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR18CScriptDistanceFog" +"Visit__29TCastToPtr<15CScriptPlatform>FR18CScriptDistanceFog": +/* 800A8CAC 000A5C0C 38 00 00 00 */ li r0, 0 +/* 800A8CB0 000A5C10 90 03 00 04 */ stw r0, 4(r3) +/* 800A8CB4 000A5C14 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR26CScriptDebugCameraWaypoint" +"Visit__29TCastToPtr<15CScriptPlatform>FR26CScriptDebugCameraWaypoint": +/* 800A8CB8 000A5C18 38 00 00 00 */ li r0, 0 +/* 800A8CBC 000A5C1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8CC0 000A5C20 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptCoverPoint" +"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptCoverPoint": +/* 800A8CC4 000A5C24 38 00 00 00 */ li r0, 0 +/* 800A8CC8 000A5C28 90 03 00 04 */ stw r0, 4(r3) +/* 800A8CCC 000A5C2C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR21CScriptCameraWaypoint" +"Visit__29TCastToPtr<15CScriptPlatform>FR21CScriptCameraWaypoint": +/* 800A8CD0 000A5C30 38 00 00 00 */ li r0, 0 +/* 800A8CD4 000A5C34 90 03 00 04 */ stw r0, 4(r3) +/* 800A8CD8 000A5C38 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR24CScriptCameraPitchVolume" +"Visit__29TCastToPtr<15CScriptPlatform>FR24CScriptCameraPitchVolume": +/* 800A8CDC 000A5C3C 38 00 00 00 */ li r0, 0 +/* 800A8CE0 000A5C40 90 03 00 04 */ stw r0, 4(r3) +/* 800A8CE4 000A5C44 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptCameraHint" +"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptCameraHint": +/* 800A8CE8 000A5C48 38 00 00 00 */ li r0, 0 +/* 800A8CEC 000A5C4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8CF0 000A5C50 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR18CScriptAiJumpPoint" +"Visit__29TCastToPtr<15CScriptPlatform>FR18CScriptAiJumpPoint": +/* 800A8CF4 000A5C54 38 00 00 00 */ li r0, 0 +/* 800A8CF8 000A5C58 90 03 00 04 */ stw r0, 4(r3) +/* 800A8CFC 000A5C5C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptActorKeyframe" +"Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptActorKeyframe": +/* 800A8D00 000A5C60 38 00 00 00 */ li r0, 0 +/* 800A8D04 000A5C64 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D08 000A5C68 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptActor" +"Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptActor": +/* 800A8D0C 000A5C6C 38 00 00 00 */ li r0, 0 +/* 800A8D10 000A5C70 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D14 000A5C74 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR9CRepulsor" +"Visit__29TCastToPtr<15CScriptPlatform>FR9CRepulsor": +/* 800A8D18 000A5C78 38 00 00 00 */ li r0, 0 +/* 800A8D1C 000A5C7C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D20 000A5C80 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR7CPlayer" +"Visit__29TCastToPtr<15CScriptPlatform>FR7CPlayer": +/* 800A8D24 000A5C84 38 00 00 00 */ li r0, 0 +/* 800A8D28 000A5C88 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D2C 000A5C8C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR13CPhysicsActor" +"Visit__29TCastToPtr<15CScriptPlatform>FR13CPhysicsActor": +/* 800A8D30 000A5C90 38 00 00 00 */ li r0, 0 +/* 800A8D34 000A5C94 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D38 000A5C98 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR3CAi" +"Visit__29TCastToPtr<15CScriptPlatform>FR3CAi": +/* 800A8D3C 000A5C9C 38 00 00 00 */ li r0, 0 +/* 800A8D40 000A5CA0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D44 000A5CA4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CPathCamera" +"Visit__29TCastToPtr<15CScriptPlatform>FR11CPathCamera": +/* 800A8D48 000A5CA8 38 00 00 00 */ li r0, 0 +/* 800A8D4C 000A5CAC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D50 000A5CB0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR18CMetroidPrimeRelay" +"Visit__29TCastToPtr<15CScriptPlatform>FR18CMetroidPrimeRelay": +/* 800A8D54 000A5CB4 38 00 00 00 */ li r0, 0 +/* 800A8D58 000A5CB8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D5C 000A5CBC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR19CHUDBillboardEffect" +"Visit__29TCastToPtr<15CScriptPlatform>FR19CHUDBillboardEffect": +/* 800A8D60 000A5CC0 38 00 00 00 */ li r0, 0 +/* 800A8D64 000A5CC4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D68 000A5CC8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CGameProjectile" +"Visit__29TCastToPtr<15CScriptPlatform>FR15CGameProjectile": +/* 800A8D6C 000A5CCC 38 00 00 00 */ li r0, 0 +/* 800A8D70 000A5CD0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D74 000A5CD4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR10CGameLight" +"Visit__29TCastToPtr<15CScriptPlatform>FR10CGameLight": +/* 800A8D78 000A5CD8 38 00 00 00 */ li r0, 0 +/* 800A8D7C 000A5CDC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D80 000A5CE0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CGameCamera" +"Visit__29TCastToPtr<15CScriptPlatform>FR11CGameCamera": +/* 800A8D84 000A5CE4 38 00 00 00 */ li r0, 0 +/* 800A8D88 000A5CE8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D8C 000A5CEC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR10CFishCloud" +"Visit__29TCastToPtr<15CScriptPlatform>FR10CFishCloud": +/* 800A8D90 000A5CF0 38 00 00 00 */ li r0, 0 +/* 800A8D94 000A5CF4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8D98 000A5CF8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR18CFirstPersonCamera" +"Visit__29TCastToPtr<15CScriptPlatform>FR18CFirstPersonCamera": +/* 800A8D9C 000A5CFC 38 00 00 00 */ li r0, 0 +/* 800A8DA0 000A5D00 90 03 00 04 */ stw r0, 4(r3) +/* 800A8DA4 000A5D04 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR10CExplosion" +"Visit__29TCastToPtr<15CScriptPlatform>FR10CExplosion": +/* 800A8DA8 000A5D08 38 00 00 00 */ li r0, 0 +/* 800A8DAC 000A5D0C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8DB0 000A5D10 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR7CEntity" +"Visit__29TCastToPtr<15CScriptPlatform>FR7CEntity": +/* 800A8DB4 000A5D14 38 00 00 00 */ li r0, 0 +/* 800A8DB8 000A5D18 90 03 00 04 */ stw r0, 4(r3) +/* 800A8DBC 000A5D1C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CEnergyProjectile" +"Visit__29TCastToPtr<15CScriptPlatform>FR17CEnergyProjectile": +/* 800A8DC0 000A5D20 38 00 00 00 */ li r0, 0 +/* 800A8DC4 000A5D24 90 03 00 04 */ stw r0, 4(r3) +/* 800A8DC8 000A5D28 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR16CDestroyableRock" +"Visit__29TCastToPtr<15CScriptPlatform>FR16CDestroyableRock": +/* 800A8DCC 000A5D2C 38 00 00 00 */ li r0, 0 +/* 800A8DD0 000A5D30 90 03 00 04 */ stw r0, 4(r3) +/* 800A8DD4 000A5D34 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CCollisionActor" +"Visit__29TCastToPtr<15CScriptPlatform>FR15CCollisionActor": +/* 800A8DD8 000A5D38 38 00 00 00 */ li r0, 0 +/* 800A8DDC 000A5D3C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8DE0 000A5D40 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR16CCinematicCamera" +"Visit__29TCastToPtr<15CScriptPlatform>FR16CCinematicCamera": +/* 800A8DE4 000A5D44 38 00 00 00 */ li r0, 0 +/* 800A8DE8 000A5D48 90 03 00 04 */ stw r0, 4(r3) +/* 800A8DEC 000A5D4C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR5CBomb" +"Visit__29TCastToPtr<15CScriptPlatform>FR5CBomb": +/* 800A8DF0 000A5D50 38 00 00 00 */ li r0, 0 +/* 800A8DF4 000A5D54 90 03 00 04 */ stw r0, 4(r3) +/* 800A8DF8 000A5D58 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CBallCamera" +"Visit__29TCastToPtr<15CScriptPlatform>FR11CBallCamera": +/* 800A8DFC 000A5D5C 38 00 00 00 */ li r0, 0 +/* 800A8E00 000A5D60 90 03 00 04 */ stw r0, 4(r3) +/* 800A8E04 000A5D64 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptPlatform>FR6CActor" +"Visit__29TCastToPtr<15CScriptPlatform>FR6CActor": +/* 800A8E08 000A5D68 38 00 00 00 */ li r0, 0 +/* 800A8E0C 000A5D6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8E10 000A5D70 4E 80 00 20 */ blr + +.global "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +"__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity": +/* 800A8E14 000A5D74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A8E18 000A5D78 7C 08 02 A6 */ mflr r0 +/* 800A8E1C 000A5D7C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A8E20 000A5D80 3C A0 80 3E */ lis r5, lbl_803DDFA4@ha +/* 800A8E24 000A5D84 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A8E28 000A5D88 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A8E2C 000A5D8C 28 04 00 00 */ cmplwi r4, 0 +/* 800A8E30 000A5D90 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A8E34 000A5D94 7C 7F 1B 78 */ mr r31, r3 +/* 800A8E38 000A5D98 38 65 DF A4 */ addi r3, r5, lbl_803DDFA4@l +/* 800A8E3C 000A5D9C 90 1F 00 00 */ stw r0, 0(r31) +/* 800A8E40 000A5DA0 38 00 00 00 */ li r0, 0 +/* 800A8E44 000A5DA4 90 7F 00 00 */ stw r3, 0(r31) +/* 800A8E48 000A5DA8 90 1F 00 04 */ stw r0, 4(r31) +/* 800A8E4C 000A5DAC 41 82 00 1C */ beq lbl_800A8E68 +/* 800A8E50 000A5DB0 7C 83 23 78 */ mr r3, r4 +/* 800A8E54 000A5DB4 7F E4 FB 78 */ mr r4, r31 +/* 800A8E58 000A5DB8 81 83 00 00 */ lwz r12, 0(r3) +/* 800A8E5C 000A5DBC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A8E60 000A5DC0 7D 89 03 A6 */ mtctr r12 +/* 800A8E64 000A5DC4 4E 80 04 21 */ bctrl +lbl_800A8E68: +/* 800A8E68 000A5DC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A8E6C 000A5DCC 7F E3 FB 78 */ mr r3, r31 +/* 800A8E70 000A5DD0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A8E74 000A5DD4 7C 08 03 A6 */ mtlr r0 +/* 800A8E78 000A5DD8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A8E7C 000A5DDC 4E 80 00 20 */ blr + +.global "__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity" +"__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity": +/* 800A8E80 000A5DE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A8E84 000A5DE4 7C 08 02 A6 */ mflr r0 +/* 800A8E88 000A5DE8 3C A0 80 3E */ lis r5, lbl_803DDFA4@ha +/* 800A8E8C 000A5DEC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A8E90 000A5DF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A8E94 000A5DF4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A8E98 000A5DF8 38 A5 DF A4 */ addi r5, r5, lbl_803DDFA4@l +/* 800A8E9C 000A5DFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A8EA0 000A5E00 7C 7F 1B 78 */ mr r31, r3 +/* 800A8EA4 000A5E04 90 03 00 00 */ stw r0, 0(r3) +/* 800A8EA8 000A5E08 7C 83 23 78 */ mr r3, r4 +/* 800A8EAC 000A5E0C 38 00 00 00 */ li r0, 0 +/* 800A8EB0 000A5E10 7F E4 FB 78 */ mr r4, r31 +/* 800A8EB4 000A5E14 90 BF 00 00 */ stw r5, 0(r31) +/* 800A8EB8 000A5E18 90 1F 00 04 */ stw r0, 4(r31) +/* 800A8EBC 000A5E1C 81 83 00 00 */ lwz r12, 0(r3) +/* 800A8EC0 000A5E20 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A8EC4 000A5E24 7D 89 03 A6 */ mtctr r12 +/* 800A8EC8 000A5E28 4E 80 04 21 */ bctrl +/* 800A8ECC 000A5E2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A8ED0 000A5E30 7F E3 FB 78 */ mr r3, r31 +/* 800A8ED4 000A5E34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A8ED8 000A5E38 7C 08 03 A6 */ mtlr r0 +/* 800A8EDC 000A5E3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A8EE0 000A5E40 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR7CWeapon" +"Visit__27TCastToPtr<13CScriptPickup>FR7CWeapon": +/* 800A8EE4 000A5E44 38 00 00 00 */ li r0, 0 +/* 800A8EE8 000A5E48 90 03 00 04 */ stw r0, 4(r3) +/* 800A8EEC 000A5E4C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR17CWallCrawlerSwarm" +"Visit__27TCastToPtr<13CScriptPickup>FR17CWallCrawlerSwarm": +/* 800A8EF0 000A5E50 38 00 00 00 */ li r0, 0 +/* 800A8EF4 000A5E54 90 03 00 04 */ stw r0, 4(r3) +/* 800A8EF8 000A5E58 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR20CScriptSpindleCamera" +"Visit__27TCastToPtr<13CScriptPickup>FR20CScriptSpindleCamera": +/* 800A8EFC 000A5E5C 38 00 00 00 */ li r0, 0 +/* 800A8F00 000A5E60 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F04 000A5E64 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR15CSnakeWeedSwarm" +"Visit__27TCastToPtr<13CScriptPickup>FR15CSnakeWeedSwarm": +/* 800A8F08 000A5E68 38 00 00 00 */ li r0, 0 +/* 800A8F0C 000A5E6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F10 000A5E70 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR15CScriptWaypoint" +"Visit__27TCastToPtr<13CScriptPickup>FR15CScriptWaypoint": +/* 800A8F14 000A5E74 38 00 00 00 */ li r0, 0 +/* 800A8F18 000A5E78 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F1C 000A5E7C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR12CScriptWater" +"Visit__27TCastToPtr<13CScriptPickup>FR12CScriptWater": +/* 800A8F20 000A5E80 38 00 00 00 */ li r0, 0 +/* 800A8F24 000A5E84 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F28 000A5E88 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptVisorFlare" +"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptVisorFlare": +/* 800A8F2C 000A5E8C 38 00 00 00 */ li r0, 0 +/* 800A8F30 000A5E90 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F34 000A5E94 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR14CScriptTrigger" +"Visit__27TCastToPtr<13CScriptPickup>FR14CScriptTrigger": +/* 800A8F38 000A5E98 38 00 00 00 */ li r0, 0 +/* 800A8F3C 000A5E9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F40 000A5EA0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR12CScriptTimer" +"Visit__27TCastToPtr<13CScriptPickup>FR12CScriptTimer": +/* 800A8F44 000A5EA4 38 00 00 00 */ li r0, 0 +/* 800A8F48 000A5EA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F4C 000A5EAC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR10CTeamAiMgr" +"Visit__27TCastToPtr<13CScriptPickup>FR10CTeamAiMgr": +/* 800A8F50 000A5EB0 38 00 00 00 */ li r0, 0 +/* 800A8F54 000A5EB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F58 000A5EB8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR21CScriptTargetingPoint" +"Visit__27TCastToPtr<13CScriptPickup>FR21CScriptTargetingPoint": +/* 800A8F5C 000A5EBC 38 00 00 00 */ li r0, 0 +/* 800A8F60 000A5EC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F64 000A5EC4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR25CScriptSpiderBallWaypoint" +"Visit__27TCastToPtr<13CScriptPickup>FR25CScriptSpiderBallWaypoint": +/* 800A8F68 000A5EC8 38 00 00 00 */ li r0, 0 +/* 800A8F6C 000A5ECC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F70 000A5ED0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR34CScriptSpiderBallAttractionSurface" +"Visit__27TCastToPtr<13CScriptPickup>FR34CScriptSpiderBallAttractionSurface": +/* 800A8F74 000A5ED4 38 00 00 00 */ li r0, 0 +/* 800A8F78 000A5ED8 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F7C 000A5EDC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR22CScriptSpecialFunction" +"Visit__27TCastToPtr<13CScriptPickup>FR22CScriptSpecialFunction": +/* 800A8F80 000A5EE0 38 00 00 00 */ li r0, 0 +/* 800A8F84 000A5EE4 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F88 000A5EE8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptSpawnPoint" +"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptSpawnPoint": +/* 800A8F8C 000A5EEC 38 00 00 00 */ li r0, 0 +/* 800A8F90 000A5EF0 90 03 00 04 */ stw r0, 4(r3) +/* 800A8F94 000A5EF4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR12CScriptSound" +"Visit__27TCastToPtr<13CScriptPickup>FR12CScriptSound": +/* 800A8F98 000A5EF8 38 00 00 00 */ li r0, 0 +/* 800A8F9C 000A5EFC 90 03 00 04 */ stw r0, 4(r3) +/* 800A8FA0 000A5F00 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR20CScriptRoomAcoustics" +"Visit__27TCastToPtr<13CScriptPickup>FR20CScriptRoomAcoustics": +/* 800A8FA4 000A5F04 38 00 00 00 */ li r0, 0 +/* 800A8FA8 000A5F08 90 03 00 04 */ stw r0, 4(r3) +/* 800A8FAC 000A5F0C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR22CScriptPointOfinterest" +"Visit__27TCastToPtr<13CScriptPickup>FR22CScriptPointOfinterest": +/* 800A8FB0 000A5F10 38 00 00 00 */ li r0, 0 +/* 800A8FB4 000A5F14 90 03 00 04 */ stw r0, 4(r3) +/* 800A8FB8 000A5F18 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptPlayerHint" +"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptPlayerHint": +/* 800A8FBC 000A5F1C 38 00 00 00 */ li r0, 0 +/* 800A8FC0 000A5F20 90 03 00 04 */ stw r0, 4(r3) +/* 800A8FC4 000A5F24 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR15CScriptPlatform" +"Visit__27TCastToPtr<13CScriptPickup>FR15CScriptPlatform": +/* 800A8FC8 000A5F28 38 00 00 00 */ li r0, 0 +/* 800A8FCC 000A5F2C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8FD0 000A5F30 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR13CScriptPickup" +"Visit__27TCastToPtr<13CScriptPickup>FR13CScriptPickup": +/* 800A8FD4 000A5F34 90 83 00 04 */ stw r4, 4(r3) +/* 800A8FD8 000A5F38 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR15CScriptMazeNode" +"Visit__27TCastToPtr<13CScriptPickup>FR15CScriptMazeNode": +/* 800A8FDC 000A5F3C 38 00 00 00 */ li r0, 0 +/* 800A8FE0 000A5F40 90 03 00 04 */ stw r0, 4(r3) +/* 800A8FE4 000A5F44 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR16CScriptGunTurret" +"Visit__27TCastToPtr<13CScriptPickup>FR16CScriptGunTurret": +/* 800A8FE8 000A5F48 38 00 00 00 */ li r0, 0 +/* 800A8FEC 000A5F4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A8FF0 000A5F50 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR19CScriptGrapplePoint" +"Visit__27TCastToPtr<13CScriptPickup>FR19CScriptGrapplePoint": +/* 800A8FF4 000A5F54 38 00 00 00 */ li r0, 0 +/* 800A8FF8 000A5F58 90 03 00 04 */ stw r0, 4(r3) +/* 800A8FFC 000A5F5C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR13CScriptEffect" +"Visit__27TCastToPtr<13CScriptPickup>FR13CScriptEffect": +/* 800A9000 000A5F60 38 00 00 00 */ li r0, 0 +/* 800A9004 000A5F64 90 03 00 04 */ stw r0, 4(r3) +/* 800A9008 000A5F68 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR11CScriptDoor" +"Visit__27TCastToPtr<13CScriptPickup>FR11CScriptDoor": +/* 800A900C 000A5F6C 38 00 00 00 */ li r0, 0 +/* 800A9010 000A5F70 90 03 00 04 */ stw r0, 4(r3) +/* 800A9014 000A5F74 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR11CScriptDock" +"Visit__27TCastToPtr<13CScriptPickup>FR11CScriptDock": +/* 800A9018 000A5F78 38 00 00 00 */ li r0, 0 +/* 800A901C 000A5F7C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9020 000A5F80 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR18CScriptDistanceFog" +"Visit__27TCastToPtr<13CScriptPickup>FR18CScriptDistanceFog": +/* 800A9024 000A5F84 38 00 00 00 */ li r0, 0 +/* 800A9028 000A5F88 90 03 00 04 */ stw r0, 4(r3) +/* 800A902C 000A5F8C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR26CScriptDebugCameraWaypoint" +"Visit__27TCastToPtr<13CScriptPickup>FR26CScriptDebugCameraWaypoint": +/* 800A9030 000A5F90 38 00 00 00 */ li r0, 0 +/* 800A9034 000A5F94 90 03 00 04 */ stw r0, 4(r3) +/* 800A9038 000A5F98 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptCoverPoint" +"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptCoverPoint": +/* 800A903C 000A5F9C 38 00 00 00 */ li r0, 0 +/* 800A9040 000A5FA0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9044 000A5FA4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR21CScriptCameraWaypoint" +"Visit__27TCastToPtr<13CScriptPickup>FR21CScriptCameraWaypoint": +/* 800A9048 000A5FA8 38 00 00 00 */ li r0, 0 +/* 800A904C 000A5FAC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9050 000A5FB0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR24CScriptCameraPitchVolume" +"Visit__27TCastToPtr<13CScriptPickup>FR24CScriptCameraPitchVolume": +/* 800A9054 000A5FB4 38 00 00 00 */ li r0, 0 +/* 800A9058 000A5FB8 90 03 00 04 */ stw r0, 4(r3) +/* 800A905C 000A5FBC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptCameraHint" +"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptCameraHint": +/* 800A9060 000A5FC0 38 00 00 00 */ li r0, 0 +/* 800A9064 000A5FC4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9068 000A5FC8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR18CScriptAiJumpPoint" +"Visit__27TCastToPtr<13CScriptPickup>FR18CScriptAiJumpPoint": +/* 800A906C 000A5FCC 38 00 00 00 */ li r0, 0 +/* 800A9070 000A5FD0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9074 000A5FD4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR20CScriptActorKeyframe" +"Visit__27TCastToPtr<13CScriptPickup>FR20CScriptActorKeyframe": +/* 800A9078 000A5FD8 38 00 00 00 */ li r0, 0 +/* 800A907C 000A5FDC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9080 000A5FE0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR12CScriptActor" +"Visit__27TCastToPtr<13CScriptPickup>FR12CScriptActor": +/* 800A9084 000A5FE4 38 00 00 00 */ li r0, 0 +/* 800A9088 000A5FE8 90 03 00 04 */ stw r0, 4(r3) +/* 800A908C 000A5FEC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR9CRepulsor" +"Visit__27TCastToPtr<13CScriptPickup>FR9CRepulsor": +/* 800A9090 000A5FF0 38 00 00 00 */ li r0, 0 +/* 800A9094 000A5FF4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9098 000A5FF8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR7CPlayer" +"Visit__27TCastToPtr<13CScriptPickup>FR7CPlayer": +/* 800A909C 000A5FFC 38 00 00 00 */ li r0, 0 +/* 800A90A0 000A6000 90 03 00 04 */ stw r0, 4(r3) +/* 800A90A4 000A6004 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR13CPhysicsActor" +"Visit__27TCastToPtr<13CScriptPickup>FR13CPhysicsActor": +/* 800A90A8 000A6008 38 00 00 00 */ li r0, 0 +/* 800A90AC 000A600C 90 03 00 04 */ stw r0, 4(r3) +/* 800A90B0 000A6010 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR3CAi" +"Visit__27TCastToPtr<13CScriptPickup>FR3CAi": +/* 800A90B4 000A6014 38 00 00 00 */ li r0, 0 +/* 800A90B8 000A6018 90 03 00 04 */ stw r0, 4(r3) +/* 800A90BC 000A601C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR11CPathCamera" +"Visit__27TCastToPtr<13CScriptPickup>FR11CPathCamera": +/* 800A90C0 000A6020 38 00 00 00 */ li r0, 0 +/* 800A90C4 000A6024 90 03 00 04 */ stw r0, 4(r3) +/* 800A90C8 000A6028 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR18CMetroidPrimeRelay" +"Visit__27TCastToPtr<13CScriptPickup>FR18CMetroidPrimeRelay": +/* 800A90CC 000A602C 38 00 00 00 */ li r0, 0 +/* 800A90D0 000A6030 90 03 00 04 */ stw r0, 4(r3) +/* 800A90D4 000A6034 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR19CHUDBillboardEffect" +"Visit__27TCastToPtr<13CScriptPickup>FR19CHUDBillboardEffect": +/* 800A90D8 000A6038 38 00 00 00 */ li r0, 0 +/* 800A90DC 000A603C 90 03 00 04 */ stw r0, 4(r3) +/* 800A90E0 000A6040 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR15CGameProjectile" +"Visit__27TCastToPtr<13CScriptPickup>FR15CGameProjectile": +/* 800A90E4 000A6044 38 00 00 00 */ li r0, 0 +/* 800A90E8 000A6048 90 03 00 04 */ stw r0, 4(r3) +/* 800A90EC 000A604C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR10CGameLight" +"Visit__27TCastToPtr<13CScriptPickup>FR10CGameLight": +/* 800A90F0 000A6050 38 00 00 00 */ li r0, 0 +/* 800A90F4 000A6054 90 03 00 04 */ stw r0, 4(r3) +/* 800A90F8 000A6058 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR11CGameCamera" +"Visit__27TCastToPtr<13CScriptPickup>FR11CGameCamera": +/* 800A90FC 000A605C 38 00 00 00 */ li r0, 0 +/* 800A9100 000A6060 90 03 00 04 */ stw r0, 4(r3) +/* 800A9104 000A6064 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR10CFishCloud" +"Visit__27TCastToPtr<13CScriptPickup>FR10CFishCloud": +/* 800A9108 000A6068 38 00 00 00 */ li r0, 0 +/* 800A910C 000A606C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9110 000A6070 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR18CFirstPersonCamera" +"Visit__27TCastToPtr<13CScriptPickup>FR18CFirstPersonCamera": +/* 800A9114 000A6074 38 00 00 00 */ li r0, 0 +/* 800A9118 000A6078 90 03 00 04 */ stw r0, 4(r3) +/* 800A911C 000A607C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR10CExplosion" +"Visit__27TCastToPtr<13CScriptPickup>FR10CExplosion": +/* 800A9120 000A6080 38 00 00 00 */ li r0, 0 +/* 800A9124 000A6084 90 03 00 04 */ stw r0, 4(r3) +/* 800A9128 000A6088 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR7CEntity" +"Visit__27TCastToPtr<13CScriptPickup>FR7CEntity": +/* 800A912C 000A608C 38 00 00 00 */ li r0, 0 +/* 800A9130 000A6090 90 03 00 04 */ stw r0, 4(r3) +/* 800A9134 000A6094 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR17CEnergyProjectile" +"Visit__27TCastToPtr<13CScriptPickup>FR17CEnergyProjectile": +/* 800A9138 000A6098 38 00 00 00 */ li r0, 0 +/* 800A913C 000A609C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9140 000A60A0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR16CDestroyableRock" +"Visit__27TCastToPtr<13CScriptPickup>FR16CDestroyableRock": +/* 800A9144 000A60A4 38 00 00 00 */ li r0, 0 +/* 800A9148 000A60A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A914C 000A60AC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR15CCollisionActor" +"Visit__27TCastToPtr<13CScriptPickup>FR15CCollisionActor": +/* 800A9150 000A60B0 38 00 00 00 */ li r0, 0 +/* 800A9154 000A60B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9158 000A60B8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR16CCinematicCamera" +"Visit__27TCastToPtr<13CScriptPickup>FR16CCinematicCamera": +/* 800A915C 000A60BC 38 00 00 00 */ li r0, 0 +/* 800A9160 000A60C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9164 000A60C4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR5CBomb" +"Visit__27TCastToPtr<13CScriptPickup>FR5CBomb": +/* 800A9168 000A60C8 38 00 00 00 */ li r0, 0 +/* 800A916C 000A60CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9170 000A60D0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR11CBallCamera" +"Visit__27TCastToPtr<13CScriptPickup>FR11CBallCamera": +/* 800A9174 000A60D4 38 00 00 00 */ li r0, 0 +/* 800A9178 000A60D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A917C 000A60DC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptPickup>FR6CActor" +"Visit__27TCastToPtr<13CScriptPickup>FR6CActor": +/* 800A9180 000A60E0 38 00 00 00 */ li r0, 0 +/* 800A9184 000A60E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9188 000A60E8 4E 80 00 20 */ blr + +.global "__ct__27TCastToPtr<13CScriptPickup>FP7CEntity" +"__ct__27TCastToPtr<13CScriptPickup>FP7CEntity": +/* 800A918C 000A60EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A9190 000A60F0 7C 08 02 A6 */ mflr r0 +/* 800A9194 000A60F4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A9198 000A60F8 3C A0 80 3E */ lis r5, lbl_803DDEB8@ha +/* 800A919C 000A60FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A91A0 000A6100 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A91A4 000A6104 28 04 00 00 */ cmplwi r4, 0 +/* 800A91A8 000A6108 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A91AC 000A610C 7C 7F 1B 78 */ mr r31, r3 +/* 800A91B0 000A6110 38 65 DE B8 */ addi r3, r5, lbl_803DDEB8@l +/* 800A91B4 000A6114 90 1F 00 00 */ stw r0, 0(r31) +/* 800A91B8 000A6118 38 00 00 00 */ li r0, 0 +/* 800A91BC 000A611C 90 7F 00 00 */ stw r3, 0(r31) +/* 800A91C0 000A6120 90 1F 00 04 */ stw r0, 4(r31) +/* 800A91C4 000A6124 41 82 00 1C */ beq lbl_800A91E0 +/* 800A91C8 000A6128 7C 83 23 78 */ mr r3, r4 +/* 800A91CC 000A612C 7F E4 FB 78 */ mr r4, r31 +/* 800A91D0 000A6130 81 83 00 00 */ lwz r12, 0(r3) +/* 800A91D4 000A6134 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A91D8 000A6138 7D 89 03 A6 */ mtctr r12 +/* 800A91DC 000A613C 4E 80 04 21 */ bctrl +lbl_800A91E0: +/* 800A91E0 000A6140 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A91E4 000A6144 7F E3 FB 78 */ mr r3, r31 +/* 800A91E8 000A6148 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A91EC 000A614C 7C 08 03 A6 */ mtlr r0 +/* 800A91F0 000A6150 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A91F4 000A6154 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR7CWeapon" +"Visit__29TCastToPtr<15CScriptMazeNode>FR7CWeapon": +/* 800A91F8 000A6158 38 00 00 00 */ li r0, 0 +/* 800A91FC 000A615C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9200 000A6160 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CWallCrawlerSwarm" +"Visit__29TCastToPtr<15CScriptMazeNode>FR17CWallCrawlerSwarm": +/* 800A9204 000A6164 38 00 00 00 */ li r0, 0 +/* 800A9208 000A6168 90 03 00 04 */ stw r0, 4(r3) +/* 800A920C 000A616C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptSpindleCamera" +"Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptSpindleCamera": +/* 800A9210 000A6170 38 00 00 00 */ li r0, 0 +/* 800A9214 000A6174 90 03 00 04 */ stw r0, 4(r3) +/* 800A9218 000A6178 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CSnakeWeedSwarm" +"Visit__29TCastToPtr<15CScriptMazeNode>FR15CSnakeWeedSwarm": +/* 800A921C 000A617C 38 00 00 00 */ li r0, 0 +/* 800A9220 000A6180 90 03 00 04 */ stw r0, 4(r3) +/* 800A9224 000A6184 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptWaypoint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptWaypoint": +/* 800A9228 000A6188 38 00 00 00 */ li r0, 0 +/* 800A922C 000A618C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9230 000A6190 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptWater" +"Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptWater": +/* 800A9234 000A6194 38 00 00 00 */ li r0, 0 +/* 800A9238 000A6198 90 03 00 04 */ stw r0, 4(r3) +/* 800A923C 000A619C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptVisorFlare" +"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptVisorFlare": +/* 800A9240 000A61A0 38 00 00 00 */ li r0, 0 +/* 800A9244 000A61A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9248 000A61A8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR14CScriptTrigger" +"Visit__29TCastToPtr<15CScriptMazeNode>FR14CScriptTrigger": +/* 800A924C 000A61AC 38 00 00 00 */ li r0, 0 +/* 800A9250 000A61B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9254 000A61B4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptTimer" +"Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptTimer": +/* 800A9258 000A61B8 38 00 00 00 */ li r0, 0 +/* 800A925C 000A61BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9260 000A61C0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR10CTeamAiMgr" +"Visit__29TCastToPtr<15CScriptMazeNode>FR10CTeamAiMgr": +/* 800A9264 000A61C4 38 00 00 00 */ li r0, 0 +/* 800A9268 000A61C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A926C 000A61CC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR21CScriptTargetingPoint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR21CScriptTargetingPoint": +/* 800A9270 000A61D0 38 00 00 00 */ li r0, 0 +/* 800A9274 000A61D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9278 000A61D8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR25CScriptSpiderBallWaypoint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR25CScriptSpiderBallWaypoint": +/* 800A927C 000A61DC 38 00 00 00 */ li r0, 0 +/* 800A9280 000A61E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9284 000A61E4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR34CScriptSpiderBallAttractionSurface" +"Visit__29TCastToPtr<15CScriptMazeNode>FR34CScriptSpiderBallAttractionSurface": +/* 800A9288 000A61E8 38 00 00 00 */ li r0, 0 +/* 800A928C 000A61EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9290 000A61F0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR22CScriptSpecialFunction" +"Visit__29TCastToPtr<15CScriptMazeNode>FR22CScriptSpecialFunction": +/* 800A9294 000A61F4 38 00 00 00 */ li r0, 0 +/* 800A9298 000A61F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A929C 000A61FC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptSpawnPoint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptSpawnPoint": +/* 800A92A0 000A6200 38 00 00 00 */ li r0, 0 +/* 800A92A4 000A6204 90 03 00 04 */ stw r0, 4(r3) +/* 800A92A8 000A6208 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptSound" +"Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptSound": +/* 800A92AC 000A620C 38 00 00 00 */ li r0, 0 +/* 800A92B0 000A6210 90 03 00 04 */ stw r0, 4(r3) +/* 800A92B4 000A6214 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptRoomAcoustics" +"Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptRoomAcoustics": +/* 800A92B8 000A6218 38 00 00 00 */ li r0, 0 +/* 800A92BC 000A621C 90 03 00 04 */ stw r0, 4(r3) +/* 800A92C0 000A6220 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR22CScriptPointOfinterest" +"Visit__29TCastToPtr<15CScriptMazeNode>FR22CScriptPointOfinterest": +/* 800A92C4 000A6224 38 00 00 00 */ li r0, 0 +/* 800A92C8 000A6228 90 03 00 04 */ stw r0, 4(r3) +/* 800A92CC 000A622C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptPlayerHint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptPlayerHint": +/* 800A92D0 000A6230 38 00 00 00 */ li r0, 0 +/* 800A92D4 000A6234 90 03 00 04 */ stw r0, 4(r3) +/* 800A92D8 000A6238 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptPlatform" +"Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptPlatform": +/* 800A92DC 000A623C 38 00 00 00 */ li r0, 0 +/* 800A92E0 000A6240 90 03 00 04 */ stw r0, 4(r3) +/* 800A92E4 000A6244 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR13CScriptPickup" +"Visit__29TCastToPtr<15CScriptMazeNode>FR13CScriptPickup": +/* 800A92E8 000A6248 38 00 00 00 */ li r0, 0 +/* 800A92EC 000A624C 90 03 00 04 */ stw r0, 4(r3) +/* 800A92F0 000A6250 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptMazeNode" +"Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptMazeNode": +/* 800A92F4 000A6254 90 83 00 04 */ stw r4, 4(r3) +/* 800A92F8 000A6258 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR16CScriptGunTurret" +"Visit__29TCastToPtr<15CScriptMazeNode>FR16CScriptGunTurret": +/* 800A92FC 000A625C 38 00 00 00 */ li r0, 0 +/* 800A9300 000A6260 90 03 00 04 */ stw r0, 4(r3) +/* 800A9304 000A6264 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR19CScriptGrapplePoint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR19CScriptGrapplePoint": +/* 800A9308 000A6268 38 00 00 00 */ li r0, 0 +/* 800A930C 000A626C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9310 000A6270 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR13CScriptEffect" +"Visit__29TCastToPtr<15CScriptMazeNode>FR13CScriptEffect": +/* 800A9314 000A6274 38 00 00 00 */ li r0, 0 +/* 800A9318 000A6278 90 03 00 04 */ stw r0, 4(r3) +/* 800A931C 000A627C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CScriptDoor" +"Visit__29TCastToPtr<15CScriptMazeNode>FR11CScriptDoor": +/* 800A9320 000A6280 38 00 00 00 */ li r0, 0 +/* 800A9324 000A6284 90 03 00 04 */ stw r0, 4(r3) +/* 800A9328 000A6288 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CScriptDock" +"Visit__29TCastToPtr<15CScriptMazeNode>FR11CScriptDock": +/* 800A932C 000A628C 38 00 00 00 */ li r0, 0 +/* 800A9330 000A6290 90 03 00 04 */ stw r0, 4(r3) +/* 800A9334 000A6294 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR18CScriptDistanceFog" +"Visit__29TCastToPtr<15CScriptMazeNode>FR18CScriptDistanceFog": +/* 800A9338 000A6298 38 00 00 00 */ li r0, 0 +/* 800A933C 000A629C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9340 000A62A0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR26CScriptDebugCameraWaypoint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR26CScriptDebugCameraWaypoint": +/* 800A9344 000A62A4 38 00 00 00 */ li r0, 0 +/* 800A9348 000A62A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A934C 000A62AC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptCoverPoint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptCoverPoint": +/* 800A9350 000A62B0 38 00 00 00 */ li r0, 0 +/* 800A9354 000A62B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9358 000A62B8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR21CScriptCameraWaypoint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR21CScriptCameraWaypoint": +/* 800A935C 000A62BC 38 00 00 00 */ li r0, 0 +/* 800A9360 000A62C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9364 000A62C4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR24CScriptCameraPitchVolume" +"Visit__29TCastToPtr<15CScriptMazeNode>FR24CScriptCameraPitchVolume": +/* 800A9368 000A62C8 38 00 00 00 */ li r0, 0 +/* 800A936C 000A62CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9370 000A62D0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptCameraHint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptCameraHint": +/* 800A9374 000A62D4 38 00 00 00 */ li r0, 0 +/* 800A9378 000A62D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A937C 000A62DC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR18CScriptAiJumpPoint" +"Visit__29TCastToPtr<15CScriptMazeNode>FR18CScriptAiJumpPoint": +/* 800A9380 000A62E0 38 00 00 00 */ li r0, 0 +/* 800A9384 000A62E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9388 000A62E8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptActorKeyframe" +"Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptActorKeyframe": +/* 800A938C 000A62EC 38 00 00 00 */ li r0, 0 +/* 800A9390 000A62F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9394 000A62F4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptActor" +"Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptActor": +/* 800A9398 000A62F8 38 00 00 00 */ li r0, 0 +/* 800A939C 000A62FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A93A0 000A6300 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR9CRepulsor" +"Visit__29TCastToPtr<15CScriptMazeNode>FR9CRepulsor": +/* 800A93A4 000A6304 38 00 00 00 */ li r0, 0 +/* 800A93A8 000A6308 90 03 00 04 */ stw r0, 4(r3) +/* 800A93AC 000A630C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR7CPlayer" +"Visit__29TCastToPtr<15CScriptMazeNode>FR7CPlayer": +/* 800A93B0 000A6310 38 00 00 00 */ li r0, 0 +/* 800A93B4 000A6314 90 03 00 04 */ stw r0, 4(r3) +/* 800A93B8 000A6318 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR13CPhysicsActor" +"Visit__29TCastToPtr<15CScriptMazeNode>FR13CPhysicsActor": +/* 800A93BC 000A631C 38 00 00 00 */ li r0, 0 +/* 800A93C0 000A6320 90 03 00 04 */ stw r0, 4(r3) +/* 800A93C4 000A6324 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR3CAi" +"Visit__29TCastToPtr<15CScriptMazeNode>FR3CAi": +/* 800A93C8 000A6328 38 00 00 00 */ li r0, 0 +/* 800A93CC 000A632C 90 03 00 04 */ stw r0, 4(r3) +/* 800A93D0 000A6330 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CPathCamera" +"Visit__29TCastToPtr<15CScriptMazeNode>FR11CPathCamera": +/* 800A93D4 000A6334 38 00 00 00 */ li r0, 0 +/* 800A93D8 000A6338 90 03 00 04 */ stw r0, 4(r3) +/* 800A93DC 000A633C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR18CMetroidPrimeRelay" +"Visit__29TCastToPtr<15CScriptMazeNode>FR18CMetroidPrimeRelay": +/* 800A93E0 000A6340 38 00 00 00 */ li r0, 0 +/* 800A93E4 000A6344 90 03 00 04 */ stw r0, 4(r3) +/* 800A93E8 000A6348 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR19CHUDBillboardEffect" +"Visit__29TCastToPtr<15CScriptMazeNode>FR19CHUDBillboardEffect": +/* 800A93EC 000A634C 38 00 00 00 */ li r0, 0 +/* 800A93F0 000A6350 90 03 00 04 */ stw r0, 4(r3) +/* 800A93F4 000A6354 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CGameProjectile" +"Visit__29TCastToPtr<15CScriptMazeNode>FR15CGameProjectile": +/* 800A93F8 000A6358 38 00 00 00 */ li r0, 0 +/* 800A93FC 000A635C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9400 000A6360 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR10CGameLight" +"Visit__29TCastToPtr<15CScriptMazeNode>FR10CGameLight": +/* 800A9404 000A6364 38 00 00 00 */ li r0, 0 +/* 800A9408 000A6368 90 03 00 04 */ stw r0, 4(r3) +/* 800A940C 000A636C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CGameCamera" +"Visit__29TCastToPtr<15CScriptMazeNode>FR11CGameCamera": +/* 800A9410 000A6370 38 00 00 00 */ li r0, 0 +/* 800A9414 000A6374 90 03 00 04 */ stw r0, 4(r3) +/* 800A9418 000A6378 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR10CFishCloud" +"Visit__29TCastToPtr<15CScriptMazeNode>FR10CFishCloud": +/* 800A941C 000A637C 38 00 00 00 */ li r0, 0 +/* 800A9420 000A6380 90 03 00 04 */ stw r0, 4(r3) +/* 800A9424 000A6384 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR18CFirstPersonCamera" +"Visit__29TCastToPtr<15CScriptMazeNode>FR18CFirstPersonCamera": +/* 800A9428 000A6388 38 00 00 00 */ li r0, 0 +/* 800A942C 000A638C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9430 000A6390 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR10CExplosion" +"Visit__29TCastToPtr<15CScriptMazeNode>FR10CExplosion": +/* 800A9434 000A6394 38 00 00 00 */ li r0, 0 +/* 800A9438 000A6398 90 03 00 04 */ stw r0, 4(r3) +/* 800A943C 000A639C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR7CEntity" +"Visit__29TCastToPtr<15CScriptMazeNode>FR7CEntity": +/* 800A9440 000A63A0 38 00 00 00 */ li r0, 0 +/* 800A9444 000A63A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9448 000A63A8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CEnergyProjectile" +"Visit__29TCastToPtr<15CScriptMazeNode>FR17CEnergyProjectile": +/* 800A944C 000A63AC 38 00 00 00 */ li r0, 0 +/* 800A9450 000A63B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9454 000A63B4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR16CDestroyableRock" +"Visit__29TCastToPtr<15CScriptMazeNode>FR16CDestroyableRock": +/* 800A9458 000A63B8 38 00 00 00 */ li r0, 0 +/* 800A945C 000A63BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9460 000A63C0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CCollisionActor" +"Visit__29TCastToPtr<15CScriptMazeNode>FR15CCollisionActor": +/* 800A9464 000A63C4 38 00 00 00 */ li r0, 0 +/* 800A9468 000A63C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A946C 000A63CC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR16CCinematicCamera" +"Visit__29TCastToPtr<15CScriptMazeNode>FR16CCinematicCamera": +/* 800A9470 000A63D0 38 00 00 00 */ li r0, 0 +/* 800A9474 000A63D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9478 000A63D8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR5CBomb" +"Visit__29TCastToPtr<15CScriptMazeNode>FR5CBomb": +/* 800A947C 000A63DC 38 00 00 00 */ li r0, 0 +/* 800A9480 000A63E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9484 000A63E4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CBallCamera" +"Visit__29TCastToPtr<15CScriptMazeNode>FR11CBallCamera": +/* 800A9488 000A63E8 38 00 00 00 */ li r0, 0 +/* 800A948C 000A63EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9490 000A63F0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CScriptMazeNode>FR6CActor" +"Visit__29TCastToPtr<15CScriptMazeNode>FR6CActor": +/* 800A9494 000A63F4 38 00 00 00 */ li r0, 0 +/* 800A9498 000A63F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A949C 000A63FC 4E 80 00 20 */ blr + +.global "__ct__29TCastToPtr<15CScriptMazeNode>FP7CEntity" +"__ct__29TCastToPtr<15CScriptMazeNode>FP7CEntity": +/* 800A94A0 000A6400 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A94A4 000A6404 7C 08 02 A6 */ mflr r0 +/* 800A94A8 000A6408 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A94AC 000A640C 3C A0 80 3E */ lis r5, lbl_803DDDCC@ha +/* 800A94B0 000A6410 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A94B4 000A6414 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A94B8 000A6418 28 04 00 00 */ cmplwi r4, 0 +/* 800A94BC 000A641C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A94C0 000A6420 7C 7F 1B 78 */ mr r31, r3 +/* 800A94C4 000A6424 38 65 DD CC */ addi r3, r5, lbl_803DDDCC@l +/* 800A94C8 000A6428 90 1F 00 00 */ stw r0, 0(r31) +/* 800A94CC 000A642C 38 00 00 00 */ li r0, 0 +/* 800A94D0 000A6430 90 7F 00 00 */ stw r3, 0(r31) +/* 800A94D4 000A6434 90 1F 00 04 */ stw r0, 4(r31) +/* 800A94D8 000A6438 41 82 00 1C */ beq lbl_800A94F4 +/* 800A94DC 000A643C 7C 83 23 78 */ mr r3, r4 +/* 800A94E0 000A6440 7F E4 FB 78 */ mr r4, r31 +/* 800A94E4 000A6444 81 83 00 00 */ lwz r12, 0(r3) +/* 800A94E8 000A6448 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A94EC 000A644C 7D 89 03 A6 */ mtctr r12 +/* 800A94F0 000A6450 4E 80 04 21 */ bctrl +lbl_800A94F4: +/* 800A94F4 000A6454 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A94F8 000A6458 7F E3 FB 78 */ mr r3, r31 +/* 800A94FC 000A645C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A9500 000A6460 7C 08 03 A6 */ mtlr r0 +/* 800A9504 000A6464 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A9508 000A6468 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR7CWeapon" +"Visit__30TCastToPtr<16CScriptGunTurret>FR7CWeapon": +/* 800A950C 000A646C 38 00 00 00 */ li r0, 0 +/* 800A9510 000A6470 90 03 00 04 */ stw r0, 4(r3) +/* 800A9514 000A6474 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CWallCrawlerSwarm" +"Visit__30TCastToPtr<16CScriptGunTurret>FR17CWallCrawlerSwarm": +/* 800A9518 000A6478 38 00 00 00 */ li r0, 0 +/* 800A951C 000A647C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9520 000A6480 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptSpindleCamera" +"Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptSpindleCamera": +/* 800A9524 000A6484 38 00 00 00 */ li r0, 0 +/* 800A9528 000A6488 90 03 00 04 */ stw r0, 4(r3) +/* 800A952C 000A648C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CSnakeWeedSwarm" +"Visit__30TCastToPtr<16CScriptGunTurret>FR15CSnakeWeedSwarm": +/* 800A9530 000A6490 38 00 00 00 */ li r0, 0 +/* 800A9534 000A6494 90 03 00 04 */ stw r0, 4(r3) +/* 800A9538 000A6498 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptWaypoint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptWaypoint": +/* 800A953C 000A649C 38 00 00 00 */ li r0, 0 +/* 800A9540 000A64A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9544 000A64A4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptWater" +"Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptWater": +/* 800A9548 000A64A8 38 00 00 00 */ li r0, 0 +/* 800A954C 000A64AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9550 000A64B0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptVisorFlare" +"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptVisorFlare": +/* 800A9554 000A64B4 38 00 00 00 */ li r0, 0 +/* 800A9558 000A64B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A955C 000A64BC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR14CScriptTrigger" +"Visit__30TCastToPtr<16CScriptGunTurret>FR14CScriptTrigger": +/* 800A9560 000A64C0 38 00 00 00 */ li r0, 0 +/* 800A9564 000A64C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9568 000A64C8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptTimer" +"Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptTimer": +/* 800A956C 000A64CC 38 00 00 00 */ li r0, 0 +/* 800A9570 000A64D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9574 000A64D4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR10CTeamAiMgr" +"Visit__30TCastToPtr<16CScriptGunTurret>FR10CTeamAiMgr": +/* 800A9578 000A64D8 38 00 00 00 */ li r0, 0 +/* 800A957C 000A64DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9580 000A64E0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR21CScriptTargetingPoint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR21CScriptTargetingPoint": +/* 800A9584 000A64E4 38 00 00 00 */ li r0, 0 +/* 800A9588 000A64E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A958C 000A64EC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR25CScriptSpiderBallWaypoint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR25CScriptSpiderBallWaypoint": +/* 800A9590 000A64F0 38 00 00 00 */ li r0, 0 +/* 800A9594 000A64F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9598 000A64F8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR34CScriptSpiderBallAttractionSurface" +"Visit__30TCastToPtr<16CScriptGunTurret>FR34CScriptSpiderBallAttractionSurface": +/* 800A959C 000A64FC 38 00 00 00 */ li r0, 0 +/* 800A95A0 000A6500 90 03 00 04 */ stw r0, 4(r3) +/* 800A95A4 000A6504 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR22CScriptSpecialFunction" +"Visit__30TCastToPtr<16CScriptGunTurret>FR22CScriptSpecialFunction": +/* 800A95A8 000A6508 38 00 00 00 */ li r0, 0 +/* 800A95AC 000A650C 90 03 00 04 */ stw r0, 4(r3) +/* 800A95B0 000A6510 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptSpawnPoint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptSpawnPoint": +/* 800A95B4 000A6514 38 00 00 00 */ li r0, 0 +/* 800A95B8 000A6518 90 03 00 04 */ stw r0, 4(r3) +/* 800A95BC 000A651C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptSound" +"Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptSound": +/* 800A95C0 000A6520 38 00 00 00 */ li r0, 0 +/* 800A95C4 000A6524 90 03 00 04 */ stw r0, 4(r3) +/* 800A95C8 000A6528 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptRoomAcoustics" +"Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptRoomAcoustics": +/* 800A95CC 000A652C 38 00 00 00 */ li r0, 0 +/* 800A95D0 000A6530 90 03 00 04 */ stw r0, 4(r3) +/* 800A95D4 000A6534 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR22CScriptPointOfinterest" +"Visit__30TCastToPtr<16CScriptGunTurret>FR22CScriptPointOfinterest": +/* 800A95D8 000A6538 38 00 00 00 */ li r0, 0 +/* 800A95DC 000A653C 90 03 00 04 */ stw r0, 4(r3) +/* 800A95E0 000A6540 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptPlayerHint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptPlayerHint": +/* 800A95E4 000A6544 38 00 00 00 */ li r0, 0 +/* 800A95E8 000A6548 90 03 00 04 */ stw r0, 4(r3) +/* 800A95EC 000A654C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptPlatform" +"Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptPlatform": +/* 800A95F0 000A6550 38 00 00 00 */ li r0, 0 +/* 800A95F4 000A6554 90 03 00 04 */ stw r0, 4(r3) +/* 800A95F8 000A6558 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR13CScriptPickup" +"Visit__30TCastToPtr<16CScriptGunTurret>FR13CScriptPickup": +/* 800A95FC 000A655C 38 00 00 00 */ li r0, 0 +/* 800A9600 000A6560 90 03 00 04 */ stw r0, 4(r3) +/* 800A9604 000A6564 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptMazeNode" +"Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptMazeNode": +/* 800A9608 000A6568 38 00 00 00 */ li r0, 0 +/* 800A960C 000A656C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9610 000A6570 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR16CScriptGunTurret" +"Visit__30TCastToPtr<16CScriptGunTurret>FR16CScriptGunTurret": +/* 800A9614 000A6574 90 83 00 04 */ stw r4, 4(r3) +/* 800A9618 000A6578 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR19CScriptGrapplePoint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR19CScriptGrapplePoint": +/* 800A961C 000A657C 38 00 00 00 */ li r0, 0 +/* 800A9620 000A6580 90 03 00 04 */ stw r0, 4(r3) +/* 800A9624 000A6584 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR13CScriptEffect" +"Visit__30TCastToPtr<16CScriptGunTurret>FR13CScriptEffect": +/* 800A9628 000A6588 38 00 00 00 */ li r0, 0 +/* 800A962C 000A658C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9630 000A6590 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CScriptDoor" +"Visit__30TCastToPtr<16CScriptGunTurret>FR11CScriptDoor": +/* 800A9634 000A6594 38 00 00 00 */ li r0, 0 +/* 800A9638 000A6598 90 03 00 04 */ stw r0, 4(r3) +/* 800A963C 000A659C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CScriptDock" +"Visit__30TCastToPtr<16CScriptGunTurret>FR11CScriptDock": +/* 800A9640 000A65A0 38 00 00 00 */ li r0, 0 +/* 800A9644 000A65A4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9648 000A65A8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR18CScriptDistanceFog" +"Visit__30TCastToPtr<16CScriptGunTurret>FR18CScriptDistanceFog": +/* 800A964C 000A65AC 38 00 00 00 */ li r0, 0 +/* 800A9650 000A65B0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9654 000A65B4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR26CScriptDebugCameraWaypoint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR26CScriptDebugCameraWaypoint": +/* 800A9658 000A65B8 38 00 00 00 */ li r0, 0 +/* 800A965C 000A65BC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9660 000A65C0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptCoverPoint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptCoverPoint": +/* 800A9664 000A65C4 38 00 00 00 */ li r0, 0 +/* 800A9668 000A65C8 90 03 00 04 */ stw r0, 4(r3) +/* 800A966C 000A65CC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR21CScriptCameraWaypoint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR21CScriptCameraWaypoint": +/* 800A9670 000A65D0 38 00 00 00 */ li r0, 0 +/* 800A9674 000A65D4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9678 000A65D8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR24CScriptCameraPitchVolume" +"Visit__30TCastToPtr<16CScriptGunTurret>FR24CScriptCameraPitchVolume": +/* 800A967C 000A65DC 38 00 00 00 */ li r0, 0 +/* 800A9680 000A65E0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9684 000A65E4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptCameraHint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptCameraHint": +/* 800A9688 000A65E8 38 00 00 00 */ li r0, 0 +/* 800A968C 000A65EC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9690 000A65F0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR18CScriptAiJumpPoint" +"Visit__30TCastToPtr<16CScriptGunTurret>FR18CScriptAiJumpPoint": +/* 800A9694 000A65F4 38 00 00 00 */ li r0, 0 +/* 800A9698 000A65F8 90 03 00 04 */ stw r0, 4(r3) +/* 800A969C 000A65FC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptActorKeyframe" +"Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptActorKeyframe": +/* 800A96A0 000A6600 38 00 00 00 */ li r0, 0 +/* 800A96A4 000A6604 90 03 00 04 */ stw r0, 4(r3) +/* 800A96A8 000A6608 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptActor" +"Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptActor": +/* 800A96AC 000A660C 38 00 00 00 */ li r0, 0 +/* 800A96B0 000A6610 90 03 00 04 */ stw r0, 4(r3) +/* 800A96B4 000A6614 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR9CRepulsor" +"Visit__30TCastToPtr<16CScriptGunTurret>FR9CRepulsor": +/* 800A96B8 000A6618 38 00 00 00 */ li r0, 0 +/* 800A96BC 000A661C 90 03 00 04 */ stw r0, 4(r3) +/* 800A96C0 000A6620 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR7CPlayer" +"Visit__30TCastToPtr<16CScriptGunTurret>FR7CPlayer": +/* 800A96C4 000A6624 38 00 00 00 */ li r0, 0 +/* 800A96C8 000A6628 90 03 00 04 */ stw r0, 4(r3) +/* 800A96CC 000A662C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR13CPhysicsActor" +"Visit__30TCastToPtr<16CScriptGunTurret>FR13CPhysicsActor": +/* 800A96D0 000A6630 38 00 00 00 */ li r0, 0 +/* 800A96D4 000A6634 90 03 00 04 */ stw r0, 4(r3) +/* 800A96D8 000A6638 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR3CAi" +"Visit__30TCastToPtr<16CScriptGunTurret>FR3CAi": +/* 800A96DC 000A663C 38 00 00 00 */ li r0, 0 +/* 800A96E0 000A6640 90 03 00 04 */ stw r0, 4(r3) +/* 800A96E4 000A6644 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CPathCamera" +"Visit__30TCastToPtr<16CScriptGunTurret>FR11CPathCamera": +/* 800A96E8 000A6648 38 00 00 00 */ li r0, 0 +/* 800A96EC 000A664C 90 03 00 04 */ stw r0, 4(r3) +/* 800A96F0 000A6650 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR18CMetroidPrimeRelay" +"Visit__30TCastToPtr<16CScriptGunTurret>FR18CMetroidPrimeRelay": +/* 800A96F4 000A6654 38 00 00 00 */ li r0, 0 +/* 800A96F8 000A6658 90 03 00 04 */ stw r0, 4(r3) +/* 800A96FC 000A665C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR19CHUDBillboardEffect" +"Visit__30TCastToPtr<16CScriptGunTurret>FR19CHUDBillboardEffect": +/* 800A9700 000A6660 38 00 00 00 */ li r0, 0 +/* 800A9704 000A6664 90 03 00 04 */ stw r0, 4(r3) +/* 800A9708 000A6668 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CGameProjectile" +"Visit__30TCastToPtr<16CScriptGunTurret>FR15CGameProjectile": +/* 800A970C 000A666C 38 00 00 00 */ li r0, 0 +/* 800A9710 000A6670 90 03 00 04 */ stw r0, 4(r3) +/* 800A9714 000A6674 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR10CGameLight" +"Visit__30TCastToPtr<16CScriptGunTurret>FR10CGameLight": +/* 800A9718 000A6678 38 00 00 00 */ li r0, 0 +/* 800A971C 000A667C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9720 000A6680 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CGameCamera" +"Visit__30TCastToPtr<16CScriptGunTurret>FR11CGameCamera": +/* 800A9724 000A6684 38 00 00 00 */ li r0, 0 +/* 800A9728 000A6688 90 03 00 04 */ stw r0, 4(r3) +/* 800A972C 000A668C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR10CFishCloud" +"Visit__30TCastToPtr<16CScriptGunTurret>FR10CFishCloud": +/* 800A9730 000A6690 38 00 00 00 */ li r0, 0 +/* 800A9734 000A6694 90 03 00 04 */ stw r0, 4(r3) +/* 800A9738 000A6698 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR18CFirstPersonCamera" +"Visit__30TCastToPtr<16CScriptGunTurret>FR18CFirstPersonCamera": +/* 800A973C 000A669C 38 00 00 00 */ li r0, 0 +/* 800A9740 000A66A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9744 000A66A4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR10CExplosion" +"Visit__30TCastToPtr<16CScriptGunTurret>FR10CExplosion": +/* 800A9748 000A66A8 38 00 00 00 */ li r0, 0 +/* 800A974C 000A66AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9750 000A66B0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR7CEntity" +"Visit__30TCastToPtr<16CScriptGunTurret>FR7CEntity": +/* 800A9754 000A66B4 38 00 00 00 */ li r0, 0 +/* 800A9758 000A66B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A975C 000A66BC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CEnergyProjectile" +"Visit__30TCastToPtr<16CScriptGunTurret>FR17CEnergyProjectile": +/* 800A9760 000A66C0 38 00 00 00 */ li r0, 0 +/* 800A9764 000A66C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9768 000A66C8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR16CDestroyableRock" +"Visit__30TCastToPtr<16CScriptGunTurret>FR16CDestroyableRock": +/* 800A976C 000A66CC 38 00 00 00 */ li r0, 0 +/* 800A9770 000A66D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9774 000A66D4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CCollisionActor" +"Visit__30TCastToPtr<16CScriptGunTurret>FR15CCollisionActor": +/* 800A9778 000A66D8 38 00 00 00 */ li r0, 0 +/* 800A977C 000A66DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9780 000A66E0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR16CCinematicCamera" +"Visit__30TCastToPtr<16CScriptGunTurret>FR16CCinematicCamera": +/* 800A9784 000A66E4 38 00 00 00 */ li r0, 0 +/* 800A9788 000A66E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A978C 000A66EC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR5CBomb" +"Visit__30TCastToPtr<16CScriptGunTurret>FR5CBomb": +/* 800A9790 000A66F0 38 00 00 00 */ li r0, 0 +/* 800A9794 000A66F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9798 000A66F8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CBallCamera" +"Visit__30TCastToPtr<16CScriptGunTurret>FR11CBallCamera": +/* 800A979C 000A66FC 38 00 00 00 */ li r0, 0 +/* 800A97A0 000A6700 90 03 00 04 */ stw r0, 4(r3) +/* 800A97A4 000A6704 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CScriptGunTurret>FR6CActor" +"Visit__30TCastToPtr<16CScriptGunTurret>FR6CActor": +/* 800A97A8 000A6708 38 00 00 00 */ li r0, 0 +/* 800A97AC 000A670C 90 03 00 04 */ stw r0, 4(r3) +/* 800A97B0 000A6710 4E 80 00 20 */ blr + +.global "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" +"__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity": +/* 800A97B4 000A6714 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A97B8 000A6718 7C 08 02 A6 */ mflr r0 +/* 800A97BC 000A671C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A97C0 000A6720 3C A0 80 3E */ lis r5, lbl_803DDCE0@ha +/* 800A97C4 000A6724 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A97C8 000A6728 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A97CC 000A672C 28 04 00 00 */ cmplwi r4, 0 +/* 800A97D0 000A6730 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A97D4 000A6734 7C 7F 1B 78 */ mr r31, r3 +/* 800A97D8 000A6738 38 65 DC E0 */ addi r3, r5, lbl_803DDCE0@l +/* 800A97DC 000A673C 90 1F 00 00 */ stw r0, 0(r31) +/* 800A97E0 000A6740 38 00 00 00 */ li r0, 0 +/* 800A97E4 000A6744 90 7F 00 00 */ stw r3, 0(r31) +/* 800A97E8 000A6748 90 1F 00 04 */ stw r0, 4(r31) +/* 800A97EC 000A674C 41 82 00 1C */ beq lbl_800A9808 +/* 800A97F0 000A6750 7C 83 23 78 */ mr r3, r4 +/* 800A97F4 000A6754 7F E4 FB 78 */ mr r4, r31 +/* 800A97F8 000A6758 81 83 00 00 */ lwz r12, 0(r3) +/* 800A97FC 000A675C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A9800 000A6760 7D 89 03 A6 */ mtctr r12 +/* 800A9804 000A6764 4E 80 04 21 */ bctrl +lbl_800A9808: +/* 800A9808 000A6768 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A980C 000A676C 7F E3 FB 78 */ mr r3, r31 +/* 800A9810 000A6770 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A9814 000A6774 7C 08 03 A6 */ mtlr r0 +/* 800A9818 000A6778 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A981C 000A677C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CWeapon" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CWeapon": +/* 800A9820 000A6780 38 00 00 00 */ li r0, 0 +/* 800A9824 000A6784 90 03 00 04 */ stw r0, 4(r3) +/* 800A9828 000A6788 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CWallCrawlerSwarm" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CWallCrawlerSwarm": +/* 800A982C 000A678C 38 00 00 00 */ li r0, 0 +/* 800A9830 000A6790 90 03 00 04 */ stw r0, 4(r3) +/* 800A9834 000A6794 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptSpindleCamera" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptSpindleCamera": +/* 800A9838 000A6798 38 00 00 00 */ li r0, 0 +/* 800A983C 000A679C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9840 000A67A0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CSnakeWeedSwarm" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CSnakeWeedSwarm": +/* 800A9844 000A67A4 38 00 00 00 */ li r0, 0 +/* 800A9848 000A67A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A984C 000A67AC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptWaypoint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptWaypoint": +/* 800A9850 000A67B0 38 00 00 00 */ li r0, 0 +/* 800A9854 000A67B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9858 000A67B8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptWater" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptWater": +/* 800A985C 000A67BC 38 00 00 00 */ li r0, 0 +/* 800A9860 000A67C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9864 000A67C4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptVisorFlare" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptVisorFlare": +/* 800A9868 000A67C8 38 00 00 00 */ li r0, 0 +/* 800A986C 000A67CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9870 000A67D0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR14CScriptTrigger" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR14CScriptTrigger": +/* 800A9874 000A67D4 38 00 00 00 */ li r0, 0 +/* 800A9878 000A67D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A987C 000A67DC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptTimer" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptTimer": +/* 800A9880 000A67E0 38 00 00 00 */ li r0, 0 +/* 800A9884 000A67E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9888 000A67E8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CTeamAiMgr" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CTeamAiMgr": +/* 800A988C 000A67EC 38 00 00 00 */ li r0, 0 +/* 800A9890 000A67F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9894 000A67F4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR21CScriptTargetingPoint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR21CScriptTargetingPoint": +/* 800A9898 000A67F8 38 00 00 00 */ li r0, 0 +/* 800A989C 000A67FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A98A0 000A6800 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR25CScriptSpiderBallWaypoint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR25CScriptSpiderBallWaypoint": +/* 800A98A4 000A6804 38 00 00 00 */ li r0, 0 +/* 800A98A8 000A6808 90 03 00 04 */ stw r0, 4(r3) +/* 800A98AC 000A680C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR34CScriptSpiderBallAttractionSurface" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR34CScriptSpiderBallAttractionSurface": +/* 800A98B0 000A6810 38 00 00 00 */ li r0, 0 +/* 800A98B4 000A6814 90 03 00 04 */ stw r0, 4(r3) +/* 800A98B8 000A6818 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR22CScriptSpecialFunction" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR22CScriptSpecialFunction": +/* 800A98BC 000A681C 38 00 00 00 */ li r0, 0 +/* 800A98C0 000A6820 90 03 00 04 */ stw r0, 4(r3) +/* 800A98C4 000A6824 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptSpawnPoint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptSpawnPoint": +/* 800A98C8 000A6828 38 00 00 00 */ li r0, 0 +/* 800A98CC 000A682C 90 03 00 04 */ stw r0, 4(r3) +/* 800A98D0 000A6830 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptSound" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptSound": +/* 800A98D4 000A6834 38 00 00 00 */ li r0, 0 +/* 800A98D8 000A6838 90 03 00 04 */ stw r0, 4(r3) +/* 800A98DC 000A683C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptRoomAcoustics" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptRoomAcoustics": +/* 800A98E0 000A6840 38 00 00 00 */ li r0, 0 +/* 800A98E4 000A6844 90 03 00 04 */ stw r0, 4(r3) +/* 800A98E8 000A6848 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR22CScriptPointOfinterest" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR22CScriptPointOfinterest": +/* 800A98EC 000A684C 38 00 00 00 */ li r0, 0 +/* 800A98F0 000A6850 90 03 00 04 */ stw r0, 4(r3) +/* 800A98F4 000A6854 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptPlayerHint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptPlayerHint": +/* 800A98F8 000A6858 38 00 00 00 */ li r0, 0 +/* 800A98FC 000A685C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9900 000A6860 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptPlatform" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptPlatform": +/* 800A9904 000A6864 38 00 00 00 */ li r0, 0 +/* 800A9908 000A6868 90 03 00 04 */ stw r0, 4(r3) +/* 800A990C 000A686C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CScriptPickup" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CScriptPickup": +/* 800A9910 000A6870 38 00 00 00 */ li r0, 0 +/* 800A9914 000A6874 90 03 00 04 */ stw r0, 4(r3) +/* 800A9918 000A6878 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptMazeNode" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptMazeNode": +/* 800A991C 000A687C 38 00 00 00 */ li r0, 0 +/* 800A9920 000A6880 90 03 00 04 */ stw r0, 4(r3) +/* 800A9924 000A6884 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CScriptGunTurret" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CScriptGunTurret": +/* 800A9928 000A6888 38 00 00 00 */ li r0, 0 +/* 800A992C 000A688C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9930 000A6890 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR19CScriptGrapplePoint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR19CScriptGrapplePoint": +/* 800A9934 000A6894 90 83 00 04 */ stw r4, 4(r3) +/* 800A9938 000A6898 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CScriptEffect" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CScriptEffect": +/* 800A993C 000A689C 38 00 00 00 */ li r0, 0 +/* 800A9940 000A68A0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9944 000A68A4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CScriptDoor" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CScriptDoor": +/* 800A9948 000A68A8 38 00 00 00 */ li r0, 0 +/* 800A994C 000A68AC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9950 000A68B0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CScriptDock" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CScriptDock": +/* 800A9954 000A68B4 38 00 00 00 */ li r0, 0 +/* 800A9958 000A68B8 90 03 00 04 */ stw r0, 4(r3) +/* 800A995C 000A68BC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CScriptDistanceFog" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CScriptDistanceFog": +/* 800A9960 000A68C0 38 00 00 00 */ li r0, 0 +/* 800A9964 000A68C4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9968 000A68C8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR26CScriptDebugCameraWaypoint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR26CScriptDebugCameraWaypoint": +/* 800A996C 000A68CC 38 00 00 00 */ li r0, 0 +/* 800A9970 000A68D0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9974 000A68D4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptCoverPoint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptCoverPoint": +/* 800A9978 000A68D8 38 00 00 00 */ li r0, 0 +/* 800A997C 000A68DC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9980 000A68E0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR21CScriptCameraWaypoint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR21CScriptCameraWaypoint": +/* 800A9984 000A68E4 38 00 00 00 */ li r0, 0 +/* 800A9988 000A68E8 90 03 00 04 */ stw r0, 4(r3) +/* 800A998C 000A68EC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR24CScriptCameraPitchVolume" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR24CScriptCameraPitchVolume": +/* 800A9990 000A68F0 38 00 00 00 */ li r0, 0 +/* 800A9994 000A68F4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9998 000A68F8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptCameraHint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptCameraHint": +/* 800A999C 000A68FC 38 00 00 00 */ li r0, 0 +/* 800A99A0 000A6900 90 03 00 04 */ stw r0, 4(r3) +/* 800A99A4 000A6904 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CScriptAiJumpPoint" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CScriptAiJumpPoint": +/* 800A99A8 000A6908 38 00 00 00 */ li r0, 0 +/* 800A99AC 000A690C 90 03 00 04 */ stw r0, 4(r3) +/* 800A99B0 000A6910 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptActorKeyframe" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptActorKeyframe": +/* 800A99B4 000A6914 38 00 00 00 */ li r0, 0 +/* 800A99B8 000A6918 90 03 00 04 */ stw r0, 4(r3) +/* 800A99BC 000A691C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptActor" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptActor": +/* 800A99C0 000A6920 38 00 00 00 */ li r0, 0 +/* 800A99C4 000A6924 90 03 00 04 */ stw r0, 4(r3) +/* 800A99C8 000A6928 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR9CRepulsor" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR9CRepulsor": +/* 800A99CC 000A692C 38 00 00 00 */ li r0, 0 +/* 800A99D0 000A6930 90 03 00 04 */ stw r0, 4(r3) +/* 800A99D4 000A6934 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CPlayer" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CPlayer": +/* 800A99D8 000A6938 38 00 00 00 */ li r0, 0 +/* 800A99DC 000A693C 90 03 00 04 */ stw r0, 4(r3) +/* 800A99E0 000A6940 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CPhysicsActor" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CPhysicsActor": +/* 800A99E4 000A6944 38 00 00 00 */ li r0, 0 +/* 800A99E8 000A6948 90 03 00 04 */ stw r0, 4(r3) +/* 800A99EC 000A694C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR3CAi" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR3CAi": +/* 800A99F0 000A6950 38 00 00 00 */ li r0, 0 +/* 800A99F4 000A6954 90 03 00 04 */ stw r0, 4(r3) +/* 800A99F8 000A6958 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CPathCamera" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CPathCamera": +/* 800A99FC 000A695C 38 00 00 00 */ li r0, 0 +/* 800A9A00 000A6960 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A04 000A6964 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CMetroidPrimeRelay" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CMetroidPrimeRelay": +/* 800A9A08 000A6968 38 00 00 00 */ li r0, 0 +/* 800A9A0C 000A696C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A10 000A6970 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR19CHUDBillboardEffect" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR19CHUDBillboardEffect": +/* 800A9A14 000A6974 38 00 00 00 */ li r0, 0 +/* 800A9A18 000A6978 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A1C 000A697C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CGameProjectile" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CGameProjectile": +/* 800A9A20 000A6980 38 00 00 00 */ li r0, 0 +/* 800A9A24 000A6984 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A28 000A6988 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CGameLight" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CGameLight": +/* 800A9A2C 000A698C 38 00 00 00 */ li r0, 0 +/* 800A9A30 000A6990 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A34 000A6994 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CGameCamera" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CGameCamera": +/* 800A9A38 000A6998 38 00 00 00 */ li r0, 0 +/* 800A9A3C 000A699C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A40 000A69A0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CFishCloud" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CFishCloud": +/* 800A9A44 000A69A4 38 00 00 00 */ li r0, 0 +/* 800A9A48 000A69A8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A4C 000A69AC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CFirstPersonCamera" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CFirstPersonCamera": +/* 800A9A50 000A69B0 38 00 00 00 */ li r0, 0 +/* 800A9A54 000A69B4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A58 000A69B8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CExplosion" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CExplosion": +/* 800A9A5C 000A69BC 38 00 00 00 */ li r0, 0 +/* 800A9A60 000A69C0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A64 000A69C4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CEntity" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CEntity": +/* 800A9A68 000A69C8 38 00 00 00 */ li r0, 0 +/* 800A9A6C 000A69CC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A70 000A69D0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CEnergyProjectile" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CEnergyProjectile": +/* 800A9A74 000A69D4 38 00 00 00 */ li r0, 0 +/* 800A9A78 000A69D8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A7C 000A69DC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CDestroyableRock" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CDestroyableRock": +/* 800A9A80 000A69E0 38 00 00 00 */ li r0, 0 +/* 800A9A84 000A69E4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A88 000A69E8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CCollisionActor" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CCollisionActor": +/* 800A9A8C 000A69EC 38 00 00 00 */ li r0, 0 +/* 800A9A90 000A69F0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9A94 000A69F4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CCinematicCamera" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CCinematicCamera": +/* 800A9A98 000A69F8 38 00 00 00 */ li r0, 0 +/* 800A9A9C 000A69FC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9AA0 000A6A00 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR5CBomb" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR5CBomb": +/* 800A9AA4 000A6A04 38 00 00 00 */ li r0, 0 +/* 800A9AA8 000A6A08 90 03 00 04 */ stw r0, 4(r3) +/* 800A9AAC 000A6A0C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CBallCamera" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CBallCamera": +/* 800A9AB0 000A6A10 38 00 00 00 */ li r0, 0 +/* 800A9AB4 000A6A14 90 03 00 04 */ stw r0, 4(r3) +/* 800A9AB8 000A6A18 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR6CActor" +"Visit__33TCastToPtr<19CScriptGrapplePoint>FR6CActor": +/* 800A9ABC 000A6A1C 38 00 00 00 */ li r0, 0 +/* 800A9AC0 000A6A20 90 03 00 04 */ stw r0, 4(r3) +/* 800A9AC4 000A6A24 4E 80 00 20 */ blr + +.global "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" +"__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity": +/* 800A9AC8 000A6A28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A9ACC 000A6A2C 7C 08 02 A6 */ mflr r0 +/* 800A9AD0 000A6A30 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A9AD4 000A6A34 3C A0 80 3E */ lis r5, lbl_803DDBF4@ha +/* 800A9AD8 000A6A38 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A9ADC 000A6A3C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A9AE0 000A6A40 28 04 00 00 */ cmplwi r4, 0 +/* 800A9AE4 000A6A44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A9AE8 000A6A48 7C 7F 1B 78 */ mr r31, r3 +/* 800A9AEC 000A6A4C 38 65 DB F4 */ addi r3, r5, lbl_803DDBF4@l +/* 800A9AF0 000A6A50 90 1F 00 00 */ stw r0, 0(r31) +/* 800A9AF4 000A6A54 38 00 00 00 */ li r0, 0 +/* 800A9AF8 000A6A58 90 7F 00 00 */ stw r3, 0(r31) +/* 800A9AFC 000A6A5C 90 1F 00 04 */ stw r0, 4(r31) +/* 800A9B00 000A6A60 41 82 00 1C */ beq lbl_800A9B1C +/* 800A9B04 000A6A64 7C 83 23 78 */ mr r3, r4 +/* 800A9B08 000A6A68 7F E4 FB 78 */ mr r4, r31 +/* 800A9B0C 000A6A6C 81 83 00 00 */ lwz r12, 0(r3) +/* 800A9B10 000A6A70 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A9B14 000A6A74 7D 89 03 A6 */ mtctr r12 +/* 800A9B18 000A6A78 4E 80 04 21 */ bctrl +lbl_800A9B1C: +/* 800A9B1C 000A6A7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A9B20 000A6A80 7F E3 FB 78 */ mr r3, r31 +/* 800A9B24 000A6A84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A9B28 000A6A88 7C 08 03 A6 */ mtlr r0 +/* 800A9B2C 000A6A8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A9B30 000A6A90 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR7CWeapon" +"Visit__27TCastToPtr<13CScriptEffect>FR7CWeapon": +/* 800A9B34 000A6A94 38 00 00 00 */ li r0, 0 +/* 800A9B38 000A6A98 90 03 00 04 */ stw r0, 4(r3) +/* 800A9B3C 000A6A9C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR17CWallCrawlerSwarm" +"Visit__27TCastToPtr<13CScriptEffect>FR17CWallCrawlerSwarm": +/* 800A9B40 000A6AA0 38 00 00 00 */ li r0, 0 +/* 800A9B44 000A6AA4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9B48 000A6AA8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR20CScriptSpindleCamera" +"Visit__27TCastToPtr<13CScriptEffect>FR20CScriptSpindleCamera": +/* 800A9B4C 000A6AAC 38 00 00 00 */ li r0, 0 +/* 800A9B50 000A6AB0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9B54 000A6AB4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR15CSnakeWeedSwarm" +"Visit__27TCastToPtr<13CScriptEffect>FR15CSnakeWeedSwarm": +/* 800A9B58 000A6AB8 38 00 00 00 */ li r0, 0 +/* 800A9B5C 000A6ABC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9B60 000A6AC0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR15CScriptWaypoint" +"Visit__27TCastToPtr<13CScriptEffect>FR15CScriptWaypoint": +/* 800A9B64 000A6AC4 38 00 00 00 */ li r0, 0 +/* 800A9B68 000A6AC8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9B6C 000A6ACC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR12CScriptWater" +"Visit__27TCastToPtr<13CScriptEffect>FR12CScriptWater": +/* 800A9B70 000A6AD0 38 00 00 00 */ li r0, 0 +/* 800A9B74 000A6AD4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9B78 000A6AD8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptVisorFlare" +"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptVisorFlare": +/* 800A9B7C 000A6ADC 38 00 00 00 */ li r0, 0 +/* 800A9B80 000A6AE0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9B84 000A6AE4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR14CScriptTrigger" +"Visit__27TCastToPtr<13CScriptEffect>FR14CScriptTrigger": +/* 800A9B88 000A6AE8 38 00 00 00 */ li r0, 0 +/* 800A9B8C 000A6AEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9B90 000A6AF0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR12CScriptTimer" +"Visit__27TCastToPtr<13CScriptEffect>FR12CScriptTimer": +/* 800A9B94 000A6AF4 38 00 00 00 */ li r0, 0 +/* 800A9B98 000A6AF8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9B9C 000A6AFC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR10CTeamAiMgr" +"Visit__27TCastToPtr<13CScriptEffect>FR10CTeamAiMgr": +/* 800A9BA0 000A6B00 38 00 00 00 */ li r0, 0 +/* 800A9BA4 000A6B04 90 03 00 04 */ stw r0, 4(r3) +/* 800A9BA8 000A6B08 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR21CScriptTargetingPoint" +"Visit__27TCastToPtr<13CScriptEffect>FR21CScriptTargetingPoint": +/* 800A9BAC 000A6B0C 38 00 00 00 */ li r0, 0 +/* 800A9BB0 000A6B10 90 03 00 04 */ stw r0, 4(r3) +/* 800A9BB4 000A6B14 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR25CScriptSpiderBallWaypoint" +"Visit__27TCastToPtr<13CScriptEffect>FR25CScriptSpiderBallWaypoint": +/* 800A9BB8 000A6B18 38 00 00 00 */ li r0, 0 +/* 800A9BBC 000A6B1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9BC0 000A6B20 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR34CScriptSpiderBallAttractionSurface" +"Visit__27TCastToPtr<13CScriptEffect>FR34CScriptSpiderBallAttractionSurface": +/* 800A9BC4 000A6B24 38 00 00 00 */ li r0, 0 +/* 800A9BC8 000A6B28 90 03 00 04 */ stw r0, 4(r3) +/* 800A9BCC 000A6B2C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR22CScriptSpecialFunction" +"Visit__27TCastToPtr<13CScriptEffect>FR22CScriptSpecialFunction": +/* 800A9BD0 000A6B30 38 00 00 00 */ li r0, 0 +/* 800A9BD4 000A6B34 90 03 00 04 */ stw r0, 4(r3) +/* 800A9BD8 000A6B38 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptSpawnPoint" +"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptSpawnPoint": +/* 800A9BDC 000A6B3C 38 00 00 00 */ li r0, 0 +/* 800A9BE0 000A6B40 90 03 00 04 */ stw r0, 4(r3) +/* 800A9BE4 000A6B44 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR12CScriptSound" +"Visit__27TCastToPtr<13CScriptEffect>FR12CScriptSound": +/* 800A9BE8 000A6B48 38 00 00 00 */ li r0, 0 +/* 800A9BEC 000A6B4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9BF0 000A6B50 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR20CScriptRoomAcoustics" +"Visit__27TCastToPtr<13CScriptEffect>FR20CScriptRoomAcoustics": +/* 800A9BF4 000A6B54 38 00 00 00 */ li r0, 0 +/* 800A9BF8 000A6B58 90 03 00 04 */ stw r0, 4(r3) +/* 800A9BFC 000A6B5C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR22CScriptPointOfinterest" +"Visit__27TCastToPtr<13CScriptEffect>FR22CScriptPointOfinterest": +/* 800A9C00 000A6B60 38 00 00 00 */ li r0, 0 +/* 800A9C04 000A6B64 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C08 000A6B68 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptPlayerHint" +"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptPlayerHint": +/* 800A9C0C 000A6B6C 38 00 00 00 */ li r0, 0 +/* 800A9C10 000A6B70 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C14 000A6B74 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR15CScriptPlatform" +"Visit__27TCastToPtr<13CScriptEffect>FR15CScriptPlatform": +/* 800A9C18 000A6B78 38 00 00 00 */ li r0, 0 +/* 800A9C1C 000A6B7C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C20 000A6B80 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR13CScriptPickup" +"Visit__27TCastToPtr<13CScriptEffect>FR13CScriptPickup": +/* 800A9C24 000A6B84 38 00 00 00 */ li r0, 0 +/* 800A9C28 000A6B88 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C2C 000A6B8C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR15CScriptMazeNode" +"Visit__27TCastToPtr<13CScriptEffect>FR15CScriptMazeNode": +/* 800A9C30 000A6B90 38 00 00 00 */ li r0, 0 +/* 800A9C34 000A6B94 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C38 000A6B98 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR16CScriptGunTurret" +"Visit__27TCastToPtr<13CScriptEffect>FR16CScriptGunTurret": +/* 800A9C3C 000A6B9C 38 00 00 00 */ li r0, 0 +/* 800A9C40 000A6BA0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C44 000A6BA4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR19CScriptGrapplePoint" +"Visit__27TCastToPtr<13CScriptEffect>FR19CScriptGrapplePoint": +/* 800A9C48 000A6BA8 38 00 00 00 */ li r0, 0 +/* 800A9C4C 000A6BAC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C50 000A6BB0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR13CScriptEffect" +"Visit__27TCastToPtr<13CScriptEffect>FR13CScriptEffect": +/* 800A9C54 000A6BB4 90 83 00 04 */ stw r4, 4(r3) +/* 800A9C58 000A6BB8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR11CScriptDoor" +"Visit__27TCastToPtr<13CScriptEffect>FR11CScriptDoor": +/* 800A9C5C 000A6BBC 38 00 00 00 */ li r0, 0 +/* 800A9C60 000A6BC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C64 000A6BC4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR11CScriptDock" +"Visit__27TCastToPtr<13CScriptEffect>FR11CScriptDock": +/* 800A9C68 000A6BC8 38 00 00 00 */ li r0, 0 +/* 800A9C6C 000A6BCC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C70 000A6BD0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR18CScriptDistanceFog" +"Visit__27TCastToPtr<13CScriptEffect>FR18CScriptDistanceFog": +/* 800A9C74 000A6BD4 38 00 00 00 */ li r0, 0 +/* 800A9C78 000A6BD8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C7C 000A6BDC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR26CScriptDebugCameraWaypoint" +"Visit__27TCastToPtr<13CScriptEffect>FR26CScriptDebugCameraWaypoint": +/* 800A9C80 000A6BE0 38 00 00 00 */ li r0, 0 +/* 800A9C84 000A6BE4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C88 000A6BE8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptCoverPoint" +"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptCoverPoint": +/* 800A9C8C 000A6BEC 38 00 00 00 */ li r0, 0 +/* 800A9C90 000A6BF0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9C94 000A6BF4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR21CScriptCameraWaypoint" +"Visit__27TCastToPtr<13CScriptEffect>FR21CScriptCameraWaypoint": +/* 800A9C98 000A6BF8 38 00 00 00 */ li r0, 0 +/* 800A9C9C 000A6BFC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9CA0 000A6C00 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR24CScriptCameraPitchVolume" +"Visit__27TCastToPtr<13CScriptEffect>FR24CScriptCameraPitchVolume": +/* 800A9CA4 000A6C04 38 00 00 00 */ li r0, 0 +/* 800A9CA8 000A6C08 90 03 00 04 */ stw r0, 4(r3) +/* 800A9CAC 000A6C0C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptCameraHint" +"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptCameraHint": +/* 800A9CB0 000A6C10 38 00 00 00 */ li r0, 0 +/* 800A9CB4 000A6C14 90 03 00 04 */ stw r0, 4(r3) +/* 800A9CB8 000A6C18 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR18CScriptAiJumpPoint" +"Visit__27TCastToPtr<13CScriptEffect>FR18CScriptAiJumpPoint": +/* 800A9CBC 000A6C1C 38 00 00 00 */ li r0, 0 +/* 800A9CC0 000A6C20 90 03 00 04 */ stw r0, 4(r3) +/* 800A9CC4 000A6C24 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR20CScriptActorKeyframe" +"Visit__27TCastToPtr<13CScriptEffect>FR20CScriptActorKeyframe": +/* 800A9CC8 000A6C28 38 00 00 00 */ li r0, 0 +/* 800A9CCC 000A6C2C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9CD0 000A6C30 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR12CScriptActor" +"Visit__27TCastToPtr<13CScriptEffect>FR12CScriptActor": +/* 800A9CD4 000A6C34 38 00 00 00 */ li r0, 0 +/* 800A9CD8 000A6C38 90 03 00 04 */ stw r0, 4(r3) +/* 800A9CDC 000A6C3C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR9CRepulsor" +"Visit__27TCastToPtr<13CScriptEffect>FR9CRepulsor": +/* 800A9CE0 000A6C40 38 00 00 00 */ li r0, 0 +/* 800A9CE4 000A6C44 90 03 00 04 */ stw r0, 4(r3) +/* 800A9CE8 000A6C48 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR7CPlayer" +"Visit__27TCastToPtr<13CScriptEffect>FR7CPlayer": +/* 800A9CEC 000A6C4C 38 00 00 00 */ li r0, 0 +/* 800A9CF0 000A6C50 90 03 00 04 */ stw r0, 4(r3) +/* 800A9CF4 000A6C54 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR13CPhysicsActor" +"Visit__27TCastToPtr<13CScriptEffect>FR13CPhysicsActor": +/* 800A9CF8 000A6C58 38 00 00 00 */ li r0, 0 +/* 800A9CFC 000A6C5C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D00 000A6C60 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR3CAi" +"Visit__27TCastToPtr<13CScriptEffect>FR3CAi": +/* 800A9D04 000A6C64 38 00 00 00 */ li r0, 0 +/* 800A9D08 000A6C68 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D0C 000A6C6C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR11CPathCamera" +"Visit__27TCastToPtr<13CScriptEffect>FR11CPathCamera": +/* 800A9D10 000A6C70 38 00 00 00 */ li r0, 0 +/* 800A9D14 000A6C74 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D18 000A6C78 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR18CMetroidPrimeRelay" +"Visit__27TCastToPtr<13CScriptEffect>FR18CMetroidPrimeRelay": +/* 800A9D1C 000A6C7C 38 00 00 00 */ li r0, 0 +/* 800A9D20 000A6C80 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D24 000A6C84 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR19CHUDBillboardEffect" +"Visit__27TCastToPtr<13CScriptEffect>FR19CHUDBillboardEffect": +/* 800A9D28 000A6C88 38 00 00 00 */ li r0, 0 +/* 800A9D2C 000A6C8C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D30 000A6C90 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR15CGameProjectile" +"Visit__27TCastToPtr<13CScriptEffect>FR15CGameProjectile": +/* 800A9D34 000A6C94 38 00 00 00 */ li r0, 0 +/* 800A9D38 000A6C98 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D3C 000A6C9C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR10CGameLight" +"Visit__27TCastToPtr<13CScriptEffect>FR10CGameLight": +/* 800A9D40 000A6CA0 38 00 00 00 */ li r0, 0 +/* 800A9D44 000A6CA4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D48 000A6CA8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR11CGameCamera" +"Visit__27TCastToPtr<13CScriptEffect>FR11CGameCamera": +/* 800A9D4C 000A6CAC 38 00 00 00 */ li r0, 0 +/* 800A9D50 000A6CB0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D54 000A6CB4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR10CFishCloud" +"Visit__27TCastToPtr<13CScriptEffect>FR10CFishCloud": +/* 800A9D58 000A6CB8 38 00 00 00 */ li r0, 0 +/* 800A9D5C 000A6CBC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D60 000A6CC0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR18CFirstPersonCamera" +"Visit__27TCastToPtr<13CScriptEffect>FR18CFirstPersonCamera": +/* 800A9D64 000A6CC4 38 00 00 00 */ li r0, 0 +/* 800A9D68 000A6CC8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D6C 000A6CCC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR10CExplosion" +"Visit__27TCastToPtr<13CScriptEffect>FR10CExplosion": +/* 800A9D70 000A6CD0 38 00 00 00 */ li r0, 0 +/* 800A9D74 000A6CD4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D78 000A6CD8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR7CEntity" +"Visit__27TCastToPtr<13CScriptEffect>FR7CEntity": +/* 800A9D7C 000A6CDC 38 00 00 00 */ li r0, 0 +/* 800A9D80 000A6CE0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D84 000A6CE4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR17CEnergyProjectile" +"Visit__27TCastToPtr<13CScriptEffect>FR17CEnergyProjectile": +/* 800A9D88 000A6CE8 38 00 00 00 */ li r0, 0 +/* 800A9D8C 000A6CEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D90 000A6CF0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR16CDestroyableRock" +"Visit__27TCastToPtr<13CScriptEffect>FR16CDestroyableRock": +/* 800A9D94 000A6CF4 38 00 00 00 */ li r0, 0 +/* 800A9D98 000A6CF8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9D9C 000A6CFC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR15CCollisionActor" +"Visit__27TCastToPtr<13CScriptEffect>FR15CCollisionActor": +/* 800A9DA0 000A6D00 38 00 00 00 */ li r0, 0 +/* 800A9DA4 000A6D04 90 03 00 04 */ stw r0, 4(r3) +/* 800A9DA8 000A6D08 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR16CCinematicCamera" +"Visit__27TCastToPtr<13CScriptEffect>FR16CCinematicCamera": +/* 800A9DAC 000A6D0C 38 00 00 00 */ li r0, 0 +/* 800A9DB0 000A6D10 90 03 00 04 */ stw r0, 4(r3) +/* 800A9DB4 000A6D14 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR5CBomb" +"Visit__27TCastToPtr<13CScriptEffect>FR5CBomb": +/* 800A9DB8 000A6D18 38 00 00 00 */ li r0, 0 +/* 800A9DBC 000A6D1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9DC0 000A6D20 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR11CBallCamera" +"Visit__27TCastToPtr<13CScriptEffect>FR11CBallCamera": +/* 800A9DC4 000A6D24 38 00 00 00 */ li r0, 0 +/* 800A9DC8 000A6D28 90 03 00 04 */ stw r0, 4(r3) +/* 800A9DCC 000A6D2C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CScriptEffect>FR6CActor" +"Visit__27TCastToPtr<13CScriptEffect>FR6CActor": +/* 800A9DD0 000A6D30 38 00 00 00 */ li r0, 0 +/* 800A9DD4 000A6D34 90 03 00 04 */ stw r0, 4(r3) +/* 800A9DD8 000A6D38 4E 80 00 20 */ blr + +.global "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" +"__ct__27TCastToPtr<13CScriptEffect>FP7CEntity": +/* 800A9DDC 000A6D3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800A9DE0 000A6D40 7C 08 02 A6 */ mflr r0 +/* 800A9DE4 000A6D44 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800A9DE8 000A6D48 3C A0 80 3E */ lis r5, lbl_803DDB08@ha +/* 800A9DEC 000A6D4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800A9DF0 000A6D50 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800A9DF4 000A6D54 28 04 00 00 */ cmplwi r4, 0 +/* 800A9DF8 000A6D58 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800A9DFC 000A6D5C 7C 7F 1B 78 */ mr r31, r3 +/* 800A9E00 000A6D60 38 65 DB 08 */ addi r3, r5, lbl_803DDB08@l +/* 800A9E04 000A6D64 90 1F 00 00 */ stw r0, 0(r31) +/* 800A9E08 000A6D68 38 00 00 00 */ li r0, 0 +/* 800A9E0C 000A6D6C 90 7F 00 00 */ stw r3, 0(r31) +/* 800A9E10 000A6D70 90 1F 00 04 */ stw r0, 4(r31) +/* 800A9E14 000A6D74 41 82 00 1C */ beq lbl_800A9E30 +/* 800A9E18 000A6D78 7C 83 23 78 */ mr r3, r4 +/* 800A9E1C 000A6D7C 7F E4 FB 78 */ mr r4, r31 +/* 800A9E20 000A6D80 81 83 00 00 */ lwz r12, 0(r3) +/* 800A9E24 000A6D84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800A9E28 000A6D88 7D 89 03 A6 */ mtctr r12 +/* 800A9E2C 000A6D8C 4E 80 04 21 */ bctrl +lbl_800A9E30: +/* 800A9E30 000A6D90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800A9E34 000A6D94 7F E3 FB 78 */ mr r3, r31 +/* 800A9E38 000A6D98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800A9E3C 000A6D9C 7C 08 03 A6 */ mtlr r0 +/* 800A9E40 000A6DA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800A9E44 000A6DA4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR7CWeapon" +"Visit__25TCastToPtr<11CScriptDoor>FR7CWeapon": +/* 800A9E48 000A6DA8 38 00 00 00 */ li r0, 0 +/* 800A9E4C 000A6DAC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9E50 000A6DB0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR17CWallCrawlerSwarm" +"Visit__25TCastToPtr<11CScriptDoor>FR17CWallCrawlerSwarm": +/* 800A9E54 000A6DB4 38 00 00 00 */ li r0, 0 +/* 800A9E58 000A6DB8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9E5C 000A6DBC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR20CScriptSpindleCamera" +"Visit__25TCastToPtr<11CScriptDoor>FR20CScriptSpindleCamera": +/* 800A9E60 000A6DC0 38 00 00 00 */ li r0, 0 +/* 800A9E64 000A6DC4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9E68 000A6DC8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR15CSnakeWeedSwarm" +"Visit__25TCastToPtr<11CScriptDoor>FR15CSnakeWeedSwarm": +/* 800A9E6C 000A6DCC 38 00 00 00 */ li r0, 0 +/* 800A9E70 000A6DD0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9E74 000A6DD4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR15CScriptWaypoint" +"Visit__25TCastToPtr<11CScriptDoor>FR15CScriptWaypoint": +/* 800A9E78 000A6DD8 38 00 00 00 */ li r0, 0 +/* 800A9E7C 000A6DDC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9E80 000A6DE0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR12CScriptWater" +"Visit__25TCastToPtr<11CScriptDoor>FR12CScriptWater": +/* 800A9E84 000A6DE4 38 00 00 00 */ li r0, 0 +/* 800A9E88 000A6DE8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9E8C 000A6DEC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptVisorFlare" +"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptVisorFlare": +/* 800A9E90 000A6DF0 38 00 00 00 */ li r0, 0 +/* 800A9E94 000A6DF4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9E98 000A6DF8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR14CScriptTrigger" +"Visit__25TCastToPtr<11CScriptDoor>FR14CScriptTrigger": +/* 800A9E9C 000A6DFC 38 00 00 00 */ li r0, 0 +/* 800A9EA0 000A6E00 90 03 00 04 */ stw r0, 4(r3) +/* 800A9EA4 000A6E04 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR12CScriptTimer" +"Visit__25TCastToPtr<11CScriptDoor>FR12CScriptTimer": +/* 800A9EA8 000A6E08 38 00 00 00 */ li r0, 0 +/* 800A9EAC 000A6E0C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9EB0 000A6E10 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR10CTeamAiMgr" +"Visit__25TCastToPtr<11CScriptDoor>FR10CTeamAiMgr": +/* 800A9EB4 000A6E14 38 00 00 00 */ li r0, 0 +/* 800A9EB8 000A6E18 90 03 00 04 */ stw r0, 4(r3) +/* 800A9EBC 000A6E1C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR21CScriptTargetingPoint" +"Visit__25TCastToPtr<11CScriptDoor>FR21CScriptTargetingPoint": +/* 800A9EC0 000A6E20 38 00 00 00 */ li r0, 0 +/* 800A9EC4 000A6E24 90 03 00 04 */ stw r0, 4(r3) +/* 800A9EC8 000A6E28 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR25CScriptSpiderBallWaypoint" +"Visit__25TCastToPtr<11CScriptDoor>FR25CScriptSpiderBallWaypoint": +/* 800A9ECC 000A6E2C 38 00 00 00 */ li r0, 0 +/* 800A9ED0 000A6E30 90 03 00 04 */ stw r0, 4(r3) +/* 800A9ED4 000A6E34 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR34CScriptSpiderBallAttractionSurface" +"Visit__25TCastToPtr<11CScriptDoor>FR34CScriptSpiderBallAttractionSurface": +/* 800A9ED8 000A6E38 38 00 00 00 */ li r0, 0 +/* 800A9EDC 000A6E3C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9EE0 000A6E40 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR22CScriptSpecialFunction" +"Visit__25TCastToPtr<11CScriptDoor>FR22CScriptSpecialFunction": +/* 800A9EE4 000A6E44 38 00 00 00 */ li r0, 0 +/* 800A9EE8 000A6E48 90 03 00 04 */ stw r0, 4(r3) +/* 800A9EEC 000A6E4C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptSpawnPoint" +"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptSpawnPoint": +/* 800A9EF0 000A6E50 38 00 00 00 */ li r0, 0 +/* 800A9EF4 000A6E54 90 03 00 04 */ stw r0, 4(r3) +/* 800A9EF8 000A6E58 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR12CScriptSound" +"Visit__25TCastToPtr<11CScriptDoor>FR12CScriptSound": +/* 800A9EFC 000A6E5C 38 00 00 00 */ li r0, 0 +/* 800A9F00 000A6E60 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F04 000A6E64 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR20CScriptRoomAcoustics" +"Visit__25TCastToPtr<11CScriptDoor>FR20CScriptRoomAcoustics": +/* 800A9F08 000A6E68 38 00 00 00 */ li r0, 0 +/* 800A9F0C 000A6E6C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F10 000A6E70 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR22CScriptPointOfinterest" +"Visit__25TCastToPtr<11CScriptDoor>FR22CScriptPointOfinterest": +/* 800A9F14 000A6E74 38 00 00 00 */ li r0, 0 +/* 800A9F18 000A6E78 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F1C 000A6E7C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptPlayerHint" +"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptPlayerHint": +/* 800A9F20 000A6E80 38 00 00 00 */ li r0, 0 +/* 800A9F24 000A6E84 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F28 000A6E88 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR15CScriptPlatform" +"Visit__25TCastToPtr<11CScriptDoor>FR15CScriptPlatform": +/* 800A9F2C 000A6E8C 38 00 00 00 */ li r0, 0 +/* 800A9F30 000A6E90 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F34 000A6E94 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR13CScriptPickup" +"Visit__25TCastToPtr<11CScriptDoor>FR13CScriptPickup": +/* 800A9F38 000A6E98 38 00 00 00 */ li r0, 0 +/* 800A9F3C 000A6E9C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F40 000A6EA0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR15CScriptMazeNode" +"Visit__25TCastToPtr<11CScriptDoor>FR15CScriptMazeNode": +/* 800A9F44 000A6EA4 38 00 00 00 */ li r0, 0 +/* 800A9F48 000A6EA8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F4C 000A6EAC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR16CScriptGunTurret" +"Visit__25TCastToPtr<11CScriptDoor>FR16CScriptGunTurret": +/* 800A9F50 000A6EB0 38 00 00 00 */ li r0, 0 +/* 800A9F54 000A6EB4 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F58 000A6EB8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR19CScriptGrapplePoint" +"Visit__25TCastToPtr<11CScriptDoor>FR19CScriptGrapplePoint": +/* 800A9F5C 000A6EBC 38 00 00 00 */ li r0, 0 +/* 800A9F60 000A6EC0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F64 000A6EC4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR13CScriptEffect" +"Visit__25TCastToPtr<11CScriptDoor>FR13CScriptEffect": +/* 800A9F68 000A6EC8 38 00 00 00 */ li r0, 0 +/* 800A9F6C 000A6ECC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F70 000A6ED0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR11CScriptDoor" +"Visit__25TCastToPtr<11CScriptDoor>FR11CScriptDoor": +/* 800A9F74 000A6ED4 90 83 00 04 */ stw r4, 4(r3) +/* 800A9F78 000A6ED8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR11CScriptDock" +"Visit__25TCastToPtr<11CScriptDoor>FR11CScriptDock": +/* 800A9F7C 000A6EDC 38 00 00 00 */ li r0, 0 +/* 800A9F80 000A6EE0 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F84 000A6EE4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR18CScriptDistanceFog" +"Visit__25TCastToPtr<11CScriptDoor>FR18CScriptDistanceFog": +/* 800A9F88 000A6EE8 38 00 00 00 */ li r0, 0 +/* 800A9F8C 000A6EEC 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F90 000A6EF0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR26CScriptDebugCameraWaypoint" +"Visit__25TCastToPtr<11CScriptDoor>FR26CScriptDebugCameraWaypoint": +/* 800A9F94 000A6EF4 38 00 00 00 */ li r0, 0 +/* 800A9F98 000A6EF8 90 03 00 04 */ stw r0, 4(r3) +/* 800A9F9C 000A6EFC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptCoverPoint" +"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptCoverPoint": +/* 800A9FA0 000A6F00 38 00 00 00 */ li r0, 0 +/* 800A9FA4 000A6F04 90 03 00 04 */ stw r0, 4(r3) +/* 800A9FA8 000A6F08 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR21CScriptCameraWaypoint" +"Visit__25TCastToPtr<11CScriptDoor>FR21CScriptCameraWaypoint": +/* 800A9FAC 000A6F0C 38 00 00 00 */ li r0, 0 +/* 800A9FB0 000A6F10 90 03 00 04 */ stw r0, 4(r3) +/* 800A9FB4 000A6F14 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR24CScriptCameraPitchVolume" +"Visit__25TCastToPtr<11CScriptDoor>FR24CScriptCameraPitchVolume": +/* 800A9FB8 000A6F18 38 00 00 00 */ li r0, 0 +/* 800A9FBC 000A6F1C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9FC0 000A6F20 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptCameraHint" +"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptCameraHint": +/* 800A9FC4 000A6F24 38 00 00 00 */ li r0, 0 +/* 800A9FC8 000A6F28 90 03 00 04 */ stw r0, 4(r3) +/* 800A9FCC 000A6F2C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR18CScriptAiJumpPoint" +"Visit__25TCastToPtr<11CScriptDoor>FR18CScriptAiJumpPoint": +/* 800A9FD0 000A6F30 38 00 00 00 */ li r0, 0 +/* 800A9FD4 000A6F34 90 03 00 04 */ stw r0, 4(r3) +/* 800A9FD8 000A6F38 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR20CScriptActorKeyframe" +"Visit__25TCastToPtr<11CScriptDoor>FR20CScriptActorKeyframe": +/* 800A9FDC 000A6F3C 38 00 00 00 */ li r0, 0 +/* 800A9FE0 000A6F40 90 03 00 04 */ stw r0, 4(r3) +/* 800A9FE4 000A6F44 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR12CScriptActor" +"Visit__25TCastToPtr<11CScriptDoor>FR12CScriptActor": +/* 800A9FE8 000A6F48 38 00 00 00 */ li r0, 0 +/* 800A9FEC 000A6F4C 90 03 00 04 */ stw r0, 4(r3) +/* 800A9FF0 000A6F50 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR9CRepulsor" +"Visit__25TCastToPtr<11CScriptDoor>FR9CRepulsor": +/* 800A9FF4 000A6F54 38 00 00 00 */ li r0, 0 +/* 800A9FF8 000A6F58 90 03 00 04 */ stw r0, 4(r3) +/* 800A9FFC 000A6F5C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR7CPlayer" +"Visit__25TCastToPtr<11CScriptDoor>FR7CPlayer": +/* 800AA000 000A6F60 38 00 00 00 */ li r0, 0 +/* 800AA004 000A6F64 90 03 00 04 */ stw r0, 4(r3) +/* 800AA008 000A6F68 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR13CPhysicsActor" +"Visit__25TCastToPtr<11CScriptDoor>FR13CPhysicsActor": +/* 800AA00C 000A6F6C 38 00 00 00 */ li r0, 0 +/* 800AA010 000A6F70 90 03 00 04 */ stw r0, 4(r3) +/* 800AA014 000A6F74 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR3CAi" +"Visit__25TCastToPtr<11CScriptDoor>FR3CAi": +/* 800AA018 000A6F78 38 00 00 00 */ li r0, 0 +/* 800AA01C 000A6F7C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA020 000A6F80 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR11CPathCamera" +"Visit__25TCastToPtr<11CScriptDoor>FR11CPathCamera": +/* 800AA024 000A6F84 38 00 00 00 */ li r0, 0 +/* 800AA028 000A6F88 90 03 00 04 */ stw r0, 4(r3) +/* 800AA02C 000A6F8C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR18CMetroidPrimeRelay" +"Visit__25TCastToPtr<11CScriptDoor>FR18CMetroidPrimeRelay": +/* 800AA030 000A6F90 38 00 00 00 */ li r0, 0 +/* 800AA034 000A6F94 90 03 00 04 */ stw r0, 4(r3) +/* 800AA038 000A6F98 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR19CHUDBillboardEffect" +"Visit__25TCastToPtr<11CScriptDoor>FR19CHUDBillboardEffect": +/* 800AA03C 000A6F9C 38 00 00 00 */ li r0, 0 +/* 800AA040 000A6FA0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA044 000A6FA4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR15CGameProjectile" +"Visit__25TCastToPtr<11CScriptDoor>FR15CGameProjectile": +/* 800AA048 000A6FA8 38 00 00 00 */ li r0, 0 +/* 800AA04C 000A6FAC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA050 000A6FB0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR10CGameLight" +"Visit__25TCastToPtr<11CScriptDoor>FR10CGameLight": +/* 800AA054 000A6FB4 38 00 00 00 */ li r0, 0 +/* 800AA058 000A6FB8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA05C 000A6FBC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR11CGameCamera" +"Visit__25TCastToPtr<11CScriptDoor>FR11CGameCamera": +/* 800AA060 000A6FC0 38 00 00 00 */ li r0, 0 +/* 800AA064 000A6FC4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA068 000A6FC8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR10CFishCloud" +"Visit__25TCastToPtr<11CScriptDoor>FR10CFishCloud": +/* 800AA06C 000A6FCC 38 00 00 00 */ li r0, 0 +/* 800AA070 000A6FD0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA074 000A6FD4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR18CFirstPersonCamera" +"Visit__25TCastToPtr<11CScriptDoor>FR18CFirstPersonCamera": +/* 800AA078 000A6FD8 38 00 00 00 */ li r0, 0 +/* 800AA07C 000A6FDC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA080 000A6FE0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR10CExplosion" +"Visit__25TCastToPtr<11CScriptDoor>FR10CExplosion": +/* 800AA084 000A6FE4 38 00 00 00 */ li r0, 0 +/* 800AA088 000A6FE8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA08C 000A6FEC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR7CEntity" +"Visit__25TCastToPtr<11CScriptDoor>FR7CEntity": +/* 800AA090 000A6FF0 38 00 00 00 */ li r0, 0 +/* 800AA094 000A6FF4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA098 000A6FF8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR17CEnergyProjectile" +"Visit__25TCastToPtr<11CScriptDoor>FR17CEnergyProjectile": +/* 800AA09C 000A6FFC 38 00 00 00 */ li r0, 0 +/* 800AA0A0 000A7000 90 03 00 04 */ stw r0, 4(r3) +/* 800AA0A4 000A7004 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR16CDestroyableRock" +"Visit__25TCastToPtr<11CScriptDoor>FR16CDestroyableRock": +/* 800AA0A8 000A7008 38 00 00 00 */ li r0, 0 +/* 800AA0AC 000A700C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA0B0 000A7010 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR15CCollisionActor" +"Visit__25TCastToPtr<11CScriptDoor>FR15CCollisionActor": +/* 800AA0B4 000A7014 38 00 00 00 */ li r0, 0 +/* 800AA0B8 000A7018 90 03 00 04 */ stw r0, 4(r3) +/* 800AA0BC 000A701C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR16CCinematicCamera" +"Visit__25TCastToPtr<11CScriptDoor>FR16CCinematicCamera": +/* 800AA0C0 000A7020 38 00 00 00 */ li r0, 0 +/* 800AA0C4 000A7024 90 03 00 04 */ stw r0, 4(r3) +/* 800AA0C8 000A7028 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR5CBomb" +"Visit__25TCastToPtr<11CScriptDoor>FR5CBomb": +/* 800AA0CC 000A702C 38 00 00 00 */ li r0, 0 +/* 800AA0D0 000A7030 90 03 00 04 */ stw r0, 4(r3) +/* 800AA0D4 000A7034 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR11CBallCamera" +"Visit__25TCastToPtr<11CScriptDoor>FR11CBallCamera": +/* 800AA0D8 000A7038 38 00 00 00 */ li r0, 0 +/* 800AA0DC 000A703C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA0E0 000A7040 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDoor>FR6CActor" +"Visit__25TCastToPtr<11CScriptDoor>FR6CActor": +/* 800AA0E4 000A7044 38 00 00 00 */ li r0, 0 +/* 800AA0E8 000A7048 90 03 00 04 */ stw r0, 4(r3) +/* 800AA0EC 000A704C 4E 80 00 20 */ blr + +.global "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +"__ct__25TCastToPtr<11CScriptDoor>FP7CEntity": +/* 800AA0F0 000A7050 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AA0F4 000A7054 7C 08 02 A6 */ mflr r0 +/* 800AA0F8 000A7058 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AA0FC 000A705C 3C A0 80 3E */ lis r5, lbl_803DDA1C@ha +/* 800AA100 000A7060 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AA104 000A7064 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AA108 000A7068 28 04 00 00 */ cmplwi r4, 0 +/* 800AA10C 000A706C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AA110 000A7070 7C 7F 1B 78 */ mr r31, r3 +/* 800AA114 000A7074 38 65 DA 1C */ addi r3, r5, lbl_803DDA1C@l +/* 800AA118 000A7078 90 1F 00 00 */ stw r0, 0(r31) +/* 800AA11C 000A707C 38 00 00 00 */ li r0, 0 +/* 800AA120 000A7080 90 7F 00 00 */ stw r3, 0(r31) +/* 800AA124 000A7084 90 1F 00 04 */ stw r0, 4(r31) +/* 800AA128 000A7088 41 82 00 1C */ beq lbl_800AA144 +/* 800AA12C 000A708C 7C 83 23 78 */ mr r3, r4 +/* 800AA130 000A7090 7F E4 FB 78 */ mr r4, r31 +/* 800AA134 000A7094 81 83 00 00 */ lwz r12, 0(r3) +/* 800AA138 000A7098 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AA13C 000A709C 7D 89 03 A6 */ mtctr r12 +/* 800AA140 000A70A0 4E 80 04 21 */ bctrl +lbl_800AA144: +/* 800AA144 000A70A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AA148 000A70A8 7F E3 FB 78 */ mr r3, r31 +/* 800AA14C 000A70AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AA150 000A70B0 7C 08 03 A6 */ mtlr r0 +/* 800AA154 000A70B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AA158 000A70B8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR7CWeapon" +"Visit__25TCastToPtr<11CScriptDock>FR7CWeapon": +/* 800AA15C 000A70BC 38 00 00 00 */ li r0, 0 +/* 800AA160 000A70C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA164 000A70C4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR17CWallCrawlerSwarm" +"Visit__25TCastToPtr<11CScriptDock>FR17CWallCrawlerSwarm": +/* 800AA168 000A70C8 38 00 00 00 */ li r0, 0 +/* 800AA16C 000A70CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA170 000A70D0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR20CScriptSpindleCamera" +"Visit__25TCastToPtr<11CScriptDock>FR20CScriptSpindleCamera": +/* 800AA174 000A70D4 38 00 00 00 */ li r0, 0 +/* 800AA178 000A70D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA17C 000A70DC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR15CSnakeWeedSwarm" +"Visit__25TCastToPtr<11CScriptDock>FR15CSnakeWeedSwarm": +/* 800AA180 000A70E0 38 00 00 00 */ li r0, 0 +/* 800AA184 000A70E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA188 000A70E8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR15CScriptWaypoint" +"Visit__25TCastToPtr<11CScriptDock>FR15CScriptWaypoint": +/* 800AA18C 000A70EC 38 00 00 00 */ li r0, 0 +/* 800AA190 000A70F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA194 000A70F4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR12CScriptWater" +"Visit__25TCastToPtr<11CScriptDock>FR12CScriptWater": +/* 800AA198 000A70F8 38 00 00 00 */ li r0, 0 +/* 800AA19C 000A70FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA1A0 000A7100 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptVisorFlare" +"Visit__25TCastToPtr<11CScriptDock>FR17CScriptVisorFlare": +/* 800AA1A4 000A7104 38 00 00 00 */ li r0, 0 +/* 800AA1A8 000A7108 90 03 00 04 */ stw r0, 4(r3) +/* 800AA1AC 000A710C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR14CScriptTrigger" +"Visit__25TCastToPtr<11CScriptDock>FR14CScriptTrigger": +/* 800AA1B0 000A7110 38 00 00 00 */ li r0, 0 +/* 800AA1B4 000A7114 90 03 00 04 */ stw r0, 4(r3) +/* 800AA1B8 000A7118 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR12CScriptTimer" +"Visit__25TCastToPtr<11CScriptDock>FR12CScriptTimer": +/* 800AA1BC 000A711C 38 00 00 00 */ li r0, 0 +/* 800AA1C0 000A7120 90 03 00 04 */ stw r0, 4(r3) +/* 800AA1C4 000A7124 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR10CTeamAiMgr" +"Visit__25TCastToPtr<11CScriptDock>FR10CTeamAiMgr": +/* 800AA1C8 000A7128 38 00 00 00 */ li r0, 0 +/* 800AA1CC 000A712C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA1D0 000A7130 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR21CScriptTargetingPoint" +"Visit__25TCastToPtr<11CScriptDock>FR21CScriptTargetingPoint": +/* 800AA1D4 000A7134 38 00 00 00 */ li r0, 0 +/* 800AA1D8 000A7138 90 03 00 04 */ stw r0, 4(r3) +/* 800AA1DC 000A713C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR25CScriptSpiderBallWaypoint" +"Visit__25TCastToPtr<11CScriptDock>FR25CScriptSpiderBallWaypoint": +/* 800AA1E0 000A7140 38 00 00 00 */ li r0, 0 +/* 800AA1E4 000A7144 90 03 00 04 */ stw r0, 4(r3) +/* 800AA1E8 000A7148 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR34CScriptSpiderBallAttractionSurface" +"Visit__25TCastToPtr<11CScriptDock>FR34CScriptSpiderBallAttractionSurface": +/* 800AA1EC 000A714C 38 00 00 00 */ li r0, 0 +/* 800AA1F0 000A7150 90 03 00 04 */ stw r0, 4(r3) +/* 800AA1F4 000A7154 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR22CScriptSpecialFunction" +"Visit__25TCastToPtr<11CScriptDock>FR22CScriptSpecialFunction": +/* 800AA1F8 000A7158 38 00 00 00 */ li r0, 0 +/* 800AA1FC 000A715C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA200 000A7160 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptSpawnPoint" +"Visit__25TCastToPtr<11CScriptDock>FR17CScriptSpawnPoint": +/* 800AA204 000A7164 38 00 00 00 */ li r0, 0 +/* 800AA208 000A7168 90 03 00 04 */ stw r0, 4(r3) +/* 800AA20C 000A716C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR12CScriptSound" +"Visit__25TCastToPtr<11CScriptDock>FR12CScriptSound": +/* 800AA210 000A7170 38 00 00 00 */ li r0, 0 +/* 800AA214 000A7174 90 03 00 04 */ stw r0, 4(r3) +/* 800AA218 000A7178 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR20CScriptRoomAcoustics" +"Visit__25TCastToPtr<11CScriptDock>FR20CScriptRoomAcoustics": +/* 800AA21C 000A717C 38 00 00 00 */ li r0, 0 +/* 800AA220 000A7180 90 03 00 04 */ stw r0, 4(r3) +/* 800AA224 000A7184 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR22CScriptPointOfinterest" +"Visit__25TCastToPtr<11CScriptDock>FR22CScriptPointOfinterest": +/* 800AA228 000A7188 38 00 00 00 */ li r0, 0 +/* 800AA22C 000A718C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA230 000A7190 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptPlayerHint" +"Visit__25TCastToPtr<11CScriptDock>FR17CScriptPlayerHint": +/* 800AA234 000A7194 38 00 00 00 */ li r0, 0 +/* 800AA238 000A7198 90 03 00 04 */ stw r0, 4(r3) +/* 800AA23C 000A719C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR15CScriptPlatform" +"Visit__25TCastToPtr<11CScriptDock>FR15CScriptPlatform": +/* 800AA240 000A71A0 38 00 00 00 */ li r0, 0 +/* 800AA244 000A71A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA248 000A71A8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR13CScriptPickup" +"Visit__25TCastToPtr<11CScriptDock>FR13CScriptPickup": +/* 800AA24C 000A71AC 38 00 00 00 */ li r0, 0 +/* 800AA250 000A71B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA254 000A71B4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR15CScriptMazeNode" +"Visit__25TCastToPtr<11CScriptDock>FR15CScriptMazeNode": +/* 800AA258 000A71B8 38 00 00 00 */ li r0, 0 +/* 800AA25C 000A71BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA260 000A71C0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR16CScriptGunTurret" +"Visit__25TCastToPtr<11CScriptDock>FR16CScriptGunTurret": +/* 800AA264 000A71C4 38 00 00 00 */ li r0, 0 +/* 800AA268 000A71C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA26C 000A71CC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR19CScriptGrapplePoint" +"Visit__25TCastToPtr<11CScriptDock>FR19CScriptGrapplePoint": +/* 800AA270 000A71D0 38 00 00 00 */ li r0, 0 +/* 800AA274 000A71D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA278 000A71D8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR13CScriptEffect" +"Visit__25TCastToPtr<11CScriptDock>FR13CScriptEffect": +/* 800AA27C 000A71DC 38 00 00 00 */ li r0, 0 +/* 800AA280 000A71E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA284 000A71E4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR11CScriptDoor" +"Visit__25TCastToPtr<11CScriptDock>FR11CScriptDoor": +/* 800AA288 000A71E8 38 00 00 00 */ li r0, 0 +/* 800AA28C 000A71EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA290 000A71F0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR11CScriptDock" +"Visit__25TCastToPtr<11CScriptDock>FR11CScriptDock": +/* 800AA294 000A71F4 90 83 00 04 */ stw r4, 4(r3) +/* 800AA298 000A71F8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR18CScriptDistanceFog" +"Visit__25TCastToPtr<11CScriptDock>FR18CScriptDistanceFog": +/* 800AA29C 000A71FC 38 00 00 00 */ li r0, 0 +/* 800AA2A0 000A7200 90 03 00 04 */ stw r0, 4(r3) +/* 800AA2A4 000A7204 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR26CScriptDebugCameraWaypoint" +"Visit__25TCastToPtr<11CScriptDock>FR26CScriptDebugCameraWaypoint": +/* 800AA2A8 000A7208 38 00 00 00 */ li r0, 0 +/* 800AA2AC 000A720C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA2B0 000A7210 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptCoverPoint" +"Visit__25TCastToPtr<11CScriptDock>FR17CScriptCoverPoint": +/* 800AA2B4 000A7214 38 00 00 00 */ li r0, 0 +/* 800AA2B8 000A7218 90 03 00 04 */ stw r0, 4(r3) +/* 800AA2BC 000A721C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR21CScriptCameraWaypoint" +"Visit__25TCastToPtr<11CScriptDock>FR21CScriptCameraWaypoint": +/* 800AA2C0 000A7220 38 00 00 00 */ li r0, 0 +/* 800AA2C4 000A7224 90 03 00 04 */ stw r0, 4(r3) +/* 800AA2C8 000A7228 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR24CScriptCameraPitchVolume" +"Visit__25TCastToPtr<11CScriptDock>FR24CScriptCameraPitchVolume": +/* 800AA2CC 000A722C 38 00 00 00 */ li r0, 0 +/* 800AA2D0 000A7230 90 03 00 04 */ stw r0, 4(r3) +/* 800AA2D4 000A7234 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptCameraHint" +"Visit__25TCastToPtr<11CScriptDock>FR17CScriptCameraHint": +/* 800AA2D8 000A7238 38 00 00 00 */ li r0, 0 +/* 800AA2DC 000A723C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA2E0 000A7240 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR18CScriptAiJumpPoint" +"Visit__25TCastToPtr<11CScriptDock>FR18CScriptAiJumpPoint": +/* 800AA2E4 000A7244 38 00 00 00 */ li r0, 0 +/* 800AA2E8 000A7248 90 03 00 04 */ stw r0, 4(r3) +/* 800AA2EC 000A724C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR20CScriptActorKeyframe" +"Visit__25TCastToPtr<11CScriptDock>FR20CScriptActorKeyframe": +/* 800AA2F0 000A7250 38 00 00 00 */ li r0, 0 +/* 800AA2F4 000A7254 90 03 00 04 */ stw r0, 4(r3) +/* 800AA2F8 000A7258 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR12CScriptActor" +"Visit__25TCastToPtr<11CScriptDock>FR12CScriptActor": +/* 800AA2FC 000A725C 38 00 00 00 */ li r0, 0 +/* 800AA300 000A7260 90 03 00 04 */ stw r0, 4(r3) +/* 800AA304 000A7264 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR9CRepulsor" +"Visit__25TCastToPtr<11CScriptDock>FR9CRepulsor": +/* 800AA308 000A7268 38 00 00 00 */ li r0, 0 +/* 800AA30C 000A726C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA310 000A7270 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR7CPlayer" +"Visit__25TCastToPtr<11CScriptDock>FR7CPlayer": +/* 800AA314 000A7274 38 00 00 00 */ li r0, 0 +/* 800AA318 000A7278 90 03 00 04 */ stw r0, 4(r3) +/* 800AA31C 000A727C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR13CPhysicsActor" +"Visit__25TCastToPtr<11CScriptDock>FR13CPhysicsActor": +/* 800AA320 000A7280 38 00 00 00 */ li r0, 0 +/* 800AA324 000A7284 90 03 00 04 */ stw r0, 4(r3) +/* 800AA328 000A7288 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR3CAi" +"Visit__25TCastToPtr<11CScriptDock>FR3CAi": +/* 800AA32C 000A728C 38 00 00 00 */ li r0, 0 +/* 800AA330 000A7290 90 03 00 04 */ stw r0, 4(r3) +/* 800AA334 000A7294 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR11CPathCamera" +"Visit__25TCastToPtr<11CScriptDock>FR11CPathCamera": +/* 800AA338 000A7298 38 00 00 00 */ li r0, 0 +/* 800AA33C 000A729C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA340 000A72A0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR18CMetroidPrimeRelay" +"Visit__25TCastToPtr<11CScriptDock>FR18CMetroidPrimeRelay": +/* 800AA344 000A72A4 38 00 00 00 */ li r0, 0 +/* 800AA348 000A72A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA34C 000A72AC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR19CHUDBillboardEffect" +"Visit__25TCastToPtr<11CScriptDock>FR19CHUDBillboardEffect": +/* 800AA350 000A72B0 38 00 00 00 */ li r0, 0 +/* 800AA354 000A72B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA358 000A72B8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR15CGameProjectile" +"Visit__25TCastToPtr<11CScriptDock>FR15CGameProjectile": +/* 800AA35C 000A72BC 38 00 00 00 */ li r0, 0 +/* 800AA360 000A72C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA364 000A72C4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR10CGameLight" +"Visit__25TCastToPtr<11CScriptDock>FR10CGameLight": +/* 800AA368 000A72C8 38 00 00 00 */ li r0, 0 +/* 800AA36C 000A72CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA370 000A72D0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR11CGameCamera" +"Visit__25TCastToPtr<11CScriptDock>FR11CGameCamera": +/* 800AA374 000A72D4 38 00 00 00 */ li r0, 0 +/* 800AA378 000A72D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA37C 000A72DC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR10CFishCloud" +"Visit__25TCastToPtr<11CScriptDock>FR10CFishCloud": +/* 800AA380 000A72E0 38 00 00 00 */ li r0, 0 +/* 800AA384 000A72E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA388 000A72E8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR18CFirstPersonCamera" +"Visit__25TCastToPtr<11CScriptDock>FR18CFirstPersonCamera": +/* 800AA38C 000A72EC 38 00 00 00 */ li r0, 0 +/* 800AA390 000A72F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA394 000A72F4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR10CExplosion" +"Visit__25TCastToPtr<11CScriptDock>FR10CExplosion": +/* 800AA398 000A72F8 38 00 00 00 */ li r0, 0 +/* 800AA39C 000A72FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA3A0 000A7300 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR7CEntity" +"Visit__25TCastToPtr<11CScriptDock>FR7CEntity": +/* 800AA3A4 000A7304 38 00 00 00 */ li r0, 0 +/* 800AA3A8 000A7308 90 03 00 04 */ stw r0, 4(r3) +/* 800AA3AC 000A730C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR17CEnergyProjectile" +"Visit__25TCastToPtr<11CScriptDock>FR17CEnergyProjectile": +/* 800AA3B0 000A7310 38 00 00 00 */ li r0, 0 +/* 800AA3B4 000A7314 90 03 00 04 */ stw r0, 4(r3) +/* 800AA3B8 000A7318 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR16CDestroyableRock" +"Visit__25TCastToPtr<11CScriptDock>FR16CDestroyableRock": +/* 800AA3BC 000A731C 38 00 00 00 */ li r0, 0 +/* 800AA3C0 000A7320 90 03 00 04 */ stw r0, 4(r3) +/* 800AA3C4 000A7324 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR15CCollisionActor" +"Visit__25TCastToPtr<11CScriptDock>FR15CCollisionActor": +/* 800AA3C8 000A7328 38 00 00 00 */ li r0, 0 +/* 800AA3CC 000A732C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA3D0 000A7330 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR16CCinematicCamera" +"Visit__25TCastToPtr<11CScriptDock>FR16CCinematicCamera": +/* 800AA3D4 000A7334 38 00 00 00 */ li r0, 0 +/* 800AA3D8 000A7338 90 03 00 04 */ stw r0, 4(r3) +/* 800AA3DC 000A733C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR5CBomb" +"Visit__25TCastToPtr<11CScriptDock>FR5CBomb": +/* 800AA3E0 000A7340 38 00 00 00 */ li r0, 0 +/* 800AA3E4 000A7344 90 03 00 04 */ stw r0, 4(r3) +/* 800AA3E8 000A7348 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR11CBallCamera" +"Visit__25TCastToPtr<11CScriptDock>FR11CBallCamera": +/* 800AA3EC 000A734C 38 00 00 00 */ li r0, 0 +/* 800AA3F0 000A7350 90 03 00 04 */ stw r0, 4(r3) +/* 800AA3F4 000A7354 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CScriptDock>FR6CActor" +"Visit__25TCastToPtr<11CScriptDock>FR6CActor": +/* 800AA3F8 000A7358 38 00 00 00 */ li r0, 0 +/* 800AA3FC 000A735C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA400 000A7360 4E 80 00 20 */ blr + +.global "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" +"__ct__25TCastToPtr<11CScriptDock>FP7CEntity": +/* 800AA404 000A7364 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AA408 000A7368 7C 08 02 A6 */ mflr r0 +/* 800AA40C 000A736C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AA410 000A7370 3C A0 80 3E */ lis r5, lbl_803DD930@ha +/* 800AA414 000A7374 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AA418 000A7378 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AA41C 000A737C 28 04 00 00 */ cmplwi r4, 0 +/* 800AA420 000A7380 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AA424 000A7384 7C 7F 1B 78 */ mr r31, r3 +/* 800AA428 000A7388 38 65 D9 30 */ addi r3, r5, lbl_803DD930@l +/* 800AA42C 000A738C 90 1F 00 00 */ stw r0, 0(r31) +/* 800AA430 000A7390 38 00 00 00 */ li r0, 0 +/* 800AA434 000A7394 90 7F 00 00 */ stw r3, 0(r31) +/* 800AA438 000A7398 90 1F 00 04 */ stw r0, 4(r31) +/* 800AA43C 000A739C 41 82 00 1C */ beq lbl_800AA458 +/* 800AA440 000A73A0 7C 83 23 78 */ mr r3, r4 +/* 800AA444 000A73A4 7F E4 FB 78 */ mr r4, r31 +/* 800AA448 000A73A8 81 83 00 00 */ lwz r12, 0(r3) +/* 800AA44C 000A73AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AA450 000A73B0 7D 89 03 A6 */ mtctr r12 +/* 800AA454 000A73B4 4E 80 04 21 */ bctrl +lbl_800AA458: +/* 800AA458 000A73B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AA45C 000A73BC 7F E3 FB 78 */ mr r3, r31 +/* 800AA460 000A73C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AA464 000A73C4 7C 08 03 A6 */ mtlr r0 +/* 800AA468 000A73C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AA46C 000A73CC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR7CWeapon" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR7CWeapon": +/* 800AA470 000A73D0 38 00 00 00 */ li r0, 0 +/* 800AA474 000A73D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA478 000A73D8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CWallCrawlerSwarm" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CWallCrawlerSwarm": +/* 800AA47C 000A73DC 38 00 00 00 */ li r0, 0 +/* 800AA480 000A73E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA484 000A73E4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptSpindleCamera" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptSpindleCamera": +/* 800AA488 000A73E8 38 00 00 00 */ li r0, 0 +/* 800AA48C 000A73EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA490 000A73F0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CSnakeWeedSwarm" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CSnakeWeedSwarm": +/* 800AA494 000A73F4 38 00 00 00 */ li r0, 0 +/* 800AA498 000A73F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA49C 000A73FC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptWaypoint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptWaypoint": +/* 800AA4A0 000A7400 38 00 00 00 */ li r0, 0 +/* 800AA4A4 000A7404 90 03 00 04 */ stw r0, 4(r3) +/* 800AA4A8 000A7408 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptWater" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptWater": +/* 800AA4AC 000A740C 38 00 00 00 */ li r0, 0 +/* 800AA4B0 000A7410 90 03 00 04 */ stw r0, 4(r3) +/* 800AA4B4 000A7414 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptVisorFlare" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptVisorFlare": +/* 800AA4B8 000A7418 38 00 00 00 */ li r0, 0 +/* 800AA4BC 000A741C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA4C0 000A7420 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR14CScriptTrigger" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR14CScriptTrigger": +/* 800AA4C4 000A7424 38 00 00 00 */ li r0, 0 +/* 800AA4C8 000A7428 90 03 00 04 */ stw r0, 4(r3) +/* 800AA4CC 000A742C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptTimer" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptTimer": +/* 800AA4D0 000A7430 38 00 00 00 */ li r0, 0 +/* 800AA4D4 000A7434 90 03 00 04 */ stw r0, 4(r3) +/* 800AA4D8 000A7438 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR10CTeamAiMgr" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR10CTeamAiMgr": +/* 800AA4DC 000A743C 38 00 00 00 */ li r0, 0 +/* 800AA4E0 000A7440 90 03 00 04 */ stw r0, 4(r3) +/* 800AA4E4 000A7444 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR21CScriptTargetingPoint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR21CScriptTargetingPoint": +/* 800AA4E8 000A7448 38 00 00 00 */ li r0, 0 +/* 800AA4EC 000A744C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA4F0 000A7450 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR25CScriptSpiderBallWaypoint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR25CScriptSpiderBallWaypoint": +/* 800AA4F4 000A7454 38 00 00 00 */ li r0, 0 +/* 800AA4F8 000A7458 90 03 00 04 */ stw r0, 4(r3) +/* 800AA4FC 000A745C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR34CScriptSpiderBallAttractionSurface" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR34CScriptSpiderBallAttractionSurface": +/* 800AA500 000A7460 38 00 00 00 */ li r0, 0 +/* 800AA504 000A7464 90 03 00 04 */ stw r0, 4(r3) +/* 800AA508 000A7468 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR22CScriptSpecialFunction" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR22CScriptSpecialFunction": +/* 800AA50C 000A746C 38 00 00 00 */ li r0, 0 +/* 800AA510 000A7470 90 03 00 04 */ stw r0, 4(r3) +/* 800AA514 000A7474 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptSpawnPoint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptSpawnPoint": +/* 800AA518 000A7478 38 00 00 00 */ li r0, 0 +/* 800AA51C 000A747C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA520 000A7480 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptSound" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptSound": +/* 800AA524 000A7484 38 00 00 00 */ li r0, 0 +/* 800AA528 000A7488 90 03 00 04 */ stw r0, 4(r3) +/* 800AA52C 000A748C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptRoomAcoustics" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptRoomAcoustics": +/* 800AA530 000A7490 38 00 00 00 */ li r0, 0 +/* 800AA534 000A7494 90 03 00 04 */ stw r0, 4(r3) +/* 800AA538 000A7498 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR22CScriptPointOfinterest" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR22CScriptPointOfinterest": +/* 800AA53C 000A749C 38 00 00 00 */ li r0, 0 +/* 800AA540 000A74A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA544 000A74A4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptPlayerHint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptPlayerHint": +/* 800AA548 000A74A8 38 00 00 00 */ li r0, 0 +/* 800AA54C 000A74AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA550 000A74B0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptPlatform" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptPlatform": +/* 800AA554 000A74B4 38 00 00 00 */ li r0, 0 +/* 800AA558 000A74B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA55C 000A74BC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR13CScriptPickup" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR13CScriptPickup": +/* 800AA560 000A74C0 38 00 00 00 */ li r0, 0 +/* 800AA564 000A74C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA568 000A74C8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptMazeNode" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptMazeNode": +/* 800AA56C 000A74CC 38 00 00 00 */ li r0, 0 +/* 800AA570 000A74D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA574 000A74D4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR16CScriptGunTurret" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR16CScriptGunTurret": +/* 800AA578 000A74D8 38 00 00 00 */ li r0, 0 +/* 800AA57C 000A74DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA580 000A74E0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR19CScriptGrapplePoint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR19CScriptGrapplePoint": +/* 800AA584 000A74E4 38 00 00 00 */ li r0, 0 +/* 800AA588 000A74E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA58C 000A74EC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR13CScriptEffect" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR13CScriptEffect": +/* 800AA590 000A74F0 38 00 00 00 */ li r0, 0 +/* 800AA594 000A74F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA598 000A74F8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CScriptDoor" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CScriptDoor": +/* 800AA59C 000A74FC 38 00 00 00 */ li r0, 0 +/* 800AA5A0 000A7500 90 03 00 04 */ stw r0, 4(r3) +/* 800AA5A4 000A7504 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CScriptDock" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CScriptDock": +/* 800AA5A8 000A7508 38 00 00 00 */ li r0, 0 +/* 800AA5AC 000A750C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA5B0 000A7510 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR18CScriptDistanceFog" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR18CScriptDistanceFog": +/* 800AA5B4 000A7514 90 83 00 04 */ stw r4, 4(r3) +/* 800AA5B8 000A7518 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR26CScriptDebugCameraWaypoint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR26CScriptDebugCameraWaypoint": +/* 800AA5BC 000A751C 38 00 00 00 */ li r0, 0 +/* 800AA5C0 000A7520 90 03 00 04 */ stw r0, 4(r3) +/* 800AA5C4 000A7524 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptCoverPoint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptCoverPoint": +/* 800AA5C8 000A7528 38 00 00 00 */ li r0, 0 +/* 800AA5CC 000A752C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA5D0 000A7530 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR21CScriptCameraWaypoint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR21CScriptCameraWaypoint": +/* 800AA5D4 000A7534 38 00 00 00 */ li r0, 0 +/* 800AA5D8 000A7538 90 03 00 04 */ stw r0, 4(r3) +/* 800AA5DC 000A753C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR24CScriptCameraPitchVolume" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR24CScriptCameraPitchVolume": +/* 800AA5E0 000A7540 38 00 00 00 */ li r0, 0 +/* 800AA5E4 000A7544 90 03 00 04 */ stw r0, 4(r3) +/* 800AA5E8 000A7548 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptCameraHint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptCameraHint": +/* 800AA5EC 000A754C 38 00 00 00 */ li r0, 0 +/* 800AA5F0 000A7550 90 03 00 04 */ stw r0, 4(r3) +/* 800AA5F4 000A7554 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR18CScriptAiJumpPoint" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR18CScriptAiJumpPoint": +/* 800AA5F8 000A7558 38 00 00 00 */ li r0, 0 +/* 800AA5FC 000A755C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA600 000A7560 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptActorKeyframe" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptActorKeyframe": +/* 800AA604 000A7564 38 00 00 00 */ li r0, 0 +/* 800AA608 000A7568 90 03 00 04 */ stw r0, 4(r3) +/* 800AA60C 000A756C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptActor" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptActor": +/* 800AA610 000A7570 38 00 00 00 */ li r0, 0 +/* 800AA614 000A7574 90 03 00 04 */ stw r0, 4(r3) +/* 800AA618 000A7578 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR9CRepulsor" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR9CRepulsor": +/* 800AA61C 000A757C 38 00 00 00 */ li r0, 0 +/* 800AA620 000A7580 90 03 00 04 */ stw r0, 4(r3) +/* 800AA624 000A7584 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR7CPlayer" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR7CPlayer": +/* 800AA628 000A7588 38 00 00 00 */ li r0, 0 +/* 800AA62C 000A758C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA630 000A7590 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR13CPhysicsActor" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR13CPhysicsActor": +/* 800AA634 000A7594 38 00 00 00 */ li r0, 0 +/* 800AA638 000A7598 90 03 00 04 */ stw r0, 4(r3) +/* 800AA63C 000A759C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR3CAi" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR3CAi": +/* 800AA640 000A75A0 38 00 00 00 */ li r0, 0 +/* 800AA644 000A75A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA648 000A75A8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CPathCamera" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CPathCamera": +/* 800AA64C 000A75AC 38 00 00 00 */ li r0, 0 +/* 800AA650 000A75B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA654 000A75B4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR18CMetroidPrimeRelay" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR18CMetroidPrimeRelay": +/* 800AA658 000A75B8 38 00 00 00 */ li r0, 0 +/* 800AA65C 000A75BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA660 000A75C0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR19CHUDBillboardEffect" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR19CHUDBillboardEffect": +/* 800AA664 000A75C4 38 00 00 00 */ li r0, 0 +/* 800AA668 000A75C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA66C 000A75CC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CGameProjectile" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CGameProjectile": +/* 800AA670 000A75D0 38 00 00 00 */ li r0, 0 +/* 800AA674 000A75D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA678 000A75D8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR10CGameLight" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR10CGameLight": +/* 800AA67C 000A75DC 38 00 00 00 */ li r0, 0 +/* 800AA680 000A75E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA684 000A75E4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CGameCamera" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CGameCamera": +/* 800AA688 000A75E8 38 00 00 00 */ li r0, 0 +/* 800AA68C 000A75EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA690 000A75F0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR10CFishCloud" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR10CFishCloud": +/* 800AA694 000A75F4 38 00 00 00 */ li r0, 0 +/* 800AA698 000A75F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA69C 000A75FC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR18CFirstPersonCamera" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR18CFirstPersonCamera": +/* 800AA6A0 000A7600 38 00 00 00 */ li r0, 0 +/* 800AA6A4 000A7604 90 03 00 04 */ stw r0, 4(r3) +/* 800AA6A8 000A7608 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR10CExplosion" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR10CExplosion": +/* 800AA6AC 000A760C 38 00 00 00 */ li r0, 0 +/* 800AA6B0 000A7610 90 03 00 04 */ stw r0, 4(r3) +/* 800AA6B4 000A7614 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR7CEntity" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR7CEntity": +/* 800AA6B8 000A7618 38 00 00 00 */ li r0, 0 +/* 800AA6BC 000A761C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA6C0 000A7620 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CEnergyProjectile" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CEnergyProjectile": +/* 800AA6C4 000A7624 38 00 00 00 */ li r0, 0 +/* 800AA6C8 000A7628 90 03 00 04 */ stw r0, 4(r3) +/* 800AA6CC 000A762C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR16CDestroyableRock" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR16CDestroyableRock": +/* 800AA6D0 000A7630 38 00 00 00 */ li r0, 0 +/* 800AA6D4 000A7634 90 03 00 04 */ stw r0, 4(r3) +/* 800AA6D8 000A7638 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CCollisionActor" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CCollisionActor": +/* 800AA6DC 000A763C 38 00 00 00 */ li r0, 0 +/* 800AA6E0 000A7640 90 03 00 04 */ stw r0, 4(r3) +/* 800AA6E4 000A7644 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR16CCinematicCamera" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR16CCinematicCamera": +/* 800AA6E8 000A7648 38 00 00 00 */ li r0, 0 +/* 800AA6EC 000A764C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA6F0 000A7650 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR5CBomb" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR5CBomb": +/* 800AA6F4 000A7654 38 00 00 00 */ li r0, 0 +/* 800AA6F8 000A7658 90 03 00 04 */ stw r0, 4(r3) +/* 800AA6FC 000A765C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CBallCamera" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CBallCamera": +/* 800AA700 000A7660 38 00 00 00 */ li r0, 0 +/* 800AA704 000A7664 90 03 00 04 */ stw r0, 4(r3) +/* 800AA708 000A7668 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR6CActor" +"Visit__32TCastToPtr<18CScriptDistanceFog>FR6CActor": +/* 800AA70C 000A766C 38 00 00 00 */ li r0, 0 +/* 800AA710 000A7670 90 03 00 04 */ stw r0, 4(r3) +/* 800AA714 000A7674 4E 80 00 20 */ blr + +.global "__ct__32TCastToPtr<18CScriptDistanceFog>FP7CEntity" +"__ct__32TCastToPtr<18CScriptDistanceFog>FP7CEntity": +/* 800AA718 000A7678 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AA71C 000A767C 7C 08 02 A6 */ mflr r0 +/* 800AA720 000A7680 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AA724 000A7684 3C A0 80 3E */ lis r5, lbl_803DD844@ha +/* 800AA728 000A7688 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AA72C 000A768C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AA730 000A7690 28 04 00 00 */ cmplwi r4, 0 +/* 800AA734 000A7694 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AA738 000A7698 7C 7F 1B 78 */ mr r31, r3 +/* 800AA73C 000A769C 38 65 D8 44 */ addi r3, r5, lbl_803DD844@l +/* 800AA740 000A76A0 90 1F 00 00 */ stw r0, 0(r31) +/* 800AA744 000A76A4 38 00 00 00 */ li r0, 0 +/* 800AA748 000A76A8 90 7F 00 00 */ stw r3, 0(r31) +/* 800AA74C 000A76AC 90 1F 00 04 */ stw r0, 4(r31) +/* 800AA750 000A76B0 41 82 00 1C */ beq lbl_800AA76C +/* 800AA754 000A76B4 7C 83 23 78 */ mr r3, r4 +/* 800AA758 000A76B8 7F E4 FB 78 */ mr r4, r31 +/* 800AA75C 000A76BC 81 83 00 00 */ lwz r12, 0(r3) +/* 800AA760 000A76C0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AA764 000A76C4 7D 89 03 A6 */ mtctr r12 +/* 800AA768 000A76C8 4E 80 04 21 */ bctrl +lbl_800AA76C: +/* 800AA76C 000A76CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AA770 000A76D0 7F E3 FB 78 */ mr r3, r31 +/* 800AA774 000A76D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AA778 000A76D8 7C 08 03 A6 */ mtlr r0 +/* 800AA77C 000A76DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AA780 000A76E0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR7CWeapon" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR7CWeapon": +/* 800AA784 000A76E4 38 00 00 00 */ li r0, 0 +/* 800AA788 000A76E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA78C 000A76EC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CWallCrawlerSwarm" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CWallCrawlerSwarm": +/* 800AA790 000A76F0 38 00 00 00 */ li r0, 0 +/* 800AA794 000A76F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA798 000A76F8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptSpindleCamera" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptSpindleCamera": +/* 800AA79C 000A76FC 38 00 00 00 */ li r0, 0 +/* 800AA7A0 000A7700 90 03 00 04 */ stw r0, 4(r3) +/* 800AA7A4 000A7704 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CSnakeWeedSwarm" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CSnakeWeedSwarm": +/* 800AA7A8 000A7708 38 00 00 00 */ li r0, 0 +/* 800AA7AC 000A770C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA7B0 000A7710 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptWaypoint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptWaypoint": +/* 800AA7B4 000A7714 38 00 00 00 */ li r0, 0 +/* 800AA7B8 000A7718 90 03 00 04 */ stw r0, 4(r3) +/* 800AA7BC 000A771C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptWater" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptWater": +/* 800AA7C0 000A7720 38 00 00 00 */ li r0, 0 +/* 800AA7C4 000A7724 90 03 00 04 */ stw r0, 4(r3) +/* 800AA7C8 000A7728 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptVisorFlare" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptVisorFlare": +/* 800AA7CC 000A772C 38 00 00 00 */ li r0, 0 +/* 800AA7D0 000A7730 90 03 00 04 */ stw r0, 4(r3) +/* 800AA7D4 000A7734 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR14CScriptTrigger" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR14CScriptTrigger": +/* 800AA7D8 000A7738 38 00 00 00 */ li r0, 0 +/* 800AA7DC 000A773C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA7E0 000A7740 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptTimer" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptTimer": +/* 800AA7E4 000A7744 38 00 00 00 */ li r0, 0 +/* 800AA7E8 000A7748 90 03 00 04 */ stw r0, 4(r3) +/* 800AA7EC 000A774C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR10CTeamAiMgr" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR10CTeamAiMgr": +/* 800AA7F0 000A7750 38 00 00 00 */ li r0, 0 +/* 800AA7F4 000A7754 90 03 00 04 */ stw r0, 4(r3) +/* 800AA7F8 000A7758 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR21CScriptTargetingPoint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR21CScriptTargetingPoint": +/* 800AA7FC 000A775C 38 00 00 00 */ li r0, 0 +/* 800AA800 000A7760 90 03 00 04 */ stw r0, 4(r3) +/* 800AA804 000A7764 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR25CScriptSpiderBallWaypoint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR25CScriptSpiderBallWaypoint": +/* 800AA808 000A7768 38 00 00 00 */ li r0, 0 +/* 800AA80C 000A776C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA810 000A7770 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR34CScriptSpiderBallAttractionSurface" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR34CScriptSpiderBallAttractionSurface": +/* 800AA814 000A7774 38 00 00 00 */ li r0, 0 +/* 800AA818 000A7778 90 03 00 04 */ stw r0, 4(r3) +/* 800AA81C 000A777C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR22CScriptSpecialFunction" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR22CScriptSpecialFunction": +/* 800AA820 000A7780 38 00 00 00 */ li r0, 0 +/* 800AA824 000A7784 90 03 00 04 */ stw r0, 4(r3) +/* 800AA828 000A7788 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptSpawnPoint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptSpawnPoint": +/* 800AA82C 000A778C 38 00 00 00 */ li r0, 0 +/* 800AA830 000A7790 90 03 00 04 */ stw r0, 4(r3) +/* 800AA834 000A7794 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptSound" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptSound": +/* 800AA838 000A7798 38 00 00 00 */ li r0, 0 +/* 800AA83C 000A779C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA840 000A77A0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptRoomAcoustics" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptRoomAcoustics": +/* 800AA844 000A77A4 38 00 00 00 */ li r0, 0 +/* 800AA848 000A77A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA84C 000A77AC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR22CScriptPointOfinterest" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR22CScriptPointOfinterest": +/* 800AA850 000A77B0 38 00 00 00 */ li r0, 0 +/* 800AA854 000A77B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA858 000A77B8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptPlayerHint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptPlayerHint": +/* 800AA85C 000A77BC 38 00 00 00 */ li r0, 0 +/* 800AA860 000A77C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA864 000A77C4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptPlatform" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptPlatform": +/* 800AA868 000A77C8 38 00 00 00 */ li r0, 0 +/* 800AA86C 000A77CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA870 000A77D0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR13CScriptPickup" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR13CScriptPickup": +/* 800AA874 000A77D4 38 00 00 00 */ li r0, 0 +/* 800AA878 000A77D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA87C 000A77DC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptMazeNode" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptMazeNode": +/* 800AA880 000A77E0 38 00 00 00 */ li r0, 0 +/* 800AA884 000A77E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA888 000A77E8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR16CScriptGunTurret" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR16CScriptGunTurret": +/* 800AA88C 000A77EC 38 00 00 00 */ li r0, 0 +/* 800AA890 000A77F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA894 000A77F4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR19CScriptGrapplePoint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR19CScriptGrapplePoint": +/* 800AA898 000A77F8 38 00 00 00 */ li r0, 0 +/* 800AA89C 000A77FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA8A0 000A7800 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR13CScriptEffect" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR13CScriptEffect": +/* 800AA8A4 000A7804 38 00 00 00 */ li r0, 0 +/* 800AA8A8 000A7808 90 03 00 04 */ stw r0, 4(r3) +/* 800AA8AC 000A780C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CScriptDoor" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CScriptDoor": +/* 800AA8B0 000A7810 38 00 00 00 */ li r0, 0 +/* 800AA8B4 000A7814 90 03 00 04 */ stw r0, 4(r3) +/* 800AA8B8 000A7818 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CScriptDock" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CScriptDock": +/* 800AA8BC 000A781C 38 00 00 00 */ li r0, 0 +/* 800AA8C0 000A7820 90 03 00 04 */ stw r0, 4(r3) +/* 800AA8C4 000A7824 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR18CScriptDistanceFog" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR18CScriptDistanceFog": +/* 800AA8C8 000A7828 38 00 00 00 */ li r0, 0 +/* 800AA8CC 000A782C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA8D0 000A7830 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR26CScriptDebugCameraWaypoint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR26CScriptDebugCameraWaypoint": +/* 800AA8D4 000A7834 38 00 00 00 */ li r0, 0 +/* 800AA8D8 000A7838 90 03 00 04 */ stw r0, 4(r3) +/* 800AA8DC 000A783C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptCoverPoint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptCoverPoint": +/* 800AA8E0 000A7840 90 83 00 04 */ stw r4, 4(r3) +/* 800AA8E4 000A7844 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR21CScriptCameraWaypoint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR21CScriptCameraWaypoint": +/* 800AA8E8 000A7848 38 00 00 00 */ li r0, 0 +/* 800AA8EC 000A784C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA8F0 000A7850 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR24CScriptCameraPitchVolume" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR24CScriptCameraPitchVolume": +/* 800AA8F4 000A7854 38 00 00 00 */ li r0, 0 +/* 800AA8F8 000A7858 90 03 00 04 */ stw r0, 4(r3) +/* 800AA8FC 000A785C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptCameraHint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptCameraHint": +/* 800AA900 000A7860 38 00 00 00 */ li r0, 0 +/* 800AA904 000A7864 90 03 00 04 */ stw r0, 4(r3) +/* 800AA908 000A7868 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR18CScriptAiJumpPoint" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR18CScriptAiJumpPoint": +/* 800AA90C 000A786C 38 00 00 00 */ li r0, 0 +/* 800AA910 000A7870 90 03 00 04 */ stw r0, 4(r3) +/* 800AA914 000A7874 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptActorKeyframe" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptActorKeyframe": +/* 800AA918 000A7878 38 00 00 00 */ li r0, 0 +/* 800AA91C 000A787C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA920 000A7880 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptActor" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptActor": +/* 800AA924 000A7884 38 00 00 00 */ li r0, 0 +/* 800AA928 000A7888 90 03 00 04 */ stw r0, 4(r3) +/* 800AA92C 000A788C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR9CRepulsor" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR9CRepulsor": +/* 800AA930 000A7890 38 00 00 00 */ li r0, 0 +/* 800AA934 000A7894 90 03 00 04 */ stw r0, 4(r3) +/* 800AA938 000A7898 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR7CPlayer" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR7CPlayer": +/* 800AA93C 000A789C 38 00 00 00 */ li r0, 0 +/* 800AA940 000A78A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA944 000A78A4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR13CPhysicsActor" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR13CPhysicsActor": +/* 800AA948 000A78A8 38 00 00 00 */ li r0, 0 +/* 800AA94C 000A78AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA950 000A78B0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR3CAi" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR3CAi": +/* 800AA954 000A78B4 38 00 00 00 */ li r0, 0 +/* 800AA958 000A78B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA95C 000A78BC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CPathCamera" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CPathCamera": +/* 800AA960 000A78C0 38 00 00 00 */ li r0, 0 +/* 800AA964 000A78C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA968 000A78C8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR18CMetroidPrimeRelay" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR18CMetroidPrimeRelay": +/* 800AA96C 000A78CC 38 00 00 00 */ li r0, 0 +/* 800AA970 000A78D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AA974 000A78D4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR19CHUDBillboardEffect" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR19CHUDBillboardEffect": +/* 800AA978 000A78D8 38 00 00 00 */ li r0, 0 +/* 800AA97C 000A78DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AA980 000A78E0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CGameProjectile" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CGameProjectile": +/* 800AA984 000A78E4 38 00 00 00 */ li r0, 0 +/* 800AA988 000A78E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AA98C 000A78EC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR10CGameLight" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR10CGameLight": +/* 800AA990 000A78F0 38 00 00 00 */ li r0, 0 +/* 800AA994 000A78F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AA998 000A78F8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CGameCamera" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CGameCamera": +/* 800AA99C 000A78FC 38 00 00 00 */ li r0, 0 +/* 800AA9A0 000A7900 90 03 00 04 */ stw r0, 4(r3) +/* 800AA9A4 000A7904 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR10CFishCloud" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR10CFishCloud": +/* 800AA9A8 000A7908 38 00 00 00 */ li r0, 0 +/* 800AA9AC 000A790C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA9B0 000A7910 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR18CFirstPersonCamera" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR18CFirstPersonCamera": +/* 800AA9B4 000A7914 38 00 00 00 */ li r0, 0 +/* 800AA9B8 000A7918 90 03 00 04 */ stw r0, 4(r3) +/* 800AA9BC 000A791C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR10CExplosion" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR10CExplosion": +/* 800AA9C0 000A7920 38 00 00 00 */ li r0, 0 +/* 800AA9C4 000A7924 90 03 00 04 */ stw r0, 4(r3) +/* 800AA9C8 000A7928 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR7CEntity" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR7CEntity": +/* 800AA9CC 000A792C 38 00 00 00 */ li r0, 0 +/* 800AA9D0 000A7930 90 03 00 04 */ stw r0, 4(r3) +/* 800AA9D4 000A7934 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CEnergyProjectile" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CEnergyProjectile": +/* 800AA9D8 000A7938 38 00 00 00 */ li r0, 0 +/* 800AA9DC 000A793C 90 03 00 04 */ stw r0, 4(r3) +/* 800AA9E0 000A7940 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR16CDestroyableRock" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR16CDestroyableRock": +/* 800AA9E4 000A7944 38 00 00 00 */ li r0, 0 +/* 800AA9E8 000A7948 90 03 00 04 */ stw r0, 4(r3) +/* 800AA9EC 000A794C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CCollisionActor" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CCollisionActor": +/* 800AA9F0 000A7950 38 00 00 00 */ li r0, 0 +/* 800AA9F4 000A7954 90 03 00 04 */ stw r0, 4(r3) +/* 800AA9F8 000A7958 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR16CCinematicCamera" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR16CCinematicCamera": +/* 800AA9FC 000A795C 38 00 00 00 */ li r0, 0 +/* 800AAA00 000A7960 90 03 00 04 */ stw r0, 4(r3) +/* 800AAA04 000A7964 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR5CBomb" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR5CBomb": +/* 800AAA08 000A7968 38 00 00 00 */ li r0, 0 +/* 800AAA0C 000A796C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAA10 000A7970 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CBallCamera" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CBallCamera": +/* 800AAA14 000A7974 38 00 00 00 */ li r0, 0 +/* 800AAA18 000A7978 90 03 00 04 */ stw r0, 4(r3) +/* 800AAA1C 000A797C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR6CActor" +"Visit__31TCastToPtr<17CScriptCoverPoint>FR6CActor": +/* 800AAA20 000A7980 38 00 00 00 */ li r0, 0 +/* 800AAA24 000A7984 90 03 00 04 */ stw r0, 4(r3) +/* 800AAA28 000A7988 4E 80 00 20 */ blr + +.global "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" +"__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity": +/* 800AAA2C 000A798C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AAA30 000A7990 7C 08 02 A6 */ mflr r0 +/* 800AAA34 000A7994 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AAA38 000A7998 3C A0 80 3E */ lis r5, lbl_803DD758@ha +/* 800AAA3C 000A799C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AAA40 000A79A0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AAA44 000A79A4 28 04 00 00 */ cmplwi r4, 0 +/* 800AAA48 000A79A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AAA4C 000A79AC 7C 7F 1B 78 */ mr r31, r3 +/* 800AAA50 000A79B0 38 65 D7 58 */ addi r3, r5, lbl_803DD758@l +/* 800AAA54 000A79B4 90 1F 00 00 */ stw r0, 0(r31) +/* 800AAA58 000A79B8 38 00 00 00 */ li r0, 0 +/* 800AAA5C 000A79BC 90 7F 00 00 */ stw r3, 0(r31) +/* 800AAA60 000A79C0 90 1F 00 04 */ stw r0, 4(r31) +/* 800AAA64 000A79C4 41 82 00 1C */ beq lbl_800AAA80 +/* 800AAA68 000A79C8 7C 83 23 78 */ mr r3, r4 +/* 800AAA6C 000A79CC 7F E4 FB 78 */ mr r4, r31 +/* 800AAA70 000A79D0 81 83 00 00 */ lwz r12, 0(r3) +/* 800AAA74 000A79D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AAA78 000A79D8 7D 89 03 A6 */ mtctr r12 +/* 800AAA7C 000A79DC 4E 80 04 21 */ bctrl +lbl_800AAA80: +/* 800AAA80 000A79E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AAA84 000A79E4 7F E3 FB 78 */ mr r3, r31 +/* 800AAA88 000A79E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AAA8C 000A79EC 7C 08 03 A6 */ mtlr r0 +/* 800AAA90 000A79F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AAA94 000A79F4 4E 80 00 20 */ blr + +.global "__ct__31TCastToPtr<17CScriptCoverPoint>FR7CEntity" +"__ct__31TCastToPtr<17CScriptCoverPoint>FR7CEntity": +/* 800AAA98 000A79F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AAA9C 000A79FC 7C 08 02 A6 */ mflr r0 +/* 800AAAA0 000A7A00 3C A0 80 3E */ lis r5, lbl_803DD758@ha +/* 800AAAA4 000A7A04 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AAAA8 000A7A08 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AAAAC 000A7A0C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AAAB0 000A7A10 38 A5 D7 58 */ addi r5, r5, lbl_803DD758@l +/* 800AAAB4 000A7A14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AAAB8 000A7A18 7C 7F 1B 78 */ mr r31, r3 +/* 800AAABC 000A7A1C 90 03 00 00 */ stw r0, 0(r3) +/* 800AAAC0 000A7A20 7C 83 23 78 */ mr r3, r4 +/* 800AAAC4 000A7A24 38 00 00 00 */ li r0, 0 +/* 800AAAC8 000A7A28 7F E4 FB 78 */ mr r4, r31 +/* 800AAACC 000A7A2C 90 BF 00 00 */ stw r5, 0(r31) +/* 800AAAD0 000A7A30 90 1F 00 04 */ stw r0, 4(r31) +/* 800AAAD4 000A7A34 81 83 00 00 */ lwz r12, 0(r3) +/* 800AAAD8 000A7A38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AAADC 000A7A3C 7D 89 03 A6 */ mtctr r12 +/* 800AAAE0 000A7A40 4E 80 04 21 */ bctrl +/* 800AAAE4 000A7A44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AAAE8 000A7A48 7F E3 FB 78 */ mr r3, r31 +/* 800AAAEC 000A7A4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AAAF0 000A7A50 7C 08 03 A6 */ mtlr r0 +/* 800AAAF4 000A7A54 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AAAF8 000A7A58 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CWeapon" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CWeapon": +/* 800AAAFC 000A7A5C 38 00 00 00 */ li r0, 0 +/* 800AAB00 000A7A60 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB04 000A7A64 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CWallCrawlerSwarm" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CWallCrawlerSwarm": +/* 800AAB08 000A7A68 38 00 00 00 */ li r0, 0 +/* 800AAB0C 000A7A6C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB10 000A7A70 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptSpindleCamera" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptSpindleCamera": +/* 800AAB14 000A7A74 38 00 00 00 */ li r0, 0 +/* 800AAB18 000A7A78 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB1C 000A7A7C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CSnakeWeedSwarm" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CSnakeWeedSwarm": +/* 800AAB20 000A7A80 38 00 00 00 */ li r0, 0 +/* 800AAB24 000A7A84 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB28 000A7A88 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptWaypoint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptWaypoint": +/* 800AAB2C 000A7A8C 38 00 00 00 */ li r0, 0 +/* 800AAB30 000A7A90 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB34 000A7A94 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptWater" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptWater": +/* 800AAB38 000A7A98 38 00 00 00 */ li r0, 0 +/* 800AAB3C 000A7A9C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB40 000A7AA0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptVisorFlare" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptVisorFlare": +/* 800AAB44 000A7AA4 38 00 00 00 */ li r0, 0 +/* 800AAB48 000A7AA8 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB4C 000A7AAC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR14CScriptTrigger" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR14CScriptTrigger": +/* 800AAB50 000A7AB0 38 00 00 00 */ li r0, 0 +/* 800AAB54 000A7AB4 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB58 000A7AB8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptTimer" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptTimer": +/* 800AAB5C 000A7ABC 38 00 00 00 */ li r0, 0 +/* 800AAB60 000A7AC0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB64 000A7AC4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CTeamAiMgr" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CTeamAiMgr": +/* 800AAB68 000A7AC8 38 00 00 00 */ li r0, 0 +/* 800AAB6C 000A7ACC 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB70 000A7AD0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR21CScriptTargetingPoint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR21CScriptTargetingPoint": +/* 800AAB74 000A7AD4 38 00 00 00 */ li r0, 0 +/* 800AAB78 000A7AD8 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB7C 000A7ADC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR25CScriptSpiderBallWaypoint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR25CScriptSpiderBallWaypoint": +/* 800AAB80 000A7AE0 38 00 00 00 */ li r0, 0 +/* 800AAB84 000A7AE4 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB88 000A7AE8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR34CScriptSpiderBallAttractionSurface" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR34CScriptSpiderBallAttractionSurface": +/* 800AAB8C 000A7AEC 38 00 00 00 */ li r0, 0 +/* 800AAB90 000A7AF0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAB94 000A7AF4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR22CScriptSpecialFunction" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR22CScriptSpecialFunction": +/* 800AAB98 000A7AF8 38 00 00 00 */ li r0, 0 +/* 800AAB9C 000A7AFC 90 03 00 04 */ stw r0, 4(r3) +/* 800AABA0 000A7B00 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptSpawnPoint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptSpawnPoint": +/* 800AABA4 000A7B04 38 00 00 00 */ li r0, 0 +/* 800AABA8 000A7B08 90 03 00 04 */ stw r0, 4(r3) +/* 800AABAC 000A7B0C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptSound" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptSound": +/* 800AABB0 000A7B10 38 00 00 00 */ li r0, 0 +/* 800AABB4 000A7B14 90 03 00 04 */ stw r0, 4(r3) +/* 800AABB8 000A7B18 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptRoomAcoustics" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptRoomAcoustics": +/* 800AABBC 000A7B1C 38 00 00 00 */ li r0, 0 +/* 800AABC0 000A7B20 90 03 00 04 */ stw r0, 4(r3) +/* 800AABC4 000A7B24 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR22CScriptPointOfinterest" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR22CScriptPointOfinterest": +/* 800AABC8 000A7B28 38 00 00 00 */ li r0, 0 +/* 800AABCC 000A7B2C 90 03 00 04 */ stw r0, 4(r3) +/* 800AABD0 000A7B30 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptPlayerHint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptPlayerHint": +/* 800AABD4 000A7B34 38 00 00 00 */ li r0, 0 +/* 800AABD8 000A7B38 90 03 00 04 */ stw r0, 4(r3) +/* 800AABDC 000A7B3C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptPlatform" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptPlatform": +/* 800AABE0 000A7B40 38 00 00 00 */ li r0, 0 +/* 800AABE4 000A7B44 90 03 00 04 */ stw r0, 4(r3) +/* 800AABE8 000A7B48 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CScriptPickup" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CScriptPickup": +/* 800AABEC 000A7B4C 38 00 00 00 */ li r0, 0 +/* 800AABF0 000A7B50 90 03 00 04 */ stw r0, 4(r3) +/* 800AABF4 000A7B54 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptMazeNode" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptMazeNode": +/* 800AABF8 000A7B58 38 00 00 00 */ li r0, 0 +/* 800AABFC 000A7B5C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC00 000A7B60 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CScriptGunTurret" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CScriptGunTurret": +/* 800AAC04 000A7B64 38 00 00 00 */ li r0, 0 +/* 800AAC08 000A7B68 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC0C 000A7B6C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR19CScriptGrapplePoint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR19CScriptGrapplePoint": +/* 800AAC10 000A7B70 38 00 00 00 */ li r0, 0 +/* 800AAC14 000A7B74 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC18 000A7B78 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CScriptEffect" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CScriptEffect": +/* 800AAC1C 000A7B7C 38 00 00 00 */ li r0, 0 +/* 800AAC20 000A7B80 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC24 000A7B84 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CScriptDoor" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CScriptDoor": +/* 800AAC28 000A7B88 38 00 00 00 */ li r0, 0 +/* 800AAC2C 000A7B8C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC30 000A7B90 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CScriptDock" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CScriptDock": +/* 800AAC34 000A7B94 38 00 00 00 */ li r0, 0 +/* 800AAC38 000A7B98 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC3C 000A7B9C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CScriptDistanceFog" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CScriptDistanceFog": +/* 800AAC40 000A7BA0 38 00 00 00 */ li r0, 0 +/* 800AAC44 000A7BA4 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC48 000A7BA8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR26CScriptDebugCameraWaypoint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR26CScriptDebugCameraWaypoint": +/* 800AAC4C 000A7BAC 38 00 00 00 */ li r0, 0 +/* 800AAC50 000A7BB0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC54 000A7BB4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptCoverPoint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptCoverPoint": +/* 800AAC58 000A7BB8 38 00 00 00 */ li r0, 0 +/* 800AAC5C 000A7BBC 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC60 000A7BC0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR21CScriptCameraWaypoint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR21CScriptCameraWaypoint": +/* 800AAC64 000A7BC4 90 83 00 04 */ stw r4, 4(r3) +/* 800AAC68 000A7BC8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR24CScriptCameraPitchVolume" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR24CScriptCameraPitchVolume": +/* 800AAC6C 000A7BCC 38 00 00 00 */ li r0, 0 +/* 800AAC70 000A7BD0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC74 000A7BD4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptCameraHint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptCameraHint": +/* 800AAC78 000A7BD8 38 00 00 00 */ li r0, 0 +/* 800AAC7C 000A7BDC 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC80 000A7BE0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CScriptAiJumpPoint" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CScriptAiJumpPoint": +/* 800AAC84 000A7BE4 38 00 00 00 */ li r0, 0 +/* 800AAC88 000A7BE8 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC8C 000A7BEC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptActorKeyframe" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptActorKeyframe": +/* 800AAC90 000A7BF0 38 00 00 00 */ li r0, 0 +/* 800AAC94 000A7BF4 90 03 00 04 */ stw r0, 4(r3) +/* 800AAC98 000A7BF8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptActor" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptActor": +/* 800AAC9C 000A7BFC 38 00 00 00 */ li r0, 0 +/* 800AACA0 000A7C00 90 03 00 04 */ stw r0, 4(r3) +/* 800AACA4 000A7C04 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR9CRepulsor" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR9CRepulsor": +/* 800AACA8 000A7C08 38 00 00 00 */ li r0, 0 +/* 800AACAC 000A7C0C 90 03 00 04 */ stw r0, 4(r3) +/* 800AACB0 000A7C10 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CPlayer" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CPlayer": +/* 800AACB4 000A7C14 38 00 00 00 */ li r0, 0 +/* 800AACB8 000A7C18 90 03 00 04 */ stw r0, 4(r3) +/* 800AACBC 000A7C1C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CPhysicsActor" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CPhysicsActor": +/* 800AACC0 000A7C20 38 00 00 00 */ li r0, 0 +/* 800AACC4 000A7C24 90 03 00 04 */ stw r0, 4(r3) +/* 800AACC8 000A7C28 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR3CAi" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR3CAi": +/* 800AACCC 000A7C2C 38 00 00 00 */ li r0, 0 +/* 800AACD0 000A7C30 90 03 00 04 */ stw r0, 4(r3) +/* 800AACD4 000A7C34 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CPathCamera" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CPathCamera": +/* 800AACD8 000A7C38 38 00 00 00 */ li r0, 0 +/* 800AACDC 000A7C3C 90 03 00 04 */ stw r0, 4(r3) +/* 800AACE0 000A7C40 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CMetroidPrimeRelay" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CMetroidPrimeRelay": +/* 800AACE4 000A7C44 38 00 00 00 */ li r0, 0 +/* 800AACE8 000A7C48 90 03 00 04 */ stw r0, 4(r3) +/* 800AACEC 000A7C4C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR19CHUDBillboardEffect" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR19CHUDBillboardEffect": +/* 800AACF0 000A7C50 38 00 00 00 */ li r0, 0 +/* 800AACF4 000A7C54 90 03 00 04 */ stw r0, 4(r3) +/* 800AACF8 000A7C58 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CGameProjectile" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CGameProjectile": +/* 800AACFC 000A7C5C 38 00 00 00 */ li r0, 0 +/* 800AAD00 000A7C60 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD04 000A7C64 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CGameLight" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CGameLight": +/* 800AAD08 000A7C68 38 00 00 00 */ li r0, 0 +/* 800AAD0C 000A7C6C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD10 000A7C70 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CGameCamera" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CGameCamera": +/* 800AAD14 000A7C74 38 00 00 00 */ li r0, 0 +/* 800AAD18 000A7C78 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD1C 000A7C7C 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CFishCloud" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CFishCloud": +/* 800AAD20 000A7C80 38 00 00 00 */ li r0, 0 +/* 800AAD24 000A7C84 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD28 000A7C88 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CFirstPersonCamera" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CFirstPersonCamera": +/* 800AAD2C 000A7C8C 38 00 00 00 */ li r0, 0 +/* 800AAD30 000A7C90 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD34 000A7C94 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CExplosion" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CExplosion": +/* 800AAD38 000A7C98 38 00 00 00 */ li r0, 0 +/* 800AAD3C 000A7C9C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD40 000A7CA0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CEntity" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CEntity": +/* 800AAD44 000A7CA4 38 00 00 00 */ li r0, 0 +/* 800AAD48 000A7CA8 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD4C 000A7CAC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CEnergyProjectile" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CEnergyProjectile": +/* 800AAD50 000A7CB0 38 00 00 00 */ li r0, 0 +/* 800AAD54 000A7CB4 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD58 000A7CB8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CDestroyableRock" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CDestroyableRock": +/* 800AAD5C 000A7CBC 38 00 00 00 */ li r0, 0 +/* 800AAD60 000A7CC0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD64 000A7CC4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CCollisionActor" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CCollisionActor": +/* 800AAD68 000A7CC8 38 00 00 00 */ li r0, 0 +/* 800AAD6C 000A7CCC 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD70 000A7CD0 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CCinematicCamera" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CCinematicCamera": +/* 800AAD74 000A7CD4 38 00 00 00 */ li r0, 0 +/* 800AAD78 000A7CD8 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD7C 000A7CDC 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR5CBomb" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR5CBomb": +/* 800AAD80 000A7CE0 38 00 00 00 */ li r0, 0 +/* 800AAD84 000A7CE4 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD88 000A7CE8 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CBallCamera" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CBallCamera": +/* 800AAD8C 000A7CEC 38 00 00 00 */ li r0, 0 +/* 800AAD90 000A7CF0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAD94 000A7CF4 4E 80 00 20 */ blr + +.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR6CActor" +"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR6CActor": +/* 800AAD98 000A7CF8 38 00 00 00 */ li r0, 0 +/* 800AAD9C 000A7CFC 90 03 00 04 */ stw r0, 4(r3) +/* 800AADA0 000A7D00 4E 80 00 20 */ blr + +.global "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" +"__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity": +/* 800AADA4 000A7D04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AADA8 000A7D08 7C 08 02 A6 */ mflr r0 +/* 800AADAC 000A7D0C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AADB0 000A7D10 3C A0 80 3E */ lis r5, lbl_803DD66C@ha +/* 800AADB4 000A7D14 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AADB8 000A7D18 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AADBC 000A7D1C 28 04 00 00 */ cmplwi r4, 0 +/* 800AADC0 000A7D20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AADC4 000A7D24 7C 7F 1B 78 */ mr r31, r3 +/* 800AADC8 000A7D28 38 65 D6 6C */ addi r3, r5, lbl_803DD66C@l +/* 800AADCC 000A7D2C 90 1F 00 00 */ stw r0, 0(r31) +/* 800AADD0 000A7D30 38 00 00 00 */ li r0, 0 +/* 800AADD4 000A7D34 90 7F 00 00 */ stw r3, 0(r31) +/* 800AADD8 000A7D38 90 1F 00 04 */ stw r0, 4(r31) +/* 800AADDC 000A7D3C 41 82 00 1C */ beq lbl_800AADF8 +/* 800AADE0 000A7D40 7C 83 23 78 */ mr r3, r4 +/* 800AADE4 000A7D44 7F E4 FB 78 */ mr r4, r31 +/* 800AADE8 000A7D48 81 83 00 00 */ lwz r12, 0(r3) +/* 800AADEC 000A7D4C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AADF0 000A7D50 7D 89 03 A6 */ mtctr r12 +/* 800AADF4 000A7D54 4E 80 04 21 */ bctrl +lbl_800AADF8: +/* 800AADF8 000A7D58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AADFC 000A7D5C 7F E3 FB 78 */ mr r3, r31 +/* 800AAE00 000A7D60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AAE04 000A7D64 7C 08 03 A6 */ mtlr r0 +/* 800AAE08 000A7D68 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AAE0C 000A7D6C 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CWeapon" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CWeapon": +/* 800AAE10 000A7D70 38 00 00 00 */ li r0, 0 +/* 800AAE14 000A7D74 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE18 000A7D78 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CWallCrawlerSwarm" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CWallCrawlerSwarm": +/* 800AAE1C 000A7D7C 38 00 00 00 */ li r0, 0 +/* 800AAE20 000A7D80 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE24 000A7D84 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptSpindleCamera" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptSpindleCamera": +/* 800AAE28 000A7D88 38 00 00 00 */ li r0, 0 +/* 800AAE2C 000A7D8C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE30 000A7D90 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CSnakeWeedSwarm" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CSnakeWeedSwarm": +/* 800AAE34 000A7D94 38 00 00 00 */ li r0, 0 +/* 800AAE38 000A7D98 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE3C 000A7D9C 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptWaypoint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptWaypoint": +/* 800AAE40 000A7DA0 38 00 00 00 */ li r0, 0 +/* 800AAE44 000A7DA4 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE48 000A7DA8 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptWater" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptWater": +/* 800AAE4C 000A7DAC 38 00 00 00 */ li r0, 0 +/* 800AAE50 000A7DB0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE54 000A7DB4 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptVisorFlare" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptVisorFlare": +/* 800AAE58 000A7DB8 38 00 00 00 */ li r0, 0 +/* 800AAE5C 000A7DBC 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE60 000A7DC0 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR14CScriptTrigger" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR14CScriptTrigger": +/* 800AAE64 000A7DC4 38 00 00 00 */ li r0, 0 +/* 800AAE68 000A7DC8 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE6C 000A7DCC 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptTimer" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptTimer": +/* 800AAE70 000A7DD0 38 00 00 00 */ li r0, 0 +/* 800AAE74 000A7DD4 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE78 000A7DD8 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CTeamAiMgr" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CTeamAiMgr": +/* 800AAE7C 000A7DDC 38 00 00 00 */ li r0, 0 +/* 800AAE80 000A7DE0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE84 000A7DE4 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR21CScriptTargetingPoint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR21CScriptTargetingPoint": +/* 800AAE88 000A7DE8 38 00 00 00 */ li r0, 0 +/* 800AAE8C 000A7DEC 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE90 000A7DF0 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR25CScriptSpiderBallWaypoint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR25CScriptSpiderBallWaypoint": +/* 800AAE94 000A7DF4 38 00 00 00 */ li r0, 0 +/* 800AAE98 000A7DF8 90 03 00 04 */ stw r0, 4(r3) +/* 800AAE9C 000A7DFC 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR34CScriptSpiderBallAttractionSurface" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR34CScriptSpiderBallAttractionSurface": +/* 800AAEA0 000A7E00 38 00 00 00 */ li r0, 0 +/* 800AAEA4 000A7E04 90 03 00 04 */ stw r0, 4(r3) +/* 800AAEA8 000A7E08 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR22CScriptSpecialFunction" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR22CScriptSpecialFunction": +/* 800AAEAC 000A7E0C 38 00 00 00 */ li r0, 0 +/* 800AAEB0 000A7E10 90 03 00 04 */ stw r0, 4(r3) +/* 800AAEB4 000A7E14 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptSpawnPoint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptSpawnPoint": +/* 800AAEB8 000A7E18 38 00 00 00 */ li r0, 0 +/* 800AAEBC 000A7E1C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAEC0 000A7E20 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptSound" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptSound": +/* 800AAEC4 000A7E24 38 00 00 00 */ li r0, 0 +/* 800AAEC8 000A7E28 90 03 00 04 */ stw r0, 4(r3) +/* 800AAECC 000A7E2C 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptRoomAcoustics" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptRoomAcoustics": +/* 800AAED0 000A7E30 38 00 00 00 */ li r0, 0 +/* 800AAED4 000A7E34 90 03 00 04 */ stw r0, 4(r3) +/* 800AAED8 000A7E38 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR22CScriptPointOfinterest" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR22CScriptPointOfinterest": +/* 800AAEDC 000A7E3C 38 00 00 00 */ li r0, 0 +/* 800AAEE0 000A7E40 90 03 00 04 */ stw r0, 4(r3) +/* 800AAEE4 000A7E44 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptPlayerHint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptPlayerHint": +/* 800AAEE8 000A7E48 38 00 00 00 */ li r0, 0 +/* 800AAEEC 000A7E4C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAEF0 000A7E50 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptPlatform" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptPlatform": +/* 800AAEF4 000A7E54 38 00 00 00 */ li r0, 0 +/* 800AAEF8 000A7E58 90 03 00 04 */ stw r0, 4(r3) +/* 800AAEFC 000A7E5C 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CScriptPickup" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CScriptPickup": +/* 800AAF00 000A7E60 38 00 00 00 */ li r0, 0 +/* 800AAF04 000A7E64 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF08 000A7E68 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptMazeNode" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptMazeNode": +/* 800AAF0C 000A7E6C 38 00 00 00 */ li r0, 0 +/* 800AAF10 000A7E70 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF14 000A7E74 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CScriptGunTurret" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CScriptGunTurret": +/* 800AAF18 000A7E78 38 00 00 00 */ li r0, 0 +/* 800AAF1C 000A7E7C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF20 000A7E80 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR19CScriptGrapplePoint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR19CScriptGrapplePoint": +/* 800AAF24 000A7E84 38 00 00 00 */ li r0, 0 +/* 800AAF28 000A7E88 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF2C 000A7E8C 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CScriptEffect" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CScriptEffect": +/* 800AAF30 000A7E90 38 00 00 00 */ li r0, 0 +/* 800AAF34 000A7E94 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF38 000A7E98 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CScriptDoor" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CScriptDoor": +/* 800AAF3C 000A7E9C 38 00 00 00 */ li r0, 0 +/* 800AAF40 000A7EA0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF44 000A7EA4 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CScriptDock" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CScriptDock": +/* 800AAF48 000A7EA8 38 00 00 00 */ li r0, 0 +/* 800AAF4C 000A7EAC 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF50 000A7EB0 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CScriptDistanceFog" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CScriptDistanceFog": +/* 800AAF54 000A7EB4 38 00 00 00 */ li r0, 0 +/* 800AAF58 000A7EB8 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF5C 000A7EBC 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR26CScriptDebugCameraWaypoint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR26CScriptDebugCameraWaypoint": +/* 800AAF60 000A7EC0 38 00 00 00 */ li r0, 0 +/* 800AAF64 000A7EC4 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF68 000A7EC8 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptCoverPoint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptCoverPoint": +/* 800AAF6C 000A7ECC 38 00 00 00 */ li r0, 0 +/* 800AAF70 000A7ED0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF74 000A7ED4 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR21CScriptCameraWaypoint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR21CScriptCameraWaypoint": +/* 800AAF78 000A7ED8 38 00 00 00 */ li r0, 0 +/* 800AAF7C 000A7EDC 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF80 000A7EE0 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR24CScriptCameraPitchVolume" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR24CScriptCameraPitchVolume": +/* 800AAF84 000A7EE4 90 83 00 04 */ stw r4, 4(r3) +/* 800AAF88 000A7EE8 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptCameraHint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptCameraHint": +/* 800AAF8C 000A7EEC 38 00 00 00 */ li r0, 0 +/* 800AAF90 000A7EF0 90 03 00 04 */ stw r0, 4(r3) +/* 800AAF94 000A7EF4 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CScriptAiJumpPoint" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CScriptAiJumpPoint": +/* 800AAF98 000A7EF8 38 00 00 00 */ li r0, 0 +/* 800AAF9C 000A7EFC 90 03 00 04 */ stw r0, 4(r3) +/* 800AAFA0 000A7F00 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptActorKeyframe" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptActorKeyframe": +/* 800AAFA4 000A7F04 38 00 00 00 */ li r0, 0 +/* 800AAFA8 000A7F08 90 03 00 04 */ stw r0, 4(r3) +/* 800AAFAC 000A7F0C 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptActor" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptActor": +/* 800AAFB0 000A7F10 38 00 00 00 */ li r0, 0 +/* 800AAFB4 000A7F14 90 03 00 04 */ stw r0, 4(r3) +/* 800AAFB8 000A7F18 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR9CRepulsor" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR9CRepulsor": +/* 800AAFBC 000A7F1C 38 00 00 00 */ li r0, 0 +/* 800AAFC0 000A7F20 90 03 00 04 */ stw r0, 4(r3) +/* 800AAFC4 000A7F24 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CPlayer" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CPlayer": +/* 800AAFC8 000A7F28 38 00 00 00 */ li r0, 0 +/* 800AAFCC 000A7F2C 90 03 00 04 */ stw r0, 4(r3) +/* 800AAFD0 000A7F30 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CPhysicsActor" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CPhysicsActor": +/* 800AAFD4 000A7F34 38 00 00 00 */ li r0, 0 +/* 800AAFD8 000A7F38 90 03 00 04 */ stw r0, 4(r3) +/* 800AAFDC 000A7F3C 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR3CAi" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR3CAi": +/* 800AAFE0 000A7F40 38 00 00 00 */ li r0, 0 +/* 800AAFE4 000A7F44 90 03 00 04 */ stw r0, 4(r3) +/* 800AAFE8 000A7F48 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CPathCamera" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CPathCamera": +/* 800AAFEC 000A7F4C 38 00 00 00 */ li r0, 0 +/* 800AAFF0 000A7F50 90 03 00 04 */ stw r0, 4(r3) +/* 800AAFF4 000A7F54 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CMetroidPrimeRelay" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CMetroidPrimeRelay": +/* 800AAFF8 000A7F58 38 00 00 00 */ li r0, 0 +/* 800AAFFC 000A7F5C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB000 000A7F60 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR19CHUDBillboardEffect" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR19CHUDBillboardEffect": +/* 800AB004 000A7F64 38 00 00 00 */ li r0, 0 +/* 800AB008 000A7F68 90 03 00 04 */ stw r0, 4(r3) +/* 800AB00C 000A7F6C 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CGameProjectile" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CGameProjectile": +/* 800AB010 000A7F70 38 00 00 00 */ li r0, 0 +/* 800AB014 000A7F74 90 03 00 04 */ stw r0, 4(r3) +/* 800AB018 000A7F78 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CGameLight" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CGameLight": +/* 800AB01C 000A7F7C 38 00 00 00 */ li r0, 0 +/* 800AB020 000A7F80 90 03 00 04 */ stw r0, 4(r3) +/* 800AB024 000A7F84 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CGameCamera" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CGameCamera": +/* 800AB028 000A7F88 38 00 00 00 */ li r0, 0 +/* 800AB02C 000A7F8C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB030 000A7F90 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CFishCloud" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CFishCloud": +/* 800AB034 000A7F94 38 00 00 00 */ li r0, 0 +/* 800AB038 000A7F98 90 03 00 04 */ stw r0, 4(r3) +/* 800AB03C 000A7F9C 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CFirstPersonCamera" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CFirstPersonCamera": +/* 800AB040 000A7FA0 38 00 00 00 */ li r0, 0 +/* 800AB044 000A7FA4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB048 000A7FA8 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CExplosion" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CExplosion": +/* 800AB04C 000A7FAC 38 00 00 00 */ li r0, 0 +/* 800AB050 000A7FB0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB054 000A7FB4 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CEntity" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CEntity": +/* 800AB058 000A7FB8 38 00 00 00 */ li r0, 0 +/* 800AB05C 000A7FBC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB060 000A7FC0 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CEnergyProjectile" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CEnergyProjectile": +/* 800AB064 000A7FC4 38 00 00 00 */ li r0, 0 +/* 800AB068 000A7FC8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB06C 000A7FCC 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CDestroyableRock" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CDestroyableRock": +/* 800AB070 000A7FD0 38 00 00 00 */ li r0, 0 +/* 800AB074 000A7FD4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB078 000A7FD8 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CCollisionActor" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CCollisionActor": +/* 800AB07C 000A7FDC 38 00 00 00 */ li r0, 0 +/* 800AB080 000A7FE0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB084 000A7FE4 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CCinematicCamera" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CCinematicCamera": +/* 800AB088 000A7FE8 38 00 00 00 */ li r0, 0 +/* 800AB08C 000A7FEC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB090 000A7FF0 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR5CBomb" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR5CBomb": +/* 800AB094 000A7FF4 38 00 00 00 */ li r0, 0 +/* 800AB098 000A7FF8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB09C 000A7FFC 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CBallCamera" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CBallCamera": +/* 800AB0A0 000A8000 38 00 00 00 */ li r0, 0 +/* 800AB0A4 000A8004 90 03 00 04 */ stw r0, 4(r3) +/* 800AB0A8 000A8008 4E 80 00 20 */ blr + +.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR6CActor" +"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR6CActor": +/* 800AB0AC 000A800C 38 00 00 00 */ li r0, 0 +/* 800AB0B0 000A8010 90 03 00 04 */ stw r0, 4(r3) +/* 800AB0B4 000A8014 4E 80 00 20 */ blr + +.global "__ct__38TCastToPtr<24CScriptCameraPitchVolume>FP7CEntity" +"__ct__38TCastToPtr<24CScriptCameraPitchVolume>FP7CEntity": +/* 800AB0B8 000A8018 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AB0BC 000A801C 7C 08 02 A6 */ mflr r0 +/* 800AB0C0 000A8020 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AB0C4 000A8024 3C A0 80 3E */ lis r5, lbl_803DD580@ha +/* 800AB0C8 000A8028 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AB0CC 000A802C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AB0D0 000A8030 28 04 00 00 */ cmplwi r4, 0 +/* 800AB0D4 000A8034 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AB0D8 000A8038 7C 7F 1B 78 */ mr r31, r3 +/* 800AB0DC 000A803C 38 65 D5 80 */ addi r3, r5, lbl_803DD580@l +/* 800AB0E0 000A8040 90 1F 00 00 */ stw r0, 0(r31) +/* 800AB0E4 000A8044 38 00 00 00 */ li r0, 0 +/* 800AB0E8 000A8048 90 7F 00 00 */ stw r3, 0(r31) +/* 800AB0EC 000A804C 90 1F 00 04 */ stw r0, 4(r31) +/* 800AB0F0 000A8050 41 82 00 1C */ beq lbl_800AB10C +/* 800AB0F4 000A8054 7C 83 23 78 */ mr r3, r4 +/* 800AB0F8 000A8058 7F E4 FB 78 */ mr r4, r31 +/* 800AB0FC 000A805C 81 83 00 00 */ lwz r12, 0(r3) +/* 800AB100 000A8060 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AB104 000A8064 7D 89 03 A6 */ mtctr r12 +/* 800AB108 000A8068 4E 80 04 21 */ bctrl +lbl_800AB10C: +/* 800AB10C 000A806C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AB110 000A8070 7F E3 FB 78 */ mr r3, r31 +/* 800AB114 000A8074 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AB118 000A8078 7C 08 03 A6 */ mtlr r0 +/* 800AB11C 000A807C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AB120 000A8080 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR7CWeapon" +"Visit__31TCastToPtr<17CScriptCameraHint>FR7CWeapon": +/* 800AB124 000A8084 38 00 00 00 */ li r0, 0 +/* 800AB128 000A8088 90 03 00 04 */ stw r0, 4(r3) +/* 800AB12C 000A808C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CWallCrawlerSwarm" +"Visit__31TCastToPtr<17CScriptCameraHint>FR17CWallCrawlerSwarm": +/* 800AB130 000A8090 38 00 00 00 */ li r0, 0 +/* 800AB134 000A8094 90 03 00 04 */ stw r0, 4(r3) +/* 800AB138 000A8098 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptSpindleCamera" +"Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptSpindleCamera": +/* 800AB13C 000A809C 38 00 00 00 */ li r0, 0 +/* 800AB140 000A80A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB144 000A80A4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CSnakeWeedSwarm" +"Visit__31TCastToPtr<17CScriptCameraHint>FR15CSnakeWeedSwarm": +/* 800AB148 000A80A8 38 00 00 00 */ li r0, 0 +/* 800AB14C 000A80AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB150 000A80B0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptWaypoint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptWaypoint": +/* 800AB154 000A80B4 38 00 00 00 */ li r0, 0 +/* 800AB158 000A80B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB15C 000A80BC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptWater" +"Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptWater": +/* 800AB160 000A80C0 38 00 00 00 */ li r0, 0 +/* 800AB164 000A80C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB168 000A80C8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptVisorFlare" +"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptVisorFlare": +/* 800AB16C 000A80CC 38 00 00 00 */ li r0, 0 +/* 800AB170 000A80D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB174 000A80D4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR14CScriptTrigger" +"Visit__31TCastToPtr<17CScriptCameraHint>FR14CScriptTrigger": +/* 800AB178 000A80D8 38 00 00 00 */ li r0, 0 +/* 800AB17C 000A80DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB180 000A80E0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptTimer" +"Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptTimer": +/* 800AB184 000A80E4 38 00 00 00 */ li r0, 0 +/* 800AB188 000A80E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB18C 000A80EC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR10CTeamAiMgr" +"Visit__31TCastToPtr<17CScriptCameraHint>FR10CTeamAiMgr": +/* 800AB190 000A80F0 38 00 00 00 */ li r0, 0 +/* 800AB194 000A80F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB198 000A80F8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR21CScriptTargetingPoint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR21CScriptTargetingPoint": +/* 800AB19C 000A80FC 38 00 00 00 */ li r0, 0 +/* 800AB1A0 000A8100 90 03 00 04 */ stw r0, 4(r3) +/* 800AB1A4 000A8104 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR25CScriptSpiderBallWaypoint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR25CScriptSpiderBallWaypoint": +/* 800AB1A8 000A8108 38 00 00 00 */ li r0, 0 +/* 800AB1AC 000A810C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB1B0 000A8110 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR34CScriptSpiderBallAttractionSurface" +"Visit__31TCastToPtr<17CScriptCameraHint>FR34CScriptSpiderBallAttractionSurface": +/* 800AB1B4 000A8114 38 00 00 00 */ li r0, 0 +/* 800AB1B8 000A8118 90 03 00 04 */ stw r0, 4(r3) +/* 800AB1BC 000A811C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR22CScriptSpecialFunction" +"Visit__31TCastToPtr<17CScriptCameraHint>FR22CScriptSpecialFunction": +/* 800AB1C0 000A8120 38 00 00 00 */ li r0, 0 +/* 800AB1C4 000A8124 90 03 00 04 */ stw r0, 4(r3) +/* 800AB1C8 000A8128 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptSpawnPoint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptSpawnPoint": +/* 800AB1CC 000A812C 38 00 00 00 */ li r0, 0 +/* 800AB1D0 000A8130 90 03 00 04 */ stw r0, 4(r3) +/* 800AB1D4 000A8134 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptSound" +"Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptSound": +/* 800AB1D8 000A8138 38 00 00 00 */ li r0, 0 +/* 800AB1DC 000A813C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB1E0 000A8140 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptRoomAcoustics" +"Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptRoomAcoustics": +/* 800AB1E4 000A8144 38 00 00 00 */ li r0, 0 +/* 800AB1E8 000A8148 90 03 00 04 */ stw r0, 4(r3) +/* 800AB1EC 000A814C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR22CScriptPointOfinterest" +"Visit__31TCastToPtr<17CScriptCameraHint>FR22CScriptPointOfinterest": +/* 800AB1F0 000A8150 38 00 00 00 */ li r0, 0 +/* 800AB1F4 000A8154 90 03 00 04 */ stw r0, 4(r3) +/* 800AB1F8 000A8158 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptPlayerHint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptPlayerHint": +/* 800AB1FC 000A815C 38 00 00 00 */ li r0, 0 +/* 800AB200 000A8160 90 03 00 04 */ stw r0, 4(r3) +/* 800AB204 000A8164 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptPlatform" +"Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptPlatform": +/* 800AB208 000A8168 38 00 00 00 */ li r0, 0 +/* 800AB20C 000A816C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB210 000A8170 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR13CScriptPickup" +"Visit__31TCastToPtr<17CScriptCameraHint>FR13CScriptPickup": +/* 800AB214 000A8174 38 00 00 00 */ li r0, 0 +/* 800AB218 000A8178 90 03 00 04 */ stw r0, 4(r3) +/* 800AB21C 000A817C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptMazeNode" +"Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptMazeNode": +/* 800AB220 000A8180 38 00 00 00 */ li r0, 0 +/* 800AB224 000A8184 90 03 00 04 */ stw r0, 4(r3) +/* 800AB228 000A8188 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR16CScriptGunTurret" +"Visit__31TCastToPtr<17CScriptCameraHint>FR16CScriptGunTurret": +/* 800AB22C 000A818C 38 00 00 00 */ li r0, 0 +/* 800AB230 000A8190 90 03 00 04 */ stw r0, 4(r3) +/* 800AB234 000A8194 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR19CScriptGrapplePoint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR19CScriptGrapplePoint": +/* 800AB238 000A8198 38 00 00 00 */ li r0, 0 +/* 800AB23C 000A819C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB240 000A81A0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR13CScriptEffect" +"Visit__31TCastToPtr<17CScriptCameraHint>FR13CScriptEffect": +/* 800AB244 000A81A4 38 00 00 00 */ li r0, 0 +/* 800AB248 000A81A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB24C 000A81AC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CScriptDoor" +"Visit__31TCastToPtr<17CScriptCameraHint>FR11CScriptDoor": +/* 800AB250 000A81B0 38 00 00 00 */ li r0, 0 +/* 800AB254 000A81B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB258 000A81B8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CScriptDock" +"Visit__31TCastToPtr<17CScriptCameraHint>FR11CScriptDock": +/* 800AB25C 000A81BC 38 00 00 00 */ li r0, 0 +/* 800AB260 000A81C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB264 000A81C4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR18CScriptDistanceFog" +"Visit__31TCastToPtr<17CScriptCameraHint>FR18CScriptDistanceFog": +/* 800AB268 000A81C8 38 00 00 00 */ li r0, 0 +/* 800AB26C 000A81CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB270 000A81D0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR26CScriptDebugCameraWaypoint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR26CScriptDebugCameraWaypoint": +/* 800AB274 000A81D4 38 00 00 00 */ li r0, 0 +/* 800AB278 000A81D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB27C 000A81DC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptCoverPoint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptCoverPoint": +/* 800AB280 000A81E0 38 00 00 00 */ li r0, 0 +/* 800AB284 000A81E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB288 000A81E8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR21CScriptCameraWaypoint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR21CScriptCameraWaypoint": +/* 800AB28C 000A81EC 38 00 00 00 */ li r0, 0 +/* 800AB290 000A81F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB294 000A81F4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR24CScriptCameraPitchVolume" +"Visit__31TCastToPtr<17CScriptCameraHint>FR24CScriptCameraPitchVolume": +/* 800AB298 000A81F8 38 00 00 00 */ li r0, 0 +/* 800AB29C 000A81FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB2A0 000A8200 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptCameraHint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptCameraHint": +/* 800AB2A4 000A8204 90 83 00 04 */ stw r4, 4(r3) +/* 800AB2A8 000A8208 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR18CScriptAiJumpPoint" +"Visit__31TCastToPtr<17CScriptCameraHint>FR18CScriptAiJumpPoint": +/* 800AB2AC 000A820C 38 00 00 00 */ li r0, 0 +/* 800AB2B0 000A8210 90 03 00 04 */ stw r0, 4(r3) +/* 800AB2B4 000A8214 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptActorKeyframe" +"Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptActorKeyframe": +/* 800AB2B8 000A8218 38 00 00 00 */ li r0, 0 +/* 800AB2BC 000A821C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB2C0 000A8220 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptActor" +"Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptActor": +/* 800AB2C4 000A8224 38 00 00 00 */ li r0, 0 +/* 800AB2C8 000A8228 90 03 00 04 */ stw r0, 4(r3) +/* 800AB2CC 000A822C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR9CRepulsor" +"Visit__31TCastToPtr<17CScriptCameraHint>FR9CRepulsor": +/* 800AB2D0 000A8230 38 00 00 00 */ li r0, 0 +/* 800AB2D4 000A8234 90 03 00 04 */ stw r0, 4(r3) +/* 800AB2D8 000A8238 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR7CPlayer" +"Visit__31TCastToPtr<17CScriptCameraHint>FR7CPlayer": +/* 800AB2DC 000A823C 38 00 00 00 */ li r0, 0 +/* 800AB2E0 000A8240 90 03 00 04 */ stw r0, 4(r3) +/* 800AB2E4 000A8244 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR13CPhysicsActor" +"Visit__31TCastToPtr<17CScriptCameraHint>FR13CPhysicsActor": +/* 800AB2E8 000A8248 38 00 00 00 */ li r0, 0 +/* 800AB2EC 000A824C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB2F0 000A8250 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR3CAi" +"Visit__31TCastToPtr<17CScriptCameraHint>FR3CAi": +/* 800AB2F4 000A8254 38 00 00 00 */ li r0, 0 +/* 800AB2F8 000A8258 90 03 00 04 */ stw r0, 4(r3) +/* 800AB2FC 000A825C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CPathCamera" +"Visit__31TCastToPtr<17CScriptCameraHint>FR11CPathCamera": +/* 800AB300 000A8260 38 00 00 00 */ li r0, 0 +/* 800AB304 000A8264 90 03 00 04 */ stw r0, 4(r3) +/* 800AB308 000A8268 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR18CMetroidPrimeRelay" +"Visit__31TCastToPtr<17CScriptCameraHint>FR18CMetroidPrimeRelay": +/* 800AB30C 000A826C 38 00 00 00 */ li r0, 0 +/* 800AB310 000A8270 90 03 00 04 */ stw r0, 4(r3) +/* 800AB314 000A8274 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR19CHUDBillboardEffect" +"Visit__31TCastToPtr<17CScriptCameraHint>FR19CHUDBillboardEffect": +/* 800AB318 000A8278 38 00 00 00 */ li r0, 0 +/* 800AB31C 000A827C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB320 000A8280 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CGameProjectile" +"Visit__31TCastToPtr<17CScriptCameraHint>FR15CGameProjectile": +/* 800AB324 000A8284 38 00 00 00 */ li r0, 0 +/* 800AB328 000A8288 90 03 00 04 */ stw r0, 4(r3) +/* 800AB32C 000A828C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR10CGameLight" +"Visit__31TCastToPtr<17CScriptCameraHint>FR10CGameLight": +/* 800AB330 000A8290 38 00 00 00 */ li r0, 0 +/* 800AB334 000A8294 90 03 00 04 */ stw r0, 4(r3) +/* 800AB338 000A8298 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CGameCamera" +"Visit__31TCastToPtr<17CScriptCameraHint>FR11CGameCamera": +/* 800AB33C 000A829C 38 00 00 00 */ li r0, 0 +/* 800AB340 000A82A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB344 000A82A4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR10CFishCloud" +"Visit__31TCastToPtr<17CScriptCameraHint>FR10CFishCloud": +/* 800AB348 000A82A8 38 00 00 00 */ li r0, 0 +/* 800AB34C 000A82AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB350 000A82B0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR18CFirstPersonCamera" +"Visit__31TCastToPtr<17CScriptCameraHint>FR18CFirstPersonCamera": +/* 800AB354 000A82B4 38 00 00 00 */ li r0, 0 +/* 800AB358 000A82B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB35C 000A82BC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR10CExplosion" +"Visit__31TCastToPtr<17CScriptCameraHint>FR10CExplosion": +/* 800AB360 000A82C0 38 00 00 00 */ li r0, 0 +/* 800AB364 000A82C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB368 000A82C8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR7CEntity" +"Visit__31TCastToPtr<17CScriptCameraHint>FR7CEntity": +/* 800AB36C 000A82CC 38 00 00 00 */ li r0, 0 +/* 800AB370 000A82D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB374 000A82D4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CEnergyProjectile" +"Visit__31TCastToPtr<17CScriptCameraHint>FR17CEnergyProjectile": +/* 800AB378 000A82D8 38 00 00 00 */ li r0, 0 +/* 800AB37C 000A82DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB380 000A82E0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR16CDestroyableRock" +"Visit__31TCastToPtr<17CScriptCameraHint>FR16CDestroyableRock": +/* 800AB384 000A82E4 38 00 00 00 */ li r0, 0 +/* 800AB388 000A82E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB38C 000A82EC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CCollisionActor" +"Visit__31TCastToPtr<17CScriptCameraHint>FR15CCollisionActor": +/* 800AB390 000A82F0 38 00 00 00 */ li r0, 0 +/* 800AB394 000A82F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB398 000A82F8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR16CCinematicCamera" +"Visit__31TCastToPtr<17CScriptCameraHint>FR16CCinematicCamera": +/* 800AB39C 000A82FC 38 00 00 00 */ li r0, 0 +/* 800AB3A0 000A8300 90 03 00 04 */ stw r0, 4(r3) +/* 800AB3A4 000A8304 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR5CBomb" +"Visit__31TCastToPtr<17CScriptCameraHint>FR5CBomb": +/* 800AB3A8 000A8308 38 00 00 00 */ li r0, 0 +/* 800AB3AC 000A830C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB3B0 000A8310 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CBallCamera" +"Visit__31TCastToPtr<17CScriptCameraHint>FR11CBallCamera": +/* 800AB3B4 000A8314 38 00 00 00 */ li r0, 0 +/* 800AB3B8 000A8318 90 03 00 04 */ stw r0, 4(r3) +/* 800AB3BC 000A831C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CScriptCameraHint>FR6CActor" +"Visit__31TCastToPtr<17CScriptCameraHint>FR6CActor": +/* 800AB3C0 000A8320 38 00 00 00 */ li r0, 0 +/* 800AB3C4 000A8324 90 03 00 04 */ stw r0, 4(r3) +/* 800AB3C8 000A8328 4E 80 00 20 */ blr + +.global "__ct__31TCastToPtr<17CScriptCameraHint>FP7CEntity" +"__ct__31TCastToPtr<17CScriptCameraHint>FP7CEntity": +/* 800AB3CC 000A832C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AB3D0 000A8330 7C 08 02 A6 */ mflr r0 +/* 800AB3D4 000A8334 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AB3D8 000A8338 3C A0 80 3E */ lis r5, lbl_803DD494@ha +/* 800AB3DC 000A833C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AB3E0 000A8340 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AB3E4 000A8344 28 04 00 00 */ cmplwi r4, 0 +/* 800AB3E8 000A8348 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AB3EC 000A834C 7C 7F 1B 78 */ mr r31, r3 +/* 800AB3F0 000A8350 38 65 D4 94 */ addi r3, r5, lbl_803DD494@l +/* 800AB3F4 000A8354 90 1F 00 00 */ stw r0, 0(r31) +/* 800AB3F8 000A8358 38 00 00 00 */ li r0, 0 +/* 800AB3FC 000A835C 90 7F 00 00 */ stw r3, 0(r31) +/* 800AB400 000A8360 90 1F 00 04 */ stw r0, 4(r31) +/* 800AB404 000A8364 41 82 00 1C */ beq lbl_800AB420 +/* 800AB408 000A8368 7C 83 23 78 */ mr r3, r4 +/* 800AB40C 000A836C 7F E4 FB 78 */ mr r4, r31 +/* 800AB410 000A8370 81 83 00 00 */ lwz r12, 0(r3) +/* 800AB414 000A8374 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AB418 000A8378 7D 89 03 A6 */ mtctr r12 +/* 800AB41C 000A837C 4E 80 04 21 */ bctrl +lbl_800AB420: +/* 800AB420 000A8380 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AB424 000A8384 7F E3 FB 78 */ mr r3, r31 +/* 800AB428 000A8388 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AB42C 000A838C 7C 08 03 A6 */ mtlr r0 +/* 800AB430 000A8390 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AB434 000A8394 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CWeapon" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CWeapon": +/* 800AB438 000A8398 38 00 00 00 */ li r0, 0 +/* 800AB43C 000A839C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB440 000A83A0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CWallCrawlerSwarm" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CWallCrawlerSwarm": +/* 800AB444 000A83A4 38 00 00 00 */ li r0, 0 +/* 800AB448 000A83A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB44C 000A83AC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptSpindleCamera" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptSpindleCamera": +/* 800AB450 000A83B0 38 00 00 00 */ li r0, 0 +/* 800AB454 000A83B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB458 000A83B8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CSnakeWeedSwarm" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CSnakeWeedSwarm": +/* 800AB45C 000A83BC 38 00 00 00 */ li r0, 0 +/* 800AB460 000A83C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB464 000A83C4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptWaypoint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptWaypoint": +/* 800AB468 000A83C8 38 00 00 00 */ li r0, 0 +/* 800AB46C 000A83CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB470 000A83D0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptWater" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptWater": +/* 800AB474 000A83D4 38 00 00 00 */ li r0, 0 +/* 800AB478 000A83D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB47C 000A83DC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptVisorFlare" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptVisorFlare": +/* 800AB480 000A83E0 38 00 00 00 */ li r0, 0 +/* 800AB484 000A83E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB488 000A83E8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR14CScriptTrigger" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR14CScriptTrigger": +/* 800AB48C 000A83EC 38 00 00 00 */ li r0, 0 +/* 800AB490 000A83F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB494 000A83F4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptTimer" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptTimer": +/* 800AB498 000A83F8 38 00 00 00 */ li r0, 0 +/* 800AB49C 000A83FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB4A0 000A8400 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CTeamAiMgr" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CTeamAiMgr": +/* 800AB4A4 000A8404 38 00 00 00 */ li r0, 0 +/* 800AB4A8 000A8408 90 03 00 04 */ stw r0, 4(r3) +/* 800AB4AC 000A840C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR21CScriptTargetingPoint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR21CScriptTargetingPoint": +/* 800AB4B0 000A8410 38 00 00 00 */ li r0, 0 +/* 800AB4B4 000A8414 90 03 00 04 */ stw r0, 4(r3) +/* 800AB4B8 000A8418 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR25CScriptSpiderBallWaypoint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR25CScriptSpiderBallWaypoint": +/* 800AB4BC 000A841C 38 00 00 00 */ li r0, 0 +/* 800AB4C0 000A8420 90 03 00 04 */ stw r0, 4(r3) +/* 800AB4C4 000A8424 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR34CScriptSpiderBallAttractionSurface" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR34CScriptSpiderBallAttractionSurface": +/* 800AB4C8 000A8428 38 00 00 00 */ li r0, 0 +/* 800AB4CC 000A842C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB4D0 000A8430 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR22CScriptSpecialFunction" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR22CScriptSpecialFunction": +/* 800AB4D4 000A8434 38 00 00 00 */ li r0, 0 +/* 800AB4D8 000A8438 90 03 00 04 */ stw r0, 4(r3) +/* 800AB4DC 000A843C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptSpawnPoint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptSpawnPoint": +/* 800AB4E0 000A8440 38 00 00 00 */ li r0, 0 +/* 800AB4E4 000A8444 90 03 00 04 */ stw r0, 4(r3) +/* 800AB4E8 000A8448 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptSound" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptSound": +/* 800AB4EC 000A844C 38 00 00 00 */ li r0, 0 +/* 800AB4F0 000A8450 90 03 00 04 */ stw r0, 4(r3) +/* 800AB4F4 000A8454 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptRoomAcoustics" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptRoomAcoustics": +/* 800AB4F8 000A8458 38 00 00 00 */ li r0, 0 +/* 800AB4FC 000A845C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB500 000A8460 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR22CScriptPointOfinterest" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR22CScriptPointOfinterest": +/* 800AB504 000A8464 38 00 00 00 */ li r0, 0 +/* 800AB508 000A8468 90 03 00 04 */ stw r0, 4(r3) +/* 800AB50C 000A846C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptPlayerHint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptPlayerHint": +/* 800AB510 000A8470 38 00 00 00 */ li r0, 0 +/* 800AB514 000A8474 90 03 00 04 */ stw r0, 4(r3) +/* 800AB518 000A8478 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptPlatform" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptPlatform": +/* 800AB51C 000A847C 38 00 00 00 */ li r0, 0 +/* 800AB520 000A8480 90 03 00 04 */ stw r0, 4(r3) +/* 800AB524 000A8484 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CScriptPickup" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CScriptPickup": +/* 800AB528 000A8488 38 00 00 00 */ li r0, 0 +/* 800AB52C 000A848C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB530 000A8490 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptMazeNode" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptMazeNode": +/* 800AB534 000A8494 38 00 00 00 */ li r0, 0 +/* 800AB538 000A8498 90 03 00 04 */ stw r0, 4(r3) +/* 800AB53C 000A849C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CScriptGunTurret" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CScriptGunTurret": +/* 800AB540 000A84A0 38 00 00 00 */ li r0, 0 +/* 800AB544 000A84A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB548 000A84A8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR19CScriptGrapplePoint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR19CScriptGrapplePoint": +/* 800AB54C 000A84AC 38 00 00 00 */ li r0, 0 +/* 800AB550 000A84B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB554 000A84B4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CScriptEffect" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CScriptEffect": +/* 800AB558 000A84B8 38 00 00 00 */ li r0, 0 +/* 800AB55C 000A84BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB560 000A84C0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CScriptDoor" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CScriptDoor": +/* 800AB564 000A84C4 38 00 00 00 */ li r0, 0 +/* 800AB568 000A84C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB56C 000A84CC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CScriptDock" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CScriptDock": +/* 800AB570 000A84D0 38 00 00 00 */ li r0, 0 +/* 800AB574 000A84D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB578 000A84D8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CScriptDistanceFog" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CScriptDistanceFog": +/* 800AB57C 000A84DC 38 00 00 00 */ li r0, 0 +/* 800AB580 000A84E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB584 000A84E4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR26CScriptDebugCameraWaypoint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR26CScriptDebugCameraWaypoint": +/* 800AB588 000A84E8 38 00 00 00 */ li r0, 0 +/* 800AB58C 000A84EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB590 000A84F0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptCoverPoint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptCoverPoint": +/* 800AB594 000A84F4 38 00 00 00 */ li r0, 0 +/* 800AB598 000A84F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB59C 000A84FC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR21CScriptCameraWaypoint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR21CScriptCameraWaypoint": +/* 800AB5A0 000A8500 38 00 00 00 */ li r0, 0 +/* 800AB5A4 000A8504 90 03 00 04 */ stw r0, 4(r3) +/* 800AB5A8 000A8508 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR24CScriptCameraPitchVolume" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR24CScriptCameraPitchVolume": +/* 800AB5AC 000A850C 38 00 00 00 */ li r0, 0 +/* 800AB5B0 000A8510 90 03 00 04 */ stw r0, 4(r3) +/* 800AB5B4 000A8514 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptCameraHint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptCameraHint": +/* 800AB5B8 000A8518 38 00 00 00 */ li r0, 0 +/* 800AB5BC 000A851C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB5C0 000A8520 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CScriptAiJumpPoint" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CScriptAiJumpPoint": +/* 800AB5C4 000A8524 90 83 00 04 */ stw r4, 4(r3) +/* 800AB5C8 000A8528 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptActorKeyframe" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptActorKeyframe": +/* 800AB5CC 000A852C 38 00 00 00 */ li r0, 0 +/* 800AB5D0 000A8530 90 03 00 04 */ stw r0, 4(r3) +/* 800AB5D4 000A8534 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptActor" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptActor": +/* 800AB5D8 000A8538 38 00 00 00 */ li r0, 0 +/* 800AB5DC 000A853C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB5E0 000A8540 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR9CRepulsor" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR9CRepulsor": +/* 800AB5E4 000A8544 38 00 00 00 */ li r0, 0 +/* 800AB5E8 000A8548 90 03 00 04 */ stw r0, 4(r3) +/* 800AB5EC 000A854C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CPlayer" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CPlayer": +/* 800AB5F0 000A8550 38 00 00 00 */ li r0, 0 +/* 800AB5F4 000A8554 90 03 00 04 */ stw r0, 4(r3) +/* 800AB5F8 000A8558 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CPhysicsActor" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CPhysicsActor": +/* 800AB5FC 000A855C 38 00 00 00 */ li r0, 0 +/* 800AB600 000A8560 90 03 00 04 */ stw r0, 4(r3) +/* 800AB604 000A8564 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR3CAi" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR3CAi": +/* 800AB608 000A8568 38 00 00 00 */ li r0, 0 +/* 800AB60C 000A856C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB610 000A8570 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CPathCamera" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CPathCamera": +/* 800AB614 000A8574 38 00 00 00 */ li r0, 0 +/* 800AB618 000A8578 90 03 00 04 */ stw r0, 4(r3) +/* 800AB61C 000A857C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CMetroidPrimeRelay" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CMetroidPrimeRelay": +/* 800AB620 000A8580 38 00 00 00 */ li r0, 0 +/* 800AB624 000A8584 90 03 00 04 */ stw r0, 4(r3) +/* 800AB628 000A8588 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR19CHUDBillboardEffect" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR19CHUDBillboardEffect": +/* 800AB62C 000A858C 38 00 00 00 */ li r0, 0 +/* 800AB630 000A8590 90 03 00 04 */ stw r0, 4(r3) +/* 800AB634 000A8594 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CGameProjectile" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CGameProjectile": +/* 800AB638 000A8598 38 00 00 00 */ li r0, 0 +/* 800AB63C 000A859C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB640 000A85A0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CGameLight" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CGameLight": +/* 800AB644 000A85A4 38 00 00 00 */ li r0, 0 +/* 800AB648 000A85A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB64C 000A85AC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CGameCamera" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CGameCamera": +/* 800AB650 000A85B0 38 00 00 00 */ li r0, 0 +/* 800AB654 000A85B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB658 000A85B8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CFishCloud" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CFishCloud": +/* 800AB65C 000A85BC 38 00 00 00 */ li r0, 0 +/* 800AB660 000A85C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB664 000A85C4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CFirstPersonCamera" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CFirstPersonCamera": +/* 800AB668 000A85C8 38 00 00 00 */ li r0, 0 +/* 800AB66C 000A85CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB670 000A85D0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CExplosion" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CExplosion": +/* 800AB674 000A85D4 38 00 00 00 */ li r0, 0 +/* 800AB678 000A85D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB67C 000A85DC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CEntity" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CEntity": +/* 800AB680 000A85E0 38 00 00 00 */ li r0, 0 +/* 800AB684 000A85E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB688 000A85E8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CEnergyProjectile" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CEnergyProjectile": +/* 800AB68C 000A85EC 38 00 00 00 */ li r0, 0 +/* 800AB690 000A85F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB694 000A85F4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CDestroyableRock" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CDestroyableRock": +/* 800AB698 000A85F8 38 00 00 00 */ li r0, 0 +/* 800AB69C 000A85FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB6A0 000A8600 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CCollisionActor" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CCollisionActor": +/* 800AB6A4 000A8604 38 00 00 00 */ li r0, 0 +/* 800AB6A8 000A8608 90 03 00 04 */ stw r0, 4(r3) +/* 800AB6AC 000A860C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CCinematicCamera" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CCinematicCamera": +/* 800AB6B0 000A8610 38 00 00 00 */ li r0, 0 +/* 800AB6B4 000A8614 90 03 00 04 */ stw r0, 4(r3) +/* 800AB6B8 000A8618 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR5CBomb" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR5CBomb": +/* 800AB6BC 000A861C 38 00 00 00 */ li r0, 0 +/* 800AB6C0 000A8620 90 03 00 04 */ stw r0, 4(r3) +/* 800AB6C4 000A8624 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CBallCamera" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CBallCamera": +/* 800AB6C8 000A8628 38 00 00 00 */ li r0, 0 +/* 800AB6CC 000A862C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB6D0 000A8630 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR6CActor" +"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR6CActor": +/* 800AB6D4 000A8634 38 00 00 00 */ li r0, 0 +/* 800AB6D8 000A8638 90 03 00 04 */ stw r0, 4(r3) +/* 800AB6DC 000A863C 4E 80 00 20 */ blr + +.global "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" +"__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity": +/* 800AB6E0 000A8640 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AB6E4 000A8644 7C 08 02 A6 */ mflr r0 +/* 800AB6E8 000A8648 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AB6EC 000A864C 3C A0 80 3E */ lis r5, lbl_803DD3A8@ha +/* 800AB6F0 000A8650 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AB6F4 000A8654 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AB6F8 000A8658 28 04 00 00 */ cmplwi r4, 0 +/* 800AB6FC 000A865C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AB700 000A8660 7C 7F 1B 78 */ mr r31, r3 +/* 800AB704 000A8664 38 65 D3 A8 */ addi r3, r5, lbl_803DD3A8@l +/* 800AB708 000A8668 90 1F 00 00 */ stw r0, 0(r31) +/* 800AB70C 000A866C 38 00 00 00 */ li r0, 0 +/* 800AB710 000A8670 90 7F 00 00 */ stw r3, 0(r31) +/* 800AB714 000A8674 90 1F 00 04 */ stw r0, 4(r31) +/* 800AB718 000A8678 41 82 00 1C */ beq lbl_800AB734 +/* 800AB71C 000A867C 7C 83 23 78 */ mr r3, r4 +/* 800AB720 000A8680 7F E4 FB 78 */ mr r4, r31 +/* 800AB724 000A8684 81 83 00 00 */ lwz r12, 0(r3) +/* 800AB728 000A8688 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AB72C 000A868C 7D 89 03 A6 */ mtctr r12 +/* 800AB730 000A8690 4E 80 04 21 */ bctrl +lbl_800AB734: +/* 800AB734 000A8694 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AB738 000A8698 7F E3 FB 78 */ mr r3, r31 +/* 800AB73C 000A869C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AB740 000A86A0 7C 08 03 A6 */ mtlr r0 +/* 800AB744 000A86A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AB748 000A86A8 4E 80 00 20 */ blr + +.global "__ct__32TCastToPtr<18CScriptAiJumpPoint>FR7CEntity" +"__ct__32TCastToPtr<18CScriptAiJumpPoint>FR7CEntity": +/* 800AB74C 000A86AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AB750 000A86B0 7C 08 02 A6 */ mflr r0 +/* 800AB754 000A86B4 3C A0 80 3E */ lis r5, lbl_803DD3A8@ha +/* 800AB758 000A86B8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AB75C 000A86BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AB760 000A86C0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AB764 000A86C4 38 A5 D3 A8 */ addi r5, r5, lbl_803DD3A8@l +/* 800AB768 000A86C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AB76C 000A86CC 7C 7F 1B 78 */ mr r31, r3 +/* 800AB770 000A86D0 90 03 00 00 */ stw r0, 0(r3) +/* 800AB774 000A86D4 7C 83 23 78 */ mr r3, r4 +/* 800AB778 000A86D8 38 00 00 00 */ li r0, 0 +/* 800AB77C 000A86DC 7F E4 FB 78 */ mr r4, r31 +/* 800AB780 000A86E0 90 BF 00 00 */ stw r5, 0(r31) +/* 800AB784 000A86E4 90 1F 00 04 */ stw r0, 4(r31) +/* 800AB788 000A86E8 81 83 00 00 */ lwz r12, 0(r3) +/* 800AB78C 000A86EC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AB790 000A86F0 7D 89 03 A6 */ mtctr r12 +/* 800AB794 000A86F4 4E 80 04 21 */ bctrl +/* 800AB798 000A86F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AB79C 000A86FC 7F E3 FB 78 */ mr r3, r31 +/* 800AB7A0 000A8700 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AB7A4 000A8704 7C 08 03 A6 */ mtlr r0 +/* 800AB7A8 000A8708 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AB7AC 000A870C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CWeapon" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CWeapon": +/* 800AB7B0 000A8710 38 00 00 00 */ li r0, 0 +/* 800AB7B4 000A8714 90 03 00 04 */ stw r0, 4(r3) +/* 800AB7B8 000A8718 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CWallCrawlerSwarm" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CWallCrawlerSwarm": +/* 800AB7BC 000A871C 38 00 00 00 */ li r0, 0 +/* 800AB7C0 000A8720 90 03 00 04 */ stw r0, 4(r3) +/* 800AB7C4 000A8724 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptSpindleCamera" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptSpindleCamera": +/* 800AB7C8 000A8728 38 00 00 00 */ li r0, 0 +/* 800AB7CC 000A872C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB7D0 000A8730 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CSnakeWeedSwarm" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CSnakeWeedSwarm": +/* 800AB7D4 000A8734 38 00 00 00 */ li r0, 0 +/* 800AB7D8 000A8738 90 03 00 04 */ stw r0, 4(r3) +/* 800AB7DC 000A873C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptWaypoint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptWaypoint": +/* 800AB7E0 000A8740 38 00 00 00 */ li r0, 0 +/* 800AB7E4 000A8744 90 03 00 04 */ stw r0, 4(r3) +/* 800AB7E8 000A8748 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptWater" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptWater": +/* 800AB7EC 000A874C 38 00 00 00 */ li r0, 0 +/* 800AB7F0 000A8750 90 03 00 04 */ stw r0, 4(r3) +/* 800AB7F4 000A8754 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptVisorFlare" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptVisorFlare": +/* 800AB7F8 000A8758 38 00 00 00 */ li r0, 0 +/* 800AB7FC 000A875C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB800 000A8760 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR14CScriptTrigger" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR14CScriptTrigger": +/* 800AB804 000A8764 38 00 00 00 */ li r0, 0 +/* 800AB808 000A8768 90 03 00 04 */ stw r0, 4(r3) +/* 800AB80C 000A876C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptTimer" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptTimer": +/* 800AB810 000A8770 38 00 00 00 */ li r0, 0 +/* 800AB814 000A8774 90 03 00 04 */ stw r0, 4(r3) +/* 800AB818 000A8778 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CTeamAiMgr" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CTeamAiMgr": +/* 800AB81C 000A877C 38 00 00 00 */ li r0, 0 +/* 800AB820 000A8780 90 03 00 04 */ stw r0, 4(r3) +/* 800AB824 000A8784 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR21CScriptTargetingPoint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR21CScriptTargetingPoint": +/* 800AB828 000A8788 38 00 00 00 */ li r0, 0 +/* 800AB82C 000A878C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB830 000A8790 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR25CScriptSpiderBallWaypoint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR25CScriptSpiderBallWaypoint": +/* 800AB834 000A8794 38 00 00 00 */ li r0, 0 +/* 800AB838 000A8798 90 03 00 04 */ stw r0, 4(r3) +/* 800AB83C 000A879C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR34CScriptSpiderBallAttractionSurface" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR34CScriptSpiderBallAttractionSurface": +/* 800AB840 000A87A0 38 00 00 00 */ li r0, 0 +/* 800AB844 000A87A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB848 000A87A8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR22CScriptSpecialFunction" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR22CScriptSpecialFunction": +/* 800AB84C 000A87AC 38 00 00 00 */ li r0, 0 +/* 800AB850 000A87B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB854 000A87B4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptSpawnPoint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptSpawnPoint": +/* 800AB858 000A87B8 38 00 00 00 */ li r0, 0 +/* 800AB85C 000A87BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB860 000A87C0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptSound" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptSound": +/* 800AB864 000A87C4 38 00 00 00 */ li r0, 0 +/* 800AB868 000A87C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB86C 000A87CC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptRoomAcoustics" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptRoomAcoustics": +/* 800AB870 000A87D0 38 00 00 00 */ li r0, 0 +/* 800AB874 000A87D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB878 000A87D8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR22CScriptPointOfinterest" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR22CScriptPointOfinterest": +/* 800AB87C 000A87DC 38 00 00 00 */ li r0, 0 +/* 800AB880 000A87E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB884 000A87E4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptPlayerHint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptPlayerHint": +/* 800AB888 000A87E8 38 00 00 00 */ li r0, 0 +/* 800AB88C 000A87EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB890 000A87F0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptPlatform" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptPlatform": +/* 800AB894 000A87F4 38 00 00 00 */ li r0, 0 +/* 800AB898 000A87F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB89C 000A87FC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CScriptPickup" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CScriptPickup": +/* 800AB8A0 000A8800 38 00 00 00 */ li r0, 0 +/* 800AB8A4 000A8804 90 03 00 04 */ stw r0, 4(r3) +/* 800AB8A8 000A8808 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptMazeNode" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptMazeNode": +/* 800AB8AC 000A880C 38 00 00 00 */ li r0, 0 +/* 800AB8B0 000A8810 90 03 00 04 */ stw r0, 4(r3) +/* 800AB8B4 000A8814 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CScriptGunTurret" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CScriptGunTurret": +/* 800AB8B8 000A8818 38 00 00 00 */ li r0, 0 +/* 800AB8BC 000A881C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB8C0 000A8820 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR19CScriptGrapplePoint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR19CScriptGrapplePoint": +/* 800AB8C4 000A8824 38 00 00 00 */ li r0, 0 +/* 800AB8C8 000A8828 90 03 00 04 */ stw r0, 4(r3) +/* 800AB8CC 000A882C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CScriptEffect" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CScriptEffect": +/* 800AB8D0 000A8830 38 00 00 00 */ li r0, 0 +/* 800AB8D4 000A8834 90 03 00 04 */ stw r0, 4(r3) +/* 800AB8D8 000A8838 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CScriptDoor" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CScriptDoor": +/* 800AB8DC 000A883C 38 00 00 00 */ li r0, 0 +/* 800AB8E0 000A8840 90 03 00 04 */ stw r0, 4(r3) +/* 800AB8E4 000A8844 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CScriptDock" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CScriptDock": +/* 800AB8E8 000A8848 38 00 00 00 */ li r0, 0 +/* 800AB8EC 000A884C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB8F0 000A8850 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CScriptDistanceFog" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CScriptDistanceFog": +/* 800AB8F4 000A8854 38 00 00 00 */ li r0, 0 +/* 800AB8F8 000A8858 90 03 00 04 */ stw r0, 4(r3) +/* 800AB8FC 000A885C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR26CScriptDebugCameraWaypoint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR26CScriptDebugCameraWaypoint": +/* 800AB900 000A8860 38 00 00 00 */ li r0, 0 +/* 800AB904 000A8864 90 03 00 04 */ stw r0, 4(r3) +/* 800AB908 000A8868 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptCoverPoint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptCoverPoint": +/* 800AB90C 000A886C 38 00 00 00 */ li r0, 0 +/* 800AB910 000A8870 90 03 00 04 */ stw r0, 4(r3) +/* 800AB914 000A8874 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR21CScriptCameraWaypoint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR21CScriptCameraWaypoint": +/* 800AB918 000A8878 38 00 00 00 */ li r0, 0 +/* 800AB91C 000A887C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB920 000A8880 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR24CScriptCameraPitchVolume" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR24CScriptCameraPitchVolume": +/* 800AB924 000A8884 38 00 00 00 */ li r0, 0 +/* 800AB928 000A8888 90 03 00 04 */ stw r0, 4(r3) +/* 800AB92C 000A888C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptCameraHint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptCameraHint": +/* 800AB930 000A8890 38 00 00 00 */ li r0, 0 +/* 800AB934 000A8894 90 03 00 04 */ stw r0, 4(r3) +/* 800AB938 000A8898 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CScriptAiJumpPoint" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CScriptAiJumpPoint": +/* 800AB93C 000A889C 38 00 00 00 */ li r0, 0 +/* 800AB940 000A88A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB944 000A88A4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptActorKeyframe" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptActorKeyframe": +/* 800AB948 000A88A8 90 83 00 04 */ stw r4, 4(r3) +/* 800AB94C 000A88AC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptActor" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptActor": +/* 800AB950 000A88B0 38 00 00 00 */ li r0, 0 +/* 800AB954 000A88B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB958 000A88B8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR9CRepulsor" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR9CRepulsor": +/* 800AB95C 000A88BC 38 00 00 00 */ li r0, 0 +/* 800AB960 000A88C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB964 000A88C4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CPlayer" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CPlayer": +/* 800AB968 000A88C8 38 00 00 00 */ li r0, 0 +/* 800AB96C 000A88CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB970 000A88D0 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CPhysicsActor" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CPhysicsActor": +/* 800AB974 000A88D4 38 00 00 00 */ li r0, 0 +/* 800AB978 000A88D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AB97C 000A88DC 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR3CAi" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR3CAi": +/* 800AB980 000A88E0 38 00 00 00 */ li r0, 0 +/* 800AB984 000A88E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AB988 000A88E8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CPathCamera" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CPathCamera": +/* 800AB98C 000A88EC 38 00 00 00 */ li r0, 0 +/* 800AB990 000A88F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AB994 000A88F4 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CMetroidPrimeRelay" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CMetroidPrimeRelay": +/* 800AB998 000A88F8 38 00 00 00 */ li r0, 0 +/* 800AB99C 000A88FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AB9A0 000A8900 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR19CHUDBillboardEffect" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR19CHUDBillboardEffect": +/* 800AB9A4 000A8904 38 00 00 00 */ li r0, 0 +/* 800AB9A8 000A8908 90 03 00 04 */ stw r0, 4(r3) +/* 800AB9AC 000A890C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CGameProjectile" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CGameProjectile": +/* 800AB9B0 000A8910 38 00 00 00 */ li r0, 0 +/* 800AB9B4 000A8914 90 03 00 04 */ stw r0, 4(r3) +/* 800AB9B8 000A8918 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CGameLight" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CGameLight": +/* 800AB9BC 000A891C 38 00 00 00 */ li r0, 0 +/* 800AB9C0 000A8920 90 03 00 04 */ stw r0, 4(r3) +/* 800AB9C4 000A8924 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CGameCamera" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CGameCamera": +/* 800AB9C8 000A8928 38 00 00 00 */ li r0, 0 +/* 800AB9CC 000A892C 90 03 00 04 */ stw r0, 4(r3) +/* 800AB9D0 000A8930 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CFishCloud" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CFishCloud": +/* 800AB9D4 000A8934 38 00 00 00 */ li r0, 0 +/* 800AB9D8 000A8938 90 03 00 04 */ stw r0, 4(r3) +/* 800AB9DC 000A893C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CFirstPersonCamera" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CFirstPersonCamera": +/* 800AB9E0 000A8940 38 00 00 00 */ li r0, 0 +/* 800AB9E4 000A8944 90 03 00 04 */ stw r0, 4(r3) +/* 800AB9E8 000A8948 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CExplosion" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CExplosion": +/* 800AB9EC 000A894C 38 00 00 00 */ li r0, 0 +/* 800AB9F0 000A8950 90 03 00 04 */ stw r0, 4(r3) +/* 800AB9F4 000A8954 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CEntity" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CEntity": +/* 800AB9F8 000A8958 38 00 00 00 */ li r0, 0 +/* 800AB9FC 000A895C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABA00 000A8960 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CEnergyProjectile" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CEnergyProjectile": +/* 800ABA04 000A8964 38 00 00 00 */ li r0, 0 +/* 800ABA08 000A8968 90 03 00 04 */ stw r0, 4(r3) +/* 800ABA0C 000A896C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CDestroyableRock" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CDestroyableRock": +/* 800ABA10 000A8970 38 00 00 00 */ li r0, 0 +/* 800ABA14 000A8974 90 03 00 04 */ stw r0, 4(r3) +/* 800ABA18 000A8978 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CCollisionActor" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CCollisionActor": +/* 800ABA1C 000A897C 38 00 00 00 */ li r0, 0 +/* 800ABA20 000A8980 90 03 00 04 */ stw r0, 4(r3) +/* 800ABA24 000A8984 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CCinematicCamera" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CCinematicCamera": +/* 800ABA28 000A8988 38 00 00 00 */ li r0, 0 +/* 800ABA2C 000A898C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABA30 000A8990 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR5CBomb" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR5CBomb": +/* 800ABA34 000A8994 38 00 00 00 */ li r0, 0 +/* 800ABA38 000A8998 90 03 00 04 */ stw r0, 4(r3) +/* 800ABA3C 000A899C 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CBallCamera" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CBallCamera": +/* 800ABA40 000A89A0 38 00 00 00 */ li r0, 0 +/* 800ABA44 000A89A4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABA48 000A89A8 4E 80 00 20 */ blr + +.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR6CActor" +"Visit__34TCastToPtr<20CScriptActorKeyframe>FR6CActor": +/* 800ABA4C 000A89AC 38 00 00 00 */ li r0, 0 +/* 800ABA50 000A89B0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABA54 000A89B4 4E 80 00 20 */ blr + +.global "__ct__34TCastToPtr<20CScriptActorKeyframe>FP7CEntity" +"__ct__34TCastToPtr<20CScriptActorKeyframe>FP7CEntity": +/* 800ABA58 000A89B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ABA5C 000A89BC 7C 08 02 A6 */ mflr r0 +/* 800ABA60 000A89C0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800ABA64 000A89C4 3C A0 80 3E */ lis r5, lbl_803DD2BC@ha +/* 800ABA68 000A89C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ABA6C 000A89CC 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800ABA70 000A89D0 28 04 00 00 */ cmplwi r4, 0 +/* 800ABA74 000A89D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ABA78 000A89D8 7C 7F 1B 78 */ mr r31, r3 +/* 800ABA7C 000A89DC 38 65 D2 BC */ addi r3, r5, lbl_803DD2BC@l +/* 800ABA80 000A89E0 90 1F 00 00 */ stw r0, 0(r31) +/* 800ABA84 000A89E4 38 00 00 00 */ li r0, 0 +/* 800ABA88 000A89E8 90 7F 00 00 */ stw r3, 0(r31) +/* 800ABA8C 000A89EC 90 1F 00 04 */ stw r0, 4(r31) +/* 800ABA90 000A89F0 41 82 00 1C */ beq lbl_800ABAAC +/* 800ABA94 000A89F4 7C 83 23 78 */ mr r3, r4 +/* 800ABA98 000A89F8 7F E4 FB 78 */ mr r4, r31 +/* 800ABA9C 000A89FC 81 83 00 00 */ lwz r12, 0(r3) +/* 800ABAA0 000A8A00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ABAA4 000A8A04 7D 89 03 A6 */ mtctr r12 +/* 800ABAA8 000A8A08 4E 80 04 21 */ bctrl +lbl_800ABAAC: +/* 800ABAAC 000A8A0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ABAB0 000A8A10 7F E3 FB 78 */ mr r3, r31 +/* 800ABAB4 000A8A14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ABAB8 000A8A18 7C 08 03 A6 */ mtlr r0 +/* 800ABABC 000A8A1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ABAC0 000A8A20 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR7CWeapon" +"Visit__26TCastToPtr<12CScriptActor>FR7CWeapon": +/* 800ABAC4 000A8A24 38 00 00 00 */ li r0, 0 +/* 800ABAC8 000A8A28 90 03 00 04 */ stw r0, 4(r3) +/* 800ABACC 000A8A2C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR17CWallCrawlerSwarm" +"Visit__26TCastToPtr<12CScriptActor>FR17CWallCrawlerSwarm": +/* 800ABAD0 000A8A30 38 00 00 00 */ li r0, 0 +/* 800ABAD4 000A8A34 90 03 00 04 */ stw r0, 4(r3) +/* 800ABAD8 000A8A38 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR20CScriptSpindleCamera" +"Visit__26TCastToPtr<12CScriptActor>FR20CScriptSpindleCamera": +/* 800ABADC 000A8A3C 38 00 00 00 */ li r0, 0 +/* 800ABAE0 000A8A40 90 03 00 04 */ stw r0, 4(r3) +/* 800ABAE4 000A8A44 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR15CSnakeWeedSwarm" +"Visit__26TCastToPtr<12CScriptActor>FR15CSnakeWeedSwarm": +/* 800ABAE8 000A8A48 38 00 00 00 */ li r0, 0 +/* 800ABAEC 000A8A4C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABAF0 000A8A50 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR15CScriptWaypoint" +"Visit__26TCastToPtr<12CScriptActor>FR15CScriptWaypoint": +/* 800ABAF4 000A8A54 38 00 00 00 */ li r0, 0 +/* 800ABAF8 000A8A58 90 03 00 04 */ stw r0, 4(r3) +/* 800ABAFC 000A8A5C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR12CScriptWater" +"Visit__26TCastToPtr<12CScriptActor>FR12CScriptWater": +/* 800ABB00 000A8A60 38 00 00 00 */ li r0, 0 +/* 800ABB04 000A8A64 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB08 000A8A68 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptVisorFlare" +"Visit__26TCastToPtr<12CScriptActor>FR17CScriptVisorFlare": +/* 800ABB0C 000A8A6C 38 00 00 00 */ li r0, 0 +/* 800ABB10 000A8A70 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB14 000A8A74 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR14CScriptTrigger" +"Visit__26TCastToPtr<12CScriptActor>FR14CScriptTrigger": +/* 800ABB18 000A8A78 38 00 00 00 */ li r0, 0 +/* 800ABB1C 000A8A7C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB20 000A8A80 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR12CScriptTimer" +"Visit__26TCastToPtr<12CScriptActor>FR12CScriptTimer": +/* 800ABB24 000A8A84 38 00 00 00 */ li r0, 0 +/* 800ABB28 000A8A88 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB2C 000A8A8C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR10CTeamAiMgr" +"Visit__26TCastToPtr<12CScriptActor>FR10CTeamAiMgr": +/* 800ABB30 000A8A90 38 00 00 00 */ li r0, 0 +/* 800ABB34 000A8A94 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB38 000A8A98 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR21CScriptTargetingPoint" +"Visit__26TCastToPtr<12CScriptActor>FR21CScriptTargetingPoint": +/* 800ABB3C 000A8A9C 38 00 00 00 */ li r0, 0 +/* 800ABB40 000A8AA0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB44 000A8AA4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR25CScriptSpiderBallWaypoint" +"Visit__26TCastToPtr<12CScriptActor>FR25CScriptSpiderBallWaypoint": +/* 800ABB48 000A8AA8 38 00 00 00 */ li r0, 0 +/* 800ABB4C 000A8AAC 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB50 000A8AB0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR34CScriptSpiderBallAttractionSurface" +"Visit__26TCastToPtr<12CScriptActor>FR34CScriptSpiderBallAttractionSurface": +/* 800ABB54 000A8AB4 38 00 00 00 */ li r0, 0 +/* 800ABB58 000A8AB8 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB5C 000A8ABC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR22CScriptSpecialFunction" +"Visit__26TCastToPtr<12CScriptActor>FR22CScriptSpecialFunction": +/* 800ABB60 000A8AC0 38 00 00 00 */ li r0, 0 +/* 800ABB64 000A8AC4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB68 000A8AC8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptSpawnPoint" +"Visit__26TCastToPtr<12CScriptActor>FR17CScriptSpawnPoint": +/* 800ABB6C 000A8ACC 38 00 00 00 */ li r0, 0 +/* 800ABB70 000A8AD0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB74 000A8AD4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR12CScriptSound" +"Visit__26TCastToPtr<12CScriptActor>FR12CScriptSound": +/* 800ABB78 000A8AD8 38 00 00 00 */ li r0, 0 +/* 800ABB7C 000A8ADC 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB80 000A8AE0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR20CScriptRoomAcoustics" +"Visit__26TCastToPtr<12CScriptActor>FR20CScriptRoomAcoustics": +/* 800ABB84 000A8AE4 38 00 00 00 */ li r0, 0 +/* 800ABB88 000A8AE8 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB8C 000A8AEC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR22CScriptPointOfinterest" +"Visit__26TCastToPtr<12CScriptActor>FR22CScriptPointOfinterest": +/* 800ABB90 000A8AF0 38 00 00 00 */ li r0, 0 +/* 800ABB94 000A8AF4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABB98 000A8AF8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptPlayerHint" +"Visit__26TCastToPtr<12CScriptActor>FR17CScriptPlayerHint": +/* 800ABB9C 000A8AFC 38 00 00 00 */ li r0, 0 +/* 800ABBA0 000A8B00 90 03 00 04 */ stw r0, 4(r3) +/* 800ABBA4 000A8B04 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR15CScriptPlatform" +"Visit__26TCastToPtr<12CScriptActor>FR15CScriptPlatform": +/* 800ABBA8 000A8B08 38 00 00 00 */ li r0, 0 +/* 800ABBAC 000A8B0C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABBB0 000A8B10 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR13CScriptPickup" +"Visit__26TCastToPtr<12CScriptActor>FR13CScriptPickup": +/* 800ABBB4 000A8B14 38 00 00 00 */ li r0, 0 +/* 800ABBB8 000A8B18 90 03 00 04 */ stw r0, 4(r3) +/* 800ABBBC 000A8B1C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR15CScriptMazeNode" +"Visit__26TCastToPtr<12CScriptActor>FR15CScriptMazeNode": +/* 800ABBC0 000A8B20 38 00 00 00 */ li r0, 0 +/* 800ABBC4 000A8B24 90 03 00 04 */ stw r0, 4(r3) +/* 800ABBC8 000A8B28 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR16CScriptGunTurret" +"Visit__26TCastToPtr<12CScriptActor>FR16CScriptGunTurret": +/* 800ABBCC 000A8B2C 38 00 00 00 */ li r0, 0 +/* 800ABBD0 000A8B30 90 03 00 04 */ stw r0, 4(r3) +/* 800ABBD4 000A8B34 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR19CScriptGrapplePoint" +"Visit__26TCastToPtr<12CScriptActor>FR19CScriptGrapplePoint": +/* 800ABBD8 000A8B38 38 00 00 00 */ li r0, 0 +/* 800ABBDC 000A8B3C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABBE0 000A8B40 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR13CScriptEffect" +"Visit__26TCastToPtr<12CScriptActor>FR13CScriptEffect": +/* 800ABBE4 000A8B44 38 00 00 00 */ li r0, 0 +/* 800ABBE8 000A8B48 90 03 00 04 */ stw r0, 4(r3) +/* 800ABBEC 000A8B4C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR11CScriptDoor" +"Visit__26TCastToPtr<12CScriptActor>FR11CScriptDoor": +/* 800ABBF0 000A8B50 38 00 00 00 */ li r0, 0 +/* 800ABBF4 000A8B54 90 03 00 04 */ stw r0, 4(r3) +/* 800ABBF8 000A8B58 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR11CScriptDock" +"Visit__26TCastToPtr<12CScriptActor>FR11CScriptDock": +/* 800ABBFC 000A8B5C 38 00 00 00 */ li r0, 0 +/* 800ABC00 000A8B60 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC04 000A8B64 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR18CScriptDistanceFog" +"Visit__26TCastToPtr<12CScriptActor>FR18CScriptDistanceFog": +/* 800ABC08 000A8B68 38 00 00 00 */ li r0, 0 +/* 800ABC0C 000A8B6C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC10 000A8B70 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR26CScriptDebugCameraWaypoint" +"Visit__26TCastToPtr<12CScriptActor>FR26CScriptDebugCameraWaypoint": +/* 800ABC14 000A8B74 38 00 00 00 */ li r0, 0 +/* 800ABC18 000A8B78 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC1C 000A8B7C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptCoverPoint" +"Visit__26TCastToPtr<12CScriptActor>FR17CScriptCoverPoint": +/* 800ABC20 000A8B80 38 00 00 00 */ li r0, 0 +/* 800ABC24 000A8B84 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC28 000A8B88 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR21CScriptCameraWaypoint" +"Visit__26TCastToPtr<12CScriptActor>FR21CScriptCameraWaypoint": +/* 800ABC2C 000A8B8C 38 00 00 00 */ li r0, 0 +/* 800ABC30 000A8B90 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC34 000A8B94 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR24CScriptCameraPitchVolume" +"Visit__26TCastToPtr<12CScriptActor>FR24CScriptCameraPitchVolume": +/* 800ABC38 000A8B98 38 00 00 00 */ li r0, 0 +/* 800ABC3C 000A8B9C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC40 000A8BA0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptCameraHint" +"Visit__26TCastToPtr<12CScriptActor>FR17CScriptCameraHint": +/* 800ABC44 000A8BA4 38 00 00 00 */ li r0, 0 +/* 800ABC48 000A8BA8 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC4C 000A8BAC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR18CScriptAiJumpPoint" +"Visit__26TCastToPtr<12CScriptActor>FR18CScriptAiJumpPoint": +/* 800ABC50 000A8BB0 38 00 00 00 */ li r0, 0 +/* 800ABC54 000A8BB4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC58 000A8BB8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR20CScriptActorKeyframe" +"Visit__26TCastToPtr<12CScriptActor>FR20CScriptActorKeyframe": +/* 800ABC5C 000A8BBC 38 00 00 00 */ li r0, 0 +/* 800ABC60 000A8BC0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC64 000A8BC4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR12CScriptActor" +"Visit__26TCastToPtr<12CScriptActor>FR12CScriptActor": +/* 800ABC68 000A8BC8 90 83 00 04 */ stw r4, 4(r3) +/* 800ABC6C 000A8BCC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR9CRepulsor" +"Visit__26TCastToPtr<12CScriptActor>FR9CRepulsor": +/* 800ABC70 000A8BD0 38 00 00 00 */ li r0, 0 +/* 800ABC74 000A8BD4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC78 000A8BD8 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR7CPlayer" +"Visit__26TCastToPtr<12CScriptActor>FR7CPlayer": +/* 800ABC7C 000A8BDC 38 00 00 00 */ li r0, 0 +/* 800ABC80 000A8BE0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC84 000A8BE4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR13CPhysicsActor" +"Visit__26TCastToPtr<12CScriptActor>FR13CPhysicsActor": +/* 800ABC88 000A8BE8 38 00 00 00 */ li r0, 0 +/* 800ABC8C 000A8BEC 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC90 000A8BF0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR3CAi" +"Visit__26TCastToPtr<12CScriptActor>FR3CAi": +/* 800ABC94 000A8BF4 38 00 00 00 */ li r0, 0 +/* 800ABC98 000A8BF8 90 03 00 04 */ stw r0, 4(r3) +/* 800ABC9C 000A8BFC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR11CPathCamera" +"Visit__26TCastToPtr<12CScriptActor>FR11CPathCamera": +/* 800ABCA0 000A8C00 38 00 00 00 */ li r0, 0 +/* 800ABCA4 000A8C04 90 03 00 04 */ stw r0, 4(r3) +/* 800ABCA8 000A8C08 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR18CMetroidPrimeRelay" +"Visit__26TCastToPtr<12CScriptActor>FR18CMetroidPrimeRelay": +/* 800ABCAC 000A8C0C 38 00 00 00 */ li r0, 0 +/* 800ABCB0 000A8C10 90 03 00 04 */ stw r0, 4(r3) +/* 800ABCB4 000A8C14 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR19CHUDBillboardEffect" +"Visit__26TCastToPtr<12CScriptActor>FR19CHUDBillboardEffect": +/* 800ABCB8 000A8C18 38 00 00 00 */ li r0, 0 +/* 800ABCBC 000A8C1C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABCC0 000A8C20 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR15CGameProjectile" +"Visit__26TCastToPtr<12CScriptActor>FR15CGameProjectile": +/* 800ABCC4 000A8C24 38 00 00 00 */ li r0, 0 +/* 800ABCC8 000A8C28 90 03 00 04 */ stw r0, 4(r3) +/* 800ABCCC 000A8C2C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR10CGameLight" +"Visit__26TCastToPtr<12CScriptActor>FR10CGameLight": +/* 800ABCD0 000A8C30 38 00 00 00 */ li r0, 0 +/* 800ABCD4 000A8C34 90 03 00 04 */ stw r0, 4(r3) +/* 800ABCD8 000A8C38 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR11CGameCamera" +"Visit__26TCastToPtr<12CScriptActor>FR11CGameCamera": +/* 800ABCDC 000A8C3C 38 00 00 00 */ li r0, 0 +/* 800ABCE0 000A8C40 90 03 00 04 */ stw r0, 4(r3) +/* 800ABCE4 000A8C44 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR10CFishCloud" +"Visit__26TCastToPtr<12CScriptActor>FR10CFishCloud": +/* 800ABCE8 000A8C48 38 00 00 00 */ li r0, 0 +/* 800ABCEC 000A8C4C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABCF0 000A8C50 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR18CFirstPersonCamera" +"Visit__26TCastToPtr<12CScriptActor>FR18CFirstPersonCamera": +/* 800ABCF4 000A8C54 38 00 00 00 */ li r0, 0 +/* 800ABCF8 000A8C58 90 03 00 04 */ stw r0, 4(r3) +/* 800ABCFC 000A8C5C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR10CExplosion" +"Visit__26TCastToPtr<12CScriptActor>FR10CExplosion": +/* 800ABD00 000A8C60 38 00 00 00 */ li r0, 0 +/* 800ABD04 000A8C64 90 03 00 04 */ stw r0, 4(r3) +/* 800ABD08 000A8C68 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR7CEntity" +"Visit__26TCastToPtr<12CScriptActor>FR7CEntity": +/* 800ABD0C 000A8C6C 38 00 00 00 */ li r0, 0 +/* 800ABD10 000A8C70 90 03 00 04 */ stw r0, 4(r3) +/* 800ABD14 000A8C74 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR17CEnergyProjectile" +"Visit__26TCastToPtr<12CScriptActor>FR17CEnergyProjectile": +/* 800ABD18 000A8C78 38 00 00 00 */ li r0, 0 +/* 800ABD1C 000A8C7C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABD20 000A8C80 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR16CDestroyableRock" +"Visit__26TCastToPtr<12CScriptActor>FR16CDestroyableRock": +/* 800ABD24 000A8C84 38 00 00 00 */ li r0, 0 +/* 800ABD28 000A8C88 90 03 00 04 */ stw r0, 4(r3) +/* 800ABD2C 000A8C8C 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR15CCollisionActor" +"Visit__26TCastToPtr<12CScriptActor>FR15CCollisionActor": +/* 800ABD30 000A8C90 38 00 00 00 */ li r0, 0 +/* 800ABD34 000A8C94 90 03 00 04 */ stw r0, 4(r3) +/* 800ABD38 000A8C98 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR16CCinematicCamera" +"Visit__26TCastToPtr<12CScriptActor>FR16CCinematicCamera": +/* 800ABD3C 000A8C9C 38 00 00 00 */ li r0, 0 +/* 800ABD40 000A8CA0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABD44 000A8CA4 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR5CBomb" +"Visit__26TCastToPtr<12CScriptActor>FR5CBomb": +/* 800ABD48 000A8CA8 38 00 00 00 */ li r0, 0 +/* 800ABD4C 000A8CAC 90 03 00 04 */ stw r0, 4(r3) +/* 800ABD50 000A8CB0 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR11CBallCamera" +"Visit__26TCastToPtr<12CScriptActor>FR11CBallCamera": +/* 800ABD54 000A8CB4 38 00 00 00 */ li r0, 0 +/* 800ABD58 000A8CB8 90 03 00 04 */ stw r0, 4(r3) +/* 800ABD5C 000A8CBC 4E 80 00 20 */ blr + +.global "Visit__26TCastToPtr<12CScriptActor>FR6CActor" +"Visit__26TCastToPtr<12CScriptActor>FR6CActor": +/* 800ABD60 000A8CC0 38 00 00 00 */ li r0, 0 +/* 800ABD64 000A8CC4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABD68 000A8CC8 4E 80 00 20 */ blr + +.global "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +"__ct__26TCastToPtr<12CScriptActor>FP7CEntity": +/* 800ABD6C 000A8CCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ABD70 000A8CD0 7C 08 02 A6 */ mflr r0 +/* 800ABD74 000A8CD4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800ABD78 000A8CD8 3C A0 80 3E */ lis r5, lbl_803DD1D0@ha +/* 800ABD7C 000A8CDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ABD80 000A8CE0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800ABD84 000A8CE4 28 04 00 00 */ cmplwi r4, 0 +/* 800ABD88 000A8CE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ABD8C 000A8CEC 7C 7F 1B 78 */ mr r31, r3 +/* 800ABD90 000A8CF0 38 65 D1 D0 */ addi r3, r5, lbl_803DD1D0@l +/* 800ABD94 000A8CF4 90 1F 00 00 */ stw r0, 0(r31) +/* 800ABD98 000A8CF8 38 00 00 00 */ li r0, 0 +/* 800ABD9C 000A8CFC 90 7F 00 00 */ stw r3, 0(r31) +/* 800ABDA0 000A8D00 90 1F 00 04 */ stw r0, 4(r31) +/* 800ABDA4 000A8D04 41 82 00 1C */ beq lbl_800ABDC0 +/* 800ABDA8 000A8D08 7C 83 23 78 */ mr r3, r4 +/* 800ABDAC 000A8D0C 7F E4 FB 78 */ mr r4, r31 +/* 800ABDB0 000A8D10 81 83 00 00 */ lwz r12, 0(r3) +/* 800ABDB4 000A8D14 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ABDB8 000A8D18 7D 89 03 A6 */ mtctr r12 +/* 800ABDBC 000A8D1C 4E 80 04 21 */ bctrl +lbl_800ABDC0: +/* 800ABDC0 000A8D20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ABDC4 000A8D24 7F E3 FB 78 */ mr r3, r31 +/* 800ABDC8 000A8D28 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ABDCC 000A8D2C 7C 08 03 A6 */ mtlr r0 +/* 800ABDD0 000A8D30 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ABDD4 000A8D34 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR7CWeapon" +"Visit__22TCastToPtr<9CRepulsor>FR7CWeapon": +/* 800ABDD8 000A8D38 38 00 00 00 */ li r0, 0 +/* 800ABDDC 000A8D3C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABDE0 000A8D40 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR17CWallCrawlerSwarm" +"Visit__22TCastToPtr<9CRepulsor>FR17CWallCrawlerSwarm": +/* 800ABDE4 000A8D44 38 00 00 00 */ li r0, 0 +/* 800ABDE8 000A8D48 90 03 00 04 */ stw r0, 4(r3) +/* 800ABDEC 000A8D4C 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR20CScriptSpindleCamera" +"Visit__22TCastToPtr<9CRepulsor>FR20CScriptSpindleCamera": +/* 800ABDF0 000A8D50 38 00 00 00 */ li r0, 0 +/* 800ABDF4 000A8D54 90 03 00 04 */ stw r0, 4(r3) +/* 800ABDF8 000A8D58 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR15CSnakeWeedSwarm" +"Visit__22TCastToPtr<9CRepulsor>FR15CSnakeWeedSwarm": +/* 800ABDFC 000A8D5C 38 00 00 00 */ li r0, 0 +/* 800ABE00 000A8D60 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE04 000A8D64 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR15CScriptWaypoint" +"Visit__22TCastToPtr<9CRepulsor>FR15CScriptWaypoint": +/* 800ABE08 000A8D68 38 00 00 00 */ li r0, 0 +/* 800ABE0C 000A8D6C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE10 000A8D70 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR12CScriptWater" +"Visit__22TCastToPtr<9CRepulsor>FR12CScriptWater": +/* 800ABE14 000A8D74 38 00 00 00 */ li r0, 0 +/* 800ABE18 000A8D78 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE1C 000A8D7C 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptVisorFlare" +"Visit__22TCastToPtr<9CRepulsor>FR17CScriptVisorFlare": +/* 800ABE20 000A8D80 38 00 00 00 */ li r0, 0 +/* 800ABE24 000A8D84 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE28 000A8D88 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR14CScriptTrigger" +"Visit__22TCastToPtr<9CRepulsor>FR14CScriptTrigger": +/* 800ABE2C 000A8D8C 38 00 00 00 */ li r0, 0 +/* 800ABE30 000A8D90 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE34 000A8D94 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR12CScriptTimer" +"Visit__22TCastToPtr<9CRepulsor>FR12CScriptTimer": +/* 800ABE38 000A8D98 38 00 00 00 */ li r0, 0 +/* 800ABE3C 000A8D9C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE40 000A8DA0 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR10CTeamAiMgr" +"Visit__22TCastToPtr<9CRepulsor>FR10CTeamAiMgr": +/* 800ABE44 000A8DA4 38 00 00 00 */ li r0, 0 +/* 800ABE48 000A8DA8 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE4C 000A8DAC 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR21CScriptTargetingPoint" +"Visit__22TCastToPtr<9CRepulsor>FR21CScriptTargetingPoint": +/* 800ABE50 000A8DB0 38 00 00 00 */ li r0, 0 +/* 800ABE54 000A8DB4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE58 000A8DB8 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR25CScriptSpiderBallWaypoint" +"Visit__22TCastToPtr<9CRepulsor>FR25CScriptSpiderBallWaypoint": +/* 800ABE5C 000A8DBC 38 00 00 00 */ li r0, 0 +/* 800ABE60 000A8DC0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE64 000A8DC4 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR34CScriptSpiderBallAttractionSurface" +"Visit__22TCastToPtr<9CRepulsor>FR34CScriptSpiderBallAttractionSurface": +/* 800ABE68 000A8DC8 38 00 00 00 */ li r0, 0 +/* 800ABE6C 000A8DCC 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE70 000A8DD0 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR22CScriptSpecialFunction" +"Visit__22TCastToPtr<9CRepulsor>FR22CScriptSpecialFunction": +/* 800ABE74 000A8DD4 38 00 00 00 */ li r0, 0 +/* 800ABE78 000A8DD8 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE7C 000A8DDC 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptSpawnPoint" +"Visit__22TCastToPtr<9CRepulsor>FR17CScriptSpawnPoint": +/* 800ABE80 000A8DE0 38 00 00 00 */ li r0, 0 +/* 800ABE84 000A8DE4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE88 000A8DE8 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR12CScriptSound" +"Visit__22TCastToPtr<9CRepulsor>FR12CScriptSound": +/* 800ABE8C 000A8DEC 38 00 00 00 */ li r0, 0 +/* 800ABE90 000A8DF0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABE94 000A8DF4 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR20CScriptRoomAcoustics" +"Visit__22TCastToPtr<9CRepulsor>FR20CScriptRoomAcoustics": +/* 800ABE98 000A8DF8 38 00 00 00 */ li r0, 0 +/* 800ABE9C 000A8DFC 90 03 00 04 */ stw r0, 4(r3) +/* 800ABEA0 000A8E00 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR22CScriptPointOfinterest" +"Visit__22TCastToPtr<9CRepulsor>FR22CScriptPointOfinterest": +/* 800ABEA4 000A8E04 38 00 00 00 */ li r0, 0 +/* 800ABEA8 000A8E08 90 03 00 04 */ stw r0, 4(r3) +/* 800ABEAC 000A8E0C 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptPlayerHint" +"Visit__22TCastToPtr<9CRepulsor>FR17CScriptPlayerHint": +/* 800ABEB0 000A8E10 38 00 00 00 */ li r0, 0 +/* 800ABEB4 000A8E14 90 03 00 04 */ stw r0, 4(r3) +/* 800ABEB8 000A8E18 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR15CScriptPlatform" +"Visit__22TCastToPtr<9CRepulsor>FR15CScriptPlatform": +/* 800ABEBC 000A8E1C 38 00 00 00 */ li r0, 0 +/* 800ABEC0 000A8E20 90 03 00 04 */ stw r0, 4(r3) +/* 800ABEC4 000A8E24 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR13CScriptPickup" +"Visit__22TCastToPtr<9CRepulsor>FR13CScriptPickup": +/* 800ABEC8 000A8E28 38 00 00 00 */ li r0, 0 +/* 800ABECC 000A8E2C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABED0 000A8E30 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR15CScriptMazeNode" +"Visit__22TCastToPtr<9CRepulsor>FR15CScriptMazeNode": +/* 800ABED4 000A8E34 38 00 00 00 */ li r0, 0 +/* 800ABED8 000A8E38 90 03 00 04 */ stw r0, 4(r3) +/* 800ABEDC 000A8E3C 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR16CScriptGunTurret" +"Visit__22TCastToPtr<9CRepulsor>FR16CScriptGunTurret": +/* 800ABEE0 000A8E40 38 00 00 00 */ li r0, 0 +/* 800ABEE4 000A8E44 90 03 00 04 */ stw r0, 4(r3) +/* 800ABEE8 000A8E48 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR19CScriptGrapplePoint" +"Visit__22TCastToPtr<9CRepulsor>FR19CScriptGrapplePoint": +/* 800ABEEC 000A8E4C 38 00 00 00 */ li r0, 0 +/* 800ABEF0 000A8E50 90 03 00 04 */ stw r0, 4(r3) +/* 800ABEF4 000A8E54 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR13CScriptEffect" +"Visit__22TCastToPtr<9CRepulsor>FR13CScriptEffect": +/* 800ABEF8 000A8E58 38 00 00 00 */ li r0, 0 +/* 800ABEFC 000A8E5C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF00 000A8E60 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR11CScriptDoor" +"Visit__22TCastToPtr<9CRepulsor>FR11CScriptDoor": +/* 800ABF04 000A8E64 38 00 00 00 */ li r0, 0 +/* 800ABF08 000A8E68 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF0C 000A8E6C 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR11CScriptDock" +"Visit__22TCastToPtr<9CRepulsor>FR11CScriptDock": +/* 800ABF10 000A8E70 38 00 00 00 */ li r0, 0 +/* 800ABF14 000A8E74 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF18 000A8E78 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR18CScriptDistanceFog" +"Visit__22TCastToPtr<9CRepulsor>FR18CScriptDistanceFog": +/* 800ABF1C 000A8E7C 38 00 00 00 */ li r0, 0 +/* 800ABF20 000A8E80 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF24 000A8E84 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR26CScriptDebugCameraWaypoint" +"Visit__22TCastToPtr<9CRepulsor>FR26CScriptDebugCameraWaypoint": +/* 800ABF28 000A8E88 38 00 00 00 */ li r0, 0 +/* 800ABF2C 000A8E8C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF30 000A8E90 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptCoverPoint" +"Visit__22TCastToPtr<9CRepulsor>FR17CScriptCoverPoint": +/* 800ABF34 000A8E94 38 00 00 00 */ li r0, 0 +/* 800ABF38 000A8E98 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF3C 000A8E9C 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR21CScriptCameraWaypoint" +"Visit__22TCastToPtr<9CRepulsor>FR21CScriptCameraWaypoint": +/* 800ABF40 000A8EA0 38 00 00 00 */ li r0, 0 +/* 800ABF44 000A8EA4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF48 000A8EA8 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR24CScriptCameraPitchVolume" +"Visit__22TCastToPtr<9CRepulsor>FR24CScriptCameraPitchVolume": +/* 800ABF4C 000A8EAC 38 00 00 00 */ li r0, 0 +/* 800ABF50 000A8EB0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF54 000A8EB4 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptCameraHint" +"Visit__22TCastToPtr<9CRepulsor>FR17CScriptCameraHint": +/* 800ABF58 000A8EB8 38 00 00 00 */ li r0, 0 +/* 800ABF5C 000A8EBC 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF60 000A8EC0 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR18CScriptAiJumpPoint" +"Visit__22TCastToPtr<9CRepulsor>FR18CScriptAiJumpPoint": +/* 800ABF64 000A8EC4 38 00 00 00 */ li r0, 0 +/* 800ABF68 000A8EC8 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF6C 000A8ECC 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR20CScriptActorKeyframe" +"Visit__22TCastToPtr<9CRepulsor>FR20CScriptActorKeyframe": +/* 800ABF70 000A8ED0 38 00 00 00 */ li r0, 0 +/* 800ABF74 000A8ED4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF78 000A8ED8 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR12CScriptActor" +"Visit__22TCastToPtr<9CRepulsor>FR12CScriptActor": +/* 800ABF7C 000A8EDC 38 00 00 00 */ li r0, 0 +/* 800ABF80 000A8EE0 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF84 000A8EE4 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR9CRepulsor" +"Visit__22TCastToPtr<9CRepulsor>FR9CRepulsor": +/* 800ABF88 000A8EE8 90 83 00 04 */ stw r4, 4(r3) +/* 800ABF8C 000A8EEC 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR7CPlayer" +"Visit__22TCastToPtr<9CRepulsor>FR7CPlayer": +/* 800ABF90 000A8EF0 38 00 00 00 */ li r0, 0 +/* 800ABF94 000A8EF4 90 03 00 04 */ stw r0, 4(r3) +/* 800ABF98 000A8EF8 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR13CPhysicsActor" +"Visit__22TCastToPtr<9CRepulsor>FR13CPhysicsActor": +/* 800ABF9C 000A8EFC 38 00 00 00 */ li r0, 0 +/* 800ABFA0 000A8F00 90 03 00 04 */ stw r0, 4(r3) +/* 800ABFA4 000A8F04 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR3CAi" +"Visit__22TCastToPtr<9CRepulsor>FR3CAi": +/* 800ABFA8 000A8F08 38 00 00 00 */ li r0, 0 +/* 800ABFAC 000A8F0C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABFB0 000A8F10 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR11CPathCamera" +"Visit__22TCastToPtr<9CRepulsor>FR11CPathCamera": +/* 800ABFB4 000A8F14 38 00 00 00 */ li r0, 0 +/* 800ABFB8 000A8F18 90 03 00 04 */ stw r0, 4(r3) +/* 800ABFBC 000A8F1C 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR18CMetroidPrimeRelay" +"Visit__22TCastToPtr<9CRepulsor>FR18CMetroidPrimeRelay": +/* 800ABFC0 000A8F20 38 00 00 00 */ li r0, 0 +/* 800ABFC4 000A8F24 90 03 00 04 */ stw r0, 4(r3) +/* 800ABFC8 000A8F28 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR19CHUDBillboardEffect" +"Visit__22TCastToPtr<9CRepulsor>FR19CHUDBillboardEffect": +/* 800ABFCC 000A8F2C 38 00 00 00 */ li r0, 0 +/* 800ABFD0 000A8F30 90 03 00 04 */ stw r0, 4(r3) +/* 800ABFD4 000A8F34 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR15CGameProjectile" +"Visit__22TCastToPtr<9CRepulsor>FR15CGameProjectile": +/* 800ABFD8 000A8F38 38 00 00 00 */ li r0, 0 +/* 800ABFDC 000A8F3C 90 03 00 04 */ stw r0, 4(r3) +/* 800ABFE0 000A8F40 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR10CGameLight" +"Visit__22TCastToPtr<9CRepulsor>FR10CGameLight": +/* 800ABFE4 000A8F44 38 00 00 00 */ li r0, 0 +/* 800ABFE8 000A8F48 90 03 00 04 */ stw r0, 4(r3) +/* 800ABFEC 000A8F4C 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR11CGameCamera" +"Visit__22TCastToPtr<9CRepulsor>FR11CGameCamera": +/* 800ABFF0 000A8F50 38 00 00 00 */ li r0, 0 +/* 800ABFF4 000A8F54 90 03 00 04 */ stw r0, 4(r3) +/* 800ABFF8 000A8F58 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR10CFishCloud" +"Visit__22TCastToPtr<9CRepulsor>FR10CFishCloud": +/* 800ABFFC 000A8F5C 38 00 00 00 */ li r0, 0 +/* 800AC000 000A8F60 90 03 00 04 */ stw r0, 4(r3) +/* 800AC004 000A8F64 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR18CFirstPersonCamera" +"Visit__22TCastToPtr<9CRepulsor>FR18CFirstPersonCamera": +/* 800AC008 000A8F68 38 00 00 00 */ li r0, 0 +/* 800AC00C 000A8F6C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC010 000A8F70 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR10CExplosion" +"Visit__22TCastToPtr<9CRepulsor>FR10CExplosion": +/* 800AC014 000A8F74 38 00 00 00 */ li r0, 0 +/* 800AC018 000A8F78 90 03 00 04 */ stw r0, 4(r3) +/* 800AC01C 000A8F7C 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR7CEntity" +"Visit__22TCastToPtr<9CRepulsor>FR7CEntity": +/* 800AC020 000A8F80 38 00 00 00 */ li r0, 0 +/* 800AC024 000A8F84 90 03 00 04 */ stw r0, 4(r3) +/* 800AC028 000A8F88 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR17CEnergyProjectile" +"Visit__22TCastToPtr<9CRepulsor>FR17CEnergyProjectile": +/* 800AC02C 000A8F8C 38 00 00 00 */ li r0, 0 +/* 800AC030 000A8F90 90 03 00 04 */ stw r0, 4(r3) +/* 800AC034 000A8F94 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR16CDestroyableRock" +"Visit__22TCastToPtr<9CRepulsor>FR16CDestroyableRock": +/* 800AC038 000A8F98 38 00 00 00 */ li r0, 0 +/* 800AC03C 000A8F9C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC040 000A8FA0 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR15CCollisionActor" +"Visit__22TCastToPtr<9CRepulsor>FR15CCollisionActor": +/* 800AC044 000A8FA4 38 00 00 00 */ li r0, 0 +/* 800AC048 000A8FA8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC04C 000A8FAC 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR16CCinematicCamera" +"Visit__22TCastToPtr<9CRepulsor>FR16CCinematicCamera": +/* 800AC050 000A8FB0 38 00 00 00 */ li r0, 0 +/* 800AC054 000A8FB4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC058 000A8FB8 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR5CBomb" +"Visit__22TCastToPtr<9CRepulsor>FR5CBomb": +/* 800AC05C 000A8FBC 38 00 00 00 */ li r0, 0 +/* 800AC060 000A8FC0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC064 000A8FC4 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR11CBallCamera" +"Visit__22TCastToPtr<9CRepulsor>FR11CBallCamera": +/* 800AC068 000A8FC8 38 00 00 00 */ li r0, 0 +/* 800AC06C 000A8FCC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC070 000A8FD0 4E 80 00 20 */ blr + +.global "Visit__22TCastToPtr<9CRepulsor>FR6CActor" +"Visit__22TCastToPtr<9CRepulsor>FR6CActor": +/* 800AC074 000A8FD4 38 00 00 00 */ li r0, 0 +/* 800AC078 000A8FD8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC07C 000A8FDC 4E 80 00 20 */ blr + +.global "__ct__22TCastToPtr<9CRepulsor>FP7CEntity" +"__ct__22TCastToPtr<9CRepulsor>FP7CEntity": +/* 800AC080 000A8FE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AC084 000A8FE4 7C 08 02 A6 */ mflr r0 +/* 800AC088 000A8FE8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AC08C 000A8FEC 3C A0 80 3E */ lis r5, lbl_803DD0E4@ha +/* 800AC090 000A8FF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AC094 000A8FF4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AC098 000A8FF8 28 04 00 00 */ cmplwi r4, 0 +/* 800AC09C 000A8FFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AC0A0 000A9000 7C 7F 1B 78 */ mr r31, r3 +/* 800AC0A4 000A9004 38 65 D0 E4 */ addi r3, r5, lbl_803DD0E4@l +/* 800AC0A8 000A9008 90 1F 00 00 */ stw r0, 0(r31) +/* 800AC0AC 000A900C 38 00 00 00 */ li r0, 0 +/* 800AC0B0 000A9010 90 7F 00 00 */ stw r3, 0(r31) +/* 800AC0B4 000A9014 90 1F 00 04 */ stw r0, 4(r31) +/* 800AC0B8 000A9018 41 82 00 1C */ beq lbl_800AC0D4 +/* 800AC0BC 000A901C 7C 83 23 78 */ mr r3, r4 +/* 800AC0C0 000A9020 7F E4 FB 78 */ mr r4, r31 +/* 800AC0C4 000A9024 81 83 00 00 */ lwz r12, 0(r3) +/* 800AC0C8 000A9028 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AC0CC 000A902C 7D 89 03 A6 */ mtctr r12 +/* 800AC0D0 000A9030 4E 80 04 21 */ bctrl +lbl_800AC0D4: +/* 800AC0D4 000A9034 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AC0D8 000A9038 7F E3 FB 78 */ mr r3, r31 +/* 800AC0DC 000A903C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AC0E0 000A9040 7C 08 03 A6 */ mtlr r0 +/* 800AC0E4 000A9044 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AC0E8 000A9048 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR7CWeapon" +"Visit__20TCastToPtr<7CPlayer>FR7CWeapon": +/* 800AC0EC 000A904C 38 00 00 00 */ li r0, 0 +/* 800AC0F0 000A9050 90 03 00 04 */ stw r0, 4(r3) +/* 800AC0F4 000A9054 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR17CWallCrawlerSwarm" +"Visit__20TCastToPtr<7CPlayer>FR17CWallCrawlerSwarm": +/* 800AC0F8 000A9058 38 00 00 00 */ li r0, 0 +/* 800AC0FC 000A905C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC100 000A9060 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR20CScriptSpindleCamera" +"Visit__20TCastToPtr<7CPlayer>FR20CScriptSpindleCamera": +/* 800AC104 000A9064 38 00 00 00 */ li r0, 0 +/* 800AC108 000A9068 90 03 00 04 */ stw r0, 4(r3) +/* 800AC10C 000A906C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR15CSnakeWeedSwarm" +"Visit__20TCastToPtr<7CPlayer>FR15CSnakeWeedSwarm": +/* 800AC110 000A9070 38 00 00 00 */ li r0, 0 +/* 800AC114 000A9074 90 03 00 04 */ stw r0, 4(r3) +/* 800AC118 000A9078 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR15CScriptWaypoint" +"Visit__20TCastToPtr<7CPlayer>FR15CScriptWaypoint": +/* 800AC11C 000A907C 38 00 00 00 */ li r0, 0 +/* 800AC120 000A9080 90 03 00 04 */ stw r0, 4(r3) +/* 800AC124 000A9084 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR12CScriptWater" +"Visit__20TCastToPtr<7CPlayer>FR12CScriptWater": +/* 800AC128 000A9088 38 00 00 00 */ li r0, 0 +/* 800AC12C 000A908C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC130 000A9090 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptVisorFlare" +"Visit__20TCastToPtr<7CPlayer>FR17CScriptVisorFlare": +/* 800AC134 000A9094 38 00 00 00 */ li r0, 0 +/* 800AC138 000A9098 90 03 00 04 */ stw r0, 4(r3) +/* 800AC13C 000A909C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR14CScriptTrigger" +"Visit__20TCastToPtr<7CPlayer>FR14CScriptTrigger": +/* 800AC140 000A90A0 38 00 00 00 */ li r0, 0 +/* 800AC144 000A90A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC148 000A90A8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR12CScriptTimer" +"Visit__20TCastToPtr<7CPlayer>FR12CScriptTimer": +/* 800AC14C 000A90AC 38 00 00 00 */ li r0, 0 +/* 800AC150 000A90B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC154 000A90B4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR10CTeamAiMgr" +"Visit__20TCastToPtr<7CPlayer>FR10CTeamAiMgr": +/* 800AC158 000A90B8 38 00 00 00 */ li r0, 0 +/* 800AC15C 000A90BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC160 000A90C0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR21CScriptTargetingPoint" +"Visit__20TCastToPtr<7CPlayer>FR21CScriptTargetingPoint": +/* 800AC164 000A90C4 38 00 00 00 */ li r0, 0 +/* 800AC168 000A90C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC16C 000A90CC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR25CScriptSpiderBallWaypoint" +"Visit__20TCastToPtr<7CPlayer>FR25CScriptSpiderBallWaypoint": +/* 800AC170 000A90D0 38 00 00 00 */ li r0, 0 +/* 800AC174 000A90D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC178 000A90D8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR34CScriptSpiderBallAttractionSurface" +"Visit__20TCastToPtr<7CPlayer>FR34CScriptSpiderBallAttractionSurface": +/* 800AC17C 000A90DC 38 00 00 00 */ li r0, 0 +/* 800AC180 000A90E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC184 000A90E4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR22CScriptSpecialFunction" +"Visit__20TCastToPtr<7CPlayer>FR22CScriptSpecialFunction": +/* 800AC188 000A90E8 38 00 00 00 */ li r0, 0 +/* 800AC18C 000A90EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC190 000A90F0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptSpawnPoint" +"Visit__20TCastToPtr<7CPlayer>FR17CScriptSpawnPoint": +/* 800AC194 000A90F4 38 00 00 00 */ li r0, 0 +/* 800AC198 000A90F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC19C 000A90FC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR12CScriptSound" +"Visit__20TCastToPtr<7CPlayer>FR12CScriptSound": +/* 800AC1A0 000A9100 38 00 00 00 */ li r0, 0 +/* 800AC1A4 000A9104 90 03 00 04 */ stw r0, 4(r3) +/* 800AC1A8 000A9108 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR20CScriptRoomAcoustics" +"Visit__20TCastToPtr<7CPlayer>FR20CScriptRoomAcoustics": +/* 800AC1AC 000A910C 38 00 00 00 */ li r0, 0 +/* 800AC1B0 000A9110 90 03 00 04 */ stw r0, 4(r3) +/* 800AC1B4 000A9114 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR22CScriptPointOfinterest" +"Visit__20TCastToPtr<7CPlayer>FR22CScriptPointOfinterest": +/* 800AC1B8 000A9118 38 00 00 00 */ li r0, 0 +/* 800AC1BC 000A911C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC1C0 000A9120 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptPlayerHint" +"Visit__20TCastToPtr<7CPlayer>FR17CScriptPlayerHint": +/* 800AC1C4 000A9124 38 00 00 00 */ li r0, 0 +/* 800AC1C8 000A9128 90 03 00 04 */ stw r0, 4(r3) +/* 800AC1CC 000A912C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR15CScriptPlatform" +"Visit__20TCastToPtr<7CPlayer>FR15CScriptPlatform": +/* 800AC1D0 000A9130 38 00 00 00 */ li r0, 0 +/* 800AC1D4 000A9134 90 03 00 04 */ stw r0, 4(r3) +/* 800AC1D8 000A9138 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR13CScriptPickup" +"Visit__20TCastToPtr<7CPlayer>FR13CScriptPickup": +/* 800AC1DC 000A913C 38 00 00 00 */ li r0, 0 +/* 800AC1E0 000A9140 90 03 00 04 */ stw r0, 4(r3) +/* 800AC1E4 000A9144 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR15CScriptMazeNode" +"Visit__20TCastToPtr<7CPlayer>FR15CScriptMazeNode": +/* 800AC1E8 000A9148 38 00 00 00 */ li r0, 0 +/* 800AC1EC 000A914C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC1F0 000A9150 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR16CScriptGunTurret" +"Visit__20TCastToPtr<7CPlayer>FR16CScriptGunTurret": +/* 800AC1F4 000A9154 38 00 00 00 */ li r0, 0 +/* 800AC1F8 000A9158 90 03 00 04 */ stw r0, 4(r3) +/* 800AC1FC 000A915C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR19CScriptGrapplePoint" +"Visit__20TCastToPtr<7CPlayer>FR19CScriptGrapplePoint": +/* 800AC200 000A9160 38 00 00 00 */ li r0, 0 +/* 800AC204 000A9164 90 03 00 04 */ stw r0, 4(r3) +/* 800AC208 000A9168 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR13CScriptEffect" +"Visit__20TCastToPtr<7CPlayer>FR13CScriptEffect": +/* 800AC20C 000A916C 38 00 00 00 */ li r0, 0 +/* 800AC210 000A9170 90 03 00 04 */ stw r0, 4(r3) +/* 800AC214 000A9174 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR11CScriptDoor" +"Visit__20TCastToPtr<7CPlayer>FR11CScriptDoor": +/* 800AC218 000A9178 38 00 00 00 */ li r0, 0 +/* 800AC21C 000A917C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC220 000A9180 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR11CScriptDock" +"Visit__20TCastToPtr<7CPlayer>FR11CScriptDock": +/* 800AC224 000A9184 38 00 00 00 */ li r0, 0 +/* 800AC228 000A9188 90 03 00 04 */ stw r0, 4(r3) +/* 800AC22C 000A918C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR18CScriptDistanceFog" +"Visit__20TCastToPtr<7CPlayer>FR18CScriptDistanceFog": +/* 800AC230 000A9190 38 00 00 00 */ li r0, 0 +/* 800AC234 000A9194 90 03 00 04 */ stw r0, 4(r3) +/* 800AC238 000A9198 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR26CScriptDebugCameraWaypoint" +"Visit__20TCastToPtr<7CPlayer>FR26CScriptDebugCameraWaypoint": +/* 800AC23C 000A919C 38 00 00 00 */ li r0, 0 +/* 800AC240 000A91A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC244 000A91A4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptCoverPoint" +"Visit__20TCastToPtr<7CPlayer>FR17CScriptCoverPoint": +/* 800AC248 000A91A8 38 00 00 00 */ li r0, 0 +/* 800AC24C 000A91AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC250 000A91B0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR21CScriptCameraWaypoint" +"Visit__20TCastToPtr<7CPlayer>FR21CScriptCameraWaypoint": +/* 800AC254 000A91B4 38 00 00 00 */ li r0, 0 +/* 800AC258 000A91B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC25C 000A91BC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR24CScriptCameraPitchVolume" +"Visit__20TCastToPtr<7CPlayer>FR24CScriptCameraPitchVolume": +/* 800AC260 000A91C0 38 00 00 00 */ li r0, 0 +/* 800AC264 000A91C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC268 000A91C8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptCameraHint" +"Visit__20TCastToPtr<7CPlayer>FR17CScriptCameraHint": +/* 800AC26C 000A91CC 38 00 00 00 */ li r0, 0 +/* 800AC270 000A91D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC274 000A91D4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR18CScriptAiJumpPoint" +"Visit__20TCastToPtr<7CPlayer>FR18CScriptAiJumpPoint": +/* 800AC278 000A91D8 38 00 00 00 */ li r0, 0 +/* 800AC27C 000A91DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC280 000A91E0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR20CScriptActorKeyframe" +"Visit__20TCastToPtr<7CPlayer>FR20CScriptActorKeyframe": +/* 800AC284 000A91E4 38 00 00 00 */ li r0, 0 +/* 800AC288 000A91E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC28C 000A91EC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR12CScriptActor" +"Visit__20TCastToPtr<7CPlayer>FR12CScriptActor": +/* 800AC290 000A91F0 38 00 00 00 */ li r0, 0 +/* 800AC294 000A91F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC298 000A91F8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR9CRepulsor" +"Visit__20TCastToPtr<7CPlayer>FR9CRepulsor": +/* 800AC29C 000A91FC 38 00 00 00 */ li r0, 0 +/* 800AC2A0 000A9200 90 03 00 04 */ stw r0, 4(r3) +/* 800AC2A4 000A9204 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR7CPlayer" +"Visit__20TCastToPtr<7CPlayer>FR7CPlayer": +/* 800AC2A8 000A9208 90 83 00 04 */ stw r4, 4(r3) +/* 800AC2AC 000A920C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR13CPhysicsActor" +"Visit__20TCastToPtr<7CPlayer>FR13CPhysicsActor": +/* 800AC2B0 000A9210 38 00 00 00 */ li r0, 0 +/* 800AC2B4 000A9214 90 03 00 04 */ stw r0, 4(r3) +/* 800AC2B8 000A9218 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR3CAi" +"Visit__20TCastToPtr<7CPlayer>FR3CAi": +/* 800AC2BC 000A921C 38 00 00 00 */ li r0, 0 +/* 800AC2C0 000A9220 90 03 00 04 */ stw r0, 4(r3) +/* 800AC2C4 000A9224 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR11CPathCamera" +"Visit__20TCastToPtr<7CPlayer>FR11CPathCamera": +/* 800AC2C8 000A9228 38 00 00 00 */ li r0, 0 +/* 800AC2CC 000A922C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC2D0 000A9230 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR18CMetroidPrimeRelay" +"Visit__20TCastToPtr<7CPlayer>FR18CMetroidPrimeRelay": +/* 800AC2D4 000A9234 38 00 00 00 */ li r0, 0 +/* 800AC2D8 000A9238 90 03 00 04 */ stw r0, 4(r3) +/* 800AC2DC 000A923C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR19CHUDBillboardEffect" +"Visit__20TCastToPtr<7CPlayer>FR19CHUDBillboardEffect": +/* 800AC2E0 000A9240 38 00 00 00 */ li r0, 0 +/* 800AC2E4 000A9244 90 03 00 04 */ stw r0, 4(r3) +/* 800AC2E8 000A9248 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR15CGameProjectile" +"Visit__20TCastToPtr<7CPlayer>FR15CGameProjectile": +/* 800AC2EC 000A924C 38 00 00 00 */ li r0, 0 +/* 800AC2F0 000A9250 90 03 00 04 */ stw r0, 4(r3) +/* 800AC2F4 000A9254 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR10CGameLight" +"Visit__20TCastToPtr<7CPlayer>FR10CGameLight": +/* 800AC2F8 000A9258 38 00 00 00 */ li r0, 0 +/* 800AC2FC 000A925C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC300 000A9260 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR11CGameCamera" +"Visit__20TCastToPtr<7CPlayer>FR11CGameCamera": +/* 800AC304 000A9264 38 00 00 00 */ li r0, 0 +/* 800AC308 000A9268 90 03 00 04 */ stw r0, 4(r3) +/* 800AC30C 000A926C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR10CFishCloud" +"Visit__20TCastToPtr<7CPlayer>FR10CFishCloud": +/* 800AC310 000A9270 38 00 00 00 */ li r0, 0 +/* 800AC314 000A9274 90 03 00 04 */ stw r0, 4(r3) +/* 800AC318 000A9278 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR18CFirstPersonCamera" +"Visit__20TCastToPtr<7CPlayer>FR18CFirstPersonCamera": +/* 800AC31C 000A927C 38 00 00 00 */ li r0, 0 +/* 800AC320 000A9280 90 03 00 04 */ stw r0, 4(r3) +/* 800AC324 000A9284 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR10CExplosion" +"Visit__20TCastToPtr<7CPlayer>FR10CExplosion": +/* 800AC328 000A9288 38 00 00 00 */ li r0, 0 +/* 800AC32C 000A928C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC330 000A9290 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR7CEntity" +"Visit__20TCastToPtr<7CPlayer>FR7CEntity": +/* 800AC334 000A9294 38 00 00 00 */ li r0, 0 +/* 800AC338 000A9298 90 03 00 04 */ stw r0, 4(r3) +/* 800AC33C 000A929C 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR17CEnergyProjectile" +"Visit__20TCastToPtr<7CPlayer>FR17CEnergyProjectile": +/* 800AC340 000A92A0 38 00 00 00 */ li r0, 0 +/* 800AC344 000A92A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC348 000A92A8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR16CDestroyableRock" +"Visit__20TCastToPtr<7CPlayer>FR16CDestroyableRock": +/* 800AC34C 000A92AC 38 00 00 00 */ li r0, 0 +/* 800AC350 000A92B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC354 000A92B4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR15CCollisionActor" +"Visit__20TCastToPtr<7CPlayer>FR15CCollisionActor": +/* 800AC358 000A92B8 38 00 00 00 */ li r0, 0 +/* 800AC35C 000A92BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC360 000A92C0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR16CCinematicCamera" +"Visit__20TCastToPtr<7CPlayer>FR16CCinematicCamera": +/* 800AC364 000A92C4 38 00 00 00 */ li r0, 0 +/* 800AC368 000A92C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC36C 000A92CC 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR5CBomb" +"Visit__20TCastToPtr<7CPlayer>FR5CBomb": +/* 800AC370 000A92D0 38 00 00 00 */ li r0, 0 +/* 800AC374 000A92D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC378 000A92D8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR11CBallCamera" +"Visit__20TCastToPtr<7CPlayer>FR11CBallCamera": +/* 800AC37C 000A92DC 38 00 00 00 */ li r0, 0 +/* 800AC380 000A92E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC384 000A92E4 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CPlayer>FR6CActor" +"Visit__20TCastToPtr<7CPlayer>FR6CActor": +/* 800AC388 000A92E8 38 00 00 00 */ li r0, 0 +/* 800AC38C 000A92EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC390 000A92F0 4E 80 00 20 */ blr + +.global "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +"__ct__20TCastToPtr<7CPlayer>FP7CEntity": +/* 800AC394 000A92F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AC398 000A92F8 7C 08 02 A6 */ mflr r0 +/* 800AC39C 000A92FC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AC3A0 000A9300 3C A0 80 3E */ lis r5, lbl_803DCFF8@ha +/* 800AC3A4 000A9304 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AC3A8 000A9308 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AC3AC 000A930C 28 04 00 00 */ cmplwi r4, 0 +/* 800AC3B0 000A9310 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AC3B4 000A9314 7C 7F 1B 78 */ mr r31, r3 +/* 800AC3B8 000A9318 38 65 CF F8 */ addi r3, r5, lbl_803DCFF8@l +/* 800AC3BC 000A931C 90 1F 00 00 */ stw r0, 0(r31) +/* 800AC3C0 000A9320 38 00 00 00 */ li r0, 0 +/* 800AC3C4 000A9324 90 7F 00 00 */ stw r3, 0(r31) +/* 800AC3C8 000A9328 90 1F 00 04 */ stw r0, 4(r31) +/* 800AC3CC 000A932C 41 82 00 1C */ beq lbl_800AC3E8 +/* 800AC3D0 000A9330 7C 83 23 78 */ mr r3, r4 +/* 800AC3D4 000A9334 7F E4 FB 78 */ mr r4, r31 +/* 800AC3D8 000A9338 81 83 00 00 */ lwz r12, 0(r3) +/* 800AC3DC 000A933C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AC3E0 000A9340 7D 89 03 A6 */ mtctr r12 +/* 800AC3E4 000A9344 4E 80 04 21 */ bctrl +lbl_800AC3E8: +/* 800AC3E8 000A9348 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AC3EC 000A934C 7F E3 FB 78 */ mr r3, r31 +/* 800AC3F0 000A9350 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AC3F4 000A9354 7C 08 03 A6 */ mtlr r0 +/* 800AC3F8 000A9358 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AC3FC 000A935C 4E 80 00 20 */ blr + +.global "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +"__ct__20TCastToPtr<7CPlayer>FR7CEntity": +/* 800AC400 000A9360 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AC404 000A9364 7C 08 02 A6 */ mflr r0 +/* 800AC408 000A9368 3C A0 80 3E */ lis r5, lbl_803DCFF8@ha +/* 800AC40C 000A936C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AC410 000A9370 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AC414 000A9374 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AC418 000A9378 38 A5 CF F8 */ addi r5, r5, lbl_803DCFF8@l +/* 800AC41C 000A937C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AC420 000A9380 7C 7F 1B 78 */ mr r31, r3 +/* 800AC424 000A9384 90 03 00 00 */ stw r0, 0(r3) +/* 800AC428 000A9388 7C 83 23 78 */ mr r3, r4 +/* 800AC42C 000A938C 38 00 00 00 */ li r0, 0 +/* 800AC430 000A9390 7F E4 FB 78 */ mr r4, r31 +/* 800AC434 000A9394 90 BF 00 00 */ stw r5, 0(r31) +/* 800AC438 000A9398 90 1F 00 04 */ stw r0, 4(r31) +/* 800AC43C 000A939C 81 83 00 00 */ lwz r12, 0(r3) +/* 800AC440 000A93A0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AC444 000A93A4 7D 89 03 A6 */ mtctr r12 +/* 800AC448 000A93A8 4E 80 04 21 */ bctrl +/* 800AC44C 000A93AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AC450 000A93B0 7F E3 FB 78 */ mr r3, r31 +/* 800AC454 000A93B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AC458 000A93B8 7C 08 03 A6 */ mtlr r0 +/* 800AC45C 000A93BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AC460 000A93C0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR7CWeapon" +"Visit__27TCastToPtr<13CPhysicsActor>FR7CWeapon": +/* 800AC464 000A93C4 38 00 00 00 */ li r0, 0 +/* 800AC468 000A93C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC46C 000A93CC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CWallCrawlerSwarm" +"Visit__27TCastToPtr<13CPhysicsActor>FR17CWallCrawlerSwarm": +/* 800AC470 000A93D0 38 00 00 00 */ li r0, 0 +/* 800AC474 000A93D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC478 000A93D8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptSpindleCamera" +"Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptSpindleCamera": +/* 800AC47C 000A93DC 38 00 00 00 */ li r0, 0 +/* 800AC480 000A93E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC484 000A93E4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CSnakeWeedSwarm" +"Visit__27TCastToPtr<13CPhysicsActor>FR15CSnakeWeedSwarm": +/* 800AC488 000A93E8 38 00 00 00 */ li r0, 0 +/* 800AC48C 000A93EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC490 000A93F0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptWaypoint" +"Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptWaypoint": +/* 800AC494 000A93F4 38 00 00 00 */ li r0, 0 +/* 800AC498 000A93F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC49C 000A93FC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptWater" +"Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptWater": +/* 800AC4A0 000A9400 38 00 00 00 */ li r0, 0 +/* 800AC4A4 000A9404 90 03 00 04 */ stw r0, 4(r3) +/* 800AC4A8 000A9408 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptVisorFlare" +"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptVisorFlare": +/* 800AC4AC 000A940C 38 00 00 00 */ li r0, 0 +/* 800AC4B0 000A9410 90 03 00 04 */ stw r0, 4(r3) +/* 800AC4B4 000A9414 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR14CScriptTrigger" +"Visit__27TCastToPtr<13CPhysicsActor>FR14CScriptTrigger": +/* 800AC4B8 000A9418 38 00 00 00 */ li r0, 0 +/* 800AC4BC 000A941C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC4C0 000A9420 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptTimer" +"Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptTimer": +/* 800AC4C4 000A9424 38 00 00 00 */ li r0, 0 +/* 800AC4C8 000A9428 90 03 00 04 */ stw r0, 4(r3) +/* 800AC4CC 000A942C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR10CTeamAiMgr" +"Visit__27TCastToPtr<13CPhysicsActor>FR10CTeamAiMgr": +/* 800AC4D0 000A9430 38 00 00 00 */ li r0, 0 +/* 800AC4D4 000A9434 90 03 00 04 */ stw r0, 4(r3) +/* 800AC4D8 000A9438 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR21CScriptTargetingPoint" +"Visit__27TCastToPtr<13CPhysicsActor>FR21CScriptTargetingPoint": +/* 800AC4DC 000A943C 38 00 00 00 */ li r0, 0 +/* 800AC4E0 000A9440 90 03 00 04 */ stw r0, 4(r3) +/* 800AC4E4 000A9444 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR25CScriptSpiderBallWaypoint" +"Visit__27TCastToPtr<13CPhysicsActor>FR25CScriptSpiderBallWaypoint": +/* 800AC4E8 000A9448 38 00 00 00 */ li r0, 0 +/* 800AC4EC 000A944C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC4F0 000A9450 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR34CScriptSpiderBallAttractionSurface" +"Visit__27TCastToPtr<13CPhysicsActor>FR34CScriptSpiderBallAttractionSurface": +/* 800AC4F4 000A9454 38 00 00 00 */ li r0, 0 +/* 800AC4F8 000A9458 90 03 00 04 */ stw r0, 4(r3) +/* 800AC4FC 000A945C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR22CScriptSpecialFunction" +"Visit__27TCastToPtr<13CPhysicsActor>FR22CScriptSpecialFunction": +/* 800AC500 000A9460 38 00 00 00 */ li r0, 0 +/* 800AC504 000A9464 90 03 00 04 */ stw r0, 4(r3) +/* 800AC508 000A9468 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptSpawnPoint" +"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptSpawnPoint": +/* 800AC50C 000A946C 38 00 00 00 */ li r0, 0 +/* 800AC510 000A9470 90 03 00 04 */ stw r0, 4(r3) +/* 800AC514 000A9474 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptSound" +"Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptSound": +/* 800AC518 000A9478 38 00 00 00 */ li r0, 0 +/* 800AC51C 000A947C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC520 000A9480 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptRoomAcoustics" +"Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptRoomAcoustics": +/* 800AC524 000A9484 38 00 00 00 */ li r0, 0 +/* 800AC528 000A9488 90 03 00 04 */ stw r0, 4(r3) +/* 800AC52C 000A948C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR22CScriptPointOfinterest" +"Visit__27TCastToPtr<13CPhysicsActor>FR22CScriptPointOfinterest": +/* 800AC530 000A9490 38 00 00 00 */ li r0, 0 +/* 800AC534 000A9494 90 03 00 04 */ stw r0, 4(r3) +/* 800AC538 000A9498 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptPlayerHint" +"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptPlayerHint": +/* 800AC53C 000A949C 38 00 00 00 */ li r0, 0 +/* 800AC540 000A94A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC544 000A94A4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptPlatform" +"Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptPlatform": +/* 800AC548 000A94A8 90 83 00 04 */ stw r4, 4(r3) +/* 800AC54C 000A94AC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR13CScriptPickup" +"Visit__27TCastToPtr<13CPhysicsActor>FR13CScriptPickup": +/* 800AC550 000A94B0 90 83 00 04 */ stw r4, 4(r3) +/* 800AC554 000A94B4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptMazeNode" +"Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptMazeNode": +/* 800AC558 000A94B8 38 00 00 00 */ li r0, 0 +/* 800AC55C 000A94BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC560 000A94C0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR16CScriptGunTurret" +"Visit__27TCastToPtr<13CPhysicsActor>FR16CScriptGunTurret": +/* 800AC564 000A94C4 90 83 00 04 */ stw r4, 4(r3) +/* 800AC568 000A94C8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR19CScriptGrapplePoint" +"Visit__27TCastToPtr<13CPhysicsActor>FR19CScriptGrapplePoint": +/* 800AC56C 000A94CC 38 00 00 00 */ li r0, 0 +/* 800AC570 000A94D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC574 000A94D4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR13CScriptEffect" +"Visit__27TCastToPtr<13CPhysicsActor>FR13CScriptEffect": +/* 800AC578 000A94D8 38 00 00 00 */ li r0, 0 +/* 800AC57C 000A94DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC580 000A94E0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CScriptDoor" +"Visit__27TCastToPtr<13CPhysicsActor>FR11CScriptDoor": +/* 800AC584 000A94E4 90 83 00 04 */ stw r4, 4(r3) +/* 800AC588 000A94E8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CScriptDock" +"Visit__27TCastToPtr<13CPhysicsActor>FR11CScriptDock": +/* 800AC58C 000A94EC 90 83 00 04 */ stw r4, 4(r3) +/* 800AC590 000A94F0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR18CScriptDistanceFog" +"Visit__27TCastToPtr<13CPhysicsActor>FR18CScriptDistanceFog": +/* 800AC594 000A94F4 38 00 00 00 */ li r0, 0 +/* 800AC598 000A94F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC59C 000A94FC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR26CScriptDebugCameraWaypoint" +"Visit__27TCastToPtr<13CPhysicsActor>FR26CScriptDebugCameraWaypoint": +/* 800AC5A0 000A9500 38 00 00 00 */ li r0, 0 +/* 800AC5A4 000A9504 90 03 00 04 */ stw r0, 4(r3) +/* 800AC5A8 000A9508 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptCoverPoint" +"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptCoverPoint": +/* 800AC5AC 000A950C 38 00 00 00 */ li r0, 0 +/* 800AC5B0 000A9510 90 03 00 04 */ stw r0, 4(r3) +/* 800AC5B4 000A9514 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR21CScriptCameraWaypoint" +"Visit__27TCastToPtr<13CPhysicsActor>FR21CScriptCameraWaypoint": +/* 800AC5B8 000A9518 38 00 00 00 */ li r0, 0 +/* 800AC5BC 000A951C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC5C0 000A9520 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR24CScriptCameraPitchVolume" +"Visit__27TCastToPtr<13CPhysicsActor>FR24CScriptCameraPitchVolume": +/* 800AC5C4 000A9524 38 00 00 00 */ li r0, 0 +/* 800AC5C8 000A9528 90 03 00 04 */ stw r0, 4(r3) +/* 800AC5CC 000A952C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptCameraHint" +"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptCameraHint": +/* 800AC5D0 000A9530 38 00 00 00 */ li r0, 0 +/* 800AC5D4 000A9534 90 03 00 04 */ stw r0, 4(r3) +/* 800AC5D8 000A9538 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR18CScriptAiJumpPoint" +"Visit__27TCastToPtr<13CPhysicsActor>FR18CScriptAiJumpPoint": +/* 800AC5DC 000A953C 38 00 00 00 */ li r0, 0 +/* 800AC5E0 000A9540 90 03 00 04 */ stw r0, 4(r3) +/* 800AC5E4 000A9544 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptActorKeyframe" +"Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptActorKeyframe": +/* 800AC5E8 000A9548 38 00 00 00 */ li r0, 0 +/* 800AC5EC 000A954C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC5F0 000A9550 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptActor" +"Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptActor": +/* 800AC5F4 000A9554 90 83 00 04 */ stw r4, 4(r3) +/* 800AC5F8 000A9558 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR9CRepulsor" +"Visit__27TCastToPtr<13CPhysicsActor>FR9CRepulsor": +/* 800AC5FC 000A955C 38 00 00 00 */ li r0, 0 +/* 800AC600 000A9560 90 03 00 04 */ stw r0, 4(r3) +/* 800AC604 000A9564 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR7CPlayer" +"Visit__27TCastToPtr<13CPhysicsActor>FR7CPlayer": +/* 800AC608 000A9568 90 83 00 04 */ stw r4, 4(r3) +/* 800AC60C 000A956C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR13CPhysicsActor" +"Visit__27TCastToPtr<13CPhysicsActor>FR13CPhysicsActor": +/* 800AC610 000A9570 90 83 00 04 */ stw r4, 4(r3) +/* 800AC614 000A9574 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR3CAi" +"Visit__27TCastToPtr<13CPhysicsActor>FR3CAi": +/* 800AC618 000A9578 90 83 00 04 */ stw r4, 4(r3) +/* 800AC61C 000A957C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CPathCamera" +"Visit__27TCastToPtr<13CPhysicsActor>FR11CPathCamera": +/* 800AC620 000A9580 38 00 00 00 */ li r0, 0 +/* 800AC624 000A9584 90 03 00 04 */ stw r0, 4(r3) +/* 800AC628 000A9588 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR18CMetroidPrimeRelay" +"Visit__27TCastToPtr<13CPhysicsActor>FR18CMetroidPrimeRelay": +/* 800AC62C 000A958C 38 00 00 00 */ li r0, 0 +/* 800AC630 000A9590 90 03 00 04 */ stw r0, 4(r3) +/* 800AC634 000A9594 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR19CHUDBillboardEffect" +"Visit__27TCastToPtr<13CPhysicsActor>FR19CHUDBillboardEffect": +/* 800AC638 000A9598 38 00 00 00 */ li r0, 0 +/* 800AC63C 000A959C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC640 000A95A0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CGameProjectile" +"Visit__27TCastToPtr<13CPhysicsActor>FR15CGameProjectile": +/* 800AC644 000A95A4 38 00 00 00 */ li r0, 0 +/* 800AC648 000A95A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC64C 000A95AC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR10CGameLight" +"Visit__27TCastToPtr<13CPhysicsActor>FR10CGameLight": +/* 800AC650 000A95B0 38 00 00 00 */ li r0, 0 +/* 800AC654 000A95B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC658 000A95B8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CGameCamera" +"Visit__27TCastToPtr<13CPhysicsActor>FR11CGameCamera": +/* 800AC65C 000A95BC 38 00 00 00 */ li r0, 0 +/* 800AC660 000A95C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC664 000A95C4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR10CFishCloud" +"Visit__27TCastToPtr<13CPhysicsActor>FR10CFishCloud": +/* 800AC668 000A95C8 38 00 00 00 */ li r0, 0 +/* 800AC66C 000A95CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC670 000A95D0 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR18CFirstPersonCamera" +"Visit__27TCastToPtr<13CPhysicsActor>FR18CFirstPersonCamera": +/* 800AC674 000A95D4 38 00 00 00 */ li r0, 0 +/* 800AC678 000A95D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC67C 000A95DC 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR10CExplosion" +"Visit__27TCastToPtr<13CPhysicsActor>FR10CExplosion": +/* 800AC680 000A95E0 38 00 00 00 */ li r0, 0 +/* 800AC684 000A95E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC688 000A95E8 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR7CEntity" +"Visit__27TCastToPtr<13CPhysicsActor>FR7CEntity": +/* 800AC68C 000A95EC 38 00 00 00 */ li r0, 0 +/* 800AC690 000A95F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC694 000A95F4 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CEnergyProjectile" +"Visit__27TCastToPtr<13CPhysicsActor>FR17CEnergyProjectile": +/* 800AC698 000A95F8 38 00 00 00 */ li r0, 0 +/* 800AC69C 000A95FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC6A0 000A9600 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR16CDestroyableRock" +"Visit__27TCastToPtr<13CPhysicsActor>FR16CDestroyableRock": +/* 800AC6A4 000A9604 90 83 00 04 */ stw r4, 4(r3) +/* 800AC6A8 000A9608 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CCollisionActor" +"Visit__27TCastToPtr<13CPhysicsActor>FR15CCollisionActor": +/* 800AC6AC 000A960C 90 83 00 04 */ stw r4, 4(r3) +/* 800AC6B0 000A9610 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR16CCinematicCamera" +"Visit__27TCastToPtr<13CPhysicsActor>FR16CCinematicCamera": +/* 800AC6B4 000A9614 38 00 00 00 */ li r0, 0 +/* 800AC6B8 000A9618 90 03 00 04 */ stw r0, 4(r3) +/* 800AC6BC 000A961C 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR5CBomb" +"Visit__27TCastToPtr<13CPhysicsActor>FR5CBomb": +/* 800AC6C0 000A9620 38 00 00 00 */ li r0, 0 +/* 800AC6C4 000A9624 90 03 00 04 */ stw r0, 4(r3) +/* 800AC6C8 000A9628 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CBallCamera" +"Visit__27TCastToPtr<13CPhysicsActor>FR11CBallCamera": +/* 800AC6CC 000A962C 38 00 00 00 */ li r0, 0 +/* 800AC6D0 000A9630 90 03 00 04 */ stw r0, 4(r3) +/* 800AC6D4 000A9634 4E 80 00 20 */ blr + +.global "Visit__27TCastToPtr<13CPhysicsActor>FR6CActor" +"Visit__27TCastToPtr<13CPhysicsActor>FR6CActor": +/* 800AC6D8 000A9638 38 00 00 00 */ li r0, 0 +/* 800AC6DC 000A963C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC6E0 000A9640 4E 80 00 20 */ blr + +.global "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +"__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity": +/* 800AC6E4 000A9644 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AC6E8 000A9648 7C 08 02 A6 */ mflr r0 +/* 800AC6EC 000A964C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AC6F0 000A9650 3C A0 80 3E */ lis r5, lbl_803DCF0C@ha +/* 800AC6F4 000A9654 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AC6F8 000A9658 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AC6FC 000A965C 28 04 00 00 */ cmplwi r4, 0 +/* 800AC700 000A9660 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AC704 000A9664 7C 7F 1B 78 */ mr r31, r3 +/* 800AC708 000A9668 38 65 CF 0C */ addi r3, r5, lbl_803DCF0C@l +/* 800AC70C 000A966C 90 1F 00 00 */ stw r0, 0(r31) +/* 800AC710 000A9670 38 00 00 00 */ li r0, 0 +/* 800AC714 000A9674 90 7F 00 00 */ stw r3, 0(r31) +/* 800AC718 000A9678 90 1F 00 04 */ stw r0, 4(r31) +/* 800AC71C 000A967C 41 82 00 1C */ beq lbl_800AC738 +/* 800AC720 000A9680 7C 83 23 78 */ mr r3, r4 +/* 800AC724 000A9684 7F E4 FB 78 */ mr r4, r31 +/* 800AC728 000A9688 81 83 00 00 */ lwz r12, 0(r3) +/* 800AC72C 000A968C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AC730 000A9690 7D 89 03 A6 */ mtctr r12 +/* 800AC734 000A9694 4E 80 04 21 */ bctrl +lbl_800AC738: +/* 800AC738 000A9698 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AC73C 000A969C 7F E3 FB 78 */ mr r3, r31 +/* 800AC740 000A96A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AC744 000A96A4 7C 08 03 A6 */ mtlr r0 +/* 800AC748 000A96A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AC74C 000A96AC 4E 80 00 20 */ blr + +.global "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" +"__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity": +/* 800AC750 000A96B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AC754 000A96B4 7C 08 02 A6 */ mflr r0 +/* 800AC758 000A96B8 3C A0 80 3E */ lis r5, lbl_803DCF0C@ha +/* 800AC75C 000A96BC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AC760 000A96C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AC764 000A96C4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AC768 000A96C8 38 A5 CF 0C */ addi r5, r5, lbl_803DCF0C@l +/* 800AC76C 000A96CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AC770 000A96D0 7C 7F 1B 78 */ mr r31, r3 +/* 800AC774 000A96D4 90 03 00 00 */ stw r0, 0(r3) +/* 800AC778 000A96D8 7C 83 23 78 */ mr r3, r4 +/* 800AC77C 000A96DC 38 00 00 00 */ li r0, 0 +/* 800AC780 000A96E0 7F E4 FB 78 */ mr r4, r31 +/* 800AC784 000A96E4 90 BF 00 00 */ stw r5, 0(r31) +/* 800AC788 000A96E8 90 1F 00 04 */ stw r0, 4(r31) +/* 800AC78C 000A96EC 81 83 00 00 */ lwz r12, 0(r3) +/* 800AC790 000A96F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AC794 000A96F4 7D 89 03 A6 */ mtctr r12 +/* 800AC798 000A96F8 4E 80 04 21 */ bctrl +/* 800AC79C 000A96FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AC7A0 000A9700 7F E3 FB 78 */ mr r3, r31 +/* 800AC7A4 000A9704 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AC7A8 000A9708 7C 08 03 A6 */ mtlr r0 +/* 800AC7AC 000A970C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AC7B0 000A9710 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR7CWeapon" +"Visit__16TCastToPtr<3CAi>FR7CWeapon": +/* 800AC7B4 000A9714 38 00 00 00 */ li r0, 0 +/* 800AC7B8 000A9718 90 03 00 04 */ stw r0, 4(r3) +/* 800AC7BC 000A971C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR17CWallCrawlerSwarm" +"Visit__16TCastToPtr<3CAi>FR17CWallCrawlerSwarm": +/* 800AC7C0 000A9720 38 00 00 00 */ li r0, 0 +/* 800AC7C4 000A9724 90 03 00 04 */ stw r0, 4(r3) +/* 800AC7C8 000A9728 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR20CScriptSpindleCamera" +"Visit__16TCastToPtr<3CAi>FR20CScriptSpindleCamera": +/* 800AC7CC 000A972C 38 00 00 00 */ li r0, 0 +/* 800AC7D0 000A9730 90 03 00 04 */ stw r0, 4(r3) +/* 800AC7D4 000A9734 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR15CSnakeWeedSwarm" +"Visit__16TCastToPtr<3CAi>FR15CSnakeWeedSwarm": +/* 800AC7D8 000A9738 38 00 00 00 */ li r0, 0 +/* 800AC7DC 000A973C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC7E0 000A9740 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR15CScriptWaypoint" +"Visit__16TCastToPtr<3CAi>FR15CScriptWaypoint": +/* 800AC7E4 000A9744 38 00 00 00 */ li r0, 0 +/* 800AC7E8 000A9748 90 03 00 04 */ stw r0, 4(r3) +/* 800AC7EC 000A974C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR12CScriptWater" +"Visit__16TCastToPtr<3CAi>FR12CScriptWater": +/* 800AC7F0 000A9750 38 00 00 00 */ li r0, 0 +/* 800AC7F4 000A9754 90 03 00 04 */ stw r0, 4(r3) +/* 800AC7F8 000A9758 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR17CScriptVisorFlare" +"Visit__16TCastToPtr<3CAi>FR17CScriptVisorFlare": +/* 800AC7FC 000A975C 38 00 00 00 */ li r0, 0 +/* 800AC800 000A9760 90 03 00 04 */ stw r0, 4(r3) +/* 800AC804 000A9764 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR14CScriptTrigger" +"Visit__16TCastToPtr<3CAi>FR14CScriptTrigger": +/* 800AC808 000A9768 38 00 00 00 */ li r0, 0 +/* 800AC80C 000A976C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC810 000A9770 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR12CScriptTimer" +"Visit__16TCastToPtr<3CAi>FR12CScriptTimer": +/* 800AC814 000A9774 38 00 00 00 */ li r0, 0 +/* 800AC818 000A9778 90 03 00 04 */ stw r0, 4(r3) +/* 800AC81C 000A977C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR10CTeamAiMgr" +"Visit__16TCastToPtr<3CAi>FR10CTeamAiMgr": +/* 800AC820 000A9780 38 00 00 00 */ li r0, 0 +/* 800AC824 000A9784 90 03 00 04 */ stw r0, 4(r3) +/* 800AC828 000A9788 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR21CScriptTargetingPoint" +"Visit__16TCastToPtr<3CAi>FR21CScriptTargetingPoint": +/* 800AC82C 000A978C 38 00 00 00 */ li r0, 0 +/* 800AC830 000A9790 90 03 00 04 */ stw r0, 4(r3) +/* 800AC834 000A9794 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR25CScriptSpiderBallWaypoint" +"Visit__16TCastToPtr<3CAi>FR25CScriptSpiderBallWaypoint": +/* 800AC838 000A9798 38 00 00 00 */ li r0, 0 +/* 800AC83C 000A979C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC840 000A97A0 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR34CScriptSpiderBallAttractionSurface" +"Visit__16TCastToPtr<3CAi>FR34CScriptSpiderBallAttractionSurface": +/* 800AC844 000A97A4 38 00 00 00 */ li r0, 0 +/* 800AC848 000A97A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC84C 000A97AC 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR22CScriptSpecialFunction" +"Visit__16TCastToPtr<3CAi>FR22CScriptSpecialFunction": +/* 800AC850 000A97B0 38 00 00 00 */ li r0, 0 +/* 800AC854 000A97B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC858 000A97B8 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR17CScriptSpawnPoint" +"Visit__16TCastToPtr<3CAi>FR17CScriptSpawnPoint": +/* 800AC85C 000A97BC 38 00 00 00 */ li r0, 0 +/* 800AC860 000A97C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC864 000A97C4 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR12CScriptSound" +"Visit__16TCastToPtr<3CAi>FR12CScriptSound": +/* 800AC868 000A97C8 38 00 00 00 */ li r0, 0 +/* 800AC86C 000A97CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC870 000A97D0 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR20CScriptRoomAcoustics" +"Visit__16TCastToPtr<3CAi>FR20CScriptRoomAcoustics": +/* 800AC874 000A97D4 38 00 00 00 */ li r0, 0 +/* 800AC878 000A97D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC87C 000A97DC 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR22CScriptPointOfinterest" +"Visit__16TCastToPtr<3CAi>FR22CScriptPointOfinterest": +/* 800AC880 000A97E0 38 00 00 00 */ li r0, 0 +/* 800AC884 000A97E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC888 000A97E8 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR17CScriptPlayerHint" +"Visit__16TCastToPtr<3CAi>FR17CScriptPlayerHint": +/* 800AC88C 000A97EC 38 00 00 00 */ li r0, 0 +/* 800AC890 000A97F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC894 000A97F4 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR15CScriptPlatform" +"Visit__16TCastToPtr<3CAi>FR15CScriptPlatform": +/* 800AC898 000A97F8 38 00 00 00 */ li r0, 0 +/* 800AC89C 000A97FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC8A0 000A9800 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR13CScriptPickup" +"Visit__16TCastToPtr<3CAi>FR13CScriptPickup": +/* 800AC8A4 000A9804 38 00 00 00 */ li r0, 0 +/* 800AC8A8 000A9808 90 03 00 04 */ stw r0, 4(r3) +/* 800AC8AC 000A980C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR15CScriptMazeNode" +"Visit__16TCastToPtr<3CAi>FR15CScriptMazeNode": +/* 800AC8B0 000A9810 38 00 00 00 */ li r0, 0 +/* 800AC8B4 000A9814 90 03 00 04 */ stw r0, 4(r3) +/* 800AC8B8 000A9818 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR16CScriptGunTurret" +"Visit__16TCastToPtr<3CAi>FR16CScriptGunTurret": +/* 800AC8BC 000A981C 38 00 00 00 */ li r0, 0 +/* 800AC8C0 000A9820 90 03 00 04 */ stw r0, 4(r3) +/* 800AC8C4 000A9824 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR19CScriptGrapplePoint" +"Visit__16TCastToPtr<3CAi>FR19CScriptGrapplePoint": +/* 800AC8C8 000A9828 38 00 00 00 */ li r0, 0 +/* 800AC8CC 000A982C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC8D0 000A9830 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR13CScriptEffect" +"Visit__16TCastToPtr<3CAi>FR13CScriptEffect": +/* 800AC8D4 000A9834 38 00 00 00 */ li r0, 0 +/* 800AC8D8 000A9838 90 03 00 04 */ stw r0, 4(r3) +/* 800AC8DC 000A983C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR11CScriptDoor" +"Visit__16TCastToPtr<3CAi>FR11CScriptDoor": +/* 800AC8E0 000A9840 38 00 00 00 */ li r0, 0 +/* 800AC8E4 000A9844 90 03 00 04 */ stw r0, 4(r3) +/* 800AC8E8 000A9848 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR11CScriptDock" +"Visit__16TCastToPtr<3CAi>FR11CScriptDock": +/* 800AC8EC 000A984C 38 00 00 00 */ li r0, 0 +/* 800AC8F0 000A9850 90 03 00 04 */ stw r0, 4(r3) +/* 800AC8F4 000A9854 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR18CScriptDistanceFog" +"Visit__16TCastToPtr<3CAi>FR18CScriptDistanceFog": +/* 800AC8F8 000A9858 38 00 00 00 */ li r0, 0 +/* 800AC8FC 000A985C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC900 000A9860 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR26CScriptDebugCameraWaypoint" +"Visit__16TCastToPtr<3CAi>FR26CScriptDebugCameraWaypoint": +/* 800AC904 000A9864 38 00 00 00 */ li r0, 0 +/* 800AC908 000A9868 90 03 00 04 */ stw r0, 4(r3) +/* 800AC90C 000A986C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR17CScriptCoverPoint" +"Visit__16TCastToPtr<3CAi>FR17CScriptCoverPoint": +/* 800AC910 000A9870 38 00 00 00 */ li r0, 0 +/* 800AC914 000A9874 90 03 00 04 */ stw r0, 4(r3) +/* 800AC918 000A9878 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR21CScriptCameraWaypoint" +"Visit__16TCastToPtr<3CAi>FR21CScriptCameraWaypoint": +/* 800AC91C 000A987C 38 00 00 00 */ li r0, 0 +/* 800AC920 000A9880 90 03 00 04 */ stw r0, 4(r3) +/* 800AC924 000A9884 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR24CScriptCameraPitchVolume" +"Visit__16TCastToPtr<3CAi>FR24CScriptCameraPitchVolume": +/* 800AC928 000A9888 38 00 00 00 */ li r0, 0 +/* 800AC92C 000A988C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC930 000A9890 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR17CScriptCameraHint" +"Visit__16TCastToPtr<3CAi>FR17CScriptCameraHint": +/* 800AC934 000A9894 38 00 00 00 */ li r0, 0 +/* 800AC938 000A9898 90 03 00 04 */ stw r0, 4(r3) +/* 800AC93C 000A989C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR18CScriptAiJumpPoint" +"Visit__16TCastToPtr<3CAi>FR18CScriptAiJumpPoint": +/* 800AC940 000A98A0 38 00 00 00 */ li r0, 0 +/* 800AC944 000A98A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC948 000A98A8 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR20CScriptActorKeyframe" +"Visit__16TCastToPtr<3CAi>FR20CScriptActorKeyframe": +/* 800AC94C 000A98AC 38 00 00 00 */ li r0, 0 +/* 800AC950 000A98B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC954 000A98B4 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR12CScriptActor" +"Visit__16TCastToPtr<3CAi>FR12CScriptActor": +/* 800AC958 000A98B8 38 00 00 00 */ li r0, 0 +/* 800AC95C 000A98BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AC960 000A98C0 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR9CRepulsor" +"Visit__16TCastToPtr<3CAi>FR9CRepulsor": +/* 800AC964 000A98C4 38 00 00 00 */ li r0, 0 +/* 800AC968 000A98C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AC96C 000A98CC 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR7CPlayer" +"Visit__16TCastToPtr<3CAi>FR7CPlayer": +/* 800AC970 000A98D0 38 00 00 00 */ li r0, 0 +/* 800AC974 000A98D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC978 000A98D8 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR13CPhysicsActor" +"Visit__16TCastToPtr<3CAi>FR13CPhysicsActor": +/* 800AC97C 000A98DC 38 00 00 00 */ li r0, 0 +/* 800AC980 000A98E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AC984 000A98E4 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR3CAi" +"Visit__16TCastToPtr<3CAi>FR3CAi": +/* 800AC988 000A98E8 90 83 00 04 */ stw r4, 4(r3) +/* 800AC98C 000A98EC 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR11CPathCamera" +"Visit__16TCastToPtr<3CAi>FR11CPathCamera": +/* 800AC990 000A98F0 38 00 00 00 */ li r0, 0 +/* 800AC994 000A98F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AC998 000A98F8 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR18CMetroidPrimeRelay" +"Visit__16TCastToPtr<3CAi>FR18CMetroidPrimeRelay": +/* 800AC99C 000A98FC 38 00 00 00 */ li r0, 0 +/* 800AC9A0 000A9900 90 03 00 04 */ stw r0, 4(r3) +/* 800AC9A4 000A9904 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR19CHUDBillboardEffect" +"Visit__16TCastToPtr<3CAi>FR19CHUDBillboardEffect": +/* 800AC9A8 000A9908 38 00 00 00 */ li r0, 0 +/* 800AC9AC 000A990C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC9B0 000A9910 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR15CGameProjectile" +"Visit__16TCastToPtr<3CAi>FR15CGameProjectile": +/* 800AC9B4 000A9914 38 00 00 00 */ li r0, 0 +/* 800AC9B8 000A9918 90 03 00 04 */ stw r0, 4(r3) +/* 800AC9BC 000A991C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR10CGameLight" +"Visit__16TCastToPtr<3CAi>FR10CGameLight": +/* 800AC9C0 000A9920 38 00 00 00 */ li r0, 0 +/* 800AC9C4 000A9924 90 03 00 04 */ stw r0, 4(r3) +/* 800AC9C8 000A9928 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR11CGameCamera" +"Visit__16TCastToPtr<3CAi>FR11CGameCamera": +/* 800AC9CC 000A992C 38 00 00 00 */ li r0, 0 +/* 800AC9D0 000A9930 90 03 00 04 */ stw r0, 4(r3) +/* 800AC9D4 000A9934 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR10CFishCloud" +"Visit__16TCastToPtr<3CAi>FR10CFishCloud": +/* 800AC9D8 000A9938 38 00 00 00 */ li r0, 0 +/* 800AC9DC 000A993C 90 03 00 04 */ stw r0, 4(r3) +/* 800AC9E0 000A9940 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR18CFirstPersonCamera" +"Visit__16TCastToPtr<3CAi>FR18CFirstPersonCamera": +/* 800AC9E4 000A9944 38 00 00 00 */ li r0, 0 +/* 800AC9E8 000A9948 90 03 00 04 */ stw r0, 4(r3) +/* 800AC9EC 000A994C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR10CExplosion" +"Visit__16TCastToPtr<3CAi>FR10CExplosion": +/* 800AC9F0 000A9950 38 00 00 00 */ li r0, 0 +/* 800AC9F4 000A9954 90 03 00 04 */ stw r0, 4(r3) +/* 800AC9F8 000A9958 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR7CEntity" +"Visit__16TCastToPtr<3CAi>FR7CEntity": +/* 800AC9FC 000A995C 38 00 00 00 */ li r0, 0 +/* 800ACA00 000A9960 90 03 00 04 */ stw r0, 4(r3) +/* 800ACA04 000A9964 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR17CEnergyProjectile" +"Visit__16TCastToPtr<3CAi>FR17CEnergyProjectile": +/* 800ACA08 000A9968 38 00 00 00 */ li r0, 0 +/* 800ACA0C 000A996C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACA10 000A9970 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR16CDestroyableRock" +"Visit__16TCastToPtr<3CAi>FR16CDestroyableRock": +/* 800ACA14 000A9974 38 00 00 00 */ li r0, 0 +/* 800ACA18 000A9978 90 03 00 04 */ stw r0, 4(r3) +/* 800ACA1C 000A997C 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR15CCollisionActor" +"Visit__16TCastToPtr<3CAi>FR15CCollisionActor": +/* 800ACA20 000A9980 38 00 00 00 */ li r0, 0 +/* 800ACA24 000A9984 90 03 00 04 */ stw r0, 4(r3) +/* 800ACA28 000A9988 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR16CCinematicCamera" +"Visit__16TCastToPtr<3CAi>FR16CCinematicCamera": +/* 800ACA2C 000A998C 38 00 00 00 */ li r0, 0 +/* 800ACA30 000A9990 90 03 00 04 */ stw r0, 4(r3) +/* 800ACA34 000A9994 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR5CBomb" +"Visit__16TCastToPtr<3CAi>FR5CBomb": +/* 800ACA38 000A9998 38 00 00 00 */ li r0, 0 +/* 800ACA3C 000A999C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACA40 000A99A0 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR11CBallCamera" +"Visit__16TCastToPtr<3CAi>FR11CBallCamera": +/* 800ACA44 000A99A4 38 00 00 00 */ li r0, 0 +/* 800ACA48 000A99A8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACA4C 000A99AC 4E 80 00 20 */ blr + +.global "Visit__16TCastToPtr<3CAi>FR6CActor" +"Visit__16TCastToPtr<3CAi>FR6CActor": +/* 800ACA50 000A99B0 38 00 00 00 */ li r0, 0 +/* 800ACA54 000A99B4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACA58 000A99B8 4E 80 00 20 */ blr + +.global "__ct__16TCastToPtr<3CAi>FP7CEntity" +"__ct__16TCastToPtr<3CAi>FP7CEntity": +/* 800ACA5C 000A99BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ACA60 000A99C0 7C 08 02 A6 */ mflr r0 +/* 800ACA64 000A99C4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800ACA68 000A99C8 3C A0 80 3E */ lis r5, lbl_803DCE20@ha +/* 800ACA6C 000A99CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ACA70 000A99D0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800ACA74 000A99D4 28 04 00 00 */ cmplwi r4, 0 +/* 800ACA78 000A99D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ACA7C 000A99DC 7C 7F 1B 78 */ mr r31, r3 +/* 800ACA80 000A99E0 38 65 CE 20 */ addi r3, r5, lbl_803DCE20@l +/* 800ACA84 000A99E4 90 1F 00 00 */ stw r0, 0(r31) +/* 800ACA88 000A99E8 38 00 00 00 */ li r0, 0 +/* 800ACA8C 000A99EC 90 7F 00 00 */ stw r3, 0(r31) +/* 800ACA90 000A99F0 90 1F 00 04 */ stw r0, 4(r31) +/* 800ACA94 000A99F4 41 82 00 1C */ beq lbl_800ACAB0 +/* 800ACA98 000A99F8 7C 83 23 78 */ mr r3, r4 +/* 800ACA9C 000A99FC 7F E4 FB 78 */ mr r4, r31 +/* 800ACAA0 000A9A00 81 83 00 00 */ lwz r12, 0(r3) +/* 800ACAA4 000A9A04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ACAA8 000A9A08 7D 89 03 A6 */ mtctr r12 +/* 800ACAAC 000A9A0C 4E 80 04 21 */ bctrl +lbl_800ACAB0: +/* 800ACAB0 000A9A10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ACAB4 000A9A14 7F E3 FB 78 */ mr r3, r31 +/* 800ACAB8 000A9A18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ACABC 000A9A1C 7C 08 03 A6 */ mtlr r0 +/* 800ACAC0 000A9A20 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ACAC4 000A9A24 4E 80 00 20 */ blr + +.global "__ct__16TCastToPtr<10CPatterned>FR7CEntity" +"__ct__16TCastToPtr<10CPatterned>FR7CEntity": +/* 800ACAC8 000A9A28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ACACC 000A9A2C 7C 08 02 A6 */ mflr r0 +/* 800ACAD0 000A9A30 3C A0 80 3E */ lis r5, lbl_803DCE20@ha +/* 800ACAD4 000A9A34 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800ACAD8 000A9A38 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ACADC 000A9A3C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800ACAE0 000A9A40 38 A5 CE 20 */ addi r5, r5, lbl_803DCE20@l +/* 800ACAE4 000A9A44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ACAE8 000A9A48 7C 7F 1B 78 */ mr r31, r3 +/* 800ACAEC 000A9A4C 90 03 00 00 */ stw r0, 0(r3) +/* 800ACAF0 000A9A50 7C 83 23 78 */ mr r3, r4 +/* 800ACAF4 000A9A54 38 00 00 00 */ li r0, 0 +/* 800ACAF8 000A9A58 7F E4 FB 78 */ mr r4, r31 +/* 800ACAFC 000A9A5C 90 BF 00 00 */ stw r5, 0(r31) +/* 800ACB00 000A9A60 90 1F 00 04 */ stw r0, 4(r31) +/* 800ACB04 000A9A64 81 83 00 00 */ lwz r12, 0(r3) +/* 800ACB08 000A9A68 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ACB0C 000A9A6C 7D 89 03 A6 */ mtctr r12 +/* 800ACB10 000A9A70 4E 80 04 21 */ bctrl +/* 800ACB14 000A9A74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ACB18 000A9A78 7F E3 FB 78 */ mr r3, r31 +/* 800ACB1C 000A9A7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ACB20 000A9A80 7C 08 03 A6 */ mtlr r0 +/* 800ACB24 000A9A84 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ACB28 000A9A88 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR7CWeapon" +"Visit__25TCastToPtr<11CPathCamera>FR7CWeapon": +/* 800ACB2C 000A9A8C 38 00 00 00 */ li r0, 0 +/* 800ACB30 000A9A90 90 03 00 04 */ stw r0, 4(r3) +/* 800ACB34 000A9A94 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR17CWallCrawlerSwarm" +"Visit__25TCastToPtr<11CPathCamera>FR17CWallCrawlerSwarm": +/* 800ACB38 000A9A98 38 00 00 00 */ li r0, 0 +/* 800ACB3C 000A9A9C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACB40 000A9AA0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR20CScriptSpindleCamera" +"Visit__25TCastToPtr<11CPathCamera>FR20CScriptSpindleCamera": +/* 800ACB44 000A9AA4 38 00 00 00 */ li r0, 0 +/* 800ACB48 000A9AA8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACB4C 000A9AAC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR15CSnakeWeedSwarm" +"Visit__25TCastToPtr<11CPathCamera>FR15CSnakeWeedSwarm": +/* 800ACB50 000A9AB0 38 00 00 00 */ li r0, 0 +/* 800ACB54 000A9AB4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACB58 000A9AB8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR15CScriptWaypoint" +"Visit__25TCastToPtr<11CPathCamera>FR15CScriptWaypoint": +/* 800ACB5C 000A9ABC 38 00 00 00 */ li r0, 0 +/* 800ACB60 000A9AC0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACB64 000A9AC4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR12CScriptWater" +"Visit__25TCastToPtr<11CPathCamera>FR12CScriptWater": +/* 800ACB68 000A9AC8 38 00 00 00 */ li r0, 0 +/* 800ACB6C 000A9ACC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACB70 000A9AD0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptVisorFlare" +"Visit__25TCastToPtr<11CPathCamera>FR17CScriptVisorFlare": +/* 800ACB74 000A9AD4 38 00 00 00 */ li r0, 0 +/* 800ACB78 000A9AD8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACB7C 000A9ADC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR14CScriptTrigger" +"Visit__25TCastToPtr<11CPathCamera>FR14CScriptTrigger": +/* 800ACB80 000A9AE0 38 00 00 00 */ li r0, 0 +/* 800ACB84 000A9AE4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACB88 000A9AE8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR12CScriptTimer" +"Visit__25TCastToPtr<11CPathCamera>FR12CScriptTimer": +/* 800ACB8C 000A9AEC 38 00 00 00 */ li r0, 0 +/* 800ACB90 000A9AF0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACB94 000A9AF4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR10CTeamAiMgr" +"Visit__25TCastToPtr<11CPathCamera>FR10CTeamAiMgr": +/* 800ACB98 000A9AF8 38 00 00 00 */ li r0, 0 +/* 800ACB9C 000A9AFC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACBA0 000A9B00 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR21CScriptTargetingPoint" +"Visit__25TCastToPtr<11CPathCamera>FR21CScriptTargetingPoint": +/* 800ACBA4 000A9B04 38 00 00 00 */ li r0, 0 +/* 800ACBA8 000A9B08 90 03 00 04 */ stw r0, 4(r3) +/* 800ACBAC 000A9B0C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR25CScriptSpiderBallWaypoint" +"Visit__25TCastToPtr<11CPathCamera>FR25CScriptSpiderBallWaypoint": +/* 800ACBB0 000A9B10 38 00 00 00 */ li r0, 0 +/* 800ACBB4 000A9B14 90 03 00 04 */ stw r0, 4(r3) +/* 800ACBB8 000A9B18 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR34CScriptSpiderBallAttractionSurface" +"Visit__25TCastToPtr<11CPathCamera>FR34CScriptSpiderBallAttractionSurface": +/* 800ACBBC 000A9B1C 38 00 00 00 */ li r0, 0 +/* 800ACBC0 000A9B20 90 03 00 04 */ stw r0, 4(r3) +/* 800ACBC4 000A9B24 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR22CScriptSpecialFunction" +"Visit__25TCastToPtr<11CPathCamera>FR22CScriptSpecialFunction": +/* 800ACBC8 000A9B28 38 00 00 00 */ li r0, 0 +/* 800ACBCC 000A9B2C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACBD0 000A9B30 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptSpawnPoint" +"Visit__25TCastToPtr<11CPathCamera>FR17CScriptSpawnPoint": +/* 800ACBD4 000A9B34 38 00 00 00 */ li r0, 0 +/* 800ACBD8 000A9B38 90 03 00 04 */ stw r0, 4(r3) +/* 800ACBDC 000A9B3C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR12CScriptSound" +"Visit__25TCastToPtr<11CPathCamera>FR12CScriptSound": +/* 800ACBE0 000A9B40 38 00 00 00 */ li r0, 0 +/* 800ACBE4 000A9B44 90 03 00 04 */ stw r0, 4(r3) +/* 800ACBE8 000A9B48 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR20CScriptRoomAcoustics" +"Visit__25TCastToPtr<11CPathCamera>FR20CScriptRoomAcoustics": +/* 800ACBEC 000A9B4C 38 00 00 00 */ li r0, 0 +/* 800ACBF0 000A9B50 90 03 00 04 */ stw r0, 4(r3) +/* 800ACBF4 000A9B54 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR22CScriptPointOfinterest" +"Visit__25TCastToPtr<11CPathCamera>FR22CScriptPointOfinterest": +/* 800ACBF8 000A9B58 38 00 00 00 */ li r0, 0 +/* 800ACBFC 000A9B5C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC00 000A9B60 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptPlayerHint" +"Visit__25TCastToPtr<11CPathCamera>FR17CScriptPlayerHint": +/* 800ACC04 000A9B64 38 00 00 00 */ li r0, 0 +/* 800ACC08 000A9B68 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC0C 000A9B6C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR15CScriptPlatform" +"Visit__25TCastToPtr<11CPathCamera>FR15CScriptPlatform": +/* 800ACC10 000A9B70 38 00 00 00 */ li r0, 0 +/* 800ACC14 000A9B74 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC18 000A9B78 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR13CScriptPickup" +"Visit__25TCastToPtr<11CPathCamera>FR13CScriptPickup": +/* 800ACC1C 000A9B7C 38 00 00 00 */ li r0, 0 +/* 800ACC20 000A9B80 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC24 000A9B84 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR15CScriptMazeNode" +"Visit__25TCastToPtr<11CPathCamera>FR15CScriptMazeNode": +/* 800ACC28 000A9B88 38 00 00 00 */ li r0, 0 +/* 800ACC2C 000A9B8C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC30 000A9B90 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR16CScriptGunTurret" +"Visit__25TCastToPtr<11CPathCamera>FR16CScriptGunTurret": +/* 800ACC34 000A9B94 38 00 00 00 */ li r0, 0 +/* 800ACC38 000A9B98 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC3C 000A9B9C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR19CScriptGrapplePoint" +"Visit__25TCastToPtr<11CPathCamera>FR19CScriptGrapplePoint": +/* 800ACC40 000A9BA0 38 00 00 00 */ li r0, 0 +/* 800ACC44 000A9BA4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC48 000A9BA8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR13CScriptEffect" +"Visit__25TCastToPtr<11CPathCamera>FR13CScriptEffect": +/* 800ACC4C 000A9BAC 38 00 00 00 */ li r0, 0 +/* 800ACC50 000A9BB0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC54 000A9BB4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR11CScriptDoor" +"Visit__25TCastToPtr<11CPathCamera>FR11CScriptDoor": +/* 800ACC58 000A9BB8 38 00 00 00 */ li r0, 0 +/* 800ACC5C 000A9BBC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC60 000A9BC0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR11CScriptDock" +"Visit__25TCastToPtr<11CPathCamera>FR11CScriptDock": +/* 800ACC64 000A9BC4 38 00 00 00 */ li r0, 0 +/* 800ACC68 000A9BC8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC6C 000A9BCC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR18CScriptDistanceFog" +"Visit__25TCastToPtr<11CPathCamera>FR18CScriptDistanceFog": +/* 800ACC70 000A9BD0 38 00 00 00 */ li r0, 0 +/* 800ACC74 000A9BD4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC78 000A9BD8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR26CScriptDebugCameraWaypoint" +"Visit__25TCastToPtr<11CPathCamera>FR26CScriptDebugCameraWaypoint": +/* 800ACC7C 000A9BDC 38 00 00 00 */ li r0, 0 +/* 800ACC80 000A9BE0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC84 000A9BE4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptCoverPoint" +"Visit__25TCastToPtr<11CPathCamera>FR17CScriptCoverPoint": +/* 800ACC88 000A9BE8 38 00 00 00 */ li r0, 0 +/* 800ACC8C 000A9BEC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC90 000A9BF0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR21CScriptCameraWaypoint" +"Visit__25TCastToPtr<11CPathCamera>FR21CScriptCameraWaypoint": +/* 800ACC94 000A9BF4 38 00 00 00 */ li r0, 0 +/* 800ACC98 000A9BF8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACC9C 000A9BFC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR24CScriptCameraPitchVolume" +"Visit__25TCastToPtr<11CPathCamera>FR24CScriptCameraPitchVolume": +/* 800ACCA0 000A9C00 38 00 00 00 */ li r0, 0 +/* 800ACCA4 000A9C04 90 03 00 04 */ stw r0, 4(r3) +/* 800ACCA8 000A9C08 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptCameraHint" +"Visit__25TCastToPtr<11CPathCamera>FR17CScriptCameraHint": +/* 800ACCAC 000A9C0C 38 00 00 00 */ li r0, 0 +/* 800ACCB0 000A9C10 90 03 00 04 */ stw r0, 4(r3) +/* 800ACCB4 000A9C14 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR18CScriptAiJumpPoint" +"Visit__25TCastToPtr<11CPathCamera>FR18CScriptAiJumpPoint": +/* 800ACCB8 000A9C18 38 00 00 00 */ li r0, 0 +/* 800ACCBC 000A9C1C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACCC0 000A9C20 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR20CScriptActorKeyframe" +"Visit__25TCastToPtr<11CPathCamera>FR20CScriptActorKeyframe": +/* 800ACCC4 000A9C24 38 00 00 00 */ li r0, 0 +/* 800ACCC8 000A9C28 90 03 00 04 */ stw r0, 4(r3) +/* 800ACCCC 000A9C2C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR12CScriptActor" +"Visit__25TCastToPtr<11CPathCamera>FR12CScriptActor": +/* 800ACCD0 000A9C30 38 00 00 00 */ li r0, 0 +/* 800ACCD4 000A9C34 90 03 00 04 */ stw r0, 4(r3) +/* 800ACCD8 000A9C38 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR9CRepulsor" +"Visit__25TCastToPtr<11CPathCamera>FR9CRepulsor": +/* 800ACCDC 000A9C3C 38 00 00 00 */ li r0, 0 +/* 800ACCE0 000A9C40 90 03 00 04 */ stw r0, 4(r3) +/* 800ACCE4 000A9C44 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR7CPlayer" +"Visit__25TCastToPtr<11CPathCamera>FR7CPlayer": +/* 800ACCE8 000A9C48 38 00 00 00 */ li r0, 0 +/* 800ACCEC 000A9C4C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACCF0 000A9C50 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR13CPhysicsActor" +"Visit__25TCastToPtr<11CPathCamera>FR13CPhysicsActor": +/* 800ACCF4 000A9C54 38 00 00 00 */ li r0, 0 +/* 800ACCF8 000A9C58 90 03 00 04 */ stw r0, 4(r3) +/* 800ACCFC 000A9C5C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR3CAi" +"Visit__25TCastToPtr<11CPathCamera>FR3CAi": +/* 800ACD00 000A9C60 38 00 00 00 */ li r0, 0 +/* 800ACD04 000A9C64 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD08 000A9C68 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR11CPathCamera" +"Visit__25TCastToPtr<11CPathCamera>FR11CPathCamera": +/* 800ACD0C 000A9C6C 90 83 00 04 */ stw r4, 4(r3) +/* 800ACD10 000A9C70 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR18CMetroidPrimeRelay" +"Visit__25TCastToPtr<11CPathCamera>FR18CMetroidPrimeRelay": +/* 800ACD14 000A9C74 38 00 00 00 */ li r0, 0 +/* 800ACD18 000A9C78 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD1C 000A9C7C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR19CHUDBillboardEffect" +"Visit__25TCastToPtr<11CPathCamera>FR19CHUDBillboardEffect": +/* 800ACD20 000A9C80 38 00 00 00 */ li r0, 0 +/* 800ACD24 000A9C84 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD28 000A9C88 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR15CGameProjectile" +"Visit__25TCastToPtr<11CPathCamera>FR15CGameProjectile": +/* 800ACD2C 000A9C8C 38 00 00 00 */ li r0, 0 +/* 800ACD30 000A9C90 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD34 000A9C94 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR10CGameLight" +"Visit__25TCastToPtr<11CPathCamera>FR10CGameLight": +/* 800ACD38 000A9C98 38 00 00 00 */ li r0, 0 +/* 800ACD3C 000A9C9C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD40 000A9CA0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR11CGameCamera" +"Visit__25TCastToPtr<11CPathCamera>FR11CGameCamera": +/* 800ACD44 000A9CA4 38 00 00 00 */ li r0, 0 +/* 800ACD48 000A9CA8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD4C 000A9CAC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR10CFishCloud" +"Visit__25TCastToPtr<11CPathCamera>FR10CFishCloud": +/* 800ACD50 000A9CB0 38 00 00 00 */ li r0, 0 +/* 800ACD54 000A9CB4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD58 000A9CB8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR18CFirstPersonCamera" +"Visit__25TCastToPtr<11CPathCamera>FR18CFirstPersonCamera": +/* 800ACD5C 000A9CBC 38 00 00 00 */ li r0, 0 +/* 800ACD60 000A9CC0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD64 000A9CC4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR10CExplosion" +"Visit__25TCastToPtr<11CPathCamera>FR10CExplosion": +/* 800ACD68 000A9CC8 38 00 00 00 */ li r0, 0 +/* 800ACD6C 000A9CCC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD70 000A9CD0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR7CEntity" +"Visit__25TCastToPtr<11CPathCamera>FR7CEntity": +/* 800ACD74 000A9CD4 38 00 00 00 */ li r0, 0 +/* 800ACD78 000A9CD8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD7C 000A9CDC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR17CEnergyProjectile" +"Visit__25TCastToPtr<11CPathCamera>FR17CEnergyProjectile": +/* 800ACD80 000A9CE0 38 00 00 00 */ li r0, 0 +/* 800ACD84 000A9CE4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD88 000A9CE8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR16CDestroyableRock" +"Visit__25TCastToPtr<11CPathCamera>FR16CDestroyableRock": +/* 800ACD8C 000A9CEC 38 00 00 00 */ li r0, 0 +/* 800ACD90 000A9CF0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACD94 000A9CF4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR15CCollisionActor" +"Visit__25TCastToPtr<11CPathCamera>FR15CCollisionActor": +/* 800ACD98 000A9CF8 38 00 00 00 */ li r0, 0 +/* 800ACD9C 000A9CFC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACDA0 000A9D00 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR16CCinematicCamera" +"Visit__25TCastToPtr<11CPathCamera>FR16CCinematicCamera": +/* 800ACDA4 000A9D04 38 00 00 00 */ li r0, 0 +/* 800ACDA8 000A9D08 90 03 00 04 */ stw r0, 4(r3) +/* 800ACDAC 000A9D0C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR5CBomb" +"Visit__25TCastToPtr<11CPathCamera>FR5CBomb": +/* 800ACDB0 000A9D10 38 00 00 00 */ li r0, 0 +/* 800ACDB4 000A9D14 90 03 00 04 */ stw r0, 4(r3) +/* 800ACDB8 000A9D18 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR11CBallCamera" +"Visit__25TCastToPtr<11CPathCamera>FR11CBallCamera": +/* 800ACDBC 000A9D1C 38 00 00 00 */ li r0, 0 +/* 800ACDC0 000A9D20 90 03 00 04 */ stw r0, 4(r3) +/* 800ACDC4 000A9D24 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CPathCamera>FR6CActor" +"Visit__25TCastToPtr<11CPathCamera>FR6CActor": +/* 800ACDC8 000A9D28 38 00 00 00 */ li r0, 0 +/* 800ACDCC 000A9D2C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACDD0 000A9D30 4E 80 00 20 */ blr + +.global "__ct__25TCastToPtr<11CPathCamera>FP7CEntity" +"__ct__25TCastToPtr<11CPathCamera>FP7CEntity": +/* 800ACDD4 000A9D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ACDD8 000A9D38 7C 08 02 A6 */ mflr r0 +/* 800ACDDC 000A9D3C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800ACDE0 000A9D40 3C A0 80 3E */ lis r5, lbl_803DCD34@ha +/* 800ACDE4 000A9D44 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ACDE8 000A9D48 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800ACDEC 000A9D4C 28 04 00 00 */ cmplwi r4, 0 +/* 800ACDF0 000A9D50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ACDF4 000A9D54 7C 7F 1B 78 */ mr r31, r3 +/* 800ACDF8 000A9D58 38 65 CD 34 */ addi r3, r5, lbl_803DCD34@l +/* 800ACDFC 000A9D5C 90 1F 00 00 */ stw r0, 0(r31) +/* 800ACE00 000A9D60 38 00 00 00 */ li r0, 0 +/* 800ACE04 000A9D64 90 7F 00 00 */ stw r3, 0(r31) +/* 800ACE08 000A9D68 90 1F 00 04 */ stw r0, 4(r31) +/* 800ACE0C 000A9D6C 41 82 00 1C */ beq lbl_800ACE28 +/* 800ACE10 000A9D70 7C 83 23 78 */ mr r3, r4 +/* 800ACE14 000A9D74 7F E4 FB 78 */ mr r4, r31 +/* 800ACE18 000A9D78 81 83 00 00 */ lwz r12, 0(r3) +/* 800ACE1C 000A9D7C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ACE20 000A9D80 7D 89 03 A6 */ mtctr r12 +/* 800ACE24 000A9D84 4E 80 04 21 */ bctrl +lbl_800ACE28: +/* 800ACE28 000A9D88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ACE2C 000A9D8C 7F E3 FB 78 */ mr r3, r31 +/* 800ACE30 000A9D90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ACE34 000A9D94 7C 08 03 A6 */ mtlr r0 +/* 800ACE38 000A9D98 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ACE3C 000A9D9C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CWeapon" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CWeapon": +/* 800ACE40 000A9DA0 38 00 00 00 */ li r0, 0 +/* 800ACE44 000A9DA4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACE48 000A9DA8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CWallCrawlerSwarm" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CWallCrawlerSwarm": +/* 800ACE4C 000A9DAC 38 00 00 00 */ li r0, 0 +/* 800ACE50 000A9DB0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACE54 000A9DB4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptSpindleCamera" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptSpindleCamera": +/* 800ACE58 000A9DB8 38 00 00 00 */ li r0, 0 +/* 800ACE5C 000A9DBC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACE60 000A9DC0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CSnakeWeedSwarm" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CSnakeWeedSwarm": +/* 800ACE64 000A9DC4 38 00 00 00 */ li r0, 0 +/* 800ACE68 000A9DC8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACE6C 000A9DCC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptWaypoint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptWaypoint": +/* 800ACE70 000A9DD0 38 00 00 00 */ li r0, 0 +/* 800ACE74 000A9DD4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACE78 000A9DD8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptWater" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptWater": +/* 800ACE7C 000A9DDC 38 00 00 00 */ li r0, 0 +/* 800ACE80 000A9DE0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACE84 000A9DE4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptVisorFlare" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptVisorFlare": +/* 800ACE88 000A9DE8 38 00 00 00 */ li r0, 0 +/* 800ACE8C 000A9DEC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACE90 000A9DF0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR14CScriptTrigger" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR14CScriptTrigger": +/* 800ACE94 000A9DF4 38 00 00 00 */ li r0, 0 +/* 800ACE98 000A9DF8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACE9C 000A9DFC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptTimer" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptTimer": +/* 800ACEA0 000A9E00 38 00 00 00 */ li r0, 0 +/* 800ACEA4 000A9E04 90 03 00 04 */ stw r0, 4(r3) +/* 800ACEA8 000A9E08 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CTeamAiMgr" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CTeamAiMgr": +/* 800ACEAC 000A9E0C 38 00 00 00 */ li r0, 0 +/* 800ACEB0 000A9E10 90 03 00 04 */ stw r0, 4(r3) +/* 800ACEB4 000A9E14 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR21CScriptTargetingPoint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR21CScriptTargetingPoint": +/* 800ACEB8 000A9E18 38 00 00 00 */ li r0, 0 +/* 800ACEBC 000A9E1C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACEC0 000A9E20 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR25CScriptSpiderBallWaypoint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR25CScriptSpiderBallWaypoint": +/* 800ACEC4 000A9E24 38 00 00 00 */ li r0, 0 +/* 800ACEC8 000A9E28 90 03 00 04 */ stw r0, 4(r3) +/* 800ACECC 000A9E2C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR34CScriptSpiderBallAttractionSurface" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR34CScriptSpiderBallAttractionSurface": +/* 800ACED0 000A9E30 38 00 00 00 */ li r0, 0 +/* 800ACED4 000A9E34 90 03 00 04 */ stw r0, 4(r3) +/* 800ACED8 000A9E38 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR22CScriptSpecialFunction" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR22CScriptSpecialFunction": +/* 800ACEDC 000A9E3C 38 00 00 00 */ li r0, 0 +/* 800ACEE0 000A9E40 90 03 00 04 */ stw r0, 4(r3) +/* 800ACEE4 000A9E44 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptSpawnPoint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptSpawnPoint": +/* 800ACEE8 000A9E48 38 00 00 00 */ li r0, 0 +/* 800ACEEC 000A9E4C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACEF0 000A9E50 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptSound" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptSound": +/* 800ACEF4 000A9E54 38 00 00 00 */ li r0, 0 +/* 800ACEF8 000A9E58 90 03 00 04 */ stw r0, 4(r3) +/* 800ACEFC 000A9E5C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptRoomAcoustics" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptRoomAcoustics": +/* 800ACF00 000A9E60 38 00 00 00 */ li r0, 0 +/* 800ACF04 000A9E64 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF08 000A9E68 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR22CScriptPointOfinterest" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR22CScriptPointOfinterest": +/* 800ACF0C 000A9E6C 38 00 00 00 */ li r0, 0 +/* 800ACF10 000A9E70 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF14 000A9E74 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptPlayerHint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptPlayerHint": +/* 800ACF18 000A9E78 38 00 00 00 */ li r0, 0 +/* 800ACF1C 000A9E7C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF20 000A9E80 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptPlatform" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptPlatform": +/* 800ACF24 000A9E84 38 00 00 00 */ li r0, 0 +/* 800ACF28 000A9E88 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF2C 000A9E8C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CScriptPickup" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CScriptPickup": +/* 800ACF30 000A9E90 38 00 00 00 */ li r0, 0 +/* 800ACF34 000A9E94 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF38 000A9E98 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptMazeNode" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptMazeNode": +/* 800ACF3C 000A9E9C 38 00 00 00 */ li r0, 0 +/* 800ACF40 000A9EA0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF44 000A9EA4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CScriptGunTurret" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CScriptGunTurret": +/* 800ACF48 000A9EA8 38 00 00 00 */ li r0, 0 +/* 800ACF4C 000A9EAC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF50 000A9EB0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR19CScriptGrapplePoint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR19CScriptGrapplePoint": +/* 800ACF54 000A9EB4 38 00 00 00 */ li r0, 0 +/* 800ACF58 000A9EB8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF5C 000A9EBC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CScriptEffect" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CScriptEffect": +/* 800ACF60 000A9EC0 38 00 00 00 */ li r0, 0 +/* 800ACF64 000A9EC4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF68 000A9EC8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CScriptDoor" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CScriptDoor": +/* 800ACF6C 000A9ECC 38 00 00 00 */ li r0, 0 +/* 800ACF70 000A9ED0 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF74 000A9ED4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CScriptDock" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CScriptDock": +/* 800ACF78 000A9ED8 38 00 00 00 */ li r0, 0 +/* 800ACF7C 000A9EDC 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF80 000A9EE0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CScriptDistanceFog" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CScriptDistanceFog": +/* 800ACF84 000A9EE4 38 00 00 00 */ li r0, 0 +/* 800ACF88 000A9EE8 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF8C 000A9EEC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR26CScriptDebugCameraWaypoint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR26CScriptDebugCameraWaypoint": +/* 800ACF90 000A9EF0 38 00 00 00 */ li r0, 0 +/* 800ACF94 000A9EF4 90 03 00 04 */ stw r0, 4(r3) +/* 800ACF98 000A9EF8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptCoverPoint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptCoverPoint": +/* 800ACF9C 000A9EFC 38 00 00 00 */ li r0, 0 +/* 800ACFA0 000A9F00 90 03 00 04 */ stw r0, 4(r3) +/* 800ACFA4 000A9F04 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR21CScriptCameraWaypoint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR21CScriptCameraWaypoint": +/* 800ACFA8 000A9F08 38 00 00 00 */ li r0, 0 +/* 800ACFAC 000A9F0C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACFB0 000A9F10 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR24CScriptCameraPitchVolume" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR24CScriptCameraPitchVolume": +/* 800ACFB4 000A9F14 38 00 00 00 */ li r0, 0 +/* 800ACFB8 000A9F18 90 03 00 04 */ stw r0, 4(r3) +/* 800ACFBC 000A9F1C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptCameraHint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptCameraHint": +/* 800ACFC0 000A9F20 38 00 00 00 */ li r0, 0 +/* 800ACFC4 000A9F24 90 03 00 04 */ stw r0, 4(r3) +/* 800ACFC8 000A9F28 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CScriptAiJumpPoint" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CScriptAiJumpPoint": +/* 800ACFCC 000A9F2C 38 00 00 00 */ li r0, 0 +/* 800ACFD0 000A9F30 90 03 00 04 */ stw r0, 4(r3) +/* 800ACFD4 000A9F34 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptActorKeyframe" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptActorKeyframe": +/* 800ACFD8 000A9F38 38 00 00 00 */ li r0, 0 +/* 800ACFDC 000A9F3C 90 03 00 04 */ stw r0, 4(r3) +/* 800ACFE0 000A9F40 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptActor" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptActor": +/* 800ACFE4 000A9F44 38 00 00 00 */ li r0, 0 +/* 800ACFE8 000A9F48 90 03 00 04 */ stw r0, 4(r3) +/* 800ACFEC 000A9F4C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR9CRepulsor" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR9CRepulsor": +/* 800ACFF0 000A9F50 38 00 00 00 */ li r0, 0 +/* 800ACFF4 000A9F54 90 03 00 04 */ stw r0, 4(r3) +/* 800ACFF8 000A9F58 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CPlayer" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CPlayer": +/* 800ACFFC 000A9F5C 38 00 00 00 */ li r0, 0 +/* 800AD000 000A9F60 90 03 00 04 */ stw r0, 4(r3) +/* 800AD004 000A9F64 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CPhysicsActor" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CPhysicsActor": +/* 800AD008 000A9F68 38 00 00 00 */ li r0, 0 +/* 800AD00C 000A9F6C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD010 000A9F70 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR3CAi" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR3CAi": +/* 800AD014 000A9F74 38 00 00 00 */ li r0, 0 +/* 800AD018 000A9F78 90 03 00 04 */ stw r0, 4(r3) +/* 800AD01C 000A9F7C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CPathCamera" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CPathCamera": +/* 800AD020 000A9F80 38 00 00 00 */ li r0, 0 +/* 800AD024 000A9F84 90 03 00 04 */ stw r0, 4(r3) +/* 800AD028 000A9F88 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CMetroidPrimeRelay" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CMetroidPrimeRelay": +/* 800AD02C 000A9F8C 90 83 00 04 */ stw r4, 4(r3) +/* 800AD030 000A9F90 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR19CHUDBillboardEffect" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR19CHUDBillboardEffect": +/* 800AD034 000A9F94 38 00 00 00 */ li r0, 0 +/* 800AD038 000A9F98 90 03 00 04 */ stw r0, 4(r3) +/* 800AD03C 000A9F9C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CGameProjectile" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CGameProjectile": +/* 800AD040 000A9FA0 38 00 00 00 */ li r0, 0 +/* 800AD044 000A9FA4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD048 000A9FA8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CGameLight" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CGameLight": +/* 800AD04C 000A9FAC 38 00 00 00 */ li r0, 0 +/* 800AD050 000A9FB0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD054 000A9FB4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CGameCamera" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CGameCamera": +/* 800AD058 000A9FB8 38 00 00 00 */ li r0, 0 +/* 800AD05C 000A9FBC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD060 000A9FC0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CFishCloud" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CFishCloud": +/* 800AD064 000A9FC4 38 00 00 00 */ li r0, 0 +/* 800AD068 000A9FC8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD06C 000A9FCC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CFirstPersonCamera" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CFirstPersonCamera": +/* 800AD070 000A9FD0 38 00 00 00 */ li r0, 0 +/* 800AD074 000A9FD4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD078 000A9FD8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CExplosion" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CExplosion": +/* 800AD07C 000A9FDC 38 00 00 00 */ li r0, 0 +/* 800AD080 000A9FE0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD084 000A9FE4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CEntity" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CEntity": +/* 800AD088 000A9FE8 38 00 00 00 */ li r0, 0 +/* 800AD08C 000A9FEC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD090 000A9FF0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CEnergyProjectile" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CEnergyProjectile": +/* 800AD094 000A9FF4 38 00 00 00 */ li r0, 0 +/* 800AD098 000A9FF8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD09C 000A9FFC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CDestroyableRock" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CDestroyableRock": +/* 800AD0A0 000AA000 38 00 00 00 */ li r0, 0 +/* 800AD0A4 000AA004 90 03 00 04 */ stw r0, 4(r3) +/* 800AD0A8 000AA008 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CCollisionActor" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CCollisionActor": +/* 800AD0AC 000AA00C 38 00 00 00 */ li r0, 0 +/* 800AD0B0 000AA010 90 03 00 04 */ stw r0, 4(r3) +/* 800AD0B4 000AA014 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CCinematicCamera" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CCinematicCamera": +/* 800AD0B8 000AA018 38 00 00 00 */ li r0, 0 +/* 800AD0BC 000AA01C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD0C0 000AA020 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR5CBomb" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR5CBomb": +/* 800AD0C4 000AA024 38 00 00 00 */ li r0, 0 +/* 800AD0C8 000AA028 90 03 00 04 */ stw r0, 4(r3) +/* 800AD0CC 000AA02C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CBallCamera" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CBallCamera": +/* 800AD0D0 000AA030 38 00 00 00 */ li r0, 0 +/* 800AD0D4 000AA034 90 03 00 04 */ stw r0, 4(r3) +/* 800AD0D8 000AA038 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR6CActor" +"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR6CActor": +/* 800AD0DC 000AA03C 38 00 00 00 */ li r0, 0 +/* 800AD0E0 000AA040 90 03 00 04 */ stw r0, 4(r3) +/* 800AD0E4 000AA044 4E 80 00 20 */ blr + +.global "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +"__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity": +/* 800AD0E8 000AA048 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AD0EC 000AA04C 7C 08 02 A6 */ mflr r0 +/* 800AD0F0 000AA050 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AD0F4 000AA054 3C A0 80 3E */ lis r5, lbl_803DCC48@ha +/* 800AD0F8 000AA058 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AD0FC 000AA05C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AD100 000AA060 28 04 00 00 */ cmplwi r4, 0 +/* 800AD104 000AA064 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AD108 000AA068 7C 7F 1B 78 */ mr r31, r3 +/* 800AD10C 000AA06C 38 65 CC 48 */ addi r3, r5, lbl_803DCC48@l +/* 800AD110 000AA070 90 1F 00 00 */ stw r0, 0(r31) +/* 800AD114 000AA074 38 00 00 00 */ li r0, 0 +/* 800AD118 000AA078 90 7F 00 00 */ stw r3, 0(r31) +/* 800AD11C 000AA07C 90 1F 00 04 */ stw r0, 4(r31) +/* 800AD120 000AA080 41 82 00 1C */ beq lbl_800AD13C +/* 800AD124 000AA084 7C 83 23 78 */ mr r3, r4 +/* 800AD128 000AA088 7F E4 FB 78 */ mr r4, r31 +/* 800AD12C 000AA08C 81 83 00 00 */ lwz r12, 0(r3) +/* 800AD130 000AA090 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AD134 000AA094 7D 89 03 A6 */ mtctr r12 +/* 800AD138 000AA098 4E 80 04 21 */ bctrl +lbl_800AD13C: +/* 800AD13C 000AA09C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AD140 000AA0A0 7F E3 FB 78 */ mr r3, r31 +/* 800AD144 000AA0A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AD148 000AA0A8 7C 08 03 A6 */ mtlr r0 +/* 800AD14C 000AA0AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AD150 000AA0B0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CWeapon" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CWeapon": +/* 800AD154 000AA0B4 38 00 00 00 */ li r0, 0 +/* 800AD158 000AA0B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD15C 000AA0BC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CWallCrawlerSwarm" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CWallCrawlerSwarm": +/* 800AD160 000AA0C0 38 00 00 00 */ li r0, 0 +/* 800AD164 000AA0C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD168 000AA0C8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptSpindleCamera" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptSpindleCamera": +/* 800AD16C 000AA0CC 38 00 00 00 */ li r0, 0 +/* 800AD170 000AA0D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD174 000AA0D4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CSnakeWeedSwarm" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CSnakeWeedSwarm": +/* 800AD178 000AA0D8 38 00 00 00 */ li r0, 0 +/* 800AD17C 000AA0DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD180 000AA0E0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptWaypoint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptWaypoint": +/* 800AD184 000AA0E4 38 00 00 00 */ li r0, 0 +/* 800AD188 000AA0E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD18C 000AA0EC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptWater" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptWater": +/* 800AD190 000AA0F0 38 00 00 00 */ li r0, 0 +/* 800AD194 000AA0F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD198 000AA0F8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptVisorFlare" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptVisorFlare": +/* 800AD19C 000AA0FC 38 00 00 00 */ li r0, 0 +/* 800AD1A0 000AA100 90 03 00 04 */ stw r0, 4(r3) +/* 800AD1A4 000AA104 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR14CScriptTrigger" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR14CScriptTrigger": +/* 800AD1A8 000AA108 38 00 00 00 */ li r0, 0 +/* 800AD1AC 000AA10C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD1B0 000AA110 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptTimer" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptTimer": +/* 800AD1B4 000AA114 38 00 00 00 */ li r0, 0 +/* 800AD1B8 000AA118 90 03 00 04 */ stw r0, 4(r3) +/* 800AD1BC 000AA11C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CTeamAiMgr" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CTeamAiMgr": +/* 800AD1C0 000AA120 38 00 00 00 */ li r0, 0 +/* 800AD1C4 000AA124 90 03 00 04 */ stw r0, 4(r3) +/* 800AD1C8 000AA128 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR21CScriptTargetingPoint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR21CScriptTargetingPoint": +/* 800AD1CC 000AA12C 38 00 00 00 */ li r0, 0 +/* 800AD1D0 000AA130 90 03 00 04 */ stw r0, 4(r3) +/* 800AD1D4 000AA134 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR25CScriptSpiderBallWaypoint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR25CScriptSpiderBallWaypoint": +/* 800AD1D8 000AA138 38 00 00 00 */ li r0, 0 +/* 800AD1DC 000AA13C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD1E0 000AA140 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR34CScriptSpiderBallAttractionSurface" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR34CScriptSpiderBallAttractionSurface": +/* 800AD1E4 000AA144 38 00 00 00 */ li r0, 0 +/* 800AD1E8 000AA148 90 03 00 04 */ stw r0, 4(r3) +/* 800AD1EC 000AA14C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR22CScriptSpecialFunction" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR22CScriptSpecialFunction": +/* 800AD1F0 000AA150 38 00 00 00 */ li r0, 0 +/* 800AD1F4 000AA154 90 03 00 04 */ stw r0, 4(r3) +/* 800AD1F8 000AA158 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptSpawnPoint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptSpawnPoint": +/* 800AD1FC 000AA15C 38 00 00 00 */ li r0, 0 +/* 800AD200 000AA160 90 03 00 04 */ stw r0, 4(r3) +/* 800AD204 000AA164 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptSound" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptSound": +/* 800AD208 000AA168 38 00 00 00 */ li r0, 0 +/* 800AD20C 000AA16C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD210 000AA170 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptRoomAcoustics" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptRoomAcoustics": +/* 800AD214 000AA174 38 00 00 00 */ li r0, 0 +/* 800AD218 000AA178 90 03 00 04 */ stw r0, 4(r3) +/* 800AD21C 000AA17C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR22CScriptPointOfinterest" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR22CScriptPointOfinterest": +/* 800AD220 000AA180 38 00 00 00 */ li r0, 0 +/* 800AD224 000AA184 90 03 00 04 */ stw r0, 4(r3) +/* 800AD228 000AA188 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptPlayerHint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptPlayerHint": +/* 800AD22C 000AA18C 38 00 00 00 */ li r0, 0 +/* 800AD230 000AA190 90 03 00 04 */ stw r0, 4(r3) +/* 800AD234 000AA194 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptPlatform" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptPlatform": +/* 800AD238 000AA198 38 00 00 00 */ li r0, 0 +/* 800AD23C 000AA19C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD240 000AA1A0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CScriptPickup" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CScriptPickup": +/* 800AD244 000AA1A4 38 00 00 00 */ li r0, 0 +/* 800AD248 000AA1A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD24C 000AA1AC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptMazeNode" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptMazeNode": +/* 800AD250 000AA1B0 38 00 00 00 */ li r0, 0 +/* 800AD254 000AA1B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD258 000AA1B8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CScriptGunTurret" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CScriptGunTurret": +/* 800AD25C 000AA1BC 38 00 00 00 */ li r0, 0 +/* 800AD260 000AA1C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD264 000AA1C4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR19CScriptGrapplePoint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR19CScriptGrapplePoint": +/* 800AD268 000AA1C8 38 00 00 00 */ li r0, 0 +/* 800AD26C 000AA1CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD270 000AA1D0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CScriptEffect" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CScriptEffect": +/* 800AD274 000AA1D4 38 00 00 00 */ li r0, 0 +/* 800AD278 000AA1D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD27C 000AA1DC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CScriptDoor" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CScriptDoor": +/* 800AD280 000AA1E0 38 00 00 00 */ li r0, 0 +/* 800AD284 000AA1E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD288 000AA1E8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CScriptDock" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CScriptDock": +/* 800AD28C 000AA1EC 38 00 00 00 */ li r0, 0 +/* 800AD290 000AA1F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD294 000AA1F4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CScriptDistanceFog" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CScriptDistanceFog": +/* 800AD298 000AA1F8 38 00 00 00 */ li r0, 0 +/* 800AD29C 000AA1FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD2A0 000AA200 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR26CScriptDebugCameraWaypoint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR26CScriptDebugCameraWaypoint": +/* 800AD2A4 000AA204 38 00 00 00 */ li r0, 0 +/* 800AD2A8 000AA208 90 03 00 04 */ stw r0, 4(r3) +/* 800AD2AC 000AA20C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptCoverPoint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptCoverPoint": +/* 800AD2B0 000AA210 38 00 00 00 */ li r0, 0 +/* 800AD2B4 000AA214 90 03 00 04 */ stw r0, 4(r3) +/* 800AD2B8 000AA218 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR21CScriptCameraWaypoint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR21CScriptCameraWaypoint": +/* 800AD2BC 000AA21C 38 00 00 00 */ li r0, 0 +/* 800AD2C0 000AA220 90 03 00 04 */ stw r0, 4(r3) +/* 800AD2C4 000AA224 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR24CScriptCameraPitchVolume" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR24CScriptCameraPitchVolume": +/* 800AD2C8 000AA228 38 00 00 00 */ li r0, 0 +/* 800AD2CC 000AA22C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD2D0 000AA230 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptCameraHint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptCameraHint": +/* 800AD2D4 000AA234 38 00 00 00 */ li r0, 0 +/* 800AD2D8 000AA238 90 03 00 04 */ stw r0, 4(r3) +/* 800AD2DC 000AA23C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CScriptAiJumpPoint" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CScriptAiJumpPoint": +/* 800AD2E0 000AA240 38 00 00 00 */ li r0, 0 +/* 800AD2E4 000AA244 90 03 00 04 */ stw r0, 4(r3) +/* 800AD2E8 000AA248 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptActorKeyframe" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptActorKeyframe": +/* 800AD2EC 000AA24C 38 00 00 00 */ li r0, 0 +/* 800AD2F0 000AA250 90 03 00 04 */ stw r0, 4(r3) +/* 800AD2F4 000AA254 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptActor" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptActor": +/* 800AD2F8 000AA258 38 00 00 00 */ li r0, 0 +/* 800AD2FC 000AA25C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD300 000AA260 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR9CRepulsor" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR9CRepulsor": +/* 800AD304 000AA264 38 00 00 00 */ li r0, 0 +/* 800AD308 000AA268 90 03 00 04 */ stw r0, 4(r3) +/* 800AD30C 000AA26C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CPlayer" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CPlayer": +/* 800AD310 000AA270 38 00 00 00 */ li r0, 0 +/* 800AD314 000AA274 90 03 00 04 */ stw r0, 4(r3) +/* 800AD318 000AA278 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CPhysicsActor" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CPhysicsActor": +/* 800AD31C 000AA27C 38 00 00 00 */ li r0, 0 +/* 800AD320 000AA280 90 03 00 04 */ stw r0, 4(r3) +/* 800AD324 000AA284 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR3CAi" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR3CAi": +/* 800AD328 000AA288 38 00 00 00 */ li r0, 0 +/* 800AD32C 000AA28C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD330 000AA290 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CPathCamera" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CPathCamera": +/* 800AD334 000AA294 38 00 00 00 */ li r0, 0 +/* 800AD338 000AA298 90 03 00 04 */ stw r0, 4(r3) +/* 800AD33C 000AA29C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CMetroidPrimeRelay" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CMetroidPrimeRelay": +/* 800AD340 000AA2A0 38 00 00 00 */ li r0, 0 +/* 800AD344 000AA2A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD348 000AA2A8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR19CHUDBillboardEffect" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR19CHUDBillboardEffect": +/* 800AD34C 000AA2AC 90 83 00 04 */ stw r4, 4(r3) +/* 800AD350 000AA2B0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CGameProjectile" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CGameProjectile": +/* 800AD354 000AA2B4 38 00 00 00 */ li r0, 0 +/* 800AD358 000AA2B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD35C 000AA2BC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CGameLight" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CGameLight": +/* 800AD360 000AA2C0 38 00 00 00 */ li r0, 0 +/* 800AD364 000AA2C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD368 000AA2C8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CGameCamera" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CGameCamera": +/* 800AD36C 000AA2CC 38 00 00 00 */ li r0, 0 +/* 800AD370 000AA2D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD374 000AA2D4 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CFishCloud" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CFishCloud": +/* 800AD378 000AA2D8 38 00 00 00 */ li r0, 0 +/* 800AD37C 000AA2DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD380 000AA2E0 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CFirstPersonCamera" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CFirstPersonCamera": +/* 800AD384 000AA2E4 38 00 00 00 */ li r0, 0 +/* 800AD388 000AA2E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD38C 000AA2EC 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CExplosion" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CExplosion": +/* 800AD390 000AA2F0 38 00 00 00 */ li r0, 0 +/* 800AD394 000AA2F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD398 000AA2F8 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CEntity" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CEntity": +/* 800AD39C 000AA2FC 38 00 00 00 */ li r0, 0 +/* 800AD3A0 000AA300 90 03 00 04 */ stw r0, 4(r3) +/* 800AD3A4 000AA304 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CEnergyProjectile" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CEnergyProjectile": +/* 800AD3A8 000AA308 38 00 00 00 */ li r0, 0 +/* 800AD3AC 000AA30C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD3B0 000AA310 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CDestroyableRock" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CDestroyableRock": +/* 800AD3B4 000AA314 38 00 00 00 */ li r0, 0 +/* 800AD3B8 000AA318 90 03 00 04 */ stw r0, 4(r3) +/* 800AD3BC 000AA31C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CCollisionActor" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CCollisionActor": +/* 800AD3C0 000AA320 38 00 00 00 */ li r0, 0 +/* 800AD3C4 000AA324 90 03 00 04 */ stw r0, 4(r3) +/* 800AD3C8 000AA328 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CCinematicCamera" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CCinematicCamera": +/* 800AD3CC 000AA32C 38 00 00 00 */ li r0, 0 +/* 800AD3D0 000AA330 90 03 00 04 */ stw r0, 4(r3) +/* 800AD3D4 000AA334 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR5CBomb" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR5CBomb": +/* 800AD3D8 000AA338 38 00 00 00 */ li r0, 0 +/* 800AD3DC 000AA33C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD3E0 000AA340 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CBallCamera" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CBallCamera": +/* 800AD3E4 000AA344 38 00 00 00 */ li r0, 0 +/* 800AD3E8 000AA348 90 03 00 04 */ stw r0, 4(r3) +/* 800AD3EC 000AA34C 4E 80 00 20 */ blr + +.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR6CActor" +"Visit__33TCastToPtr<19CHUDBillboardEffect>FR6CActor": +/* 800AD3F0 000AA350 38 00 00 00 */ li r0, 0 +/* 800AD3F4 000AA354 90 03 00 04 */ stw r0, 4(r3) +/* 800AD3F8 000AA358 4E 80 00 20 */ blr + +.global "__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity" +"__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity": +/* 800AD3FC 000AA35C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AD400 000AA360 7C 08 02 A6 */ mflr r0 +/* 800AD404 000AA364 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AD408 000AA368 3C A0 80 3E */ lis r5, lbl_803DCB5C@ha +/* 800AD40C 000AA36C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AD410 000AA370 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AD414 000AA374 28 04 00 00 */ cmplwi r4, 0 +/* 800AD418 000AA378 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AD41C 000AA37C 7C 7F 1B 78 */ mr r31, r3 +/* 800AD420 000AA380 38 65 CB 5C */ addi r3, r5, lbl_803DCB5C@l +/* 800AD424 000AA384 90 1F 00 00 */ stw r0, 0(r31) +/* 800AD428 000AA388 38 00 00 00 */ li r0, 0 +/* 800AD42C 000AA38C 90 7F 00 00 */ stw r3, 0(r31) +/* 800AD430 000AA390 90 1F 00 04 */ stw r0, 4(r31) +/* 800AD434 000AA394 41 82 00 1C */ beq lbl_800AD450 +/* 800AD438 000AA398 7C 83 23 78 */ mr r3, r4 +/* 800AD43C 000AA39C 7F E4 FB 78 */ mr r4, r31 +/* 800AD440 000AA3A0 81 83 00 00 */ lwz r12, 0(r3) +/* 800AD444 000AA3A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AD448 000AA3A8 7D 89 03 A6 */ mtctr r12 +/* 800AD44C 000AA3AC 4E 80 04 21 */ bctrl +lbl_800AD450: +/* 800AD450 000AA3B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AD454 000AA3B4 7F E3 FB 78 */ mr r3, r31 +/* 800AD458 000AA3B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AD45C 000AA3BC 7C 08 03 A6 */ mtlr r0 +/* 800AD460 000AA3C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AD464 000AA3C4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR7CWeapon" +"Visit__29TCastToPtr<15CGameProjectile>FR7CWeapon": +/* 800AD468 000AA3C8 38 00 00 00 */ li r0, 0 +/* 800AD46C 000AA3CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD470 000AA3D0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR17CWallCrawlerSwarm" +"Visit__29TCastToPtr<15CGameProjectile>FR17CWallCrawlerSwarm": +/* 800AD474 000AA3D4 38 00 00 00 */ li r0, 0 +/* 800AD478 000AA3D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD47C 000AA3DC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR20CScriptSpindleCamera" +"Visit__29TCastToPtr<15CGameProjectile>FR20CScriptSpindleCamera": +/* 800AD480 000AA3E0 38 00 00 00 */ li r0, 0 +/* 800AD484 000AA3E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD488 000AA3E8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR15CSnakeWeedSwarm" +"Visit__29TCastToPtr<15CGameProjectile>FR15CSnakeWeedSwarm": +/* 800AD48C 000AA3EC 38 00 00 00 */ li r0, 0 +/* 800AD490 000AA3F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD494 000AA3F4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR15CScriptWaypoint" +"Visit__29TCastToPtr<15CGameProjectile>FR15CScriptWaypoint": +/* 800AD498 000AA3F8 38 00 00 00 */ li r0, 0 +/* 800AD49C 000AA3FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD4A0 000AA400 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR12CScriptWater" +"Visit__29TCastToPtr<15CGameProjectile>FR12CScriptWater": +/* 800AD4A4 000AA404 38 00 00 00 */ li r0, 0 +/* 800AD4A8 000AA408 90 03 00 04 */ stw r0, 4(r3) +/* 800AD4AC 000AA40C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptVisorFlare" +"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptVisorFlare": +/* 800AD4B0 000AA410 38 00 00 00 */ li r0, 0 +/* 800AD4B4 000AA414 90 03 00 04 */ stw r0, 4(r3) +/* 800AD4B8 000AA418 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR14CScriptTrigger" +"Visit__29TCastToPtr<15CGameProjectile>FR14CScriptTrigger": +/* 800AD4BC 000AA41C 38 00 00 00 */ li r0, 0 +/* 800AD4C0 000AA420 90 03 00 04 */ stw r0, 4(r3) +/* 800AD4C4 000AA424 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR12CScriptTimer" +"Visit__29TCastToPtr<15CGameProjectile>FR12CScriptTimer": +/* 800AD4C8 000AA428 38 00 00 00 */ li r0, 0 +/* 800AD4CC 000AA42C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD4D0 000AA430 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR10CTeamAiMgr" +"Visit__29TCastToPtr<15CGameProjectile>FR10CTeamAiMgr": +/* 800AD4D4 000AA434 38 00 00 00 */ li r0, 0 +/* 800AD4D8 000AA438 90 03 00 04 */ stw r0, 4(r3) +/* 800AD4DC 000AA43C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR21CScriptTargetingPoint" +"Visit__29TCastToPtr<15CGameProjectile>FR21CScriptTargetingPoint": +/* 800AD4E0 000AA440 38 00 00 00 */ li r0, 0 +/* 800AD4E4 000AA444 90 03 00 04 */ stw r0, 4(r3) +/* 800AD4E8 000AA448 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR25CScriptSpiderBallWaypoint" +"Visit__29TCastToPtr<15CGameProjectile>FR25CScriptSpiderBallWaypoint": +/* 800AD4EC 000AA44C 38 00 00 00 */ li r0, 0 +/* 800AD4F0 000AA450 90 03 00 04 */ stw r0, 4(r3) +/* 800AD4F4 000AA454 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR34CScriptSpiderBallAttractionSurface" +"Visit__29TCastToPtr<15CGameProjectile>FR34CScriptSpiderBallAttractionSurface": +/* 800AD4F8 000AA458 38 00 00 00 */ li r0, 0 +/* 800AD4FC 000AA45C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD500 000AA460 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR22CScriptSpecialFunction" +"Visit__29TCastToPtr<15CGameProjectile>FR22CScriptSpecialFunction": +/* 800AD504 000AA464 38 00 00 00 */ li r0, 0 +/* 800AD508 000AA468 90 03 00 04 */ stw r0, 4(r3) +/* 800AD50C 000AA46C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptSpawnPoint" +"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptSpawnPoint": +/* 800AD510 000AA470 38 00 00 00 */ li r0, 0 +/* 800AD514 000AA474 90 03 00 04 */ stw r0, 4(r3) +/* 800AD518 000AA478 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR12CScriptSound" +"Visit__29TCastToPtr<15CGameProjectile>FR12CScriptSound": +/* 800AD51C 000AA47C 38 00 00 00 */ li r0, 0 +/* 800AD520 000AA480 90 03 00 04 */ stw r0, 4(r3) +/* 800AD524 000AA484 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR20CScriptRoomAcoustics" +"Visit__29TCastToPtr<15CGameProjectile>FR20CScriptRoomAcoustics": +/* 800AD528 000AA488 38 00 00 00 */ li r0, 0 +/* 800AD52C 000AA48C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD530 000AA490 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR22CScriptPointOfinterest" +"Visit__29TCastToPtr<15CGameProjectile>FR22CScriptPointOfinterest": +/* 800AD534 000AA494 38 00 00 00 */ li r0, 0 +/* 800AD538 000AA498 90 03 00 04 */ stw r0, 4(r3) +/* 800AD53C 000AA49C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptPlayerHint" +"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptPlayerHint": +/* 800AD540 000AA4A0 38 00 00 00 */ li r0, 0 +/* 800AD544 000AA4A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD548 000AA4A8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR15CScriptPlatform" +"Visit__29TCastToPtr<15CGameProjectile>FR15CScriptPlatform": +/* 800AD54C 000AA4AC 38 00 00 00 */ li r0, 0 +/* 800AD550 000AA4B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD554 000AA4B4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR13CScriptPickup" +"Visit__29TCastToPtr<15CGameProjectile>FR13CScriptPickup": +/* 800AD558 000AA4B8 38 00 00 00 */ li r0, 0 +/* 800AD55C 000AA4BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD560 000AA4C0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR15CScriptMazeNode" +"Visit__29TCastToPtr<15CGameProjectile>FR15CScriptMazeNode": +/* 800AD564 000AA4C4 38 00 00 00 */ li r0, 0 +/* 800AD568 000AA4C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD56C 000AA4CC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR16CScriptGunTurret" +"Visit__29TCastToPtr<15CGameProjectile>FR16CScriptGunTurret": +/* 800AD570 000AA4D0 38 00 00 00 */ li r0, 0 +/* 800AD574 000AA4D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD578 000AA4D8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR19CScriptGrapplePoint" +"Visit__29TCastToPtr<15CGameProjectile>FR19CScriptGrapplePoint": +/* 800AD57C 000AA4DC 38 00 00 00 */ li r0, 0 +/* 800AD580 000AA4E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD584 000AA4E4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR13CScriptEffect" +"Visit__29TCastToPtr<15CGameProjectile>FR13CScriptEffect": +/* 800AD588 000AA4E8 38 00 00 00 */ li r0, 0 +/* 800AD58C 000AA4EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD590 000AA4F0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR11CScriptDoor" +"Visit__29TCastToPtr<15CGameProjectile>FR11CScriptDoor": +/* 800AD594 000AA4F4 38 00 00 00 */ li r0, 0 +/* 800AD598 000AA4F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD59C 000AA4FC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR11CScriptDock" +"Visit__29TCastToPtr<15CGameProjectile>FR11CScriptDock": +/* 800AD5A0 000AA500 38 00 00 00 */ li r0, 0 +/* 800AD5A4 000AA504 90 03 00 04 */ stw r0, 4(r3) +/* 800AD5A8 000AA508 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR18CScriptDistanceFog" +"Visit__29TCastToPtr<15CGameProjectile>FR18CScriptDistanceFog": +/* 800AD5AC 000AA50C 38 00 00 00 */ li r0, 0 +/* 800AD5B0 000AA510 90 03 00 04 */ stw r0, 4(r3) +/* 800AD5B4 000AA514 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR26CScriptDebugCameraWaypoint" +"Visit__29TCastToPtr<15CGameProjectile>FR26CScriptDebugCameraWaypoint": +/* 800AD5B8 000AA518 38 00 00 00 */ li r0, 0 +/* 800AD5BC 000AA51C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD5C0 000AA520 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptCoverPoint" +"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptCoverPoint": +/* 800AD5C4 000AA524 38 00 00 00 */ li r0, 0 +/* 800AD5C8 000AA528 90 03 00 04 */ stw r0, 4(r3) +/* 800AD5CC 000AA52C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR21CScriptCameraWaypoint" +"Visit__29TCastToPtr<15CGameProjectile>FR21CScriptCameraWaypoint": +/* 800AD5D0 000AA530 38 00 00 00 */ li r0, 0 +/* 800AD5D4 000AA534 90 03 00 04 */ stw r0, 4(r3) +/* 800AD5D8 000AA538 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR24CScriptCameraPitchVolume" +"Visit__29TCastToPtr<15CGameProjectile>FR24CScriptCameraPitchVolume": +/* 800AD5DC 000AA53C 38 00 00 00 */ li r0, 0 +/* 800AD5E0 000AA540 90 03 00 04 */ stw r0, 4(r3) +/* 800AD5E4 000AA544 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptCameraHint" +"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptCameraHint": +/* 800AD5E8 000AA548 38 00 00 00 */ li r0, 0 +/* 800AD5EC 000AA54C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD5F0 000AA550 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR18CScriptAiJumpPoint" +"Visit__29TCastToPtr<15CGameProjectile>FR18CScriptAiJumpPoint": +/* 800AD5F4 000AA554 38 00 00 00 */ li r0, 0 +/* 800AD5F8 000AA558 90 03 00 04 */ stw r0, 4(r3) +/* 800AD5FC 000AA55C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR20CScriptActorKeyframe" +"Visit__29TCastToPtr<15CGameProjectile>FR20CScriptActorKeyframe": +/* 800AD600 000AA560 38 00 00 00 */ li r0, 0 +/* 800AD604 000AA564 90 03 00 04 */ stw r0, 4(r3) +/* 800AD608 000AA568 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR12CScriptActor" +"Visit__29TCastToPtr<15CGameProjectile>FR12CScriptActor": +/* 800AD60C 000AA56C 38 00 00 00 */ li r0, 0 +/* 800AD610 000AA570 90 03 00 04 */ stw r0, 4(r3) +/* 800AD614 000AA574 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR9CRepulsor" +"Visit__29TCastToPtr<15CGameProjectile>FR9CRepulsor": +/* 800AD618 000AA578 38 00 00 00 */ li r0, 0 +/* 800AD61C 000AA57C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD620 000AA580 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR7CPlayer" +"Visit__29TCastToPtr<15CGameProjectile>FR7CPlayer": +/* 800AD624 000AA584 38 00 00 00 */ li r0, 0 +/* 800AD628 000AA588 90 03 00 04 */ stw r0, 4(r3) +/* 800AD62C 000AA58C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR13CPhysicsActor" +"Visit__29TCastToPtr<15CGameProjectile>FR13CPhysicsActor": +/* 800AD630 000AA590 38 00 00 00 */ li r0, 0 +/* 800AD634 000AA594 90 03 00 04 */ stw r0, 4(r3) +/* 800AD638 000AA598 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR3CAi" +"Visit__29TCastToPtr<15CGameProjectile>FR3CAi": +/* 800AD63C 000AA59C 38 00 00 00 */ li r0, 0 +/* 800AD640 000AA5A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD644 000AA5A4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR11CPathCamera" +"Visit__29TCastToPtr<15CGameProjectile>FR11CPathCamera": +/* 800AD648 000AA5A8 38 00 00 00 */ li r0, 0 +/* 800AD64C 000AA5AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD650 000AA5B0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR18CMetroidPrimeRelay" +"Visit__29TCastToPtr<15CGameProjectile>FR18CMetroidPrimeRelay": +/* 800AD654 000AA5B4 38 00 00 00 */ li r0, 0 +/* 800AD658 000AA5B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD65C 000AA5BC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR19CHUDBillboardEffect" +"Visit__29TCastToPtr<15CGameProjectile>FR19CHUDBillboardEffect": +/* 800AD660 000AA5C0 38 00 00 00 */ li r0, 0 +/* 800AD664 000AA5C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD668 000AA5C8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR15CGameProjectile" +"Visit__29TCastToPtr<15CGameProjectile>FR15CGameProjectile": +/* 800AD66C 000AA5CC 90 83 00 04 */ stw r4, 4(r3) +/* 800AD670 000AA5D0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR10CGameLight" +"Visit__29TCastToPtr<15CGameProjectile>FR10CGameLight": +/* 800AD674 000AA5D4 38 00 00 00 */ li r0, 0 +/* 800AD678 000AA5D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD67C 000AA5DC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR11CGameCamera" +"Visit__29TCastToPtr<15CGameProjectile>FR11CGameCamera": +/* 800AD680 000AA5E0 38 00 00 00 */ li r0, 0 +/* 800AD684 000AA5E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD688 000AA5E8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR10CFishCloud" +"Visit__29TCastToPtr<15CGameProjectile>FR10CFishCloud": +/* 800AD68C 000AA5EC 38 00 00 00 */ li r0, 0 +/* 800AD690 000AA5F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD694 000AA5F4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR18CFirstPersonCamera" +"Visit__29TCastToPtr<15CGameProjectile>FR18CFirstPersonCamera": +/* 800AD698 000AA5F8 38 00 00 00 */ li r0, 0 +/* 800AD69C 000AA5FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD6A0 000AA600 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR10CExplosion" +"Visit__29TCastToPtr<15CGameProjectile>FR10CExplosion": +/* 800AD6A4 000AA604 38 00 00 00 */ li r0, 0 +/* 800AD6A8 000AA608 90 03 00 04 */ stw r0, 4(r3) +/* 800AD6AC 000AA60C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR7CEntity" +"Visit__29TCastToPtr<15CGameProjectile>FR7CEntity": +/* 800AD6B0 000AA610 38 00 00 00 */ li r0, 0 +/* 800AD6B4 000AA614 90 03 00 04 */ stw r0, 4(r3) +/* 800AD6B8 000AA618 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR17CEnergyProjectile" +"Visit__29TCastToPtr<15CGameProjectile>FR17CEnergyProjectile": +/* 800AD6BC 000AA61C 90 83 00 04 */ stw r4, 4(r3) +/* 800AD6C0 000AA620 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR16CDestroyableRock" +"Visit__29TCastToPtr<15CGameProjectile>FR16CDestroyableRock": +/* 800AD6C4 000AA624 38 00 00 00 */ li r0, 0 +/* 800AD6C8 000AA628 90 03 00 04 */ stw r0, 4(r3) +/* 800AD6CC 000AA62C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR15CCollisionActor" +"Visit__29TCastToPtr<15CGameProjectile>FR15CCollisionActor": +/* 800AD6D0 000AA630 38 00 00 00 */ li r0, 0 +/* 800AD6D4 000AA634 90 03 00 04 */ stw r0, 4(r3) +/* 800AD6D8 000AA638 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR16CCinematicCamera" +"Visit__29TCastToPtr<15CGameProjectile>FR16CCinematicCamera": +/* 800AD6DC 000AA63C 38 00 00 00 */ li r0, 0 +/* 800AD6E0 000AA640 90 03 00 04 */ stw r0, 4(r3) +/* 800AD6E4 000AA644 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR5CBomb" +"Visit__29TCastToPtr<15CGameProjectile>FR5CBomb": +/* 800AD6E8 000AA648 38 00 00 00 */ li r0, 0 +/* 800AD6EC 000AA64C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD6F0 000AA650 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR11CBallCamera" +"Visit__29TCastToPtr<15CGameProjectile>FR11CBallCamera": +/* 800AD6F4 000AA654 38 00 00 00 */ li r0, 0 +/* 800AD6F8 000AA658 90 03 00 04 */ stw r0, 4(r3) +/* 800AD6FC 000AA65C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CGameProjectile>FR6CActor" +"Visit__29TCastToPtr<15CGameProjectile>FR6CActor": +/* 800AD700 000AA660 38 00 00 00 */ li r0, 0 +/* 800AD704 000AA664 90 03 00 04 */ stw r0, 4(r3) +/* 800AD708 000AA668 4E 80 00 20 */ blr + +.global "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +"__ct__29TCastToPtr<15CGameProjectile>FP7CEntity": +/* 800AD70C 000AA66C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AD710 000AA670 7C 08 02 A6 */ mflr r0 +/* 800AD714 000AA674 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AD718 000AA678 3C A0 80 3E */ lis r5, lbl_803DCA70@ha +/* 800AD71C 000AA67C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AD720 000AA680 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AD724 000AA684 28 04 00 00 */ cmplwi r4, 0 +/* 800AD728 000AA688 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AD72C 000AA68C 7C 7F 1B 78 */ mr r31, r3 +/* 800AD730 000AA690 38 65 CA 70 */ addi r3, r5, lbl_803DCA70@l +/* 800AD734 000AA694 90 1F 00 00 */ stw r0, 0(r31) +/* 800AD738 000AA698 38 00 00 00 */ li r0, 0 +/* 800AD73C 000AA69C 90 7F 00 00 */ stw r3, 0(r31) +/* 800AD740 000AA6A0 90 1F 00 04 */ stw r0, 4(r31) +/* 800AD744 000AA6A4 41 82 00 1C */ beq lbl_800AD760 +/* 800AD748 000AA6A8 7C 83 23 78 */ mr r3, r4 +/* 800AD74C 000AA6AC 7F E4 FB 78 */ mr r4, r31 +/* 800AD750 000AA6B0 81 83 00 00 */ lwz r12, 0(r3) +/* 800AD754 000AA6B4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AD758 000AA6B8 7D 89 03 A6 */ mtctr r12 +/* 800AD75C 000AA6BC 4E 80 04 21 */ bctrl +lbl_800AD760: +/* 800AD760 000AA6C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AD764 000AA6C4 7F E3 FB 78 */ mr r3, r31 +/* 800AD768 000AA6C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AD76C 000AA6CC 7C 08 03 A6 */ mtlr r0 +/* 800AD770 000AA6D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AD774 000AA6D4 4E 80 00 20 */ blr + +.global "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" +"__ct__29TCastToPtr<15CGameProjectile>FR7CEntity": +/* 800AD778 000AA6D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AD77C 000AA6DC 7C 08 02 A6 */ mflr r0 +/* 800AD780 000AA6E0 3C A0 80 3E */ lis r5, lbl_803DCA70@ha +/* 800AD784 000AA6E4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AD788 000AA6E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AD78C 000AA6EC 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AD790 000AA6F0 38 A5 CA 70 */ addi r5, r5, lbl_803DCA70@l +/* 800AD794 000AA6F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AD798 000AA6F8 7C 7F 1B 78 */ mr r31, r3 +/* 800AD79C 000AA6FC 90 03 00 00 */ stw r0, 0(r3) +/* 800AD7A0 000AA700 7C 83 23 78 */ mr r3, r4 +/* 800AD7A4 000AA704 38 00 00 00 */ li r0, 0 +/* 800AD7A8 000AA708 7F E4 FB 78 */ mr r4, r31 +/* 800AD7AC 000AA70C 90 BF 00 00 */ stw r5, 0(r31) +/* 800AD7B0 000AA710 90 1F 00 04 */ stw r0, 4(r31) +/* 800AD7B4 000AA714 81 83 00 00 */ lwz r12, 0(r3) +/* 800AD7B8 000AA718 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AD7BC 000AA71C 7D 89 03 A6 */ mtctr r12 +/* 800AD7C0 000AA720 4E 80 04 21 */ bctrl +/* 800AD7C4 000AA724 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AD7C8 000AA728 7F E3 FB 78 */ mr r3, r31 +/* 800AD7CC 000AA72C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AD7D0 000AA730 7C 08 03 A6 */ mtlr r0 +/* 800AD7D4 000AA734 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AD7D8 000AA738 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR7CWeapon" +"Visit__24TCastToPtr<10CGameLight>FR7CWeapon": +/* 800AD7DC 000AA73C 38 00 00 00 */ li r0, 0 +/* 800AD7E0 000AA740 90 03 00 04 */ stw r0, 4(r3) +/* 800AD7E4 000AA744 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR17CWallCrawlerSwarm" +"Visit__24TCastToPtr<10CGameLight>FR17CWallCrawlerSwarm": +/* 800AD7E8 000AA748 38 00 00 00 */ li r0, 0 +/* 800AD7EC 000AA74C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD7F0 000AA750 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR20CScriptSpindleCamera" +"Visit__24TCastToPtr<10CGameLight>FR20CScriptSpindleCamera": +/* 800AD7F4 000AA754 38 00 00 00 */ li r0, 0 +/* 800AD7F8 000AA758 90 03 00 04 */ stw r0, 4(r3) +/* 800AD7FC 000AA75C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR15CSnakeWeedSwarm" +"Visit__24TCastToPtr<10CGameLight>FR15CSnakeWeedSwarm": +/* 800AD800 000AA760 38 00 00 00 */ li r0, 0 +/* 800AD804 000AA764 90 03 00 04 */ stw r0, 4(r3) +/* 800AD808 000AA768 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR15CScriptWaypoint" +"Visit__24TCastToPtr<10CGameLight>FR15CScriptWaypoint": +/* 800AD80C 000AA76C 38 00 00 00 */ li r0, 0 +/* 800AD810 000AA770 90 03 00 04 */ stw r0, 4(r3) +/* 800AD814 000AA774 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR12CScriptWater" +"Visit__24TCastToPtr<10CGameLight>FR12CScriptWater": +/* 800AD818 000AA778 38 00 00 00 */ li r0, 0 +/* 800AD81C 000AA77C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD820 000AA780 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptVisorFlare" +"Visit__24TCastToPtr<10CGameLight>FR17CScriptVisorFlare": +/* 800AD824 000AA784 38 00 00 00 */ li r0, 0 +/* 800AD828 000AA788 90 03 00 04 */ stw r0, 4(r3) +/* 800AD82C 000AA78C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR14CScriptTrigger" +"Visit__24TCastToPtr<10CGameLight>FR14CScriptTrigger": +/* 800AD830 000AA790 38 00 00 00 */ li r0, 0 +/* 800AD834 000AA794 90 03 00 04 */ stw r0, 4(r3) +/* 800AD838 000AA798 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR12CScriptTimer" +"Visit__24TCastToPtr<10CGameLight>FR12CScriptTimer": +/* 800AD83C 000AA79C 38 00 00 00 */ li r0, 0 +/* 800AD840 000AA7A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD844 000AA7A4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR10CTeamAiMgr" +"Visit__24TCastToPtr<10CGameLight>FR10CTeamAiMgr": +/* 800AD848 000AA7A8 38 00 00 00 */ li r0, 0 +/* 800AD84C 000AA7AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD850 000AA7B0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR21CScriptTargetingPoint" +"Visit__24TCastToPtr<10CGameLight>FR21CScriptTargetingPoint": +/* 800AD854 000AA7B4 38 00 00 00 */ li r0, 0 +/* 800AD858 000AA7B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD85C 000AA7BC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR25CScriptSpiderBallWaypoint" +"Visit__24TCastToPtr<10CGameLight>FR25CScriptSpiderBallWaypoint": +/* 800AD860 000AA7C0 38 00 00 00 */ li r0, 0 +/* 800AD864 000AA7C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD868 000AA7C8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR34CScriptSpiderBallAttractionSurface" +"Visit__24TCastToPtr<10CGameLight>FR34CScriptSpiderBallAttractionSurface": +/* 800AD86C 000AA7CC 38 00 00 00 */ li r0, 0 +/* 800AD870 000AA7D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD874 000AA7D4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR22CScriptSpecialFunction" +"Visit__24TCastToPtr<10CGameLight>FR22CScriptSpecialFunction": +/* 800AD878 000AA7D8 38 00 00 00 */ li r0, 0 +/* 800AD87C 000AA7DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD880 000AA7E0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptSpawnPoint" +"Visit__24TCastToPtr<10CGameLight>FR17CScriptSpawnPoint": +/* 800AD884 000AA7E4 38 00 00 00 */ li r0, 0 +/* 800AD888 000AA7E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD88C 000AA7EC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR12CScriptSound" +"Visit__24TCastToPtr<10CGameLight>FR12CScriptSound": +/* 800AD890 000AA7F0 38 00 00 00 */ li r0, 0 +/* 800AD894 000AA7F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD898 000AA7F8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR20CScriptRoomAcoustics" +"Visit__24TCastToPtr<10CGameLight>FR20CScriptRoomAcoustics": +/* 800AD89C 000AA7FC 38 00 00 00 */ li r0, 0 +/* 800AD8A0 000AA800 90 03 00 04 */ stw r0, 4(r3) +/* 800AD8A4 000AA804 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR22CScriptPointOfinterest" +"Visit__24TCastToPtr<10CGameLight>FR22CScriptPointOfinterest": +/* 800AD8A8 000AA808 38 00 00 00 */ li r0, 0 +/* 800AD8AC 000AA80C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD8B0 000AA810 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptPlayerHint" +"Visit__24TCastToPtr<10CGameLight>FR17CScriptPlayerHint": +/* 800AD8B4 000AA814 38 00 00 00 */ li r0, 0 +/* 800AD8B8 000AA818 90 03 00 04 */ stw r0, 4(r3) +/* 800AD8BC 000AA81C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR15CScriptPlatform" +"Visit__24TCastToPtr<10CGameLight>FR15CScriptPlatform": +/* 800AD8C0 000AA820 38 00 00 00 */ li r0, 0 +/* 800AD8C4 000AA824 90 03 00 04 */ stw r0, 4(r3) +/* 800AD8C8 000AA828 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR13CScriptPickup" +"Visit__24TCastToPtr<10CGameLight>FR13CScriptPickup": +/* 800AD8CC 000AA82C 38 00 00 00 */ li r0, 0 +/* 800AD8D0 000AA830 90 03 00 04 */ stw r0, 4(r3) +/* 800AD8D4 000AA834 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR15CScriptMazeNode" +"Visit__24TCastToPtr<10CGameLight>FR15CScriptMazeNode": +/* 800AD8D8 000AA838 38 00 00 00 */ li r0, 0 +/* 800AD8DC 000AA83C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD8E0 000AA840 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR16CScriptGunTurret" +"Visit__24TCastToPtr<10CGameLight>FR16CScriptGunTurret": +/* 800AD8E4 000AA844 38 00 00 00 */ li r0, 0 +/* 800AD8E8 000AA848 90 03 00 04 */ stw r0, 4(r3) +/* 800AD8EC 000AA84C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR19CScriptGrapplePoint" +"Visit__24TCastToPtr<10CGameLight>FR19CScriptGrapplePoint": +/* 800AD8F0 000AA850 38 00 00 00 */ li r0, 0 +/* 800AD8F4 000AA854 90 03 00 04 */ stw r0, 4(r3) +/* 800AD8F8 000AA858 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR13CScriptEffect" +"Visit__24TCastToPtr<10CGameLight>FR13CScriptEffect": +/* 800AD8FC 000AA85C 38 00 00 00 */ li r0, 0 +/* 800AD900 000AA860 90 03 00 04 */ stw r0, 4(r3) +/* 800AD904 000AA864 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR11CScriptDoor" +"Visit__24TCastToPtr<10CGameLight>FR11CScriptDoor": +/* 800AD908 000AA868 38 00 00 00 */ li r0, 0 +/* 800AD90C 000AA86C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD910 000AA870 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR11CScriptDock" +"Visit__24TCastToPtr<10CGameLight>FR11CScriptDock": +/* 800AD914 000AA874 38 00 00 00 */ li r0, 0 +/* 800AD918 000AA878 90 03 00 04 */ stw r0, 4(r3) +/* 800AD91C 000AA87C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR18CScriptDistanceFog" +"Visit__24TCastToPtr<10CGameLight>FR18CScriptDistanceFog": +/* 800AD920 000AA880 38 00 00 00 */ li r0, 0 +/* 800AD924 000AA884 90 03 00 04 */ stw r0, 4(r3) +/* 800AD928 000AA888 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR26CScriptDebugCameraWaypoint" +"Visit__24TCastToPtr<10CGameLight>FR26CScriptDebugCameraWaypoint": +/* 800AD92C 000AA88C 38 00 00 00 */ li r0, 0 +/* 800AD930 000AA890 90 03 00 04 */ stw r0, 4(r3) +/* 800AD934 000AA894 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptCoverPoint" +"Visit__24TCastToPtr<10CGameLight>FR17CScriptCoverPoint": +/* 800AD938 000AA898 38 00 00 00 */ li r0, 0 +/* 800AD93C 000AA89C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD940 000AA8A0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR21CScriptCameraWaypoint" +"Visit__24TCastToPtr<10CGameLight>FR21CScriptCameraWaypoint": +/* 800AD944 000AA8A4 38 00 00 00 */ li r0, 0 +/* 800AD948 000AA8A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD94C 000AA8AC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR24CScriptCameraPitchVolume" +"Visit__24TCastToPtr<10CGameLight>FR24CScriptCameraPitchVolume": +/* 800AD950 000AA8B0 38 00 00 00 */ li r0, 0 +/* 800AD954 000AA8B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD958 000AA8B8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptCameraHint" +"Visit__24TCastToPtr<10CGameLight>FR17CScriptCameraHint": +/* 800AD95C 000AA8BC 38 00 00 00 */ li r0, 0 +/* 800AD960 000AA8C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD964 000AA8C4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR18CScriptAiJumpPoint" +"Visit__24TCastToPtr<10CGameLight>FR18CScriptAiJumpPoint": +/* 800AD968 000AA8C8 38 00 00 00 */ li r0, 0 +/* 800AD96C 000AA8CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD970 000AA8D0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR20CScriptActorKeyframe" +"Visit__24TCastToPtr<10CGameLight>FR20CScriptActorKeyframe": +/* 800AD974 000AA8D4 38 00 00 00 */ li r0, 0 +/* 800AD978 000AA8D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AD97C 000AA8DC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR12CScriptActor" +"Visit__24TCastToPtr<10CGameLight>FR12CScriptActor": +/* 800AD980 000AA8E0 38 00 00 00 */ li r0, 0 +/* 800AD984 000AA8E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AD988 000AA8E8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR9CRepulsor" +"Visit__24TCastToPtr<10CGameLight>FR9CRepulsor": +/* 800AD98C 000AA8EC 38 00 00 00 */ li r0, 0 +/* 800AD990 000AA8F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AD994 000AA8F4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR7CPlayer" +"Visit__24TCastToPtr<10CGameLight>FR7CPlayer": +/* 800AD998 000AA8F8 38 00 00 00 */ li r0, 0 +/* 800AD99C 000AA8FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AD9A0 000AA900 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR13CPhysicsActor" +"Visit__24TCastToPtr<10CGameLight>FR13CPhysicsActor": +/* 800AD9A4 000AA904 38 00 00 00 */ li r0, 0 +/* 800AD9A8 000AA908 90 03 00 04 */ stw r0, 4(r3) +/* 800AD9AC 000AA90C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR3CAi" +"Visit__24TCastToPtr<10CGameLight>FR3CAi": +/* 800AD9B0 000AA910 38 00 00 00 */ li r0, 0 +/* 800AD9B4 000AA914 90 03 00 04 */ stw r0, 4(r3) +/* 800AD9B8 000AA918 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR11CPathCamera" +"Visit__24TCastToPtr<10CGameLight>FR11CPathCamera": +/* 800AD9BC 000AA91C 38 00 00 00 */ li r0, 0 +/* 800AD9C0 000AA920 90 03 00 04 */ stw r0, 4(r3) +/* 800AD9C4 000AA924 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR18CMetroidPrimeRelay" +"Visit__24TCastToPtr<10CGameLight>FR18CMetroidPrimeRelay": +/* 800AD9C8 000AA928 38 00 00 00 */ li r0, 0 +/* 800AD9CC 000AA92C 90 03 00 04 */ stw r0, 4(r3) +/* 800AD9D0 000AA930 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR19CHUDBillboardEffect" +"Visit__24TCastToPtr<10CGameLight>FR19CHUDBillboardEffect": +/* 800AD9D4 000AA934 38 00 00 00 */ li r0, 0 +/* 800AD9D8 000AA938 90 03 00 04 */ stw r0, 4(r3) +/* 800AD9DC 000AA93C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR15CGameProjectile" +"Visit__24TCastToPtr<10CGameLight>FR15CGameProjectile": +/* 800AD9E0 000AA940 38 00 00 00 */ li r0, 0 +/* 800AD9E4 000AA944 90 03 00 04 */ stw r0, 4(r3) +/* 800AD9E8 000AA948 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR10CGameLight" +"Visit__24TCastToPtr<10CGameLight>FR10CGameLight": +/* 800AD9EC 000AA94C 90 83 00 04 */ stw r4, 4(r3) +/* 800AD9F0 000AA950 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR11CGameCamera" +"Visit__24TCastToPtr<10CGameLight>FR11CGameCamera": +/* 800AD9F4 000AA954 38 00 00 00 */ li r0, 0 +/* 800AD9F8 000AA958 90 03 00 04 */ stw r0, 4(r3) +/* 800AD9FC 000AA95C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR10CFishCloud" +"Visit__24TCastToPtr<10CGameLight>FR10CFishCloud": +/* 800ADA00 000AA960 38 00 00 00 */ li r0, 0 +/* 800ADA04 000AA964 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA08 000AA968 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR18CFirstPersonCamera" +"Visit__24TCastToPtr<10CGameLight>FR18CFirstPersonCamera": +/* 800ADA0C 000AA96C 38 00 00 00 */ li r0, 0 +/* 800ADA10 000AA970 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA14 000AA974 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR10CExplosion" +"Visit__24TCastToPtr<10CGameLight>FR10CExplosion": +/* 800ADA18 000AA978 38 00 00 00 */ li r0, 0 +/* 800ADA1C 000AA97C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA20 000AA980 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR7CEntity" +"Visit__24TCastToPtr<10CGameLight>FR7CEntity": +/* 800ADA24 000AA984 38 00 00 00 */ li r0, 0 +/* 800ADA28 000AA988 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA2C 000AA98C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR17CEnergyProjectile" +"Visit__24TCastToPtr<10CGameLight>FR17CEnergyProjectile": +/* 800ADA30 000AA990 38 00 00 00 */ li r0, 0 +/* 800ADA34 000AA994 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA38 000AA998 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR16CDestroyableRock" +"Visit__24TCastToPtr<10CGameLight>FR16CDestroyableRock": +/* 800ADA3C 000AA99C 38 00 00 00 */ li r0, 0 +/* 800ADA40 000AA9A0 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA44 000AA9A4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR15CCollisionActor" +"Visit__24TCastToPtr<10CGameLight>FR15CCollisionActor": +/* 800ADA48 000AA9A8 38 00 00 00 */ li r0, 0 +/* 800ADA4C 000AA9AC 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA50 000AA9B0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR16CCinematicCamera" +"Visit__24TCastToPtr<10CGameLight>FR16CCinematicCamera": +/* 800ADA54 000AA9B4 38 00 00 00 */ li r0, 0 +/* 800ADA58 000AA9B8 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA5C 000AA9BC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR5CBomb" +"Visit__24TCastToPtr<10CGameLight>FR5CBomb": +/* 800ADA60 000AA9C0 38 00 00 00 */ li r0, 0 +/* 800ADA64 000AA9C4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA68 000AA9C8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR11CBallCamera" +"Visit__24TCastToPtr<10CGameLight>FR11CBallCamera": +/* 800ADA6C 000AA9CC 38 00 00 00 */ li r0, 0 +/* 800ADA70 000AA9D0 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA74 000AA9D4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CGameLight>FR6CActor" +"Visit__24TCastToPtr<10CGameLight>FR6CActor": +/* 800ADA78 000AA9D8 38 00 00 00 */ li r0, 0 +/* 800ADA7C 000AA9DC 90 03 00 04 */ stw r0, 4(r3) +/* 800ADA80 000AA9E0 4E 80 00 20 */ blr + +.global "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +"__ct__24TCastToPtr<10CGameLight>FP7CEntity": +/* 800ADA84 000AA9E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ADA88 000AA9E8 7C 08 02 A6 */ mflr r0 +/* 800ADA8C 000AA9EC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800ADA90 000AA9F0 3C A0 80 3E */ lis r5, lbl_803DC984@ha +/* 800ADA94 000AA9F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ADA98 000AA9F8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800ADA9C 000AA9FC 28 04 00 00 */ cmplwi r4, 0 +/* 800ADAA0 000AAA00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ADAA4 000AAA04 7C 7F 1B 78 */ mr r31, r3 +/* 800ADAA8 000AAA08 38 65 C9 84 */ addi r3, r5, lbl_803DC984@l +/* 800ADAAC 000AAA0C 90 1F 00 00 */ stw r0, 0(r31) +/* 800ADAB0 000AAA10 38 00 00 00 */ li r0, 0 +/* 800ADAB4 000AAA14 90 7F 00 00 */ stw r3, 0(r31) +/* 800ADAB8 000AAA18 90 1F 00 04 */ stw r0, 4(r31) +/* 800ADABC 000AAA1C 41 82 00 1C */ beq lbl_800ADAD8 +/* 800ADAC0 000AAA20 7C 83 23 78 */ mr r3, r4 +/* 800ADAC4 000AAA24 7F E4 FB 78 */ mr r4, r31 +/* 800ADAC8 000AAA28 81 83 00 00 */ lwz r12, 0(r3) +/* 800ADACC 000AAA2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ADAD0 000AAA30 7D 89 03 A6 */ mtctr r12 +/* 800ADAD4 000AAA34 4E 80 04 21 */ bctrl +lbl_800ADAD8: +/* 800ADAD8 000AAA38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ADADC 000AAA3C 7F E3 FB 78 */ mr r3, r31 +/* 800ADAE0 000AAA40 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ADAE4 000AAA44 7C 08 03 A6 */ mtlr r0 +/* 800ADAE8 000AAA48 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ADAEC 000AAA4C 4E 80 00 20 */ blr + +.global "__ct__24TCastToPtr<10CGameLight>FR7CEntity" +"__ct__24TCastToPtr<10CGameLight>FR7CEntity": +/* 800ADAF0 000AAA50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ADAF4 000AAA54 7C 08 02 A6 */ mflr r0 +/* 800ADAF8 000AAA58 3C A0 80 3E */ lis r5, lbl_803DC984@ha +/* 800ADAFC 000AAA5C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800ADB00 000AAA60 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ADB04 000AAA64 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800ADB08 000AAA68 38 A5 C9 84 */ addi r5, r5, lbl_803DC984@l +/* 800ADB0C 000AAA6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ADB10 000AAA70 7C 7F 1B 78 */ mr r31, r3 +/* 800ADB14 000AAA74 90 03 00 00 */ stw r0, 0(r3) +/* 800ADB18 000AAA78 7C 83 23 78 */ mr r3, r4 +/* 800ADB1C 000AAA7C 38 00 00 00 */ li r0, 0 +/* 800ADB20 000AAA80 7F E4 FB 78 */ mr r4, r31 +/* 800ADB24 000AAA84 90 BF 00 00 */ stw r5, 0(r31) +/* 800ADB28 000AAA88 90 1F 00 04 */ stw r0, 4(r31) +/* 800ADB2C 000AAA8C 81 83 00 00 */ lwz r12, 0(r3) +/* 800ADB30 000AAA90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ADB34 000AAA94 7D 89 03 A6 */ mtctr r12 +/* 800ADB38 000AAA98 4E 80 04 21 */ bctrl +/* 800ADB3C 000AAA9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ADB40 000AAAA0 7F E3 FB 78 */ mr r3, r31 +/* 800ADB44 000AAAA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ADB48 000AAAA8 7C 08 03 A6 */ mtlr r0 +/* 800ADB4C 000AAAAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ADB50 000AAAB0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR7CWeapon" +"Visit__25TCastToPtr<11CGameCamera>FR7CWeapon": +/* 800ADB54 000AAAB4 38 00 00 00 */ li r0, 0 +/* 800ADB58 000AAAB8 90 03 00 04 */ stw r0, 4(r3) +/* 800ADB5C 000AAABC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR17CWallCrawlerSwarm" +"Visit__25TCastToPtr<11CGameCamera>FR17CWallCrawlerSwarm": +/* 800ADB60 000AAAC0 38 00 00 00 */ li r0, 0 +/* 800ADB64 000AAAC4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADB68 000AAAC8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR20CScriptSpindleCamera" +"Visit__25TCastToPtr<11CGameCamera>FR20CScriptSpindleCamera": +/* 800ADB6C 000AAACC 90 83 00 04 */ stw r4, 4(r3) +/* 800ADB70 000AAAD0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR15CSnakeWeedSwarm" +"Visit__25TCastToPtr<11CGameCamera>FR15CSnakeWeedSwarm": +/* 800ADB74 000AAAD4 38 00 00 00 */ li r0, 0 +/* 800ADB78 000AAAD8 90 03 00 04 */ stw r0, 4(r3) +/* 800ADB7C 000AAADC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR15CScriptWaypoint" +"Visit__25TCastToPtr<11CGameCamera>FR15CScriptWaypoint": +/* 800ADB80 000AAAE0 38 00 00 00 */ li r0, 0 +/* 800ADB84 000AAAE4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADB88 000AAAE8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR12CScriptWater" +"Visit__25TCastToPtr<11CGameCamera>FR12CScriptWater": +/* 800ADB8C 000AAAEC 38 00 00 00 */ li r0, 0 +/* 800ADB90 000AAAF0 90 03 00 04 */ stw r0, 4(r3) +/* 800ADB94 000AAAF4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptVisorFlare" +"Visit__25TCastToPtr<11CGameCamera>FR17CScriptVisorFlare": +/* 800ADB98 000AAAF8 38 00 00 00 */ li r0, 0 +/* 800ADB9C 000AAAFC 90 03 00 04 */ stw r0, 4(r3) +/* 800ADBA0 000AAB00 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR14CScriptTrigger" +"Visit__25TCastToPtr<11CGameCamera>FR14CScriptTrigger": +/* 800ADBA4 000AAB04 38 00 00 00 */ li r0, 0 +/* 800ADBA8 000AAB08 90 03 00 04 */ stw r0, 4(r3) +/* 800ADBAC 000AAB0C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR12CScriptTimer" +"Visit__25TCastToPtr<11CGameCamera>FR12CScriptTimer": +/* 800ADBB0 000AAB10 38 00 00 00 */ li r0, 0 +/* 800ADBB4 000AAB14 90 03 00 04 */ stw r0, 4(r3) +/* 800ADBB8 000AAB18 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR10CTeamAiMgr" +"Visit__25TCastToPtr<11CGameCamera>FR10CTeamAiMgr": +/* 800ADBBC 000AAB1C 38 00 00 00 */ li r0, 0 +/* 800ADBC0 000AAB20 90 03 00 04 */ stw r0, 4(r3) +/* 800ADBC4 000AAB24 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR21CScriptTargetingPoint" +"Visit__25TCastToPtr<11CGameCamera>FR21CScriptTargetingPoint": +/* 800ADBC8 000AAB28 38 00 00 00 */ li r0, 0 +/* 800ADBCC 000AAB2C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADBD0 000AAB30 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR25CScriptSpiderBallWaypoint" +"Visit__25TCastToPtr<11CGameCamera>FR25CScriptSpiderBallWaypoint": +/* 800ADBD4 000AAB34 38 00 00 00 */ li r0, 0 +/* 800ADBD8 000AAB38 90 03 00 04 */ stw r0, 4(r3) +/* 800ADBDC 000AAB3C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR34CScriptSpiderBallAttractionSurface" +"Visit__25TCastToPtr<11CGameCamera>FR34CScriptSpiderBallAttractionSurface": +/* 800ADBE0 000AAB40 38 00 00 00 */ li r0, 0 +/* 800ADBE4 000AAB44 90 03 00 04 */ stw r0, 4(r3) +/* 800ADBE8 000AAB48 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR22CScriptSpecialFunction" +"Visit__25TCastToPtr<11CGameCamera>FR22CScriptSpecialFunction": +/* 800ADBEC 000AAB4C 38 00 00 00 */ li r0, 0 +/* 800ADBF0 000AAB50 90 03 00 04 */ stw r0, 4(r3) +/* 800ADBF4 000AAB54 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptSpawnPoint" +"Visit__25TCastToPtr<11CGameCamera>FR17CScriptSpawnPoint": +/* 800ADBF8 000AAB58 38 00 00 00 */ li r0, 0 +/* 800ADBFC 000AAB5C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC00 000AAB60 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR12CScriptSound" +"Visit__25TCastToPtr<11CGameCamera>FR12CScriptSound": +/* 800ADC04 000AAB64 38 00 00 00 */ li r0, 0 +/* 800ADC08 000AAB68 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC0C 000AAB6C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR20CScriptRoomAcoustics" +"Visit__25TCastToPtr<11CGameCamera>FR20CScriptRoomAcoustics": +/* 800ADC10 000AAB70 38 00 00 00 */ li r0, 0 +/* 800ADC14 000AAB74 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC18 000AAB78 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR22CScriptPointOfinterest" +"Visit__25TCastToPtr<11CGameCamera>FR22CScriptPointOfinterest": +/* 800ADC1C 000AAB7C 38 00 00 00 */ li r0, 0 +/* 800ADC20 000AAB80 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC24 000AAB84 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptPlayerHint" +"Visit__25TCastToPtr<11CGameCamera>FR17CScriptPlayerHint": +/* 800ADC28 000AAB88 38 00 00 00 */ li r0, 0 +/* 800ADC2C 000AAB8C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC30 000AAB90 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR15CScriptPlatform" +"Visit__25TCastToPtr<11CGameCamera>FR15CScriptPlatform": +/* 800ADC34 000AAB94 38 00 00 00 */ li r0, 0 +/* 800ADC38 000AAB98 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC3C 000AAB9C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR13CScriptPickup" +"Visit__25TCastToPtr<11CGameCamera>FR13CScriptPickup": +/* 800ADC40 000AABA0 38 00 00 00 */ li r0, 0 +/* 800ADC44 000AABA4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC48 000AABA8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR15CScriptMazeNode" +"Visit__25TCastToPtr<11CGameCamera>FR15CScriptMazeNode": +/* 800ADC4C 000AABAC 38 00 00 00 */ li r0, 0 +/* 800ADC50 000AABB0 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC54 000AABB4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR16CScriptGunTurret" +"Visit__25TCastToPtr<11CGameCamera>FR16CScriptGunTurret": +/* 800ADC58 000AABB8 38 00 00 00 */ li r0, 0 +/* 800ADC5C 000AABBC 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC60 000AABC0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR19CScriptGrapplePoint" +"Visit__25TCastToPtr<11CGameCamera>FR19CScriptGrapplePoint": +/* 800ADC64 000AABC4 38 00 00 00 */ li r0, 0 +/* 800ADC68 000AABC8 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC6C 000AABCC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR13CScriptEffect" +"Visit__25TCastToPtr<11CGameCamera>FR13CScriptEffect": +/* 800ADC70 000AABD0 38 00 00 00 */ li r0, 0 +/* 800ADC74 000AABD4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC78 000AABD8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR11CScriptDoor" +"Visit__25TCastToPtr<11CGameCamera>FR11CScriptDoor": +/* 800ADC7C 000AABDC 38 00 00 00 */ li r0, 0 +/* 800ADC80 000AABE0 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC84 000AABE4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR11CScriptDock" +"Visit__25TCastToPtr<11CGameCamera>FR11CScriptDock": +/* 800ADC88 000AABE8 38 00 00 00 */ li r0, 0 +/* 800ADC8C 000AABEC 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC90 000AABF0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR18CScriptDistanceFog" +"Visit__25TCastToPtr<11CGameCamera>FR18CScriptDistanceFog": +/* 800ADC94 000AABF4 38 00 00 00 */ li r0, 0 +/* 800ADC98 000AABF8 90 03 00 04 */ stw r0, 4(r3) +/* 800ADC9C 000AABFC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR26CScriptDebugCameraWaypoint" +"Visit__25TCastToPtr<11CGameCamera>FR26CScriptDebugCameraWaypoint": +/* 800ADCA0 000AAC00 38 00 00 00 */ li r0, 0 +/* 800ADCA4 000AAC04 90 03 00 04 */ stw r0, 4(r3) +/* 800ADCA8 000AAC08 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptCoverPoint" +"Visit__25TCastToPtr<11CGameCamera>FR17CScriptCoverPoint": +/* 800ADCAC 000AAC0C 38 00 00 00 */ li r0, 0 +/* 800ADCB0 000AAC10 90 03 00 04 */ stw r0, 4(r3) +/* 800ADCB4 000AAC14 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR21CScriptCameraWaypoint" +"Visit__25TCastToPtr<11CGameCamera>FR21CScriptCameraWaypoint": +/* 800ADCB8 000AAC18 38 00 00 00 */ li r0, 0 +/* 800ADCBC 000AAC1C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADCC0 000AAC20 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR24CScriptCameraPitchVolume" +"Visit__25TCastToPtr<11CGameCamera>FR24CScriptCameraPitchVolume": +/* 800ADCC4 000AAC24 38 00 00 00 */ li r0, 0 +/* 800ADCC8 000AAC28 90 03 00 04 */ stw r0, 4(r3) +/* 800ADCCC 000AAC2C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptCameraHint" +"Visit__25TCastToPtr<11CGameCamera>FR17CScriptCameraHint": +/* 800ADCD0 000AAC30 38 00 00 00 */ li r0, 0 +/* 800ADCD4 000AAC34 90 03 00 04 */ stw r0, 4(r3) +/* 800ADCD8 000AAC38 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR18CScriptAiJumpPoint" +"Visit__25TCastToPtr<11CGameCamera>FR18CScriptAiJumpPoint": +/* 800ADCDC 000AAC3C 38 00 00 00 */ li r0, 0 +/* 800ADCE0 000AAC40 90 03 00 04 */ stw r0, 4(r3) +/* 800ADCE4 000AAC44 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR20CScriptActorKeyframe" +"Visit__25TCastToPtr<11CGameCamera>FR20CScriptActorKeyframe": +/* 800ADCE8 000AAC48 38 00 00 00 */ li r0, 0 +/* 800ADCEC 000AAC4C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADCF0 000AAC50 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR12CScriptActor" +"Visit__25TCastToPtr<11CGameCamera>FR12CScriptActor": +/* 800ADCF4 000AAC54 38 00 00 00 */ li r0, 0 +/* 800ADCF8 000AAC58 90 03 00 04 */ stw r0, 4(r3) +/* 800ADCFC 000AAC5C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR9CRepulsor" +"Visit__25TCastToPtr<11CGameCamera>FR9CRepulsor": +/* 800ADD00 000AAC60 38 00 00 00 */ li r0, 0 +/* 800ADD04 000AAC64 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD08 000AAC68 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR7CPlayer" +"Visit__25TCastToPtr<11CGameCamera>FR7CPlayer": +/* 800ADD0C 000AAC6C 38 00 00 00 */ li r0, 0 +/* 800ADD10 000AAC70 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD14 000AAC74 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR13CPhysicsActor" +"Visit__25TCastToPtr<11CGameCamera>FR13CPhysicsActor": +/* 800ADD18 000AAC78 38 00 00 00 */ li r0, 0 +/* 800ADD1C 000AAC7C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD20 000AAC80 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR3CAi" +"Visit__25TCastToPtr<11CGameCamera>FR3CAi": +/* 800ADD24 000AAC84 38 00 00 00 */ li r0, 0 +/* 800ADD28 000AAC88 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD2C 000AAC8C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR11CPathCamera" +"Visit__25TCastToPtr<11CGameCamera>FR11CPathCamera": +/* 800ADD30 000AAC90 90 83 00 04 */ stw r4, 4(r3) +/* 800ADD34 000AAC94 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR18CMetroidPrimeRelay" +"Visit__25TCastToPtr<11CGameCamera>FR18CMetroidPrimeRelay": +/* 800ADD38 000AAC98 38 00 00 00 */ li r0, 0 +/* 800ADD3C 000AAC9C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD40 000AACA0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR19CHUDBillboardEffect" +"Visit__25TCastToPtr<11CGameCamera>FR19CHUDBillboardEffect": +/* 800ADD44 000AACA4 38 00 00 00 */ li r0, 0 +/* 800ADD48 000AACA8 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD4C 000AACAC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR15CGameProjectile" +"Visit__25TCastToPtr<11CGameCamera>FR15CGameProjectile": +/* 800ADD50 000AACB0 38 00 00 00 */ li r0, 0 +/* 800ADD54 000AACB4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD58 000AACB8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR10CGameLight" +"Visit__25TCastToPtr<11CGameCamera>FR10CGameLight": +/* 800ADD5C 000AACBC 38 00 00 00 */ li r0, 0 +/* 800ADD60 000AACC0 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD64 000AACC4 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR11CGameCamera" +"Visit__25TCastToPtr<11CGameCamera>FR11CGameCamera": +/* 800ADD68 000AACC8 90 83 00 04 */ stw r4, 4(r3) +/* 800ADD6C 000AACCC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR10CFishCloud" +"Visit__25TCastToPtr<11CGameCamera>FR10CFishCloud": +/* 800ADD70 000AACD0 38 00 00 00 */ li r0, 0 +/* 800ADD74 000AACD4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD78 000AACD8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR18CFirstPersonCamera" +"Visit__25TCastToPtr<11CGameCamera>FR18CFirstPersonCamera": +/* 800ADD7C 000AACDC 90 83 00 04 */ stw r4, 4(r3) +/* 800ADD80 000AACE0 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR10CExplosion" +"Visit__25TCastToPtr<11CGameCamera>FR10CExplosion": +/* 800ADD84 000AACE4 38 00 00 00 */ li r0, 0 +/* 800ADD88 000AACE8 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD8C 000AACEC 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR7CEntity" +"Visit__25TCastToPtr<11CGameCamera>FR7CEntity": +/* 800ADD90 000AACF0 38 00 00 00 */ li r0, 0 +/* 800ADD94 000AACF4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADD98 000AACF8 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR17CEnergyProjectile" +"Visit__25TCastToPtr<11CGameCamera>FR17CEnergyProjectile": +/* 800ADD9C 000AACFC 38 00 00 00 */ li r0, 0 +/* 800ADDA0 000AAD00 90 03 00 04 */ stw r0, 4(r3) +/* 800ADDA4 000AAD04 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR16CDestroyableRock" +"Visit__25TCastToPtr<11CGameCamera>FR16CDestroyableRock": +/* 800ADDA8 000AAD08 38 00 00 00 */ li r0, 0 +/* 800ADDAC 000AAD0C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADDB0 000AAD10 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR15CCollisionActor" +"Visit__25TCastToPtr<11CGameCamera>FR15CCollisionActor": +/* 800ADDB4 000AAD14 38 00 00 00 */ li r0, 0 +/* 800ADDB8 000AAD18 90 03 00 04 */ stw r0, 4(r3) +/* 800ADDBC 000AAD1C 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR16CCinematicCamera" +"Visit__25TCastToPtr<11CGameCamera>FR16CCinematicCamera": +/* 800ADDC0 000AAD20 90 83 00 04 */ stw r4, 4(r3) +/* 800ADDC4 000AAD24 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR5CBomb" +"Visit__25TCastToPtr<11CGameCamera>FR5CBomb": +/* 800ADDC8 000AAD28 38 00 00 00 */ li r0, 0 +/* 800ADDCC 000AAD2C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADDD0 000AAD30 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR11CBallCamera" +"Visit__25TCastToPtr<11CGameCamera>FR11CBallCamera": +/* 800ADDD4 000AAD34 90 83 00 04 */ stw r4, 4(r3) +/* 800ADDD8 000AAD38 4E 80 00 20 */ blr + +.global "Visit__25TCastToPtr<11CGameCamera>FR6CActor" +"Visit__25TCastToPtr<11CGameCamera>FR6CActor": +/* 800ADDDC 000AAD3C 38 00 00 00 */ li r0, 0 +/* 800ADDE0 000AAD40 90 03 00 04 */ stw r0, 4(r3) +/* 800ADDE4 000AAD44 4E 80 00 20 */ blr + +.global "__ct__25TCastToPtr<11CGameCamera>FP7CEntity" +"__ct__25TCastToPtr<11CGameCamera>FP7CEntity": +/* 800ADDE8 000AAD48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ADDEC 000AAD4C 7C 08 02 A6 */ mflr r0 +/* 800ADDF0 000AAD50 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800ADDF4 000AAD54 3C A0 80 3E */ lis r5, lbl_803DC898@ha +/* 800ADDF8 000AAD58 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ADDFC 000AAD5C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800ADE00 000AAD60 28 04 00 00 */ cmplwi r4, 0 +/* 800ADE04 000AAD64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ADE08 000AAD68 7C 7F 1B 78 */ mr r31, r3 +/* 800ADE0C 000AAD6C 38 65 C8 98 */ addi r3, r5, lbl_803DC898@l +/* 800ADE10 000AAD70 90 1F 00 00 */ stw r0, 0(r31) +/* 800ADE14 000AAD74 38 00 00 00 */ li r0, 0 +/* 800ADE18 000AAD78 90 7F 00 00 */ stw r3, 0(r31) +/* 800ADE1C 000AAD7C 90 1F 00 04 */ stw r0, 4(r31) +/* 800ADE20 000AAD80 41 82 00 1C */ beq lbl_800ADE3C +/* 800ADE24 000AAD84 7C 83 23 78 */ mr r3, r4 +/* 800ADE28 000AAD88 7F E4 FB 78 */ mr r4, r31 +/* 800ADE2C 000AAD8C 81 83 00 00 */ lwz r12, 0(r3) +/* 800ADE30 000AAD90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ADE34 000AAD94 7D 89 03 A6 */ mtctr r12 +/* 800ADE38 000AAD98 4E 80 04 21 */ bctrl +lbl_800ADE3C: +/* 800ADE3C 000AAD9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ADE40 000AADA0 7F E3 FB 78 */ mr r3, r31 +/* 800ADE44 000AADA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ADE48 000AADA8 7C 08 03 A6 */ mtlr r0 +/* 800ADE4C 000AADAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ADE50 000AADB0 4E 80 00 20 */ blr + +.global "__ct__25TCastToPtr<11CGameCamera>FR7CEntity" +"__ct__25TCastToPtr<11CGameCamera>FR7CEntity": +/* 800ADE54 000AADB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ADE58 000AADB8 7C 08 02 A6 */ mflr r0 +/* 800ADE5C 000AADBC 3C A0 80 3E */ lis r5, lbl_803DC898@ha +/* 800ADE60 000AADC0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800ADE64 000AADC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ADE68 000AADC8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800ADE6C 000AADCC 38 A5 C8 98 */ addi r5, r5, lbl_803DC898@l +/* 800ADE70 000AADD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ADE74 000AADD4 7C 7F 1B 78 */ mr r31, r3 +/* 800ADE78 000AADD8 90 03 00 00 */ stw r0, 0(r3) +/* 800ADE7C 000AADDC 7C 83 23 78 */ mr r3, r4 +/* 800ADE80 000AADE0 38 00 00 00 */ li r0, 0 +/* 800ADE84 000AADE4 7F E4 FB 78 */ mr r4, r31 +/* 800ADE88 000AADE8 90 BF 00 00 */ stw r5, 0(r31) +/* 800ADE8C 000AADEC 90 1F 00 04 */ stw r0, 4(r31) +/* 800ADE90 000AADF0 81 83 00 00 */ lwz r12, 0(r3) +/* 800ADE94 000AADF4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ADE98 000AADF8 7D 89 03 A6 */ mtctr r12 +/* 800ADE9C 000AADFC 4E 80 04 21 */ bctrl +/* 800ADEA0 000AAE00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ADEA4 000AAE04 7F E3 FB 78 */ mr r3, r31 +/* 800ADEA8 000AAE08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ADEAC 000AAE0C 7C 08 03 A6 */ mtlr r0 +/* 800ADEB0 000AAE10 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ADEB4 000AAE14 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR7CWeapon" +"Visit__24TCastToPtr<10CFishCloud>FR7CWeapon": +/* 800ADEB8 000AAE18 38 00 00 00 */ li r0, 0 +/* 800ADEBC 000AAE1C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADEC0 000AAE20 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR17CWallCrawlerSwarm" +"Visit__24TCastToPtr<10CFishCloud>FR17CWallCrawlerSwarm": +/* 800ADEC4 000AAE24 38 00 00 00 */ li r0, 0 +/* 800ADEC8 000AAE28 90 03 00 04 */ stw r0, 4(r3) +/* 800ADECC 000AAE2C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR20CScriptSpindleCamera" +"Visit__24TCastToPtr<10CFishCloud>FR20CScriptSpindleCamera": +/* 800ADED0 000AAE30 38 00 00 00 */ li r0, 0 +/* 800ADED4 000AAE34 90 03 00 04 */ stw r0, 4(r3) +/* 800ADED8 000AAE38 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR15CSnakeWeedSwarm" +"Visit__24TCastToPtr<10CFishCloud>FR15CSnakeWeedSwarm": +/* 800ADEDC 000AAE3C 38 00 00 00 */ li r0, 0 +/* 800ADEE0 000AAE40 90 03 00 04 */ stw r0, 4(r3) +/* 800ADEE4 000AAE44 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR15CScriptWaypoint" +"Visit__24TCastToPtr<10CFishCloud>FR15CScriptWaypoint": +/* 800ADEE8 000AAE48 38 00 00 00 */ li r0, 0 +/* 800ADEEC 000AAE4C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADEF0 000AAE50 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR12CScriptWater" +"Visit__24TCastToPtr<10CFishCloud>FR12CScriptWater": +/* 800ADEF4 000AAE54 38 00 00 00 */ li r0, 0 +/* 800ADEF8 000AAE58 90 03 00 04 */ stw r0, 4(r3) +/* 800ADEFC 000AAE5C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptVisorFlare" +"Visit__24TCastToPtr<10CFishCloud>FR17CScriptVisorFlare": +/* 800ADF00 000AAE60 38 00 00 00 */ li r0, 0 +/* 800ADF04 000AAE64 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF08 000AAE68 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR14CScriptTrigger" +"Visit__24TCastToPtr<10CFishCloud>FR14CScriptTrigger": +/* 800ADF0C 000AAE6C 38 00 00 00 */ li r0, 0 +/* 800ADF10 000AAE70 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF14 000AAE74 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR12CScriptTimer" +"Visit__24TCastToPtr<10CFishCloud>FR12CScriptTimer": +/* 800ADF18 000AAE78 38 00 00 00 */ li r0, 0 +/* 800ADF1C 000AAE7C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF20 000AAE80 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR10CTeamAiMgr" +"Visit__24TCastToPtr<10CFishCloud>FR10CTeamAiMgr": +/* 800ADF24 000AAE84 38 00 00 00 */ li r0, 0 +/* 800ADF28 000AAE88 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF2C 000AAE8C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR21CScriptTargetingPoint" +"Visit__24TCastToPtr<10CFishCloud>FR21CScriptTargetingPoint": +/* 800ADF30 000AAE90 38 00 00 00 */ li r0, 0 +/* 800ADF34 000AAE94 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF38 000AAE98 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR25CScriptSpiderBallWaypoint" +"Visit__24TCastToPtr<10CFishCloud>FR25CScriptSpiderBallWaypoint": +/* 800ADF3C 000AAE9C 38 00 00 00 */ li r0, 0 +/* 800ADF40 000AAEA0 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF44 000AAEA4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR34CScriptSpiderBallAttractionSurface" +"Visit__24TCastToPtr<10CFishCloud>FR34CScriptSpiderBallAttractionSurface": +/* 800ADF48 000AAEA8 38 00 00 00 */ li r0, 0 +/* 800ADF4C 000AAEAC 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF50 000AAEB0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR22CScriptSpecialFunction" +"Visit__24TCastToPtr<10CFishCloud>FR22CScriptSpecialFunction": +/* 800ADF54 000AAEB4 38 00 00 00 */ li r0, 0 +/* 800ADF58 000AAEB8 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF5C 000AAEBC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptSpawnPoint" +"Visit__24TCastToPtr<10CFishCloud>FR17CScriptSpawnPoint": +/* 800ADF60 000AAEC0 38 00 00 00 */ li r0, 0 +/* 800ADF64 000AAEC4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF68 000AAEC8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR12CScriptSound" +"Visit__24TCastToPtr<10CFishCloud>FR12CScriptSound": +/* 800ADF6C 000AAECC 38 00 00 00 */ li r0, 0 +/* 800ADF70 000AAED0 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF74 000AAED4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR20CScriptRoomAcoustics" +"Visit__24TCastToPtr<10CFishCloud>FR20CScriptRoomAcoustics": +/* 800ADF78 000AAED8 38 00 00 00 */ li r0, 0 +/* 800ADF7C 000AAEDC 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF80 000AAEE0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR22CScriptPointOfinterest" +"Visit__24TCastToPtr<10CFishCloud>FR22CScriptPointOfinterest": +/* 800ADF84 000AAEE4 38 00 00 00 */ li r0, 0 +/* 800ADF88 000AAEE8 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF8C 000AAEEC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptPlayerHint" +"Visit__24TCastToPtr<10CFishCloud>FR17CScriptPlayerHint": +/* 800ADF90 000AAEF0 38 00 00 00 */ li r0, 0 +/* 800ADF94 000AAEF4 90 03 00 04 */ stw r0, 4(r3) +/* 800ADF98 000AAEF8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR15CScriptPlatform" +"Visit__24TCastToPtr<10CFishCloud>FR15CScriptPlatform": +/* 800ADF9C 000AAEFC 38 00 00 00 */ li r0, 0 +/* 800ADFA0 000AAF00 90 03 00 04 */ stw r0, 4(r3) +/* 800ADFA4 000AAF04 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR13CScriptPickup" +"Visit__24TCastToPtr<10CFishCloud>FR13CScriptPickup": +/* 800ADFA8 000AAF08 38 00 00 00 */ li r0, 0 +/* 800ADFAC 000AAF0C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADFB0 000AAF10 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR15CScriptMazeNode" +"Visit__24TCastToPtr<10CFishCloud>FR15CScriptMazeNode": +/* 800ADFB4 000AAF14 38 00 00 00 */ li r0, 0 +/* 800ADFB8 000AAF18 90 03 00 04 */ stw r0, 4(r3) +/* 800ADFBC 000AAF1C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR16CScriptGunTurret" +"Visit__24TCastToPtr<10CFishCloud>FR16CScriptGunTurret": +/* 800ADFC0 000AAF20 38 00 00 00 */ li r0, 0 +/* 800ADFC4 000AAF24 90 03 00 04 */ stw r0, 4(r3) +/* 800ADFC8 000AAF28 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR19CScriptGrapplePoint" +"Visit__24TCastToPtr<10CFishCloud>FR19CScriptGrapplePoint": +/* 800ADFCC 000AAF2C 38 00 00 00 */ li r0, 0 +/* 800ADFD0 000AAF30 90 03 00 04 */ stw r0, 4(r3) +/* 800ADFD4 000AAF34 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR13CScriptEffect" +"Visit__24TCastToPtr<10CFishCloud>FR13CScriptEffect": +/* 800ADFD8 000AAF38 38 00 00 00 */ li r0, 0 +/* 800ADFDC 000AAF3C 90 03 00 04 */ stw r0, 4(r3) +/* 800ADFE0 000AAF40 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR11CScriptDoor" +"Visit__24TCastToPtr<10CFishCloud>FR11CScriptDoor": +/* 800ADFE4 000AAF44 38 00 00 00 */ li r0, 0 +/* 800ADFE8 000AAF48 90 03 00 04 */ stw r0, 4(r3) +/* 800ADFEC 000AAF4C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR11CScriptDock" +"Visit__24TCastToPtr<10CFishCloud>FR11CScriptDock": +/* 800ADFF0 000AAF50 38 00 00 00 */ li r0, 0 +/* 800ADFF4 000AAF54 90 03 00 04 */ stw r0, 4(r3) +/* 800ADFF8 000AAF58 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR18CScriptDistanceFog" +"Visit__24TCastToPtr<10CFishCloud>FR18CScriptDistanceFog": +/* 800ADFFC 000AAF5C 38 00 00 00 */ li r0, 0 +/* 800AE000 000AAF60 90 03 00 04 */ stw r0, 4(r3) +/* 800AE004 000AAF64 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR26CScriptDebugCameraWaypoint" +"Visit__24TCastToPtr<10CFishCloud>FR26CScriptDebugCameraWaypoint": +/* 800AE008 000AAF68 38 00 00 00 */ li r0, 0 +/* 800AE00C 000AAF6C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE010 000AAF70 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptCoverPoint" +"Visit__24TCastToPtr<10CFishCloud>FR17CScriptCoverPoint": +/* 800AE014 000AAF74 38 00 00 00 */ li r0, 0 +/* 800AE018 000AAF78 90 03 00 04 */ stw r0, 4(r3) +/* 800AE01C 000AAF7C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR21CScriptCameraWaypoint" +"Visit__24TCastToPtr<10CFishCloud>FR21CScriptCameraWaypoint": +/* 800AE020 000AAF80 38 00 00 00 */ li r0, 0 +/* 800AE024 000AAF84 90 03 00 04 */ stw r0, 4(r3) +/* 800AE028 000AAF88 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR24CScriptCameraPitchVolume" +"Visit__24TCastToPtr<10CFishCloud>FR24CScriptCameraPitchVolume": +/* 800AE02C 000AAF8C 38 00 00 00 */ li r0, 0 +/* 800AE030 000AAF90 90 03 00 04 */ stw r0, 4(r3) +/* 800AE034 000AAF94 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptCameraHint" +"Visit__24TCastToPtr<10CFishCloud>FR17CScriptCameraHint": +/* 800AE038 000AAF98 38 00 00 00 */ li r0, 0 +/* 800AE03C 000AAF9C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE040 000AAFA0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR18CScriptAiJumpPoint" +"Visit__24TCastToPtr<10CFishCloud>FR18CScriptAiJumpPoint": +/* 800AE044 000AAFA4 38 00 00 00 */ li r0, 0 +/* 800AE048 000AAFA8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE04C 000AAFAC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR20CScriptActorKeyframe" +"Visit__24TCastToPtr<10CFishCloud>FR20CScriptActorKeyframe": +/* 800AE050 000AAFB0 38 00 00 00 */ li r0, 0 +/* 800AE054 000AAFB4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE058 000AAFB8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR12CScriptActor" +"Visit__24TCastToPtr<10CFishCloud>FR12CScriptActor": +/* 800AE05C 000AAFBC 38 00 00 00 */ li r0, 0 +/* 800AE060 000AAFC0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE064 000AAFC4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR9CRepulsor" +"Visit__24TCastToPtr<10CFishCloud>FR9CRepulsor": +/* 800AE068 000AAFC8 38 00 00 00 */ li r0, 0 +/* 800AE06C 000AAFCC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE070 000AAFD0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR7CPlayer" +"Visit__24TCastToPtr<10CFishCloud>FR7CPlayer": +/* 800AE074 000AAFD4 38 00 00 00 */ li r0, 0 +/* 800AE078 000AAFD8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE07C 000AAFDC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR13CPhysicsActor" +"Visit__24TCastToPtr<10CFishCloud>FR13CPhysicsActor": +/* 800AE080 000AAFE0 38 00 00 00 */ li r0, 0 +/* 800AE084 000AAFE4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE088 000AAFE8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR3CAi" +"Visit__24TCastToPtr<10CFishCloud>FR3CAi": +/* 800AE08C 000AAFEC 38 00 00 00 */ li r0, 0 +/* 800AE090 000AAFF0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE094 000AAFF4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR11CPathCamera" +"Visit__24TCastToPtr<10CFishCloud>FR11CPathCamera": +/* 800AE098 000AAFF8 38 00 00 00 */ li r0, 0 +/* 800AE09C 000AAFFC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE0A0 000AB000 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR18CMetroidPrimeRelay" +"Visit__24TCastToPtr<10CFishCloud>FR18CMetroidPrimeRelay": +/* 800AE0A4 000AB004 38 00 00 00 */ li r0, 0 +/* 800AE0A8 000AB008 90 03 00 04 */ stw r0, 4(r3) +/* 800AE0AC 000AB00C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR19CHUDBillboardEffect" +"Visit__24TCastToPtr<10CFishCloud>FR19CHUDBillboardEffect": +/* 800AE0B0 000AB010 38 00 00 00 */ li r0, 0 +/* 800AE0B4 000AB014 90 03 00 04 */ stw r0, 4(r3) +/* 800AE0B8 000AB018 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR15CGameProjectile" +"Visit__24TCastToPtr<10CFishCloud>FR15CGameProjectile": +/* 800AE0BC 000AB01C 38 00 00 00 */ li r0, 0 +/* 800AE0C0 000AB020 90 03 00 04 */ stw r0, 4(r3) +/* 800AE0C4 000AB024 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR10CGameLight" +"Visit__24TCastToPtr<10CFishCloud>FR10CGameLight": +/* 800AE0C8 000AB028 38 00 00 00 */ li r0, 0 +/* 800AE0CC 000AB02C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE0D0 000AB030 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR11CGameCamera" +"Visit__24TCastToPtr<10CFishCloud>FR11CGameCamera": +/* 800AE0D4 000AB034 38 00 00 00 */ li r0, 0 +/* 800AE0D8 000AB038 90 03 00 04 */ stw r0, 4(r3) +/* 800AE0DC 000AB03C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR10CFishCloud" +"Visit__24TCastToPtr<10CFishCloud>FR10CFishCloud": +/* 800AE0E0 000AB040 90 83 00 04 */ stw r4, 4(r3) +/* 800AE0E4 000AB044 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR18CFirstPersonCamera" +"Visit__24TCastToPtr<10CFishCloud>FR18CFirstPersonCamera": +/* 800AE0E8 000AB048 38 00 00 00 */ li r0, 0 +/* 800AE0EC 000AB04C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE0F0 000AB050 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR10CExplosion" +"Visit__24TCastToPtr<10CFishCloud>FR10CExplosion": +/* 800AE0F4 000AB054 38 00 00 00 */ li r0, 0 +/* 800AE0F8 000AB058 90 03 00 04 */ stw r0, 4(r3) +/* 800AE0FC 000AB05C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR7CEntity" +"Visit__24TCastToPtr<10CFishCloud>FR7CEntity": +/* 800AE100 000AB060 38 00 00 00 */ li r0, 0 +/* 800AE104 000AB064 90 03 00 04 */ stw r0, 4(r3) +/* 800AE108 000AB068 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR17CEnergyProjectile" +"Visit__24TCastToPtr<10CFishCloud>FR17CEnergyProjectile": +/* 800AE10C 000AB06C 38 00 00 00 */ li r0, 0 +/* 800AE110 000AB070 90 03 00 04 */ stw r0, 4(r3) +/* 800AE114 000AB074 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR16CDestroyableRock" +"Visit__24TCastToPtr<10CFishCloud>FR16CDestroyableRock": +/* 800AE118 000AB078 38 00 00 00 */ li r0, 0 +/* 800AE11C 000AB07C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE120 000AB080 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR15CCollisionActor" +"Visit__24TCastToPtr<10CFishCloud>FR15CCollisionActor": +/* 800AE124 000AB084 38 00 00 00 */ li r0, 0 +/* 800AE128 000AB088 90 03 00 04 */ stw r0, 4(r3) +/* 800AE12C 000AB08C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR16CCinematicCamera" +"Visit__24TCastToPtr<10CFishCloud>FR16CCinematicCamera": +/* 800AE130 000AB090 38 00 00 00 */ li r0, 0 +/* 800AE134 000AB094 90 03 00 04 */ stw r0, 4(r3) +/* 800AE138 000AB098 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR5CBomb" +"Visit__24TCastToPtr<10CFishCloud>FR5CBomb": +/* 800AE13C 000AB09C 38 00 00 00 */ li r0, 0 +/* 800AE140 000AB0A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE144 000AB0A4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR11CBallCamera" +"Visit__24TCastToPtr<10CFishCloud>FR11CBallCamera": +/* 800AE148 000AB0A8 38 00 00 00 */ li r0, 0 +/* 800AE14C 000AB0AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE150 000AB0B0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CFishCloud>FR6CActor" +"Visit__24TCastToPtr<10CFishCloud>FR6CActor": +/* 800AE154 000AB0B4 38 00 00 00 */ li r0, 0 +/* 800AE158 000AB0B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE15C 000AB0BC 4E 80 00 20 */ blr + +.global "__ct__24TCastToPtr<10CFishCloud>FP7CEntity" +"__ct__24TCastToPtr<10CFishCloud>FP7CEntity": +/* 800AE160 000AB0C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AE164 000AB0C4 7C 08 02 A6 */ mflr r0 +/* 800AE168 000AB0C8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AE16C 000AB0CC 3C A0 80 3E */ lis r5, lbl_803DC7AC@ha +/* 800AE170 000AB0D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AE174 000AB0D4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AE178 000AB0D8 28 04 00 00 */ cmplwi r4, 0 +/* 800AE17C 000AB0DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AE180 000AB0E0 7C 7F 1B 78 */ mr r31, r3 +/* 800AE184 000AB0E4 38 65 C7 AC */ addi r3, r5, lbl_803DC7AC@l +/* 800AE188 000AB0E8 90 1F 00 00 */ stw r0, 0(r31) +/* 800AE18C 000AB0EC 38 00 00 00 */ li r0, 0 +/* 800AE190 000AB0F0 90 7F 00 00 */ stw r3, 0(r31) +/* 800AE194 000AB0F4 90 1F 00 04 */ stw r0, 4(r31) +/* 800AE198 000AB0F8 41 82 00 1C */ beq lbl_800AE1B4 +/* 800AE19C 000AB0FC 7C 83 23 78 */ mr r3, r4 +/* 800AE1A0 000AB100 7F E4 FB 78 */ mr r4, r31 +/* 800AE1A4 000AB104 81 83 00 00 */ lwz r12, 0(r3) +/* 800AE1A8 000AB108 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AE1AC 000AB10C 7D 89 03 A6 */ mtctr r12 +/* 800AE1B0 000AB110 4E 80 04 21 */ bctrl +lbl_800AE1B4: +/* 800AE1B4 000AB114 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AE1B8 000AB118 7F E3 FB 78 */ mr r3, r31 +/* 800AE1BC 000AB11C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AE1C0 000AB120 7C 08 03 A6 */ mtlr r0 +/* 800AE1C4 000AB124 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AE1C8 000AB128 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR7CWeapon" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR7CWeapon": +/* 800AE1CC 000AB12C 38 00 00 00 */ li r0, 0 +/* 800AE1D0 000AB130 90 03 00 04 */ stw r0, 4(r3) +/* 800AE1D4 000AB134 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CWallCrawlerSwarm" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CWallCrawlerSwarm": +/* 800AE1D8 000AB138 38 00 00 00 */ li r0, 0 +/* 800AE1DC 000AB13C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE1E0 000AB140 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptSpindleCamera" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptSpindleCamera": +/* 800AE1E4 000AB144 38 00 00 00 */ li r0, 0 +/* 800AE1E8 000AB148 90 03 00 04 */ stw r0, 4(r3) +/* 800AE1EC 000AB14C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CSnakeWeedSwarm" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CSnakeWeedSwarm": +/* 800AE1F0 000AB150 38 00 00 00 */ li r0, 0 +/* 800AE1F4 000AB154 90 03 00 04 */ stw r0, 4(r3) +/* 800AE1F8 000AB158 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptWaypoint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptWaypoint": +/* 800AE1FC 000AB15C 38 00 00 00 */ li r0, 0 +/* 800AE200 000AB160 90 03 00 04 */ stw r0, 4(r3) +/* 800AE204 000AB164 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptWater" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptWater": +/* 800AE208 000AB168 38 00 00 00 */ li r0, 0 +/* 800AE20C 000AB16C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE210 000AB170 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptVisorFlare" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptVisorFlare": +/* 800AE214 000AB174 38 00 00 00 */ li r0, 0 +/* 800AE218 000AB178 90 03 00 04 */ stw r0, 4(r3) +/* 800AE21C 000AB17C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR14CScriptTrigger" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR14CScriptTrigger": +/* 800AE220 000AB180 38 00 00 00 */ li r0, 0 +/* 800AE224 000AB184 90 03 00 04 */ stw r0, 4(r3) +/* 800AE228 000AB188 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptTimer" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptTimer": +/* 800AE22C 000AB18C 38 00 00 00 */ li r0, 0 +/* 800AE230 000AB190 90 03 00 04 */ stw r0, 4(r3) +/* 800AE234 000AB194 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR10CTeamAiMgr" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR10CTeamAiMgr": +/* 800AE238 000AB198 38 00 00 00 */ li r0, 0 +/* 800AE23C 000AB19C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE240 000AB1A0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR21CScriptTargetingPoint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR21CScriptTargetingPoint": +/* 800AE244 000AB1A4 38 00 00 00 */ li r0, 0 +/* 800AE248 000AB1A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE24C 000AB1AC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR25CScriptSpiderBallWaypoint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR25CScriptSpiderBallWaypoint": +/* 800AE250 000AB1B0 38 00 00 00 */ li r0, 0 +/* 800AE254 000AB1B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE258 000AB1B8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR34CScriptSpiderBallAttractionSurface" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR34CScriptSpiderBallAttractionSurface": +/* 800AE25C 000AB1BC 38 00 00 00 */ li r0, 0 +/* 800AE260 000AB1C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE264 000AB1C4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR22CScriptSpecialFunction" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR22CScriptSpecialFunction": +/* 800AE268 000AB1C8 38 00 00 00 */ li r0, 0 +/* 800AE26C 000AB1CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE270 000AB1D0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptSpawnPoint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptSpawnPoint": +/* 800AE274 000AB1D4 38 00 00 00 */ li r0, 0 +/* 800AE278 000AB1D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE27C 000AB1DC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptSound" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptSound": +/* 800AE280 000AB1E0 38 00 00 00 */ li r0, 0 +/* 800AE284 000AB1E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE288 000AB1E8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptRoomAcoustics" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptRoomAcoustics": +/* 800AE28C 000AB1EC 38 00 00 00 */ li r0, 0 +/* 800AE290 000AB1F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE294 000AB1F4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR22CScriptPointOfinterest" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR22CScriptPointOfinterest": +/* 800AE298 000AB1F8 38 00 00 00 */ li r0, 0 +/* 800AE29C 000AB1FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE2A0 000AB200 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptPlayerHint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptPlayerHint": +/* 800AE2A4 000AB204 38 00 00 00 */ li r0, 0 +/* 800AE2A8 000AB208 90 03 00 04 */ stw r0, 4(r3) +/* 800AE2AC 000AB20C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptPlatform" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptPlatform": +/* 800AE2B0 000AB210 38 00 00 00 */ li r0, 0 +/* 800AE2B4 000AB214 90 03 00 04 */ stw r0, 4(r3) +/* 800AE2B8 000AB218 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR13CScriptPickup" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR13CScriptPickup": +/* 800AE2BC 000AB21C 38 00 00 00 */ li r0, 0 +/* 800AE2C0 000AB220 90 03 00 04 */ stw r0, 4(r3) +/* 800AE2C4 000AB224 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptMazeNode" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptMazeNode": +/* 800AE2C8 000AB228 38 00 00 00 */ li r0, 0 +/* 800AE2CC 000AB22C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE2D0 000AB230 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR16CScriptGunTurret" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR16CScriptGunTurret": +/* 800AE2D4 000AB234 38 00 00 00 */ li r0, 0 +/* 800AE2D8 000AB238 90 03 00 04 */ stw r0, 4(r3) +/* 800AE2DC 000AB23C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR19CScriptGrapplePoint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR19CScriptGrapplePoint": +/* 800AE2E0 000AB240 38 00 00 00 */ li r0, 0 +/* 800AE2E4 000AB244 90 03 00 04 */ stw r0, 4(r3) +/* 800AE2E8 000AB248 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR13CScriptEffect" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR13CScriptEffect": +/* 800AE2EC 000AB24C 38 00 00 00 */ li r0, 0 +/* 800AE2F0 000AB250 90 03 00 04 */ stw r0, 4(r3) +/* 800AE2F4 000AB254 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CScriptDoor" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CScriptDoor": +/* 800AE2F8 000AB258 38 00 00 00 */ li r0, 0 +/* 800AE2FC 000AB25C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE300 000AB260 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CScriptDock" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CScriptDock": +/* 800AE304 000AB264 38 00 00 00 */ li r0, 0 +/* 800AE308 000AB268 90 03 00 04 */ stw r0, 4(r3) +/* 800AE30C 000AB26C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR18CScriptDistanceFog" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR18CScriptDistanceFog": +/* 800AE310 000AB270 38 00 00 00 */ li r0, 0 +/* 800AE314 000AB274 90 03 00 04 */ stw r0, 4(r3) +/* 800AE318 000AB278 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR26CScriptDebugCameraWaypoint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR26CScriptDebugCameraWaypoint": +/* 800AE31C 000AB27C 38 00 00 00 */ li r0, 0 +/* 800AE320 000AB280 90 03 00 04 */ stw r0, 4(r3) +/* 800AE324 000AB284 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptCoverPoint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptCoverPoint": +/* 800AE328 000AB288 38 00 00 00 */ li r0, 0 +/* 800AE32C 000AB28C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE330 000AB290 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR21CScriptCameraWaypoint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR21CScriptCameraWaypoint": +/* 800AE334 000AB294 38 00 00 00 */ li r0, 0 +/* 800AE338 000AB298 90 03 00 04 */ stw r0, 4(r3) +/* 800AE33C 000AB29C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR24CScriptCameraPitchVolume" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR24CScriptCameraPitchVolume": +/* 800AE340 000AB2A0 38 00 00 00 */ li r0, 0 +/* 800AE344 000AB2A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE348 000AB2A8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptCameraHint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptCameraHint": +/* 800AE34C 000AB2AC 38 00 00 00 */ li r0, 0 +/* 800AE350 000AB2B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE354 000AB2B4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR18CScriptAiJumpPoint" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR18CScriptAiJumpPoint": +/* 800AE358 000AB2B8 38 00 00 00 */ li r0, 0 +/* 800AE35C 000AB2BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE360 000AB2C0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptActorKeyframe" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptActorKeyframe": +/* 800AE364 000AB2C4 38 00 00 00 */ li r0, 0 +/* 800AE368 000AB2C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE36C 000AB2CC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptActor" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptActor": +/* 800AE370 000AB2D0 38 00 00 00 */ li r0, 0 +/* 800AE374 000AB2D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE378 000AB2D8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR9CRepulsor" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR9CRepulsor": +/* 800AE37C 000AB2DC 38 00 00 00 */ li r0, 0 +/* 800AE380 000AB2E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE384 000AB2E4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR7CPlayer" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR7CPlayer": +/* 800AE388 000AB2E8 38 00 00 00 */ li r0, 0 +/* 800AE38C 000AB2EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE390 000AB2F0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR13CPhysicsActor" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR13CPhysicsActor": +/* 800AE394 000AB2F4 38 00 00 00 */ li r0, 0 +/* 800AE398 000AB2F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE39C 000AB2FC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR3CAi" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR3CAi": +/* 800AE3A0 000AB300 38 00 00 00 */ li r0, 0 +/* 800AE3A4 000AB304 90 03 00 04 */ stw r0, 4(r3) +/* 800AE3A8 000AB308 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CPathCamera" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CPathCamera": +/* 800AE3AC 000AB30C 38 00 00 00 */ li r0, 0 +/* 800AE3B0 000AB310 90 03 00 04 */ stw r0, 4(r3) +/* 800AE3B4 000AB314 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR18CMetroidPrimeRelay" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR18CMetroidPrimeRelay": +/* 800AE3B8 000AB318 38 00 00 00 */ li r0, 0 +/* 800AE3BC 000AB31C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE3C0 000AB320 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR19CHUDBillboardEffect" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR19CHUDBillboardEffect": +/* 800AE3C4 000AB324 38 00 00 00 */ li r0, 0 +/* 800AE3C8 000AB328 90 03 00 04 */ stw r0, 4(r3) +/* 800AE3CC 000AB32C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CGameProjectile" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CGameProjectile": +/* 800AE3D0 000AB330 38 00 00 00 */ li r0, 0 +/* 800AE3D4 000AB334 90 03 00 04 */ stw r0, 4(r3) +/* 800AE3D8 000AB338 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR10CGameLight" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR10CGameLight": +/* 800AE3DC 000AB33C 38 00 00 00 */ li r0, 0 +/* 800AE3E0 000AB340 90 03 00 04 */ stw r0, 4(r3) +/* 800AE3E4 000AB344 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CGameCamera" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CGameCamera": +/* 800AE3E8 000AB348 38 00 00 00 */ li r0, 0 +/* 800AE3EC 000AB34C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE3F0 000AB350 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR10CFishCloud" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR10CFishCloud": +/* 800AE3F4 000AB354 38 00 00 00 */ li r0, 0 +/* 800AE3F8 000AB358 90 03 00 04 */ stw r0, 4(r3) +/* 800AE3FC 000AB35C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR18CFirstPersonCamera" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR18CFirstPersonCamera": +/* 800AE400 000AB360 90 83 00 04 */ stw r4, 4(r3) +/* 800AE404 000AB364 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR10CExplosion" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR10CExplosion": +/* 800AE408 000AB368 38 00 00 00 */ li r0, 0 +/* 800AE40C 000AB36C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE410 000AB370 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR7CEntity": +/* 800AE414 000AB374 38 00 00 00 */ li r0, 0 +/* 800AE418 000AB378 90 03 00 04 */ stw r0, 4(r3) +/* 800AE41C 000AB37C 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CEnergyProjectile" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CEnergyProjectile": +/* 800AE420 000AB380 38 00 00 00 */ li r0, 0 +/* 800AE424 000AB384 90 03 00 04 */ stw r0, 4(r3) +/* 800AE428 000AB388 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR16CDestroyableRock" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR16CDestroyableRock": +/* 800AE42C 000AB38C 38 00 00 00 */ li r0, 0 +/* 800AE430 000AB390 90 03 00 04 */ stw r0, 4(r3) +/* 800AE434 000AB394 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CCollisionActor" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CCollisionActor": +/* 800AE438 000AB398 38 00 00 00 */ li r0, 0 +/* 800AE43C 000AB39C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE440 000AB3A0 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR16CCinematicCamera" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR16CCinematicCamera": +/* 800AE444 000AB3A4 38 00 00 00 */ li r0, 0 +/* 800AE448 000AB3A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE44C 000AB3AC 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR5CBomb" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR5CBomb": +/* 800AE450 000AB3B0 38 00 00 00 */ li r0, 0 +/* 800AE454 000AB3B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE458 000AB3B8 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CBallCamera" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CBallCamera": +/* 800AE45C 000AB3BC 38 00 00 00 */ li r0, 0 +/* 800AE460 000AB3C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE464 000AB3C4 4E 80 00 20 */ blr + +.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR6CActor" +"Visit__32TCastToPtr<18CFirstPersonCamera>FR6CActor": +/* 800AE468 000AB3C8 38 00 00 00 */ li r0, 0 +/* 800AE46C 000AB3CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE470 000AB3D0 4E 80 00 20 */ blr + +.global "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" +"__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity": +/* 800AE474 000AB3D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AE478 000AB3D8 7C 08 02 A6 */ mflr r0 +/* 800AE47C 000AB3DC 3C A0 80 3E */ lis r5, lbl_803DC6C0@ha +/* 800AE480 000AB3E0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AE484 000AB3E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AE488 000AB3E8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AE48C 000AB3EC 38 A5 C6 C0 */ addi r5, r5, lbl_803DC6C0@l +/* 800AE490 000AB3F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AE494 000AB3F4 7C 7F 1B 78 */ mr r31, r3 +/* 800AE498 000AB3F8 90 03 00 00 */ stw r0, 0(r3) +/* 800AE49C 000AB3FC 7C 83 23 78 */ mr r3, r4 +/* 800AE4A0 000AB400 38 00 00 00 */ li r0, 0 +/* 800AE4A4 000AB404 7F E4 FB 78 */ mr r4, r31 +/* 800AE4A8 000AB408 90 BF 00 00 */ stw r5, 0(r31) +/* 800AE4AC 000AB40C 90 1F 00 04 */ stw r0, 4(r31) +/* 800AE4B0 000AB410 81 83 00 00 */ lwz r12, 0(r3) +/* 800AE4B4 000AB414 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AE4B8 000AB418 7D 89 03 A6 */ mtctr r12 +/* 800AE4BC 000AB41C 4E 80 04 21 */ bctrl +/* 800AE4C0 000AB420 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AE4C4 000AB424 7F E3 FB 78 */ mr r3, r31 +/* 800AE4C8 000AB428 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AE4CC 000AB42C 7C 08 03 A6 */ mtlr r0 +/* 800AE4D0 000AB430 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AE4D4 000AB434 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR7CWeapon" +"Visit__24TCastToPtr<10CExplosion>FR7CWeapon": +/* 800AE4D8 000AB438 38 00 00 00 */ li r0, 0 +/* 800AE4DC 000AB43C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE4E0 000AB440 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR17CWallCrawlerSwarm" +"Visit__24TCastToPtr<10CExplosion>FR17CWallCrawlerSwarm": +/* 800AE4E4 000AB444 38 00 00 00 */ li r0, 0 +/* 800AE4E8 000AB448 90 03 00 04 */ stw r0, 4(r3) +/* 800AE4EC 000AB44C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR20CScriptSpindleCamera" +"Visit__24TCastToPtr<10CExplosion>FR20CScriptSpindleCamera": +/* 800AE4F0 000AB450 38 00 00 00 */ li r0, 0 +/* 800AE4F4 000AB454 90 03 00 04 */ stw r0, 4(r3) +/* 800AE4F8 000AB458 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR15CSnakeWeedSwarm" +"Visit__24TCastToPtr<10CExplosion>FR15CSnakeWeedSwarm": +/* 800AE4FC 000AB45C 38 00 00 00 */ li r0, 0 +/* 800AE500 000AB460 90 03 00 04 */ stw r0, 4(r3) +/* 800AE504 000AB464 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR15CScriptWaypoint" +"Visit__24TCastToPtr<10CExplosion>FR15CScriptWaypoint": +/* 800AE508 000AB468 38 00 00 00 */ li r0, 0 +/* 800AE50C 000AB46C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE510 000AB470 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR12CScriptWater" +"Visit__24TCastToPtr<10CExplosion>FR12CScriptWater": +/* 800AE514 000AB474 38 00 00 00 */ li r0, 0 +/* 800AE518 000AB478 90 03 00 04 */ stw r0, 4(r3) +/* 800AE51C 000AB47C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptVisorFlare" +"Visit__24TCastToPtr<10CExplosion>FR17CScriptVisorFlare": +/* 800AE520 000AB480 38 00 00 00 */ li r0, 0 +/* 800AE524 000AB484 90 03 00 04 */ stw r0, 4(r3) +/* 800AE528 000AB488 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR14CScriptTrigger" +"Visit__24TCastToPtr<10CExplosion>FR14CScriptTrigger": +/* 800AE52C 000AB48C 38 00 00 00 */ li r0, 0 +/* 800AE530 000AB490 90 03 00 04 */ stw r0, 4(r3) +/* 800AE534 000AB494 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR12CScriptTimer" +"Visit__24TCastToPtr<10CExplosion>FR12CScriptTimer": +/* 800AE538 000AB498 38 00 00 00 */ li r0, 0 +/* 800AE53C 000AB49C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE540 000AB4A0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR10CTeamAiMgr" +"Visit__24TCastToPtr<10CExplosion>FR10CTeamAiMgr": +/* 800AE544 000AB4A4 38 00 00 00 */ li r0, 0 +/* 800AE548 000AB4A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE54C 000AB4AC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR21CScriptTargetingPoint" +"Visit__24TCastToPtr<10CExplosion>FR21CScriptTargetingPoint": +/* 800AE550 000AB4B0 38 00 00 00 */ li r0, 0 +/* 800AE554 000AB4B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE558 000AB4B8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR25CScriptSpiderBallWaypoint" +"Visit__24TCastToPtr<10CExplosion>FR25CScriptSpiderBallWaypoint": +/* 800AE55C 000AB4BC 38 00 00 00 */ li r0, 0 +/* 800AE560 000AB4C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE564 000AB4C4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR34CScriptSpiderBallAttractionSurface" +"Visit__24TCastToPtr<10CExplosion>FR34CScriptSpiderBallAttractionSurface": +/* 800AE568 000AB4C8 38 00 00 00 */ li r0, 0 +/* 800AE56C 000AB4CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE570 000AB4D0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR22CScriptSpecialFunction" +"Visit__24TCastToPtr<10CExplosion>FR22CScriptSpecialFunction": +/* 800AE574 000AB4D4 38 00 00 00 */ li r0, 0 +/* 800AE578 000AB4D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE57C 000AB4DC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptSpawnPoint" +"Visit__24TCastToPtr<10CExplosion>FR17CScriptSpawnPoint": +/* 800AE580 000AB4E0 38 00 00 00 */ li r0, 0 +/* 800AE584 000AB4E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE588 000AB4E8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR12CScriptSound" +"Visit__24TCastToPtr<10CExplosion>FR12CScriptSound": +/* 800AE58C 000AB4EC 38 00 00 00 */ li r0, 0 +/* 800AE590 000AB4F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE594 000AB4F4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR20CScriptRoomAcoustics" +"Visit__24TCastToPtr<10CExplosion>FR20CScriptRoomAcoustics": +/* 800AE598 000AB4F8 38 00 00 00 */ li r0, 0 +/* 800AE59C 000AB4FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE5A0 000AB500 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR22CScriptPointOfinterest" +"Visit__24TCastToPtr<10CExplosion>FR22CScriptPointOfinterest": +/* 800AE5A4 000AB504 38 00 00 00 */ li r0, 0 +/* 800AE5A8 000AB508 90 03 00 04 */ stw r0, 4(r3) +/* 800AE5AC 000AB50C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptPlayerHint" +"Visit__24TCastToPtr<10CExplosion>FR17CScriptPlayerHint": +/* 800AE5B0 000AB510 38 00 00 00 */ li r0, 0 +/* 800AE5B4 000AB514 90 03 00 04 */ stw r0, 4(r3) +/* 800AE5B8 000AB518 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR15CScriptPlatform" +"Visit__24TCastToPtr<10CExplosion>FR15CScriptPlatform": +/* 800AE5BC 000AB51C 38 00 00 00 */ li r0, 0 +/* 800AE5C0 000AB520 90 03 00 04 */ stw r0, 4(r3) +/* 800AE5C4 000AB524 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR13CScriptPickup" +"Visit__24TCastToPtr<10CExplosion>FR13CScriptPickup": +/* 800AE5C8 000AB528 38 00 00 00 */ li r0, 0 +/* 800AE5CC 000AB52C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE5D0 000AB530 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR15CScriptMazeNode" +"Visit__24TCastToPtr<10CExplosion>FR15CScriptMazeNode": +/* 800AE5D4 000AB534 38 00 00 00 */ li r0, 0 +/* 800AE5D8 000AB538 90 03 00 04 */ stw r0, 4(r3) +/* 800AE5DC 000AB53C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR16CScriptGunTurret" +"Visit__24TCastToPtr<10CExplosion>FR16CScriptGunTurret": +/* 800AE5E0 000AB540 38 00 00 00 */ li r0, 0 +/* 800AE5E4 000AB544 90 03 00 04 */ stw r0, 4(r3) +/* 800AE5E8 000AB548 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR19CScriptGrapplePoint" +"Visit__24TCastToPtr<10CExplosion>FR19CScriptGrapplePoint": +/* 800AE5EC 000AB54C 38 00 00 00 */ li r0, 0 +/* 800AE5F0 000AB550 90 03 00 04 */ stw r0, 4(r3) +/* 800AE5F4 000AB554 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR13CScriptEffect" +"Visit__24TCastToPtr<10CExplosion>FR13CScriptEffect": +/* 800AE5F8 000AB558 38 00 00 00 */ li r0, 0 +/* 800AE5FC 000AB55C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE600 000AB560 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR11CScriptDoor" +"Visit__24TCastToPtr<10CExplosion>FR11CScriptDoor": +/* 800AE604 000AB564 38 00 00 00 */ li r0, 0 +/* 800AE608 000AB568 90 03 00 04 */ stw r0, 4(r3) +/* 800AE60C 000AB56C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR11CScriptDock" +"Visit__24TCastToPtr<10CExplosion>FR11CScriptDock": +/* 800AE610 000AB570 38 00 00 00 */ li r0, 0 +/* 800AE614 000AB574 90 03 00 04 */ stw r0, 4(r3) +/* 800AE618 000AB578 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR18CScriptDistanceFog" +"Visit__24TCastToPtr<10CExplosion>FR18CScriptDistanceFog": +/* 800AE61C 000AB57C 38 00 00 00 */ li r0, 0 +/* 800AE620 000AB580 90 03 00 04 */ stw r0, 4(r3) +/* 800AE624 000AB584 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR26CScriptDebugCameraWaypoint" +"Visit__24TCastToPtr<10CExplosion>FR26CScriptDebugCameraWaypoint": +/* 800AE628 000AB588 38 00 00 00 */ li r0, 0 +/* 800AE62C 000AB58C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE630 000AB590 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptCoverPoint" +"Visit__24TCastToPtr<10CExplosion>FR17CScriptCoverPoint": +/* 800AE634 000AB594 38 00 00 00 */ li r0, 0 +/* 800AE638 000AB598 90 03 00 04 */ stw r0, 4(r3) +/* 800AE63C 000AB59C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR21CScriptCameraWaypoint" +"Visit__24TCastToPtr<10CExplosion>FR21CScriptCameraWaypoint": +/* 800AE640 000AB5A0 38 00 00 00 */ li r0, 0 +/* 800AE644 000AB5A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE648 000AB5A8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR24CScriptCameraPitchVolume" +"Visit__24TCastToPtr<10CExplosion>FR24CScriptCameraPitchVolume": +/* 800AE64C 000AB5AC 38 00 00 00 */ li r0, 0 +/* 800AE650 000AB5B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE654 000AB5B4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptCameraHint" +"Visit__24TCastToPtr<10CExplosion>FR17CScriptCameraHint": +/* 800AE658 000AB5B8 38 00 00 00 */ li r0, 0 +/* 800AE65C 000AB5BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE660 000AB5C0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR18CScriptAiJumpPoint" +"Visit__24TCastToPtr<10CExplosion>FR18CScriptAiJumpPoint": +/* 800AE664 000AB5C4 38 00 00 00 */ li r0, 0 +/* 800AE668 000AB5C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE66C 000AB5CC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR20CScriptActorKeyframe" +"Visit__24TCastToPtr<10CExplosion>FR20CScriptActorKeyframe": +/* 800AE670 000AB5D0 38 00 00 00 */ li r0, 0 +/* 800AE674 000AB5D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE678 000AB5D8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR12CScriptActor" +"Visit__24TCastToPtr<10CExplosion>FR12CScriptActor": +/* 800AE67C 000AB5DC 38 00 00 00 */ li r0, 0 +/* 800AE680 000AB5E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE684 000AB5E4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR9CRepulsor" +"Visit__24TCastToPtr<10CExplosion>FR9CRepulsor": +/* 800AE688 000AB5E8 38 00 00 00 */ li r0, 0 +/* 800AE68C 000AB5EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE690 000AB5F0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR7CPlayer" +"Visit__24TCastToPtr<10CExplosion>FR7CPlayer": +/* 800AE694 000AB5F4 38 00 00 00 */ li r0, 0 +/* 800AE698 000AB5F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE69C 000AB5FC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR13CPhysicsActor" +"Visit__24TCastToPtr<10CExplosion>FR13CPhysicsActor": +/* 800AE6A0 000AB600 38 00 00 00 */ li r0, 0 +/* 800AE6A4 000AB604 90 03 00 04 */ stw r0, 4(r3) +/* 800AE6A8 000AB608 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR3CAi" +"Visit__24TCastToPtr<10CExplosion>FR3CAi": +/* 800AE6AC 000AB60C 38 00 00 00 */ li r0, 0 +/* 800AE6B0 000AB610 90 03 00 04 */ stw r0, 4(r3) +/* 800AE6B4 000AB614 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR11CPathCamera" +"Visit__24TCastToPtr<10CExplosion>FR11CPathCamera": +/* 800AE6B8 000AB618 38 00 00 00 */ li r0, 0 +/* 800AE6BC 000AB61C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE6C0 000AB620 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR18CMetroidPrimeRelay" +"Visit__24TCastToPtr<10CExplosion>FR18CMetroidPrimeRelay": +/* 800AE6C4 000AB624 38 00 00 00 */ li r0, 0 +/* 800AE6C8 000AB628 90 03 00 04 */ stw r0, 4(r3) +/* 800AE6CC 000AB62C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR19CHUDBillboardEffect" +"Visit__24TCastToPtr<10CExplosion>FR19CHUDBillboardEffect": +/* 800AE6D0 000AB630 38 00 00 00 */ li r0, 0 +/* 800AE6D4 000AB634 90 03 00 04 */ stw r0, 4(r3) +/* 800AE6D8 000AB638 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR15CGameProjectile" +"Visit__24TCastToPtr<10CExplosion>FR15CGameProjectile": +/* 800AE6DC 000AB63C 38 00 00 00 */ li r0, 0 +/* 800AE6E0 000AB640 90 03 00 04 */ stw r0, 4(r3) +/* 800AE6E4 000AB644 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR10CGameLight" +"Visit__24TCastToPtr<10CExplosion>FR10CGameLight": +/* 800AE6E8 000AB648 38 00 00 00 */ li r0, 0 +/* 800AE6EC 000AB64C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE6F0 000AB650 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR11CGameCamera" +"Visit__24TCastToPtr<10CExplosion>FR11CGameCamera": +/* 800AE6F4 000AB654 38 00 00 00 */ li r0, 0 +/* 800AE6F8 000AB658 90 03 00 04 */ stw r0, 4(r3) +/* 800AE6FC 000AB65C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR10CFishCloud" +"Visit__24TCastToPtr<10CExplosion>FR10CFishCloud": +/* 800AE700 000AB660 38 00 00 00 */ li r0, 0 +/* 800AE704 000AB664 90 03 00 04 */ stw r0, 4(r3) +/* 800AE708 000AB668 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR18CFirstPersonCamera" +"Visit__24TCastToPtr<10CExplosion>FR18CFirstPersonCamera": +/* 800AE70C 000AB66C 38 00 00 00 */ li r0, 0 +/* 800AE710 000AB670 90 03 00 04 */ stw r0, 4(r3) +/* 800AE714 000AB674 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR10CExplosion" +"Visit__24TCastToPtr<10CExplosion>FR10CExplosion": +/* 800AE718 000AB678 90 83 00 04 */ stw r4, 4(r3) +/* 800AE71C 000AB67C 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR7CEntity" +"Visit__24TCastToPtr<10CExplosion>FR7CEntity": +/* 800AE720 000AB680 38 00 00 00 */ li r0, 0 +/* 800AE724 000AB684 90 03 00 04 */ stw r0, 4(r3) +/* 800AE728 000AB688 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR17CEnergyProjectile" +"Visit__24TCastToPtr<10CExplosion>FR17CEnergyProjectile": +/* 800AE72C 000AB68C 38 00 00 00 */ li r0, 0 +/* 800AE730 000AB690 90 03 00 04 */ stw r0, 4(r3) +/* 800AE734 000AB694 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR16CDestroyableRock" +"Visit__24TCastToPtr<10CExplosion>FR16CDestroyableRock": +/* 800AE738 000AB698 38 00 00 00 */ li r0, 0 +/* 800AE73C 000AB69C 90 03 00 04 */ stw r0, 4(r3) +/* 800AE740 000AB6A0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR15CCollisionActor" +"Visit__24TCastToPtr<10CExplosion>FR15CCollisionActor": +/* 800AE744 000AB6A4 38 00 00 00 */ li r0, 0 +/* 800AE748 000AB6A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE74C 000AB6AC 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR16CCinematicCamera" +"Visit__24TCastToPtr<10CExplosion>FR16CCinematicCamera": +/* 800AE750 000AB6B0 38 00 00 00 */ li r0, 0 +/* 800AE754 000AB6B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AE758 000AB6B8 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR5CBomb" +"Visit__24TCastToPtr<10CExplosion>FR5CBomb": +/* 800AE75C 000AB6BC 38 00 00 00 */ li r0, 0 +/* 800AE760 000AB6C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AE764 000AB6C4 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR11CBallCamera" +"Visit__24TCastToPtr<10CExplosion>FR11CBallCamera": +/* 800AE768 000AB6C8 38 00 00 00 */ li r0, 0 +/* 800AE76C 000AB6CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AE770 000AB6D0 4E 80 00 20 */ blr + +.global "Visit__24TCastToPtr<10CExplosion>FR6CActor" +"Visit__24TCastToPtr<10CExplosion>FR6CActor": +/* 800AE774 000AB6D4 38 00 00 00 */ li r0, 0 +/* 800AE778 000AB6D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AE77C 000AB6DC 4E 80 00 20 */ blr + +.global "__ct__24TCastToPtr<10CExplosion>FP7CEntity" +"__ct__24TCastToPtr<10CExplosion>FP7CEntity": +/* 800AE780 000AB6E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AE784 000AB6E4 7C 08 02 A6 */ mflr r0 +/* 800AE788 000AB6E8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AE78C 000AB6EC 3C A0 80 3E */ lis r5, lbl_803DC5D4@ha +/* 800AE790 000AB6F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AE794 000AB6F4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AE798 000AB6F8 28 04 00 00 */ cmplwi r4, 0 +/* 800AE79C 000AB6FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AE7A0 000AB700 7C 7F 1B 78 */ mr r31, r3 +/* 800AE7A4 000AB704 38 65 C5 D4 */ addi r3, r5, lbl_803DC5D4@l +/* 800AE7A8 000AB708 90 1F 00 00 */ stw r0, 0(r31) +/* 800AE7AC 000AB70C 38 00 00 00 */ li r0, 0 +/* 800AE7B0 000AB710 90 7F 00 00 */ stw r3, 0(r31) +/* 800AE7B4 000AB714 90 1F 00 04 */ stw r0, 4(r31) +/* 800AE7B8 000AB718 41 82 00 1C */ beq lbl_800AE7D4 +/* 800AE7BC 000AB71C 7C 83 23 78 */ mr r3, r4 +/* 800AE7C0 000AB720 7F E4 FB 78 */ mr r4, r31 +/* 800AE7C4 000AB724 81 83 00 00 */ lwz r12, 0(r3) +/* 800AE7C8 000AB728 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AE7CC 000AB72C 7D 89 03 A6 */ mtctr r12 +/* 800AE7D0 000AB730 4E 80 04 21 */ bctrl +lbl_800AE7D4: +/* 800AE7D4 000AB734 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AE7D8 000AB738 7F E3 FB 78 */ mr r3, r31 +/* 800AE7DC 000AB73C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AE7E0 000AB740 7C 08 03 A6 */ mtlr r0 +/* 800AE7E4 000AB744 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AE7E8 000AB748 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR7CWeapon" +"Visit__20TCastToPtr<7CEntity>FR7CWeapon": +/* 800AE7EC 000AB74C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE7F0 000AB750 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR17CWallCrawlerSwarm" +"Visit__20TCastToPtr<7CEntity>FR17CWallCrawlerSwarm": +/* 800AE7F4 000AB754 90 83 00 04 */ stw r4, 4(r3) +/* 800AE7F8 000AB758 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR20CScriptSpindleCamera" +"Visit__20TCastToPtr<7CEntity>FR20CScriptSpindleCamera": +/* 800AE7FC 000AB75C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE800 000AB760 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR15CSnakeWeedSwarm" +"Visit__20TCastToPtr<7CEntity>FR15CSnakeWeedSwarm": +/* 800AE804 000AB764 90 83 00 04 */ stw r4, 4(r3) +/* 800AE808 000AB768 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR15CScriptWaypoint" +"Visit__20TCastToPtr<7CEntity>FR15CScriptWaypoint": +/* 800AE80C 000AB76C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE810 000AB770 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR12CScriptWater" +"Visit__20TCastToPtr<7CEntity>FR12CScriptWater": +/* 800AE814 000AB774 90 83 00 04 */ stw r4, 4(r3) +/* 800AE818 000AB778 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR17CScriptVisorFlare" +"Visit__20TCastToPtr<7CEntity>FR17CScriptVisorFlare": +/* 800AE81C 000AB77C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE820 000AB780 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR14CScriptTrigger" +"Visit__20TCastToPtr<7CEntity>FR14CScriptTrigger": +/* 800AE824 000AB784 90 83 00 04 */ stw r4, 4(r3) +/* 800AE828 000AB788 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR12CScriptTimer" +"Visit__20TCastToPtr<7CEntity>FR12CScriptTimer": +/* 800AE82C 000AB78C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE830 000AB790 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR10CTeamAiMgr" +"Visit__20TCastToPtr<7CEntity>FR10CTeamAiMgr": +/* 800AE834 000AB794 90 83 00 04 */ stw r4, 4(r3) +/* 800AE838 000AB798 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR21CScriptTargetingPoint" +"Visit__20TCastToPtr<7CEntity>FR21CScriptTargetingPoint": +/* 800AE83C 000AB79C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE840 000AB7A0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR25CScriptSpiderBallWaypoint" +"Visit__20TCastToPtr<7CEntity>FR25CScriptSpiderBallWaypoint": +/* 800AE844 000AB7A4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE848 000AB7A8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR34CScriptSpiderBallAttractionSurface" +"Visit__20TCastToPtr<7CEntity>FR34CScriptSpiderBallAttractionSurface": +/* 800AE84C 000AB7AC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE850 000AB7B0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR22CScriptSpecialFunction" +"Visit__20TCastToPtr<7CEntity>FR22CScriptSpecialFunction": +/* 800AE854 000AB7B4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE858 000AB7B8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR17CScriptSpawnPoint" +"Visit__20TCastToPtr<7CEntity>FR17CScriptSpawnPoint": +/* 800AE85C 000AB7BC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE860 000AB7C0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR12CScriptSound" +"Visit__20TCastToPtr<7CEntity>FR12CScriptSound": +/* 800AE864 000AB7C4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE868 000AB7C8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR20CScriptRoomAcoustics" +"Visit__20TCastToPtr<7CEntity>FR20CScriptRoomAcoustics": +/* 800AE86C 000AB7CC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE870 000AB7D0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR22CScriptPointOfinterest" +"Visit__20TCastToPtr<7CEntity>FR22CScriptPointOfinterest": +/* 800AE874 000AB7D4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE878 000AB7D8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR17CScriptPlayerHint" +"Visit__20TCastToPtr<7CEntity>FR17CScriptPlayerHint": +/* 800AE87C 000AB7DC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE880 000AB7E0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR15CScriptPlatform" +"Visit__20TCastToPtr<7CEntity>FR15CScriptPlatform": +/* 800AE884 000AB7E4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE888 000AB7E8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR13CScriptPickup" +"Visit__20TCastToPtr<7CEntity>FR13CScriptPickup": +/* 800AE88C 000AB7EC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE890 000AB7F0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR15CScriptMazeNode" +"Visit__20TCastToPtr<7CEntity>FR15CScriptMazeNode": +/* 800AE894 000AB7F4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE898 000AB7F8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR16CScriptGunTurret" +"Visit__20TCastToPtr<7CEntity>FR16CScriptGunTurret": +/* 800AE89C 000AB7FC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8A0 000AB800 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR19CScriptGrapplePoint" +"Visit__20TCastToPtr<7CEntity>FR19CScriptGrapplePoint": +/* 800AE8A4 000AB804 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8A8 000AB808 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR13CScriptEffect" +"Visit__20TCastToPtr<7CEntity>FR13CScriptEffect": +/* 800AE8AC 000AB80C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8B0 000AB810 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR11CScriptDoor" +"Visit__20TCastToPtr<7CEntity>FR11CScriptDoor": +/* 800AE8B4 000AB814 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8B8 000AB818 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR11CScriptDock" +"Visit__20TCastToPtr<7CEntity>FR11CScriptDock": +/* 800AE8BC 000AB81C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8C0 000AB820 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR18CScriptDistanceFog" +"Visit__20TCastToPtr<7CEntity>FR18CScriptDistanceFog": +/* 800AE8C4 000AB824 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8C8 000AB828 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR26CScriptDebugCameraWaypoint" +"Visit__20TCastToPtr<7CEntity>FR26CScriptDebugCameraWaypoint": +/* 800AE8CC 000AB82C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8D0 000AB830 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR17CScriptCoverPoint" +"Visit__20TCastToPtr<7CEntity>FR17CScriptCoverPoint": +/* 800AE8D4 000AB834 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8D8 000AB838 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR21CScriptCameraWaypoint" +"Visit__20TCastToPtr<7CEntity>FR21CScriptCameraWaypoint": +/* 800AE8DC 000AB83C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8E0 000AB840 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR24CScriptCameraPitchVolume" +"Visit__20TCastToPtr<7CEntity>FR24CScriptCameraPitchVolume": +/* 800AE8E4 000AB844 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8E8 000AB848 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR17CScriptCameraHint" +"Visit__20TCastToPtr<7CEntity>FR17CScriptCameraHint": +/* 800AE8EC 000AB84C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8F0 000AB850 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR18CScriptAiJumpPoint" +"Visit__20TCastToPtr<7CEntity>FR18CScriptAiJumpPoint": +/* 800AE8F4 000AB854 90 83 00 04 */ stw r4, 4(r3) +/* 800AE8F8 000AB858 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR20CScriptActorKeyframe" +"Visit__20TCastToPtr<7CEntity>FR20CScriptActorKeyframe": +/* 800AE8FC 000AB85C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE900 000AB860 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR12CScriptActor" +"Visit__20TCastToPtr<7CEntity>FR12CScriptActor": +/* 800AE904 000AB864 90 83 00 04 */ stw r4, 4(r3) +/* 800AE908 000AB868 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR9CRepulsor" +"Visit__20TCastToPtr<7CEntity>FR9CRepulsor": +/* 800AE90C 000AB86C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE910 000AB870 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR7CPlayer" +"Visit__20TCastToPtr<7CEntity>FR7CPlayer": +/* 800AE914 000AB874 90 83 00 04 */ stw r4, 4(r3) +/* 800AE918 000AB878 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR13CPhysicsActor" +"Visit__20TCastToPtr<7CEntity>FR13CPhysicsActor": +/* 800AE91C 000AB87C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE920 000AB880 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR3CAi" +"Visit__20TCastToPtr<7CEntity>FR3CAi": +/* 800AE924 000AB884 90 83 00 04 */ stw r4, 4(r3) +/* 800AE928 000AB888 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR11CPathCamera" +"Visit__20TCastToPtr<7CEntity>FR11CPathCamera": +/* 800AE92C 000AB88C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE930 000AB890 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR18CMetroidPrimeRelay" +"Visit__20TCastToPtr<7CEntity>FR18CMetroidPrimeRelay": +/* 800AE934 000AB894 90 83 00 04 */ stw r4, 4(r3) +/* 800AE938 000AB898 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR19CHUDBillboardEffect" +"Visit__20TCastToPtr<7CEntity>FR19CHUDBillboardEffect": +/* 800AE93C 000AB89C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE940 000AB8A0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR15CGameProjectile" +"Visit__20TCastToPtr<7CEntity>FR15CGameProjectile": +/* 800AE944 000AB8A4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE948 000AB8A8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR10CGameLight" +"Visit__20TCastToPtr<7CEntity>FR10CGameLight": +/* 800AE94C 000AB8AC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE950 000AB8B0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR11CGameCamera" +"Visit__20TCastToPtr<7CEntity>FR11CGameCamera": +/* 800AE954 000AB8B4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE958 000AB8B8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR10CFishCloud" +"Visit__20TCastToPtr<7CEntity>FR10CFishCloud": +/* 800AE95C 000AB8BC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE960 000AB8C0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR18CFirstPersonCamera" +"Visit__20TCastToPtr<7CEntity>FR18CFirstPersonCamera": +/* 800AE964 000AB8C4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE968 000AB8C8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR10CExplosion" +"Visit__20TCastToPtr<7CEntity>FR10CExplosion": +/* 800AE96C 000AB8CC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE970 000AB8D0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR7CEntity" +"Visit__20TCastToPtr<7CEntity>FR7CEntity": +/* 800AE974 000AB8D4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE978 000AB8D8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR17CEnergyProjectile" +"Visit__20TCastToPtr<7CEntity>FR17CEnergyProjectile": +/* 800AE97C 000AB8DC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE980 000AB8E0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR16CDestroyableRock" +"Visit__20TCastToPtr<7CEntity>FR16CDestroyableRock": +/* 800AE984 000AB8E4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE988 000AB8E8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR15CCollisionActor" +"Visit__20TCastToPtr<7CEntity>FR15CCollisionActor": +/* 800AE98C 000AB8EC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE990 000AB8F0 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR16CCinematicCamera" +"Visit__20TCastToPtr<7CEntity>FR16CCinematicCamera": +/* 800AE994 000AB8F4 90 83 00 04 */ stw r4, 4(r3) +/* 800AE998 000AB8F8 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR5CBomb" +"Visit__20TCastToPtr<7CEntity>FR5CBomb": +/* 800AE99C 000AB8FC 90 83 00 04 */ stw r4, 4(r3) +/* 800AE9A0 000AB900 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR11CBallCamera" +"Visit__20TCastToPtr<7CEntity>FR11CBallCamera": +/* 800AE9A4 000AB904 90 83 00 04 */ stw r4, 4(r3) +/* 800AE9A8 000AB908 4E 80 00 20 */ blr + +.global "Visit__20TCastToPtr<7CEntity>FR6CActor" +"Visit__20TCastToPtr<7CEntity>FR6CActor": +/* 800AE9AC 000AB90C 90 83 00 04 */ stw r4, 4(r3) +/* 800AE9B0 000AB910 4E 80 00 20 */ blr + +.global "__ct__20TCastToPtr<7CEntity>FP7CEntity" +"__ct__20TCastToPtr<7CEntity>FP7CEntity": +/* 800AE9B4 000AB914 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AE9B8 000AB918 7C 08 02 A6 */ mflr r0 +/* 800AE9BC 000AB91C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AE9C0 000AB920 3C A0 80 3E */ lis r5, lbl_803DC4E8@ha +/* 800AE9C4 000AB924 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AE9C8 000AB928 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AE9CC 000AB92C 28 04 00 00 */ cmplwi r4, 0 +/* 800AE9D0 000AB930 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AE9D4 000AB934 7C 7F 1B 78 */ mr r31, r3 +/* 800AE9D8 000AB938 38 65 C4 E8 */ addi r3, r5, lbl_803DC4E8@l +/* 800AE9DC 000AB93C 90 1F 00 00 */ stw r0, 0(r31) +/* 800AE9E0 000AB940 38 00 00 00 */ li r0, 0 +/* 800AE9E4 000AB944 90 7F 00 00 */ stw r3, 0(r31) +/* 800AE9E8 000AB948 90 1F 00 04 */ stw r0, 4(r31) +/* 800AE9EC 000AB94C 41 82 00 1C */ beq lbl_800AEA08 +/* 800AE9F0 000AB950 7C 83 23 78 */ mr r3, r4 +/* 800AE9F4 000AB954 7F E4 FB 78 */ mr r4, r31 +/* 800AE9F8 000AB958 81 83 00 00 */ lwz r12, 0(r3) +/* 800AE9FC 000AB95C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AEA00 000AB960 7D 89 03 A6 */ mtctr r12 +/* 800AEA04 000AB964 4E 80 04 21 */ bctrl +lbl_800AEA08: +/* 800AEA08 000AB968 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AEA0C 000AB96C 7F E3 FB 78 */ mr r3, r31 +/* 800AEA10 000AB970 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AEA14 000AB974 7C 08 03 A6 */ mtlr r0 +/* 800AEA18 000AB978 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AEA1C 000AB97C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR7CWeapon" +"Visit__31TCastToPtr<17CEnergyProjectile>FR7CWeapon": +/* 800AEA20 000AB980 38 00 00 00 */ li r0, 0 +/* 800AEA24 000AB984 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA28 000AB988 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CWallCrawlerSwarm" +"Visit__31TCastToPtr<17CEnergyProjectile>FR17CWallCrawlerSwarm": +/* 800AEA2C 000AB98C 38 00 00 00 */ li r0, 0 +/* 800AEA30 000AB990 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA34 000AB994 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptSpindleCamera" +"Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptSpindleCamera": +/* 800AEA38 000AB998 38 00 00 00 */ li r0, 0 +/* 800AEA3C 000AB99C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA40 000AB9A0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CSnakeWeedSwarm" +"Visit__31TCastToPtr<17CEnergyProjectile>FR15CSnakeWeedSwarm": +/* 800AEA44 000AB9A4 38 00 00 00 */ li r0, 0 +/* 800AEA48 000AB9A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA4C 000AB9AC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptWaypoint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptWaypoint": +/* 800AEA50 000AB9B0 38 00 00 00 */ li r0, 0 +/* 800AEA54 000AB9B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA58 000AB9B8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptWater" +"Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptWater": +/* 800AEA5C 000AB9BC 38 00 00 00 */ li r0, 0 +/* 800AEA60 000AB9C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA64 000AB9C4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptVisorFlare" +"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptVisorFlare": +/* 800AEA68 000AB9C8 38 00 00 00 */ li r0, 0 +/* 800AEA6C 000AB9CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA70 000AB9D0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR14CScriptTrigger" +"Visit__31TCastToPtr<17CEnergyProjectile>FR14CScriptTrigger": +/* 800AEA74 000AB9D4 38 00 00 00 */ li r0, 0 +/* 800AEA78 000AB9D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA7C 000AB9DC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptTimer" +"Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptTimer": +/* 800AEA80 000AB9E0 38 00 00 00 */ li r0, 0 +/* 800AEA84 000AB9E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA88 000AB9E8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR10CTeamAiMgr" +"Visit__31TCastToPtr<17CEnergyProjectile>FR10CTeamAiMgr": +/* 800AEA8C 000AB9EC 38 00 00 00 */ li r0, 0 +/* 800AEA90 000AB9F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEA94 000AB9F4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR21CScriptTargetingPoint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR21CScriptTargetingPoint": +/* 800AEA98 000AB9F8 38 00 00 00 */ li r0, 0 +/* 800AEA9C 000AB9FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEAA0 000ABA00 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR25CScriptSpiderBallWaypoint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR25CScriptSpiderBallWaypoint": +/* 800AEAA4 000ABA04 38 00 00 00 */ li r0, 0 +/* 800AEAA8 000ABA08 90 03 00 04 */ stw r0, 4(r3) +/* 800AEAAC 000ABA0C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR34CScriptSpiderBallAttractionSurface" +"Visit__31TCastToPtr<17CEnergyProjectile>FR34CScriptSpiderBallAttractionSurface": +/* 800AEAB0 000ABA10 38 00 00 00 */ li r0, 0 +/* 800AEAB4 000ABA14 90 03 00 04 */ stw r0, 4(r3) +/* 800AEAB8 000ABA18 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR22CScriptSpecialFunction" +"Visit__31TCastToPtr<17CEnergyProjectile>FR22CScriptSpecialFunction": +/* 800AEABC 000ABA1C 38 00 00 00 */ li r0, 0 +/* 800AEAC0 000ABA20 90 03 00 04 */ stw r0, 4(r3) +/* 800AEAC4 000ABA24 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptSpawnPoint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptSpawnPoint": +/* 800AEAC8 000ABA28 38 00 00 00 */ li r0, 0 +/* 800AEACC 000ABA2C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEAD0 000ABA30 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptSound" +"Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptSound": +/* 800AEAD4 000ABA34 38 00 00 00 */ li r0, 0 +/* 800AEAD8 000ABA38 90 03 00 04 */ stw r0, 4(r3) +/* 800AEADC 000ABA3C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptRoomAcoustics" +"Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptRoomAcoustics": +/* 800AEAE0 000ABA40 38 00 00 00 */ li r0, 0 +/* 800AEAE4 000ABA44 90 03 00 04 */ stw r0, 4(r3) +/* 800AEAE8 000ABA48 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR22CScriptPointOfinterest" +"Visit__31TCastToPtr<17CEnergyProjectile>FR22CScriptPointOfinterest": +/* 800AEAEC 000ABA4C 38 00 00 00 */ li r0, 0 +/* 800AEAF0 000ABA50 90 03 00 04 */ stw r0, 4(r3) +/* 800AEAF4 000ABA54 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptPlayerHint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptPlayerHint": +/* 800AEAF8 000ABA58 38 00 00 00 */ li r0, 0 +/* 800AEAFC 000ABA5C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB00 000ABA60 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptPlatform" +"Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptPlatform": +/* 800AEB04 000ABA64 38 00 00 00 */ li r0, 0 +/* 800AEB08 000ABA68 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB0C 000ABA6C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR13CScriptPickup" +"Visit__31TCastToPtr<17CEnergyProjectile>FR13CScriptPickup": +/* 800AEB10 000ABA70 38 00 00 00 */ li r0, 0 +/* 800AEB14 000ABA74 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB18 000ABA78 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptMazeNode" +"Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptMazeNode": +/* 800AEB1C 000ABA7C 38 00 00 00 */ li r0, 0 +/* 800AEB20 000ABA80 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB24 000ABA84 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR16CScriptGunTurret" +"Visit__31TCastToPtr<17CEnergyProjectile>FR16CScriptGunTurret": +/* 800AEB28 000ABA88 38 00 00 00 */ li r0, 0 +/* 800AEB2C 000ABA8C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB30 000ABA90 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR19CScriptGrapplePoint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR19CScriptGrapplePoint": +/* 800AEB34 000ABA94 38 00 00 00 */ li r0, 0 +/* 800AEB38 000ABA98 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB3C 000ABA9C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR13CScriptEffect" +"Visit__31TCastToPtr<17CEnergyProjectile>FR13CScriptEffect": +/* 800AEB40 000ABAA0 38 00 00 00 */ li r0, 0 +/* 800AEB44 000ABAA4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB48 000ABAA8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CScriptDoor" +"Visit__31TCastToPtr<17CEnergyProjectile>FR11CScriptDoor": +/* 800AEB4C 000ABAAC 38 00 00 00 */ li r0, 0 +/* 800AEB50 000ABAB0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB54 000ABAB4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CScriptDock" +"Visit__31TCastToPtr<17CEnergyProjectile>FR11CScriptDock": +/* 800AEB58 000ABAB8 38 00 00 00 */ li r0, 0 +/* 800AEB5C 000ABABC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB60 000ABAC0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR18CScriptDistanceFog" +"Visit__31TCastToPtr<17CEnergyProjectile>FR18CScriptDistanceFog": +/* 800AEB64 000ABAC4 38 00 00 00 */ li r0, 0 +/* 800AEB68 000ABAC8 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB6C 000ABACC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR26CScriptDebugCameraWaypoint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR26CScriptDebugCameraWaypoint": +/* 800AEB70 000ABAD0 38 00 00 00 */ li r0, 0 +/* 800AEB74 000ABAD4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB78 000ABAD8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptCoverPoint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptCoverPoint": +/* 800AEB7C 000ABADC 38 00 00 00 */ li r0, 0 +/* 800AEB80 000ABAE0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB84 000ABAE4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR21CScriptCameraWaypoint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR21CScriptCameraWaypoint": +/* 800AEB88 000ABAE8 38 00 00 00 */ li r0, 0 +/* 800AEB8C 000ABAEC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB90 000ABAF0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR24CScriptCameraPitchVolume" +"Visit__31TCastToPtr<17CEnergyProjectile>FR24CScriptCameraPitchVolume": +/* 800AEB94 000ABAF4 38 00 00 00 */ li r0, 0 +/* 800AEB98 000ABAF8 90 03 00 04 */ stw r0, 4(r3) +/* 800AEB9C 000ABAFC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptCameraHint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptCameraHint": +/* 800AEBA0 000ABB00 38 00 00 00 */ li r0, 0 +/* 800AEBA4 000ABB04 90 03 00 04 */ stw r0, 4(r3) +/* 800AEBA8 000ABB08 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR18CScriptAiJumpPoint" +"Visit__31TCastToPtr<17CEnergyProjectile>FR18CScriptAiJumpPoint": +/* 800AEBAC 000ABB0C 38 00 00 00 */ li r0, 0 +/* 800AEBB0 000ABB10 90 03 00 04 */ stw r0, 4(r3) +/* 800AEBB4 000ABB14 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptActorKeyframe" +"Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptActorKeyframe": +/* 800AEBB8 000ABB18 38 00 00 00 */ li r0, 0 +/* 800AEBBC 000ABB1C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEBC0 000ABB20 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptActor" +"Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptActor": +/* 800AEBC4 000ABB24 38 00 00 00 */ li r0, 0 +/* 800AEBC8 000ABB28 90 03 00 04 */ stw r0, 4(r3) +/* 800AEBCC 000ABB2C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR9CRepulsor" +"Visit__31TCastToPtr<17CEnergyProjectile>FR9CRepulsor": +/* 800AEBD0 000ABB30 38 00 00 00 */ li r0, 0 +/* 800AEBD4 000ABB34 90 03 00 04 */ stw r0, 4(r3) +/* 800AEBD8 000ABB38 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR7CPlayer" +"Visit__31TCastToPtr<17CEnergyProjectile>FR7CPlayer": +/* 800AEBDC 000ABB3C 38 00 00 00 */ li r0, 0 +/* 800AEBE0 000ABB40 90 03 00 04 */ stw r0, 4(r3) +/* 800AEBE4 000ABB44 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR13CPhysicsActor" +"Visit__31TCastToPtr<17CEnergyProjectile>FR13CPhysicsActor": +/* 800AEBE8 000ABB48 38 00 00 00 */ li r0, 0 +/* 800AEBEC 000ABB4C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEBF0 000ABB50 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR3CAi" +"Visit__31TCastToPtr<17CEnergyProjectile>FR3CAi": +/* 800AEBF4 000ABB54 38 00 00 00 */ li r0, 0 +/* 800AEBF8 000ABB58 90 03 00 04 */ stw r0, 4(r3) +/* 800AEBFC 000ABB5C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CPathCamera" +"Visit__31TCastToPtr<17CEnergyProjectile>FR11CPathCamera": +/* 800AEC00 000ABB60 38 00 00 00 */ li r0, 0 +/* 800AEC04 000ABB64 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC08 000ABB68 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR18CMetroidPrimeRelay" +"Visit__31TCastToPtr<17CEnergyProjectile>FR18CMetroidPrimeRelay": +/* 800AEC0C 000ABB6C 38 00 00 00 */ li r0, 0 +/* 800AEC10 000ABB70 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC14 000ABB74 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR19CHUDBillboardEffect" +"Visit__31TCastToPtr<17CEnergyProjectile>FR19CHUDBillboardEffect": +/* 800AEC18 000ABB78 38 00 00 00 */ li r0, 0 +/* 800AEC1C 000ABB7C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC20 000ABB80 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CGameProjectile" +"Visit__31TCastToPtr<17CEnergyProjectile>FR15CGameProjectile": +/* 800AEC24 000ABB84 38 00 00 00 */ li r0, 0 +/* 800AEC28 000ABB88 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC2C 000ABB8C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR10CGameLight" +"Visit__31TCastToPtr<17CEnergyProjectile>FR10CGameLight": +/* 800AEC30 000ABB90 38 00 00 00 */ li r0, 0 +/* 800AEC34 000ABB94 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC38 000ABB98 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CGameCamera" +"Visit__31TCastToPtr<17CEnergyProjectile>FR11CGameCamera": +/* 800AEC3C 000ABB9C 38 00 00 00 */ li r0, 0 +/* 800AEC40 000ABBA0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC44 000ABBA4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR10CFishCloud" +"Visit__31TCastToPtr<17CEnergyProjectile>FR10CFishCloud": +/* 800AEC48 000ABBA8 38 00 00 00 */ li r0, 0 +/* 800AEC4C 000ABBAC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC50 000ABBB0 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR18CFirstPersonCamera" +"Visit__31TCastToPtr<17CEnergyProjectile>FR18CFirstPersonCamera": +/* 800AEC54 000ABBB4 38 00 00 00 */ li r0, 0 +/* 800AEC58 000ABBB8 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC5C 000ABBBC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR10CExplosion" +"Visit__31TCastToPtr<17CEnergyProjectile>FR10CExplosion": +/* 800AEC60 000ABBC0 38 00 00 00 */ li r0, 0 +/* 800AEC64 000ABBC4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC68 000ABBC8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR7CEntity" +"Visit__31TCastToPtr<17CEnergyProjectile>FR7CEntity": +/* 800AEC6C 000ABBCC 38 00 00 00 */ li r0, 0 +/* 800AEC70 000ABBD0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC74 000ABBD4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CEnergyProjectile" +"Visit__31TCastToPtr<17CEnergyProjectile>FR17CEnergyProjectile": +/* 800AEC78 000ABBD8 90 83 00 04 */ stw r4, 4(r3) +/* 800AEC7C 000ABBDC 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR16CDestroyableRock" +"Visit__31TCastToPtr<17CEnergyProjectile>FR16CDestroyableRock": +/* 800AEC80 000ABBE0 38 00 00 00 */ li r0, 0 +/* 800AEC84 000ABBE4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC88 000ABBE8 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CCollisionActor" +"Visit__31TCastToPtr<17CEnergyProjectile>FR15CCollisionActor": +/* 800AEC8C 000ABBEC 38 00 00 00 */ li r0, 0 +/* 800AEC90 000ABBF0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEC94 000ABBF4 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR16CCinematicCamera" +"Visit__31TCastToPtr<17CEnergyProjectile>FR16CCinematicCamera": +/* 800AEC98 000ABBF8 38 00 00 00 */ li r0, 0 +/* 800AEC9C 000ABBFC 90 03 00 04 */ stw r0, 4(r3) +/* 800AECA0 000ABC00 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR5CBomb" +"Visit__31TCastToPtr<17CEnergyProjectile>FR5CBomb": +/* 800AECA4 000ABC04 38 00 00 00 */ li r0, 0 +/* 800AECA8 000ABC08 90 03 00 04 */ stw r0, 4(r3) +/* 800AECAC 000ABC0C 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CBallCamera" +"Visit__31TCastToPtr<17CEnergyProjectile>FR11CBallCamera": +/* 800AECB0 000ABC10 38 00 00 00 */ li r0, 0 +/* 800AECB4 000ABC14 90 03 00 04 */ stw r0, 4(r3) +/* 800AECB8 000ABC18 4E 80 00 20 */ blr + +.global "Visit__31TCastToPtr<17CEnergyProjectile>FR6CActor" +"Visit__31TCastToPtr<17CEnergyProjectile>FR6CActor": +/* 800AECBC 000ABC1C 38 00 00 00 */ li r0, 0 +/* 800AECC0 000ABC20 90 03 00 04 */ stw r0, 4(r3) +/* 800AECC4 000ABC24 4E 80 00 20 */ blr + +.global "__ct__31TCastToPtr<17CEnergyProjectile>FP7CEntity" +"__ct__31TCastToPtr<17CEnergyProjectile>FP7CEntity": +/* 800AECC8 000ABC28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AECCC 000ABC2C 7C 08 02 A6 */ mflr r0 +/* 800AECD0 000ABC30 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AECD4 000ABC34 3C A0 80 3E */ lis r5, lbl_803DC3FC@ha +/* 800AECD8 000ABC38 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AECDC 000ABC3C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AECE0 000ABC40 28 04 00 00 */ cmplwi r4, 0 +/* 800AECE4 000ABC44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AECE8 000ABC48 7C 7F 1B 78 */ mr r31, r3 +/* 800AECEC 000ABC4C 38 65 C3 FC */ addi r3, r5, lbl_803DC3FC@l +/* 800AECF0 000ABC50 90 1F 00 00 */ stw r0, 0(r31) +/* 800AECF4 000ABC54 38 00 00 00 */ li r0, 0 +/* 800AECF8 000ABC58 90 7F 00 00 */ stw r3, 0(r31) +/* 800AECFC 000ABC5C 90 1F 00 04 */ stw r0, 4(r31) +/* 800AED00 000ABC60 41 82 00 1C */ beq lbl_800AED1C +/* 800AED04 000ABC64 7C 83 23 78 */ mr r3, r4 +/* 800AED08 000ABC68 7F E4 FB 78 */ mr r4, r31 +/* 800AED0C 000ABC6C 81 83 00 00 */ lwz r12, 0(r3) +/* 800AED10 000ABC70 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AED14 000ABC74 7D 89 03 A6 */ mtctr r12 +/* 800AED18 000ABC78 4E 80 04 21 */ bctrl +lbl_800AED1C: +/* 800AED1C 000ABC7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AED20 000ABC80 7F E3 FB 78 */ mr r3, r31 +/* 800AED24 000ABC84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AED28 000ABC88 7C 08 03 A6 */ mtlr r0 +/* 800AED2C 000ABC8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AED30 000ABC90 4E 80 00 20 */ blr + +.global "__ct__31TCastToPtr<17CEnergyProjectile>FR7CEntity" +"__ct__31TCastToPtr<17CEnergyProjectile>FR7CEntity": +/* 800AED34 000ABC94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AED38 000ABC98 7C 08 02 A6 */ mflr r0 +/* 800AED3C 000ABC9C 3C A0 80 3E */ lis r5, lbl_803DC3FC@ha +/* 800AED40 000ABCA0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AED44 000ABCA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AED48 000ABCA8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AED4C 000ABCAC 38 A5 C3 FC */ addi r5, r5, lbl_803DC3FC@l +/* 800AED50 000ABCB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AED54 000ABCB4 7C 7F 1B 78 */ mr r31, r3 +/* 800AED58 000ABCB8 90 03 00 00 */ stw r0, 0(r3) +/* 800AED5C 000ABCBC 7C 83 23 78 */ mr r3, r4 +/* 800AED60 000ABCC0 38 00 00 00 */ li r0, 0 +/* 800AED64 000ABCC4 7F E4 FB 78 */ mr r4, r31 +/* 800AED68 000ABCC8 90 BF 00 00 */ stw r5, 0(r31) +/* 800AED6C 000ABCCC 90 1F 00 04 */ stw r0, 4(r31) +/* 800AED70 000ABCD0 81 83 00 00 */ lwz r12, 0(r3) +/* 800AED74 000ABCD4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AED78 000ABCD8 7D 89 03 A6 */ mtctr r12 +/* 800AED7C 000ABCDC 4E 80 04 21 */ bctrl +/* 800AED80 000ABCE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AED84 000ABCE4 7F E3 FB 78 */ mr r3, r31 +/* 800AED88 000ABCE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AED8C 000ABCEC 7C 08 03 A6 */ mtlr r0 +/* 800AED90 000ABCF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AED94 000ABCF4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR7CWeapon" +"Visit__30TCastToPtr<16CDestroyableRock>FR7CWeapon": +/* 800AED98 000ABCF8 38 00 00 00 */ li r0, 0 +/* 800AED9C 000ABCFC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEDA0 000ABD00 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CWallCrawlerSwarm" +"Visit__30TCastToPtr<16CDestroyableRock>FR17CWallCrawlerSwarm": +/* 800AEDA4 000ABD04 38 00 00 00 */ li r0, 0 +/* 800AEDA8 000ABD08 90 03 00 04 */ stw r0, 4(r3) +/* 800AEDAC 000ABD0C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptSpindleCamera" +"Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptSpindleCamera": +/* 800AEDB0 000ABD10 38 00 00 00 */ li r0, 0 +/* 800AEDB4 000ABD14 90 03 00 04 */ stw r0, 4(r3) +/* 800AEDB8 000ABD18 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CSnakeWeedSwarm" +"Visit__30TCastToPtr<16CDestroyableRock>FR15CSnakeWeedSwarm": +/* 800AEDBC 000ABD1C 38 00 00 00 */ li r0, 0 +/* 800AEDC0 000ABD20 90 03 00 04 */ stw r0, 4(r3) +/* 800AEDC4 000ABD24 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptWaypoint" +"Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptWaypoint": +/* 800AEDC8 000ABD28 38 00 00 00 */ li r0, 0 +/* 800AEDCC 000ABD2C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEDD0 000ABD30 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptWater" +"Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptWater": +/* 800AEDD4 000ABD34 38 00 00 00 */ li r0, 0 +/* 800AEDD8 000ABD38 90 03 00 04 */ stw r0, 4(r3) +/* 800AEDDC 000ABD3C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptVisorFlare" +"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptVisorFlare": +/* 800AEDE0 000ABD40 38 00 00 00 */ li r0, 0 +/* 800AEDE4 000ABD44 90 03 00 04 */ stw r0, 4(r3) +/* 800AEDE8 000ABD48 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR14CScriptTrigger" +"Visit__30TCastToPtr<16CDestroyableRock>FR14CScriptTrigger": +/* 800AEDEC 000ABD4C 38 00 00 00 */ li r0, 0 +/* 800AEDF0 000ABD50 90 03 00 04 */ stw r0, 4(r3) +/* 800AEDF4 000ABD54 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptTimer" +"Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptTimer": +/* 800AEDF8 000ABD58 38 00 00 00 */ li r0, 0 +/* 800AEDFC 000ABD5C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE00 000ABD60 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR10CTeamAiMgr" +"Visit__30TCastToPtr<16CDestroyableRock>FR10CTeamAiMgr": +/* 800AEE04 000ABD64 38 00 00 00 */ li r0, 0 +/* 800AEE08 000ABD68 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE0C 000ABD6C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR21CScriptTargetingPoint" +"Visit__30TCastToPtr<16CDestroyableRock>FR21CScriptTargetingPoint": +/* 800AEE10 000ABD70 38 00 00 00 */ li r0, 0 +/* 800AEE14 000ABD74 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE18 000ABD78 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR25CScriptSpiderBallWaypoint" +"Visit__30TCastToPtr<16CDestroyableRock>FR25CScriptSpiderBallWaypoint": +/* 800AEE1C 000ABD7C 38 00 00 00 */ li r0, 0 +/* 800AEE20 000ABD80 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE24 000ABD84 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR34CScriptSpiderBallAttractionSurface" +"Visit__30TCastToPtr<16CDestroyableRock>FR34CScriptSpiderBallAttractionSurface": +/* 800AEE28 000ABD88 38 00 00 00 */ li r0, 0 +/* 800AEE2C 000ABD8C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE30 000ABD90 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR22CScriptSpecialFunction" +"Visit__30TCastToPtr<16CDestroyableRock>FR22CScriptSpecialFunction": +/* 800AEE34 000ABD94 38 00 00 00 */ li r0, 0 +/* 800AEE38 000ABD98 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE3C 000ABD9C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptSpawnPoint" +"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptSpawnPoint": +/* 800AEE40 000ABDA0 38 00 00 00 */ li r0, 0 +/* 800AEE44 000ABDA4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE48 000ABDA8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptSound" +"Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptSound": +/* 800AEE4C 000ABDAC 38 00 00 00 */ li r0, 0 +/* 800AEE50 000ABDB0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE54 000ABDB4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptRoomAcoustics" +"Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptRoomAcoustics": +/* 800AEE58 000ABDB8 38 00 00 00 */ li r0, 0 +/* 800AEE5C 000ABDBC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE60 000ABDC0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR22CScriptPointOfinterest" +"Visit__30TCastToPtr<16CDestroyableRock>FR22CScriptPointOfinterest": +/* 800AEE64 000ABDC4 38 00 00 00 */ li r0, 0 +/* 800AEE68 000ABDC8 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE6C 000ABDCC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptPlayerHint" +"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptPlayerHint": +/* 800AEE70 000ABDD0 38 00 00 00 */ li r0, 0 +/* 800AEE74 000ABDD4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE78 000ABDD8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptPlatform" +"Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptPlatform": +/* 800AEE7C 000ABDDC 38 00 00 00 */ li r0, 0 +/* 800AEE80 000ABDE0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE84 000ABDE4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR13CScriptPickup" +"Visit__30TCastToPtr<16CDestroyableRock>FR13CScriptPickup": +/* 800AEE88 000ABDE8 38 00 00 00 */ li r0, 0 +/* 800AEE8C 000ABDEC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE90 000ABDF0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptMazeNode" +"Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptMazeNode": +/* 800AEE94 000ABDF4 38 00 00 00 */ li r0, 0 +/* 800AEE98 000ABDF8 90 03 00 04 */ stw r0, 4(r3) +/* 800AEE9C 000ABDFC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR16CScriptGunTurret" +"Visit__30TCastToPtr<16CDestroyableRock>FR16CScriptGunTurret": +/* 800AEEA0 000ABE00 38 00 00 00 */ li r0, 0 +/* 800AEEA4 000ABE04 90 03 00 04 */ stw r0, 4(r3) +/* 800AEEA8 000ABE08 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR19CScriptGrapplePoint" +"Visit__30TCastToPtr<16CDestroyableRock>FR19CScriptGrapplePoint": +/* 800AEEAC 000ABE0C 38 00 00 00 */ li r0, 0 +/* 800AEEB0 000ABE10 90 03 00 04 */ stw r0, 4(r3) +/* 800AEEB4 000ABE14 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR13CScriptEffect" +"Visit__30TCastToPtr<16CDestroyableRock>FR13CScriptEffect": +/* 800AEEB8 000ABE18 38 00 00 00 */ li r0, 0 +/* 800AEEBC 000ABE1C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEEC0 000ABE20 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CScriptDoor" +"Visit__30TCastToPtr<16CDestroyableRock>FR11CScriptDoor": +/* 800AEEC4 000ABE24 38 00 00 00 */ li r0, 0 +/* 800AEEC8 000ABE28 90 03 00 04 */ stw r0, 4(r3) +/* 800AEECC 000ABE2C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CScriptDock" +"Visit__30TCastToPtr<16CDestroyableRock>FR11CScriptDock": +/* 800AEED0 000ABE30 38 00 00 00 */ li r0, 0 +/* 800AEED4 000ABE34 90 03 00 04 */ stw r0, 4(r3) +/* 800AEED8 000ABE38 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR18CScriptDistanceFog" +"Visit__30TCastToPtr<16CDestroyableRock>FR18CScriptDistanceFog": +/* 800AEEDC 000ABE3C 38 00 00 00 */ li r0, 0 +/* 800AEEE0 000ABE40 90 03 00 04 */ stw r0, 4(r3) +/* 800AEEE4 000ABE44 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR26CScriptDebugCameraWaypoint" +"Visit__30TCastToPtr<16CDestroyableRock>FR26CScriptDebugCameraWaypoint": +/* 800AEEE8 000ABE48 38 00 00 00 */ li r0, 0 +/* 800AEEEC 000ABE4C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEEF0 000ABE50 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptCoverPoint" +"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptCoverPoint": +/* 800AEEF4 000ABE54 38 00 00 00 */ li r0, 0 +/* 800AEEF8 000ABE58 90 03 00 04 */ stw r0, 4(r3) +/* 800AEEFC 000ABE5C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR21CScriptCameraWaypoint" +"Visit__30TCastToPtr<16CDestroyableRock>FR21CScriptCameraWaypoint": +/* 800AEF00 000ABE60 38 00 00 00 */ li r0, 0 +/* 800AEF04 000ABE64 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF08 000ABE68 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR24CScriptCameraPitchVolume" +"Visit__30TCastToPtr<16CDestroyableRock>FR24CScriptCameraPitchVolume": +/* 800AEF0C 000ABE6C 38 00 00 00 */ li r0, 0 +/* 800AEF10 000ABE70 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF14 000ABE74 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptCameraHint" +"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptCameraHint": +/* 800AEF18 000ABE78 38 00 00 00 */ li r0, 0 +/* 800AEF1C 000ABE7C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF20 000ABE80 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR18CScriptAiJumpPoint" +"Visit__30TCastToPtr<16CDestroyableRock>FR18CScriptAiJumpPoint": +/* 800AEF24 000ABE84 38 00 00 00 */ li r0, 0 +/* 800AEF28 000ABE88 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF2C 000ABE8C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptActorKeyframe" +"Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptActorKeyframe": +/* 800AEF30 000ABE90 38 00 00 00 */ li r0, 0 +/* 800AEF34 000ABE94 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF38 000ABE98 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptActor" +"Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptActor": +/* 800AEF3C 000ABE9C 38 00 00 00 */ li r0, 0 +/* 800AEF40 000ABEA0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF44 000ABEA4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR9CRepulsor" +"Visit__30TCastToPtr<16CDestroyableRock>FR9CRepulsor": +/* 800AEF48 000ABEA8 38 00 00 00 */ li r0, 0 +/* 800AEF4C 000ABEAC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF50 000ABEB0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR7CPlayer" +"Visit__30TCastToPtr<16CDestroyableRock>FR7CPlayer": +/* 800AEF54 000ABEB4 38 00 00 00 */ li r0, 0 +/* 800AEF58 000ABEB8 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF5C 000ABEBC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR13CPhysicsActor" +"Visit__30TCastToPtr<16CDestroyableRock>FR13CPhysicsActor": +/* 800AEF60 000ABEC0 38 00 00 00 */ li r0, 0 +/* 800AEF64 000ABEC4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF68 000ABEC8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR3CAi" +"Visit__30TCastToPtr<16CDestroyableRock>FR3CAi": +/* 800AEF6C 000ABECC 38 00 00 00 */ li r0, 0 +/* 800AEF70 000ABED0 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF74 000ABED4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CPathCamera" +"Visit__30TCastToPtr<16CDestroyableRock>FR11CPathCamera": +/* 800AEF78 000ABED8 38 00 00 00 */ li r0, 0 +/* 800AEF7C 000ABEDC 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF80 000ABEE0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR18CMetroidPrimeRelay" +"Visit__30TCastToPtr<16CDestroyableRock>FR18CMetroidPrimeRelay": +/* 800AEF84 000ABEE4 38 00 00 00 */ li r0, 0 +/* 800AEF88 000ABEE8 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF8C 000ABEEC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR19CHUDBillboardEffect" +"Visit__30TCastToPtr<16CDestroyableRock>FR19CHUDBillboardEffect": +/* 800AEF90 000ABEF0 38 00 00 00 */ li r0, 0 +/* 800AEF94 000ABEF4 90 03 00 04 */ stw r0, 4(r3) +/* 800AEF98 000ABEF8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CGameProjectile" +"Visit__30TCastToPtr<16CDestroyableRock>FR15CGameProjectile": +/* 800AEF9C 000ABEFC 38 00 00 00 */ li r0, 0 +/* 800AEFA0 000ABF00 90 03 00 04 */ stw r0, 4(r3) +/* 800AEFA4 000ABF04 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR10CGameLight" +"Visit__30TCastToPtr<16CDestroyableRock>FR10CGameLight": +/* 800AEFA8 000ABF08 38 00 00 00 */ li r0, 0 +/* 800AEFAC 000ABF0C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEFB0 000ABF10 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CGameCamera" +"Visit__30TCastToPtr<16CDestroyableRock>FR11CGameCamera": +/* 800AEFB4 000ABF14 38 00 00 00 */ li r0, 0 +/* 800AEFB8 000ABF18 90 03 00 04 */ stw r0, 4(r3) +/* 800AEFBC 000ABF1C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR10CFishCloud" +"Visit__30TCastToPtr<16CDestroyableRock>FR10CFishCloud": +/* 800AEFC0 000ABF20 38 00 00 00 */ li r0, 0 +/* 800AEFC4 000ABF24 90 03 00 04 */ stw r0, 4(r3) +/* 800AEFC8 000ABF28 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR18CFirstPersonCamera" +"Visit__30TCastToPtr<16CDestroyableRock>FR18CFirstPersonCamera": +/* 800AEFCC 000ABF2C 38 00 00 00 */ li r0, 0 +/* 800AEFD0 000ABF30 90 03 00 04 */ stw r0, 4(r3) +/* 800AEFD4 000ABF34 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR10CExplosion" +"Visit__30TCastToPtr<16CDestroyableRock>FR10CExplosion": +/* 800AEFD8 000ABF38 38 00 00 00 */ li r0, 0 +/* 800AEFDC 000ABF3C 90 03 00 04 */ stw r0, 4(r3) +/* 800AEFE0 000ABF40 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR7CEntity" +"Visit__30TCastToPtr<16CDestroyableRock>FR7CEntity": +/* 800AEFE4 000ABF44 38 00 00 00 */ li r0, 0 +/* 800AEFE8 000ABF48 90 03 00 04 */ stw r0, 4(r3) +/* 800AEFEC 000ABF4C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CEnergyProjectile" +"Visit__30TCastToPtr<16CDestroyableRock>FR17CEnergyProjectile": +/* 800AEFF0 000ABF50 38 00 00 00 */ li r0, 0 +/* 800AEFF4 000ABF54 90 03 00 04 */ stw r0, 4(r3) +/* 800AEFF8 000ABF58 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR16CDestroyableRock" +"Visit__30TCastToPtr<16CDestroyableRock>FR16CDestroyableRock": +/* 800AEFFC 000ABF5C 90 83 00 04 */ stw r4, 4(r3) +/* 800AF000 000ABF60 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CCollisionActor" +"Visit__30TCastToPtr<16CDestroyableRock>FR15CCollisionActor": +/* 800AF004 000ABF64 38 00 00 00 */ li r0, 0 +/* 800AF008 000ABF68 90 03 00 04 */ stw r0, 4(r3) +/* 800AF00C 000ABF6C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR16CCinematicCamera" +"Visit__30TCastToPtr<16CDestroyableRock>FR16CCinematicCamera": +/* 800AF010 000ABF70 38 00 00 00 */ li r0, 0 +/* 800AF014 000ABF74 90 03 00 04 */ stw r0, 4(r3) +/* 800AF018 000ABF78 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR5CBomb" +"Visit__30TCastToPtr<16CDestroyableRock>FR5CBomb": +/* 800AF01C 000ABF7C 38 00 00 00 */ li r0, 0 +/* 800AF020 000ABF80 90 03 00 04 */ stw r0, 4(r3) +/* 800AF024 000ABF84 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CBallCamera" +"Visit__30TCastToPtr<16CDestroyableRock>FR11CBallCamera": +/* 800AF028 000ABF88 38 00 00 00 */ li r0, 0 +/* 800AF02C 000ABF8C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF030 000ABF90 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CDestroyableRock>FR6CActor" +"Visit__30TCastToPtr<16CDestroyableRock>FR6CActor": +/* 800AF034 000ABF94 38 00 00 00 */ li r0, 0 +/* 800AF038 000ABF98 90 03 00 04 */ stw r0, 4(r3) +/* 800AF03C 000ABF9C 4E 80 00 20 */ blr + +.global "__ct__30TCastToPtr<16CDestroyableRock>FP7CEntity" +"__ct__30TCastToPtr<16CDestroyableRock>FP7CEntity": +/* 800AF040 000ABFA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AF044 000ABFA4 7C 08 02 A6 */ mflr r0 +/* 800AF048 000ABFA8 3C A0 80 3E */ lis r5, lbl_803DC310@ha +/* 800AF04C 000ABFAC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AF050 000ABFB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AF054 000ABFB4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AF058 000ABFB8 38 A5 C3 10 */ addi r5, r5, lbl_803DC310@l +/* 800AF05C 000ABFBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AF060 000ABFC0 7C 7F 1B 78 */ mr r31, r3 +/* 800AF064 000ABFC4 90 03 00 00 */ stw r0, 0(r3) +/* 800AF068 000ABFC8 7C 83 23 78 */ mr r3, r4 +/* 800AF06C 000ABFCC 38 00 00 00 */ li r0, 0 +/* 800AF070 000ABFD0 7F E4 FB 78 */ mr r4, r31 +/* 800AF074 000ABFD4 90 BF 00 00 */ stw r5, 0(r31) +/* 800AF078 000ABFD8 90 1F 00 04 */ stw r0, 4(r31) +/* 800AF07C 000ABFDC 81 83 00 00 */ lwz r12, 0(r3) +/* 800AF080 000ABFE0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AF084 000ABFE4 7D 89 03 A6 */ mtctr r12 +/* 800AF088 000ABFE8 4E 80 04 21 */ bctrl +/* 800AF08C 000ABFEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AF090 000ABFF0 7F E3 FB 78 */ mr r3, r31 +/* 800AF094 000ABFF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AF098 000ABFF8 7C 08 03 A6 */ mtlr r0 +/* 800AF09C 000ABFFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AF0A0 000AC000 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR7CWeapon" +"Visit__29TCastToPtr<15CCollisionActor>FR7CWeapon": +/* 800AF0A4 000AC004 38 00 00 00 */ li r0, 0 +/* 800AF0A8 000AC008 90 03 00 04 */ stw r0, 4(r3) +/* 800AF0AC 000AC00C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR17CWallCrawlerSwarm" +"Visit__29TCastToPtr<15CCollisionActor>FR17CWallCrawlerSwarm": +/* 800AF0B0 000AC010 38 00 00 00 */ li r0, 0 +/* 800AF0B4 000AC014 90 03 00 04 */ stw r0, 4(r3) +/* 800AF0B8 000AC018 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR20CScriptSpindleCamera" +"Visit__29TCastToPtr<15CCollisionActor>FR20CScriptSpindleCamera": +/* 800AF0BC 000AC01C 38 00 00 00 */ li r0, 0 +/* 800AF0C0 000AC020 90 03 00 04 */ stw r0, 4(r3) +/* 800AF0C4 000AC024 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR15CSnakeWeedSwarm" +"Visit__29TCastToPtr<15CCollisionActor>FR15CSnakeWeedSwarm": +/* 800AF0C8 000AC028 38 00 00 00 */ li r0, 0 +/* 800AF0CC 000AC02C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF0D0 000AC030 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR15CScriptWaypoint" +"Visit__29TCastToPtr<15CCollisionActor>FR15CScriptWaypoint": +/* 800AF0D4 000AC034 38 00 00 00 */ li r0, 0 +/* 800AF0D8 000AC038 90 03 00 04 */ stw r0, 4(r3) +/* 800AF0DC 000AC03C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR12CScriptWater" +"Visit__29TCastToPtr<15CCollisionActor>FR12CScriptWater": +/* 800AF0E0 000AC040 38 00 00 00 */ li r0, 0 +/* 800AF0E4 000AC044 90 03 00 04 */ stw r0, 4(r3) +/* 800AF0E8 000AC048 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptVisorFlare" +"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptVisorFlare": +/* 800AF0EC 000AC04C 38 00 00 00 */ li r0, 0 +/* 800AF0F0 000AC050 90 03 00 04 */ stw r0, 4(r3) +/* 800AF0F4 000AC054 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR14CScriptTrigger" +"Visit__29TCastToPtr<15CCollisionActor>FR14CScriptTrigger": +/* 800AF0F8 000AC058 38 00 00 00 */ li r0, 0 +/* 800AF0FC 000AC05C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF100 000AC060 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR12CScriptTimer" +"Visit__29TCastToPtr<15CCollisionActor>FR12CScriptTimer": +/* 800AF104 000AC064 38 00 00 00 */ li r0, 0 +/* 800AF108 000AC068 90 03 00 04 */ stw r0, 4(r3) +/* 800AF10C 000AC06C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR10CTeamAiMgr" +"Visit__29TCastToPtr<15CCollisionActor>FR10CTeamAiMgr": +/* 800AF110 000AC070 38 00 00 00 */ li r0, 0 +/* 800AF114 000AC074 90 03 00 04 */ stw r0, 4(r3) +/* 800AF118 000AC078 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR21CScriptTargetingPoint" +"Visit__29TCastToPtr<15CCollisionActor>FR21CScriptTargetingPoint": +/* 800AF11C 000AC07C 38 00 00 00 */ li r0, 0 +/* 800AF120 000AC080 90 03 00 04 */ stw r0, 4(r3) +/* 800AF124 000AC084 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR25CScriptSpiderBallWaypoint" +"Visit__29TCastToPtr<15CCollisionActor>FR25CScriptSpiderBallWaypoint": +/* 800AF128 000AC088 38 00 00 00 */ li r0, 0 +/* 800AF12C 000AC08C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF130 000AC090 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR34CScriptSpiderBallAttractionSurface" +"Visit__29TCastToPtr<15CCollisionActor>FR34CScriptSpiderBallAttractionSurface": +/* 800AF134 000AC094 38 00 00 00 */ li r0, 0 +/* 800AF138 000AC098 90 03 00 04 */ stw r0, 4(r3) +/* 800AF13C 000AC09C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR22CScriptSpecialFunction" +"Visit__29TCastToPtr<15CCollisionActor>FR22CScriptSpecialFunction": +/* 800AF140 000AC0A0 38 00 00 00 */ li r0, 0 +/* 800AF144 000AC0A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF148 000AC0A8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptSpawnPoint" +"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptSpawnPoint": +/* 800AF14C 000AC0AC 38 00 00 00 */ li r0, 0 +/* 800AF150 000AC0B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF154 000AC0B4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR12CScriptSound" +"Visit__29TCastToPtr<15CCollisionActor>FR12CScriptSound": +/* 800AF158 000AC0B8 38 00 00 00 */ li r0, 0 +/* 800AF15C 000AC0BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF160 000AC0C0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR20CScriptRoomAcoustics" +"Visit__29TCastToPtr<15CCollisionActor>FR20CScriptRoomAcoustics": +/* 800AF164 000AC0C4 38 00 00 00 */ li r0, 0 +/* 800AF168 000AC0C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF16C 000AC0CC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR22CScriptPointOfinterest" +"Visit__29TCastToPtr<15CCollisionActor>FR22CScriptPointOfinterest": +/* 800AF170 000AC0D0 38 00 00 00 */ li r0, 0 +/* 800AF174 000AC0D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF178 000AC0D8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptPlayerHint" +"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptPlayerHint": +/* 800AF17C 000AC0DC 38 00 00 00 */ li r0, 0 +/* 800AF180 000AC0E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF184 000AC0E4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR15CScriptPlatform" +"Visit__29TCastToPtr<15CCollisionActor>FR15CScriptPlatform": +/* 800AF188 000AC0E8 38 00 00 00 */ li r0, 0 +/* 800AF18C 000AC0EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF190 000AC0F0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR13CScriptPickup" +"Visit__29TCastToPtr<15CCollisionActor>FR13CScriptPickup": +/* 800AF194 000AC0F4 38 00 00 00 */ li r0, 0 +/* 800AF198 000AC0F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF19C 000AC0FC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR15CScriptMazeNode" +"Visit__29TCastToPtr<15CCollisionActor>FR15CScriptMazeNode": +/* 800AF1A0 000AC100 38 00 00 00 */ li r0, 0 +/* 800AF1A4 000AC104 90 03 00 04 */ stw r0, 4(r3) +/* 800AF1A8 000AC108 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR16CScriptGunTurret" +"Visit__29TCastToPtr<15CCollisionActor>FR16CScriptGunTurret": +/* 800AF1AC 000AC10C 38 00 00 00 */ li r0, 0 +/* 800AF1B0 000AC110 90 03 00 04 */ stw r0, 4(r3) +/* 800AF1B4 000AC114 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR19CScriptGrapplePoint" +"Visit__29TCastToPtr<15CCollisionActor>FR19CScriptGrapplePoint": +/* 800AF1B8 000AC118 38 00 00 00 */ li r0, 0 +/* 800AF1BC 000AC11C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF1C0 000AC120 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR13CScriptEffect" +"Visit__29TCastToPtr<15CCollisionActor>FR13CScriptEffect": +/* 800AF1C4 000AC124 38 00 00 00 */ li r0, 0 +/* 800AF1C8 000AC128 90 03 00 04 */ stw r0, 4(r3) +/* 800AF1CC 000AC12C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR11CScriptDoor" +"Visit__29TCastToPtr<15CCollisionActor>FR11CScriptDoor": +/* 800AF1D0 000AC130 38 00 00 00 */ li r0, 0 +/* 800AF1D4 000AC134 90 03 00 04 */ stw r0, 4(r3) +/* 800AF1D8 000AC138 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR11CScriptDock" +"Visit__29TCastToPtr<15CCollisionActor>FR11CScriptDock": +/* 800AF1DC 000AC13C 38 00 00 00 */ li r0, 0 +/* 800AF1E0 000AC140 90 03 00 04 */ stw r0, 4(r3) +/* 800AF1E4 000AC144 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR18CScriptDistanceFog" +"Visit__29TCastToPtr<15CCollisionActor>FR18CScriptDistanceFog": +/* 800AF1E8 000AC148 38 00 00 00 */ li r0, 0 +/* 800AF1EC 000AC14C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF1F0 000AC150 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR26CScriptDebugCameraWaypoint" +"Visit__29TCastToPtr<15CCollisionActor>FR26CScriptDebugCameraWaypoint": +/* 800AF1F4 000AC154 38 00 00 00 */ li r0, 0 +/* 800AF1F8 000AC158 90 03 00 04 */ stw r0, 4(r3) +/* 800AF1FC 000AC15C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptCoverPoint" +"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptCoverPoint": +/* 800AF200 000AC160 38 00 00 00 */ li r0, 0 +/* 800AF204 000AC164 90 03 00 04 */ stw r0, 4(r3) +/* 800AF208 000AC168 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR21CScriptCameraWaypoint" +"Visit__29TCastToPtr<15CCollisionActor>FR21CScriptCameraWaypoint": +/* 800AF20C 000AC16C 38 00 00 00 */ li r0, 0 +/* 800AF210 000AC170 90 03 00 04 */ stw r0, 4(r3) +/* 800AF214 000AC174 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR24CScriptCameraPitchVolume" +"Visit__29TCastToPtr<15CCollisionActor>FR24CScriptCameraPitchVolume": +/* 800AF218 000AC178 38 00 00 00 */ li r0, 0 +/* 800AF21C 000AC17C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF220 000AC180 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptCameraHint" +"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptCameraHint": +/* 800AF224 000AC184 38 00 00 00 */ li r0, 0 +/* 800AF228 000AC188 90 03 00 04 */ stw r0, 4(r3) +/* 800AF22C 000AC18C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR18CScriptAiJumpPoint" +"Visit__29TCastToPtr<15CCollisionActor>FR18CScriptAiJumpPoint": +/* 800AF230 000AC190 38 00 00 00 */ li r0, 0 +/* 800AF234 000AC194 90 03 00 04 */ stw r0, 4(r3) +/* 800AF238 000AC198 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR20CScriptActorKeyframe" +"Visit__29TCastToPtr<15CCollisionActor>FR20CScriptActorKeyframe": +/* 800AF23C 000AC19C 38 00 00 00 */ li r0, 0 +/* 800AF240 000AC1A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF244 000AC1A4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR12CScriptActor" +"Visit__29TCastToPtr<15CCollisionActor>FR12CScriptActor": +/* 800AF248 000AC1A8 38 00 00 00 */ li r0, 0 +/* 800AF24C 000AC1AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF250 000AC1B0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR9CRepulsor" +"Visit__29TCastToPtr<15CCollisionActor>FR9CRepulsor": +/* 800AF254 000AC1B4 38 00 00 00 */ li r0, 0 +/* 800AF258 000AC1B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF25C 000AC1BC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR7CPlayer" +"Visit__29TCastToPtr<15CCollisionActor>FR7CPlayer": +/* 800AF260 000AC1C0 38 00 00 00 */ li r0, 0 +/* 800AF264 000AC1C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF268 000AC1C8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR13CPhysicsActor" +"Visit__29TCastToPtr<15CCollisionActor>FR13CPhysicsActor": +/* 800AF26C 000AC1CC 38 00 00 00 */ li r0, 0 +/* 800AF270 000AC1D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF274 000AC1D4 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR3CAi" +"Visit__29TCastToPtr<15CCollisionActor>FR3CAi": +/* 800AF278 000AC1D8 38 00 00 00 */ li r0, 0 +/* 800AF27C 000AC1DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF280 000AC1E0 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR11CPathCamera" +"Visit__29TCastToPtr<15CCollisionActor>FR11CPathCamera": +/* 800AF284 000AC1E4 38 00 00 00 */ li r0, 0 +/* 800AF288 000AC1E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF28C 000AC1EC 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR18CMetroidPrimeRelay" +"Visit__29TCastToPtr<15CCollisionActor>FR18CMetroidPrimeRelay": +/* 800AF290 000AC1F0 38 00 00 00 */ li r0, 0 +/* 800AF294 000AC1F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF298 000AC1F8 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR19CHUDBillboardEffect" +"Visit__29TCastToPtr<15CCollisionActor>FR19CHUDBillboardEffect": +/* 800AF29C 000AC1FC 38 00 00 00 */ li r0, 0 +/* 800AF2A0 000AC200 90 03 00 04 */ stw r0, 4(r3) +/* 800AF2A4 000AC204 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR15CGameProjectile" +"Visit__29TCastToPtr<15CCollisionActor>FR15CGameProjectile": +/* 800AF2A8 000AC208 38 00 00 00 */ li r0, 0 +/* 800AF2AC 000AC20C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF2B0 000AC210 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR10CGameLight" +"Visit__29TCastToPtr<15CCollisionActor>FR10CGameLight": +/* 800AF2B4 000AC214 38 00 00 00 */ li r0, 0 +/* 800AF2B8 000AC218 90 03 00 04 */ stw r0, 4(r3) +/* 800AF2BC 000AC21C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR11CGameCamera" +"Visit__29TCastToPtr<15CCollisionActor>FR11CGameCamera": +/* 800AF2C0 000AC220 38 00 00 00 */ li r0, 0 +/* 800AF2C4 000AC224 90 03 00 04 */ stw r0, 4(r3) +/* 800AF2C8 000AC228 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR10CFishCloud" +"Visit__29TCastToPtr<15CCollisionActor>FR10CFishCloud": +/* 800AF2CC 000AC22C 38 00 00 00 */ li r0, 0 +/* 800AF2D0 000AC230 90 03 00 04 */ stw r0, 4(r3) +/* 800AF2D4 000AC234 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR18CFirstPersonCamera" +"Visit__29TCastToPtr<15CCollisionActor>FR18CFirstPersonCamera": +/* 800AF2D8 000AC238 38 00 00 00 */ li r0, 0 +/* 800AF2DC 000AC23C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF2E0 000AC240 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR10CExplosion" +"Visit__29TCastToPtr<15CCollisionActor>FR10CExplosion": +/* 800AF2E4 000AC244 38 00 00 00 */ li r0, 0 +/* 800AF2E8 000AC248 90 03 00 04 */ stw r0, 4(r3) +/* 800AF2EC 000AC24C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR7CEntity" +"Visit__29TCastToPtr<15CCollisionActor>FR7CEntity": +/* 800AF2F0 000AC250 38 00 00 00 */ li r0, 0 +/* 800AF2F4 000AC254 90 03 00 04 */ stw r0, 4(r3) +/* 800AF2F8 000AC258 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR17CEnergyProjectile" +"Visit__29TCastToPtr<15CCollisionActor>FR17CEnergyProjectile": +/* 800AF2FC 000AC25C 38 00 00 00 */ li r0, 0 +/* 800AF300 000AC260 90 03 00 04 */ stw r0, 4(r3) +/* 800AF304 000AC264 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR16CDestroyableRock" +"Visit__29TCastToPtr<15CCollisionActor>FR16CDestroyableRock": +/* 800AF308 000AC268 38 00 00 00 */ li r0, 0 +/* 800AF30C 000AC26C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF310 000AC270 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR15CCollisionActor" +"Visit__29TCastToPtr<15CCollisionActor>FR15CCollisionActor": +/* 800AF314 000AC274 90 83 00 04 */ stw r4, 4(r3) +/* 800AF318 000AC278 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR16CCinematicCamera" +"Visit__29TCastToPtr<15CCollisionActor>FR16CCinematicCamera": +/* 800AF31C 000AC27C 38 00 00 00 */ li r0, 0 +/* 800AF320 000AC280 90 03 00 04 */ stw r0, 4(r3) +/* 800AF324 000AC284 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR5CBomb" +"Visit__29TCastToPtr<15CCollisionActor>FR5CBomb": +/* 800AF328 000AC288 38 00 00 00 */ li r0, 0 +/* 800AF32C 000AC28C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF330 000AC290 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR11CBallCamera" +"Visit__29TCastToPtr<15CCollisionActor>FR11CBallCamera": +/* 800AF334 000AC294 38 00 00 00 */ li r0, 0 +/* 800AF338 000AC298 90 03 00 04 */ stw r0, 4(r3) +/* 800AF33C 000AC29C 4E 80 00 20 */ blr + +.global "Visit__29TCastToPtr<15CCollisionActor>FR6CActor" +"Visit__29TCastToPtr<15CCollisionActor>FR6CActor": +/* 800AF340 000AC2A0 38 00 00 00 */ li r0, 0 +/* 800AF344 000AC2A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF348 000AC2A8 4E 80 00 20 */ blr + +.global "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +"__ct__29TCastToPtr<15CCollisionActor>FP7CEntity": +/* 800AF34C 000AC2AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AF350 000AC2B0 7C 08 02 A6 */ mflr r0 +/* 800AF354 000AC2B4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AF358 000AC2B8 3C A0 80 3E */ lis r5, lbl_803DC224@ha +/* 800AF35C 000AC2BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AF360 000AC2C0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AF364 000AC2C4 28 04 00 00 */ cmplwi r4, 0 +/* 800AF368 000AC2C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AF36C 000AC2CC 7C 7F 1B 78 */ mr r31, r3 +/* 800AF370 000AC2D0 38 65 C2 24 */ addi r3, r5, lbl_803DC224@l +/* 800AF374 000AC2D4 90 1F 00 00 */ stw r0, 0(r31) +/* 800AF378 000AC2D8 38 00 00 00 */ li r0, 0 +/* 800AF37C 000AC2DC 90 7F 00 00 */ stw r3, 0(r31) +/* 800AF380 000AC2E0 90 1F 00 04 */ stw r0, 4(r31) +/* 800AF384 000AC2E4 41 82 00 1C */ beq lbl_800AF3A0 +/* 800AF388 000AC2E8 7C 83 23 78 */ mr r3, r4 +/* 800AF38C 000AC2EC 7F E4 FB 78 */ mr r4, r31 +/* 800AF390 000AC2F0 81 83 00 00 */ lwz r12, 0(r3) +/* 800AF394 000AC2F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AF398 000AC2F8 7D 89 03 A6 */ mtctr r12 +/* 800AF39C 000AC2FC 4E 80 04 21 */ bctrl +lbl_800AF3A0: +/* 800AF3A0 000AC300 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AF3A4 000AC304 7F E3 FB 78 */ mr r3, r31 +/* 800AF3A8 000AC308 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AF3AC 000AC30C 7C 08 03 A6 */ mtlr r0 +/* 800AF3B0 000AC310 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AF3B4 000AC314 4E 80 00 20 */ blr + +.global "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" +"__ct__29TCastToPtr<15CCollisionActor>FR7CEntity": +/* 800AF3B8 000AC318 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AF3BC 000AC31C 7C 08 02 A6 */ mflr r0 +/* 800AF3C0 000AC320 3C A0 80 3E */ lis r5, lbl_803DC224@ha +/* 800AF3C4 000AC324 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AF3C8 000AC328 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AF3CC 000AC32C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AF3D0 000AC330 38 A5 C2 24 */ addi r5, r5, lbl_803DC224@l +/* 800AF3D4 000AC334 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AF3D8 000AC338 7C 7F 1B 78 */ mr r31, r3 +/* 800AF3DC 000AC33C 90 03 00 00 */ stw r0, 0(r3) +/* 800AF3E0 000AC340 7C 83 23 78 */ mr r3, r4 +/* 800AF3E4 000AC344 38 00 00 00 */ li r0, 0 +/* 800AF3E8 000AC348 7F E4 FB 78 */ mr r4, r31 +/* 800AF3EC 000AC34C 90 BF 00 00 */ stw r5, 0(r31) +/* 800AF3F0 000AC350 90 1F 00 04 */ stw r0, 4(r31) +/* 800AF3F4 000AC354 81 83 00 00 */ lwz r12, 0(r3) +/* 800AF3F8 000AC358 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AF3FC 000AC35C 7D 89 03 A6 */ mtctr r12 +/* 800AF400 000AC360 4E 80 04 21 */ bctrl +/* 800AF404 000AC364 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AF408 000AC368 7F E3 FB 78 */ mr r3, r31 +/* 800AF40C 000AC36C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AF410 000AC370 7C 08 03 A6 */ mtlr r0 +/* 800AF414 000AC374 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AF418 000AC378 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR7CWeapon" +"Visit__30TCastToPtr<16CCinematicCamera>FR7CWeapon": +/* 800AF41C 000AC37C 38 00 00 00 */ li r0, 0 +/* 800AF420 000AC380 90 03 00 04 */ stw r0, 4(r3) +/* 800AF424 000AC384 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CWallCrawlerSwarm" +"Visit__30TCastToPtr<16CCinematicCamera>FR17CWallCrawlerSwarm": +/* 800AF428 000AC388 38 00 00 00 */ li r0, 0 +/* 800AF42C 000AC38C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF430 000AC390 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptSpindleCamera" +"Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptSpindleCamera": +/* 800AF434 000AC394 38 00 00 00 */ li r0, 0 +/* 800AF438 000AC398 90 03 00 04 */ stw r0, 4(r3) +/* 800AF43C 000AC39C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CSnakeWeedSwarm" +"Visit__30TCastToPtr<16CCinematicCamera>FR15CSnakeWeedSwarm": +/* 800AF440 000AC3A0 38 00 00 00 */ li r0, 0 +/* 800AF444 000AC3A4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF448 000AC3A8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptWaypoint" +"Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptWaypoint": +/* 800AF44C 000AC3AC 38 00 00 00 */ li r0, 0 +/* 800AF450 000AC3B0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF454 000AC3B4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptWater" +"Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptWater": +/* 800AF458 000AC3B8 38 00 00 00 */ li r0, 0 +/* 800AF45C 000AC3BC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF460 000AC3C0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptVisorFlare" +"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptVisorFlare": +/* 800AF464 000AC3C4 38 00 00 00 */ li r0, 0 +/* 800AF468 000AC3C8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF46C 000AC3CC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR14CScriptTrigger" +"Visit__30TCastToPtr<16CCinematicCamera>FR14CScriptTrigger": +/* 800AF470 000AC3D0 38 00 00 00 */ li r0, 0 +/* 800AF474 000AC3D4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF478 000AC3D8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptTimer" +"Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptTimer": +/* 800AF47C 000AC3DC 38 00 00 00 */ li r0, 0 +/* 800AF480 000AC3E0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF484 000AC3E4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR10CTeamAiMgr" +"Visit__30TCastToPtr<16CCinematicCamera>FR10CTeamAiMgr": +/* 800AF488 000AC3E8 38 00 00 00 */ li r0, 0 +/* 800AF48C 000AC3EC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF490 000AC3F0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR21CScriptTargetingPoint" +"Visit__30TCastToPtr<16CCinematicCamera>FR21CScriptTargetingPoint": +/* 800AF494 000AC3F4 38 00 00 00 */ li r0, 0 +/* 800AF498 000AC3F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF49C 000AC3FC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR25CScriptSpiderBallWaypoint" +"Visit__30TCastToPtr<16CCinematicCamera>FR25CScriptSpiderBallWaypoint": +/* 800AF4A0 000AC400 38 00 00 00 */ li r0, 0 +/* 800AF4A4 000AC404 90 03 00 04 */ stw r0, 4(r3) +/* 800AF4A8 000AC408 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR34CScriptSpiderBallAttractionSurface" +"Visit__30TCastToPtr<16CCinematicCamera>FR34CScriptSpiderBallAttractionSurface": +/* 800AF4AC 000AC40C 38 00 00 00 */ li r0, 0 +/* 800AF4B0 000AC410 90 03 00 04 */ stw r0, 4(r3) +/* 800AF4B4 000AC414 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR22CScriptSpecialFunction" +"Visit__30TCastToPtr<16CCinematicCamera>FR22CScriptSpecialFunction": +/* 800AF4B8 000AC418 38 00 00 00 */ li r0, 0 +/* 800AF4BC 000AC41C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF4C0 000AC420 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptSpawnPoint" +"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptSpawnPoint": +/* 800AF4C4 000AC424 38 00 00 00 */ li r0, 0 +/* 800AF4C8 000AC428 90 03 00 04 */ stw r0, 4(r3) +/* 800AF4CC 000AC42C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptSound" +"Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptSound": +/* 800AF4D0 000AC430 38 00 00 00 */ li r0, 0 +/* 800AF4D4 000AC434 90 03 00 04 */ stw r0, 4(r3) +/* 800AF4D8 000AC438 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptRoomAcoustics" +"Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptRoomAcoustics": +/* 800AF4DC 000AC43C 38 00 00 00 */ li r0, 0 +/* 800AF4E0 000AC440 90 03 00 04 */ stw r0, 4(r3) +/* 800AF4E4 000AC444 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR22CScriptPointOfinterest" +"Visit__30TCastToPtr<16CCinematicCamera>FR22CScriptPointOfinterest": +/* 800AF4E8 000AC448 38 00 00 00 */ li r0, 0 +/* 800AF4EC 000AC44C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF4F0 000AC450 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptPlayerHint" +"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptPlayerHint": +/* 800AF4F4 000AC454 38 00 00 00 */ li r0, 0 +/* 800AF4F8 000AC458 90 03 00 04 */ stw r0, 4(r3) +/* 800AF4FC 000AC45C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptPlatform" +"Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptPlatform": +/* 800AF500 000AC460 38 00 00 00 */ li r0, 0 +/* 800AF504 000AC464 90 03 00 04 */ stw r0, 4(r3) +/* 800AF508 000AC468 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR13CScriptPickup" +"Visit__30TCastToPtr<16CCinematicCamera>FR13CScriptPickup": +/* 800AF50C 000AC46C 38 00 00 00 */ li r0, 0 +/* 800AF510 000AC470 90 03 00 04 */ stw r0, 4(r3) +/* 800AF514 000AC474 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptMazeNode" +"Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptMazeNode": +/* 800AF518 000AC478 38 00 00 00 */ li r0, 0 +/* 800AF51C 000AC47C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF520 000AC480 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR16CScriptGunTurret" +"Visit__30TCastToPtr<16CCinematicCamera>FR16CScriptGunTurret": +/* 800AF524 000AC484 38 00 00 00 */ li r0, 0 +/* 800AF528 000AC488 90 03 00 04 */ stw r0, 4(r3) +/* 800AF52C 000AC48C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR19CScriptGrapplePoint" +"Visit__30TCastToPtr<16CCinematicCamera>FR19CScriptGrapplePoint": +/* 800AF530 000AC490 38 00 00 00 */ li r0, 0 +/* 800AF534 000AC494 90 03 00 04 */ stw r0, 4(r3) +/* 800AF538 000AC498 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR13CScriptEffect" +"Visit__30TCastToPtr<16CCinematicCamera>FR13CScriptEffect": +/* 800AF53C 000AC49C 38 00 00 00 */ li r0, 0 +/* 800AF540 000AC4A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF544 000AC4A4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CScriptDoor" +"Visit__30TCastToPtr<16CCinematicCamera>FR11CScriptDoor": +/* 800AF548 000AC4A8 38 00 00 00 */ li r0, 0 +/* 800AF54C 000AC4AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF550 000AC4B0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CScriptDock" +"Visit__30TCastToPtr<16CCinematicCamera>FR11CScriptDock": +/* 800AF554 000AC4B4 38 00 00 00 */ li r0, 0 +/* 800AF558 000AC4B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF55C 000AC4BC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR18CScriptDistanceFog" +"Visit__30TCastToPtr<16CCinematicCamera>FR18CScriptDistanceFog": +/* 800AF560 000AC4C0 38 00 00 00 */ li r0, 0 +/* 800AF564 000AC4C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF568 000AC4C8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR26CScriptDebugCameraWaypoint" +"Visit__30TCastToPtr<16CCinematicCamera>FR26CScriptDebugCameraWaypoint": +/* 800AF56C 000AC4CC 38 00 00 00 */ li r0, 0 +/* 800AF570 000AC4D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF574 000AC4D4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptCoverPoint" +"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptCoverPoint": +/* 800AF578 000AC4D8 38 00 00 00 */ li r0, 0 +/* 800AF57C 000AC4DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF580 000AC4E0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR21CScriptCameraWaypoint" +"Visit__30TCastToPtr<16CCinematicCamera>FR21CScriptCameraWaypoint": +/* 800AF584 000AC4E4 38 00 00 00 */ li r0, 0 +/* 800AF588 000AC4E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF58C 000AC4EC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR24CScriptCameraPitchVolume" +"Visit__30TCastToPtr<16CCinematicCamera>FR24CScriptCameraPitchVolume": +/* 800AF590 000AC4F0 38 00 00 00 */ li r0, 0 +/* 800AF594 000AC4F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF598 000AC4F8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptCameraHint" +"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptCameraHint": +/* 800AF59C 000AC4FC 38 00 00 00 */ li r0, 0 +/* 800AF5A0 000AC500 90 03 00 04 */ stw r0, 4(r3) +/* 800AF5A4 000AC504 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR18CScriptAiJumpPoint" +"Visit__30TCastToPtr<16CCinematicCamera>FR18CScriptAiJumpPoint": +/* 800AF5A8 000AC508 38 00 00 00 */ li r0, 0 +/* 800AF5AC 000AC50C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF5B0 000AC510 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptActorKeyframe" +"Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptActorKeyframe": +/* 800AF5B4 000AC514 38 00 00 00 */ li r0, 0 +/* 800AF5B8 000AC518 90 03 00 04 */ stw r0, 4(r3) +/* 800AF5BC 000AC51C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptActor" +"Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptActor": +/* 800AF5C0 000AC520 38 00 00 00 */ li r0, 0 +/* 800AF5C4 000AC524 90 03 00 04 */ stw r0, 4(r3) +/* 800AF5C8 000AC528 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR9CRepulsor" +"Visit__30TCastToPtr<16CCinematicCamera>FR9CRepulsor": +/* 800AF5CC 000AC52C 38 00 00 00 */ li r0, 0 +/* 800AF5D0 000AC530 90 03 00 04 */ stw r0, 4(r3) +/* 800AF5D4 000AC534 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR7CPlayer" +"Visit__30TCastToPtr<16CCinematicCamera>FR7CPlayer": +/* 800AF5D8 000AC538 38 00 00 00 */ li r0, 0 +/* 800AF5DC 000AC53C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF5E0 000AC540 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR13CPhysicsActor" +"Visit__30TCastToPtr<16CCinematicCamera>FR13CPhysicsActor": +/* 800AF5E4 000AC544 38 00 00 00 */ li r0, 0 +/* 800AF5E8 000AC548 90 03 00 04 */ stw r0, 4(r3) +/* 800AF5EC 000AC54C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR3CAi" +"Visit__30TCastToPtr<16CCinematicCamera>FR3CAi": +/* 800AF5F0 000AC550 38 00 00 00 */ li r0, 0 +/* 800AF5F4 000AC554 90 03 00 04 */ stw r0, 4(r3) +/* 800AF5F8 000AC558 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CPathCamera" +"Visit__30TCastToPtr<16CCinematicCamera>FR11CPathCamera": +/* 800AF5FC 000AC55C 38 00 00 00 */ li r0, 0 +/* 800AF600 000AC560 90 03 00 04 */ stw r0, 4(r3) +/* 800AF604 000AC564 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR18CMetroidPrimeRelay" +"Visit__30TCastToPtr<16CCinematicCamera>FR18CMetroidPrimeRelay": +/* 800AF608 000AC568 38 00 00 00 */ li r0, 0 +/* 800AF60C 000AC56C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF610 000AC570 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR19CHUDBillboardEffect" +"Visit__30TCastToPtr<16CCinematicCamera>FR19CHUDBillboardEffect": +/* 800AF614 000AC574 38 00 00 00 */ li r0, 0 +/* 800AF618 000AC578 90 03 00 04 */ stw r0, 4(r3) +/* 800AF61C 000AC57C 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CGameProjectile" +"Visit__30TCastToPtr<16CCinematicCamera>FR15CGameProjectile": +/* 800AF620 000AC580 38 00 00 00 */ li r0, 0 +/* 800AF624 000AC584 90 03 00 04 */ stw r0, 4(r3) +/* 800AF628 000AC588 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR10CGameLight" +"Visit__30TCastToPtr<16CCinematicCamera>FR10CGameLight": +/* 800AF62C 000AC58C 38 00 00 00 */ li r0, 0 +/* 800AF630 000AC590 90 03 00 04 */ stw r0, 4(r3) +/* 800AF634 000AC594 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CGameCamera" +"Visit__30TCastToPtr<16CCinematicCamera>FR11CGameCamera": +/* 800AF638 000AC598 38 00 00 00 */ li r0, 0 +/* 800AF63C 000AC59C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF640 000AC5A0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR10CFishCloud" +"Visit__30TCastToPtr<16CCinematicCamera>FR10CFishCloud": +/* 800AF644 000AC5A4 38 00 00 00 */ li r0, 0 +/* 800AF648 000AC5A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF64C 000AC5AC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR18CFirstPersonCamera" +"Visit__30TCastToPtr<16CCinematicCamera>FR18CFirstPersonCamera": +/* 800AF650 000AC5B0 38 00 00 00 */ li r0, 0 +/* 800AF654 000AC5B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF658 000AC5B8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR10CExplosion" +"Visit__30TCastToPtr<16CCinematicCamera>FR10CExplosion": +/* 800AF65C 000AC5BC 38 00 00 00 */ li r0, 0 +/* 800AF660 000AC5C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF664 000AC5C4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR7CEntity" +"Visit__30TCastToPtr<16CCinematicCamera>FR7CEntity": +/* 800AF668 000AC5C8 38 00 00 00 */ li r0, 0 +/* 800AF66C 000AC5CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF670 000AC5D0 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CEnergyProjectile" +"Visit__30TCastToPtr<16CCinematicCamera>FR17CEnergyProjectile": +/* 800AF674 000AC5D4 38 00 00 00 */ li r0, 0 +/* 800AF678 000AC5D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF67C 000AC5DC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR16CDestroyableRock" +"Visit__30TCastToPtr<16CCinematicCamera>FR16CDestroyableRock": +/* 800AF680 000AC5E0 38 00 00 00 */ li r0, 0 +/* 800AF684 000AC5E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF688 000AC5E8 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CCollisionActor" +"Visit__30TCastToPtr<16CCinematicCamera>FR15CCollisionActor": +/* 800AF68C 000AC5EC 38 00 00 00 */ li r0, 0 +/* 800AF690 000AC5F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF694 000AC5F4 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR16CCinematicCamera" +"Visit__30TCastToPtr<16CCinematicCamera>FR16CCinematicCamera": +/* 800AF698 000AC5F8 90 83 00 04 */ stw r4, 4(r3) +/* 800AF69C 000AC5FC 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR5CBomb" +"Visit__30TCastToPtr<16CCinematicCamera>FR5CBomb": +/* 800AF6A0 000AC600 38 00 00 00 */ li r0, 0 +/* 800AF6A4 000AC604 90 03 00 04 */ stw r0, 4(r3) +/* 800AF6A8 000AC608 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CBallCamera" +"Visit__30TCastToPtr<16CCinematicCamera>FR11CBallCamera": +/* 800AF6AC 000AC60C 38 00 00 00 */ li r0, 0 +/* 800AF6B0 000AC610 90 03 00 04 */ stw r0, 4(r3) +/* 800AF6B4 000AC614 4E 80 00 20 */ blr + +.global "Visit__30TCastToPtr<16CCinematicCamera>FR6CActor" +"Visit__30TCastToPtr<16CCinematicCamera>FR6CActor": +/* 800AF6B8 000AC618 38 00 00 00 */ li r0, 0 +/* 800AF6BC 000AC61C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF6C0 000AC620 4E 80 00 20 */ blr + +.global "__ct__30TCastToPtr<16CCinematicCamera>FP7CEntity" +"__ct__30TCastToPtr<16CCinematicCamera>FP7CEntity": +/* 800AF6C4 000AC624 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AF6C8 000AC628 7C 08 02 A6 */ mflr r0 +/* 800AF6CC 000AC62C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AF6D0 000AC630 3C A0 80 3E */ lis r5, lbl_803DC138@ha +/* 800AF6D4 000AC634 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AF6D8 000AC638 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AF6DC 000AC63C 28 04 00 00 */ cmplwi r4, 0 +/* 800AF6E0 000AC640 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AF6E4 000AC644 7C 7F 1B 78 */ mr r31, r3 +/* 800AF6E8 000AC648 38 65 C1 38 */ addi r3, r5, lbl_803DC138@l +/* 800AF6EC 000AC64C 90 1F 00 00 */ stw r0, 0(r31) +/* 800AF6F0 000AC650 38 00 00 00 */ li r0, 0 +/* 800AF6F4 000AC654 90 7F 00 00 */ stw r3, 0(r31) +/* 800AF6F8 000AC658 90 1F 00 04 */ stw r0, 4(r31) +/* 800AF6FC 000AC65C 41 82 00 1C */ beq lbl_800AF718 +/* 800AF700 000AC660 7C 83 23 78 */ mr r3, r4 +/* 800AF704 000AC664 7F E4 FB 78 */ mr r4, r31 +/* 800AF708 000AC668 81 83 00 00 */ lwz r12, 0(r3) +/* 800AF70C 000AC66C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AF710 000AC670 7D 89 03 A6 */ mtctr r12 +/* 800AF714 000AC674 4E 80 04 21 */ bctrl +lbl_800AF718: +/* 800AF718 000AC678 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AF71C 000AC67C 7F E3 FB 78 */ mr r3, r31 +/* 800AF720 000AC680 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AF724 000AC684 7C 08 03 A6 */ mtlr r0 +/* 800AF728 000AC688 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AF72C 000AC68C 4E 80 00 20 */ blr + +.global "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" +"__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity": +/* 800AF730 000AC690 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AF734 000AC694 7C 08 02 A6 */ mflr r0 +/* 800AF738 000AC698 3C A0 80 3E */ lis r5, lbl_803DC138@ha +/* 800AF73C 000AC69C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AF740 000AC6A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AF744 000AC6A4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AF748 000AC6A8 38 A5 C1 38 */ addi r5, r5, lbl_803DC138@l +/* 800AF74C 000AC6AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AF750 000AC6B0 7C 7F 1B 78 */ mr r31, r3 +/* 800AF754 000AC6B4 90 03 00 00 */ stw r0, 0(r3) +/* 800AF758 000AC6B8 7C 83 23 78 */ mr r3, r4 +/* 800AF75C 000AC6BC 38 00 00 00 */ li r0, 0 +/* 800AF760 000AC6C0 7F E4 FB 78 */ mr r4, r31 +/* 800AF764 000AC6C4 90 BF 00 00 */ stw r5, 0(r31) +/* 800AF768 000AC6C8 90 1F 00 04 */ stw r0, 4(r31) +/* 800AF76C 000AC6CC 81 83 00 00 */ lwz r12, 0(r3) +/* 800AF770 000AC6D0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AF774 000AC6D4 7D 89 03 A6 */ mtctr r12 +/* 800AF778 000AC6D8 4E 80 04 21 */ bctrl +/* 800AF77C 000AC6DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AF780 000AC6E0 7F E3 FB 78 */ mr r3, r31 +/* 800AF784 000AC6E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AF788 000AC6E8 7C 08 03 A6 */ mtlr r0 +/* 800AF78C 000AC6EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AF790 000AC6F0 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR7CWeapon" +"Visit__18TCastToPtr<5CBomb>FR7CWeapon": +/* 800AF794 000AC6F4 38 00 00 00 */ li r0, 0 +/* 800AF798 000AC6F8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF79C 000AC6FC 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR17CWallCrawlerSwarm" +"Visit__18TCastToPtr<5CBomb>FR17CWallCrawlerSwarm": +/* 800AF7A0 000AC700 38 00 00 00 */ li r0, 0 +/* 800AF7A4 000AC704 90 03 00 04 */ stw r0, 4(r3) +/* 800AF7A8 000AC708 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR20CScriptSpindleCamera" +"Visit__18TCastToPtr<5CBomb>FR20CScriptSpindleCamera": +/* 800AF7AC 000AC70C 38 00 00 00 */ li r0, 0 +/* 800AF7B0 000AC710 90 03 00 04 */ stw r0, 4(r3) +/* 800AF7B4 000AC714 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR15CSnakeWeedSwarm" +"Visit__18TCastToPtr<5CBomb>FR15CSnakeWeedSwarm": +/* 800AF7B8 000AC718 38 00 00 00 */ li r0, 0 +/* 800AF7BC 000AC71C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF7C0 000AC720 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR15CScriptWaypoint" +"Visit__18TCastToPtr<5CBomb>FR15CScriptWaypoint": +/* 800AF7C4 000AC724 38 00 00 00 */ li r0, 0 +/* 800AF7C8 000AC728 90 03 00 04 */ stw r0, 4(r3) +/* 800AF7CC 000AC72C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR12CScriptWater" +"Visit__18TCastToPtr<5CBomb>FR12CScriptWater": +/* 800AF7D0 000AC730 38 00 00 00 */ li r0, 0 +/* 800AF7D4 000AC734 90 03 00 04 */ stw r0, 4(r3) +/* 800AF7D8 000AC738 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR17CScriptVisorFlare" +"Visit__18TCastToPtr<5CBomb>FR17CScriptVisorFlare": +/* 800AF7DC 000AC73C 38 00 00 00 */ li r0, 0 +/* 800AF7E0 000AC740 90 03 00 04 */ stw r0, 4(r3) +/* 800AF7E4 000AC744 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR14CScriptTrigger" +"Visit__18TCastToPtr<5CBomb>FR14CScriptTrigger": +/* 800AF7E8 000AC748 38 00 00 00 */ li r0, 0 +/* 800AF7EC 000AC74C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF7F0 000AC750 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR12CScriptTimer" +"Visit__18TCastToPtr<5CBomb>FR12CScriptTimer": +/* 800AF7F4 000AC754 38 00 00 00 */ li r0, 0 +/* 800AF7F8 000AC758 90 03 00 04 */ stw r0, 4(r3) +/* 800AF7FC 000AC75C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR10CTeamAiMgr" +"Visit__18TCastToPtr<5CBomb>FR10CTeamAiMgr": +/* 800AF800 000AC760 38 00 00 00 */ li r0, 0 +/* 800AF804 000AC764 90 03 00 04 */ stw r0, 4(r3) +/* 800AF808 000AC768 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR21CScriptTargetingPoint" +"Visit__18TCastToPtr<5CBomb>FR21CScriptTargetingPoint": +/* 800AF80C 000AC76C 38 00 00 00 */ li r0, 0 +/* 800AF810 000AC770 90 03 00 04 */ stw r0, 4(r3) +/* 800AF814 000AC774 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR25CScriptSpiderBallWaypoint" +"Visit__18TCastToPtr<5CBomb>FR25CScriptSpiderBallWaypoint": +/* 800AF818 000AC778 38 00 00 00 */ li r0, 0 +/* 800AF81C 000AC77C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF820 000AC780 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR34CScriptSpiderBallAttractionSurface" +"Visit__18TCastToPtr<5CBomb>FR34CScriptSpiderBallAttractionSurface": +/* 800AF824 000AC784 38 00 00 00 */ li r0, 0 +/* 800AF828 000AC788 90 03 00 04 */ stw r0, 4(r3) +/* 800AF82C 000AC78C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR22CScriptSpecialFunction" +"Visit__18TCastToPtr<5CBomb>FR22CScriptSpecialFunction": +/* 800AF830 000AC790 38 00 00 00 */ li r0, 0 +/* 800AF834 000AC794 90 03 00 04 */ stw r0, 4(r3) +/* 800AF838 000AC798 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR17CScriptSpawnPoint" +"Visit__18TCastToPtr<5CBomb>FR17CScriptSpawnPoint": +/* 800AF83C 000AC79C 38 00 00 00 */ li r0, 0 +/* 800AF840 000AC7A0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF844 000AC7A4 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR12CScriptSound" +"Visit__18TCastToPtr<5CBomb>FR12CScriptSound": +/* 800AF848 000AC7A8 38 00 00 00 */ li r0, 0 +/* 800AF84C 000AC7AC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF850 000AC7B0 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR20CScriptRoomAcoustics" +"Visit__18TCastToPtr<5CBomb>FR20CScriptRoomAcoustics": +/* 800AF854 000AC7B4 38 00 00 00 */ li r0, 0 +/* 800AF858 000AC7B8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF85C 000AC7BC 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR22CScriptPointOfinterest" +"Visit__18TCastToPtr<5CBomb>FR22CScriptPointOfinterest": +/* 800AF860 000AC7C0 38 00 00 00 */ li r0, 0 +/* 800AF864 000AC7C4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF868 000AC7C8 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR17CScriptPlayerHint" +"Visit__18TCastToPtr<5CBomb>FR17CScriptPlayerHint": +/* 800AF86C 000AC7CC 38 00 00 00 */ li r0, 0 +/* 800AF870 000AC7D0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF874 000AC7D4 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR15CScriptPlatform" +"Visit__18TCastToPtr<5CBomb>FR15CScriptPlatform": +/* 800AF878 000AC7D8 38 00 00 00 */ li r0, 0 +/* 800AF87C 000AC7DC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF880 000AC7E0 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR13CScriptPickup" +"Visit__18TCastToPtr<5CBomb>FR13CScriptPickup": +/* 800AF884 000AC7E4 38 00 00 00 */ li r0, 0 +/* 800AF888 000AC7E8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF88C 000AC7EC 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR15CScriptMazeNode" +"Visit__18TCastToPtr<5CBomb>FR15CScriptMazeNode": +/* 800AF890 000AC7F0 38 00 00 00 */ li r0, 0 +/* 800AF894 000AC7F4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF898 000AC7F8 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR16CScriptGunTurret" +"Visit__18TCastToPtr<5CBomb>FR16CScriptGunTurret": +/* 800AF89C 000AC7FC 38 00 00 00 */ li r0, 0 +/* 800AF8A0 000AC800 90 03 00 04 */ stw r0, 4(r3) +/* 800AF8A4 000AC804 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR19CScriptGrapplePoint" +"Visit__18TCastToPtr<5CBomb>FR19CScriptGrapplePoint": +/* 800AF8A8 000AC808 38 00 00 00 */ li r0, 0 +/* 800AF8AC 000AC80C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF8B0 000AC810 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR13CScriptEffect" +"Visit__18TCastToPtr<5CBomb>FR13CScriptEffect": +/* 800AF8B4 000AC814 38 00 00 00 */ li r0, 0 +/* 800AF8B8 000AC818 90 03 00 04 */ stw r0, 4(r3) +/* 800AF8BC 000AC81C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR11CScriptDoor" +"Visit__18TCastToPtr<5CBomb>FR11CScriptDoor": +/* 800AF8C0 000AC820 38 00 00 00 */ li r0, 0 +/* 800AF8C4 000AC824 90 03 00 04 */ stw r0, 4(r3) +/* 800AF8C8 000AC828 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR11CScriptDock" +"Visit__18TCastToPtr<5CBomb>FR11CScriptDock": +/* 800AF8CC 000AC82C 38 00 00 00 */ li r0, 0 +/* 800AF8D0 000AC830 90 03 00 04 */ stw r0, 4(r3) +/* 800AF8D4 000AC834 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR18CScriptDistanceFog" +"Visit__18TCastToPtr<5CBomb>FR18CScriptDistanceFog": +/* 800AF8D8 000AC838 38 00 00 00 */ li r0, 0 +/* 800AF8DC 000AC83C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF8E0 000AC840 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR26CScriptDebugCameraWaypoint" +"Visit__18TCastToPtr<5CBomb>FR26CScriptDebugCameraWaypoint": +/* 800AF8E4 000AC844 38 00 00 00 */ li r0, 0 +/* 800AF8E8 000AC848 90 03 00 04 */ stw r0, 4(r3) +/* 800AF8EC 000AC84C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR17CScriptCoverPoint" +"Visit__18TCastToPtr<5CBomb>FR17CScriptCoverPoint": +/* 800AF8F0 000AC850 38 00 00 00 */ li r0, 0 +/* 800AF8F4 000AC854 90 03 00 04 */ stw r0, 4(r3) +/* 800AF8F8 000AC858 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR21CScriptCameraWaypoint" +"Visit__18TCastToPtr<5CBomb>FR21CScriptCameraWaypoint": +/* 800AF8FC 000AC85C 38 00 00 00 */ li r0, 0 +/* 800AF900 000AC860 90 03 00 04 */ stw r0, 4(r3) +/* 800AF904 000AC864 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR24CScriptCameraPitchVolume" +"Visit__18TCastToPtr<5CBomb>FR24CScriptCameraPitchVolume": +/* 800AF908 000AC868 38 00 00 00 */ li r0, 0 +/* 800AF90C 000AC86C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF910 000AC870 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR17CScriptCameraHint" +"Visit__18TCastToPtr<5CBomb>FR17CScriptCameraHint": +/* 800AF914 000AC874 38 00 00 00 */ li r0, 0 +/* 800AF918 000AC878 90 03 00 04 */ stw r0, 4(r3) +/* 800AF91C 000AC87C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR18CScriptAiJumpPoint" +"Visit__18TCastToPtr<5CBomb>FR18CScriptAiJumpPoint": +/* 800AF920 000AC880 38 00 00 00 */ li r0, 0 +/* 800AF924 000AC884 90 03 00 04 */ stw r0, 4(r3) +/* 800AF928 000AC888 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR20CScriptActorKeyframe" +"Visit__18TCastToPtr<5CBomb>FR20CScriptActorKeyframe": +/* 800AF92C 000AC88C 38 00 00 00 */ li r0, 0 +/* 800AF930 000AC890 90 03 00 04 */ stw r0, 4(r3) +/* 800AF934 000AC894 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR12CScriptActor" +"Visit__18TCastToPtr<5CBomb>FR12CScriptActor": +/* 800AF938 000AC898 38 00 00 00 */ li r0, 0 +/* 800AF93C 000AC89C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF940 000AC8A0 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR9CRepulsor" +"Visit__18TCastToPtr<5CBomb>FR9CRepulsor": +/* 800AF944 000AC8A4 38 00 00 00 */ li r0, 0 +/* 800AF948 000AC8A8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF94C 000AC8AC 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR7CPlayer" +"Visit__18TCastToPtr<5CBomb>FR7CPlayer": +/* 800AF950 000AC8B0 38 00 00 00 */ li r0, 0 +/* 800AF954 000AC8B4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF958 000AC8B8 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR13CPhysicsActor" +"Visit__18TCastToPtr<5CBomb>FR13CPhysicsActor": +/* 800AF95C 000AC8BC 38 00 00 00 */ li r0, 0 +/* 800AF960 000AC8C0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF964 000AC8C4 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR3CAi" +"Visit__18TCastToPtr<5CBomb>FR3CAi": +/* 800AF968 000AC8C8 38 00 00 00 */ li r0, 0 +/* 800AF96C 000AC8CC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF970 000AC8D0 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR11CPathCamera" +"Visit__18TCastToPtr<5CBomb>FR11CPathCamera": +/* 800AF974 000AC8D4 38 00 00 00 */ li r0, 0 +/* 800AF978 000AC8D8 90 03 00 04 */ stw r0, 4(r3) +/* 800AF97C 000AC8DC 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR18CMetroidPrimeRelay" +"Visit__18TCastToPtr<5CBomb>FR18CMetroidPrimeRelay": +/* 800AF980 000AC8E0 38 00 00 00 */ li r0, 0 +/* 800AF984 000AC8E4 90 03 00 04 */ stw r0, 4(r3) +/* 800AF988 000AC8E8 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR19CHUDBillboardEffect" +"Visit__18TCastToPtr<5CBomb>FR19CHUDBillboardEffect": +/* 800AF98C 000AC8EC 38 00 00 00 */ li r0, 0 +/* 800AF990 000AC8F0 90 03 00 04 */ stw r0, 4(r3) +/* 800AF994 000AC8F4 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR15CGameProjectile" +"Visit__18TCastToPtr<5CBomb>FR15CGameProjectile": +/* 800AF998 000AC8F8 38 00 00 00 */ li r0, 0 +/* 800AF99C 000AC8FC 90 03 00 04 */ stw r0, 4(r3) +/* 800AF9A0 000AC900 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR10CGameLight" +"Visit__18TCastToPtr<5CBomb>FR10CGameLight": +/* 800AF9A4 000AC904 38 00 00 00 */ li r0, 0 +/* 800AF9A8 000AC908 90 03 00 04 */ stw r0, 4(r3) +/* 800AF9AC 000AC90C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR11CGameCamera" +"Visit__18TCastToPtr<5CBomb>FR11CGameCamera": +/* 800AF9B0 000AC910 38 00 00 00 */ li r0, 0 +/* 800AF9B4 000AC914 90 03 00 04 */ stw r0, 4(r3) +/* 800AF9B8 000AC918 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR10CFishCloud" +"Visit__18TCastToPtr<5CBomb>FR10CFishCloud": +/* 800AF9BC 000AC91C 38 00 00 00 */ li r0, 0 +/* 800AF9C0 000AC920 90 03 00 04 */ stw r0, 4(r3) +/* 800AF9C4 000AC924 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR18CFirstPersonCamera" +"Visit__18TCastToPtr<5CBomb>FR18CFirstPersonCamera": +/* 800AF9C8 000AC928 38 00 00 00 */ li r0, 0 +/* 800AF9CC 000AC92C 90 03 00 04 */ stw r0, 4(r3) +/* 800AF9D0 000AC930 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR10CExplosion" +"Visit__18TCastToPtr<5CBomb>FR10CExplosion": +/* 800AF9D4 000AC934 38 00 00 00 */ li r0, 0 +/* 800AF9D8 000AC938 90 03 00 04 */ stw r0, 4(r3) +/* 800AF9DC 000AC93C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR7CEntity" +"Visit__18TCastToPtr<5CBomb>FR7CEntity": +/* 800AF9E0 000AC940 38 00 00 00 */ li r0, 0 +/* 800AF9E4 000AC944 90 03 00 04 */ stw r0, 4(r3) +/* 800AF9E8 000AC948 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR17CEnergyProjectile" +"Visit__18TCastToPtr<5CBomb>FR17CEnergyProjectile": +/* 800AF9EC 000AC94C 38 00 00 00 */ li r0, 0 +/* 800AF9F0 000AC950 90 03 00 04 */ stw r0, 4(r3) +/* 800AF9F4 000AC954 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR16CDestroyableRock" +"Visit__18TCastToPtr<5CBomb>FR16CDestroyableRock": +/* 800AF9F8 000AC958 38 00 00 00 */ li r0, 0 +/* 800AF9FC 000AC95C 90 03 00 04 */ stw r0, 4(r3) +/* 800AFA00 000AC960 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR15CCollisionActor" +"Visit__18TCastToPtr<5CBomb>FR15CCollisionActor": +/* 800AFA04 000AC964 38 00 00 00 */ li r0, 0 +/* 800AFA08 000AC968 90 03 00 04 */ stw r0, 4(r3) +/* 800AFA0C 000AC96C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR16CCinematicCamera" +"Visit__18TCastToPtr<5CBomb>FR16CCinematicCamera": +/* 800AFA10 000AC970 38 00 00 00 */ li r0, 0 +/* 800AFA14 000AC974 90 03 00 04 */ stw r0, 4(r3) +/* 800AFA18 000AC978 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR5CBomb" +"Visit__18TCastToPtr<5CBomb>FR5CBomb": +/* 800AFA1C 000AC97C 90 83 00 04 */ stw r4, 4(r3) +/* 800AFA20 000AC980 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR11CBallCamera" +"Visit__18TCastToPtr<5CBomb>FR11CBallCamera": +/* 800AFA24 000AC984 38 00 00 00 */ li r0, 0 +/* 800AFA28 000AC988 90 03 00 04 */ stw r0, 4(r3) +/* 800AFA2C 000AC98C 4E 80 00 20 */ blr + +.global "Visit__18TCastToPtr<5CBomb>FR6CActor" +"Visit__18TCastToPtr<5CBomb>FR6CActor": +/* 800AFA30 000AC990 38 00 00 00 */ li r0, 0 +/* 800AFA34 000AC994 90 03 00 04 */ stw r0, 4(r3) +/* 800AFA38 000AC998 4E 80 00 20 */ blr + +.global "__ct__18TCastToPtr<5CBomb>FP7CEntity" +"__ct__18TCastToPtr<5CBomb>FP7CEntity": +/* 800AFA3C 000AC99C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AFA40 000AC9A0 7C 08 02 A6 */ mflr r0 +/* 800AFA44 000AC9A4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AFA48 000AC9A8 3C A0 80 3E */ lis r5, lbl_803DC04C@ha +/* 800AFA4C 000AC9AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AFA50 000AC9B0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AFA54 000AC9B4 28 04 00 00 */ cmplwi r4, 0 +/* 800AFA58 000AC9B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AFA5C 000AC9BC 7C 7F 1B 78 */ mr r31, r3 +/* 800AFA60 000AC9C0 38 65 C0 4C */ addi r3, r5, lbl_803DC04C@l +/* 800AFA64 000AC9C4 90 1F 00 00 */ stw r0, 0(r31) +/* 800AFA68 000AC9C8 38 00 00 00 */ li r0, 0 +/* 800AFA6C 000AC9CC 90 7F 00 00 */ stw r3, 0(r31) +/* 800AFA70 000AC9D0 90 1F 00 04 */ stw r0, 4(r31) +/* 800AFA74 000AC9D4 41 82 00 1C */ beq lbl_800AFA90 +/* 800AFA78 000AC9D8 7C 83 23 78 */ mr r3, r4 +/* 800AFA7C 000AC9DC 7F E4 FB 78 */ mr r4, r31 +/* 800AFA80 000AC9E0 81 83 00 00 */ lwz r12, 0(r3) +/* 800AFA84 000AC9E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AFA88 000AC9E8 7D 89 03 A6 */ mtctr r12 +/* 800AFA8C 000AC9EC 4E 80 04 21 */ bctrl +lbl_800AFA90: +/* 800AFA90 000AC9F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AFA94 000AC9F4 7F E3 FB 78 */ mr r3, r31 +/* 800AFA98 000AC9F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AFA9C 000AC9FC 7C 08 03 A6 */ mtlr r0 +/* 800AFAA0 000ACA00 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AFAA4 000ACA04 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR7CWeapon" +"Visit__19TCastToPtr<6CActor>FR7CWeapon": +/* 800AFAA8 000ACA08 90 83 00 04 */ stw r4, 4(r3) +/* 800AFAAC 000ACA0C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR17CWallCrawlerSwarm" +"Visit__19TCastToPtr<6CActor>FR17CWallCrawlerSwarm": +/* 800AFAB0 000ACA10 90 83 00 04 */ stw r4, 4(r3) +/* 800AFAB4 000ACA14 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR20CScriptSpindleCamera" +"Visit__19TCastToPtr<6CActor>FR20CScriptSpindleCamera": +/* 800AFAB8 000ACA18 90 83 00 04 */ stw r4, 4(r3) +/* 800AFABC 000ACA1C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR15CSnakeWeedSwarm" +"Visit__19TCastToPtr<6CActor>FR15CSnakeWeedSwarm": +/* 800AFAC0 000ACA20 90 83 00 04 */ stw r4, 4(r3) +/* 800AFAC4 000ACA24 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR15CScriptWaypoint" +"Visit__19TCastToPtr<6CActor>FR15CScriptWaypoint": +/* 800AFAC8 000ACA28 90 83 00 04 */ stw r4, 4(r3) +/* 800AFACC 000ACA2C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR12CScriptWater" +"Visit__19TCastToPtr<6CActor>FR12CScriptWater": +/* 800AFAD0 000ACA30 90 83 00 04 */ stw r4, 4(r3) +/* 800AFAD4 000ACA34 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR17CScriptVisorFlare" +"Visit__19TCastToPtr<6CActor>FR17CScriptVisorFlare": +/* 800AFAD8 000ACA38 90 83 00 04 */ stw r4, 4(r3) +/* 800AFADC 000ACA3C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR14CScriptTrigger" +"Visit__19TCastToPtr<6CActor>FR14CScriptTrigger": +/* 800AFAE0 000ACA40 90 83 00 04 */ stw r4, 4(r3) +/* 800AFAE4 000ACA44 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR12CScriptTimer" +"Visit__19TCastToPtr<6CActor>FR12CScriptTimer": +/* 800AFAE8 000ACA48 38 00 00 00 */ li r0, 0 +/* 800AFAEC 000ACA4C 90 03 00 04 */ stw r0, 4(r3) +/* 800AFAF0 000ACA50 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR10CTeamAiMgr" +"Visit__19TCastToPtr<6CActor>FR10CTeamAiMgr": +/* 800AFAF4 000ACA54 38 00 00 00 */ li r0, 0 +/* 800AFAF8 000ACA58 90 03 00 04 */ stw r0, 4(r3) +/* 800AFAFC 000ACA5C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR21CScriptTargetingPoint" +"Visit__19TCastToPtr<6CActor>FR21CScriptTargetingPoint": +/* 800AFB00 000ACA60 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB04 000ACA64 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR25CScriptSpiderBallWaypoint" +"Visit__19TCastToPtr<6CActor>FR25CScriptSpiderBallWaypoint": +/* 800AFB08 000ACA68 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB0C 000ACA6C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR34CScriptSpiderBallAttractionSurface" +"Visit__19TCastToPtr<6CActor>FR34CScriptSpiderBallAttractionSurface": +/* 800AFB10 000ACA70 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB14 000ACA74 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR22CScriptSpecialFunction" +"Visit__19TCastToPtr<6CActor>FR22CScriptSpecialFunction": +/* 800AFB18 000ACA78 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB1C 000ACA7C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR17CScriptSpawnPoint" +"Visit__19TCastToPtr<6CActor>FR17CScriptSpawnPoint": +/* 800AFB20 000ACA80 38 00 00 00 */ li r0, 0 +/* 800AFB24 000ACA84 90 03 00 04 */ stw r0, 4(r3) +/* 800AFB28 000ACA88 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR12CScriptSound" +"Visit__19TCastToPtr<6CActor>FR12CScriptSound": +/* 800AFB2C 000ACA8C 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB30 000ACA90 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR20CScriptRoomAcoustics" +"Visit__19TCastToPtr<6CActor>FR20CScriptRoomAcoustics": +/* 800AFB34 000ACA94 38 00 00 00 */ li r0, 0 +/* 800AFB38 000ACA98 90 03 00 04 */ stw r0, 4(r3) +/* 800AFB3C 000ACA9C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR22CScriptPointOfInterest" +"Visit__19TCastToPtr<6CActor>FR22CScriptPointOfInterest": +/* 800AFB40 000ACAA0 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB44 000ACAA4 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR17CScriptPlayerHint" +"Visit__19TCastToPtr<6CActor>FR17CScriptPlayerHint": +/* 800AFB48 000ACAA8 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB4C 000ACAAC 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR15CScriptPlatform" +"Visit__19TCastToPtr<6CActor>FR15CScriptPlatform": +/* 800AFB50 000ACAB0 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB54 000ACAB4 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR13CScriptPickup" +"Visit__19TCastToPtr<6CActor>FR13CScriptPickup": +/* 800AFB58 000ACAB8 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB5C 000ACABC 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR15CScriptMazeNode" +"Visit__19TCastToPtr<6CActor>FR15CScriptMazeNode": +/* 800AFB60 000ACAC0 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB64 000ACAC4 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR16CScriptGunTurret" +"Visit__19TCastToPtr<6CActor>FR16CScriptGunTurret": +/* 800AFB68 000ACAC8 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB6C 000ACACC 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR19CScriptGrapplePoint" +"Visit__19TCastToPtr<6CActor>FR19CScriptGrapplePoint": +/* 800AFB70 000ACAD0 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB74 000ACAD4 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR13CScriptEffect" +"Visit__19TCastToPtr<6CActor>FR13CScriptEffect": +/* 800AFB78 000ACAD8 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB7C 000ACADC 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR11CScriptDoor" +"Visit__19TCastToPtr<6CActor>FR11CScriptDoor": +/* 800AFB80 000ACAE0 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB84 000ACAE4 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR11CScriptDock" +"Visit__19TCastToPtr<6CActor>FR11CScriptDock": +/* 800AFB88 000ACAE8 90 83 00 04 */ stw r4, 4(r3) +/* 800AFB8C 000ACAEC 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR18CScriptDistanceFog" +"Visit__19TCastToPtr<6CActor>FR18CScriptDistanceFog": +/* 800AFB90 000ACAF0 38 00 00 00 */ li r0, 0 +/* 800AFB94 000ACAF4 90 03 00 04 */ stw r0, 4(r3) +/* 800AFB98 000ACAF8 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR26CScriptDebugCameraWaypoint" +"Visit__19TCastToPtr<6CActor>FR26CScriptDebugCameraWaypoint": +/* 800AFB9C 000ACAFC 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBA0 000ACB00 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR17CScriptCoverPoint" +"Visit__19TCastToPtr<6CActor>FR17CScriptCoverPoint": +/* 800AFBA4 000ACB04 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBA8 000ACB08 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR21CScriptCameraWaypoint" +"Visit__19TCastToPtr<6CActor>FR21CScriptCameraWaypoint": +/* 800AFBAC 000ACB0C 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBB0 000ACB10 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR24CScriptCameraPitchVolume" +"Visit__19TCastToPtr<6CActor>FR24CScriptCameraPitchVolume": +/* 800AFBB4 000ACB14 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBB8 000ACB18 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR17CScriptCameraHint" +"Visit__19TCastToPtr<6CActor>FR17CScriptCameraHint": +/* 800AFBBC 000ACB1C 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBC0 000ACB20 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR18CScriptAiJumpPoint" +"Visit__19TCastToPtr<6CActor>FR18CScriptAiJumpPoint": +/* 800AFBC4 000ACB24 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBC8 000ACB28 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR20CScriptActorKeyframe" +"Visit__19TCastToPtr<6CActor>FR20CScriptActorKeyframe": +/* 800AFBCC 000ACB2C 38 00 00 00 */ li r0, 0 +/* 800AFBD0 000ACB30 90 03 00 04 */ stw r0, 4(r3) +/* 800AFBD4 000ACB34 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR12CScriptActor" +"Visit__19TCastToPtr<6CActor>FR12CScriptActor": +/* 800AFBD8 000ACB38 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBDC 000ACB3C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR9CRepulsor" +"Visit__19TCastToPtr<6CActor>FR9CRepulsor": +/* 800AFBE0 000ACB40 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBE4 000ACB44 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR7CPlayer" +"Visit__19TCastToPtr<6CActor>FR7CPlayer": +/* 800AFBE8 000ACB48 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBEC 000ACB4C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR13CPhysicsActor" +"Visit__19TCastToPtr<6CActor>FR13CPhysicsActor": +/* 800AFBF0 000ACB50 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBF4 000ACB54 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR3CAi" +"Visit__19TCastToPtr<6CActor>FR3CAi": +/* 800AFBF8 000ACB58 90 83 00 04 */ stw r4, 4(r3) +/* 800AFBFC 000ACB5C 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR11CPathCamera" +"Visit__19TCastToPtr<6CActor>FR11CPathCamera": +/* 800AFC00 000ACB60 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC04 000ACB64 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR18CMetroidPrimeRelay" +"Visit__19TCastToPtr<6CActor>FR18CMetroidPrimeRelay": +/* 800AFC08 000ACB68 38 00 00 00 */ li r0, 0 +/* 800AFC0C 000ACB6C 90 03 00 04 */ stw r0, 4(r3) +/* 800AFC10 000ACB70 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR19CHUDBillboardEffect" +"Visit__19TCastToPtr<6CActor>FR19CHUDBillboardEffect": +/* 800AFC14 000ACB74 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC18 000ACB78 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR15CGameProjectile" +"Visit__19TCastToPtr<6CActor>FR15CGameProjectile": +/* 800AFC1C 000ACB7C 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC20 000ACB80 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR10CGameLight" +"Visit__19TCastToPtr<6CActor>FR10CGameLight": +/* 800AFC24 000ACB84 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC28 000ACB88 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR11CGameCamera" +"Visit__19TCastToPtr<6CActor>FR11CGameCamera": +/* 800AFC2C 000ACB8C 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC30 000ACB90 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR10CFishCloud" +"Visit__19TCastToPtr<6CActor>FR10CFishCloud": +/* 800AFC34 000ACB94 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC38 000ACB98 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR18CFirstPersonCamera" +"Visit__19TCastToPtr<6CActor>FR18CFirstPersonCamera": +/* 800AFC3C 000ACB9C 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC40 000ACBA0 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR10CExplosion" +"Visit__19TCastToPtr<6CActor>FR10CExplosion": +/* 800AFC44 000ACBA4 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC48 000ACBA8 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR7CEntity" +"Visit__19TCastToPtr<6CActor>FR7CEntity": +/* 800AFC4C 000ACBAC 38 00 00 00 */ li r0, 0 +/* 800AFC50 000ACBB0 90 03 00 04 */ stw r0, 4(r3) +/* 800AFC54 000ACBB4 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR17CEnergyProjectile" +"Visit__19TCastToPtr<6CActor>FR17CEnergyProjectile": +/* 800AFC58 000ACBB8 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC5C 000ACBBC 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR16CDestroyableRock" +"Visit__19TCastToPtr<6CActor>FR16CDestroyableRock": +/* 800AFC60 000ACBC0 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC64 000ACBC4 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR15CCollisionActor" +"Visit__19TCastToPtr<6CActor>FR15CCollisionActor": +/* 800AFC68 000ACBC8 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC6C 000ACBCC 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR16CCinematicCamera" +"Visit__19TCastToPtr<6CActor>FR16CCinematicCamera": +/* 800AFC70 000ACBD0 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC74 000ACBD4 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR5CBomb" +"Visit__19TCastToPtr<6CActor>FR5CBomb": +/* 800AFC78 000ACBD8 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC7C 000ACBDC 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR11CBallCamera" +"Visit__19TCastToPtr<6CActor>FR11CBallCamera": +/* 800AFC80 000ACBE0 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC84 000ACBE4 4E 80 00 20 */ blr + +.global "Visit__19TCastToPtr<6CActor>FR6CActor" +"Visit__19TCastToPtr<6CActor>FR6CActor": +/* 800AFC88 000ACBE8 90 83 00 04 */ stw r4, 4(r3) +/* 800AFC8C 000ACBEC 4E 80 00 20 */ blr + +.global "__ct__19TCastToPtr<6CActor>FP7CEntity" +"__ct__19TCastToPtr<6CActor>FP7CEntity": +/* 800AFC90 000ACBF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AFC94 000ACBF4 7C 08 02 A6 */ mflr r0 +/* 800AFC98 000ACBF8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AFC9C 000ACBFC 3C A0 80 3E */ lis r5, lbl_803DBF60@ha +/* 800AFCA0 000ACC00 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AFCA4 000ACC04 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AFCA8 000ACC08 28 04 00 00 */ cmplwi r4, 0 +/* 800AFCAC 000ACC0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AFCB0 000ACC10 7C 7F 1B 78 */ mr r31, r3 +/* 800AFCB4 000ACC14 38 65 BF 60 */ addi r3, r5, lbl_803DBF60@l +/* 800AFCB8 000ACC18 90 1F 00 00 */ stw r0, 0(r31) +/* 800AFCBC 000ACC1C 38 00 00 00 */ li r0, 0 +/* 800AFCC0 000ACC20 90 7F 00 00 */ stw r3, 0(r31) +/* 800AFCC4 000ACC24 90 1F 00 04 */ stw r0, 4(r31) +/* 800AFCC8 000ACC28 41 82 00 1C */ beq lbl_800AFCE4 +/* 800AFCCC 000ACC2C 7C 83 23 78 */ mr r3, r4 +/* 800AFCD0 000ACC30 7F E4 FB 78 */ mr r4, r31 +/* 800AFCD4 000ACC34 81 83 00 00 */ lwz r12, 0(r3) +/* 800AFCD8 000ACC38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AFCDC 000ACC3C 7D 89 03 A6 */ mtctr r12 +/* 800AFCE0 000ACC40 4E 80 04 21 */ bctrl +lbl_800AFCE4: +/* 800AFCE4 000ACC44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AFCE8 000ACC48 7F E3 FB 78 */ mr r3, r31 +/* 800AFCEC 000ACC4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AFCF0 000ACC50 7C 08 03 A6 */ mtlr r0 +/* 800AFCF4 000ACC54 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AFCF8 000ACC58 4E 80 00 20 */ blr + +.global "__ct__19TCastToPtr<6CActor>FR7CEntity" +"__ct__19TCastToPtr<6CActor>FR7CEntity": +/* 800AFCFC 000ACC5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800AFD00 000ACC60 7C 08 02 A6 */ mflr r0 +/* 800AFD04 000ACC64 3C A0 80 3E */ lis r5, lbl_803DBF60@ha +/* 800AFD08 000ACC68 3C C0 80 3E */ lis r6, lbl_803DF03C@ha +/* 800AFD0C 000ACC6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800AFD10 000ACC70 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l +/* 800AFD14 000ACC74 38 A5 BF 60 */ addi r5, r5, lbl_803DBF60@l +/* 800AFD18 000ACC78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800AFD1C 000ACC7C 7C 7F 1B 78 */ mr r31, r3 +/* 800AFD20 000ACC80 90 03 00 00 */ stw r0, 0(r3) +/* 800AFD24 000ACC84 7C 83 23 78 */ mr r3, r4 +/* 800AFD28 000ACC88 38 00 00 00 */ li r0, 0 +/* 800AFD2C 000ACC8C 7F E4 FB 78 */ mr r4, r31 +/* 800AFD30 000ACC90 90 BF 00 00 */ stw r5, 0(r31) +/* 800AFD34 000ACC94 90 1F 00 04 */ stw r0, 4(r31) +/* 800AFD38 000ACC98 81 83 00 00 */ lwz r12, 0(r3) +/* 800AFD3C 000ACC9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800AFD40 000ACCA0 7D 89 03 A6 */ mtctr r12 +/* 800AFD44 000ACCA4 4E 80 04 21 */ bctrl +/* 800AFD48 000ACCA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800AFD4C 000ACCAC 7F E3 FB 78 */ mr r3, r31 +/* 800AFD50 000ACCB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800AFD54 000ACCB4 7C 08 03 A6 */ mtlr r0 +/* 800AFD58 000ACCB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800AFD5C 000ACCBC 4E 80 00 20 */ blr + +.global GetOccludedVolumeAmount__12CScriptSoundFRC9CVector3fRC13CStateManager +GetOccludedVolumeAmount__12CScriptSoundFRC9CVector3fRC13CStateManager: +/* 800AFD60 000ACCC0 94 21 FD F0 */ stwu r1, -0x210(r1) +/* 800AFD64 000ACCC4 7C 08 02 A6 */ mflr r0 +/* 800AFD68 000ACCC8 90 01 02 14 */ stw r0, 0x214(r1) +/* 800AFD6C 000ACCCC DB E1 02 00 */ stfd f31, 0x200(r1) +/* 800AFD70 000ACCD0 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 +/* 800AFD74 000ACCD4 DB C1 01 F0 */ stfd f30, 0x1f0(r1) +/* 800AFD78 000ACCD8 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 +/* 800AFD7C 000ACCDC DB A1 01 E0 */ stfd f29, 0x1e0(r1) +/* 800AFD80 000ACCE0 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 +/* 800AFD84 000ACCE4 DB 81 01 D0 */ stfd f28, 0x1d0(r1) +/* 800AFD88 000ACCE8 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 +/* 800AFD8C 000ACCEC DB 61 01 C0 */ stfd f27, 0x1c0(r1) +/* 800AFD90 000ACCF0 F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0 +/* 800AFD94 000ACCF4 DB 41 01 B0 */ stfd f26, 0x1b0(r1) +/* 800AFD98 000ACCF8 F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0 +/* 800AFD9C 000ACCFC DB 21 01 A0 */ stfd f25, 0x1a0(r1) +/* 800AFDA0 000ACD00 F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0 +/* 800AFDA4 000ACD04 DB 01 01 90 */ stfd f24, 0x190(r1) +/* 800AFDA8 000ACD08 F3 01 01 98 */ psq_st f24, 408(r1), 0, qr0 +/* 800AFDAC 000ACD0C DA E1 01 80 */ stfd f23, 0x180(r1) +/* 800AFDB0 000ACD10 F2 E1 01 88 */ psq_st f23, 392(r1), 0, qr0 +/* 800AFDB4 000ACD14 DA C1 01 70 */ stfd f22, 0x170(r1) +/* 800AFDB8 000ACD18 F2 C1 01 78 */ psq_st f22, 376(r1), 0, qr0 +/* 800AFDBC 000ACD1C DA A1 01 60 */ stfd f21, 0x160(r1) +/* 800AFDC0 000ACD20 F2 A1 01 68 */ psq_st f21, 360(r1), 0, qr0 +/* 800AFDC4 000ACD24 DA 81 01 50 */ stfd f20, 0x150(r1) +/* 800AFDC8 000ACD28 F2 81 01 58 */ psq_st f20, 344(r1), 0, qr0 +/* 800AFDCC 000ACD2C DA 61 01 40 */ stfd f19, 0x140(r1) +/* 800AFDD0 000ACD30 F2 61 01 48 */ psq_st f19, 328(r1), 0, qr0 +/* 800AFDD4 000ACD34 DA 41 01 30 */ stfd f18, 0x130(r1) +/* 800AFDD8 000ACD38 F2 41 01 38 */ psq_st f18, 312(r1), 0, qr0 +/* 800AFDDC 000ACD3C DA 21 01 20 */ stfd f17, 0x120(r1) +/* 800AFDE0 000ACD40 F2 21 01 28 */ psq_st f17, 296(r1), 0, qr0 +/* 800AFDE4 000ACD44 DA 01 01 10 */ stfd f16, 0x110(r1) +/* 800AFDE8 000ACD48 F2 01 01 18 */ psq_st f16, 280(r1), 0, qr0 +/* 800AFDEC 000ACD4C D9 E1 01 00 */ stfd f15, 0x100(r1) +/* 800AFDF0 000ACD50 F1 E1 01 08 */ psq_st f15, 264(r1), 0, qr0 +/* 800AFDF4 000ACD54 BF 61 00 EC */ stmw r27, 0xec(r1) +/* 800AFDF8 000ACD58 7C 9F 23 78 */ mr r31, r4 +/* 800AFDFC 000ACD5C 7C 7E 1B 78 */ mr r30, r3 +/* 800AFE00 000ACD60 80 84 08 70 */ lwz r4, 0x870(r4) +/* 800AFE04 000ACD64 7F E5 FB 78 */ mr r5, r31 +/* 800AFE08 000ACD68 38 61 00 78 */ addi r3, r1, 0x78 +/* 800AFE0C 000ACD6C 4B F5 AB 5D */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 800AFE10 000ACD70 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800AFE14 000ACD74 38 81 00 78 */ addi r4, r1, 0x78 +/* 800AFE18 000ACD78 48 26 2D 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800AFE1C 000ACD7C C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 800AFE20 000ACD80 38 61 00 20 */ addi r3, r1, 0x20 +/* 800AFE24 000ACD84 C0 1E 00 04 */ lfs f0, 4(r30) +/* 800AFE28 000ACD88 C0 61 00 D4 */ lfs f3, 0xd4(r1) +/* 800AFE2C 000ACD8C C0 5E 00 08 */ lfs f2, 8(r30) +/* 800AFE30 000ACD90 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800AFE34 000ACD94 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 800AFE38 000ACD98 C0 1E 00 00 */ lfs f0, 0(r30) +/* 800AFE3C 000ACD9C EC 43 10 28 */ fsubs f2, f3, f2 +/* 800AFE40 000ACDA0 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 800AFE44 000ACDA4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800AFE48 000ACDA8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800AFE4C 000ACDAC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800AFE50 000ACDB0 48 26 4A 69 */ bl Magnitude__9CVector3fCFv +/* 800AFE54 000ACDB4 FE 40 08 90 */ fmr f18, f1 +/* 800AFE58 000ACDB8 C0 82 8C 80 */ lfs f4, lbl_805AA9A0@sda21(r2) +/* 800AFE5C 000ACDBC 88 0D A2 D8 */ lbz r0, lbl_805A8E98@sda21(r13) +/* 800AFE60 000ACDC0 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 800AFE64 000ACDC4 EC A4 90 24 */ fdivs f5, f4, f18 +/* 800AFE68 000ACDC8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 800AFE6C 000ACDCC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800AFE70 000ACDD0 7C 00 07 75 */ extsb. r0, r0 +/* 800AFE74 000ACDD4 C0 62 8C 84 */ lfs f3, lbl_805AA9A4@sda21(r2) +/* 800AFE78 000ACDD8 EF 45 00 B2 */ fmuls f26, f5, f2 +/* 800AFE7C 000ACDDC EF 65 00 32 */ fmuls f27, f5, f0 +/* 800AFE80 000ACDE0 EF 25 00 72 */ fmuls f25, f5, f1 +/* 800AFE84 000ACDE4 EC 03 06 B2 */ fmuls f0, f3, f26 +/* 800AFE88 000ACDE8 EC 03 06 7A */ fmadds f0, f3, f25, f0 +/* 800AFE8C 000ACDEC EC 04 06 FA */ fmadds f0, f4, f27, f0 +/* 800AFE90 000ACDF0 EC 40 06 72 */ fmuls f2, f0, f25 +/* 800AFE94 000ACDF4 EC 20 06 B2 */ fmuls f1, f0, f26 +/* 800AFE98 000ACDF8 EC 00 06 F2 */ fmuls f0, f0, f27 +/* 800AFE9C 000ACDFC EE C3 10 28 */ fsubs f22, f3, f2 +/* 800AFEA0 000ACE00 EE E3 08 28 */ fsubs f23, f3, f1 +/* 800AFEA4 000ACE04 EF 04 00 28 */ fsubs f24, f4, f0 +/* 800AFEA8 000ACE08 EC 16 06 B2 */ fmuls f0, f22, f26 +/* 800AFEAC 000ACE0C EC 57 06 F2 */ fmuls f2, f23, f27 +/* 800AFEB0 000ACE10 EC 38 06 72 */ fmuls f1, f24, f25 +/* 800AFEB4 000ACE14 EE 79 05 F8 */ fmsubs f19, f25, f23, f0 +/* 800AFEB8 000ACE18 EE BA 16 38 */ fmsubs f21, f26, f24, f2 +/* 800AFEBC 000ACE1C EE 9B 0D B8 */ fmsubs f20, f27, f22, f1 +/* 800AFEC0 000ACE20 40 82 00 18 */ bne lbl_800AFED8 +/* 800AFEC4 000ACE24 C0 02 8C 88 */ lfs f0, lbl_805AA9A8@sda21(r2) +/* 800AFEC8 000ACE28 38 00 00 01 */ li r0, 1 +/* 800AFECC 000ACE2C 98 0D A2 D8 */ stb r0, lbl_805A8E98@sda21(r13) +/* 800AFED0 000ACE30 EC 00 90 24 */ fdivs f0, f0, f18 +/* 800AFED4 000ACE34 D0 0D A2 D4 */ stfs f0, lbl_805A8E94@sda21(r13) +lbl_800AFED8: +/* 800AFED8 000ACE38 88 0D A2 E0 */ lbz r0, lbl_805A8EA0@sda21(r13) +/* 800AFEDC 000ACE3C 7C 00 07 75 */ extsb. r0, r0 +/* 800AFEE0 000ACE40 40 82 00 14 */ bne lbl_800AFEF4 +/* 800AFEE4 000ACE44 C0 0D A2 D4 */ lfs f0, lbl_805A8E94@sda21(r13) +/* 800AFEE8 000ACE48 38 00 00 01 */ li r0, 1 +/* 800AFEEC 000ACE4C 98 0D A2 E0 */ stb r0, lbl_805A8EA0@sda21(r13) +/* 800AFEF0 000ACE50 D0 0D A2 DC */ stfs f0, lbl_805A8E9C@sda21(r13) +lbl_800AFEF4: +/* 800AFEF4 000ACE54 88 0D A2 E1 */ lbz r0, lbl_805A8EA1@sda21(r13) +/* 800AFEF8 000ACE58 7C 00 07 75 */ extsb. r0, r0 +/* 800AFEFC 000ACE5C 40 82 00 58 */ bne lbl_800AFF54 +/* 800AFF00 000ACE60 80 AD 86 28 */ lwz r5, lbl_805A71E8@sda21(r13) +/* 800AFF04 000ACE64 38 60 00 00 */ li r3, 0 +/* 800AFF08 000ACE68 38 80 00 01 */ li r4, 1 +/* 800AFF0C 000ACE6C 48 2D 9F E9 */ bl __shl2i +/* 800AFF10 000ACE70 80 AD 86 24 */ lwz r5, lbl_805A71E4@sda21(r13) +/* 800AFF14 000ACE74 7C 9C 23 78 */ mr r28, r4 +/* 800AFF18 000ACE78 7C 7D 1B 78 */ mr r29, r3 +/* 800AFF1C 000ACE7C 38 60 00 00 */ li r3, 0 +/* 800AFF20 000ACE80 38 80 00 01 */ li r4, 1 +/* 800AFF24 000ACE84 48 2D 9F D1 */ bl __shl2i +/* 800AFF28 000ACE88 3C A0 80 47 */ lis r5, lbl_8046C438@ha +/* 800AFF2C 000ACE8C 38 C0 00 03 */ li r6, 3 +/* 800AFF30 000ACE90 38 A5 C4 38 */ addi r5, r5, lbl_8046C438@l +/* 800AFF34 000ACE94 38 00 00 01 */ li r0, 1 +/* 800AFF38 000ACE98 90 C1 00 40 */ stw r6, 0x40(r1) +/* 800AFF3C 000ACE9C 90 85 00 04 */ stw r4, 4(r5) +/* 800AFF40 000ACEA0 90 65 00 00 */ stw r3, 0(r5) +/* 800AFF44 000ACEA4 93 85 00 0C */ stw r28, 0xc(r5) +/* 800AFF48 000ACEA8 93 A5 00 08 */ stw r29, 8(r5) +/* 800AFF4C 000ACEAC 90 C5 00 10 */ stw r6, 0x10(r5) +/* 800AFF50 000ACEB0 98 0D A2 E1 */ stb r0, lbl_805A8EA1@sda21(r13) +lbl_800AFF54: +/* 800AFF54 000ACEB4 C3 8D A2 D4 */ lfs f28, lbl_805A8E94@sda21(r13) +/* 800AFF58 000ACEB8 3C 60 80 47 */ lis r3, lbl_8046C438@ha +/* 800AFF5C 000ACEBC C1 ED A2 DC */ lfs f15, lbl_805A8E9C@sda21(r13) +/* 800AFF60 000ACEC0 3B A3 C4 38 */ addi r29, r3, lbl_8046C438@l +/* 800AFF64 000ACEC4 FE 20 E0 50 */ fneg f17, f28 +/* 800AFF68 000ACEC8 3B 80 00 00 */ li r28, 0 +/* 800AFF6C 000ACECC 3B 60 00 00 */ li r27, 0 +/* 800AFF70 000ACED0 48 00 00 98 */ b lbl_800B0008 +lbl_800AFF74: +/* 800AFF74 000ACED4 EC 11 05 B2 */ fmuls f0, f17, f22 +/* 800AFF78 000ACED8 EC 31 05 F2 */ fmuls f1, f17, f23 +/* 800AFF7C 000ACEDC EC 51 06 32 */ fmuls f2, f17, f24 +/* 800AFF80 000ACEE0 FE 00 E0 50 */ fneg f16, f28 +/* 800AFF84 000ACEE4 EF B9 00 2A */ fadds f29, f25, f0 +/* 800AFF88 000ACEE8 EF DA 08 2A */ fadds f30, f26, f1 +/* 800AFF8C 000ACEEC EF FB 10 2A */ fadds f31, f27, f2 +/* 800AFF90 000ACEF0 48 00 00 68 */ b lbl_800AFFF8 +lbl_800AFF94: +/* 800AFF94 000ACEF4 EC 50 05 72 */ fmuls f2, f16, f21 +/* 800AFF98 000ACEF8 38 61 00 08 */ addi r3, r1, 8 +/* 800AFF9C 000ACEFC EC 30 05 32 */ fmuls f1, f16, f20 +/* 800AFFA0 000ACF00 38 81 00 14 */ addi r4, r1, 0x14 +/* 800AFFA4 000ACF04 EC 10 04 F2 */ fmuls f0, f16, f19 +/* 800AFFA8 000ACF08 3B 9C 00 01 */ addi r28, r28, 1 +/* 800AFFAC 000ACF0C EC 5D 10 2A */ fadds f2, f29, f2 +/* 800AFFB0 000ACF10 EC 3E 08 2A */ fadds f1, f30, f1 +/* 800AFFB4 000ACF14 EC 1F 00 2A */ fadds f0, f31, f0 +/* 800AFFB8 000ACF18 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800AFFBC 000ACF1C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800AFFC0 000ACF20 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800AFFC4 000ACF24 48 26 48 8D */ bl AsNormalized__9CVector3fCFv +/* 800AFFC8 000ACF28 FC 20 90 90 */ fmr f1, f18 +/* 800AFFCC 000ACF2C 7F E4 FB 78 */ mr r4, r31 +/* 800AFFD0 000ACF30 7F C5 F3 78 */ mr r5, r30 +/* 800AFFD4 000ACF34 7F A7 EB 78 */ mr r7, r29 +/* 800AFFD8 000ACF38 38 61 00 48 */ addi r3, r1, 0x48 +/* 800AFFDC 000ACF3C 38 C1 00 08 */ addi r6, r1, 8 +/* 800AFFE0 000ACF40 4B F9 CF B9 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 800AFFE4 000ACF44 88 01 00 68 */ lbz r0, 0x68(r1) +/* 800AFFE8 000ACF48 28 00 00 00 */ cmplwi r0, 0 +/* 800AFFEC 000ACF4C 40 82 00 08 */ bne lbl_800AFFF4 +/* 800AFFF0 000ACF50 3B 7B 00 01 */ addi r27, r27, 1 +lbl_800AFFF4: +/* 800AFFF4 000ACF54 EE 10 78 2A */ fadds f16, f16, f15 +lbl_800AFFF8: +/* 800AFFF8 000ACF58 FC 10 E0 40 */ fcmpo cr0, f16, f28 +/* 800AFFFC 000ACF5C 4C 40 13 82 */ cror 2, 0, 2 +/* 800B0000 000ACF60 41 82 FF 94 */ beq lbl_800AFF94 +/* 800B0004 000ACF64 EE 31 78 2A */ fadds f17, f17, f15 +lbl_800B0008: +/* 800B0008 000ACF68 FC 11 E0 40 */ fcmpo cr0, f17, f28 +/* 800B000C 000ACF6C 4C 40 13 82 */ cror 2, 0, 2 +/* 800B0010 000ACF70 41 82 FF 64 */ beq lbl_800AFF74 +/* 800B0014 000ACF74 3C 60 43 30 */ lis r3, 0x4330 +/* 800B0018 000ACF78 6F 64 80 00 */ xoris r4, r27, 0x8000 +/* 800B001C 000ACF7C 6F 80 80 00 */ xoris r0, r28, 0x8000 +/* 800B0020 000ACF80 90 81 00 DC */ stw r4, 0xdc(r1) +/* 800B0024 000ACF84 C8 62 8C 98 */ lfd f3, lbl_805AA9B8@sda21(r2) +/* 800B0028 000ACF88 90 61 00 D8 */ stw r3, 0xd8(r1) +/* 800B002C 000ACF8C C0 82 8C 90 */ lfs f4, lbl_805AA9B0@sda21(r2) +/* 800B0030 000ACF90 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 800B0034 000ACF94 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800B0038 000ACF98 EC 40 18 28 */ fsubs f2, f0, f3 +/* 800B003C 000ACF9C C0 02 8C 8C */ lfs f0, lbl_805AA9AC@sda21(r2) +/* 800B0040 000ACFA0 90 61 00 E0 */ stw r3, 0xe0(r1) +/* 800B0044 000ACFA4 C8 21 00 E0 */ lfd f1, 0xe0(r1) +/* 800B0048 000ACFA8 EC 21 18 28 */ fsubs f1, f1, f3 +/* 800B004C 000ACFAC EC 22 08 24 */ fdivs f1, f2, f1 +/* 800B0050 000ACFB0 EC 24 00 7A */ fmadds f1, f4, f1, f0 +/* 800B0054 000ACFB4 E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 +/* 800B0058 000ACFB8 CB E1 02 00 */ lfd f31, 0x200(r1) +/* 800B005C 000ACFBC E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 +/* 800B0060 000ACFC0 CB C1 01 F0 */ lfd f30, 0x1f0(r1) +/* 800B0064 000ACFC4 E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 +/* 800B0068 000ACFC8 CB A1 01 E0 */ lfd f29, 0x1e0(r1) +/* 800B006C 000ACFCC E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 +/* 800B0070 000ACFD0 CB 81 01 D0 */ lfd f28, 0x1d0(r1) +/* 800B0074 000ACFD4 E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0 +/* 800B0078 000ACFD8 CB 61 01 C0 */ lfd f27, 0x1c0(r1) +/* 800B007C 000ACFDC E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0 +/* 800B0080 000ACFE0 CB 41 01 B0 */ lfd f26, 0x1b0(r1) +/* 800B0084 000ACFE4 E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0 +/* 800B0088 000ACFE8 CB 21 01 A0 */ lfd f25, 0x1a0(r1) +/* 800B008C 000ACFEC E3 01 01 98 */ psq_l f24, 408(r1), 0, qr0 +/* 800B0090 000ACFF0 CB 01 01 90 */ lfd f24, 0x190(r1) +/* 800B0094 000ACFF4 E2 E1 01 88 */ psq_l f23, 392(r1), 0, qr0 +/* 800B0098 000ACFF8 CA E1 01 80 */ lfd f23, 0x180(r1) +/* 800B009C 000ACFFC E2 C1 01 78 */ psq_l f22, 376(r1), 0, qr0 +/* 800B00A0 000AD000 CA C1 01 70 */ lfd f22, 0x170(r1) +/* 800B00A4 000AD004 E2 A1 01 68 */ psq_l f21, 360(r1), 0, qr0 +/* 800B00A8 000AD008 CA A1 01 60 */ lfd f21, 0x160(r1) +/* 800B00AC 000AD00C E2 81 01 58 */ psq_l f20, 344(r1), 0, qr0 +/* 800B00B0 000AD010 CA 81 01 50 */ lfd f20, 0x150(r1) +/* 800B00B4 000AD014 E2 61 01 48 */ psq_l f19, 328(r1), 0, qr0 +/* 800B00B8 000AD018 CA 61 01 40 */ lfd f19, 0x140(r1) +/* 800B00BC 000AD01C E2 41 01 38 */ psq_l f18, 312(r1), 0, qr0 +/* 800B00C0 000AD020 CA 41 01 30 */ lfd f18, 0x130(r1) +/* 800B00C4 000AD024 E2 21 01 28 */ psq_l f17, 296(r1), 0, qr0 +/* 800B00C8 000AD028 CA 21 01 20 */ lfd f17, 0x120(r1) +/* 800B00CC 000AD02C E2 01 01 18 */ psq_l f16, 280(r1), 0, qr0 +/* 800B00D0 000AD030 CA 01 01 10 */ lfd f16, 0x110(r1) +/* 800B00D4 000AD034 E1 E1 01 08 */ psq_l f15, 264(r1), 0, qr0 +/* 800B00D8 000AD038 C9 E1 01 00 */ lfd f15, 0x100(r1) +/* 800B00DC 000AD03C BB 61 00 EC */ lmw r27, 0xec(r1) +/* 800B00E0 000AD040 80 01 02 14 */ lwz r0, 0x214(r1) +/* 800B00E4 000AD044 7C 08 03 A6 */ mtlr r0 +/* 800B00E8 000AD048 38 21 02 10 */ addi r1, r1, 0x210 +/* 800B00EC 000AD04C 4E 80 00 20 */ blr + +.global Accept__12CScriptSoundFR8IVisitor +Accept__12CScriptSoundFR8IVisitor: +/* 800B00F0 000AD050 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B00F4 000AD054 7C 08 02 A6 */ mflr r0 +/* 800B00F8 000AD058 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B00FC 000AD05C 7C 60 1B 78 */ mr r0, r3 +/* 800B0100 000AD060 7C 83 23 78 */ mr r3, r4 +/* 800B0104 000AD064 81 84 00 00 */ lwz r12, 0(r4) +/* 800B0108 000AD068 7C 04 03 78 */ mr r4, r0 +/* 800B010C 000AD06C 81 8C 00 AC */ lwz r12, 0xac(r12) +/* 800B0110 000AD070 7D 89 03 A6 */ mtctr r12 +/* 800B0114 000AD074 4E 80 04 21 */ bctrl +/* 800B0118 000AD078 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B011C 000AD07C 7C 08 03 A6 */ mtlr r0 +/* 800B0120 000AD080 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B0124 000AD084 4E 80 00 20 */ blr + +.global AddToRenderer__12CScriptSoundCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__12CScriptSoundCFRC14CFrustumPlanesRC13CStateManager: +/* 800B0128 000AD088 4E 80 00 20 */ blr + +.global StopSound__12CScriptSoundFv +StopSound__12CScriptSoundFv: +/* 800B012C 000AD08C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B0130 000AD090 7C 08 02 A6 */ mflr r0 +/* 800B0134 000AD094 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B0138 000AD098 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B013C 000AD09C 7C 7F 1B 78 */ mr r31, r3 +/* 800B0140 000AD0A0 38 60 00 00 */ li r3, 0 +/* 800B0144 000AD0A4 88 1F 01 1C */ lbz r0, 0x11c(r31) +/* 800B0148 000AD0A8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800B014C 000AD0AC 98 1F 01 1C */ stb r0, 0x11c(r31) +/* 800B0150 000AD0B0 88 7F 01 1C */ lbz r3, 0x11c(r31) +/* 800B0154 000AD0B4 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 800B0158 000AD0B8 41 82 00 28 */ beq lbl_800B0180 +/* 800B015C 000AD0BC 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 800B0160 000AD0C0 41 82 00 20 */ beq lbl_800B0180 +/* 800B0164 000AD0C4 A0 1F 01 00 */ lhz r0, 0x100(r31) +/* 800B0168 000AD0C8 80 64 08 50 */ lwz r3, 0x850(r4) +/* 800B016C 000AD0CC 7C 04 03 78 */ mr r4, r0 +/* 800B0170 000AD0D0 4B FA 5C F5 */ bl StopSound__6CWorldFs +/* 800B0174 000AD0D4 38 00 00 00 */ li r0, 0 +/* 800B0178 000AD0D8 90 1F 00 EC */ stw r0, 0xec(r31) +/* 800B017C 000AD0DC 48 00 00 28 */ b lbl_800B01A4 +lbl_800B0180: +/* 800B0180 000AD0E0 80 1F 00 EC */ lwz r0, 0xec(r31) +/* 800B0184 000AD0E4 28 00 00 00 */ cmplwi r0, 0 +/* 800B0188 000AD0E8 41 82 00 1C */ beq lbl_800B01A4 +/* 800B018C 000AD0EC 80 1F 00 EC */ lwz r0, 0xec(r31) +/* 800B0190 000AD0F0 38 61 00 08 */ addi r3, r1, 8 +/* 800B0194 000AD0F4 90 01 00 08 */ stw r0, 8(r1) +/* 800B0198 000AD0F8 48 23 9C ED */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 800B019C 000AD0FC 38 00 00 00 */ li r0, 0 +/* 800B01A0 000AD100 90 1F 00 EC */ stw r0, 0xec(r31) +lbl_800B01A4: +/* 800B01A4 000AD104 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B01A8 000AD108 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B01AC 000AD10C 7C 08 03 A6 */ mtlr r0 +/* 800B01B0 000AD110 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B01B4 000AD114 4E 80 00 20 */ blr + +.global PlaySound__12CScriptSoundFR13CStateManager +PlaySound__12CScriptSoundFR13CStateManager: +/* 800B01B8 000AD118 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800B01BC 000AD11C 7C 08 02 A6 */ mflr r0 +/* 800B01C0 000AD120 90 01 00 84 */ stw r0, 0x84(r1) +/* 800B01C4 000AD124 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 800B01C8 000AD128 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 800B01CC 000AD12C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800B01D0 000AD130 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800B01D4 000AD134 93 A1 00 64 */ stw r29, 0x64(r1) +/* 800B01D8 000AD138 88 03 01 1D */ lbz r0, 0x11d(r3) +/* 800B01DC 000AD13C 7C 7D 1B 78 */ mr r29, r3 +/* 800B01E0 000AD140 83 E3 00 04 */ lwz r31, 4(r3) +/* 800B01E4 000AD144 7C 9E 23 78 */ mr r30, r4 +/* 800B01E8 000AD148 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B01EC 000AD14C 40 82 00 28 */ bne lbl_800B0214 +/* 800B01F0 000AD150 80 1D 00 EC */ lwz r0, 0xec(r29) +/* 800B01F4 000AD154 28 00 00 00 */ cmplwi r0, 0 +/* 800B01F8 000AD158 41 82 00 1C */ beq lbl_800B0214 +/* 800B01FC 000AD15C 80 1D 00 EC */ lwz r0, 0xec(r29) +/* 800B0200 000AD160 38 61 00 1C */ addi r3, r1, 0x1c +/* 800B0204 000AD164 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800B0208 000AD168 48 23 8B 2D */ bl IsHandleValid__11CSfxManagerF10CSfxHandle +/* 800B020C 000AD16C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B0210 000AD170 40 82 01 EC */ bne lbl_800B03FC +lbl_800B0214: +/* 800B0214 000AD174 88 7D 01 1D */ lbz r3, 0x11d(r29) +/* 800B0218 000AD178 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 800B021C 000AD17C 41 82 00 08 */ beq lbl_800B0224 +/* 800B0220 000AD180 48 00 01 DC */ b lbl_800B03FC +lbl_800B0224: +/* 800B0224 000AD184 38 00 00 01 */ li r0, 1 +/* 800B0228 000AD188 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 800B022C 000AD18C 98 7D 01 1D */ stb r3, 0x11d(r29) +/* 800B0230 000AD190 88 7D 01 1C */ lbz r3, 0x11c(r29) +/* 800B0234 000AD194 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 800B0238 000AD198 41 82 00 88 */ beq lbl_800B02C0 +/* 800B023C 000AD19C 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 800B0240 000AD1A0 83 DE 08 50 */ lwz r30, 0x850(r30) +/* 800B0244 000AD1A4 41 82 00 18 */ beq lbl_800B025C +/* 800B0248 000AD1A8 A0 9D 01 00 */ lhz r4, 0x100(r29) +/* 800B024C 000AD1AC 7F C3 F3 78 */ mr r3, r30 +/* 800B0250 000AD1B0 4B FA 5D 29 */ bl IsPlayingSound__6CWorldCFUi +/* 800B0254 000AD1B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B0258 000AD1B8 40 82 01 A4 */ bne lbl_800B03FC +lbl_800B025C: +/* 800B025C 000AD1BC 88 FD 01 1C */ lbz r7, 0x11c(r29) +/* 800B0260 000AD1C0 38 61 00 18 */ addi r3, r1, 0x18 +/* 800B0264 000AD1C4 A0 9D 01 00 */ lhz r4, 0x100(r29) +/* 800B0268 000AD1C8 54 E0 FF FF */ rlwinm. r0, r7, 0x1f, 0x1f, 0x1f +/* 800B026C 000AD1CC 54 E9 D7 FE */ rlwinm r9, r7, 0x1a, 0x1f, 0x1f +/* 800B0270 000AD1D0 A8 BD 01 0E */ lha r5, 0x10e(r29) +/* 800B0274 000AD1D4 54 E7 F7 FE */ rlwinm r7, r7, 0x1e, 0x1f, 0x1f +/* 800B0278 000AD1D8 A8 DD 01 14 */ lha r6, 0x114(r29) +/* 800B027C 000AD1DC A9 1D 01 12 */ lha r8, 0x112(r29) +/* 800B0280 000AD1E0 41 82 00 08 */ beq lbl_800B0288 +/* 800B0284 000AD1E4 83 E2 C6 00 */ lwz r31, lbl_805AE320@sda21(r2) +lbl_800B0288: +/* 800B0288 000AD1E8 7F EA FB 78 */ mr r10, r31 +/* 800B028C 000AD1EC 48 23 9A E9 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800B0290 000AD1F0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800B0294 000AD1F4 90 1D 00 EC */ stw r0, 0xec(r29) +/* 800B0298 000AD1F8 88 1D 01 1C */ lbz r0, 0x11c(r29) +/* 800B029C 000AD1FC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800B02A0 000AD200 41 82 01 5C */ beq lbl_800B03FC +/* 800B02A4 000AD204 80 1D 00 EC */ lwz r0, 0xec(r29) +/* 800B02A8 000AD208 7F C3 F3 78 */ mr r3, r30 +/* 800B02AC 000AD20C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800B02B0 000AD210 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B02B4 000AD214 A0 9D 01 00 */ lhz r4, 0x100(r29) +/* 800B02B8 000AD218 4B FA 5C 85 */ bl AddGlobalSound__6CWorldFUs10CSfxHandle +/* 800B02BC 000AD21C 48 00 01 40 */ b lbl_800B03FC +lbl_800B02C0: +/* 800B02C0 000AD220 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 800B02C4 000AD224 41 82 00 2C */ beq lbl_800B02F0 +/* 800B02C8 000AD228 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800B02CC 000AD22C 7F C4 F3 78 */ mr r4, r30 +/* 800B02D0 000AD230 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 800B02D4 000AD234 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B02D8 000AD238 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800B02DC 000AD23C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800B02E0 000AD240 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800B02E4 000AD244 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800B02E8 000AD248 4B FF FA 79 */ bl GetOccludedVolumeAmount__12CScriptSoundFRC9CVector3fRC13CStateManager +/* 800B02EC 000AD24C 48 00 00 08 */ b lbl_800B02F4 +lbl_800B02F0: +/* 800B02F0 000AD250 C0 22 8C 80 */ lfs f1, lbl_805AA9A0@sda21(r2) +lbl_800B02F4: +/* 800B02F4 000AD254 A8 7D 01 0E */ lha r3, 0x10e(r29) +/* 800B02F8 000AD258 3C 00 43 30 */ lis r0, 0x4330 +/* 800B02FC 000AD25C 90 01 00 58 */ stw r0, 0x58(r1) +/* 800B0300 000AD260 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 800B0304 000AD264 C8 42 8C 98 */ lfd f2, lbl_805AA9B8@sda21(r2) +/* 800B0308 000AD268 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800B030C 000AD26C C8 01 00 58 */ lfd f0, 0x58(r1) +/* 800B0310 000AD270 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800B0314 000AD274 EF E0 00 72 */ fmuls f31, f0, f1 +/* 800B0318 000AD278 F3 E1 B0 08 */ psq_st f31, 8(r1), 1, qr3 +/* 800B031C 000AD27C 38 80 00 01 */ li r4, 1 +/* 800B0320 000AD280 C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) +/* 800B0324 000AD284 38 60 00 00 */ li r3, 0 +/* 800B0328 000AD288 A0 A1 00 08 */ lhz r5, 8(r1) +/* 800B032C 000AD28C 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 800B0330 000AD290 B0 BD 00 F0 */ sth r5, 0xf0(r29) +/* 800B0334 000AD294 A8 BD 00 F0 */ lha r5, 0xf0(r29) +/* 800B0338 000AD298 B0 BD 00 F2 */ sth r5, 0xf2(r29) +/* 800B033C 000AD29C A8 DD 01 0C */ lha r6, 0x10c(r29) +/* 800B0340 000AD2A0 A8 BD 00 F0 */ lha r5, 0xf0(r29) +/* 800B0344 000AD2A4 C0 5D 01 08 */ lfs f2, 0x108(r29) +/* 800B0348 000AD2A8 C0 3D 01 04 */ lfs f1, 0x104(r29) +/* 800B034C 000AD2AC D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800B0350 000AD2B0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800B0354 000AD2B4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800B0358 000AD2B8 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800B035C 000AD2BC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800B0360 000AD2C0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800B0364 000AD2C4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800B0368 000AD2C8 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 800B036C 000AD2CC 90 81 00 4C */ stw r4, 0x4c(r1) +/* 800B0370 000AD2D0 B0 61 00 50 */ sth r3, 0x50(r1) +/* 800B0374 000AD2D4 98 A1 00 52 */ stb r5, 0x52(r1) +/* 800B0378 000AD2D8 98 C1 00 53 */ stb r6, 0x53(r1) +/* 800B037C 000AD2DC 98 61 00 54 */ stb r3, 0x54(r1) +/* 800B0380 000AD2E0 98 01 00 55 */ stb r0, 0x55(r1) +/* 800B0384 000AD2E4 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800B0388 000AD2E8 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 800B038C 000AD2EC C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800B0390 000AD2F0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800B0394 000AD2F4 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800B0398 000AD2F8 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800B039C 000AD2FC A0 1D 01 00 */ lhz r0, 0x100(r29) +/* 800B03A0 000AD300 B0 01 00 50 */ sth r0, 0x50(r1) +/* 800B03A4 000AD304 88 BD 01 1C */ lbz r5, 0x11c(r29) +/* 800B03A8 000AD308 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f +/* 800B03AC 000AD30C 41 82 00 2C */ beq lbl_800B03D8 +/* 800B03B0 000AD310 A8 DD 01 12 */ lha r6, 0x112(r29) +/* 800B03B4 000AD314 7F E8 FB 78 */ mr r8, r31 +/* 800B03B8 000AD318 38 61 00 10 */ addi r3, r1, 0x10 +/* 800B03BC 000AD31C 38 81 00 2C */ addi r4, r1, 0x2c +/* 800B03C0 000AD320 54 A5 F7 FE */ rlwinm r5, r5, 0x1e, 0x1f, 0x1f +/* 800B03C4 000AD324 38 E0 00 01 */ li r7, 1 +/* 800B03C8 000AD328 48 23 9C 19 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 800B03CC 000AD32C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800B03D0 000AD330 90 1D 00 EC */ stw r0, 0xec(r29) +/* 800B03D4 000AD334 48 00 00 28 */ b lbl_800B03FC +lbl_800B03D8: +/* 800B03D8 000AD338 A8 DD 01 12 */ lha r6, 0x112(r29) +/* 800B03DC 000AD33C 7F E8 FB 78 */ mr r8, r31 +/* 800B03E0 000AD340 38 61 00 0C */ addi r3, r1, 0xc +/* 800B03E4 000AD344 38 81 00 2C */ addi r4, r1, 0x2c +/* 800B03E8 000AD348 54 A5 F7 FE */ rlwinm r5, r5, 0x1e, 0x1f, 0x1f +/* 800B03EC 000AD34C 38 E0 00 00 */ li r7, 0 +/* 800B03F0 000AD350 48 23 9B F1 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 800B03F4 000AD354 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800B03F8 000AD358 90 1D 00 EC */ stw r0, 0xec(r29) +lbl_800B03FC: +/* 800B03FC 000AD35C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 800B0400 000AD360 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800B0404 000AD364 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 800B0408 000AD368 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800B040C 000AD36C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800B0410 000AD370 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800B0414 000AD374 7C 08 03 A6 */ mtlr r0 +/* 800B0418 000AD378 38 21 00 80 */ addi r1, r1, 0x80 +/* 800B041C 000AD37C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12CScriptSoundF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12CScriptSoundF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800B0420 000AD380 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B0424 000AD384 7C 08 02 A6 */ mflr r0 +/* 800B0428 000AD388 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B042C 000AD38C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B0430 000AD390 7C DF 33 78 */ mr r31, r6 +/* 800B0434 000AD394 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B0438 000AD398 7C 7E 1B 78 */ mr r30, r3 +/* 800B043C 000AD39C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B0440 000AD3A0 7C 9D 23 78 */ mr r29, r4 +/* 800B0444 000AD3A4 A0 05 00 00 */ lhz r0, 0(r5) +/* 800B0448 000AD3A8 38 A1 00 08 */ addi r5, r1, 8 +/* 800B044C 000AD3AC B0 01 00 08 */ sth r0, 8(r1) +/* 800B0450 000AD3B0 4B FA 31 C5 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800B0454 000AD3B4 28 1D 00 22 */ cmplwi r29, 0x22 +/* 800B0458 000AD3B8 41 81 00 D0 */ bgt lbl_800B0528 +/* 800B045C 000AD3BC 3C 60 80 3E */ lis r3, lbl_803DF194@ha +/* 800B0460 000AD3C0 57 A0 10 3A */ slwi r0, r29, 2 +/* 800B0464 000AD3C4 38 63 F1 94 */ addi r3, r3, lbl_803DF194@l +/* 800B0468 000AD3C8 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800B046C 000AD3CC 7C 09 03 A6 */ mtctr r0 +/* 800B0470 000AD3D0 4E 80 04 20 */ bctr +/* 800B0474 000AD3D4 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800B0478 000AD3D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B047C 000AD3DC 41 82 00 1C */ beq lbl_800B0498 +/* 800B0480 000AD3E0 88 7E 01 1C */ lbz r3, 0x11c(r30) +/* 800B0484 000AD3E4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 800B0488 000AD3E8 41 82 00 10 */ beq lbl_800B0498 +/* 800B048C 000AD3EC 38 00 00 01 */ li r0, 1 +/* 800B0490 000AD3F0 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 800B0494 000AD3F4 98 7E 01 1C */ stb r3, 0x11c(r30) +lbl_800B0498: +/* 800B0498 000AD3F8 88 7F 0F 94 */ lbz r3, 0xf94(r31) +/* 800B049C 000AD3FC 88 1E 01 1C */ lbz r0, 0x11c(r30) +/* 800B04A0 000AD400 50 60 DF FE */ rlwimi r0, r3, 0x1b, 0x1f, 0x1f +/* 800B04A4 000AD404 98 1E 01 1C */ stb r0, 0x11c(r30) +/* 800B04A8 000AD408 48 00 00 80 */ b lbl_800B0528 +/* 800B04AC 000AD40C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800B04B0 000AD410 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B04B4 000AD414 41 82 00 74 */ beq lbl_800B0528 +/* 800B04B8 000AD418 7F C3 F3 78 */ mr r3, r30 +/* 800B04BC 000AD41C 7F E4 FB 78 */ mr r4, r31 +/* 800B04C0 000AD420 4B FF FC F9 */ bl PlaySound__12CScriptSoundFR13CStateManager +/* 800B04C4 000AD424 48 00 00 64 */ b lbl_800B0528 +/* 800B04C8 000AD428 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800B04CC 000AD42C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B04D0 000AD430 41 82 00 58 */ beq lbl_800B0528 +/* 800B04D4 000AD434 7F C3 F3 78 */ mr r3, r30 +/* 800B04D8 000AD438 7F E4 FB 78 */ mr r4, r31 +/* 800B04DC 000AD43C 4B FF FC 51 */ bl StopSound__12CScriptSoundFv +/* 800B04E0 000AD440 48 00 00 48 */ b lbl_800B0528 +/* 800B04E4 000AD444 7F C3 F3 78 */ mr r3, r30 +/* 800B04E8 000AD448 7F E4 FB 78 */ mr r4, r31 +/* 800B04EC 000AD44C 4B FF FC 41 */ bl StopSound__12CScriptSoundFv +/* 800B04F0 000AD450 48 00 00 38 */ b lbl_800B0528 +/* 800B04F4 000AD454 88 7E 01 1C */ lbz r3, 0x11c(r30) +/* 800B04F8 000AD458 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 800B04FC 000AD45C 41 82 00 2C */ beq lbl_800B0528 +/* 800B0500 000AD460 38 00 00 01 */ li r0, 1 +/* 800B0504 000AD464 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 800B0508 000AD468 98 7E 01 1C */ stb r3, 0x11c(r30) +/* 800B050C 000AD46C 48 00 00 1C */ b lbl_800B0528 +/* 800B0510 000AD470 88 1E 01 1C */ lbz r0, 0x11c(r30) +/* 800B0514 000AD474 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800B0518 000AD478 40 82 00 10 */ bne lbl_800B0528 +/* 800B051C 000AD47C 7F C3 F3 78 */ mr r3, r30 +/* 800B0520 000AD480 7F E4 FB 78 */ mr r4, r31 +/* 800B0524 000AD484 4B FF FC 09 */ bl StopSound__12CScriptSoundFv +lbl_800B0528: +/* 800B0528 000AD488 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B052C 000AD48C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B0530 000AD490 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B0534 000AD494 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B0538 000AD498 7C 08 03 A6 */ mtlr r0 +/* 800B053C 000AD49C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B0540 000AD4A0 4E 80 00 20 */ blr + +.global Think__12CScriptSoundFfR13CStateManager +Think__12CScriptSoundFfR13CStateManager: +/* 800B0544 000AD4A4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800B0548 000AD4A8 7C 08 02 A6 */ mflr r0 +/* 800B054C 000AD4AC 90 01 00 84 */ stw r0, 0x84(r1) +/* 800B0550 000AD4B0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 800B0554 000AD4B4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 800B0558 000AD4B8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 800B055C 000AD4BC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 800B0560 000AD4C0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800B0564 000AD4C4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800B0568 000AD4C8 7C 7E 1B 78 */ mr r30, r3 +/* 800B056C 000AD4CC 88 63 01 1C */ lbz r3, 0x11c(r3) +/* 800B0570 000AD4D0 FF E0 08 90 */ fmr f31, f1 +/* 800B0574 000AD4D4 7C 9F 23 78 */ mr r31, r4 +/* 800B0578 000AD4D8 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 800B057C 000AD4DC 41 82 00 3C */ beq lbl_800B05B8 +/* 800B0580 000AD4E0 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800B0584 000AD4E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B0588 000AD4E8 41 82 00 14 */ beq lbl_800B059C +/* 800B058C 000AD4EC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 800B0590 000AD4F0 40 82 00 0C */ bne lbl_800B059C +/* 800B0594 000AD4F4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 800B0598 000AD4F8 40 82 00 20 */ bne lbl_800B05B8 +lbl_800B059C: +/* 800B059C 000AD4FC A0 1E 00 08 */ lhz r0, 8(r30) +/* 800B05A0 000AD500 7F E3 FB 78 */ mr r3, r31 +/* 800B05A4 000AD504 38 81 00 18 */ addi r4, r1, 0x18 +/* 800B05A8 000AD508 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800B05AC 000AD50C B0 01 00 18 */ sth r0, 0x18(r1) +/* 800B05B0 000AD510 4B F9 BC BD */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 800B05B4 000AD514 48 00 03 24 */ b lbl_800B08D8 +lbl_800B05B8: +/* 800B05B8 000AD518 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800B05BC 000AD51C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B05C0 000AD520 41 82 03 18 */ beq lbl_800B08D8 +/* 800B05C4 000AD524 88 7E 01 1C */ lbz r3, 0x11c(r30) +/* 800B05C8 000AD528 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 800B05CC 000AD52C 40 82 00 50 */ bne lbl_800B061C +/* 800B05D0 000AD530 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 800B05D4 000AD534 41 82 00 48 */ beq lbl_800B061C +/* 800B05D8 000AD538 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 800B05DC 000AD53C 40 82 00 40 */ bne lbl_800B061C +/* 800B05E0 000AD540 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800B05E4 000AD544 28 00 00 00 */ cmplwi r0, 0 +/* 800B05E8 000AD548 41 82 00 34 */ beq lbl_800B061C +/* 800B05EC 000AD54C 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800B05F0 000AD550 38 61 00 28 */ addi r3, r1, 0x28 +/* 800B05F4 000AD554 90 01 00 28 */ stw r0, 0x28(r1) +/* 800B05F8 000AD558 48 23 87 DD */ bl IsPlaying__11CSfxManagerF10CSfxHandle +/* 800B05FC 000AD55C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B0600 000AD560 40 82 00 1C */ bne lbl_800B061C +/* 800B0604 000AD564 A0 1E 00 08 */ lhz r0, 8(r30) +/* 800B0608 000AD568 7F E3 FB 78 */ mr r3, r31 +/* 800B060C 000AD56C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800B0610 000AD570 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B0614 000AD574 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B0618 000AD578 4B F9 BC 55 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_800B061C: +/* 800B061C 000AD57C 88 1E 01 1C */ lbz r0, 0x11c(r30) +/* 800B0620 000AD580 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800B0624 000AD584 40 82 00 74 */ bne lbl_800B0698 +/* 800B0628 000AD588 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800B062C 000AD58C 28 00 00 00 */ cmplwi r0, 0 +/* 800B0630 000AD590 41 82 00 68 */ beq lbl_800B0698 +/* 800B0634 000AD594 C0 3E 00 F8 */ lfs f1, 0xf8(r30) +/* 800B0638 000AD598 C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) +/* 800B063C 000AD59C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800B0640 000AD5A0 4C 40 13 82 */ cror 2, 0, 2 +/* 800B0644 000AD5A4 40 82 00 4C */ bne lbl_800B0690 +/* 800B0648 000AD5A8 C0 02 8C A0 */ lfs f0, lbl_805AA9C0@sda21(r2) +/* 800B064C 000AD5AC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800B0650 000AD5B0 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 800B0654 000AD5B4 38 81 00 44 */ addi r4, r1, 0x44 +/* 800B0658 000AD5B8 D0 1E 00 F8 */ stfs f0, 0xf8(r30) +/* 800B065C 000AD5BC 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B0660 000AD5C0 A8 1E 00 F2 */ lha r0, 0xf2(r30) +/* 800B0664 000AD5C4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800B0668 000AD5C8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800B066C 000AD5CC 54 06 06 3E */ clrlwi r6, r0, 0x18 +/* 800B0670 000AD5D0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800B0674 000AD5D4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800B0678 000AD5D8 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800B067C 000AD5DC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800B0680 000AD5E0 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800B0684 000AD5E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B0688 000AD5E8 48 23 98 29 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +/* 800B068C 000AD5EC 48 00 00 0C */ b lbl_800B0698 +lbl_800B0690: +/* 800B0690 000AD5F0 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 800B0694 000AD5F4 D0 1E 00 F8 */ stfs f0, 0xf8(r30) +lbl_800B0698: +/* 800B0698 000AD5F8 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800B069C 000AD5FC 28 00 00 00 */ cmplwi r0, 0 +/* 800B06A0 000AD600 41 82 01 C4 */ beq lbl_800B0864 +/* 800B06A4 000AD604 88 7E 01 1C */ lbz r3, 0x11c(r30) +/* 800B06A8 000AD608 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 800B06AC 000AD60C 40 82 01 B8 */ bne lbl_800B0864 +/* 800B06B0 000AD610 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 800B06B4 000AD614 41 82 01 B0 */ beq lbl_800B0864 +/* 800B06B8 000AD618 C0 3E 00 E8 */ lfs f1, 0xe8(r30) +/* 800B06BC 000AD61C C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) +/* 800B06C0 000AD620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800B06C4 000AD624 4C 40 13 82 */ cror 2, 0, 2 +/* 800B06C8 000AD628 40 82 00 F8 */ bne lbl_800B07C0 +/* 800B06CC 000AD62C 88 0D A2 D0 */ lbz r0, lbl_805A8E90@sda21(r13) +/* 800B06D0 000AD630 28 00 00 00 */ cmplwi r0, 0 +/* 800B06D4 000AD634 41 82 00 EC */ beq lbl_800B07C0 +/* 800B06D8 000AD638 38 00 00 00 */ li r0, 0 +/* 800B06DC 000AD63C 7F E4 FB 78 */ mr r4, r31 +/* 800B06E0 000AD640 98 0D A2 D0 */ stb r0, lbl_805A8E90@sda21(r13) +/* 800B06E4 000AD644 38 61 00 38 */ addi r3, r1, 0x38 +/* 800B06E8 000AD648 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800B06EC 000AD64C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800B06F0 000AD650 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800B06F4 000AD654 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800B06F8 000AD658 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800B06FC 000AD65C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800B0700 000AD660 4B FF F6 61 */ bl GetOccludedVolumeAmount__12CScriptSoundFRC9CVector3fRC13CStateManager +/* 800B0704 000AD664 A8 7E 01 0E */ lha r3, 0x10e(r30) +/* 800B0708 000AD668 3C 00 43 30 */ lis r0, 0x4330 +/* 800B070C 000AD66C 90 01 00 50 */ stw r0, 0x50(r1) +/* 800B0710 000AD670 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 800B0714 000AD674 C8 42 8C 98 */ lfd f2, lbl_805AA9B8@sda21(r2) +/* 800B0718 000AD678 90 01 00 54 */ stw r0, 0x54(r1) +/* 800B071C 000AD67C C8 01 00 50 */ lfd f0, 0x50(r1) +/* 800B0720 000AD680 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800B0724 000AD684 EF C0 00 72 */ fmuls f30, f0, f1 +/* 800B0728 000AD688 F3 C1 B0 08 */ psq_st f30, 8(r1), 1, qr3 +/* 800B072C 000AD68C A8 7E 01 0C */ lha r3, 0x10c(r30) +/* 800B0730 000AD690 A0 01 00 08 */ lhz r0, 8(r1) +/* 800B0734 000AD694 7C 04 07 34 */ extsh r4, r0 +/* 800B0738 000AD698 7C 04 18 00 */ cmpw r4, r3 +/* 800B073C 000AD69C 40 80 00 08 */ bge lbl_800B0744 +/* 800B0740 000AD6A0 7C 64 1B 78 */ mr r4, r3 +lbl_800B0744: +/* 800B0744 000AD6A4 A8 7E 00 F0 */ lha r3, 0xf0(r30) +/* 800B0748 000AD6A8 7C 80 07 34 */ extsh r0, r4 +/* 800B074C 000AD6AC 7C 03 00 00 */ cmpw r3, r0 +/* 800B0750 000AD6B0 41 82 00 64 */ beq lbl_800B07B4 +/* 800B0754 000AD6B4 B0 9E 00 F0 */ sth r4, 0xf0(r30) +/* 800B0758 000AD6B8 3C 60 88 89 */ lis r3, 0x88888889@ha +/* 800B075C 000AD6BC 38 83 88 89 */ addi r4, r3, 0x88888889@l +/* 800B0760 000AD6C0 A8 7E 00 F2 */ lha r3, 0xf2(r30) +/* 800B0764 000AD6C4 A8 1E 00 F0 */ lha r0, 0xf0(r30) +/* 800B0768 000AD6C8 7C 03 00 50 */ subf r0, r3, r0 +/* 800B076C 000AD6CC 7C 64 00 96 */ mulhw r3, r4, r0 +/* 800B0770 000AD6D0 7C 03 02 14 */ add r0, r3, r0 +/* 800B0774 000AD6D4 7C 00 26 70 */ srawi r0, r0, 4 +/* 800B0778 000AD6D8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800B077C 000AD6DC 7C 00 1A 14 */ add r0, r0, r3 +/* 800B0780 000AD6E0 B0 1E 00 F4 */ sth r0, 0xf4(r30) +/* 800B0784 000AD6E4 A8 1E 00 F4 */ lha r0, 0xf4(r30) +/* 800B0788 000AD6E8 2C 00 00 00 */ cmpwi r0, 0 +/* 800B078C 000AD6EC 40 82 00 28 */ bne lbl_800B07B4 +/* 800B0790 000AD6F0 A8 7E 00 F2 */ lha r3, 0xf2(r30) +/* 800B0794 000AD6F4 A8 1E 00 F0 */ lha r0, 0xf0(r30) +/* 800B0798 000AD6F8 7C 03 00 00 */ cmpw r3, r0 +/* 800B079C 000AD6FC 40 80 00 10 */ bge lbl_800B07AC +/* 800B07A0 000AD700 38 00 00 01 */ li r0, 1 +/* 800B07A4 000AD704 B0 1E 00 F4 */ sth r0, 0xf4(r30) +/* 800B07A8 000AD708 48 00 00 0C */ b lbl_800B07B4 +lbl_800B07AC: +/* 800B07AC 000AD70C 38 00 FF FF */ li r0, -1 +/* 800B07B0 000AD710 B0 1E 00 F4 */ sth r0, 0xf4(r30) +lbl_800B07B4: +/* 800B07B4 000AD714 C0 02 8C A4 */ lfs f0, lbl_805AA9C4@sda21(r2) +/* 800B07B8 000AD718 D0 1E 00 E8 */ stfs f0, 0xe8(r30) +/* 800B07BC 000AD71C 48 00 00 10 */ b lbl_800B07CC +lbl_800B07C0: +/* 800B07C0 000AD720 C0 1E 00 E8 */ lfs f0, 0xe8(r30) +/* 800B07C4 000AD724 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800B07C8 000AD728 D0 1E 00 E8 */ stfs f0, 0xe8(r30) +lbl_800B07CC: +/* 800B07CC 000AD72C A8 7E 00 F2 */ lha r3, 0xf2(r30) +/* 800B07D0 000AD730 A8 1E 00 F0 */ lha r0, 0xf0(r30) +/* 800B07D4 000AD734 7C 03 00 00 */ cmpw r3, r0 +/* 800B07D8 000AD738 41 82 00 8C */ beq lbl_800B0864 +/* 800B07DC 000AD73C A8 1E 00 F4 */ lha r0, 0xf4(r30) +/* 800B07E0 000AD740 7C 03 02 14 */ add r0, r3, r0 +/* 800B07E4 000AD744 B0 1E 00 F2 */ sth r0, 0xf2(r30) +/* 800B07E8 000AD748 A8 1E 00 F4 */ lha r0, 0xf4(r30) +/* 800B07EC 000AD74C 2C 00 00 00 */ cmpwi r0, 0 +/* 800B07F0 000AD750 40 81 00 18 */ ble lbl_800B0808 +/* 800B07F4 000AD754 A8 1E 00 F2 */ lha r0, 0xf2(r30) +/* 800B07F8 000AD758 A8 7E 00 F0 */ lha r3, 0xf0(r30) +/* 800B07FC 000AD75C 7C 00 18 00 */ cmpw r0, r3 +/* 800B0800 000AD760 40 81 00 08 */ ble lbl_800B0808 +/* 800B0804 000AD764 B0 7E 00 F2 */ sth r3, 0xf2(r30) +lbl_800B0808: +/* 800B0808 000AD768 A8 1E 00 F4 */ lha r0, 0xf4(r30) +/* 800B080C 000AD76C 2C 00 00 00 */ cmpwi r0, 0 +/* 800B0810 000AD770 40 80 00 18 */ bge lbl_800B0828 +/* 800B0814 000AD774 A8 1E 00 F2 */ lha r0, 0xf2(r30) +/* 800B0818 000AD778 A8 7E 00 F0 */ lha r3, 0xf0(r30) +/* 800B081C 000AD77C 7C 00 18 00 */ cmpw r0, r3 +/* 800B0820 000AD780 40 80 00 08 */ bge lbl_800B0828 +/* 800B0824 000AD784 B0 7E 00 F2 */ sth r3, 0xf2(r30) +lbl_800B0828: +/* 800B0828 000AD788 A8 1E 00 F2 */ lha r0, 0xf2(r30) +/* 800B082C 000AD78C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800B0830 000AD790 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800B0834 000AD794 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 800B0838 000AD798 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800B083C 000AD79C 54 06 06 3E */ clrlwi r6, r0, 0x18 +/* 800B0840 000AD7A0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800B0844 000AD7A4 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B0848 000AD7A8 38 81 00 2C */ addi r4, r1, 0x2c +/* 800B084C 000AD7AC D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800B0850 000AD7B0 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800B0854 000AD7B4 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800B0858 000AD7B8 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800B085C 000AD7BC 90 01 00 20 */ stw r0, 0x20(r1) +/* 800B0860 000AD7C0 48 23 96 51 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_800B0864: +/* 800B0864 000AD7C4 88 1E 01 1C */ lbz r0, 0x11c(r30) +/* 800B0868 000AD7C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B086C 000AD7CC 41 82 00 40 */ beq lbl_800B08AC +/* 800B0870 000AD7D0 C0 3E 00 FC */ lfs f1, 0xfc(r30) +/* 800B0874 000AD7D4 C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) +/* 800B0878 000AD7D8 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800B087C 000AD7DC D0 3E 00 FC */ stfs f1, 0xfc(r30) +/* 800B0880 000AD7E0 C0 3E 00 FC */ lfs f1, 0xfc(r30) +/* 800B0884 000AD7E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800B0888 000AD7E8 4C 40 13 82 */ cror 2, 0, 2 +/* 800B088C 000AD7EC 40 82 00 20 */ bne lbl_800B08AC +/* 800B0890 000AD7F0 88 1E 01 1C */ lbz r0, 0x11c(r30) +/* 800B0894 000AD7F4 38 60 00 00 */ li r3, 0 +/* 800B0898 000AD7F8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800B089C 000AD7FC 7F C3 F3 78 */ mr r3, r30 +/* 800B08A0 000AD800 98 1E 01 1C */ stb r0, 0x11c(r30) +/* 800B08A4 000AD804 7F E4 FB 78 */ mr r4, r31 +/* 800B08A8 000AD808 4B FF F9 11 */ bl PlaySound__12CScriptSoundFR13CStateManager +lbl_800B08AC: +/* 800B08AC 000AD80C 80 1E 01 18 */ lwz r0, 0x118(r30) +/* 800B08B0 000AD810 2C 00 20 00 */ cmpwi r0, 0x2000 +/* 800B08B4 000AD814 41 82 00 24 */ beq lbl_800B08D8 +/* 800B08B8 000AD818 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800B08BC 000AD81C 28 00 00 00 */ cmplwi r0, 0 +/* 800B08C0 000AD820 41 82 00 18 */ beq lbl_800B08D8 +/* 800B08C4 000AD824 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800B08C8 000AD828 38 61 00 1C */ addi r3, r1, 0x1c +/* 800B08CC 000AD82C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800B08D0 000AD830 80 9E 01 18 */ lwz r4, 0x118(r30) +/* 800B08D4 000AD834 48 23 85 D9 */ bl PitchBend__11CSfxManagerF10CSfxHandlei +lbl_800B08D8: +/* 800B08D8 000AD838 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 800B08DC 000AD83C CB E1 00 70 */ lfd f31, 0x70(r1) +/* 800B08E0 000AD840 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 800B08E4 000AD844 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 800B08E8 000AD848 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800B08EC 000AD84C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800B08F0 000AD850 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800B08F4 000AD854 7C 08 03 A6 */ mtlr r0 +/* 800B08F8 000AD858 38 21 00 80 */ addi r1, r1, 0x80 +/* 800B08FC 000AD85C 4E 80 00 20 */ blr + +.global __dt__12CScriptSoundFv +__dt__12CScriptSoundFv: +/* 800B0900 000AD860 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B0904 000AD864 7C 08 02 A6 */ mflr r0 +/* 800B0908 000AD868 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B090C 000AD86C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B0910 000AD870 7C 9F 23 78 */ mr r31, r4 +/* 800B0914 000AD874 93 C1 00 08 */ stw r30, 8(r1) +/* 800B0918 000AD878 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800B091C 000AD87C 41 82 00 28 */ beq lbl_800B0944 +/* 800B0920 000AD880 3C A0 80 3E */ lis r5, lbl_803DF128@ha +/* 800B0924 000AD884 38 80 00 00 */ li r4, 0 +/* 800B0928 000AD888 38 05 F1 28 */ addi r0, r5, lbl_803DF128@l +/* 800B092C 000AD88C 90 1E 00 00 */ stw r0, 0(r30) +/* 800B0930 000AD890 4B FA 4D C1 */ bl __dt__6CActorFv +/* 800B0934 000AD894 7F E0 07 35 */ extsh. r0, r31 +/* 800B0938 000AD898 40 81 00 0C */ ble lbl_800B0944 +/* 800B093C 000AD89C 7F C3 F3 78 */ mr r3, r30 +/* 800B0940 000AD8A0 48 26 4F F1 */ bl Free__7CMemoryFPCv +lbl_800B0944: +/* 800B0944 000AD8A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B0948 000AD8A8 7F C3 F3 78 */ mr r3, r30 +/* 800B094C 000AD8AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B0950 000AD8B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B0954 000AD8B4 7C 08 03 A6 */ mtlr r0 +/* 800B0958 000AD8B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B095C 000AD8BC 4E 80 00 20 */ blr + +.global PreThink__12CScriptSoundFfR13CStateManager +PreThink__12CScriptSoundFfR13CStateManager: +/* 800B0960 000AD8C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B0964 000AD8C4 7C 08 02 A6 */ mflr r0 +/* 800B0968 000AD8C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B096C 000AD8CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B0970 000AD8D0 7C 7F 1B 78 */ mr r31, r3 +/* 800B0974 000AD8D4 4B FA 07 49 */ bl PreThink__7CEntityFfR13CStateManager +/* 800B0978 000AD8D8 38 00 00 01 */ li r0, 1 +/* 800B097C 000AD8DC 38 60 00 00 */ li r3, 0 +/* 800B0980 000AD8E0 98 0D A2 D0 */ stb r0, lbl_805A8E90@sda21(r13) +/* 800B0984 000AD8E4 88 1F 01 1D */ lbz r0, 0x11d(r31) +/* 800B0988 000AD8E8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800B098C 000AD8EC 98 1F 01 1D */ stb r0, 0x11d(r31) +/* 800B0990 000AD8F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B0994 000AD8F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B0998 000AD8F8 7C 08 03 A6 */ mtlr r0 +/* 800B099C 000AD8FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B09A0 000AD900 4E 80 00 20 */ blr + +.global "__ct__12CScriptSoundF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUsbfffiiiibbbbbb" +"__ct__12CScriptSoundF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUsbfffiiiibbbbbb": +/* 800B09A4 000AD904 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 800B09A8 000AD908 7C 08 02 A6 */ mflr r0 +/* 800B09AC 000AD90C 90 01 01 54 */ stw r0, 0x154(r1) +/* 800B09B0 000AD910 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 800B09B4 000AD914 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 800B09B8 000AD918 DB C1 01 30 */ stfd f30, 0x130(r1) +/* 800B09BC 000AD91C F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 +/* 800B09C0 000AD920 DB A1 01 20 */ stfd f29, 0x120(r1) +/* 800B09C4 000AD924 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 +/* 800B09C8 000AD928 BD C1 00 D8 */ stmw r14, 0xd8(r1) +/* 800B09CC 000AD92C FF A0 08 90 */ fmr f29, f1 +/* 800B09D0 000AD930 7C 6F 1B 78 */ mr r15, r3 +/* 800B09D4 000AD934 FF C0 10 90 */ fmr f30, f2 +/* 800B09D8 000AD938 82 E1 01 58 */ lwz r23, 0x158(r1) +/* 800B09DC 000AD93C FF E0 18 90 */ fmr f31, f3 +/* 800B09E0 000AD940 83 01 01 5C */ lwz r24, 0x15c(r1) +/* 800B09E4 000AD944 83 21 01 60 */ lwz r25, 0x160(r1) +/* 800B09E8 000AD948 7C 90 23 78 */ mr r16, r4 +/* 800B09EC 000AD94C 83 41 01 64 */ lwz r26, 0x164(r1) +/* 800B09F0 000AD950 7C B1 2B 78 */ mr r17, r5 +/* 800B09F4 000AD954 83 61 01 68 */ lwz r27, 0x168(r1) +/* 800B09F8 000AD958 7C D2 33 78 */ mr r18, r6 +/* 800B09FC 000AD95C 8B 81 01 6F */ lbz r28, 0x16f(r1) +/* 800B0A00 000AD960 7C F3 3B 78 */ mr r19, r7 +/* 800B0A04 000AD964 8B A1 01 73 */ lbz r29, 0x173(r1) +/* 800B0A08 000AD968 7D 14 43 78 */ mr r20, r8 +/* 800B0A0C 000AD96C 8B C1 01 77 */ lbz r30, 0x177(r1) +/* 800B0A10 000AD970 7D 35 4B 78 */ mr r21, r9 +/* 800B0A14 000AD974 8B E1 01 7B */ lbz r31, 0x17b(r1) +/* 800B0A18 000AD978 7D 56 53 78 */ mr r22, r10 +/* 800B0A1C 000AD97C 81 C1 01 88 */ lwz r14, 0x188(r1) +/* 800B0A20 000AD980 38 61 00 88 */ addi r3, r1, 0x88 +/* 800B0A24 000AD984 4B F8 9D 81 */ bl CModelDataNull__10CModelDataFv +/* 800B0A28 000AD988 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B0A2C 000AD98C 4B F6 A4 0D */ bl None__16CActorParametersFv +/* 800B0A30 000AD990 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 800B0A34 000AD994 38 00 00 00 */ li r0, 0 +/* 800B0A38 000AD998 80 AD 86 20 */ lwz r5, lbl_805A71E0@sda21(r13) +/* 800B0A3C 000AD99C 38 60 00 00 */ li r3, 0 +/* 800B0A40 000AD9A0 B0 81 00 10 */ sth r4, 0x10(r1) +/* 800B0A44 000AD9A4 38 80 00 01 */ li r4, 1 +/* 800B0A48 000AD9A8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800B0A4C 000AD9AC 90 01 00 18 */ stw r0, 0x18(r1) +/* 800B0A50 000AD9B0 48 2D 94 A5 */ bl __shl2i +/* 800B0A54 000AD9B4 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 800B0A58 000AD9B8 39 61 00 20 */ addi r11, r1, 0x20 +/* 800B0A5C 000AD9BC 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 800B0A60 000AD9C0 38 01 00 10 */ addi r0, r1, 0x10 +/* 800B0A64 000AD9C4 7C A3 1B 78 */ or r3, r5, r3 +/* 800B0A68 000AD9C8 A1 30 00 00 */ lhz r9, 0(r16) +/* 800B0A6C 000AD9CC 7C C4 23 78 */ or r4, r6, r4 +/* 800B0A70 000AD9D0 90 61 00 18 */ stw r3, 0x18(r1) +/* 800B0A74 000AD9D4 7D E3 7B 78 */ mr r3, r15 +/* 800B0A78 000AD9D8 7E A5 AB 78 */ mr r5, r21 +/* 800B0A7C 000AD9DC 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800B0A80 000AD9E0 7E 26 8B 78 */ mr r6, r17 +/* 800B0A84 000AD9E4 7E 47 93 78 */ mr r7, r18 +/* 800B0A88 000AD9E8 7E 68 9B 78 */ mr r8, r19 +/* 800B0A8C 000AD9EC B1 21 00 14 */ sth r9, 0x14(r1) +/* 800B0A90 000AD9F0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800B0A94 000AD9F4 39 21 00 88 */ addi r9, r1, 0x88 +/* 800B0A98 000AD9F8 39 41 00 18 */ addi r10, r1, 0x18 +/* 800B0A9C 000AD9FC 91 61 00 08 */ stw r11, 8(r1) +/* 800B0AA0 000ADA00 90 01 00 0C */ stw r0, 0xc(r1) +/* 800B0AA4 000ADA04 4B FA 4D 7D */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 800B0AA8 000ADA08 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B0AAC 000ADA0C 38 80 FF FF */ li r4, -1 +/* 800B0AB0 000ADA10 48 05 5B 59 */ bl __dt__16CActorParametersFv +/* 800B0AB4 000ADA14 38 61 00 88 */ addi r3, r1, 0x88 +/* 800B0AB8 000ADA18 38 80 FF FF */ li r4, -1 +/* 800B0ABC 000ADA1C 48 06 5F 91 */ bl __dt__10CModelDataFv +/* 800B0AC0 000ADA20 3C 60 80 3E */ lis r3, lbl_803DF128@ha +/* 800B0AC4 000ADA24 C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) +/* 800B0AC8 000ADA28 38 63 F1 28 */ addi r3, r3, lbl_803DF128@l +/* 800B0ACC 000ADA2C 38 00 00 00 */ li r0, 0 +/* 800B0AD0 000ADA30 90 6F 00 00 */ stw r3, 0(r15) +/* 800B0AD4 000ADA34 56 83 04 3E */ clrlwi r3, r20, 0x10 +/* 800B0AD8 000ADA38 D0 0F 00 E8 */ stfs f0, 0xe8(r15) +/* 800B0ADC 000ADA3C 90 0F 00 EC */ stw r0, 0xec(r15) +/* 800B0AE0 000ADA40 B0 0F 00 F0 */ sth r0, 0xf0(r15) +/* 800B0AE4 000ADA44 B0 0F 00 F4 */ sth r0, 0xf4(r15) +/* 800B0AE8 000ADA48 D0 0F 00 F8 */ stfs f0, 0xf8(r15) +/* 800B0AEC 000ADA4C D3 EF 00 FC */ stfs f31, 0xfc(r15) +/* 800B0AF0 000ADA50 48 23 7E C1 */ bl TranslateSFXID__11CSfxManagerFUs +/* 800B0AF4 000ADA54 B0 6F 01 00 */ sth r3, 0x100(r15) +/* 800B0AF8 000ADA58 38 0E 20 00 */ addi r0, r14, 0x2000 +/* 800B0AFC 000ADA5C 38 80 00 00 */ li r4, 0 +/* 800B0B00 000ADA60 D3 AF 01 04 */ stfs f29, 0x104(r15) +/* 800B0B04 000ADA64 D3 CF 01 08 */ stfs f30, 0x108(r15) +/* 800B0B08 000ADA68 B2 CF 01 0C */ sth r22, 0x10c(r15) +/* 800B0B0C 000ADA6C B2 EF 01 0E */ sth r23, 0x10e(r15) +/* 800B0B10 000ADA70 B3 0F 01 10 */ sth r24, 0x110(r15) +/* 800B0B14 000ADA74 B3 2F 01 12 */ sth r25, 0x112(r15) +/* 800B0B18 000ADA78 B3 4F 01 14 */ sth r26, 0x114(r15) +/* 800B0B1C 000ADA7C B3 6F 01 16 */ sth r27, 0x116(r15) +/* 800B0B20 000ADA80 90 0F 01 18 */ stw r0, 0x118(r15) +/* 800B0B24 000ADA84 88 0F 01 1C */ lbz r0, 0x11c(r15) +/* 800B0B28 000ADA88 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800B0B2C 000ADA8C 98 0F 01 1C */ stb r0, 0x11c(r15) +/* 800B0B30 000ADA90 88 0F 01 1C */ lbz r0, 0x11c(r15) +/* 800B0B34 000ADA94 53 80 36 72 */ rlwimi r0, r28, 6, 0x19, 0x19 +/* 800B0B38 000ADA98 98 0F 01 1C */ stb r0, 0x11c(r15) +/* 800B0B3C 000ADA9C 88 0F 01 1C */ lbz r0, 0x11c(r15) +/* 800B0B40 000ADAA0 53 A0 2E B4 */ rlwimi r0, r29, 5, 0x1a, 0x1a +/* 800B0B44 000ADAA4 98 0F 01 1C */ stb r0, 0x11c(r15) +/* 800B0B48 000ADAA8 88 0F 01 1C */ lbz r0, 0x11c(r15) +/* 800B0B4C 000ADAAC 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b +/* 800B0B50 000ADAB0 98 0F 01 1C */ stb r0, 0x11c(r15) +/* 800B0B54 000ADAB4 88 0F 01 1C */ lbz r0, 0x11c(r15) +/* 800B0B58 000ADAB8 53 E0 1F 38 */ rlwimi r0, r31, 3, 0x1c, 0x1c +/* 800B0B5C 000ADABC 98 0F 01 1C */ stb r0, 0x11c(r15) +/* 800B0B60 000ADAC0 88 01 01 7F */ lbz r0, 0x17f(r1) +/* 800B0B64 000ADAC4 88 6F 01 1C */ lbz r3, 0x11c(r15) +/* 800B0B68 000ADAC8 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d +/* 800B0B6C 000ADACC 88 01 01 83 */ lbz r0, 0x183(r1) +/* 800B0B70 000ADAD0 98 6F 01 1C */ stb r3, 0x11c(r15) +/* 800B0B74 000ADAD4 88 6F 01 1C */ lbz r3, 0x11c(r15) +/* 800B0B78 000ADAD8 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e +/* 800B0B7C 000ADADC 98 6F 01 1C */ stb r3, 0x11c(r15) +/* 800B0B80 000ADAE0 88 0F 01 1C */ lbz r0, 0x11c(r15) +/* 800B0B84 000ADAE4 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 800B0B88 000ADAE8 98 0F 01 1C */ stb r0, 0x11c(r15) +/* 800B0B8C 000ADAEC 88 01 01 87 */ lbz r0, 0x187(r1) +/* 800B0B90 000ADAF0 88 6F 01 1D */ lbz r3, 0x11d(r15) +/* 800B0B94 000ADAF4 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 800B0B98 000ADAF8 98 6F 01 1D */ stb r3, 0x11d(r15) +/* 800B0B9C 000ADAFC 88 0F 01 1D */ lbz r0, 0x11d(r15) +/* 800B0BA0 000ADB00 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800B0BA4 000ADB04 98 0F 01 1D */ stb r0, 0x11d(r15) +/* 800B0BA8 000ADB08 88 6F 01 1C */ lbz r3, 0x11c(r15) +/* 800B0BAC 000ADB0C 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 800B0BB0 000ADB10 41 82 00 14 */ beq lbl_800B0BC4 +/* 800B0BB4 000ADB14 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 800B0BB8 000ADB18 40 82 00 0C */ bne lbl_800B0BC4 +/* 800B0BBC 000ADB1C 50 83 0F BC */ rlwimi r3, r4, 1, 0x1e, 0x1e +/* 800B0BC0 000ADB20 98 6F 01 1C */ stb r3, 0x11c(r15) +lbl_800B0BC4: +/* 800B0BC4 000ADB24 88 6F 01 1C */ lbz r3, 0x11c(r15) +/* 800B0BC8 000ADB28 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 800B0BCC 000ADB2C 41 82 00 18 */ beq lbl_800B0BE4 +/* 800B0BD0 000ADB30 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 800B0BD4 000ADB34 40 82 00 10 */ bne lbl_800B0BE4 +/* 800B0BD8 000ADB38 38 00 00 00 */ li r0, 0 +/* 800B0BDC 000ADB3C 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e +/* 800B0BE0 000ADB40 98 6F 01 1C */ stb r3, 0x11c(r15) +lbl_800B0BE4: +/* 800B0BE4 000ADB44 7D E3 7B 78 */ mr r3, r15 +/* 800B0BE8 000ADB48 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 800B0BEC 000ADB4C CB E1 01 40 */ lfd f31, 0x140(r1) +/* 800B0BF0 000ADB50 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 +/* 800B0BF4 000ADB54 CB C1 01 30 */ lfd f30, 0x130(r1) +/* 800B0BF8 000ADB58 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 +/* 800B0BFC 000ADB5C CB A1 01 20 */ lfd f29, 0x120(r1) +/* 800B0C00 000ADB60 B9 C1 00 D8 */ lmw r14, 0xd8(r1) +/* 800B0C04 000ADB64 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800B0C08 000ADB68 7C 08 03 A6 */ mtlr r0 +/* 800B0C0C 000ADB6C 38 21 01 50 */ addi r1, r1, 0x150 +/* 800B0C10 000ADB70 4E 80 00 20 */ blr + +.global Render__15CScriptPlatformCFRC13CStateManager +Render__15CScriptPlatformCFRC13CStateManager: +/* 800B0C14 000ADB74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B0C18 000ADB78 7C 08 02 A6 */ mflr r0 +/* 800B0C1C 000ADB7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B0C20 000ADB80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B0C24 000ADB84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B0C28 000ADB88 7C 9E 23 78 */ mr r30, r4 +/* 800B0C2C 000ADB8C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B0C30 000ADB90 7C 7D 1B 78 */ mr r29, r3 +/* 800B0C34 000ADB94 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 800B0C38 000ADB98 80 63 00 00 */ lwz r3, 0(r3) +/* 800B0C3C 000ADB9C 4B FE 09 1D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 800B0C40 000ADBA0 20 03 00 01 */ subfic r0, r3, 1 +/* 800B0C44 000ADBA4 7C 03 00 34 */ cntlzw r3, r0 +/* 800B0C48 000ADBA8 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 800B0C4C 000ADBAC 54 7F D9 7E */ srwi r31, r3, 5 +/* 800B0C50 000ADBB0 41 82 00 38 */ beq lbl_800B0C88 +/* 800B0C54 000ADBB4 88 1D 03 56 */ lbz r0, 0x356(r29) +/* 800B0C58 000ADBB8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800B0C5C 000ADBBC 40 82 00 2C */ bne lbl_800B0C88 +/* 800B0C60 000ADBC0 48 29 93 55 */ bl Black__6CColorFv +/* 800B0C64 000ADBC4 7C 65 1B 78 */ mr r5, r3 +/* 800B0C68 000ADBC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800B0C6C 000ADBCC C0 22 8C AC */ lfs f1, lbl_805AA9CC@sda21(r2) +/* 800B0C70 000ADBD0 38 80 00 00 */ li r4, 0 +/* 800B0C74 000ADBD4 81 83 00 00 */ lwz r12, 0(r3) +/* 800B0C78 000ADBD8 C0 42 8C B0 */ lfs f2, lbl_805AA9D0@sda21(r2) +/* 800B0C7C 000ADBDC 81 8C 00 E0 */ lwz r12, 0xe0(r12) +/* 800B0C80 000ADBE0 7D 89 03 A6 */ mtctr r12 +/* 800B0C84 000ADBE4 4E 80 04 21 */ bctrl +lbl_800B0C88: +/* 800B0C88 000ADBE8 7F A3 EB 78 */ mr r3, r29 +/* 800B0C8C 000ADBEC 7F C4 F3 78 */ mr r4, r30 +/* 800B0C90 000ADBF0 48 06 98 59 */ bl Render__13CPhysicsActorCFRC13CStateManager +/* 800B0C94 000ADBF4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800B0C98 000ADBF8 41 82 00 28 */ beq lbl_800B0CC0 +/* 800B0C9C 000ADBFC 88 1D 03 56 */ lbz r0, 0x356(r29) +/* 800B0CA0 000ADC00 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800B0CA4 000ADC04 40 82 00 1C */ bne lbl_800B0CC0 +/* 800B0CA8 000ADC08 80 1D 00 04 */ lwz r0, 4(r29) +/* 800B0CAC 000ADC0C 7F C3 F3 78 */ mr r3, r30 +/* 800B0CB0 000ADC10 38 81 00 0C */ addi r4, r1, 0xc +/* 800B0CB4 000ADC14 90 01 00 08 */ stw r0, 8(r1) +/* 800B0CB8 000ADC18 90 01 00 0C */ stw r0, 0xc(r1) +/* 800B0CBC 000ADC1C 4B F9 60 C5 */ bl SetupFogForArea__13CStateManagerCF7TAreaId +lbl_800B0CC0: +/* 800B0CC0 000ADC20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B0CC4 000ADC24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B0CC8 000ADC28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B0CCC 000ADC2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B0CD0 000ADC30 7C 08 03 A6 */ mtlr r0 +/* 800B0CD4 000ADC34 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B0CD8 000ADC38 4E 80 00 20 */ blr + +.global GetSortingBounds__15CScriptPlatformCFRC12CTransform4f +GetSortingBounds__15CScriptPlatformCFRC12CTransform4f: +/* 800B0CDC 000ADC3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B0CE0 000ADC40 7C 08 02 A6 */ mflr r0 +/* 800B0CE4 000ADC44 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B0CE8 000ADC48 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B0CEC 000ADC4C 7C BF 2B 78 */ mr r31, r5 +/* 800B0CF0 000ADC50 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B0CF4 000ADC54 7C 9E 23 78 */ mr r30, r4 +/* 800B0CF8 000ADC58 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B0CFC 000ADC5C 7C 7D 1B 78 */ mr r29, r3 +/* 800B0D00 000ADC60 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B0D04 000ADC64 A0 84 03 54 */ lhz r4, 0x354(r4) +/* 800B0D08 000ADC68 7C 04 00 40 */ cmplw r4, r0 +/* 800B0D0C 000ADC6C 41 82 00 28 */ beq lbl_800B0D34 +/* 800B0D10 000ADC70 B0 81 00 08 */ sth r4, 8(r1) +/* 800B0D14 000ADC74 7F E3 FB 78 */ mr r3, r31 +/* 800B0D18 000ADC78 38 81 00 08 */ addi r4, r1, 8 +/* 800B0D1C 000ADC7C 4B F9 B8 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800B0D20 000ADC80 7C 64 1B 79 */ or. r4, r3, r3 +/* 800B0D24 000ADC84 41 82 00 10 */ beq lbl_800B0D34 +/* 800B0D28 000ADC88 7F A3 EB 78 */ mr r3, r29 +/* 800B0D2C 000ADC8C 4B FC 59 A1 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800B0D30 000ADC90 48 00 00 14 */ b lbl_800B0D44 +lbl_800B0D34: +/* 800B0D34 000ADC94 7F A3 EB 78 */ mr r3, r29 +/* 800B0D38 000ADC98 7F C4 F3 78 */ mr r4, r30 +/* 800B0D3C 000ADC9C 7F E5 FB 78 */ mr r5, r31 +/* 800B0D40 000ADCA0 4B FA 28 A1 */ bl GetSortingBounds__6CActorCFRC12CTransform4f +lbl_800B0D44: +/* 800B0D44 000ADCA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B0D48 000ADCA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B0D4C 000ADCAC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B0D50 000ADCB0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B0D54 000ADCB4 7C 08 03 A6 */ mtlr r0 +/* 800B0D58 000ADCB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B0D5C 000ADCBC 4E 80 00 20 */ blr + +.global GetAimPosition__15CScriptPlatformCFRC13CStateManagerf +GetAimPosition__15CScriptPlatformCFRC13CStateManagerf: +/* 800B0D60 000ADCC0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800B0D64 000ADCC4 7C 08 02 A6 */ mflr r0 +/* 800B0D68 000ADCC8 90 01 00 64 */ stw r0, 0x64(r1) +/* 800B0D6C 000ADCCC DB E1 00 58 */ stfd f31, 0x58(r1) +/* 800B0D70 000ADCD0 FF E0 08 90 */ fmr f31, f1 +/* 800B0D74 000ADCD4 93 E1 00 54 */ stw r31, 0x54(r1) +/* 800B0D78 000ADCD8 7C BF 2B 78 */ mr r31, r5 +/* 800B0D7C 000ADCDC 93 C1 00 50 */ stw r30, 0x50(r1) +/* 800B0D80 000ADCE0 7C 9E 23 78 */ mr r30, r4 +/* 800B0D84 000ADCE4 93 A1 00 4C */ stw r29, 0x4c(r1) +/* 800B0D88 000ADCE8 7C 7D 1B 78 */ mr r29, r3 +/* 800B0D8C 000ADCEC 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B0D90 000ADCF0 81 84 00 00 */ lwz r12, 0(r4) +/* 800B0D94 000ADCF4 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 800B0D98 000ADCF8 7D 89 03 A6 */ mtctr r12 +/* 800B0D9C 000ADCFC 4E 80 04 21 */ bctrl +/* 800B0DA0 000ADD00 88 61 00 3C */ lbz r3, 0x3c(r1) +/* 800B0DA4 000ADD04 38 00 00 00 */ li r0, 0 +/* 800B0DA8 000ADD08 28 03 00 00 */ cmplwi r3, 0 +/* 800B0DAC 000ADD0C 98 01 00 3C */ stb r0, 0x3c(r1) +/* 800B0DB0 000ADD10 41 82 00 34 */ beq lbl_800B0DE4 +/* 800B0DB4 000ADD14 7F C4 F3 78 */ mr r4, r30 +/* 800B0DB8 000ADD18 38 61 00 08 */ addi r3, r1, 8 +/* 800B0DBC 000ADD1C 81 9E 00 00 */ lwz r12, 0(r30) +/* 800B0DC0 000ADD20 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 800B0DC4 000ADD24 7D 89 03 A6 */ mtctr r12 +/* 800B0DC8 000ADD28 4E 80 04 21 */ bctrl +/* 800B0DCC 000ADD2C 7F A3 EB 78 */ mr r3, r29 +/* 800B0DD0 000ADD30 38 81 00 08 */ addi r4, r1, 8 +/* 800B0DD4 000ADD34 48 28 68 39 */ bl GetCenterPoint__6CAABoxCFv +/* 800B0DD8 000ADD38 38 00 00 00 */ li r0, 0 +/* 800B0DDC 000ADD3C 98 01 00 20 */ stb r0, 0x20(r1) +/* 800B0DE0 000ADD40 48 00 00 18 */ b lbl_800B0DF8 +lbl_800B0DE4: +/* 800B0DE4 000ADD44 FC 20 F8 90 */ fmr f1, f31 +/* 800B0DE8 000ADD48 7F A3 EB 78 */ mr r3, r29 +/* 800B0DEC 000ADD4C 7F C4 F3 78 */ mr r4, r30 +/* 800B0DF0 000ADD50 7F E5 FB 78 */ mr r5, r31 +/* 800B0DF4 000ADD54 48 06 97 15 */ bl GetAimPosition__13CPhysicsActorCFRC13CStateManagerf +lbl_800B0DF8: +/* 800B0DF8 000ADD58 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800B0DFC 000ADD5C CB E1 00 58 */ lfd f31, 0x58(r1) +/* 800B0E00 000ADD60 83 E1 00 54 */ lwz r31, 0x54(r1) +/* 800B0E04 000ADD64 83 C1 00 50 */ lwz r30, 0x50(r1) +/* 800B0E08 000ADD68 83 A1 00 4C */ lwz r29, 0x4c(r1) +/* 800B0E0C 000ADD6C 7C 08 03 A6 */ mtlr r0 +/* 800B0E10 000ADD70 38 21 00 60 */ addi r1, r1, 0x60 +/* 800B0E14 000ADD74 4E 80 00 20 */ blr + +.global GetOrbitPosition__15CScriptPlatformCFRC13CStateManager +GetOrbitPosition__15CScriptPlatformCFRC13CStateManager: +/* 800B0E18 000ADD78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B0E1C 000ADD7C 7C 08 02 A6 */ mflr r0 +/* 800B0E20 000ADD80 C0 22 8C AC */ lfs f1, lbl_805AA9CC@sda21(r2) +/* 800B0E24 000ADD84 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B0E28 000ADD88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B0E2C 000ADD8C 7C 7F 1B 78 */ mr r31, r3 +/* 800B0E30 000ADD90 81 84 00 00 */ lwz r12, 0(r4) +/* 800B0E34 000ADD94 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800B0E38 000ADD98 7D 89 03 A6 */ mtctr r12 +/* 800B0E3C 000ADD9C 4E 80 04 21 */ bctrl +/* 800B0E40 000ADDA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B0E44 000ADDA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B0E48 000ADDA8 7C 08 03 A6 */ mtlr r0 +/* 800B0E4C 000ADDAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B0E50 000ADDB0 4E 80 00 20 */ blr + +.global sub_800b0e54 +sub_800b0e54: +/* 800B0E54 000ADDB4 80 A4 00 00 */ lwz r5, 0(r4) +/* 800B0E58 000ADDB8 80 04 00 04 */ lwz r0, 4(r4) +/* 800B0E5C 000ADDBC 90 A3 02 9C */ stw r5, 0x29c(r3) +/* 800B0E60 000ADDC0 90 03 02 A0 */ stw r0, 0x2a0(r3) +/* 800B0E64 000ADDC4 80 A4 00 08 */ lwz r5, 8(r4) +/* 800B0E68 000ADDC8 80 04 00 0C */ lwz r0, 0xc(r4) +/* 800B0E6C 000ADDCC 90 A3 02 A4 */ stw r5, 0x2a4(r3) +/* 800B0E70 000ADDD0 90 03 02 A8 */ stw r0, 0x2a8(r3) +/* 800B0E74 000ADDD4 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 800B0E78 000ADDD8 80 04 00 14 */ lwz r0, 0x14(r4) +/* 800B0E7C 000ADDDC 90 A3 02 AC */ stw r5, 0x2ac(r3) +/* 800B0E80 000ADDE0 90 03 02 B0 */ stw r0, 0x2b0(r3) +/* 800B0E84 000ADDE4 80 A4 00 18 */ lwz r5, 0x18(r4) +/* 800B0E88 000ADDE8 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 800B0E8C 000ADDEC 90 A3 02 B4 */ stw r5, 0x2b4(r3) +/* 800B0E90 000ADDF0 90 03 02 B8 */ stw r0, 0x2b8(r3) +/* 800B0E94 000ADDF4 80 A4 00 20 */ lwz r5, 0x20(r4) +/* 800B0E98 000ADDF8 80 04 00 24 */ lwz r0, 0x24(r4) +/* 800B0E9C 000ADDFC 90 A3 02 BC */ stw r5, 0x2bc(r3) +/* 800B0EA0 000ADE00 90 03 02 C0 */ stw r0, 0x2c0(r3) +/* 800B0EA4 000ADE04 80 A4 00 28 */ lwz r5, 0x28(r4) +/* 800B0EA8 000ADE08 80 04 00 2C */ lwz r0, 0x2c(r4) +/* 800B0EAC 000ADE0C 90 A3 02 C4 */ stw r5, 0x2c4(r3) +/* 800B0EB0 000ADE10 90 03 02 C8 */ stw r0, 0x2c8(r3) +/* 800B0EB4 000ADE14 80 A4 00 30 */ lwz r5, 0x30(r4) +/* 800B0EB8 000ADE18 80 04 00 34 */ lwz r0, 0x34(r4) +/* 800B0EBC 000ADE1C 90 A3 02 CC */ stw r5, 0x2cc(r3) +/* 800B0EC0 000ADE20 90 03 02 D0 */ stw r0, 0x2d0(r3) +/* 800B0EC4 000ADE24 80 04 00 38 */ lwz r0, 0x38(r4) +/* 800B0EC8 000ADE28 90 03 02 D4 */ stw r0, 0x2d4(r3) +/* 800B0ECC 000ADE2C 80 A4 00 3C */ lwz r5, 0x3c(r4) +/* 800B0ED0 000ADE30 80 04 00 40 */ lwz r0, 0x40(r4) +/* 800B0ED4 000ADE34 90 A3 02 D8 */ stw r5, 0x2d8(r3) +/* 800B0ED8 000ADE38 90 03 02 DC */ stw r0, 0x2dc(r3) +/* 800B0EDC 000ADE3C 80 A4 00 44 */ lwz r5, 0x44(r4) +/* 800B0EE0 000ADE40 80 04 00 48 */ lwz r0, 0x48(r4) +/* 800B0EE4 000ADE44 90 A3 02 E0 */ stw r5, 0x2e0(r3) +/* 800B0EE8 000ADE48 90 03 02 E4 */ stw r0, 0x2e4(r3) +/* 800B0EEC 000ADE4C 80 A4 00 4C */ lwz r5, 0x4c(r4) +/* 800B0EF0 000ADE50 80 04 00 50 */ lwz r0, 0x50(r4) +/* 800B0EF4 000ADE54 90 A3 02 E8 */ stw r5, 0x2e8(r3) +/* 800B0EF8 000ADE58 90 03 02 EC */ stw r0, 0x2ec(r3) +/* 800B0EFC 000ADE5C 80 A4 00 54 */ lwz r5, 0x54(r4) +/* 800B0F00 000ADE60 80 04 00 58 */ lwz r0, 0x58(r4) +/* 800B0F04 000ADE64 90 A3 02 F0 */ stw r5, 0x2f0(r3) +/* 800B0F08 000ADE68 90 03 02 F4 */ stw r0, 0x2f4(r3) +/* 800B0F0C 000ADE6C 80 04 00 5C */ lwz r0, 0x5c(r4) +/* 800B0F10 000ADE70 90 03 02 F8 */ stw r0, 0x2f8(r3) +/* 800B0F14 000ADE74 80 04 00 60 */ lwz r0, 0x60(r4) +/* 800B0F18 000ADE78 90 03 02 FC */ stw r0, 0x2fc(r3) +/* 800B0F1C 000ADE7C 80 04 00 64 */ lwz r0, 0x64(r4) +/* 800B0F20 000ADE80 90 03 03 00 */ stw r0, 0x300(r3) +/* 800B0F24 000ADE84 4E 80 00 20 */ blr + +.global PreRender__15CScriptPlatformFR13CStateManagerRC14CFrustumPlanes +PreRender__15CScriptPlatformFR13CStateManagerRC14CFrustumPlanes: +/* 800B0F28 000ADE88 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800B0F2C 000ADE8C 7C 08 02 A6 */ mflr r0 +/* 800B0F30 000ADE90 90 01 00 44 */ stw r0, 0x44(r1) +/* 800B0F34 000ADE94 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800B0F38 000ADE98 7C 7B 1B 78 */ mr r27, r3 +/* 800B0F3C 000ADE9C 7C 9C 23 78 */ mr r28, r4 +/* 800B0F40 000ADEA0 4B FA 3D A1 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes +/* 800B0F44 000ADEA4 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 800B0F48 000ADEA8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800B0F4C 000ADEAC 40 82 01 5C */ bne lbl_800B10A8 +/* 800B0F50 000ADEB0 C0 9B 03 48 */ lfs f4, 0x348(r27) +/* 800B0F54 000ADEB4 C0 22 8C B0 */ lfs f1, lbl_805AA9D0@sda21(r2) +/* 800B0F58 000ADEB8 C0 02 8C B4 */ lfs f0, lbl_805AA9D4@sda21(r2) +/* 800B0F5C 000ADEBC EC 44 08 28 */ fsubs f2, f4, f1 +/* 800B0F60 000ADEC0 FC 40 12 10 */ fabs f2, f2 +/* 800B0F64 000ADEC4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800B0F68 000ADEC8 41 80 01 40 */ blt lbl_800B10A8 +/* 800B0F6C 000ADECC 38 A0 00 05 */ li r5, 5 +/* 800B0F70 000ADED0 38 80 00 00 */ li r4, 0 +/* 800B0F74 000ADED4 38 00 00 03 */ li r0, 3 +/* 800B0F78 000ADED8 FC 40 08 90 */ fmr f2, f1 +/* 800B0F7C 000ADEDC FC 60 08 90 */ fmr f3, f1 +/* 800B0F80 000ADEE0 98 A1 00 14 */ stb r5, 0x14(r1) +/* 800B0F84 000ADEE4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800B0F88 000ADEE8 98 81 00 15 */ stb r4, 0x15(r1) +/* 800B0F8C 000ADEEC B0 01 00 16 */ sth r0, 0x16(r1) +/* 800B0F90 000ADEF0 48 2B 24 5D */ bl __ct__6CColorFffff +/* 800B0F94 000ADEF4 80 7C 08 B8 */ lwz r3, 0x8b8(r28) +/* 800B0F98 000ADEF8 7F 84 E3 78 */ mr r4, r28 +/* 800B0F9C 000ADEFC 8B 41 00 14 */ lbz r26, 0x14(r1) +/* 800B0FA0 000ADF00 8B E1 00 15 */ lbz r31, 0x15(r1) +/* 800B0FA4 000ADF04 A3 C1 00 16 */ lhz r30, 0x16(r1) +/* 800B0FA8 000ADF08 83 A1 00 18 */ lwz r29, 0x18(r1) +/* 800B0FAC 000ADF0C 80 63 00 00 */ lwz r3, 0(r3) +/* 800B0FB0 000ADF10 4B FE 05 A9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 800B0FB4 000ADF14 2C 03 00 01 */ cmpwi r3, 1 +/* 800B0FB8 000ADF18 40 82 00 34 */ bne lbl_800B0FEC +/* 800B0FBC 000ADF1C 88 1B 03 56 */ lbz r0, 0x356(r27) +/* 800B0FC0 000ADF20 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800B0FC4 000ADF24 40 82 00 28 */ bne lbl_800B0FEC +/* 800B0FC8 000ADF28 9B 5B 00 B4 */ stb r26, 0xb4(r27) +/* 800B0FCC 000ADF2C 38 60 00 01 */ li r3, 1 +/* 800B0FD0 000ADF30 9B FB 00 B5 */ stb r31, 0xb5(r27) +/* 800B0FD4 000ADF34 B3 DB 00 B6 */ sth r30, 0xb6(r27) +/* 800B0FD8 000ADF38 93 BB 00 B8 */ stw r29, 0xb8(r27) +/* 800B0FDC 000ADF3C 88 1B 03 56 */ lbz r0, 0x356(r27) +/* 800B0FE0 000ADF40 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800B0FE4 000ADF44 98 1B 03 56 */ stb r0, 0x356(r27) +/* 800B0FE8 000ADF48 48 00 00 C0 */ b lbl_800B10A8 +lbl_800B0FEC: +/* 800B0FEC 000ADF4C 88 7B 03 56 */ lbz r3, 0x356(r27) +/* 800B0FF0 000ADF50 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 800B0FF4 000ADF54 41 82 00 B4 */ beq lbl_800B10A8 +/* 800B0FF8 000ADF58 38 80 00 00 */ li r4, 0 +/* 800B0FFC 000ADF5C 7F 40 07 74 */ extsb r0, r26 +/* 800B1000 000ADF60 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d +/* 800B1004 000ADF64 98 7B 03 56 */ stb r3, 0x356(r27) +/* 800B1008 000ADF68 88 7B 00 B4 */ lbz r3, 0xb4(r27) +/* 800B100C 000ADF6C 7C 63 07 74 */ extsb r3, r3 +/* 800B1010 000ADF70 7C 03 00 00 */ cmpw r3, r0 +/* 800B1014 000ADF74 40 82 00 34 */ bne lbl_800B1048 +/* 800B1018 000ADF78 88 7B 00 B5 */ lbz r3, 0xb5(r27) +/* 800B101C 000ADF7C 7F E0 07 74 */ extsb r0, r31 +/* 800B1020 000ADF80 7C 63 07 74 */ extsb r3, r3 +/* 800B1024 000ADF84 7C 03 00 00 */ cmpw r3, r0 +/* 800B1028 000ADF88 40 82 00 20 */ bne lbl_800B1048 +/* 800B102C 000ADF8C A0 1B 00 B6 */ lhz r0, 0xb6(r27) +/* 800B1030 000ADF90 7C 00 F0 40 */ cmplw r0, r30 +/* 800B1034 000ADF94 40 82 00 14 */ bne lbl_800B1048 +/* 800B1038 000ADF98 80 1B 00 B8 */ lwz r0, 0xb8(r27) +/* 800B103C 000ADF9C 7C 00 E8 40 */ cmplw r0, r29 +/* 800B1040 000ADFA0 40 82 00 08 */ bne lbl_800B1048 +/* 800B1044 000ADFA4 38 80 00 01 */ li r4, 1 +lbl_800B1048: +/* 800B1048 000ADFA8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800B104C 000ADFAC 41 82 00 5C */ beq lbl_800B10A8 +/* 800B1050 000ADFB0 88 1B 03 56 */ lbz r0, 0x356(r27) +/* 800B1054 000ADFB4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800B1058 000ADFB8 40 82 00 50 */ bne lbl_800B10A8 +/* 800B105C 000ADFBC C0 22 8C B0 */ lfs f1, lbl_805AA9D0@sda21(r2) +/* 800B1060 000ADFC0 38 80 00 00 */ li r4, 0 +/* 800B1064 000ADFC4 38 00 00 03 */ li r0, 3 +/* 800B1068 000ADFC8 98 81 00 0C */ stb r4, 0xc(r1) +/* 800B106C 000ADFCC FC 40 08 90 */ fmr f2, f1 +/* 800B1070 000ADFD0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800B1074 000ADFD4 FC 60 08 90 */ fmr f3, f1 +/* 800B1078 000ADFD8 98 81 00 0D */ stb r4, 0xd(r1) +/* 800B107C 000ADFDC FC 80 08 90 */ fmr f4, f1 +/* 800B1080 000ADFE0 B0 01 00 0E */ sth r0, 0xe(r1) +/* 800B1084 000ADFE4 48 2B 23 69 */ bl __ct__6CColorFffff +/* 800B1088 000ADFE8 88 01 00 0C */ lbz r0, 0xc(r1) +/* 800B108C 000ADFEC 98 1B 00 B4 */ stb r0, 0xb4(r27) +/* 800B1090 000ADFF0 88 01 00 0D */ lbz r0, 0xd(r1) +/* 800B1094 000ADFF4 98 1B 00 B5 */ stb r0, 0xb5(r27) +/* 800B1098 000ADFF8 A0 01 00 0E */ lhz r0, 0xe(r1) +/* 800B109C 000ADFFC B0 1B 00 B6 */ sth r0, 0xb6(r27) +/* 800B10A0 000AE000 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800B10A4 000AE004 90 1B 00 B8 */ stw r0, 0xb8(r27) +lbl_800B10A8: +/* 800B10A8 000AE008 A0 1B 03 54 */ lhz r0, 0x354(r27) +/* 800B10AC 000AE00C 7F 83 E3 78 */ mr r3, r28 +/* 800B10B0 000AE010 38 81 00 08 */ addi r4, r1, 8 +/* 800B10B4 000AE014 B0 01 00 08 */ sth r0, 8(r1) +/* 800B10B8 000AE018 4B F9 B4 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800B10BC 000AE01C 28 03 00 00 */ cmplwi r3, 0 +/* 800B10C0 000AE020 40 82 00 0C */ bne lbl_800B10CC +/* 800B10C4 000AE024 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B10C8 000AE028 B0 1B 03 54 */ sth r0, 0x354(r27) +lbl_800B10CC: +/* 800B10CC 000AE02C BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800B10D0 000AE030 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800B10D4 000AE034 7C 08 03 A6 */ mtlr r0 +/* 800B10D8 000AE038 38 21 00 40 */ addi r1, r1, 0x40 +/* 800B10DC 000AE03C 4E 80 00 20 */ blr + +.global Move__15CScriptPlatformFR13CStateManager +Move__15CScriptPlatformFR13CStateManager: +/* 800B10E0 000AE040 94 21 EE 50 */ stwu r1, -0x11b0(r1) +/* 800B10E4 000AE044 7C 08 02 A6 */ mflr r0 +/* 800B10E8 000AE048 90 01 11 B4 */ stw r0, 0x11b4(r1) +/* 800B10EC 000AE04C 38 00 11 A8 */ li r0, 0x11a8 +/* 800B10F0 000AE050 DB E1 11 A0 */ stfd f31, 0x11a0(r1) +/* 800B10F4 000AE054 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 800B10F8 000AE058 BF 21 11 84 */ stmw r25, 0x1184(r1) +/* 800B10FC 000AE05C 7C 9F 23 78 */ mr r31, r4 +/* 800B1100 000AE060 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B1104 000AE064 A0 C4 02 5A */ lhz r6, 0x25a(r4) +/* 800B1108 000AE068 FF E0 08 90 */ fmr f31, f1 +/* 800B110C 000AE06C 7C 7E 1B 78 */ mr r30, r3 +/* 800B1110 000AE070 7C B9 2B 78 */ mr r25, r5 +/* 800B1114 000AE074 54 C3 04 3E */ clrlwi r3, r6, 0x10 +/* 800B1118 000AE078 B0 C1 00 54 */ sth r6, 0x54(r1) +/* 800B111C 000AE07C 7C 03 00 40 */ cmplw r3, r0 +/* 800B1120 000AE080 40 82 00 24 */ bne lbl_800B1144 +/* 800B1124 000AE084 A0 1F 02 58 */ lhz r0, 0x258(r31) +/* 800B1128 000AE088 7F 26 CB 78 */ mr r6, r25 +/* 800B112C 000AE08C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800B1130 000AE090 38 A1 00 4C */ addi r5, r1, 0x4c +/* 800B1134 000AE094 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 800B1138 000AE098 48 00 28 95 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager +/* 800B113C 000AE09C A0 01 00 50 */ lhz r0, 0x50(r1) +/* 800B1140 000AE0A0 B0 01 00 54 */ sth r0, 0x54(r1) +lbl_800B1144: +/* 800B1144 000AE0A4 A0 01 00 54 */ lhz r0, 0x54(r1) +/* 800B1148 000AE0A8 7F 23 CB 78 */ mr r3, r25 +/* 800B114C 000AE0AC 38 81 00 48 */ addi r4, r1, 0x48 +/* 800B1150 000AE0B0 B0 01 00 48 */ sth r0, 0x48(r1) +/* 800B1154 000AE0B4 4B F9 B4 21 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B1158 000AE0B8 7C 64 1B 78 */ mr r4, r3 +/* 800B115C 000AE0BC 38 61 00 68 */ addi r3, r1, 0x68 +/* 800B1160 000AE0C0 4B FF 53 ED */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 800B1164 000AE0C4 A0 9F 02 58 */ lhz r4, 0x258(r31) +/* 800B1168 000AE0C8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B116C 000AE0CC 80 63 00 04 */ lwz r3, 4(r3) +/* 800B1170 000AE0D0 7C 04 00 40 */ cmplw r4, r0 +/* 800B1174 000AE0D4 41 82 00 88 */ beq lbl_800B11FC +/* 800B1178 000AE0D8 28 03 00 00 */ cmplwi r3, 0 +/* 800B117C 000AE0DC 41 82 00 80 */ beq lbl_800B11FC +/* 800B1180 000AE0E0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800B1184 000AE0E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B1188 000AE0E8 40 82 00 74 */ bne lbl_800B11FC +/* 800B118C 000AE0EC A0 1F 02 58 */ lhz r0, 0x258(r31) +/* 800B1190 000AE0F0 7F E4 FB 78 */ mr r4, r31 +/* 800B1194 000AE0F4 7F 26 CB 78 */ mr r6, r25 +/* 800B1198 000AE0F8 38 61 00 44 */ addi r3, r1, 0x44 +/* 800B119C 000AE0FC B0 01 00 40 */ sth r0, 0x40(r1) +/* 800B11A0 000AE100 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800B11A4 000AE104 48 00 28 29 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager +/* 800B11A8 000AE108 A0 61 00 44 */ lhz r3, 0x44(r1) +/* 800B11AC 000AE10C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B11B0 000AE110 B0 61 00 54 */ sth r3, 0x54(r1) +/* 800B11B4 000AE114 7C 03 00 40 */ cmplw r3, r0 +/* 800B11B8 000AE118 40 82 00 44 */ bne lbl_800B11FC +/* 800B11BC 000AE11C A0 1F 02 58 */ lhz r0, 0x258(r31) +/* 800B11C0 000AE120 7F 23 CB 78 */ mr r3, r25 +/* 800B11C4 000AE124 38 81 00 3C */ addi r4, r1, 0x3c +/* 800B11C8 000AE128 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 800B11CC 000AE12C 4B F9 B3 A9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B11D0 000AE130 7C 64 1B 78 */ mr r4, r3 +/* 800B11D4 000AE134 38 61 00 60 */ addi r3, r1, 0x60 +/* 800B11D8 000AE138 4B FF 53 75 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 800B11DC 000AE13C 80 63 00 04 */ lwz r3, 4(r3) +/* 800B11E0 000AE140 28 03 00 00 */ cmplwi r3, 0 +/* 800B11E4 000AE144 41 82 00 18 */ beq lbl_800B11FC +/* 800B11E8 000AE148 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800B11EC 000AE14C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B11F0 000AE150 41 82 00 0C */ beq lbl_800B11FC +/* 800B11F4 000AE154 A0 1F 02 58 */ lhz r0, 0x258(r31) +/* 800B11F8 000AE158 B0 01 00 54 */ sth r0, 0x54(r1) +lbl_800B11FC: +/* 800B11FC 000AE15C A0 61 00 54 */ lhz r3, 0x54(r1) +/* 800B1200 000AE160 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B1204 000AE164 7C 03 00 40 */ cmplw r3, r0 +/* 800B1208 000AE168 40 82 00 2C */ bne lbl_800B1234 +/* 800B120C 000AE16C 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 800B1210 000AE170 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) +/* 800B1214 000AE174 D0 1E 00 00 */ stfs f0, 0(r30) +/* 800B1218 000AE178 C0 03 00 04 */ lfs f0, 4(r3) +/* 800B121C 000AE17C D0 1E 00 04 */ stfs f0, 4(r30) +/* 800B1220 000AE180 C0 03 00 08 */ lfs f0, 8(r3) +/* 800B1224 000AE184 D0 1E 00 08 */ stfs f0, 8(r30) +/* 800B1228 000AE188 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800B122C 000AE18C D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 800B1230 000AE190 48 00 09 A8 */ b lbl_800B1BD8 +lbl_800B1234: +/* 800B1234 000AE194 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800B1238 000AE198 3B 81 09 7C */ addi r28, r1, 0x97c +/* 800B123C 000AE19C 3B 61 01 78 */ addi r27, r1, 0x178 +/* 800B1240 000AE1A0 3B A3 66 A0 */ addi r29, r3, skZero3f@l +/* 800B1244 000AE1A4 48 00 09 58 */ b lbl_800B1B9C +lbl_800B1248: +/* 800B1248 000AE1A8 A0 01 00 54 */ lhz r0, 0x54(r1) +/* 800B124C 000AE1AC 7F 23 CB 78 */ mr r3, r25 +/* 800B1250 000AE1B0 38 81 00 38 */ addi r4, r1, 0x38 +/* 800B1254 000AE1B4 B0 01 00 38 */ sth r0, 0x38(r1) +/* 800B1258 000AE1B8 4B F9 B3 1D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B125C 000AE1BC 7C 64 1B 78 */ mr r4, r3 +/* 800B1260 000AE1C0 38 61 00 58 */ addi r3, r1, 0x58 +/* 800B1264 000AE1C4 4B FF 52 E9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 800B1268 000AE1C8 83 43 00 04 */ lwz r26, 4(r3) +/* 800B126C 000AE1CC 28 1A 00 00 */ cmplwi r26, 0 +/* 800B1270 000AE1D0 40 82 00 10 */ bne lbl_800B1280 +/* 800B1274 000AE1D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B1278 000AE1D8 B0 01 00 54 */ sth r0, 0x54(r1) +/* 800B127C 000AE1DC 48 00 09 30 */ b lbl_800B1BAC +lbl_800B1280: +/* 800B1280 000AE1E0 C0 5A 00 50 */ lfs f2, 0x50(r26) +/* 800B1284 000AE1E4 7F A4 EB 78 */ mr r4, r29 +/* 800B1288 000AE1E8 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 800B128C 000AE1EC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800B1290 000AE1F0 C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 800B1294 000AE1F4 C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 800B1298 000AE1F8 EC 82 00 28 */ fsubs f4, f2, f0 +/* 800B129C 000AE1FC C0 5A 00 40 */ lfs f2, 0x40(r26) +/* 800B12A0 000AE200 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800B12A4 000AE204 EC 63 08 28 */ fsubs f3, f3, f1 +/* 800B12A8 000AE208 C0 22 8C B8 */ lfs f1, lbl_805AA9D8@sda21(r2) +/* 800B12AC 000AE20C EC 02 00 28 */ fsubs f0, f2, f0 +/* 800B12B0 000AE210 D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 800B12B4 000AE214 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 800B12B8 000AE218 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 800B12BC 000AE21C 48 25 EC A9 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 800B12C0 000AE220 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B12C4 000AE224 41 82 00 D4 */ beq lbl_800B1398 +/* 800B12C8 000AE228 A0 01 00 54 */ lhz r0, 0x54(r1) +/* 800B12CC 000AE22C 7F 23 CB 78 */ mr r3, r25 +/* 800B12D0 000AE230 7F 44 D3 78 */ mr r4, r26 +/* 800B12D4 000AE234 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800B12D8 000AE238 B0 1F 02 58 */ sth r0, 0x258(r31) +/* 800B12DC 000AE23C 38 C0 00 02 */ li r6, 2 +/* 800B12E0 000AE240 A0 1F 00 08 */ lhz r0, 8(r31) +/* 800B12E4 000AE244 B0 01 00 30 */ sth r0, 0x30(r1) +/* 800B12E8 000AE248 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800B12EC 000AE24C 4B F9 2B E5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 800B12F0 000AE250 C0 5F 02 5C */ lfs f2, 0x25c(r31) +/* 800B12F4 000AE254 C0 22 8C AC */ lfs f1, lbl_805AA9CC@sda21(r2) +/* 800B12F8 000AE258 C8 02 8C C0 */ lfd f0, lbl_805AA9E0@sda21(r2) +/* 800B12FC 000AE25C EC 22 08 28 */ fsubs f1, f2, f1 +/* 800B1300 000AE260 FC 20 0A 10 */ fabs f1, f1 +/* 800B1304 000AE264 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800B1308 000AE268 40 80 00 3C */ bge lbl_800B1344 +/* 800B130C 000AE26C A0 1F 02 58 */ lhz r0, 0x258(r31) +/* 800B1310 000AE270 7F E4 FB 78 */ mr r4, r31 +/* 800B1314 000AE274 7F 26 CB 78 */ mr r6, r25 +/* 800B1318 000AE278 38 61 00 2C */ addi r3, r1, 0x2c +/* 800B131C 000AE27C B0 01 00 28 */ sth r0, 0x28(r1) +/* 800B1320 000AE280 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800B1324 000AE284 48 00 26 A9 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager +/* 800B1328 000AE288 A0 01 00 2C */ lhz r0, 0x2c(r1) +/* 800B132C 000AE28C 7F E3 FB 78 */ mr r3, r31 +/* 800B1330 000AE290 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) +/* 800B1334 000AE294 B0 01 00 54 */ sth r0, 0x54(r1) +/* 800B1338 000AE298 D0 1F 02 5C */ stfs f0, 0x25c(r31) +/* 800B133C 000AE29C 48 06 A0 3D */ bl Stop__13CPhysicsActorFv +/* 800B1340 000AE2A0 48 00 00 28 */ b lbl_800B1368 +lbl_800B1344: +/* 800B1344 000AE2A4 A0 1F 02 58 */ lhz r0, 0x258(r31) +/* 800B1348 000AE2A8 7F E4 FB 78 */ mr r4, r31 +/* 800B134C 000AE2AC 7F 26 CB 78 */ mr r6, r25 +/* 800B1350 000AE2B0 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B1354 000AE2B4 B0 01 00 20 */ sth r0, 0x20(r1) +/* 800B1358 000AE2B8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800B135C 000AE2BC 48 00 26 71 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager +/* 800B1360 000AE2C0 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 800B1364 000AE2C4 B0 01 00 54 */ sth r0, 0x54(r1) +lbl_800B1368: +/* 800B1368 000AE2C8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 800B136C 000AE2CC A0 01 00 54 */ lhz r0, 0x54(r1) +/* 800B1370 000AE2D0 7C 03 00 40 */ cmplw r3, r0 +/* 800B1374 000AE2D4 40 82 08 28 */ bne lbl_800B1B9C +/* 800B1378 000AE2D8 A0 1F 00 08 */ lhz r0, 8(r31) +/* 800B137C 000AE2DC 7F 23 CB 78 */ mr r3, r25 +/* 800B1380 000AE2E0 7F E4 FB 78 */ mr r4, r31 +/* 800B1384 000AE2E4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800B1388 000AE2E8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800B138C 000AE2EC 38 C0 00 0F */ li r6, 0xf +/* 800B1390 000AE2F0 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800B1394 000AE2F4 4B F9 2B 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_800B1398: +/* 800B1398 000AE2F8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800B139C 000AE2FC C0 22 8C B8 */ lfs f1, lbl_805AA9D8@sda21(r2) +/* 800B13A0 000AE300 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800B13A4 000AE304 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800B13A8 000AE308 48 25 EB BD */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 800B13AC 000AE30C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B13B0 000AE310 41 82 00 60 */ beq lbl_800B1410 +/* 800B13B4 000AE314 C0 5A 00 40 */ lfs f2, 0x40(r26) +/* 800B13B8 000AE318 FC 20 F8 90 */ fmr f1, f31 +/* 800B13BC 000AE31C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800B13C0 000AE320 7F E3 FB 78 */ mr r3, r31 +/* 800B13C4 000AE324 C0 BA 00 50 */ lfs f5, 0x50(r26) +/* 800B13C8 000AE328 38 81 00 94 */ addi r4, r1, 0x94 +/* 800B13CC 000AE32C C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 800B13D0 000AE330 EC 02 00 28 */ fsubs f0, f2, f0 +/* 800B13D4 000AE334 C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 800B13D8 000AE338 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 800B13DC 000AE33C EC 85 20 28 */ fsubs f4, f5, f4 +/* 800B13E0 000AE340 D0 1F 02 70 */ stfs f0, 0x270(r31) +/* 800B13E4 000AE344 EC 03 10 28 */ fsubs f0, f3, f2 +/* 800B13E8 000AE348 D0 9F 02 74 */ stfs f4, 0x274(r31) +/* 800B13EC 000AE34C D0 1F 02 78 */ stfs f0, 0x278(r31) +/* 800B13F0 000AE350 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 800B13F4 000AE354 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 800B13F8 000AE358 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800B13FC 000AE35C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800B1400 000AE360 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 800B1404 000AE364 D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 800B1408 000AE368 48 06 9D 01 */ bl MoveToWR__13CPhysicsActorFRC9CVector3ff +/* 800B140C 000AE36C 48 00 01 08 */ b lbl_800B1514 +lbl_800B1410: +/* 800B1410 000AE370 38 61 00 88 */ addi r3, r1, 0x88 +/* 800B1414 000AE374 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800B1418 000AE378 48 26 34 39 */ bl AsNormalized__9CVector3fCFv +/* 800B141C 000AE37C C0 7F 02 5C */ lfs f3, 0x25c(r31) +/* 800B1420 000AE380 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 800B1424 000AE384 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 800B1428 000AE388 EC 23 00 32 */ fmuls f1, f3, f0 +/* 800B142C 000AE38C C0 01 00 90 */ lfs f0, 0x90(r1) +/* 800B1430 000AE390 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800B1434 000AE394 C0 E1 00 A0 */ lfs f7, 0xa0(r1) +/* 800B1438 000AE398 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 800B143C 000AE39C EC 63 00 32 */ fmuls f3, f3, f0 +/* 800B1440 000AE3A0 EC BF 00 72 */ fmuls f5, f31, f1 +/* 800B1444 000AE3A4 C1 01 00 A8 */ lfs f8, 0xa8(r1) +/* 800B1448 000AE3A8 EC DF 00 B2 */ fmuls f6, f31, f2 +/* 800B144C 000AE3AC EC 27 01 F2 */ fmuls f1, f7, f7 +/* 800B1450 000AE3B0 EC 45 01 72 */ fmuls f2, f5, f5 +/* 800B1454 000AE3B4 EC 04 01 32 */ fmuls f0, f4, f4 +/* 800B1458 000AE3B8 EC 9F 00 F2 */ fmuls f4, f31, f3 +/* 800B145C 000AE3BC EC 66 11 BA */ fmadds f3, f6, f6, f2 +/* 800B1460 000AE3C0 EC 48 02 32 */ fmuls f2, f8, f8 +/* 800B1464 000AE3C4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800B1468 000AE3C8 EC 24 19 3A */ fmadds f1, f4, f4, f3 +/* 800B146C 000AE3CC EC 02 00 2A */ fadds f0, f2, f0 +/* 800B1470 000AE3D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800B1474 000AE3D4 40 81 00 60 */ ble lbl_800B14D4 +/* 800B1478 000AE3D8 C0 5A 00 40 */ lfs f2, 0x40(r26) +/* 800B147C 000AE3DC FC 20 F8 90 */ fmr f1, f31 +/* 800B1480 000AE3E0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800B1484 000AE3E4 7F E3 FB 78 */ mr r3, r31 +/* 800B1488 000AE3E8 C0 BA 00 50 */ lfs f5, 0x50(r26) +/* 800B148C 000AE3EC 38 81 00 7C */ addi r4, r1, 0x7c +/* 800B1490 000AE3F0 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 800B1494 000AE3F4 EC 02 00 28 */ fsubs f0, f2, f0 +/* 800B1498 000AE3F8 C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 800B149C 000AE3FC C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 800B14A0 000AE400 EC 85 20 28 */ fsubs f4, f5, f4 +/* 800B14A4 000AE404 D0 1F 02 70 */ stfs f0, 0x270(r31) +/* 800B14A8 000AE408 EC 03 10 28 */ fsubs f0, f3, f2 +/* 800B14AC 000AE40C D0 9F 02 74 */ stfs f4, 0x274(r31) +/* 800B14B0 000AE410 D0 1F 02 78 */ stfs f0, 0x278(r31) +/* 800B14B4 000AE414 C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 800B14B8 000AE418 C0 5A 00 50 */ lfs f2, 0x50(r26) +/* 800B14BC 000AE41C C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 800B14C0 000AE420 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 800B14C4 000AE424 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 800B14C8 000AE428 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 800B14CC 000AE42C 48 06 9C 3D */ bl MoveToWR__13CPhysicsActorFRC9CVector3ff +/* 800B14D0 000AE430 48 00 00 44 */ b lbl_800B1514 +lbl_800B14D4: +/* 800B14D4 000AE434 D0 DF 02 70 */ stfs f6, 0x270(r31) +/* 800B14D8 000AE438 FC 20 F8 90 */ fmr f1, f31 +/* 800B14DC 000AE43C 7F E3 FB 78 */ mr r3, r31 +/* 800B14E0 000AE440 38 81 00 70 */ addi r4, r1, 0x70 +/* 800B14E4 000AE444 D0 BF 02 74 */ stfs f5, 0x274(r31) +/* 800B14E8 000AE448 D0 9F 02 78 */ stfs f4, 0x278(r31) +/* 800B14EC 000AE44C C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 800B14F0 000AE450 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 800B14F4 000AE454 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800B14F8 000AE458 EC 63 28 2A */ fadds f3, f3, f5 +/* 800B14FC 000AE45C EC 42 20 2A */ fadds f2, f2, f4 +/* 800B1500 000AE460 EC 00 30 2A */ fadds f0, f0, f6 +/* 800B1504 000AE464 D0 61 00 74 */ stfs f3, 0x74(r1) +/* 800B1508 000AE468 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800B150C 000AE46C D0 41 00 78 */ stfs f2, 0x78(r1) +/* 800B1510 000AE470 48 06 9B F9 */ bl MoveToWR__13CPhysicsActorFRC9CVector3ff +lbl_800B1514: +/* 800B1514 000AE474 38 00 00 00 */ li r0, 0 +/* 800B1518 000AE478 FC 20 F8 90 */ fmr f1, f31 +/* 800B151C 000AE47C 90 01 09 78 */ stw r0, 0x978(r1) +/* 800B1520 000AE480 7F E4 FB 78 */ mr r4, r31 +/* 800B1524 000AE484 38 61 00 AC */ addi r3, r1, 0xac +/* 800B1528 000AE488 48 06 91 8D */ bl GetMotionVolume__13CPhysicsActorCFf +/* 800B152C 000AE48C C0 A1 00 AC */ lfs f5, 0xac(r1) +/* 800B1530 000AE490 7F 23 CB 78 */ mr r3, r25 +/* 800B1534 000AE494 C0 81 00 B0 */ lfs f4, 0xb0(r1) +/* 800B1538 000AE498 7F E5 FB 78 */ mr r5, r31 +/* 800B153C 000AE49C C0 61 00 B4 */ lfs f3, 0xb4(r1) +/* 800B1540 000AE4A0 38 81 09 78 */ addi r4, r1, 0x978 +/* 800B1544 000AE4A4 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 800B1548 000AE4A8 38 C1 00 C4 */ addi r6, r1, 0xc4 +/* 800B154C 000AE4AC C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 800B1550 000AE4B0 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 800B1554 000AE4B4 D0 A1 00 C4 */ stfs f5, 0xc4(r1) +/* 800B1558 000AE4B8 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 800B155C 000AE4BC D0 61 00 CC */ stfs f3, 0xcc(r1) +/* 800B1560 000AE4C0 D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 800B1564 000AE4C4 D0 21 00 D4 */ stfs f1, 0xd4(r1) +/* 800B1568 000AE4C8 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 800B156C 000AE4CC 4B F9 B1 91 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" +/* 800B1570 000AE4D0 38 00 00 00 */ li r0, 0 +/* 800B1574 000AE4D4 7F 9A E3 78 */ mr r26, r28 +/* 800B1578 000AE4D8 90 01 01 74 */ stw r0, 0x174(r1) +/* 800B157C 000AE4DC 48 00 00 64 */ b lbl_800B15E0 +lbl_800B1580: +/* 800B1580 000AE4E0 A0 1A 00 00 */ lhz r0, 0(r26) +/* 800B1584 000AE4E4 7F E3 FB 78 */ mr r3, r31 +/* 800B1588 000AE4E8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800B158C 000AE4EC B0 01 00 14 */ sth r0, 0x14(r1) +/* 800B1590 000AE4F0 48 00 07 C1 */ bl IsRider__15CScriptPlatformCF9TUniqueId +/* 800B1594 000AE4F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B1598 000AE4F8 40 82 00 44 */ bne lbl_800B15DC +/* 800B159C 000AE4FC A0 1A 00 00 */ lhz r0, 0(r26) +/* 800B15A0 000AE500 7F E3 FB 78 */ mr r3, r31 +/* 800B15A4 000AE504 38 81 00 10 */ addi r4, r1, 0x10 +/* 800B15A8 000AE508 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B15AC 000AE50C 48 00 06 4D */ bl IsSlave__15CScriptPlatformCF9TUniqueId +/* 800B15B0 000AE510 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B15B4 000AE514 40 82 00 28 */ bne lbl_800B15DC +/* 800B15B8 000AE518 80 01 01 74 */ lwz r0, 0x174(r1) +/* 800B15BC 000AE51C 54 00 08 3C */ slwi r0, r0, 1 +/* 800B15C0 000AE520 7C 7B 02 15 */ add. r3, r27, r0 +/* 800B15C4 000AE524 41 82 00 0C */ beq lbl_800B15D0 +/* 800B15C8 000AE528 A0 1A 00 00 */ lhz r0, 0(r26) +/* 800B15CC 000AE52C B0 03 00 00 */ sth r0, 0(r3) +lbl_800B15D0: +/* 800B15D0 000AE530 80 61 01 74 */ lwz r3, 0x174(r1) +/* 800B15D4 000AE534 38 03 00 01 */ addi r0, r3, 1 +/* 800B15D8 000AE538 90 01 01 74 */ stw r0, 0x174(r1) +lbl_800B15DC: +/* 800B15DC 000AE53C 3B 5A 00 02 */ addi r26, r26, 2 +lbl_800B15E0: +/* 800B15E0 000AE540 80 01 09 78 */ lwz r0, 0x978(r1) +/* 800B15E4 000AE544 54 00 08 3C */ slwi r0, r0, 1 +/* 800B15E8 000AE548 7C 1C 02 14 */ add r0, r28, r0 +/* 800B15EC 000AE54C 7C 1A 00 40 */ cmplw r26, r0 +/* 800B15F0 000AE550 40 82 FF 90 */ bne lbl_800B1580 +/* 800B15F4 000AE554 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B15F8 000AE558 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800B15FC 000AE55C 41 82 04 1C */ beq lbl_800B1A18 +/* 800B1600 000AE560 FC 20 F8 90 */ fmr f1, f31 +/* 800B1604 000AE564 7F E4 FB 78 */ mr r4, r31 +/* 800B1608 000AE568 38 61 01 0C */ addi r3, r1, 0x10c +/* 800B160C 000AE56C 48 06 A6 A5 */ bl PredictMotion__13CPhysicsActorCFf +/* 800B1610 000AE570 C1 81 01 0C */ lfs f12, 0x10c(r1) +/* 800B1614 000AE574 7F E3 FB 78 */ mr r3, r31 +/* 800B1618 000AE578 C1 61 01 10 */ lfs f11, 0x110(r1) +/* 800B161C 000AE57C 38 81 01 40 */ addi r4, r1, 0x140 +/* 800B1620 000AE580 C1 41 01 14 */ lfs f10, 0x114(r1) +/* 800B1624 000AE584 C1 21 01 18 */ lfs f9, 0x118(r1) +/* 800B1628 000AE588 C1 01 01 1C */ lfs f8, 0x11c(r1) +/* 800B162C 000AE58C C0 E1 01 20 */ lfs f7, 0x120(r1) +/* 800B1630 000AE590 C0 C1 01 24 */ lfs f6, 0x124(r1) +/* 800B1634 000AE594 C0 A1 01 28 */ lfs f5, 0x128(r1) +/* 800B1638 000AE598 C0 81 01 2C */ lfs f4, 0x12c(r1) +/* 800B163C 000AE59C C0 61 01 30 */ lfs f3, 0x130(r1) +/* 800B1640 000AE5A0 C0 41 01 34 */ lfs f2, 0x134(r1) +/* 800B1644 000AE5A4 C0 21 01 38 */ lfs f1, 0x138(r1) +/* 800B1648 000AE5A8 C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 800B164C 000AE5AC D1 81 01 40 */ stfs f12, 0x140(r1) +/* 800B1650 000AE5B0 D1 61 01 44 */ stfs f11, 0x144(r1) +/* 800B1654 000AE5B4 D1 41 01 48 */ stfs f10, 0x148(r1) +/* 800B1658 000AE5B8 D1 21 01 4C */ stfs f9, 0x14c(r1) +/* 800B165C 000AE5BC D1 01 01 50 */ stfs f8, 0x150(r1) +/* 800B1660 000AE5C0 D0 E1 01 54 */ stfs f7, 0x154(r1) +/* 800B1664 000AE5C4 D0 C1 01 58 */ stfs f6, 0x158(r1) +/* 800B1668 000AE5C8 D0 A1 01 5C */ stfs f5, 0x15c(r1) +/* 800B166C 000AE5CC D0 81 01 60 */ stfs f4, 0x160(r1) +/* 800B1670 000AE5D0 D0 61 01 64 */ stfs f3, 0x164(r1) +/* 800B1674 000AE5D4 D0 41 01 68 */ stfs f2, 0x168(r1) +/* 800B1678 000AE5D8 D0 21 01 6C */ stfs f1, 0x16c(r1) +/* 800B167C 000AE5DC D0 01 01 70 */ stfs f0, 0x170(r1) +/* 800B1680 000AE5E0 48 06 93 B9 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +/* 800B1684 000AE5E4 7F E4 FB 78 */ mr r4, r31 +/* 800B1688 000AE5E8 38 61 00 DC */ addi r3, r1, 0xdc +/* 800B168C 000AE5EC 81 9F 00 00 */ lwz r12, 0(r31) +/* 800B1690 000AE5F0 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 800B1694 000AE5F4 7D 89 03 A6 */ mtctr r12 +/* 800B1698 000AE5F8 4E 80 04 21 */ bctrl +/* 800B169C 000AE5FC 7F E3 FB 78 */ mr r3, r31 +/* 800B16A0 000AE600 81 9F 00 00 */ lwz r12, 0(r31) +/* 800B16A4 000AE604 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 800B16A8 000AE608 7D 89 03 A6 */ mtctr r12 +/* 800B16AC 000AE60C 4E 80 04 21 */ bctrl +/* 800B16B0 000AE610 7F 26 CB 78 */ mr r6, r25 +/* 800B16B4 000AE614 38 81 00 DC */ addi r4, r1, 0xdc +/* 800B16B8 000AE618 38 A1 01 74 */ addi r5, r1, 0x174 +/* 800B16BC 000AE61C 48 0D 29 11 */ bl "DetectDynamicCollisionBoolean__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager" +/* 800B16C0 000AE620 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800B16C4 000AE624 7C 7A 1B 78 */ mr r26, r3 +/* 800B16C8 000AE628 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800B16CC 000AE62C 7F E3 FB 78 */ mr r3, r31 +/* 800B16D0 000AE630 48 06 93 69 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +/* 800B16D4 000AE634 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 800B16D8 000AE638 40 82 00 10 */ bne lbl_800B16E8 +/* 800B16DC 000AE63C 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B16E0 000AE640 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800B16E4 000AE644 41 82 02 80 */ beq lbl_800B1964 +lbl_800B16E8: +/* 800B16E8 000AE648 88 7F 03 56 */ lbz r3, 0x356(r31) +/* 800B16EC 000AE64C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 800B16F0 000AE650 41 82 01 CC */ beq lbl_800B18BC +/* 800B16F4 000AE654 C0 3F 02 64 */ lfs f1, 0x264(r31) +/* 800B16F8 000AE658 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) +/* 800B16FC 000AE65C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800B1700 000AE660 4C 40 13 82 */ cror 2, 0, 2 +/* 800B1704 000AE664 40 82 00 BC */ bne lbl_800B17C0 +/* 800B1708 000AE668 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 800B170C 000AE66C 40 82 00 B4 */ bne lbl_800B17C0 +/* 800B1710 000AE670 C0 02 8C C8 */ lfs f0, lbl_805AA9E8@sda21(r2) +/* 800B1714 000AE674 38 60 00 00 */ li r3, 0 +/* 800B1718 000AE678 D0 1F 02 64 */ stfs f0, 0x264(r31) +/* 800B171C 000AE67C 80 A1 01 74 */ lwz r5, 0x174(r1) +/* 800B1720 000AE680 2C 05 00 00 */ cmpwi r5, 0 +/* 800B1724 000AE684 40 81 00 40 */ ble lbl_800B1764 +/* 800B1728 000AE688 2C 05 00 08 */ cmpwi r5, 8 +/* 800B172C 000AE68C 38 85 FF F8 */ addi r4, r5, -8 +/* 800B1730 000AE690 40 81 00 20 */ ble lbl_800B1750 +/* 800B1734 000AE694 38 04 00 07 */ addi r0, r4, 7 +/* 800B1738 000AE698 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B173C 000AE69C 7C 09 03 A6 */ mtctr r0 +/* 800B1740 000AE6A0 2C 04 00 00 */ cmpwi r4, 0 +/* 800B1744 000AE6A4 40 81 00 0C */ ble lbl_800B1750 +lbl_800B1748: +/* 800B1748 000AE6A8 38 63 00 08 */ addi r3, r3, 8 +/* 800B174C 000AE6AC 42 00 FF FC */ bdnz lbl_800B1748 +lbl_800B1750: +/* 800B1750 000AE6B0 7C 03 28 50 */ subf r0, r3, r5 +/* 800B1754 000AE6B4 7C 09 03 A6 */ mtctr r0 +/* 800B1758 000AE6B8 7C 03 28 00 */ cmpw r3, r5 +/* 800B175C 000AE6BC 40 80 00 08 */ bge lbl_800B1764 +lbl_800B1760: +/* 800B1760 000AE6C0 42 00 00 00 */ bdnz lbl_800B1760 +lbl_800B1764: +/* 800B1764 000AE6C4 80 A1 09 78 */ lwz r5, 0x978(r1) +/* 800B1768 000AE6C8 38 60 00 00 */ li r3, 0 +/* 800B176C 000AE6CC 90 61 01 74 */ stw r3, 0x174(r1) +/* 800B1770 000AE6D0 2C 05 00 00 */ cmpwi r5, 0 +/* 800B1774 000AE6D4 40 81 00 40 */ ble lbl_800B17B4 +/* 800B1778 000AE6D8 2C 05 00 08 */ cmpwi r5, 8 +/* 800B177C 000AE6DC 38 85 FF F8 */ addi r4, r5, -8 +/* 800B1780 000AE6E0 40 81 00 20 */ ble lbl_800B17A0 +/* 800B1784 000AE6E4 38 04 00 07 */ addi r0, r4, 7 +/* 800B1788 000AE6E8 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B178C 000AE6EC 7C 09 03 A6 */ mtctr r0 +/* 800B1790 000AE6F0 2C 04 00 00 */ cmpwi r4, 0 +/* 800B1794 000AE6F4 40 81 00 0C */ ble lbl_800B17A0 +lbl_800B1798: +/* 800B1798 000AE6F8 38 63 00 08 */ addi r3, r3, 8 +/* 800B179C 000AE6FC 42 00 FF FC */ bdnz lbl_800B1798 +lbl_800B17A0: +/* 800B17A0 000AE700 7C 03 28 50 */ subf r0, r3, r5 +/* 800B17A4 000AE704 7C 09 03 A6 */ mtctr r0 +/* 800B17A8 000AE708 7C 03 28 00 */ cmpw r3, r5 +/* 800B17AC 000AE70C 40 80 00 08 */ bge lbl_800B17B4 +lbl_800B17B0: +/* 800B17B0 000AE710 42 00 00 00 */ bdnz lbl_800B17B0 +lbl_800B17B4: +/* 800B17B4 000AE714 38 00 00 00 */ li r0, 0 +/* 800B17B8 000AE718 90 01 09 78 */ stw r0, 0x978(r1) +/* 800B17BC 000AE71C 48 00 03 F0 */ b lbl_800B1BAC +lbl_800B17C0: +/* 800B17C0 000AE720 88 7F 03 56 */ lbz r3, 0x356(r31) +/* 800B17C4 000AE724 38 00 00 00 */ li r0, 0 +/* 800B17C8 000AE728 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 800B17CC 000AE72C A0 01 00 54 */ lhz r0, 0x54(r1) +/* 800B17D0 000AE730 98 7F 03 56 */ stb r3, 0x356(r31) +/* 800B17D4 000AE734 7F E4 FB 78 */ mr r4, r31 +/* 800B17D8 000AE738 A3 41 00 54 */ lhz r26, 0x54(r1) +/* 800B17DC 000AE73C 7F 26 CB 78 */ mr r6, r25 +/* 800B17E0 000AE740 B0 01 00 08 */ sth r0, 8(r1) +/* 800B17E4 000AE744 38 61 00 0C */ addi r3, r1, 0xc +/* 800B17E8 000AE748 38 A1 00 08 */ addi r5, r1, 8 +/* 800B17EC 000AE74C 48 00 21 E1 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager +/* 800B17F0 000AE750 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 800B17F4 000AE754 A0 7F 02 5A */ lhz r3, 0x25a(r31) +/* 800B17F8 000AE758 B0 01 00 54 */ sth r0, 0x54(r1) +/* 800B17FC 000AE75C 7C 00 18 40 */ cmplw r0, r3 +/* 800B1800 000AE760 41 82 00 0C */ beq lbl_800B180C +/* 800B1804 000AE764 7C 1A 18 40 */ cmplw r26, r3 +/* 800B1808 000AE768 40 82 02 E8 */ bne lbl_800B1AF0 +lbl_800B180C: +/* 800B180C 000AE76C C0 02 8C C8 */ lfs f0, lbl_805AA9E8@sda21(r2) +/* 800B1810 000AE770 38 60 00 00 */ li r3, 0 +/* 800B1814 000AE774 D0 1F 02 60 */ stfs f0, 0x260(r31) +/* 800B1818 000AE778 80 A1 01 74 */ lwz r5, 0x174(r1) +/* 800B181C 000AE77C 2C 05 00 00 */ cmpwi r5, 0 +/* 800B1820 000AE780 40 81 00 40 */ ble lbl_800B1860 +/* 800B1824 000AE784 2C 05 00 08 */ cmpwi r5, 8 +/* 800B1828 000AE788 38 85 FF F8 */ addi r4, r5, -8 +/* 800B182C 000AE78C 40 81 00 20 */ ble lbl_800B184C +/* 800B1830 000AE790 38 04 00 07 */ addi r0, r4, 7 +/* 800B1834 000AE794 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B1838 000AE798 7C 09 03 A6 */ mtctr r0 +/* 800B183C 000AE79C 2C 04 00 00 */ cmpwi r4, 0 +/* 800B1840 000AE7A0 40 81 00 0C */ ble lbl_800B184C +lbl_800B1844: +/* 800B1844 000AE7A4 38 63 00 08 */ addi r3, r3, 8 +/* 800B1848 000AE7A8 42 00 FF FC */ bdnz lbl_800B1844 +lbl_800B184C: +/* 800B184C 000AE7AC 7C 03 28 50 */ subf r0, r3, r5 +/* 800B1850 000AE7B0 7C 09 03 A6 */ mtctr r0 +/* 800B1854 000AE7B4 7C 03 28 00 */ cmpw r3, r5 +/* 800B1858 000AE7B8 40 80 00 08 */ bge lbl_800B1860 +lbl_800B185C: +/* 800B185C 000AE7BC 42 00 00 00 */ bdnz lbl_800B185C +lbl_800B1860: +/* 800B1860 000AE7C0 80 A1 09 78 */ lwz r5, 0x978(r1) +/* 800B1864 000AE7C4 38 60 00 00 */ li r3, 0 +/* 800B1868 000AE7C8 90 61 01 74 */ stw r3, 0x174(r1) +/* 800B186C 000AE7CC 2C 05 00 00 */ cmpwi r5, 0 +/* 800B1870 000AE7D0 40 81 00 40 */ ble lbl_800B18B0 +/* 800B1874 000AE7D4 2C 05 00 08 */ cmpwi r5, 8 +/* 800B1878 000AE7D8 38 85 FF F8 */ addi r4, r5, -8 +/* 800B187C 000AE7DC 40 81 00 20 */ ble lbl_800B189C +/* 800B1880 000AE7E0 38 04 00 07 */ addi r0, r4, 7 +/* 800B1884 000AE7E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B1888 000AE7E8 7C 09 03 A6 */ mtctr r0 +/* 800B188C 000AE7EC 2C 04 00 00 */ cmpwi r4, 0 +/* 800B1890 000AE7F0 40 81 00 0C */ ble lbl_800B189C +lbl_800B1894: +/* 800B1894 000AE7F4 38 63 00 08 */ addi r3, r3, 8 +/* 800B1898 000AE7F8 42 00 FF FC */ bdnz lbl_800B1894 +lbl_800B189C: +/* 800B189C 000AE7FC 7C 03 28 50 */ subf r0, r3, r5 +/* 800B18A0 000AE800 7C 09 03 A6 */ mtctr r0 +/* 800B18A4 000AE804 7C 03 28 00 */ cmpw r3, r5 +/* 800B18A8 000AE808 40 80 00 08 */ bge lbl_800B18B0 +lbl_800B18AC: +/* 800B18AC 000AE80C 42 00 00 00 */ bdnz lbl_800B18AC +lbl_800B18B0: +/* 800B18B0 000AE810 38 00 00 00 */ li r0, 0 +/* 800B18B4 000AE814 90 01 09 78 */ stw r0, 0x978(r1) +/* 800B18B8 000AE818 48 00 02 F4 */ b lbl_800B1BAC +lbl_800B18BC: +/* 800B18BC 000AE81C 80 A1 01 74 */ lwz r5, 0x174(r1) +/* 800B18C0 000AE820 38 60 00 00 */ li r3, 0 +/* 800B18C4 000AE824 2C 05 00 00 */ cmpwi r5, 0 +/* 800B18C8 000AE828 40 81 00 40 */ ble lbl_800B1908 +/* 800B18CC 000AE82C 2C 05 00 08 */ cmpwi r5, 8 +/* 800B18D0 000AE830 38 85 FF F8 */ addi r4, r5, -8 +/* 800B18D4 000AE834 40 81 00 20 */ ble lbl_800B18F4 +/* 800B18D8 000AE838 38 04 00 07 */ addi r0, r4, 7 +/* 800B18DC 000AE83C 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B18E0 000AE840 7C 09 03 A6 */ mtctr r0 +/* 800B18E4 000AE844 2C 04 00 00 */ cmpwi r4, 0 +/* 800B18E8 000AE848 40 81 00 0C */ ble lbl_800B18F4 +lbl_800B18EC: +/* 800B18EC 000AE84C 38 63 00 08 */ addi r3, r3, 8 +/* 800B18F0 000AE850 42 00 FF FC */ bdnz lbl_800B18EC +lbl_800B18F4: +/* 800B18F4 000AE854 7C 03 28 50 */ subf r0, r3, r5 +/* 800B18F8 000AE858 7C 09 03 A6 */ mtctr r0 +/* 800B18FC 000AE85C 7C 03 28 00 */ cmpw r3, r5 +/* 800B1900 000AE860 40 80 00 08 */ bge lbl_800B1908 +lbl_800B1904: +/* 800B1904 000AE864 42 00 00 00 */ bdnz lbl_800B1904 +lbl_800B1908: +/* 800B1908 000AE868 80 A1 09 78 */ lwz r5, 0x978(r1) +/* 800B190C 000AE86C 38 60 00 00 */ li r3, 0 +/* 800B1910 000AE870 90 61 01 74 */ stw r3, 0x174(r1) +/* 800B1914 000AE874 2C 05 00 00 */ cmpwi r5, 0 +/* 800B1918 000AE878 40 81 00 40 */ ble lbl_800B1958 +/* 800B191C 000AE87C 2C 05 00 08 */ cmpwi r5, 8 +/* 800B1920 000AE880 38 85 FF F8 */ addi r4, r5, -8 +/* 800B1924 000AE884 40 81 00 20 */ ble lbl_800B1944 +/* 800B1928 000AE888 38 04 00 07 */ addi r0, r4, 7 +/* 800B192C 000AE88C 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B1930 000AE890 7C 09 03 A6 */ mtctr r0 +/* 800B1934 000AE894 2C 04 00 00 */ cmpwi r4, 0 +/* 800B1938 000AE898 40 81 00 0C */ ble lbl_800B1944 +lbl_800B193C: +/* 800B193C 000AE89C 38 63 00 08 */ addi r3, r3, 8 +/* 800B1940 000AE8A0 42 00 FF FC */ bdnz lbl_800B193C +lbl_800B1944: +/* 800B1944 000AE8A4 7C 03 28 50 */ subf r0, r3, r5 +/* 800B1948 000AE8A8 7C 09 03 A6 */ mtctr r0 +/* 800B194C 000AE8AC 7C 03 28 00 */ cmpw r3, r5 +/* 800B1950 000AE8B0 40 80 00 08 */ bge lbl_800B1958 +lbl_800B1954: +/* 800B1954 000AE8B4 42 00 00 00 */ bdnz lbl_800B1954 +lbl_800B1958: +/* 800B1958 000AE8B8 38 00 00 00 */ li r0, 0 +/* 800B195C 000AE8BC 90 01 09 78 */ stw r0, 0x978(r1) +/* 800B1960 000AE8C0 48 00 02 4C */ b lbl_800B1BAC +lbl_800B1964: +/* 800B1964 000AE8C4 7F E3 FB 78 */ mr r3, r31 +/* 800B1968 000AE8C8 38 81 01 40 */ addi r4, r1, 0x140 +/* 800B196C 000AE8CC 48 06 9B A9 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState +/* 800B1970 000AE8D0 80 A1 01 74 */ lwz r5, 0x174(r1) +/* 800B1974 000AE8D4 38 60 00 00 */ li r3, 0 +/* 800B1978 000AE8D8 2C 05 00 00 */ cmpwi r5, 0 +/* 800B197C 000AE8DC 40 81 00 40 */ ble lbl_800B19BC +/* 800B1980 000AE8E0 2C 05 00 08 */ cmpwi r5, 8 +/* 800B1984 000AE8E4 38 85 FF F8 */ addi r4, r5, -8 +/* 800B1988 000AE8E8 40 81 00 20 */ ble lbl_800B19A8 +/* 800B198C 000AE8EC 38 04 00 07 */ addi r0, r4, 7 +/* 800B1990 000AE8F0 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B1994 000AE8F4 7C 09 03 A6 */ mtctr r0 +/* 800B1998 000AE8F8 2C 04 00 00 */ cmpwi r4, 0 +/* 800B199C 000AE8FC 40 81 00 0C */ ble lbl_800B19A8 +lbl_800B19A0: +/* 800B19A0 000AE900 38 63 00 08 */ addi r3, r3, 8 +/* 800B19A4 000AE904 42 00 FF FC */ bdnz lbl_800B19A0 +lbl_800B19A8: +/* 800B19A8 000AE908 7C 03 28 50 */ subf r0, r3, r5 +/* 800B19AC 000AE90C 7C 09 03 A6 */ mtctr r0 +/* 800B19B0 000AE910 7C 03 28 00 */ cmpw r3, r5 +/* 800B19B4 000AE914 40 80 00 08 */ bge lbl_800B19BC +lbl_800B19B8: +/* 800B19B8 000AE918 42 00 00 00 */ bdnz lbl_800B19B8 +lbl_800B19BC: +/* 800B19BC 000AE91C 80 A1 09 78 */ lwz r5, 0x978(r1) +/* 800B19C0 000AE920 38 60 00 00 */ li r3, 0 +/* 800B19C4 000AE924 90 61 01 74 */ stw r3, 0x174(r1) +/* 800B19C8 000AE928 2C 05 00 00 */ cmpwi r5, 0 +/* 800B19CC 000AE92C 40 81 00 40 */ ble lbl_800B1A0C +/* 800B19D0 000AE930 2C 05 00 08 */ cmpwi r5, 8 +/* 800B19D4 000AE934 38 85 FF F8 */ addi r4, r5, -8 +/* 800B19D8 000AE938 40 81 00 20 */ ble lbl_800B19F8 +/* 800B19DC 000AE93C 38 04 00 07 */ addi r0, r4, 7 +/* 800B19E0 000AE940 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B19E4 000AE944 7C 09 03 A6 */ mtctr r0 +/* 800B19E8 000AE948 2C 04 00 00 */ cmpwi r4, 0 +/* 800B19EC 000AE94C 40 81 00 0C */ ble lbl_800B19F8 +lbl_800B19F0: +/* 800B19F0 000AE950 38 63 00 08 */ addi r3, r3, 8 +/* 800B19F4 000AE954 42 00 FF FC */ bdnz lbl_800B19F0 +lbl_800B19F8: +/* 800B19F8 000AE958 7C 03 28 50 */ subf r0, r3, r5 +/* 800B19FC 000AE95C 7C 09 03 A6 */ mtctr r0 +/* 800B1A00 000AE960 7C 03 28 00 */ cmpw r3, r5 +/* 800B1A04 000AE964 40 80 00 08 */ bge lbl_800B1A0C +lbl_800B1A08: +/* 800B1A08 000AE968 42 00 00 00 */ bdnz lbl_800B1A08 +lbl_800B1A0C: +/* 800B1A0C 000AE96C 38 00 00 00 */ li r0, 0 +/* 800B1A10 000AE970 90 01 09 78 */ stw r0, 0x978(r1) +/* 800B1A14 000AE974 48 00 01 98 */ b lbl_800B1BAC +lbl_800B1A18: +/* 800B1A18 000AE978 88 1F 00 F8 */ lbz r0, 0xf8(r31) +/* 800B1A1C 000AE97C 38 60 00 01 */ li r3, 1 +/* 800B1A20 000AE980 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800B1A24 000AE984 FC 20 F8 90 */ fmr f1, f31 +/* 800B1A28 000AE988 98 1F 00 F8 */ stb r0, 0xf8(r31) +/* 800B1A2C 000AE98C 7F 23 CB 78 */ mr r3, r25 +/* 800B1A30 000AE990 7F E4 FB 78 */ mr r4, r31 +/* 800B1A34 000AE994 38 A1 01 74 */ addi r5, r1, 0x174 +/* 800B1A38 000AE998 48 0D 03 01 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 800B1A3C 000AE99C 38 60 00 00 */ li r3, 0 +/* 800B1A40 000AE9A0 88 1F 00 F8 */ lbz r0, 0xf8(r31) +/* 800B1A44 000AE9A4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800B1A48 000AE9A8 98 1F 00 F8 */ stb r0, 0xf8(r31) +/* 800B1A4C 000AE9AC 80 A1 01 74 */ lwz r5, 0x174(r1) +/* 800B1A50 000AE9B0 2C 05 00 00 */ cmpwi r5, 0 +/* 800B1A54 000AE9B4 40 81 00 40 */ ble lbl_800B1A94 +/* 800B1A58 000AE9B8 2C 05 00 08 */ cmpwi r5, 8 +/* 800B1A5C 000AE9BC 38 85 FF F8 */ addi r4, r5, -8 +/* 800B1A60 000AE9C0 40 81 00 20 */ ble lbl_800B1A80 +/* 800B1A64 000AE9C4 38 04 00 07 */ addi r0, r4, 7 +/* 800B1A68 000AE9C8 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B1A6C 000AE9CC 7C 09 03 A6 */ mtctr r0 +/* 800B1A70 000AE9D0 2C 04 00 00 */ cmpwi r4, 0 +/* 800B1A74 000AE9D4 40 81 00 0C */ ble lbl_800B1A80 +lbl_800B1A78: +/* 800B1A78 000AE9D8 38 63 00 08 */ addi r3, r3, 8 +/* 800B1A7C 000AE9DC 42 00 FF FC */ bdnz lbl_800B1A78 +lbl_800B1A80: +/* 800B1A80 000AE9E0 7C 03 28 50 */ subf r0, r3, r5 +/* 800B1A84 000AE9E4 7C 09 03 A6 */ mtctr r0 +/* 800B1A88 000AE9E8 7C 03 28 00 */ cmpw r3, r5 +/* 800B1A8C 000AE9EC 40 80 00 08 */ bge lbl_800B1A94 +lbl_800B1A90: +/* 800B1A90 000AE9F0 42 00 00 00 */ bdnz lbl_800B1A90 +lbl_800B1A94: +/* 800B1A94 000AE9F4 80 A1 09 78 */ lwz r5, 0x978(r1) +/* 800B1A98 000AE9F8 38 60 00 00 */ li r3, 0 +/* 800B1A9C 000AE9FC 90 61 01 74 */ stw r3, 0x174(r1) +/* 800B1AA0 000AEA00 2C 05 00 00 */ cmpwi r5, 0 +/* 800B1AA4 000AEA04 40 81 00 40 */ ble lbl_800B1AE4 +/* 800B1AA8 000AEA08 2C 05 00 08 */ cmpwi r5, 8 +/* 800B1AAC 000AEA0C 38 85 FF F8 */ addi r4, r5, -8 +/* 800B1AB0 000AEA10 40 81 00 20 */ ble lbl_800B1AD0 +/* 800B1AB4 000AEA14 38 04 00 07 */ addi r0, r4, 7 +/* 800B1AB8 000AEA18 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B1ABC 000AEA1C 7C 09 03 A6 */ mtctr r0 +/* 800B1AC0 000AEA20 2C 04 00 00 */ cmpwi r4, 0 +/* 800B1AC4 000AEA24 40 81 00 0C */ ble lbl_800B1AD0 +lbl_800B1AC8: +/* 800B1AC8 000AEA28 38 63 00 08 */ addi r3, r3, 8 +/* 800B1ACC 000AEA2C 42 00 FF FC */ bdnz lbl_800B1AC8 +lbl_800B1AD0: +/* 800B1AD0 000AEA30 7C 03 28 50 */ subf r0, r3, r5 +/* 800B1AD4 000AEA34 7C 09 03 A6 */ mtctr r0 +/* 800B1AD8 000AEA38 7C 03 28 00 */ cmpw r3, r5 +/* 800B1ADC 000AEA3C 40 80 00 08 */ bge lbl_800B1AE4 +lbl_800B1AE0: +/* 800B1AE0 000AEA40 42 00 00 00 */ bdnz lbl_800B1AE0 +lbl_800B1AE4: +/* 800B1AE4 000AEA44 38 00 00 00 */ li r0, 0 +/* 800B1AE8 000AEA48 90 01 09 78 */ stw r0, 0x978(r1) +/* 800B1AEC 000AEA4C 48 00 00 C0 */ b lbl_800B1BAC +lbl_800B1AF0: +/* 800B1AF0 000AEA50 80 A1 01 74 */ lwz r5, 0x174(r1) +/* 800B1AF4 000AEA54 38 60 00 00 */ li r3, 0 +/* 800B1AF8 000AEA58 2C 05 00 00 */ cmpwi r5, 0 +/* 800B1AFC 000AEA5C 40 81 00 44 */ ble lbl_800B1B40 +/* 800B1B00 000AEA60 2C 05 00 08 */ cmpwi r5, 8 +/* 800B1B04 000AEA64 38 85 FF F8 */ addi r4, r5, -8 +/* 800B1B08 000AEA68 40 81 00 20 */ ble lbl_800B1B28 +/* 800B1B0C 000AEA6C 38 04 00 07 */ addi r0, r4, 7 +/* 800B1B10 000AEA70 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B1B14 000AEA74 7C 09 03 A6 */ mtctr r0 +/* 800B1B18 000AEA78 2C 04 00 00 */ cmpwi r4, 0 +/* 800B1B1C 000AEA7C 40 81 00 0C */ ble lbl_800B1B28 +lbl_800B1B20: +/* 800B1B20 000AEA80 38 63 00 08 */ addi r3, r3, 8 +/* 800B1B24 000AEA84 42 00 FF FC */ bdnz lbl_800B1B20 +lbl_800B1B28: +/* 800B1B28 000AEA88 7C 03 28 50 */ subf r0, r3, r5 +/* 800B1B2C 000AEA8C 7C 09 03 A6 */ mtctr r0 +/* 800B1B30 000AEA90 7C 03 28 00 */ cmpw r3, r5 +/* 800B1B34 000AEA94 40 80 00 0C */ bge lbl_800B1B40 +lbl_800B1B38: +/* 800B1B38 000AEA98 38 63 00 01 */ addi r3, r3, 1 +/* 800B1B3C 000AEA9C 42 00 FF FC */ bdnz lbl_800B1B38 +lbl_800B1B40: +/* 800B1B40 000AEAA0 80 A1 09 78 */ lwz r5, 0x978(r1) +/* 800B1B44 000AEAA4 38 60 00 00 */ li r3, 0 +/* 800B1B48 000AEAA8 90 61 01 74 */ stw r3, 0x174(r1) +/* 800B1B4C 000AEAAC 2C 05 00 00 */ cmpwi r5, 0 +/* 800B1B50 000AEAB0 40 81 00 44 */ ble lbl_800B1B94 +/* 800B1B54 000AEAB4 2C 05 00 08 */ cmpwi r5, 8 +/* 800B1B58 000AEAB8 38 85 FF F8 */ addi r4, r5, -8 +/* 800B1B5C 000AEABC 40 81 00 20 */ ble lbl_800B1B7C +/* 800B1B60 000AEAC0 38 04 00 07 */ addi r0, r4, 7 +/* 800B1B64 000AEAC4 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B1B68 000AEAC8 7C 09 03 A6 */ mtctr r0 +/* 800B1B6C 000AEACC 2C 04 00 00 */ cmpwi r4, 0 +/* 800B1B70 000AEAD0 40 81 00 0C */ ble lbl_800B1B7C +lbl_800B1B74: +/* 800B1B74 000AEAD4 38 63 00 08 */ addi r3, r3, 8 +/* 800B1B78 000AEAD8 42 00 FF FC */ bdnz lbl_800B1B74 +lbl_800B1B7C: +/* 800B1B7C 000AEADC 7C 03 28 50 */ subf r0, r3, r5 +/* 800B1B80 000AEAE0 7C 09 03 A6 */ mtctr r0 +/* 800B1B84 000AEAE4 7C 03 28 00 */ cmpw r3, r5 +/* 800B1B88 000AEAE8 40 80 00 0C */ bge lbl_800B1B94 +lbl_800B1B8C: +/* 800B1B8C 000AEAEC 38 63 00 01 */ addi r3, r3, 1 +/* 800B1B90 000AEAF0 42 00 FF FC */ bdnz lbl_800B1B8C +lbl_800B1B94: +/* 800B1B94 000AEAF4 38 00 00 00 */ li r0, 0 +/* 800B1B98 000AEAF8 90 01 09 78 */ stw r0, 0x978(r1) +lbl_800B1B9C: +/* 800B1B9C 000AEAFC A0 61 00 54 */ lhz r3, 0x54(r1) +/* 800B1BA0 000AEB00 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B1BA4 000AEB04 7C 03 00 40 */ cmplw r3, r0 +/* 800B1BA8 000AEB08 40 82 F6 A0 */ bne lbl_800B1248 +lbl_800B1BAC: +/* 800B1BAC 000AEB0C A0 01 00 54 */ lhz r0, 0x54(r1) +/* 800B1BB0 000AEB10 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 800B1BB4 000AEB14 B0 1F 02 5A */ sth r0, 0x25a(r31) +/* 800B1BB8 000AEB18 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) +/* 800B1BBC 000AEB1C D0 1E 00 00 */ stfs f0, 0(r30) +/* 800B1BC0 000AEB20 C0 03 00 04 */ lfs f0, 4(r3) +/* 800B1BC4 000AEB24 D0 1E 00 04 */ stfs f0, 4(r30) +/* 800B1BC8 000AEB28 C0 03 00 08 */ lfs f0, 8(r3) +/* 800B1BCC 000AEB2C D0 1E 00 08 */ stfs f0, 8(r30) +/* 800B1BD0 000AEB30 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800B1BD4 000AEB34 D0 1E 00 0C */ stfs f0, 0xc(r30) +lbl_800B1BD8: +/* 800B1BD8 000AEB38 38 00 11 A8 */ li r0, 0x11a8 +/* 800B1BDC 000AEB3C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 800B1BE0 000AEB40 CB E1 11 A0 */ lfd f31, 0x11a0(r1) +/* 800B1BE4 000AEB44 BB 21 11 84 */ lmw r25, 0x1184(r1) +/* 800B1BE8 000AEB48 80 01 11 B4 */ lwz r0, 0x11b4(r1) +/* 800B1BEC 000AEB4C 7C 08 03 A6 */ mtlr r0 +/* 800B1BF0 000AEB50 38 21 11 B0 */ addi r1, r1, 0x11b0 +/* 800B1BF4 000AEB54 4E 80 00 20 */ blr + +.global IsSlave__15CScriptPlatformCF9TUniqueId +IsSlave__15CScriptPlatformCF9TUniqueId: +/* 800B1BF8 000AEB58 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800B1BFC 000AEB5C 7C 08 02 A6 */ mflr r0 +/* 800B1C00 000AEB60 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) +/* 800B1C04 000AEB64 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800B1C08 000AEB68 93 E1 00 AC */ stw r31, 0xac(r1) +/* 800B1C0C 000AEB6C 7C 9F 23 78 */ mr r31, r4 +/* 800B1C10 000AEB70 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 800B1C14 000AEB74 7C 7E 1B 78 */ mr r30, r3 +/* 800B1C18 000AEB78 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 800B1C1C 000AEB7C 80 03 03 2C */ lwz r0, 0x32c(r3) +/* 800B1C20 000AEB80 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800B1C24 000AEB84 80 DE 03 34 */ lwz r6, 0x334(r30) +/* 800B1C28 000AEB88 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800B1C2C 000AEB8C 1C A0 00 38 */ mulli r5, r0, 0x38 +/* 800B1C30 000AEB90 A0 1F 00 00 */ lhz r0, 0(r31) +/* 800B1C34 000AEB94 90 C1 00 28 */ stw r6, 0x28(r1) +/* 800B1C38 000AEB98 38 61 00 70 */ addi r3, r1, 0x70 +/* 800B1C3C 000AEB9C 7F A6 2A 14 */ add r29, r6, r5 +/* 800B1C40 000AEBA0 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 800B1C44 000AEBA4 93 A1 00 20 */ stw r29, 0x20(r1) +/* 800B1C48 000AEBA8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800B1C4C 000AEBAC B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B1C50 000AEBB0 B0 01 00 68 */ sth r0, 0x68(r1) +/* 800B1C54 000AEBB4 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800B1C58 000AEBB8 48 26 0F 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B1C5C 000AEBBC A0 A1 00 68 */ lhz r5, 0x68(r1) +/* 800B1C60 000AEBC0 7F A4 EB 78 */ mr r4, r29 +/* 800B1C64 000AEBC4 48 00 00 10 */ b lbl_800B1C74 +lbl_800B1C68: +/* 800B1C68 000AEBC8 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800B1C6C 000AEBCC 38 03 00 38 */ addi r0, r3, 0x38 +/* 800B1C70 000AEBD0 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_800B1C74: +/* 800B1C74 000AEBD4 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800B1C78 000AEBD8 7C 00 20 40 */ cmplw r0, r4 +/* 800B1C7C 000AEBDC 41 82 00 14 */ beq lbl_800B1C90 +/* 800B1C80 000AEBE0 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800B1C84 000AEBE4 A0 03 00 00 */ lhz r0, 0(r3) +/* 800B1C88 000AEBE8 7C 00 28 40 */ cmplw r0, r5 +/* 800B1C8C 000AEBEC 40 82 FF DC */ bne lbl_800B1C68 +lbl_800B1C90: +/* 800B1C90 000AEBF0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800B1C94 000AEBF4 7C 60 E8 50 */ subf r3, r0, r29 +/* 800B1C98 000AEBF8 7C 1D 00 50 */ subf r0, r29, r0 +/* 800B1C9C 000AEBFC 7C 60 03 78 */ or r0, r3, r0 +/* 800B1CA0 000AEC00 54 03 0F FF */ rlwinm. r3, r0, 1, 0x1f, 0x1f +/* 800B1CA4 000AEC04 40 82 00 90 */ bne lbl_800B1D34 +/* 800B1CA8 000AEC08 80 1E 03 3C */ lwz r0, 0x33c(r30) +/* 800B1CAC 000AEC0C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800B1CB0 000AEC10 80 DE 03 44 */ lwz r6, 0x344(r30) +/* 800B1CB4 000AEC14 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800B1CB8 000AEC18 1C A0 00 38 */ mulli r5, r0, 0x38 +/* 800B1CBC 000AEC1C A0 1F 00 00 */ lhz r0, 0(r31) +/* 800B1CC0 000AEC20 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) +/* 800B1CC4 000AEC24 38 61 00 38 */ addi r3, r1, 0x38 +/* 800B1CC8 000AEC28 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800B1CCC 000AEC2C 7F A6 2A 14 */ add r29, r6, r5 +/* 800B1CD0 000AEC30 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800B1CD4 000AEC34 93 A1 00 18 */ stw r29, 0x18(r1) +/* 800B1CD8 000AEC38 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 800B1CDC 000AEC3C B0 01 00 08 */ sth r0, 8(r1) +/* 800B1CE0 000AEC40 B0 01 00 30 */ sth r0, 0x30(r1) +/* 800B1CE4 000AEC44 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800B1CE8 000AEC48 48 26 0E 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B1CEC 000AEC4C A0 A1 00 30 */ lhz r5, 0x30(r1) +/* 800B1CF0 000AEC50 7F A4 EB 78 */ mr r4, r29 +/* 800B1CF4 000AEC54 48 00 00 10 */ b lbl_800B1D04 +lbl_800B1CF8: +/* 800B1CF8 000AEC58 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800B1CFC 000AEC5C 38 03 00 38 */ addi r0, r3, 0x38 +/* 800B1D00 000AEC60 90 01 00 14 */ stw r0, 0x14(r1) +lbl_800B1D04: +/* 800B1D04 000AEC64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B1D08 000AEC68 7C 00 20 40 */ cmplw r0, r4 +/* 800B1D0C 000AEC6C 41 82 00 14 */ beq lbl_800B1D20 +/* 800B1D10 000AEC70 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800B1D14 000AEC74 A0 03 00 00 */ lhz r0, 0(r3) +/* 800B1D18 000AEC78 7C 00 28 40 */ cmplw r0, r5 +/* 800B1D1C 000AEC7C 40 82 FF DC */ bne lbl_800B1CF8 +lbl_800B1D20: +/* 800B1D20 000AEC80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B1D24 000AEC84 7C 60 E8 50 */ subf r3, r0, r29 +/* 800B1D28 000AEC88 7C 1D 00 50 */ subf r0, r29, r0 +/* 800B1D2C 000AEC8C 7C 60 03 78 */ or r0, r3, r0 +/* 800B1D30 000AEC90 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_800B1D34: +/* 800B1D34 000AEC94 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800B1D38 000AEC98 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 800B1D3C 000AEC9C 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 800B1D40 000AECA0 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 800B1D44 000AECA4 7C 08 03 A6 */ mtlr r0 +/* 800B1D48 000AECA8 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800B1D4C 000AECAC 4E 80 00 20 */ blr + +.global IsRider__15CScriptPlatformCF9TUniqueId +IsRider__15CScriptPlatformCF9TUniqueId: +/* 800B1D50 000AECB0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800B1D54 000AECB4 7C 08 02 A6 */ mflr r0 +/* 800B1D58 000AECB8 3C A0 80 5A */ lis r5, skIdentity4f@ha +/* 800B1D5C 000AECBC C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) +/* 800B1D60 000AECC0 90 01 00 64 */ stw r0, 0x64(r1) +/* 800B1D64 000AECC4 38 05 66 70 */ addi r0, r5, skIdentity4f@l +/* 800B1D68 000AECC8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800B1D6C 000AECCC 80 C3 03 1C */ lwz r6, 0x31c(r3) +/* 800B1D70 000AECD0 80 E3 03 24 */ lwz r7, 0x324(r3) +/* 800B1D74 000AECD4 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B1D78 000AECD8 1C C6 00 38 */ mulli r6, r6, 0x38 +/* 800B1D7C 000AECDC A0 A4 00 00 */ lhz r5, 0(r4) +/* 800B1D80 000AECE0 90 E1 00 14 */ stw r7, 0x14(r1) +/* 800B1D84 000AECE4 7C 04 03 78 */ mr r4, r0 +/* 800B1D88 000AECE8 7F E7 32 14 */ add r31, r7, r6 +/* 800B1D8C 000AECEC 90 E1 00 18 */ stw r7, 0x18(r1) +/* 800B1D90 000AECF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B1D94 000AECF4 93 E1 00 10 */ stw r31, 0x10(r1) +/* 800B1D98 000AECF8 B0 A1 00 08 */ sth r5, 8(r1) +/* 800B1D9C 000AECFC B0 A1 00 1C */ sth r5, 0x1c(r1) +/* 800B1DA0 000AED00 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800B1DA4 000AED04 48 26 0D D1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B1DA8 000AED08 A0 A1 00 1C */ lhz r5, 0x1c(r1) +/* 800B1DAC 000AED0C 7F E4 FB 78 */ mr r4, r31 +/* 800B1DB0 000AED10 48 00 00 10 */ b lbl_800B1DC0 +lbl_800B1DB4: +/* 800B1DB4 000AED14 80 61 00 18 */ lwz r3, 0x18(r1) +/* 800B1DB8 000AED18 38 03 00 38 */ addi r0, r3, 0x38 +/* 800B1DBC 000AED1C 90 01 00 18 */ stw r0, 0x18(r1) +lbl_800B1DC0: +/* 800B1DC0 000AED20 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800B1DC4 000AED24 7C 00 20 40 */ cmplw r0, r4 +/* 800B1DC8 000AED28 41 82 00 14 */ beq lbl_800B1DDC +/* 800B1DCC 000AED2C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 800B1DD0 000AED30 A0 03 00 00 */ lhz r0, 0(r3) +/* 800B1DD4 000AED34 7C 00 28 40 */ cmplw r0, r5 +/* 800B1DD8 000AED38 40 82 FF DC */ bne lbl_800B1DB4 +lbl_800B1DDC: +/* 800B1DDC 000AED3C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800B1DE0 000AED40 7C 60 F8 50 */ subf r3, r0, r31 +/* 800B1DE4 000AED44 7C 1F 00 50 */ subf r0, r31, r0 +/* 800B1DE8 000AED48 7C 60 03 78 */ or r0, r3, r0 +/* 800B1DEC 000AED4C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800B1DF0 000AED50 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800B1DF4 000AED54 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800B1DF8 000AED58 7C 08 03 A6 */ mtlr r0 +/* 800B1DFC 000AED5C 38 21 00 60 */ addi r1, r1, 0x60 +/* 800B1E00 000AED60 4E 80 00 20 */ blr + +.global sub_800b1e04 +sub_800b1e04: +/* 800B1E04 000AED64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B1E08 000AED68 7C 08 02 A6 */ mflr r0 +/* 800B1E0C 000AED6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B1E10 000AED70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B1E14 000AED74 7C 7F 1B 78 */ mr r31, r3 +/* 800B1E18 000AED78 80 C5 00 00 */ lwz r6, 0(r5) +/* 800B1E1C 000AED7C 80 05 00 00 */ lwz r0, 0(r5) +/* 800B1E20 000AED80 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800B1E24 000AED84 38 E6 00 38 */ addi r7, r6, 0x38 +/* 800B1E28 000AED88 38 C1 00 0C */ addi r6, r1, 0xc +/* 800B1E2C 000AED8C 90 E1 00 08 */ stw r7, 8(r1) +/* 800B1E30 000AED90 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800B1E34 000AED94 90 01 00 10 */ stw r0, 0x10(r1) +/* 800B1E38 000AED98 48 00 00 19 */ bl sub_800b1e50 +/* 800B1E3C 000AED9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B1E40 000AEDA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B1E44 000AEDA4 7C 08 03 A6 */ mtlr r0 +/* 800B1E48 000AEDA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B1E4C 000AEDAC 4E 80 00 20 */ blr + +.global sub_800b1e50 +sub_800b1e50: +/* 800B1E50 000AEDB0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B1E54 000AEDB4 7C 08 02 A6 */ mflr r0 +/* 800B1E58 000AEDB8 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B1E5C 000AEDBC BF 41 00 18 */ stmw r26, 0x18(r1) +/* 800B1E60 000AEDC0 7C BF 2B 78 */ mr r31, r5 +/* 800B1E64 000AEDC4 7C 7D 1B 78 */ mr r29, r3 +/* 800B1E68 000AEDC8 7C 9E 23 78 */ mr r30, r4 +/* 800B1E6C 000AEDCC 80 06 00 00 */ lwz r0, 0(r6) +/* 800B1E70 000AEDD0 80 A5 00 00 */ lwz r5, 0(r5) +/* 800B1E74 000AEDD4 90 01 00 08 */ stw r0, 8(r1) +/* 800B1E78 000AEDD8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800B1E7C 000AEDDC 48 00 00 08 */ b lbl_800B1E84 +lbl_800B1E80: +/* 800B1E80 000AEDE0 38 A5 00 38 */ addi r5, r5, 0x38 +lbl_800B1E84: +/* 800B1E84 000AEDE4 7C 05 00 40 */ cmplw r5, r0 +/* 800B1E88 000AEDE8 40 82 FF F8 */ bne lbl_800B1E80 +/* 800B1E8C 000AEDEC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 800B1E90 000AEDF0 3C 60 92 49 */ lis r3, 0x92492493@ha +/* 800B1E94 000AEDF4 80 1F 00 00 */ lwz r0, 0(r31) +/* 800B1E98 000AEDF8 38 63 24 93 */ addi r3, r3, 0x92492493@l +/* 800B1E9C 000AEDFC 83 86 00 00 */ lwz r28, 0(r6) +/* 800B1EA0 000AEE00 7C 04 00 50 */ subf r0, r4, r0 +/* 800B1EA4 000AEE04 7C 63 00 96 */ mulhw r3, r3, r0 +/* 800B1EA8 000AEE08 7C 03 02 14 */ add r0, r3, r0 +/* 800B1EAC 000AEE0C 7C 00 2E 70 */ srawi r0, r0, 5 +/* 800B1EB0 000AEE10 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800B1EB4 000AEE14 7C 60 1A 14 */ add r3, r0, r3 +/* 800B1EB8 000AEE18 1C 03 00 38 */ mulli r0, r3, 0x38 +/* 800B1EBC 000AEE1C 7C 7A 1B 78 */ mr r26, r3 +/* 800B1EC0 000AEE20 7F 64 02 14 */ add r27, r4, r0 +/* 800B1EC4 000AEE24 48 00 00 34 */ b lbl_800B1EF8 +lbl_800B1EC8: +/* 800B1EC8 000AEE28 28 1B 00 00 */ cmplwi r27, 0 +/* 800B1ECC 000AEE2C 41 82 00 20 */ beq lbl_800B1EEC +/* 800B1ED0 000AEE30 A0 1C 00 00 */ lhz r0, 0(r28) +/* 800B1ED4 000AEE34 38 7B 00 08 */ addi r3, r27, 8 +/* 800B1ED8 000AEE38 38 9C 00 08 */ addi r4, r28, 8 +/* 800B1EDC 000AEE3C B0 1B 00 00 */ sth r0, 0(r27) +/* 800B1EE0 000AEE40 C0 1C 00 04 */ lfs f0, 4(r28) +/* 800B1EE4 000AEE44 D0 1B 00 04 */ stfs f0, 4(r27) +/* 800B1EE8 000AEE48 48 26 0C 8D */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_800B1EEC: +/* 800B1EEC 000AEE4C 3B 7B 00 38 */ addi r27, r27, 0x38 +/* 800B1EF0 000AEE50 3B 5A 00 01 */ addi r26, r26, 1 +/* 800B1EF4 000AEE54 3B 9C 00 38 */ addi r28, r28, 0x38 +lbl_800B1EF8: +/* 800B1EF8 000AEE58 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B1EFC 000AEE5C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800B1F00 000AEE60 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B1F04 000AEE64 7C 03 02 14 */ add r0, r3, r0 +/* 800B1F08 000AEE68 7C 1C 00 40 */ cmplw r28, r0 +/* 800B1F0C 000AEE6C 40 82 FF BC */ bne lbl_800B1EC8 +/* 800B1F10 000AEE70 93 5E 00 04 */ stw r26, 4(r30) +/* 800B1F14 000AEE74 80 1F 00 00 */ lwz r0, 0(r31) +/* 800B1F18 000AEE78 90 1D 00 00 */ stw r0, 0(r29) +/* 800B1F1C 000AEE7C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800B1F20 000AEE80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B1F24 000AEE84 7C 08 03 A6 */ mtlr r0 +/* 800B1F28 000AEE88 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B1F2C 000AEE8C 4E 80 00 20 */ blr + +.global AddSlave__15CScriptPlatformF9TUniqueIdR13CStateManager +AddSlave__15CScriptPlatformF9TUniqueIdR13CStateManager: +/* 800B1F30 000AEE90 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 800B1F34 000AEE94 7C 08 02 A6 */ mflr r0 +/* 800B1F38 000AEE98 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) +/* 800B1F3C 000AEE9C 90 01 01 44 */ stw r0, 0x144(r1) +/* 800B1F40 000AEEA0 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 800B1F44 000AEEA4 7C BF 2B 78 */ mr r31, r5 +/* 800B1F48 000AEEA8 93 C1 01 38 */ stw r30, 0x138(r1) +/* 800B1F4C 000AEEAC 7C 9E 23 78 */ mr r30, r4 +/* 800B1F50 000AEEB0 93 A1 01 34 */ stw r29, 0x134(r1) +/* 800B1F54 000AEEB4 7C 7D 1B 78 */ mr r29, r3 +/* 800B1F58 000AEEB8 93 81 01 30 */ stw r28, 0x130(r1) +/* 800B1F5C 000AEEBC 80 03 03 3C */ lwz r0, 0x33c(r3) +/* 800B1F60 000AEEC0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800B1F64 000AEEC4 80 DD 03 44 */ lwz r6, 0x344(r29) +/* 800B1F68 000AEEC8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800B1F6C 000AEECC 1C 60 00 38 */ mulli r3, r0, 0x38 +/* 800B1F70 000AEED0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800B1F74 000AEED4 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800B1F78 000AEED8 7C A6 1A 14 */ add r5, r6, r3 +/* 800B1F7C 000AEEDC 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800B1F80 000AEEE0 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800B1F84 000AEEE4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800B1F88 000AEEE8 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800B1F8C 000AEEEC 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 800B1F90 000AEEF0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B1F94 000AEEF4 B0 01 00 C8 */ sth r0, 0xc8(r1) +/* 800B1F98 000AEEF8 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 800B1F9C 000AEEFC 48 26 0B D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B1FA0 000AEF00 A0 A1 00 C8 */ lhz r5, 0xc8(r1) +/* 800B1FA4 000AEF04 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 800B1FA8 000AEF08 48 00 00 10 */ b lbl_800B1FB8 +lbl_800B1FAC: +/* 800B1FAC 000AEF0C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 800B1FB0 000AEF10 38 04 00 38 */ addi r0, r4, 0x38 +/* 800B1FB4 000AEF14 90 01 00 24 */ stw r0, 0x24(r1) +lbl_800B1FB8: +/* 800B1FB8 000AEF18 80 81 00 24 */ lwz r4, 0x24(r1) +/* 800B1FBC 000AEF1C 7C 04 18 40 */ cmplw r4, r3 +/* 800B1FC0 000AEF20 41 82 00 10 */ beq lbl_800B1FD0 +/* 800B1FC4 000AEF24 A0 04 00 00 */ lhz r0, 0(r4) +/* 800B1FC8 000AEF28 7C 00 28 40 */ cmplw r0, r5 +/* 800B1FCC 000AEF2C 40 82 FF E0 */ bne lbl_800B1FAC +lbl_800B1FD0: +/* 800B1FD0 000AEF30 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800B1FD4 000AEF34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B1FD8 000AEF38 7C 03 00 40 */ cmplw r3, r0 +/* 800B1FDC 000AEF3C 40 82 01 00 */ bne lbl_800B20DC +/* 800B1FE0 000AEF40 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800B1FE4 000AEF44 7F E3 FB 78 */ mr r3, r31 +/* 800B1FE8 000AEF48 38 81 00 0C */ addi r4, r1, 0xc +/* 800B1FEC 000AEF4C B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B1FF0 000AEF50 4B F9 A5 85 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B1FF4 000AEF54 7C 64 1B 78 */ mr r4, r3 +/* 800B1FF8 000AEF58 38 61 00 28 */ addi r3, r1, 0x28 +/* 800B1FFC 000AEF5C 4B FF DC 95 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800B2000 000AEF60 83 83 00 04 */ lwz r28, 4(r3) +/* 800B2004 000AEF64 28 1C 00 00 */ cmplwi r28, 0 +/* 800B2008 000AEF68 41 82 00 D4 */ beq lbl_800B20DC +/* 800B200C 000AEF6C 7F 83 E3 78 */ mr r3, r28 +/* 800B2010 000AEF70 7F E5 FB 78 */ mr r5, r31 +/* 800B2014 000AEF74 38 80 00 34 */ li r4, 0x34 +/* 800B2018 000AEF78 4B FA 23 39 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 800B201C 000AEF7C 38 61 00 68 */ addi r3, r1, 0x68 +/* 800B2020 000AEF80 38 9D 00 34 */ addi r4, r29, 0x34 +/* 800B2024 000AEF84 48 26 0C 79 */ bl GetQuickInverse__12CTransform4fCFv +/* 800B2028 000AEF88 38 61 00 98 */ addi r3, r1, 0x98 +/* 800B202C 000AEF8C 38 81 00 68 */ addi r4, r1, 0x68 +/* 800B2030 000AEF90 38 BC 00 34 */ addi r5, r28, 0x34 +/* 800B2034 000AEF94 48 26 09 1D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800B2038 000AEF98 38 61 01 00 */ addi r3, r1, 0x100 +/* 800B203C 000AEF9C 38 81 00 98 */ addi r4, r1, 0x98 +/* 800B2040 000AEFA0 48 26 0B 35 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B2044 000AEFA4 80 9D 03 3C */ lwz r4, 0x33c(r29) +/* 800B2048 000AEFA8 38 7D 03 38 */ addi r3, r29, 0x338 +/* 800B204C 000AEFAC 38 84 00 01 */ addi r4, r4, 1 +/* 800B2050 000AEFB0 48 00 23 B5 */ bl sub_800b4404 +/* 800B2054 000AEFB4 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800B2058 000AEFB8 3B C1 00 38 */ addi r30, r1, 0x38 +/* 800B205C 000AEFBC C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) +/* 800B2060 000AEFC0 7F C3 F3 78 */ mr r3, r30 +/* 800B2064 000AEFC4 B0 01 00 08 */ sth r0, 8(r1) +/* 800B2068 000AEFC8 38 81 01 00 */ addi r4, r1, 0x100 +/* 800B206C 000AEFCC B0 01 00 30 */ sth r0, 0x30(r1) +/* 800B2070 000AEFD0 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800B2074 000AEFD4 48 26 0B 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B2078 000AEFD8 80 1D 03 3C */ lwz r0, 0x33c(r29) +/* 800B207C 000AEFDC 80 BD 03 40 */ lwz r5, 0x340(r29) +/* 800B2080 000AEFE0 7C 00 28 00 */ cmpw r0, r5 +/* 800B2084 000AEFE4 41 80 00 1C */ blt lbl_800B20A0 +/* 800B2088 000AEFE8 2C 05 00 00 */ cmpwi r5, 0 +/* 800B208C 000AEFEC 38 7D 03 38 */ addi r3, r29, 0x338 +/* 800B2090 000AEFF0 38 80 00 04 */ li r4, 4 +/* 800B2094 000AEFF4 41 82 00 08 */ beq lbl_800B209C +/* 800B2098 000AEFF8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B209C: +/* 800B209C 000AEFFC 48 00 23 69 */ bl sub_800b4404 +lbl_800B20A0: +/* 800B20A0 000AF000 80 1D 03 3C */ lwz r0, 0x33c(r29) +/* 800B20A4 000AF004 80 7D 03 44 */ lwz r3, 0x344(r29) +/* 800B20A8 000AF008 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B20AC 000AF00C 7C A3 02 15 */ add. r5, r3, r0 +/* 800B20B0 000AF010 41 82 00 20 */ beq lbl_800B20D0 +/* 800B20B4 000AF014 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 800B20B8 000AF018 7F C4 F3 78 */ mr r4, r30 +/* 800B20BC 000AF01C 38 65 00 08 */ addi r3, r5, 8 +/* 800B20C0 000AF020 B0 05 00 00 */ sth r0, 0(r5) +/* 800B20C4 000AF024 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 800B20C8 000AF028 D0 05 00 04 */ stfs f0, 4(r5) +/* 800B20CC 000AF02C 48 26 0A A9 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_800B20D0: +/* 800B20D0 000AF030 80 7D 03 3C */ lwz r3, 0x33c(r29) +/* 800B20D4 000AF034 38 03 00 01 */ addi r0, r3, 1 +/* 800B20D8 000AF038 90 1D 03 3C */ stw r0, 0x33c(r29) +lbl_800B20DC: +/* 800B20DC 000AF03C 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800B20E0 000AF040 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 800B20E4 000AF044 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 800B20E8 000AF048 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 800B20EC 000AF04C 83 81 01 30 */ lwz r28, 0x130(r1) +/* 800B20F0 000AF050 7C 08 03 A6 */ mtlr r0 +/* 800B20F4 000AF054 38 21 01 40 */ addi r1, r1, 0x140 +/* 800B20F8 000AF058 4E 80 00 20 */ blr + +.global SplashThink__15CScriptPlatformCFRC6CAABoxRC11CFluidPlanefR13CStateManager +SplashThink__15CScriptPlatformCFRC6CAABoxRC11CFluidPlanefR13CStateManager: +/* 800B20FC 000AF05C 4E 80 00 20 */ blr + +.global GetPrimitiveTransform__15CScriptPlatformCFv +GetPrimitiveTransform__15CScriptPlatformCFv: +/* 800B2100 000AF060 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800B2104 000AF064 7C 08 02 A6 */ mflr r0 +/* 800B2108 000AF068 90 01 00 54 */ stw r0, 0x54(r1) +/* 800B210C 000AF06C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800B2110 000AF070 7C 9F 23 78 */ mr r31, r4 +/* 800B2114 000AF074 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800B2118 000AF078 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800B211C 000AF07C 7C 7E 1B 78 */ mr r30, r3 +/* 800B2120 000AF080 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B2124 000AF084 48 26 0A 51 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B2128 000AF088 7F E4 FB 78 */ mr r4, r31 +/* 800B212C 000AF08C 38 61 00 08 */ addi r3, r1, 8 +/* 800B2130 000AF090 48 06 84 FD */ bl GetPrimitiveOffset__13CPhysicsActorCFv +/* 800B2134 000AF094 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 800B2138 000AF098 7F C3 F3 78 */ mr r3, r30 +/* 800B213C 000AF09C C0 01 00 08 */ lfs f0, 8(r1) +/* 800B2140 000AF0A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800B2144 000AF0A4 C0 61 00 30 */ lfs f3, 0x30(r1) +/* 800B2148 000AF0A8 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 800B214C 000AF0AC EC 81 00 2A */ fadds f4, f1, f0 +/* 800B2150 000AF0B0 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 800B2154 000AF0B4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800B2158 000AF0B8 EC 43 10 2A */ fadds f2, f3, f2 +/* 800B215C 000AF0BC D0 81 00 20 */ stfs f4, 0x20(r1) +/* 800B2160 000AF0C0 EC 01 00 2A */ fadds f0, f1, f0 +/* 800B2164 000AF0C4 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800B2168 000AF0C8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800B216C 000AF0CC 48 26 0A 09 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B2170 000AF0D0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800B2174 000AF0D4 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800B2178 000AF0D8 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800B217C 000AF0DC 7C 08 03 A6 */ mtlr r0 +/* 800B2180 000AF0E0 38 21 00 50 */ addi r1, r1, 0x50 +/* 800B2184 000AF0E4 4E 80 00 20 */ blr + +.global GetCollisionPrimitive__15CScriptPlatformCFv +GetCollisionPrimitive__15CScriptPlatformCFv: +/* 800B2188 000AF0E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B218C 000AF0EC 7C 08 02 A6 */ mflr r0 +/* 800B2190 000AF0F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B2194 000AF0F4 80 03 03 14 */ lwz r0, 0x314(r3) +/* 800B2198 000AF0F8 28 00 00 00 */ cmplwi r0, 0 +/* 800B219C 000AF0FC 40 82 00 0C */ bne lbl_800B21A8 +/* 800B21A0 000AF100 48 06 88 B5 */ bl GetCollisionPrimitive__13CPhysicsActorCFv +/* 800B21A4 000AF104 48 00 00 08 */ b lbl_800B21AC +lbl_800B21A8: +/* 800B21A8 000AF108 7C 03 03 78 */ mr r3, r0 +lbl_800B21AC: +/* 800B21AC 000AF10C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B21B0 000AF110 7C 08 03 A6 */ mtlr r0 +/* 800B21B4 000AF114 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B21B8 000AF118 4E 80 00 20 */ blr + +.global Accept__15CScriptPlatformFR8IVisitor +Accept__15CScriptPlatformFR8IVisitor: +/* 800B21BC 000AF11C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B21C0 000AF120 7C 08 02 A6 */ mflr r0 +/* 800B21C4 000AF124 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B21C8 000AF128 7C 60 1B 78 */ mr r0, r3 +/* 800B21CC 000AF12C 7C 83 23 78 */ mr r3, r4 +/* 800B21D0 000AF130 81 84 00 00 */ lwz r12, 0(r4) +/* 800B21D4 000AF134 7C 04 03 78 */ mr r4, r0 +/* 800B21D8 000AF138 81 8C 00 9C */ lwz r12, 0x9c(r12) +/* 800B21DC 000AF13C 7D 89 03 A6 */ mtctr r12 +/* 800B21E0 000AF140 4E 80 04 21 */ bctrl +/* 800B21E4 000AF144 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B21E8 000AF148 7C 08 03 A6 */ mtlr r0 +/* 800B21EC 000AF14C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B21F0 000AF150 4E 80 00 20 */ blr + +.global AcceptScriptMsg__15CScriptPlatformF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__15CScriptPlatformF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800B21F4 000AF154 94 21 F7 60 */ stwu r1, -0x8a0(r1) +/* 800B21F8 000AF158 7C 08 02 A6 */ mflr r0 +/* 800B21FC 000AF15C 90 01 08 A4 */ stw r0, 0x8a4(r1) +/* 800B2200 000AF160 BF 61 08 8C */ stmw r27, 0x88c(r1) +/* 800B2204 000AF164 7C 9D 23 78 */ mr r29, r4 +/* 800B2208 000AF168 38 1D FF FB */ addi r0, r29, -5 +/* 800B220C 000AF16C 7C 7C 1B 78 */ mr r28, r3 +/* 800B2210 000AF170 28 00 00 1E */ cmplwi r0, 0x1e +/* 800B2214 000AF174 7C BE 2B 78 */ mr r30, r5 +/* 800B2218 000AF178 7C DF 33 78 */ mr r31, r6 +/* 800B221C 000AF17C 41 81 03 60 */ bgt lbl_800B257C +/* 800B2220 000AF180 3C 80 80 3E */ lis r4, lbl_803DF2AC@ha +/* 800B2224 000AF184 54 00 10 3A */ slwi r0, r0, 2 +/* 800B2228 000AF188 38 84 F2 AC */ addi r4, r4, lbl_803DF2AC@l +/* 800B222C 000AF18C 7C 04 00 2E */ lwzx r0, r4, r0 +/* 800B2230 000AF190 7C 09 03 A6 */ mtctr r0 +/* 800B2234 000AF194 4E 80 04 20 */ bctr +/* 800B2238 000AF198 7F E4 FB 78 */ mr r4, r31 +/* 800B223C 000AF19C 48 00 08 15 */ bl BuildSlaveList__15CScriptPlatformFR13CStateManager +/* 800B2240 000AF1A0 48 00 03 3C */ b lbl_800B257C +/* 800B2244 000AF1A4 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800B2248 000AF1A8 7F 85 E3 78 */ mr r5, r28 +/* 800B224C 000AF1AC 38 7C 03 18 */ addi r3, r28, 0x318 +/* 800B2250 000AF1B0 38 81 00 64 */ addi r4, r1, 0x64 +/* 800B2254 000AF1B4 B0 01 00 64 */ sth r0, 0x64(r1) +/* 800B2258 000AF1B8 48 00 15 79 */ bl "AddRider__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>9TUniqueIdPC13CPhysicsActorR13CStateManager" +/* 800B225C 000AF1BC 48 00 03 20 */ b lbl_800B257C +/* 800B2260 000AF1C0 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) +/* 800B2264 000AF1C4 D0 1C 02 5C */ stfs f0, 0x25c(r28) +/* 800B2268 000AF1C8 48 06 91 11 */ bl Stop__13CPhysicsActorFv +/* 800B226C 000AF1CC 48 00 03 10 */ b lbl_800B257C +/* 800B2270 000AF1D0 A0 1C 02 58 */ lhz r0, 0x258(r28) +/* 800B2274 000AF1D4 7F 84 E3 78 */ mr r4, r28 +/* 800B2278 000AF1D8 38 61 00 60 */ addi r3, r1, 0x60 +/* 800B227C 000AF1DC 38 A1 00 5C */ addi r5, r1, 0x5c +/* 800B2280 000AF1E0 B0 01 00 5C */ sth r0, 0x5c(r1) +/* 800B2284 000AF1E4 48 00 17 49 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager +/* 800B2288 000AF1E8 A0 01 00 60 */ lhz r0, 0x60(r1) +/* 800B228C 000AF1EC B0 1C 02 5A */ sth r0, 0x25a(r28) +/* 800B2290 000AF1F0 A0 7C 02 5A */ lhz r3, 0x25a(r28) +/* 800B2294 000AF1F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B2298 000AF1F8 7C 03 00 40 */ cmplw r3, r0 +/* 800B229C 000AF1FC 40 82 00 28 */ bne lbl_800B22C4 +/* 800B22A0 000AF200 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800B22A4 000AF204 7F E3 FB 78 */ mr r3, r31 +/* 800B22A8 000AF208 7F 84 E3 78 */ mr r4, r28 +/* 800B22AC 000AF20C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 800B22B0 000AF210 B0 01 00 54 */ sth r0, 0x54(r1) +/* 800B22B4 000AF214 38 C0 00 0F */ li r6, 0xf +/* 800B22B8 000AF218 B0 01 00 58 */ sth r0, 0x58(r1) +/* 800B22BC 000AF21C 4B F9 1C 15 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 800B22C0 000AF220 48 00 02 BC */ b lbl_800B257C +lbl_800B22C4: +/* 800B22C4 000AF224 A0 1C 02 5A */ lhz r0, 0x25a(r28) +/* 800B22C8 000AF228 7F E3 FB 78 */ mr r3, r31 +/* 800B22CC 000AF22C 38 81 00 50 */ addi r4, r1, 0x50 +/* 800B22D0 000AF230 B0 01 00 50 */ sth r0, 0x50(r1) +/* 800B22D4 000AF234 4B F9 A2 A1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B22D8 000AF238 7C 64 1B 78 */ mr r4, r3 +/* 800B22DC 000AF23C 38 61 00 70 */ addi r3, r1, 0x70 +/* 800B22E0 000AF240 4B FF 42 6D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 800B22E4 000AF244 83 63 00 04 */ lwz r27, 4(r3) +/* 800B22E8 000AF248 28 1B 00 00 */ cmplwi r27, 0 +/* 800B22EC 000AF24C 41 82 02 90 */ beq lbl_800B257C +/* 800B22F0 000AF250 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) +/* 800B22F4 000AF254 7F 83 E3 78 */ mr r3, r28 +/* 800B22F8 000AF258 D0 1C 02 5C */ stfs f0, 0x25c(r28) +/* 800B22FC 000AF25C 48 06 90 7D */ bl Stop__13CPhysicsActorFv +/* 800B2300 000AF260 C0 3B 00 40 */ lfs f1, 0x40(r27) +/* 800B2304 000AF264 7F 83 E3 78 */ mr r3, r28 +/* 800B2308 000AF268 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 800B230C 000AF26C 38 81 00 78 */ addi r4, r1, 0x78 +/* 800B2310 000AF270 C0 9B 00 50 */ lfs f4, 0x50(r27) +/* 800B2314 000AF274 C0 7C 00 50 */ lfs f3, 0x50(r28) +/* 800B2318 000AF278 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800B231C 000AF27C C0 5B 00 60 */ lfs f2, 0x60(r27) +/* 800B2320 000AF280 C0 3C 00 60 */ lfs f1, 0x60(r28) +/* 800B2324 000AF284 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800B2328 000AF288 D0 1C 02 70 */ stfs f0, 0x270(r28) +/* 800B232C 000AF28C EC 02 08 28 */ fsubs f0, f2, f1 +/* 800B2330 000AF290 D0 7C 02 74 */ stfs f3, 0x274(r28) +/* 800B2334 000AF294 D0 1C 02 78 */ stfs f0, 0x278(r28) +/* 800B2338 000AF298 C0 5B 00 60 */ lfs f2, 0x60(r27) +/* 800B233C 000AF29C C0 3B 00 50 */ lfs f1, 0x50(r27) +/* 800B2340 000AF2A0 C0 1B 00 40 */ lfs f0, 0x40(r27) +/* 800B2344 000AF2A4 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 800B2348 000AF2A8 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 800B234C 000AF2AC D0 41 00 80 */ stfs f2, 0x80(r1) +/* 800B2350 000AF2B0 4B FA 0B 3D */ bl SetTranslation__6CActorFRC9CVector3f +/* 800B2354 000AF2B4 A0 1C 02 5A */ lhz r0, 0x25a(r28) +/* 800B2358 000AF2B8 7F 84 E3 78 */ mr r4, r28 +/* 800B235C 000AF2BC 7F E6 FB 78 */ mr r6, r31 +/* 800B2360 000AF2C0 38 61 00 4C */ addi r3, r1, 0x4c +/* 800B2364 000AF2C4 B0 1C 02 58 */ sth r0, 0x258(r28) +/* 800B2368 000AF2C8 38 A1 00 48 */ addi r5, r1, 0x48 +/* 800B236C 000AF2CC A0 1C 02 58 */ lhz r0, 0x258(r28) +/* 800B2370 000AF2D0 B0 01 00 48 */ sth r0, 0x48(r1) +/* 800B2374 000AF2D4 48 00 16 59 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager +/* 800B2378 000AF2D8 A0 01 00 4C */ lhz r0, 0x4c(r1) +/* 800B237C 000AF2DC 7F E3 FB 78 */ mr r3, r31 +/* 800B2380 000AF2E0 7F 64 DB 78 */ mr r4, r27 +/* 800B2384 000AF2E4 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800B2388 000AF2E8 B0 1C 02 5A */ sth r0, 0x25a(r28) +/* 800B238C 000AF2EC 38 C0 00 02 */ li r6, 2 +/* 800B2390 000AF2F0 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800B2394 000AF2F4 B0 01 00 40 */ sth r0, 0x40(r1) +/* 800B2398 000AF2F8 B0 01 00 44 */ sth r0, 0x44(r1) +/* 800B239C 000AF2FC 4B F9 1B 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 800B23A0 000AF300 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 800B23A4 000AF304 2C 00 00 00 */ cmpwi r0, 0 +/* 800B23A8 000AF308 40 82 00 10 */ bne lbl_800B23B8 +/* 800B23AC 000AF30C 80 1C 03 3C */ lwz r0, 0x33c(r28) +/* 800B23B0 000AF310 2C 00 00 00 */ cmpwi r0, 0 +/* 800B23B4 000AF314 41 82 00 74 */ beq lbl_800B2428 +lbl_800B23B8: +/* 800B23B8 000AF318 38 00 00 00 */ li r0, 0 +/* 800B23BC 000AF31C 7F 83 E3 78 */ mr r3, r28 +/* 800B23C0 000AF320 90 01 00 84 */ stw r0, 0x84(r1) +/* 800B23C4 000AF324 7F E4 FB 78 */ mr r4, r31 +/* 800B23C8 000AF328 38 A1 00 84 */ addi r5, r1, 0x84 +/* 800B23CC 000AF32C 38 DC 02 70 */ addi r6, r28, 0x270 +/* 800B23D0 000AF330 48 00 04 1D */ bl "DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f" +/* 800B23D4 000AF334 80 A1 00 84 */ lwz r5, 0x84(r1) +/* 800B23D8 000AF338 38 60 00 00 */ li r3, 0 +/* 800B23DC 000AF33C 2C 05 00 00 */ cmpwi r5, 0 +/* 800B23E0 000AF340 40 81 00 40 */ ble lbl_800B2420 +/* 800B23E4 000AF344 2C 05 00 08 */ cmpwi r5, 8 +/* 800B23E8 000AF348 38 85 FF F8 */ addi r4, r5, -8 +/* 800B23EC 000AF34C 40 81 00 20 */ ble lbl_800B240C +/* 800B23F0 000AF350 38 04 00 07 */ addi r0, r4, 7 +/* 800B23F4 000AF354 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B23F8 000AF358 7C 09 03 A6 */ mtctr r0 +/* 800B23FC 000AF35C 2C 04 00 00 */ cmpwi r4, 0 +/* 800B2400 000AF360 40 81 00 0C */ ble lbl_800B240C +lbl_800B2404: +/* 800B2404 000AF364 38 63 00 08 */ addi r3, r3, 8 +/* 800B2408 000AF368 42 00 FF FC */ bdnz lbl_800B2404 +lbl_800B240C: +/* 800B240C 000AF36C 7C 03 28 50 */ subf r0, r3, r5 +/* 800B2410 000AF370 7C 09 03 A6 */ mtctr r0 +/* 800B2414 000AF374 7C 03 28 00 */ cmpw r3, r5 +/* 800B2418 000AF378 40 80 00 08 */ bge lbl_800B2420 +lbl_800B241C: +/* 800B241C 000AF37C 42 00 00 00 */ bdnz lbl_800B241C +lbl_800B2420: +/* 800B2420 000AF380 38 00 00 00 */ li r0, 0 +/* 800B2424 000AF384 90 01 00 84 */ stw r0, 0x84(r1) +lbl_800B2428: +/* 800B2428 000AF388 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800B242C 000AF38C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800B2430 000AF390 D0 1C 02 70 */ stfs f0, 0x270(r28) +/* 800B2434 000AF394 C0 03 00 04 */ lfs f0, 4(r3) +/* 800B2438 000AF398 D0 1C 02 74 */ stfs f0, 0x274(r28) +/* 800B243C 000AF39C C0 03 00 08 */ lfs f0, 8(r3) +/* 800B2440 000AF3A0 D0 1C 02 78 */ stfs f0, 0x278(r28) +/* 800B2444 000AF3A4 48 00 01 38 */ b lbl_800B257C +/* 800B2448 000AF3A8 A0 1C 02 58 */ lhz r0, 0x258(r28) +/* 800B244C 000AF3AC 7F 84 E3 78 */ mr r4, r28 +/* 800B2450 000AF3B0 38 61 00 3C */ addi r3, r1, 0x3c +/* 800B2454 000AF3B4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800B2458 000AF3B8 B0 01 00 38 */ sth r0, 0x38(r1) +/* 800B245C 000AF3BC 48 00 15 71 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager +/* 800B2460 000AF3C0 A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 800B2464 000AF3C4 B0 1C 02 5A */ sth r0, 0x25a(r28) +/* 800B2468 000AF3C8 A0 7C 02 5A */ lhz r3, 0x25a(r28) +/* 800B246C 000AF3CC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B2470 000AF3D0 7C 03 00 40 */ cmplw r3, r0 +/* 800B2474 000AF3D4 40 82 00 28 */ bne lbl_800B249C +/* 800B2478 000AF3D8 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800B247C 000AF3DC 7F E3 FB 78 */ mr r3, r31 +/* 800B2480 000AF3E0 7F 84 E3 78 */ mr r4, r28 +/* 800B2484 000AF3E4 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800B2488 000AF3E8 B0 01 00 30 */ sth r0, 0x30(r1) +/* 800B248C 000AF3EC 38 C0 00 0F */ li r6, 0xf +/* 800B2490 000AF3F0 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800B2494 000AF3F4 4B F9 1A 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 800B2498 000AF3F8 48 00 00 E4 */ b lbl_800B257C +lbl_800B249C: +/* 800B249C 000AF3FC A0 1C 02 5A */ lhz r0, 0x25a(r28) +/* 800B24A0 000AF400 7F E3 FB 78 */ mr r3, r31 +/* 800B24A4 000AF404 38 81 00 2C */ addi r4, r1, 0x2c +/* 800B24A8 000AF408 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 800B24AC 000AF40C 4B F9 A0 F9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800B24B0 000AF410 7C 64 1B 78 */ mr r4, r3 +/* 800B24B4 000AF414 38 61 00 68 */ addi r3, r1, 0x68 +/* 800B24B8 000AF418 4B FF 40 95 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 800B24BC 000AF41C 80 63 00 04 */ lwz r3, 4(r3) +/* 800B24C0 000AF420 28 03 00 00 */ cmplwi r3, 0 +/* 800B24C4 000AF424 41 82 00 B8 */ beq lbl_800B257C +/* 800B24C8 000AF428 C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 800B24CC 000AF42C D0 1C 02 5C */ stfs f0, 0x25c(r28) +/* 800B24D0 000AF430 48 00 00 AC */ b lbl_800B257C +/* 800B24D4 000AF434 88 1C 03 56 */ lbz r0, 0x356(r28) +/* 800B24D8 000AF438 38 60 00 00 */ li r3, 0 +/* 800B24DC 000AF43C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800B24E0 000AF440 98 1C 03 56 */ stb r0, 0x356(r28) +/* 800B24E4 000AF444 C0 1C 02 8C */ lfs f0, 0x28c(r28) +/* 800B24E8 000AF448 D0 1C 02 94 */ stfs f0, 0x294(r28) +/* 800B24EC 000AF44C C0 1C 02 90 */ lfs f0, 0x290(r28) +/* 800B24F0 000AF450 D0 1C 02 98 */ stfs f0, 0x298(r28) +/* 800B24F4 000AF454 48 00 00 88 */ b lbl_800B257C +/* 800B24F8 000AF458 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800B24FC 000AF45C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B2500 000AF460 40 82 00 24 */ bne lbl_800B2524 +/* 800B2504 000AF464 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800B2508 000AF468 7F E3 FB 78 */ mr r3, r31 +/* 800B250C 000AF46C 7F 84 E3 78 */ mr r4, r28 +/* 800B2510 000AF470 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800B2514 000AF474 B0 01 00 24 */ sth r0, 0x24(r1) +/* 800B2518 000AF478 38 C0 00 01 */ li r6, 1 +/* 800B251C 000AF47C B0 01 00 28 */ sth r0, 0x28(r1) +/* 800B2520 000AF480 4B F9 19 B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_800B2524: +/* 800B2524 000AF484 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800B2528 000AF488 7F E4 FB 78 */ mr r4, r31 +/* 800B252C 000AF48C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B2530 000AF490 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800B2534 000AF494 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800B2538 000AF498 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800B253C 000AF49C C0 3C 02 68 */ lfs f1, 0x268(r28) +/* 800B2540 000AF4A0 48 14 F4 69 */ bl FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf +/* 800B2544 000AF4A4 48 00 00 38 */ b lbl_800B257C +/* 800B2548 000AF4A8 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800B254C 000AF4AC 7F E4 FB 78 */ mr r4, r31 +/* 800B2550 000AF4B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B2554 000AF4B4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800B2558 000AF4B8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B255C 000AF4BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B2560 000AF4C0 C0 3C 02 6C */ lfs f1, 0x26c(r28) +/* 800B2564 000AF4C4 48 14 F2 15 */ bl FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf +/* 800B2568 000AF4C8 48 00 00 14 */ b lbl_800B257C +/* 800B256C 000AF4CC C0 22 8C D0 */ lfs f1, lbl_805AA9F0@sda21(r2) +/* 800B2570 000AF4D0 7F E4 FB 78 */ mr r4, r31 +/* 800B2574 000AF4D4 38 7C 03 18 */ addi r3, r28, 0x318 +/* 800B2578 000AF4D8 48 00 10 2D */ bl "DecayRiders__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>fR13CStateManager" +lbl_800B257C: +/* 800B257C 000AF4DC A0 1E 00 00 */ lhz r0, 0(r30) +/* 800B2580 000AF4E0 7F 83 E3 78 */ mr r3, r28 +/* 800B2584 000AF4E4 7F A4 EB 78 */ mr r4, r29 +/* 800B2588 000AF4E8 7F E6 FB 78 */ mr r6, r31 +/* 800B258C 000AF4EC B0 01 00 08 */ sth r0, 8(r1) +/* 800B2590 000AF4F0 38 A1 00 08 */ addi r5, r1, 8 +/* 800B2594 000AF4F4 4B FA 10 81 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800B2598 000AF4F8 BB 61 08 8C */ lmw r27, 0x88c(r1) +/* 800B259C 000AF4FC 80 01 08 A4 */ lwz r0, 0x8a4(r1) +/* 800B25A0 000AF500 7C 08 03 A6 */ mtlr r0 +/* 800B25A4 000AF504 38 21 08 A0 */ addi r1, r1, 0x8a0 +/* 800B25A8 000AF508 4E 80 00 20 */ blr + +.global GetDamageVulnerability__15CScriptPlatformCFv +GetDamageVulnerability__15CScriptPlatformCFv: +/* 800B25AC 000AF50C 38 63 02 9C */ addi r3, r3, 0x29c +/* 800B25B0 000AF510 4E 80 00 20 */ blr + +.global HealthInfo__15CScriptPlatformFR13CStateManager +HealthInfo__15CScriptPlatformFR13CStateManager: +/* 800B25B4 000AF514 38 63 02 94 */ addi r3, r3, 0x294 +/* 800B25B8 000AF518 4E 80 00 20 */ blr + +.global sub_800b25bc +sub_800b25bc: +/* 800B25BC 000AF51C 80 04 00 00 */ lwz r0, 0(r4) +/* 800B25C0 000AF520 38 A4 00 04 */ addi r5, r4, 4 +/* 800B25C4 000AF524 A0 63 00 00 */ lhz r3, 0(r3) +/* 800B25C8 000AF528 54 00 08 3C */ slwi r0, r0, 1 +/* 800B25CC 000AF52C 7C 84 02 14 */ add r4, r4, r0 +/* 800B25D0 000AF530 54 63 05 BE */ clrlwi r3, r3, 0x16 +/* 800B25D4 000AF534 38 84 00 04 */ addi r4, r4, 4 +/* 800B25D8 000AF538 48 00 00 1C */ b lbl_800B25F4 +lbl_800B25DC: +/* 800B25DC 000AF53C A0 05 00 00 */ lhz r0, 0(r5) +/* 800B25E0 000AF540 7C 03 00 40 */ cmplw r3, r0 +/* 800B25E4 000AF544 40 82 00 0C */ bne lbl_800B25F0 +/* 800B25E8 000AF548 38 60 00 01 */ li r3, 1 +/* 800B25EC 000AF54C 4E 80 00 20 */ blr +lbl_800B25F0: +/* 800B25F0 000AF550 38 A5 00 02 */ addi r5, r5, 2 +lbl_800B25F4: +/* 800B25F4 000AF554 7C 05 20 40 */ cmplw r5, r4 +/* 800B25F8 000AF558 40 82 FF E4 */ bne lbl_800B25DC +/* 800B25FC 000AF55C 38 60 00 00 */ li r3, 0 +/* 800B2600 000AF560 4E 80 00 20 */ blr + +.global Think__15CScriptPlatformFfR13CStateManager +Think__15CScriptPlatformFfR13CStateManager: +/* 800B2604 000AF564 94 21 F7 D0 */ stwu r1, -0x830(r1) +/* 800B2608 000AF568 7C 08 02 A6 */ mflr r0 +/* 800B260C 000AF56C 90 01 08 34 */ stw r0, 0x834(r1) +/* 800B2610 000AF570 93 E1 08 2C */ stw r31, 0x82c(r1) +/* 800B2614 000AF574 7C 9F 23 78 */ mr r31, r4 +/* 800B2618 000AF578 93 C1 08 28 */ stw r30, 0x828(r1) +/* 800B261C 000AF57C 7C 7E 1B 78 */ mr r30, r3 +/* 800B2620 000AF580 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800B2624 000AF584 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B2628 000AF588 41 82 01 AC */ beq lbl_800B27D4 +/* 800B262C 000AF58C 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 800B2630 000AF590 38 60 00 00 */ li r3, 0 +/* 800B2634 000AF594 28 04 00 00 */ cmplwi r4, 0 +/* 800B2638 000AF598 41 82 00 14 */ beq lbl_800B264C +/* 800B263C 000AF59C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800B2640 000AF5A0 28 00 00 00 */ cmplwi r0, 0 +/* 800B2644 000AF5A4 41 82 00 08 */ beq lbl_800B264C +/* 800B2648 000AF5A8 38 60 00 01 */ li r3, 1 +lbl_800B264C: +/* 800B264C 000AF5AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B2650 000AF5B0 41 82 00 A0 */ beq lbl_800B26F0 +/* 800B2654 000AF5B4 88 1E 03 56 */ lbz r0, 0x356(r30) +/* 800B2658 000AF5B8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800B265C 000AF5BC 40 82 00 18 */ bne lbl_800B2674 +/* 800B2660 000AF5C0 7F C4 F3 78 */ mr r4, r30 +/* 800B2664 000AF5C4 7F E5 FB 78 */ mr r5, r31 +/* 800B2668 000AF5C8 38 61 00 08 */ addi r3, r1, 8 +/* 800B266C 000AF5CC 38 C0 00 01 */ li r6, 1 +/* 800B2670 000AF5D0 4B FA 2C 2D */ bl UpdateAnimation__6CActorFfR13CStateManagerb +lbl_800B2674: +/* 800B2674 000AF5D4 88 1E 03 56 */ lbz r0, 0x356(r30) +/* 800B2678 000AF5D8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800B267C 000AF5DC 41 82 00 74 */ beq lbl_800B26F0 +/* 800B2680 000AF5E0 80 7F 08 50 */ lwz r3, 0x850(r31) +/* 800B2684 000AF5E4 80 9F 08 80 */ lwz r4, 0x880(r31) +/* 800B2688 000AF5E8 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 800B268C 000AF5EC 2C 00 00 02 */ cmpwi r0, 2 +/* 800B2690 000AF5F0 40 82 00 60 */ bne lbl_800B26F0 +/* 800B2694 000AF5F4 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 800B2698 000AF5F8 38 60 00 00 */ li r3, 0 +/* 800B269C 000AF5FC 28 05 00 00 */ cmplwi r5, 0 +/* 800B26A0 000AF600 41 82 00 20 */ beq lbl_800B26C0 +/* 800B26A4 000AF604 80 05 00 10 */ lwz r0, 0x10(r5) +/* 800B26A8 000AF608 28 00 00 00 */ cmplwi r0, 0 +/* 800B26AC 000AF60C 40 82 00 10 */ bne lbl_800B26BC +/* 800B26B0 000AF610 88 05 00 28 */ lbz r0, 0x28(r5) +/* 800B26B4 000AF614 28 00 00 00 */ cmplwi r0, 0 +/* 800B26B8 000AF618 41 82 00 08 */ beq lbl_800B26C0 +lbl_800B26BC: +/* 800B26BC 000AF61C 38 60 00 01 */ li r3, 1 +lbl_800B26C0: +/* 800B26C0 000AF620 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B26C4 000AF624 41 82 00 2C */ beq lbl_800B26F0 +/* 800B26C8 000AF628 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 800B26CC 000AF62C C0 22 8C AC */ lfs f1, lbl_805AA9CC@sda21(r2) +/* 800B26D0 000AF630 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800B26D4 000AF634 41 82 00 1C */ beq lbl_800B26F0 +/* 800B26D8 000AF638 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 800B26DC 000AF63C 7F C4 F3 78 */ mr r4, r30 +/* 800B26E0 000AF640 80 DE 03 4C */ lwz r6, 0x34c(r30) +/* 800B26E4 000AF644 7F E5 FB 78 */ mr r5, r31 +/* 800B26E8 000AF648 80 FE 03 50 */ lwz r7, 0x350(r30) +/* 800B26EC 000AF64C 48 13 28 25 */ bl AddRainSplashGenerator__20CActorModelParticlesFR6CActorR13CStateManageriif +lbl_800B26F0: +/* 800B26F0 000AF650 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 800B26F4 000AF654 2C 00 00 00 */ cmpwi r0, 0 +/* 800B26F8 000AF658 40 82 00 10 */ bne lbl_800B2708 +/* 800B26FC 000AF65C 80 1E 03 3C */ lwz r0, 0x33c(r30) +/* 800B2700 000AF660 2C 00 00 00 */ cmpwi r0, 0 +/* 800B2704 000AF664 41 82 00 74 */ beq lbl_800B2778 +lbl_800B2708: +/* 800B2708 000AF668 38 00 00 00 */ li r0, 0 +/* 800B270C 000AF66C 7F C3 F3 78 */ mr r3, r30 +/* 800B2710 000AF670 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B2714 000AF674 7F E4 FB 78 */ mr r4, r31 +/* 800B2718 000AF678 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800B271C 000AF67C 38 DE 02 70 */ addi r6, r30, 0x270 +/* 800B2720 000AF680 48 00 00 CD */ bl "DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f" +/* 800B2724 000AF684 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800B2728 000AF688 38 60 00 00 */ li r3, 0 +/* 800B272C 000AF68C 2C 05 00 00 */ cmpwi r5, 0 +/* 800B2730 000AF690 40 81 00 40 */ ble lbl_800B2770 +/* 800B2734 000AF694 2C 05 00 08 */ cmpwi r5, 8 +/* 800B2738 000AF698 38 85 FF F8 */ addi r4, r5, -8 +/* 800B273C 000AF69C 40 81 00 20 */ ble lbl_800B275C +/* 800B2740 000AF6A0 38 04 00 07 */ addi r0, r4, 7 +/* 800B2744 000AF6A4 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B2748 000AF6A8 7C 09 03 A6 */ mtctr r0 +/* 800B274C 000AF6AC 2C 04 00 00 */ cmpwi r4, 0 +/* 800B2750 000AF6B0 40 81 00 0C */ ble lbl_800B275C +lbl_800B2754: +/* 800B2754 000AF6B4 38 63 00 08 */ addi r3, r3, 8 +/* 800B2758 000AF6B8 42 00 FF FC */ bdnz lbl_800B2754 +lbl_800B275C: +/* 800B275C 000AF6BC 7C 03 28 50 */ subf r0, r3, r5 +/* 800B2760 000AF6C0 7C 09 03 A6 */ mtctr r0 +/* 800B2764 000AF6C4 7C 03 28 00 */ cmpw r3, r5 +/* 800B2768 000AF6C8 40 80 00 08 */ bge lbl_800B2770 +lbl_800B276C: +/* 800B276C 000AF6CC 42 00 00 00 */ bdnz lbl_800B276C +lbl_800B2770: +/* 800B2770 000AF6D0 38 00 00 00 */ li r0, 0 +/* 800B2774 000AF6D4 90 01 00 24 */ stw r0, 0x24(r1) +lbl_800B2778: +/* 800B2778 000AF6D8 88 1E 03 56 */ lbz r0, 0x356(r30) +/* 800B277C 000AF6DC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B2780 000AF6E0 40 82 00 54 */ bne lbl_800B27D4 +/* 800B2784 000AF6E4 7F C3 F3 78 */ mr r3, r30 +/* 800B2788 000AF6E8 7F E4 FB 78 */ mr r4, r31 +/* 800B278C 000AF6EC 81 9E 00 00 */ lwz r12, 0(r30) +/* 800B2790 000AF6F0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800B2794 000AF6F4 7D 89 03 A6 */ mtctr r12 +/* 800B2798 000AF6F8 4E 80 04 21 */ bctrl +/* 800B279C 000AF6FC C0 23 00 00 */ lfs f1, 0(r3) +/* 800B27A0 000AF700 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) +/* 800B27A4 000AF704 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800B27A8 000AF708 4C 40 13 82 */ cror 2, 0, 2 +/* 800B27AC 000AF70C 40 82 00 28 */ bne lbl_800B27D4 +/* 800B27B0 000AF710 88 1E 03 56 */ lbz r0, 0x356(r30) +/* 800B27B4 000AF714 38 60 00 01 */ li r3, 1 +/* 800B27B8 000AF718 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800B27BC 000AF71C 7F C3 F3 78 */ mr r3, r30 +/* 800B27C0 000AF720 98 1E 03 56 */ stb r0, 0x356(r30) +/* 800B27C4 000AF724 7F E5 FB 78 */ mr r5, r31 +/* 800B27C8 000AF728 38 80 00 0E */ li r4, 0xe +/* 800B27CC 000AF72C 38 C0 FF FF */ li r6, -1 +/* 800B27D0 000AF730 4B F9 E8 F1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_800B27D4: +/* 800B27D4 000AF734 80 01 08 34 */ lwz r0, 0x834(r1) +/* 800B27D8 000AF738 83 E1 08 2C */ lwz r31, 0x82c(r1) +/* 800B27DC 000AF73C 83 C1 08 28 */ lwz r30, 0x828(r1) +/* 800B27E0 000AF740 7C 08 03 A6 */ mtlr r0 +/* 800B27E4 000AF744 38 21 08 30 */ addi r1, r1, 0x830 +/* 800B27E8 000AF748 4E 80 00 20 */ blr + +.global "DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f" +"DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f": +/* 800B27EC 000AF74C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800B27F0 000AF750 7C 08 02 A6 */ mflr r0 +/* 800B27F4 000AF754 90 01 00 54 */ stw r0, 0x54(r1) +/* 800B27F8 000AF758 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 800B27FC 000AF75C 7C 7C 1B 78 */ mr r28, r3 +/* 800B2800 000AF760 7C 9D 23 78 */ mr r29, r4 +/* 800B2804 000AF764 7C BE 2B 78 */ mr r30, r5 +/* 800B2808 000AF768 7C DF 33 78 */ mr r31, r6 +/* 800B280C 000AF76C 83 63 03 34 */ lwz r27, 0x334(r3) +/* 800B2810 000AF770 48 00 00 48 */ b lbl_800B2858 +lbl_800B2814: +/* 800B2814 000AF774 A0 1B 00 00 */ lhz r0, 0(r27) +/* 800B2818 000AF778 7F A3 EB 78 */ mr r3, r29 +/* 800B281C 000AF77C 38 81 00 0C */ addi r4, r1, 0xc +/* 800B2820 000AF780 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B2824 000AF784 4B F9 9D 51 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B2828 000AF788 7C 64 1B 78 */ mr r4, r3 +/* 800B282C 000AF78C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B2830 000AF790 4B FF D4 61 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800B2834 000AF794 80 C3 00 04 */ lwz r6, 4(r3) +/* 800B2838 000AF798 28 06 00 00 */ cmplwi r6, 0 +/* 800B283C 000AF79C 41 82 00 18 */ beq lbl_800B2854 +/* 800B2840 000AF7A0 7F 83 E3 78 */ mr r3, r28 +/* 800B2844 000AF7A4 7F A4 EB 78 */ mr r4, r29 +/* 800B2848 000AF7A8 7F C5 F3 78 */ mr r5, r30 +/* 800B284C 000AF7AC 7F E7 FB 78 */ mr r7, r31 +/* 800B2850 000AF7B0 48 00 00 D1 */ bl "DragSlave__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorP6CActorRC9CVector3f" +lbl_800B2854: +/* 800B2854 000AF7B4 3B 7B 00 38 */ addi r27, r27, 0x38 +lbl_800B2858: +/* 800B2858 000AF7B8 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 800B285C 000AF7BC 80 7C 03 34 */ lwz r3, 0x334(r28) +/* 800B2860 000AF7C0 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B2864 000AF7C4 7C 03 02 14 */ add r0, r3, r0 +/* 800B2868 000AF7C8 7C 1B 00 40 */ cmplw r27, r0 +/* 800B286C 000AF7CC 40 82 FF A8 */ bne lbl_800B2814 +/* 800B2870 000AF7D0 80 1C 03 44 */ lwz r0, 0x344(r28) +/* 800B2874 000AF7D4 90 01 00 18 */ stw r0, 0x18(r1) +/* 800B2878 000AF7D8 48 00 00 78 */ b lbl_800B28F0 +lbl_800B287C: +/* 800B287C 000AF7DC 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 800B2880 000AF7E0 7F A3 EB 78 */ mr r3, r29 +/* 800B2884 000AF7E4 38 81 00 08 */ addi r4, r1, 8 +/* 800B2888 000AF7E8 A0 05 00 00 */ lhz r0, 0(r5) +/* 800B288C 000AF7EC B0 01 00 08 */ sth r0, 8(r1) +/* 800B2890 000AF7F0 4B F9 9C E5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B2894 000AF7F4 7C 64 1B 78 */ mr r4, r3 +/* 800B2898 000AF7F8 38 61 00 1C */ addi r3, r1, 0x1c +/* 800B289C 000AF7FC 4B FF D3 F5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800B28A0 000AF800 80 C3 00 04 */ lwz r6, 4(r3) +/* 800B28A4 000AF804 28 06 00 00 */ cmplwi r6, 0 +/* 800B28A8 000AF808 41 82 00 28 */ beq lbl_800B28D0 +/* 800B28AC 000AF80C 7F 83 E3 78 */ mr r3, r28 +/* 800B28B0 000AF810 7F A4 EB 78 */ mr r4, r29 +/* 800B28B4 000AF814 7F C5 F3 78 */ mr r5, r30 +/* 800B28B8 000AF818 7F E7 FB 78 */ mr r7, r31 +/* 800B28BC 000AF81C 48 00 00 65 */ bl "DragSlave__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorP6CActorRC9CVector3f" +/* 800B28C0 000AF820 80 61 00 18 */ lwz r3, 0x18(r1) +/* 800B28C4 000AF824 38 03 00 38 */ addi r0, r3, 0x38 +/* 800B28C8 000AF828 90 01 00 18 */ stw r0, 0x18(r1) +/* 800B28CC 000AF82C 48 00 00 24 */ b lbl_800B28F0 +lbl_800B28D0: +/* 800B28D0 000AF830 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800B28D4 000AF834 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B28D8 000AF838 38 9C 03 38 */ addi r4, r28, 0x338 +/* 800B28DC 000AF83C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800B28E0 000AF840 90 01 00 10 */ stw r0, 0x10(r1) +/* 800B28E4 000AF844 4B FF F5 21 */ bl sub_800b1e04 +/* 800B28E8 000AF848 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B28EC 000AF84C 90 01 00 18 */ stw r0, 0x18(r1) +lbl_800B28F0: +/* 800B28F0 000AF850 80 1C 03 3C */ lwz r0, 0x33c(r28) +/* 800B28F4 000AF854 80 7C 03 44 */ lwz r3, 0x344(r28) +/* 800B28F8 000AF858 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B28FC 000AF85C 80 81 00 18 */ lwz r4, 0x18(r1) +/* 800B2900 000AF860 7C 03 02 14 */ add r0, r3, r0 +/* 800B2904 000AF864 7C 04 00 40 */ cmplw r4, r0 +/* 800B2908 000AF868 40 82 FF 74 */ bne lbl_800B287C +/* 800B290C 000AF86C BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 800B2910 000AF870 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800B2914 000AF874 7C 08 03 A6 */ mtlr r0 +/* 800B2918 000AF878 38 21 00 50 */ addi r1, r1, 0x50 +/* 800B291C 000AF87C 4E 80 00 20 */ blr + +.global "DragSlave__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorP6CActorRC9CVector3f" +"DragSlave__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorP6CActorRC9CVector3f": +/* 800B2920 000AF880 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800B2924 000AF884 7C 08 02 A6 */ mflr r0 +/* 800B2928 000AF888 90 01 00 64 */ stw r0, 0x64(r1) +/* 800B292C 000AF88C 38 61 00 0C */ addi r3, r1, 0xc +/* 800B2930 000AF890 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800B2934 000AF894 7C BF 2B 78 */ mr r31, r5 +/* 800B2938 000AF898 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800B293C 000AF89C 7C 9E 23 78 */ mr r30, r4 +/* 800B2940 000AF8A0 7F E4 FB 78 */ mr r4, r31 +/* 800B2944 000AF8A4 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800B2948 000AF8A8 7C FD 3B 78 */ mr r29, r7 +/* 800B294C 000AF8AC 93 81 00 50 */ stw r28, 0x50(r1) +/* 800B2950 000AF8B0 7C DC 33 78 */ mr r28, r6 +/* 800B2954 000AF8B4 A0 06 00 08 */ lhz r0, 8(r6) +/* 800B2958 000AF8B8 B0 01 00 08 */ sth r0, 8(r1) +/* 800B295C 000AF8BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B2960 000AF8C0 4B FF FC 5D */ bl sub_800b25bc +/* 800B2964 000AF8C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B2968 000AF8C8 40 82 00 C8 */ bne lbl_800B2A30 +/* 800B296C 000AF8CC 80 1F 00 00 */ lwz r0, 0(r31) +/* 800B2970 000AF8D0 A0 7C 00 08 */ lhz r3, 8(r28) +/* 800B2974 000AF8D4 54 00 08 3C */ slwi r0, r0, 1 +/* 800B2978 000AF8D8 7C 9F 02 14 */ add r4, r31, r0 +/* 800B297C 000AF8DC 54 60 05 BE */ clrlwi r0, r3, 0x16 +/* 800B2980 000AF8E0 34 84 00 04 */ addic. r4, r4, 4 +/* 800B2984 000AF8E4 41 82 00 08 */ beq lbl_800B298C +/* 800B2988 000AF8E8 B0 04 00 00 */ sth r0, 0(r4) +lbl_800B298C: +/* 800B298C 000AF8EC 80 BF 00 00 */ lwz r5, 0(r31) +/* 800B2990 000AF8F0 38 61 00 18 */ addi r3, r1, 0x18 +/* 800B2994 000AF8F4 38 9C 00 34 */ addi r4, r28, 0x34 +/* 800B2998 000AF8F8 38 05 00 01 */ addi r0, r5, 1 +/* 800B299C 000AF8FC 90 1F 00 00 */ stw r0, 0(r31) +/* 800B29A0 000AF900 48 26 01 D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B29A4 000AF904 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 800B29A8 000AF908 38 7C 00 34 */ addi r3, r28, 0x34 +/* 800B29AC 000AF90C C0 1D 00 00 */ lfs f0, 0(r29) +/* 800B29B0 000AF910 38 81 00 18 */ addi r4, r1, 0x18 +/* 800B29B4 000AF914 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 800B29B8 000AF918 C0 5D 00 04 */ lfs f2, 4(r29) +/* 800B29BC 000AF91C EC 81 00 2A */ fadds f4, f1, f0 +/* 800B29C0 000AF920 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 800B29C4 000AF924 C0 1D 00 08 */ lfs f0, 8(r29) +/* 800B29C8 000AF928 EC 43 10 2A */ fadds f2, f3, f2 +/* 800B29CC 000AF92C D0 81 00 24 */ stfs f4, 0x24(r1) +/* 800B29D0 000AF930 EC 01 00 2A */ fadds f0, f1, f0 +/* 800B29D4 000AF934 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800B29D8 000AF938 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800B29DC 000AF93C 48 26 01 65 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800B29E0 000AF940 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 800B29E4 000AF944 38 A0 00 01 */ li r5, 1 +/* 800B29E8 000AF948 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 800B29EC 000AF94C 7F 84 E3 78 */ mr r4, r28 +/* 800B29F0 000AF950 98 1C 00 E4 */ stb r0, 0xe4(r28) +/* 800B29F4 000AF954 38 61 00 10 */ addi r3, r1, 0x10 +/* 800B29F8 000AF958 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 800B29FC 000AF95C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 800B2A00 000AF960 98 1C 00 E4 */ stb r0, 0xe4(r28) +/* 800B2A04 000AF964 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 800B2A08 000AF968 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 800B2A0C 000AF96C 98 1C 00 E4 */ stb r0, 0xe4(r28) +/* 800B2A10 000AF970 4B FF 64 05 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +/* 800B2A14 000AF974 80 63 00 04 */ lwz r3, 4(r3) +/* 800B2A18 000AF978 28 03 00 00 */ cmplwi r3, 0 +/* 800B2A1C 000AF97C 41 82 00 14 */ beq lbl_800B2A30 +/* 800B2A20 000AF980 7F C4 F3 78 */ mr r4, r30 +/* 800B2A24 000AF984 7F E5 FB 78 */ mr r5, r31 +/* 800B2A28 000AF988 7F A6 EB 78 */ mr r6, r29 +/* 800B2A2C 000AF98C 4B FF FD C1 */ bl "DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f" +lbl_800B2A30: +/* 800B2A30 000AF990 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800B2A34 000AF994 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800B2A38 000AF998 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800B2A3C 000AF99C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800B2A40 000AF9A0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 800B2A44 000AF9A4 7C 08 03 A6 */ mtlr r0 +/* 800B2A48 000AF9A8 38 21 00 60 */ addi r1, r1, 0x60 +/* 800B2A4C 000AF9AC 4E 80 00 20 */ blr + +.global BuildSlaveList__15CScriptPlatformFR13CStateManager +BuildSlaveList__15CScriptPlatformFR13CStateManager: +/* 800B2A50 000AF9B0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 800B2A54 000AF9B4 7C 08 02 A6 */ mflr r0 +/* 800B2A58 000AF9B8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 800B2A5C 000AF9BC BF 01 00 B0 */ stmw r24, 0xb0(r1) +/* 800B2A60 000AF9C0 7C 9D 23 78 */ mr r29, r4 +/* 800B2A64 000AF9C4 7C 7C 1B 78 */ mr r28, r3 +/* 800B2A68 000AF9C8 80 83 00 24 */ lwz r4, 0x24(r3) +/* 800B2A6C 000AF9CC 38 7C 03 28 */ addi r3, r28, 0x328 +/* 800B2A70 000AF9D0 48 00 19 95 */ bl sub_800b4404 +/* 800B2A74 000AF9D4 83 FC 00 2C */ lwz r31, 0x2c(r28) +/* 800B2A78 000AF9D8 3B C1 00 4C */ addi r30, r1, 0x4c +/* 800B2A7C 000AF9DC 48 00 01 E0 */ b lbl_800B2C5C +lbl_800B2A80: +/* 800B2A80 000AF9E0 80 7F 00 00 */ lwz r3, 0(r31) +/* 800B2A84 000AF9E4 2C 03 00 12 */ cmpwi r3, 0x12 +/* 800B2A88 000AF9E8 40 82 01 2C */ bne lbl_800B2BB4 +/* 800B2A8C 000AF9EC 80 1F 00 04 */ lwz r0, 4(r31) +/* 800B2A90 000AF9F0 2C 00 00 01 */ cmpwi r0, 1 +/* 800B2A94 000AF9F4 40 82 01 20 */ bne lbl_800B2BB4 +/* 800B2A98 000AF9F8 80 1F 00 08 */ lwz r0, 8(r31) +/* 800B2A9C 000AF9FC 7F A4 EB 78 */ mr r4, r29 +/* 800B2AA0 000AFA00 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B2AA4 000AFA04 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800B2AA8 000AFA08 90 01 00 20 */ stw r0, 0x20(r1) +/* 800B2AAC 000AFA0C 4B F9 54 71 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800B2AB0 000AFA10 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800B2AB4 000AFA14 7F A3 EB 78 */ mr r3, r29 +/* 800B2AB8 000AFA18 38 81 00 18 */ addi r4, r1, 0x18 +/* 800B2ABC 000AFA1C B0 01 00 18 */ sth r0, 0x18(r1) +/* 800B2AC0 000AFA20 4B F9 9A B5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B2AC4 000AFA24 7C 64 1B 78 */ mr r4, r3 +/* 800B2AC8 000AFA28 38 61 00 2C */ addi r3, r1, 0x2c +/* 800B2ACC 000AFA2C 4B FF D1 C5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800B2AD0 000AFA30 83 03 00 04 */ lwz r24, 4(r3) +/* 800B2AD4 000AFA34 28 18 00 00 */ cmplwi r24, 0 +/* 800B2AD8 000AFA38 41 82 01 80 */ beq lbl_800B2C58 +/* 800B2ADC 000AFA3C 7F 03 C3 78 */ mr r3, r24 +/* 800B2AE0 000AFA40 7F A5 EB 78 */ mr r5, r29 +/* 800B2AE4 000AFA44 38 80 00 34 */ li r4, 0x34 +/* 800B2AE8 000AFA48 4B FA 18 69 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 800B2AEC 000AFA4C 38 61 00 7C */ addi r3, r1, 0x7c +/* 800B2AF0 000AFA50 38 98 00 34 */ addi r4, r24, 0x34 +/* 800B2AF4 000AFA54 48 26 00 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B2AF8 000AFA58 C0 58 00 50 */ lfs f2, 0x50(r24) +/* 800B2AFC 000AFA5C 7F C3 F3 78 */ mr r3, r30 +/* 800B2B00 000AFA60 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 800B2B04 000AFA64 38 81 00 7C */ addi r4, r1, 0x7c +/* 800B2B08 000AFA68 C0 78 00 60 */ lfs f3, 0x60(r24) +/* 800B2B0C 000AFA6C EC 82 08 28 */ fsubs f4, f2, f1 +/* 800B2B10 000AFA70 C0 1C 00 60 */ lfs f0, 0x60(r28) +/* 800B2B14 000AFA74 C0 58 00 40 */ lfs f2, 0x40(r24) +/* 800B2B18 000AFA78 C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 800B2B1C 000AFA7C EC 63 00 28 */ fsubs f3, f3, f0 +/* 800B2B20 000AFA80 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) +/* 800B2B24 000AFA84 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800B2B28 000AFA88 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 800B2B2C 000AFA8C D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 800B2B30 000AFA90 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 800B2B34 000AFA94 A0 18 00 08 */ lhz r0, 8(r24) +/* 800B2B38 000AFA98 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B2B3C 000AFA9C B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B2B40 000AFAA0 B0 01 00 44 */ sth r0, 0x44(r1) +/* 800B2B44 000AFAA4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800B2B48 000AFAA8 48 26 00 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B2B4C 000AFAAC 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 800B2B50 000AFAB0 80 BC 03 30 */ lwz r5, 0x330(r28) +/* 800B2B54 000AFAB4 7C 00 28 00 */ cmpw r0, r5 +/* 800B2B58 000AFAB8 41 80 00 1C */ blt lbl_800B2B74 +/* 800B2B5C 000AFABC 2C 05 00 00 */ cmpwi r5, 0 +/* 800B2B60 000AFAC0 38 7C 03 28 */ addi r3, r28, 0x328 +/* 800B2B64 000AFAC4 38 80 00 04 */ li r4, 4 +/* 800B2B68 000AFAC8 41 82 00 08 */ beq lbl_800B2B70 +/* 800B2B6C 000AFACC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B2B70: +/* 800B2B70 000AFAD0 48 00 18 95 */ bl sub_800b4404 +lbl_800B2B74: +/* 800B2B74 000AFAD4 80 1C 03 2C */ lwz r0, 0x32c(r28) +/* 800B2B78 000AFAD8 80 7C 03 34 */ lwz r3, 0x334(r28) +/* 800B2B7C 000AFADC 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B2B80 000AFAE0 7C A3 02 15 */ add. r5, r3, r0 +/* 800B2B84 000AFAE4 41 82 00 20 */ beq lbl_800B2BA4 +/* 800B2B88 000AFAE8 A0 01 00 44 */ lhz r0, 0x44(r1) +/* 800B2B8C 000AFAEC 7F C4 F3 78 */ mr r4, r30 +/* 800B2B90 000AFAF0 38 65 00 08 */ addi r3, r5, 8 +/* 800B2B94 000AFAF4 B0 05 00 00 */ sth r0, 0(r5) +/* 800B2B98 000AFAF8 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 800B2B9C 000AFAFC D0 05 00 04 */ stfs f0, 4(r5) +/* 800B2BA0 000AFB00 48 25 FF D5 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_800B2BA4: +/* 800B2BA4 000AFB04 80 7C 03 2C */ lwz r3, 0x32c(r28) +/* 800B2BA8 000AFB08 38 03 00 01 */ addi r0, r3, 1 +/* 800B2BAC 000AFB0C 90 1C 03 2C */ stw r0, 0x32c(r28) +/* 800B2BB0 000AFB10 48 00 00 A8 */ b lbl_800B2C58 +lbl_800B2BB4: +/* 800B2BB4 000AFB14 2C 03 00 20 */ cmpwi r3, 0x20 +/* 800B2BB8 000AFB18 40 82 00 A0 */ bne lbl_800B2C58 +/* 800B2BBC 000AFB1C 80 1F 00 04 */ lwz r0, 4(r31) +/* 800B2BC0 000AFB20 2C 00 00 01 */ cmpwi r0, 1 +/* 800B2BC4 000AFB24 40 82 00 94 */ bne lbl_800B2C58 +/* 800B2BC8 000AFB28 80 1F 00 08 */ lwz r0, 8(r31) +/* 800B2BCC 000AFB2C 7F A4 EB 78 */ mr r4, r29 +/* 800B2BD0 000AFB30 38 61 00 34 */ addi r3, r1, 0x34 +/* 800B2BD4 000AFB34 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800B2BD8 000AFB38 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800B2BDC 000AFB3C 4B F9 53 ED */ bl GetIdListForScript__13CStateManagerCF9TEditorId +/* 800B2BE0 000AFB40 83 61 00 38 */ lwz r27, 0x38(r1) +/* 800B2BE4 000AFB44 83 41 00 3C */ lwz r26, 0x3c(r1) +/* 800B2BE8 000AFB48 83 21 00 40 */ lwz r25, 0x40(r1) +/* 800B2BEC 000AFB4C 83 01 00 34 */ lwz r24, 0x34(r1) +/* 800B2BF0 000AFB50 48 00 00 48 */ b lbl_800B2C38 +lbl_800B2BF4: +/* 800B2BF4 000AFB54 A0 18 00 14 */ lhz r0, 0x14(r24) +/* 800B2BF8 000AFB58 7F A3 EB 78 */ mr r3, r29 +/* 800B2BFC 000AFB5C 38 81 00 08 */ addi r4, r1, 8 +/* 800B2C00 000AFB60 B0 01 00 08 */ sth r0, 8(r1) +/* 800B2C04 000AFB64 4B F9 99 A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800B2C08 000AFB68 7C 64 1B 78 */ mr r4, r3 +/* 800B2C0C 000AFB6C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B2C10 000AFB70 4B FF 42 D9 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" +/* 800B2C14 000AFB74 80 03 00 04 */ lwz r0, 4(r3) +/* 800B2C18 000AFB78 28 00 00 00 */ cmplwi r0, 0 +/* 800B2C1C 000AFB7C 41 82 00 0C */ beq lbl_800B2C28 +/* 800B2C20 000AFB80 A0 18 00 14 */ lhz r0, 0x14(r24) +/* 800B2C24 000AFB84 B0 1C 03 54 */ sth r0, 0x354(r28) +lbl_800B2C28: +/* 800B2C28 000AFB88 7F 63 DB 78 */ mr r3, r27 +/* 800B2C2C 000AFB8C 7F 04 C3 78 */ mr r4, r24 +/* 800B2C30 000AFB90 48 28 99 B1 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B2C34 000AFB94 7C 78 1B 78 */ mr r24, r3 +lbl_800B2C38: +/* 800B2C38 000AFB98 7C 18 D0 40 */ cmplw r24, r26 +/* 800B2C3C 000AFB9C 38 00 00 00 */ li r0, 0 +/* 800B2C40 000AFBA0 40 82 00 0C */ bne lbl_800B2C4C +/* 800B2C44 000AFBA4 7C 1B C8 40 */ cmplw r27, r25 +/* 800B2C48 000AFBA8 41 82 00 08 */ beq lbl_800B2C50 +lbl_800B2C4C: +/* 800B2C4C 000AFBAC 38 00 00 01 */ li r0, 1 +lbl_800B2C50: +/* 800B2C50 000AFBB0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B2C54 000AFBB4 40 82 FF A0 */ bne lbl_800B2BF4 +lbl_800B2C58: +/* 800B2C58 000AFBB8 3B FF 00 0C */ addi r31, r31, 0xc +lbl_800B2C5C: +/* 800B2C5C 000AFBBC 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 800B2C60 000AFBC0 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 800B2C64 000AFBC4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800B2C68 000AFBC8 7C 03 02 14 */ add r0, r3, r0 +/* 800B2C6C 000AFBCC 7C 1F 00 40 */ cmplw r31, r0 +/* 800B2C70 000AFBD0 40 82 FE 10 */ bne lbl_800B2A80 +/* 800B2C74 000AFBD4 BB 01 00 B0 */ lmw r24, 0xb0(r1) +/* 800B2C78 000AFBD8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800B2C7C 000AFBDC 7C 08 03 A6 */ mtlr r0 +/* 800B2C80 000AFBE0 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 800B2C84 000AFBE4 4E 80 00 20 */ blr + +.global PreThink__15CScriptPlatformFfR13CStateManager +PreThink__15CScriptPlatformFfR13CStateManager: +/* 800B2C88 000AFBE8 94 21 EE 30 */ stwu r1, -0x11d0(r1) +/* 800B2C8C 000AFBEC 7C 08 02 A6 */ mflr r0 +/* 800B2C90 000AFBF0 90 01 11 D4 */ stw r0, 0x11d4(r1) +/* 800B2C94 000AFBF4 38 00 11 C8 */ li r0, 0x11c8 +/* 800B2C98 000AFBF8 DB E1 11 C0 */ stfd f31, 0x11c0(r1) +/* 800B2C9C 000AFBFC 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 800B2CA0 000AFC00 93 E1 11 BC */ stw r31, 0x11bc(r1) +/* 800B2CA4 000AFC04 93 C1 11 B8 */ stw r30, 0x11b8(r1) +/* 800B2CA8 000AFC08 93 A1 11 B4 */ stw r29, 0x11b4(r1) +/* 800B2CAC 000AFC0C 93 81 11 B0 */ stw r28, 0x11b0(r1) +/* 800B2CB0 000AFC10 FF E0 08 90 */ fmr f31, f1 +/* 800B2CB4 000AFC14 7C 7D 1B 78 */ mr r29, r3 +/* 800B2CB8 000AFC18 7C 9E 23 78 */ mr r30, r4 +/* 800B2CBC 000AFC1C 38 7D 03 18 */ addi r3, r29, 0x318 +/* 800B2CC0 000AFC20 48 00 08 E5 */ bl "DecayRiders__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>fR13CStateManager" +/* 800B2CC4 000AFC24 C0 3D 02 64 */ lfs f1, 0x264(r29) +/* 800B2CC8 000AFC28 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) +/* 800B2CCC 000AFC2C EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800B2CD0 000AFC30 D0 3D 02 64 */ stfs f1, 0x264(r29) +/* 800B2CD4 000AFC34 C0 3D 02 60 */ lfs f1, 0x260(r29) +/* 800B2CD8 000AFC38 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800B2CDC 000AFC3C D0 3D 02 60 */ stfs f1, 0x260(r29) +/* 800B2CE0 000AFC40 C0 3D 02 60 */ lfs f1, 0x260(r29) +/* 800B2CE4 000AFC44 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800B2CE8 000AFC48 41 81 04 D0 */ bgt lbl_800B31B8 +/* 800B2CEC 000AFC4C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800B2CF0 000AFC50 38 61 01 6C */ addi r3, r1, 0x16c +/* 800B2CF4 000AFC54 3B E4 66 A0 */ addi r31, r4, skZero3f@l +/* 800B2CF8 000AFC58 38 9D 00 34 */ addi r4, r29, 0x34 +/* 800B2CFC 000AFC5C C0 1F 00 00 */ lfs f0, 0(r31) +/* 800B2D00 000AFC60 D0 1D 02 70 */ stfs f0, 0x270(r29) +/* 800B2D04 000AFC64 C0 1F 00 04 */ lfs f0, 4(r31) +/* 800B2D08 000AFC68 D0 1D 02 74 */ stfs f0, 0x274(r29) +/* 800B2D0C 000AFC6C C0 1F 00 08 */ lfs f0, 8(r31) +/* 800B2D10 000AFC70 D0 1D 02 78 */ stfs f0, 0x278(r29) +/* 800B2D14 000AFC74 48 25 FE 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B2D18 000AFC78 7F A4 EB 78 */ mr r4, r29 +/* 800B2D1C 000AFC7C 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 800B2D20 000AFC80 48 06 89 55 */ bl GetMotionState__13CPhysicsActorCFv +/* 800B2D24 000AFC84 C1 81 00 D4 */ lfs f12, 0xd4(r1) +/* 800B2D28 000AFC88 C1 61 00 D8 */ lfs f11, 0xd8(r1) +/* 800B2D2C 000AFC8C C1 41 00 DC */ lfs f10, 0xdc(r1) +/* 800B2D30 000AFC90 C1 21 00 E0 */ lfs f9, 0xe0(r1) +/* 800B2D34 000AFC94 C1 01 00 E4 */ lfs f8, 0xe4(r1) +/* 800B2D38 000AFC98 C0 E1 00 E8 */ lfs f7, 0xe8(r1) +/* 800B2D3C 000AFC9C C0 C1 00 EC */ lfs f6, 0xec(r1) +/* 800B2D40 000AFCA0 C0 A1 00 F0 */ lfs f5, 0xf0(r1) +/* 800B2D44 000AFCA4 C0 81 00 F4 */ lfs f4, 0xf4(r1) +/* 800B2D48 000AFCA8 C0 61 00 F8 */ lfs f3, 0xf8(r1) +/* 800B2D4C 000AFCAC C0 41 00 FC */ lfs f2, 0xfc(r1) +/* 800B2D50 000AFCB0 C0 21 01 00 */ lfs f1, 0x100(r1) +/* 800B2D54 000AFCB4 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 800B2D58 000AFCB8 D1 81 01 38 */ stfs f12, 0x138(r1) +/* 800B2D5C 000AFCBC D1 61 01 3C */ stfs f11, 0x13c(r1) +/* 800B2D60 000AFCC0 D1 41 01 40 */ stfs f10, 0x140(r1) +/* 800B2D64 000AFCC4 D1 21 01 44 */ stfs f9, 0x144(r1) +/* 800B2D68 000AFCC8 D1 01 01 48 */ stfs f8, 0x148(r1) +/* 800B2D6C 000AFCCC D0 E1 01 4C */ stfs f7, 0x14c(r1) +/* 800B2D70 000AFCD0 D0 C1 01 50 */ stfs f6, 0x150(r1) +/* 800B2D74 000AFCD4 D0 A1 01 54 */ stfs f5, 0x154(r1) +/* 800B2D78 000AFCD8 D0 81 01 58 */ stfs f4, 0x158(r1) +/* 800B2D7C 000AFCDC D0 61 01 5C */ stfs f3, 0x15c(r1) +/* 800B2D80 000AFCE0 D0 41 01 60 */ stfs f2, 0x160(r1) +/* 800B2D84 000AFCE4 D0 21 01 64 */ stfs f1, 0x164(r1) +/* 800B2D88 000AFCE8 D0 01 01 68 */ stfs f0, 0x168(r1) +/* 800B2D8C 000AFCEC 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 800B2D90 000AFCF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B2D94 000AFCF4 41 82 00 EC */ beq lbl_800B2E80 +/* 800B2D98 000AFCF8 83 9D 03 24 */ lwz r28, 0x324(r29) +/* 800B2D9C 000AFCFC 48 00 00 8C */ b lbl_800B2E28 +lbl_800B2DA0: +/* 800B2DA0 000AFD00 A0 1C 00 00 */ lhz r0, 0(r28) +/* 800B2DA4 000AFD04 7F C3 F3 78 */ mr r3, r30 +/* 800B2DA8 000AFD08 38 81 00 08 */ addi r4, r1, 8 +/* 800B2DAC 000AFD0C B0 01 00 08 */ sth r0, 8(r1) +/* 800B2DB0 000AFD10 4B F9 97 C5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B2DB4 000AFD14 7C 64 1B 78 */ mr r4, r3 +/* 800B2DB8 000AFD18 38 61 00 1C */ addi r3, r1, 0x1c +/* 800B2DBC 000AFD1C 4B FF 99 29 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 800B2DC0 000AFD20 80 C3 00 04 */ lwz r6, 4(r3) +/* 800B2DC4 000AFD24 28 06 00 00 */ cmplwi r6, 0 +/* 800B2DC8 000AFD28 41 82 00 5C */ beq lbl_800B2E24 +/* 800B2DCC 000AFD2C C0 26 00 50 */ lfs f1, 0x50(r6) +/* 800B2DD0 000AFD30 38 61 00 88 */ addi r3, r1, 0x88 +/* 800B2DD4 000AFD34 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 800B2DD8 000AFD38 38 9D 00 34 */ addi r4, r29, 0x34 +/* 800B2DDC 000AFD3C C0 66 00 60 */ lfs f3, 0x60(r6) +/* 800B2DE0 000AFD40 38 A1 00 7C */ addi r5, r1, 0x7c +/* 800B2DE4 000AFD44 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800B2DE8 000AFD48 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800B2DEC 000AFD4C C0 26 00 40 */ lfs f1, 0x40(r6) +/* 800B2DF0 000AFD50 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800B2DF4 000AFD54 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800B2DF8 000AFD58 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800B2DFC 000AFD5C D0 81 00 80 */ stfs f4, 0x80(r1) +/* 800B2E00 000AFD60 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 800B2E04 000AFD64 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 800B2E08 000AFD68 48 25 FC 1D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800B2E0C 000AFD6C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 800B2E10 000AFD70 D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 800B2E14 000AFD74 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 800B2E18 000AFD78 D0 1C 00 24 */ stfs f0, 0x24(r28) +/* 800B2E1C 000AFD7C C0 01 00 90 */ lfs f0, 0x90(r1) +/* 800B2E20 000AFD80 D0 1C 00 34 */ stfs f0, 0x34(r28) +lbl_800B2E24: +/* 800B2E24 000AFD84 3B 9C 00 38 */ addi r28, r28, 0x38 +lbl_800B2E28: +/* 800B2E28 000AFD88 80 1D 03 1C */ lwz r0, 0x31c(r29) +/* 800B2E2C 000AFD8C 80 7D 03 24 */ lwz r3, 0x324(r29) +/* 800B2E30 000AFD90 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B2E34 000AFD94 7C 03 02 14 */ add r0, r3, r0 +/* 800B2E38 000AFD98 7C 1C 00 40 */ cmplw r28, r0 +/* 800B2E3C 000AFD9C 40 82 FF 64 */ bne lbl_800B2DA0 +/* 800B2E40 000AFDA0 7F A4 EB 78 */ mr r4, r29 +/* 800B2E44 000AFDA4 FC 20 F8 90 */ fmr f1, f31 +/* 800B2E48 000AFDA8 81 9D 00 00 */ lwz r12, 0(r29) +/* 800B2E4C 000AFDAC 7F C5 F3 78 */ mr r5, r30 +/* 800B2E50 000AFDB0 38 61 00 6C */ addi r3, r1, 0x6c +/* 800B2E54 000AFDB4 81 8C 00 88 */ lwz r12, 0x88(r12) +/* 800B2E58 000AFDB8 7D 89 03 A6 */ mtctr r12 +/* 800B2E5C 000AFDBC 4E 80 04 21 */ bctrl +/* 800B2E60 000AFDC0 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 800B2E64 000AFDC4 D0 1D 02 7C */ stfs f0, 0x27c(r29) +/* 800B2E68 000AFDC8 80 61 00 70 */ lwz r3, 0x70(r1) +/* 800B2E6C 000AFDCC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800B2E70 000AFDD0 90 7D 02 80 */ stw r3, 0x280(r29) +/* 800B2E74 000AFDD4 90 1D 02 84 */ stw r0, 0x284(r29) +/* 800B2E78 000AFDD8 80 01 00 78 */ lwz r0, 0x78(r1) +/* 800B2E7C 000AFDDC 90 1D 02 88 */ stw r0, 0x288(r29) +lbl_800B2E80: +/* 800B2E80 000AFDE0 38 61 01 08 */ addi r3, r1, 0x108 +/* 800B2E84 000AFDE4 38 9D 00 34 */ addi r4, r29, 0x34 +/* 800B2E88 000AFDE8 48 25 FC ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B2E8C 000AFDEC C0 41 01 14 */ lfs f2, 0x114(r1) +/* 800B2E90 000AFDF0 38 00 00 00 */ li r0, 0 +/* 800B2E94 000AFDF4 C0 01 01 78 */ lfs f0, 0x178(r1) +/* 800B2E98 000AFDF8 FC 20 F8 90 */ fmr f1, f31 +/* 800B2E9C 000AFDFC C0 A1 01 24 */ lfs f5, 0x124(r1) +/* 800B2EA0 000AFE00 7F C3 F3 78 */ mr r3, r30 +/* 800B2EA4 000AFE04 C0 81 01 88 */ lfs f4, 0x188(r1) +/* 800B2EA8 000AFE08 EC 02 00 28 */ fsubs f0, f2, f0 +/* 800B2EAC 000AFE0C C0 61 01 34 */ lfs f3, 0x134(r1) +/* 800B2EB0 000AFE10 C0 41 01 98 */ lfs f2, 0x198(r1) +/* 800B2EB4 000AFE14 EC 85 20 28 */ fsubs f4, f5, f4 +/* 800B2EB8 000AFE18 38 BD 03 18 */ addi r5, r29, 0x318 +/* 800B2EBC 000AFE1C 38 C1 00 94 */ addi r6, r1, 0x94 +/* 800B2EC0 000AFE20 D0 1D 02 70 */ stfs f0, 0x270(r29) +/* 800B2EC4 000AFE24 EC 03 10 28 */ fsubs f0, f3, f2 +/* 800B2EC8 000AFE28 38 E1 01 6C */ addi r7, r1, 0x16c +/* 800B2ECC 000AFE2C D0 9D 02 74 */ stfs f4, 0x274(r29) +/* 800B2ED0 000AFE30 39 01 01 08 */ addi r8, r1, 0x108 +/* 800B2ED4 000AFE34 39 3D 02 70 */ addi r9, r29, 0x270 +/* 800B2ED8 000AFE38 39 41 00 5C */ addi r10, r1, 0x5c +/* 800B2EDC 000AFE3C D0 1D 02 78 */ stfs f0, 0x278(r29) +/* 800B2EE0 000AFE40 90 01 00 98 */ stw r0, 0x98(r1) +/* 800B2EE4 000AFE44 90 01 00 9C */ stw r0, 0x9c(r1) +/* 800B2EE8 000AFE48 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 800B2EEC 000AFE4C 80 9D 02 7C */ lwz r4, 0x27c(r29) +/* 800B2EF0 000AFE50 80 1D 02 80 */ lwz r0, 0x280(r29) +/* 800B2EF4 000AFE54 90 81 00 5C */ stw r4, 0x5c(r1) +/* 800B2EF8 000AFE58 90 01 00 60 */ stw r0, 0x60(r1) +/* 800B2EFC 000AFE5C 80 9D 02 84 */ lwz r4, 0x284(r29) +/* 800B2F00 000AFE60 80 1D 02 88 */ lwz r0, 0x288(r29) +/* 800B2F04 000AFE64 90 81 00 64 */ stw r4, 0x64(r1) +/* 800B2F08 000AFE68 90 01 00 68 */ stw r0, 0x68(r1) +/* 800B2F0C 000AFE6C 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 800B2F10 000AFE70 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f +/* 800B2F14 000AFE74 48 00 02 D1 */ bl "MoveRiders__15CScriptPlatformFR13CStateManagerfbRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RC12CTransform4fRC12CTransform4fRC9CVector3f11CQuaternion" +/* 800B2F18 000AFE78 88 1D 03 56 */ lbz r0, 0x356(r29) +/* 800B2F1C 000AFE7C 38 60 00 00 */ li r3, 0 +/* 800B2F20 000AFE80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800B2F24 000AFE84 98 1D 03 56 */ stb r0, 0x356(r29) +/* 800B2F28 000AFE88 80 01 00 98 */ lwz r0, 0x98(r1) +/* 800B2F2C 000AFE8C 2C 00 00 00 */ cmpwi r0, 0 +/* 800B2F30 000AFE90 41 82 02 48 */ beq lbl_800B3178 +/* 800B2F34 000AFE94 7F C4 F3 78 */ mr r4, r30 +/* 800B2F38 000AFE98 38 61 01 9C */ addi r3, r1, 0x19c +/* 800B2F3C 000AFE9C 38 A1 00 94 */ addi r5, r1, 0x94 +/* 800B2F40 000AFEA0 48 00 07 55 */ bl "BuildNearListFromRiders__15CScriptPlatformFR13CStateManagerRCQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>" +/* 800B2F44 000AFEA4 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 800B2F48 000AFEA8 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 800B2F4C 000AFEAC 38 61 09 A4 */ addi r3, r1, 0x9a4 +/* 800B2F50 000AFEB0 90 01 09 A0 */ stw r0, 0x9a0(r1) +/* 800B2F54 000AFEB4 7C 09 03 A6 */ mtctr r0 +/* 800B2F58 000AFEB8 2C 00 00 00 */ cmpwi r0, 0 +/* 800B2F5C 000AFEBC 40 81 00 20 */ ble lbl_800B2F7C +lbl_800B2F60: +/* 800B2F60 000AFEC0 28 03 00 00 */ cmplwi r3, 0 +/* 800B2F64 000AFEC4 41 82 00 0C */ beq lbl_800B2F70 +/* 800B2F68 000AFEC8 A0 04 00 00 */ lhz r0, 0(r4) +/* 800B2F6C 000AFECC B0 03 00 00 */ sth r0, 0(r3) +lbl_800B2F70: +/* 800B2F70 000AFED0 38 63 00 02 */ addi r3, r3, 2 +/* 800B2F74 000AFED4 38 84 00 02 */ addi r4, r4, 2 +/* 800B2F78 000AFED8 42 00 FF E8 */ bdnz lbl_800B2F60 +lbl_800B2F7C: +/* 800B2F7C 000AFEDC 80 A1 01 9C */ lwz r5, 0x19c(r1) +/* 800B2F80 000AFEE0 38 60 00 00 */ li r3, 0 +/* 800B2F84 000AFEE4 2C 05 00 00 */ cmpwi r5, 0 +/* 800B2F88 000AFEE8 40 81 00 40 */ ble lbl_800B2FC8 +/* 800B2F8C 000AFEEC 2C 05 00 08 */ cmpwi r5, 8 +/* 800B2F90 000AFEF0 38 85 FF F8 */ addi r4, r5, -8 +/* 800B2F94 000AFEF4 40 81 00 20 */ ble lbl_800B2FB4 +/* 800B2F98 000AFEF8 38 04 00 07 */ addi r0, r4, 7 +/* 800B2F9C 000AFEFC 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B2FA0 000AFF00 7C 09 03 A6 */ mtctr r0 +/* 800B2FA4 000AFF04 2C 04 00 00 */ cmpwi r4, 0 +/* 800B2FA8 000AFF08 40 81 00 0C */ ble lbl_800B2FB4 +lbl_800B2FAC: +/* 800B2FAC 000AFF0C 38 63 00 08 */ addi r3, r3, 8 +/* 800B2FB0 000AFF10 42 00 FF FC */ bdnz lbl_800B2FAC +lbl_800B2FB4: +/* 800B2FB4 000AFF14 7C 03 28 50 */ subf r0, r3, r5 +/* 800B2FB8 000AFF18 7C 09 03 A6 */ mtctr r0 +/* 800B2FBC 000AFF1C 7C 03 28 00 */ cmpw r3, r5 +/* 800B2FC0 000AFF20 40 80 00 08 */ bge lbl_800B2FC8 +lbl_800B2FC4: +/* 800B2FC4 000AFF24 42 00 00 00 */ bdnz lbl_800B2FC4 +lbl_800B2FC8: +/* 800B2FC8 000AFF28 38 00 00 00 */ li r0, 0 +/* 800B2FCC 000AFF2C 7F A4 EB 78 */ mr r4, r29 +/* 800B2FD0 000AFF30 90 01 01 9C */ stw r0, 0x19c(r1) +/* 800B2FD4 000AFF34 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800B2FD8 000AFF38 81 9D 00 00 */ lwz r12, 0(r29) +/* 800B2FDC 000AFF3C 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 800B2FE0 000AFF40 7D 89 03 A6 */ mtctr r12 +/* 800B2FE4 000AFF44 4E 80 04 21 */ bctrl +/* 800B2FE8 000AFF48 7F A3 EB 78 */ mr r3, r29 +/* 800B2FEC 000AFF4C 81 9D 00 00 */ lwz r12, 0(r29) +/* 800B2FF0 000AFF50 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 800B2FF4 000AFF54 7D 89 03 A6 */ mtctr r12 +/* 800B2FF8 000AFF58 4E 80 04 21 */ bctrl +/* 800B2FFC 000AFF5C 7F C6 F3 78 */ mr r6, r30 +/* 800B3000 000AFF60 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 800B3004 000AFF64 38 A1 09 A0 */ addi r5, r1, 0x9a0 +/* 800B3008 000AFF68 48 0D 0F C5 */ bl "DetectDynamicCollisionBoolean__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager" +/* 800B300C 000AFF6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B3010 000AFF70 41 82 01 14 */ beq lbl_800B3124 +/* 800B3014 000AFF74 7F A3 EB 78 */ mr r3, r29 +/* 800B3018 000AFF78 38 81 01 38 */ addi r4, r1, 0x138 +/* 800B301C 000AFF7C 48 06 87 0D */ bl SetMotionState__13CPhysicsActorFRC12CMotionState +/* 800B3020 000AFF80 7F A3 EB 78 */ mr r3, r29 +/* 800B3024 000AFF84 48 06 83 55 */ bl Stop__13CPhysicsActorFv +/* 800B3028 000AFF88 C0 02 8C C8 */ lfs f0, lbl_805AA9E8@sda21(r2) +/* 800B302C 000AFF8C FC 20 F8 90 */ fmr f1, f31 +/* 800B3030 000AFF90 7F C3 F3 78 */ mr r3, r30 +/* 800B3034 000AFF94 38 BD 03 18 */ addi r5, r29, 0x318 +/* 800B3038 000AFF98 D0 1D 02 60 */ stfs f0, 0x260(r29) +/* 800B303C 000AFF9C 38 C1 00 94 */ addi r6, r1, 0x94 +/* 800B3040 000AFFA0 38 E1 01 08 */ addi r7, r1, 0x108 +/* 800B3044 000AFFA4 C0 5D 02 88 */ lfs f2, 0x288(r29) +/* 800B3048 000AFFA8 39 01 01 6C */ addi r8, r1, 0x16c +/* 800B304C 000AFFAC C0 1D 02 84 */ lfs f0, 0x284(r29) +/* 800B3050 000AFFB0 39 21 00 50 */ addi r9, r1, 0x50 +/* 800B3054 000AFFB4 FC C0 10 50 */ fneg f6, f2 +/* 800B3058 000AFFB8 C0 5D 02 80 */ lfs f2, 0x280(r29) +/* 800B305C 000AFFBC FC A0 00 50 */ fneg f5, f0 +/* 800B3060 000AFFC0 C0 1D 02 7C */ lfs f0, 0x27c(r29) +/* 800B3064 000AFFC4 FC 80 10 50 */ fneg f4, f2 +/* 800B3068 000AFFC8 39 41 00 40 */ addi r10, r1, 0x40 +/* 800B306C 000AFFCC FC 40 28 18 */ frsp f2, f5 +/* 800B3070 000AFFD0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800B3074 000AFFD4 FC 60 20 18 */ frsp f3, f4 +/* 800B3078 000AFFD8 FC 00 30 18 */ frsp f0, f6 +/* 800B307C 000AFFDC 81 81 00 30 */ lwz r12, 0x30(r1) +/* 800B3080 000AFFE0 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800B3084 000AFFE4 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800B3088 000AFFE8 80 81 00 38 */ lwz r4, 0x38(r1) +/* 800B308C 000AFFEC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800B3090 000AFFF0 81 61 00 34 */ lwz r11, 0x34(r1) +/* 800B3094 000AFFF4 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800B3098 000AFFF8 91 81 00 40 */ stw r12, 0x40(r1) +/* 800B309C 000AFFFC 91 61 00 44 */ stw r11, 0x44(r1) +/* 800B30A0 000B0000 90 81 00 48 */ stw r4, 0x48(r1) +/* 800B30A4 000B0004 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800B30A8 000B0008 C0 7D 02 78 */ lfs f3, 0x278(r29) +/* 800B30AC 000B000C C0 5D 02 74 */ lfs f2, 0x274(r29) +/* 800B30B0 000B0010 C0 1D 02 70 */ lfs f0, 0x270(r29) +/* 800B30B4 000B0014 FC 60 18 50 */ fneg f3, f3 +/* 800B30B8 000B0018 FC 40 10 50 */ fneg f2, f2 +/* 800B30BC 000B001C D0 81 00 24 */ stfs f4, 0x24(r1) +/* 800B30C0 000B0020 FC 00 00 50 */ fneg f0, f0 +/* 800B30C4 000B0024 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 800B30C8 000B0028 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800B30CC 000B002C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800B30D0 000B0030 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 800B30D4 000B0034 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 800B30D8 000B0038 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f +/* 800B30DC 000B003C D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 800B30E0 000B0040 48 00 01 05 */ bl "MoveRiders__15CScriptPlatformFR13CStateManagerfbRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RC12CTransform4fRC12CTransform4fRC9CVector3f11CQuaternion" +/* 800B30E4 000B0044 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800B30E8 000B0048 7F A3 EB 78 */ mr r3, r29 +/* 800B30EC 000B004C C0 04 66 A0 */ lfs f0, skZero3f@l(r4) +/* 800B30F0 000B0050 7F C5 F3 78 */ mr r5, r30 +/* 800B30F4 000B0054 38 80 00 19 */ li r4, 0x19 +/* 800B30F8 000B0058 38 C0 FF FF */ li r6, -1 +/* 800B30FC 000B005C D0 1D 02 70 */ stfs f0, 0x270(r29) +/* 800B3100 000B0060 C0 1F 00 04 */ lfs f0, 4(r31) +/* 800B3104 000B0064 D0 1D 02 74 */ stfs f0, 0x274(r29) +/* 800B3108 000B0068 C0 1F 00 08 */ lfs f0, 8(r31) +/* 800B310C 000B006C D0 1D 02 78 */ stfs f0, 0x278(r29) +/* 800B3110 000B0070 4B F9 DF B1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800B3114 000B0074 88 1D 03 56 */ lbz r0, 0x356(r29) +/* 800B3118 000B0078 38 60 00 01 */ li r3, 1 +/* 800B311C 000B007C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800B3120 000B0080 98 1D 03 56 */ stb r0, 0x356(r29) +lbl_800B3124: +/* 800B3124 000B0084 80 A1 09 A0 */ lwz r5, 0x9a0(r1) +/* 800B3128 000B0088 38 60 00 00 */ li r3, 0 +/* 800B312C 000B008C 2C 05 00 00 */ cmpwi r5, 0 +/* 800B3130 000B0090 40 81 00 40 */ ble lbl_800B3170 +/* 800B3134 000B0094 2C 05 00 08 */ cmpwi r5, 8 +/* 800B3138 000B0098 38 85 FF F8 */ addi r4, r5, -8 +/* 800B313C 000B009C 40 81 00 20 */ ble lbl_800B315C +/* 800B3140 000B00A0 38 04 00 07 */ addi r0, r4, 7 +/* 800B3144 000B00A4 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B3148 000B00A8 7C 09 03 A6 */ mtctr r0 +/* 800B314C 000B00AC 2C 04 00 00 */ cmpwi r4, 0 +/* 800B3150 000B00B0 40 81 00 0C */ ble lbl_800B315C +lbl_800B3154: +/* 800B3154 000B00B4 38 63 00 08 */ addi r3, r3, 8 +/* 800B3158 000B00B8 42 00 FF FC */ bdnz lbl_800B3154 +lbl_800B315C: +/* 800B315C 000B00BC 7C 03 28 50 */ subf r0, r3, r5 +/* 800B3160 000B00C0 7C 09 03 A6 */ mtctr r0 +/* 800B3164 000B00C4 7C 03 28 00 */ cmpw r3, r5 +/* 800B3168 000B00C8 40 80 00 08 */ bge lbl_800B3170 +lbl_800B316C: +/* 800B316C 000B00CC 42 00 00 00 */ bdnz lbl_800B316C +lbl_800B3170: +/* 800B3170 000B00D0 38 00 00 00 */ li r0, 0 +/* 800B3174 000B00D4 90 01 09 A0 */ stw r0, 0x9a0(r1) +lbl_800B3178: +/* 800B3178 000B00D8 80 01 00 98 */ lwz r0, 0x98(r1) +/* 800B317C 000B00DC 80 61 00 A0 */ lwz r3, 0xa0(r1) +/* 800B3180 000B00E0 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B3184 000B00E4 90 61 00 10 */ stw r3, 0x10(r1) +/* 800B3188 000B00E8 7C 64 1B 78 */ mr r4, r3 +/* 800B318C 000B00EC 7C 03 02 14 */ add r0, r3, r0 +/* 800B3190 000B00F0 90 61 00 0C */ stw r3, 0xc(r1) +/* 800B3194 000B00F4 90 01 00 18 */ stw r0, 0x18(r1) +/* 800B3198 000B00F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B319C 000B00FC 48 00 00 08 */ b lbl_800B31A4 +lbl_800B31A0: +/* 800B31A0 000B0100 38 84 00 38 */ addi r4, r4, 0x38 +lbl_800B31A4: +/* 800B31A4 000B0104 7C 04 00 40 */ cmplw r4, r0 +/* 800B31A8 000B0108 40 82 FF F8 */ bne lbl_800B31A0 +/* 800B31AC 000B010C 28 03 00 00 */ cmplwi r3, 0 +/* 800B31B0 000B0110 41 82 00 08 */ beq lbl_800B31B8 +/* 800B31B4 000B0114 48 26 27 7D */ bl Free__7CMemoryFPCv +lbl_800B31B8: +/* 800B31B8 000B0118 38 00 11 C8 */ li r0, 0x11c8 +/* 800B31BC 000B011C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 800B31C0 000B0120 80 01 11 D4 */ lwz r0, 0x11d4(r1) +/* 800B31C4 000B0124 CB E1 11 C0 */ lfd f31, 0x11c0(r1) +/* 800B31C8 000B0128 83 E1 11 BC */ lwz r31, 0x11bc(r1) +/* 800B31CC 000B012C 83 C1 11 B8 */ lwz r30, 0x11b8(r1) +/* 800B31D0 000B0130 83 A1 11 B4 */ lwz r29, 0x11b4(r1) +/* 800B31D4 000B0134 83 81 11 B0 */ lwz r28, 0x11b0(r1) +/* 800B31D8 000B0138 7C 08 03 A6 */ mtlr r0 +/* 800B31DC 000B013C 38 21 11 D0 */ addi r1, r1, 0x11d0 +/* 800B31E0 000B0140 4E 80 00 20 */ blr + +.global "MoveRiders__15CScriptPlatformFR13CStateManagerfbRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RC12CTransform4fRC12CTransform4fRC9CVector3f11CQuaternion" +"MoveRiders__15CScriptPlatformFR13CStateManagerfbRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RC12CTransform4fRC12CTransform4fRC9CVector3f11CQuaternion": +/* 800B31E4 000B0144 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 800B31E8 000B0148 7C 08 02 A6 */ mflr r0 +/* 800B31EC 000B014C 90 01 01 34 */ stw r0, 0x134(r1) +/* 800B31F0 000B0150 BE C1 01 08 */ stmw r22, 0x108(r1) +/* 800B31F4 000B0154 7C B8 2B 78 */ mr r24, r5 +/* 800B31F8 000B0158 7C 77 1B 78 */ mr r23, r3 +/* 800B31FC 000B015C 7C D9 33 78 */ mr r25, r6 +/* 800B3200 000B0160 7C FA 3B 78 */ mr r26, r7 +/* 800B3204 000B0164 7D 1B 43 78 */ mr r27, r8 +/* 800B3208 000B0168 7D 3C 4B 78 */ mr r28, r9 +/* 800B320C 000B016C 7D 5D 53 78 */ mr r29, r10 +/* 800B3210 000B0170 54 9F 06 3E */ clrlwi r31, r4, 0x18 +/* 800B3214 000B0174 80 05 00 0C */ lwz r0, 0xc(r5) +/* 800B3218 000B0178 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800B321C 000B017C 48 00 02 74 */ b lbl_800B3490 +lbl_800B3220: +/* 800B3220 000B0180 28 1F 00 00 */ cmplwi r31, 0 +/* 800B3224 000B0184 41 82 02 60 */ beq lbl_800B3484 +/* 800B3228 000B0188 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800B322C 000B018C 7E E3 BB 78 */ mr r3, r23 +/* 800B3230 000B0190 38 81 00 10 */ addi r4, r1, 0x10 +/* 800B3234 000B0194 A0 05 00 00 */ lhz r0, 0(r5) +/* 800B3238 000B0198 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B323C 000B019C 4B F9 93 39 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B3240 000B01A0 7C 64 1B 78 */ mr r4, r3 +/* 800B3244 000B01A4 38 61 00 28 */ addi r3, r1, 0x28 +/* 800B3248 000B01A8 4B FF 94 9D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 800B324C 000B01AC 83 C3 00 04 */ lwz r30, 4(r3) +/* 800B3250 000B01B0 28 1E 00 00 */ cmplwi r30, 0 +/* 800B3254 000B01B4 41 82 00 10 */ beq lbl_800B3264 +/* 800B3258 000B01B8 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800B325C 000B01BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B3260 000B01C0 40 82 00 14 */ bne lbl_800B3274 +lbl_800B3264: +/* 800B3264 000B01C4 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 800B3268 000B01C8 38 03 00 38 */ addi r0, r3, 0x38 +/* 800B326C 000B01CC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800B3270 000B01D0 48 00 02 20 */ b lbl_800B3490 +lbl_800B3274: +/* 800B3274 000B01D4 82 C1 00 1C */ lwz r22, 0x1c(r1) +/* 800B3278 000B01D8 7F 44 D3 78 */ mr r4, r26 +/* 800B327C 000B01DC 38 61 00 68 */ addi r3, r1, 0x68 +/* 800B3280 000B01E0 38 A1 00 5C */ addi r5, r1, 0x5c +/* 800B3284 000B01E4 C0 56 00 34 */ lfs f2, 0x34(r22) +/* 800B3288 000B01E8 C0 36 00 24 */ lfs f1, 0x24(r22) +/* 800B328C 000B01EC C0 16 00 14 */ lfs f0, 0x14(r22) +/* 800B3290 000B01F0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800B3294 000B01F4 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 800B3298 000B01F8 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 800B329C 000B01FC 48 25 F7 E5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800B32A0 000B0200 C0 56 00 34 */ lfs f2, 0x34(r22) +/* 800B32A4 000B0204 7F 64 DB 78 */ mr r4, r27 +/* 800B32A8 000B0208 C0 36 00 24 */ lfs f1, 0x24(r22) +/* 800B32AC 000B020C 38 61 00 80 */ addi r3, r1, 0x80 +/* 800B32B0 000B0210 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 800B32B4 000B0214 38 A1 00 74 */ addi r5, r1, 0x74 +/* 800B32B8 000B0218 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800B32BC 000B021C D0 21 00 78 */ stfs f1, 0x78(r1) +/* 800B32C0 000B0220 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 800B32C4 000B0224 48 25 F7 BD */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800B32C8 000B0228 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 800B32CC 000B022C 7F C3 F3 78 */ mr r3, r30 +/* 800B32D0 000B0230 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 800B32D4 000B0234 38 81 00 98 */ addi r4, r1, 0x98 +/* 800B32D8 000B0238 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 800B32DC 000B023C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800B32E0 000B0240 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800B32E4 000B0244 C0 7C 00 04 */ lfs f3, 4(r28) +/* 800B32E8 000B0248 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800B32EC 000B024C C0 3C 00 00 */ lfs f1, 0(r28) +/* 800B32F0 000B0250 EC A3 10 2A */ fadds f5, f3, f2 +/* 800B32F4 000B0254 C0 9C 00 08 */ lfs f4, 8(r28) +/* 800B32F8 000B0258 C0 42 8C AC */ lfs f2, lbl_805AA9CC@sda21(r2) +/* 800B32FC 000B025C EC 61 00 2A */ fadds f3, f1, f0 +/* 800B3300 000B0260 EC 84 10 2A */ fadds f4, f4, f2 +/* 800B3304 000B0264 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 800B3308 000B0268 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 800B330C 000B026C D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 800B3310 000B0270 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 800B3314 000B0274 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 800B3318 000B0278 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800B331C 000B027C EC 42 28 2A */ fadds f2, f2, f5 +/* 800B3320 000B0280 EC 21 20 2A */ fadds f1, f1, f4 +/* 800B3324 000B0284 EC 00 18 2A */ fadds f0, f0, f3 +/* 800B3328 000B0288 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 800B332C 000B028C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800B3330 000B0290 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 800B3334 000B0294 48 06 77 05 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +/* 800B3338 000B0298 7F C3 F3 78 */ mr r3, r30 +/* 800B333C 000B029C 4B FA 05 81 */ bl GetMaterialFilter__6CActorCFv +/* 800B3340 000B02A0 7F C4 F3 78 */ mr r4, r30 +/* 800B3344 000B02A4 7C 76 1B 78 */ mr r22, r3 +/* 800B3348 000B02A8 81 9E 00 00 */ lwz r12, 0(r30) +/* 800B334C 000B02AC 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 800B3350 000B02B0 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 800B3354 000B02B4 7D 89 03 A6 */ mtctr r12 +/* 800B3358 000B02B8 4E 80 04 21 */ bctrl +/* 800B335C 000B02BC 7F C3 F3 78 */ mr r3, r30 +/* 800B3360 000B02C0 81 9E 00 00 */ lwz r12, 0(r30) +/* 800B3364 000B02C4 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 800B3368 000B02C8 7D 89 03 A6 */ mtctr r12 +/* 800B336C 000B02CC 4E 80 04 21 */ bctrl +/* 800B3370 000B02D0 7C 64 1B 78 */ mr r4, r3 +/* 800B3374 000B02D4 7E E3 BB 78 */ mr r3, r23 +/* 800B3378 000B02D8 7E C6 B3 78 */ mr r6, r22 +/* 800B337C 000B02DC 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 800B3380 000B02E0 48 0D 00 21 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter +/* 800B3384 000B02E4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800B3388 000B02E8 7C 76 1B 78 */ mr r22, r3 +/* 800B338C 000B02EC 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800B3390 000B02F0 7F C3 F3 78 */ mr r3, r30 +/* 800B3394 000B02F4 48 06 76 A5 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +/* 800B3398 000B02F8 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 800B339C 000B02FC 41 82 00 40 */ beq lbl_800B33DC +/* 800B33A0 000B0300 A0 1E 00 08 */ lhz r0, 8(r30) +/* 800B33A4 000B0304 7F 23 CB 78 */ mr r3, r25 +/* 800B33A8 000B0308 7F C5 F3 78 */ mr r5, r30 +/* 800B33AC 000B030C 7E E6 BB 78 */ mr r6, r23 +/* 800B33B0 000B0310 B0 01 00 08 */ sth r0, 8(r1) +/* 800B33B4 000B0314 38 81 00 0C */ addi r4, r1, 0xc +/* 800B33B8 000B0318 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B33BC 000B031C 48 00 04 15 */ bl "AddRider__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>9TUniqueIdPC13CPhysicsActorR13CStateManager" +/* 800B33C0 000B0320 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800B33C4 000B0324 7F 04 C3 78 */ mr r4, r24 +/* 800B33C8 000B0328 38 61 00 18 */ addi r3, r1, 0x18 +/* 800B33CC 000B032C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800B33D0 000B0330 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B33D4 000B0334 4B FF EA 31 */ bl sub_800b1e04 +/* 800B33D8 000B0338 48 00 00 B8 */ b lbl_800B3490 +lbl_800B33DC: +/* 800B33DC 000B033C 7F C3 F3 78 */ mr r3, r30 +/* 800B33E0 000B0340 38 81 00 8C */ addi r4, r1, 0x8c +/* 800B33E4 000B0344 4B F9 FA A9 */ bl SetTranslation__6CActorFRC9CVector3f +/* 800B33E8 000B0348 7F C4 F3 78 */ mr r4, r30 +/* 800B33EC 000B034C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B33F0 000B0350 4B FF 90 11 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 800B33F4 000B0354 80 63 00 04 */ lwz r3, 4(r3) +/* 800B33F8 000B0358 28 03 00 00 */ cmplwi r3, 0 +/* 800B33FC 000B035C 41 82 00 10 */ beq lbl_800B340C +/* 800B3400 000B0360 80 03 03 04 */ lwz r0, 0x304(r3) +/* 800B3404 000B0364 2C 00 00 00 */ cmpwi r0, 0 +/* 800B3408 000B0368 40 82 00 7C */ bne lbl_800B3484 +lbl_800B340C: +/* 800B340C 000B036C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B3410 000B0370 38 9E 00 34 */ addi r4, r30, 0x34 +/* 800B3414 000B0374 48 25 ED 15 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 800B3418 000B0378 7F A4 EB 78 */ mr r4, r29 +/* 800B341C 000B037C 38 61 00 4C */ addi r3, r1, 0x4c +/* 800B3420 000B0380 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800B3424 000B0384 48 25 DD 7D */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 800B3428 000B0388 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 800B342C 000B038C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800B3430 000B0390 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800B3434 000B0394 38 81 00 4C */ addi r4, r1, 0x4c +/* 800B3438 000B0398 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 800B343C 000B039C 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800B3440 000B03A0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800B3444 000B03A4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800B3448 000B03A8 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 800B344C 000B03AC 48 25 EA 71 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 800B3450 000B03B0 38 7E 00 34 */ addi r3, r30, 0x34 +/* 800B3454 000B03B4 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 800B3458 000B03B8 48 25 F6 E9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800B345C 000B03BC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 800B3460 000B03C0 38 60 00 01 */ li r3, 1 +/* 800B3464 000B03C4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800B3468 000B03C8 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 800B346C 000B03CC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 800B3470 000B03D0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800B3474 000B03D4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 800B3478 000B03D8 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 800B347C 000B03DC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800B3480 000B03E0 98 1E 00 E4 */ stb r0, 0xe4(r30) +lbl_800B3484: +/* 800B3484 000B03E4 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 800B3488 000B03E8 38 03 00 38 */ addi r0, r3, 0x38 +/* 800B348C 000B03EC 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_800B3490: +/* 800B3490 000B03F0 80 18 00 04 */ lwz r0, 4(r24) +/* 800B3494 000B03F4 80 78 00 0C */ lwz r3, 0xc(r24) +/* 800B3498 000B03F8 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B349C 000B03FC 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 800B34A0 000B0400 7C 03 02 14 */ add r0, r3, r0 +/* 800B34A4 000B0404 7C 04 00 40 */ cmplw r4, r0 +/* 800B34A8 000B0408 40 82 FD 78 */ bne lbl_800B3220 +/* 800B34AC 000B040C BA C1 01 08 */ lmw r22, 0x108(r1) +/* 800B34B0 000B0410 80 01 01 34 */ lwz r0, 0x134(r1) +/* 800B34B4 000B0414 7C 08 03 A6 */ mtlr r0 +/* 800B34B8 000B0418 38 21 01 30 */ addi r1, r1, 0x130 +/* 800B34BC 000B041C 4E 80 00 20 */ blr + +.global __ct__13CPhysicsStateFRC13CPhysicsState +__ct__13CPhysicsStateFRC13CPhysicsState: +/* 800B34C0 000B0420 C0 04 00 00 */ lfs f0, 0(r4) +/* 800B34C4 000B0424 D0 03 00 00 */ stfs f0, 0(r3) +/* 800B34C8 000B0428 C0 04 00 04 */ lfs f0, 4(r4) +/* 800B34CC 000B042C D0 03 00 04 */ stfs f0, 4(r3) +/* 800B34D0 000B0430 C0 04 00 08 */ lfs f0, 8(r4) +/* 800B34D4 000B0434 D0 03 00 08 */ stfs f0, 8(r3) +/* 800B34D8 000B0438 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 800B34DC 000B043C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800B34E0 000B0440 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 800B34E4 000B0444 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800B34E8 000B0448 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 800B34EC 000B044C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 800B34F0 000B0450 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 800B34F4 000B0454 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800B34F8 000B0458 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 800B34FC 000B045C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800B3500 000B0460 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 800B3504 000B0464 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 800B3508 000B0468 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 800B350C 000B046C D0 03 00 24 */ stfs f0, 0x24(r3) +/* 800B3510 000B0470 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 800B3514 000B0474 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 800B3518 000B0478 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 800B351C 000B047C D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 800B3520 000B0480 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 800B3524 000B0484 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 800B3528 000B0488 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 800B352C 000B048C D0 03 00 34 */ stfs f0, 0x34(r3) +/* 800B3530 000B0490 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 800B3534 000B0494 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 800B3538 000B0498 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 800B353C 000B049C D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 800B3540 000B04A0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 800B3544 000B04A4 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 800B3548 000B04A8 C0 04 00 44 */ lfs f0, 0x44(r4) +/* 800B354C 000B04AC D0 03 00 44 */ stfs f0, 0x44(r3) +/* 800B3550 000B04B0 C0 04 00 48 */ lfs f0, 0x48(r4) +/* 800B3554 000B04B4 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 800B3558 000B04B8 C0 04 00 4C */ lfs f0, 0x4c(r4) +/* 800B355C 000B04BC D0 03 00 4C */ stfs f0, 0x4c(r3) +/* 800B3560 000B04C0 C0 04 00 50 */ lfs f0, 0x50(r4) +/* 800B3564 000B04C4 D0 03 00 50 */ stfs f0, 0x50(r3) +/* 800B3568 000B04C8 C0 04 00 54 */ lfs f0, 0x54(r4) +/* 800B356C 000B04CC D0 03 00 54 */ stfs f0, 0x54(r3) +/* 800B3570 000B04D0 C0 04 00 58 */ lfs f0, 0x58(r4) +/* 800B3574 000B04D4 D0 03 00 58 */ stfs f0, 0x58(r3) +/* 800B3578 000B04D8 C0 04 00 5C */ lfs f0, 0x5c(r4) +/* 800B357C 000B04DC D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 800B3580 000B04E0 C0 04 00 60 */ lfs f0, 0x60(r4) +/* 800B3584 000B04E4 D0 03 00 60 */ stfs f0, 0x60(r3) +/* 800B3588 000B04E8 C0 04 00 64 */ lfs f0, 0x64(r4) +/* 800B358C 000B04EC D0 03 00 64 */ stfs f0, 0x64(r3) +/* 800B3590 000B04F0 C0 04 00 68 */ lfs f0, 0x68(r4) +/* 800B3594 000B04F4 D0 03 00 68 */ stfs f0, 0x68(r3) +/* 800B3598 000B04F8 C0 04 00 6C */ lfs f0, 0x6c(r4) +/* 800B359C 000B04FC D0 03 00 6C */ stfs f0, 0x6c(r3) +/* 800B35A0 000B0500 4E 80 00 20 */ blr + +.global "DecayRiders__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>fR13CStateManager" +"DecayRiders__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>fR13CStateManager": +/* 800B35A4 000B0504 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800B35A8 000B0508 7C 08 02 A6 */ mflr r0 +/* 800B35AC 000B050C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800B35B0 000B0510 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 800B35B4 000B0514 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 800B35B8 000B0518 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 800B35BC 000B051C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 800B35C0 000B0520 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800B35C4 000B0524 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800B35C8 000B0528 7C 7E 1B 78 */ mr r30, r3 +/* 800B35CC 000B052C FF C0 08 90 */ fmr f30, f1 +/* 800B35D0 000B0530 80 03 00 0C */ lwz r0, 0xc(r3) +/* 800B35D4 000B0534 7C 9F 23 78 */ mr r31, r4 +/* 800B35D8 000B0538 C3 E2 8C AC */ lfs f31, lbl_805AA9CC@sda21(r2) +/* 800B35DC 000B053C 90 01 00 18 */ stw r0, 0x18(r1) +/* 800B35E0 000B0540 48 00 00 70 */ b lbl_800B3650 +lbl_800B35E4: +/* 800B35E4 000B0544 80 E1 00 18 */ lwz r7, 0x18(r1) +/* 800B35E8 000B0548 C0 07 00 04 */ lfs f0, 4(r7) +/* 800B35EC 000B054C EC 00 F0 28 */ fsubs f0, f0, f30 +/* 800B35F0 000B0550 D0 07 00 04 */ stfs f0, 4(r7) +/* 800B35F4 000B0554 C0 07 00 04 */ lfs f0, 4(r7) +/* 800B35F8 000B0558 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 800B35FC 000B055C 4C 40 13 82 */ cror 2, 0, 2 +/* 800B3600 000B0560 40 82 00 44 */ bne lbl_800B3644 +/* 800B3604 000B0564 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B3608 000B0568 7F E3 FB 78 */ mr r3, r31 +/* 800B360C 000B056C 38 81 00 0C */ addi r4, r1, 0xc +/* 800B3610 000B0570 38 A1 00 08 */ addi r5, r1, 8 +/* 800B3614 000B0574 B0 01 00 08 */ sth r0, 8(r1) +/* 800B3618 000B0578 38 C0 00 1F */ li r6, 0x1f +/* 800B361C 000B057C A0 07 00 00 */ lhz r0, 0(r7) +/* 800B3620 000B0580 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B3624 000B0584 4B F9 08 31 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId +/* 800B3628 000B0588 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800B362C 000B058C 7F C4 F3 78 */ mr r4, r30 +/* 800B3630 000B0590 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B3634 000B0594 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800B3638 000B0598 90 01 00 10 */ stw r0, 0x10(r1) +/* 800B363C 000B059C 4B FF E7 C9 */ bl sub_800b1e04 +/* 800B3640 000B05A0 48 00 00 10 */ b lbl_800B3650 +lbl_800B3644: +/* 800B3644 000B05A4 80 61 00 18 */ lwz r3, 0x18(r1) +/* 800B3648 000B05A8 38 03 00 38 */ addi r0, r3, 0x38 +/* 800B364C 000B05AC 90 01 00 18 */ stw r0, 0x18(r1) +lbl_800B3650: +/* 800B3650 000B05B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B3654 000B05B4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800B3658 000B05B8 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B365C 000B05BC 80 81 00 18 */ lwz r4, 0x18(r1) +/* 800B3660 000B05C0 7C 03 02 14 */ add r0, r3, r0 +/* 800B3664 000B05C4 7C 04 00 40 */ cmplw r4, r0 +/* 800B3668 000B05C8 40 82 FF 7C */ bne lbl_800B35E4 +/* 800B366C 000B05CC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 800B3670 000B05D0 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 800B3674 000B05D4 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 800B3678 000B05D8 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 800B367C 000B05DC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800B3680 000B05E0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800B3684 000B05E4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800B3688 000B05E8 7C 08 03 A6 */ mtlr r0 +/* 800B368C 000B05EC 38 21 00 50 */ addi r1, r1, 0x50 +/* 800B3690 000B05F0 4E 80 00 20 */ blr + +.global "BuildNearListFromRiders__15CScriptPlatformFR13CStateManagerRCQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>" +"BuildNearListFromRiders__15CScriptPlatformFR13CStateManagerRCQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>": +/* 800B3694 000B05F4 94 21 F7 D0 */ stwu r1, -0x830(r1) +/* 800B3698 000B05F8 7C 08 02 A6 */ mflr r0 +/* 800B369C 000B05FC 90 01 08 34 */ stw r0, 0x834(r1) +/* 800B36A0 000B0600 38 00 00 00 */ li r0, 0 +/* 800B36A4 000B0604 BF 61 08 1C */ stmw r27, 0x81c(r1) +/* 800B36A8 000B0608 7C BE 2B 78 */ mr r30, r5 +/* 800B36AC 000B060C 7C 7C 1B 78 */ mr r28, r3 +/* 800B36B0 000B0610 7C 9D 23 78 */ mr r29, r4 +/* 800B36B4 000B0614 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B36B8 000B0618 3B E1 00 18 */ addi r31, r1, 0x18 +/* 800B36BC 000B061C 83 65 00 0C */ lwz r27, 0xc(r5) +/* 800B36C0 000B0620 48 00 00 58 */ b lbl_800B3718 +lbl_800B36C4: +/* 800B36C4 000B0624 A0 1B 00 00 */ lhz r0, 0(r27) +/* 800B36C8 000B0628 7F A3 EB 78 */ mr r3, r29 +/* 800B36CC 000B062C 38 81 00 08 */ addi r4, r1, 8 +/* 800B36D0 000B0630 B0 01 00 08 */ sth r0, 8(r1) +/* 800B36D4 000B0634 4B F9 8E A1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B36D8 000B0638 7C 64 1B 78 */ mr r4, r3 +/* 800B36DC 000B063C 38 61 00 0C */ addi r3, r1, 0xc +/* 800B36E0 000B0640 4B FF C5 B1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800B36E4 000B0644 80 63 00 04 */ lwz r3, 4(r3) +/* 800B36E8 000B0648 28 03 00 00 */ cmplwi r3, 0 +/* 800B36EC 000B064C 41 82 00 28 */ beq lbl_800B3714 +/* 800B36F0 000B0650 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B36F4 000B0654 A0 83 00 08 */ lhz r4, 8(r3) +/* 800B36F8 000B0658 54 00 08 3C */ slwi r0, r0, 1 +/* 800B36FC 000B065C 7C 7F 02 15 */ add. r3, r31, r0 +/* 800B3700 000B0660 41 82 00 08 */ beq lbl_800B3708 +/* 800B3704 000B0664 B0 83 00 00 */ sth r4, 0(r3) +lbl_800B3708: +/* 800B3708 000B0668 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800B370C 000B066C 38 03 00 01 */ addi r0, r3, 1 +/* 800B3710 000B0670 90 01 00 14 */ stw r0, 0x14(r1) +lbl_800B3714: +/* 800B3714 000B0674 3B 7B 00 38 */ addi r27, r27, 0x38 +lbl_800B3718: +/* 800B3718 000B0678 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B371C 000B067C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800B3720 000B0680 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B3724 000B0684 7C 03 02 14 */ add r0, r3, r0 +/* 800B3728 000B0688 7C 1B 00 40 */ cmplw r27, r0 +/* 800B372C 000B068C 40 82 FF 98 */ bne lbl_800B36C4 +/* 800B3730 000B0690 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B3734 000B0694 38 7C 00 04 */ addi r3, r28, 4 +/* 800B3738 000B0698 90 1C 00 00 */ stw r0, 0(r28) +/* 800B373C 000B069C 80 1C 00 00 */ lwz r0, 0(r28) +/* 800B3740 000B06A0 7C 09 03 A6 */ mtctr r0 +/* 800B3744 000B06A4 2C 00 00 00 */ cmpwi r0, 0 +/* 800B3748 000B06A8 40 81 00 20 */ ble lbl_800B3768 +lbl_800B374C: +/* 800B374C 000B06AC 28 03 00 00 */ cmplwi r3, 0 +/* 800B3750 000B06B0 41 82 00 0C */ beq lbl_800B375C +/* 800B3754 000B06B4 A0 1F 00 00 */ lhz r0, 0(r31) +/* 800B3758 000B06B8 B0 03 00 00 */ sth r0, 0(r3) +lbl_800B375C: +/* 800B375C 000B06BC 38 63 00 02 */ addi r3, r3, 2 +/* 800B3760 000B06C0 3B FF 00 02 */ addi r31, r31, 2 +/* 800B3764 000B06C4 42 00 FF E8 */ bdnz lbl_800B374C +lbl_800B3768: +/* 800B3768 000B06C8 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 800B376C 000B06CC 38 60 00 00 */ li r3, 0 +/* 800B3770 000B06D0 2C 05 00 00 */ cmpwi r5, 0 +/* 800B3774 000B06D4 40 81 00 40 */ ble lbl_800B37B4 +/* 800B3778 000B06D8 2C 05 00 08 */ cmpwi r5, 8 +/* 800B377C 000B06DC 38 85 FF F8 */ addi r4, r5, -8 +/* 800B3780 000B06E0 40 81 00 20 */ ble lbl_800B37A0 +/* 800B3784 000B06E4 38 04 00 07 */ addi r0, r4, 7 +/* 800B3788 000B06E8 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B378C 000B06EC 7C 09 03 A6 */ mtctr r0 +/* 800B3790 000B06F0 2C 04 00 00 */ cmpwi r4, 0 +/* 800B3794 000B06F4 40 81 00 0C */ ble lbl_800B37A0 +lbl_800B3798: +/* 800B3798 000B06F8 38 63 00 08 */ addi r3, r3, 8 +/* 800B379C 000B06FC 42 00 FF FC */ bdnz lbl_800B3798 +lbl_800B37A0: +/* 800B37A0 000B0700 7C 03 28 50 */ subf r0, r3, r5 +/* 800B37A4 000B0704 7C 09 03 A6 */ mtctr r0 +/* 800B37A8 000B0708 7C 03 28 00 */ cmpw r3, r5 +/* 800B37AC 000B070C 40 80 00 08 */ bge lbl_800B37B4 +lbl_800B37B0: +/* 800B37B0 000B0710 42 00 00 00 */ bdnz lbl_800B37B0 +lbl_800B37B4: +/* 800B37B4 000B0714 BB 61 08 1C */ lmw r27, 0x81c(r1) +/* 800B37B8 000B0718 38 00 00 00 */ li r0, 0 +/* 800B37BC 000B071C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B37C0 000B0720 80 01 08 34 */ lwz r0, 0x834(r1) +/* 800B37C4 000B0724 7C 08 03 A6 */ mtlr r0 +/* 800B37C8 000B0728 38 21 08 30 */ addi r1, r1, 0x830 +/* 800B37CC 000B072C 4E 80 00 20 */ blr + +.global "AddRider__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>9TUniqueIdPC13CPhysicsActorR13CStateManager" +"AddRider__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>9TUniqueIdPC13CPhysicsActorR13CStateManager": +/* 800B37D0 000B0730 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800B37D4 000B0734 7C 08 02 A6 */ mflr r0 +/* 800B37D8 000B0738 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) +/* 800B37DC 000B073C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800B37E0 000B0740 BF 61 00 CC */ stmw r27, 0xcc(r1) +/* 800B37E4 000B0744 7C 7B 1B 78 */ mr r27, r3 +/* 800B37E8 000B0748 7C 9C 23 78 */ mr r28, r4 +/* 800B37EC 000B074C 7C BD 2B 78 */ mr r29, r5 +/* 800B37F0 000B0750 7C DE 33 78 */ mr r30, r6 +/* 800B37F4 000B0754 38 61 00 54 */ addi r3, r1, 0x54 +/* 800B37F8 000B0758 A0 04 00 00 */ lhz r0, 0(r4) +/* 800B37FC 000B075C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800B3800 000B0760 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800B3804 000B0764 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800B3808 000B0768 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800B380C 000B076C B0 01 00 4C */ sth r0, 0x4c(r1) +/* 800B3810 000B0770 48 25 F3 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B3814 000B0774 80 1B 00 04 */ lwz r0, 4(r27) +/* 800B3818 000B0778 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 800B381C 000B077C 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B3820 000B0780 A0 81 00 4C */ lhz r4, 0x4c(r1) +/* 800B3824 000B0784 90 61 00 24 */ stw r3, 0x24(r1) +/* 800B3828 000B0788 7C A3 02 14 */ add r5, r3, r0 +/* 800B382C 000B078C 90 61 00 28 */ stw r3, 0x28(r1) +/* 800B3830 000B0790 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 800B3834 000B0794 90 A1 00 20 */ stw r5, 0x20(r1) +/* 800B3838 000B0798 48 00 00 10 */ b lbl_800B3848 +lbl_800B383C: +/* 800B383C 000B079C 80 61 00 28 */ lwz r3, 0x28(r1) +/* 800B3840 000B07A0 38 03 00 38 */ addi r0, r3, 0x38 +/* 800B3844 000B07A4 90 01 00 28 */ stw r0, 0x28(r1) +lbl_800B3848: +/* 800B3848 000B07A8 80 61 00 28 */ lwz r3, 0x28(r1) +/* 800B384C 000B07AC 7C 03 28 40 */ cmplw r3, r5 +/* 800B3850 000B07B0 41 82 00 10 */ beq lbl_800B3860 +/* 800B3854 000B07B4 A0 03 00 00 */ lhz r0, 0(r3) +/* 800B3858 000B07B8 7C 00 20 40 */ cmplw r0, r4 +/* 800B385C 000B07BC 40 82 FF E0 */ bne lbl_800B383C +lbl_800B3860: +/* 800B3860 000B07C0 80 61 00 28 */ lwz r3, 0x28(r1) +/* 800B3864 000B07C4 7C 03 28 40 */ cmplw r3, r5 +/* 800B3868 000B07C8 40 82 01 48 */ bne lbl_800B39B0 +/* 800B386C 000B07CC A0 1C 00 00 */ lhz r0, 0(r28) +/* 800B3870 000B07D0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800B3874 000B07D4 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) +/* 800B3878 000B07D8 3B E1 00 8C */ addi r31, r1, 0x8c +/* 800B387C 000B07DC B0 01 00 14 */ sth r0, 0x14(r1) +/* 800B3880 000B07E0 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800B3884 000B07E4 7F E3 FB 78 */ mr r3, r31 +/* 800B3888 000B07E8 B0 01 00 84 */ sth r0, 0x84(r1) +/* 800B388C 000B07EC D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800B3890 000B07F0 48 25 F2 E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B3894 000B07F4 A0 1C 00 00 */ lhz r0, 0(r28) +/* 800B3898 000B07F8 7F C3 F3 78 */ mr r3, r30 +/* 800B389C 000B07FC 38 81 00 10 */ addi r4, r1, 0x10 +/* 800B38A0 000B0800 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B38A4 000B0804 4B F9 8C D1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B38A8 000B0808 7C 64 1B 78 */ mr r4, r3 +/* 800B38AC 000B080C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800B38B0 000B0810 4B FF 8E 35 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 800B38B4 000B0814 83 83 00 04 */ lwz r28, 4(r3) +/* 800B38B8 000B0818 28 1C 00 00 */ cmplwi r28, 0 +/* 800B38BC 000B081C 41 82 00 7C */ beq lbl_800B3938 +/* 800B38C0 000B0820 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 800B38C4 000B0824 38 61 00 40 */ addi r3, r1, 0x40 +/* 800B38C8 000B0828 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 800B38CC 000B082C 38 9D 00 34 */ addi r4, r29, 0x34 +/* 800B38D0 000B0830 C0 7C 00 60 */ lfs f3, 0x60(r28) +/* 800B38D4 000B0834 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800B38D8 000B0838 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800B38DC 000B083C EC 81 00 28 */ fsubs f4, f1, f0 +/* 800B38E0 000B0840 C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 800B38E4 000B0844 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800B38E8 000B0848 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800B38EC 000B084C D0 81 00 38 */ stfs f4, 0x38(r1) +/* 800B38F0 000B0850 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800B38F4 000B0854 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800B38F8 000B0858 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800B38FC 000B085C 48 25 F1 29 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800B3900 000B0860 A0 1D 00 08 */ lhz r0, 8(r29) +/* 800B3904 000B0864 7F C3 F3 78 */ mr r3, r30 +/* 800B3908 000B0868 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 800B390C 000B086C 7F 84 E3 78 */ mr r4, r28 +/* 800B3910 000B0870 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 800B3914 000B0874 38 A1 00 0C */ addi r5, r1, 0xc +/* 800B3918 000B0878 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 800B391C 000B087C 38 C0 00 1F */ li r6, 0x1f +/* 800B3920 000B0880 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 800B3924 000B0884 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 800B3928 000B0888 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 800B392C 000B088C B0 01 00 08 */ sth r0, 8(r1) +/* 800B3930 000B0890 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B3934 000B0894 4B F9 05 9D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_800B3938: +/* 800B3938 000B0898 80 9B 00 04 */ lwz r4, 4(r27) +/* 800B393C 000B089C 7F 63 DB 78 */ mr r3, r27 +/* 800B3940 000B08A0 38 84 00 01 */ addi r4, r4, 1 +/* 800B3944 000B08A4 48 00 0A C1 */ bl sub_800b4404 +/* 800B3948 000B08A8 80 1B 00 04 */ lwz r0, 4(r27) +/* 800B394C 000B08AC 80 BB 00 08 */ lwz r5, 8(r27) +/* 800B3950 000B08B0 7C 00 28 00 */ cmpw r0, r5 +/* 800B3954 000B08B4 41 80 00 1C */ blt lbl_800B3970 +/* 800B3958 000B08B8 2C 05 00 00 */ cmpwi r5, 0 +/* 800B395C 000B08BC 7F 63 DB 78 */ mr r3, r27 +/* 800B3960 000B08C0 38 80 00 04 */ li r4, 4 +/* 800B3964 000B08C4 41 82 00 08 */ beq lbl_800B396C +/* 800B3968 000B08C8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B396C: +/* 800B396C 000B08CC 48 00 0A 99 */ bl sub_800b4404 +lbl_800B3970: +/* 800B3970 000B08D0 80 1B 00 04 */ lwz r0, 4(r27) +/* 800B3974 000B08D4 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 800B3978 000B08D8 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B397C 000B08DC 7C A3 02 15 */ add. r5, r3, r0 +/* 800B3980 000B08E0 41 82 00 20 */ beq lbl_800B39A0 +/* 800B3984 000B08E4 A0 01 00 84 */ lhz r0, 0x84(r1) +/* 800B3988 000B08E8 7F E4 FB 78 */ mr r4, r31 +/* 800B398C 000B08EC 38 65 00 08 */ addi r3, r5, 8 +/* 800B3990 000B08F0 B0 05 00 00 */ sth r0, 0(r5) +/* 800B3994 000B08F4 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 800B3998 000B08F8 D0 05 00 04 */ stfs f0, 4(r5) +/* 800B399C 000B08FC 48 25 F1 D9 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_800B39A0: +/* 800B39A0 000B0900 80 7B 00 04 */ lwz r3, 4(r27) +/* 800B39A4 000B0904 38 03 00 01 */ addi r0, r3, 1 +/* 800B39A8 000B0908 90 1B 00 04 */ stw r0, 4(r27) +/* 800B39AC 000B090C 48 00 00 0C */ b lbl_800B39B8 +lbl_800B39B0: +/* 800B39B0 000B0910 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) +/* 800B39B4 000B0914 D0 03 00 04 */ stfs f0, 4(r3) +lbl_800B39B8: +/* 800B39B8 000B0918 BB 61 00 CC */ lmw r27, 0xcc(r1) +/* 800B39BC 000B091C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800B39C0 000B0920 7C 08 03 A6 */ mtlr r0 +/* 800B39C4 000B0924 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800B39C8 000B0928 4E 80 00 20 */ blr + +.global GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager +GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager: +/* 800B39CC 000B092C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800B39D0 000B0930 7C 08 02 A6 */ mflr r0 +/* 800B39D4 000B0934 90 01 00 44 */ stw r0, 0x44(r1) +/* 800B39D8 000B0938 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800B39DC 000B093C 7C DF 33 78 */ mr r31, r6 +/* 800B39E0 000B0940 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800B39E4 000B0944 7C 9E 23 78 */ mr r30, r4 +/* 800B39E8 000B0948 38 81 00 10 */ addi r4, r1, 0x10 +/* 800B39EC 000B094C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800B39F0 000B0950 7C 7D 1B 78 */ mr r29, r3 +/* 800B39F4 000B0954 7F E3 FB 78 */ mr r3, r31 +/* 800B39F8 000B0958 A0 05 00 00 */ lhz r0, 0(r5) +/* 800B39FC 000B095C B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B3A00 000B0960 4B F9 8B A5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800B3A04 000B0964 7C 64 1B 78 */ mr r4, r3 +/* 800B3A08 000B0968 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B3A0C 000B096C 4B FF 2B 41 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 800B3A10 000B0970 80 83 00 04 */ lwz r4, 4(r3) +/* 800B3A14 000B0974 28 04 00 00 */ cmplwi r4, 0 +/* 800B3A18 000B0978 40 82 00 18 */ bne lbl_800B3A30 +/* 800B3A1C 000B097C 7F A3 EB 78 */ mr r3, r29 +/* 800B3A20 000B0980 7F C4 F3 78 */ mr r4, r30 +/* 800B3A24 000B0984 7F E5 FB 78 */ mr r5, r31 +/* 800B3A28 000B0988 48 00 00 71 */ bl GetWaypoint__15CScriptPlatformFR13CStateManager +/* 800B3A2C 000B098C 48 00 00 50 */ b lbl_800B3A7C +lbl_800B3A30: +/* 800B3A30 000B0990 7F E5 FB 78 */ mr r5, r31 +/* 800B3A34 000B0994 38 61 00 0C */ addi r3, r1, 0xc +/* 800B3A38 000B0998 4B FC 36 FD */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 800B3A3C 000B099C A0 01 00 0C */ lhz r0, 0xc(r1) +/* 800B3A40 000B09A0 7F E3 FB 78 */ mr r3, r31 +/* 800B3A44 000B09A4 38 81 00 08 */ addi r4, r1, 8 +/* 800B3A48 000B09A8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800B3A4C 000B09AC B0 01 00 08 */ sth r0, 8(r1) +/* 800B3A50 000B09B0 4B F9 8B 55 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800B3A54 000B09B4 7C 64 1B 78 */ mr r4, r3 +/* 800B3A58 000B09B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800B3A5C 000B09BC 4B FF 2A F1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 800B3A60 000B09C0 80 63 00 04 */ lwz r3, 4(r3) +/* 800B3A64 000B09C4 28 03 00 00 */ cmplwi r3, 0 +/* 800B3A68 000B09C8 41 82 00 0C */ beq lbl_800B3A74 +/* 800B3A6C 000B09CC C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 800B3A70 000B09D0 D0 1E 02 5C */ stfs f0, 0x25c(r30) +lbl_800B3A74: +/* 800B3A74 000B09D4 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800B3A78 000B09D8 B0 1D 00 00 */ sth r0, 0(r29) +lbl_800B3A7C: +/* 800B3A7C 000B09DC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800B3A80 000B09E0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800B3A84 000B09E4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800B3A88 000B09E8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800B3A8C 000B09EC 7C 08 03 A6 */ mtlr r0 +/* 800B3A90 000B09F0 38 21 00 40 */ addi r1, r1, 0x40 +/* 800B3A94 000B09F4 4E 80 00 20 */ blr + +.global GetWaypoint__15CScriptPlatformFR13CStateManager +GetWaypoint__15CScriptPlatformFR13CStateManager: +/* 800B3A98 000B09F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B3A9C 000B09FC 7C 08 02 A6 */ mflr r0 +/* 800B3AA0 000B0A00 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B3AA4 000B0A04 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B3AA8 000B0A08 7C 7F 1B 78 */ mr r31, r3 +/* 800B3AAC 000B0A0C 80 C4 00 2C */ lwz r6, 0x2c(r4) +/* 800B3AB0 000B0A10 48 00 00 30 */ b lbl_800B3AE0 +lbl_800B3AB4: +/* 800B3AB4 000B0A14 80 06 00 04 */ lwz r0, 4(r6) +/* 800B3AB8 000B0A18 2C 00 00 06 */ cmpwi r0, 6 +/* 800B3ABC 000B0A1C 40 82 00 20 */ bne lbl_800B3ADC +/* 800B3AC0 000B0A20 80 06 00 08 */ lwz r0, 8(r6) +/* 800B3AC4 000B0A24 7F E3 FB 78 */ mr r3, r31 +/* 800B3AC8 000B0A28 7C A4 2B 78 */ mr r4, r5 +/* 800B3ACC 000B0A2C 38 A1 00 08 */ addi r5, r1, 8 +/* 800B3AD0 000B0A30 90 01 00 08 */ stw r0, 8(r1) +/* 800B3AD4 000B0A34 4B F9 44 49 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800B3AD8 000B0A38 48 00 00 28 */ b lbl_800B3B00 +lbl_800B3ADC: +/* 800B3ADC 000B0A3C 38 C6 00 0C */ addi r6, r6, 0xc +lbl_800B3AE0: +/* 800B3AE0 000B0A40 80 04 00 24 */ lwz r0, 0x24(r4) +/* 800B3AE4 000B0A44 80 64 00 2C */ lwz r3, 0x2c(r4) +/* 800B3AE8 000B0A48 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800B3AEC 000B0A4C 7C 03 02 14 */ add r0, r3, r0 +/* 800B3AF0 000B0A50 7C 06 00 40 */ cmplw r6, r0 +/* 800B3AF4 000B0A54 40 82 FF C0 */ bne lbl_800B3AB4 +/* 800B3AF8 000B0A58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B3AFC 000B0A5C B0 1F 00 00 */ sth r0, 0(r31) +lbl_800B3B00: +/* 800B3B00 000B0A60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B3B04 000B0A64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B3B08 000B0A68 7C 08 03 A6 */ mtlr r0 +/* 800B3B0C 000B0A6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B3B10 000B0A70 4E 80 00 20 */ blr + +.global GetTouchBounds__15CScriptPlatformCFv +GetTouchBounds__15CScriptPlatformCFv: +/* 800B3B14 000B0A74 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800B3B18 000B0A78 7C 08 02 A6 */ mflr r0 +/* 800B3B1C 000B0A7C 7C 85 23 78 */ mr r5, r4 +/* 800B3B20 000B0A80 90 01 00 44 */ stw r0, 0x44(r1) +/* 800B3B24 000B0A84 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800B3B28 000B0A88 7C 7F 1B 78 */ mr r31, r3 +/* 800B3B2C 000B0A8C 88 04 00 30 */ lbz r0, 0x30(r4) +/* 800B3B30 000B0A90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B3B34 000B0A94 41 82 00 BC */ beq lbl_800B3BF0 +/* 800B3B38 000B0A98 80 05 03 14 */ lwz r0, 0x314(r5) +/* 800B3B3C 000B0A9C 28 00 00 00 */ cmplwi r0, 0 +/* 800B3B40 000B0AA0 41 82 00 64 */ beq lbl_800B3BA4 +/* 800B3B44 000B0AA4 7C 04 03 78 */ mr r4, r0 +/* 800B3B48 000B0AA8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B3B4C 000B0AAC 81 84 00 00 */ lwz r12, 0(r4) +/* 800B3B50 000B0AB0 38 A5 00 34 */ addi r5, r5, 0x34 +/* 800B3B54 000B0AB4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800B3B58 000B0AB8 7D 89 03 A6 */ mtctr r12 +/* 800B3B5C 000B0ABC 4E 80 04 21 */ bctrl +/* 800B3B60 000B0AC0 38 00 00 01 */ li r0, 1 +/* 800B3B64 000B0AC4 28 1F 00 00 */ cmplwi r31, 0 +/* 800B3B68 000B0AC8 98 1F 00 18 */ stb r0, 0x18(r31) +/* 800B3B6C 000B0ACC 41 82 00 8C */ beq lbl_800B3BF8 +/* 800B3B70 000B0AD0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 800B3B74 000B0AD4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800B3B78 000B0AD8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 800B3B7C 000B0ADC D0 1F 00 04 */ stfs f0, 4(r31) +/* 800B3B80 000B0AE0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800B3B84 000B0AE4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 800B3B88 000B0AE8 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800B3B8C 000B0AEC D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 800B3B90 000B0AF0 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800B3B94 000B0AF4 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800B3B98 000B0AF8 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 800B3B9C 000B0AFC D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 800B3BA0 000B0B00 48 00 00 58 */ b lbl_800B3BF8 +lbl_800B3BA4: +/* 800B3BA4 000B0B04 38 61 00 08 */ addi r3, r1, 8 +/* 800B3BA8 000B0B08 48 06 6D 85 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 800B3BAC 000B0B0C 38 00 00 01 */ li r0, 1 +/* 800B3BB0 000B0B10 28 1F 00 00 */ cmplwi r31, 0 +/* 800B3BB4 000B0B14 98 1F 00 18 */ stb r0, 0x18(r31) +/* 800B3BB8 000B0B18 41 82 00 40 */ beq lbl_800B3BF8 +/* 800B3BBC 000B0B1C C0 01 00 08 */ lfs f0, 8(r1) +/* 800B3BC0 000B0B20 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800B3BC4 000B0B24 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800B3BC8 000B0B28 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800B3BCC 000B0B2C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800B3BD0 000B0B30 D0 1F 00 08 */ stfs f0, 8(r31) +/* 800B3BD4 000B0B34 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800B3BD8 000B0B38 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 800B3BDC 000B0B3C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800B3BE0 000B0B40 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800B3BE4 000B0B44 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800B3BE8 000B0B48 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 800B3BEC 000B0B4C 48 00 00 0C */ b lbl_800B3BF8 +lbl_800B3BF0: +/* 800B3BF0 000B0B50 38 00 00 00 */ li r0, 0 +/* 800B3BF4 000B0B54 98 1F 00 18 */ stb r0, 0x18(r31) +lbl_800B3BF8: +/* 800B3BF8 000B0B58 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800B3BFC 000B0B5C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800B3C00 000B0B60 7C 08 03 A6 */ mtlr r0 +/* 800B3C04 000B0B64 38 21 00 40 */ addi r1, r1, 0x40 +/* 800B3C08 000B0B68 4E 80 00 20 */ blr + +.global __dt__15CScriptPlatformFv +__dt__15CScriptPlatformFv: +/* 800B3C0C 000B0B6C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800B3C10 000B0B70 7C 08 02 A6 */ mflr r0 +/* 800B3C14 000B0B74 90 01 00 44 */ stw r0, 0x44(r1) +/* 800B3C18 000B0B78 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800B3C1C 000B0B7C 7C 9F 23 78 */ mr r31, r4 +/* 800B3C20 000B0B80 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800B3C24 000B0B84 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800B3C28 000B0B88 41 82 01 60 */ beq lbl_800B3D88 +/* 800B3C2C 000B0B8C 3C 60 80 3E */ lis r3, lbl_803DF220@ha +/* 800B3C30 000B0B90 34 1E 03 38 */ addic. r0, r30, 0x338 +/* 800B3C34 000B0B94 38 03 F2 20 */ addi r0, r3, lbl_803DF220@l +/* 800B3C38 000B0B98 90 1E 00 00 */ stw r0, 0(r30) +/* 800B3C3C 000B0B9C 41 82 00 44 */ beq lbl_800B3C80 +/* 800B3C40 000B0BA0 80 1E 03 3C */ lwz r0, 0x33c(r30) +/* 800B3C44 000B0BA4 80 7E 03 44 */ lwz r3, 0x344(r30) +/* 800B3C48 000B0BA8 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B3C4C 000B0BAC 90 61 00 2C */ stw r3, 0x2c(r1) +/* 800B3C50 000B0BB0 7C 64 1B 78 */ mr r4, r3 +/* 800B3C54 000B0BB4 7C 03 02 14 */ add r0, r3, r0 +/* 800B3C58 000B0BB8 90 61 00 28 */ stw r3, 0x28(r1) +/* 800B3C5C 000B0BBC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B3C60 000B0BC0 90 01 00 30 */ stw r0, 0x30(r1) +/* 800B3C64 000B0BC4 48 00 00 08 */ b lbl_800B3C6C +lbl_800B3C68: +/* 800B3C68 000B0BC8 38 84 00 38 */ addi r4, r4, 0x38 +lbl_800B3C6C: +/* 800B3C6C 000B0BCC 7C 04 00 40 */ cmplw r4, r0 +/* 800B3C70 000B0BD0 40 82 FF F8 */ bne lbl_800B3C68 +/* 800B3C74 000B0BD4 28 03 00 00 */ cmplwi r3, 0 +/* 800B3C78 000B0BD8 41 82 00 08 */ beq lbl_800B3C80 +/* 800B3C7C 000B0BDC 48 26 1C B5 */ bl Free__7CMemoryFPCv +lbl_800B3C80: +/* 800B3C80 000B0BE0 34 1E 03 28 */ addic. r0, r30, 0x328 +/* 800B3C84 000B0BE4 41 82 00 44 */ beq lbl_800B3CC8 +/* 800B3C88 000B0BE8 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 800B3C8C 000B0BEC 80 7E 03 34 */ lwz r3, 0x334(r30) +/* 800B3C90 000B0BF0 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B3C94 000B0BF4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800B3C98 000B0BF8 7C 64 1B 78 */ mr r4, r3 +/* 800B3C9C 000B0BFC 7C 03 02 14 */ add r0, r3, r0 +/* 800B3CA0 000B0C00 90 61 00 18 */ stw r3, 0x18(r1) +/* 800B3CA4 000B0C04 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B3CA8 000B0C08 90 01 00 20 */ stw r0, 0x20(r1) +/* 800B3CAC 000B0C0C 48 00 00 08 */ b lbl_800B3CB4 +lbl_800B3CB0: +/* 800B3CB0 000B0C10 38 84 00 38 */ addi r4, r4, 0x38 +lbl_800B3CB4: +/* 800B3CB4 000B0C14 7C 04 00 40 */ cmplw r4, r0 +/* 800B3CB8 000B0C18 40 82 FF F8 */ bne lbl_800B3CB0 +/* 800B3CBC 000B0C1C 28 03 00 00 */ cmplwi r3, 0 +/* 800B3CC0 000B0C20 41 82 00 08 */ beq lbl_800B3CC8 +/* 800B3CC4 000B0C24 48 26 1C 6D */ bl Free__7CMemoryFPCv +lbl_800B3CC8: +/* 800B3CC8 000B0C28 34 1E 03 18 */ addic. r0, r30, 0x318 +/* 800B3CCC 000B0C2C 41 82 00 44 */ beq lbl_800B3D10 +/* 800B3CD0 000B0C30 80 1E 03 1C */ lwz r0, 0x31c(r30) +/* 800B3CD4 000B0C34 80 7E 03 24 */ lwz r3, 0x324(r30) +/* 800B3CD8 000B0C38 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B3CDC 000B0C3C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800B3CE0 000B0C40 7C 64 1B 78 */ mr r4, r3 +/* 800B3CE4 000B0C44 7C 03 02 14 */ add r0, r3, r0 +/* 800B3CE8 000B0C48 90 61 00 08 */ stw r3, 8(r1) +/* 800B3CEC 000B0C4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B3CF0 000B0C50 90 01 00 10 */ stw r0, 0x10(r1) +/* 800B3CF4 000B0C54 48 00 00 08 */ b lbl_800B3CFC +lbl_800B3CF8: +/* 800B3CF8 000B0C58 38 84 00 38 */ addi r4, r4, 0x38 +lbl_800B3CFC: +/* 800B3CFC 000B0C5C 7C 04 00 40 */ cmplw r4, r0 +/* 800B3D00 000B0C60 40 82 FF F8 */ bne lbl_800B3CF8 +/* 800B3D04 000B0C64 28 03 00 00 */ cmplwi r3, 0 +/* 800B3D08 000B0C68 41 82 00 08 */ beq lbl_800B3D10 +/* 800B3D0C 000B0C6C 48 26 1C 25 */ bl Free__7CMemoryFPCv +lbl_800B3D10: +/* 800B3D10 000B0C70 34 1E 03 14 */ addic. r0, r30, 0x314 +/* 800B3D14 000B0C74 41 82 00 24 */ beq lbl_800B3D38 +/* 800B3D18 000B0C78 80 7E 03 14 */ lwz r3, 0x314(r30) +/* 800B3D1C 000B0C7C 28 03 00 00 */ cmplwi r3, 0 +/* 800B3D20 000B0C80 41 82 00 18 */ beq lbl_800B3D38 +/* 800B3D24 000B0C84 81 83 00 00 */ lwz r12, 0(r3) +/* 800B3D28 000B0C88 38 80 00 01 */ li r4, 1 +/* 800B3D2C 000B0C8C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800B3D30 000B0C90 7D 89 03 A6 */ mtctr r12 +/* 800B3D34 000B0C94 4E 80 04 21 */ bctrl +lbl_800B3D38: +/* 800B3D38 000B0C98 34 1E 03 04 */ addic. r0, r30, 0x304 +/* 800B3D3C 000B0C9C 41 82 00 30 */ beq lbl_800B3D6C +/* 800B3D40 000B0CA0 88 1E 03 10 */ lbz r0, 0x310(r30) +/* 800B3D44 000B0CA4 28 00 00 00 */ cmplwi r0, 0 +/* 800B3D48 000B0CA8 41 82 00 1C */ beq lbl_800B3D64 +/* 800B3D4C 000B0CAC 34 7E 03 04 */ addic. r3, r30, 0x304 +/* 800B3D50 000B0CB0 41 82 00 14 */ beq lbl_800B3D64 +/* 800B3D54 000B0CB4 28 03 00 00 */ cmplwi r3, 0 +/* 800B3D58 000B0CB8 41 82 00 0C */ beq lbl_800B3D64 +/* 800B3D5C 000B0CBC 38 80 00 00 */ li r4, 0 +/* 800B3D60 000B0CC0 48 28 D0 E1 */ bl __dt__6CTokenFv +lbl_800B3D64: +/* 800B3D64 000B0CC4 38 00 00 00 */ li r0, 0 +/* 800B3D68 000B0CC8 98 1E 03 10 */ stb r0, 0x310(r30) +lbl_800B3D6C: +/* 800B3D6C 000B0CCC 7F C3 F3 78 */ mr r3, r30 +/* 800B3D70 000B0CD0 38 80 00 00 */ li r4, 0 +/* 800B3D74 000B0CD4 48 06 86 A1 */ bl __dt__13CPhysicsActorFv +/* 800B3D78 000B0CD8 7F E0 07 35 */ extsh. r0, r31 +/* 800B3D7C 000B0CDC 40 81 00 0C */ ble lbl_800B3D88 +/* 800B3D80 000B0CE0 7F C3 F3 78 */ mr r3, r30 +/* 800B3D84 000B0CE4 48 26 1B AD */ bl Free__7CMemoryFPCv +lbl_800B3D88: +/* 800B3D88 000B0CE8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800B3D8C 000B0CEC 7F C3 F3 78 */ mr r3, r30 +/* 800B3D90 000B0CF0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800B3D94 000B0CF4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800B3D98 000B0CF8 7C 08 03 A6 */ mtlr r0 +/* 800B3D9C 000B0CFC 38 21 00 40 */ addi r1, r1, 0x40 +/* 800B3DA0 000B0D00 4E 80 00 20 */ blr + +.global __dt__23CCollidableOBBTreeGroupFv +__dt__23CCollidableOBBTreeGroupFv: +/* 800B3DA4 000B0D04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B3DA8 000B0D08 7C 08 02 A6 */ mflr r0 +/* 800B3DAC 000B0D0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B3DB0 000B0D10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B3DB4 000B0D14 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800B3DB8 000B0D18 41 82 00 30 */ beq lbl_800B3DE8 +/* 800B3DBC 000B0D1C 3C 60 80 3F */ lis r3, lbl_803EC470@ha +/* 800B3DC0 000B0D20 38 03 C4 70 */ addi r0, r3, lbl_803EC470@l +/* 800B3DC4 000B0D24 90 1F 00 00 */ stw r0, 0(r31) +/* 800B3DC8 000B0D28 41 82 00 10 */ beq lbl_800B3DD8 +/* 800B3DCC 000B0D2C 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 800B3DD0 000B0D30 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 800B3DD4 000B0D34 90 1F 00 00 */ stw r0, 0(r31) +lbl_800B3DD8: +/* 800B3DD8 000B0D38 7C 80 07 35 */ extsh. r0, r4 +/* 800B3DDC 000B0D3C 40 81 00 0C */ ble lbl_800B3DE8 +/* 800B3DE0 000B0D40 7F E3 FB 78 */ mr r3, r31 +/* 800B3DE4 000B0D44 48 26 1B 4D */ bl Free__7CMemoryFPCv +lbl_800B3DE8: +/* 800B3DE8 000B0D48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B3DEC 000B0D4C 7F E3 FB 78 */ mr r3, r31 +/* 800B3DF0 000B0D50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B3DF4 000B0D54 7C 08 03 A6 */ mtlr r0 +/* 800B3DF8 000B0D58 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B3DFC 000B0D5C 4E 80 00 20 */ blr + +.global "__ct__15CScriptPlatformF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxfbbRC11CHealthInfoRC20CDamageVulnerabilityRCQ24rstl58optional_object<39TLockedToken<23CCollidableOBBTreeGroup>>bii" +"__ct__15CScriptPlatformF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxfbbRC11CHealthInfoRC20CDamageVulnerabilityRCQ24rstl58optional_object<39TLockedToken<23CCollidableOBBTreeGroup>>bii": +/* 800B3E00 000B0D60 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800B3E04 000B0D64 7C 08 02 A6 */ mflr r0 +/* 800B3E08 000B0D68 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800B3E0C 000B0D6C DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 800B3E10 000B0D70 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 800B3E14 000B0D74 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 800B3E18 000B0D78 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 800B3E1C 000B0D7C BD C1 00 78 */ stmw r14, 0x78(r1) +/* 800B3E20 000B0D80 FF C0 08 90 */ fmr f30, f1 +/* 800B3E24 000B0D84 8A 41 00 EB */ lbz r18, 0xeb(r1) +/* 800B3E28 000B0D88 FF E0 10 90 */ fmr f31, f2 +/* 800B3E2C 000B0D8C 8A 21 00 EF */ lbz r17, 0xef(r1) +/* 800B3E30 000B0D90 82 C1 00 F0 */ lwz r22, 0xf0(r1) +/* 800B3E34 000B0D94 7C 7F 1B 78 */ mr r31, r3 +/* 800B3E38 000B0D98 82 E1 00 F4 */ lwz r23, 0xf4(r1) +/* 800B3E3C 000B0D9C 7C 9B 23 78 */ mr r27, r4 +/* 800B3E40 000B0DA0 83 01 00 F8 */ lwz r24, 0xf8(r1) +/* 800B3E44 000B0DA4 7C BC 2B 78 */ mr r28, r5 +/* 800B3E48 000B0DA8 89 E1 00 FF */ lbz r15, 0xff(r1) +/* 800B3E4C 000B0DAC 7C DD 33 78 */ mr r29, r6 +/* 800B3E50 000B0DB0 81 C1 01 00 */ lwz r14, 0x100(r1) +/* 800B3E54 000B0DB4 7C FE 3B 78 */ mr r30, r7 +/* 800B3E58 000B0DB8 83 21 01 04 */ lwz r25, 0x104(r1) +/* 800B3E5C 000B0DBC 7D 13 43 78 */ mr r19, r8 +/* 800B3E60 000B0DC0 7D 34 4B 78 */ mr r20, r9 +/* 800B3E64 000B0DC4 7D 55 53 78 */ mr r21, r10 +/* 800B3E68 000B0DC8 4B F6 76 CD */ bl Identity__10CAxisAngleFv +/* 800B3E6C 000B0DCC 7C 70 1B 78 */ mr r16, r3 +/* 800B3E70 000B0DD0 4B F6 76 C5 */ bl Identity__10CAxisAngleFv +/* 800B3E74 000B0DD4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800B3E78 000B0DD8 C0 02 8C D4 */ lfs f0, lbl_805AA9F4@sda21(r2) +/* 800B3E7C 000B0DDC 3B 44 66 A0 */ addi r26, r4, skZero3f@l +/* 800B3E80 000B0DE0 38 00 00 00 */ li r0, 0 +/* 800B3E84 000B0DE4 C0 5A 00 00 */ lfs f2, 0(r26) +/* 800B3E88 000B0DE8 38 80 00 01 */ li r4, 1 +/* 800B3E8C 000B0DEC C0 7A 00 04 */ lfs f3, 4(r26) +/* 800B3E90 000B0DF0 C0 9A 00 08 */ lfs f4, 8(r26) +/* 800B3E94 000B0DF4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800B3E98 000B0DF8 80 AD 86 30 */ lwz r5, lbl_805A71F0@sda21(r13) +/* 800B3E9C 000B0DFC D0 61 00 44 */ stfs f3, 0x44(r1) +/* 800B3EA0 000B0E00 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 800B3EA4 000B0E04 C0 23 00 00 */ lfs f1, 0(r3) +/* 800B3EA8 000B0E08 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800B3EAC 000B0E0C C0 23 00 04 */ lfs f1, 4(r3) +/* 800B3EB0 000B0E10 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800B3EB4 000B0E14 C0 23 00 08 */ lfs f1, 8(r3) +/* 800B3EB8 000B0E18 38 60 00 00 */ li r3, 0 +/* 800B3EBC 000B0E1C D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800B3EC0 000B0E20 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 800B3EC4 000B0E24 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 800B3EC8 000B0E28 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 800B3ECC 000B0E2C C0 30 00 00 */ lfs f1, 0(r16) +/* 800B3ED0 000B0E30 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 800B3ED4 000B0E34 C0 30 00 04 */ lfs f1, 4(r16) +/* 800B3ED8 000B0E38 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 800B3EDC 000B0E3C C0 30 00 08 */ lfs f1, 8(r16) +/* 800B3EE0 000B0E40 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 800B3EE4 000B0E44 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800B3EE8 000B0E48 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B3EEC 000B0E4C 90 01 00 20 */ stw r0, 0x20(r1) +/* 800B3EF0 000B0E50 48 2D 60 05 */ bl __shl2i +/* 800B3EF4 000B0E54 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800B3EF8 000B0E58 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 800B3EFC 000B0E5C 7C 00 1B 78 */ or r0, r0, r3 +/* 800B3F00 000B0E60 80 AD 86 34 */ lwz r5, lbl_805A71F4@sda21(r13) +/* 800B3F04 000B0E64 7C C4 23 78 */ or r4, r6, r4 +/* 800B3F08 000B0E68 90 01 00 20 */ stw r0, 0x20(r1) +/* 800B3F0C 000B0E6C 38 60 00 00 */ li r3, 0 +/* 800B3F10 000B0E70 90 81 00 24 */ stw r4, 0x24(r1) +/* 800B3F14 000B0E74 38 80 00 01 */ li r4, 1 +/* 800B3F18 000B0E78 48 2D 5F DD */ bl __shl2i +/* 800B3F1C 000B0E7C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800B3F20 000B0E80 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 800B3F24 000B0E84 7C 00 1B 78 */ or r0, r0, r3 +/* 800B3F28 000B0E88 80 AD 86 38 */ lwz r5, lbl_805A71F8@sda21(r13) +/* 800B3F2C 000B0E8C 7C C4 23 78 */ or r4, r6, r4 +/* 800B3F30 000B0E90 90 01 00 20 */ stw r0, 0x20(r1) +/* 800B3F34 000B0E94 38 60 00 00 */ li r3, 0 +/* 800B3F38 000B0E98 90 81 00 24 */ stw r4, 0x24(r1) +/* 800B3F3C 000B0E9C 38 80 00 01 */ li r4, 1 +/* 800B3F40 000B0EA0 48 2D 5F B5 */ bl __shl2i +/* 800B3F44 000B0EA4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800B3F48 000B0EA8 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 800B3F4C 000B0EAC 7C 00 1B 78 */ or r0, r0, r3 +/* 800B3F50 000B0EB0 80 AD 86 3C */ lwz r5, lbl_805A71FC@sda21(r13) +/* 800B3F54 000B0EB4 7C C4 23 78 */ or r4, r6, r4 +/* 800B3F58 000B0EB8 90 01 00 20 */ stw r0, 0x20(r1) +/* 800B3F5C 000B0EBC 38 60 00 00 */ li r3, 0 +/* 800B3F60 000B0EC0 90 81 00 24 */ stw r4, 0x24(r1) +/* 800B3F64 000B0EC4 38 80 00 01 */ li r4, 1 +/* 800B3F68 000B0EC8 48 2D 5F 8D */ bl __shl2i +/* 800B3F6C 000B0ECC 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 800B3F70 000B0ED0 38 01 00 40 */ addi r0, r1, 0x40 +/* 800B3F74 000B0ED4 80 E1 00 24 */ lwz r7, 0x24(r1) +/* 800B3F78 000B0ED8 7E 25 8B 78 */ mr r5, r17 +/* 800B3F7C 000B0EDC 7C C3 1B 78 */ or r3, r6, r3 +/* 800B3F80 000B0EE0 A1 1B 00 00 */ lhz r8, 0(r27) +/* 800B3F84 000B0EE4 7C E4 23 78 */ or r4, r7, r4 +/* 800B3F88 000B0EE8 90 61 00 20 */ stw r3, 0x20(r1) +/* 800B3F8C 000B0EEC C0 22 8C D8 */ lfs f1, lbl_805AA9F8@sda21(r2) +/* 800B3F90 000B0EF0 7F E3 FB 78 */ mr r3, r31 +/* 800B3F94 000B0EF4 90 81 00 24 */ stw r4, 0x24(r1) +/* 800B3F98 000B0EF8 7F 86 E3 78 */ mr r6, r28 +/* 800B3F9C 000B0EFC C0 42 8C DC */ lfs f2, lbl_805AA9FC@sda21(r2) +/* 800B3FA0 000B0F00 7F A7 EB 78 */ mr r7, r29 +/* 800B3FA4 000B0F04 B1 01 00 18 */ sth r8, 0x18(r1) +/* 800B3FA8 000B0F08 7F C8 F3 78 */ mr r8, r30 +/* 800B3FAC 000B0F0C 7E 69 9B 78 */ mr r9, r19 +/* 800B3FB0 000B0F10 38 81 00 18 */ addi r4, r1, 0x18 +/* 800B3FB4 000B0F14 92 A1 00 08 */ stw r21, 8(r1) +/* 800B3FB8 000B0F18 39 41 00 20 */ addi r10, r1, 0x20 +/* 800B3FBC 000B0F1C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800B3FC0 000B0F20 92 81 00 10 */ stw r20, 0x10(r1) +/* 800B3FC4 000B0F24 48 06 84 ED */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 800B3FC8 000B0F28 3C 60 80 3E */ lis r3, lbl_803DF220@ha +/* 800B3FCC 000B0F2C C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) +/* 800B3FD0 000B0F30 38 03 F2 20 */ addi r0, r3, lbl_803DF220@l +/* 800B3FD4 000B0F34 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800B3FD8 000B0F38 90 1F 00 00 */ stw r0, 0(r31) +/* 800B3FDC 000B0F3C 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 800B3FE0 000B0F40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B3FE4 000B0F44 B0 1F 02 58 */ sth r0, 0x258(r31) +/* 800B3FE8 000B0F48 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B3FEC 000B0F4C B0 1F 02 5A */ sth r0, 0x25a(r31) +/* 800B3FF0 000B0F50 D3 DF 02 5C */ stfs f30, 0x25c(r31) +/* 800B3FF4 000B0F54 D0 1F 02 60 */ stfs f0, 0x260(r31) +/* 800B3FF8 000B0F58 D0 1F 02 64 */ stfs f0, 0x264(r31) +/* 800B3FFC 000B0F5C C0 14 00 5C */ lfs f0, 0x5c(r20) +/* 800B4000 000B0F60 D0 1F 02 68 */ stfs f0, 0x268(r31) +/* 800B4004 000B0F64 C0 14 00 60 */ lfs f0, 0x60(r20) +/* 800B4008 000B0F68 D0 1F 02 6C */ stfs f0, 0x26c(r31) +/* 800B400C 000B0F6C C0 04 66 A0 */ lfs f0, skZero3f@l(r4) +/* 800B4010 000B0F70 D0 1F 02 70 */ stfs f0, 0x270(r31) +/* 800B4014 000B0F74 C0 1A 00 04 */ lfs f0, 4(r26) +/* 800B4018 000B0F78 D0 1F 02 74 */ stfs f0, 0x274(r31) +/* 800B401C 000B0F7C C0 1A 00 08 */ lfs f0, 8(r26) +/* 800B4020 000B0F80 D0 1F 02 78 */ stfs f0, 0x278(r31) +/* 800B4024 000B0F84 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) +/* 800B4028 000B0F88 D0 1F 02 7C */ stfs f0, 0x27c(r31) +/* 800B402C 000B0F8C C0 03 00 04 */ lfs f0, 4(r3) +/* 800B4030 000B0F90 D0 1F 02 80 */ stfs f0, 0x280(r31) +/* 800B4034 000B0F94 C0 03 00 08 */ lfs f0, 8(r3) +/* 800B4038 000B0F98 D0 1F 02 84 */ stfs f0, 0x284(r31) +/* 800B403C 000B0F9C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800B4040 000B0FA0 D0 1F 02 88 */ stfs f0, 0x288(r31) +/* 800B4044 000B0FA4 C0 16 00 00 */ lfs f0, 0(r22) +/* 800B4048 000B0FA8 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 800B404C 000B0FAC C0 16 00 04 */ lfs f0, 4(r22) +/* 800B4050 000B0FB0 D0 1F 02 90 */ stfs f0, 0x290(r31) +/* 800B4054 000B0FB4 C0 16 00 00 */ lfs f0, 0(r22) +/* 800B4058 000B0FB8 D0 1F 02 94 */ stfs f0, 0x294(r31) +/* 800B405C 000B0FBC C0 16 00 04 */ lfs f0, 4(r22) +/* 800B4060 000B0FC0 D0 1F 02 98 */ stfs f0, 0x298(r31) +/* 800B4064 000B0FC4 80 77 00 00 */ lwz r3, 0(r23) +/* 800B4068 000B0FC8 80 17 00 04 */ lwz r0, 4(r23) +/* 800B406C 000B0FCC 90 7F 02 9C */ stw r3, 0x29c(r31) +/* 800B4070 000B0FD0 90 1F 02 A0 */ stw r0, 0x2a0(r31) +/* 800B4074 000B0FD4 80 77 00 08 */ lwz r3, 8(r23) +/* 800B4078 000B0FD8 80 17 00 0C */ lwz r0, 0xc(r23) +/* 800B407C 000B0FDC 90 7F 02 A4 */ stw r3, 0x2a4(r31) +/* 800B4080 000B0FE0 90 1F 02 A8 */ stw r0, 0x2a8(r31) +/* 800B4084 000B0FE4 80 77 00 10 */ lwz r3, 0x10(r23) +/* 800B4088 000B0FE8 80 17 00 14 */ lwz r0, 0x14(r23) +/* 800B408C 000B0FEC 90 7F 02 AC */ stw r3, 0x2ac(r31) +/* 800B4090 000B0FF0 90 1F 02 B0 */ stw r0, 0x2b0(r31) +/* 800B4094 000B0FF4 80 77 00 18 */ lwz r3, 0x18(r23) +/* 800B4098 000B0FF8 80 17 00 1C */ lwz r0, 0x1c(r23) +/* 800B409C 000B0FFC 90 7F 02 B4 */ stw r3, 0x2b4(r31) +/* 800B40A0 000B1000 90 1F 02 B8 */ stw r0, 0x2b8(r31) +/* 800B40A4 000B1004 80 77 00 20 */ lwz r3, 0x20(r23) +/* 800B40A8 000B1008 80 17 00 24 */ lwz r0, 0x24(r23) +/* 800B40AC 000B100C 90 7F 02 BC */ stw r3, 0x2bc(r31) +/* 800B40B0 000B1010 90 1F 02 C0 */ stw r0, 0x2c0(r31) +/* 800B40B4 000B1014 80 77 00 28 */ lwz r3, 0x28(r23) +/* 800B40B8 000B1018 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 800B40BC 000B101C 90 7F 02 C4 */ stw r3, 0x2c4(r31) +/* 800B40C0 000B1020 90 1F 02 C8 */ stw r0, 0x2c8(r31) +/* 800B40C4 000B1024 80 77 00 30 */ lwz r3, 0x30(r23) +/* 800B40C8 000B1028 80 17 00 34 */ lwz r0, 0x34(r23) +/* 800B40CC 000B102C 90 7F 02 CC */ stw r3, 0x2cc(r31) +/* 800B40D0 000B1030 90 1F 02 D0 */ stw r0, 0x2d0(r31) +/* 800B40D4 000B1034 80 17 00 38 */ lwz r0, 0x38(r23) +/* 800B40D8 000B1038 90 1F 02 D4 */ stw r0, 0x2d4(r31) +/* 800B40DC 000B103C 80 77 00 3C */ lwz r3, 0x3c(r23) +/* 800B40E0 000B1040 80 17 00 40 */ lwz r0, 0x40(r23) +/* 800B40E4 000B1044 90 7F 02 D8 */ stw r3, 0x2d8(r31) +/* 800B40E8 000B1048 90 1F 02 DC */ stw r0, 0x2dc(r31) +/* 800B40EC 000B104C 80 77 00 44 */ lwz r3, 0x44(r23) +/* 800B40F0 000B1050 80 17 00 48 */ lwz r0, 0x48(r23) +/* 800B40F4 000B1054 90 7F 02 E0 */ stw r3, 0x2e0(r31) +/* 800B40F8 000B1058 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 800B40FC 000B105C 80 77 00 4C */ lwz r3, 0x4c(r23) +/* 800B4100 000B1060 80 17 00 50 */ lwz r0, 0x50(r23) +/* 800B4104 000B1064 90 7F 02 E8 */ stw r3, 0x2e8(r31) +/* 800B4108 000B1068 90 1F 02 EC */ stw r0, 0x2ec(r31) +/* 800B410C 000B106C 80 77 00 54 */ lwz r3, 0x54(r23) +/* 800B4110 000B1070 80 17 00 58 */ lwz r0, 0x58(r23) +/* 800B4114 000B1074 90 7F 02 F0 */ stw r3, 0x2f0(r31) +/* 800B4118 000B1078 90 1F 02 F4 */ stw r0, 0x2f4(r31) +/* 800B411C 000B107C 80 17 00 5C */ lwz r0, 0x5c(r23) +/* 800B4120 000B1080 90 1F 02 F8 */ stw r0, 0x2f8(r31) +/* 800B4124 000B1084 80 17 00 60 */ lwz r0, 0x60(r23) +/* 800B4128 000B1088 90 1F 02 FC */ stw r0, 0x2fc(r31) +/* 800B412C 000B108C 80 17 00 64 */ lwz r0, 0x64(r23) +/* 800B4130 000B1090 90 1F 03 00 */ stw r0, 0x300(r31) +/* 800B4134 000B1094 88 18 00 0C */ lbz r0, 0xc(r24) +/* 800B4138 000B1098 98 1F 03 10 */ stb r0, 0x310(r31) +/* 800B413C 000B109C 88 18 00 0C */ lbz r0, 0xc(r24) +/* 800B4140 000B10A0 28 00 00 00 */ cmplwi r0, 0 +/* 800B4144 000B10A4 41 82 00 28 */ beq lbl_800B416C +/* 800B4148 000B10A8 36 1F 03 04 */ addic. r16, r31, 0x304 +/* 800B414C 000B10AC 41 82 00 20 */ beq lbl_800B416C +/* 800B4150 000B10B0 7E 03 83 78 */ mr r3, r16 +/* 800B4154 000B10B4 7F 04 C3 78 */ mr r4, r24 +/* 800B4158 000B10B8 48 28 CD 51 */ bl __ct__6CTokenFRC6CToken +/* 800B415C 000B10BC 80 18 00 08 */ lwz r0, 8(r24) +/* 800B4160 000B10C0 7E 03 83 78 */ mr r3, r16 +/* 800B4164 000B10C4 90 10 00 08 */ stw r0, 8(r16) +/* 800B4168 000B10C8 48 28 CC 1D */ bl Lock__6CTokenFv +lbl_800B416C: +/* 800B416C 000B10CC 38 C0 00 00 */ li r6, 0 +/* 800B4170 000B10D0 38 A0 00 01 */ li r5, 1 +/* 800B4174 000B10D4 90 DF 03 14 */ stw r6, 0x314(r31) +/* 800B4178 000B10D8 38 60 00 00 */ li r3, 0 +/* 800B417C 000B10DC 38 80 00 01 */ li r4, 1 +/* 800B4180 000B10E0 90 DF 03 1C */ stw r6, 0x31c(r31) +/* 800B4184 000B10E4 90 DF 03 20 */ stw r6, 0x320(r31) +/* 800B4188 000B10E8 90 DF 03 24 */ stw r6, 0x324(r31) +/* 800B418C 000B10EC 90 DF 03 2C */ stw r6, 0x32c(r31) +/* 800B4190 000B10F0 90 DF 03 30 */ stw r6, 0x330(r31) +/* 800B4194 000B10F4 90 DF 03 34 */ stw r6, 0x334(r31) +/* 800B4198 000B10F8 90 DF 03 3C */ stw r6, 0x33c(r31) +/* 800B419C 000B10FC 90 DF 03 40 */ stw r6, 0x340(r31) +/* 800B41A0 000B1100 90 DF 03 44 */ stw r6, 0x344(r31) +/* 800B41A4 000B1104 D3 FF 03 48 */ stfs f31, 0x348(r31) +/* 800B41A8 000B1108 91 DF 03 4C */ stw r14, 0x34c(r31) +/* 800B41AC 000B110C 93 3F 03 50 */ stw r25, 0x350(r31) +/* 800B41B0 000B1110 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B41B4 000B1114 B0 1F 03 54 */ sth r0, 0x354(r31) +/* 800B41B8 000B1118 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B41BC 000B111C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800B41C0 000B1120 98 1F 03 56 */ stb r0, 0x356(r31) +/* 800B41C4 000B1124 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B41C8 000B1128 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 800B41CC 000B112C 98 1F 03 56 */ stb r0, 0x356(r31) +/* 800B41D0 000B1130 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B41D4 000B1134 52 40 2E B4 */ rlwimi r0, r18, 5, 0x1a, 0x1a +/* 800B41D8 000B1138 98 1F 03 56 */ stb r0, 0x356(r31) +/* 800B41DC 000B113C 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B41E0 000B1140 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 800B41E4 000B1144 98 1F 03 56 */ stb r0, 0x356(r31) +/* 800B41E8 000B1148 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B41EC 000B114C 51 E0 1F 38 */ rlwimi r0, r15, 3, 0x1c, 0x1c +/* 800B41F0 000B1150 98 1F 03 56 */ stb r0, 0x356(r31) +/* 800B41F4 000B1154 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B41F8 000B1158 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 800B41FC 000B115C 98 1F 03 56 */ stb r0, 0x356(r31) +/* 800B4200 000B1160 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B4204 000B1164 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 800B4208 000B1168 98 1F 03 56 */ stb r0, 0x356(r31) +/* 800B420C 000B116C 88 1F 03 56 */ lbz r0, 0x356(r31) +/* 800B4210 000B1170 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 800B4214 000B1174 98 1F 03 56 */ stb r0, 0x356(r31) +/* 800B4218 000B1178 80 AD 86 44 */ lwz r5, lbl_805A7204@sda21(r13) +/* 800B421C 000B117C 48 2D 5C D9 */ bl __shl2i +/* 800B4220 000B1180 80 AD 86 48 */ lwz r5, lbl_805A7208@sda21(r13) +/* 800B4224 000B1184 7C 8F 23 78 */ mr r15, r4 +/* 800B4228 000B1188 7C 6E 1B 78 */ mr r14, r3 +/* 800B422C 000B118C 38 60 00 00 */ li r3, 0 +/* 800B4230 000B1190 38 80 00 01 */ li r4, 1 +/* 800B4234 000B1194 48 2D 5C C1 */ bl __shl2i +/* 800B4238 000B1198 80 AD 86 4C */ lwz r5, lbl_805A720C@sda21(r13) +/* 800B423C 000B119C 7D EF 23 78 */ or r15, r15, r4 +/* 800B4240 000B11A0 7D CE 1B 78 */ or r14, r14, r3 +/* 800B4244 000B11A4 38 60 00 00 */ li r3, 0 +/* 800B4248 000B11A8 38 80 00 01 */ li r4, 1 +/* 800B424C 000B11AC 48 2D 5C A9 */ bl __shl2i +/* 800B4250 000B11B0 80 AD 86 40 */ lwz r5, lbl_805A7200@sda21(r13) +/* 800B4254 000B11B4 7D EF 23 78 */ or r15, r15, r4 +/* 800B4258 000B11B8 7D CE 1B 78 */ or r14, r14, r3 +/* 800B425C 000B11BC 38 60 00 00 */ li r3, 0 +/* 800B4260 000B11C0 38 80 00 01 */ li r4, 1 +/* 800B4264 000B11C4 48 2D 5C 91 */ bl __shl2i +/* 800B4268 000B11C8 38 00 00 03 */ li r0, 3 +/* 800B426C 000B11CC 90 81 00 2C */ stw r4, 0x2c(r1) +/* 800B4270 000B11D0 38 81 00 28 */ addi r4, r1, 0x28 +/* 800B4274 000B11D4 90 61 00 28 */ stw r3, 0x28(r1) +/* 800B4278 000B11D8 7F E3 FB 78 */ mr r3, r31 +/* 800B427C 000B11DC 91 E1 00 34 */ stw r15, 0x34(r1) +/* 800B4280 000B11E0 91 C1 00 30 */ stw r14, 0x30(r1) +/* 800B4284 000B11E4 90 01 00 38 */ stw r0, 0x38(r1) +/* 800B4288 000B11E8 4B F9 F6 19 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 800B428C 000B11EC 38 60 00 00 */ li r3, 0 +/* 800B4290 000B11F0 88 1F 00 F8 */ lbz r0, 0xf8(r31) +/* 800B4294 000B11F4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800B4298 000B11F8 98 1F 00 F8 */ stb r0, 0xf8(r31) +/* 800B429C 000B11FC 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 800B42A0 000B1200 28 04 00 00 */ cmplwi r4, 0 +/* 800B42A4 000B1204 41 82 00 14 */ beq lbl_800B42B8 +/* 800B42A8 000B1208 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800B42AC 000B120C 28 00 00 00 */ cmplwi r0, 0 +/* 800B42B0 000B1210 41 82 00 08 */ beq lbl_800B42B8 +/* 800B42B4 000B1214 38 60 00 01 */ li r3, 1 +lbl_800B42B8: +/* 800B42B8 000B1218 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B42BC 000B121C 41 82 00 38 */ beq lbl_800B42F4 +/* 800B42C0 000B1220 80 64 00 10 */ lwz r3, 0x10(r4) +/* 800B42C4 000B1224 38 80 00 01 */ li r4, 1 +/* 800B42C8 000B1228 88 03 02 20 */ lbz r0, 0x220(r3) +/* 800B42CC 000B122C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800B42D0 000B1230 98 03 02 20 */ stb r0, 0x220(r3) +/* 800B42D4 000B1234 88 03 02 20 */ lbz r0, 0x220(r3) +/* 800B42D8 000B1238 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800B42DC 000B123C 98 03 02 20 */ stb r0, 0x220(r3) +/* 800B42E0 000B1240 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800B42E4 000B1244 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800B42E8 000B1248 88 03 02 20 */ lbz r0, 0x220(r3) +/* 800B42EC 000B124C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800B42F0 000B1250 98 03 02 20 */ stb r0, 0x220(r3) +lbl_800B42F4: +/* 800B42F4 000B1254 88 1F 03 10 */ lbz r0, 0x310(r31) +/* 800B42F8 000B1258 28 00 00 00 */ cmplwi r0, 0 +/* 800B42FC 000B125C 41 82 00 54 */ beq lbl_800B4350 +/* 800B4300 000B1260 3C 80 80 3D */ lis r4, lbl_803CDE70@ha +/* 800B4304 000B1264 38 60 00 18 */ li r3, 0x18 +/* 800B4308 000B1268 38 84 DE 70 */ addi r4, r4, lbl_803CDE70@l +/* 800B430C 000B126C 38 A0 00 00 */ li r5, 0 +/* 800B4310 000B1270 48 26 15 5D */ bl __nw__FUlPCcPCc +/* 800B4314 000B1274 7C 6E 1B 79 */ or. r14, r3, r3 +/* 800B4318 000B1278 41 82 00 14 */ beq lbl_800B432C +/* 800B431C 000B127C 80 9F 03 0C */ lwz r4, 0x30c(r31) +/* 800B4320 000B1280 38 BF 00 68 */ addi r5, r31, 0x68 +/* 800B4324 000B1284 48 1F 96 41 */ bl "__ct__23CCollidableOBBTreeGroupFRCQ24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>R14CCMaterialList" +/* 800B4328 000B1288 7C 6E 1B 78 */ mr r14, r3 +lbl_800B432C: +/* 800B432C 000B128C 80 7F 03 14 */ lwz r3, 0x314(r31) +/* 800B4330 000B1290 28 03 00 00 */ cmplwi r3, 0 +/* 800B4334 000B1294 41 82 00 18 */ beq lbl_800B434C +/* 800B4338 000B1298 81 83 00 00 */ lwz r12, 0(r3) +/* 800B433C 000B129C 38 80 00 01 */ li r4, 1 +/* 800B4340 000B12A0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800B4344 000B12A4 7D 89 03 A6 */ mtctr r12 +/* 800B4348 000B12A8 4E 80 04 21 */ bctrl +lbl_800B434C: +/* 800B434C 000B12AC 91 DF 03 14 */ stw r14, 0x314(r31) +lbl_800B4350: +/* 800B4350 000B12B0 7F E3 FB 78 */ mr r3, r31 +/* 800B4354 000B12B4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 800B4358 000B12B8 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 800B435C 000B12BC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 800B4360 000B12C0 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 800B4364 000B12C4 B9 C1 00 78 */ lmw r14, 0x78(r1) +/* 800B4368 000B12C8 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800B436C 000B12CC 7C 08 03 A6 */ mtlr r0 +/* 800B4370 000B12D0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800B4374 000B12D4 4E 80 00 20 */ blr + +.global update_fog__3CGXFUi +update_fog__3CGXFUi: +/* 800B4378 000B12D8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 800B437C 000B12DC 38 A4 53 EC */ addi r5, r4, lbl_805A53EC@l +/* 800B4380 000B12E0 88 05 00 53 */ lbz r0, 0x53(r5) +/* 800B4384 000B12E4 28 00 00 00 */ cmplwi r0, 0 +/* 800B4388 000B12E8 4D 82 00 20 */ beqlr +/* 800B438C 000B12EC A0 05 00 56 */ lhz r0, 0x56(r5) +/* 800B4390 000B12F0 54 63 06 34 */ rlwinm r3, r3, 0, 0x18, 0x1a +/* 800B4394 000B12F4 54 00 06 34 */ rlwinm r0, r0, 0, 0x18, 0x1a +/* 800B4398 000B12F8 7C 00 18 40 */ cmplw r0, r3 +/* 800B439C 000B12FC 4D 82 00 20 */ beqlr +/* 800B43A0 000B1300 28 03 00 20 */ cmplwi r3, 0x20 +/* 800B43A4 000B1304 40 82 00 28 */ bne lbl_800B43CC +/* 800B43A8 000B1308 38 00 00 61 */ li r0, 0x61 +/* 800B43AC 000B130C 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 800B43B0 000B1310 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 800B43B4 000B1314 3C 60 F2 00 */ lis r3, 0xf200 +/* 800B43B8 000B1318 38 00 00 00 */ li r0, 0 +/* 800B43BC 000B131C 90 64 80 00 */ stw r3, 0xCC008000@l(r4) +/* 800B43C0 000B1320 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2) +/* 800B43C4 000B1324 B0 03 00 02 */ sth r0, 2(r3) +/* 800B43C8 000B1328 4E 80 00 20 */ blr +lbl_800B43CC: +/* 800B43CC 000B132C 38 00 00 61 */ li r0, 0x61 +/* 800B43D0 000B1330 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 800B43D4 000B1334 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 800B43D8 000B1338 38 00 00 00 */ li r0, 0 +/* 800B43DC 000B133C 88 85 02 5E */ lbz r4, 0x25e(r5) +/* 800B43E0 000B1340 88 65 02 5D */ lbz r3, 0x25d(r5) +/* 800B43E4 000B1344 88 A5 02 5C */ lbz r5, 0x25c(r5) +/* 800B43E8 000B1348 50 64 44 2E */ rlwimi r4, r3, 8, 0x10, 0x17 +/* 800B43EC 000B134C 50 A4 82 1E */ rlwimi r4, r5, 0x10, 8, 0xf +/* 800B43F0 000B1350 64 83 F2 00 */ oris r3, r4, 0xf200 +/* 800B43F4 000B1354 90 66 80 00 */ stw r3, 0xCC008000@l(r6) +/* 800B43F8 000B1358 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2) +/* 800B43FC 000B135C B0 03 00 02 */ sth r0, 2(r3) +/* 800B4400 000B1360 4E 80 00 20 */ blr + +.global sub_800b4404 +sub_800b4404: +/* 800B4404 000B1364 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B4408 000B1368 7C 08 02 A6 */ mflr r0 +/* 800B440C 000B136C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B4410 000B1370 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 800B4414 000B1374 7C 9F 23 78 */ mr r31, r4 +/* 800B4418 000B1378 7C 7E 1B 78 */ mr r30, r3 +/* 800B441C 000B137C 80 03 00 08 */ lwz r0, 8(r3) +/* 800B4420 000B1380 7C 1F 00 00 */ cmpw r31, r0 +/* 800B4424 000B1384 40 81 00 C0 */ ble lbl_800B44E4 +/* 800B4428 000B1388 1C 7F 00 38 */ mulli r3, r31, 0x38 +/* 800B442C 000B138C 2C 03 00 00 */ cmpwi r3, 0 +/* 800B4430 000B1390 40 82 00 0C */ bne lbl_800B443C +/* 800B4434 000B1394 3B 80 00 00 */ li r28, 0 +/* 800B4438 000B1398 48 00 00 18 */ b lbl_800B4450 +lbl_800B443C: +/* 800B443C 000B139C 3C 80 80 3D */ lis r4, lbl_803CDE70@ha +/* 800B4440 000B13A0 38 A0 00 00 */ li r5, 0 +/* 800B4444 000B13A4 38 84 DE 70 */ addi r4, r4, lbl_803CDE70@l +/* 800B4448 000B13A8 48 26 13 D1 */ bl __nwa__FUlPCcPCc +/* 800B444C 000B13AC 7C 7C 1B 78 */ mr r28, r3 +lbl_800B4450: +/* 800B4450 000B13B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B4454 000B13B4 7F 9B E3 78 */ mr r27, r28 +/* 800B4458 000B13B8 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 800B445C 000B13BC 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B4460 000B13C0 93 41 00 10 */ stw r26, 0x10(r1) +/* 800B4464 000B13C4 7F BA 02 14 */ add r29, r26, r0 +/* 800B4468 000B13C8 93 41 00 14 */ stw r26, 0x14(r1) +/* 800B446C 000B13CC 93 A1 00 08 */ stw r29, 8(r1) +/* 800B4470 000B13D0 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800B4474 000B13D4 48 00 00 30 */ b lbl_800B44A4 +lbl_800B4478: +/* 800B4478 000B13D8 28 1B 00 00 */ cmplwi r27, 0 +/* 800B447C 000B13DC 41 82 00 20 */ beq lbl_800B449C +/* 800B4480 000B13E0 A0 1A 00 00 */ lhz r0, 0(r26) +/* 800B4484 000B13E4 38 7B 00 08 */ addi r3, r27, 8 +/* 800B4488 000B13E8 38 9A 00 08 */ addi r4, r26, 8 +/* 800B448C 000B13EC B0 1B 00 00 */ sth r0, 0(r27) +/* 800B4490 000B13F0 C0 1A 00 04 */ lfs f0, 4(r26) +/* 800B4494 000B13F4 D0 1B 00 04 */ stfs f0, 4(r27) +/* 800B4498 000B13F8 48 25 E6 DD */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_800B449C: +/* 800B449C 000B13FC 3B 7B 00 38 */ addi r27, r27, 0x38 +/* 800B44A0 000B1400 3B 5A 00 38 */ addi r26, r26, 0x38 +lbl_800B44A4: +/* 800B44A4 000B1404 7C 1A E8 40 */ cmplw r26, r29 +/* 800B44A8 000B1408 40 82 FF D0 */ bne lbl_800B4478 +/* 800B44AC 000B140C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B44B0 000B1410 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800B44B4 000B1414 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 800B44B8 000B1418 7C 64 1B 78 */ mr r4, r3 +/* 800B44BC 000B141C 7C 03 02 14 */ add r0, r3, r0 +/* 800B44C0 000B1420 48 00 00 08 */ b lbl_800B44C8 +lbl_800B44C4: +/* 800B44C4 000B1424 38 84 00 38 */ addi r4, r4, 0x38 +lbl_800B44C8: +/* 800B44C8 000B1428 7C 04 00 40 */ cmplw r4, r0 +/* 800B44CC 000B142C 40 82 FF F8 */ bne lbl_800B44C4 +/* 800B44D0 000B1430 28 03 00 00 */ cmplwi r3, 0 +/* 800B44D4 000B1434 41 82 00 08 */ beq lbl_800B44DC +/* 800B44D8 000B1438 48 26 14 59 */ bl Free__7CMemoryFPCv +lbl_800B44DC: +/* 800B44DC 000B143C 93 9E 00 0C */ stw r28, 0xc(r30) +/* 800B44E0 000B1440 93 FE 00 08 */ stw r31, 8(r30) +lbl_800B44E4: +/* 800B44E4 000B1444 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800B44E8 000B1448 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B44EC 000B144C 7C 08 03 A6 */ mtlr r0 +/* 800B44F0 000B1450 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B44F4 000B1454 4E 80 00 20 */ blr + +.global IsUser__Fi +IsUser__Fi: +/* 800B44F8 000B1458 20 03 00 01 */ subfic r0, r3, 1 +/* 800B44FC 000B145C 7C 00 00 34 */ cntlzw r0, r0 +/* 800B4500 000B1460 54 03 D9 7E */ srwi r3, r0, 5 +/* 800B4504 000B1464 4E 80 00 20 */ blr + +.global Accept__16CScriptGeneratorFR8IVisitor +Accept__16CScriptGeneratorFR8IVisitor: +/* 800B4508 000B1468 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B450C 000B146C 7C 08 02 A6 */ mflr r0 +/* 800B4510 000B1470 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B4514 000B1474 7C 60 1B 78 */ mr r0, r3 +/* 800B4518 000B1478 7C 83 23 78 */ mr r3, r4 +/* 800B451C 000B147C 81 84 00 00 */ lwz r12, 0(r4) +/* 800B4520 000B1480 7C 04 03 78 */ mr r4, r0 +/* 800B4524 000B1484 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800B4528 000B1488 7D 89 03 A6 */ mtctr r12 +/* 800B452C 000B148C 4E 80 04 21 */ bctrl +/* 800B4530 000B1490 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B4534 000B1494 7C 08 03 A6 */ mtlr r0 +/* 800B4538 000B1498 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B453C 000B149C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__16CScriptGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__16CScriptGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800B4540 000B14A0 94 21 FE 20 */ stwu r1, -0x1e0(r1) +/* 800B4544 000B14A4 7C 08 02 A6 */ mflr r0 +/* 800B4548 000B14A8 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 800B454C 000B14AC DB E1 01 D0 */ stfd f31, 0x1d0(r1) +/* 800B4550 000B14B0 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 +/* 800B4554 000B14B4 DB C1 01 C0 */ stfd f30, 0x1c0(r1) +/* 800B4558 000B14B8 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 +/* 800B455C 000B14BC BE 41 01 88 */ stmw r18, 0x188(r1) +/* 800B4560 000B14C0 7C 9D 23 78 */ mr r29, r4 +/* 800B4564 000B14C4 7C 7C 1B 78 */ mr r28, r3 +/* 800B4568 000B14C8 2C 1D 00 0D */ cmpwi r29, 0xd +/* 800B456C 000B14CC 7C BE 2B 78 */ mr r30, r5 +/* 800B4570 000B14D0 7C DF 33 78 */ mr r31, r6 +/* 800B4574 000B14D4 41 82 00 08 */ beq lbl_800B457C +/* 800B4578 000B14D8 48 00 09 04 */ b lbl_800B4E7C +lbl_800B457C: +/* 800B457C 000B14DC 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800B4580 000B14E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B4584 000B14E4 41 82 08 F8 */ beq lbl_800B4E7C +/* 800B4588 000B14E8 38 00 00 00 */ li r0, 0 +/* 800B458C 000B14EC 38 80 00 01 */ li r4, 1 +/* 800B4590 000B14F0 90 01 01 54 */ stw r0, 0x154(r1) +/* 800B4594 000B14F4 90 01 01 58 */ stw r0, 0x158(r1) +/* 800B4598 000B14F8 90 01 01 5C */ stw r0, 0x15c(r1) +/* 800B459C 000B14FC 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 800B45A0 000B1500 2C 00 00 00 */ cmpwi r0, 0 +/* 800B45A4 000B1504 41 82 00 08 */ beq lbl_800B45AC +/* 800B45A8 000B1508 7C 04 03 78 */ mr r4, r0 +lbl_800B45AC: +/* 800B45AC 000B150C 38 61 01 50 */ addi r3, r1, 0x150 +/* 800B45B0 000B1510 4B F5 7E 59 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 800B45B4 000B1514 83 7C 00 2C */ lwz r27, 0x2c(r28) +/* 800B45B8 000B1518 48 00 00 C0 */ b lbl_800B4678 +lbl_800B45BC: +/* 800B45BC 000B151C 80 1B 00 00 */ lwz r0, 0(r27) +/* 800B45C0 000B1520 2C 00 00 09 */ cmpwi r0, 9 +/* 800B45C4 000B1524 40 82 00 B0 */ bne lbl_800B4674 +/* 800B45C8 000B1528 80 1B 00 04 */ lwz r0, 4(r27) +/* 800B45CC 000B152C 2C 00 00 06 */ cmpwi r0, 6 +/* 800B45D0 000B1530 40 82 00 A4 */ bne lbl_800B4674 +/* 800B45D4 000B1534 80 1B 00 08 */ lwz r0, 8(r27) +/* 800B45D8 000B1538 7F E4 FB 78 */ mr r4, r31 +/* 800B45DC 000B153C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800B45E0 000B1540 38 A1 00 AC */ addi r5, r1, 0xac +/* 800B45E4 000B1544 90 01 00 AC */ stw r0, 0xac(r1) +/* 800B45E8 000B1548 4B F9 39 35 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800B45EC 000B154C A0 61 00 40 */ lhz r3, 0x40(r1) +/* 800B45F0 000B1550 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B45F4 000B1554 B0 61 00 4C */ sth r3, 0x4c(r1) +/* 800B45F8 000B1558 7C 03 00 40 */ cmplw r3, r0 +/* 800B45FC 000B155C 41 82 00 78 */ beq lbl_800B4674 +/* 800B4600 000B1560 B0 61 00 3C */ sth r3, 0x3c(r1) +/* 800B4604 000B1564 7F E3 FB 78 */ mr r3, r31 +/* 800B4608 000B1568 38 81 00 3C */ addi r4, r1, 0x3c +/* 800B460C 000B156C 4B F9 7F 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800B4610 000B1570 28 03 00 00 */ cmplwi r3, 0 +/* 800B4614 000B1574 41 82 00 60 */ beq lbl_800B4674 +/* 800B4618 000B1578 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800B461C 000B157C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B4620 000B1580 41 82 00 54 */ beq lbl_800B4674 +/* 800B4624 000B1584 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800B4628 000B1588 80 A1 01 58 */ lwz r5, 0x158(r1) +/* 800B462C 000B158C 7C 00 28 00 */ cmpw r0, r5 +/* 800B4630 000B1590 41 80 00 1C */ blt lbl_800B464C +/* 800B4634 000B1594 2C 05 00 00 */ cmpwi r5, 0 +/* 800B4638 000B1598 38 61 01 50 */ addi r3, r1, 0x150 +/* 800B463C 000B159C 38 80 00 04 */ li r4, 4 +/* 800B4640 000B15A0 41 82 00 08 */ beq lbl_800B4648 +/* 800B4644 000B15A4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B4648: +/* 800B4648 000B15A8 4B F5 7D C1 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_800B464C: +/* 800B464C 000B15AC 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800B4650 000B15B0 80 61 01 5C */ lwz r3, 0x15c(r1) +/* 800B4654 000B15B4 54 00 08 3C */ slwi r0, r0, 1 +/* 800B4658 000B15B8 7C 63 02 15 */ add. r3, r3, r0 +/* 800B465C 000B15BC 41 82 00 0C */ beq lbl_800B4668 +/* 800B4660 000B15C0 A0 01 00 4C */ lhz r0, 0x4c(r1) +/* 800B4664 000B15C4 B0 03 00 00 */ sth r0, 0(r3) +lbl_800B4668: +/* 800B4668 000B15C8 80 61 01 54 */ lwz r3, 0x154(r1) +/* 800B466C 000B15CC 38 03 00 01 */ addi r0, r3, 1 +/* 800B4670 000B15D0 90 01 01 54 */ stw r0, 0x154(r1) +lbl_800B4674: +/* 800B4674 000B15D4 3B 7B 00 0C */ addi r27, r27, 0xc +lbl_800B4678: +/* 800B4678 000B15D8 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 800B467C 000B15DC 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 800B4680 000B15E0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800B4684 000B15E4 7C 03 02 14 */ add r0, r3, r0 +/* 800B4688 000B15E8 7C 1B 00 40 */ cmplw r27, r0 +/* 800B468C 000B15EC 40 82 FF 30 */ bne lbl_800B45BC +/* 800B4690 000B15F0 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800B4694 000B15F4 2C 00 00 00 */ cmpwi r0, 0 +/* 800B4698 000B15F8 40 82 00 50 */ bne lbl_800B46E8 +/* 800B469C 000B15FC 80 A1 01 58 */ lwz r5, 0x158(r1) +/* 800B46A0 000B1600 7C 00 28 00 */ cmpw r0, r5 +/* 800B46A4 000B1604 41 80 00 1C */ blt lbl_800B46C0 +/* 800B46A8 000B1608 2C 05 00 00 */ cmpwi r5, 0 +/* 800B46AC 000B160C 38 61 01 50 */ addi r3, r1, 0x150 +/* 800B46B0 000B1610 38 80 00 04 */ li r4, 4 +/* 800B46B4 000B1614 41 82 00 08 */ beq lbl_800B46BC +/* 800B46B8 000B1618 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B46BC: +/* 800B46BC 000B161C 4B F5 7D 4D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_800B46C0: +/* 800B46C0 000B1620 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800B46C4 000B1624 80 61 01 5C */ lwz r3, 0x15c(r1) +/* 800B46C8 000B1628 54 00 08 3C */ slwi r0, r0, 1 +/* 800B46CC 000B162C 7C 63 02 15 */ add. r3, r3, r0 +/* 800B46D0 000B1630 41 82 00 0C */ beq lbl_800B46DC +/* 800B46D4 000B1634 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800B46D8 000B1638 B0 03 00 00 */ sth r0, 0(r3) +lbl_800B46DC: +/* 800B46DC 000B163C 80 61 01 54 */ lwz r3, 0x154(r1) +/* 800B46E0 000B1640 38 03 00 01 */ addi r0, r3, 1 +/* 800B46E4 000B1644 90 01 01 54 */ stw r0, 0x154(r1) +lbl_800B46E8: +/* 800B46E8 000B1648 38 00 00 00 */ li r0, 0 +/* 800B46EC 000B164C 38 61 01 40 */ addi r3, r1, 0x140 +/* 800B46F0 000B1650 90 01 01 44 */ stw r0, 0x144(r1) +/* 800B46F4 000B1654 90 01 01 48 */ stw r0, 0x148(r1) +/* 800B46F8 000B1658 90 01 01 4C */ stw r0, 0x14c(r1) +/* 800B46FC 000B165C 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 800B4700 000B1660 48 00 09 D5 */ bl "reserve__Q24rstl71vector,Q24rstl17rmemory_allocator>Fi" +/* 800B4704 000B1664 83 7C 00 2C */ lwz r27, 0x2c(r28) +/* 800B4708 000B1668 48 00 00 E4 */ b lbl_800B47EC +lbl_800B470C: +/* 800B470C 000B166C 80 1B 00 00 */ lwz r0, 0(r27) +/* 800B4710 000B1670 2C 00 00 09 */ cmpwi r0, 9 +/* 800B4714 000B1674 40 82 00 D4 */ bne lbl_800B47E8 +/* 800B4718 000B1678 80 1B 00 08 */ lwz r0, 8(r27) +/* 800B471C 000B167C 7F E4 FB 78 */ mr r4, r31 +/* 800B4720 000B1680 38 61 00 38 */ addi r3, r1, 0x38 +/* 800B4724 000B1684 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 800B4728 000B1688 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 800B472C 000B168C 4B F9 37 F1 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800B4730 000B1690 A0 C1 00 38 */ lhz r6, 0x38(r1) +/* 800B4734 000B1694 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B4738 000B1698 B0 C1 00 48 */ sth r6, 0x48(r1) +/* 800B473C 000B169C 7C 06 00 40 */ cmplw r6, r0 +/* 800B4740 000B16A0 41 82 00 A8 */ beq lbl_800B47E8 +/* 800B4744 000B16A4 80 1B 00 04 */ lwz r0, 4(r27) +/* 800B4748 000B16A8 2C 00 00 01 */ cmpwi r0, 1 +/* 800B474C 000B16AC 40 82 00 78 */ bne lbl_800B47C4 +/* 800B4750 000B16B0 B0 C1 00 34 */ sth r6, 0x34(r1) +/* 800B4754 000B16B4 7F E3 FB 78 */ mr r3, r31 +/* 800B4758 000B16B8 38 81 00 34 */ addi r4, r1, 0x34 +/* 800B475C 000B16BC 4B F9 7E 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800B4760 000B16C0 28 03 00 00 */ cmplwi r3, 0 +/* 800B4764 000B16C4 41 82 00 84 */ beq lbl_800B47E8 +/* 800B4768 000B16C8 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800B476C 000B16CC 80 A1 01 48 */ lwz r5, 0x148(r1) +/* 800B4770 000B16D0 82 5B 00 08 */ lwz r18, 8(r27) +/* 800B4774 000B16D4 7C 00 28 00 */ cmpw r0, r5 +/* 800B4778 000B16D8 41 80 00 1C */ blt lbl_800B4794 +/* 800B477C 000B16DC 2C 05 00 00 */ cmpwi r5, 0 +/* 800B4780 000B16E0 38 61 01 40 */ addi r3, r1, 0x140 +/* 800B4784 000B16E4 38 80 00 04 */ li r4, 4 +/* 800B4788 000B16E8 41 82 00 08 */ beq lbl_800B4790 +/* 800B478C 000B16EC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B4790: +/* 800B4790 000B16F0 48 00 09 45 */ bl "reserve__Q24rstl71vector,Q24rstl17rmemory_allocator>Fi" +lbl_800B4794: +/* 800B4794 000B16F4 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800B4798 000B16F8 80 61 01 4C */ lwz r3, 0x14c(r1) +/* 800B479C 000B16FC 54 00 18 38 */ slwi r0, r0, 3 +/* 800B47A0 000B1700 7C 63 02 15 */ add. r3, r3, r0 +/* 800B47A4 000B1704 41 82 00 10 */ beq lbl_800B47B4 +/* 800B47A8 000B1708 A0 01 00 48 */ lhz r0, 0x48(r1) +/* 800B47AC 000B170C B0 03 00 00 */ sth r0, 0(r3) +/* 800B47B0 000B1710 92 43 00 04 */ stw r18, 4(r3) +lbl_800B47B4: +/* 800B47B4 000B1714 80 61 01 44 */ lwz r3, 0x144(r1) +/* 800B47B8 000B1718 38 03 00 01 */ addi r0, r3, 1 +/* 800B47BC 000B171C 90 01 01 44 */ stw r0, 0x144(r1) +/* 800B47C0 000B1720 48 00 00 28 */ b lbl_800B47E8 +lbl_800B47C4: +/* 800B47C4 000B1724 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800B47C8 000B1728 7F E3 FB 78 */ mr r3, r31 +/* 800B47CC 000B172C 38 81 00 30 */ addi r4, r1, 0x30 +/* 800B47D0 000B1730 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800B47D4 000B1734 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 800B47D8 000B1738 B0 C1 00 30 */ sth r6, 0x30(r1) +/* 800B47DC 000B173C B0 01 00 28 */ sth r0, 0x28(r1) +/* 800B47E0 000B1740 80 DB 00 04 */ lwz r6, 4(r27) +/* 800B47E4 000B1744 4B F8 F6 71 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId +lbl_800B47E8: +/* 800B47E8 000B1748 3B 7B 00 0C */ addi r27, r27, 0xc +lbl_800B47EC: +/* 800B47EC 000B174C 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 800B47F0 000B1750 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 800B47F4 000B1754 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800B47F8 000B1758 7C 03 02 14 */ add r0, r3, r0 +/* 800B47FC 000B175C 7C 1B 00 40 */ cmplw r27, r0 +/* 800B4800 000B1760 40 82 FF 0C */ bne lbl_800B470C +/* 800B4804 000B1764 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800B4808 000B1768 2C 00 00 00 */ cmpwi r0, 0 +/* 800B480C 000B176C 40 82 00 84 */ bne lbl_800B4890 +/* 800B4810 000B1770 80 61 01 4C */ lwz r3, 0x14c(r1) +/* 800B4814 000B1774 54 00 18 38 */ slwi r0, r0, 3 +/* 800B4818 000B1778 7C 03 02 14 */ add r0, r3, r0 +/* 800B481C 000B177C 90 61 00 84 */ stw r3, 0x84(r1) +/* 800B4820 000B1780 7C 64 1B 78 */ mr r4, r3 +/* 800B4824 000B1784 90 01 00 8C */ stw r0, 0x8c(r1) +/* 800B4828 000B1788 90 01 00 88 */ stw r0, 0x88(r1) +/* 800B482C 000B178C 90 61 00 80 */ stw r3, 0x80(r1) +/* 800B4830 000B1790 48 00 00 08 */ b lbl_800B4838 +lbl_800B4834: +/* 800B4834 000B1794 38 84 00 08 */ addi r4, r4, 8 +lbl_800B4838: +/* 800B4838 000B1798 7C 04 00 40 */ cmplw r4, r0 +/* 800B483C 000B179C 40 82 FF F8 */ bne lbl_800B4834 +/* 800B4840 000B17A0 28 03 00 00 */ cmplwi r3, 0 +/* 800B4844 000B17A4 41 82 00 08 */ beq lbl_800B484C +/* 800B4848 000B17A8 48 26 10 E9 */ bl Free__7CMemoryFPCv +lbl_800B484C: +/* 800B484C 000B17AC 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800B4850 000B17B0 80 61 01 5C */ lwz r3, 0x15c(r1) +/* 800B4854 000B17B4 54 00 08 3C */ slwi r0, r0, 1 +/* 800B4858 000B17B8 7C 03 02 14 */ add r0, r3, r0 +/* 800B485C 000B17BC 90 61 00 74 */ stw r3, 0x74(r1) +/* 800B4860 000B17C0 7C 64 1B 78 */ mr r4, r3 +/* 800B4864 000B17C4 90 01 00 7C */ stw r0, 0x7c(r1) +/* 800B4868 000B17C8 90 01 00 78 */ stw r0, 0x78(r1) +/* 800B486C 000B17CC 90 61 00 70 */ stw r3, 0x70(r1) +/* 800B4870 000B17D0 48 00 00 08 */ b lbl_800B4878 +lbl_800B4874: +/* 800B4874 000B17D4 38 84 00 02 */ addi r4, r4, 2 +lbl_800B4878: +/* 800B4878 000B17D8 7C 04 00 40 */ cmplw r4, r0 +/* 800B487C 000B17DC 40 82 FF F8 */ bne lbl_800B4874 +/* 800B4880 000B17E0 28 03 00 00 */ cmplwi r3, 0 +/* 800B4884 000B17E4 41 82 05 F8 */ beq lbl_800B4E7C +/* 800B4888 000B17E8 48 26 10 A9 */ bl Free__7CMemoryFPCv +/* 800B488C 000B17EC 48 00 05 F0 */ b lbl_800B4E7C +lbl_800B4890: +/* 800B4890 000B17F0 CB C2 8C E8 */ lfd f30, lbl_805AAA08@sda21(r2) +/* 800B4894 000B17F4 3B 21 00 F4 */ addi r25, r1, 0xf4 +/* 800B4898 000B17F8 C3 E2 8C E0 */ lfs f31, lbl_805AAA00@sda21(r2) +/* 800B489C 000B17FC 3A E0 00 00 */ li r23, 0 +/* 800B48A0 000B1800 3F 60 43 30 */ lis r27, 0x4330 +/* 800B48A4 000B1804 48 00 05 4C */ b lbl_800B4DF0 +lbl_800B48A8: +/* 800B48A8 000B1808 82 41 01 44 */ lwz r18, 0x144(r1) +/* 800B48AC 000B180C 2C 12 00 00 */ cmpwi r18, 0 +/* 800B48B0 000B1810 41 82 05 4C */ beq lbl_800B4DFC +/* 800B48B4 000B1814 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800B48B8 000B1818 2C 00 00 00 */ cmpwi r0, 0 +/* 800B48BC 000B181C 41 82 05 40 */ beq lbl_800B4DFC +/* 800B48C0 000B1820 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800B48C4 000B1824 48 25 DC 19 */ bl Float__9CRandom16Fv +/* 800B48C8 000B1828 6E 40 80 00 */ xoris r0, r18, 0x8000 +/* 800B48CC 000B182C 93 61 01 60 */ stw r27, 0x160(r1) +/* 800B48D0 000B1830 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800B48D4 000B1834 90 01 01 64 */ stw r0, 0x164(r1) +/* 800B48D8 000B1838 C8 01 01 60 */ lfd f0, 0x160(r1) +/* 800B48DC 000B183C EC 00 F0 28 */ fsubs f0, f0, f30 +/* 800B48E0 000B1840 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B48E4 000B1844 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800B48E8 000B1848 FC 00 00 1E */ fctiwz f0, f0 +/* 800B48EC 000B184C D8 01 01 68 */ stfd f0, 0x168(r1) +/* 800B48F0 000B1850 83 01 01 6C */ lwz r24, 0x16c(r1) +/* 800B48F4 000B1854 48 25 DB E9 */ bl Float__9CRandom16Fv +/* 800B48F8 000B1858 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800B48FC 000B185C 3A A0 00 00 */ li r21, 0 +/* 800B4900 000B1860 93 61 01 70 */ stw r27, 0x170(r1) +/* 800B4904 000B1864 3B 40 00 00 */ li r26, 0 +/* 800B4908 000B1868 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800B490C 000B186C 90 01 01 74 */ stw r0, 0x174(r1) +/* 800B4910 000B1870 C8 01 01 70 */ lfd f0, 0x170(r1) +/* 800B4914 000B1874 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 800B4918 000B1878 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B491C 000B187C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800B4920 000B1880 FC 00 00 1E */ fctiwz f0, f0 +/* 800B4924 000B1884 D8 01 01 78 */ stfd f0, 0x178(r1) +/* 800B4928 000B1888 82 C1 01 7C */ lwz r22, 0x17c(r1) +/* 800B492C 000B188C 48 00 00 44 */ b lbl_800B4970 +lbl_800B4930: +/* 800B4930 000B1890 80 A1 01 4C */ lwz r5, 0x14c(r1) +/* 800B4934 000B1894 7F E3 FB 78 */ mr r3, r31 +/* 800B4938 000B1898 38 81 00 24 */ addi r4, r1, 0x24 +/* 800B493C 000B189C 7C 05 D2 2E */ lhzx r0, r5, r26 +/* 800B4940 000B18A0 B0 01 00 24 */ sth r0, 0x24(r1) +/* 800B4944 000B18A4 4B F9 7C 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800B4948 000B18A8 7C 64 1B 78 */ mr r4, r3 +/* 800B494C 000B18AC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800B4950 000B18B0 4B FF 3B 89 */ bl "__ct__26TCastToPtr<12CScriptSound>FP7CEntity" +/* 800B4954 000B18B4 80 03 00 04 */ lwz r0, 4(r3) +/* 800B4958 000B18B8 28 00 00 00 */ cmplwi r0, 0 +/* 800B495C 000B18BC 41 82 00 0C */ beq lbl_800B4968 +/* 800B4960 000B18C0 7E B8 AB 78 */ mr r24, r21 +/* 800B4964 000B18C4 48 00 00 18 */ b lbl_800B497C +lbl_800B4968: +/* 800B4968 000B18C8 3B 5A 00 08 */ addi r26, r26, 8 +/* 800B496C 000B18CC 3A B5 00 01 */ addi r21, r21, 1 +lbl_800B4970: +/* 800B4970 000B18D0 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800B4974 000B18D4 7C 15 00 00 */ cmpw r21, r0 +/* 800B4978 000B18D8 41 80 FF B8 */ blt lbl_800B4930 +lbl_800B497C: +/* 800B497C 000B18DC 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 800B4980 000B18E0 57 1A 18 38 */ slwi r26, r24, 3 +/* 800B4984 000B18E4 7F E3 FB 78 */ mr r3, r31 +/* 800B4988 000B18E8 38 81 00 20 */ addi r4, r1, 0x20 +/* 800B498C 000B18EC 7C C0 D2 14 */ add r6, r0, r26 +/* 800B4990 000B18F0 A0 A6 00 00 */ lhz r5, 0(r6) +/* 800B4994 000B18F4 B0 A1 00 F0 */ sth r5, 0xf0(r1) +/* 800B4998 000B18F8 80 06 00 04 */ lwz r0, 4(r6) +/* 800B499C 000B18FC 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800B49A0 000B1900 B0 A1 00 20 */ sth r5, 0x20(r1) +/* 800B49A4 000B1904 4B F9 7B D1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B49A8 000B1908 80 81 01 5C */ lwz r4, 0x15c(r1) +/* 800B49AC 000B190C 56 D8 08 3C */ slwi r24, r22, 1 +/* 800B49B0 000B1910 7C 72 1B 78 */ mr r18, r3 +/* 800B49B4 000B1914 7F E3 FB 78 */ mr r3, r31 +/* 800B49B8 000B1918 7C 04 C2 2E */ lhzx r0, r4, r24 +/* 800B49BC 000B191C 38 81 00 1C */ addi r4, r1, 0x1c +/* 800B49C0 000B1920 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800B49C4 000B1924 4B F9 7B B1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B49C8 000B1928 28 12 00 00 */ cmplwi r18, 0 +/* 800B49CC 000B192C 7C 75 1B 78 */ mr r21, r3 +/* 800B49D0 000B1930 41 82 04 2C */ beq lbl_800B4DFC +/* 800B49D4 000B1934 28 15 00 00 */ cmplwi r21, 0 +/* 800B49D8 000B1938 41 82 04 24 */ beq lbl_800B4DFC +/* 800B49DC 000B193C 88 DF 0F 94 */ lbz r6, 0xf94(r31) +/* 800B49E0 000B1940 38 60 00 01 */ li r3, 1 +/* 800B49E4 000B1944 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 800B49E8 000B1948 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800B49EC 000B194C 7F E4 FB 78 */ mr r4, r31 +/* 800B49F0 000B1950 7F 25 CB 78 */ mr r5, r25 +/* 800B49F4 000B1954 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 800B49F8 000B1958 54 D2 DF FE */ rlwinm r18, r6, 0x1b, 0x1f, 0x1f +/* 800B49FC 000B195C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800B4A00 000B1960 4B F9 38 E9 */ bl GenerateObject__13CStateManagerF9TEditorId +/* 800B4A04 000B1964 A0 81 00 EC */ lhz r4, 0xec(r1) +/* 800B4A08 000B1968 88 1F 0F 94 */ lbz r0, 0xf94(r31) +/* 800B4A0C 000B196C 52 40 2E B4 */ rlwimi r0, r18, 5, 0x1a, 0x1a +/* 800B4A10 000B1970 54 83 04 3E */ clrlwi r3, r4, 0x10 +/* 800B4A14 000B1974 B0 81 00 44 */ sth r4, 0x44(r1) +/* 800B4A18 000B1978 98 1F 0F 94 */ stb r0, 0xf94(r31) +/* 800B4A1C 000B197C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B4A20 000B1980 7C 03 00 40 */ cmplw r3, r0 +/* 800B4A24 000B1984 41 82 03 7C */ beq lbl_800B4DA0 +/* 800B4A28 000B1988 B0 81 00 18 */ sth r4, 0x18(r1) +/* 800B4A2C 000B198C 7F E3 FB 78 */ mr r3, r31 +/* 800B4A30 000B1990 38 81 00 18 */ addi r4, r1, 0x18 +/* 800B4A34 000B1994 4B F9 7B 41 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B4A38 000B1998 7C 60 1B 78 */ mr r0, r3 +/* 800B4A3C 000B199C 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 800B4A40 000B19A0 7C 16 03 78 */ mr r22, r0 +/* 800B4A44 000B19A4 7E C4 B3 78 */ mr r4, r22 +/* 800B4A48 000B19A8 4B FF B2 49 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800B4A4C 000B19AC 82 83 00 04 */ lwz r20, 4(r3) +/* 800B4A50 000B19B0 7E A4 AB 78 */ mr r4, r21 +/* 800B4A54 000B19B4 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800B4A58 000B19B8 4B FF B2 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800B4A5C 000B19BC 82 63 00 04 */ lwz r19, 4(r3) +/* 800B4A60 000B19C0 7E A4 AB 78 */ mr r4, r21 +/* 800B4A64 000B19C4 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800B4A68 000B19C8 4B FF 11 A9 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" +/* 800B4A6C 000B19CC 28 14 00 00 */ cmplwi r20, 0 +/* 800B4A70 000B19D0 82 43 00 04 */ lwz r18, 4(r3) +/* 800B4A74 000B19D4 41 82 00 98 */ beq lbl_800B4B0C +/* 800B4A78 000B19D8 28 12 00 00 */ cmplwi r18, 0 +/* 800B4A7C 000B19DC 41 82 00 90 */ beq lbl_800B4B0C +/* 800B4A80 000B19E0 88 1C 00 38 */ lbz r0, 0x38(r28) +/* 800B4A84 000B19E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800B4A88 000B19E8 40 82 00 38 */ bne lbl_800B4AC0 +/* 800B4A8C 000B19EC 38 74 00 34 */ addi r3, r20, 0x34 +/* 800B4A90 000B19F0 38 92 00 34 */ addi r4, r18, 0x34 +/* 800B4A94 000B19F4 48 25 E0 AD */ bl __as__12CTransform4fFRC12CTransform4f +/* 800B4A98 000B19F8 88 14 00 E4 */ lbz r0, 0xe4(r20) +/* 800B4A9C 000B19FC 38 60 00 01 */ li r3, 1 +/* 800B4AA0 000B1A00 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800B4AA4 000B1A04 98 14 00 E4 */ stb r0, 0xe4(r20) +/* 800B4AA8 000B1A08 88 14 00 E4 */ lbz r0, 0xe4(r20) +/* 800B4AAC 000B1A0C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800B4AB0 000B1A10 98 14 00 E4 */ stb r0, 0xe4(r20) +/* 800B4AB4 000B1A14 88 14 00 E4 */ lbz r0, 0xe4(r20) +/* 800B4AB8 000B1A18 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800B4ABC 000B1A1C 98 14 00 E4 */ stb r0, 0xe4(r20) +lbl_800B4AC0: +/* 800B4AC0 000B1A20 C0 B2 01 30 */ lfs f5, 0x130(r18) +/* 800B4AC4 000B1A24 7E 83 A3 78 */ mr r3, r20 +/* 800B4AC8 000B1A28 C0 92 01 34 */ lfs f4, 0x134(r18) +/* 800B4ACC 000B1A2C 38 81 01 34 */ addi r4, r1, 0x134 +/* 800B4AD0 000B1A30 C0 72 01 38 */ lfs f3, 0x138(r18) +/* 800B4AD4 000B1A34 C0 5C 00 40 */ lfs f2, 0x40(r28) +/* 800B4AD8 000B1A38 C0 3C 00 44 */ lfs f1, 0x44(r28) +/* 800B4ADC 000B1A3C C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 800B4AE0 000B1A40 EC 44 10 2A */ fadds f2, f4, f2 +/* 800B4AE4 000B1A44 EC 23 08 2A */ fadds f1, f3, f1 +/* 800B4AE8 000B1A48 D0 A1 01 28 */ stfs f5, 0x128(r1) +/* 800B4AEC 000B1A4C EC 05 00 2A */ fadds f0, f5, f0 +/* 800B4AF0 000B1A50 D0 81 01 2C */ stfs f4, 0x12c(r1) +/* 800B4AF4 000B1A54 D0 61 01 30 */ stfs f3, 0x130(r1) +/* 800B4AF8 000B1A58 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 800B4AFC 000B1A5C D0 41 01 38 */ stfs f2, 0x138(r1) +/* 800B4B00 000B1A60 D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 800B4B04 000B1A64 4B F9 E3 89 */ bl SetTranslation__6CActorFRC9CVector3f +/* 800B4B08 000B1A68 48 00 00 90 */ b lbl_800B4B98 +lbl_800B4B0C: +/* 800B4B0C 000B1A6C 28 14 00 00 */ cmplwi r20, 0 +/* 800B4B10 000B1A70 41 82 00 88 */ beq lbl_800B4B98 +/* 800B4B14 000B1A74 28 13 00 00 */ cmplwi r19, 0 +/* 800B4B18 000B1A78 41 82 00 80 */ beq lbl_800B4B98 +/* 800B4B1C 000B1A7C 88 1C 00 38 */ lbz r0, 0x38(r28) +/* 800B4B20 000B1A80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800B4B24 000B1A84 40 82 00 38 */ bne lbl_800B4B5C +/* 800B4B28 000B1A88 38 74 00 34 */ addi r3, r20, 0x34 +/* 800B4B2C 000B1A8C 38 93 00 34 */ addi r4, r19, 0x34 +/* 800B4B30 000B1A90 48 25 E0 11 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800B4B34 000B1A94 88 14 00 E4 */ lbz r0, 0xe4(r20) +/* 800B4B38 000B1A98 38 60 00 01 */ li r3, 1 +/* 800B4B3C 000B1A9C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800B4B40 000B1AA0 98 14 00 E4 */ stb r0, 0xe4(r20) +/* 800B4B44 000B1AA4 88 14 00 E4 */ lbz r0, 0xe4(r20) +/* 800B4B48 000B1AA8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800B4B4C 000B1AAC 98 14 00 E4 */ stb r0, 0xe4(r20) +/* 800B4B50 000B1AB0 88 14 00 E4 */ lbz r0, 0xe4(r20) +/* 800B4B54 000B1AB4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800B4B58 000B1AB8 98 14 00 E4 */ stb r0, 0xe4(r20) +lbl_800B4B5C: +/* 800B4B5C 000B1ABC C0 33 00 50 */ lfs f1, 0x50(r19) +/* 800B4B60 000B1AC0 7E 83 A3 78 */ mr r3, r20 +/* 800B4B64 000B1AC4 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 800B4B68 000B1AC8 38 81 01 1C */ addi r4, r1, 0x11c +/* 800B4B6C 000B1ACC C0 73 00 60 */ lfs f3, 0x60(r19) +/* 800B4B70 000B1AD0 C0 5C 00 44 */ lfs f2, 0x44(r28) +/* 800B4B74 000B1AD4 EC 81 00 2A */ fadds f4, f1, f0 +/* 800B4B78 000B1AD8 C0 33 00 40 */ lfs f1, 0x40(r19) +/* 800B4B7C 000B1ADC C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 800B4B80 000B1AE0 EC 43 10 2A */ fadds f2, f3, f2 +/* 800B4B84 000B1AE4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800B4B88 000B1AE8 D0 81 01 20 */ stfs f4, 0x120(r1) +/* 800B4B8C 000B1AEC D0 41 01 24 */ stfs f2, 0x124(r1) +/* 800B4B90 000B1AF0 D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 800B4B94 000B1AF4 4B F9 E2 F9 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_800B4B98: +/* 800B4B98 000B1AF8 28 16 00 00 */ cmplwi r22, 0 +/* 800B4B9C 000B1AFC 41 82 02 04 */ beq lbl_800B4DA0 +/* 800B4BA0 000B1B00 A0 01 00 44 */ lhz r0, 0x44(r1) +/* 800B4BA4 000B1B04 7F E3 FB 78 */ mr r3, r31 +/* 800B4BA8 000B1B08 38 81 00 14 */ addi r4, r1, 0x14 +/* 800B4BAC 000B1B0C B0 01 00 14 */ sth r0, 0x14(r1) +/* 800B4BB0 000B1B10 4B F9 79 C5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B4BB4 000B1B14 7C 60 1B 78 */ mr r0, r3 +/* 800B4BB8 000B1B18 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800B4BBC 000B1B1C 7C 12 03 78 */ mr r18, r0 +/* 800B4BC0 000B1B20 7E 44 93 78 */ mr r4, r18 +/* 800B4BC4 000B1B24 4B FF B0 CD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800B4BC8 000B1B28 82 63 00 04 */ lwz r19, 4(r3) +/* 800B4BCC 000B1B2C 7E A4 AB 78 */ mr r4, r21 +/* 800B4BD0 000B1B30 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800B4BD4 000B1B34 4B FF B0 BD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800B4BD8 000B1B38 82 83 00 04 */ lwz r20, 4(r3) +/* 800B4BDC 000B1B3C 7E A4 AB 78 */ mr r4, r21 +/* 800B4BE0 000B1B40 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800B4BE4 000B1B44 4B FF 10 2D */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" +/* 800B4BE8 000B1B48 28 13 00 00 */ cmplwi r19, 0 +/* 800B4BEC 000B1B4C 82 A3 00 04 */ lwz r21, 4(r3) +/* 800B4BF0 000B1B50 41 82 01 90 */ beq lbl_800B4D80 +/* 800B4BF4 000B1B54 41 82 00 98 */ beq lbl_800B4C8C +/* 800B4BF8 000B1B58 28 15 00 00 */ cmplwi r21, 0 +/* 800B4BFC 000B1B5C 41 82 00 90 */ beq lbl_800B4C8C +/* 800B4C00 000B1B60 88 1C 00 38 */ lbz r0, 0x38(r28) +/* 800B4C04 000B1B64 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800B4C08 000B1B68 40 82 00 38 */ bne lbl_800B4C40 +/* 800B4C0C 000B1B6C 38 73 00 34 */ addi r3, r19, 0x34 +/* 800B4C10 000B1B70 38 95 00 34 */ addi r4, r21, 0x34 +/* 800B4C14 000B1B74 48 25 DF 2D */ bl __as__12CTransform4fFRC12CTransform4f +/* 800B4C18 000B1B78 88 13 00 E4 */ lbz r0, 0xe4(r19) +/* 800B4C1C 000B1B7C 38 60 00 01 */ li r3, 1 +/* 800B4C20 000B1B80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800B4C24 000B1B84 98 13 00 E4 */ stb r0, 0xe4(r19) +/* 800B4C28 000B1B88 88 13 00 E4 */ lbz r0, 0xe4(r19) +/* 800B4C2C 000B1B8C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800B4C30 000B1B90 98 13 00 E4 */ stb r0, 0xe4(r19) +/* 800B4C34 000B1B94 88 13 00 E4 */ lbz r0, 0xe4(r19) +/* 800B4C38 000B1B98 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800B4C3C 000B1B9C 98 13 00 E4 */ stb r0, 0xe4(r19) +lbl_800B4C40: +/* 800B4C40 000B1BA0 C0 B5 01 30 */ lfs f5, 0x130(r21) +/* 800B4C44 000B1BA4 7E 63 9B 78 */ mr r3, r19 +/* 800B4C48 000B1BA8 C0 95 01 34 */ lfs f4, 0x134(r21) +/* 800B4C4C 000B1BAC 38 81 01 10 */ addi r4, r1, 0x110 +/* 800B4C50 000B1BB0 C0 75 01 38 */ lfs f3, 0x138(r21) +/* 800B4C54 000B1BB4 C0 5C 00 40 */ lfs f2, 0x40(r28) +/* 800B4C58 000B1BB8 C0 3C 00 44 */ lfs f1, 0x44(r28) +/* 800B4C5C 000B1BBC C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 800B4C60 000B1BC0 EC 44 10 2A */ fadds f2, f4, f2 +/* 800B4C64 000B1BC4 EC 23 08 2A */ fadds f1, f3, f1 +/* 800B4C68 000B1BC8 D0 A1 01 04 */ stfs f5, 0x104(r1) +/* 800B4C6C 000B1BCC EC 05 00 2A */ fadds f0, f5, f0 +/* 800B4C70 000B1BD0 D0 81 01 08 */ stfs f4, 0x108(r1) +/* 800B4C74 000B1BD4 D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 800B4C78 000B1BD8 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 800B4C7C 000B1BDC D0 41 01 14 */ stfs f2, 0x114(r1) +/* 800B4C80 000B1BE0 D0 21 01 18 */ stfs f1, 0x118(r1) +/* 800B4C84 000B1BE4 4B F9 E2 09 */ bl SetTranslation__6CActorFRC9CVector3f +/* 800B4C88 000B1BE8 48 00 00 90 */ b lbl_800B4D18 +lbl_800B4C8C: +/* 800B4C8C 000B1BEC 28 13 00 00 */ cmplwi r19, 0 +/* 800B4C90 000B1BF0 41 82 00 88 */ beq lbl_800B4D18 +/* 800B4C94 000B1BF4 28 14 00 00 */ cmplwi r20, 0 +/* 800B4C98 000B1BF8 41 82 00 80 */ beq lbl_800B4D18 +/* 800B4C9C 000B1BFC 88 1C 00 38 */ lbz r0, 0x38(r28) +/* 800B4CA0 000B1C00 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800B4CA4 000B1C04 40 82 00 38 */ bne lbl_800B4CDC +/* 800B4CA8 000B1C08 38 73 00 34 */ addi r3, r19, 0x34 +/* 800B4CAC 000B1C0C 38 94 00 34 */ addi r4, r20, 0x34 +/* 800B4CB0 000B1C10 48 25 DE 91 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800B4CB4 000B1C14 88 13 00 E4 */ lbz r0, 0xe4(r19) +/* 800B4CB8 000B1C18 38 60 00 01 */ li r3, 1 +/* 800B4CBC 000B1C1C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800B4CC0 000B1C20 98 13 00 E4 */ stb r0, 0xe4(r19) +/* 800B4CC4 000B1C24 88 13 00 E4 */ lbz r0, 0xe4(r19) +/* 800B4CC8 000B1C28 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800B4CCC 000B1C2C 98 13 00 E4 */ stb r0, 0xe4(r19) +/* 800B4CD0 000B1C30 88 13 00 E4 */ lbz r0, 0xe4(r19) +/* 800B4CD4 000B1C34 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800B4CD8 000B1C38 98 13 00 E4 */ stb r0, 0xe4(r19) +lbl_800B4CDC: +/* 800B4CDC 000B1C3C C0 34 00 50 */ lfs f1, 0x50(r20) +/* 800B4CE0 000B1C40 7E 63 9B 78 */ mr r3, r19 +/* 800B4CE4 000B1C44 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 800B4CE8 000B1C48 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800B4CEC 000B1C4C C0 74 00 60 */ lfs f3, 0x60(r20) +/* 800B4CF0 000B1C50 C0 5C 00 44 */ lfs f2, 0x44(r28) +/* 800B4CF4 000B1C54 EC 81 00 2A */ fadds f4, f1, f0 +/* 800B4CF8 000B1C58 C0 34 00 40 */ lfs f1, 0x40(r20) +/* 800B4CFC 000B1C5C C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 800B4D00 000B1C60 EC 43 10 2A */ fadds f2, f3, f2 +/* 800B4D04 000B1C64 EC 01 00 2A */ fadds f0, f1, f0 +/* 800B4D08 000B1C68 D0 81 00 FC */ stfs f4, 0xfc(r1) +/* 800B4D0C 000B1C6C D0 41 01 00 */ stfs f2, 0x100(r1) +/* 800B4D10 000B1C70 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 800B4D14 000B1C74 4B F9 E1 79 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_800B4D18: +/* 800B4D18 000B1C78 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800B4D1C 000B1C7C C0 3C 00 48 */ lfs f1, 0x48(r28) +/* 800B4D20 000B1C80 C0 5C 00 4C */ lfs f2, 0x4c(r28) +/* 800B4D24 000B1C84 48 25 D8 21 */ bl Range__9CRandom16Fff +/* 800B4D28 000B1C88 80 93 00 64 */ lwz r4, 0x64(r19) +/* 800B4D2C 000B1C8C 38 60 00 00 */ li r3, 0 +/* 800B4D30 000B1C90 28 04 00 00 */ cmplwi r4, 0 +/* 800B4D34 000B1C94 41 82 00 20 */ beq lbl_800B4D54 +/* 800B4D38 000B1C98 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800B4D3C 000B1C9C 28 00 00 00 */ cmplwi r0, 0 +/* 800B4D40 000B1CA0 40 82 00 10 */ bne lbl_800B4D50 +/* 800B4D44 000B1CA4 88 04 00 28 */ lbz r0, 0x28(r4) +/* 800B4D48 000B1CA8 28 00 00 00 */ cmplwi r0, 0 +/* 800B4D4C 000B1CAC 41 82 00 08 */ beq lbl_800B4D54 +lbl_800B4D50: +/* 800B4D50 000B1CB0 38 60 00 01 */ li r3, 1 +lbl_800B4D54: +/* 800B4D54 000B1CB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B4D58 000B1CB8 41 82 00 28 */ beq lbl_800B4D80 +/* 800B4D5C 000B1CBC C0 04 00 00 */ lfs f0, 0(r4) +/* 800B4D60 000B1CC0 C0 64 00 04 */ lfs f3, 4(r4) +/* 800B4D64 000B1CC4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B4D68 000B1CC8 C0 44 00 08 */ lfs f2, 8(r4) +/* 800B4D6C 000B1CCC EC 61 00 F2 */ fmuls f3, f1, f3 +/* 800B4D70 000B1CD0 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800B4D74 000B1CD4 D0 04 00 00 */ stfs f0, 0(r4) +/* 800B4D78 000B1CD8 D0 64 00 04 */ stfs f3, 4(r4) +/* 800B4D7C 000B1CDC D0 24 00 08 */ stfs f1, 8(r4) +lbl_800B4D80: +/* 800B4D80 000B1CE0 A0 1C 00 08 */ lhz r0, 8(r28) +/* 800B4D84 000B1CE4 7F E3 FB 78 */ mr r3, r31 +/* 800B4D88 000B1CE8 7E 44 93 78 */ mr r4, r18 +/* 800B4D8C 000B1CEC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800B4D90 000B1CF0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B4D94 000B1CF4 38 C0 00 01 */ li r6, 1 +/* 800B4D98 000B1CF8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B4D9C 000B1CFC 4B F8 F1 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_800B4DA0: +/* 800B4DA0 000B1D00 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 800B4DA4 000B1D04 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800B4DA8 000B1D08 38 81 01 40 */ addi r4, r1, 0x140 +/* 800B4DAC 000B1D0C 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 800B4DB0 000B1D10 7C 00 D2 14 */ add r0, r0, r26 +/* 800B4DB4 000B1D14 90 01 00 9C */ stw r0, 0x9c(r1) +/* 800B4DB8 000B1D18 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 800B4DBC 000B1D1C 48 00 01 01 */ bl sub_800b4ebc +/* 800B4DC0 000B1D20 88 1C 00 38 */ lbz r0, 0x38(r28) +/* 800B4DC4 000B1D24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B4DC8 000B1D28 41 82 00 24 */ beq lbl_800B4DEC +/* 800B4DCC 000B1D2C 80 01 01 5C */ lwz r0, 0x15c(r1) +/* 800B4DD0 000B1D30 38 61 00 98 */ addi r3, r1, 0x98 +/* 800B4DD4 000B1D34 38 81 01 50 */ addi r4, r1, 0x150 +/* 800B4DD8 000B1D38 38 A1 00 94 */ addi r5, r1, 0x94 +/* 800B4DDC 000B1D3C 7C 00 C2 14 */ add r0, r0, r24 +/* 800B4DE0 000B1D40 90 01 00 90 */ stw r0, 0x90(r1) +/* 800B4DE4 000B1D44 90 01 00 94 */ stw r0, 0x94(r1) +/* 800B4DE8 000B1D48 4B F5 64 71 */ bl "find,Q24rstl17rmemory_allocator>,9TUniqueId>__4rstlFQ24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC9TUniqueId" +lbl_800B4DEC: +/* 800B4DEC 000B1D4C 3A F7 00 01 */ addi r23, r23, 1 +lbl_800B4DF0: +/* 800B4DF0 000B1D50 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 800B4DF4 000B1D54 7C 17 00 00 */ cmpw r23, r0 +/* 800B4DF8 000B1D58 41 80 FA B0 */ blt lbl_800B48A8 +lbl_800B4DFC: +/* 800B4DFC 000B1D5C 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800B4E00 000B1D60 80 61 01 4C */ lwz r3, 0x14c(r1) +/* 800B4E04 000B1D64 54 00 18 38 */ slwi r0, r0, 3 +/* 800B4E08 000B1D68 7C 03 02 14 */ add r0, r3, r0 +/* 800B4E0C 000B1D6C 90 61 00 64 */ stw r3, 0x64(r1) +/* 800B4E10 000B1D70 7C 64 1B 78 */ mr r4, r3 +/* 800B4E14 000B1D74 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800B4E18 000B1D78 90 01 00 68 */ stw r0, 0x68(r1) +/* 800B4E1C 000B1D7C 90 61 00 60 */ stw r3, 0x60(r1) +/* 800B4E20 000B1D80 48 00 00 08 */ b lbl_800B4E28 +lbl_800B4E24: +/* 800B4E24 000B1D84 38 84 00 08 */ addi r4, r4, 8 +lbl_800B4E28: +/* 800B4E28 000B1D88 7C 04 00 40 */ cmplw r4, r0 +/* 800B4E2C 000B1D8C 40 82 FF F8 */ bne lbl_800B4E24 +/* 800B4E30 000B1D90 28 03 00 00 */ cmplwi r3, 0 +/* 800B4E34 000B1D94 41 82 00 08 */ beq lbl_800B4E3C +/* 800B4E38 000B1D98 48 26 0A F9 */ bl Free__7CMemoryFPCv +lbl_800B4E3C: +/* 800B4E3C 000B1D9C 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800B4E40 000B1DA0 80 61 01 5C */ lwz r3, 0x15c(r1) +/* 800B4E44 000B1DA4 54 00 08 3C */ slwi r0, r0, 1 +/* 800B4E48 000B1DA8 7C 03 02 14 */ add r0, r3, r0 +/* 800B4E4C 000B1DAC 90 61 00 54 */ stw r3, 0x54(r1) +/* 800B4E50 000B1DB0 7C 64 1B 78 */ mr r4, r3 +/* 800B4E54 000B1DB4 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800B4E58 000B1DB8 90 01 00 58 */ stw r0, 0x58(r1) +/* 800B4E5C 000B1DBC 90 61 00 50 */ stw r3, 0x50(r1) +/* 800B4E60 000B1DC0 48 00 00 08 */ b lbl_800B4E68 +lbl_800B4E64: +/* 800B4E64 000B1DC4 38 84 00 02 */ addi r4, r4, 2 +lbl_800B4E68: +/* 800B4E68 000B1DC8 7C 04 00 40 */ cmplw r4, r0 +/* 800B4E6C 000B1DCC 40 82 FF F8 */ bne lbl_800B4E64 +/* 800B4E70 000B1DD0 28 03 00 00 */ cmplwi r3, 0 +/* 800B4E74 000B1DD4 41 82 00 08 */ beq lbl_800B4E7C +/* 800B4E78 000B1DD8 48 26 0A B9 */ bl Free__7CMemoryFPCv +lbl_800B4E7C: +/* 800B4E7C 000B1DDC A0 1E 00 00 */ lhz r0, 0(r30) +/* 800B4E80 000B1DE0 7F 83 E3 78 */ mr r3, r28 +/* 800B4E84 000B1DE4 7F A4 EB 78 */ mr r4, r29 +/* 800B4E88 000B1DE8 7F E6 FB 78 */ mr r6, r31 +/* 800B4E8C 000B1DEC B0 01 00 08 */ sth r0, 8(r1) +/* 800B4E90 000B1DF0 38 A1 00 08 */ addi r5, r1, 8 +/* 800B4E94 000B1DF4 4B F9 C2 C9 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800B4E98 000B1DF8 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 +/* 800B4E9C 000B1DFC CB E1 01 D0 */ lfd f31, 0x1d0(r1) +/* 800B4EA0 000B1E00 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 +/* 800B4EA4 000B1E04 CB C1 01 C0 */ lfd f30, 0x1c0(r1) +/* 800B4EA8 000B1E08 BA 41 01 88 */ lmw r18, 0x188(r1) +/* 800B4EAC 000B1E0C 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 800B4EB0 000B1E10 7C 08 03 A6 */ mtlr r0 +/* 800B4EB4 000B1E14 38 21 01 E0 */ addi r1, r1, 0x1e0 +/* 800B4EB8 000B1E18 4E 80 00 20 */ blr + +.global sub_800b4ebc +sub_800b4ebc: +/* 800B4EBC 000B1E1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B4EC0 000B1E20 7C 08 02 A6 */ mflr r0 +/* 800B4EC4 000B1E24 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B4EC8 000B1E28 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B4ECC 000B1E2C 7C 7F 1B 78 */ mr r31, r3 +/* 800B4ED0 000B1E30 80 C5 00 00 */ lwz r6, 0(r5) +/* 800B4ED4 000B1E34 80 05 00 00 */ lwz r0, 0(r5) +/* 800B4ED8 000B1E38 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800B4EDC 000B1E3C 38 E6 00 08 */ addi r7, r6, 8 +/* 800B4EE0 000B1E40 38 C1 00 0C */ addi r6, r1, 0xc +/* 800B4EE4 000B1E44 90 E1 00 08 */ stw r7, 8(r1) +/* 800B4EE8 000B1E48 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800B4EEC 000B1E4C 90 01 00 10 */ stw r0, 0x10(r1) +/* 800B4EF0 000B1E50 48 00 00 19 */ bl sub_800b4f08 +/* 800B4EF4 000B1E54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B4EF8 000B1E58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B4EFC 000B1E5C 7C 08 03 A6 */ mtlr r0 +/* 800B4F00 000B1E60 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B4F04 000B1E64 4E 80 00 20 */ blr + +.global sub_800b4f08 +sub_800b4f08: +/* 800B4F08 000B1E68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B4F0C 000B1E6C 80 E5 00 00 */ lwz r7, 0(r5) +/* 800B4F10 000B1E70 80 06 00 00 */ lwz r0, 0(r6) +/* 800B4F14 000B1E74 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800B4F18 000B1E78 90 01 00 08 */ stw r0, 8(r1) +/* 800B4F1C 000B1E7C 48 00 00 08 */ b lbl_800B4F24 +lbl_800B4F20: +/* 800B4F20 000B1E80 38 E7 00 08 */ addi r7, r7, 8 +lbl_800B4F24: +/* 800B4F24 000B1E84 7C 07 00 40 */ cmplw r7, r0 +/* 800B4F28 000B1E88 40 82 FF F8 */ bne lbl_800B4F20 +/* 800B4F2C 000B1E8C 81 04 00 0C */ lwz r8, 0xc(r4) +/* 800B4F30 000B1E90 80 05 00 00 */ lwz r0, 0(r5) +/* 800B4F34 000B1E94 80 E6 00 00 */ lwz r7, 0(r6) +/* 800B4F38 000B1E98 7C 08 00 50 */ subf r0, r8, r0 +/* 800B4F3C 000B1E9C 7C 00 1E 70 */ srawi r0, r0, 3 +/* 800B4F40 000B1EA0 7C C0 01 94 */ addze r6, r0 +/* 800B4F44 000B1EA4 54 C0 18 38 */ slwi r0, r6, 3 +/* 800B4F48 000B1EA8 7C C9 33 78 */ mr r9, r6 +/* 800B4F4C 000B1EAC 7D 08 02 14 */ add r8, r8, r0 +/* 800B4F50 000B1EB0 48 00 00 28 */ b lbl_800B4F78 +lbl_800B4F54: +/* 800B4F54 000B1EB4 28 08 00 00 */ cmplwi r8, 0 +/* 800B4F58 000B1EB8 41 82 00 14 */ beq lbl_800B4F6C +/* 800B4F5C 000B1EBC A0 07 00 00 */ lhz r0, 0(r7) +/* 800B4F60 000B1EC0 B0 08 00 00 */ sth r0, 0(r8) +/* 800B4F64 000B1EC4 80 07 00 04 */ lwz r0, 4(r7) +/* 800B4F68 000B1EC8 90 08 00 04 */ stw r0, 4(r8) +lbl_800B4F6C: +/* 800B4F6C 000B1ECC 39 08 00 08 */ addi r8, r8, 8 +/* 800B4F70 000B1ED0 39 29 00 01 */ addi r9, r9, 1 +/* 800B4F74 000B1ED4 38 E7 00 08 */ addi r7, r7, 8 +lbl_800B4F78: +/* 800B4F78 000B1ED8 80 04 00 04 */ lwz r0, 4(r4) +/* 800B4F7C 000B1EDC 80 C4 00 0C */ lwz r6, 0xc(r4) +/* 800B4F80 000B1EE0 54 00 18 38 */ slwi r0, r0, 3 +/* 800B4F84 000B1EE4 7C 06 02 14 */ add r0, r6, r0 +/* 800B4F88 000B1EE8 7C 07 00 40 */ cmplw r7, r0 +/* 800B4F8C 000B1EEC 40 82 FF C8 */ bne lbl_800B4F54 +/* 800B4F90 000B1EF0 91 24 00 04 */ stw r9, 4(r4) +/* 800B4F94 000B1EF4 80 05 00 00 */ lwz r0, 0(r5) +/* 800B4F98 000B1EF8 90 03 00 00 */ stw r0, 0(r3) +/* 800B4F9C 000B1EFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B4FA0 000B1F00 4E 80 00 20 */ blr + +.global __dt__16CScriptGenerator +__dt__16CScriptGenerator: +/* 800B4FA4 000B1F04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B4FA8 000B1F08 7C 08 02 A6 */ mflr r0 +/* 800B4FAC 000B1F0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B4FB0 000B1F10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B4FB4 000B1F14 7C 9F 23 78 */ mr r31, r4 +/* 800B4FB8 000B1F18 93 C1 00 08 */ stw r30, 8(r1) +/* 800B4FBC 000B1F1C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800B4FC0 000B1F20 41 82 00 28 */ beq lbl_800B4FE8 +/* 800B4FC4 000B1F24 3C A0 80 3E */ lis r5, lbl_803DF328@ha +/* 800B4FC8 000B1F28 38 80 00 00 */ li r4, 0 +/* 800B4FCC 000B1F2C 38 05 F3 28 */ addi r0, r5, lbl_803DF328@l +/* 800B4FD0 000B1F30 90 1E 00 00 */ stw r0, 0(r30) +/* 800B4FD4 000B1F34 4B F9 C2 A1 */ bl __dt__7CEntityFv +/* 800B4FD8 000B1F38 7F E0 07 35 */ extsh. r0, r31 +/* 800B4FDC 000B1F3C 40 81 00 0C */ ble lbl_800B4FE8 +/* 800B4FE0 000B1F40 7F C3 F3 78 */ mr r3, r30 +/* 800B4FE4 000B1F44 48 26 09 4D */ bl Free__7CMemoryFPCv +lbl_800B4FE8: +/* 800B4FE8 000B1F48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B4FEC 000B1F4C 7F C3 F3 78 */ mr r3, r30 +/* 800B4FF0 000B1F50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B4FF4 000B1F54 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B4FF8 000B1F58 7C 08 03 A6 */ mtlr r0 +/* 800B4FFC 000B1F5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B5000 000B1F60 4E 80 00 20 */ blr + +.global "__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff" +"__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff": +/* 800B5004 000B1F64 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800B5008 000B1F68 7C 08 02 A6 */ mflr r0 +/* 800B500C 000B1F6C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800B5010 000B1F70 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 800B5014 000B1F74 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 800B5018 000B1F78 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 800B501C 000B1F7C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 800B5020 000B1F80 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800B5024 000B1F84 A0 04 00 00 */ lhz r0, 0(r4) +/* 800B5028 000B1F88 7C AB 2B 78 */ mr r11, r5 +/* 800B502C 000B1F8C FF C0 08 90 */ fmr f30, f1 +/* 800B5030 000B1F90 88 81 00 5B */ lbz r4, 0x5b(r1) +/* 800B5034 000B1F94 FF E0 10 90 */ fmr f31, f2 +/* 800B5038 000B1F98 B0 01 00 08 */ sth r0, 8(r1) +/* 800B503C 000B1F9C 7C FC 3B 78 */ mr r28, r7 +/* 800B5040 000B1FA0 7C C5 33 78 */ mr r5, r6 +/* 800B5044 000B1FA4 7C 86 23 78 */ mr r6, r4 +/* 800B5048 000B1FA8 7C 7B 1B 78 */ mr r27, r3 +/* 800B504C 000B1FAC 7D 1D 43 78 */ mr r29, r8 +/* 800B5050 000B1FB0 7D 3E 4B 78 */ mr r30, r9 +/* 800B5054 000B1FB4 7D 5F 53 78 */ mr r31, r10 +/* 800B5058 000B1FB8 7D 67 5B 78 */ mr r7, r11 +/* 800B505C 000B1FBC 38 81 00 08 */ addi r4, r1, 8 +/* 800B5060 000B1FC0 4B F9 C2 C5 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800B5064 000B1FC4 3C 60 80 3E */ lis r3, lbl_803DF328@ha +/* 800B5068 000B1FC8 38 03 F3 28 */ addi r0, r3, lbl_803DF328@l +/* 800B506C 000B1FCC 90 1B 00 00 */ stw r0, 0(r27) +/* 800B5070 000B1FD0 7F 63 DB 78 */ mr r3, r27 +/* 800B5074 000B1FD4 93 9B 00 34 */ stw r28, 0x34(r27) +/* 800B5078 000B1FD8 88 1B 00 38 */ lbz r0, 0x38(r27) +/* 800B507C 000B1FDC 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 +/* 800B5080 000B1FE0 98 1B 00 38 */ stb r0, 0x38(r27) +/* 800B5084 000B1FE4 88 1B 00 38 */ lbz r0, 0x38(r27) +/* 800B5088 000B1FE8 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 +/* 800B508C 000B1FEC 98 1B 00 38 */ stb r0, 0x38(r27) +/* 800B5090 000B1FF0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 800B5094 000B1FF4 D0 1B 00 3C */ stfs f0, 0x3c(r27) +/* 800B5098 000B1FF8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 800B509C 000B1FFC D0 1B 00 40 */ stfs f0, 0x40(r27) +/* 800B50A0 000B2000 C0 1E 00 08 */ lfs f0, 8(r30) +/* 800B50A4 000B2004 D0 1B 00 44 */ stfs f0, 0x44(r27) +/* 800B50A8 000B2008 D3 DB 00 48 */ stfs f30, 0x48(r27) +/* 800B50AC 000B200C D3 FB 00 4C */ stfs f31, 0x4c(r27) +/* 800B50B0 000B2010 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 800B50B4 000B2014 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 800B50B8 000B2018 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 800B50BC 000B201C CB C1 00 30 */ lfd f30, 0x30(r1) +/* 800B50C0 000B2020 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 800B50C4 000B2024 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800B50C8 000B2028 7C 08 03 A6 */ mtlr r0 +/* 800B50CC 000B202C 38 21 00 50 */ addi r1, r1, 0x50 +/* 800B50D0 000B2030 4E 80 00 20 */ blr + +.global "reserve__Q24rstl71vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl71vector,Q24rstl17rmemory_allocator>Fi": +/* 800B50D4 000B2034 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B50D8 000B2038 7C 08 02 A6 */ mflr r0 +/* 800B50DC 000B203C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B50E0 000B2040 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800B50E4 000B2044 7C 9F 23 78 */ mr r31, r4 +/* 800B50E8 000B2048 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800B50EC 000B204C 7C 7E 1B 78 */ mr r30, r3 +/* 800B50F0 000B2050 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800B50F4 000B2054 80 03 00 08 */ lwz r0, 8(r3) +/* 800B50F8 000B2058 7C 1F 00 00 */ cmpw r31, r0 +/* 800B50FC 000B205C 40 81 00 B0 */ ble lbl_800B51AC +/* 800B5100 000B2060 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 800B5104 000B2064 40 82 00 0C */ bne lbl_800B5110 +/* 800B5108 000B2068 3B A0 00 00 */ li r29, 0 +/* 800B510C 000B206C 48 00 00 18 */ b lbl_800B5124 +lbl_800B5110: +/* 800B5110 000B2070 3C 80 80 3D */ lis r4, lbl_803CDE78@ha +/* 800B5114 000B2074 38 A0 00 00 */ li r5, 0 +/* 800B5118 000B2078 38 84 DE 78 */ addi r4, r4, lbl_803CDE78@l +/* 800B511C 000B207C 48 26 06 FD */ bl __nwa__FUlPCcPCc +/* 800B5120 000B2080 7C 7D 1B 78 */ mr r29, r3 +lbl_800B5124: +/* 800B5124 000B2084 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B5128 000B2088 7F A4 EB 78 */ mr r4, r29 +/* 800B512C 000B208C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800B5130 000B2090 54 00 18 38 */ slwi r0, r0, 3 +/* 800B5134 000B2094 7C 65 02 14 */ add r3, r5, r0 +/* 800B5138 000B2098 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800B513C 000B209C 90 61 00 08 */ stw r3, 8(r1) +/* 800B5140 000B20A0 90 61 00 0C */ stw r3, 0xc(r1) +/* 800B5144 000B20A4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800B5148 000B20A8 48 00 00 24 */ b lbl_800B516C +lbl_800B514C: +/* 800B514C 000B20AC 28 04 00 00 */ cmplwi r4, 0 +/* 800B5150 000B20B0 41 82 00 14 */ beq lbl_800B5164 +/* 800B5154 000B20B4 A0 05 00 00 */ lhz r0, 0(r5) +/* 800B5158 000B20B8 B0 04 00 00 */ sth r0, 0(r4) +/* 800B515C 000B20BC 80 05 00 04 */ lwz r0, 4(r5) +/* 800B5160 000B20C0 90 04 00 04 */ stw r0, 4(r4) +lbl_800B5164: +/* 800B5164 000B20C4 38 84 00 08 */ addi r4, r4, 8 +/* 800B5168 000B20C8 38 A5 00 08 */ addi r5, r5, 8 +lbl_800B516C: +/* 800B516C 000B20CC 7C 05 18 40 */ cmplw r5, r3 +/* 800B5170 000B20D0 40 82 FF DC */ bne lbl_800B514C +/* 800B5174 000B20D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B5178 000B20D8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800B517C 000B20DC 54 00 18 38 */ slwi r0, r0, 3 +/* 800B5180 000B20E0 7C 64 1B 78 */ mr r4, r3 +/* 800B5184 000B20E4 7C 03 02 14 */ add r0, r3, r0 +/* 800B5188 000B20E8 48 00 00 08 */ b lbl_800B5190 +lbl_800B518C: +/* 800B518C 000B20EC 38 84 00 08 */ addi r4, r4, 8 +lbl_800B5190: +/* 800B5190 000B20F0 7C 04 00 40 */ cmplw r4, r0 +/* 800B5194 000B20F4 40 82 FF F8 */ bne lbl_800B518C +/* 800B5198 000B20F8 28 03 00 00 */ cmplwi r3, 0 +/* 800B519C 000B20FC 41 82 00 08 */ beq lbl_800B51A4 +/* 800B51A0 000B2100 48 26 07 91 */ bl Free__7CMemoryFPCv +lbl_800B51A4: +/* 800B51A4 000B2104 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800B51A8 000B2108 93 FE 00 08 */ stw r31, 8(r30) +lbl_800B51AC: +/* 800B51AC 000B210C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B51B0 000B2110 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800B51B4 000B2114 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800B51B8 000B2118 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800B51BC 000B211C 7C 08 03 A6 */ mtlr r0 +/* 800B51C0 000B2120 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B51C4 000B2124 4E 80 00 20 */ blr + +.global Accept__21CScriptCameraWaypointFR8IVisitor +Accept__21CScriptCameraWaypointFR8IVisitor: +/* 800B51C8 000B2128 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B51CC 000B212C 7C 08 02 A6 */ mflr r0 +/* 800B51D0 000B2130 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B51D4 000B2134 7C 60 1B 78 */ mr r0, r3 +/* 800B51D8 000B2138 7C 83 23 78 */ mr r3, r4 +/* 800B51DC 000B213C 81 84 00 00 */ lwz r12, 0(r4) +/* 800B51E0 000B2140 7C 04 03 78 */ mr r4, r0 +/* 800B51E4 000B2144 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 800B51E8 000B2148 7D 89 03 A6 */ mtctr r12 +/* 800B51EC 000B214C 4E 80 04 21 */ bctrl +/* 800B51F0 000B2150 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B51F4 000B2154 7C 08 03 A6 */ mtlr r0 +/* 800B51F8 000B2158 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B51FC 000B215C 4E 80 00 20 */ blr + +.global Render__21CScriptCameraWaypointCFRC13CStateManager +Render__21CScriptCameraWaypointCFRC13CStateManager: +/* 800B5200 000B2160 4E 80 00 20 */ blr + +.global AddToRenderer__21CScriptCameraWaypointCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__21CScriptCameraWaypointCFRC14CFrustumPlanesRC13CStateManager: +/* 800B5204 000B2164 4E 80 00 20 */ blr + +.global GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager +GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager: +/* 800B5208 000B2168 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800B520C 000B216C 7C 08 02 A6 */ mflr r0 +/* 800B5210 000B2170 90 01 00 64 */ stw r0, 0x64(r1) +/* 800B5214 000B2174 38 00 00 00 */ li r0, 0 +/* 800B5218 000B2178 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 800B521C 000B217C 7C 9D 23 78 */ mr r29, r4 +/* 800B5220 000B2180 7C 7C 1B 78 */ mr r28, r3 +/* 800B5224 000B2184 7C BE 2B 78 */ mr r30, r5 +/* 800B5228 000B2188 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B522C 000B218C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800B5230 000B2190 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800B5234 000B2194 83 E4 00 2C */ lwz r31, 0x2c(r4) +/* 800B5238 000B2198 48 00 00 A4 */ b lbl_800B52DC +lbl_800B523C: +/* 800B523C 000B219C 80 1F 00 00 */ lwz r0, 0(r31) +/* 800B5240 000B21A0 2C 00 00 01 */ cmpwi r0, 1 +/* 800B5244 000B21A4 40 82 00 94 */ bne lbl_800B52D8 +/* 800B5248 000B21A8 80 1F 00 04 */ lwz r0, 4(r31) +/* 800B524C 000B21AC 2C 00 00 08 */ cmpwi r0, 8 +/* 800B5250 000B21B0 40 82 00 88 */ bne lbl_800B52D8 +/* 800B5254 000B21B4 80 1F 00 08 */ lwz r0, 8(r31) +/* 800B5258 000B21B8 7F C4 F3 78 */ mr r4, r30 +/* 800B525C 000B21BC 38 61 00 08 */ addi r3, r1, 8 +/* 800B5260 000B21C0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800B5264 000B21C4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800B5268 000B21C8 4B F9 2C B5 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800B526C 000B21CC A3 61 00 08 */ lhz r27, 8(r1) +/* 800B5270 000B21D0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B5274 000B21D4 7C 1B 00 40 */ cmplw r27, r0 +/* 800B5278 000B21D8 41 82 00 60 */ beq lbl_800B52D8 +/* 800B527C 000B21DC 80 81 00 34 */ lwz r4, 0x34(r1) +/* 800B5280 000B21E0 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B5284 000B21E4 38 84 00 01 */ addi r4, r4, 1 +/* 800B5288 000B21E8 4B F5 71 81 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 800B528C 000B21EC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B5290 000B21F0 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 800B5294 000B21F4 7C 00 28 00 */ cmpw r0, r5 +/* 800B5298 000B21F8 41 80 00 1C */ blt lbl_800B52B4 +/* 800B529C 000B21FC 2C 05 00 00 */ cmpwi r5, 0 +/* 800B52A0 000B2200 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B52A4 000B2204 38 80 00 04 */ li r4, 4 +/* 800B52A8 000B2208 41 82 00 08 */ beq lbl_800B52B0 +/* 800B52AC 000B220C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B52B0: +/* 800B52B0 000B2210 4B F5 71 59 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_800B52B4: +/* 800B52B4 000B2214 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B52B8 000B2218 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800B52BC 000B221C 54 00 08 3C */ slwi r0, r0, 1 +/* 800B52C0 000B2220 7C 63 02 15 */ add. r3, r3, r0 +/* 800B52C4 000B2224 41 82 00 08 */ beq lbl_800B52CC +/* 800B52C8 000B2228 B3 63 00 00 */ sth r27, 0(r3) +lbl_800B52CC: +/* 800B52CC 000B222C 80 61 00 34 */ lwz r3, 0x34(r1) +/* 800B52D0 000B2230 38 03 00 01 */ addi r0, r3, 1 +/* 800B52D4 000B2234 90 01 00 34 */ stw r0, 0x34(r1) +lbl_800B52D8: +/* 800B52D8 000B2238 3B FF 00 0C */ addi r31, r31, 0xc +lbl_800B52DC: +/* 800B52DC 000B223C 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 800B52E0 000B2240 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 800B52E4 000B2244 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800B52E8 000B2248 7C 03 02 14 */ add r0, r3, r0 +/* 800B52EC 000B224C 7C 1F 00 40 */ cmplw r31, r0 +/* 800B52F0 000B2250 40 82 FF 4C */ bne lbl_800B523C +/* 800B52F4 000B2254 80 81 00 34 */ lwz r4, 0x34(r1) +/* 800B52F8 000B2258 2C 04 00 00 */ cmpwi r4, 0 +/* 800B52FC 000B225C 40 82 00 50 */ bne lbl_800B534C +/* 800B5300 000B2260 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B5304 000B2264 B0 1C 00 00 */ sth r0, 0(r28) +/* 800B5308 000B2268 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B530C 000B226C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800B5310 000B2270 54 00 08 3C */ slwi r0, r0, 1 +/* 800B5314 000B2274 7C 03 02 14 */ add r0, r3, r0 +/* 800B5318 000B2278 90 61 00 20 */ stw r3, 0x20(r1) +/* 800B531C 000B227C 7C 64 1B 78 */ mr r4, r3 +/* 800B5320 000B2280 90 01 00 28 */ stw r0, 0x28(r1) +/* 800B5324 000B2284 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B5328 000B2288 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800B532C 000B228C 48 00 00 08 */ b lbl_800B5334 +lbl_800B5330: +/* 800B5330 000B2290 38 84 00 02 */ addi r4, r4, 2 +lbl_800B5334: +/* 800B5334 000B2294 7C 04 00 40 */ cmplw r4, r0 +/* 800B5338 000B2298 40 82 FF F8 */ bne lbl_800B5330 +/* 800B533C 000B229C 28 03 00 00 */ cmplwi r3, 0 +/* 800B5340 000B22A0 41 82 00 6C */ beq lbl_800B53AC +/* 800B5344 000B22A4 48 26 05 ED */ bl Free__7CMemoryFPCv +/* 800B5348 000B22A8 48 00 00 64 */ b lbl_800B53AC +lbl_800B534C: +/* 800B534C 000B22AC 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 800B5350 000B22B0 38 A4 FF FF */ addi r5, r4, -1 +/* 800B5354 000B22B4 38 80 00 00 */ li r4, 0 +/* 800B5358 000B22B8 48 25 D2 3D */ bl Range__9CRandom16Fii +/* 800B535C 000B22BC 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 800B5360 000B22C0 54 60 08 3C */ slwi r0, r3, 1 +/* 800B5364 000B22C4 7C 04 02 2E */ lhzx r0, r4, r0 +/* 800B5368 000B22C8 B0 1C 00 00 */ sth r0, 0(r28) +/* 800B536C 000B22CC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B5370 000B22D0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800B5374 000B22D4 54 00 08 3C */ slwi r0, r0, 1 +/* 800B5378 000B22D8 7C 03 02 14 */ add r0, r3, r0 +/* 800B537C 000B22DC 90 61 00 10 */ stw r3, 0x10(r1) +/* 800B5380 000B22E0 7C 64 1B 78 */ mr r4, r3 +/* 800B5384 000B22E4 90 01 00 18 */ stw r0, 0x18(r1) +/* 800B5388 000B22E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B538C 000B22EC 90 61 00 0C */ stw r3, 0xc(r1) +/* 800B5390 000B22F0 48 00 00 08 */ b lbl_800B5398 +lbl_800B5394: +/* 800B5394 000B22F4 38 84 00 02 */ addi r4, r4, 2 +lbl_800B5398: +/* 800B5398 000B22F8 7C 04 00 40 */ cmplw r4, r0 +/* 800B539C 000B22FC 40 82 FF F8 */ bne lbl_800B5394 +/* 800B53A0 000B2300 28 03 00 00 */ cmplwi r3, 0 +/* 800B53A4 000B2304 41 82 00 08 */ beq lbl_800B53AC +/* 800B53A8 000B2308 48 26 05 89 */ bl Free__7CMemoryFPCv +lbl_800B53AC: +/* 800B53AC 000B230C BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 800B53B0 000B2310 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800B53B4 000B2314 7C 08 03 A6 */ mtlr r0 +/* 800B53B8 000B2318 38 21 00 60 */ addi r1, r1, 0x60 +/* 800B53BC 000B231C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__21CScriptCameraWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__21CScriptCameraWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800B53C0 000B2320 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B53C4 000B2324 7C 08 02 A6 */ mflr r0 +/* 800B53C8 000B2328 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B53CC 000B232C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B53D0 000B2330 7C DF 33 78 */ mr r31, r6 +/* 800B53D4 000B2334 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B53D8 000B2338 7C 9E 23 78 */ mr r30, r4 +/* 800B53DC 000B233C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B53E0 000B2340 7C 7D 1B 78 */ mr r29, r3 +/* 800B53E4 000B2344 A0 05 00 00 */ lhz r0, 0(r5) +/* 800B53E8 000B2348 38 A1 00 08 */ addi r5, r1, 8 +/* 800B53EC 000B234C B0 01 00 08 */ sth r0, 8(r1) +/* 800B53F0 000B2350 4B F9 E2 25 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800B53F4 000B2354 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 800B53F8 000B2358 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B53FC 000B235C 41 82 00 24 */ beq lbl_800B5420 +/* 800B5400 000B2360 2C 1E 00 02 */ cmpwi r30, 2 +/* 800B5404 000B2364 41 82 00 08 */ beq lbl_800B540C +/* 800B5408 000B2368 48 00 00 18 */ b lbl_800B5420 +lbl_800B540C: +/* 800B540C 000B236C 7F A3 EB 78 */ mr r3, r29 +/* 800B5410 000B2370 7F E5 FB 78 */ mr r5, r31 +/* 800B5414 000B2374 38 80 00 01 */ li r4, 1 +/* 800B5418 000B2378 38 C0 FF FF */ li r6, -1 +/* 800B541C 000B237C 4B F9 BC A5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_800B5420: +/* 800B5420 000B2380 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B5424 000B2384 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B5428 000B2388 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B542C 000B238C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B5430 000B2390 7C 08 03 A6 */ mtlr r0 +/* 800B5434 000B2394 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B5438 000B2398 4E 80 00 20 */ blr + +.global __dt__21CScriptCameraWaypointFv +__dt__21CScriptCameraWaypointFv: +/* 800B543C 000B239C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B5440 000B23A0 7C 08 02 A6 */ mflr r0 +/* 800B5444 000B23A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B5448 000B23A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B544C 000B23AC 7C 9F 23 78 */ mr r31, r4 +/* 800B5450 000B23B0 93 C1 00 08 */ stw r30, 8(r1) +/* 800B5454 000B23B4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800B5458 000B23B8 41 82 00 28 */ beq lbl_800B5480 +/* 800B545C 000B23BC 3C A0 80 3E */ lis r5, lbl_803DF348@ha +/* 800B5460 000B23C0 38 80 00 00 */ li r4, 0 +/* 800B5464 000B23C4 38 05 F3 48 */ addi r0, r5, lbl_803DF348@l +/* 800B5468 000B23C8 90 1E 00 00 */ stw r0, 0(r30) +/* 800B546C 000B23CC 4B FA 02 85 */ bl __dt__6CActorFv +/* 800B5470 000B23D0 7F E0 07 35 */ extsh. r0, r31 +/* 800B5474 000B23D4 40 81 00 0C */ ble lbl_800B5480 +/* 800B5478 000B23D8 7F C3 F3 78 */ mr r3, r30 +/* 800B547C 000B23DC 48 26 04 B5 */ bl Free__7CMemoryFPCv +lbl_800B5480: +/* 800B5480 000B23E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B5484 000B23E4 7F C3 F3 78 */ mr r3, r30 +/* 800B5488 000B23E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B548C 000B23EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B5490 000B23F0 7C 08 03 A6 */ mtlr r0 +/* 800B5494 000B23F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B5498 000B23F8 4E 80 00 20 */ blr + +.global "__ct__21CScriptCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfUi" +"__ct__21CScriptCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfUi": +/* 800B549C 000B23FC 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 800B54A0 000B2400 7C 08 02 A6 */ mflr r0 +/* 800B54A4 000B2404 90 01 01 04 */ stw r0, 0x104(r1) +/* 800B54A8 000B2408 DB E1 00 F8 */ stfd f31, 0xf8(r1) +/* 800B54AC 000B240C FF E0 08 90 */ fmr f31, f1 +/* 800B54B0 000B2410 BF 21 00 DC */ stmw r25, 0xdc(r1) +/* 800B54B4 000B2414 7C 7F 1B 78 */ mr r31, r3 +/* 800B54B8 000B2418 7C 99 23 78 */ mr r25, r4 +/* 800B54BC 000B241C 7C BA 2B 78 */ mr r26, r5 +/* 800B54C0 000B2420 7C DB 33 78 */ mr r27, r6 +/* 800B54C4 000B2424 7C FC 3B 78 */ mr r28, r7 +/* 800B54C8 000B2428 7D 1D 43 78 */ mr r29, r8 +/* 800B54CC 000B242C 7D 3E 4B 78 */ mr r30, r9 +/* 800B54D0 000B2430 38 61 00 88 */ addi r3, r1, 0x88 +/* 800B54D4 000B2434 4B F8 52 D1 */ bl CModelDataNull__10CModelDataFv +/* 800B54D8 000B2438 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B54DC 000B243C 4B F6 59 5D */ bl None__16CActorParametersFv +/* 800B54E0 000B2440 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 800B54E4 000B2444 38 00 00 00 */ li r0, 0 +/* 800B54E8 000B2448 80 AD 86 50 */ lwz r5, lbl_805A7210@sda21(r13) +/* 800B54EC 000B244C 38 60 00 00 */ li r3, 0 +/* 800B54F0 000B2450 B0 81 00 10 */ sth r4, 0x10(r1) +/* 800B54F4 000B2454 38 80 00 01 */ li r4, 1 +/* 800B54F8 000B2458 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800B54FC 000B245C 90 01 00 18 */ stw r0, 0x18(r1) +/* 800B5500 000B2460 48 2D 49 F5 */ bl __shl2i +/* 800B5504 000B2464 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 800B5508 000B2468 39 61 00 20 */ addi r11, r1, 0x20 +/* 800B550C 000B246C 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 800B5510 000B2470 38 01 00 10 */ addi r0, r1, 0x10 +/* 800B5514 000B2474 7C A3 1B 78 */ or r3, r5, r3 +/* 800B5518 000B2478 A1 39 00 00 */ lhz r9, 0(r25) +/* 800B551C 000B247C 7C C4 23 78 */ or r4, r6, r4 +/* 800B5520 000B2480 90 61 00 18 */ stw r3, 0x18(r1) +/* 800B5524 000B2484 7F E3 FB 78 */ mr r3, r31 +/* 800B5528 000B2488 7F A5 EB 78 */ mr r5, r29 +/* 800B552C 000B248C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800B5530 000B2490 7F 46 D3 78 */ mr r6, r26 +/* 800B5534 000B2494 7F 67 DB 78 */ mr r7, r27 +/* 800B5538 000B2498 7F 88 E3 78 */ mr r8, r28 +/* 800B553C 000B249C B1 21 00 14 */ sth r9, 0x14(r1) +/* 800B5540 000B24A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800B5544 000B24A4 39 21 00 88 */ addi r9, r1, 0x88 +/* 800B5548 000B24A8 39 41 00 18 */ addi r10, r1, 0x18 +/* 800B554C 000B24AC 91 61 00 08 */ stw r11, 8(r1) +/* 800B5550 000B24B0 90 01 00 0C */ stw r0, 0xc(r1) +/* 800B5554 000B24B4 4B FA 02 CD */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 800B5558 000B24B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B555C 000B24BC 38 80 FF FF */ li r4, -1 +/* 800B5560 000B24C0 48 05 10 A9 */ bl __dt__16CActorParametersFv +/* 800B5564 000B24C4 38 61 00 88 */ addi r3, r1, 0x88 +/* 800B5568 000B24C8 38 80 FF FF */ li r4, -1 +/* 800B556C 000B24CC 48 06 14 E1 */ bl __dt__10CModelDataFv +/* 800B5570 000B24D0 3C 80 80 3E */ lis r4, lbl_803DF348@ha +/* 800B5574 000B24D4 7F E3 FB 78 */ mr r3, r31 +/* 800B5578 000B24D8 38 04 F3 48 */ addi r0, r4, lbl_803DF348@l +/* 800B557C 000B24DC 90 1F 00 00 */ stw r0, 0(r31) +/* 800B5580 000B24E0 D3 FF 00 E8 */ stfs f31, 0xe8(r31) +/* 800B5584 000B24E4 93 DF 00 EC */ stw r30, 0xec(r31) +/* 800B5588 000B24E8 CB E1 00 F8 */ lfd f31, 0xf8(r1) +/* 800B558C 000B24EC BB 21 00 DC */ lmw r25, 0xdc(r1) +/* 800B5590 000B24F0 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800B5594 000B24F4 7C 08 03 A6 */ mtlr r0 +/* 800B5598 000B24F8 38 21 01 00 */ addi r1, r1, 0x100 +/* 800B559C 000B24FC 4E 80 00 20 */ blr + +.global __dt__10CGameLightFv +__dt__10CGameLightFv: +/* 800B55A0 000B2500 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B55A4 000B2504 7C 08 02 A6 */ mflr r0 +/* 800B55A8 000B2508 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B55AC 000B250C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B55B0 000B2510 7C 9F 23 78 */ mr r31, r4 +/* 800B55B4 000B2514 93 C1 00 08 */ stw r30, 8(r1) +/* 800B55B8 000B2518 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800B55BC 000B251C 41 82 00 28 */ beq lbl_800B55E4 +/* 800B55C0 000B2520 3C A0 80 3E */ lis r5, lbl_803DF3B8@ha +/* 800B55C4 000B2524 38 80 00 00 */ li r4, 0 +/* 800B55C8 000B2528 38 05 F3 B8 */ addi r0, r5, lbl_803DF3B8@l +/* 800B55CC 000B252C 90 1E 00 00 */ stw r0, 0(r30) +/* 800B55D0 000B2530 4B FA 01 21 */ bl __dt__6CActorFv +/* 800B55D4 000B2534 7F E0 07 35 */ extsh. r0, r31 +/* 800B55D8 000B2538 40 81 00 0C */ ble lbl_800B55E4 +/* 800B55DC 000B253C 7F C3 F3 78 */ mr r3, r30 +/* 800B55E0 000B2540 48 26 03 51 */ bl Free__7CMemoryFPCv +lbl_800B55E4: +/* 800B55E4 000B2544 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B55E8 000B2548 7F C3 F3 78 */ mr r3, r30 +/* 800B55EC 000B254C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B55F0 000B2550 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B55F4 000B2554 7C 08 03 A6 */ mtlr r0 +/* 800B55F8 000B2558 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B55FC 000B255C 4E 80 00 20 */ blr + +.global SetLightPriorityAndId__10CGameLightFv +SetLightPriorityAndId__10CGameLightFv: +/* 800B5600 000B2560 80 03 01 40 */ lwz r0, 0x140(r3) +/* 800B5604 000B2564 90 03 01 28 */ stw r0, 0x128(r3) +/* 800B5608 000B2568 80 03 01 3C */ lwz r0, 0x13c(r3) +/* 800B560C 000B256C 90 03 01 2C */ stw r0, 0x12c(r3) +/* 800B5610 000B2570 4E 80 00 20 */ blr + +.global Accept__10CGameLightFR8IVisitor +Accept__10CGameLightFR8IVisitor: +/* 800B5614 000B2574 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B5618 000B2578 7C 08 02 A6 */ mflr r0 +/* 800B561C 000B257C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B5620 000B2580 7C 60 1B 78 */ mr r0, r3 +/* 800B5624 000B2584 7C 83 23 78 */ mr r3, r4 +/* 800B5628 000B2588 81 84 00 00 */ lwz r12, 0(r4) +/* 800B562C 000B258C 7C 04 03 78 */ mr r4, r0 +/* 800B5630 000B2590 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 800B5634 000B2594 7D 89 03 A6 */ mtctr r12 +/* 800B5638 000B2598 4E 80 04 21 */ bctrl +/* 800B563C 000B259C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B5640 000B25A0 7C 08 03 A6 */ mtlr r0 +/* 800B5644 000B25A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B5648 000B25A8 4E 80 00 20 */ blr + +.global Think__10CGameLightFfR13CStateManager +Think__10CGameLightFfR13CStateManager: +/* 800B564C 000B25AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B5650 000B25B0 7C 08 02 A6 */ mflr r0 +/* 800B5654 000B25B4 C0 42 8C F0 */ lfs f2, lbl_805AAA10@sda21(r2) +/* 800B5658 000B25B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B565C 000B25BC C0 03 01 44 */ lfs f0, 0x144(r3) +/* 800B5660 000B25C0 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 800B5664 000B25C4 40 81 00 34 */ ble lbl_800B5698 +/* 800B5668 000B25C8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800B566C 000B25CC D0 03 01 44 */ stfs f0, 0x144(r3) +/* 800B5670 000B25D0 C0 03 01 44 */ lfs f0, 0x144(r3) +/* 800B5674 000B25D4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 800B5678 000B25D8 4C 40 13 82 */ cror 2, 0, 2 +/* 800B567C 000B25DC 40 82 00 1C */ bne lbl_800B5698 +/* 800B5680 000B25E0 A0 03 00 08 */ lhz r0, 8(r3) +/* 800B5684 000B25E4 7C 83 23 78 */ mr r3, r4 +/* 800B5688 000B25E8 38 81 00 0C */ addi r4, r1, 0xc +/* 800B568C 000B25EC B0 01 00 08 */ sth r0, 8(r1) +/* 800B5690 000B25F0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800B5694 000B25F4 4B F9 6B D9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_800B5698: +/* 800B5698 000B25F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B569C 000B25FC 7C 08 03 A6 */ mtlr r0 +/* 800B56A0 000B2600 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B56A4 000B2604 4E 80 00 20 */ blr + +.global GetLight__10CGameLightCFv +GetLight__10CGameLightCFv: +/* 800B56A8 000B2608 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800B56AC 000B260C 7C 08 02 A6 */ mflr r0 +/* 800B56B0 000B2610 90 01 00 94 */ stw r0, 0x94(r1) +/* 800B56B4 000B2614 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 800B56B8 000B2618 7C 9F 23 78 */ mr r31, r4 +/* 800B56BC 000B261C 38 9F 00 EC */ addi r4, r31, 0xec +/* 800B56C0 000B2620 93 C1 00 88 */ stw r30, 0x88(r1) +/* 800B56C4 000B2624 7C 7E 1B 78 */ mr r30, r3 +/* 800B56C8 000B2628 38 61 00 2C */ addi r3, r1, 0x2c +/* 800B56CC 000B262C 4B F8 5E A5 */ bl __ct__6CLightFCR6CLight +/* 800B56D0 000B2630 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B56D4 000B2634 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800B56D8 000B2638 38 BF 00 EC */ addi r5, r31, 0xec +/* 800B56DC 000B263C 48 25 D4 0D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800B56E0 000B2640 38 61 00 2C */ addi r3, r1, 0x2c +/* 800B56E4 000B2644 38 81 00 20 */ addi r4, r1, 0x20 +/* 800B56E8 000B2648 48 25 0C 59 */ bl SetPosition__6CLightFRC9CVector3f +/* 800B56EC 000B264C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 800B56F0 000B2650 2C 00 00 01 */ cmpwi r0, 1 +/* 800B56F4 000B2654 41 82 00 2C */ beq lbl_800B5720 +/* 800B56F8 000B2658 38 61 00 08 */ addi r3, r1, 8 +/* 800B56FC 000B265C 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800B5700 000B2660 38 BF 00 F8 */ addi r5, r31, 0xf8 +/* 800B5704 000B2664 48 25 D3 7D */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800B5708 000B2668 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B570C 000B266C 38 81 00 08 */ addi r4, r1, 8 +/* 800B5710 000B2670 48 25 F1 41 */ bl AsNormalized__9CVector3fCFv +/* 800B5714 000B2674 38 61 00 2C */ addi r3, r1, 0x2c +/* 800B5718 000B2678 38 81 00 14 */ addi r4, r1, 0x14 +/* 800B571C 000B267C 48 25 0C 09 */ bl SetDirection__6CLightFRC9CVector3f +lbl_800B5720: +/* 800B5720 000B2680 7F C3 F3 78 */ mr r3, r30 +/* 800B5724 000B2684 38 81 00 2C */ addi r4, r1, 0x2c +/* 800B5728 000B2688 4B F8 5E 49 */ bl __ct__6CLightFCR6CLight +/* 800B572C 000B268C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800B5730 000B2690 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 800B5734 000B2694 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 800B5738 000B2698 7C 08 03 A6 */ mtlr r0 +/* 800B573C 000B269C 38 21 00 90 */ addi r1, r1, 0x90 +/* 800B5740 000B26A0 4E 80 00 20 */ blr + +.global SetLight__10CGameLightFRC6CLight +SetLight__10CGameLightFRC6CLight: +/* 800B5744 000B26A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B5748 000B26A8 7C 08 02 A6 */ mflr r0 +/* 800B574C 000B26AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B5750 000B26B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B5754 000B26B4 7C 7F 1B 78 */ mr r31, r3 +/* 800B5758 000B26B8 38 7F 00 EC */ addi r3, r31, 0xec +/* 800B575C 000B26BC 80 A4 00 00 */ lwz r5, 0(r4) +/* 800B5760 000B26C0 80 04 00 04 */ lwz r0, 4(r4) +/* 800B5764 000B26C4 90 BF 00 EC */ stw r5, 0xec(r31) +/* 800B5768 000B26C8 90 1F 00 F0 */ stw r0, 0xf0(r31) +/* 800B576C 000B26CC 80 04 00 08 */ lwz r0, 8(r4) +/* 800B5770 000B26D0 90 1F 00 F4 */ stw r0, 0xf4(r31) +/* 800B5774 000B26D4 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 800B5778 000B26D8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800B577C 000B26DC 90 BF 00 F8 */ stw r5, 0xf8(r31) +/* 800B5780 000B26E0 90 1F 00 FC */ stw r0, 0xfc(r31) +/* 800B5784 000B26E4 80 04 00 14 */ lwz r0, 0x14(r4) +/* 800B5788 000B26E8 90 1F 01 00 */ stw r0, 0x100(r31) +/* 800B578C 000B26EC 80 04 00 18 */ lwz r0, 0x18(r4) +/* 800B5790 000B26F0 90 1F 01 04 */ stw r0, 0x104(r31) +/* 800B5794 000B26F4 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 800B5798 000B26F8 90 1F 01 08 */ stw r0, 0x108(r31) +/* 800B579C 000B26FC C0 04 00 20 */ lfs f0, 0x20(r4) +/* 800B57A0 000B2700 D0 1F 01 0C */ stfs f0, 0x10c(r31) +/* 800B57A4 000B2704 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 800B57A8 000B2708 D0 1F 01 10 */ stfs f0, 0x110(r31) +/* 800B57AC 000B270C C0 04 00 28 */ lfs f0, 0x28(r4) +/* 800B57B0 000B2710 D0 1F 01 14 */ stfs f0, 0x114(r31) +/* 800B57B4 000B2714 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 800B57B8 000B2718 D0 1F 01 18 */ stfs f0, 0x118(r31) +/* 800B57BC 000B271C C0 04 00 30 */ lfs f0, 0x30(r4) +/* 800B57C0 000B2720 D0 1F 01 1C */ stfs f0, 0x11c(r31) +/* 800B57C4 000B2724 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 800B57C8 000B2728 D0 1F 01 20 */ stfs f0, 0x120(r31) +/* 800B57CC 000B272C C0 04 00 38 */ lfs f0, 0x38(r4) +/* 800B57D0 000B2730 D0 1F 01 24 */ stfs f0, 0x124(r31) +/* 800B57D4 000B2734 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 800B57D8 000B2738 90 1F 01 28 */ stw r0, 0x128(r31) +/* 800B57DC 000B273C 80 04 00 40 */ lwz r0, 0x40(r4) +/* 800B57E0 000B2740 90 1F 01 2C */ stw r0, 0x12c(r31) +/* 800B57E4 000B2744 C0 04 00 44 */ lfs f0, 0x44(r4) +/* 800B57E8 000B2748 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 800B57EC 000B274C C0 04 00 48 */ lfs f0, 0x48(r4) +/* 800B57F0 000B2750 D0 1F 01 34 */ stfs f0, 0x134(r31) +/* 800B57F4 000B2754 88 04 00 4C */ lbz r0, 0x4c(r4) +/* 800B57F8 000B2758 98 1F 01 38 */ stb r0, 0x138(r31) +/* 800B57FC 000B275C 48 25 0A D9 */ bl GetRadius__6CLightCFv +/* 800B5800 000B2760 38 7F 00 EC */ addi r3, r31, 0xec +/* 800B5804 000B2764 48 25 09 51 */ bl GetIntensity__6CLightCFv +/* 800B5808 000B2768 7F E3 FB 78 */ mr r3, r31 +/* 800B580C 000B276C 4B FF FD F5 */ bl SetLightPriorityAndId__10CGameLightFv +/* 800B5810 000B2770 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B5814 000B2774 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B5818 000B2778 7C 08 03 A6 */ mtlr r0 +/* 800B581C 000B277C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B5820 000B2780 4E 80 00 20 */ blr + +.global "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +"__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif": +/* 800B5824 000B2784 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 800B5828 000B2788 7C 08 02 A6 */ mflr r0 +/* 800B582C 000B278C 3D 60 80 57 */ lis r11, lbl_8056D410@ha +/* 800B5830 000B2790 90 01 01 44 */ stw r0, 0x144(r1) +/* 800B5834 000B2794 DB E1 01 38 */ stfd f31, 0x138(r1) +/* 800B5838 000B2798 FF E0 08 90 */ fmr f31, f1 +/* 800B583C 000B279C BE E1 01 14 */ stmw r23, 0x114(r1) +/* 800B5840 000B27A0 7C 77 1B 78 */ mr r23, r3 +/* 800B5844 000B27A4 7C 98 23 78 */ mr r24, r4 +/* 800B5848 000B27A8 7C D9 33 78 */ mr r25, r6 +/* 800B584C 000B27AC 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 800B5850 000B27B0 7C FA 3B 78 */ mr r26, r7 +/* 800B5854 000B27B4 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 800B5858 000B27B8 7D 1B 43 78 */ mr r27, r8 +/* 800B585C 000B27BC 7D 3C 4B 78 */ mr r28, r9 +/* 800B5860 000B27C0 7D 5D 53 78 */ mr r29, r10 +/* 800B5864 000B27C4 38 61 00 38 */ addi r3, r1, 0x38 +/* 800B5868 000B27C8 38 81 00 2C */ addi r4, r1, 0x2c +/* 800B586C 000B27CC 38 C1 00 28 */ addi r6, r1, 0x28 +/* 800B5870 000B27D0 80 05 00 00 */ lwz r0, 0(r5) +/* 800B5874 000B27D4 38 AB D4 10 */ addi r5, r11, lbl_8056D410@l +/* 800B5878 000B27D8 81 8D A3 88 */ lwz r12, lbl_805A8F48@sda21(r13) +/* 800B587C 000B27DC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800B5880 000B27E0 91 81 00 28 */ stw r12, 0x28(r1) +/* 800B5884 000B27E4 4B F9 BC 01 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 800B5888 000B27E8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800B588C 000B27EC 4B F8 4F 19 */ bl CModelDataNull__10CModelDataFv +/* 800B5890 000B27F0 38 61 00 50 */ addi r3, r1, 0x50 +/* 800B5894 000B27F4 4B F6 55 A5 */ bl None__16CActorParametersFv +/* 800B5898 000B27F8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 800B589C 000B27FC 38 00 00 00 */ li r0, 0 +/* 800B58A0 000B2800 80 AD 86 58 */ lwz r5, lbl_805A7218@sda21(r13) +/* 800B58A4 000B2804 38 60 00 00 */ li r3, 0 +/* 800B58A8 000B2808 B0 81 00 10 */ sth r4, 0x10(r1) +/* 800B58AC 000B280C 38 80 00 01 */ li r4, 1 +/* 800B58B0 000B2810 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B58B4 000B2814 90 01 00 30 */ stw r0, 0x30(r1) +/* 800B58B8 000B2818 48 2D 46 3D */ bl __shl2i +/* 800B58BC 000B281C 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 800B58C0 000B2820 39 61 00 50 */ addi r11, r1, 0x50 +/* 800B58C4 000B2824 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 800B58C8 000B2828 38 01 00 10 */ addi r0, r1, 0x10 +/* 800B58CC 000B282C 7C A3 1B 78 */ or r3, r5, r3 +/* 800B58D0 000B2830 A0 F8 00 00 */ lhz r7, 0(r24) +/* 800B58D4 000B2834 7C C4 23 78 */ or r4, r6, r4 +/* 800B58D8 000B2838 90 61 00 30 */ stw r3, 0x30(r1) +/* 800B58DC 000B283C 7E E3 BB 78 */ mr r3, r23 +/* 800B58E0 000B2840 7F 25 CB 78 */ mr r5, r25 +/* 800B58E4 000B2844 90 81 00 34 */ stw r4, 0x34(r1) +/* 800B58E8 000B2848 7F 46 D3 78 */ mr r6, r26 +/* 800B58EC 000B284C 7F 68 DB 78 */ mr r8, r27 +/* 800B58F0 000B2850 38 81 00 14 */ addi r4, r1, 0x14 +/* 800B58F4 000B2854 B0 E1 00 14 */ sth r7, 0x14(r1) +/* 800B58F8 000B2858 38 E1 00 38 */ addi r7, r1, 0x38 +/* 800B58FC 000B285C 39 21 00 B8 */ addi r9, r1, 0xb8 +/* 800B5900 000B2860 39 41 00 30 */ addi r10, r1, 0x30 +/* 800B5904 000B2864 91 61 00 08 */ stw r11, 8(r1) +/* 800B5908 000B2868 90 01 00 0C */ stw r0, 0xc(r1) +/* 800B590C 000B286C 4B F9 FF 15 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 800B5910 000B2870 38 61 00 50 */ addi r3, r1, 0x50 +/* 800B5914 000B2874 38 80 FF FF */ li r4, -1 +/* 800B5918 000B2878 48 05 0C F1 */ bl __dt__16CActorParametersFv +/* 800B591C 000B287C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800B5920 000B2880 38 80 FF FF */ li r4, -1 +/* 800B5924 000B2884 48 06 11 29 */ bl __dt__10CModelDataFv +/* 800B5928 000B2888 80 01 00 40 */ lwz r0, 0x40(r1) +/* 800B592C 000B288C 80 61 00 48 */ lwz r3, 0x48(r1) +/* 800B5930 000B2890 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800B5934 000B2894 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800B5938 000B2898 7C 64 1B 78 */ mr r4, r3 +/* 800B593C 000B289C 7C 03 02 14 */ add r0, r3, r0 +/* 800B5940 000B28A0 90 61 00 18 */ stw r3, 0x18(r1) +/* 800B5944 000B28A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B5948 000B28A8 90 01 00 20 */ stw r0, 0x20(r1) +/* 800B594C 000B28AC 48 00 00 08 */ b lbl_800B5954 +lbl_800B5950: +/* 800B5950 000B28B0 38 84 00 0C */ addi r4, r4, 0xc +lbl_800B5954: +/* 800B5954 000B28B4 7C 04 00 40 */ cmplw r4, r0 +/* 800B5958 000B28B8 40 82 FF F8 */ bne lbl_800B5950 +/* 800B595C 000B28BC 28 03 00 00 */ cmplwi r3, 0 +/* 800B5960 000B28C0 41 82 00 08 */ beq lbl_800B5968 +/* 800B5964 000B28C4 48 25 FF CD */ bl Free__7CMemoryFPCv +lbl_800B5968: +/* 800B5968 000B28C8 3C 60 80 3E */ lis r3, lbl_803DF3B8@ha +/* 800B596C 000B28CC 7F A4 EB 78 */ mr r4, r29 +/* 800B5970 000B28D0 38 03 F3 B8 */ addi r0, r3, lbl_803DF3B8@l +/* 800B5974 000B28D4 38 77 00 EC */ addi r3, r23, 0xec +/* 800B5978 000B28D8 90 17 00 00 */ stw r0, 0(r23) +/* 800B597C 000B28DC A0 1C 00 00 */ lhz r0, 0(r28) +/* 800B5980 000B28E0 B0 17 00 E8 */ sth r0, 0xe8(r23) +/* 800B5984 000B28E4 4B F8 5B ED */ bl __ct__6CLightFCR6CLight +/* 800B5988 000B28E8 93 D7 01 3C */ stw r30, 0x13c(r23) +/* 800B598C 000B28EC 38 77 00 EC */ addi r3, r23, 0xec +/* 800B5990 000B28F0 93 F7 01 40 */ stw r31, 0x140(r23) +/* 800B5994 000B28F4 D3 F7 01 44 */ stfs f31, 0x144(r23) +/* 800B5998 000B28F8 48 25 09 3D */ bl GetRadius__6CLightCFv +/* 800B599C 000B28FC 38 77 00 EC */ addi r3, r23, 0xec +/* 800B59A0 000B2900 48 25 07 B5 */ bl GetIntensity__6CLightCFv +/* 800B59A4 000B2904 7E E3 BB 78 */ mr r3, r23 +/* 800B59A8 000B2908 4B FF FC 59 */ bl SetLightPriorityAndId__10CGameLightFv +/* 800B59AC 000B290C 7E E3 BB 78 */ mr r3, r23 +/* 800B59B0 000B2910 CB E1 01 38 */ lfd f31, 0x138(r1) +/* 800B59B4 000B2914 BA E1 01 14 */ lmw r23, 0x114(r1) +/* 800B59B8 000B2918 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800B59BC 000B291C 7C 08 03 A6 */ mtlr r0 +/* 800B59C0 000B2920 38 21 01 40 */ addi r1, r1, 0x140 +/* 800B59C4 000B2924 4E 80 00 20 */ blr + +.global __ct__15CTweakTargetingFR12CInputStream +__ct__15CTweakTargetingFR12CInputStream: +/* 800B59C8 000B2928 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B59CC 000B292C 7C 08 02 A6 */ mflr r0 +/* 800B59D0 000B2930 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B59D4 000B2934 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 800B59D8 000B2938 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 800B59DC 000B293C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B59E0 000B2940 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B59E4 000B2944 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B59E8 000B2948 93 81 00 10 */ stw r28, 0x10(r1) +/* 800B59EC 000B294C 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha +/* 800B59F0 000B2950 3C A0 80 3E */ lis r5, lbl_803DF428@ha +/* 800B59F4 000B2954 7C 7E 1B 78 */ mr r30, r3 +/* 800B59F8 000B2958 7C 9F 23 78 */ mr r31, r4 +/* 800B59FC 000B295C 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l +/* 800B5A00 000B2960 38 05 F4 28 */ addi r0, r5, lbl_803DF428@l +/* 800B5A04 000B2964 90 7E 00 00 */ stw r3, 0(r30) +/* 800B5A08 000B2968 7F E3 FB 78 */ mr r3, r31 +/* 800B5A0C 000B296C 90 1E 00 00 */ stw r0, 0(r30) +/* 800B5A10 000B2970 48 28 92 75 */ bl ReadLong__12CInputStreamFv +/* 800B5A14 000B2974 90 7E 00 04 */ stw r3, 4(r30) +/* 800B5A18 000B2978 7F E3 FB 78 */ mr r3, r31 +/* 800B5A1C 000B297C 48 28 92 0D */ bl ReadFloat__12CInputStreamFv +/* 800B5A20 000B2980 D0 3E 00 08 */ stfs f1, 8(r30) +/* 800B5A24 000B2984 7F E3 FB 78 */ mr r3, r31 +/* 800B5A28 000B2988 48 28 92 01 */ bl ReadFloat__12CInputStreamFv +/* 800B5A2C 000B298C D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 800B5A30 000B2990 7F E3 FB 78 */ mr r3, r31 +/* 800B5A34 000B2994 48 28 91 F5 */ bl ReadFloat__12CInputStreamFv +/* 800B5A38 000B2998 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 800B5A3C 000B299C 7F E3 FB 78 */ mr r3, r31 +/* 800B5A40 000B29A0 48 28 91 E9 */ bl ReadFloat__12CInputStreamFv +/* 800B5A44 000B29A4 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 800B5A48 000B29A8 7F E3 FB 78 */ mr r3, r31 +/* 800B5A4C 000B29AC 48 28 91 DD */ bl ReadFloat__12CInputStreamFv +/* 800B5A50 000B29B0 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 800B5A54 000B29B4 7F E3 FB 78 */ mr r3, r31 +/* 800B5A58 000B29B8 48 28 91 D1 */ bl ReadFloat__12CInputStreamFv +/* 800B5A5C 000B29BC D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 800B5A60 000B29C0 7F E3 FB 78 */ mr r3, r31 +/* 800B5A64 000B29C4 48 28 91 C5 */ bl ReadFloat__12CInputStreamFv +/* 800B5A68 000B29C8 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 800B5A6C 000B29CC 7F E3 FB 78 */ mr r3, r31 +/* 800B5A70 000B29D0 48 28 91 B9 */ bl ReadFloat__12CInputStreamFv +/* 800B5A74 000B29D4 D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 800B5A78 000B29D8 7F E3 FB 78 */ mr r3, r31 +/* 800B5A7C 000B29DC 48 28 91 AD */ bl ReadFloat__12CInputStreamFv +/* 800B5A80 000B29E0 D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 800B5A84 000B29E4 7F E3 FB 78 */ mr r3, r31 +/* 800B5A88 000B29E8 48 28 91 A1 */ bl ReadFloat__12CInputStreamFv +/* 800B5A8C 000B29EC D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 800B5A90 000B29F0 7F E4 FB 78 */ mr r4, r31 +/* 800B5A94 000B29F4 38 7E 00 30 */ addi r3, r30, 0x30 +/* 800B5A98 000B29F8 48 25 F0 F5 */ bl __ct__9CVector3fFR12CInputStream +/* 800B5A9C 000B29FC 7F E4 FB 78 */ mr r4, r31 +/* 800B5AA0 000B2A00 38 7E 00 3C */ addi r3, r30, 0x3c +/* 800B5AA4 000B2A04 48 25 F0 E9 */ bl __ct__9CVector3fFR12CInputStream +/* 800B5AA8 000B2A08 7F E3 FB 78 */ mr r3, r31 +/* 800B5AAC 000B2A0C 48 28 91 7D */ bl ReadFloat__12CInputStreamFv +/* 800B5AB0 000B2A10 D0 3E 00 48 */ stfs f1, 0x48(r30) +/* 800B5AB4 000B2A14 7F E3 FB 78 */ mr r3, r31 +/* 800B5AB8 000B2A18 48 28 91 71 */ bl ReadFloat__12CInputStreamFv +/* 800B5ABC 000B2A1C D0 3E 00 4C */ stfs f1, 0x4c(r30) +/* 800B5AC0 000B2A20 7F E3 FB 78 */ mr r3, r31 +/* 800B5AC4 000B2A24 48 28 91 65 */ bl ReadFloat__12CInputStreamFv +/* 800B5AC8 000B2A28 D0 3E 00 50 */ stfs f1, 0x50(r30) +/* 800B5ACC 000B2A2C 7F E3 FB 78 */ mr r3, r31 +/* 800B5AD0 000B2A30 48 28 91 59 */ bl ReadFloat__12CInputStreamFv +/* 800B5AD4 000B2A34 D0 3E 00 54 */ stfs f1, 0x54(r30) +/* 800B5AD8 000B2A38 7F E3 FB 78 */ mr r3, r31 +/* 800B5ADC 000B2A3C 48 28 91 4D */ bl ReadFloat__12CInputStreamFv +/* 800B5AE0 000B2A40 D0 3E 00 58 */ stfs f1, 0x58(r30) +/* 800B5AE4 000B2A44 7F E3 FB 78 */ mr r3, r31 +/* 800B5AE8 000B2A48 48 28 91 41 */ bl ReadFloat__12CInputStreamFv +/* 800B5AEC 000B2A4C D0 3E 00 5C */ stfs f1, 0x5c(r30) +/* 800B5AF0 000B2A50 7F E4 FB 78 */ mr r4, r31 +/* 800B5AF4 000B2A54 38 7E 00 60 */ addi r3, r30, 0x60 +/* 800B5AF8 000B2A58 48 25 F0 95 */ bl __ct__9CVector3fFR12CInputStream +/* 800B5AFC 000B2A5C 7F E4 FB 78 */ mr r4, r31 +/* 800B5B00 000B2A60 38 7E 00 6C */ addi r3, r30, 0x6c +/* 800B5B04 000B2A64 48 25 F0 89 */ bl __ct__9CVector3fFR12CInputStream +/* 800B5B08 000B2A68 7F E4 FB 78 */ mr r4, r31 +/* 800B5B0C 000B2A6C 38 7E 00 78 */ addi r3, r30, 0x78 +/* 800B5B10 000B2A70 48 25 F0 7D */ bl __ct__9CVector3fFR12CInputStream +/* 800B5B14 000B2A74 7F E4 FB 78 */ mr r4, r31 +/* 800B5B18 000B2A78 38 7E 00 84 */ addi r3, r30, 0x84 +/* 800B5B1C 000B2A7C 48 25 F0 71 */ bl __ct__9CVector3fFR12CInputStream +/* 800B5B20 000B2A80 7F E3 FB 78 */ mr r3, r31 +/* 800B5B24 000B2A84 48 28 91 05 */ bl ReadFloat__12CInputStreamFv +/* 800B5B28 000B2A88 D0 3E 00 90 */ stfs f1, 0x90(r30) +/* 800B5B2C 000B2A8C 7F E3 FB 78 */ mr r3, r31 +/* 800B5B30 000B2A90 48 28 90 F9 */ bl ReadFloat__12CInputStreamFv +/* 800B5B34 000B2A94 D0 3E 00 94 */ stfs f1, 0x94(r30) +/* 800B5B38 000B2A98 7F E3 FB 78 */ mr r3, r31 +/* 800B5B3C 000B2A9C 48 28 90 ED */ bl ReadFloat__12CInputStreamFv +/* 800B5B40 000B2AA0 D0 3E 00 98 */ stfs f1, 0x98(r30) +/* 800B5B44 000B2AA4 7F E3 FB 78 */ mr r3, r31 +/* 800B5B48 000B2AA8 48 28 90 E1 */ bl ReadFloat__12CInputStreamFv +/* 800B5B4C 000B2AAC D0 3E 00 9C */ stfs f1, 0x9c(r30) +/* 800B5B50 000B2AB0 7F E3 FB 78 */ mr r3, r31 +/* 800B5B54 000B2AB4 48 28 90 D5 */ bl ReadFloat__12CInputStreamFv +/* 800B5B58 000B2AB8 D0 3E 00 A0 */ stfs f1, 0xa0(r30) +/* 800B5B5C 000B2ABC 7F E3 FB 78 */ mr r3, r31 +/* 800B5B60 000B2AC0 48 28 90 C9 */ bl ReadFloat__12CInputStreamFv +/* 800B5B64 000B2AC4 D0 3E 00 A4 */ stfs f1, 0xa4(r30) +/* 800B5B68 000B2AC8 7F E3 FB 78 */ mr r3, r31 +/* 800B5B6C 000B2ACC 48 28 90 BD */ bl ReadFloat__12CInputStreamFv +/* 800B5B70 000B2AD0 D0 3E 00 A8 */ stfs f1, 0xa8(r30) +/* 800B5B74 000B2AD4 7F E3 FB 78 */ mr r3, r31 +/* 800B5B78 000B2AD8 48 28 90 B1 */ bl ReadFloat__12CInputStreamFv +/* 800B5B7C 000B2ADC D0 3E 00 AC */ stfs f1, 0xac(r30) +/* 800B5B80 000B2AE0 7F E4 FB 78 */ mr r4, r31 +/* 800B5B84 000B2AE4 38 7E 00 B0 */ addi r3, r30, 0xb0 +/* 800B5B88 000B2AE8 48 2A D8 C5 */ bl __ct__6CColorFR12CInputStream +/* 800B5B8C 000B2AEC 7F E3 FB 78 */ mr r3, r31 +/* 800B5B90 000B2AF0 48 28 90 99 */ bl ReadFloat__12CInputStreamFv +/* 800B5B94 000B2AF4 D0 3E 00 B4 */ stfs f1, 0xb4(r30) +/* 800B5B98 000B2AF8 7F E4 FB 78 */ mr r4, r31 +/* 800B5B9C 000B2AFC 38 7E 00 B8 */ addi r3, r30, 0xb8 +/* 800B5BA0 000B2B00 48 2A D8 AD */ bl __ct__6CColorFR12CInputStream +/* 800B5BA4 000B2B04 7F E3 FB 78 */ mr r3, r31 +/* 800B5BA8 000B2B08 48 28 90 81 */ bl ReadFloat__12CInputStreamFv +/* 800B5BAC 000B2B0C D0 3E 00 BC */ stfs f1, 0xbc(r30) +/* 800B5BB0 000B2B10 7F E3 FB 78 */ mr r3, r31 +/* 800B5BB4 000B2B14 48 28 90 75 */ bl ReadFloat__12CInputStreamFv +/* 800B5BB8 000B2B18 D0 3E 00 C0 */ stfs f1, 0xc0(r30) +/* 800B5BBC 000B2B1C 7F E3 FB 78 */ mr r3, r31 +/* 800B5BC0 000B2B20 48 28 90 69 */ bl ReadFloat__12CInputStreamFv +/* 800B5BC4 000B2B24 D0 3E 00 C4 */ stfs f1, 0xc4(r30) +/* 800B5BC8 000B2B28 7F E3 FB 78 */ mr r3, r31 +/* 800B5BCC 000B2B2C 48 28 90 5D */ bl ReadFloat__12CInputStreamFv +/* 800B5BD0 000B2B30 D0 3E 00 C8 */ stfs f1, 0xc8(r30) +/* 800B5BD4 000B2B34 7F E4 FB 78 */ mr r4, r31 +/* 800B5BD8 000B2B38 38 7E 00 CC */ addi r3, r30, 0xcc +/* 800B5BDC 000B2B3C 48 2A D8 71 */ bl __ct__6CColorFR12CInputStream +/* 800B5BE0 000B2B40 7F E3 FB 78 */ mr r3, r31 +/* 800B5BE4 000B2B44 48 28 90 45 */ bl ReadFloat__12CInputStreamFv +/* 800B5BE8 000B2B48 D0 3E 00 D0 */ stfs f1, 0xd0(r30) +/* 800B5BEC 000B2B4C 7F E3 FB 78 */ mr r3, r31 +/* 800B5BF0 000B2B50 48 28 90 39 */ bl ReadFloat__12CInputStreamFv +/* 800B5BF4 000B2B54 D0 3E 00 D4 */ stfs f1, 0xd4(r30) +/* 800B5BF8 000B2B58 7F E4 FB 78 */ mr r4, r31 +/* 800B5BFC 000B2B5C 38 7E 00 D8 */ addi r3, r30, 0xd8 +/* 800B5C00 000B2B60 48 2A D8 4D */ bl __ct__6CColorFR12CInputStream +/* 800B5C04 000B2B64 7F E4 FB 78 */ mr r4, r31 +/* 800B5C08 000B2B68 38 7E 00 DC */ addi r3, r30, 0xdc +/* 800B5C0C 000B2B6C 48 2A D8 41 */ bl __ct__6CColorFR12CInputStream +/* 800B5C10 000B2B70 7F E4 FB 78 */ mr r4, r31 +/* 800B5C14 000B2B74 38 7E 00 E0 */ addi r3, r30, 0xe0 +/* 800B5C18 000B2B78 48 2A D8 35 */ bl __ct__6CColorFR12CInputStream +/* 800B5C1C 000B2B7C 7F E4 FB 78 */ mr r4, r31 +/* 800B5C20 000B2B80 38 7E 00 E4 */ addi r3, r30, 0xe4 +/* 800B5C24 000B2B84 48 2A D8 29 */ bl __ct__6CColorFR12CInputStream +/* 800B5C28 000B2B88 7F E3 FB 78 */ mr r3, r31 +/* 800B5C2C 000B2B8C 48 28 8F FD */ bl ReadFloat__12CInputStreamFv +/* 800B5C30 000B2B90 D0 3E 00 E8 */ stfs f1, 0xe8(r30) +/* 800B5C34 000B2B94 7F E3 FB 78 */ mr r3, r31 +/* 800B5C38 000B2B98 48 28 8F F1 */ bl ReadFloat__12CInputStreamFv +/* 800B5C3C 000B2B9C D0 3E 00 EC */ stfs f1, 0xec(r30) +/* 800B5C40 000B2BA0 7F E3 FB 78 */ mr r3, r31 +/* 800B5C44 000B2BA4 48 28 8F E5 */ bl ReadFloat__12CInputStreamFv +/* 800B5C48 000B2BA8 D0 3E 00 F0 */ stfs f1, 0xf0(r30) +/* 800B5C4C 000B2BAC 7F E4 FB 78 */ mr r4, r31 +/* 800B5C50 000B2BB0 38 7E 00 F4 */ addi r3, r30, 0xf4 +/* 800B5C54 000B2BB4 48 2A D7 F9 */ bl __ct__6CColorFR12CInputStream +/* 800B5C58 000B2BB8 7F E4 FB 78 */ mr r4, r31 +/* 800B5C5C 000B2BBC 38 7E 00 F8 */ addi r3, r30, 0xf8 +/* 800B5C60 000B2BC0 38 A1 00 08 */ addi r5, r1, 8 +/* 800B5C64 000B2BC4 48 00 07 61 */ bl sub_800b63c4 +/* 800B5C68 000B2BC8 38 00 00 00 */ li r0, 0 +/* 800B5C6C 000B2BCC 7F E3 FB 78 */ mr r3, r31 +/* 800B5C70 000B2BD0 90 1E 01 0C */ stw r0, 0x10c(r30) +/* 800B5C74 000B2BD4 90 1E 01 10 */ stw r0, 0x110(r30) +/* 800B5C78 000B2BD8 90 1E 01 14 */ stw r0, 0x114(r30) +/* 800B5C7C 000B2BDC 48 28 90 09 */ bl ReadLong__12CInputStreamFv +/* 800B5C80 000B2BE0 7C 7C 1B 78 */ mr r28, r3 +/* 800B5C84 000B2BE4 38 7E 01 08 */ addi r3, r30, 0x108 +/* 800B5C88 000B2BE8 7F 84 E3 78 */ mr r4, r28 +/* 800B5C8C 000B2BEC 4B FA 81 6D */ bl "reserve__Q24rstl36vectorFi" +/* 800B5C90 000B2BF0 3B A0 00 00 */ li r29, 0 +/* 800B5C94 000B2BF4 48 00 00 60 */ b lbl_800B5CF4 +lbl_800B5C98: +/* 800B5C98 000B2BF8 7F E3 FB 78 */ mr r3, r31 +/* 800B5C9C 000B2BFC 48 28 8F 8D */ bl ReadFloat__12CInputStreamFv +/* 800B5CA0 000B2C00 80 1E 01 0C */ lwz r0, 0x10c(r30) +/* 800B5CA4 000B2C04 FF E0 08 90 */ fmr f31, f1 +/* 800B5CA8 000B2C08 80 BE 01 10 */ lwz r5, 0x110(r30) +/* 800B5CAC 000B2C0C 7C 00 28 00 */ cmpw r0, r5 +/* 800B5CB0 000B2C10 41 80 00 1C */ blt lbl_800B5CCC +/* 800B5CB4 000B2C14 2C 05 00 00 */ cmpwi r5, 0 +/* 800B5CB8 000B2C18 38 7E 01 08 */ addi r3, r30, 0x108 +/* 800B5CBC 000B2C1C 38 80 00 04 */ li r4, 4 +/* 800B5CC0 000B2C20 41 82 00 08 */ beq lbl_800B5CC8 +/* 800B5CC4 000B2C24 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B5CC8: +/* 800B5CC8 000B2C28 4B FA 81 31 */ bl "reserve__Q24rstl36vectorFi" +lbl_800B5CCC: +/* 800B5CCC 000B2C2C 80 1E 01 0C */ lwz r0, 0x10c(r30) +/* 800B5CD0 000B2C30 80 7E 01 14 */ lwz r3, 0x114(r30) +/* 800B5CD4 000B2C34 54 00 10 3A */ slwi r0, r0, 2 +/* 800B5CD8 000B2C38 7C 63 02 15 */ add. r3, r3, r0 +/* 800B5CDC 000B2C3C 41 82 00 08 */ beq lbl_800B5CE4 +/* 800B5CE0 000B2C40 D3 E3 00 00 */ stfs f31, 0(r3) +lbl_800B5CE4: +/* 800B5CE4 000B2C44 80 7E 01 0C */ lwz r3, 0x10c(r30) +/* 800B5CE8 000B2C48 3B BD 00 01 */ addi r29, r29, 1 +/* 800B5CEC 000B2C4C 38 03 00 01 */ addi r0, r3, 1 +/* 800B5CF0 000B2C50 90 1E 01 0C */ stw r0, 0x10c(r30) +lbl_800B5CF4: +/* 800B5CF4 000B2C54 7C 1D E0 00 */ cmpw r29, r28 +/* 800B5CF8 000B2C58 41 80 FF A0 */ blt lbl_800B5C98 +/* 800B5CFC 000B2C5C 7F E3 FB 78 */ mr r3, r31 +/* 800B5D00 000B2C60 48 28 8F 29 */ bl ReadFloat__12CInputStreamFv +/* 800B5D04 000B2C64 D0 3E 01 18 */ stfs f1, 0x118(r30) +/* 800B5D08 000B2C68 7F E4 FB 78 */ mr r4, r31 +/* 800B5D0C 000B2C6C 38 7E 01 1C */ addi r3, r30, 0x11c +/* 800B5D10 000B2C70 48 2A D7 3D */ bl __ct__6CColorFR12CInputStream +/* 800B5D14 000B2C74 7F E3 FB 78 */ mr r3, r31 +/* 800B5D18 000B2C78 48 28 8F 6D */ bl ReadLong__12CInputStreamFv +/* 800B5D1C 000B2C7C 90 7E 01 20 */ stw r3, 0x120(r30) +/* 800B5D20 000B2C80 7F E3 FB 78 */ mr r3, r31 +/* 800B5D24 000B2C84 48 28 8F 05 */ bl ReadFloat__12CInputStreamFv +/* 800B5D28 000B2C88 C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2) +/* 800B5D2C 000B2C8C 7F E3 FB 78 */ mr r3, r31 +/* 800B5D30 000B2C90 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) +/* 800B5D34 000B2C94 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800B5D38 000B2C98 C0 22 8C F8 */ lfs f1, lbl_805AAA18@sda21(r2) +/* 800B5D3C 000B2C9C EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B5D40 000B2CA0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B5D44 000B2CA4 D0 1E 01 24 */ stfs f0, 0x124(r30) +/* 800B5D48 000B2CA8 48 28 8E E1 */ bl ReadFloat__12CInputStreamFv +/* 800B5D4C 000B2CAC D0 3E 01 28 */ stfs f1, 0x128(r30) +/* 800B5D50 000B2CB0 7F E3 FB 78 */ mr r3, r31 +/* 800B5D54 000B2CB4 48 28 8E D5 */ bl ReadFloat__12CInputStreamFv +/* 800B5D58 000B2CB8 D0 3E 01 2C */ stfs f1, 0x12c(r30) +/* 800B5D5C 000B2CBC 7F E4 FB 78 */ mr r4, r31 +/* 800B5D60 000B2CC0 38 7E 01 30 */ addi r3, r30, 0x130 +/* 800B5D64 000B2CC4 48 2A D6 E9 */ bl __ct__6CColorFR12CInputStream +/* 800B5D68 000B2CC8 7F E3 FB 78 */ mr r3, r31 +/* 800B5D6C 000B2CCC 48 28 8E BD */ bl ReadFloat__12CInputStreamFv +/* 800B5D70 000B2CD0 D0 3E 01 34 */ stfs f1, 0x134(r30) +/* 800B5D74 000B2CD4 7F E3 FB 78 */ mr r3, r31 +/* 800B5D78 000B2CD8 48 28 8E B1 */ bl ReadFloat__12CInputStreamFv +/* 800B5D7C 000B2CDC D0 3E 01 38 */ stfs f1, 0x138(r30) +/* 800B5D80 000B2CE0 7F E4 FB 78 */ mr r4, r31 +/* 800B5D84 000B2CE4 38 7E 01 3C */ addi r3, r30, 0x13c +/* 800B5D88 000B2CE8 48 2A D6 C5 */ bl __ct__6CColorFR12CInputStream +/* 800B5D8C 000B2CEC 7F E3 FB 78 */ mr r3, r31 +/* 800B5D90 000B2CF0 48 28 8E 99 */ bl ReadFloat__12CInputStreamFv +/* 800B5D94 000B2CF4 C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2) +/* 800B5D98 000B2CF8 7F E3 FB 78 */ mr r3, r31 +/* 800B5D9C 000B2CFC C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) +/* 800B5DA0 000B2D00 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800B5DA4 000B2D04 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B5DA8 000B2D08 D0 1E 01 40 */ stfs f0, 0x140(r30) +/* 800B5DAC 000B2D0C 48 28 8E 7D */ bl ReadFloat__12CInputStreamFv +/* 800B5DB0 000B2D10 C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2) +/* 800B5DB4 000B2D14 7F E3 FB 78 */ mr r3, r31 +/* 800B5DB8 000B2D18 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) +/* 800B5DBC 000B2D1C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800B5DC0 000B2D20 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B5DC4 000B2D24 D0 1E 01 44 */ stfs f0, 0x144(r30) +/* 800B5DC8 000B2D28 48 28 8E 61 */ bl ReadFloat__12CInputStreamFv +/* 800B5DCC 000B2D2C C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2) +/* 800B5DD0 000B2D30 7F E4 FB 78 */ mr r4, r31 +/* 800B5DD4 000B2D34 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) +/* 800B5DD8 000B2D38 38 7E 01 4C */ addi r3, r30, 0x14c +/* 800B5DDC 000B2D3C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800B5DE0 000B2D40 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B5DE4 000B2D44 D0 1E 01 48 */ stfs f0, 0x148(r30) +/* 800B5DE8 000B2D48 48 2A D6 65 */ bl __ct__6CColorFR12CInputStream +/* 800B5DEC 000B2D4C 7F E4 FB 78 */ mr r4, r31 +/* 800B5DF0 000B2D50 38 7E 01 50 */ addi r3, r30, 0x150 +/* 800B5DF4 000B2D54 48 2A D6 59 */ bl __ct__6CColorFR12CInputStream +/* 800B5DF8 000B2D58 7F E3 FB 78 */ mr r3, r31 +/* 800B5DFC 000B2D5C 48 28 8E 2D */ bl ReadFloat__12CInputStreamFv +/* 800B5E00 000B2D60 D0 3E 01 54 */ stfs f1, 0x154(r30) +/* 800B5E04 000B2D64 7F E3 FB 78 */ mr r3, r31 +/* 800B5E08 000B2D68 48 28 8E 21 */ bl ReadFloat__12CInputStreamFv +/* 800B5E0C 000B2D6C D0 3E 01 58 */ stfs f1, 0x158(r30) +/* 800B5E10 000B2D70 7F E3 FB 78 */ mr r3, r31 +/* 800B5E14 000B2D74 48 28 8E 15 */ bl ReadFloat__12CInputStreamFv +/* 800B5E18 000B2D78 D0 3E 01 5C */ stfs f1, 0x15c(r30) +/* 800B5E1C 000B2D7C 7F E3 FB 78 */ mr r3, r31 +/* 800B5E20 000B2D80 48 28 8E 09 */ bl ReadFloat__12CInputStreamFv +/* 800B5E24 000B2D84 D0 3E 01 60 */ stfs f1, 0x160(r30) +/* 800B5E28 000B2D88 7F E3 FB 78 */ mr r3, r31 +/* 800B5E2C 000B2D8C 48 28 8D FD */ bl ReadFloat__12CInputStreamFv +/* 800B5E30 000B2D90 D0 3E 01 64 */ stfs f1, 0x164(r30) +/* 800B5E34 000B2D94 7F E3 FB 78 */ mr r3, r31 +/* 800B5E38 000B2D98 48 28 8D F1 */ bl ReadFloat__12CInputStreamFv +/* 800B5E3C 000B2D9C D0 3E 01 68 */ stfs f1, 0x168(r30) +/* 800B5E40 000B2DA0 7F E3 FB 78 */ mr r3, r31 +/* 800B5E44 000B2DA4 48 28 8D E5 */ bl ReadFloat__12CInputStreamFv +/* 800B5E48 000B2DA8 D0 3E 01 6C */ stfs f1, 0x16c(r30) +/* 800B5E4C 000B2DAC 7F E3 FB 78 */ mr r3, r31 +/* 800B5E50 000B2DB0 48 28 8D D9 */ bl ReadFloat__12CInputStreamFv +/* 800B5E54 000B2DB4 D0 3E 01 70 */ stfs f1, 0x170(r30) +/* 800B5E58 000B2DB8 7F E3 FB 78 */ mr r3, r31 +/* 800B5E5C 000B2DBC 48 28 8D CD */ bl ReadFloat__12CInputStreamFv +/* 800B5E60 000B2DC0 D0 3E 01 74 */ stfs f1, 0x174(r30) +/* 800B5E64 000B2DC4 7F E3 FB 78 */ mr r3, r31 +/* 800B5E68 000B2DC8 48 28 8D C1 */ bl ReadFloat__12CInputStreamFv +/* 800B5E6C 000B2DCC D0 3E 01 78 */ stfs f1, 0x178(r30) +/* 800B5E70 000B2DD0 7F E3 FB 78 */ mr r3, r31 +/* 800B5E74 000B2DD4 48 28 8D B5 */ bl ReadFloat__12CInputStreamFv +/* 800B5E78 000B2DD8 D0 3E 01 7C */ stfs f1, 0x17c(r30) +/* 800B5E7C 000B2DDC 7F E3 FB 78 */ mr r3, r31 +/* 800B5E80 000B2DE0 48 28 8D A9 */ bl ReadFloat__12CInputStreamFv +/* 800B5E84 000B2DE4 D0 3E 01 80 */ stfs f1, 0x180(r30) +/* 800B5E88 000B2DE8 7F E3 FB 78 */ mr r3, r31 +/* 800B5E8C 000B2DEC 48 28 8D 9D */ bl ReadFloat__12CInputStreamFv +/* 800B5E90 000B2DF0 D0 3E 01 84 */ stfs f1, 0x184(r30) +/* 800B5E94 000B2DF4 7F E3 FB 78 */ mr r3, r31 +/* 800B5E98 000B2DF8 48 28 8D 91 */ bl ReadFloat__12CInputStreamFv +/* 800B5E9C 000B2DFC D0 3E 01 88 */ stfs f1, 0x188(r30) +/* 800B5EA0 000B2E00 7F E3 FB 78 */ mr r3, r31 +/* 800B5EA4 000B2E04 48 28 8D 85 */ bl ReadFloat__12CInputStreamFv +/* 800B5EA8 000B2E08 D0 3E 01 8C */ stfs f1, 0x18c(r30) +/* 800B5EAC 000B2E0C 7F E3 FB 78 */ mr r3, r31 +/* 800B5EB0 000B2E10 48 28 8D 79 */ bl ReadFloat__12CInputStreamFv +/* 800B5EB4 000B2E14 D0 3E 01 90 */ stfs f1, 0x190(r30) +/* 800B5EB8 000B2E18 7F E3 FB 78 */ mr r3, r31 +/* 800B5EBC 000B2E1C 48 28 8D 6D */ bl ReadFloat__12CInputStreamFv +/* 800B5EC0 000B2E20 D0 3E 01 94 */ stfs f1, 0x194(r30) +/* 800B5EC4 000B2E24 7F E3 FB 78 */ mr r3, r31 +/* 800B5EC8 000B2E28 48 28 8D 61 */ bl ReadFloat__12CInputStreamFv +/* 800B5ECC 000B2E2C D0 3E 01 98 */ stfs f1, 0x198(r30) +/* 800B5ED0 000B2E30 7F E3 FB 78 */ mr r3, r31 +/* 800B5ED4 000B2E34 48 28 8D 55 */ bl ReadFloat__12CInputStreamFv +/* 800B5ED8 000B2E38 D0 3E 01 9C */ stfs f1, 0x19c(r30) +/* 800B5EDC 000B2E3C 7F E3 FB 78 */ mr r3, r31 +/* 800B5EE0 000B2E40 48 28 8D 49 */ bl ReadFloat__12CInputStreamFv +/* 800B5EE4 000B2E44 D0 3E 01 A0 */ stfs f1, 0x1a0(r30) +/* 800B5EE8 000B2E48 7F E4 FB 78 */ mr r4, r31 +/* 800B5EEC 000B2E4C 38 7E 01 A4 */ addi r3, r30, 0x1a4 +/* 800B5EF0 000B2E50 48 2A D5 5D */ bl __ct__6CColorFR12CInputStream +/* 800B5EF4 000B2E54 7F E4 FB 78 */ mr r4, r31 +/* 800B5EF8 000B2E58 38 7E 01 A8 */ addi r3, r30, 0x1a8 +/* 800B5EFC 000B2E5C 48 2A D5 51 */ bl __ct__6CColorFR12CInputStream +/* 800B5F00 000B2E60 7F E4 FB 78 */ mr r4, r31 +/* 800B5F04 000B2E64 38 7E 01 AC */ addi r3, r30, 0x1ac +/* 800B5F08 000B2E68 48 2A D5 45 */ bl __ct__6CColorFR12CInputStream +/* 800B5F0C 000B2E6C 7F E3 FB 78 */ mr r3, r31 +/* 800B5F10 000B2E70 48 28 8D 19 */ bl ReadFloat__12CInputStreamFv +/* 800B5F14 000B2E74 D0 3E 01 B0 */ stfs f1, 0x1b0(r30) +/* 800B5F18 000B2E78 7F E4 FB 78 */ mr r4, r31 +/* 800B5F1C 000B2E7C 38 7E 01 B4 */ addi r3, r30, 0x1b4 +/* 800B5F20 000B2E80 48 2A D5 2D */ bl __ct__6CColorFR12CInputStream +/* 800B5F24 000B2E84 7F E3 FB 78 */ mr r3, r31 +/* 800B5F28 000B2E88 48 28 8D 01 */ bl ReadFloat__12CInputStreamFv +/* 800B5F2C 000B2E8C D0 3E 01 B8 */ stfs f1, 0x1b8(r30) +/* 800B5F30 000B2E90 7F E4 FB 78 */ mr r4, r31 +/* 800B5F34 000B2E94 38 7E 01 BC */ addi r3, r30, 0x1bc +/* 800B5F38 000B2E98 48 2A D5 15 */ bl __ct__6CColorFR12CInputStream +/* 800B5F3C 000B2E9C 7F E4 FB 78 */ mr r4, r31 +/* 800B5F40 000B2EA0 38 7E 01 C0 */ addi r3, r30, 0x1c0 +/* 800B5F44 000B2EA4 48 2A D5 09 */ bl __ct__6CColorFR12CInputStream +/* 800B5F48 000B2EA8 7F E3 FB 78 */ mr r3, r31 +/* 800B5F4C 000B2EAC 48 28 8C DD */ bl ReadFloat__12CInputStreamFv +/* 800B5F50 000B2EB0 D0 3E 01 C4 */ stfs f1, 0x1c4(r30) +/* 800B5F54 000B2EB4 7F E3 FB 78 */ mr r3, r31 +/* 800B5F58 000B2EB8 48 28 8D 85 */ bl ReadBool__12CInputStreamFv +/* 800B5F5C 000B2EBC 98 7E 01 C8 */ stb r3, 0x1c8(r30) +/* 800B5F60 000B2EC0 7F E4 FB 78 */ mr r4, r31 +/* 800B5F64 000B2EC4 38 7E 01 CC */ addi r3, r30, 0x1cc +/* 800B5F68 000B2EC8 48 2A D4 E5 */ bl __ct__6CColorFR12CInputStream +/* 800B5F6C 000B2ECC 7F E3 FB 78 */ mr r3, r31 +/* 800B5F70 000B2ED0 48 28 8C B9 */ bl ReadFloat__12CInputStreamFv +/* 800B5F74 000B2ED4 D0 3E 01 D0 */ stfs f1, 0x1d0(r30) +/* 800B5F78 000B2ED8 7F E4 FB 78 */ mr r4, r31 +/* 800B5F7C 000B2EDC 38 7E 01 D4 */ addi r3, r30, 0x1d4 +/* 800B5F80 000B2EE0 48 2A D4 CD */ bl __ct__6CColorFR12CInputStream +/* 800B5F84 000B2EE4 7F E4 FB 78 */ mr r4, r31 +/* 800B5F88 000B2EE8 38 7E 01 D8 */ addi r3, r30, 0x1d8 +/* 800B5F8C 000B2EEC 48 2A D4 C1 */ bl __ct__6CColorFR12CInputStream +/* 800B5F90 000B2EF0 7F E4 FB 78 */ mr r4, r31 +/* 800B5F94 000B2EF4 38 7E 01 DC */ addi r3, r30, 0x1dc +/* 800B5F98 000B2EF8 48 2A D4 B5 */ bl __ct__6CColorFR12CInputStream +/* 800B5F9C 000B2EFC 7F E3 FB 78 */ mr r3, r31 +/* 800B5FA0 000B2F00 48 28 8C 89 */ bl ReadFloat__12CInputStreamFv +/* 800B5FA4 000B2F04 D0 3E 01 E0 */ stfs f1, 0x1e0(r30) +/* 800B5FA8 000B2F08 7F E3 FB 78 */ mr r3, r31 +/* 800B5FAC 000B2F0C 48 28 8C 7D */ bl ReadFloat__12CInputStreamFv +/* 800B5FB0 000B2F10 D0 3E 01 E4 */ stfs f1, 0x1e4(r30) +/* 800B5FB4 000B2F14 7F E3 FB 78 */ mr r3, r31 +/* 800B5FB8 000B2F18 48 28 8C 71 */ bl ReadFloat__12CInputStreamFv +/* 800B5FBC 000B2F1C D0 3E 01 E8 */ stfs f1, 0x1e8(r30) +/* 800B5FC0 000B2F20 7F E3 FB 78 */ mr r3, r31 +/* 800B5FC4 000B2F24 48 28 8C 65 */ bl ReadFloat__12CInputStreamFv +/* 800B5FC8 000B2F28 D0 3E 01 EC */ stfs f1, 0x1ec(r30) +/* 800B5FCC 000B2F2C 7F E3 FB 78 */ mr r3, r31 +/* 800B5FD0 000B2F30 48 28 8C 59 */ bl ReadFloat__12CInputStreamFv +/* 800B5FD4 000B2F34 D0 3E 01 F0 */ stfs f1, 0x1f0(r30) +/* 800B5FD8 000B2F38 7F E3 FB 78 */ mr r3, r31 +/* 800B5FDC 000B2F3C 48 28 8C 4D */ bl ReadFloat__12CInputStreamFv +/* 800B5FE0 000B2F40 D0 3E 01 F4 */ stfs f1, 0x1f4(r30) +/* 800B5FE4 000B2F44 7F E3 FB 78 */ mr r3, r31 +/* 800B5FE8 000B2F48 48 28 8C 41 */ bl ReadFloat__12CInputStreamFv +/* 800B5FEC 000B2F4C D0 3E 01 F8 */ stfs f1, 0x1f8(r30) +/* 800B5FF0 000B2F50 7F E3 FB 78 */ mr r3, r31 +/* 800B5FF4 000B2F54 48 28 8C 35 */ bl ReadFloat__12CInputStreamFv +/* 800B5FF8 000B2F58 D0 3E 01 FC */ stfs f1, 0x1fc(r30) +/* 800B5FFC 000B2F5C 7F E3 FB 78 */ mr r3, r31 +/* 800B6000 000B2F60 48 28 8C 29 */ bl ReadFloat__12CInputStreamFv +/* 800B6004 000B2F64 D0 3E 02 00 */ stfs f1, 0x200(r30) +/* 800B6008 000B2F68 7F E3 FB 78 */ mr r3, r31 +/* 800B600C 000B2F6C 48 28 8C 1D */ bl ReadFloat__12CInputStreamFv +/* 800B6010 000B2F70 D0 3E 02 04 */ stfs f1, 0x204(r30) +/* 800B6014 000B2F74 7F E3 FB 78 */ mr r3, r31 +/* 800B6018 000B2F78 48 28 8C 11 */ bl ReadFloat__12CInputStreamFv +/* 800B601C 000B2F7C D0 3E 02 08 */ stfs f1, 0x208(r30) +/* 800B6020 000B2F80 7F E3 FB 78 */ mr r3, r31 +/* 800B6024 000B2F84 48 28 8C 05 */ bl ReadFloat__12CInputStreamFv +/* 800B6028 000B2F88 D0 3E 02 0C */ stfs f1, 0x20c(r30) +/* 800B602C 000B2F8C 7F E3 FB 78 */ mr r3, r31 +/* 800B6030 000B2F90 48 28 8B F9 */ bl ReadFloat__12CInputStreamFv +/* 800B6034 000B2F94 D0 3E 02 10 */ stfs f1, 0x210(r30) +/* 800B6038 000B2F98 7F E4 FB 78 */ mr r4, r31 +/* 800B603C 000B2F9C 38 7E 02 14 */ addi r3, r30, 0x214 +/* 800B6040 000B2FA0 48 2A D4 0D */ bl __ct__6CColorFR12CInputStream +/* 800B6044 000B2FA4 7F E3 FB 78 */ mr r3, r31 +/* 800B6048 000B2FA8 48 28 8B E1 */ bl ReadFloat__12CInputStreamFv +/* 800B604C 000B2FAC D0 3E 02 18 */ stfs f1, 0x218(r30) +/* 800B6050 000B2FB0 7F E3 FB 78 */ mr r3, r31 +/* 800B6054 000B2FB4 48 28 8B D5 */ bl ReadFloat__12CInputStreamFv +/* 800B6058 000B2FB8 D0 3E 02 1C */ stfs f1, 0x21c(r30) +/* 800B605C 000B2FBC 7F E3 FB 78 */ mr r3, r31 +/* 800B6060 000B2FC0 48 28 8B C9 */ bl ReadFloat__12CInputStreamFv +/* 800B6064 000B2FC4 D0 3E 02 20 */ stfs f1, 0x220(r30) +/* 800B6068 000B2FC8 7F E3 FB 78 */ mr r3, r31 +/* 800B606C 000B2FCC 48 28 8B BD */ bl ReadFloat__12CInputStreamFv +/* 800B6070 000B2FD0 D0 3E 02 24 */ stfs f1, 0x224(r30) +/* 800B6074 000B2FD4 38 00 00 02 */ li r0, 2 +/* 800B6078 000B2FD8 C0 22 8D 00 */ lfs f1, lbl_805AAA20@sda21(r2) +/* 800B607C 000B2FDC 38 C0 00 00 */ li r6, 0 +/* 800B6080 000B2FE0 C0 1E 02 08 */ lfs f0, 0x208(r30) +/* 800B6084 000B2FE4 38 A0 00 00 */ li r5, 0 +/* 800B6088 000B2FE8 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) +/* 800B608C 000B2FEC EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6090 000B2FF0 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6094 000B2FF4 D0 1E 02 08 */ stfs f0, 0x208(r30) +/* 800B6098 000B2FF8 7C 09 03 A6 */ mtctr r0 +lbl_800B609C: +/* 800B609C 000B2FFC 80 1E 01 04 */ lwz r0, 0x104(r30) +/* 800B60A0 000B3000 7C 80 2A 14 */ add r4, r0, r5 +/* 800B60A4 000B3004 38 A5 00 10 */ addi r5, r5, 0x10 +/* 800B60A8 000B3008 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B60AC 000B300C C0 03 00 00 */ lfs f0, 0(r3) +/* 800B60B0 000B3010 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B60B4 000B3014 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B60B8 000B3018 D0 03 00 00 */ stfs f0, 0(r3) +/* 800B60BC 000B301C 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B60C0 000B3020 C0 03 00 04 */ lfs f0, 4(r3) +/* 800B60C4 000B3024 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B60C8 000B3028 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B60CC 000B302C D0 03 00 04 */ stfs f0, 4(r3) +/* 800B60D0 000B3030 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B60D4 000B3034 C0 03 00 08 */ lfs f0, 8(r3) +/* 800B60D8 000B3038 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B60DC 000B303C EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B60E0 000B3040 D0 03 00 08 */ stfs f0, 8(r3) +/* 800B60E4 000B3044 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B60E8 000B3048 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800B60EC 000B304C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B60F0 000B3050 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B60F4 000B3054 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800B60F8 000B3058 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B60FC 000B305C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 800B6100 000B3060 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6104 000B3064 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6108 000B3068 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800B610C 000B306C 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B6110 000B3070 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 800B6114 000B3074 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6118 000B3078 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B611C 000B307C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 800B6120 000B3080 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B6124 000B3084 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 800B6128 000B3088 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B612C 000B308C EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6130 000B3090 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800B6134 000B3094 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B6138 000B3098 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 800B613C 000B309C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6140 000B30A0 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6144 000B30A4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800B6148 000B30A8 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B614C 000B30AC C0 03 00 20 */ lfs f0, 0x20(r3) +/* 800B6150 000B30B0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6154 000B30B4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6158 000B30B8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 800B615C 000B30BC 80 1E 01 04 */ lwz r0, 0x104(r30) +/* 800B6160 000B30C0 7C 80 2A 14 */ add r4, r0, r5 +/* 800B6164 000B30C4 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B6168 000B30C8 38 A5 00 10 */ addi r5, r5, 0x10 +/* 800B616C 000B30CC 38 C6 00 01 */ addi r6, r6, 1 +/* 800B6170 000B30D0 C0 03 00 00 */ lfs f0, 0(r3) +/* 800B6174 000B30D4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6178 000B30D8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B617C 000B30DC D0 03 00 00 */ stfs f0, 0(r3) +/* 800B6180 000B30E0 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B6184 000B30E4 C0 03 00 04 */ lfs f0, 4(r3) +/* 800B6188 000B30E8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B618C 000B30EC EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6190 000B30F0 D0 03 00 04 */ stfs f0, 4(r3) +/* 800B6194 000B30F4 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B6198 000B30F8 C0 03 00 08 */ lfs f0, 8(r3) +/* 800B619C 000B30FC EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B61A0 000B3100 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B61A4 000B3104 D0 03 00 08 */ stfs f0, 8(r3) +/* 800B61A8 000B3108 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B61AC 000B310C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800B61B0 000B3110 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B61B4 000B3114 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B61B8 000B3118 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800B61BC 000B311C 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B61C0 000B3120 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 800B61C4 000B3124 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B61C8 000B3128 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B61CC 000B312C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800B61D0 000B3130 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B61D4 000B3134 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 800B61D8 000B3138 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B61DC 000B313C EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B61E0 000B3140 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 800B61E4 000B3144 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B61E8 000B3148 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 800B61EC 000B314C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B61F0 000B3150 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B61F4 000B3154 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800B61F8 000B3158 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B61FC 000B315C C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 800B6200 000B3160 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6204 000B3164 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6208 000B3168 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800B620C 000B316C 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800B6210 000B3170 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 800B6214 000B3174 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6218 000B3178 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B621C 000B317C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 800B6220 000B3180 42 00 FE 7C */ bdnz lbl_800B609C +/* 800B6224 000B3184 80 9E 01 14 */ lwz r4, 0x114(r30) +/* 800B6228 000B3188 7F C3 F3 78 */ mr r3, r30 +/* 800B622C 000B318C C0 22 8D 00 */ lfs f1, lbl_805AAA20@sda21(r2) +/* 800B6230 000B3190 C0 04 00 00 */ lfs f0, 0(r4) +/* 800B6234 000B3194 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) +/* 800B6238 000B3198 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B623C 000B319C EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6240 000B31A0 D0 04 00 00 */ stfs f0, 0(r4) +/* 800B6244 000B31A4 80 9E 01 14 */ lwz r4, 0x114(r30) +/* 800B6248 000B31A8 C0 04 00 04 */ lfs f0, 4(r4) +/* 800B624C 000B31AC EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6250 000B31B0 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6254 000B31B4 D0 04 00 04 */ stfs f0, 4(r4) +/* 800B6258 000B31B8 80 9E 01 14 */ lwz r4, 0x114(r30) +/* 800B625C 000B31BC C0 04 00 08 */ lfs f0, 8(r4) +/* 800B6260 000B31C0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6264 000B31C4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B6268 000B31C8 D0 04 00 08 */ stfs f0, 8(r4) +/* 800B626C 000B31CC 80 9E 01 14 */ lwz r4, 0x114(r30) +/* 800B6270 000B31D0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 800B6274 000B31D4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B6278 000B31D8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B627C 000B31DC D0 04 00 0C */ stfs f0, 0xc(r4) +/* 800B6280 000B31E0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 800B6284 000B31E4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B6288 000B31E8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 800B628C 000B31EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B6290 000B31F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B6294 000B31F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B6298 000B31F8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800B629C 000B31FC 7C 08 03 A6 */ mtlr r0 +/* 800B62A0 000B3200 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B62A4 000B3204 4E 80 00 20 */ blr + +.global sub_800b62a8 +sub_800b62a8: +/* 800B62A8 000B3208 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B62AC 000B320C 7C 08 02 A6 */ mflr r0 +/* 800B62B0 000B3210 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B62B4 000B3214 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B62B8 000B3218 7C 9F 23 78 */ mr r31, r4 +/* 800B62BC 000B321C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B62C0 000B3220 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800B62C4 000B3224 41 82 00 54 */ beq lbl_800B6318 +/* 800B62C8 000B3228 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B62CC 000B322C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B62D0 000B3230 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800B62D4 000B3234 38 81 00 0C */ addi r4, r1, 0xc +/* 800B62D8 000B3238 54 00 20 36 */ slwi r0, r0, 4 +/* 800B62DC 000B323C 7C A5 02 14 */ add r5, r5, r0 +/* 800B62E0 000B3240 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800B62E4 000B3244 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 800B62E8 000B3248 90 A1 00 08 */ stw r5, 8(r1) +/* 800B62EC 000B324C 90 01 00 10 */ stw r0, 0x10(r1) +/* 800B62F0 000B3250 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B62F4 000B3254 48 00 00 41 */ bl sub_800b6334 +/* 800B62F8 000B3258 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800B62FC 000B325C 28 03 00 00 */ cmplwi r3, 0 +/* 800B6300 000B3260 41 82 00 08 */ beq lbl_800B6308 +/* 800B6304 000B3264 48 25 F6 2D */ bl Free__7CMemoryFPCv +lbl_800B6308: +/* 800B6308 000B3268 7F E0 07 35 */ extsh. r0, r31 +/* 800B630C 000B326C 40 81 00 0C */ ble lbl_800B6318 +/* 800B6310 000B3270 7F C3 F3 78 */ mr r3, r30 +/* 800B6314 000B3274 48 25 F6 1D */ bl Free__7CMemoryFPCv +lbl_800B6318: +/* 800B6318 000B3278 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B631C 000B327C 7F C3 F3 78 */ mr r3, r30 +/* 800B6320 000B3280 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B6324 000B3284 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B6328 000B3288 7C 08 03 A6 */ mtlr r0 +/* 800B632C 000B328C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B6330 000B3290 4E 80 00 20 */ blr + +.global sub_800b6334 +sub_800b6334: +/* 800B6334 000B3294 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B6338 000B3298 7C 08 02 A6 */ mflr r0 +/* 800B633C 000B329C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B6340 000B32A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B6344 000B32A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B6348 000B32A8 7C 9E 23 78 */ mr r30, r4 +/* 800B634C 000B32AC 83 E3 00 00 */ lwz r31, 0(r3) +/* 800B6350 000B32B0 48 00 00 50 */ b lbl_800B63A0 +lbl_800B6354: +/* 800B6354 000B32B4 28 1F 00 00 */ cmplwi r31, 0 +/* 800B6358 000B32B8 41 82 00 44 */ beq lbl_800B639C +/* 800B635C 000B32BC 80 1F 00 04 */ lwz r0, 4(r31) +/* 800B6360 000B32C0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800B6364 000B32C4 54 00 10 3A */ slwi r0, r0, 2 +/* 800B6368 000B32C8 7C 03 02 14 */ add r0, r3, r0 +/* 800B636C 000B32CC 90 61 00 0C */ stw r3, 0xc(r1) +/* 800B6370 000B32D0 7C 64 1B 78 */ mr r4, r3 +/* 800B6374 000B32D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6378 000B32D8 90 01 00 10 */ stw r0, 0x10(r1) +/* 800B637C 000B32DC 90 61 00 08 */ stw r3, 8(r1) +/* 800B6380 000B32E0 48 00 00 08 */ b lbl_800B6388 +lbl_800B6384: +/* 800B6384 000B32E4 38 84 00 04 */ addi r4, r4, 4 +lbl_800B6388: +/* 800B6388 000B32E8 7C 04 00 40 */ cmplw r4, r0 +/* 800B638C 000B32EC 40 82 FF F8 */ bne lbl_800B6384 +/* 800B6390 000B32F0 28 03 00 00 */ cmplwi r3, 0 +/* 800B6394 000B32F4 41 82 00 08 */ beq lbl_800B639C +/* 800B6398 000B32F8 48 25 F5 99 */ bl Free__7CMemoryFPCv +lbl_800B639C: +/* 800B639C 000B32FC 3B FF 00 10 */ addi r31, r31, 0x10 +lbl_800B63A0: +/* 800B63A0 000B3300 80 1E 00 00 */ lwz r0, 0(r30) +/* 800B63A4 000B3304 7C 1F 00 40 */ cmplw r31, r0 +/* 800B63A8 000B3308 40 82 FF AC */ bne lbl_800B6354 +/* 800B63AC 000B330C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B63B0 000B3310 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B63B4 000B3314 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B63B8 000B3318 7C 08 03 A6 */ mtlr r0 +/* 800B63BC 000B331C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B63C0 000B3320 4E 80 00 20 */ blr + +.global sub_800b63c4 +sub_800b63c4: +/* 800B63C4 000B3324 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800B63C8 000B3328 7C 08 02 A6 */ mflr r0 +/* 800B63CC 000B332C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800B63D0 000B3330 38 00 00 00 */ li r0, 0 +/* 800B63D4 000B3334 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 800B63D8 000B3338 7C 7B 1B 78 */ mr r27, r3 +/* 800B63DC 000B333C 7C 9C 23 78 */ mr r28, r4 +/* 800B63E0 000B3340 90 03 00 04 */ stw r0, 4(r3) +/* 800B63E4 000B3344 7F 83 E3 78 */ mr r3, r28 +/* 800B63E8 000B3348 90 1B 00 08 */ stw r0, 8(r27) +/* 800B63EC 000B334C 90 1B 00 0C */ stw r0, 0xc(r27) +/* 800B63F0 000B3350 48 28 88 95 */ bl ReadLong__12CInputStreamFv +/* 800B63F4 000B3354 7C 7E 1B 78 */ mr r30, r3 +/* 800B63F8 000B3358 7F 63 DB 78 */ mr r3, r27 +/* 800B63FC 000B335C 7F C4 F3 78 */ mr r4, r30 +/* 800B6400 000B3360 48 00 03 B5 */ bl sub_800b67b4 +/* 800B6404 000B3364 3B E1 00 08 */ addi r31, r1, 8 +/* 800B6408 000B3368 3B A0 00 00 */ li r29, 0 +/* 800B640C 000B336C 48 00 00 6C */ b lbl_800B6478 +lbl_800B6410: +/* 800B6410 000B3370 88 0D A2 E8 */ lbz r0, lbl_805A8EA8@sda21(r13) +/* 800B6414 000B3374 7F 84 E3 78 */ mr r4, r28 +/* 800B6418 000B3378 7F E5 FB 78 */ mr r5, r31 +/* 800B641C 000B337C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800B6420 000B3380 98 01 00 08 */ stb r0, 8(r1) +/* 800B6424 000B3384 48 00 01 89 */ bl sub_800b65ac +/* 800B6428 000B3388 7F 63 DB 78 */ mr r3, r27 +/* 800B642C 000B338C 38 81 00 1C */ addi r4, r1, 0x1c +/* 800B6430 000B3390 48 00 00 69 */ bl sub_800b6498 +/* 800B6434 000B3394 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800B6438 000B3398 80 61 00 28 */ lwz r3, 0x28(r1) +/* 800B643C 000B339C 54 00 10 3A */ slwi r0, r0, 2 +/* 800B6440 000B33A0 7C 03 02 14 */ add r0, r3, r0 +/* 800B6444 000B33A4 90 61 00 10 */ stw r3, 0x10(r1) +/* 800B6448 000B33A8 7C 64 1B 78 */ mr r4, r3 +/* 800B644C 000B33AC 90 01 00 18 */ stw r0, 0x18(r1) +/* 800B6450 000B33B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6454 000B33B4 90 61 00 0C */ stw r3, 0xc(r1) +/* 800B6458 000B33B8 48 00 00 08 */ b lbl_800B6460 +lbl_800B645C: +/* 800B645C 000B33BC 38 84 00 04 */ addi r4, r4, 4 +lbl_800B6460: +/* 800B6460 000B33C0 7C 04 00 40 */ cmplw r4, r0 +/* 800B6464 000B33C4 40 82 FF F8 */ bne lbl_800B645C +/* 800B6468 000B33C8 28 03 00 00 */ cmplwi r3, 0 +/* 800B646C 000B33CC 41 82 00 08 */ beq lbl_800B6474 +/* 800B6470 000B33D0 48 25 F4 C1 */ bl Free__7CMemoryFPCv +lbl_800B6474: +/* 800B6474 000B33D4 3B BD 00 01 */ addi r29, r29, 1 +lbl_800B6478: +/* 800B6478 000B33D8 7C 1D F0 00 */ cmpw r29, r30 +/* 800B647C 000B33DC 41 80 FF 94 */ blt lbl_800B6410 +/* 800B6480 000B33E0 7F 63 DB 78 */ mr r3, r27 +/* 800B6484 000B33E4 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 800B6488 000B33E8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800B648C 000B33EC 7C 08 03 A6 */ mtlr r0 +/* 800B6490 000B33F0 38 21 00 50 */ addi r1, r1, 0x50 +/* 800B6494 000B33F4 4E 80 00 20 */ blr + +.global sub_800b6498 +sub_800b6498: +/* 800B6498 000B33F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B649C 000B33FC 7C 08 02 A6 */ mflr r0 +/* 800B64A0 000B3400 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B64A4 000B3404 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B64A8 000B3408 7C 9F 23 78 */ mr r31, r4 +/* 800B64AC 000B340C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B64B0 000B3410 7C 7E 1B 78 */ mr r30, r3 +/* 800B64B4 000B3414 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B64B8 000B3418 80 03 00 04 */ lwz r0, 4(r3) +/* 800B64BC 000B341C 80 A3 00 08 */ lwz r5, 8(r3) +/* 800B64C0 000B3420 7C 00 28 00 */ cmpw r0, r5 +/* 800B64C4 000B3424 41 80 00 18 */ blt lbl_800B64DC +/* 800B64C8 000B3428 2C 05 00 00 */ cmpwi r5, 0 +/* 800B64CC 000B342C 38 80 00 04 */ li r4, 4 +/* 800B64D0 000B3430 41 82 00 08 */ beq lbl_800B64D8 +/* 800B64D4 000B3434 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B64D8: +/* 800B64D8 000B3438 48 00 02 DD */ bl sub_800b67b4 +lbl_800B64DC: +/* 800B64DC 000B343C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B64E0 000B3440 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800B64E4 000B3444 54 00 20 36 */ slwi r0, r0, 4 +/* 800B64E8 000B3448 7F A3 02 15 */ add. r29, r3, r0 +/* 800B64EC 000B344C 41 82 00 98 */ beq lbl_800B6584 +/* 800B64F0 000B3450 80 1F 00 04 */ lwz r0, 4(r31) +/* 800B64F4 000B3454 90 1D 00 04 */ stw r0, 4(r29) +/* 800B64F8 000B3458 80 1F 00 08 */ lwz r0, 8(r31) +/* 800B64FC 000B345C 90 1D 00 08 */ stw r0, 8(r29) +/* 800B6500 000B3460 80 1F 00 04 */ lwz r0, 4(r31) +/* 800B6504 000B3464 2C 00 00 00 */ cmpwi r0, 0 +/* 800B6508 000B3468 40 82 00 1C */ bne lbl_800B6524 +/* 800B650C 000B346C 80 1F 00 08 */ lwz r0, 8(r31) +/* 800B6510 000B3470 2C 00 00 00 */ cmpwi r0, 0 +/* 800B6514 000B3474 40 82 00 10 */ bne lbl_800B6524 +/* 800B6518 000B3478 38 00 00 00 */ li r0, 0 +/* 800B651C 000B347C 90 1D 00 0C */ stw r0, 0xc(r29) +/* 800B6520 000B3480 48 00 00 64 */ b lbl_800B6584 +lbl_800B6524: +/* 800B6524 000B3484 80 1D 00 08 */ lwz r0, 8(r29) +/* 800B6528 000B3488 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 800B652C 000B348C 40 82 00 10 */ bne lbl_800B653C +/* 800B6530 000B3490 38 00 00 00 */ li r0, 0 +/* 800B6534 000B3494 90 1D 00 0C */ stw r0, 0xc(r29) +/* 800B6538 000B3498 48 00 00 18 */ b lbl_800B6550 +lbl_800B653C: +/* 800B653C 000B349C 3C 80 80 3D */ lis r4, lbl_803CDE80@ha +/* 800B6540 000B34A0 38 A0 00 00 */ li r5, 0 +/* 800B6544 000B34A4 38 84 DE 80 */ addi r4, r4, lbl_803CDE80@l +/* 800B6548 000B34A8 48 25 F2 D1 */ bl __nwa__FUlPCcPCc +/* 800B654C 000B34AC 90 7D 00 0C */ stw r3, 0xc(r29) +lbl_800B6550: +/* 800B6550 000B34B0 80 1D 00 04 */ lwz r0, 4(r29) +/* 800B6554 000B34B4 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 800B6558 000B34B8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 800B655C 000B34BC 7C 09 03 A6 */ mtctr r0 +/* 800B6560 000B34C0 2C 00 00 00 */ cmpwi r0, 0 +/* 800B6564 000B34C4 40 81 00 20 */ ble lbl_800B6584 +lbl_800B6568: +/* 800B6568 000B34C8 28 03 00 00 */ cmplwi r3, 0 +/* 800B656C 000B34CC 41 82 00 0C */ beq lbl_800B6578 +/* 800B6570 000B34D0 C0 04 00 00 */ lfs f0, 0(r4) +/* 800B6574 000B34D4 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800B6578: +/* 800B6578 000B34D8 38 63 00 04 */ addi r3, r3, 4 +/* 800B657C 000B34DC 38 84 00 04 */ addi r4, r4, 4 +/* 800B6580 000B34E0 42 00 FF E8 */ bdnz lbl_800B6568 +lbl_800B6584: +/* 800B6584 000B34E4 80 7E 00 04 */ lwz r3, 4(r30) +/* 800B6588 000B34E8 38 03 00 01 */ addi r0, r3, 1 +/* 800B658C 000B34EC 90 1E 00 04 */ stw r0, 4(r30) +/* 800B6590 000B34F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B6594 000B34F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B6598 000B34F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B659C 000B34FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B65A0 000B3500 7C 08 03 A6 */ mtlr r0 +/* 800B65A4 000B3504 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B65A8 000B3508 4E 80 00 20 */ blr + +.global sub_800b65ac +sub_800b65ac: +/* 800B65AC 000B350C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B65B0 000B3510 7C 08 02 A6 */ mflr r0 +/* 800B65B4 000B3514 7C 85 23 78 */ mr r5, r4 +/* 800B65B8 000B3518 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B65BC 000B351C 38 81 00 08 */ addi r4, r1, 8 +/* 800B65C0 000B3520 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B65C4 000B3524 7C 7F 1B 78 */ mr r31, r3 +/* 800B65C8 000B3528 88 0D A2 EC */ lbz r0, lbl_805A8EAC@sda21(r13) +/* 800B65CC 000B352C 98 01 00 08 */ stb r0, 8(r1) +/* 800B65D0 000B3530 48 00 00 19 */ bl sub_800b65e8 +/* 800B65D4 000B3534 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B65D8 000B3538 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B65DC 000B353C 7C 08 03 A6 */ mtlr r0 +/* 800B65E0 000B3540 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B65E4 000B3544 4E 80 00 20 */ blr + +.global sub_800b65e8 +sub_800b65e8: +/* 800B65E8 000B3548 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B65EC 000B354C 7C 08 02 A6 */ mflr r0 +/* 800B65F0 000B3550 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B65F4 000B3554 38 00 00 00 */ li r0, 0 +/* 800B65F8 000B3558 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 800B65FC 000B355C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800B6600 000B3560 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800B6604 000B3564 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800B6608 000B3568 7C BD 2B 78 */ mr r29, r5 +/* 800B660C 000B356C 93 81 00 08 */ stw r28, 8(r1) +/* 800B6610 000B3570 7C 7C 1B 78 */ mr r28, r3 +/* 800B6614 000B3574 90 03 00 04 */ stw r0, 4(r3) +/* 800B6618 000B3578 7F A3 EB 78 */ mr r3, r29 +/* 800B661C 000B357C 90 1C 00 08 */ stw r0, 8(r28) +/* 800B6620 000B3580 90 1C 00 0C */ stw r0, 0xc(r28) +/* 800B6624 000B3584 48 28 86 61 */ bl ReadLong__12CInputStreamFv +/* 800B6628 000B3588 7C 7E 1B 78 */ mr r30, r3 +/* 800B662C 000B358C 7F 83 E3 78 */ mr r3, r28 +/* 800B6630 000B3590 7F C4 F3 78 */ mr r4, r30 +/* 800B6634 000B3594 4B FA 77 C5 */ bl "reserve__Q24rstl36vectorFi" +/* 800B6638 000B3598 3B E0 00 00 */ li r31, 0 +/* 800B663C 000B359C 48 00 00 60 */ b lbl_800B669C +lbl_800B6640: +/* 800B6640 000B35A0 7F A3 EB 78 */ mr r3, r29 +/* 800B6644 000B35A4 48 28 85 E5 */ bl ReadFloat__12CInputStreamFv +/* 800B6648 000B35A8 80 1C 00 04 */ lwz r0, 4(r28) +/* 800B664C 000B35AC FF E0 08 90 */ fmr f31, f1 +/* 800B6650 000B35B0 80 BC 00 08 */ lwz r5, 8(r28) +/* 800B6654 000B35B4 7C 00 28 00 */ cmpw r0, r5 +/* 800B6658 000B35B8 41 80 00 1C */ blt lbl_800B6674 +/* 800B665C 000B35BC 2C 05 00 00 */ cmpwi r5, 0 +/* 800B6660 000B35C0 7F 83 E3 78 */ mr r3, r28 +/* 800B6664 000B35C4 38 80 00 04 */ li r4, 4 +/* 800B6668 000B35C8 41 82 00 08 */ beq lbl_800B6670 +/* 800B666C 000B35CC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800B6670: +/* 800B6670 000B35D0 4B FA 77 89 */ bl "reserve__Q24rstl36vectorFi" +lbl_800B6674: +/* 800B6674 000B35D4 80 1C 00 04 */ lwz r0, 4(r28) +/* 800B6678 000B35D8 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 800B667C 000B35DC 54 00 10 3A */ slwi r0, r0, 2 +/* 800B6680 000B35E0 7C 63 02 15 */ add. r3, r3, r0 +/* 800B6684 000B35E4 41 82 00 08 */ beq lbl_800B668C +/* 800B6688 000B35E8 D3 E3 00 00 */ stfs f31, 0(r3) +lbl_800B668C: +/* 800B668C 000B35EC 80 7C 00 04 */ lwz r3, 4(r28) +/* 800B6690 000B35F0 3B FF 00 01 */ addi r31, r31, 1 +/* 800B6694 000B35F4 38 03 00 01 */ addi r0, r3, 1 +/* 800B6698 000B35F8 90 1C 00 04 */ stw r0, 4(r28) +lbl_800B669C: +/* 800B669C 000B35FC 7C 1F F0 00 */ cmpw r31, r30 +/* 800B66A0 000B3600 41 80 FF A0 */ blt lbl_800B6640 +/* 800B66A4 000B3604 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B66A8 000B3608 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 800B66AC 000B360C 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800B66B0 000B3610 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 800B66B4 000B3614 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 800B66B8 000B3618 83 81 00 08 */ lwz r28, 8(r1) +/* 800B66BC 000B361C 7C 08 03 A6 */ mtlr r0 +/* 800B66C0 000B3620 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B66C4 000B3624 4E 80 00 20 */ blr + +.global __dt__15CTweakTargetingFv +__dt__15CTweakTargetingFv: +/* 800B66C8 000B3628 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B66CC 000B362C 7C 08 02 A6 */ mflr r0 +/* 800B66D0 000B3630 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B66D4 000B3634 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B66D8 000B3638 7C 9F 23 78 */ mr r31, r4 +/* 800B66DC 000B363C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B66E0 000B3640 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800B66E4 000B3644 41 82 00 88 */ beq lbl_800B676C +/* 800B66E8 000B3648 3C 60 80 3E */ lis r3, lbl_803DF428@ha +/* 800B66EC 000B364C 34 1E 01 08 */ addic. r0, r30, 0x108 +/* 800B66F0 000B3650 38 03 F4 28 */ addi r0, r3, lbl_803DF428@l +/* 800B66F4 000B3654 90 1E 00 00 */ stw r0, 0(r30) +/* 800B66F8 000B3658 41 82 00 44 */ beq lbl_800B673C +/* 800B66FC 000B365C 80 1E 01 0C */ lwz r0, 0x10c(r30) +/* 800B6700 000B3660 80 7E 01 14 */ lwz r3, 0x114(r30) +/* 800B6704 000B3664 54 00 10 3A */ slwi r0, r0, 2 +/* 800B6708 000B3668 7C 03 02 14 */ add r0, r3, r0 +/* 800B670C 000B366C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800B6710 000B3670 7C 64 1B 78 */ mr r4, r3 +/* 800B6714 000B3674 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6718 000B3678 90 01 00 10 */ stw r0, 0x10(r1) +/* 800B671C 000B367C 90 61 00 08 */ stw r3, 8(r1) +/* 800B6720 000B3680 48 00 00 08 */ b lbl_800B6728 +lbl_800B6724: +/* 800B6724 000B3684 38 84 00 04 */ addi r4, r4, 4 +lbl_800B6728: +/* 800B6728 000B3688 7C 04 00 40 */ cmplw r4, r0 +/* 800B672C 000B368C 40 82 FF F8 */ bne lbl_800B6724 +/* 800B6730 000B3690 28 03 00 00 */ cmplwi r3, 0 +/* 800B6734 000B3694 41 82 00 08 */ beq lbl_800B673C +/* 800B6738 000B3698 48 25 F1 F9 */ bl Free__7CMemoryFPCv +lbl_800B673C: +/* 800B673C 000B369C 38 7E 00 F8 */ addi r3, r30, 0xf8 +/* 800B6740 000B36A0 38 80 FF FF */ li r4, -1 +/* 800B6744 000B36A4 4B FF FB 65 */ bl sub_800b62a8 +/* 800B6748 000B36A8 28 1E 00 00 */ cmplwi r30, 0 +/* 800B674C 000B36AC 41 82 00 10 */ beq lbl_800B675C +/* 800B6750 000B36B0 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 800B6754 000B36B4 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 800B6758 000B36B8 90 1E 00 00 */ stw r0, 0(r30) +lbl_800B675C: +/* 800B675C 000B36BC 7F E0 07 35 */ extsh. r0, r31 +/* 800B6760 000B36C0 40 81 00 0C */ ble lbl_800B676C +/* 800B6764 000B36C4 7F C3 F3 78 */ mr r3, r30 +/* 800B6768 000B36C8 48 00 00 21 */ bl "__dl__29TOneStatic<15CTweakTargeting>FPvPCcPCc" +lbl_800B676C: +/* 800B676C 000B36CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B6770 000B36D0 7F C3 F3 78 */ mr r3, r30 +/* 800B6774 000B36D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B6778 000B36D8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B677C 000B36DC 7C 08 03 A6 */ mtlr r0 +/* 800B6780 000B36E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B6784 000B36E4 4E 80 00 20 */ blr + +.global "__dl__29TOneStatic<15CTweakTargeting>FPvPCcPCc" +"__dl__29TOneStatic<15CTweakTargeting>FPvPCcPCc": +/* 800B6788 000B36E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B678C 000B36EC 7C 08 02 A6 */ mflr r0 +/* 800B6790 000B36F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6794 000B36F4 4B F8 07 B1 */ bl "ReferenceCount__29TOneStatic<15CTweakTargeting>Fv" +/* 800B6798 000B36F8 80 83 00 00 */ lwz r4, 0(r3) +/* 800B679C 000B36FC 38 04 FF FF */ addi r0, r4, -1 +/* 800B67A0 000B3700 90 03 00 00 */ stw r0, 0(r3) +/* 800B67A4 000B3704 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B67A8 000B3708 7C 08 03 A6 */ mtlr r0 +/* 800B67AC 000B370C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B67B0 000B3710 4E 80 00 20 */ blr + +.global sub_800b67b4 +sub_800b67b4: +/* 800B67B4 000B3714 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800B67B8 000B3718 7C 08 02 A6 */ mflr r0 +/* 800B67BC 000B371C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800B67C0 000B3720 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 800B67C4 000B3724 7C 9F 23 78 */ mr r31, r4 +/* 800B67C8 000B3728 7C 7E 1B 78 */ mr r30, r3 +/* 800B67CC 000B372C 80 03 00 08 */ lwz r0, 8(r3) +/* 800B67D0 000B3730 7C 1F 00 00 */ cmpw r31, r0 +/* 800B67D4 000B3734 40 81 00 DC */ ble lbl_800B68B0 +/* 800B67D8 000B3738 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 800B67DC 000B373C 40 82 00 0C */ bne lbl_800B67E8 +/* 800B67E0 000B3740 3B A0 00 00 */ li r29, 0 +/* 800B67E4 000B3744 48 00 00 18 */ b lbl_800B67FC +lbl_800B67E8: +/* 800B67E8 000B3748 3C 80 80 3D */ lis r4, lbl_803CDE80@ha +/* 800B67EC 000B374C 38 A0 00 00 */ li r5, 0 +/* 800B67F0 000B3750 38 84 DE 80 */ addi r4, r4, lbl_803CDE80@l +/* 800B67F4 000B3754 48 25 F0 25 */ bl __nwa__FUlPCcPCc +/* 800B67F8 000B3758 7C 7D 1B 78 */ mr r29, r3 +lbl_800B67FC: +/* 800B67FC 000B375C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B6800 000B3760 7F A5 EB 78 */ mr r5, r29 +/* 800B6804 000B3764 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 800B6808 000B3768 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B680C 000B376C 54 00 20 36 */ slwi r0, r0, 4 +/* 800B6810 000B3770 38 81 00 1C */ addi r4, r1, 0x1c +/* 800B6814 000B3774 7C C6 02 14 */ add r6, r6, r0 +/* 800B6818 000B3778 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800B681C 000B377C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 800B6820 000B3780 90 C1 00 18 */ stw r6, 0x18(r1) +/* 800B6824 000B3784 90 01 00 20 */ stw r0, 0x20(r1) +/* 800B6828 000B3788 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B682C 000B378C 48 00 00 99 */ bl sub_800b68c4 +/* 800B6830 000B3790 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B6834 000B3794 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 800B6838 000B3798 54 00 20 36 */ slwi r0, r0, 4 +/* 800B683C 000B379C 7F 9B 02 14 */ add r28, r27, r0 +/* 800B6840 000B37A0 48 00 00 50 */ b lbl_800B6890 +lbl_800B6844: +/* 800B6844 000B37A4 28 1B 00 00 */ cmplwi r27, 0 +/* 800B6848 000B37A8 41 82 00 44 */ beq lbl_800B688C +/* 800B684C 000B37AC 80 1B 00 04 */ lwz r0, 4(r27) +/* 800B6850 000B37B0 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 800B6854 000B37B4 54 00 10 3A */ slwi r0, r0, 2 +/* 800B6858 000B37B8 7C 03 02 14 */ add r0, r3, r0 +/* 800B685C 000B37BC 90 61 00 0C */ stw r3, 0xc(r1) +/* 800B6860 000B37C0 7C 64 1B 78 */ mr r4, r3 +/* 800B6864 000B37C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6868 000B37C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 800B686C 000B37CC 90 61 00 08 */ stw r3, 8(r1) +/* 800B6870 000B37D0 48 00 00 08 */ b lbl_800B6878 +lbl_800B6874: +/* 800B6874 000B37D4 38 84 00 04 */ addi r4, r4, 4 +lbl_800B6878: +/* 800B6878 000B37D8 7C 04 00 40 */ cmplw r4, r0 +/* 800B687C 000B37DC 40 82 FF F8 */ bne lbl_800B6874 +/* 800B6880 000B37E0 28 03 00 00 */ cmplwi r3, 0 +/* 800B6884 000B37E4 41 82 00 08 */ beq lbl_800B688C +/* 800B6888 000B37E8 48 25 F0 A9 */ bl Free__7CMemoryFPCv +lbl_800B688C: +/* 800B688C 000B37EC 3B 7B 00 10 */ addi r27, r27, 0x10 +lbl_800B6890: +/* 800B6890 000B37F0 7C 1B E0 40 */ cmplw r27, r28 +/* 800B6894 000B37F4 40 82 FF B0 */ bne lbl_800B6844 +/* 800B6898 000B37F8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800B689C 000B37FC 28 03 00 00 */ cmplwi r3, 0 +/* 800B68A0 000B3800 41 82 00 08 */ beq lbl_800B68A8 +/* 800B68A4 000B3804 48 25 F0 8D */ bl Free__7CMemoryFPCv +lbl_800B68A8: +/* 800B68A8 000B3808 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800B68AC 000B380C 93 FE 00 08 */ stw r31, 8(r30) +lbl_800B68B0: +/* 800B68B0 000B3810 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 800B68B4 000B3814 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800B68B8 000B3818 7C 08 03 A6 */ mtlr r0 +/* 800B68BC 000B381C 38 21 00 40 */ addi r1, r1, 0x40 +/* 800B68C0 000B3820 4E 80 00 20 */ blr + +.global sub_800b68c4 +sub_800b68c4: +/* 800B68C4 000B3824 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B68C8 000B3828 7C 08 02 A6 */ mflr r0 +/* 800B68CC 000B382C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B68D0 000B3830 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B68D4 000B3834 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B68D8 000B3838 7C BE 2B 78 */ mr r30, r5 +/* 800B68DC 000B383C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B68E0 000B3840 7C 9D 23 78 */ mr r29, r4 +/* 800B68E4 000B3844 83 E3 00 00 */ lwz r31, 0(r3) +/* 800B68E8 000B3848 48 00 00 A8 */ b lbl_800B6990 +lbl_800B68EC: +/* 800B68EC 000B384C 28 1E 00 00 */ cmplwi r30, 0 +/* 800B68F0 000B3850 41 82 00 98 */ beq lbl_800B6988 +/* 800B68F4 000B3854 80 1F 00 04 */ lwz r0, 4(r31) +/* 800B68F8 000B3858 90 1E 00 04 */ stw r0, 4(r30) +/* 800B68FC 000B385C 80 1F 00 08 */ lwz r0, 8(r31) +/* 800B6900 000B3860 90 1E 00 08 */ stw r0, 8(r30) +/* 800B6904 000B3864 80 1F 00 04 */ lwz r0, 4(r31) +/* 800B6908 000B3868 2C 00 00 00 */ cmpwi r0, 0 +/* 800B690C 000B386C 40 82 00 1C */ bne lbl_800B6928 +/* 800B6910 000B3870 80 1F 00 08 */ lwz r0, 8(r31) +/* 800B6914 000B3874 2C 00 00 00 */ cmpwi r0, 0 +/* 800B6918 000B3878 40 82 00 10 */ bne lbl_800B6928 +/* 800B691C 000B387C 38 00 00 00 */ li r0, 0 +/* 800B6920 000B3880 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800B6924 000B3884 48 00 00 64 */ b lbl_800B6988 +lbl_800B6928: +/* 800B6928 000B3888 80 1E 00 08 */ lwz r0, 8(r30) +/* 800B692C 000B388C 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 800B6930 000B3890 40 82 00 10 */ bne lbl_800B6940 +/* 800B6934 000B3894 38 00 00 00 */ li r0, 0 +/* 800B6938 000B3898 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800B693C 000B389C 48 00 00 18 */ b lbl_800B6954 +lbl_800B6940: +/* 800B6940 000B38A0 3C 80 80 3D */ lis r4, lbl_803CDE80@ha +/* 800B6944 000B38A4 38 A0 00 00 */ li r5, 0 +/* 800B6948 000B38A8 38 84 DE 80 */ addi r4, r4, lbl_803CDE80@l +/* 800B694C 000B38AC 48 25 EE CD */ bl __nwa__FUlPCcPCc +/* 800B6950 000B38B0 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_800B6954: +/* 800B6954 000B38B4 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B6958 000B38B8 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 800B695C 000B38BC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800B6960 000B38C0 7C 09 03 A6 */ mtctr r0 +/* 800B6964 000B38C4 2C 00 00 00 */ cmpwi r0, 0 +/* 800B6968 000B38C8 40 81 00 20 */ ble lbl_800B6988 +lbl_800B696C: +/* 800B696C 000B38CC 28 03 00 00 */ cmplwi r3, 0 +/* 800B6970 000B38D0 41 82 00 0C */ beq lbl_800B697C +/* 800B6974 000B38D4 C0 04 00 00 */ lfs f0, 0(r4) +/* 800B6978 000B38D8 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800B697C: +/* 800B697C 000B38DC 38 63 00 04 */ addi r3, r3, 4 +/* 800B6980 000B38E0 38 84 00 04 */ addi r4, r4, 4 +/* 800B6984 000B38E4 42 00 FF E8 */ bdnz lbl_800B696C +lbl_800B6988: +/* 800B6988 000B38E8 3B DE 00 10 */ addi r30, r30, 0x10 +/* 800B698C 000B38EC 3B FF 00 10 */ addi r31, r31, 0x10 +lbl_800B6990: +/* 800B6990 000B38F0 80 1D 00 00 */ lwz r0, 0(r29) +/* 800B6994 000B38F4 7C 1F 00 40 */ cmplw r31, r0 +/* 800B6998 000B38F8 40 82 FF 54 */ bne lbl_800B68EC +/* 800B699C 000B38FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B69A0 000B3900 7F C3 F3 78 */ mr r3, r30 +/* 800B69A4 000B3904 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B69A8 000B3908 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B69AC 000B390C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B69B0 000B3910 7C 08 03 A6 */ mtlr r0 +/* 800B69B4 000B3914 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B69B8 000B3918 4E 80 00 20 */ blr + +.global __ct__16CTweakAutoMapperFR12CInputStream +__ct__16CTweakAutoMapperFR12CInputStream: +/* 800B69BC 000B391C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B69C0 000B3920 7C 08 02 A6 */ mflr r0 +/* 800B69C4 000B3924 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B69C8 000B3928 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 800B69CC 000B392C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 800B69D0 000B3930 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B69D4 000B3934 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B69D8 000B3938 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B69DC 000B393C 93 81 00 10 */ stw r28, 0x10(r1) +/* 800B69E0 000B3940 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha +/* 800B69E4 000B3944 3C A0 80 3E */ lis r5, lbl_803DF438@ha +/* 800B69E8 000B3948 7C 7F 1B 78 */ mr r31, r3 +/* 800B69EC 000B394C 7C 9C 23 78 */ mr r28, r4 +/* 800B69F0 000B3950 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l +/* 800B69F4 000B3954 38 05 F4 38 */ addi r0, r5, lbl_803DF438@l +/* 800B69F8 000B3958 90 7F 00 00 */ stw r3, 0(r31) +/* 800B69FC 000B395C 7F 83 E3 78 */ mr r3, r28 +/* 800B6A00 000B3960 90 1F 00 00 */ stw r0, 0(r31) +/* 800B6A04 000B3964 48 28 82 D9 */ bl ReadBool__12CInputStreamFv +/* 800B6A08 000B3968 88 1F 00 04 */ lbz r0, 4(r31) +/* 800B6A0C 000B396C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800B6A10 000B3970 7F 83 E3 78 */ mr r3, r28 +/* 800B6A14 000B3974 98 1F 00 04 */ stb r0, 4(r31) +/* 800B6A18 000B3978 48 28 82 C5 */ bl ReadBool__12CInputStreamFv +/* 800B6A1C 000B397C 88 1F 00 04 */ lbz r0, 4(r31) +/* 800B6A20 000B3980 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800B6A24 000B3984 7F 83 E3 78 */ mr r3, r28 +/* 800B6A28 000B3988 98 1F 00 04 */ stb r0, 4(r31) +/* 800B6A2C 000B398C 48 28 82 B1 */ bl ReadBool__12CInputStreamFv +/* 800B6A30 000B3990 88 1F 00 04 */ lbz r0, 4(r31) +/* 800B6A34 000B3994 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800B6A38 000B3998 7F 83 E3 78 */ mr r3, r28 +/* 800B6A3C 000B399C 98 1F 00 04 */ stb r0, 4(r31) +/* 800B6A40 000B39A0 48 28 81 E9 */ bl ReadFloat__12CInputStreamFv +/* 800B6A44 000B39A4 D0 3F 00 08 */ stfs f1, 8(r31) +/* 800B6A48 000B39A8 7F 83 E3 78 */ mr r3, r28 +/* 800B6A4C 000B39AC 48 28 81 DD */ bl ReadFloat__12CInputStreamFv +/* 800B6A50 000B39B0 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 800B6A54 000B39B4 7F 83 E3 78 */ mr r3, r28 +/* 800B6A58 000B39B8 48 28 81 D1 */ bl ReadFloat__12CInputStreamFv +/* 800B6A5C 000B39BC D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 800B6A60 000B39C0 7F 83 E3 78 */ mr r3, r28 +/* 800B6A64 000B39C4 48 28 81 C5 */ bl ReadFloat__12CInputStreamFv +/* 800B6A68 000B39C8 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 800B6A6C 000B39CC 7F 83 E3 78 */ mr r3, r28 +/* 800B6A70 000B39D0 48 28 81 B9 */ bl ReadFloat__12CInputStreamFv +/* 800B6A74 000B39D4 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 800B6A78 000B39D8 7F 83 E3 78 */ mr r3, r28 +/* 800B6A7C 000B39DC 48 28 81 AD */ bl ReadFloat__12CInputStreamFv +/* 800B6A80 000B39E0 D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 800B6A84 000B39E4 7F 83 E3 78 */ mr r3, r28 +/* 800B6A88 000B39E8 48 28 81 A1 */ bl ReadFloat__12CInputStreamFv +/* 800B6A8C 000B39EC D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 800B6A90 000B39F0 7F 84 E3 78 */ mr r4, r28 +/* 800B6A94 000B39F4 38 7F 00 24 */ addi r3, r31, 0x24 +/* 800B6A98 000B39F8 48 2A C9 B5 */ bl __ct__6CColorFR12CInputStream +/* 800B6A9C 000B39FC 7F 83 E3 78 */ mr r3, r28 +/* 800B6AA0 000B3A00 48 28 81 89 */ bl ReadFloat__12CInputStreamFv +/* 800B6AA4 000B3A04 D0 3F 00 28 */ stfs f1, 0x28(r31) +/* 800B6AA8 000B3A08 7F 83 E3 78 */ mr r3, r28 +/* 800B6AAC 000B3A0C 48 28 81 7D */ bl ReadFloat__12CInputStreamFv +/* 800B6AB0 000B3A10 D0 3F 00 2C */ stfs f1, 0x2c(r31) +/* 800B6AB4 000B3A14 7F 83 E3 78 */ mr r3, r28 +/* 800B6AB8 000B3A18 48 28 81 71 */ bl ReadFloat__12CInputStreamFv +/* 800B6ABC 000B3A1C D0 3F 00 30 */ stfs f1, 0x30(r31) +/* 800B6AC0 000B3A20 7F 83 E3 78 */ mr r3, r28 +/* 800B6AC4 000B3A24 48 28 81 65 */ bl ReadFloat__12CInputStreamFv +/* 800B6AC8 000B3A28 D0 3F 00 34 */ stfs f1, 0x34(r31) +/* 800B6ACC 000B3A2C 7F 84 E3 78 */ mr r4, r28 +/* 800B6AD0 000B3A30 38 7F 00 38 */ addi r3, r31, 0x38 +/* 800B6AD4 000B3A34 48 2A C9 79 */ bl __ct__6CColorFR12CInputStream +/* 800B6AD8 000B3A38 7F 84 E3 78 */ mr r4, r28 +/* 800B6ADC 000B3A3C 38 7F 00 3C */ addi r3, r31, 0x3c +/* 800B6AE0 000B3A40 48 2A C9 6D */ bl __ct__6CColorFR12CInputStream +/* 800B6AE4 000B3A44 7F 84 E3 78 */ mr r4, r28 +/* 800B6AE8 000B3A48 38 7F 00 40 */ addi r3, r31, 0x40 +/* 800B6AEC 000B3A4C 48 2A C9 61 */ bl __ct__6CColorFR12CInputStream +/* 800B6AF0 000B3A50 7F 84 E3 78 */ mr r4, r28 +/* 800B6AF4 000B3A54 38 7F 00 44 */ addi r3, r31, 0x44 +/* 800B6AF8 000B3A58 48 2A C9 55 */ bl __ct__6CColorFR12CInputStream +/* 800B6AFC 000B3A5C 7F 84 E3 78 */ mr r4, r28 +/* 800B6B00 000B3A60 38 7F 00 48 */ addi r3, r31, 0x48 +/* 800B6B04 000B3A64 48 2A C9 49 */ bl __ct__6CColorFR12CInputStream +/* 800B6B08 000B3A68 7F 84 E3 78 */ mr r4, r28 +/* 800B6B0C 000B3A6C 38 7F 00 4C */ addi r3, r31, 0x4c +/* 800B6B10 000B3A70 48 2A C9 3D */ bl __ct__6CColorFR12CInputStream +/* 800B6B14 000B3A74 7F 84 E3 78 */ mr r4, r28 +/* 800B6B18 000B3A78 38 7F 00 50 */ addi r3, r31, 0x50 +/* 800B6B1C 000B3A7C 48 2A C9 31 */ bl __ct__6CColorFR12CInputStream +/* 800B6B20 000B3A80 7F 83 E3 78 */ mr r3, r28 +/* 800B6B24 000B3A84 48 28 81 05 */ bl ReadFloat__12CInputStreamFv +/* 800B6B28 000B3A88 D0 3F 00 54 */ stfs f1, 0x54(r31) +/* 800B6B2C 000B3A8C 7F 83 E3 78 */ mr r3, r28 +/* 800B6B30 000B3A90 48 28 80 F9 */ bl ReadFloat__12CInputStreamFv +/* 800B6B34 000B3A94 D0 3F 00 58 */ stfs f1, 0x58(r31) +/* 800B6B38 000B3A98 7F 83 E3 78 */ mr r3, r28 +/* 800B6B3C 000B3A9C 48 28 80 ED */ bl ReadFloat__12CInputStreamFv +/* 800B6B40 000B3AA0 D0 3F 00 5C */ stfs f1, 0x5c(r31) +/* 800B6B44 000B3AA4 7F 83 E3 78 */ mr r3, r28 +/* 800B6B48 000B3AA8 C0 02 8D 08 */ lfs f0, lbl_805AAA28@sda21(r2) +/* 800B6B4C 000B3AAC D0 1F 00 60 */ stfs f0, 0x60(r31) +/* 800B6B50 000B3AB0 48 28 80 D9 */ bl ReadFloat__12CInputStreamFv +/* 800B6B54 000B3AB4 D0 3F 00 64 */ stfs f1, 0x64(r31) +/* 800B6B58 000B3AB8 7F 83 E3 78 */ mr r3, r28 +/* 800B6B5C 000B3ABC 48 28 80 CD */ bl ReadFloat__12CInputStreamFv +/* 800B6B60 000B3AC0 D0 3F 00 68 */ stfs f1, 0x68(r31) +/* 800B6B64 000B3AC4 7F 83 E3 78 */ mr r3, r28 +/* 800B6B68 000B3AC8 48 28 80 C1 */ bl ReadFloat__12CInputStreamFv +/* 800B6B6C 000B3ACC D0 3F 00 6C */ stfs f1, 0x6c(r31) +/* 800B6B70 000B3AD0 7F 83 E3 78 */ mr r3, r28 +/* 800B6B74 000B3AD4 48 28 80 B5 */ bl ReadFloat__12CInputStreamFv +/* 800B6B78 000B3AD8 D0 3F 00 70 */ stfs f1, 0x70(r31) +/* 800B6B7C 000B3ADC 7F 83 E3 78 */ mr r3, r28 +/* 800B6B80 000B3AE0 48 28 80 A9 */ bl ReadFloat__12CInputStreamFv +/* 800B6B84 000B3AE4 D0 3F 00 74 */ stfs f1, 0x74(r31) +/* 800B6B88 000B3AE8 7F 83 E3 78 */ mr r3, r28 +/* 800B6B8C 000B3AEC 48 28 80 9D */ bl ReadFloat__12CInputStreamFv +/* 800B6B90 000B3AF0 D0 3F 00 78 */ stfs f1, 0x78(r31) +/* 800B6B94 000B3AF4 7F 84 E3 78 */ mr r4, r28 +/* 800B6B98 000B3AF8 38 7F 00 7C */ addi r3, r31, 0x7c +/* 800B6B9C 000B3AFC 48 2A C8 B1 */ bl __ct__6CColorFR12CInputStream +/* 800B6BA0 000B3B00 7F 84 E3 78 */ mr r4, r28 +/* 800B6BA4 000B3B04 38 7F 00 80 */ addi r3, r31, 0x80 +/* 800B6BA8 000B3B08 48 2A C8 A5 */ bl __ct__6CColorFR12CInputStream +/* 800B6BAC 000B3B0C 7F 83 E3 78 */ mr r3, r28 +/* 800B6BB0 000B3B10 48 28 80 79 */ bl ReadFloat__12CInputStreamFv +/* 800B6BB4 000B3B14 D0 3F 00 84 */ stfs f1, 0x84(r31) +/* 800B6BB8 000B3B18 7F 83 E3 78 */ mr r3, r28 +/* 800B6BBC 000B3B1C 48 28 80 6D */ bl ReadFloat__12CInputStreamFv +/* 800B6BC0 000B3B20 D0 3F 00 88 */ stfs f1, 0x88(r31) +/* 800B6BC4 000B3B24 7F 83 E3 78 */ mr r3, r28 +/* 800B6BC8 000B3B28 48 28 80 61 */ bl ReadFloat__12CInputStreamFv +/* 800B6BCC 000B3B2C D0 3F 00 8C */ stfs f1, 0x8c(r31) +/* 800B6BD0 000B3B30 7F 83 E3 78 */ mr r3, r28 +/* 800B6BD4 000B3B34 48 28 80 55 */ bl ReadFloat__12CInputStreamFv +/* 800B6BD8 000B3B38 D0 3F 00 90 */ stfs f1, 0x90(r31) +/* 800B6BDC 000B3B3C 7F 83 E3 78 */ mr r3, r28 +/* 800B6BE0 000B3B40 48 28 80 49 */ bl ReadFloat__12CInputStreamFv +/* 800B6BE4 000B3B44 D0 3F 00 94 */ stfs f1, 0x94(r31) +/* 800B6BE8 000B3B48 7F 83 E3 78 */ mr r3, r28 +/* 800B6BEC 000B3B4C 48 28 80 3D */ bl ReadFloat__12CInputStreamFv +/* 800B6BF0 000B3B50 D0 3F 00 98 */ stfs f1, 0x98(r31) +/* 800B6BF4 000B3B54 7F 83 E3 78 */ mr r3, r28 +/* 800B6BF8 000B3B58 48 28 80 31 */ bl ReadFloat__12CInputStreamFv +/* 800B6BFC 000B3B5C D0 3F 00 9C */ stfs f1, 0x9c(r31) +/* 800B6C00 000B3B60 7F 83 E3 78 */ mr r3, r28 +/* 800B6C04 000B3B64 48 28 80 25 */ bl ReadFloat__12CInputStreamFv +/* 800B6C08 000B3B68 D0 3F 00 A0 */ stfs f1, 0xa0(r31) +/* 800B6C0C 000B3B6C 7F 83 E3 78 */ mr r3, r28 +/* 800B6C10 000B3B70 48 28 80 19 */ bl ReadFloat__12CInputStreamFv +/* 800B6C14 000B3B74 D0 3F 00 A4 */ stfs f1, 0xa4(r31) +/* 800B6C18 000B3B78 7F 83 E3 78 */ mr r3, r28 +/* 800B6C1C 000B3B7C 48 28 80 0D */ bl ReadFloat__12CInputStreamFv +/* 800B6C20 000B3B80 D0 3F 00 A8 */ stfs f1, 0xa8(r31) +/* 800B6C24 000B3B84 7F 83 E3 78 */ mr r3, r28 +/* 800B6C28 000B3B88 48 28 80 01 */ bl ReadFloat__12CInputStreamFv +/* 800B6C2C 000B3B8C D0 3F 00 AC */ stfs f1, 0xac(r31) +/* 800B6C30 000B3B90 7F 83 E3 78 */ mr r3, r28 +/* 800B6C34 000B3B94 48 28 7F F5 */ bl ReadFloat__12CInputStreamFv +/* 800B6C38 000B3B98 D0 3F 00 B0 */ stfs f1, 0xb0(r31) +/* 800B6C3C 000B3B9C 7F 83 E3 78 */ mr r3, r28 +/* 800B6C40 000B3BA0 48 28 7F E9 */ bl ReadFloat__12CInputStreamFv +/* 800B6C44 000B3BA4 D0 3F 00 B4 */ stfs f1, 0xb4(r31) +/* 800B6C48 000B3BA8 7F 83 E3 78 */ mr r3, r28 +/* 800B6C4C 000B3BAC 48 28 7F DD */ bl ReadFloat__12CInputStreamFv +/* 800B6C50 000B3BB0 D0 3F 00 B8 */ stfs f1, 0xb8(r31) +/* 800B6C54 000B3BB4 7F 83 E3 78 */ mr r3, r28 +/* 800B6C58 000B3BB8 48 28 7F D1 */ bl ReadFloat__12CInputStreamFv +/* 800B6C5C 000B3BBC D0 3F 00 BC */ stfs f1, 0xbc(r31) +/* 800B6C60 000B3BC0 7F 83 E3 78 */ mr r3, r28 +/* 800B6C64 000B3BC4 48 28 7F C5 */ bl ReadFloat__12CInputStreamFv +/* 800B6C68 000B3BC8 D0 3F 00 C0 */ stfs f1, 0xc0(r31) +/* 800B6C6C 000B3BCC 7F 83 E3 78 */ mr r3, r28 +/* 800B6C70 000B3BD0 48 28 7F B9 */ bl ReadFloat__12CInputStreamFv +/* 800B6C74 000B3BD4 D0 3F 00 C4 */ stfs f1, 0xc4(r31) +/* 800B6C78 000B3BD8 7F 83 E3 78 */ mr r3, r28 +/* 800B6C7C 000B3BDC 48 28 7F AD */ bl ReadFloat__12CInputStreamFv +/* 800B6C80 000B3BE0 D0 3F 00 C8 */ stfs f1, 0xc8(r31) +/* 800B6C84 000B3BE4 7F 83 E3 78 */ mr r3, r28 +/* 800B6C88 000B3BE8 48 28 80 55 */ bl ReadBool__12CInputStreamFv +/* 800B6C8C 000B3BEC 98 7F 00 CC */ stb r3, 0xcc(r31) +/* 800B6C90 000B3BF0 7F 83 E3 78 */ mr r3, r28 +/* 800B6C94 000B3BF4 48 28 7F 95 */ bl ReadFloat__12CInputStreamFv +/* 800B6C98 000B3BF8 D0 3F 00 D0 */ stfs f1, 0xd0(r31) +/* 800B6C9C 000B3BFC 7F 83 E3 78 */ mr r3, r28 +/* 800B6CA0 000B3C00 48 28 7F 89 */ bl ReadFloat__12CInputStreamFv +/* 800B6CA4 000B3C04 D0 3F 00 D4 */ stfs f1, 0xd4(r31) +/* 800B6CA8 000B3C08 7F 83 E3 78 */ mr r3, r28 +/* 800B6CAC 000B3C0C 48 28 7F 7D */ bl ReadFloat__12CInputStreamFv +/* 800B6CB0 000B3C10 D0 3F 00 D8 */ stfs f1, 0xd8(r31) +/* 800B6CB4 000B3C14 7F 83 E3 78 */ mr r3, r28 +/* 800B6CB8 000B3C18 48 28 7F 71 */ bl ReadFloat__12CInputStreamFv +/* 800B6CBC 000B3C1C D0 3F 00 DC */ stfs f1, 0xdc(r31) +/* 800B6CC0 000B3C20 7F 83 E3 78 */ mr r3, r28 +/* 800B6CC4 000B3C24 48 28 7F 65 */ bl ReadFloat__12CInputStreamFv +/* 800B6CC8 000B3C28 D0 3F 00 E0 */ stfs f1, 0xe0(r31) +/* 800B6CCC 000B3C2C 7F 83 E3 78 */ mr r3, r28 +/* 800B6CD0 000B3C30 48 28 7F 59 */ bl ReadFloat__12CInputStreamFv +/* 800B6CD4 000B3C34 D0 3F 00 E4 */ stfs f1, 0xe4(r31) +/* 800B6CD8 000B3C38 7F 83 E3 78 */ mr r3, r28 +/* 800B6CDC 000B3C3C 48 28 7F 4D */ bl ReadFloat__12CInputStreamFv +/* 800B6CE0 000B3C40 D0 3F 00 E8 */ stfs f1, 0xe8(r31) +/* 800B6CE4 000B3C44 7F 83 E3 78 */ mr r3, r28 +/* 800B6CE8 000B3C48 48 28 7F 41 */ bl ReadFloat__12CInputStreamFv +/* 800B6CEC 000B3C4C D0 3F 00 EC */ stfs f1, 0xec(r31) +/* 800B6CF0 000B3C50 7F 84 E3 78 */ mr r4, r28 +/* 800B6CF4 000B3C54 38 7F 00 F0 */ addi r3, r31, 0xf0 +/* 800B6CF8 000B3C58 48 2A C7 55 */ bl __ct__6CColorFR12CInputStream +/* 800B6CFC 000B3C5C 7F 84 E3 78 */ mr r4, r28 +/* 800B6D00 000B3C60 38 7F 00 F4 */ addi r3, r31, 0xf4 +/* 800B6D04 000B3C64 48 2A C7 49 */ bl __ct__6CColorFR12CInputStream +/* 800B6D08 000B3C68 7F 84 E3 78 */ mr r4, r28 +/* 800B6D0C 000B3C6C 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 800B6D10 000B3C70 48 2A C7 3D */ bl __ct__6CColorFR12CInputStream +/* 800B6D14 000B3C74 7F 84 E3 78 */ mr r4, r28 +/* 800B6D18 000B3C78 38 7F 00 FC */ addi r3, r31, 0xfc +/* 800B6D1C 000B3C7C 48 2A C7 31 */ bl __ct__6CColorFR12CInputStream +/* 800B6D20 000B3C80 7F 83 E3 78 */ mr r3, r28 +/* 800B6D24 000B3C84 48 28 7F 61 */ bl ReadLong__12CInputStreamFv +/* 800B6D28 000B3C88 3B C0 00 00 */ li r30, 0 +/* 800B6D2C 000B3C8C 90 7F 01 00 */ stw r3, 0x100(r31) +/* 800B6D30 000B3C90 7F DD F3 78 */ mr r29, r30 +/* 800B6D34 000B3C94 48 00 00 2C */ b lbl_800B6D60 +lbl_800B6D38: +/* 800B6D38 000B3C98 7F 84 E3 78 */ mr r4, r28 +/* 800B6D3C 000B3C9C 38 61 00 0C */ addi r3, r1, 0xc +/* 800B6D40 000B3CA0 48 2A C7 0D */ bl __ct__6CColorFR12CInputStream +/* 800B6D44 000B3CA4 7C 7F EA 14 */ add r3, r31, r29 +/* 800B6D48 000B3CA8 34 63 01 04 */ addic. r3, r3, 0x104 +/* 800B6D4C 000B3CAC 41 82 00 0C */ beq lbl_800B6D58 +/* 800B6D50 000B3CB0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800B6D54 000B3CB4 90 03 00 00 */ stw r0, 0(r3) +lbl_800B6D58: +/* 800B6D58 000B3CB8 3B BD 00 04 */ addi r29, r29, 4 +/* 800B6D5C 000B3CBC 3B DE 00 01 */ addi r30, r30, 1 +lbl_800B6D60: +/* 800B6D60 000B3CC0 80 1F 01 00 */ lwz r0, 0x100(r31) +/* 800B6D64 000B3CC4 7C 1E 00 00 */ cmpw r30, r0 +/* 800B6D68 000B3CC8 41 80 FF D0 */ blt lbl_800B6D38 +/* 800B6D6C 000B3CCC 7F 84 E3 78 */ mr r4, r28 +/* 800B6D70 000B3CD0 38 7F 01 18 */ addi r3, r31, 0x118 +/* 800B6D74 000B3CD4 48 2A C6 D9 */ bl __ct__6CColorFR12CInputStream +/* 800B6D78 000B3CD8 7F 84 E3 78 */ mr r4, r28 +/* 800B6D7C 000B3CDC 38 7F 01 1C */ addi r3, r31, 0x11c +/* 800B6D80 000B3CE0 48 2A C6 CD */ bl __ct__6CColorFR12CInputStream +/* 800B6D84 000B3CE4 C3 E2 8D 0C */ lfs f31, lbl_805AAA2C@sda21(r2) +/* 800B6D88 000B3CE8 F3 E1 A0 0B */ psq_st f31, 11(r1), 1, qr2 +/* 800B6D8C 000B3CEC 88 01 00 0B */ lbz r0, 0xb(r1) +/* 800B6D90 000B3CF0 98 1F 00 3F */ stb r0, 0x3f(r31) +/* 800B6D94 000B3CF4 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 +/* 800B6D98 000B3CF8 88 01 00 0A */ lbz r0, 0xa(r1) +/* 800B6D9C 000B3CFC 98 1F 00 43 */ stb r0, 0x43(r31) +/* 800B6DA0 000B3D00 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 800B6DA4 000B3D04 88 01 00 09 */ lbz r0, 9(r1) +/* 800B6DA8 000B3D08 98 1F 00 47 */ stb r0, 0x47(r31) +/* 800B6DAC 000B3D0C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800B6DB0 000B3D10 7F E3 FB 78 */ mr r3, r31 +/* 800B6DB4 000B3D14 88 01 00 08 */ lbz r0, 8(r1) +/* 800B6DB8 000B3D18 98 1F 00 4B */ stb r0, 0x4b(r31) +/* 800B6DBC 000B3D1C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 800B6DC0 000B3D20 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B6DC4 000B3D24 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 800B6DC8 000B3D28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B6DCC 000B3D2C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B6DD0 000B3D30 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B6DD4 000B3D34 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800B6DD8 000B3D38 7C 08 03 A6 */ mtlr r0 +/* 800B6DDC 000B3D3C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B6DE0 000B3D40 4E 80 00 20 */ blr + +.global __dt__16CTweakAutoMapperFv +__dt__16CTweakAutoMapperFv: +/* 800B6DE4 000B3D44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B6DE8 000B3D48 7C 08 02 A6 */ mflr r0 +/* 800B6DEC 000B3D4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6DF0 000B3D50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B6DF4 000B3D54 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800B6DF8 000B3D58 41 82 00 90 */ beq lbl_800B6E88 +/* 800B6DFC 000B3D5C 3C 60 80 3E */ lis r3, lbl_803DF438@ha +/* 800B6E00 000B3D60 34 1F 01 00 */ addic. r0, r31, 0x100 +/* 800B6E04 000B3D64 38 03 F4 38 */ addi r0, r3, lbl_803DF438@l +/* 800B6E08 000B3D68 90 1F 00 00 */ stw r0, 0(r31) +/* 800B6E0C 000B3D6C 41 82 00 58 */ beq lbl_800B6E64 +/* 800B6E10 000B3D70 80 DF 01 00 */ lwz r6, 0x100(r31) +/* 800B6E14 000B3D74 38 60 00 00 */ li r3, 0 +/* 800B6E18 000B3D78 2C 06 00 00 */ cmpwi r6, 0 +/* 800B6E1C 000B3D7C 40 81 00 40 */ ble lbl_800B6E5C +/* 800B6E20 000B3D80 2C 06 00 08 */ cmpwi r6, 8 +/* 800B6E24 000B3D84 38 A6 FF F8 */ addi r5, r6, -8 +/* 800B6E28 000B3D88 40 81 00 20 */ ble lbl_800B6E48 +/* 800B6E2C 000B3D8C 38 05 00 07 */ addi r0, r5, 7 +/* 800B6E30 000B3D90 54 00 E8 FE */ srwi r0, r0, 3 +/* 800B6E34 000B3D94 7C 09 03 A6 */ mtctr r0 +/* 800B6E38 000B3D98 2C 05 00 00 */ cmpwi r5, 0 +/* 800B6E3C 000B3D9C 40 81 00 0C */ ble lbl_800B6E48 +lbl_800B6E40: +/* 800B6E40 000B3DA0 38 63 00 08 */ addi r3, r3, 8 +/* 800B6E44 000B3DA4 42 00 FF FC */ bdnz lbl_800B6E40 +lbl_800B6E48: +/* 800B6E48 000B3DA8 7C 03 30 50 */ subf r0, r3, r6 +/* 800B6E4C 000B3DAC 7C 09 03 A6 */ mtctr r0 +/* 800B6E50 000B3DB0 7C 03 30 00 */ cmpw r3, r6 +/* 800B6E54 000B3DB4 40 80 00 08 */ bge lbl_800B6E5C +lbl_800B6E58: +/* 800B6E58 000B3DB8 42 00 00 00 */ bdnz lbl_800B6E58 +lbl_800B6E5C: +/* 800B6E5C 000B3DBC 38 00 00 00 */ li r0, 0 +/* 800B6E60 000B3DC0 90 1F 01 00 */ stw r0, 0x100(r31) +lbl_800B6E64: +/* 800B6E64 000B3DC4 28 1F 00 00 */ cmplwi r31, 0 +/* 800B6E68 000B3DC8 41 82 00 10 */ beq lbl_800B6E78 +/* 800B6E6C 000B3DCC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 800B6E70 000B3DD0 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 800B6E74 000B3DD4 90 1F 00 00 */ stw r0, 0(r31) +lbl_800B6E78: +/* 800B6E78 000B3DD8 7C 80 07 35 */ extsh. r0, r4 +/* 800B6E7C 000B3DDC 40 81 00 0C */ ble lbl_800B6E88 +/* 800B6E80 000B3DE0 7F E3 FB 78 */ mr r3, r31 +/* 800B6E84 000B3DE4 48 00 00 1D */ bl "__dl__30TOneStatic<16CTweakAutoMapper>FPv" +lbl_800B6E88: +/* 800B6E88 000B3DE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B6E8C 000B3DEC 7F E3 FB 78 */ mr r3, r31 +/* 800B6E90 000B3DF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B6E94 000B3DF4 7C 08 03 A6 */ mtlr r0 +/* 800B6E98 000B3DF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B6E9C 000B3DFC 4E 80 00 20 */ blr + +.global "__dl__30TOneStatic<16CTweakAutoMapper>FPv" +"__dl__30TOneStatic<16CTweakAutoMapper>FPv": +/* 800B6EA0 000B3E00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B6EA4 000B3E04 7C 08 02 A6 */ mflr r0 +/* 800B6EA8 000B3E08 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6EAC 000B3E0C 4B F8 00 39 */ bl "ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv" +/* 800B6EB0 000B3E10 80 83 00 00 */ lwz r4, 0(r3) +/* 800B6EB4 000B3E14 38 04 FF FF */ addi r0, r4, -1 +/* 800B6EB8 000B3E18 90 03 00 00 */ stw r0, 0(r3) +/* 800B6EBC 000B3E1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B6EC0 000B3E20 7C 08 03 A6 */ mtlr r0 +/* 800B6EC4 000B3E24 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B6EC8 000B3E28 4E 80 00 20 */ blr + +.global IsSystemDeletable__23CParticleGenInfoGenericCFv +IsSystemDeletable__23CParticleGenInfoGenericCFv: +/* 800B6ECC 000B3E2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B6ED0 000B3E30 7C 08 02 A6 */ mflr r0 +/* 800B6ED4 000B3E34 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6ED8 000B3E38 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B6EDC 000B3E3C 80 63 00 00 */ lwz r3, 0(r3) +/* 800B6EE0 000B3E40 81 83 00 00 */ lwz r12, 0(r3) +/* 800B6EE4 000B3E44 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 800B6EE8 000B3E48 7D 89 03 A6 */ mtctr r12 +/* 800B6EEC 000B3E4C 4E 80 04 21 */ bctrl +/* 800B6EF0 000B3E50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B6EF4 000B3E54 7C 08 03 A6 */ mtlr r0 +/* 800B6EF8 000B3E58 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B6EFC 000B3E5C 4E 80 00 20 */ blr + +.global GetBounds__23CParticleGenInfoGenericCFv +GetBounds__23CParticleGenInfoGenericCFv: +/* 800B6F00 000B3E60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B6F04 000B3E64 7C 08 02 A6 */ mflr r0 +/* 800B6F08 000B3E68 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6F0C 000B3E6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B6F10 000B3E70 7C 7F 1B 78 */ mr r31, r3 +/* 800B6F14 000B3E74 80 84 00 84 */ lwz r4, 0x84(r4) +/* 800B6F18 000B3E78 80 84 00 00 */ lwz r4, 0(r4) +/* 800B6F1C 000B3E7C 81 84 00 00 */ lwz r12, 0(r4) +/* 800B6F20 000B3E80 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 800B6F24 000B3E84 7D 89 03 A6 */ mtctr r12 +/* 800B6F28 000B3E88 4E 80 04 21 */ bctrl +/* 800B6F2C 000B3E8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B6F30 000B3E90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B6F34 000B3E94 7C 08 03 A6 */ mtlr r0 +/* 800B6F38 000B3E98 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B6F3C 000B3E9C 4E 80 00 20 */ blr + +.global HasActiveParticles__23CParticleGenInfoGenericCFv +HasActiveParticles__23CParticleGenInfoGenericCFv: +/* 800B6F40 000B3EA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B6F44 000B3EA4 7C 08 02 A6 */ mflr r0 +/* 800B6F48 000B3EA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6F4C 000B3EAC 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B6F50 000B3EB0 80 63 00 00 */ lwz r3, 0(r3) +/* 800B6F54 000B3EB4 81 83 00 00 */ lwz r12, 0(r3) +/* 800B6F58 000B3EB8 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800B6F5C 000B3EBC 7D 89 03 A6 */ mtctr r12 +/* 800B6F60 000B3EC0 4E 80 04 21 */ bctrl +/* 800B6F64 000B3EC4 7C 03 00 D0 */ neg r0, r3 +/* 800B6F68 000B3EC8 7C 00 18 78 */ andc r0, r0, r3 +/* 800B6F6C 000B3ECC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800B6F70 000B3ED0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B6F74 000B3ED4 7C 08 03 A6 */ mtlr r0 +/* 800B6F78 000B3ED8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B6F7C 000B3EDC 4E 80 00 20 */ blr + +.global DestroyParticles__23CParticleGenInfoGenericFv +DestroyParticles__23CParticleGenInfoGenericFv: +/* 800B6F80 000B3EE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B6F84 000B3EE4 7C 08 02 A6 */ mflr r0 +/* 800B6F88 000B3EE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6F8C 000B3EEC 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B6F90 000B3EF0 80 63 00 00 */ lwz r3, 0(r3) +/* 800B6F94 000B3EF4 81 83 00 00 */ lwz r12, 0(r3) +/* 800B6F98 000B3EF8 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 800B6F9C 000B3EFC 7D 89 03 A6 */ mtctr r12 +/* 800B6FA0 000B3F00 4E 80 04 21 */ bctrl +/* 800B6FA4 000B3F04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B6FA8 000B3F08 7C 08 03 A6 */ mtlr r0 +/* 800B6FAC 000B3F0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B6FB0 000B3F10 4E 80 00 20 */ blr + +.global HasLight__23CParticleGenInfoGenericCFv +HasLight__23CParticleGenInfoGenericCFv: +/* 800B6FB4 000B3F14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B6FB8 000B3F18 7C 08 02 A6 */ mflr r0 +/* 800B6FBC 000B3F1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6FC0 000B3F20 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B6FC4 000B3F24 80 63 00 00 */ lwz r3, 0(r3) +/* 800B6FC8 000B3F28 81 83 00 00 */ lwz r12, 0(r3) +/* 800B6FCC 000B3F2C 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800B6FD0 000B3F30 7D 89 03 A6 */ mtctr r12 +/* 800B6FD4 000B3F34 4E 80 04 21 */ bctrl +/* 800B6FD8 000B3F38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B6FDC 000B3F3C 7C 08 03 A6 */ mtlr r0 +/* 800B6FE0 000B3F40 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B6FE4 000B3F44 4E 80 00 20 */ blr + +.global SetModulationColor__23CParticleGenInfoGenericFRC6CColor +SetModulationColor__23CParticleGenInfoGenericFRC6CColor: +/* 800B6FE8 000B3F48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B6FEC 000B3F4C 7C 08 02 A6 */ mflr r0 +/* 800B6FF0 000B3F50 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B6FF4 000B3F54 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B6FF8 000B3F58 80 63 00 00 */ lwz r3, 0(r3) +/* 800B6FFC 000B3F5C 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7000 000B3F60 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800B7004 000B3F64 7D 89 03 A6 */ mtctr r12 +/* 800B7008 000B3F68 4E 80 04 21 */ bctrl +/* 800B700C 000B3F6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7010 000B3F70 7C 08 03 A6 */ mtlr r0 +/* 800B7014 000B3F74 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7018 000B3F78 4E 80 00 20 */ blr + +.global GetLightId__23CParticleGenInfoGenericCFv +GetLightId__23CParticleGenInfoGenericCFv: +/* 800B701C 000B3F7C A0 04 00 88 */ lhz r0, 0x88(r4) +/* 800B7020 000B3F80 B0 03 00 00 */ sth r0, 0(r3) +/* 800B7024 000B3F84 4E 80 00 20 */ blr + +.global DeleteLight__23CParticleGenInfoGenericFR13CStateManager +DeleteLight__23CParticleGenInfoGenericFR13CStateManager: +/* 800B7028 000B3F88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B702C 000B3F8C 7C 08 02 A6 */ mflr r0 +/* 800B7030 000B3F90 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B7034 000B3F94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B7038 000B3F98 7C 7F 1B 78 */ mr r31, r3 +/* 800B703C 000B3F9C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B7040 000B3FA0 A0 63 00 88 */ lhz r3, 0x88(r3) +/* 800B7044 000B3FA4 7C 03 00 40 */ cmplw r3, r0 +/* 800B7048 000B3FA8 41 82 00 20 */ beq lbl_800B7068 +/* 800B704C 000B3FAC A0 1F 00 88 */ lhz r0, 0x88(r31) +/* 800B7050 000B3FB0 7C 83 23 78 */ mr r3, r4 +/* 800B7054 000B3FB4 38 81 00 08 */ addi r4, r1, 8 +/* 800B7058 000B3FB8 B0 01 00 08 */ sth r0, 8(r1) +/* 800B705C 000B3FBC 4B F9 52 11 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 800B7060 000B3FC0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B7064 000B3FC4 B0 1F 00 88 */ sth r0, 0x88(r31) +lbl_800B7068: +/* 800B7068 000B3FC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B706C 000B3FCC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B7070 000B3FD0 7C 08 03 A6 */ mtlr r0 +/* 800B7074 000B3FD4 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B7078 000B3FD8 4E 80 00 20 */ blr + +.global SetParticleEmission__23CParticleGenInfoGenericFbR13CStateManager +SetParticleEmission__23CParticleGenInfoGenericFbR13CStateManager: +/* 800B707C 000B3FDC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B7080 000B3FE0 7C 08 02 A6 */ mflr r0 +/* 800B7084 000B3FE4 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B7088 000B3FE8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800B708C 000B3FEC 7C BF 2B 78 */ mr r31, r5 +/* 800B7090 000B3FF0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800B7094 000B3FF4 7C 9E 23 78 */ mr r30, r4 +/* 800B7098 000B3FF8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800B709C 000B3FFC 7C 7D 1B 78 */ mr r29, r3 +/* 800B70A0 000B4000 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B70A4 000B4004 80 63 00 00 */ lwz r3, 0(r3) +/* 800B70A8 000B4008 81 83 00 00 */ lwz r12, 0(r3) +/* 800B70AC 000B400C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800B70B0 000B4010 7D 89 03 A6 */ mtctr r12 +/* 800B70B4 000B4014 4E 80 04 21 */ bctrl +/* 800B70B8 000B4018 A0 7D 00 88 */ lhz r3, 0x88(r29) +/* 800B70BC 000B401C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B70C0 000B4020 7C 03 00 40 */ cmplw r3, r0 +/* 800B70C4 000B4024 41 82 00 44 */ beq lbl_800B7108 +/* 800B70C8 000B4028 A0 1D 00 88 */ lhz r0, 0x88(r29) +/* 800B70CC 000B402C 7F E3 FB 78 */ mr r3, r31 +/* 800B70D0 000B4030 38 81 00 08 */ addi r4, r1, 8 +/* 800B70D4 000B4034 B0 01 00 08 */ sth r0, 8(r1) +/* 800B70D8 000B4038 4B F9 54 9D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B70DC 000B403C 7C 64 1B 78 */ mr r4, r3 +/* 800B70E0 000B4040 38 61 00 0C */ addi r3, r1, 0xc +/* 800B70E4 000B4044 4B FF 69 A1 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 800B70E8 000B4048 80 63 00 04 */ lwz r3, 4(r3) +/* 800B70EC 000B404C 28 03 00 00 */ cmplwi r3, 0 +/* 800B70F0 000B4050 41 82 00 18 */ beq lbl_800B7108 +/* 800B70F4 000B4054 81 83 00 00 */ lwz r12, 0(r3) +/* 800B70F8 000B4058 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 800B70FC 000B405C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800B7100 000B4060 7D 89 03 A6 */ mtctr r12 +/* 800B7104 000B4064 4E 80 04 21 */ bctrl +lbl_800B7108: +/* 800B7108 000B4068 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B710C 000B406C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800B7110 000B4070 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800B7114 000B4074 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800B7118 000B4078 7C 08 03 A6 */ mtlr r0 +/* 800B711C 000B407C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B7120 000B4080 4E 80 00 20 */ blr + +.global SetGlobalScale__23CParticleGenInfoGenericFRC9CVector3f +SetGlobalScale__23CParticleGenInfoGenericFRC9CVector3f: +/* 800B7124 000B4084 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7128 000B4088 7C 08 02 A6 */ mflr r0 +/* 800B712C 000B408C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B7130 000B4090 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B7134 000B4094 80 63 00 00 */ lwz r3, 0(r3) +/* 800B7138 000B4098 81 83 00 00 */ lwz r12, 0(r3) +/* 800B713C 000B409C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800B7140 000B40A0 7D 89 03 A6 */ mtctr r12 +/* 800B7144 000B40A4 4E 80 04 21 */ bctrl +/* 800B7148 000B40A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B714C 000B40AC 7C 08 03 A6 */ mtlr r0 +/* 800B7150 000B40B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7154 000B40B4 4E 80 00 20 */ blr + +.global SetGlobalTranslation__23CParticleGenInfoGenericFRC9CVector3fR13CStateManager +SetGlobalTranslation__23CParticleGenInfoGenericFRC9CVector3fR13CStateManager: +/* 800B7158 000B40B8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B715C 000B40BC 7C 08 02 A6 */ mflr r0 +/* 800B7160 000B40C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B7164 000B40C4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800B7168 000B40C8 7C BF 2B 78 */ mr r31, r5 +/* 800B716C 000B40CC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800B7170 000B40D0 7C 9E 23 78 */ mr r30, r4 +/* 800B7174 000B40D4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800B7178 000B40D8 7C 7D 1B 78 */ mr r29, r3 +/* 800B717C 000B40DC 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B7180 000B40E0 80 63 00 00 */ lwz r3, 0(r3) +/* 800B7184 000B40E4 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7188 000B40E8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800B718C 000B40EC 7D 89 03 A6 */ mtctr r12 +/* 800B7190 000B40F0 4E 80 04 21 */ bctrl +/* 800B7194 000B40F4 A0 7D 00 88 */ lhz r3, 0x88(r29) +/* 800B7198 000B40F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B719C 000B40FC 7C 03 00 40 */ cmplw r3, r0 +/* 800B71A0 000B4100 41 82 00 38 */ beq lbl_800B71D8 +/* 800B71A4 000B4104 A0 1D 00 88 */ lhz r0, 0x88(r29) +/* 800B71A8 000B4108 7F E3 FB 78 */ mr r3, r31 +/* 800B71AC 000B410C 38 81 00 08 */ addi r4, r1, 8 +/* 800B71B0 000B4110 B0 01 00 08 */ sth r0, 8(r1) +/* 800B71B4 000B4114 4B F9 53 C1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B71B8 000B4118 7C 64 1B 78 */ mr r4, r3 +/* 800B71BC 000B411C 38 61 00 0C */ addi r3, r1, 0xc +/* 800B71C0 000B4120 4B FF 68 C5 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 800B71C4 000B4124 80 63 00 04 */ lwz r3, 4(r3) +/* 800B71C8 000B4128 28 03 00 00 */ cmplwi r3, 0 +/* 800B71CC 000B412C 41 82 00 0C */ beq lbl_800B71D8 +/* 800B71D0 000B4130 7F C4 F3 78 */ mr r4, r30 +/* 800B71D4 000B4134 4B F9 BC B9 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_800B71D8: +/* 800B71D8 000B4138 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B71DC 000B413C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800B71E0 000B4140 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800B71E4 000B4144 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800B71E8 000B4148 7C 08 03 A6 */ mtlr r0 +/* 800B71EC 000B414C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B71F0 000B4150 4E 80 00 20 */ blr + +.global SetGlobalOrientation__23CParticleGenInfoGenericFRC12CTransform4fR13CStateManager +SetGlobalOrientation__23CParticleGenInfoGenericFRC12CTransform4fR13CStateManager: +/* 800B71F4 000B4154 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800B71F8 000B4158 7C 08 02 A6 */ mflr r0 +/* 800B71FC 000B415C 90 01 00 74 */ stw r0, 0x74(r1) +/* 800B7200 000B4160 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800B7204 000B4164 7C BF 2B 78 */ mr r31, r5 +/* 800B7208 000B4168 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800B720C 000B416C 7C 9E 23 78 */ mr r30, r4 +/* 800B7210 000B4170 93 A1 00 64 */ stw r29, 0x64(r1) +/* 800B7214 000B4174 7C 7D 1B 78 */ mr r29, r3 +/* 800B7218 000B4178 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B721C 000B417C 80 63 00 00 */ lwz r3, 0(r3) +/* 800B7220 000B4180 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7224 000B4184 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800B7228 000B4188 7D 89 03 A6 */ mtctr r12 +/* 800B722C 000B418C 4E 80 04 21 */ bctrl +/* 800B7230 000B4190 A0 7D 00 88 */ lhz r3, 0x88(r29) +/* 800B7234 000B4194 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B7238 000B4198 7C 03 00 40 */ cmplw r3, r0 +/* 800B723C 000B419C 41 82 00 98 */ beq lbl_800B72D4 +/* 800B7240 000B41A0 A0 1D 00 88 */ lhz r0, 0x88(r29) +/* 800B7244 000B41A4 7F E3 FB 78 */ mr r3, r31 +/* 800B7248 000B41A8 38 81 00 08 */ addi r4, r1, 8 +/* 800B724C 000B41AC B0 01 00 08 */ sth r0, 8(r1) +/* 800B7250 000B41B0 4B F9 53 25 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B7254 000B41B4 7C 64 1B 78 */ mr r4, r3 +/* 800B7258 000B41B8 38 61 00 0C */ addi r3, r1, 0xc +/* 800B725C 000B41BC 4B FF 68 29 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 800B7260 000B41C0 83 E3 00 04 */ lwz r31, 4(r3) +/* 800B7264 000B41C4 28 1F 00 00 */ cmplwi r31, 0 +/* 800B7268 000B41C8 41 82 00 6C */ beq lbl_800B72D4 +/* 800B726C 000B41CC 7F C4 F3 78 */ mr r4, r30 +/* 800B7270 000B41D0 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B7274 000B41D4 48 25 AE B5 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 800B7278 000B41D8 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 800B727C 000B41DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B7280 000B41E0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 800B7284 000B41E4 38 81 00 20 */ addi r4, r1, 0x20 +/* 800B7288 000B41E8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800B728C 000B41EC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800B7290 000B41F0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800B7294 000B41F4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800B7298 000B41F8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800B729C 000B41FC 48 25 AC 21 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 800B72A0 000B4200 38 7F 00 34 */ addi r3, r31, 0x34 +/* 800B72A4 000B4204 38 81 00 30 */ addi r4, r1, 0x30 +/* 800B72A8 000B4208 48 25 B8 99 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800B72AC 000B420C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800B72B0 000B4210 38 60 00 01 */ li r3, 1 +/* 800B72B4 000B4214 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800B72B8 000B4218 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800B72BC 000B421C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800B72C0 000B4220 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800B72C4 000B4224 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800B72C8 000B4228 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800B72CC 000B422C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800B72D0 000B4230 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_800B72D4: +/* 800B72D4 000B4234 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800B72D8 000B4238 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800B72DC 000B423C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800B72E0 000B4240 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800B72E4 000B4244 7C 08 03 A6 */ mtlr r0 +/* 800B72E8 000B4248 38 21 00 70 */ addi r1, r1, 0x70 +/* 800B72EC 000B424C 4E 80 00 20 */ blr + +.global SetTranslation__23CParticleGenInfoGenericFRC9CVector3fR13CStateManager +SetTranslation__23CParticleGenInfoGenericFRC9CVector3fR13CStateManager: +/* 800B72F0 000B4250 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B72F4 000B4254 7C 08 02 A6 */ mflr r0 +/* 800B72F8 000B4258 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B72FC 000B425C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800B7300 000B4260 7C BF 2B 78 */ mr r31, r5 +/* 800B7304 000B4264 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800B7308 000B4268 7C 9E 23 78 */ mr r30, r4 +/* 800B730C 000B426C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800B7310 000B4270 7C 7D 1B 78 */ mr r29, r3 +/* 800B7314 000B4274 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B7318 000B4278 80 63 00 00 */ lwz r3, 0(r3) +/* 800B731C 000B427C 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7320 000B4280 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800B7324 000B4284 7D 89 03 A6 */ mtctr r12 +/* 800B7328 000B4288 4E 80 04 21 */ bctrl +/* 800B732C 000B428C A0 7D 00 88 */ lhz r3, 0x88(r29) +/* 800B7330 000B4290 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B7334 000B4294 7C 03 00 40 */ cmplw r3, r0 +/* 800B7338 000B4298 41 82 00 38 */ beq lbl_800B7370 +/* 800B733C 000B429C A0 1D 00 88 */ lhz r0, 0x88(r29) +/* 800B7340 000B42A0 7F E3 FB 78 */ mr r3, r31 +/* 800B7344 000B42A4 38 81 00 08 */ addi r4, r1, 8 +/* 800B7348 000B42A8 B0 01 00 08 */ sth r0, 8(r1) +/* 800B734C 000B42AC 4B F9 52 29 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B7350 000B42B0 7C 64 1B 78 */ mr r4, r3 +/* 800B7354 000B42B4 38 61 00 0C */ addi r3, r1, 0xc +/* 800B7358 000B42B8 4B FF 67 2D */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 800B735C 000B42BC 80 63 00 04 */ lwz r3, 4(r3) +/* 800B7360 000B42C0 28 03 00 00 */ cmplwi r3, 0 +/* 800B7364 000B42C4 41 82 00 0C */ beq lbl_800B7370 +/* 800B7368 000B42C8 7F C4 F3 78 */ mr r4, r30 +/* 800B736C 000B42CC 4B F9 BB 21 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_800B7370: +/* 800B7370 000B42D0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B7374 000B42D4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800B7378 000B42D8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800B737C 000B42DC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800B7380 000B42E0 7C 08 03 A6 */ mtlr r0 +/* 800B7384 000B42E4 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B7388 000B42E8 4E 80 00 20 */ blr + +.global SetOrientation__23CParticleGenInfoGenericFRC12CTransform4fR13CStateManager +SetOrientation__23CParticleGenInfoGenericFRC12CTransform4fR13CStateManager: +/* 800B738C 000B42EC 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800B7390 000B42F0 7C 08 02 A6 */ mflr r0 +/* 800B7394 000B42F4 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800B7398 000B42F8 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 800B739C 000B42FC 7C BF 2B 78 */ mr r31, r5 +/* 800B73A0 000B4300 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 800B73A4 000B4304 7C 9E 23 78 */ mr r30, r4 +/* 800B73A8 000B4308 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 800B73AC 000B430C 7C 7D 1B 78 */ mr r29, r3 +/* 800B73B0 000B4310 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B73B4 000B4314 80 63 00 00 */ lwz r3, 0(r3) +/* 800B73B8 000B4318 81 83 00 00 */ lwz r12, 0(r3) +/* 800B73BC 000B431C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800B73C0 000B4320 7D 89 03 A6 */ mtctr r12 +/* 800B73C4 000B4324 4E 80 04 21 */ bctrl +/* 800B73C8 000B4328 A0 7D 00 88 */ lhz r3, 0x88(r29) +/* 800B73CC 000B432C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B73D0 000B4330 7C 03 00 40 */ cmplw r3, r0 +/* 800B73D4 000B4334 41 82 00 BC */ beq lbl_800B7490 +/* 800B73D8 000B4338 A0 1D 00 88 */ lhz r0, 0x88(r29) +/* 800B73DC 000B433C 7F E3 FB 78 */ mr r3, r31 +/* 800B73E0 000B4340 38 81 00 08 */ addi r4, r1, 8 +/* 800B73E4 000B4344 B0 01 00 08 */ sth r0, 8(r1) +/* 800B73E8 000B4348 4B F9 51 8D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B73EC 000B434C 7C 64 1B 78 */ mr r4, r3 +/* 800B73F0 000B4350 38 61 00 0C */ addi r3, r1, 0xc +/* 800B73F4 000B4354 4B FF 66 91 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 800B73F8 000B4358 83 E3 00 04 */ lwz r31, 4(r3) +/* 800B73FC 000B435C 28 1F 00 00 */ cmplwi r31, 0 +/* 800B7400 000B4360 41 82 00 90 */ beq lbl_800B7490 +/* 800B7404 000B4364 7F C4 F3 78 */ mr r4, r30 +/* 800B7408 000B4368 38 61 00 84 */ addi r3, r1, 0x84 +/* 800B740C 000B436C 48 25 BC E9 */ bl BuildMatrix3f__12CTransform4fCFv +/* 800B7410 000B4370 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800B7414 000B4374 38 81 00 84 */ addi r4, r1, 0x84 +/* 800B7418 000B4378 48 25 8C 0D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800B741C 000B437C 38 61 00 60 */ addi r3, r1, 0x60 +/* 800B7420 000B4380 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800B7424 000B4384 48 25 8E D5 */ bl Orthonormalized__9CMatrix3fCFv +/* 800B7428 000B4388 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B742C 000B438C 38 81 00 60 */ addi r4, r1, 0x60 +/* 800B7430 000B4390 48 25 AD 51 */ bl FromMatrix__11CQuaternionFRC9CMatrix3f +/* 800B7434 000B4394 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 800B7438 000B4398 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B743C 000B439C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 800B7440 000B43A0 38 81 00 20 */ addi r4, r1, 0x20 +/* 800B7444 000B43A4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800B7448 000B43A8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800B744C 000B43AC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800B7450 000B43B0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800B7454 000B43B4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800B7458 000B43B8 48 25 AA 65 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 800B745C 000B43BC 38 7F 00 34 */ addi r3, r31, 0x34 +/* 800B7460 000B43C0 38 81 00 30 */ addi r4, r1, 0x30 +/* 800B7464 000B43C4 48 25 B6 DD */ bl __as__12CTransform4fFRC12CTransform4f +/* 800B7468 000B43C8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800B746C 000B43CC 38 60 00 01 */ li r3, 1 +/* 800B7470 000B43D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800B7474 000B43D4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800B7478 000B43D8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800B747C 000B43DC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800B7480 000B43E0 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800B7484 000B43E4 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800B7488 000B43E8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800B748C 000B43EC 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_800B7490: +/* 800B7490 000B43F0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800B7494 000B43F4 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 800B7498 000B43F8 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 800B749C 000B43FC 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 800B74A0 000B4400 7C 08 03 A6 */ mtlr r0 +/* 800B74A4 000B4404 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800B74A8 000B4408 4E 80 00 20 */ blr + +.global Update__23CParticleGenInfoGenericFfR13CStateManager +Update__23CParticleGenInfoGenericFfR13CStateManager: +/* 800B74AC 000B440C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800B74B0 000B4410 7C 08 02 A6 */ mflr r0 +/* 800B74B4 000B4414 90 01 00 74 */ stw r0, 0x74(r1) +/* 800B74B8 000B4418 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800B74BC 000B441C 7C 9F 23 78 */ mr r31, r4 +/* 800B74C0 000B4420 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800B74C4 000B4424 7C 7E 1B 78 */ mr r30, r3 +/* 800B74C8 000B4428 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B74CC 000B442C 80 63 00 00 */ lwz r3, 0(r3) +/* 800B74D0 000B4430 81 83 00 00 */ lwz r12, 0(r3) +/* 800B74D4 000B4434 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800B74D8 000B4438 7D 89 03 A6 */ mtctr r12 +/* 800B74DC 000B443C 4E 80 04 21 */ bctrl +/* 800B74E0 000B4440 A0 7E 00 88 */ lhz r3, 0x88(r30) +/* 800B74E4 000B4444 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B74E8 000B4448 7C 03 00 40 */ cmplw r3, r0 +/* 800B74EC 000B444C 41 82 00 58 */ beq lbl_800B7544 +/* 800B74F0 000B4450 A0 1E 00 88 */ lhz r0, 0x88(r30) +/* 800B74F4 000B4454 7F E3 FB 78 */ mr r3, r31 +/* 800B74F8 000B4458 38 81 00 08 */ addi r4, r1, 8 +/* 800B74FC 000B445C B0 01 00 08 */ sth r0, 8(r1) +/* 800B7500 000B4460 4B F9 50 75 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800B7504 000B4464 7C 64 1B 78 */ mr r4, r3 +/* 800B7508 000B4468 38 61 00 0C */ addi r3, r1, 0xc +/* 800B750C 000B446C 4B FF 65 79 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 800B7510 000B4470 83 E3 00 04 */ lwz r31, 4(r3) +/* 800B7514 000B4474 28 1F 00 00 */ cmplwi r31, 0 +/* 800B7518 000B4478 41 82 00 2C */ beq lbl_800B7544 +/* 800B751C 000B447C 80 9E 00 84 */ lwz r4, 0x84(r30) +/* 800B7520 000B4480 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B7524 000B4484 80 84 00 00 */ lwz r4, 0(r4) +/* 800B7528 000B4488 81 84 00 00 */ lwz r12, 0(r4) +/* 800B752C 000B448C 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800B7530 000B4490 7D 89 03 A6 */ mtctr r12 +/* 800B7534 000B4494 4E 80 04 21 */ bctrl +/* 800B7538 000B4498 7F E3 FB 78 */ mr r3, r31 +/* 800B753C 000B449C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800B7540 000B44A0 4B FF E2 05 */ bl SetLight__10CGameLightFRC6CLight +lbl_800B7544: +/* 800B7544 000B44A4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800B7548 000B44A8 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800B754C 000B44AC 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800B7550 000B44B0 7C 08 03 A6 */ mtlr r0 +/* 800B7554 000B44B4 38 21 00 70 */ addi r1, r1, 0x70 +/* 800B7558 000B44B8 4E 80 00 20 */ blr + +.global Render__23CParticleGenInfoGenericFv +Render__23CParticleGenInfoGenericFv: +/* 800B755C 000B44BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7560 000B44C0 7C 08 02 A6 */ mflr r0 +/* 800B7564 000B44C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B7568 000B44C8 80 63 00 84 */ lwz r3, 0x84(r3) +/* 800B756C 000B44CC 80 63 00 00 */ lwz r3, 0(r3) +/* 800B7570 000B44D0 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7574 000B44D4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800B7578 000B44D8 7D 89 03 A6 */ mtctr r12 +/* 800B757C 000B44DC 4E 80 04 21 */ bctrl +/* 800B7580 000B44E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7584 000B44E4 7C 08 03 A6 */ mtlr r0 +/* 800B7588 000B44E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B758C 000B44EC 4E 80 00 20 */ blr + +.global AddToRenderer__23CParticleGenInfoGenericFv +AddToRenderer__23CParticleGenInfoGenericFv: +/* 800B7590 000B44F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7594 000B44F4 7C 08 02 A6 */ mflr r0 +/* 800B7598 000B44F8 7C 64 1B 78 */ mr r4, r3 +/* 800B759C 000B44FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B75A0 000B4500 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800B75A4 000B4504 80 84 00 84 */ lwz r4, 0x84(r4) +/* 800B75A8 000B4508 81 83 00 00 */ lwz r12, 0(r3) +/* 800B75AC 000B450C 80 84 00 00 */ lwz r4, 0(r4) +/* 800B75B0 000B4510 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800B75B4 000B4514 7D 89 03 A6 */ mtctr r12 +/* 800B75B8 000B4518 4E 80 04 21 */ bctrl +/* 800B75BC 000B451C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B75C0 000B4520 7C 08 03 A6 */ mtlr r0 +/* 800B75C4 000B4524 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B75C8 000B4528 4E 80 00 20 */ blr + +.global __dt__23CParticleGenInfoGenericFv +__dt__23CParticleGenInfoGenericFv: +/* 800B75CC 000B452C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B75D0 000B4530 7C 08 02 A6 */ mflr r0 +/* 800B75D4 000B4534 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B75D8 000B4538 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B75DC 000B453C 7C 9F 23 78 */ mr r31, r4 +/* 800B75E0 000B4540 93 C1 00 08 */ stw r30, 8(r1) +/* 800B75E4 000B4544 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800B75E8 000B4548 41 82 00 5C */ beq lbl_800B7644 +/* 800B75EC 000B454C 3C 60 80 3E */ lis r3, lbl_803DF448@ha +/* 800B75F0 000B4550 34 1E 00 84 */ addic. r0, r30, 0x84 +/* 800B75F4 000B4554 38 03 F4 48 */ addi r0, r3, lbl_803DF448@l +/* 800B75F8 000B4558 90 1E 00 00 */ stw r0, 0(r30) +/* 800B75FC 000B455C 41 82 00 14 */ beq lbl_800B7610 +/* 800B7600 000B4560 34 1E 00 84 */ addic. r0, r30, 0x84 +/* 800B7604 000B4564 41 82 00 0C */ beq lbl_800B7610 +/* 800B7608 000B4568 38 7E 00 84 */ addi r3, r30, 0x84 +/* 800B760C 000B456C 48 00 03 F5 */ bl sub_800b7a00 +lbl_800B7610: +/* 800B7610 000B4570 28 1E 00 00 */ cmplwi r30, 0 +/* 800B7614 000B4574 41 82 00 20 */ beq lbl_800B7634 +/* 800B7618 000B4578 3C 60 80 3E */ lis r3, lbl_803DF498@ha +/* 800B761C 000B457C 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 800B7620 000B4580 38 03 F4 98 */ addi r0, r3, lbl_803DF498@l +/* 800B7624 000B4584 90 1E 00 00 */ stw r0, 0(r30) +/* 800B7628 000B4588 41 82 00 0C */ beq lbl_800B7634 +/* 800B762C 000B458C 38 7E 00 10 */ addi r3, r30, 0x10 +/* 800B7630 000B4590 48 28 64 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800B7634: +/* 800B7634 000B4594 7F E0 07 35 */ extsh. r0, r31 +/* 800B7638 000B4598 40 81 00 0C */ ble lbl_800B7644 +/* 800B763C 000B459C 7F C3 F3 78 */ mr r3, r30 +/* 800B7640 000B45A0 48 25 E2 F1 */ bl Free__7CMemoryFPCv +lbl_800B7644: +/* 800B7644 000B45A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7648 000B45A8 7F C3 F3 78 */ mr r3, r30 +/* 800B764C 000B45AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B7650 000B45B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B7654 000B45B4 7C 08 03 A6 */ mtlr r0 +/* 800B7658 000B45B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B765C 000B45BC 4E 80 00 20 */ blr + +.global "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" +"__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri": +/* 800B7660 000B45C0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B7664 000B45C4 7C 08 02 A6 */ mflr r0 +/* 800B7668 000B45C8 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B766C 000B45CC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800B7670 000B45D0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800B7674 000B45D4 7C BC 2B 78 */ mr r28, r5 +/* 800B7678 000B45D8 7C C5 33 78 */ mr r5, r6 +/* 800B767C 000B45DC 7C E6 3B 78 */ mr r6, r7 +/* 800B7680 000B45E0 7D 07 43 78 */ mr r7, r8 +/* 800B7684 000B45E4 7D 28 4B 78 */ mr r8, r9 +/* 800B7688 000B45E8 7D 49 53 78 */ mr r9, r10 +/* 800B768C 000B45EC 83 A1 00 38 */ lwz r29, 0x38(r1) +/* 800B7690 000B45F0 83 C1 00 3C */ lwz r30, 0x3c(r1) +/* 800B7694 000B45F4 7C 7B 1B 78 */ mr r27, r3 +/* 800B7698 000B45F8 83 E1 00 40 */ lwz r31, 0x40(r1) +/* 800B769C 000B45FC 7C 0A 03 78 */ mr r10, r0 +/* 800B76A0 000B4600 48 00 02 79 */ bl "__ct__16CParticleGenInfoFRC10SObjectTagiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC9CVector3fQ213CParticleData13EParentedModei" +/* 800B76A4 000B4604 3C 60 80 3E */ lis r3, lbl_803DF448@ha +/* 800B76A8 000B4608 3C 1F 00 01 */ addis r0, r31, 1 +/* 800B76AC 000B460C 38 63 F4 48 */ addi r3, r3, lbl_803DF448@l +/* 800B76B0 000B4610 90 7B 00 00 */ stw r3, 0(r27) +/* 800B76B4 000B4614 28 00 FF FF */ cmplwi r0, 0xffff +/* 800B76B8 000B4618 80 1C 00 00 */ lwz r0, 0(r28) +/* 800B76BC 000B461C 90 1B 00 84 */ stw r0, 0x84(r27) +/* 800B76C0 000B4620 80 9B 00 84 */ lwz r4, 0x84(r27) +/* 800B76C4 000B4624 80 64 00 04 */ lwz r3, 4(r4) +/* 800B76C8 000B4628 38 03 00 01 */ addi r0, r3, 1 +/* 800B76CC 000B462C 90 04 00 04 */ stw r0, 4(r4) +/* 800B76D0 000B4630 40 82 00 0C */ bne lbl_800B76DC +/* 800B76D4 000B4634 38 6D A3 8C */ addi r3, r13, lbl_805A8F4C@sda21 +/* 800B76D8 000B4638 48 00 00 28 */ b lbl_800B7700 +lbl_800B76DC: +/* 800B76DC 000B463C 80 1E 00 00 */ lwz r0, 0(r30) +/* 800B76E0 000B4640 7F 84 E3 78 */ mr r4, r28 +/* 800B76E4 000B4644 7F A5 EB 78 */ mr r5, r29 +/* 800B76E8 000B4648 7F E7 FB 78 */ mr r7, r31 +/* 800B76EC 000B464C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800B76F0 000B4650 38 61 00 08 */ addi r3, r1, 8 +/* 800B76F4 000B4654 38 C1 00 0C */ addi r6, r1, 0xc +/* 800B76F8 000B4658 48 00 00 91 */ bl "_initializeLight__FRCQ24rstl24ncrc_ptr<12CParticleGen>R13CStateManageri" +/* 800B76FC 000B465C 38 61 00 08 */ addi r3, r1, 8 +lbl_800B7700: +/* 800B7700 000B4660 A0 03 00 00 */ lhz r0, 0(r3) +/* 800B7704 000B4664 7F 63 DB 78 */ mr r3, r27 +/* 800B7708 000B4668 B0 1B 00 88 */ sth r0, 0x88(r27) +/* 800B770C 000B466C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 800B7710 000B4670 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B7714 000B4674 7C 08 03 A6 */ mtlr r0 +/* 800B7718 000B4678 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B771C 000B467C 4E 80 00 20 */ blr + +.global __dt__16CParticleGenInfoFv +__dt__16CParticleGenInfoFv: +/* 800B7720 000B4680 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7724 000B4684 7C 08 02 A6 */ mflr r0 +/* 800B7728 000B4688 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B772C 000B468C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B7730 000B4690 7C 9F 23 78 */ mr r31, r4 +/* 800B7734 000B4694 93 C1 00 08 */ stw r30, 8(r1) +/* 800B7738 000B4698 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800B773C 000B469C 41 82 00 30 */ beq lbl_800B776C +/* 800B7740 000B46A0 3C 60 80 3E */ lis r3, lbl_803DF498@ha +/* 800B7744 000B46A4 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 800B7748 000B46A8 38 03 F4 98 */ addi r0, r3, lbl_803DF498@l +/* 800B774C 000B46AC 90 1E 00 00 */ stw r0, 0(r30) +/* 800B7750 000B46B0 41 82 00 0C */ beq lbl_800B775C +/* 800B7754 000B46B4 38 7E 00 10 */ addi r3, r30, 0x10 +/* 800B7758 000B46B8 48 28 63 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800B775C: +/* 800B775C 000B46BC 7F E0 07 35 */ extsh. r0, r31 +/* 800B7760 000B46C0 40 81 00 0C */ ble lbl_800B776C +/* 800B7764 000B46C4 7F C3 F3 78 */ mr r3, r30 +/* 800B7768 000B46C8 48 25 E1 C9 */ bl Free__7CMemoryFPCv +lbl_800B776C: +/* 800B776C 000B46CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7770 000B46D0 7F C3 F3 78 */ mr r3, r30 +/* 800B7774 000B46D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B7778 000B46D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B777C 000B46DC 7C 08 03 A6 */ mtlr r0 +/* 800B7780 000B46E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7784 000B46E4 4E 80 00 20 */ blr + +.global "_initializeLight__FRCQ24rstl24ncrc_ptr<12CParticleGen>R13CStateManageri" +"_initializeLight__FRCQ24rstl24ncrc_ptr<12CParticleGen>R13CStateManageri": +/* 800B7788 000B46E8 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 800B778C 000B46EC 7C 08 02 A6 */ mflr r0 +/* 800B7790 000B46F0 90 01 01 04 */ stw r0, 0x104(r1) +/* 800B7794 000B46F4 BF 21 00 E4 */ stmw r25, 0xe4(r1) +/* 800B7798 000B46F8 7C 7C 1B 78 */ mr r28, r3 +/* 800B779C 000B46FC 7C 99 23 78 */ mr r25, r4 +/* 800B77A0 000B4700 7C BD 2B 78 */ mr r29, r5 +/* 800B77A4 000B4704 7C DE 33 78 */ mr r30, r6 +/* 800B77A8 000B4708 7C FF 3B 78 */ mr r31, r7 +/* 800B77AC 000B470C 80 64 00 00 */ lwz r3, 0(r4) +/* 800B77B0 000B4710 80 63 00 00 */ lwz r3, 0(r3) +/* 800B77B4 000B4714 81 83 00 00 */ lwz r12, 0(r3) +/* 800B77B8 000B4718 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800B77BC 000B471C 7D 89 03 A6 */ mtctr r12 +/* 800B77C0 000B4720 4E 80 04 21 */ bctrl +/* 800B77C4 000B4724 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B77C8 000B4728 41 82 01 34 */ beq lbl_800B78FC +/* 800B77CC 000B472C 7F A4 EB 78 */ mr r4, r29 +/* 800B77D0 000B4730 38 61 00 18 */ addi r3, r1, 0x18 +/* 800B77D4 000B4734 4B F9 59 09 */ bl AllocateUniqueId__13CStateManagerFv +/* 800B77D8 000B4738 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800B77DC 000B473C 3C 60 80 3D */ lis r3, lbl_803CDE88@ha +/* 800B77E0 000B4740 38 83 DE 88 */ addi r4, r3, lbl_803CDE88@l +/* 800B77E4 000B4744 3B 60 00 00 */ li r27, 0 +/* 800B77E8 000B4748 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800B77EC 000B474C 38 60 01 48 */ li r3, 0x148 +/* 800B77F0 000B4750 38 A0 00 00 */ li r5, 0 +/* 800B77F4 000B4754 48 25 E0 79 */ bl __nw__FUlPCcPCc +/* 800B77F8 000B4758 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800B77FC 000B475C 41 82 00 D8 */ beq lbl_800B78D4 +/* 800B7800 000B4760 80 B9 00 00 */ lwz r5, 0(r25) +/* 800B7804 000B4764 3C 60 80 3D */ lis r3, lbl_803CDE88@ha +/* 800B7808 000B4768 38 83 DE 88 */ addi r4, r3, lbl_803CDE88@l +/* 800B780C 000B476C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B7810 000B4770 83 65 00 00 */ lwz r27, 0(r5) +/* 800B7814 000B4774 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B7818 000B4778 38 84 00 07 */ addi r4, r4, 7 +/* 800B781C 000B477C B0 01 00 14 */ sth r0, 0x14(r1) +/* 800B7820 000B4780 83 25 00 00 */ lwz r25, 0(r5) +/* 800B7824 000B4784 4B F4 D4 95 */ bl string_l__4rstlFPCc +/* 800B7828 000B4788 80 BE 00 00 */ lwz r5, 0(r30) +/* 800B782C 000B478C 7F 64 DB 78 */ mr r4, r27 +/* 800B7830 000B4790 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 800B7834 000B4794 38 61 00 88 */ addi r3, r1, 0x88 +/* 800B7838 000B4798 90 A1 00 20 */ stw r5, 0x20(r1) +/* 800B783C 000B479C 3B 60 00 01 */ li r27, 1 +/* 800B7840 000B47A0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800B7844 000B47A4 81 84 00 00 */ lwz r12, 0(r4) +/* 800B7848 000B47A8 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800B784C 000B47AC 7D 89 03 A6 */ mtctr r12 +/* 800B7850 000B47B0 4E 80 04 21 */ bctrl +/* 800B7854 000B47B4 7F 23 CB 78 */ mr r3, r25 +/* 800B7858 000B47B8 81 99 00 00 */ lwz r12, 0(r25) +/* 800B785C 000B47BC 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 800B7860 000B47C0 7D 89 03 A6 */ mtctr r12 +/* 800B7864 000B47C4 4E 80 04 21 */ bctrl +/* 800B7868 000B47C8 7C 7E 1B 78 */ mr r30, r3 +/* 800B786C 000B47CC 7F 23 CB 78 */ mr r3, r25 +/* 800B7870 000B47D0 81 99 00 00 */ lwz r12, 0(r25) +/* 800B7874 000B47D4 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 800B7878 000B47D8 7D 89 03 A6 */ mtctr r12 +/* 800B787C 000B47DC 4E 80 04 21 */ bctrl +/* 800B7880 000B47E0 7C 64 1B 78 */ mr r4, r3 +/* 800B7884 000B47E4 38 61 00 64 */ addi r3, r1, 0x64 +/* 800B7888 000B47E8 48 25 B8 6D */ bl BuildMatrix3f__12CTransform4fCFv +/* 800B788C 000B47EC 7F C5 F3 78 */ mr r5, r30 +/* 800B7890 000B47F0 38 61 00 34 */ addi r3, r1, 0x34 +/* 800B7894 000B47F4 38 81 00 64 */ addi r4, r1, 0x64 +/* 800B7898 000B47F8 48 25 B9 E1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800B789C 000B47FC 93 E1 00 08 */ stw r31, 8(r1) +/* 800B78A0 000B4800 38 00 00 00 */ li r0, 0 +/* 800B78A4 000B4804 7C 68 1B 78 */ mr r8, r3 +/* 800B78A8 000B4808 C0 22 8D 10 */ lfs f1, lbl_805AAA30@sda21(r2) +/* 800B78AC 000B480C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800B78B0 000B4810 7F 43 D3 78 */ mr r3, r26 +/* 800B78B4 000B4814 38 81 00 10 */ addi r4, r1, 0x10 +/* 800B78B8 000B4818 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800B78BC 000B481C 38 E1 00 24 */ addi r7, r1, 0x24 +/* 800B78C0 000B4820 39 21 00 14 */ addi r9, r1, 0x14 +/* 800B78C4 000B4824 39 41 00 88 */ addi r10, r1, 0x88 +/* 800B78C8 000B4828 38 C0 00 00 */ li r6, 0 +/* 800B78CC 000B482C 4B FF DF 59 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +/* 800B78D0 000B4830 7C 7A 1B 78 */ mr r26, r3 +lbl_800B78D4: +/* 800B78D4 000B4834 7F A3 EB 78 */ mr r3, r29 +/* 800B78D8 000B4838 7F 44 D3 78 */ mr r4, r26 +/* 800B78DC 000B483C 4B F9 54 19 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 800B78E0 000B4840 7F 60 07 75 */ extsb. r0, r27 +/* 800B78E4 000B4844 41 82 00 0C */ beq lbl_800B78F0 +/* 800B78E8 000B4848 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B78EC 000B484C 48 28 61 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800B78F0: +/* 800B78F0 000B4850 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 800B78F4 000B4854 B0 1C 00 00 */ sth r0, 0(r28) +/* 800B78F8 000B4858 48 00 00 0C */ b lbl_800B7904 +lbl_800B78FC: +/* 800B78FC 000B485C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800B7900 000B4860 B0 1C 00 00 */ sth r0, 0(r28) +lbl_800B7904: +/* 800B7904 000B4864 BB 21 00 E4 */ lmw r25, 0xe4(r1) +/* 800B7908 000B4868 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800B790C 000B486C 7C 08 03 A6 */ mtlr r0 +/* 800B7910 000B4870 38 21 01 00 */ addi r1, r1, 0x100 +/* 800B7914 000B4874 4E 80 00 20 */ blr + +.global "__ct__16CParticleGenInfoFRC10SObjectTagiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC9CVector3fQ213CParticleData13EParentedModei" +"__ct__16CParticleGenInfoFRC10SObjectTagiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC9CVector3fQ213CParticleData13EParentedModei": +/* 800B7918 000B4878 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B791C 000B487C 7C 08 02 A6 */ mflr r0 +/* 800B7920 000B4880 3D 60 80 3E */ lis r11, lbl_803DF498@ha +/* 800B7924 000B4884 C8 22 8D 18 */ lfd f1, lbl_805AAA38@sda21(r2) +/* 800B7928 000B4888 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B792C 000B488C 3C 00 43 30 */ lis r0, 0x4330 +/* 800B7930 000B4890 39 6B F4 98 */ addi r11, r11, lbl_803DF498@l +/* 800B7934 000B4894 C0 42 8D 14 */ lfs f2, lbl_805AAA34@sda21(r2) +/* 800B7938 000B4898 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800B793C 000B489C 7C 7B 1B 78 */ mr r27, r3 +/* 800B7940 000B48A0 6C A3 80 00 */ xoris r3, r5, 0x8000 +/* 800B7944 000B48A4 7C FC 3B 78 */ mr r28, r7 +/* 800B7948 000B48A8 90 61 00 0C */ stw r3, 0xc(r1) +/* 800B794C 000B48AC 7D 1D 43 78 */ mr r29, r8 +/* 800B7950 000B48B0 7D 3E 4B 78 */ mr r30, r9 +/* 800B7954 000B48B4 7D 5F 53 78 */ mr r31, r10 +/* 800B7958 000B48B8 90 01 00 08 */ stw r0, 8(r1) +/* 800B795C 000B48BC 38 7B 00 10 */ addi r3, r27, 0x10 +/* 800B7960 000B48C0 C8 01 00 08 */ lfd f0, 8(r1) +/* 800B7964 000B48C4 91 7B 00 00 */ stw r11, 0(r27) +/* 800B7968 000B48C8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800B796C 000B48CC 80 A4 00 00 */ lwz r5, 0(r4) +/* 800B7970 000B48D0 90 BB 00 04 */ stw r5, 4(r27) +/* 800B7974 000B48D4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800B7978 000B48D8 80 04 00 04 */ lwz r0, 4(r4) +/* 800B797C 000B48DC 7C C4 33 78 */ mr r4, r6 +/* 800B7980 000B48E0 90 1B 00 08 */ stw r0, 8(r27) +/* 800B7984 000B48E4 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 800B7988 000B48E8 48 28 67 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800B798C 000B48EC C0 22 8D 10 */ lfs f1, lbl_805AAA30@sda21(r2) +/* 800B7990 000B48F0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800B7994 000B48F4 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800B7998 000B48F8 38 00 00 00 */ li r0, 0 +/* 800B799C 000B48FC D0 3B 00 20 */ stfs f1, 0x20(r27) +/* 800B79A0 000B4900 38 7B 00 44 */ addi r3, r27, 0x44 +/* 800B79A4 000B4904 98 1B 00 24 */ stb r0, 0x24(r27) +/* 800B79A8 000B4908 93 BB 00 28 */ stw r29, 0x28(r27) +/* 800B79AC 000B490C 93 DB 00 2C */ stw r30, 0x2c(r27) +/* 800B79B0 000B4910 C0 1C 00 00 */ lfs f0, 0(r28) +/* 800B79B4 000B4914 D0 1B 00 30 */ stfs f0, 0x30(r27) +/* 800B79B8 000B4918 C0 1C 00 04 */ lfs f0, 4(r28) +/* 800B79BC 000B491C D0 1B 00 34 */ stfs f0, 0x34(r27) +/* 800B79C0 000B4920 C0 1C 00 08 */ lfs f0, 8(r28) +/* 800B79C4 000B4924 D0 1B 00 38 */ stfs f0, 0x38(r27) +/* 800B79C8 000B4928 D0 3B 00 3C */ stfs f1, 0x3c(r27) +/* 800B79CC 000B492C 98 1B 00 40 */ stb r0, 0x40(r27) +/* 800B79D0 000B4930 48 25 B1 A5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B79D4 000B4934 C0 02 8D 10 */ lfs f0, lbl_805AAA30@sda21(r2) +/* 800B79D8 000B4938 7F 63 DB 78 */ mr r3, r27 +/* 800B79DC 000B493C D0 1B 00 74 */ stfs f0, 0x74(r27) +/* 800B79E0 000B4940 D0 1B 00 78 */ stfs f0, 0x78(r27) +/* 800B79E4 000B4944 D0 1B 00 7C */ stfs f0, 0x7c(r27) +/* 800B79E8 000B4948 93 FB 00 80 */ stw r31, 0x80(r27) +/* 800B79EC 000B494C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 800B79F0 000B4950 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B79F4 000B4954 7C 08 03 A6 */ mtlr r0 +/* 800B79F8 000B4958 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B79FC 000B495C 4E 80 00 20 */ blr + +.global sub_800b7a00 +sub_800b7a00: +/* 800B7A00 000B4960 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7A04 000B4964 7C 08 02 A6 */ mflr r0 +/* 800B7A08 000B4968 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B7A0C 000B496C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B7A10 000B4970 7C 7F 1B 78 */ mr r31, r3 +/* 800B7A14 000B4974 80 83 00 00 */ lwz r4, 0(r3) +/* 800B7A18 000B4978 80 64 00 04 */ lwz r3, 4(r4) +/* 800B7A1C 000B497C 34 03 FF FF */ addic. r0, r3, -1 +/* 800B7A20 000B4980 90 04 00 04 */ stw r0, 4(r4) +/* 800B7A24 000B4984 41 81 00 38 */ bgt lbl_800B7A5C +/* 800B7A28 000B4988 80 7F 00 00 */ lwz r3, 0(r31) +/* 800B7A2C 000B498C 80 63 00 00 */ lwz r3, 0(r3) +/* 800B7A30 000B4990 28 03 00 00 */ cmplwi r3, 0 +/* 800B7A34 000B4994 41 82 00 18 */ beq lbl_800B7A4C +/* 800B7A38 000B4998 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7A3C 000B499C 38 80 00 01 */ li r4, 1 +/* 800B7A40 000B49A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B7A44 000B49A4 7D 89 03 A6 */ mtctr r12 +/* 800B7A48 000B49A8 4E 80 04 21 */ bctrl +lbl_800B7A4C: +/* 800B7A4C 000B49AC 80 7F 00 00 */ lwz r3, 0(r31) +/* 800B7A50 000B49B0 28 03 00 00 */ cmplwi r3, 0 +/* 800B7A54 000B49B4 41 82 00 08 */ beq lbl_800B7A5C +/* 800B7A58 000B49B8 48 25 DE D9 */ bl Free__7CMemoryFPCv +lbl_800B7A5C: +/* 800B7A5C 000B49BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7A60 000B49C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B7A64 000B49C4 7C 08 03 A6 */ mtlr r0 +/* 800B7A68 000B49C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7A6C 000B49CC 4E 80 00 20 */ blr + +.global "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +"SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>": +/* 800B7A70 000B49D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B7A74 000B49D4 7C 08 02 A6 */ mflr r0 +/* 800B7A78 000B49D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B7A7C 000B49DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B7A80 000B49E0 3B E0 00 00 */ li r31, 0 +/* 800B7A84 000B49E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B7A88 000B49E8 3B C4 00 08 */ addi r30, r4, 8 +/* 800B7A8C 000B49EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B7A90 000B49F0 93 81 00 10 */ stw r28, 0x10(r1) +/* 800B7A94 000B49F4 7C 7C 1B 78 */ mr r28, r3 +/* 800B7A98 000B49F8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800B7A9C 000B49FC 83 A4 00 08 */ lwz r29, 8(r4) +/* 800B7AA0 000B4A00 93 E1 00 08 */ stw r31, 8(r1) +/* 800B7AA4 000B4A04 48 00 00 34 */ b lbl_800B7AD8 +lbl_800B7AA8: +/* 800B7AA8 000B4A08 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 800B7AAC 000B4A0C 28 03 00 00 */ cmplwi r3, 0 +/* 800B7AB0 000B4A10 41 82 00 18 */ beq lbl_800B7AC8 +/* 800B7AB4 000B4A14 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7AB8 000B4A18 7F 84 E3 78 */ mr r4, r28 +/* 800B7ABC 000B4A1C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800B7AC0 000B4A20 7D 89 03 A6 */ mtctr r12 +/* 800B7AC4 000B4A24 4E 80 04 21 */ bctrl +lbl_800B7AC8: +/* 800B7AC8 000B4A28 7F C3 F3 78 */ mr r3, r30 +/* 800B7ACC 000B4A2C 7F A4 EB 78 */ mr r4, r29 +/* 800B7AD0 000B4A30 48 28 4B 11 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B7AD4 000B4A34 7C 7D 1B 78 */ mr r29, r3 +lbl_800B7AD8: +/* 800B7AD8 000B4A38 7C 1D F8 40 */ cmplw r29, r31 +/* 800B7ADC 000B4A3C 38 00 00 00 */ li r0, 0 +/* 800B7AE0 000B4A40 40 82 00 0C */ bne lbl_800B7AEC +/* 800B7AE4 000B4A44 7C 1E F0 40 */ cmplw r30, r30 +/* 800B7AE8 000B4A48 41 82 00 08 */ beq lbl_800B7AF0 +lbl_800B7AEC: +/* 800B7AEC 000B4A4C 38 00 00 01 */ li r0, 1 +lbl_800B7AF0: +/* 800B7AF0 000B4A50 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B7AF4 000B4A54 40 82 FF B4 */ bne lbl_800B7AA8 +/* 800B7AF8 000B4A58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B7AFC 000B4A5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B7B00 000B4A60 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B7B04 000B4A64 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B7B08 000B4A68 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800B7B0C 000B4A6C 7C 08 03 A6 */ mtlr r0 +/* 800B7B10 000B4A70 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B7B14 000B4A74 4E 80 00 20 */ blr + +.global SetModulationColorAllActiveEffects__17CParticleDatabaseFRC6CColor +SetModulationColorAllActiveEffects__17CParticleDatabaseFRC6CColor: +/* 800B7B18 000B4A78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7B1C 000B4A7C 7C 08 02 A6 */ mflr r0 +/* 800B7B20 000B4A80 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B7B24 000B4A84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B7B28 000B4A88 7C 9F 23 78 */ mr r31, r4 +/* 800B7B2C 000B4A8C 93 C1 00 08 */ stw r30, 8(r1) +/* 800B7B30 000B4A90 7C 7E 1B 78 */ mr r30, r3 +/* 800B7B34 000B4A94 7F E3 FB 78 */ mr r3, r31 +/* 800B7B38 000B4A98 38 9E 00 3C */ addi r4, r30, 0x3c +/* 800B7B3C 000B4A9C 4B FF FF 35 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7B40 000B4AA0 7F E3 FB 78 */ mr r3, r31 +/* 800B7B44 000B4AA4 38 9E 00 50 */ addi r4, r30, 0x50 +/* 800B7B48 000B4AA8 4B FF FF 29 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7B4C 000B4AAC 7F E3 FB 78 */ mr r3, r31 +/* 800B7B50 000B4AB0 38 9E 00 64 */ addi r4, r30, 0x64 +/* 800B7B54 000B4AB4 4B FF FF 1D */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7B58 000B4AB8 7F E3 FB 78 */ mr r3, r31 +/* 800B7B5C 000B4ABC 38 9E 00 78 */ addi r4, r30, 0x78 +/* 800B7B60 000B4AC0 4B FF FF 11 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7B64 000B4AC4 7F E3 FB 78 */ mr r3, r31 +/* 800B7B68 000B4AC8 38 9E 00 8C */ addi r4, r30, 0x8c +/* 800B7B6C 000B4ACC 4B FF FF 05 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7B70 000B4AD0 7F E3 FB 78 */ mr r3, r31 +/* 800B7B74 000B4AD4 38 9E 00 A0 */ addi r4, r30, 0xa0 +/* 800B7B78 000B4AD8 4B FF FE F9 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7B7C 000B4ADC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7B80 000B4AE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B7B84 000B4AE4 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B7B88 000B4AE8 7C 08 03 A6 */ mtlr r0 +/* 800B7B8C 000B4AEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7B90 000B4AF0 4E 80 00 20 */ blr + +.global "SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +"SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>": +/* 800B7B94 000B4AF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B7B98 000B4AF8 7C 08 02 A6 */ mflr r0 +/* 800B7B9C 000B4AFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B7BA0 000B4B00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B7BA4 000B4B04 3B E0 00 00 */ li r31, 0 +/* 800B7BA8 000B4B08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B7BAC 000B4B0C 3B C4 00 08 */ addi r30, r4, 8 +/* 800B7BB0 000B4B10 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B7BB4 000B4B14 93 81 00 10 */ stw r28, 0x10(r1) +/* 800B7BB8 000B4B18 7C 7C 1B 78 */ mr r28, r3 +/* 800B7BBC 000B4B1C 93 E1 00 08 */ stw r31, 8(r1) +/* 800B7BC0 000B4B20 83 A4 00 08 */ lwz r29, 8(r4) +/* 800B7BC4 000B4B24 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800B7BC8 000B4B28 48 00 00 30 */ b lbl_800B7BF8 +lbl_800B7BCC: +/* 800B7BCC 000B4B2C 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 800B7BD0 000B4B30 7F 85 E3 78 */ mr r5, r28 +/* 800B7BD4 000B4B34 38 80 00 00 */ li r4, 0 +/* 800B7BD8 000B4B38 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7BDC 000B4B3C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800B7BE0 000B4B40 7D 89 03 A6 */ mtctr r12 +/* 800B7BE4 000B4B44 4E 80 04 21 */ bctrl +/* 800B7BE8 000B4B48 7F C3 F3 78 */ mr r3, r30 +/* 800B7BEC 000B4B4C 7F A4 EB 78 */ mr r4, r29 +/* 800B7BF0 000B4B50 48 28 49 F1 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B7BF4 000B4B54 7C 7D 1B 78 */ mr r29, r3 +lbl_800B7BF8: +/* 800B7BF8 000B4B58 7C 1D F8 40 */ cmplw r29, r31 +/* 800B7BFC 000B4B5C 38 00 00 00 */ li r0, 0 +/* 800B7C00 000B4B60 40 82 00 0C */ bne lbl_800B7C0C +/* 800B7C04 000B4B64 7C 1E F0 40 */ cmplw r30, r30 +/* 800B7C08 000B4B68 41 82 00 08 */ beq lbl_800B7C10 +lbl_800B7C0C: +/* 800B7C0C 000B4B6C 38 00 00 01 */ li r0, 1 +lbl_800B7C10: +/* 800B7C10 000B4B70 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B7C14 000B4B74 40 82 FF B8 */ bne lbl_800B7BCC +/* 800B7C18 000B4B78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B7C1C 000B4B7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B7C20 000B4B80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B7C24 000B4B84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B7C28 000B4B88 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800B7C2C 000B4B8C 7C 08 03 A6 */ mtlr r0 +/* 800B7C30 000B4B90 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B7C34 000B4B94 4E 80 00 20 */ blr + +.global SuspendAllActiveEffects__17CParticleDatabaseFR13CStateManager +SuspendAllActiveEffects__17CParticleDatabaseFR13CStateManager: +/* 800B7C38 000B4B98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7C3C 000B4B9C 7C 08 02 A6 */ mflr r0 +/* 800B7C40 000B4BA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B7C44 000B4BA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B7C48 000B4BA8 7C 9F 23 78 */ mr r31, r4 +/* 800B7C4C 000B4BAC 93 C1 00 08 */ stw r30, 8(r1) +/* 800B7C50 000B4BB0 7C 7E 1B 78 */ mr r30, r3 +/* 800B7C54 000B4BB4 7F E3 FB 78 */ mr r3, r31 +/* 800B7C58 000B4BB8 38 9E 00 3C */ addi r4, r30, 0x3c +/* 800B7C5C 000B4BBC 4B FF FF 39 */ bl "SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7C60 000B4BC0 7F E3 FB 78 */ mr r3, r31 +/* 800B7C64 000B4BC4 38 9E 00 50 */ addi r4, r30, 0x50 +/* 800B7C68 000B4BC8 4B FF FF 2D */ bl "SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7C6C 000B4BCC 7F E3 FB 78 */ mr r3, r31 +/* 800B7C70 000B4BD0 38 9E 00 64 */ addi r4, r30, 0x64 +/* 800B7C74 000B4BD4 4B FF FF 21 */ bl "SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7C78 000B4BD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7C7C 000B4BDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B7C80 000B4BE0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B7C84 000B4BE4 7C 08 03 A6 */ mtlr r0 +/* 800B7C88 000B4BE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7C8C 000B4BEC 4E 80 00 20 */ blr + +.global DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager +DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager: +/* 800B7C90 000B4BF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B7C94 000B4BF4 7C 08 02 A6 */ mflr r0 +/* 800B7C98 000B4BF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B7C9C 000B4BFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B7CA0 000B4C00 3B E0 00 00 */ li r31, 0 +/* 800B7CA4 000B4C04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B7CA8 000B4C08 3B C4 00 08 */ addi r30, r4, 8 +/* 800B7CAC 000B4C0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B7CB0 000B4C10 93 81 00 10 */ stw r28, 0x10(r1) +/* 800B7CB4 000B4C14 7C 7C 1B 78 */ mr r28, r3 +/* 800B7CB8 000B4C18 93 E1 00 08 */ stw r31, 8(r1) +/* 800B7CBC 000B4C1C 83 A4 00 08 */ lwz r29, 8(r4) +/* 800B7CC0 000B4C20 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800B7CC4 000B4C24 48 00 00 2C */ b lbl_800B7CF0 +lbl_800B7CC8: +/* 800B7CC8 000B4C28 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 800B7CCC 000B4C2C 7F 84 E3 78 */ mr r4, r28 +/* 800B7CD0 000B4C30 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7CD4 000B4C34 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 800B7CD8 000B4C38 7D 89 03 A6 */ mtctr r12 +/* 800B7CDC 000B4C3C 4E 80 04 21 */ bctrl +/* 800B7CE0 000B4C40 7F C3 F3 78 */ mr r3, r30 +/* 800B7CE4 000B4C44 7F A4 EB 78 */ mr r4, r29 +/* 800B7CE8 000B4C48 48 28 48 F9 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B7CEC 000B4C4C 7C 7D 1B 78 */ mr r29, r3 +lbl_800B7CF0: +/* 800B7CF0 000B4C50 7C 1D F8 40 */ cmplw r29, r31 +/* 800B7CF4 000B4C54 38 00 00 00 */ li r0, 0 +/* 800B7CF8 000B4C58 40 82 00 0C */ bne lbl_800B7D04 +/* 800B7CFC 000B4C5C 7C 1E F0 40 */ cmplw r30, r30 +/* 800B7D00 000B4C60 41 82 00 08 */ beq lbl_800B7D08 +lbl_800B7D04: +/* 800B7D04 000B4C64 38 00 00 01 */ li r0, 1 +lbl_800B7D08: +/* 800B7D08 000B4C68 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B7D0C 000B4C6C 40 82 FF BC */ bne lbl_800B7CC8 +/* 800B7D10 000B4C70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B7D14 000B4C74 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B7D18 000B4C78 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B7D1C 000B4C7C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B7D20 000B4C80 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800B7D24 000B4C84 7C 08 03 A6 */ mtlr r0 +/* 800B7D28 000B4C88 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B7D2C 000B4C8C 4E 80 00 20 */ blr + +.global DeleteAllLights__17CParticleDatabaseCFR13CStateManager +DeleteAllLights__17CParticleDatabaseCFR13CStateManager: +/* 800B7D30 000B4C90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7D34 000B4C94 7C 08 02 A6 */ mflr r0 +/* 800B7D38 000B4C98 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B7D3C 000B4C9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B7D40 000B4CA0 7C 9F 23 78 */ mr r31, r4 +/* 800B7D44 000B4CA4 93 C1 00 08 */ stw r30, 8(r1) +/* 800B7D48 000B4CA8 7C 7E 1B 78 */ mr r30, r3 +/* 800B7D4C 000B4CAC 7F E3 FB 78 */ mr r3, r31 +/* 800B7D50 000B4CB0 38 9E 00 3C */ addi r4, r30, 0x3c +/* 800B7D54 000B4CB4 4B FF FF 3D */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager +/* 800B7D58 000B4CB8 7F E3 FB 78 */ mr r3, r31 +/* 800B7D5C 000B4CBC 38 9E 00 50 */ addi r4, r30, 0x50 +/* 800B7D60 000B4CC0 4B FF FF 31 */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager +/* 800B7D64 000B4CC4 7F E3 FB 78 */ mr r3, r31 +/* 800B7D68 000B4CC8 38 9E 00 64 */ addi r4, r30, 0x64 +/* 800B7D6C 000B4CCC 4B FF FF 25 */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager +/* 800B7D70 000B4CD0 7F E3 FB 78 */ mr r3, r31 +/* 800B7D74 000B4CD4 38 9E 00 78 */ addi r4, r30, 0x78 +/* 800B7D78 000B4CD8 4B FF FF 19 */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager +/* 800B7D7C 000B4CDC 7F E3 FB 78 */ mr r3, r31 +/* 800B7D80 000B4CE0 38 9E 00 8C */ addi r4, r30, 0x8c +/* 800B7D84 000B4CE4 4B FF FF 0D */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager +/* 800B7D88 000B4CE8 7F E3 FB 78 */ mr r3, r31 +/* 800B7D8C 000B4CEC 38 9E 00 A0 */ addi r4, r30, 0xa0 +/* 800B7D90 000B4CF0 4B FF FF 01 */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager +/* 800B7D94 000B4CF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7D98 000B4CF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B7D9C 000B4CFC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B7DA0 000B4D00 7C 08 03 A6 */ mtlr r0 +/* 800B7DA4 000B4D04 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7DA8 000B4D08 4E 80 00 20 */ blr + +.global "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" +"RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii": +/* 800B7DAC 000B4D0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B7DB0 000B4D10 7C 08 02 A6 */ mflr r0 +/* 800B7DB4 000B4D14 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B7DB8 000B4D18 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B7DBC 000B4D1C 3B E3 00 08 */ addi r31, r3, 8 +/* 800B7DC0 000B4D20 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B7DC4 000B4D24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B7DC8 000B4D28 7C BD 2B 78 */ mr r29, r5 +/* 800B7DCC 000B4D2C 93 81 00 10 */ stw r28, 0x10(r1) +/* 800B7DD0 000B4D30 7C 9C 23 78 */ mr r28, r4 +/* 800B7DD4 000B4D34 83 C3 00 08 */ lwz r30, 8(r3) +/* 800B7DD8 000B4D38 48 00 00 38 */ b lbl_800B7E10 +lbl_800B7DDC: +/* 800B7DDC 000B4D3C 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 800B7DE0 000B4D40 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 800B7DE4 000B4D44 7F 80 00 38 */ and r0, r28, r0 +/* 800B7DE8 000B4D48 7C 1D 00 40 */ cmplw r29, r0 +/* 800B7DEC 000B4D4C 40 82 00 14 */ bne lbl_800B7E00 +/* 800B7DF0 000B4D50 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7DF4 000B4D54 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800B7DF8 000B4D58 7D 89 03 A6 */ mtctr r12 +/* 800B7DFC 000B4D5C 4E 80 04 21 */ bctrl +lbl_800B7E00: +/* 800B7E00 000B4D60 7F E3 FB 78 */ mr r3, r31 +/* 800B7E04 000B4D64 7F C4 F3 78 */ mr r4, r30 +/* 800B7E08 000B4D68 48 28 47 D9 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B7E0C 000B4D6C 7C 7E 1B 78 */ mr r30, r3 +lbl_800B7E10: +/* 800B7E10 000B4D70 28 1E 00 00 */ cmplwi r30, 0 +/* 800B7E14 000B4D74 38 00 00 00 */ li r0, 0 +/* 800B7E18 000B4D78 40 82 00 0C */ bne lbl_800B7E24 +/* 800B7E1C 000B4D7C 7C 1F F8 40 */ cmplw r31, r31 +/* 800B7E20 000B4D80 41 82 00 08 */ beq lbl_800B7E28 +lbl_800B7E24: +/* 800B7E24 000B4D84 38 00 00 01 */ li r0, 1 +lbl_800B7E28: +/* 800B7E28 000B4D88 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B7E2C 000B4D8C 40 82 FF B0 */ bne lbl_800B7DDC +/* 800B7E30 000B4D90 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B7E34 000B4D94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B7E38 000B4D98 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B7E3C 000B4D9C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B7E40 000B4DA0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800B7E44 000B4DA4 7C 08 03 A6 */ mtlr r0 +/* 800B7E48 000B4DA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B7E4C 000B4DAC 4E 80 00 20 */ blr + +.global "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +"RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>": +/* 800B7E50 000B4DB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7E54 000B4DB4 7C 08 02 A6 */ mflr r0 +/* 800B7E58 000B4DB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B7E5C 000B4DBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B7E60 000B4DC0 3B E3 00 08 */ addi r31, r3, 8 +/* 800B7E64 000B4DC4 93 C1 00 08 */ stw r30, 8(r1) +/* 800B7E68 000B4DC8 83 C3 00 08 */ lwz r30, 8(r3) +/* 800B7E6C 000B4DCC 48 00 00 28 */ b lbl_800B7E94 +lbl_800B7E70: +/* 800B7E70 000B4DD0 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 800B7E74 000B4DD4 81 83 00 00 */ lwz r12, 0(r3) +/* 800B7E78 000B4DD8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800B7E7C 000B4DDC 7D 89 03 A6 */ mtctr r12 +/* 800B7E80 000B4DE0 4E 80 04 21 */ bctrl +/* 800B7E84 000B4DE4 7F E3 FB 78 */ mr r3, r31 +/* 800B7E88 000B4DE8 7F C4 F3 78 */ mr r4, r30 +/* 800B7E8C 000B4DEC 48 28 47 55 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B7E90 000B4DF0 7C 7E 1B 78 */ mr r30, r3 +lbl_800B7E94: +/* 800B7E94 000B4DF4 28 1E 00 00 */ cmplwi r30, 0 +/* 800B7E98 000B4DF8 38 00 00 00 */ li r0, 0 +/* 800B7E9C 000B4DFC 40 82 00 0C */ bne lbl_800B7EA8 +/* 800B7EA0 000B4E00 7C 1F F8 40 */ cmplw r31, r31 +/* 800B7EA4 000B4E04 41 82 00 08 */ beq lbl_800B7EAC +lbl_800B7EA8: +/* 800B7EA8 000B4E08 38 00 00 01 */ li r0, 1 +lbl_800B7EAC: +/* 800B7EAC 000B4E0C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B7EB0 000B4E10 40 82 FF C0 */ bne lbl_800B7E70 +/* 800B7EB4 000B4E14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7EB8 000B4E18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B7EBC 000B4E1C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B7EC0 000B4E20 7C 08 03 A6 */ mtlr r0 +/* 800B7EC4 000B4E24 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7EC8 000B4E28 4E 80 00 20 */ blr + +.global RenderSystemsToBeDrawnLastMasked__17CParticleDatabaseCFii +RenderSystemsToBeDrawnLastMasked__17CParticleDatabaseCFii: +/* 800B7ECC 000B4E2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B7ED0 000B4E30 7C 08 02 A6 */ mflr r0 +/* 800B7ED4 000B4E34 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B7ED8 000B4E38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B7EDC 000B4E3C 7C BF 2B 78 */ mr r31, r5 +/* 800B7EE0 000B4E40 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B7EE4 000B4E44 7C 9E 23 78 */ mr r30, r4 +/* 800B7EE8 000B4E48 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B7EEC 000B4E4C 7C 7D 1B 78 */ mr r29, r3 +/* 800B7EF0 000B4E50 38 7D 00 A0 */ addi r3, r29, 0xa0 +/* 800B7EF4 000B4E54 4B FF FE B9 */ bl "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" +/* 800B7EF8 000B4E58 7F C4 F3 78 */ mr r4, r30 +/* 800B7EFC 000B4E5C 7F E5 FB 78 */ mr r5, r31 +/* 800B7F00 000B4E60 38 7D 00 64 */ addi r3, r29, 0x64 +/* 800B7F04 000B4E64 4B FF FE A9 */ bl "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" +/* 800B7F08 000B4E68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B7F0C 000B4E6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B7F10 000B4E70 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B7F14 000B4E74 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B7F18 000B4E78 7C 08 03 A6 */ mtlr r0 +/* 800B7F1C 000B4E7C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B7F20 000B4E80 4E 80 00 20 */ blr + +.global RenderSystemsToBeDrawnLast__17CParticleDatabaseCFv +RenderSystemsToBeDrawnLast__17CParticleDatabaseCFv: +/* 800B7F24 000B4E84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7F28 000B4E88 7C 08 02 A6 */ mflr r0 +/* 800B7F2C 000B4E8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B7F30 000B4E90 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B7F34 000B4E94 7C 7F 1B 78 */ mr r31, r3 +/* 800B7F38 000B4E98 38 7F 00 A0 */ addi r3, r31, 0xa0 +/* 800B7F3C 000B4E9C 4B FF FF 15 */ bl "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7F40 000B4EA0 38 7F 00 64 */ addi r3, r31, 0x64 +/* 800B7F44 000B4EA4 4B FF FF 0D */ bl "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7F48 000B4EA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7F4C 000B4EAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B7F50 000B4EB0 7C 08 03 A6 */ mtlr r0 +/* 800B7F54 000B4EB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7F58 000B4EB8 4E 80 00 20 */ blr + +.global RenderSystemsToBeDrawnFirstMasked__17CParticleDatabaseCFii +RenderSystemsToBeDrawnFirstMasked__17CParticleDatabaseCFii: +/* 800B7F5C 000B4EBC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B7F60 000B4EC0 7C 08 02 A6 */ mflr r0 +/* 800B7F64 000B4EC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B7F68 000B4EC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B7F6C 000B4ECC 7C BF 2B 78 */ mr r31, r5 +/* 800B7F70 000B4ED0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B7F74 000B4ED4 7C 9E 23 78 */ mr r30, r4 +/* 800B7F78 000B4ED8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B7F7C 000B4EDC 7C 7D 1B 78 */ mr r29, r3 +/* 800B7F80 000B4EE0 38 7D 00 8C */ addi r3, r29, 0x8c +/* 800B7F84 000B4EE4 4B FF FE 29 */ bl "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" +/* 800B7F88 000B4EE8 7F C4 F3 78 */ mr r4, r30 +/* 800B7F8C 000B4EEC 7F E5 FB 78 */ mr r5, r31 +/* 800B7F90 000B4EF0 38 7D 00 50 */ addi r3, r29, 0x50 +/* 800B7F94 000B4EF4 4B FF FE 19 */ bl "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" +/* 800B7F98 000B4EF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B7F9C 000B4EFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B7FA0 000B4F00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B7FA4 000B4F04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B7FA8 000B4F08 7C 08 03 A6 */ mtlr r0 +/* 800B7FAC 000B4F0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B7FB0 000B4F10 4E 80 00 20 */ blr + +.global RenderSystemsToBeDrawnFirst__17CParticleDatabaseCFv +RenderSystemsToBeDrawnFirst__17CParticleDatabaseCFv: +/* 800B7FB4 000B4F14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B7FB8 000B4F18 7C 08 02 A6 */ mflr r0 +/* 800B7FBC 000B4F1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B7FC0 000B4F20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B7FC4 000B4F24 7C 7F 1B 78 */ mr r31, r3 +/* 800B7FC8 000B4F28 38 7F 00 8C */ addi r3, r31, 0x8c +/* 800B7FCC 000B4F2C 4B FF FE 85 */ bl "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7FD0 000B4F30 38 7F 00 50 */ addi r3, r31, 0x50 +/* 800B7FD4 000B4F34 4B FF FE 7D */ bl "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" +/* 800B7FD8 000B4F38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B7FDC 000B4F3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B7FE0 000B4F40 7C 08 03 A6 */ mtlr r0 +/* 800B7FE4 000B4F44 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B7FE8 000B4F48 4E 80 00 20 */ blr + +.global "AddToRendererClippedParticleGenMapMasked__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanesii" +"AddToRendererClippedParticleGenMapMasked__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanesii": +/* 800B7FEC 000B4F4C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800B7FF0 000B4F50 7C 08 02 A6 */ mflr r0 +/* 800B7FF4 000B4F54 90 01 00 44 */ stw r0, 0x44(r1) +/* 800B7FF8 000B4F58 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800B7FFC 000B4F5C 7C BA 2B 78 */ mr r26, r5 +/* 800B8000 000B4F60 7C DB 33 78 */ mr r27, r6 +/* 800B8004 000B4F64 7C FC 3B 78 */ mr r28, r7 +/* 800B8008 000B4F68 3B E4 00 08 */ addi r31, r4, 8 +/* 800B800C 000B4F6C 83 C4 00 08 */ lwz r30, 8(r4) +/* 800B8010 000B4F70 48 00 00 7C */ b lbl_800B808C +lbl_800B8014: +/* 800B8014 000B4F74 83 BE 00 24 */ lwz r29, 0x24(r30) +/* 800B8018 000B4F78 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 800B801C 000B4F7C 7F 60 00 38 */ and r0, r27, r0 +/* 800B8020 000B4F80 7C 1C 00 40 */ cmplw r28, r0 +/* 800B8024 000B4F84 40 82 00 58 */ bne lbl_800B807C +/* 800B8028 000B4F88 7F A4 EB 78 */ mr r4, r29 +/* 800B802C 000B4F8C 38 61 00 08 */ addi r3, r1, 8 +/* 800B8030 000B4F90 81 9D 00 00 */ lwz r12, 0(r29) +/* 800B8034 000B4F94 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800B8038 000B4F98 7D 89 03 A6 */ mtctr r12 +/* 800B803C 000B4F9C 4E 80 04 21 */ bctrl +/* 800B8040 000B4FA0 7F 43 D3 78 */ mr r3, r26 +/* 800B8044 000B4FA4 38 81 00 08 */ addi r4, r1, 8 +/* 800B8048 000B4FA8 48 28 D1 41 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 800B804C 000B4FAC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 800B8050 000B4FB0 38 00 00 00 */ li r0, 0 +/* 800B8054 000B4FB4 20 63 00 01 */ subfic r3, r3, 1 +/* 800B8058 000B4FB8 98 01 00 20 */ stb r0, 0x20(r1) +/* 800B805C 000B4FBC 7C 60 00 34 */ cntlzw r0, r3 +/* 800B8060 000B4FC0 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 800B8064 000B4FC4 41 82 00 18 */ beq lbl_800B807C +/* 800B8068 000B4FC8 7F A3 EB 78 */ mr r3, r29 +/* 800B806C 000B4FCC 81 9D 00 00 */ lwz r12, 0(r29) +/* 800B8070 000B4FD0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800B8074 000B4FD4 7D 89 03 A6 */ mtctr r12 +/* 800B8078 000B4FD8 4E 80 04 21 */ bctrl +lbl_800B807C: +/* 800B807C 000B4FDC 7F E3 FB 78 */ mr r3, r31 +/* 800B8080 000B4FE0 7F C4 F3 78 */ mr r4, r30 +/* 800B8084 000B4FE4 48 28 45 5D */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B8088 000B4FE8 7C 7E 1B 78 */ mr r30, r3 +lbl_800B808C: +/* 800B808C 000B4FEC 28 1E 00 00 */ cmplwi r30, 0 +/* 800B8090 000B4FF0 38 00 00 00 */ li r0, 0 +/* 800B8094 000B4FF4 40 82 00 0C */ bne lbl_800B80A0 +/* 800B8098 000B4FF8 7C 1F F8 40 */ cmplw r31, r31 +/* 800B809C 000B4FFC 41 82 00 08 */ beq lbl_800B80A4 +lbl_800B80A0: +/* 800B80A0 000B5000 38 00 00 01 */ li r0, 1 +lbl_800B80A4: +/* 800B80A4 000B5004 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B80A8 000B5008 40 82 FF 6C */ bne lbl_800B8014 +/* 800B80AC 000B500C BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800B80B0 000B5010 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800B80B4 000B5014 7C 08 03 A6 */ mtlr r0 +/* 800B80B8 000B5018 38 21 00 40 */ addi r1, r1, 0x40 +/* 800B80BC 000B501C 4E 80 00 20 */ blr + +.global "AddToRendererClippedParticleGenMap__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanes" +"AddToRendererClippedParticleGenMap__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanes": +/* 800B80C0 000B5020 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800B80C4 000B5024 7C 08 02 A6 */ mflr r0 +/* 800B80C8 000B5028 90 01 00 44 */ stw r0, 0x44(r1) +/* 800B80CC 000B502C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800B80D0 000B5030 3B E4 00 08 */ addi r31, r4, 8 +/* 800B80D4 000B5034 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800B80D8 000B5038 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800B80DC 000B503C 93 81 00 30 */ stw r28, 0x30(r1) +/* 800B80E0 000B5040 7C BC 2B 78 */ mr r28, r5 +/* 800B80E4 000B5044 83 C4 00 08 */ lwz r30, 8(r4) +/* 800B80E8 000B5048 48 00 00 6C */ b lbl_800B8154 +lbl_800B80EC: +/* 800B80EC 000B504C 83 BE 00 24 */ lwz r29, 0x24(r30) +/* 800B80F0 000B5050 38 61 00 08 */ addi r3, r1, 8 +/* 800B80F4 000B5054 7F A4 EB 78 */ mr r4, r29 +/* 800B80F8 000B5058 81 9D 00 00 */ lwz r12, 0(r29) +/* 800B80FC 000B505C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800B8100 000B5060 7D 89 03 A6 */ mtctr r12 +/* 800B8104 000B5064 4E 80 04 21 */ bctrl +/* 800B8108 000B5068 7F 83 E3 78 */ mr r3, r28 +/* 800B810C 000B506C 38 81 00 08 */ addi r4, r1, 8 +/* 800B8110 000B5070 48 28 D0 79 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 800B8114 000B5074 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 800B8118 000B5078 38 00 00 00 */ li r0, 0 +/* 800B811C 000B507C 20 63 00 01 */ subfic r3, r3, 1 +/* 800B8120 000B5080 98 01 00 20 */ stb r0, 0x20(r1) +/* 800B8124 000B5084 7C 60 00 34 */ cntlzw r0, r3 +/* 800B8128 000B5088 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 800B812C 000B508C 41 82 00 18 */ beq lbl_800B8144 +/* 800B8130 000B5090 7F A3 EB 78 */ mr r3, r29 +/* 800B8134 000B5094 81 9D 00 00 */ lwz r12, 0(r29) +/* 800B8138 000B5098 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800B813C 000B509C 7D 89 03 A6 */ mtctr r12 +/* 800B8140 000B50A0 4E 80 04 21 */ bctrl +lbl_800B8144: +/* 800B8144 000B50A4 7F E3 FB 78 */ mr r3, r31 +/* 800B8148 000B50A8 7F C4 F3 78 */ mr r4, r30 +/* 800B814C 000B50AC 48 28 44 95 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B8150 000B50B0 7C 7E 1B 78 */ mr r30, r3 +lbl_800B8154: +/* 800B8154 000B50B4 28 1E 00 00 */ cmplwi r30, 0 +/* 800B8158 000B50B8 38 00 00 00 */ li r0, 0 +/* 800B815C 000B50BC 40 82 00 0C */ bne lbl_800B8168 +/* 800B8160 000B50C0 7C 1F F8 40 */ cmplw r31, r31 +/* 800B8164 000B50C4 41 82 00 08 */ beq lbl_800B816C +lbl_800B8168: +/* 800B8168 000B50C8 38 00 00 01 */ li r0, 1 +lbl_800B816C: +/* 800B816C 000B50CC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B8170 000B50D0 40 82 FF 7C */ bne lbl_800B80EC +/* 800B8174 000B50D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800B8178 000B50D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800B817C 000B50DC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800B8180 000B50E0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800B8184 000B50E4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 800B8188 000B50E8 7C 08 03 A6 */ mtlr r0 +/* 800B818C 000B50EC 38 21 00 40 */ addi r1, r1, 0x40 +/* 800B8190 000B50F0 4E 80 00 20 */ blr + +.global AddToRendererClippedMasked__17CParticleDatabaseCFRC14CFrustumPlanesii +AddToRendererClippedMasked__17CParticleDatabaseCFRC14CFrustumPlanesii: +/* 800B8194 000B50F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B8198 000B50F8 7C 08 02 A6 */ mflr r0 +/* 800B819C 000B50FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B81A0 000B5100 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B81A4 000B5104 7C DF 33 78 */ mr r31, r6 +/* 800B81A8 000B5108 7F E7 FB 78 */ mr r7, r31 +/* 800B81AC 000B510C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B81B0 000B5110 7C BE 2B 78 */ mr r30, r5 +/* 800B81B4 000B5114 7F C6 F3 78 */ mr r6, r30 +/* 800B81B8 000B5118 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B81BC 000B511C 7C 9D 23 78 */ mr r29, r4 +/* 800B81C0 000B5120 7F A5 EB 78 */ mr r5, r29 +/* 800B81C4 000B5124 93 81 00 10 */ stw r28, 0x10(r1) +/* 800B81C8 000B5128 7C 7C 1B 78 */ mr r28, r3 +/* 800B81CC 000B512C 38 9C 00 78 */ addi r4, r28, 0x78 +/* 800B81D0 000B5130 4B FF FE 1D */ bl "AddToRendererClippedParticleGenMapMasked__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanesii" +/* 800B81D4 000B5134 7F 83 E3 78 */ mr r3, r28 +/* 800B81D8 000B5138 7F A5 EB 78 */ mr r5, r29 +/* 800B81DC 000B513C 7F C6 F3 78 */ mr r6, r30 +/* 800B81E0 000B5140 7F E7 FB 78 */ mr r7, r31 +/* 800B81E4 000B5144 38 9C 00 3C */ addi r4, r28, 0x3c +/* 800B81E8 000B5148 4B FF FE 05 */ bl "AddToRendererClippedParticleGenMapMasked__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanesii" +/* 800B81EC 000B514C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B81F0 000B5150 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B81F4 000B5154 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B81F8 000B5158 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B81FC 000B515C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800B8200 000B5160 7C 08 03 A6 */ mtlr r0 +/* 800B8204 000B5164 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B8208 000B5168 4E 80 00 20 */ blr + +.global AddToRendererClipped__17CParticleDatabaseCFRC14CFrustumPlanes +AddToRendererClipped__17CParticleDatabaseCFRC14CFrustumPlanes: +/* 800B820C 000B516C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B8210 000B5170 7C 08 02 A6 */ mflr r0 +/* 800B8214 000B5174 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B8218 000B5178 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B821C 000B517C 7C 9F 23 78 */ mr r31, r4 +/* 800B8220 000B5180 7F E5 FB 78 */ mr r5, r31 +/* 800B8224 000B5184 93 C1 00 08 */ stw r30, 8(r1) +/* 800B8228 000B5188 7C 7E 1B 78 */ mr r30, r3 +/* 800B822C 000B518C 38 9E 00 78 */ addi r4, r30, 0x78 +/* 800B8230 000B5190 4B FF FE 91 */ bl "AddToRendererClippedParticleGenMap__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanes" +/* 800B8234 000B5194 7F C3 F3 78 */ mr r3, r30 +/* 800B8238 000B5198 7F E5 FB 78 */ mr r5, r31 +/* 800B823C 000B519C 38 9E 00 3C */ addi r4, r30, 0x3c +/* 800B8240 000B51A0 4B FF FE 81 */ bl "AddToRendererClippedParticleGenMap__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanes" +/* 800B8244 000B51A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B8248 000B51A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B824C 000B51AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B8250 000B51B0 7C 08 03 A6 */ mtlr r0 +/* 800B8254 000B51B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B8258 000B51B8 4E 80 00 20 */ blr + +.global "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" +"UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b": +/* 800B825C 000B51BC 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 800B8260 000B51C0 7C 08 02 A6 */ mflr r0 +/* 800B8264 000B51C4 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 800B8268 000B51C8 DB E1 02 B0 */ stfd f31, 0x2b0(r1) +/* 800B826C 000B51CC F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 +/* 800B8270 000B51D0 BE C1 02 88 */ stmw r22, 0x288(r1) +/* 800B8274 000B51D4 7D 1F 43 78 */ mr r31, r8 +/* 800B8278 000B51D8 FF E0 08 90 */ fmr f31, f1 +/* 800B827C 000B51DC 80 08 00 08 */ lwz r0, 8(r8) +/* 800B8280 000B51E0 3B 5F 00 08 */ addi r26, r31, 8 +/* 800B8284 000B51E4 93 41 00 2C */ stw r26, 0x2c(r1) +/* 800B8288 000B51E8 7C 7C 1B 78 */ mr r28, r3 +/* 800B828C 000B51EC 7C 99 23 78 */ mr r25, r4 +/* 800B8290 000B51F0 90 01 00 28 */ stw r0, 0x28(r1) +/* 800B8294 000B51F4 7C BB 2B 78 */ mr r27, r5 +/* 800B8298 000B51F8 7C DD 33 78 */ mr r29, r6 +/* 800B829C 000B51FC 7C FE 3B 78 */ mr r30, r7 +/* 800B82A0 000B5200 93 41 00 14 */ stw r26, 0x14(r1) +/* 800B82A4 000B5204 7D 38 4B 78 */ mr r24, r9 +/* 800B82A8 000B5208 48 00 06 DC */ b lbl_800B8984 +lbl_800B82AC: +/* 800B82AC 000B520C 82 E4 00 24 */ lwz r23, 0x24(r4) +/* 800B82B0 000B5210 88 17 00 24 */ lbz r0, 0x24(r23) +/* 800B82B4 000B5214 28 00 00 00 */ cmplwi r0, 0 +/* 800B82B8 000B5218 41 82 04 A8 */ beq lbl_800B8760 +/* 800B82BC 000B521C 80 17 00 80 */ lwz r0, 0x80(r23) +/* 800B82C0 000B5220 2C 00 00 01 */ cmpwi r0, 1 +/* 800B82C4 000B5224 41 82 04 30 */ beq lbl_800B86F4 +/* 800B82C8 000B5228 40 80 04 2C */ bge lbl_800B86F4 +/* 800B82CC 000B522C 2C 00 00 00 */ cmpwi r0, 0 +/* 800B82D0 000B5230 40 80 00 08 */ bge lbl_800B82D8 +/* 800B82D4 000B5234 48 00 04 20 */ b lbl_800B86F4 +lbl_800B82D8: +/* 800B82D8 000B5238 82 D7 00 28 */ lwz r22, 0x28(r23) +/* 800B82DC 000B523C 7F 24 CB 78 */ mr r4, r25 +/* 800B82E0 000B5240 38 61 00 08 */ addi r3, r1, 8 +/* 800B82E4 000B5244 38 B7 00 10 */ addi r5, r23, 0x10 +/* 800B82E8 000B5248 48 23 F9 7D */ bl "GetSegIdFromString__15CCharLayoutInfoCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800B82EC 000B524C 88 01 00 08 */ lbz r0, 8(r1) +/* 800B82F0 000B5250 28 00 00 FF */ cmplwi r0, 0xff +/* 800B82F4 000B5254 98 01 00 0C */ stb r0, 0xc(r1) +/* 800B82F8 000B5258 40 82 00 18 */ bne lbl_800B8310 +/* 800B82FC 000B525C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800B8300 000B5260 80 81 00 28 */ lwz r4, 0x28(r1) +/* 800B8304 000B5264 48 28 42 DD */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B8308 000B5268 90 61 00 28 */ stw r3, 0x28(r1) +/* 800B830C 000B526C 48 00 06 78 */ b lbl_800B8984 +lbl_800B8310: +/* 800B8310 000B5270 7F 83 E3 78 */ mr r3, r28 +/* 800B8314 000B5274 38 81 00 0C */ addi r4, r1, 0xc +/* 800B8318 000B5278 48 2B 0B AD */ bl ContainsDataFor__17CPoseAsTransformsCFRC6CSegId +/* 800B831C 000B527C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B8320 000B5280 40 82 00 18 */ bne lbl_800B8338 +/* 800B8324 000B5284 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800B8328 000B5288 80 81 00 28 */ lwz r4, 0x28(r1) +/* 800B832C 000B528C 48 28 42 B5 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B8330 000B5290 90 61 00 28 */ stw r3, 0x28(r1) +/* 800B8334 000B5294 48 00 06 50 */ b lbl_800B8984 +lbl_800B8338: +/* 800B8338 000B5298 7F 83 E3 78 */ mr r3, r28 +/* 800B833C 000B529C 38 81 00 0C */ addi r4, r1, 0xc +/* 800B8340 000B52A0 48 2B 0C 19 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId +/* 800B8344 000B52A4 2C 16 00 00 */ cmpwi r22, 0 +/* 800B8348 000B52A8 C0 63 00 00 */ lfs f3, 0(r3) +/* 800B834C 000B52AC C0 83 00 04 */ lfs f4, 4(r3) +/* 800B8350 000B52B0 C0 A3 00 08 */ lfs f5, 8(r3) +/* 800B8354 000B52B4 41 82 00 14 */ beq lbl_800B8368 +/* 800B8358 000B52B8 41 80 03 9C */ blt lbl_800B86F4 +/* 800B835C 000B52BC 2C 16 00 03 */ cmpwi r22, 3 +/* 800B8360 000B52C0 40 80 03 94 */ bge lbl_800B86F4 +/* 800B8364 000B52C4 48 00 01 74 */ b lbl_800B84D8 +lbl_800B8368: +/* 800B8368 000B52C8 88 17 00 40 */ lbz r0, 0x40(r23) +/* 800B836C 000B52CC 28 00 00 00 */ cmplwi r0, 0 +/* 800B8370 000B52D0 41 82 00 BC */ beq lbl_800B842C +/* 800B8374 000B52D4 C0 5D 00 08 */ lfs f2, 8(r29) +/* 800B8378 000B52D8 3A C1 00 6C */ addi r22, r1, 0x6c +/* 800B837C 000B52DC C0 3D 00 04 */ lfs f1, 4(r29) +/* 800B8380 000B52E0 C0 1D 00 00 */ lfs f0, 0(r29) +/* 800B8384 000B52E4 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 800B8388 000B52E8 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 800B838C 000B52EC EC 24 00 72 */ fmuls f1, f4, f1 +/* 800B8390 000B52F0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800B8394 000B52F4 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b +/* 800B8398 000B52F8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 800B839C 000B52FC D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800B83A0 000B5300 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 800B83A4 000B5304 41 82 00 10 */ beq lbl_800B83B4 +/* 800B83A8 000B5308 3C 60 80 5A */ lis r3, lbl_805A65FC@ha +/* 800B83AC 000B530C 38 63 65 FC */ addi r3, r3, lbl_805A65FC@l +/* 800B83B0 000B5310 48 00 00 10 */ b lbl_800B83C0 +lbl_800B83B4: +/* 800B83B4 000B5314 7F 83 E3 78 */ mr r3, r28 +/* 800B83B8 000B5318 38 81 00 0C */ addi r4, r1, 0xc +/* 800B83BC 000B531C 48 2B 0B C1 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +lbl_800B83C0: +/* 800B83C0 000B5320 7C 64 1B 78 */ mr r4, r3 +/* 800B83C4 000B5324 7E C5 B3 78 */ mr r5, r22 +/* 800B83C8 000B5328 38 61 02 58 */ addi r3, r1, 0x258 +/* 800B83CC 000B532C 48 25 AE AD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800B83D0 000B5330 7F 64 DB 78 */ mr r4, r27 +/* 800B83D4 000B5334 38 61 01 98 */ addi r3, r1, 0x198 +/* 800B83D8 000B5338 38 A1 02 58 */ addi r5, r1, 0x258 +/* 800B83DC 000B533C 48 25 A5 75 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800B83E0 000B5340 38 61 02 28 */ addi r3, r1, 0x228 +/* 800B83E4 000B5344 38 81 01 98 */ addi r4, r1, 0x198 +/* 800B83E8 000B5348 48 25 A7 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B83EC 000B534C 38 61 01 68 */ addi r3, r1, 0x168 +/* 800B83F0 000B5350 38 81 02 28 */ addi r4, r1, 0x228 +/* 800B83F4 000B5354 48 25 A8 4D */ bl GetRotation__12CTransform4fCFv +/* 800B83F8 000B5358 38 77 00 44 */ addi r3, r23, 0x44 +/* 800B83FC 000B535C 38 81 01 68 */ addi r4, r1, 0x168 +/* 800B8400 000B5360 48 25 A7 41 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800B8404 000B5364 C0 61 02 54 */ lfs f3, 0x254(r1) +/* 800B8408 000B5368 38 00 00 00 */ li r0, 0 +/* 800B840C 000B536C C0 41 02 44 */ lfs f2, 0x244(r1) +/* 800B8410 000B5370 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 800B8414 000B5374 C0 02 8D 20 */ lfs f0, lbl_805AAA40@sda21(r2) +/* 800B8418 000B5378 D0 37 00 74 */ stfs f1, 0x74(r23) +/* 800B841C 000B537C D0 57 00 78 */ stfs f2, 0x78(r23) +/* 800B8420 000B5380 D0 77 00 7C */ stfs f3, 0x7c(r23) +/* 800B8424 000B5384 D0 17 00 20 */ stfs f0, 0x20(r23) +/* 800B8428 000B5388 98 17 00 40 */ stb r0, 0x40(r23) +lbl_800B842C: +/* 800B842C 000B538C 7E E3 BB 78 */ mr r3, r23 +/* 800B8430 000B5390 7F C5 F3 78 */ mr r5, r30 +/* 800B8434 000B5394 81 97 00 00 */ lwz r12, 0(r23) +/* 800B8438 000B5398 38 97 00 44 */ addi r4, r23, 0x44 +/* 800B843C 000B539C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800B8440 000B53A0 7D 89 03 A6 */ mtctr r12 +/* 800B8444 000B53A4 4E 80 04 21 */ bctrl +/* 800B8448 000B53A8 7E E3 BB 78 */ mr r3, r23 +/* 800B844C 000B53AC 7F C5 F3 78 */ mr r5, r30 +/* 800B8450 000B53B0 81 97 00 00 */ lwz r12, 0(r23) +/* 800B8454 000B53B4 38 97 00 74 */ addi r4, r23, 0x74 +/* 800B8458 000B53B8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800B845C 000B53BC 7D 89 03 A6 */ mtctr r12 +/* 800B8460 000B53C0 4E 80 04 21 */ bctrl +/* 800B8464 000B53C4 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 800B8468 000B53C8 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12 +/* 800B846C 000B53CC 41 82 00 50 */ beq lbl_800B84BC +/* 800B8470 000B53D0 C0 37 00 38 */ lfs f1, 0x38(r23) +/* 800B8474 000B53D4 7E E3 BB 78 */ mr r3, r23 +/* 800B8478 000B53D8 C0 1D 00 08 */ lfs f0, 8(r29) +/* 800B847C 000B53DC 38 81 00 60 */ addi r4, r1, 0x60 +/* 800B8480 000B53E0 C0 77 00 34 */ lfs f3, 0x34(r23) +/* 800B8484 000B53E4 C0 5D 00 04 */ lfs f2, 4(r29) +/* 800B8488 000B53E8 EC 81 00 32 */ fmuls f4, f1, f0 +/* 800B848C 000B53EC C0 37 00 30 */ lfs f1, 0x30(r23) +/* 800B8490 000B53F0 C0 1D 00 00 */ lfs f0, 0(r29) +/* 800B8494 000B53F4 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800B8498 000B53F8 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 800B849C 000B53FC EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B84A0 000B5400 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 800B84A4 000B5404 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800B84A8 000B5408 81 97 00 00 */ lwz r12, 0(r23) +/* 800B84AC 000B540C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 800B84B0 000B5410 7D 89 03 A6 */ mtctr r12 +/* 800B84B4 000B5414 4E 80 04 21 */ bctrl +/* 800B84B8 000B5418 48 00 02 3C */ b lbl_800B86F4 +lbl_800B84BC: +/* 800B84BC 000B541C 7E E3 BB 78 */ mr r3, r23 +/* 800B84C0 000B5420 38 97 00 30 */ addi r4, r23, 0x30 +/* 800B84C4 000B5424 81 97 00 00 */ lwz r12, 0(r23) +/* 800B84C8 000B5428 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 800B84CC 000B542C 7D 89 03 A6 */ mtctr r12 +/* 800B84D0 000B5430 4E 80 04 21 */ bctrl +/* 800B84D4 000B5434 48 00 02 20 */ b lbl_800B86F4 +lbl_800B84D8: +/* 800B84D8 000B5438 88 17 00 40 */ lbz r0, 0x40(r23) +/* 800B84DC 000B543C 28 00 00 00 */ cmplwi r0, 0 +/* 800B84E0 000B5440 41 82 00 14 */ beq lbl_800B84F4 +/* 800B84E4 000B5444 C0 02 8D 20 */ lfs f0, lbl_805AAA40@sda21(r2) +/* 800B84E8 000B5448 38 00 00 00 */ li r0, 0 +/* 800B84EC 000B544C D0 17 00 20 */ stfs f0, 0x20(r23) +/* 800B84F0 000B5450 98 17 00 40 */ stb r0, 0x40(r23) +lbl_800B84F4: +/* 800B84F4 000B5454 C0 5D 00 08 */ lfs f2, 8(r29) +/* 800B84F8 000B5458 7F 83 E3 78 */ mr r3, r28 +/* 800B84FC 000B545C C0 3D 00 04 */ lfs f1, 4(r29) +/* 800B8500 000B5460 38 81 00 0C */ addi r4, r1, 0xc +/* 800B8504 000B5464 C0 1D 00 00 */ lfs f0, 0(r29) +/* 800B8508 000B5468 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 800B850C 000B546C EC 24 00 72 */ fmuls f1, f4, f1 +/* 800B8510 000B5470 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800B8514 000B5474 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 800B8518 000B5478 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800B851C 000B547C D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800B8520 000B5480 48 2B 0A 5D */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 800B8524 000B5484 7C 64 1B 78 */ mr r4, r3 +/* 800B8528 000B5488 38 61 01 F8 */ addi r3, r1, 0x1f8 +/* 800B852C 000B548C 38 A1 00 54 */ addi r5, r1, 0x54 +/* 800B8530 000B5490 48 25 AD 49 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800B8534 000B5494 7F 64 DB 78 */ mr r4, r27 +/* 800B8538 000B5498 38 61 01 38 */ addi r3, r1, 0x138 +/* 800B853C 000B549C 38 A1 01 F8 */ addi r5, r1, 0x1f8 +/* 800B8540 000B54A0 48 25 A4 11 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800B8544 000B54A4 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 800B8548 000B54A8 38 81 01 38 */ addi r4, r1, 0x138 +/* 800B854C 000B54AC 48 25 A6 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800B8550 000B54B0 2C 16 00 01 */ cmpwi r22, 1 +/* 800B8554 000B54B4 40 82 00 9C */ bne lbl_800B85F0 +/* 800B8558 000B54B8 C0 41 01 D4 */ lfs f2, 0x1d4(r1) +/* 800B855C 000B54BC 7E E3 BB 78 */ mr r3, r23 +/* 800B8560 000B54C0 C0 21 01 E4 */ lfs f1, 0x1e4(r1) +/* 800B8564 000B54C4 7F C5 F3 78 */ mr r5, r30 +/* 800B8568 000B54C8 C0 01 01 F4 */ lfs f0, 0x1f4(r1) +/* 800B856C 000B54CC 38 81 00 48 */ addi r4, r1, 0x48 +/* 800B8570 000B54D0 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 800B8574 000B54D4 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800B8578 000B54D8 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800B857C 000B54DC 81 97 00 00 */ lwz r12, 0(r23) +/* 800B8580 000B54E0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800B8584 000B54E4 7D 89 03 A6 */ mtctr r12 +/* 800B8588 000B54E8 4E 80 04 21 */ bctrl +/* 800B858C 000B54EC 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 800B8590 000B54F0 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b +/* 800B8594 000B54F4 41 82 00 30 */ beq lbl_800B85C4 +/* 800B8598 000B54F8 7F 64 DB 78 */ mr r4, r27 +/* 800B859C 000B54FC 38 61 01 08 */ addi r3, r1, 0x108 +/* 800B85A0 000B5500 48 25 A6 A1 */ bl GetRotation__12CTransform4fCFv +/* 800B85A4 000B5504 7E E3 BB 78 */ mr r3, r23 +/* 800B85A8 000B5508 7F C5 F3 78 */ mr r5, r30 +/* 800B85AC 000B550C 81 97 00 00 */ lwz r12, 0(r23) +/* 800B85B0 000B5510 38 81 01 08 */ addi r4, r1, 0x108 +/* 800B85B4 000B5514 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800B85B8 000B5518 7D 89 03 A6 */ mtctr r12 +/* 800B85BC 000B551C 4E 80 04 21 */ bctrl +/* 800B85C0 000B5520 48 00 00 C4 */ b lbl_800B8684 +lbl_800B85C4: +/* 800B85C4 000B5524 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800B85C8 000B5528 38 81 01 C8 */ addi r4, r1, 0x1c8 +/* 800B85CC 000B552C 48 25 A6 75 */ bl GetRotation__12CTransform4fCFv +/* 800B85D0 000B5530 7E E3 BB 78 */ mr r3, r23 +/* 800B85D4 000B5534 7F C5 F3 78 */ mr r5, r30 +/* 800B85D8 000B5538 81 97 00 00 */ lwz r12, 0(r23) +/* 800B85DC 000B553C 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 800B85E0 000B5540 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800B85E4 000B5544 7D 89 03 A6 */ mtctr r12 +/* 800B85E8 000B5548 4E 80 04 21 */ bctrl +/* 800B85EC 000B554C 48 00 00 98 */ b lbl_800B8684 +lbl_800B85F0: +/* 800B85F0 000B5550 C0 41 01 D4 */ lfs f2, 0x1d4(r1) +/* 800B85F4 000B5554 7E E3 BB 78 */ mr r3, r23 +/* 800B85F8 000B5558 C0 21 01 E4 */ lfs f1, 0x1e4(r1) +/* 800B85FC 000B555C 7F C5 F3 78 */ mr r5, r30 +/* 800B8600 000B5560 C0 01 01 F4 */ lfs f0, 0x1f4(r1) +/* 800B8604 000B5564 38 81 00 3C */ addi r4, r1, 0x3c +/* 800B8608 000B5568 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800B860C 000B556C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800B8610 000B5570 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800B8614 000B5574 81 97 00 00 */ lwz r12, 0(r23) +/* 800B8618 000B5578 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800B861C 000B557C 7D 89 03 A6 */ mtctr r12 +/* 800B8620 000B5580 4E 80 04 21 */ bctrl +/* 800B8624 000B5584 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 800B8628 000B5588 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b +/* 800B862C 000B558C 41 82 00 30 */ beq lbl_800B865C +/* 800B8630 000B5590 7F 64 DB 78 */ mr r4, r27 +/* 800B8634 000B5594 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800B8638 000B5598 48 25 A6 09 */ bl GetRotation__12CTransform4fCFv +/* 800B863C 000B559C 7E E3 BB 78 */ mr r3, r23 +/* 800B8640 000B55A0 7F C5 F3 78 */ mr r5, r30 +/* 800B8644 000B55A4 81 97 00 00 */ lwz r12, 0(r23) +/* 800B8648 000B55A8 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800B864C 000B55AC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800B8650 000B55B0 7D 89 03 A6 */ mtctr r12 +/* 800B8654 000B55B4 4E 80 04 21 */ bctrl +/* 800B8658 000B55B8 48 00 00 2C */ b lbl_800B8684 +lbl_800B865C: +/* 800B865C 000B55BC 38 61 00 78 */ addi r3, r1, 0x78 +/* 800B8660 000B55C0 38 81 01 C8 */ addi r4, r1, 0x1c8 +/* 800B8664 000B55C4 48 25 A5 DD */ bl GetRotation__12CTransform4fCFv +/* 800B8668 000B55C8 7E E3 BB 78 */ mr r3, r23 +/* 800B866C 000B55CC 7F C5 F3 78 */ mr r5, r30 +/* 800B8670 000B55D0 81 97 00 00 */ lwz r12, 0(r23) +/* 800B8674 000B55D4 38 81 00 78 */ addi r4, r1, 0x78 +/* 800B8678 000B55D8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800B867C 000B55DC 7D 89 03 A6 */ mtctr r12 +/* 800B8680 000B55E0 4E 80 04 21 */ bctrl +lbl_800B8684: +/* 800B8684 000B55E4 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 800B8688 000B55E8 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12 +/* 800B868C 000B55EC 41 82 00 50 */ beq lbl_800B86DC +/* 800B8690 000B55F0 C0 37 00 38 */ lfs f1, 0x38(r23) +/* 800B8694 000B55F4 7E E3 BB 78 */ mr r3, r23 +/* 800B8698 000B55F8 C0 1D 00 08 */ lfs f0, 8(r29) +/* 800B869C 000B55FC 38 81 00 30 */ addi r4, r1, 0x30 +/* 800B86A0 000B5600 C0 77 00 34 */ lfs f3, 0x34(r23) +/* 800B86A4 000B5604 C0 5D 00 04 */ lfs f2, 4(r29) +/* 800B86A8 000B5608 EC 81 00 32 */ fmuls f4, f1, f0 +/* 800B86AC 000B560C C0 37 00 30 */ lfs f1, 0x30(r23) +/* 800B86B0 000B5610 C0 1D 00 00 */ lfs f0, 0(r29) +/* 800B86B4 000B5614 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800B86B8 000B5618 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 800B86BC 000B561C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800B86C0 000B5620 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800B86C4 000B5624 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800B86C8 000B5628 81 97 00 00 */ lwz r12, 0(r23) +/* 800B86CC 000B562C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 800B86D0 000B5630 7D 89 03 A6 */ mtctr r12 +/* 800B86D4 000B5634 4E 80 04 21 */ bctrl +/* 800B86D8 000B5638 48 00 00 1C */ b lbl_800B86F4 +lbl_800B86DC: +/* 800B86DC 000B563C 7E E3 BB 78 */ mr r3, r23 +/* 800B86E0 000B5640 38 97 00 30 */ addi r4, r23, 0x30 +/* 800B86E4 000B5644 81 97 00 00 */ lwz r12, 0(r23) +/* 800B86E8 000B5648 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 800B86EC 000B564C 7D 89 03 A6 */ mtctr r12 +/* 800B86F0 000B5650 4E 80 04 21 */ bctrl +lbl_800B86F4: +/* 800B86F4 000B5654 C0 02 8D 20 */ lfs f0, lbl_805AAA40@sda21(r2) +/* 800B86F8 000B5658 C0 37 00 0C */ lfs f1, 0xc(r23) +/* 800B86FC 000B565C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800B8700 000B5660 40 82 00 08 */ bne lbl_800B8708 +/* 800B8704 000B5664 C0 22 8D 24 */ lfs f1, lbl_805AAA44@sda21(r2) +lbl_800B8708: +/* 800B8708 000B5668 C0 17 00 20 */ lfs f0, 0x20(r23) +/* 800B870C 000B566C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800B8710 000B5670 40 81 00 50 */ ble lbl_800B8760 +/* 800B8714 000B5674 38 00 00 00 */ li r0, 0 +/* 800B8718 000B5678 7E E3 BB 78 */ mr r3, r23 +/* 800B871C 000B567C 98 17 00 24 */ stb r0, 0x24(r23) +/* 800B8720 000B5680 7F C5 F3 78 */ mr r5, r30 +/* 800B8724 000B5684 38 80 00 00 */ li r4, 0 +/* 800B8728 000B5688 81 97 00 00 */ lwz r12, 0(r23) +/* 800B872C 000B568C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800B8730 000B5690 7D 89 03 A6 */ mtctr r12 +/* 800B8734 000B5694 4E 80 04 21 */ bctrl +/* 800B8738 000B5698 C0 17 00 20 */ lfs f0, 0x20(r23) +/* 800B873C 000B569C D0 17 00 3C */ stfs f0, 0x3c(r23) +/* 800B8740 000B56A0 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 800B8744 000B56A4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800B8748 000B56A8 41 82 00 18 */ beq lbl_800B8760 +/* 800B874C 000B56AC 7E E3 BB 78 */ mr r3, r23 +/* 800B8750 000B56B0 81 97 00 00 */ lwz r12, 0(r23) +/* 800B8754 000B56B4 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 800B8758 000B56B8 7D 89 03 A6 */ mtctr r12 +/* 800B875C 000B56BC 4E 80 04 21 */ bctrl +lbl_800B8760: +/* 800B8760 000B56C0 7E E3 BB 78 */ mr r3, r23 +/* 800B8764 000B56C4 FC 20 F8 90 */ fmr f1, f31 +/* 800B8768 000B56C8 81 97 00 00 */ lwz r12, 0(r23) +/* 800B876C 000B56CC 7F C4 F3 78 */ mr r4, r30 +/* 800B8770 000B56D0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800B8774 000B56D4 7D 89 03 A6 */ mtctr r12 +/* 800B8778 000B56D8 4E 80 04 21 */ bctrl +/* 800B877C 000B56DC 88 17 00 24 */ lbz r0, 0x24(r23) +/* 800B8780 000B56E0 28 00 00 00 */ cmplwi r0, 0 +/* 800B8784 000B56E4 40 82 01 04 */ bne lbl_800B8888 +/* 800B8788 000B56E8 7E E3 BB 78 */ mr r3, r23 +/* 800B878C 000B56EC 81 97 00 00 */ lwz r12, 0(r23) +/* 800B8790 000B56F0 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 800B8794 000B56F4 7D 89 03 A6 */ mtctr r12 +/* 800B8798 000B56F8 4E 80 04 21 */ bctrl +/* 800B879C 000B56FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B87A0 000B5700 40 82 01 C8 */ bne lbl_800B8968 +/* 800B87A4 000B5704 C0 57 00 20 */ lfs f2, 0x20(r23) +/* 800B87A8 000B5708 C0 37 00 3C */ lfs f1, 0x3c(r23) +/* 800B87AC 000B570C C0 02 8D 28 */ lfs f0, lbl_805AAA48@sda21(r2) +/* 800B87B0 000B5710 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800B87B4 000B5714 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800B87B8 000B5718 40 81 01 B0 */ ble lbl_800B8968 +/* 800B87BC 000B571C 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 800B87C0 000B5720 41 82 01 A8 */ beq lbl_800B8968 +/* 800B87C4 000B5724 7E E3 BB 78 */ mr r3, r23 +/* 800B87C8 000B5728 7F C4 F3 78 */ mr r4, r30 +/* 800B87CC 000B572C 81 97 00 00 */ lwz r12, 0(r23) +/* 800B87D0 000B5730 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 800B87D4 000B5734 7D 89 03 A6 */ mtctr r12 +/* 800B87D8 000B5738 4E 80 04 21 */ bctrl +/* 800B87DC 000B573C 82 C1 00 28 */ lwz r22, 0x28(r1) +/* 800B87E0 000B5740 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800B87E4 000B5744 92 C1 00 20 */ stw r22, 0x20(r1) +/* 800B87E8 000B5748 7E C4 B3 78 */ mr r4, r22 +/* 800B87EC 000B574C 90 61 00 24 */ stw r3, 0x24(r1) +/* 800B87F0 000B5750 48 28 3D F1 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B87F4 000B5754 90 61 00 20 */ stw r3, 0x20(r1) +/* 800B87F8 000B5758 7E C4 B3 78 */ mr r4, r22 +/* 800B87FC 000B575C 38 7F 00 08 */ addi r3, r31, 8 +/* 800B8800 000B5760 48 28 3E 7D */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 800B8804 000B5764 7C 76 1B 79 */ or. r22, r3, r3 +/* 800B8808 000B5768 41 82 00 50 */ beq lbl_800B8858 +/* 800B880C 000B576C 34 16 00 10 */ addic. r0, r22, 0x10 +/* 800B8810 000B5770 41 82 00 48 */ beq lbl_800B8858 +/* 800B8814 000B5774 34 76 00 20 */ addic. r3, r22, 0x20 +/* 800B8818 000B5778 41 82 00 30 */ beq lbl_800B8848 +/* 800B881C 000B577C 88 03 00 00 */ lbz r0, 0(r3) +/* 800B8820 000B5780 28 00 00 00 */ cmplwi r0, 0 +/* 800B8824 000B5784 41 82 00 24 */ beq lbl_800B8848 +/* 800B8828 000B5788 80 76 00 24 */ lwz r3, 0x24(r22) +/* 800B882C 000B578C 28 03 00 00 */ cmplwi r3, 0 +/* 800B8830 000B5790 41 82 00 18 */ beq lbl_800B8848 +/* 800B8834 000B5794 81 83 00 00 */ lwz r12, 0(r3) +/* 800B8838 000B5798 38 80 00 01 */ li r4, 1 +/* 800B883C 000B579C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B8840 000B57A0 7D 89 03 A6 */ mtctr r12 +/* 800B8844 000B57A4 4E 80 04 21 */ bctrl +lbl_800B8848: +/* 800B8848 000B57A8 34 16 00 10 */ addic. r0, r22, 0x10 +/* 800B884C 000B57AC 41 82 00 0C */ beq lbl_800B8858 +/* 800B8850 000B57B0 38 76 00 10 */ addi r3, r22, 0x10 +/* 800B8854 000B57B4 48 28 52 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800B8858: +/* 800B8858 000B57B8 28 16 00 00 */ cmplwi r22, 0 +/* 800B885C 000B57BC 41 82 00 0C */ beq lbl_800B8868 +/* 800B8860 000B57C0 7E C3 B3 78 */ mr r3, r22 +/* 800B8864 000B57C4 48 25 D0 CD */ bl Free__7CMemoryFPCv +lbl_800B8868: +/* 800B8868 000B57C8 80 9F 00 04 */ lwz r4, 4(r31) +/* 800B886C 000B57CC 80 61 00 20 */ lwz r3, 0x20(r1) +/* 800B8870 000B57D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B8874 000B57D4 38 84 FF FF */ addi r4, r4, -1 +/* 800B8878 000B57D8 90 9F 00 04 */ stw r4, 4(r31) +/* 800B887C 000B57DC 90 61 00 28 */ stw r3, 0x28(r1) +/* 800B8880 000B57E0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800B8884 000B57E4 48 00 01 00 */ b lbl_800B8984 +lbl_800B8888: +/* 800B8888 000B57E8 7E E3 BB 78 */ mr r3, r23 +/* 800B888C 000B57EC 81 97 00 00 */ lwz r12, 0(r23) +/* 800B8890 000B57F0 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800B8894 000B57F4 7D 89 03 A6 */ mtctr r12 +/* 800B8898 000B57F8 4E 80 04 21 */ bctrl +/* 800B889C 000B57FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B88A0 000B5800 41 82 00 C8 */ beq lbl_800B8968 +/* 800B88A4 000B5804 7E E3 BB 78 */ mr r3, r23 +/* 800B88A8 000B5808 7F C4 F3 78 */ mr r4, r30 +/* 800B88AC 000B580C 81 97 00 00 */ lwz r12, 0(r23) +/* 800B88B0 000B5810 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 800B88B4 000B5814 7D 89 03 A6 */ mtctr r12 +/* 800B88B8 000B5818 4E 80 04 21 */ bctrl +/* 800B88BC 000B581C 82 C1 00 28 */ lwz r22, 0x28(r1) +/* 800B88C0 000B5820 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800B88C4 000B5824 92 C1 00 18 */ stw r22, 0x18(r1) +/* 800B88C8 000B5828 7E C4 B3 78 */ mr r4, r22 +/* 800B88CC 000B582C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800B88D0 000B5830 48 28 3D 11 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B88D4 000B5834 90 61 00 18 */ stw r3, 0x18(r1) +/* 800B88D8 000B5838 7E C4 B3 78 */ mr r4, r22 +/* 800B88DC 000B583C 38 7F 00 08 */ addi r3, r31, 8 +/* 800B88E0 000B5840 48 28 3D 9D */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 800B88E4 000B5844 7C 76 1B 79 */ or. r22, r3, r3 +/* 800B88E8 000B5848 41 82 00 50 */ beq lbl_800B8938 +/* 800B88EC 000B584C 34 16 00 10 */ addic. r0, r22, 0x10 +/* 800B88F0 000B5850 41 82 00 48 */ beq lbl_800B8938 +/* 800B88F4 000B5854 34 76 00 20 */ addic. r3, r22, 0x20 +/* 800B88F8 000B5858 41 82 00 30 */ beq lbl_800B8928 +/* 800B88FC 000B585C 88 03 00 00 */ lbz r0, 0(r3) +/* 800B8900 000B5860 28 00 00 00 */ cmplwi r0, 0 +/* 800B8904 000B5864 41 82 00 24 */ beq lbl_800B8928 +/* 800B8908 000B5868 80 76 00 24 */ lwz r3, 0x24(r22) +/* 800B890C 000B586C 28 03 00 00 */ cmplwi r3, 0 +/* 800B8910 000B5870 41 82 00 18 */ beq lbl_800B8928 +/* 800B8914 000B5874 81 83 00 00 */ lwz r12, 0(r3) +/* 800B8918 000B5878 38 80 00 01 */ li r4, 1 +/* 800B891C 000B587C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B8920 000B5880 7D 89 03 A6 */ mtctr r12 +/* 800B8924 000B5884 4E 80 04 21 */ bctrl +lbl_800B8928: +/* 800B8928 000B5888 34 16 00 10 */ addic. r0, r22, 0x10 +/* 800B892C 000B588C 41 82 00 0C */ beq lbl_800B8938 +/* 800B8930 000B5890 38 76 00 10 */ addi r3, r22, 0x10 +/* 800B8934 000B5894 48 28 51 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800B8938: +/* 800B8938 000B5898 28 16 00 00 */ cmplwi r22, 0 +/* 800B893C 000B589C 41 82 00 0C */ beq lbl_800B8948 +/* 800B8940 000B58A0 7E C3 B3 78 */ mr r3, r22 +/* 800B8944 000B58A4 48 25 CF ED */ bl Free__7CMemoryFPCv +lbl_800B8948: +/* 800B8948 000B58A8 80 9F 00 04 */ lwz r4, 4(r31) +/* 800B894C 000B58AC 80 61 00 18 */ lwz r3, 0x18(r1) +/* 800B8950 000B58B0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800B8954 000B58B4 38 84 FF FF */ addi r4, r4, -1 +/* 800B8958 000B58B8 90 9F 00 04 */ stw r4, 4(r31) +/* 800B895C 000B58BC 90 61 00 28 */ stw r3, 0x28(r1) +/* 800B8960 000B58C0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800B8964 000B58C4 48 00 00 20 */ b lbl_800B8984 +lbl_800B8968: +/* 800B8968 000B58C8 C0 17 00 20 */ lfs f0, 0x20(r23) +/* 800B896C 000B58CC 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800B8970 000B58D0 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800B8974 000B58D4 80 81 00 28 */ lwz r4, 0x28(r1) +/* 800B8978 000B58D8 D0 17 00 20 */ stfs f0, 0x20(r23) +/* 800B897C 000B58DC 48 28 3C 65 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800B8980 000B58E0 90 61 00 28 */ stw r3, 0x28(r1) +lbl_800B8984: +/* 800B8984 000B58E4 80 81 00 28 */ lwz r4, 0x28(r1) +/* 800B8988 000B58E8 38 60 00 00 */ li r3, 0 +/* 800B898C 000B58EC 90 61 00 10 */ stw r3, 0x10(r1) +/* 800B8990 000B58F0 7C 04 18 40 */ cmplw r4, r3 +/* 800B8994 000B58F4 40 82 00 10 */ bne lbl_800B89A4 +/* 800B8998 000B58F8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800B899C 000B58FC 7C 00 D0 40 */ cmplw r0, r26 +/* 800B89A0 000B5900 41 82 00 08 */ beq lbl_800B89A8 +lbl_800B89A4: +/* 800B89A4 000B5904 38 60 00 01 */ li r3, 1 +lbl_800B89A8: +/* 800B89A8 000B5908 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B89AC 000B590C 40 82 F9 00 */ bne lbl_800B82AC +/* 800B89B0 000B5910 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 +/* 800B89B4 000B5914 CB E1 02 B0 */ lfd f31, 0x2b0(r1) +/* 800B89B8 000B5918 BA C1 02 88 */ lmw r22, 0x288(r1) +/* 800B89BC 000B591C 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 800B89C0 000B5920 7C 08 03 A6 */ mtlr r0 +/* 800B89C4 000B5924 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 800B89C8 000B5928 4E 80 00 20 */ blr + +.global Update__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManager +Update__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManager: +/* 800B89CC 000B592C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800B89D0 000B5930 7C 08 02 A6 */ mflr r0 +/* 800B89D4 000B5934 90 01 00 34 */ stw r0, 0x34(r1) +/* 800B89D8 000B5938 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 800B89DC 000B593C FF E0 08 90 */ fmr f31, f1 +/* 800B89E0 000B5940 BF 41 00 10 */ stmw r26, 0x10(r1) +/* 800B89E4 000B5944 7C 7A 1B 78 */ mr r26, r3 +/* 800B89E8 000B5948 7C 9B 23 78 */ mr r27, r4 +/* 800B89EC 000B594C 7C BC 2B 78 */ mr r28, r5 +/* 800B89F0 000B5950 7C DD 33 78 */ mr r29, r6 +/* 800B89F4 000B5954 7C FE 3B 78 */ mr r30, r7 +/* 800B89F8 000B5958 7D 1F 43 78 */ mr r31, r8 +/* 800B89FC 000B595C 88 03 00 B4 */ lbz r0, 0xb4(r3) +/* 800B8A00 000B5960 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800B8A04 000B5964 41 82 01 1C */ beq lbl_800B8B20 +/* 800B8A08 000B5968 7F 63 DB 78 */ mr r3, r27 +/* 800B8A0C 000B596C 7F 84 E3 78 */ mr r4, r28 +/* 800B8A10 000B5970 7F A5 EB 78 */ mr r5, r29 +/* 800B8A14 000B5974 7F C6 F3 78 */ mr r6, r30 +/* 800B8A18 000B5978 7F E7 FB 78 */ mr r7, r31 +/* 800B8A1C 000B597C 39 1A 00 3C */ addi r8, r26, 0x3c +/* 800B8A20 000B5980 39 20 00 01 */ li r9, 1 +/* 800B8A24 000B5984 4B FF F8 39 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" +/* 800B8A28 000B5988 FC 20 F8 90 */ fmr f1, f31 +/* 800B8A2C 000B598C 7F 63 DB 78 */ mr r3, r27 +/* 800B8A30 000B5990 7F 84 E3 78 */ mr r4, r28 +/* 800B8A34 000B5994 7F A5 EB 78 */ mr r5, r29 +/* 800B8A38 000B5998 7F C6 F3 78 */ mr r6, r30 +/* 800B8A3C 000B599C 7F E7 FB 78 */ mr r7, r31 +/* 800B8A40 000B59A0 39 1A 00 50 */ addi r8, r26, 0x50 +/* 800B8A44 000B59A4 39 20 00 01 */ li r9, 1 +/* 800B8A48 000B59A8 4B FF F8 15 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" +/* 800B8A4C 000B59AC FC 20 F8 90 */ fmr f1, f31 +/* 800B8A50 000B59B0 7F 63 DB 78 */ mr r3, r27 +/* 800B8A54 000B59B4 7F 84 E3 78 */ mr r4, r28 +/* 800B8A58 000B59B8 7F A5 EB 78 */ mr r5, r29 +/* 800B8A5C 000B59BC 7F C6 F3 78 */ mr r6, r30 +/* 800B8A60 000B59C0 7F E7 FB 78 */ mr r7, r31 +/* 800B8A64 000B59C4 39 1A 00 64 */ addi r8, r26, 0x64 +/* 800B8A68 000B59C8 39 20 00 01 */ li r9, 1 +/* 800B8A6C 000B59CC 4B FF F7 F1 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" +/* 800B8A70 000B59D0 FC 20 F8 90 */ fmr f1, f31 +/* 800B8A74 000B59D4 7F 63 DB 78 */ mr r3, r27 +/* 800B8A78 000B59D8 7F 84 E3 78 */ mr r4, r28 +/* 800B8A7C 000B59DC 7F A5 EB 78 */ mr r5, r29 +/* 800B8A80 000B59E0 7F C6 F3 78 */ mr r6, r30 +/* 800B8A84 000B59E4 7F E7 FB 78 */ mr r7, r31 +/* 800B8A88 000B59E8 39 1A 00 78 */ addi r8, r26, 0x78 +/* 800B8A8C 000B59EC 39 20 00 00 */ li r9, 0 +/* 800B8A90 000B59F0 4B FF F7 CD */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" +/* 800B8A94 000B59F4 FC 20 F8 90 */ fmr f1, f31 +/* 800B8A98 000B59F8 7F 63 DB 78 */ mr r3, r27 +/* 800B8A9C 000B59FC 7F 84 E3 78 */ mr r4, r28 +/* 800B8AA0 000B5A00 7F A5 EB 78 */ mr r5, r29 +/* 800B8AA4 000B5A04 7F C6 F3 78 */ mr r6, r30 +/* 800B8AA8 000B5A08 7F E7 FB 78 */ mr r7, r31 +/* 800B8AAC 000B5A0C 39 1A 00 8C */ addi r8, r26, 0x8c +/* 800B8AB0 000B5A10 39 20 00 00 */ li r9, 0 +/* 800B8AB4 000B5A14 4B FF F7 A9 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" +/* 800B8AB8 000B5A18 FC 20 F8 90 */ fmr f1, f31 +/* 800B8ABC 000B5A1C 7F 63 DB 78 */ mr r3, r27 +/* 800B8AC0 000B5A20 7F 84 E3 78 */ mr r4, r28 +/* 800B8AC4 000B5A24 7F A5 EB 78 */ mr r5, r29 +/* 800B8AC8 000B5A28 7F C6 F3 78 */ mr r6, r30 +/* 800B8ACC 000B5A2C 7F E7 FB 78 */ mr r7, r31 +/* 800B8AD0 000B5A30 39 1A 00 A0 */ addi r8, r26, 0xa0 +/* 800B8AD4 000B5A34 39 20 00 00 */ li r9, 0 +/* 800B8AD8 000B5A38 4B FF F7 85 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" +/* 800B8ADC 000B5A3C 80 1A 00 54 */ lwz r0, 0x54(r26) +/* 800B8AE0 000B5A40 38 60 00 00 */ li r3, 0 +/* 800B8AE4 000B5A44 2C 00 00 00 */ cmpwi r0, 0 +/* 800B8AE8 000B5A48 40 82 00 28 */ bne lbl_800B8B10 +/* 800B8AEC 000B5A4C 80 1A 00 68 */ lwz r0, 0x68(r26) +/* 800B8AF0 000B5A50 2C 00 00 00 */ cmpwi r0, 0 +/* 800B8AF4 000B5A54 40 82 00 1C */ bne lbl_800B8B10 +/* 800B8AF8 000B5A58 80 1A 00 90 */ lwz r0, 0x90(r26) +/* 800B8AFC 000B5A5C 2C 00 00 00 */ cmpwi r0, 0 +/* 800B8B00 000B5A60 40 82 00 10 */ bne lbl_800B8B10 +/* 800B8B04 000B5A64 80 1A 00 A4 */ lwz r0, 0xa4(r26) +/* 800B8B08 000B5A68 2C 00 00 00 */ cmpwi r0, 0 +/* 800B8B0C 000B5A6C 41 82 00 08 */ beq lbl_800B8B14 +lbl_800B8B10: +/* 800B8B10 000B5A70 38 60 00 01 */ li r3, 1 +lbl_800B8B14: +/* 800B8B14 000B5A74 88 1A 00 B4 */ lbz r0, 0xb4(r26) +/* 800B8B18 000B5A78 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800B8B1C 000B5A7C 98 1A 00 B4 */ stb r0, 0xb4(r26) +lbl_800B8B20: +/* 800B8B20 000B5A80 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 800B8B24 000B5A84 BB 41 00 10 */ lmw r26, 0x10(r1) +/* 800B8B28 000B5A88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800B8B2C 000B5A8C 7C 08 03 A6 */ mtlr r0 +/* 800B8B30 000B5A90 38 21 00 30 */ addi r1, r1, 0x30 +/* 800B8B34 000B5A94 4E 80 00 20 */ blr + +.global GetParticleSystem__23CParticleGenInfoGenericCFv +GetParticleSystem__23CParticleGenInfoGenericCFv: +/* 800B8B38 000B5A98 80 04 00 84 */ lwz r0, 0x84(r4) +/* 800B8B3C 000B5A9C 90 03 00 00 */ stw r0, 0(r3) +/* 800B8B40 000B5AA0 80 83 00 00 */ lwz r4, 0(r3) +/* 800B8B44 000B5AA4 80 64 00 04 */ lwz r3, 4(r4) +/* 800B8B48 000B5AA8 38 03 00 01 */ addi r0, r3, 1 +/* 800B8B4C 000B5AAC 90 04 00 04 */ stw r0, 4(r4) +/* 800B8B50 000B5AB0 4E 80 00 20 */ blr + +.global "SetCEXTValue__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if" +"SetCEXTValue__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if": +/* 800B8B54 000B5AB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B8B58 000B5AB8 7C 08 02 A6 */ mflr r0 +/* 800B8B5C 000B5ABC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B8B60 000B5AC0 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 800B8B64 000B5AC4 FF E0 08 90 */ fmr f31, f1 +/* 800B8B68 000B5AC8 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800B8B6C 000B5ACC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800B8B70 000B5AD0 7C BE 2B 78 */ mr r30, r5 +/* 800B8B74 000B5AD4 48 00 00 E9 */ bl "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800B8B78 000B5AD8 28 03 00 00 */ cmplwi r3, 0 +/* 800B8B7C 000B5ADC 41 82 00 30 */ beq lbl_800B8BAC +/* 800B8B80 000B5AE0 7C 64 1B 78 */ mr r4, r3 +/* 800B8B84 000B5AE4 38 61 00 08 */ addi r3, r1, 8 +/* 800B8B88 000B5AE8 4B FF FF B1 */ bl GetParticleSystem__23CParticleGenInfoGenericCFv +/* 800B8B8C 000B5AEC 80 81 00 08 */ lwz r4, 8(r1) +/* 800B8B90 000B5AF0 38 61 00 08 */ addi r3, r1, 8 +/* 800B8B94 000B5AF4 83 E4 00 00 */ lwz r31, 0(r4) +/* 800B8B98 000B5AF8 4B FF EE 69 */ bl sub_800b7a00 +/* 800B8B9C 000B5AFC FC 20 F8 90 */ fmr f1, f31 +/* 800B8BA0 000B5B00 7F E3 FB 78 */ mr r3, r31 +/* 800B8BA4 000B5B04 7F C4 F3 78 */ mr r4, r30 +/* 800B8BA8 000B5B08 48 25 EA D5 */ bl SetCEXTValue__11CElementGenFif +lbl_800B8BAC: +/* 800B8BAC 000B5B0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B8BB0 000B5B10 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 800B8BB4 000B5B14 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800B8BB8 000B5B18 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 800B8BBC 000B5B1C 7C 08 03 A6 */ mtlr r0 +/* 800B8BC0 000B5B20 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B8BC4 000B5B24 4E 80 00 20 */ blr + +.global "SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager" +"SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager": +/* 800B8BC8 000B5B28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B8BCC 000B5B2C 7C 08 02 A6 */ mflr r0 +/* 800B8BD0 000B5B30 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B8BD4 000B5B34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B8BD8 000B5B38 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B8BDC 000B5B3C 7C DE 33 78 */ mr r30, r6 +/* 800B8BE0 000B5B40 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B8BE4 000B5B44 7C BD 2B 78 */ mr r29, r5 +/* 800B8BE8 000B5B48 48 00 00 75 */ bl "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800B8BEC 000B5B4C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800B8BF0 000B5B50 41 82 00 50 */ beq lbl_800B8C40 +/* 800B8BF4 000B5B54 81 83 00 00 */ lwz r12, 0(r3) +/* 800B8BF8 000B5B58 7F A4 EB 78 */ mr r4, r29 +/* 800B8BFC 000B5B5C 7F C5 F3 78 */ mr r5, r30 +/* 800B8C00 000B5B60 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800B8C04 000B5B64 7D 89 03 A6 */ mtctr r12 +/* 800B8C08 000B5B68 4E 80 04 21 */ bctrl +/* 800B8C0C 000B5B6C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 800B8C10 000B5B70 9B BF 00 24 */ stb r29, 0x24(r31) +/* 800B8C14 000B5B74 40 82 00 24 */ bne lbl_800B8C38 +/* 800B8C18 000B5B78 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 800B8C1C 000B5B7C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800B8C20 000B5B80 41 82 00 18 */ beq lbl_800B8C38 +/* 800B8C24 000B5B84 7F E3 FB 78 */ mr r3, r31 +/* 800B8C28 000B5B88 81 9F 00 00 */ lwz r12, 0(r31) +/* 800B8C2C 000B5B8C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 800B8C30 000B5B90 7D 89 03 A6 */ mtctr r12 +/* 800B8C34 000B5B94 4E 80 04 21 */ bctrl +lbl_800B8C38: +/* 800B8C38 000B5B98 38 00 00 01 */ li r0, 1 +/* 800B8C3C 000B5B9C 98 1F 00 40 */ stb r0, 0x40(r31) +lbl_800B8C40: +/* 800B8C40 000B5BA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B8C44 000B5BA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B8C48 000B5BA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B8C4C 000B5BAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B8C50 000B5BB0 7C 08 03 A6 */ mtlr r0 +/* 800B8C54 000B5BB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B8C58 000B5BB8 4E 80 00 20 */ blr + +.global "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 800B8C5C 000B5BBC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800B8C60 000B5BC0 7C 08 02 A6 */ mflr r0 +/* 800B8C64 000B5BC4 90 01 00 74 */ stw r0, 0x74(r1) +/* 800B8C68 000B5BC8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800B8C6C 000B5BCC 7C 9F 23 78 */ mr r31, r4 +/* 800B8C70 000B5BD0 7F E5 FB 78 */ mr r5, r31 +/* 800B8C74 000B5BD4 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800B8C78 000B5BD8 7C 7E 1B 78 */ mr r30, r3 +/* 800B8C7C 000B5BDC 38 61 00 60 */ addi r3, r1, 0x60 +/* 800B8C80 000B5BE0 38 9E 00 3C */ addi r4, r30, 0x3c +/* 800B8C84 000B5BE4 48 00 01 D9 */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" +/* 800B8C88 000B5BE8 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 800B8C8C 000B5BEC 38 60 00 00 */ li r3, 0 +/* 800B8C90 000B5BF0 38 1E 00 44 */ addi r0, r30, 0x44 +/* 800B8C94 000B5BF4 90 61 00 58 */ stw r3, 0x58(r1) +/* 800B8C98 000B5BF8 7C 05 18 40 */ cmplw r5, r3 +/* 800B8C9C 000B5BFC 80 81 00 64 */ lwz r4, 0x64(r1) +/* 800B8CA0 000B5C00 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800B8CA4 000B5C04 40 82 00 0C */ bne lbl_800B8CB0 +/* 800B8CA8 000B5C08 7C 04 00 40 */ cmplw r4, r0 +/* 800B8CAC 000B5C0C 41 82 00 08 */ beq lbl_800B8CB4 +lbl_800B8CB0: +/* 800B8CB0 000B5C10 38 60 00 01 */ li r3, 1 +lbl_800B8CB4: +/* 800B8CB4 000B5C14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B8CB8 000B5C18 41 82 00 0C */ beq lbl_800B8CC4 +/* 800B8CBC 000B5C1C 80 65 00 24 */ lwz r3, 0x24(r5) +/* 800B8CC0 000B5C20 48 00 01 84 */ b lbl_800B8E44 +lbl_800B8CC4: +/* 800B8CC4 000B5C24 7F E5 FB 78 */ mr r5, r31 +/* 800B8CC8 000B5C28 38 61 00 50 */ addi r3, r1, 0x50 +/* 800B8CCC 000B5C2C 38 9E 00 50 */ addi r4, r30, 0x50 +/* 800B8CD0 000B5C30 48 00 01 8D */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" +/* 800B8CD4 000B5C34 80 81 00 50 */ lwz r4, 0x50(r1) +/* 800B8CD8 000B5C38 38 60 00 00 */ li r3, 0 +/* 800B8CDC 000B5C3C 38 1E 00 58 */ addi r0, r30, 0x58 +/* 800B8CE0 000B5C40 90 61 00 48 */ stw r3, 0x48(r1) +/* 800B8CE4 000B5C44 7C 04 18 40 */ cmplw r4, r3 +/* 800B8CE8 000B5C48 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 800B8CEC 000B5C4C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800B8CF0 000B5C50 40 82 00 0C */ bne lbl_800B8CFC +/* 800B8CF4 000B5C54 7C 05 00 40 */ cmplw r5, r0 +/* 800B8CF8 000B5C58 41 82 00 08 */ beq lbl_800B8D00 +lbl_800B8CFC: +/* 800B8CFC 000B5C5C 38 60 00 01 */ li r3, 1 +lbl_800B8D00: +/* 800B8D00 000B5C60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B8D04 000B5C64 41 82 00 0C */ beq lbl_800B8D10 +/* 800B8D08 000B5C68 80 64 00 24 */ lwz r3, 0x24(r4) +/* 800B8D0C 000B5C6C 48 00 01 38 */ b lbl_800B8E44 +lbl_800B8D10: +/* 800B8D10 000B5C70 7F E5 FB 78 */ mr r5, r31 +/* 800B8D14 000B5C74 38 61 00 40 */ addi r3, r1, 0x40 +/* 800B8D18 000B5C78 38 9E 00 64 */ addi r4, r30, 0x64 +/* 800B8D1C 000B5C7C 48 00 01 41 */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" +/* 800B8D20 000B5C80 80 81 00 40 */ lwz r4, 0x40(r1) +/* 800B8D24 000B5C84 38 60 00 00 */ li r3, 0 +/* 800B8D28 000B5C88 38 1E 00 6C */ addi r0, r30, 0x6c +/* 800B8D2C 000B5C8C 90 61 00 38 */ stw r3, 0x38(r1) +/* 800B8D30 000B5C90 7C 04 18 40 */ cmplw r4, r3 +/* 800B8D34 000B5C94 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 800B8D38 000B5C98 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800B8D3C 000B5C9C 40 82 00 0C */ bne lbl_800B8D48 +/* 800B8D40 000B5CA0 7C 05 00 40 */ cmplw r5, r0 +/* 800B8D44 000B5CA4 41 82 00 08 */ beq lbl_800B8D4C +lbl_800B8D48: +/* 800B8D48 000B5CA8 38 60 00 01 */ li r3, 1 +lbl_800B8D4C: +/* 800B8D4C 000B5CAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B8D50 000B5CB0 41 82 00 0C */ beq lbl_800B8D5C +/* 800B8D54 000B5CB4 80 64 00 24 */ lwz r3, 0x24(r4) +/* 800B8D58 000B5CB8 48 00 00 EC */ b lbl_800B8E44 +lbl_800B8D5C: +/* 800B8D5C 000B5CBC 7F E5 FB 78 */ mr r5, r31 +/* 800B8D60 000B5CC0 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B8D64 000B5CC4 38 9E 00 78 */ addi r4, r30, 0x78 +/* 800B8D68 000B5CC8 48 00 00 F5 */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" +/* 800B8D6C 000B5CCC 80 81 00 30 */ lwz r4, 0x30(r1) +/* 800B8D70 000B5CD0 38 60 00 00 */ li r3, 0 +/* 800B8D74 000B5CD4 38 1E 00 80 */ addi r0, r30, 0x80 +/* 800B8D78 000B5CD8 90 61 00 28 */ stw r3, 0x28(r1) +/* 800B8D7C 000B5CDC 7C 04 18 40 */ cmplw r4, r3 +/* 800B8D80 000B5CE0 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800B8D84 000B5CE4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800B8D88 000B5CE8 40 82 00 0C */ bne lbl_800B8D94 +/* 800B8D8C 000B5CEC 7C 05 00 40 */ cmplw r5, r0 +/* 800B8D90 000B5CF0 41 82 00 08 */ beq lbl_800B8D98 +lbl_800B8D94: +/* 800B8D94 000B5CF4 38 60 00 01 */ li r3, 1 +lbl_800B8D98: +/* 800B8D98 000B5CF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B8D9C 000B5CFC 41 82 00 0C */ beq lbl_800B8DA8 +/* 800B8DA0 000B5D00 80 64 00 24 */ lwz r3, 0x24(r4) +/* 800B8DA4 000B5D04 48 00 00 A0 */ b lbl_800B8E44 +lbl_800B8DA8: +/* 800B8DA8 000B5D08 7F E5 FB 78 */ mr r5, r31 +/* 800B8DAC 000B5D0C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B8DB0 000B5D10 38 9E 00 8C */ addi r4, r30, 0x8c +/* 800B8DB4 000B5D14 48 00 00 A9 */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" +/* 800B8DB8 000B5D18 80 81 00 20 */ lwz r4, 0x20(r1) +/* 800B8DBC 000B5D1C 38 60 00 00 */ li r3, 0 +/* 800B8DC0 000B5D20 38 1E 00 94 */ addi r0, r30, 0x94 +/* 800B8DC4 000B5D24 90 61 00 18 */ stw r3, 0x18(r1) +/* 800B8DC8 000B5D28 7C 04 18 40 */ cmplw r4, r3 +/* 800B8DCC 000B5D2C 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800B8DD0 000B5D30 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800B8DD4 000B5D34 40 82 00 0C */ bne lbl_800B8DE0 +/* 800B8DD8 000B5D38 7C 05 00 40 */ cmplw r5, r0 +/* 800B8DDC 000B5D3C 41 82 00 08 */ beq lbl_800B8DE4 +lbl_800B8DE0: +/* 800B8DE0 000B5D40 38 60 00 01 */ li r3, 1 +lbl_800B8DE4: +/* 800B8DE4 000B5D44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B8DE8 000B5D48 41 82 00 0C */ beq lbl_800B8DF4 +/* 800B8DEC 000B5D4C 80 64 00 24 */ lwz r3, 0x24(r4) +/* 800B8DF0 000B5D50 48 00 00 54 */ b lbl_800B8E44 +lbl_800B8DF4: +/* 800B8DF4 000B5D54 7F E5 FB 78 */ mr r5, r31 +/* 800B8DF8 000B5D58 38 61 00 10 */ addi r3, r1, 0x10 +/* 800B8DFC 000B5D5C 38 9E 00 A0 */ addi r4, r30, 0xa0 +/* 800B8E00 000B5D60 48 00 00 5D */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" +/* 800B8E04 000B5D64 80 81 00 10 */ lwz r4, 0x10(r1) +/* 800B8E08 000B5D68 38 60 00 00 */ li r3, 0 +/* 800B8E0C 000B5D6C 38 1E 00 A8 */ addi r0, r30, 0xa8 +/* 800B8E10 000B5D70 90 61 00 08 */ stw r3, 8(r1) +/* 800B8E14 000B5D74 7C 04 18 40 */ cmplw r4, r3 +/* 800B8E18 000B5D78 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 800B8E1C 000B5D7C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800B8E20 000B5D80 40 82 00 0C */ bne lbl_800B8E2C +/* 800B8E24 000B5D84 7C 05 00 40 */ cmplw r5, r0 +/* 800B8E28 000B5D88 41 82 00 08 */ beq lbl_800B8E30 +lbl_800B8E2C: +/* 800B8E2C 000B5D8C 38 60 00 01 */ li r3, 1 +lbl_800B8E30: +/* 800B8E30 000B5D90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B8E34 000B5D94 41 82 00 0C */ beq lbl_800B8E40 +/* 800B8E38 000B5D98 80 64 00 24 */ lwz r3, 0x24(r4) +/* 800B8E3C 000B5D9C 48 00 00 08 */ b lbl_800B8E44 +lbl_800B8E40: +/* 800B8E40 000B5DA0 38 60 00 00 */ li r3, 0 +lbl_800B8E44: +/* 800B8E44 000B5DA4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800B8E48 000B5DA8 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800B8E4C 000B5DAC 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800B8E50 000B5DB0 7C 08 03 A6 */ mtlr r0 +/* 800B8E54 000B5DB4 38 21 00 70 */ addi r1, r1, 0x70 +/* 800B8E58 000B5DB8 4E 80 00 20 */ blr + +.global "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" +"find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR": +/* 800B8E5C 000B5DBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800B8E60 000B5DC0 7C 08 02 A6 */ mflr r0 +/* 800B8E64 000B5DC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B8E68 000B5DC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800B8E6C 000B5DCC 7C 9F 23 78 */ mr r31, r4 +/* 800B8E70 000B5DD0 7C A4 2B 78 */ mr r4, r5 +/* 800B8E74 000B5DD4 93 C1 00 08 */ stw r30, 8(r1) +/* 800B8E78 000B5DD8 7C 7E 1B 78 */ mr r30, r3 +/* 800B8E7C 000B5DDC 7F E3 FB 78 */ mr r3, r31 +/* 800B8E80 000B5DE0 48 00 00 29 */ bl "find_node__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocat" +/* 800B8E84 000B5DE4 90 7E 00 00 */ stw r3, 0(r30) +/* 800B8E88 000B5DE8 38 1F 00 08 */ addi r0, r31, 8 +/* 800B8E8C 000B5DEC 90 1E 00 04 */ stw r0, 4(r30) +/* 800B8E90 000B5DF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800B8E94 000B5DF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800B8E98 000B5DF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 800B8E9C 000B5DFC 7C 08 03 A6 */ mtlr r0 +/* 800B8EA0 000B5E00 38 21 00 10 */ addi r1, r1, 0x10 +/* 800B8EA4 000B5E04 4E 80 00 20 */ blr + +.global "find_node__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocat" +"find_node__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocat": +/* 800B8EA8 000B5E08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800B8EAC 000B5E0C 7C 08 02 A6 */ mflr r0 +/* 800B8EB0 000B5E10 90 01 00 24 */ stw r0, 0x24(r1) +/* 800B8EB4 000B5E14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800B8EB8 000B5E18 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800B8EBC 000B5E1C 3B C0 00 00 */ li r30, 0 +/* 800B8EC0 000B5E20 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800B8EC4 000B5E24 7C 9D 23 78 */ mr r29, r4 +/* 800B8EC8 000B5E28 93 81 00 10 */ stw r28, 0x10(r1) +/* 800B8ECC 000B5E2C 7C 7C 1B 78 */ mr r28, r3 +/* 800B8ED0 000B5E30 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 800B8ED4 000B5E34 48 00 00 2C */ b lbl_800B8F00 +lbl_800B8ED8: +/* 800B8ED8 000B5E38 7F A5 EB 78 */ mr r5, r29 +/* 800B8EDC 000B5E3C 38 7C 00 01 */ addi r3, r28, 1 +/* 800B8EE0 000B5E40 38 9F 00 10 */ addi r4, r31, 0x10 +/* 800B8EE4 000B5E44 4B F7 18 45 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 800B8EE8 000B5E48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B8EEC 000B5E4C 40 82 00 10 */ bne lbl_800B8EFC +/* 800B8EF0 000B5E50 7F FE FB 78 */ mr r30, r31 +/* 800B8EF4 000B5E54 83 FF 00 00 */ lwz r31, 0(r31) +/* 800B8EF8 000B5E58 48 00 00 08 */ b lbl_800B8F00 +lbl_800B8EFC: +/* 800B8EFC 000B5E5C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_800B8F00: +/* 800B8F00 000B5E60 28 1F 00 00 */ cmplwi r31, 0 +/* 800B8F04 000B5E64 40 82 FF D4 */ bne lbl_800B8ED8 +/* 800B8F08 000B5E68 28 1E 00 00 */ cmplwi r30, 0 +/* 800B8F0C 000B5E6C 3B E0 00 00 */ li r31, 0 +/* 800B8F10 000B5E70 41 82 00 1C */ beq lbl_800B8F2C +/* 800B8F14 000B5E74 7F A4 EB 78 */ mr r4, r29 +/* 800B8F18 000B5E78 38 7C 00 01 */ addi r3, r28, 1 +/* 800B8F1C 000B5E7C 38 BE 00 10 */ addi r5, r30, 0x10 +/* 800B8F20 000B5E80 4B F7 18 09 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 800B8F24 000B5E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B8F28 000B5E88 41 82 00 08 */ beq lbl_800B8F30 +lbl_800B8F2C: +/* 800B8F2C 000B5E8C 3B E0 00 01 */ li r31, 1 +lbl_800B8F30: +/* 800B8F30 000B5E90 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800B8F34 000B5E94 41 82 00 0C */ beq lbl_800B8F40 +/* 800B8F38 000B5E98 38 60 00 00 */ li r3, 0 +/* 800B8F3C 000B5E9C 48 00 00 08 */ b lbl_800B8F44 +lbl_800B8F40: +/* 800B8F40 000B5EA0 7F C3 F3 78 */ mr r3, r30 +lbl_800B8F44: +/* 800B8F44 000B5EA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800B8F48 000B5EA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800B8F4C 000B5EAC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800B8F50 000B5EB0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800B8F54 000B5EB4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800B8F58 000B5EB8 7C 08 03 A6 */ mtlr r0 +/* 800B8F5C 000B5EBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 800B8F60 000B5EC0 4E 80 00 20 */ blr + +.global "AddAuxiliaryParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC22CAuxiliaryParticleDataRC9CVector3fR13CStateManager7TAreaIdi" +"AddAuxiliaryParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC22CAuxiliaryParticleDataRC9CVector3fR13CStateManager7TAreaIdi": +/* 800B8F64 000B5EC4 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800B8F68 000B5EC8 7C 08 02 A6 */ mflr r0 +/* 800B8F6C 000B5ECC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800B8F70 000B5ED0 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 800B8F74 000B5ED4 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 800B8F78 000B5ED8 BE A1 00 84 */ stmw r21, 0x84(r1) +/* 800B8F7C 000B5EDC 7C DE 33 78 */ mr r30, r6 +/* 800B8F80 000B5EE0 7C 7C 1B 78 */ mr r28, r3 +/* 800B8F84 000B5EE4 80 C6 00 08 */ lwz r6, 8(r6) +/* 800B8F88 000B5EE8 7C 9B 23 78 */ mr r27, r4 +/* 800B8F8C 000B5EEC 80 1E 00 04 */ lwz r0, 4(r30) +/* 800B8F90 000B5EF0 7C BD 2B 78 */ mr r29, r5 +/* 800B8F94 000B5EF4 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800B8F98 000B5EF8 7C F6 3B 78 */ mr r22, r7 +/* 800B8F9C 000B5EFC 83 5E 00 00 */ lwz r26, 0(r30) +/* 800B8FA0 000B5F00 7D 1F 43 78 */ mr r31, r8 +/* 800B8FA4 000B5F04 90 01 00 48 */ stw r0, 0x48(r1) +/* 800B8FA8 000B5F08 7D 39 4B 78 */ mr r25, r9 +/* 800B8FAC 000B5F0C C3 FE 00 18 */ lfs f31, 0x18(r30) +/* 800B8FB0 000B5F10 7D 57 53 78 */ mr r23, r10 +/* 800B8FB4 000B5F14 4B FF FC A9 */ bl "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800B8FB8 000B5F18 7C 75 1B 79 */ or. r21, r3, r3 +/* 800B8FBC 000B5F1C 40 82 03 88 */ bne lbl_800B9344 +/* 800B8FC0 000B5F20 C0 02 8D 2C */ lfs f0, lbl_805AAA4C@sda21(r2) +/* 800B8FC4 000B5F24 57 A0 07 BD */ rlwinm. r0, r29, 0, 0x1e, 0x1e +/* 800B8FC8 000B5F28 80 61 00 48 */ lwz r3, 0x48(r1) +/* 800B8FCC 000B5F2C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800B8FD0 000B5F30 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800B8FD4 000B5F34 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800B8FD8 000B5F38 41 82 00 18 */ beq lbl_800B8FF0 +/* 800B8FDC 000B5F3C EC 00 07 F2 */ fmuls f0, f0, f31 +/* 800B8FE0 000B5F40 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800B8FE4 000B5F44 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800B8FE8 000B5F48 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800B8FEC 000B5F4C 48 00 00 28 */ b lbl_800B9014 +lbl_800B8FF0: +/* 800B8FF0 000B5F50 C0 56 00 08 */ lfs f2, 8(r22) +/* 800B8FF4 000B5F54 C0 36 00 04 */ lfs f1, 4(r22) +/* 800B8FF8 000B5F58 C0 16 00 00 */ lfs f0, 0(r22) +/* 800B8FFC 000B5F5C EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 800B9000 000B5F60 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 800B9004 000B5F64 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800B9008 000B5F68 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 800B900C 000B5F6C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800B9010 000B5F70 D0 21 00 70 */ stfs f1, 0x70(r1) +lbl_800B9014: +/* 800B9014 000B5F74 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 800B9018 000B5F78 3B 00 00 00 */ li r24, 0 +/* 800B901C 000B5F7C 28 00 52 54 */ cmplwi r0, 0x5254 +/* 800B9020 000B5F80 9B 01 00 40 */ stb r24, 0x40(r1) +/* 800B9024 000B5F84 93 01 00 44 */ stw r24, 0x44(r1) +/* 800B9028 000B5F88 40 82 02 EC */ bne lbl_800B9314 +/* 800B902C 000B5F8C 80 BC 00 10 */ lwz r5, 0x10(r28) +/* 800B9030 000B5F90 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800B9034 000B5F94 48 00 00 20 */ b lbl_800B9054 +lbl_800B9038: +/* 800B9038 000B5F98 80 85 00 10 */ lwz r4, 0x10(r5) +/* 800B903C 000B5F9C 7C 04 00 40 */ cmplw r4, r0 +/* 800B9040 000B5FA0 41 80 00 10 */ blt lbl_800B9050 +/* 800B9044 000B5FA4 7C B8 2B 78 */ mr r24, r5 +/* 800B9048 000B5FA8 80 A5 00 00 */ lwz r5, 0(r5) +/* 800B904C 000B5FAC 48 00 00 08 */ b lbl_800B9054 +lbl_800B9050: +/* 800B9050 000B5FB0 80 A5 00 04 */ lwz r5, 4(r5) +lbl_800B9054: +/* 800B9054 000B5FB4 28 05 00 00 */ cmplwi r5, 0 +/* 800B9058 000B5FB8 40 82 FF E0 */ bne lbl_800B9038 +/* 800B905C 000B5FBC 28 18 00 00 */ cmplwi r24, 0 +/* 800B9060 000B5FC0 38 A0 00 00 */ li r5, 0 +/* 800B9064 000B5FC4 41 82 00 14 */ beq lbl_800B9078 +/* 800B9068 000B5FC8 80 81 00 4C */ lwz r4, 0x4c(r1) +/* 800B906C 000B5FCC 80 18 00 10 */ lwz r0, 0x10(r24) +/* 800B9070 000B5FD0 7C 04 00 40 */ cmplw r4, r0 +/* 800B9074 000B5FD4 40 80 00 08 */ bge lbl_800B907C +lbl_800B9078: +/* 800B9078 000B5FD8 38 A0 00 01 */ li r5, 1 +lbl_800B907C: +/* 800B907C 000B5FDC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 800B9080 000B5FE0 41 82 00 08 */ beq lbl_800B9088 +/* 800B9084 000B5FE4 3B 00 00 00 */ li r24, 0 +lbl_800B9088: +/* 800B9088 000B5FE8 38 00 00 00 */ li r0, 0 +/* 800B908C 000B5FEC 38 9C 00 08 */ addi r4, r28, 8 +/* 800B9090 000B5FF0 7C 18 00 40 */ cmplw r24, r0 +/* 800B9094 000B5FF4 90 01 00 38 */ stw r0, 0x38(r1) +/* 800B9098 000B5FF8 90 81 00 3C */ stw r4, 0x3c(r1) +/* 800B909C 000B5FFC 40 82 00 0C */ bne lbl_800B90A8 +/* 800B90A0 000B6000 7C 04 20 40 */ cmplw r4, r4 +/* 800B90A4 000B6004 41 82 00 08 */ beq lbl_800B90AC +lbl_800B90A8: +/* 800B90A8 000B6008 38 00 00 01 */ li r0, 1 +lbl_800B90AC: +/* 800B90AC 000B600C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B90B0 000B6010 41 82 02 60 */ beq lbl_800B9310 +/* 800B90B4 000B6014 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800B90B8 000B6018 3A C0 00 00 */ li r22, 0 +/* 800B90BC 000B601C 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800B90C0 000B6020 38 A0 00 00 */ li r5, 0 +/* 800B90C4 000B6024 38 60 03 40 */ li r3, 0x340 +/* 800B90C8 000B6028 48 25 C7 A5 */ bl __nw__FUlPCcPCc +/* 800B90CC 000B602C 7C 75 1B 79 */ or. r21, r3, r3 +/* 800B90D0 000B6030 41 82 00 30 */ beq lbl_800B9100 +/* 800B90D4 000B6034 80 98 00 14 */ lwz r4, 0x14(r24) +/* 800B90D8 000B6038 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B90DC 000B603C 80 84 00 00 */ lwz r4, 0(r4) +/* 800B90E0 000B6040 48 28 7D C9 */ bl __ct__6CTokenFRC6CToken +/* 800B90E4 000B6044 7E A3 AB 78 */ mr r3, r21 +/* 800B90E8 000B6048 38 81 00 30 */ addi r4, r1, 0x30 +/* 800B90EC 000B604C 3A C0 00 01 */ li r22, 1 +/* 800B90F0 000B6050 38 A0 00 00 */ li r5, 0 +/* 800B90F4 000B6054 38 C0 00 01 */ li r6, 1 +/* 800B90F8 000B6058 48 26 62 E9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800B90FC 000B605C 7C 75 1B 78 */ mr r21, r3 +lbl_800B9100: +/* 800B9100 000B6060 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800B9104 000B6064 38 60 00 08 */ li r3, 8 +/* 800B9108 000B6068 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800B910C 000B606C 38 A0 00 00 */ li r5, 0 +/* 800B9110 000B6070 48 25 C7 5D */ bl __nw__FUlPCcPCc +/* 800B9114 000B6074 28 03 00 00 */ cmplwi r3, 0 +/* 800B9118 000B6078 41 82 00 10 */ beq lbl_800B9128 +/* 800B911C 000B607C 92 A3 00 00 */ stw r21, 0(r3) +/* 800B9120 000B6080 38 00 00 01 */ li r0, 1 +/* 800B9124 000B6084 90 03 00 04 */ stw r0, 4(r3) +lbl_800B9128: +/* 800B9128 000B6088 7E C0 07 75 */ extsb. r0, r22 +/* 800B912C 000B608C 90 61 00 24 */ stw r3, 0x24(r1) +/* 800B9130 000B6090 41 82 00 10 */ beq lbl_800B9140 +/* 800B9134 000B6094 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B9138 000B6098 38 80 00 00 */ li r4, 0 +/* 800B913C 000B609C 48 28 7D 05 */ bl __dt__6CTokenFv +lbl_800B9140: +/* 800B9140 000B60A0 80 98 00 14 */ lwz r4, 0x14(r24) +/* 800B9144 000B60A4 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B9148 000B60A8 80 84 00 00 */ lwz r4, 0(r4) +/* 800B914C 000B60AC 48 00 1B 09 */ bl "_getGraphicLightId,25TToken<15CGenDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC25TToken<15CGenDescription>" +/* 800B9150 000B60B0 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800B9154 000B60B4 7E F7 1A 14 */ add r23, r23, r3 +/* 800B9158 000B60B8 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800B915C 000B60BC 3A C0 00 00 */ li r22, 0 +/* 800B9160 000B60C0 3A A0 00 00 */ li r21, 0 +/* 800B9164 000B60C4 38 60 00 8C */ li r3, 0x8c +/* 800B9168 000B60C8 38 A0 00 00 */ li r5, 0 +/* 800B916C 000B60CC 48 25 C7 01 */ bl __nw__FUlPCcPCc +/* 800B9170 000B60D0 7C 78 1B 79 */ or. r24, r3, r3 +/* 800B9174 000B60D4 41 82 00 9C */ beq lbl_800B9210 +/* 800B9178 000B60D8 81 01 00 24 */ lwz r8, 0x24(r1) +/* 800B917C 000B60DC 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800B9180 000B60E0 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800B9184 000B60E4 38 61 00 50 */ addi r3, r1, 0x50 +/* 800B9188 000B60E8 91 01 00 1C */ stw r8, 0x1c(r1) +/* 800B918C 000B60EC 38 84 00 07 */ addi r4, r4, 7 +/* 800B9190 000B60F0 38 C1 00 18 */ addi r6, r1, 0x18 +/* 800B9194 000B60F4 3A A0 00 01 */ li r21, 1 +/* 800B9198 000B60F8 80 E8 00 04 */ lwz r7, 4(r8) +/* 800B919C 000B60FC 38 A0 FF FF */ li r5, -1 +/* 800B91A0 000B6100 38 07 00 01 */ addi r0, r7, 1 +/* 800B91A4 000B6104 90 08 00 04 */ stw r0, 4(r8) +/* 800B91A8 000B6108 48 28 4F ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 800B91AC 000B610C 80 81 00 6C */ lwz r4, 0x6c(r1) +/* 800B91B0 000B6110 39 61 00 20 */ addi r11, r1, 0x20 +/* 800B91B4 000B6114 80 E1 00 70 */ lwz r7, 0x70(r1) +/* 800B91B8 000B6118 38 00 00 01 */ li r0, 1 +/* 800B91BC 000B611C 81 21 00 74 */ lwz r9, 0x74(r1) +/* 800B91C0 000B6120 7F 03 C3 78 */ mr r3, r24 +/* 800B91C4 000B6124 81 99 00 00 */ lwz r12, 0(r25) +/* 800B91C8 000B6128 7F 46 D3 78 */ mr r6, r26 +/* 800B91CC 000B612C 90 81 00 60 */ stw r4, 0x60(r1) +/* 800B91D0 000B6130 7F AA EB 78 */ mr r10, r29 +/* 800B91D4 000B6134 38 81 00 48 */ addi r4, r1, 0x48 +/* 800B91D8 000B6138 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800B91DC 000B613C 90 E1 00 64 */ stw r7, 0x64(r1) +/* 800B91E0 000B6140 38 E1 00 50 */ addi r7, r1, 0x50 +/* 800B91E4 000B6144 39 01 00 60 */ addi r8, r1, 0x60 +/* 800B91E8 000B6148 3A C0 00 01 */ li r22, 1 +/* 800B91EC 000B614C 91 21 00 68 */ stw r9, 0x68(r1) +/* 800B91F0 000B6150 39 20 00 00 */ li r9, 0 +/* 800B91F4 000B6154 91 81 00 20 */ stw r12, 0x20(r1) +/* 800B91F8 000B6158 93 E1 00 08 */ stw r31, 8(r1) +/* 800B91FC 000B615C 91 61 00 0C */ stw r11, 0xc(r1) +/* 800B9200 000B6160 92 E1 00 10 */ stw r23, 0x10(r1) +/* 800B9204 000B6164 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B9208 000B6168 4B FF E4 59 */ bl "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" +/* 800B920C 000B616C 7C 78 1B 78 */ mr r24, r3 +lbl_800B9210: +/* 800B9210 000B6170 7C 18 00 D0 */ neg r0, r24 +/* 800B9214 000B6174 38 61 00 28 */ addi r3, r1, 0x28 +/* 800B9218 000B6178 7C 04 C3 78 */ or r4, r0, r24 +/* 800B921C 000B617C 38 01 00 40 */ addi r0, r1, 0x40 +/* 800B9220 000B6180 54 84 0F FE */ srwi r4, r4, 0x1f +/* 800B9224 000B6184 93 01 00 2C */ stw r24, 0x2c(r1) +/* 800B9228 000B6188 7C 03 00 40 */ cmplw r3, r0 +/* 800B922C 000B618C 98 81 00 28 */ stb r4, 0x28(r1) +/* 800B9230 000B6190 41 82 00 48 */ beq lbl_800B9278 +/* 800B9234 000B6194 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800B9238 000B6198 28 00 00 00 */ cmplwi r0, 0 +/* 800B923C 000B619C 41 82 00 24 */ beq lbl_800B9260 +/* 800B9240 000B61A0 80 61 00 44 */ lwz r3, 0x44(r1) +/* 800B9244 000B61A4 28 03 00 00 */ cmplwi r3, 0 +/* 800B9248 000B61A8 41 82 00 18 */ beq lbl_800B9260 +/* 800B924C 000B61AC 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9250 000B61B0 38 80 00 01 */ li r4, 1 +/* 800B9254 000B61B4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B9258 000B61B8 7D 89 03 A6 */ mtctr r12 +/* 800B925C 000B61BC 4E 80 04 21 */ bctrl +lbl_800B9260: +/* 800B9260 000B61C0 88 81 00 28 */ lbz r4, 0x28(r1) +/* 800B9264 000B61C4 38 00 00 00 */ li r0, 0 +/* 800B9268 000B61C8 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800B926C 000B61CC 98 81 00 40 */ stb r4, 0x40(r1) +/* 800B9270 000B61D0 90 61 00 44 */ stw r3, 0x44(r1) +/* 800B9274 000B61D4 98 01 00 28 */ stb r0, 0x28(r1) +lbl_800B9278: +/* 800B9278 000B61D8 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800B927C 000B61DC 28 00 00 00 */ cmplwi r0, 0 +/* 800B9280 000B61E0 41 82 00 24 */ beq lbl_800B92A4 +/* 800B9284 000B61E4 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800B9288 000B61E8 28 03 00 00 */ cmplwi r3, 0 +/* 800B928C 000B61EC 41 82 00 18 */ beq lbl_800B92A4 +/* 800B9290 000B61F0 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9294 000B61F4 38 80 00 01 */ li r4, 1 +/* 800B9298 000B61F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B929C 000B61FC 7D 89 03 A6 */ mtctr r12 +/* 800B92A0 000B6200 4E 80 04 21 */ bctrl +lbl_800B92A4: +/* 800B92A4 000B6204 7E A0 07 75 */ extsb. r0, r21 +/* 800B92A8 000B6208 41 82 00 0C */ beq lbl_800B92B4 +/* 800B92AC 000B620C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800B92B0 000B6210 4B FF E7 51 */ bl sub_800b7a00 +lbl_800B92B4: +/* 800B92B4 000B6214 7E C0 07 75 */ extsb. r0, r22 +/* 800B92B8 000B6218 41 82 00 0C */ beq lbl_800B92C4 +/* 800B92BC 000B621C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800B92C0 000B6220 48 28 48 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800B92C4: +/* 800B92C4 000B6224 80 61 00 44 */ lwz r3, 0x44(r1) +/* 800B92C8 000B6228 7F E5 FB 78 */ mr r5, r31 +/* 800B92CC 000B622C 38 9E 00 0C */ addi r4, r30, 0xc +/* 800B92D0 000B6230 81 83 00 00 */ lwz r12, 0(r3) +/* 800B92D4 000B6234 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800B92D8 000B6238 7D 89 03 A6 */ mtctr r12 +/* 800B92DC 000B623C 4E 80 04 21 */ bctrl +/* 800B92E0 000B6240 80 81 00 44 */ lwz r4, 0x44(r1) +/* 800B92E4 000B6244 38 00 00 00 */ li r0, 0 +/* 800B92E8 000B6248 7F 83 E3 78 */ mr r3, r28 +/* 800B92EC 000B624C 7F A5 EB 78 */ mr r5, r29 +/* 800B92F0 000B6250 98 04 00 40 */ stb r0, 0x40(r4) +/* 800B92F4 000B6254 7F 66 DB 78 */ mr r6, r27 +/* 800B92F8 000B6258 38 E1 00 40 */ addi r7, r1, 0x40 +/* 800B92FC 000B625C 38 80 00 00 */ li r4, 0 +/* 800B9300 000B6260 48 00 09 75 */ bl "InsertParticleGen__17CParticleDatabaseFbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl28auto_ptr<16CParticleGenInfo>" +/* 800B9304 000B6264 38 61 00 24 */ addi r3, r1, 0x24 +/* 800B9308 000B6268 4B FF E6 F9 */ bl sub_800b7a00 +/* 800B930C 000B626C 48 00 00 08 */ b lbl_800B9314 +lbl_800B9310: +/* 800B9310 000B6270 48 28 7C F5 */ bl Type2Text__10SObjectTagFUi +lbl_800B9314: +/* 800B9314 000B6274 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800B9318 000B6278 28 00 00 00 */ cmplwi r0, 0 +/* 800B931C 000B627C 41 82 00 5C */ beq lbl_800B9378 +/* 800B9320 000B6280 80 61 00 44 */ lwz r3, 0x44(r1) +/* 800B9324 000B6284 28 03 00 00 */ cmplwi r3, 0 +/* 800B9328 000B6288 41 82 00 50 */ beq lbl_800B9378 +/* 800B932C 000B628C 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9330 000B6290 38 80 00 01 */ li r4, 1 +/* 800B9334 000B6294 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B9338 000B6298 7D 89 03 A6 */ mtctr r12 +/* 800B933C 000B629C 4E 80 04 21 */ bctrl +/* 800B9340 000B62A0 48 00 00 38 */ b lbl_800B9378 +lbl_800B9344: +/* 800B9344 000B62A4 88 15 00 24 */ lbz r0, 0x24(r21) +/* 800B9348 000B62A8 28 00 00 00 */ cmplwi r0, 0 +/* 800B934C 000B62AC 40 82 00 2C */ bne lbl_800B9378 +/* 800B9350 000B62B0 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9354 000B62B4 7F E5 FB 78 */ mr r5, r31 +/* 800B9358 000B62B8 38 80 00 01 */ li r4, 1 +/* 800B935C 000B62BC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800B9360 000B62C0 7D 89 03 A6 */ mtctr r12 +/* 800B9364 000B62C4 4E 80 04 21 */ bctrl +/* 800B9368 000B62C8 38 00 00 01 */ li r0, 1 +/* 800B936C 000B62CC 98 15 00 24 */ stb r0, 0x24(r21) +/* 800B9370 000B62D0 98 15 00 40 */ stb r0, 0x40(r21) +/* 800B9374 000B62D4 93 B5 00 2C */ stw r29, 0x2c(r21) +lbl_800B9378: +/* 800B9378 000B62D8 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 800B937C 000B62DC CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 800B9380 000B62E0 BA A1 00 84 */ lmw r21, 0x84(r1) +/* 800B9384 000B62E4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800B9388 000B62E8 7C 08 03 A6 */ mtlr r0 +/* 800B938C 000B62EC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800B9390 000B62F0 4E 80 00 20 */ blr + +.global "AddParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC13CParticleDataRC9CVector3fR13CStateManager7TAreaIdb" +"AddParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC13CParticleDataRC9CVector3fR13CStateManager7TAreaIdb": +/* 800B9394 000B62F4 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 800B9398 000B62F8 7C 08 02 A6 */ mflr r0 +/* 800B939C 000B62FC 90 01 01 14 */ stw r0, 0x114(r1) +/* 800B93A0 000B6300 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 800B93A4 000B6304 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 800B93A8 000B6308 BE 41 00 C8 */ stmw r18, 0xc8(r1) +/* 800B93AC 000B630C 81 66 00 08 */ lwz r11, 8(r6) +/* 800B93B0 000B6310 7C 7F 1B 78 */ mr r31, r3 +/* 800B93B4 000B6314 80 06 00 04 */ lwz r0, 4(r6) +/* 800B93B8 000B6318 7C 94 23 78 */ mr r20, r4 +/* 800B93BC 000B631C 91 61 00 90 */ stw r11, 0x90(r1) +/* 800B93C0 000B6320 7C BE 2B 78 */ mr r30, r5 +/* 800B93C4 000B6324 82 E1 01 18 */ lwz r23, 0x118(r1) +/* 800B93C8 000B6328 7C F3 3B 78 */ mr r19, r7 +/* 800B93CC 000B632C 90 01 00 8C */ stw r0, 0x8c(r1) +/* 800B93D0 000B6330 7D 1D 43 78 */ mr r29, r8 +/* 800B93D4 000B6334 83 06 00 00 */ lwz r24, 0(r6) +/* 800B93D8 000B6338 7D 3B 4B 78 */ mr r27, r9 +/* 800B93DC 000B633C C3 E6 00 1C */ lfs f31, 0x1c(r6) +/* 800B93E0 000B6340 7D 56 53 78 */ mr r22, r10 +/* 800B93E4 000B6344 83 46 00 20 */ lwz r26, 0x20(r6) +/* 800B93E8 000B6348 3B 26 00 0C */ addi r25, r6, 0xc +/* 800B93EC 000B634C 4B FF F8 71 */ bl "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800B93F0 000B6350 7C 72 1B 79 */ or. r18, r3, r3 +/* 800B93F4 000B6354 40 82 08 30 */ bne lbl_800B9C24 +/* 800B93F8 000B6358 C0 02 8D 2C */ lfs f0, lbl_805AAA4C@sda21(r2) +/* 800B93FC 000B635C 57 C0 07 BD */ rlwinm. r0, r30, 0, 0x1e, 0x1e +/* 800B9400 000B6360 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 800B9404 000B6364 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 800B9408 000B6368 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 800B940C 000B636C D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800B9410 000B6370 41 82 00 18 */ beq lbl_800B9428 +/* 800B9414 000B6374 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 800B9418 000B6378 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 800B941C 000B637C D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 800B9420 000B6380 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800B9424 000B6384 48 00 00 28 */ b lbl_800B944C +lbl_800B9428: +/* 800B9428 000B6388 C0 53 00 08 */ lfs f2, 8(r19) +/* 800B942C 000B638C C0 33 00 04 */ lfs f1, 4(r19) +/* 800B9430 000B6390 C0 13 00 00 */ lfs f0, 0(r19) +/* 800B9434 000B6394 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 800B9438 000B6398 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 800B943C 000B639C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800B9440 000B63A0 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 800B9444 000B63A4 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 800B9448 000B63A8 D0 21 00 BC */ stfs f1, 0xbc(r1) +lbl_800B944C: +/* 800B944C 000B63AC 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 800B9450 000B63B0 3B 80 00 00 */ li r28, 0 +/* 800B9454 000B63B4 28 00 52 54 */ cmplwi r0, 0x5254 +/* 800B9458 000B63B8 9B 81 00 84 */ stb r28, 0x84(r1) +/* 800B945C 000B63BC 93 81 00 88 */ stw r28, 0x88(r1) +/* 800B9460 000B63C0 40 82 02 70 */ bne lbl_800B96D0 +/* 800B9464 000B63C4 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 800B9468 000B63C8 80 01 00 90 */ lwz r0, 0x90(r1) +/* 800B946C 000B63CC 48 00 00 20 */ b lbl_800B948C +lbl_800B9470: +/* 800B9470 000B63D0 80 64 00 10 */ lwz r3, 0x10(r4) +/* 800B9474 000B63D4 7C 03 00 40 */ cmplw r3, r0 +/* 800B9478 000B63D8 41 80 00 10 */ blt lbl_800B9488 +/* 800B947C 000B63DC 7C 9C 23 78 */ mr r28, r4 +/* 800B9480 000B63E0 80 84 00 00 */ lwz r4, 0(r4) +/* 800B9484 000B63E4 48 00 00 08 */ b lbl_800B948C +lbl_800B9488: +/* 800B9488 000B63E8 80 84 00 04 */ lwz r4, 4(r4) +lbl_800B948C: +/* 800B948C 000B63EC 28 04 00 00 */ cmplwi r4, 0 +/* 800B9490 000B63F0 40 82 FF E0 */ bne lbl_800B9470 +/* 800B9494 000B63F4 28 1C 00 00 */ cmplwi r28, 0 +/* 800B9498 000B63F8 38 80 00 00 */ li r4, 0 +/* 800B949C 000B63FC 41 82 00 14 */ beq lbl_800B94B0 +/* 800B94A0 000B6400 80 61 00 90 */ lwz r3, 0x90(r1) +/* 800B94A4 000B6404 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 800B94A8 000B6408 7C 03 00 40 */ cmplw r3, r0 +/* 800B94AC 000B640C 40 80 00 08 */ bge lbl_800B94B4 +lbl_800B94B0: +/* 800B94B0 000B6410 38 80 00 01 */ li r4, 1 +lbl_800B94B4: +/* 800B94B4 000B6414 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800B94B8 000B6418 41 82 00 08 */ beq lbl_800B94C0 +/* 800B94BC 000B641C 3B 80 00 00 */ li r28, 0 +lbl_800B94C0: +/* 800B94C0 000B6420 38 00 00 00 */ li r0, 0 +/* 800B94C4 000B6424 38 7F 00 08 */ addi r3, r31, 8 +/* 800B94C8 000B6428 7C 1C 00 40 */ cmplw r28, r0 +/* 800B94CC 000B642C 90 01 00 7C */ stw r0, 0x7c(r1) +/* 800B94D0 000B6430 90 61 00 80 */ stw r3, 0x80(r1) +/* 800B94D4 000B6434 40 82 00 0C */ bne lbl_800B94E0 +/* 800B94D8 000B6438 7C 03 18 40 */ cmplw r3, r3 +/* 800B94DC 000B643C 41 82 00 08 */ beq lbl_800B94E4 +lbl_800B94E0: +/* 800B94E0 000B6440 38 00 00 01 */ li r0, 1 +lbl_800B94E4: +/* 800B94E4 000B6444 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B94E8 000B6448 41 82 06 B8 */ beq lbl_800B9BA0 +/* 800B94EC 000B644C 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800B94F0 000B6450 3A A0 00 00 */ li r21, 0 +/* 800B94F4 000B6454 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800B94F8 000B6458 38 A0 00 00 */ li r5, 0 +/* 800B94FC 000B645C 38 60 03 40 */ li r3, 0x340 +/* 800B9500 000B6460 48 25 C3 6D */ bl __nw__FUlPCcPCc +/* 800B9504 000B6464 7C 73 1B 79 */ or. r19, r3, r3 +/* 800B9508 000B6468 41 82 00 30 */ beq lbl_800B9538 +/* 800B950C 000B646C 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 800B9510 000B6470 38 61 00 74 */ addi r3, r1, 0x74 +/* 800B9514 000B6474 80 84 00 00 */ lwz r4, 0(r4) +/* 800B9518 000B6478 48 28 79 91 */ bl __ct__6CTokenFRC6CToken +/* 800B951C 000B647C 7E 63 9B 78 */ mr r3, r19 +/* 800B9520 000B6480 38 81 00 74 */ addi r4, r1, 0x74 +/* 800B9524 000B6484 3A A0 00 01 */ li r21, 1 +/* 800B9528 000B6488 38 A0 00 00 */ li r5, 0 +/* 800B952C 000B648C 38 C0 00 01 */ li r6, 1 +/* 800B9530 000B6490 48 26 5E B1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800B9534 000B6494 7C 73 1B 78 */ mr r19, r3 +lbl_800B9538: +/* 800B9538 000B6498 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800B953C 000B649C 38 60 00 08 */ li r3, 8 +/* 800B9540 000B64A0 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800B9544 000B64A4 38 A0 00 00 */ li r5, 0 +/* 800B9548 000B64A8 48 25 C3 25 */ bl __nw__FUlPCcPCc +/* 800B954C 000B64AC 28 03 00 00 */ cmplwi r3, 0 +/* 800B9550 000B64B0 41 82 00 10 */ beq lbl_800B9560 +/* 800B9554 000B64B4 92 63 00 00 */ stw r19, 0(r3) +/* 800B9558 000B64B8 38 00 00 01 */ li r0, 1 +/* 800B955C 000B64BC 90 03 00 04 */ stw r0, 4(r3) +lbl_800B9560: +/* 800B9560 000B64C0 7E A0 07 75 */ extsb. r0, r21 +/* 800B9564 000B64C4 90 61 00 38 */ stw r3, 0x38(r1) +/* 800B9568 000B64C8 41 82 00 10 */ beq lbl_800B9578 +/* 800B956C 000B64CC 38 61 00 74 */ addi r3, r1, 0x74 +/* 800B9570 000B64D0 38 80 00 00 */ li r4, 0 +/* 800B9574 000B64D4 48 28 78 CD */ bl __dt__6CTokenFv +lbl_800B9578: +/* 800B9578 000B64D8 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 800B957C 000B64DC 38 61 00 38 */ addi r3, r1, 0x38 +/* 800B9580 000B64E0 80 84 00 00 */ lwz r4, 0(r4) +/* 800B9584 000B64E4 48 00 16 D1 */ bl "_getGraphicLightId,25TToken<15CGenDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC25TToken<15CGenDescription>" +/* 800B9588 000B64E8 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800B958C 000B64EC 7E 77 1A 14 */ add r19, r23, r3 +/* 800B9590 000B64F0 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800B9594 000B64F4 3A A0 00 00 */ li r21, 0 +/* 800B9598 000B64F8 38 60 00 8C */ li r3, 0x8c +/* 800B959C 000B64FC 38 A0 00 00 */ li r5, 0 +/* 800B95A0 000B6500 48 25 C2 CD */ bl __nw__FUlPCcPCc +/* 800B95A4 000B6504 7C 65 1B 79 */ or. r5, r3, r3 +/* 800B95A8 000B6508 41 82 00 78 */ beq lbl_800B9620 +/* 800B95AC 000B650C 81 01 00 38 */ lwz r8, 0x38(r1) +/* 800B95B0 000B6510 39 61 00 2C */ addi r11, r1, 0x2c +/* 800B95B4 000B6514 83 81 00 B8 */ lwz r28, 0xb8(r1) +/* 800B95B8 000B6518 38 00 00 00 */ li r0, 0 +/* 800B95BC 000B651C 91 01 00 28 */ stw r8, 0x28(r1) +/* 800B95C0 000B6520 7F 06 C3 78 */ mr r6, r24 +/* 800B95C4 000B6524 82 E1 00 BC */ lwz r23, 0xbc(r1) +/* 800B95C8 000B6528 7F 27 CB 78 */ mr r7, r25 +/* 800B95CC 000B652C 80 88 00 04 */ lwz r4, 4(r8) +/* 800B95D0 000B6530 7F 49 D3 78 */ mr r9, r26 +/* 800B95D4 000B6534 82 41 00 C0 */ lwz r18, 0xc0(r1) +/* 800B95D8 000B6538 7F CA F3 78 */ mr r10, r30 +/* 800B95DC 000B653C 38 A4 00 01 */ addi r5, r4, 1 +/* 800B95E0 000B6540 38 81 00 8C */ addi r4, r1, 0x8c +/* 800B95E4 000B6544 90 A8 00 04 */ stw r5, 4(r8) +/* 800B95E8 000B6548 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800B95EC 000B654C 39 01 00 AC */ addi r8, r1, 0xac +/* 800B95F0 000B6550 3A A0 00 01 */ li r21, 1 +/* 800B95F4 000B6554 81 9B 00 00 */ lwz r12, 0(r27) +/* 800B95F8 000B6558 93 81 00 AC */ stw r28, 0xac(r1) +/* 800B95FC 000B655C 92 E1 00 B0 */ stw r23, 0xb0(r1) +/* 800B9600 000B6560 92 41 00 B4 */ stw r18, 0xb4(r1) +/* 800B9604 000B6564 91 81 00 2C */ stw r12, 0x2c(r1) +/* 800B9608 000B6568 93 A1 00 08 */ stw r29, 8(r1) +/* 800B960C 000B656C 91 61 00 0C */ stw r11, 0xc(r1) +/* 800B9610 000B6570 92 61 00 10 */ stw r19, 0x10(r1) +/* 800B9614 000B6574 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B9618 000B6578 4B FF E0 49 */ bl "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" +/* 800B961C 000B657C 7C 65 1B 78 */ mr r5, r3 +lbl_800B9620: +/* 800B9620 000B6580 7C 05 00 D0 */ neg r0, r5 +/* 800B9624 000B6584 38 61 00 6C */ addi r3, r1, 0x6c +/* 800B9628 000B6588 7C 04 2B 78 */ or r4, r0, r5 +/* 800B962C 000B658C 38 01 00 84 */ addi r0, r1, 0x84 +/* 800B9630 000B6590 54 84 0F FE */ srwi r4, r4, 0x1f +/* 800B9634 000B6594 90 A1 00 70 */ stw r5, 0x70(r1) +/* 800B9638 000B6598 7C 03 00 40 */ cmplw r3, r0 +/* 800B963C 000B659C 98 81 00 6C */ stb r4, 0x6c(r1) +/* 800B9640 000B65A0 41 82 00 48 */ beq lbl_800B9688 +/* 800B9644 000B65A4 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800B9648 000B65A8 28 00 00 00 */ cmplwi r0, 0 +/* 800B964C 000B65AC 41 82 00 24 */ beq lbl_800B9670 +/* 800B9650 000B65B0 80 61 00 88 */ lwz r3, 0x88(r1) +/* 800B9654 000B65B4 28 03 00 00 */ cmplwi r3, 0 +/* 800B9658 000B65B8 41 82 00 18 */ beq lbl_800B9670 +/* 800B965C 000B65BC 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9660 000B65C0 38 80 00 01 */ li r4, 1 +/* 800B9664 000B65C4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B9668 000B65C8 7D 89 03 A6 */ mtctr r12 +/* 800B966C 000B65CC 4E 80 04 21 */ bctrl +lbl_800B9670: +/* 800B9670 000B65D0 88 81 00 6C */ lbz r4, 0x6c(r1) +/* 800B9674 000B65D4 38 00 00 00 */ li r0, 0 +/* 800B9678 000B65D8 80 61 00 70 */ lwz r3, 0x70(r1) +/* 800B967C 000B65DC 98 81 00 84 */ stb r4, 0x84(r1) +/* 800B9680 000B65E0 90 61 00 88 */ stw r3, 0x88(r1) +/* 800B9684 000B65E4 98 01 00 6C */ stb r0, 0x6c(r1) +lbl_800B9688: +/* 800B9688 000B65E8 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 800B968C 000B65EC 28 00 00 00 */ cmplwi r0, 0 +/* 800B9690 000B65F0 41 82 00 24 */ beq lbl_800B96B4 +/* 800B9694 000B65F4 80 61 00 70 */ lwz r3, 0x70(r1) +/* 800B9698 000B65F8 28 03 00 00 */ cmplwi r3, 0 +/* 800B969C 000B65FC 41 82 00 18 */ beq lbl_800B96B4 +/* 800B96A0 000B6600 81 83 00 00 */ lwz r12, 0(r3) +/* 800B96A4 000B6604 38 80 00 01 */ li r4, 1 +/* 800B96A8 000B6608 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B96AC 000B660C 7D 89 03 A6 */ mtctr r12 +/* 800B96B0 000B6610 4E 80 04 21 */ bctrl +lbl_800B96B4: +/* 800B96B4 000B6614 7E A0 07 75 */ extsb. r0, r21 +/* 800B96B8 000B6618 41 82 00 0C */ beq lbl_800B96C4 +/* 800B96BC 000B661C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800B96C0 000B6620 4B FF E3 41 */ bl sub_800b7a00 +lbl_800B96C4: +/* 800B96C4 000B6624 38 61 00 38 */ addi r3, r1, 0x38 +/* 800B96C8 000B6628 4B FF E3 39 */ bl sub_800b7a00 +/* 800B96CC 000B662C 48 00 04 D4 */ b lbl_800B9BA0 +lbl_800B96D0: +/* 800B96D0 000B6630 3C 03 AC A9 */ addis r0, r3, 0xaca9 +/* 800B96D4 000B6634 28 00 48 43 */ cmplwi r0, 0x4843 +/* 800B96D8 000B6638 40 82 02 5C */ bne lbl_800B9934 +/* 800B96DC 000B663C 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 800B96E0 000B6640 80 01 00 90 */ lwz r0, 0x90(r1) +/* 800B96E4 000B6644 48 00 00 20 */ b lbl_800B9704 +lbl_800B96E8: +/* 800B96E8 000B6648 80 64 00 10 */ lwz r3, 0x10(r4) +/* 800B96EC 000B664C 7C 03 00 40 */ cmplw r3, r0 +/* 800B96F0 000B6650 41 80 00 10 */ blt lbl_800B9700 +/* 800B96F4 000B6654 7C 9C 23 78 */ mr r28, r4 +/* 800B96F8 000B6658 80 84 00 00 */ lwz r4, 0(r4) +/* 800B96FC 000B665C 48 00 00 08 */ b lbl_800B9704 +lbl_800B9700: +/* 800B9700 000B6660 80 84 00 04 */ lwz r4, 4(r4) +lbl_800B9704: +/* 800B9704 000B6664 28 04 00 00 */ cmplwi r4, 0 +/* 800B9708 000B6668 40 82 FF E0 */ bne lbl_800B96E8 +/* 800B970C 000B666C 28 1C 00 00 */ cmplwi r28, 0 +/* 800B9710 000B6670 38 80 00 00 */ li r4, 0 +/* 800B9714 000B6674 41 82 00 14 */ beq lbl_800B9728 +/* 800B9718 000B6678 80 61 00 90 */ lwz r3, 0x90(r1) +/* 800B971C 000B667C 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 800B9720 000B6680 7C 03 00 40 */ cmplw r3, r0 +/* 800B9724 000B6684 40 80 00 08 */ bge lbl_800B972C +lbl_800B9728: +/* 800B9728 000B6688 38 80 00 01 */ li r4, 1 +lbl_800B972C: +/* 800B972C 000B668C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800B9730 000B6690 41 82 00 08 */ beq lbl_800B9738 +/* 800B9734 000B6694 3B 80 00 00 */ li r28, 0 +lbl_800B9738: +/* 800B9738 000B6698 38 00 00 00 */ li r0, 0 +/* 800B973C 000B669C 38 7F 00 1C */ addi r3, r31, 0x1c +/* 800B9740 000B66A0 7C 1C 00 40 */ cmplw r28, r0 +/* 800B9744 000B66A4 90 01 00 64 */ stw r0, 0x64(r1) +/* 800B9748 000B66A8 90 61 00 68 */ stw r3, 0x68(r1) +/* 800B974C 000B66AC 40 82 00 0C */ bne lbl_800B9758 +/* 800B9750 000B66B0 7C 03 18 40 */ cmplw r3, r3 +/* 800B9754 000B66B4 41 82 00 08 */ beq lbl_800B975C +lbl_800B9758: +/* 800B9758 000B66B8 38 00 00 01 */ li r0, 1 +lbl_800B975C: +/* 800B975C 000B66BC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B9760 000B66C0 41 82 04 40 */ beq lbl_800B9BA0 +/* 800B9764 000B66C4 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800B9768 000B66C8 3A 60 00 00 */ li r19, 0 +/* 800B976C 000B66CC 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800B9770 000B66D0 38 A0 00 00 */ li r5, 0 +/* 800B9774 000B66D4 38 60 02 10 */ li r3, 0x210 +/* 800B9778 000B66D8 48 25 C0 F5 */ bl __nw__FUlPCcPCc +/* 800B977C 000B66DC 7C 72 1B 79 */ or. r18, r3, r3 +/* 800B9780 000B66E0 41 82 00 2C */ beq lbl_800B97AC +/* 800B9784 000B66E4 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 800B9788 000B66E8 38 61 00 5C */ addi r3, r1, 0x5c +/* 800B978C 000B66EC 80 84 00 00 */ lwz r4, 0(r4) +/* 800B9790 000B66F0 48 28 77 19 */ bl __ct__6CTokenFRC6CToken +/* 800B9794 000B66F4 7E 43 93 78 */ mr r3, r18 +/* 800B9798 000B66F8 38 81 00 5C */ addi r4, r1, 0x5c +/* 800B979C 000B66FC 3A 60 00 01 */ li r19, 1 +/* 800B97A0 000B6700 38 A0 00 00 */ li r5, 0 +/* 800B97A4 000B6704 48 27 56 41 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 800B97A8 000B6708 7C 72 1B 78 */ mr r18, r3 +lbl_800B97AC: +/* 800B97AC 000B670C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800B97B0 000B6710 38 60 00 08 */ li r3, 8 +/* 800B97B4 000B6714 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800B97B8 000B6718 38 A0 00 00 */ li r5, 0 +/* 800B97BC 000B671C 48 25 C0 B1 */ bl __nw__FUlPCcPCc +/* 800B97C0 000B6720 28 03 00 00 */ cmplwi r3, 0 +/* 800B97C4 000B6724 41 82 00 10 */ beq lbl_800B97D4 +/* 800B97C8 000B6728 92 43 00 00 */ stw r18, 0(r3) +/* 800B97CC 000B672C 38 00 00 01 */ li r0, 1 +/* 800B97D0 000B6730 90 03 00 04 */ stw r0, 4(r3) +lbl_800B97D4: +/* 800B97D4 000B6734 7E 60 07 75 */ extsb. r0, r19 +/* 800B97D8 000B6738 90 61 00 34 */ stw r3, 0x34(r1) +/* 800B97DC 000B673C 41 82 00 10 */ beq lbl_800B97EC +/* 800B97E0 000B6740 38 61 00 5C */ addi r3, r1, 0x5c +/* 800B97E4 000B6744 38 80 00 00 */ li r4, 0 +/* 800B97E8 000B6748 48 28 76 59 */ bl __dt__6CTokenFv +lbl_800B97EC: +/* 800B97EC 000B674C 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800B97F0 000B6750 3A 60 00 00 */ li r19, 0 +/* 800B97F4 000B6754 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800B97F8 000B6758 38 A0 00 00 */ li r5, 0 +/* 800B97FC 000B675C 38 60 00 8C */ li r3, 0x8c +/* 800B9800 000B6760 48 25 C0 6D */ bl __nw__FUlPCcPCc +/* 800B9804 000B6764 7C 65 1B 79 */ or. r5, r3, r3 +/* 800B9808 000B6768 41 82 00 7C */ beq lbl_800B9884 +/* 800B980C 000B676C 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800B9810 000B6770 39 81 00 24 */ addi r12, r1, 0x24 +/* 800B9814 000B6774 82 41 00 B8 */ lwz r18, 0xb8(r1) +/* 800B9818 000B6778 39 60 FF FF */ li r11, -1 +/* 800B981C 000B677C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 800B9820 000B6780 38 00 00 00 */ li r0, 0 +/* 800B9824 000B6784 83 81 00 BC */ lwz r28, 0xbc(r1) +/* 800B9828 000B6788 7F 06 C3 78 */ mr r6, r24 +/* 800B982C 000B678C 80 85 00 04 */ lwz r4, 4(r5) +/* 800B9830 000B6790 7F 27 CB 78 */ mr r7, r25 +/* 800B9834 000B6794 82 E1 00 C0 */ lwz r23, 0xc0(r1) +/* 800B9838 000B6798 7F 49 D3 78 */ mr r9, r26 +/* 800B983C 000B679C 38 84 00 01 */ addi r4, r4, 1 +/* 800B9840 000B67A0 7F CA F3 78 */ mr r10, r30 +/* 800B9844 000B67A4 90 85 00 04 */ stw r4, 4(r5) +/* 800B9848 000B67A8 38 81 00 8C */ addi r4, r1, 0x8c +/* 800B984C 000B67AC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800B9850 000B67B0 39 01 00 A0 */ addi r8, r1, 0xa0 +/* 800B9854 000B67B4 82 BB 00 00 */ lwz r21, 0(r27) +/* 800B9858 000B67B8 3A 60 00 01 */ li r19, 1 +/* 800B985C 000B67BC 92 41 00 A0 */ stw r18, 0xa0(r1) +/* 800B9860 000B67C0 93 81 00 A4 */ stw r28, 0xa4(r1) +/* 800B9864 000B67C4 92 E1 00 A8 */ stw r23, 0xa8(r1) +/* 800B9868 000B67C8 92 A1 00 24 */ stw r21, 0x24(r1) +/* 800B986C 000B67CC 93 A1 00 08 */ stw r29, 8(r1) +/* 800B9870 000B67D0 91 81 00 0C */ stw r12, 0xc(r1) +/* 800B9874 000B67D4 91 61 00 10 */ stw r11, 0x10(r1) +/* 800B9878 000B67D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B987C 000B67DC 4B FF DD E5 */ bl "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" +/* 800B9880 000B67E0 7C 65 1B 78 */ mr r5, r3 +lbl_800B9884: +/* 800B9884 000B67E4 7C 05 00 D0 */ neg r0, r5 +/* 800B9888 000B67E8 38 61 00 54 */ addi r3, r1, 0x54 +/* 800B988C 000B67EC 7C 04 2B 78 */ or r4, r0, r5 +/* 800B9890 000B67F0 38 01 00 84 */ addi r0, r1, 0x84 +/* 800B9894 000B67F4 54 84 0F FE */ srwi r4, r4, 0x1f +/* 800B9898 000B67F8 90 A1 00 58 */ stw r5, 0x58(r1) +/* 800B989C 000B67FC 7C 03 00 40 */ cmplw r3, r0 +/* 800B98A0 000B6800 98 81 00 54 */ stb r4, 0x54(r1) +/* 800B98A4 000B6804 41 82 00 48 */ beq lbl_800B98EC +/* 800B98A8 000B6808 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800B98AC 000B680C 28 00 00 00 */ cmplwi r0, 0 +/* 800B98B0 000B6810 41 82 00 24 */ beq lbl_800B98D4 +/* 800B98B4 000B6814 80 61 00 88 */ lwz r3, 0x88(r1) +/* 800B98B8 000B6818 28 03 00 00 */ cmplwi r3, 0 +/* 800B98BC 000B681C 41 82 00 18 */ beq lbl_800B98D4 +/* 800B98C0 000B6820 81 83 00 00 */ lwz r12, 0(r3) +/* 800B98C4 000B6824 38 80 00 01 */ li r4, 1 +/* 800B98C8 000B6828 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B98CC 000B682C 7D 89 03 A6 */ mtctr r12 +/* 800B98D0 000B6830 4E 80 04 21 */ bctrl +lbl_800B98D4: +/* 800B98D4 000B6834 88 81 00 54 */ lbz r4, 0x54(r1) +/* 800B98D8 000B6838 38 00 00 00 */ li r0, 0 +/* 800B98DC 000B683C 80 61 00 58 */ lwz r3, 0x58(r1) +/* 800B98E0 000B6840 98 81 00 84 */ stb r4, 0x84(r1) +/* 800B98E4 000B6844 90 61 00 88 */ stw r3, 0x88(r1) +/* 800B98E8 000B6848 98 01 00 54 */ stb r0, 0x54(r1) +lbl_800B98EC: +/* 800B98EC 000B684C 88 01 00 54 */ lbz r0, 0x54(r1) +/* 800B98F0 000B6850 28 00 00 00 */ cmplwi r0, 0 +/* 800B98F4 000B6854 41 82 00 24 */ beq lbl_800B9918 +/* 800B98F8 000B6858 80 61 00 58 */ lwz r3, 0x58(r1) +/* 800B98FC 000B685C 28 03 00 00 */ cmplwi r3, 0 +/* 800B9900 000B6860 41 82 00 18 */ beq lbl_800B9918 +/* 800B9904 000B6864 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9908 000B6868 38 80 00 01 */ li r4, 1 +/* 800B990C 000B686C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B9910 000B6870 7D 89 03 A6 */ mtctr r12 +/* 800B9914 000B6874 4E 80 04 21 */ bctrl +lbl_800B9918: +/* 800B9918 000B6878 7E 60 07 75 */ extsb. r0, r19 +/* 800B991C 000B687C 41 82 00 0C */ beq lbl_800B9928 +/* 800B9920 000B6880 38 61 00 20 */ addi r3, r1, 0x20 +/* 800B9924 000B6884 4B FF E0 DD */ bl sub_800b7a00 +lbl_800B9928: +/* 800B9928 000B6888 38 61 00 34 */ addi r3, r1, 0x34 +/* 800B992C 000B688C 4B FF E0 D5 */ bl sub_800b7a00 +/* 800B9930 000B6890 48 00 02 70 */ b lbl_800B9BA0 +lbl_800B9934: +/* 800B9934 000B6894 3C 03 BA B4 */ addis r0, r3, 0xbab4 +/* 800B9938 000B6898 28 00 53 43 */ cmplwi r0, 0x5343 +/* 800B993C 000B689C 40 82 02 64 */ bne lbl_800B9BA0 +/* 800B9940 000B68A0 80 9F 00 38 */ lwz r4, 0x38(r31) +/* 800B9944 000B68A4 80 01 00 90 */ lwz r0, 0x90(r1) +/* 800B9948 000B68A8 48 00 00 20 */ b lbl_800B9968 +lbl_800B994C: +/* 800B994C 000B68AC 80 64 00 10 */ lwz r3, 0x10(r4) +/* 800B9950 000B68B0 7C 03 00 40 */ cmplw r3, r0 +/* 800B9954 000B68B4 41 80 00 10 */ blt lbl_800B9964 +/* 800B9958 000B68B8 7C 9C 23 78 */ mr r28, r4 +/* 800B995C 000B68BC 80 84 00 00 */ lwz r4, 0(r4) +/* 800B9960 000B68C0 48 00 00 08 */ b lbl_800B9968 +lbl_800B9964: +/* 800B9964 000B68C4 80 84 00 04 */ lwz r4, 4(r4) +lbl_800B9968: +/* 800B9968 000B68C8 28 04 00 00 */ cmplwi r4, 0 +/* 800B996C 000B68CC 40 82 FF E0 */ bne lbl_800B994C +/* 800B9970 000B68D0 28 1C 00 00 */ cmplwi r28, 0 +/* 800B9974 000B68D4 38 80 00 00 */ li r4, 0 +/* 800B9978 000B68D8 41 82 00 14 */ beq lbl_800B998C +/* 800B997C 000B68DC 80 61 00 90 */ lwz r3, 0x90(r1) +/* 800B9980 000B68E0 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 800B9984 000B68E4 7C 03 00 40 */ cmplw r3, r0 +/* 800B9988 000B68E8 40 80 00 08 */ bge lbl_800B9990 +lbl_800B998C: +/* 800B998C 000B68EC 38 80 00 01 */ li r4, 1 +lbl_800B9990: +/* 800B9990 000B68F0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800B9994 000B68F4 41 82 00 08 */ beq lbl_800B999C +/* 800B9998 000B68F8 3B 80 00 00 */ li r28, 0 +lbl_800B999C: +/* 800B999C 000B68FC 38 00 00 00 */ li r0, 0 +/* 800B99A0 000B6900 38 7F 00 30 */ addi r3, r31, 0x30 +/* 800B99A4 000B6904 7C 1C 00 40 */ cmplw r28, r0 +/* 800B99A8 000B6908 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800B99AC 000B690C 90 61 00 50 */ stw r3, 0x50(r1) +/* 800B99B0 000B6910 40 82 00 0C */ bne lbl_800B99BC +/* 800B99B4 000B6914 7C 03 18 40 */ cmplw r3, r3 +/* 800B99B8 000B6918 41 82 00 08 */ beq lbl_800B99C0 +lbl_800B99BC: +/* 800B99BC 000B691C 38 00 00 01 */ li r0, 1 +lbl_800B99C0: +/* 800B99C0 000B6920 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B99C4 000B6924 41 82 01 DC */ beq lbl_800B9BA0 +/* 800B99C8 000B6928 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800B99CC 000B692C 3A 60 00 00 */ li r19, 0 +/* 800B99D0 000B6930 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800B99D4 000B6934 38 A0 00 00 */ li r5, 0 +/* 800B99D8 000B6938 38 60 04 58 */ li r3, 0x458 +/* 800B99DC 000B693C 48 25 BE 91 */ bl __nw__FUlPCcPCc +/* 800B99E0 000B6940 7C 72 1B 79 */ or. r18, r3, r3 +/* 800B99E4 000B6944 41 82 00 28 */ beq lbl_800B9A0C +/* 800B99E8 000B6948 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 800B99EC 000B694C 38 61 00 44 */ addi r3, r1, 0x44 +/* 800B99F0 000B6950 80 84 00 00 */ lwz r4, 0(r4) +/* 800B99F4 000B6954 48 28 74 B5 */ bl __ct__6CTokenFRC6CToken +/* 800B99F8 000B6958 7E 43 93 78 */ mr r3, r18 +/* 800B99FC 000B695C 38 81 00 44 */ addi r4, r1, 0x44 +/* 800B9A00 000B6960 3A 60 00 01 */ li r19, 1 +/* 800B9A04 000B6964 48 2A 87 6D */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 800B9A08 000B6968 7C 72 1B 78 */ mr r18, r3 +lbl_800B9A0C: +/* 800B9A0C 000B696C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800B9A10 000B6970 38 60 00 08 */ li r3, 8 +/* 800B9A14 000B6974 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800B9A18 000B6978 38 A0 00 00 */ li r5, 0 +/* 800B9A1C 000B697C 48 25 BE 51 */ bl __nw__FUlPCcPCc +/* 800B9A20 000B6980 28 03 00 00 */ cmplwi r3, 0 +/* 800B9A24 000B6984 41 82 00 10 */ beq lbl_800B9A34 +/* 800B9A28 000B6988 92 43 00 00 */ stw r18, 0(r3) +/* 800B9A2C 000B698C 38 00 00 01 */ li r0, 1 +/* 800B9A30 000B6990 90 03 00 04 */ stw r0, 4(r3) +lbl_800B9A34: +/* 800B9A34 000B6994 7E 60 07 75 */ extsb. r0, r19 +/* 800B9A38 000B6998 90 61 00 30 */ stw r3, 0x30(r1) +/* 800B9A3C 000B699C 41 82 00 10 */ beq lbl_800B9A4C +/* 800B9A40 000B69A0 38 61 00 44 */ addi r3, r1, 0x44 +/* 800B9A44 000B69A4 38 80 00 00 */ li r4, 0 +/* 800B9A48 000B69A8 48 28 73 F9 */ bl __dt__6CTokenFv +lbl_800B9A4C: +/* 800B9A4C 000B69AC 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 800B9A50 000B69B0 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B9A54 000B69B4 80 84 00 00 */ lwz r4, 0(r4) +/* 800B9A58 000B69B8 48 00 11 A5 */ bl "_getGraphicLightId,30TToken<20CElectricDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC30TToken<20CElectricDescription>" +/* 800B9A5C 000B69BC 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800B9A60 000B69C0 7E 77 1A 14 */ add r19, r23, r3 +/* 800B9A64 000B69C4 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800B9A68 000B69C8 3A A0 00 00 */ li r21, 0 +/* 800B9A6C 000B69CC 38 60 00 8C */ li r3, 0x8c +/* 800B9A70 000B69D0 38 A0 00 00 */ li r5, 0 +/* 800B9A74 000B69D4 48 25 BD F9 */ bl __nw__FUlPCcPCc +/* 800B9A78 000B69D8 7C 65 1B 79 */ or. r5, r3, r3 +/* 800B9A7C 000B69DC 41 82 00 78 */ beq lbl_800B9AF4 +/* 800B9A80 000B69E0 81 01 00 30 */ lwz r8, 0x30(r1) +/* 800B9A84 000B69E4 39 61 00 1C */ addi r11, r1, 0x1c +/* 800B9A88 000B69E8 83 81 00 B8 */ lwz r28, 0xb8(r1) +/* 800B9A8C 000B69EC 38 00 00 00 */ li r0, 0 +/* 800B9A90 000B69F0 91 01 00 18 */ stw r8, 0x18(r1) +/* 800B9A94 000B69F4 7F 06 C3 78 */ mr r6, r24 +/* 800B9A98 000B69F8 83 01 00 BC */ lwz r24, 0xbc(r1) +/* 800B9A9C 000B69FC 7F 27 CB 78 */ mr r7, r25 +/* 800B9AA0 000B6A00 80 88 00 04 */ lwz r4, 4(r8) +/* 800B9AA4 000B6A04 7F 49 D3 78 */ mr r9, r26 +/* 800B9AA8 000B6A08 82 E1 00 C0 */ lwz r23, 0xc0(r1) +/* 800B9AAC 000B6A0C 7F CA F3 78 */ mr r10, r30 +/* 800B9AB0 000B6A10 38 A4 00 01 */ addi r5, r4, 1 +/* 800B9AB4 000B6A14 38 81 00 8C */ addi r4, r1, 0x8c +/* 800B9AB8 000B6A18 90 A8 00 04 */ stw r5, 4(r8) +/* 800B9ABC 000B6A1C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800B9AC0 000B6A20 39 01 00 94 */ addi r8, r1, 0x94 +/* 800B9AC4 000B6A24 3A A0 00 01 */ li r21, 1 +/* 800B9AC8 000B6A28 81 9B 00 00 */ lwz r12, 0(r27) +/* 800B9ACC 000B6A2C 93 81 00 94 */ stw r28, 0x94(r1) +/* 800B9AD0 000B6A30 93 01 00 98 */ stw r24, 0x98(r1) +/* 800B9AD4 000B6A34 92 E1 00 9C */ stw r23, 0x9c(r1) +/* 800B9AD8 000B6A38 91 81 00 1C */ stw r12, 0x1c(r1) +/* 800B9ADC 000B6A3C 93 A1 00 08 */ stw r29, 8(r1) +/* 800B9AE0 000B6A40 91 61 00 0C */ stw r11, 0xc(r1) +/* 800B9AE4 000B6A44 92 61 00 10 */ stw r19, 0x10(r1) +/* 800B9AE8 000B6A48 90 01 00 14 */ stw r0, 0x14(r1) +/* 800B9AEC 000B6A4C 4B FF DB 75 */ bl "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" +/* 800B9AF0 000B6A50 7C 65 1B 78 */ mr r5, r3 +lbl_800B9AF4: +/* 800B9AF4 000B6A54 7C 05 00 D0 */ neg r0, r5 +/* 800B9AF8 000B6A58 38 61 00 3C */ addi r3, r1, 0x3c +/* 800B9AFC 000B6A5C 7C 04 2B 78 */ or r4, r0, r5 +/* 800B9B00 000B6A60 38 01 00 84 */ addi r0, r1, 0x84 +/* 800B9B04 000B6A64 54 84 0F FE */ srwi r4, r4, 0x1f +/* 800B9B08 000B6A68 90 A1 00 40 */ stw r5, 0x40(r1) +/* 800B9B0C 000B6A6C 7C 03 00 40 */ cmplw r3, r0 +/* 800B9B10 000B6A70 98 81 00 3C */ stb r4, 0x3c(r1) +/* 800B9B14 000B6A74 41 82 00 48 */ beq lbl_800B9B5C +/* 800B9B18 000B6A78 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800B9B1C 000B6A7C 28 00 00 00 */ cmplwi r0, 0 +/* 800B9B20 000B6A80 41 82 00 24 */ beq lbl_800B9B44 +/* 800B9B24 000B6A84 80 61 00 88 */ lwz r3, 0x88(r1) +/* 800B9B28 000B6A88 28 03 00 00 */ cmplwi r3, 0 +/* 800B9B2C 000B6A8C 41 82 00 18 */ beq lbl_800B9B44 +/* 800B9B30 000B6A90 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9B34 000B6A94 38 80 00 01 */ li r4, 1 +/* 800B9B38 000B6A98 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B9B3C 000B6A9C 7D 89 03 A6 */ mtctr r12 +/* 800B9B40 000B6AA0 4E 80 04 21 */ bctrl +lbl_800B9B44: +/* 800B9B44 000B6AA4 88 81 00 3C */ lbz r4, 0x3c(r1) +/* 800B9B48 000B6AA8 38 00 00 00 */ li r0, 0 +/* 800B9B4C 000B6AAC 80 61 00 40 */ lwz r3, 0x40(r1) +/* 800B9B50 000B6AB0 98 81 00 84 */ stb r4, 0x84(r1) +/* 800B9B54 000B6AB4 90 61 00 88 */ stw r3, 0x88(r1) +/* 800B9B58 000B6AB8 98 01 00 3C */ stb r0, 0x3c(r1) +lbl_800B9B5C: +/* 800B9B5C 000B6ABC 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 800B9B60 000B6AC0 28 00 00 00 */ cmplwi r0, 0 +/* 800B9B64 000B6AC4 41 82 00 24 */ beq lbl_800B9B88 +/* 800B9B68 000B6AC8 80 61 00 40 */ lwz r3, 0x40(r1) +/* 800B9B6C 000B6ACC 28 03 00 00 */ cmplwi r3, 0 +/* 800B9B70 000B6AD0 41 82 00 18 */ beq lbl_800B9B88 +/* 800B9B74 000B6AD4 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9B78 000B6AD8 38 80 00 01 */ li r4, 1 +/* 800B9B7C 000B6ADC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B9B80 000B6AE0 7D 89 03 A6 */ mtctr r12 +/* 800B9B84 000B6AE4 4E 80 04 21 */ bctrl +lbl_800B9B88: +/* 800B9B88 000B6AE8 7E A0 07 75 */ extsb. r0, r21 +/* 800B9B8C 000B6AEC 41 82 00 0C */ beq lbl_800B9B98 +/* 800B9B90 000B6AF0 38 61 00 18 */ addi r3, r1, 0x18 +/* 800B9B94 000B6AF4 4B FF DE 6D */ bl sub_800b7a00 +lbl_800B9B98: +/* 800B9B98 000B6AF8 38 61 00 30 */ addi r3, r1, 0x30 +/* 800B9B9C 000B6AFC 4B FF DE 65 */ bl sub_800b7a00 +lbl_800B9BA0: +/* 800B9BA0 000B6B00 80 61 00 88 */ lwz r3, 0x88(r1) +/* 800B9BA4 000B6B04 28 03 00 00 */ cmplwi r3, 0 +/* 800B9BA8 000B6B08 41 82 00 4C */ beq lbl_800B9BF4 +/* 800B9BAC 000B6B0C 38 00 00 01 */ li r0, 1 +/* 800B9BB0 000B6B10 7F A5 EB 78 */ mr r5, r29 +/* 800B9BB4 000B6B14 98 03 00 24 */ stb r0, 0x24(r3) +/* 800B9BB8 000B6B18 38 80 00 01 */ li r4, 1 +/* 800B9BBC 000B6B1C 80 61 00 88 */ lwz r3, 0x88(r1) +/* 800B9BC0 000B6B20 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9BC4 000B6B24 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800B9BC8 000B6B28 7D 89 03 A6 */ mtctr r12 +/* 800B9BCC 000B6B2C 4E 80 04 21 */ bctrl +/* 800B9BD0 000B6B30 80 81 00 88 */ lwz r4, 0x88(r1) +/* 800B9BD4 000B6B34 38 00 00 01 */ li r0, 1 +/* 800B9BD8 000B6B38 7F E3 FB 78 */ mr r3, r31 +/* 800B9BDC 000B6B3C 7F C5 F3 78 */ mr r5, r30 +/* 800B9BE0 000B6B40 98 04 00 40 */ stb r0, 0x40(r4) +/* 800B9BE4 000B6B44 7E 86 A3 78 */ mr r6, r20 +/* 800B9BE8 000B6B48 56 C4 06 3E */ clrlwi r4, r22, 0x18 +/* 800B9BEC 000B6B4C 38 E1 00 84 */ addi r7, r1, 0x84 +/* 800B9BF0 000B6B50 48 00 00 85 */ bl "InsertParticleGen__17CParticleDatabaseFbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl28auto_ptr<16CParticleGenInfo>" +lbl_800B9BF4: +/* 800B9BF4 000B6B54 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800B9BF8 000B6B58 28 00 00 00 */ cmplwi r0, 0 +/* 800B9BFC 000B6B5C 41 82 00 5C */ beq lbl_800B9C58 +/* 800B9C00 000B6B60 80 61 00 88 */ lwz r3, 0x88(r1) +/* 800B9C04 000B6B64 28 03 00 00 */ cmplwi r3, 0 +/* 800B9C08 000B6B68 41 82 00 50 */ beq lbl_800B9C58 +/* 800B9C0C 000B6B6C 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9C10 000B6B70 38 80 00 01 */ li r4, 1 +/* 800B9C14 000B6B74 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B9C18 000B6B78 7D 89 03 A6 */ mtctr r12 +/* 800B9C1C 000B6B7C 4E 80 04 21 */ bctrl +/* 800B9C20 000B6B80 48 00 00 38 */ b lbl_800B9C58 +lbl_800B9C24: +/* 800B9C24 000B6B84 88 12 00 24 */ lbz r0, 0x24(r18) +/* 800B9C28 000B6B88 28 00 00 00 */ cmplwi r0, 0 +/* 800B9C2C 000B6B8C 40 82 00 2C */ bne lbl_800B9C58 +/* 800B9C30 000B6B90 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9C34 000B6B94 7F A5 EB 78 */ mr r5, r29 +/* 800B9C38 000B6B98 38 80 00 01 */ li r4, 1 +/* 800B9C3C 000B6B9C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800B9C40 000B6BA0 7D 89 03 A6 */ mtctr r12 +/* 800B9C44 000B6BA4 4E 80 04 21 */ bctrl +/* 800B9C48 000B6BA8 38 00 00 01 */ li r0, 1 +/* 800B9C4C 000B6BAC 98 12 00 24 */ stb r0, 0x24(r18) +/* 800B9C50 000B6BB0 98 12 00 40 */ stb r0, 0x40(r18) +/* 800B9C54 000B6BB4 93 D2 00 2C */ stw r30, 0x2c(r18) +lbl_800B9C58: +/* 800B9C58 000B6BB8 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 800B9C5C 000B6BBC CB E1 01 00 */ lfd f31, 0x100(r1) +/* 800B9C60 000B6BC0 BA 41 00 C8 */ lmw r18, 0xc8(r1) +/* 800B9C64 000B6BC4 80 01 01 14 */ lwz r0, 0x114(r1) +/* 800B9C68 000B6BC8 7C 08 03 A6 */ mtlr r0 +/* 800B9C6C 000B6BCC 38 21 01 10 */ addi r1, r1, 0x110 +/* 800B9C70 000B6BD0 4E 80 00 20 */ blr + +.global "InsertParticleGen__17CParticleDatabaseFbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl28auto_ptr<16CParticleGenInfo>" +"InsertParticleGen__17CParticleDatabaseFbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl28auto_ptr<16CParticleGenInfo>": +/* 800B9C74 000B6BD4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800B9C78 000B6BD8 7C 08 02 A6 */ mflr r0 +/* 800B9C7C 000B6BDC 90 01 00 54 */ stw r0, 0x54(r1) +/* 800B9C80 000B6BE0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800B9C84 000B6BE4 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 800B9C88 000B6BE8 7C 7B 1B 78 */ mr r27, r3 +/* 800B9C8C 000B6BEC 7C BC 2B 78 */ mr r28, r5 +/* 800B9C90 000B6BF0 7C FD 3B 78 */ mr r29, r7 +/* 800B9C94 000B6BF4 41 82 00 38 */ beq lbl_800B9CCC +/* 800B9C98 000B6BF8 57 80 06 74 */ rlwinm r0, r28, 0, 0x19, 0x1a +/* 800B9C9C 000B6BFC 2C 00 00 40 */ cmpwi r0, 0x40 +/* 800B9CA0 000B6C00 41 82 00 1C */ beq lbl_800B9CBC +/* 800B9CA4 000B6C04 40 80 00 20 */ bge lbl_800B9CC4 +/* 800B9CA8 000B6C08 2C 00 00 20 */ cmpwi r0, 0x20 +/* 800B9CAC 000B6C0C 41 82 00 08 */ beq lbl_800B9CB4 +/* 800B9CB0 000B6C10 48 00 00 14 */ b lbl_800B9CC4 +lbl_800B9CB4: +/* 800B9CB4 000B6C14 3B DB 00 8C */ addi r30, r27, 0x8c +/* 800B9CB8 000B6C18 48 00 00 44 */ b lbl_800B9CFC +lbl_800B9CBC: +/* 800B9CBC 000B6C1C 3B DB 00 A0 */ addi r30, r27, 0xa0 +/* 800B9CC0 000B6C20 48 00 00 3C */ b lbl_800B9CFC +lbl_800B9CC4: +/* 800B9CC4 000B6C24 3B DB 00 78 */ addi r30, r27, 0x78 +/* 800B9CC8 000B6C28 48 00 00 34 */ b lbl_800B9CFC +lbl_800B9CCC: +/* 800B9CCC 000B6C2C 57 80 06 74 */ rlwinm r0, r28, 0, 0x19, 0x1a +/* 800B9CD0 000B6C30 2C 00 00 40 */ cmpwi r0, 0x40 +/* 800B9CD4 000B6C34 41 82 00 1C */ beq lbl_800B9CF0 +/* 800B9CD8 000B6C38 40 80 00 20 */ bge lbl_800B9CF8 +/* 800B9CDC 000B6C3C 2C 00 00 20 */ cmpwi r0, 0x20 +/* 800B9CE0 000B6C40 41 82 00 08 */ beq lbl_800B9CE8 +/* 800B9CE4 000B6C44 48 00 00 14 */ b lbl_800B9CF8 +lbl_800B9CE8: +/* 800B9CE8 000B6C48 3B DB 00 50 */ addi r30, r27, 0x50 +/* 800B9CEC 000B6C4C 48 00 00 10 */ b lbl_800B9CFC +lbl_800B9CF0: +/* 800B9CF0 000B6C50 3B DB 00 64 */ addi r30, r27, 0x64 +/* 800B9CF4 000B6C54 48 00 00 08 */ b lbl_800B9CFC +lbl_800B9CF8: +/* 800B9CF8 000B6C58 3B DB 00 3C */ addi r30, r27, 0x3c +lbl_800B9CFC: +/* 800B9CFC 000B6C5C 7C C4 33 78 */ mr r4, r6 +/* 800B9D00 000B6C60 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B9D04 000B6C64 48 28 44 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800B9D08 000B6C68 88 7D 00 00 */ lbz r3, 0(r29) +/* 800B9D0C 000B6C6C 38 00 00 00 */ li r0, 0 +/* 800B9D10 000B6C70 80 BD 00 04 */ lwz r5, 4(r29) +/* 800B9D14 000B6C74 7F C4 F3 78 */ mr r4, r30 +/* 800B9D18 000B6C78 98 61 00 24 */ stb r3, 0x24(r1) +/* 800B9D1C 000B6C7C 3B E1 00 24 */ addi r31, r1, 0x24 +/* 800B9D20 000B6C80 38 61 00 08 */ addi r3, r1, 8 +/* 800B9D24 000B6C84 38 C1 00 14 */ addi r6, r1, 0x14 +/* 800B9D28 000B6C88 90 A1 00 28 */ stw r5, 0x28(r1) +/* 800B9D2C 000B6C8C 98 1D 00 00 */ stb r0, 0(r29) +/* 800B9D30 000B6C90 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 800B9D34 000B6C94 48 00 18 31 */ bl sub_800bb564 +/* 800B9D38 000B6C98 28 1F 00 00 */ cmplwi r31, 0 +/* 800B9D3C 000B6C9C 41 82 00 30 */ beq lbl_800B9D6C +/* 800B9D40 000B6CA0 88 01 00 24 */ lbz r0, 0x24(r1) +/* 800B9D44 000B6CA4 28 00 00 00 */ cmplwi r0, 0 +/* 800B9D48 000B6CA8 41 82 00 24 */ beq lbl_800B9D6C +/* 800B9D4C 000B6CAC 80 61 00 28 */ lwz r3, 0x28(r1) +/* 800B9D50 000B6CB0 28 03 00 00 */ cmplwi r3, 0 +/* 800B9D54 000B6CB4 41 82 00 18 */ beq lbl_800B9D6C +/* 800B9D58 000B6CB8 81 83 00 00 */ lwz r12, 0(r3) +/* 800B9D5C 000B6CBC 38 80 00 01 */ li r4, 1 +/* 800B9D60 000B6CC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800B9D64 000B6CC4 7D 89 03 A6 */ mtctr r12 +/* 800B9D68 000B6CC8 4E 80 04 21 */ bctrl +lbl_800B9D6C: +/* 800B9D6C 000B6CCC 38 61 00 14 */ addi r3, r1, 0x14 +/* 800B9D70 000B6CD0 48 28 3D 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800B9D74 000B6CD4 57 80 06 75 */ rlwinm. r0, r28, 0, 0x19, 0x1a +/* 800B9D78 000B6CD8 41 82 00 14 */ beq lbl_800B9D8C +/* 800B9D7C 000B6CDC 88 1B 00 B4 */ lbz r0, 0xb4(r27) +/* 800B9D80 000B6CE0 38 60 00 01 */ li r3, 1 +/* 800B9D84 000B6CE4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800B9D88 000B6CE8 98 1B 00 B4 */ stb r0, 0xb4(r27) +lbl_800B9D8C: +/* 800B9D8C 000B6CEC BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 800B9D90 000B6CF0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800B9D94 000B6CF4 7C 08 03 A6 */ mtlr r0 +/* 800B9D98 000B6CF8 38 21 00 50 */ addi r1, r1, 0x50 +/* 800B9D9C 000B6CFC 4E 80 00 20 */ blr + +.global CacheParticleDesc__17CParticleDatabaseFRC10SObjectTag +CacheParticleDesc__17CParticleDatabaseFRC10SObjectTag: +/* 800B9DA0 000B6D00 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800B9DA4 000B6D04 7C 08 02 A6 */ mflr r0 +/* 800B9DA8 000B6D08 3C A0 50 41 */ lis r5, 0x50415254@ha +/* 800B9DAC 000B6D0C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800B9DB0 000B6D10 38 05 52 54 */ addi r0, r5, 0x50415254@l +/* 800B9DB4 000B6D14 93 E1 00 AC */ stw r31, 0xac(r1) +/* 800B9DB8 000B6D18 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 800B9DBC 000B6D1C 7C 7E 1B 78 */ mr r30, r3 +/* 800B9DC0 000B6D20 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 800B9DC4 000B6D24 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 800B9DC8 000B6D28 80 C4 00 00 */ lwz r6, 0(r4) +/* 800B9DCC 000B6D2C 83 E4 00 04 */ lwz r31, 4(r4) +/* 800B9DD0 000B6D30 7C 06 00 00 */ cmpw r6, r0 +/* 800B9DD4 000B6D34 41 82 00 30 */ beq lbl_800B9E04 +/* 800B9DD8 000B6D38 40 80 00 18 */ bge lbl_800B9DF0 +/* 800B9DDC 000B6D3C 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 800B9DE0 000B6D40 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 800B9DE4 000B6D44 7C 06 00 00 */ cmpw r6, r0 +/* 800B9DE8 000B6D48 41 82 03 14 */ beq lbl_800BA0FC +/* 800B9DEC 000B6D4C 48 00 04 88 */ b lbl_800BA274 +lbl_800B9DF0: +/* 800B9DF0 000B6D50 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 800B9DF4 000B6D54 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 800B9DF8 000B6D58 7C 06 00 00 */ cmpw r6, r0 +/* 800B9DFC 000B6D5C 41 82 01 84 */ beq lbl_800B9F80 +/* 800B9E00 000B6D60 48 00 04 74 */ b lbl_800BA274 +lbl_800B9E04: +/* 800B9E04 000B6D64 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 800B9E08 000B6D68 38 80 00 00 */ li r4, 0 +/* 800B9E0C 000B6D6C 48 00 00 20 */ b lbl_800B9E2C +lbl_800B9E10: +/* 800B9E10 000B6D70 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800B9E14 000B6D74 7C 00 F8 40 */ cmplw r0, r31 +/* 800B9E18 000B6D78 41 80 00 10 */ blt lbl_800B9E28 +/* 800B9E1C 000B6D7C 7C 64 1B 78 */ mr r4, r3 +/* 800B9E20 000B6D80 80 63 00 00 */ lwz r3, 0(r3) +/* 800B9E24 000B6D84 48 00 00 08 */ b lbl_800B9E2C +lbl_800B9E28: +/* 800B9E28 000B6D88 80 63 00 04 */ lwz r3, 4(r3) +lbl_800B9E2C: +/* 800B9E2C 000B6D8C 28 03 00 00 */ cmplwi r3, 0 +/* 800B9E30 000B6D90 40 82 FF E0 */ bne lbl_800B9E10 +/* 800B9E34 000B6D94 28 04 00 00 */ cmplwi r4, 0 +/* 800B9E38 000B6D98 38 60 00 00 */ li r3, 0 +/* 800B9E3C 000B6D9C 41 82 00 10 */ beq lbl_800B9E4C +/* 800B9E40 000B6DA0 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800B9E44 000B6DA4 7C 1F 00 40 */ cmplw r31, r0 +/* 800B9E48 000B6DA8 40 80 00 08 */ bge lbl_800B9E50 +lbl_800B9E4C: +/* 800B9E4C 000B6DAC 38 60 00 01 */ li r3, 1 +lbl_800B9E50: +/* 800B9E50 000B6DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B9E54 000B6DB4 41 82 00 08 */ beq lbl_800B9E5C +/* 800B9E58 000B6DB8 38 80 00 00 */ li r4, 0 +lbl_800B9E5C: +/* 800B9E5C 000B6DBC 38 00 00 00 */ li r0, 0 +/* 800B9E60 000B6DC0 38 7E 00 08 */ addi r3, r30, 8 +/* 800B9E64 000B6DC4 7C 04 00 40 */ cmplw r4, r0 +/* 800B9E68 000B6DC8 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800B9E6C 000B6DCC 90 61 00 70 */ stw r3, 0x70(r1) +/* 800B9E70 000B6DD0 40 82 00 10 */ bne lbl_800B9E80 +/* 800B9E74 000B6DD4 7C 03 18 40 */ cmplw r3, r3 +/* 800B9E78 000B6DD8 40 82 00 08 */ bne lbl_800B9E80 +/* 800B9E7C 000B6DDC 38 00 00 01 */ li r0, 1 +lbl_800B9E80: +/* 800B9E80 000B6DE0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800B9E84 000B6DE4 41 82 03 F0 */ beq lbl_800BA274 +/* 800B9E88 000B6DE8 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800B9E8C 000B6DEC 3B 80 00 00 */ li r28, 0 +/* 800B9E90 000B6DF0 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800B9E94 000B6DF4 38 A0 00 00 */ li r5, 0 +/* 800B9E98 000B6DF8 38 60 00 0C */ li r3, 0xc +/* 800B9E9C 000B6DFC 48 25 B9 D1 */ bl __nw__FUlPCcPCc +/* 800B9EA0 000B6E00 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800B9EA4 000B6E04 41 82 00 50 */ beq lbl_800B9EF4 +/* 800B9EA8 000B6E08 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 800B9EAC 000B6E0C 93 E1 00 68 */ stw r31, 0x68(r1) +/* 800B9EB0 000B6E10 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 800B9EB4 000B6E14 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800B9EB8 000B6E18 90 01 00 64 */ stw r0, 0x64(r1) +/* 800B9EBC 000B6E1C 38 61 00 5C */ addi r3, r1, 0x5c +/* 800B9EC0 000B6E20 38 A1 00 64 */ addi r5, r1, 0x64 +/* 800B9EC4 000B6E24 81 84 00 00 */ lwz r12, 0(r4) +/* 800B9EC8 000B6E28 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800B9ECC 000B6E2C 7D 89 03 A6 */ mtctr r12 +/* 800B9ED0 000B6E30 4E 80 04 21 */ bctrl +/* 800B9ED4 000B6E34 7F A3 EB 78 */ mr r3, r29 +/* 800B9ED8 000B6E38 38 81 00 5C */ addi r4, r1, 0x5c +/* 800B9EDC 000B6E3C 3B 80 00 01 */ li r28, 1 +/* 800B9EE0 000B6E40 48 28 6F C9 */ bl __ct__6CTokenFRC6CToken +/* 800B9EE4 000B6E44 7F A3 EB 78 */ mr r3, r29 +/* 800B9EE8 000B6E48 48 28 6F 25 */ bl GetObj__6CTokenFv +/* 800B9EEC 000B6E4C 80 03 00 04 */ lwz r0, 4(r3) +/* 800B9EF0 000B6E50 90 1D 00 08 */ stw r0, 8(r29) +lbl_800B9EF4: +/* 800B9EF4 000B6E54 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800B9EF8 000B6E58 38 60 00 08 */ li r3, 8 +/* 800B9EFC 000B6E5C 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800B9F00 000B6E60 38 A0 00 00 */ li r5, 0 +/* 800B9F04 000B6E64 48 25 B9 69 */ bl __nw__FUlPCcPCc +/* 800B9F08 000B6E68 28 03 00 00 */ cmplwi r3, 0 +/* 800B9F0C 000B6E6C 41 82 00 10 */ beq lbl_800B9F1C +/* 800B9F10 000B6E70 93 A3 00 00 */ stw r29, 0(r3) +/* 800B9F14 000B6E74 38 00 00 01 */ li r0, 1 +/* 800B9F18 000B6E78 90 03 00 04 */ stw r0, 4(r3) +lbl_800B9F1C: +/* 800B9F1C 000B6E7C 7F 80 07 75 */ extsb. r0, r28 +/* 800B9F20 000B6E80 90 61 00 10 */ stw r3, 0x10(r1) +/* 800B9F24 000B6E84 41 82 00 10 */ beq lbl_800B9F34 +/* 800B9F28 000B6E88 38 61 00 5C */ addi r3, r1, 0x5c +/* 800B9F2C 000B6E8C 38 80 FF FF */ li r4, -1 +/* 800B9F30 000B6E90 48 28 6F 11 */ bl __dt__6CTokenFv +lbl_800B9F34: +/* 800B9F34 000B6E94 80 E1 00 10 */ lwz r7, 0x10(r1) +/* 800B9F38 000B6E98 7F C4 F3 78 */ mr r4, r30 +/* 800B9F3C 000B6E9C 93 E1 00 54 */ stw r31, 0x54(r1) +/* 800B9F40 000B6EA0 3B A1 00 58 */ addi r29, r1, 0x58 +/* 800B9F44 000B6EA4 38 61 00 8C */ addi r3, r1, 0x8c +/* 800B9F48 000B6EA8 38 C1 00 54 */ addi r6, r1, 0x54 +/* 800B9F4C 000B6EAC 90 E1 00 58 */ stw r7, 0x58(r1) +/* 800B9F50 000B6EB0 80 A7 00 04 */ lwz r5, 4(r7) +/* 800B9F54 000B6EB4 38 05 00 01 */ addi r0, r5, 1 +/* 800B9F58 000B6EB8 90 07 00 04 */ stw r0, 4(r7) +/* 800B9F5C 000B6EBC 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 800B9F60 000B6EC0 48 00 0D D1 */ bl sub_800bad30 +/* 800B9F64 000B6EC4 28 1D 00 00 */ cmplwi r29, 0 +/* 800B9F68 000B6EC8 41 82 00 0C */ beq lbl_800B9F74 +/* 800B9F6C 000B6ECC 7F A3 EB 78 */ mr r3, r29 +/* 800B9F70 000B6ED0 48 00 18 75 */ bl sub_800bb7e4 +lbl_800B9F74: +/* 800B9F74 000B6ED4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800B9F78 000B6ED8 48 00 18 6D */ bl sub_800bb7e4 +/* 800B9F7C 000B6EDC 48 00 02 F8 */ b lbl_800BA274 +lbl_800B9F80: +/* 800B9F80 000B6EE0 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 800B9F84 000B6EE4 38 80 00 00 */ li r4, 0 +/* 800B9F88 000B6EE8 48 00 00 20 */ b lbl_800B9FA8 +lbl_800B9F8C: +/* 800B9F8C 000B6EEC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800B9F90 000B6EF0 7C 00 F8 40 */ cmplw r0, r31 +/* 800B9F94 000B6EF4 41 80 00 10 */ blt lbl_800B9FA4 +/* 800B9F98 000B6EF8 7C 64 1B 78 */ mr r4, r3 +/* 800B9F9C 000B6EFC 80 63 00 00 */ lwz r3, 0(r3) +/* 800B9FA0 000B6F00 48 00 00 08 */ b lbl_800B9FA8 +lbl_800B9FA4: +/* 800B9FA4 000B6F04 80 63 00 04 */ lwz r3, 4(r3) +lbl_800B9FA8: +/* 800B9FA8 000B6F08 28 03 00 00 */ cmplwi r3, 0 +/* 800B9FAC 000B6F0C 40 82 FF E0 */ bne lbl_800B9F8C +/* 800B9FB0 000B6F10 28 04 00 00 */ cmplwi r4, 0 +/* 800B9FB4 000B6F14 38 60 00 00 */ li r3, 0 +/* 800B9FB8 000B6F18 41 82 00 10 */ beq lbl_800B9FC8 +/* 800B9FBC 000B6F1C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800B9FC0 000B6F20 7C 1F 00 40 */ cmplw r31, r0 +/* 800B9FC4 000B6F24 40 80 00 08 */ bge lbl_800B9FCC +lbl_800B9FC8: +/* 800B9FC8 000B6F28 38 60 00 01 */ li r3, 1 +lbl_800B9FCC: +/* 800B9FCC 000B6F2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800B9FD0 000B6F30 41 82 00 08 */ beq lbl_800B9FD8 +/* 800B9FD4 000B6F34 38 80 00 00 */ li r4, 0 +lbl_800B9FD8: +/* 800B9FD8 000B6F38 38 00 00 00 */ li r0, 0 +/* 800B9FDC 000B6F3C 38 7E 00 1C */ addi r3, r30, 0x1c +/* 800B9FE0 000B6F40 7C 04 00 40 */ cmplw r4, r0 +/* 800B9FE4 000B6F44 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800B9FE8 000B6F48 90 61 00 50 */ stw r3, 0x50(r1) +/* 800B9FEC 000B6F4C 40 82 00 10 */ bne lbl_800B9FFC +/* 800B9FF0 000B6F50 7C 03 18 40 */ cmplw r3, r3 +/* 800B9FF4 000B6F54 40 82 00 08 */ bne lbl_800B9FFC +/* 800B9FF8 000B6F58 38 00 00 01 */ li r0, 1 +lbl_800B9FFC: +/* 800B9FFC 000B6F5C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800BA000 000B6F60 41 82 02 74 */ beq lbl_800BA274 +/* 800BA004 000B6F64 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800BA008 000B6F68 3B 80 00 00 */ li r28, 0 +/* 800BA00C 000B6F6C 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800BA010 000B6F70 38 A0 00 00 */ li r5, 0 +/* 800BA014 000B6F74 38 60 00 0C */ li r3, 0xc +/* 800BA018 000B6F78 48 25 B8 55 */ bl __nw__FUlPCcPCc +/* 800BA01C 000B6F7C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800BA020 000B6F80 41 82 00 50 */ beq lbl_800BA070 +/* 800BA024 000B6F84 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 800BA028 000B6F88 93 E1 00 48 */ stw r31, 0x48(r1) +/* 800BA02C 000B6F8C 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 800BA030 000B6F90 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800BA034 000B6F94 90 01 00 44 */ stw r0, 0x44(r1) +/* 800BA038 000B6F98 38 61 00 3C */ addi r3, r1, 0x3c +/* 800BA03C 000B6F9C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800BA040 000B6FA0 81 84 00 00 */ lwz r12, 0(r4) +/* 800BA044 000B6FA4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800BA048 000B6FA8 7D 89 03 A6 */ mtctr r12 +/* 800BA04C 000B6FAC 4E 80 04 21 */ bctrl +/* 800BA050 000B6FB0 7F A3 EB 78 */ mr r3, r29 +/* 800BA054 000B6FB4 38 81 00 3C */ addi r4, r1, 0x3c +/* 800BA058 000B6FB8 3B 80 00 01 */ li r28, 1 +/* 800BA05C 000B6FBC 48 28 6E 4D */ bl __ct__6CTokenFRC6CToken +/* 800BA060 000B6FC0 7F A3 EB 78 */ mr r3, r29 +/* 800BA064 000B6FC4 48 28 6D A9 */ bl GetObj__6CTokenFv +/* 800BA068 000B6FC8 80 03 00 04 */ lwz r0, 4(r3) +/* 800BA06C 000B6FCC 90 1D 00 08 */ stw r0, 8(r29) +lbl_800BA070: +/* 800BA070 000B6FD0 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BA074 000B6FD4 38 60 00 08 */ li r3, 8 +/* 800BA078 000B6FD8 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BA07C 000B6FDC 38 A0 00 00 */ li r5, 0 +/* 800BA080 000B6FE0 48 25 B7 ED */ bl __nw__FUlPCcPCc +/* 800BA084 000B6FE4 28 03 00 00 */ cmplwi r3, 0 +/* 800BA088 000B6FE8 41 82 00 10 */ beq lbl_800BA098 +/* 800BA08C 000B6FEC 93 A3 00 00 */ stw r29, 0(r3) +/* 800BA090 000B6FF0 38 00 00 01 */ li r0, 1 +/* 800BA094 000B6FF4 90 03 00 04 */ stw r0, 4(r3) +lbl_800BA098: +/* 800BA098 000B6FF8 7F 80 07 75 */ extsb. r0, r28 +/* 800BA09C 000B6FFC 90 61 00 0C */ stw r3, 0xc(r1) +/* 800BA0A0 000B7000 41 82 00 10 */ beq lbl_800BA0B0 +/* 800BA0A4 000B7004 38 61 00 3C */ addi r3, r1, 0x3c +/* 800BA0A8 000B7008 38 80 FF FF */ li r4, -1 +/* 800BA0AC 000B700C 48 28 6D 95 */ bl __dt__6CTokenFv +lbl_800BA0B0: +/* 800BA0B0 000B7010 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 800BA0B4 000B7014 3B A1 00 38 */ addi r29, r1, 0x38 +/* 800BA0B8 000B7018 93 E1 00 34 */ stw r31, 0x34(r1) +/* 800BA0BC 000B701C 38 61 00 80 */ addi r3, r1, 0x80 +/* 800BA0C0 000B7020 38 9E 00 14 */ addi r4, r30, 0x14 +/* 800BA0C4 000B7024 38 C1 00 34 */ addi r6, r1, 0x34 +/* 800BA0C8 000B7028 90 E1 00 38 */ stw r7, 0x38(r1) +/* 800BA0CC 000B702C 80 A7 00 04 */ lwz r5, 4(r7) +/* 800BA0D0 000B7030 38 05 00 01 */ addi r0, r5, 1 +/* 800BA0D4 000B7034 90 07 00 04 */ stw r0, 4(r7) +/* 800BA0D8 000B7038 80 BE 00 24 */ lwz r5, 0x24(r30) +/* 800BA0DC 000B703C 48 00 0F 3D */ bl sub_800bb018 +/* 800BA0E0 000B7040 28 1D 00 00 */ cmplwi r29, 0 +/* 800BA0E4 000B7044 41 82 00 0C */ beq lbl_800BA0F0 +/* 800BA0E8 000B7048 7F A3 EB 78 */ mr r3, r29 +/* 800BA0EC 000B704C 48 00 17 75 */ bl sub_800bb860 +lbl_800BA0F0: +/* 800BA0F0 000B7050 38 61 00 0C */ addi r3, r1, 0xc +/* 800BA0F4 000B7054 48 00 17 6D */ bl sub_800bb860 +/* 800BA0F8 000B7058 48 00 01 7C */ b lbl_800BA274 +lbl_800BA0FC: +/* 800BA0FC 000B705C 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 800BA100 000B7060 38 80 00 00 */ li r4, 0 +/* 800BA104 000B7064 48 00 00 20 */ b lbl_800BA124 +lbl_800BA108: +/* 800BA108 000B7068 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BA10C 000B706C 7C 00 F8 40 */ cmplw r0, r31 +/* 800BA110 000B7070 41 80 00 10 */ blt lbl_800BA120 +/* 800BA114 000B7074 7C 64 1B 78 */ mr r4, r3 +/* 800BA118 000B7078 80 63 00 00 */ lwz r3, 0(r3) +/* 800BA11C 000B707C 48 00 00 08 */ b lbl_800BA124 +lbl_800BA120: +/* 800BA120 000B7080 80 63 00 04 */ lwz r3, 4(r3) +lbl_800BA124: +/* 800BA124 000B7084 28 03 00 00 */ cmplwi r3, 0 +/* 800BA128 000B7088 40 82 FF E0 */ bne lbl_800BA108 +/* 800BA12C 000B708C 28 04 00 00 */ cmplwi r4, 0 +/* 800BA130 000B7090 38 60 00 00 */ li r3, 0 +/* 800BA134 000B7094 41 82 00 10 */ beq lbl_800BA144 +/* 800BA138 000B7098 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800BA13C 000B709C 7C 1F 00 40 */ cmplw r31, r0 +/* 800BA140 000B70A0 40 80 00 08 */ bge lbl_800BA148 +lbl_800BA144: +/* 800BA144 000B70A4 38 60 00 01 */ li r3, 1 +lbl_800BA148: +/* 800BA148 000B70A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BA14C 000B70AC 41 82 00 08 */ beq lbl_800BA154 +/* 800BA150 000B70B0 38 80 00 00 */ li r4, 0 +lbl_800BA154: +/* 800BA154 000B70B4 38 00 00 00 */ li r0, 0 +/* 800BA158 000B70B8 38 7E 00 30 */ addi r3, r30, 0x30 +/* 800BA15C 000B70BC 7C 04 00 40 */ cmplw r4, r0 +/* 800BA160 000B70C0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800BA164 000B70C4 90 61 00 30 */ stw r3, 0x30(r1) +/* 800BA168 000B70C8 40 82 00 10 */ bne lbl_800BA178 +/* 800BA16C 000B70CC 7C 03 18 40 */ cmplw r3, r3 +/* 800BA170 000B70D0 40 82 00 08 */ bne lbl_800BA178 +/* 800BA174 000B70D4 38 00 00 01 */ li r0, 1 +lbl_800BA178: +/* 800BA178 000B70D8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800BA17C 000B70DC 41 82 00 F8 */ beq lbl_800BA274 +/* 800BA180 000B70E0 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800BA184 000B70E4 3B 80 00 00 */ li r28, 0 +/* 800BA188 000B70E8 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800BA18C 000B70EC 38 A0 00 00 */ li r5, 0 +/* 800BA190 000B70F0 38 60 00 0C */ li r3, 0xc +/* 800BA194 000B70F4 48 25 B6 D9 */ bl __nw__FUlPCcPCc +/* 800BA198 000B70F8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800BA19C 000B70FC 41 82 00 50 */ beq lbl_800BA1EC +/* 800BA1A0 000B7100 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 800BA1A4 000B7104 93 E1 00 28 */ stw r31, 0x28(r1) +/* 800BA1A8 000B7108 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 800BA1AC 000B710C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800BA1B0 000B7110 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BA1B4 000B7114 38 61 00 1C */ addi r3, r1, 0x1c +/* 800BA1B8 000B7118 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800BA1BC 000B711C 81 84 00 00 */ lwz r12, 0(r4) +/* 800BA1C0 000B7120 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800BA1C4 000B7124 7D 89 03 A6 */ mtctr r12 +/* 800BA1C8 000B7128 4E 80 04 21 */ bctrl +/* 800BA1CC 000B712C 7F A3 EB 78 */ mr r3, r29 +/* 800BA1D0 000B7130 38 81 00 1C */ addi r4, r1, 0x1c +/* 800BA1D4 000B7134 3B 80 00 01 */ li r28, 1 +/* 800BA1D8 000B7138 48 28 6C D1 */ bl __ct__6CTokenFRC6CToken +/* 800BA1DC 000B713C 7F A3 EB 78 */ mr r3, r29 +/* 800BA1E0 000B7140 48 28 6C 2D */ bl GetObj__6CTokenFv +/* 800BA1E4 000B7144 80 03 00 04 */ lwz r0, 4(r3) +/* 800BA1E8 000B7148 90 1D 00 08 */ stw r0, 8(r29) +lbl_800BA1EC: +/* 800BA1EC 000B714C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BA1F0 000B7150 38 60 00 08 */ li r3, 8 +/* 800BA1F4 000B7154 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BA1F8 000B7158 38 A0 00 00 */ li r5, 0 +/* 800BA1FC 000B715C 48 25 B6 71 */ bl __nw__FUlPCcPCc +/* 800BA200 000B7160 28 03 00 00 */ cmplwi r3, 0 +/* 800BA204 000B7164 41 82 00 10 */ beq lbl_800BA214 +/* 800BA208 000B7168 93 A3 00 00 */ stw r29, 0(r3) +/* 800BA20C 000B716C 38 00 00 01 */ li r0, 1 +/* 800BA210 000B7170 90 03 00 04 */ stw r0, 4(r3) +lbl_800BA214: +/* 800BA214 000B7174 7F 80 07 75 */ extsb. r0, r28 +/* 800BA218 000B7178 90 61 00 08 */ stw r3, 8(r1) +/* 800BA21C 000B717C 41 82 00 10 */ beq lbl_800BA22C +/* 800BA220 000B7180 38 61 00 1C */ addi r3, r1, 0x1c +/* 800BA224 000B7184 38 80 FF FF */ li r4, -1 +/* 800BA228 000B7188 48 28 6C 19 */ bl __dt__6CTokenFv +lbl_800BA22C: +/* 800BA22C 000B718C 80 E1 00 08 */ lwz r7, 8(r1) +/* 800BA230 000B7190 3B A1 00 18 */ addi r29, r1, 0x18 +/* 800BA234 000B7194 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800BA238 000B7198 38 61 00 74 */ addi r3, r1, 0x74 +/* 800BA23C 000B719C 38 9E 00 28 */ addi r4, r30, 0x28 +/* 800BA240 000B71A0 38 C1 00 14 */ addi r6, r1, 0x14 +/* 800BA244 000B71A4 90 E1 00 18 */ stw r7, 0x18(r1) +/* 800BA248 000B71A8 80 A7 00 04 */ lwz r5, 4(r7) +/* 800BA24C 000B71AC 38 05 00 01 */ addi r0, r5, 1 +/* 800BA250 000B71B0 90 07 00 04 */ stw r0, 4(r7) +/* 800BA254 000B71B4 80 BE 00 38 */ lwz r5, 0x38(r30) +/* 800BA258 000B71B8 48 00 10 A9 */ bl sub_800bb300 +/* 800BA25C 000B71BC 28 1D 00 00 */ cmplwi r29, 0 +/* 800BA260 000B71C0 41 82 00 0C */ beq lbl_800BA26C +/* 800BA264 000B71C4 7F A3 EB 78 */ mr r3, r29 +/* 800BA268 000B71C8 48 00 16 75 */ bl sub_800bb8dc +lbl_800BA26C: +/* 800BA26C 000B71CC 38 61 00 08 */ addi r3, r1, 8 +/* 800BA270 000B71D0 48 00 16 6D */ bl sub_800bb8dc +lbl_800BA274: +/* 800BA274 000B71D4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800BA278 000B71D8 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 800BA27C 000B71DC 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 800BA280 000B71E0 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 800BA284 000B71E4 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 800BA288 000B71E8 7C 08 03 A6 */ mtlr r0 +/* 800BA28C 000B71EC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800BA290 000B71F0 4E 80 00 20 */ blr + +.global CacheParticleDesc__17CParticleDatabaseFRCQ213CharacterInfo16CParticleResData +CacheParticleDesc__17CParticleDatabaseFRCQ213CharacterInfo16CParticleResData: +/* 800BA294 000B71F4 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800BA298 000B71F8 7C 08 02 A6 */ mflr r0 +/* 800BA29C 000B71FC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800BA2A0 000B7200 BE E1 00 9C */ stmw r23, 0x9c(r1) +/* 800BA2A4 000B7204 7C 7F 1B 78 */ mr r31, r3 +/* 800BA2A8 000B7208 3B 9F 00 08 */ addi r28, r31, 8 +/* 800BA2AC 000B720C 7C 9E 23 78 */ mr r30, r4 +/* 800BA2B0 000B7210 93 81 00 70 */ stw r28, 0x70(r1) +/* 800BA2B4 000B7214 3B 61 00 58 */ addi r27, r1, 0x58 +/* 800BA2B8 000B7218 80 04 00 04 */ lwz r0, 4(r4) +/* 800BA2BC 000B721C 83 44 00 0C */ lwz r26, 0xc(r4) +/* 800BA2C0 000B7220 54 00 10 3A */ slwi r0, r0, 2 +/* 800BA2C4 000B7224 7F BA 02 14 */ add r29, r26, r0 +/* 800BA2C8 000B7228 48 00 01 78 */ b lbl_800BA440 +lbl_800BA2CC: +/* 800BA2CC 000B722C 83 3A 00 00 */ lwz r25, 0(r26) +/* 800BA2D0 000B7230 38 80 00 00 */ li r4, 0 +/* 800BA2D4 000B7234 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 800BA2D8 000B7238 48 00 00 20 */ b lbl_800BA2F8 +lbl_800BA2DC: +/* 800BA2DC 000B723C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BA2E0 000B7240 7C 00 C8 40 */ cmplw r0, r25 +/* 800BA2E4 000B7244 41 80 00 10 */ blt lbl_800BA2F4 +/* 800BA2E8 000B7248 7C 64 1B 78 */ mr r4, r3 +/* 800BA2EC 000B724C 80 63 00 00 */ lwz r3, 0(r3) +/* 800BA2F0 000B7250 48 00 00 08 */ b lbl_800BA2F8 +lbl_800BA2F4: +/* 800BA2F4 000B7254 80 63 00 04 */ lwz r3, 4(r3) +lbl_800BA2F8: +/* 800BA2F8 000B7258 28 03 00 00 */ cmplwi r3, 0 +/* 800BA2FC 000B725C 40 82 FF E0 */ bne lbl_800BA2DC +/* 800BA300 000B7260 28 04 00 00 */ cmplwi r4, 0 +/* 800BA304 000B7264 38 60 00 00 */ li r3, 0 +/* 800BA308 000B7268 41 82 00 10 */ beq lbl_800BA318 +/* 800BA30C 000B726C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800BA310 000B7270 7C 19 00 40 */ cmplw r25, r0 +/* 800BA314 000B7274 40 80 00 08 */ bge lbl_800BA31C +lbl_800BA318: +/* 800BA318 000B7278 38 60 00 01 */ li r3, 1 +lbl_800BA31C: +/* 800BA31C 000B727C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BA320 000B7280 41 82 00 08 */ beq lbl_800BA328 +/* 800BA324 000B7284 38 80 00 00 */ li r4, 0 +lbl_800BA328: +/* 800BA328 000B7288 38 00 00 00 */ li r0, 0 +/* 800BA32C 000B728C 7C 04 00 40 */ cmplw r4, r0 +/* 800BA330 000B7290 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800BA334 000B7294 40 82 00 10 */ bne lbl_800BA344 +/* 800BA338 000B7298 7C 1C E0 40 */ cmplw r28, r28 +/* 800BA33C 000B729C 40 82 00 08 */ bne lbl_800BA344 +/* 800BA340 000B72A0 38 00 00 01 */ li r0, 1 +lbl_800BA344: +/* 800BA344 000B72A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800BA348 000B72A8 41 82 00 F4 */ beq lbl_800BA43C +/* 800BA34C 000B72AC 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800BA350 000B72B0 3A E0 00 00 */ li r23, 0 +/* 800BA354 000B72B4 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800BA358 000B72B8 38 A0 00 00 */ li r5, 0 +/* 800BA35C 000B72BC 38 60 00 0C */ li r3, 0xc +/* 800BA360 000B72C0 48 25 B5 0D */ bl __nw__FUlPCcPCc +/* 800BA364 000B72C4 7C 78 1B 79 */ or. r24, r3, r3 +/* 800BA368 000B72C8 41 82 00 50 */ beq lbl_800BA3B8 +/* 800BA36C 000B72CC 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 800BA370 000B72D0 93 21 00 68 */ stw r25, 0x68(r1) +/* 800BA374 000B72D4 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 800BA378 000B72D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800BA37C 000B72DC 90 01 00 64 */ stw r0, 0x64(r1) +/* 800BA380 000B72E0 38 61 00 5C */ addi r3, r1, 0x5c +/* 800BA384 000B72E4 38 A1 00 64 */ addi r5, r1, 0x64 +/* 800BA388 000B72E8 81 84 00 00 */ lwz r12, 0(r4) +/* 800BA38C 000B72EC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800BA390 000B72F0 7D 89 03 A6 */ mtctr r12 +/* 800BA394 000B72F4 4E 80 04 21 */ bctrl +/* 800BA398 000B72F8 7F 03 C3 78 */ mr r3, r24 +/* 800BA39C 000B72FC 38 81 00 5C */ addi r4, r1, 0x5c +/* 800BA3A0 000B7300 3A E0 00 01 */ li r23, 1 +/* 800BA3A4 000B7304 48 28 6B 05 */ bl __ct__6CTokenFRC6CToken +/* 800BA3A8 000B7308 7F 03 C3 78 */ mr r3, r24 +/* 800BA3AC 000B730C 48 28 6A 61 */ bl GetObj__6CTokenFv +/* 800BA3B0 000B7310 80 03 00 04 */ lwz r0, 4(r3) +/* 800BA3B4 000B7314 90 18 00 08 */ stw r0, 8(r24) +lbl_800BA3B8: +/* 800BA3B8 000B7318 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BA3BC 000B731C 38 60 00 08 */ li r3, 8 +/* 800BA3C0 000B7320 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BA3C4 000B7324 38 A0 00 00 */ li r5, 0 +/* 800BA3C8 000B7328 48 25 B4 A5 */ bl __nw__FUlPCcPCc +/* 800BA3CC 000B732C 28 03 00 00 */ cmplwi r3, 0 +/* 800BA3D0 000B7330 41 82 00 10 */ beq lbl_800BA3E0 +/* 800BA3D4 000B7334 93 03 00 00 */ stw r24, 0(r3) +/* 800BA3D8 000B7338 38 00 00 01 */ li r0, 1 +/* 800BA3DC 000B733C 90 03 00 04 */ stw r0, 4(r3) +lbl_800BA3E0: +/* 800BA3E0 000B7340 7E E0 07 75 */ extsb. r0, r23 +/* 800BA3E4 000B7344 90 61 00 10 */ stw r3, 0x10(r1) +/* 800BA3E8 000B7348 41 82 00 10 */ beq lbl_800BA3F8 +/* 800BA3EC 000B734C 38 61 00 5C */ addi r3, r1, 0x5c +/* 800BA3F0 000B7350 38 80 FF FF */ li r4, -1 +/* 800BA3F4 000B7354 48 28 6A 4D */ bl __dt__6CTokenFv +lbl_800BA3F8: +/* 800BA3F8 000B7358 80 E1 00 10 */ lwz r7, 0x10(r1) +/* 800BA3FC 000B735C 7F E4 FB 78 */ mr r4, r31 +/* 800BA400 000B7360 93 21 00 54 */ stw r25, 0x54(r1) +/* 800BA404 000B7364 38 61 00 8C */ addi r3, r1, 0x8c +/* 800BA408 000B7368 38 C1 00 54 */ addi r6, r1, 0x54 +/* 800BA40C 000B736C 90 E1 00 58 */ stw r7, 0x58(r1) +/* 800BA410 000B7370 80 A7 00 04 */ lwz r5, 4(r7) +/* 800BA414 000B7374 38 05 00 01 */ addi r0, r5, 1 +/* 800BA418 000B7378 90 07 00 04 */ stw r0, 4(r7) +/* 800BA41C 000B737C 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 800BA420 000B7380 48 00 09 11 */ bl sub_800bad30 +/* 800BA424 000B7384 28 1B 00 00 */ cmplwi r27, 0 +/* 800BA428 000B7388 41 82 00 0C */ beq lbl_800BA434 +/* 800BA42C 000B738C 7F 63 DB 78 */ mr r3, r27 +/* 800BA430 000B7390 48 00 13 B5 */ bl sub_800bb7e4 +lbl_800BA434: +/* 800BA434 000B7394 38 61 00 10 */ addi r3, r1, 0x10 +/* 800BA438 000B7398 48 00 13 AD */ bl sub_800bb7e4 +lbl_800BA43C: +/* 800BA43C 000B739C 3B 5A 00 04 */ addi r26, r26, 4 +lbl_800BA440: +/* 800BA440 000B73A0 7C 1A E8 40 */ cmplw r26, r29 +/* 800BA444 000B73A4 40 82 FE 88 */ bne lbl_800BA2CC +/* 800BA448 000B73A8 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 800BA44C 000B73AC 3B 7F 00 1C */ addi r27, r31, 0x1c +/* 800BA450 000B73B0 83 5E 00 1C */ lwz r26, 0x1c(r30) +/* 800BA454 000B73B4 3B A1 00 38 */ addi r29, r1, 0x38 +/* 800BA458 000B73B8 54 00 10 3A */ slwi r0, r0, 2 +/* 800BA45C 000B73BC 93 61 00 50 */ stw r27, 0x50(r1) +/* 800BA460 000B73C0 7F 9A 02 14 */ add r28, r26, r0 +/* 800BA464 000B73C4 48 00 01 78 */ b lbl_800BA5DC +lbl_800BA468: +/* 800BA468 000B73C8 83 3A 00 00 */ lwz r25, 0(r26) +/* 800BA46C 000B73CC 38 80 00 00 */ li r4, 0 +/* 800BA470 000B73D0 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800BA474 000B73D4 48 00 00 20 */ b lbl_800BA494 +lbl_800BA478: +/* 800BA478 000B73D8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BA47C 000B73DC 7C 00 C8 40 */ cmplw r0, r25 +/* 800BA480 000B73E0 41 80 00 10 */ blt lbl_800BA490 +/* 800BA484 000B73E4 7C 64 1B 78 */ mr r4, r3 +/* 800BA488 000B73E8 80 63 00 00 */ lwz r3, 0(r3) +/* 800BA48C 000B73EC 48 00 00 08 */ b lbl_800BA494 +lbl_800BA490: +/* 800BA490 000B73F0 80 63 00 04 */ lwz r3, 4(r3) +lbl_800BA494: +/* 800BA494 000B73F4 28 03 00 00 */ cmplwi r3, 0 +/* 800BA498 000B73F8 40 82 FF E0 */ bne lbl_800BA478 +/* 800BA49C 000B73FC 28 04 00 00 */ cmplwi r4, 0 +/* 800BA4A0 000B7400 38 60 00 00 */ li r3, 0 +/* 800BA4A4 000B7404 41 82 00 10 */ beq lbl_800BA4B4 +/* 800BA4A8 000B7408 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800BA4AC 000B740C 7C 19 00 40 */ cmplw r25, r0 +/* 800BA4B0 000B7410 40 80 00 08 */ bge lbl_800BA4B8 +lbl_800BA4B4: +/* 800BA4B4 000B7414 38 60 00 01 */ li r3, 1 +lbl_800BA4B8: +/* 800BA4B8 000B7418 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BA4BC 000B741C 41 82 00 08 */ beq lbl_800BA4C4 +/* 800BA4C0 000B7420 38 80 00 00 */ li r4, 0 +lbl_800BA4C4: +/* 800BA4C4 000B7424 38 00 00 00 */ li r0, 0 +/* 800BA4C8 000B7428 7C 04 00 40 */ cmplw r4, r0 +/* 800BA4CC 000B742C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800BA4D0 000B7430 40 82 00 10 */ bne lbl_800BA4E0 +/* 800BA4D4 000B7434 7C 1B D8 40 */ cmplw r27, r27 +/* 800BA4D8 000B7438 40 82 00 08 */ bne lbl_800BA4E0 +/* 800BA4DC 000B743C 38 00 00 01 */ li r0, 1 +lbl_800BA4E0: +/* 800BA4E0 000B7440 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800BA4E4 000B7444 41 82 00 F4 */ beq lbl_800BA5D8 +/* 800BA4E8 000B7448 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800BA4EC 000B744C 3A E0 00 00 */ li r23, 0 +/* 800BA4F0 000B7450 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800BA4F4 000B7454 38 A0 00 00 */ li r5, 0 +/* 800BA4F8 000B7458 38 60 00 0C */ li r3, 0xc +/* 800BA4FC 000B745C 48 25 B3 71 */ bl __nw__FUlPCcPCc +/* 800BA500 000B7460 7C 78 1B 79 */ or. r24, r3, r3 +/* 800BA504 000B7464 41 82 00 50 */ beq lbl_800BA554 +/* 800BA508 000B7468 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 800BA50C 000B746C 93 21 00 48 */ stw r25, 0x48(r1) +/* 800BA510 000B7470 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 800BA514 000B7474 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800BA518 000B7478 90 01 00 44 */ stw r0, 0x44(r1) +/* 800BA51C 000B747C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800BA520 000B7480 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800BA524 000B7484 81 84 00 00 */ lwz r12, 0(r4) +/* 800BA528 000B7488 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800BA52C 000B748C 7D 89 03 A6 */ mtctr r12 +/* 800BA530 000B7490 4E 80 04 21 */ bctrl +/* 800BA534 000B7494 7F 03 C3 78 */ mr r3, r24 +/* 800BA538 000B7498 38 81 00 3C */ addi r4, r1, 0x3c +/* 800BA53C 000B749C 3A E0 00 01 */ li r23, 1 +/* 800BA540 000B74A0 48 28 69 69 */ bl __ct__6CTokenFRC6CToken +/* 800BA544 000B74A4 7F 03 C3 78 */ mr r3, r24 +/* 800BA548 000B74A8 48 28 68 C5 */ bl GetObj__6CTokenFv +/* 800BA54C 000B74AC 80 03 00 04 */ lwz r0, 4(r3) +/* 800BA550 000B74B0 90 18 00 08 */ stw r0, 8(r24) +lbl_800BA554: +/* 800BA554 000B74B4 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BA558 000B74B8 38 60 00 08 */ li r3, 8 +/* 800BA55C 000B74BC 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BA560 000B74C0 38 A0 00 00 */ li r5, 0 +/* 800BA564 000B74C4 48 25 B3 09 */ bl __nw__FUlPCcPCc +/* 800BA568 000B74C8 28 03 00 00 */ cmplwi r3, 0 +/* 800BA56C 000B74CC 41 82 00 10 */ beq lbl_800BA57C +/* 800BA570 000B74D0 93 03 00 00 */ stw r24, 0(r3) +/* 800BA574 000B74D4 38 00 00 01 */ li r0, 1 +/* 800BA578 000B74D8 90 03 00 04 */ stw r0, 4(r3) +lbl_800BA57C: +/* 800BA57C 000B74DC 7E E0 07 75 */ extsb. r0, r23 +/* 800BA580 000B74E0 90 61 00 0C */ stw r3, 0xc(r1) +/* 800BA584 000B74E4 41 82 00 10 */ beq lbl_800BA594 +/* 800BA588 000B74E8 38 61 00 3C */ addi r3, r1, 0x3c +/* 800BA58C 000B74EC 38 80 FF FF */ li r4, -1 +/* 800BA590 000B74F0 48 28 68 B1 */ bl __dt__6CTokenFv +lbl_800BA594: +/* 800BA594 000B74F4 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 800BA598 000B74F8 38 61 00 80 */ addi r3, r1, 0x80 +/* 800BA59C 000B74FC 93 21 00 34 */ stw r25, 0x34(r1) +/* 800BA5A0 000B7500 38 9F 00 14 */ addi r4, r31, 0x14 +/* 800BA5A4 000B7504 38 C1 00 34 */ addi r6, r1, 0x34 +/* 800BA5A8 000B7508 90 E1 00 38 */ stw r7, 0x38(r1) +/* 800BA5AC 000B750C 80 A7 00 04 */ lwz r5, 4(r7) +/* 800BA5B0 000B7510 38 05 00 01 */ addi r0, r5, 1 +/* 800BA5B4 000B7514 90 07 00 04 */ stw r0, 4(r7) +/* 800BA5B8 000B7518 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 800BA5BC 000B751C 48 00 0A 5D */ bl sub_800bb018 +/* 800BA5C0 000B7520 28 1D 00 00 */ cmplwi r29, 0 +/* 800BA5C4 000B7524 41 82 00 0C */ beq lbl_800BA5D0 +/* 800BA5C8 000B7528 7F A3 EB 78 */ mr r3, r29 +/* 800BA5CC 000B752C 48 00 12 95 */ bl sub_800bb860 +lbl_800BA5D0: +/* 800BA5D0 000B7530 38 61 00 0C */ addi r3, r1, 0xc +/* 800BA5D4 000B7534 48 00 12 8D */ bl sub_800bb860 +lbl_800BA5D8: +/* 800BA5D8 000B7538 3B 5A 00 04 */ addi r26, r26, 4 +lbl_800BA5DC: +/* 800BA5DC 000B753C 7C 1A E0 40 */ cmplw r26, r28 +/* 800BA5E0 000B7540 40 82 FE 88 */ bne lbl_800BA468 +/* 800BA5E4 000B7544 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 800BA5E8 000B7548 3B 7F 00 30 */ addi r27, r31, 0x30 +/* 800BA5EC 000B754C 83 5E 00 2C */ lwz r26, 0x2c(r30) +/* 800BA5F0 000B7550 3B A1 00 18 */ addi r29, r1, 0x18 +/* 800BA5F4 000B7554 54 00 10 3A */ slwi r0, r0, 2 +/* 800BA5F8 000B7558 93 61 00 30 */ stw r27, 0x30(r1) +/* 800BA5FC 000B755C 7F 9A 02 14 */ add r28, r26, r0 +/* 800BA600 000B7560 48 00 01 78 */ b lbl_800BA778 +lbl_800BA604: +/* 800BA604 000B7564 83 3A 00 00 */ lwz r25, 0(r26) +/* 800BA608 000B7568 38 80 00 00 */ li r4, 0 +/* 800BA60C 000B756C 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 800BA610 000B7570 48 00 00 20 */ b lbl_800BA630 +lbl_800BA614: +/* 800BA614 000B7574 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BA618 000B7578 7C 00 C8 40 */ cmplw r0, r25 +/* 800BA61C 000B757C 41 80 00 10 */ blt lbl_800BA62C +/* 800BA620 000B7580 7C 64 1B 78 */ mr r4, r3 +/* 800BA624 000B7584 80 63 00 00 */ lwz r3, 0(r3) +/* 800BA628 000B7588 48 00 00 08 */ b lbl_800BA630 +lbl_800BA62C: +/* 800BA62C 000B758C 80 63 00 04 */ lwz r3, 4(r3) +lbl_800BA630: +/* 800BA630 000B7590 28 03 00 00 */ cmplwi r3, 0 +/* 800BA634 000B7594 40 82 FF E0 */ bne lbl_800BA614 +/* 800BA638 000B7598 28 04 00 00 */ cmplwi r4, 0 +/* 800BA63C 000B759C 38 60 00 00 */ li r3, 0 +/* 800BA640 000B75A0 41 82 00 10 */ beq lbl_800BA650 +/* 800BA644 000B75A4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800BA648 000B75A8 7C 19 00 40 */ cmplw r25, r0 +/* 800BA64C 000B75AC 40 80 00 08 */ bge lbl_800BA654 +lbl_800BA650: +/* 800BA650 000B75B0 38 60 00 01 */ li r3, 1 +lbl_800BA654: +/* 800BA654 000B75B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BA658 000B75B8 41 82 00 08 */ beq lbl_800BA660 +/* 800BA65C 000B75BC 38 80 00 00 */ li r4, 0 +lbl_800BA660: +/* 800BA660 000B75C0 38 00 00 00 */ li r0, 0 +/* 800BA664 000B75C4 7C 04 00 40 */ cmplw r4, r0 +/* 800BA668 000B75C8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800BA66C 000B75CC 40 82 00 10 */ bne lbl_800BA67C +/* 800BA670 000B75D0 7C 1B D8 40 */ cmplw r27, r27 +/* 800BA674 000B75D4 40 82 00 08 */ bne lbl_800BA67C +/* 800BA678 000B75D8 38 00 00 01 */ li r0, 1 +lbl_800BA67C: +/* 800BA67C 000B75DC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800BA680 000B75E0 41 82 00 F4 */ beq lbl_800BA774 +/* 800BA684 000B75E4 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha +/* 800BA688 000B75E8 3A E0 00 00 */ li r23, 0 +/* 800BA68C 000B75EC 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l +/* 800BA690 000B75F0 38 A0 00 00 */ li r5, 0 +/* 800BA694 000B75F4 38 60 00 0C */ li r3, 0xc +/* 800BA698 000B75F8 48 25 B1 D5 */ bl __nw__FUlPCcPCc +/* 800BA69C 000B75FC 7C 78 1B 79 */ or. r24, r3, r3 +/* 800BA6A0 000B7600 41 82 00 50 */ beq lbl_800BA6F0 +/* 800BA6A4 000B7604 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 800BA6A8 000B7608 93 21 00 28 */ stw r25, 0x28(r1) +/* 800BA6AC 000B760C 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 800BA6B0 000B7610 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800BA6B4 000B7614 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BA6B8 000B7618 38 61 00 1C */ addi r3, r1, 0x1c +/* 800BA6BC 000B761C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800BA6C0 000B7620 81 84 00 00 */ lwz r12, 0(r4) +/* 800BA6C4 000B7624 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800BA6C8 000B7628 7D 89 03 A6 */ mtctr r12 +/* 800BA6CC 000B762C 4E 80 04 21 */ bctrl +/* 800BA6D0 000B7630 7F 03 C3 78 */ mr r3, r24 +/* 800BA6D4 000B7634 38 81 00 1C */ addi r4, r1, 0x1c +/* 800BA6D8 000B7638 3A E0 00 01 */ li r23, 1 +/* 800BA6DC 000B763C 48 28 67 CD */ bl __ct__6CTokenFRC6CToken +/* 800BA6E0 000B7640 7F 03 C3 78 */ mr r3, r24 +/* 800BA6E4 000B7644 48 28 67 29 */ bl GetObj__6CTokenFv +/* 800BA6E8 000B7648 80 03 00 04 */ lwz r0, 4(r3) +/* 800BA6EC 000B764C 90 18 00 08 */ stw r0, 8(r24) +lbl_800BA6F0: +/* 800BA6F0 000B7650 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BA6F4 000B7654 38 60 00 08 */ li r3, 8 +/* 800BA6F8 000B7658 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BA6FC 000B765C 38 A0 00 00 */ li r5, 0 +/* 800BA700 000B7660 48 25 B1 6D */ bl __nw__FUlPCcPCc +/* 800BA704 000B7664 28 03 00 00 */ cmplwi r3, 0 +/* 800BA708 000B7668 41 82 00 10 */ beq lbl_800BA718 +/* 800BA70C 000B766C 93 03 00 00 */ stw r24, 0(r3) +/* 800BA710 000B7670 38 00 00 01 */ li r0, 1 +/* 800BA714 000B7674 90 03 00 04 */ stw r0, 4(r3) +lbl_800BA718: +/* 800BA718 000B7678 7E E0 07 75 */ extsb. r0, r23 +/* 800BA71C 000B767C 90 61 00 08 */ stw r3, 8(r1) +/* 800BA720 000B7680 41 82 00 10 */ beq lbl_800BA730 +/* 800BA724 000B7684 38 61 00 1C */ addi r3, r1, 0x1c +/* 800BA728 000B7688 38 80 FF FF */ li r4, -1 +/* 800BA72C 000B768C 48 28 67 15 */ bl __dt__6CTokenFv +lbl_800BA730: +/* 800BA730 000B7690 80 E1 00 08 */ lwz r7, 8(r1) +/* 800BA734 000B7694 38 61 00 74 */ addi r3, r1, 0x74 +/* 800BA738 000B7698 93 21 00 14 */ stw r25, 0x14(r1) +/* 800BA73C 000B769C 38 9F 00 28 */ addi r4, r31, 0x28 +/* 800BA740 000B76A0 38 C1 00 14 */ addi r6, r1, 0x14 +/* 800BA744 000B76A4 90 E1 00 18 */ stw r7, 0x18(r1) +/* 800BA748 000B76A8 80 A7 00 04 */ lwz r5, 4(r7) +/* 800BA74C 000B76AC 38 05 00 01 */ addi r0, r5, 1 +/* 800BA750 000B76B0 90 07 00 04 */ stw r0, 4(r7) +/* 800BA754 000B76B4 80 BF 00 38 */ lwz r5, 0x38(r31) +/* 800BA758 000B76B8 48 00 0B A9 */ bl sub_800bb300 +/* 800BA75C 000B76BC 28 1D 00 00 */ cmplwi r29, 0 +/* 800BA760 000B76C0 41 82 00 0C */ beq lbl_800BA76C +/* 800BA764 000B76C4 7F A3 EB 78 */ mr r3, r29 +/* 800BA768 000B76C8 48 00 11 75 */ bl sub_800bb8dc +lbl_800BA76C: +/* 800BA76C 000B76CC 38 61 00 08 */ addi r3, r1, 8 +/* 800BA770 000B76D0 48 00 11 6D */ bl sub_800bb8dc +lbl_800BA774: +/* 800BA774 000B76D4 3B 5A 00 04 */ addi r26, r26, 4 +lbl_800BA778: +/* 800BA778 000B76D8 7C 1A E0 40 */ cmplw r26, r28 +/* 800BA77C 000B76DC 40 82 FE 88 */ bne lbl_800BA604 +/* 800BA780 000B76E0 BA E1 00 9C */ lmw r23, 0x9c(r1) +/* 800BA784 000B76E4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800BA788 000B76E8 7C 08 03 A6 */ mtlr r0 +/* 800BA78C 000B76EC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800BA790 000B76F0 4E 80 00 20 */ blr + +.global __dt__17CParticleDatabaseFv +__dt__17CParticleDatabaseFv: +/* 800BA794 000B76F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BA798 000B76F8 7C 08 02 A6 */ mflr r0 +/* 800BA79C 000B76FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BA7A0 000B7700 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BA7A4 000B7704 7C 9F 23 78 */ mr r31, r4 +/* 800BA7A8 000B7708 93 C1 00 08 */ stw r30, 8(r1) +/* 800BA7AC 000B770C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800BA7B0 000B7710 41 82 02 08 */ beq lbl_800BA9B8 +/* 800BA7B4 000B7714 34 1E 00 A0 */ addic. r0, r30, 0xa0 +/* 800BA7B8 000B7718 41 82 00 34 */ beq lbl_800BA7EC +/* 800BA7BC 000B771C 34 1E 00 A0 */ addic. r0, r30, 0xa0 +/* 800BA7C0 000B7720 41 82 00 2C */ beq lbl_800BA7EC +/* 800BA7C4 000B7724 80 9E 00 B0 */ lwz r4, 0xb0(r30) +/* 800BA7C8 000B7728 28 04 00 00 */ cmplwi r4, 0 +/* 800BA7CC 000B772C 41 82 00 0C */ beq lbl_800BA7D8 +/* 800BA7D0 000B7730 38 7E 00 A0 */ addi r3, r30, 0xa0 +/* 800BA7D4 000B7734 48 00 03 6D */ bl sub_800bab40 +lbl_800BA7D8: +/* 800BA7D8 000B7738 38 00 00 00 */ li r0, 0 +/* 800BA7DC 000B773C 90 1E 00 B0 */ stw r0, 0xb0(r30) +/* 800BA7E0 000B7740 90 1E 00 A8 */ stw r0, 0xa8(r30) +/* 800BA7E4 000B7744 90 1E 00 AC */ stw r0, 0xac(r30) +/* 800BA7E8 000B7748 90 1E 00 A4 */ stw r0, 0xa4(r30) +lbl_800BA7EC: +/* 800BA7EC 000B774C 34 1E 00 8C */ addic. r0, r30, 0x8c +/* 800BA7F0 000B7750 41 82 00 34 */ beq lbl_800BA824 +/* 800BA7F4 000B7754 34 1E 00 8C */ addic. r0, r30, 0x8c +/* 800BA7F8 000B7758 41 82 00 2C */ beq lbl_800BA824 +/* 800BA7FC 000B775C 80 9E 00 9C */ lwz r4, 0x9c(r30) +/* 800BA800 000B7760 28 04 00 00 */ cmplwi r4, 0 +/* 800BA804 000B7764 41 82 00 0C */ beq lbl_800BA810 +/* 800BA808 000B7768 38 7E 00 8C */ addi r3, r30, 0x8c +/* 800BA80C 000B776C 48 00 03 35 */ bl sub_800bab40 +lbl_800BA810: +/* 800BA810 000B7770 38 00 00 00 */ li r0, 0 +/* 800BA814 000B7774 90 1E 00 9C */ stw r0, 0x9c(r30) +/* 800BA818 000B7778 90 1E 00 94 */ stw r0, 0x94(r30) +/* 800BA81C 000B777C 90 1E 00 98 */ stw r0, 0x98(r30) +/* 800BA820 000B7780 90 1E 00 90 */ stw r0, 0x90(r30) +lbl_800BA824: +/* 800BA824 000B7784 34 1E 00 78 */ addic. r0, r30, 0x78 +/* 800BA828 000B7788 41 82 00 34 */ beq lbl_800BA85C +/* 800BA82C 000B778C 34 1E 00 78 */ addic. r0, r30, 0x78 +/* 800BA830 000B7790 41 82 00 2C */ beq lbl_800BA85C +/* 800BA834 000B7794 80 9E 00 88 */ lwz r4, 0x88(r30) +/* 800BA838 000B7798 28 04 00 00 */ cmplwi r4, 0 +/* 800BA83C 000B779C 41 82 00 0C */ beq lbl_800BA848 +/* 800BA840 000B77A0 38 7E 00 78 */ addi r3, r30, 0x78 +/* 800BA844 000B77A4 48 00 02 FD */ bl sub_800bab40 +lbl_800BA848: +/* 800BA848 000B77A8 38 00 00 00 */ li r0, 0 +/* 800BA84C 000B77AC 90 1E 00 88 */ stw r0, 0x88(r30) +/* 800BA850 000B77B0 90 1E 00 80 */ stw r0, 0x80(r30) +/* 800BA854 000B77B4 90 1E 00 84 */ stw r0, 0x84(r30) +/* 800BA858 000B77B8 90 1E 00 7C */ stw r0, 0x7c(r30) +lbl_800BA85C: +/* 800BA85C 000B77BC 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 800BA860 000B77C0 41 82 00 34 */ beq lbl_800BA894 +/* 800BA864 000B77C4 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 800BA868 000B77C8 41 82 00 2C */ beq lbl_800BA894 +/* 800BA86C 000B77CC 80 9E 00 74 */ lwz r4, 0x74(r30) +/* 800BA870 000B77D0 28 04 00 00 */ cmplwi r4, 0 +/* 800BA874 000B77D4 41 82 00 0C */ beq lbl_800BA880 +/* 800BA878 000B77D8 38 7E 00 64 */ addi r3, r30, 0x64 +/* 800BA87C 000B77DC 48 00 02 C5 */ bl sub_800bab40 +lbl_800BA880: +/* 800BA880 000B77E0 38 00 00 00 */ li r0, 0 +/* 800BA884 000B77E4 90 1E 00 74 */ stw r0, 0x74(r30) +/* 800BA888 000B77E8 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 800BA88C 000B77EC 90 1E 00 70 */ stw r0, 0x70(r30) +/* 800BA890 000B77F0 90 1E 00 68 */ stw r0, 0x68(r30) +lbl_800BA894: +/* 800BA894 000B77F4 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 800BA898 000B77F8 41 82 00 34 */ beq lbl_800BA8CC +/* 800BA89C 000B77FC 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 800BA8A0 000B7800 41 82 00 2C */ beq lbl_800BA8CC +/* 800BA8A4 000B7804 80 9E 00 60 */ lwz r4, 0x60(r30) +/* 800BA8A8 000B7808 28 04 00 00 */ cmplwi r4, 0 +/* 800BA8AC 000B780C 41 82 00 0C */ beq lbl_800BA8B8 +/* 800BA8B0 000B7810 38 7E 00 50 */ addi r3, r30, 0x50 +/* 800BA8B4 000B7814 48 00 02 8D */ bl sub_800bab40 +lbl_800BA8B8: +/* 800BA8B8 000B7818 38 00 00 00 */ li r0, 0 +/* 800BA8BC 000B781C 90 1E 00 60 */ stw r0, 0x60(r30) +/* 800BA8C0 000B7820 90 1E 00 58 */ stw r0, 0x58(r30) +/* 800BA8C4 000B7824 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 800BA8C8 000B7828 90 1E 00 54 */ stw r0, 0x54(r30) +lbl_800BA8CC: +/* 800BA8CC 000B782C 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 800BA8D0 000B7830 41 82 00 34 */ beq lbl_800BA904 +/* 800BA8D4 000B7834 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 800BA8D8 000B7838 41 82 00 2C */ beq lbl_800BA904 +/* 800BA8DC 000B783C 80 9E 00 4C */ lwz r4, 0x4c(r30) +/* 800BA8E0 000B7840 28 04 00 00 */ cmplwi r4, 0 +/* 800BA8E4 000B7844 41 82 00 0C */ beq lbl_800BA8F0 +/* 800BA8E8 000B7848 38 7E 00 3C */ addi r3, r30, 0x3c +/* 800BA8EC 000B784C 48 00 02 55 */ bl sub_800bab40 +lbl_800BA8F0: +/* 800BA8F0 000B7850 38 00 00 00 */ li r0, 0 +/* 800BA8F4 000B7854 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 800BA8F8 000B7858 90 1E 00 44 */ stw r0, 0x44(r30) +/* 800BA8FC 000B785C 90 1E 00 48 */ stw r0, 0x48(r30) +/* 800BA900 000B7860 90 1E 00 40 */ stw r0, 0x40(r30) +lbl_800BA904: +/* 800BA904 000B7864 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 800BA908 000B7868 41 82 00 34 */ beq lbl_800BA93C +/* 800BA90C 000B786C 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 800BA910 000B7870 41 82 00 2C */ beq lbl_800BA93C +/* 800BA914 000B7874 80 9E 00 38 */ lwz r4, 0x38(r30) +/* 800BA918 000B7878 28 04 00 00 */ cmplwi r4, 0 +/* 800BA91C 000B787C 41 82 00 0C */ beq lbl_800BA928 +/* 800BA920 000B7880 38 7E 00 28 */ addi r3, r30, 0x28 +/* 800BA924 000B7884 48 00 09 59 */ bl sub_800bb27c +lbl_800BA928: +/* 800BA928 000B7888 38 00 00 00 */ li r0, 0 +/* 800BA92C 000B788C 90 1E 00 38 */ stw r0, 0x38(r30) +/* 800BA930 000B7890 90 1E 00 30 */ stw r0, 0x30(r30) +/* 800BA934 000B7894 90 1E 00 34 */ stw r0, 0x34(r30) +/* 800BA938 000B7898 90 1E 00 2C */ stw r0, 0x2c(r30) +lbl_800BA93C: +/* 800BA93C 000B789C 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 800BA940 000B78A0 41 82 00 34 */ beq lbl_800BA974 +/* 800BA944 000B78A4 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 800BA948 000B78A8 41 82 00 2C */ beq lbl_800BA974 +/* 800BA94C 000B78AC 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 800BA950 000B78B0 28 04 00 00 */ cmplwi r4, 0 +/* 800BA954 000B78B4 41 82 00 0C */ beq lbl_800BA960 +/* 800BA958 000B78B8 38 7E 00 14 */ addi r3, r30, 0x14 +/* 800BA95C 000B78BC 48 00 06 39 */ bl sub_800baf94 +lbl_800BA960: +/* 800BA960 000B78C0 38 00 00 00 */ li r0, 0 +/* 800BA964 000B78C4 90 1E 00 24 */ stw r0, 0x24(r30) +/* 800BA968 000B78C8 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 800BA96C 000B78CC 90 1E 00 20 */ stw r0, 0x20(r30) +/* 800BA970 000B78D0 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_800BA974: +/* 800BA974 000B78D4 28 1E 00 00 */ cmplwi r30, 0 +/* 800BA978 000B78D8 41 82 00 30 */ beq lbl_800BA9A8 +/* 800BA97C 000B78DC 41 82 00 2C */ beq lbl_800BA9A8 +/* 800BA980 000B78E0 80 9E 00 10 */ lwz r4, 0x10(r30) +/* 800BA984 000B78E4 28 04 00 00 */ cmplwi r4, 0 +/* 800BA988 000B78E8 41 82 00 0C */ beq lbl_800BA994 +/* 800BA98C 000B78EC 7F C3 F3 78 */ mr r3, r30 +/* 800BA990 000B78F0 48 00 03 1D */ bl sub_800bacac +lbl_800BA994: +/* 800BA994 000B78F4 38 00 00 00 */ li r0, 0 +/* 800BA998 000B78F8 90 1E 00 10 */ stw r0, 0x10(r30) +/* 800BA99C 000B78FC 90 1E 00 08 */ stw r0, 8(r30) +/* 800BA9A0 000B7900 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800BA9A4 000B7904 90 1E 00 04 */ stw r0, 4(r30) +lbl_800BA9A8: +/* 800BA9A8 000B7908 7F E0 07 35 */ extsh. r0, r31 +/* 800BA9AC 000B790C 40 81 00 0C */ ble lbl_800BA9B8 +/* 800BA9B0 000B7910 7F C3 F3 78 */ mr r3, r30 +/* 800BA9B4 000B7914 48 25 AF 7D */ bl Free__7CMemoryFPCv +lbl_800BA9B8: +/* 800BA9B8 000B7918 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BA9BC 000B791C 7F C3 F3 78 */ mr r3, r30 +/* 800BA9C0 000B7920 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BA9C4 000B7924 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BA9C8 000B7928 7C 08 03 A6 */ mtlr r0 +/* 800BA9CC 000B792C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BA9D0 000B7930 4E 80 00 20 */ blr + +.global __ct__17CParticleDatabaseFv +__ct__17CParticleDatabaseFv: +/* 800BA9D4 000B7934 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800BA9D8 000B7938 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800BA9DC 000B793C 88 81 00 28 */ lbz r4, 0x28(r1) +/* 800BA9E0 000B7940 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800BA9E4 000B7944 88 01 00 4C */ lbz r0, 0x4c(r1) +/* 800BA9E8 000B7948 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800BA9EC 000B794C 88 E1 00 24 */ lbz r7, 0x24(r1) +/* 800BA9F0 000B7950 93 81 00 50 */ stw r28, 0x50(r1) +/* 800BA9F4 000B7954 3B 80 00 00 */ li r28, 0 +/* 800BA9F8 000B7958 88 C1 00 48 */ lbz r6, 0x48(r1) +/* 800BA9FC 000B795C 98 83 00 00 */ stb r4, 0(r3) +/* 800BAA00 000B7960 38 80 00 01 */ li r4, 1 +/* 800BAA04 000B7964 88 A1 00 20 */ lbz r5, 0x20(r1) +/* 800BAA08 000B7968 98 03 00 01 */ stb r0, 1(r3) +/* 800BAA0C 000B796C 88 01 00 44 */ lbz r0, 0x44(r1) +/* 800BAA10 000B7970 93 83 00 04 */ stw r28, 4(r3) +/* 800BAA14 000B7974 8B A1 00 1C */ lbz r29, 0x1c(r1) +/* 800BAA18 000B7978 93 83 00 08 */ stw r28, 8(r3) +/* 800BAA1C 000B797C 8B C1 00 40 */ lbz r30, 0x40(r1) +/* 800BAA20 000B7980 93 83 00 0C */ stw r28, 0xc(r3) +/* 800BAA24 000B7984 8B E1 00 18 */ lbz r31, 0x18(r1) +/* 800BAA28 000B7988 93 83 00 10 */ stw r28, 0x10(r3) +/* 800BAA2C 000B798C 89 81 00 3C */ lbz r12, 0x3c(r1) +/* 800BAA30 000B7990 98 E3 00 14 */ stb r7, 0x14(r3) +/* 800BAA34 000B7994 89 61 00 14 */ lbz r11, 0x14(r1) +/* 800BAA38 000B7998 98 C3 00 15 */ stb r6, 0x15(r3) +/* 800BAA3C 000B799C 89 41 00 38 */ lbz r10, 0x38(r1) +/* 800BAA40 000B79A0 93 83 00 18 */ stw r28, 0x18(r3) +/* 800BAA44 000B79A4 89 21 00 10 */ lbz r9, 0x10(r1) +/* 800BAA48 000B79A8 93 83 00 1C */ stw r28, 0x1c(r3) +/* 800BAA4C 000B79AC 89 01 00 34 */ lbz r8, 0x34(r1) +/* 800BAA50 000B79B0 93 83 00 20 */ stw r28, 0x20(r3) +/* 800BAA54 000B79B4 88 E1 00 0C */ lbz r7, 0xc(r1) +/* 800BAA58 000B79B8 93 83 00 24 */ stw r28, 0x24(r3) +/* 800BAA5C 000B79BC 88 C1 00 30 */ lbz r6, 0x30(r1) +/* 800BAA60 000B79C0 98 A3 00 28 */ stb r5, 0x28(r3) +/* 800BAA64 000B79C4 88 A1 00 08 */ lbz r5, 8(r1) +/* 800BAA68 000B79C8 98 03 00 29 */ stb r0, 0x29(r3) +/* 800BAA6C 000B79CC 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 800BAA70 000B79D0 93 83 00 2C */ stw r28, 0x2c(r3) +/* 800BAA74 000B79D4 93 83 00 30 */ stw r28, 0x30(r3) +/* 800BAA78 000B79D8 93 83 00 34 */ stw r28, 0x34(r3) +/* 800BAA7C 000B79DC 93 83 00 38 */ stw r28, 0x38(r3) +/* 800BAA80 000B79E0 9B A3 00 3C */ stb r29, 0x3c(r3) +/* 800BAA84 000B79E4 9B C3 00 3D */ stb r30, 0x3d(r3) +/* 800BAA88 000B79E8 93 83 00 40 */ stw r28, 0x40(r3) +/* 800BAA8C 000B79EC 93 83 00 44 */ stw r28, 0x44(r3) +/* 800BAA90 000B79F0 93 83 00 48 */ stw r28, 0x48(r3) +/* 800BAA94 000B79F4 93 83 00 4C */ stw r28, 0x4c(r3) +/* 800BAA98 000B79F8 9B E3 00 50 */ stb r31, 0x50(r3) +/* 800BAA9C 000B79FC 99 83 00 51 */ stb r12, 0x51(r3) +/* 800BAAA0 000B7A00 93 83 00 54 */ stw r28, 0x54(r3) +/* 800BAAA4 000B7A04 93 83 00 58 */ stw r28, 0x58(r3) +/* 800BAAA8 000B7A08 93 83 00 5C */ stw r28, 0x5c(r3) +/* 800BAAAC 000B7A0C 93 83 00 60 */ stw r28, 0x60(r3) +/* 800BAAB0 000B7A10 99 63 00 64 */ stb r11, 0x64(r3) +/* 800BAAB4 000B7A14 99 43 00 65 */ stb r10, 0x65(r3) +/* 800BAAB8 000B7A18 93 83 00 68 */ stw r28, 0x68(r3) +/* 800BAABC 000B7A1C 93 83 00 6C */ stw r28, 0x6c(r3) +/* 800BAAC0 000B7A20 93 83 00 70 */ stw r28, 0x70(r3) +/* 800BAAC4 000B7A24 93 83 00 74 */ stw r28, 0x74(r3) +/* 800BAAC8 000B7A28 99 23 00 78 */ stb r9, 0x78(r3) +/* 800BAACC 000B7A2C 99 03 00 79 */ stb r8, 0x79(r3) +/* 800BAAD0 000B7A30 93 83 00 7C */ stw r28, 0x7c(r3) +/* 800BAAD4 000B7A34 93 83 00 80 */ stw r28, 0x80(r3) +/* 800BAAD8 000B7A38 93 83 00 84 */ stw r28, 0x84(r3) +/* 800BAADC 000B7A3C 93 83 00 88 */ stw r28, 0x88(r3) +/* 800BAAE0 000B7A40 98 E3 00 8C */ stb r7, 0x8c(r3) +/* 800BAAE4 000B7A44 98 C3 00 8D */ stb r6, 0x8d(r3) +/* 800BAAE8 000B7A48 93 83 00 90 */ stw r28, 0x90(r3) +/* 800BAAEC 000B7A4C 93 83 00 94 */ stw r28, 0x94(r3) +/* 800BAAF0 000B7A50 93 83 00 98 */ stw r28, 0x98(r3) +/* 800BAAF4 000B7A54 93 83 00 9C */ stw r28, 0x9c(r3) +/* 800BAAF8 000B7A58 98 A3 00 A0 */ stb r5, 0xa0(r3) +/* 800BAAFC 000B7A5C 98 03 00 A1 */ stb r0, 0xa1(r3) +/* 800BAB00 000B7A60 93 83 00 A4 */ stw r28, 0xa4(r3) +/* 800BAB04 000B7A64 93 83 00 A8 */ stw r28, 0xa8(r3) +/* 800BAB08 000B7A68 93 83 00 AC */ stw r28, 0xac(r3) +/* 800BAB0C 000B7A6C 93 83 00 B0 */ stw r28, 0xb0(r3) +/* 800BAB10 000B7A70 88 03 00 B4 */ lbz r0, 0xb4(r3) +/* 800BAB14 000B7A74 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800BAB18 000B7A78 98 03 00 B4 */ stb r0, 0xb4(r3) +/* 800BAB1C 000B7A7C 88 03 00 B4 */ lbz r0, 0xb4(r3) +/* 800BAB20 000B7A80 53 80 36 72 */ rlwimi r0, r28, 6, 0x19, 0x19 +/* 800BAB24 000B7A84 98 03 00 B4 */ stb r0, 0xb4(r3) +/* 800BAB28 000B7A88 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800BAB2C 000B7A8C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800BAB30 000B7A90 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800BAB34 000B7A94 83 81 00 50 */ lwz r28, 0x50(r1) +/* 800BAB38 000B7A98 38 21 00 60 */ addi r1, r1, 0x60 +/* 800BAB3C 000B7A9C 4E 80 00 20 */ blr + +.global sub_800bab40 +sub_800bab40: +/* 800BAB40 000B7AA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BAB44 000B7AA4 7C 08 02 A6 */ mflr r0 +/* 800BAB48 000B7AA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BAB4C 000B7AAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BAB50 000B7AB0 7C 9F 23 78 */ mr r31, r4 +/* 800BAB54 000B7AB4 93 C1 00 08 */ stw r30, 8(r1) +/* 800BAB58 000B7AB8 7C 7E 1B 78 */ mr r30, r3 +/* 800BAB5C 000B7ABC 80 84 00 00 */ lwz r4, 0(r4) +/* 800BAB60 000B7AC0 28 04 00 00 */ cmplwi r4, 0 +/* 800BAB64 000B7AC4 41 82 00 08 */ beq lbl_800BAB6C +/* 800BAB68 000B7AC8 4B FF FF D9 */ bl sub_800bab40 +lbl_800BAB6C: +/* 800BAB6C 000B7ACC 80 9F 00 04 */ lwz r4, 4(r31) +/* 800BAB70 000B7AD0 28 04 00 00 */ cmplwi r4, 0 +/* 800BAB74 000B7AD4 41 82 00 0C */ beq lbl_800BAB80 +/* 800BAB78 000B7AD8 7F C3 F3 78 */ mr r3, r30 +/* 800BAB7C 000B7ADC 4B FF FF C5 */ bl sub_800bab40 +lbl_800BAB80: +/* 800BAB80 000B7AE0 28 1F 00 00 */ cmplwi r31, 0 +/* 800BAB84 000B7AE4 41 82 00 50 */ beq lbl_800BABD4 +/* 800BAB88 000B7AE8 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 800BAB8C 000B7AEC 41 82 00 48 */ beq lbl_800BABD4 +/* 800BAB90 000B7AF0 34 7F 00 20 */ addic. r3, r31, 0x20 +/* 800BAB94 000B7AF4 41 82 00 30 */ beq lbl_800BABC4 +/* 800BAB98 000B7AF8 88 03 00 00 */ lbz r0, 0(r3) +/* 800BAB9C 000B7AFC 28 00 00 00 */ cmplwi r0, 0 +/* 800BABA0 000B7B00 41 82 00 24 */ beq lbl_800BABC4 +/* 800BABA4 000B7B04 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 800BABA8 000B7B08 28 03 00 00 */ cmplwi r3, 0 +/* 800BABAC 000B7B0C 41 82 00 18 */ beq lbl_800BABC4 +/* 800BABB0 000B7B10 81 83 00 00 */ lwz r12, 0(r3) +/* 800BABB4 000B7B14 38 80 00 01 */ li r4, 1 +/* 800BABB8 000B7B18 81 8C 00 08 */ lwz r12, 8(r12) +/* 800BABBC 000B7B1C 7D 89 03 A6 */ mtctr r12 +/* 800BABC0 000B7B20 4E 80 04 21 */ bctrl +lbl_800BABC4: +/* 800BABC4 000B7B24 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 800BABC8 000B7B28 41 82 00 0C */ beq lbl_800BABD4 +/* 800BABCC 000B7B2C 38 7F 00 10 */ addi r3, r31, 0x10 +/* 800BABD0 000B7B30 48 28 2F 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800BABD4: +/* 800BABD4 000B7B34 28 1F 00 00 */ cmplwi r31, 0 +/* 800BABD8 000B7B38 41 82 00 0C */ beq lbl_800BABE4 +/* 800BABDC 000B7B3C 7F E3 FB 78 */ mr r3, r31 +/* 800BABE0 000B7B40 48 25 AD 51 */ bl Free__7CMemoryFPCv +lbl_800BABE4: +/* 800BABE4 000B7B44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BABE8 000B7B48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BABEC 000B7B4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BABF0 000B7B50 7C 08 03 A6 */ mtlr r0 +/* 800BABF4 000B7B54 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BABF8 000B7B58 4E 80 00 20 */ blr + +.global "_getGraphicLightId,30TToken<20CElectricDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC30TToken<20CElectricDescription>" +"_getGraphicLightId,30TToken<20CElectricDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC30TToken<20CElectricDescription>": +/* 800BABFC 000B7B5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BAC00 000B7B60 7C 08 02 A6 */ mflr r0 +/* 800BAC04 000B7B64 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BAC08 000B7B68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BAC0C 000B7B6C 7C 9F 23 78 */ mr r31, r4 +/* 800BAC10 000B7B70 80 63 00 00 */ lwz r3, 0(r3) +/* 800BAC14 000B7B74 80 63 00 00 */ lwz r3, 0(r3) +/* 800BAC18 000B7B78 81 83 00 00 */ lwz r12, 0(r3) +/* 800BAC1C 000B7B7C 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800BAC20 000B7B80 7D 89 03 A6 */ mtctr r12 +/* 800BAC24 000B7B84 4E 80 04 21 */ bctrl +/* 800BAC28 000B7B88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BAC2C 000B7B8C 41 82 00 10 */ beq lbl_800BAC3C +/* 800BAC30 000B7B90 80 7F 00 00 */ lwz r3, 0(r31) +/* 800BAC34 000B7B94 80 63 00 08 */ lwz r3, 8(r3) +/* 800BAC38 000B7B98 48 00 00 08 */ b lbl_800BAC40 +lbl_800BAC3C: +/* 800BAC3C 000B7B9C 38 60 FF FF */ li r3, -1 +lbl_800BAC40: +/* 800BAC40 000B7BA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BAC44 000B7BA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BAC48 000B7BA8 7C 08 03 A6 */ mtlr r0 +/* 800BAC4C 000B7BAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BAC50 000B7BB0 4E 80 00 20 */ blr + +.global "_getGraphicLightId,25TToken<15CGenDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC25TToken<15CGenDescription>" +"_getGraphicLightId,25TToken<15CGenDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC25TToken<15CGenDescription>": +/* 800BAC54 000B7BB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BAC58 000B7BB8 7C 08 02 A6 */ mflr r0 +/* 800BAC5C 000B7BBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BAC60 000B7BC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BAC64 000B7BC4 7C 9F 23 78 */ mr r31, r4 +/* 800BAC68 000B7BC8 80 63 00 00 */ lwz r3, 0(r3) +/* 800BAC6C 000B7BCC 80 63 00 00 */ lwz r3, 0(r3) +/* 800BAC70 000B7BD0 81 83 00 00 */ lwz r12, 0(r3) +/* 800BAC74 000B7BD4 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800BAC78 000B7BD8 7D 89 03 A6 */ mtctr r12 +/* 800BAC7C 000B7BDC 4E 80 04 21 */ bctrl +/* 800BAC80 000B7BE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BAC84 000B7BE4 41 82 00 10 */ beq lbl_800BAC94 +/* 800BAC88 000B7BE8 80 7F 00 00 */ lwz r3, 0(r31) +/* 800BAC8C 000B7BEC 80 63 00 08 */ lwz r3, 8(r3) +/* 800BAC90 000B7BF0 48 00 00 08 */ b lbl_800BAC98 +lbl_800BAC94: +/* 800BAC94 000B7BF4 38 60 FF FF */ li r3, -1 +lbl_800BAC98: +/* 800BAC98 000B7BF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BAC9C 000B7BFC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BACA0 000B7C00 7C 08 03 A6 */ mtlr r0 +/* 800BACA4 000B7C04 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BACA8 000B7C08 4E 80 00 20 */ blr + +.global sub_800bacac +sub_800bacac: +/* 800BACAC 000B7C0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BACB0 000B7C10 7C 08 02 A6 */ mflr r0 +/* 800BACB4 000B7C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BACB8 000B7C18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BACBC 000B7C1C 7C 9F 23 78 */ mr r31, r4 +/* 800BACC0 000B7C20 93 C1 00 08 */ stw r30, 8(r1) +/* 800BACC4 000B7C24 7C 7E 1B 78 */ mr r30, r3 +/* 800BACC8 000B7C28 80 84 00 00 */ lwz r4, 0(r4) +/* 800BACCC 000B7C2C 28 04 00 00 */ cmplwi r4, 0 +/* 800BACD0 000B7C30 41 82 00 08 */ beq lbl_800BACD8 +/* 800BACD4 000B7C34 4B FF FF D9 */ bl sub_800bacac +lbl_800BACD8: +/* 800BACD8 000B7C38 80 9F 00 04 */ lwz r4, 4(r31) +/* 800BACDC 000B7C3C 28 04 00 00 */ cmplwi r4, 0 +/* 800BACE0 000B7C40 41 82 00 0C */ beq lbl_800BACEC +/* 800BACE4 000B7C44 7F C3 F3 78 */ mr r3, r30 +/* 800BACE8 000B7C48 4B FF FF C5 */ bl sub_800bacac +lbl_800BACEC: +/* 800BACEC 000B7C4C 28 1F 00 00 */ cmplwi r31, 0 +/* 800BACF0 000B7C50 41 82 00 18 */ beq lbl_800BAD08 +/* 800BACF4 000B7C54 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 800BACF8 000B7C58 41 82 00 10 */ beq lbl_800BAD08 +/* 800BACFC 000B7C5C 34 7F 00 14 */ addic. r3, r31, 0x14 +/* 800BAD00 000B7C60 41 82 00 08 */ beq lbl_800BAD08 +/* 800BAD04 000B7C64 48 00 0A E1 */ bl sub_800bb7e4 +lbl_800BAD08: +/* 800BAD08 000B7C68 28 1F 00 00 */ cmplwi r31, 0 +/* 800BAD0C 000B7C6C 41 82 00 0C */ beq lbl_800BAD18 +/* 800BAD10 000B7C70 7F E3 FB 78 */ mr r3, r31 +/* 800BAD14 000B7C74 48 25 AC 1D */ bl Free__7CMemoryFPCv +lbl_800BAD18: +/* 800BAD18 000B7C78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BAD1C 000B7C7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BAD20 000B7C80 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BAD24 000B7C84 7C 08 03 A6 */ mtlr r0 +/* 800BAD28 000B7C88 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BAD2C 000B7C8C 4E 80 00 20 */ blr + +.global sub_800bad30 +sub_800bad30: +/* 800BAD30 000B7C90 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800BAD34 000B7C94 7C 08 02 A6 */ mflr r0 +/* 800BAD38 000B7C98 28 05 00 00 */ cmplwi r5, 0 +/* 800BAD3C 000B7C9C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BAD40 000B7CA0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 800BAD44 000B7CA4 7C 7C 1B 78 */ mr r28, r3 +/* 800BAD48 000B7CA8 7C 9D 23 78 */ mr r29, r4 +/* 800BAD4C 000B7CAC 7C DE 33 78 */ mr r30, r6 +/* 800BAD50 000B7CB0 40 82 00 98 */ bne lbl_800BADE8 +/* 800BAD54 000B7CB4 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BAD58 000B7CB8 38 60 00 18 */ li r3, 0x18 +/* 800BAD5C 000B7CBC 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BAD60 000B7CC0 38 A0 00 00 */ li r5, 0 +/* 800BAD64 000B7CC4 48 25 AA B5 */ bl __nwa__FUlPCcPCc +/* 800BAD68 000B7CC8 28 03 00 00 */ cmplwi r3, 0 +/* 800BAD6C 000B7CCC 41 82 00 40 */ beq lbl_800BADAC +/* 800BAD70 000B7CD0 38 00 00 00 */ li r0, 0 +/* 800BAD74 000B7CD4 34 83 00 10 */ addic. r4, r3, 0x10 +/* 800BAD78 000B7CD8 90 03 00 00 */ stw r0, 0(r3) +/* 800BAD7C 000B7CDC 90 03 00 04 */ stw r0, 4(r3) +/* 800BAD80 000B7CE0 90 03 00 08 */ stw r0, 8(r3) +/* 800BAD84 000B7CE4 90 03 00 0C */ stw r0, 0xc(r3) +/* 800BAD88 000B7CE8 41 82 00 24 */ beq lbl_800BADAC +/* 800BAD8C 000B7CEC 80 1E 00 00 */ lwz r0, 0(r30) +/* 800BAD90 000B7CF0 90 04 00 00 */ stw r0, 0(r4) +/* 800BAD94 000B7CF4 80 1E 00 04 */ lwz r0, 4(r30) +/* 800BAD98 000B7CF8 90 04 00 04 */ stw r0, 4(r4) +/* 800BAD9C 000B7CFC 80 A4 00 04 */ lwz r5, 4(r4) +/* 800BADA0 000B7D00 80 85 00 04 */ lwz r4, 4(r5) +/* 800BADA4 000B7D04 38 04 00 01 */ addi r0, r4, 1 +/* 800BADA8 000B7D08 90 05 00 04 */ stw r0, 4(r5) +lbl_800BADAC: +/* 800BADAC 000B7D0C 90 7D 00 10 */ stw r3, 0x10(r29) +/* 800BADB0 000B7D10 38 1D 00 08 */ addi r0, r29, 8 +/* 800BADB4 000B7D14 80 7D 00 04 */ lwz r3, 4(r29) +/* 800BADB8 000B7D18 38 63 00 01 */ addi r3, r3, 1 +/* 800BADBC 000B7D1C 90 7D 00 04 */ stw r3, 4(r29) +/* 800BADC0 000B7D20 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BADC4 000B7D24 90 7D 00 08 */ stw r3, 8(r29) +/* 800BADC8 000B7D28 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BADCC 000B7D2C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 800BADD0 000B7D30 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BADD4 000B7D34 90 7C 00 00 */ stw r3, 0(r28) +/* 800BADD8 000B7D38 90 1C 00 04 */ stw r0, 4(r28) +/* 800BADDC 000B7D3C 88 0D 86 69 */ lbz r0, lbl_805A7229@sda21(r13) +/* 800BADE0 000B7D40 98 1C 00 08 */ stb r0, 8(r28) +/* 800BADE4 000B7D44 48 00 01 9C */ b lbl_800BAF80 +lbl_800BADE8: +/* 800BADE8 000B7D48 7C BF 2B 78 */ mr r31, r5 +/* 800BADEC 000B7D4C 3B 60 00 00 */ li r27, 0 +/* 800BADF0 000B7D50 48 00 01 5C */ b lbl_800BAF4C +lbl_800BADF4: +/* 800BADF4 000B7D54 80 7E 00 00 */ lwz r3, 0(r30) +/* 800BADF8 000B7D58 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 800BADFC 000B7D5C 7C 80 1A 78 */ xor r0, r4, r3 +/* 800BAE00 000B7D60 7C 00 00 34 */ cntlzw r0, r0 +/* 800BAE04 000B7D64 7C 80 00 30 */ slw r0, r4, r0 +/* 800BAE08 000B7D68 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 800BAE0C 000B7D6C 40 82 00 24 */ bne lbl_800BAE30 +/* 800BAE10 000B7D70 7C 04 18 40 */ cmplw r4, r3 +/* 800BAE14 000B7D74 41 80 00 1C */ blt lbl_800BAE30 +/* 800BAE18 000B7D78 93 FC 00 00 */ stw r31, 0(r28) +/* 800BAE1C 000B7D7C 38 1D 00 08 */ addi r0, r29, 8 +/* 800BAE20 000B7D80 90 1C 00 04 */ stw r0, 4(r28) +/* 800BAE24 000B7D84 88 0D 86 6A */ lbz r0, lbl_805A722A@sda21(r13) +/* 800BAE28 000B7D88 98 1C 00 08 */ stb r0, 8(r28) +/* 800BAE2C 000B7D8C 48 00 01 54 */ b lbl_800BAF80 +lbl_800BAE30: +/* 800BAE30 000B7D90 28 00 00 00 */ cmplwi r0, 0 +/* 800BAE34 000B7D94 41 82 00 90 */ beq lbl_800BAEC4 +/* 800BAE38 000B7D98 80 1F 00 00 */ lwz r0, 0(r31) +/* 800BAE3C 000B7D9C 28 00 00 00 */ cmplwi r0, 0 +/* 800BAE40 000B7DA0 40 82 00 7C */ bne lbl_800BAEBC +/* 800BAE44 000B7DA4 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BAE48 000B7DA8 38 60 00 18 */ li r3, 0x18 +/* 800BAE4C 000B7DAC 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BAE50 000B7DB0 38 A0 00 00 */ li r5, 0 +/* 800BAE54 000B7DB4 48 25 A9 C5 */ bl __nwa__FUlPCcPCc +/* 800BAE58 000B7DB8 28 03 00 00 */ cmplwi r3, 0 +/* 800BAE5C 000B7DBC 41 82 00 44 */ beq lbl_800BAEA0 +/* 800BAE60 000B7DC0 38 80 00 00 */ li r4, 0 +/* 800BAE64 000B7DC4 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 800BAE68 000B7DC8 90 83 00 00 */ stw r4, 0(r3) +/* 800BAE6C 000B7DCC 38 00 00 01 */ li r0, 1 +/* 800BAE70 000B7DD0 90 83 00 04 */ stw r4, 4(r3) +/* 800BAE74 000B7DD4 93 E3 00 08 */ stw r31, 8(r3) +/* 800BAE78 000B7DD8 90 03 00 0C */ stw r0, 0xc(r3) +/* 800BAE7C 000B7DDC 41 82 00 24 */ beq lbl_800BAEA0 +/* 800BAE80 000B7DE0 80 1E 00 00 */ lwz r0, 0(r30) +/* 800BAE84 000B7DE4 90 05 00 00 */ stw r0, 0(r5) +/* 800BAE88 000B7DE8 80 1E 00 04 */ lwz r0, 4(r30) +/* 800BAE8C 000B7DEC 90 05 00 04 */ stw r0, 4(r5) +/* 800BAE90 000B7DF0 80 A5 00 04 */ lwz r5, 4(r5) +/* 800BAE94 000B7DF4 80 85 00 04 */ lwz r4, 4(r5) +/* 800BAE98 000B7DF8 38 04 00 01 */ addi r0, r4, 1 +/* 800BAE9C 000B7DFC 90 05 00 04 */ stw r0, 4(r5) +lbl_800BAEA0: +/* 800BAEA0 000B7E00 90 7F 00 00 */ stw r3, 0(r31) +/* 800BAEA4 000B7E04 7C 7B 1B 78 */ mr r27, r3 +/* 800BAEA8 000B7E08 80 1D 00 08 */ lwz r0, 8(r29) +/* 800BAEAC 000B7E0C 7C 1F 00 40 */ cmplw r31, r0 +/* 800BAEB0 000B7E10 40 82 00 9C */ bne lbl_800BAF4C +/* 800BAEB4 000B7E14 90 7D 00 08 */ stw r3, 8(r29) +/* 800BAEB8 000B7E18 48 00 00 94 */ b lbl_800BAF4C +lbl_800BAEBC: +/* 800BAEBC 000B7E1C 7C 1F 03 78 */ mr r31, r0 +/* 800BAEC0 000B7E20 48 00 00 8C */ b lbl_800BAF4C +lbl_800BAEC4: +/* 800BAEC4 000B7E24 80 1F 00 04 */ lwz r0, 4(r31) +/* 800BAEC8 000B7E28 28 00 00 00 */ cmplwi r0, 0 +/* 800BAECC 000B7E2C 40 82 00 7C */ bne lbl_800BAF48 +/* 800BAED0 000B7E30 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BAED4 000B7E34 38 60 00 18 */ li r3, 0x18 +/* 800BAED8 000B7E38 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BAEDC 000B7E3C 38 A0 00 00 */ li r5, 0 +/* 800BAEE0 000B7E40 48 25 A9 39 */ bl __nwa__FUlPCcPCc +/* 800BAEE4 000B7E44 28 03 00 00 */ cmplwi r3, 0 +/* 800BAEE8 000B7E48 41 82 00 44 */ beq lbl_800BAF2C +/* 800BAEEC 000B7E4C 38 80 00 00 */ li r4, 0 +/* 800BAEF0 000B7E50 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 800BAEF4 000B7E54 90 83 00 00 */ stw r4, 0(r3) +/* 800BAEF8 000B7E58 38 00 00 01 */ li r0, 1 +/* 800BAEFC 000B7E5C 90 83 00 04 */ stw r4, 4(r3) +/* 800BAF00 000B7E60 93 E3 00 08 */ stw r31, 8(r3) +/* 800BAF04 000B7E64 90 03 00 0C */ stw r0, 0xc(r3) +/* 800BAF08 000B7E68 41 82 00 24 */ beq lbl_800BAF2C +/* 800BAF0C 000B7E6C 80 1E 00 00 */ lwz r0, 0(r30) +/* 800BAF10 000B7E70 90 05 00 00 */ stw r0, 0(r5) +/* 800BAF14 000B7E74 80 1E 00 04 */ lwz r0, 4(r30) +/* 800BAF18 000B7E78 90 05 00 04 */ stw r0, 4(r5) +/* 800BAF1C 000B7E7C 80 A5 00 04 */ lwz r5, 4(r5) +/* 800BAF20 000B7E80 80 85 00 04 */ lwz r4, 4(r5) +/* 800BAF24 000B7E84 38 04 00 01 */ addi r0, r4, 1 +/* 800BAF28 000B7E88 90 05 00 04 */ stw r0, 4(r5) +lbl_800BAF2C: +/* 800BAF2C 000B7E8C 90 7F 00 04 */ stw r3, 4(r31) +/* 800BAF30 000B7E90 7C 7B 1B 78 */ mr r27, r3 +/* 800BAF34 000B7E94 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800BAF38 000B7E98 7C 1F 00 40 */ cmplw r31, r0 +/* 800BAF3C 000B7E9C 40 82 00 10 */ bne lbl_800BAF4C +/* 800BAF40 000B7EA0 90 7D 00 0C */ stw r3, 0xc(r29) +/* 800BAF44 000B7EA4 48 00 00 08 */ b lbl_800BAF4C +lbl_800BAF48: +/* 800BAF48 000B7EA8 7C 1F 03 78 */ mr r31, r0 +lbl_800BAF4C: +/* 800BAF4C 000B7EAC 28 1B 00 00 */ cmplwi r27, 0 +/* 800BAF50 000B7EB0 41 82 FE A4 */ beq lbl_800BADF4 +/* 800BAF54 000B7EB4 80 BD 00 04 */ lwz r5, 4(r29) +/* 800BAF58 000B7EB8 7F 64 DB 78 */ mr r4, r27 +/* 800BAF5C 000B7EBC 38 7D 00 08 */ addi r3, r29, 8 +/* 800BAF60 000B7EC0 38 05 00 01 */ addi r0, r5, 1 +/* 800BAF64 000B7EC4 90 1D 00 04 */ stw r0, 4(r29) +/* 800BAF68 000B7EC8 48 28 1B 31 */ bl rbtree_rebalance__4rstlFPvPv +/* 800BAF6C 000B7ECC 93 7C 00 00 */ stw r27, 0(r28) +/* 800BAF70 000B7ED0 38 1D 00 08 */ addi r0, r29, 8 +/* 800BAF74 000B7ED4 90 1C 00 04 */ stw r0, 4(r28) +/* 800BAF78 000B7ED8 88 0D 86 6B */ lbz r0, lbl_805A722B@sda21(r13) +/* 800BAF7C 000B7EDC 98 1C 00 08 */ stb r0, 8(r28) +lbl_800BAF80: +/* 800BAF80 000B7EE0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 800BAF84 000B7EE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800BAF88 000B7EE8 7C 08 03 A6 */ mtlr r0 +/* 800BAF8C 000B7EEC 38 21 00 20 */ addi r1, r1, 0x20 +/* 800BAF90 000B7EF0 4E 80 00 20 */ blr + +.global sub_800baf94 +sub_800baf94: +/* 800BAF94 000B7EF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BAF98 000B7EF8 7C 08 02 A6 */ mflr r0 +/* 800BAF9C 000B7EFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BAFA0 000B7F00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BAFA4 000B7F04 7C 9F 23 78 */ mr r31, r4 +/* 800BAFA8 000B7F08 93 C1 00 08 */ stw r30, 8(r1) +/* 800BAFAC 000B7F0C 7C 7E 1B 78 */ mr r30, r3 +/* 800BAFB0 000B7F10 80 84 00 00 */ lwz r4, 0(r4) +/* 800BAFB4 000B7F14 28 04 00 00 */ cmplwi r4, 0 +/* 800BAFB8 000B7F18 41 82 00 08 */ beq lbl_800BAFC0 +/* 800BAFBC 000B7F1C 4B FF FF D9 */ bl sub_800baf94 +lbl_800BAFC0: +/* 800BAFC0 000B7F20 80 9F 00 04 */ lwz r4, 4(r31) +/* 800BAFC4 000B7F24 28 04 00 00 */ cmplwi r4, 0 +/* 800BAFC8 000B7F28 41 82 00 0C */ beq lbl_800BAFD4 +/* 800BAFCC 000B7F2C 7F C3 F3 78 */ mr r3, r30 +/* 800BAFD0 000B7F30 4B FF FF C5 */ bl sub_800baf94 +lbl_800BAFD4: +/* 800BAFD4 000B7F34 28 1F 00 00 */ cmplwi r31, 0 +/* 800BAFD8 000B7F38 41 82 00 18 */ beq lbl_800BAFF0 +/* 800BAFDC 000B7F3C 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 800BAFE0 000B7F40 41 82 00 10 */ beq lbl_800BAFF0 +/* 800BAFE4 000B7F44 34 7F 00 14 */ addic. r3, r31, 0x14 +/* 800BAFE8 000B7F48 41 82 00 08 */ beq lbl_800BAFF0 +/* 800BAFEC 000B7F4C 48 00 08 75 */ bl sub_800bb860 +lbl_800BAFF0: +/* 800BAFF0 000B7F50 28 1F 00 00 */ cmplwi r31, 0 +/* 800BAFF4 000B7F54 41 82 00 0C */ beq lbl_800BB000 +/* 800BAFF8 000B7F58 7F E3 FB 78 */ mr r3, r31 +/* 800BAFFC 000B7F5C 48 25 A9 35 */ bl Free__7CMemoryFPCv +lbl_800BB000: +/* 800BB000 000B7F60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BB004 000B7F64 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BB008 000B7F68 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BB00C 000B7F6C 7C 08 03 A6 */ mtlr r0 +/* 800BB010 000B7F70 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BB014 000B7F74 4E 80 00 20 */ blr + +.global sub_800bb018 +sub_800bb018: +/* 800BB018 000B7F78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800BB01C 000B7F7C 7C 08 02 A6 */ mflr r0 +/* 800BB020 000B7F80 28 05 00 00 */ cmplwi r5, 0 +/* 800BB024 000B7F84 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BB028 000B7F88 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 800BB02C 000B7F8C 7C 7C 1B 78 */ mr r28, r3 +/* 800BB030 000B7F90 7C 9D 23 78 */ mr r29, r4 +/* 800BB034 000B7F94 7C DE 33 78 */ mr r30, r6 +/* 800BB038 000B7F98 40 82 00 98 */ bne lbl_800BB0D0 +/* 800BB03C 000B7F9C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BB040 000B7FA0 38 60 00 18 */ li r3, 0x18 +/* 800BB044 000B7FA4 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BB048 000B7FA8 38 A0 00 00 */ li r5, 0 +/* 800BB04C 000B7FAC 48 25 A7 CD */ bl __nwa__FUlPCcPCc +/* 800BB050 000B7FB0 28 03 00 00 */ cmplwi r3, 0 +/* 800BB054 000B7FB4 41 82 00 40 */ beq lbl_800BB094 +/* 800BB058 000B7FB8 38 00 00 00 */ li r0, 0 +/* 800BB05C 000B7FBC 34 83 00 10 */ addic. r4, r3, 0x10 +/* 800BB060 000B7FC0 90 03 00 00 */ stw r0, 0(r3) +/* 800BB064 000B7FC4 90 03 00 04 */ stw r0, 4(r3) +/* 800BB068 000B7FC8 90 03 00 08 */ stw r0, 8(r3) +/* 800BB06C 000B7FCC 90 03 00 0C */ stw r0, 0xc(r3) +/* 800BB070 000B7FD0 41 82 00 24 */ beq lbl_800BB094 +/* 800BB074 000B7FD4 80 1E 00 00 */ lwz r0, 0(r30) +/* 800BB078 000B7FD8 90 04 00 00 */ stw r0, 0(r4) +/* 800BB07C 000B7FDC 80 1E 00 04 */ lwz r0, 4(r30) +/* 800BB080 000B7FE0 90 04 00 04 */ stw r0, 4(r4) +/* 800BB084 000B7FE4 80 A4 00 04 */ lwz r5, 4(r4) +/* 800BB088 000B7FE8 80 85 00 04 */ lwz r4, 4(r5) +/* 800BB08C 000B7FEC 38 04 00 01 */ addi r0, r4, 1 +/* 800BB090 000B7FF0 90 05 00 04 */ stw r0, 4(r5) +lbl_800BB094: +/* 800BB094 000B7FF4 90 7D 00 10 */ stw r3, 0x10(r29) +/* 800BB098 000B7FF8 38 1D 00 08 */ addi r0, r29, 8 +/* 800BB09C 000B7FFC 80 7D 00 04 */ lwz r3, 4(r29) +/* 800BB0A0 000B8000 38 63 00 01 */ addi r3, r3, 1 +/* 800BB0A4 000B8004 90 7D 00 04 */ stw r3, 4(r29) +/* 800BB0A8 000B8008 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BB0AC 000B800C 90 7D 00 08 */ stw r3, 8(r29) +/* 800BB0B0 000B8010 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BB0B4 000B8014 90 7D 00 0C */ stw r3, 0xc(r29) +/* 800BB0B8 000B8018 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BB0BC 000B801C 90 7C 00 00 */ stw r3, 0(r28) +/* 800BB0C0 000B8020 90 1C 00 04 */ stw r0, 4(r28) +/* 800BB0C4 000B8024 88 0D 86 66 */ lbz r0, lbl_805A7226@sda21(r13) +/* 800BB0C8 000B8028 98 1C 00 08 */ stb r0, 8(r28) +/* 800BB0CC 000B802C 48 00 01 9C */ b lbl_800BB268 +lbl_800BB0D0: +/* 800BB0D0 000B8030 7C BF 2B 78 */ mr r31, r5 +/* 800BB0D4 000B8034 3B 60 00 00 */ li r27, 0 +/* 800BB0D8 000B8038 48 00 01 5C */ b lbl_800BB234 +lbl_800BB0DC: +/* 800BB0DC 000B803C 80 7E 00 00 */ lwz r3, 0(r30) +/* 800BB0E0 000B8040 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 800BB0E4 000B8044 7C 80 1A 78 */ xor r0, r4, r3 +/* 800BB0E8 000B8048 7C 00 00 34 */ cntlzw r0, r0 +/* 800BB0EC 000B804C 7C 80 00 30 */ slw r0, r4, r0 +/* 800BB0F0 000B8050 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 800BB0F4 000B8054 40 82 00 24 */ bne lbl_800BB118 +/* 800BB0F8 000B8058 7C 04 18 40 */ cmplw r4, r3 +/* 800BB0FC 000B805C 41 80 00 1C */ blt lbl_800BB118 +/* 800BB100 000B8060 93 FC 00 00 */ stw r31, 0(r28) +/* 800BB104 000B8064 38 1D 00 08 */ addi r0, r29, 8 +/* 800BB108 000B8068 90 1C 00 04 */ stw r0, 4(r28) +/* 800BB10C 000B806C 88 0D 86 67 */ lbz r0, lbl_805A7227@sda21(r13) +/* 800BB110 000B8070 98 1C 00 08 */ stb r0, 8(r28) +/* 800BB114 000B8074 48 00 01 54 */ b lbl_800BB268 +lbl_800BB118: +/* 800BB118 000B8078 28 00 00 00 */ cmplwi r0, 0 +/* 800BB11C 000B807C 41 82 00 90 */ beq lbl_800BB1AC +/* 800BB120 000B8080 80 1F 00 00 */ lwz r0, 0(r31) +/* 800BB124 000B8084 28 00 00 00 */ cmplwi r0, 0 +/* 800BB128 000B8088 40 82 00 7C */ bne lbl_800BB1A4 +/* 800BB12C 000B808C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BB130 000B8090 38 60 00 18 */ li r3, 0x18 +/* 800BB134 000B8094 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BB138 000B8098 38 A0 00 00 */ li r5, 0 +/* 800BB13C 000B809C 48 25 A6 DD */ bl __nwa__FUlPCcPCc +/* 800BB140 000B80A0 28 03 00 00 */ cmplwi r3, 0 +/* 800BB144 000B80A4 41 82 00 44 */ beq lbl_800BB188 +/* 800BB148 000B80A8 38 80 00 00 */ li r4, 0 +/* 800BB14C 000B80AC 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 800BB150 000B80B0 90 83 00 00 */ stw r4, 0(r3) +/* 800BB154 000B80B4 38 00 00 01 */ li r0, 1 +/* 800BB158 000B80B8 90 83 00 04 */ stw r4, 4(r3) +/* 800BB15C 000B80BC 93 E3 00 08 */ stw r31, 8(r3) +/* 800BB160 000B80C0 90 03 00 0C */ stw r0, 0xc(r3) +/* 800BB164 000B80C4 41 82 00 24 */ beq lbl_800BB188 +/* 800BB168 000B80C8 80 1E 00 00 */ lwz r0, 0(r30) +/* 800BB16C 000B80CC 90 05 00 00 */ stw r0, 0(r5) +/* 800BB170 000B80D0 80 1E 00 04 */ lwz r0, 4(r30) +/* 800BB174 000B80D4 90 05 00 04 */ stw r0, 4(r5) +/* 800BB178 000B80D8 80 A5 00 04 */ lwz r5, 4(r5) +/* 800BB17C 000B80DC 80 85 00 04 */ lwz r4, 4(r5) +/* 800BB180 000B80E0 38 04 00 01 */ addi r0, r4, 1 +/* 800BB184 000B80E4 90 05 00 04 */ stw r0, 4(r5) +lbl_800BB188: +/* 800BB188 000B80E8 90 7F 00 00 */ stw r3, 0(r31) +/* 800BB18C 000B80EC 7C 7B 1B 78 */ mr r27, r3 +/* 800BB190 000B80F0 80 1D 00 08 */ lwz r0, 8(r29) +/* 800BB194 000B80F4 7C 1F 00 40 */ cmplw r31, r0 +/* 800BB198 000B80F8 40 82 00 9C */ bne lbl_800BB234 +/* 800BB19C 000B80FC 90 7D 00 08 */ stw r3, 8(r29) +/* 800BB1A0 000B8100 48 00 00 94 */ b lbl_800BB234 +lbl_800BB1A4: +/* 800BB1A4 000B8104 7C 1F 03 78 */ mr r31, r0 +/* 800BB1A8 000B8108 48 00 00 8C */ b lbl_800BB234 +lbl_800BB1AC: +/* 800BB1AC 000B810C 80 1F 00 04 */ lwz r0, 4(r31) +/* 800BB1B0 000B8110 28 00 00 00 */ cmplwi r0, 0 +/* 800BB1B4 000B8114 40 82 00 7C */ bne lbl_800BB230 +/* 800BB1B8 000B8118 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BB1BC 000B811C 38 60 00 18 */ li r3, 0x18 +/* 800BB1C0 000B8120 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BB1C4 000B8124 38 A0 00 00 */ li r5, 0 +/* 800BB1C8 000B8128 48 25 A6 51 */ bl __nwa__FUlPCcPCc +/* 800BB1CC 000B812C 28 03 00 00 */ cmplwi r3, 0 +/* 800BB1D0 000B8130 41 82 00 44 */ beq lbl_800BB214 +/* 800BB1D4 000B8134 38 80 00 00 */ li r4, 0 +/* 800BB1D8 000B8138 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 800BB1DC 000B813C 90 83 00 00 */ stw r4, 0(r3) +/* 800BB1E0 000B8140 38 00 00 01 */ li r0, 1 +/* 800BB1E4 000B8144 90 83 00 04 */ stw r4, 4(r3) +/* 800BB1E8 000B8148 93 E3 00 08 */ stw r31, 8(r3) +/* 800BB1EC 000B814C 90 03 00 0C */ stw r0, 0xc(r3) +/* 800BB1F0 000B8150 41 82 00 24 */ beq lbl_800BB214 +/* 800BB1F4 000B8154 80 1E 00 00 */ lwz r0, 0(r30) +/* 800BB1F8 000B8158 90 05 00 00 */ stw r0, 0(r5) +/* 800BB1FC 000B815C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800BB200 000B8160 90 05 00 04 */ stw r0, 4(r5) +/* 800BB204 000B8164 80 A5 00 04 */ lwz r5, 4(r5) +/* 800BB208 000B8168 80 85 00 04 */ lwz r4, 4(r5) +/* 800BB20C 000B816C 38 04 00 01 */ addi r0, r4, 1 +/* 800BB210 000B8170 90 05 00 04 */ stw r0, 4(r5) +lbl_800BB214: +/* 800BB214 000B8174 90 7F 00 04 */ stw r3, 4(r31) +/* 800BB218 000B8178 7C 7B 1B 78 */ mr r27, r3 +/* 800BB21C 000B817C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800BB220 000B8180 7C 1F 00 40 */ cmplw r31, r0 +/* 800BB224 000B8184 40 82 00 10 */ bne lbl_800BB234 +/* 800BB228 000B8188 90 7D 00 0C */ stw r3, 0xc(r29) +/* 800BB22C 000B818C 48 00 00 08 */ b lbl_800BB234 +lbl_800BB230: +/* 800BB230 000B8190 7C 1F 03 78 */ mr r31, r0 +lbl_800BB234: +/* 800BB234 000B8194 28 1B 00 00 */ cmplwi r27, 0 +/* 800BB238 000B8198 41 82 FE A4 */ beq lbl_800BB0DC +/* 800BB23C 000B819C 80 BD 00 04 */ lwz r5, 4(r29) +/* 800BB240 000B81A0 7F 64 DB 78 */ mr r4, r27 +/* 800BB244 000B81A4 38 7D 00 08 */ addi r3, r29, 8 +/* 800BB248 000B81A8 38 05 00 01 */ addi r0, r5, 1 +/* 800BB24C 000B81AC 90 1D 00 04 */ stw r0, 4(r29) +/* 800BB250 000B81B0 48 28 18 49 */ bl rbtree_rebalance__4rstlFPvPv +/* 800BB254 000B81B4 93 7C 00 00 */ stw r27, 0(r28) +/* 800BB258 000B81B8 38 1D 00 08 */ addi r0, r29, 8 +/* 800BB25C 000B81BC 90 1C 00 04 */ stw r0, 4(r28) +/* 800BB260 000B81C0 88 0D 86 68 */ lbz r0, lbl_805A7228@sda21(r13) +/* 800BB264 000B81C4 98 1C 00 08 */ stb r0, 8(r28) +lbl_800BB268: +/* 800BB268 000B81C8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 800BB26C 000B81CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800BB270 000B81D0 7C 08 03 A6 */ mtlr r0 +/* 800BB274 000B81D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 800BB278 000B81D8 4E 80 00 20 */ blr + +.global sub_800bb27c +sub_800bb27c: +/* 800BB27C 000B81DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BB280 000B81E0 7C 08 02 A6 */ mflr r0 +/* 800BB284 000B81E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BB288 000B81E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BB28C 000B81EC 7C 9F 23 78 */ mr r31, r4 +/* 800BB290 000B81F0 93 C1 00 08 */ stw r30, 8(r1) +/* 800BB294 000B81F4 7C 7E 1B 78 */ mr r30, r3 +/* 800BB298 000B81F8 80 84 00 00 */ lwz r4, 0(r4) +/* 800BB29C 000B81FC 28 04 00 00 */ cmplwi r4, 0 +/* 800BB2A0 000B8200 41 82 00 08 */ beq lbl_800BB2A8 +/* 800BB2A4 000B8204 4B FF FF D9 */ bl sub_800bb27c +lbl_800BB2A8: +/* 800BB2A8 000B8208 80 9F 00 04 */ lwz r4, 4(r31) +/* 800BB2AC 000B820C 28 04 00 00 */ cmplwi r4, 0 +/* 800BB2B0 000B8210 41 82 00 0C */ beq lbl_800BB2BC +/* 800BB2B4 000B8214 7F C3 F3 78 */ mr r3, r30 +/* 800BB2B8 000B8218 4B FF FF C5 */ bl sub_800bb27c +lbl_800BB2BC: +/* 800BB2BC 000B821C 28 1F 00 00 */ cmplwi r31, 0 +/* 800BB2C0 000B8220 41 82 00 18 */ beq lbl_800BB2D8 +/* 800BB2C4 000B8224 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 800BB2C8 000B8228 41 82 00 10 */ beq lbl_800BB2D8 +/* 800BB2CC 000B822C 34 7F 00 14 */ addic. r3, r31, 0x14 +/* 800BB2D0 000B8230 41 82 00 08 */ beq lbl_800BB2D8 +/* 800BB2D4 000B8234 48 00 06 09 */ bl sub_800bb8dc +lbl_800BB2D8: +/* 800BB2D8 000B8238 28 1F 00 00 */ cmplwi r31, 0 +/* 800BB2DC 000B823C 41 82 00 0C */ beq lbl_800BB2E8 +/* 800BB2E0 000B8240 7F E3 FB 78 */ mr r3, r31 +/* 800BB2E4 000B8244 48 25 A6 4D */ bl Free__7CMemoryFPCv +lbl_800BB2E8: +/* 800BB2E8 000B8248 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BB2EC 000B824C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BB2F0 000B8250 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BB2F4 000B8254 7C 08 03 A6 */ mtlr r0 +/* 800BB2F8 000B8258 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BB2FC 000B825C 4E 80 00 20 */ blr + +.global sub_800bb300 +sub_800bb300: +/* 800BB300 000B8260 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800BB304 000B8264 7C 08 02 A6 */ mflr r0 +/* 800BB308 000B8268 28 05 00 00 */ cmplwi r5, 0 +/* 800BB30C 000B826C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BB310 000B8270 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 800BB314 000B8274 7C 7C 1B 78 */ mr r28, r3 +/* 800BB318 000B8278 7C 9D 23 78 */ mr r29, r4 +/* 800BB31C 000B827C 7C DE 33 78 */ mr r30, r6 +/* 800BB320 000B8280 40 82 00 98 */ bne lbl_800BB3B8 +/* 800BB324 000B8284 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BB328 000B8288 38 60 00 18 */ li r3, 0x18 +/* 800BB32C 000B828C 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BB330 000B8290 38 A0 00 00 */ li r5, 0 +/* 800BB334 000B8294 48 25 A4 E5 */ bl __nwa__FUlPCcPCc +/* 800BB338 000B8298 28 03 00 00 */ cmplwi r3, 0 +/* 800BB33C 000B829C 41 82 00 40 */ beq lbl_800BB37C +/* 800BB340 000B82A0 38 00 00 00 */ li r0, 0 +/* 800BB344 000B82A4 34 83 00 10 */ addic. r4, r3, 0x10 +/* 800BB348 000B82A8 90 03 00 00 */ stw r0, 0(r3) +/* 800BB34C 000B82AC 90 03 00 04 */ stw r0, 4(r3) +/* 800BB350 000B82B0 90 03 00 08 */ stw r0, 8(r3) +/* 800BB354 000B82B4 90 03 00 0C */ stw r0, 0xc(r3) +/* 800BB358 000B82B8 41 82 00 24 */ beq lbl_800BB37C +/* 800BB35C 000B82BC 80 1E 00 00 */ lwz r0, 0(r30) +/* 800BB360 000B82C0 90 04 00 00 */ stw r0, 0(r4) +/* 800BB364 000B82C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 800BB368 000B82C8 90 04 00 04 */ stw r0, 4(r4) +/* 800BB36C 000B82CC 80 A4 00 04 */ lwz r5, 4(r4) +/* 800BB370 000B82D0 80 85 00 04 */ lwz r4, 4(r5) +/* 800BB374 000B82D4 38 04 00 01 */ addi r0, r4, 1 +/* 800BB378 000B82D8 90 05 00 04 */ stw r0, 4(r5) +lbl_800BB37C: +/* 800BB37C 000B82DC 90 7D 00 10 */ stw r3, 0x10(r29) +/* 800BB380 000B82E0 38 1D 00 08 */ addi r0, r29, 8 +/* 800BB384 000B82E4 80 7D 00 04 */ lwz r3, 4(r29) +/* 800BB388 000B82E8 38 63 00 01 */ addi r3, r3, 1 +/* 800BB38C 000B82EC 90 7D 00 04 */ stw r3, 4(r29) +/* 800BB390 000B82F0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BB394 000B82F4 90 7D 00 08 */ stw r3, 8(r29) +/* 800BB398 000B82F8 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BB39C 000B82FC 90 7D 00 0C */ stw r3, 0xc(r29) +/* 800BB3A0 000B8300 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BB3A4 000B8304 90 7C 00 00 */ stw r3, 0(r28) +/* 800BB3A8 000B8308 90 1C 00 04 */ stw r0, 4(r28) +/* 800BB3AC 000B830C 88 0D 86 63 */ lbz r0, lbl_805A7223@sda21(r13) +/* 800BB3B0 000B8310 98 1C 00 08 */ stb r0, 8(r28) +/* 800BB3B4 000B8314 48 00 01 9C */ b lbl_800BB550 +lbl_800BB3B8: +/* 800BB3B8 000B8318 7C BF 2B 78 */ mr r31, r5 +/* 800BB3BC 000B831C 3B 60 00 00 */ li r27, 0 +/* 800BB3C0 000B8320 48 00 01 5C */ b lbl_800BB51C +lbl_800BB3C4: +/* 800BB3C4 000B8324 80 7E 00 00 */ lwz r3, 0(r30) +/* 800BB3C8 000B8328 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 800BB3CC 000B832C 7C 80 1A 78 */ xor r0, r4, r3 +/* 800BB3D0 000B8330 7C 00 00 34 */ cntlzw r0, r0 +/* 800BB3D4 000B8334 7C 80 00 30 */ slw r0, r4, r0 +/* 800BB3D8 000B8338 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 800BB3DC 000B833C 40 82 00 24 */ bne lbl_800BB400 +/* 800BB3E0 000B8340 7C 04 18 40 */ cmplw r4, r3 +/* 800BB3E4 000B8344 41 80 00 1C */ blt lbl_800BB400 +/* 800BB3E8 000B8348 93 FC 00 00 */ stw r31, 0(r28) +/* 800BB3EC 000B834C 38 1D 00 08 */ addi r0, r29, 8 +/* 800BB3F0 000B8350 90 1C 00 04 */ stw r0, 4(r28) +/* 800BB3F4 000B8354 88 0D 86 64 */ lbz r0, lbl_805A7224@sda21(r13) +/* 800BB3F8 000B8358 98 1C 00 08 */ stb r0, 8(r28) +/* 800BB3FC 000B835C 48 00 01 54 */ b lbl_800BB550 +lbl_800BB400: +/* 800BB400 000B8360 28 00 00 00 */ cmplwi r0, 0 +/* 800BB404 000B8364 41 82 00 90 */ beq lbl_800BB494 +/* 800BB408 000B8368 80 1F 00 00 */ lwz r0, 0(r31) +/* 800BB40C 000B836C 28 00 00 00 */ cmplwi r0, 0 +/* 800BB410 000B8370 40 82 00 7C */ bne lbl_800BB48C +/* 800BB414 000B8374 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BB418 000B8378 38 60 00 18 */ li r3, 0x18 +/* 800BB41C 000B837C 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BB420 000B8380 38 A0 00 00 */ li r5, 0 +/* 800BB424 000B8384 48 25 A3 F5 */ bl __nwa__FUlPCcPCc +/* 800BB428 000B8388 28 03 00 00 */ cmplwi r3, 0 +/* 800BB42C 000B838C 41 82 00 44 */ beq lbl_800BB470 +/* 800BB430 000B8390 38 80 00 00 */ li r4, 0 +/* 800BB434 000B8394 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 800BB438 000B8398 90 83 00 00 */ stw r4, 0(r3) +/* 800BB43C 000B839C 38 00 00 01 */ li r0, 1 +/* 800BB440 000B83A0 90 83 00 04 */ stw r4, 4(r3) +/* 800BB444 000B83A4 93 E3 00 08 */ stw r31, 8(r3) +/* 800BB448 000B83A8 90 03 00 0C */ stw r0, 0xc(r3) +/* 800BB44C 000B83AC 41 82 00 24 */ beq lbl_800BB470 +/* 800BB450 000B83B0 80 1E 00 00 */ lwz r0, 0(r30) +/* 800BB454 000B83B4 90 05 00 00 */ stw r0, 0(r5) +/* 800BB458 000B83B8 80 1E 00 04 */ lwz r0, 4(r30) +/* 800BB45C 000B83BC 90 05 00 04 */ stw r0, 4(r5) +/* 800BB460 000B83C0 80 A5 00 04 */ lwz r5, 4(r5) +/* 800BB464 000B83C4 80 85 00 04 */ lwz r4, 4(r5) +/* 800BB468 000B83C8 38 04 00 01 */ addi r0, r4, 1 +/* 800BB46C 000B83CC 90 05 00 04 */ stw r0, 4(r5) +lbl_800BB470: +/* 800BB470 000B83D0 90 7F 00 00 */ stw r3, 0(r31) +/* 800BB474 000B83D4 7C 7B 1B 78 */ mr r27, r3 +/* 800BB478 000B83D8 80 1D 00 08 */ lwz r0, 8(r29) +/* 800BB47C 000B83DC 7C 1F 00 40 */ cmplw r31, r0 +/* 800BB480 000B83E0 40 82 00 9C */ bne lbl_800BB51C +/* 800BB484 000B83E4 90 7D 00 08 */ stw r3, 8(r29) +/* 800BB488 000B83E8 48 00 00 94 */ b lbl_800BB51C +lbl_800BB48C: +/* 800BB48C 000B83EC 7C 1F 03 78 */ mr r31, r0 +/* 800BB490 000B83F0 48 00 00 8C */ b lbl_800BB51C +lbl_800BB494: +/* 800BB494 000B83F4 80 1F 00 04 */ lwz r0, 4(r31) +/* 800BB498 000B83F8 28 00 00 00 */ cmplwi r0, 0 +/* 800BB49C 000B83FC 40 82 00 7C */ bne lbl_800BB518 +/* 800BB4A0 000B8400 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BB4A4 000B8404 38 60 00 18 */ li r3, 0x18 +/* 800BB4A8 000B8408 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BB4AC 000B840C 38 A0 00 00 */ li r5, 0 +/* 800BB4B0 000B8410 48 25 A3 69 */ bl __nwa__FUlPCcPCc +/* 800BB4B4 000B8414 28 03 00 00 */ cmplwi r3, 0 +/* 800BB4B8 000B8418 41 82 00 44 */ beq lbl_800BB4FC +/* 800BB4BC 000B841C 38 80 00 00 */ li r4, 0 +/* 800BB4C0 000B8420 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 800BB4C4 000B8424 90 83 00 00 */ stw r4, 0(r3) +/* 800BB4C8 000B8428 38 00 00 01 */ li r0, 1 +/* 800BB4CC 000B842C 90 83 00 04 */ stw r4, 4(r3) +/* 800BB4D0 000B8430 93 E3 00 08 */ stw r31, 8(r3) +/* 800BB4D4 000B8434 90 03 00 0C */ stw r0, 0xc(r3) +/* 800BB4D8 000B8438 41 82 00 24 */ beq lbl_800BB4FC +/* 800BB4DC 000B843C 80 1E 00 00 */ lwz r0, 0(r30) +/* 800BB4E0 000B8440 90 05 00 00 */ stw r0, 0(r5) +/* 800BB4E4 000B8444 80 1E 00 04 */ lwz r0, 4(r30) +/* 800BB4E8 000B8448 90 05 00 04 */ stw r0, 4(r5) +/* 800BB4EC 000B844C 80 A5 00 04 */ lwz r5, 4(r5) +/* 800BB4F0 000B8450 80 85 00 04 */ lwz r4, 4(r5) +/* 800BB4F4 000B8454 38 04 00 01 */ addi r0, r4, 1 +/* 800BB4F8 000B8458 90 05 00 04 */ stw r0, 4(r5) +lbl_800BB4FC: +/* 800BB4FC 000B845C 90 7F 00 04 */ stw r3, 4(r31) +/* 800BB500 000B8460 7C 7B 1B 78 */ mr r27, r3 +/* 800BB504 000B8464 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800BB508 000B8468 7C 1F 00 40 */ cmplw r31, r0 +/* 800BB50C 000B846C 40 82 00 10 */ bne lbl_800BB51C +/* 800BB510 000B8470 90 7D 00 0C */ stw r3, 0xc(r29) +/* 800BB514 000B8474 48 00 00 08 */ b lbl_800BB51C +lbl_800BB518: +/* 800BB518 000B8478 7C 1F 03 78 */ mr r31, r0 +lbl_800BB51C: +/* 800BB51C 000B847C 28 1B 00 00 */ cmplwi r27, 0 +/* 800BB520 000B8480 41 82 FE A4 */ beq lbl_800BB3C4 +/* 800BB524 000B8484 80 BD 00 04 */ lwz r5, 4(r29) +/* 800BB528 000B8488 7F 64 DB 78 */ mr r4, r27 +/* 800BB52C 000B848C 38 7D 00 08 */ addi r3, r29, 8 +/* 800BB530 000B8490 38 05 00 01 */ addi r0, r5, 1 +/* 800BB534 000B8494 90 1D 00 04 */ stw r0, 4(r29) +/* 800BB538 000B8498 48 28 15 61 */ bl rbtree_rebalance__4rstlFPvPv +/* 800BB53C 000B849C 93 7C 00 00 */ stw r27, 0(r28) +/* 800BB540 000B84A0 38 1D 00 08 */ addi r0, r29, 8 +/* 800BB544 000B84A4 90 1C 00 04 */ stw r0, 4(r28) +/* 800BB548 000B84A8 88 0D 86 65 */ lbz r0, lbl_805A7225@sda21(r13) +/* 800BB54C 000B84AC 98 1C 00 08 */ stb r0, 8(r28) +lbl_800BB550: +/* 800BB550 000B84B0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 800BB554 000B84B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800BB558 000B84B8 7C 08 03 A6 */ mtlr r0 +/* 800BB55C 000B84BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 800BB560 000B84C0 4E 80 00 20 */ blr + +.global sub_800bb564 +sub_800bb564: +/* 800BB564 000B84C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800BB568 000B84C8 7C 08 02 A6 */ mflr r0 +/* 800BB56C 000B84CC 28 05 00 00 */ cmplwi r5, 0 +/* 800BB570 000B84D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BB574 000B84D4 BF 41 00 08 */ stmw r26, 8(r1) +/* 800BB578 000B84D8 7C 7C 1B 78 */ mr r28, r3 +/* 800BB57C 000B84DC 7C 9D 23 78 */ mr r29, r4 +/* 800BB580 000B84E0 7C DE 33 78 */ mr r30, r6 +/* 800BB584 000B84E4 40 82 00 9C */ bne lbl_800BB620 +/* 800BB588 000B84E8 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BB58C 000B84EC 38 60 00 28 */ li r3, 0x28 +/* 800BB590 000B84F0 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BB594 000B84F4 38 A0 00 00 */ li r5, 0 +/* 800BB598 000B84F8 48 25 A2 81 */ bl __nwa__FUlPCcPCc +/* 800BB59C 000B84FC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800BB5A0 000B8500 41 82 00 44 */ beq lbl_800BB5E4 +/* 800BB5A4 000B8504 38 00 00 00 */ li r0, 0 +/* 800BB5A8 000B8508 37 FB 00 10 */ addic. r31, r27, 0x10 +/* 800BB5AC 000B850C 90 1B 00 00 */ stw r0, 0(r27) +/* 800BB5B0 000B8510 90 1B 00 04 */ stw r0, 4(r27) +/* 800BB5B4 000B8514 90 1B 00 08 */ stw r0, 8(r27) +/* 800BB5B8 000B8518 90 1B 00 0C */ stw r0, 0xc(r27) +/* 800BB5BC 000B851C 41 82 00 28 */ beq lbl_800BB5E4 +/* 800BB5C0 000B8520 7F E3 FB 78 */ mr r3, r31 +/* 800BB5C4 000B8524 7F C4 F3 78 */ mr r4, r30 +/* 800BB5C8 000B8528 48 28 2B 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800BB5CC 000B852C 88 7E 00 10 */ lbz r3, 0x10(r30) +/* 800BB5D0 000B8530 38 00 00 00 */ li r0, 0 +/* 800BB5D4 000B8534 98 7F 00 10 */ stb r3, 0x10(r31) +/* 800BB5D8 000B8538 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 800BB5DC 000B853C 90 7F 00 14 */ stw r3, 0x14(r31) +/* 800BB5E0 000B8540 98 1E 00 10 */ stb r0, 0x10(r30) +lbl_800BB5E4: +/* 800BB5E4 000B8544 93 7D 00 10 */ stw r27, 0x10(r29) +/* 800BB5E8 000B8548 38 1D 00 08 */ addi r0, r29, 8 +/* 800BB5EC 000B854C 80 7D 00 04 */ lwz r3, 4(r29) +/* 800BB5F0 000B8550 38 63 00 01 */ addi r3, r3, 1 +/* 800BB5F4 000B8554 90 7D 00 04 */ stw r3, 4(r29) +/* 800BB5F8 000B8558 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BB5FC 000B855C 90 7D 00 08 */ stw r3, 8(r29) +/* 800BB600 000B8560 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BB604 000B8564 90 7D 00 0C */ stw r3, 0xc(r29) +/* 800BB608 000B8568 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 800BB60C 000B856C 90 7C 00 00 */ stw r3, 0(r28) +/* 800BB610 000B8570 90 1C 00 04 */ stw r0, 4(r28) +/* 800BB614 000B8574 88 0D 86 60 */ lbz r0, lbl_805A7220@sda21(r13) +/* 800BB618 000B8578 98 1C 00 08 */ stb r0, 8(r28) +/* 800BB61C 000B857C 48 00 01 B4 */ b lbl_800BB7D0 +lbl_800BB620: +/* 800BB620 000B8580 7C BF 2B 78 */ mr r31, r5 +/* 800BB624 000B8584 3B 40 00 00 */ li r26, 0 +/* 800BB628 000B8588 48 00 01 74 */ b lbl_800BB79C +lbl_800BB62C: +/* 800BB62C 000B858C 7F C4 F3 78 */ mr r4, r30 +/* 800BB630 000B8590 38 7D 00 01 */ addi r3, r29, 1 +/* 800BB634 000B8594 38 BF 00 10 */ addi r5, r31, 0x10 +/* 800BB638 000B8598 4B F6 F0 F1 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 800BB63C 000B859C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BB640 000B85A0 7C 7B 1B 78 */ mr r27, r3 +/* 800BB644 000B85A4 40 82 00 34 */ bne lbl_800BB678 +/* 800BB648 000B85A8 7F C5 F3 78 */ mr r5, r30 +/* 800BB64C 000B85AC 38 7D 00 01 */ addi r3, r29, 1 +/* 800BB650 000B85B0 38 9F 00 10 */ addi r4, r31, 0x10 +/* 800BB654 000B85B4 4B F6 F0 D5 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 800BB658 000B85B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BB65C 000B85BC 40 82 00 1C */ bne lbl_800BB678 +/* 800BB660 000B85C0 93 FC 00 00 */ stw r31, 0(r28) +/* 800BB664 000B85C4 38 1D 00 08 */ addi r0, r29, 8 +/* 800BB668 000B85C8 90 1C 00 04 */ stw r0, 4(r28) +/* 800BB66C 000B85CC 88 0D 86 61 */ lbz r0, lbl_805A7221@sda21(r13) +/* 800BB670 000B85D0 98 1C 00 08 */ stb r0, 8(r28) +/* 800BB674 000B85D4 48 00 01 5C */ b lbl_800BB7D0 +lbl_800BB678: +/* 800BB678 000B85D8 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 800BB67C 000B85DC 41 82 00 94 */ beq lbl_800BB710 +/* 800BB680 000B85E0 80 1F 00 00 */ lwz r0, 0(r31) +/* 800BB684 000B85E4 28 00 00 00 */ cmplwi r0, 0 +/* 800BB688 000B85E8 40 82 00 80 */ bne lbl_800BB708 +/* 800BB68C 000B85EC 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BB690 000B85F0 38 60 00 28 */ li r3, 0x28 +/* 800BB694 000B85F4 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BB698 000B85F8 38 A0 00 00 */ li r5, 0 +/* 800BB69C 000B85FC 48 25 A1 7D */ bl __nwa__FUlPCcPCc +/* 800BB6A0 000B8600 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800BB6A4 000B8604 41 82 00 48 */ beq lbl_800BB6EC +/* 800BB6A8 000B8608 38 60 00 00 */ li r3, 0 +/* 800BB6AC 000B860C 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 800BB6B0 000B8610 90 7B 00 00 */ stw r3, 0(r27) +/* 800BB6B4 000B8614 38 00 00 01 */ li r0, 1 +/* 800BB6B8 000B8618 90 7B 00 04 */ stw r3, 4(r27) +/* 800BB6BC 000B861C 93 FB 00 08 */ stw r31, 8(r27) +/* 800BB6C0 000B8620 90 1B 00 0C */ stw r0, 0xc(r27) +/* 800BB6C4 000B8624 41 82 00 28 */ beq lbl_800BB6EC +/* 800BB6C8 000B8628 7F 43 D3 78 */ mr r3, r26 +/* 800BB6CC 000B862C 7F C4 F3 78 */ mr r4, r30 +/* 800BB6D0 000B8630 48 28 2A 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800BB6D4 000B8634 88 7E 00 10 */ lbz r3, 0x10(r30) +/* 800BB6D8 000B8638 38 00 00 00 */ li r0, 0 +/* 800BB6DC 000B863C 98 7A 00 10 */ stb r3, 0x10(r26) +/* 800BB6E0 000B8640 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 800BB6E4 000B8644 90 7A 00 14 */ stw r3, 0x14(r26) +/* 800BB6E8 000B8648 98 1E 00 10 */ stb r0, 0x10(r30) +lbl_800BB6EC: +/* 800BB6EC 000B864C 93 7F 00 00 */ stw r27, 0(r31) +/* 800BB6F0 000B8650 7F 7A DB 78 */ mr r26, r27 +/* 800BB6F4 000B8654 80 1D 00 08 */ lwz r0, 8(r29) +/* 800BB6F8 000B8658 7C 1F 00 40 */ cmplw r31, r0 +/* 800BB6FC 000B865C 40 82 00 A0 */ bne lbl_800BB79C +/* 800BB700 000B8660 93 7D 00 08 */ stw r27, 8(r29) +/* 800BB704 000B8664 48 00 00 98 */ b lbl_800BB79C +lbl_800BB708: +/* 800BB708 000B8668 7C 1F 03 78 */ mr r31, r0 +/* 800BB70C 000B866C 48 00 00 90 */ b lbl_800BB79C +lbl_800BB710: +/* 800BB710 000B8670 80 1F 00 04 */ lwz r0, 4(r31) +/* 800BB714 000B8674 28 00 00 00 */ cmplwi r0, 0 +/* 800BB718 000B8678 40 82 00 80 */ bne lbl_800BB798 +/* 800BB71C 000B867C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha +/* 800BB720 000B8680 38 60 00 28 */ li r3, 0x28 +/* 800BB724 000B8684 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l +/* 800BB728 000B8688 38 A0 00 00 */ li r5, 0 +/* 800BB72C 000B868C 48 25 A0 ED */ bl __nwa__FUlPCcPCc +/* 800BB730 000B8690 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800BB734 000B8694 41 82 00 48 */ beq lbl_800BB77C +/* 800BB738 000B8698 38 60 00 00 */ li r3, 0 +/* 800BB73C 000B869C 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 800BB740 000B86A0 90 7B 00 00 */ stw r3, 0(r27) +/* 800BB744 000B86A4 38 00 00 01 */ li r0, 1 +/* 800BB748 000B86A8 90 7B 00 04 */ stw r3, 4(r27) +/* 800BB74C 000B86AC 93 FB 00 08 */ stw r31, 8(r27) +/* 800BB750 000B86B0 90 1B 00 0C */ stw r0, 0xc(r27) +/* 800BB754 000B86B4 41 82 00 28 */ beq lbl_800BB77C +/* 800BB758 000B86B8 7F 43 D3 78 */ mr r3, r26 +/* 800BB75C 000B86BC 7F C4 F3 78 */ mr r4, r30 +/* 800BB760 000B86C0 48 28 2A 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800BB764 000B86C4 88 7E 00 10 */ lbz r3, 0x10(r30) +/* 800BB768 000B86C8 38 00 00 00 */ li r0, 0 +/* 800BB76C 000B86CC 98 7A 00 10 */ stb r3, 0x10(r26) +/* 800BB770 000B86D0 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 800BB774 000B86D4 90 7A 00 14 */ stw r3, 0x14(r26) +/* 800BB778 000B86D8 98 1E 00 10 */ stb r0, 0x10(r30) +lbl_800BB77C: +/* 800BB77C 000B86DC 93 7F 00 04 */ stw r27, 4(r31) +/* 800BB780 000B86E0 7F 7A DB 78 */ mr r26, r27 +/* 800BB784 000B86E4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800BB788 000B86E8 7C 1F 00 40 */ cmplw r31, r0 +/* 800BB78C 000B86EC 40 82 00 10 */ bne lbl_800BB79C +/* 800BB790 000B86F0 93 7D 00 0C */ stw r27, 0xc(r29) +/* 800BB794 000B86F4 48 00 00 08 */ b lbl_800BB79C +lbl_800BB798: +/* 800BB798 000B86F8 7C 1F 03 78 */ mr r31, r0 +lbl_800BB79C: +/* 800BB79C 000B86FC 28 1A 00 00 */ cmplwi r26, 0 +/* 800BB7A0 000B8700 41 82 FE 8C */ beq lbl_800BB62C +/* 800BB7A4 000B8704 80 BD 00 04 */ lwz r5, 4(r29) +/* 800BB7A8 000B8708 7F 44 D3 78 */ mr r4, r26 +/* 800BB7AC 000B870C 38 7D 00 08 */ addi r3, r29, 8 +/* 800BB7B0 000B8710 38 05 00 01 */ addi r0, r5, 1 +/* 800BB7B4 000B8714 90 1D 00 04 */ stw r0, 4(r29) +/* 800BB7B8 000B8718 48 28 12 E1 */ bl rbtree_rebalance__4rstlFPvPv +/* 800BB7BC 000B871C 93 5C 00 00 */ stw r26, 0(r28) +/* 800BB7C0 000B8720 38 1D 00 08 */ addi r0, r29, 8 +/* 800BB7C4 000B8724 90 1C 00 04 */ stw r0, 4(r28) +/* 800BB7C8 000B8728 88 0D 86 62 */ lbz r0, lbl_805A7222@sda21(r13) +/* 800BB7CC 000B872C 98 1C 00 08 */ stb r0, 8(r28) +lbl_800BB7D0: +/* 800BB7D0 000B8730 BB 41 00 08 */ lmw r26, 8(r1) +/* 800BB7D4 000B8734 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800BB7D8 000B8738 7C 08 03 A6 */ mtlr r0 +/* 800BB7DC 000B873C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800BB7E0 000B8740 4E 80 00 20 */ blr + +.global sub_800bb7e4 +sub_800bb7e4: +/* 800BB7E4 000B8744 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BB7E8 000B8748 7C 08 02 A6 */ mflr r0 +/* 800BB7EC 000B874C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BB7F0 000B8750 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BB7F4 000B8754 93 C1 00 08 */ stw r30, 8(r1) +/* 800BB7F8 000B8758 7C 7E 1B 78 */ mr r30, r3 +/* 800BB7FC 000B875C 80 83 00 00 */ lwz r4, 0(r3) +/* 800BB800 000B8760 80 64 00 04 */ lwz r3, 4(r4) +/* 800BB804 000B8764 34 03 FF FF */ addic. r0, r3, -1 +/* 800BB808 000B8768 90 04 00 04 */ stw r0, 4(r4) +/* 800BB80C 000B876C 41 81 00 3C */ bgt lbl_800BB848 +/* 800BB810 000B8770 80 7E 00 00 */ lwz r3, 0(r30) +/* 800BB814 000B8774 83 E3 00 00 */ lwz r31, 0(r3) +/* 800BB818 000B8778 28 1F 00 00 */ cmplwi r31, 0 +/* 800BB81C 000B877C 41 82 00 1C */ beq lbl_800BB838 +/* 800BB820 000B8780 41 82 00 10 */ beq lbl_800BB830 +/* 800BB824 000B8784 7F E3 FB 78 */ mr r3, r31 +/* 800BB828 000B8788 38 80 00 00 */ li r4, 0 +/* 800BB82C 000B878C 48 28 56 15 */ bl __dt__6CTokenFv +lbl_800BB830: +/* 800BB830 000B8790 7F E3 FB 78 */ mr r3, r31 +/* 800BB834 000B8794 48 25 A0 FD */ bl Free__7CMemoryFPCv +lbl_800BB838: +/* 800BB838 000B8798 80 7E 00 00 */ lwz r3, 0(r30) +/* 800BB83C 000B879C 28 03 00 00 */ cmplwi r3, 0 +/* 800BB840 000B87A0 41 82 00 08 */ beq lbl_800BB848 +/* 800BB844 000B87A4 48 25 A0 ED */ bl Free__7CMemoryFPCv +lbl_800BB848: +/* 800BB848 000B87A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BB84C 000B87AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BB850 000B87B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BB854 000B87B4 7C 08 03 A6 */ mtlr r0 +/* 800BB858 000B87B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BB85C 000B87BC 4E 80 00 20 */ blr + +.global sub_800bb860 +sub_800bb860: +/* 800BB860 000B87C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BB864 000B87C4 7C 08 02 A6 */ mflr r0 +/* 800BB868 000B87C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BB86C 000B87CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BB870 000B87D0 93 C1 00 08 */ stw r30, 8(r1) +/* 800BB874 000B87D4 7C 7E 1B 78 */ mr r30, r3 +/* 800BB878 000B87D8 80 83 00 00 */ lwz r4, 0(r3) +/* 800BB87C 000B87DC 80 64 00 04 */ lwz r3, 4(r4) +/* 800BB880 000B87E0 34 03 FF FF */ addic. r0, r3, -1 +/* 800BB884 000B87E4 90 04 00 04 */ stw r0, 4(r4) +/* 800BB888 000B87E8 41 81 00 3C */ bgt lbl_800BB8C4 +/* 800BB88C 000B87EC 80 7E 00 00 */ lwz r3, 0(r30) +/* 800BB890 000B87F0 83 E3 00 00 */ lwz r31, 0(r3) +/* 800BB894 000B87F4 28 1F 00 00 */ cmplwi r31, 0 +/* 800BB898 000B87F8 41 82 00 1C */ beq lbl_800BB8B4 +/* 800BB89C 000B87FC 41 82 00 10 */ beq lbl_800BB8AC +/* 800BB8A0 000B8800 7F E3 FB 78 */ mr r3, r31 +/* 800BB8A4 000B8804 38 80 00 00 */ li r4, 0 +/* 800BB8A8 000B8808 48 28 55 99 */ bl __dt__6CTokenFv +lbl_800BB8AC: +/* 800BB8AC 000B880C 7F E3 FB 78 */ mr r3, r31 +/* 800BB8B0 000B8810 48 25 A0 81 */ bl Free__7CMemoryFPCv +lbl_800BB8B4: +/* 800BB8B4 000B8814 80 7E 00 00 */ lwz r3, 0(r30) +/* 800BB8B8 000B8818 28 03 00 00 */ cmplwi r3, 0 +/* 800BB8BC 000B881C 41 82 00 08 */ beq lbl_800BB8C4 +/* 800BB8C0 000B8820 48 25 A0 71 */ bl Free__7CMemoryFPCv +lbl_800BB8C4: +/* 800BB8C4 000B8824 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BB8C8 000B8828 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BB8CC 000B882C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BB8D0 000B8830 7C 08 03 A6 */ mtlr r0 +/* 800BB8D4 000B8834 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BB8D8 000B8838 4E 80 00 20 */ blr + +.global sub_800bb8dc +sub_800bb8dc: +/* 800BB8DC 000B883C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BB8E0 000B8840 7C 08 02 A6 */ mflr r0 +/* 800BB8E4 000B8844 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BB8E8 000B8848 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BB8EC 000B884C 93 C1 00 08 */ stw r30, 8(r1) +/* 800BB8F0 000B8850 7C 7E 1B 78 */ mr r30, r3 +/* 800BB8F4 000B8854 80 83 00 00 */ lwz r4, 0(r3) +/* 800BB8F8 000B8858 80 64 00 04 */ lwz r3, 4(r4) +/* 800BB8FC 000B885C 34 03 FF FF */ addic. r0, r3, -1 +/* 800BB900 000B8860 90 04 00 04 */ stw r0, 4(r4) +/* 800BB904 000B8864 41 81 00 3C */ bgt lbl_800BB940 +/* 800BB908 000B8868 80 7E 00 00 */ lwz r3, 0(r30) +/* 800BB90C 000B886C 83 E3 00 00 */ lwz r31, 0(r3) +/* 800BB910 000B8870 28 1F 00 00 */ cmplwi r31, 0 +/* 800BB914 000B8874 41 82 00 1C */ beq lbl_800BB930 +/* 800BB918 000B8878 41 82 00 10 */ beq lbl_800BB928 +/* 800BB91C 000B887C 7F E3 FB 78 */ mr r3, r31 +/* 800BB920 000B8880 38 80 00 00 */ li r4, 0 +/* 800BB924 000B8884 48 28 55 1D */ bl __dt__6CTokenFv +lbl_800BB928: +/* 800BB928 000B8888 7F E3 FB 78 */ mr r3, r31 +/* 800BB92C 000B888C 48 25 A0 05 */ bl Free__7CMemoryFPCv +lbl_800BB930: +/* 800BB930 000B8890 80 7E 00 00 */ lwz r3, 0(r30) +/* 800BB934 000B8894 28 03 00 00 */ cmplwi r3, 0 +/* 800BB938 000B8898 41 82 00 08 */ beq lbl_800BB940 +/* 800BB93C 000B889C 48 25 9F F5 */ bl Free__7CMemoryFPCv +lbl_800BB940: +/* 800BB940 000B88A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BB944 000B88A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BB948 000B88A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BB94C 000B88AC 7C 08 03 A6 */ mtlr r0 +/* 800BB950 000B88B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BB954 000B88B4 4E 80 00 20 */ blr + +.global GetWeaponResourcePair__12CTweakGunResCFi +GetWeaponResourcePair__12CTweakGunResCFi: +/* 800BB958 000B88B8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800BB95C 000B88BC 3C A0 80 3D */ lis r5, lbl_803CDED4@ha +/* 800BB960 000B88C0 39 25 DE D4 */ addi r9, r5, lbl_803CDED4@l +/* 800BB964 000B88C4 2C 04 00 00 */ cmpwi r4, 0 +/* 800BB968 000B88C8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800BB96C 000B88CC 39 03 00 34 */ addi r8, r3, 0x34 +/* 800BB970 000B88D0 38 E3 00 44 */ addi r7, r3, 0x44 +/* 800BB974 000B88D4 38 C3 00 54 */ addi r6, r3, 0x54 +/* 800BB978 000B88D8 83 E9 00 00 */ lwz r31, 0(r9) +/* 800BB97C 000B88DC 38 A3 00 64 */ addi r5, r3, 0x64 +/* 800BB980 000B88E0 81 89 00 04 */ lwz r12, 4(r9) +/* 800BB984 000B88E4 38 03 00 74 */ addi r0, r3, 0x74 +/* 800BB988 000B88E8 81 69 00 08 */ lwz r11, 8(r9) +/* 800BB98C 000B88EC 81 49 00 0C */ lwz r10, 0xc(r9) +/* 800BB990 000B88F0 81 29 00 10 */ lwz r9, 0x10(r9) +/* 800BB994 000B88F4 93 E1 00 08 */ stw r31, 8(r1) +/* 800BB998 000B88F8 91 81 00 0C */ stw r12, 0xc(r1) +/* 800BB99C 000B88FC 91 61 00 10 */ stw r11, 0x10(r1) +/* 800BB9A0 000B8900 91 41 00 14 */ stw r10, 0x14(r1) +/* 800BB9A4 000B8904 91 21 00 18 */ stw r9, 0x18(r1) +/* 800BB9A8 000B8908 91 01 00 08 */ stw r8, 8(r1) +/* 800BB9AC 000B890C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800BB9B0 000B8910 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800BB9B4 000B8914 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800BB9B8 000B8918 90 01 00 18 */ stw r0, 0x18(r1) +/* 800BB9BC 000B891C 41 80 00 0C */ blt lbl_800BB9C8 +/* 800BB9C0 000B8920 2C 04 00 04 */ cmpwi r4, 4 +/* 800BB9C4 000B8924 40 81 00 0C */ ble lbl_800BB9D0 +lbl_800BB9C8: +/* 800BB9C8 000B8928 38 63 00 34 */ addi r3, r3, 0x34 +/* 800BB9CC 000B892C 48 00 00 10 */ b lbl_800BB9DC +lbl_800BB9D0: +/* 800BB9D0 000B8930 54 80 10 3A */ slwi r0, r4, 2 +/* 800BB9D4 000B8934 38 61 00 08 */ addi r3, r1, 8 +/* 800BB9D8 000B8938 7C 63 00 2E */ lwzx r3, r3, r0 +lbl_800BB9DC: +/* 800BB9DC 000B893C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800BB9E0 000B8940 38 21 00 30 */ addi r1, r1, 0x30 +/* 800BB9E4 000B8944 4E 80 00 20 */ blr + +.global __ct__12CTweakGunResFR12CInputStream +__ct__12CTweakGunResFR12CInputStream: +/* 800BB9E8 000B8948 94 21 FE 20 */ stwu r1, -0x1e0(r1) +/* 800BB9EC 000B894C 7C 08 02 A6 */ mflr r0 +/* 800BB9F0 000B8950 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha +/* 800BB9F4 000B8954 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 800BB9F8 000B8958 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l +/* 800BB9FC 000B895C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 800BBA00 000B8960 BF 21 01 C4 */ stmw r25, 0x1c4(r1) +/* 800BBA04 000B8964 7C 7C 1B 78 */ mr r28, r3 +/* 800BBA08 000B8968 3C 60 80 3E */ lis r3, lbl_803DF4E8@ha +/* 800BBA0C 000B896C 7C 9D 23 78 */ mr r29, r4 +/* 800BBA10 000B8970 38 63 F4 E8 */ addi r3, r3, lbl_803DF4E8@l +/* 800BBA14 000B8974 90 1C 00 00 */ stw r0, 0(r28) +/* 800BBA18 000B8978 38 00 00 00 */ li r0, 0 +/* 800BBA1C 000B897C 90 7C 00 00 */ stw r3, 0(r28) +/* 800BBA20 000B8980 38 61 01 9C */ addi r3, r1, 0x19c +/* 800BBA24 000B8984 90 1C 00 04 */ stw r0, 4(r28) +/* 800BBA28 000B8988 90 1C 00 08 */ stw r0, 8(r28) +/* 800BBA2C 000B898C 90 1C 00 0C */ stw r0, 0xc(r28) +/* 800BBA30 000B8990 90 1C 00 10 */ stw r0, 0x10(r28) +/* 800BBA34 000B8994 90 1C 00 14 */ stw r0, 0x14(r28) +/* 800BBA38 000B8998 90 1C 00 18 */ stw r0, 0x18(r28) +/* 800BBA3C 000B899C 90 1C 00 1C */ stw r0, 0x1c(r28) +/* 800BBA40 000B89A0 90 1C 00 20 */ stw r0, 0x20(r28) +/* 800BBA44 000B89A4 90 1C 00 24 */ stw r0, 0x24(r28) +/* 800BBA48 000B89A8 90 1C 00 28 */ stw r0, 0x28(r28) +/* 800BBA4C 000B89AC 90 1C 00 2C */ stw r0, 0x2c(r28) +/* 800BBA50 000B89B0 90 1C 00 30 */ stw r0, 0x30(r28) +/* 800BBA54 000B89B4 90 1C 00 38 */ stw r0, 0x38(r28) +/* 800BBA58 000B89B8 90 1C 00 3C */ stw r0, 0x3c(r28) +/* 800BBA5C 000B89BC 90 1C 00 40 */ stw r0, 0x40(r28) +/* 800BBA60 000B89C0 90 1C 00 48 */ stw r0, 0x48(r28) +/* 800BBA64 000B89C4 90 1C 00 4C */ stw r0, 0x4c(r28) +/* 800BBA68 000B89C8 90 1C 00 50 */ stw r0, 0x50(r28) +/* 800BBA6C 000B89CC 90 1C 00 58 */ stw r0, 0x58(r28) +/* 800BBA70 000B89D0 90 1C 00 5C */ stw r0, 0x5c(r28) +/* 800BBA74 000B89D4 90 1C 00 60 */ stw r0, 0x60(r28) +/* 800BBA78 000B89D8 90 1C 00 68 */ stw r0, 0x68(r28) +/* 800BBA7C 000B89DC 90 1C 00 6C */ stw r0, 0x6c(r28) +/* 800BBA80 000B89E0 90 1C 00 70 */ stw r0, 0x70(r28) +/* 800BBA84 000B89E4 90 1C 00 78 */ stw r0, 0x78(r28) +/* 800BBA88 000B89E8 90 1C 00 7C */ stw r0, 0x7c(r28) +/* 800BBA8C 000B89EC 90 1C 00 80 */ stw r0, 0x80(r28) +/* 800BBA90 000B89F0 90 1C 00 88 */ stw r0, 0x88(r28) +/* 800BBA94 000B89F4 90 1C 00 8C */ stw r0, 0x8c(r28) +/* 800BBA98 000B89F8 90 1C 00 90 */ stw r0, 0x90(r28) +/* 800BBA9C 000B89FC 90 1C 00 98 */ stw r0, 0x98(r28) +/* 800BBAA0 000B8A00 90 1C 00 9C */ stw r0, 0x9c(r28) +/* 800BBAA4 000B8A04 90 1C 00 A0 */ stw r0, 0xa0(r28) +/* 800BBAA8 000B8A08 90 1C 00 A8 */ stw r0, 0xa8(r28) +/* 800BBAAC 000B8A0C 90 1C 00 AC */ stw r0, 0xac(r28) +/* 800BBAB0 000B8A10 90 1C 00 B0 */ stw r0, 0xb0(r28) +/* 800BBAB4 000B8A14 48 28 28 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBAB8 000B8A18 80 61 01 9C */ lwz r3, 0x19c(r1) +/* 800BBABC 000B8A1C 48 1C F9 8D */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBAC0 000B8A20 90 7C 00 04 */ stw r3, 4(r28) +/* 800BBAC4 000B8A24 7F A4 EB 78 */ mr r4, r29 +/* 800BBAC8 000B8A28 38 61 01 8C */ addi r3, r1, 0x18c +/* 800BBACC 000B8A2C 38 A1 00 54 */ addi r5, r1, 0x54 +/* 800BBAD0 000B8A30 48 28 28 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBAD4 000B8A34 80 61 01 8C */ lwz r3, 0x18c(r1) +/* 800BBAD8 000B8A38 48 1C F9 71 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBADC 000B8A3C 90 7C 00 08 */ stw r3, 8(r28) +/* 800BBAE0 000B8A40 7F A4 EB 78 */ mr r4, r29 +/* 800BBAE4 000B8A44 38 61 01 7C */ addi r3, r1, 0x17c +/* 800BBAE8 000B8A48 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800BBAEC 000B8A4C 48 28 28 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBAF0 000B8A50 80 61 01 7C */ lwz r3, 0x17c(r1) +/* 800BBAF4 000B8A54 48 1C F9 55 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBAF8 000B8A58 90 7C 00 0C */ stw r3, 0xc(r28) +/* 800BBAFC 000B8A5C 7F A4 EB 78 */ mr r4, r29 +/* 800BBB00 000B8A60 38 61 01 6C */ addi r3, r1, 0x16c +/* 800BBB04 000B8A64 38 A1 00 4C */ addi r5, r1, 0x4c +/* 800BBB08 000B8A68 48 28 27 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBB0C 000B8A6C 80 61 01 6C */ lwz r3, 0x16c(r1) +/* 800BBB10 000B8A70 48 1C F9 39 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBB14 000B8A74 90 7C 00 10 */ stw r3, 0x10(r28) +/* 800BBB18 000B8A78 7F A4 EB 78 */ mr r4, r29 +/* 800BBB1C 000B8A7C 38 61 01 5C */ addi r3, r1, 0x15c +/* 800BBB20 000B8A80 38 A1 00 48 */ addi r5, r1, 0x48 +/* 800BBB24 000B8A84 48 28 27 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBB28 000B8A88 80 61 01 5C */ lwz r3, 0x15c(r1) +/* 800BBB2C 000B8A8C 48 1C F9 1D */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBB30 000B8A90 90 7C 00 14 */ stw r3, 0x14(r28) +/* 800BBB34 000B8A94 7F A4 EB 78 */ mr r4, r29 +/* 800BBB38 000B8A98 38 61 01 4C */ addi r3, r1, 0x14c +/* 800BBB3C 000B8A9C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800BBB40 000B8AA0 48 28 27 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBB44 000B8AA4 80 61 01 4C */ lwz r3, 0x14c(r1) +/* 800BBB48 000B8AA8 48 1C F9 01 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBB4C 000B8AAC 90 7C 00 18 */ stw r3, 0x18(r28) +/* 800BBB50 000B8AB0 7F A4 EB 78 */ mr r4, r29 +/* 800BBB54 000B8AB4 38 61 01 3C */ addi r3, r1, 0x13c +/* 800BBB58 000B8AB8 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800BBB5C 000B8ABC 48 28 27 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBB60 000B8AC0 80 61 01 3C */ lwz r3, 0x13c(r1) +/* 800BBB64 000B8AC4 48 1C F8 E5 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBB68 000B8AC8 90 7C 00 1C */ stw r3, 0x1c(r28) +/* 800BBB6C 000B8ACC 7F A4 EB 78 */ mr r4, r29 +/* 800BBB70 000B8AD0 38 61 01 2C */ addi r3, r1, 0x12c +/* 800BBB74 000B8AD4 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800BBB78 000B8AD8 48 28 27 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBB7C 000B8ADC 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 800BBB80 000B8AE0 48 1C F8 C9 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBB84 000B8AE4 90 7C 00 20 */ stw r3, 0x20(r28) +/* 800BBB88 000B8AE8 7F A4 EB 78 */ mr r4, r29 +/* 800BBB8C 000B8AEC 38 61 01 1C */ addi r3, r1, 0x11c +/* 800BBB90 000B8AF0 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800BBB94 000B8AF4 48 28 27 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBB98 000B8AF8 80 61 01 1C */ lwz r3, 0x11c(r1) +/* 800BBB9C 000B8AFC 48 1C F8 AD */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBBA0 000B8B00 90 7C 00 24 */ stw r3, 0x24(r28) +/* 800BBBA4 000B8B04 7F A4 EB 78 */ mr r4, r29 +/* 800BBBA8 000B8B08 38 61 01 0C */ addi r3, r1, 0x10c +/* 800BBBAC 000B8B0C 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800BBBB0 000B8B10 48 28 27 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBBB4 000B8B14 80 61 01 0C */ lwz r3, 0x10c(r1) +/* 800BBBB8 000B8B18 48 1C F8 91 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBBBC 000B8B1C 90 7C 00 28 */ stw r3, 0x28(r28) +/* 800BBBC0 000B8B20 7F A4 EB 78 */ mr r4, r29 +/* 800BBBC4 000B8B24 38 61 00 FC */ addi r3, r1, 0xfc +/* 800BBBC8 000B8B28 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800BBBCC 000B8B2C 48 28 27 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBBD0 000B8B30 80 61 00 FC */ lwz r3, 0xfc(r1) +/* 800BBBD4 000B8B34 48 1C F8 75 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBBD8 000B8B38 90 7C 00 2C */ stw r3, 0x2c(r28) +/* 800BBBDC 000B8B3C 7F A4 EB 78 */ mr r4, r29 +/* 800BBBE0 000B8B40 38 61 00 EC */ addi r3, r1, 0xec +/* 800BBBE4 000B8B44 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800BBBE8 000B8B48 48 28 27 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBBEC 000B8B4C 80 61 00 EC */ lwz r3, 0xec(r1) +/* 800BBBF0 000B8B50 48 1C F8 59 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBBF4 000B8B54 3C 80 80 3D */ lis r4, lbl_803CDEC0@ha +/* 800BBBF8 000B8B58 90 7C 00 30 */ stw r3, 0x30(r28) +/* 800BBBFC 000B8B5C 38 E4 DE C0 */ addi r7, r4, lbl_803CDEC0@l +/* 800BBC00 000B8B60 38 DC 00 34 */ addi r6, r28, 0x34 +/* 800BBC04 000B8B64 81 67 00 00 */ lwz r11, 0(r7) +/* 800BBC08 000B8B68 38 BC 00 44 */ addi r5, r28, 0x44 +/* 800BBC0C 000B8B6C 81 47 00 04 */ lwz r10, 4(r7) +/* 800BBC10 000B8B70 38 9C 00 54 */ addi r4, r28, 0x54 +/* 800BBC14 000B8B74 81 27 00 08 */ lwz r9, 8(r7) +/* 800BBC18 000B8B78 38 7C 00 64 */ addi r3, r28, 0x64 +/* 800BBC1C 000B8B7C 81 07 00 0C */ lwz r8, 0xc(r7) +/* 800BBC20 000B8B80 38 1C 00 74 */ addi r0, r28, 0x74 +/* 800BBC24 000B8B84 80 E7 00 10 */ lwz r7, 0x10(r7) +/* 800BBC28 000B8B88 3B E1 01 AC */ addi r31, r1, 0x1ac +/* 800BBC2C 000B8B8C 91 61 01 AC */ stw r11, 0x1ac(r1) +/* 800BBC30 000B8B90 3B C0 00 00 */ li r30, 0 +/* 800BBC34 000B8B94 91 41 01 B0 */ stw r10, 0x1b0(r1) +/* 800BBC38 000B8B98 91 21 01 B4 */ stw r9, 0x1b4(r1) +/* 800BBC3C 000B8B9C 91 01 01 B8 */ stw r8, 0x1b8(r1) +/* 800BBC40 000B8BA0 90 E1 01 BC */ stw r7, 0x1bc(r1) +/* 800BBC44 000B8BA4 90 C1 01 AC */ stw r6, 0x1ac(r1) +/* 800BBC48 000B8BA8 90 A1 01 B0 */ stw r5, 0x1b0(r1) +/* 800BBC4C 000B8BAC 90 81 01 B4 */ stw r4, 0x1b4(r1) +/* 800BBC50 000B8BB0 90 61 01 B8 */ stw r3, 0x1b8(r1) +/* 800BBC54 000B8BB4 90 01 01 BC */ stw r0, 0x1bc(r1) +lbl_800BBC58: +/* 800BBC58 000B8BB8 83 3F 00 00 */ lwz r25, 0(r31) +/* 800BBC5C 000B8BBC 80 99 00 04 */ lwz r4, 4(r25) +/* 800BBC60 000B8BC0 7F 23 CB 78 */ mr r3, r25 +/* 800BBC64 000B8BC4 38 84 00 02 */ addi r4, r4, 2 +/* 800BBC68 000B8BC8 4B FA 7E BD */ bl "reserve__Q24rstl37vectorFi" +/* 800BBC6C 000B8BCC 3B 40 00 00 */ li r26, 0 +lbl_800BBC70: +/* 800BBC70 000B8BD0 7F A4 EB 78 */ mr r4, r29 +/* 800BBC74 000B8BD4 38 61 00 DC */ addi r3, r1, 0xdc +/* 800BBC78 000B8BD8 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800BBC7C 000B8BDC 48 28 26 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBC80 000B8BE0 80 61 00 DC */ lwz r3, 0xdc(r1) +/* 800BBC84 000B8BE4 48 1C F7 C5 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBC88 000B8BE8 80 19 00 04 */ lwz r0, 4(r25) +/* 800BBC8C 000B8BEC 7C 7B 1B 78 */ mr r27, r3 +/* 800BBC90 000B8BF0 80 B9 00 08 */ lwz r5, 8(r25) +/* 800BBC94 000B8BF4 7C 00 28 00 */ cmpw r0, r5 +/* 800BBC98 000B8BF8 41 80 00 1C */ blt lbl_800BBCB4 +/* 800BBC9C 000B8BFC 2C 05 00 00 */ cmpwi r5, 0 +/* 800BBCA0 000B8C00 7F 23 CB 78 */ mr r3, r25 +/* 800BBCA4 000B8C04 38 80 00 04 */ li r4, 4 +/* 800BBCA8 000B8C08 41 82 00 08 */ beq lbl_800BBCB0 +/* 800BBCAC 000B8C0C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800BBCB0: +/* 800BBCB0 000B8C10 4B FA 7E 75 */ bl "reserve__Q24rstl37vectorFi" +lbl_800BBCB4: +/* 800BBCB4 000B8C14 80 19 00 04 */ lwz r0, 4(r25) +/* 800BBCB8 000B8C18 80 79 00 0C */ lwz r3, 0xc(r25) +/* 800BBCBC 000B8C1C 54 00 10 3A */ slwi r0, r0, 2 +/* 800BBCC0 000B8C20 7C 63 02 15 */ add. r3, r3, r0 +/* 800BBCC4 000B8C24 41 82 00 08 */ beq lbl_800BBCCC +/* 800BBCC8 000B8C28 93 63 00 00 */ stw r27, 0(r3) +lbl_800BBCCC: +/* 800BBCCC 000B8C2C 80 99 00 04 */ lwz r4, 4(r25) +/* 800BBCD0 000B8C30 38 61 00 DC */ addi r3, r1, 0xdc +/* 800BBCD4 000B8C34 38 04 00 01 */ addi r0, r4, 1 +/* 800BBCD8 000B8C38 90 19 00 04 */ stw r0, 4(r25) +/* 800BBCDC 000B8C3C 48 28 1E 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBCE0 000B8C40 3B 5A 00 01 */ addi r26, r26, 1 +/* 800BBCE4 000B8C44 2C 1A 00 02 */ cmpwi r26, 2 +/* 800BBCE8 000B8C48 41 80 FF 88 */ blt lbl_800BBC70 +/* 800BBCEC 000B8C4C 3B DE 00 01 */ addi r30, r30, 1 +/* 800BBCF0 000B8C50 3B FF 00 04 */ addi r31, r31, 4 +/* 800BBCF4 000B8C54 2C 1E 00 05 */ cmpwi r30, 5 +/* 800BBCF8 000B8C58 41 80 FF 60 */ blt lbl_800BBC58 +/* 800BBCFC 000B8C5C 3B 20 00 00 */ li r25, 0 +lbl_800BBD00: +/* 800BBD00 000B8C60 80 9C 00 88 */ lwz r4, 0x88(r28) +/* 800BBD04 000B8C64 38 7C 00 84 */ addi r3, r28, 0x84 +/* 800BBD08 000B8C68 38 84 00 01 */ addi r4, r4, 1 +/* 800BBD0C 000B8C6C 4B FA 7E 19 */ bl "reserve__Q24rstl37vectorFi" +/* 800BBD10 000B8C70 7F A4 EB 78 */ mr r4, r29 +/* 800BBD14 000B8C74 38 61 00 CC */ addi r3, r1, 0xcc +/* 800BBD18 000B8C78 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800BBD1C 000B8C7C 48 28 25 DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBD20 000B8C80 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 800BBD24 000B8C84 48 1C F7 25 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBD28 000B8C88 80 1C 00 88 */ lwz r0, 0x88(r28) +/* 800BBD2C 000B8C8C 7C 7E 1B 78 */ mr r30, r3 +/* 800BBD30 000B8C90 80 BC 00 8C */ lwz r5, 0x8c(r28) +/* 800BBD34 000B8C94 7C 00 28 00 */ cmpw r0, r5 +/* 800BBD38 000B8C98 41 80 00 1C */ blt lbl_800BBD54 +/* 800BBD3C 000B8C9C 2C 05 00 00 */ cmpwi r5, 0 +/* 800BBD40 000B8CA0 38 7C 00 84 */ addi r3, r28, 0x84 +/* 800BBD44 000B8CA4 38 80 00 04 */ li r4, 4 +/* 800BBD48 000B8CA8 41 82 00 08 */ beq lbl_800BBD50 +/* 800BBD4C 000B8CAC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800BBD50: +/* 800BBD50 000B8CB0 4B FA 7D D5 */ bl "reserve__Q24rstl37vectorFi" +lbl_800BBD54: +/* 800BBD54 000B8CB4 80 1C 00 88 */ lwz r0, 0x88(r28) +/* 800BBD58 000B8CB8 80 7C 00 90 */ lwz r3, 0x90(r28) +/* 800BBD5C 000B8CBC 54 00 10 3A */ slwi r0, r0, 2 +/* 800BBD60 000B8CC0 7C 63 02 15 */ add. r3, r3, r0 +/* 800BBD64 000B8CC4 41 82 00 08 */ beq lbl_800BBD6C +/* 800BBD68 000B8CC8 93 C3 00 00 */ stw r30, 0(r3) +lbl_800BBD6C: +/* 800BBD6C 000B8CCC 80 9C 00 88 */ lwz r4, 0x88(r28) +/* 800BBD70 000B8CD0 38 61 00 CC */ addi r3, r1, 0xcc +/* 800BBD74 000B8CD4 38 04 00 01 */ addi r0, r4, 1 +/* 800BBD78 000B8CD8 90 1C 00 88 */ stw r0, 0x88(r28) +/* 800BBD7C 000B8CDC 48 28 1D 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBD80 000B8CE0 3B 39 00 01 */ addi r25, r25, 1 +/* 800BBD84 000B8CE4 2C 19 00 05 */ cmpwi r25, 5 +/* 800BBD88 000B8CE8 41 80 FF 78 */ blt lbl_800BBD00 +/* 800BBD8C 000B8CEC 3B 20 00 00 */ li r25, 0 +lbl_800BBD90: +/* 800BBD90 000B8CF0 80 9C 00 98 */ lwz r4, 0x98(r28) +/* 800BBD94 000B8CF4 38 7C 00 94 */ addi r3, r28, 0x94 +/* 800BBD98 000B8CF8 38 84 00 01 */ addi r4, r4, 1 +/* 800BBD9C 000B8CFC 4B FA 7D 89 */ bl "reserve__Q24rstl37vectorFi" +/* 800BBDA0 000B8D00 7F A4 EB 78 */ mr r4, r29 +/* 800BBDA4 000B8D04 38 61 00 BC */ addi r3, r1, 0xbc +/* 800BBDA8 000B8D08 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800BBDAC 000B8D0C 48 28 25 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBDB0 000B8D10 80 61 00 BC */ lwz r3, 0xbc(r1) +/* 800BBDB4 000B8D14 48 1C F6 95 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBDB8 000B8D18 80 1C 00 98 */ lwz r0, 0x98(r28) +/* 800BBDBC 000B8D1C 7C 7E 1B 78 */ mr r30, r3 +/* 800BBDC0 000B8D20 80 BC 00 9C */ lwz r5, 0x9c(r28) +/* 800BBDC4 000B8D24 7C 00 28 00 */ cmpw r0, r5 +/* 800BBDC8 000B8D28 41 80 00 1C */ blt lbl_800BBDE4 +/* 800BBDCC 000B8D2C 2C 05 00 00 */ cmpwi r5, 0 +/* 800BBDD0 000B8D30 38 7C 00 94 */ addi r3, r28, 0x94 +/* 800BBDD4 000B8D34 38 80 00 04 */ li r4, 4 +/* 800BBDD8 000B8D38 41 82 00 08 */ beq lbl_800BBDE0 +/* 800BBDDC 000B8D3C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800BBDE0: +/* 800BBDE0 000B8D40 4B FA 7D 45 */ bl "reserve__Q24rstl37vectorFi" +lbl_800BBDE4: +/* 800BBDE4 000B8D44 80 1C 00 98 */ lwz r0, 0x98(r28) +/* 800BBDE8 000B8D48 80 7C 00 A0 */ lwz r3, 0xa0(r28) +/* 800BBDEC 000B8D4C 54 00 10 3A */ slwi r0, r0, 2 +/* 800BBDF0 000B8D50 7C 63 02 15 */ add. r3, r3, r0 +/* 800BBDF4 000B8D54 41 82 00 08 */ beq lbl_800BBDFC +/* 800BBDF8 000B8D58 93 C3 00 00 */ stw r30, 0(r3) +lbl_800BBDFC: +/* 800BBDFC 000B8D5C 80 9C 00 98 */ lwz r4, 0x98(r28) +/* 800BBE00 000B8D60 38 61 00 BC */ addi r3, r1, 0xbc +/* 800BBE04 000B8D64 38 04 00 01 */ addi r0, r4, 1 +/* 800BBE08 000B8D68 90 1C 00 98 */ stw r0, 0x98(r28) +/* 800BBE0C 000B8D6C 48 28 1C D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBE10 000B8D70 3B 39 00 01 */ addi r25, r25, 1 +/* 800BBE14 000B8D74 2C 19 00 05 */ cmpwi r25, 5 +/* 800BBE18 000B8D78 41 80 FF 78 */ blt lbl_800BBD90 +/* 800BBE1C 000B8D7C 3B 20 00 00 */ li r25, 0 +lbl_800BBE20: +/* 800BBE20 000B8D80 80 9C 00 A8 */ lwz r4, 0xa8(r28) +/* 800BBE24 000B8D84 38 7C 00 A4 */ addi r3, r28, 0xa4 +/* 800BBE28 000B8D88 38 84 00 01 */ addi r4, r4, 1 +/* 800BBE2C 000B8D8C 4B FA 7C F9 */ bl "reserve__Q24rstl37vectorFi" +/* 800BBE30 000B8D90 7F A4 EB 78 */ mr r4, r29 +/* 800BBE34 000B8D94 38 61 00 AC */ addi r3, r1, 0xac +/* 800BBE38 000B8D98 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800BBE3C 000B8D9C 48 28 24 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBE40 000B8DA0 80 61 00 AC */ lwz r3, 0xac(r1) +/* 800BBE44 000B8DA4 48 1C F6 05 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBE48 000B8DA8 80 1C 00 A8 */ lwz r0, 0xa8(r28) +/* 800BBE4C 000B8DAC 7C 7E 1B 78 */ mr r30, r3 +/* 800BBE50 000B8DB0 80 BC 00 AC */ lwz r5, 0xac(r28) +/* 800BBE54 000B8DB4 7C 00 28 00 */ cmpw r0, r5 +/* 800BBE58 000B8DB8 41 80 00 1C */ blt lbl_800BBE74 +/* 800BBE5C 000B8DBC 2C 05 00 00 */ cmpwi r5, 0 +/* 800BBE60 000B8DC0 38 7C 00 A4 */ addi r3, r28, 0xa4 +/* 800BBE64 000B8DC4 38 80 00 04 */ li r4, 4 +/* 800BBE68 000B8DC8 41 82 00 08 */ beq lbl_800BBE70 +/* 800BBE6C 000B8DCC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800BBE70: +/* 800BBE70 000B8DD0 4B FA 7C B5 */ bl "reserve__Q24rstl37vectorFi" +lbl_800BBE74: +/* 800BBE74 000B8DD4 80 1C 00 A8 */ lwz r0, 0xa8(r28) +/* 800BBE78 000B8DD8 80 7C 00 B0 */ lwz r3, 0xb0(r28) +/* 800BBE7C 000B8DDC 54 00 10 3A */ slwi r0, r0, 2 +/* 800BBE80 000B8DE0 7C 63 02 15 */ add. r3, r3, r0 +/* 800BBE84 000B8DE4 41 82 00 08 */ beq lbl_800BBE8C +/* 800BBE88 000B8DE8 93 C3 00 00 */ stw r30, 0(r3) +lbl_800BBE8C: +/* 800BBE8C 000B8DEC 80 9C 00 A8 */ lwz r4, 0xa8(r28) +/* 800BBE90 000B8DF0 38 61 00 AC */ addi r3, r1, 0xac +/* 800BBE94 000B8DF4 38 04 00 01 */ addi r0, r4, 1 +/* 800BBE98 000B8DF8 90 1C 00 A8 */ stw r0, 0xa8(r28) +/* 800BBE9C 000B8DFC 48 28 1C 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBEA0 000B8E00 3B 39 00 01 */ addi r25, r25, 1 +/* 800BBEA4 000B8E04 2C 19 00 05 */ cmpwi r25, 5 +/* 800BBEA8 000B8E08 41 80 FF 78 */ blt lbl_800BBE20 +/* 800BBEAC 000B8E0C 7F A4 EB 78 */ mr r4, r29 +/* 800BBEB0 000B8E10 38 61 00 5C */ addi r3, r1, 0x5c +/* 800BBEB4 000B8E14 38 A1 00 08 */ addi r5, r1, 8 +/* 800BBEB8 000B8E18 48 28 24 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBEBC 000B8E1C 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 800BBEC0 000B8E20 48 1C F5 89 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBEC4 000B8E24 90 7C 00 B4 */ stw r3, 0xb4(r28) +/* 800BBEC8 000B8E28 7F A4 EB 78 */ mr r4, r29 +/* 800BBECC 000B8E2C 38 61 00 6C */ addi r3, r1, 0x6c +/* 800BBED0 000B8E30 38 A1 00 0C */ addi r5, r1, 0xc +/* 800BBED4 000B8E34 48 28 24 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBED8 000B8E38 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 800BBEDC 000B8E3C 48 1C F5 6D */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBEE0 000B8E40 90 7C 00 B8 */ stw r3, 0xb8(r28) +/* 800BBEE4 000B8E44 7F A4 EB 78 */ mr r4, r29 +/* 800BBEE8 000B8E48 38 61 00 7C */ addi r3, r1, 0x7c +/* 800BBEEC 000B8E4C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800BBEF0 000B8E50 48 28 24 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBEF4 000B8E54 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 800BBEF8 000B8E58 48 1C F5 51 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBEFC 000B8E5C 90 7C 00 BC */ stw r3, 0xbc(r28) +/* 800BBF00 000B8E60 7F A4 EB 78 */ mr r4, r29 +/* 800BBF04 000B8E64 38 61 00 8C */ addi r3, r1, 0x8c +/* 800BBF08 000B8E68 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800BBF0C 000B8E6C 48 28 23 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBF10 000B8E70 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 800BBF14 000B8E74 48 1C F5 35 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBF18 000B8E78 90 7C 00 C0 */ stw r3, 0xc0(r28) +/* 800BBF1C 000B8E7C 7F A4 EB 78 */ mr r4, r29 +/* 800BBF20 000B8E80 38 61 00 9C */ addi r3, r1, 0x9c +/* 800BBF24 000B8E84 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800BBF28 000B8E88 48 28 23 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800BBF2C 000B8E8C 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 800BBF30 000B8E90 48 1C F5 19 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 800BBF34 000B8E94 90 7C 00 C4 */ stw r3, 0xc4(r28) +/* 800BBF38 000B8E98 38 61 00 9C */ addi r3, r1, 0x9c +/* 800BBF3C 000B8E9C 48 28 1B A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF40 000B8EA0 38 61 00 8C */ addi r3, r1, 0x8c +/* 800BBF44 000B8EA4 48 28 1B 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF48 000B8EA8 38 61 00 7C */ addi r3, r1, 0x7c +/* 800BBF4C 000B8EAC 48 28 1B 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF50 000B8EB0 38 61 00 6C */ addi r3, r1, 0x6c +/* 800BBF54 000B8EB4 48 28 1B 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF58 000B8EB8 38 61 00 5C */ addi r3, r1, 0x5c +/* 800BBF5C 000B8EBC 48 28 1B 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF60 000B8EC0 38 61 00 EC */ addi r3, r1, 0xec +/* 800BBF64 000B8EC4 48 28 1B 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF68 000B8EC8 38 61 00 FC */ addi r3, r1, 0xfc +/* 800BBF6C 000B8ECC 48 28 1B 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF70 000B8ED0 38 61 01 0C */ addi r3, r1, 0x10c +/* 800BBF74 000B8ED4 48 28 1B 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF78 000B8ED8 38 61 01 1C */ addi r3, r1, 0x11c +/* 800BBF7C 000B8EDC 48 28 1B 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF80 000B8EE0 38 61 01 2C */ addi r3, r1, 0x12c +/* 800BBF84 000B8EE4 48 28 1B 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF88 000B8EE8 38 61 01 3C */ addi r3, r1, 0x13c +/* 800BBF8C 000B8EEC 48 28 1B 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF90 000B8EF0 38 61 01 4C */ addi r3, r1, 0x14c +/* 800BBF94 000B8EF4 48 28 1B 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBF98 000B8EF8 38 61 01 5C */ addi r3, r1, 0x15c +/* 800BBF9C 000B8EFC 48 28 1B 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBFA0 000B8F00 38 61 01 6C */ addi r3, r1, 0x16c +/* 800BBFA4 000B8F04 48 28 1B 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBFA8 000B8F08 38 61 01 7C */ addi r3, r1, 0x17c +/* 800BBFAC 000B8F0C 48 28 1B 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBFB0 000B8F10 38 61 01 8C */ addi r3, r1, 0x18c +/* 800BBFB4 000B8F14 48 28 1B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBFB8 000B8F18 38 61 01 9C */ addi r3, r1, 0x19c +/* 800BBFBC 000B8F1C 48 28 1B 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800BBFC0 000B8F20 7F 83 E3 78 */ mr r3, r28 +/* 800BBFC4 000B8F24 BB 21 01 C4 */ lmw r25, 0x1c4(r1) +/* 800BBFC8 000B8F28 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 800BBFCC 000B8F2C 7C 08 03 A6 */ mtlr r0 +/* 800BBFD0 000B8F30 38 21 01 E0 */ addi r1, r1, 0x1e0 +/* 800BBFD4 000B8F34 4E 80 00 20 */ blr + +.global __dt__12CTweakGunResFv +__dt__12CTweakGunResFv: +/* 800BBFD8 000B8F38 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800BBFDC 000B8F3C 7C 08 02 A6 */ mflr r0 +/* 800BBFE0 000B8F40 90 01 00 94 */ stw r0, 0x94(r1) +/* 800BBFE4 000B8F44 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 800BBFE8 000B8F48 7C 9F 23 78 */ mr r31, r4 +/* 800BBFEC 000B8F4C 93 C1 00 88 */ stw r30, 0x88(r1) +/* 800BBFF0 000B8F50 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800BBFF4 000B8F54 41 82 02 74 */ beq lbl_800BC268 +/* 800BBFF8 000B8F58 3C 60 80 3E */ lis r3, lbl_803DF4E8@ha +/* 800BBFFC 000B8F5C 34 1E 00 A4 */ addic. r0, r30, 0xa4 +/* 800BC000 000B8F60 38 03 F4 E8 */ addi r0, r3, lbl_803DF4E8@l +/* 800BC004 000B8F64 90 1E 00 00 */ stw r0, 0(r30) +/* 800BC008 000B8F68 41 82 00 44 */ beq lbl_800BC04C +/* 800BC00C 000B8F6C 80 1E 00 A8 */ lwz r0, 0xa8(r30) +/* 800BC010 000B8F70 80 7E 00 B0 */ lwz r3, 0xb0(r30) +/* 800BC014 000B8F74 54 00 10 3A */ slwi r0, r0, 2 +/* 800BC018 000B8F78 7C 03 02 14 */ add r0, r3, r0 +/* 800BC01C 000B8F7C 90 61 00 7C */ stw r3, 0x7c(r1) +/* 800BC020 000B8F80 7C 64 1B 78 */ mr r4, r3 +/* 800BC024 000B8F84 90 01 00 84 */ stw r0, 0x84(r1) +/* 800BC028 000B8F88 90 01 00 80 */ stw r0, 0x80(r1) +/* 800BC02C 000B8F8C 90 61 00 78 */ stw r3, 0x78(r1) +/* 800BC030 000B8F90 48 00 00 08 */ b lbl_800BC038 +lbl_800BC034: +/* 800BC034 000B8F94 38 84 00 04 */ addi r4, r4, 4 +lbl_800BC038: +/* 800BC038 000B8F98 7C 04 00 40 */ cmplw r4, r0 +/* 800BC03C 000B8F9C 40 82 FF F8 */ bne lbl_800BC034 +/* 800BC040 000B8FA0 28 03 00 00 */ cmplwi r3, 0 +/* 800BC044 000B8FA4 41 82 00 08 */ beq lbl_800BC04C +/* 800BC048 000B8FA8 48 25 98 E9 */ bl Free__7CMemoryFPCv +lbl_800BC04C: +/* 800BC04C 000B8FAC 34 1E 00 94 */ addic. r0, r30, 0x94 +/* 800BC050 000B8FB0 41 82 00 44 */ beq lbl_800BC094 +/* 800BC054 000B8FB4 80 1E 00 98 */ lwz r0, 0x98(r30) +/* 800BC058 000B8FB8 80 7E 00 A0 */ lwz r3, 0xa0(r30) +/* 800BC05C 000B8FBC 54 00 10 3A */ slwi r0, r0, 2 +/* 800BC060 000B8FC0 7C 03 02 14 */ add r0, r3, r0 +/* 800BC064 000B8FC4 90 61 00 6C */ stw r3, 0x6c(r1) +/* 800BC068 000B8FC8 7C 64 1B 78 */ mr r4, r3 +/* 800BC06C 000B8FCC 90 01 00 74 */ stw r0, 0x74(r1) +/* 800BC070 000B8FD0 90 01 00 70 */ stw r0, 0x70(r1) +/* 800BC074 000B8FD4 90 61 00 68 */ stw r3, 0x68(r1) +/* 800BC078 000B8FD8 48 00 00 08 */ b lbl_800BC080 +lbl_800BC07C: +/* 800BC07C 000B8FDC 38 84 00 04 */ addi r4, r4, 4 +lbl_800BC080: +/* 800BC080 000B8FE0 7C 04 00 40 */ cmplw r4, r0 +/* 800BC084 000B8FE4 40 82 FF F8 */ bne lbl_800BC07C +/* 800BC088 000B8FE8 28 03 00 00 */ cmplwi r3, 0 +/* 800BC08C 000B8FEC 41 82 00 08 */ beq lbl_800BC094 +/* 800BC090 000B8FF0 48 25 98 A1 */ bl Free__7CMemoryFPCv +lbl_800BC094: +/* 800BC094 000B8FF4 34 1E 00 84 */ addic. r0, r30, 0x84 +/* 800BC098 000B8FF8 41 82 00 44 */ beq lbl_800BC0DC +/* 800BC09C 000B8FFC 80 1E 00 88 */ lwz r0, 0x88(r30) +/* 800BC0A0 000B9000 80 7E 00 90 */ lwz r3, 0x90(r30) +/* 800BC0A4 000B9004 54 00 10 3A */ slwi r0, r0, 2 +/* 800BC0A8 000B9008 7C 03 02 14 */ add r0, r3, r0 +/* 800BC0AC 000B900C 90 61 00 5C */ stw r3, 0x5c(r1) +/* 800BC0B0 000B9010 7C 64 1B 78 */ mr r4, r3 +/* 800BC0B4 000B9014 90 01 00 64 */ stw r0, 0x64(r1) +/* 800BC0B8 000B9018 90 01 00 60 */ stw r0, 0x60(r1) +/* 800BC0BC 000B901C 90 61 00 58 */ stw r3, 0x58(r1) +/* 800BC0C0 000B9020 48 00 00 08 */ b lbl_800BC0C8 +lbl_800BC0C4: +/* 800BC0C4 000B9024 38 84 00 04 */ addi r4, r4, 4 +lbl_800BC0C8: +/* 800BC0C8 000B9028 7C 04 00 40 */ cmplw r4, r0 +/* 800BC0CC 000B902C 40 82 FF F8 */ bne lbl_800BC0C4 +/* 800BC0D0 000B9030 28 03 00 00 */ cmplwi r3, 0 +/* 800BC0D4 000B9034 41 82 00 08 */ beq lbl_800BC0DC +/* 800BC0D8 000B9038 48 25 98 59 */ bl Free__7CMemoryFPCv +lbl_800BC0DC: +/* 800BC0DC 000B903C 34 1E 00 74 */ addic. r0, r30, 0x74 +/* 800BC0E0 000B9040 41 82 00 44 */ beq lbl_800BC124 +/* 800BC0E4 000B9044 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 800BC0E8 000B9048 80 7E 00 80 */ lwz r3, 0x80(r30) +/* 800BC0EC 000B904C 54 00 10 3A */ slwi r0, r0, 2 +/* 800BC0F0 000B9050 7C 03 02 14 */ add r0, r3, r0 +/* 800BC0F4 000B9054 90 61 00 4C */ stw r3, 0x4c(r1) +/* 800BC0F8 000B9058 7C 64 1B 78 */ mr r4, r3 +/* 800BC0FC 000B905C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800BC100 000B9060 90 01 00 50 */ stw r0, 0x50(r1) +/* 800BC104 000B9064 90 61 00 48 */ stw r3, 0x48(r1) +/* 800BC108 000B9068 48 00 00 08 */ b lbl_800BC110 +lbl_800BC10C: +/* 800BC10C 000B906C 38 84 00 04 */ addi r4, r4, 4 +lbl_800BC110: +/* 800BC110 000B9070 7C 04 00 40 */ cmplw r4, r0 +/* 800BC114 000B9074 40 82 FF F8 */ bne lbl_800BC10C +/* 800BC118 000B9078 28 03 00 00 */ cmplwi r3, 0 +/* 800BC11C 000B907C 41 82 00 08 */ beq lbl_800BC124 +/* 800BC120 000B9080 48 25 98 11 */ bl Free__7CMemoryFPCv +lbl_800BC124: +/* 800BC124 000B9084 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 800BC128 000B9088 41 82 00 44 */ beq lbl_800BC16C +/* 800BC12C 000B908C 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 800BC130 000B9090 80 7E 00 70 */ lwz r3, 0x70(r30) +/* 800BC134 000B9094 54 00 10 3A */ slwi r0, r0, 2 +/* 800BC138 000B9098 7C 03 02 14 */ add r0, r3, r0 +/* 800BC13C 000B909C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 800BC140 000B90A0 7C 64 1B 78 */ mr r4, r3 +/* 800BC144 000B90A4 90 01 00 44 */ stw r0, 0x44(r1) +/* 800BC148 000B90A8 90 01 00 40 */ stw r0, 0x40(r1) +/* 800BC14C 000B90AC 90 61 00 38 */ stw r3, 0x38(r1) +/* 800BC150 000B90B0 48 00 00 08 */ b lbl_800BC158 +lbl_800BC154: +/* 800BC154 000B90B4 38 84 00 04 */ addi r4, r4, 4 +lbl_800BC158: +/* 800BC158 000B90B8 7C 04 00 40 */ cmplw r4, r0 +/* 800BC15C 000B90BC 40 82 FF F8 */ bne lbl_800BC154 +/* 800BC160 000B90C0 28 03 00 00 */ cmplwi r3, 0 +/* 800BC164 000B90C4 41 82 00 08 */ beq lbl_800BC16C +/* 800BC168 000B90C8 48 25 97 C9 */ bl Free__7CMemoryFPCv +lbl_800BC16C: +/* 800BC16C 000B90CC 34 1E 00 54 */ addic. r0, r30, 0x54 +/* 800BC170 000B90D0 41 82 00 44 */ beq lbl_800BC1B4 +/* 800BC174 000B90D4 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 800BC178 000B90D8 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 800BC17C 000B90DC 54 00 10 3A */ slwi r0, r0, 2 +/* 800BC180 000B90E0 7C 03 02 14 */ add r0, r3, r0 +/* 800BC184 000B90E4 90 61 00 2C */ stw r3, 0x2c(r1) +/* 800BC188 000B90E8 7C 64 1B 78 */ mr r4, r3 +/* 800BC18C 000B90EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800BC190 000B90F0 90 01 00 30 */ stw r0, 0x30(r1) +/* 800BC194 000B90F4 90 61 00 28 */ stw r3, 0x28(r1) +/* 800BC198 000B90F8 48 00 00 08 */ b lbl_800BC1A0 +lbl_800BC19C: +/* 800BC19C 000B90FC 38 84 00 04 */ addi r4, r4, 4 +lbl_800BC1A0: +/* 800BC1A0 000B9100 7C 04 00 40 */ cmplw r4, r0 +/* 800BC1A4 000B9104 40 82 FF F8 */ bne lbl_800BC19C +/* 800BC1A8 000B9108 28 03 00 00 */ cmplwi r3, 0 +/* 800BC1AC 000B910C 41 82 00 08 */ beq lbl_800BC1B4 +/* 800BC1B0 000B9110 48 25 97 81 */ bl Free__7CMemoryFPCv +lbl_800BC1B4: +/* 800BC1B4 000B9114 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 800BC1B8 000B9118 41 82 00 44 */ beq lbl_800BC1FC +/* 800BC1BC 000B911C 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 800BC1C0 000B9120 80 7E 00 50 */ lwz r3, 0x50(r30) +/* 800BC1C4 000B9124 54 00 10 3A */ slwi r0, r0, 2 +/* 800BC1C8 000B9128 7C 03 02 14 */ add r0, r3, r0 +/* 800BC1CC 000B912C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800BC1D0 000B9130 7C 64 1B 78 */ mr r4, r3 +/* 800BC1D4 000B9134 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BC1D8 000B9138 90 01 00 20 */ stw r0, 0x20(r1) +/* 800BC1DC 000B913C 90 61 00 18 */ stw r3, 0x18(r1) +/* 800BC1E0 000B9140 48 00 00 08 */ b lbl_800BC1E8 +lbl_800BC1E4: +/* 800BC1E4 000B9144 38 84 00 04 */ addi r4, r4, 4 +lbl_800BC1E8: +/* 800BC1E8 000B9148 7C 04 00 40 */ cmplw r4, r0 +/* 800BC1EC 000B914C 40 82 FF F8 */ bne lbl_800BC1E4 +/* 800BC1F0 000B9150 28 03 00 00 */ cmplwi r3, 0 +/* 800BC1F4 000B9154 41 82 00 08 */ beq lbl_800BC1FC +/* 800BC1F8 000B9158 48 25 97 39 */ bl Free__7CMemoryFPCv +lbl_800BC1FC: +/* 800BC1FC 000B915C 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 800BC200 000B9160 41 82 00 44 */ beq lbl_800BC244 +/* 800BC204 000B9164 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 800BC208 000B9168 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 800BC20C 000B916C 54 00 10 3A */ slwi r0, r0, 2 +/* 800BC210 000B9170 7C 03 02 14 */ add r0, r3, r0 +/* 800BC214 000B9174 90 61 00 0C */ stw r3, 0xc(r1) +/* 800BC218 000B9178 7C 64 1B 78 */ mr r4, r3 +/* 800BC21C 000B917C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BC220 000B9180 90 01 00 10 */ stw r0, 0x10(r1) +/* 800BC224 000B9184 90 61 00 08 */ stw r3, 8(r1) +/* 800BC228 000B9188 48 00 00 08 */ b lbl_800BC230 +lbl_800BC22C: +/* 800BC22C 000B918C 38 84 00 04 */ addi r4, r4, 4 +lbl_800BC230: +/* 800BC230 000B9190 7C 04 00 40 */ cmplw r4, r0 +/* 800BC234 000B9194 40 82 FF F8 */ bne lbl_800BC22C +/* 800BC238 000B9198 28 03 00 00 */ cmplwi r3, 0 +/* 800BC23C 000B919C 41 82 00 08 */ beq lbl_800BC244 +/* 800BC240 000B91A0 48 25 96 F1 */ bl Free__7CMemoryFPCv +lbl_800BC244: +/* 800BC244 000B91A4 28 1E 00 00 */ cmplwi r30, 0 +/* 800BC248 000B91A8 41 82 00 10 */ beq lbl_800BC258 +/* 800BC24C 000B91AC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 800BC250 000B91B0 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 800BC254 000B91B4 90 1E 00 00 */ stw r0, 0(r30) +lbl_800BC258: +/* 800BC258 000B91B8 7F E0 07 35 */ extsh. r0, r31 +/* 800BC25C 000B91BC 40 81 00 0C */ ble lbl_800BC268 +/* 800BC260 000B91C0 7F C3 F3 78 */ mr r3, r30 +/* 800BC264 000B91C4 48 00 00 21 */ bl "__dl__26TOneStatic<12CTweakGunRes>FPv" +lbl_800BC268: +/* 800BC268 000B91C8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800BC26C 000B91CC 7F C3 F3 78 */ mr r3, r30 +/* 800BC270 000B91D0 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 800BC274 000B91D4 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 800BC278 000B91D8 7C 08 03 A6 */ mtlr r0 +/* 800BC27C 000B91DC 38 21 00 90 */ addi r1, r1, 0x90 +/* 800BC280 000B91E0 4E 80 00 20 */ blr + +.global "__dl__26TOneStatic<12CTweakGunRes>FPv" +"__dl__26TOneStatic<12CTweakGunRes>FPv": +/* 800BC284 000B91E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BC288 000B91E8 7C 08 02 A6 */ mflr r0 +/* 800BC28C 000B91EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BC290 000B91F0 4B F7 AB F5 */ bl "ReferenceCount__26TOneStatic<12CTweakGunRes>Fv" +/* 800BC294 000B91F4 80 83 00 00 */ lwz r4, 0(r3) +/* 800BC298 000B91F8 38 04 FF FF */ addi r0, r4, -1 +/* 800BC29C 000B91FC 90 03 00 00 */ stw r0, 0(r3) +/* 800BC2A0 000B9200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BC2A4 000B9204 7C 08 03 A6 */ mtlr r0 +/* 800BC2A8 000B9208 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BC2AC 000B920C 4E 80 00 20 */ blr + +.global ResetInterpolationTimer__17COrbitPointMarkerFf +ResetInterpolationTimer__17COrbitPointMarkerFf: +/* 800BC2B0 000B9210 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 800BC2B4 000B9214 4E 80 00 20 */ blr + +.global Draw__17COrbitPointMarkerCFRC13CStateManager +Draw__17COrbitPointMarkerCFRC13CStateManager: +/* 800BC2B8 000B9218 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 800BC2BC 000B921C 7C 08 02 A6 */ mflr r0 +/* 800BC2C0 000B9220 90 01 01 94 */ stw r0, 0x194(r1) +/* 800BC2C4 000B9224 DB E1 01 80 */ stfd f31, 0x180(r1) +/* 800BC2C8 000B9228 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 800BC2CC 000B922C DB C1 01 70 */ stfd f30, 0x170(r1) +/* 800BC2D0 000B9230 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 +/* 800BC2D4 000B9234 93 E1 01 6C */ stw r31, 0x16c(r1) +/* 800BC2D8 000B9238 93 C1 01 68 */ stw r30, 0x168(r1) +/* 800BC2DC 000B923C 93 A1 01 64 */ stw r29, 0x164(r1) +/* 800BC2E0 000B9240 7C 7F 1B 78 */ mr r31, r3 +/* 800BC2E4 000B9244 7C 9D 23 78 */ mr r29, r4 +/* 800BC2E8 000B9248 88 03 00 1C */ lbz r0, 0x1c(r3) +/* 800BC2EC 000B924C 28 00 00 00 */ cmplwi r0, 0 +/* 800BC2F0 000B9250 40 82 00 14 */ bne lbl_800BC304 +/* 800BC2F4 000B9254 C0 3F 00 20 */ lfs f1, 0x20(r31) +/* 800BC2F8 000B9258 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BC2FC 000B925C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BC300 000B9260 40 81 02 9C */ ble lbl_800BC59C +lbl_800BC304: +/* 800BC304 000B9264 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BC308 000B9268 88 03 01 C8 */ lbz r0, 0x1c8(r3) +/* 800BC30C 000B926C 28 00 00 00 */ cmplwi r0, 0 +/* 800BC310 000B9270 41 82 02 8C */ beq lbl_800BC59C +/* 800BC314 000B9274 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 800BC318 000B9278 28 00 00 00 */ cmplwi r0, 0 +/* 800BC31C 000B927C 40 82 00 30 */ bne lbl_800BC34C +/* 800BC320 000B9280 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 800BC324 000B9284 28 00 00 00 */ cmplwi r0, 0 +/* 800BC328 000B9288 41 82 00 24 */ beq lbl_800BC34C +/* 800BC32C 000B928C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 800BC330 000B9290 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BC334 000B9294 28 00 00 00 */ cmplwi r0, 0 +/* 800BC338 000B9298 41 82 00 14 */ beq lbl_800BC34C +/* 800BC33C 000B929C 38 7F 00 28 */ addi r3, r31, 0x28 +/* 800BC340 000B92A0 48 28 4A CD */ bl GetObj__6CTokenFv +/* 800BC344 000B92A4 80 03 00 04 */ lwz r0, 4(r3) +/* 800BC348 000B92A8 90 1F 00 30 */ stw r0, 0x30(r31) +lbl_800BC34C: +/* 800BC34C 000B92AC 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 800BC350 000B92B0 28 00 00 00 */ cmplwi r0, 0 +/* 800BC354 000B92B4 41 82 02 48 */ beq lbl_800BC59C +/* 800BC358 000B92B8 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 800BC35C 000B92BC 7F A4 EB 78 */ mr r4, r29 +/* 800BC360 000B92C0 4B F4 F7 B9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800BC364 000B92C4 80 9D 08 70 */ lwz r4, 0x870(r29) +/* 800BC368 000B92C8 7C 7E 1B 78 */ mr r30, r3 +/* 800BC36C 000B92CC 7F A5 EB 78 */ mr r5, r29 +/* 800BC370 000B92D0 38 61 00 50 */ addi r3, r1, 0x50 +/* 800BC374 000B92D4 4B F4 E5 F5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 800BC378 000B92D8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800BC37C 000B92DC 38 81 00 50 */ addi r4, r1, 0x50 +/* 800BC380 000B92E0 48 25 67 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800BC384 000B92E4 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800BC388 000B92E8 48 25 03 C5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800BC38C 000B92EC C0 22 8D 34 */ lfs f1, lbl_805AAA54@sda21(r2) +/* 800BC390 000B92F0 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 800BC394 000B92F4 C0 1E 01 5C */ lfs f0, 0x15c(r30) +/* 800BC398 000B92F8 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800BC39C 000B92FC C0 5E 01 68 */ lfs f2, 0x168(r30) +/* 800BC3A0 000B9300 38 A0 00 00 */ li r5, 0 +/* 800BC3A4 000B9304 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800BC3A8 000B9308 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) +/* 800BC3AC 000B930C C0 82 8D 3C */ lfs f4, lbl_805AAA5C@sda21(r2) +/* 800BC3B0 000B9310 48 28 8E A5 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf +/* 800BC3B4 000B9314 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BC3B8 000B9318 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 800BC3BC 000B931C 81 83 00 00 */ lwz r12, 0(r3) +/* 800BC3C0 000B9320 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 800BC3C4 000B9324 7D 89 03 A6 */ mtctr r12 +/* 800BC3C8 000B9328 4E 80 04 21 */ bctrl +/* 800BC3CC 000B932C 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 800BC3D0 000B9330 3C 80 43 30 */ lis r4, 0x4330 +/* 800BC3D4 000B9334 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 800BC3D8 000B9338 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BC3DC 000B933C 80 A6 00 08 */ lwz r5, 8(r6) +/* 800BC3E0 000B9340 80 06 00 0C */ lwz r0, 0xc(r6) +/* 800BC3E4 000B9344 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 800BC3E8 000B9348 81 83 00 00 */ lwz r12, 0(r3) +/* 800BC3EC 000B934C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800BC3F0 000B9350 90 A1 01 4C */ stw r5, 0x14c(r1) +/* 800BC3F4 000B9354 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) +/* 800BC3F8 000B9358 90 81 01 48 */ stw r4, 0x148(r1) +/* 800BC3FC 000B935C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800BC400 000B9360 C8 01 01 48 */ lfd f0, 0x148(r1) +/* 800BC404 000B9364 90 01 01 54 */ stw r0, 0x154(r1) +/* 800BC408 000B9368 EC 40 18 28 */ fsubs f2, f0, f3 +/* 800BC40C 000B936C C0 3E 01 5C */ lfs f1, 0x15c(r30) +/* 800BC410 000B9370 90 81 01 50 */ stw r4, 0x150(r1) +/* 800BC414 000B9374 C0 9E 01 60 */ lfs f4, 0x160(r30) +/* 800BC418 000B9378 C8 01 01 50 */ lfd f0, 0x150(r1) +/* 800BC41C 000B937C C0 BE 01 64 */ lfs f5, 0x164(r30) +/* 800BC420 000B9380 EC 60 18 28 */ fsubs f3, f0, f3 +/* 800BC424 000B9384 7D 89 03 A6 */ mtctr r12 +/* 800BC428 000B9388 4E 80 04 21 */ bctrl +/* 800BC42C 000B938C 80 A1 00 E0 */ lwz r5, 0xe0(r1) +/* 800BC430 000B9390 38 60 00 00 */ li r3, 0 +/* 800BC434 000B9394 2C 05 00 00 */ cmpwi r5, 0 +/* 800BC438 000B9398 40 81 00 40 */ ble lbl_800BC478 +/* 800BC43C 000B939C 2C 05 00 08 */ cmpwi r5, 8 +/* 800BC440 000B93A0 38 85 FF F8 */ addi r4, r5, -8 +/* 800BC444 000B93A4 40 81 00 20 */ ble lbl_800BC464 +/* 800BC448 000B93A8 38 04 00 07 */ addi r0, r4, 7 +/* 800BC44C 000B93AC 54 00 E8 FE */ srwi r0, r0, 3 +/* 800BC450 000B93B0 7C 09 03 A6 */ mtctr r0 +/* 800BC454 000B93B4 2C 04 00 00 */ cmpwi r4, 0 +/* 800BC458 000B93B8 40 81 00 0C */ ble lbl_800BC464 +lbl_800BC45C: +/* 800BC45C 000B93BC 38 63 00 08 */ addi r3, r3, 8 +/* 800BC460 000B93C0 42 00 FF FC */ bdnz lbl_800BC45C +lbl_800BC464: +/* 800BC464 000B93C4 7C 03 28 50 */ subf r0, r3, r5 +/* 800BC468 000B93C8 7C 09 03 A6 */ mtctr r0 +/* 800BC46C 000B93CC 7C 03 28 00 */ cmpw r3, r5 +/* 800BC470 000B93D0 40 80 00 08 */ bge lbl_800BC478 +lbl_800BC474: +/* 800BC474 000B93D4 42 00 00 00 */ bdnz lbl_800BC474 +lbl_800BC478: +/* 800BC478 000B93D8 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 800BC47C 000B93DC 38 60 00 00 */ li r3, 0 +/* 800BC480 000B93E0 90 61 00 E0 */ stw r3, 0xe0(r1) +/* 800BC484 000B93E4 28 00 00 00 */ cmplwi r0, 0 +/* 800BC488 000B93E8 41 82 00 20 */ beq lbl_800BC4A8 +/* 800BC48C 000B93EC 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BC490 000B93F0 C0 3F 00 20 */ lfs f1, 0x20(r31) +/* 800BC494 000B93F4 C0 03 00 54 */ lfs f0, 0x54(r3) +/* 800BC498 000B93F8 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) +/* 800BC49C 000B93FC EC 01 00 24 */ fdivs f0, f1, f0 +/* 800BC4A0 000B9400 EF C2 00 28 */ fsubs f30, f2, f0 +/* 800BC4A4 000B9404 48 00 00 14 */ b lbl_800BC4B8 +lbl_800BC4A8: +/* 800BC4A8 000B9408 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BC4AC 000B940C C0 3F 00 20 */ lfs f1, 0x20(r31) +/* 800BC4B0 000B9410 C0 03 00 58 */ lfs f0, 0x58(r3) +/* 800BC4B4 000B9414 EF C1 00 24 */ fdivs f30, f1, f0 +lbl_800BC4B8: +/* 800BC4B8 000B9418 C0 1F 00 08 */ lfs f0, 8(r31) +/* 800BC4BC 000B941C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800BC4C0 000B9420 83 CD A1 40 */ lwz r30, gpTweakTargeting@sda21(r13) +/* 800BC4C4 000B9424 38 81 00 0C */ addi r4, r1, 0xc +/* 800BC4C8 000B9428 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800BC4CC 000B942C 48 25 73 45 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 800BC4D0 000B9430 38 61 00 80 */ addi r3, r1, 0x80 +/* 800BC4D4 000B9434 38 81 00 20 */ addi r4, r1, 0x20 +/* 800BC4D8 000B9438 48 25 66 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800BC4DC 000B943C FC 20 F0 90 */ fmr f1, f30 +/* 800BC4E0 000B9440 38 61 00 80 */ addi r3, r1, 0x80 +/* 800BC4E4 000B9444 48 25 69 DD */ bl ScaleBy__12CTransform4fFf +/* 800BC4E8 000B9448 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 800BC4EC 000B944C 38 81 00 80 */ addi r4, r1, 0x80 +/* 800BC4F0 000B9450 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 800BC4F4 000B9454 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 800BC4F8 000B9458 C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 800BC4FC 000B945C EC 81 00 2A */ fadds f4, f1, f0 +/* 800BC500 000B9460 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 800BC504 000B9464 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 800BC508 000B9468 EC 43 10 2A */ fadds f2, f3, f2 +/* 800BC50C 000B946C D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 800BC510 000B9470 EC 01 00 2A */ fadds f0, f1, f0 +/* 800BC514 000B9474 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BC518 000B9478 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 800BC51C 000B947C D0 01 00 AC */ stfs f0, 0xac(r1) +/* 800BC520 000B9480 81 83 00 00 */ lwz r12, 0(r3) +/* 800BC524 000B9484 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BC528 000B9488 7D 89 03 A6 */ mtctr r12 +/* 800BC52C 000B948C 4E 80 04 21 */ bctrl +/* 800BC530 000B9490 88 7E 01 BF */ lbz r3, 0x1bf(r30) +/* 800BC534 000B9494 3C 00 43 30 */ lis r0, 0x4330 +/* 800BC538 000B9498 90 01 01 50 */ stw r0, 0x150(r1) +/* 800BC53C 000B949C C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BC540 000B94A0 90 61 01 54 */ stw r3, 0x154(r1) +/* 800BC544 000B94A4 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 800BC548 000B94A8 C8 01 01 50 */ lfd f0, 0x150(r1) +/* 800BC54C 000B94AC EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BC550 000B94B0 EF FE 00 32 */ fmuls f31, f30, f0 +/* 800BC554 000B94B4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800BC558 000B94B8 38 80 00 03 */ li r4, 3 +/* 800BC55C 000B94BC 80 FE 01 BC */ lwz r7, 0x1bc(r30) +/* 800BC560 000B94C0 38 C0 00 07 */ li r6, 7 +/* 800BC564 000B94C4 38 A0 00 00 */ li r5, 0 +/* 800BC568 000B94C8 89 01 00 08 */ lbz r8, 8(r1) +/* 800BC56C 000B94CC 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 +/* 800BC570 000B94D0 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d +/* 800BC574 000B94D4 B0 81 00 12 */ sth r4, 0x12(r1) +/* 800BC578 000B94D8 38 81 00 18 */ addi r4, r1, 0x18 +/* 800BC57C 000B94DC 98 C1 00 10 */ stb r6, 0x10(r1) +/* 800BC580 000B94E0 98 A1 00 11 */ stb r5, 0x11(r1) +/* 800BC584 000B94E4 91 01 00 14 */ stw r8, 0x14(r1) +/* 800BC588 000B94E8 98 C1 00 18 */ stb r6, 0x18(r1) +/* 800BC58C 000B94EC 98 A1 00 19 */ stb r5, 0x19(r1) +/* 800BC590 000B94F0 B0 01 00 1A */ sth r0, 0x1a(r1) +/* 800BC594 000B94F4 91 01 00 1C */ stw r8, 0x1c(r1) +/* 800BC598 000B94F8 48 29 96 3D */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BC59C: +/* 800BC59C 000B94FC E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 800BC5A0 000B9500 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 800BC5A4 000B9504 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 +/* 800BC5A8 000B9508 CB C1 01 70 */ lfd f30, 0x170(r1) +/* 800BC5AC 000B950C 83 E1 01 6C */ lwz r31, 0x16c(r1) +/* 800BC5B0 000B9510 83 C1 01 68 */ lwz r30, 0x168(r1) +/* 800BC5B4 000B9514 80 01 01 94 */ lwz r0, 0x194(r1) +/* 800BC5B8 000B9518 83 A1 01 64 */ lwz r29, 0x164(r1) +/* 800BC5BC 000B951C 7C 08 03 A6 */ mtlr r0 +/* 800BC5C0 000B9520 38 21 01 90 */ addi r1, r1, 0x190 +/* 800BC5C4 000B9524 4E 80 00 20 */ blr + +.global Update__17COrbitPointMarkerFfRC13CStateManager +Update__17COrbitPointMarkerFfRC13CStateManager: +/* 800BC5C8 000B9528 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 800BC5CC 000B952C 7C 08 02 A6 */ mflr r0 +/* 800BC5D0 000B9530 90 01 01 14 */ stw r0, 0x114(r1) +/* 800BC5D4 000B9534 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 800BC5D8 000B9538 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 800BC5DC 000B953C DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 800BC5E0 000B9540 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 800BC5E4 000B9544 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 800BC5E8 000B9548 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 800BC5EC 000B954C BF 61 00 CC */ stmw r27, 0xcc(r1) +/* 800BC5F0 000B9550 7C 7C 1B 78 */ mr r28, r3 +/* 800BC5F4 000B9554 FF E0 08 90 */ fmr f31, f1 +/* 800BC5F8 000B9558 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 800BC5FC 000B955C 7C 9D 23 78 */ mr r29, r4 +/* 800BC600 000B9560 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800BC604 000B9564 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 800BC608 000B9568 83 C4 08 4C */ lwz r30, 0x84c(r4) +/* 800BC60C 000B956C 80 64 08 70 */ lwz r3, 0x870(r4) +/* 800BC610 000B9570 83 7E 03 04 */ lwz r27, 0x304(r30) +/* 800BC614 000B9574 4B F4 F5 05 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800BC618 000B9578 38 9B FF FE */ addi r4, r27, -2 +/* 800BC61C 000B957C 38 A0 00 01 */ li r5, 1 +/* 800BC620 000B9580 20 04 00 01 */ subfic r0, r4, 1 +/* 800BC624 000B9584 7C 7F 1B 78 */ mr r31, r3 +/* 800BC628 000B9588 7C A3 23 38 */ orc r3, r5, r4 +/* 800BC62C 000B958C 54 00 F8 7E */ srwi r0, r0, 1 +/* 800BC630 000B9590 7C 00 18 50 */ subf r0, r0, r3 +/* 800BC634 000B9594 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 800BC638 000B9598 40 82 00 08 */ bne lbl_800BC640 +/* 800BC63C 000B959C 38 A0 00 00 */ li r5, 0 +lbl_800BC640: +/* 800BC640 000B95A0 88 7C 00 1C */ lbz r3, 0x1c(r28) +/* 800BC644 000B95A4 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 800BC648 000B95A8 7C 03 00 40 */ cmplw r3, r0 +/* 800BC64C 000B95AC 41 82 01 24 */ beq lbl_800BC770 +/* 800BC650 000B95B0 2C 1B 00 02 */ cmpwi r27, 2 +/* 800BC654 000B95B4 41 82 00 0C */ beq lbl_800BC660 +/* 800BC658 000B95B8 2C 1B 00 03 */ cmpwi r27, 3 +/* 800BC65C 000B95BC 40 82 00 F4 */ bne lbl_800BC750 +lbl_800BC660: +/* 800BC660 000B95C0 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) +/* 800BC664 000B95C4 7F 83 E3 78 */ mr r3, r28 +/* 800BC668 000B95C8 C0 24 00 54 */ lfs f1, 0x54(r4) +/* 800BC66C 000B95CC 4B FF FC 45 */ bl ResetInterpolationTimer__17COrbitPointMarkerFf +/* 800BC670 000B95D0 88 1C 00 04 */ lbz r0, 4(r28) +/* 800BC674 000B95D4 28 00 00 00 */ cmplwi r0, 0 +/* 800BC678 000B95D8 40 82 00 44 */ bne lbl_800BC6BC +/* 800BC67C 000B95DC C3 DC 00 00 */ lfs f30, 0(r28) +/* 800BC680 000B95E0 7F C4 F3 78 */ mr r4, r30 +/* 800BC684 000B95E4 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800BC688 000B95E8 48 0B ED 9D */ bl GetHUDOrbitTargetPosition__7CPlayerCFv +/* 800BC68C 000B95EC C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 800BC690 000B95F0 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 800BC694 000B95F4 C0 41 00 B0 */ lfs f2, 0xb0(r1) +/* 800BC698 000B95F8 C0 62 8D 30 */ lfs f3, lbl_805AAA50@sda21(r2) +/* 800BC69C 000B95FC EC 00 F0 2A */ fadds f0, f0, f30 +/* 800BC6A0 000B9600 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 800BC6A4 000B9604 EC 42 18 2A */ fadds f2, f2, f3 +/* 800BC6A8 000B9608 EC 21 18 2A */ fadds f1, f1, f3 +/* 800BC6AC 000B960C D0 01 00 AC */ stfs f0, 0xac(r1) +/* 800BC6B0 000B9610 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 800BC6B4 000B9614 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 800BC6B8 000B9618 48 00 00 54 */ b lbl_800BC70C +lbl_800BC6BC: +/* 800BC6BC 000B961C C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 800BC6C0 000B9620 7F C4 F3 78 */ mr r4, r30 +/* 800BC6C4 000B9624 C0 1C 00 00 */ lfs f0, 0(r28) +/* 800BC6C8 000B9628 38 61 00 8C */ addi r3, r1, 0x8c +/* 800BC6CC 000B962C C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 800BC6D0 000B9630 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 800BC6D4 000B9634 EF C0 18 2A */ fadds f30, f0, f3 +/* 800BC6D8 000B9638 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 800BC6DC 000B963C D0 21 00 98 */ stfs f1, 0x98(r1) +/* 800BC6E0 000B9640 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 800BC6E4 000B9644 48 0B ED 41 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv +/* 800BC6E8 000B9648 C3 A1 00 90 */ lfs f29, 0x90(r1) +/* 800BC6EC 000B964C 7F C4 F3 78 */ mr r4, r30 +/* 800BC6F0 000B9650 38 61 00 80 */ addi r3, r1, 0x80 +/* 800BC6F4 000B9654 48 0B ED 31 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv +/* 800BC6F8 000B9658 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800BC6FC 000B965C 38 A1 00 74 */ addi r5, r1, 0x74 +/* 800BC700 000B9660 D3 A1 00 78 */ stfs f29, 0x78(r1) +/* 800BC704 000B9664 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800BC708 000B9668 D3 C1 00 7C */ stfs f30, 0x7c(r1) +lbl_800BC70C: +/* 800BC70C 000B966C C0 05 00 00 */ lfs f0, 0(r5) +/* 800BC710 000B9670 38 61 00 58 */ addi r3, r1, 0x58 +/* 800BC714 000B9674 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800BC718 000B9678 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 800BC71C 000B967C C0 05 00 04 */ lfs f0, 4(r5) +/* 800BC720 000B9680 D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 800BC724 000B9684 C0 05 00 08 */ lfs f0, 8(r5) +/* 800BC728 000B9688 D0 1C 00 18 */ stfs f0, 0x18(r28) +/* 800BC72C 000B968C 48 25 59 FD */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 800BC730 000B9690 38 61 00 68 */ addi r3, r1, 0x68 +/* 800BC734 000B9694 38 81 00 58 */ addi r4, r1, 0x58 +/* 800BC738 000B9698 4B F5 EE 8D */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion +/* 800BC73C 000B969C C0 22 8D 50 */ lfs f1, lbl_805AAA70@sda21(r2) +/* 800BC740 000B96A0 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800BC744 000B96A4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800BC748 000B96A8 D0 1C 00 08 */ stfs f0, 8(r28) +/* 800BC74C 000B96AC 48 00 00 14 */ b lbl_800BC760 +lbl_800BC750: +/* 800BC750 000B96B0 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) +/* 800BC754 000B96B4 7F 83 E3 78 */ mr r3, r28 +/* 800BC758 000B96B8 C0 24 00 58 */ lfs f1, 0x58(r4) +/* 800BC75C 000B96BC 4B FF FB 55 */ bl ResetInterpolationTimer__17COrbitPointMarkerFf +lbl_800BC760: +/* 800BC760 000B96C0 88 1C 00 1C */ lbz r0, 0x1c(r28) +/* 800BC764 000B96C4 7C 00 00 34 */ cntlzw r0, r0 +/* 800BC768 000B96C8 54 00 D9 7E */ srwi r0, r0, 5 +/* 800BC76C 000B96CC 98 1C 00 1C */ stb r0, 0x1c(r28) +lbl_800BC770: +/* 800BC770 000B96D0 C0 3C 00 20 */ lfs f1, 0x20(r28) +/* 800BC774 000B96D4 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BC778 000B96D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BC77C 000B96DC 40 81 00 2C */ ble lbl_800BC7A8 +/* 800BC780 000B96E0 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800BC784 000B96E4 C0 0D 86 B4 */ lfs f0, lbl_805A7274@sda21(r13) +/* 800BC788 000B96E8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800BC78C 000B96EC D0 21 00 08 */ stfs f1, 8(r1) +/* 800BC790 000B96F0 40 80 00 0C */ bge lbl_800BC79C +/* 800BC794 000B96F4 38 61 00 08 */ addi r3, r1, 8 +/* 800BC798 000B96F8 48 00 00 08 */ b lbl_800BC7A0 +lbl_800BC79C: +/* 800BC79C 000B96FC 38 6D 86 B4 */ addi r3, r13, lbl_805A7274@sda21 +lbl_800BC7A0: +/* 800BC7A0 000B9700 C0 03 00 00 */ lfs f0, 0(r3) +/* 800BC7A4 000B9704 D0 1C 00 20 */ stfs f0, 0x20(r28) +lbl_800BC7A8: +/* 800BC7A8 000B9708 88 1C 00 04 */ lbz r0, 4(r28) +/* 800BC7AC 000B970C 28 00 00 00 */ cmplwi r0, 0 +/* 800BC7B0 000B9710 40 82 00 88 */ bne lbl_800BC838 +/* 800BC7B4 000B9714 7F C4 F3 78 */ mr r4, r30 +/* 800BC7B8 000B9718 38 61 00 4C */ addi r3, r1, 0x4c +/* 800BC7BC 000B971C 48 0B EC 69 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv +/* 800BC7C0 000B9720 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800BC7C4 000B9724 C0 3C 00 00 */ lfs f1, 0(r28) +/* 800BC7C8 000B9728 C0 BC 00 18 */ lfs f5, 0x18(r28) +/* 800BC7CC 000B972C EC 41 00 2A */ fadds f2, f1, f0 +/* 800BC7D0 000B9730 C0 22 8D 54 */ lfs f1, lbl_805AAA74@sda21(r2) +/* 800BC7D4 000B9734 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 800BC7D8 000B9738 C0 81 00 50 */ lfs f4, 0x50(r1) +/* 800BC7DC 000B973C EC C2 28 28 */ fsubs f6, f2, f5 +/* 800BC7E0 000B9740 FC 06 08 40 */ fcmpo cr0, f6, f1 +/* 800BC7E4 000B9744 40 80 00 20 */ bge lbl_800BC804 +/* 800BC7E8 000B9748 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BC7EC 000B974C EC 23 00 2A */ fadds f1, f3, f0 +/* 800BC7F0 000B9750 EC 04 00 2A */ fadds f0, f4, f0 +/* 800BC7F4 000B9754 D0 3C 00 10 */ stfs f1, 0x10(r28) +/* 800BC7F8 000B9758 D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 800BC7FC 000B975C D0 5C 00 18 */ stfs f2, 0x18(r28) +/* 800BC800 000B9760 48 00 00 7C */ b lbl_800BC87C +lbl_800BC804: +/* 800BC804 000B9764 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BC808 000B9768 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 800BC80C 000B976C 40 80 00 18 */ bge lbl_800BC824 +/* 800BC810 000B9770 D0 7C 00 10 */ stfs f3, 0x10(r28) +/* 800BC814 000B9774 EC 05 08 28 */ fsubs f0, f5, f1 +/* 800BC818 000B9778 D0 9C 00 14 */ stfs f4, 0x14(r28) +/* 800BC81C 000B977C D0 1C 00 18 */ stfs f0, 0x18(r28) +/* 800BC820 000B9780 48 00 00 5C */ b lbl_800BC87C +lbl_800BC824: +/* 800BC824 000B9784 D0 7C 00 10 */ stfs f3, 0x10(r28) +/* 800BC828 000B9788 EC 01 28 2A */ fadds f0, f1, f5 +/* 800BC82C 000B978C D0 9C 00 14 */ stfs f4, 0x14(r28) +/* 800BC830 000B9790 D0 1C 00 18 */ stfs f0, 0x18(r28) +/* 800BC834 000B9794 48 00 00 48 */ b lbl_800BC87C +lbl_800BC838: +/* 800BC838 000B9798 7F C4 F3 78 */ mr r4, r30 +/* 800BC83C 000B979C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800BC840 000B97A0 48 0B EB E5 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv +/* 800BC844 000B97A4 C0 3C 00 00 */ lfs f1, 0(r28) +/* 800BC848 000B97A8 7F C4 F3 78 */ mr r4, r30 +/* 800BC84C 000B97AC C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800BC850 000B97B0 38 61 00 34 */ addi r3, r1, 0x34 +/* 800BC854 000B97B4 EF C1 00 2A */ fadds f30, f1, f0 +/* 800BC858 000B97B8 48 0B EB CD */ bl GetHUDOrbitTargetPosition__7CPlayerCFv +/* 800BC85C 000B97BC C3 A1 00 38 */ lfs f29, 0x38(r1) +/* 800BC860 000B97C0 7F C4 F3 78 */ mr r4, r30 +/* 800BC864 000B97C4 38 61 00 40 */ addi r3, r1, 0x40 +/* 800BC868 000B97C8 48 0B EB BD */ bl GetHUDOrbitTargetPosition__7CPlayerCFv +/* 800BC86C 000B97CC C0 01 00 40 */ lfs f0, 0x40(r1) +/* 800BC870 000B97D0 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 800BC874 000B97D4 D3 BC 00 14 */ stfs f29, 0x14(r28) +/* 800BC878 000B97D8 D3 DC 00 18 */ stfs f30, 0x18(r28) +lbl_800BC87C: +/* 800BC87C 000B97DC 88 1C 00 1C */ lbz r0, 0x1c(r28) +/* 800BC880 000B97E0 28 00 00 00 */ cmplwi r0, 0 +/* 800BC884 000B97E4 41 82 00 50 */ beq lbl_800BC8D4 +/* 800BC888 000B97E8 38 61 00 0C */ addi r3, r1, 0xc +/* 800BC88C 000B97EC 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800BC890 000B97F0 48 25 58 99 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 800BC894 000B97F4 38 61 00 1C */ addi r3, r1, 0x1c +/* 800BC898 000B97F8 38 81 00 0C */ addi r4, r1, 0xc +/* 800BC89C 000B97FC 4B F5 ED 29 */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion +/* 800BC8A0 000B9800 C0 22 8D 50 */ lfs f1, lbl_805AAA70@sda21(r2) +/* 800BC8A4 000B9804 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 800BC8A8 000B9808 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 800BC8AC 000B980C EC 21 00 2A */ fadds f1, f1, f0 +/* 800BC8B0 000B9810 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 800BC8B4 000B9814 88 03 03 DC */ lbz r0, 0x3dc(r3) +/* 800BC8B8 000B9818 28 00 00 00 */ cmplwi r0, 0 +/* 800BC8BC 000B981C EC 41 00 28 */ fsubs f2, f1, f0 +/* 800BC8C0 000B9820 41 82 00 10 */ beq lbl_800BC8D0 +/* 800BC8C4 000B9824 C0 1C 00 08 */ lfs f0, 8(r28) +/* 800BC8C8 000B9828 EC 00 10 2A */ fadds f0, f0, f2 +/* 800BC8CC 000B982C D0 1C 00 08 */ stfs f0, 8(r28) +lbl_800BC8D0: +/* 800BC8D0 000B9830 D0 3C 00 0C */ stfs f1, 0xc(r28) +lbl_800BC8D4: +/* 800BC8D4 000B9834 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 800BC8D8 000B9838 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 800BC8DC 000B983C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 800BC8E0 000B9840 CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 800BC8E4 000B9844 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 800BC8E8 000B9848 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 800BC8EC 000B984C BB 61 00 CC */ lmw r27, 0xcc(r1) +/* 800BC8F0 000B9850 80 01 01 14 */ lwz r0, 0x114(r1) +/* 800BC8F4 000B9854 7C 08 03 A6 */ mtlr r0 +/* 800BC8F8 000B9858 38 21 01 10 */ addi r1, r1, 0x110 +/* 800BC8FC 000B985C 4E 80 00 20 */ blr + +.global CheckLoadComplete__17COrbitPointMarkerFv +CheckLoadComplete__17COrbitPointMarkerFv: +/* 800BC900 000B9860 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BC904 000B9864 7C 08 02 A6 */ mflr r0 +/* 800BC908 000B9868 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BC90C 000B986C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BC910 000B9870 7C 7F 1B 78 */ mr r31, r3 +/* 800BC914 000B9874 80 03 00 30 */ lwz r0, 0x30(r3) +/* 800BC918 000B9878 28 00 00 00 */ cmplwi r0, 0 +/* 800BC91C 000B987C 41 82 00 0C */ beq lbl_800BC928 +/* 800BC920 000B9880 38 60 00 01 */ li r3, 1 +/* 800BC924 000B9884 48 00 00 3C */ b lbl_800BC960 +lbl_800BC928: +/* 800BC928 000B9888 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 800BC92C 000B988C 28 00 00 00 */ cmplwi r0, 0 +/* 800BC930 000B9890 41 82 00 2C */ beq lbl_800BC95C +/* 800BC934 000B9894 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 800BC938 000B9898 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BC93C 000B989C 28 00 00 00 */ cmplwi r0, 0 +/* 800BC940 000B98A0 41 82 00 1C */ beq lbl_800BC95C +/* 800BC944 000B98A4 38 7F 00 28 */ addi r3, r31, 0x28 +/* 800BC948 000B98A8 48 28 44 C5 */ bl GetObj__6CTokenFv +/* 800BC94C 000B98AC 80 03 00 04 */ lwz r0, 4(r3) +/* 800BC950 000B98B0 38 60 00 01 */ li r3, 1 +/* 800BC954 000B98B4 90 1F 00 30 */ stw r0, 0x30(r31) +/* 800BC958 000B98B8 48 00 00 08 */ b lbl_800BC960 +lbl_800BC95C: +/* 800BC95C 000B98BC 38 60 00 00 */ li r3, 0 +lbl_800BC960: +/* 800BC960 000B98C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BC964 000B98C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BC968 000B98C8 7C 08 03 A6 */ mtlr r0 +/* 800BC96C 000B98CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BC970 000B98D0 4E 80 00 20 */ blr + +.global __ct__17COrbitPointMarkerFv +__ct__17COrbitPointMarkerFv: +/* 800BC974 000B98D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800BC978 000B98D8 7C 08 02 A6 */ mflr r0 +/* 800BC97C 000B98DC C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800BC980 000B98E0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800BC984 000B98E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BC988 000B98E8 38 00 00 00 */ li r0, 0 +/* 800BC98C 000B98EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800BC990 000B98F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800BC994 000B98F4 7C 7E 1B 78 */ mr r30, r3 +/* 800BC998 000B98F8 3C 60 80 3D */ lis r3, lbl_803CDFF8@ha +/* 800BC99C 000B98FC 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) +/* 800BC9A0 000B9900 C0 05 00 50 */ lfs f0, 0x50(r5) +/* 800BC9A4 000B9904 38 A3 DF F8 */ addi r5, r3, lbl_803CDFF8@l +/* 800BC9A8 000B9908 38 60 00 01 */ li r3, 1 +/* 800BC9AC 000B990C D0 1E 00 00 */ stfs f0, 0(r30) +/* 800BC9B0 000B9910 98 7E 00 04 */ stb r3, 4(r30) +/* 800BC9B4 000B9914 38 61 00 08 */ addi r3, r1, 8 +/* 800BC9B8 000B9918 D0 3E 00 08 */ stfs f1, 8(r30) +/* 800BC9BC 000B991C D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 800BC9C0 000B9920 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 800BC9C4 000B9924 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 800BC9C8 000B9928 C0 04 00 04 */ lfs f0, 4(r4) +/* 800BC9CC 000B992C D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 800BC9D0 000B9930 C0 04 00 08 */ lfs f0, 8(r4) +/* 800BC9D4 000B9934 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 800BC9D8 000B9938 98 1E 00 1C */ stb r0, 0x1c(r30) +/* 800BC9DC 000B993C D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 800BC9E0 000B9940 D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 800BC9E4 000B9944 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800BC9E8 000B9948 81 84 00 00 */ lwz r12, 0(r4) +/* 800BC9EC 000B994C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800BC9F0 000B9950 7D 89 03 A6 */ mtctr r12 +/* 800BC9F4 000B9954 4E 80 04 21 */ bctrl +/* 800BC9F8 000B9958 3B FE 00 28 */ addi r31, r30, 0x28 +/* 800BC9FC 000B995C 38 81 00 08 */ addi r4, r1, 8 +/* 800BCA00 000B9960 7F E3 FB 78 */ mr r3, r31 +/* 800BCA04 000B9964 48 28 44 A5 */ bl __ct__6CTokenFRC6CToken +/* 800BCA08 000B9968 38 00 00 00 */ li r0, 0 +/* 800BCA0C 000B996C 38 61 00 08 */ addi r3, r1, 8 +/* 800BCA10 000B9970 90 1F 00 08 */ stw r0, 8(r31) +/* 800BCA14 000B9974 38 80 FF FF */ li r4, -1 +/* 800BCA18 000B9978 48 28 44 29 */ bl __dt__6CTokenFv +/* 800BCA1C 000B997C 7F E3 FB 78 */ mr r3, r31 +/* 800BCA20 000B9980 48 28 43 65 */ bl Lock__6CTokenFv +/* 800BCA24 000B9984 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800BCA28 000B9988 7F C3 F3 78 */ mr r3, r30 +/* 800BCA2C 000B998C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800BCA30 000B9990 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800BCA34 000B9994 7C 08 03 A6 */ mtlr r0 +/* 800BCA38 000B9998 38 21 00 20 */ addi r1, r1, 0x20 +/* 800BCA3C 000B999C 4E 80 00 20 */ blr + +.global Touch__17CTargetingManagerCFv +Touch__17CTargetingManagerCFv: +/* 800BCA40 000B99A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BCA44 000B99A4 7C 08 02 A6 */ mflr r0 +/* 800BCA48 000B99A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BCA4C 000B99AC 48 00 00 15 */ bl Touch__22CCompoundTargetReticleCFv +/* 800BCA50 000B99B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BCA54 000B99B4 7C 08 03 A6 */ mtlr r0 +/* 800BCA58 000B99B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BCA5C 000B99BC 4E 80 00 20 */ blr + +.global Touch__22CCompoundTargetReticleCFv +Touch__22CCompoundTargetReticleCFv: +/* 800BCA60 000B99C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BCA64 000B99C4 7C 08 02 A6 */ mflr r0 +/* 800BCA68 000B99C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BCA6C 000B99CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BCA70 000B99D0 7C 7F 1B 78 */ mr r31, r3 +/* 800BCA74 000B99D4 93 C1 00 08 */ stw r30, 8(r1) +/* 800BCA78 000B99D8 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 800BCA7C 000B99DC 28 03 00 00 */ cmplwi r3, 0 +/* 800BCA80 000B99E0 41 82 00 0C */ beq lbl_800BCA8C +/* 800BCA84 000B99E4 38 80 00 00 */ li r4, 0 +/* 800BCA88 000B99E8 48 29 8B AD */ bl Touch__6CModelCFi +lbl_800BCA8C: +/* 800BCA8C 000B99EC 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 800BCA90 000B99F0 28 03 00 00 */ cmplwi r3, 0 +/* 800BCA94 000B99F4 41 82 00 0C */ beq lbl_800BCAA0 +/* 800BCA98 000B99F8 38 80 00 00 */ li r4, 0 +/* 800BCA9C 000B99FC 48 29 8B 99 */ bl Touch__6CModelCFi +lbl_800BCAA0: +/* 800BCAA0 000B9A00 80 7F 00 54 */ lwz r3, 0x54(r31) +/* 800BCAA4 000B9A04 28 03 00 00 */ cmplwi r3, 0 +/* 800BCAA8 000B9A08 41 82 00 0C */ beq lbl_800BCAB4 +/* 800BCAAC 000B9A0C 38 80 00 00 */ li r4, 0 +/* 800BCAB0 000B9A10 48 29 8B 85 */ bl Touch__6CModelCFi +lbl_800BCAB4: +/* 800BCAB4 000B9A14 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 800BCAB8 000B9A18 28 03 00 00 */ cmplwi r3, 0 +/* 800BCABC 000B9A1C 41 82 00 0C */ beq lbl_800BCAC8 +/* 800BCAC0 000B9A20 38 80 00 00 */ li r4, 0 +/* 800BCAC4 000B9A24 48 29 8B 71 */ bl Touch__6CModelCFi +lbl_800BCAC8: +/* 800BCAC8 000B9A28 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 800BCACC 000B9A2C 28 03 00 00 */ cmplwi r3, 0 +/* 800BCAD0 000B9A30 41 82 00 0C */ beq lbl_800BCADC +/* 800BCAD4 000B9A34 38 80 00 00 */ li r4, 0 +/* 800BCAD8 000B9A38 48 29 8B 5D */ bl Touch__6CModelCFi +lbl_800BCADC: +/* 800BCADC 000B9A3C 80 7F 00 78 */ lwz r3, 0x78(r31) +/* 800BCAE0 000B9A40 28 03 00 00 */ cmplwi r3, 0 +/* 800BCAE4 000B9A44 41 82 00 0C */ beq lbl_800BCAF0 +/* 800BCAE8 000B9A48 38 80 00 00 */ li r4, 0 +/* 800BCAEC 000B9A4C 48 29 8B 49 */ bl Touch__6CModelCFi +lbl_800BCAF0: +/* 800BCAF0 000B9A50 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 800BCAF4 000B9A54 28 03 00 00 */ cmplwi r3, 0 +/* 800BCAF8 000B9A58 41 82 00 0C */ beq lbl_800BCB04 +/* 800BCAFC 000B9A5C 38 80 00 00 */ li r4, 0 +/* 800BCB00 000B9A60 48 29 8B 35 */ bl Touch__6CModelCFi +lbl_800BCB04: +/* 800BCB04 000B9A64 80 7F 00 90 */ lwz r3, 0x90(r31) +/* 800BCB08 000B9A68 28 03 00 00 */ cmplwi r3, 0 +/* 800BCB0C 000B9A6C 41 82 00 0C */ beq lbl_800BCB18 +/* 800BCB10 000B9A70 38 80 00 00 */ li r4, 0 +/* 800BCB14 000B9A74 48 29 8B 21 */ bl Touch__6CModelCFi +lbl_800BCB18: +/* 800BCB18 000B9A78 80 7F 00 9C */ lwz r3, 0x9c(r31) +/* 800BCB1C 000B9A7C 28 03 00 00 */ cmplwi r3, 0 +/* 800BCB20 000B9A80 41 82 00 0C */ beq lbl_800BCB2C +/* 800BCB24 000B9A84 38 80 00 00 */ li r4, 0 +/* 800BCB28 000B9A88 48 29 8B 0D */ bl Touch__6CModelCFi +lbl_800BCB2C: +/* 800BCB2C 000B9A8C 80 7F 00 A8 */ lwz r3, 0xa8(r31) +/* 800BCB30 000B9A90 28 03 00 00 */ cmplwi r3, 0 +/* 800BCB34 000B9A94 41 82 00 0C */ beq lbl_800BCB40 +/* 800BCB38 000B9A98 38 80 00 00 */ li r4, 0 +/* 800BCB3C 000B9A9C 48 29 8A F9 */ bl Touch__6CModelCFi +lbl_800BCB40: +/* 800BCB40 000B9AA0 80 7F 00 B4 */ lwz r3, 0xb4(r31) +/* 800BCB44 000B9AA4 28 03 00 00 */ cmplwi r3, 0 +/* 800BCB48 000B9AA8 41 82 00 0C */ beq lbl_800BCB54 +/* 800BCB4C 000B9AAC 38 80 00 00 */ li r4, 0 +/* 800BCB50 000B9AB0 48 29 8A E5 */ bl Touch__6CModelCFi +lbl_800BCB54: +/* 800BCB54 000B9AB4 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 800BCB58 000B9AB8 28 03 00 00 */ cmplwi r3, 0 +/* 800BCB5C 000B9ABC 41 82 00 0C */ beq lbl_800BCB68 +/* 800BCB60 000B9AC0 38 80 00 00 */ li r4, 0 +/* 800BCB64 000B9AC4 48 29 8A D1 */ bl Touch__6CModelCFi +lbl_800BCB68: +/* 800BCB68 000B9AC8 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 800BCB6C 000B9ACC 28 03 00 00 */ cmplwi r3, 0 +/* 800BCB70 000B9AD0 41 82 00 0C */ beq lbl_800BCB7C +/* 800BCB74 000B9AD4 38 80 00 00 */ li r4, 0 +/* 800BCB78 000B9AD8 48 29 8A BD */ bl Touch__6CModelCFi +lbl_800BCB7C: +/* 800BCB7C 000B9ADC 83 DF 00 EC */ lwz r30, 0xec(r31) +/* 800BCB80 000B9AE0 48 00 00 1C */ b lbl_800BCB9C +lbl_800BCB84: +/* 800BCB84 000B9AE4 80 7E 00 08 */ lwz r3, 8(r30) +/* 800BCB88 000B9AE8 28 03 00 00 */ cmplwi r3, 0 +/* 800BCB8C 000B9AEC 41 82 00 0C */ beq lbl_800BCB98 +/* 800BCB90 000B9AF0 38 80 00 00 */ li r4, 0 +/* 800BCB94 000B9AF4 48 29 8A A1 */ bl Touch__6CModelCFi +lbl_800BCB98: +/* 800BCB98 000B9AF8 3B DE 00 1C */ addi r30, r30, 0x1c +lbl_800BCB9C: +/* 800BCB9C 000B9AFC 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 800BCBA0 000B9B00 80 7F 00 EC */ lwz r3, 0xec(r31) +/* 800BCBA4 000B9B04 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 800BCBA8 000B9B08 7C 03 02 14 */ add r0, r3, r0 +/* 800BCBAC 000B9B0C 7C 1E 00 40 */ cmplw r30, r0 +/* 800BCBB0 000B9B10 40 82 FF D4 */ bne lbl_800BCB84 +/* 800BCBB4 000B9B14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BCBB8 000B9B18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BCBBC 000B9B1C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BCBC0 000B9B20 7C 08 03 A6 */ mtlr r0 +/* 800BCBC4 000B9B24 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BCBC8 000B9B28 4E 80 00 20 */ blr + +.global Draw__17CTargetingManagerCFRC13CStateManager +Draw__17CTargetingManagerCFRC13CStateManager: +/* 800BCBCC 000B9B2C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800BCBD0 000B9B30 7C 08 02 A6 */ mflr r0 +/* 800BCBD4 000B9B34 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800BCBD8 000B9B38 93 E1 00 EC */ stw r31, 0xec(r1) +/* 800BCBDC 000B9B3C 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 800BCBE0 000B9B40 7C BE 2B 78 */ mr r30, r5 +/* 800BCBE4 000B9B44 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 800BCBE8 000B9B48 7C 9D 23 78 */ mr r29, r4 +/* 800BCBEC 000B9B4C 93 81 00 E0 */ stw r28, 0xe0(r1) +/* 800BCBF0 000B9B50 7C 7C 1B 78 */ mr r28, r3 +/* 800BCBF4 000B9B54 48 28 D3 B9 */ bl White__6CColorFv +/* 800BCBF8 000B9B58 48 24 F4 25 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 800BCBFC 000B9B5C 48 24 FD 81 */ bl DisableAllLights__9CGraphicsFv +/* 800BCC00 000B9B60 7F A4 EB 78 */ mr r4, r29 +/* 800BCC04 000B9B64 38 7C 02 1C */ addi r3, r28, 0x21c +/* 800BCC08 000B9B68 4B FF F6 B1 */ bl Draw__17COrbitPointMarkerCFRC13CStateManager +/* 800BCC0C 000B9B6C 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 800BCC10 000B9B70 7F A4 EB 78 */ mr r4, r29 +/* 800BCC14 000B9B74 4B F4 EF 05 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800BCC18 000B9B78 80 9D 08 70 */ lwz r4, 0x870(r29) +/* 800BCC1C 000B9B7C 7C 7F 1B 78 */ mr r31, r3 +/* 800BCC20 000B9B80 7F A5 EB 78 */ mr r5, r29 +/* 800BCC24 000B9B84 38 61 00 08 */ addi r3, r1, 8 +/* 800BCC28 000B9B88 4B F4 DD 41 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 800BCC2C 000B9B8C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800BCC30 000B9B90 38 81 00 08 */ addi r4, r1, 8 +/* 800BCC34 000B9B94 48 25 5F 41 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800BCC38 000B9B98 38 61 00 38 */ addi r3, r1, 0x38 +/* 800BCC3C 000B9B9C 48 24 FB 11 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800BCC40 000B9BA0 C0 22 8D 34 */ lfs f1, lbl_805AAA54@sda21(r2) +/* 800BCC44 000B9BA4 38 61 00 68 */ addi r3, r1, 0x68 +/* 800BCC48 000B9BA8 C0 1F 01 5C */ lfs f0, 0x15c(r31) +/* 800BCC4C 000B9BAC 38 81 00 38 */ addi r4, r1, 0x38 +/* 800BCC50 000B9BB0 C0 5F 01 68 */ lfs f2, 0x168(r31) +/* 800BCC54 000B9BB4 38 A0 00 00 */ li r5, 0 +/* 800BCC58 000B9BB8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800BCC5C 000B9BBC C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) +/* 800BCC60 000B9BC0 C0 82 8D 3C */ lfs f4, lbl_805AAA5C@sda21(r2) +/* 800BCC64 000B9BC4 48 28 85 F1 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf +/* 800BCC68 000B9BC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BCC6C 000B9BCC 38 81 00 68 */ addi r4, r1, 0x68 +/* 800BCC70 000B9BD0 81 83 00 00 */ lwz r12, 0(r3) +/* 800BCC74 000B9BD4 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 800BCC78 000B9BD8 7D 89 03 A6 */ mtctr r12 +/* 800BCC7C 000B9BDC 4E 80 04 21 */ bctrl +/* 800BCC80 000B9BE0 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 800BCC84 000B9BE4 3C 80 43 30 */ lis r4, 0x4330 +/* 800BCC88 000B9BE8 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 800BCC8C 000B9BEC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BCC90 000B9BF0 80 A6 00 08 */ lwz r5, 8(r6) +/* 800BCC94 000B9BF4 80 06 00 0C */ lwz r0, 0xc(r6) +/* 800BCC98 000B9BF8 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 800BCC9C 000B9BFC 81 83 00 00 */ lwz r12, 0(r3) +/* 800BCCA0 000B9C00 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800BCCA4 000B9C04 90 A1 00 D4 */ stw r5, 0xd4(r1) +/* 800BCCA8 000B9C08 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) +/* 800BCCAC 000B9C0C 90 81 00 D0 */ stw r4, 0xd0(r1) +/* 800BCCB0 000B9C10 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800BCCB4 000B9C14 C8 01 00 D0 */ lfd f0, 0xd0(r1) +/* 800BCCB8 000B9C18 90 01 00 DC */ stw r0, 0xdc(r1) +/* 800BCCBC 000B9C1C EC 40 18 28 */ fsubs f2, f0, f3 +/* 800BCCC0 000B9C20 C0 3F 01 5C */ lfs f1, 0x15c(r31) +/* 800BCCC4 000B9C24 90 81 00 D8 */ stw r4, 0xd8(r1) +/* 800BCCC8 000B9C28 C0 9F 01 60 */ lfs f4, 0x160(r31) +/* 800BCCCC 000B9C2C C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 800BCCD0 000B9C30 C0 BF 01 64 */ lfs f5, 0x164(r31) +/* 800BCCD4 000B9C34 EC 60 18 28 */ fsubs f3, f0, f3 +/* 800BCCD8 000B9C38 7D 89 03 A6 */ mtctr r12 +/* 800BCCDC 000B9C3C 4E 80 04 21 */ bctrl +/* 800BCCE0 000B9C40 7F 83 E3 78 */ mr r3, r28 +/* 800BCCE4 000B9C44 7F A4 EB 78 */ mr r4, r29 +/* 800BCCE8 000B9C48 7F C5 F3 78 */ mr r5, r30 +/* 800BCCEC 000B9C4C 48 00 2F 69 */ bl Draw__22CCompoundTargetReticleCFRC13CStateManager +/* 800BCCF0 000B9C50 80 A1 00 68 */ lwz r5, 0x68(r1) +/* 800BCCF4 000B9C54 38 60 00 00 */ li r3, 0 +/* 800BCCF8 000B9C58 2C 05 00 00 */ cmpwi r5, 0 +/* 800BCCFC 000B9C5C 40 81 00 40 */ ble lbl_800BCD3C +/* 800BCD00 000B9C60 2C 05 00 08 */ cmpwi r5, 8 +/* 800BCD04 000B9C64 38 85 FF F8 */ addi r4, r5, -8 +/* 800BCD08 000B9C68 40 81 00 20 */ ble lbl_800BCD28 +/* 800BCD0C 000B9C6C 38 04 00 07 */ addi r0, r4, 7 +/* 800BCD10 000B9C70 54 00 E8 FE */ srwi r0, r0, 3 +/* 800BCD14 000B9C74 7C 09 03 A6 */ mtctr r0 +/* 800BCD18 000B9C78 2C 04 00 00 */ cmpwi r4, 0 +/* 800BCD1C 000B9C7C 40 81 00 0C */ ble lbl_800BCD28 +lbl_800BCD20: +/* 800BCD20 000B9C80 38 63 00 08 */ addi r3, r3, 8 +/* 800BCD24 000B9C84 42 00 FF FC */ bdnz lbl_800BCD20 +lbl_800BCD28: +/* 800BCD28 000B9C88 7C 03 28 50 */ subf r0, r3, r5 +/* 800BCD2C 000B9C8C 7C 09 03 A6 */ mtctr r0 +/* 800BCD30 000B9C90 7C 03 28 00 */ cmpw r3, r5 +/* 800BCD34 000B9C94 40 80 00 08 */ bge lbl_800BCD3C +lbl_800BCD38: +/* 800BCD38 000B9C98 42 00 00 00 */ bdnz lbl_800BCD38 +lbl_800BCD3C: +/* 800BCD3C 000B9C9C 38 00 00 00 */ li r0, 0 +/* 800BCD40 000B9CA0 90 01 00 68 */ stw r0, 0x68(r1) +/* 800BCD44 000B9CA4 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800BCD48 000B9CA8 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 800BCD4C 000B9CAC 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 800BCD50 000B9CB0 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 800BCD54 000B9CB4 83 81 00 E0 */ lwz r28, 0xe0(r1) +/* 800BCD58 000B9CB8 7C 08 03 A6 */ mtlr r0 +/* 800BCD5C 000B9CBC 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 800BCD60 000B9CC0 4E 80 00 20 */ blr + +.global Update__17CTargetingManagerFfRC13CStateManager +Update__17CTargetingManagerFfRC13CStateManager: +/* 800BCD64 000B9CC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800BCD68 000B9CC8 7C 08 02 A6 */ mflr r0 +/* 800BCD6C 000B9CCC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BCD70 000B9CD0 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 800BCD74 000B9CD4 FF E0 08 90 */ fmr f31, f1 +/* 800BCD78 000B9CD8 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800BCD7C 000B9CDC 7C 9F 23 78 */ mr r31, r4 +/* 800BCD80 000B9CE0 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800BCD84 000B9CE4 7C 7E 1B 78 */ mr r30, r3 +/* 800BCD88 000B9CE8 48 00 3B 51 */ bl Update__22CCompoundTargetReticleFfRC13CStateManager +/* 800BCD8C 000B9CEC FC 20 F8 90 */ fmr f1, f31 +/* 800BCD90 000B9CF0 7F E4 FB 78 */ mr r4, r31 +/* 800BCD94 000B9CF4 38 7E 02 1C */ addi r3, r30, 0x21c +/* 800BCD98 000B9CF8 4B FF F8 31 */ bl Update__17COrbitPointMarkerFfRC13CStateManager +/* 800BCD9C 000B9CFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800BCDA0 000B9D00 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 800BCDA4 000B9D04 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800BCDA8 000B9D08 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 800BCDAC 000B9D0C 7C 08 03 A6 */ mtlr r0 +/* 800BCDB0 000B9D10 38 21 00 20 */ addi r1, r1, 0x20 +/* 800BCDB4 000B9D14 4E 80 00 20 */ blr + +.global CheckLoadComplete__17CTargetingManagerFv +CheckLoadComplete__17CTargetingManagerFv: +/* 800BCDB8 000B9D18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BCDBC 000B9D1C 7C 08 02 A6 */ mflr r0 +/* 800BCDC0 000B9D20 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BCDC4 000B9D24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BCDC8 000B9D28 3B E0 00 00 */ li r31, 0 +/* 800BCDCC 000B9D2C 93 C1 00 08 */ stw r30, 8(r1) +/* 800BCDD0 000B9D30 7C 7E 1B 78 */ mr r30, r3 +/* 800BCDD4 000B9D34 48 00 45 51 */ bl CheckLoadComplete__22CCompoundTargetReticleFv +/* 800BCDD8 000B9D38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BCDDC 000B9D3C 41 82 00 18 */ beq lbl_800BCDF4 +/* 800BCDE0 000B9D40 38 7E 02 1C */ addi r3, r30, 0x21c +/* 800BCDE4 000B9D44 4B FF FB 1D */ bl CheckLoadComplete__17COrbitPointMarkerFv +/* 800BCDE8 000B9D48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BCDEC 000B9D4C 41 82 00 08 */ beq lbl_800BCDF4 +/* 800BCDF0 000B9D50 3B E0 00 01 */ li r31, 1 +lbl_800BCDF4: +/* 800BCDF4 000B9D54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BCDF8 000B9D58 7F E3 FB 78 */ mr r3, r31 +/* 800BCDFC 000B9D5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BCE00 000B9D60 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BCE04 000B9D64 7C 08 03 A6 */ mtlr r0 +/* 800BCE08 000B9D68 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BCE0C 000B9D6C 4E 80 00 20 */ blr + +.global __ct__17CTargetingManagerFRC13CStateManager +__ct__17CTargetingManagerFRC13CStateManager: +/* 800BCE10 000B9D70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800BCE14 000B9D74 7C 08 02 A6 */ mflr r0 +/* 800BCE18 000B9D78 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BCE1C 000B9D7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800BCE20 000B9D80 7C 7F 1B 78 */ mr r31, r3 +/* 800BCE24 000B9D84 48 00 45 09 */ bl __ct__22CCompoundTargetReticleFRC13CStateManager +/* 800BCE28 000B9D88 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800BCE2C 000B9D8C 4B FF FB 49 */ bl __ct__17COrbitPointMarkerFv +/* 800BCE30 000B9D90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800BCE34 000B9D94 7F E3 FB 78 */ mr r3, r31 +/* 800BCE38 000B9D98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800BCE3C 000B9D9C 7C 08 03 A6 */ mtlr r0 +/* 800BCE40 000B9DA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800BCE44 000B9DA4 4E 80 00 20 */ blr + +.global InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef +InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef: +/* 800BCE48 000B9DA8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800BCE4C 000B9DAC 7C 08 02 A6 */ mflr r0 +/* 800BCE50 000B9DB0 90 01 00 34 */ stw r0, 0x34(r1) +/* 800BCE54 000B9DB4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800BCE58 000B9DB8 7C BF 2B 78 */ mr r31, r5 +/* 800BCE5C 000B9DBC 38 AD 86 B0 */ addi r5, r13, lbl_805A7270@sda21 +/* 800BCE60 000B9DC0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800BCE64 000B9DC4 7C 9E 23 78 */ mr r30, r4 +/* 800BCE68 000B9DC8 38 81 00 08 */ addi r4, r1, 8 +/* 800BCE6C 000B9DCC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800BCE70 000B9DD0 7C 7D 1B 78 */ mr r29, r3 +/* 800BCE74 000B9DD4 38 6D 86 AC */ addi r3, r13, lbl_805A726C@sda21 +/* 800BCE78 000B9DD8 D0 21 00 08 */ stfs f1, 8(r1) +/* 800BCE7C 000B9DDC 4B F4 F4 39 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800BCE80 000B9DE0 C0 E3 00 00 */ lfs f7, 0(r3) +/* 800BCE84 000B9DE4 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) +/* 800BCE88 000B9DE8 C0 1F 00 04 */ lfs f0, 4(r31) +/* 800BCE8C 000B9DEC EC C2 38 28 */ fsubs f6, f2, f7 +/* 800BCE90 000B9DF0 C0 3D 00 04 */ lfs f1, 4(r29) +/* 800BCE94 000B9DF4 EC 07 00 32 */ fmuls f0, f7, f0 +/* 800BCE98 000B9DF8 FC 02 38 00 */ fcmpu cr0, f2, f7 +/* 800BCE9C 000B9DFC EC 06 00 7A */ fmadds f0, f6, f1, f0 +/* 800BCEA0 000B9E00 D0 1E 00 04 */ stfs f0, 4(r30) +/* 800BCEA4 000B9E04 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 800BCEA8 000B9E08 C0 3D 00 14 */ lfs f1, 0x14(r29) +/* 800BCEAC 000B9E0C EC 07 00 32 */ fmuls f0, f7, f0 +/* 800BCEB0 000B9E10 EC 06 00 7A */ fmadds f0, f6, f1, f0 +/* 800BCEB4 000B9E14 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 800BCEB8 000B9E18 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 800BCEBC 000B9E1C C0 3D 00 18 */ lfs f1, 0x18(r29) +/* 800BCEC0 000B9E20 EC 07 00 32 */ fmuls f0, f7, f0 +/* 800BCEC4 000B9E24 EC 06 00 7A */ fmadds f0, f6, f1, f0 +/* 800BCEC8 000B9E28 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 800BCECC 000B9E2C C0 1F 00 08 */ lfs f0, 8(r31) +/* 800BCED0 000B9E30 C0 7F 00 0C */ lfs f3, 0xc(r31) +/* 800BCED4 000B9E34 C0 5F 00 10 */ lfs f2, 0x10(r31) +/* 800BCED8 000B9E38 EC 00 01 F2 */ fmuls f0, f0, f7 +/* 800BCEDC 000B9E3C C0 3D 00 08 */ lfs f1, 8(r29) +/* 800BCEE0 000B9E40 EC 83 01 F2 */ fmuls f4, f3, f7 +/* 800BCEE4 000B9E44 C0 BD 00 0C */ lfs f5, 0xc(r29) +/* 800BCEE8 000B9E48 EC 42 01 F2 */ fmuls f2, f2, f7 +/* 800BCEEC 000B9E4C C0 7D 00 10 */ lfs f3, 0x10(r29) +/* 800BCEF0 000B9E50 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 800BCEF4 000B9E54 EC 85 21 BA */ fmadds f4, f5, f6, f4 +/* 800BCEF8 000B9E58 EC 23 11 BA */ fmadds f1, f3, f6, f2 +/* 800BCEFC 000B9E5C D0 1E 00 08 */ stfs f0, 8(r30) +/* 800BCF00 000B9E60 D0 9E 00 0C */ stfs f4, 0xc(r30) +/* 800BCF04 000B9E64 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 800BCF08 000B9E68 40 82 00 18 */ bne lbl_800BCF20 +/* 800BCF0C 000B9E6C A0 1F 00 00 */ lhz r0, 0(r31) +/* 800BCF10 000B9E70 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800BCF14 000B9E74 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800BCF18 000B9E78 B0 1E 00 00 */ sth r0, 0(r30) +/* 800BCF1C 000B9E7C 48 00 00 30 */ b lbl_800BCF4C +lbl_800BCF20: +/* 800BCF20 000B9E80 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BCF24 000B9E84 FC 00 38 00 */ fcmpu cr0, f0, f7 +/* 800BCF28 000B9E88 40 82 00 18 */ bne lbl_800BCF40 +/* 800BCF2C 000B9E8C A0 1D 00 00 */ lhz r0, 0(r29) +/* 800BCF30 000B9E90 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800BCF34 000B9E94 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800BCF38 000B9E98 B0 1E 00 00 */ sth r0, 0(r30) +/* 800BCF3C 000B9E9C 48 00 00 10 */ b lbl_800BCF4C +lbl_800BCF40: +/* 800BCF40 000B9EA0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800BCF44 000B9EA4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800BCF48 000B9EA8 B0 1E 00 00 */ sth r0, 0(r30) +lbl_800BCF4C: +/* 800BCF4C 000B9EAC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800BCF50 000B9EB0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800BCF54 000B9EB4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800BCF58 000B9EB8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800BCF5C 000B9EBC 7C 08 03 A6 */ mtlr r0 +/* 800BCF60 000B9EC0 38 21 00 30 */ addi r1, r1, 0x30 +/* 800BCF64 000B9EC4 4E 80 00 20 */ blr + +.global __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb +__ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb: +/* 800BCF68 000B9EC8 A0 04 00 00 */ lhz r0, 0(r4) +/* 800BCF6C 000B9ECC B0 03 00 00 */ sth r0, 0(r3) +/* 800BCF70 000B9ED0 D0 23 00 04 */ stfs f1, 4(r3) +/* 800BCF74 000B9ED4 C0 05 00 00 */ lfs f0, 0(r5) +/* 800BCF78 000B9ED8 D0 03 00 08 */ stfs f0, 8(r3) +/* 800BCF7C 000B9EDC C0 05 00 04 */ lfs f0, 4(r5) +/* 800BCF80 000B9EE0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800BCF84 000B9EE4 C0 05 00 08 */ lfs f0, 8(r5) +/* 800BCF88 000B9EE8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800BCF8C 000B9EEC D0 43 00 14 */ stfs f2, 0x14(r3) +/* 800BCF90 000B9EF0 D0 63 00 18 */ stfs f3, 0x18(r3) +/* 800BCF94 000B9EF4 98 C3 00 1C */ stb r6, 0x1c(r3) +/* 800BCF98 000B9EF8 4E 80 00 20 */ blr + +.global CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager: +/* 800BCF9C 000B9EFC 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 800BCFA0 000B9F00 7C 08 02 A6 */ mflr r0 +/* 800BCFA4 000B9F04 90 01 01 04 */ stw r0, 0x104(r1) +/* 800BCFA8 000B9F08 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 800BCFAC 000B9F0C F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 800BCFB0 000B9F10 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 800BCFB4 000B9F14 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 800BCFB8 000B9F18 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 800BCFBC 000B9F1C 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 800BCFC0 000B9F20 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 800BCFC4 000B9F24 FF E0 08 90 */ fmr f31, f1 +/* 800BCFC8 000B9F28 7C 9E 23 78 */ mr r30, r4 +/* 800BCFCC 000B9F2C 7C 7D 1B 78 */ mr r29, r3 +/* 800BCFD0 000B9F30 D0 41 00 08 */ stfs f2, 8(r1) +/* 800BCFD4 000B9F34 80 64 08 70 */ lwz r3, 0x870(r4) +/* 800BCFD8 000B9F38 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 800BCFDC 000B9F3C 4B F4 EB 3D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800BCFE0 000B9F40 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 800BCFE4 000B9F44 7C 7F 1B 78 */ mr r31, r3 +/* 800BCFE8 000B9F48 7F C5 F3 78 */ mr r5, r30 +/* 800BCFEC 000B9F4C 38 61 00 5C */ addi r3, r1, 0x5c +/* 800BCFF0 000B9F50 4B F4 D9 79 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 800BCFF4 000B9F54 38 61 00 8C */ addi r3, r1, 0x8c +/* 800BCFF8 000B9F58 38 81 00 5C */ addi r4, r1, 0x5c +/* 800BCFFC 000B9F5C 48 25 5B 79 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800BD000 000B9F60 C0 3D 00 08 */ lfs f1, 8(r29) +/* 800BD004 000B9F64 38 9F 00 34 */ addi r4, r31, 0x34 +/* 800BD008 000B9F68 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 800BD00C 000B9F6C 38 61 00 44 */ addi r3, r1, 0x44 +/* 800BD010 000B9F70 C0 7D 00 04 */ lfs f3, 4(r29) +/* 800BD014 000B9F74 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800BD018 000B9F78 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800BD01C 000B9F7C C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 800BD020 000B9F80 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800BD024 000B9F84 C0 3D 00 00 */ lfs f1, 0(r29) +/* 800BD028 000B9F88 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800BD02C 000B9F8C D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 800BD030 000B9F90 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800BD034 000B9F94 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800BD038 000B9F98 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800BD03C 000B9F9C 48 25 59 E9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800BD040 000B9FA0 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 800BD044 000B9FA4 7F E3 FB 78 */ mr r3, r31 +/* 800BD048 000B9FA8 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 800BD04C 000B9FAC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800BD050 000B9FB0 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800BD054 000B9FB4 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800BD058 000B9FB8 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800BD05C 000B9FBC 4B FA 09 1D */ bl GetPerspectiveMatrix__11CGameCameraCFv +/* 800BD060 000B9FC0 7C 64 1B 78 */ mr r4, r3 +/* 800BD064 000B9FC4 38 61 00 38 */ addi r3, r1, 0x38 +/* 800BD068 000B9FC8 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800BD06C 000B9FCC 48 25 36 E5 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +/* 800BD070 000B9FD0 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800BD074 000B9FD4 7F E3 FB 78 */ mr r3, r31 +/* 800BD078 000B9FD8 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 800BD07C 000B9FDC C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) +/* 800BD080 000B9FE0 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800BD084 000B9FE4 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 800BD088 000B9FE8 EC 63 10 2A */ fadds f3, f3, f2 +/* 800BD08C 000B9FEC C3 C1 00 38 */ lfs f30, 0x38(r1) +/* 800BD090 000B9FF0 EC 21 10 2A */ fadds f1, f1, f2 +/* 800BD094 000B9FF4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800BD098 000B9FF8 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 800BD09C 000B9FFC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800BD0A0 000BA000 4B FA 08 D9 */ bl GetPerspectiveMatrix__11CGameCameraCFv +/* 800BD0A4 000BA004 7C 64 1B 78 */ mr r4, r3 +/* 800BD0A8 000BA008 38 61 00 2C */ addi r3, r1, 0x2c +/* 800BD0AC 000BA00C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800BD0B0 000BA010 48 25 36 A1 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +/* 800BD0B4 000BA014 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 800BD0B8 000BA018 3C 00 43 30 */ lis r0, 0x4330 +/* 800BD0BC 000BA01C 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 800BD0C0 000BA020 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800BD0C4 000BA024 80 83 00 08 */ lwz r4, 8(r3) +/* 800BD0C8 000BA028 38 61 00 08 */ addi r3, r1, 8 +/* 800BD0CC 000BA02C EC 40 F0 28 */ fsubs f2, f0, f30 +/* 800BD0D0 000BA030 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 800BD0D4 000BA034 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 800BD0D8 000BA038 C8 22 8D 40 */ lfd f1, lbl_805AAA60@sda21(r2) +/* 800BD0DC 000BA03C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800BD0E0 000BA040 38 81 00 10 */ addi r4, r1, 0x10 +/* 800BD0E4 000BA044 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 800BD0E8 000BA048 38 A1 00 0C */ addi r5, r1, 0xc +/* 800BD0EC 000BA04C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800BD0F0 000BA050 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BD0F4 000BA054 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800BD0F8 000BA058 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800BD0FC 000BA05C 4B F4 F1 B9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800BD100 000BA060 C0 23 00 00 */ lfs f1, 0(r3) +/* 800BD104 000BA064 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800BD108 000BA068 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800BD10C 000BA06C EC 3F 00 32 */ fmuls f1, f31, f0 +/* 800BD110 000BA070 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 800BD114 000BA074 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 800BD118 000BA078 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 800BD11C 000BA07C CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 800BD120 000BA080 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 800BD124 000BA084 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 800BD128 000BA088 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800BD12C 000BA08C 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 800BD130 000BA090 7C 08 03 A6 */ mtlr r0 +/* 800BD134 000BA094 38 21 01 00 */ addi r1, r1, 0x100 +/* 800BD138 000BA098 4E 80 00 20 */ blr + +.global IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager +IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager: +/* 800BD13C 000BA09C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800BD140 000BA0A0 7C 08 02 A6 */ mflr r0 +/* 800BD144 000BA0A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BD148 000BA0A8 A0 03 00 00 */ lhz r0, 0(r3) +/* 800BD14C 000BA0AC 80 64 08 10 */ lwz r3, 0x810(r4) +/* 800BD150 000BA0B0 38 81 00 08 */ addi r4, r1, 8 +/* 800BD154 000BA0B4 B0 01 00 08 */ sth r0, 8(r1) +/* 800BD158 000BA0B8 4B F5 2C 95 */ bl GetObjectById__11CObjectListCF9TUniqueId +/* 800BD15C 000BA0BC 7C 64 1B 78 */ mr r4, r3 +/* 800BD160 000BA0C0 38 61 00 0C */ addi r3, r1, 0xc +/* 800BD164 000BA0C4 4B FE C9 65 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" +/* 800BD168 000BA0C8 80 63 00 04 */ lwz r3, 4(r3) +/* 800BD16C 000BA0CC 7C 03 00 D0 */ neg r0, r3 +/* 800BD170 000BA0D0 7C 00 1B 78 */ or r0, r0, r3 +/* 800BD174 000BA0D4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800BD178 000BA0D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800BD17C 000BA0DC 7C 08 03 A6 */ mtlr r0 +/* 800BD180 000BA0E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800BD184 000BA0E4 4E 80 00 20 */ blr + +.global CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb +CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb: +/* 800BD188 000BA0E8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800BD18C 000BA0EC 7C 08 02 A6 */ mflr r0 +/* 800BD190 000BA0F0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800BD194 000BA0F4 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 800BD198 000BA0F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 800BD19C 000BA0FC 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 800BD1A0 000BA100 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800BD1A4 000BA104 93 A1 00 94 */ stw r29, 0x94(r1) +/* 800BD1A8 000BA108 93 81 00 90 */ stw r28, 0x90(r1) +/* 800BD1AC 000BA10C 7C BE 2B 78 */ mr r30, r5 +/* 800BD1B0 000BA110 7C 7C 1B 78 */ mr r28, r3 +/* 800BD1B4 000BA114 80 65 08 70 */ lwz r3, 0x870(r5) +/* 800BD1B8 000BA118 7C 9D 23 78 */ mr r29, r4 +/* 800BD1BC 000BA11C 7C DF 33 78 */ mr r31, r6 +/* 800BD1C0 000BA120 7F C4 F3 78 */ mr r4, r30 +/* 800BD1C4 000BA124 4B F4 E9 55 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800BD1C8 000BA128 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 800BD1CC 000BA12C 3C 00 43 30 */ lis r0, 0x4330 +/* 800BD1D0 000BA130 90 01 00 80 */ stw r0, 0x80(r1) +/* 800BD1D4 000BA134 80 04 01 B0 */ lwz r0, 0x1b0(r4) +/* 800BD1D8 000BA138 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) +/* 800BD1DC 000BA13C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800BD1E0 000BA140 C0 82 8D 58 */ lfs f4, lbl_805AAA78@sda21(r2) +/* 800BD1E4 000BA144 90 01 00 84 */ stw r0, 0x84(r1) +/* 800BD1E8 000BA148 C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) +/* 800BD1EC 000BA14C C8 41 00 80 */ lfd f2, 0x80(r1) +/* 800BD1F0 000BA150 C0 03 01 5C */ lfs f0, 0x15c(r3) +/* 800BD1F4 000BA154 EC 62 18 28 */ fsubs f3, f2, f3 +/* 800BD1F8 000BA158 C0 42 8D 60 */ lfs f2, lbl_805AAA80@sda21(r2) +/* 800BD1FC 000BA15C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800BD200 000BA160 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) +/* 800BD204 000BA164 EF E4 18 24 */ fdivs f31, f4, f3 +/* 800BD208 000BA168 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800BD20C 000BA16C EC 21 00 32 */ fmuls f1, f1, f0 +/* 800BD210 000BA170 48 25 80 B1 */ bl SlowTangentR__5CMathFf +/* 800BD214 000BA174 EF FF 08 24 */ fdivs f31, f31, f1 +/* 800BD218 000BA178 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 800BD21C 000BA17C 7F C5 F3 78 */ mr r5, r30 +/* 800BD220 000BA180 38 61 00 20 */ addi r3, r1, 0x20 +/* 800BD224 000BA184 4B F4 D7 45 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 800BD228 000BA188 38 61 00 50 */ addi r3, r1, 0x50 +/* 800BD22C 000BA18C 38 81 00 20 */ addi r4, r1, 0x20 +/* 800BD230 000BA190 48 25 59 45 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800BD234 000BA194 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 800BD238 000BA198 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800BD23C 000BA19C C0 21 00 54 */ lfs f1, 0x54(r1) +/* 800BD240 000BA1A0 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 800BD244 000BA1A4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800BD248 000BA1A8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800BD24C 000BA1AC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800BD250 000BA1B0 41 82 00 2C */ beq lbl_800BD27C +/* 800BD254 000BA1B4 38 61 00 08 */ addi r3, r1, 8 +/* 800BD258 000BA1B8 38 9D 00 10 */ addi r4, r29, 0x10 +/* 800BD25C 000BA1BC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800BD260 000BA1C0 48 25 40 05 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 800BD264 000BA1C4 C0 41 00 08 */ lfs f2, 8(r1) +/* 800BD268 000BA1C8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 800BD26C 000BA1CC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800BD270 000BA1D0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800BD274 000BA1D4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800BD278 000BA1D8 D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_800BD27C: +/* 800BD27C 000BA1DC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800BD280 000BA1E0 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 800BD284 000BA1E4 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800BD288 000BA1E8 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 800BD28C 000BA1EC EC 9F 00 F2 */ fmuls f4, f31, f3 +/* 800BD290 000BA1F0 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 800BD294 000BA1F4 C0 A1 00 6C */ lfs f5, 0x6c(r1) +/* 800BD298 000BA1F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 800BD29C 000BA1FC C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 800BD2A0 000BA200 EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 800BD2A4 000BA204 EC 45 20 2A */ fadds f2, f5, f4 +/* 800BD2A8 000BA208 D0 1C 00 00 */ stfs f0, 0(r28) +/* 800BD2AC 000BA20C EC 03 08 2A */ fadds f0, f3, f1 +/* 800BD2B0 000BA210 D0 5C 00 04 */ stfs f2, 4(r28) +/* 800BD2B4 000BA214 D0 1C 00 08 */ stfs f0, 8(r28) +/* 800BD2B8 000BA218 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 800BD2BC 000BA21C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800BD2C0 000BA220 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 800BD2C4 000BA224 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 800BD2C8 000BA228 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 800BD2CC 000BA22C 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 800BD2D0 000BA230 83 81 00 90 */ lwz r28, 0x90(r1) +/* 800BD2D4 000BA234 7C 08 03 A6 */ mtlr r0 +/* 800BD2D8 000BA238 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800BD2DC 000BA23C 4E 80 00 20 */ blr + +.global CalculatePositionWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager +CalculatePositionWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager: +/* 800BD2E0 000BA240 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800BD2E4 000BA244 7C 08 02 A6 */ mflr r0 +/* 800BD2E8 000BA248 90 01 00 34 */ stw r0, 0x34(r1) +/* 800BD2EC 000BA24C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800BD2F0 000BA250 7C 7F 1B 78 */ mr r31, r3 +/* 800BD2F4 000BA254 80 04 00 20 */ lwz r0, 0x20(r4) +/* 800BD2F8 000BA258 2C 00 00 01 */ cmpwi r0, 1 +/* 800BD2FC 000BA25C 40 82 00 28 */ bne lbl_800BD324 +/* 800BD300 000BA260 7C A4 2B 78 */ mr r4, r5 +/* 800BD304 000BA264 7C C5 33 78 */ mr r5, r6 +/* 800BD308 000BA268 81 84 00 00 */ lwz r12, 0(r4) +/* 800BD30C 000BA26C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800BD310 000BA270 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 800BD314 000BA274 7D 89 03 A6 */ mtctr r12 +/* 800BD318 000BA278 4E 80 04 21 */ bctrl +/* 800BD31C 000BA27C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800BD320 000BA280 48 00 00 28 */ b lbl_800BD348 +lbl_800BD324: +/* 800BD324 000BA284 7C A4 2B 78 */ mr r4, r5 +/* 800BD328 000BA288 7C C5 33 78 */ mr r5, r6 +/* 800BD32C 000BA28C 81 84 00 00 */ lwz r12, 0(r4) +/* 800BD330 000BA290 38 61 00 08 */ addi r3, r1, 8 +/* 800BD334 000BA294 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800BD338 000BA298 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800BD33C 000BA29C 7D 89 03 A6 */ mtctr r12 +/* 800BD340 000BA2A0 4E 80 04 21 */ bctrl +/* 800BD344 000BA2A4 38 61 00 08 */ addi r3, r1, 8 +lbl_800BD348: +/* 800BD348 000BA2A8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800BD34C 000BA2AC D0 1F 00 00 */ stfs f0, 0(r31) +/* 800BD350 000BA2B0 C0 03 00 04 */ lfs f0, 4(r3) +/* 800BD354 000BA2B4 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800BD358 000BA2B8 C0 03 00 08 */ lfs f0, 8(r3) +/* 800BD35C 000BA2BC D0 1F 00 08 */ stfs f0, 8(r31) +/* 800BD360 000BA2C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800BD364 000BA2C4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800BD368 000BA2C8 7C 08 03 A6 */ mtlr r0 +/* 800BD36C 000BA2CC 38 21 00 30 */ addi r1, r1, 0x30 +/* 800BD370 000BA2D0 4E 80 00 20 */ blr + +.global CalculateRadiusWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager +CalculateRadiusWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager: +/* 800BD374 000BA2D4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800BD378 000BA2D8 7C 08 02 A6 */ mflr r0 +/* 800BD37C 000BA2DC 90 01 00 94 */ stw r0, 0x94(r1) +/* 800BD380 000BA2E0 38 61 00 50 */ addi r3, r1, 0x50 +/* 800BD384 000BA2E4 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 800BD388 000BA2E8 7C BF 2B 78 */ mr r31, r5 +/* 800BD38C 000BA2EC 93 C1 00 88 */ stw r30, 0x88(r1) +/* 800BD390 000BA2F0 7C 9E 23 78 */ mr r30, r4 +/* 800BD394 000BA2F4 81 84 00 00 */ lwz r12, 0(r4) +/* 800BD398 000BA2F8 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 800BD39C 000BA2FC 7D 89 03 A6 */ mtctr r12 +/* 800BD3A0 000BA300 4E 80 04 21 */ bctrl +/* 800BD3A4 000BA304 88 01 00 68 */ lbz r0, 0x68(r1) +/* 800BD3A8 000BA308 28 00 00 00 */ cmplwi r0, 0 +/* 800BD3AC 000BA30C 98 01 00 84 */ stb r0, 0x84(r1) +/* 800BD3B0 000BA310 41 82 00 3C */ beq lbl_800BD3EC +/* 800BD3B4 000BA314 34 61 00 6C */ addic. r3, r1, 0x6c +/* 800BD3B8 000BA318 41 82 00 34 */ beq lbl_800BD3EC +/* 800BD3BC 000BA31C C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800BD3C0 000BA320 D0 03 00 00 */ stfs f0, 0(r3) +/* 800BD3C4 000BA324 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800BD3C8 000BA328 D0 03 00 04 */ stfs f0, 4(r3) +/* 800BD3CC 000BA32C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800BD3D0 000BA330 D0 03 00 08 */ stfs f0, 8(r3) +/* 800BD3D4 000BA334 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800BD3D8 000BA338 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800BD3DC 000BA33C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800BD3E0 000BA340 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800BD3E4 000BA344 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 800BD3E8 000BA348 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_800BD3EC: +/* 800BD3EC 000BA34C 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800BD3F0 000BA350 38 60 00 00 */ li r3, 0 +/* 800BD3F4 000BA354 98 61 00 68 */ stb r3, 0x68(r1) +/* 800BD3F8 000BA358 28 00 00 00 */ cmplwi r0, 0 +/* 800BD3FC 000BA35C 41 82 00 0C */ beq lbl_800BD408 +/* 800BD400 000BA360 38 61 00 6C */ addi r3, r1, 0x6c +/* 800BD404 000BA364 48 00 00 54 */ b lbl_800BD458 +lbl_800BD408: +/* 800BD408 000BA368 7F C4 F3 78 */ mr r4, r30 +/* 800BD40C 000BA36C 7F E5 FB 78 */ mr r5, r31 +/* 800BD410 000BA370 81 9E 00 00 */ lwz r12, 0(r30) +/* 800BD414 000BA374 38 61 00 2C */ addi r3, r1, 0x2c +/* 800BD418 000BA378 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800BD41C 000BA37C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800BD420 000BA380 7D 89 03 A6 */ mtctr r12 +/* 800BD424 000BA384 4E 80 04 21 */ bctrl +/* 800BD428 000BA388 7F C4 F3 78 */ mr r4, r30 +/* 800BD42C 000BA38C 7F E5 FB 78 */ mr r5, r31 +/* 800BD430 000BA390 81 9E 00 00 */ lwz r12, 0(r30) +/* 800BD434 000BA394 38 61 00 20 */ addi r3, r1, 0x20 +/* 800BD438 000BA398 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800BD43C 000BA39C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800BD440 000BA3A0 7D 89 03 A6 */ mtctr r12 +/* 800BD444 000BA3A4 4E 80 04 21 */ bctrl +/* 800BD448 000BA3A8 38 61 00 38 */ addi r3, r1, 0x38 +/* 800BD44C 000BA3AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 800BD450 000BA3B0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800BD454 000BA3B4 48 27 B0 B5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +lbl_800BD458: +/* 800BD458 000BA3B8 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) +/* 800BD45C 000BA3BC C0 43 00 00 */ lfs f2, 0(r3) +/* 800BD460 000BA3C0 80 04 00 04 */ lwz r0, 4(r4) +/* 800BD464 000BA3C4 C0 83 00 04 */ lfs f4, 4(r3) +/* 800BD468 000BA3C8 2C 00 00 01 */ cmpwi r0, 1 +/* 800BD46C 000BA3CC C0 A3 00 08 */ lfs f5, 8(r3) +/* 800BD470 000BA3D0 C0 63 00 0C */ lfs f3, 0xc(r3) +/* 800BD474 000BA3D4 C0 C3 00 10 */ lfs f6, 0x10(r3) +/* 800BD478 000BA3D8 C0 E3 00 14 */ lfs f7, 0x14(r3) +/* 800BD47C 000BA3DC 41 82 00 68 */ beq lbl_800BD4E4 +/* 800BD480 000BA3E0 40 80 00 B4 */ bge lbl_800BD534 +/* 800BD484 000BA3E4 2C 00 00 00 */ cmpwi r0, 0 +/* 800BD488 000BA3E8 40 80 00 0C */ bge lbl_800BD494 +/* 800BD48C 000BA3EC 48 00 00 A8 */ b lbl_800BD534 +/* 800BD490 000BA3F0 48 00 00 A4 */ b lbl_800BD534 +lbl_800BD494: +/* 800BD494 000BA3F4 EC 06 20 28 */ fsubs f0, f6, f4 +/* 800BD498 000BA3F8 EC 27 28 28 */ fsubs f1, f7, f5 +/* 800BD49C 000BA3FC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800BD4A0 000BA400 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800BD4A4 000BA404 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800BD4A8 000BA408 40 80 00 0C */ bge lbl_800BD4B4 +/* 800BD4AC 000BA40C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800BD4B0 000BA410 48 00 00 08 */ b lbl_800BD4B8 +lbl_800BD4B4: +/* 800BD4B4 000BA414 38 61 00 18 */ addi r3, r1, 0x18 +lbl_800BD4B8: +/* 800BD4B8 000BA418 EC 23 10 28 */ fsubs f1, f3, f2 +/* 800BD4BC 000BA41C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800BD4C0 000BA420 C0 03 00 00 */ lfs f0, 0(r3) +/* 800BD4C4 000BA424 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800BD4C8 000BA428 40 80 00 08 */ bge lbl_800BD4D0 +/* 800BD4CC 000BA42C 48 00 00 08 */ b lbl_800BD4D4 +lbl_800BD4D0: +/* 800BD4D0 000BA430 38 61 00 1C */ addi r3, r1, 0x1c +lbl_800BD4D4: +/* 800BD4D4 000BA434 C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) +/* 800BD4D8 000BA438 C0 03 00 00 */ lfs f0, 0(r3) +/* 800BD4DC 000BA43C EC 21 00 32 */ fmuls f1, f1, f0 +/* 800BD4E0 000BA440 48 00 00 70 */ b lbl_800BD550 +lbl_800BD4E4: +/* 800BD4E4 000BA444 EC 06 20 28 */ fsubs f0, f6, f4 +/* 800BD4E8 000BA448 EC 27 28 28 */ fsubs f1, f7, f5 +/* 800BD4EC 000BA44C D0 01 00 08 */ stfs f0, 8(r1) +/* 800BD4F0 000BA450 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BD4F4 000BA454 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800BD4F8 000BA458 40 80 00 0C */ bge lbl_800BD504 +/* 800BD4FC 000BA45C 38 61 00 08 */ addi r3, r1, 8 +/* 800BD500 000BA460 48 00 00 08 */ b lbl_800BD508 +lbl_800BD504: +/* 800BD504 000BA464 38 61 00 0C */ addi r3, r1, 0xc +lbl_800BD508: +/* 800BD508 000BA468 EC 23 10 28 */ fsubs f1, f3, f2 +/* 800BD50C 000BA46C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800BD510 000BA470 C0 03 00 00 */ lfs f0, 0(r3) +/* 800BD514 000BA474 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BD518 000BA478 40 80 00 08 */ bge lbl_800BD520 +/* 800BD51C 000BA47C 48 00 00 08 */ b lbl_800BD524 +lbl_800BD520: +/* 800BD520 000BA480 38 61 00 10 */ addi r3, r1, 0x10 +lbl_800BD524: +/* 800BD524 000BA484 C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) +/* 800BD528 000BA488 C0 03 00 00 */ lfs f0, 0(r3) +/* 800BD52C 000BA48C EC 21 00 32 */ fmuls f1, f1, f0 +/* 800BD530 000BA490 48 00 00 20 */ b lbl_800BD550 +lbl_800BD534: +/* 800BD534 000BA494 EC 23 10 28 */ fsubs f1, f3, f2 +/* 800BD538 000BA498 C0 62 8D 68 */ lfs f3, lbl_805AAA88@sda21(r2) +/* 800BD53C 000BA49C EC 07 28 28 */ fsubs f0, f7, f5 +/* 800BD540 000BA4A0 EC 46 20 28 */ fsubs f2, f6, f4 +/* 800BD544 000BA4A4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800BD548 000BA4A8 EC 02 00 2A */ fadds f0, f2, f0 +/* 800BD54C 000BA4AC EC 23 00 32 */ fmuls f1, f3, f0 +lbl_800BD550: +/* 800BD550 000BA4B0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BD554 000BA4B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BD558 000BA4B8 40 81 00 08 */ ble lbl_800BD560 +/* 800BD55C 000BA4BC 48 00 00 08 */ b lbl_800BD564 +lbl_800BD560: +/* 800BD560 000BA4C0 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +lbl_800BD564: +/* 800BD564 000BA4C4 38 00 00 00 */ li r0, 0 +/* 800BD568 000BA4C8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 800BD56C 000BA4CC 98 01 00 84 */ stb r0, 0x84(r1) +/* 800BD570 000BA4D0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800BD574 000BA4D4 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 800BD578 000BA4D8 7C 08 03 A6 */ mtlr r0 +/* 800BD57C 000BA4DC 38 21 00 90 */ addi r1, r1, 0x90 +/* 800BD580 000BA4E0 4E 80 00 20 */ blr + +.global UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager +UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager: +/* 800BD584 000BA4E4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800BD588 000BA4E8 7C 08 02 A6 */ mflr r0 +/* 800BD58C 000BA4EC 90 01 00 44 */ stw r0, 0x44(r1) +/* 800BD590 000BA4F0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800BD594 000BA4F4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800BD598 000BA4F8 7C BE 2B 78 */ mr r30, r5 +/* 800BD59C 000BA4FC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800BD5A0 000BA500 7C 9D 23 78 */ mr r29, r4 +/* 800BD5A4 000BA504 93 81 00 30 */ stw r28, 0x30(r1) +/* 800BD5A8 000BA508 7C 7C 1B 78 */ mr r28, r3 +/* 800BD5AC 000BA50C A0 04 00 00 */ lhz r0, 0(r4) +/* 800BD5B0 000BA510 38 81 00 0C */ addi r4, r1, 0xc +/* 800BD5B4 000BA514 80 65 08 10 */ lwz r3, 0x810(r5) +/* 800BD5B8 000BA518 B0 01 00 08 */ sth r0, 8(r1) +/* 800BD5BC 000BA51C B0 01 00 0C */ sth r0, 0xc(r1) +/* 800BD5C0 000BA520 4B F5 28 2D */ bl GetObjectById__11CObjectListCF9TUniqueId +/* 800BD5C4 000BA524 7C 64 1B 78 */ mr r4, r3 +/* 800BD5C8 000BA528 38 61 00 10 */ addi r3, r1, 0x10 +/* 800BD5CC 000BA52C 4B FF 26 C5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800BD5D0 000BA530 83 E3 00 04 */ lwz r31, 4(r3) +/* 800BD5D4 000BA534 28 1F 00 00 */ cmplwi r31, 0 +/* 800BD5D8 000BA538 41 82 00 48 */ beq lbl_800BD620 +/* 800BD5DC 000BA53C 7F 83 E3 78 */ mr r3, r28 +/* 800BD5E0 000BA540 7F E4 FB 78 */ mr r4, r31 +/* 800BD5E4 000BA544 7F C5 F3 78 */ mr r5, r30 +/* 800BD5E8 000BA548 4B FF FD 8D */ bl CalculateRadiusWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager +/* 800BD5EC 000BA54C D0 3D 00 04 */ stfs f1, 4(r29) +/* 800BD5F0 000BA550 7F 84 E3 78 */ mr r4, r28 +/* 800BD5F4 000BA554 7F E5 FB 78 */ mr r5, r31 +/* 800BD5F8 000BA558 7F C6 F3 78 */ mr r6, r30 +/* 800BD5FC 000BA55C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800BD600 000BA560 4B FF FC E1 */ bl CalculatePositionWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager +/* 800BD604 000BA564 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 800BD608 000BA568 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 800BD60C 000BA56C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800BD610 000BA570 D0 1D 00 08 */ stfs f0, 8(r29) +/* 800BD614 000BA574 D0 3D 00 0C */ stfs f1, 0xc(r29) +/* 800BD618 000BA578 D0 5D 00 10 */ stfs f2, 0x10(r29) +/* 800BD61C 000BA57C 48 00 00 60 */ b lbl_800BD67C +lbl_800BD620: +/* 800BD620 000BA580 88 1D 00 1C */ lbz r0, 0x1c(r29) +/* 800BD624 000BA584 28 00 00 00 */ cmplwi r0, 0 +/* 800BD628 000BA588 41 82 00 54 */ beq lbl_800BD67C +/* 800BD62C 000BA58C C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) +/* 800BD630 000BA590 38 00 00 00 */ li r0, 0 +/* 800BD634 000BA594 D0 1D 00 04 */ stfs f0, 4(r29) +/* 800BD638 000BA598 80 7C 00 20 */ lwz r3, 0x20(r28) +/* 800BD63C 000BA59C 2C 03 00 02 */ cmpwi r3, 2 +/* 800BD640 000BA5A0 41 82 00 0C */ beq lbl_800BD64C +/* 800BD644 000BA5A4 2C 03 00 03 */ cmpwi r3, 3 +/* 800BD648 000BA5A8 40 82 00 08 */ bne lbl_800BD650 +lbl_800BD64C: +/* 800BD64C 000BA5AC 38 00 00 01 */ li r0, 1 +lbl_800BD650: +/* 800BD650 000BA5B0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800BD654 000BA5B4 41 82 00 0C */ beq lbl_800BD660 +/* 800BD658 000BA5B8 38 7C 01 00 */ addi r3, r28, 0x100 +/* 800BD65C 000BA5BC 48 00 00 08 */ b lbl_800BD664 +lbl_800BD660: +/* 800BD660 000BA5C0 38 7C 00 F4 */ addi r3, r28, 0xf4 +lbl_800BD664: +/* 800BD664 000BA5C4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800BD668 000BA5C8 D0 1D 00 08 */ stfs f0, 8(r29) +/* 800BD66C 000BA5CC C0 03 00 04 */ lfs f0, 4(r3) +/* 800BD670 000BA5D0 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 800BD674 000BA5D4 C0 03 00 08 */ lfs f0, 8(r3) +/* 800BD678 000BA5D8 D0 1D 00 10 */ stfs f0, 0x10(r29) +lbl_800BD67C: +/* 800BD67C 000BA5DC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800BD680 000BA5E0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800BD684 000BA5E4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800BD688 000BA5E8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800BD68C 000BA5EC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 800BD690 000BA5F0 7C 08 03 A6 */ mtlr r0 +/* 800BD694 000BA5F4 38 21 00 40 */ addi r1, r1, 0x40 +/* 800BD698 000BA5F8 4E 80 00 20 */ blr + +.global DrawOrbitZoneGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager +DrawOrbitZoneGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager: +/* 800BD69C 000BA5FC 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800BD6A0 000BA600 7C 08 02 A6 */ mflr r0 +/* 800BD6A4 000BA604 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800BD6A8 000BA608 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 800BD6AC 000BA60C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 800BD6B0 000BA610 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 800BD6B4 000BA614 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 800BD6B8 000BA618 93 A1 00 C4 */ stw r29, 0xc4(r1) +/* 800BD6BC 000BA61C 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 800BD6C0 000BA620 7C 7C 1B 78 */ mr r28, r3 +/* 800BD6C4 000BA624 7C 9D 23 78 */ mr r29, r4 +/* 800BD6C8 000BA628 80 03 00 28 */ lwz r0, 0x28(r3) +/* 800BD6CC 000BA62C 2C 00 00 00 */ cmpwi r0, 0 +/* 800BD6D0 000BA630 41 81 01 10 */ bgt lbl_800BD7E0 +/* 800BD6D4 000BA634 C0 3C 01 E8 */ lfs f1, 0x1e8(r28) +/* 800BD6D8 000BA638 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BD6DC 000BA63C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BD6E0 000BA640 40 81 01 00 */ ble lbl_800BD7E0 +/* 800BD6E4 000BA644 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 800BD6E8 000BA648 28 00 00 00 */ cmplwi r0, 0 +/* 800BD6EC 000BA64C 40 82 00 30 */ bne lbl_800BD71C +/* 800BD6F0 000BA650 88 1C 00 38 */ lbz r0, 0x38(r28) +/* 800BD6F4 000BA654 28 00 00 00 */ cmplwi r0, 0 +/* 800BD6F8 000BA658 41 82 00 24 */ beq lbl_800BD71C +/* 800BD6FC 000BA65C 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 800BD700 000BA660 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BD704 000BA664 28 00 00 00 */ cmplwi r0, 0 +/* 800BD708 000BA668 41 82 00 14 */ beq lbl_800BD71C +/* 800BD70C 000BA66C 38 7C 00 34 */ addi r3, r28, 0x34 +/* 800BD710 000BA670 48 28 36 FD */ bl GetObj__6CTokenFv +/* 800BD714 000BA674 80 03 00 04 */ lwz r0, 4(r3) +/* 800BD718 000BA678 90 1C 00 3C */ stw r0, 0x3c(r28) +lbl_800BD71C: +/* 800BD71C 000BA67C 83 DC 00 3C */ lwz r30, 0x3c(r28) +/* 800BD720 000BA680 28 1E 00 00 */ cmplwi r30, 0 +/* 800BD724 000BA684 41 82 00 BC */ beq lbl_800BD7E0 +/* 800BD728 000BA688 83 ED A1 40 */ lwz r31, gpTweakTargeting@sda21(r13) +/* 800BD72C 000BA68C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800BD730 000BA690 C0 3C 01 E8 */ lfs f1, 0x1e8(r28) +/* 800BD734 000BA694 48 25 5B 0D */ bl Scale__12CTransform4fFf +/* 800BD738 000BA698 7F A4 EB 78 */ mr r4, r29 +/* 800BD73C 000BA69C 38 61 00 4C */ addi r3, r1, 0x4c +/* 800BD740 000BA6A0 38 BC 00 F4 */ addi r5, r28, 0xf4 +/* 800BD744 000BA6A4 48 25 5B 35 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BD748 000BA6A8 7C 64 1B 78 */ mr r4, r3 +/* 800BD74C 000BA6AC 38 61 00 7C */ addi r3, r1, 0x7c +/* 800BD750 000BA6B0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800BD754 000BA6B4 48 25 51 FD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800BD758 000BA6B8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BD75C 000BA6BC 38 81 00 7C */ addi r4, r1, 0x7c +/* 800BD760 000BA6C0 81 83 00 00 */ lwz r12, 0(r3) +/* 800BD764 000BA6C4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BD768 000BA6C8 7D 89 03 A6 */ mtctr r12 +/* 800BD76C 000BA6CC 4E 80 04 21 */ bctrl +/* 800BD770 000BA6D0 88 7F 01 C3 */ lbz r3, 0x1c3(r31) +/* 800BD774 000BA6D4 3C 00 43 30 */ lis r0, 0x4330 +/* 800BD778 000BA6D8 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 800BD77C 000BA6DC C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BD780 000BA6E0 90 61 00 B4 */ stw r3, 0xb4(r1) +/* 800BD784 000BA6E4 C0 5C 01 E8 */ lfs f2, 0x1e8(r28) +/* 800BD788 000BA6E8 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 800BD78C 000BA6EC EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BD790 000BA6F0 EF E2 00 32 */ fmuls f31, f2, f0 +/* 800BD794 000BA6F4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800BD798 000BA6F8 38 80 00 03 */ li r4, 3 +/* 800BD79C 000BA6FC 80 FF 01 C0 */ lwz r7, 0x1c0(r31) +/* 800BD7A0 000BA700 38 C0 00 07 */ li r6, 7 +/* 800BD7A4 000BA704 38 A0 00 00 */ li r5, 0 +/* 800BD7A8 000BA708 89 01 00 08 */ lbz r8, 8(r1) +/* 800BD7AC 000BA70C 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 +/* 800BD7B0 000BA710 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d +/* 800BD7B4 000BA714 B0 81 00 0E */ sth r4, 0xe(r1) +/* 800BD7B8 000BA718 7F C3 F3 78 */ mr r3, r30 +/* 800BD7BC 000BA71C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800BD7C0 000BA720 98 C1 00 0C */ stb r6, 0xc(r1) +/* 800BD7C4 000BA724 98 A1 00 0D */ stb r5, 0xd(r1) +/* 800BD7C8 000BA728 91 01 00 10 */ stw r8, 0x10(r1) +/* 800BD7CC 000BA72C 98 C1 00 14 */ stb r6, 0x14(r1) +/* 800BD7D0 000BA730 98 A1 00 15 */ stb r5, 0x15(r1) +/* 800BD7D4 000BA734 B0 01 00 16 */ sth r0, 0x16(r1) +/* 800BD7D8 000BA738 91 01 00 18 */ stw r8, 0x18(r1) +/* 800BD7DC 000BA73C 48 29 83 F9 */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BD7E0: +/* 800BD7E0 000BA740 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 800BD7E4 000BA744 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800BD7E8 000BA748 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 800BD7EC 000BA74C 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 800BD7F0 000BA750 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 800BD7F4 000BA754 83 A1 00 C4 */ lwz r29, 0xc4(r1) +/* 800BD7F8 000BA758 83 81 00 C0 */ lwz r28, 0xc0(r1) +/* 800BD7FC 000BA75C 7C 08 03 A6 */ mtlr r0 +/* 800BD800 000BA760 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800BD804 000BA764 4E 80 00 20 */ blr + +.global DrawNextLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager +DrawNextLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager: +/* 800BD808 000BA768 94 21 FA C0 */ stwu r1, -0x540(r1) +/* 800BD80C 000BA76C 7C 08 02 A6 */ mflr r0 +/* 800BD810 000BA770 90 01 05 44 */ stw r0, 0x544(r1) +/* 800BD814 000BA774 DB E1 05 30 */ stfd f31, 0x530(r1) +/* 800BD818 000BA778 F3 E1 05 38 */ psq_st f31, 1336(r1), 0, qr0 +/* 800BD81C 000BA77C DB C1 05 20 */ stfd f30, 0x520(r1) +/* 800BD820 000BA780 F3 C1 05 28 */ psq_st f30, 1320(r1), 0, qr0 +/* 800BD824 000BA784 DB A1 05 10 */ stfd f29, 0x510(r1) +/* 800BD828 000BA788 F3 A1 05 18 */ psq_st f29, 1304(r1), 0, qr0 +/* 800BD82C 000BA78C DB 81 05 00 */ stfd f28, 0x500(r1) +/* 800BD830 000BA790 F3 81 05 08 */ psq_st f28, 1288(r1), 0, qr0 +/* 800BD834 000BA794 DB 61 04 F0 */ stfd f27, 0x4f0(r1) +/* 800BD838 000BA798 F3 61 04 F8 */ psq_st f27, 1272(r1), 0, qr0 +/* 800BD83C 000BA79C DB 41 04 E0 */ stfd f26, 0x4e0(r1) +/* 800BD840 000BA7A0 F3 41 04 E8 */ psq_st f26, 1256(r1), 0, qr0 +/* 800BD844 000BA7A4 DB 21 04 D0 */ stfd f25, 0x4d0(r1) +/* 800BD848 000BA7A8 F3 21 04 D8 */ psq_st f25, 1240(r1), 0, qr0 +/* 800BD84C 000BA7AC DB 01 04 C0 */ stfd f24, 0x4c0(r1) +/* 800BD850 000BA7B0 F3 01 04 C8 */ psq_st f24, 1224(r1), 0, qr0 +/* 800BD854 000BA7B4 DA E1 04 B0 */ stfd f23, 0x4b0(r1) +/* 800BD858 000BA7B8 F2 E1 04 B8 */ psq_st f23, 1208(r1), 0, qr0 +/* 800BD85C 000BA7BC DA C1 04 A0 */ stfd f22, 0x4a0(r1) +/* 800BD860 000BA7C0 F2 C1 04 A8 */ psq_st f22, 1192(r1), 0, qr0 +/* 800BD864 000BA7C4 DA A1 04 90 */ stfd f21, 0x490(r1) +/* 800BD868 000BA7C8 F2 A1 04 98 */ psq_st f21, 1176(r1), 0, qr0 +/* 800BD86C 000BA7CC DA 81 04 80 */ stfd f20, 0x480(r1) +/* 800BD870 000BA7D0 F2 81 04 88 */ psq_st f20, 1160(r1), 0, qr0 +/* 800BD874 000BA7D4 DA 61 04 70 */ stfd f19, 0x470(r1) +/* 800BD878 000BA7D8 F2 61 04 78 */ psq_st f19, 1144(r1), 0, qr0 +/* 800BD87C 000BA7DC BF 01 04 50 */ stmw r24, 0x450(r1) +/* 800BD880 000BA7E0 7C 79 1B 78 */ mr r25, r3 +/* 800BD884 000BA7E4 7C 9A 23 78 */ mr r26, r4 +/* 800BD888 000BA7E8 80 03 00 28 */ lwz r0, 0x28(r3) +/* 800BD88C 000BA7EC 7C BB 2B 78 */ mr r27, r5 +/* 800BD890 000BA7F0 2C 00 00 00 */ cmpwi r0, 0 +/* 800BD894 000BA7F4 41 81 09 4C */ bgt lbl_800BE1E0 +/* 800BD898 000BA7F8 C0 59 01 7C */ lfs f2, 0x17c(r25) +/* 800BD89C 000BA7FC C0 39 01 80 */ lfs f1, 0x180(r25) +/* 800BD8A0 000BA800 C0 19 01 84 */ lfs f0, 0x184(r25) +/* 800BD8A4 000BA804 80 7B 08 B8 */ lwz r3, 0x8b8(r27) +/* 800BD8A8 000BA808 D0 41 01 38 */ stfs f2, 0x138(r1) +/* 800BD8AC 000BA80C C3 59 01 78 */ lfs f26, 0x178(r25) +/* 800BD8B0 000BA810 D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 800BD8B4 000BA814 C3 39 01 88 */ lfs f25, 0x188(r25) +/* 800BD8B8 000BA818 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 800BD8BC 000BA81C 80 63 00 00 */ lwz r3, 0(r3) +/* 800BD8C0 000BA820 4B FD 3F A5 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 800BD8C4 000BA824 80 19 00 20 */ lwz r0, 0x20(r25) +/* 800BD8C8 000BA828 FF E0 08 90 */ fmr f31, f1 +/* 800BD8CC 000BA82C 3B E0 00 00 */ li r31, 0 +/* 800BD8D0 000BA830 3B C0 00 00 */ li r30, 0 +/* 800BD8D4 000BA834 2C 00 00 02 */ cmpwi r0, 2 +/* 800BD8D8 000BA838 3B A0 00 00 */ li r29, 0 +/* 800BD8DC 000BA83C 41 82 00 2C */ beq lbl_800BD908 +/* 800BD8E0 000BA840 40 80 00 14 */ bge lbl_800BD8F4 +/* 800BD8E4 000BA844 2C 00 00 00 */ cmpwi r0, 0 +/* 800BD8E8 000BA848 41 82 00 2C */ beq lbl_800BD914 +/* 800BD8EC 000BA84C 40 80 00 14 */ bge lbl_800BD900 +/* 800BD8F0 000BA850 48 00 00 24 */ b lbl_800BD914 +lbl_800BD8F4: +/* 800BD8F4 000BA854 2C 00 00 04 */ cmpwi r0, 4 +/* 800BD8F8 000BA858 40 80 00 1C */ bge lbl_800BD914 +/* 800BD8FC 000BA85C 48 00 00 14 */ b lbl_800BD910 +lbl_800BD900: +/* 800BD900 000BA860 3B E0 00 01 */ li r31, 1 +/* 800BD904 000BA864 48 00 00 10 */ b lbl_800BD914 +lbl_800BD908: +/* 800BD908 000BA868 3B C0 00 01 */ li r30, 1 +/* 800BD90C 000BA86C 48 00 00 08 */ b lbl_800BD914 +lbl_800BD910: +/* 800BD910 000BA870 3B A0 00 01 */ li r29, 1 +lbl_800BD914: +/* 800BD914 000BA874 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800BD918 000BA878 C3 19 01 8C */ lfs f24, 0x18c(r25) +/* 800BD91C 000BA87C 40 82 01 AC */ bne lbl_800BDAC8 +/* 800BD920 000BA880 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BD924 000BA884 FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 800BD928 000BA888 40 81 01 A0 */ ble lbl_800BDAC8 +/* 800BD92C 000BA88C 80 19 00 48 */ lwz r0, 0x48(r25) +/* 800BD930 000BA890 28 00 00 00 */ cmplwi r0, 0 +/* 800BD934 000BA894 40 82 00 30 */ bne lbl_800BD964 +/* 800BD938 000BA898 88 19 00 44 */ lbz r0, 0x44(r25) +/* 800BD93C 000BA89C 28 00 00 00 */ cmplwi r0, 0 +/* 800BD940 000BA8A0 41 82 00 24 */ beq lbl_800BD964 +/* 800BD944 000BA8A4 80 79 00 40 */ lwz r3, 0x40(r25) +/* 800BD948 000BA8A8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BD94C 000BA8AC 28 00 00 00 */ cmplwi r0, 0 +/* 800BD950 000BA8B0 41 82 00 14 */ beq lbl_800BD964 +/* 800BD954 000BA8B4 38 79 00 40 */ addi r3, r25, 0x40 +/* 800BD958 000BA8B8 48 28 34 B5 */ bl GetObj__6CTokenFv +/* 800BD95C 000BA8BC 80 03 00 04 */ lwz r0, 4(r3) +/* 800BD960 000BA8C0 90 19 00 48 */ stw r0, 0x48(r25) +lbl_800BD964: +/* 800BD964 000BA8C4 83 99 00 48 */ lwz r28, 0x48(r25) +/* 800BD968 000BA8C8 28 1C 00 00 */ cmplwi r28, 0 +/* 800BD96C 000BA8CC 41 82 01 5C */ beq lbl_800BDAC8 +/* 800BD970 000BA8D0 80 C1 01 38 */ lwz r6, 0x138(r1) +/* 800BD974 000BA8D4 FC 20 D0 90 */ fmr f1, f26 +/* 800BD978 000BA8D8 80 A1 01 3C */ lwz r5, 0x13c(r1) +/* 800BD97C 000BA8DC 7F 64 DB 78 */ mr r4, r27 +/* 800BD980 000BA8E0 80 01 01 40 */ lwz r0, 0x140(r1) +/* 800BD984 000BA8E4 38 61 01 2C */ addi r3, r1, 0x12c +/* 800BD988 000BA8E8 90 C1 01 2C */ stw r6, 0x12c(r1) +/* 800BD98C 000BA8EC 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BD990 000BA8F0 90 A1 01 30 */ stw r5, 0x130(r1) +/* 800BD994 000BA8F4 90 01 01 34 */ stw r0, 0x134(r1) +/* 800BD998 000BA8F8 C0 06 01 64 */ lfs f0, 0x164(r6) +/* 800BD99C 000BA8FC C0 66 01 68 */ lfs f3, 0x168(r6) +/* 800BD9A0 000BA900 EC 58 00 32 */ fmuls f2, f24, f0 +/* 800BD9A4 000BA904 4B FF F5 F9 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BD9A8 000BA908 83 0D A1 40 */ lwz r24, gpTweakTargeting@sda21(r13) +/* 800BD9AC 000BA90C 38 61 03 48 */ addi r3, r1, 0x348 +/* 800BD9B0 000BA910 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) +/* 800BD9B4 000BA914 38 81 00 10 */ addi r4, r1, 0x10 +/* 800BD9B8 000BA918 C0 78 00 24 */ lfs f3, 0x24(r24) +/* 800BD9BC 000BA91C C0 19 01 EC */ lfs f0, 0x1ec(r25) +/* 800BD9C0 000BA920 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 800BD9C4 000BA924 D0 41 03 28 */ stfs f2, 0x328(r1) +/* 800BD9C8 000BA928 D0 41 03 2C */ stfs f2, 0x32c(r1) +/* 800BD9CC 000BA92C D0 21 03 24 */ stfs f1, 0x324(r1) +/* 800BD9D0 000BA930 D0 41 03 30 */ stfs f2, 0x330(r1) +/* 800BD9D4 000BA934 D0 21 03 34 */ stfs f1, 0x334(r1) +/* 800BD9D8 000BA938 D0 41 03 38 */ stfs f2, 0x338(r1) +/* 800BD9DC 000BA93C D0 41 03 3C */ stfs f2, 0x33c(r1) +/* 800BD9E0 000BA940 D0 41 03 40 */ stfs f2, 0x340(r1) +/* 800BD9E4 000BA944 D0 21 03 44 */ stfs f1, 0x344(r1) +/* 800BD9E8 000BA948 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800BD9EC 000BA94C 48 25 2A A9 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800BD9F0 000BA950 7F 44 D3 78 */ mr r4, r26 +/* 800BD9F4 000BA954 38 61 03 6C */ addi r3, r1, 0x36c +/* 800BD9F8 000BA958 38 A1 03 48 */ addi r5, r1, 0x348 +/* 800BD9FC 000BA95C 48 25 27 35 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BDA00 000BA960 38 61 03 90 */ addi r3, r1, 0x390 +/* 800BDA04 000BA964 38 81 03 6C */ addi r4, r1, 0x36c +/* 800BDA08 000BA968 38 A1 03 24 */ addi r5, r1, 0x324 +/* 800BDA0C 000BA96C 48 25 27 25 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BDA10 000BA970 38 61 04 20 */ addi r3, r1, 0x420 +/* 800BDA14 000BA974 38 81 03 90 */ addi r4, r1, 0x390 +/* 800BDA18 000BA978 48 25 26 0D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BDA1C 000BA97C C0 59 01 7C */ lfs f2, 0x17c(r25) +/* 800BDA20 000BA980 38 61 02 F4 */ addi r3, r1, 0x2f4 +/* 800BDA24 000BA984 C0 39 01 80 */ lfs f1, 0x180(r25) +/* 800BDA28 000BA988 38 81 04 20 */ addi r4, r1, 0x420 +/* 800BDA2C 000BA98C C0 19 01 84 */ lfs f0, 0x184(r25) +/* 800BDA30 000BA990 38 A1 01 20 */ addi r5, r1, 0x120 +/* 800BDA34 000BA994 D0 41 01 20 */ stfs f2, 0x120(r1) +/* 800BDA38 000BA998 D0 21 01 24 */ stfs f1, 0x124(r1) +/* 800BDA3C 000BA99C D0 01 01 28 */ stfs f0, 0x128(r1) +/* 800BDA40 000BA9A0 48 25 58 39 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BDA44 000BA9A4 7C 64 1B 78 */ mr r4, r3 +/* 800BDA48 000BA9A8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BDA4C 000BA9AC 81 83 00 00 */ lwz r12, 0(r3) +/* 800BDA50 000BA9B0 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BDA54 000BA9B4 7D 89 03 A6 */ mtctr r12 +/* 800BDA58 000BA9B8 4E 80 04 21 */ bctrl +/* 800BDA5C 000BA9BC 88 78 01 53 */ lbz r3, 0x153(r24) +/* 800BDA60 000BA9C0 3C 00 43 30 */ lis r0, 0x4330 +/* 800BDA64 000BA9C4 90 01 04 48 */ stw r0, 0x448(r1) +/* 800BDA68 000BA9C8 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BDA6C 000BA9CC 90 61 04 4C */ stw r3, 0x44c(r1) +/* 800BDA70 000BA9D0 C8 01 04 48 */ lfd f0, 0x448(r1) +/* 800BDA74 000BA9D4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BDA78 000BA9D8 EF D9 00 32 */ fmuls f30, f25, f0 +/* 800BDA7C 000BA9DC F3 C1 A0 0B */ psq_st f30, 11(r1), 1, qr2 +/* 800BDA80 000BA9E0 38 80 00 03 */ li r4, 3 +/* 800BDA84 000BA9E4 80 F8 01 50 */ lwz r7, 0x150(r24) +/* 800BDA88 000BA9E8 38 C0 00 07 */ li r6, 7 +/* 800BDA8C 000BA9EC 38 A0 00 00 */ li r5, 0 +/* 800BDA90 000BA9F0 89 01 00 0B */ lbz r8, 0xb(r1) +/* 800BDA94 000BA9F4 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 +/* 800BDA98 000BA9F8 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d +/* 800BDA9C 000BA9FC B0 81 00 3A */ sth r4, 0x3a(r1) +/* 800BDAA0 000BAA00 7F 83 E3 78 */ mr r3, r28 +/* 800BDAA4 000BAA04 38 81 00 40 */ addi r4, r1, 0x40 +/* 800BDAA8 000BAA08 98 C1 00 38 */ stb r6, 0x38(r1) +/* 800BDAAC 000BAA0C 98 A1 00 39 */ stb r5, 0x39(r1) +/* 800BDAB0 000BAA10 91 01 00 3C */ stw r8, 0x3c(r1) +/* 800BDAB4 000BAA14 98 C1 00 40 */ stb r6, 0x40(r1) +/* 800BDAB8 000BAA18 98 A1 00 41 */ stb r5, 0x41(r1) +/* 800BDABC 000BAA1C B0 01 00 42 */ sth r0, 0x42(r1) +/* 800BDAC0 000BAA20 91 01 00 44 */ stw r8, 0x44(r1) +/* 800BDAC4 000BAA24 48 29 81 11 */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BDAC8: +/* 800BDAC8 000BAA28 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800BDACC 000BAA2C 41 82 01 A0 */ beq lbl_800BDC6C +/* 800BDAD0 000BAA30 80 19 00 B4 */ lwz r0, 0xb4(r25) +/* 800BDAD4 000BAA34 28 00 00 00 */ cmplwi r0, 0 +/* 800BDAD8 000BAA38 40 82 00 30 */ bne lbl_800BDB08 +/* 800BDADC 000BAA3C 88 19 00 B0 */ lbz r0, 0xb0(r25) +/* 800BDAE0 000BAA40 28 00 00 00 */ cmplwi r0, 0 +/* 800BDAE4 000BAA44 41 82 00 24 */ beq lbl_800BDB08 +/* 800BDAE8 000BAA48 80 79 00 AC */ lwz r3, 0xac(r25) +/* 800BDAEC 000BAA4C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BDAF0 000BAA50 28 00 00 00 */ cmplwi r0, 0 +/* 800BDAF4 000BAA54 41 82 00 14 */ beq lbl_800BDB08 +/* 800BDAF8 000BAA58 38 79 00 AC */ addi r3, r25, 0xac +/* 800BDAFC 000BAA5C 48 28 33 11 */ bl GetObj__6CTokenFv +/* 800BDB00 000BAA60 80 03 00 04 */ lwz r0, 4(r3) +/* 800BDB04 000BAA64 90 19 00 B4 */ stw r0, 0xb4(r25) +lbl_800BDB08: +/* 800BDB08 000BAA68 83 99 00 B4 */ lwz r28, 0xb4(r25) +/* 800BDB0C 000BAA6C 28 1C 00 00 */ cmplwi r28, 0 +/* 800BDB10 000BAA70 41 82 01 5C */ beq lbl_800BDC6C +/* 800BDB14 000BAA74 80 C1 01 38 */ lwz r6, 0x138(r1) +/* 800BDB18 000BAA78 FC 20 D0 90 */ fmr f1, f26 +/* 800BDB1C 000BAA7C 80 A1 01 3C */ lwz r5, 0x13c(r1) +/* 800BDB20 000BAA80 7F 64 DB 78 */ mr r4, r27 +/* 800BDB24 000BAA84 80 01 01 40 */ lwz r0, 0x140(r1) +/* 800BDB28 000BAA88 38 61 01 14 */ addi r3, r1, 0x114 +/* 800BDB2C 000BAA8C 90 C1 01 14 */ stw r6, 0x114(r1) +/* 800BDB30 000BAA90 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BDB34 000BAA94 90 A1 01 18 */ stw r5, 0x118(r1) +/* 800BDB38 000BAA98 90 01 01 1C */ stw r0, 0x11c(r1) +/* 800BDB3C 000BAA9C C0 06 02 0C */ lfs f0, 0x20c(r6) +/* 800BDB40 000BAAA0 C0 66 02 10 */ lfs f3, 0x210(r6) +/* 800BDB44 000BAAA4 EC 58 00 32 */ fmuls f2, f24, f0 +/* 800BDB48 000BAAA8 4B FF F4 55 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BDB4C 000BAAAC 83 0D A1 40 */ lwz r24, gpTweakTargeting@sda21(r13) +/* 800BDB50 000BAAB0 38 61 02 64 */ addi r3, r1, 0x264 +/* 800BDB54 000BAAB4 C0 59 01 F0 */ lfs f2, 0x1f0(r25) +/* 800BDB58 000BAAB8 38 81 00 0C */ addi r4, r1, 0xc +/* 800BDB5C 000BAABC C0 78 02 18 */ lfs f3, 0x218(r24) +/* 800BDB60 000BAAC0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BDB64 000BAAC4 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 800BDB68 000BAAC8 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 800BDB6C 000BAACC D0 01 02 8C */ stfs f0, 0x28c(r1) +/* 800BDB70 000BAAD0 D0 21 02 88 */ stfs f1, 0x288(r1) +/* 800BDB74 000BAAD4 D0 01 02 90 */ stfs f0, 0x290(r1) +/* 800BDB78 000BAAD8 D0 01 02 94 */ stfs f0, 0x294(r1) +/* 800BDB7C 000BAADC D0 21 02 98 */ stfs f1, 0x298(r1) +/* 800BDB80 000BAAE0 D0 01 02 9C */ stfs f0, 0x29c(r1) +/* 800BDB84 000BAAE4 D0 01 02 A0 */ stfs f0, 0x2a0(r1) +/* 800BDB88 000BAAE8 D0 01 02 A4 */ stfs f0, 0x2a4(r1) +/* 800BDB8C 000BAAEC D0 21 02 A8 */ stfs f1, 0x2a8(r1) +/* 800BDB90 000BAAF0 48 25 29 05 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800BDB94 000BAAF4 7F 44 D3 78 */ mr r4, r26 +/* 800BDB98 000BAAF8 38 61 02 AC */ addi r3, r1, 0x2ac +/* 800BDB9C 000BAAFC 38 A1 02 88 */ addi r5, r1, 0x288 +/* 800BDBA0 000BAB00 48 25 25 91 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BDBA4 000BAB04 38 61 02 D0 */ addi r3, r1, 0x2d0 +/* 800BDBA8 000BAB08 38 81 02 AC */ addi r4, r1, 0x2ac +/* 800BDBAC 000BAB0C 38 A1 02 64 */ addi r5, r1, 0x264 +/* 800BDBB0 000BAB10 48 25 25 81 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BDBB4 000BAB14 38 61 03 FC */ addi r3, r1, 0x3fc +/* 800BDBB8 000BAB18 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800BDBBC 000BAB1C 48 25 24 69 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BDBC0 000BAB20 C0 59 01 7C */ lfs f2, 0x17c(r25) +/* 800BDBC4 000BAB24 38 61 02 34 */ addi r3, r1, 0x234 +/* 800BDBC8 000BAB28 C0 39 01 80 */ lfs f1, 0x180(r25) +/* 800BDBCC 000BAB2C 38 81 03 FC */ addi r4, r1, 0x3fc +/* 800BDBD0 000BAB30 C0 19 01 84 */ lfs f0, 0x184(r25) +/* 800BDBD4 000BAB34 38 A1 01 08 */ addi r5, r1, 0x108 +/* 800BDBD8 000BAB38 D0 41 01 08 */ stfs f2, 0x108(r1) +/* 800BDBDC 000BAB3C D0 21 01 0C */ stfs f1, 0x10c(r1) +/* 800BDBE0 000BAB40 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 800BDBE4 000BAB44 48 25 56 95 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BDBE8 000BAB48 7C 64 1B 78 */ mr r4, r3 +/* 800BDBEC 000BAB4C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BDBF0 000BAB50 81 83 00 00 */ lwz r12, 0(r3) +/* 800BDBF4 000BAB54 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BDBF8 000BAB58 7D 89 03 A6 */ mtctr r12 +/* 800BDBFC 000BAB5C 4E 80 04 21 */ bctrl +/* 800BDC00 000BAB60 88 78 02 17 */ lbz r3, 0x217(r24) +/* 800BDC04 000BAB64 3C 00 43 30 */ lis r0, 0x4330 +/* 800BDC08 000BAB68 90 01 04 48 */ stw r0, 0x448(r1) +/* 800BDC0C 000BAB6C C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BDC10 000BAB70 90 61 04 4C */ stw r3, 0x44c(r1) +/* 800BDC14 000BAB74 C8 01 04 48 */ lfd f0, 0x448(r1) +/* 800BDC18 000BAB78 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BDC1C 000BAB7C EF BF 00 32 */ fmuls f29, f31, f0 +/* 800BDC20 000BAB80 F3 A1 A0 0A */ psq_st f29, 10(r1), 1, qr2 +/* 800BDC24 000BAB84 38 80 00 03 */ li r4, 3 +/* 800BDC28 000BAB88 80 F8 02 14 */ lwz r7, 0x214(r24) +/* 800BDC2C 000BAB8C 38 C0 00 07 */ li r6, 7 +/* 800BDC30 000BAB90 38 A0 00 00 */ li r5, 0 +/* 800BDC34 000BAB94 89 01 00 0A */ lbz r8, 0xa(r1) +/* 800BDC38 000BAB98 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 +/* 800BDC3C 000BAB9C 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d +/* 800BDC40 000BABA0 B0 81 00 2A */ sth r4, 0x2a(r1) +/* 800BDC44 000BABA4 7F 83 E3 78 */ mr r3, r28 +/* 800BDC48 000BABA8 38 81 00 30 */ addi r4, r1, 0x30 +/* 800BDC4C 000BABAC 98 C1 00 28 */ stb r6, 0x28(r1) +/* 800BDC50 000BABB0 98 A1 00 29 */ stb r5, 0x29(r1) +/* 800BDC54 000BABB4 91 01 00 2C */ stw r8, 0x2c(r1) +/* 800BDC58 000BABB8 98 C1 00 30 */ stb r6, 0x30(r1) +/* 800BDC5C 000BABBC 98 A1 00 31 */ stb r5, 0x31(r1) +/* 800BDC60 000BABC0 B0 01 00 32 */ sth r0, 0x32(r1) +/* 800BDC64 000BABC4 91 01 00 34 */ stw r8, 0x34(r1) +/* 800BDC68 000BABC8 48 29 7F 6D */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BDC6C: +/* 800BDC6C 000BABCC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 800BDC70 000BABD0 41 82 01 7C */ beq lbl_800BDDEC +/* 800BDC74 000BABD4 80 19 00 C0 */ lwz r0, 0xc0(r25) +/* 800BDC78 000BABD8 28 00 00 00 */ cmplwi r0, 0 +/* 800BDC7C 000BABDC 40 82 00 30 */ bne lbl_800BDCAC +/* 800BDC80 000BABE0 88 19 00 BC */ lbz r0, 0xbc(r25) +/* 800BDC84 000BABE4 28 00 00 00 */ cmplwi r0, 0 +/* 800BDC88 000BABE8 41 82 00 24 */ beq lbl_800BDCAC +/* 800BDC8C 000BABEC 80 79 00 B8 */ lwz r3, 0xb8(r25) +/* 800BDC90 000BABF0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BDC94 000BABF4 28 00 00 00 */ cmplwi r0, 0 +/* 800BDC98 000BABF8 41 82 00 14 */ beq lbl_800BDCAC +/* 800BDC9C 000BABFC 38 79 00 B8 */ addi r3, r25, 0xb8 +/* 800BDCA0 000BAC00 48 28 31 6D */ bl GetObj__6CTokenFv +/* 800BDCA4 000BAC04 80 03 00 04 */ lwz r0, 4(r3) +/* 800BDCA8 000BAC08 90 19 00 C0 */ stw r0, 0xc0(r25) +lbl_800BDCAC: +/* 800BDCAC 000BAC0C 83 99 00 C0 */ lwz r28, 0xc0(r25) +/* 800BDCB0 000BAC10 28 1C 00 00 */ cmplwi r28, 0 +/* 800BDCB4 000BAC14 41 82 01 38 */ beq lbl_800BDDEC +/* 800BDCB8 000BAC18 80 C1 01 38 */ lwz r6, 0x138(r1) +/* 800BDCBC 000BAC1C FC 20 D0 90 */ fmr f1, f26 +/* 800BDCC0 000BAC20 80 A1 01 3C */ lwz r5, 0x13c(r1) +/* 800BDCC4 000BAC24 7F 64 DB 78 */ mr r4, r27 +/* 800BDCC8 000BAC28 80 01 01 40 */ lwz r0, 0x140(r1) +/* 800BDCCC 000BAC2C 38 61 00 FC */ addi r3, r1, 0xfc +/* 800BDCD0 000BAC30 90 C1 00 FC */ stw r6, 0xfc(r1) +/* 800BDCD4 000BAC34 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BDCD8 000BAC38 90 A1 01 00 */ stw r5, 0x100(r1) +/* 800BDCDC 000BAC3C 90 01 01 04 */ stw r0, 0x104(r1) +/* 800BDCE0 000BAC40 C0 06 02 0C */ lfs f0, 0x20c(r6) +/* 800BDCE4 000BAC44 C0 66 02 10 */ lfs f3, 0x210(r6) +/* 800BDCE8 000BAC48 EC 58 00 32 */ fmuls f2, f24, f0 +/* 800BDCEC 000BAC4C 4B FF F2 B1 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BDCF0 000BAC50 83 0D A1 40 */ lwz r24, gpTweakTargeting@sda21(r13) +/* 800BDCF4 000BAC54 7F 44 D3 78 */ mr r4, r26 +/* 800BDCF8 000BAC58 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BDCFC 000BAC5C 38 61 02 10 */ addi r3, r1, 0x210 +/* 800BDD00 000BAC60 C0 58 02 18 */ lfs f2, 0x218(r24) +/* 800BDD04 000BAC64 38 A1 01 EC */ addi r5, r1, 0x1ec +/* 800BDD08 000BAC68 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800BDD0C 000BAC6C D0 01 01 F0 */ stfs f0, 0x1f0(r1) +/* 800BDD10 000BAC70 D0 01 01 F4 */ stfs f0, 0x1f4(r1) +/* 800BDD14 000BAC74 D0 21 01 EC */ stfs f1, 0x1ec(r1) +/* 800BDD18 000BAC78 D0 01 01 F8 */ stfs f0, 0x1f8(r1) +/* 800BDD1C 000BAC7C D0 21 01 FC */ stfs f1, 0x1fc(r1) +/* 800BDD20 000BAC80 D0 01 02 00 */ stfs f0, 0x200(r1) +/* 800BDD24 000BAC84 D0 01 02 04 */ stfs f0, 0x204(r1) +/* 800BDD28 000BAC88 D0 01 02 08 */ stfs f0, 0x208(r1) +/* 800BDD2C 000BAC8C D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 800BDD30 000BAC90 48 25 24 01 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BDD34 000BAC94 38 61 03 D8 */ addi r3, r1, 0x3d8 +/* 800BDD38 000BAC98 38 81 02 10 */ addi r4, r1, 0x210 +/* 800BDD3C 000BAC9C 48 25 22 E9 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BDD40 000BACA0 C0 59 01 7C */ lfs f2, 0x17c(r25) +/* 800BDD44 000BACA4 38 61 01 BC */ addi r3, r1, 0x1bc +/* 800BDD48 000BACA8 C0 39 01 80 */ lfs f1, 0x180(r25) +/* 800BDD4C 000BACAC 38 81 03 D8 */ addi r4, r1, 0x3d8 +/* 800BDD50 000BACB0 C0 19 01 84 */ lfs f0, 0x184(r25) +/* 800BDD54 000BACB4 38 A1 00 F0 */ addi r5, r1, 0xf0 +/* 800BDD58 000BACB8 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 800BDD5C 000BACBC D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 800BDD60 000BACC0 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 800BDD64 000BACC4 48 25 55 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BDD68 000BACC8 7C 64 1B 78 */ mr r4, r3 +/* 800BDD6C 000BACCC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BDD70 000BACD0 81 83 00 00 */ lwz r12, 0(r3) +/* 800BDD74 000BACD4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BDD78 000BACD8 7D 89 03 A6 */ mtctr r12 +/* 800BDD7C 000BACDC 4E 80 04 21 */ bctrl +/* 800BDD80 000BACE0 88 78 00 B3 */ lbz r3, 0xb3(r24) +/* 800BDD84 000BACE4 3C 00 43 30 */ lis r0, 0x4330 +/* 800BDD88 000BACE8 90 01 04 48 */ stw r0, 0x448(r1) +/* 800BDD8C 000BACEC C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BDD90 000BACF0 90 61 04 4C */ stw r3, 0x44c(r1) +/* 800BDD94 000BACF4 C8 01 04 48 */ lfd f0, 0x448(r1) +/* 800BDD98 000BACF8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BDD9C 000BACFC EF 9F 00 32 */ fmuls f28, f31, f0 +/* 800BDDA0 000BAD00 F3 81 A0 09 */ psq_st f28, 9(r1), 1, qr2 +/* 800BDDA4 000BAD04 38 80 00 03 */ li r4, 3 +/* 800BDDA8 000BAD08 80 F8 00 B0 */ lwz r7, 0xb0(r24) +/* 800BDDAC 000BAD0C 38 C0 00 07 */ li r6, 7 +/* 800BDDB0 000BAD10 38 A0 00 00 */ li r5, 0 +/* 800BDDB4 000BAD14 89 01 00 09 */ lbz r8, 9(r1) +/* 800BDDB8 000BAD18 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 +/* 800BDDBC 000BAD1C 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d +/* 800BDDC0 000BAD20 B0 81 00 1A */ sth r4, 0x1a(r1) +/* 800BDDC4 000BAD24 7F 83 E3 78 */ mr r3, r28 +/* 800BDDC8 000BAD28 38 81 00 20 */ addi r4, r1, 0x20 +/* 800BDDCC 000BAD2C 98 C1 00 18 */ stb r6, 0x18(r1) +/* 800BDDD0 000BAD30 98 A1 00 19 */ stb r5, 0x19(r1) +/* 800BDDD4 000BAD34 91 01 00 1C */ stw r8, 0x1c(r1) +/* 800BDDD8 000BAD38 98 C1 00 20 */ stb r6, 0x20(r1) +/* 800BDDDC 000BAD3C 98 A1 00 21 */ stb r5, 0x21(r1) +/* 800BDDE0 000BAD40 B0 01 00 22 */ sth r0, 0x22(r1) +/* 800BDDE4 000BAD44 91 01 00 24 */ stw r8, 0x24(r1) +/* 800BDDE8 000BAD48 48 29 7D ED */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BDDEC: +/* 800BDDEC 000BAD4C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800BDDF0 000BAD50 41 82 03 F0 */ beq lbl_800BE1E0 +/* 800BDDF4 000BAD54 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BDDF8 000BAD58 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800BDDFC 000BAD5C 40 81 03 E4 */ ble lbl_800BE1E0 +/* 800BDE00 000BAD60 80 C1 01 38 */ lwz r6, 0x138(r1) +/* 800BDE04 000BAD64 FC 20 D0 90 */ fmr f1, f26 +/* 800BDE08 000BAD68 80 A1 01 3C */ lwz r5, 0x13c(r1) +/* 800BDE0C 000BAD6C 7F 64 DB 78 */ mr r4, r27 +/* 800BDE10 000BAD70 80 01 01 40 */ lwz r0, 0x140(r1) +/* 800BDE14 000BAD74 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800BDE18 000BAD78 90 C1 00 E4 */ stw r6, 0xe4(r1) +/* 800BDE1C 000BAD7C 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BDE20 000BAD80 90 A1 00 E8 */ stw r5, 0xe8(r1) +/* 800BDE24 000BAD84 C2 F9 01 88 */ lfs f23, 0x188(r25) +/* 800BDE28 000BAD88 90 01 00 EC */ stw r0, 0xec(r1) +/* 800BDE2C 000BAD8C C0 06 02 1C */ lfs f0, 0x21c(r6) +/* 800BDE30 000BAD90 C0 66 02 20 */ lfs f3, 0x220(r6) +/* 800BDE34 000BAD94 EC 58 00 32 */ fmuls f2, f24, f0 +/* 800BDE38 000BAD98 4B FF F1 65 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BDE3C 000BAD9C EE 9F 05 F2 */ fmuls f20, f31, f23 +/* 800BDE40 000BADA0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BDE44 000BADA4 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) +/* 800BDE48 000BADA8 7F 44 D3 78 */ mr r4, r26 +/* 800BDE4C 000BADAC D0 01 01 78 */ stfs f0, 0x178(r1) +/* 800BDE50 000BADB0 38 61 01 98 */ addi r3, r1, 0x198 +/* 800BDE54 000BADB4 EC 42 A0 24 */ fdivs f2, f2, f20 +/* 800BDE58 000BADB8 D0 01 01 7C */ stfs f0, 0x17c(r1) +/* 800BDE5C 000BADBC 83 4D A1 3C */ lwz r26, gpTweakGuiColors@sda21(r13) +/* 800BDE60 000BADC0 38 A1 01 74 */ addi r5, r1, 0x174 +/* 800BDE64 000BADC4 D0 01 01 80 */ stfs f0, 0x180(r1) +/* 800BDE68 000BADC8 D0 01 01 88 */ stfs f0, 0x188(r1) +/* 800BDE6C 000BADCC EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800BDE70 000BADD0 D0 01 01 8C */ stfs f0, 0x18c(r1) +/* 800BDE74 000BADD4 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 800BDE78 000BADD8 D0 21 01 74 */ stfs f1, 0x174(r1) +/* 800BDE7C 000BADDC D0 21 01 84 */ stfs f1, 0x184(r1) +/* 800BDE80 000BADE0 D0 21 01 94 */ stfs f1, 0x194(r1) +/* 800BDE84 000BADE4 48 25 22 AD */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BDE88 000BADE8 38 61 03 B4 */ addi r3, r1, 0x3b4 +/* 800BDE8C 000BADEC 38 81 01 98 */ addi r4, r1, 0x198 +/* 800BDE90 000BADF0 48 25 21 95 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BDE94 000BADF4 C0 59 01 7C */ lfs f2, 0x17c(r25) +/* 800BDE98 000BADF8 38 61 01 44 */ addi r3, r1, 0x144 +/* 800BDE9C 000BADFC C0 39 01 80 */ lfs f1, 0x180(r25) +/* 800BDEA0 000BAE00 38 81 03 B4 */ addi r4, r1, 0x3b4 +/* 800BDEA4 000BAE04 C0 19 01 84 */ lfs f0, 0x184(r25) +/* 800BDEA8 000BAE08 38 A1 00 D8 */ addi r5, r1, 0xd8 +/* 800BDEAC 000BAE0C D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 800BDEB0 000BAE10 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 800BDEB4 000BAE14 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 800BDEB8 000BAE18 48 25 53 C1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BDEBC 000BAE1C 7C 64 1B 78 */ mr r4, r3 +/* 800BDEC0 000BAE20 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BDEC4 000BAE24 81 83 00 00 */ lwz r12, 0(r3) +/* 800BDEC8 000BAE28 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BDECC 000BAE2C 7D 89 03 A6 */ mtctr r12 +/* 800BDED0 000BAE30 4E 80 04 21 */ bctrl +/* 800BDED4 000BAE34 38 60 00 01 */ li r3, 1 +/* 800BDED8 000BAE38 38 80 00 01 */ li r4, 1 +/* 800BDEDC 000BAE3C 38 A0 00 00 */ li r5, 0 +/* 800BDEE0 000BAE40 48 24 DB B5 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 800BDEE4 000BAE44 C2 E2 8D 64 */ lfs f23, lbl_805AAA84@sda21(r2) +/* 800BDEE8 000BAE48 3B 00 00 00 */ li r24, 0 +/* 800BDEEC 000BAE4C C3 42 8D 30 */ lfs f26, lbl_805AAA50@sda21(r2) +/* 800BDEF0 000BAE50 3F 20 43 30 */ lis r25, 0x4330 +/* 800BDEF4 000BAE54 EE 97 05 32 */ fmuls f20, f23, f20 +/* 800BDEF8 000BAE58 C3 22 8D 54 */ lfs f25, lbl_805AAA74@sda21(r2) +/* 800BDEFC 000BAE5C C3 02 8D 80 */ lfs f24, lbl_805AAAA0@sda21(r2) +/* 800BDF00 000BAE60 CB E2 8D 48 */ lfd f31, lbl_805AAA68@sda21(r2) +/* 800BDF04 000BAE64 C3 C2 8D 70 */ lfs f30, lbl_805AAA90@sda21(r2) +/* 800BDF08 000BAE68 C3 A2 8D 74 */ lfs f29, lbl_805AAA94@sda21(r2) +/* 800BDF0C 000BAE6C C3 82 8D 78 */ lfs f28, lbl_805AAA98@sda21(r2) +lbl_800BDF10: +/* 800BDF10 000BAE70 2C 18 00 00 */ cmpwi r24, 0 +/* 800BDF14 000BAE74 40 82 00 0C */ bne lbl_800BDF20 +/* 800BDF18 000BAE78 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +/* 800BDF1C 000BAE7C 48 00 00 08 */ b lbl_800BDF24 +lbl_800BDF20: +/* 800BDF20 000BAE80 C0 22 8D 6C */ lfs f1, lbl_805AAA8C@sda21(r2) +lbl_800BDF24: +/* 800BDF24 000BAE84 38 60 00 00 */ li r3, 0 +/* 800BDF28 000BAE88 48 24 D4 B1 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 800BDF2C 000BAE8C 88 1A 01 9B */ lbz r0, 0x19b(r26) +/* 800BDF30 000BAE90 93 21 04 48 */ stw r25, 0x448(r1) +/* 800BDF34 000BAE94 90 01 04 4C */ stw r0, 0x44c(r1) +/* 800BDF38 000BAE98 C8 01 04 48 */ lfd f0, 0x448(r1) +/* 800BDF3C 000BAE9C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800BDF40 000BAEA0 EF 74 00 32 */ fmuls f27, f20, f0 +/* 800BDF44 000BAEA4 F3 61 A0 08 */ psq_st f27, 8(r1), 1, qr2 +/* 800BDF48 000BAEA8 38 80 00 08 */ li r4, 8 +/* 800BDF4C 000BAEAC 80 BA 01 98 */ lwz r5, 0x198(r26) +/* 800BDF50 000BAEB0 88 01 00 08 */ lbz r0, 8(r1) +/* 800BDF54 000BAEB4 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 800BDF58 000BAEB8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BDF5C 000BAEBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BDF60 000BAEC0 81 83 00 00 */ lwz r12, 0(r3) +/* 800BDF64 000BAEC4 81 8C 00 94 */ lwz r12, 0x94(r12) +/* 800BDF68 000BAEC8 7D 89 03 A6 */ mtctr r12 +/* 800BDF6C 000BAECC 4E 80 04 21 */ bctrl +/* 800BDF70 000BAED0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BDF74 000BAED4 38 81 00 14 */ addi r4, r1, 0x14 +/* 800BDF78 000BAED8 81 83 00 00 */ lwz r12, 0(r3) +/* 800BDF7C 000BAEDC 81 8C 00 B4 */ lwz r12, 0xb4(r12) +/* 800BDF80 000BAEE0 7D 89 03 A6 */ mtctr r12 +/* 800BDF84 000BAEE4 4E 80 04 21 */ bctrl +/* 800BDF88 000BAEE8 D3 C1 00 CC */ stfs f30, 0xcc(r1) +/* 800BDF8C 000BAEEC 38 81 00 CC */ addi r4, r1, 0xcc +/* 800BDF90 000BAEF0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BDF94 000BAEF4 D3 41 00 D0 */ stfs f26, 0xd0(r1) +/* 800BDF98 000BAEF8 D3 41 00 D4 */ stfs f26, 0xd4(r1) +/* 800BDF9C 000BAEFC 81 83 00 00 */ lwz r12, 0(r3) +/* 800BDFA0 000BAF00 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BDFA4 000BAF04 7D 89 03 A6 */ mtctr r12 +/* 800BDFA8 000BAF08 4E 80 04 21 */ bctrl +/* 800BDFAC 000BAF0C D3 A1 00 C0 */ stfs f29, 0xc0(r1) +/* 800BDFB0 000BAF10 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 800BDFB4 000BAF14 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BDFB8 000BAF18 D3 41 00 C4 */ stfs f26, 0xc4(r1) +/* 800BDFBC 000BAF1C D3 41 00 C8 */ stfs f26, 0xc8(r1) +/* 800BDFC0 000BAF20 81 83 00 00 */ lwz r12, 0(r3) +/* 800BDFC4 000BAF24 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BDFC8 000BAF28 7D 89 03 A6 */ mtctr r12 +/* 800BDFCC 000BAF2C 4E 80 04 21 */ bctrl +/* 800BDFD0 000BAF30 D2 E1 00 B4 */ stfs f23, 0xb4(r1) +/* 800BDFD4 000BAF34 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 800BDFD8 000BAF38 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BDFDC 000BAF3C D3 41 00 B8 */ stfs f26, 0xb8(r1) +/* 800BDFE0 000BAF40 D3 41 00 BC */ stfs f26, 0xbc(r1) +/* 800BDFE4 000BAF44 81 83 00 00 */ lwz r12, 0(r3) +/* 800BDFE8 000BAF48 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BDFEC 000BAF4C 7D 89 03 A6 */ mtctr r12 +/* 800BDFF0 000BAF50 4E 80 04 21 */ bctrl +/* 800BDFF4 000BAF54 D3 81 00 A8 */ stfs f28, 0xa8(r1) +/* 800BDFF8 000BAF58 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800BDFFC 000BAF5C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE000 000BAF60 D3 41 00 AC */ stfs f26, 0xac(r1) +/* 800BE004 000BAF64 D3 41 00 B0 */ stfs f26, 0xb0(r1) +/* 800BE008 000BAF68 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE00C 000BAF6C 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BE010 000BAF70 7D 89 03 A6 */ mtctr r12 +/* 800BE014 000BAF74 4E 80 04 21 */ bctrl +/* 800BE018 000BAF78 D3 41 00 9C */ stfs f26, 0x9c(r1) +/* 800BE01C 000BAF7C 38 81 00 9C */ addi r4, r1, 0x9c +/* 800BE020 000BAF80 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE024 000BAF84 D3 41 00 A0 */ stfs f26, 0xa0(r1) +/* 800BE028 000BAF88 D3 C1 00 A4 */ stfs f30, 0xa4(r1) +/* 800BE02C 000BAF8C 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE030 000BAF90 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BE034 000BAF94 7D 89 03 A6 */ mtctr r12 +/* 800BE038 000BAF98 4E 80 04 21 */ bctrl +/* 800BE03C 000BAF9C D3 41 00 90 */ stfs f26, 0x90(r1) +/* 800BE040 000BAFA0 38 81 00 90 */ addi r4, r1, 0x90 +/* 800BE044 000BAFA4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE048 000BAFA8 D3 41 00 94 */ stfs f26, 0x94(r1) +/* 800BE04C 000BAFAC D3 A1 00 98 */ stfs f29, 0x98(r1) +/* 800BE050 000BAFB0 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE054 000BAFB4 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BE058 000BAFB8 7D 89 03 A6 */ mtctr r12 +/* 800BE05C 000BAFBC 4E 80 04 21 */ bctrl +/* 800BE060 000BAFC0 D3 41 00 84 */ stfs f26, 0x84(r1) +/* 800BE064 000BAFC4 38 81 00 84 */ addi r4, r1, 0x84 +/* 800BE068 000BAFC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE06C 000BAFCC D3 41 00 88 */ stfs f26, 0x88(r1) +/* 800BE070 000BAFD0 D2 E1 00 8C */ stfs f23, 0x8c(r1) +/* 800BE074 000BAFD4 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE078 000BAFD8 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BE07C 000BAFDC 7D 89 03 A6 */ mtctr r12 +/* 800BE080 000BAFE0 4E 80 04 21 */ bctrl +/* 800BE084 000BAFE4 D3 41 00 78 */ stfs f26, 0x78(r1) +/* 800BE088 000BAFE8 38 81 00 78 */ addi r4, r1, 0x78 +/* 800BE08C 000BAFEC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE090 000BAFF0 D3 41 00 7C */ stfs f26, 0x7c(r1) +/* 800BE094 000BAFF4 D3 81 00 80 */ stfs f28, 0x80(r1) +/* 800BE098 000BAFF8 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE09C 000BAFFC 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BE0A0 000BB000 7D 89 03 A6 */ mtctr r12 +/* 800BE0A4 000BB004 4E 80 04 21 */ bctrl +/* 800BE0A8 000BB008 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE0AC 000BB00C 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE0B0 000BB010 81 8C 00 B8 */ lwz r12, 0xb8(r12) +/* 800BE0B4 000BB014 7D 89 03 A6 */ mtctr r12 +/* 800BE0B8 000BB018 4E 80 04 21 */ bctrl +/* 800BE0BC 000BB01C 3B 60 00 00 */ li r27, 0 +lbl_800BE0C0: +/* 800BE0C0 000BB020 2C 1B 00 02 */ cmpwi r27, 2 +/* 800BE0C4 000BB024 40 80 00 0C */ bge lbl_800BE0D0 +/* 800BE0C8 000BB028 C2 C2 8D 7C */ lfs f22, lbl_805AAA9C@sda21(r2) +/* 800BE0CC 000BB02C 48 00 00 08 */ b lbl_800BE0D4 +lbl_800BE0D0: +/* 800BE0D0 000BB030 C2 C2 8D 38 */ lfs f22, lbl_805AAA58@sda21(r2) +lbl_800BE0D4: +/* 800BE0D4 000BB034 57 60 07 FF */ clrlwi. r0, r27, 0x1f +/* 800BE0D8 000BB038 41 82 00 0C */ beq lbl_800BE0E4 +/* 800BE0DC 000BB03C C2 A2 8D 7C */ lfs f21, lbl_805AAA9C@sda21(r2) +/* 800BE0E0 000BB040 48 00 00 08 */ b lbl_800BE0E8 +lbl_800BE0E4: +/* 800BE0E4 000BB044 C2 A2 8D 38 */ lfs f21, lbl_805AAA58@sda21(r2) +lbl_800BE0E8: +/* 800BE0E8 000BB048 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE0EC 000BB04C 38 80 00 04 */ li r4, 4 +/* 800BE0F0 000BB050 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE0F4 000BB054 81 8C 00 98 */ lwz r12, 0x98(r12) +/* 800BE0F8 000BB058 7D 89 03 A6 */ mtctr r12 +/* 800BE0FC 000BB05C 4E 80 04 21 */ bctrl +/* 800BE100 000BB060 EE 77 05 B2 */ fmuls f19, f23, f22 +/* 800BE104 000BB064 D3 41 00 70 */ stfs f26, 0x70(r1) +/* 800BE108 000BB068 EC 19 05 72 */ fmuls f0, f25, f21 +/* 800BE10C 000BB06C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE110 000BB070 38 81 00 6C */ addi r4, r1, 0x6c +/* 800BE114 000BB074 D2 61 00 6C */ stfs f19, 0x6c(r1) +/* 800BE118 000BB078 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800BE11C 000BB07C 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE120 000BB080 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BE124 000BB084 7D 89 03 A6 */ mtctr r12 +/* 800BE128 000BB088 4E 80 04 21 */ bctrl +/* 800BE12C 000BB08C EC 18 05 72 */ fmuls f0, f24, f21 +/* 800BE130 000BB090 D2 61 00 60 */ stfs f19, 0x60(r1) +/* 800BE134 000BB094 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE138 000BB098 38 81 00 60 */ addi r4, r1, 0x60 +/* 800BE13C 000BB09C D3 41 00 64 */ stfs f26, 0x64(r1) +/* 800BE140 000BB0A0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800BE144 000BB0A4 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE148 000BB0A8 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BE14C 000BB0AC 7D 89 03 A6 */ mtctr r12 +/* 800BE150 000BB0B0 4E 80 04 21 */ bctrl +/* 800BE154 000BB0B4 EC 18 05 B2 */ fmuls f0, f24, f22 +/* 800BE158 000BB0B8 D3 41 00 58 */ stfs f26, 0x58(r1) +/* 800BE15C 000BB0BC EE 77 05 72 */ fmuls f19, f23, f21 +/* 800BE160 000BB0C0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE164 000BB0C4 38 81 00 54 */ addi r4, r1, 0x54 +/* 800BE168 000BB0C8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800BE16C 000BB0CC D2 61 00 5C */ stfs f19, 0x5c(r1) +/* 800BE170 000BB0D0 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE174 000BB0D4 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BE178 000BB0D8 7D 89 03 A6 */ mtctr r12 +/* 800BE17C 000BB0DC 4E 80 04 21 */ bctrl +/* 800BE180 000BB0E0 EC 19 05 B2 */ fmuls f0, f25, f22 +/* 800BE184 000BB0E4 D3 41 00 4C */ stfs f26, 0x4c(r1) +/* 800BE188 000BB0E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE18C 000BB0EC 38 81 00 48 */ addi r4, r1, 0x48 +/* 800BE190 000BB0F0 D2 61 00 50 */ stfs f19, 0x50(r1) +/* 800BE194 000BB0F4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800BE198 000BB0F8 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE19C 000BB0FC 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800BE1A0 000BB100 7D 89 03 A6 */ mtctr r12 +/* 800BE1A4 000BB104 4E 80 04 21 */ bctrl +/* 800BE1A8 000BB108 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE1AC 000BB10C 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE1B0 000BB110 81 8C 00 B8 */ lwz r12, 0xb8(r12) +/* 800BE1B4 000BB114 7D 89 03 A6 */ mtctr r12 +/* 800BE1B8 000BB118 4E 80 04 21 */ bctrl +/* 800BE1BC 000BB11C 3B 7B 00 01 */ addi r27, r27, 1 +/* 800BE1C0 000BB120 2C 1B 00 04 */ cmpwi r27, 4 +/* 800BE1C4 000BB124 41 80 FE FC */ blt lbl_800BE0C0 +/* 800BE1C8 000BB128 3B 18 00 01 */ addi r24, r24, 1 +/* 800BE1CC 000BB12C 2C 18 00 02 */ cmpwi r24, 2 +/* 800BE1D0 000BB130 41 80 FD 40 */ blt lbl_800BDF10 +/* 800BE1D4 000BB134 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +/* 800BE1D8 000BB138 38 60 00 00 */ li r3, 0 +/* 800BE1DC 000BB13C 48 24 D1 FD */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +lbl_800BE1E0: +/* 800BE1E0 000BB140 E3 E1 05 38 */ psq_l f31, 1336(r1), 0, qr0 +/* 800BE1E4 000BB144 CB E1 05 30 */ lfd f31, 0x530(r1) +/* 800BE1E8 000BB148 E3 C1 05 28 */ psq_l f30, 1320(r1), 0, qr0 +/* 800BE1EC 000BB14C CB C1 05 20 */ lfd f30, 0x520(r1) +/* 800BE1F0 000BB150 E3 A1 05 18 */ psq_l f29, 1304(r1), 0, qr0 +/* 800BE1F4 000BB154 CB A1 05 10 */ lfd f29, 0x510(r1) +/* 800BE1F8 000BB158 E3 81 05 08 */ psq_l f28, 1288(r1), 0, qr0 +/* 800BE1FC 000BB15C CB 81 05 00 */ lfd f28, 0x500(r1) +/* 800BE200 000BB160 E3 61 04 F8 */ psq_l f27, 1272(r1), 0, qr0 +/* 800BE204 000BB164 CB 61 04 F0 */ lfd f27, 0x4f0(r1) +/* 800BE208 000BB168 E3 41 04 E8 */ psq_l f26, 1256(r1), 0, qr0 +/* 800BE20C 000BB16C CB 41 04 E0 */ lfd f26, 0x4e0(r1) +/* 800BE210 000BB170 E3 21 04 D8 */ psq_l f25, 1240(r1), 0, qr0 +/* 800BE214 000BB174 CB 21 04 D0 */ lfd f25, 0x4d0(r1) +/* 800BE218 000BB178 E3 01 04 C8 */ psq_l f24, 1224(r1), 0, qr0 +/* 800BE21C 000BB17C CB 01 04 C0 */ lfd f24, 0x4c0(r1) +/* 800BE220 000BB180 E2 E1 04 B8 */ psq_l f23, 1208(r1), 0, qr0 +/* 800BE224 000BB184 CA E1 04 B0 */ lfd f23, 0x4b0(r1) +/* 800BE228 000BB188 E2 C1 04 A8 */ psq_l f22, 1192(r1), 0, qr0 +/* 800BE22C 000BB18C CA C1 04 A0 */ lfd f22, 0x4a0(r1) +/* 800BE230 000BB190 E2 A1 04 98 */ psq_l f21, 1176(r1), 0, qr0 +/* 800BE234 000BB194 CA A1 04 90 */ lfd f21, 0x490(r1) +/* 800BE238 000BB198 E2 81 04 88 */ psq_l f20, 1160(r1), 0, qr0 +/* 800BE23C 000BB19C CA 81 04 80 */ lfd f20, 0x480(r1) +/* 800BE240 000BB1A0 E2 61 04 78 */ psq_l f19, 1144(r1), 0, qr0 +/* 800BE244 000BB1A4 CA 61 04 70 */ lfd f19, 0x470(r1) +/* 800BE248 000BB1A8 BB 01 04 50 */ lmw r24, 0x450(r1) +/* 800BE24C 000BB1AC 80 01 05 44 */ lwz r0, 0x544(r1) +/* 800BE250 000BB1B0 7C 08 03 A6 */ mtlr r0 +/* 800BE254 000BB1B4 38 21 05 40 */ addi r1, r1, 0x540 +/* 800BE258 000BB1B8 4E 80 00 20 */ blr + +.global DrawCurrLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager +DrawCurrLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager: +/* 800BE25C 000BB1BC 94 21 F3 A0 */ stwu r1, -0xc60(r1) +/* 800BE260 000BB1C0 7C 08 02 A6 */ mflr r0 +/* 800BE264 000BB1C4 90 01 0C 64 */ stw r0, 0xc64(r1) +/* 800BE268 000BB1C8 DB E1 0C 50 */ stfd f31, 0xc50(r1) +/* 800BE26C 000BB1CC F3 E1 0C 58 */ psq_st f31, -936(r1), 0, qr0 +/* 800BE270 000BB1D0 DB C1 0C 40 */ stfd f30, 0xc40(r1) +/* 800BE274 000BB1D4 F3 C1 0C 48 */ psq_st f30, -952(r1), 0, qr0 +/* 800BE278 000BB1D8 DB A1 0C 30 */ stfd f29, 0xc30(r1) +/* 800BE27C 000BB1DC F3 A1 0C 38 */ psq_st f29, -968(r1), 0, qr0 +/* 800BE280 000BB1E0 DB 81 0C 20 */ stfd f28, 0xc20(r1) +/* 800BE284 000BB1E4 F3 81 0C 28 */ psq_st f28, -984(r1), 0, qr0 +/* 800BE288 000BB1E8 DB 61 0C 10 */ stfd f27, 0xc10(r1) +/* 800BE28C 000BB1EC F3 61 0C 18 */ psq_st f27, -1000(r1), 0, qr0 +/* 800BE290 000BB1F0 DB 41 0C 00 */ stfd f26, 0xc00(r1) +/* 800BE294 000BB1F4 F3 41 0C 08 */ psq_st f26, -1016(r1), 0, qr0 +/* 800BE298 000BB1F8 DB 21 0B F0 */ stfd f25, 0xbf0(r1) +/* 800BE29C 000BB1FC F3 21 0B F8 */ psq_st f25, -1032(r1), 0, qr0 +/* 800BE2A0 000BB200 DB 01 0B E0 */ stfd f24, 0xbe0(r1) +/* 800BE2A4 000BB204 F3 01 0B E8 */ psq_st f24, -1048(r1), 0, qr0 +/* 800BE2A8 000BB208 DA E1 0B D0 */ stfd f23, 0xbd0(r1) +/* 800BE2AC 000BB20C F2 E1 0B D8 */ psq_st f23, -1064(r1), 0, qr0 +/* 800BE2B0 000BB210 DA C1 0B C0 */ stfd f22, 0xbc0(r1) +/* 800BE2B4 000BB214 F2 C1 0B C8 */ psq_st f22, -1080(r1), 0, qr0 +/* 800BE2B8 000BB218 DA A1 0B B0 */ stfd f21, 0xbb0(r1) +/* 800BE2BC 000BB21C F2 A1 0B B8 */ psq_st f21, -1096(r1), 0, qr0 +/* 800BE2C0 000BB220 DA 81 0B A0 */ stfd f20, 0xba0(r1) +/* 800BE2C4 000BB224 F2 81 0B A8 */ psq_st f20, -1112(r1), 0, qr0 +/* 800BE2C8 000BB228 DA 61 0B 90 */ stfd f19, 0xb90(r1) +/* 800BE2CC 000BB22C F2 61 0B 98 */ psq_st f19, -1128(r1), 0, qr0 +/* 800BE2D0 000BB230 DA 41 0B 80 */ stfd f18, 0xb80(r1) +/* 800BE2D4 000BB234 F2 41 0B 88 */ psq_st f18, -1144(r1), 0, qr0 +/* 800BE2D8 000BB238 DA 21 0B 70 */ stfd f17, 0xb70(r1) +/* 800BE2DC 000BB23C F2 21 0B 78 */ psq_st f17, -1160(r1), 0, qr0 +/* 800BE2E0 000BB240 DA 01 0B 60 */ stfd f16, 0xb60(r1) +/* 800BE2E4 000BB244 F2 01 0B 68 */ psq_st f16, -1176(r1), 0, qr0 +/* 800BE2E8 000BB248 D9 E1 0B 50 */ stfd f15, 0xb50(r1) +/* 800BE2EC 000BB24C F1 E1 0B 58 */ psq_st f15, -1192(r1), 0, qr0 +/* 800BE2F0 000BB250 BE A1 0B 24 */ stmw r21, 0xb24(r1) +/* 800BE2F4 000BB254 7C 7F 1B 78 */ mr r31, r3 +/* 800BE2F8 000BB258 7C 9E 23 78 */ mr r30, r4 +/* 800BE2FC 000BB25C 80 03 00 28 */ lwz r0, 0x28(r3) +/* 800BE300 000BB260 7C BD 2B 78 */ mr r29, r5 +/* 800BE304 000BB264 2C 00 00 00 */ cmpwi r0, 0 +/* 800BE308 000BB268 41 81 14 B0 */ bgt lbl_800BF7B8 +/* 800BE30C 000BB26C C0 3F 01 E0 */ lfs f1, 0x1e0(r31) +/* 800BE310 000BB270 C0 1F 01 E4 */ lfs f0, 0x1e4(r31) +/* 800BE314 000BB274 C0 9F 01 14 */ lfs f4, 0x114(r31) +/* 800BE318 000BB278 EC 21 00 2A */ fadds f1, f1, f0 +/* 800BE31C 000BB27C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BE320 000BB280 C0 7F 01 18 */ lfs f3, 0x118(r31) +/* 800BE324 000BB284 C0 5F 01 1C */ lfs f2, 0x11c(r31) +/* 800BE328 000BB288 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BE32C 000BB28C D0 81 01 E0 */ stfs f4, 0x1e0(r1) +/* 800BE330 000BB290 C3 3F 01 10 */ lfs f25, 0x110(r31) +/* 800BE334 000BB294 D0 61 01 E4 */ stfs f3, 0x1e4(r1) +/* 800BE338 000BB298 D0 41 01 E8 */ stfs f2, 0x1e8(r1) +/* 800BE33C 000BB29C 41 81 14 7C */ bgt lbl_800BF7B8 +/* 800BE340 000BB2A0 C3 1F 01 20 */ lfs f24, 0x120(r31) +/* 800BE344 000BB2A4 FE A0 C0 90 */ fmr f21, f24 +/* 800BE348 000BB2A8 FC 00 C0 00 */ fcmpu cr0, f0, f24 +/* 800BE34C 000BB2AC 41 82 14 6C */ beq lbl_800BF7B8 +/* 800BE350 000BB2B0 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 800BE354 000BB2B4 80 63 00 00 */ lwz r3, 0(r3) +/* 800BE358 000BB2B8 4B FD 35 0D */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 800BE35C 000BB2BC 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 800BE360 000BB2C0 FE 40 08 90 */ fmr f18, f1 +/* 800BE364 000BB2C4 C2 FF 01 24 */ lfs f23, 0x124(r31) +/* 800BE368 000BB2C8 3B 40 00 00 */ li r26, 0 +/* 800BE36C 000BB2CC 2C 00 00 01 */ cmpwi r0, 1 +/* 800BE370 000BB2D0 3B 20 00 00 */ li r25, 0 +/* 800BE374 000BB2D4 41 82 00 24 */ beq lbl_800BE398 +/* 800BE378 000BB2D8 40 80 00 24 */ bge lbl_800BE39C +/* 800BE37C 000BB2DC 2C 00 00 00 */ cmpwi r0, 0 +/* 800BE380 000BB2E0 40 80 00 0C */ bge lbl_800BE38C +/* 800BE384 000BB2E4 48 00 00 18 */ b lbl_800BE39C +/* 800BE388 000BB2E8 48 00 00 14 */ b lbl_800BE39C +lbl_800BE38C: +/* 800BE38C 000BB2EC 3B 40 00 01 */ li r26, 1 +/* 800BE390 000BB2F0 3B 20 00 01 */ li r25, 1 +/* 800BE394 000BB2F4 48 00 00 08 */ b lbl_800BE39C +lbl_800BE398: +/* 800BE398 000BB2F8 3B 40 00 01 */ li r26, 1 +lbl_800BE39C: +/* 800BE39C 000BB2FC 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 800BE3A0 000BB300 38 61 0A EC */ addi r3, r1, 0xaec +/* 800BE3A4 000BB304 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 800BE3A8 000BB308 48 25 1C 7D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BE3AC 000BB30C 38 00 00 00 */ li r0, 0 +/* 800BE3B0 000BB310 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 800BE3B4 000BB314 90 01 00 8C */ stw r0, 0x8c(r1) +/* 800BE3B8 000BB318 80 63 03 0C */ lwz r3, 0x30c(r3) +/* 800BE3BC 000BB31C 48 00 37 AD */ bl IsDamageOrbit__F19EPlayerOrbitRequest +/* 800BE3C0 000BB320 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BE3C4 000BB324 41 82 01 BC */ beq lbl_800BE580 +/* 800BE3C8 000BB328 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800BE3CC 000BB32C C0 1F 01 60 */ lfs f0, 0x160(r31) +/* 800BE3D0 000BB330 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800BE3D4 000BB334 40 82 01 AC */ bne lbl_800BE580 +/* 800BE3D8 000BB338 3C 60 80 5A */ lis r3, lbl_805A6718@ha +/* 800BE3DC 000BB33C 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 800BE3E0 000BB340 38 E3 67 18 */ addi r7, r3, lbl_805A6718@l +/* 800BE3E4 000BB344 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800BE3E8 000BB348 38 C4 67 24 */ addi r6, r4, lbl_805A6724@l +/* 800BE3EC 000BB34C C1 07 00 00 */ lfs f8, 0(r7) +/* 800BE3F0 000BB350 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l +/* 800BE3F4 000BB354 C0 E7 00 04 */ lfs f7, 4(r7) +/* 800BE3F8 000BB358 C0 C7 00 08 */ lfs f6, 8(r7) +/* 800BE3FC 000BB35C 3C 80 38 E4 */ lis r4, 0x38E38E39@ha +/* 800BE400 000BB360 C0 A6 00 00 */ lfs f5, 0(r6) +/* 800BE404 000BB364 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 800BE408 000BB368 C0 86 00 04 */ lfs f4, 4(r6) +/* 800BE40C 000BB36C 3B 64 8E 39 */ addi r27, r4, 0x38E38E39@l +/* 800BE410 000BB370 C0 66 00 08 */ lfs f3, 8(r6) +/* 800BE414 000BB374 3B 83 55 56 */ addi r28, r3, 0x55555556@l +/* 800BE418 000BB378 C0 45 00 00 */ lfs f2, 0(r5) +/* 800BE41C 000BB37C 3A C1 0A C8 */ addi r22, r1, 0xac8 +/* 800BE420 000BB380 C0 25 00 04 */ lfs f1, 4(r5) +/* 800BE424 000BB384 3B 00 00 00 */ li r24, 0 +/* 800BE428 000BB388 C0 05 00 08 */ lfs f0, 8(r5) +/* 800BE42C 000BB38C 3E E0 43 30 */ lis r23, 0x4330 +/* 800BE430 000BB390 D1 01 0A C8 */ stfs f8, 0xac8(r1) +/* 800BE434 000BB394 CA A2 8D 40 */ lfd f21, lbl_805AAA60@sda21(r2) +/* 800BE438 000BB398 D0 E1 0A CC */ stfs f7, 0xacc(r1) +/* 800BE43C 000BB39C C2 82 8D 84 */ lfs f20, lbl_805AAAA4@sda21(r2) +/* 800BE440 000BB3A0 D0 C1 0A D0 */ stfs f6, 0xad0(r1) +/* 800BE444 000BB3A4 C2 62 8D 64 */ lfs f19, lbl_805AAA84@sda21(r2) +/* 800BE448 000BB3A8 D0 A1 0A D4 */ stfs f5, 0xad4(r1) +/* 800BE44C 000BB3AC D0 81 0A D8 */ stfs f4, 0xad8(r1) +/* 800BE450 000BB3B0 D0 61 0A DC */ stfs f3, 0xadc(r1) +/* 800BE454 000BB3B4 D0 41 0A E0 */ stfs f2, 0xae0(r1) +/* 800BE458 000BB3B8 D0 21 0A E4 */ stfs f1, 0xae4(r1) +/* 800BE45C 000BB3BC D0 01 0A E8 */ stfs f0, 0xae8(r1) +lbl_800BE460: +/* 800BE460 000BB3C0 48 2D 1A 1D */ bl rand +/* 800BE464 000BB3C4 7C 75 1B 78 */ mr r21, r3 +/* 800BE468 000BB3C8 48 2D 1A 15 */ bl rand +/* 800BE46C 000BB3CC 7C 9B 18 96 */ mulhw r4, r27, r3 +/* 800BE470 000BB3D0 6E A0 80 00 */ xoris r0, r21, 0x8000 +/* 800BE474 000BB3D4 90 01 0B 14 */ stw r0, 0xb14(r1) +/* 800BE478 000BB3D8 3B 18 00 01 */ addi r24, r24, 1 +/* 800BE47C 000BB3DC 92 E1 0B 10 */ stw r23, 0xb10(r1) +/* 800BE480 000BB3E0 2C 18 00 04 */ cmpwi r24, 4 +/* 800BE484 000BB3E4 C8 01 0B 10 */ lfd f0, 0xb10(r1) +/* 800BE488 000BB3E8 7C 80 0E 70 */ srawi r0, r4, 1 +/* 800BE48C 000BB3EC 54 04 0F FE */ srwi r4, r0, 0x1f +/* 800BE490 000BB3F0 EC 00 A8 28 */ fsubs f0, f0, f21 +/* 800BE494 000BB3F4 7C 00 22 14 */ add r0, r0, r4 +/* 800BE498 000BB3F8 1C 00 00 09 */ mulli r0, r0, 9 +/* 800BE49C 000BB3FC EC 00 A0 24 */ fdivs f0, f0, f20 +/* 800BE4A0 000BB400 7C A0 18 50 */ subf r5, r0, r3 +/* 800BE4A4 000BB404 7C 7C 28 96 */ mulhw r3, r28, r5 +/* 800BE4A8 000BB408 54 60 0F FE */ srwi r0, r3, 0x1f +/* 800BE4AC 000BB40C 7C 83 02 14 */ add r4, r3, r0 +/* 800BE4B0 000BB410 1C 04 00 03 */ mulli r0, r4, 3 +/* 800BE4B4 000BB414 7C 60 28 50 */ subf r3, r0, r5 +/* 800BE4B8 000BB418 54 80 10 3A */ slwi r0, r4, 2 +/* 800BE4BC 000BB41C 1C 63 00 0C */ mulli r3, r3, 0xc +/* 800BE4C0 000BB420 EC 00 98 28 */ fsubs f0, f0, f19 +/* 800BE4C4 000BB424 7C 03 02 14 */ add r0, r3, r0 +/* 800BE4C8 000BB428 7C 36 04 2E */ lfsx f1, r22, r0 +/* 800BE4CC 000BB42C EC 01 00 2A */ fadds f0, f1, f0 +/* 800BE4D0 000BB430 7C 16 05 2E */ stfsx f0, r22, r0 +/* 800BE4D4 000BB434 41 80 FF 8C */ blt lbl_800BE460 +/* 800BE4D8 000BB438 38 61 08 C4 */ addi r3, r1, 0x8c4 +/* 800BE4DC 000BB43C 38 81 0A C8 */ addi r4, r1, 0xac8 +/* 800BE4E0 000BB440 38 A1 0A D4 */ addi r5, r1, 0xad4 +/* 800BE4E4 000BB444 38 C1 0A E0 */ addi r6, r1, 0xae0 +/* 800BE4E8 000BB448 48 25 21 95 */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800BE4EC 000BB44C 7C 64 1B 78 */ mr r4, r3 +/* 800BE4F0 000BB450 38 61 0A EC */ addi r3, r1, 0xaec +/* 800BE4F4 000BB454 48 25 1B 05 */ bl __as__9CMatrix3fFRC9CMatrix3f +/* 800BE4F8 000BB458 C0 02 8D 88 */ lfs f0, lbl_805AAAA8@sda21(r2) +/* 800BE4FC 000BB45C FC 18 00 40 */ fcmpo cr0, f24, f0 +/* 800BE500 000BB460 40 81 00 3C */ ble lbl_800BE53C +/* 800BE504 000BB464 48 28 BA A9 */ bl White__6CColorFv +/* 800BE508 000BB468 C0 02 8D 88 */ lfs f0, lbl_805AAAA8@sda21(r2) +/* 800BE50C 000BB46C C0 42 8D 90 */ lfs f2, lbl_805AAAB0@sda21(r2) +/* 800BE510 000BB470 EC 38 00 28 */ fsubs f1, f24, f0 +/* 800BE514 000BB474 C0 02 8D 94 */ lfs f0, lbl_805AAAB4@sda21(r2) +/* 800BE518 000BB478 C0 62 8D 8C */ lfs f3, lbl_805AAAAC@sda21(r2) +/* 800BE51C 000BB47C EC 22 00 72 */ fmuls f1, f2, f1 +/* 800BE520 000BB480 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800BE524 000BB484 ED E3 00 32 */ fmuls f15, f3, f0 +/* 800BE528 000BB488 F1 E1 A0 08 */ psq_st f15, 8(r1), 1, qr2 +/* 800BE52C 000BB48C 80 63 00 00 */ lwz r3, 0(r3) +/* 800BE530 000BB490 88 01 00 08 */ lbz r0, 8(r1) +/* 800BE534 000BB494 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 800BE538 000BB498 90 01 00 8C */ stw r0, 0x8c(r1) +lbl_800BE53C: +/* 800BE53C 000BB49C C0 02 8D 98 */ lfs f0, lbl_805AAAB8@sda21(r2) +/* 800BE540 000BB4A0 FC 18 00 40 */ fcmpo cr0, f24, f0 +/* 800BE544 000BB4A4 40 81 00 0C */ ble lbl_800BE550 +/* 800BE548 000BB4A8 C2 A2 8D 38 */ lfs f21, lbl_805AAA58@sda21(r2) +/* 800BE54C 000BB4AC 48 00 00 34 */ b lbl_800BE580 +lbl_800BE550: +/* 800BE550 000BB4B0 C0 02 8D 9C */ lfs f0, lbl_805AAABC@sda21(r2) +/* 800BE554 000BB4B4 C0 22 8D 94 */ lfs f1, lbl_805AAAB4@sda21(r2) +/* 800BE558 000BB4B8 EC 58 00 28 */ fsubs f2, f24, f0 +/* 800BE55C 000BB4BC C0 0D 86 A8 */ lfs f0, lbl_805A7268@sda21(r13) +/* 800BE560 000BB4C0 EC 22 08 24 */ fdivs f1, f2, f1 +/* 800BE564 000BB4C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BE568 000BB4C8 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 800BE56C 000BB4CC 40 80 00 0C */ bge lbl_800BE578 +/* 800BE570 000BB4D0 38 6D 86 A8 */ addi r3, r13, lbl_805A7268@sda21 +/* 800BE574 000BB4D4 48 00 00 08 */ b lbl_800BE57C +lbl_800BE578: +/* 800BE578 000BB4D8 38 61 00 78 */ addi r3, r1, 0x78 +lbl_800BE57C: +/* 800BE57C 000BB4DC C2 A3 00 00 */ lfs f21, 0(r3) +lbl_800BE580: +/* 800BE580 000BB4E0 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 800BE584 000BB4E4 41 82 01 CC */ beq lbl_800BE750 +/* 800BE588 000BB4E8 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 800BE58C 000BB4EC 28 00 00 00 */ cmplwi r0, 0 +/* 800BE590 000BB4F0 40 82 00 30 */ bne lbl_800BE5C0 +/* 800BE594 000BB4F4 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 800BE598 000BB4F8 28 00 00 00 */ cmplwi r0, 0 +/* 800BE59C 000BB4FC 41 82 00 24 */ beq lbl_800BE5C0 +/* 800BE5A0 000BB500 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 800BE5A4 000BB504 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BE5A8 000BB508 28 00 00 00 */ cmplwi r0, 0 +/* 800BE5AC 000BB50C 41 82 00 14 */ beq lbl_800BE5C0 +/* 800BE5B0 000BB510 38 7F 00 4C */ addi r3, r31, 0x4c +/* 800BE5B4 000BB514 48 28 28 59 */ bl GetObj__6CTokenFv +/* 800BE5B8 000BB518 80 03 00 04 */ lwz r0, 4(r3) +/* 800BE5BC 000BB51C 90 1F 00 54 */ stw r0, 0x54(r31) +lbl_800BE5C0: +/* 800BE5C0 000BB520 83 1F 00 54 */ lwz r24, 0x54(r31) +/* 800BE5C4 000BB524 28 18 00 00 */ cmplwi r24, 0 +/* 800BE5C8 000BB528 41 82 01 88 */ beq lbl_800BE750 +/* 800BE5CC 000BB52C 80 C1 01 E0 */ lwz r6, 0x1e0(r1) +/* 800BE5D0 000BB530 FC 20 C8 90 */ fmr f1, f25 +/* 800BE5D4 000BB534 80 A1 01 E4 */ lwz r5, 0x1e4(r1) +/* 800BE5D8 000BB538 7F A4 EB 78 */ mr r4, r29 +/* 800BE5DC 000BB53C 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800BE5E0 000BB540 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800BE5E4 000BB544 90 C1 01 D4 */ stw r6, 0x1d4(r1) +/* 800BE5E8 000BB548 82 AD A1 40 */ lwz r21, gpTweakTargeting@sda21(r13) +/* 800BE5EC 000BB54C 90 A1 01 D8 */ stw r5, 0x1d8(r1) +/* 800BE5F0 000BB550 90 01 01 DC */ stw r0, 0x1dc(r1) +/* 800BE5F4 000BB554 C0 15 01 54 */ lfs f0, 0x154(r21) +/* 800BE5F8 000BB558 C0 75 01 58 */ lfs f3, 0x158(r21) +/* 800BE5FC 000BB55C EC 57 00 32 */ fmuls f2, f23, f0 +/* 800BE600 000BB560 4B FF E9 9D */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BE604 000BB564 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) +/* 800BE608 000BB568 38 61 08 58 */ addi r3, r1, 0x858 +/* 800BE60C 000BB56C C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) +/* 800BE610 000BB570 38 81 00 74 */ addi r4, r1, 0x74 +/* 800BE614 000BB574 C0 65 00 14 */ lfs f3, 0x14(r5) +/* 800BE618 000BB578 C0 1F 01 EC */ lfs f0, 0x1ec(r31) +/* 800BE61C 000BB57C EC 21 00 F2 */ fmuls f1, f1, f3 +/* 800BE620 000BB580 D0 41 08 38 */ stfs f2, 0x838(r1) +/* 800BE624 000BB584 D0 41 08 3C */ stfs f2, 0x83c(r1) +/* 800BE628 000BB588 EC 21 C0 24 */ fdivs f1, f1, f24 +/* 800BE62C 000BB58C D0 41 08 40 */ stfs f2, 0x840(r1) +/* 800BE630 000BB590 D0 41 08 48 */ stfs f2, 0x848(r1) +/* 800BE634 000BB594 D0 41 08 4C */ stfs f2, 0x84c(r1) +/* 800BE638 000BB598 D0 41 08 50 */ stfs f2, 0x850(r1) +/* 800BE63C 000BB59C D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800BE640 000BB5A0 D0 21 08 34 */ stfs f1, 0x834(r1) +/* 800BE644 000BB5A4 D0 21 08 44 */ stfs f1, 0x844(r1) +/* 800BE648 000BB5A8 D0 21 08 54 */ stfs f1, 0x854(r1) +/* 800BE64C 000BB5AC 48 25 1E 49 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800BE650 000BB5B0 7F C4 F3 78 */ mr r4, r30 +/* 800BE654 000BB5B4 38 61 08 7C */ addi r3, r1, 0x87c +/* 800BE658 000BB5B8 38 A1 08 58 */ addi r5, r1, 0x858 +/* 800BE65C 000BB5BC 48 25 1A D5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BE660 000BB5C0 38 61 08 A0 */ addi r3, r1, 0x8a0 +/* 800BE664 000BB5C4 38 81 08 7C */ addi r4, r1, 0x87c +/* 800BE668 000BB5C8 38 A1 08 34 */ addi r5, r1, 0x834 +/* 800BE66C 000BB5CC 48 25 1A C5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BE670 000BB5D0 38 61 0A A4 */ addi r3, r1, 0xaa4 +/* 800BE674 000BB5D4 38 81 08 A0 */ addi r4, r1, 0x8a0 +/* 800BE678 000BB5D8 48 25 19 AD */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BE67C 000BB5DC C0 5F 01 14 */ lfs f2, 0x114(r31) +/* 800BE680 000BB5E0 38 61 07 E0 */ addi r3, r1, 0x7e0 +/* 800BE684 000BB5E4 C0 3F 01 18 */ lfs f1, 0x118(r31) +/* 800BE688 000BB5E8 38 81 0A EC */ addi r4, r1, 0xaec +/* 800BE68C 000BB5EC C0 1F 01 1C */ lfs f0, 0x11c(r31) +/* 800BE690 000BB5F0 38 A1 0A A4 */ addi r5, r1, 0xaa4 +/* 800BE694 000BB5F4 D0 41 01 C8 */ stfs f2, 0x1c8(r1) +/* 800BE698 000BB5F8 D0 21 01 CC */ stfs f1, 0x1cc(r1) +/* 800BE69C 000BB5FC D0 01 01 D0 */ stfs f0, 0x1d0(r1) +/* 800BE6A0 000BB600 48 25 1A 91 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BE6A4 000BB604 38 61 08 04 */ addi r3, r1, 0x804 +/* 800BE6A8 000BB608 38 81 07 E0 */ addi r4, r1, 0x7e0 +/* 800BE6AC 000BB60C 38 A1 01 C8 */ addi r5, r1, 0x1c8 +/* 800BE6B0 000BB610 48 25 4B C9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BE6B4 000BB614 7C 64 1B 78 */ mr r4, r3 +/* 800BE6B8 000BB618 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE6BC 000BB61C 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE6C0 000BB620 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BE6C4 000BB624 7D 89 03 A6 */ mtctr r12 +/* 800BE6C8 000BB628 4E 80 04 21 */ bctrl +/* 800BE6CC 000BB62C 88 75 01 4F */ lbz r3, 0x14f(r21) +/* 800BE6D0 000BB630 3C 00 43 30 */ lis r0, 0x4330 +/* 800BE6D4 000BB634 90 01 0B 10 */ stw r0, 0xb10(r1) +/* 800BE6D8 000BB638 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BE6DC 000BB63C 90 61 0B 14 */ stw r3, 0xb14(r1) +/* 800BE6E0 000BB640 C8 01 0B 10 */ lfd f0, 0xb10(r1) +/* 800BE6E4 000BB644 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BE6E8 000BB648 EE 35 00 32 */ fmuls f17, f21, f0 +/* 800BE6EC 000BB64C F2 21 A0 11 */ psq_st f17, 17(r1), 1, qr2 +/* 800BE6F0 000BB650 38 61 00 70 */ addi r3, r1, 0x70 +/* 800BE6F4 000BB654 80 D5 01 4C */ lwz r6, 0x14c(r21) +/* 800BE6F8 000BB658 38 81 00 8C */ addi r4, r1, 0x8c +/* 800BE6FC 000BB65C 88 01 00 11 */ lbz r0, 0x11(r1) +/* 800BE700 000BB660 38 A1 00 6C */ addi r5, r1, 0x6c +/* 800BE704 000BB664 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 800BE708 000BB668 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800BE70C 000BB66C 48 2A 49 A5 */ bl Add__6CColorFRC6CColorRC6CColor +/* 800BE710 000BB670 38 C0 00 03 */ li r6, 3 +/* 800BE714 000BB674 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 800BE718 000BB678 39 00 00 07 */ li r8, 7 +/* 800BE71C 000BB67C 38 E0 00 00 */ li r7, 0 +/* 800BE720 000BB680 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d +/* 800BE724 000BB684 99 01 01 10 */ stb r8, 0x110(r1) +/* 800BE728 000BB688 7F 03 C3 78 */ mr r3, r24 +/* 800BE72C 000BB68C 38 81 01 18 */ addi r4, r1, 0x118 +/* 800BE730 000BB690 98 E1 01 11 */ stb r7, 0x111(r1) +/* 800BE734 000BB694 B0 C1 01 12 */ sth r6, 0x112(r1) +/* 800BE738 000BB698 90 A1 01 14 */ stw r5, 0x114(r1) +/* 800BE73C 000BB69C 99 01 01 18 */ stb r8, 0x118(r1) +/* 800BE740 000BB6A0 98 E1 01 19 */ stb r7, 0x119(r1) +/* 800BE744 000BB6A4 B0 01 01 1A */ sth r0, 0x11a(r1) +/* 800BE748 000BB6A8 90 A1 01 1C */ stw r5, 0x11c(r1) +/* 800BE74C 000BB6AC 48 29 74 89 */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BE750: +/* 800BE750 000BB6B0 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 800BE754 000BB6B4 41 82 10 64 */ beq lbl_800BF7B8 +/* 800BE758 000BB6B8 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 800BE75C 000BB6BC 28 00 00 00 */ cmplwi r0, 0 +/* 800BE760 000BB6C0 40 82 00 30 */ bne lbl_800BE790 +/* 800BE764 000BB6C4 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 800BE768 000BB6C8 28 00 00 00 */ cmplwi r0, 0 +/* 800BE76C 000BB6CC 41 82 00 24 */ beq lbl_800BE790 +/* 800BE770 000BB6D0 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 800BE774 000BB6D4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BE778 000BB6D8 28 00 00 00 */ cmplwi r0, 0 +/* 800BE77C 000BB6DC 41 82 00 14 */ beq lbl_800BE790 +/* 800BE780 000BB6E0 38 7F 00 58 */ addi r3, r31, 0x58 +/* 800BE784 000BB6E4 48 28 26 89 */ bl GetObj__6CTokenFv +/* 800BE788 000BB6E8 80 03 00 04 */ lwz r0, 4(r3) +/* 800BE78C 000BB6EC 90 1F 00 60 */ stw r0, 0x60(r31) +lbl_800BE790: +/* 800BE790 000BB6F0 83 1F 00 60 */ lwz r24, 0x60(r31) +/* 800BE794 000BB6F4 28 18 00 00 */ cmplwi r24, 0 +/* 800BE798 000BB6F8 41 82 01 90 */ beq lbl_800BE928 +/* 800BE79C 000BB6FC 80 C1 01 E0 */ lwz r6, 0x1e0(r1) +/* 800BE7A0 000BB700 FC 20 C8 90 */ fmr f1, f25 +/* 800BE7A4 000BB704 80 A1 01 E4 */ lwz r5, 0x1e4(r1) +/* 800BE7A8 000BB708 7F A4 EB 78 */ mr r4, r29 +/* 800BE7AC 000BB70C 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800BE7B0 000BB710 38 61 01 BC */ addi r3, r1, 0x1bc +/* 800BE7B4 000BB714 90 C1 01 BC */ stw r6, 0x1bc(r1) +/* 800BE7B8 000BB718 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BE7BC 000BB71C 90 A1 01 C0 */ stw r5, 0x1c0(r1) +/* 800BE7C0 000BB720 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 800BE7C4 000BB724 C0 06 01 5C */ lfs f0, 0x15c(r6) +/* 800BE7C8 000BB728 C0 66 01 60 */ lfs f3, 0x160(r6) +/* 800BE7CC 000BB72C EC 57 00 32 */ fmuls f2, f23, f0 +/* 800BE7D0 000BB730 4B FF E7 CD */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BE7D4 000BB734 82 AD A1 40 */ lwz r21, gpTweakTargeting@sda21(r13) +/* 800BE7D8 000BB738 38 61 07 74 */ addi r3, r1, 0x774 +/* 800BE7DC 000BB73C C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) +/* 800BE7E0 000BB740 38 81 00 68 */ addi r4, r1, 0x68 +/* 800BE7E4 000BB744 C0 75 00 B4 */ lfs f3, 0xb4(r21) +/* 800BE7E8 000BB748 C0 1F 01 F0 */ lfs f0, 0x1f0(r31) +/* 800BE7EC 000BB74C EC 21 00 F2 */ fmuls f1, f1, f3 +/* 800BE7F0 000BB750 D0 41 07 54 */ stfs f2, 0x754(r1) +/* 800BE7F4 000BB754 D0 41 07 58 */ stfs f2, 0x758(r1) +/* 800BE7F8 000BB758 EC 21 A8 24 */ fdivs f1, f1, f21 +/* 800BE7FC 000BB75C D0 41 07 5C */ stfs f2, 0x75c(r1) +/* 800BE800 000BB760 D0 41 07 64 */ stfs f2, 0x764(r1) +/* 800BE804 000BB764 D0 41 07 68 */ stfs f2, 0x768(r1) +/* 800BE808 000BB768 D0 41 07 6C */ stfs f2, 0x76c(r1) +/* 800BE80C 000BB76C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800BE810 000BB770 D0 21 07 50 */ stfs f1, 0x750(r1) +/* 800BE814 000BB774 D0 21 07 60 */ stfs f1, 0x760(r1) +/* 800BE818 000BB778 D0 21 07 70 */ stfs f1, 0x770(r1) +/* 800BE81C 000BB77C 48 25 1C 79 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800BE820 000BB780 7F C4 F3 78 */ mr r4, r30 +/* 800BE824 000BB784 38 61 07 98 */ addi r3, r1, 0x798 +/* 800BE828 000BB788 38 A1 07 74 */ addi r5, r1, 0x774 +/* 800BE82C 000BB78C 48 25 19 05 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BE830 000BB790 38 61 07 BC */ addi r3, r1, 0x7bc +/* 800BE834 000BB794 38 81 07 98 */ addi r4, r1, 0x798 +/* 800BE838 000BB798 38 A1 07 50 */ addi r5, r1, 0x750 +/* 800BE83C 000BB79C 48 25 18 F5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BE840 000BB7A0 38 61 0A 80 */ addi r3, r1, 0xa80 +/* 800BE844 000BB7A4 38 81 07 BC */ addi r4, r1, 0x7bc +/* 800BE848 000BB7A8 48 25 17 DD */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BE84C 000BB7AC C0 5F 01 14 */ lfs f2, 0x114(r31) +/* 800BE850 000BB7B0 38 61 06 FC */ addi r3, r1, 0x6fc +/* 800BE854 000BB7B4 C0 3F 01 18 */ lfs f1, 0x118(r31) +/* 800BE858 000BB7B8 38 81 0A EC */ addi r4, r1, 0xaec +/* 800BE85C 000BB7BC C0 1F 01 1C */ lfs f0, 0x11c(r31) +/* 800BE860 000BB7C0 38 A1 0A 80 */ addi r5, r1, 0xa80 +/* 800BE864 000BB7C4 D0 41 01 B0 */ stfs f2, 0x1b0(r1) +/* 800BE868 000BB7C8 D0 21 01 B4 */ stfs f1, 0x1b4(r1) +/* 800BE86C 000BB7CC D0 01 01 B8 */ stfs f0, 0x1b8(r1) +/* 800BE870 000BB7D0 48 25 18 C1 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BE874 000BB7D4 38 61 07 20 */ addi r3, r1, 0x720 +/* 800BE878 000BB7D8 38 81 06 FC */ addi r4, r1, 0x6fc +/* 800BE87C 000BB7DC 38 A1 01 B0 */ addi r5, r1, 0x1b0 +/* 800BE880 000BB7E0 48 25 49 F9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BE884 000BB7E4 7C 64 1B 78 */ mr r4, r3 +/* 800BE888 000BB7E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BE88C 000BB7EC 81 83 00 00 */ lwz r12, 0(r3) +/* 800BE890 000BB7F0 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BE894 000BB7F4 7D 89 03 A6 */ mtctr r12 +/* 800BE898 000BB7F8 4E 80 04 21 */ bctrl +/* 800BE89C 000BB7FC 88 75 00 BB */ lbz r3, 0xbb(r21) +/* 800BE8A0 000BB800 3C 00 43 30 */ lis r0, 0x4330 +/* 800BE8A4 000BB804 90 01 0B 10 */ stw r0, 0xb10(r1) +/* 800BE8A8 000BB808 EC 55 04 B2 */ fmuls f2, f21, f18 +/* 800BE8AC 000BB80C C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BE8B0 000BB810 90 61 0B 14 */ stw r3, 0xb14(r1) +/* 800BE8B4 000BB814 C8 01 0B 10 */ lfd f0, 0xb10(r1) +/* 800BE8B8 000BB818 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BE8BC 000BB81C EE 02 00 32 */ fmuls f16, f2, f0 +/* 800BE8C0 000BB820 F2 01 A0 10 */ psq_st f16, 16(r1), 1, qr2 +/* 800BE8C4 000BB824 38 61 00 64 */ addi r3, r1, 0x64 +/* 800BE8C8 000BB828 80 D5 00 B8 */ lwz r6, 0xb8(r21) +/* 800BE8CC 000BB82C 38 81 00 8C */ addi r4, r1, 0x8c +/* 800BE8D0 000BB830 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800BE8D4 000BB834 38 A1 00 60 */ addi r5, r1, 0x60 +/* 800BE8D8 000BB838 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 800BE8DC 000BB83C 90 01 00 60 */ stw r0, 0x60(r1) +/* 800BE8E0 000BB840 48 2A 47 D1 */ bl Add__6CColorFRC6CColorRC6CColor +/* 800BE8E4 000BB844 38 C0 00 03 */ li r6, 3 +/* 800BE8E8 000BB848 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 800BE8EC 000BB84C 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d +/* 800BE8F0 000BB850 39 00 00 07 */ li r8, 7 +/* 800BE8F4 000BB854 38 E0 00 00 */ li r7, 0 +/* 800BE8F8 000BB858 99 01 01 00 */ stb r8, 0x100(r1) +/* 800BE8FC 000BB85C 60 00 00 01 */ ori r0, r0, 1 +/* 800BE900 000BB860 7F 03 C3 78 */ mr r3, r24 +/* 800BE904 000BB864 98 E1 01 01 */ stb r7, 0x101(r1) +/* 800BE908 000BB868 38 81 01 08 */ addi r4, r1, 0x108 +/* 800BE90C 000BB86C B0 C1 01 02 */ sth r6, 0x102(r1) +/* 800BE910 000BB870 90 A1 01 04 */ stw r5, 0x104(r1) +/* 800BE914 000BB874 99 01 01 08 */ stb r8, 0x108(r1) +/* 800BE918 000BB878 98 E1 01 09 */ stb r7, 0x109(r1) +/* 800BE91C 000BB87C B0 01 01 0A */ sth r0, 0x10a(r1) +/* 800BE920 000BB880 90 A1 01 0C */ stw r5, 0x10c(r1) +/* 800BE924 000BB884 48 29 72 B1 */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BE928: +/* 800BE928 000BB888 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800BE92C 000BB88C C0 1F 01 F8 */ lfs f0, 0x1f8(r31) +/* 800BE930 000BB890 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800BE934 000BB894 41 82 02 78 */ beq lbl_800BEBAC +/* 800BE938 000BB898 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 800BE93C 000BB89C 28 00 00 00 */ cmplwi r0, 0 +/* 800BE940 000BB8A0 40 82 00 30 */ bne lbl_800BE970 +/* 800BE944 000BB8A4 88 1F 00 68 */ lbz r0, 0x68(r31) +/* 800BE948 000BB8A8 28 00 00 00 */ cmplwi r0, 0 +/* 800BE94C 000BB8AC 41 82 00 24 */ beq lbl_800BE970 +/* 800BE950 000BB8B0 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800BE954 000BB8B4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BE958 000BB8B8 28 00 00 00 */ cmplwi r0, 0 +/* 800BE95C 000BB8BC 41 82 00 14 */ beq lbl_800BE970 +/* 800BE960 000BB8C0 38 7F 00 64 */ addi r3, r31, 0x64 +/* 800BE964 000BB8C4 48 28 24 A9 */ bl GetObj__6CTokenFv +/* 800BE968 000BB8C8 80 03 00 04 */ lwz r0, 4(r3) +/* 800BE96C 000BB8CC 90 1F 00 6C */ stw r0, 0x6c(r31) +lbl_800BE970: +/* 800BE970 000BB8D0 83 1F 00 6C */ lwz r24, 0x6c(r31) +/* 800BE974 000BB8D4 28 18 00 00 */ cmplwi r24, 0 +/* 800BE978 000BB8D8 41 82 02 34 */ beq lbl_800BEBAC +/* 800BE97C 000BB8DC 80 C1 01 E0 */ lwz r6, 0x1e0(r1) +/* 800BE980 000BB8E0 FC 20 C8 90 */ fmr f1, f25 +/* 800BE984 000BB8E4 80 A1 01 E4 */ lwz r5, 0x1e4(r1) +/* 800BE988 000BB8E8 7F A4 EB 78 */ mr r4, r29 +/* 800BE98C 000BB8EC 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800BE990 000BB8F0 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800BE994 000BB8F4 90 C1 01 A4 */ stw r6, 0x1a4(r1) +/* 800BE998 000BB8F8 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BE99C 000BB8FC 90 A1 01 A8 */ stw r5, 0x1a8(r1) +/* 800BE9A0 000BB900 90 01 01 AC */ stw r0, 0x1ac(r1) +/* 800BE9A4 000BB904 C0 06 01 6C */ lfs f0, 0x16c(r6) +/* 800BE9A8 000BB908 C0 66 01 70 */ lfs f3, 0x170(r6) +/* 800BE9AC 000BB90C EC 57 00 32 */ fmuls f2, f23, f0 +/* 800BE9B0 000BB910 4B FF E5 ED */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BE9B4 000BB914 83 8D A1 40 */ lwz r28, gpTweakTargeting@sda21(r13) +/* 800BE9B8 000BB918 38 61 0A 5C */ addi r3, r1, 0xa5c +/* 800BE9BC 000BB91C C0 1F 01 F8 */ lfs f0, 0x1f8(r31) +/* 800BE9C0 000BB920 38 81 06 D8 */ addi r4, r1, 0x6d8 +/* 800BE9C4 000BB924 C0 62 8D 64 */ lfs f3, lbl_805AAA84@sda21(r2) +/* 800BE9C8 000BB928 C0 5C 00 C8 */ lfs f2, 0xc8(r28) +/* 800BE9CC 000BB92C FC A0 02 10 */ fabs f5, f0 +/* 800BE9D0 000BB930 C0 9F 01 FC */ lfs f4, 0x1fc(r31) +/* 800BE9D4 000BB934 EC E3 00 B2 */ fmuls f7, f3, f2 +/* 800BE9D8 000BB938 C0 1C 00 BC */ lfs f0, 0xbc(r28) +/* 800BE9DC 000BB93C FC 40 28 18 */ frsp f2, f5 +/* 800BE9E0 000BB940 C0 A2 8D 38 */ lfs f5, lbl_805AAA58@sda21(r2) +/* 800BE9E4 000BB944 C0 7C 00 C0 */ lfs f3, 0xc0(r28) +/* 800BE9E8 000BB948 EC C4 38 28 */ fsubs f6, f4, f7 +/* 800BE9EC 000BB94C EC 42 00 24 */ fdivs f2, f2, f0 +/* 800BE9F0 000BB950 C0 9C 00 C4 */ lfs f4, 0xc4(r28) +/* 800BE9F4 000BB954 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BE9F8 000BB958 D0 01 06 DC */ stfs f0, 0x6dc(r1) +/* 800BE9FC 000BB95C D0 01 06 E0 */ stfs f0, 0x6e0(r1) +/* 800BEA00 000BB960 D0 01 06 E4 */ stfs f0, 0x6e4(r1) +/* 800BEA04 000BB964 EC C6 38 24 */ fdivs f6, f6, f7 +/* 800BEA08 000BB968 D0 01 06 EC */ stfs f0, 0x6ec(r1) +/* 800BEA0C 000BB96C D0 01 06 F0 */ stfs f0, 0x6f0(r1) +/* 800BEA10 000BB970 D0 01 06 F4 */ stfs f0, 0x6f4(r1) +/* 800BEA14 000BB974 FC C0 32 10 */ fabs f6, f6 +/* 800BEA18 000BB978 EC 02 00 72 */ fmuls f0, f2, f1 +/* 800BEA1C 000BB97C FC 20 30 18 */ frsp f1, f6 +/* 800BEA20 000BB980 EC 45 08 28 */ fsubs f2, f5, f1 +/* 800BEA24 000BB984 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 800BEA28 000BB988 EC 22 09 3A */ fmadds f1, f2, f4, f1 +/* 800BEA2C 000BB98C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800BEA30 000BB990 EC 00 C0 24 */ fdivs f0, f0, f24 +/* 800BEA34 000BB994 D0 01 06 D8 */ stfs f0, 0x6d8(r1) +/* 800BEA38 000BB998 D0 01 06 E8 */ stfs f0, 0x6e8(r1) +/* 800BEA3C 000BB99C D0 01 06 F8 */ stfs f0, 0x6f8(r1) +/* 800BEA40 000BB9A0 48 25 15 E5 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BEA44 000BB9A4 ED F5 04 B2 */ fmuls f15, f21, f18 +/* 800BEA48 000BB9A8 C2 62 8D 30 */ lfs f19, lbl_805AAA50@sda21(r2) +/* 800BEA4C 000BB9AC C2 82 8D 38 */ lfs f20, lbl_805AAA58@sda21(r2) +/* 800BEA50 000BB9B0 3B 20 00 00 */ li r25, 0 +/* 800BEA54 000BB9B4 CA 02 8D 48 */ lfd f16, lbl_805AAA68@sda21(r2) +/* 800BEA58 000BB9B8 3F 40 43 30 */ lis r26, 0x4330 +lbl_800BEA5C: +/* 800BEA5C 000BB9BC 2C 19 00 02 */ cmpwi r25, 2 +/* 800BEA60 000BB9C0 40 80 00 0C */ bge lbl_800BEA6C +/* 800BEA64 000BB9C4 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) +/* 800BEA68 000BB9C8 48 00 00 08 */ b lbl_800BEA70 +lbl_800BEA6C: +/* 800BEA6C 000BB9CC C0 02 8D 7C */ lfs f0, lbl_805AAA9C@sda21(r2) +lbl_800BEA70: +/* 800BEA70 000BB9D0 57 20 07 FF */ clrlwi. r0, r25, 0x1f +/* 800BEA74 000BB9D4 41 82 00 0C */ beq lbl_800BEA80 +/* 800BEA78 000BB9D8 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +/* 800BEA7C 000BB9DC 48 00 00 08 */ b lbl_800BEA84 +lbl_800BEA80: +/* 800BEA80 000BB9E0 C0 22 8D 7C */ lfs f1, lbl_805AAA9C@sda21(r2) +lbl_800BEA84: +/* 800BEA84 000BB9E4 D0 01 06 48 */ stfs f0, 0x648(r1) +/* 800BEA88 000BB9E8 7F C5 F3 78 */ mr r5, r30 +/* 800BEA8C 000BB9EC 38 61 06 6C */ addi r3, r1, 0x66c +/* 800BEA90 000BB9F0 38 81 0A EC */ addi r4, r1, 0xaec +/* 800BEA94 000BB9F4 D2 61 06 4C */ stfs f19, 0x64c(r1) +/* 800BEA98 000BB9F8 D2 61 06 50 */ stfs f19, 0x650(r1) +/* 800BEA9C 000BB9FC D2 61 06 54 */ stfs f19, 0x654(r1) +/* 800BEAA0 000BBA00 D2 81 06 58 */ stfs f20, 0x658(r1) +/* 800BEAA4 000BBA04 D2 61 06 5C */ stfs f19, 0x65c(r1) +/* 800BEAA8 000BBA08 D2 61 06 60 */ stfs f19, 0x660(r1) +/* 800BEAAC 000BBA0C D2 61 06 64 */ stfs f19, 0x664(r1) +/* 800BEAB0 000BBA10 D0 21 06 68 */ stfs f1, 0x668(r1) +/* 800BEAB4 000BBA14 48 25 16 7D */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BEAB8 000BBA18 38 61 06 90 */ addi r3, r1, 0x690 +/* 800BEABC 000BBA1C 38 81 06 6C */ addi r4, r1, 0x66c +/* 800BEAC0 000BBA20 38 A1 06 48 */ addi r5, r1, 0x648 +/* 800BEAC4 000BBA24 48 25 16 6D */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BEAC8 000BBA28 38 61 06 B4 */ addi r3, r1, 0x6b4 +/* 800BEACC 000BBA2C 38 81 06 90 */ addi r4, r1, 0x690 +/* 800BEAD0 000BBA30 38 A1 0A 5C */ addi r5, r1, 0xa5c +/* 800BEAD4 000BBA34 48 25 16 5D */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BEAD8 000BBA38 38 61 0A 38 */ addi r3, r1, 0xa38 +/* 800BEADC 000BBA3C 38 81 06 B4 */ addi r4, r1, 0x6b4 +/* 800BEAE0 000BBA40 48 25 15 45 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BEAE4 000BBA44 C0 5F 01 14 */ lfs f2, 0x114(r31) +/* 800BEAE8 000BBA48 38 61 06 18 */ addi r3, r1, 0x618 +/* 800BEAEC 000BBA4C C0 3F 01 18 */ lfs f1, 0x118(r31) +/* 800BEAF0 000BBA50 38 81 0A 38 */ addi r4, r1, 0xa38 +/* 800BEAF4 000BBA54 C0 1F 01 1C */ lfs f0, 0x11c(r31) +/* 800BEAF8 000BBA58 38 A1 01 98 */ addi r5, r1, 0x198 +/* 800BEAFC 000BBA5C D0 41 01 98 */ stfs f2, 0x198(r1) +/* 800BEB00 000BBA60 D0 21 01 9C */ stfs f1, 0x19c(r1) +/* 800BEB04 000BBA64 D0 01 01 A0 */ stfs f0, 0x1a0(r1) +/* 800BEB08 000BBA68 48 25 47 71 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BEB0C 000BBA6C 7C 64 1B 78 */ mr r4, r3 +/* 800BEB10 000BBA70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BEB14 000BBA74 81 83 00 00 */ lwz r12, 0(r3) +/* 800BEB18 000BBA78 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BEB1C 000BBA7C 7D 89 03 A6 */ mtctr r12 +/* 800BEB20 000BBA80 4E 80 04 21 */ bctrl +/* 800BEB24 000BBA84 88 1C 00 CF */ lbz r0, 0xcf(r28) +/* 800BEB28 000BBA88 93 41 0B 10 */ stw r26, 0xb10(r1) +/* 800BEB2C 000BBA8C 90 01 0B 14 */ stw r0, 0xb14(r1) +/* 800BEB30 000BBA90 C8 01 0B 10 */ lfd f0, 0xb10(r1) +/* 800BEB34 000BBA94 EC 00 80 28 */ fsubs f0, f0, f16 +/* 800BEB38 000BBA98 EF EF 00 32 */ fmuls f31, f15, f0 +/* 800BEB3C 000BBA9C F3 E1 A0 0F */ psq_st f31, 15(r1), 1, qr2 +/* 800BEB40 000BBAA0 38 61 00 5C */ addi r3, r1, 0x5c +/* 800BEB44 000BBAA4 80 DC 00 CC */ lwz r6, 0xcc(r28) +/* 800BEB48 000BBAA8 38 81 00 8C */ addi r4, r1, 0x8c +/* 800BEB4C 000BBAAC 88 01 00 0F */ lbz r0, 0xf(r1) +/* 800BEB50 000BBAB0 38 A1 00 58 */ addi r5, r1, 0x58 +/* 800BEB54 000BBAB4 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 800BEB58 000BBAB8 90 01 00 58 */ stw r0, 0x58(r1) +/* 800BEB5C 000BBABC 48 2A 45 55 */ bl Add__6CColorFRC6CColorRC6CColor +/* 800BEB60 000BBAC0 38 C0 00 03 */ li r6, 3 +/* 800BEB64 000BBAC4 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 800BEB68 000BBAC8 39 00 00 07 */ li r8, 7 +/* 800BEB6C 000BBACC 38 E0 00 00 */ li r7, 0 +/* 800BEB70 000BBAD0 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d +/* 800BEB74 000BBAD4 99 01 00 F0 */ stb r8, 0xf0(r1) +/* 800BEB78 000BBAD8 7F 03 C3 78 */ mr r3, r24 +/* 800BEB7C 000BBADC 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800BEB80 000BBAE0 98 E1 00 F1 */ stb r7, 0xf1(r1) +/* 800BEB84 000BBAE4 B0 C1 00 F2 */ sth r6, 0xf2(r1) +/* 800BEB88 000BBAE8 90 A1 00 F4 */ stw r5, 0xf4(r1) +/* 800BEB8C 000BBAEC 99 01 00 F8 */ stb r8, 0xf8(r1) +/* 800BEB90 000BBAF0 98 E1 00 F9 */ stb r7, 0xf9(r1) +/* 800BEB94 000BBAF4 B0 01 00 FA */ sth r0, 0xfa(r1) +/* 800BEB98 000BBAF8 90 A1 00 FC */ stw r5, 0xfc(r1) +/* 800BEB9C 000BBAFC 48 29 70 39 */ bl Draw__6CModelCFRC11CModelFlags +/* 800BEBA0 000BBB00 3B 39 00 01 */ addi r25, r25, 1 +/* 800BEBA4 000BBB04 2C 19 00 04 */ cmpwi r25, 4 +/* 800BEBA8 000BBB08 41 80 FE B4 */ blt lbl_800BEA5C +lbl_800BEBAC: +/* 800BEBAC 000BBB0C 80 C1 01 E0 */ lwz r6, 0x1e0(r1) +/* 800BEBB0 000BBB10 FC 20 C8 90 */ fmr f1, f25 +/* 800BEBB4 000BBB14 80 A1 01 E4 */ lwz r5, 0x1e4(r1) +/* 800BEBB8 000BBB18 7F A4 EB 78 */ mr r4, r29 +/* 800BEBBC 000BBB1C 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800BEBC0 000BBB20 38 61 01 8C */ addi r3, r1, 0x18c +/* 800BEBC4 000BBB24 90 C1 01 8C */ stw r6, 0x18c(r1) +/* 800BEBC8 000BBB28 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BEBCC 000BBB2C 90 A1 01 90 */ stw r5, 0x190(r1) +/* 800BEBD0 000BBB30 90 01 01 94 */ stw r0, 0x194(r1) +/* 800BEBD4 000BBB34 C0 06 01 7C */ lfs f0, 0x17c(r6) +/* 800BEBD8 000BBB38 C0 66 01 80 */ lfs f3, 0x180(r6) +/* 800BEBDC 000BBB3C EC 57 00 32 */ fmuls f2, f23, f0 +/* 800BEBE0 000BBB40 4B FF E3 BD */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BEBE4 000BBB44 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) +/* 800BEBE8 000BBB48 7F C4 F3 78 */ mr r4, r30 +/* 800BEBEC 000BBB4C 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) +/* 800BEBF0 000BBB50 38 61 05 F4 */ addi r3, r1, 0x5f4 +/* 800BEBF4 000BBB54 EC 40 C0 24 */ fdivs f2, f0, f24 +/* 800BEBF8 000BBB58 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BEBFC 000BBB5C C0 65 00 F0 */ lfs f3, 0xf0(r5) +/* 800BEC00 000BBB60 38 A1 05 D0 */ addi r5, r1, 0x5d0 +/* 800BEC04 000BBB64 D0 01 05 D4 */ stfs f0, 0x5d4(r1) +/* 800BEC08 000BBB68 D0 01 05 D8 */ stfs f0, 0x5d8(r1) +/* 800BEC0C 000BBB6C EC 22 00 72 */ fmuls f1, f2, f1 +/* 800BEC10 000BBB70 D0 01 05 DC */ stfs f0, 0x5dc(r1) +/* 800BEC14 000BBB74 D0 01 05 E4 */ stfs f0, 0x5e4(r1) +/* 800BEC18 000BBB78 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800BEC1C 000BBB7C D0 01 05 E8 */ stfs f0, 0x5e8(r1) +/* 800BEC20 000BBB80 D0 21 05 D0 */ stfs f1, 0x5d0(r1) +/* 800BEC24 000BBB84 D0 21 05 E0 */ stfs f1, 0x5e0(r1) +/* 800BEC28 000BBB88 D0 01 05 EC */ stfs f0, 0x5ec(r1) +/* 800BEC2C 000BBB8C D0 21 05 F0 */ stfs f1, 0x5f0(r1) +/* 800BEC30 000BBB90 48 25 15 01 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BEC34 000BBB94 38 61 0A 14 */ addi r3, r1, 0xa14 +/* 800BEC38 000BBB98 38 81 05 F4 */ addi r4, r1, 0x5f4 +/* 800BEC3C 000BBB9C 48 25 13 E9 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BEC40 000BBBA0 ED F5 04 B2 */ fmuls f15, f21, f18 +/* 800BEC44 000BBBA4 83 8D A1 40 */ lwz r28, gpTweakTargeting@sda21(r13) +/* 800BEC48 000BBBA8 3B 00 00 00 */ li r24, 0 +/* 800BEC4C 000BBBAC 3B 60 00 00 */ li r27, 0 +lbl_800BEC50: +/* 800BEC50 000BBBB0 80 1F 00 EC */ lwz r0, 0xec(r31) +/* 800BEC54 000BBBB4 7E A0 DA 14 */ add r21, r0, r27 +/* 800BEC58 000BBBB8 80 15 00 08 */ lwz r0, 8(r21) +/* 800BEC5C 000BBBBC 28 00 00 00 */ cmplwi r0, 0 +/* 800BEC60 000BBBC0 40 82 00 30 */ bne lbl_800BEC90 +/* 800BEC64 000BBBC4 88 15 00 04 */ lbz r0, 4(r21) +/* 800BEC68 000BBBC8 28 00 00 00 */ cmplwi r0, 0 +/* 800BEC6C 000BBBCC 41 82 00 24 */ beq lbl_800BEC90 +/* 800BEC70 000BBBD0 80 75 00 00 */ lwz r3, 0(r21) +/* 800BEC74 000BBBD4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BEC78 000BBBD8 28 00 00 00 */ cmplwi r0, 0 +/* 800BEC7C 000BBBDC 41 82 00 14 */ beq lbl_800BEC90 +/* 800BEC80 000BBBE0 7E A3 AB 78 */ mr r3, r21 +/* 800BEC84 000BBBE4 48 28 21 89 */ bl GetObj__6CTokenFv +/* 800BEC88 000BBBE8 80 03 00 04 */ lwz r0, 4(r3) +/* 800BEC8C 000BBBEC 90 15 00 08 */ stw r0, 8(r21) +lbl_800BEC90: +/* 800BEC90 000BBBF0 83 35 00 08 */ lwz r25, 8(r21) +/* 800BEC94 000BBBF4 28 19 00 00 */ cmplwi r25, 0 +/* 800BEC98 000BBBF8 41 82 01 08 */ beq lbl_800BEDA0 +/* 800BEC9C 000BBBFC C0 15 00 10 */ lfs f0, 0x10(r21) +/* 800BECA0 000BBC00 38 61 05 88 */ addi r3, r1, 0x588 +/* 800BECA4 000BBC04 38 81 00 88 */ addi r4, r1, 0x88 +/* 800BECA8 000BBC08 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800BECAC 000BBC0C 48 25 17 E9 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800BECB0 000BBC10 38 61 05 AC */ addi r3, r1, 0x5ac +/* 800BECB4 000BBC14 38 81 0A 14 */ addi r4, r1, 0xa14 +/* 800BECB8 000BBC18 38 A1 05 88 */ addi r5, r1, 0x588 +/* 800BECBC 000BBC1C 48 25 14 75 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BECC0 000BBC20 38 61 09 F0 */ addi r3, r1, 0x9f0 +/* 800BECC4 000BBC24 38 81 05 AC */ addi r4, r1, 0x5ac +/* 800BECC8 000BBC28 48 25 13 5D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BECCC 000BBC2C C0 5F 01 14 */ lfs f2, 0x114(r31) +/* 800BECD0 000BBC30 38 61 05 34 */ addi r3, r1, 0x534 +/* 800BECD4 000BBC34 C0 3F 01 18 */ lfs f1, 0x118(r31) +/* 800BECD8 000BBC38 38 81 0A EC */ addi r4, r1, 0xaec +/* 800BECDC 000BBC3C C0 1F 01 1C */ lfs f0, 0x11c(r31) +/* 800BECE0 000BBC40 38 A1 09 F0 */ addi r5, r1, 0x9f0 +/* 800BECE4 000BBC44 D0 41 01 80 */ stfs f2, 0x180(r1) +/* 800BECE8 000BBC48 D0 21 01 84 */ stfs f1, 0x184(r1) +/* 800BECEC 000BBC4C D0 01 01 88 */ stfs f0, 0x188(r1) +/* 800BECF0 000BBC50 48 25 14 41 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BECF4 000BBC54 38 61 05 58 */ addi r3, r1, 0x558 +/* 800BECF8 000BBC58 38 81 05 34 */ addi r4, r1, 0x534 +/* 800BECFC 000BBC5C 38 A1 01 80 */ addi r5, r1, 0x180 +/* 800BED00 000BBC60 48 25 45 79 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BED04 000BBC64 7C 64 1B 78 */ mr r4, r3 +/* 800BED08 000BBC68 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BED0C 000BBC6C 81 83 00 00 */ lwz r12, 0(r3) +/* 800BED10 000BBC70 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BED14 000BBC74 7D 89 03 A6 */ mtctr r12 +/* 800BED18 000BBC78 4E 80 04 21 */ bctrl +/* 800BED1C 000BBC7C 88 7C 00 F7 */ lbz r3, 0xf7(r28) +/* 800BED20 000BBC80 3C 00 43 30 */ lis r0, 0x4330 +/* 800BED24 000BBC84 90 01 0B 10 */ stw r0, 0xb10(r1) +/* 800BED28 000BBC88 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BED2C 000BBC8C 90 61 0B 14 */ stw r3, 0xb14(r1) +/* 800BED30 000BBC90 C8 01 0B 10 */ lfd f0, 0xb10(r1) +/* 800BED34 000BBC94 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BED38 000BBC98 EF CF 00 32 */ fmuls f30, f15, f0 +/* 800BED3C 000BBC9C F3 C1 A0 0E */ psq_st f30, 14(r1), 1, qr2 +/* 800BED40 000BBCA0 38 61 00 54 */ addi r3, r1, 0x54 +/* 800BED44 000BBCA4 80 DC 00 F4 */ lwz r6, 0xf4(r28) +/* 800BED48 000BBCA8 38 81 00 8C */ addi r4, r1, 0x8c +/* 800BED4C 000BBCAC 88 01 00 0E */ lbz r0, 0xe(r1) +/* 800BED50 000BBCB0 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800BED54 000BBCB4 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 800BED58 000BBCB8 90 01 00 50 */ stw r0, 0x50(r1) +/* 800BED5C 000BBCBC 48 2A 43 55 */ bl Add__6CColorFRC6CColorRC6CColor +/* 800BED60 000BBCC0 38 C0 00 03 */ li r6, 3 +/* 800BED64 000BBCC4 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 800BED68 000BBCC8 39 00 00 07 */ li r8, 7 +/* 800BED6C 000BBCCC 38 E0 00 00 */ li r7, 0 +/* 800BED70 000BBCD0 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d +/* 800BED74 000BBCD4 99 01 00 E0 */ stb r8, 0xe0(r1) +/* 800BED78 000BBCD8 7F 23 CB 78 */ mr r3, r25 +/* 800BED7C 000BBCDC 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 800BED80 000BBCE0 98 E1 00 E1 */ stb r7, 0xe1(r1) +/* 800BED84 000BBCE4 B0 C1 00 E2 */ sth r6, 0xe2(r1) +/* 800BED88 000BBCE8 90 A1 00 E4 */ stw r5, 0xe4(r1) +/* 800BED8C 000BBCEC 99 01 00 E8 */ stb r8, 0xe8(r1) +/* 800BED90 000BBCF0 98 E1 00 E9 */ stb r7, 0xe9(r1) +/* 800BED94 000BBCF4 B0 01 00 EA */ sth r0, 0xea(r1) +/* 800BED98 000BBCF8 90 A1 00 EC */ stw r5, 0xec(r1) +/* 800BED9C 000BBCFC 48 29 6E 39 */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BEDA0: +/* 800BEDA0 000BBD00 3B 18 00 01 */ addi r24, r24, 1 +/* 800BEDA4 000BBD04 3B 7B 00 1C */ addi r27, r27, 0x1c +/* 800BEDA8 000BBD08 2C 18 00 09 */ cmpwi r24, 9 +/* 800BEDAC 000BBD0C 41 80 FE A4 */ blt lbl_800BEC50 +/* 800BEDB0 000BBD10 80 1F 00 CC */ lwz r0, 0xcc(r31) +/* 800BEDB4 000BBD14 28 00 00 00 */ cmplwi r0, 0 +/* 800BEDB8 000BBD18 40 82 00 30 */ bne lbl_800BEDE8 +/* 800BEDBC 000BBD1C 88 1F 00 C8 */ lbz r0, 0xc8(r31) +/* 800BEDC0 000BBD20 28 00 00 00 */ cmplwi r0, 0 +/* 800BEDC4 000BBD24 41 82 00 24 */ beq lbl_800BEDE8 +/* 800BEDC8 000BBD28 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 800BEDCC 000BBD2C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BEDD0 000BBD30 28 00 00 00 */ cmplwi r0, 0 +/* 800BEDD4 000BBD34 41 82 00 14 */ beq lbl_800BEDE8 +/* 800BEDD8 000BBD38 38 7F 00 C4 */ addi r3, r31, 0xc4 +/* 800BEDDC 000BBD3C 48 28 20 31 */ bl GetObj__6CTokenFv +/* 800BEDE0 000BBD40 80 03 00 04 */ lwz r0, 4(r3) +/* 800BEDE4 000BBD44 90 1F 00 CC */ stw r0, 0xcc(r31) +lbl_800BEDE8: +/* 800BEDE8 000BBD48 83 1F 00 CC */ lwz r24, 0xcc(r31) +/* 800BEDEC 000BBD4C 28 18 00 00 */ cmplwi r24, 0 +/* 800BEDF0 000BBD50 41 82 03 6C */ beq lbl_800BF15C +/* 800BEDF4 000BBD54 80 C1 01 E0 */ lwz r6, 0x1e0(r1) +/* 800BEDF8 000BBD58 FC 20 C8 90 */ fmr f1, f25 +/* 800BEDFC 000BBD5C 80 A1 01 E4 */ lwz r5, 0x1e4(r1) +/* 800BEE00 000BBD60 7F A4 EB 78 */ mr r4, r29 +/* 800BEE04 000BBD64 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800BEE08 000BBD68 38 61 01 74 */ addi r3, r1, 0x174 +/* 800BEE0C 000BBD6C 90 C1 01 74 */ stw r6, 0x174(r1) +/* 800BEE10 000BBD70 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BEE14 000BBD74 90 A1 01 78 */ stw r5, 0x178(r1) +/* 800BEE18 000BBD78 90 01 01 7C */ stw r0, 0x17c(r1) +/* 800BEE1C 000BBD7C C0 06 01 7C */ lfs f0, 0x17c(r6) +/* 800BEE20 000BBD80 C0 66 01 80 */ lfs f3, 0x180(r6) +/* 800BEE24 000BBD84 EC 57 00 32 */ fmuls f2, f23, f0 +/* 800BEE28 000BBD88 4B FF E1 75 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BEE2C 000BBD8C 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) +/* 800BEE30 000BBD90 7F C4 F3 78 */ mr r4, r30 +/* 800BEE34 000BBD94 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BEE38 000BBD98 38 61 05 10 */ addi r3, r1, 0x510 +/* 800BEE3C 000BBD9C C0 45 01 18 */ lfs f2, 0x118(r5) +/* 800BEE40 000BBDA0 38 A1 04 EC */ addi r5, r1, 0x4ec +/* 800BEE44 000BBDA4 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800BEE48 000BBDA8 D0 01 04 F0 */ stfs f0, 0x4f0(r1) +/* 800BEE4C 000BBDAC D0 01 04 F4 */ stfs f0, 0x4f4(r1) +/* 800BEE50 000BBDB0 EC 21 C0 24 */ fdivs f1, f1, f24 +/* 800BEE54 000BBDB4 D0 01 04 F8 */ stfs f0, 0x4f8(r1) +/* 800BEE58 000BBDB8 D0 01 05 00 */ stfs f0, 0x500(r1) +/* 800BEE5C 000BBDBC D0 01 05 04 */ stfs f0, 0x504(r1) +/* 800BEE60 000BBDC0 D0 01 05 08 */ stfs f0, 0x508(r1) +/* 800BEE64 000BBDC4 D0 21 04 EC */ stfs f1, 0x4ec(r1) +/* 800BEE68 000BBDC8 D0 21 04 FC */ stfs f1, 0x4fc(r1) +/* 800BEE6C 000BBDCC D0 21 05 0C */ stfs f1, 0x50c(r1) +/* 800BEE70 000BBDD0 48 25 12 C1 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BEE74 000BBDD4 38 61 09 CC */ addi r3, r1, 0x9cc +/* 800BEE78 000BBDD8 38 81 05 10 */ addi r4, r1, 0x510 +/* 800BEE7C 000BBDDC 48 25 11 A9 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BEE80 000BBDE0 C0 1F 00 D4 */ lfs f0, 0xd4(r31) +/* 800BEE84 000BBDE4 38 61 04 A4 */ addi r3, r1, 0x4a4 +/* 800BEE88 000BBDE8 38 81 00 84 */ addi r4, r1, 0x84 +/* 800BEE8C 000BBDEC D0 01 00 84 */ stfs f0, 0x84(r1) +/* 800BEE90 000BBDF0 48 25 16 05 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800BEE94 000BBDF4 38 61 04 C8 */ addi r3, r1, 0x4c8 +/* 800BEE98 000BBDF8 38 81 09 CC */ addi r4, r1, 0x9cc +/* 800BEE9C 000BBDFC 38 A1 04 A4 */ addi r5, r1, 0x4a4 +/* 800BEEA0 000BBE00 48 25 12 91 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BEEA4 000BBE04 38 61 09 A8 */ addi r3, r1, 0x9a8 +/* 800BEEA8 000BBE08 38 81 04 C8 */ addi r4, r1, 0x4c8 +/* 800BEEAC 000BBE0C 48 25 11 79 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BEEB0 000BBE10 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BEEB4 000BBE14 C0 3F 02 14 */ lfs f1, 0x214(r31) +/* 800BEEB8 000BBE18 C0 03 01 B8 */ lfs f0, 0x1b8(r3) +/* 800BEEBC 000BBE1C C2 23 01 D0 */ lfs f17, 0x1d0(r3) +/* 800BEEC0 000BBE20 EE 01 00 24 */ fdivs f16, f1, f0 +/* 800BEEC4 000BBE24 48 24 B0 1D */ bl GetSecondsMod900__9CGraphicsFv +/* 800BEEC8 000BBE28 FC 40 88 90 */ fmr f2, f17 +/* 800BEECC 000BBE2C 48 2D 5D E1 */ bl fmod +/* 800BEED0 000BBE30 FC 20 08 18 */ frsp f1, f1 +/* 800BEED4 000BBE34 C0 02 8D 64 */ lfs f0, lbl_805AAA84@sda21(r2) +/* 800BEED8 000BBE38 EC 40 04 72 */ fmuls f2, f0, f17 +/* 800BEEDC 000BBE3C FC 00 0A 10 */ fabs f0, f1 +/* 800BEEE0 000BBE40 FC 00 00 18 */ frsp f0, f0 +/* 800BEEE4 000BBE44 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 800BEEE8 000BBE48 40 80 00 0C */ bge lbl_800BEEF4 +/* 800BEEEC 000BBE4C EC 20 10 24 */ fdivs f1, f0, f2 +/* 800BEEF0 000BBE50 48 00 00 0C */ b lbl_800BEEFC +lbl_800BEEF4: +/* 800BEEF4 000BBE54 EC 11 00 28 */ fsubs f0, f17, f0 +/* 800BEEF8 000BBE58 EC 20 10 24 */ fdivs f1, f0, f2 +lbl_800BEEFC: +/* 800BEEFC 000BBE5C 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) +/* 800BEF00 000BBE60 38 61 00 4C */ addi r3, r1, 0x4c +/* 800BEF04 000BBE64 38 85 01 B4 */ addi r4, r5, 0x1b4 +/* 800BEF08 000BBE68 38 A5 01 CC */ addi r5, r5, 0x1cc +/* 800BEF0C 000BBE6C 48 2A 43 A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800BEF10 000BBE70 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800BEF14 000BBE74 FC 20 80 90 */ fmr f1, f16 +/* 800BEF18 000BBE78 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) +/* 800BEF1C 000BBE7C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800BEF20 000BBE80 90 01 00 80 */ stw r0, 0x80(r1) +/* 800BEF24 000BBE84 38 A1 00 80 */ addi r5, r1, 0x80 +/* 800BEF28 000BBE88 38 84 01 1C */ addi r4, r4, 0x11c +/* 800BEF2C 000BBE8C 48 2A 43 81 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800BEF30 000BBE90 80 01 00 48 */ lwz r0, 0x48(r1) +/* 800BEF34 000BBE94 38 61 04 50 */ addi r3, r1, 0x450 +/* 800BEF38 000BBE98 C0 5F 01 14 */ lfs f2, 0x114(r31) +/* 800BEF3C 000BBE9C 38 81 0A EC */ addi r4, r1, 0xaec +/* 800BEF40 000BBEA0 C0 3F 01 18 */ lfs f1, 0x118(r31) +/* 800BEF44 000BBEA4 38 A1 09 A8 */ addi r5, r1, 0x9a8 +/* 800BEF48 000BBEA8 C0 1F 01 1C */ lfs f0, 0x11c(r31) +/* 800BEF4C 000BBEAC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 800BEF50 000BBEB0 D0 41 01 68 */ stfs f2, 0x168(r1) +/* 800BEF54 000BBEB4 D0 21 01 6C */ stfs f1, 0x16c(r1) +/* 800BEF58 000BBEB8 D0 01 01 70 */ stfs f0, 0x170(r1) +/* 800BEF5C 000BBEBC 48 25 11 D5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BEF60 000BBEC0 38 61 04 74 */ addi r3, r1, 0x474 +/* 800BEF64 000BBEC4 38 81 04 50 */ addi r4, r1, 0x450 +/* 800BEF68 000BBEC8 38 A1 01 68 */ addi r5, r1, 0x168 +/* 800BEF6C 000BBECC 48 25 43 0D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BEF70 000BBED0 7C 64 1B 78 */ mr r4, r3 +/* 800BEF74 000BBED4 38 61 09 78 */ addi r3, r1, 0x978 +/* 800BEF78 000BBED8 48 25 3B FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800BEF7C 000BBEDC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BEF80 000BBEE0 38 81 09 78 */ addi r4, r1, 0x978 +/* 800BEF84 000BBEE4 81 83 00 00 */ lwz r12, 0(r3) +/* 800BEF88 000BBEE8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BEF8C 000BBEEC 7D 89 03 A6 */ mtctr r12 +/* 800BEF90 000BBEF0 4E 80 04 21 */ bctrl +/* 800BEF94 000BBEF4 88 61 00 7F */ lbz r3, 0x7f(r1) +/* 800BEF98 000BBEF8 3C 00 43 30 */ lis r0, 0x4330 +/* 800BEF9C 000BBEFC 90 01 0B 10 */ stw r0, 0xb10(r1) +/* 800BEFA0 000BBF00 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BEFA4 000BBF04 90 61 0B 14 */ stw r3, 0xb14(r1) +/* 800BEFA8 000BBF08 C8 01 0B 10 */ lfd f0, 0xb10(r1) +/* 800BEFAC 000BBF0C EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BEFB0 000BBF10 EE CF 00 32 */ fmuls f22, f15, f0 +/* 800BEFB4 000BBF14 FF A0 B0 90 */ fmr f29, f22 +/* 800BEFB8 000BBF18 F3 A1 A0 0D */ psq_st f29, 13(r1), 1, qr2 +/* 800BEFBC 000BBF1C 38 61 00 44 */ addi r3, r1, 0x44 +/* 800BEFC0 000BBF20 80 C1 00 7C */ lwz r6, 0x7c(r1) +/* 800BEFC4 000BBF24 38 81 00 8C */ addi r4, r1, 0x8c +/* 800BEFC8 000BBF28 88 01 00 0D */ lbz r0, 0xd(r1) +/* 800BEFCC 000BBF2C 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800BEFD0 000BBF30 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 800BEFD4 000BBF34 54 DB 00 2E */ rlwinm r27, r6, 0, 0, 0x17 +/* 800BEFD8 000BBF38 90 01 00 40 */ stw r0, 0x40(r1) +/* 800BEFDC 000BBF3C 48 2A 40 D5 */ bl Add__6CColorFRC6CColorRC6CColor +/* 800BEFE0 000BBF40 38 C0 00 03 */ li r6, 3 +/* 800BEFE4 000BBF44 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 800BEFE8 000BBF48 39 00 00 07 */ li r8, 7 +/* 800BEFEC 000BBF4C 38 E0 00 00 */ li r7, 0 +/* 800BEFF0 000BBF50 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d +/* 800BEFF4 000BBF54 99 01 00 D0 */ stb r8, 0xd0(r1) +/* 800BEFF8 000BBF58 7F 03 C3 78 */ mr r3, r24 +/* 800BEFFC 000BBF5C 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 800BF000 000BBF60 98 E1 00 D1 */ stb r7, 0xd1(r1) +/* 800BF004 000BBF64 B0 C1 00 D2 */ sth r6, 0xd2(r1) +/* 800BF008 000BBF68 90 A1 00 D4 */ stw r5, 0xd4(r1) +/* 800BF00C 000BBF6C 99 01 00 D8 */ stb r8, 0xd8(r1) +/* 800BF010 000BBF70 98 E1 00 D9 */ stb r7, 0xd9(r1) +/* 800BF014 000BBF74 B0 01 00 DA */ sth r0, 0xda(r1) +/* 800BF018 000BBF78 90 A1 00 DC */ stw r5, 0xdc(r1) +/* 800BF01C 000BBF7C 48 29 6B B9 */ bl Draw__6CModelCFRC11CModelFlags +/* 800BF020 000BBF80 80 1F 00 A8 */ lwz r0, 0xa8(r31) +/* 800BF024 000BBF84 28 00 00 00 */ cmplwi r0, 0 +/* 800BF028 000BBF88 40 82 00 30 */ bne lbl_800BF058 +/* 800BF02C 000BBF8C 88 1F 00 A4 */ lbz r0, 0xa4(r31) +/* 800BF030 000BBF90 28 00 00 00 */ cmplwi r0, 0 +/* 800BF034 000BBF94 41 82 00 24 */ beq lbl_800BF058 +/* 800BF038 000BBF98 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 800BF03C 000BBF9C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BF040 000BBFA0 28 00 00 00 */ cmplwi r0, 0 +/* 800BF044 000BBFA4 41 82 00 14 */ beq lbl_800BF058 +/* 800BF048 000BBFA8 38 7F 00 A0 */ addi r3, r31, 0xa0 +/* 800BF04C 000BBFAC 48 28 1D C1 */ bl GetObj__6CTokenFv +/* 800BF050 000BBFB0 80 03 00 04 */ lwz r0, 4(r3) +/* 800BF054 000BBFB4 90 1F 00 A8 */ stw r0, 0xa8(r31) +lbl_800BF058: +/* 800BF058 000BBFB8 83 1F 00 A8 */ lwz r24, 0xa8(r31) +/* 800BF05C 000BBFBC 28 18 00 00 */ cmplwi r24, 0 +/* 800BF060 000BBFC0 41 82 00 FC */ beq lbl_800BF15C +/* 800BF064 000BBFC4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF068 000BBFC8 3C 00 43 30 */ lis r0, 0x4330 +/* 800BF06C 000BBFCC 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 800BF070 000BBFD0 80 63 01 20 */ lwz r3, 0x120(r3) +/* 800BF074 000BBFD4 80 84 04 90 */ lwz r4, 0x490(r4) +/* 800BF078 000BBFD8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 800BF07C 000BBFDC 90 01 0B 10 */ stw r0, 0xb10(r1) +/* 800BF080 000BBFE0 88 04 08 34 */ lbz r0, 0x834(r4) +/* 800BF084 000BBFE4 90 61 0B 14 */ stw r3, 0xb14(r1) +/* 800BF088 000BBFE8 C8 22 8D 40 */ lfd f1, lbl_805AAA60@sda21(r2) +/* 800BF08C 000BBFEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800BF090 000BBFF0 C8 01 0B 10 */ lfd f0, 0xb10(r1) +/* 800BF094 000BBFF4 EC 20 08 28 */ fsubs f1, f0, f1 +/* 800BF098 000BBFF8 41 82 00 0C */ beq lbl_800BF0A4 +/* 800BF09C 000BBFFC C0 04 03 40 */ lfs f0, 0x340(r4) +/* 800BF0A0 000BC000 48 00 00 08 */ b lbl_800BF0A8 +lbl_800BF0A4: +/* 800BF0A4 000BC004 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +lbl_800BF0A8: +/* 800BF0A8 000BC008 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800BF0AC 000BC00C 3A C0 00 00 */ li r22, 0 +/* 800BF0B0 000BC010 FC 00 00 1E */ fctiwz f0, f0 +/* 800BF0B4 000BC014 D8 01 0B 18 */ stfd f0, 0xb18(r1) +/* 800BF0B8 000BC018 82 A1 0B 1C */ lwz r21, 0xb1c(r1) +/* 800BF0BC 000BC01C 48 00 00 98 */ b lbl_800BF154 +lbl_800BF0C0: +/* 800BF0C0 000BC020 F2 C1 A0 0C */ psq_st f22, 12(r1), 1, qr2 +/* 800BF0C4 000BC024 38 61 00 3C */ addi r3, r1, 0x3c +/* 800BF0C8 000BC028 38 81 00 8C */ addi r4, r1, 0x8c +/* 800BF0CC 000BC02C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800BF0D0 000BC030 88 01 00 0C */ lbz r0, 0xc(r1) +/* 800BF0D4 000BC034 7F 60 03 78 */ or r0, r27, r0 +/* 800BF0D8 000BC038 90 01 00 38 */ stw r0, 0x38(r1) +/* 800BF0DC 000BC03C 48 2A 3F D5 */ bl Add__6CColorFRC6CColorRC6CColor +/* 800BF0E0 000BC040 38 C0 00 03 */ li r6, 3 +/* 800BF0E4 000BC044 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 800BF0E8 000BC048 39 00 00 07 */ li r8, 7 +/* 800BF0EC 000BC04C 38 E0 00 00 */ li r7, 0 +/* 800BF0F0 000BC050 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d +/* 800BF0F4 000BC054 99 01 00 C0 */ stb r8, 0xc0(r1) +/* 800BF0F8 000BC058 7F 03 C3 78 */ mr r3, r24 +/* 800BF0FC 000BC05C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 800BF100 000BC060 98 E1 00 C1 */ stb r7, 0xc1(r1) +/* 800BF104 000BC064 B0 C1 00 C2 */ sth r6, 0xc2(r1) +/* 800BF108 000BC068 90 A1 00 C4 */ stw r5, 0xc4(r1) +/* 800BF10C 000BC06C 99 01 00 C8 */ stb r8, 0xc8(r1) +/* 800BF110 000BC070 98 E1 00 C9 */ stb r7, 0xc9(r1) +/* 800BF114 000BC074 B0 01 00 CA */ sth r0, 0xca(r1) +/* 800BF118 000BC078 90 A1 00 CC */ stw r5, 0xcc(r1) +/* 800BF11C 000BC07C 48 29 6A B9 */ bl Draw__6CModelCFRC11CModelFlags +/* 800BF120 000BC080 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) +/* 800BF124 000BC084 38 61 09 78 */ addi r3, r1, 0x978 +/* 800BF128 000BC088 38 81 00 34 */ addi r4, r1, 0x34 +/* 800BF12C 000BC08C C0 05 01 24 */ lfs f0, 0x124(r5) +/* 800BF130 000BC090 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800BF134 000BC094 48 25 44 A5 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 800BF138 000BC098 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BF13C 000BC09C 38 81 09 78 */ addi r4, r1, 0x978 +/* 800BF140 000BC0A0 81 83 00 00 */ lwz r12, 0(r3) +/* 800BF144 000BC0A4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BF148 000BC0A8 7D 89 03 A6 */ mtctr r12 +/* 800BF14C 000BC0AC 4E 80 04 21 */ bctrl +/* 800BF150 000BC0B0 3A D6 00 01 */ addi r22, r22, 1 +lbl_800BF154: +/* 800BF154 000BC0B4 7C 16 A8 00 */ cmpw r22, r21 +/* 800BF158 000BC0B8 41 80 FF 68 */ blt lbl_800BF0C0 +lbl_800BF15C: +/* 800BF15C 000BC0BC C0 3F 02 08 */ lfs f1, 0x208(r31) +/* 800BF160 000BC0C0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BF164 000BC0C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BF168 000BC0C8 40 81 02 00 */ ble lbl_800BF368 +/* 800BF16C 000BC0CC 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 800BF170 000BC0D0 28 00 00 00 */ cmplwi r0, 0 +/* 800BF174 000BC0D4 40 82 00 30 */ bne lbl_800BF1A4 +/* 800BF178 000BC0D8 88 1F 00 74 */ lbz r0, 0x74(r31) +/* 800BF17C 000BC0DC 28 00 00 00 */ cmplwi r0, 0 +/* 800BF180 000BC0E0 41 82 00 24 */ beq lbl_800BF1A4 +/* 800BF184 000BC0E4 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 800BF188 000BC0E8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BF18C 000BC0EC 28 00 00 00 */ cmplwi r0, 0 +/* 800BF190 000BC0F0 41 82 00 14 */ beq lbl_800BF1A4 +/* 800BF194 000BC0F4 38 7F 00 70 */ addi r3, r31, 0x70 +/* 800BF198 000BC0F8 48 28 1C 75 */ bl GetObj__6CTokenFv +/* 800BF19C 000BC0FC 80 03 00 04 */ lwz r0, 4(r3) +/* 800BF1A0 000BC100 90 1F 00 78 */ stw r0, 0x78(r31) +lbl_800BF1A4: +/* 800BF1A4 000BC104 83 1F 00 78 */ lwz r24, 0x78(r31) +/* 800BF1A8 000BC108 28 18 00 00 */ cmplwi r24, 0 +/* 800BF1AC 000BC10C 41 82 01 BC */ beq lbl_800BF368 +/* 800BF1B0 000BC110 80 1F 02 00 */ lwz r0, 0x200(r31) +/* 800BF1B4 000BC114 2C 00 00 00 */ cmpwi r0, 0 +/* 800BF1B8 000BC118 40 82 00 10 */ bne lbl_800BF1C8 +/* 800BF1BC 000BC11C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF1C0 000BC120 3A A3 00 D8 */ addi r21, r3, 0xd8 +/* 800BF1C4 000BC124 48 00 00 34 */ b lbl_800BF1F8 +lbl_800BF1C8: +/* 800BF1C8 000BC128 2C 00 00 01 */ cmpwi r0, 1 +/* 800BF1CC 000BC12C 40 82 00 10 */ bne lbl_800BF1DC +/* 800BF1D0 000BC130 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF1D4 000BC134 3A A3 00 DC */ addi r21, r3, 0xdc +/* 800BF1D8 000BC138 48 00 00 20 */ b lbl_800BF1F8 +lbl_800BF1DC: +/* 800BF1DC 000BC13C 2C 00 00 02 */ cmpwi r0, 2 +/* 800BF1E0 000BC140 40 82 00 10 */ bne lbl_800BF1F0 +/* 800BF1E4 000BC144 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF1E8 000BC148 3A A3 00 E0 */ addi r21, r3, 0xe0 +/* 800BF1EC 000BC14C 48 00 00 0C */ b lbl_800BF1F8 +lbl_800BF1F0: +/* 800BF1F0 000BC150 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF1F4 000BC154 3A A3 00 E4 */ addi r21, r3, 0xe4 +lbl_800BF1F8: +/* 800BF1F8 000BC158 80 C1 01 E0 */ lwz r6, 0x1e0(r1) +/* 800BF1FC 000BC15C FC 20 C8 90 */ fmr f1, f25 +/* 800BF200 000BC160 80 A1 01 E4 */ lwz r5, 0x1e4(r1) +/* 800BF204 000BC164 7F A4 EB 78 */ mr r4, r29 +/* 800BF208 000BC168 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800BF20C 000BC16C 38 61 01 5C */ addi r3, r1, 0x15c +/* 800BF210 000BC170 90 C1 01 5C */ stw r6, 0x15c(r1) +/* 800BF214 000BC174 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BF218 000BC178 90 A1 01 60 */ stw r5, 0x160(r1) +/* 800BF21C 000BC17C 90 01 01 64 */ stw r0, 0x164(r1) +/* 800BF220 000BC180 C0 06 01 74 */ lfs f0, 0x174(r6) +/* 800BF224 000BC184 C0 66 01 78 */ lfs f3, 0x178(r6) +/* 800BF228 000BC188 EC 57 00 32 */ fmuls f2, f23, f0 +/* 800BF22C 000BC18C 4B FF DD 71 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BF230 000BC190 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BF234 000BC194 7F C4 F3 78 */ mr r4, r30 +/* 800BF238 000BC198 C0 5F 02 08 */ lfs f2, 0x208(r31) +/* 800BF23C 000BC19C 38 61 04 2C */ addi r3, r1, 0x42c +/* 800BF240 000BC1A0 C0 06 00 D0 */ lfs f0, 0xd0(r6) +/* 800BF244 000BC1A4 38 A1 04 08 */ addi r5, r1, 0x408 +/* 800BF248 000BC1A8 C0 66 00 D4 */ lfs f3, 0xd4(r6) +/* 800BF24C 000BC1AC EC 42 00 24 */ fdivs f2, f2, f0 +/* 800BF250 000BC1B0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BF254 000BC1B4 D0 01 04 0C */ stfs f0, 0x40c(r1) +/* 800BF258 000BC1B8 D0 01 04 10 */ stfs f0, 0x410(r1) +/* 800BF25C 000BC1BC D0 01 04 14 */ stfs f0, 0x414(r1) +/* 800BF260 000BC1C0 D0 01 04 1C */ stfs f0, 0x41c(r1) +/* 800BF264 000BC1C4 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 800BF268 000BC1C8 D0 01 04 20 */ stfs f0, 0x420(r1) +/* 800BF26C 000BC1CC D0 01 04 24 */ stfs f0, 0x424(r1) +/* 800BF270 000BC1D0 EC 01 00 B2 */ fmuls f0, f1, f2 +/* 800BF274 000BC1D4 EC 00 C0 24 */ fdivs f0, f0, f24 +/* 800BF278 000BC1D8 D0 01 04 08 */ stfs f0, 0x408(r1) +/* 800BF27C 000BC1DC D0 01 04 18 */ stfs f0, 0x418(r1) +/* 800BF280 000BC1E0 D0 01 04 28 */ stfs f0, 0x428(r1) +/* 800BF284 000BC1E4 48 25 0E AD */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BF288 000BC1E8 38 61 09 54 */ addi r3, r1, 0x954 +/* 800BF28C 000BC1EC 38 81 04 2C */ addi r4, r1, 0x42c +/* 800BF290 000BC1F0 48 25 0D 95 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BF294 000BC1F4 C0 5F 01 14 */ lfs f2, 0x114(r31) +/* 800BF298 000BC1F8 38 61 03 B4 */ addi r3, r1, 0x3b4 +/* 800BF29C 000BC1FC C0 3F 01 18 */ lfs f1, 0x118(r31) +/* 800BF2A0 000BC200 38 81 0A EC */ addi r4, r1, 0xaec +/* 800BF2A4 000BC204 C0 1F 01 1C */ lfs f0, 0x11c(r31) +/* 800BF2A8 000BC208 38 A1 09 54 */ addi r5, r1, 0x954 +/* 800BF2AC 000BC20C D0 41 01 50 */ stfs f2, 0x150(r1) +/* 800BF2B0 000BC210 D0 21 01 54 */ stfs f1, 0x154(r1) +/* 800BF2B4 000BC214 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 800BF2B8 000BC218 48 25 0E 79 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BF2BC 000BC21C 38 61 03 D8 */ addi r3, r1, 0x3d8 +/* 800BF2C0 000BC220 38 81 03 B4 */ addi r4, r1, 0x3b4 +/* 800BF2C4 000BC224 38 A1 01 50 */ addi r5, r1, 0x150 +/* 800BF2C8 000BC228 48 25 3F B1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BF2CC 000BC22C 7C 64 1B 78 */ mr r4, r3 +/* 800BF2D0 000BC230 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BF2D4 000BC234 81 83 00 00 */ lwz r12, 0(r3) +/* 800BF2D8 000BC238 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BF2DC 000BC23C 7D 89 03 A6 */ mtctr r12 +/* 800BF2E0 000BC240 4E 80 04 21 */ bctrl +/* 800BF2E4 000BC244 88 75 00 03 */ lbz r3, 3(r21) +/* 800BF2E8 000BC248 3C 00 43 30 */ lis r0, 0x4330 +/* 800BF2EC 000BC24C 90 01 0B 18 */ stw r0, 0xb18(r1) +/* 800BF2F0 000BC250 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BF2F4 000BC254 90 61 0B 1C */ stw r3, 0xb1c(r1) +/* 800BF2F8 000BC258 C8 01 0B 18 */ lfd f0, 0xb18(r1) +/* 800BF2FC 000BC25C EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BF300 000BC260 EF 8F 00 32 */ fmuls f28, f15, f0 +/* 800BF304 000BC264 F3 81 A0 0B */ psq_st f28, 11(r1), 1, qr2 +/* 800BF308 000BC268 38 61 00 30 */ addi r3, r1, 0x30 +/* 800BF30C 000BC26C 80 D5 00 00 */ lwz r6, 0(r21) +/* 800BF310 000BC270 38 81 00 8C */ addi r4, r1, 0x8c +/* 800BF314 000BC274 88 01 00 0B */ lbz r0, 0xb(r1) +/* 800BF318 000BC278 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800BF31C 000BC27C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 800BF320 000BC280 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800BF324 000BC284 48 2A 3D 8D */ bl Add__6CColorFRC6CColorRC6CColor +/* 800BF328 000BC288 38 C0 00 03 */ li r6, 3 +/* 800BF32C 000BC28C 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 800BF330 000BC290 39 00 00 07 */ li r8, 7 +/* 800BF334 000BC294 38 E0 00 00 */ li r7, 0 +/* 800BF338 000BC298 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d +/* 800BF33C 000BC29C 99 01 00 B0 */ stb r8, 0xb0(r1) +/* 800BF340 000BC2A0 7F 03 C3 78 */ mr r3, r24 +/* 800BF344 000BC2A4 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800BF348 000BC2A8 98 E1 00 B1 */ stb r7, 0xb1(r1) +/* 800BF34C 000BC2AC B0 C1 00 B2 */ sth r6, 0xb2(r1) +/* 800BF350 000BC2B0 90 A1 00 B4 */ stw r5, 0xb4(r1) +/* 800BF354 000BC2B4 99 01 00 B8 */ stb r8, 0xb8(r1) +/* 800BF358 000BC2B8 98 E1 00 B9 */ stb r7, 0xb9(r1) +/* 800BF35C 000BC2BC B0 01 00 BA */ sth r0, 0xba(r1) +/* 800BF360 000BC2C0 90 A1 00 BC */ stw r5, 0xbc(r1) +/* 800BF364 000BC2C4 48 29 68 71 */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BF368: +/* 800BF368 000BC2C8 C0 3F 02 10 */ lfs f1, 0x210(r31) +/* 800BF36C 000BC2CC C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BF370 000BC2D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BF374 000BC2D4 40 81 01 E0 */ ble lbl_800BF554 +/* 800BF378 000BC2D8 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 800BF37C 000BC2DC 28 00 00 00 */ cmplwi r0, 0 +/* 800BF380 000BC2E0 40 82 00 30 */ bne lbl_800BF3B0 +/* 800BF384 000BC2E4 88 1F 00 80 */ lbz r0, 0x80(r31) +/* 800BF388 000BC2E8 28 00 00 00 */ cmplwi r0, 0 +/* 800BF38C 000BC2EC 41 82 00 24 */ beq lbl_800BF3B0 +/* 800BF390 000BC2F0 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 800BF394 000BC2F4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BF398 000BC2F8 28 00 00 00 */ cmplwi r0, 0 +/* 800BF39C 000BC2FC 41 82 00 14 */ beq lbl_800BF3B0 +/* 800BF3A0 000BC300 38 7F 00 7C */ addi r3, r31, 0x7c +/* 800BF3A4 000BC304 48 28 1A 69 */ bl GetObj__6CTokenFv +/* 800BF3A8 000BC308 80 03 00 04 */ lwz r0, 4(r3) +/* 800BF3AC 000BC30C 90 1F 00 84 */ stw r0, 0x84(r31) +lbl_800BF3B0: +/* 800BF3B0 000BC310 83 1F 00 84 */ lwz r24, 0x84(r31) +/* 800BF3B4 000BC314 28 18 00 00 */ cmplwi r24, 0 +/* 800BF3B8 000BC318 41 82 01 9C */ beq lbl_800BF554 +/* 800BF3BC 000BC31C 82 AD A1 40 */ lwz r21, gpTweakTargeting@sda21(r13) +/* 800BF3C0 000BC320 FC 20 C8 90 */ fmr f1, f25 +/* 800BF3C4 000BC324 C0 5F 02 10 */ lfs f2, 0x210(r31) +/* 800BF3C8 000BC328 7F A4 EB 78 */ mr r4, r29 +/* 800BF3CC 000BC32C C0 15 01 2C */ lfs f0, 0x12c(r21) +/* 800BF3D0 000BC330 38 61 01 44 */ addi r3, r1, 0x144 +/* 800BF3D4 000BC334 80 C1 01 E0 */ lwz r6, 0x1e0(r1) +/* 800BF3D8 000BC338 EE 02 00 24 */ fdivs f16, f2, f0 +/* 800BF3DC 000BC33C 80 A1 01 E4 */ lwz r5, 0x1e4(r1) +/* 800BF3E0 000BC340 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800BF3E4 000BC344 90 C1 01 44 */ stw r6, 0x144(r1) +/* 800BF3E8 000BC348 90 A1 01 48 */ stw r5, 0x148(r1) +/* 800BF3EC 000BC34C 90 01 01 4C */ stw r0, 0x14c(r1) +/* 800BF3F0 000BC350 C0 15 01 84 */ lfs f0, 0x184(r21) +/* 800BF3F4 000BC354 C0 75 01 88 */ lfs f3, 0x188(r21) +/* 800BF3F8 000BC358 EC 57 00 32 */ fmuls f2, f23, f0 +/* 800BF3FC 000BC35C 4B FF DB A1 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BF400 000BC360 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) +/* 800BF404 000BC364 38 61 03 24 */ addi r3, r1, 0x324 +/* 800BF408 000BC368 C0 5F 01 F0 */ lfs f2, 0x1f0(r31) +/* 800BF40C 000BC36C 38 81 00 28 */ addi r4, r1, 0x28 +/* 800BF410 000BC370 C0 65 01 28 */ lfs f3, 0x128(r5) +/* 800BF414 000BC374 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BF418 000BC378 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 800BF41C 000BC37C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800BF420 000BC380 D0 01 03 4C */ stfs f0, 0x34c(r1) +/* 800BF424 000BC384 EC 21 C0 24 */ fdivs f1, f1, f24 +/* 800BF428 000BC388 D0 01 03 50 */ stfs f0, 0x350(r1) +/* 800BF42C 000BC38C D0 01 03 54 */ stfs f0, 0x354(r1) +/* 800BF430 000BC390 D0 01 03 5C */ stfs f0, 0x35c(r1) +/* 800BF434 000BC394 D0 01 03 60 */ stfs f0, 0x360(r1) +/* 800BF438 000BC398 D0 01 03 64 */ stfs f0, 0x364(r1) +/* 800BF43C 000BC39C D0 21 03 48 */ stfs f1, 0x348(r1) +/* 800BF440 000BC3A0 D0 21 03 58 */ stfs f1, 0x358(r1) +/* 800BF444 000BC3A4 D0 21 03 68 */ stfs f1, 0x368(r1) +/* 800BF448 000BC3A8 48 25 10 4D */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800BF44C 000BC3AC 7F C4 F3 78 */ mr r4, r30 +/* 800BF450 000BC3B0 38 61 03 6C */ addi r3, r1, 0x36c +/* 800BF454 000BC3B4 38 A1 03 48 */ addi r5, r1, 0x348 +/* 800BF458 000BC3B8 48 25 0C D9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BF45C 000BC3BC 38 61 03 90 */ addi r3, r1, 0x390 +/* 800BF460 000BC3C0 38 81 03 6C */ addi r4, r1, 0x36c +/* 800BF464 000BC3C4 38 A1 03 24 */ addi r5, r1, 0x324 +/* 800BF468 000BC3C8 48 25 0C C9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BF46C 000BC3CC 38 61 09 30 */ addi r3, r1, 0x930 +/* 800BF470 000BC3D0 38 81 03 90 */ addi r4, r1, 0x390 +/* 800BF474 000BC3D4 48 25 0B B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BF478 000BC3D8 C0 5F 01 14 */ lfs f2, 0x114(r31) +/* 800BF47C 000BC3DC 38 61 02 D0 */ addi r3, r1, 0x2d0 +/* 800BF480 000BC3E0 C0 3F 01 18 */ lfs f1, 0x118(r31) +/* 800BF484 000BC3E4 38 81 0A EC */ addi r4, r1, 0xaec +/* 800BF488 000BC3E8 C0 1F 01 1C */ lfs f0, 0x11c(r31) +/* 800BF48C 000BC3EC 38 A1 09 30 */ addi r5, r1, 0x930 +/* 800BF490 000BC3F0 D0 41 01 38 */ stfs f2, 0x138(r1) +/* 800BF494 000BC3F4 D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 800BF498 000BC3F8 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 800BF49C 000BC3FC 48 25 0C 95 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BF4A0 000BC400 38 61 02 F4 */ addi r3, r1, 0x2f4 +/* 800BF4A4 000BC404 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800BF4A8 000BC408 38 A1 01 38 */ addi r5, r1, 0x138 +/* 800BF4AC 000BC40C 48 25 3D CD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BF4B0 000BC410 7C 64 1B 78 */ mr r4, r3 +/* 800BF4B4 000BC414 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BF4B8 000BC418 81 83 00 00 */ lwz r12, 0(r3) +/* 800BF4BC 000BC41C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BF4C0 000BC420 7D 89 03 A6 */ mtctr r12 +/* 800BF4C4 000BC424 4E 80 04 21 */ bctrl +/* 800BF4C8 000BC428 88 75 01 33 */ lbz r3, 0x133(r21) +/* 800BF4CC 000BC42C 3C 00 43 30 */ lis r0, 0x4330 +/* 800BF4D0 000BC430 EC 15 04 32 */ fmuls f0, f21, f16 +/* 800BF4D4 000BC434 90 01 0B 18 */ stw r0, 0xb18(r1) +/* 800BF4D8 000BC438 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) +/* 800BF4DC 000BC43C 90 61 0B 1C */ stw r3, 0xb1c(r1) +/* 800BF4E0 000BC440 EC 52 00 32 */ fmuls f2, f18, f0 +/* 800BF4E4 000BC444 C8 01 0B 18 */ lfd f0, 0xb18(r1) +/* 800BF4E8 000BC448 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800BF4EC 000BC44C EF 62 00 32 */ fmuls f27, f2, f0 +/* 800BF4F0 000BC450 F3 61 A0 0A */ psq_st f27, 10(r1), 1, qr2 +/* 800BF4F4 000BC454 38 61 00 24 */ addi r3, r1, 0x24 +/* 800BF4F8 000BC458 80 D5 01 30 */ lwz r6, 0x130(r21) +/* 800BF4FC 000BC45C 38 81 00 8C */ addi r4, r1, 0x8c +/* 800BF500 000BC460 88 01 00 0A */ lbz r0, 0xa(r1) +/* 800BF504 000BC464 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800BF508 000BC468 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 800BF50C 000BC46C 90 01 00 20 */ stw r0, 0x20(r1) +/* 800BF510 000BC470 48 2A 3B A1 */ bl Add__6CColorFRC6CColorRC6CColor +/* 800BF514 000BC474 38 C0 00 03 */ li r6, 3 +/* 800BF518 000BC478 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800BF51C 000BC47C 39 00 00 07 */ li r8, 7 +/* 800BF520 000BC480 38 E0 00 00 */ li r7, 0 +/* 800BF524 000BC484 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d +/* 800BF528 000BC488 99 01 00 A0 */ stb r8, 0xa0(r1) +/* 800BF52C 000BC48C 7F 03 C3 78 */ mr r3, r24 +/* 800BF530 000BC490 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800BF534 000BC494 98 E1 00 A1 */ stb r7, 0xa1(r1) +/* 800BF538 000BC498 B0 C1 00 A2 */ sth r6, 0xa2(r1) +/* 800BF53C 000BC49C 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 800BF540 000BC4A0 99 01 00 A8 */ stb r8, 0xa8(r1) +/* 800BF544 000BC4A4 98 E1 00 A9 */ stb r7, 0xa9(r1) +/* 800BF548 000BC4A8 B0 01 00 AA */ sth r0, 0xaa(r1) +/* 800BF54C 000BC4AC 90 A1 00 AC */ stw r5, 0xac(r1) +/* 800BF550 000BC4B0 48 29 66 85 */ bl Draw__6CModelCFRC11CModelFlags +lbl_800BF554: +/* 800BF554 000BC4B4 C0 3F 02 08 */ lfs f1, 0x208(r31) +/* 800BF558 000BC4B8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BF55C 000BC4BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BF560 000BC4C0 40 81 02 58 */ ble lbl_800BF7B8 +/* 800BF564 000BC4C4 80 1F 00 90 */ lwz r0, 0x90(r31) +/* 800BF568 000BC4C8 28 00 00 00 */ cmplwi r0, 0 +/* 800BF56C 000BC4CC 40 82 00 30 */ bne lbl_800BF59C +/* 800BF570 000BC4D0 88 1F 00 8C */ lbz r0, 0x8c(r31) +/* 800BF574 000BC4D4 28 00 00 00 */ cmplwi r0, 0 +/* 800BF578 000BC4D8 41 82 00 24 */ beq lbl_800BF59C +/* 800BF57C 000BC4DC 80 7F 00 88 */ lwz r3, 0x88(r31) +/* 800BF580 000BC4E0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BF584 000BC4E4 28 00 00 00 */ cmplwi r0, 0 +/* 800BF588 000BC4E8 41 82 00 14 */ beq lbl_800BF59C +/* 800BF58C 000BC4EC 38 7F 00 88 */ addi r3, r31, 0x88 +/* 800BF590 000BC4F0 48 28 18 7D */ bl GetObj__6CTokenFv +/* 800BF594 000BC4F4 80 03 00 04 */ lwz r0, 4(r3) +/* 800BF598 000BC4F8 90 1F 00 90 */ stw r0, 0x90(r31) +lbl_800BF59C: +/* 800BF59C 000BC4FC 83 1F 00 90 */ lwz r24, 0x90(r31) +/* 800BF5A0 000BC500 28 18 00 00 */ cmplwi r24, 0 +/* 800BF5A4 000BC504 41 82 02 14 */ beq lbl_800BF7B8 +/* 800BF5A8 000BC508 80 C1 01 E0 */ lwz r6, 0x1e0(r1) +/* 800BF5AC 000BC50C FC 20 C8 90 */ fmr f1, f25 +/* 800BF5B0 000BC510 80 A1 01 E4 */ lwz r5, 0x1e4(r1) +/* 800BF5B4 000BC514 7F A4 EB 78 */ mr r4, r29 +/* 800BF5B8 000BC518 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800BF5BC 000BC51C 38 61 01 2C */ addi r3, r1, 0x12c +/* 800BF5C0 000BC520 90 C1 01 2C */ stw r6, 0x12c(r1) +/* 800BF5C4 000BC524 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) +/* 800BF5C8 000BC528 90 A1 01 30 */ stw r5, 0x130(r1) +/* 800BF5CC 000BC52C 90 01 01 34 */ stw r0, 0x134(r1) +/* 800BF5D0 000BC530 C0 06 01 8C */ lfs f0, 0x18c(r6) +/* 800BF5D4 000BC534 C0 66 01 90 */ lfs f3, 0x190(r6) +/* 800BF5D8 000BC538 EC 57 00 32 */ fmuls f2, f23, f0 +/* 800BF5DC 000BC53C 4B FF D9 C1 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BF5E0 000BC540 83 AD A1 40 */ lwz r29, gpTweakTargeting@sda21(r13) +/* 800BF5E4 000BC544 7F C4 F3 78 */ mr r4, r30 +/* 800BF5E8 000BC548 C0 42 8D 64 */ lfs f2, lbl_805AAA84@sda21(r2) +/* 800BF5EC 000BC54C 38 61 02 AC */ addi r3, r1, 0x2ac +/* 800BF5F0 000BC550 C0 1D 01 2C */ lfs f0, 0x12c(r29) +/* 800BF5F4 000BC554 38 A1 02 88 */ addi r5, r1, 0x288 +/* 800BF5F8 000BC558 C0 7F 02 10 */ lfs f3, 0x210(r31) +/* 800BF5FC 000BC55C EC E2 00 32 */ fmuls f7, f2, f0 +/* 800BF600 000BC560 C0 5F 02 08 */ lfs f2, 0x208(r31) +/* 800BF604 000BC564 C0 1D 00 D0 */ lfs f0, 0xd0(r29) +/* 800BF608 000BC568 C0 A2 8D 38 */ lfs f5, lbl_805AAA58@sda21(r2) +/* 800BF60C 000BC56C EC C3 38 28 */ fsubs f6, f3, f7 +/* 800BF610 000BC570 C0 7D 01 34 */ lfs f3, 0x134(r29) +/* 800BF614 000BC574 EC 42 00 24 */ fdivs f2, f2, f0 +/* 800BF618 000BC578 C0 9D 01 38 */ lfs f4, 0x138(r29) +/* 800BF61C 000BC57C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BF620 000BC580 D0 01 02 8C */ stfs f0, 0x28c(r1) +/* 800BF624 000BC584 D0 01 02 90 */ stfs f0, 0x290(r1) +/* 800BF628 000BC588 D0 01 02 94 */ stfs f0, 0x294(r1) +/* 800BF62C 000BC58C EC C6 38 24 */ fdivs f6, f6, f7 +/* 800BF630 000BC590 D0 01 02 9C */ stfs f0, 0x29c(r1) +/* 800BF634 000BC594 D0 01 02 A0 */ stfs f0, 0x2a0(r1) +/* 800BF638 000BC598 D0 01 02 A4 */ stfs f0, 0x2a4(r1) +/* 800BF63C 000BC59C FC 00 32 10 */ fabs f0, f6 +/* 800BF640 000BC5A0 FC 00 00 18 */ frsp f0, f0 +/* 800BF644 000BC5A4 EC A5 00 28 */ fsubs f5, f5, f0 +/* 800BF648 000BC5A8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 800BF64C 000BC5AC EC 05 01 3A */ fmadds f0, f5, f4, f0 +/* 800BF650 000BC5B0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800BF654 000BC5B4 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 800BF658 000BC5B8 EC 00 C0 24 */ fdivs f0, f0, f24 +/* 800BF65C 000BC5BC D0 01 02 88 */ stfs f0, 0x288(r1) +/* 800BF660 000BC5C0 D0 01 02 98 */ stfs f0, 0x298(r1) +/* 800BF664 000BC5C4 D0 01 02 A8 */ stfs f0, 0x2a8(r1) +/* 800BF668 000BC5C8 48 25 0A C9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BF66C 000BC5CC 38 61 09 0C */ addi r3, r1, 0x90c +/* 800BF670 000BC5D0 38 81 02 AC */ addi r4, r1, 0x2ac +/* 800BF674 000BC5D4 48 25 09 B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BF678 000BC5D8 CA 02 8D 48 */ lfd f16, lbl_805AAA68@sda21(r2) +/* 800BF67C 000BC5DC 3B 20 00 00 */ li r25, 0 +/* 800BF680 000BC5E0 3F 40 43 30 */ lis r26, 0x4330 +lbl_800BF684: +/* 800BF684 000BC5E4 2C 19 00 00 */ cmpwi r25, 0 +/* 800BF688 000BC5E8 40 82 00 10 */ bne lbl_800BF698 +/* 800BF68C 000BC5EC 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF690 000BC5F0 C0 03 01 40 */ lfs f0, 0x140(r3) +/* 800BF694 000BC5F4 48 00 00 20 */ b lbl_800BF6B4 +lbl_800BF698: +/* 800BF698 000BC5F8 2C 19 00 01 */ cmpwi r25, 1 +/* 800BF69C 000BC5FC 40 82 00 10 */ bne lbl_800BF6AC +/* 800BF6A0 000BC600 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF6A4 000BC604 C0 03 01 44 */ lfs f0, 0x144(r3) +/* 800BF6A8 000BC608 48 00 00 0C */ b lbl_800BF6B4 +lbl_800BF6AC: +/* 800BF6AC 000BC60C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF6B0 000BC610 C0 03 01 48 */ lfs f0, 0x148(r3) +lbl_800BF6B4: +/* 800BF6B4 000BC614 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800BF6B8 000BC618 38 61 02 40 */ addi r3, r1, 0x240 +/* 800BF6BC 000BC61C 38 81 00 1C */ addi r4, r1, 0x1c +/* 800BF6C0 000BC620 48 25 0D D5 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800BF6C4 000BC624 38 61 02 64 */ addi r3, r1, 0x264 +/* 800BF6C8 000BC628 38 81 09 0C */ addi r4, r1, 0x90c +/* 800BF6CC 000BC62C 38 A1 02 40 */ addi r5, r1, 0x240 +/* 800BF6D0 000BC630 48 25 0A 61 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BF6D4 000BC634 38 61 08 E8 */ addi r3, r1, 0x8e8 +/* 800BF6D8 000BC638 38 81 02 64 */ addi r4, r1, 0x264 +/* 800BF6DC 000BC63C 48 25 09 49 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BF6E0 000BC640 C0 5F 01 14 */ lfs f2, 0x114(r31) +/* 800BF6E4 000BC644 38 61 01 EC */ addi r3, r1, 0x1ec +/* 800BF6E8 000BC648 C0 3F 01 18 */ lfs f1, 0x118(r31) +/* 800BF6EC 000BC64C 38 81 0A EC */ addi r4, r1, 0xaec +/* 800BF6F0 000BC650 C0 1F 01 1C */ lfs f0, 0x11c(r31) +/* 800BF6F4 000BC654 38 A1 08 E8 */ addi r5, r1, 0x8e8 +/* 800BF6F8 000BC658 D0 41 01 20 */ stfs f2, 0x120(r1) +/* 800BF6FC 000BC65C D0 21 01 24 */ stfs f1, 0x124(r1) +/* 800BF700 000BC660 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 800BF704 000BC664 48 25 0A 2D */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BF708 000BC668 38 61 02 10 */ addi r3, r1, 0x210 +/* 800BF70C 000BC66C 38 81 01 EC */ addi r4, r1, 0x1ec +/* 800BF710 000BC670 38 A1 01 20 */ addi r5, r1, 0x120 +/* 800BF714 000BC674 48 25 3B 65 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BF718 000BC678 7C 64 1B 78 */ mr r4, r3 +/* 800BF71C 000BC67C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BF720 000BC680 81 83 00 00 */ lwz r12, 0(r3) +/* 800BF724 000BC684 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BF728 000BC688 7D 89 03 A6 */ mtctr r12 +/* 800BF72C 000BC68C 4E 80 04 21 */ bctrl +/* 800BF730 000BC690 88 1D 01 3F */ lbz r0, 0x13f(r29) +/* 800BF734 000BC694 93 41 0B 18 */ stw r26, 0xb18(r1) +/* 800BF738 000BC698 90 01 0B 1C */ stw r0, 0xb1c(r1) +/* 800BF73C 000BC69C C8 01 0B 18 */ lfd f0, 0xb18(r1) +/* 800BF740 000BC6A0 EC 00 80 28 */ fsubs f0, f0, f16 +/* 800BF744 000BC6A4 EF 4F 00 32 */ fmuls f26, f15, f0 +/* 800BF748 000BC6A8 F3 41 A0 09 */ psq_st f26, 9(r1), 1, qr2 +/* 800BF74C 000BC6AC 38 61 00 18 */ addi r3, r1, 0x18 +/* 800BF750 000BC6B0 80 DD 01 3C */ lwz r6, 0x13c(r29) +/* 800BF754 000BC6B4 38 81 00 8C */ addi r4, r1, 0x8c +/* 800BF758 000BC6B8 88 01 00 09 */ lbz r0, 9(r1) +/* 800BF75C 000BC6BC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800BF760 000BC6C0 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 800BF764 000BC6C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800BF768 000BC6C8 48 2A 39 49 */ bl Add__6CColorFRC6CColorRC6CColor +/* 800BF76C 000BC6CC 38 C0 00 03 */ li r6, 3 +/* 800BF770 000BC6D0 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 800BF774 000BC6D4 39 00 00 07 */ li r8, 7 +/* 800BF778 000BC6D8 38 E0 00 00 */ li r7, 0 +/* 800BF77C 000BC6DC 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d +/* 800BF780 000BC6E0 99 01 00 90 */ stb r8, 0x90(r1) +/* 800BF784 000BC6E4 7F 03 C3 78 */ mr r3, r24 +/* 800BF788 000BC6E8 38 81 00 98 */ addi r4, r1, 0x98 +/* 800BF78C 000BC6EC 98 E1 00 91 */ stb r7, 0x91(r1) +/* 800BF790 000BC6F0 B0 C1 00 92 */ sth r6, 0x92(r1) +/* 800BF794 000BC6F4 90 A1 00 94 */ stw r5, 0x94(r1) +/* 800BF798 000BC6F8 99 01 00 98 */ stb r8, 0x98(r1) +/* 800BF79C 000BC6FC 98 E1 00 99 */ stb r7, 0x99(r1) +/* 800BF7A0 000BC700 B0 01 00 9A */ sth r0, 0x9a(r1) +/* 800BF7A4 000BC704 90 A1 00 9C */ stw r5, 0x9c(r1) +/* 800BF7A8 000BC708 48 29 64 2D */ bl Draw__6CModelCFRC11CModelFlags +/* 800BF7AC 000BC70C 3B 39 00 01 */ addi r25, r25, 1 +/* 800BF7B0 000BC710 2C 19 00 03 */ cmpwi r25, 3 +/* 800BF7B4 000BC714 41 80 FE D0 */ blt lbl_800BF684 +lbl_800BF7B8: +/* 800BF7B8 000BC718 E3 E1 0C 58 */ psq_l f31, -936(r1), 0, qr0 +/* 800BF7BC 000BC71C CB E1 0C 50 */ lfd f31, 0xc50(r1) +/* 800BF7C0 000BC720 E3 C1 0C 48 */ psq_l f30, -952(r1), 0, qr0 +/* 800BF7C4 000BC724 CB C1 0C 40 */ lfd f30, 0xc40(r1) +/* 800BF7C8 000BC728 E3 A1 0C 38 */ psq_l f29, -968(r1), 0, qr0 +/* 800BF7CC 000BC72C CB A1 0C 30 */ lfd f29, 0xc30(r1) +/* 800BF7D0 000BC730 E3 81 0C 28 */ psq_l f28, -984(r1), 0, qr0 +/* 800BF7D4 000BC734 CB 81 0C 20 */ lfd f28, 0xc20(r1) +/* 800BF7D8 000BC738 E3 61 0C 18 */ psq_l f27, -1000(r1), 0, qr0 +/* 800BF7DC 000BC73C CB 61 0C 10 */ lfd f27, 0xc10(r1) +/* 800BF7E0 000BC740 E3 41 0C 08 */ psq_l f26, -1016(r1), 0, qr0 +/* 800BF7E4 000BC744 CB 41 0C 00 */ lfd f26, 0xc00(r1) +/* 800BF7E8 000BC748 E3 21 0B F8 */ psq_l f25, -1032(r1), 0, qr0 +/* 800BF7EC 000BC74C CB 21 0B F0 */ lfd f25, 0xbf0(r1) +/* 800BF7F0 000BC750 E3 01 0B E8 */ psq_l f24, -1048(r1), 0, qr0 +/* 800BF7F4 000BC754 CB 01 0B E0 */ lfd f24, 0xbe0(r1) +/* 800BF7F8 000BC758 E2 E1 0B D8 */ psq_l f23, -1064(r1), 0, qr0 +/* 800BF7FC 000BC75C CA E1 0B D0 */ lfd f23, 0xbd0(r1) +/* 800BF800 000BC760 E2 C1 0B C8 */ psq_l f22, -1080(r1), 0, qr0 +/* 800BF804 000BC764 CA C1 0B C0 */ lfd f22, 0xbc0(r1) +/* 800BF808 000BC768 E2 A1 0B B8 */ psq_l f21, -1096(r1), 0, qr0 +/* 800BF80C 000BC76C CA A1 0B B0 */ lfd f21, 0xbb0(r1) +/* 800BF810 000BC770 E2 81 0B A8 */ psq_l f20, -1112(r1), 0, qr0 +/* 800BF814 000BC774 CA 81 0B A0 */ lfd f20, 0xba0(r1) +/* 800BF818 000BC778 E2 61 0B 98 */ psq_l f19, -1128(r1), 0, qr0 +/* 800BF81C 000BC77C CA 61 0B 90 */ lfd f19, 0xb90(r1) +/* 800BF820 000BC780 E2 41 0B 88 */ psq_l f18, -1144(r1), 0, qr0 +/* 800BF824 000BC784 CA 41 0B 80 */ lfd f18, 0xb80(r1) +/* 800BF828 000BC788 E2 21 0B 78 */ psq_l f17, -1160(r1), 0, qr0 +/* 800BF82C 000BC78C CA 21 0B 70 */ lfd f17, 0xb70(r1) +/* 800BF830 000BC790 E2 01 0B 68 */ psq_l f16, -1176(r1), 0, qr0 +/* 800BF834 000BC794 CA 01 0B 60 */ lfd f16, 0xb60(r1) +/* 800BF838 000BC798 E1 E1 0B 58 */ psq_l f15, -1192(r1), 0, qr0 +/* 800BF83C 000BC79C C9 E1 0B 50 */ lfd f15, 0xb50(r1) +/* 800BF840 000BC7A0 BA A1 0B 24 */ lmw r21, 0xb24(r1) +/* 800BF844 000BC7A4 80 01 0C 64 */ lwz r0, 0xc64(r1) +/* 800BF848 000BC7A8 7C 08 03 A6 */ mtlr r0 +/* 800BF84C 000BC7AC 38 21 0C 60 */ addi r1, r1, 0xc60 +/* 800BF850 000BC7B0 4E 80 00 20 */ blr + +.global DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb +DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb: +/* 800BF854 000BC7B4 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 800BF858 000BC7B8 7C 08 02 A6 */ mflr r0 +/* 800BF85C 000BC7BC 90 01 01 14 */ stw r0, 0x114(r1) +/* 800BF860 000BC7C0 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 800BF864 000BC7C4 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 800BF868 000BC7C8 BF 61 00 EC */ stmw r27, 0xec(r1) +/* 800BF86C 000BC7CC 81 84 00 00 */ lwz r12, 0(r4) +/* 800BF870 000BC7D0 7C 7F 1B 78 */ mr r31, r3 +/* 800BF874 000BC7D4 FF E0 08 90 */ fmr f31, f1 +/* 800BF878 000BC7D8 7C 9B 23 78 */ mr r27, r4 +/* 800BF87C 000BC7DC 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 800BF880 000BC7E0 7C BE 2B 78 */ mr r30, r5 +/* 800BF884 000BC7E4 7C DC 33 78 */ mr r28, r6 +/* 800BF888 000BC7E8 7C FD 3B 78 */ mr r29, r7 +/* 800BF88C 000BC7EC 38 61 00 28 */ addi r3, r1, 0x28 +/* 800BF890 000BC7F0 7D 89 03 A6 */ mtctr r12 +/* 800BF894 000BC7F4 4E 80 04 21 */ bctrl +/* 800BF898 000BC7F8 88 1B 01 2C */ lbz r0, 0x12c(r27) +/* 800BF89C 000BC7FC C0 41 00 28 */ lfs f2, 0x28(r1) +/* 800BF8A0 000BC800 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800BF8A4 000BC804 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800BF8A8 000BC808 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800BF8AC 000BC80C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800BF8B0 000BC810 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800BF8B4 000BC814 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800BF8B8 000BC818 41 82 00 10 */ beq lbl_800BF8C8 +/* 800BF8BC 000BC81C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF8C0 000BC820 38 A3 01 AC */ addi r5, r3, 0x1ac +/* 800BF8C4 000BC824 48 00 00 0C */ b lbl_800BF8D0 +lbl_800BF8C8: +/* 800BF8C8 000BC828 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BF8CC 000BC82C 38 A3 01 A4 */ addi r5, r3, 0x1a4 +lbl_800BF8D0: +/* 800BF8D0 000BC830 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) +/* 800BF8D4 000BC834 FC 20 F8 90 */ fmr f1, f31 +/* 800BF8D8 000BC838 38 61 00 08 */ addi r3, r1, 8 +/* 800BF8DC 000BC83C 38 84 01 A8 */ addi r4, r4, 0x1a8 +/* 800BF8E0 000BC840 48 2A 39 CD */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800BF8E4 000BC844 80 ED A1 40 */ lwz r7, gpTweakTargeting@sda21(r13) +/* 800BF8E8 000BC848 7F C4 F3 78 */ mr r4, r30 +/* 800BF8EC 000BC84C C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +/* 800BF8F0 000BC850 38 61 00 1C */ addi r3, r1, 0x1c +/* 800BF8F4 000BC854 C0 07 01 94 */ lfs f0, 0x194(r7) +/* 800BF8F8 000BC858 EC 61 F8 28 */ fsubs f3, f1, f31 +/* 800BF8FC 000BC85C C0 47 01 98 */ lfs f2, 0x198(r7) +/* 800BF900 000BC860 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800BF904 000BC864 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 800BF908 000BC868 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 800BF90C 000BC86C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800BF910 000BC870 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800BF914 000BC874 EF E3 00 BA */ fmadds f31, f3, f2, f0 +/* 800BF918 000BC878 83 C1 00 08 */ lwz r30, 8(r1) +/* 800BF91C 000BC87C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 800BF920 000BC880 90 01 00 24 */ stw r0, 0x24(r1) +/* 800BF924 000BC884 C0 47 01 9C */ lfs f2, 0x19c(r7) +/* 800BF928 000BC888 C0 67 01 A0 */ lfs f3, 0x1a0(r7) +/* 800BF92C 000BC88C 4B FF D6 71 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 800BF930 000BC890 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 800BF934 000BC894 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800BF938 000BC898 7F 84 E3 78 */ mr r4, r28 +/* 800BF93C 000BC89C 38 61 00 94 */ addi r3, r1, 0x94 +/* 800BF940 000BC8A0 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800BF944 000BC8A4 38 A1 00 70 */ addi r5, r1, 0x70 +/* 800BF948 000BC8A8 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 800BF94C 000BC8AC D0 01 00 78 */ stfs f0, 0x78(r1) +/* 800BF950 000BC8B0 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 800BF954 000BC8B4 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 800BF958 000BC8B8 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 800BF95C 000BC8BC D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800BF960 000BC8C0 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800BF964 000BC8C4 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 800BF968 000BC8C8 48 25 07 C9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 800BF96C 000BC8CC 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800BF970 000BC8D0 38 81 00 94 */ addi r4, r1, 0x94 +/* 800BF974 000BC8D4 48 25 06 B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BF978 000BC8D8 38 61 00 40 */ addi r3, r1, 0x40 +/* 800BF97C 000BC8DC 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800BF980 000BC8E0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800BF984 000BC8E4 48 25 38 F5 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800BF988 000BC8E8 7C 64 1B 78 */ mr r4, r3 +/* 800BF98C 000BC8EC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800BF990 000BC8F0 81 83 00 00 */ lwz r12, 0(r3) +/* 800BF994 000BC8F4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800BF998 000BC8F8 7D 89 03 A6 */ mtctr r12 +/* 800BF99C 000BC8FC 4E 80 04 21 */ bctrl +/* 800BF9A0 000BC900 38 A0 00 03 */ li r5, 3 +/* 800BF9A4 000BC904 38 E0 00 07 */ li r7, 7 +/* 800BF9A8 000BC908 38 C0 00 00 */ li r6, 0 +/* 800BF9AC 000BC90C 57 A0 06 3E */ clrlwi r0, r29, 0x18 +/* 800BF9B0 000BC910 50 A0 00 3A */ rlwimi r0, r5, 0, 0, 0x1d +/* 800BF9B4 000BC914 80 7F 00 9C */ lwz r3, 0x9c(r31) +/* 800BF9B8 000BC918 98 E1 00 0C */ stb r7, 0xc(r1) +/* 800BF9BC 000BC91C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800BF9C0 000BC920 98 C1 00 0D */ stb r6, 0xd(r1) +/* 800BF9C4 000BC924 B0 A1 00 0E */ sth r5, 0xe(r1) +/* 800BF9C8 000BC928 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800BF9CC 000BC92C 98 E1 00 14 */ stb r7, 0x14(r1) +/* 800BF9D0 000BC930 98 C1 00 15 */ stb r6, 0x15(r1) +/* 800BF9D4 000BC934 B0 01 00 16 */ sth r0, 0x16(r1) +/* 800BF9D8 000BC938 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800BF9DC 000BC93C 48 29 61 F9 */ bl Draw__6CModelCFRC11CModelFlags +/* 800BF9E0 000BC940 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 800BF9E4 000BC944 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 800BF9E8 000BC948 BB 61 00 EC */ lmw r27, 0xec(r1) +/* 800BF9EC 000BC94C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 800BF9F0 000BC950 7C 08 03 A6 */ mtlr r0 +/* 800BF9F4 000BC954 38 21 01 10 */ addi r1, r1, 0x110 +/* 800BF9F8 000BC958 4E 80 00 20 */ blr + +.global DrawGrappleGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager +DrawGrappleGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager: +/* 800BF9FC 000BC95C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800BFA00 000BC960 7C 08 02 A6 */ mflr r0 +/* 800BFA04 000BC964 90 01 00 54 */ stw r0, 0x54(r1) +/* 800BFA08 000BC968 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 800BFA0C 000BC96C 7C 7B 1B 78 */ mr r27, r3 +/* 800BFA10 000BC970 7C 9C 23 78 */ mr r28, r4 +/* 800BFA14 000BC974 7C BD 2B 78 */ mr r29, r5 +/* 800BFA18 000BC978 7C DA 33 78 */ mr r26, r6 +/* 800BFA1C 000BC97C 80 03 00 28 */ lwz r0, 0x28(r3) +/* 800BFA20 000BC980 2C 00 00 00 */ cmpwi r0, 0 +/* 800BFA24 000BC984 41 81 02 1C */ bgt lbl_800BFC40 +/* 800BFA28 000BC988 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 800BFA2C 000BC98C 38 80 00 0C */ li r4, 0xc +/* 800BFA30 000BC990 80 63 00 00 */ lwz r3, 0(r3) +/* 800BFA34 000BC994 4B FD 20 8D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800BFA38 000BC998 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BFA3C 000BC99C 41 82 02 04 */ beq lbl_800BFC40 +/* 800BFA40 000BC9A0 80 1B 00 9C */ lwz r0, 0x9c(r27) +/* 800BFA44 000BC9A4 28 00 00 00 */ cmplwi r0, 0 +/* 800BFA48 000BC9A8 40 82 00 30 */ bne lbl_800BFA78 +/* 800BFA4C 000BC9AC 88 1B 00 98 */ lbz r0, 0x98(r27) +/* 800BFA50 000BC9B0 28 00 00 00 */ cmplwi r0, 0 +/* 800BFA54 000BC9B4 41 82 00 24 */ beq lbl_800BFA78 +/* 800BFA58 000BC9B8 80 7B 00 94 */ lwz r3, 0x94(r27) +/* 800BFA5C 000BC9BC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800BFA60 000BC9C0 28 00 00 00 */ cmplwi r0, 0 +/* 800BFA64 000BC9C4 41 82 00 14 */ beq lbl_800BFA78 +/* 800BFA68 000BC9C8 38 7B 00 94 */ addi r3, r27, 0x94 +/* 800BFA6C 000BC9CC 48 28 13 A1 */ bl GetObj__6CTokenFv +/* 800BFA70 000BC9D0 80 03 00 04 */ lwz r0, 4(r3) +/* 800BFA74 000BC9D4 90 1B 00 9C */ stw r0, 0x9c(r27) +lbl_800BFA78: +/* 800BFA78 000BC9D8 80 1B 00 9C */ lwz r0, 0x9c(r27) +/* 800BFA7C 000BC9DC 28 00 00 00 */ cmplwi r0, 0 +/* 800BFA80 000BC9E0 41 82 01 C0 */ beq lbl_800BFC40 +/* 800BFA84 000BC9E4 80 1B 00 20 */ lwz r0, 0x20(r27) +/* 800BFA88 000BC9E8 2C 00 00 01 */ cmpwi r0, 1 +/* 800BFA8C 000BC9EC 41 82 01 B4 */ beq lbl_800BFC40 +/* 800BFA90 000BC9F0 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 800BFA94 000BC9F4 83 FD 08 10 */ lwz r31, 0x810(r29) +/* 800BFA98 000BC9F8 41 82 01 0C */ beq lbl_800BFBA4 +/* 800BFA9C 000BC9FC AB DF 20 08 */ lha r30, 0x2008(r31) +/* 800BFAA0 000BCA00 48 00 00 F8 */ b lbl_800BFB98 +lbl_800BFAA4: +/* 800BFAA4 000BCA04 7F E3 FB 78 */ mr r3, r31 +/* 800BFAA8 000BCA08 7F C4 F3 78 */ mr r4, r30 +/* 800BFAAC 000BCA0C 4B F5 02 31 */ bl __vc__11CObjectListCFi +/* 800BFAB0 000BCA10 7C 64 1B 78 */ mr r4, r3 +/* 800BFAB4 000BCA14 38 61 00 28 */ addi r3, r1, 0x28 +/* 800BFAB8 000BCA18 4B FE A0 11 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" +/* 800BFABC 000BCA1C 80 83 00 04 */ lwz r4, 4(r3) +/* 800BFAC0 000BCA20 28 04 00 00 */ cmplwi r4, 0 +/* 800BFAC4 000BCA24 41 82 00 B8 */ beq lbl_800BFB7C +/* 800BFAC8 000BCA28 88 04 00 30 */ lbz r0, 0x30(r4) +/* 800BFACC 000BCA2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800BFAD0 000BCA30 41 82 00 AC */ beq lbl_800BFB7C +/* 800BFAD4 000BCA34 80 C4 00 04 */ lwz r6, 4(r4) +/* 800BFAD8 000BCA38 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800BFADC 000BCA3C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800BFAE0 000BCA40 7C 06 00 00 */ cmpw r6, r0 +/* 800BFAE4 000BCA44 41 82 00 40 */ beq lbl_800BFB24 +/* 800BFAE8 000BCA48 80 BD 08 50 */ lwz r5, 0x850(r29) +/* 800BFAEC 000BCA4C 54 C3 18 38 */ slwi r3, r6, 3 +/* 800BFAF0 000BCA50 38 03 00 04 */ addi r0, r3, 4 +/* 800BFAF4 000BCA54 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800BFAF8 000BCA58 80 65 00 20 */ lwz r3, 0x20(r5) +/* 800BFAFC 000BCA5C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 800BFB00 000BCA60 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800BFB04 000BCA64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800BFB08 000BCA68 41 82 00 10 */ beq lbl_800BFB18 +/* 800BFB0C 000BCA6C 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 800BFB10 000BCA70 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800BFB14 000BCA74 48 00 00 08 */ b lbl_800BFB1C +lbl_800BFB18: +/* 800BFB18 000BCA78 38 00 00 00 */ li r0, 0 +lbl_800BFB1C: +/* 800BFB1C 000BCA7C 2C 00 00 01 */ cmpwi r0, 1 +/* 800BFB20 000BCA80 40 82 00 5C */ bne lbl_800BFB7C +lbl_800BFB24: +/* 800BFB24 000BCA84 A0 64 00 08 */ lhz r3, 8(r4) +/* 800BFB28 000BCA88 A0 1B 01 DC */ lhz r0, 0x1dc(r27) +/* 800BFB2C 000BCA8C C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800BFB30 000BCA90 7C 03 00 40 */ cmplw r3, r0 +/* 800BFB34 000BCA94 40 82 00 0C */ bne lbl_800BFB40 +/* 800BFB38 000BCA98 C0 3B 01 E0 */ lfs f1, 0x1e0(r27) +/* 800BFB3C 000BCA9C 48 00 00 14 */ b lbl_800BFB50 +lbl_800BFB40: +/* 800BFB40 000BCAA0 A0 1B 01 DE */ lhz r0, 0x1de(r27) +/* 800BFB44 000BCAA4 7C 03 00 40 */ cmplw r3, r0 +/* 800BFB48 000BCAA8 40 82 00 08 */ bne lbl_800BFB50 +/* 800BFB4C 000BCAAC C0 3B 01 E4 */ lfs f1, 0x1e4(r27) +lbl_800BFB50: +/* 800BFB50 000BCAB0 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) +/* 800BFB54 000BCAB4 C8 02 8D A0 */ lfd f0, lbl_805AAAC0@sda21(r2) +/* 800BFB58 000BCAB8 EC 41 10 28 */ fsubs f2, f1, f2 +/* 800BFB5C 000BCABC FC 40 12 10 */ fabs f2, f2 +/* 800BFB60 000BCAC0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800BFB64 000BCAC4 40 80 00 18 */ bge lbl_800BFB7C +/* 800BFB68 000BCAC8 7F 63 DB 78 */ mr r3, r27 +/* 800BFB6C 000BCACC 7F A5 EB 78 */ mr r5, r29 +/* 800BFB70 000BCAD0 7F 86 E3 78 */ mr r6, r28 +/* 800BFB74 000BCAD4 38 E0 00 01 */ li r7, 1 +/* 800BFB78 000BCAD8 4B FF FC DD */ bl DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb +lbl_800BFB7C: +/* 800BFB7C 000BCADC 2C 1E FF FF */ cmpwi r30, -1 +/* 800BFB80 000BCAE0 41 82 00 14 */ beq lbl_800BFB94 +/* 800BFB84 000BCAE4 57 C3 18 38 */ slwi r3, r30, 3 +/* 800BFB88 000BCAE8 38 03 00 08 */ addi r0, r3, 8 +/* 800BFB8C 000BCAEC 7F DF 02 AE */ lhax r30, r31, r0 +/* 800BFB90 000BCAF0 48 00 00 08 */ b lbl_800BFB98 +lbl_800BFB94: +/* 800BFB94 000BCAF4 3B C0 FF FF */ li r30, -1 +lbl_800BFB98: +/* 800BFB98 000BCAF8 2C 1E FF FF */ cmpwi r30, -1 +/* 800BFB9C 000BCAFC 40 82 FF 08 */ bne lbl_800BFAA4 +/* 800BFBA0 000BCB00 48 00 00 A0 */ b lbl_800BFC40 +lbl_800BFBA4: +/* 800BFBA4 000BCB04 A0 1B 01 DC */ lhz r0, 0x1dc(r27) +/* 800BFBA8 000BCB08 7F A3 EB 78 */ mr r3, r29 +/* 800BFBAC 000BCB0C 38 81 00 0C */ addi r4, r1, 0xc +/* 800BFBB0 000BCB10 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800BFBB4 000BCB14 4B F8 C9 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800BFBB8 000BCB18 7C 64 1B 78 */ mr r4, r3 +/* 800BFBBC 000BCB1C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800BFBC0 000BCB20 4B FE 9F 09 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" +/* 800BFBC4 000BCB24 83 C3 00 04 */ lwz r30, 4(r3) +/* 800BFBC8 000BCB28 7F A3 EB 78 */ mr r3, r29 +/* 800BFBCC 000BCB2C A0 1B 01 DE */ lhz r0, 0x1de(r27) +/* 800BFBD0 000BCB30 38 81 00 08 */ addi r4, r1, 8 +/* 800BFBD4 000BCB34 B0 01 00 08 */ sth r0, 8(r1) +/* 800BFBD8 000BCB38 4B F8 C9 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800BFBDC 000BCB3C 7C 64 1B 78 */ mr r4, r3 +/* 800BFBE0 000BCB40 38 61 00 18 */ addi r3, r1, 0x18 +/* 800BFBE4 000BCB44 4B FE 9E E5 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" +/* 800BFBE8 000BCB48 83 E3 00 04 */ lwz r31, 4(r3) +/* 800BFBEC 000BCB4C 3B 40 00 00 */ li r26, 0 +lbl_800BFBF0: +/* 800BFBF0 000BCB50 2C 1A 00 00 */ cmpwi r26, 0 +/* 800BFBF4 000BCB54 40 82 00 0C */ bne lbl_800BFC00 +/* 800BFBF8 000BCB58 7F C4 F3 78 */ mr r4, r30 +/* 800BFBFC 000BCB5C 48 00 00 08 */ b lbl_800BFC04 +lbl_800BFC00: +/* 800BFC00 000BCB60 7F E4 FB 78 */ mr r4, r31 +lbl_800BFC04: +/* 800BFC04 000BCB64 2C 1A 00 00 */ cmpwi r26, 0 +/* 800BFC08 000BCB68 40 82 00 0C */ bne lbl_800BFC14 +/* 800BFC0C 000BCB6C C0 3B 01 E0 */ lfs f1, 0x1e0(r27) +/* 800BFC10 000BCB70 48 00 00 08 */ b lbl_800BFC18 +lbl_800BFC14: +/* 800BFC14 000BCB74 C0 3B 01 E4 */ lfs f1, 0x1e4(r27) +lbl_800BFC18: +/* 800BFC18 000BCB78 28 04 00 00 */ cmplwi r4, 0 +/* 800BFC1C 000BCB7C 41 82 00 18 */ beq lbl_800BFC34 +/* 800BFC20 000BCB80 7F 63 DB 78 */ mr r3, r27 +/* 800BFC24 000BCB84 7F A5 EB 78 */ mr r5, r29 +/* 800BFC28 000BCB88 7F 86 E3 78 */ mr r6, r28 +/* 800BFC2C 000BCB8C 38 E0 00 00 */ li r7, 0 +/* 800BFC30 000BCB90 4B FF FC 25 */ bl DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb +lbl_800BFC34: +/* 800BFC34 000BCB94 3B 5A 00 01 */ addi r26, r26, 1 +/* 800BFC38 000BCB98 2C 1A 00 02 */ cmpwi r26, 2 +/* 800BFC3C 000BCB9C 41 80 FF B4 */ blt lbl_800BFBF0 +lbl_800BFC40: +/* 800BFC40 000BCBA0 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 800BFC44 000BCBA4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800BFC48 000BCBA8 7C 08 03 A6 */ mtlr r0 +/* 800BFC4C 000BCBAC 38 21 00 50 */ addi r1, r1, 0x50 +/* 800BFC50 000BCBB0 4E 80 00 20 */ blr + +.global Draw__22CCompoundTargetReticleCFRC13CStateManager +Draw__22CCompoundTargetReticleCFRC13CStateManager: +/* 800BFC54 000BCBB4 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800BFC58 000BCBB8 7C 08 02 A6 */ mflr r0 +/* 800BFC5C 000BCBBC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800BFC60 000BCBC0 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 800BFC64 000BCBC4 7C BF 2B 78 */ mr r31, r5 +/* 800BFC68 000BCBC8 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 800BFC6C 000BCBCC 7C 9E 23 78 */ mr r30, r4 +/* 800BFC70 000BCBD0 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 800BFC74 000BCBD4 7C 7D 1B 78 */ mr r29, r3 +/* 800BFC78 000BCBD8 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 800BFC7C 000BCBDC 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 800BFC80 000BCBE0 2C 00 00 00 */ cmpwi r0, 0 +/* 800BFC84 000BCBE4 40 82 00 AC */ bne lbl_800BFD30 +/* 800BFC88 000BCBE8 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 800BFC8C 000BCBEC 4B F4 AC 75 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 800BFC90 000BCBF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800BFC94 000BCBF4 40 82 00 9C */ bne lbl_800BFD30 +/* 800BFC98 000BCBF8 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 800BFC9C 000BCBFC 7F C5 F3 78 */ mr r5, r30 +/* 800BFCA0 000BCC00 38 61 00 2C */ addi r3, r1, 0x2c +/* 800BFCA4 000BCC04 4B F4 AC C5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 800BFCA8 000BCC08 38 61 00 80 */ addi r3, r1, 0x80 +/* 800BFCAC 000BCC0C 38 81 00 2C */ addi r4, r1, 0x2c +/* 800BFCB0 000BCC10 48 25 2E C5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800BFCB4 000BCC14 38 61 00 80 */ addi r3, r1, 0x80 +/* 800BFCB8 000BCC18 48 24 CA 95 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800BFCBC 000BCC1C 38 61 00 08 */ addi r3, r1, 8 +/* 800BFCC0 000BCC20 38 81 00 80 */ addi r4, r1, 0x80 +/* 800BFCC4 000BCC24 48 25 34 31 */ bl BuildMatrix3f__12CTransform4fCFv +/* 800BFCC8 000BCC28 38 61 00 5C */ addi r3, r1, 0x5c +/* 800BFCCC 000BCC2C 38 81 00 08 */ addi r4, r1, 8 +/* 800BFCD0 000BCC30 48 25 03 55 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800BFCD4 000BCC34 38 60 00 00 */ li r3, 0 +/* 800BFCD8 000BCC38 48 24 BD 99 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 800BFCDC 000BCC3C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800BFCE0 000BCC40 40 82 00 34 */ bne lbl_800BFD14 +/* 800BFCE4 000BCC44 7F A3 EB 78 */ mr r3, r29 +/* 800BFCE8 000BCC48 7F C5 F3 78 */ mr r5, r30 +/* 800BFCEC 000BCC4C 38 81 00 5C */ addi r4, r1, 0x5c +/* 800BFCF0 000BCC50 4B FF E5 6D */ bl DrawCurrLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager +/* 800BFCF4 000BCC54 7F A3 EB 78 */ mr r3, r29 +/* 800BFCF8 000BCC58 7F C5 F3 78 */ mr r5, r30 +/* 800BFCFC 000BCC5C 38 81 00 5C */ addi r4, r1, 0x5c +/* 800BFD00 000BCC60 4B FF DB 09 */ bl DrawNextLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager +/* 800BFD04 000BCC64 7F A3 EB 78 */ mr r3, r29 +/* 800BFD08 000BCC68 7F C5 F3 78 */ mr r5, r30 +/* 800BFD0C 000BCC6C 38 81 00 5C */ addi r4, r1, 0x5c +/* 800BFD10 000BCC70 4B FF D9 8D */ bl DrawOrbitZoneGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager +lbl_800BFD14: +/* 800BFD14 000BCC74 7F A3 EB 78 */ mr r3, r29 +/* 800BFD18 000BCC78 7F C5 F3 78 */ mr r5, r30 +/* 800BFD1C 000BCC7C 7F E6 FB 78 */ mr r6, r31 +/* 800BFD20 000BCC80 38 81 00 5C */ addi r4, r1, 0x5c +/* 800BFD24 000BCC84 4B FF FC D9 */ bl DrawGrappleGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager +/* 800BFD28 000BCC88 38 60 00 01 */ li r3, 1 +/* 800BFD2C 000BCC8C 48 24 BD 45 */ bl SetCullMode__9CGraphicsF12ERglCullMode +lbl_800BFD30: +/* 800BFD30 000BCC90 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 800BFD34 000BCC94 2C 03 00 00 */ cmpwi r3, 0 +/* 800BFD38 000BCC98 40 81 00 0C */ ble lbl_800BFD44 +/* 800BFD3C 000BCC9C 38 03 FF FF */ addi r0, r3, -1 +/* 800BFD40 000BCCA0 90 1D 00 28 */ stw r0, 0x28(r29) +lbl_800BFD44: +/* 800BFD44 000BCCA4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800BFD48 000BCCA8 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 800BFD4C 000BCCAC 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 800BFD50 000BCCB0 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 800BFD54 000BCCB4 7C 08 03 A6 */ mtlr r0 +/* 800BFD58 000BCCB8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800BFD5C 000BCCBC 4E 80 00 20 */ blr + +.global UpdateOrbitZoneGroup__22CCompoundTargetReticleFfRC13CStateManager +UpdateOrbitZoneGroup__22CCompoundTargetReticleFfRC13CStateManager: +/* 800BFD60 000BCCC0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800BFD64 000BCCC4 A0 03 00 F0 */ lhz r0, 0xf0(r3) +/* 800BFD68 000BCCC8 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 800BFD6C 000BCCCC 7C 00 28 40 */ cmplw r0, r5 +/* 800BFD70 000BCCD0 40 82 00 44 */ bne lbl_800BFDB4 +/* 800BFD74 000BCCD4 A0 03 00 F2 */ lhz r0, 0xf2(r3) +/* 800BFD78 000BCCD8 7C 00 28 40 */ cmplw r0, r5 +/* 800BFD7C 000BCCDC 41 82 00 38 */ beq lbl_800BFDB4 +/* 800BFD80 000BCCE0 C0 62 8D A8 */ lfs f3, lbl_805AAAC8@sda21(r2) +/* 800BFD84 000BCCE4 C0 43 02 0C */ lfs f2, 0x20c(r3) +/* 800BFD88 000BCCE8 C0 0D 86 98 */ lfs f0, lbl_805A7258@sda21(r13) +/* 800BFD8C 000BCCEC EC 43 10 7A */ fmadds f2, f3, f1, f2 +/* 800BFD90 000BCCF0 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 800BFD94 000BCCF4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800BFD98 000BCCF8 40 80 00 0C */ bge lbl_800BFDA4 +/* 800BFD9C 000BCCFC 38 AD 86 98 */ addi r5, r13, lbl_805A7258@sda21 +/* 800BFDA0 000BCD00 48 00 00 08 */ b lbl_800BFDA8 +lbl_800BFDA4: +/* 800BFDA4 000BCD04 38 A1 00 14 */ addi r5, r1, 0x14 +lbl_800BFDA8: +/* 800BFDA8 000BCD08 C0 05 00 00 */ lfs f0, 0(r5) +/* 800BFDAC 000BCD0C D0 03 02 0C */ stfs f0, 0x20c(r3) +/* 800BFDB0 000BCD10 48 00 00 34 */ b lbl_800BFDE4 +lbl_800BFDB4: +/* 800BFDB4 000BCD14 C0 62 8D A8 */ lfs f3, lbl_805AAAC8@sda21(r2) +/* 800BFDB8 000BCD18 C0 43 02 0C */ lfs f2, 0x20c(r3) +/* 800BFDBC 000BCD1C C0 0D 86 9C */ lfs f0, lbl_805A725C@sda21(r13) +/* 800BFDC0 000BCD20 EC 43 10 7C */ fnmsubs f2, f3, f1, f2 +/* 800BFDC4 000BCD24 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800BFDC8 000BCD28 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800BFDCC 000BCD2C 40 80 00 0C */ bge lbl_800BFDD8 +/* 800BFDD0 000BCD30 38 AD 86 9C */ addi r5, r13, lbl_805A725C@sda21 +/* 800BFDD4 000BCD34 48 00 00 08 */ b lbl_800BFDDC +lbl_800BFDD8: +/* 800BFDD8 000BCD38 38 A1 00 10 */ addi r5, r1, 0x10 +lbl_800BFDDC: +/* 800BFDDC 000BCD3C C0 05 00 00 */ lfs f0, 0(r5) +/* 800BFDE0 000BCD40 D0 03 02 0C */ stfs f0, 0x20c(r3) +lbl_800BFDE4: +/* 800BFDE4 000BCD44 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 800BFDE8 000BCD48 88 05 09 C4 */ lbz r0, 0x9c4(r5) +/* 800BFDEC 000BCD4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800BFDF0 000BCD50 41 82 00 54 */ beq lbl_800BFE44 +/* 800BFDF4 000BCD54 80 84 08 B8 */ lwz r4, 0x8b8(r4) +/* 800BFDF8 000BCD58 80 84 00 00 */ lwz r4, 0(r4) +/* 800BFDFC 000BCD5C 80 04 00 14 */ lwz r0, 0x14(r4) +/* 800BFE00 000BCD60 2C 00 00 02 */ cmpwi r0, 2 +/* 800BFE04 000BCD64 41 82 00 40 */ beq lbl_800BFE44 +/* 800BFE08 000BCD68 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) +/* 800BFE0C 000BCD6C C0 63 01 E8 */ lfs f3, 0x1e8(r3) +/* 800BFE10 000BCD70 C0 44 01 C4 */ lfs f2, 0x1c4(r4) +/* 800BFE14 000BCD74 C0 0D 86 A0 */ lfs f0, lbl_805A7260@sda21(r13) +/* 800BFE18 000BCD78 EC 21 10 24 */ fdivs f1, f1, f2 +/* 800BFE1C 000BCD7C EC 23 08 2A */ fadds f1, f3, f1 +/* 800BFE20 000BCD80 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800BFE24 000BCD84 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800BFE28 000BCD88 40 80 00 0C */ bge lbl_800BFE34 +/* 800BFE2C 000BCD8C 38 8D 86 A0 */ addi r4, r13, lbl_805A7260@sda21 +/* 800BFE30 000BCD90 48 00 00 08 */ b lbl_800BFE38 +lbl_800BFE34: +/* 800BFE34 000BCD94 38 81 00 0C */ addi r4, r1, 0xc +lbl_800BFE38: +/* 800BFE38 000BCD98 C0 04 00 00 */ lfs f0, 0(r4) +/* 800BFE3C 000BCD9C D0 03 01 E8 */ stfs f0, 0x1e8(r3) +/* 800BFE40 000BCDA0 48 00 00 3C */ b lbl_800BFE7C +lbl_800BFE44: +/* 800BFE44 000BCDA4 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) +/* 800BFE48 000BCDA8 C0 63 01 E8 */ lfs f3, 0x1e8(r3) +/* 800BFE4C 000BCDAC C0 44 01 C4 */ lfs f2, 0x1c4(r4) +/* 800BFE50 000BCDB0 C0 0D 86 A4 */ lfs f0, lbl_805A7264@sda21(r13) +/* 800BFE54 000BCDB4 EC 21 10 24 */ fdivs f1, f1, f2 +/* 800BFE58 000BCDB8 EC 23 08 28 */ fsubs f1, f3, f1 +/* 800BFE5C 000BCDBC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800BFE60 000BCDC0 D0 21 00 08 */ stfs f1, 8(r1) +/* 800BFE64 000BCDC4 40 80 00 0C */ bge lbl_800BFE70 +/* 800BFE68 000BCDC8 38 8D 86 A4 */ addi r4, r13, lbl_805A7264@sda21 +/* 800BFE6C 000BCDCC 48 00 00 08 */ b lbl_800BFE74 +lbl_800BFE70: +/* 800BFE70 000BCDD0 38 81 00 08 */ addi r4, r1, 8 +lbl_800BFE74: +/* 800BFE74 000BCDD4 C0 04 00 00 */ lfs f0, 0(r4) +/* 800BFE78 000BCDD8 D0 03 01 E8 */ stfs f0, 0x1e8(r3) +lbl_800BFE7C: +/* 800BFE7C 000BCDDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 800BFE80 000BCDE0 4E 80 00 20 */ blr + +.global UpdateNextLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager +UpdateNextLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager: +/* 800BFE84 000BCDE4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800BFE88 000BCDE8 7C 08 02 A6 */ mflr r0 +/* 800BFE8C 000BCDEC 90 01 00 94 */ stw r0, 0x94(r1) +/* 800BFE90 000BCDF0 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 800BFE94 000BCDF4 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 800BFE98 000BCDF8 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 800BFE9C 000BCDFC 93 C1 00 78 */ stw r30, 0x78(r1) +/* 800BFEA0 000BCE00 7C 9F 23 78 */ mr r31, r4 +/* 800BFEA4 000BCE04 FF E0 08 90 */ fmr f31, f1 +/* 800BFEA8 000BCE08 80 84 08 B8 */ lwz r4, 0x8b8(r4) +/* 800BFEAC 000BCE0C 7C 7E 1B 78 */ mr r30, r3 +/* 800BFEB0 000BCE10 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 800BFEB4 000BCE14 80 64 00 00 */ lwz r3, 0(r4) +/* 800BFEB8 000BCE18 A0 05 03 3C */ lhz r0, 0x33c(r5) +/* 800BFEBC 000BCE1C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 800BFEC0 000BCE20 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800BFEC4 000BCE24 2C 03 00 02 */ cmpwi r3, 2 +/* 800BFEC8 000BCE28 40 82 00 18 */ bne lbl_800BFEE0 +/* 800BFECC 000BCE2C A0 65 03 10 */ lhz r3, 0x310(r5) +/* 800BFED0 000BCE30 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800BFED4 000BCE34 7C 03 00 40 */ cmplw r3, r0 +/* 800BFED8 000BCE38 41 82 00 08 */ beq lbl_800BFEE0 +/* 800BFEDC 000BCE3C B0 61 00 14 */ sth r3, 0x14(r1) +lbl_800BFEE0: +/* 800BFEE0 000BCE40 A0 61 00 14 */ lhz r3, 0x14(r1) +/* 800BFEE4 000BCE44 A0 1E 00 F2 */ lhz r0, 0xf2(r30) +/* 800BFEE8 000BCE48 7C 03 00 40 */ cmplw r3, r0 +/* 800BFEEC 000BCE4C 41 82 02 50 */ beq lbl_800C013C +/* 800BFEF0 000BCE50 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800BFEF4 000BCE54 7C 00 18 40 */ cmplw r0, r3 +/* 800BFEF8 000BCE58 40 82 01 18 */ bne lbl_800C0010 +/* 800BFEFC 000BCE5C A0 7E 01 74 */ lhz r3, 0x174(r30) +/* 800BFF00 000BCE60 38 00 00 00 */ li r0, 0 +/* 800BFF04 000BCE64 B0 7E 01 94 */ sth r3, 0x194(r30) +/* 800BFF08 000BCE68 C0 1E 01 78 */ lfs f0, 0x178(r30) +/* 800BFF0C 000BCE6C D0 1E 01 98 */ stfs f0, 0x198(r30) +/* 800BFF10 000BCE70 80 9E 01 7C */ lwz r4, 0x17c(r30) +/* 800BFF14 000BCE74 80 7E 01 80 */ lwz r3, 0x180(r30) +/* 800BFF18 000BCE78 90 9E 01 9C */ stw r4, 0x19c(r30) +/* 800BFF1C 000BCE7C 90 7E 01 A0 */ stw r3, 0x1a0(r30) +/* 800BFF20 000BCE80 80 7E 01 84 */ lwz r3, 0x184(r30) +/* 800BFF24 000BCE84 90 7E 01 A4 */ stw r3, 0x1a4(r30) +/* 800BFF28 000BCE88 C0 1E 01 88 */ lfs f0, 0x188(r30) +/* 800BFF2C 000BCE8C D0 1E 01 A8 */ stfs f0, 0x1a8(r30) +/* 800BFF30 000BCE90 C0 1E 01 8C */ lfs f0, 0x18c(r30) +/* 800BFF34 000BCE94 D0 1E 01 AC */ stfs f0, 0x1ac(r30) +/* 800BFF38 000BCE98 88 7E 01 90 */ lbz r3, 0x190(r30) +/* 800BFF3C 000BCE9C 98 7E 01 B0 */ stb r3, 0x1b0(r30) +/* 800BFF40 000BCEA0 98 1E 01 B0 */ stb r0, 0x1b0(r30) +/* 800BFF44 000BCEA4 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 800BFF48 000BCEA8 2C 03 00 02 */ cmpwi r3, 2 +/* 800BFF4C 000BCEAC 41 82 00 0C */ beq lbl_800BFF58 +/* 800BFF50 000BCEB0 2C 03 00 03 */ cmpwi r3, 3 +/* 800BFF54 000BCEB4 40 82 00 08 */ bne lbl_800BFF5C +lbl_800BFF58: +/* 800BFF58 000BCEB8 38 00 00 01 */ li r0, 1 +lbl_800BFF5C: +/* 800BFF5C 000BCEBC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800BFF60 000BCEC0 41 82 00 0C */ beq lbl_800BFF6C +/* 800BFF64 000BCEC4 39 1E 01 00 */ addi r8, r30, 0x100 +/* 800BFF68 000BCEC8 48 00 00 08 */ b lbl_800BFF70 +lbl_800BFF6C: +/* 800BFF6C 000BCECC 39 1E 00 F4 */ addi r8, r30, 0xf4 +lbl_800BFF70: +/* 800BFF70 000BCED0 80 08 00 00 */ lwz r0, 0(r8) +/* 800BFF74 000BCED4 38 61 00 54 */ addi r3, r1, 0x54 +/* 800BFF78 000BCED8 80 E8 00 04 */ lwz r7, 4(r8) +/* 800BFF7C 000BCEDC 38 81 00 10 */ addi r4, r1, 0x10 +/* 800BFF80 000BCEE0 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +/* 800BFF84 000BCEE4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800BFF88 000BCEE8 90 01 00 28 */ stw r0, 0x28(r1) +/* 800BFF8C 000BCEEC 38 C0 00 01 */ li r6, 1 +/* 800BFF90 000BCEF0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800BFF94 000BCEF4 FC 60 08 90 */ fmr f3, f1 +/* 800BFF98 000BCEF8 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 800BFF9C 000BCEFC C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) +/* 800BFFA0 000BCF00 80 E8 00 08 */ lwz r7, 8(r8) +/* 800BFFA4 000BCF04 90 E1 00 30 */ stw r7, 0x30(r1) +/* 800BFFA8 000BCF08 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800BFFAC 000BCF0C 4B FF CF BD */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb +/* 800BFFB0 000BCF10 A0 61 00 54 */ lhz r3, 0x54(r1) +/* 800BFFB4 000BCF14 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800BFFB8 000BCF18 B0 7E 01 B4 */ sth r3, 0x1b4(r30) +/* 800BFFBC 000BCF1C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800BFFC0 000BCF20 D0 1E 01 B8 */ stfs f0, 0x1b8(r30) +/* 800BFFC4 000BCF24 80 81 00 5C */ lwz r4, 0x5c(r1) +/* 800BFFC8 000BCF28 80 61 00 60 */ lwz r3, 0x60(r1) +/* 800BFFCC 000BCF2C 90 9E 01 BC */ stw r4, 0x1bc(r30) +/* 800BFFD0 000BCF30 90 7E 01 C0 */ stw r3, 0x1c0(r30) +/* 800BFFD4 000BCF34 80 61 00 64 */ lwz r3, 0x64(r1) +/* 800BFFD8 000BCF38 90 7E 01 C4 */ stw r3, 0x1c4(r30) +/* 800BFFDC 000BCF3C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800BFFE0 000BCF40 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) +/* 800BFFE4 000BCF44 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 800BFFE8 000BCF48 D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 800BFFEC 000BCF4C 88 61 00 70 */ lbz r3, 0x70(r1) +/* 800BFFF0 000BCF50 98 7E 01 D0 */ stb r3, 0x1d0(r30) +/* 800BFFF4 000BCF54 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800BFFF8 000BCF58 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 800BFFFC 000BCF5C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +/* 800C0000 000BCF60 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) +/* 800C0004 000BCF64 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) +/* 800C0008 000BCF68 B0 1E 00 F2 */ sth r0, 0xf2(r30) +/* 800C000C 000BCF6C 48 00 01 30 */ b lbl_800C013C +lbl_800C0010: +/* 800C0010 000BCF70 A0 7E 01 74 */ lhz r3, 0x174(r30) +/* 800C0014 000BCF74 38 A0 00 00 */ li r5, 0 +/* 800C0018 000BCF78 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800C001C 000BCF7C 7F E4 FB 78 */ mr r4, r31 +/* 800C0020 000BCF80 B0 7E 01 94 */ sth r3, 0x194(r30) +/* 800C0024 000BCF84 38 61 00 0C */ addi r3, r1, 0xc +/* 800C0028 000BCF88 C0 1E 01 78 */ lfs f0, 0x178(r30) +/* 800C002C 000BCF8C D0 1E 01 98 */ stfs f0, 0x198(r30) +/* 800C0030 000BCF90 80 FE 01 7C */ lwz r7, 0x17c(r30) +/* 800C0034 000BCF94 80 DE 01 80 */ lwz r6, 0x180(r30) +/* 800C0038 000BCF98 90 FE 01 9C */ stw r7, 0x19c(r30) +/* 800C003C 000BCF9C 90 DE 01 A0 */ stw r6, 0x1a0(r30) +/* 800C0040 000BCFA0 80 DE 01 84 */ lwz r6, 0x184(r30) +/* 800C0044 000BCFA4 90 DE 01 A4 */ stw r6, 0x1a4(r30) +/* 800C0048 000BCFA8 C0 1E 01 88 */ lfs f0, 0x188(r30) +/* 800C004C 000BCFAC D0 1E 01 A8 */ stfs f0, 0x1a8(r30) +/* 800C0050 000BCFB0 C0 1E 01 8C */ lfs f0, 0x18c(r30) +/* 800C0054 000BCFB4 D0 1E 01 AC */ stfs f0, 0x1ac(r30) +/* 800C0058 000BCFB8 88 DE 01 90 */ lbz r6, 0x190(r30) +/* 800C005C 000BCFBC 98 DE 01 B0 */ stb r6, 0x1b0(r30) +/* 800C0060 000BCFC0 98 BE 01 B0 */ stb r5, 0x1b0(r30) +/* 800C0064 000BCFC4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800C0068 000BCFC8 4B FF D0 D5 */ bl IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager +/* 800C006C 000BCFCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C0070 000BCFD0 41 82 00 10 */ beq lbl_800C0080 +/* 800C0074 000BCFD4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0078 000BCFD8 C0 63 01 B0 */ lfs f3, 0x1b0(r3) +/* 800C007C 000BCFDC 48 00 00 08 */ b lbl_800C0084 +lbl_800C0080: +/* 800C0080 000BCFE0 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) +lbl_800C0084: +/* 800C0084 000BCFE4 3C 60 80 5A */ lis r3, lbl_805A0004@ha +/* 800C0088 000BCFE8 84 83 66 A0 */ lwzu r4, 0x66a0(r3) +/* 800C008C 000BCFEC C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +/* 800C0090 000BCFF0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800C0094 000BCFF4 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800C0098 000BCFF8 80 C3 00 04 */ lwz r6, lbl_805A0004@l(r3) +/* 800C009C 000BCFFC FC 40 08 90 */ fmr f2, f1 +/* 800C00A0 000BD000 80 E3 00 08 */ lwz r7, 8(r3) +/* 800C00A4 000BD004 38 61 00 34 */ addi r3, r1, 0x34 +/* 800C00A8 000BD008 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800C00AC 000BD00C 38 81 00 08 */ addi r4, r1, 8 +/* 800C00B0 000BD010 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800C00B4 000BD014 38 C0 00 01 */ li r6, 1 +/* 800C00B8 000BD018 90 E1 00 24 */ stw r7, 0x24(r1) +/* 800C00BC 000BD01C B0 01 00 08 */ sth r0, 8(r1) +/* 800C00C0 000BD020 4B FF CE A9 */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb +/* 800C00C4 000BD024 A0 01 00 34 */ lhz r0, 0x34(r1) +/* 800C00C8 000BD028 B0 1E 01 B4 */ sth r0, 0x1b4(r30) +/* 800C00CC 000BD02C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 800C00D0 000BD030 D0 1E 01 B8 */ stfs f0, 0x1b8(r30) +/* 800C00D4 000BD034 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800C00D8 000BD038 80 01 00 40 */ lwz r0, 0x40(r1) +/* 800C00DC 000BD03C 90 7E 01 BC */ stw r3, 0x1bc(r30) +/* 800C00E0 000BD040 90 1E 01 C0 */ stw r0, 0x1c0(r30) +/* 800C00E4 000BD044 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800C00E8 000BD048 90 1E 01 C4 */ stw r0, 0x1c4(r30) +/* 800C00EC 000BD04C C0 01 00 48 */ lfs f0, 0x48(r1) +/* 800C00F0 000BD050 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) +/* 800C00F4 000BD054 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800C00F8 000BD058 D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 800C00FC 000BD05C 88 01 00 50 */ lbz r0, 0x50(r1) +/* 800C0100 000BD060 98 1E 01 D0 */ stb r0, 0x1d0(r30) +/* 800C0104 000BD064 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 800C0108 000BD068 A0 1E 00 F2 */ lhz r0, 0xf2(r30) +/* 800C010C 000BD06C 7C 03 00 40 */ cmplw r3, r0 +/* 800C0110 000BD070 40 82 00 10 */ bne lbl_800C0120 +/* 800C0114 000BD074 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0118 000BD078 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 800C011C 000BD07C 48 00 00 0C */ b lbl_800C0128 +lbl_800C0120: +/* 800C0120 000BD080 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0124 000BD084 C0 03 00 20 */ lfs f0, 0x20(r3) +lbl_800C0128: +/* 800C0128 000BD088 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +/* 800C012C 000BD08C A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800C0130 000BD090 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) +/* 800C0134 000BD094 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) +/* 800C0138 000BD098 B0 1E 00 F2 */ sth r0, 0xf2(r30) +lbl_800C013C: +/* 800C013C 000BD09C C0 3E 01 D8 */ lfs f1, 0x1d8(r30) +/* 800C0140 000BD0A0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C0144 000BD0A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C0148 000BD0A8 40 81 00 78 */ ble lbl_800C01C0 +/* 800C014C 000BD0AC 7F C3 F3 78 */ mr r3, r30 +/* 800C0150 000BD0B0 7F E5 FB 78 */ mr r5, r31 +/* 800C0154 000BD0B4 38 9E 01 94 */ addi r4, r30, 0x194 +/* 800C0158 000BD0B8 4B FF D4 2D */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager +/* 800C015C 000BD0BC 7F C3 F3 78 */ mr r3, r30 +/* 800C0160 000BD0C0 7F E5 FB 78 */ mr r5, r31 +/* 800C0164 000BD0C4 38 9E 01 B4 */ addi r4, r30, 0x1b4 +/* 800C0168 000BD0C8 4B FF D4 1D */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager +/* 800C016C 000BD0CC C0 3E 01 D8 */ lfs f1, 0x1d8(r30) +/* 800C0170 000BD0D0 C0 0D 86 94 */ lfs f0, lbl_805A7254@sda21(r13) +/* 800C0174 000BD0D4 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800C0178 000BD0D8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C017C 000BD0DC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800C0180 000BD0E0 40 80 00 0C */ bge lbl_800C018C +/* 800C0184 000BD0E4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C0188 000BD0E8 48 00 00 08 */ b lbl_800C0190 +lbl_800C018C: +/* 800C018C 000BD0EC 38 6D 86 94 */ addi r3, r13, lbl_805A7254@sda21 +lbl_800C0190: +/* 800C0190 000BD0F0 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C0194 000BD0F4 38 7E 01 94 */ addi r3, r30, 0x194 +/* 800C0198 000BD0F8 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) +/* 800C019C 000BD0FC 38 9E 01 74 */ addi r4, r30, 0x174 +/* 800C01A0 000BD100 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) +/* 800C01A4 000BD104 38 BE 01 B4 */ addi r5, r30, 0x1b4 +/* 800C01A8 000BD108 C0 3E 01 D8 */ lfs f1, 0x1d8(r30) +/* 800C01AC 000BD10C C0 1E 01 D4 */ lfs f0, 0x1d4(r30) +/* 800C01B0 000BD110 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800C01B4 000BD114 EC 22 00 28 */ fsubs f1, f2, f0 +/* 800C01B8 000BD118 4B FF CC 91 */ bl InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef +/* 800C01BC 000BD11C 48 00 00 14 */ b lbl_800C01D0 +lbl_800C01C0: +/* 800C01C0 000BD120 7F C3 F3 78 */ mr r3, r30 +/* 800C01C4 000BD124 7F E5 FB 78 */ mr r5, r31 +/* 800C01C8 000BD128 38 9E 01 74 */ addi r4, r30, 0x174 +/* 800C01CC 000BD12C 4B FF D3 B9 */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager +lbl_800C01D0: +/* 800C01D0 000BD130 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 800C01D4 000BD134 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800C01D8 000BD138 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 800C01DC 000BD13C 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 800C01E0 000BD140 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 800C01E4 000BD144 7C 08 03 A6 */ mtlr r0 +/* 800C01E8 000BD148 38 21 00 90 */ addi r1, r1, 0x90 +/* 800C01EC 000BD14C 4E 80 00 20 */ blr + +.global UpdateCurrLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager +UpdateCurrLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager: +/* 800C01F0 000BD150 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800C01F4 000BD154 7C 08 02 A6 */ mflr r0 +/* 800C01F8 000BD158 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800C01FC 000BD15C DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 800C0200 000BD160 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 800C0204 000BD164 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 800C0208 000BD168 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800C020C 000BD16C 93 A1 00 94 */ stw r29, 0x94(r1) +/* 800C0210 000BD170 7C 9F 23 78 */ mr r31, r4 +/* 800C0214 000BD174 7C 7E 1B 78 */ mr r30, r3 +/* 800C0218 000BD178 83 A4 08 4C */ lwz r29, 0x84c(r4) +/* 800C021C 000BD17C FF E0 08 90 */ fmr f31, f1 +/* 800C0220 000BD180 A0 03 00 F0 */ lhz r0, 0xf0(r3) +/* 800C0224 000BD184 A0 9D 03 10 */ lhz r4, 0x310(r29) +/* 800C0228 000BD188 54 83 04 3E */ clrlwi r3, r4, 0x10 +/* 800C022C 000BD18C B0 81 00 18 */ sth r4, 0x18(r1) +/* 800C0230 000BD190 7C 03 00 40 */ cmplw r3, r0 +/* 800C0234 000BD194 41 82 02 58 */ beq lbl_800C048C +/* 800C0238 000BD198 7C 00 20 40 */ cmplw r0, r4 +/* 800C023C 000BD19C 41 82 00 84 */ beq lbl_800C02C0 +/* 800C0240 000BD1A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C0244 000BD1A4 7C 03 00 40 */ cmplw r3, r0 +/* 800C0248 000BD1A8 41 82 00 78 */ beq lbl_800C02C0 +/* 800C024C 000BD1AC B0 81 00 14 */ sth r4, 0x14(r1) +/* 800C0250 000BD1B0 7F E3 FB 78 */ mr r3, r31 +/* 800C0254 000BD1B4 38 81 00 14 */ addi r4, r1, 0x14 +/* 800C0258 000BD1B8 4B F8 C3 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800C025C 000BD1BC 7C 64 1B 78 */ mr r4, r3 +/* 800C0260 000BD1C0 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C0264 000BD1C4 4B FE 98 65 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" +/* 800C0268 000BD1C8 80 03 00 04 */ lwz r0, 4(r3) +/* 800C026C 000BD1CC 28 00 00 00 */ cmplwi r0, 0 +/* 800C0270 000BD1D0 41 82 00 2C */ beq lbl_800C029C +/* 800C0274 000BD1D4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800C0278 000BD1D8 38 61 00 3C */ addi r3, r1, 0x3c +/* 800C027C 000BD1DC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800C0280 000BD1E0 38 80 05 71 */ li r4, 0x571 +/* 800C0284 000BD1E4 38 A0 00 7F */ li r5, 0x7f +/* 800C0288 000BD1E8 38 C0 00 40 */ li r6, 0x40 +/* 800C028C 000BD1EC 38 E0 00 00 */ li r7, 0 +/* 800C0290 000BD1F0 39 20 00 00 */ li r9, 0 +/* 800C0294 000BD1F4 48 22 9A E1 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800C0298 000BD1F8 48 00 00 28 */ b lbl_800C02C0 +lbl_800C029C: +/* 800C029C 000BD1FC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800C02A0 000BD200 38 61 00 38 */ addi r3, r1, 0x38 +/* 800C02A4 000BD204 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800C02A8 000BD208 38 80 05 61 */ li r4, 0x561 +/* 800C02AC 000BD20C 38 A0 00 7F */ li r5, 0x7f +/* 800C02B0 000BD210 38 C0 00 40 */ li r6, 0x40 +/* 800C02B4 000BD214 38 E0 00 00 */ li r7, 0 +/* 800C02B8 000BD218 39 20 00 00 */ li r9, 0 +/* 800C02BC 000BD21C 48 22 9A B9 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_800C02C0: +/* 800C02C0 000BD220 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C02C4 000BD224 A0 A1 00 18 */ lhz r5, 0x18(r1) +/* 800C02C8 000BD228 7C 00 28 40 */ cmplw r0, r5 +/* 800C02CC 000BD22C 40 82 00 7C */ bne lbl_800C0348 +/* 800C02D0 000BD230 80 7D 03 0C */ lwz r3, 0x30c(r29) +/* 800C02D4 000BD234 38 00 00 00 */ li r0, 0 +/* 800C02D8 000BD238 A0 9E 01 0C */ lhz r4, 0x10c(r30) +/* 800C02DC 000BD23C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C02E0 000BD240 B0 9E 01 2C */ sth r4, 0x12c(r30) +/* 800C02E4 000BD244 C0 3E 01 10 */ lfs f1, 0x110(r30) +/* 800C02E8 000BD248 D0 3E 01 30 */ stfs f1, 0x130(r30) +/* 800C02EC 000BD24C 80 BE 01 14 */ lwz r5, 0x114(r30) +/* 800C02F0 000BD250 80 9E 01 18 */ lwz r4, 0x118(r30) +/* 800C02F4 000BD254 90 BE 01 34 */ stw r5, 0x134(r30) +/* 800C02F8 000BD258 90 9E 01 38 */ stw r4, 0x138(r30) +/* 800C02FC 000BD25C 80 9E 01 1C */ lwz r4, 0x11c(r30) +/* 800C0300 000BD260 90 9E 01 3C */ stw r4, 0x13c(r30) +/* 800C0304 000BD264 C0 3E 01 20 */ lfs f1, 0x120(r30) +/* 800C0308 000BD268 D0 3E 01 40 */ stfs f1, 0x140(r30) +/* 800C030C 000BD26C C0 3E 01 24 */ lfs f1, 0x124(r30) +/* 800C0310 000BD270 D0 3E 01 44 */ stfs f1, 0x144(r30) +/* 800C0314 000BD274 88 9E 01 28 */ lbz r4, 0x128(r30) +/* 800C0318 000BD278 98 9E 01 48 */ stb r4, 0x148(r30) +/* 800C031C 000BD27C 98 1E 01 48 */ stb r0, 0x148(r30) +/* 800C0320 000BD280 D0 1E 01 60 */ stfs f0, 0x160(r30) +/* 800C0324 000BD284 48 00 18 45 */ bl IsDamageOrbit__F19EPlayerOrbitRequest +/* 800C0328 000BD288 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C032C 000BD28C 41 82 00 0C */ beq lbl_800C0338 +/* 800C0330 000BD290 C0 02 8D AC */ lfs f0, lbl_805AAACC@sda21(r2) +/* 800C0334 000BD294 48 00 00 0C */ b lbl_800C0340 +lbl_800C0338: +/* 800C0338 000BD298 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C033C 000BD29C C0 03 00 0C */ lfs f0, 0xc(r3) +lbl_800C0340: +/* 800C0340 000BD2A0 D0 1E 01 6C */ stfs f0, 0x16c(r30) +/* 800C0344 000BD2A4 48 00 01 38 */ b lbl_800C047C +lbl_800C0348: +/* 800C0348 000BD2A8 A0 7E 01 0C */ lhz r3, 0x10c(r30) +/* 800C034C 000BD2AC 38 00 00 00 */ li r0, 0 +/* 800C0350 000BD2B0 B0 7E 01 2C */ sth r3, 0x12c(r30) +/* 800C0354 000BD2B4 C0 1E 01 10 */ lfs f0, 0x110(r30) +/* 800C0358 000BD2B8 D0 1E 01 30 */ stfs f0, 0x130(r30) +/* 800C035C 000BD2BC 80 9E 01 14 */ lwz r4, 0x114(r30) +/* 800C0360 000BD2C0 80 7E 01 18 */ lwz r3, 0x118(r30) +/* 800C0364 000BD2C4 90 9E 01 34 */ stw r4, 0x134(r30) +/* 800C0368 000BD2C8 90 7E 01 38 */ stw r3, 0x138(r30) +/* 800C036C 000BD2CC 80 7E 01 1C */ lwz r3, 0x11c(r30) +/* 800C0370 000BD2D0 90 7E 01 3C */ stw r3, 0x13c(r30) +/* 800C0374 000BD2D4 C0 1E 01 20 */ lfs f0, 0x120(r30) +/* 800C0378 000BD2D8 D0 1E 01 40 */ stfs f0, 0x140(r30) +/* 800C037C 000BD2DC C0 1E 01 24 */ lfs f0, 0x124(r30) +/* 800C0380 000BD2E0 D0 1E 01 44 */ stfs f0, 0x144(r30) +/* 800C0384 000BD2E4 88 7E 01 28 */ lbz r3, 0x128(r30) +/* 800C0388 000BD2E8 98 7E 01 48 */ stb r3, 0x148(r30) +/* 800C038C 000BD2EC 98 1E 01 48 */ stb r0, 0x148(r30) +/* 800C0390 000BD2F0 A0 7E 00 F0 */ lhz r3, 0xf0(r30) +/* 800C0394 000BD2F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C0398 000BD2F8 7C 03 00 40 */ cmplw r3, r0 +/* 800C039C 000BD2FC 40 82 00 0C */ bne lbl_800C03A8 +/* 800C03A0 000BD300 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 800C03A4 000BD304 B0 BE 01 2C */ sth r5, 0x12c(r30) +lbl_800C03A8: +/* 800C03A8 000BD308 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800C03AC 000BD30C 7F E4 FB 78 */ mr r4, r31 +/* 800C03B0 000BD310 38 61 00 0C */ addi r3, r1, 0xc +/* 800C03B4 000BD314 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800C03B8 000BD318 4B FF CD 85 */ bl IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager +/* 800C03BC 000BD31C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C03C0 000BD320 41 82 00 10 */ beq lbl_800C03D0 +/* 800C03C4 000BD324 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C03C8 000BD328 C0 63 01 B0 */ lfs f3, 0x1b0(r3) +/* 800C03CC 000BD32C 48 00 00 08 */ b lbl_800C03D4 +lbl_800C03D0: +/* 800C03D0 000BD330 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) +lbl_800C03D4: +/* 800C03D4 000BD334 3C 60 80 5A */ lis r3, lbl_805A0004@ha +/* 800C03D8 000BD338 84 83 66 A0 */ lwzu r4, 0x66a0(r3) +/* 800C03DC 000BD33C C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +/* 800C03E0 000BD340 38 A1 00 48 */ addi r5, r1, 0x48 +/* 800C03E4 000BD344 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800C03E8 000BD348 80 C3 00 04 */ lwz r6, lbl_805A0004@l(r3) +/* 800C03EC 000BD34C FC 40 08 90 */ fmr f2, f1 +/* 800C03F0 000BD350 80 E3 00 08 */ lwz r7, 8(r3) +/* 800C03F4 000BD354 38 61 00 54 */ addi r3, r1, 0x54 +/* 800C03F8 000BD358 90 81 00 48 */ stw r4, 0x48(r1) +/* 800C03FC 000BD35C 38 81 00 08 */ addi r4, r1, 8 +/* 800C0400 000BD360 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800C0404 000BD364 38 C0 00 00 */ li r6, 0 +/* 800C0408 000BD368 90 E1 00 50 */ stw r7, 0x50(r1) +/* 800C040C 000BD36C B0 01 00 08 */ sth r0, 8(r1) +/* 800C0410 000BD370 4B FF CB 59 */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb +/* 800C0414 000BD374 A0 01 00 54 */ lhz r0, 0x54(r1) +/* 800C0418 000BD378 B0 1E 01 4C */ sth r0, 0x14c(r30) +/* 800C041C 000BD37C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800C0420 000BD380 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 800C0424 000BD384 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 800C0428 000BD388 80 01 00 60 */ lwz r0, 0x60(r1) +/* 800C042C 000BD38C 90 7E 01 54 */ stw r3, 0x154(r30) +/* 800C0430 000BD390 90 1E 01 58 */ stw r0, 0x158(r30) +/* 800C0434 000BD394 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800C0438 000BD398 90 1E 01 5C */ stw r0, 0x15c(r30) +/* 800C043C 000BD39C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800C0440 000BD3A0 D0 1E 01 60 */ stfs f0, 0x160(r30) +/* 800C0444 000BD3A4 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 800C0448 000BD3A8 D0 1E 01 64 */ stfs f0, 0x164(r30) +/* 800C044C 000BD3AC 88 01 00 70 */ lbz r0, 0x70(r1) +/* 800C0450 000BD3B0 98 1E 01 68 */ stb r0, 0x168(r30) +/* 800C0454 000BD3B4 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 800C0458 000BD3B8 A0 1E 00 F0 */ lhz r0, 0xf0(r30) +/* 800C045C 000BD3BC 7C 03 00 40 */ cmplw r3, r0 +/* 800C0460 000BD3C0 40 82 00 10 */ bne lbl_800C0470 +/* 800C0464 000BD3C4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0468 000BD3C8 C0 03 00 08 */ lfs f0, 8(r3) +/* 800C046C 000BD3CC 48 00 00 0C */ b lbl_800C0478 +lbl_800C0470: +/* 800C0470 000BD3D0 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0474 000BD3D4 C0 03 00 10 */ lfs f0, 0x10(r3) +lbl_800C0478: +/* 800C0478 000BD3D8 D0 1E 01 6C */ stfs f0, 0x16c(r30) +lbl_800C047C: +/* 800C047C 000BD3DC C0 1E 01 6C */ lfs f0, 0x16c(r30) +/* 800C0480 000BD3E0 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800C0484 000BD3E4 D0 1E 01 70 */ stfs f0, 0x170(r30) +/* 800C0488 000BD3E8 B0 1E 00 F0 */ sth r0, 0xf0(r30) +lbl_800C048C: +/* 800C048C 000BD3EC C0 3E 01 70 */ lfs f1, 0x170(r30) +/* 800C0490 000BD3F0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C0494 000BD3F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C0498 000BD3F8 40 81 00 78 */ ble lbl_800C0510 +/* 800C049C 000BD3FC 7F C3 F3 78 */ mr r3, r30 +/* 800C04A0 000BD400 7F E5 FB 78 */ mr r5, r31 +/* 800C04A4 000BD404 38 9E 01 2C */ addi r4, r30, 0x12c +/* 800C04A8 000BD408 4B FF D0 DD */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager +/* 800C04AC 000BD40C 7F C3 F3 78 */ mr r3, r30 +/* 800C04B0 000BD410 7F E5 FB 78 */ mr r5, r31 +/* 800C04B4 000BD414 38 9E 01 4C */ addi r4, r30, 0x14c +/* 800C04B8 000BD418 4B FF D0 CD */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager +/* 800C04BC 000BD41C C0 3E 01 70 */ lfs f1, 0x170(r30) +/* 800C04C0 000BD420 C0 0D 86 80 */ lfs f0, lbl_805A7240@sda21(r13) +/* 800C04C4 000BD424 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800C04C8 000BD428 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C04CC 000BD42C D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800C04D0 000BD430 40 80 00 0C */ bge lbl_800C04DC +/* 800C04D4 000BD434 38 61 00 34 */ addi r3, r1, 0x34 +/* 800C04D8 000BD438 48 00 00 08 */ b lbl_800C04E0 +lbl_800C04DC: +/* 800C04DC 000BD43C 38 6D 86 80 */ addi r3, r13, lbl_805A7240@sda21 +lbl_800C04E0: +/* 800C04E0 000BD440 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C04E4 000BD444 38 7E 01 2C */ addi r3, r30, 0x12c +/* 800C04E8 000BD448 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) +/* 800C04EC 000BD44C 38 9E 01 0C */ addi r4, r30, 0x10c +/* 800C04F0 000BD450 D0 1E 01 70 */ stfs f0, 0x170(r30) +/* 800C04F4 000BD454 38 BE 01 4C */ addi r5, r30, 0x14c +/* 800C04F8 000BD458 C0 3E 01 70 */ lfs f1, 0x170(r30) +/* 800C04FC 000BD45C C0 1E 01 6C */ lfs f0, 0x16c(r30) +/* 800C0500 000BD460 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800C0504 000BD464 EC 22 00 28 */ fsubs f1, f2, f0 +/* 800C0508 000BD468 4B FF C9 41 */ bl InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef +/* 800C050C 000BD46C 48 00 00 14 */ b lbl_800C0520 +lbl_800C0510: +/* 800C0510 000BD470 7F C3 F3 78 */ mr r3, r30 +/* 800C0514 000BD474 7F E5 FB 78 */ mr r5, r31 +/* 800C0518 000BD478 38 9E 01 0C */ addi r4, r30, 0x10c +/* 800C051C 000BD47C 4B FF D0 69 */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager +lbl_800C0520: +/* 800C0520 000BD480 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800C0524 000BD484 C0 5E 01 F8 */ lfs f2, 0x1f8(r30) +/* 800C0528 000BD488 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 800C052C 000BD48C 41 82 00 6C */ beq lbl_800C0598 +/* 800C0530 000BD490 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0534 000BD494 C4 03 00 BC */ lfsu f0, 0xbc(r3) +/* 800C0538 000BD498 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800C053C 000BD49C 40 80 00 5C */ bge lbl_800C0598 +/* 800C0540 000BD4A0 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800C0544 000BD4A4 40 80 00 30 */ bge lbl_800C0574 +/* 800C0548 000BD4A8 EC 22 F8 2A */ fadds f1, f2, f31 +/* 800C054C 000BD4AC C0 0D 86 84 */ lfs f0, lbl_805A7244@sda21(r13) +/* 800C0550 000BD4B0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C0554 000BD4B4 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800C0558 000BD4B8 40 80 00 0C */ bge lbl_800C0564 +/* 800C055C 000BD4BC 38 6D 86 84 */ addi r3, r13, lbl_805A7244@sda21 +/* 800C0560 000BD4C0 48 00 00 08 */ b lbl_800C0568 +lbl_800C0564: +/* 800C0564 000BD4C4 38 61 00 30 */ addi r3, r1, 0x30 +lbl_800C0568: +/* 800C0568 000BD4C8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C056C 000BD4CC D0 1E 01 F8 */ stfs f0, 0x1f8(r30) +/* 800C0570 000BD4D0 48 00 00 28 */ b lbl_800C0598 +lbl_800C0574: +/* 800C0574 000BD4D4 EC 22 F8 2A */ fadds f1, f2, f31 +/* 800C0578 000BD4D8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800C057C 000BD4DC C0 03 00 00 */ lfs f0, 0(r3) +/* 800C0580 000BD4E0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C0584 000BD4E4 40 80 00 08 */ bge lbl_800C058C +/* 800C0588 000BD4E8 48 00 00 08 */ b lbl_800C0590 +lbl_800C058C: +/* 800C058C 000BD4EC 38 61 00 2C */ addi r3, r1, 0x2c +lbl_800C0590: +/* 800C0590 000BD4F0 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C0594 000BD4F4 D0 1E 01 F8 */ stfs f0, 0x1f8(r30) +lbl_800C0598: +/* 800C0598 000BD4F8 C0 3E 02 04 */ lfs f1, 0x204(r30) +/* 800C059C 000BD4FC C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C05A0 000BD500 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C05A4 000BD504 40 81 02 5C */ ble lbl_800C0800 +/* 800C05A8 000BD508 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800C05AC 000BD50C C0 0D 86 88 */ lfs f0, lbl_805A7248@sda21(r13) +/* 800C05B0 000BD510 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C05B4 000BD514 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800C05B8 000BD518 40 80 00 0C */ bge lbl_800C05C4 +/* 800C05BC 000BD51C 38 6D 86 88 */ addi r3, r13, lbl_805A7248@sda21 +/* 800C05C0 000BD520 48 00 00 08 */ b lbl_800C05C8 +lbl_800C05C4: +/* 800C05C4 000BD524 38 61 00 28 */ addi r3, r1, 0x28 +lbl_800C05C8: +/* 800C05C8 000BD528 C0 23 00 00 */ lfs f1, 0(r3) +/* 800C05CC 000BD52C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C05D0 000BD530 D0 3E 02 04 */ stfs f1, 0x204(r30) +/* 800C05D4 000BD534 C0 5E 02 04 */ lfs f2, 0x204(r30) +/* 800C05D8 000BD538 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 800C05DC 000BD53C 40 82 00 84 */ bne lbl_800C0660 +/* 800C05E0 000BD540 80 7E 00 EC */ lwz r3, 0xec(r30) +/* 800C05E4 000BD544 C0 02 8D B0 */ lfs f0, lbl_805AAAD0@sda21(r2) +/* 800C05E8 000BD548 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 800C05EC 000BD54C D0 23 00 10 */ stfs f1, 0x10(r3) +/* 800C05F0 000BD550 80 7E 00 EC */ lwz r3, 0xec(r30) +/* 800C05F4 000BD554 C0 23 00 30 */ lfs f1, 0x30(r3) +/* 800C05F8 000BD558 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 800C05FC 000BD55C 80 7E 00 EC */ lwz r3, 0xec(r30) +/* 800C0600 000BD560 C0 23 00 4C */ lfs f1, 0x4c(r3) +/* 800C0604 000BD564 D0 23 00 48 */ stfs f1, 0x48(r3) +/* 800C0608 000BD568 80 7E 00 EC */ lwz r3, 0xec(r30) +/* 800C060C 000BD56C C0 23 00 68 */ lfs f1, 0x68(r3) +/* 800C0610 000BD570 D0 23 00 64 */ stfs f1, 0x64(r3) +/* 800C0614 000BD574 80 7E 00 EC */ lwz r3, 0xec(r30) +/* 800C0618 000BD578 C0 23 00 84 */ lfs f1, 0x84(r3) +/* 800C061C 000BD57C D0 23 00 80 */ stfs f1, 0x80(r3) +/* 800C0620 000BD580 80 7E 00 EC */ lwz r3, 0xec(r30) +/* 800C0624 000BD584 C0 23 00 A0 */ lfs f1, 0xa0(r3) +/* 800C0628 000BD588 D0 23 00 9C */ stfs f1, 0x9c(r3) +/* 800C062C 000BD58C 80 7E 00 EC */ lwz r3, 0xec(r30) +/* 800C0630 000BD590 C0 23 00 BC */ lfs f1, 0xbc(r3) +/* 800C0634 000BD594 D0 23 00 B8 */ stfs f1, 0xb8(r3) +/* 800C0638 000BD598 80 7E 00 EC */ lwz r3, 0xec(r30) +/* 800C063C 000BD59C C0 23 00 D8 */ lfs f1, 0xd8(r3) +/* 800C0640 000BD5A0 D0 23 00 D4 */ stfs f1, 0xd4(r3) +/* 800C0644 000BD5A4 80 7E 00 EC */ lwz r3, 0xec(r30) +/* 800C0648 000BD5A8 C0 23 00 F4 */ lfs f1, 0xf4(r3) +/* 800C064C 000BD5AC D0 23 00 F0 */ stfs f1, 0xf0(r3) +/* 800C0650 000BD5B0 C0 3E 00 D8 */ lfs f1, 0xd8(r30) +/* 800C0654 000BD5B4 D0 3E 00 D4 */ stfs f1, 0xd4(r30) +/* 800C0658 000BD5B8 D0 1E 02 08 */ stfs f0, 0x208(r30) +/* 800C065C 000BD5BC 48 00 01 A4 */ b lbl_800C0800 +lbl_800C0660: +/* 800C0660 000BD5C0 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0664 000BD5C4 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) +/* 800C0668 000BD5C8 C0 03 00 EC */ lfs f0, 0xec(r3) +/* 800C066C 000BD5CC C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 800C0670 000BD5D0 EC 02 00 24 */ fdivs f0, f2, f0 +/* 800C0674 000BD5D4 C0 5E 00 30 */ lfs f2, 0x30(r30) +/* 800C0678 000BD5D8 EC 63 00 28 */ fsubs f3, f3, f0 +/* 800C067C 000BD5DC 48 00 14 A5 */ bl offshoot_func__Ffff +/* 800C0680 000BD5E0 38 00 00 03 */ li r0, 3 +/* 800C0684 000BD5E4 C0 A2 8D B4 */ lfs f5, lbl_805AAAD4@sda21(r2) +/* 800C0688 000BD5E8 C8 82 8D 40 */ lfd f4, lbl_805AAA60@sda21(r2) +/* 800C068C 000BD5EC 38 C0 00 00 */ li r6, 0 +/* 800C0690 000BD5F0 C0 42 8D 5C */ lfs f2, lbl_805AAA7C@sda21(r2) +/* 800C0694 000BD5F4 38 A0 00 00 */ li r5, 0 +/* 800C0698 000BD5F8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C069C 000BD5FC 3C 60 43 30 */ lis r3, 0x4330 +/* 800C06A0 000BD600 7C 09 03 A6 */ mtctr r0 +lbl_800C06A4: +/* 800C06A4 000BD604 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800C06A8 000BD608 90 61 00 80 */ stw r3, 0x80(r1) +/* 800C06AC 000BD60C 7C 80 2A 14 */ add r4, r0, r5 +/* 800C06B0 000BD610 C0 C4 00 18 */ lfs f6, 0x18(r4) +/* 800C06B4 000BD614 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 800C06B8 000BD618 EC C1 01 B2 */ fmuls f6, f1, f6 +/* 800C06BC 000BD61C EC C6 18 2A */ fadds f6, f6, f3 +/* 800C06C0 000BD620 EC 66 01 72 */ fmuls f3, f6, f5 +/* 800C06C4 000BD624 FC 60 18 1E */ fctiwz f3, f3 +/* 800C06C8 000BD628 D8 61 00 78 */ stfd f3, 0x78(r1) +/* 800C06CC 000BD62C 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 800C06D0 000BD630 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800C06D4 000BD634 90 01 00 84 */ stw r0, 0x84(r1) +/* 800C06D8 000BD638 C8 61 00 80 */ lfd f3, 0x80(r1) +/* 800C06DC 000BD63C EC 63 20 28 */ fsubs f3, f3, f4 +/* 800C06E0 000BD640 EC 63 30 BC */ fnmsubs f3, f3, f2, f6 +/* 800C06E4 000BD644 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800C06E8 000BD648 40 80 00 08 */ bge lbl_800C06F0 +/* 800C06EC 000BD64C EC 63 10 2A */ fadds f3, f3, f2 +lbl_800C06F0: +/* 800C06F0 000BD650 D0 64 00 10 */ stfs f3, 0x10(r4) +/* 800C06F4 000BD654 38 A5 00 1C */ addi r5, r5, 0x1c +/* 800C06F8 000BD658 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800C06FC 000BD65C 90 61 00 80 */ stw r3, 0x80(r1) +/* 800C0700 000BD660 7C 80 2A 14 */ add r4, r0, r5 +/* 800C0704 000BD664 C0 C4 00 18 */ lfs f6, 0x18(r4) +/* 800C0708 000BD668 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 800C070C 000BD66C EC C1 01 B2 */ fmuls f6, f1, f6 +/* 800C0710 000BD670 EC C6 18 2A */ fadds f6, f6, f3 +/* 800C0714 000BD674 EC 66 01 72 */ fmuls f3, f6, f5 +/* 800C0718 000BD678 FC 60 18 1E */ fctiwz f3, f3 +/* 800C071C 000BD67C D8 61 00 78 */ stfd f3, 0x78(r1) +/* 800C0720 000BD680 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 800C0724 000BD684 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800C0728 000BD688 90 01 00 84 */ stw r0, 0x84(r1) +/* 800C072C 000BD68C C8 61 00 80 */ lfd f3, 0x80(r1) +/* 800C0730 000BD690 EC 63 20 28 */ fsubs f3, f3, f4 +/* 800C0734 000BD694 EC 63 30 BC */ fnmsubs f3, f3, f2, f6 +/* 800C0738 000BD698 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800C073C 000BD69C 40 80 00 08 */ bge lbl_800C0744 +/* 800C0740 000BD6A0 EC 63 10 2A */ fadds f3, f3, f2 +lbl_800C0744: +/* 800C0744 000BD6A4 D0 64 00 10 */ stfs f3, 0x10(r4) +/* 800C0748 000BD6A8 38 A5 00 1C */ addi r5, r5, 0x1c +/* 800C074C 000BD6AC 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 800C0750 000BD6B0 90 61 00 80 */ stw r3, 0x80(r1) +/* 800C0754 000BD6B4 7C 80 2A 14 */ add r4, r0, r5 +/* 800C0758 000BD6B8 C0 C4 00 18 */ lfs f6, 0x18(r4) +/* 800C075C 000BD6BC C0 64 00 0C */ lfs f3, 0xc(r4) +/* 800C0760 000BD6C0 EC C1 01 B2 */ fmuls f6, f1, f6 +/* 800C0764 000BD6C4 EC C6 18 2A */ fadds f6, f6, f3 +/* 800C0768 000BD6C8 EC 66 01 72 */ fmuls f3, f6, f5 +/* 800C076C 000BD6CC FC 60 18 1E */ fctiwz f3, f3 +/* 800C0770 000BD6D0 D8 61 00 78 */ stfd f3, 0x78(r1) +/* 800C0774 000BD6D4 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 800C0778 000BD6D8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800C077C 000BD6DC 90 01 00 84 */ stw r0, 0x84(r1) +/* 800C0780 000BD6E0 C8 61 00 80 */ lfd f3, 0x80(r1) +/* 800C0784 000BD6E4 EC 63 20 28 */ fsubs f3, f3, f4 +/* 800C0788 000BD6E8 EC 63 30 BC */ fnmsubs f3, f3, f2, f6 +/* 800C078C 000BD6EC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800C0790 000BD6F0 40 80 00 08 */ bge lbl_800C0798 +/* 800C0794 000BD6F4 EC 63 10 2A */ fadds f3, f3, f2 +lbl_800C0798: +/* 800C0798 000BD6F8 D0 64 00 10 */ stfs f3, 0x10(r4) +/* 800C079C 000BD6FC 38 A5 00 1C */ addi r5, r5, 0x1c +/* 800C07A0 000BD700 38 C6 00 02 */ addi r6, r6, 2 +/* 800C07A4 000BD704 42 00 FF 00 */ bdnz lbl_800C06A4 +/* 800C07A8 000BD708 C0 7E 00 DC */ lfs f3, 0xdc(r30) +/* 800C07AC 000BD70C 3C 00 43 30 */ lis r0, 0x4330 +/* 800C07B0 000BD710 C0 5E 00 D0 */ lfs f2, 0xd0(r30) +/* 800C07B4 000BD714 C0 02 8D B4 */ lfs f0, lbl_805AAAD4@sda21(r2) +/* 800C07B8 000BD718 EC 81 10 FA */ fmadds f4, f1, f3, f2 +/* 800C07BC 000BD71C 90 01 00 78 */ stw r0, 0x78(r1) +/* 800C07C0 000BD720 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) +/* 800C07C4 000BD724 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) +/* 800C07C8 000BD728 EC 44 00 32 */ fmuls f2, f4, f0 +/* 800C07CC 000BD72C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C07D0 000BD730 FC 40 10 1E */ fctiwz f2, f2 +/* 800C07D4 000BD734 D8 41 00 80 */ stfd f2, 0x80(r1) +/* 800C07D8 000BD738 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800C07DC 000BD73C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800C07E0 000BD740 90 01 00 7C */ stw r0, 0x7c(r1) +/* 800C07E4 000BD744 C8 41 00 78 */ lfd f2, 0x78(r1) +/* 800C07E8 000BD748 EC 42 18 28 */ fsubs f2, f2, f3 +/* 800C07EC 000BD74C EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 800C07F0 000BD750 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800C07F4 000BD754 40 80 00 08 */ bge lbl_800C07FC +/* 800C07F8 000BD758 EC 42 08 2A */ fadds f2, f2, f1 +lbl_800C07FC: +/* 800C07FC 000BD75C D0 5E 00 D4 */ stfs f2, 0xd4(r30) +lbl_800C0800: +/* 800C0800 000BD760 C0 3E 02 08 */ lfs f1, 0x208(r30) +/* 800C0804 000BD764 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C0808 000BD768 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C080C 000BD76C 40 81 00 38 */ ble lbl_800C0844 +/* 800C0810 000BD770 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0814 000BD774 C4 03 00 D0 */ lfsu f0, 0xd0(r3) +/* 800C0818 000BD778 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C081C 000BD77C 40 80 00 28 */ bge lbl_800C0844 +/* 800C0820 000BD780 EC 21 F8 2A */ fadds f1, f1, f31 +/* 800C0824 000BD784 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800C0828 000BD788 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C082C 000BD78C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C0830 000BD790 40 80 00 08 */ bge lbl_800C0838 +/* 800C0834 000BD794 48 00 00 08 */ b lbl_800C083C +lbl_800C0838: +/* 800C0838 000BD798 38 61 00 24 */ addi r3, r1, 0x24 +lbl_800C083C: +/* 800C083C 000BD79C C0 03 00 00 */ lfs f0, 0(r3) +/* 800C0840 000BD7A0 D0 1E 02 08 */ stfs f0, 0x208(r30) +lbl_800C0844: +/* 800C0844 000BD7A4 C0 3E 02 10 */ lfs f1, 0x210(r30) +/* 800C0848 000BD7A8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C084C 000BD7AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C0850 000BD7B0 40 81 00 2C */ ble lbl_800C087C +/* 800C0854 000BD7B4 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800C0858 000BD7B8 C0 0D 86 8C */ lfs f0, lbl_805A724C@sda21(r13) +/* 800C085C 000BD7BC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C0860 000BD7C0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800C0864 000BD7C4 40 80 00 0C */ bge lbl_800C0870 +/* 800C0868 000BD7C8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C086C 000BD7CC 48 00 00 08 */ b lbl_800C0874 +lbl_800C0870: +/* 800C0870 000BD7D0 38 6D 86 8C */ addi r3, r13, lbl_805A724C@sda21 +lbl_800C0874: +/* 800C0874 000BD7D4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C0878 000BD7D8 D0 1E 02 10 */ stfs f0, 0x210(r30) +lbl_800C087C: +/* 800C087C 000BD7DC C0 3E 01 FC */ lfs f1, 0x1fc(r30) +/* 800C0880 000BD7E0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C0884 000BD7E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C0888 000BD7E8 40 81 00 2C */ ble lbl_800C08B4 +/* 800C088C 000BD7EC EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800C0890 000BD7F0 C0 0D 86 90 */ lfs f0, lbl_805A7250@sda21(r13) +/* 800C0894 000BD7F4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C0898 000BD7F8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800C089C 000BD7FC 40 80 00 0C */ bge lbl_800C08A8 +/* 800C08A0 000BD800 38 61 00 1C */ addi r3, r1, 0x1c +/* 800C08A4 000BD804 48 00 00 08 */ b lbl_800C08AC +lbl_800C08A8: +/* 800C08A8 000BD808 38 6D 86 90 */ addi r3, r13, lbl_805A7250@sda21 +lbl_800C08AC: +/* 800C08AC 000BD80C C0 03 00 00 */ lfs f0, 0(r3) +/* 800C08B0 000BD810 D0 1E 01 FC */ stfs f0, 0x1fc(r30) +lbl_800C08B4: +/* 800C08B4 000BD814 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 800C08B8 000BD818 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800C08BC 000BD81C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 800C08C0 000BD820 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 800C08C4 000BD824 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 800C08C8 000BD828 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 800C08CC 000BD82C 7C 08 03 A6 */ mtlr r0 +/* 800C08D0 000BD830 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800C08D4 000BD834 4E 80 00 20 */ blr + +.global Update__22CCompoundTargetReticleFfRC13CStateManager +Update__22CCompoundTargetReticleFfRC13CStateManager: +/* 800C08D8 000BD838 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800C08DC 000BD83C 7C 08 02 A6 */ mflr r0 +/* 800C08E0 000BD840 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800C08E4 000BD844 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 800C08E8 000BD848 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 800C08EC 000BD84C DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 800C08F0 000BD850 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 800C08F4 000BD854 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 800C08F8 000BD858 FF E0 08 90 */ fmr f31, f1 +/* 800C08FC 000BD85C 7C 7A 1B 78 */ mr r26, r3 +/* 800C0900 000BD860 7C 9B 23 78 */ mr r27, r4 +/* 800C0904 000BD864 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C0908 000BD868 7F 45 D3 78 */ mr r5, r26 +/* 800C090C 000BD86C 38 9A 00 10 */ addi r4, r26, 0x10 +/* 800C0910 000BD870 48 25 0C 15 */ bl AngleFrom__11CQuaternionCFRC11CQuaternion +/* 800C0914 000BD874 C0 42 8D BC */ lfs f2, lbl_805AAADC@sda21(r2) +/* 800C0918 000BD878 38 00 00 00 */ li r0, 0 +/* 800C091C 000BD87C C0 21 00 30 */ lfs f1, 0x30(r1) +/* 800C0920 000BD880 C0 02 8D 54 */ lfs f0, lbl_805AAA74@sda21(r2) +/* 800C0924 000BD884 EC 42 00 72 */ fmuls f2, f2, f1 +/* 800C0928 000BD888 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800C092C 000BD88C 41 80 00 10 */ blt lbl_800C093C +/* 800C0930 000BD890 C0 02 8D C0 */ lfs f0, lbl_805AAAE0@sda21(r2) +/* 800C0934 000BD894 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800C0938 000BD898 40 81 00 08 */ ble lbl_800C0940 +lbl_800C093C: +/* 800C093C 000BD89C 38 00 00 01 */ li r0, 1 +lbl_800C0940: +/* 800C0940 000BD8A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800C0944 000BD8A4 41 82 00 0C */ beq lbl_800C0950 +/* 800C0948 000BD8A8 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +/* 800C094C 000BD8AC 48 00 00 34 */ b lbl_800C0980 +lbl_800C0950: +/* 800C0950 000BD8B0 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0954 000BD8B4 C0 0D 86 70 */ lfs f0, lbl_805A7230@sda21(r13) +/* 800C0958 000BD8B8 C0 23 02 24 */ lfs f1, 0x224(r3) +/* 800C095C 000BD8BC EC 21 07 F2 */ fmuls f1, f1, f31 +/* 800C0960 000BD8C0 EC 21 10 24 */ fdivs f1, f1, f2 +/* 800C0964 000BD8C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C0968 000BD8C8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800C096C 000BD8CC 40 80 00 0C */ bge lbl_800C0978 +/* 800C0970 000BD8D0 38 61 00 2C */ addi r3, r1, 0x2c +/* 800C0974 000BD8D4 48 00 00 08 */ b lbl_800C097C +lbl_800C0978: +/* 800C0978 000BD8D8 38 6D 86 70 */ addi r3, r13, lbl_805A7230@sda21 +lbl_800C097C: +/* 800C097C 000BD8DC C0 23 00 00 */ lfs f1, 0(r3) +lbl_800C0980: +/* 800C0980 000BD8E0 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) +/* 800C0984 000BD8E4 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800C0988 000BD8E8 40 82 00 0C */ bne lbl_800C0994 +/* 800C098C 000BD8EC 7F 48 D3 78 */ mr r8, r26 +/* 800C0990 000BD8F0 48 00 00 18 */ b lbl_800C09A8 +lbl_800C0994: +/* 800C0994 000BD8F4 7F 45 D3 78 */ mr r5, r26 +/* 800C0998 000BD8F8 38 61 00 54 */ addi r3, r1, 0x54 +/* 800C099C 000BD8FC 38 9A 00 10 */ addi r4, r26, 0x10 +/* 800C09A0 000BD900 48 25 13 59 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 800C09A4 000BD904 39 01 00 54 */ addi r8, r1, 0x54 +lbl_800C09A8: +/* 800C09A8 000BD908 C0 08 00 00 */ lfs f0, 0(r8) +/* 800C09AC 000BD90C 7F 44 D3 78 */ mr r4, r26 +/* 800C09B0 000BD910 7F 65 DB 78 */ mr r5, r27 +/* 800C09B4 000BD914 38 61 00 48 */ addi r3, r1, 0x48 +/* 800C09B8 000BD918 D0 1A 00 10 */ stfs f0, 0x10(r26) +/* 800C09BC 000BD91C 38 C0 00 00 */ li r6, 0 +/* 800C09C0 000BD920 80 E8 00 04 */ lwz r7, 4(r8) +/* 800C09C4 000BD924 80 08 00 08 */ lwz r0, 8(r8) +/* 800C09C8 000BD928 90 FA 00 14 */ stw r7, 0x14(r26) +/* 800C09CC 000BD92C 90 1A 00 18 */ stw r0, 0x18(r26) +/* 800C09D0 000BD930 80 08 00 0C */ lwz r0, 0xc(r8) +/* 800C09D4 000BD934 90 1A 00 1C */ stw r0, 0x1c(r26) +/* 800C09D8 000BD938 4B FF C7 B1 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb +/* 800C09DC 000BD93C C0 01 00 48 */ lfs f0, 0x48(r1) +/* 800C09E0 000BD940 7F 44 D3 78 */ mr r4, r26 +/* 800C09E4 000BD944 7F 65 DB 78 */ mr r5, r27 +/* 800C09E8 000BD948 38 61 00 3C */ addi r3, r1, 0x3c +/* 800C09EC 000BD94C D0 1A 00 F4 */ stfs f0, 0xf4(r26) +/* 800C09F0 000BD950 38 C0 00 01 */ li r6, 1 +/* 800C09F4 000BD954 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800C09F8 000BD958 D0 1A 00 F8 */ stfs f0, 0xf8(r26) +/* 800C09FC 000BD95C C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800C0A00 000BD960 D0 1A 00 FC */ stfs f0, 0xfc(r26) +/* 800C0A04 000BD964 4B FF C7 85 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb +/* 800C0A08 000BD968 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 800C0A0C 000BD96C FC 20 F8 90 */ fmr f1, f31 +/* 800C0A10 000BD970 7F 43 D3 78 */ mr r3, r26 +/* 800C0A14 000BD974 7F 64 DB 78 */ mr r4, r27 +/* 800C0A18 000BD978 D0 1A 01 00 */ stfs f0, 0x100(r26) +/* 800C0A1C 000BD97C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 800C0A20 000BD980 D0 1A 01 04 */ stfs f0, 0x104(r26) +/* 800C0A24 000BD984 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 800C0A28 000BD988 D0 1A 01 08 */ stfs f0, 0x108(r26) +/* 800C0A2C 000BD98C 4B FF F7 C5 */ bl UpdateCurrLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager +/* 800C0A30 000BD990 FC 20 F8 90 */ fmr f1, f31 +/* 800C0A34 000BD994 7F 43 D3 78 */ mr r3, r26 +/* 800C0A38 000BD998 7F 64 DB 78 */ mr r4, r27 +/* 800C0A3C 000BD99C 4B FF F4 49 */ bl UpdateNextLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager +/* 800C0A40 000BD9A0 FC 20 F8 90 */ fmr f1, f31 +/* 800C0A44 000BD9A4 7F 43 D3 78 */ mr r3, r26 +/* 800C0A48 000BD9A8 7F 64 DB 78 */ mr r4, r27 +/* 800C0A4C 000BD9AC 4B FF F3 15 */ bl UpdateOrbitZoneGroup__22CCompoundTargetReticleFfRC13CStateManager +/* 800C0A50 000BD9B0 7F 43 D3 78 */ mr r3, r26 +/* 800C0A54 000BD9B4 7F 64 DB 78 */ mr r4, r27 +/* 800C0A58 000BD9B8 48 00 08 71 */ bl GetDesiredReticleState__22CCompoundTargetReticleCFRC13CStateManager +/* 800C0A5C 000BD9BC 80 9A 00 20 */ lwz r4, 0x20(r26) +/* 800C0A60 000BD9C0 7C 03 20 00 */ cmpw r3, r4 +/* 800C0A64 000BD9C4 41 82 00 1C */ beq lbl_800C0A80 +/* 800C0A68 000BD9C8 80 1A 00 24 */ lwz r0, 0x24(r26) +/* 800C0A6C 000BD9CC 7C 04 00 00 */ cmpw r4, r0 +/* 800C0A70 000BD9D0 40 82 00 10 */ bne lbl_800C0A80 +/* 800C0A74 000BD9D4 90 7A 00 24 */ stw r3, 0x24(r26) +/* 800C0A78 000BD9D8 38 00 00 02 */ li r0, 2 +/* 800C0A7C 000BD9DC 90 1A 00 28 */ stw r0, 0x28(r26) +lbl_800C0A80: +/* 800C0A80 000BD9E0 80 1A 00 20 */ lwz r0, 0x20(r26) +/* 800C0A84 000BD9E4 80 7A 00 24 */ lwz r3, 0x24(r26) +/* 800C0A88 000BD9E8 7C 00 18 00 */ cmpw r0, r3 +/* 800C0A8C 000BD9EC 41 82 02 68 */ beq lbl_800C0CF4 +/* 800C0A90 000BD9F0 80 1A 00 28 */ lwz r0, 0x28(r26) +/* 800C0A94 000BD9F4 2C 00 00 00 */ cmpwi r0, 0 +/* 800C0A98 000BD9F8 41 81 02 5C */ bgt lbl_800C0CF4 +/* 800C0A9C 000BD9FC 90 7A 00 20 */ stw r3, 0x20(r26) +/* 800C0AA0 000BDA00 3B E0 00 00 */ li r31, 0 +/* 800C0AA4 000BDA04 3B C0 00 00 */ li r30, 0 +/* 800C0AA8 000BDA08 3B A0 00 00 */ li r29, 0 +/* 800C0AAC 000BDA0C 80 1A 00 24 */ lwz r0, 0x24(r26) +/* 800C0AB0 000BDA10 3B 80 00 00 */ li r28, 0 +/* 800C0AB4 000BDA14 2C 00 00 02 */ cmpwi r0, 2 +/* 800C0AB8 000BDA18 41 82 00 34 */ beq lbl_800C0AEC +/* 800C0ABC 000BDA1C 40 80 00 14 */ bge lbl_800C0AD0 +/* 800C0AC0 000BDA20 2C 00 00 00 */ cmpwi r0, 0 +/* 800C0AC4 000BDA24 41 82 00 18 */ beq lbl_800C0ADC +/* 800C0AC8 000BDA28 40 80 00 1C */ bge lbl_800C0AE4 +/* 800C0ACC 000BDA2C 48 00 00 2C */ b lbl_800C0AF8 +lbl_800C0AD0: +/* 800C0AD0 000BDA30 2C 00 00 04 */ cmpwi r0, 4 +/* 800C0AD4 000BDA34 40 80 00 24 */ bge lbl_800C0AF8 +/* 800C0AD8 000BDA38 48 00 00 1C */ b lbl_800C0AF4 +lbl_800C0ADC: +/* 800C0ADC 000BDA3C 3B E0 00 01 */ li r31, 1 +/* 800C0AE0 000BDA40 48 00 00 18 */ b lbl_800C0AF8 +lbl_800C0AE4: +/* 800C0AE4 000BDA44 3B C0 00 01 */ li r30, 1 +/* 800C0AE8 000BDA48 48 00 00 10 */ b lbl_800C0AF8 +lbl_800C0AEC: +/* 800C0AEC 000BDA4C 3B A0 00 01 */ li r29, 1 +/* 800C0AF0 000BDA50 48 00 00 08 */ b lbl_800C0AF8 +lbl_800C0AF4: +/* 800C0AF4 000BDA54 3B 80 00 01 */ li r28, 1 +lbl_800C0AF8: +/* 800C0AF8 000BDA58 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800C0AFC 000BDA5C 41 82 00 10 */ beq lbl_800C0B0C +/* 800C0B00 000BDA60 38 7A 00 40 */ addi r3, r26, 0x40 +/* 800C0B04 000BDA64 48 28 02 81 */ bl Lock__6CTokenFv +/* 800C0B08 000BDA68 48 00 00 14 */ b lbl_800C0B1C +lbl_800C0B0C: +/* 800C0B0C 000BDA6C 38 00 00 00 */ li r0, 0 +/* 800C0B10 000BDA70 38 7A 00 40 */ addi r3, r26, 0x40 +/* 800C0B14 000BDA74 90 1A 00 48 */ stw r0, 0x48(r26) +/* 800C0B18 000BDA78 48 28 02 29 */ bl Unlock__6CTokenFv +lbl_800C0B1C: +/* 800C0B1C 000BDA7C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800C0B20 000BDA80 41 82 00 10 */ beq lbl_800C0B30 +/* 800C0B24 000BDA84 38 7A 00 4C */ addi r3, r26, 0x4c +/* 800C0B28 000BDA88 48 28 02 5D */ bl Lock__6CTokenFv +/* 800C0B2C 000BDA8C 48 00 00 14 */ b lbl_800C0B40 +lbl_800C0B30: +/* 800C0B30 000BDA90 38 00 00 00 */ li r0, 0 +/* 800C0B34 000BDA94 38 7A 00 4C */ addi r3, r26, 0x4c +/* 800C0B38 000BDA98 90 1A 00 54 */ stw r0, 0x54(r26) +/* 800C0B3C 000BDA9C 48 28 02 05 */ bl Unlock__6CTokenFv +lbl_800C0B40: +/* 800C0B40 000BDAA0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800C0B44 000BDAA4 41 82 00 10 */ beq lbl_800C0B54 +/* 800C0B48 000BDAA8 38 7A 00 58 */ addi r3, r26, 0x58 +/* 800C0B4C 000BDAAC 48 28 02 39 */ bl Lock__6CTokenFv +/* 800C0B50 000BDAB0 48 00 00 14 */ b lbl_800C0B64 +lbl_800C0B54: +/* 800C0B54 000BDAB4 38 00 00 00 */ li r0, 0 +/* 800C0B58 000BDAB8 38 7A 00 58 */ addi r3, r26, 0x58 +/* 800C0B5C 000BDABC 90 1A 00 60 */ stw r0, 0x60(r26) +/* 800C0B60 000BDAC0 48 28 01 E1 */ bl Unlock__6CTokenFv +lbl_800C0B64: +/* 800C0B64 000BDAC4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800C0B68 000BDAC8 41 82 00 10 */ beq lbl_800C0B78 +/* 800C0B6C 000BDACC 38 7A 00 64 */ addi r3, r26, 0x64 +/* 800C0B70 000BDAD0 48 28 02 15 */ bl Lock__6CTokenFv +/* 800C0B74 000BDAD4 48 00 00 14 */ b lbl_800C0B88 +lbl_800C0B78: +/* 800C0B78 000BDAD8 38 00 00 00 */ li r0, 0 +/* 800C0B7C 000BDADC 38 7A 00 64 */ addi r3, r26, 0x64 +/* 800C0B80 000BDAE0 90 1A 00 6C */ stw r0, 0x6c(r26) +/* 800C0B84 000BDAE4 48 28 01 BD */ bl Unlock__6CTokenFv +lbl_800C0B88: +/* 800C0B88 000BDAE8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800C0B8C 000BDAEC 41 82 00 10 */ beq lbl_800C0B9C +/* 800C0B90 000BDAF0 38 7A 00 70 */ addi r3, r26, 0x70 +/* 800C0B94 000BDAF4 48 28 01 F1 */ bl Lock__6CTokenFv +/* 800C0B98 000BDAF8 48 00 00 14 */ b lbl_800C0BAC +lbl_800C0B9C: +/* 800C0B9C 000BDAFC 38 00 00 00 */ li r0, 0 +/* 800C0BA0 000BDB00 38 7A 00 70 */ addi r3, r26, 0x70 +/* 800C0BA4 000BDB04 90 1A 00 78 */ stw r0, 0x78(r26) +/* 800C0BA8 000BDB08 48 28 01 99 */ bl Unlock__6CTokenFv +lbl_800C0BAC: +/* 800C0BAC 000BDB0C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800C0BB0 000BDB10 41 82 00 10 */ beq lbl_800C0BC0 +/* 800C0BB4 000BDB14 38 7A 00 7C */ addi r3, r26, 0x7c +/* 800C0BB8 000BDB18 48 28 01 CD */ bl Lock__6CTokenFv +/* 800C0BBC 000BDB1C 48 00 00 14 */ b lbl_800C0BD0 +lbl_800C0BC0: +/* 800C0BC0 000BDB20 38 00 00 00 */ li r0, 0 +/* 800C0BC4 000BDB24 38 7A 00 7C */ addi r3, r26, 0x7c +/* 800C0BC8 000BDB28 90 1A 00 84 */ stw r0, 0x84(r26) +/* 800C0BCC 000BDB2C 48 28 01 75 */ bl Unlock__6CTokenFv +lbl_800C0BD0: +/* 800C0BD0 000BDB30 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800C0BD4 000BDB34 41 82 00 10 */ beq lbl_800C0BE4 +/* 800C0BD8 000BDB38 38 7A 00 88 */ addi r3, r26, 0x88 +/* 800C0BDC 000BDB3C 48 28 01 A9 */ bl Lock__6CTokenFv +/* 800C0BE0 000BDB40 48 00 00 14 */ b lbl_800C0BF4 +lbl_800C0BE4: +/* 800C0BE4 000BDB44 38 00 00 00 */ li r0, 0 +/* 800C0BE8 000BDB48 38 7A 00 88 */ addi r3, r26, 0x88 +/* 800C0BEC 000BDB4C 90 1A 00 90 */ stw r0, 0x90(r26) +/* 800C0BF0 000BDB50 48 28 01 51 */ bl Unlock__6CTokenFv +lbl_800C0BF4: +/* 800C0BF4 000BDB54 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800C0BF8 000BDB58 41 82 00 10 */ beq lbl_800C0C08 +/* 800C0BFC 000BDB5C 38 7A 00 A0 */ addi r3, r26, 0xa0 +/* 800C0C00 000BDB60 48 28 01 85 */ bl Lock__6CTokenFv +/* 800C0C04 000BDB64 48 00 00 14 */ b lbl_800C0C18 +lbl_800C0C08: +/* 800C0C08 000BDB68 38 00 00 00 */ li r0, 0 +/* 800C0C0C 000BDB6C 38 7A 00 A0 */ addi r3, r26, 0xa0 +/* 800C0C10 000BDB70 90 1A 00 A8 */ stw r0, 0xa8(r26) +/* 800C0C14 000BDB74 48 28 01 2D */ bl Unlock__6CTokenFv +lbl_800C0C18: +/* 800C0C18 000BDB78 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 800C0C1C 000BDB7C 41 82 00 10 */ beq lbl_800C0C2C +/* 800C0C20 000BDB80 38 7A 00 AC */ addi r3, r26, 0xac +/* 800C0C24 000BDB84 48 28 01 61 */ bl Lock__6CTokenFv +/* 800C0C28 000BDB88 48 00 00 14 */ b lbl_800C0C3C +lbl_800C0C2C: +/* 800C0C2C 000BDB8C 38 00 00 00 */ li r0, 0 +/* 800C0C30 000BDB90 38 7A 00 AC */ addi r3, r26, 0xac +/* 800C0C34 000BDB94 90 1A 00 B4 */ stw r0, 0xb4(r26) +/* 800C0C38 000BDB98 48 28 01 09 */ bl Unlock__6CTokenFv +lbl_800C0C3C: +/* 800C0C3C 000BDB9C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800C0C40 000BDBA0 41 82 00 10 */ beq lbl_800C0C50 +/* 800C0C44 000BDBA4 38 7A 00 B8 */ addi r3, r26, 0xb8 +/* 800C0C48 000BDBA8 48 28 01 3D */ bl Lock__6CTokenFv +/* 800C0C4C 000BDBAC 48 00 00 14 */ b lbl_800C0C60 +lbl_800C0C50: +/* 800C0C50 000BDBB0 38 00 00 00 */ li r0, 0 +/* 800C0C54 000BDBB4 38 7A 00 B8 */ addi r3, r26, 0xb8 +/* 800C0C58 000BDBB8 90 1A 00 C0 */ stw r0, 0xc0(r26) +/* 800C0C5C 000BDBBC 48 28 00 E5 */ bl Unlock__6CTokenFv +lbl_800C0C60: +/* 800C0C60 000BDBC0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800C0C64 000BDBC4 41 82 00 10 */ beq lbl_800C0C74 +/* 800C0C68 000BDBC8 38 7A 00 C4 */ addi r3, r26, 0xc4 +/* 800C0C6C 000BDBCC 48 28 01 19 */ bl Lock__6CTokenFv +/* 800C0C70 000BDBD0 48 00 00 14 */ b lbl_800C0C84 +lbl_800C0C74: +/* 800C0C74 000BDBD4 38 00 00 00 */ li r0, 0 +/* 800C0C78 000BDBD8 38 7A 00 C4 */ addi r3, r26, 0xc4 +/* 800C0C7C 000BDBDC 90 1A 00 CC */ stw r0, 0xcc(r26) +/* 800C0C80 000BDBE0 48 28 00 C1 */ bl Unlock__6CTokenFv +lbl_800C0C84: +/* 800C0C84 000BDBE4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800C0C88 000BDBE8 41 82 00 18 */ beq lbl_800C0CA0 +/* 800C0C8C 000BDBEC 38 00 00 00 */ li r0, 0 +/* 800C0C90 000BDBF0 38 7A 00 94 */ addi r3, r26, 0x94 +/* 800C0C94 000BDBF4 90 1A 00 9C */ stw r0, 0x9c(r26) +/* 800C0C98 000BDBF8 48 28 00 A9 */ bl Unlock__6CTokenFv +/* 800C0C9C 000BDBFC 48 00 00 0C */ b lbl_800C0CA8 +lbl_800C0CA0: +/* 800C0CA0 000BDC00 38 7A 00 94 */ addi r3, r26, 0x94 +/* 800C0CA4 000BDC04 48 28 00 E1 */ bl Lock__6CTokenFv +lbl_800C0CA8: +/* 800C0CA8 000BDC08 83 DA 00 EC */ lwz r30, 0xec(r26) +/* 800C0CAC 000BDC0C 57 FD 06 3E */ clrlwi r29, r31, 0x18 +/* 800C0CB0 000BDC10 3B 80 00 00 */ li r28, 0 +/* 800C0CB4 000BDC14 48 00 00 28 */ b lbl_800C0CDC +lbl_800C0CB8: +/* 800C0CB8 000BDC18 28 1D 00 00 */ cmplwi r29, 0 +/* 800C0CBC 000BDC1C 41 82 00 10 */ beq lbl_800C0CCC +/* 800C0CC0 000BDC20 7F C3 F3 78 */ mr r3, r30 +/* 800C0CC4 000BDC24 48 28 00 C1 */ bl Lock__6CTokenFv +/* 800C0CC8 000BDC28 48 00 00 10 */ b lbl_800C0CD8 +lbl_800C0CCC: +/* 800C0CCC 000BDC2C 93 9E 00 08 */ stw r28, 8(r30) +/* 800C0CD0 000BDC30 7F C3 F3 78 */ mr r3, r30 +/* 800C0CD4 000BDC34 48 28 00 6D */ bl Unlock__6CTokenFv +lbl_800C0CD8: +/* 800C0CD8 000BDC38 3B DE 00 1C */ addi r30, r30, 0x1c +lbl_800C0CDC: +/* 800C0CDC 000BDC3C 80 1A 00 E4 */ lwz r0, 0xe4(r26) +/* 800C0CE0 000BDC40 80 7A 00 EC */ lwz r3, 0xec(r26) +/* 800C0CE4 000BDC44 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 800C0CE8 000BDC48 7C 03 02 14 */ add r0, r3, r0 +/* 800C0CEC 000BDC4C 7C 1E 00 40 */ cmplw r30, r0 +/* 800C0CF0 000BDC50 40 82 FF C8 */ bne lbl_800C0CB8 +lbl_800C0CF4: +/* 800C0CF4 000BDC54 80 7B 08 4C */ lwz r3, 0x84c(r27) +/* 800C0CF8 000BDC58 80 63 04 90 */ lwz r3, 0x490(r3) +/* 800C0CFC 000BDC5C 88 03 08 34 */ lbz r0, 0x834(r3) +/* 800C0D00 000BDC60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C0D04 000BDC64 41 82 00 0C */ beq lbl_800C0D10 +/* 800C0D08 000BDC68 C0 23 03 40 */ lfs f1, 0x340(r3) +/* 800C0D0C 000BDC6C 48 00 00 08 */ b lbl_800C0D14 +lbl_800C0D10: +/* 800C0D10 000BDC70 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +lbl_800C0D14: +/* 800C0D14 000BDC74 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) +/* 800C0D18 000BDC78 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C0D1C 000BDC7C 4C 41 13 82 */ cror 2, 1, 2 +/* 800C0D20 000BDC80 7C 60 00 26 */ mfcr r3 +/* 800C0D24 000BDC84 88 1A 02 1A */ lbz r0, 0x21a(r26) +/* 800C0D28 000BDC88 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f +/* 800C0D2C 000BDC8C 7C 03 00 40 */ cmplw r3, r0 +/* 800C0D30 000BDC90 41 82 00 08 */ beq lbl_800C0D38 +/* 800C0D34 000BDC94 98 7A 02 1A */ stb r3, 0x21a(r26) +lbl_800C0D38: +/* 800C0D38 000BDC98 88 1A 02 1A */ lbz r0, 0x21a(r26) +/* 800C0D3C 000BDC9C 28 00 00 00 */ cmplwi r0, 0 +/* 800C0D40 000BDCA0 41 82 00 38 */ beq lbl_800C0D78 +/* 800C0D44 000BDCA4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0D48 000BDCA8 C4 03 01 B8 */ lfsu f0, 0x1b8(r3) +/* 800C0D4C 000BDCAC C0 3A 02 14 */ lfs f1, 0x214(r26) +/* 800C0D50 000BDCB0 EC 1F 00 24 */ fdivs f0, f31, f0 +/* 800C0D54 000BDCB4 EC 21 00 2A */ fadds f1, f1, f0 +/* 800C0D58 000BDCB8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800C0D5C 000BDCBC C0 03 00 00 */ lfs f0, 0(r3) +/* 800C0D60 000BDCC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C0D64 000BDCC4 40 80 00 08 */ bge lbl_800C0D6C +/* 800C0D68 000BDCC8 38 61 00 28 */ addi r3, r1, 0x28 +lbl_800C0D6C: +/* 800C0D6C 000BDCCC C0 03 00 00 */ lfs f0, 0(r3) +/* 800C0D70 000BDCD0 D0 1A 02 14 */ stfs f0, 0x214(r26) +/* 800C0D74 000BDCD4 48 00 00 3C */ b lbl_800C0DB0 +lbl_800C0D78: +/* 800C0D78 000BDCD8 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0D7C 000BDCDC C0 5A 02 14 */ lfs f2, 0x214(r26) +/* 800C0D80 000BDCE0 C0 23 01 B8 */ lfs f1, 0x1b8(r3) +/* 800C0D84 000BDCE4 C0 0D 86 74 */ lfs f0, lbl_805A7234@sda21(r13) +/* 800C0D88 000BDCE8 EC 3F 08 24 */ fdivs f1, f31, f1 +/* 800C0D8C 000BDCEC EC 22 08 28 */ fsubs f1, f2, f1 +/* 800C0D90 000BDCF0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C0D94 000BDCF4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800C0D98 000BDCF8 40 80 00 0C */ bge lbl_800C0DA4 +/* 800C0D9C 000BDCFC 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C0DA0 000BDD00 48 00 00 08 */ b lbl_800C0DA8 +lbl_800C0DA4: +/* 800C0DA4 000BDD04 38 6D 86 74 */ addi r3, r13, lbl_805A7234@sda21 +lbl_800C0DA8: +/* 800C0DA8 000BDD08 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C0DAC 000BDD0C D0 1A 02 14 */ stfs f0, 0x214(r26) +lbl_800C0DB0: +/* 800C0DB0 000BDD10 80 7B 08 4C */ lwz r3, 0x84c(r27) +/* 800C0DB4 000BDD14 88 1A 01 F4 */ lbz r0, 0x1f4(r26) +/* 800C0DB8 000BDD18 80 63 04 90 */ lwz r3, 0x490(r3) +/* 800C0DBC 000BDD1C 80 63 03 1C */ lwz r3, 0x31c(r3) +/* 800C0DC0 000BDD20 20 63 00 01 */ subfic r3, r3, 1 +/* 800C0DC4 000BDD24 7C 64 00 34 */ cntlzw r4, r3 +/* 800C0DC8 000BDD28 54 83 DE 3E */ rlwinm r3, r4, 0x1b, 0x18, 0x1f +/* 800C0DCC 000BDD2C 7C 03 00 40 */ cmplw r3, r0 +/* 800C0DD0 000BDD30 54 80 D9 7E */ srwi r0, r4, 5 +/* 800C0DD4 000BDD34 41 82 00 30 */ beq lbl_800C0E04 +/* 800C0DD8 000BDD38 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C0DDC 000BDD3C C0 3A 01 F8 */ lfs f1, 0x1f8(r26) +/* 800C0DE0 000BDD40 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800C0DE4 000BDD44 41 82 00 14 */ beq lbl_800C0DF8 +/* 800C0DE8 000BDD48 C0 02 8D B0 */ lfs f0, lbl_805AAAD0@sda21(r2) +/* 800C0DEC 000BDD4C EC 00 08 28 */ fsubs f0, f0, f1 +/* 800C0DF0 000BDD50 D0 1A 01 F8 */ stfs f0, 0x1f8(r26) +/* 800C0DF4 000BDD54 48 00 00 0C */ b lbl_800C0E00 +lbl_800C0DF8: +/* 800C0DF8 000BDD58 C0 02 8D B0 */ lfs f0, lbl_805AAAD0@sda21(r2) +/* 800C0DFC 000BDD5C D0 1A 01 F8 */ stfs f0, 0x1f8(r26) +lbl_800C0E00: +/* 800C0E00 000BDD60 98 1A 01 F4 */ stb r0, 0x1f4(r26) +lbl_800C0E04: +/* 800C0E04 000BDD64 80 7B 08 4C */ lwz r3, 0x84c(r27) +/* 800C0E08 000BDD68 80 1A 02 00 */ lwz r0, 0x200(r26) +/* 800C0E0C 000BDD6C 80 63 04 90 */ lwz r3, 0x490(r3) +/* 800C0E10 000BDD70 83 E3 03 10 */ lwz r31, 0x310(r3) +/* 800C0E14 000BDD74 7C 1F 00 00 */ cmpw r31, r0 +/* 800C0E18 000BDD78 41 82 01 E4 */ beq lbl_800C0FFC +/* 800C0E1C 000BDD7C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0E20 000BDD80 57 E4 20 36 */ slwi r4, r31, 4 +/* 800C0E24 000BDD84 38 E0 00 00 */ li r7, 0 +/* 800C0E28 000BDD88 38 00 00 09 */ li r0, 9 +/* 800C0E2C 000BDD8C C0 03 00 EC */ lfs f0, 0xec(r3) +/* 800C0E30 000BDD90 7C E8 3B 78 */ mr r8, r7 +/* 800C0E34 000BDD94 38 A4 00 0C */ addi r5, r4, 0xc +/* 800C0E38 000BDD98 C0 A2 8D B4 */ lfs f5, lbl_805AAAD4@sda21(r2) +/* 800C0E3C 000BDD9C D0 1A 02 04 */ stfs f0, 0x204(r26) +/* 800C0E40 000BDDA0 39 20 00 00 */ li r9, 0 +/* 800C0E44 000BDDA4 C8 82 8D 40 */ lfd f4, lbl_805AAA60@sda21(r2) +/* 800C0E48 000BDDA8 3C 80 43 30 */ lis r4, 0x4330 +/* 800C0E4C 000BDDAC C0 62 8D 5C */ lfs f3, lbl_805AAA7C@sda21(r2) +/* 800C0E50 000BDDB0 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) +/* 800C0E54 000BDDB4 7C 09 03 A6 */ mtctr r0 +lbl_800C0E58: +/* 800C0E58 000BDDB8 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C0E5C 000BDDBC 80 1A 00 EC */ lwz r0, 0xec(r26) +/* 800C0E60 000BDDC0 80 63 01 04 */ lwz r3, 0x104(r3) +/* 800C0E64 000BDDC4 7C C0 3A 14 */ add r6, r0, r7 +/* 800C0E68 000BDDC8 90 81 00 70 */ stw r4, 0x70(r1) +/* 800C0E6C 000BDDCC 7C 63 28 2E */ lwzx r3, r3, r5 +/* 800C0E70 000BDDD0 7C 23 44 2E */ lfsx f1, r3, r8 +/* 800C0E74 000BDDD4 EC 01 01 72 */ fmuls f0, f1, f5 +/* 800C0E78 000BDDD8 FC 00 00 1E */ fctiwz f0, f0 +/* 800C0E7C 000BDDDC D8 01 00 68 */ stfd f0, 0x68(r1) +/* 800C0E80 000BDDE0 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 800C0E84 000BDDE4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800C0E88 000BDDE8 90 01 00 74 */ stw r0, 0x74(r1) +/* 800C0E8C 000BDDEC C8 01 00 70 */ lfd f0, 0x70(r1) +/* 800C0E90 000BDDF0 EC 00 20 28 */ fsubs f0, f0, f4 +/* 800C0E94 000BDDF4 EC C0 08 FC */ fnmsubs f6, f0, f3, f1 +/* 800C0E98 000BDDF8 FC 06 10 40 */ fcmpo cr0, f6, f2 +/* 800C0E9C 000BDDFC 40 80 00 08 */ bge lbl_800C0EA4 +/* 800C0EA0 000BDE00 EC C6 18 2A */ fadds f6, f6, f3 +lbl_800C0EA4: +/* 800C0EA4 000BDE04 55 23 0F FE */ srwi r3, r9, 0x1f +/* 800C0EA8 000BDE08 55 20 07 FE */ clrlwi r0, r9, 0x1f +/* 800C0EAC 000BDE0C C0 06 00 10 */ lfs f0, 0x10(r6) +/* 800C0EB0 000BDE10 7C 00 1A 78 */ xor r0, r0, r3 +/* 800C0EB4 000BDE14 7C 03 00 50 */ subf r0, r3, r0 +/* 800C0EB8 000BDE18 EC E6 00 28 */ fsubs f7, f6, f0 +/* 800C0EBC 000BDE1C 2C 00 00 01 */ cmpwi r0, 1 +/* 800C0EC0 000BDE20 40 82 00 40 */ bne lbl_800C0F00 +/* 800C0EC4 000BDE24 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C0EC8 000BDE28 FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 800C0ECC 000BDE2C 40 81 00 20 */ ble lbl_800C0EEC +/* 800C0ED0 000BDE30 C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2) +/* 800C0ED4 000BDE34 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C0ED8 000BDE38 C0 22 8D 7C */ lfs f1, lbl_805AAA9C@sda21(r2) +/* 800C0EDC 000BDE3C EC 00 38 28 */ fsubs f0, f0, f7 +/* 800C0EE0 000BDE40 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800C0EE4 000BDE44 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800C0EE8 000BDE48 48 00 00 14 */ b lbl_800C0EFC +lbl_800C0EEC: +/* 800C0EEC 000BDE4C C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2) +/* 800C0EF0 000BDE50 38 61 00 1C */ addi r3, r1, 0x1c +/* 800C0EF4 000BDE54 EC 00 38 2A */ fadds f0, f0, f7 +/* 800C0EF8 000BDE58 D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_800C0EFC: +/* 800C0EFC 000BDE5C C0 E3 00 00 */ lfs f7, 0(r3) +lbl_800C0F00: +/* 800C0F00 000BDE60 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 800C0F04 000BDE64 39 29 00 01 */ addi r9, r9, 1 +/* 800C0F08 000BDE68 38 E7 00 1C */ addi r7, r7, 0x1c +/* 800C0F0C 000BDE6C 39 08 00 04 */ addi r8, r8, 4 +/* 800C0F10 000BDE70 D0 06 00 0C */ stfs f0, 0xc(r6) +/* 800C0F14 000BDE74 D0 E6 00 18 */ stfs f7, 0x18(r6) +/* 800C0F18 000BDE78 D0 C6 00 14 */ stfs f6, 0x14(r6) +/* 800C0F1C 000BDE7C 42 00 FF 3C */ bdnz lbl_800C0E58 +/* 800C0F20 000BDE80 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) +/* 800C0F24 000BDE84 3C 00 43 30 */ lis r0, 0x4330 +/* 800C0F28 000BDE88 57 E3 10 3A */ slwi r3, r31, 2 +/* 800C0F2C 000BDE8C C0 02 8D B4 */ lfs f0, lbl_805AAAD4@sda21(r2) +/* 800C0F30 000BDE90 80 84 01 14 */ lwz r4, 0x114(r4) +/* 800C0F34 000BDE94 90 01 00 68 */ stw r0, 0x68(r1) +/* 800C0F38 000BDE98 7C 84 1C 2E */ lfsx f4, r4, r3 +/* 800C0F3C 000BDE9C C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) +/* 800C0F40 000BDEA0 EC 44 00 32 */ fmuls f2, f4, f0 +/* 800C0F44 000BDEA4 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) +/* 800C0F48 000BDEA8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C0F4C 000BDEAC FC 40 10 1E */ fctiwz f2, f2 +/* 800C0F50 000BDEB0 D8 41 00 70 */ stfd f2, 0x70(r1) +/* 800C0F54 000BDEB4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800C0F58 000BDEB8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800C0F5C 000BDEBC 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800C0F60 000BDEC0 C8 41 00 68 */ lfd f2, 0x68(r1) +/* 800C0F64 000BDEC4 EC 42 18 28 */ fsubs f2, f2, f3 +/* 800C0F68 000BDEC8 EF C2 20 7C */ fnmsubs f30, f2, f1, f4 +/* 800C0F6C 000BDECC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800C0F70 000BDED0 40 80 00 08 */ bge lbl_800C0F78 +/* 800C0F74 000BDED4 EF DE 08 2A */ fadds f30, f30, f1 +lbl_800C0F78: +/* 800C0F78 000BDED8 48 2C EF 05 */ bl rand +/* 800C0F7C 000BDEDC 54 64 0F FE */ srwi r4, r3, 0x1f +/* 800C0F80 000BDEE0 54 60 07 FE */ clrlwi r0, r3, 0x1f +/* 800C0F84 000BDEE4 7C 00 22 78 */ xor r0, r0, r4 +/* 800C0F88 000BDEE8 C0 1A 00 D4 */ lfs f0, 0xd4(r26) +/* 800C0F8C 000BDEEC 7C 04 00 50 */ subf r0, r4, r0 +/* 800C0F90 000BDEF0 20 00 00 01 */ subfic r0, r0, 1 +/* 800C0F94 000BDEF4 EC 5E 00 28 */ fsubs f2, f30, f0 +/* 800C0F98 000BDEF8 7C 00 00 34 */ cntlzw r0, r0 +/* 800C0F9C 000BDEFC 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 800C0FA0 000BDF00 41 82 00 40 */ beq lbl_800C0FE0 +/* 800C0FA4 000BDF04 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C0FA8 000BDF08 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800C0FAC 000BDF0C 40 81 00 20 */ ble lbl_800C0FCC +/* 800C0FB0 000BDF10 C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2) +/* 800C0FB4 000BDF14 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C0FB8 000BDF18 C0 22 8D 7C */ lfs f1, lbl_805AAA9C@sda21(r2) +/* 800C0FBC 000BDF1C EC 00 10 28 */ fsubs f0, f0, f2 +/* 800C0FC0 000BDF20 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800C0FC4 000BDF24 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800C0FC8 000BDF28 48 00 00 14 */ b lbl_800C0FDC +lbl_800C0FCC: +/* 800C0FCC 000BDF2C C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2) +/* 800C0FD0 000BDF30 38 61 00 14 */ addi r3, r1, 0x14 +/* 800C0FD4 000BDF34 EC 00 10 2A */ fadds f0, f0, f2 +/* 800C0FD8 000BDF38 D0 01 00 14 */ stfs f0, 0x14(r1) +lbl_800C0FDC: +/* 800C0FDC 000BDF3C C0 43 00 00 */ lfs f2, 0(r3) +lbl_800C0FE0: +/* 800C0FE0 000BDF40 C0 3A 00 D4 */ lfs f1, 0xd4(r26) +/* 800C0FE4 000BDF44 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C0FE8 000BDF48 D0 3A 00 D0 */ stfs f1, 0xd0(r26) +/* 800C0FEC 000BDF4C D0 5A 00 DC */ stfs f2, 0xdc(r26) +/* 800C0FF0 000BDF50 D3 DA 00 D8 */ stfs f30, 0xd8(r26) +/* 800C0FF4 000BDF54 93 FA 02 00 */ stw r31, 0x200(r26) +/* 800C0FF8 000BDF58 D0 1A 02 08 */ stfs f0, 0x208(r26) +lbl_800C0FFC: +/* 800C0FFC 000BDF5C 80 7B 08 4C */ lwz r3, 0x84c(r27) +/* 800C1000 000BDF60 80 83 04 90 */ lwz r4, 0x490(r3) +/* 800C1004 000BDF64 80 04 02 EC */ lwz r0, 0x2ec(r4) +/* 800C1008 000BDF68 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800C100C 000BDF6C 41 82 00 28 */ beq lbl_800C1034 +/* 800C1010 000BDF70 88 1A 02 18 */ lbz r0, 0x218(r26) +/* 800C1014 000BDF74 28 00 00 00 */ cmplwi r0, 0 +/* 800C1018 000BDF78 40 82 00 10 */ bne lbl_800C1028 +/* 800C101C 000BDF7C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C1020 000BDF80 C0 03 01 2C */ lfs f0, 0x12c(r3) +/* 800C1024 000BDF84 D0 1A 02 10 */ stfs f0, 0x210(r26) +lbl_800C1028: +/* 800C1028 000BDF88 38 00 00 01 */ li r0, 1 +/* 800C102C 000BDF8C 98 1A 02 18 */ stb r0, 0x218(r26) +/* 800C1030 000BDF90 48 00 00 0C */ b lbl_800C103C +lbl_800C1034: +/* 800C1034 000BDF94 38 00 00 00 */ li r0, 0 +/* 800C1038 000BDF98 98 1A 02 18 */ stb r0, 0x218(r26) +lbl_800C103C: +/* 800C103C 000BDF9C 80 04 02 EC */ lwz r0, 0x2ec(r4) +/* 800C1040 000BDFA0 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 800C1044 000BDFA4 41 82 00 28 */ beq lbl_800C106C +/* 800C1048 000BDFA8 88 1A 02 19 */ lbz r0, 0x219(r26) +/* 800C104C 000BDFAC 28 00 00 00 */ cmplwi r0, 0 +/* 800C1050 000BDFB0 40 82 00 10 */ bne lbl_800C1060 +/* 800C1054 000BDFB4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C1058 000BDFB8 C0 03 00 C8 */ lfs f0, 0xc8(r3) +/* 800C105C 000BDFBC D0 1A 01 FC */ stfs f0, 0x1fc(r26) +lbl_800C1060: +/* 800C1060 000BDFC0 38 00 00 01 */ li r0, 1 +/* 800C1064 000BDFC4 98 1A 02 19 */ stb r0, 0x219(r26) +/* 800C1068 000BDFC8 48 00 00 0C */ b lbl_800C1074 +lbl_800C106C: +/* 800C106C 000BDFCC 38 00 00 00 */ li r0, 0 +/* 800C1070 000BDFD0 98 1A 02 19 */ stb r0, 0x219(r26) +lbl_800C1074: +/* 800C1074 000BDFD4 A0 1A 00 F2 */ lhz r0, 0xf2(r26) +/* 800C1078 000BDFD8 38 81 00 08 */ addi r4, r1, 8 +/* 800C107C 000BDFDC 80 7B 08 10 */ lwz r3, 0x810(r27) +/* 800C1080 000BDFE0 B0 01 00 08 */ sth r0, 8(r1) +/* 800C1084 000BDFE4 4B F4 ED 69 */ bl GetObjectById__11CObjectListCF9TUniqueId +/* 800C1088 000BDFE8 7C 64 1B 78 */ mr r4, r3 +/* 800C108C 000BDFEC 38 61 00 34 */ addi r3, r1, 0x34 +/* 800C1090 000BDFF0 4B FE 8A 39 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" +/* 800C1094 000BDFF4 A0 1A 00 F2 */ lhz r0, 0xf2(r26) +/* 800C1098 000BDFF8 38 A0 00 00 */ li r5, 0 +/* 800C109C 000BDFFC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 800C10A0 000BE000 80 63 00 04 */ lwz r3, 4(r3) +/* 800C10A4 000BE004 7C 00 20 40 */ cmplw r0, r4 +/* 800C10A8 000BE008 41 82 00 08 */ beq lbl_800C10B0 +/* 800C10AC 000BE00C 7C 65 1B 78 */ mr r5, r3 +lbl_800C10B0: +/* 800C10B0 000BE010 28 05 00 00 */ cmplwi r5, 0 +/* 800C10B4 000BE014 41 82 00 60 */ beq lbl_800C1114 +/* 800C10B8 000BE018 A0 85 00 08 */ lhz r4, 8(r5) +/* 800C10BC 000BE01C A0 BA 01 DC */ lhz r5, 0x1dc(r26) +/* 800C10C0 000BE020 7C 04 28 40 */ cmplw r4, r5 +/* 800C10C4 000BE024 41 82 00 78 */ beq lbl_800C113C +/* 800C10C8 000BE028 A0 1A 01 DE */ lhz r0, 0x1de(r26) +/* 800C10CC 000BE02C 7C 04 00 40 */ cmplw r4, r0 +/* 800C10D0 000BE030 40 82 00 28 */ bne lbl_800C10F8 +/* 800C10D4 000BE034 C0 22 8D B8 */ lfs f1, lbl_805AAAD8@sda21(r2) +/* 800C10D8 000BE038 C0 1A 01 E4 */ lfs f0, 0x1e4(r26) +/* 800C10DC 000BE03C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C10E0 000BE040 40 80 00 0C */ bge lbl_800C10EC +/* 800C10E4 000BE044 38 7A 01 E4 */ addi r3, r26, 0x1e4 +/* 800C10E8 000BE048 48 00 00 08 */ b lbl_800C10F0 +lbl_800C10EC: +/* 800C10EC 000BE04C 38 62 8D B8 */ addi r3, r2, lbl_805AAAD8@sda21 +lbl_800C10F0: +/* 800C10F0 000BE050 C0 23 00 00 */ lfs f1, 0(r3) +/* 800C10F4 000BE054 48 00 00 08 */ b lbl_800C10FC +lbl_800C10F8: +/* 800C10F8 000BE058 C0 22 8D B0 */ lfs f1, lbl_805AAAD0@sda21(r2) +lbl_800C10FC: +/* 800C10FC 000BE05C B0 BA 01 DE */ sth r5, 0x1de(r26) +/* 800C1100 000BE060 C0 1A 01 E0 */ lfs f0, 0x1e0(r26) +/* 800C1104 000BE064 D0 1A 01 E4 */ stfs f0, 0x1e4(r26) +/* 800C1108 000BE068 D0 3A 01 E0 */ stfs f1, 0x1e0(r26) +/* 800C110C 000BE06C B0 9A 01 DC */ sth r4, 0x1dc(r26) +/* 800C1110 000BE070 48 00 00 2C */ b lbl_800C113C +lbl_800C1114: +/* 800C1114 000BE074 A0 1A 01 DC */ lhz r0, 0x1dc(r26) +/* 800C1118 000BE078 7C 00 20 40 */ cmplw r0, r4 +/* 800C111C 000BE07C 41 82 00 20 */ beq lbl_800C113C +/* 800C1120 000BE080 B0 1A 01 DE */ sth r0, 0x1de(r26) +/* 800C1124 000BE084 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C1128 000BE088 C0 3A 01 E0 */ lfs f1, 0x1e0(r26) +/* 800C112C 000BE08C D0 3A 01 E4 */ stfs f1, 0x1e4(r26) +/* 800C1130 000BE090 D0 1A 01 E0 */ stfs f0, 0x1e0(r26) +/* 800C1134 000BE094 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C1138 000BE098 B0 1A 01 DC */ sth r0, 0x1dc(r26) +lbl_800C113C: +/* 800C113C 000BE09C C0 5A 01 E0 */ lfs f2, 0x1e0(r26) +/* 800C1140 000BE0A0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C1144 000BE0A4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800C1148 000BE0A8 40 81 00 34 */ ble lbl_800C117C +/* 800C114C 000BE0AC C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) +/* 800C1150 000BE0B0 C0 0D 86 78 */ lfs f0, lbl_805A7238@sda21(r13) +/* 800C1154 000BE0B4 EC 3F 08 24 */ fdivs f1, f31, f1 +/* 800C1158 000BE0B8 EC 22 08 2A */ fadds f1, f2, f1 +/* 800C115C 000BE0BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C1160 000BE0C0 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800C1164 000BE0C4 40 80 00 0C */ bge lbl_800C1170 +/* 800C1168 000BE0C8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C116C 000BE0CC 48 00 00 08 */ b lbl_800C1174 +lbl_800C1170: +/* 800C1170 000BE0D0 38 6D 86 78 */ addi r3, r13, lbl_805A7238@sda21 +lbl_800C1174: +/* 800C1174 000BE0D4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C1178 000BE0D8 D0 1A 01 E0 */ stfs f0, 0x1e0(r26) +lbl_800C117C: +/* 800C117C 000BE0DC C0 5A 01 E4 */ lfs f2, 0x1e4(r26) +/* 800C1180 000BE0E0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C1184 000BE0E4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800C1188 000BE0E8 40 81 00 4C */ ble lbl_800C11D4 +/* 800C118C 000BE0EC C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) +/* 800C1190 000BE0F0 C0 0D 86 7C */ lfs f0, lbl_805A723C@sda21(r13) +/* 800C1194 000BE0F4 EC 3F 08 24 */ fdivs f1, f31, f1 +/* 800C1198 000BE0F8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800C119C 000BE0FC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C11A0 000BE100 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800C11A4 000BE104 40 80 00 0C */ bge lbl_800C11B0 +/* 800C11A8 000BE108 38 61 00 0C */ addi r3, r1, 0xc +/* 800C11AC 000BE10C 48 00 00 08 */ b lbl_800C11B4 +lbl_800C11B0: +/* 800C11B0 000BE110 38 6D 86 7C */ addi r3, r13, lbl_805A723C@sda21 +lbl_800C11B4: +/* 800C11B4 000BE114 C0 03 00 00 */ lfs f0, 0(r3) +/* 800C11B8 000BE118 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800C11BC 000BE11C D0 1A 01 E4 */ stfs f0, 0x1e4(r26) +/* 800C11C0 000BE120 C0 1A 01 E4 */ lfs f0, 0x1e4(r26) +/* 800C11C4 000BE124 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800C11C8 000BE128 40 82 00 0C */ bne lbl_800C11D4 +/* 800C11CC 000BE12C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C11D0 000BE130 B0 1A 01 DE */ sth r0, 0x1de(r26) +lbl_800C11D4: +/* 800C11D4 000BE134 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C11D8 000BE138 3C 00 43 30 */ lis r0, 0x4330 +/* 800C11DC 000BE13C C0 22 8D 34 */ lfs f1, lbl_805AAA54@sda21(r2) +/* 800C11E0 000BE140 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 800C11E4 000BE144 C0 BA 01 F0 */ lfs f5, 0x1f0(r26) +/* 800C11E8 000BE148 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800C11EC 000BE14C C0 42 8D B4 */ lfs f2, lbl_805AAAD4@sda21(r2) +/* 800C11F0 000BE150 90 01 00 68 */ stw r0, 0x68(r1) +/* 800C11F4 000BE154 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) +/* 800C11F8 000BE158 EC 81 00 32 */ fmuls f4, f1, f0 +/* 800C11FC 000BE15C C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) +/* 800C1200 000BE160 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C1204 000BE164 EC 85 20 2A */ fadds f4, f5, f4 +/* 800C1208 000BE168 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 800C120C 000BE16C FC 40 10 1E */ fctiwz f2, f2 +/* 800C1210 000BE170 D8 41 00 70 */ stfd f2, 0x70(r1) +/* 800C1214 000BE174 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800C1218 000BE178 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800C121C 000BE17C 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800C1220 000BE180 C8 41 00 68 */ lfd f2, 0x68(r1) +/* 800C1224 000BE184 EC 42 18 28 */ fsubs f2, f2, f3 +/* 800C1228 000BE188 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 800C122C 000BE18C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800C1230 000BE190 40 80 00 08 */ bge lbl_800C1238 +/* 800C1234 000BE194 EC 42 08 2A */ fadds f2, f2, f1 +lbl_800C1238: +/* 800C1238 000BE198 D0 5A 01 F0 */ stfs f2, 0x1f0(r26) +/* 800C123C 000BE19C 3C 00 43 30 */ lis r0, 0x4330 +/* 800C1240 000BE1A0 C0 82 8D 34 */ lfs f4, lbl_805AAA54@sda21(r2) +/* 800C1244 000BE1A4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C1248 000BE1A8 C0 BA 01 EC */ lfs f5, 0x1ec(r26) +/* 800C124C 000BE1AC C0 03 00 28 */ lfs f0, 0x28(r3) +/* 800C1250 000BE1B0 C0 42 8D B4 */ lfs f2, lbl_805AAAD4@sda21(r2) +/* 800C1254 000BE1B4 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800C1258 000BE1B8 90 01 00 80 */ stw r0, 0x80(r1) +/* 800C125C 000BE1BC C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) +/* 800C1260 000BE1C0 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) +/* 800C1264 000BE1C4 EC 84 00 32 */ fmuls f4, f4, f0 +/* 800C1268 000BE1C8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C126C 000BE1CC EC 85 20 2A */ fadds f4, f5, f4 +/* 800C1270 000BE1D0 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 800C1274 000BE1D4 FC 40 10 1E */ fctiwz f2, f2 +/* 800C1278 000BE1D8 D8 41 00 78 */ stfd f2, 0x78(r1) +/* 800C127C 000BE1DC 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 800C1280 000BE1E0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800C1284 000BE1E4 90 01 00 84 */ stw r0, 0x84(r1) +/* 800C1288 000BE1E8 C8 41 00 80 */ lfd f2, 0x80(r1) +/* 800C128C 000BE1EC EC 42 18 28 */ fsubs f2, f2, f3 +/* 800C1290 000BE1F0 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 800C1294 000BE1F4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800C1298 000BE1F8 40 80 00 08 */ bge lbl_800C12A0 +/* 800C129C 000BE1FC EC 42 08 2A */ fadds f2, f2, f1 +lbl_800C12A0: +/* 800C12A0 000BE200 D0 5A 01 EC */ stfs f2, 0x1ec(r26) +/* 800C12A4 000BE204 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 800C12A8 000BE208 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 800C12AC 000BE20C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 800C12B0 000BE210 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 800C12B4 000BE214 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 800C12B8 000BE218 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800C12BC 000BE21C 7C 08 03 A6 */ mtlr r0 +/* 800C12C0 000BE220 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800C12C4 000BE224 4E 80 00 20 */ blr + +.global GetDesiredReticleState__22CCompoundTargetReticleCFRC13CStateManager +GetDesiredReticleState__22CCompoundTargetReticleCFRC13CStateManager: +/* 800C12C8 000BE228 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 800C12CC 000BE22C 80 63 00 00 */ lwz r3, 0(r3) +/* 800C12D0 000BE230 80 03 00 14 */ lwz r0, 0x14(r3) +/* 800C12D4 000BE234 2C 00 00 02 */ cmpwi r0, 2 +/* 800C12D8 000BE238 41 82 00 24 */ beq lbl_800C12FC +/* 800C12DC 000BE23C 40 80 00 14 */ bge lbl_800C12F0 +/* 800C12E0 000BE240 2C 00 00 00 */ cmpwi r0, 0 +/* 800C12E4 000BE244 41 82 00 28 */ beq lbl_800C130C +/* 800C12E8 000BE248 40 80 00 1C */ bge lbl_800C1304 +/* 800C12EC 000BE24C 48 00 00 30 */ b lbl_800C131C +lbl_800C12F0: +/* 800C12F0 000BE250 2C 00 00 04 */ cmpwi r0, 4 +/* 800C12F4 000BE254 40 80 00 28 */ bge lbl_800C131C +/* 800C12F8 000BE258 48 00 00 1C */ b lbl_800C1314 +lbl_800C12FC: +/* 800C12FC 000BE25C 38 60 00 01 */ li r3, 1 +/* 800C1300 000BE260 4E 80 00 20 */ blr +lbl_800C1304: +/* 800C1304 000BE264 38 60 00 02 */ li r3, 2 +/* 800C1308 000BE268 4E 80 00 20 */ blr +lbl_800C130C: +/* 800C130C 000BE26C 38 60 00 00 */ li r3, 0 +/* 800C1310 000BE270 4E 80 00 20 */ blr +lbl_800C1314: +/* 800C1314 000BE274 38 60 00 03 */ li r3, 3 +/* 800C1318 000BE278 4E 80 00 20 */ blr +lbl_800C131C: +/* 800C131C 000BE27C 38 60 00 00 */ li r3, 0 +/* 800C1320 000BE280 4E 80 00 20 */ blr + +.global CheckLoadComplete__22CCompoundTargetReticleFv +CheckLoadComplete__22CCompoundTargetReticleFv: +/* 800C1324 000BE284 38 60 00 01 */ li r3, 1 +/* 800C1328 000BE288 4E 80 00 20 */ blr + +.global __ct__22CCompoundTargetReticleFRC13CStateManager +__ct__22CCompoundTargetReticleFRC13CStateManager: +/* 800C132C 000BE28C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 800C1330 000BE290 7C 08 02 A6 */ mflr r0 +/* 800C1334 000BE294 3C A0 80 3D */ lis r5, lbl_803CDEE8@ha +/* 800C1338 000BE298 90 01 01 24 */ stw r0, 0x124(r1) +/* 800C133C 000BE29C BF 61 01 0C */ stmw r27, 0x10c(r1) +/* 800C1340 000BE2A0 7C 7D 1B 78 */ mr r29, r3 +/* 800C1344 000BE2A4 7C 9E 23 78 */ mr r30, r4 +/* 800C1348 000BE2A8 3B E5 DE E8 */ addi r31, r5, lbl_803CDEE8@l +/* 800C134C 000BE2AC 80 64 08 70 */ lwz r3, 0x870(r4) +/* 800C1350 000BE2B0 4B F4 A7 C9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800C1354 000BE2B4 7C 64 1B 78 */ mr r4, r3 +/* 800C1358 000BE2B8 38 61 00 90 */ addi r3, r1, 0x90 +/* 800C135C 000BE2BC 38 84 00 34 */ addi r4, r4, 0x34 +/* 800C1360 000BE2C0 48 25 0D C9 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 800C1364 000BE2C4 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 800C1368 000BE2C8 7F C4 F3 78 */ mr r4, r30 +/* 800C136C 000BE2CC D0 1D 00 00 */ stfs f0, 0(r29) +/* 800C1370 000BE2D0 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 800C1374 000BE2D4 D0 1D 00 04 */ stfs f0, 4(r29) +/* 800C1378 000BE2D8 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 800C137C 000BE2DC D0 1D 00 08 */ stfs f0, 8(r29) +/* 800C1380 000BE2E0 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 800C1384 000BE2E4 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 800C1388 000BE2E8 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 800C138C 000BE2EC 4B F4 A7 8D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800C1390 000BE2F0 7C 64 1B 78 */ mr r4, r3 +/* 800C1394 000BE2F4 38 61 00 80 */ addi r3, r1, 0x80 +/* 800C1398 000BE2F8 38 84 00 34 */ addi r4, r4, 0x34 +/* 800C139C 000BE2FC 48 25 0D 8D */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 800C13A0 000BE300 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800C13A4 000BE304 38 60 00 05 */ li r3, 5 +/* 800C13A8 000BE308 38 00 00 00 */ li r0, 0 +/* 800C13AC 000BE30C C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) +/* 800C13B0 000BE310 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 800C13B4 000BE314 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800C13B8 000BE318 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 800C13BC 000BE31C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 800C13C0 000BE320 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 800C13C4 000BE324 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 800C13C8 000BE328 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 800C13CC 000BE32C 90 7D 00 20 */ stw r3, 0x20(r29) +/* 800C13D0 000BE330 90 7D 00 24 */ stw r3, 0x24(r29) +/* 800C13D4 000BE334 90 1D 00 28 */ stw r0, 0x28(r29) +/* 800C13D8 000BE338 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C13DC 000BE33C C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 800C13E0 000BE340 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800C13E4 000BE344 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 800C13E8 000BE348 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) +/* 800C13EC 000BE34C C0 23 00 E8 */ lfs f1, 0xe8(r3) +/* 800C13F0 000BE350 48 00 06 F5 */ bl calculate_premultiplied_overshoot_offset__Ff +/* 800C13F4 000BE354 D0 3D 00 30 */ stfs f1, 0x30(r29) +/* 800C13F8 000BE358 38 61 00 60 */ addi r3, r1, 0x60 +/* 800C13FC 000BE35C 38 BF 00 00 */ addi r5, r31, 0 +/* 800C1400 000BE360 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C1404 000BE364 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1408 000BE368 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C140C 000BE36C 7D 89 03 A6 */ mtctr r12 +/* 800C1410 000BE370 4E 80 04 21 */ bctrl +/* 800C1414 000BE374 3B 7D 00 34 */ addi r27, r29, 0x34 +/* 800C1418 000BE378 38 81 00 60 */ addi r4, r1, 0x60 +/* 800C141C 000BE37C 7F 63 DB 78 */ mr r3, r27 +/* 800C1420 000BE380 48 27 FA 89 */ bl __ct__6CTokenFRC6CToken +/* 800C1424 000BE384 38 00 00 00 */ li r0, 0 +/* 800C1428 000BE388 38 61 00 60 */ addi r3, r1, 0x60 +/* 800C142C 000BE38C 90 1B 00 08 */ stw r0, 8(r27) +/* 800C1430 000BE390 38 80 FF FF */ li r4, -1 +/* 800C1434 000BE394 48 27 FA 0D */ bl __dt__6CTokenFv +/* 800C1438 000BE398 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C143C 000BE39C 38 61 00 58 */ addi r3, r1, 0x58 +/* 800C1440 000BE3A0 38 BF 00 20 */ addi r5, r31, 0x20 +/* 800C1444 000BE3A4 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1448 000BE3A8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C144C 000BE3AC 7D 89 03 A6 */ mtctr r12 +/* 800C1450 000BE3B0 4E 80 04 21 */ bctrl +/* 800C1454 000BE3B4 3B 7D 00 40 */ addi r27, r29, 0x40 +/* 800C1458 000BE3B8 38 81 00 58 */ addi r4, r1, 0x58 +/* 800C145C 000BE3BC 7F 63 DB 78 */ mr r3, r27 +/* 800C1460 000BE3C0 48 27 FA 49 */ bl __ct__6CTokenFRC6CToken +/* 800C1464 000BE3C4 38 00 00 00 */ li r0, 0 +/* 800C1468 000BE3C8 38 61 00 58 */ addi r3, r1, 0x58 +/* 800C146C 000BE3CC 90 1B 00 08 */ stw r0, 8(r27) +/* 800C1470 000BE3D0 38 80 FF FF */ li r4, -1 +/* 800C1474 000BE3D4 48 27 F9 CD */ bl __dt__6CTokenFv +/* 800C1478 000BE3D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C147C 000BE3DC 38 61 00 50 */ addi r3, r1, 0x50 +/* 800C1480 000BE3E0 38 BF 00 2C */ addi r5, r31, 0x2c +/* 800C1484 000BE3E4 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1488 000BE3E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C148C 000BE3EC 7D 89 03 A6 */ mtctr r12 +/* 800C1490 000BE3F0 4E 80 04 21 */ bctrl +/* 800C1494 000BE3F4 3B 7D 00 4C */ addi r27, r29, 0x4c +/* 800C1498 000BE3F8 38 81 00 50 */ addi r4, r1, 0x50 +/* 800C149C 000BE3FC 7F 63 DB 78 */ mr r3, r27 +/* 800C14A0 000BE400 48 27 FA 09 */ bl __ct__6CTokenFRC6CToken +/* 800C14A4 000BE404 38 00 00 00 */ li r0, 0 +/* 800C14A8 000BE408 38 61 00 50 */ addi r3, r1, 0x50 +/* 800C14AC 000BE40C 90 1B 00 08 */ stw r0, 8(r27) +/* 800C14B0 000BE410 38 80 FF FF */ li r4, -1 +/* 800C14B4 000BE414 48 27 F9 8D */ bl __dt__6CTokenFv +/* 800C14B8 000BE418 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C14BC 000BE41C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800C14C0 000BE420 38 BF 00 40 */ addi r5, r31, 0x40 +/* 800C14C4 000BE424 81 84 00 00 */ lwz r12, 0(r4) +/* 800C14C8 000BE428 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C14CC 000BE42C 7D 89 03 A6 */ mtctr r12 +/* 800C14D0 000BE430 4E 80 04 21 */ bctrl +/* 800C14D4 000BE434 3B 7D 00 58 */ addi r27, r29, 0x58 +/* 800C14D8 000BE438 38 81 00 48 */ addi r4, r1, 0x48 +/* 800C14DC 000BE43C 7F 63 DB 78 */ mr r3, r27 +/* 800C14E0 000BE440 48 27 F9 C9 */ bl __ct__6CTokenFRC6CToken +/* 800C14E4 000BE444 38 00 00 00 */ li r0, 0 +/* 800C14E8 000BE448 38 61 00 48 */ addi r3, r1, 0x48 +/* 800C14EC 000BE44C 90 1B 00 08 */ stw r0, 8(r27) +/* 800C14F0 000BE450 38 80 FF FF */ li r4, -1 +/* 800C14F4 000BE454 48 27 F9 4D */ bl __dt__6CTokenFv +/* 800C14F8 000BE458 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C14FC 000BE45C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C1500 000BE460 38 BF 00 54 */ addi r5, r31, 0x54 +/* 800C1504 000BE464 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1508 000BE468 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C150C 000BE46C 7D 89 03 A6 */ mtctr r12 +/* 800C1510 000BE470 4E 80 04 21 */ bctrl +/* 800C1514 000BE474 3B 7D 00 64 */ addi r27, r29, 0x64 +/* 800C1518 000BE478 38 81 00 40 */ addi r4, r1, 0x40 +/* 800C151C 000BE47C 7F 63 DB 78 */ mr r3, r27 +/* 800C1520 000BE480 48 27 F9 89 */ bl __ct__6CTokenFRC6CToken +/* 800C1524 000BE484 38 00 00 00 */ li r0, 0 +/* 800C1528 000BE488 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C152C 000BE48C 90 1B 00 08 */ stw r0, 8(r27) +/* 800C1530 000BE490 38 80 FF FF */ li r4, -1 +/* 800C1534 000BE494 48 27 F9 0D */ bl __dt__6CTokenFv +/* 800C1538 000BE498 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C153C 000BE49C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800C1540 000BE4A0 38 BF 00 A4 */ addi r5, r31, 0xa4 +/* 800C1544 000BE4A4 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1548 000BE4A8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C154C 000BE4AC 7D 89 03 A6 */ mtctr r12 +/* 800C1550 000BE4B0 4E 80 04 21 */ bctrl +/* 800C1554 000BE4B4 3B 7D 00 70 */ addi r27, r29, 0x70 +/* 800C1558 000BE4B8 38 81 00 38 */ addi r4, r1, 0x38 +/* 800C155C 000BE4BC 7F 63 DB 78 */ mr r3, r27 +/* 800C1560 000BE4C0 48 27 F9 49 */ bl __ct__6CTokenFRC6CToken +/* 800C1564 000BE4C4 38 00 00 00 */ li r0, 0 +/* 800C1568 000BE4C8 38 61 00 38 */ addi r3, r1, 0x38 +/* 800C156C 000BE4CC 90 1B 00 08 */ stw r0, 8(r27) +/* 800C1570 000BE4D0 38 80 FF FF */ li r4, -1 +/* 800C1574 000BE4D4 48 27 F8 CD */ bl __dt__6CTokenFv +/* 800C1578 000BE4D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C157C 000BE4DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C1580 000BE4E0 38 BF 00 B8 */ addi r5, r31, 0xb8 +/* 800C1584 000BE4E4 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1588 000BE4E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C158C 000BE4EC 7D 89 03 A6 */ mtctr r12 +/* 800C1590 000BE4F0 4E 80 04 21 */ bctrl +/* 800C1594 000BE4F4 3B 7D 00 7C */ addi r27, r29, 0x7c +/* 800C1598 000BE4F8 38 81 00 30 */ addi r4, r1, 0x30 +/* 800C159C 000BE4FC 7F 63 DB 78 */ mr r3, r27 +/* 800C15A0 000BE500 48 27 F9 09 */ bl __ct__6CTokenFRC6CToken +/* 800C15A4 000BE504 38 00 00 00 */ li r0, 0 +/* 800C15A8 000BE508 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C15AC 000BE50C 90 1B 00 08 */ stw r0, 8(r27) +/* 800C15B0 000BE510 38 80 FF FF */ li r4, -1 +/* 800C15B4 000BE514 48 27 F8 8D */ bl __dt__6CTokenFv +/* 800C15B8 000BE518 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C15BC 000BE51C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C15C0 000BE520 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 800C15C4 000BE524 81 84 00 00 */ lwz r12, 0(r4) +/* 800C15C8 000BE528 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C15CC 000BE52C 7D 89 03 A6 */ mtctr r12 +/* 800C15D0 000BE530 4E 80 04 21 */ bctrl +/* 800C15D4 000BE534 3B 7D 00 88 */ addi r27, r29, 0x88 +/* 800C15D8 000BE538 38 81 00 28 */ addi r4, r1, 0x28 +/* 800C15DC 000BE53C 7F 63 DB 78 */ mr r3, r27 +/* 800C15E0 000BE540 48 27 F8 C9 */ bl __ct__6CTokenFRC6CToken +/* 800C15E4 000BE544 38 00 00 00 */ li r0, 0 +/* 800C15E8 000BE548 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C15EC 000BE54C 90 1B 00 08 */ stw r0, 8(r27) +/* 800C15F0 000BE550 38 80 FF FF */ li r4, -1 +/* 800C15F4 000BE554 48 27 F8 4D */ bl __dt__6CTokenFv +/* 800C15F8 000BE558 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C15FC 000BE55C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C1600 000BE560 38 BF 00 DC */ addi r5, r31, 0xdc +/* 800C1604 000BE564 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1608 000BE568 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C160C 000BE56C 7D 89 03 A6 */ mtctr r12 +/* 800C1610 000BE570 4E 80 04 21 */ bctrl +/* 800C1614 000BE574 3B 7D 00 94 */ addi r27, r29, 0x94 +/* 800C1618 000BE578 38 81 00 20 */ addi r4, r1, 0x20 +/* 800C161C 000BE57C 7F 63 DB 78 */ mr r3, r27 +/* 800C1620 000BE580 48 27 F8 89 */ bl __ct__6CTokenFRC6CToken +/* 800C1624 000BE584 38 00 00 00 */ li r0, 0 +/* 800C1628 000BE588 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C162C 000BE58C 90 1B 00 08 */ stw r0, 8(r27) +/* 800C1630 000BE590 38 80 FF FF */ li r4, -1 +/* 800C1634 000BE594 48 27 F8 0D */ bl __dt__6CTokenFv +/* 800C1638 000BE598 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C163C 000BE59C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C1640 000BE5A0 38 BF 00 7C */ addi r5, r31, 0x7c +/* 800C1644 000BE5A4 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1648 000BE5A8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C164C 000BE5AC 7D 89 03 A6 */ mtctr r12 +/* 800C1650 000BE5B0 4E 80 04 21 */ bctrl +/* 800C1654 000BE5B4 3B 7D 00 A0 */ addi r27, r29, 0xa0 +/* 800C1658 000BE5B8 38 81 00 18 */ addi r4, r1, 0x18 +/* 800C165C 000BE5BC 7F 63 DB 78 */ mr r3, r27 +/* 800C1660 000BE5C0 48 27 F8 49 */ bl __ct__6CTokenFRC6CToken +/* 800C1664 000BE5C4 38 00 00 00 */ li r0, 0 +/* 800C1668 000BE5C8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C166C 000BE5CC 90 1B 00 08 */ stw r0, 8(r27) +/* 800C1670 000BE5D0 38 80 FF FF */ li r4, -1 +/* 800C1674 000BE5D4 48 27 F7 CD */ bl __dt__6CTokenFv +/* 800C1678 000BE5D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C167C 000BE5DC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C1680 000BE5E0 38 BF 00 EC */ addi r5, r31, 0xec +/* 800C1684 000BE5E4 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1688 000BE5E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C168C 000BE5EC 7D 89 03 A6 */ mtctr r12 +/* 800C1690 000BE5F0 4E 80 04 21 */ bctrl +/* 800C1694 000BE5F4 3B 7D 00 AC */ addi r27, r29, 0xac +/* 800C1698 000BE5F8 38 81 00 10 */ addi r4, r1, 0x10 +/* 800C169C 000BE5FC 7F 63 DB 78 */ mr r3, r27 +/* 800C16A0 000BE600 48 27 F8 09 */ bl __ct__6CTokenFRC6CToken +/* 800C16A4 000BE604 38 00 00 00 */ li r0, 0 +/* 800C16A8 000BE608 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C16AC 000BE60C 90 1B 00 08 */ stw r0, 8(r27) +/* 800C16B0 000BE610 38 80 FF FF */ li r4, -1 +/* 800C16B4 000BE614 48 27 F7 8D */ bl __dt__6CTokenFv +/* 800C16B8 000BE618 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C16BC 000BE61C 38 61 00 08 */ addi r3, r1, 8 +/* 800C16C0 000BE620 38 BF 01 00 */ addi r5, r31, 0x100 +/* 800C16C4 000BE624 81 84 00 00 */ lwz r12, 0(r4) +/* 800C16C8 000BE628 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C16CC 000BE62C 7D 89 03 A6 */ mtctr r12 +/* 800C16D0 000BE630 4E 80 04 21 */ bctrl +/* 800C16D4 000BE634 3B 7D 00 B8 */ addi r27, r29, 0xb8 +/* 800C16D8 000BE638 38 81 00 08 */ addi r4, r1, 8 +/* 800C16DC 000BE63C 7F 63 DB 78 */ mr r3, r27 +/* 800C16E0 000BE640 48 27 F7 C9 */ bl __ct__6CTokenFRC6CToken +/* 800C16E4 000BE644 38 00 00 00 */ li r0, 0 +/* 800C16E8 000BE648 38 61 00 08 */ addi r3, r1, 8 +/* 800C16EC 000BE64C 90 1B 00 08 */ stw r0, 8(r27) +/* 800C16F0 000BE650 38 80 FF FF */ li r4, -1 +/* 800C16F4 000BE654 48 27 F7 4D */ bl __dt__6CTokenFv +/* 800C16F8 000BE658 38 7D 00 C4 */ addi r3, r29, 0xc4 +/* 800C16FC 000BE65C 38 9F 00 68 */ addi r4, r31, 0x68 +/* 800C1700 000BE660 48 00 03 69 */ bl __ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc +/* 800C1704 000BE664 38 00 00 00 */ li r0, 0 +/* 800C1708 000BE668 7F A4 EB 78 */ mr r4, r29 +/* 800C170C 000BE66C 90 1D 00 E4 */ stw r0, 0xe4(r29) +/* 800C1710 000BE670 7F C5 F3 78 */ mr r5, r30 +/* 800C1714 000BE674 38 61 00 74 */ addi r3, r1, 0x74 +/* 800C1718 000BE678 38 C0 00 00 */ li r6, 0 +/* 800C171C 000BE67C 90 1D 00 E8 */ stw r0, 0xe8(r29) +/* 800C1720 000BE680 90 1D 00 EC */ stw r0, 0xec(r29) +/* 800C1724 000BE684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C1728 000BE688 B0 1D 00 F0 */ sth r0, 0xf0(r29) +/* 800C172C 000BE68C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C1730 000BE690 B0 1D 00 F2 */ sth r0, 0xf2(r29) +/* 800C1734 000BE694 4B FF BA 55 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb +/* 800C1738 000BE698 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 800C173C 000BE69C 7F A4 EB 78 */ mr r4, r29 +/* 800C1740 000BE6A0 7F C5 F3 78 */ mr r5, r30 +/* 800C1744 000BE6A4 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C1748 000BE6A8 D0 1D 00 F4 */ stfs f0, 0xf4(r29) +/* 800C174C 000BE6AC 38 C0 00 01 */ li r6, 1 +/* 800C1750 000BE6B0 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 800C1754 000BE6B4 D0 1D 00 F8 */ stfs f0, 0xf8(r29) +/* 800C1758 000BE6B8 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 800C175C 000BE6BC D0 1D 00 FC */ stfs f0, 0xfc(r29) +/* 800C1760 000BE6C0 4B FF BA 29 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb +/* 800C1764 000BE6C4 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800C1768 000BE6C8 3C 60 80 47 */ lis r3, lbl_8046C450@ha +/* 800C176C 000BE6CC 38 C3 C4 50 */ addi r6, r3, lbl_8046C450@l +/* 800C1770 000BE6D0 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) +/* 800C1774 000BE6D4 D0 1D 01 00 */ stfs f0, 0x100(r29) +/* 800C1778 000BE6D8 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 800C177C 000BE6DC D0 1D 01 04 */ stfs f0, 0x104(r29) +/* 800C1780 000BE6E0 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800C1784 000BE6E4 D0 1D 01 08 */ stfs f0, 0x108(r29) +/* 800C1788 000BE6E8 A0 06 00 00 */ lhz r0, 0(r6) +/* 800C178C 000BE6EC B0 1D 01 0C */ sth r0, 0x10c(r29) +/* 800C1790 000BE6F0 C0 06 00 04 */ lfs f0, 4(r6) +/* 800C1794 000BE6F4 D0 1D 01 10 */ stfs f0, 0x110(r29) +/* 800C1798 000BE6F8 C0 06 00 08 */ lfs f0, 8(r6) +/* 800C179C 000BE6FC D0 1D 01 14 */ stfs f0, 0x114(r29) +/* 800C17A0 000BE700 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 800C17A4 000BE704 D0 1D 01 18 */ stfs f0, 0x118(r29) +/* 800C17A8 000BE708 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 800C17AC 000BE70C D0 1D 01 1C */ stfs f0, 0x11c(r29) +/* 800C17B0 000BE710 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 800C17B4 000BE714 D0 1D 01 20 */ stfs f0, 0x120(r29) +/* 800C17B8 000BE718 C0 06 00 18 */ lfs f0, 0x18(r6) +/* 800C17BC 000BE71C D0 1D 01 24 */ stfs f0, 0x124(r29) +/* 800C17C0 000BE720 88 06 00 1C */ lbz r0, 0x1c(r6) +/* 800C17C4 000BE724 98 1D 01 28 */ stb r0, 0x128(r29) +/* 800C17C8 000BE728 A0 06 00 00 */ lhz r0, 0(r6) +/* 800C17CC 000BE72C B0 1D 01 2C */ sth r0, 0x12c(r29) +/* 800C17D0 000BE730 C0 06 00 04 */ lfs f0, 4(r6) +/* 800C17D4 000BE734 D0 1D 01 30 */ stfs f0, 0x130(r29) +/* 800C17D8 000BE738 C0 06 00 08 */ lfs f0, 8(r6) +/* 800C17DC 000BE73C D0 1D 01 34 */ stfs f0, 0x134(r29) +/* 800C17E0 000BE740 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 800C17E4 000BE744 D0 1D 01 38 */ stfs f0, 0x138(r29) +/* 800C17E8 000BE748 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 800C17EC 000BE74C D0 1D 01 3C */ stfs f0, 0x13c(r29) +/* 800C17F0 000BE750 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 800C17F4 000BE754 D0 1D 01 40 */ stfs f0, 0x140(r29) +/* 800C17F8 000BE758 C0 06 00 18 */ lfs f0, 0x18(r6) +/* 800C17FC 000BE75C D0 1D 01 44 */ stfs f0, 0x144(r29) +/* 800C1800 000BE760 88 06 00 1C */ lbz r0, 0x1c(r6) +/* 800C1804 000BE764 98 1D 01 48 */ stb r0, 0x148(r29) +/* 800C1808 000BE768 A0 06 00 00 */ lhz r0, 0(r6) +/* 800C180C 000BE76C B0 1D 01 4C */ sth r0, 0x14c(r29) +/* 800C1810 000BE770 C0 06 00 04 */ lfs f0, 4(r6) +/* 800C1814 000BE774 D0 1D 01 50 */ stfs f0, 0x150(r29) +/* 800C1818 000BE778 C0 06 00 08 */ lfs f0, 8(r6) +/* 800C181C 000BE77C D0 1D 01 54 */ stfs f0, 0x154(r29) +/* 800C1820 000BE780 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 800C1824 000BE784 D0 1D 01 58 */ stfs f0, 0x158(r29) +/* 800C1828 000BE788 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 800C182C 000BE78C D0 1D 01 5C */ stfs f0, 0x15c(r29) +/* 800C1830 000BE790 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 800C1834 000BE794 D0 1D 01 60 */ stfs f0, 0x160(r29) +/* 800C1838 000BE798 C0 06 00 18 */ lfs f0, 0x18(r6) +/* 800C183C 000BE79C D0 1D 01 64 */ stfs f0, 0x164(r29) +/* 800C1840 000BE7A0 88 06 00 1C */ lbz r0, 0x1c(r6) +/* 800C1844 000BE7A4 98 1D 01 68 */ stb r0, 0x168(r29) +/* 800C1848 000BE7A8 D0 3D 01 6C */ stfs f1, 0x16c(r29) +/* 800C184C 000BE7AC D0 3D 01 70 */ stfs f1, 0x170(r29) +/* 800C1850 000BE7B0 A0 06 00 00 */ lhz r0, 0(r6) +/* 800C1854 000BE7B4 B0 1D 01 74 */ sth r0, 0x174(r29) +/* 800C1858 000BE7B8 C0 06 00 04 */ lfs f0, 4(r6) +/* 800C185C 000BE7BC D0 1D 01 78 */ stfs f0, 0x178(r29) +/* 800C1860 000BE7C0 C0 06 00 08 */ lfs f0, 8(r6) +/* 800C1864 000BE7C4 D0 1D 01 7C */ stfs f0, 0x17c(r29) +/* 800C1868 000BE7C8 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 800C186C 000BE7CC D0 1D 01 80 */ stfs f0, 0x180(r29) +/* 800C1870 000BE7D0 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 800C1874 000BE7D4 D0 1D 01 84 */ stfs f0, 0x184(r29) +/* 800C1878 000BE7D8 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 800C187C 000BE7DC D0 1D 01 88 */ stfs f0, 0x188(r29) +/* 800C1880 000BE7E0 C0 06 00 18 */ lfs f0, 0x18(r6) +/* 800C1884 000BE7E4 D0 1D 01 8C */ stfs f0, 0x18c(r29) +/* 800C1888 000BE7E8 88 A6 00 1C */ lbz r5, 0x1c(r6) +/* 800C188C 000BE7EC 38 00 00 00 */ li r0, 0 +/* 800C1890 000BE7F0 38 7D 00 E0 */ addi r3, r29, 0xe0 +/* 800C1894 000BE7F4 38 80 00 09 */ li r4, 9 +/* 800C1898 000BE7F8 98 BD 01 90 */ stb r5, 0x190(r29) +/* 800C189C 000BE7FC A0 A6 00 00 */ lhz r5, 0(r6) +/* 800C18A0 000BE800 B0 BD 01 94 */ sth r5, 0x194(r29) +/* 800C18A4 000BE804 C0 06 00 04 */ lfs f0, 4(r6) +/* 800C18A8 000BE808 D0 1D 01 98 */ stfs f0, 0x198(r29) +/* 800C18AC 000BE80C C0 06 00 08 */ lfs f0, 8(r6) +/* 800C18B0 000BE810 D0 1D 01 9C */ stfs f0, 0x19c(r29) +/* 800C18B4 000BE814 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 800C18B8 000BE818 D0 1D 01 A0 */ stfs f0, 0x1a0(r29) +/* 800C18BC 000BE81C C0 06 00 10 */ lfs f0, 0x10(r6) +/* 800C18C0 000BE820 D0 1D 01 A4 */ stfs f0, 0x1a4(r29) +/* 800C18C4 000BE824 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 800C18C8 000BE828 D0 1D 01 A8 */ stfs f0, 0x1a8(r29) +/* 800C18CC 000BE82C C0 06 00 18 */ lfs f0, 0x18(r6) +/* 800C18D0 000BE830 D0 1D 01 AC */ stfs f0, 0x1ac(r29) +/* 800C18D4 000BE834 88 A6 00 1C */ lbz r5, 0x1c(r6) +/* 800C18D8 000BE838 98 BD 01 B0 */ stb r5, 0x1b0(r29) +/* 800C18DC 000BE83C A0 A6 00 00 */ lhz r5, 0(r6) +/* 800C18E0 000BE840 B0 BD 01 B4 */ sth r5, 0x1b4(r29) +/* 800C18E4 000BE844 C0 06 00 04 */ lfs f0, 4(r6) +/* 800C18E8 000BE848 D0 1D 01 B8 */ stfs f0, 0x1b8(r29) +/* 800C18EC 000BE84C C0 06 00 08 */ lfs f0, 8(r6) +/* 800C18F0 000BE850 D0 1D 01 BC */ stfs f0, 0x1bc(r29) +/* 800C18F4 000BE854 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 800C18F8 000BE858 D0 1D 01 C0 */ stfs f0, 0x1c0(r29) +/* 800C18FC 000BE85C C0 06 00 10 */ lfs f0, 0x10(r6) +/* 800C1900 000BE860 D0 1D 01 C4 */ stfs f0, 0x1c4(r29) +/* 800C1904 000BE864 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 800C1908 000BE868 D0 1D 01 C8 */ stfs f0, 0x1c8(r29) +/* 800C190C 000BE86C C0 06 00 18 */ lfs f0, 0x18(r6) +/* 800C1910 000BE870 D0 1D 01 CC */ stfs f0, 0x1cc(r29) +/* 800C1914 000BE874 88 A6 00 1C */ lbz r5, 0x1c(r6) +/* 800C1918 000BE878 98 BD 01 D0 */ stb r5, 0x1d0(r29) +/* 800C191C 000BE87C D0 3D 01 D4 */ stfs f1, 0x1d4(r29) +/* 800C1920 000BE880 D0 3D 01 D8 */ stfs f1, 0x1d8(r29) +/* 800C1924 000BE884 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 800C1928 000BE888 B0 BD 01 DC */ sth r5, 0x1dc(r29) +/* 800C192C 000BE88C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 800C1930 000BE890 B0 BD 01 DE */ sth r5, 0x1de(r29) +/* 800C1934 000BE894 D0 3D 01 E0 */ stfs f1, 0x1e0(r29) +/* 800C1938 000BE898 D0 3D 01 E4 */ stfs f1, 0x1e4(r29) +/* 800C193C 000BE89C D0 3D 01 E8 */ stfs f1, 0x1e8(r29) +/* 800C1940 000BE8A0 D0 3D 01 EC */ stfs f1, 0x1ec(r29) +/* 800C1944 000BE8A4 D0 3D 01 F0 */ stfs f1, 0x1f0(r29) +/* 800C1948 000BE8A8 98 1D 01 F4 */ stb r0, 0x1f4(r29) +/* 800C194C 000BE8AC D0 3D 01 F8 */ stfs f1, 0x1f8(r29) +/* 800C1950 000BE8B0 D0 3D 01 FC */ stfs f1, 0x1fc(r29) +/* 800C1954 000BE8B4 90 1D 02 00 */ stw r0, 0x200(r29) +/* 800C1958 000BE8B8 D0 3D 02 04 */ stfs f1, 0x204(r29) +/* 800C195C 000BE8BC 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) +/* 800C1960 000BE8C0 C0 05 00 D0 */ lfs f0, 0xd0(r5) +/* 800C1964 000BE8C4 D0 1D 02 08 */ stfs f0, 0x208(r29) +/* 800C1968 000BE8C8 D0 3D 02 0C */ stfs f1, 0x20c(r29) +/* 800C196C 000BE8CC D0 3D 02 10 */ stfs f1, 0x210(r29) +/* 800C1970 000BE8D0 D0 3D 02 14 */ stfs f1, 0x214(r29) +/* 800C1974 000BE8D4 98 1D 02 18 */ stb r0, 0x218(r29) +/* 800C1978 000BE8D8 98 1D 02 19 */ stb r0, 0x219(r29) +/* 800C197C 000BE8DC 98 1D 02 1A */ stb r0, 0x21a(r29) +/* 800C1980 000BE8E0 48 00 02 15 */ bl "reserve__Q24rstl77vectorFi" +/* 800C1984 000BE8E4 3C 60 80 3D */ lis r3, lbl_803CE008@ha +/* 800C1988 000BE8E8 3B 60 00 00 */ li r27, 0 +/* 800C198C 000BE8EC 3B C3 E0 08 */ addi r30, r3, lbl_803CE008@l +lbl_800C1990: +/* 800C1990 000BE8F0 7F C4 F3 78 */ mr r4, r30 +/* 800C1994 000BE8F4 7F 66 DB 78 */ mr r6, r27 +/* 800C1998 000BE8F8 38 61 00 BC */ addi r3, r1, 0xbc +/* 800C199C 000BE8FC 38 BF 00 94 */ addi r5, r31, 0x94 +/* 800C19A0 000BE900 4C C6 31 82 */ crclr 6 +/* 800C19A4 000BE904 48 2C C3 39 */ bl sprintf +/* 800C19A8 000BE908 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800C19AC 000BE90C 38 81 00 BC */ addi r4, r1, 0xbc +/* 800C19B0 000BE910 48 00 00 B9 */ bl __ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc +/* 800C19B4 000BE914 80 1D 00 E4 */ lwz r0, 0xe4(r29) +/* 800C19B8 000BE918 80 BD 00 E8 */ lwz r5, 0xe8(r29) +/* 800C19BC 000BE91C 7C 00 28 00 */ cmpw r0, r5 +/* 800C19C0 000BE920 41 80 00 1C */ blt lbl_800C19DC +/* 800C19C4 000BE924 2C 05 00 00 */ cmpwi r5, 0 +/* 800C19C8 000BE928 38 7D 00 E0 */ addi r3, r29, 0xe0 +/* 800C19CC 000BE92C 38 80 00 04 */ li r4, 4 +/* 800C19D0 000BE930 41 82 00 08 */ beq lbl_800C19D8 +/* 800C19D4 000BE934 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800C19D8: +/* 800C19D8 000BE938 48 00 01 BD */ bl "reserve__Q24rstl77vectorFi" +lbl_800C19DC: +/* 800C19DC 000BE93C 80 1D 00 E4 */ lwz r0, 0xe4(r29) +/* 800C19E0 000BE940 80 7D 00 EC */ lwz r3, 0xec(r29) +/* 800C19E4 000BE944 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 800C19E8 000BE948 7F 83 02 15 */ add. r28, r3, r0 +/* 800C19EC 000BE94C 41 82 00 38 */ beq lbl_800C1A24 +/* 800C19F0 000BE950 7F 83 E3 78 */ mr r3, r28 +/* 800C19F4 000BE954 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800C19F8 000BE958 48 27 F4 B1 */ bl __ct__6CTokenFRC6CToken +/* 800C19FC 000BE95C 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 800C1A00 000BE960 90 1C 00 08 */ stw r0, 8(r28) +/* 800C1A04 000BE964 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 800C1A08 000BE968 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 800C1A0C 000BE96C C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 800C1A10 000BE970 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 800C1A14 000BE974 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 800C1A18 000BE978 D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 800C1A1C 000BE97C C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 800C1A20 000BE980 D0 1C 00 18 */ stfs f0, 0x18(r28) +lbl_800C1A24: +/* 800C1A24 000BE984 80 BD 00 E4 */ lwz r5, 0xe4(r29) +/* 800C1A28 000BE988 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800C1A2C 000BE98C 38 80 00 00 */ li r4, 0 +/* 800C1A30 000BE990 38 05 00 01 */ addi r0, r5, 1 +/* 800C1A34 000BE994 90 1D 00 E4 */ stw r0, 0xe4(r29) +/* 800C1A38 000BE998 48 27 F4 09 */ bl __dt__6CTokenFv +/* 800C1A3C 000BE99C 3B 7B 00 01 */ addi r27, r27, 1 +/* 800C1A40 000BE9A0 2C 1B 00 09 */ cmpwi r27, 9 +/* 800C1A44 000BE9A4 41 80 FF 4C */ blt lbl_800C1990 +/* 800C1A48 000BE9A8 38 7D 00 34 */ addi r3, r29, 0x34 +/* 800C1A4C 000BE9AC 48 27 F3 39 */ bl Lock__6CTokenFv +/* 800C1A50 000BE9B0 7F A3 EB 78 */ mr r3, r29 +/* 800C1A54 000BE9B4 BB 61 01 0C */ lmw r27, 0x10c(r1) +/* 800C1A58 000BE9B8 80 01 01 24 */ lwz r0, 0x124(r1) +/* 800C1A5C 000BE9BC 7C 08 03 A6 */ mtlr r0 +/* 800C1A60 000BE9C0 38 21 01 20 */ addi r1, r1, 0x120 +/* 800C1A64 000BE9C4 4E 80 00 20 */ blr + +.global __ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc +__ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc: +/* 800C1A68 000BE9C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C1A6C 000BE9CC 7C 08 02 A6 */ mflr r0 +/* 800C1A70 000BE9D0 7C 85 23 78 */ mr r5, r4 +/* 800C1A74 000BE9D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C1A78 000BE9D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C1A7C 000BE9DC 7C 7F 1B 78 */ mr r31, r3 +/* 800C1A80 000BE9E0 38 61 00 08 */ addi r3, r1, 8 +/* 800C1A84 000BE9E4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C1A88 000BE9E8 81 84 00 00 */ lwz r12, 0(r4) +/* 800C1A8C 000BE9EC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800C1A90 000BE9F0 7D 89 03 A6 */ mtctr r12 +/* 800C1A94 000BE9F4 4E 80 04 21 */ bctrl +/* 800C1A98 000BE9F8 7F E3 FB 78 */ mr r3, r31 +/* 800C1A9C 000BE9FC 38 81 00 08 */ addi r4, r1, 8 +/* 800C1AA0 000BEA00 48 27 F4 09 */ bl __ct__6CTokenFRC6CToken +/* 800C1AA4 000BEA04 38 00 00 00 */ li r0, 0 +/* 800C1AA8 000BEA08 38 61 00 08 */ addi r3, r1, 8 +/* 800C1AAC 000BEA0C 90 1F 00 08 */ stw r0, 8(r31) +/* 800C1AB0 000BEA10 38 80 FF FF */ li r4, -1 +/* 800C1AB4 000BEA14 48 27 F3 8D */ bl __dt__6CTokenFv +/* 800C1AB8 000BEA18 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) +/* 800C1ABC 000BEA1C 7F E3 FB 78 */ mr r3, r31 +/* 800C1AC0 000BEA20 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 800C1AC4 000BEA24 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800C1AC8 000BEA28 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 800C1ACC 000BEA2C D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 800C1AD0 000BEA30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800C1AD4 000BEA34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C1AD8 000BEA38 7C 08 03 A6 */ mtlr r0 +/* 800C1ADC 000BEA3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C1AE0 000BEA40 4E 80 00 20 */ blr + +.global calculate_premultiplied_overshoot_offset__Ff +calculate_premultiplied_overshoot_offset__Ff: +/* 800C1AE4 000BEA44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C1AE8 000BEA48 7C 08 02 A6 */ mflr r0 +/* 800C1AEC 000BEA4C C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) +/* 800C1AF0 000BEA50 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C1AF4 000BEA54 EC 20 08 24 */ fdivs f1, f0, f1 +/* 800C1AF8 000BEA58 48 2D 31 55 */ bl asin +/* 800C1AFC 000BEA5C FC 40 08 18 */ frsp f2, f1 +/* 800C1B00 000BEA60 C0 02 8D C4 */ lfs f0, lbl_805AAAE4@sda21(r2) +/* 800C1B04 000BEA64 C0 22 8D A8 */ lfs f1, lbl_805AAAC8@sda21(r2) +/* 800C1B08 000BEA68 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800C1B0C 000BEA6C EC 21 00 32 */ fmuls f1, f1, f0 +/* 800C1B10 000BEA70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C1B14 000BEA74 7C 08 03 A6 */ mtlr r0 +/* 800C1B18 000BEA78 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C1B1C 000BEA7C 4E 80 00 20 */ blr + +.global offshoot_func__Ffff +offshoot_func__Ffff: +/* 800C1B20 000BEA80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C1B24 000BEA84 7C 08 02 A6 */ mflr r0 +/* 800C1B28 000BEA88 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C1B2C 000BEA8C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 800C1B30 000BEA90 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 800C1B34 000BEA94 C0 02 8D 64 */ lfs f0, lbl_805AAA84@sda21(r2) +/* 800C1B38 000BEA98 FF E0 08 90 */ fmr f31, f1 +/* 800C1B3C 000BEA9C EC 03 00 28 */ fsubs f0, f3, f0 +/* 800C1B40 000BEAA0 EC 20 00 B2 */ fmuls f1, f0, f2 +/* 800C1B44 000BEAA4 48 25 32 AD */ bl FastSinR__5CMathFf +/* 800C1B48 000BEAA8 C0 02 8D 64 */ lfs f0, lbl_805AAA84@sda21(r2) +/* 800C1B4C 000BEAAC EC 3F 00 7A */ fmadds f1, f31, f1, f0 +/* 800C1B50 000BEAB0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 800C1B54 000BEAB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C1B58 000BEAB8 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 800C1B5C 000BEABC 7C 08 03 A6 */ mtlr r0 +/* 800C1B60 000BEAC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C1B64 000BEAC4 4E 80 00 20 */ blr + +.global IsDamageOrbit__F19EPlayerOrbitRequest +IsDamageOrbit__F19EPlayerOrbitRequest: +/* 800C1B68 000BEAC8 2C 03 00 08 */ cmpwi r3, 8 +/* 800C1B6C 000BEACC 40 80 00 10 */ bge lbl_800C1B7C +/* 800C1B70 000BEAD0 2C 03 00 05 */ cmpwi r3, 5 +/* 800C1B74 000BEAD4 41 82 00 10 */ beq lbl_800C1B84 +/* 800C1B78 000BEAD8 48 00 00 14 */ b lbl_800C1B8C +lbl_800C1B7C: +/* 800C1B7C 000BEADC 2C 03 00 0C */ cmpwi r3, 0xc +/* 800C1B80 000BEAE0 40 80 00 0C */ bge lbl_800C1B8C +lbl_800C1B84: +/* 800C1B84 000BEAE4 38 60 00 01 */ li r3, 1 +/* 800C1B88 000BEAE8 4E 80 00 20 */ blr +lbl_800C1B8C: +/* 800C1B8C 000BEAEC 38 60 00 00 */ li r3, 0 +/* 800C1B90 000BEAF0 4E 80 00 20 */ blr + +.global "reserve__Q24rstl77vectorFi" +"reserve__Q24rstl77vectorFi": +/* 800C1B94 000BEAF4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800C1B98 000BEAF8 7C 08 02 A6 */ mflr r0 +/* 800C1B9C 000BEAFC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800C1BA0 000BEB00 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 800C1BA4 000BEB04 7C 9F 23 78 */ mr r31, r4 +/* 800C1BA8 000BEB08 7C 7E 1B 78 */ mr r30, r3 +/* 800C1BAC 000BEB0C 80 03 00 08 */ lwz r0, 8(r3) +/* 800C1BB0 000BEB10 7C 1F 00 00 */ cmpw r31, r0 +/* 800C1BB4 000BEB14 40 81 00 F8 */ ble lbl_800C1CAC +/* 800C1BB8 000BEB18 1C 7F 00 1C */ mulli r3, r31, 0x1c +/* 800C1BBC 000BEB1C 2C 03 00 00 */ cmpwi r3, 0 +/* 800C1BC0 000BEB20 40 82 00 0C */ bne lbl_800C1BCC +/* 800C1BC4 000BEB24 3B 80 00 00 */ li r28, 0 +/* 800C1BC8 000BEB28 48 00 00 1C */ b lbl_800C1BE4 +lbl_800C1BCC: +/* 800C1BCC 000BEB2C 3C 80 80 3D */ lis r4, lbl_803CE008@ha +/* 800C1BD0 000BEB30 38 A0 00 00 */ li r5, 0 +/* 800C1BD4 000BEB34 38 84 E0 08 */ addi r4, r4, lbl_803CE008@l +/* 800C1BD8 000BEB38 38 84 00 05 */ addi r4, r4, 5 +/* 800C1BDC 000BEB3C 48 25 3C 3D */ bl __nwa__FUlPCcPCc +/* 800C1BE0 000BEB40 7C 7C 1B 78 */ mr r28, r3 +lbl_800C1BE4: +/* 800C1BE4 000BEB44 80 1E 00 04 */ lwz r0, 4(r30) +/* 800C1BE8 000BEB48 7F 9B E3 78 */ mr r27, r28 +/* 800C1BEC 000BEB4C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 800C1BF0 000BEB50 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 800C1BF4 000BEB54 93 41 00 10 */ stw r26, 0x10(r1) +/* 800C1BF8 000BEB58 7F BA 02 14 */ add r29, r26, r0 +/* 800C1BFC 000BEB5C 93 41 00 14 */ stw r26, 0x14(r1) +/* 800C1C00 000BEB60 93 A1 00 08 */ stw r29, 8(r1) +/* 800C1C04 000BEB64 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800C1C08 000BEB68 48 00 00 48 */ b lbl_800C1C50 +lbl_800C1C0C: +/* 800C1C0C 000BEB6C 28 1B 00 00 */ cmplwi r27, 0 +/* 800C1C10 000BEB70 41 82 00 38 */ beq lbl_800C1C48 +/* 800C1C14 000BEB74 7F 63 DB 78 */ mr r3, r27 +/* 800C1C18 000BEB78 7F 44 D3 78 */ mr r4, r26 +/* 800C1C1C 000BEB7C 48 27 F2 8D */ bl __ct__6CTokenFRC6CToken +/* 800C1C20 000BEB80 80 1A 00 08 */ lwz r0, 8(r26) +/* 800C1C24 000BEB84 90 1B 00 08 */ stw r0, 8(r27) +/* 800C1C28 000BEB88 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 800C1C2C 000BEB8C D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 800C1C30 000BEB90 C0 1A 00 10 */ lfs f0, 0x10(r26) +/* 800C1C34 000BEB94 D0 1B 00 10 */ stfs f0, 0x10(r27) +/* 800C1C38 000BEB98 C0 1A 00 14 */ lfs f0, 0x14(r26) +/* 800C1C3C 000BEB9C D0 1B 00 14 */ stfs f0, 0x14(r27) +/* 800C1C40 000BEBA0 C0 1A 00 18 */ lfs f0, 0x18(r26) +/* 800C1C44 000BEBA4 D0 1B 00 18 */ stfs f0, 0x18(r27) +lbl_800C1C48: +/* 800C1C48 000BEBA8 3B 7B 00 1C */ addi r27, r27, 0x1c +/* 800C1C4C 000BEBAC 3B 5A 00 1C */ addi r26, r26, 0x1c +lbl_800C1C50: +/* 800C1C50 000BEBB0 7C 1A E8 40 */ cmplw r26, r29 +/* 800C1C54 000BEBB4 40 82 FF B8 */ bne lbl_800C1C0C +/* 800C1C58 000BEBB8 80 1E 00 04 */ lwz r0, 4(r30) +/* 800C1C5C 000BEBBC 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 800C1C60 000BEBC0 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 800C1C64 000BEBC4 7F 7A 02 14 */ add r27, r26, r0 +/* 800C1C68 000BEBC8 48 00 00 24 */ b lbl_800C1C8C +lbl_800C1C6C: +/* 800C1C6C 000BEBCC 28 1A 00 00 */ cmplwi r26, 0 +/* 800C1C70 000BEBD0 41 82 00 18 */ beq lbl_800C1C88 +/* 800C1C74 000BEBD4 41 82 00 14 */ beq lbl_800C1C88 +/* 800C1C78 000BEBD8 41 82 00 10 */ beq lbl_800C1C88 +/* 800C1C7C 000BEBDC 7F 43 D3 78 */ mr r3, r26 +/* 800C1C80 000BEBE0 38 80 00 00 */ li r4, 0 +/* 800C1C84 000BEBE4 48 27 F1 BD */ bl __dt__6CTokenFv +lbl_800C1C88: +/* 800C1C88 000BEBE8 3B 5A 00 1C */ addi r26, r26, 0x1c +lbl_800C1C8C: +/* 800C1C8C 000BEBEC 7C 1A D8 40 */ cmplw r26, r27 +/* 800C1C90 000BEBF0 40 82 FF DC */ bne lbl_800C1C6C +/* 800C1C94 000BEBF4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800C1C98 000BEBF8 28 03 00 00 */ cmplwi r3, 0 +/* 800C1C9C 000BEBFC 41 82 00 08 */ beq lbl_800C1CA4 +/* 800C1CA0 000BEC00 48 25 3C 91 */ bl Free__7CMemoryFPCv +lbl_800C1CA4: +/* 800C1CA4 000BEC04 93 9E 00 0C */ stw r28, 0xc(r30) +/* 800C1CA8 000BEC08 93 FE 00 08 */ stw r31, 8(r30) +lbl_800C1CAC: +/* 800C1CAC 000BEC0C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800C1CB0 000BEC10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800C1CB4 000BEC14 7C 08 03 A6 */ mtlr r0 +/* 800C1CB8 000BEC18 38 21 00 30 */ addi r1, r1, 0x30 +/* 800C1CBC 000BEC1C 4E 80 00 20 */ blr + +.global __sinit_CTargetReticles_cpp +__sinit_CTargetReticles_cpp: +/* 800C1CC0 000BEC20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C1CC4 000BEC24 7C 08 02 A6 */ mflr r0 +/* 800C1CC8 000BEC28 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800C1CCC 000BEC2C C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) +/* 800C1CD0 000BEC30 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C1CD4 000BEC34 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 800C1CD8 000BEC38 3C 60 80 47 */ lis r3, lbl_8046C450@ha +/* 800C1CDC 000BEC3C FC 60 08 90 */ fmr f3, f1 +/* 800C1CE0 000BEC40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C1CE4 000BEC44 38 63 C4 50 */ addi r3, r3, lbl_8046C450@l +/* 800C1CE8 000BEC48 80 A6 00 00 */ lwz r5, 0(r6) +/* 800C1CEC 000BEC4C 80 86 00 04 */ lwz r4, 4(r6) +/* 800C1CF0 000BEC50 80 E6 00 08 */ lwz r7, 8(r6) +/* 800C1CF4 000BEC54 38 C0 00 01 */ li r6, 1 +/* 800C1CF8 000BEC58 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800C1CFC 000BEC5C 38 A1 00 0C */ addi r5, r1, 0xc +/* 800C1D00 000BEC60 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) +/* 800C1D04 000BEC64 90 81 00 10 */ stw r4, 0x10(r1) +/* 800C1D08 000BEC68 38 81 00 08 */ addi r4, r1, 8 +/* 800C1D0C 000BEC6C 90 E1 00 14 */ stw r7, 0x14(r1) +/* 800C1D10 000BEC70 B0 01 00 08 */ sth r0, 8(r1) +/* 800C1D14 000BEC74 4B FF B2 55 */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb +/* 800C1D18 000BEC78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C1D1C 000BEC7C 7C 08 03 A6 */ mtlr r0 +/* 800C1D20 000BEC80 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C1D24 000BEC84 4E 80 00 20 */ blr + +.global GetNumActive__10CWeaponMgrCF9TUniqueId11EWeaponType +GetNumActive__10CWeaponMgrCF9TUniqueId11EWeaponType: +/* 800C1D28 000BEC88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C1D2C 000BEC8C 38 E0 00 00 */ li r7, 0 +/* 800C1D30 000BEC90 A0 04 00 00 */ lhz r0, 0(r4) +/* 800C1D34 000BEC94 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 800C1D38 000BEC98 B0 01 00 08 */ sth r0, 8(r1) +/* 800C1D3C 000BEC9C 54 00 04 3E */ clrlwi r0, r0, 0x10 +/* 800C1D40 000BECA0 48 00 00 20 */ b lbl_800C1D60 +lbl_800C1D44: +/* 800C1D44 000BECA4 A0 86 00 10 */ lhz r4, 0x10(r6) +/* 800C1D48 000BECA8 7C 04 00 40 */ cmplw r4, r0 +/* 800C1D4C 000BECAC 41 80 00 10 */ blt lbl_800C1D5C +/* 800C1D50 000BECB0 7C C7 33 78 */ mr r7, r6 +/* 800C1D54 000BECB4 80 C6 00 00 */ lwz r6, 0(r6) +/* 800C1D58 000BECB8 48 00 00 08 */ b lbl_800C1D60 +lbl_800C1D5C: +/* 800C1D5C 000BECBC 80 C6 00 04 */ lwz r6, 4(r6) +lbl_800C1D60: +/* 800C1D60 000BECC0 28 06 00 00 */ cmplwi r6, 0 +/* 800C1D64 000BECC4 40 82 FF E0 */ bne lbl_800C1D44 +/* 800C1D68 000BECC8 28 07 00 00 */ cmplwi r7, 0 +/* 800C1D6C 000BECCC 38 C0 00 00 */ li r6, 0 +/* 800C1D70 000BECD0 41 82 00 14 */ beq lbl_800C1D84 +/* 800C1D74 000BECD4 A0 81 00 08 */ lhz r4, 8(r1) +/* 800C1D78 000BECD8 A0 07 00 10 */ lhz r0, 0x10(r7) +/* 800C1D7C 000BECDC 7C 04 00 40 */ cmplw r4, r0 +/* 800C1D80 000BECE0 40 80 00 08 */ bge lbl_800C1D88 +lbl_800C1D84: +/* 800C1D84 000BECE4 38 C0 00 01 */ li r6, 1 +lbl_800C1D88: +/* 800C1D88 000BECE8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 800C1D8C 000BECEC 41 82 00 08 */ beq lbl_800C1D94 +/* 800C1D90 000BECF0 38 E0 00 00 */ li r7, 0 +lbl_800C1D94: +/* 800C1D94 000BECF4 28 07 00 00 */ cmplwi r7, 0 +/* 800C1D98 000BECF8 38 63 00 08 */ addi r3, r3, 8 +/* 800C1D9C 000BECFC 38 00 00 00 */ li r0, 0 +/* 800C1DA0 000BED00 40 82 00 0C */ bne lbl_800C1DAC +/* 800C1DA4 000BED04 7C 03 18 40 */ cmplw r3, r3 +/* 800C1DA8 000BED08 41 82 00 08 */ beq lbl_800C1DB0 +lbl_800C1DAC: +/* 800C1DAC 000BED0C 38 00 00 01 */ li r0, 1 +lbl_800C1DB0: +/* 800C1DB0 000BED10 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800C1DB4 000BED14 41 82 00 0C */ beq lbl_800C1DC0 +/* 800C1DB8 000BED18 38 67 00 14 */ addi r3, r7, 0x14 +/* 800C1DBC 000BED1C 48 00 00 08 */ b lbl_800C1DC4 +lbl_800C1DC0: +/* 800C1DC0 000BED20 38 60 00 00 */ li r3, 0 +lbl_800C1DC4: +/* 800C1DC4 000BED24 28 03 00 00 */ cmplwi r3, 0 +/* 800C1DC8 000BED28 41 82 00 14 */ beq lbl_800C1DDC +/* 800C1DCC 000BED2C 54 A0 10 3A */ slwi r0, r5, 2 +/* 800C1DD0 000BED30 7C 63 02 14 */ add r3, r3, r0 +/* 800C1DD4 000BED34 80 63 00 04 */ lwz r3, 4(r3) +/* 800C1DD8 000BED38 48 00 00 08 */ b lbl_800C1DE0 +lbl_800C1DDC: +/* 800C1DDC 000BED3C 38 60 00 00 */ li r3, 0 +lbl_800C1DE0: +/* 800C1DE0 000BED40 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C1DE4 000BED44 4E 80 00 20 */ blr + +.global DecrCount__10CWeaponMgrF9TUniqueId11EWeaponType +DecrCount__10CWeaponMgrF9TUniqueId11EWeaponType: +/* 800C1DE8 000BED48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C1DEC 000BED4C 7C 08 02 A6 */ mflr r0 +/* 800C1DF0 000BED50 39 00 00 00 */ li r8, 0 +/* 800C1DF4 000BED54 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C1DF8 000BED58 A0 04 00 00 */ lhz r0, 0(r4) +/* 800C1DFC 000BED5C 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 800C1E00 000BED60 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800C1E04 000BED64 54 00 04 3E */ clrlwi r0, r0, 0x10 +/* 800C1E08 000BED68 48 00 00 20 */ b lbl_800C1E28 +lbl_800C1E0C: +/* 800C1E0C 000BED6C A0 C7 00 10 */ lhz r6, 0x10(r7) +/* 800C1E10 000BED70 7C 06 00 40 */ cmplw r6, r0 +/* 800C1E14 000BED74 41 80 00 10 */ blt lbl_800C1E24 +/* 800C1E18 000BED78 7C E8 3B 78 */ mr r8, r7 +/* 800C1E1C 000BED7C 80 E7 00 00 */ lwz r7, 0(r7) +/* 800C1E20 000BED80 48 00 00 08 */ b lbl_800C1E28 +lbl_800C1E24: +/* 800C1E24 000BED84 80 E7 00 04 */ lwz r7, 4(r7) +lbl_800C1E28: +/* 800C1E28 000BED88 28 07 00 00 */ cmplwi r7, 0 +/* 800C1E2C 000BED8C 40 82 FF E0 */ bne lbl_800C1E0C +/* 800C1E30 000BED90 28 08 00 00 */ cmplwi r8, 0 +/* 800C1E34 000BED94 38 E0 00 00 */ li r7, 0 +/* 800C1E38 000BED98 41 82 00 14 */ beq lbl_800C1E4C +/* 800C1E3C 000BED9C A0 C1 00 0C */ lhz r6, 0xc(r1) +/* 800C1E40 000BEDA0 A0 08 00 10 */ lhz r0, 0x10(r8) +/* 800C1E44 000BEDA4 7C 06 00 40 */ cmplw r6, r0 +/* 800C1E48 000BEDA8 40 80 00 08 */ bge lbl_800C1E50 +lbl_800C1E4C: +/* 800C1E4C 000BEDAC 38 E0 00 01 */ li r7, 1 +lbl_800C1E50: +/* 800C1E50 000BEDB0 54 E0 06 3F */ clrlwi. r0, r7, 0x18 +/* 800C1E54 000BEDB4 41 82 00 08 */ beq lbl_800C1E5C +/* 800C1E58 000BEDB8 39 00 00 00 */ li r8, 0 +lbl_800C1E5C: +/* 800C1E5C 000BEDBC 28 08 00 00 */ cmplwi r8, 0 +/* 800C1E60 000BEDC0 38 C3 00 08 */ addi r6, r3, 8 +/* 800C1E64 000BEDC4 38 00 00 00 */ li r0, 0 +/* 800C1E68 000BEDC8 40 82 00 0C */ bne lbl_800C1E74 +/* 800C1E6C 000BEDCC 7C 06 30 40 */ cmplw r6, r6 +/* 800C1E70 000BEDD0 41 82 00 08 */ beq lbl_800C1E78 +lbl_800C1E74: +/* 800C1E74 000BEDD4 38 00 00 01 */ li r0, 1 +lbl_800C1E78: +/* 800C1E78 000BEDD8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800C1E7C 000BEDDC 41 82 00 0C */ beq lbl_800C1E88 +/* 800C1E80 000BEDE0 38 E8 00 14 */ addi r7, r8, 0x14 +/* 800C1E84 000BEDE4 48 00 00 08 */ b lbl_800C1E8C +lbl_800C1E88: +/* 800C1E88 000BEDE8 38 E0 00 00 */ li r7, 0 +lbl_800C1E8C: +/* 800C1E8C 000BEDEC 28 07 00 00 */ cmplwi r7, 0 +/* 800C1E90 000BEDF0 41 82 00 6C */ beq lbl_800C1EFC +/* 800C1E94 000BEDF4 54 A0 10 3A */ slwi r0, r5, 2 +/* 800C1E98 000BEDF8 39 27 00 04 */ addi r9, r7, 4 +/* 800C1E9C 000BEDFC 7C C7 02 14 */ add r6, r7, r0 +/* 800C1EA0 000BEE00 39 00 00 01 */ li r8, 1 +/* 800C1EA4 000BEE04 80 A6 00 04 */ lwz r5, 4(r6) +/* 800C1EA8 000BEE08 38 05 FF FF */ addi r0, r5, -1 +/* 800C1EAC 000BEE0C 90 06 00 04 */ stw r0, 4(r6) +/* 800C1EB0 000BEE10 80 07 00 00 */ lwz r0, 0(r7) +/* 800C1EB4 000BEE14 54 00 10 3A */ slwi r0, r0, 2 +/* 800C1EB8 000BEE18 7C A7 02 14 */ add r5, r7, r0 +/* 800C1EBC 000BEE1C 38 A5 00 04 */ addi r5, r5, 4 +/* 800C1EC0 000BEE20 48 00 00 1C */ b lbl_800C1EDC +lbl_800C1EC4: +/* 800C1EC4 000BEE24 80 09 00 00 */ lwz r0, 0(r9) +/* 800C1EC8 000BEE28 2C 00 00 00 */ cmpwi r0, 0 +/* 800C1ECC 000BEE2C 40 81 00 0C */ ble lbl_800C1ED8 +/* 800C1ED0 000BEE30 39 00 00 00 */ li r8, 0 +/* 800C1ED4 000BEE34 48 00 00 10 */ b lbl_800C1EE4 +lbl_800C1ED8: +/* 800C1ED8 000BEE38 39 29 00 04 */ addi r9, r9, 4 +lbl_800C1EDC: +/* 800C1EDC 000BEE3C 7C 09 28 40 */ cmplw r9, r5 +/* 800C1EE0 000BEE40 40 82 FF E4 */ bne lbl_800C1EC4 +lbl_800C1EE4: +/* 800C1EE4 000BEE44 55 00 06 3F */ clrlwi. r0, r8, 0x18 +/* 800C1EE8 000BEE48 41 82 00 14 */ beq lbl_800C1EFC +/* 800C1EEC 000BEE4C A0 04 00 00 */ lhz r0, 0(r4) +/* 800C1EF0 000BEE50 38 81 00 08 */ addi r4, r1, 8 +/* 800C1EF4 000BEE54 B0 01 00 08 */ sth r0, 8(r1) +/* 800C1EF8 000BEE58 48 00 02 7D */ bl Remove__10CWeaponMgrF9TUniqueId +lbl_800C1EFC: +/* 800C1EFC 000BEE5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C1F00 000BEE60 7C 08 03 A6 */ mtlr r0 +/* 800C1F04 000BEE64 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C1F08 000BEE68 4E 80 00 20 */ blr + +.global IncrCount__10CWeaponMgrF9TUniqueId11EWeaponType +IncrCount__10CWeaponMgrF9TUniqueId11EWeaponType: +/* 800C1F0C 000BEE6C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800C1F10 000BEE70 7C 08 02 A6 */ mflr r0 +/* 800C1F14 000BEE74 39 00 00 00 */ li r8, 0 +/* 800C1F18 000BEE78 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800C1F1C 000BEE7C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 800C1F20 000BEE80 A0 C4 00 00 */ lhz r6, 0(r4) +/* 800C1F24 000BEE84 7C 64 1B 78 */ mr r4, r3 +/* 800C1F28 000BEE88 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 800C1F2C 000BEE8C B0 C1 00 08 */ sth r6, 8(r1) +/* 800C1F30 000BEE90 54 C0 04 3E */ clrlwi r0, r6, 0x10 +/* 800C1F34 000BEE94 B0 C1 00 10 */ sth r6, 0x10(r1) +/* 800C1F38 000BEE98 48 00 00 20 */ b lbl_800C1F58 +lbl_800C1F3C: +/* 800C1F3C 000BEE9C A0 67 00 10 */ lhz r3, 0x10(r7) +/* 800C1F40 000BEEA0 7C 03 00 40 */ cmplw r3, r0 +/* 800C1F44 000BEEA4 41 80 00 10 */ blt lbl_800C1F54 +/* 800C1F48 000BEEA8 7C E8 3B 78 */ mr r8, r7 +/* 800C1F4C 000BEEAC 80 E7 00 00 */ lwz r7, 0(r7) +/* 800C1F50 000BEEB0 48 00 00 08 */ b lbl_800C1F58 +lbl_800C1F54: +/* 800C1F54 000BEEB4 80 E7 00 04 */ lwz r7, 4(r7) +lbl_800C1F58: +/* 800C1F58 000BEEB8 28 07 00 00 */ cmplwi r7, 0 +/* 800C1F5C 000BEEBC 40 82 FF E0 */ bne lbl_800C1F3C +/* 800C1F60 000BEEC0 28 08 00 00 */ cmplwi r8, 0 +/* 800C1F64 000BEEC4 38 C0 00 00 */ li r6, 0 +/* 800C1F68 000BEEC8 41 82 00 14 */ beq lbl_800C1F7C +/* 800C1F6C 000BEECC A0 61 00 10 */ lhz r3, 0x10(r1) +/* 800C1F70 000BEED0 A0 08 00 10 */ lhz r0, 0x10(r8) +/* 800C1F74 000BEED4 7C 03 00 40 */ cmplw r3, r0 +/* 800C1F78 000BEED8 40 80 00 08 */ bge lbl_800C1F80 +lbl_800C1F7C: +/* 800C1F7C 000BEEDC 38 C0 00 01 */ li r6, 1 +lbl_800C1F80: +/* 800C1F80 000BEEE0 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 800C1F84 000BEEE4 41 82 00 08 */ beq lbl_800C1F8C +/* 800C1F88 000BEEE8 39 00 00 00 */ li r8, 0 +lbl_800C1F8C: +/* 800C1F8C 000BEEEC 28 08 00 00 */ cmplwi r8, 0 +/* 800C1F90 000BEEF0 38 64 00 08 */ addi r3, r4, 8 +/* 800C1F94 000BEEF4 38 00 00 00 */ li r0, 0 +/* 800C1F98 000BEEF8 40 82 00 0C */ bne lbl_800C1FA4 +/* 800C1F9C 000BEEFC 7C 03 18 40 */ cmplw r3, r3 +/* 800C1FA0 000BEF00 41 82 00 08 */ beq lbl_800C1FA8 +lbl_800C1FA4: +/* 800C1FA4 000BEF04 38 00 00 01 */ li r0, 1 +lbl_800C1FA8: +/* 800C1FA8 000BEF08 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800C1FAC 000BEF0C 41 82 00 0C */ beq lbl_800C1FB8 +/* 800C1FB0 000BEF10 38 68 00 14 */ addi r3, r8, 0x14 +/* 800C1FB4 000BEF14 48 00 00 08 */ b lbl_800C1FBC +lbl_800C1FB8: +/* 800C1FB8 000BEF18 38 60 00 00 */ li r3, 0 +lbl_800C1FBC: +/* 800C1FBC 000BEF1C 28 03 00 00 */ cmplwi r3, 0 +/* 800C1FC0 000BEF20 40 82 01 8C */ bne lbl_800C214C +/* 800C1FC4 000BEF24 A0 61 00 08 */ lhz r3, 8(r1) +/* 800C1FC8 000BEF28 39 21 00 24 */ addi r9, r1, 0x24 +/* 800C1FCC 000BEF2C 38 C0 00 0F */ li r6, 0xf +/* 800C1FD0 000BEF30 38 00 00 03 */ li r0, 3 +/* 800C1FD4 000BEF34 7D 28 4B 78 */ mr r8, r9 +/* 800C1FD8 000BEF38 B0 61 00 0C */ sth r3, 0xc(r1) +/* 800C1FDC 000BEF3C 80 6D 86 B8 */ lwz r3, lbl_805A7278@sda21(r13) +/* 800C1FE0 000BEF40 38 E0 00 00 */ li r7, 0 +/* 800C1FE4 000BEF44 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800C1FE8 000BEF48 7C 09 03 A6 */ mtctr r0 +lbl_800C1FEC: +/* 800C1FEC 000BEF4C 28 08 00 00 */ cmplwi r8, 0 +/* 800C1FF0 000BEF50 41 82 00 08 */ beq lbl_800C1FF8 +/* 800C1FF4 000BEF54 90 68 00 00 */ stw r3, 0(r8) +lbl_800C1FF8: +/* 800C1FF8 000BEF58 35 08 00 04 */ addic. r8, r8, 4 +/* 800C1FFC 000BEF5C 41 82 00 08 */ beq lbl_800C2004 +/* 800C2000 000BEF60 90 68 00 00 */ stw r3, 0(r8) +lbl_800C2004: +/* 800C2004 000BEF64 35 08 00 04 */ addic. r8, r8, 4 +/* 800C2008 000BEF68 41 82 00 08 */ beq lbl_800C2010 +/* 800C200C 000BEF6C 90 68 00 00 */ stw r3, 0(r8) +lbl_800C2010: +/* 800C2010 000BEF70 35 08 00 04 */ addic. r8, r8, 4 +/* 800C2014 000BEF74 41 82 00 08 */ beq lbl_800C201C +/* 800C2018 000BEF78 90 68 00 00 */ stw r3, 0(r8) +lbl_800C201C: +/* 800C201C 000BEF7C 35 08 00 04 */ addic. r8, r8, 4 +/* 800C2020 000BEF80 41 82 00 08 */ beq lbl_800C2028 +/* 800C2024 000BEF84 90 68 00 00 */ stw r3, 0(r8) +lbl_800C2028: +/* 800C2028 000BEF88 38 E7 00 04 */ addi r7, r7, 4 +/* 800C202C 000BEF8C 39 08 00 04 */ addi r8, r8, 4 +/* 800C2030 000BEF90 42 00 FF BC */ bdnz lbl_800C1FEC +/* 800C2034 000BEF94 3B E1 00 64 */ addi r31, r1, 0x64 +/* 800C2038 000BEF98 A0 61 00 0C */ lhz r3, 0xc(r1) +/* 800C203C 000BEF9C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800C2040 000BEFA0 39 1F 00 04 */ addi r8, r31, 4 +/* 800C2044 000BEFA4 B0 61 00 60 */ sth r3, 0x60(r1) +/* 800C2048 000BEFA8 7D 03 43 78 */ mr r3, r8 +/* 800C204C 000BEFAC 90 01 00 64 */ stw r0, 0x64(r1) +/* 800C2050 000BEFB0 7C 09 03 A6 */ mtctr r0 +/* 800C2054 000BEFB4 2C 00 00 00 */ cmpwi r0, 0 +/* 800C2058 000BEFB8 40 81 00 20 */ ble lbl_800C2078 +lbl_800C205C: +/* 800C205C 000BEFBC 28 03 00 00 */ cmplwi r3, 0 +/* 800C2060 000BEFC0 41 82 00 0C */ beq lbl_800C206C +/* 800C2064 000BEFC4 80 09 00 00 */ lwz r0, 0(r9) +/* 800C2068 000BEFC8 90 03 00 00 */ stw r0, 0(r3) +lbl_800C206C: +/* 800C206C 000BEFCC 38 63 00 04 */ addi r3, r3, 4 +/* 800C2070 000BEFD0 39 29 00 04 */ addi r9, r9, 4 +/* 800C2074 000BEFD4 42 00 FF E8 */ bdnz lbl_800C205C +lbl_800C2078: +/* 800C2078 000BEFD8 80 E1 00 20 */ lwz r7, 0x20(r1) +/* 800C207C 000BEFDC 38 60 00 00 */ li r3, 0 +/* 800C2080 000BEFE0 2C 07 00 00 */ cmpwi r7, 0 +/* 800C2084 000BEFE4 40 81 00 40 */ ble lbl_800C20C4 +/* 800C2088 000BEFE8 2C 07 00 08 */ cmpwi r7, 8 +/* 800C208C 000BEFEC 38 C7 FF F8 */ addi r6, r7, -8 +/* 800C2090 000BEFF0 40 81 00 20 */ ble lbl_800C20B0 +/* 800C2094 000BEFF4 38 06 00 07 */ addi r0, r6, 7 +/* 800C2098 000BEFF8 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C209C 000BEFFC 7C 09 03 A6 */ mtctr r0 +/* 800C20A0 000BF000 2C 06 00 00 */ cmpwi r6, 0 +/* 800C20A4 000BF004 40 81 00 0C */ ble lbl_800C20B0 +lbl_800C20A8: +/* 800C20A8 000BF008 38 63 00 08 */ addi r3, r3, 8 +/* 800C20AC 000BF00C 42 00 FF FC */ bdnz lbl_800C20A8 +lbl_800C20B0: +/* 800C20B0 000BF010 7C 03 38 50 */ subf r0, r3, r7 +/* 800C20B4 000BF014 7C 09 03 A6 */ mtctr r0 +/* 800C20B8 000BF018 7C 03 38 00 */ cmpw r3, r7 +/* 800C20BC 000BF01C 40 80 00 08 */ bge lbl_800C20C4 +lbl_800C20C0: +/* 800C20C0 000BF020 42 00 00 00 */ bdnz lbl_800C20C0 +lbl_800C20C4: +/* 800C20C4 000BF024 54 A7 10 3A */ slwi r7, r5, 2 +/* 800C20C8 000BF028 38 00 00 00 */ li r0, 0 +/* 800C20CC 000BF02C 7C A8 38 2E */ lwzx r5, r8, r7 +/* 800C20D0 000BF030 38 61 00 14 */ addi r3, r1, 0x14 +/* 800C20D4 000BF034 90 01 00 20 */ stw r0, 0x20(r1) +/* 800C20D8 000BF038 38 C1 00 60 */ addi r6, r1, 0x60 +/* 800C20DC 000BF03C 38 05 00 01 */ addi r0, r5, 1 +/* 800C20E0 000BF040 7C 08 39 2E */ stwx r0, r8, r7 +/* 800C20E4 000BF044 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 800C20E8 000BF048 48 00 02 3D */ bl sub_800c2324 +/* 800C20EC 000BF04C 28 1F 00 00 */ cmplwi r31, 0 +/* 800C20F0 000BF050 41 82 00 70 */ beq lbl_800C2160 +/* 800C20F4 000BF054 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 800C20F8 000BF058 38 60 00 00 */ li r3, 0 +/* 800C20FC 000BF05C 2C 05 00 00 */ cmpwi r5, 0 +/* 800C2100 000BF060 40 81 00 40 */ ble lbl_800C2140 +/* 800C2104 000BF064 2C 05 00 08 */ cmpwi r5, 8 +/* 800C2108 000BF068 38 85 FF F8 */ addi r4, r5, -8 +/* 800C210C 000BF06C 40 81 00 20 */ ble lbl_800C212C +/* 800C2110 000BF070 38 04 00 07 */ addi r0, r4, 7 +/* 800C2114 000BF074 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C2118 000BF078 7C 09 03 A6 */ mtctr r0 +/* 800C211C 000BF07C 2C 04 00 00 */ cmpwi r4, 0 +/* 800C2120 000BF080 40 81 00 0C */ ble lbl_800C212C +lbl_800C2124: +/* 800C2124 000BF084 38 63 00 08 */ addi r3, r3, 8 +/* 800C2128 000BF088 42 00 FF FC */ bdnz lbl_800C2124 +lbl_800C212C: +/* 800C212C 000BF08C 7C 03 28 50 */ subf r0, r3, r5 +/* 800C2130 000BF090 7C 09 03 A6 */ mtctr r0 +/* 800C2134 000BF094 7C 03 28 00 */ cmpw r3, r5 +/* 800C2138 000BF098 40 80 00 08 */ bge lbl_800C2140 +lbl_800C213C: +/* 800C213C 000BF09C 42 00 00 00 */ bdnz lbl_800C213C +lbl_800C2140: +/* 800C2140 000BF0A0 38 00 00 00 */ li r0, 0 +/* 800C2144 000BF0A4 90 01 00 64 */ stw r0, 0x64(r1) +/* 800C2148 000BF0A8 48 00 00 18 */ b lbl_800C2160 +lbl_800C214C: +/* 800C214C 000BF0AC 54 A0 10 3A */ slwi r0, r5, 2 +/* 800C2150 000BF0B0 7C 83 02 14 */ add r4, r3, r0 +/* 800C2154 000BF0B4 80 64 00 04 */ lwz r3, 4(r4) +/* 800C2158 000BF0B8 38 03 00 01 */ addi r0, r3, 1 +/* 800C215C 000BF0BC 90 04 00 04 */ stw r0, 4(r4) +lbl_800C2160: +/* 800C2160 000BF0C0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800C2164 000BF0C4 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 800C2168 000BF0C8 7C 08 03 A6 */ mtlr r0 +/* 800C216C 000BF0CC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800C2170 000BF0D0 4E 80 00 20 */ blr + +.global Remove__10CWeaponMgrF9TUniqueId +Remove__10CWeaponMgrF9TUniqueId: +/* 800C2174 000BF0D4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800C2178 000BF0D8 7C 08 02 A6 */ mflr r0 +/* 800C217C 000BF0DC 38 C0 00 00 */ li r6, 0 +/* 800C2180 000BF0E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 800C2184 000BF0E4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800C2188 000BF0E8 7C 7F 1B 78 */ mr r31, r3 +/* 800C218C 000BF0EC 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 800C2190 000BF0F0 48 00 00 24 */ b lbl_800C21B4 +lbl_800C2194: +/* 800C2194 000BF0F4 A0 65 00 10 */ lhz r3, 0x10(r5) +/* 800C2198 000BF0F8 A0 04 00 00 */ lhz r0, 0(r4) +/* 800C219C 000BF0FC 7C 03 00 40 */ cmplw r3, r0 +/* 800C21A0 000BF100 41 80 00 10 */ blt lbl_800C21B0 +/* 800C21A4 000BF104 7C A6 2B 78 */ mr r6, r5 +/* 800C21A8 000BF108 80 A5 00 00 */ lwz r5, 0(r5) +/* 800C21AC 000BF10C 48 00 00 08 */ b lbl_800C21B4 +lbl_800C21B0: +/* 800C21B0 000BF110 80 A5 00 04 */ lwz r5, 4(r5) +lbl_800C21B4: +/* 800C21B4 000BF114 28 05 00 00 */ cmplwi r5, 0 +/* 800C21B8 000BF118 40 82 FF DC */ bne lbl_800C2194 +/* 800C21BC 000BF11C 28 06 00 00 */ cmplwi r6, 0 +/* 800C21C0 000BF120 38 A0 00 00 */ li r5, 0 +/* 800C21C4 000BF124 41 82 00 14 */ beq lbl_800C21D8 +/* 800C21C8 000BF128 A0 64 00 00 */ lhz r3, 0(r4) +/* 800C21CC 000BF12C A0 06 00 10 */ lhz r0, 0x10(r6) +/* 800C21D0 000BF130 7C 03 00 40 */ cmplw r3, r0 +/* 800C21D4 000BF134 40 80 00 08 */ bge lbl_800C21DC +lbl_800C21D8: +/* 800C21D8 000BF138 38 A0 00 01 */ li r5, 1 +lbl_800C21DC: +/* 800C21DC 000BF13C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 800C21E0 000BF140 41 82 00 08 */ beq lbl_800C21E8 +/* 800C21E4 000BF144 38 C0 00 00 */ li r6, 0 +lbl_800C21E8: +/* 800C21E8 000BF148 38 00 00 00 */ li r0, 0 +/* 800C21EC 000BF14C 38 7F 00 08 */ addi r3, r31, 8 +/* 800C21F0 000BF150 7C 06 00 40 */ cmplw r6, r0 +/* 800C21F4 000BF154 90 C1 00 18 */ stw r6, 0x18(r1) +/* 800C21F8 000BF158 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800C21FC 000BF15C 90 01 00 10 */ stw r0, 0x10(r1) +/* 800C2200 000BF160 90 61 00 14 */ stw r3, 0x14(r1) +/* 800C2204 000BF164 40 82 00 0C */ bne lbl_800C2210 +/* 800C2208 000BF168 7C 03 18 40 */ cmplw r3, r3 +/* 800C220C 000BF16C 41 82 00 08 */ beq lbl_800C2214 +lbl_800C2210: +/* 800C2210 000BF170 38 00 00 01 */ li r0, 1 +lbl_800C2214: +/* 800C2214 000BF174 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800C2218 000BF178 41 82 00 A8 */ beq lbl_800C22C0 +/* 800C221C 000BF17C 80 81 00 18 */ lwz r4, 0x18(r1) +/* 800C2220 000BF180 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 800C2224 000BF184 90 81 00 08 */ stw r4, 8(r1) +/* 800C2228 000BF188 90 61 00 0C */ stw r3, 0xc(r1) +/* 800C222C 000BF18C 48 27 A3 B5 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800C2230 000BF190 80 81 00 08 */ lwz r4, 8(r1) +/* 800C2234 000BF194 38 7F 00 08 */ addi r3, r31, 8 +/* 800C2238 000BF198 48 27 A4 45 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 800C223C 000BF19C 28 03 00 00 */ cmplwi r3, 0 +/* 800C2240 000BF1A0 41 82 00 68 */ beq lbl_800C22A8 +/* 800C2244 000BF1A4 34 03 00 10 */ addic. r0, r3, 0x10 +/* 800C2248 000BF1A8 41 82 00 60 */ beq lbl_800C22A8 +/* 800C224C 000BF1AC 34 C3 00 14 */ addic. r6, r3, 0x14 +/* 800C2250 000BF1B0 41 82 00 58 */ beq lbl_800C22A8 +/* 800C2254 000BF1B4 80 E6 00 00 */ lwz r7, 0(r6) +/* 800C2258 000BF1B8 38 80 00 00 */ li r4, 0 +/* 800C225C 000BF1BC 2C 07 00 00 */ cmpwi r7, 0 +/* 800C2260 000BF1C0 40 81 00 40 */ ble lbl_800C22A0 +/* 800C2264 000BF1C4 2C 07 00 08 */ cmpwi r7, 8 +/* 800C2268 000BF1C8 38 A7 FF F8 */ addi r5, r7, -8 +/* 800C226C 000BF1CC 40 81 00 20 */ ble lbl_800C228C +/* 800C2270 000BF1D0 38 05 00 07 */ addi r0, r5, 7 +/* 800C2274 000BF1D4 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C2278 000BF1D8 7C 09 03 A6 */ mtctr r0 +/* 800C227C 000BF1DC 2C 05 00 00 */ cmpwi r5, 0 +/* 800C2280 000BF1E0 40 81 00 0C */ ble lbl_800C228C +lbl_800C2284: +/* 800C2284 000BF1E4 38 84 00 08 */ addi r4, r4, 8 +/* 800C2288 000BF1E8 42 00 FF FC */ bdnz lbl_800C2284 +lbl_800C228C: +/* 800C228C 000BF1EC 7C 04 38 50 */ subf r0, r4, r7 +/* 800C2290 000BF1F0 7C 09 03 A6 */ mtctr r0 +/* 800C2294 000BF1F4 7C 04 38 00 */ cmpw r4, r7 +/* 800C2298 000BF1F8 40 80 00 08 */ bge lbl_800C22A0 +lbl_800C229C: +/* 800C229C 000BF1FC 42 00 00 00 */ bdnz lbl_800C229C +lbl_800C22A0: +/* 800C22A0 000BF200 38 00 00 00 */ li r0, 0 +/* 800C22A4 000BF204 90 06 00 00 */ stw r0, 0(r6) +lbl_800C22A8: +/* 800C22A8 000BF208 28 03 00 00 */ cmplwi r3, 0 +/* 800C22AC 000BF20C 41 82 00 08 */ beq lbl_800C22B4 +/* 800C22B0 000BF210 48 25 36 81 */ bl Free__7CMemoryFPCv +lbl_800C22B4: +/* 800C22B4 000BF214 80 7F 00 04 */ lwz r3, 4(r31) +/* 800C22B8 000BF218 38 03 FF FF */ addi r0, r3, -1 +/* 800C22BC 000BF21C 90 1F 00 04 */ stw r0, 4(r31) +lbl_800C22C0: +/* 800C22C0 000BF220 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800C22C4 000BF224 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800C22C8 000BF228 7C 08 03 A6 */ mtlr r0 +/* 800C22CC 000BF22C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800C22D0 000BF230 4E 80 00 20 */ blr + +.global __ct__10CWeaponMgrFv +__ct__10CWeaponMgrFv: +/* 800C22D4 000BF234 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C22D8 000BF238 38 00 00 00 */ li r0, 0 +/* 800C22DC 000BF23C 88 A1 00 08 */ lbz r5, 8(r1) +/* 800C22E0 000BF240 88 81 00 0C */ lbz r4, 0xc(r1) +/* 800C22E4 000BF244 98 A3 00 00 */ stb r5, 0(r3) +/* 800C22E8 000BF248 98 83 00 01 */ stb r4, 1(r3) +/* 800C22EC 000BF24C 90 03 00 04 */ stw r0, 4(r3) +/* 800C22F0 000BF250 90 03 00 08 */ stw r0, 8(r3) +/* 800C22F4 000BF254 90 03 00 0C */ stw r0, 0xc(r3) +/* 800C22F8 000BF258 90 03 00 10 */ stw r0, 0x10(r3) +/* 800C22FC 000BF25C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C2300 000BF260 4E 80 00 20 */ blr + +.global sub_800c2304 +sub_800c2304: +/* 800C2304 000BF264 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C2308 000BF268 7C 08 02 A6 */ mflr r0 +/* 800C230C 000BF26C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C2310 000BF270 48 25 36 21 */ bl Free__7CMemoryFPCv +/* 800C2314 000BF274 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C2318 000BF278 7C 08 03 A6 */ mtlr r0 +/* 800C231C 000BF27C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C2320 000BF280 4E 80 00 20 */ blr + +.global sub_800c2324 +sub_800c2324: +/* 800C2324 000BF284 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C2328 000BF288 7C 08 02 A6 */ mflr r0 +/* 800C232C 000BF28C 28 05 00 00 */ cmplwi r5, 0 +/* 800C2330 000BF290 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C2334 000BF294 BF 41 00 08 */ stmw r26, 8(r1) +/* 800C2338 000BF298 7C 7B 1B 78 */ mr r27, r3 +/* 800C233C 000BF29C 7C 9C 23 78 */ mr r28, r4 +/* 800C2340 000BF2A0 7C DD 33 78 */ mr r29, r6 +/* 800C2344 000BF2A4 40 82 00 BC */ bne lbl_800C2400 +/* 800C2348 000BF2A8 3C 80 80 3D */ lis r4, lbl_803CE018@ha +/* 800C234C 000BF2AC 38 60 00 54 */ li r3, 0x54 +/* 800C2350 000BF2B0 38 84 E0 18 */ addi r4, r4, lbl_803CE018@l +/* 800C2354 000BF2B4 38 A0 00 00 */ li r5, 0 +/* 800C2358 000BF2B8 48 25 34 C1 */ bl __nwa__FUlPCcPCc +/* 800C235C 000BF2BC 28 03 00 00 */ cmplwi r3, 0 +/* 800C2360 000BF2C0 41 82 00 64 */ beq lbl_800C23C4 +/* 800C2364 000BF2C4 38 00 00 00 */ li r0, 0 +/* 800C2368 000BF2C8 34 C3 00 10 */ addic. r6, r3, 0x10 +/* 800C236C 000BF2CC 90 03 00 00 */ stw r0, 0(r3) +/* 800C2370 000BF2D0 90 03 00 04 */ stw r0, 4(r3) +/* 800C2374 000BF2D4 90 03 00 08 */ stw r0, 8(r3) +/* 800C2378 000BF2D8 90 03 00 0C */ stw r0, 0xc(r3) +/* 800C237C 000BF2DC 41 82 00 48 */ beq lbl_800C23C4 +/* 800C2380 000BF2E0 A0 1D 00 00 */ lhz r0, 0(r29) +/* 800C2384 000BF2E4 38 BD 00 08 */ addi r5, r29, 8 +/* 800C2388 000BF2E8 38 86 00 08 */ addi r4, r6, 8 +/* 800C238C 000BF2EC B0 06 00 00 */ sth r0, 0(r6) +/* 800C2390 000BF2F0 80 1D 00 04 */ lwz r0, 4(r29) +/* 800C2394 000BF2F4 90 06 00 04 */ stw r0, 4(r6) +/* 800C2398 000BF2F8 80 06 00 04 */ lwz r0, 4(r6) +/* 800C239C 000BF2FC 7C 09 03 A6 */ mtctr r0 +/* 800C23A0 000BF300 2C 00 00 00 */ cmpwi r0, 0 +/* 800C23A4 000BF304 40 81 00 20 */ ble lbl_800C23C4 +lbl_800C23A8: +/* 800C23A8 000BF308 28 04 00 00 */ cmplwi r4, 0 +/* 800C23AC 000BF30C 41 82 00 0C */ beq lbl_800C23B8 +/* 800C23B0 000BF310 80 05 00 00 */ lwz r0, 0(r5) +/* 800C23B4 000BF314 90 04 00 00 */ stw r0, 0(r4) +lbl_800C23B8: +/* 800C23B8 000BF318 38 84 00 04 */ addi r4, r4, 4 +/* 800C23BC 000BF31C 38 A5 00 04 */ addi r5, r5, 4 +/* 800C23C0 000BF320 42 00 FF E8 */ bdnz lbl_800C23A8 +lbl_800C23C4: +/* 800C23C4 000BF324 90 7C 00 10 */ stw r3, 0x10(r28) +/* 800C23C8 000BF328 38 1C 00 08 */ addi r0, r28, 8 +/* 800C23CC 000BF32C 80 7C 00 04 */ lwz r3, 4(r28) +/* 800C23D0 000BF330 38 63 00 01 */ addi r3, r3, 1 +/* 800C23D4 000BF334 90 7C 00 04 */ stw r3, 4(r28) +/* 800C23D8 000BF338 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 800C23DC 000BF33C 90 7C 00 08 */ stw r3, 8(r28) +/* 800C23E0 000BF340 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 800C23E4 000BF344 90 7C 00 0C */ stw r3, 0xc(r28) +/* 800C23E8 000BF348 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 800C23EC 000BF34C 90 7B 00 00 */ stw r3, 0(r27) +/* 800C23F0 000BF350 90 1B 00 04 */ stw r0, 4(r27) +/* 800C23F4 000BF354 88 0D 86 BC */ lbz r0, lbl_805A727C@sda21(r13) +/* 800C23F8 000BF358 98 1B 00 08 */ stb r0, 8(r27) +/* 800C23FC 000BF35C 48 00 01 E0 */ b lbl_800C25DC +lbl_800C2400: +/* 800C2400 000BF360 7C BE 2B 78 */ mr r30, r5 +/* 800C2404 000BF364 3B FD 00 08 */ addi r31, r29, 8 +/* 800C2408 000BF368 3B 40 00 00 */ li r26, 0 +/* 800C240C 000BF36C 48 00 01 9C */ b lbl_800C25A8 +lbl_800C2410: +/* 800C2410 000BF370 A0 7D 00 00 */ lhz r3, 0(r29) +/* 800C2414 000BF374 A0 9E 00 10 */ lhz r4, 0x10(r30) +/* 800C2418 000BF378 7C 04 18 50 */ subf r0, r4, r3 +/* 800C241C 000BF37C 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 800C2420 000BF380 40 82 00 24 */ bne lbl_800C2444 +/* 800C2424 000BF384 7C 04 18 40 */ cmplw r4, r3 +/* 800C2428 000BF388 41 80 00 1C */ blt lbl_800C2444 +/* 800C242C 000BF38C 93 DB 00 00 */ stw r30, 0(r27) +/* 800C2430 000BF390 38 1C 00 08 */ addi r0, r28, 8 +/* 800C2434 000BF394 90 1B 00 04 */ stw r0, 4(r27) +/* 800C2438 000BF398 88 0D 86 BD */ lbz r0, lbl_805A727D@sda21(r13) +/* 800C243C 000BF39C 98 1B 00 08 */ stb r0, 8(r27) +/* 800C2440 000BF3A0 48 00 01 9C */ b lbl_800C25DC +lbl_800C2444: +/* 800C2444 000BF3A4 28 00 00 00 */ cmplwi r0, 0 +/* 800C2448 000BF3A8 41 82 00 B4 */ beq lbl_800C24FC +/* 800C244C 000BF3AC 80 1E 00 00 */ lwz r0, 0(r30) +/* 800C2450 000BF3B0 28 00 00 00 */ cmplwi r0, 0 +/* 800C2454 000BF3B4 40 82 00 A0 */ bne lbl_800C24F4 +/* 800C2458 000BF3B8 3C 80 80 3D */ lis r4, lbl_803CE018@ha +/* 800C245C 000BF3BC 38 60 00 54 */ li r3, 0x54 +/* 800C2460 000BF3C0 38 84 E0 18 */ addi r4, r4, lbl_803CE018@l +/* 800C2464 000BF3C4 38 A0 00 00 */ li r5, 0 +/* 800C2468 000BF3C8 48 25 33 B1 */ bl __nwa__FUlPCcPCc +/* 800C246C 000BF3CC 28 03 00 00 */ cmplwi r3, 0 +/* 800C2470 000BF3D0 41 82 00 68 */ beq lbl_800C24D8 +/* 800C2474 000BF3D4 38 80 00 00 */ li r4, 0 +/* 800C2478 000BF3D8 34 C3 00 10 */ addic. r6, r3, 0x10 +/* 800C247C 000BF3DC 90 83 00 00 */ stw r4, 0(r3) +/* 800C2480 000BF3E0 38 00 00 01 */ li r0, 1 +/* 800C2484 000BF3E4 90 83 00 04 */ stw r4, 4(r3) +/* 800C2488 000BF3E8 93 C3 00 08 */ stw r30, 8(r3) +/* 800C248C 000BF3EC 90 03 00 0C */ stw r0, 0xc(r3) +/* 800C2490 000BF3F0 41 82 00 48 */ beq lbl_800C24D8 +/* 800C2494 000BF3F4 A0 1D 00 00 */ lhz r0, 0(r29) +/* 800C2498 000BF3F8 7F E5 FB 78 */ mr r5, r31 +/* 800C249C 000BF3FC 38 86 00 08 */ addi r4, r6, 8 +/* 800C24A0 000BF400 B0 06 00 00 */ sth r0, 0(r6) +/* 800C24A4 000BF404 80 1D 00 04 */ lwz r0, 4(r29) +/* 800C24A8 000BF408 90 06 00 04 */ stw r0, 4(r6) +/* 800C24AC 000BF40C 80 06 00 04 */ lwz r0, 4(r6) +/* 800C24B0 000BF410 7C 09 03 A6 */ mtctr r0 +/* 800C24B4 000BF414 2C 00 00 00 */ cmpwi r0, 0 +/* 800C24B8 000BF418 40 81 00 20 */ ble lbl_800C24D8 +lbl_800C24BC: +/* 800C24BC 000BF41C 28 04 00 00 */ cmplwi r4, 0 +/* 800C24C0 000BF420 41 82 00 0C */ beq lbl_800C24CC +/* 800C24C4 000BF424 80 05 00 00 */ lwz r0, 0(r5) +/* 800C24C8 000BF428 90 04 00 00 */ stw r0, 0(r4) +lbl_800C24CC: +/* 800C24CC 000BF42C 38 84 00 04 */ addi r4, r4, 4 +/* 800C24D0 000BF430 38 A5 00 04 */ addi r5, r5, 4 +/* 800C24D4 000BF434 42 00 FF E8 */ bdnz lbl_800C24BC +lbl_800C24D8: +/* 800C24D8 000BF438 90 7E 00 00 */ stw r3, 0(r30) +/* 800C24DC 000BF43C 7C 7A 1B 78 */ mr r26, r3 +/* 800C24E0 000BF440 80 1C 00 08 */ lwz r0, 8(r28) +/* 800C24E4 000BF444 7C 1E 00 40 */ cmplw r30, r0 +/* 800C24E8 000BF448 40 82 00 C0 */ bne lbl_800C25A8 +/* 800C24EC 000BF44C 90 7C 00 08 */ stw r3, 8(r28) +/* 800C24F0 000BF450 48 00 00 B8 */ b lbl_800C25A8 +lbl_800C24F4: +/* 800C24F4 000BF454 7C 1E 03 78 */ mr r30, r0 +/* 800C24F8 000BF458 48 00 00 B0 */ b lbl_800C25A8 +lbl_800C24FC: +/* 800C24FC 000BF45C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800C2500 000BF460 28 00 00 00 */ cmplwi r0, 0 +/* 800C2504 000BF464 40 82 00 A0 */ bne lbl_800C25A4 +/* 800C2508 000BF468 3C 80 80 3D */ lis r4, lbl_803CE018@ha +/* 800C250C 000BF46C 38 60 00 54 */ li r3, 0x54 +/* 800C2510 000BF470 38 84 E0 18 */ addi r4, r4, lbl_803CE018@l +/* 800C2514 000BF474 38 A0 00 00 */ li r5, 0 +/* 800C2518 000BF478 48 25 33 01 */ bl __nwa__FUlPCcPCc +/* 800C251C 000BF47C 28 03 00 00 */ cmplwi r3, 0 +/* 800C2520 000BF480 41 82 00 68 */ beq lbl_800C2588 +/* 800C2524 000BF484 38 80 00 00 */ li r4, 0 +/* 800C2528 000BF488 34 C3 00 10 */ addic. r6, r3, 0x10 +/* 800C252C 000BF48C 90 83 00 00 */ stw r4, 0(r3) +/* 800C2530 000BF490 38 00 00 01 */ li r0, 1 +/* 800C2534 000BF494 90 83 00 04 */ stw r4, 4(r3) +/* 800C2538 000BF498 93 C3 00 08 */ stw r30, 8(r3) +/* 800C253C 000BF49C 90 03 00 0C */ stw r0, 0xc(r3) +/* 800C2540 000BF4A0 41 82 00 48 */ beq lbl_800C2588 +/* 800C2544 000BF4A4 A0 1D 00 00 */ lhz r0, 0(r29) +/* 800C2548 000BF4A8 7F E5 FB 78 */ mr r5, r31 +/* 800C254C 000BF4AC 38 86 00 08 */ addi r4, r6, 8 +/* 800C2550 000BF4B0 B0 06 00 00 */ sth r0, 0(r6) +/* 800C2554 000BF4B4 80 1D 00 04 */ lwz r0, 4(r29) +/* 800C2558 000BF4B8 90 06 00 04 */ stw r0, 4(r6) +/* 800C255C 000BF4BC 80 06 00 04 */ lwz r0, 4(r6) +/* 800C2560 000BF4C0 7C 09 03 A6 */ mtctr r0 +/* 800C2564 000BF4C4 2C 00 00 00 */ cmpwi r0, 0 +/* 800C2568 000BF4C8 40 81 00 20 */ ble lbl_800C2588 +lbl_800C256C: +/* 800C256C 000BF4CC 28 04 00 00 */ cmplwi r4, 0 +/* 800C2570 000BF4D0 41 82 00 0C */ beq lbl_800C257C +/* 800C2574 000BF4D4 80 05 00 00 */ lwz r0, 0(r5) +/* 800C2578 000BF4D8 90 04 00 00 */ stw r0, 0(r4) +lbl_800C257C: +/* 800C257C 000BF4DC 38 84 00 04 */ addi r4, r4, 4 +/* 800C2580 000BF4E0 38 A5 00 04 */ addi r5, r5, 4 +/* 800C2584 000BF4E4 42 00 FF E8 */ bdnz lbl_800C256C +lbl_800C2588: +/* 800C2588 000BF4E8 90 7E 00 04 */ stw r3, 4(r30) +/* 800C258C 000BF4EC 7C 7A 1B 78 */ mr r26, r3 +/* 800C2590 000BF4F0 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 800C2594 000BF4F4 7C 1E 00 40 */ cmplw r30, r0 +/* 800C2598 000BF4F8 40 82 00 10 */ bne lbl_800C25A8 +/* 800C259C 000BF4FC 90 7C 00 0C */ stw r3, 0xc(r28) +/* 800C25A0 000BF500 48 00 00 08 */ b lbl_800C25A8 +lbl_800C25A4: +/* 800C25A4 000BF504 7C 1E 03 78 */ mr r30, r0 +lbl_800C25A8: +/* 800C25A8 000BF508 28 1A 00 00 */ cmplwi r26, 0 +/* 800C25AC 000BF50C 41 82 FE 64 */ beq lbl_800C2410 +/* 800C25B0 000BF510 80 BC 00 04 */ lwz r5, 4(r28) +/* 800C25B4 000BF514 7F 44 D3 78 */ mr r4, r26 +/* 800C25B8 000BF518 38 7C 00 08 */ addi r3, r28, 8 +/* 800C25BC 000BF51C 38 05 00 01 */ addi r0, r5, 1 +/* 800C25C0 000BF520 90 1C 00 04 */ stw r0, 4(r28) +/* 800C25C4 000BF524 48 27 A4 D5 */ bl rbtree_rebalance__4rstlFPvPv +/* 800C25C8 000BF528 93 5B 00 00 */ stw r26, 0(r27) +/* 800C25CC 000BF52C 38 1C 00 08 */ addi r0, r28, 8 +/* 800C25D0 000BF530 90 1B 00 04 */ stw r0, 4(r27) +/* 800C25D4 000BF534 88 0D 86 BE */ lbz r0, lbl_805A727E@sda21(r13) +/* 800C25D8 000BF538 98 1B 00 08 */ stb r0, 8(r27) +lbl_800C25DC: +/* 800C25DC 000BF53C BB 41 00 08 */ lmw r26, 8(r1) +/* 800C25E0 000BF540 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C25E4 000BF544 7C 08 03 A6 */ mtlr r0 +/* 800C25E8 000BF548 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C25EC 000BF54C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/main.s b/asm/Kyoto_CWD/main.s index e47b2557..506c0418 100644 --- a/asm/Kyoto_CWD/main.s +++ b/asm/Kyoto_CWD/main.s @@ -2,9 +2,14 @@ .section .bss -.global lbl_803F7560 -lbl_803F7560: - .skip 0x60168 +.global sGraphicsFifo +sGraphicsFifo: + .skip 0x60000 + +.global sMainSpace +sMainSpace: + .skip 0x168 + .global lbl_804576C8 lbl_804576C8: .skip 0xD0 @@ -5896,12 +5901,12 @@ __ct__18CGameGlobalObjectsFR10COsContextR10CMemorySys: /* 80007AF0 00004A50 38 9F 00 04 */ addi r4, r31, 4 /* 80007AF4 00004A54 48 33 8C E1 */ bl __ct__11CSimplePoolFR8IFactory /* 80007AF8 00004A58 38 7F 00 EC */ addi r3, r31, 0xec -/* 80007AFC 00004A5C 48 02 CE F1 */ bl __ct__24CCharacterFactoryBuilderFv_0 +/* 80007AFC 00004A5C 48 02 CE F1 */ bl __ct__24CCharacterFactoryBuilderFv /* 80007B00 00004A60 38 7F 01 10 */ addi r3, r31, 0x110 /* 80007B04 00004A64 48 09 B8 29 */ bl __ct__10CAiFuncMapFv -/* 80007B08 00004A68 3C 60 80 3F */ lis r3, lbl_803F7560@ha +/* 80007B08 00004A68 3C 60 80 3F */ lis r3, sGraphicsFifo@ha /* 80007B0C 00004A6C 7F A4 EB 78 */ mr r4, r29 -/* 80007B10 00004A70 38 E3 75 60 */ addi r7, r3, lbl_803F7560@l +/* 80007B10 00004A70 38 E3 75 60 */ addi r7, r3, sGraphicsFifo@l /* 80007B14 00004A74 7F C5 F3 78 */ mr r5, r30 /* 80007B18 00004A78 38 7F 01 30 */ addi r3, r31, 0x130 /* 80007B1C 00004A7C 3C C0 00 06 */ lis r6, 6 @@ -6634,8 +6639,8 @@ main: /* 80008524 00005484 38 60 00 01 */ li r3, 1 /* 80008528 00005488 48 36 C8 A5 */ bl DVDSetAutoFatalMessaging /* 8000852C 0000548C 48 2C E3 D1 */ bl SetErrorHandlers -/* 80008530 00005490 3C 60 80 45 */ lis r3, 0x8045 -/* 80008534 00005494 37 E3 75 60 */ addic. r31, r3, 0x7560 +/* 80008530 00005490 3C 60 80 45 */ lis r3, sMainSpace@ha +/* 80008534 00005494 37 E3 75 60 */ addic. r31, r3, sMainSpace@l /* 80008538 00005498 41 82 00 10 */ beq lbl_80008548 /* 8000853C 0000549C 7F E3 FB 78 */ mr r3, r31 /* 80008540 000054A0 4B FF FC C5 */ bl __ct__5CMainFv diff --git a/asm/bss.s b/asm/bss.s index a59dd820..abc2a9c0 100644 --- a/asm/bss.s +++ b/asm/bss.s @@ -2,27 +2,6 @@ .section .bss, "wa" # 0x803F7560 - 0x805A6BBF -.global lbl_80457908 -lbl_80457908: - .skip 0xC0 -.global lbl_804579C8 -lbl_804579C8: - .skip 0x20 -.global lbl_804579E8 -lbl_804579E8: - .skip 0x10 -.global lbl_804579F8 -lbl_804579F8: - .skip 0x18 -.global lbl_80457A10 -lbl_80457A10: - .skip 0x838 -.global lbl_80458248 -lbl_80458248: - .skip 0x108 -.global lbl_80458350 -lbl_80458350: - .skip 0x1E58 .global lbl_8045A1A8 lbl_8045A1A8: .skip 0xF98 diff --git a/asm/rodata.s b/asm/rodata.s index bd4b4cfb..eff7e86e 100644 --- a/asm/rodata.s +++ b/asm/rodata.s @@ -2,51 +2,6 @@ .section .rodata, "a" # 0x803CB3A0 - 0x803D8D60 -.global lbl_803CC420 -lbl_803CC420: - .incbin "baserom.dol", 0x3C9420, 0x18 -.global lbl_803CC438 -lbl_803CC438: - .incbin "baserom.dol", 0x3C9438, 0x30 -.global lbl_803CC468 -lbl_803CC468: - .incbin "baserom.dol", 0x3C9468, 0x30 -.global lbl_803CC498 -lbl_803CC498: - .incbin "baserom.dol", 0x3C9498, 0x30 -.global lbl_803CC4C8 -lbl_803CC4C8: - .incbin "baserom.dol", 0x3C94C8, 0x30 -.global lbl_803CC4F8 -lbl_803CC4F8: - .incbin "baserom.dol", 0x3C94F8, 0x48 -.global lbl_803CC540 -lbl_803CC540: - .incbin "baserom.dol", 0x3C9540, 0x84 -.global lbl_803CC5C4 -lbl_803CC5C4: - .incbin "baserom.dol", 0x3C95C4, 0xC -.global lbl_803CC5D0 -lbl_803CC5D0: - .incbin "baserom.dol", 0x3C95D0, 0xC -.global lbl_803CC5DC -lbl_803CC5DC: - .incbin "baserom.dol", 0x3C95DC, 0xC -.global lbl_803CC5E8 -lbl_803CC5E8: - .incbin "baserom.dol", 0x3C95E8, 0xC -.global lbl_803CC5F4 -lbl_803CC5F4: - .incbin "baserom.dol", 0x3C95F4, 0x28 -.global lbl_803CC61C -lbl_803CC61C: - .incbin "baserom.dol", 0x3C961C, 0x28 -.global lbl_803CC644 -lbl_803CC644: - .incbin "baserom.dol", 0x3C9644, 0x45C -.global lbl_803CCAA0 -lbl_803CCAA0: - .incbin "baserom.dol", 0x3C9AA0, 0x8 .global lbl_803CCAA8 lbl_803CCAA8: .incbin "baserom.dol", 0x3C9AA8, 0x10 diff --git a/asm/sbss.s b/asm/sbss.s index 1a9171bb..e1a273f5 100644 --- a/asm/sbss.s +++ b/asm/sbss.s @@ -2,63 +2,6 @@ .section .sbss, "wa" # 0x805A8C20 - 0x805A9D1F -# CPlayer -.global lbl_805A8C78 -lbl_805A8C78: - .skip 0x4 -.global lbl_805A8C7C -lbl_805A8C7C: - .skip 0x4 -.global lbl_805A8C80 -lbl_805A8C80: - .skip 0x1 -.global lbl_805A8C81 -lbl_805A8C81: - .skip 0x3 -.global lbl_805A8C84 -lbl_805A8C84: - .skip 0x4 -.global lbl_805A8C88 -lbl_805A8C88: - .skip 0x4 - -# TOneStatic -.global lbl_805A8C8C -lbl_805A8C8C: - .skip 0x4 -.global lbl_805A8C90 -lbl_805A8C90: - .skip 0x4 - -# TOneStatic -.global lbl_805A8C94 -lbl_805A8C94: - .skip 0x4 -.global lbl_805A8C98 -lbl_805A8C98: - .skip 0x4 - -# TOneStatic -.global lbl_805A8C9C -lbl_805A8C9C: - .skip 0x4 -.global lbl_805A8CA0 -lbl_805A8CA0: - .skip 0x4 - -# TOneStatic -.global lbl_805A8CA4 -lbl_805A8CA4: - .skip 0x4 -.global lbl_805A8CA8 -lbl_805A8CA8: - .skip 0x8 - -# CFrontEndUI -.global lbl_805A8CB0 -lbl_805A8CB0: - .skip 0x8 - # CMFGame .global lbl_805A8CB8 lbl_805A8CB8: diff --git a/asm/sdata.s b/asm/sdata.s index c27709fd..5c5b39c8 100644 --- a/asm/sdata.s +++ b/asm/sdata.s @@ -2,360 +2,6 @@ .section .sdata, "wa" # 0x805A6BC0 - 0x805A8C1C -.global lbl_805A6BF8 -lbl_805A6BF8: - # ROM: 0x3F4598 - .4byte 0 - -.global lbl_805A6BFC -lbl_805A6BFC: - # ROM: 0x3F459C - .4byte 0x3F800000 - -.global lbl_805A6C00 -lbl_805A6C00: - # ROM: 0x3F45A0 - .4byte 0 - -.global lbl_805A6C04 -lbl_805A6C04: - # ROM: 0x3F45A4 - .4byte 0x3F800000 - -.global lbl_805A6C08 -lbl_805A6C08: - # ROM: 0x3F45A8 - .4byte 0 - -.global lbl_805A6C0C -lbl_805A6C0C: - # ROM: 0x3F45AC - .4byte 0x3F800000 - -.global lbl_805A6C10 -lbl_805A6C10: - # ROM: 0x3F45B0 - .4byte 0 - -.global lbl_805A6C14 -lbl_805A6C14: - # ROM: 0x3F45B4 - .4byte 0x3F800000 - -.global lbl_805A6C18 -lbl_805A6C18: - # ROM: 0x3F45B8 - .4byte 0 - -.global lbl_805A6C1C -lbl_805A6C1C: - # ROM: 0x3F45BC - .4byte 0x3F800000 - -.global lbl_805A6C20 -lbl_805A6C20: - # ROM: 0x3F45C0 - .4byte 0 - -.global lbl_805A6C24 -lbl_805A6C24: - # ROM: 0x3F45C4 - .4byte 0x3F800000 - -.global lbl_805A6C28 -lbl_805A6C28: - # ROM: 0x3F45C8 - .4byte 0 - -.global lbl_805A6C2C -lbl_805A6C2C: - # ROM: 0x3F45CC - .4byte 0x3F800000 - -.global lbl_805A6C30 -lbl_805A6C30: - # ROM: 0x3F45D0 - .4byte 0 - -.global lbl_805A6C34 -lbl_805A6C34: - # ROM: 0x3F45D4 - .4byte 0x3F800000 - -.global lbl_805A6C38 -lbl_805A6C38: - # ROM: 0x3F45D8 - .4byte 0 - -.global lbl_805A6C3C -lbl_805A6C3C: - # ROM: 0x3F45DC - .4byte 0x3F800000 - -.global lbl_805A6C40 -lbl_805A6C40: - # ROM: 0x3F45E0 - .4byte 0 - -.global lbl_805A6C44 -lbl_805A6C44: - # ROM: 0x3F45E4 - .4byte 0x3F800000 - -.global lbl_805A6C48 -lbl_805A6C48: - # ROM: 0x3F45E8 - .4byte 0x00000013 - -.global lbl_805A6C4C -lbl_805A6C4C: - # ROM: 0x3F45EC - .4byte 0x00000011 - -.global lbl_805A6C50 -lbl_805A6C50: - # ROM: 0x3F45F0 - .4byte 0x00000035 - -.global lbl_805A6C54 -lbl_805A6C54: - # ROM: 0x3F45F4 - .4byte 0x0000000D - -.global lbl_805A6C58 -lbl_805A6C58: - # ROM: 0x3F45F8 - .4byte 0x00000032 - -.global lbl_805A6C5C -lbl_805A6C5C: - # ROM: 0x3F45FC - .4byte 0x00000005 - -.global lbl_805A6C60 -lbl_805A6C60: - # ROM: 0x3F4600 - .4byte 0x00000034 - -.global lbl_805A6C64 -lbl_805A6C64: - # ROM: 0x3F4604 - .4byte 0x00000009 - -.global lbl_805A6C68 -lbl_805A6C68: - # ROM: 0x3F4608 - .4byte 0x00000033 - -.global lbl_805A6C6C -lbl_805A6C6C: - # ROM: 0x3F460C - .4byte 0x41A00000 - -.global lbl_805A6C70 -lbl_805A6C70: - # ROM: 0x3F4610 - .4byte 0x42A00000 - -.global lbl_805A6C74 -lbl_805A6C74: - # ROM: 0x3F4614 - .4byte 0x42A00000 - -.global lbl_805A6C78 -lbl_805A6C78: - # ROM: 0x3F4618 - .4byte 0x43870000 - -.global lbl_805A6C7C -lbl_805A6C7C: - # ROM: 0x3F461C - .4byte 0 - -.global lbl_805A6C80 -lbl_805A6C80: - # ROM: 0x3F4620 - .4byte 0 - -.global lbl_805A6C84 -lbl_805A6C84: - # ROM: 0x3F4624 - .4byte 0x3F800000 - -.global lbl_805A6C88 -lbl_805A6C88: - # ROM: 0x3F4628 - .4byte 0x00000013 - -.global lbl_805A6C8C -lbl_805A6C8C: - # ROM: 0x3F462C - .4byte 0x3F800000 - -.global lbl_805A6C90 -lbl_805A6C90: - # ROM: 0x3F4630 - .4byte 0x00000013 - -.global lbl_805A6C94 -lbl_805A6C94: - # ROM: 0x3F4634 - .4byte 0x3F800000 - -.global lbl_805A6C98 -lbl_805A6C98: - # ROM: 0x3F4638 - .4byte 0 - -.global lbl_805A6C9C -lbl_805A6C9C: - # ROM: 0x3F463C - .4byte 0x3F800000 - -.global lbl_805A6CA0 -lbl_805A6CA0: - # ROM: 0x3F4640 - .4byte 0 - -.global lbl_805A6CA4 -lbl_805A6CA4: - # ROM: 0x3F4644 - .4byte 0x3F800000 - -.global lbl_805A6CA8 -lbl_805A6CA8: - # ROM: 0x3F4648 - .4byte 0 - -.global lbl_805A6CAC -lbl_805A6CAC: - # ROM: 0x3F464C - .4byte 0x3F800000 - -.global lbl_805A6CB0 -lbl_805A6CB0: - # ROM: 0x3F4650 - .4byte 0 - -.global lbl_805A6CB4 -lbl_805A6CB4: - # ROM: 0x3F4654 - .4byte 0x3F800000 - -.global lbl_805A6CB8 -lbl_805A6CB8: - # ROM: 0x3F4658 - .4byte 0x00000013 - -.global lbl_805A6CBC -lbl_805A6CBC: - # ROM: 0x3F465C - .4byte 0x3F800000 - -.global lbl_805A6CC0 -lbl_805A6CC0: - # ROM: 0x3F4660 - .4byte 0x00000007 - -.global lbl_805A6CC4 -lbl_805A6CC4: - # ROM: 0x3F4664 - .4byte 0x00000020 - -.global lbl_805A6CC8 -lbl_805A6CC8: - # ROM: 0x3F4668 - .4byte 0x00000013 - -.global lbl_805A6CCC -lbl_805A6CCC: - # ROM: 0x3F466C - .4byte 0 - -.global lbl_805A6CD0 -lbl_805A6CD0: - # ROM: 0x3F4670 - .4byte 0x3F800000 - -.global lbl_805A6CD4 -lbl_805A6CD4: - # ROM: 0x3F4674 - .4byte 0 - -.global lbl_805A6CD8 -lbl_805A6CD8: - # ROM: 0x3F4678 - .4byte 0 - -.global lbl_805A6CDC -lbl_805A6CDC: - # ROM: 0x3F467C - .4byte 0x3F800000 - -.global lbl_805A6CE0 -lbl_805A6CE0: - # ROM: 0x3F4680 - .4byte 0 - -.global lbl_805A6CE4 -lbl_805A6CE4: - # ROM: 0x3F4684 - .4byte 0 - -.global lbl_805A6CE8 -lbl_805A6CE8: - # ROM: 0x3F4688 - .4byte 0x3F800000 - -.global lbl_805A6CEC -lbl_805A6CEC: - # ROM: 0x3F468C - .4byte 0 - -.global lbl_805A6CF0 -lbl_805A6CF0: - # ROM: 0x3F4690 - .4byte 0x3F800000 - -.global lbl_805A6CF4 -lbl_805A6CF4: - # ROM: 0x3F4694 - .4byte 0 - -.global lbl_805A6CF8 -lbl_805A6CF8: - # ROM: 0x3F4698 - .4byte 0x3F800000 - -.global lbl_805A6CFC -lbl_805A6CFC: - # ROM: 0x3F469C - .4byte 0 - -.global lbl_805A6D00 -lbl_805A6D00: - # ROM: 0x3F46A0 - .4byte 0x3F800000 - -.global lbl_805A6D04 -lbl_805A6D04: - # ROM: 0x3F46A4 - .4byte 0x0000000C - -.global lbl_805A6D08 -lbl_805A6D08: - # ROM: 0x3F46A8 - .4byte 0x0000000B - -.global lbl_805A6D0C -lbl_805A6D0C: - # ROM: 0x3F46AC - .4byte 0x0000003F - .4byte 0x003F003F - .4byte 0x003F003F - .4byte 0x003F0000 - .4byte 0 - .global lbl_805A6D20 lbl_805A6D20: # ROM: 0x3F46C0 diff --git a/asm/sdata2.s b/asm/sdata2.s index 1768ab48..e8631277 100644 --- a/asm/sdata2.s +++ b/asm/sdata2.s @@ -2,58 +2,6 @@ .section .sdata2, "a" # 0x805A9D20 - 0x805AF45C -.global lbl_805A9DD0 -lbl_805A9DD0: - # ROM: 0x3F6670 - .4byte 0 - -.global lbl_805A9DD4 -lbl_805A9DD4: - # ROM: 0x3F6674 - .4byte 0x3F800000 - -.global lbl_805A9DD8 -lbl_805A9DD8: - # ROM: 0x3F6678 - .4byte 0x3727C5AC - .4byte 0 - -.global lbl_805A9DE0 -lbl_805A9DE0: - # ROM: 0x3F6680 - .4byte 0x3FF00000 - .4byte 0 - -.global lbl_805A9DE8 -lbl_805A9DE8: - # ROM: 0x3F6688 - .4byte 0xBF800000 - -.global lbl_805A9DEC -lbl_805A9DEC: - # ROM: 0x3F668C - .4byte 0x38D1B717 - -.global lbl_805A9DF0 -lbl_805A9DF0: - # ROM: 0x3F6690 - .4byte 0x40C90FDB - -.global lbl_805A9DF4 -lbl_805A9DF4: - # ROM: 0x3F6694 - .4byte 0x3F000000 - -.global lbl_805A9DF8 -lbl_805A9DF8: - # ROM: 0x3F6698 - .4byte 0x3E800000 - -.global lbl_805A9DFC -lbl_805A9DFC: - # ROM: 0x3F669C - .4byte 0x3F7FF972 - .global lbl_805A9E00 lbl_805A9E00: # ROM: 0x3F66A0 diff --git a/asm/text.s b/asm/text.s index 53a96a37..d4793f22 100644 --- a/asm/text.s +++ b/asm/text.s @@ -2,189301 +2,6 @@ .section .text, "ax" # 0x80003640 - 0x803CB1C0 -.global __dt__9CMainFlowFv -__dt__9CMainFlowFv: -/* 80023524 00020484 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80023528 00020488 7C 08 02 A6 */ mflr r0 -/* 8002352C 0002048C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80023530 00020490 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80023534 00020494 7C 9F 23 78 */ mr r31, r4 -/* 80023538 00020498 93 C1 00 08 */ stw r30, 8(r1) -/* 8002353C 0002049C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80023540 000204A0 41 82 00 28 */ beq lbl_80023568 -/* 80023544 000204A4 3C A0 80 3E */ lis r5, lbl_803D9928@ha -/* 80023548 000204A8 38 80 00 00 */ li r4, 0 -/* 8002354C 000204AC 38 05 99 28 */ addi r0, r5, lbl_803D9928@l -/* 80023550 000204B0 90 1E 00 00 */ stw r0, 0(r30) -/* 80023554 000204B4 48 02 F6 51 */ bl __dt__6CIOWinFv -/* 80023558 000204B8 7F E0 07 35 */ extsh. r0, r31 -/* 8002355C 000204BC 40 81 00 0C */ ble lbl_80023568 -/* 80023560 000204C0 7F C3 F3 78 */ mr r3, r30 -/* 80023564 000204C4 48 2F 23 CD */ bl Free__7CMemoryFPCv -lbl_80023568: -/* 80023568 000204C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002356C 000204CC 7F C3 F3 78 */ mr r3, r30 -/* 80023570 000204D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80023574 000204D4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80023578 000204D8 7C 08 03 A6 */ mtlr r0 -/* 8002357C 000204DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80023580 000204E0 4E 80 00 20 */ blr - -.global SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue -SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue: -/* 80023584 000204E4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80023588 000204E8 7C 08 02 A6 */ mflr r0 -/* 8002358C 000204EC 90 01 00 64 */ stw r0, 0x64(r1) -/* 80023590 000204F0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80023594 000204F4 7C BF 2B 78 */ mr r31, r5 -/* 80023598 000204F8 90 83 00 14 */ stw r4, 0x14(r3) -/* 8002359C 000204FC 80 03 00 14 */ lwz r0, 0x14(r3) -/* 800235A0 00020500 2C 00 00 0E */ cmpwi r0, 0xe -/* 800235A4 00020504 41 82 02 2C */ beq lbl_800237D0 -/* 800235A8 00020508 40 80 00 1C */ bge lbl_800235C4 -/* 800235AC 0002050C 2C 00 00 08 */ cmpwi r0, 8 -/* 800235B0 00020510 41 82 01 80 */ beq lbl_80023730 -/* 800235B4 00020514 40 80 02 8C */ bge lbl_80023840 -/* 800235B8 00020518 2C 00 00 07 */ cmpwi r0, 7 -/* 800235BC 0002051C 40 80 01 08 */ bge lbl_800236C4 -/* 800235C0 00020520 48 00 02 80 */ b lbl_80023840 -lbl_800235C4: -/* 800235C4 00020524 2C 00 00 10 */ cmpwi r0, 0x10 -/* 800235C8 00020528 40 80 02 78 */ bge lbl_80023840 -/* 800235CC 0002052C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 800235D0 00020530 38 00 00 00 */ li r0, 0 -/* 800235D4 00020534 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 800235D8 00020538 2C 03 00 01 */ cmpwi r3, 1 -/* 800235DC 0002053C 41 80 00 10 */ blt lbl_800235EC -/* 800235E0 00020540 2C 03 00 04 */ cmpwi r3, 4 -/* 800235E4 00020544 41 81 00 08 */ bgt lbl_800235EC -/* 800235E8 00020548 38 00 00 01 */ li r0, 1 -lbl_800235EC: -/* 800235EC 0002054C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800235F0 00020550 41 82 02 50 */ beq lbl_80023840 -/* 800235F4 00020554 2C 03 00 04 */ cmpwi r3, 4 -/* 800235F8 00020558 40 80 00 6C */ bge lbl_80023664 -/* 800235FC 0002055C 2C 03 00 01 */ cmpwi r3, 1 -/* 80023600 00020560 40 80 00 08 */ bge lbl_80023608 -/* 80023604 00020564 48 00 00 60 */ b lbl_80023664 -lbl_80023608: -/* 80023608 00020568 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha -/* 8002360C 0002056C 38 60 00 60 */ li r3, 0x60 -/* 80023610 00020570 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l -/* 80023614 00020574 38 A0 00 00 */ li r5, 0 -/* 80023618 00020578 48 2F 22 55 */ bl __nw__FUlPCcPCc -/* 8002361C 0002057C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80023620 00020580 41 82 00 0C */ beq lbl_8002362C -/* 80023624 00020584 48 00 2C 99 */ bl __ct__8CCreditsFv -/* 80023628 00020588 7C 60 1B 78 */ mr r0, r3 -lbl_8002362C: -/* 8002362C 0002058C 90 01 00 18 */ stw r0, 0x18(r1) -/* 80023630 00020590 38 61 00 4C */ addi r3, r1, 0x4c -/* 80023634 00020594 38 E1 00 18 */ addi r7, r1, 0x18 -/* 80023638 00020598 38 80 00 00 */ li r4, 0 -/* 8002363C 0002059C 38 AD 81 60 */ addi r5, r13, lbl_805A6D20@sda21 -/* 80023640 000205A0 38 CD 81 64 */ addi r6, r13, lbl_805A6D24@sda21 -/* 80023644 000205A4 48 02 E6 69 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin -/* 80023648 000205A8 7F E3 FB 78 */ mr r3, r31 -/* 8002364C 000205AC 38 81 00 4C */ addi r4, r1, 0x4c -/* 80023650 000205B0 4B FE 36 B1 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 80023654 000205B4 34 61 00 54 */ addic. r3, r1, 0x54 -/* 80023658 000205B8 41 82 01 E8 */ beq lbl_80023840 -/* 8002365C 000205BC 4B FE 50 B1 */ bl sub_8000870c -/* 80023660 000205C0 48 00 01 E0 */ b lbl_80023840 -lbl_80023664: -/* 80023664 000205C4 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha -/* 80023668 000205C8 38 60 00 7C */ li r3, 0x7c -/* 8002366C 000205CC 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l -/* 80023670 000205D0 38 A0 00 00 */ li r5, 0 -/* 80023674 000205D4 48 2F 21 F9 */ bl __nw__FUlPCcPCc -/* 80023678 000205D8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8002367C 000205DC 41 82 00 10 */ beq lbl_8002368C -/* 80023680 000205E0 38 80 00 03 */ li r4, 3 -/* 80023684 000205E4 48 00 40 E1 */ bl __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie -/* 80023688 000205E8 7C 60 1B 78 */ mr r0, r3 -lbl_8002368C: -/* 8002368C 000205EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80023690 000205F0 38 61 00 40 */ addi r3, r1, 0x40 -/* 80023694 000205F4 38 E1 00 14 */ addi r7, r1, 0x14 -/* 80023698 000205F8 38 80 00 00 */ li r4, 0 -/* 8002369C 000205FC 38 AD 81 68 */ addi r5, r13, lbl_805A6D28@sda21 -/* 800236A0 00020600 38 CD 81 6C */ addi r6, r13, lbl_805A6D2C@sda21 -/* 800236A4 00020604 48 02 E6 09 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin -/* 800236A8 00020608 7F E3 FB 78 */ mr r3, r31 -/* 800236AC 0002060C 38 81 00 40 */ addi r4, r1, 0x40 -/* 800236B0 00020610 4B FE 36 51 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 800236B4 00020614 34 61 00 48 */ addic. r3, r1, 0x48 -/* 800236B8 00020618 41 82 01 88 */ beq lbl_80023840 -/* 800236BC 0002061C 4B FE 50 51 */ bl sub_8000870c -/* 800236C0 00020620 48 00 01 80 */ b lbl_80023840 -lbl_800236C4: -/* 800236C4 00020624 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 800236C8 00020628 80 03 01 2C */ lwz r0, 0x12c(r3) -/* 800236CC 0002062C 2C 00 00 00 */ cmpwi r0, 0 -/* 800236D0 00020630 41 82 01 70 */ beq lbl_80023840 -/* 800236D4 00020634 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha -/* 800236D8 00020638 38 60 00 18 */ li r3, 0x18 -/* 800236DC 0002063C 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l -/* 800236E0 00020640 38 A0 00 00 */ li r5, 0 -/* 800236E4 00020644 48 2F 21 89 */ bl __nw__FUlPCcPCc -/* 800236E8 00020648 7C 60 1B 79 */ or. r0, r3, r3 -/* 800236EC 0002064C 41 82 00 0C */ beq lbl_800236F8 -/* 800236F0 00020650 48 27 AE F1 */ bl __ct__12CPreFrontEndFv -/* 800236F4 00020654 7C 60 1B 78 */ mr r0, r3 -lbl_800236F8: -/* 800236F8 00020658 90 01 00 10 */ stw r0, 0x10(r1) -/* 800236FC 0002065C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80023700 00020660 38 E1 00 10 */ addi r7, r1, 0x10 -/* 80023704 00020664 38 80 00 00 */ li r4, 0 -/* 80023708 00020668 38 AD 81 70 */ addi r5, r13, lbl_805A6D30@sda21 -/* 8002370C 0002066C 38 CD 81 74 */ addi r6, r13, lbl_805A6D34@sda21 -/* 80023710 00020670 48 02 E5 9D */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin -/* 80023714 00020674 7F E3 FB 78 */ mr r3, r31 -/* 80023718 00020678 38 81 00 34 */ addi r4, r1, 0x34 -/* 8002371C 0002067C 4B FE 35 E5 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 80023720 00020680 34 61 00 3C */ addic. r3, r1, 0x3c -/* 80023724 00020684 41 82 01 1C */ beq lbl_80023840 -/* 80023728 00020688 4B FE 4F E5 */ bl sub_8000870c -/* 8002372C 0002068C 48 00 01 14 */ b lbl_80023840 -lbl_80023730: -/* 80023730 00020690 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 80023734 00020694 80 03 01 2C */ lwz r0, 0x12c(r3) -/* 80023738 00020698 2C 00 00 00 */ cmpwi r0, 0 -/* 8002373C 0002069C 41 82 01 04 */ beq lbl_80023840 -/* 80023740 000206A0 2C 00 00 06 */ cmpwi r0, 6 -/* 80023744 000206A4 40 82 00 30 */ bne lbl_80023774 -/* 80023748 000206A8 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha -/* 8002374C 000206AC 38 60 00 14 */ li r3, 0x14 -/* 80023750 000206B0 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l -/* 80023754 000206B4 38 A0 00 00 */ li r5, 0 -/* 80023758 000206B8 48 2F 21 15 */ bl __nw__FUlPCcPCc -/* 8002375C 000206BC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80023760 000206C0 41 82 00 0C */ beq lbl_8002376C -/* 80023764 000206C4 4B FF E3 35 */ bl __ct__16CStateSetterFlowFv -/* 80023768 000206C8 7C 60 1B 78 */ mr r0, r3 -lbl_8002376C: -/* 8002376C 000206CC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80023770 000206D0 48 00 00 2C */ b lbl_8002379C -lbl_80023774: -/* 80023774 000206D4 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha -/* 80023778 000206D8 38 60 00 F8 */ li r3, 0xf8 -/* 8002377C 000206DC 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l -/* 80023780 000206E0 38 A0 00 00 */ li r5, 0 -/* 80023784 000206E4 48 2F 20 E9 */ bl __nw__FUlPCcPCc -/* 80023788 000206E8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8002378C 000206EC 41 82 00 0C */ beq lbl_80023798 -/* 80023790 000206F0 4B FF A4 49 */ bl __ct__11CFrontEndUIFR18CArchitectureQueue -/* 80023794 000206F4 7C 60 1B 78 */ mr r0, r3 -lbl_80023798: -/* 80023798 000206F8 90 01 00 0C */ stw r0, 0xc(r1) -lbl_8002379C: -/* 8002379C 000206FC 38 61 00 28 */ addi r3, r1, 0x28 -/* 800237A0 00020700 38 E1 00 0C */ addi r7, r1, 0xc -/* 800237A4 00020704 38 80 00 00 */ li r4, 0 -/* 800237A8 00020708 38 AD 81 78 */ addi r5, r13, lbl_805A6D38@sda21 -/* 800237AC 0002070C 38 CD 81 7C */ addi r6, r13, lbl_805A6D3C@sda21 -/* 800237B0 00020710 48 02 E4 FD */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin -/* 800237B4 00020714 7F E3 FB 78 */ mr r3, r31 -/* 800237B8 00020718 38 81 00 28 */ addi r4, r1, 0x28 -/* 800237BC 0002071C 4B FE 35 45 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 800237C0 00020720 34 61 00 30 */ addic. r3, r1, 0x30 -/* 800237C4 00020724 41 82 00 7C */ beq lbl_80023840 -/* 800237C8 00020728 4B FE 4F 45 */ bl sub_8000870c -/* 800237CC 0002072C 48 00 00 74 */ b lbl_80023840 -lbl_800237D0: -/* 800237D0 00020730 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800237D4 00020734 38 63 01 7C */ addi r3, r3, 0x17c -/* 800237D8 00020738 48 1E B9 25 */ bl EnsureOptions__12CGameOptionsFv -/* 800237DC 0002073C 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha -/* 800237E0 00020740 38 60 00 30 */ li r3, 0x30 -/* 800237E4 00020744 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l -/* 800237E8 00020748 38 A0 00 00 */ li r5, 0 -/* 800237EC 0002074C 48 2F 20 81 */ bl __nw__FUlPCcPCc -/* 800237F0 00020750 7C 64 1B 79 */ or. r4, r3, r3 -/* 800237F4 00020754 41 82 00 0C */ beq lbl_80023800 -/* 800237F8 00020758 48 00 09 9D */ bl __ct__13CMFGameLoaderFv -/* 800237FC 0002075C 7C 64 1B 78 */ mr r4, r3 -lbl_80023800: -/* 80023800 00020760 80 AD A0 78 */ lwz r5, gpMain@sda21(r13) -/* 80023804 00020764 38 00 00 05 */ li r0, 5 -/* 80023808 00020768 90 81 00 08 */ stw r4, 8(r1) -/* 8002380C 0002076C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80023810 00020770 38 E1 00 08 */ addi r7, r1, 8 -/* 80023814 00020774 38 80 00 00 */ li r4, 0 -/* 80023818 00020778 90 05 01 2C */ stw r0, 0x12c(r5) -/* 8002381C 0002077C 38 AD 81 80 */ addi r5, r13, lbl_805A6D40@sda21 -/* 80023820 00020780 38 CD 81 84 */ addi r6, r13, lbl_805A6D44@sda21 -/* 80023824 00020784 48 02 E4 89 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin -/* 80023828 00020788 7F E3 FB 78 */ mr r3, r31 -/* 8002382C 0002078C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80023830 00020790 4B FE 34 D1 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 80023834 00020794 34 61 00 24 */ addic. r3, r1, 0x24 -/* 80023838 00020798 41 82 00 08 */ beq lbl_80023840 -/* 8002383C 0002079C 4B FE 4E D1 */ bl sub_8000870c -lbl_80023840: -/* 80023840 000207A0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80023844 000207A4 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80023848 000207A8 7C 08 03 A6 */ mtlr r0 -/* 8002384C 000207AC 38 21 00 60 */ addi r1, r1, 0x60 -/* 80023850 000207B0 4E 80 00 20 */ blr - -.global AdvanceGameState__9CMainFlowFR18CArchitectureQueue -AdvanceGameState__9CMainFlowFR18CArchitectureQueue: -/* 80023854 000207B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80023858 000207B8 7C 08 02 A6 */ mflr r0 -/* 8002385C 000207BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80023860 000207C0 80 A3 00 14 */ lwz r5, 0x14(r3) -/* 80023864 000207C4 38 05 00 01 */ addi r0, r5, 1 -/* 80023868 000207C8 28 00 00 10 */ cmplwi r0, 0x10 -/* 8002386C 000207CC 41 81 00 80 */ bgt lbl_800238EC -/* 80023870 000207D0 3C A0 80 3E */ lis r5, lbl_803D9944@ha -/* 80023874 000207D4 54 00 10 3A */ slwi r0, r0, 2 -/* 80023878 000207D8 38 A5 99 44 */ addi r5, r5, lbl_803D9944@l -/* 8002387C 000207DC 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80023880 000207E0 7C 09 03 A6 */ mtctr r0 -/* 80023884 000207E4 4E 80 04 20 */ bctr -/* 80023888 000207E8 7C 85 23 78 */ mr r5, r4 -/* 8002388C 000207EC 38 80 00 0F */ li r4, 0xf -/* 80023890 000207F0 4B FF FC F5 */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue -/* 80023894 000207F4 48 00 00 58 */ b lbl_800238EC -/* 80023898 000207F8 7C 85 23 78 */ mr r5, r4 -/* 8002389C 000207FC 38 80 00 08 */ li r4, 8 -/* 800238A0 00020800 4B FF FC E5 */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue -/* 800238A4 00020804 48 00 00 48 */ b lbl_800238EC -/* 800238A8 00020808 7C 85 23 78 */ mr r5, r4 -/* 800238AC 0002080C 38 80 00 0E */ li r4, 0xe -/* 800238B0 00020810 4B FF FC D5 */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue -/* 800238B4 00020814 48 00 00 38 */ b lbl_800238EC -/* 800238B8 00020818 80 CD A0 78 */ lwz r6, gpMain@sda21(r13) -/* 800238BC 0002081C 80 06 01 2C */ lwz r0, 0x12c(r6) -/* 800238C0 00020820 2C 00 00 00 */ cmpwi r0, 0 -/* 800238C4 00020824 41 82 00 1C */ beq lbl_800238E0 -/* 800238C8 00020828 2C 00 00 06 */ cmpwi r0, 6 -/* 800238CC 0002082C 41 82 00 14 */ beq lbl_800238E0 -/* 800238D0 00020830 88 06 01 60 */ lbz r0, 0x160(r6) -/* 800238D4 00020834 38 A0 00 01 */ li r5, 1 -/* 800238D8 00020838 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 800238DC 0002083C 98 06 01 60 */ stb r0, 0x160(r6) -lbl_800238E0: -/* 800238E0 00020840 7C 85 23 78 */ mr r5, r4 -/* 800238E4 00020844 38 80 00 07 */ li r4, 7 -/* 800238E8 00020848 4B FF FC 9D */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue -lbl_800238EC: -/* 800238EC 0002084C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800238F0 00020850 7C 08 03 A6 */ mtlr r0 -/* 800238F4 00020854 38 21 00 10 */ addi r1, r1, 0x10 -/* 800238F8 00020858 4E 80 00 20 */ blr - -.global Draw__9CMainFlowCFv -Draw__9CMainFlowCFv: -/* 800238FC 0002085C 4E 80 00 20 */ blr - -.global GetIsContinueDraw__9CMainFlowCFv -GetIsContinueDraw__9CMainFlowCFv: -/* 80023900 00020860 38 60 00 00 */ li r3, 0 -/* 80023904 00020864 4E 80 00 20 */ blr - -.global OnMessage__9CMainFlowFRC20CArchitectureMessageR18CArchitectureQueue -OnMessage__9CMainFlowFRC20CArchitectureMessageR18CArchitectureQueue: -/* 80023908 00020868 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002390C 0002086C 7C 08 02 A6 */ mflr r0 -/* 80023910 00020870 90 01 00 24 */ stw r0, 0x24(r1) -/* 80023914 00020874 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80023918 00020878 7C BF 2B 78 */ mr r31, r5 -/* 8002391C 0002087C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80023920 00020880 7C 7E 1B 78 */ mr r30, r3 -/* 80023924 00020884 80 04 00 04 */ lwz r0, 4(r4) -/* 80023928 00020888 2C 00 00 05 */ cmpwi r0, 5 -/* 8002392C 0002088C 41 82 00 74 */ beq lbl_800239A0 -/* 80023930 00020890 40 80 00 10 */ bge lbl_80023940 -/* 80023934 00020894 2C 00 00 04 */ cmpwi r0, 4 -/* 80023938 00020898 40 80 00 14 */ bge lbl_8002394C -/* 8002393C 0002089C 48 00 00 64 */ b lbl_800239A0 -lbl_80023940: -/* 80023940 000208A0 2C 00 00 07 */ cmpwi r0, 7 -/* 80023944 000208A4 40 80 00 5C */ bge lbl_800239A0 -/* 80023948 000208A8 48 00 00 10 */ b lbl_80023958 -lbl_8002394C: -/* 8002394C 000208AC 7F E4 FB 78 */ mr r4, r31 -/* 80023950 000208B0 4B FF FF 05 */ bl AdvanceGameState__9CMainFlowFR18CArchitectureQueue -/* 80023954 000208B4 48 00 00 4C */ b lbl_800239A0 -lbl_80023958: -/* 80023958 000208B8 7C 83 23 78 */ mr r3, r4 -/* 8002395C 000208BC 48 02 E1 7D */ bl GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage -/* 80023960 000208C0 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha -/* 80023964 000208C4 3C 80 80 3E */ lis r4, lbl_803D9E50@ha -/* 80023968 000208C8 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l -/* 8002396C 000208CC 90 01 00 08 */ stw r0, 8(r1) -/* 80023970 000208D0 38 04 9E 50 */ addi r0, r4, lbl_803D9E50@l -/* 80023974 000208D4 7F E5 FB 78 */ mr r5, r31 -/* 80023978 000208D8 90 01 00 08 */ stw r0, 8(r1) -/* 8002397C 000208DC 80 83 00 04 */ lwz r4, 4(r3) -/* 80023980 000208E0 7F C3 F3 78 */ mr r3, r30 -/* 80023984 000208E4 90 81 00 0C */ stw r4, 0xc(r1) -/* 80023988 000208E8 4B FF FB FD */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue -/* 8002398C 000208EC 38 61 00 08 */ addi r3, r1, 8 -/* 80023990 000208F0 38 80 FF FF */ li r4, -1 -/* 80023994 000208F4 48 02 DC 35 */ bl __dt__17CArchMsgParmInt32Fv -/* 80023998 000208F8 38 60 00 01 */ li r3, 1 -/* 8002399C 000208FC 48 00 00 08 */ b lbl_800239A4 -lbl_800239A0: -/* 800239A0 00020900 38 60 00 00 */ li r3, 0 -lbl_800239A4: -/* 800239A4 00020904 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800239A8 00020908 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800239AC 0002090C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800239B0 00020910 7C 08 03 A6 */ mtlr r0 -/* 800239B4 00020914 38 21 00 20 */ addi r1, r1, 0x20 -/* 800239B8 00020918 4E 80 00 20 */ blr - -.global __ct__9CMainFlowFv -__ct__9CMainFlowFv: -/* 800239BC 0002091C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800239C0 00020920 7C 08 02 A6 */ mflr r0 -/* 800239C4 00020924 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha -/* 800239C8 00020928 90 01 00 24 */ stw r0, 0x24(r1) -/* 800239CC 0002092C 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l -/* 800239D0 00020930 38 84 00 07 */ addi r4, r4, 7 -/* 800239D4 00020934 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800239D8 00020938 7C 7F 1B 78 */ mr r31, r3 -/* 800239DC 0002093C 38 61 00 08 */ addi r3, r1, 8 -/* 800239E0 00020940 4B FE 12 D9 */ bl string_l__4rstlFPCc -/* 800239E4 00020944 7F E3 FB 78 */ mr r3, r31 -/* 800239E8 00020948 38 81 00 08 */ addi r4, r1, 8 -/* 800239EC 0002094C 48 02 F2 21 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800239F0 00020950 38 61 00 08 */ addi r3, r1, 8 -/* 800239F4 00020954 48 31 A0 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800239F8 00020958 3C 60 80 3E */ lis r3, lbl_803D9928@ha -/* 800239FC 0002095C 38 00 FF FF */ li r0, -1 -/* 80023A00 00020960 38 83 99 28 */ addi r4, r3, lbl_803D9928@l -/* 80023A04 00020964 7F E3 FB 78 */ mr r3, r31 -/* 80023A08 00020968 90 9F 00 00 */ stw r4, 0(r31) -/* 80023A0C 0002096C 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80023A10 00020970 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80023A14 00020974 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80023A18 00020978 7C 08 03 A6 */ mtlr r0 -/* 80023A1C 0002097C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80023A20 00020980 4E 80 00 20 */ blr - -.global Draw__13CMFGameLoaderCFv -Draw__13CMFGameLoaderCFv: -/* 80023A24 00020984 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80023A28 00020988 7C 08 02 A6 */ mflr r0 -/* 80023A2C 0002098C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80023A30 00020990 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80023A34 00020994 48 1A FE E5 */ bl WorldTransitionManager__10CGameStateFv -/* 80023A38 00020998 80 63 00 00 */ lwz r3, 0(r3) -/* 80023A3C 0002099C 80 63 00 00 */ lwz r3, 0(r3) -/* 80023A40 000209A0 48 1E 6D 3D */ bl Draw__18CWorldTransManagerCFv -/* 80023A44 000209A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80023A48 000209A8 7C 08 03 A6 */ mtlr r0 -/* 80023A4C 000209AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80023A50 000209B0 4E 80 00 20 */ blr - -.global OnMessage__13CMFGameLoaderFRC20CArchitectureMessageR18CArchitectureQueue -OnMessage__13CMFGameLoaderFRC20CArchitectureMessageR18CArchitectureQueue: -/* 80023A54 000209B4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80023A58 000209B8 7C 08 02 A6 */ mflr r0 -/* 80023A5C 000209BC 90 01 00 74 */ stw r0, 0x74(r1) -/* 80023A60 000209C0 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80023A64 000209C4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80023A68 000209C8 BF 01 00 40 */ stmw r24, 0x40(r1) -/* 80023A6C 000209CC 7C 7D 1B 78 */ mr r29, r3 -/* 80023A70 000209D0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80023A74 000209D4 7C 98 23 78 */ mr r24, r4 -/* 80023A78 000209D8 7C BE 2B 78 */ mr r30, r5 -/* 80023A7C 000209DC 48 1A FE 9D */ bl WorldTransitionManager__10CGameStateFv -/* 80023A80 000209E0 80 18 00 04 */ lwz r0, 4(r24) -/* 80023A84 000209E4 7C 7F 1B 78 */ mr r31, r3 -/* 80023A88 000209E8 2C 00 00 04 */ cmpwi r0, 4 -/* 80023A8C 000209EC 40 82 03 58 */ bne lbl_80023DE4 -/* 80023A90 000209F0 7F 03 C3 78 */ mr r3, r24 -/* 80023A94 000209F4 48 02 E1 29 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage -/* 80023A98 000209F8 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 80023A9C 000209FC C3 E3 00 04 */ lfs f31, 4(r3) -/* 80023AA0 00020A00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80023AA4 00020A04 40 82 00 A4 */ bne lbl_80023B48 -/* 80023AA8 00020A08 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 80023AAC 00020A0C 2C 00 00 00 */ cmpwi r0, 0 -/* 80023AB0 00020A10 40 82 00 20 */ bne lbl_80023AD0 -/* 80023AB4 00020A14 7F A3 EB 78 */ mr r3, r29 -/* 80023AB8 00020A18 48 00 04 2D */ bl MakeLoadDependancyList__13CMFGameLoaderFv -/* 80023ABC 00020A1C 80 7F 00 00 */ lwz r3, 0(r31) -/* 80023AC0 00020A20 80 63 00 00 */ lwz r3, 0(r3) -/* 80023AC4 00020A24 48 1E 70 B5 */ bl StartTransition__18CWorldTransManagerFv -/* 80023AC8 00020A28 38 60 00 01 */ li r3, 1 -/* 80023ACC 00020A2C 48 00 03 FC */ b lbl_80023EC8 -lbl_80023AD0: -/* 80023AD0 00020A30 83 3D 00 28 */ lwz r25, 0x28(r29) -/* 80023AD4 00020A34 3B 40 00 00 */ li r26, 0 -/* 80023AD8 00020A38 48 00 00 24 */ b lbl_80023AFC -lbl_80023ADC: -/* 80023ADC 00020A3C 7F 23 CB 78 */ mr r3, r25 -/* 80023AE0 00020A40 48 31 D2 A5 */ bl Lock__6CTokenFv -/* 80023AE4 00020A44 80 79 00 00 */ lwz r3, 0(r25) -/* 80023AE8 00020A48 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80023AEC 00020A4C 28 00 00 00 */ cmplwi r0, 0 -/* 80023AF0 00020A50 40 82 00 08 */ bne lbl_80023AF8 -/* 80023AF4 00020A54 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80023AF8: -/* 80023AF8 00020A58 3B 39 00 08 */ addi r25, r25, 8 -lbl_80023AFC: -/* 80023AFC 00020A5C 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 80023B00 00020A60 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80023B04 00020A64 54 00 18 38 */ slwi r0, r0, 3 -/* 80023B08 00020A68 7C 03 02 14 */ add r0, r3, r0 -/* 80023B0C 00020A6C 7C 19 00 40 */ cmplw r25, r0 -/* 80023B10 00020A70 40 82 FF CC */ bne lbl_80023ADC -/* 80023B14 00020A74 80 7F 00 00 */ lwz r3, 0(r31) -/* 80023B18 00020A78 FC 20 F8 90 */ fmr f1, f31 -/* 80023B1C 00020A7C 80 63 00 00 */ lwz r3, 0(r3) -/* 80023B20 00020A80 48 1E 6F D5 */ bl Update__18CWorldTransManagerFf -/* 80023B24 00020A84 2C 1A 00 00 */ cmpwi r26, 0 -/* 80023B28 00020A88 41 82 00 0C */ beq lbl_80023B34 -/* 80023B2C 00020A8C 38 60 00 01 */ li r3, 1 -/* 80023B30 00020A90 48 00 03 98 */ b lbl_80023EC8 -lbl_80023B34: -/* 80023B34 00020A94 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 80023B38 00020A98 38 60 00 01 */ li r3, 1 -/* 80023B3C 00020A9C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80023B40 00020AA0 98 1D 00 2C */ stb r0, 0x2c(r29) -/* 80023B44 00020AA4 48 00 00 14 */ b lbl_80023B58 -lbl_80023B48: -/* 80023B48 00020AA8 80 7F 00 00 */ lwz r3, 0(r31) -/* 80023B4C 00020AAC FC 20 F8 90 */ fmr f1, f31 -/* 80023B50 00020AB0 80 63 00 00 */ lwz r3, 0(r3) -/* 80023B54 00020AB4 48 1E 6F A1 */ bl Update__18CWorldTransManagerFf -lbl_80023B58: -/* 80023B58 00020AB8 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80023B5C 00020ABC 80 03 00 00 */ lwz r0, 0(r3) -/* 80023B60 00020AC0 28 00 00 00 */ cmplwi r0, 0 -/* 80023B64 00020AC4 40 82 00 F0 */ bne lbl_80023C54 -/* 80023B68 00020AC8 80 7F 00 00 */ lwz r3, 0(r31) -/* 80023B6C 00020ACC 80 63 00 00 */ lwz r3, 0(r3) -/* 80023B70 00020AD0 48 1E 52 A9 */ bl WaitForModelsAndTextures__18CWorldTransManagerFv -/* 80023B74 00020AD4 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80023B78 00020AD8 48 1A FE 35 */ bl CurrentWorldState__10CGameStateFv -/* 80023B7C 00020ADC 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha -/* 80023B80 00020AE0 7C 60 1B 78 */ mr r0, r3 -/* 80023B84 00020AE4 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l -/* 80023B88 00020AE8 38 60 0F 98 */ li r3, 0xf98 -/* 80023B8C 00020AEC 7C 18 03 78 */ mr r24, r0 -/* 80023B90 00020AF0 38 A0 00 00 */ li r5, 0 -/* 80023B94 00020AF4 38 84 00 2A */ addi r4, r4, 0x2a -/* 80023B98 00020AF8 48 00 15 45 */ bl "__nw__27TOneStatic<13CStateManager>FUlPCcPCc" -/* 80023B9C 00020AFC 7C 79 1B 79 */ or. r25, r3, r3 -/* 80023BA0 00020B00 41 82 00 50 */ beq lbl_80023BF0 -/* 80023BA4 00020B04 7F 03 C3 78 */ mr r3, r24 -/* 80023BA8 00020B08 48 1B 11 8D */ bl GetLayerState__11CWorldStateFv -/* 80023BAC 00020B0C 7C 7A 1B 78 */ mr r26, r3 -/* 80023BB0 00020B10 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80023BB4 00020B14 48 1A FD 89 */ bl PlayerState__10CGameStateFv -/* 80023BB8 00020B18 7C 7B 1B 78 */ mr r27, r3 -/* 80023BBC 00020B1C 7F 03 C3 78 */ mr r3, r24 -/* 80023BC0 00020B20 48 1B 11 C1 */ bl MapWorldInfo__11CWorldStateFv -/* 80023BC4 00020B24 7C 7C 1B 78 */ mr r28, r3 -/* 80023BC8 00020B28 7F 03 C3 78 */ mr r3, r24 -/* 80023BCC 00020B2C 48 1B 11 BD */ bl Mailbox__11CWorldStateFv -/* 80023BD0 00020B30 7C 64 1B 78 */ mr r4, r3 -/* 80023BD4 00020B34 7F 23 CB 78 */ mr r3, r25 -/* 80023BD8 00020B38 7F 85 E3 78 */ mr r5, r28 -/* 80023BDC 00020B3C 7F 66 DB 78 */ mr r6, r27 -/* 80023BE0 00020B40 7F E7 FB 78 */ mr r7, r31 -/* 80023BE4 00020B44 7F 48 D3 78 */ mr r8, r26 -/* 80023BE8 00020B48 48 02 A5 4D */ bl "__ct__13CStateManagerFRCQ24rstl26ncrc_ptr<14CScriptMailbox>RCQ24rstl25ncrc_ptr<13CMapWorldInfo>RCQ24rstl24ncrc_ptr<12CPlayerState>RCQ24rstl30ncrc_ptr<18CWorldTransManager>" -/* 80023BEC 00020B4C 7C 79 1B 78 */ mr r25, r3 -lbl_80023BF0: -/* 80023BF0 00020B50 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha -/* 80023BF4 00020B54 38 60 00 08 */ li r3, 8 -/* 80023BF8 00020B58 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l -/* 80023BFC 00020B5C 38 A0 00 00 */ li r5, 0 -/* 80023C00 00020B60 38 84 00 2A */ addi r4, r4, 0x2a -/* 80023C04 00020B64 48 2F 1C 69 */ bl __nw__FUlPCcPCc -/* 80023C08 00020B68 28 03 00 00 */ cmplwi r3, 0 -/* 80023C0C 00020B6C 41 82 00 10 */ beq lbl_80023C1C -/* 80023C10 00020B70 93 23 00 00 */ stw r25, 0(r3) -/* 80023C14 00020B74 38 00 00 01 */ li r0, 1 -/* 80023C18 00020B78 90 03 00 04 */ stw r0, 4(r3) -lbl_80023C1C: -/* 80023C1C 00020B7C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80023C20 00020B80 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 80023C24 00020B84 7C 00 18 40 */ cmplw r0, r3 -/* 80023C28 00020B88 41 82 00 24 */ beq lbl_80023C4C -/* 80023C2C 00020B8C 38 7D 00 14 */ addi r3, r29, 0x14 -/* 80023C30 00020B90 48 00 14 51 */ bl sub_80025080 -/* 80023C34 00020B94 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80023C38 00020B98 90 1D 00 14 */ stw r0, 0x14(r29) -/* 80023C3C 00020B9C 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 80023C40 00020BA0 80 64 00 04 */ lwz r3, 4(r4) -/* 80023C44 00020BA4 38 03 00 01 */ addi r0, r3, 1 -/* 80023C48 00020BA8 90 04 00 04 */ stw r0, 4(r4) -lbl_80023C4C: -/* 80023C4C 00020BAC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80023C50 00020BB0 48 00 14 31 */ bl sub_80025080 -lbl_80023C54: -/* 80023C54 00020BB4 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80023C58 00020BB8 80 63 00 00 */ lwz r3, 0(r3) -/* 80023C5C 00020BBC 80 03 0B 3C */ lwz r0, 0xb3c(r3) -/* 80023C60 00020BC0 2C 00 00 02 */ cmpwi r0, 2 -/* 80023C64 00020BC4 41 82 00 60 */ beq lbl_80023CC4 -/* 80023C68 00020BC8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80023C6C 00020BCC 48 1A FD 41 */ bl CurrentWorldState__10CGameStateFv -/* 80023C70 00020BD0 7C 60 1B 78 */ mr r0, r3 -/* 80023C74 00020BD4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80023C78 00020BD8 7C 18 03 78 */ mr r24, r0 -/* 80023C7C 00020BDC 7F 04 C3 78 */ mr r4, r24 -/* 80023C80 00020BE0 48 1B 10 D9 */ bl GetCurrentArea__11CWorldStateCFv -/* 80023C84 00020BE4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80023C88 00020BE8 7F 03 C3 78 */ mr r3, r24 -/* 80023C8C 00020BEC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80023C90 00020BF0 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 80023C94 00020BF4 83 24 00 00 */ lwz r25, 0(r4) -/* 80023C98 00020BF8 48 1B 10 AD */ bl GetDesiredAreaAssetId__11CWorldStateCFv -/* 80023C9C 00020BFC 7C 7D 1B 78 */ mr r29, r3 -/* 80023CA0 00020C00 7F 03 C3 78 */ mr r3, r24 -/* 80023CA4 00020C04 48 1B 10 ED */ bl GetWorldAssetId__11CWorldStateCFv -/* 80023CA8 00020C08 7C 64 1B 78 */ mr r4, r3 -/* 80023CAC 00020C0C 7F 23 CB 78 */ mr r3, r25 -/* 80023CB0 00020C10 7F A6 EB 78 */ mr r6, r29 -/* 80023CB4 00020C14 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80023CB8 00020C18 48 02 78 E1 */ bl InitializeState__13CStateManagerFUi7TAreaIdUi -/* 80023CBC 00020C1C 38 60 00 01 */ li r3, 1 -/* 80023CC0 00020C20 48 00 02 08 */ b lbl_80023EC8 -lbl_80023CC4: -/* 80023CC4 00020C24 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80023CC8 00020C28 80 03 00 00 */ lwz r0, 0(r3) -/* 80023CCC 00020C2C 28 00 00 00 */ cmplwi r0, 0 -/* 80023CD0 00020C30 40 82 00 80 */ bne lbl_80023D50 -/* 80023CD4 00020C34 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80023CD8 00020C38 48 1A FC D5 */ bl CurrentWorldState__10CGameStateFv -/* 80023CDC 00020C3C 38 80 FF FF */ li r4, -1 -/* 80023CE0 00020C40 48 1B 10 5D */ bl SetDesiredAreaAssetId__11CWorldStateFUi -/* 80023CE4 00020C44 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha -/* 80023CE8 00020C48 38 60 01 FC */ li r3, 0x1fc -/* 80023CEC 00020C4C 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l -/* 80023CF0 00020C50 38 A0 00 00 */ li r5, 0 -/* 80023CF4 00020C54 38 84 00 2A */ addi r4, r4, 0x2a -/* 80023CF8 00020C58 48 2F 1B 75 */ bl __nw__FUlPCcPCc -/* 80023CFC 00020C5C 7C 79 1B 79 */ or. r25, r3, r3 -/* 80023D00 00020C60 41 82 00 18 */ beq lbl_80023D18 -/* 80023D04 00020C64 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 80023D08 00020C68 7F C5 F3 78 */ mr r5, r30 -/* 80023D0C 00020C6C 80 84 00 00 */ lwz r4, 0(r4) -/* 80023D10 00020C70 48 0E 63 79 */ bl __ct__17CInGameGuiManagerFRC13CStateManagerR18CArchitectureQueue -/* 80023D14 00020C74 7C 79 1B 78 */ mr r25, r3 -lbl_80023D18: -/* 80023D18 00020C78 38 7D 00 18 */ addi r3, r29, 0x18 -/* 80023D1C 00020C7C 48 00 13 09 */ bl sub_80025024 -/* 80023D20 00020C80 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha -/* 80023D24 00020C84 38 60 00 08 */ li r3, 8 -/* 80023D28 00020C88 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l -/* 80023D2C 00020C8C 38 A0 00 00 */ li r5, 0 -/* 80023D30 00020C90 38 84 00 2A */ addi r4, r4, 0x2a -/* 80023D34 00020C94 48 2F 1B 39 */ bl __nw__FUlPCcPCc -/* 80023D38 00020C98 28 03 00 00 */ cmplwi r3, 0 -/* 80023D3C 00020C9C 41 82 00 10 */ beq lbl_80023D4C -/* 80023D40 00020CA0 93 23 00 00 */ stw r25, 0(r3) -/* 80023D44 00020CA4 38 00 00 01 */ li r0, 1 -/* 80023D48 00020CA8 90 03 00 04 */ stw r0, 4(r3) -lbl_80023D4C: -/* 80023D4C 00020CAC 90 7D 00 18 */ stw r3, 0x18(r29) -lbl_80023D50: -/* 80023D50 00020CB0 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80023D54 00020CB4 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 80023D58 00020CB8 80 63 00 00 */ lwz r3, 0(r3) -/* 80023D5C 00020CBC 80 84 00 00 */ lwz r4, 0(r4) -/* 80023D60 00020CC0 48 0E 55 09 */ bl CheckLoadComplete__17CInGameGuiManagerFRC13CStateManager -/* 80023D64 00020CC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80023D68 00020CC8 40 82 00 0C */ bne lbl_80023D74 -/* 80023D6C 00020CCC 38 60 00 01 */ li r3, 1 -/* 80023D70 00020CD0 48 00 01 58 */ b lbl_80023EC8 -lbl_80023D74: -/* 80023D74 00020CD4 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 80023D78 00020CD8 83 3D 00 28 */ lwz r25, 0x28(r29) -/* 80023D7C 00020CDC 54 00 18 38 */ slwi r0, r0, 3 -/* 80023D80 00020CE0 7F D9 02 14 */ add r30, r25, r0 -/* 80023D84 00020CE4 93 21 00 0C */ stw r25, 0xc(r1) -/* 80023D88 00020CE8 93 C1 00 14 */ stw r30, 0x14(r1) -/* 80023D8C 00020CEC 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80023D90 00020CF0 93 21 00 08 */ stw r25, 8(r1) -/* 80023D94 00020CF4 48 00 00 14 */ b lbl_80023DA8 -lbl_80023D98: -/* 80023D98 00020CF8 7F 23 CB 78 */ mr r3, r25 -/* 80023D9C 00020CFC 38 80 FF FF */ li r4, -1 -/* 80023DA0 00020D00 48 31 D0 A1 */ bl __dt__6CTokenFv -/* 80023DA4 00020D04 3B 39 00 08 */ addi r25, r25, 8 -lbl_80023DA8: -/* 80023DA8 00020D08 7C 19 F0 40 */ cmplw r25, r30 -/* 80023DAC 00020D0C 40 82 FF EC */ bne lbl_80023D98 -/* 80023DB0 00020D10 38 00 00 00 */ li r0, 0 -/* 80023DB4 00020D14 90 1D 00 20 */ stw r0, 0x20(r29) -/* 80023DB8 00020D18 80 7F 00 00 */ lwz r3, 0(r31) -/* 80023DBC 00020D1C 80 63 00 00 */ lwz r3, 0(r3) -/* 80023DC0 00020D20 48 1E 54 99 */ bl StartTextFadeOut__18CWorldTransManagerFv -/* 80023DC4 00020D24 80 9F 00 00 */ lwz r4, 0(r31) -/* 80023DC8 00020D28 38 60 00 01 */ li r3, 1 -/* 80023DCC 00020D2C 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 80023DD0 00020D30 80 84 00 00 */ lwz r4, 0(r4) -/* 80023DD4 00020D34 88 84 00 44 */ lbz r4, 0x44(r4) -/* 80023DD8 00020D38 50 80 FE 72 */ rlwimi r0, r4, 0x1f, 0x19, 0x19 -/* 80023DDC 00020D3C 98 1D 00 2C */ stb r0, 0x2c(r29) -/* 80023DE0 00020D40 48 00 00 E8 */ b lbl_80023EC8 -lbl_80023DE4: -/* 80023DE4 00020D44 2C 00 00 0B */ cmpwi r0, 0xb -/* 80023DE8 00020D48 40 82 00 DC */ bne lbl_80023EC4 -/* 80023DEC 00020D4C 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 80023DF0 00020D50 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80023DF4 00020D54 41 82 00 D0 */ beq lbl_80023EC4 -/* 80023DF8 00020D58 3C 60 80 3D */ lis r3, lbl_803CCAB8@ha -/* 80023DFC 00020D5C 3B 00 00 00 */ li r24, 0 -/* 80023E00 00020D60 38 63 CA B8 */ addi r3, r3, lbl_803CCAB8@l -/* 80023E04 00020D64 3B 20 00 00 */ li r25, 0 -/* 80023E08 00020D68 38 83 00 2A */ addi r4, r3, 0x2a -/* 80023E0C 00020D6C 38 60 00 2C */ li r3, 0x2c -/* 80023E10 00020D70 38 A0 00 00 */ li r5, 0 -/* 80023E14 00020D74 48 2F 1A 59 */ bl __nw__FUlPCcPCc -/* 80023E18 00020D78 7C 64 1B 79 */ or. r4, r3, r3 -/* 80023E1C 00020D7C 41 82 00 48 */ beq lbl_80023E64 -/* 80023E20 00020D80 81 1D 00 14 */ lwz r8, 0x14(r29) -/* 80023E24 00020D84 7F C6 F3 78 */ mr r6, r30 -/* 80023E28 00020D88 38 81 00 18 */ addi r4, r1, 0x18 -/* 80023E2C 00020D8C 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80023E30 00020D90 91 01 00 18 */ stw r8, 0x18(r1) -/* 80023E34 00020D94 3B 20 00 01 */ li r25, 1 -/* 80023E38 00020D98 3B 00 00 01 */ li r24, 1 -/* 80023E3C 00020D9C 80 E8 00 04 */ lwz r7, 4(r8) -/* 80023E40 00020DA0 38 07 00 01 */ addi r0, r7, 1 -/* 80023E44 00020DA4 90 08 00 04 */ stw r0, 4(r8) -/* 80023E48 00020DA8 81 1D 00 18 */ lwz r8, 0x18(r29) -/* 80023E4C 00020DAC 91 01 00 1C */ stw r8, 0x1c(r1) -/* 80023E50 00020DB0 80 E8 00 04 */ lwz r7, 4(r8) -/* 80023E54 00020DB4 38 07 00 01 */ addi r0, r7, 1 -/* 80023E58 00020DB8 90 08 00 04 */ stw r0, 4(r8) -/* 80023E5C 00020DBC 48 00 10 E1 */ bl "__ct__7CMFGameFQ24rstl25ncrc_ptr<13CStateManager>Q24rstl29ncrc_ptr<17CInGameGuiManager>R18CArchitectureQueue" -/* 80023E60 00020DC0 7C 64 1B 78 */ mr r4, r3 -lbl_80023E64: -/* 80023E64 00020DC4 7F 20 07 75 */ extsb. r0, r25 -/* 80023E68 00020DC8 90 81 00 28 */ stw r4, 0x28(r1) -/* 80023E6C 00020DCC 41 82 00 0C */ beq lbl_80023E78 -/* 80023E70 00020DD0 38 61 00 18 */ addi r3, r1, 0x18 -/* 80023E74 00020DD4 48 00 12 0D */ bl sub_80025080 -lbl_80023E78: -/* 80023E78 00020DD8 7F 00 07 75 */ extsb. r0, r24 -/* 80023E7C 00020DDC 41 82 00 0C */ beq lbl_80023E88 -/* 80023E80 00020DE0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80023E84 00020DE4 48 00 11 A1 */ bl sub_80025024 -lbl_80023E88: -/* 80023E88 00020DE8 38 61 00 30 */ addi r3, r1, 0x30 -/* 80023E8C 00020DEC 38 E1 00 28 */ addi r7, r1, 0x28 -/* 80023E90 00020DF0 38 80 00 00 */ li r4, 0 -/* 80023E94 00020DF4 38 AD 81 8C */ addi r5, r13, lbl_805A6D4C@sda21 -/* 80023E98 00020DF8 38 CD 81 90 */ addi r6, r13, lbl_805A6D50@sda21 -/* 80023E9C 00020DFC 48 02 DE 11 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin -/* 80023EA0 00020E00 7F C3 F3 78 */ mr r3, r30 -/* 80023EA4 00020E04 38 81 00 30 */ addi r4, r1, 0x30 -/* 80023EA8 00020E08 4B FE 2E 59 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 80023EAC 00020E0C 34 61 00 38 */ addic. r3, r1, 0x38 -/* 80023EB0 00020E10 41 82 00 08 */ beq lbl_80023EB8 -/* 80023EB4 00020E14 4B FE 48 59 */ bl sub_8000870c -lbl_80023EB8: -/* 80023EB8 00020E18 48 33 14 BD */ bl EnableTextureTimeout__6CModelFv -/* 80023EBC 00020E1C 38 60 00 02 */ li r3, 2 -/* 80023EC0 00020E20 48 00 00 08 */ b lbl_80023EC8 -lbl_80023EC4: -/* 80023EC4 00020E24 38 60 00 01 */ li r3, 1 -lbl_80023EC8: -/* 80023EC8 00020E28 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80023ECC 00020E2C CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80023ED0 00020E30 BB 01 00 40 */ lmw r24, 0x40(r1) -/* 80023ED4 00020E34 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80023ED8 00020E38 7C 08 03 A6 */ mtlr r0 -/* 80023EDC 00020E3C 38 21 00 70 */ addi r1, r1, 0x70 -/* 80023EE0 00020E40 4E 80 00 20 */ blr - -.global MakeLoadDependancyList__13CMFGameLoaderFv -MakeLoadDependancyList__13CMFGameLoaderFv: -/* 80023EE4 00020E44 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80023EE8 00020E48 7C 08 02 A6 */ mflr r0 -/* 80023EEC 00020E4C 3C 80 80 3E */ lis r4, lbl_803D9988@ha -/* 80023EF0 00020E50 90 01 00 64 */ stw r0, 0x64(r1) -/* 80023EF4 00020E54 38 04 99 88 */ addi r0, r4, lbl_803D9988@l -/* 80023EF8 00020E58 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80023EFC 00020E5C 7C 7E 1B 78 */ mr r30, r3 -/* 80023F00 00020E60 3B 60 00 00 */ li r27, 0 -/* 80023F04 00020E64 7C 1C 03 78 */ mr r28, r0 -/* 80023F08 00020E68 48 00 00 3C */ b lbl_80023F44 -lbl_80023F0C: -/* 80023F0C 00020E6C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80023F10 00020E70 4B FE 0D A9 */ bl string_l__4rstlFPCc -/* 80023F14 00020E74 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80023F18 00020E78 38 81 00 30 */ addi r4, r1, 0x30 -/* 80023F1C 00020E7C 38 63 00 04 */ addi r3, r3, 4 -/* 80023F20 00020E80 48 31 74 1D */ bl "GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80023F24 00020E84 7C 7D 1B 78 */ mr r29, r3 -/* 80023F28 00020E88 38 61 00 30 */ addi r3, r1, 0x30 -/* 80023F2C 00020E8C 48 31 9B B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80023F30 00020E90 28 1D 00 00 */ cmplwi r29, 0 -/* 80023F34 00020E94 41 82 00 0C */ beq lbl_80023F40 -/* 80023F38 00020E98 80 1D 00 04 */ lwz r0, 4(r29) -/* 80023F3C 00020E9C 7F 7B 02 14 */ add r27, r27, r0 -lbl_80023F40: -/* 80023F40 00020EA0 3B 9C 00 04 */ addi r28, r28, 4 -lbl_80023F44: -/* 80023F44 00020EA4 80 9C 00 00 */ lwz r4, 0(r28) -/* 80023F48 00020EA8 28 04 00 00 */ cmplwi r4, 0 -/* 80023F4C 00020EAC 40 82 FF C0 */ bne lbl_80023F0C -/* 80023F50 00020EB0 7F 64 DB 78 */ mr r4, r27 -/* 80023F54 00020EB4 38 7E 00 1C */ addi r3, r30, 0x1c -/* 80023F58 00020EB8 4B FE 4A 05 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 80023F5C 00020EBC 3C 60 80 3E */ lis r3, lbl_803D9988@ha -/* 80023F60 00020EC0 38 03 99 88 */ addi r0, r3, lbl_803D9988@l -/* 80023F64 00020EC4 7C 1F 03 78 */ mr r31, r0 -/* 80023F68 00020EC8 48 00 01 04 */ b lbl_8002406C -lbl_80023F6C: -/* 80023F6C 00020ECC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80023F70 00020ED0 4B FE 0D 49 */ bl string_l__4rstlFPCc -/* 80023F74 00020ED4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80023F78 00020ED8 38 81 00 20 */ addi r4, r1, 0x20 -/* 80023F7C 00020EDC 38 63 00 04 */ addi r3, r3, 4 -/* 80023F80 00020EE0 48 31 73 BD */ bl "GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80023F84 00020EE4 7C 7D 1B 78 */ mr r29, r3 -/* 80023F88 00020EE8 38 61 00 20 */ addi r3, r1, 0x20 -/* 80023F8C 00020EEC 48 31 9B 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80023F90 00020EF0 28 1D 00 00 */ cmplwi r29, 0 -/* 80023F94 00020EF4 41 82 00 D4 */ beq lbl_80024068 -/* 80023F98 00020EF8 83 9D 00 0C */ lwz r28, 0xc(r29) -/* 80023F9C 00020EFC 48 00 00 B4 */ b lbl_80024050 -lbl_80023FA0: -/* 80023FA0 00020F00 83 7C 00 00 */ lwz r27, 0(r28) -/* 80023FA4 00020F04 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80023FA8 00020F08 7F 64 DB 78 */ mr r4, r27 -/* 80023FAC 00020F0C 38 63 00 04 */ addi r3, r3, 4 -/* 80023FB0 00020F10 48 31 7D 1D */ bl GetResourceTypeById__10CResLoaderCFUi -/* 80023FB4 00020F14 90 61 00 18 */ stw r3, 0x18(r1) -/* 80023FB8 00020F18 38 61 00 08 */ addi r3, r1, 8 -/* 80023FBC 00020F1C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80023FC0 00020F20 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80023FC4 00020F24 93 61 00 1C */ stw r27, 0x1c(r1) -/* 80023FC8 00020F28 81 84 00 00 */ lwz r12, 0(r4) -/* 80023FCC 00020F2C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80023FD0 00020F30 7D 89 03 A6 */ mtctr r12 -/* 80023FD4 00020F34 4E 80 04 21 */ bctrl -/* 80023FD8 00020F38 38 61 00 10 */ addi r3, r1, 0x10 -/* 80023FDC 00020F3C 38 81 00 08 */ addi r4, r1, 8 -/* 80023FE0 00020F40 48 31 CE C9 */ bl __ct__6CTokenFRC6CToken -/* 80023FE4 00020F44 38 61 00 08 */ addi r3, r1, 8 -/* 80023FE8 00020F48 38 80 FF FF */ li r4, -1 -/* 80023FEC 00020F4C 48 31 CE 55 */ bl __dt__6CTokenFv -/* 80023FF0 00020F50 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 80023FF4 00020F54 80 BE 00 24 */ lwz r5, 0x24(r30) -/* 80023FF8 00020F58 7C 00 28 00 */ cmpw r0, r5 -/* 80023FFC 00020F5C 41 80 00 1C */ blt lbl_80024018 -/* 80024000 00020F60 2C 05 00 00 */ cmpwi r5, 0 -/* 80024004 00020F64 38 7E 00 1C */ addi r3, r30, 0x1c -/* 80024008 00020F68 38 80 00 04 */ li r4, 4 -/* 8002400C 00020F6C 41 82 00 08 */ beq lbl_80024014 -/* 80024010 00020F70 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80024014: -/* 80024014 00020F74 4B FE 49 49 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_80024018: -/* 80024018 00020F78 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 8002401C 00020F7C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80024020 00020F80 54 00 18 38 */ slwi r0, r0, 3 -/* 80024024 00020F84 7C 63 02 15 */ add. r3, r3, r0 -/* 80024028 00020F88 41 82 00 0C */ beq lbl_80024034 -/* 8002402C 00020F8C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80024030 00020F90 48 31 CE 79 */ bl __ct__6CTokenFRC6CToken -lbl_80024034: -/* 80024034 00020F94 80 BE 00 20 */ lwz r5, 0x20(r30) -/* 80024038 00020F98 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002403C 00020F9C 38 80 FF FF */ li r4, -1 -/* 80024040 00020FA0 38 05 00 01 */ addi r0, r5, 1 -/* 80024044 00020FA4 90 1E 00 20 */ stw r0, 0x20(r30) -/* 80024048 00020FA8 48 31 CD F9 */ bl __dt__6CTokenFv -/* 8002404C 00020FAC 3B 9C 00 04 */ addi r28, r28, 4 -lbl_80024050: -/* 80024050 00020FB0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80024054 00020FB4 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80024058 00020FB8 54 00 10 3A */ slwi r0, r0, 2 -/* 8002405C 00020FBC 7C 03 02 14 */ add r0, r3, r0 -/* 80024060 00020FC0 7C 1C 00 40 */ cmplw r28, r0 -/* 80024064 00020FC4 40 82 FF 3C */ bne lbl_80023FA0 -lbl_80024068: -/* 80024068 00020FC8 3B FF 00 04 */ addi r31, r31, 4 -lbl_8002406C: -/* 8002406C 00020FCC 80 9F 00 00 */ lwz r4, 0(r31) -/* 80024070 00020FD0 28 04 00 00 */ cmplwi r4, 0 -/* 80024074 00020FD4 40 82 FE F8 */ bne lbl_80023F6C -/* 80024078 00020FD8 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 8002407C 00020FDC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80024080 00020FE0 7C 08 03 A6 */ mtlr r0 -/* 80024084 00020FE4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80024088 00020FE8 4E 80 00 20 */ blr - -.global __dt__13CMFGameLoaderFv -__dt__13CMFGameLoaderFv: -/* 8002408C 00020FEC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80024090 00020FF0 7C 08 02 A6 */ mflr r0 -/* 80024094 00020FF4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80024098 00020FF8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002409C 00020FFC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800240A0 00021000 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800240A4 00021004 7C 9D 23 78 */ mr r29, r4 -/* 800240A8 00021008 93 81 00 20 */ stw r28, 0x20(r1) -/* 800240AC 0002100C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 800240B0 00021010 41 82 00 C0 */ beq lbl_80024170 -/* 800240B4 00021014 3C 80 80 3E */ lis r4, lbl_803D9998@ha -/* 800240B8 00021018 38 60 00 01 */ li r3, 1 -/* 800240BC 0002101C 38 04 99 98 */ addi r0, r4, lbl_803D9998@l -/* 800240C0 00021020 90 1C 00 00 */ stw r0, 0(r28) -/* 800240C4 00021024 48 2E 53 E5 */ bl SetIsBeginSceneClearFb__9CGraphicsFb -/* 800240C8 00021028 38 60 00 02 */ li r3, 2 -/* 800240CC 0002102C 34 1C 00 1C */ addic. r0, r28, 0x1c -/* 800240D0 00021030 90 6D 9D 48 */ stw r3, lbl_805A8908@sda21(r13) -/* 800240D4 00021034 41 82 00 50 */ beq lbl_80024124 -/* 800240D8 00021038 80 1C 00 20 */ lwz r0, 0x20(r28) -/* 800240DC 0002103C 83 DC 00 28 */ lwz r30, 0x28(r28) -/* 800240E0 00021040 54 00 18 38 */ slwi r0, r0, 3 -/* 800240E4 00021044 7F FE 02 14 */ add r31, r30, r0 -/* 800240E8 00021048 93 C1 00 0C */ stw r30, 0xc(r1) -/* 800240EC 0002104C 93 E1 00 14 */ stw r31, 0x14(r1) -/* 800240F0 00021050 93 E1 00 10 */ stw r31, 0x10(r1) -/* 800240F4 00021054 93 C1 00 08 */ stw r30, 8(r1) -/* 800240F8 00021058 48 00 00 14 */ b lbl_8002410C -lbl_800240FC: -/* 800240FC 0002105C 7F C3 F3 78 */ mr r3, r30 -/* 80024100 00021060 38 80 FF FF */ li r4, -1 -/* 80024104 00021064 48 31 CD 3D */ bl __dt__6CTokenFv -/* 80024108 00021068 3B DE 00 08 */ addi r30, r30, 8 -lbl_8002410C: -/* 8002410C 0002106C 7C 1E F8 40 */ cmplw r30, r31 -/* 80024110 00021070 40 82 FF EC */ bne lbl_800240FC -/* 80024114 00021074 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80024118 00021078 28 03 00 00 */ cmplwi r3, 0 -/* 8002411C 0002107C 41 82 00 08 */ beq lbl_80024124 -/* 80024120 00021080 48 2F 18 11 */ bl Free__7CMemoryFPCv -lbl_80024124: -/* 80024124 00021084 34 1C 00 18 */ addic. r0, r28, 0x18 -/* 80024128 00021088 41 82 00 14 */ beq lbl_8002413C -/* 8002412C 0002108C 34 1C 00 18 */ addic. r0, r28, 0x18 -/* 80024130 00021090 41 82 00 0C */ beq lbl_8002413C -/* 80024134 00021094 38 7C 00 18 */ addi r3, r28, 0x18 -/* 80024138 00021098 48 00 0E ED */ bl sub_80025024 -lbl_8002413C: -/* 8002413C 0002109C 34 1C 00 14 */ addic. r0, r28, 0x14 -/* 80024140 000210A0 41 82 00 14 */ beq lbl_80024154 -/* 80024144 000210A4 34 1C 00 14 */ addic. r0, r28, 0x14 -/* 80024148 000210A8 41 82 00 0C */ beq lbl_80024154 -/* 8002414C 000210AC 38 7C 00 14 */ addi r3, r28, 0x14 -/* 80024150 000210B0 48 00 0F 31 */ bl sub_80025080 -lbl_80024154: -/* 80024154 000210B4 7F 83 E3 78 */ mr r3, r28 -/* 80024158 000210B8 38 80 00 00 */ li r4, 0 -/* 8002415C 000210BC 48 02 EA 49 */ bl __dt__6CIOWinFv -/* 80024160 000210C0 7F A0 07 35 */ extsh. r0, r29 -/* 80024164 000210C4 40 81 00 0C */ ble lbl_80024170 -/* 80024168 000210C8 7F 83 E3 78 */ mr r3, r28 -/* 8002416C 000210CC 48 2F 17 C5 */ bl Free__7CMemoryFPCv -lbl_80024170: -/* 80024170 000210D0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80024174 000210D4 7F 83 E3 78 */ mr r3, r28 -/* 80024178 000210D8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002417C 000210DC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80024180 000210E0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80024184 000210E4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80024188 000210E8 7C 08 03 A6 */ mtlr r0 -/* 8002418C 000210EC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80024190 000210F0 4E 80 00 20 */ blr - -.global __ct__13CMFGameLoaderFv -__ct__13CMFGameLoaderFv: -/* 80024194 000210F4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80024198 000210F8 7C 08 02 A6 */ mflr r0 -/* 8002419C 000210FC 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha -/* 800241A0 00021100 90 01 00 34 */ stw r0, 0x34(r1) -/* 800241A4 00021104 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l -/* 800241A8 00021108 38 84 00 31 */ addi r4, r4, 0x31 -/* 800241AC 0002110C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800241B0 00021110 7C 7F 1B 78 */ mr r31, r3 -/* 800241B4 00021114 38 61 00 0C */ addi r3, r1, 0xc -/* 800241B8 00021118 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800241BC 0002111C 4B FE 0A FD */ bl string_l__4rstlFPCc -/* 800241C0 00021120 7F E3 FB 78 */ mr r3, r31 -/* 800241C4 00021124 38 81 00 0C */ addi r4, r1, 0xc -/* 800241C8 00021128 48 02 EA 45 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800241CC 0002112C 38 61 00 0C */ addi r3, r1, 0xc -/* 800241D0 00021130 48 31 99 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800241D4 00021134 3C 60 80 3E */ lis r3, lbl_803D9998@ha -/* 800241D8 00021138 38 CD A9 28 */ addi r6, r13, lbl_805A94E8@sda21 -/* 800241DC 0002113C 38 03 99 98 */ addi r0, r3, lbl_803D9998@l -/* 800241E0 00021140 38 80 00 00 */ li r4, 0 -/* 800241E4 00021144 90 1F 00 00 */ stw r0, 0(r31) -/* 800241E8 00021148 38 00 00 01 */ li r0, 1 -/* 800241EC 0002114C 90 DF 00 14 */ stw r6, 0x14(r31) -/* 800241F0 00021150 80 BF 00 14 */ lwz r5, 0x14(r31) -/* 800241F4 00021154 80 65 00 04 */ lwz r3, 4(r5) -/* 800241F8 00021158 38 63 00 01 */ addi r3, r3, 1 -/* 800241FC 0002115C 90 65 00 04 */ stw r3, 4(r5) -/* 80024200 00021160 90 DF 00 18 */ stw r6, 0x18(r31) -/* 80024204 00021164 80 BF 00 18 */ lwz r5, 0x18(r31) -/* 80024208 00021168 80 65 00 04 */ lwz r3, 4(r5) -/* 8002420C 0002116C 38 63 00 01 */ addi r3, r3, 1 -/* 80024210 00021170 90 65 00 04 */ stw r3, 4(r5) -/* 80024214 00021174 90 9F 00 20 */ stw r4, 0x20(r31) -/* 80024218 00021178 90 9F 00 24 */ stw r4, 0x24(r31) -/* 8002421C 0002117C 90 9F 00 28 */ stw r4, 0x28(r31) -/* 80024220 00021180 88 7F 00 2C */ lbz r3, 0x2c(r31) -/* 80024224 00021184 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 80024228 00021188 98 7F 00 2C */ stb r3, 0x2c(r31) -/* 8002422C 0002118C 88 7F 00 2C */ lbz r3, 0x2c(r31) -/* 80024230 00021190 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 80024234 00021194 98 7F 00 2C */ stb r3, 0x2c(r31) -/* 80024238 00021198 90 0D 9D 48 */ stw r0, lbl_805A8908@sda21(r13) -/* 8002423C 0002119C 48 33 11 45 */ bl DisableTextureTimeout__6CModelFv -/* 80024240 000211A0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 80024244 000211A4 80 03 01 2C */ lwz r0, 0x12c(r3) -/* 80024248 000211A8 2C 00 00 05 */ cmpwi r0, 5 -/* 8002424C 000211AC 41 82 00 0C */ beq lbl_80024258 -/* 80024250 000211B0 2C 00 00 06 */ cmpwi r0, 6 -/* 80024254 000211B4 40 82 00 7C */ bne lbl_800242D0 -lbl_80024258: -/* 80024258 000211B8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8002425C 000211BC 48 1A F7 75 */ bl CurrentWorldAssetId__10CGameStateCFv -/* 80024260 000211C0 7C 60 1B 78 */ mr r0, r3 -/* 80024264 000211C4 80 6D A0 84 */ lwz r3, gpMemoryCard@sda21(r13) -/* 80024268 000211C8 7C 1E 03 78 */ mr r30, r0 -/* 8002426C 000211CC 7F C4 F3 78 */ mr r4, r30 -/* 80024270 000211D0 48 22 4D 49 */ bl HasSaveWorldMemory__15CMemoryCardSysFi -/* 80024274 000211D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80024278 000211D8 41 82 00 58 */ beq lbl_800242D0 -/* 8002427C 000211DC 80 6D A0 84 */ lwz r3, gpMemoryCard@sda21(r13) -/* 80024280 000211E0 7F C4 F3 78 */ mr r4, r30 -/* 80024284 000211E4 48 22 4C 89 */ bl GetSaveWorldMemory__14CMemoryCardSysCFi -/* 80024288 000211E8 7C 7E 1B 78 */ mr r30, r3 -/* 8002428C 000211EC 80 63 00 00 */ lwz r3, 0(r3) -/* 80024290 000211F0 3C 03 00 01 */ addis r0, r3, 1 -/* 80024294 000211F4 28 00 FF FF */ cmplwi r0, 0xffff -/* 80024298 000211F8 41 82 00 38 */ beq lbl_800242D0 -/* 8002429C 000211FC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800242A0 00021200 48 1A F6 79 */ bl WorldTransitionManager__10CGameStateFv -/* 800242A4 00021204 80 C3 00 00 */ lwz r6, 0(r3) -/* 800242A8 00021208 3C 60 B7 BC */ lis r3, 0xB7BBD0B4@ha -/* 800242AC 0002120C 80 BE 00 00 */ lwz r5, 0(r30) -/* 800242B0 00021210 38 83 D0 B4 */ addi r4, r3, 0xB7BBD0B4@l -/* 800242B4 00021214 80 66 00 00 */ lwz r3, 0(r6) -/* 800242B8 00021218 38 C0 00 01 */ li r6, 1 -/* 800242BC 0002121C C0 22 83 00 */ lfs f1, lbl_805AA020@sda21(r2) -/* 800242C0 00021220 38 E0 00 00 */ li r7, 0 -/* 800242C4 00021224 C0 42 83 04 */ lfs f2, lbl_805AA024@sda21(r2) -/* 800242C8 00021228 C0 62 83 08 */ lfs f3, lbl_805AA028@sda21(r2) -/* 800242CC 0002122C 48 1E 53 25 */ bl EnableTransition__18CWorldTransManagerFviibbfff -lbl_800242D0: -/* 800242D0 00021230 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800242D4 00021234 48 1A F6 FD */ bl CurrentWorldAssetId__10CGameStateCFv -/* 800242D8 00021238 38 8D A0 F8 */ addi r4, r13, lbl_805A8CB8@sda21 -/* 800242DC 0002123C 80 04 00 04 */ lwz r0, 4(r4) -/* 800242E0 00021240 7C 03 00 40 */ cmplw r3, r0 -/* 800242E4 00021244 40 82 00 7C */ bne lbl_80024360 -/* 800242E8 00021248 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800242EC 0002124C 48 1A F6 9D */ bl GetCurrentWorldState__10CGameStateCFv -/* 800242F0 00021250 7C 64 1B 78 */ mr r4, r3 -/* 800242F4 00021254 38 61 00 08 */ addi r3, r1, 8 -/* 800242F8 00021258 48 1B 0A 61 */ bl GetCurrentArea__11CWorldStateCFv -/* 800242FC 0002125C 80 01 00 08 */ lwz r0, 8(r1) -/* 80024300 00021260 2C 00 00 00 */ cmpwi r0, 0 -/* 80024304 00021264 40 82 00 5C */ bne lbl_80024360 -/* 80024308 00021268 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8002430C 0002126C 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha -/* 80024310 00021270 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l -/* 80024314 00021274 81 83 00 00 */ lwz r12, 0(r3) -/* 80024318 00021278 38 84 00 3F */ addi r4, r4, 0x3f -/* 8002431C 0002127C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80024320 00021280 7D 89 03 A6 */ mtctr r12 -/* 80024324 00021284 4E 80 04 21 */ bctrl -/* 80024328 00021288 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002432C 0002128C 41 82 00 34 */ beq lbl_80024360 -/* 80024330 00021290 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80024334 00021294 48 1A F5 E5 */ bl WorldTransitionManager__10CGameStateFv -/* 80024338 00021298 80 63 00 00 */ lwz r3, 0(r3) -/* 8002433C 0002129C 38 80 FF FF */ li r4, -1 -/* 80024340 000212A0 80 BE 00 04 */ lwz r5, 4(r30) -/* 80024344 000212A4 38 C0 00 00 */ li r6, 0 -/* 80024348 000212A8 80 63 00 00 */ lwz r3, 0(r3) -/* 8002434C 000212AC 38 E0 00 00 */ li r7, 0 -/* 80024350 000212B0 C0 22 83 00 */ lfs f1, lbl_805AA020@sda21(r2) -/* 80024354 000212B4 C0 42 83 04 */ lfs f2, lbl_805AA024@sda21(r2) -/* 80024358 000212B8 C0 62 83 08 */ lfs f3, lbl_805AA028@sda21(r2) -/* 8002435C 000212BC 48 1E 52 95 */ bl EnableTransition__18CWorldTransManagerFviibbfff -lbl_80024360: -/* 80024360 000212C0 88 1F 00 2C */ lbz r0, 0x2c(r31) -/* 80024364 000212C4 38 60 00 01 */ li r3, 1 -/* 80024368 000212C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8002436C 000212CC 7F E3 FB 78 */ mr r3, r31 -/* 80024370 000212D0 98 1F 00 2C */ stb r0, 0x2c(r31) -/* 80024374 000212D4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80024378 000212D8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002437C 000212DC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80024380 000212E0 7C 08 03 A6 */ mtlr r0 -/* 80024384 000212E4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80024388 000212E8 4E 80 00 20 */ blr - -.global IsCameraActiveFlow__7CMFGameFv -IsCameraActiveFlow__7CMFGameFv: -/* 8002438C 000212EC 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 80024390 000212F0 38 00 00 00 */ li r0, 0 -/* 80024394 000212F4 2C 03 00 00 */ cmpwi r3, 0 -/* 80024398 000212F8 41 82 00 0C */ beq lbl_800243A4 -/* 8002439C 000212FC 2C 03 00 02 */ cmpwi r3, 2 -/* 800243A0 00021300 40 82 00 08 */ bne lbl_800243A8 -lbl_800243A4: -/* 800243A4 00021304 38 00 00 01 */ li r0, 1 -lbl_800243A8: -/* 800243A8 00021308 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 800243AC 0002130C 4E 80 00 20 */ blr - -.global PlayerDied__7CMFGameFv -PlayerDied__7CMFGameFv: -/* 800243B0 00021310 38 00 00 02 */ li r0, 2 -/* 800243B4 00021314 38 80 00 00 */ li r4, 0 -/* 800243B8 00021318 90 03 00 1C */ stw r0, 0x1c(r3) -/* 800243BC 0002131C 88 03 00 2A */ lbz r0, 0x2a(r3) -/* 800243C0 00021320 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 800243C4 00021324 98 03 00 2A */ stb r0, 0x2a(r3) -/* 800243C8 00021328 4E 80 00 20 */ blr - -.global UnpauseGame__7CMFGameFv -UnpauseGame__7CMFGameFv: -/* 800243CC 0002132C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800243D0 00021330 7C 08 02 A6 */ mflr r0 -/* 800243D4 00021334 90 01 00 14 */ stw r0, 0x14(r1) -/* 800243D8 00021338 38 00 00 00 */ li r0, 0 -/* 800243DC 0002133C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800243E0 00021340 7C 7F 1B 78 */ mr r31, r3 -/* 800243E4 00021344 90 03 00 1C */ stw r0, 0x1c(r3) -/* 800243E8 00021348 38 60 00 01 */ li r3, 1 -/* 800243EC 0002134C 48 2C 54 C9 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels -/* 800243F0 00021350 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 800243F4 00021354 38 80 00 00 */ li r4, 0 -/* 800243F8 00021358 80 63 00 00 */ lwz r3, 0(r3) -/* 800243FC 0002135C 48 02 04 65 */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition -/* 80024400 00021360 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80024404 00021364 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80024408 00021368 7C 08 03 A6 */ mtlr r0 -/* 8002440C 0002136C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80024410 00021370 4E 80 00 20 */ blr - -.global EnterMessageScreen__7CMFGameFf -EnterMessageScreen__7CMFGameFf: -/* 80024414 00021374 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80024418 00021378 7C 08 02 A6 */ mflr r0 -/* 8002441C 0002137C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80024420 00021380 38 00 00 01 */ li r0, 1 -/* 80024424 00021384 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80024428 00021388 80 83 00 14 */ lwz r4, 0x14(r3) -/* 8002442C 0002138C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80024430 00021390 80 84 00 00 */ lwz r4, 0(r4) -/* 80024434 00021394 80 63 00 00 */ lwz r3, 0(r3) -/* 80024438 00021398 80 A4 0F 08 */ lwz r5, 0xf08(r4) -/* 8002443C 0002139C 48 0E 33 C1 */ bl ShowPauseGameHudMessage__17CInGameGuiManagerFRC13CStateManagerUi -/* 80024440 000213A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80024444 000213A4 7C 08 03 A6 */ mtlr r0 -/* 80024448 000213A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002444C 000213AC 4E 80 00 20 */ blr - -.global SaveGame__7CMFGameFv -SaveGame__7CMFGameFv: -/* 80024450 000213B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80024454 000213B4 7C 08 02 A6 */ mflr r0 -/* 80024458 000213B8 38 A0 00 05 */ li r5, 5 -/* 8002445C 000213BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80024460 000213C0 38 00 00 01 */ li r0, 1 -/* 80024464 000213C4 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80024468 000213C8 80 83 00 14 */ lwz r4, 0x14(r3) -/* 8002446C 000213CC 80 C3 00 18 */ lwz r6, 0x18(r3) -/* 80024470 000213D0 80 84 00 00 */ lwz r4, 0(r4) -/* 80024474 000213D4 80 66 00 00 */ lwz r3, 0(r6) -/* 80024478 000213D8 48 0E 33 B1 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState -/* 8002447C 000213DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80024480 000213E0 7C 08 03 A6 */ mtlr r0 -/* 80024484 000213E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80024488 000213E8 4E 80 00 20 */ blr - -.global EnterLogBook__7CMFGameFv -EnterLogBook__7CMFGameFv: -/* 8002448C 000213EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80024490 000213F0 7C 08 02 A6 */ mflr r0 -/* 80024494 000213F4 38 A0 00 04 */ li r5, 4 -/* 80024498 000213F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002449C 000213FC 38 00 00 01 */ li r0, 1 -/* 800244A0 00021400 90 03 00 1C */ stw r0, 0x1c(r3) -/* 800244A4 00021404 80 83 00 14 */ lwz r4, 0x14(r3) -/* 800244A8 00021408 80 C3 00 18 */ lwz r6, 0x18(r3) -/* 800244AC 0002140C 80 84 00 00 */ lwz r4, 0(r4) -/* 800244B0 00021410 80 66 00 00 */ lwz r3, 0(r6) -/* 800244B4 00021414 48 0E 33 75 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState -/* 800244B8 00021418 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800244BC 0002141C 7C 08 03 A6 */ mtlr r0 -/* 800244C0 00021420 38 21 00 10 */ addi r1, r1, 0x10 -/* 800244C4 00021424 4E 80 00 20 */ blr - -.global PauseGame__7CMFGameFv -PauseGame__7CMFGameFv: -/* 800244C8 00021428 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800244CC 0002142C 7C 08 02 A6 */ mflr r0 -/* 800244D0 00021430 38 A0 00 03 */ li r5, 3 -/* 800244D4 00021434 90 01 00 14 */ stw r0, 0x14(r1) -/* 800244D8 00021438 38 00 00 01 */ li r0, 1 -/* 800244DC 0002143C 90 03 00 1C */ stw r0, 0x1c(r3) -/* 800244E0 00021440 80 83 00 14 */ lwz r4, 0x14(r3) -/* 800244E4 00021444 80 C3 00 18 */ lwz r6, 0x18(r3) -/* 800244E8 00021448 80 84 00 00 */ lwz r4, 0(r4) -/* 800244EC 0002144C 80 66 00 00 */ lwz r3, 0(r6) -/* 800244F0 00021450 48 0E 33 39 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState -/* 800244F4 00021454 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800244F8 00021458 7C 08 03 A6 */ mtlr r0 -/* 800244FC 0002145C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80024500 00021460 4E 80 00 20 */ blr - -.global EnterMapScreen__7CMFGameFv -EnterMapScreen__7CMFGameFv: -/* 80024504 00021464 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80024508 00021468 7C 08 02 A6 */ mflr r0 -/* 8002450C 0002146C 38 A0 00 02 */ li r5, 2 -/* 80024510 00021470 90 01 00 14 */ stw r0, 0x14(r1) -/* 80024514 00021474 38 00 00 01 */ li r0, 1 -/* 80024518 00021478 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002451C 0002147C 7C 7F 1B 78 */ mr r31, r3 -/* 80024520 00021480 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80024524 00021484 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80024528 00021488 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 8002452C 0002148C 80 63 00 00 */ lwz r3, 0(r3) -/* 80024530 00021490 80 84 00 00 */ lwz r4, 0(r4) -/* 80024534 00021494 48 0E 32 F5 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState -/* 80024538 00021498 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 8002453C 0002149C 38 80 00 01 */ li r4, 1 -/* 80024540 000214A0 80 63 00 00 */ lwz r3, 0(r3) -/* 80024544 000214A4 88 03 0F 94 */ lbz r0, 0xf94(r3) -/* 80024548 000214A8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8002454C 000214AC 98 03 0F 94 */ stb r0, 0xf94(r3) -/* 80024550 000214B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80024554 000214B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80024558 000214B8 7C 08 03 A6 */ mtlr r0 -/* 8002455C 000214BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80024560 000214C0 4E 80 00 20 */ blr - -.global Draw__7CMFGameCFv -Draw__7CMFGameCFv: -/* 80024564 000214C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80024568 000214C8 7C 08 02 A6 */ mflr r0 -/* 8002456C 000214CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80024570 000214D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80024574 000214D4 7C 7F 1B 78 */ mr r31, r3 -/* 80024578 000214D8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002457C 000214DC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80024580 000214E0 88 03 00 2A */ lbz r0, 0x2a(r3) -/* 80024584 000214E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80024588 000214E8 41 82 00 F8 */ beq lbl_80024680 -/* 8002458C 000214EC 48 00 07 E9 */ bl Touch__7CMFGameFv -/* 80024590 000214F0 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80024594 000214F4 80 63 00 00 */ lwz r3, 0(r3) -/* 80024598 000214F8 48 0E 32 55 */ bl GetIsGameDraw__17CInGameGuiManagerCFv -/* 8002459C 000214FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800245A0 00021500 41 82 00 40 */ beq lbl_800245E0 -/* 800245A4 00021504 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 800245A8 00021508 38 80 00 01 */ li r4, 1 -/* 800245AC 0002150C 88 03 01 61 */ lbz r0, 0x161(r3) -/* 800245B0 00021510 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800245B4 00021514 98 03 01 61 */ stb r0, 0x161(r3) -/* 800245B8 00021518 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 800245BC 0002151C 80 63 00 00 */ lwz r3, 0(r3) -/* 800245C0 00021520 48 02 2D 85 */ bl PreRender__13CStateManagerFv -/* 800245C4 00021524 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 800245C8 00021528 80 63 00 00 */ lwz r3, 0(r3) -/* 800245CC 0002152C 48 02 19 B1 */ bl DrawWorld__13CStateManagerCFv -/* 800245D0 00021530 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 800245D4 00021534 80 63 00 00 */ lwz r3, 0(r3) -/* 800245D8 00021538 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 800245DC 0002153C 4B FE D4 E9 */ bl IsPlayerDeadEnough__7CPlayerCFv -lbl_800245E0: -/* 800245E0 00021540 80 BF 00 14 */ lwz r5, 0x14(r31) -/* 800245E4 00021544 7F E3 FB 78 */ mr r3, r31 -/* 800245E8 00021548 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 800245EC 0002154C 83 C5 00 00 */ lwz r30, 0(r5) -/* 800245F0 00021550 83 A4 00 00 */ lwz r29, 0(r4) -/* 800245F4 00021554 4B FF FD 99 */ bl IsCameraActiveFlow__7CMFGameFv -/* 800245F8 00021558 7C 65 1B 78 */ mr r5, r3 -/* 800245FC 0002155C 7F A3 EB 78 */ mr r3, r29 -/* 80024600 00021560 7F C4 F3 78 */ mr r4, r30 -/* 80024604 00021564 48 0E 40 ED */ bl PreDraw__17CInGameGuiManagerFR13CStateManagerb -/* 80024608 00021568 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8002460C 0002156C 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 80024610 00021570 80 63 00 00 */ lwz r3, 0(r3) -/* 80024614 00021574 80 84 00 00 */ lwz r4, 0(r4) -/* 80024618 00021578 48 0E 41 3D */ bl Draw__17CInGameGuiManagerCFRC13CStateManager -/* 8002461C 0002157C 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80024620 00021580 2C 00 00 03 */ cmpwi r0, 3 -/* 80024624 00021584 40 82 00 5C */ bne lbl_80024680 -/* 80024628 00021588 C0 42 83 08 */ lfs f2, lbl_805AA028@sda21(r2) -/* 8002462C 0002158C C0 3F 00 20 */ lfs f1, 0x20(r31) -/* 80024630 00021590 C0 0D 81 88 */ lfs f0, lbl_805A6D48@sda21(r13) -/* 80024634 00021594 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80024638 00021598 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8002463C 0002159C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80024640 000215A0 40 80 00 0C */ bge lbl_8002464C -/* 80024644 000215A4 38 61 00 0C */ addi r3, r1, 0xc -/* 80024648 000215A8 48 00 00 08 */ b lbl_80024650 -lbl_8002464C: -/* 8002464C 000215AC 38 6D 81 88 */ addi r3, r13, lbl_805A6D48@sda21 -lbl_80024650: -/* 80024650 000215B0 C0 23 00 00 */ lfs f1, 0(r3) -/* 80024654 000215B4 38 61 00 08 */ addi r3, r1, 8 -/* 80024658 000215B8 FC 40 08 90 */ fmr f2, f1 -/* 8002465C 000215BC FC 60 08 90 */ fmr f3, f1 -/* 80024660 000215C0 FC 80 08 90 */ fmr f4, f1 -/* 80024664 000215C4 48 33 ED 89 */ bl __ct__6CColorFffff -/* 80024668 000215C8 C0 22 83 08 */ lfs f1, lbl_805AA028@sda21(r2) -/* 8002466C 000215CC 7C 65 1B 78 */ mr r5, r3 -/* 80024670 000215D0 38 60 00 01 */ li r3, 1 -/* 80024674 000215D4 38 80 00 00 */ li r4, 0 -/* 80024678 000215D8 38 C0 00 00 */ li r6, 0 -/* 8002467C 000215DC 48 0C 7A CD */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_80024680: -/* 80024680 000215E0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80024684 000215E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80024688 000215E8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002468C 000215EC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80024690 000215F0 7C 08 03 A6 */ mtlr r0 -/* 80024694 000215F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80024698 000215F8 4E 80 00 20 */ blr - -.global OnMessage__7CMFGameFRC20CArchitectureMessageR18CArchitectureQueue -OnMessage__7CMFGameFRC20CArchitectureMessageR18CArchitectureQueue: -/* 8002469C 000215FC 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800246A0 00021600 7C 08 02 A6 */ mflr r0 -/* 800246A4 00021604 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800246A8 00021608 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 800246AC 0002160C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 800246B0 00021610 93 E1 00 AC */ stw r31, 0xac(r1) -/* 800246B4 00021614 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 800246B8 00021618 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 800246BC 0002161C 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 800246C0 00021620 7C 7D 1B 78 */ mr r29, r3 -/* 800246C4 00021624 80 64 00 04 */ lwz r3, 4(r4) -/* 800246C8 00021628 7C BE 2B 78 */ mr r30, r5 -/* 800246CC 0002162C 38 03 FF FC */ addi r0, r3, -4 -/* 800246D0 00021630 28 00 00 07 */ cmplwi r0, 7 -/* 800246D4 00021634 41 81 06 74 */ bgt lbl_80024D48 -/* 800246D8 00021638 3C 60 80 3E */ lis r3, lbl_803D99B4@ha -/* 800246DC 0002163C 54 00 10 3A */ slwi r0, r0, 2 -/* 800246E0 00021640 38 63 99 B4 */ addi r3, r3, lbl_803D99B4@l -/* 800246E4 00021644 7C 03 00 2E */ lwzx r0, r3, r0 -/* 800246E8 00021648 7C 09 03 A6 */ mtctr r0 -/* 800246EC 0002164C 4E 80 04 20 */ bctr -/* 800246F0 00021650 7C 83 23 78 */ mr r3, r4 -/* 800246F4 00021654 48 02 D1 95 */ bl GetParm__20CArchitectureMessageCFv -/* 800246F8 00021658 80 BD 00 14 */ lwz r5, 0x14(r29) -/* 800246FC 0002165C 80 83 00 04 */ lwz r4, 4(r3) -/* 80024700 00021660 80 65 00 00 */ lwz r3, 0(r5) -/* 80024704 00021664 48 02 6E 59 */ bl FrameBegin__13CStateManagerFUi -/* 80024708 00021668 48 00 06 40 */ b lbl_80024D48 -/* 8002470C 0002166C 88 BD 00 2A */ lbz r5, 0x2a(r29) -/* 80024710 00021670 38 00 00 01 */ li r0, 1 -/* 80024714 00021674 7C 83 23 78 */ mr r3, r4 -/* 80024718 00021678 54 BF CF FE */ rlwinm r31, r5, 0x19, 0x1f, 0x1f -/* 8002471C 0002167C 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 -/* 80024720 00021680 98 BD 00 2A */ stb r5, 0x2a(r29) -/* 80024724 00021684 48 02 D4 99 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage -/* 80024728 00021688 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 8002472C 0002168C C3 E3 00 04 */ lfs f31, 4(r3) -/* 80024730 00021690 2C 00 00 02 */ cmpwi r0, 2 -/* 80024734 00021694 41 82 02 70 */ beq lbl_800249A4 -/* 80024738 00021698 40 80 00 14 */ bge lbl_8002474C -/* 8002473C 0002169C 2C 00 00 00 */ cmpwi r0, 0 -/* 80024740 000216A0 41 82 00 C0 */ beq lbl_80024800 -/* 80024744 000216A4 40 80 01 B4 */ bge lbl_800248F8 -/* 80024748 000216A8 48 00 02 D8 */ b lbl_80024A20 -lbl_8002474C: -/* 8002474C 000216AC 2C 00 00 04 */ cmpwi r0, 4 -/* 80024750 000216B0 40 80 02 D0 */ bge lbl_80024A20 -/* 80024754 000216B4 C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 80024758 000216B8 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8002475C 000216BC D0 1D 00 20 */ stfs f0, 0x20(r29) -/* 80024760 000216C0 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024764 000216C4 80 83 00 00 */ lwz r4, 0(r3) -/* 80024768 000216C8 80 64 08 70 */ lwz r3, 0x870(r4) -/* 8002476C 000216CC 4B FE 73 AD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80024770 000216D0 7C 60 1B 78 */ mr r0, r3 -/* 80024774 000216D4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80024778 000216D8 7C 04 03 78 */ mr r4, r0 -/* 8002477C 000216DC 48 08 AF B5 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" -/* 80024780 000216E0 C0 3D 00 20 */ lfs f1, 0x20(r29) -/* 80024784 000216E4 C0 02 83 08 */ lfs f0, lbl_805AA028@sda21(r2) -/* 80024788 000216E8 83 83 00 04 */ lwz r28, 4(r3) -/* 8002478C 000216EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80024790 000216F0 4C 41 13 82 */ cror 2, 1, 2 -/* 80024794 000216F4 40 82 00 18 */ bne lbl_800247AC -/* 80024798 000216F8 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 8002479C 000216FC 80 63 00 00 */ lwz r3, 0(r3) -/* 800247A0 00021700 48 02 02 15 */ bl SpecialSkipCinematic__13CStateManagerFv -/* 800247A4 00021704 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800247A8 00021708 40 82 00 28 */ bne lbl_800247D0 -lbl_800247AC: -/* 800247AC 0002170C 28 1C 00 00 */ cmplwi r28, 0 -/* 800247B0 00021710 41 82 00 20 */ beq lbl_800247D0 -/* 800247B4 00021714 80 1C 02 1C */ lwz r0, 0x21c(r28) -/* 800247B8 00021718 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 800247BC 0002171C 41 82 00 44 */ beq lbl_80024800 -/* 800247C0 00021720 A0 7D 00 28 */ lhz r3, 0x28(r29) -/* 800247C4 00021724 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800247C8 00021728 7C 03 00 40 */ cmplw r3, r0 -/* 800247CC 0002172C 41 82 00 34 */ beq lbl_80024800 -lbl_800247D0: -/* 800247D0 00021730 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 800247D4 00021734 38 80 00 00 */ li r4, 0 -/* 800247D8 00021738 88 03 01 60 */ lbz r0, 0x160(r3) -/* 800247DC 0002173C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800247E0 00021740 98 03 01 60 */ stb r0, 0x160(r3) -/* 800247E4 00021744 90 9D 00 1C */ stw r4, 0x1c(r29) -/* 800247E8 00021748 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 800247EC 0002174C 80 63 00 00 */ lwz r3, 0(r3) -/* 800247F0 00021750 48 0E 4A 25 */ bl StartFadeIn__17CInGameGuiManagerFv -/* 800247F4 00021754 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800247F8 00021758 B0 1D 00 28 */ sth r0, 0x28(r29) -/* 800247FC 0002175C 48 00 02 24 */ b lbl_80024A20 -lbl_80024800: -/* 80024800 00021760 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024804 00021764 80 63 00 00 */ lwz r3, 0(r3) -/* 80024808 00021768 38 03 08 FC */ addi r0, r3, 0x8fc -/* 8002480C 0002176C 90 03 09 00 */ stw r0, 0x900(r3) -/* 80024810 00021770 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024814 00021774 80 63 00 00 */ lwz r3, 0(r3) -/* 80024818 00021778 80 03 0F 90 */ lwz r0, 0xf90(r3) -/* 8002481C 0002177C 2C 00 00 03 */ cmpwi r0, 3 -/* 80024820 00021780 41 82 00 70 */ beq lbl_80024890 -/* 80024824 00021784 40 80 00 1C */ bge lbl_80024840 -/* 80024828 00021788 2C 00 00 01 */ cmpwi r0, 1 -/* 8002482C 0002178C 41 82 00 4C */ beq lbl_80024878 -/* 80024830 00021790 40 80 00 54 */ bge lbl_80024884 -/* 80024834 00021794 2C 00 00 00 */ cmpwi r0, 0 -/* 80024838 00021798 40 80 00 18 */ bge lbl_80024850 -/* 8002483C 0002179C 48 00 00 78 */ b lbl_800248B4 -lbl_80024840: -/* 80024840 000217A0 2C 00 00 05 */ cmpwi r0, 5 -/* 80024844 000217A4 41 82 00 64 */ beq lbl_800248A8 -/* 80024848 000217A8 40 80 00 6C */ bge lbl_800248B4 -/* 8002484C 000217AC 48 00 00 50 */ b lbl_8002489C -lbl_80024850: -/* 80024850 000217B0 FC 20 F8 90 */ fmr f1, f31 -/* 80024854 000217B4 48 02 5F 79 */ bl Update__13CStateManagerFf -/* 80024858 000217B8 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 8002485C 000217BC 80 63 00 00 */ lwz r3, 0(r3) -/* 80024860 000217C0 88 03 0F 94 */ lbz r0, 0xf94(r3) -/* 80024864 000217C4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80024868 000217C8 41 82 00 4C */ beq lbl_800248B4 -/* 8002486C 000217CC 38 60 00 00 */ li r3, 0 -/* 80024870 000217D0 48 2E 4C 39 */ bl SetIsBeginSceneClearFb__9CGraphicsFb -/* 80024874 000217D4 48 00 00 40 */ b lbl_800248B4 -lbl_80024878: -/* 80024878 000217D8 7F A3 EB 78 */ mr r3, r29 -/* 8002487C 000217DC 4B FF FC 89 */ bl EnterMapScreen__7CMFGameFv -/* 80024880 000217E0 48 00 00 34 */ b lbl_800248B4 -lbl_80024884: -/* 80024884 000217E4 7F A3 EB 78 */ mr r3, r29 -/* 80024888 000217E8 4B FF FC 41 */ bl PauseGame__7CMFGameFv -/* 8002488C 000217EC 48 00 00 28 */ b lbl_800248B4 -lbl_80024890: -/* 80024890 000217F0 7F A3 EB 78 */ mr r3, r29 -/* 80024894 000217F4 4B FF FB F9 */ bl EnterLogBook__7CMFGameFv -/* 80024898 000217F8 48 00 00 1C */ b lbl_800248B4 -lbl_8002489C: -/* 8002489C 000217FC 7F A3 EB 78 */ mr r3, r29 -/* 800248A0 00021800 4B FF FB B1 */ bl SaveGame__7CMFGameFv -/* 800248A4 00021804 48 00 00 10 */ b lbl_800248B4 -lbl_800248A8: -/* 800248A8 00021808 C0 23 0F 78 */ lfs f1, 0xf78(r3) -/* 800248AC 0002180C 7F A3 EB 78 */ mr r3, r29 -/* 800248B0 00021810 4B FF FB 65 */ bl EnterMessageScreen__7CMFGameFf -lbl_800248B4: -/* 800248B4 00021814 88 1D 00 2A */ lbz r0, 0x2a(r29) -/* 800248B8 00021818 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800248BC 0002181C 41 82 00 28 */ beq lbl_800248E4 -/* 800248C0 00021820 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 800248C4 00021824 80 63 00 00 */ lwz r3, 0(r3) -/* 800248C8 00021828 80 63 08 B8 */ lwz r3, 0x8b8(r3) -/* 800248CC 0002182C 80 63 00 00 */ lwz r3, 0(r3) -/* 800248D0 00021830 88 03 00 00 */ lbz r0, 0(r3) -/* 800248D4 00021834 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800248D8 00021838 40 82 00 0C */ bne lbl_800248E4 -/* 800248DC 0002183C 7F A3 EB 78 */ mr r3, r29 -/* 800248E0 00021840 4B FF FA D1 */ bl PlayerDied__7CMFGameFv -lbl_800248E4: -/* 800248E4 00021844 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 800248E8 00021848 38 00 00 00 */ li r0, 0 -/* 800248EC 0002184C 80 63 00 00 */ lwz r3, 0(r3) -/* 800248F0 00021850 90 03 09 00 */ stw r0, 0x900(r3) -/* 800248F4 00021854 48 00 01 2C */ b lbl_80024A20 -lbl_800248F8: -/* 800248F8 00021858 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 800248FC 0002185C 38 80 00 00 */ li r4, 0 -/* 80024900 00021860 7C 80 23 78 */ mr r0, r4 -/* 80024904 00021864 80 A3 00 00 */ lwz r5, 0(r3) -/* 80024908 00021868 80 65 01 BC */ lwz r3, 0x1bc(r5) -/* 8002490C 0002186C 2C 03 00 00 */ cmpwi r3, 0 -/* 80024910 00021870 41 80 00 10 */ blt lbl_80024920 -/* 80024914 00021874 2C 03 00 01 */ cmpwi r3, 1 -/* 80024918 00021878 41 81 00 08 */ bgt lbl_80024920 -/* 8002491C 0002187C 38 00 00 01 */ li r0, 1 -lbl_80024920: -/* 80024920 00021880 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80024924 00021884 41 82 00 2C */ beq lbl_80024950 -/* 80024928 00021888 80 65 01 C0 */ lwz r3, 0x1c0(r5) -/* 8002492C 0002188C 38 00 00 00 */ li r0, 0 -/* 80024930 00021890 2C 03 00 00 */ cmpwi r3, 0 -/* 80024934 00021894 41 80 00 10 */ blt lbl_80024944 -/* 80024938 00021898 2C 03 00 01 */ cmpwi r3, 1 -/* 8002493C 0002189C 41 81 00 08 */ bgt lbl_80024944 -/* 80024940 000218A0 38 00 00 01 */ li r0, 1 -lbl_80024944: -/* 80024944 000218A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80024948 000218A8 41 82 00 08 */ beq lbl_80024950 -/* 8002494C 000218AC 38 80 00 01 */ li r4, 1 -lbl_80024950: -/* 80024950 000218B0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80024954 000218B4 41 82 00 CC */ beq lbl_80024A20 -/* 80024958 000218B8 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 8002495C 000218BC 7F A3 EB 78 */ mr r3, r29 -/* 80024960 000218C0 88 05 01 F8 */ lbz r0, 0x1f8(r5) -/* 80024964 000218C4 80 84 00 00 */ lwz r4, 0(r4) -/* 80024968 000218C8 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 8002496C 000218CC 88 04 0F 94 */ lbz r0, 0xf94(r4) -/* 80024970 000218D0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80024974 000218D4 98 04 0F 94 */ stb r0, 0xf94(r4) -/* 80024978 000218D8 4B FF FA 55 */ bl UnpauseGame__7CMFGameFv -/* 8002497C 000218DC 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024980 000218E0 80 83 00 00 */ lwz r4, 0(r3) -/* 80024984 000218E4 80 64 0F 08 */ lwz r3, 0xf08(r4) -/* 80024988 000218E8 3C 03 00 01 */ addis r0, r3, 1 -/* 8002498C 000218EC 28 00 FF FF */ cmplwi r0, 0xffff -/* 80024990 000218F0 41 82 00 90 */ beq lbl_80024A20 -/* 80024994 000218F4 80 64 0F 80 */ lwz r3, 0xf80(r4) -/* 80024998 000218F8 38 03 00 01 */ addi r0, r3, 1 -/* 8002499C 000218FC 90 04 0F 80 */ stw r0, 0xf80(r4) -/* 800249A0 00021900 48 00 00 80 */ b lbl_80024A20 -lbl_800249A4: -/* 800249A4 00021904 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 800249A8 00021908 80 63 00 00 */ lwz r3, 0(r3) -/* 800249AC 0002190C 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 800249B0 00021910 4B FE D1 15 */ bl IsPlayerDeadEnough__7CPlayerCFv -/* 800249B4 00021914 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800249B8 00021918 41 82 00 38 */ beq lbl_800249F0 -/* 800249BC 0002191C 80 AD A0 78 */ lwz r5, gpMain@sda21(r13) -/* 800249C0 00021920 38 00 00 04 */ li r0, 4 -/* 800249C4 00021924 38 61 00 24 */ addi r3, r1, 0x24 -/* 800249C8 00021928 38 80 00 01 */ li r4, 1 -/* 800249CC 0002192C 90 05 01 2C */ stw r0, 0x12c(r5) -/* 800249D0 00021930 48 02 CF 91 */ bl CreateQuitGameplay__7MakeMsgF14EArchMsgTarget -/* 800249D4 00021934 7F C3 F3 78 */ mr r3, r30 -/* 800249D8 00021938 38 81 00 24 */ addi r4, r1, 0x24 -/* 800249DC 0002193C 4B FE 23 25 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 800249E0 00021940 34 61 00 2C */ addic. r3, r1, 0x2c -/* 800249E4 00021944 41 82 00 3C */ beq lbl_80024A20 -/* 800249E8 00021948 4B FE 3D 25 */ bl sub_8000870c -/* 800249EC 0002194C 48 00 00 34 */ b lbl_80024A20 -lbl_800249F0: -/* 800249F0 00021950 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 800249F4 00021954 FC 20 F8 90 */ fmr f1, f31 -/* 800249F8 00021958 80 63 00 00 */ lwz r3, 0(r3) -/* 800249FC 0002195C 38 03 08 FC */ addi r0, r3, 0x8fc -/* 80024A00 00021960 90 03 09 00 */ stw r0, 0x900(r3) -/* 80024A04 00021964 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024A08 00021968 80 63 00 00 */ lwz r3, 0(r3) -/* 80024A0C 0002196C 48 02 5D C1 */ bl Update__13CStateManagerFf -/* 80024A10 00021970 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024A14 00021974 38 00 00 00 */ li r0, 0 -/* 80024A18 00021978 80 63 00 00 */ lwz r3, 0(r3) -/* 80024A1C 0002197C 90 03 09 00 */ stw r0, 0x900(r3) -lbl_80024A20: -/* 80024A20 00021980 80 BD 00 14 */ lwz r5, 0x14(r29) -/* 80024A24 00021984 7F A3 EB 78 */ mr r3, r29 -/* 80024A28 00021988 80 9D 00 18 */ lwz r4, 0x18(r29) -/* 80024A2C 0002198C 83 A5 00 00 */ lwz r29, 0(r5) -/* 80024A30 00021990 83 84 00 00 */ lwz r28, 0(r4) -/* 80024A34 00021994 4B FF F9 59 */ bl IsCameraActiveFlow__7CMFGameFv -/* 80024A38 00021998 FC 20 F8 90 */ fmr f1, f31 -/* 80024A3C 0002199C 7C 66 1B 78 */ mr r6, r3 -/* 80024A40 000219A0 7F 83 E3 78 */ mr r3, r28 -/* 80024A44 000219A4 7F A4 EB 78 */ mr r4, r29 -/* 80024A48 000219A8 7F C5 F3 78 */ mr r5, r30 -/* 80024A4C 000219AC 48 0E 35 FD */ bl Update__17CInGameGuiManagerFRC13CStateManagerfR18CArchitectureQueueb -/* 80024A50 000219B0 28 1F 00 00 */ cmplwi r31, 0 -/* 80024A54 000219B4 40 82 00 18 */ bne lbl_80024A6C -/* 80024A58 000219B8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80024A5C 000219BC 48 1A EE BD */ bl WorldTransitionManager__10CGameStateFv -/* 80024A60 000219C0 80 63 00 00 */ lwz r3, 0(r3) -/* 80024A64 000219C4 80 63 00 00 */ lwz r3, 0(r3) -/* 80024A68 000219C8 48 1E 60 F1 */ bl EndTransition__18CWorldTransManagerFv -lbl_80024A6C: -/* 80024A6C 000219CC 38 60 00 01 */ li r3, 1 -/* 80024A70 000219D0 48 00 02 DC */ b lbl_80024D4C -/* 80024A74 000219D4 88 1D 00 2A */ lbz r0, 0x2a(r29) -/* 80024A78 000219D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80024A7C 000219DC 41 82 02 CC */ beq lbl_80024D48 -/* 80024A80 000219E0 7C 83 23 78 */ mr r3, r4 -/* 80024A84 000219E4 48 02 D0 61 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage -/* 80024A88 000219E8 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha -/* 80024A8C 000219EC 3C 80 80 3E */ lis r4, lbl_803D9810@ha -/* 80024A90 000219F0 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l -/* 80024A94 000219F4 90 01 00 60 */ stw r0, 0x60(r1) -/* 80024A98 000219F8 38 04 98 10 */ addi r0, r4, lbl_803D9810@l -/* 80024A9C 000219FC 90 01 00 60 */ stw r0, 0x60(r1) -/* 80024AA0 00021A00 C0 03 00 04 */ lfs f0, 4(r3) -/* 80024AA4 00021A04 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80024AA8 00021A08 80 03 00 08 */ lwz r0, 8(r3) -/* 80024AAC 00021A0C 90 01 00 68 */ stw r0, 0x68(r1) -/* 80024AB0 00021A10 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80024AB4 00021A14 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80024AB8 00021A18 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80024ABC 00021A1C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80024AC0 00021A20 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80024AC4 00021A24 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80024AC8 00021A28 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80024ACC 00021A2C D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80024AD0 00021A30 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80024AD4 00021A34 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80024AD8 00021A38 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 80024ADC 00021A3C D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80024AE0 00021A40 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80024AE4 00021A44 98 01 00 84 */ stb r0, 0x84(r1) -/* 80024AE8 00021A48 88 03 00 25 */ lbz r0, 0x25(r3) -/* 80024AEC 00021A4C 98 01 00 85 */ stb r0, 0x85(r1) -/* 80024AF0 00021A50 88 03 00 26 */ lbz r0, 0x26(r3) -/* 80024AF4 00021A54 98 01 00 86 */ stb r0, 0x86(r1) -/* 80024AF8 00021A58 88 03 00 27 */ lbz r0, 0x27(r3) -/* 80024AFC 00021A5C 98 01 00 87 */ stb r0, 0x87(r1) -/* 80024B00 00021A60 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 80024B04 00021A64 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80024B08 00021A68 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80024B0C 00021A6C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80024B10 00021A70 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80024B14 00021A74 98 01 00 90 */ stb r0, 0x90(r1) -/* 80024B18 00021A78 88 03 00 31 */ lbz r0, 0x31(r3) -/* 80024B1C 00021A7C 98 01 00 91 */ stb r0, 0x91(r1) -/* 80024B20 00021A80 88 03 00 32 */ lbz r0, 0x32(r3) -/* 80024B24 00021A84 38 61 00 60 */ addi r3, r1, 0x60 -/* 80024B28 00021A88 98 01 00 92 */ stb r0, 0x92(r1) -/* 80024B2C 00021A8C 4B FF 6E B9 */ bl GetUserInput__21CArchMsgParmUserInputCFv -/* 80024B30 00021A90 C0 03 00 00 */ lfs f0, 0(r3) -/* 80024B34 00021A94 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80024B38 00021A98 80 83 00 04 */ lwz r4, 4(r3) -/* 80024B3C 00021A9C 90 81 00 34 */ stw r4, 0x34(r1) -/* 80024B40 00021AA0 C0 03 00 08 */ lfs f0, 8(r3) -/* 80024B44 00021AA4 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80024B48 00021AA8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80024B4C 00021AAC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80024B50 00021AB0 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80024B54 00021AB4 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80024B58 00021AB8 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80024B5C 00021ABC D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80024B60 00021AC0 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80024B64 00021AC4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80024B68 00021AC8 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80024B6C 00021ACC D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80024B70 00021AD0 88 03 00 20 */ lbz r0, 0x20(r3) -/* 80024B74 00021AD4 98 01 00 50 */ stb r0, 0x50(r1) -/* 80024B78 00021AD8 88 03 00 21 */ lbz r0, 0x21(r3) -/* 80024B7C 00021ADC 98 01 00 51 */ stb r0, 0x51(r1) -/* 80024B80 00021AE0 88 03 00 22 */ lbz r0, 0x22(r3) -/* 80024B84 00021AE4 98 01 00 52 */ stb r0, 0x52(r1) -/* 80024B88 00021AE8 88 03 00 23 */ lbz r0, 0x23(r3) -/* 80024B8C 00021AEC 98 01 00 53 */ stb r0, 0x53(r1) -/* 80024B90 00021AF0 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 80024B94 00021AF4 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80024B98 00021AF8 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 80024B9C 00021AFC D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80024BA0 00021B00 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80024BA4 00021B04 98 01 00 5C */ stb r0, 0x5c(r1) -/* 80024BA8 00021B08 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80024BAC 00021B0C 98 01 00 5D */ stb r0, 0x5d(r1) -/* 80024BB0 00021B10 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80024BB4 00021B14 98 01 00 5E */ stb r0, 0x5e(r1) -/* 80024BB8 00021B18 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 80024BBC 00021B1C 2C 00 00 00 */ cmpwi r0, 0 -/* 80024BC0 00021B20 40 82 01 08 */ bne lbl_80024CC8 -/* 80024BC4 00021B24 2C 04 00 00 */ cmpwi r4, 0 -/* 80024BC8 00021B28 40 82 00 D0 */ bne lbl_80024C98 -/* 80024BCC 00021B2C 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024BD0 00021B30 80 83 00 00 */ lwz r4, 0(r3) -/* 80024BD4 00021B34 80 64 08 70 */ lwz r3, 0x870(r4) -/* 80024BD8 00021B38 4B FE 6F 41 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80024BDC 00021B3C 7C 60 1B 78 */ mr r0, r3 -/* 80024BE0 00021B40 38 61 00 08 */ addi r3, r1, 8 -/* 80024BE4 00021B44 7C 04 03 78 */ mr r4, r0 -/* 80024BE8 00021B48 48 08 AB 49 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" -/* 80024BEC 00021B4C 88 81 00 5E */ lbz r4, 0x5e(r1) -/* 80024BF0 00021B50 83 83 00 04 */ lwz r28, 4(r3) -/* 80024BF4 00021B54 54 80 07 FF */ clrlwi. r0, r4, 0x1f -/* 80024BF8 00021B58 41 82 00 6C */ beq lbl_80024C64 -/* 80024BFC 00021B5C 28 1C 00 00 */ cmplwi r28, 0 -/* 80024C00 00021B60 41 82 00 48 */ beq lbl_80024C48 -/* 80024C04 00021B64 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024C08 00021B68 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80024C0C 00021B6C 80 63 00 00 */ lwz r3, 0(r3) -/* 80024C10 00021B70 A0 63 0F 38 */ lhz r3, 0xf38(r3) -/* 80024C14 00021B74 7C 03 00 40 */ cmplw r3, r0 -/* 80024C18 00021B78 41 82 00 30 */ beq lbl_80024C48 -/* 80024C1C 00021B7C 48 33 44 05 */ bl StopAll__12CMidiManagerFv -/* 80024C20 00021B80 A0 9C 00 08 */ lhz r4, 8(r28) -/* 80024C24 00021B84 38 00 00 03 */ li r0, 3 -/* 80024C28 00021B88 C0 02 83 0C */ lfs f0, lbl_805AA02C@sda21(r2) -/* 80024C2C 00021B8C 38 61 00 60 */ addi r3, r1, 0x60 -/* 80024C30 00021B90 B0 9D 00 28 */ sth r4, 0x28(r29) -/* 80024C34 00021B94 38 80 FF FF */ li r4, -1 -/* 80024C38 00021B98 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 80024C3C 00021B9C D0 1D 00 20 */ stfs f0, 0x20(r29) -/* 80024C40 00021BA0 4B FF 6D AD */ bl __dt__21CArchMsgParmUserInputFv -/* 80024C44 00021BA4 48 00 01 04 */ b lbl_80024D48 -lbl_80024C48: -/* 80024C48 00021BA8 28 1C 00 00 */ cmplwi r28, 0 -/* 80024C4C 00021BAC 40 82 00 4C */ bne lbl_80024C98 -/* 80024C50 00021BB0 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024C54 00021BB4 38 80 00 02 */ li r4, 2 -/* 80024C58 00021BB8 80 63 00 00 */ lwz r3, 0(r3) -/* 80024C5C 00021BBC 48 01 FC 05 */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition -/* 80024C60 00021BC0 48 00 00 38 */ b lbl_80024C98 -lbl_80024C64: -/* 80024C64 00021BC4 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 80024C68 00021BC8 41 82 00 30 */ beq lbl_80024C98 -/* 80024C6C 00021BCC 28 1C 00 00 */ cmplwi r28, 0 -/* 80024C70 00021BD0 40 82 00 28 */ bne lbl_80024C98 -/* 80024C74 00021BD4 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024C78 00021BD8 80 63 00 00 */ lwz r3, 0(r3) -/* 80024C7C 00021BDC 48 01 FB 71 */ bl CanShowMapScreen__13CStateManagerFv -/* 80024C80 00021BE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80024C84 00021BE4 41 82 00 14 */ beq lbl_80024C98 -/* 80024C88 00021BE8 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024C8C 00021BEC 38 80 00 01 */ li r4, 1 -/* 80024C90 00021BF0 80 63 00 00 */ lwz r3, 0(r3) -/* 80024C94 00021BF4 48 01 FB CD */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition -lbl_80024C98: -/* 80024C98 00021BF8 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024C9C 00021BFC 38 81 00 30 */ addi r4, r1, 0x30 -/* 80024CA0 00021C00 80 63 00 00 */ lwz r3, 0(r3) -/* 80024CA4 00021C04 38 03 08 FC */ addi r0, r3, 0x8fc -/* 80024CA8 00021C08 90 03 09 00 */ stw r0, 0x900(r3) -/* 80024CAC 00021C0C 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024CB0 00021C10 80 63 00 00 */ lwz r3, 0(r3) -/* 80024CB4 00021C14 48 02 59 59 */ bl ProcessInput__13CStateManagerFRC11CFinalInput -/* 80024CB8 00021C18 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024CBC 00021C1C 38 00 00 00 */ li r0, 0 -/* 80024CC0 00021C20 80 63 00 00 */ lwz r3, 0(r3) -/* 80024CC4 00021C24 90 03 09 00 */ stw r0, 0x900(r3) -lbl_80024CC8: -/* 80024CC8 00021C28 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80024CCC 00021C2C 7F C6 F3 78 */ mr r6, r30 -/* 80024CD0 00021C30 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 80024CD4 00021C34 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80024CD8 00021C38 80 63 00 00 */ lwz r3, 0(r3) -/* 80024CDC 00021C3C 80 84 00 00 */ lwz r4, 0(r4) -/* 80024CE0 00021C40 48 0E 2B BD */ bl ProcessControllerInput__17CInGameGuiManagerFRC13CStateManagerRC11CFinalInputR18CArchitectureQueue -/* 80024CE4 00021C44 38 61 00 60 */ addi r3, r1, 0x60 -/* 80024CE8 00021C48 38 80 FF FF */ li r4, -1 -/* 80024CEC 00021C4C 4B FF 6D 01 */ bl __dt__21CArchMsgParmUserInputFv -/* 80024CF0 00021C50 48 00 00 58 */ b lbl_80024D48 -/* 80024CF4 00021C54 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024CF8 00021C58 80 63 00 00 */ lwz r3, 0(r3) -/* 80024CFC 00021C5C 48 02 58 A9 */ bl FrameEnd__13CStateManagerFv -/* 80024D00 00021C60 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80024D04 00021C64 80 63 00 00 */ lwz r3, 0(r3) -/* 80024D08 00021C68 88 03 0F 94 */ lbz r0, 0xf94(r3) -/* 80024D0C 00021C6C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80024D10 00021C70 41 82 00 38 */ beq lbl_80024D48 -/* 80024D14 00021C74 38 61 00 18 */ addi r3, r1, 0x18 -/* 80024D18 00021C78 38 80 00 01 */ li r4, 1 -/* 80024D1C 00021C7C 48 02 CC 45 */ bl CreateQuitGameplay__7MakeMsgF14EArchMsgTarget -/* 80024D20 00021C80 7F C3 F3 78 */ mr r3, r30 -/* 80024D24 00021C84 38 81 00 18 */ addi r4, r1, 0x18 -/* 80024D28 00021C88 4B FE 1F D9 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 80024D2C 00021C8C 34 61 00 20 */ addic. r3, r1, 0x20 -/* 80024D30 00021C90 41 82 00 18 */ beq lbl_80024D48 -/* 80024D34 00021C94 4B FE 39 D9 */ bl sub_8000870c -/* 80024D38 00021C98 48 00 00 10 */ b lbl_80024D48 -/* 80024D3C 00021C9C 48 34 7F C1 */ bl sub_8036ccfc -/* 80024D40 00021CA0 38 60 00 03 */ li r3, 3 -/* 80024D44 00021CA4 48 00 00 08 */ b lbl_80024D4C -lbl_80024D48: -/* 80024D48 00021CA8 38 60 00 00 */ li r3, 0 -lbl_80024D4C: -/* 80024D4C 00021CAC E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80024D50 00021CB0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80024D54 00021CB4 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 80024D58 00021CB8 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80024D5C 00021CBC 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80024D60 00021CC0 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80024D64 00021CC4 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 80024D68 00021CC8 7C 08 03 A6 */ mtlr r0 -/* 80024D6C 00021CCC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80024D70 00021CD0 4E 80 00 20 */ blr - -.global Touch__7CMFGameFv -Touch__7CMFGameFv: -/* 80024D74 00021CD4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80024D78 00021CD8 7C 08 02 A6 */ mflr r0 -/* 80024D7C 00021CDC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80024D80 00021CE0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80024D84 00021CE4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80024D88 00021CE8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80024D8C 00021CEC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80024D90 00021CF0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80024D94 00021CF4 83 E3 00 00 */ lwz r31, 0(r3) -/* 80024D98 00021CF8 7F E3 FB 78 */ mr r3, r31 -/* 80024D9C 00021CFC 48 02 06 3D */ bl TouchSky__13CStateManagerCFv -/* 80024DA0 00021D00 7F E3 FB 78 */ mr r3, r31 -/* 80024DA4 00021D04 48 02 05 E1 */ bl TouchPlayerActor__13CStateManagerFv -/* 80024DA8 00021D08 83 DF 08 4C */ lwz r30, 0x84c(r31) -/* 80024DAC 00021D0C 3B A0 00 00 */ li r29, 0 -/* 80024DB0 00021D10 3B 80 00 00 */ li r28, 0 -/* 80024DB4 00021D14 38 60 00 00 */ li r3, 0 -/* 80024DB8 00021D18 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 80024DBC 00021D1C 2C 00 00 02 */ cmpwi r0, 2 -/* 80024DC0 00021D20 41 82 00 34 */ beq lbl_80024DF4 -/* 80024DC4 00021D24 40 80 00 14 */ bge lbl_80024DD8 -/* 80024DC8 00021D28 2C 00 00 00 */ cmpwi r0, 0 -/* 80024DCC 00021D2C 41 82 00 18 */ beq lbl_80024DE4 -/* 80024DD0 00021D30 40 80 00 1C */ bge lbl_80024DEC -/* 80024DD4 00021D34 48 00 00 34 */ b lbl_80024E08 -lbl_80024DD8: -/* 80024DD8 00021D38 2C 00 00 04 */ cmpwi r0, 4 -/* 80024DDC 00021D3C 40 80 00 2C */ bge lbl_80024E08 -/* 80024DE0 00021D40 48 00 00 20 */ b lbl_80024E00 -lbl_80024DE4: -/* 80024DE4 00021D44 38 60 00 01 */ li r3, 1 -/* 80024DE8 00021D48 48 00 00 20 */ b lbl_80024E08 -lbl_80024DEC: -/* 80024DEC 00021D4C 3B 80 00 01 */ li r28, 1 -/* 80024DF0 00021D50 48 00 00 18 */ b lbl_80024E08 -lbl_80024DF4: -/* 80024DF4 00021D54 3B 80 00 01 */ li r28, 1 -/* 80024DF8 00021D58 3B A0 00 01 */ li r29, 1 -/* 80024DFC 00021D5C 48 00 00 0C */ b lbl_80024E08 -lbl_80024E00: -/* 80024E00 00021D60 38 60 00 01 */ li r3, 1 -/* 80024E04 00021D64 3B A0 00 01 */ li r29, 1 -lbl_80024E08: -/* 80024E08 00021D68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80024E0C 00021D6C 41 82 00 10 */ beq lbl_80024E1C -/* 80024E10 00021D70 80 7E 04 90 */ lwz r3, 0x490(r30) -/* 80024E14 00021D74 7F E4 FB 78 */ mr r4, r31 -/* 80024E18 00021D78 48 01 D5 65 */ bl TouchModel__10CPlayerGunCFRC13CStateManager -lbl_80024E1C: -/* 80024E1C 00021D7C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80024E20 00021D80 41 82 00 14 */ beq lbl_80024E34 -/* 80024E24 00021D84 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80024E28 00021D88 7F E4 FB 78 */ mr r4, r31 -/* 80024E2C 00021D8C 38 A0 00 00 */ li r5, 0 -/* 80024E30 00021D90 48 0F 0E E1 */ bl Touch__10CModelDataCFRC13CStateManageri -lbl_80024E34: -/* 80024E34 00021D94 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80024E38 00021D98 41 82 00 10 */ beq lbl_80024E48 -/* 80024E3C 00021D9C 80 7E 07 68 */ lwz r3, 0x768(r30) -/* 80024E40 00021DA0 7F E4 FB 78 */ mr r4, r31 -/* 80024E44 00021DA4 48 0C A1 79 */ bl TouchModel__10CMorphBallCFRC13CStateManager -lbl_80024E48: -/* 80024E48 00021DA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80024E4C 00021DAC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80024E50 00021DB0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80024E54 00021DB4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80024E58 00021DB8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80024E5C 00021DBC 7C 08 03 A6 */ mtlr r0 -/* 80024E60 00021DC0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80024E64 00021DC4 4E 80 00 20 */ blr - -.global __dt__7CMFGameFv -__dt__7CMFGameFv: -/* 80024E68 00021DC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80024E6C 00021DCC 7C 08 02 A6 */ mflr r0 -/* 80024E70 00021DD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80024E74 00021DD4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80024E78 00021DD8 7C 9F 23 78 */ mr r31, r4 -/* 80024E7C 00021DDC 93 C1 00 08 */ stw r30, 8(r1) -/* 80024E80 00021DE0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80024E84 00021DE4 41 82 00 9C */ beq lbl_80024F20 -/* 80024E88 00021DE8 3C 60 80 3E */ lis r3, lbl_803D99D4@ha -/* 80024E8C 00021DEC 38 80 00 00 */ li r4, 0 -/* 80024E90 00021DF0 38 03 99 D4 */ addi r0, r3, lbl_803D99D4@l -/* 80024E94 00021DF4 90 1E 00 00 */ stw r0, 0(r30) -/* 80024E98 00021DF8 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 80024E9C 00021DFC 88 03 01 60 */ lbz r0, 0x160(r3) -/* 80024EA0 00021E00 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80024EA4 00021E04 98 03 01 60 */ stb r0, 0x160(r3) -/* 80024EA8 00021E08 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 80024EAC 00021E0C 88 03 01 60 */ lbz r0, 0x160(r3) -/* 80024EB0 00021E10 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80024EB4 00021E14 98 03 01 60 */ stb r0, 0x160(r3) -/* 80024EB8 00021E18 48 0F 25 D1 */ bl Reinitialize__13CDecalManagerFv -/* 80024EBC 00021E1C 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 80024EC0 00021E20 41 82 00 14 */ beq lbl_80024ED4 -/* 80024EC4 00021E24 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80024EC8 00021E28 28 03 00 00 */ cmplwi r3, 0 -/* 80024ECC 00021E2C 41 82 00 08 */ beq lbl_80024ED4 -/* 80024ED0 00021E30 48 2F 0A 61 */ bl Free__7CMemoryFPCv -lbl_80024ED4: -/* 80024ED4 00021E34 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 80024ED8 00021E38 41 82 00 14 */ beq lbl_80024EEC -/* 80024EDC 00021E3C 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 80024EE0 00021E40 41 82 00 0C */ beq lbl_80024EEC -/* 80024EE4 00021E44 38 7E 00 18 */ addi r3, r30, 0x18 -/* 80024EE8 00021E48 48 00 01 3D */ bl sub_80025024 -lbl_80024EEC: -/* 80024EEC 00021E4C 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80024EF0 00021E50 41 82 00 14 */ beq lbl_80024F04 -/* 80024EF4 00021E54 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80024EF8 00021E58 41 82 00 0C */ beq lbl_80024F04 -/* 80024EFC 00021E5C 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80024F00 00021E60 48 00 01 81 */ bl sub_80025080 -lbl_80024F04: -/* 80024F04 00021E64 7F C3 F3 78 */ mr r3, r30 -/* 80024F08 00021E68 38 80 00 00 */ li r4, 0 -/* 80024F0C 00021E6C 48 02 DC 99 */ bl __dt__6CIOWinFv -/* 80024F10 00021E70 7F E0 07 35 */ extsh. r0, r31 -/* 80024F14 00021E74 40 81 00 0C */ ble lbl_80024F20 -/* 80024F18 00021E78 7F C3 F3 78 */ mr r3, r30 -/* 80024F1C 00021E7C 48 2F 0A 15 */ bl Free__7CMemoryFPCv -lbl_80024F20: -/* 80024F20 00021E80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80024F24 00021E84 7F C3 F3 78 */ mr r3, r30 -/* 80024F28 00021E88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80024F2C 00021E8C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80024F30 00021E90 7C 08 03 A6 */ mtlr r0 -/* 80024F34 00021E94 38 21 00 10 */ addi r1, r1, 0x10 -/* 80024F38 00021E98 4E 80 00 20 */ blr - -.global "__ct__7CMFGameFQ24rstl25ncrc_ptr<13CStateManager>Q24rstl29ncrc_ptr<17CInGameGuiManager>R18CArchitectureQueue" -"__ct__7CMFGameFQ24rstl25ncrc_ptr<13CStateManager>Q24rstl29ncrc_ptr<17CInGameGuiManager>R18CArchitectureQueue": -/* 80024F3C 00021E9C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80024F40 00021EA0 7C 08 02 A6 */ mflr r0 -/* 80024F44 00021EA4 3C C0 80 3D */ lis r6, lbl_803CCAB8@ha -/* 80024F48 00021EA8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80024F4C 00021EAC 38 C6 CA B8 */ addi r6, r6, lbl_803CCAB8@l -/* 80024F50 00021EB0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80024F54 00021EB4 7C 7F 1B 78 */ mr r31, r3 -/* 80024F58 00021EB8 38 61 00 08 */ addi r3, r1, 8 -/* 80024F5C 00021EBC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80024F60 00021EC0 7C BE 2B 78 */ mr r30, r5 -/* 80024F64 00021EC4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80024F68 00021EC8 7C 9D 23 78 */ mr r29, r4 -/* 80024F6C 00021ECC 38 86 00 53 */ addi r4, r6, 0x53 -/* 80024F70 00021ED0 4B FD FD 49 */ bl string_l__4rstlFPCc -/* 80024F74 00021ED4 7F E3 FB 78 */ mr r3, r31 -/* 80024F78 00021ED8 38 81 00 08 */ addi r4, r1, 8 -/* 80024F7C 00021EDC 48 02 DC 91 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80024F80 00021EE0 38 61 00 08 */ addi r3, r1, 8 -/* 80024F84 00021EE4 48 31 8B 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80024F88 00021EE8 3C 60 80 3E */ lis r3, lbl_803D99D4@ha -/* 80024F8C 00021EEC 38 80 00 00 */ li r4, 0 -/* 80024F90 00021EF0 38 03 99 D4 */ addi r0, r3, lbl_803D99D4@l -/* 80024F94 00021EF4 38 A0 00 01 */ li r5, 1 -/* 80024F98 00021EF8 90 1F 00 00 */ stw r0, 0(r31) -/* 80024F9C 00021EFC 7F E3 FB 78 */ mr r3, r31 -/* 80024FA0 00021F00 80 1D 00 00 */ lwz r0, 0(r29) -/* 80024FA4 00021F04 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80024FA8 00021F08 80 FF 00 14 */ lwz r7, 0x14(r31) -/* 80024FAC 00021F0C 80 C7 00 04 */ lwz r6, 4(r7) -/* 80024FB0 00021F10 38 06 00 01 */ addi r0, r6, 1 -/* 80024FB4 00021F14 90 07 00 04 */ stw r0, 4(r7) -/* 80024FB8 00021F18 80 1E 00 00 */ lwz r0, 0(r30) -/* 80024FBC 00021F1C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80024FC0 00021F20 80 FF 00 18 */ lwz r7, 0x18(r31) -/* 80024FC4 00021F24 80 C7 00 04 */ lwz r6, 4(r7) -/* 80024FC8 00021F28 38 06 00 01 */ addi r0, r6, 1 -/* 80024FCC 00021F2C 90 07 00 04 */ stw r0, 4(r7) -/* 80024FD0 00021F30 90 9F 00 1C */ stw r4, 0x1c(r31) -/* 80024FD4 00021F34 90 9F 00 24 */ stw r4, 0x24(r31) -/* 80024FD8 00021F38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80024FDC 00021F3C B0 1F 00 28 */ sth r0, 0x28(r31) -/* 80024FE0 00021F40 88 1F 00 2A */ lbz r0, 0x2a(r31) -/* 80024FE4 00021F44 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80024FE8 00021F48 98 1F 00 2A */ stb r0, 0x2a(r31) -/* 80024FEC 00021F4C 88 1F 00 2A */ lbz r0, 0x2a(r31) -/* 80024FF0 00021F50 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80024FF4 00021F54 98 1F 00 2A */ stb r0, 0x2a(r31) -/* 80024FF8 00021F58 80 8D A0 78 */ lwz r4, gpMain@sda21(r13) -/* 80024FFC 00021F5C 88 04 01 60 */ lbz r0, 0x160(r4) -/* 80025000 00021F60 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80025004 00021F64 98 04 01 60 */ stb r0, 0x160(r4) -/* 80025008 00021F68 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002500C 00021F6C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80025010 00021F70 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80025014 00021F74 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80025018 00021F78 7C 08 03 A6 */ mtlr r0 -/* 8002501C 00021F7C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80025020 00021F80 4E 80 00 20 */ blr - -.global sub_80025024 -sub_80025024: -/* 80025024 00021F84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80025028 00021F88 7C 08 02 A6 */ mflr r0 -/* 8002502C 00021F8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80025030 00021F90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80025034 00021F94 7C 7F 1B 78 */ mr r31, r3 -/* 80025038 00021F98 80 83 00 00 */ lwz r4, 0(r3) -/* 8002503C 00021F9C 80 64 00 04 */ lwz r3, 4(r4) -/* 80025040 00021FA0 34 03 FF FF */ addic. r0, r3, -1 -/* 80025044 00021FA4 90 04 00 04 */ stw r0, 4(r4) -/* 80025048 00021FA8 41 81 00 24 */ bgt lbl_8002506C -/* 8002504C 00021FAC 80 7F 00 00 */ lwz r3, 0(r31) -/* 80025050 00021FB0 38 80 00 01 */ li r4, 1 -/* 80025054 00021FB4 80 63 00 00 */ lwz r3, 0(r3) -/* 80025058 00021FB8 48 0E 4C 29 */ bl __dt__17CInGameGuiManagerFv -/* 8002505C 00021FBC 80 7F 00 00 */ lwz r3, 0(r31) -/* 80025060 00021FC0 28 03 00 00 */ cmplwi r3, 0 -/* 80025064 00021FC4 41 82 00 08 */ beq lbl_8002506C -/* 80025068 00021FC8 48 2F 08 C9 */ bl Free__7CMemoryFPCv -lbl_8002506C: -/* 8002506C 00021FCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80025070 00021FD0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80025074 00021FD4 7C 08 03 A6 */ mtlr r0 -/* 80025078 00021FD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002507C 00021FDC 4E 80 00 20 */ blr - -.global sub_80025080 -sub_80025080: -/* 80025080 00021FE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80025084 00021FE4 7C 08 02 A6 */ mflr r0 -/* 80025088 00021FE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002508C 00021FEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80025090 00021FF0 7C 7F 1B 78 */ mr r31, r3 -/* 80025094 00021FF4 80 83 00 00 */ lwz r4, 0(r3) -/* 80025098 00021FF8 80 64 00 04 */ lwz r3, 4(r4) -/* 8002509C 00021FFC 34 03 FF FF */ addic. r0, r3, -1 -/* 800250A0 00022000 90 04 00 04 */ stw r0, 4(r4) -/* 800250A4 00022004 41 81 00 24 */ bgt lbl_800250C8 -/* 800250A8 00022008 80 7F 00 00 */ lwz r3, 0(r31) -/* 800250AC 0002200C 38 80 00 01 */ li r4, 1 -/* 800250B0 00022010 80 63 00 00 */ lwz r3, 0(r3) -/* 800250B4 00022014 48 02 80 F9 */ bl __dt__13CStateManagerFv -/* 800250B8 00022018 80 7F 00 00 */ lwz r3, 0(r31) -/* 800250BC 0002201C 28 03 00 00 */ cmplwi r3, 0 -/* 800250C0 00022020 41 82 00 08 */ beq lbl_800250C8 -/* 800250C4 00022024 48 2F 08 6D */ bl Free__7CMemoryFPCv -lbl_800250C8: -/* 800250C8 00022028 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800250CC 0002202C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800250D0 00022030 7C 08 03 A6 */ mtlr r0 -/* 800250D4 00022034 38 21 00 10 */ addi r1, r1, 0x10 -/* 800250D8 00022038 4E 80 00 20 */ blr - -.global "__nw__27TOneStatic<13CStateManager>FUlPCcPCc" -"__nw__27TOneStatic<13CStateManager>FUlPCcPCc": -/* 800250DC 0002203C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800250E0 00022040 7C 08 02 A6 */ mflr r0 -/* 800250E4 00022044 90 01 00 14 */ stw r0, 0x14(r1) -/* 800250E8 00022048 48 00 00 31 */ bl "ReferenceCount__27TOneStatic<13CStateManager>Fv" -/* 800250EC 0002204C 80 83 00 00 */ lwz r4, 0(r3) -/* 800250F0 00022050 38 04 00 01 */ addi r0, r4, 1 -/* 800250F4 00022054 90 03 00 00 */ stw r0, 0(r3) -/* 800250F8 00022058 48 00 00 15 */ bl "GetAllocSpace__27TOneStatic<13CStateManager>Fv" -/* 800250FC 0002205C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80025100 00022060 7C 08 03 A6 */ mtlr r0 -/* 80025104 00022064 38 21 00 10 */ addi r1, r1, 0x10 -/* 80025108 00022068 4E 80 00 20 */ blr - -.global "GetAllocSpace__27TOneStatic<13CStateManager>Fv" -"GetAllocSpace__27TOneStatic<13CStateManager>Fv": -/* 8002510C 0002206C 3C 60 80 46 */ lis r3, lbl_8045A1A8@ha -/* 80025110 00022070 38 63 A1 A8 */ addi r3, r3, lbl_8045A1A8@l -/* 80025114 00022074 4E 80 00 20 */ blr - -.global "ReferenceCount__27TOneStatic<13CStateManager>Fv" -"ReferenceCount__27TOneStatic<13CStateManager>Fv": -/* 80025118 00022078 88 0D A1 04 */ lbz r0, lbl_805A8CC4@sda21(r13) -/* 8002511C 0002207C 7C 00 07 75 */ extsb. r0, r0 -/* 80025120 00022080 40 82 00 14 */ bne lbl_80025134 -/* 80025124 00022084 38 60 00 00 */ li r3, 0 -/* 80025128 00022088 38 00 00 01 */ li r0, 1 -/* 8002512C 0002208C 90 6D A1 00 */ stw r3, lbl_805A8CC0@sda21(r13) -/* 80025130 00022090 98 0D A1 04 */ stb r0, lbl_805A8CC4@sda21(r13) -lbl_80025134: -/* 80025134 00022094 38 6D A1 00 */ addi r3, r13, lbl_805A8CC0@sda21 -/* 80025138 00022098 4E 80 00 20 */ blr - -.global __sinit_CMFGame_cpp -__sinit_CMFGame_cpp: -/* 8002513C 0002209C 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha -/* 80025140 000220A0 3C 80 15 8F */ lis r4, 0x158EFE17@ha -/* 80025144 000220A4 38 A3 56 4C */ addi r5, r3, 0x4D4C564C@l -/* 80025148 000220A8 38 6D A0 F8 */ addi r3, r13, lbl_805A8CB8@sda21 -/* 8002514C 000220AC 38 04 FE 17 */ addi r0, r4, 0x158EFE17@l -/* 80025150 000220B0 90 AD A0 F8 */ stw r5, lbl_805A8CB8@sda21(r13) -/* 80025154 000220B4 90 03 00 04 */ stw r0, 4(r3) -/* 80025158 000220B8 4E 80 00 20 */ blr - -.global GetIsContinueDraw__9CAutoSaveCFv -GetIsContinueDraw__9CAutoSaveCFv: -/* 8002515C 000220BC 38 60 00 00 */ li r3, 0 -/* 80025160 000220C0 4E 80 00 20 */ blr - -.global Draw__9CAutoSaveCFv -Draw__9CAutoSaveCFv: -/* 80025164 000220C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80025168 000220C8 7C 08 02 A6 */ mflr r0 -/* 8002516C 000220CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80025170 000220D0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80025174 000220D4 48 22 A5 AD */ bl Draw__15CSaveGameScreenFv -/* 80025178 000220D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002517C 000220DC 7C 08 03 A6 */ mtlr r0 -/* 80025180 000220E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80025184 000220E4 4E 80 00 20 */ blr - -.global OnMessage__9CAutoSaveFRC20CArchitectureMessageR18CArchitectureQueue -OnMessage__9CAutoSaveFRC20CArchitectureMessageR18CArchitectureQueue: -/* 80025188 000220E8 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8002518C 000220EC 7C 08 02 A6 */ mflr r0 -/* 80025190 000220F0 38 A0 00 00 */ li r5, 0 -/* 80025194 000220F4 90 01 00 84 */ stw r0, 0x84(r1) -/* 80025198 000220F8 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8002519C 000220FC 7C 7F 1B 78 */ mr r31, r3 -/* 800251A0 00022100 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) -/* 800251A4 00022104 80 06 02 10 */ lwz r0, 0x210(r6) -/* 800251A8 00022108 80 66 02 14 */ lwz r3, 0x214(r6) -/* 800251AC 0002210C 7C 00 2A 78 */ xor r0, r0, r5 -/* 800251B0 00022110 7C 63 2A 78 */ xor r3, r3, r5 -/* 800251B4 00022114 7C 60 03 79 */ or. r0, r3, r0 -/* 800251B8 00022118 40 82 00 0C */ bne lbl_800251C4 -/* 800251BC 0002211C 38 60 00 02 */ li r3, 2 -/* 800251C0 00022120 48 00 01 9C */ b lbl_8002535C -lbl_800251C4: -/* 800251C4 00022124 80 04 00 04 */ lwz r0, 4(r4) -/* 800251C8 00022128 2C 00 00 05 */ cmpwi r0, 5 -/* 800251CC 0002212C 41 82 00 3C */ beq lbl_80025208 -/* 800251D0 00022130 40 80 01 88 */ bge lbl_80025358 -/* 800251D4 00022134 2C 00 00 04 */ cmpwi r0, 4 -/* 800251D8 00022138 40 80 00 08 */ bge lbl_800251E0 -/* 800251DC 0002213C 48 00 01 7C */ b lbl_80025358 -lbl_800251E0: -/* 800251E0 00022140 7C 83 23 78 */ mr r3, r4 -/* 800251E4 00022144 48 02 C9 D9 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage -/* 800251E8 00022148 7C 64 1B 78 */ mr r4, r3 -/* 800251EC 0002214C 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 800251F0 00022150 C0 24 00 04 */ lfs f1, 4(r4) -/* 800251F4 00022154 48 22 A5 A9 */ bl Update__15CSaveGameScreenFf -/* 800251F8 00022158 2C 03 00 00 */ cmpwi r3, 0 -/* 800251FC 0002215C 41 82 01 5C */ beq lbl_80025358 -/* 80025200 00022160 38 60 00 02 */ li r3, 2 -/* 80025204 00022164 48 00 01 58 */ b lbl_8002535C -lbl_80025208: -/* 80025208 00022168 7C 83 23 78 */ mr r3, r4 -/* 8002520C 0002216C 48 02 C8 D9 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage -/* 80025210 00022170 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha -/* 80025214 00022174 3C 80 80 3E */ lis r4, lbl_803D9810@ha -/* 80025218 00022178 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l -/* 8002521C 0002217C 90 01 00 38 */ stw r0, 0x38(r1) -/* 80025220 00022180 38 04 98 10 */ addi r0, r4, lbl_803D9810@l -/* 80025224 00022184 90 01 00 38 */ stw r0, 0x38(r1) -/* 80025228 00022188 C0 03 00 04 */ lfs f0, 4(r3) -/* 8002522C 0002218C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80025230 00022190 80 03 00 08 */ lwz r0, 8(r3) -/* 80025234 00022194 90 01 00 40 */ stw r0, 0x40(r1) -/* 80025238 00022198 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8002523C 0002219C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80025240 000221A0 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80025244 000221A4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80025248 000221A8 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8002524C 000221AC D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80025250 000221B0 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80025254 000221B4 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80025258 000221B8 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 8002525C 000221BC D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80025260 000221C0 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 80025264 000221C4 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80025268 000221C8 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8002526C 000221CC 98 01 00 5C */ stb r0, 0x5c(r1) -/* 80025270 000221D0 88 03 00 25 */ lbz r0, 0x25(r3) -/* 80025274 000221D4 98 01 00 5D */ stb r0, 0x5d(r1) -/* 80025278 000221D8 88 03 00 26 */ lbz r0, 0x26(r3) -/* 8002527C 000221DC 98 01 00 5E */ stb r0, 0x5e(r1) -/* 80025280 000221E0 88 03 00 27 */ lbz r0, 0x27(r3) -/* 80025284 000221E4 98 01 00 5F */ stb r0, 0x5f(r1) -/* 80025288 000221E8 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8002528C 000221EC D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80025290 000221F0 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80025294 000221F4 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80025298 000221F8 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8002529C 000221FC 98 01 00 68 */ stb r0, 0x68(r1) -/* 800252A0 00022200 88 03 00 31 */ lbz r0, 0x31(r3) -/* 800252A4 00022204 98 01 00 69 */ stb r0, 0x69(r1) -/* 800252A8 00022208 88 03 00 32 */ lbz r0, 0x32(r3) -/* 800252AC 0002220C 38 61 00 38 */ addi r3, r1, 0x38 -/* 800252B0 00022210 98 01 00 6A */ stb r0, 0x6a(r1) -/* 800252B4 00022214 4B FF 67 31 */ bl GetUserInput__21CArchMsgParmUserInputCFv -/* 800252B8 00022218 C0 03 00 00 */ lfs f0, 0(r3) -/* 800252BC 0002221C 38 81 00 08 */ addi r4, r1, 8 -/* 800252C0 00022220 D0 01 00 08 */ stfs f0, 8(r1) -/* 800252C4 00022224 80 03 00 04 */ lwz r0, 4(r3) -/* 800252C8 00022228 90 01 00 0C */ stw r0, 0xc(r1) -/* 800252CC 0002222C C0 03 00 08 */ lfs f0, 8(r3) -/* 800252D0 00022230 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800252D4 00022234 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800252D8 00022238 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800252DC 0002223C C0 03 00 10 */ lfs f0, 0x10(r3) -/* 800252E0 00022240 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800252E4 00022244 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 800252E8 00022248 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800252EC 0002224C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 800252F0 00022250 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800252F4 00022254 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 800252F8 00022258 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800252FC 0002225C 88 03 00 20 */ lbz r0, 0x20(r3) -/* 80025300 00022260 98 01 00 28 */ stb r0, 0x28(r1) -/* 80025304 00022264 88 03 00 21 */ lbz r0, 0x21(r3) -/* 80025308 00022268 98 01 00 29 */ stb r0, 0x29(r1) -/* 8002530C 0002226C 88 03 00 22 */ lbz r0, 0x22(r3) -/* 80025310 00022270 98 01 00 2A */ stb r0, 0x2a(r1) -/* 80025314 00022274 88 03 00 23 */ lbz r0, 0x23(r3) -/* 80025318 00022278 98 01 00 2B */ stb r0, 0x2b(r1) -/* 8002531C 0002227C C0 03 00 24 */ lfs f0, 0x24(r3) -/* 80025320 00022280 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80025324 00022284 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 80025328 00022288 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8002532C 0002228C 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80025330 00022290 98 01 00 34 */ stb r0, 0x34(r1) -/* 80025334 00022294 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80025338 00022298 98 01 00 35 */ stb r0, 0x35(r1) -/* 8002533C 0002229C 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80025340 000222A0 98 01 00 36 */ stb r0, 0x36(r1) -/* 80025344 000222A4 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80025348 000222A8 48 22 A4 29 */ bl ProcessUserInput__15CSaveGameScreenFRC11CFinalInput -/* 8002534C 000222AC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80025350 000222B0 38 80 FF FF */ li r4, -1 -/* 80025354 000222B4 4B FF 66 99 */ bl __dt__21CArchMsgParmUserInputFv -lbl_80025358: -/* 80025358 000222B8 38 60 00 01 */ li r3, 1 -lbl_8002535C: -/* 8002535C 000222BC 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80025360 000222C0 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80025364 000222C4 7C 08 03 A6 */ mtlr r0 -/* 80025368 000222C8 38 21 00 80 */ addi r1, r1, 0x80 -/* 8002536C 000222CC 4E 80 00 20 */ blr - -.global __dt__9CAutoSaveFv -__dt__9CAutoSaveFv: -/* 80025370 000222D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80025374 000222D4 7C 08 02 A6 */ mflr r0 -/* 80025378 000222D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002537C 000222DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80025380 000222E0 7C 9F 23 78 */ mr r31, r4 -/* 80025384 000222E4 93 C1 00 08 */ stw r30, 8(r1) -/* 80025388 000222E8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002538C 000222EC 41 82 00 40 */ beq lbl_800253CC -/* 80025390 000222F0 3C 60 80 3E */ lis r3, lbl_803D99F0@ha -/* 80025394 000222F4 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80025398 000222F8 38 03 99 F0 */ addi r0, r3, lbl_803D99F0@l -/* 8002539C 000222FC 90 1E 00 00 */ stw r0, 0(r30) -/* 800253A0 00022300 41 82 00 10 */ beq lbl_800253B0 -/* 800253A4 00022304 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 800253A8 00022308 38 80 00 01 */ li r4, 1 -/* 800253AC 0002230C 48 22 AA 79 */ bl __dt__15CSaveGameScreenFv -lbl_800253B0: -/* 800253B0 00022310 7F C3 F3 78 */ mr r3, r30 -/* 800253B4 00022314 38 80 00 00 */ li r4, 0 -/* 800253B8 00022318 48 02 D7 ED */ bl __dt__6CIOWinFv -/* 800253BC 0002231C 7F E0 07 35 */ extsh. r0, r31 -/* 800253C0 00022320 40 81 00 0C */ ble lbl_800253CC -/* 800253C4 00022324 7F C3 F3 78 */ mr r3, r30 -/* 800253C8 00022328 48 2F 05 69 */ bl Free__7CMemoryFPCv -lbl_800253CC: -/* 800253CC 0002232C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800253D0 00022330 7F C3 F3 78 */ mr r3, r30 -/* 800253D4 00022334 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800253D8 00022338 83 C1 00 08 */ lwz r30, 8(r1) -/* 800253DC 0002233C 7C 08 03 A6 */ mtlr r0 -/* 800253E0 00022340 38 21 00 10 */ addi r1, r1, 0x10 -/* 800253E4 00022344 4E 80 00 20 */ blr - -.global __ct__9CAutoSaveFv -__ct__9CAutoSaveFv: -/* 800253E8 00022348 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800253EC 0002234C 7C 08 02 A6 */ mflr r0 -/* 800253F0 00022350 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 800253F4 00022354 90 01 00 24 */ stw r0, 0x24(r1) -/* 800253F8 00022358 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 800253FC 0002235C 38 84 01 48 */ addi r4, r4, 0x148 -/* 80025400 00022360 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80025404 00022364 7C 7F 1B 78 */ mr r31, r3 -/* 80025408 00022368 38 61 00 08 */ addi r3, r1, 8 -/* 8002540C 0002236C 4B FD F8 AD */ bl string_l__4rstlFPCc -/* 80025410 00022370 7F E3 FB 78 */ mr r3, r31 -/* 80025414 00022374 38 81 00 08 */ addi r4, r1, 8 -/* 80025418 00022378 48 02 D7 F5 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002541C 0002237C 38 61 00 08 */ addi r3, r1, 8 -/* 80025420 00022380 48 31 86 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80025424 00022384 3C 60 80 3E */ lis r3, lbl_803D99F0@ha -/* 80025428 00022388 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 8002542C 0002238C 38 03 99 F0 */ addi r0, r3, lbl_803D99F0@l -/* 80025430 00022390 38 60 00 98 */ li r3, 0x98 -/* 80025434 00022394 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80025438 00022398 90 1F 00 00 */ stw r0, 0(r31) -/* 8002543C 0002239C 38 84 01 51 */ addi r4, r4, 0x151 -/* 80025440 000223A0 38 A0 00 00 */ li r5, 0 -/* 80025444 000223A4 48 2F 04 29 */ bl __nw__FUlPCcPCc -/* 80025448 000223A8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8002544C 000223AC 41 82 00 1C */ beq lbl_80025468 -/* 80025450 000223B0 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) -/* 80025454 000223B4 38 80 00 01 */ li r4, 1 -/* 80025458 000223B8 80 A6 02 10 */ lwz r5, 0x210(r6) -/* 8002545C 000223BC 80 C6 02 14 */ lwz r6, 0x214(r6) -/* 80025460 000223C0 48 22 AB 1D */ bl __ct__15CSaveGameScreen -/* 80025464 000223C4 7C 60 1B 78 */ mr r0, r3 -lbl_80025468: -/* 80025468 000223C8 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8002546C 000223CC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 80025470 000223D0 4B FD F1 21 */ bl RefreshGameState__5CMainFv -/* 80025474 000223D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80025478 000223D8 7F E3 FB 78 */ mr r3, r31 -/* 8002547C 000223DC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80025480 000223E0 7C 08 03 A6 */ mtlr r0 -/* 80025484 000223E4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80025488 000223E8 4E 80 00 20 */ blr - -.global sub_8002548c -sub_8002548c: -/* 8002548C 000223EC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80025490 000223F0 7C 08 02 A6 */ mflr r0 -/* 80025494 000223F4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80025498 000223F8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8002549C 000223FC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 800254A0 00022400 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 800254A4 00022404 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 800254A8 00022408 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800254AC 0002240C 7C 7F 1B 78 */ mr r31, r3 -/* 800254B0 00022410 80 63 00 28 */ lwz r3, 0x28(r3) -/* 800254B4 00022414 28 03 00 00 */ cmplwi r3, 0 -/* 800254B8 00022418 41 82 00 A0 */ beq lbl_80025558 -/* 800254BC 0002241C 48 00 2A 89 */ bl sub_80027f44 -/* 800254C0 00022420 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800254C4 00022424 41 82 00 94 */ beq lbl_80025558 -/* 800254C8 00022428 88 7F 00 5C */ lbz r3, 0x5c(r31) -/* 800254CC 0002242C 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 800254D0 00022430 40 82 00 0C */ bne lbl_800254DC -/* 800254D4 00022434 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 800254D8 00022438 41 82 00 80 */ beq lbl_80025558 -lbl_800254DC: -/* 800254DC 0002243C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 800254E0 00022440 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 800254E4 00022444 C0 3F 00 58 */ lfs f1, 0x58(r31) -/* 800254E8 00022448 C0 03 03 10 */ lfs f0, 0x310(r3) -/* 800254EC 0002244C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 800254F0 00022450 EC 21 00 24 */ fdivs f1, f1, f0 -/* 800254F4 00022454 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800254F8 00022458 41 82 00 10 */ beq lbl_80025508 -/* 800254FC 0002245C C0 02 83 18 */ lfs f0, lbl_805AA038@sda21(r2) -/* 80025500 00022460 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80025504 00022464 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_80025508: -/* 80025508 00022468 38 81 00 10 */ addi r4, r1, 0x10 -/* 8002550C 0002246C 38 6D 81 C8 */ addi r3, r13, lbl_805A6D88@sda21 -/* 80025510 00022470 38 AD 81 CC */ addi r5, r13, lbl_805A6D8C@sda21 -/* 80025514 00022474 4B FE 6D A1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80025518 00022478 C3 E3 00 00 */ lfs f31, 0(r3) -/* 8002551C 0002247C D3 E1 00 10 */ stfs f31, 0x10(r1) -/* 80025520 00022480 48 32 4A 95 */ bl Black__6CColorFv -/* 80025524 00022484 C0 02 83 1C */ lfs f0, lbl_805AA03C@sda21(r2) -/* 80025528 00022488 EF C0 07 F2 */ fmuls f30, f0, f31 -/* 8002552C 0002248C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 80025530 00022490 38 A1 00 0C */ addi r5, r1, 0xc -/* 80025534 00022494 80 E3 00 00 */ lwz r7, 0(r3) -/* 80025538 00022498 38 60 00 05 */ li r3, 5 -/* 8002553C 0002249C 88 01 00 08 */ lbz r0, 8(r1) -/* 80025540 000224A0 38 80 00 00 */ li r4, 0 -/* 80025544 000224A4 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 -/* 80025548 000224A8 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) -/* 8002554C 000224AC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80025550 000224B0 38 C0 00 00 */ li r6, 0 -/* 80025554 000224B4 48 0C 6B F5 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_80025558: -/* 80025558 000224B8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8002555C 000224BC CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80025560 000224C0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80025564 000224C4 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80025568 000224C8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8002556C 000224CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80025570 000224D0 7C 08 03 A6 */ mtlr r0 -/* 80025574 000224D4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80025578 000224D8 4E 80 00 20 */ blr - -.global sub_8002557c -sub_8002557c: -/* 8002557C 000224DC 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80025580 000224E0 7C 08 02 A6 */ mflr r0 -/* 80025584 000224E4 90 01 00 94 */ stw r0, 0x94(r1) -/* 80025588 000224E8 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8002558C 000224EC F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80025590 000224F0 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80025594 000224F4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80025598 000224F8 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8002559C 000224FC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 800255A0 00022500 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 800255A4 00022504 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 800255A8 00022508 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800255AC 0002250C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800255B0 00022510 93 A1 00 44 */ stw r29, 0x44(r1) -/* 800255B4 00022514 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 800255B8 00022518 7C 7D 1B 78 */ mr r29, r3 -/* 800255BC 0002251C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800255C0 00022520 C0 22 83 20 */ lfs f1, lbl_805AA040@sda21(r2) -/* 800255C4 00022524 81 84 00 00 */ lwz r12, 0(r4) -/* 800255C8 00022528 38 A0 00 00 */ li r5, 0 -/* 800255CC 0002252C C0 42 83 24 */ lfs f2, lbl_805AA044@sda21(r2) -/* 800255D0 00022530 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 800255D4 00022534 7D 89 03 A6 */ mtctr r12 -/* 800255D8 00022538 4E 80 04 21 */ bctrl -/* 800255DC 0002253C C0 21 00 20 */ lfs f1, 0x20(r1) -/* 800255E0 00022540 3F E0 43 30 */ lis r31, 0x4330 -/* 800255E4 00022544 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800255E8 00022548 C3 FD 00 48 */ lfs f31, 0x48(r29) -/* 800255EC 0002254C EC 01 00 28 */ fsubs f0, f1, f0 -/* 800255F0 00022550 C3 A1 00 1C */ lfs f29, 0x1c(r1) -/* 800255F4 00022554 83 DD 00 34 */ lwz r30, 0x34(r29) -/* 800255F8 00022558 CB C2 83 30 */ lfd f30, lbl_805AA050@sda21(r2) -/* 800255FC 0002255C EF 9F 00 28 */ fsubs f28, f31, f0 -/* 80025600 00022560 48 00 00 AC */ b lbl_800256AC -lbl_80025604: -/* 80025604 00022564 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80025608 00022568 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8002560C 0002256C 93 E1 00 28 */ stw r31, 0x28(r1) -/* 80025610 00022570 7C 00 1A 14 */ add r0, r0, r3 -/* 80025614 00022574 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80025618 00022578 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8002561C 0002257C C8 01 00 28 */ lfd f0, 0x28(r1) -/* 80025620 00022580 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80025624 00022584 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80025628 00022588 41 81 00 80 */ bgt lbl_800256A8 -/* 8002562C 0002258C 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80025630 00022590 3C A0 43 30 */ lis r5, 0x4330 -/* 80025634 00022594 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80025638 00022598 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8002563C 0002259C C8 01 00 28 */ lfd f0, 0x28(r1) -/* 80025640 000225A0 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80025644 000225A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80025648 000225A8 41 80 00 60 */ blt lbl_800256A8 -/* 8002564C 000225AC 80 7E 00 08 */ lwz r3, 8(r30) -/* 80025650 000225B0 38 81 00 08 */ addi r4, r1, 8 -/* 80025654 000225B4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80025658 000225B8 80 63 00 00 */ lwz r3, 0(r3) -/* 8002565C 000225BC 90 A1 00 28 */ stw r5, 0x28(r1) -/* 80025660 000225C0 80 03 00 34 */ lwz r0, 0x34(r3) -/* 80025664 000225C4 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) -/* 80025668 000225C8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8002566C 000225CC C8 41 00 28 */ lfd f2, 0x28(r1) -/* 80025670 000225D0 90 A1 00 30 */ stw r5, 0x30(r1) -/* 80025674 000225D4 EC 62 F0 28 */ fsubs f3, f2, f30 -/* 80025678 000225D8 C0 9D 00 48 */ lfs f4, 0x48(r29) -/* 8002567C 000225DC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80025680 000225E0 C0 42 83 28 */ lfs f2, lbl_805AA048@sda21(r2) -/* 80025684 000225E4 C8 21 00 30 */ lfd f1, 0x30(r1) -/* 80025688 000225E8 EC 64 18 28 */ fsubs f3, f4, f3 -/* 8002568C 000225EC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80025690 000225F0 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80025694 000225F4 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80025698 000225F8 EC 1D 08 28 */ fsubs f0, f29, f1 -/* 8002569C 000225FC EC 02 00 32 */ fmuls f0, f2, f0 -/* 800256A0 00022600 D0 01 00 08 */ stfs f0, 8(r1) -/* 800256A4 00022604 48 00 27 6D */ bl sub_80027e10 -lbl_800256A8: -/* 800256A8 00022608 83 DE 00 04 */ lwz r30, 4(r30) -lbl_800256AC: -/* 800256AC 0002260C 80 1D 00 38 */ lwz r0, 0x38(r29) -/* 800256B0 00022610 7C 1E 00 40 */ cmplw r30, r0 -/* 800256B4 00022614 40 82 FF 50 */ bne lbl_80025604 -/* 800256B8 00022618 48 32 48 FD */ bl Black__6CColorFv -/* 800256BC 0002261C C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) -/* 800256C0 00022620 7C 65 1B 78 */ mr r5, r3 -/* 800256C4 00022624 38 60 00 01 */ li r3, 1 -/* 800256C8 00022628 38 80 00 04 */ li r4, 4 -/* 800256CC 0002262C 38 C0 00 00 */ li r6, 0 -/* 800256D0 00022630 48 0C 6A 79 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -/* 800256D4 00022634 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 800256D8 00022638 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 800256DC 0002263C E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 800256E0 00022640 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 800256E4 00022644 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 800256E8 00022648 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 800256EC 0002264C E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 800256F0 00022650 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 800256F4 00022654 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800256F8 00022658 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800256FC 0002265C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80025700 00022660 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80025704 00022664 7C 08 03 A6 */ mtlr r0 -/* 80025708 00022668 38 21 00 90 */ addi r1, r1, 0x90 -/* 8002570C 0002266C 4E 80 00 20 */ blr - -.global Draw__8CCreditsCFv -Draw__8CCreditsCFv: -/* 80025710 00022670 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80025714 00022674 7C 08 02 A6 */ mflr r0 -/* 80025718 00022678 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002571C 0002267C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80025720 00022680 7C 7F 1B 78 */ mr r31, r3 -/* 80025724 00022684 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80025728 00022688 2C 00 00 03 */ cmpwi r0, 3 -/* 8002572C 0002268C 40 82 00 10 */ bne lbl_8002573C -/* 80025730 00022690 4B FF FD 5D */ bl sub_8002548c -/* 80025734 00022694 7F E3 FB 78 */ mr r3, r31 -/* 80025738 00022698 4B FF FE 45 */ bl sub_8002557c -lbl_8002573C: -/* 8002573C 0002269C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80025740 000226A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80025744 000226A4 7C 08 03 A6 */ mtlr r0 -/* 80025748 000226A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002574C 000226AC 4E 80 00 20 */ blr - -.global sub_80025750 -sub_80025750: -/* 80025750 000226B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80025754 000226B4 7C 08 02 A6 */ mflr r0 -/* 80025758 000226B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002575C 000226BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80025760 000226C0 7C 7F 1B 78 */ mr r31, r3 -/* 80025764 000226C4 88 04 00 2C */ lbz r0, 0x2c(r4) -/* 80025768 000226C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8002576C 000226CC 41 82 00 34 */ beq lbl_800257A0 -/* 80025770 000226D0 C0 24 00 00 */ lfs f1, 0(r4) -/* 80025774 000226D4 38 81 00 0C */ addi r4, r1, 0xc -/* 80025778 000226D8 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 8002577C 000226DC 38 BF 00 4C */ addi r5, r31, 0x4c -/* 80025780 000226E0 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 80025784 000226E4 38 6D 81 C0 */ addi r3, r13, lbl_805A6D80@sda21 -/* 80025788 000226E8 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 -/* 8002578C 000226EC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80025790 000226F0 4B FE 6B 25 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80025794 000226F4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80025798 000226F8 D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 8002579C 000226FC 48 00 00 68 */ b lbl_80025804 -lbl_800257A0: -/* 800257A0 00022700 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 800257A4 00022704 C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) -/* 800257A8 00022708 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 800257AC 0002270C 40 80 00 08 */ bge lbl_800257B4 -/* 800257B0 00022710 FC 20 10 50 */ fneg f1, f2 -lbl_800257B4: -/* 800257B4 00022714 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) -/* 800257B8 00022718 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800257BC 0002271C 40 81 00 08 */ ble lbl_800257C4 -/* 800257C0 00022720 48 00 00 08 */ b lbl_800257C8 -lbl_800257C4: -/* 800257C4 00022724 FC 40 00 90 */ fmr f2, f0 -lbl_800257C8: -/* 800257C8 00022728 C0 04 00 00 */ lfs f0, 0(r4) -/* 800257CC 0002272C EC 62 08 28 */ fsubs f3, f2, f1 -/* 800257D0 00022730 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 800257D4 00022734 38 81 00 08 */ addi r4, r1, 8 -/* 800257D8 00022738 C0 42 83 38 */ lfs f2, lbl_805AA058@sda21(r2) -/* 800257DC 0002273C 38 BF 00 4C */ addi r5, r31, 0x4c -/* 800257E0 00022740 EC 21 00 32 */ fmuls f1, f1, f0 -/* 800257E4 00022744 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 800257E8 00022748 38 6D 81 C4 */ addi r3, r13, lbl_805A6D84@sda21 -/* 800257EC 0002274C EC 22 00 72 */ fmuls f1, f2, f1 -/* 800257F0 00022750 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 -/* 800257F4 00022754 D0 01 00 08 */ stfs f0, 8(r1) -/* 800257F8 00022758 4B FE 6A BD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800257FC 0002275C C0 03 00 00 */ lfs f0, 0(r3) -/* 80025800 00022760 D0 1F 00 48 */ stfs f0, 0x48(r31) -lbl_80025804: -/* 80025804 00022764 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80025808 00022768 38 60 00 01 */ li r3, 1 -/* 8002580C 0002276C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80025810 00022770 7C 08 03 A6 */ mtlr r0 -/* 80025814 00022774 38 21 00 20 */ addi r1, r1, 0x20 -/* 80025818 00022778 4E 80 00 20 */ blr - -.global Update__8CCreditsFfR18CArchitectureQueue -Update__8CCreditsFfR18CArchitectureQueue: -/* 8002581C 0002277C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80025820 00022780 7C 08 02 A6 */ mflr r0 -/* 80025824 00022784 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80025828 00022788 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8002582C 0002278C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80025830 00022790 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 80025834 00022794 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 80025838 00022798 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8002583C 0002279C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 80025840 000227A0 BE A1 00 84 */ stmw r21, 0x84(r1) -/* 80025844 000227A4 7C 7F 1B 78 */ mr r31, r3 -/* 80025848 000227A8 FF C0 08 90 */ fmr f30, f1 -/* 8002584C 000227AC 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80025850 000227B0 7C 9E 23 78 */ mr r30, r4 -/* 80025854 000227B4 2C 00 00 02 */ cmpwi r0, 2 -/* 80025858 000227B8 41 82 03 3C */ beq lbl_80025B94 -/* 8002585C 000227BC 40 80 00 14 */ bge lbl_80025870 -/* 80025860 000227C0 2C 00 00 00 */ cmpwi r0, 0 -/* 80025864 000227C4 41 82 00 18 */ beq lbl_8002587C -/* 80025868 000227C8 40 80 02 C8 */ bge lbl_80025B30 -/* 8002586C 000227CC 48 00 06 84 */ b lbl_80025EF0 -lbl_80025870: -/* 80025870 000227D0 2C 00 00 04 */ cmpwi r0, 4 -/* 80025874 000227D4 40 80 06 7C */ bge lbl_80025EF0 -/* 80025878 000227D8 48 00 03 C4 */ b lbl_80025C3C -lbl_8002587C: -/* 8002587C 000227DC 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80025880 000227E0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80025884 000227E4 28 00 00 00 */ cmplwi r0, 0 -/* 80025888 000227E8 41 82 00 14 */ beq lbl_8002589C -/* 8002588C 000227EC 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80025890 000227F0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80025894 000227F4 28 00 00 00 */ cmplwi r0, 0 -/* 80025898 000227F8 40 82 00 0C */ bne lbl_800258A4 -lbl_8002589C: -/* 8002589C 000227FC 38 60 00 01 */ li r3, 1 -/* 800258A0 00022800 48 00 06 54 */ b lbl_80025EF4 -lbl_800258A4: -/* 800258A4 00022804 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 800258A8 00022808 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 800258AC 0002280C 38 83 D9 10 */ addi r4, r3, lbl_803ED910@l -/* 800258B0 00022810 80 64 00 08 */ lwz r3, 8(r4) -/* 800258B4 00022814 2C 00 00 00 */ cmpwi r0, 0 -/* 800258B8 00022818 83 64 00 0C */ lwz r27, 0xc(r4) -/* 800258BC 0002281C 3B 43 FF C0 */ addi r26, r3, -64 -/* 800258C0 00022820 40 82 01 58 */ bne lbl_80025A18 -/* 800258C4 00022824 38 7F 00 18 */ addi r3, r31, 0x18 -/* 800258C8 00022828 48 31 B5 45 */ bl GetObj__6CTokenFv -/* 800258CC 0002282C 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 800258D0 00022830 83 83 00 04 */ lwz r28, 4(r3) -/* 800258D4 00022834 3B A4 CB 50 */ addi r29, r4, lbl_803CCB50@l -/* 800258D8 00022838 3B 20 00 00 */ li r25, 0 -/* 800258DC 0002283C 48 00 01 30 */ b lbl_80025A0C -lbl_800258E0: -/* 800258E0 00022840 38 9D 01 51 */ addi r4, r29, 0x151 -/* 800258E4 00022844 38 60 03 0C */ li r3, 0x30c -/* 800258E8 00022848 38 A0 00 00 */ li r5, 0 -/* 800258EC 0002284C 48 2E FF 81 */ bl __nw__FUlPCcPCc -/* 800258F0 00022850 7C 76 1B 79 */ or. r22, r3, r3 -/* 800258F4 00022854 41 82 00 7C */ beq lbl_80025970 -/* 800258F8 00022858 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800258FC 0002285C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80025900 00022860 81 83 00 00 */ lwz r12, 0(r3) -/* 80025904 00022864 80 84 02 E0 */ lwz r4, 0x2e0(r4) -/* 80025908 00022868 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8002590C 0002286C 7D 89 03 A6 */ mtctr r12 -/* 80025910 00022870 4E 80 04 21 */ bctrl -/* 80025914 00022874 82 AD A1 38 */ lwz r21, gpTweakGui@sda21(r13) -/* 80025918 00022878 7C 77 1B 78 */ mr r23, r3 -/* 8002591C 0002287C 48 32 46 91 */ bl White__6CColorFv -/* 80025920 00022880 7C 78 1B 78 */ mr r24, r3 -/* 80025924 00022884 38 61 00 58 */ addi r3, r1, 0x58 -/* 80025928 00022888 38 80 00 01 */ li r4, 1 -/* 8002592C 0002288C 38 A0 00 01 */ li r5, 1 -/* 80025930 00022890 38 C0 00 01 */ li r6, 1 -/* 80025934 00022894 38 E0 00 00 */ li r7, 0 -/* 80025938 00022898 39 00 00 00 */ li r8, 0 -/* 8002593C 0002289C 48 2A 47 09 */ bl __ct__18CGuiTextPropertiesFv -/* 80025940 000228A0 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) -/* 80025944 000228A4 7C 65 1B 78 */ mr r5, r3 -/* 80025948 000228A8 7E C3 B3 78 */ mr r3, r22 -/* 8002594C 000228AC 7F 08 C3 78 */ mr r8, r24 -/* 80025950 000228B0 90 01 00 08 */ stw r0, 8(r1) -/* 80025954 000228B4 7F 49 D3 78 */ mr r9, r26 -/* 80025958 000228B8 38 D5 03 00 */ addi r6, r21, 0x300 -/* 8002595C 000228BC 38 F5 03 04 */ addi r7, r21, 0x304 -/* 80025960 000228C0 80 97 00 04 */ lwz r4, 4(r23) -/* 80025964 000228C4 39 40 00 00 */ li r10, 0 -/* 80025968 000228C8 48 2A 44 D5 */ bl __ct__15CGuiTextSupportFv -/* 8002596C 000228CC 7C 76 1B 78 */ mr r22, r3 -lbl_80025970: -/* 80025970 000228D0 38 9D 01 51 */ addi r4, r29, 0x151 -/* 80025974 000228D4 38 60 00 08 */ li r3, 8 -/* 80025978 000228D8 38 A0 00 00 */ li r5, 0 -/* 8002597C 000228DC 48 2E FE F1 */ bl __nw__FUlPCcPCc -/* 80025980 000228E0 28 03 00 00 */ cmplwi r3, 0 -/* 80025984 000228E4 41 82 00 10 */ beq lbl_80025994 -/* 80025988 000228E8 92 C3 00 00 */ stw r22, 0(r3) -/* 8002598C 000228EC 38 00 00 01 */ li r0, 1 -/* 80025990 000228F0 90 03 00 04 */ stw r0, 4(r3) -lbl_80025994: -/* 80025994 000228F4 90 61 00 28 */ stw r3, 0x28(r1) -/* 80025998 000228F8 7F 83 E3 78 */ mr r3, r28 -/* 8002599C 000228FC 7F 24 CB 78 */ mr r4, r25 -/* 800259A0 00022900 48 33 0D 5D */ bl GetString__12CStringTableCFi -/* 800259A4 00022904 7C 64 1B 78 */ mr r4, r3 -/* 800259A8 00022908 38 61 00 48 */ addi r3, r1, 0x48 -/* 800259AC 0002290C 4B FF 00 45 */ bl wstring_l__4rstlFPCw -/* 800259B0 00022910 80 61 00 28 */ lwz r3, 0x28(r1) -/* 800259B4 00022914 38 81 00 48 */ addi r4, r1, 0x48 -/* 800259B8 00022918 38 A0 00 00 */ li r5, 0 -/* 800259BC 0002291C 80 63 00 00 */ lwz r3, 0(r3) -/* 800259C0 00022920 48 2A 3E C5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800259C4 00022924 38 61 00 48 */ addi r3, r1, 0x48 -/* 800259C8 00022928 48 31 77 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800259CC 0002292C 80 C1 00 28 */ lwz r6, 0x28(r1) -/* 800259D0 00022930 38 00 00 00 */ li r0, 0 -/* 800259D4 00022934 38 7F 00 30 */ addi r3, r31, 0x30 -/* 800259D8 00022938 38 81 00 3C */ addi r4, r1, 0x3c -/* 800259DC 0002293C 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 800259E0 00022940 80 A6 00 04 */ lwz r5, 4(r6) -/* 800259E4 00022944 38 A5 00 01 */ addi r5, r5, 1 -/* 800259E8 00022948 90 A6 00 04 */ stw r5, 4(r6) -/* 800259EC 0002294C 90 01 00 40 */ stw r0, 0x40(r1) -/* 800259F0 00022950 90 01 00 44 */ stw r0, 0x44(r1) -/* 800259F4 00022954 48 00 05 2D */ bl sub_80025f20 -/* 800259F8 00022958 38 61 00 3C */ addi r3, r1, 0x3c -/* 800259FC 0002295C 48 00 27 0D */ bl sub_80028108 -/* 80025A00 00022960 38 61 00 28 */ addi r3, r1, 0x28 -/* 80025A04 00022964 48 00 27 05 */ bl sub_80028108 -/* 80025A08 00022968 3B 39 00 01 */ addi r25, r25, 1 -lbl_80025A0C: -/* 80025A0C 0002296C 80 1C 00 00 */ lwz r0, 0(r28) -/* 80025A10 00022970 7C 19 00 00 */ cmpw r25, r0 -/* 80025A14 00022974 41 80 FE CC */ blt lbl_800258E0 -lbl_80025A18: -/* 80025A18 00022978 82 DF 00 34 */ lwz r22, 0x34(r31) -/* 80025A1C 0002297C 48 00 00 24 */ b lbl_80025A40 -lbl_80025A20: -/* 80025A20 00022980 80 76 00 08 */ lwz r3, 8(r22) -/* 80025A24 00022984 80 63 00 00 */ lwz r3, 0(r3) -/* 80025A28 00022988 48 2A 42 3D */ bl GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv -/* 80025A2C 0002298C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80025A30 00022990 40 82 00 0C */ bne lbl_80025A3C -/* 80025A34 00022994 38 60 00 01 */ li r3, 1 -/* 80025A38 00022998 48 00 04 BC */ b lbl_80025EF4 -lbl_80025A3C: -/* 80025A3C 0002299C 82 D6 00 04 */ lwz r22, 4(r22) -lbl_80025A40: -/* 80025A40 000229A0 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 80025A44 000229A4 7C 16 00 40 */ cmplw r22, r0 -/* 80025A48 000229A8 40 82 FF D8 */ bne lbl_80025A20 -/* 80025A4C 000229AC 82 DF 00 34 */ lwz r22, 0x34(r31) -/* 80025A50 000229B0 3A A0 00 00 */ li r21, 0 -/* 80025A54 000229B4 48 00 00 4C */ b lbl_80025AA0 -lbl_80025A58: -/* 80025A58 000229B8 80 76 00 08 */ lwz r3, 8(r22) -/* 80025A5C 000229BC 80 63 00 00 */ lwz r3, 0(r3) -/* 80025A60 000229C0 48 2A 23 11 */ bl GetBounds__15CGuiTextSupportFv -/* 80025A64 000229C4 80 83 00 04 */ lwz r4, 4(r3) -/* 80025A68 000229C8 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80025A6C 000229CC 7E E4 00 50 */ subf r23, r4, r0 -/* 80025A70 000229D0 92 F6 00 10 */ stw r23, 0x10(r22) -/* 80025A74 000229D4 92 B6 00 0C */ stw r21, 0xc(r22) -/* 80025A78 000229D8 80 76 00 08 */ lwz r3, 8(r22) -/* 80025A7C 000229DC 80 63 00 00 */ lwz r3, 0(r3) -/* 80025A80 000229E0 93 43 00 34 */ stw r26, 0x34(r3) -/* 80025A84 000229E4 48 2A 28 E1 */ bl ClearRenderBuffer__15CGuiTextSupportFv -/* 80025A88 000229E8 80 76 00 08 */ lwz r3, 8(r22) -/* 80025A8C 000229EC 80 63 00 00 */ lwz r3, 0(r3) -/* 80025A90 000229F0 92 E3 00 38 */ stw r23, 0x38(r3) -/* 80025A94 000229F4 48 2A 28 D1 */ bl ClearRenderBuffer__15CGuiTextSupportFv -/* 80025A98 000229F8 7E B5 BA 14 */ add r21, r21, r23 -/* 80025A9C 000229FC 82 D6 00 04 */ lwz r22, 4(r22) -lbl_80025AA0: -/* 80025AA0 00022A00 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 80025AA4 00022A04 7C 16 00 40 */ cmplw r22, r0 -/* 80025AA8 00022A08 40 82 FF B0 */ bne lbl_80025A58 -/* 80025AAC 00022A0C 3C 60 43 30 */ lis r3, 0x4330 -/* 80025AB0 00022A10 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 80025AB4 00022A14 90 01 00 74 */ stw r0, 0x74(r1) -/* 80025AB8 00022A18 6E A0 80 00 */ xoris r0, r21, 0x8000 -/* 80025ABC 00022A1C C8 62 83 30 */ lfd f3, lbl_805AA050@sda21(r2) -/* 80025AC0 00022A20 90 61 00 70 */ stw r3, 0x70(r1) -/* 80025AC4 00022A24 C0 02 83 28 */ lfs f0, lbl_805AA048@sda21(r2) -/* 80025AC8 00022A28 C8 21 00 70 */ lfd f1, 0x70(r1) -/* 80025ACC 00022A2C 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80025AD0 00022A30 EC 21 18 28 */ fsubs f1, f1, f3 -/* 80025AD4 00022A34 90 61 00 68 */ stw r3, 0x68(r1) -/* 80025AD8 00022A38 C8 41 00 68 */ lfd f2, 0x68(r1) -/* 80025ADC 00022A3C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80025AE0 00022A40 EC 22 18 28 */ fsubs f1, f2, f3 -/* 80025AE4 00022A44 EC 01 00 2A */ fadds f0, f1, f0 -/* 80025AE8 00022A48 D0 1F 00 4C */ stfs f0, 0x4c(r31) -/* 80025AEC 00022A4C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 80025AF0 00022A50 38 85 03 0C */ addi r4, r5, 0x30c -/* 80025AF4 00022A54 38 65 03 10 */ addi r3, r5, 0x310 -/* 80025AF8 00022A58 C0 25 03 10 */ lfs f1, 0x310(r5) -/* 80025AFC 00022A5C C0 05 03 0C */ lfs f0, 0x30c(r5) -/* 80025B00 00022A60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80025B04 00022A64 40 80 00 08 */ bge lbl_80025B0C -/* 80025B08 00022A68 48 00 00 08 */ b lbl_80025B10 -lbl_80025B0C: -/* 80025B0C 00022A6C 7C 64 1B 78 */ mr r4, r3 -lbl_80025B10: -/* 80025B10 00022A70 C0 25 03 08 */ lfs f1, 0x308(r5) -/* 80025B14 00022A74 38 00 00 01 */ li r0, 1 -/* 80025B18 00022A78 C0 04 00 00 */ lfs f0, 0(r4) -/* 80025B1C 00022A7C C0 5F 00 4C */ lfs f2, 0x4c(r31) -/* 80025B20 00022A80 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80025B24 00022A84 EC 02 00 24 */ fdivs f0, f2, f0 -/* 80025B28 00022A88 D0 1F 00 50 */ stfs f0, 0x50(r31) -/* 80025B2C 00022A8C 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_80025B30: -/* 80025B30 00022A90 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80025B34 00022A94 28 00 00 00 */ cmplwi r0, 0 -/* 80025B38 00022A98 40 82 00 54 */ bne lbl_80025B8C -/* 80025B3C 00022A9C 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80025B40 00022AA0 38 60 01 00 */ li r3, 0x100 -/* 80025B44 00022AA4 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80025B48 00022AA8 38 A0 00 00 */ li r5, 0 -/* 80025B4C 00022AAC 38 84 01 51 */ addi r4, r4, 0x151 -/* 80025B50 00022AB0 48 2E FD 1D */ bl __nw__FUlPCcPCc -/* 80025B54 00022AB4 7C 76 1B 79 */ or. r22, r3, r3 -/* 80025B58 00022AB8 41 82 00 24 */ beq lbl_80025B7C -/* 80025B5C 00022ABC 3C 80 80 3D */ lis r4, lbl_803CCB18@ha -/* 80025B60 00022AC0 C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) -/* 80025B64 00022AC4 38 84 CB 18 */ addi r4, r4, lbl_803CCB18@l -/* 80025B68 00022AC8 38 A0 00 01 */ li r5, 1 -/* 80025B6C 00022ACC 80 84 00 1C */ lwz r4, 0x1c(r4) -/* 80025B70 00022AD0 38 C0 00 01 */ li r6, 1 -/* 80025B74 00022AD4 48 33 73 A9 */ bl __ct__12CMoviePlayerFPCcfb -/* 80025B78 00022AD8 7C 76 1B 78 */ mr r22, r3 -lbl_80025B7C: -/* 80025B7C 00022ADC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80025B80 00022AE0 38 80 00 01 */ li r4, 1 -/* 80025B84 00022AE4 48 33 6C 35 */ bl __dt__12CMoviePlayerFv -/* 80025B88 00022AE8 92 DF 00 28 */ stw r22, 0x28(r31) -lbl_80025B8C: -/* 80025B8C 00022AEC 38 00 00 02 */ li r0, 2 -/* 80025B90 00022AF0 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_80025B94: -/* 80025B94 00022AF4 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80025B98 00022AF8 28 00 00 00 */ cmplwi r0, 0 -/* 80025B9C 00022AFC 40 82 00 74 */ bne lbl_80025C10 -/* 80025BA0 00022B00 3C 60 80 3D */ lis r3, lbl_803CCB50@ha -/* 80025BA4 00022B04 3A A0 00 00 */ li r21, 0 -/* 80025BA8 00022B08 38 83 CB 50 */ addi r4, r3, lbl_803CCB50@l -/* 80025BAC 00022B0C 38 60 00 C4 */ li r3, 0xc4 -/* 80025BB0 00022B10 38 84 01 51 */ addi r4, r4, 0x151 -/* 80025BB4 00022B14 38 A0 00 00 */ li r5, 0 -/* 80025BB8 00022B18 48 2E FC B5 */ bl __nw__FUlPCcPCc -/* 80025BBC 00022B1C 7C 76 1B 79 */ or. r22, r3, r3 -/* 80025BC0 00022B20 41 82 00 30 */ beq lbl_80025BF0 -/* 80025BC4 00022B24 80 82 83 10 */ lwz r4, lbl_805AA030@sda21(r2) -/* 80025BC8 00022B28 38 61 00 2C */ addi r3, r1, 0x2c -/* 80025BCC 00022B2C 4B FD F0 ED */ bl string_l__4rstlFPCc -/* 80025BD0 00022B30 3C A0 00 5D */ lis r5, 0x005D7C00@ha -/* 80025BD4 00022B34 7E C3 B3 78 */ mr r3, r22 -/* 80025BD8 00022B38 38 81 00 2C */ addi r4, r1, 0x2c -/* 80025BDC 00022B3C 3A A0 00 01 */ li r21, 1 -/* 80025BE0 00022B40 38 C5 7C 00 */ addi r6, r5, 0x005D7C00@l -/* 80025BE4 00022B44 38 A0 00 00 */ li r5, 0 -/* 80025BE8 00022B48 48 34 66 F1 */ bl __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii -/* 80025BEC 00022B4C 7C 76 1B 78 */ mr r22, r3 -lbl_80025BF0: -/* 80025BF0 00022B50 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80025BF4 00022B54 38 80 00 01 */ li r4, 1 -/* 80025BF8 00022B58 48 34 65 61 */ bl __dt__18CStaticAudioPlayer -/* 80025BFC 00022B5C 7E A0 07 75 */ extsb. r0, r21 -/* 80025C00 00022B60 92 DF 00 2C */ stw r22, 0x2c(r31) -/* 80025C04 00022B64 41 82 00 0C */ beq lbl_80025C10 -/* 80025C08 00022B68 38 61 00 2C */ addi r3, r1, 0x2c -/* 80025C0C 00022B6C 48 31 7E D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80025C10: -/* 80025C10 00022B70 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80025C14 00022B74 48 34 64 F1 */ bl IsReady__18CStaticAudioPlayer -/* 80025C18 00022B78 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80025C1C 00022B7C 40 82 00 0C */ bne lbl_80025C28 -/* 80025C20 00022B80 38 60 00 01 */ li r3, 1 -/* 80025C24 00022B84 48 00 02 D0 */ b lbl_80025EF4 -lbl_80025C28: -/* 80025C28 00022B88 C0 22 83 3C */ lfs f1, lbl_805AA05C@sda21(r2) -/* 80025C2C 00022B8C 38 7F 00 2C */ addi r3, r31, 0x2c -/* 80025C30 00022B90 48 00 22 9D */ bl sub_80027ecc -/* 80025C34 00022B94 38 00 00 03 */ li r0, 3 -/* 80025C38 00022B98 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_80025C3C: -/* 80025C3C 00022B9C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80025C40 00022BA0 48 33 6E 41 */ bl PumpIndexLoad__12CMoviePlayerFv -/* 80025C44 00022BA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80025C48 00022BA8 40 82 02 A8 */ bne lbl_80025EF0 -/* 80025C4C 00022BAC FC 20 F0 90 */ fmr f1, f30 -/* 80025C50 00022BB0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80025C54 00022BB4 48 33 61 0D */ bl Update__12CMoviePlayerFf -/* 80025C58 00022BB8 88 7F 00 5C */ lbz r3, 0x5c(r31) -/* 80025C5C 00022BBC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80025C60 00022BC0 41 82 00 3C */ beq lbl_80025C9C -/* 80025C64 00022BC4 38 00 00 01 */ li r0, 1 -/* 80025C68 00022BC8 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 80025C6C 00022BCC 98 7F 00 5C */ stb r3, 0x5c(r31) -/* 80025C70 00022BD0 88 7F 00 5C */ lbz r3, 0x5c(r31) -/* 80025C74 00022BD4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80025C78 00022BD8 41 82 00 24 */ beq lbl_80025C9C -/* 80025C7C 00022BDC 38 00 00 00 */ li r0, 0 -/* 80025C80 00022BE0 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 80025C84 00022BE4 98 7F 00 5C */ stb r3, 0x5c(r31) -/* 80025C88 00022BE8 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80025C8C 00022BEC C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 80025C90 00022BF0 C0 23 03 10 */ lfs f1, 0x310(r3) -/* 80025C94 00022BF4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80025C98 00022BF8 D0 1F 00 58 */ stfs f0, 0x58(r31) -lbl_80025C9C: -/* 80025C9C 00022BFC 88 7F 00 5C */ lbz r3, 0x5c(r31) -/* 80025CA0 00022C00 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80025CA4 00022C04 40 82 00 0C */ bne lbl_80025CB0 -/* 80025CA8 00022C08 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80025CAC 00022C0C 41 82 00 D4 */ beq lbl_80025D80 -lbl_80025CB0: -/* 80025CB0 00022C10 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 80025CB4 00022C14 38 81 00 20 */ addi r4, r1, 0x20 -/* 80025CB8 00022C18 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 80025CBC 00022C1C 38 6D 81 B0 */ addi r3, r13, lbl_805A6D70@sda21 -/* 80025CC0 00022C20 EC 00 F0 2A */ fadds f0, f0, f30 -/* 80025CC4 00022C24 38 A5 03 10 */ addi r5, r5, 0x310 -/* 80025CC8 00022C28 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80025CCC 00022C2C 4B FE 65 E9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80025CD0 00022C30 C0 03 00 00 */ lfs f0, 0(r3) -/* 80025CD4 00022C34 D0 1F 00 58 */ stfs f0, 0x58(r31) -/* 80025CD8 00022C38 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80025CDC 00022C3C C0 3F 00 58 */ lfs f1, 0x58(r31) -/* 80025CE0 00022C40 C0 03 03 10 */ lfs f0, 0x310(r3) -/* 80025CE4 00022C44 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80025CE8 00022C48 40 82 00 3C */ bne lbl_80025D24 -/* 80025CEC 00022C4C 88 7F 00 5C */ lbz r3, 0x5c(r31) -/* 80025CF0 00022C50 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80025CF4 00022C54 41 82 00 1C */ beq lbl_80025D10 -/* 80025CF8 00022C58 38 00 00 00 */ li r0, 0 -/* 80025CFC 00022C5C C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) -/* 80025D00 00022C60 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 80025D04 00022C64 98 7F 00 5C */ stb r3, 0x5c(r31) -/* 80025D08 00022C68 D0 1F 00 58 */ stfs f0, 0x58(r31) -/* 80025D0C 00022C6C 48 00 00 18 */ b lbl_80025D24 -lbl_80025D10: -/* 80025D10 00022C70 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80025D14 00022C74 41 82 00 10 */ beq lbl_80025D24 -/* 80025D18 00022C78 38 00 00 01 */ li r0, 1 -/* 80025D1C 00022C7C 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 -/* 80025D20 00022C80 98 7F 00 5C */ stb r3, 0x5c(r31) -lbl_80025D24: -/* 80025D24 00022C84 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) -/* 80025D28 00022C88 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80025D2C 00022C8C FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 80025D30 00022C90 41 82 00 50 */ beq lbl_80025D80 -/* 80025D34 00022C94 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 80025D38 00022C98 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80025D3C 00022C9C 41 82 00 44 */ beq lbl_80025D80 -/* 80025D40 00022CA0 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 80025D44 00022CA4 38 81 00 24 */ addi r4, r1, 0x24 -/* 80025D48 00022CA8 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) -/* 80025D4C 00022CAC 38 6D 81 B4 */ addi r3, r13, lbl_805A6D74@sda21 -/* 80025D50 00022CB0 C0 05 03 10 */ lfs f0, 0x310(r5) -/* 80025D54 00022CB4 38 AD 81 B8 */ addi r5, r13, lbl_805A6D78@sda21 -/* 80025D58 00022CB8 EC 02 00 24 */ fdivs f0, f2, f0 -/* 80025D5C 00022CBC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80025D60 00022CC0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80025D64 00022CC4 4B FE 65 51 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80025D68 00022CC8 C0 23 00 00 */ lfs f1, 0(r3) -/* 80025D6C 00022CCC 38 7F 00 2C */ addi r3, r31, 0x2c -/* 80025D70 00022CD0 C0 02 83 3C */ lfs f0, lbl_805AA05C@sda21(r2) -/* 80025D74 00022CD4 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80025D78 00022CD8 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80025D7C 00022CDC 48 00 21 51 */ bl sub_80027ecc -lbl_80025D80: -/* 80025D80 00022CE0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80025D84 00022CE4 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 80025D88 00022CE8 EC 3E 00 7A */ fmadds f1, f30, f1, f0 -/* 80025D8C 00022CEC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80025D90 00022CF0 C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 80025D94 00022CF4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80025D98 00022CF8 40 80 00 0C */ bge lbl_80025DA4 -/* 80025D9C 00022CFC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80025DA0 00022D00 48 00 00 08 */ b lbl_80025DA8 -lbl_80025DA4: -/* 80025DA4 00022D04 38 7F 00 4C */ addi r3, r31, 0x4c -lbl_80025DA8: -/* 80025DA8 00022D08 C0 03 00 00 */ lfs f0, 0(r3) -/* 80025DAC 00022D0C D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 80025DB0 00022D10 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 80025DB4 00022D14 C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 80025DB8 00022D18 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80025DBC 00022D1C 41 82 00 10 */ beq lbl_80025DCC -/* 80025DC0 00022D20 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 80025DC4 00022D24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80025DC8 00022D28 41 82 00 D8 */ beq lbl_80025EA0 -lbl_80025DCC: -/* 80025DCC 00022D2C 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 80025DD0 00022D30 38 60 00 01 */ li r3, 1 -/* 80025DD4 00022D34 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80025DD8 00022D38 98 1F 00 5C */ stb r0, 0x5c(r31) -/* 80025DDC 00022D3C C0 3F 00 54 */ lfs f1, 0x54(r31) -/* 80025DE0 00022D40 C0 0D 81 BC */ lfs f0, lbl_805A6D7C@sda21(r13) -/* 80025DE4 00022D44 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80025DE8 00022D48 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80025DEC 00022D4C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80025DF0 00022D50 40 80 00 0C */ bge lbl_80025DFC -/* 80025DF4 00022D54 38 61 00 18 */ addi r3, r1, 0x18 -/* 80025DF8 00022D58 48 00 00 08 */ b lbl_80025E00 -lbl_80025DFC: -/* 80025DFC 00022D5C 38 6D 81 BC */ addi r3, r13, lbl_805A6D7C@sda21 -lbl_80025E00: -/* 80025E00 00022D60 C0 03 00 00 */ lfs f0, 0(r3) -/* 80025E04 00022D64 3F 20 43 30 */ lis r25, 0x4330 -/* 80025E08 00022D68 CB C2 83 40 */ lfd f30, lbl_805AA060@sda21(r2) -/* 80025E0C 00022D6C D0 1F 00 54 */ stfs f0, 0x54(r31) -/* 80025E10 00022D70 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80025E14 00022D74 C0 3F 00 54 */ lfs f1, 0x54(r31) -/* 80025E18 00022D78 C0 03 03 0C */ lfs f0, 0x30c(r3) -/* 80025E1C 00022D7C 82 FF 00 34 */ lwz r23, 0x34(r31) -/* 80025E20 00022D80 EF A1 00 24 */ fdivs f29, f1, f0 -/* 80025E24 00022D84 48 00 00 4C */ b lbl_80025E70 -lbl_80025E28: -/* 80025E28 00022D88 80 77 00 08 */ lwz r3, 8(r23) -/* 80025E2C 00022D8C 82 C3 00 00 */ lwz r22, 0(r3) -/* 80025E30 00022D90 48 32 41 7D */ bl White__6CColorFv -/* 80025E34 00022D94 88 03 00 03 */ lbz r0, 3(r3) -/* 80025E38 00022D98 93 21 00 70 */ stw r25, 0x70(r1) -/* 80025E3C 00022D9C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80025E40 00022DA0 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 80025E44 00022DA4 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80025E48 00022DA8 EF FD 00 32 */ fmuls f31, f29, f0 -/* 80025E4C 00022DAC F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2 -/* 80025E50 00022DB0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80025E54 00022DB4 80 A3 00 00 */ lwz r5, 0(r3) -/* 80025E58 00022DB8 7E C3 B3 78 */ mr r3, r22 -/* 80025E5C 00022DBC 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80025E60 00022DC0 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 80025E64 00022DC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80025E68 00022DC8 48 2A 37 A5 */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor -/* 80025E6C 00022DCC 82 F7 00 04 */ lwz r23, 4(r23) -lbl_80025E70: -/* 80025E70 00022DD0 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 80025E74 00022DD4 7C 17 00 40 */ cmplw r23, r0 -/* 80025E78 00022DD8 40 82 FF B0 */ bne lbl_80025E28 -/* 80025E7C 00022DDC C0 3F 00 54 */ lfs f1, 0x54(r31) -/* 80025E80 00022DE0 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) -/* 80025E84 00022DE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80025E88 00022DE8 4C 40 13 82 */ cror 2, 0, 2 -/* 80025E8C 00022DEC 40 82 00 14 */ bne lbl_80025EA0 -/* 80025E90 00022DF0 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 80025E94 00022DF4 38 60 00 01 */ li r3, 1 -/* 80025E98 00022DF8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80025E9C 00022DFC 98 1F 00 5C */ stb r0, 0x5c(r31) -lbl_80025EA0: -/* 80025EA0 00022E00 88 7F 00 5C */ lbz r3, 0x5c(r31) -/* 80025EA4 00022E04 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80025EA8 00022E08 41 82 00 48 */ beq lbl_80025EF0 -/* 80025EAC 00022E0C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80025EB0 00022E10 41 82 00 40 */ beq lbl_80025EF0 -/* 80025EB4 00022E14 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80025EB8 00022E18 38 60 00 7C */ li r3, 0x7c -/* 80025EBC 00022E1C 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80025EC0 00022E20 38 A0 00 00 */ li r5, 0 -/* 80025EC4 00022E24 38 84 01 51 */ addi r4, r4, 0x151 -/* 80025EC8 00022E28 48 2E F9 A5 */ bl __nw__FUlPCcPCc -/* 80025ECC 00022E2C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80025ED0 00022E30 41 82 00 10 */ beq lbl_80025EE0 -/* 80025ED4 00022E34 38 80 00 05 */ li r4, 5 -/* 80025ED8 00022E38 48 00 18 8D */ bl __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie -/* 80025EDC 00022E3C 7C 64 1B 78 */ mr r4, r3 -lbl_80025EE0: -/* 80025EE0 00022E40 7F C3 F3 78 */ mr r3, r30 -/* 80025EE4 00022E44 48 00 1E D1 */ bl sub_80027db4 -/* 80025EE8 00022E48 38 60 00 02 */ li r3, 2 -/* 80025EEC 00022E4C 48 00 00 08 */ b lbl_80025EF4 -lbl_80025EF0: -/* 80025EF0 00022E50 38 60 00 01 */ li r3, 1 -lbl_80025EF4: -/* 80025EF4 00022E54 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80025EF8 00022E58 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80025EFC 00022E5C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 80025F00 00022E60 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 80025F04 00022E64 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 80025F08 00022E68 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 80025F0C 00022E6C BA A1 00 84 */ lmw r21, 0x84(r1) -/* 80025F10 00022E70 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80025F14 00022E74 7C 08 03 A6 */ mtlr r0 -/* 80025F18 00022E78 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80025F1C 00022E7C 4E 80 00 20 */ blr - -.global sub_80025f20 -sub_80025f20: -/* 80025F20 00022E80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80025F24 00022E84 7C 08 02 A6 */ mflr r0 -/* 80025F28 00022E88 7C 85 23 78 */ mr r5, r4 -/* 80025F2C 00022E8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80025F30 00022E90 80 83 00 08 */ lwz r4, 8(r3) -/* 80025F34 00022E94 48 00 00 15 */ bl sub_80025f48 -/* 80025F38 00022E98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80025F3C 00022E9C 7C 08 03 A6 */ mtlr r0 -/* 80025F40 00022EA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80025F44 00022EA4 4E 80 00 20 */ blr - -.global sub_80025f48 -sub_80025f48: -/* 80025F48 00022EA8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80025F4C 00022EAC 7C 08 02 A6 */ mflr r0 -/* 80025F50 00022EB0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80025F54 00022EB4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80025F58 00022EB8 7C 7F 1B 78 */ mr r31, r3 -/* 80025F5C 00022EBC 38 60 00 14 */ li r3, 0x14 -/* 80025F60 00022EC0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80025F64 00022EC4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80025F68 00022EC8 7C BD 2B 78 */ mr r29, r5 -/* 80025F6C 00022ECC 38 A0 00 00 */ li r5, 0 -/* 80025F70 00022ED0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80025F74 00022ED4 7C 9C 23 78 */ mr r28, r4 -/* 80025F78 00022ED8 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80025F7C 00022EDC 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80025F80 00022EE0 83 DC 00 00 */ lwz r30, 0(r28) -/* 80025F84 00022EE4 38 84 01 51 */ addi r4, r4, 0x151 -/* 80025F88 00022EE8 48 2E F8 91 */ bl __nwa__FUlPCcPCc -/* 80025F8C 00022EEC 28 03 00 00 */ cmplwi r3, 0 -/* 80025F90 00022EF0 41 82 00 0C */ beq lbl_80025F9C -/* 80025F94 00022EF4 93 C3 00 00 */ stw r30, 0(r3) -/* 80025F98 00022EF8 93 83 00 04 */ stw r28, 4(r3) -lbl_80025F9C: -/* 80025F9C 00022EFC 34 C3 00 08 */ addic. r6, r3, 8 -/* 80025FA0 00022F00 41 82 00 2C */ beq lbl_80025FCC -/* 80025FA4 00022F04 80 1D 00 00 */ lwz r0, 0(r29) -/* 80025FA8 00022F08 90 06 00 00 */ stw r0, 0(r6) -/* 80025FAC 00022F0C 80 A6 00 00 */ lwz r5, 0(r6) -/* 80025FB0 00022F10 80 85 00 04 */ lwz r4, 4(r5) -/* 80025FB4 00022F14 38 04 00 01 */ addi r0, r4, 1 -/* 80025FB8 00022F18 90 05 00 04 */ stw r0, 4(r5) -/* 80025FBC 00022F1C 80 1D 00 04 */ lwz r0, 4(r29) -/* 80025FC0 00022F20 90 06 00 04 */ stw r0, 4(r6) -/* 80025FC4 00022F24 80 1D 00 08 */ lwz r0, 8(r29) -/* 80025FC8 00022F28 90 06 00 08 */ stw r0, 8(r6) -lbl_80025FCC: -/* 80025FCC 00022F2C 80 1F 00 04 */ lwz r0, 4(r31) -/* 80025FD0 00022F30 7C 1C 00 40 */ cmplw r28, r0 -/* 80025FD4 00022F34 40 82 00 08 */ bne lbl_80025FDC -/* 80025FD8 00022F38 90 7F 00 04 */ stw r3, 4(r31) -lbl_80025FDC: -/* 80025FDC 00022F3C 80 83 00 00 */ lwz r4, 0(r3) -/* 80025FE0 00022F40 90 64 00 04 */ stw r3, 4(r4) -/* 80025FE4 00022F44 80 83 00 04 */ lwz r4, 4(r3) -/* 80025FE8 00022F48 90 64 00 00 */ stw r3, 0(r4) -/* 80025FEC 00022F4C 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 80025FF0 00022F50 38 04 00 01 */ addi r0, r4, 1 -/* 80025FF4 00022F54 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80025FF8 00022F58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80025FFC 00022F5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80026000 00022F60 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80026004 00022F64 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80026008 00022F68 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8002600C 00022F6C 7C 08 03 A6 */ mtlr r0 -/* 80026010 00022F70 38 21 00 20 */ addi r1, r1, 0x20 -/* 80026014 00022F74 4E 80 00 20 */ blr - -.global OnMessage__8CCreditsFRC20CArchitectureMessageR18CArchitectureQueue -OnMessage__8CCreditsFRC20CArchitectureMessageR18CArchitectureQueue: -/* 80026018 00022F78 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8002601C 00022F7C 7C 08 02 A6 */ mflr r0 -/* 80026020 00022F80 90 01 00 84 */ stw r0, 0x84(r1) -/* 80026024 00022F84 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80026028 00022F88 7C 7F 1B 78 */ mr r31, r3 -/* 8002602C 00022F8C 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80026030 00022F90 7C BE 2B 78 */ mr r30, r5 -/* 80026034 00022F94 80 04 00 04 */ lwz r0, 4(r4) -/* 80026038 00022F98 2C 00 00 05 */ cmpwi r0, 5 -/* 8002603C 00022F9C 41 82 00 34 */ beq lbl_80026070 -/* 80026040 00022FA0 40 80 01 A0 */ bge lbl_800261E0 -/* 80026044 00022FA4 2C 00 00 04 */ cmpwi r0, 4 -/* 80026048 00022FA8 40 80 00 08 */ bge lbl_80026050 -/* 8002604C 00022FAC 48 00 01 94 */ b lbl_800261E0 -lbl_80026050: -/* 80026050 00022FB0 7C 83 23 78 */ mr r3, r4 -/* 80026054 00022FB4 48 02 BB 69 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage -/* 80026058 00022FB8 7C 64 1B 78 */ mr r4, r3 -/* 8002605C 00022FBC 7F E3 FB 78 */ mr r3, r31 -/* 80026060 00022FC0 C0 24 00 04 */ lfs f1, 4(r4) -/* 80026064 00022FC4 7F C4 F3 78 */ mr r4, r30 -/* 80026068 00022FC8 4B FF F7 B5 */ bl Update__8CCreditsFfR18CArchitectureQueue -/* 8002606C 00022FCC 48 00 01 78 */ b lbl_800261E4 -lbl_80026070: -/* 80026070 00022FD0 7C 83 23 78 */ mr r3, r4 -/* 80026074 00022FD4 48 02 BA 71 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage -/* 80026078 00022FD8 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha -/* 8002607C 00022FDC 3C 80 80 3E */ lis r4, lbl_803D9810@ha -/* 80026080 00022FE0 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l -/* 80026084 00022FE4 90 01 00 38 */ stw r0, 0x38(r1) -/* 80026088 00022FE8 38 04 98 10 */ addi r0, r4, lbl_803D9810@l -/* 8002608C 00022FEC 90 01 00 38 */ stw r0, 0x38(r1) -/* 80026090 00022FF0 C0 03 00 04 */ lfs f0, 4(r3) -/* 80026094 00022FF4 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80026098 00022FF8 80 03 00 08 */ lwz r0, 8(r3) -/* 8002609C 00022FFC 90 01 00 40 */ stw r0, 0x40(r1) -/* 800260A0 00023000 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800260A4 00023004 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800260A8 00023008 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 800260AC 0002300C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800260B0 00023010 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 800260B4 00023014 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800260B8 00023018 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 800260BC 0002301C D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800260C0 00023020 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 800260C4 00023024 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800260C8 00023028 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 800260CC 0002302C D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800260D0 00023030 88 03 00 24 */ lbz r0, 0x24(r3) -/* 800260D4 00023034 98 01 00 5C */ stb r0, 0x5c(r1) -/* 800260D8 00023038 88 03 00 25 */ lbz r0, 0x25(r3) -/* 800260DC 0002303C 98 01 00 5D */ stb r0, 0x5d(r1) -/* 800260E0 00023040 88 03 00 26 */ lbz r0, 0x26(r3) -/* 800260E4 00023044 98 01 00 5E */ stb r0, 0x5e(r1) -/* 800260E8 00023048 88 03 00 27 */ lbz r0, 0x27(r3) -/* 800260EC 0002304C 98 01 00 5F */ stb r0, 0x5f(r1) -/* 800260F0 00023050 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 800260F4 00023054 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800260F8 00023058 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 800260FC 0002305C D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80026100 00023060 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80026104 00023064 98 01 00 68 */ stb r0, 0x68(r1) -/* 80026108 00023068 88 03 00 31 */ lbz r0, 0x31(r3) -/* 8002610C 0002306C 98 01 00 69 */ stb r0, 0x69(r1) -/* 80026110 00023070 88 03 00 32 */ lbz r0, 0x32(r3) -/* 80026114 00023074 38 61 00 38 */ addi r3, r1, 0x38 -/* 80026118 00023078 98 01 00 6A */ stb r0, 0x6a(r1) -/* 8002611C 0002307C 4B FF 58 C9 */ bl GetUserInput__21CArchMsgParmUserInputCFv -/* 80026120 00023080 C0 03 00 00 */ lfs f0, 0(r3) -/* 80026124 00023084 D0 01 00 08 */ stfs f0, 8(r1) -/* 80026128 00023088 80 03 00 04 */ lwz r0, 4(r3) -/* 8002612C 0002308C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80026130 00023090 2C 00 00 00 */ cmpwi r0, 0 -/* 80026134 00023094 C0 03 00 08 */ lfs f0, 8(r3) -/* 80026138 00023098 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8002613C 0002309C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80026140 000230A0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80026144 000230A4 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80026148 000230A8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8002614C 000230AC C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80026150 000230B0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80026154 000230B4 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80026158 000230B8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8002615C 000230BC C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80026160 000230C0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80026164 000230C4 88 03 00 20 */ lbz r0, 0x20(r3) -/* 80026168 000230C8 98 01 00 28 */ stb r0, 0x28(r1) -/* 8002616C 000230CC 88 03 00 21 */ lbz r0, 0x21(r3) -/* 80026170 000230D0 98 01 00 29 */ stb r0, 0x29(r1) -/* 80026174 000230D4 88 03 00 22 */ lbz r0, 0x22(r3) -/* 80026178 000230D8 98 01 00 2A */ stb r0, 0x2a(r1) -/* 8002617C 000230DC 88 03 00 23 */ lbz r0, 0x23(r3) -/* 80026180 000230E0 98 01 00 2B */ stb r0, 0x2b(r1) -/* 80026184 000230E4 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 80026188 000230E8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8002618C 000230EC C0 03 00 28 */ lfs f0, 0x28(r3) -/* 80026190 000230F0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80026194 000230F4 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80026198 000230F8 98 01 00 34 */ stb r0, 0x34(r1) -/* 8002619C 000230FC 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 800261A0 00023100 98 01 00 35 */ stb r0, 0x35(r1) -/* 800261A4 00023104 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 800261A8 00023108 98 01 00 36 */ stb r0, 0x36(r1) -/* 800261AC 0002310C 40 82 00 28 */ bne lbl_800261D4 -/* 800261B0 00023110 7F E3 FB 78 */ mr r3, r31 -/* 800261B4 00023114 38 81 00 08 */ addi r4, r1, 8 -/* 800261B8 00023118 4B FF F5 99 */ bl sub_80025750 -/* 800261BC 0002311C 7C 7F 1B 78 */ mr r31, r3 -/* 800261C0 00023120 38 61 00 38 */ addi r3, r1, 0x38 -/* 800261C4 00023124 38 80 FF FF */ li r4, -1 -/* 800261C8 00023128 4B FF 58 25 */ bl __dt__21CArchMsgParmUserInputFv -/* 800261CC 0002312C 7F E3 FB 78 */ mr r3, r31 -/* 800261D0 00023130 48 00 00 14 */ b lbl_800261E4 -lbl_800261D4: -/* 800261D4 00023134 38 61 00 38 */ addi r3, r1, 0x38 -/* 800261D8 00023138 38 80 FF FF */ li r4, -1 -/* 800261DC 0002313C 4B FF 58 11 */ bl __dt__21CArchMsgParmUserInputFv -lbl_800261E0: -/* 800261E0 00023140 38 60 00 01 */ li r3, 1 -lbl_800261E4: -/* 800261E4 00023144 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800261E8 00023148 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 800261EC 0002314C 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 800261F0 00023150 7C 08 03 A6 */ mtlr r0 -/* 800261F4 00023154 38 21 00 80 */ addi r1, r1, 0x80 -/* 800261F8 00023158 4E 80 00 20 */ blr - -.global __dt__8CCreditsFv -__dt__8CCreditsFv: -/* 800261FC 0002315C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80026200 00023160 7C 08 02 A6 */ mflr r0 -/* 80026204 00023164 90 01 00 14 */ stw r0, 0x14(r1) -/* 80026208 00023168 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002620C 0002316C 7C 9F 23 78 */ mr r31, r4 -/* 80026210 00023170 93 C1 00 08 */ stw r30, 8(r1) -/* 80026214 00023174 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80026218 00023178 41 82 00 88 */ beq lbl_800262A0 -/* 8002621C 0002317C 3C 80 80 3E */ lis r4, lbl_803D9A18@ha -/* 80026220 00023180 38 7E 00 30 */ addi r3, r30, 0x30 -/* 80026224 00023184 38 04 9A 18 */ addi r0, r4, lbl_803D9A18@l -/* 80026228 00023188 38 80 FF FF */ li r4, -1 -/* 8002622C 0002318C 90 1E 00 00 */ stw r0, 0(r30) -/* 80026230 00023190 48 00 1F 35 */ bl sub_80028164 -/* 80026234 00023194 34 1E 00 2C */ addic. r0, r30, 0x2c -/* 80026238 00023198 41 82 00 10 */ beq lbl_80026248 -/* 8002623C 0002319C 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 80026240 000231A0 38 80 00 01 */ li r4, 1 -/* 80026244 000231A4 48 34 5F 15 */ bl __dt__18CStaticAudioPlayer -lbl_80026248: -/* 80026248 000231A8 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 8002624C 000231AC 41 82 00 10 */ beq lbl_8002625C -/* 80026250 000231B0 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80026254 000231B4 38 80 00 01 */ li r4, 1 -/* 80026258 000231B8 48 33 65 61 */ bl __dt__12CMoviePlayerFv -lbl_8002625C: -/* 8002625C 000231BC 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 80026260 000231C0 41 82 00 10 */ beq lbl_80026270 -/* 80026264 000231C4 38 7E 00 20 */ addi r3, r30, 0x20 -/* 80026268 000231C8 38 80 00 00 */ li r4, 0 -/* 8002626C 000231CC 48 31 AB D5 */ bl __dt__6CTokenFv -lbl_80026270: -/* 80026270 000231D0 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 80026274 000231D4 41 82 00 10 */ beq lbl_80026284 -/* 80026278 000231D8 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8002627C 000231DC 38 80 00 00 */ li r4, 0 -/* 80026280 000231E0 48 31 AB C1 */ bl __dt__6CTokenFv -lbl_80026284: -/* 80026284 000231E4 7F C3 F3 78 */ mr r3, r30 -/* 80026288 000231E8 38 80 00 00 */ li r4, 0 -/* 8002628C 000231EC 48 02 C9 19 */ bl __dt__6CIOWinFv -/* 80026290 000231F0 7F E0 07 35 */ extsh. r0, r31 -/* 80026294 000231F4 40 81 00 0C */ ble lbl_800262A0 -/* 80026298 000231F8 7F C3 F3 78 */ mr r3, r30 -/* 8002629C 000231FC 48 2E F6 95 */ bl Free__7CMemoryFPCv -lbl_800262A0: -/* 800262A0 00023200 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800262A4 00023204 7F C3 F3 78 */ mr r3, r30 -/* 800262A8 00023208 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800262AC 0002320C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800262B0 00023210 7C 08 03 A6 */ mtlr r0 -/* 800262B4 00023214 38 21 00 10 */ addi r1, r1, 0x10 -/* 800262B8 00023218 4E 80 00 20 */ blr - -.global __ct__8CCreditsFv -__ct__8CCreditsFv: -/* 800262BC 0002321C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800262C0 00023220 7C 08 02 A6 */ mflr r0 -/* 800262C4 00023224 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 800262C8 00023228 90 01 00 34 */ stw r0, 0x34(r1) -/* 800262CC 0002322C 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 800262D0 00023230 38 84 01 58 */ addi r4, r4, 0x158 -/* 800262D4 00023234 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800262D8 00023238 7C 7F 1B 78 */ mr r31, r3 -/* 800262DC 0002323C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800262E0 00023240 4B FD E9 D9 */ bl string_l__4rstlFPCc -/* 800262E4 00023244 7F E3 FB 78 */ mr r3, r31 -/* 800262E8 00023248 38 81 00 18 */ addi r4, r1, 0x18 -/* 800262EC 0002324C 48 02 C9 21 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800262F0 00023250 38 61 00 18 */ addi r3, r1, 0x18 -/* 800262F4 00023254 48 31 77 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800262F8 00023258 3C 60 80 3E */ lis r3, lbl_803D9A18@ha -/* 800262FC 0002325C 38 00 00 00 */ li r0, 0 -/* 80026300 00023260 38 83 9A 18 */ addi r4, r3, lbl_803D9A18@l -/* 80026304 00023264 38 61 00 10 */ addi r3, r1, 0x10 -/* 80026308 00023268 90 9F 00 00 */ stw r4, 0(r31) -/* 8002630C 0002326C 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80026310 00023270 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80026314 00023274 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 80026318 00023278 81 84 00 00 */ lwz r12, 0(r4) -/* 8002631C 0002327C 80 A5 02 D0 */ lwz r5, 0x2d0(r5) -/* 80026320 00023280 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80026324 00023284 7D 89 03 A6 */ mtctr r12 -/* 80026328 00023288 4E 80 04 21 */ bctrl -/* 8002632C 0002328C 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80026330 00023290 38 81 00 10 */ addi r4, r1, 0x10 -/* 80026334 00023294 48 31 AB 75 */ bl __ct__6CTokenFRC6CToken -/* 80026338 00023298 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002633C 0002329C 38 80 FF FF */ li r4, -1 -/* 80026340 000232A0 48 31 AB 01 */ bl __dt__6CTokenFv -/* 80026344 000232A4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80026348 000232A8 38 61 00 08 */ addi r3, r1, 8 -/* 8002634C 000232AC 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 80026350 000232B0 81 84 00 00 */ lwz r12, 0(r4) -/* 80026354 000232B4 80 A5 02 F0 */ lwz r5, 0x2f0(r5) -/* 80026358 000232B8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8002635C 000232BC 7D 89 03 A6 */ mtctr r12 -/* 80026360 000232C0 4E 80 04 21 */ bctrl -/* 80026364 000232C4 38 7F 00 20 */ addi r3, r31, 0x20 -/* 80026368 000232C8 38 81 00 08 */ addi r4, r1, 8 -/* 8002636C 000232CC 48 31 AB 3D */ bl __ct__6CTokenFRC6CToken -/* 80026370 000232D0 38 61 00 08 */ addi r3, r1, 8 -/* 80026374 000232D4 38 80 FF FF */ li r4, -1 -/* 80026378 000232D8 48 31 AA C9 */ bl __dt__6CTokenFv -/* 8002637C 000232DC 38 C0 00 00 */ li r6, 0 -/* 80026380 000232E0 38 1F 00 3C */ addi r0, r31, 0x3c -/* 80026384 000232E4 90 DF 00 28 */ stw r6, 0x28(r31) -/* 80026388 000232E8 38 80 00 01 */ li r4, 1 -/* 8002638C 000232EC C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) -/* 80026390 000232F0 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80026394 000232F4 90 DF 00 2C */ stw r6, 0x2c(r31) -/* 80026398 000232F8 C0 02 83 48 */ lfs f0, lbl_805AA068@sda21(r2) -/* 8002639C 000232FC 90 1F 00 34 */ stw r0, 0x34(r31) -/* 800263A0 00023300 90 1F 00 38 */ stw r0, 0x38(r31) -/* 800263A4 00023304 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 800263A8 00023308 90 1F 00 40 */ stw r0, 0x40(r31) -/* 800263AC 0002330C 90 DF 00 44 */ stw r6, 0x44(r31) -/* 800263B0 00023310 D0 3F 00 48 */ stfs f1, 0x48(r31) -/* 800263B4 00023314 D0 3F 00 4C */ stfs f1, 0x4c(r31) -/* 800263B8 00023318 D0 1F 00 50 */ stfs f0, 0x50(r31) -/* 800263BC 0002331C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 800263C0 00023320 C0 05 03 0C */ lfs f0, 0x30c(r5) -/* 800263C4 00023324 D0 1F 00 54 */ stfs f0, 0x54(r31) -/* 800263C8 00023328 D0 3F 00 58 */ stfs f1, 0x58(r31) -/* 800263CC 0002332C 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 800263D0 00023330 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 800263D4 00023334 98 1F 00 5C */ stb r0, 0x5c(r31) -/* 800263D8 00023338 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 800263DC 0002333C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 800263E0 00023340 98 1F 00 5C */ stb r0, 0x5c(r31) -/* 800263E4 00023344 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 800263E8 00023348 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 800263EC 0002334C 98 1F 00 5C */ stb r0, 0x5c(r31) -/* 800263F0 00023350 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 800263F4 00023354 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 800263F8 00023358 98 1F 00 5C */ stb r0, 0x5c(r31) -/* 800263FC 0002335C 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 80026400 00023360 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 80026404 00023364 98 1F 00 5C */ stb r0, 0x5c(r31) -/* 80026408 00023368 48 31 A9 7D */ bl Lock__6CTokenFv -/* 8002640C 0002336C 38 7F 00 20 */ addi r3, r31, 0x20 -/* 80026410 00023370 48 31 A9 75 */ bl Lock__6CTokenFv -/* 80026414 00023374 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80026418 00023378 7F E3 FB 78 */ mr r3, r31 -/* 8002641C 0002337C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80026420 00023380 7C 08 03 A6 */ mtlr r0 -/* 80026424 00023384 38 21 00 30 */ addi r1, r1, 0x30 -/* 80026428 00023388 4E 80 00 20 */ blr - -.global sub_8002642c -sub_8002642c: -/* 8002642C 0002338C 90 83 00 3C */ stw r4, 0x3c(r3) -/* 80026430 00023390 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 80026434 00023394 2C 00 FF FF */ cmpwi r0, -1 -/* 80026438 00023398 41 82 00 18 */ beq lbl_80026450 -/* 8002643C 0002339C 54 00 18 38 */ slwi r0, r0, 3 -/* 80026440 000233A0 7C 83 02 14 */ add r4, r3, r0 -/* 80026444 000233A4 80 04 00 24 */ lwz r0, 0x24(r4) -/* 80026448 000233A8 90 03 00 38 */ stw r0, 0x38(r3) -/* 8002644C 000233AC 4E 80 00 20 */ blr -lbl_80026450: -/* 80026450 000233B0 38 00 00 00 */ li r0, 0 -/* 80026454 000233B4 90 03 00 38 */ stw r0, 0x38(r3) -/* 80026458 000233B8 4E 80 00 20 */ blr - -.global sub_8002645c -sub_8002645c: -/* 8002645C 000233BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80026460 000233C0 7C 08 02 A6 */ mflr r0 -/* 80026464 000233C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80026468 000233C8 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8002646C 000233CC 2C 00 00 01 */ cmpwi r0, 1 -/* 80026470 000233D0 40 82 00 5C */ bne lbl_800264CC -/* 80026474 000233D4 88 04 00 2D */ lbz r0, 0x2d(r4) -/* 80026478 000233D8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8002647C 000233DC 41 82 00 50 */ beq lbl_800264CC -/* 80026480 000233E0 C0 23 00 6C */ lfs f1, 0x6c(r3) -/* 80026484 000233E4 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) -/* 80026488 000233E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8002648C 000233EC 4C 41 13 82 */ cror 2, 1, 2 -/* 80026490 000233F0 40 82 00 3C */ bne lbl_800264CC -/* 80026494 000233F4 80 A3 00 38 */ lwz r5, 0x38(r3) -/* 80026498 000233F8 38 80 00 00 */ li r4, 0 -/* 8002649C 000233FC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800264A0 00023400 38 61 00 08 */ addi r3, r1, 8 -/* 800264A4 00023404 88 05 00 F4 */ lbz r0, 0xf4(r5) -/* 800264A8 00023408 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800264AC 0002340C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800264B0 00023410 38 80 05 8D */ li r4, 0x58d -/* 800264B4 00023414 98 05 00 F4 */ stb r0, 0xf4(r5) -/* 800264B8 00023418 38 A0 00 7F */ li r5, 0x7f -/* 800264BC 0002341C 38 C0 00 40 */ li r6, 0x40 -/* 800264C0 00023420 38 E0 00 00 */ li r7, 0 -/* 800264C4 00023424 39 20 00 00 */ li r9, 0 -/* 800264C8 00023428 48 2C 38 AD */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_800264CC: -/* 800264CC 0002342C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800264D0 00023430 38 60 00 01 */ li r3, 1 -/* 800264D4 00023434 7C 08 03 A6 */ mtlr r0 -/* 800264D8 00023438 38 21 00 10 */ addi r1, r1, 0x10 -/* 800264DC 0002343C 4E 80 00 20 */ blr - -.global sub_800264e0 -sub_800264e0: -/* 800264E0 00023440 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800264E4 00023444 7C 08 02 A6 */ mflr r0 -/* 800264E8 00023448 90 01 00 74 */ stw r0, 0x74(r1) -/* 800264EC 0002344C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 800264F0 00023450 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 800264F4 00023454 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 800264F8 00023458 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 800264FC 0002345C DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80026500 00023460 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80026504 00023464 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80026508 00023468 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8002650C 0002346C 7C 7F 1B 78 */ mr r31, r3 -/* 80026510 00023470 FF C0 08 90 */ fmr f30, f1 -/* 80026514 00023474 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 80026518 00023478 2C 00 00 01 */ cmpwi r0, 1 -/* 8002651C 0002347C 40 82 00 34 */ bne lbl_80026550 -/* 80026520 00023480 C0 3F 00 6C */ lfs f1, 0x6c(r31) -/* 80026524 00023484 C0 0D 81 A8 */ lfs f0, lbl_805A6D68@sda21(r13) -/* 80026528 00023488 EC 21 F0 2A */ fadds f1, f1, f30 -/* 8002652C 0002348C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80026530 00023490 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80026534 00023494 40 80 00 0C */ bge lbl_80026540 -/* 80026538 00023498 38 6D 81 A8 */ addi r3, r13, lbl_805A6D68@sda21 -/* 8002653C 0002349C 48 00 00 08 */ b lbl_80026544 -lbl_80026540: -/* 80026540 000234A0 38 61 00 20 */ addi r3, r1, 0x20 -lbl_80026544: -/* 80026544 000234A4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80026548 000234A8 D0 1F 00 6C */ stfs f0, 0x6c(r31) -/* 8002654C 000234AC 48 00 00 38 */ b lbl_80026584 -lbl_80026550: -/* 80026550 000234B0 2C 00 00 02 */ cmpwi r0, 2 -/* 80026554 000234B4 40 82 00 30 */ bne lbl_80026584 -/* 80026558 000234B8 C0 3F 00 6C */ lfs f1, 0x6c(r31) -/* 8002655C 000234BC C0 0D 81 AC */ lfs f0, lbl_805A6D6C@sda21(r13) -/* 80026560 000234C0 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80026564 000234C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80026568 000234C8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8002656C 000234CC 40 80 00 0C */ bge lbl_80026578 -/* 80026570 000234D0 38 6D 81 AC */ addi r3, r13, lbl_805A6D6C@sda21 -/* 80026574 000234D4 48 00 00 08 */ b lbl_8002657C -lbl_80026578: -/* 80026578 000234D8 38 61 00 1C */ addi r3, r1, 0x1c -lbl_8002657C: -/* 8002657C 000234DC C0 03 00 00 */ lfs f0, 0(r3) -/* 80026580 000234E0 D0 1F 00 6C */ stfs f0, 0x6c(r31) -lbl_80026584: -/* 80026584 000234E4 C0 3F 00 68 */ lfs f1, 0x68(r31) -/* 80026588 000234E8 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) -/* 8002658C 000234EC EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80026590 000234F0 D0 3F 00 68 */ stfs f1, 0x68(r31) -/* 80026594 000234F4 C0 3F 00 68 */ lfs f1, 0x68(r31) -/* 80026598 000234F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8002659C 000234FC 41 81 01 A4 */ bgt lbl_80026740 -/* 800265A0 00023500 C0 1F 00 70 */ lfs f0, 0x70(r31) -/* 800265A4 00023504 C0 42 83 4C */ lfs f2, lbl_805AA06C@sda21(r2) -/* 800265A8 00023508 EC 00 F0 2A */ fadds f0, f0, f30 -/* 800265AC 0002350C C0 62 83 50 */ lfs f3, lbl_805AA070@sda21(r2) -/* 800265B0 00023510 D0 1F 00 70 */ stfs f0, 0x70(r31) -/* 800265B4 00023514 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 800265B8 00023518 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 800265BC 0002351C C0 3F 00 70 */ lfs f1, 0x70(r31) -/* 800265C0 00023520 C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 800265C4 00023524 28 03 00 00 */ cmplwi r3, 0 -/* 800265C8 00023528 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800265CC 0002352C EC 02 00 32 */ fmuls f0, f2, f0 -/* 800265D0 00023530 EF A3 00 32 */ fmuls f29, f3, f0 -/* 800265D4 00023534 41 82 00 0C */ beq lbl_800265E0 -/* 800265D8 00023538 FC 20 F0 90 */ fmr f1, f30 -/* 800265DC 0002353C 48 2A 1B 9D */ bl Update__15CGuiTextSupportFf -lbl_800265E0: -/* 800265E0 00023540 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 800265E4 00023544 28 03 00 00 */ cmplwi r3, 0 -/* 800265E8 00023548 41 82 00 54 */ beq lbl_8002663C -/* 800265EC 0002354C FC 20 F0 90 */ fmr f1, f30 -/* 800265F0 00023550 48 2A 1B 89 */ bl Update__15CGuiTextSupportFf -/* 800265F4 00023554 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 800265F8 00023558 48 2A 1A 1D */ bl GetNumCharactersPrinted__15CGuiTextSupportCFv -/* 800265FC 0002355C C0 42 83 54 */ lfs f2, lbl_805AA074@sda21(r2) -/* 80026600 00023560 C0 1F 00 74 */ lfs f0, 0x74(r31) -/* 80026604 00023564 EC 02 00 2A */ fadds f0, f2, f0 -/* 80026608 00023568 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8002660C 0002356C 4C 41 13 82 */ cror 2, 1, 2 -/* 80026610 00023570 40 82 00 2C */ bne lbl_8002663C -/* 80026614 00023574 D0 1F 00 74 */ stfs f0, 0x74(r31) -/* 80026618 00023578 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002661C 0002357C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80026620 00023580 38 80 05 9E */ li r4, 0x59e -/* 80026624 00023584 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80026628 00023588 38 A0 00 7F */ li r5, 0x7f -/* 8002662C 0002358C 38 C0 00 40 */ li r6, 0x40 -/* 80026630 00023590 38 E0 00 00 */ li r7, 0 -/* 80026634 00023594 39 20 00 00 */ li r9, 0 -/* 80026638 00023598 48 2C 37 3D */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8002663C: -/* 8002663C 0002359C 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80026640 000235A0 28 00 00 00 */ cmplwi r0, 0 -/* 80026644 000235A4 41 82 00 80 */ beq lbl_800266C4 -/* 80026648 000235A8 FC 20 E8 90 */ fmr f1, f29 -/* 8002664C 000235AC 48 2E E7 A5 */ bl FastSinR__5CMathFf -/* 80026650 000235B0 C0 02 83 28 */ lfs f0, lbl_805AA048@sda21(r2) -/* 80026654 000235B4 EF A0 00 7A */ fmadds f29, f0, f1, f0 -/* 80026658 000235B8 48 32 39 4D */ bl Grey__6CColorFv -/* 8002665C 000235BC 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80026660 000235C0 FC 20 E8 90 */ fmr f1, f29 -/* 80026664 000235C4 7C 65 1B 78 */ mr r5, r3 -/* 80026668 000235C8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002666C 000235CC 38 84 03 54 */ addi r4, r4, 0x354 -/* 80026670 000235D0 48 33 CC 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80026674 000235D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80026678 000235D8 90 01 00 28 */ stw r0, 0x28(r1) -/* 8002667C 000235DC 48 32 39 29 */ bl Grey__6CColorFv -/* 80026680 000235E0 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80026684 000235E4 FC 20 E8 90 */ fmr f1, f29 -/* 80026688 000235E8 7C 65 1B 78 */ mr r5, r3 -/* 8002668C 000235EC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80026690 000235F0 38 84 03 58 */ addi r4, r4, 0x358 -/* 80026694 000235F4 48 33 CC 19 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80026698 000235F8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8002669C 000235FC 38 81 00 28 */ addi r4, r1, 0x28 -/* 800266A0 00023600 90 01 00 24 */ stw r0, 0x24(r1) -/* 800266A4 00023604 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 800266A8 00023608 48 2A 2F C1 */ bl SetFontColor__15CGuiTextSupportFRC6CColor -/* 800266AC 0002360C 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 800266B0 00023610 38 81 00 24 */ addi r4, r1, 0x24 -/* 800266B4 00023614 48 2A 2F 65 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor -/* 800266B8 00023618 FC 20 F0 90 */ fmr f1, f30 -/* 800266BC 0002361C 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 800266C0 00023620 48 2A 1A B9 */ bl Update__15CGuiTextSupportFf -lbl_800266C4: -/* 800266C4 00023624 83 DF 00 64 */ lwz r30, 0x64(r31) -/* 800266C8 00023628 28 1E 00 00 */ cmplwi r30, 0 -/* 800266CC 0002362C 41 82 00 74 */ beq lbl_80026740 -/* 800266D0 00023630 C3 BF 00 6C */ lfs f29, 0x6c(r31) -/* 800266D4 00023634 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) -/* 800266D8 00023638 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 800266DC 0002363C 40 81 00 64 */ ble lbl_80026740 -/* 800266E0 00023640 48 32 38 CD */ bl White__6CColorFv -/* 800266E4 00023644 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) -/* 800266E8 00023648 3C 00 43 30 */ lis r0, 0x4330 -/* 800266EC 0002364C 88 83 00 03 */ lbz r4, 3(r3) -/* 800266F0 00023650 EC 5D 00 28 */ fsubs f2, f29, f0 -/* 800266F4 00023654 C0 02 83 28 */ lfs f0, lbl_805AA048@sda21(r2) -/* 800266F8 00023658 90 81 00 34 */ stw r4, 0x34(r1) -/* 800266FC 0002365C C8 22 83 40 */ lfd f1, lbl_805AA060@sda21(r2) -/* 80026700 00023660 EC 42 00 24 */ fdivs f2, f2, f0 -/* 80026704 00023664 90 01 00 30 */ stw r0, 0x30(r1) -/* 80026708 00023668 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 8002670C 0002366C EC 00 08 28 */ fsubs f0, f0, f1 -/* 80026710 00023670 EF E2 00 32 */ fmuls f31, f2, f0 -/* 80026714 00023674 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80026718 00023678 38 81 00 0C */ addi r4, r1, 0xc -/* 8002671C 0002367C 80 A3 00 00 */ lwz r5, 0(r3) -/* 80026720 00023680 7F C3 F3 78 */ mr r3, r30 -/* 80026724 00023684 88 01 00 08 */ lbz r0, 8(r1) -/* 80026728 00023688 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 8002672C 0002368C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80026730 00023690 48 2A 2E DD */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor -/* 80026734 00023694 FC 20 F0 90 */ fmr f1, f30 -/* 80026738 00023698 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8002673C 0002369C 48 2A 1A 3D */ bl Update__15CGuiTextSupportFf -lbl_80026740: -/* 80026740 000236A0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80026744 000236A4 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80026748 000236A8 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8002674C 000236AC CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80026750 000236B0 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80026754 000236B4 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80026758 000236B8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8002675C 000236BC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80026760 000236C0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80026764 000236C4 7C 08 03 A6 */ mtlr r0 -/* 80026768 000236C8 38 21 00 70 */ addi r1, r1, 0x70 -/* 8002676C 000236CC 4E 80 00 20 */ blr - -.global sub_80026770 -sub_80026770: -/* 80026770 000236D0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80026774 000236D4 7C 08 02 A6 */ mflr r0 -/* 80026778 000236D8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8002677C 000236DC DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80026780 000236E0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80026784 000236E4 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80026788 000236E8 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8002678C 000236EC 7C 7F 1B 78 */ mr r31, r3 -/* 80026790 000236F0 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 80026794 000236F4 2C 00 00 02 */ cmpwi r0, 2 -/* 80026798 000236F8 40 82 00 18 */ bne lbl_800267B0 -/* 8002679C 000236FC 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 800267A0 00023700 48 33 54 2D */ bl GetPlayedSeconds__12CMoviePlayerCFv -/* 800267A4 00023704 C0 02 83 58 */ lfs f0, lbl_805AA078@sda21(r2) -/* 800267A8 00023708 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800267AC 0002370C 41 81 01 60 */ bgt lbl_8002690C -lbl_800267B0: -/* 800267B0 00023710 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 800267B4 00023714 3C 60 43 30 */ lis r3, 0x4330 -/* 800267B8 00023718 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l -/* 800267BC 0002371C 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 800267C0 00023720 83 C4 00 0C */ lwz r30, 0xc(r4) -/* 800267C4 00023724 90 61 00 38 */ stw r3, 0x38(r1) -/* 800267C8 00023728 28 00 00 00 */ cmplwi r0, 0 -/* 800267CC 0002372C 6F C0 80 00 */ xoris r0, r30, 0x8000 -/* 800267D0 00023730 C8 62 83 30 */ lfd f3, lbl_805AA050@sda21(r2) -/* 800267D4 00023734 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800267D8 00023738 C0 22 83 5C */ lfs f1, lbl_805AA07C@sda21(r2) -/* 800267DC 0002373C C8 01 00 38 */ lfd f0, 0x38(r1) -/* 800267E0 00023740 EC 00 18 28 */ fsubs f0, f0, f3 -/* 800267E4 00023744 EF E1 00 32 */ fmuls f31, f1, f0 -/* 800267E8 00023748 41 82 00 38 */ beq lbl_80026820 -/* 800267EC 0002374C 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800267F0 00023750 38 81 00 2C */ addi r4, r1, 0x2c -/* 800267F4 00023754 C0 42 83 60 */ lfs f2, lbl_805AA080@sda21(r2) -/* 800267F8 00023758 90 61 00 38 */ stw r3, 0x38(r1) -/* 800267FC 0002375C C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) -/* 80026800 00023760 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 80026804 00023764 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80026808 00023768 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8002680C 0002376C 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 80026810 00023770 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80026814 00023774 EC 00 F8 2A */ fadds f0, f0, f31 -/* 80026818 00023778 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8002681C 0002377C 48 00 15 F5 */ bl sub_80027e10 -lbl_80026820: -/* 80026820 00023780 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 80026824 00023784 28 00 00 00 */ cmplwi r0, 0 -/* 80026828 00023788 41 82 00 24 */ beq lbl_8002684C -/* 8002682C 0002378C C0 22 83 60 */ lfs f1, lbl_805AA080@sda21(r2) -/* 80026830 00023790 38 81 00 20 */ addi r4, r1, 0x20 -/* 80026834 00023794 C0 02 83 2C */ lfs f0, lbl_805AA04C@sda21(r2) -/* 80026838 00023798 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8002683C 0002379C 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 80026840 000237A0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80026844 000237A4 D3 E1 00 28 */ stfs f31, 0x28(r1) -/* 80026848 000237A8 48 00 15 C9 */ bl sub_80027e10 -lbl_8002684C: -/* 8002684C 000237AC 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80026850 000237B0 28 00 00 00 */ cmplwi r0, 0 -/* 80026854 000237B4 41 82 00 5C */ beq lbl_800268B0 -/* 80026858 000237B8 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 8002685C 000237BC 48 2A 15 15 */ bl GetBounds__15CGuiTextSupportFv -/* 80026860 000237C0 80 A3 00 04 */ lwz r5, 4(r3) -/* 80026864 000237C4 3C 00 43 30 */ lis r0, 0x4330 -/* 80026868 000237C8 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8002686C 000237CC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80026870 000237D0 C0 62 83 60 */ lfs f3, lbl_805AA080@sda21(r2) -/* 80026874 000237D4 7C 65 18 50 */ subf r3, r5, r3 -/* 80026878 000237D8 C0 42 83 2C */ lfs f2, lbl_805AA04C@sda21(r2) -/* 8002687C 000237DC 38 63 00 19 */ addi r3, r3, 0x19 -/* 80026880 000237E0 90 01 00 38 */ stw r0, 0x38(r1) -/* 80026884 000237E4 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80026888 000237E8 C8 22 83 30 */ lfd f1, lbl_805AA050@sda21(r2) -/* 8002688C 000237EC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80026890 000237F0 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 80026894 000237F4 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 80026898 000237F8 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 8002689C 000237FC EC 00 08 28 */ fsubs f0, f0, f1 -/* 800268A0 00023800 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800268A4 00023804 EC 1F 00 28 */ fsubs f0, f31, f0 -/* 800268A8 00023808 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800268AC 0002380C 48 00 15 65 */ bl sub_80027e10 -lbl_800268B0: -/* 800268B0 00023810 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 800268B4 00023814 28 00 00 00 */ cmplwi r0, 0 -/* 800268B8 00023818 41 82 00 54 */ beq lbl_8002690C -/* 800268BC 0002381C C0 3F 00 6C */ lfs f1, 0x6c(r31) -/* 800268C0 00023820 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) -/* 800268C4 00023824 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800268C8 00023828 4C 41 13 82 */ cror 2, 1, 2 -/* 800268CC 0002382C 40 82 00 40 */ bne lbl_8002690C -/* 800268D0 00023830 38 1E 00 20 */ addi r0, r30, 0x20 -/* 800268D4 00023834 C0 42 83 2C */ lfs f2, lbl_805AA04C@sda21(r2) -/* 800268D8 00023838 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 800268DC 0002383C 3C 00 43 30 */ lis r0, 0x4330 -/* 800268E0 00023840 90 61 00 3C */ stw r3, 0x3c(r1) -/* 800268E4 00023844 38 81 00 08 */ addi r4, r1, 8 -/* 800268E8 00023848 C8 22 83 30 */ lfd f1, lbl_805AA050@sda21(r2) -/* 800268EC 0002384C 90 01 00 38 */ stw r0, 0x38(r1) -/* 800268F0 00023850 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800268F4 00023854 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 800268F8 00023858 D0 41 00 08 */ stfs f2, 8(r1) -/* 800268FC 0002385C EC 00 08 28 */ fsubs f0, f0, f1 -/* 80026900 00023860 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80026904 00023864 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80026908 00023868 48 00 15 09 */ bl sub_80027e10 -lbl_8002690C: -/* 8002690C 0002386C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80026910 00023870 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80026914 00023874 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80026918 00023878 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8002691C 0002387C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80026920 00023880 7C 08 03 A6 */ mtlr r0 -/* 80026924 00023884 38 21 00 60 */ addi r1, r1, 0x60 -/* 80026928 00023888 4E 80 00 20 */ blr - -.global sub_8002692c -sub_8002692c: -/* 8002692C 0002388C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80026930 00023890 7C 08 02 A6 */ mflr r0 -/* 80026934 00023894 90 01 00 14 */ stw r0, 0x14(r1) -/* 80026938 00023898 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8002693C 0002389C 28 03 00 00 */ cmplwi r3, 0 -/* 80026940 000238A0 41 82 00 08 */ beq lbl_80026948 -/* 80026944 000238A4 48 00 16 01 */ bl sub_80027f44 -lbl_80026948: -/* 80026948 000238A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002694C 000238AC 7C 08 03 A6 */ mtlr r0 -/* 80026950 000238B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80026954 000238B4 4E 80 00 20 */ blr - -.global Draw__10CPlayMovieCFv -Draw__10CPlayMovieCFv: -/* 80026958 000238B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002695C 000238BC 7C 08 02 A6 */ mflr r0 -/* 80026960 000238C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80026964 000238C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80026968 000238C8 7C 7F 1B 78 */ mr r31, r3 -/* 8002696C 000238CC 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80026970 000238D0 2C 00 00 03 */ cmpwi r0, 3 -/* 80026974 000238D4 40 82 00 30 */ bne lbl_800269A4 -/* 80026978 000238D8 4B FF FF B5 */ bl sub_8002692c -/* 8002697C 000238DC 88 7F 00 78 */ lbz r3, 0x78(r31) -/* 80026980 000238E0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80026984 000238E4 41 82 00 10 */ beq lbl_80026994 -/* 80026988 000238E8 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 8002698C 000238EC 48 21 E0 31 */ bl Draw__15CQuitGameScreenFv -/* 80026990 000238F0 48 00 00 14 */ b lbl_800269A4 -lbl_80026994: -/* 80026994 000238F4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80026998 000238F8 41 82 00 0C */ beq lbl_800269A4 -/* 8002699C 000238FC 7F E3 FB 78 */ mr r3, r31 -/* 800269A0 00023900 4B FF FD D1 */ bl sub_80026770 -lbl_800269A4: -/* 800269A4 00023904 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800269A8 00023908 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800269AC 0002390C 7C 08 03 A6 */ mtlr r0 -/* 800269B0 00023910 38 21 00 10 */ addi r1, r1, 0x10 -/* 800269B4 00023914 4E 80 00 20 */ blr - -.global OnMessage__10CPlayMovieFRC20CArchitectureMessageR18CArchitectureQueue -OnMessage__10CPlayMovieFRC20CArchitectureMessageR18CArchitectureQueue: -/* 800269B8 00023918 94 21 FE 10 */ stwu r1, -0x1f0(r1) -/* 800269BC 0002391C 7C 08 02 A6 */ mflr r0 -/* 800269C0 00023920 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 800269C4 00023924 DB E1 01 E0 */ stfd f31, 0x1e0(r1) -/* 800269C8 00023928 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 -/* 800269CC 0002392C DB C1 01 D0 */ stfd f30, 0x1d0(r1) -/* 800269D0 00023930 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 -/* 800269D4 00023934 BF 01 01 B0 */ stmw r24, 0x1b0(r1) -/* 800269D8 00023938 80 04 00 04 */ lwz r0, 4(r4) -/* 800269DC 0002393C 7C 7F 1B 78 */ mr r31, r3 -/* 800269E0 00023940 7C BB 2B 78 */ mr r27, r5 -/* 800269E4 00023944 2C 00 00 05 */ cmpwi r0, 5 -/* 800269E8 00023948 41 82 0A 24 */ beq lbl_8002740C -/* 800269EC 0002394C 40 80 0B 8C */ bge lbl_80027578 -/* 800269F0 00023950 2C 00 00 04 */ cmpwi r0, 4 -/* 800269F4 00023954 40 80 00 08 */ bge lbl_800269FC -/* 800269F8 00023958 48 00 0B 80 */ b lbl_80027578 -lbl_800269FC: -/* 800269FC 0002395C 7C 83 23 78 */ mr r3, r4 -/* 80026A00 00023960 48 02 B1 BD */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage -/* 80026A04 00023964 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80026A08 00023968 C3 C3 00 04 */ lfs f30, 4(r3) -/* 80026A0C 0002396C 2C 00 00 02 */ cmpwi r0, 2 -/* 80026A10 00023970 41 82 06 8C */ beq lbl_8002709C -/* 80026A14 00023974 40 80 00 14 */ bge lbl_80026A28 -/* 80026A18 00023978 2C 00 00 00 */ cmpwi r0, 0 -/* 80026A1C 0002397C 41 82 00 18 */ beq lbl_80026A34 -/* 80026A20 00023980 40 80 05 F8 */ bge lbl_80027018 -/* 80026A24 00023984 48 00 0B 54 */ b lbl_80027578 -lbl_80026A28: -/* 80026A28 00023988 2C 00 00 04 */ cmpwi r0, 4 -/* 80026A2C 0002398C 40 80 0B 4C */ bge lbl_80027578 -/* 80026A30 00023990 48 00 07 24 */ b lbl_80027154 -lbl_80026A34: -/* 80026A34 00023994 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 80026A38 00023998 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80026A3C 0002399C 41 82 05 D4 */ beq lbl_80027010 -/* 80026A40 000239A0 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 80026A44 000239A4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80026A48 000239A8 28 00 00 00 */ cmplwi r0, 0 -/* 80026A4C 000239AC 41 82 00 14 */ beq lbl_80026A60 -/* 80026A50 000239B0 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 80026A54 000239B4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80026A58 000239B8 28 00 00 00 */ cmplwi r0, 0 -/* 80026A5C 000239BC 40 82 00 0C */ bne lbl_80026A68 -lbl_80026A60: -/* 80026A60 000239C0 38 60 00 01 */ li r3, 1 -/* 80026A64 000239C4 48 00 0B 18 */ b lbl_8002757C -lbl_80026A68: -/* 80026A68 000239C8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80026A6C 000239CC 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 80026A70 000239D0 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l -/* 80026A74 000239D4 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80026A78 000239D8 81 83 00 00 */ lwz r12, 0(r3) -/* 80026A7C 000239DC 83 A5 00 08 */ lwz r29, 8(r5) -/* 80026A80 000239E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80026A84 000239E4 83 C5 00 0C */ lwz r30, 0xc(r5) -/* 80026A88 000239E8 80 84 03 24 */ lwz r4, 0x324(r4) -/* 80026A8C 000239EC 7D 89 03 A6 */ mtctr r12 -/* 80026A90 000239F0 4E 80 04 21 */ bctrl -/* 80026A94 000239F4 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80026A98 000239F8 7C 7C 1B 78 */ mr r28, r3 -/* 80026A9C 000239FC 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80026AA0 00023A00 38 60 03 0C */ li r3, 0x30c -/* 80026AA4 00023A04 38 84 01 51 */ addi r4, r4, 0x151 -/* 80026AA8 00023A08 38 A0 00 00 */ li r5, 0 -/* 80026AAC 00023A0C 48 2E ED C1 */ bl __nw__FUlPCcPCc -/* 80026AB0 00023A10 7C 79 1B 79 */ or. r25, r3, r3 -/* 80026AB4 00023A14 41 82 00 5C */ beq lbl_80026B10 -/* 80026AB8 00023A18 83 0D A1 38 */ lwz r24, gpTweakGui@sda21(r13) -/* 80026ABC 00023A1C 48 32 34 F1 */ bl White__6CColorFv -/* 80026AC0 00023A20 7C 7A 1B 78 */ mr r26, r3 -/* 80026AC4 00023A24 38 61 01 1C */ addi r3, r1, 0x11c -/* 80026AC8 00023A28 38 80 00 00 */ li r4, 0 -/* 80026ACC 00023A2C 38 A0 00 01 */ li r5, 1 -/* 80026AD0 00023A30 38 C0 00 02 */ li r6, 2 -/* 80026AD4 00023A34 38 E0 00 02 */ li r7, 2 -/* 80026AD8 00023A38 39 00 00 00 */ li r8, 0 -/* 80026ADC 00023A3C 48 2A 35 69 */ bl __ct__18CGuiTextPropertiesFv -/* 80026AE0 00023A40 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) -/* 80026AE4 00023A44 7C 65 1B 78 */ mr r5, r3 -/* 80026AE8 00023A48 7F 23 CB 78 */ mr r3, r25 -/* 80026AEC 00023A4C 7F 48 D3 78 */ mr r8, r26 -/* 80026AF0 00023A50 90 01 00 08 */ stw r0, 8(r1) -/* 80026AF4 00023A54 7F A9 EB 78 */ mr r9, r29 -/* 80026AF8 00023A58 7F CA F3 78 */ mr r10, r30 -/* 80026AFC 00023A5C 38 D8 03 44 */ addi r6, r24, 0x344 -/* 80026B00 00023A60 80 9C 00 04 */ lwz r4, 4(r28) -/* 80026B04 00023A64 38 F8 03 48 */ addi r7, r24, 0x348 -/* 80026B08 00023A68 48 2A 33 35 */ bl __ct__15CGuiTextSupportFv -/* 80026B0C 00023A6C 7C 79 1B 78 */ mr r25, r3 -lbl_80026B10: -/* 80026B10 00023A70 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 80026B14 00023A74 38 80 00 01 */ li r4, 1 -/* 80026B18 00023A78 48 2A 31 81 */ bl __dt__15CGuiTextSupportFv -/* 80026B1C 00023A7C 93 3F 00 58 */ stw r25, 0x58(r31) -/* 80026B20 00023A80 38 80 00 01 */ li r4, 1 -/* 80026B24 00023A84 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) -/* 80026B28 00023A88 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 80026B2C 00023A8C C0 42 83 38 */ lfs f2, lbl_805AA058@sda21(r2) -/* 80026B30 00023A90 48 2A 15 E9 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff -/* 80026B34 00023A94 38 7F 00 48 */ addi r3, r31, 0x48 -/* 80026B38 00023A98 48 31 A2 D5 */ bl GetObj__6CTokenFv -/* 80026B3C 00023A9C 80 63 00 04 */ lwz r3, 4(r3) -/* 80026B40 00023AA0 38 80 00 00 */ li r4, 0 -/* 80026B44 00023AA4 48 32 FB B9 */ bl GetString__12CStringTableCFi -/* 80026B48 00023AA8 7C 64 1B 78 */ mr r4, r3 -/* 80026B4C 00023AAC 38 61 01 0C */ addi r3, r1, 0x10c -/* 80026B50 00023AB0 38 C1 00 2C */ addi r6, r1, 0x2c -/* 80026B54 00023AB4 38 A0 FF FF */ li r5, -1 -/* 80026B58 00023AB8 48 31 6C 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80026B5C 00023ABC 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 80026B60 00023AC0 38 81 01 0C */ addi r4, r1, 0x10c -/* 80026B64 00023AC4 38 A0 00 00 */ li r5, 0 -/* 80026B68 00023AC8 48 2A 2D 1D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80026B6C 00023ACC 38 61 01 0C */ addi r3, r1, 0x10c -/* 80026B70 00023AD0 48 31 65 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80026B74 00023AD4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80026B78 00023AD8 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80026B7C 00023ADC 81 83 00 00 */ lwz r12, 0(r3) -/* 80026B80 00023AE0 80 84 03 34 */ lwz r4, 0x334(r4) -/* 80026B84 00023AE4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80026B88 00023AE8 7D 89 03 A6 */ mtctr r12 -/* 80026B8C 00023AEC 4E 80 04 21 */ bctrl -/* 80026B90 00023AF0 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80026B94 00023AF4 7C 7C 1B 78 */ mr r28, r3 -/* 80026B98 00023AF8 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80026B9C 00023AFC 38 60 03 0C */ li r3, 0x30c -/* 80026BA0 00023B00 38 84 01 51 */ addi r4, r4, 0x151 -/* 80026BA4 00023B04 38 A0 00 00 */ li r5, 0 -/* 80026BA8 00023B08 48 2E EC C5 */ bl __nw__FUlPCcPCc -/* 80026BAC 00023B0C 7C 79 1B 79 */ or. r25, r3, r3 -/* 80026BB0 00023B10 41 82 00 5C */ beq lbl_80026C0C -/* 80026BB4 00023B14 83 0D A1 38 */ lwz r24, gpTweakGui@sda21(r13) -/* 80026BB8 00023B18 48 32 33 F5 */ bl White__6CColorFv -/* 80026BBC 00023B1C 7C 7A 1B 78 */ mr r26, r3 -/* 80026BC0 00023B20 38 61 00 FC */ addi r3, r1, 0xfc -/* 80026BC4 00023B24 38 80 00 00 */ li r4, 0 -/* 80026BC8 00023B28 38 A0 00 01 */ li r5, 1 -/* 80026BCC 00023B2C 38 C0 00 02 */ li r6, 2 -/* 80026BD0 00023B30 38 E0 00 00 */ li r7, 0 -/* 80026BD4 00023B34 39 00 00 00 */ li r8, 0 -/* 80026BD8 00023B38 48 2A 34 6D */ bl __ct__18CGuiTextPropertiesFv -/* 80026BDC 00023B3C 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) -/* 80026BE0 00023B40 7C 65 1B 78 */ mr r5, r3 -/* 80026BE4 00023B44 7F 23 CB 78 */ mr r3, r25 -/* 80026BE8 00023B48 7F 48 D3 78 */ mr r8, r26 -/* 80026BEC 00023B4C 90 01 00 08 */ stw r0, 8(r1) -/* 80026BF0 00023B50 7F A9 EB 78 */ mr r9, r29 -/* 80026BF4 00023B54 7F CA F3 78 */ mr r10, r30 -/* 80026BF8 00023B58 38 D8 03 4C */ addi r6, r24, 0x34c -/* 80026BFC 00023B5C 80 9C 00 04 */ lwz r4, 4(r28) -/* 80026C00 00023B60 38 F8 03 50 */ addi r7, r24, 0x350 -/* 80026C04 00023B64 48 2A 32 39 */ bl __ct__15CGuiTextSupportFv -/* 80026C08 00023B68 7C 79 1B 78 */ mr r25, r3 -lbl_80026C0C: -/* 80026C0C 00023B6C 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 80026C10 00023B70 38 80 00 01 */ li r4, 1 -/* 80026C14 00023B74 48 2A 30 85 */ bl __dt__15CGuiTextSupportFv -/* 80026C18 00023B78 93 3F 00 5C */ stw r25, 0x5c(r31) -/* 80026C1C 00023B7C 38 80 00 01 */ li r4, 1 -/* 80026C20 00023B80 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) -/* 80026C24 00023B84 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 80026C28 00023B88 C0 42 83 64 */ lfs f2, lbl_805AA084@sda21(r2) -/* 80026C2C 00023B8C 48 2A 14 ED */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff -/* 80026C30 00023B90 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80026C34 00023B94 38 61 00 38 */ addi r3, r1, 0x38 -/* 80026C38 00023B98 48 1A CC E9 */ bl GetPlayerState__10CGameStateCFv -/* 80026C3C 00023B9C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80026C40 00023BA0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80026C44 00023BA4 48 1A CC DD */ bl GetPlayerState__10CGameStateCFv -/* 80026C48 00023BA8 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80026C4C 00023BAC 80 81 00 38 */ lwz r4, 0x38(r1) -/* 80026C50 00023BB0 80 63 00 00 */ lwz r3, 0(r3) -/* 80026C54 00023BB4 83 24 00 00 */ lwz r25, 0(r4) -/* 80026C58 00023BB8 48 06 A8 55 */ bl GetTotalPickupCount__12CPlayerStateFv -/* 80026C5C 00023BBC 7C 7A 1B 78 */ mr r26, r3 -/* 80026C60 00023BC0 7F 23 CB 78 */ mr r3, r25 -/* 80026C64 00023BC4 48 06 A5 D1 */ bl CalculateItemCollectionRate__12CPlayerStateFv -/* 80026C68 00023BC8 1C 03 00 64 */ mulli r0, r3, 0x64 -/* 80026C6C 00023BCC 38 61 00 34 */ addi r3, r1, 0x34 -/* 80026C70 00023BD0 7F 00 D3 D6 */ divw r24, r0, r26 -/* 80026C74 00023BD4 4B FE 22 99 */ bl sub_80008f0c -/* 80026C78 00023BD8 38 61 00 38 */ addi r3, r1, 0x38 -/* 80026C7C 00023BDC 4B FE 22 91 */ bl sub_80008f0c -/* 80026C80 00023BE0 38 7F 00 48 */ addi r3, r31, 0x48 -/* 80026C84 00023BE4 48 31 A1 89 */ bl GetObj__6CTokenFv -/* 80026C88 00023BE8 80 63 00 04 */ lwz r3, 4(r3) -/* 80026C8C 00023BEC 38 80 00 01 */ li r4, 1 -/* 80026C90 00023BF0 48 32 FA 6D */ bl GetString__12CStringTableCFi -/* 80026C94 00023BF4 7C 64 1B 78 */ mr r4, r3 -/* 80026C98 00023BF8 38 61 00 EC */ addi r3, r1, 0xec -/* 80026C9C 00023BFC 38 C1 00 28 */ addi r6, r1, 0x28 -/* 80026CA0 00023C00 38 A0 FF FF */ li r5, -1 -/* 80026CA4 00023C04 48 31 6B 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80026CA8 00023C08 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 80026CAC 00023C0C 38 81 00 EC */ addi r4, r1, 0xec -/* 80026CB0 00023C10 48 2A 2A D1 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring -/* 80026CB4 00023C14 38 61 00 EC */ addi r3, r1, 0xec -/* 80026CB8 00023C18 48 31 64 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80026CBC 00023C1C 3C 60 80 3D */ lis r3, lbl_803CCB50@ha -/* 80026CC0 00023C20 7F 04 C3 78 */ mr r4, r24 -/* 80026CC4 00023C24 38 63 CB 50 */ addi r3, r3, lbl_803CCB50@l -/* 80026CC8 00023C28 38 63 01 60 */ addi r3, r3, 0x160 -/* 80026CCC 00023C2C 4C C6 31 82 */ crclr 6 -/* 80026CD0 00023C30 48 2A F4 E1 */ bl Stringize__7CBasicsFPCce -/* 80026CD4 00023C34 7C 64 1B 78 */ mr r4, r3 -/* 80026CD8 00023C38 38 61 00 DC */ addi r3, r1, 0xdc -/* 80026CDC 00023C3C 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80026CE0 00023C40 38 A0 FF FF */ li r5, -1 -/* 80026CE4 00023C44 48 31 74 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80026CE8 00023C48 38 61 00 CC */ addi r3, r1, 0xcc -/* 80026CEC 00023C4C 38 81 00 DC */ addi r4, r1, 0xdc -/* 80026CF0 00023C50 48 31 7A 31 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80026CF4 00023C54 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 80026CF8 00023C58 38 81 00 CC */ addi r4, r1, 0xcc -/* 80026CFC 00023C5C 48 2A 2A 85 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring -/* 80026D00 00023C60 38 61 00 CC */ addi r3, r1, 0xcc -/* 80026D04 00023C64 48 31 64 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80026D08 00023C68 38 61 00 DC */ addi r3, r1, 0xdc -/* 80026D0C 00023C6C 48 31 6D D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80026D10 00023C70 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80026D14 00023C74 3C 00 43 30 */ lis r0, 0x4330 -/* 80026D18 00023C78 C8 02 83 68 */ lfd f0, lbl_805AA088@sda21(r2) -/* 80026D1C 00023C7C 38 7F 00 48 */ addi r3, r31, 0x48 -/* 80026D20 00023C80 C8 24 00 A0 */ lfd f1, 0xa0(r4) -/* 80026D24 00023C84 90 01 01 98 */ stw r0, 0x198(r1) -/* 80026D28 00023C88 FC 21 00 24 */ fdiv f1, f1, f0 -/* 80026D2C 00023C8C C8 42 83 30 */ lfd f2, lbl_805AA050@sda21(r2) -/* 80026D30 00023C90 C0 02 83 70 */ lfs f0, lbl_805AA090@sda21(r2) -/* 80026D34 00023C94 FC 20 08 1E */ fctiwz f1, f1 -/* 80026D38 00023C98 D8 21 01 90 */ stfd f1, 0x190(r1) -/* 80026D3C 00023C9C 80 81 01 94 */ lwz r4, 0x194(r1) -/* 80026D40 00023CA0 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 80026D44 00023CA4 90 01 01 9C */ stw r0, 0x19c(r1) -/* 80026D48 00023CA8 C8 21 01 98 */ lfd f1, 0x198(r1) -/* 80026D4C 00023CAC EC 21 10 28 */ fsubs f1, f1, f2 -/* 80026D50 00023CB0 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80026D54 00023CB4 FC 00 00 1E */ fctiwz f0, f0 -/* 80026D58 00023CB8 D8 01 01 A0 */ stfd f0, 0x1a0(r1) -/* 80026D5C 00023CBC 83 21 01 A4 */ lwz r25, 0x1a4(r1) -/* 80026D60 00023CC0 1C 19 00 3C */ mulli r0, r25, 0x3c -/* 80026D64 00023CC4 7F 00 20 50 */ subf r24, r0, r4 -/* 80026D68 00023CC8 48 31 A0 A5 */ bl GetObj__6CTokenFv -/* 80026D6C 00023CCC 80 63 00 04 */ lwz r3, 4(r3) -/* 80026D70 00023CD0 38 80 00 02 */ li r4, 2 -/* 80026D74 00023CD4 48 32 F9 89 */ bl GetString__12CStringTableCFi -/* 80026D78 00023CD8 7C 64 1B 78 */ mr r4, r3 -/* 80026D7C 00023CDC 38 61 00 BC */ addi r3, r1, 0xbc -/* 80026D80 00023CE0 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80026D84 00023CE4 38 A0 FF FF */ li r5, -1 -/* 80026D88 00023CE8 48 31 6A 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80026D8C 00023CEC 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 80026D90 00023CF0 38 81 00 BC */ addi r4, r1, 0xbc -/* 80026D94 00023CF4 48 2A 29 ED */ bl AddText__15CGuiTextSupportFQ24rstl7wstring -/* 80026D98 00023CF8 38 61 00 BC */ addi r3, r1, 0xbc -/* 80026D9C 00023CFC 48 31 63 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80026DA0 00023D00 3C 60 80 3D */ lis r3, lbl_803CCB50@ha -/* 80026DA4 00023D04 7F 24 CB 78 */ mr r4, r25 -/* 80026DA8 00023D08 38 63 CB 50 */ addi r3, r3, lbl_803CCB50@l -/* 80026DAC 00023D0C 7F 05 C3 78 */ mr r5, r24 -/* 80026DB0 00023D10 38 63 01 67 */ addi r3, r3, 0x167 -/* 80026DB4 00023D14 4C C6 31 82 */ crclr 6 -/* 80026DB8 00023D18 48 2A F3 F9 */ bl Stringize__7CBasicsFPCce -/* 80026DBC 00023D1C 7C 64 1B 78 */ mr r4, r3 -/* 80026DC0 00023D20 38 61 00 AC */ addi r3, r1, 0xac -/* 80026DC4 00023D24 38 C1 00 1C */ addi r6, r1, 0x1c -/* 80026DC8 00023D28 38 A0 FF FF */ li r5, -1 -/* 80026DCC 00023D2C 48 31 73 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80026DD0 00023D30 38 61 00 9C */ addi r3, r1, 0x9c -/* 80026DD4 00023D34 38 81 00 AC */ addi r4, r1, 0xac -/* 80026DD8 00023D38 48 31 79 49 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80026DDC 00023D3C 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 80026DE0 00023D40 38 81 00 9C */ addi r4, r1, 0x9c -/* 80026DE4 00023D44 48 2A 29 9D */ bl AddText__15CGuiTextSupportFQ24rstl7wstring -/* 80026DE8 00023D48 38 61 00 9C */ addi r3, r1, 0x9c -/* 80026DEC 00023D4C 48 31 63 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80026DF0 00023D50 38 61 00 AC */ addi r3, r1, 0xac -/* 80026DF4 00023D54 48 31 6C ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80026DF8 00023D58 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80026DFC 00023D5C 38 60 03 0C */ li r3, 0x30c -/* 80026E00 00023D60 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80026E04 00023D64 38 A0 00 00 */ li r5, 0 -/* 80026E08 00023D68 38 84 01 51 */ addi r4, r4, 0x151 -/* 80026E0C 00023D6C 48 2E EA 61 */ bl __nw__FUlPCcPCc -/* 80026E10 00023D70 7C 79 1B 79 */ or. r25, r3, r3 -/* 80026E14 00023D74 41 82 00 5C */ beq lbl_80026E70 -/* 80026E18 00023D78 83 0D A1 38 */ lwz r24, gpTweakGui@sda21(r13) -/* 80026E1C 00023D7C 48 32 31 91 */ bl White__6CColorFv -/* 80026E20 00023D80 7C 7A 1B 78 */ mr r26, r3 -/* 80026E24 00023D84 38 61 00 8C */ addi r3, r1, 0x8c -/* 80026E28 00023D88 38 80 00 00 */ li r4, 0 -/* 80026E2C 00023D8C 38 A0 00 01 */ li r5, 1 -/* 80026E30 00023D90 38 C0 00 02 */ li r6, 2 -/* 80026E34 00023D94 38 E0 00 00 */ li r7, 0 -/* 80026E38 00023D98 39 00 00 00 */ li r8, 0 -/* 80026E3C 00023D9C 48 2A 32 09 */ bl __ct__18CGuiTextPropertiesFv -/* 80026E40 00023DA0 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) -/* 80026E44 00023DA4 7C 65 1B 78 */ mr r5, r3 -/* 80026E48 00023DA8 7F 23 CB 78 */ mr r3, r25 -/* 80026E4C 00023DAC 7F 48 D3 78 */ mr r8, r26 -/* 80026E50 00023DB0 90 01 00 08 */ stw r0, 8(r1) -/* 80026E54 00023DB4 7F A9 EB 78 */ mr r9, r29 -/* 80026E58 00023DB8 7F CA F3 78 */ mr r10, r30 -/* 80026E5C 00023DBC 38 D8 03 54 */ addi r6, r24, 0x354 -/* 80026E60 00023DC0 80 9C 00 04 */ lwz r4, 4(r28) -/* 80026E64 00023DC4 38 F8 03 58 */ addi r7, r24, 0x358 -/* 80026E68 00023DC8 48 2A 2F D5 */ bl __ct__15CGuiTextSupportFv -/* 80026E6C 00023DCC 7C 79 1B 78 */ mr r25, r3 -lbl_80026E70: -/* 80026E70 00023DD0 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 80026E74 00023DD4 38 80 00 01 */ li r4, 1 -/* 80026E78 00023DD8 48 2A 2E 21 */ bl __dt__15CGuiTextSupportFv -/* 80026E7C 00023DDC 93 3F 00 60 */ stw r25, 0x60(r31) -/* 80026E80 00023DE0 38 80 00 01 */ li r4, 1 -/* 80026E84 00023DE4 C0 22 83 18 */ lfs f1, lbl_805AA038@sda21(r2) -/* 80026E88 00023DE8 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 80026E8C 00023DEC C0 42 83 64 */ lfs f2, lbl_805AA084@sda21(r2) -/* 80026E90 00023DF0 48 2A 12 89 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff -/* 80026E94 00023DF4 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) -/* 80026E98 00023DF8 88 85 01 78 */ lbz r4, 0x178(r5) -/* 80026E9C 00023DFC 38 65 00 A8 */ addi r3, r5, 0xa8 -/* 80026EA0 00023E00 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 80026EA4 00023E04 40 82 00 4C */ bne lbl_80026EF0 -/* 80026EA8 00023E08 38 80 00 01 */ li r4, 1 -/* 80026EAC 00023E0C 48 1A E3 45 */ bl SetHasHardMode__14CSystemOptionsFb -/* 80026EB0 00023E10 38 7F 00 48 */ addi r3, r31, 0x48 -/* 80026EB4 00023E14 48 31 9F 59 */ bl GetObj__6CTokenFv -/* 80026EB8 00023E18 80 63 00 04 */ lwz r3, 4(r3) -/* 80026EBC 00023E1C 38 80 00 03 */ li r4, 3 -/* 80026EC0 00023E20 48 32 F8 3D */ bl GetString__12CStringTableCFi -/* 80026EC4 00023E24 7C 64 1B 78 */ mr r4, r3 -/* 80026EC8 00023E28 38 61 00 7C */ addi r3, r1, 0x7c -/* 80026ECC 00023E2C 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80026ED0 00023E30 38 A0 FF FF */ li r5, -1 -/* 80026ED4 00023E34 48 31 68 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80026ED8 00023E38 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 80026EDC 00023E3C 38 81 00 7C */ addi r4, r1, 0x7c -/* 80026EE0 00023E40 48 2A 28 A1 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring -/* 80026EE4 00023E44 38 61 00 7C */ addi r3, r1, 0x7c -/* 80026EE8 00023E48 48 31 62 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80026EEC 00023E4C 48 00 00 5C */ b lbl_80026F48 -lbl_80026EF0: -/* 80026EF0 00023E50 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 80026EF4 00023E54 40 82 00 54 */ bne lbl_80026F48 -/* 80026EF8 00023E58 88 05 02 28 */ lbz r0, 0x228(r5) -/* 80026EFC 00023E5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80026F00 00023E60 41 82 00 48 */ beq lbl_80026F48 -/* 80026F04 00023E64 38 80 00 01 */ li r4, 1 -/* 80026F08 00023E68 48 1A E2 D9 */ bl SetHardModeBeat__14CSystemOptionsFb -/* 80026F0C 00023E6C 38 7F 00 48 */ addi r3, r31, 0x48 -/* 80026F10 00023E70 48 31 9E FD */ bl GetObj__6CTokenFv -/* 80026F14 00023E74 80 63 00 04 */ lwz r3, 4(r3) -/* 80026F18 00023E78 38 80 00 04 */ li r4, 4 -/* 80026F1C 00023E7C 48 32 F7 E1 */ bl GetString__12CStringTableCFi -/* 80026F20 00023E80 7C 64 1B 78 */ mr r4, r3 -/* 80026F24 00023E84 38 61 00 6C */ addi r3, r1, 0x6c -/* 80026F28 00023E88 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80026F2C 00023E8C 38 A0 FF FF */ li r5, -1 -/* 80026F30 00023E90 48 31 68 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80026F34 00023E94 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 80026F38 00023E98 38 81 00 6C */ addi r4, r1, 0x6c -/* 80026F3C 00023E9C 48 2A 28 45 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring -/* 80026F40 00023EA0 38 61 00 6C */ addi r3, r1, 0x6c -/* 80026F44 00023EA4 48 31 61 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80026F48: -/* 80026F48 00023EA8 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80026F4C 00023EAC 38 60 03 0C */ li r3, 0x30c -/* 80026F50 00023EB0 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80026F54 00023EB4 38 A0 00 00 */ li r5, 0 -/* 80026F58 00023EB8 38 84 01 51 */ addi r4, r4, 0x151 -/* 80026F5C 00023EBC 48 2E E9 11 */ bl __nw__FUlPCcPCc -/* 80026F60 00023EC0 7C 79 1B 79 */ or. r25, r3, r3 -/* 80026F64 00023EC4 41 82 00 5C */ beq lbl_80026FC0 -/* 80026F68 00023EC8 83 0D A1 38 */ lwz r24, gpTweakGui@sda21(r13) -/* 80026F6C 00023ECC 48 32 30 41 */ bl White__6CColorFv -/* 80026F70 00023ED0 7C 7A 1B 78 */ mr r26, r3 -/* 80026F74 00023ED4 38 61 00 5C */ addi r3, r1, 0x5c -/* 80026F78 00023ED8 38 80 00 00 */ li r4, 0 -/* 80026F7C 00023EDC 38 A0 00 01 */ li r5, 1 -/* 80026F80 00023EE0 38 C0 00 01 */ li r6, 1 -/* 80026F84 00023EE4 38 E0 00 02 */ li r7, 2 -/* 80026F88 00023EE8 39 00 00 00 */ li r8, 0 -/* 80026F8C 00023EEC 48 2A 30 B9 */ bl __ct__18CGuiTextPropertiesFv -/* 80026F90 00023EF0 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) -/* 80026F94 00023EF4 7C 65 1B 78 */ mr r5, r3 -/* 80026F98 00023EF8 7F 23 CB 78 */ mr r3, r25 -/* 80026F9C 00023EFC 7F 48 D3 78 */ mr r8, r26 -/* 80026FA0 00023F00 90 01 00 08 */ stw r0, 8(r1) -/* 80026FA4 00023F04 7F A9 EB 78 */ mr r9, r29 -/* 80026FA8 00023F08 7F CA F3 78 */ mr r10, r30 -/* 80026FAC 00023F0C 38 D8 03 54 */ addi r6, r24, 0x354 -/* 80026FB0 00023F10 80 9C 00 04 */ lwz r4, 4(r28) -/* 80026FB4 00023F14 38 F8 03 58 */ addi r7, r24, 0x358 -/* 80026FB8 00023F18 48 2A 2E 85 */ bl __ct__15CGuiTextSupportFv -/* 80026FBC 00023F1C 7C 79 1B 78 */ mr r25, r3 -lbl_80026FC0: -/* 80026FC0 00023F20 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80026FC4 00023F24 38 80 00 01 */ li r4, 1 -/* 80026FC8 00023F28 48 2A 2C D1 */ bl __dt__15CGuiTextSupportFv -/* 80026FCC 00023F2C 93 3F 00 64 */ stw r25, 0x64(r31) -/* 80026FD0 00023F30 38 7F 00 48 */ addi r3, r31, 0x48 -/* 80026FD4 00023F34 48 31 9E 39 */ bl GetObj__6CTokenFv -/* 80026FD8 00023F38 80 63 00 04 */ lwz r3, 4(r3) -/* 80026FDC 00023F3C 38 80 00 05 */ li r4, 5 -/* 80026FE0 00023F40 48 32 F7 1D */ bl GetString__12CStringTableCFi -/* 80026FE4 00023F44 7C 64 1B 78 */ mr r4, r3 -/* 80026FE8 00023F48 38 61 00 4C */ addi r3, r1, 0x4c -/* 80026FEC 00023F4C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80026FF0 00023F50 38 A0 FF FF */ li r5, -1 -/* 80026FF4 00023F54 48 31 67 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80026FF8 00023F58 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80026FFC 00023F5C 38 81 00 4C */ addi r4, r1, 0x4c -/* 80027000 00023F60 38 A0 00 00 */ li r5, 0 -/* 80027004 00023F64 48 2A 28 81 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80027008 00023F68 38 61 00 4C */ addi r3, r1, 0x4c -/* 8002700C 00023F6C 48 31 61 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80027010: -/* 80027010 00023F70 38 00 00 01 */ li r0, 1 -/* 80027014 00023F74 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_80027018: -/* 80027018 00023F78 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 8002701C 00023F7C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80027020 00023F80 41 82 00 68 */ beq lbl_80027088 -/* 80027024 00023F84 3B 3F 00 20 */ addi r25, r31, 0x20 -/* 80027028 00023F88 3B 00 00 01 */ li r24, 1 -/* 8002702C 00023F8C 3B 40 00 00 */ li r26, 0 -/* 80027030 00023F90 48 00 00 44 */ b lbl_80027074 -lbl_80027034: -/* 80027034 00023F94 80 79 00 04 */ lwz r3, 4(r25) -/* 80027038 00023F98 48 33 5A 49 */ bl PumpIndexLoad__12CMoviePlayerFv -/* 8002703C 00023F9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80027040 00023FA0 40 82 00 28 */ bne lbl_80027068 -/* 80027044 00023FA4 FC 20 F0 90 */ fmr f1, f30 -/* 80027048 00023FA8 80 79 00 04 */ lwz r3, 4(r25) -/* 8002704C 00023FAC 48 33 4D 15 */ bl Update__12CMoviePlayerFf -/* 80027050 00023FB0 80 79 00 04 */ lwz r3, 4(r25) -/* 80027054 00023FB4 48 33 4B 5D */ bl GetIsFullyCached__12CMoviePlayerCFv -/* 80027058 00023FB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002705C 00023FBC 40 82 00 10 */ bne lbl_8002706C -/* 80027060 00023FC0 3B 00 00 00 */ li r24, 0 -/* 80027064 00023FC4 48 00 00 08 */ b lbl_8002706C -lbl_80027068: -/* 80027068 00023FC8 3B 00 00 00 */ li r24, 0 -lbl_8002706C: -/* 8002706C 00023FCC 3B 39 00 08 */ addi r25, r25, 8 -/* 80027070 00023FD0 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80027074: -/* 80027074 00023FD4 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80027078 00023FD8 7C 1A 00 00 */ cmpw r26, r0 -/* 8002707C 00023FDC 41 80 FF B8 */ blt lbl_80027034 -/* 80027080 00023FE0 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80027084 00023FE4 41 82 04 F4 */ beq lbl_80027578 -lbl_80027088: -/* 80027088 00023FE8 7F E3 FB 78 */ mr r3, r31 -/* 8002708C 00023FEC 38 80 00 00 */ li r4, 0 -/* 80027090 00023FF0 4B FF F3 9D */ bl sub_8002642c -/* 80027094 00023FF4 38 00 00 02 */ li r0, 2 -/* 80027098 00023FF8 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_8002709C: -/* 8002709C 00023FFC 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 800270A0 00024000 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800270A4 00024004 41 82 00 A8 */ beq lbl_8002714C -/* 800270A8 00024008 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 800270AC 0002400C 28 00 00 00 */ cmplwi r0, 0 -/* 800270B0 00024010 40 82 00 78 */ bne lbl_80027128 -/* 800270B4 00024014 3C 60 80 3D */ lis r3, lbl_803CCB50@ha -/* 800270B8 00024018 3B 00 00 00 */ li r24, 0 -/* 800270BC 0002401C 38 83 CB 50 */ addi r4, r3, lbl_803CCB50@l -/* 800270C0 00024020 38 60 00 C4 */ li r3, 0xc4 -/* 800270C4 00024024 38 84 01 51 */ addi r4, r4, 0x151 -/* 800270C8 00024028 38 A0 00 00 */ li r5, 0 -/* 800270CC 0002402C 48 2E E7 A1 */ bl __nw__FUlPCcPCc -/* 800270D0 00024030 7C 79 1B 79 */ or. r25, r3, r3 -/* 800270D4 00024034 41 82 00 34 */ beq lbl_80027108 -/* 800270D8 00024038 80 82 83 14 */ lwz r4, lbl_805AA034@sda21(r2) -/* 800270DC 0002403C 38 61 00 3C */ addi r3, r1, 0x3c -/* 800270E0 00024040 4B FD DB D9 */ bl string_l__4rstlFPCc -/* 800270E4 00024044 3C A0 00 29 */ lis r5, 0x00297988@ha -/* 800270E8 00024048 3C C0 00 79 */ lis r6, 0x0078CB60@ha -/* 800270EC 0002404C 7F 23 CB 78 */ mr r3, r25 -/* 800270F0 00024050 38 81 00 3C */ addi r4, r1, 0x3c -/* 800270F4 00024054 38 A5 79 88 */ addi r5, r5, 0x00297988@l -/* 800270F8 00024058 38 C6 CB 60 */ addi r6, r6, 0x0078CB60@l -/* 800270FC 0002405C 3B 00 00 01 */ li r24, 1 -/* 80027100 00024060 48 34 51 D9 */ bl __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii -/* 80027104 00024064 7C 79 1B 78 */ mr r25, r3 -lbl_80027108: -/* 80027108 00024068 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 8002710C 0002406C 38 80 00 01 */ li r4, 1 -/* 80027110 00024070 48 34 50 49 */ bl __dt__18CStaticAudioPlayer -/* 80027114 00024074 7F 00 07 75 */ extsb. r0, r24 -/* 80027118 00024078 93 3F 00 44 */ stw r25, 0x44(r31) -/* 8002711C 0002407C 41 82 00 0C */ beq lbl_80027128 -/* 80027120 00024080 38 61 00 3C */ addi r3, r1, 0x3c -/* 80027124 00024084 48 31 69 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80027128: -/* 80027128 00024088 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 8002712C 0002408C 48 34 4F D9 */ bl IsReady__18CStaticAudioPlayer -/* 80027130 00024090 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80027134 00024094 40 82 00 0C */ bne lbl_80027140 -/* 80027138 00024098 38 60 00 01 */ li r3, 1 -/* 8002713C 0002409C 48 00 04 40 */ b lbl_8002757C -lbl_80027140: -/* 80027140 000240A0 C0 22 83 74 */ lfs f1, lbl_805AA094@sda21(r2) -/* 80027144 000240A4 38 7F 00 44 */ addi r3, r31, 0x44 -/* 80027148 000240A8 48 00 0D 85 */ bl sub_80027ecc -lbl_8002714C: -/* 8002714C 000240AC 38 00 00 03 */ li r0, 3 -/* 80027150 000240B0 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_80027154: -/* 80027154 000240B4 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80027158 000240B8 48 33 59 29 */ bl PumpIndexLoad__12CMoviePlayerFv -/* 8002715C 000240BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80027160 000240C0 40 82 04 18 */ bne lbl_80027578 -/* 80027164 000240C4 FC 20 F0 90 */ fmr f1, f30 -/* 80027168 000240C8 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8002716C 000240CC 48 33 4B F5 */ bl Update__12CMoviePlayerFf -/* 80027170 000240D0 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 80027174 000240D4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80027178 000240D8 41 82 00 E0 */ beq lbl_80027258 -/* 8002717C 000240DC FC 20 F0 90 */ fmr f1, f30 -/* 80027180 000240E0 7F E3 FB 78 */ mr r3, r31 -/* 80027184 000240E4 4B FF F3 5D */ bl sub_800264e0 -/* 80027188 000240E8 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8002718C 000240EC 48 33 49 F9 */ bl GetIsMovieFinishedPlaying__12CMoviePlayerCFv -/* 80027190 000240F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80027194 000240F4 41 82 00 5C */ beq lbl_800271F0 -/* 80027198 000240F8 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8002719C 000240FC 2C 00 00 01 */ cmpwi r0, 1 -/* 800271A0 00024100 41 82 00 30 */ beq lbl_800271D0 -/* 800271A4 00024104 40 80 00 10 */ bge lbl_800271B4 -/* 800271A8 00024108 2C 00 00 00 */ cmpwi r0, 0 -/* 800271AC 0002410C 40 80 00 14 */ bge lbl_800271C0 -/* 800271B0 00024110 48 00 00 40 */ b lbl_800271F0 -lbl_800271B4: -/* 800271B4 00024114 2C 00 00 03 */ cmpwi r0, 3 -/* 800271B8 00024118 40 80 00 38 */ bge lbl_800271F0 -/* 800271BC 0002411C 48 00 00 24 */ b lbl_800271E0 -lbl_800271C0: -/* 800271C0 00024120 7F E3 FB 78 */ mr r3, r31 -/* 800271C4 00024124 38 80 00 01 */ li r4, 1 -/* 800271C8 00024128 4B FF F2 65 */ bl sub_8002642c -/* 800271CC 0002412C 48 00 00 24 */ b lbl_800271F0 -lbl_800271D0: -/* 800271D0 00024130 7F E3 FB 78 */ mr r3, r31 -/* 800271D4 00024134 38 80 00 02 */ li r4, 2 -/* 800271D8 00024138 4B FF F2 55 */ bl sub_8002642c -/* 800271DC 0002413C 48 00 00 14 */ b lbl_800271F0 -lbl_800271E0: -/* 800271E0 00024140 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 800271E4 00024144 38 60 00 01 */ li r3, 1 -/* 800271E8 00024148 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800271EC 0002414C 98 1F 00 78 */ stb r0, 0x78(r31) -lbl_800271F0: -/* 800271F0 00024150 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 800271F4 00024154 2C 00 00 02 */ cmpwi r0, 2 -/* 800271F8 00024158 40 82 00 98 */ bne lbl_80027290 -/* 800271FC 0002415C 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80027200 00024160 48 33 49 CD */ bl GetPlayedSeconds__12CMoviePlayerCFv -/* 80027204 00024164 FF E0 08 90 */ fmr f31, f1 -/* 80027208 00024168 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8002720C 0002416C 48 33 49 D1 */ bl GetTotalSeconds__12CMoviePlayerCFv -/* 80027210 00024170 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 80027214 00024174 C0 02 83 4C */ lfs f0, lbl_805AA06C@sda21(r2) -/* 80027218 00024178 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8002721C 0002417C 4C 40 13 82 */ cror 2, 0, 2 -/* 80027220 00024180 40 82 00 70 */ bne lbl_80027290 -/* 80027224 00024184 C0 02 83 28 */ lfs f0, lbl_805AA048@sda21(r2) -/* 80027228 00024188 38 81 00 30 */ addi r4, r1, 0x30 -/* 8002722C 0002418C 38 6D 81 A0 */ addi r3, r13, lbl_805A6D60@sda21 -/* 80027230 00024190 38 AD 81 A4 */ addi r5, r13, lbl_805A6D64@sda21 -/* 80027234 00024194 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80027238 00024198 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8002723C 0002419C 4B FE 50 79 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80027240 000241A0 C0 23 00 00 */ lfs f1, 0(r3) -/* 80027244 000241A4 38 7F 00 44 */ addi r3, r31, 0x44 -/* 80027248 000241A8 C0 02 83 74 */ lfs f0, lbl_805AA094@sda21(r2) -/* 8002724C 000241AC EC 20 00 72 */ fmuls f1, f0, f1 -/* 80027250 000241B0 48 00 0C 7D */ bl sub_80027ecc -/* 80027254 000241B4 48 00 00 3C */ b lbl_80027290 -lbl_80027258: -/* 80027258 000241B8 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8002725C 000241BC 2C 00 00 03 */ cmpwi r0, 3 -/* 80027260 000241C0 41 82 00 30 */ beq lbl_80027290 -/* 80027264 000241C4 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80027268 000241C8 2C 00 00 01 */ cmpwi r0, 1 -/* 8002726C 000241CC 40 82 00 24 */ bne lbl_80027290 -/* 80027270 000241D0 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80027274 000241D4 48 33 49 11 */ bl GetIsMovieFinishedPlaying__12CMoviePlayerCFv -/* 80027278 000241D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002727C 000241DC 41 82 00 14 */ beq lbl_80027290 -/* 80027280 000241E0 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 80027284 000241E4 38 60 00 01 */ li r3, 1 -/* 80027288 000241E8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8002728C 000241EC 98 1F 00 78 */ stb r0, 0x78(r31) -lbl_80027290: -/* 80027290 000241F0 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 80027294 000241F4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80027298 000241F8 41 82 00 50 */ beq lbl_800272E8 -/* 8002729C 000241FC FC 20 F0 90 */ fmr f1, f30 -/* 800272A0 00024200 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 800272A4 00024204 48 21 D6 85 */ bl Update__15CQuitGameScreenFv -/* 800272A8 00024208 2C 03 00 01 */ cmpwi r3, 1 -/* 800272AC 0002420C 40 82 00 24 */ bne lbl_800272D0 -/* 800272B0 00024210 80 8D A0 78 */ lwz r4, gpMain@sda21(r13) -/* 800272B4 00024214 38 00 00 06 */ li r0, 6 -/* 800272B8 00024218 38 60 00 01 */ li r3, 1 -/* 800272BC 0002421C 90 04 01 2C */ stw r0, 0x12c(r4) -/* 800272C0 00024220 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 800272C4 00024224 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800272C8 00024228 98 1F 00 78 */ stb r0, 0x78(r31) -/* 800272CC 0002422C 48 00 00 1C */ b lbl_800272E8 -lbl_800272D0: -/* 800272D0 00024230 2C 03 00 02 */ cmpwi r3, 2 -/* 800272D4 00024234 40 82 00 14 */ bne lbl_800272E8 -/* 800272D8 00024238 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 800272DC 0002423C 38 60 00 01 */ li r3, 1 -/* 800272E0 00024240 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800272E4 00024244 98 1F 00 78 */ stb r0, 0x78(r31) -lbl_800272E8: -/* 800272E8 00024248 88 7F 00 78 */ lbz r3, 0x78(r31) -/* 800272EC 0002424C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 800272F0 00024250 41 82 00 10 */ beq lbl_80027300 -/* 800272F4 00024254 38 00 00 01 */ li r0, 1 -/* 800272F8 00024258 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 -/* 800272FC 0002425C 98 7F 00 78 */ stb r3, 0x78(r31) -lbl_80027300: -/* 80027300 00024260 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 80027304 00024264 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80027308 00024268 41 82 02 70 */ beq lbl_80027578 -/* 8002730C 0002426C 48 34 59 F1 */ bl sub_8036ccfc -/* 80027310 00024270 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80027314 00024274 2C 00 00 05 */ cmpwi r0, 5 -/* 80027318 00024278 41 82 00 2C */ beq lbl_80027344 -/* 8002731C 0002427C 40 80 00 1C */ bge lbl_80027338 -/* 80027320 00024280 2C 00 00 02 */ cmpwi r0, 2 -/* 80027324 00024284 41 82 00 9C */ beq lbl_800273C0 -/* 80027328 00024288 40 80 00 DC */ bge lbl_80027404 -/* 8002732C 0002428C 2C 00 00 00 */ cmpwi r0, 0 -/* 80027330 00024290 40 80 00 C8 */ bge lbl_800273F8 -/* 80027334 00024294 48 00 00 D0 */ b lbl_80027404 -lbl_80027338: -/* 80027338 00024298 2C 00 00 07 */ cmpwi r0, 7 -/* 8002733C 0002429C 40 80 00 C8 */ bge lbl_80027404 -/* 80027340 000242A0 48 00 00 B8 */ b lbl_800273F8 -lbl_80027344: -/* 80027344 000242A4 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 80027348 000242A8 3B 00 00 00 */ li r24, 0 -/* 8002734C 000242AC 80 03 01 2C */ lwz r0, 0x12c(r3) -/* 80027350 000242B0 2C 00 00 02 */ cmpwi r0, 2 -/* 80027354 000242B4 41 82 00 28 */ beq lbl_8002737C -/* 80027358 000242B8 40 80 00 10 */ bge lbl_80027368 -/* 8002735C 000242BC 2C 00 00 01 */ cmpwi r0, 1 -/* 80027360 000242C0 40 80 00 14 */ bge lbl_80027374 -/* 80027364 000242C4 48 00 00 24 */ b lbl_80027388 -lbl_80027368: -/* 80027368 000242C8 2C 00 00 04 */ cmpwi r0, 4 -/* 8002736C 000242CC 40 80 00 1C */ bge lbl_80027388 -/* 80027370 000242D0 48 00 00 14 */ b lbl_80027384 -lbl_80027374: -/* 80027374 000242D4 3B 00 00 00 */ li r24, 0 -/* 80027378 000242D8 48 00 00 10 */ b lbl_80027388 -lbl_8002737C: -/* 8002737C 000242DC 3B 00 00 01 */ li r24, 1 -/* 80027380 000242E0 48 00 00 08 */ b lbl_80027388 -lbl_80027384: -/* 80027384 000242E4 3B 00 00 02 */ li r24, 2 -lbl_80027388: -/* 80027388 000242E8 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 8002738C 000242EC 38 60 00 7C */ li r3, 0x7c -/* 80027390 000242F0 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80027394 000242F4 38 A0 00 00 */ li r5, 0 -/* 80027398 000242F8 38 84 01 51 */ addi r4, r4, 0x151 -/* 8002739C 000242FC 48 2E E4 D1 */ bl __nw__FUlPCcPCc -/* 800273A0 00024300 7C 64 1B 79 */ or. r4, r3, r3 -/* 800273A4 00024304 41 82 00 10 */ beq lbl_800273B4 -/* 800273A8 00024308 7F 04 C3 78 */ mr r4, r24 -/* 800273AC 0002430C 48 00 03 B9 */ bl __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie -/* 800273B0 00024310 7C 64 1B 78 */ mr r4, r3 -lbl_800273B4: -/* 800273B4 00024314 7F 63 DB 78 */ mr r3, r27 -/* 800273B8 00024318 48 00 09 FD */ bl sub_80027db4 -/* 800273BC 0002431C 48 00 00 48 */ b lbl_80027404 -lbl_800273C0: -/* 800273C0 00024320 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 800273C4 00024324 38 60 00 7C */ li r3, 0x7c -/* 800273C8 00024328 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 800273CC 0002432C 38 A0 00 00 */ li r5, 0 -/* 800273D0 00024330 38 84 01 51 */ addi r4, r4, 0x151 -/* 800273D4 00024334 48 2E E4 99 */ bl __nw__FUlPCcPCc -/* 800273D8 00024338 7C 64 1B 79 */ or. r4, r3, r3 -/* 800273DC 0002433C 41 82 00 10 */ beq lbl_800273EC -/* 800273E0 00024340 38 80 00 06 */ li r4, 6 -/* 800273E4 00024344 48 00 03 81 */ bl __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie -/* 800273E8 00024348 7C 64 1B 78 */ mr r4, r3 -lbl_800273EC: -/* 800273EC 0002434C 7F 63 DB 78 */ mr r3, r27 -/* 800273F0 00024350 48 00 09 C5 */ bl sub_80027db4 -/* 800273F4 00024354 48 00 00 10 */ b lbl_80027404 -lbl_800273F8: -/* 800273F8 00024358 48 35 10 ED */ bl GXDrawDone -/* 800273FC 0002435C 7F 63 DB 78 */ mr r3, r27 -/* 80027400 00024360 48 00 09 5D */ bl sub_80027d5c -lbl_80027404: -/* 80027404 00024364 38 60 00 02 */ li r3, 2 -/* 80027408 00024368 48 00 01 74 */ b lbl_8002757C -lbl_8002740C: -/* 8002740C 0002436C 7C 83 23 78 */ mr r3, r4 -/* 80027410 00024370 48 02 A6 D5 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage -/* 80027414 00024374 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha -/* 80027418 00024378 3C 80 80 3E */ lis r4, lbl_803D9810@ha -/* 8002741C 0002437C 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l -/* 80027420 00024380 90 01 01 5C */ stw r0, 0x15c(r1) -/* 80027424 00024384 38 04 98 10 */ addi r0, r4, lbl_803D9810@l -/* 80027428 00024388 90 01 01 5C */ stw r0, 0x15c(r1) -/* 8002742C 0002438C C0 03 00 04 */ lfs f0, 4(r3) -/* 80027430 00024390 D0 01 01 60 */ stfs f0, 0x160(r1) -/* 80027434 00024394 80 03 00 08 */ lwz r0, 8(r3) -/* 80027438 00024398 90 01 01 64 */ stw r0, 0x164(r1) -/* 8002743C 0002439C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80027440 000243A0 D0 01 01 68 */ stfs f0, 0x168(r1) -/* 80027444 000243A4 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80027448 000243A8 D0 01 01 6C */ stfs f0, 0x16c(r1) -/* 8002744C 000243AC C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80027450 000243B0 D0 01 01 70 */ stfs f0, 0x170(r1) -/* 80027454 000243B4 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80027458 000243B8 D0 01 01 74 */ stfs f0, 0x174(r1) -/* 8002745C 000243BC C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80027460 000243C0 D0 01 01 78 */ stfs f0, 0x178(r1) -/* 80027464 000243C4 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 80027468 000243C8 D0 01 01 7C */ stfs f0, 0x17c(r1) -/* 8002746C 000243CC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80027470 000243D0 98 01 01 80 */ stb r0, 0x180(r1) -/* 80027474 000243D4 88 03 00 25 */ lbz r0, 0x25(r3) -/* 80027478 000243D8 98 01 01 81 */ stb r0, 0x181(r1) -/* 8002747C 000243DC 88 03 00 26 */ lbz r0, 0x26(r3) -/* 80027480 000243E0 98 01 01 82 */ stb r0, 0x182(r1) -/* 80027484 000243E4 88 03 00 27 */ lbz r0, 0x27(r3) -/* 80027488 000243E8 98 01 01 83 */ stb r0, 0x183(r1) -/* 8002748C 000243EC C0 03 00 28 */ lfs f0, 0x28(r3) -/* 80027490 000243F0 D0 01 01 84 */ stfs f0, 0x184(r1) -/* 80027494 000243F4 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80027498 000243F8 D0 01 01 88 */ stfs f0, 0x188(r1) -/* 8002749C 000243FC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800274A0 00024400 98 01 01 8C */ stb r0, 0x18c(r1) -/* 800274A4 00024404 88 03 00 31 */ lbz r0, 0x31(r3) -/* 800274A8 00024408 98 01 01 8D */ stb r0, 0x18d(r1) -/* 800274AC 0002440C 88 03 00 32 */ lbz r0, 0x32(r3) -/* 800274B0 00024410 38 61 01 5C */ addi r3, r1, 0x15c -/* 800274B4 00024414 98 01 01 8E */ stb r0, 0x18e(r1) -/* 800274B8 00024418 4B FF 45 2D */ bl GetUserInput__21CArchMsgParmUserInputCFv -/* 800274BC 0002441C C0 03 00 00 */ lfs f0, 0(r3) -/* 800274C0 00024420 D0 01 01 2C */ stfs f0, 0x12c(r1) -/* 800274C4 00024424 80 03 00 04 */ lwz r0, 4(r3) -/* 800274C8 00024428 90 01 01 30 */ stw r0, 0x130(r1) -/* 800274CC 0002442C C0 03 00 08 */ lfs f0, 8(r3) -/* 800274D0 00024430 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 800274D4 00024434 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800274D8 00024438 D0 01 01 38 */ stfs f0, 0x138(r1) -/* 800274DC 0002443C C0 03 00 10 */ lfs f0, 0x10(r3) -/* 800274E0 00024440 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 800274E4 00024444 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 800274E8 00024448 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 800274EC 0002444C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 800274F0 00024450 D0 01 01 44 */ stfs f0, 0x144(r1) -/* 800274F4 00024454 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 800274F8 00024458 D0 01 01 48 */ stfs f0, 0x148(r1) -/* 800274FC 0002445C 88 03 00 20 */ lbz r0, 0x20(r3) -/* 80027500 00024460 98 01 01 4C */ stb r0, 0x14c(r1) -/* 80027504 00024464 88 03 00 21 */ lbz r0, 0x21(r3) -/* 80027508 00024468 98 01 01 4D */ stb r0, 0x14d(r1) -/* 8002750C 0002446C 88 03 00 22 */ lbz r0, 0x22(r3) -/* 80027510 00024470 98 01 01 4E */ stb r0, 0x14e(r1) -/* 80027514 00024474 88 03 00 23 */ lbz r0, 0x23(r3) -/* 80027518 00024478 98 01 01 4F */ stb r0, 0x14f(r1) -/* 8002751C 0002447C C0 03 00 24 */ lfs f0, 0x24(r3) -/* 80027520 00024480 D0 01 01 50 */ stfs f0, 0x150(r1) -/* 80027524 00024484 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 80027528 00024488 D0 01 01 54 */ stfs f0, 0x154(r1) -/* 8002752C 0002448C 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80027530 00024490 98 01 01 58 */ stb r0, 0x158(r1) -/* 80027534 00024494 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80027538 00024498 98 01 01 59 */ stb r0, 0x159(r1) -/* 8002753C 0002449C 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80027540 000244A0 98 01 01 5A */ stb r0, 0x15a(r1) -/* 80027544 000244A4 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 80027548 000244A8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8002754C 000244AC 41 82 00 14 */ beq lbl_80027560 -/* 80027550 000244B0 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80027554 000244B4 38 81 01 2C */ addi r4, r1, 0x12c -/* 80027558 000244B8 48 21 D5 49 */ bl ProcessUserInput__15CQuitGameScreenFRC11CFinalInput -/* 8002755C 000244BC 48 00 00 10 */ b lbl_8002756C -lbl_80027560: -/* 80027560 000244C0 7F E3 FB 78 */ mr r3, r31 -/* 80027564 000244C4 38 81 01 2C */ addi r4, r1, 0x12c -/* 80027568 000244C8 4B FF EE F5 */ bl sub_8002645c -lbl_8002756C: -/* 8002756C 000244CC 38 61 01 5C */ addi r3, r1, 0x15c -/* 80027570 000244D0 38 80 FF FF */ li r4, -1 -/* 80027574 000244D4 4B FF 44 79 */ bl __dt__21CArchMsgParmUserInputFv -lbl_80027578: -/* 80027578 000244D8 38 60 00 01 */ li r3, 1 -lbl_8002757C: -/* 8002757C 000244DC E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 -/* 80027580 000244E0 CB E1 01 E0 */ lfd f31, 0x1e0(r1) -/* 80027584 000244E4 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 -/* 80027588 000244E8 CB C1 01 D0 */ lfd f30, 0x1d0(r1) -/* 8002758C 000244EC BB 01 01 B0 */ lmw r24, 0x1b0(r1) -/* 80027590 000244F0 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 80027594 000244F4 7C 08 03 A6 */ mtlr r0 -/* 80027598 000244F8 38 21 01 F0 */ addi r1, r1, 0x1f0 -/* 8002759C 000244FC 4E 80 00 20 */ blr - -.global IsGameWon__10CPlayMovieF11EWhichMovie -IsGameWon__10CPlayMovieF11EWhichMovie: -/* 800275A0 00024500 38 60 00 01 */ li r3, 1 -/* 800275A4 00024504 20 04 00 01 */ subfic r0, r4, 1 -/* 800275A8 00024508 7C 65 23 38 */ orc r5, r3, r4 -/* 800275AC 0002450C 54 00 F8 7E */ srwi r0, r0, 1 -/* 800275B0 00024510 7C 66 1B 78 */ mr r6, r3 -/* 800275B4 00024514 7C 00 28 50 */ subf r0, r0, r5 -/* 800275B8 00024518 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 800275BC 0002451C 40 82 00 08 */ bne lbl_800275C4 -/* 800275C0 00024520 38 C0 00 00 */ li r6, 0 -lbl_800275C4: -/* 800275C4 00024524 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 800275C8 00024528 4C 82 00 20 */ bnelr -/* 800275CC 0002452C 2C 04 00 02 */ cmpwi r4, 2 -/* 800275D0 00024530 4D 82 00 20 */ beqlr -/* 800275D4 00024534 38 60 00 00 */ li r3, 0 -/* 800275D8 00024538 4E 80 00 20 */ blr - -.global __dt__10CPlayMovieFv -__dt__10CPlayMovieFv: -/* 800275DC 0002453C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800275E0 00024540 7C 08 02 A6 */ mflr r0 -/* 800275E4 00024544 90 01 00 24 */ stw r0, 0x24(r1) -/* 800275E8 00024548 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800275EC 0002454C 7C 9F 23 78 */ mr r31, r4 -/* 800275F0 00024550 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800275F4 00024554 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800275F8 00024558 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800275FC 0002455C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80027600 00024560 41 82 01 40 */ beq lbl_80027740 -/* 80027604 00024564 3C 60 80 3E */ lis r3, lbl_803D9A34@ha -/* 80027608 00024568 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 8002760C 0002456C 38 03 9A 34 */ addi r0, r3, lbl_803D9A34@l -/* 80027610 00024570 90 1E 00 00 */ stw r0, 0(r30) -/* 80027614 00024574 41 82 00 10 */ beq lbl_80027624 -/* 80027618 00024578 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8002761C 0002457C 38 80 00 01 */ li r4, 1 -/* 80027620 00024580 48 2A 26 79 */ bl __dt__15CGuiTextSupportFv -lbl_80027624: -/* 80027624 00024584 34 1E 00 60 */ addic. r0, r30, 0x60 -/* 80027628 00024588 41 82 00 10 */ beq lbl_80027638 -/* 8002762C 0002458C 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 80027630 00024590 38 80 00 01 */ li r4, 1 -/* 80027634 00024594 48 2A 26 65 */ bl __dt__15CGuiTextSupportFv -lbl_80027638: -/* 80027638 00024598 34 1E 00 5C */ addic. r0, r30, 0x5c -/* 8002763C 0002459C 41 82 00 10 */ beq lbl_8002764C -/* 80027640 000245A0 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 80027644 000245A4 38 80 00 01 */ li r4, 1 -/* 80027648 000245A8 48 2A 26 51 */ bl __dt__15CGuiTextSupportFv -lbl_8002764C: -/* 8002764C 000245AC 34 1E 00 58 */ addic. r0, r30, 0x58 -/* 80027650 000245B0 41 82 00 10 */ beq lbl_80027660 -/* 80027654 000245B4 80 7E 00 58 */ lwz r3, 0x58(r30) -/* 80027658 000245B8 38 80 00 01 */ li r4, 1 -/* 8002765C 000245BC 48 2A 26 3D */ bl __dt__15CGuiTextSupportFv -lbl_80027660: -/* 80027660 000245C0 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 80027664 000245C4 41 82 00 10 */ beq lbl_80027674 -/* 80027668 000245C8 38 7E 00 50 */ addi r3, r30, 0x50 -/* 8002766C 000245CC 38 80 00 00 */ li r4, 0 -/* 80027670 000245D0 48 31 97 D1 */ bl __dt__6CTokenFv -lbl_80027674: -/* 80027674 000245D4 34 1E 00 48 */ addic. r0, r30, 0x48 -/* 80027678 000245D8 41 82 00 10 */ beq lbl_80027688 -/* 8002767C 000245DC 38 7E 00 48 */ addi r3, r30, 0x48 -/* 80027680 000245E0 38 80 00 00 */ li r4, 0 -/* 80027684 000245E4 48 31 97 BD */ bl __dt__6CTokenFv -lbl_80027688: -/* 80027688 000245E8 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 8002768C 000245EC 41 82 00 10 */ beq lbl_8002769C -/* 80027690 000245F0 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 80027694 000245F4 38 80 00 01 */ li r4, 1 -/* 80027698 000245F8 48 34 4A C1 */ bl __dt__18CStaticAudioPlayer -lbl_8002769C: -/* 8002769C 000245FC 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 800276A0 00024600 41 82 00 34 */ beq lbl_800276D4 -/* 800276A4 00024604 83 BE 00 40 */ lwz r29, 0x40(r30) -/* 800276A8 00024608 28 1D 00 00 */ cmplwi r29, 0 -/* 800276AC 0002460C 41 82 00 28 */ beq lbl_800276D4 -/* 800276B0 00024610 34 1D 00 04 */ addic. r0, r29, 4 -/* 800276B4 00024614 41 82 00 18 */ beq lbl_800276CC -/* 800276B8 00024618 34 1D 00 04 */ addic. r0, r29, 4 -/* 800276BC 0002461C 41 82 00 10 */ beq lbl_800276CC -/* 800276C0 00024620 38 7D 00 04 */ addi r3, r29, 4 -/* 800276C4 00024624 38 80 00 00 */ li r4, 0 -/* 800276C8 00024628 48 31 97 79 */ bl __dt__6CTokenFv -lbl_800276CC: -/* 800276CC 0002462C 7F A3 EB 78 */ mr r3, r29 -/* 800276D0 00024630 48 2E E2 61 */ bl Free__7CMemoryFPCv -lbl_800276D4: -/* 800276D4 00024634 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 800276D8 00024638 41 82 00 4C */ beq lbl_80027724 -/* 800276DC 0002463C 3B 9E 00 20 */ addi r28, r30, 0x20 -/* 800276E0 00024640 3B A0 00 00 */ li r29, 0 -/* 800276E4 00024644 48 00 00 2C */ b lbl_80027710 -lbl_800276E8: -/* 800276E8 00024648 28 1C 00 00 */ cmplwi r28, 0 -/* 800276EC 0002464C 41 82 00 1C */ beq lbl_80027708 -/* 800276F0 00024650 88 1C 00 00 */ lbz r0, 0(r28) -/* 800276F4 00024654 28 00 00 00 */ cmplwi r0, 0 -/* 800276F8 00024658 41 82 00 10 */ beq lbl_80027708 -/* 800276FC 0002465C 80 7C 00 04 */ lwz r3, 4(r28) -/* 80027700 00024660 38 80 00 01 */ li r4, 1 -/* 80027704 00024664 48 33 50 B5 */ bl __dt__12CMoviePlayerFv -lbl_80027708: -/* 80027708 00024668 3B 9C 00 08 */ addi r28, r28, 8 -/* 8002770C 0002466C 3B BD 00 01 */ addi r29, r29, 1 -lbl_80027710: -/* 80027710 00024670 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80027714 00024674 7C 1D 00 00 */ cmpw r29, r0 -/* 80027718 00024678 41 80 FF D0 */ blt lbl_800276E8 -/* 8002771C 0002467C 38 00 00 00 */ li r0, 0 -/* 80027720 00024680 90 1E 00 1C */ stw r0, 0x1c(r30) -lbl_80027724: -/* 80027724 00024684 7F C3 F3 78 */ mr r3, r30 -/* 80027728 00024688 38 80 00 00 */ li r4, 0 -/* 8002772C 0002468C 48 02 B4 79 */ bl __dt__6CIOWinFv -/* 80027730 00024690 7F E0 07 35 */ extsh. r0, r31 -/* 80027734 00024694 40 81 00 0C */ ble lbl_80027740 -/* 80027738 00024698 7F C3 F3 78 */ mr r3, r30 -/* 8002773C 0002469C 48 2E E1 F5 */ bl Free__7CMemoryFPCv -lbl_80027740: -/* 80027740 000246A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80027744 000246A4 7F C3 F3 78 */ mr r3, r30 -/* 80027748 000246A8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002774C 000246AC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80027750 000246B0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80027754 000246B4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80027758 000246B8 7C 08 03 A6 */ mtlr r0 -/* 8002775C 000246BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80027760 000246C0 4E 80 00 20 */ blr - -.global __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie -__ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie: -/* 80027764 000246C4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80027768 000246C8 7C 08 02 A6 */ mflr r0 -/* 8002776C 000246CC 3C A0 80 3D */ lis r5, lbl_803CCB50@ha -/* 80027770 000246D0 90 01 00 84 */ stw r0, 0x84(r1) -/* 80027774 000246D4 38 A5 CB 50 */ addi r5, r5, lbl_803CCB50@l -/* 80027778 000246D8 BF 01 00 60 */ stmw r24, 0x60(r1) -/* 8002777C 000246DC 7C 7F 1B 78 */ mr r31, r3 -/* 80027780 000246E0 7C 99 23 78 */ mr r25, r4 -/* 80027784 000246E4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80027788 000246E8 38 85 01 73 */ addi r4, r5, 0x173 -/* 8002778C 000246EC 4B FD D5 2D */ bl string_l__4rstlFPCc -/* 80027790 000246F0 7F E3 FB 78 */ mr r3, r31 -/* 80027794 000246F4 38 81 00 48 */ addi r4, r1, 0x48 -/* 80027798 000246F8 48 02 B4 75 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002779C 000246FC 38 61 00 48 */ addi r3, r1, 0x48 -/* 800277A0 00024700 48 31 63 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800277A4 00024704 3C 60 80 3E */ lis r3, lbl_803D9A34@ha -/* 800277A8 00024708 38 A0 00 00 */ li r5, 0 -/* 800277AC 0002470C 38 63 9A 34 */ addi r3, r3, lbl_803D9A34@l -/* 800277B0 00024710 38 00 FF FF */ li r0, -1 -/* 800277B4 00024714 90 7F 00 00 */ stw r3, 0(r31) -/* 800277B8 00024718 3B 1F 00 48 */ addi r24, r31, 0x48 -/* 800277BC 0002471C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800277C0 00024720 38 80 00 00 */ li r4, 0 -/* 800277C4 00024724 90 BF 00 14 */ stw r5, 0x14(r31) -/* 800277C8 00024728 93 3F 00 18 */ stw r25, 0x18(r31) -/* 800277CC 0002472C 90 BF 00 1C */ stw r5, 0x1c(r31) -/* 800277D0 00024730 90 BF 00 38 */ stw r5, 0x38(r31) -/* 800277D4 00024734 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 800277D8 00024738 90 BF 00 40 */ stw r5, 0x40(r31) -/* 800277DC 0002473C 90 BF 00 44 */ stw r5, 0x44(r31) -/* 800277E0 00024740 48 00 04 ED */ bl sub_80027ccc -/* 800277E4 00024744 38 00 00 00 */ li r0, 0 -/* 800277E8 00024748 80 81 00 14 */ lwz r4, 0x14(r1) -/* 800277EC 0002474C 98 01 00 10 */ stb r0, 0x10(r1) -/* 800277F0 00024750 7F 03 C3 78 */ mr r3, r24 -/* 800277F4 00024754 48 31 97 11 */ bl __ct__6CTokenFP4IObj -/* 800277F8 00024758 88 01 00 10 */ lbz r0, 0x10(r1) -/* 800277FC 0002475C 28 00 00 00 */ cmplwi r0, 0 -/* 80027800 00024760 41 82 00 24 */ beq lbl_80027824 -/* 80027804 00024764 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80027808 00024768 28 03 00 00 */ cmplwi r3, 0 -/* 8002780C 0002476C 41 82 00 18 */ beq lbl_80027824 -/* 80027810 00024770 81 83 00 00 */ lwz r12, 0(r3) -/* 80027814 00024774 38 80 00 01 */ li r4, 1 -/* 80027818 00024778 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002781C 0002477C 7D 89 03 A6 */ mtctr r12 -/* 80027820 00024780 4E 80 04 21 */ bctrl -lbl_80027824: -/* 80027824 00024784 3B 1F 00 50 */ addi r24, r31, 0x50 -/* 80027828 00024788 38 61 00 08 */ addi r3, r1, 8 -/* 8002782C 0002478C 38 80 00 00 */ li r4, 0 -/* 80027830 00024790 4B FE 05 A9 */ bl sub_80007dd8 -/* 80027834 00024794 38 00 00 00 */ li r0, 0 -/* 80027838 00024798 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8002783C 0002479C 98 01 00 08 */ stb r0, 8(r1) -/* 80027840 000247A0 7F 03 C3 78 */ mr r3, r24 -/* 80027844 000247A4 48 31 96 C1 */ bl __ct__6CTokenFP4IObj -/* 80027848 000247A8 88 01 00 08 */ lbz r0, 8(r1) -/* 8002784C 000247AC 28 00 00 00 */ cmplwi r0, 0 -/* 80027850 000247B0 41 82 00 24 */ beq lbl_80027874 -/* 80027854 000247B4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80027858 000247B8 28 03 00 00 */ cmplwi r3, 0 -/* 8002785C 000247BC 41 82 00 18 */ beq lbl_80027874 -/* 80027860 000247C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80027864 000247C4 38 80 00 01 */ li r4, 1 -/* 80027868 000247C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002786C 000247CC 7D 89 03 A6 */ mtctr r12 -/* 80027870 000247D0 4E 80 04 21 */ bctrl -lbl_80027874: -/* 80027874 000247D4 38 A0 00 00 */ li r5, 0 -/* 80027878 000247D8 C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) -/* 8002787C 000247DC 90 BF 00 58 */ stw r5, 0x58(r31) -/* 80027880 000247E0 7F E3 FB 78 */ mr r3, r31 -/* 80027884 000247E4 90 BF 00 5C */ stw r5, 0x5c(r31) -/* 80027888 000247E8 90 BF 00 60 */ stw r5, 0x60(r31) -/* 8002788C 000247EC 90 BF 00 64 */ stw r5, 0x64(r31) -/* 80027890 000247F0 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80027894 000247F4 C0 04 03 64 */ lfs f0, 0x364(r4) -/* 80027898 000247F8 D0 1F 00 68 */ stfs f0, 0x68(r31) -/* 8002789C 000247FC D0 3F 00 6C */ stfs f1, 0x6c(r31) -/* 800278A0 00024800 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 800278A4 00024804 C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 800278A8 00024808 D0 1F 00 70 */ stfs f0, 0x70(r31) -/* 800278AC 0002480C D0 3F 00 74 */ stfs f1, 0x74(r31) -/* 800278B0 00024810 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 800278B4 00024814 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 800278B8 00024818 98 1F 00 78 */ stb r0, 0x78(r31) -/* 800278BC 0002481C 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 800278C0 00024820 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 800278C4 00024824 98 1F 00 78 */ stb r0, 0x78(r31) -/* 800278C8 00024828 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 800278CC 0002482C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 800278D0 00024830 98 1F 00 78 */ stb r0, 0x78(r31) -/* 800278D4 00024834 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 800278D8 00024838 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 800278DC 0002483C 98 1F 00 78 */ stb r0, 0x78(r31) -/* 800278E0 00024840 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 800278E4 00024844 4B FF FC BD */ bl IsGameWon__10CPlayMovieF11EWhichMovie -/* 800278E8 00024848 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800278EC 0002484C 41 82 00 18 */ beq lbl_80027904 -/* 800278F0 00024850 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 800278F4 00024854 38 60 00 01 */ li r3, 1 -/* 800278F8 00024858 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800278FC 0002485C 98 1F 00 78 */ stb r0, 0x78(r31) -/* 80027900 00024860 48 00 00 7C */ b lbl_8002797C -lbl_80027904: -/* 80027904 00024864 2C 19 00 03 */ cmpwi r25, 3 -/* 80027908 00024868 40 82 00 74 */ bne lbl_8002797C -/* 8002790C 0002486C 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80027910 00024870 38 60 00 1C */ li r3, 0x1c -/* 80027914 00024874 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80027918 00024878 38 A0 00 00 */ li r5, 0 -/* 8002791C 0002487C 38 84 01 51 */ addi r4, r4, 0x151 -/* 80027920 00024880 48 2E DF 4D */ bl __nw__FUlPCcPCc -/* 80027924 00024884 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80027928 00024888 41 82 00 10 */ beq lbl_80027938 -/* 8002792C 0002488C 38 80 00 01 */ li r4, 1 -/* 80027930 00024890 48 21 D1 E1 */ bl __ct__15CQuitGameScreenF9EQuitType -/* 80027934 00024894 7C 7B 1B 78 */ mr r27, r3 -lbl_80027938: -/* 80027938 00024898 83 5F 00 40 */ lwz r26, 0x40(r31) -/* 8002793C 0002489C 28 1A 00 00 */ cmplwi r26, 0 -/* 80027940 000248A0 41 82 00 28 */ beq lbl_80027968 -/* 80027944 000248A4 34 1A 00 04 */ addic. r0, r26, 4 -/* 80027948 000248A8 41 82 00 18 */ beq lbl_80027960 -/* 8002794C 000248AC 34 1A 00 04 */ addic. r0, r26, 4 -/* 80027950 000248B0 41 82 00 10 */ beq lbl_80027960 -/* 80027954 000248B4 38 7A 00 04 */ addi r3, r26, 4 -/* 80027958 000248B8 38 80 00 00 */ li r4, 0 -/* 8002795C 000248BC 48 31 94 E5 */ bl __dt__6CTokenFv -lbl_80027960: -/* 80027960 000248C0 7F 43 D3 78 */ mr r3, r26 -/* 80027964 000248C4 48 2E DF CD */ bl Free__7CMemoryFPCv -lbl_80027968: -/* 80027968 000248C8 93 7F 00 40 */ stw r27, 0x40(r31) -/* 8002796C 000248CC 38 60 00 01 */ li r3, 1 -/* 80027970 000248D0 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 80027974 000248D4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80027978 000248D8 98 1F 00 78 */ stb r0, 0x78(r31) -lbl_8002797C: -/* 8002797C 000248DC 38 60 00 01 */ li r3, 1 -/* 80027980 000248E0 48 2E 1B 29 */ bl SetIsBeginSceneClearFb__9CGraphicsFb -/* 80027984 000248E4 88 1F 00 78 */ lbz r0, 0x78(r31) -/* 80027988 000248E8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8002798C 000248EC 41 82 01 D0 */ beq lbl_80027B5C -/* 80027990 000248F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80027994 000248F4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80027998 000248F8 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8002799C 000248FC 81 84 00 00 */ lwz r12, 0(r4) -/* 800279A0 00024900 80 A5 03 14 */ lwz r5, 0x314(r5) -/* 800279A4 00024904 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800279A8 00024908 7D 89 03 A6 */ mtctr r12 -/* 800279AC 0002490C 4E 80 04 21 */ bctrl -/* 800279B0 00024910 38 61 00 38 */ addi r3, r1, 0x38 -/* 800279B4 00024914 38 81 00 40 */ addi r4, r1, 0x40 -/* 800279B8 00024918 48 31 94 F1 */ bl __ct__6CTokenFRC6CToken -/* 800279BC 0002491C 38 7F 00 48 */ addi r3, r31, 0x48 -/* 800279C0 00024920 38 81 00 38 */ addi r4, r1, 0x38 -/* 800279C4 00024924 48 31 93 01 */ bl __as__6CTokenFRC6CToken -/* 800279C8 00024928 38 61 00 38 */ addi r3, r1, 0x38 -/* 800279CC 0002492C 38 80 00 00 */ li r4, 0 -/* 800279D0 00024930 48 31 94 71 */ bl __dt__6CTokenFv -/* 800279D4 00024934 38 61 00 40 */ addi r3, r1, 0x40 -/* 800279D8 00024938 38 80 FF FF */ li r4, -1 -/* 800279DC 0002493C 48 31 94 65 */ bl __dt__6CTokenFv -/* 800279E0 00024940 38 7F 00 48 */ addi r3, r31, 0x48 -/* 800279E4 00024944 48 31 93 A1 */ bl Lock__6CTokenFv -/* 800279E8 00024948 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800279EC 0002494C 38 61 00 30 */ addi r3, r1, 0x30 -/* 800279F0 00024950 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 800279F4 00024954 81 84 00 00 */ lwz r12, 0(r4) -/* 800279F8 00024958 80 A5 03 24 */ lwz r5, 0x324(r5) -/* 800279FC 0002495C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80027A00 00024960 7D 89 03 A6 */ mtctr r12 -/* 80027A04 00024964 4E 80 04 21 */ bctrl -/* 80027A08 00024968 38 61 00 28 */ addi r3, r1, 0x28 -/* 80027A0C 0002496C 38 81 00 30 */ addi r4, r1, 0x30 -/* 80027A10 00024970 48 31 94 99 */ bl __ct__6CTokenFRC6CToken -/* 80027A14 00024974 38 7F 00 50 */ addi r3, r31, 0x50 -/* 80027A18 00024978 38 81 00 28 */ addi r4, r1, 0x28 -/* 80027A1C 0002497C 48 31 92 A9 */ bl __as__6CTokenFRC6CToken -/* 80027A20 00024980 38 61 00 28 */ addi r3, r1, 0x28 -/* 80027A24 00024984 38 80 00 00 */ li r4, 0 -/* 80027A28 00024988 48 31 94 19 */ bl __dt__6CTokenFv -/* 80027A2C 0002498C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80027A30 00024990 38 80 FF FF */ li r4, -1 -/* 80027A34 00024994 48 31 94 0D */ bl __dt__6CTokenFv -/* 80027A38 00024998 38 7F 00 50 */ addi r3, r31, 0x50 -/* 80027A3C 0002499C 48 31 93 49 */ bl Lock__6CTokenFv -/* 80027A40 000249A0 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80027A44 000249A4 38 E0 00 00 */ li r7, 0 -/* 80027A48 000249A8 2C 00 00 02 */ cmpwi r0, 2 -/* 80027A4C 000249AC 41 82 00 1C */ beq lbl_80027A68 -/* 80027A50 000249B0 40 80 00 1C */ bge lbl_80027A6C -/* 80027A54 000249B4 2C 00 00 00 */ cmpwi r0, 0 -/* 80027A58 000249B8 40 80 00 08 */ bge lbl_80027A60 -/* 80027A5C 000249BC 48 00 00 10 */ b lbl_80027A6C -lbl_80027A60: -/* 80027A60 000249C0 38 E0 00 00 */ li r7, 0 -/* 80027A64 000249C4 48 00 00 08 */ b lbl_80027A6C -lbl_80027A68: -/* 80027A68 000249C8 38 E0 00 03 */ li r7, 3 -lbl_80027A6C: -/* 80027A6C 000249CC 3C A0 80 3D */ lis r5, lbl_803CCB38@ha -/* 80027A70 000249D0 3C 80 55 55 */ lis r4, 0x55555556@ha -/* 80027A74 000249D4 3C 60 80 3D */ lis r3, lbl_803CCB50@ha -/* 80027A78 000249D8 54 E6 10 3A */ slwi r6, r7, 2 -/* 80027A7C 000249DC 38 05 CB 38 */ addi r0, r5, lbl_803CCB38@l -/* 80027A80 000249E0 7C F9 3B 78 */ mr r25, r7 -/* 80027A84 000249E4 3B 47 00 03 */ addi r26, r7, 3 -/* 80027A88 000249E8 3B A4 55 56 */ addi r29, r4, 0x55555556@l -/* 80027A8C 000249EC 7F 80 32 14 */ add r28, r0, r6 -/* 80027A90 000249F0 3B C3 CB 50 */ addi r30, r3, lbl_803CCB50@l -/* 80027A94 000249F4 3B 7F 00 1C */ addi r27, r31, 0x1c -/* 80027A98 000249F8 48 00 00 B8 */ b lbl_80027B50 -lbl_80027A9C: -/* 80027A9C 000249FC 7C DD C8 96 */ mulhw r6, r29, r25 -/* 80027AA0 00024A00 38 9E 01 51 */ addi r4, r30, 0x151 -/* 80027AA4 00024A04 38 60 01 00 */ li r3, 0x100 -/* 80027AA8 00024A08 38 A0 00 00 */ li r5, 0 -/* 80027AAC 00024A0C 54 C0 0F FE */ srwi r0, r6, 0x1f -/* 80027AB0 00024A10 7C 06 02 14 */ add r0, r6, r0 -/* 80027AB4 00024A14 1C 00 00 03 */ mulli r0, r0, 3 -/* 80027AB8 00024A18 7C 00 C8 50 */ subf r0, r0, r25 -/* 80027ABC 00024A1C 20 00 00 01 */ subfic r0, r0, 1 -/* 80027AC0 00024A20 7C 00 00 34 */ cntlzw r0, r0 -/* 80027AC4 00024A24 54 18 D9 7E */ srwi r24, r0, 5 -/* 80027AC8 00024A28 48 2E DD A5 */ bl __nw__FUlPCcPCc -/* 80027ACC 00024A2C 7C 65 1B 79 */ or. r5, r3, r3 -/* 80027AD0 00024A30 41 82 00 1C */ beq lbl_80027AEC -/* 80027AD4 00024A34 80 9C 00 00 */ lwz r4, 0(r28) -/* 80027AD8 00024A38 7F 05 C3 78 */ mr r5, r24 -/* 80027ADC 00024A3C C0 22 83 78 */ lfs f1, lbl_805AA098@sda21(r2) -/* 80027AE0 00024A40 38 C0 00 00 */ li r6, 0 -/* 80027AE4 00024A44 48 33 54 39 */ bl __ct__12CMoviePlayerFPCcfb -/* 80027AE8 00024A48 7C 65 1B 78 */ mr r5, r3 -lbl_80027AEC: -/* 80027AEC 00024A4C 80 1B 00 00 */ lwz r0, 0(r27) -/* 80027AF0 00024A50 7C 65 00 D0 */ neg r3, r5 -/* 80027AF4 00024A54 7C 63 2B 78 */ or r3, r3, r5 -/* 80027AF8 00024A58 90 A1 00 24 */ stw r5, 0x24(r1) -/* 80027AFC 00024A5C 54 00 18 38 */ slwi r0, r0, 3 -/* 80027B00 00024A60 7C 9B 02 14 */ add r4, r27, r0 -/* 80027B04 00024A64 54 60 0F FE */ srwi r0, r3, 0x1f -/* 80027B08 00024A68 34 84 00 04 */ addic. r4, r4, 4 -/* 80027B0C 00024A6C 98 01 00 20 */ stb r0, 0x20(r1) -/* 80027B10 00024A70 41 82 00 14 */ beq lbl_80027B24 -/* 80027B14 00024A74 98 04 00 00 */ stb r0, 0(r4) -/* 80027B18 00024A78 38 00 00 00 */ li r0, 0 -/* 80027B1C 00024A7C 90 A4 00 04 */ stw r5, 4(r4) -/* 80027B20 00024A80 98 01 00 20 */ stb r0, 0x20(r1) -lbl_80027B24: -/* 80027B24 00024A84 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80027B28 00024A88 88 01 00 20 */ lbz r0, 0x20(r1) -/* 80027B2C 00024A8C 38 63 00 01 */ addi r3, r3, 1 -/* 80027B30 00024A90 28 00 00 00 */ cmplwi r0, 0 -/* 80027B34 00024A94 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 80027B38 00024A98 41 82 00 10 */ beq lbl_80027B48 -/* 80027B3C 00024A9C 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80027B40 00024AA0 38 80 00 01 */ li r4, 1 -/* 80027B44 00024AA4 48 33 4C 75 */ bl __dt__12CMoviePlayerFv -lbl_80027B48: -/* 80027B48 00024AA8 3B 9C 00 04 */ addi r28, r28, 4 -/* 80027B4C 00024AAC 3B 39 00 01 */ addi r25, r25, 1 -lbl_80027B50: -/* 80027B50 00024AB0 7C 19 D0 00 */ cmpw r25, r26 -/* 80027B54 00024AB4 41 80 FF 48 */ blt lbl_80027A9C -/* 80027B58 00024AB8 48 00 00 B0 */ b lbl_80027C08 -lbl_80027B5C: -/* 80027B5C 00024ABC 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80027B60 00024AC0 38 60 01 00 */ li r3, 0x100 -/* 80027B64 00024AC4 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80027B68 00024AC8 38 A0 00 00 */ li r5, 0 -/* 80027B6C 00024ACC 38 84 01 51 */ addi r4, r4, 0x151 -/* 80027B70 00024AD0 48 2E DC FD */ bl __nw__FUlPCcPCc -/* 80027B74 00024AD4 7C 65 1B 79 */ or. r5, r3, r3 -/* 80027B78 00024AD8 41 82 00 30 */ beq lbl_80027BA8 -/* 80027B7C 00024ADC 3C 80 80 3D */ lis r4, lbl_803CCB18@ha -/* 80027B80 00024AE0 20 19 00 03 */ subfic r0, r25, 3 -/* 80027B84 00024AE4 57 25 10 3A */ slwi r5, r25, 2 -/* 80027B88 00024AE8 C0 22 83 2C */ lfs f1, lbl_805AA04C@sda21(r2) -/* 80027B8C 00024AEC 38 84 CB 18 */ addi r4, r4, lbl_803CCB18@l -/* 80027B90 00024AF0 7C 00 00 34 */ cntlzw r0, r0 -/* 80027B94 00024AF4 7C 84 28 2E */ lwzx r4, r4, r5 -/* 80027B98 00024AF8 54 06 D9 7E */ srwi r6, r0, 5 -/* 80027B9C 00024AFC 38 A0 00 00 */ li r5, 0 -/* 80027BA0 00024B00 48 33 53 7D */ bl __ct__12CMoviePlayerFPCcfb -/* 80027BA4 00024B04 7C 65 1B 78 */ mr r5, r3 -lbl_80027BA8: -/* 80027BA8 00024B08 38 9F 00 1C */ addi r4, r31, 0x1c -/* 80027BAC 00024B0C 7C 65 00 D0 */ neg r3, r5 -/* 80027BB0 00024B10 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80027BB4 00024B14 7C 63 2B 78 */ or r3, r3, r5 -/* 80027BB8 00024B18 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80027BBC 00024B1C 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80027BC0 00024B20 54 00 18 38 */ slwi r0, r0, 3 -/* 80027BC4 00024B24 7C 84 02 14 */ add r4, r4, r0 -/* 80027BC8 00024B28 98 61 00 18 */ stb r3, 0x18(r1) -/* 80027BCC 00024B2C 34 84 00 04 */ addic. r4, r4, 4 -/* 80027BD0 00024B30 41 82 00 14 */ beq lbl_80027BE4 -/* 80027BD4 00024B34 98 64 00 00 */ stb r3, 0(r4) -/* 80027BD8 00024B38 38 00 00 00 */ li r0, 0 -/* 80027BDC 00024B3C 90 A4 00 04 */ stw r5, 4(r4) -/* 80027BE0 00024B40 98 01 00 18 */ stb r0, 0x18(r1) -lbl_80027BE4: -/* 80027BE4 00024B44 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80027BE8 00024B48 88 01 00 18 */ lbz r0, 0x18(r1) -/* 80027BEC 00024B4C 38 63 00 01 */ addi r3, r3, 1 -/* 80027BF0 00024B50 28 00 00 00 */ cmplwi r0, 0 -/* 80027BF4 00024B54 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 80027BF8 00024B58 41 82 00 10 */ beq lbl_80027C08 -/* 80027BFC 00024B5C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80027C00 00024B60 38 80 00 01 */ li r4, 1 -/* 80027C04 00024B64 48 33 4B B5 */ bl __dt__12CMoviePlayerFv -lbl_80027C08: -/* 80027C08 00024B68 7F E3 FB 78 */ mr r3, r31 -/* 80027C0C 00024B6C BB 01 00 60 */ lmw r24, 0x60(r1) -/* 80027C10 00024B70 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80027C14 00024B74 7C 08 03 A6 */ mtlr r0 -/* 80027C18 00024B78 38 21 00 80 */ addi r1, r1, 0x80 -/* 80027C1C 00024B7C 4E 80 00 20 */ blr - -.global sub_80027c20 -sub_80027c20: -/* 80027C20 00024B80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80027C24 00024B84 7C 08 02 A6 */ mflr r0 -/* 80027C28 00024B88 90 01 00 24 */ stw r0, 0x24(r1) -/* 80027C2C 00024B8C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80027C30 00024B90 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80027C34 00024B94 7C 9E 23 78 */ mr r30, r4 -/* 80027C38 00024B98 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80027C3C 00024B9C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80027C40 00024BA0 41 82 00 6C */ beq lbl_80027CAC -/* 80027C44 00024BA4 3C 60 80 3E */ lis r3, lbl_803D9A0C@ha -/* 80027C48 00024BA8 38 03 9A 0C */ addi r0, r3, lbl_803D9A0C@l -/* 80027C4C 00024BAC 90 1D 00 00 */ stw r0, 0(r29) -/* 80027C50 00024BB0 83 FD 00 04 */ lwz r31, 4(r29) -/* 80027C54 00024BB4 28 1F 00 00 */ cmplwi r31, 0 -/* 80027C58 00024BB8 41 82 00 20 */ beq lbl_80027C78 -/* 80027C5C 00024BBC 41 82 00 1C */ beq lbl_80027C78 -/* 80027C60 00024BC0 34 1F 00 04 */ addic. r0, r31, 4 -/* 80027C64 00024BC4 41 82 00 0C */ beq lbl_80027C70 -/* 80027C68 00024BC8 80 7F 00 04 */ lwz r3, 4(r31) -/* 80027C6C 00024BCC 48 2E DC C5 */ bl Free__7CMemoryFPCv -lbl_80027C70: -/* 80027C70 00024BD0 7F E3 FB 78 */ mr r3, r31 -/* 80027C74 00024BD4 48 2E DC BD */ bl Free__7CMemoryFPCv -lbl_80027C78: -/* 80027C78 00024BD8 28 1D 00 00 */ cmplwi r29, 0 -/* 80027C7C 00024BDC 41 82 00 20 */ beq lbl_80027C9C -/* 80027C80 00024BE0 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 80027C84 00024BE4 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 80027C88 00024BE8 90 1D 00 00 */ stw r0, 0(r29) -/* 80027C8C 00024BEC 41 82 00 10 */ beq lbl_80027C9C -/* 80027C90 00024BF0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80027C94 00024BF4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80027C98 00024BF8 90 1D 00 00 */ stw r0, 0(r29) -lbl_80027C9C: -/* 80027C9C 00024BFC 7F C0 07 35 */ extsh. r0, r30 -/* 80027CA0 00024C00 40 81 00 0C */ ble lbl_80027CAC -/* 80027CA4 00024C04 7F A3 EB 78 */ mr r3, r29 -/* 80027CA8 00024C08 48 2E DC 89 */ bl Free__7CMemoryFPCv -lbl_80027CAC: -/* 80027CAC 00024C0C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80027CB0 00024C10 7F A3 EB 78 */ mr r3, r29 -/* 80027CB4 00024C14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80027CB8 00024C18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80027CBC 00024C1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80027CC0 00024C20 7C 08 03 A6 */ mtlr r0 -/* 80027CC4 00024C24 38 21 00 20 */ addi r1, r1, 0x20 -/* 80027CC8 00024C28 4E 80 00 20 */ blr - -.global sub_80027ccc -sub_80027ccc: -/* 80027CCC 00024C2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80027CD0 00024C30 7C 08 02 A6 */ mflr r0 -/* 80027CD4 00024C34 3C A0 80 3D */ lis r5, lbl_803CCB50@ha -/* 80027CD8 00024C38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80027CDC 00024C3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80027CE0 00024C40 7C 9F 23 78 */ mr r31, r4 -/* 80027CE4 00024C44 93 C1 00 08 */ stw r30, 8(r1) -/* 80027CE8 00024C48 7C 7E 1B 78 */ mr r30, r3 -/* 80027CEC 00024C4C 38 65 CB 50 */ addi r3, r5, lbl_803CCB50@l -/* 80027CF0 00024C50 38 A0 00 00 */ li r5, 0 -/* 80027CF4 00024C54 38 83 01 51 */ addi r4, r3, 0x151 -/* 80027CF8 00024C58 38 60 00 08 */ li r3, 8 -/* 80027CFC 00024C5C 48 2E DB 71 */ bl __nw__FUlPCcPCc -/* 80027D00 00024C60 28 03 00 00 */ cmplwi r3, 0 -/* 80027D04 00024C64 41 82 00 2C */ beq lbl_80027D30 -/* 80027D08 00024C68 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80027D0C 00024C6C 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80027D10 00024C70 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80027D14 00024C74 3C 80 80 3E */ lis r4, lbl_803D9A0C@ha -/* 80027D18 00024C78 90 03 00 00 */ stw r0, 0(r3) -/* 80027D1C 00024C7C 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l -/* 80027D20 00024C80 38 04 9A 0C */ addi r0, r4, lbl_803D9A0C@l -/* 80027D24 00024C84 90 A3 00 00 */ stw r5, 0(r3) -/* 80027D28 00024C88 93 E3 00 04 */ stw r31, 4(r3) -/* 80027D2C 00024C8C 90 03 00 00 */ stw r0, 0(r3) -lbl_80027D30: -/* 80027D30 00024C90 7C 03 00 D0 */ neg r0, r3 -/* 80027D34 00024C94 7C 00 1B 78 */ or r0, r0, r3 -/* 80027D38 00024C98 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80027D3C 00024C9C 98 1E 00 00 */ stb r0, 0(r30) -/* 80027D40 00024CA0 90 7E 00 04 */ stw r3, 4(r30) -/* 80027D44 00024CA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80027D48 00024CA8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80027D4C 00024CAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80027D50 00024CB0 7C 08 03 A6 */ mtlr r0 -/* 80027D54 00024CB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80027D58 00024CB8 4E 80 00 20 */ blr - -.global sub_80027d5c -sub_80027d5c: -/* 80027D5C 00024CBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80027D60 00024CC0 7C 08 02 A6 */ mflr r0 -/* 80027D64 00024CC4 3C 80 80 3D */ lis r4, lbl_803CCB50@ha -/* 80027D68 00024CC8 38 A0 00 00 */ li r5, 0 -/* 80027D6C 00024CCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80027D70 00024CD0 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l -/* 80027D74 00024CD4 38 84 01 51 */ addi r4, r4, 0x151 -/* 80027D78 00024CD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80027D7C 00024CDC 7C 7F 1B 78 */ mr r31, r3 -/* 80027D80 00024CE0 38 60 00 18 */ li r3, 0x18 -/* 80027D84 00024CE4 48 2E DA E9 */ bl __nw__FUlPCcPCc -/* 80027D88 00024CE8 7C 64 1B 79 */ or. r4, r3, r3 -/* 80027D8C 00024CEC 41 82 00 0C */ beq lbl_80027D98 -/* 80027D90 00024CF0 4B FF D6 59 */ bl __ct__9CAutoSaveFv -/* 80027D94 00024CF4 7C 64 1B 78 */ mr r4, r3 -lbl_80027D98: -/* 80027D98 00024CF8 7F E3 FB 78 */ mr r3, r31 -/* 80027D9C 00024CFC 48 00 00 19 */ bl sub_80027db4 -/* 80027DA0 00024D00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80027DA4 00024D04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80027DA8 00024D08 7C 08 03 A6 */ mtlr r0 -/* 80027DAC 00024D0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80027DB0 00024D10 4E 80 00 20 */ blr - -.global sub_80027db4 -sub_80027db4: -/* 80027DB4 00024D14 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80027DB8 00024D18 7C 08 02 A6 */ mflr r0 -/* 80027DBC 00024D1C 38 AD 81 98 */ addi r5, r13, lbl_805A6D58@sda21 -/* 80027DC0 00024D20 38 CD 81 9C */ addi r6, r13, lbl_805A6D5C@sda21 -/* 80027DC4 00024D24 90 01 00 24 */ stw r0, 0x24(r1) -/* 80027DC8 00024D28 38 E1 00 08 */ addi r7, r1, 8 -/* 80027DCC 00024D2C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80027DD0 00024D30 7C 7F 1B 78 */ mr r31, r3 -/* 80027DD4 00024D34 38 61 00 0C */ addi r3, r1, 0xc -/* 80027DD8 00024D38 90 81 00 08 */ stw r4, 8(r1) -/* 80027DDC 00024D3C 38 80 00 00 */ li r4, 0 -/* 80027DE0 00024D40 48 02 9E CD */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin -/* 80027DE4 00024D44 7F E3 FB 78 */ mr r3, r31 -/* 80027DE8 00024D48 38 81 00 0C */ addi r4, r1, 0xc -/* 80027DEC 00024D4C 4B FD EF 15 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 80027DF0 00024D50 34 61 00 14 */ addic. r3, r1, 0x14 -/* 80027DF4 00024D54 41 82 00 08 */ beq lbl_80027DFC -/* 80027DF8 00024D58 4B FE 09 15 */ bl sub_8000870c -lbl_80027DFC: -/* 80027DFC 00024D5C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80027E00 00024D60 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80027E04 00024D64 7C 08 03 A6 */ mtlr r0 -/* 80027E08 00024D68 38 21 00 20 */ addi r1, r1, 0x20 -/* 80027E0C 00024D6C 4E 80 00 20 */ blr - -.global sub_80027e10 -sub_80027e10: -/* 80027E10 00024D70 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80027E14 00024D74 7C 08 02 A6 */ mflr r0 -/* 80027E18 00024D78 90 01 00 54 */ stw r0, 0x54(r1) -/* 80027E1C 00024D7C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80027E20 00024D80 7C 9F 23 78 */ mr r31, r4 -/* 80027E24 00024D84 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80027E28 00024D88 7C 7E 1B 78 */ mr r30, r3 -/* 80027E2C 00024D8C 38 60 00 00 */ li r3, 0 -/* 80027E30 00024D90 48 2E 3C 41 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80027E34 00024D94 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 80027E38 00024D98 38 61 00 08 */ addi r3, r1, 8 -/* 80027E3C 00024D9C C0 22 83 20 */ lfs f1, lbl_805AA040@sda21(r2) -/* 80027E40 00024DA0 38 A0 00 00 */ li r5, 0 -/* 80027E44 00024DA4 81 84 00 00 */ lwz r12, 0(r4) -/* 80027E48 00024DA8 C0 42 83 24 */ lfs f2, lbl_805AA044@sda21(r2) -/* 80027E4C 00024DAC 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 80027E50 00024DB0 7D 89 03 A6 */ mtctr r12 -/* 80027E54 00024DB4 4E 80 04 21 */ bctrl -/* 80027E58 00024DB8 7F E4 FB 78 */ mr r4, r31 -/* 80027E5C 00024DBC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80027E60 00024DC0 48 2E B2 E1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80027E64 00024DC4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80027E68 00024DC8 38 81 00 18 */ addi r4, r1, 0x18 -/* 80027E6C 00024DCC 81 83 00 00 */ lwz r12, 0(r3) -/* 80027E70 00024DD0 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80027E74 00024DD4 7D 89 03 A6 */ mtctr r12 -/* 80027E78 00024DD8 4E 80 04 21 */ bctrl -/* 80027E7C 00024DDC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80027E80 00024DE0 38 80 00 00 */ li r4, 0 -/* 80027E84 00024DE4 38 A0 00 00 */ li r5, 0 -/* 80027E88 00024DE8 81 83 00 00 */ lwz r12, 0(r3) -/* 80027E8C 00024DEC 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80027E90 00024DF0 7D 89 03 A6 */ mtctr r12 -/* 80027E94 00024DF4 4E 80 04 21 */ bctrl -/* 80027E98 00024DF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80027E9C 00024DFC 81 83 00 00 */ lwz r12, 0(r3) -/* 80027EA0 00024E00 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80027EA4 00024E04 7D 89 03 A6 */ mtctr r12 -/* 80027EA8 00024E08 4E 80 04 21 */ bctrl -/* 80027EAC 00024E0C 7F C3 F3 78 */ mr r3, r30 -/* 80027EB0 00024E10 48 2A 16 95 */ bl Render__15CGuiTextSupportFv -/* 80027EB4 00024E14 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80027EB8 00024E18 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80027EBC 00024E1C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80027EC0 00024E20 7C 08 03 A6 */ mtlr r0 -/* 80027EC4 00024E24 38 21 00 50 */ addi r1, r1, 0x50 -/* 80027EC8 00024E28 4E 80 00 20 */ blr - -.global sub_80027ecc -sub_80027ecc: -/* 80027ECC 00024E2C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80027ED0 00024E30 7C 08 02 A6 */ mflr r0 -/* 80027ED4 00024E34 90 01 00 24 */ stw r0, 0x24(r1) -/* 80027ED8 00024E38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80027EDC 00024E3C 7C 7F 1B 78 */ mr r31, r3 -/* 80027EE0 00024E40 80 63 00 00 */ lwz r3, 0(r3) -/* 80027EE4 00024E44 28 03 00 00 */ cmplwi r3, 0 -/* 80027EE8 00024E48 41 82 00 48 */ beq lbl_80027F30 -/* 80027EEC 00024E4C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80027EF0 00024E50 3C 00 43 30 */ lis r0, 0x4330 -/* 80027EF4 00024E54 C0 02 83 7C */ lfs f0, lbl_805AA09C@sda21(r2) -/* 80027EF8 00024E58 80 84 01 D8 */ lwz r4, 0x1d8(r4) -/* 80027EFC 00024E5C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80027F00 00024E60 EC 40 00 72 */ fmuls f2, f0, f1 -/* 80027F04 00024E64 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 80027F08 00024E68 C8 22 83 30 */ lfd f1, lbl_805AA050@sda21(r2) -/* 80027F0C 00024E6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80027F10 00024E70 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80027F14 00024E74 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80027F18 00024E78 EC 62 00 32 */ fmuls f3, f2, f0 -/* 80027F1C 00024E7C F0 61 A0 08 */ psq_st f3, 8(r1), 1, qr2 -/* 80027F20 00024E80 88 81 00 08 */ lbz r4, 8(r1) -/* 80027F24 00024E84 48 34 3D 11 */ bl SetVolume__18CStaticAudioPlayerFc -/* 80027F28 00024E88 80 7F 00 00 */ lwz r3, 0(r31) -/* 80027F2C 00024E8C 48 34 41 05 */ bl StartMixOut__18CStaticAudioPlayerFv -lbl_80027F30: -/* 80027F30 00024E90 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80027F34 00024E94 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80027F38 00024E98 7C 08 03 A6 */ mtlr r0 -/* 80027F3C 00024E9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80027F40 00024EA0 4E 80 00 20 */ blr - -.global sub_80027f44 -sub_80027f44: -/* 80027F44 00024EA4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80027F48 00024EA8 7C 08 02 A6 */ mflr r0 -/* 80027F4C 00024EAC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80027F50 00024EB0 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 80027F54 00024EB4 7C 7F 1B 78 */ mr r31, r3 -/* 80027F58 00024EB8 80 03 00 AC */ lwz r0, 0xac(r3) -/* 80027F5C 00024EBC 28 00 00 00 */ cmplwi r0, 0 -/* 80027F60 00024EC0 41 82 00 0C */ beq lbl_80027F6C -/* 80027F64 00024EC4 38 60 00 00 */ li r3, 0 -/* 80027F68 00024EC8 48 00 01 7C */ b lbl_800280E4 -lbl_80027F6C: -/* 80027F6C 00024ECC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80027F70 00024ED0 38 80 00 00 */ li r4, 0 -/* 80027F74 00024ED4 38 A0 00 00 */ li r5, 0 -/* 80027F78 00024ED8 81 83 00 00 */ lwz r12, 0(r3) -/* 80027F7C 00024EDC 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80027F80 00024EE0 7D 89 03 A6 */ mtctr r12 -/* 80027F84 00024EE4 4E 80 04 21 */ bctrl -/* 80027F88 00024EE8 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 80027F8C 00024EEC 38 61 00 08 */ addi r3, r1, 8 -/* 80027F90 00024EF0 C0 22 83 20 */ lfs f1, lbl_805AA040@sda21(r2) -/* 80027F94 00024EF4 38 A0 00 00 */ li r5, 0 -/* 80027F98 00024EF8 81 84 00 00 */ lwz r12, 0(r4) -/* 80027F9C 00024EFC C0 42 83 24 */ lfs f2, lbl_805AA044@sda21(r2) -/* 80027FA0 00024F00 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 80027FA4 00024F04 7D 89 03 A6 */ mtctr r12 -/* 80027FA8 00024F08 4E 80 04 21 */ bctrl -/* 80027FAC 00024F0C 3C 80 80 3F */ lis r4, lbl_803F0004@ha -/* 80027FB0 00024F10 87 A4 D9 10 */ lwzu r29, -0x26f0(r4) -/* 80027FB4 00024F14 7F E3 FB 78 */ mr r3, r31 -/* 80027FB8 00024F18 83 84 00 04 */ lwz r28, lbl_803F0004@l(r4) -/* 80027FBC 00024F1C 83 64 00 08 */ lwz r27, 8(r4) -/* 80027FC0 00024F20 83 44 00 0C */ lwz r26, 0xc(r4) -/* 80027FC4 00024F24 48 33 36 61 */ bl sub_8035b624 -/* 80027FC8 00024F28 7C 7E 1B 78 */ mr r30, r3 -/* 80027FCC 00024F2C 7F E3 FB 78 */ mr r3, r31 -/* 80027FD0 00024F30 48 33 36 4D */ bl sub_8035b61c -/* 80027FD4 00024F34 7C 1A 18 50 */ subf r0, r26, r3 -/* 80027FD8 00024F38 7C 7B F0 50 */ subf r3, r27, r30 -/* 80027FDC 00024F3C 54 63 F8 7E */ srwi r3, r3, 1 -/* 80027FE0 00024F40 3D 40 43 30 */ lis r10, 0x4330 -/* 80027FE4 00024F44 54 00 F8 7E */ srwi r0, r0, 1 -/* 80027FE8 00024F48 C0 E2 83 2C */ lfs f7, lbl_805AA04C@sda21(r2) -/* 80027FEC 00024F4C 7C 9B 1A 14 */ add r4, r27, r3 -/* 80027FF0 00024F50 7C 63 E8 50 */ subf r3, r3, r29 -/* 80027FF4 00024F54 6C 6B 80 00 */ xoris r11, r3, 0x8000 -/* 80027FF8 00024F58 7C 7A 02 14 */ add r3, r26, r0 -/* 80027FFC 00024F5C 7C 9D 22 14 */ add r4, r29, r4 -/* 80028000 00024F60 7C 00 E0 50 */ subf r0, r0, r28 -/* 80028004 00024F64 6C 88 80 00 */ xoris r8, r4, 0x8000 -/* 80028008 00024F68 7C 7C 1A 14 */ add r3, r28, r3 -/* 8002800C 00024F6C 6C 69 80 00 */ xoris r9, r3, 0x8000 -/* 80028010 00024F70 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80028014 00024F74 91 61 00 4C */ stw r11, 0x4c(r1) -/* 80028018 00024F78 7F E3 FB 78 */ mr r3, r31 -/* 8002801C 00024F7C C9 22 83 30 */ lfd f9, lbl_805AA050@sda21(r2) -/* 80028020 00024F80 38 81 00 3C */ addi r4, r1, 0x3c -/* 80028024 00024F84 91 41 00 48 */ stw r10, 0x48(r1) -/* 80028028 00024F88 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8002802C 00024F8C 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80028030 00024F90 38 E1 00 18 */ addi r7, r1, 0x18 -/* 80028034 00024F94 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 80028038 00024F98 91 21 00 54 */ stw r9, 0x54(r1) -/* 8002803C 00024F9C ED 00 48 28 */ fsubs f8, f0, f9 -/* 80028040 00024FA0 91 41 00 50 */ stw r10, 0x50(r1) -/* 80028044 00024FA4 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 80028048 00024FA8 91 01 00 5C */ stw r8, 0x5c(r1) -/* 8002804C 00024FAC EC C0 48 28 */ fsubs f6, f0, f9 -/* 80028050 00024FB0 91 41 00 58 */ stw r10, 0x58(r1) -/* 80028054 00024FB4 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 80028058 00024FB8 91 21 00 64 */ stw r9, 0x64(r1) -/* 8002805C 00024FBC EC A0 48 28 */ fsubs f5, f0, f9 -/* 80028060 00024FC0 91 41 00 60 */ stw r10, 0x60(r1) -/* 80028064 00024FC4 C8 01 00 60 */ lfd f0, 0x60(r1) -/* 80028068 00024FC8 91 61 00 6C */ stw r11, 0x6c(r1) -/* 8002806C 00024FCC EC 80 48 28 */ fsubs f4, f0, f9 -/* 80028070 00024FD0 91 41 00 68 */ stw r10, 0x68(r1) -/* 80028074 00024FD4 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 80028078 00024FD8 90 01 00 74 */ stw r0, 0x74(r1) -/* 8002807C 00024FDC EC 60 48 28 */ fsubs f3, f0, f9 -/* 80028080 00024FE0 91 41 00 70 */ stw r10, 0x70(r1) -/* 80028084 00024FE4 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 80028088 00024FE8 91 01 00 7C */ stw r8, 0x7c(r1) -/* 8002808C 00024FEC EC 40 48 28 */ fsubs f2, f0, f9 -/* 80028090 00024FF0 91 41 00 78 */ stw r10, 0x78(r1) -/* 80028094 00024FF4 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 80028098 00024FF8 90 01 00 84 */ stw r0, 0x84(r1) -/* 8002809C 00024FFC EC 20 48 28 */ fsubs f1, f0, f9 -/* 800280A0 00025000 91 41 00 80 */ stw r10, 0x80(r1) -/* 800280A4 00025004 C8 01 00 80 */ lfd f0, 0x80(r1) -/* 800280A8 00025008 D1 01 00 3C */ stfs f8, 0x3c(r1) -/* 800280AC 0002500C EC 00 48 28 */ fsubs f0, f0, f9 -/* 800280B0 00025010 D0 E1 00 40 */ stfs f7, 0x40(r1) -/* 800280B4 00025014 D0 C1 00 44 */ stfs f6, 0x44(r1) -/* 800280B8 00025018 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 800280BC 0002501C D0 E1 00 34 */ stfs f7, 0x34(r1) -/* 800280C0 00025020 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 800280C4 00025024 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 800280C8 00025028 D0 E1 00 28 */ stfs f7, 0x28(r1) -/* 800280CC 0002502C D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 800280D0 00025030 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800280D4 00025034 D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 800280D8 00025038 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800280DC 0002503C 48 33 3B 11 */ bl DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 800280E0 00025040 38 60 00 01 */ li r3, 1 -lbl_800280E4: -/* 800280E4 00025044 BB 41 00 88 */ lmw r26, 0x88(r1) -/* 800280E8 00025048 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 800280EC 0002504C 7C 08 03 A6 */ mtlr r0 -/* 800280F0 00025050 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 800280F4 00025054 4E 80 00 20 */ blr - -.global GetIsContinueDraw__8CCreditsCFv -GetIsContinueDraw__8CCreditsCFv: -/* 800280F8 00025058 38 60 00 00 */ li r3, 0 -/* 800280FC 0002505C 4E 80 00 20 */ blr - -.global GetIsContinueDraw__10CPlayMovieCFv -GetIsContinueDraw__10CPlayMovieCFv: -/* 80028100 00025060 38 60 00 00 */ li r3, 0 -/* 80028104 00025064 4E 80 00 20 */ blr - -.global sub_80028108 -sub_80028108: -/* 80028108 00025068 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002810C 0002506C 7C 08 02 A6 */ mflr r0 -/* 80028110 00025070 90 01 00 14 */ stw r0, 0x14(r1) -/* 80028114 00025074 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80028118 00025078 7C 7F 1B 78 */ mr r31, r3 -/* 8002811C 0002507C 80 83 00 00 */ lwz r4, 0(r3) -/* 80028120 00025080 80 64 00 04 */ lwz r3, 4(r4) -/* 80028124 00025084 34 03 FF FF */ addic. r0, r3, -1 -/* 80028128 00025088 90 04 00 04 */ stw r0, 4(r4) -/* 8002812C 0002508C 41 81 00 24 */ bgt lbl_80028150 -/* 80028130 00025090 80 7F 00 00 */ lwz r3, 0(r31) -/* 80028134 00025094 38 80 00 01 */ li r4, 1 -/* 80028138 00025098 80 63 00 00 */ lwz r3, 0(r3) -/* 8002813C 0002509C 48 2A 1B 5D */ bl __dt__15CGuiTextSupportFv -/* 80028140 000250A0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80028144 000250A4 28 03 00 00 */ cmplwi r3, 0 -/* 80028148 000250A8 41 82 00 08 */ beq lbl_80028150 -/* 8002814C 000250AC 48 2E D7 E5 */ bl Free__7CMemoryFPCv -lbl_80028150: -/* 80028150 000250B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80028154 000250B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80028158 000250B8 7C 08 03 A6 */ mtlr r0 -/* 8002815C 000250BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80028160 000250C0 4E 80 00 20 */ blr - -.global sub_80028164 -sub_80028164: -/* 80028164 000250C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80028168 000250C8 7C 08 02 A6 */ mflr r0 -/* 8002816C 000250CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80028170 000250D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80028174 000250D4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80028178 000250D8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002817C 000250DC 7C 9D 23 78 */ mr r29, r4 -/* 80028180 000250E0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80028184 000250E4 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80028188 000250E8 41 82 00 58 */ beq lbl_800281E0 -/* 8002818C 000250EC 83 FC 00 04 */ lwz r31, 4(r28) -/* 80028190 000250F0 48 00 00 34 */ b lbl_800281C4 -lbl_80028194: -/* 80028194 000250F4 7F FE FB 78 */ mr r30, r31 -/* 80028198 000250F8 83 FF 00 04 */ lwz r31, 4(r31) -/* 8002819C 000250FC 34 7E 00 08 */ addic. r3, r30, 8 -/* 800281A0 00025100 41 82 00 14 */ beq lbl_800281B4 -/* 800281A4 00025104 28 03 00 00 */ cmplwi r3, 0 -/* 800281A8 00025108 41 82 00 0C */ beq lbl_800281B4 -/* 800281AC 0002510C 41 82 00 08 */ beq lbl_800281B4 -/* 800281B0 00025110 4B FF FF 59 */ bl sub_80028108 -lbl_800281B4: -/* 800281B4 00025114 28 1E 00 00 */ cmplwi r30, 0 -/* 800281B8 00025118 41 82 00 0C */ beq lbl_800281C4 -/* 800281BC 0002511C 7F C3 F3 78 */ mr r3, r30 -/* 800281C0 00025120 48 2E D7 71 */ bl Free__7CMemoryFPCv -lbl_800281C4: -/* 800281C4 00025124 80 1C 00 08 */ lwz r0, 8(r28) -/* 800281C8 00025128 7C 1F 00 40 */ cmplw r31, r0 -/* 800281CC 0002512C 40 82 FF C8 */ bne lbl_80028194 -/* 800281D0 00025130 7F A0 07 35 */ extsh. r0, r29 -/* 800281D4 00025134 40 81 00 0C */ ble lbl_800281E0 -/* 800281D8 00025138 7F 83 E3 78 */ mr r3, r28 -/* 800281DC 0002513C 48 2E D7 55 */ bl Free__7CMemoryFPCv -lbl_800281E0: -/* 800281E0 00025140 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800281E4 00025144 7F 83 E3 78 */ mr r3, r28 -/* 800281E8 00025148 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800281EC 0002514C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800281F0 00025150 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800281F4 00025154 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800281F8 00025158 7C 08 03 A6 */ mtlr r0 -/* 800281FC 0002515C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80028200 00025160 4E 80 00 20 */ blr - -.global __dt__13CSplashScreenFv -__dt__13CSplashScreenFv: -/* 80028204 00025164 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80028208 00025168 7C 08 02 A6 */ mflr r0 -/* 8002820C 0002516C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80028210 00025170 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80028214 00025174 7C 9F 23 78 */ mr r31, r4 -/* 80028218 00025178 93 C1 00 08 */ stw r30, 8(r1) -/* 8002821C 0002517C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80028220 00025180 41 82 00 40 */ beq lbl_80028260 -/* 80028224 00025184 3C 60 80 3E */ lis r3, lbl_803D9A50@ha -/* 80028228 00025188 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 8002822C 0002518C 38 03 9A 50 */ addi r0, r3, lbl_803D9A50@l -/* 80028230 00025190 90 1E 00 00 */ stw r0, 0(r30) -/* 80028234 00025194 41 82 00 10 */ beq lbl_80028244 -/* 80028238 00025198 38 7E 00 28 */ addi r3, r30, 0x28 -/* 8002823C 0002519C 38 80 00 00 */ li r4, 0 -/* 80028240 000251A0 48 31 8C 01 */ bl __dt__6CTokenFv -lbl_80028244: -/* 80028244 000251A4 7F C3 F3 78 */ mr r3, r30 -/* 80028248 000251A8 38 80 00 00 */ li r4, 0 -/* 8002824C 000251AC 48 02 A9 59 */ bl __dt__6CIOWinFv -/* 80028250 000251B0 7F E0 07 35 */ extsh. r0, r31 -/* 80028254 000251B4 40 81 00 0C */ ble lbl_80028260 -/* 80028258 000251B8 7F C3 F3 78 */ mr r3, r30 -/* 8002825C 000251BC 48 2E D6 D5 */ bl Free__7CMemoryFPCv -lbl_80028260: -/* 80028260 000251C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80028264 000251C4 7F C3 F3 78 */ mr r3, r30 -/* 80028268 000251C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002826C 000251CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80028270 000251D0 7C 08 03 A6 */ mtlr r0 -/* 80028274 000251D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80028278 000251D8 4E 80 00 20 */ blr - -.global Draw__13CSplashScreenCFv -Draw__13CSplashScreenCFv: -/* 8002827C 000251DC 94 21 FA F0 */ stwu r1, -0x510(r1) -/* 80028280 000251E0 7C 08 02 A6 */ mflr r0 -/* 80028284 000251E4 90 01 05 14 */ stw r0, 0x514(r1) -/* 80028288 000251E8 DB E1 05 00 */ stfd f31, 0x500(r1) -/* 8002828C 000251EC F3 E1 05 08 */ psq_st f31, 1288(r1), 0, qr0 -/* 80028290 000251F0 DB C1 04 F0 */ stfd f30, 0x4f0(r1) -/* 80028294 000251F4 F3 C1 04 F8 */ psq_st f30, 1272(r1), 0, qr0 -/* 80028298 000251F8 DB A1 04 E0 */ stfd f29, 0x4e0(r1) -/* 8002829C 000251FC F3 A1 04 E8 */ psq_st f29, 1256(r1), 0, qr0 -/* 800282A0 00025200 BF 61 04 CC */ stmw r27, 0x4cc(r1) -/* 800282A4 00025204 7C 7E 1B 78 */ mr r30, r3 -/* 800282A8 00025208 88 03 00 25 */ lbz r0, 0x25(r3) -/* 800282AC 0002520C 28 00 00 00 */ cmplwi r0, 0 -/* 800282B0 00025210 41 82 06 80 */ beq lbl_80028930 -/* 800282B4 00025214 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 800282B8 00025218 2C 00 00 00 */ cmpwi r0, 0 -/* 800282BC 0002521C 40 82 00 28 */ bne lbl_800282E4 -/* 800282C0 00025220 38 80 00 00 */ li r4, 0 -/* 800282C4 00025224 38 60 00 DC */ li r3, 0xdc -/* 800282C8 00025228 38 00 00 FF */ li r0, 0xff -/* 800282CC 0002522C 98 61 00 14 */ stb r3, 0x14(r1) -/* 800282D0 00025230 38 61 00 14 */ addi r3, r1, 0x14 -/* 800282D4 00025234 98 81 00 15 */ stb r4, 0x15(r1) -/* 800282D8 00025238 98 81 00 16 */ stb r4, 0x16(r1) -/* 800282DC 0002523C 98 01 00 17 */ stb r0, 0x17(r1) -/* 800282E0 00025240 48 00 00 08 */ b lbl_800282E8 -lbl_800282E4: -/* 800282E4 00025244 48 32 1C C9 */ bl White__6CColorFv -lbl_800282E8: -/* 800282E8 00025248 C0 3E 00 18 */ lfs f1, 0x18(r30) -/* 800282EC 0002524C C0 02 83 84 */ lfs f0, lbl_805AA0A4@sda21(r2) -/* 800282F0 00025250 83 63 00 00 */ lwz r27, 0(r3) -/* 800282F4 00025254 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800282F8 00025258 40 81 00 1C */ ble lbl_80028314 -/* 800282FC 0002525C EC 21 00 28 */ fsubs f1, f1, f0 -/* 80028300 00025260 C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) -/* 80028304 00025264 C0 42 83 80 */ lfs f2, lbl_805AA0A0@sda21(r2) -/* 80028308 00025268 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8002830C 0002526C EF E2 00 28 */ fsubs f31, f2, f0 -/* 80028310 00025270 48 00 00 1C */ b lbl_8002832C -lbl_80028314: -/* 80028314 00025274 C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) -/* 80028318 00025278 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8002831C 0002527C 40 81 00 0C */ ble lbl_80028328 -/* 80028320 00025280 C3 E2 83 80 */ lfs f31, lbl_805AA0A0@sda21(r2) -/* 80028324 00025284 48 00 00 08 */ b lbl_8002832C -lbl_80028328: -/* 80028328 00025288 EF E1 00 24 */ fdivs f31, f1, f0 -lbl_8002832C: -/* 8002832C 0002528C 38 60 00 07 */ li r3, 7 -/* 80028330 00025290 38 80 00 00 */ li r4, 0 -/* 80028334 00025294 38 A0 00 00 */ li r5, 0 -/* 80028338 00025298 38 C0 00 07 */ li r6, 7 -/* 8002833C 0002529C 38 E0 00 00 */ li r7, 0 -/* 80028340 000252A0 48 2E 36 E9 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80028344 000252A4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80028348 000252A8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8002834C 000252AC 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80028350 000252B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80028354 000252B4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80028358 000252B8 7D 89 03 A6 */ mtctr r12 -/* 8002835C 000252BC 4E 80 04 21 */ bctrl -/* 80028360 000252C0 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80028364 000252C4 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 80028368 000252C8 48 2E 43 E5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8002836C 000252CC 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 80028370 000252D0 38 60 00 00 */ li r3, 0 -/* 80028374 000252D4 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 80028378 000252D8 48 2E 1F 41 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8002837C 000252DC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80028380 000252E0 38 60 00 01 */ li r3, 1 -/* 80028384 000252E4 48 2E 1F 35 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80028388 000252E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8002838C 000252EC 81 83 00 00 */ lwz r12, 0(r3) -/* 80028390 000252F0 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80028394 000252F4 7D 89 03 A6 */ mtctr r12 -/* 80028398 000252F8 4E 80 04 21 */ bctrl -/* 8002839C 000252FC 3B 81 00 C8 */ addi r28, r1, 0xc8 -/* 800283A0 00025300 38 9E 00 28 */ addi r4, r30, 0x28 -/* 800283A4 00025304 7F 83 E3 78 */ mr r3, r28 -/* 800283A8 00025308 48 31 8B 01 */ bl __ct__6CTokenFRC6CToken -/* 800283AC 0002530C 7F 83 E3 78 */ mr r3, r28 -/* 800283B0 00025310 48 31 8A 5D */ bl GetObj__6CTokenFv -/* 800283B4 00025314 83 A3 00 04 */ lwz r29, 4(r3) -/* 800283B8 00025318 38 80 00 00 */ li r4, 0 -/* 800283BC 0002531C 38 A0 00 00 */ li r5, 0 -/* 800283C0 00025320 93 A1 00 D0 */ stw r29, 0xd0(r1) -/* 800283C4 00025324 7F A3 EB 78 */ mr r3, r29 -/* 800283C8 00025328 AB FD 00 04 */ lha r31, 4(r29) -/* 800283CC 0002532C AB 9D 00 06 */ lha r28, 6(r29) -/* 800283D0 00025330 48 2E 73 6D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 800283D4 00025334 C0 02 83 8C */ lfs f0, lbl_805AA0AC@sda21(r2) -/* 800283D8 00025338 EF A0 07 F2 */ fmuls f29, f0, f31 -/* 800283DC 0002533C FF C0 E8 90 */ fmr f30, f29 -/* 800283E0 00025340 F3 C1 A0 10 */ psq_st f30, 16(r1), 1, qr2 -/* 800283E4 00025344 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 800283E8 00025348 88 01 00 10 */ lbz r0, 0x10(r1) -/* 800283EC 0002534C 53 60 00 2E */ rlwimi r0, r27, 0, 0, 0x17 -/* 800283F0 00025350 2C 03 00 00 */ cmpwi r3, 0 -/* 800283F4 00025354 90 01 00 20 */ stw r0, 0x20(r1) -/* 800283F8 00025358 41 82 00 0C */ beq lbl_80028404 -/* 800283FC 0002535C 2C 03 00 01 */ cmpwi r3, 1 -/* 80028400 00025360 40 82 01 C8 */ bne lbl_800285C8 -lbl_80028404: -/* 80028404 00025364 C0 22 83 90 */ lfs f1, lbl_805AA0B0@sda21(r2) -/* 80028408 00025368 C0 42 83 94 */ lfs f2, lbl_805AA0B4@sda21(r2) -/* 8002840C 0002536C C0 62 83 98 */ lfs f3, lbl_805AA0B8@sda21(r2) -/* 80028410 00025370 C0 82 83 9C */ lfs f4, lbl_805AA0BC@sda21(r2) -/* 80028414 00025374 C0 A2 83 A0 */ lfs f5, lbl_805AA0C0@sda21(r2) -/* 80028418 00025378 C0 C2 83 80 */ lfs f6, lbl_805AA0A0@sda21(r2) -/* 8002841C 0002537C 48 2E 41 39 */ bl SetOrtho__9CGraphicsFffffff -/* 80028420 00025380 38 BF FE 88 */ addi r5, r31, -376 -/* 80028424 00025384 38 9C FF 98 */ addi r4, r28, -104 -/* 80028428 00025388 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 8002842C 0002538C 38 60 00 00 */ li r3, 0 -/* 80028430 00025390 7C A0 2A 14 */ add r5, r0, r5 -/* 80028434 00025394 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80028438 00025398 7C A5 0E 70 */ srawi r5, r5, 1 -/* 8002843C 0002539C 23 65 00 85 */ subfic r27, r5, 0x85 -/* 80028440 000253A0 7C 00 22 14 */ add r0, r0, r4 -/* 80028444 000253A4 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80028448 000253A8 23 A0 00 AA */ subfic r29, r0, 0xaa -/* 8002844C 000253AC 48 2E 36 25 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80028450 000253B0 38 60 00 98 */ li r3, 0x98 -/* 80028454 000253B4 48 2E 32 15 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 80028458 000253B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002845C 000253BC 48 2E 30 ED */ bl StreamColor__9CGraphicsFRC6CColor -/* 80028460 000253C0 C0 22 83 A4 */ lfs f1, lbl_805AA0C4@sda21(r2) -/* 80028464 000253C4 FC 40 08 90 */ fmr f2, f1 -/* 80028468 000253C8 48 2E 2F FD */ bl StreamTexcoord__9CGraphicsFff -/* 8002846C 000253CC 3C 80 43 30 */ lis r4, 0x4330 -/* 80028470 000253D0 6F A3 80 00 */ xoris r3, r29, 0x8000 -/* 80028474 000253D4 6F 80 80 00 */ xoris r0, r28, 0x8000 -/* 80028478 000253D8 90 61 04 8C */ stw r3, 0x48c(r1) -/* 8002847C 000253DC 6F 65 80 00 */ xoris r5, r27, 0x8000 -/* 80028480 000253E0 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) -/* 80028484 000253E4 90 81 04 88 */ stw r4, 0x488(r1) -/* 80028488 000253E8 38 61 00 BC */ addi r3, r1, 0xbc -/* 8002848C 000253EC C8 82 83 B8 */ lfd f4, lbl_805AA0D8@sda21(r2) -/* 80028490 000253F0 C8 01 04 88 */ lfd f0, 0x488(r1) -/* 80028494 000253F4 90 01 04 94 */ stw r0, 0x494(r1) -/* 80028498 000253F8 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8002849C 000253FC 90 81 04 90 */ stw r4, 0x490(r1) -/* 800284A0 00025400 C8 01 04 90 */ lfd f0, 0x490(r1) -/* 800284A4 00025404 90 A1 04 84 */ stw r5, 0x484(r1) -/* 800284A8 00025408 EC 00 20 28 */ fsubs f0, f0, f4 -/* 800284AC 0002540C 90 81 04 80 */ stw r4, 0x480(r1) -/* 800284B0 00025410 C8 61 04 80 */ lfd f3, 0x480(r1) -/* 800284B4 00025414 EF C1 00 2A */ fadds f30, f1, f0 -/* 800284B8 00025418 D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 800284BC 0002541C EC 03 20 28 */ fsubs f0, f3, f4 -/* 800284C0 00025420 D3 C1 00 C4 */ stfs f30, 0xc4(r1) -/* 800284C4 00025424 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 800284C8 00025428 48 2E 30 F9 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800284CC 0002542C C0 22 83 A4 */ lfs f1, lbl_805AA0C4@sda21(r2) -/* 800284D0 00025430 C0 42 83 80 */ lfs f2, lbl_805AA0A0@sda21(r2) -/* 800284D4 00025434 48 2E 2F 91 */ bl StreamTexcoord__9CGraphicsFff -/* 800284D8 00025438 3C 80 43 30 */ lis r4, 0x4330 -/* 800284DC 0002543C 6F 63 80 00 */ xoris r3, r27, 0x8000 -/* 800284E0 00025440 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 800284E4 00025444 90 61 04 9C */ stw r3, 0x49c(r1) -/* 800284E8 00025448 C0 22 83 A4 */ lfs f1, lbl_805AA0C4@sda21(r2) -/* 800284EC 0002544C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800284F0 00025450 90 81 04 98 */ stw r4, 0x498(r1) -/* 800284F4 00025454 C8 62 83 B8 */ lfd f3, lbl_805AA0D8@sda21(r2) -/* 800284F8 00025458 C8 01 04 98 */ lfd f0, 0x498(r1) -/* 800284FC 0002545C 90 01 04 A4 */ stw r0, 0x4a4(r1) -/* 80028500 00025460 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80028504 00025464 90 81 04 A0 */ stw r4, 0x4a0(r1) -/* 80028508 00025468 C8 01 04 A0 */ lfd f0, 0x4a0(r1) -/* 8002850C 0002546C D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 80028510 00025470 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80028514 00025474 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 80028518 00025478 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8002851C 0002547C 48 2E 30 A5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80028520 00025480 C0 22 83 80 */ lfs f1, lbl_805AA0A0@sda21(r2) -/* 80028524 00025484 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) -/* 80028528 00025488 48 2E 2F 3D */ bl StreamTexcoord__9CGraphicsFff -/* 8002852C 0002548C 3C 80 43 30 */ lis r4, 0x4330 -/* 80028530 00025490 6F 63 80 00 */ xoris r3, r27, 0x8000 -/* 80028534 00025494 6F E0 80 00 */ xoris r0, r31, 0x8000 -/* 80028538 00025498 90 61 04 AC */ stw r3, 0x4ac(r1) -/* 8002853C 0002549C C0 02 83 A4 */ lfs f0, lbl_805AA0C4@sda21(r2) -/* 80028540 000254A0 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80028544 000254A4 90 81 04 A8 */ stw r4, 0x4a8(r1) -/* 80028548 000254A8 C8 62 83 B8 */ lfd f3, lbl_805AA0D8@sda21(r2) -/* 8002854C 000254AC C8 21 04 A8 */ lfd f1, 0x4a8(r1) -/* 80028550 000254B0 90 01 04 B4 */ stw r0, 0x4b4(r1) -/* 80028554 000254B4 EC 41 18 28 */ fsubs f2, f1, f3 -/* 80028558 000254B8 90 81 04 B0 */ stw r4, 0x4b0(r1) -/* 8002855C 000254BC C8 21 04 B0 */ lfd f1, 0x4b0(r1) -/* 80028560 000254C0 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 80028564 000254C4 EC 01 18 28 */ fsubs f0, f1, f3 -/* 80028568 000254C8 D3 C1 00 AC */ stfs f30, 0xac(r1) -/* 8002856C 000254CC EF C2 00 2A */ fadds f30, f2, f0 -/* 80028570 000254D0 D3 C1 00 A4 */ stfs f30, 0xa4(r1) -/* 80028574 000254D4 48 2E 30 4D */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80028578 000254D8 C0 22 83 80 */ lfs f1, lbl_805AA0A0@sda21(r2) -/* 8002857C 000254DC FC 40 08 90 */ fmr f2, f1 -/* 80028580 000254E0 48 2E 2E E5 */ bl StreamTexcoord__9CGraphicsFff -/* 80028584 000254E4 6F A3 80 00 */ xoris r3, r29, 0x8000 -/* 80028588 000254E8 3C 00 43 30 */ lis r0, 0x4330 -/* 8002858C 000254EC 90 61 04 BC */ stw r3, 0x4bc(r1) -/* 80028590 000254F0 38 61 00 98 */ addi r3, r1, 0x98 -/* 80028594 000254F4 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) -/* 80028598 000254F8 90 01 04 B8 */ stw r0, 0x4b8(r1) -/* 8002859C 000254FC C8 22 83 B8 */ lfd f1, lbl_805AA0D8@sda21(r2) -/* 800285A0 00025500 C8 01 04 B8 */ lfd f0, 0x4b8(r1) -/* 800285A4 00025504 D3 C1 00 98 */ stfs f30, 0x98(r1) -/* 800285A8 00025508 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800285AC 0002550C D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 800285B0 00025510 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 800285B4 00025514 48 2E 30 0D */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800285B8 00025518 48 2E 2E 59 */ bl StreamEnd__9CGraphicsFv -/* 800285BC 0002551C 38 60 00 01 */ li r3, 1 -/* 800285C0 00025520 48 2E 34 B1 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 800285C4 00025524 48 00 00 28 */ b lbl_800285EC -lbl_800285C8: -/* 800285C8 00025528 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 800285CC 0002552C 7F A3 EB 78 */ mr r3, r29 -/* 800285D0 00025530 38 E4 D9 10 */ addi r7, r4, lbl_803ED910@l -/* 800285D4 00025534 39 01 00 20 */ addi r8, r1, 0x20 -/* 800285D8 00025538 80 87 00 00 */ lwz r4, 0(r7) -/* 800285DC 0002553C 80 A7 00 04 */ lwz r5, 4(r7) -/* 800285E0 00025540 80 C7 00 08 */ lwz r6, 8(r7) -/* 800285E4 00025544 80 E7 00 0C */ lwz r7, 0xc(r7) -/* 800285E8 00025548 48 2E 31 75 */ bl Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor -lbl_800285EC: -/* 800285EC 0002554C 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 800285F0 00025550 38 61 01 4C */ addi r3, r1, 0x14c -/* 800285F4 00025554 39 24 D9 10 */ addi r9, r4, lbl_803ED910@l -/* 800285F8 00025558 81 09 00 00 */ lwz r8, 0(r9) -/* 800285FC 0002555C 80 E9 00 04 */ lwz r7, 4(r9) -/* 80028600 00025560 80 C9 00 08 */ lwz r6, 8(r9) -/* 80028604 00025564 80 A9 00 0C */ lwz r5, 0xc(r9) -/* 80028608 00025568 80 89 00 10 */ lwz r4, 0x10(r9) -/* 8002860C 0002556C 80 09 00 14 */ lwz r0, 0x14(r9) -/* 80028610 00025570 91 01 00 D4 */ stw r8, 0xd4(r1) -/* 80028614 00025574 90 E1 00 D8 */ stw r7, 0xd8(r1) -/* 80028618 00025578 90 C1 00 DC */ stw r6, 0xdc(r1) -/* 8002861C 0002557C 90 A1 00 E0 */ stw r5, 0xe0(r1) -/* 80028620 00025580 90 81 00 E4 */ stw r4, 0xe4(r1) -/* 80028624 00025584 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 80028628 00025588 48 2D B7 51 */ bl __ct__18CTextExecuteBufferFv -/* 8002862C 0002558C 38 00 00 01 */ li r0, 1 -/* 80028630 00025590 83 E1 00 E0 */ lwz r31, 0xe0(r1) -/* 80028634 00025594 98 01 01 E0 */ stb r0, 0x1e0(r1) -/* 80028638 00025598 38 00 00 02 */ li r0, 2 -/* 8002863C 0002559C 80 C1 00 DC */ lwz r6, 0xdc(r1) -/* 80028640 000255A0 38 61 01 4C */ addi r3, r1, 0x14c -/* 80028644 000255A4 90 01 00 08 */ stw r0, 8(r1) -/* 80028648 000255A8 38 FF FF 80 */ addi r7, r31, -128 -/* 8002864C 000255AC 38 80 00 00 */ li r4, 0 -/* 80028650 000255B0 38 A0 00 00 */ li r5, 0 -/* 80028654 000255B4 39 00 00 00 */ li r8, 0 -/* 80028658 000255B8 39 20 00 00 */ li r9, 0 -/* 8002865C 000255BC 39 40 00 01 */ li r10, 1 -/* 80028660 000255C0 48 2D B5 0D */ bl BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification -/* 80028664 000255C4 80 8D A0 8C */ lwz r4, gpDefaultFont@sda21(r13) -/* 80028668 000255C8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8002866C 000255CC 48 31 88 3D */ bl __ct__6CTokenFRC6CToken -/* 80028670 000255D0 38 61 01 4C */ addi r3, r1, 0x14c -/* 80028674 000255D4 38 81 00 24 */ addi r4, r1, 0x24 -/* 80028678 000255D8 48 2D B2 DD */ bl "AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>" -/* 8002867C 000255DC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80028680 000255E0 38 80 00 00 */ li r4, 0 -/* 80028684 000255E4 48 31 87 BD */ bl __dt__6CTokenFv -/* 80028688 000255E8 C0 02 83 A8 */ lfs f0, lbl_805AA0C8@sda21(r2) -/* 8002868C 000255EC 38 00 00 FF */ li r0, 0xff -/* 80028690 000255F0 FC 20 E8 1E */ fctiwz f1, f29 -/* 80028694 000255F4 98 01 00 1F */ stb r0, 0x1f(r1) -/* 80028698 000255F8 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8002869C 000255FC 38 61 01 4C */ addi r3, r1, 0x14c -/* 800286A0 00025600 98 01 00 1B */ stb r0, 0x1b(r1) -/* 800286A4 00025604 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800286A8 00025608 FC 00 00 1E */ fctiwz f0, f0 -/* 800286AC 0002560C D8 21 04 B8 */ stfd f1, 0x4b8(r1) -/* 800286B0 00025610 38 80 00 03 */ li r4, 3 -/* 800286B4 00025614 80 01 04 BC */ lwz r0, 0x4bc(r1) -/* 800286B8 00025618 D8 01 04 B0 */ stfd f0, 0x4b0(r1) -/* 800286BC 0002561C 80 C1 04 B4 */ lwz r6, 0x4b4(r1) -/* 800286C0 00025620 98 01 00 1C */ stb r0, 0x1c(r1) -/* 800286C4 00025624 98 01 00 1D */ stb r0, 0x1d(r1) -/* 800286C8 00025628 98 01 00 1E */ stb r0, 0x1e(r1) -/* 800286CC 0002562C 98 C1 00 18 */ stb r6, 0x18(r1) -/* 800286D0 00025630 98 C1 00 19 */ stb r6, 0x19(r1) -/* 800286D4 00025634 98 C1 00 1A */ stb r6, 0x1a(r1) -/* 800286D8 00025638 48 2D AD ED */ bl __ct__17CColorInstructionFiRC6CColor -/* 800286DC 0002563C 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 800286E0 00025640 2C 00 00 01 */ cmpwi r0, 1 -/* 800286E4 00025644 40 82 00 DC */ bne lbl_800287C0 -/* 800286E8 00025648 C0 3E 00 18 */ lfs f1, 0x18(r30) -/* 800286EC 0002564C C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) -/* 800286F0 00025650 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800286F4 00025654 4C 40 13 82 */ cror 2, 0, 2 -/* 800286F8 00025658 40 82 00 C8 */ bne lbl_800287C0 -/* 800286FC 0002565C 3C 80 80 3E */ lis r4, lbl_803D9A88@ha -/* 80028700 00025660 38 61 00 88 */ addi r3, r1, 0x88 -/* 80028704 00025664 38 84 9A 88 */ addi r4, r4, lbl_803D9A88@l -/* 80028708 00025668 4B FE D2 E9 */ bl wstring_l__4rstlFPCw -/* 8002870C 0002566C 80 81 00 88 */ lwz r4, 0x88(r1) -/* 80028710 00025670 38 61 01 4C */ addi r3, r1, 0x14c -/* 80028714 00025674 80 A1 00 90 */ lwz r5, 0x90(r1) -/* 80028718 00025678 48 2D 9D 59 */ bl AddString__18CTextExecuteBufferFPCwi -/* 8002871C 0002567C 38 61 00 88 */ addi r3, r1, 0x88 -/* 80028720 00025680 48 31 4A 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80028724 00025684 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 80028728 00025688 38 61 01 4C */ addi r3, r1, 0x14c -/* 8002872C 0002568C 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80028730 00025690 38 80 00 03 */ li r4, 3 -/* 80028734 00025694 28 00 00 00 */ cmplwi r0, 0 -/* 80028738 00025698 41 82 00 08 */ beq lbl_80028740 -/* 8002873C 0002569C 38 A1 00 1C */ addi r5, r1, 0x1c -lbl_80028740: -/* 80028740 000256A0 48 2D AD 85 */ bl __ct__17CColorInstructionFiRC6CColor -/* 80028744 000256A4 3C 80 80 3E */ lis r4, lbl_803D9A88@ha -/* 80028748 000256A8 38 61 00 78 */ addi r3, r1, 0x78 -/* 8002874C 000256AC 38 84 9A 88 */ addi r4, r4, lbl_803D9A88@l -/* 80028750 000256B0 38 84 00 46 */ addi r4, r4, 0x46 -/* 80028754 000256B4 4B FE D2 9D */ bl wstring_l__4rstlFPCw -/* 80028758 000256B8 80 81 00 78 */ lwz r4, 0x78(r1) -/* 8002875C 000256BC 38 61 01 4C */ addi r3, r1, 0x14c -/* 80028760 000256C0 80 A1 00 80 */ lwz r5, 0x80(r1) -/* 80028764 000256C4 48 2D 9D 0D */ bl AddString__18CTextExecuteBufferFPCwi -/* 80028768 000256C8 38 61 00 78 */ addi r3, r1, 0x78 -/* 8002876C 000256CC 48 31 49 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80028770 000256D0 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 80028774 000256D4 38 61 01 4C */ addi r3, r1, 0x14c -/* 80028778 000256D8 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8002877C 000256DC 38 80 00 03 */ li r4, 3 -/* 80028780 000256E0 28 00 00 00 */ cmplwi r0, 0 -/* 80028784 000256E4 41 82 00 08 */ beq lbl_8002878C -/* 80028788 000256E8 38 A1 00 18 */ addi r5, r1, 0x18 -lbl_8002878C: -/* 8002878C 000256EC 48 2D AD 39 */ bl __ct__17CColorInstructionFiRC6CColor -/* 80028790 000256F0 3C 80 80 3E */ lis r4, lbl_803D9A88@ha -/* 80028794 000256F4 38 61 00 68 */ addi r3, r1, 0x68 -/* 80028798 000256F8 38 84 9A 88 */ addi r4, r4, lbl_803D9A88@l -/* 8002879C 000256FC 38 84 00 58 */ addi r4, r4, 0x58 -/* 800287A0 00025700 4B FE D2 51 */ bl wstring_l__4rstlFPCw -/* 800287A4 00025704 80 81 00 68 */ lwz r4, 0x68(r1) -/* 800287A8 00025708 38 61 01 4C */ addi r3, r1, 0x14c -/* 800287AC 0002570C 80 A1 00 70 */ lwz r5, 0x70(r1) -/* 800287B0 00025710 48 2D 9C C1 */ bl AddString__18CTextExecuteBufferFPCwi -/* 800287B4 00025714 38 61 00 68 */ addi r3, r1, 0x68 -/* 800287B8 00025718 48 31 49 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800287BC 0002571C 48 00 00 7C */ b lbl_80028838 -lbl_800287C0: -/* 800287C0 00025720 2C 00 00 02 */ cmpwi r0, 2 -/* 800287C4 00025724 40 82 00 74 */ bne lbl_80028838 -/* 800287C8 00025728 38 00 00 00 */ li r0, 0 -/* 800287CC 0002572C 3C 60 80 3E */ lis r3, lbl_803D9A88@ha -/* 800287D0 00025730 38 83 9A 88 */ addi r4, r3, lbl_803D9A88@l -/* 800287D4 00025734 98 0D 80 00 */ stb r0, lbl_805A6BC0@sda21(r13) -/* 800287D8 00025738 38 61 00 58 */ addi r3, r1, 0x58 -/* 800287DC 0002573C 38 84 00 5E */ addi r4, r4, 0x5e -/* 800287E0 00025740 4B FE D2 11 */ bl wstring_l__4rstlFPCw -/* 800287E4 00025744 80 81 00 58 */ lwz r4, 0x58(r1) -/* 800287E8 00025748 38 61 01 4C */ addi r3, r1, 0x14c -/* 800287EC 0002574C 80 A1 00 60 */ lwz r5, 0x60(r1) -/* 800287F0 00025750 48 2D 9C 81 */ bl AddString__18CTextExecuteBufferFPCwi -/* 800287F4 00025754 38 61 00 58 */ addi r3, r1, 0x58 -/* 800287F8 00025758 48 31 49 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800287FC 0002575C 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 80028800 00025760 3C 60 80 3E */ lis r3, lbl_803D9A88@ha -/* 80028804 00025764 38 A3 9A 88 */ addi r5, r3, lbl_803D9A88@l -/* 80028808 00025768 38 61 00 48 */ addi r3, r1, 0x48 -/* 8002880C 0002576C 28 00 00 00 */ cmplwi r0, 0 -/* 80028810 00025770 38 85 00 BE */ addi r4, r5, 0xbe -/* 80028814 00025774 41 82 00 08 */ beq lbl_8002881C -/* 80028818 00025778 38 85 00 90 */ addi r4, r5, 0x90 -lbl_8002881C: -/* 8002881C 0002577C 4B FE D1 D5 */ bl wstring_l__4rstlFPCw -/* 80028820 00025780 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80028824 00025784 38 61 01 4C */ addi r3, r1, 0x14c -/* 80028828 00025788 80 A1 00 50 */ lwz r5, 0x50(r1) -/* 8002882C 0002578C 48 2D 9C 45 */ bl AddString__18CTextExecuteBufferFPCwi -/* 80028830 00025790 38 61 00 48 */ addi r3, r1, 0x48 -/* 80028834 00025794 48 31 49 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80028838: -/* 80028838 00025798 38 61 01 4C */ addi r3, r1, 0x14c -/* 8002883C 0002579C 48 2D B2 ED */ bl EndBlock__18CTextExecuteBufferFv -/* 80028840 000257A0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 80028844 000257A4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80028848 000257A8 C0 22 83 AC */ lfs f1, lbl_805AA0CC@sda21(r2) -/* 8002884C 000257AC 38 A0 00 00 */ li r5, 0 -/* 80028850 000257B0 81 84 00 00 */ lwz r12, 0(r4) -/* 80028854 000257B4 C0 42 83 B0 */ lfs f2, lbl_805AA0D0@sda21(r2) -/* 80028858 000257B8 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 8002885C 000257BC 7D 89 03 A6 */ mtctr r12 -/* 80028860 000257C0 4E 80 04 21 */ bctrl -/* 80028864 000257C4 38 60 00 01 */ li r3, 1 -/* 80028868 000257C8 38 80 00 04 */ li r4, 4 -/* 8002886C 000257CC 38 A0 00 05 */ li r5, 5 -/* 80028870 000257D0 38 C0 00 00 */ li r6, 0 -/* 80028874 000257D4 48 2E 31 DD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 80028878 000257D8 38 60 00 00 */ li r3, 0 -/* 8002887C 000257DC 48 2E 31 F5 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80028880 000257E0 6F E3 80 00 */ xoris r3, r31, 0x8000 -/* 80028884 000257E4 3C 00 43 30 */ lis r0, 0x4330 -/* 80028888 000257E8 90 61 04 BC */ stw r3, 0x4bc(r1) -/* 8002888C 000257EC 3C 80 80 5A */ lis r4, lbl_805A6718@ha -/* 80028890 000257F0 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) -/* 80028894 000257F4 3C A0 80 5A */ lis r5, lbl_805A6724@ha -/* 80028898 000257F8 90 01 04 B8 */ stw r0, 0x4b8(r1) -/* 8002889C 000257FC 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 800288A0 00025800 C8 22 83 B8 */ lfd f1, lbl_805AA0D8@sda21(r2) -/* 800288A4 00025804 38 C3 67 00 */ addi r6, r3, lbl_805A6700@l -/* 800288A8 00025808 C8 01 04 B8 */ lfd f0, 0x4b8(r1) -/* 800288AC 0002580C 38 84 67 18 */ addi r4, r4, lbl_805A6718@l -/* 800288B0 00025810 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 800288B4 00025814 38 A5 67 24 */ addi r5, r5, lbl_805A6724@l -/* 800288B8 00025818 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800288BC 0002581C 38 61 00 EC */ addi r3, r1, 0xec -/* 800288C0 00025820 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 800288C4 00025824 38 E1 00 2C */ addi r7, r1, 0x2c -/* 800288C8 00025828 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800288CC 0002582C 48 2E A5 91 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 800288D0 00025830 38 61 01 1C */ addi r3, r1, 0x11c -/* 800288D4 00025834 38 81 00 EC */ addi r4, r1, 0xec -/* 800288D8 00025838 48 2E A2 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800288DC 0002583C 38 61 01 1C */ addi r3, r1, 0x11c -/* 800288E0 00025840 48 2E 3D 01 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 800288E4 00025844 38 61 02 28 */ addi r3, r1, 0x228 -/* 800288E8 00025848 38 81 01 4C */ addi r4, r1, 0x14c -/* 800288EC 0002584C 48 2D 98 C5 */ bl BuildRenderBuffer__18CTextExecuteBufferFv -/* 800288F0 00025850 48 32 16 BD */ bl White__6CColorFv -/* 800288F4 00025854 C0 22 83 A4 */ lfs f1, lbl_805AA0C4@sda21(r2) -/* 800288F8 00025858 7C 64 1B 78 */ mr r4, r3 -/* 800288FC 0002585C 38 61 02 28 */ addi r3, r1, 0x228 -/* 80028900 00025860 48 33 1B BD */ bl Render__17CTextRenderBufferCFRC6CColorf -/* 80028904 00025864 38 61 02 28 */ addi r3, r1, 0x228 -/* 80028908 00025868 38 80 FF FF */ li r4, -1 -/* 8002890C 0002586C 48 00 00 51 */ bl __dt__17CTextRenderBufferFv -/* 80028910 00025870 38 60 00 01 */ li r3, 1 -/* 80028914 00025874 48 2E 31 5D */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80028918 00025878 38 61 01 4C */ addi r3, r1, 0x14c -/* 8002891C 0002587C 38 80 FF FF */ li r4, -1 -/* 80028920 00025880 48 00 03 95 */ bl __dt__18CTextExecuteBufferFv -/* 80028924 00025884 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80028928 00025888 38 80 00 00 */ li r4, 0 -/* 8002892C 0002588C 48 31 85 15 */ bl __dt__6CTokenFv -lbl_80028930: -/* 80028930 00025890 E3 E1 05 08 */ psq_l f31, 1288(r1), 0, qr0 -/* 80028934 00025894 CB E1 05 00 */ lfd f31, 0x500(r1) -/* 80028938 00025898 E3 C1 04 F8 */ psq_l f30, 1272(r1), 0, qr0 -/* 8002893C 0002589C CB C1 04 F0 */ lfd f30, 0x4f0(r1) -/* 80028940 000258A0 E3 A1 04 E8 */ psq_l f29, 1256(r1), 0, qr0 -/* 80028944 000258A4 CB A1 04 E0 */ lfd f29, 0x4e0(r1) -/* 80028948 000258A8 BB 61 04 CC */ lmw r27, 0x4cc(r1) -/* 8002894C 000258AC 80 01 05 14 */ lwz r0, 0x514(r1) -/* 80028950 000258B0 7C 08 03 A6 */ mtlr r0 -/* 80028954 000258B4 38 21 05 10 */ addi r1, r1, 0x510 -/* 80028958 000258B8 4E 80 00 20 */ blr - -.global __dt__17CTextRenderBufferFv -__dt__17CTextRenderBufferFv: -/* 8002895C 000258BC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80028960 000258C0 7C 08 02 A6 */ mflr r0 -/* 80028964 000258C4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80028968 000258C8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8002896C 000258CC 7C 9F 23 78 */ mr r31, r4 -/* 80028970 000258D0 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80028974 000258D4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80028978 000258D8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8002897C 000258DC 93 81 00 40 */ stw r28, 0x40(r1) -/* 80028980 000258E0 41 82 01 58 */ beq lbl_80028AD8 -/* 80028984 000258E4 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 80028988 000258E8 41 82 00 4C */ beq lbl_800289D4 -/* 8002898C 000258EC 3B 9E 00 54 */ addi r28, r30, 0x54 -/* 80028990 000258F0 3B A0 00 00 */ li r29, 0 -/* 80028994 000258F4 48 00 00 2C */ b lbl_800289C0 -lbl_80028998: -/* 80028998 000258F8 28 1C 00 00 */ cmplwi r28, 0 -/* 8002899C 000258FC 41 82 00 1C */ beq lbl_800289B8 -/* 800289A0 00025900 88 1C 00 00 */ lbz r0, 0(r28) -/* 800289A4 00025904 28 00 00 00 */ cmplwi r0, 0 -/* 800289A8 00025908 41 82 00 10 */ beq lbl_800289B8 -/* 800289AC 0002590C 80 7C 00 04 */ lwz r3, 4(r28) -/* 800289B0 00025910 38 80 00 01 */ li r4, 1 -/* 800289B4 00025914 48 2E 55 4D */ bl __dt__16CGraphicsPaletteFv -lbl_800289B8: -/* 800289B8 00025918 3B 9C 00 08 */ addi r28, r28, 8 -/* 800289BC 0002591C 3B BD 00 01 */ addi r29, r29, 1 -lbl_800289C0: -/* 800289C0 00025920 80 1E 00 50 */ lwz r0, 0x50(r30) -/* 800289C4 00025924 7C 1D 00 00 */ cmpw r29, r0 -/* 800289C8 00025928 41 80 FF D0 */ blt lbl_80028998 -/* 800289CC 0002592C 38 00 00 00 */ li r0, 0 -/* 800289D0 00025930 90 1E 00 50 */ stw r0, 0x50(r30) -lbl_800289D4: -/* 800289D4 00025934 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 800289D8 00025938 41 82 00 40 */ beq lbl_80028A18 -/* 800289DC 0002593C 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 800289E0 00025940 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 800289E4 00025944 90 61 00 2C */ stw r3, 0x2c(r1) -/* 800289E8 00025948 7C 83 02 14 */ add r4, r3, r0 -/* 800289EC 0002594C 7C 03 20 50 */ subf r0, r3, r4 -/* 800289F0 00025950 90 81 00 34 */ stw r4, 0x34(r1) -/* 800289F4 00025954 90 81 00 30 */ stw r4, 0x30(r1) -/* 800289F8 00025958 90 61 00 28 */ stw r3, 0x28(r1) -/* 800289FC 0002595C 7C 09 03 A6 */ mtctr r0 -/* 80028A00 00025960 7C 03 20 40 */ cmplw r3, r4 -/* 80028A04 00025964 41 82 00 08 */ beq lbl_80028A0C -lbl_80028A08: -/* 80028A08 00025968 42 00 00 00 */ bdnz lbl_80028A08 -lbl_80028A0C: -/* 80028A0C 0002596C 28 03 00 00 */ cmplwi r3, 0 -/* 80028A10 00025970 41 82 00 08 */ beq lbl_80028A18 -/* 80028A14 00025974 48 2E CF 1D */ bl Free__7CMemoryFPCv -lbl_80028A18: -/* 80028A18 00025978 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 80028A1C 0002597C 41 82 00 44 */ beq lbl_80028A60 -/* 80028A20 00025980 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 80028A24 00025984 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 80028A28 00025988 54 00 10 3A */ slwi r0, r0, 2 -/* 80028A2C 0002598C 7C 03 02 14 */ add r0, r3, r0 -/* 80028A30 00025990 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80028A34 00025994 7C 64 1B 78 */ mr r4, r3 -/* 80028A38 00025998 90 01 00 24 */ stw r0, 0x24(r1) -/* 80028A3C 0002599C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80028A40 000259A0 90 61 00 18 */ stw r3, 0x18(r1) -/* 80028A44 000259A4 48 00 00 08 */ b lbl_80028A4C -lbl_80028A48: -/* 80028A48 000259A8 38 84 00 04 */ addi r4, r4, 4 -lbl_80028A4C: -/* 80028A4C 000259AC 7C 04 00 40 */ cmplw r4, r0 -/* 80028A50 000259B0 40 82 FF F8 */ bne lbl_80028A48 -/* 80028A54 000259B4 28 03 00 00 */ cmplwi r3, 0 -/* 80028A58 000259B8 41 82 00 08 */ beq lbl_80028A60 -/* 80028A5C 000259BC 48 2E CE D5 */ bl Free__7CMemoryFPCv -lbl_80028A60: -/* 80028A60 000259C0 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80028A64 000259C4 38 80 FF FF */ li r4, -1 -/* 80028A68 000259C8 48 00 00 95 */ bl sub_80028afc -/* 80028A6C 000259CC 34 1E 00 04 */ addic. r0, r30, 4 -/* 80028A70 000259D0 41 82 00 58 */ beq lbl_80028AC8 -/* 80028A74 000259D4 80 1E 00 08 */ lwz r0, 8(r30) -/* 80028A78 000259D8 83 9E 00 10 */ lwz r28, 0x10(r30) -/* 80028A7C 000259DC 54 00 18 38 */ slwi r0, r0, 3 -/* 80028A80 000259E0 7F BC 02 14 */ add r29, r28, r0 -/* 80028A84 000259E4 93 81 00 0C */ stw r28, 0xc(r1) -/* 80028A88 000259E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80028A8C 000259EC 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80028A90 000259F0 93 81 00 08 */ stw r28, 8(r1) -/* 80028A94 000259F4 48 00 00 1C */ b lbl_80028AB0 -lbl_80028A98: -/* 80028A98 000259F8 28 1C 00 00 */ cmplwi r28, 0 -/* 80028A9C 000259FC 41 82 00 10 */ beq lbl_80028AAC -/* 80028AA0 00025A00 7F 83 E3 78 */ mr r3, r28 -/* 80028AA4 00025A04 38 80 00 00 */ li r4, 0 -/* 80028AA8 00025A08 48 31 83 99 */ bl __dt__6CTokenFv -lbl_80028AAC: -/* 80028AAC 00025A0C 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80028AB0: -/* 80028AB0 00025A10 7C 1C E8 40 */ cmplw r28, r29 -/* 80028AB4 00025A14 40 82 FF E4 */ bne lbl_80028A98 -/* 80028AB8 00025A18 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80028ABC 00025A1C 28 03 00 00 */ cmplwi r3, 0 -/* 80028AC0 00025A20 41 82 00 08 */ beq lbl_80028AC8 -/* 80028AC4 00025A24 48 2E CE 6D */ bl Free__7CMemoryFPCv -lbl_80028AC8: -/* 80028AC8 00025A28 7F E0 07 35 */ extsh. r0, r31 -/* 80028ACC 00025A2C 40 81 00 0C */ ble lbl_80028AD8 -/* 80028AD0 00025A30 7F C3 F3 78 */ mr r3, r30 -/* 80028AD4 00025A34 48 2E CE 5D */ bl Free__7CMemoryFPCv -lbl_80028AD8: -/* 80028AD8 00025A38 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80028ADC 00025A3C 7F C3 F3 78 */ mr r3, r30 -/* 80028AE0 00025A40 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80028AE4 00025A44 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80028AE8 00025A48 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80028AEC 00025A4C 83 81 00 40 */ lwz r28, 0x40(r1) -/* 80028AF0 00025A50 7C 08 03 A6 */ mtlr r0 -/* 80028AF4 00025A54 38 21 00 50 */ addi r1, r1, 0x50 -/* 80028AF8 00025A58 4E 80 00 20 */ blr - -.global sub_80028afc -sub_80028afc: -/* 80028AFC 00025A5C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80028B00 00025A60 7C 08 02 A6 */ mflr r0 -/* 80028B04 00025A64 90 01 00 24 */ stw r0, 0x24(r1) -/* 80028B08 00025A68 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80028B0C 00025A6C 7C 9F 23 78 */ mr r31, r4 -/* 80028B10 00025A70 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80028B14 00025A74 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80028B18 00025A78 41 82 00 54 */ beq lbl_80028B6C -/* 80028B1C 00025A7C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80028B20 00025A80 38 61 00 14 */ addi r3, r1, 0x14 -/* 80028B24 00025A84 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80028B28 00025A88 38 81 00 0C */ addi r4, r1, 0xc -/* 80028B2C 00025A8C 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 80028B30 00025A90 7C A5 02 14 */ add r5, r5, r0 -/* 80028B34 00025A94 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80028B38 00025A98 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80028B3C 00025A9C 90 A1 00 08 */ stw r5, 8(r1) -/* 80028B40 00025AA0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80028B44 00025AA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80028B48 00025AA8 48 00 00 41 */ bl sub_80028b88 -/* 80028B4C 00025AAC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80028B50 00025AB0 28 03 00 00 */ cmplwi r3, 0 -/* 80028B54 00025AB4 41 82 00 08 */ beq lbl_80028B5C -/* 80028B58 00025AB8 48 2E CD D9 */ bl Free__7CMemoryFPCv -lbl_80028B5C: -/* 80028B5C 00025ABC 7F E0 07 35 */ extsh. r0, r31 -/* 80028B60 00025AC0 40 81 00 0C */ ble lbl_80028B6C -/* 80028B64 00025AC4 7F C3 F3 78 */ mr r3, r30 -/* 80028B68 00025AC8 48 2E CD C9 */ bl Free__7CMemoryFPCv -lbl_80028B6C: -/* 80028B6C 00025ACC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80028B70 00025AD0 7F C3 F3 78 */ mr r3, r30 -/* 80028B74 00025AD4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80028B78 00025AD8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80028B7C 00025ADC 7C 08 03 A6 */ mtlr r0 -/* 80028B80 00025AE0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80028B84 00025AE4 4E 80 00 20 */ blr - -.global sub_80028b88 -sub_80028b88: -/* 80028B88 00025AE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80028B8C 00025AEC 7C 08 02 A6 */ mflr r0 -/* 80028B90 00025AF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80028B94 00025AF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80028B98 00025AF8 93 C1 00 08 */ stw r30, 8(r1) -/* 80028B9C 00025AFC 7C 9E 23 78 */ mr r30, r4 -/* 80028BA0 00025B00 83 E3 00 00 */ lwz r31, 0(r3) -/* 80028BA4 00025B04 48 00 00 10 */ b lbl_80028BB4 -lbl_80028BA8: -/* 80028BA8 00025B08 7F E3 FB 78 */ mr r3, r31 -/* 80028BAC 00025B0C 48 00 00 2D */ bl sub_80028bd8 -/* 80028BB0 00025B10 3B FF 00 1C */ addi r31, r31, 0x1c -lbl_80028BB4: -/* 80028BB4 00025B14 80 1E 00 00 */ lwz r0, 0(r30) -/* 80028BB8 00025B18 7C 1F 00 40 */ cmplw r31, r0 -/* 80028BBC 00025B1C 40 82 FF EC */ bne lbl_80028BA8 -/* 80028BC0 00025B20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80028BC4 00025B24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80028BC8 00025B28 83 C1 00 08 */ lwz r30, 8(r1) -/* 80028BCC 00025B2C 7C 08 03 A6 */ mtlr r0 -/* 80028BD0 00025B30 38 21 00 10 */ addi r1, r1, 0x10 -/* 80028BD4 00025B34 4E 80 00 20 */ blr - -.global sub_80028bd8 -sub_80028bd8: -/* 80028BD8 00025B38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80028BDC 00025B3C 7C 08 02 A6 */ mflr r0 -/* 80028BE0 00025B40 38 80 FF FF */ li r4, -1 -/* 80028BE4 00025B44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80028BE8 00025B48 48 00 00 15 */ bl sub_80028bfc -/* 80028BEC 00025B4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80028BF0 00025B50 7C 08 03 A6 */ mtlr r0 -/* 80028BF4 00025B54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80028BF8 00025B58 4E 80 00 20 */ blr - -.global sub_80028bfc -sub_80028bfc: -/* 80028BFC 00025B5C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80028C00 00025B60 7C 08 02 A6 */ mflr r0 -/* 80028C04 00025B64 90 01 00 34 */ stw r0, 0x34(r1) -/* 80028C08 00025B68 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80028C0C 00025B6C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80028C10 00025B70 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80028C14 00025B74 7C 9D 23 78 */ mr r29, r4 -/* 80028C18 00025B78 93 81 00 20 */ stw r28, 0x20(r1) -/* 80028C1C 00025B7C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80028C20 00025B80 41 82 00 70 */ beq lbl_80028C90 -/* 80028C24 00025B84 34 1C 00 04 */ addic. r0, r28, 4 -/* 80028C28 00025B88 41 82 00 58 */ beq lbl_80028C80 -/* 80028C2C 00025B8C 80 1C 00 08 */ lwz r0, 8(r28) -/* 80028C30 00025B90 83 DC 00 10 */ lwz r30, 0x10(r28) -/* 80028C34 00025B94 54 00 18 38 */ slwi r0, r0, 3 -/* 80028C38 00025B98 7F FE 02 14 */ add r31, r30, r0 -/* 80028C3C 00025B9C 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80028C40 00025BA0 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80028C44 00025BA4 93 E1 00 10 */ stw r31, 0x10(r1) -/* 80028C48 00025BA8 93 C1 00 08 */ stw r30, 8(r1) -/* 80028C4C 00025BAC 48 00 00 1C */ b lbl_80028C68 -lbl_80028C50: -/* 80028C50 00025BB0 28 1E 00 00 */ cmplwi r30, 0 -/* 80028C54 00025BB4 41 82 00 10 */ beq lbl_80028C64 -/* 80028C58 00025BB8 7F C3 F3 78 */ mr r3, r30 -/* 80028C5C 00025BBC 38 80 00 00 */ li r4, 0 -/* 80028C60 00025BC0 48 31 81 E1 */ bl __dt__6CTokenFv -lbl_80028C64: -/* 80028C64 00025BC4 3B DE 00 08 */ addi r30, r30, 8 -lbl_80028C68: -/* 80028C68 00025BC8 7C 1E F8 40 */ cmplw r30, r31 -/* 80028C6C 00025BCC 40 82 FF E4 */ bne lbl_80028C50 -/* 80028C70 00025BD0 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 80028C74 00025BD4 28 03 00 00 */ cmplwi r3, 0 -/* 80028C78 00025BD8 41 82 00 08 */ beq lbl_80028C80 -/* 80028C7C 00025BDC 48 2E CC B5 */ bl Free__7CMemoryFPCv -lbl_80028C80: -/* 80028C80 00025BE0 7F A0 07 35 */ extsh. r0, r29 -/* 80028C84 00025BE4 40 81 00 0C */ ble lbl_80028C90 -/* 80028C88 00025BE8 7F 83 E3 78 */ mr r3, r28 -/* 80028C8C 00025BEC 48 2E CC A5 */ bl Free__7CMemoryFPCv -lbl_80028C90: -/* 80028C90 00025BF0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80028C94 00025BF4 7F 83 E3 78 */ mr r3, r28 -/* 80028C98 00025BF8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80028C9C 00025BFC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80028CA0 00025C00 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80028CA4 00025C04 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80028CA8 00025C08 7C 08 03 A6 */ mtlr r0 -/* 80028CAC 00025C0C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80028CB0 00025C10 4E 80 00 20 */ blr - -.global __dt__18CTextExecuteBufferFv -__dt__18CTextExecuteBufferFv: -/* 80028CB4 00025C14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80028CB8 00025C18 7C 08 02 A6 */ mflr r0 -/* 80028CBC 00025C1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80028CC0 00025C20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80028CC4 00025C24 7C 9F 23 78 */ mr r31, r4 -/* 80028CC8 00025C28 93 C1 00 08 */ stw r30, 8(r1) -/* 80028CCC 00025C2C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80028CD0 00025C30 41 82 00 38 */ beq lbl_80028D08 -/* 80028CD4 00025C34 38 7E 00 C4 */ addi r3, r30, 0xc4 -/* 80028CD8 00025C38 38 80 FF FF */ li r4, -1 -/* 80028CDC 00025C3C 48 00 06 9D */ bl sub_80029378 -/* 80028CE0 00025C40 38 7E 00 18 */ addi r3, r30, 0x18 -/* 80028CE4 00025C44 38 80 FF FF */ li r4, -1 -/* 80028CE8 00025C48 48 00 00 3D */ bl __dt__14CSaveableStateFv -/* 80028CEC 00025C4C 7F C3 F3 78 */ mr r3, r30 -/* 80028CF0 00025C50 38 80 FF FF */ li r4, -1 -/* 80028CF4 00025C54 48 00 05 E9 */ bl sub_800292dc -/* 80028CF8 00025C58 7F E0 07 35 */ extsh. r0, r31 -/* 80028CFC 00025C5C 40 81 00 0C */ ble lbl_80028D08 -/* 80028D00 00025C60 7F C3 F3 78 */ mr r3, r30 -/* 80028D04 00025C64 48 2E CC 2D */ bl Free__7CMemoryFPCv -lbl_80028D08: -/* 80028D08 00025C68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80028D0C 00025C6C 7F C3 F3 78 */ mr r3, r30 -/* 80028D10 00025C70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80028D14 00025C74 83 C1 00 08 */ lwz r30, 8(r1) -/* 80028D18 00025C78 7C 08 03 A6 */ mtlr r0 -/* 80028D1C 00025C7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80028D20 00025C80 4E 80 00 20 */ blr - -.global __dt__14CSaveableStateFv -__dt__14CSaveableStateFv: -/* 80028D24 00025C84 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80028D28 00025C88 7C 08 02 A6 */ mflr r0 -/* 80028D2C 00025C8C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80028D30 00025C90 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80028D34 00025C94 7C 9F 23 78 */ mr r31, r4 -/* 80028D38 00025C98 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80028D3C 00025C9C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80028D40 00025CA0 41 82 01 30 */ beq lbl_80028E70 -/* 80028D44 00025CA4 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 80028D48 00025CA8 41 82 00 40 */ beq lbl_80028D88 -/* 80028D4C 00025CAC 80 7E 00 70 */ lwz r3, 0x70(r30) -/* 80028D50 00025CB0 80 1E 00 68 */ lwz r0, 0x68(r30) -/* 80028D54 00025CB4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80028D58 00025CB8 7C 83 02 14 */ add r4, r3, r0 -/* 80028D5C 00025CBC 7C 03 20 50 */ subf r0, r3, r4 -/* 80028D60 00025CC0 90 81 00 24 */ stw r4, 0x24(r1) -/* 80028D64 00025CC4 90 81 00 20 */ stw r4, 0x20(r1) -/* 80028D68 00025CC8 90 61 00 18 */ stw r3, 0x18(r1) -/* 80028D6C 00025CCC 7C 09 03 A6 */ mtctr r0 -/* 80028D70 00025CD0 7C 03 20 40 */ cmplw r3, r4 -/* 80028D74 00025CD4 41 82 00 08 */ beq lbl_80028D7C -lbl_80028D78: -/* 80028D78 00025CD8 42 00 00 00 */ bdnz lbl_80028D78 -lbl_80028D7C: -/* 80028D7C 00025CDC 28 03 00 00 */ cmplwi r3, 0 -/* 80028D80 00025CE0 41 82 00 08 */ beq lbl_80028D88 -/* 80028D84 00025CE4 48 2E CB AD */ bl Free__7CMemoryFPCv -lbl_80028D88: -/* 80028D88 00025CE8 34 1E 00 54 */ addic. r0, r30, 0x54 -/* 80028D8C 00025CEC 41 82 00 44 */ beq lbl_80028DD0 -/* 80028D90 00025CF0 80 1E 00 58 */ lwz r0, 0x58(r30) -/* 80028D94 00025CF4 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 80028D98 00025CF8 54 00 10 3A */ slwi r0, r0, 2 -/* 80028D9C 00025CFC 7C 03 02 14 */ add r0, r3, r0 -/* 80028DA0 00025D00 90 61 00 0C */ stw r3, 0xc(r1) -/* 80028DA4 00025D04 7C 64 1B 78 */ mr r4, r3 -/* 80028DA8 00025D08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80028DAC 00025D0C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80028DB0 00025D10 90 61 00 08 */ stw r3, 8(r1) -/* 80028DB4 00025D14 48 00 00 08 */ b lbl_80028DBC -lbl_80028DB8: -/* 80028DB8 00025D18 38 84 00 04 */ addi r4, r4, 4 -lbl_80028DBC: -/* 80028DBC 00025D1C 7C 04 00 40 */ cmplw r4, r0 -/* 80028DC0 00025D20 40 82 FF F8 */ bne lbl_80028DB8 -/* 80028DC4 00025D24 28 03 00 00 */ cmplwi r3, 0 -/* 80028DC8 00025D28 41 82 00 08 */ beq lbl_80028DD0 -/* 80028DCC 00025D2C 48 2E CB 65 */ bl Free__7CMemoryFPCv -lbl_80028DD0: -/* 80028DD0 00025D30 34 1E 00 48 */ addic. r0, r30, 0x48 -/* 80028DD4 00025D34 41 82 00 28 */ beq lbl_80028DFC -/* 80028DD8 00025D38 88 1E 00 50 */ lbz r0, 0x50(r30) -/* 80028DDC 00025D3C 28 00 00 00 */ cmplwi r0, 0 -/* 80028DE0 00025D40 41 82 00 14 */ beq lbl_80028DF4 -/* 80028DE4 00025D44 34 7E 00 48 */ addic. r3, r30, 0x48 -/* 80028DE8 00025D48 41 82 00 0C */ beq lbl_80028DF4 -/* 80028DEC 00025D4C 38 80 00 00 */ li r4, 0 -/* 80028DF0 00025D50 48 31 80 51 */ bl __dt__6CTokenFv -lbl_80028DF4: -/* 80028DF4 00025D54 38 00 00 00 */ li r0, 0 -/* 80028DF8 00025D58 98 1E 00 50 */ stb r0, 0x50(r30) -lbl_80028DFC: -/* 80028DFC 00025D5C 28 1E 00 00 */ cmplwi r30, 0 -/* 80028E00 00025D60 41 82 00 60 */ beq lbl_80028E60 -/* 80028E04 00025D64 34 1E 00 04 */ addic. r0, r30, 4 -/* 80028E08 00025D68 41 82 00 58 */ beq lbl_80028E60 -/* 80028E0C 00025D6C 80 BE 00 04 */ lwz r5, 4(r30) -/* 80028E10 00025D70 38 60 00 00 */ li r3, 0 -/* 80028E14 00025D74 2C 05 00 00 */ cmpwi r5, 0 -/* 80028E18 00025D78 40 81 00 40 */ ble lbl_80028E58 -/* 80028E1C 00025D7C 2C 05 00 08 */ cmpwi r5, 8 -/* 80028E20 00025D80 38 85 FF F8 */ addi r4, r5, -8 -/* 80028E24 00025D84 40 81 00 20 */ ble lbl_80028E44 -/* 80028E28 00025D88 38 04 00 07 */ addi r0, r4, 7 -/* 80028E2C 00025D8C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80028E30 00025D90 7C 09 03 A6 */ mtctr r0 -/* 80028E34 00025D94 2C 04 00 00 */ cmpwi r4, 0 -/* 80028E38 00025D98 40 81 00 0C */ ble lbl_80028E44 -lbl_80028E3C: -/* 80028E3C 00025D9C 38 63 00 08 */ addi r3, r3, 8 -/* 80028E40 00025DA0 42 00 FF FC */ bdnz lbl_80028E3C -lbl_80028E44: -/* 80028E44 00025DA4 7C 03 28 50 */ subf r0, r3, r5 -/* 80028E48 00025DA8 7C 09 03 A6 */ mtctr r0 -/* 80028E4C 00025DAC 7C 03 28 00 */ cmpw r3, r5 -/* 80028E50 00025DB0 40 80 00 08 */ bge lbl_80028E58 -lbl_80028E54: -/* 80028E54 00025DB4 42 00 00 00 */ bdnz lbl_80028E54 -lbl_80028E58: -/* 80028E58 00025DB8 38 00 00 00 */ li r0, 0 -/* 80028E5C 00025DBC 90 1E 00 04 */ stw r0, 4(r30) -lbl_80028E60: -/* 80028E60 00025DC0 7F E0 07 35 */ extsh. r0, r31 -/* 80028E64 00025DC4 40 81 00 0C */ ble lbl_80028E70 -/* 80028E68 00025DC8 7F C3 F3 78 */ mr r3, r30 -/* 80028E6C 00025DCC 48 2E CA C5 */ bl Free__7CMemoryFPCv -lbl_80028E70: -/* 80028E70 00025DD0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80028E74 00025DD4 7F C3 F3 78 */ mr r3, r30 -/* 80028E78 00025DD8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80028E7C 00025DDC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80028E80 00025DE0 7C 08 03 A6 */ mtlr r0 -/* 80028E84 00025DE4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80028E88 00025DE8 4E 80 00 20 */ blr - -.global OnMessage__13CSplashScreenFRC20CArchitectureMessageR18CArchitectureQueue -OnMessage__13CSplashScreenFRC20CArchitectureMessageR18CArchitectureQueue: -/* 80028E8C 00025DEC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80028E90 00025DF0 7C 08 02 A6 */ mflr r0 -/* 80028E94 00025DF4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80028E98 00025DF8 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80028E9C 00025DFC 7C 9E 23 78 */ mr r30, r4 -/* 80028EA0 00025E00 7C 7D 1B 78 */ mr r29, r3 -/* 80028EA4 00025E04 7C BF 2B 78 */ mr r31, r5 -/* 80028EA8 00025E08 80 04 00 04 */ lwz r0, 4(r4) -/* 80028EAC 00025E0C 2C 00 00 05 */ cmpwi r0, 5 -/* 80028EB0 00025E10 41 82 02 4C */ beq lbl_800290FC -/* 80028EB4 00025E14 40 80 03 30 */ bge lbl_800291E4 -/* 80028EB8 00025E18 2C 00 00 04 */ cmpwi r0, 4 -/* 80028EBC 00025E1C 40 80 00 08 */ bge lbl_80028EC4 -/* 80028EC0 00025E20 48 00 03 24 */ b lbl_800291E4 -lbl_80028EC4: -/* 80028EC4 00025E24 88 1D 00 25 */ lbz r0, 0x25(r29) -/* 80028EC8 00025E28 28 00 00 00 */ cmplwi r0, 0 -/* 80028ECC 00025E2C 40 82 00 1C */ bne lbl_80028EE8 -/* 80028ED0 00025E30 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80028ED4 00025E34 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80028ED8 00025E38 28 00 00 00 */ cmplwi r0, 0 -/* 80028EDC 00025E3C 41 82 03 08 */ beq lbl_800291E4 -/* 80028EE0 00025E40 38 00 00 01 */ li r0, 1 -/* 80028EE4 00025E44 98 1D 00 25 */ stb r0, 0x25(r29) -lbl_80028EE8: -/* 80028EE8 00025E48 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 80028EEC 00025E4C 2C 00 00 00 */ cmpwi r0, 0 -/* 80028EF0 00025E50 40 82 00 E4 */ bne lbl_80028FD4 -/* 80028EF4 00025E54 80 6D A0 7C */ lwz r3, gpController@sda21(r13) -/* 80028EF8 00025E58 38 80 00 00 */ li r4, 0 -/* 80028EFC 00025E5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80028F00 00025E60 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80028F04 00025E64 7D 89 03 A6 */ mtctr r12 -/* 80028F08 00025E68 4E 80 04 21 */ bctrl -/* 80028F0C 00025E6C 8B 43 00 37 */ lbz r26, 0x37(r3) -/* 80028F10 00025E70 48 2E 06 E1 */ bl GetProgressiveMode__9CGraphicsFv -/* 80028F14 00025E74 7C 7B 1B 78 */ mr r27, r3 -/* 80028F18 00025E78 48 2E 06 AD */ bl CanSetProgressiveMode__9CGraphicsFv -/* 80028F1C 00025E7C 7C 7C 1B 78 */ mr r28, r3 -/* 80028F20 00025E80 48 2E 06 79 */ bl GetProgressiveDefault__9CGraphicsFv -/* 80028F24 00025E84 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 80028F28 00025E88 38 00 00 03 */ li r0, 3 -/* 80028F2C 00025E8C 90 1D 00 20 */ stw r0, 0x20(r29) -/* 80028F30 00025E90 7C 80 00 34 */ cntlzw r0, r4 -/* 80028F34 00025E94 54 06 D9 7E */ srwi r6, r0, 5 -/* 80028F38 00025E98 88 AD 80 00 */ lbz r5, lbl_805A6BC0@sda21(r13) -/* 80028F3C 00025E9C 28 05 00 00 */ cmplwi r5, 0 -/* 80028F40 00025EA0 40 82 00 44 */ bne lbl_80028F84 -/* 80028F44 00025EA4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 80028F48 00025EA8 41 82 00 3C */ beq lbl_80028F84 -/* 80028F4C 00025EAC 57 84 06 3F */ clrlwi. r4, r28, 0x18 -/* 80028F50 00025EB0 41 82 00 34 */ beq lbl_80028F84 -/* 80028F54 00025EB4 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80028F58 00025EB8 40 82 00 2C */ bne lbl_80028F84 -/* 80028F5C 00025EBC 28 04 00 00 */ cmplwi r4, 0 -/* 80028F60 00025EC0 38 80 00 00 */ li r4, 0 -/* 80028F64 00025EC4 41 82 00 10 */ beq lbl_80028F74 -/* 80028F68 00025EC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80028F6C 00025ECC 41 82 00 08 */ beq lbl_80028F74 -/* 80028F70 00025ED0 38 80 00 01 */ li r4, 1 -lbl_80028F74: -/* 80028F74 00025ED4 98 9D 00 24 */ stb r4, 0x24(r29) -/* 80028F78 00025ED8 88 7D 00 24 */ lbz r3, 0x24(r29) -/* 80028F7C 00025EDC 48 2E 06 8D */ bl SetProgressiveMode__9CGraphicsFb -/* 80028F80 00025EE0 48 00 00 54 */ b lbl_80028FD4 -lbl_80028F84: -/* 80028F84 00025EE4 28 05 00 00 */ cmplwi r5, 0 -/* 80028F88 00025EE8 41 82 00 44 */ beq lbl_80028FCC -/* 80028F8C 00025EEC 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 80028F90 00025EF0 41 82 00 3C */ beq lbl_80028FCC -/* 80028F94 00025EF4 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80028F98 00025EF8 40 82 00 34 */ bne lbl_80028FCC -/* 80028F9C 00025EFC 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80028FA0 00025F00 41 82 00 2C */ beq lbl_80028FCC -/* 80028FA4 00025F04 28 1A 00 00 */ cmplwi r26, 0 -/* 80028FA8 00025F08 40 82 00 0C */ bne lbl_80028FB4 -/* 80028FAC 00025F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80028FB0 00025F10 41 82 00 1C */ beq lbl_80028FCC -lbl_80028FB4: -/* 80028FB4 00025F14 C0 02 83 C0 */ lfs f0, lbl_805AA0E0@sda21(r2) -/* 80028FB8 00025F18 38 00 00 01 */ li r0, 1 -/* 80028FBC 00025F1C D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 80028FC0 00025F20 90 1D 00 20 */ stw r0, 0x20(r29) -/* 80028FC4 00025F24 98 1D 00 24 */ stb r0, 0x24(r29) -/* 80028FC8 00025F28 48 00 00 0C */ b lbl_80028FD4 -lbl_80028FCC: -/* 80028FCC 00025F2C 38 00 00 00 */ li r0, 0 -/* 80028FD0 00025F30 98 1D 00 24 */ stb r0, 0x24(r29) -lbl_80028FD4: -/* 80028FD4 00025F34 7F C3 F3 78 */ mr r3, r30 -/* 80028FD8 00025F38 48 02 8B E5 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage -/* 80028FDC 00025F3C C0 63 00 04 */ lfs f3, 4(r3) -/* 80028FE0 00025F40 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 80028FE4 00025F44 C0 42 83 A4 */ lfs f2, lbl_805AA0C4@sda21(r2) -/* 80028FE8 00025F48 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80028FEC 00025F4C D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 80028FF0 00025F50 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 80028FF4 00025F54 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80028FF8 00025F58 40 81 00 78 */ ble lbl_80029070 -/* 80028FFC 00025F5C 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 80029000 00025F60 2C 00 00 01 */ cmpwi r0, 1 -/* 80029004 00025F64 40 82 00 50 */ bne lbl_80029054 -/* 80029008 00025F68 C0 3D 00 18 */ lfs f1, 0x18(r29) -/* 8002900C 00025F6C C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) -/* 80029010 00025F70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80029014 00025F74 40 80 00 40 */ bge lbl_80029054 -/* 80029018 00025F78 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 8002901C 00025F7C C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 80029020 00025F80 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80029024 00025F84 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 80029028 00025F88 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 8002902C 00025F8C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80029030 00025F90 4C 40 13 82 */ cror 2, 0, 2 -/* 80029034 00025F94 40 82 00 3C */ bne lbl_80029070 -/* 80029038 00025F98 38 00 00 02 */ li r0, 2 -/* 8002903C 00025F9C 90 1D 00 20 */ stw r0, 0x20(r29) -/* 80029040 00025FA0 88 7D 00 24 */ lbz r3, 0x24(r29) -/* 80029044 00025FA4 48 2E 05 C5 */ bl SetProgressiveMode__9CGraphicsFb -/* 80029048 00025FA8 C0 02 83 C4 */ lfs f0, lbl_805AA0E4@sda21(r2) -/* 8002904C 00025FAC D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 80029050 00025FB0 48 00 00 20 */ b lbl_80029070 -lbl_80029054: -/* 80029054 00025FB4 2C 00 00 02 */ cmpwi r0, 2 -/* 80029058 00025FB8 40 82 00 18 */ bne lbl_80029070 -/* 8002905C 00025FBC C0 02 83 88 */ lfs f0, lbl_805AA0A8@sda21(r2) -/* 80029060 00025FC0 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 80029064 00025FC4 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 80029068 00025FC8 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8002906C 00025FCC D0 1D 00 1C */ stfs f0, 0x1c(r29) -lbl_80029070: -/* 80029070 00025FD0 C0 3D 00 18 */ lfs f1, 0x18(r29) -/* 80029074 00025FD4 C0 02 83 A4 */ lfs f0, lbl_805AA0C4@sda21(r2) -/* 80029078 00025FD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8002907C 00025FDC 4C 40 13 82 */ cror 2, 0, 2 -/* 80029080 00025FE0 40 82 01 64 */ bne lbl_800291E4 -/* 80029084 00025FE4 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 80029088 00025FE8 2C 00 00 02 */ cmpwi r0, 2 -/* 8002908C 00025FEC 40 80 00 68 */ bge lbl_800290F4 -/* 80029090 00025FF0 3C 80 80 3D */ lis r4, lbl_803CCCDC@ha -/* 80029094 00025FF4 38 60 00 30 */ li r3, 0x30 -/* 80029098 00025FF8 38 84 CC DC */ addi r4, r4, lbl_803CCCDC@l -/* 8002909C 00025FFC 38 A0 00 00 */ li r5, 0 -/* 800290A0 00026000 38 84 00 30 */ addi r4, r4, 0x30 -/* 800290A4 00026004 48 2E C7 C9 */ bl __nw__FUlPCcPCc -/* 800290A8 00026008 7C 60 1B 79 */ or. r0, r3, r3 -/* 800290AC 0002600C 41 82 00 14 */ beq lbl_800290C0 -/* 800290B0 00026010 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 800290B4 00026014 38 84 00 01 */ addi r4, r4, 1 -/* 800290B8 00026018 48 00 01 45 */ bl __ct__13CSplashScreenFQ213CSplashScreen13ESplashScreen -/* 800290BC 0002601C 7C 60 1B 78 */ mr r0, r3 -lbl_800290C0: -/* 800290C0 00026020 90 01 00 08 */ stw r0, 8(r1) -/* 800290C4 00026024 38 61 00 0C */ addi r3, r1, 0xc -/* 800290C8 00026028 38 E1 00 08 */ addi r7, r1, 8 -/* 800290CC 0002602C 38 80 00 00 */ li r4, 0 -/* 800290D0 00026030 38 AD 81 D0 */ addi r5, r13, lbl_805A6D90@sda21 -/* 800290D4 00026034 38 CD 81 D4 */ addi r6, r13, lbl_805A6D94@sda21 -/* 800290D8 00026038 48 02 8B D5 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin -/* 800290DC 0002603C 7F E3 FB 78 */ mr r3, r31 -/* 800290E0 00026040 38 81 00 0C */ addi r4, r1, 0xc -/* 800290E4 00026044 4B FD DC 1D */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -/* 800290E8 00026048 34 61 00 14 */ addic. r3, r1, 0x14 -/* 800290EC 0002604C 41 82 00 08 */ beq lbl_800290F4 -/* 800290F0 00026050 4B FD F6 1D */ bl sub_8000870c -lbl_800290F4: -/* 800290F4 00026054 38 60 00 02 */ li r3, 2 -/* 800290F8 00026058 48 00 00 F0 */ b lbl_800291E8 -lbl_800290FC: -/* 800290FC 0002605C 88 1D 00 25 */ lbz r0, 0x25(r29) -/* 80029100 00026060 28 00 00 00 */ cmplwi r0, 0 -/* 80029104 00026064 41 82 00 E0 */ beq lbl_800291E4 -/* 80029108 00026068 7F C3 F3 78 */ mr r3, r30 -/* 8002910C 0002606C 48 02 89 D9 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage -/* 80029110 00026070 4B FF 28 D5 */ bl GetUserInput__21CArchMsgParmUserInputCFv -/* 80029114 00026074 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 80029118 00026078 2C 00 00 01 */ cmpwi r0, 1 -/* 8002911C 0002607C 40 82 00 A0 */ bne lbl_800291BC -/* 80029120 00026080 C0 42 CC 28 */ lfs f2, lbl_805AE948@sda21(r2) -/* 80029124 00026084 C0 23 00 08 */ lfs f1, 8(r3) -/* 80029128 00026088 FC 00 10 50 */ fneg f0, f2 -/* 8002912C 0002608C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80029130 00026090 40 81 00 0C */ ble lbl_8002913C -/* 80029134 00026094 38 00 00 01 */ li r0, 1 -/* 80029138 00026098 48 00 00 08 */ b lbl_80029140 -lbl_8002913C: -/* 8002913C 0002609C 38 00 00 00 */ li r0, 0 -lbl_80029140: -/* 80029140 000260A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80029144 000260A4 40 82 00 10 */ bne lbl_80029154 -/* 80029148 000260A8 88 83 00 2D */ lbz r4, 0x2d(r3) -/* 8002914C 000260AC 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 80029150 000260B0 41 82 00 18 */ beq lbl_80029168 -lbl_80029154: -/* 80029154 000260B4 38 00 00 01 */ li r0, 1 -/* 80029158 000260B8 C0 02 83 C0 */ lfs f0, lbl_805AA0E0@sda21(r2) -/* 8002915C 000260BC 98 1D 00 24 */ stb r0, 0x24(r29) -/* 80029160 000260C0 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 80029164 000260C4 48 00 00 80 */ b lbl_800291E4 -lbl_80029168: -/* 80029168 000260C8 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8002916C 000260CC 41 80 00 0C */ blt lbl_80029178 -/* 80029170 000260D0 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 80029174 000260D4 41 82 00 18 */ beq lbl_8002918C -lbl_80029178: -/* 80029178 000260D8 38 00 00 00 */ li r0, 0 -/* 8002917C 000260DC C0 02 83 C0 */ lfs f0, lbl_805AA0E0@sda21(r2) -/* 80029180 000260E0 98 1D 00 24 */ stb r0, 0x24(r29) -/* 80029184 000260E4 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 80029188 000260E8 48 00 00 5C */ b lbl_800291E4 -lbl_8002918C: -/* 8002918C 000260EC 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f -/* 80029190 000260F0 40 82 00 10 */ bne lbl_800291A0 -/* 80029194 000260F4 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80029198 000260F8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8002919C 000260FC 41 82 00 48 */ beq lbl_800291E4 -lbl_800291A0: -/* 800291A0 00026100 88 7D 00 24 */ lbz r3, 0x24(r29) -/* 800291A4 00026104 48 2E 04 65 */ bl SetProgressiveMode__9CGraphicsFb -/* 800291A8 00026108 C0 02 83 C4 */ lfs f0, lbl_805AA0E4@sda21(r2) -/* 800291AC 0002610C 38 00 00 02 */ li r0, 2 -/* 800291B0 00026110 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 800291B4 00026114 90 1D 00 20 */ stw r0, 0x20(r29) -/* 800291B8 00026118 48 00 00 2C */ b lbl_800291E4 -lbl_800291BC: -/* 800291BC 0002611C 2C 00 00 02 */ cmpwi r0, 2 -/* 800291C0 00026120 40 82 00 24 */ bne lbl_800291E4 -/* 800291C4 00026124 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 800291C8 00026128 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 800291CC 0002612C 40 82 00 10 */ bne lbl_800291DC -/* 800291D0 00026130 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 800291D4 00026134 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800291D8 00026138 41 82 00 0C */ beq lbl_800291E4 -lbl_800291DC: -/* 800291DC 0002613C C0 02 83 A4 */ lfs f0, lbl_805AA0C4@sda21(r2) -/* 800291E0 00026140 D0 1D 00 1C */ stfs f0, 0x1c(r29) -lbl_800291E4: -/* 800291E4 00026144 38 60 00 01 */ li r3, 1 -lbl_800291E8: -/* 800291E8 00026148 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800291EC 0002614C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800291F0 00026150 7C 08 03 A6 */ mtlr r0 -/* 800291F4 00026154 38 21 00 30 */ addi r1, r1, 0x30 -/* 800291F8 00026158 4E 80 00 20 */ blr - -.global __ct__13CSplashScreenFQ213CSplashScreen13ESplashScreen -__ct__13CSplashScreenFQ213CSplashScreen13ESplashScreen: -/* 800291FC 0002615C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80029200 00026160 7C 08 02 A6 */ mflr r0 -/* 80029204 00026164 3C A0 80 3D */ lis r5, lbl_803CCCDC@ha -/* 80029208 00026168 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002920C 0002616C 38 A5 CC DC */ addi r5, r5, lbl_803CCCDC@l -/* 80029210 00026170 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80029214 00026174 7C 9F 23 78 */ mr r31, r4 -/* 80029218 00026178 38 85 00 37 */ addi r4, r5, 0x37 -/* 8002921C 0002617C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80029220 00026180 7C 7E 1B 78 */ mr r30, r3 -/* 80029224 00026184 38 61 00 10 */ addi r3, r1, 0x10 -/* 80029228 00026188 4B FD BA 91 */ bl string_l__4rstlFPCc -/* 8002922C 0002618C 7F C3 F3 78 */ mr r3, r30 -/* 80029230 00026190 38 81 00 10 */ addi r4, r1, 0x10 -/* 80029234 00026194 48 02 99 D9 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80029238 00026198 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002923C 0002619C 48 31 48 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80029240 000261A0 3C 80 80 3E */ lis r4, lbl_803D9A50@ha -/* 80029244 000261A4 3C 60 80 3D */ lis r3, lbl_803CCCD0@ha -/* 80029248 000261A8 38 04 9A 50 */ addi r0, r4, lbl_803D9A50@l -/* 8002924C 000261AC C0 22 83 C8 */ lfs f1, lbl_805AA0E8@sda21(r2) -/* 80029250 000261B0 90 1E 00 00 */ stw r0, 0(r30) -/* 80029254 000261B4 38 80 00 00 */ li r4, 0 -/* 80029258 000261B8 C0 02 83 A4 */ lfs f0, lbl_805AA0C4@sda21(r2) -/* 8002925C 000261BC 38 00 00 01 */ li r0, 1 -/* 80029260 000261C0 93 FE 00 14 */ stw r31, 0x14(r30) -/* 80029264 000261C4 38 A3 CC D0 */ addi r5, r3, lbl_803CCCD0@l -/* 80029268 000261C8 38 61 00 08 */ addi r3, r1, 8 -/* 8002926C 000261CC D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 80029270 000261D0 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80029274 000261D4 90 9E 00 20 */ stw r4, 0x20(r30) -/* 80029278 000261D8 98 1E 00 24 */ stb r0, 0x24(r30) -/* 8002927C 000261DC 98 9E 00 25 */ stb r4, 0x25(r30) -/* 80029280 000261E0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80029284 000261E4 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 80029288 000261E8 81 84 00 00 */ lwz r12, 0(r4) -/* 8002928C 000261EC 54 00 10 3A */ slwi r0, r0, 2 -/* 80029290 000261F0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80029294 000261F4 7C A5 00 2E */ lwzx r5, r5, r0 -/* 80029298 000261F8 7D 89 03 A6 */ mtctr r12 -/* 8002929C 000261FC 4E 80 04 21 */ bctrl -/* 800292A0 00026200 38 7E 00 28 */ addi r3, r30, 0x28 -/* 800292A4 00026204 38 81 00 08 */ addi r4, r1, 8 -/* 800292A8 00026208 48 31 7C 01 */ bl __ct__6CTokenFRC6CToken -/* 800292AC 0002620C 38 61 00 08 */ addi r3, r1, 8 -/* 800292B0 00026210 38 80 FF FF */ li r4, -1 -/* 800292B4 00026214 48 31 7B 8D */ bl __dt__6CTokenFv -/* 800292B8 00026218 38 7E 00 28 */ addi r3, r30, 0x28 -/* 800292BC 0002621C 48 31 7A C9 */ bl Lock__6CTokenFv -/* 800292C0 00026220 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800292C4 00026224 7F C3 F3 78 */ mr r3, r30 -/* 800292C8 00026228 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800292CC 0002622C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800292D0 00026230 7C 08 03 A6 */ mtlr r0 -/* 800292D4 00026234 38 21 00 30 */ addi r1, r1, 0x30 -/* 800292D8 00026238 4E 80 00 20 */ blr - -.global sub_800292dc -sub_800292dc: -/* 800292DC 0002623C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800292E0 00026240 7C 08 02 A6 */ mflr r0 -/* 800292E4 00026244 90 01 00 24 */ stw r0, 0x24(r1) -/* 800292E8 00026248 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800292EC 0002624C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800292F0 00026250 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800292F4 00026254 7C 9D 23 78 */ mr r29, r4 -/* 800292F8 00026258 93 81 00 10 */ stw r28, 0x10(r1) -/* 800292FC 0002625C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80029300 00026260 41 82 00 54 */ beq lbl_80029354 -/* 80029304 00026264 83 FC 00 04 */ lwz r31, 4(r28) -/* 80029308 00026268 48 00 00 30 */ b lbl_80029338 -lbl_8002930C: -/* 8002930C 0002626C 7F FE FB 78 */ mr r30, r31 -/* 80029310 00026270 83 FF 00 04 */ lwz r31, 4(r31) -/* 80029314 00026274 34 7E 00 08 */ addic. r3, r30, 8 -/* 80029318 00026278 41 82 00 10 */ beq lbl_80029328 -/* 8002931C 0002627C 28 03 00 00 */ cmplwi r3, 0 -/* 80029320 00026280 41 82 00 08 */ beq lbl_80029328 -/* 80029324 00026284 48 00 00 E9 */ bl sub_8002940c -lbl_80029328: -/* 80029328 00026288 28 1E 00 00 */ cmplwi r30, 0 -/* 8002932C 0002628C 41 82 00 0C */ beq lbl_80029338 -/* 80029330 00026290 7F C3 F3 78 */ mr r3, r30 -/* 80029334 00026294 48 2E C5 FD */ bl Free__7CMemoryFPCv -lbl_80029338: -/* 80029338 00026298 80 1C 00 08 */ lwz r0, 8(r28) -/* 8002933C 0002629C 7C 1F 00 40 */ cmplw r31, r0 -/* 80029340 000262A0 40 82 FF CC */ bne lbl_8002930C -/* 80029344 000262A4 7F A0 07 35 */ extsh. r0, r29 -/* 80029348 000262A8 40 81 00 0C */ ble lbl_80029354 -/* 8002934C 000262AC 7F 83 E3 78 */ mr r3, r28 -/* 80029350 000262B0 48 2E C5 E1 */ bl Free__7CMemoryFPCv -lbl_80029354: -/* 80029354 000262B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80029358 000262B8 7F 83 E3 78 */ mr r3, r28 -/* 8002935C 000262BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80029360 000262C0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80029364 000262C4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80029368 000262C8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8002936C 000262CC 7C 08 03 A6 */ mtlr r0 -/* 80029370 000262D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80029374 000262D4 4E 80 00 20 */ blr - -.global sub_80029378 -sub_80029378: -/* 80029378 000262D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002937C 000262DC 7C 08 02 A6 */ mflr r0 -/* 80029380 000262E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80029384 000262E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80029388 000262E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002938C 000262EC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80029390 000262F0 7C 9D 23 78 */ mr r29, r4 -/* 80029394 000262F4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80029398 000262F8 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8002939C 000262FC 41 82 00 4C */ beq lbl_800293E8 -/* 800293A0 00026300 83 FC 00 04 */ lwz r31, 4(r28) -/* 800293A4 00026304 48 00 00 28 */ b lbl_800293CC -lbl_800293A8: -/* 800293A8 00026308 7F FE FB 78 */ mr r30, r31 -/* 800293AC 0002630C 83 FF 00 04 */ lwz r31, 4(r31) -/* 800293B0 00026310 38 7E 00 08 */ addi r3, r30, 8 -/* 800293B4 00026314 38 80 FF FF */ li r4, -1 -/* 800293B8 00026318 4B FF F9 6D */ bl __dt__14CSaveableStateFv -/* 800293BC 0002631C 28 1E 00 00 */ cmplwi r30, 0 -/* 800293C0 00026320 41 82 00 0C */ beq lbl_800293CC -/* 800293C4 00026324 7F C3 F3 78 */ mr r3, r30 -/* 800293C8 00026328 48 2E C5 69 */ bl Free__7CMemoryFPCv -lbl_800293CC: -/* 800293CC 0002632C 80 1C 00 08 */ lwz r0, 8(r28) -/* 800293D0 00026330 7C 1F 00 40 */ cmplw r31, r0 -/* 800293D4 00026334 40 82 FF D4 */ bne lbl_800293A8 -/* 800293D8 00026338 7F A0 07 35 */ extsh. r0, r29 -/* 800293DC 0002633C 40 81 00 0C */ ble lbl_800293E8 -/* 800293E0 00026340 7F 83 E3 78 */ mr r3, r28 -/* 800293E4 00026344 48 2E C5 4D */ bl Free__7CMemoryFPCv -lbl_800293E8: -/* 800293E8 00026348 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800293EC 0002634C 7F 83 E3 78 */ mr r3, r28 -/* 800293F0 00026350 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800293F4 00026354 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800293F8 00026358 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800293FC 0002635C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80029400 00026360 7C 08 03 A6 */ mtlr r0 -/* 80029404 00026364 38 21 00 20 */ addi r1, r1, 0x20 -/* 80029408 00026368 4E 80 00 20 */ blr - -.global sub_8002940c -sub_8002940c: -/* 8002940C 0002636C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80029410 00026370 7C 08 02 A6 */ mflr r0 -/* 80029414 00026374 90 01 00 14 */ stw r0, 0x14(r1) -/* 80029418 00026378 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002941C 0002637C 7C 7F 1B 78 */ mr r31, r3 -/* 80029420 00026380 80 83 00 00 */ lwz r4, 0(r3) -/* 80029424 00026384 80 64 00 04 */ lwz r3, 4(r4) -/* 80029428 00026388 34 03 FF FF */ addic. r0, r3, -1 -/* 8002942C 0002638C 90 04 00 04 */ stw r0, 4(r4) -/* 80029430 00026390 41 81 00 38 */ bgt lbl_80029468 -/* 80029434 00026394 80 7F 00 00 */ lwz r3, 0(r31) -/* 80029438 00026398 80 63 00 00 */ lwz r3, 0(r3) -/* 8002943C 0002639C 28 03 00 00 */ cmplwi r3, 0 -/* 80029440 000263A0 41 82 00 18 */ beq lbl_80029458 -/* 80029444 000263A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80029448 000263A8 38 80 00 01 */ li r4, 1 -/* 8002944C 000263AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80029450 000263B0 7D 89 03 A6 */ mtctr r12 -/* 80029454 000263B4 4E 80 04 21 */ bctrl -lbl_80029458: -/* 80029458 000263B8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8002945C 000263BC 28 03 00 00 */ cmplwi r3, 0 -/* 80029460 000263C0 41 82 00 08 */ beq lbl_80029468 -/* 80029464 000263C4 48 2E C4 CD */ bl Free__7CMemoryFPCv -lbl_80029468: -/* 80029468 000263C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002946C 000263CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80029470 000263D0 7C 08 03 A6 */ mtlr r0 -/* 80029474 000263D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80029478 000263D8 4E 80 00 20 */ blr - -.global PageInvoke__12CInstructionCFR16CFontRenderStateP17CTextRenderBuffer -PageInvoke__12CInstructionCFR16CFontRenderStateP17CTextRenderBuffer: -/* 8002947C 000263DC 4E 80 00 20 */ blr - -.global "GetAssets__12CInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -"GetAssets__12CInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": -/* 80029480 000263E0 4E 80 00 20 */ blr - -.global GetAssetCount__12CInstructionCFv -GetAssetCount__12CInstructionCFv: -/* 80029484 000263E4 38 60 00 00 */ li r3, 0 -/* 80029488 000263E8 4E 80 00 20 */ blr - -.global GetEventResourceIdForAnimResourceId__9CAnimDataCFi -GetEventResourceIdForAnimResourceId__9CAnimDataCFi: -/* 8002948C 000263EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80029490 000263F0 7C 08 02 A6 */ mflr r0 -/* 80029494 000263F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80029498 000263F8 80 63 00 08 */ lwz r3, 8(r3) -/* 8002949C 000263FC 48 00 88 6D */ bl GetEventResourceIdForAnimResourceId__17CCharacterFactoryCFi -/* 800294A0 00026400 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800294A4 00026404 7C 08 03 A6 */ mtlr r0 -/* 800294A8 00026408 38 21 00 10 */ addi r1, r1, 0x10 -/* 800294AC 0002640C 4E 80 00 20 */ blr - -.global AddAdditiveSegData__9CAnimDataCFRC10CSegIdListR16CSegStatementSet -AddAdditiveSegData__9CAnimDataCFRC10CSegIdListR16CSegStatementSet: -/* 800294B0 00026410 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800294B4 00026414 7C 08 02 A6 */ mflr r0 -/* 800294B8 00026418 90 01 00 54 */ stw r0, 0x54(r1) -/* 800294BC 0002641C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 800294C0 00026420 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 800294C4 00026424 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 800294C8 00026428 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 800294CC 0002642C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 800294D0 00026430 7C 79 1B 78 */ mr r25, r3 -/* 800294D4 00026434 C3 C2 83 D0 */ lfs f30, lbl_805AA0F0@sda21(r2) -/* 800294D8 00026438 83 A3 04 34 */ lwz r29, 0x434(r3) -/* 800294DC 0002643C 7C 9A 23 78 */ mr r26, r4 -/* 800294E0 00026440 C3 E2 83 D4 */ lfs f31, lbl_805AA0F4@sda21(r2) -/* 800294E4 00026444 7C BB 2B 78 */ mr r27, r5 -/* 800294E8 00026448 3B D9 04 38 */ addi r30, r25, 0x438 -/* 800294EC 0002644C 3B 80 00 00 */ li r28, 0 -/* 800294F0 00026450 3B E0 00 00 */ li r31, 0 -/* 800294F4 00026454 48 00 00 38 */ b lbl_8002952C -lbl_800294F8: -/* 800294F8 00026458 38 7F 00 04 */ addi r3, r31, 4 -/* 800294FC 0002645C 7C 7E 1A 14 */ add r3, r30, r3 -/* 80029500 00026460 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80029504 00026464 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80029508 00026468 FC 00 02 10 */ fabs f0, f0 -/* 8002950C 0002646C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80029510 00026470 41 80 00 14 */ blt lbl_80029524 -/* 80029514 00026474 80 B9 00 D4 */ lwz r5, 0xd4(r25) -/* 80029518 00026478 7F 44 D3 78 */ mr r4, r26 -/* 8002951C 0002647C 7F 66 DB 78 */ mr r6, r27 -/* 80029520 00026480 48 33 45 F1 */ bl AddToSegStatementSet__21CAdditiveAnimPlaybackCFRC10CSegIdListRC15CCharLayoutInfoR16CSegStatementSet -lbl_80029524: -/* 80029524 00026484 3B 9C 00 01 */ addi r28, r28, 1 -/* 80029528 00026488 3B FF 00 28 */ addi r31, r31, 0x28 -lbl_8002952C: -/* 8002952C 0002648C 7C 1C E8 40 */ cmplw r28, r29 -/* 80029530 00026490 41 80 FF C8 */ blt lbl_800294F8 -/* 80029534 00026494 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80029538 00026498 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8002953C 0002649C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80029540 000264A0 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80029544 000264A4 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80029548 000264A8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8002954C 000264AC 7C 08 03 A6 */ mtlr r0 -/* 80029550 000264B0 38 21 00 50 */ addi r1, r1, 0x50 -/* 80029554 000264B4 4E 80 00 20 */ blr - -.global AdvanceAdditiveAnims__9CAnimDataFf -AdvanceAdditiveAnims__9CAnimDataFf: -/* 80029558 000264B8 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 8002955C 000264BC 7C 08 02 A6 */ mflr r0 -/* 80029560 000264C0 90 01 02 04 */ stw r0, 0x204(r1) -/* 80029564 000264C4 DB E1 01 F0 */ stfd f31, 0x1f0(r1) -/* 80029568 000264C8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 -/* 8002956C 000264CC DB C1 01 E0 */ stfd f30, 0x1e0(r1) -/* 80029570 000264D0 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 -/* 80029574 000264D4 DB A1 01 D0 */ stfd f29, 0x1d0(r1) -/* 80029578 000264D8 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 -/* 8002957C 000264DC DB 81 01 C0 */ stfd f28, 0x1c0(r1) -/* 80029580 000264E0 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 -/* 80029584 000264E4 DB 61 01 B0 */ stfd f27, 0x1b0(r1) -/* 80029588 000264E8 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 -/* 8002958C 000264EC DB 41 01 A0 */ stfd f26, 0x1a0(r1) -/* 80029590 000264F0 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 -/* 80029594 000264F4 DB 21 01 90 */ stfd f25, 0x190(r1) -/* 80029598 000264F8 F3 21 01 98 */ psq_st f25, 408(r1), 0, qr0 -/* 8002959C 000264FC BE 81 01 60 */ stmw r20, 0x160(r1) -/* 800295A0 00026500 3C A0 80 5A */ lis r5, lbl_805A6660@ha -/* 800295A4 00026504 C3 E2 83 D0 */ lfs f31, lbl_805AA0F0@sda21(r2) -/* 800295A8 00026508 39 05 66 60 */ addi r8, r5, lbl_805A6660@l -/* 800295AC 0002650C 7C 9D 23 78 */ mr r29, r4 -/* 800295B0 00026510 C0 88 00 00 */ lfs f4, 0(r8) -/* 800295B4 00026514 3C E0 80 57 */ lis r7, lbl_8056BDF4@ha -/* 800295B8 00026518 C0 68 00 04 */ lfs f3, 4(r8) -/* 800295BC 0002651C 3C C0 80 57 */ lis r6, lbl_8056A600@ha -/* 800295C0 00026520 C0 48 00 08 */ lfs f2, 8(r8) -/* 800295C4 00026524 3C A0 80 57 */ lis r5, lbl_8056C2B8@ha -/* 800295C8 00026528 C0 08 00 0C */ lfs f0, 0xc(r8) -/* 800295CC 0002652C 3C 80 80 57 */ lis r4, lbl_8056C9EC@ha -/* 800295D0 00026530 38 E7 BD F4 */ addi r7, r7, lbl_8056BDF4@l -/* 800295D4 00026534 38 C6 A6 00 */ addi r6, r6, lbl_8056A600@l -/* 800295D8 00026538 38 A5 C2 B8 */ addi r5, r5, lbl_8056C2B8@l -/* 800295DC 0002653C 38 84 C9 EC */ addi r4, r4, lbl_8056C9EC@l -/* 800295E0 00026540 D0 81 00 80 */ stfs f4, 0x80(r1) -/* 800295E4 00026544 FF 80 08 90 */ fmr f28, f1 -/* 800295E8 00026548 FF C0 F8 90 */ fmr f30, f31 -/* 800295EC 0002654C 7C 7C 1B 78 */ mr r28, r3 -/* 800295F0 00026550 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 800295F4 00026554 FF A0 F8 90 */ fmr f29, f31 -/* 800295F8 00026558 3B 3D 04 38 */ addi r25, r29, 0x438 -/* 800295FC 0002655C D0 41 00 88 */ stfs f2, 0x88(r1) -/* 80029600 00026560 3B 07 00 04 */ addi r24, r7, 4 -/* 80029604 00026564 3A E6 00 04 */ addi r23, r6, 4 -/* 80029608 00026568 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8002960C 0002656C 3A C5 00 04 */ addi r22, r5, 4 -/* 80029610 00026570 3A A4 00 04 */ addi r21, r4, 4 -/* 80029614 00026574 3B C0 00 00 */ li r30, 0 -/* 80029618 00026578 83 FD 04 34 */ lwz r31, 0x434(r29) -/* 8002961C 0002657C 3B 60 00 00 */ li r27, 0 -/* 80029620 00026580 48 00 04 68 */ b lbl_80029A88 -lbl_80029624: -/* 80029624 00026584 3A 9B 00 04 */ addi r20, r27, 4 -/* 80029628 00026588 FC 20 E0 90 */ fmr f1, f28 -/* 8002962C 0002658C 7E 99 A2 14 */ add r20, r25, r20 -/* 80029630 00026590 38 61 00 38 */ addi r3, r1, 0x38 -/* 80029634 00026594 3B 54 00 08 */ addi r26, r20, 8 -/* 80029638 00026598 48 31 F7 B5 */ bl __ct__13CCharAnimTimeFf -/* 8002963C 0002659C 88 14 00 14 */ lbz r0, 0x14(r20) -/* 80029640 000265A0 28 00 00 00 */ cmplwi r0, 0 -/* 80029644 000265A4 41 82 01 E4 */ beq lbl_80029828 -/* 80029648 000265A8 C3 42 83 D0 */ lfs f26, lbl_805AA0F0@sda21(r2) -/* 8002964C 000265AC C3 22 83 D4 */ lfs f25, lbl_805AA0F4@sda21(r2) -/* 80029650 000265B0 48 00 01 B0 */ b lbl_80029800 -lbl_80029654: -/* 80029654 000265B4 80 7A 00 00 */ lwz r3, 0(r26) -/* 80029658 000265B8 7F 05 C3 78 */ mr r5, r24 -/* 8002965C 000265BC 80 FD 02 10 */ lwz r7, 0x210(r29) -/* 80029660 000265C0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80029664 000265C4 80 63 00 00 */ lwz r3, 0(r3) -/* 80029668 000265C8 38 C0 00 10 */ li r6, 0x10 -/* 8002966C 000265CC 39 00 00 00 */ li r8, 0 -/* 80029670 000265D0 48 2D 47 0D */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii -/* 80029674 000265D4 80 1D 02 10 */ lwz r0, 0x210(r29) -/* 80029678 000265D8 7E E5 BB 78 */ mr r5, r23 -/* 8002967C 000265DC 38 81 00 38 */ addi r4, r1, 0x38 -/* 80029680 000265E0 38 C0 00 08 */ li r6, 8 -/* 80029684 000265E4 7C 00 1A 14 */ add r0, r0, r3 -/* 80029688 000265E8 39 00 00 00 */ li r8, 0 -/* 8002968C 000265EC 90 1D 02 10 */ stw r0, 0x210(r29) -/* 80029690 000265F0 80 7A 00 00 */ lwz r3, 0(r26) -/* 80029694 000265F4 80 FD 02 0C */ lwz r7, 0x20c(r29) -/* 80029698 000265F8 80 63 00 00 */ lwz r3, 0(r3) -/* 8002969C 000265FC 48 2D 47 5D */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii -/* 800296A0 00026600 80 1D 02 0C */ lwz r0, 0x20c(r29) -/* 800296A4 00026604 7E C5 B3 78 */ mr r5, r22 -/* 800296A8 00026608 38 81 00 38 */ addi r4, r1, 0x38 -/* 800296AC 0002660C 38 C0 00 14 */ li r6, 0x14 -/* 800296B0 00026610 7C 00 1A 14 */ add r0, r0, r3 -/* 800296B4 00026614 39 00 00 00 */ li r8, 0 -/* 800296B8 00026618 90 1D 02 0C */ stw r0, 0x20c(r29) -/* 800296BC 0002661C 80 7A 00 00 */ lwz r3, 0(r26) -/* 800296C0 00026620 80 FD 02 14 */ lwz r7, 0x214(r29) -/* 800296C4 00026624 80 63 00 00 */ lwz r3, 0(r3) -/* 800296C8 00026628 48 2D 46 39 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii -/* 800296CC 0002662C 80 1D 02 14 */ lwz r0, 0x214(r29) -/* 800296D0 00026630 7E A5 AB 78 */ mr r5, r21 -/* 800296D4 00026634 38 81 00 38 */ addi r4, r1, 0x38 -/* 800296D8 00026638 38 C0 00 14 */ li r6, 0x14 -/* 800296DC 0002663C 7C 00 1A 14 */ add r0, r0, r3 -/* 800296E0 00026640 39 00 00 00 */ li r8, 0 -/* 800296E4 00026644 90 1D 02 14 */ stw r0, 0x214(r29) -/* 800296E8 00026648 80 7A 00 00 */ lwz r3, 0(r26) -/* 800296EC 0002664C 80 FD 02 18 */ lwz r7, 0x218(r29) -/* 800296F0 00026650 80 63 00 00 */ lwz r3, 0(r3) -/* 800296F4 00026654 48 2D 45 91 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii -/* 800296F8 00026658 80 1D 02 18 */ lwz r0, 0x218(r29) -/* 800296FC 0002665C 7F 44 D3 78 */ mr r4, r26 -/* 80029700 00026660 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80029704 00026664 7C 00 1A 14 */ add r0, r0, r3 -/* 80029708 00026668 38 61 00 EC */ addi r3, r1, 0xec -/* 8002970C 0002666C 90 1D 02 18 */ stw r0, 0x218(r29) -/* 80029710 00026670 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 80029714 00026674 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80029718 00026678 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8002971C 0002667C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80029720 00026680 48 00 06 3D */ bl "AdvanceAdditiveAnim__9CAnimDataFR23rc_ptr<13CAnimTreeNode>RC13CCharAnimTime" -/* 80029724 00026684 C1 A1 00 F4 */ lfs f13, 0xf4(r1) -/* 80029728 00026688 38 61 00 50 */ addi r3, r1, 0x50 -/* 8002972C 0002668C C1 81 00 F8 */ lfs f12, 0xf8(r1) -/* 80029730 00026690 38 81 00 80 */ addi r4, r1, 0x80 -/* 80029734 00026694 C1 61 00 FC */ lfs f11, 0xfc(r1) -/* 80029738 00026698 FC 40 68 18 */ frsp f2, f13 -/* 8002973C 0002669C C1 41 01 00 */ lfs f10, 0x100(r1) -/* 80029740 000266A0 FC 20 60 18 */ frsp f1, f12 -/* 80029744 000266A4 C1 21 01 04 */ lfs f9, 0x104(r1) -/* 80029748 000266A8 FC 00 58 18 */ frsp f0, f11 -/* 8002974C 000266AC C1 01 01 08 */ lfs f8, 0x108(r1) -/* 80029750 000266B0 C0 E1 01 0C */ lfs f7, 0x10c(r1) -/* 80029754 000266B4 FC C0 50 18 */ frsp f6, f10 -/* 80029758 000266B8 FC A0 48 18 */ frsp f5, f9 -/* 8002975C 000266BC C3 61 00 EC */ lfs f27, 0xec(r1) -/* 80029760 000266C0 FC 80 40 18 */ frsp f4, f8 -/* 80029764 000266C4 80 01 00 F0 */ lwz r0, 0xf0(r1) -/* 80029768 000266C8 FC 60 38 18 */ frsp f3, f7 -/* 8002976C 000266CC EF FF 10 2A */ fadds f31, f31, f2 -/* 80029770 000266D0 EF DE 08 2A */ fadds f30, f30, f1 -/* 80029774 000266D4 D3 61 01 34 */ stfs f27, 0x134(r1) -/* 80029778 000266D8 EF BD 00 2A */ fadds f29, f29, f0 -/* 8002977C 000266DC 38 A1 00 70 */ addi r5, r1, 0x70 -/* 80029780 000266E0 90 01 01 38 */ stw r0, 0x138(r1) -/* 80029784 000266E4 D1 A1 01 3C */ stfs f13, 0x13c(r1) -/* 80029788 000266E8 D1 81 01 40 */ stfs f12, 0x140(r1) -/* 8002978C 000266EC D1 61 01 44 */ stfs f11, 0x144(r1) -/* 80029790 000266F0 D1 41 01 48 */ stfs f10, 0x148(r1) -/* 80029794 000266F4 D1 21 01 4C */ stfs f9, 0x14c(r1) -/* 80029798 000266F8 D1 01 01 50 */ stfs f8, 0x150(r1) -/* 8002979C 000266FC D0 E1 01 54 */ stfs f7, 0x154(r1) -/* 800297A0 00026700 D1 A1 00 AC */ stfs f13, 0xac(r1) -/* 800297A4 00026704 D1 81 00 B0 */ stfs f12, 0xb0(r1) -/* 800297A8 00026708 D1 61 00 B4 */ stfs f11, 0xb4(r1) -/* 800297AC 0002670C D1 41 00 B8 */ stfs f10, 0xb8(r1) -/* 800297B0 00026710 D1 21 00 BC */ stfs f9, 0xbc(r1) -/* 800297B4 00026714 D1 01 00 C0 */ stfs f8, 0xc0(r1) -/* 800297B8 00026718 D0 E1 00 C4 */ stfs f7, 0xc4(r1) -/* 800297BC 0002671C D0 C1 00 70 */ stfs f6, 0x70(r1) -/* 800297C0 00026720 D0 A1 00 74 */ stfs f5, 0x74(r1) -/* 800297C4 00026724 D0 81 00 78 */ stfs f4, 0x78(r1) -/* 800297C8 00026728 D0 61 00 7C */ stfs f3, 0x7c(r1) -/* 800297CC 0002672C 48 2E 79 D5 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 800297D0 00026730 FC 00 D8 18 */ frsp f0, f27 -/* 800297D4 00026734 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 800297D8 00026738 80 A1 00 54 */ lwz r5, 0x54(r1) -/* 800297DC 0002673C 80 81 00 58 */ lwz r4, 0x58(r1) -/* 800297E0 00026740 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 800297E4 00026744 80 01 01 38 */ lwz r0, 0x138(r1) -/* 800297E8 00026748 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 800297EC 0002674C 90 A1 00 84 */ stw r5, 0x84(r1) -/* 800297F0 00026750 90 81 00 88 */ stw r4, 0x88(r1) -/* 800297F4 00026754 90 61 00 8C */ stw r3, 0x8c(r1) -/* 800297F8 00026758 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800297FC 0002675C 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_80029800: -/* 80029800 00026760 38 61 00 38 */ addi r3, r1, 0x38 -/* 80029804 00026764 48 31 EB E9 */ bl GreaterThanZero__13CCharAnimTimeCFv -/* 80029808 00026768 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002980C 0002676C 41 82 02 74 */ beq lbl_80029A80 -/* 80029810 00026770 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80029814 00026774 EC 00 D0 28 */ fsubs f0, f0, f26 -/* 80029818 00026778 FC 00 02 10 */ fabs f0, f0 -/* 8002981C 0002677C FC 00 C8 40 */ fcmpo cr0, f0, f25 -/* 80029820 00026780 40 80 FE 34 */ bge lbl_80029654 -/* 80029824 00026784 48 00 02 5C */ b lbl_80029A80 -lbl_80029828: -/* 80029828 00026788 80 9A 00 00 */ lwz r4, 0(r26) -/* 8002982C 0002678C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80029830 00026790 80 84 00 00 */ lwz r4, 0(r4) -/* 80029834 00026794 81 84 00 00 */ lwz r12, 0(r4) -/* 80029838 00026798 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8002983C 0002679C 7D 89 03 A6 */ mtctr r12 -/* 80029840 000267A0 4E 80 04 21 */ bctrl -/* 80029844 000267A4 C3 21 00 28 */ lfs f25, 0x28(r1) -/* 80029848 000267A8 C3 42 83 D0 */ lfs f26, lbl_805AA0F0@sda21(r2) -/* 8002984C 000267AC C3 62 83 D4 */ lfs f27, lbl_805AA0F4@sda21(r2) -/* 80029850 000267B0 48 00 02 0C */ b lbl_80029A5C -lbl_80029854: -/* 80029854 000267B4 80 7A 00 00 */ lwz r3, 0(r26) -/* 80029858 000267B8 7F 05 C3 78 */ mr r5, r24 -/* 8002985C 000267BC 80 FD 02 10 */ lwz r7, 0x210(r29) -/* 80029860 000267C0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80029864 000267C4 80 63 00 00 */ lwz r3, 0(r3) -/* 80029868 000267C8 38 C0 00 10 */ li r6, 0x10 -/* 8002986C 000267CC 39 00 00 00 */ li r8, 0 -/* 80029870 000267D0 48 2D 45 0D */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii -/* 80029874 000267D4 80 1D 02 10 */ lwz r0, 0x210(r29) -/* 80029878 000267D8 7E E5 BB 78 */ mr r5, r23 -/* 8002987C 000267DC 38 81 00 38 */ addi r4, r1, 0x38 -/* 80029880 000267E0 38 C0 00 08 */ li r6, 8 -/* 80029884 000267E4 7C 00 1A 14 */ add r0, r0, r3 -/* 80029888 000267E8 39 00 00 00 */ li r8, 0 -/* 8002988C 000267EC 90 1D 02 10 */ stw r0, 0x210(r29) -/* 80029890 000267F0 80 7A 00 00 */ lwz r3, 0(r26) -/* 80029894 000267F4 80 FD 02 0C */ lwz r7, 0x20c(r29) -/* 80029898 000267F8 80 63 00 00 */ lwz r3, 0(r3) -/* 8002989C 000267FC 48 2D 45 5D */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii -/* 800298A0 00026800 80 1D 02 0C */ lwz r0, 0x20c(r29) -/* 800298A4 00026804 7E C5 B3 78 */ mr r5, r22 -/* 800298A8 00026808 38 81 00 38 */ addi r4, r1, 0x38 -/* 800298AC 0002680C 38 C0 00 14 */ li r6, 0x14 -/* 800298B0 00026810 7C 00 1A 14 */ add r0, r0, r3 -/* 800298B4 00026814 39 00 00 00 */ li r8, 0 -/* 800298B8 00026818 90 1D 02 0C */ stw r0, 0x20c(r29) -/* 800298BC 0002681C 80 7A 00 00 */ lwz r3, 0(r26) -/* 800298C0 00026820 80 FD 02 14 */ lwz r7, 0x214(r29) -/* 800298C4 00026824 80 63 00 00 */ lwz r3, 0(r3) -/* 800298C8 00026828 48 2D 44 39 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii -/* 800298CC 0002682C 80 1D 02 14 */ lwz r0, 0x214(r29) -/* 800298D0 00026830 7E A5 AB 78 */ mr r5, r21 -/* 800298D4 00026834 38 81 00 38 */ addi r4, r1, 0x38 -/* 800298D8 00026838 38 C0 00 14 */ li r6, 0x14 -/* 800298DC 0002683C 7C 00 1A 14 */ add r0, r0, r3 -/* 800298E0 00026840 39 00 00 00 */ li r8, 0 -/* 800298E4 00026844 90 1D 02 14 */ stw r0, 0x214(r29) -/* 800298E8 00026848 80 7A 00 00 */ lwz r3, 0(r26) -/* 800298EC 0002684C 80 FD 02 18 */ lwz r7, 0x218(r29) -/* 800298F0 00026850 80 63 00 00 */ lwz r3, 0(r3) -/* 800298F4 00026854 48 2D 43 91 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii -/* 800298F8 00026858 80 1D 02 18 */ lwz r0, 0x218(r29) -/* 800298FC 0002685C 7F 44 D3 78 */ mr r4, r26 -/* 80029900 00026860 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80029904 00026864 7C 00 1A 14 */ add r0, r0, r3 -/* 80029908 00026868 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8002990C 0002686C 90 1D 02 18 */ stw r0, 0x218(r29) -/* 80029910 00026870 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 80029914 00026874 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80029918 00026878 90 C1 00 20 */ stw r6, 0x20(r1) -/* 8002991C 0002687C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80029920 00026880 48 00 04 3D */ bl "AdvanceAdditiveAnim__9CAnimDataFR23rc_ptr<13CAnimTreeNode>RC13CCharAnimTime" -/* 80029924 00026884 C1 A1 00 D0 */ lfs f13, 0xd0(r1) -/* 80029928 00026888 38 61 00 40 */ addi r3, r1, 0x40 -/* 8002992C 0002688C C1 81 00 D4 */ lfs f12, 0xd4(r1) -/* 80029930 00026890 38 81 00 80 */ addi r4, r1, 0x80 -/* 80029934 00026894 C1 61 00 D8 */ lfs f11, 0xd8(r1) -/* 80029938 00026898 FC 40 68 18 */ frsp f2, f13 -/* 8002993C 0002689C C1 41 00 DC */ lfs f10, 0xdc(r1) -/* 80029940 000268A0 FC 20 60 18 */ frsp f1, f12 -/* 80029944 000268A4 C1 21 00 E0 */ lfs f9, 0xe0(r1) -/* 80029948 000268A8 FC 00 58 18 */ frsp f0, f11 -/* 8002994C 000268AC C1 01 00 E4 */ lfs f8, 0xe4(r1) -/* 80029950 000268B0 C0 E1 00 E8 */ lfs f7, 0xe8(r1) -/* 80029954 000268B4 FC C0 50 18 */ frsp f6, f10 -/* 80029958 000268B8 FC A0 48 18 */ frsp f5, f9 -/* 8002995C 000268BC C3 21 00 C8 */ lfs f25, 0xc8(r1) -/* 80029960 000268C0 FC 80 40 18 */ frsp f4, f8 -/* 80029964 000268C4 80 01 00 CC */ lwz r0, 0xcc(r1) -/* 80029968 000268C8 FC 60 38 18 */ frsp f3, f7 -/* 8002996C 000268CC EF FF 10 2A */ fadds f31, f31, f2 -/* 80029970 000268D0 EF DE 08 2A */ fadds f30, f30, f1 -/* 80029974 000268D4 D3 21 01 10 */ stfs f25, 0x110(r1) -/* 80029978 000268D8 EF BD 00 2A */ fadds f29, f29, f0 -/* 8002997C 000268DC 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80029980 000268E0 90 01 01 14 */ stw r0, 0x114(r1) -/* 80029984 000268E4 D1 A1 01 18 */ stfs f13, 0x118(r1) -/* 80029988 000268E8 D1 81 01 1C */ stfs f12, 0x11c(r1) -/* 8002998C 000268EC D1 61 01 20 */ stfs f11, 0x120(r1) -/* 80029990 000268F0 D1 41 01 24 */ stfs f10, 0x124(r1) -/* 80029994 000268F4 D1 21 01 28 */ stfs f9, 0x128(r1) -/* 80029998 000268F8 D1 01 01 2C */ stfs f8, 0x12c(r1) -/* 8002999C 000268FC D0 E1 01 30 */ stfs f7, 0x130(r1) -/* 800299A0 00026900 D1 A1 00 90 */ stfs f13, 0x90(r1) -/* 800299A4 00026904 D1 81 00 94 */ stfs f12, 0x94(r1) -/* 800299A8 00026908 D1 61 00 98 */ stfs f11, 0x98(r1) -/* 800299AC 0002690C D1 41 00 9C */ stfs f10, 0x9c(r1) -/* 800299B0 00026910 D1 21 00 A0 */ stfs f9, 0xa0(r1) -/* 800299B4 00026914 D1 01 00 A4 */ stfs f8, 0xa4(r1) -/* 800299B8 00026918 D0 E1 00 A8 */ stfs f7, 0xa8(r1) -/* 800299BC 0002691C D0 C1 00 60 */ stfs f6, 0x60(r1) -/* 800299C0 00026920 D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 800299C4 00026924 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 800299C8 00026928 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 800299CC 0002692C 48 2E 77 D5 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 800299D0 00026930 FC 00 C8 18 */ frsp f0, f25 -/* 800299D4 00026934 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 800299D8 00026938 80 C1 00 44 */ lwz r6, 0x44(r1) -/* 800299DC 0002693C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800299E0 00026940 80 A1 00 48 */ lwz r5, 0x48(r1) -/* 800299E4 00026944 80 81 00 4C */ lwz r4, 0x4c(r1) -/* 800299E8 00026948 80 01 01 14 */ lwz r0, 0x114(r1) -/* 800299EC 0002694C D0 21 00 80 */ stfs f1, 0x80(r1) -/* 800299F0 00026950 90 C1 00 84 */ stw r6, 0x84(r1) -/* 800299F4 00026954 90 A1 00 88 */ stw r5, 0x88(r1) -/* 800299F8 00026958 90 81 00 8C */ stw r4, 0x8c(r1) -/* 800299FC 0002695C D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80029A00 00026960 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80029A04 00026964 80 9A 00 00 */ lwz r4, 0(r26) -/* 80029A08 00026968 80 84 00 00 */ lwz r4, 0(r4) -/* 80029A0C 0002696C 81 84 00 00 */ lwz r12, 0(r4) -/* 80029A10 00026970 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80029A14 00026974 7D 89 03 A6 */ mtctr r12 -/* 80029A18 00026978 4E 80 04 21 */ bctrl -/* 80029A1C 0002697C C3 21 00 18 */ lfs f25, 0x18(r1) -/* 80029A20 00026980 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80029A24 00026984 D3 21 00 08 */ stfs f25, 8(r1) -/* 80029A28 00026988 FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 80029A2C 0002698C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80029A30 00026990 40 80 00 0C */ bge lbl_80029A3C -/* 80029A34 00026994 38 61 00 08 */ addi r3, r1, 8 -/* 80029A38 00026998 48 00 00 08 */ b lbl_80029A40 -lbl_80029A3C: -/* 80029A3C 0002699C 38 61 00 0C */ addi r3, r1, 0xc -lbl_80029A40: -/* 80029A40 000269A0 C0 23 00 00 */ lfs f1, 0(r3) -/* 80029A44 000269A4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80029A48 000269A8 48 31 F3 A5 */ bl __ct__13CCharAnimTimeFf -/* 80029A4C 000269AC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80029A50 000269B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80029A54 000269B4 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80029A58 000269B8 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_80029A5C: -/* 80029A5C 000269BC EC 19 D0 28 */ fsubs f0, f25, f26 -/* 80029A60 000269C0 FC 00 02 10 */ fabs f0, f0 -/* 80029A64 000269C4 FC 00 D8 40 */ fcmpo cr0, f0, f27 -/* 80029A68 000269C8 41 80 00 18 */ blt lbl_80029A80 -/* 80029A6C 000269CC C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80029A70 000269D0 EC 00 D0 28 */ fsubs f0, f0, f26 -/* 80029A74 000269D4 FC 00 02 10 */ fabs f0, f0 -/* 80029A78 000269D8 FC 00 D8 40 */ fcmpo cr0, f0, f27 -/* 80029A7C 000269DC 40 80 FD D8 */ bge lbl_80029854 -lbl_80029A80: -/* 80029A80 000269E0 3B DE 00 01 */ addi r30, r30, 1 -/* 80029A84 000269E4 3B 7B 00 28 */ addi r27, r27, 0x28 -lbl_80029A88: -/* 80029A88 000269E8 7C 1E F8 40 */ cmplw r30, r31 -/* 80029A8C 000269EC 41 80 FB 98 */ blt lbl_80029624 -/* 80029A90 000269F0 D3 FC 00 00 */ stfs f31, 0(r28) -/* 80029A94 000269F4 D3 DC 00 04 */ stfs f30, 4(r28) -/* 80029A98 000269F8 D3 BC 00 08 */ stfs f29, 8(r28) -/* 80029A9C 000269FC C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80029AA0 00026A00 D0 1C 00 0C */ stfs f0, 0xc(r28) -/* 80029AA4 00026A04 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80029AA8 00026A08 D0 1C 00 10 */ stfs f0, 0x10(r28) -/* 80029AAC 00026A0C C0 01 00 88 */ lfs f0, 0x88(r1) -/* 80029AB0 00026A10 D0 1C 00 14 */ stfs f0, 0x14(r28) -/* 80029AB4 00026A14 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 80029AB8 00026A18 D0 1C 00 18 */ stfs f0, 0x18(r28) -/* 80029ABC 00026A1C E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 -/* 80029AC0 00026A20 CB E1 01 F0 */ lfd f31, 0x1f0(r1) -/* 80029AC4 00026A24 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 -/* 80029AC8 00026A28 CB C1 01 E0 */ lfd f30, 0x1e0(r1) -/* 80029ACC 00026A2C E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 -/* 80029AD0 00026A30 CB A1 01 D0 */ lfd f29, 0x1d0(r1) -/* 80029AD4 00026A34 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 -/* 80029AD8 00026A38 CB 81 01 C0 */ lfd f28, 0x1c0(r1) -/* 80029ADC 00026A3C E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 -/* 80029AE0 00026A40 CB 61 01 B0 */ lfd f27, 0x1b0(r1) -/* 80029AE4 00026A44 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 -/* 80029AE8 00026A48 CB 41 01 A0 */ lfd f26, 0x1a0(r1) -/* 80029AEC 00026A4C E3 21 01 98 */ psq_l f25, 408(r1), 0, qr0 -/* 80029AF0 00026A50 CB 21 01 90 */ lfd f25, 0x190(r1) -/* 80029AF4 00026A54 BA 81 01 60 */ lmw r20, 0x160(r1) -/* 80029AF8 00026A58 80 01 02 04 */ lwz r0, 0x204(r1) -/* 80029AFC 00026A5C 7C 08 03 A6 */ mtlr r0 -/* 80029B00 00026A60 38 21 02 00 */ addi r1, r1, 0x200 -/* 80029B04 00026A64 4E 80 00 20 */ blr - -.global UpdateAdditiveAnims__9CAnimDataFf -UpdateAdditiveAnims__9CAnimDataFf: -/* 80029B08 00026A68 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80029B0C 00026A6C 7C 08 02 A6 */ mflr r0 -/* 80029B10 00026A70 90 01 00 64 */ stw r0, 0x64(r1) -/* 80029B14 00026A74 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80029B18 00026A78 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80029B1C 00026A7C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80029B20 00026A80 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80029B24 00026A84 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 80029B28 00026A88 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80029B2C 00026A8C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80029B30 00026A90 7C 9C 23 78 */ mr r28, r4 -/* 80029B34 00026A94 FF A0 08 90 */ fmr f29, f1 -/* 80029B38 00026A98 3B FC 04 38 */ addi r31, r28, 0x438 -/* 80029B3C 00026A9C C3 C2 83 D0 */ lfs f30, lbl_805AA0F0@sda21(r2) -/* 80029B40 00026AA0 C3 E2 83 D4 */ lfs f31, lbl_805AA0F4@sda21(r2) -/* 80029B44 00026AA4 7C 7B 1B 78 */ mr r27, r3 -/* 80029B48 00026AA8 7F FE FB 78 */ mr r30, r31 -/* 80029B4C 00026AAC 48 00 00 7C */ b lbl_80029BC8 -lbl_80029B50: -/* 80029B50 00026AB0 FC 20 E8 90 */ fmr f1, f29 -/* 80029B54 00026AB4 3B BE 00 04 */ addi r29, r30, 4 -/* 80029B58 00026AB8 7F A3 EB 78 */ mr r3, r29 -/* 80029B5C 00026ABC 48 33 40 9D */ bl Update__21CAdditiveAnimPlaybackFf -/* 80029B60 00026AC0 80 9D 00 08 */ lwz r4, 8(r29) -/* 80029B64 00026AC4 38 61 00 08 */ addi r3, r1, 8 -/* 80029B68 00026AC8 80 84 00 00 */ lwz r4, 0(r4) -/* 80029B6C 00026ACC 81 84 00 00 */ lwz r12, 0(r4) -/* 80029B70 00026AD0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80029B74 00026AD4 7D 89 03 A6 */ mtctr r12 -/* 80029B78 00026AD8 4E 80 04 21 */ bctrl -/* 80029B7C 00026ADC C0 01 00 08 */ lfs f0, 8(r1) -/* 80029B80 00026AE0 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80029B84 00026AE4 FC 00 02 10 */ fabs f0, f0 -/* 80029B88 00026AE8 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80029B8C 00026AEC 40 80 00 18 */ bge lbl_80029BA4 -/* 80029B90 00026AF0 88 1D 00 20 */ lbz r0, 0x20(r29) -/* 80029B94 00026AF4 28 00 00 00 */ cmplwi r0, 0 -/* 80029B98 00026AF8 41 82 00 0C */ beq lbl_80029BA4 -/* 80029B9C 00026AFC 7F A3 EB 78 */ mr r3, r29 -/* 80029BA0 00026B00 48 33 41 71 */ bl FadeOut__21CAdditiveAnimPlaybackFv -lbl_80029BA4: -/* 80029BA4 00026B04 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 80029BA8 00026B08 2C 00 00 04 */ cmpwi r0, 4 -/* 80029BAC 00026B0C 40 82 00 18 */ bne lbl_80029BC4 -/* 80029BB0 00026B10 7F C4 F3 78 */ mr r4, r30 -/* 80029BB4 00026B14 38 7C 04 34 */ addi r3, r28, 0x434 -/* 80029BB8 00026B18 48 00 00 61 */ bl sub_80029c18 -/* 80029BBC 00026B1C 7C 7E 1B 78 */ mr r30, r3 -/* 80029BC0 00026B20 48 00 00 08 */ b lbl_80029BC8 -lbl_80029BC4: -/* 80029BC4 00026B24 3B DE 00 28 */ addi r30, r30, 0x28 -lbl_80029BC8: -/* 80029BC8 00026B28 80 1C 04 34 */ lwz r0, 0x434(r28) -/* 80029BCC 00026B2C 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80029BD0 00026B30 7C 1F 02 14 */ add r0, r31, r0 -/* 80029BD4 00026B34 7C 1E 00 40 */ cmplw r30, r0 -/* 80029BD8 00026B38 40 82 FF 78 */ bne lbl_80029B50 -/* 80029BDC 00026B3C FC 20 E8 90 */ fmr f1, f29 -/* 80029BE0 00026B40 7F 63 DB 78 */ mr r3, r27 -/* 80029BE4 00026B44 7F 84 E3 78 */ mr r4, r28 -/* 80029BE8 00026B48 4B FF F9 71 */ bl AdvanceAdditiveAnims__9CAnimDataFf -/* 80029BEC 00026B4C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80029BF0 00026B50 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80029BF4 00026B54 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80029BF8 00026B58 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80029BFC 00026B5C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80029C00 00026B60 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80029C04 00026B64 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80029C08 00026B68 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80029C0C 00026B6C 7C 08 03 A6 */ mtlr r0 -/* 80029C10 00026B70 38 21 00 60 */ addi r1, r1, 0x60 -/* 80029C14 00026B74 4E 80 00 20 */ blr - -.global sub_80029c18 -sub_80029c18: -/* 80029C18 00026B78 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80029C1C 00026B7C 7C 08 02 A6 */ mflr r0 -/* 80029C20 00026B80 90 01 00 24 */ stw r0, 0x24(r1) -/* 80029C24 00026B84 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80029C28 00026B88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80029C2C 00026B8C 7C 9E 23 78 */ mr r30, r4 -/* 80029C30 00026B90 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80029C34 00026B94 7C 7D 1B 78 */ mr r29, r3 -/* 80029C38 00026B98 38 1D 00 04 */ addi r0, r29, 4 -/* 80029C3C 00026B9C 7C 1E 00 40 */ cmplw r30, r0 -/* 80029C40 00026BA0 41 80 00 F0 */ blt lbl_80029D30 -/* 80029C44 00026BA4 80 1D 00 00 */ lwz r0, 0(r29) -/* 80029C48 00026BA8 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80029C4C 00026BAC 7C 7D 02 14 */ add r3, r29, r0 -/* 80029C50 00026BB0 38 03 00 04 */ addi r0, r3, 4 -/* 80029C54 00026BB4 7C 1E 00 40 */ cmplw r30, r0 -/* 80029C58 00026BB8 40 80 00 D8 */ bge lbl_80029D30 -/* 80029C5C 00026BBC 7F DF F3 78 */ mr r31, r30 -/* 80029C60 00026BC0 48 00 00 80 */ b lbl_80029CE0 -lbl_80029C64: -/* 80029C64 00026BC4 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80029C68 00026BC8 90 1F 00 00 */ stw r0, 0(r31) -/* 80029C6C 00026BCC 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80029C70 00026BD0 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 80029C74 00026BD4 90 7F 00 04 */ stw r3, 4(r31) -/* 80029C78 00026BD8 90 1F 00 08 */ stw r0, 8(r31) -/* 80029C7C 00026BDC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80029C80 00026BE0 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80029C84 00026BE4 7C 03 00 40 */ cmplw r3, r0 -/* 80029C88 00026BE8 41 82 00 24 */ beq lbl_80029CAC -/* 80029C8C 00026BEC 38 7F 00 0C */ addi r3, r31, 0xc -/* 80029C90 00026BF0 48 00 73 11 */ bl sub_80030fa0 -/* 80029C94 00026BF4 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80029C98 00026BF8 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80029C9C 00026BFC 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80029CA0 00026C00 80 64 00 04 */ lwz r3, 4(r4) -/* 80029CA4 00026C04 38 03 00 01 */ addi r0, r3, 1 -/* 80029CA8 00026C08 90 04 00 04 */ stw r0, 4(r4) -lbl_80029CAC: -/* 80029CAC 00026C0C C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80029CB0 00026C10 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80029CB4 00026C14 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 80029CB8 00026C18 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80029CBC 00026C1C 88 1F 00 40 */ lbz r0, 0x40(r31) -/* 80029CC0 00026C20 98 1F 00 18 */ stb r0, 0x18(r31) -/* 80029CC4 00026C24 C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 80029CC8 00026C28 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80029CCC 00026C2C 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 80029CD0 00026C30 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80029CD4 00026C34 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 80029CD8 00026C38 98 1F 00 24 */ stb r0, 0x24(r31) -/* 80029CDC 00026C3C 3B FF 00 28 */ addi r31, r31, 0x28 -lbl_80029CE0: -/* 80029CE0 00026C40 80 1D 00 00 */ lwz r0, 0(r29) -/* 80029CE4 00026C44 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80029CE8 00026C48 7C 7D 02 14 */ add r3, r29, r0 -/* 80029CEC 00026C4C 38 63 FF DC */ addi r3, r3, -36 -/* 80029CF0 00026C50 7C 1F 18 40 */ cmplw r31, r3 -/* 80029CF4 00026C54 41 80 FF 70 */ blt lbl_80029C64 -/* 80029CF8 00026C58 28 03 00 00 */ cmplwi r3, 0 -/* 80029CFC 00026C5C 41 82 00 20 */ beq lbl_80029D1C -/* 80029D00 00026C60 34 03 00 04 */ addic. r0, r3, 4 -/* 80029D04 00026C64 41 82 00 18 */ beq lbl_80029D1C -/* 80029D08 00026C68 34 63 00 0C */ addic. r3, r3, 0xc -/* 80029D0C 00026C6C 41 82 00 10 */ beq lbl_80029D1C -/* 80029D10 00026C70 28 03 00 00 */ cmplwi r3, 0 -/* 80029D14 00026C74 41 82 00 08 */ beq lbl_80029D1C -/* 80029D18 00026C78 48 00 72 89 */ bl sub_80030fa0 -lbl_80029D1C: -/* 80029D1C 00026C7C 80 9D 00 00 */ lwz r4, 0(r29) -/* 80029D20 00026C80 7F C3 F3 78 */ mr r3, r30 -/* 80029D24 00026C84 38 04 FF FF */ addi r0, r4, -1 -/* 80029D28 00026C88 90 1D 00 00 */ stw r0, 0(r29) -/* 80029D2C 00026C8C 48 00 00 14 */ b lbl_80029D40 -lbl_80029D30: -/* 80029D30 00026C90 80 1D 00 00 */ lwz r0, 0(r29) -/* 80029D34 00026C94 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80029D38 00026C98 7C 7D 02 14 */ add r3, r29, r0 -/* 80029D3C 00026C9C 38 63 00 04 */ addi r3, r3, 4 -lbl_80029D40: -/* 80029D40 00026CA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80029D44 00026CA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80029D48 00026CA8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80029D4C 00026CAC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80029D50 00026CB0 7C 08 03 A6 */ mtlr r0 -/* 80029D54 00026CB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80029D58 00026CB8 4E 80 00 20 */ blr - -.global "AdvanceAdditiveAnim__9CAnimDataFR23rc_ptr<13CAnimTreeNode>RC13CCharAnimTime" -"AdvanceAdditiveAnim__9CAnimDataFR23rc_ptr<13CAnimTreeNode>RC13CCharAnimTime": -/* 80029D5C 00026CBC 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80029D60 00026CC0 7C 08 02 A6 */ mflr r0 -/* 80029D64 00026CC4 90 01 00 94 */ stw r0, 0x94(r1) -/* 80029D68 00026CC8 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80029D6C 00026CCC F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80029D70 00026CD0 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80029D74 00026CD4 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80029D78 00026CD8 7C 9F 23 78 */ mr r31, r4 -/* 80029D7C 00026CDC 7C 7E 1B 78 */ mr r30, r3 -/* 80029D80 00026CE0 80 84 00 00 */ lwz r4, 0(r4) -/* 80029D84 00026CE4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80029D88 00026CE8 80 84 00 00 */ lwz r4, 0(r4) -/* 80029D8C 00026CEC 81 84 00 00 */ lwz r12, 0(r4) -/* 80029D90 00026CF0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80029D94 00026CF4 7D 89 03 A6 */ mtctr r12 -/* 80029D98 00026CF8 4E 80 04 21 */ bctrl -/* 80029D9C 00026CFC 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80029DA0 00026D00 38 61 00 0C */ addi r3, r1, 0xc -/* 80029DA4 00026D04 C0 C1 00 2C */ lfs f6, 0x2c(r1) -/* 80029DA8 00026D08 C0 A1 00 30 */ lfs f5, 0x30(r1) -/* 80029DAC 00026D0C C0 81 00 34 */ lfs f4, 0x34(r1) -/* 80029DB0 00026D10 C0 61 00 38 */ lfs f3, 0x38(r1) -/* 80029DB4 00026D14 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 80029DB8 00026D18 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80029DBC 00026D1C C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80029DC0 00026D20 80 9F 00 00 */ lwz r4, 0(r31) -/* 80029DC4 00026D24 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80029DC8 00026D28 C3 E1 00 24 */ lfs f31, 0x24(r1) -/* 80029DCC 00026D2C D0 C1 00 50 */ stfs f6, 0x50(r1) -/* 80029DD0 00026D30 80 84 00 00 */ lwz r4, 0(r4) -/* 80029DD4 00026D34 D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 80029DD8 00026D38 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 80029DDC 00026D3C D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 80029DE0 00026D40 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80029DE4 00026D44 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80029DE8 00026D48 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80029DEC 00026D4C 48 00 01 79 */ bl Simplified__11IAnimReaderFv -/* 80029DF0 00026D50 88 01 00 14 */ lbz r0, 0x14(r1) -/* 80029DF4 00026D54 28 00 00 00 */ cmplwi r0, 0 -/* 80029DF8 00026D58 98 01 00 20 */ stb r0, 0x20(r1) -/* 80029DFC 00026D5C 41 82 00 24 */ beq lbl_80029E20 -/* 80029E00 00026D60 34 81 00 18 */ addic. r4, r1, 0x18 -/* 80029E04 00026D64 41 82 00 1C */ beq lbl_80029E20 -/* 80029E08 00026D68 88 61 00 0C */ lbz r3, 0xc(r1) -/* 80029E0C 00026D6C 38 00 00 00 */ li r0, 0 -/* 80029E10 00026D70 98 64 00 00 */ stb r3, 0(r4) -/* 80029E14 00026D74 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80029E18 00026D78 90 64 00 04 */ stw r3, 4(r4) -/* 80029E1C 00026D7C 98 01 00 0C */ stb r0, 0xc(r1) -lbl_80029E20: -/* 80029E20 00026D80 88 01 00 14 */ lbz r0, 0x14(r1) -/* 80029E24 00026D84 28 00 00 00 */ cmplwi r0, 0 -/* 80029E28 00026D88 41 82 00 38 */ beq lbl_80029E60 -/* 80029E2C 00026D8C 34 61 00 0C */ addic. r3, r1, 0xc -/* 80029E30 00026D90 41 82 00 30 */ beq lbl_80029E60 -/* 80029E34 00026D94 88 03 00 00 */ lbz r0, 0(r3) -/* 80029E38 00026D98 28 00 00 00 */ cmplwi r0, 0 -/* 80029E3C 00026D9C 41 82 00 24 */ beq lbl_80029E60 -/* 80029E40 00026DA0 80 63 00 04 */ lwz r3, 4(r3) -/* 80029E44 00026DA4 28 03 00 00 */ cmplwi r3, 0 -/* 80029E48 00026DA8 41 82 00 18 */ beq lbl_80029E60 -/* 80029E4C 00026DAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80029E50 00026DB0 38 80 00 01 */ li r4, 1 -/* 80029E54 00026DB4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80029E58 00026DB8 7D 89 03 A6 */ mtctr r12 -/* 80029E5C 00026DBC 4E 80 04 21 */ bctrl -lbl_80029E60: -/* 80029E60 00026DC0 88 01 00 20 */ lbz r0, 0x20(r1) -/* 80029E64 00026DC4 38 60 00 00 */ li r3, 0 -/* 80029E68 00026DC8 98 61 00 14 */ stb r3, 0x14(r1) -/* 80029E6C 00026DCC 28 00 00 00 */ cmplwi r0, 0 -/* 80029E70 00026DD0 41 82 00 48 */ beq lbl_80029EB8 -/* 80029E74 00026DD4 38 61 00 08 */ addi r3, r1, 8 -/* 80029E78 00026DD8 38 81 00 18 */ addi r4, r1, 0x18 -/* 80029E7C 00026DDC 48 2C 9D 7D */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" -/* 80029E80 00026DE0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80029E84 00026DE4 80 01 00 08 */ lwz r0, 8(r1) -/* 80029E88 00026DE8 7C 03 00 40 */ cmplw r3, r0 -/* 80029E8C 00026DEC 41 82 00 24 */ beq lbl_80029EB0 -/* 80029E90 00026DF0 7F E3 FB 78 */ mr r3, r31 -/* 80029E94 00026DF4 48 00 71 0D */ bl sub_80030fa0 -/* 80029E98 00026DF8 80 01 00 08 */ lwz r0, 8(r1) -/* 80029E9C 00026DFC 90 1F 00 00 */ stw r0, 0(r31) -/* 80029EA0 00026E00 80 9F 00 00 */ lwz r4, 0(r31) -/* 80029EA4 00026E04 80 64 00 04 */ lwz r3, 4(r4) -/* 80029EA8 00026E08 38 03 00 01 */ addi r0, r3, 1 -/* 80029EAC 00026E0C 90 04 00 04 */ stw r0, 4(r4) -lbl_80029EB0: -/* 80029EB0 00026E10 38 61 00 08 */ addi r3, r1, 8 -/* 80029EB4 00026E14 48 00 70 ED */ bl sub_80030fa0 -lbl_80029EB8: -/* 80029EB8 00026E18 D3 FE 00 00 */ stfs f31, 0(r30) -/* 80029EBC 00026E1C 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80029EC0 00026E20 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80029EC4 00026E24 90 1E 00 04 */ stw r0, 4(r30) -/* 80029EC8 00026E28 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 80029ECC 00026E2C D0 1E 00 08 */ stfs f0, 8(r30) -/* 80029ED0 00026E30 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80029ED4 00026E34 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 80029ED8 00026E38 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 80029EDC 00026E3C D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 80029EE0 00026E40 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 80029EE4 00026E44 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 80029EE8 00026E48 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 80029EEC 00026E4C D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 80029EF0 00026E50 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80029EF4 00026E54 D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 80029EF8 00026E58 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80029EFC 00026E5C 88 01 00 20 */ lbz r0, 0x20(r1) -/* 80029F00 00026E60 28 00 00 00 */ cmplwi r0, 0 -/* 80029F04 00026E64 41 82 00 38 */ beq lbl_80029F3C -/* 80029F08 00026E68 34 61 00 18 */ addic. r3, r1, 0x18 -/* 80029F0C 00026E6C 41 82 00 30 */ beq lbl_80029F3C -/* 80029F10 00026E70 88 03 00 00 */ lbz r0, 0(r3) -/* 80029F14 00026E74 28 00 00 00 */ cmplwi r0, 0 -/* 80029F18 00026E78 41 82 00 24 */ beq lbl_80029F3C -/* 80029F1C 00026E7C 80 63 00 04 */ lwz r3, 4(r3) -/* 80029F20 00026E80 28 03 00 00 */ cmplwi r3, 0 -/* 80029F24 00026E84 41 82 00 18 */ beq lbl_80029F3C -/* 80029F28 00026E88 81 83 00 00 */ lwz r12, 0(r3) -/* 80029F2C 00026E8C 38 80 00 01 */ li r4, 1 -/* 80029F30 00026E90 81 8C 00 08 */ lwz r12, 8(r12) -/* 80029F34 00026E94 7D 89 03 A6 */ mtctr r12 -/* 80029F38 00026E98 4E 80 04 21 */ bctrl -lbl_80029F3C: -/* 80029F3C 00026E9C 38 00 00 00 */ li r0, 0 -/* 80029F40 00026EA0 98 01 00 20 */ stb r0, 0x20(r1) -/* 80029F44 00026EA4 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80029F48 00026EA8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80029F4C 00026EAC CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80029F50 00026EB0 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80029F54 00026EB4 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80029F58 00026EB8 7C 08 03 A6 */ mtlr r0 -/* 80029F5C 00026EBC 38 21 00 90 */ addi r1, r1, 0x90 -/* 80029F60 00026EC0 4E 80 00 20 */ blr - -.global Simplified__11IAnimReaderFv -Simplified__11IAnimReaderFv: -/* 80029F64 00026EC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80029F68 00026EC8 7C 08 02 A6 */ mflr r0 -/* 80029F6C 00026ECC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80029F70 00026ED0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80029F74 00026ED4 7C 7F 1B 78 */ mr r31, r3 -/* 80029F78 00026ED8 81 84 00 00 */ lwz r12, 0(r4) -/* 80029F7C 00026EDC 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 80029F80 00026EE0 7D 89 03 A6 */ mtctr r12 -/* 80029F84 00026EE4 4E 80 04 21 */ bctrl -/* 80029F88 00026EE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80029F8C 00026EEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80029F90 00026EF0 7C 08 03 A6 */ mtlr r0 -/* 80029F94 00026EF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80029F98 00026EF8 4E 80 00 20 */ blr - -.global IsAdditiveAnimation__9CAnimDataCFUi -IsAdditiveAnimation__9CAnimDataCFUi: -/* 80029F9C 00026EFC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80029FA0 00026F00 7C 08 02 A6 */ mflr r0 -/* 80029FA4 00026F04 54 85 10 3A */ slwi r5, r4, 2 -/* 80029FA8 00026F08 90 01 00 44 */ stw r0, 0x44(r1) -/* 80029FAC 00026F0C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80029FB0 00026F10 89 21 00 0C */ lbz r9, 0xc(r1) -/* 80029FB4 00026F14 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80029FB8 00026F18 83 E3 00 08 */ lwz r31, 8(r3) -/* 80029FBC 00026F1C 80 C3 00 C8 */ lwz r6, 0xc8(r3) -/* 80029FC0 00026F20 38 61 00 18 */ addi r3, r1, 0x18 -/* 80029FC4 00026F24 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 80029FC8 00026F28 7C E6 28 2E */ lwzx r7, r6, r5 -/* 80029FCC 00026F2C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80029FD0 00026F30 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80029FD4 00026F34 81 1F 00 4C */ lwz r8, 0x4c(r31) -/* 80029FD8 00026F38 90 E1 00 30 */ stw r7, 0x30(r1) -/* 80029FDC 00026F3C 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80029FE0 00026F40 38 E1 00 08 */ addi r7, r1, 8 -/* 80029FE4 00026F44 7D 08 02 14 */ add r8, r8, r0 -/* 80029FE8 00026F48 91 01 00 28 */ stw r8, 0x28(r1) -/* 80029FEC 00026F4C 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 80029FF0 00026F50 99 21 00 10 */ stb r9, 0x10(r1) -/* 80029FF4 00026F54 91 01 00 24 */ stw r8, 0x24(r1) -/* 80029FF8 00026F58 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80029FFC 00026F5C 99 21 00 08 */ stb r9, 8(r1) -/* 8002A000 00026F60 91 01 00 20 */ stw r8, 0x20(r1) -/* 8002A004 00026F64 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8002A008 00026F68 48 00 71 E1 */ bl "lower_bound,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl79pair_sorter_finder,Q24rstl8less>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_p" -/* 8002A00C 00026F6C 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8002A010 00026F70 38 80 00 00 */ li r4, 0 -/* 8002A014 00026F74 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8002A018 00026F78 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8002A01C 00026F7C 7C 05 00 40 */ cmplw r5, r0 -/* 8002A020 00026F80 41 82 00 18 */ beq lbl_8002A038 -/* 8002A024 00026F84 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8002A028 00026F88 80 05 00 00 */ lwz r0, 0(r5) -/* 8002A02C 00026F8C 7C 03 00 40 */ cmplw r3, r0 -/* 8002A030 00026F90 41 80 00 08 */ blt lbl_8002A038 -/* 8002A034 00026F94 38 80 00 01 */ li r4, 1 -lbl_8002A038: -/* 8002A038 00026F98 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8002A03C 00026F9C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002A040 00026FA0 41 82 00 08 */ beq lbl_8002A048 -/* 8002A044 00026FA4 38 81 00 14 */ addi r4, r1, 0x14 -lbl_8002A048: -/* 8002A048 00026FA8 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8002A04C 00026FAC 80 7F 00 4C */ lwz r3, 0x4c(r31) -/* 8002A050 00026FB0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8002A054 00026FB4 80 84 00 00 */ lwz r4, 0(r4) -/* 8002A058 00026FB8 7C 03 02 14 */ add r0, r3, r0 -/* 8002A05C 00026FBC 7C 64 00 50 */ subf r3, r4, r0 -/* 8002A060 00026FC0 7C 00 20 50 */ subf r0, r0, r4 -/* 8002A064 00026FC4 7C 60 03 78 */ or r0, r3, r0 -/* 8002A068 00026FC8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8002A06C 00026FCC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8002A070 00026FD0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8002A074 00026FD4 7C 08 03 A6 */ mtlr r0 -/* 8002A078 00026FD8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8002A07C 00026FDC 4E 80 00 20 */ blr - -.global GetRootAnimationTree__9CAnimDataCFv -GetRootAnimationTree__9CAnimDataCFv: -/* 8002A080 00026FE0 38 63 01 F8 */ addi r3, r3, 0x1f8 -/* 8002A084 00026FE4 4E 80 00 20 */ blr - -.global GetAdditiveAnimationTree__9CAnimDataCFUi -GetAdditiveAnimationTree__9CAnimDataCFUi: -/* 8002A088 00026FE8 80 03 04 34 */ lwz r0, 0x434(r3) -/* 8002A08C 00026FEC 38 C3 04 38 */ addi r6, r3, 0x438 -/* 8002A090 00026FF0 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 8002A094 00026FF4 54 83 10 3A */ slwi r3, r4, 2 -/* 8002A098 00026FF8 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002A09C 00026FFC 7C 85 18 2E */ lwzx r4, r5, r3 -/* 8002A0A0 00027000 7C 66 02 14 */ add r3, r6, r0 -/* 8002A0A4 00027004 48 00 00 14 */ b lbl_8002A0B8 -lbl_8002A0A8: -/* 8002A0A8 00027008 80 06 00 00 */ lwz r0, 0(r6) -/* 8002A0AC 0002700C 7C 04 00 40 */ cmplw r4, r0 -/* 8002A0B0 00027010 41 82 00 10 */ beq lbl_8002A0C0 -/* 8002A0B4 00027014 38 C6 00 28 */ addi r6, r6, 0x28 -lbl_8002A0B8: -/* 8002A0B8 00027018 7C 06 18 40 */ cmplw r6, r3 -/* 8002A0BC 0002701C 40 82 FF EC */ bne lbl_8002A0A8 -lbl_8002A0C0: -/* 8002A0C0 00027020 38 66 00 0C */ addi r3, r6, 0xc -/* 8002A0C4 00027024 4E 80 00 20 */ blr - -.global IsAdditiveAnimationAdded__9CAnimDataCFUi -IsAdditiveAnimationAdded__9CAnimDataCFUi: -/* 8002A0C8 00027028 80 03 04 34 */ lwz r0, 0x434(r3) -/* 8002A0CC 0002702C 38 C3 04 38 */ addi r6, r3, 0x438 -/* 8002A0D0 00027030 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 8002A0D4 00027034 54 83 10 3A */ slwi r3, r4, 2 -/* 8002A0D8 00027038 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002A0DC 0002703C 7C 85 18 2E */ lwzx r4, r5, r3 -/* 8002A0E0 00027040 7C 66 02 14 */ add r3, r6, r0 -/* 8002A0E4 00027044 48 00 00 1C */ b lbl_8002A100 -lbl_8002A0E8: -/* 8002A0E8 00027048 80 06 00 00 */ lwz r0, 0(r6) -/* 8002A0EC 0002704C 7C 04 00 40 */ cmplw r4, r0 -/* 8002A0F0 00027050 40 82 00 0C */ bne lbl_8002A0FC -/* 8002A0F4 00027054 38 60 00 01 */ li r3, 1 -/* 8002A0F8 00027058 4E 80 00 20 */ blr -lbl_8002A0FC: -/* 8002A0FC 0002705C 38 C6 00 28 */ addi r6, r6, 0x28 -lbl_8002A100: -/* 8002A100 00027060 7C 06 18 40 */ cmplw r6, r3 -/* 8002A104 00027064 40 82 FF E4 */ bne lbl_8002A0E8 -/* 8002A108 00027068 38 60 00 00 */ li r3, 0 -/* 8002A10C 0002706C 4E 80 00 20 */ blr - -.global GetAdditiveAnimationWeight__9CAnimDataFUi -GetAdditiveAnimationWeight__9CAnimDataFUi: -/* 8002A110 00027070 80 03 04 34 */ lwz r0, 0x434(r3) -/* 8002A114 00027074 38 C3 04 38 */ addi r6, r3, 0x438 -/* 8002A118 00027078 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 8002A11C 0002707C 54 83 10 3A */ slwi r3, r4, 2 -/* 8002A120 00027080 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002A124 00027084 7C 85 18 2E */ lwzx r4, r5, r3 -/* 8002A128 00027088 7C 66 02 14 */ add r3, r6, r0 -/* 8002A12C 0002708C 48 00 00 1C */ b lbl_8002A148 -lbl_8002A130: -/* 8002A130 00027090 80 06 00 00 */ lwz r0, 0(r6) -/* 8002A134 00027094 7C 04 00 40 */ cmplw r4, r0 -/* 8002A138 00027098 40 82 00 0C */ bne lbl_8002A144 -/* 8002A13C 0002709C C0 26 00 10 */ lfs f1, 0x10(r6) -/* 8002A140 000270A0 4E 80 00 20 */ blr -lbl_8002A144: -/* 8002A144 000270A4 38 C6 00 28 */ addi r6, r6, 0x28 -lbl_8002A148: -/* 8002A148 000270A8 7C 06 18 40 */ cmplw r6, r3 -/* 8002A14C 000270AC 40 82 FF E4 */ bne lbl_8002A130 -/* 8002A150 000270B0 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) -/* 8002A154 000270B4 4E 80 00 20 */ blr - -.global DelAdditiveAnimation__9CAnimDataFUi -DelAdditiveAnimation__9CAnimDataFUi: -/* 8002A158 000270B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002A15C 000270BC 7C 08 02 A6 */ mflr r0 -/* 8002A160 000270C0 38 C3 04 38 */ addi r6, r3, 0x438 -/* 8002A164 000270C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002A168 000270C8 80 03 04 34 */ lwz r0, 0x434(r3) -/* 8002A16C 000270CC 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 8002A170 000270D0 54 83 10 3A */ slwi r3, r4, 2 -/* 8002A174 000270D4 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002A178 000270D8 7C 85 18 2E */ lwzx r4, r5, r3 -/* 8002A17C 000270DC 7C 66 02 14 */ add r3, r6, r0 -/* 8002A180 000270E0 48 00 00 14 */ b lbl_8002A194 -lbl_8002A184: -/* 8002A184 000270E4 80 06 00 00 */ lwz r0, 0(r6) -/* 8002A188 000270E8 7C 04 00 40 */ cmplw r4, r0 -/* 8002A18C 000270EC 41 82 00 10 */ beq lbl_8002A19C -/* 8002A190 000270F0 38 C6 00 28 */ addi r6, r6, 0x28 -lbl_8002A194: -/* 8002A194 000270F4 7C 06 18 40 */ cmplw r6, r3 -/* 8002A198 000270F8 40 82 FF EC */ bne lbl_8002A184 -lbl_8002A19C: -/* 8002A19C 000270FC 7C 06 18 40 */ cmplw r6, r3 -/* 8002A1A0 00027100 41 82 00 20 */ beq lbl_8002A1C0 -/* 8002A1A4 00027104 38 66 00 04 */ addi r3, r6, 4 -/* 8002A1A8 00027108 80 06 00 20 */ lwz r0, 0x20(r6) -/* 8002A1AC 0002710C 2C 00 00 02 */ cmpwi r0, 2 -/* 8002A1B0 00027110 41 82 00 10 */ beq lbl_8002A1C0 -/* 8002A1B4 00027114 2C 00 00 04 */ cmpwi r0, 4 -/* 8002A1B8 00027118 41 82 00 08 */ beq lbl_8002A1C0 -/* 8002A1BC 0002711C 48 33 3B 55 */ bl FadeOut__21CAdditiveAnimPlaybackFv -lbl_8002A1C0: -/* 8002A1C0 00027120 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002A1C4 00027124 7C 08 03 A6 */ mtlr r0 -/* 8002A1C8 00027128 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002A1CC 0002712C 4E 80 00 20 */ blr - -.global AddAdditiveAnimation__9CAnimDataFUifbb -AddAdditiveAnimation__9CAnimDataFUifbb: -/* 8002A1D0 00027130 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 8002A1D4 00027134 7C 08 02 A6 */ mflr r0 -/* 8002A1D8 00027138 90 01 01 54 */ stw r0, 0x154(r1) -/* 8002A1DC 0002713C DB E1 01 40 */ stfd f31, 0x140(r1) -/* 8002A1E0 00027140 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 8002A1E4 00027144 BF 61 01 2C */ stmw r27, 0x12c(r1) -/* 8002A1E8 00027148 7C 7B 1B 78 */ mr r27, r3 -/* 8002A1EC 0002714C 54 83 10 3A */ slwi r3, r4, 2 -/* 8002A1F0 00027150 80 9B 00 C8 */ lwz r4, 0xc8(r27) -/* 8002A1F4 00027154 3B DB 04 38 */ addi r30, r27, 0x438 -/* 8002A1F8 00027158 80 1B 04 34 */ lwz r0, 0x434(r27) -/* 8002A1FC 0002715C FF E0 08 90 */ fmr f31, f1 -/* 8002A200 00027160 7C 64 18 2E */ lwzx r3, r4, r3 -/* 8002A204 00027164 7C BC 2B 78 */ mr r28, r5 -/* 8002A208 00027168 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002A20C 0002716C 7C DD 33 78 */ mr r29, r6 -/* 8002A210 00027170 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8002A214 00027174 7F C5 F3 78 */ mr r5, r30 -/* 8002A218 00027178 7C 9E 02 14 */ add r4, r30, r0 -/* 8002A21C 0002717C 48 00 00 14 */ b lbl_8002A230 -lbl_8002A220: -/* 8002A220 00027180 80 05 00 00 */ lwz r0, 0(r5) -/* 8002A224 00027184 7C 03 00 40 */ cmplw r3, r0 -/* 8002A228 00027188 41 82 00 10 */ beq lbl_8002A238 -/* 8002A22C 0002718C 38 A5 00 28 */ addi r5, r5, 0x28 -lbl_8002A230: -/* 8002A230 00027190 7C 05 20 40 */ cmplw r5, r4 -/* 8002A234 00027194 40 82 FF EC */ bne lbl_8002A220 -lbl_8002A238: -/* 8002A238 00027198 7C 05 20 40 */ cmplw r5, r4 -/* 8002A23C 0002719C 41 82 00 3C */ beq lbl_8002A278 -/* 8002A240 000271A0 FC 20 F8 90 */ fmr f1, f31 -/* 8002A244 000271A4 3B 65 00 04 */ addi r27, r5, 4 -/* 8002A248 000271A8 9B 85 00 18 */ stb r28, 0x18(r5) -/* 8002A24C 000271AC 7F 63 DB 78 */ mr r3, r27 -/* 8002A250 000271B0 48 33 3B 2D */ bl SetWeight__21CAdditiveAnimPlaybackFf -/* 8002A254 000271B4 88 1B 00 14 */ lbz r0, 0x14(r27) -/* 8002A258 000271B8 38 60 00 00 */ li r3, 0 -/* 8002A25C 000271BC 28 00 00 00 */ cmplwi r0, 0 -/* 8002A260 000271C0 40 82 00 10 */ bne lbl_8002A270 -/* 8002A264 000271C4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8002A268 000271C8 41 82 00 08 */ beq lbl_8002A270 -/* 8002A26C 000271CC 38 60 00 01 */ li r3, 1 -lbl_8002A270: -/* 8002A270 000271D0 98 7B 00 20 */ stb r3, 0x20(r27) -/* 8002A274 000271D4 48 00 02 5C */ b lbl_8002A4D0 -lbl_8002A278: -/* 8002A278 000271D8 7F 64 DB 78 */ mr r4, r27 -/* 8002A27C 000271DC 38 61 00 34 */ addi r3, r1, 0x34 -/* 8002A280 000271E0 48 00 02 6D */ bl GetAnimationManager__9CAnimDataFv -/* 8002A284 000271E4 38 61 00 94 */ addi r3, r1, 0x94 -/* 8002A288 000271E8 48 2B D5 91 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv -/* 8002A28C 000271EC 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8002A290 000271F0 38 61 00 30 */ addi r3, r1, 0x30 -/* 8002A294 000271F4 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 8002A298 000271F8 38 C1 00 94 */ addi r6, r1, 0x94 -/* 8002A29C 000271FC 80 84 00 00 */ lwz r4, 0(r4) -/* 8002A2A0 00027200 48 2A CB F1 */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders -/* 8002A2A4 00027204 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 8002A2A8 00027208 38 61 00 30 */ addi r3, r1, 0x30 -/* 8002A2AC 0002720C 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8002A2B0 00027210 80 85 00 04 */ lwz r4, 4(r5) -/* 8002A2B4 00027214 38 04 00 01 */ addi r0, r4, 1 -/* 8002A2B8 00027218 90 05 00 04 */ stw r0, 4(r5) -/* 8002A2BC 0002721C 48 00 6C E5 */ bl sub_80030fa0 -/* 8002A2C0 00027220 38 00 00 00 */ li r0, 0 -/* 8002A2C4 00027224 38 61 00 34 */ addi r3, r1, 0x34 -/* 8002A2C8 00027228 98 01 01 18 */ stb r0, 0x118(r1) -/* 8002A2CC 0002722C 98 01 00 D4 */ stb r0, 0xd4(r1) -/* 8002A2D0 00027230 48 00 70 DD */ bl sub_800313ac -/* 8002A2D4 00027234 83 FB 00 08 */ lwz r31, 8(r27) -/* 8002A2D8 00027238 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002A2DC 0002723C 89 21 00 0C */ lbz r9, 0xc(r1) -/* 8002A2E0 00027240 38 81 00 1C */ addi r4, r1, 0x1c -/* 8002A2E4 00027244 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8002A2E8 00027248 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8002A2EC 0002724C 81 1F 00 4C */ lwz r8, 0x4c(r31) -/* 8002A2F0 00027250 38 C1 00 3C */ addi r6, r1, 0x3c -/* 8002A2F4 00027254 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8002A2F8 00027258 99 21 00 10 */ stb r9, 0x10(r1) -/* 8002A2FC 0002725C 38 E1 00 08 */ addi r7, r1, 8 -/* 8002A300 00027260 7D 08 02 14 */ add r8, r8, r0 -/* 8002A304 00027264 91 01 00 28 */ stw r8, 0x28(r1) -/* 8002A308 00027268 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 8002A30C 0002726C 91 01 00 24 */ stw r8, 0x24(r1) -/* 8002A310 00027270 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8002A314 00027274 99 21 00 08 */ stb r9, 8(r1) -/* 8002A318 00027278 91 01 00 20 */ stw r8, 0x20(r1) -/* 8002A31C 0002727C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8002A320 00027280 48 00 6E C9 */ bl "lower_bound,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl79pair_sorter_finder,Q24rstl8less>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_p" -/* 8002A324 00027284 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8002A328 00027288 38 80 00 00 */ li r4, 0 -/* 8002A32C 0002728C 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8002A330 00027290 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8002A334 00027294 7C 05 00 40 */ cmplw r5, r0 -/* 8002A338 00027298 41 82 00 18 */ beq lbl_8002A350 -/* 8002A33C 0002729C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8002A340 000272A0 80 05 00 00 */ lwz r0, 0(r5) -/* 8002A344 000272A4 7C 03 00 40 */ cmplw r3, r0 -/* 8002A348 000272A8 41 80 00 08 */ blt lbl_8002A350 -/* 8002A34C 000272AC 38 80 00 01 */ li r4, 1 -lbl_8002A350: -/* 8002A350 000272B0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8002A354 000272B4 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002A358 000272B8 41 82 00 08 */ beq lbl_8002A360 -/* 8002A35C 000272BC 38 81 00 14 */ addi r4, r1, 0x14 -lbl_8002A360: -/* 8002A360 000272C0 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8002A364 000272C4 80 7F 00 4C */ lwz r3, 0x4c(r31) -/* 8002A368 000272C8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8002A36C 000272CC 80 84 00 00 */ lwz r4, 0(r4) -/* 8002A370 000272D0 7C 03 02 14 */ add r0, r3, r0 -/* 8002A374 000272D4 7C 04 00 40 */ cmplw r4, r0 -/* 8002A378 000272D8 41 82 00 0C */ beq lbl_8002A384 -/* 8002A37C 000272DC 38 C4 00 04 */ addi r6, r4, 4 -/* 8002A380 000272E0 48 00 00 0C */ b lbl_8002A38C -lbl_8002A384: -/* 8002A384 000272E4 80 7B 00 08 */ lwz r3, 8(r27) -/* 8002A388 000272E8 38 C3 00 50 */ addi r6, r3, 0x50 -lbl_8002A38C: -/* 8002A38C 000272EC C0 06 00 00 */ lfs f0, 0(r6) -/* 8002A390 000272F0 FC 20 F8 90 */ fmr f1, f31 -/* 8002A394 000272F4 7F 85 E3 78 */ mr r5, r28 -/* 8002A398 000272F8 7F A7 EB 78 */ mr r7, r29 -/* 8002A39C 000272FC D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8002A3A0 00027300 38 61 00 70 */ addi r3, r1, 0x70 -/* 8002A3A4 00027304 38 81 00 38 */ addi r4, r1, 0x38 -/* 8002A3A8 00027308 C0 06 00 04 */ lfs f0, 4(r6) -/* 8002A3AC 0002730C 38 C1 00 40 */ addi r6, r1, 0x40 -/* 8002A3B0 00027310 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8002A3B4 00027314 48 33 3A 91 */ bl "__ct__21CAdditiveAnimPlaybackFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fbRC22CAdditiveAnimationInfob" -/* 8002A3B8 00027318 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8002A3BC 0002731C 38 C1 00 4C */ addi r6, r1, 0x4c -/* 8002A3C0 00027320 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 8002A3C4 00027324 3B E1 00 78 */ addi r31, r1, 0x78 -/* 8002A3C8 00027328 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8002A3CC 0002732C 80 81 00 78 */ lwz r4, 0x78(r1) -/* 8002A3D0 00027330 90 01 00 48 */ stw r0, 0x48(r1) -/* 8002A3D4 00027334 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8002A3D8 00027338 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8002A3DC 0002733C 90 81 00 54 */ stw r4, 0x54(r1) -/* 8002A3E0 00027340 80 64 00 04 */ lwz r3, 4(r4) -/* 8002A3E4 00027344 38 03 00 01 */ addi r0, r3, 1 -/* 8002A3E8 00027348 90 04 00 04 */ stw r0, 4(r4) -/* 8002A3EC 0002734C C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 8002A3F0 00027350 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 8002A3F4 00027354 88 81 00 84 */ lbz r4, 0x84(r1) -/* 8002A3F8 00027358 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8002A3FC 0002735C 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 8002A400 00027360 88 01 00 90 */ lbz r0, 0x90(r1) -/* 8002A404 00027364 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8002A408 00027368 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 8002A40C 0002736C 98 81 00 60 */ stb r4, 0x60(r1) -/* 8002A410 00027370 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8002A414 00027374 90 61 00 68 */ stw r3, 0x68(r1) -/* 8002A418 00027378 98 01 00 6C */ stb r0, 0x6c(r1) -/* 8002A41C 0002737C 80 1B 04 34 */ lwz r0, 0x434(r27) -/* 8002A420 00027380 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002A424 00027384 7C BE 02 15 */ add. r5, r30, r0 -/* 8002A428 00027388 41 82 00 64 */ beq lbl_8002A48C -/* 8002A42C 0002738C 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8002A430 00027390 90 05 00 00 */ stw r0, 0(r5) -/* 8002A434 00027394 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8002A438 00027398 D0 05 00 04 */ stfs f0, 4(r5) -/* 8002A43C 0002739C C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8002A440 000273A0 D0 05 00 08 */ stfs f0, 8(r5) -/* 8002A444 000273A4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8002A448 000273A8 90 05 00 0C */ stw r0, 0xc(r5) -/* 8002A44C 000273AC 80 85 00 0C */ lwz r4, 0xc(r5) -/* 8002A450 000273B0 80 64 00 04 */ lwz r3, 4(r4) -/* 8002A454 000273B4 38 03 00 01 */ addi r0, r3, 1 -/* 8002A458 000273B8 90 04 00 04 */ stw r0, 4(r4) -/* 8002A45C 000273BC C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8002A460 000273C0 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 8002A464 000273C4 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8002A468 000273C8 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8002A46C 000273CC 88 01 00 60 */ lbz r0, 0x60(r1) -/* 8002A470 000273D0 98 05 00 18 */ stb r0, 0x18(r5) -/* 8002A474 000273D4 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8002A478 000273D8 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 8002A47C 000273DC 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8002A480 000273E0 90 05 00 20 */ stw r0, 0x20(r5) -/* 8002A484 000273E4 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8002A488 000273E8 98 05 00 24 */ stb r0, 0x24(r5) -lbl_8002A48C: -/* 8002A48C 000273EC 80 7B 04 34 */ lwz r3, 0x434(r27) -/* 8002A490 000273F0 28 06 00 00 */ cmplwi r6, 0 -/* 8002A494 000273F4 38 03 00 01 */ addi r0, r3, 1 -/* 8002A498 000273F8 90 1B 04 34 */ stw r0, 0x434(r27) -/* 8002A49C 000273FC 41 82 00 18 */ beq lbl_8002A4B4 -/* 8002A4A0 00027400 34 66 00 08 */ addic. r3, r6, 8 -/* 8002A4A4 00027404 41 82 00 10 */ beq lbl_8002A4B4 -/* 8002A4A8 00027408 28 03 00 00 */ cmplwi r3, 0 -/* 8002A4AC 0002740C 41 82 00 08 */ beq lbl_8002A4B4 -/* 8002A4B0 00027410 48 00 6A F1 */ bl sub_80030fa0 -lbl_8002A4B4: -/* 8002A4B4 00027414 28 1F 00 00 */ cmplwi r31, 0 -/* 8002A4B8 00027418 41 82 00 10 */ beq lbl_8002A4C8 -/* 8002A4BC 0002741C 41 82 00 0C */ beq lbl_8002A4C8 -/* 8002A4C0 00027420 7F E3 FB 78 */ mr r3, r31 -/* 8002A4C4 00027424 48 00 6A DD */ bl sub_80030fa0 -lbl_8002A4C8: -/* 8002A4C8 00027428 38 61 00 38 */ addi r3, r1, 0x38 -/* 8002A4CC 0002742C 48 00 6A D5 */ bl sub_80030fa0 -lbl_8002A4D0: -/* 8002A4D0 00027430 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 8002A4D4 00027434 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 8002A4D8 00027438 BB 61 01 2C */ lmw r27, 0x12c(r1) -/* 8002A4DC 0002743C 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8002A4E0 00027440 7C 08 03 A6 */ mtlr r0 -/* 8002A4E4 00027444 38 21 01 50 */ addi r1, r1, 0x150 -/* 8002A4E8 00027448 4E 80 00 20 */ blr - -.global GetAnimationManager__9CAnimDataFv -GetAnimationManager__9CAnimDataFv: -/* 8002A4EC 0002744C 80 04 01 00 */ lwz r0, 0x100(r4) -/* 8002A4F0 00027450 90 03 00 00 */ stw r0, 0(r3) -/* 8002A4F4 00027454 80 83 00 00 */ lwz r4, 0(r3) -/* 8002A4F8 00027458 80 64 00 04 */ lwz r3, 4(r4) -/* 8002A4FC 0002745C 38 03 00 01 */ addi r0, r3, 1 -/* 8002A500 00027460 90 04 00 04 */ stw r0, 4(r4) -/* 8002A504 00027464 4E 80 00 20 */ blr - -.global sub_8002a508 -sub_8002a508: -/* 8002A508 00027468 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002A50C 0002746C 7C 08 02 A6 */ mflr r0 -/* 8002A510 00027470 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002A514 00027474 80 63 01 F8 */ lwz r3, 0x1f8(r3) -/* 8002A518 00027478 80 63 00 00 */ lwz r3, 0(r3) -/* 8002A51C 0002747C 81 83 00 00 */ lwz r12, 0(r3) -/* 8002A520 00027480 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 8002A524 00027484 7D 89 03 A6 */ mtctr r12 -/* 8002A528 00027488 4E 80 04 21 */ bctrl -/* 8002A52C 0002748C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002A530 00027490 7C 08 03 A6 */ mtlr r0 -/* 8002A534 00027494 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002A538 00027498 4E 80 00 20 */ blr - -.global "SetParticleCEXTValue__CAnimDataFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if" -"SetParticleCEXTValue__CAnimDataFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if": -/* 8002A53C 0002749C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8002A540 000274A0 7C 08 02 A6 */ mflr r0 -/* 8002A544 000274A4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8002A548 000274A8 DB E1 00 38 */ stfd f31, 0x38(r1) -/* 8002A54C 000274AC FF E0 08 90 */ fmr f31, f1 -/* 8002A550 000274B0 93 E1 00 34 */ stw r31, 0x34(r1) -/* 8002A554 000274B4 7C BF 2B 78 */ mr r31, r5 -/* 8002A558 000274B8 93 C1 00 30 */ stw r30, 0x30(r1) -/* 8002A55C 000274BC 7C 9E 23 78 */ mr r30, r4 -/* 8002A560 000274C0 93 A1 00 2C */ stw r29, 0x2c(r1) -/* 8002A564 000274C4 7C 7D 1B 78 */ mr r29, r3 -/* 8002A568 000274C8 38 61 00 0C */ addi r3, r1, 0xc -/* 8002A56C 000274CC 38 9D 00 A4 */ addi r4, r29, 0xa4 -/* 8002A570 000274D0 48 00 05 C1 */ bl sub_8002ab30 -/* 8002A574 000274D4 7F C5 F3 78 */ mr r5, r30 -/* 8002A578 000274D8 38 61 00 08 */ addi r3, r1, 8 -/* 8002A57C 000274DC 38 81 00 0C */ addi r4, r1, 0xc -/* 8002A580 000274E0 48 00 00 75 */ bl sub_8002a5f4 -/* 8002A584 000274E4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8002A588 000274E8 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8002A58C 000274EC 54 00 28 34 */ slwi r0, r0, 5 -/* 8002A590 000274F0 80 81 00 08 */ lwz r4, 8(r1) -/* 8002A594 000274F4 7C 03 02 14 */ add r0, r3, r0 -/* 8002A598 000274F8 7C 04 00 40 */ cmplw r4, r0 -/* 8002A59C 000274FC 41 82 00 2C */ beq lbl_8002A5C8 -/* 8002A5A0 00027500 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8002A5A4 00027504 80 84 00 1C */ lwz r4, 0x1c(r4) -/* 8002A5A8 00027508 1C 00 00 34 */ mulli r0, r0, 0x34 -/* 8002A5AC 0002750C 7C 04 02 14 */ add r0, r4, r0 -/* 8002A5B0 00027510 7C 04 00 40 */ cmplw r4, r0 -/* 8002A5B4 00027514 41 82 00 14 */ beq lbl_8002A5C8 -/* 8002A5B8 00027518 FC 20 F8 90 */ fmr f1, f31 -/* 8002A5BC 0002751C 7F E5 FB 78 */ mr r5, r31 -/* 8002A5C0 00027520 38 7D 01 20 */ addi r3, r29, 0x120 -/* 8002A5C4 00027524 48 08 E5 91 */ bl "SetCEXTValue__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if" -lbl_8002A5C8: -/* 8002A5C8 00027528 38 61 00 0C */ addi r3, r1, 0xc -/* 8002A5CC 0002752C 38 80 FF FF */ li r4, -1 -/* 8002A5D0 00027530 48 00 03 35 */ bl sub_8002a904 -/* 8002A5D4 00027534 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8002A5D8 00027538 CB E1 00 38 */ lfd f31, 0x38(r1) -/* 8002A5DC 0002753C 83 E1 00 34 */ lwz r31, 0x34(r1) -/* 8002A5E0 00027540 83 C1 00 30 */ lwz r30, 0x30(r1) -/* 8002A5E4 00027544 83 A1 00 2C */ lwz r29, 0x2c(r1) -/* 8002A5E8 00027548 7C 08 03 A6 */ mtlr r0 -/* 8002A5EC 0002754C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8002A5F0 00027550 4E 80 00 20 */ blr - -.global sub_8002a5f4 -sub_8002a5f4: -/* 8002A5F4 00027554 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002A5F8 00027558 7C 08 02 A6 */ mflr r0 -/* 8002A5FC 0002755C 7C A6 2B 78 */ mr r6, r5 -/* 8002A600 00027560 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002A604 00027564 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8002A608 00027568 89 21 00 08 */ lbz r9, 8(r1) -/* 8002A60C 0002756C 38 E1 00 10 */ addi r7, r1, 0x10 -/* 8002A610 00027570 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002A614 00027574 7C 7F 1B 78 */ mr r31, r3 -/* 8002A618 00027578 80 04 00 04 */ lwz r0, 4(r4) -/* 8002A61C 0002757C 81 04 00 0C */ lwz r8, 0xc(r4) -/* 8002A620 00027580 38 81 00 20 */ addi r4, r1, 0x20 -/* 8002A624 00027584 54 00 28 34 */ slwi r0, r0, 5 -/* 8002A628 00027588 99 21 00 0C */ stb r9, 0xc(r1) -/* 8002A62C 0002758C 7C 08 02 14 */ add r0, r8, r0 -/* 8002A630 00027590 91 01 00 1C */ stw r8, 0x1c(r1) -/* 8002A634 00027594 99 21 00 10 */ stb r9, 0x10(r1) -/* 8002A638 00027598 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002A63C 0002759C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8002A640 000275A0 91 01 00 20 */ stw r8, 0x20(r1) -/* 8002A644 000275A4 48 00 00 19 */ bl sub_8002a65c -/* 8002A648 000275A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002A64C 000275AC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002A650 000275B0 7C 08 03 A6 */ mtlr r0 -/* 8002A654 000275B4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002A658 000275B8 4E 80 00 20 */ blr - -.global sub_8002a65c -sub_8002a65c: -/* 8002A65C 000275BC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8002A660 000275C0 7C 08 02 A6 */ mflr r0 -/* 8002A664 000275C4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8002A668 000275C8 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8002A66C 000275CC 7C 7B 1B 78 */ mr r27, r3 -/* 8002A670 000275D0 7C BC 2B 78 */ mr r28, r5 -/* 8002A674 000275D4 7C FE 3B 78 */ mr r30, r7 -/* 8002A678 000275D8 7C DD 33 78 */ mr r29, r6 -/* 8002A67C 000275DC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002A680 000275E0 80 04 00 00 */ lwz r0, 0(r4) -/* 8002A684 000275E4 88 87 00 00 */ lbz r4, 0(r7) -/* 8002A688 000275E8 38 E1 00 08 */ addi r7, r1, 8 -/* 8002A68C 000275EC 81 05 00 00 */ lwz r8, 0(r5) -/* 8002A690 000275F0 38 A1 00 0C */ addi r5, r1, 0xc -/* 8002A694 000275F4 98 81 00 08 */ stb r4, 8(r1) -/* 8002A698 000275F8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8002A69C 000275FC 91 01 00 0C */ stw r8, 0xc(r1) -/* 8002A6A0 00027600 90 01 00 10 */ stw r0, 0x10(r1) -/* 8002A6A4 00027604 48 00 6A 59 */ bl sub_800310fc -/* 8002A6A8 00027608 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8002A6AC 0002760C 3B E0 00 00 */ li r31, 0 -/* 8002A6B0 00027610 80 1C 00 00 */ lwz r0, 0(r28) -/* 8002A6B4 00027614 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8002A6B8 00027618 7C 05 00 40 */ cmplw r5, r0 -/* 8002A6BC 0002761C 41 82 00 1C */ beq lbl_8002A6D8 -/* 8002A6C0 00027620 7F C3 F3 78 */ mr r3, r30 -/* 8002A6C4 00027624 7F A4 EB 78 */ mr r4, r29 -/* 8002A6C8 00027628 48 00 00 41 */ bl sub_8002a708 -/* 8002A6CC 0002762C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002A6D0 00027630 40 82 00 08 */ bne lbl_8002A6D8 -/* 8002A6D4 00027634 3B E0 00 01 */ li r31, 1 -lbl_8002A6D8: -/* 8002A6D8 00027638 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8002A6DC 0002763C 41 82 00 0C */ beq lbl_8002A6E8 -/* 8002A6E0 00027640 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002A6E4 00027644 48 00 00 08 */ b lbl_8002A6EC -lbl_8002A6E8: -/* 8002A6E8 00027648 7F 83 E3 78 */ mr r3, r28 -lbl_8002A6EC: -/* 8002A6EC 0002764C 80 03 00 00 */ lwz r0, 0(r3) -/* 8002A6F0 00027650 90 1B 00 00 */ stw r0, 0(r27) -/* 8002A6F4 00027654 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8002A6F8 00027658 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8002A6FC 0002765C 7C 08 03 A6 */ mtlr r0 -/* 8002A700 00027660 38 21 00 40 */ addi r1, r1, 0x40 -/* 8002A704 00027664 4E 80 00 20 */ blr - -.global sub_8002a708 -sub_8002a708: -/* 8002A708 00027668 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002A70C 0002766C 7C 08 02 A6 */ mflr r0 -/* 8002A710 00027670 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002A714 00027674 48 00 00 15 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8002A718 00027678 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002A71C 0002767C 7C 08 03 A6 */ mtlr r0 -/* 8002A720 00027680 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002A724 00027684 4E 80 00 20 */ blr - -.global "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -"__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>": -/* 8002A728 00027688 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002A72C 0002768C 7C 08 02 A6 */ mflr r0 -/* 8002A730 00027690 7C 83 23 78 */ mr r3, r4 -/* 8002A734 00027694 7C A4 2B 78 */ mr r4, r5 -/* 8002A738 00027698 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002A73C 0002769C 48 00 00 15 */ bl sub_8002a750 -/* 8002A740 000276A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002A744 000276A4 7C 08 03 A6 */ mtlr r0 -/* 8002A748 000276A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002A74C 000276AC 4E 80 00 20 */ blr - -.global sub_8002a750 -sub_8002a750: -/* 8002A750 000276B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002A754 000276B4 7C 08 02 A6 */ mflr r0 -/* 8002A758 000276B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002A75C 000276BC 48 00 00 19 */ bl sub_8002a774 -/* 8002A760 000276C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002A764 000276C4 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8002A768 000276C8 7C 08 03 A6 */ mtlr r0 -/* 8002A76C 000276CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002A770 000276D0 4E 80 00 20 */ blr - -.global sub_8002a774 -sub_8002a774: -/* 8002A774 000276D4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8002A778 000276D8 7C 08 02 A6 */ mflr r0 -/* 8002A77C 000276DC 38 E0 00 00 */ li r7, 0 -/* 8002A780 000276E0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8002A784 000276E4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8002A788 000276E8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8002A78C 000276EC 81 04 00 08 */ lwz r8, 8(r4) -/* 8002A790 000276F0 80 03 00 08 */ lwz r0, 8(r3) -/* 8002A794 000276F4 90 81 00 08 */ stw r4, 8(r1) -/* 8002A798 000276F8 91 01 00 0C */ stw r8, 0xc(r1) -/* 8002A79C 000276FC 90 81 00 10 */ stw r4, 0x10(r1) -/* 8002A7A0 00027700 91 01 00 14 */ stw r8, 0x14(r1) -/* 8002A7A4 00027704 90 81 00 18 */ stw r4, 0x18(r1) -/* 8002A7A8 00027708 90 81 00 20 */ stw r4, 0x20(r1) -/* 8002A7AC 0002770C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8002A7B0 00027710 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 8002A7B4 00027714 90 E1 00 24 */ stw r7, 0x24(r1) -/* 8002A7B8 00027718 90 61 00 28 */ stw r3, 0x28(r1) -/* 8002A7BC 0002771C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8002A7C0 00027720 90 61 00 30 */ stw r3, 0x30(r1) -/* 8002A7C4 00027724 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002A7C8 00027728 90 61 00 38 */ stw r3, 0x38(r1) -/* 8002A7CC 0002772C 90 61 00 40 */ stw r3, 0x40(r1) -/* 8002A7D0 00027730 38 61 00 40 */ addi r3, r1, 0x40 -/* 8002A7D4 00027734 90 E1 00 3C */ stw r7, 0x3c(r1) -/* 8002A7D8 00027738 90 E1 00 44 */ stw r7, 0x44(r1) -/* 8002A7DC 0002773C 48 00 00 15 */ bl sub_8002a7f0 -/* 8002A7E0 00027740 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8002A7E4 00027744 7C 08 03 A6 */ mtlr r0 -/* 8002A7E8 00027748 38 21 00 50 */ addi r1, r1, 0x50 -/* 8002A7EC 0002774C 4E 80 00 20 */ blr - -.global sub_8002a7f0 -sub_8002a7f0: -/* 8002A7F0 00027750 81 03 00 00 */ lwz r8, 0(r3) -/* 8002A7F4 00027754 80 E3 00 04 */ lwz r7, 4(r3) -/* 8002A7F8 00027758 81 25 00 00 */ lwz r9, 0(r5) -/* 8002A7FC 0002775C 81 45 00 04 */ lwz r10, 4(r5) -/* 8002A800 00027760 81 64 00 00 */ lwz r11, 0(r4) -/* 8002A804 00027764 48 00 00 2C */ b lbl_8002A830 -lbl_8002A808: -/* 8002A808 00027768 80 A9 00 00 */ lwz r5, 0(r9) -/* 8002A80C 0002776C 80 68 00 00 */ lwz r3, 0(r8) -/* 8002A810 00027770 7C A5 50 AE */ lbzx r5, r5, r10 -/* 8002A814 00027774 7C 03 38 AE */ lbzx r0, r3, r7 -/* 8002A818 00027778 7C A3 07 74 */ extsb r3, r5 -/* 8002A81C 0002777C 7C 00 07 74 */ extsb r0, r0 -/* 8002A820 00027780 7C 63 00 51 */ subf. r3, r3, r0 -/* 8002A824 00027784 4C 82 00 20 */ bnelr -/* 8002A828 00027788 38 E7 00 01 */ addi r7, r7, 1 -/* 8002A82C 0002778C 39 4A 00 01 */ addi r10, r10, 1 -lbl_8002A830: -/* 8002A830 00027790 7C 08 58 40 */ cmplw r8, r11 -/* 8002A834 00027794 38 60 00 00 */ li r3, 0 -/* 8002A838 00027798 40 82 00 10 */ bne lbl_8002A848 -/* 8002A83C 0002779C 80 04 00 04 */ lwz r0, 4(r4) -/* 8002A840 000277A0 7C 07 00 00 */ cmpw r7, r0 -/* 8002A844 000277A4 41 82 00 08 */ beq lbl_8002A84C -lbl_8002A848: -/* 8002A848 000277A8 38 60 00 01 */ li r3, 1 -lbl_8002A84C: -/* 8002A84C 000277AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002A850 000277B0 41 82 00 2C */ beq lbl_8002A87C -/* 8002A854 000277B4 80 06 00 00 */ lwz r0, 0(r6) -/* 8002A858 000277B8 38 60 00 00 */ li r3, 0 -/* 8002A85C 000277BC 7C 09 00 40 */ cmplw r9, r0 -/* 8002A860 000277C0 40 82 00 10 */ bne lbl_8002A870 -/* 8002A864 000277C4 80 06 00 04 */ lwz r0, 4(r6) -/* 8002A868 000277C8 7C 0A 00 00 */ cmpw r10, r0 -/* 8002A86C 000277CC 41 82 00 08 */ beq lbl_8002A874 -lbl_8002A870: -/* 8002A870 000277D0 38 60 00 01 */ li r3, 1 -lbl_8002A874: -/* 8002A874 000277D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002A878 000277D8 40 82 FF 90 */ bne lbl_8002A808 -lbl_8002A87C: -/* 8002A87C 000277DC 7C 08 58 40 */ cmplw r8, r11 -/* 8002A880 000277E0 38 60 00 00 */ li r3, 0 -/* 8002A884 000277E4 40 82 00 14 */ bne lbl_8002A898 -/* 8002A888 000277E8 80 04 00 04 */ lwz r0, 4(r4) -/* 8002A88C 000277EC 7C 07 00 00 */ cmpw r7, r0 -/* 8002A890 000277F0 40 82 00 08 */ bne lbl_8002A898 -/* 8002A894 000277F4 38 60 00 01 */ li r3, 1 -lbl_8002A898: -/* 8002A898 000277F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002A89C 000277FC 41 82 00 34 */ beq lbl_8002A8D0 -/* 8002A8A0 00027800 80 06 00 00 */ lwz r0, 0(r6) -/* 8002A8A4 00027804 38 60 00 00 */ li r3, 0 -/* 8002A8A8 00027808 7C 09 00 40 */ cmplw r9, r0 -/* 8002A8AC 0002780C 40 82 00 10 */ bne lbl_8002A8BC -/* 8002A8B0 00027810 80 06 00 04 */ lwz r0, 4(r6) -/* 8002A8B4 00027814 7C 0A 00 00 */ cmpw r10, r0 -/* 8002A8B8 00027818 41 82 00 08 */ beq lbl_8002A8C0 -lbl_8002A8BC: -/* 8002A8BC 0002781C 38 60 00 01 */ li r3, 1 -lbl_8002A8C0: -/* 8002A8C0 00027820 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002A8C4 00027824 41 82 00 0C */ beq lbl_8002A8D0 -/* 8002A8C8 00027828 38 60 FF FF */ li r3, -1 -/* 8002A8CC 0002782C 4E 80 00 20 */ blr -lbl_8002A8D0: -/* 8002A8D0 00027830 7C 08 58 40 */ cmplw r8, r11 -/* 8002A8D4 00027834 38 60 00 00 */ li r3, 0 -/* 8002A8D8 00027838 40 82 00 14 */ bne lbl_8002A8EC -/* 8002A8DC 0002783C 80 04 00 04 */ lwz r0, 4(r4) -/* 8002A8E0 00027840 7C 07 00 00 */ cmpw r7, r0 -/* 8002A8E4 00027844 40 82 00 08 */ bne lbl_8002A8EC -/* 8002A8E8 00027848 38 60 00 01 */ li r3, 1 -lbl_8002A8EC: -/* 8002A8EC 0002784C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002A8F0 00027850 41 82 00 0C */ beq lbl_8002A8FC -/* 8002A8F4 00027854 38 60 00 00 */ li r3, 0 -/* 8002A8F8 00027858 4E 80 00 20 */ blr -lbl_8002A8FC: -/* 8002A8FC 0002785C 38 60 00 01 */ li r3, 1 -/* 8002A900 00027860 4E 80 00 20 */ blr - -.global sub_8002a904 -sub_8002a904: -/* 8002A904 00027864 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002A908 00027868 7C 08 02 A6 */ mflr r0 -/* 8002A90C 0002786C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002A910 00027870 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002A914 00027874 7C 9F 23 78 */ mr r31, r4 -/* 8002A918 00027878 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002A91C 0002787C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002A920 00027880 41 82 00 54 */ beq lbl_8002A974 -/* 8002A924 00027884 80 1E 00 04 */ lwz r0, 4(r30) -/* 8002A928 00027888 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002A92C 0002788C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8002A930 00027890 38 81 00 0C */ addi r4, r1, 0xc -/* 8002A934 00027894 54 00 28 34 */ slwi r0, r0, 5 -/* 8002A938 00027898 7C A5 02 14 */ add r5, r5, r0 -/* 8002A93C 0002789C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8002A940 000278A0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8002A944 000278A4 90 A1 00 08 */ stw r5, 8(r1) -/* 8002A948 000278A8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8002A94C 000278AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002A950 000278B0 48 00 00 41 */ bl sub_8002a990 -/* 8002A954 000278B4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8002A958 000278B8 28 03 00 00 */ cmplwi r3, 0 -/* 8002A95C 000278BC 41 82 00 08 */ beq lbl_8002A964 -/* 8002A960 000278C0 48 2E AF D1 */ bl Free__7CMemoryFPCv -lbl_8002A964: -/* 8002A964 000278C4 7F E0 07 35 */ extsh. r0, r31 -/* 8002A968 000278C8 40 81 00 0C */ ble lbl_8002A974 -/* 8002A96C 000278CC 7F C3 F3 78 */ mr r3, r30 -/* 8002A970 000278D0 48 2E AF C1 */ bl Free__7CMemoryFPCv -lbl_8002A974: -/* 8002A974 000278D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002A978 000278D8 7F C3 F3 78 */ mr r3, r30 -/* 8002A97C 000278DC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002A980 000278E0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002A984 000278E4 7C 08 03 A6 */ mtlr r0 -/* 8002A988 000278E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002A98C 000278EC 4E 80 00 20 */ blr - -.global sub_8002a990 -sub_8002a990: -/* 8002A990 000278F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002A994 000278F4 7C 08 02 A6 */ mflr r0 -/* 8002A998 000278F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002A99C 000278FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002A9A0 00027900 93 C1 00 08 */ stw r30, 8(r1) -/* 8002A9A4 00027904 7C 9E 23 78 */ mr r30, r4 -/* 8002A9A8 00027908 83 E3 00 00 */ lwz r31, 0(r3) -/* 8002A9AC 0002790C 48 00 00 10 */ b lbl_8002A9BC -lbl_8002A9B0: -/* 8002A9B0 00027910 7F E3 FB 78 */ mr r3, r31 -/* 8002A9B4 00027914 48 00 00 2D */ bl sub_8002a9e0 -/* 8002A9B8 00027918 3B FF 00 20 */ addi r31, r31, 0x20 -lbl_8002A9BC: -/* 8002A9BC 0002791C 80 1E 00 00 */ lwz r0, 0(r30) -/* 8002A9C0 00027920 7C 1F 00 40 */ cmplw r31, r0 -/* 8002A9C4 00027924 40 82 FF EC */ bne lbl_8002A9B0 -/* 8002A9C8 00027928 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002A9CC 0002792C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002A9D0 00027930 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002A9D4 00027934 7C 08 03 A6 */ mtlr r0 -/* 8002A9D8 00027938 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002A9DC 0002793C 4E 80 00 20 */ blr - -.global sub_8002a9e0 -sub_8002a9e0: -/* 8002A9E0 00027940 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002A9E4 00027944 7C 08 02 A6 */ mflr r0 -/* 8002A9E8 00027948 38 80 FF FF */ li r4, -1 -/* 8002A9EC 0002794C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002A9F0 00027950 48 00 00 15 */ bl sub_8002aa04 -/* 8002A9F4 00027954 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002A9F8 00027958 7C 08 03 A6 */ mtlr r0 -/* 8002A9FC 0002795C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002AA00 00027960 4E 80 00 20 */ blr - -.global sub_8002aa04 -sub_8002aa04: -/* 8002AA04 00027964 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002AA08 00027968 7C 08 02 A6 */ mflr r0 -/* 8002AA0C 0002796C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002AA10 00027970 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002AA14 00027974 7C 9F 23 78 */ mr r31, r4 -/* 8002AA18 00027978 93 C1 00 08 */ stw r30, 8(r1) -/* 8002AA1C 0002797C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002AA20 00027980 41 82 00 30 */ beq lbl_8002AA50 -/* 8002AA24 00027984 38 7E 00 10 */ addi r3, r30, 0x10 -/* 8002AA28 00027988 38 80 FF FF */ li r4, -1 -/* 8002AA2C 0002798C 48 00 00 41 */ bl sub_8002aa6c -/* 8002AA30 00027990 28 1E 00 00 */ cmplwi r30, 0 -/* 8002AA34 00027994 41 82 00 0C */ beq lbl_8002AA40 -/* 8002AA38 00027998 7F C3 F3 78 */ mr r3, r30 -/* 8002AA3C 0002799C 48 31 30 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002AA40: -/* 8002AA40 000279A0 7F E0 07 35 */ extsh. r0, r31 -/* 8002AA44 000279A4 40 81 00 0C */ ble lbl_8002AA50 -/* 8002AA48 000279A8 7F C3 F3 78 */ mr r3, r30 -/* 8002AA4C 000279AC 48 2E AE E5 */ bl Free__7CMemoryFPCv -lbl_8002AA50: -/* 8002AA50 000279B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002AA54 000279B4 7F C3 F3 78 */ mr r3, r30 -/* 8002AA58 000279B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002AA5C 000279BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002AA60 000279C0 7C 08 03 A6 */ mtlr r0 -/* 8002AA64 000279C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002AA68 000279C8 4E 80 00 20 */ blr - -.global sub_8002aa6c -sub_8002aa6c: -/* 8002AA6C 000279CC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002AA70 000279D0 7C 08 02 A6 */ mflr r0 -/* 8002AA74 000279D4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002AA78 000279D8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002AA7C 000279DC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8002AA80 000279E0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8002AA84 000279E4 7C 9D 23 78 */ mr r29, r4 -/* 8002AA88 000279E8 93 81 00 20 */ stw r28, 0x20(r1) -/* 8002AA8C 000279EC 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8002AA90 000279F0 41 82 00 7C */ beq lbl_8002AB0C -/* 8002AA94 000279F4 80 1C 00 04 */ lwz r0, 4(r28) -/* 8002AA98 000279F8 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 8002AA9C 000279FC 1C 00 00 34 */ mulli r0, r0, 0x34 -/* 8002AAA0 00027A00 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8002AAA4 00027A04 7F FE 02 14 */ add r31, r30, r0 -/* 8002AAA8 00027A08 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8002AAAC 00027A0C 93 E1 00 08 */ stw r31, 8(r1) -/* 8002AAB0 00027A10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002AAB4 00027A14 48 00 00 30 */ b lbl_8002AAE4 -lbl_8002AAB8: -/* 8002AAB8 00027A18 28 1E 00 00 */ cmplwi r30, 0 -/* 8002AABC 00027A1C 41 82 00 24 */ beq lbl_8002AAE0 -/* 8002AAC0 00027A20 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 8002AAC4 00027A24 41 82 00 0C */ beq lbl_8002AAD0 -/* 8002AAC8 00027A28 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8002AACC 00027A2C 48 31 30 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002AAD0: -/* 8002AAD0 00027A30 28 1E 00 00 */ cmplwi r30, 0 -/* 8002AAD4 00027A34 41 82 00 0C */ beq lbl_8002AAE0 -/* 8002AAD8 00027A38 7F C3 F3 78 */ mr r3, r30 -/* 8002AADC 00027A3C 48 31 30 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002AAE0: -/* 8002AAE0 00027A40 3B DE 00 34 */ addi r30, r30, 0x34 -lbl_8002AAE4: -/* 8002AAE4 00027A44 7C 1E F8 40 */ cmplw r30, r31 -/* 8002AAE8 00027A48 40 82 FF D0 */ bne lbl_8002AAB8 -/* 8002AAEC 00027A4C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8002AAF0 00027A50 28 03 00 00 */ cmplwi r3, 0 -/* 8002AAF4 00027A54 41 82 00 08 */ beq lbl_8002AAFC -/* 8002AAF8 00027A58 48 2E AE 39 */ bl Free__7CMemoryFPCv -lbl_8002AAFC: -/* 8002AAFC 00027A5C 7F A0 07 35 */ extsh. r0, r29 -/* 8002AB00 00027A60 40 81 00 0C */ ble lbl_8002AB0C -/* 8002AB04 00027A64 7F 83 E3 78 */ mr r3, r28 -/* 8002AB08 00027A68 48 2E AE 29 */ bl Free__7CMemoryFPCv -lbl_8002AB0C: -/* 8002AB0C 00027A6C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002AB10 00027A70 7F 83 E3 78 */ mr r3, r28 -/* 8002AB14 00027A74 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002AB18 00027A78 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002AB1C 00027A7C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8002AB20 00027A80 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8002AB24 00027A84 7C 08 03 A6 */ mtlr r0 -/* 8002AB28 00027A88 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002AB2C 00027A8C 4E 80 00 20 */ blr - -.global sub_8002ab30 -sub_8002ab30: -/* 8002AB30 00027A90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002AB34 00027A94 7C 08 02 A6 */ mflr r0 -/* 8002AB38 00027A98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002AB3C 00027A9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002AB40 00027AA0 7C 9F 23 78 */ mr r31, r4 -/* 8002AB44 00027AA4 93 C1 00 08 */ stw r30, 8(r1) -/* 8002AB48 00027AA8 7C 7E 1B 78 */ mr r30, r3 -/* 8002AB4C 00027AAC 80 04 00 04 */ lwz r0, 4(r4) -/* 8002AB50 00027AB0 90 03 00 04 */ stw r0, 4(r3) -/* 8002AB54 00027AB4 80 04 00 08 */ lwz r0, 8(r4) -/* 8002AB58 00027AB8 90 03 00 08 */ stw r0, 8(r3) -/* 8002AB5C 00027ABC 80 04 00 04 */ lwz r0, 4(r4) -/* 8002AB60 00027AC0 2C 00 00 00 */ cmpwi r0, 0 -/* 8002AB64 00027AC4 40 82 00 1C */ bne lbl_8002AB80 -/* 8002AB68 00027AC8 80 1F 00 08 */ lwz r0, 8(r31) -/* 8002AB6C 00027ACC 2C 00 00 00 */ cmpwi r0, 0 -/* 8002AB70 00027AD0 40 82 00 10 */ bne lbl_8002AB80 -/* 8002AB74 00027AD4 38 00 00 00 */ li r0, 0 -/* 8002AB78 00027AD8 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8002AB7C 00027ADC 48 00 00 40 */ b lbl_8002ABBC -lbl_8002AB80: -/* 8002AB80 00027AE0 80 1E 00 08 */ lwz r0, 8(r30) -/* 8002AB84 00027AE4 54 03 28 35 */ rlwinm. r3, r0, 5, 0, 0x1a -/* 8002AB88 00027AE8 40 82 00 10 */ bne lbl_8002AB98 -/* 8002AB8C 00027AEC 38 00 00 00 */ li r0, 0 -/* 8002AB90 00027AF0 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8002AB94 00027AF4 48 00 00 18 */ b lbl_8002ABAC -lbl_8002AB98: -/* 8002AB98 00027AF8 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002AB9C 00027AFC 38 A0 00 00 */ li r5, 0 -/* 8002ABA0 00027B00 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002ABA4 00027B04 48 2E AC 75 */ bl __nwa__FUlPCcPCc -/* 8002ABA8 00027B08 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_8002ABAC: -/* 8002ABAC 00027B0C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8002ABB0 00027B10 80 9E 00 04 */ lwz r4, 4(r30) -/* 8002ABB4 00027B14 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8002ABB8 00027B18 48 00 00 21 */ bl sub_8002abd8 -lbl_8002ABBC: -/* 8002ABBC 00027B1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002ABC0 00027B20 7F C3 F3 78 */ mr r3, r30 -/* 8002ABC4 00027B24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002ABC8 00027B28 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002ABCC 00027B2C 7C 08 03 A6 */ mtlr r0 -/* 8002ABD0 00027B30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002ABD4 00027B34 4E 80 00 20 */ blr - -.global sub_8002abd8 -sub_8002abd8: -/* 8002ABD8 00027B38 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002ABDC 00027B3C 7C 08 02 A6 */ mflr r0 -/* 8002ABE0 00027B40 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002ABE4 00027B44 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002ABE8 00027B48 7C 7F 1B 78 */ mr r31, r3 -/* 8002ABEC 00027B4C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002ABF0 00027B50 7C BE 2B 78 */ mr r30, r5 -/* 8002ABF4 00027B54 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002ABF8 00027B58 3B A0 00 00 */ li r29, 0 -/* 8002ABFC 00027B5C 93 81 00 10 */ stw r28, 0x10(r1) -/* 8002AC00 00027B60 7C 9C 23 78 */ mr r28, r4 -/* 8002AC04 00027B64 48 00 00 1C */ b lbl_8002AC20 -lbl_8002AC08: -/* 8002AC08 00027B68 7F C3 F3 78 */ mr r3, r30 -/* 8002AC0C 00027B6C 7F E4 FB 78 */ mr r4, r31 -/* 8002AC10 00027B70 48 00 00 3D */ bl sub_8002ac4c -/* 8002AC14 00027B74 3B DE 00 20 */ addi r30, r30, 0x20 -/* 8002AC18 00027B78 3B BD 00 01 */ addi r29, r29, 1 -/* 8002AC1C 00027B7C 3B FF 00 20 */ addi r31, r31, 0x20 -lbl_8002AC20: -/* 8002AC20 00027B80 7C 1D E0 00 */ cmpw r29, r28 -/* 8002AC24 00027B84 41 80 FF E4 */ blt lbl_8002AC08 -/* 8002AC28 00027B88 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002AC2C 00027B8C 7F C3 F3 78 */ mr r3, r30 -/* 8002AC30 00027B90 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002AC34 00027B94 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002AC38 00027B98 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8002AC3C 00027B9C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8002AC40 00027BA0 7C 08 03 A6 */ mtlr r0 -/* 8002AC44 00027BA4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002AC48 00027BA8 4E 80 00 20 */ blr - -.global sub_8002ac4c -sub_8002ac4c: -/* 8002AC4C 00027BAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002AC50 00027BB0 7C 08 02 A6 */ mflr r0 -/* 8002AC54 00027BB4 28 03 00 00 */ cmplwi r3, 0 -/* 8002AC58 00027BB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002AC5C 00027BBC 41 82 00 08 */ beq lbl_8002AC64 -/* 8002AC60 00027BC0 48 00 00 15 */ bl sub_8002ac74 -lbl_8002AC64: -/* 8002AC64 00027BC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002AC68 00027BC8 7C 08 03 A6 */ mtlr r0 -/* 8002AC6C 00027BCC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002AC70 00027BD0 4E 80 00 20 */ blr - -.global sub_8002ac74 -sub_8002ac74: -/* 8002AC74 00027BD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002AC78 00027BD8 7C 08 02 A6 */ mflr r0 -/* 8002AC7C 00027BDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002AC80 00027BE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002AC84 00027BE4 7C 9F 23 78 */ mr r31, r4 -/* 8002AC88 00027BE8 93 C1 00 08 */ stw r30, 8(r1) -/* 8002AC8C 00027BEC 7C 7E 1B 78 */ mr r30, r3 -/* 8002AC90 00027BF0 48 31 34 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002AC94 00027BF4 38 7E 00 10 */ addi r3, r30, 0x10 -/* 8002AC98 00027BF8 38 9F 00 10 */ addi r4, r31, 0x10 -/* 8002AC9C 00027BFC 48 00 00 21 */ bl sub_8002acbc -/* 8002ACA0 00027C00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002ACA4 00027C04 7F C3 F3 78 */ mr r3, r30 -/* 8002ACA8 00027C08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002ACAC 00027C0C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002ACB0 00027C10 7C 08 03 A6 */ mtlr r0 -/* 8002ACB4 00027C14 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002ACB8 00027C18 4E 80 00 20 */ blr - -.global sub_8002acbc -sub_8002acbc: -/* 8002ACBC 00027C1C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002ACC0 00027C20 7C 08 02 A6 */ mflr r0 -/* 8002ACC4 00027C24 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002ACC8 00027C28 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8002ACCC 00027C2C 7C 9C 23 78 */ mr r28, r4 -/* 8002ACD0 00027C30 7C 7F 1B 78 */ mr r31, r3 -/* 8002ACD4 00027C34 80 04 00 04 */ lwz r0, 4(r4) -/* 8002ACD8 00027C38 90 03 00 04 */ stw r0, 4(r3) -/* 8002ACDC 00027C3C 80 04 00 08 */ lwz r0, 8(r4) -/* 8002ACE0 00027C40 90 03 00 08 */ stw r0, 8(r3) -/* 8002ACE4 00027C44 80 04 00 04 */ lwz r0, 4(r4) -/* 8002ACE8 00027C48 2C 00 00 00 */ cmpwi r0, 0 -/* 8002ACEC 00027C4C 40 82 00 1C */ bne lbl_8002AD08 -/* 8002ACF0 00027C50 80 1C 00 08 */ lwz r0, 8(r28) -/* 8002ACF4 00027C54 2C 00 00 00 */ cmpwi r0, 0 -/* 8002ACF8 00027C58 40 82 00 10 */ bne lbl_8002AD08 -/* 8002ACFC 00027C5C 38 00 00 00 */ li r0, 0 -/* 8002AD00 00027C60 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8002AD04 00027C64 48 00 00 A4 */ b lbl_8002ADA8 -lbl_8002AD08: -/* 8002AD08 00027C68 80 1F 00 08 */ lwz r0, 8(r31) -/* 8002AD0C 00027C6C 1C 60 00 34 */ mulli r3, r0, 0x34 -/* 8002AD10 00027C70 2C 03 00 00 */ cmpwi r3, 0 -/* 8002AD14 00027C74 40 82 00 10 */ bne lbl_8002AD24 -/* 8002AD18 00027C78 38 00 00 00 */ li r0, 0 -/* 8002AD1C 00027C7C 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8002AD20 00027C80 48 00 00 18 */ b lbl_8002AD38 -lbl_8002AD24: -/* 8002AD24 00027C84 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002AD28 00027C88 38 A0 00 00 */ li r5, 0 -/* 8002AD2C 00027C8C 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002AD30 00027C90 48 2E AA E9 */ bl __nwa__FUlPCcPCc -/* 8002AD34 00027C94 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_8002AD38: -/* 8002AD38 00027C98 83 7F 00 04 */ lwz r27, 4(r31) -/* 8002AD3C 00027C9C 3B C0 00 00 */ li r30, 0 -/* 8002AD40 00027CA0 83 9C 00 0C */ lwz r28, 0xc(r28) -/* 8002AD44 00027CA4 83 BF 00 0C */ lwz r29, 0xc(r31) -/* 8002AD48 00027CA8 48 00 00 58 */ b lbl_8002ADA0 -lbl_8002AD4C: -/* 8002AD4C 00027CAC 28 1D 00 00 */ cmplwi r29, 0 -/* 8002AD50 00027CB0 41 82 00 44 */ beq lbl_8002AD94 -/* 8002AD54 00027CB4 7F A3 EB 78 */ mr r3, r29 -/* 8002AD58 00027CB8 7F 84 E3 78 */ mr r4, r28 -/* 8002AD5C 00027CBC 48 31 34 05 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002AD60 00027CC0 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 8002AD64 00027CC4 38 7D 00 18 */ addi r3, r29, 0x18 -/* 8002AD68 00027CC8 38 9C 00 18 */ addi r4, r28, 0x18 -/* 8002AD6C 00027CCC 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8002AD70 00027CD0 80 1C 00 14 */ lwz r0, 0x14(r28) -/* 8002AD74 00027CD4 90 1D 00 14 */ stw r0, 0x14(r29) -/* 8002AD78 00027CD8 48 31 33 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002AD7C 00027CDC C0 1C 00 28 */ lfs f0, 0x28(r28) -/* 8002AD80 00027CE0 D0 1D 00 28 */ stfs f0, 0x28(r29) -/* 8002AD84 00027CE4 80 1C 00 2C */ lwz r0, 0x2c(r28) -/* 8002AD88 00027CE8 90 1D 00 2C */ stw r0, 0x2c(r29) -/* 8002AD8C 00027CEC 80 1C 00 30 */ lwz r0, 0x30(r28) -/* 8002AD90 00027CF0 90 1D 00 30 */ stw r0, 0x30(r29) -lbl_8002AD94: -/* 8002AD94 00027CF4 3B BD 00 34 */ addi r29, r29, 0x34 -/* 8002AD98 00027CF8 3B DE 00 01 */ addi r30, r30, 1 -/* 8002AD9C 00027CFC 3B 9C 00 34 */ addi r28, r28, 0x34 -lbl_8002ADA0: -/* 8002ADA0 00027D00 7C 1E D8 00 */ cmpw r30, r27 -/* 8002ADA4 00027D04 41 80 FF A8 */ blt lbl_8002AD4C -lbl_8002ADA8: -/* 8002ADA8 00027D08 7F E3 FB 78 */ mr r3, r31 -/* 8002ADAC 00027D0C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8002ADB0 00027D10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002ADB4 00027D14 7C 08 03 A6 */ mtlr r0 -/* 8002ADB8 00027D18 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002ADBC 00027D1C 4E 80 00 20 */ blr - -.global SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager: -/* 8002ADC0 00027D20 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8002ADC4 00027D24 7C 08 02 A6 */ mflr r0 -/* 8002ADC8 00027D28 90 01 00 44 */ stw r0, 0x44(r1) -/* 8002ADCC 00027D2C BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8002ADD0 00027D30 7C 7B 1B 78 */ mr r27, r3 -/* 8002ADD4 00027D34 7C 9E 23 78 */ mr r30, r4 -/* 8002ADD8 00027D38 7C BC 2B 78 */ mr r28, r5 -/* 8002ADDC 00027D3C 7C DD 33 78 */ mr r29, r6 -/* 8002ADE0 00027D40 38 61 00 0C */ addi r3, r1, 0xc -/* 8002ADE4 00027D44 38 9B 00 A4 */ addi r4, r27, 0xa4 -/* 8002ADE8 00027D48 4B FF FD 49 */ bl sub_8002ab30 -/* 8002ADEC 00027D4C 7F C5 F3 78 */ mr r5, r30 -/* 8002ADF0 00027D50 38 61 00 08 */ addi r3, r1, 8 -/* 8002ADF4 00027D54 38 81 00 0C */ addi r4, r1, 0xc -/* 8002ADF8 00027D58 4B FF F7 FD */ bl sub_8002a5f4 -/* 8002ADFC 00027D5C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8002AE00 00027D60 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8002AE04 00027D64 54 00 28 34 */ slwi r0, r0, 5 -/* 8002AE08 00027D68 80 81 00 08 */ lwz r4, 8(r1) -/* 8002AE0C 00027D6C 7C 03 02 14 */ add r0, r3, r0 -/* 8002AE10 00027D70 7C 04 00 40 */ cmplw r4, r0 -/* 8002AE14 00027D74 41 82 00 38 */ beq lbl_8002AE4C -/* 8002AE18 00027D78 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8002AE1C 00027D7C 83 C4 00 1C */ lwz r30, 0x1c(r4) -/* 8002AE20 00027D80 1C 00 00 34 */ mulli r0, r0, 0x34 -/* 8002AE24 00027D84 7F FE 02 14 */ add r31, r30, r0 -/* 8002AE28 00027D88 48 00 00 1C */ b lbl_8002AE44 -lbl_8002AE2C: -/* 8002AE2C 00027D8C 7F C4 F3 78 */ mr r4, r30 -/* 8002AE30 00027D90 7F 85 E3 78 */ mr r5, r28 -/* 8002AE34 00027D94 7F A6 EB 78 */ mr r6, r29 -/* 8002AE38 00027D98 38 7B 01 20 */ addi r3, r27, 0x120 -/* 8002AE3C 00027D9C 48 08 DD 8D */ bl "SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager" -/* 8002AE40 00027DA0 3B DE 00 34 */ addi r30, r30, 0x34 -lbl_8002AE44: -/* 8002AE44 00027DA4 7C 1E F8 40 */ cmplw r30, r31 -/* 8002AE48 00027DA8 40 82 FF E4 */ bne lbl_8002AE2C -lbl_8002AE4C: -/* 8002AE4C 00027DAC 38 61 00 0C */ addi r3, r1, 0xc -/* 8002AE50 00027DB0 38 80 FF FF */ li r4, -1 -/* 8002AE54 00027DB4 4B FF FA B1 */ bl sub_8002a904 -/* 8002AE58 00027DB8 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8002AE5C 00027DBC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8002AE60 00027DC0 7C 08 03 A6 */ mtlr r0 -/* 8002AE64 00027DC4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8002AE68 00027DC8 4E 80 00 20 */ blr - -.global InitializeEffects__9CAnimDataFR13CStateManager7TAreaIdRC9CVector3f -InitializeEffects__9CAnimDataFR13CStateManager7TAreaIdRC9CVector3f: -/* 8002AE6C 00027DCC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8002AE70 00027DD0 7C 08 02 A6 */ mflr r0 -/* 8002AE74 00027DD4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8002AE78 00027DD8 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8002AE7C 00027DDC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8002AE80 00027DE0 BE 61 00 5C */ stmw r19, 0x5c(r1) -/* 8002AE84 00027DE4 83 83 00 A8 */ lwz r28, 0xa8(r3) -/* 8002AE88 00027DE8 7C 75 1B 78 */ mr r21, r3 -/* 8002AE8C 00027DEC 3B A1 00 40 */ addi r29, r1, 0x40 -/* 8002AE90 00027DF0 7C 96 23 78 */ mr r22, r4 -/* 8002AE94 00027DF4 7C B7 2B 78 */ mr r23, r5 -/* 8002AE98 00027DF8 7C D8 33 78 */ mr r24, r6 -/* 8002AE9C 00027DFC 3B 60 00 00 */ li r27, 0 -/* 8002AEA0 00027E00 3A 80 00 00 */ li r20, 0 -/* 8002AEA4 00027E04 48 00 00 E8 */ b lbl_8002AF8C -lbl_8002AEA8: -/* 8002AEA8 00027E08 80 15 00 B0 */ lwz r0, 0xb0(r21) -/* 8002AEAC 00027E0C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002AEB0 00027E10 7C 80 A2 14 */ add r4, r0, r20 -/* 8002AEB4 00027E14 4B FF FD C1 */ bl sub_8002ac74 -/* 8002AEB8 00027E18 83 41 00 28 */ lwz r26, 0x28(r1) -/* 8002AEBC 00027E1C 3B 20 00 00 */ li r25, 0 -/* 8002AEC0 00027E20 3A 60 00 00 */ li r19, 0 -/* 8002AEC4 00027E24 48 00 00 AC */ b lbl_8002AF70 -lbl_8002AEC8: -/* 8002AEC8 00027E28 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8002AECC 00027E2C 38 75 01 20 */ addi r3, r21, 0x120 -/* 8002AED0 00027E30 7F C0 9A 14 */ add r30, r0, r19 -/* 8002AED4 00027E34 38 9E 00 10 */ addi r4, r30, 0x10 -/* 8002AED8 00027E38 48 08 EE C9 */ bl CacheParticleDesc__17CParticleDatabaseFRC10SObjectTag -/* 8002AEDC 00027E3C 83 FE 00 2C */ lwz r31, 0x2c(r30) -/* 8002AEE0 00027E40 38 00 00 00 */ li r0, 0 -/* 8002AEE4 00027E44 C3 FE 00 28 */ lfs f31, 0x28(r30) -/* 8002AEE8 00027E48 7F A3 EB 78 */ mr r3, r29 -/* 8002AEEC 00027E4C 38 9E 00 18 */ addi r4, r30, 0x18 -/* 8002AEF0 00027E50 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002AEF4 00027E54 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8002AEF8 00027E58 90 01 00 38 */ stw r0, 0x38(r1) -/* 8002AEFC 00027E5C 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8002AF00 00027E60 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8002AF04 00027E64 48 31 32 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002AF08 00027E68 80 17 00 00 */ lwz r0, 0(r23) -/* 8002AF0C 00027E6C 7F C4 F3 78 */ mr r4, r30 -/* 8002AF10 00027E70 D3 E1 00 50 */ stfs f31, 0x50(r1) -/* 8002AF14 00027E74 7F 07 C3 78 */ mr r7, r24 -/* 8002AF18 00027E78 7E C8 B3 78 */ mr r8, r22 -/* 8002AF1C 00027E7C 38 75 01 20 */ addi r3, r21, 0x120 -/* 8002AF20 00027E80 93 E1 00 54 */ stw r31, 0x54(r1) -/* 8002AF24 00027E84 38 C1 00 34 */ addi r6, r1, 0x34 -/* 8002AF28 00027E88 39 21 00 10 */ addi r9, r1, 0x10 -/* 8002AF2C 00027E8C 39 40 00 01 */ li r10, 1 -/* 8002AF30 00027E90 90 01 00 10 */ stw r0, 0x10(r1) -/* 8002AF34 00027E94 80 15 02 1C */ lwz r0, 0x21c(r21) -/* 8002AF38 00027E98 90 01 00 08 */ stw r0, 8(r1) -/* 8002AF3C 00027E9C 80 BE 00 30 */ lwz r5, 0x30(r30) -/* 8002AF40 00027EA0 48 08 E4 55 */ bl "AddParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC13CParticleDataRC9CVector3fR13CStateManager7TAreaIdb" -/* 8002AF44 00027EA4 28 1D 00 00 */ cmplwi r29, 0 -/* 8002AF48 00027EA8 41 82 00 0C */ beq lbl_8002AF54 -/* 8002AF4C 00027EAC 7F A3 EB 78 */ mr r3, r29 -/* 8002AF50 00027EB0 48 31 2B 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002AF54: -/* 8002AF54 00027EB4 7F C4 F3 78 */ mr r4, r30 -/* 8002AF58 00027EB8 7E C6 B3 78 */ mr r6, r22 -/* 8002AF5C 00027EBC 38 75 01 20 */ addi r3, r21, 0x120 -/* 8002AF60 00027EC0 38 A0 00 00 */ li r5, 0 -/* 8002AF64 00027EC4 48 08 DC 65 */ bl "SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager" -/* 8002AF68 00027EC8 3B 39 00 01 */ addi r25, r25, 1 -/* 8002AF6C 00027ECC 3A 73 00 34 */ addi r19, r19, 0x34 -lbl_8002AF70: -/* 8002AF70 00027ED0 7C 19 D0 40 */ cmplw r25, r26 -/* 8002AF74 00027ED4 41 80 FF 54 */ blt lbl_8002AEC8 -/* 8002AF78 00027ED8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002AF7C 00027EDC 38 80 FF FF */ li r4, -1 -/* 8002AF80 00027EE0 4B FF FA 85 */ bl sub_8002aa04 -/* 8002AF84 00027EE4 3B 7B 00 01 */ addi r27, r27, 1 -/* 8002AF88 00027EE8 3A 94 00 20 */ addi r20, r20, 0x20 -lbl_8002AF8C: -/* 8002AF8C 00027EEC 7C 1B E0 40 */ cmplw r27, r28 -/* 8002AF90 00027EF0 41 80 FF 18 */ blt lbl_8002AEA8 -/* 8002AF94 00027EF4 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8002AF98 00027EF8 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8002AF9C 00027EFC BA 61 00 5C */ lmw r19, 0x5c(r1) -/* 8002AFA0 00027F00 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8002AFA4 00027F04 7C 08 03 A6 */ mtlr r0 -/* 8002AFA8 00027F08 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8002AFAC 00027F0C 4E 80 00 20 */ blr - -.global Touch__9CAnimDataCFRC13CSkinnedModeli -Touch__9CAnimDataCFRC13CSkinnedModeli: -/* 8002AFB0 00027F10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002AFB4 00027F14 7C 08 02 A6 */ mflr r0 -/* 8002AFB8 00027F18 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002AFBC 00027F1C 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8002AFC0 00027F20 7C A4 2B 78 */ mr r4, r5 -/* 8002AFC4 00027F24 48 32 A6 71 */ bl Touch__6CModelCFi -/* 8002AFC8 00027F28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002AFCC 00027F2C 7C 08 03 A6 */ mtlr r0 -/* 8002AFD0 00027F30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002AFD4 00027F34 4E 80 00 20 */ blr - -.global GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime -GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime: -/* 8002AFD8 00027F38 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8002AFDC 00027F3C 7C 08 02 A6 */ mflr r0 -/* 8002AFE0 00027F40 90 01 01 44 */ stw r0, 0x144(r1) -/* 8002AFE4 00027F44 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8002AFE8 00027F48 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 8002AFEC 00027F4C BE 81 01 00 */ stmw r20, 0x100(r1) -/* 8002AFF0 00027F50 80 84 01 F8 */ lwz r4, 0x1f8(r4) -/* 8002AFF4 00027F54 7C 7F 1B 78 */ mr r31, r3 -/* 8002AFF8 00027F58 7C B6 2B 78 */ mr r22, r5 -/* 8002AFFC 00027F5C 80 AD A1 0C */ lwz r5, lbl_805A8CCC@sda21(r13) -/* 8002B000 00027F60 80 64 00 00 */ lwz r3, 0(r4) -/* 8002B004 00027F64 7C C4 33 78 */ mr r4, r6 -/* 8002B008 00027F68 38 C0 00 10 */ li r6, 0x10 -/* 8002B00C 00027F6C 38 E0 00 00 */ li r7, 0 -/* 8002B010 00027F70 39 00 00 40 */ li r8, 0x40 -/* 8002B014 00027F74 48 2D 2D 69 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii -/* 8002B018 00027F78 3C C0 80 3D */ lis r6, lbl_803CCD20@ha -/* 8002B01C 00027F7C 3C A0 80 3E */ lis r5, lbl_803D9B98@ha -/* 8002B020 00027F80 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 8002B024 00027F84 7C 7C 1B 78 */ mr r28, r3 -/* 8002B028 00027F88 3B 21 00 70 */ addi r25, r1, 0x70 -/* 8002B02C 00027F8C 3B 41 00 A4 */ addi r26, r1, 0xa4 -/* 8002B030 00027F90 3B A6 CD 20 */ addi r29, r6, lbl_803CCD20@l -/* 8002B034 00027F94 3B C1 00 28 */ addi r30, r1, 0x28 -/* 8002B038 00027F98 3A 85 9B 98 */ addi r20, r5, lbl_803D9B98@l -/* 8002B03C 00027F9C 3A A4 9B 8C */ addi r21, r4, lbl_803D9B8C@l -/* 8002B040 00027FA0 3A E0 00 00 */ li r23, 0 -/* 8002B044 00027FA4 3B 00 00 00 */ li r24, 0 -/* 8002B048 00027FA8 48 00 02 84 */ b lbl_8002B2CC -lbl_8002B04C: -/* 8002B04C 00027FAC 80 0D A1 0C */ lwz r0, lbl_805A8CCC@sda21(r13) -/* 8002B050 00027FB0 7C C0 C2 14 */ add r6, r0, r24 -/* 8002B054 00027FB4 A0 06 00 18 */ lhz r0, 0x18(r6) -/* 8002B058 00027FB8 2C 00 00 06 */ cmpwi r0, 6 -/* 8002B05C 00027FBC 40 82 01 68 */ bne lbl_8002B1C4 -/* 8002B060 00027FC0 80 06 00 38 */ lwz r0, 0x38(r6) -/* 8002B064 00027FC4 7C 00 B0 00 */ cmpw r0, r22 -/* 8002B068 00027FC8 40 82 01 5C */ bne lbl_8002B1C4 -/* 8002B06C 00027FCC 80 06 00 20 */ lwz r0, 0x20(r6) -/* 8002B070 00027FD0 3C A0 80 3D */ lis r5, lbl_803CCD20@ha -/* 8002B074 00027FD4 1F 57 00 4C */ mulli r26, r23, 0x4c -/* 8002B078 00027FD8 3C 80 80 3E */ lis r4, lbl_803D9B98@ha -/* 8002B07C 00027FDC 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 8002B080 00027FE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002B084 00027FE4 C3 E6 00 1C */ lfs f31, 0x1c(r6) -/* 8002B088 00027FE8 3B 21 00 BC */ addi r25, r1, 0xbc -/* 8002B08C 00027FEC 3B 01 00 F0 */ addi r24, r1, 0xf0 -/* 8002B090 00027FF0 3B C5 CD 20 */ addi r30, r5, lbl_803CCD20@l -/* 8002B094 00027FF4 3B A1 00 48 */ addi r29, r1, 0x48 -/* 8002B098 00027FF8 3A A4 9B 98 */ addi r21, r4, lbl_803D9B98@l -/* 8002B09C 00027FFC 3A 83 9B 8C */ addi r20, r3, lbl_803D9B8C@l -/* 8002B0A0 00028000 48 00 01 0C */ b lbl_8002B1AC -lbl_8002B0A4: -/* 8002B0A4 00028004 38 61 00 58 */ addi r3, r1, 0x58 -/* 8002B0A8 00028008 38 9E 00 07 */ addi r4, r30, 7 -/* 8002B0AC 0002800C 4B FD 9C 0D */ bl string_l__4rstlFPCc -/* 8002B0B0 00028010 38 61 00 48 */ addi r3, r1, 0x48 -/* 8002B0B4 00028014 38 9E 00 08 */ addi r4, r30, 8 -/* 8002B0B8 00028018 4B FD 9C 01 */ bl string_l__4rstlFPCc -/* 8002B0BC 0002801C C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) -/* 8002B0C0 00028020 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002B0C4 00028024 48 31 DD 29 */ bl __ct__13CCharAnimTimeFf -/* 8002B0C8 00028028 38 00 00 00 */ li r0, 0 -/* 8002B0CC 0002802C 7C 66 1B 78 */ mr r6, r3 -/* 8002B0D0 00028030 90 01 00 08 */ stw r0, 8(r1) -/* 8002B0D4 00028034 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8002B0D8 00028038 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) -/* 8002B0DC 0002803C 38 81 00 58 */ addi r4, r1, 0x58 -/* 8002B0E0 00028040 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8002B0E4 00028044 38 A0 00 02 */ li r5, 2 -/* 8002B0E8 00028048 38 E0 FF FF */ li r7, -1 -/* 8002B0EC 0002804C 39 00 00 00 */ li r8, 0 -/* 8002B0F0 00028050 39 20 FF FF */ li r9, -1 -/* 8002B0F4 00028054 39 40 00 00 */ li r10, 0 -/* 8002B0F8 00028058 48 00 02 95 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002B0FC 0002805C 80 6D A1 0C */ lwz r3, lbl_805A8CCC@sda21(r13) -/* 8002B100 00028060 7F 24 CB 78 */ mr r4, r25 -/* 8002B104 00028064 A0 01 00 B8 */ lhz r0, 0xb8(r1) -/* 8002B108 00028068 7F 63 D2 14 */ add r27, r3, r26 -/* 8002B10C 0002806C B0 1B 00 04 */ sth r0, 4(r27) -/* 8002B110 00028070 38 7B 00 08 */ addi r3, r27, 8 -/* 8002B114 00028074 48 31 2C 49 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002B118 00028078 A0 01 00 CC */ lhz r0, 0xcc(r1) -/* 8002B11C 0002807C 7F 04 C3 78 */ mr r4, r24 -/* 8002B120 00028080 38 7B 00 3C */ addi r3, r27, 0x3c -/* 8002B124 00028084 B0 1B 00 18 */ sth r0, 0x18(r27) -/* 8002B128 00028088 80 A1 00 D0 */ lwz r5, 0xd0(r1) -/* 8002B12C 0002808C 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8002B130 00028090 90 BB 00 1C */ stw r5, 0x1c(r27) -/* 8002B134 00028094 90 1B 00 20 */ stw r0, 0x20(r27) -/* 8002B138 00028098 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8002B13C 0002809C 90 1B 00 24 */ stw r0, 0x24(r27) -/* 8002B140 000280A0 88 01 00 DC */ lbz r0, 0xdc(r1) -/* 8002B144 000280A4 98 1B 00 28 */ stb r0, 0x28(r27) -/* 8002B148 000280A8 C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 8002B14C 000280AC D0 1B 00 2C */ stfs f0, 0x2c(r27) -/* 8002B150 000280B0 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8002B154 000280B4 90 1B 00 30 */ stw r0, 0x30(r27) -/* 8002B158 000280B8 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 8002B15C 000280BC 90 1B 00 34 */ stw r0, 0x34(r27) -/* 8002B160 000280C0 80 01 00 EC */ lwz r0, 0xec(r1) -/* 8002B164 000280C4 90 1B 00 38 */ stw r0, 0x38(r27) -/* 8002B168 000280C8 48 31 2B F5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002B16C 000280CC 28 18 00 00 */ cmplwi r24, 0 -/* 8002B170 000280D0 92 A1 00 B4 */ stw r21, 0xb4(r1) -/* 8002B174 000280D4 41 82 00 0C */ beq lbl_8002B180 -/* 8002B178 000280D8 7F 03 C3 78 */ mr r3, r24 -/* 8002B17C 000280DC 48 31 29 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002B180: -/* 8002B180 000280E0 28 19 00 00 */ cmplwi r25, 0 -/* 8002B184 000280E4 92 81 00 B4 */ stw r20, 0xb4(r1) -/* 8002B188 000280E8 41 82 00 0C */ beq lbl_8002B194 -/* 8002B18C 000280EC 7F 23 CB 78 */ mr r3, r25 -/* 8002B190 000280F0 48 31 29 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002B194: -/* 8002B194 000280F4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8002B198 000280F8 48 31 29 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002B19C 000280FC 38 61 00 58 */ addi r3, r1, 0x58 -/* 8002B1A0 00028100 48 31 29 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002B1A4 00028104 3B 5A 00 4C */ addi r26, r26, 0x4c -/* 8002B1A8 00028108 3A F7 00 01 */ addi r23, r23, 1 -lbl_8002B1AC: -/* 8002B1AC 0002810C 7C 17 E0 00 */ cmpw r23, r28 -/* 8002B1B0 00028110 41 80 FE F4 */ blt lbl_8002B0A4 -/* 8002B1B4 00028114 D3 FF 00 00 */ stfs f31, 0(r31) -/* 8002B1B8 00028118 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002B1BC 0002811C 90 1F 00 04 */ stw r0, 4(r31) -/* 8002B1C0 00028120 48 00 01 24 */ b lbl_8002B2E4 -lbl_8002B1C4: -/* 8002B1C4 00028124 38 61 00 38 */ addi r3, r1, 0x38 -/* 8002B1C8 00028128 38 9D 00 07 */ addi r4, r29, 7 -/* 8002B1CC 0002812C 4B FD 9A ED */ bl string_l__4rstlFPCc -/* 8002B1D0 00028130 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002B1D4 00028134 38 9D 00 08 */ addi r4, r29, 8 -/* 8002B1D8 00028138 4B FD 9A E1 */ bl string_l__4rstlFPCc -/* 8002B1DC 0002813C C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) -/* 8002B1E0 00028140 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002B1E4 00028144 48 31 DC 09 */ bl __ct__13CCharAnimTimeFf -/* 8002B1E8 00028148 38 00 00 00 */ li r0, 0 -/* 8002B1EC 0002814C 7C 66 1B 78 */ mr r6, r3 -/* 8002B1F0 00028150 90 01 00 08 */ stw r0, 8(r1) -/* 8002B1F4 00028154 38 61 00 68 */ addi r3, r1, 0x68 -/* 8002B1F8 00028158 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) -/* 8002B1FC 0002815C 38 81 00 38 */ addi r4, r1, 0x38 -/* 8002B200 00028160 93 C1 00 0C */ stw r30, 0xc(r1) -/* 8002B204 00028164 38 A0 00 02 */ li r5, 2 -/* 8002B208 00028168 38 E0 FF FF */ li r7, -1 -/* 8002B20C 0002816C 39 00 00 00 */ li r8, 0 -/* 8002B210 00028170 39 20 FF FF */ li r9, -1 -/* 8002B214 00028174 39 40 00 00 */ li r10, 0 -/* 8002B218 00028178 48 00 01 75 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002B21C 0002817C 80 6D A1 0C */ lwz r3, lbl_805A8CCC@sda21(r13) -/* 8002B220 00028180 7F 24 CB 78 */ mr r4, r25 -/* 8002B224 00028184 A0 01 00 6C */ lhz r0, 0x6c(r1) -/* 8002B228 00028188 7F 63 C2 14 */ add r27, r3, r24 -/* 8002B22C 0002818C B0 1B 00 04 */ sth r0, 4(r27) -/* 8002B230 00028190 38 7B 00 08 */ addi r3, r27, 8 -/* 8002B234 00028194 48 31 2B 29 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002B238 00028198 A0 01 00 80 */ lhz r0, 0x80(r1) -/* 8002B23C 0002819C 7F 44 D3 78 */ mr r4, r26 -/* 8002B240 000281A0 38 7B 00 3C */ addi r3, r27, 0x3c -/* 8002B244 000281A4 B0 1B 00 18 */ sth r0, 0x18(r27) -/* 8002B248 000281A8 80 A1 00 84 */ lwz r5, 0x84(r1) -/* 8002B24C 000281AC 80 01 00 88 */ lwz r0, 0x88(r1) -/* 8002B250 000281B0 90 BB 00 1C */ stw r5, 0x1c(r27) -/* 8002B254 000281B4 90 1B 00 20 */ stw r0, 0x20(r27) -/* 8002B258 000281B8 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 8002B25C 000281BC 90 1B 00 24 */ stw r0, 0x24(r27) -/* 8002B260 000281C0 88 01 00 90 */ lbz r0, 0x90(r1) -/* 8002B264 000281C4 98 1B 00 28 */ stb r0, 0x28(r27) -/* 8002B268 000281C8 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 8002B26C 000281CC D0 1B 00 2C */ stfs f0, 0x2c(r27) -/* 8002B270 000281D0 80 01 00 98 */ lwz r0, 0x98(r1) -/* 8002B274 000281D4 90 1B 00 30 */ stw r0, 0x30(r27) -/* 8002B278 000281D8 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 8002B27C 000281DC 90 1B 00 34 */ stw r0, 0x34(r27) -/* 8002B280 000281E0 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 8002B284 000281E4 90 1B 00 38 */ stw r0, 0x38(r27) -/* 8002B288 000281E8 48 31 2A D5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002B28C 000281EC 28 1A 00 00 */ cmplwi r26, 0 -/* 8002B290 000281F0 92 81 00 68 */ stw r20, 0x68(r1) -/* 8002B294 000281F4 41 82 00 0C */ beq lbl_8002B2A0 -/* 8002B298 000281F8 7F 43 D3 78 */ mr r3, r26 -/* 8002B29C 000281FC 48 31 28 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002B2A0: -/* 8002B2A0 00028200 28 19 00 00 */ cmplwi r25, 0 -/* 8002B2A4 00028204 92 A1 00 68 */ stw r21, 0x68(r1) -/* 8002B2A8 00028208 41 82 00 0C */ beq lbl_8002B2B4 -/* 8002B2AC 0002820C 7F 23 CB 78 */ mr r3, r25 -/* 8002B2B0 00028210 48 31 28 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002B2B4: -/* 8002B2B4 00028214 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002B2B8 00028218 48 31 28 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002B2BC 0002821C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8002B2C0 00028220 48 31 28 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002B2C4 00028224 3B 18 00 4C */ addi r24, r24, 0x4c -/* 8002B2C8 00028228 3A F7 00 01 */ addi r23, r23, 1 -lbl_8002B2CC: -/* 8002B2CC 0002822C 7C 17 E0 00 */ cmpw r23, r28 -/* 8002B2D0 00028230 41 80 FD 7C */ blt lbl_8002B04C -/* 8002B2D4 00028234 C0 0D 81 EC */ lfs f0, lbl_805A6DAC@sda21(r13) -/* 8002B2D8 00028238 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8002B2DC 0002823C 80 0D 81 E8 */ lwz r0, lbl_805A6DA8@sda21(r13) -/* 8002B2E0 00028240 90 1F 00 04 */ stw r0, 4(r31) -lbl_8002B2E4: -/* 8002B2E4 00028244 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 8002B2E8 00028248 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 8002B2EC 0002824C BA 81 01 00 */ lmw r20, 0x100(r1) -/* 8002B2F0 00028250 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8002B2F4 00028254 7C 08 03 A6 */ mtlr r0 -/* 8002B2F8 00028258 38 21 01 40 */ addi r1, r1, 0x140 -/* 8002B2FC 0002825C 4E 80 00 20 */ blr - -.global __dt__13CInt32POINodeFv -__dt__13CInt32POINodeFv: -/* 8002B300 00028260 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002B304 00028264 7C 08 02 A6 */ mflr r0 -/* 8002B308 00028268 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002B30C 0002826C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002B310 00028270 7C 9F 23 78 */ mr r31, r4 -/* 8002B314 00028274 93 C1 00 08 */ stw r30, 8(r1) -/* 8002B318 00028278 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002B31C 0002827C 41 82 00 54 */ beq lbl_8002B370 -/* 8002B320 00028280 3C 60 80 3E */ lis r3, lbl_803D9B98@ha -/* 8002B324 00028284 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 8002B328 00028288 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l -/* 8002B32C 0002828C 90 1E 00 00 */ stw r0, 0(r30) -/* 8002B330 00028290 41 82 00 0C */ beq lbl_8002B33C -/* 8002B334 00028294 38 7E 00 3C */ addi r3, r30, 0x3c -/* 8002B338 00028298 48 31 27 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002B33C: -/* 8002B33C 0002829C 28 1E 00 00 */ cmplwi r30, 0 -/* 8002B340 000282A0 41 82 00 20 */ beq lbl_8002B360 -/* 8002B344 000282A4 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 8002B348 000282A8 34 1E 00 08 */ addic. r0, r30, 8 -/* 8002B34C 000282AC 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l -/* 8002B350 000282B0 90 1E 00 00 */ stw r0, 0(r30) -/* 8002B354 000282B4 41 82 00 0C */ beq lbl_8002B360 -/* 8002B358 000282B8 38 7E 00 08 */ addi r3, r30, 8 -/* 8002B35C 000282BC 48 31 27 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002B360: -/* 8002B360 000282C0 7F E0 07 35 */ extsh. r0, r31 -/* 8002B364 000282C4 40 81 00 0C */ ble lbl_8002B370 -/* 8002B368 000282C8 7F C3 F3 78 */ mr r3, r30 -/* 8002B36C 000282CC 48 2E A5 C5 */ bl Free__7CMemoryFPCv -lbl_8002B370: -/* 8002B370 000282D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002B374 000282D4 7F C3 F3 78 */ mr r3, r30 -/* 8002B378 000282D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002B37C 000282DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002B380 000282E0 7C 08 03 A6 */ mtlr r0 -/* 8002B384 000282E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002B388 000282E8 4E 80 00 20 */ blr - -.global "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8002B38C 000282EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002B390 000282F0 7C 08 02 A6 */ mflr r0 -/* 8002B394 000282F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002B398 000282F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002B39C 000282FC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002B3A0 00028300 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002B3A4 00028304 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002B3A8 00028308 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002B3AC 0002830C 7C 7D 1B 78 */ mr r29, r3 -/* 8002B3B0 00028310 48 2D 1E 61 */ bl "__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii" -/* 8002B3B4 00028314 3C 60 80 3E */ lis r3, lbl_803D9B98@ha -/* 8002B3B8 00028318 7F E4 FB 78 */ mr r4, r31 -/* 8002B3BC 0002831C 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l -/* 8002B3C0 00028320 38 7D 00 3C */ addi r3, r29, 0x3c -/* 8002B3C4 00028324 90 1D 00 00 */ stw r0, 0(r29) -/* 8002B3C8 00028328 93 DD 00 38 */ stw r30, 0x38(r29) -/* 8002B3CC 0002832C 48 31 2D 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002B3D0 00028330 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002B3D4 00028334 7F A3 EB 78 */ mr r3, r29 -/* 8002B3D8 00028338 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002B3DC 0002833C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002B3E0 00028340 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8002B3E4 00028344 7C 08 03 A6 */ mtlr r0 -/* 8002B3E8 00028348 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002B3EC 0002834C 4E 80 00 20 */ blr - -.global __dt__8CPOINodeFv -__dt__8CPOINodeFv: -/* 8002B3F0 00028350 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002B3F4 00028354 7C 08 02 A6 */ mflr r0 -/* 8002B3F8 00028358 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002B3FC 0002835C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002B400 00028360 7C 9F 23 78 */ mr r31, r4 -/* 8002B404 00028364 93 C1 00 08 */ stw r30, 8(r1) -/* 8002B408 00028368 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002B40C 0002836C 41 82 00 30 */ beq lbl_8002B43C -/* 8002B410 00028370 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 8002B414 00028374 34 1E 00 08 */ addic. r0, r30, 8 -/* 8002B418 00028378 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l -/* 8002B41C 0002837C 90 1E 00 00 */ stw r0, 0(r30) -/* 8002B420 00028380 41 82 00 0C */ beq lbl_8002B42C -/* 8002B424 00028384 38 7E 00 08 */ addi r3, r30, 8 -/* 8002B428 00028388 48 31 26 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002B42C: -/* 8002B42C 0002838C 7F E0 07 35 */ extsh. r0, r31 -/* 8002B430 00028390 40 81 00 0C */ ble lbl_8002B43C -/* 8002B434 00028394 7F C3 F3 78 */ mr r3, r30 -/* 8002B438 00028398 48 2E A4 F9 */ bl Free__7CMemoryFPCv -lbl_8002B43C: -/* 8002B43C 0002839C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002B440 000283A0 7F C3 F3 78 */ mr r3, r30 -/* 8002B444 000283A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002B448 000283A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002B44C 000283AC 7C 08 03 A6 */ mtlr r0 -/* 8002B450 000283B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002B454 000283B4 4E 80 00 20 */ blr - -.global MultiplyPlaybackRate__9CAnimDataFf -MultiplyPlaybackRate__9CAnimDataFf: -/* 8002B458 000283B8 C0 03 02 00 */ lfs f0, 0x200(r3) -/* 8002B45C 000283BC EC 00 00 72 */ fmuls f0, f0, f1 -/* 8002B460 000283C0 D0 03 02 00 */ stfs f0, 0x200(r3) -/* 8002B464 000283C4 4E 80 00 20 */ blr - -.global SetPlaybackRate__9CAnimDataFf -SetPlaybackRate__9CAnimDataFf: -/* 8002B468 000283C8 D0 23 02 00 */ stfs f1, 0x200(r3) -/* 8002B46C 000283CC 4E 80 00 20 */ blr - -.global SetRandomPlaybackRate__9CAnimDataFR9CRandom16 -SetRandomPlaybackRate__9CAnimDataFR9CRandom16: -/* 8002B470 000283D0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002B474 000283D4 7C 08 02 A6 */ mflr r0 -/* 8002B478 000283D8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002B47C 000283DC DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8002B480 000283E0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8002B484 000283E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002B488 000283E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002B48C 000283EC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002B490 000283F0 7C 7F 1B 78 */ mr r31, r3 -/* 8002B494 000283F4 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8002B498 000283F8 80 1F 02 10 */ lwz r0, 0x210(r31) -/* 8002B49C 000283FC 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l -/* 8002B4A0 00028400 7C 9D 23 78 */ mr r29, r4 -/* 8002B4A4 00028404 38 63 00 04 */ addi r3, r3, 4 -/* 8002B4A8 00028408 7C 09 03 A6 */ mtctr r0 -/* 8002B4AC 0002840C 2C 00 00 00 */ cmpwi r0, 0 -/* 8002B4B0 00028410 40 81 00 A4 */ ble lbl_8002B554 -lbl_8002B4B4: -/* 8002B4B4 00028414 A0 03 00 18 */ lhz r0, 0x18(r3) -/* 8002B4B8 00028418 2C 00 00 07 */ cmpwi r0, 7 -/* 8002B4BC 0002841C 40 82 00 90 */ bne lbl_8002B54C -/* 8002B4C0 00028420 83 C3 00 38 */ lwz r30, 0x38(r3) -/* 8002B4C4 00028424 7F A3 EB 78 */ mr r3, r29 -/* 8002B4C8 00028428 48 2E 70 59 */ bl Next__9CRandom16Fv -/* 8002B4CC 0002842C 7C 83 F3 D6 */ divw r4, r3, r30 -/* 8002B4D0 00028430 3C 00 43 30 */ lis r0, 0x4330 -/* 8002B4D4 00028434 90 01 00 08 */ stw r0, 8(r1) -/* 8002B4D8 00028438 C8 42 83 E0 */ lfd f2, lbl_805AA100@sda21(r2) -/* 8002B4DC 0002843C C0 02 83 DC */ lfs f0, lbl_805AA0FC@sda21(r2) -/* 8002B4E0 00028440 7C 04 F1 D6 */ mullw r0, r4, r30 -/* 8002B4E4 00028444 7C 00 18 50 */ subf r0, r0, r3 -/* 8002B4E8 00028448 7F A3 EB 78 */ mr r3, r29 -/* 8002B4EC 0002844C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8002B4F0 00028450 90 01 00 0C */ stw r0, 0xc(r1) -/* 8002B4F4 00028454 C8 21 00 08 */ lfd f1, 8(r1) -/* 8002B4F8 00028458 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8002B4FC 0002845C EF E1 00 24 */ fdivs f31, f1, f0 -/* 8002B500 00028460 48 2E 70 21 */ bl Next__9CRandom16Fv -/* 8002B504 00028464 3C 80 51 EC */ lis r4, 0x51EB851F@ha -/* 8002B508 00028468 38 04 85 1F */ addi r0, r4, 0x51EB851F@l -/* 8002B50C 0002846C 7C 00 18 96 */ mulhw r0, r0, r3 -/* 8002B510 00028470 7C 00 2E 70 */ srawi r0, r0, 5 -/* 8002B514 00028474 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8002B518 00028478 7C 00 22 14 */ add r0, r0, r4 -/* 8002B51C 0002847C 1C 00 00 64 */ mulli r0, r0, 0x64 -/* 8002B520 00028480 7C 00 18 50 */ subf r0, r0, r3 -/* 8002B524 00028484 2C 00 00 32 */ cmpwi r0, 0x32 -/* 8002B528 00028488 40 80 00 14 */ bge lbl_8002B53C -/* 8002B52C 0002848C C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) -/* 8002B530 00028490 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8002B534 00028494 D0 1F 02 00 */ stfs f0, 0x200(r31) -/* 8002B538 00028498 48 00 00 1C */ b lbl_8002B554 -lbl_8002B53C: -/* 8002B53C 0002849C C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) -/* 8002B540 000284A0 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8002B544 000284A4 D0 1F 02 00 */ stfs f0, 0x200(r31) -/* 8002B548 000284A8 48 00 00 0C */ b lbl_8002B554 -lbl_8002B54C: -/* 8002B54C 000284AC 38 63 00 4C */ addi r3, r3, 0x4c -/* 8002B550 000284B0 42 00 FF 64 */ bdnz lbl_8002B4B4 -lbl_8002B554: -/* 8002B554 000284B4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8002B558 000284B8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002B55C 000284BC CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8002B560 000284C0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002B564 000284C4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002B568 000284C8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8002B56C 000284CC 7C 08 03 A6 */ mtlr r0 -/* 8002B570 000284D0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002B574 000284D4 4E 80 00 20 */ blr - -.global "CalcPlaybackAlignmentParms__9CAnimDataFRC18CAnimPlaybackParmsRCQ24rstl25ncrc_ptr<13CAnimTreeNode>" -"CalcPlaybackAlignmentParms__9CAnimDataFRC18CAnimPlaybackParmsRCQ24rstl25ncrc_ptr<13CAnimTreeNode>": -/* 8002B578 000284D8 94 21 FA E0 */ stwu r1, -0x520(r1) -/* 8002B57C 000284DC 7C 08 02 A6 */ mflr r0 -/* 8002B580 000284E0 90 01 05 24 */ stw r0, 0x524(r1) -/* 8002B584 000284E4 DB E1 05 10 */ stfd f31, 0x510(r1) -/* 8002B588 000284E8 F3 E1 05 18 */ psq_st f31, 1304(r1), 0, qr0 -/* 8002B58C 000284EC DB C1 05 00 */ stfd f30, 0x500(r1) -/* 8002B590 000284F0 F3 C1 05 08 */ psq_st f30, 1288(r1), 0, qr0 -/* 8002B594 000284F4 DB A1 04 F0 */ stfd f29, 0x4f0(r1) -/* 8002B598 000284F8 F3 A1 04 F8 */ psq_st f29, 1272(r1), 0, qr0 -/* 8002B59C 000284FC DB 81 04 E0 */ stfd f28, 0x4e0(r1) -/* 8002B5A0 00028500 F3 81 04 E8 */ psq_st f28, 1256(r1), 0, qr0 -/* 8002B5A4 00028504 DB 61 04 D0 */ stfd f27, 0x4d0(r1) -/* 8002B5A8 00028508 F3 61 04 D8 */ psq_st f27, 1240(r1), 0, qr0 -/* 8002B5AC 0002850C DB 41 04 C0 */ stfd f26, 0x4c0(r1) -/* 8002B5B0 00028510 F3 41 04 C8 */ psq_st f26, 1224(r1), 0, qr0 -/* 8002B5B4 00028514 DB 21 04 B0 */ stfd f25, 0x4b0(r1) -/* 8002B5B8 00028518 F3 21 04 B8 */ psq_st f25, 1208(r1), 0, qr0 -/* 8002B5BC 0002851C DB 01 04 A0 */ stfd f24, 0x4a0(r1) -/* 8002B5C0 00028520 F3 01 04 A8 */ psq_st f24, 1192(r1), 0, qr0 -/* 8002B5C4 00028524 DA E1 04 90 */ stfd f23, 0x490(r1) -/* 8002B5C8 00028528 F2 E1 04 98 */ psq_st f23, 1176(r1), 0, qr0 -/* 8002B5CC 0002852C DA C1 04 80 */ stfd f22, 0x480(r1) -/* 8002B5D0 00028530 F2 C1 04 88 */ psq_st f22, 1160(r1), 0, qr0 -/* 8002B5D4 00028534 DA A1 04 70 */ stfd f21, 0x470(r1) -/* 8002B5D8 00028538 F2 A1 04 78 */ psq_st f21, 1144(r1), 0, qr0 -/* 8002B5DC 0002853C BE 81 04 40 */ stmw r20, 0x440(r1) -/* 8002B5E0 00028540 3C C0 80 5A */ lis r6, lbl_805A6660@ha -/* 8002B5E4 00028544 7C 9E 23 78 */ mr r30, r4 -/* 8002B5E8 00028548 3B 66 66 60 */ addi r27, r6, lbl_805A6660@l -/* 8002B5EC 0002854C 83 84 00 1C */ lwz r28, 0x1c(r4) -/* 8002B5F0 00028550 C0 7B 00 00 */ lfs f3, 0(r27) -/* 8002B5F4 00028554 7C 7D 1B 78 */ mr r29, r3 -/* 8002B5F8 00028558 C0 5B 00 04 */ lfs f2, 4(r27) -/* 8002B5FC 0002855C 38 80 00 00 */ li r4, 0 -/* 8002B600 00028560 C0 3B 00 08 */ lfs f1, 8(r27) -/* 8002B604 00028564 28 1C 00 00 */ cmplwi r28, 0 -/* 8002B608 00028568 C0 1B 00 0C */ lfs f0, 0xc(r27) -/* 8002B60C 0002856C 7C BF 2B 78 */ mr r31, r5 -/* 8002B610 00028570 D0 61 01 54 */ stfs f3, 0x154(r1) -/* 8002B614 00028574 83 5E 00 20 */ lwz r26, 0x20(r30) -/* 8002B618 00028578 D0 41 01 58 */ stfs f2, 0x158(r1) -/* 8002B61C 0002857C D0 21 01 5C */ stfs f1, 0x15c(r1) -/* 8002B620 00028580 D0 01 01 60 */ stfs f0, 0x160(r1) -/* 8002B624 00028584 D0 63 01 E8 */ stfs f3, 0x1e8(r3) -/* 8002B628 00028588 80 A1 01 58 */ lwz r5, 0x158(r1) -/* 8002B62C 0002858C 80 01 01 5C */ lwz r0, 0x15c(r1) -/* 8002B630 00028590 90 A3 01 EC */ stw r5, 0x1ec(r3) -/* 8002B634 00028594 90 03 01 F0 */ stw r0, 0x1f0(r3) -/* 8002B638 00028598 80 01 01 60 */ lwz r0, 0x160(r1) -/* 8002B63C 0002859C 90 03 01 F4 */ stw r0, 0x1f4(r3) -/* 8002B640 000285A0 88 03 02 20 */ lbz r0, 0x220(r3) -/* 8002B644 000285A4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8002B648 000285A8 98 03 02 20 */ stb r0, 0x220(r3) -/* 8002B64C 000285AC 41 82 02 38 */ beq lbl_8002B884 -/* 8002B650 000285B0 28 1A 00 00 */ cmplwi r26, 0 -/* 8002B654 000285B4 41 82 02 30 */ beq lbl_8002B884 -/* 8002B658 000285B8 48 00 31 C9 */ bl ResetPOILists__9CAnimDataFv -/* 8002B65C 000285BC C0 0D 81 EC */ lfs f0, lbl_805A6DAC@sda21(r13) -/* 8002B660 000285C0 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8002B664 000285C4 80 0D 81 E8 */ lwz r0, lbl_805A6DA8@sda21(r13) -/* 8002B668 000285C8 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l -/* 8002B66C 000285CC D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8002B670 000285D0 3A 83 00 04 */ addi r20, r3, 4 -/* 8002B674 000285D4 80 7F 00 00 */ lwz r3, 0(r31) -/* 8002B678 000285D8 7E 85 A3 78 */ mr r5, r20 -/* 8002B67C 000285DC 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8002B680 000285E0 38 81 00 58 */ addi r4, r1, 0x58 -/* 8002B684 000285E4 38 C0 00 10 */ li r6, 0x10 -/* 8002B688 000285E8 39 00 00 40 */ li r8, 0x40 -/* 8002B68C 000285EC 80 63 00 00 */ lwz r3, 0(r3) -/* 8002B690 000285F0 80 FD 02 10 */ lwz r7, 0x210(r29) -/* 8002B694 000285F4 48 2D 26 E9 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii -/* 8002B698 000285F8 80 1D 02 10 */ lwz r0, 0x210(r29) -/* 8002B69C 000285FC 7C 00 1A 14 */ add r0, r0, r3 -/* 8002B6A0 00028600 90 1D 02 10 */ stw r0, 0x210(r29) -/* 8002B6A4 00028604 80 1D 02 10 */ lwz r0, 0x210(r29) -/* 8002B6A8 00028608 2C 00 00 00 */ cmpwi r0, 0 -/* 8002B6AC 0002860C 40 81 01 D8 */ ble lbl_8002B884 -/* 8002B6B0 00028610 7C 09 03 A6 */ mtctr r0 -/* 8002B6B4 00028614 40 81 01 D0 */ ble lbl_8002B884 -lbl_8002B6B8: -/* 8002B6B8 00028618 A0 14 00 18 */ lhz r0, 0x18(r20) -/* 8002B6BC 0002861C 2C 00 00 06 */ cmpwi r0, 6 -/* 8002B6C0 00028620 40 82 01 BC */ bne lbl_8002B87C -/* 8002B6C4 00028624 80 14 00 38 */ lwz r0, 0x38(r20) -/* 8002B6C8 00028628 2C 00 00 04 */ cmpwi r0, 4 -/* 8002B6CC 0002862C 40 82 01 B0 */ bne lbl_8002B87C -/* 8002B6D0 00028630 C0 0D 81 DC */ lfs f0, lbl_805A6D9C@sda21(r13) -/* 8002B6D4 00028634 3A 94 00 1C */ addi r20, r20, 0x1c -/* 8002B6D8 00028638 80 0D 81 D8 */ lwz r0, lbl_805A6D98@sda21(r13) -/* 8002B6DC 0002863C 7E 85 A3 78 */ mr r5, r20 -/* 8002B6E0 00028640 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8002B6E4 00028644 38 61 02 FC */ addi r3, r1, 0x2fc -/* 8002B6E8 00028648 80 9F 00 00 */ lwz r4, 0(r31) -/* 8002B6EC 0002864C 38 C1 00 50 */ addi r6, r1, 0x50 -/* 8002B6F0 00028650 90 01 00 54 */ stw r0, 0x54(r1) -/* 8002B6F4 00028654 80 84 00 00 */ lwz r4, 0(r4) -/* 8002B6F8 00028658 81 84 00 00 */ lwz r12, 0(r4) -/* 8002B6FC 0002865C 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8002B700 00028660 7D 89 03 A6 */ mtctr r12 -/* 8002B704 00028664 4E 80 04 21 */ bctrl -/* 8002B708 00028668 80 01 03 00 */ lwz r0, 0x300(r1) -/* 8002B70C 0002866C 7F 44 D3 78 */ mr r4, r26 -/* 8002B710 00028670 C0 C1 03 04 */ lfs f6, 0x304(r1) -/* 8002B714 00028674 38 61 02 B4 */ addi r3, r1, 0x2b4 -/* 8002B718 00028678 C0 A1 03 08 */ lfs f5, 0x308(r1) -/* 8002B71C 0002867C C0 81 03 0C */ lfs f4, 0x30c(r1) -/* 8002B720 00028680 C0 61 03 10 */ lfs f3, 0x310(r1) -/* 8002B724 00028684 C0 41 03 14 */ lfs f2, 0x314(r1) -/* 8002B728 00028688 C0 21 03 18 */ lfs f1, 0x318(r1) -/* 8002B72C 0002868C C0 01 03 1C */ lfs f0, 0x31c(r1) -/* 8002B730 00028690 90 01 04 14 */ stw r0, 0x414(r1) -/* 8002B734 00028694 D0 C1 04 18 */ stfs f6, 0x418(r1) -/* 8002B738 00028698 D0 A1 04 1C */ stfs f5, 0x41c(r1) -/* 8002B73C 0002869C D0 81 04 20 */ stfs f4, 0x420(r1) -/* 8002B740 000286A0 D0 61 04 24 */ stfs f3, 0x424(r1) -/* 8002B744 000286A4 D0 41 04 28 */ stfs f2, 0x428(r1) -/* 8002B748 000286A8 D0 21 04 2C */ stfs f1, 0x42c(r1) -/* 8002B74C 000286AC D0 01 04 30 */ stfs f0, 0x430(r1) -/* 8002B750 000286B0 48 2E 79 A5 */ bl BuildMatrix3f__12CTransform4fCFv -/* 8002B754 000286B4 38 61 02 D8 */ addi r3, r1, 0x2d8 -/* 8002B758 000286B8 38 81 02 B4 */ addi r4, r1, 0x2b4 -/* 8002B75C 000286BC 48 00 0A 01 */ bl Inverse__9CMatrix3fCFv -/* 8002B760 000286C0 38 61 03 EC */ addi r3, r1, 0x3ec -/* 8002B764 000286C4 38 81 02 D8 */ addi r4, r1, 0x2d8 -/* 8002B768 000286C8 48 2E 48 BD */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8002B76C 000286CC 38 61 01 04 */ addi r3, r1, 0x104 -/* 8002B770 000286D0 38 81 03 EC */ addi r4, r1, 0x3ec -/* 8002B774 000286D4 48 2E 6A 0D */ bl FromMatrix__11CQuaternionFRC9CMatrix3f -/* 8002B778 000286D8 7F 84 E3 78 */ mr r4, r28 -/* 8002B77C 000286DC 38 61 01 14 */ addi r3, r1, 0x114 -/* 8002B780 000286E0 38 A1 01 04 */ addi r5, r1, 0x104 -/* 8002B784 000286E4 48 2E 5A 1D */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8002B788 000286E8 C0 41 04 30 */ lfs f2, 0x430(r1) -/* 8002B78C 000286EC 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 8002B790 000286F0 C0 21 04 2C */ lfs f1, 0x42c(r1) -/* 8002B794 000286F4 38 81 01 44 */ addi r4, r1, 0x144 -/* 8002B798 000286F8 C0 01 04 28 */ lfs f0, 0x428(r1) -/* 8002B79C 000286FC FC E0 10 50 */ fneg f7, f2 -/* 8002B7A0 00028700 FC C0 08 50 */ fneg f6, f1 -/* 8002B7A4 00028704 C0 81 01 14 */ lfs f4, 0x114(r1) -/* 8002B7A8 00028708 FC A0 00 50 */ fneg f5, f0 -/* 8002B7AC 0002870C C0 61 01 18 */ lfs f3, 0x118(r1) -/* 8002B7B0 00028710 C0 41 01 1C */ lfs f2, 0x11c(r1) -/* 8002B7B4 00028714 C0 21 01 20 */ lfs f1, 0x120(r1) -/* 8002B7B8 00028718 C0 01 04 24 */ lfs f0, 0x424(r1) -/* 8002B7BC 0002871C 38 A1 00 E4 */ addi r5, r1, 0xe4 -/* 8002B7C0 00028720 D0 81 01 44 */ stfs f4, 0x144(r1) -/* 8002B7C4 00028724 D0 61 01 48 */ stfs f3, 0x148(r1) -/* 8002B7C8 00028728 D0 41 01 4C */ stfs f2, 0x14c(r1) -/* 8002B7CC 0002872C D0 21 01 50 */ stfs f1, 0x150(r1) -/* 8002B7D0 00028730 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 8002B7D4 00028734 D0 A1 00 E8 */ stfs f5, 0xe8(r1) -/* 8002B7D8 00028738 D0 C1 00 EC */ stfs f6, 0xec(r1) -/* 8002B7DC 0002873C D0 E1 00 F0 */ stfs f7, 0xf0(r1) -/* 8002B7E0 00028740 48 2E 59 C1 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8002B7E4 00028744 C0 22 83 E8 */ lfs f1, lbl_805AA108@sda21(r2) -/* 8002B7E8 00028748 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 8002B7EC 0002874C C0 14 00 00 */ lfs f0, 0(r20) -/* 8002B7F0 00028750 38 83 66 60 */ addi r4, r3, lbl_805A6660@l -/* 8002B7F4 00028754 C0 81 00 F4 */ lfs f4, 0xf4(r1) -/* 8002B7F8 00028758 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8002B7FC 0002875C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8002B800 00028760 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) -/* 8002B804 00028764 C0 61 00 F8 */ lfs f3, 0xf8(r1) -/* 8002B808 00028768 38 A1 01 34 */ addi r5, r1, 0x134 -/* 8002B80C 0002876C C0 41 00 FC */ lfs f2, 0xfc(r1) -/* 8002B810 00028770 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8002B814 00028774 C0 01 01 00 */ lfs f0, 0x100(r1) -/* 8002B818 00028778 D0 81 01 34 */ stfs f4, 0x134(r1) -/* 8002B81C 0002877C D0 61 01 38 */ stfs f3, 0x138(r1) -/* 8002B820 00028780 D0 41 01 3C */ stfs f2, 0x13c(r1) -/* 8002B824 00028784 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 8002B828 00028788 48 2E 64 D1 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf -/* 8002B82C 0002878C C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 8002B830 00028790 38 60 00 01 */ li r3, 1 -/* 8002B834 00028794 80 A1 00 D8 */ lwz r5, 0xd8(r1) -/* 8002B838 00028798 80 81 00 DC */ lwz r4, 0xdc(r1) -/* 8002B83C 0002879C 80 01 00 E0 */ lwz r0, 0xe0(r1) -/* 8002B840 000287A0 D0 01 01 54 */ stfs f0, 0x154(r1) -/* 8002B844 000287A4 90 A1 01 58 */ stw r5, 0x158(r1) -/* 8002B848 000287A8 90 81 01 5C */ stw r4, 0x15c(r1) -/* 8002B84C 000287AC 90 01 01 60 */ stw r0, 0x160(r1) -/* 8002B850 000287B0 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) -/* 8002B854 000287B4 80 81 01 58 */ lwz r4, 0x158(r1) -/* 8002B858 000287B8 80 01 01 5C */ lwz r0, 0x15c(r1) -/* 8002B85C 000287BC 90 9D 01 EC */ stw r4, 0x1ec(r29) -/* 8002B860 000287C0 90 1D 01 F0 */ stw r0, 0x1f0(r29) -/* 8002B864 000287C4 80 01 01 60 */ lwz r0, 0x160(r1) -/* 8002B868 000287C8 90 1D 01 F4 */ stw r0, 0x1f4(r29) -/* 8002B86C 000287CC 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002B870 000287D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8002B874 000287D4 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002B878 000287D8 48 00 00 0C */ b lbl_8002B884 -lbl_8002B87C: -/* 8002B87C 000287DC 3A 94 00 4C */ addi r20, r20, 0x4c -/* 8002B880 000287E0 42 00 FE 38 */ bdnz lbl_8002B6B8 -lbl_8002B884: -/* 8002B884 000287E4 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002B888 000287E8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8002B88C 000287EC 40 82 04 10 */ bne lbl_8002BC9C -/* 8002B890 000287F0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8002B894 000287F4 80 0D 81 E0 */ lwz r0, lbl_805A6DA0@sda21(r13) -/* 8002B898 000287F8 3B 83 66 A0 */ addi r28, r3, skZero3f@l -/* 8002B89C 000287FC C0 0D 81 E4 */ lfs f0, lbl_805A6DA4@sda21(r13) -/* 8002B8A0 00028800 C3 3C 00 00 */ lfs f25, 0(r28) -/* 8002B8A4 00028804 3A E0 00 00 */ li r23, 0 -/* 8002B8A8 00028808 C3 5C 00 04 */ lfs f26, 4(r28) -/* 8002B8AC 0002880C 3A C0 00 00 */ li r22, 0 -/* 8002B8B0 00028810 C3 DC 00 08 */ lfs f30, 8(r28) -/* 8002B8B4 00028814 FF A0 C8 90 */ fmr f29, f25 -/* 8002B8B8 00028818 83 7E 00 14 */ lwz r27, 0x14(r30) -/* 8002B8BC 0002881C FF 80 D0 90 */ fmr f28, f26 -/* 8002B8C0 00028820 FF 60 F0 90 */ fmr f27, f30 -/* 8002B8C4 00028824 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8002B8C8 00028828 28 1B 00 00 */ cmplwi r27, 0 -/* 8002B8CC 0002882C D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8002B8D0 00028830 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8002B8D4 00028834 90 01 00 44 */ stw r0, 0x44(r1) -/* 8002B8D8 00028838 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8002B8DC 0002883C 90 01 00 84 */ stw r0, 0x84(r1) -/* 8002B8E0 00028840 41 82 03 88 */ beq lbl_8002BC68 -/* 8002B8E4 00028844 28 1A 00 00 */ cmplwi r26, 0 -/* 8002B8E8 00028848 41 82 03 80 */ beq lbl_8002BC68 -/* 8002B8EC 0002884C 7F A3 EB 78 */ mr r3, r29 -/* 8002B8F0 00028850 48 00 2F 31 */ bl ResetPOILists__9CAnimDataFv -/* 8002B8F4 00028854 C0 0D 81 EC */ lfs f0, lbl_805A6DAC@sda21(r13) -/* 8002B8F8 00028858 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8002B8FC 0002885C 80 0D 81 E8 */ lwz r0, lbl_805A6DA8@sda21(r13) -/* 8002B900 00028860 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l -/* 8002B904 00028864 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8002B908 00028868 3B 03 00 04 */ addi r24, r3, 4 -/* 8002B90C 0002886C 80 7F 00 00 */ lwz r3, 0(r31) -/* 8002B910 00028870 7F 05 C3 78 */ mr r5, r24 -/* 8002B914 00028874 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8002B918 00028878 38 81 00 38 */ addi r4, r1, 0x38 -/* 8002B91C 0002887C 38 C0 00 10 */ li r6, 0x10 -/* 8002B920 00028880 39 00 00 40 */ li r8, 0x40 -/* 8002B924 00028884 80 63 00 00 */ lwz r3, 0(r3) -/* 8002B928 00028888 80 FD 02 10 */ lwz r7, 0x210(r29) -/* 8002B92C 0002888C 48 2D 24 51 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii -/* 8002B930 00028890 80 1D 02 10 */ lwz r0, 0x210(r29) -/* 8002B934 00028894 7C 00 1A 14 */ add r0, r0, r3 -/* 8002B938 00028898 90 1D 02 10 */ stw r0, 0x210(r29) -/* 8002B93C 0002889C 82 BD 02 10 */ lwz r21, 0x210(r29) -/* 8002B940 000288A0 2C 15 00 00 */ cmpwi r21, 0 -/* 8002B944 000288A4 40 81 07 AC */ ble lbl_8002C0F0 -/* 8002B948 000288A8 3A 80 00 00 */ li r20, 0 -/* 8002B94C 000288AC 48 00 01 EC */ b lbl_8002BB38 -lbl_8002B950: -/* 8002B950 000288B0 A0 18 00 18 */ lhz r0, 0x18(r24) -/* 8002B954 000288B4 2C 00 00 06 */ cmpwi r0, 6 -/* 8002B958 000288B8 40 82 01 D8 */ bne lbl_8002BB30 -/* 8002B95C 000288BC 80 18 00 38 */ lwz r0, 0x38(r24) -/* 8002B960 000288C0 3B 38 00 3C */ addi r25, r24, 0x3c -/* 8002B964 000288C4 2C 00 00 0A */ cmpwi r0, 0xa -/* 8002B968 000288C8 40 82 00 E4 */ bne lbl_8002BA4C -/* 8002B96C 000288CC C0 0D 81 DC */ lfs f0, lbl_805A6D9C@sda21(r13) -/* 8002B970 000288D0 38 61 02 90 */ addi r3, r1, 0x290 -/* 8002B974 000288D4 C0 38 00 1C */ lfs f1, 0x1c(r24) -/* 8002B978 000288D8 38 A1 00 88 */ addi r5, r1, 0x88 -/* 8002B97C 000288DC 80 F8 00 20 */ lwz r7, 0x20(r24) -/* 8002B980 000288E0 38 C1 00 30 */ addi r6, r1, 0x30 -/* 8002B984 000288E4 80 0D 81 D8 */ lwz r0, lbl_805A6D98@sda21(r13) -/* 8002B988 000288E8 3A E0 00 01 */ li r23, 1 -/* 8002B98C 000288EC D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8002B990 000288F0 80 9F 00 00 */ lwz r4, 0(r31) -/* 8002B994 000288F4 90 E1 00 8C */ stw r7, 0x8c(r1) -/* 8002B998 000288F8 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8002B99C 000288FC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002B9A0 00028900 80 84 00 00 */ lwz r4, 0(r4) -/* 8002B9A4 00028904 81 84 00 00 */ lwz r12, 0(r4) -/* 8002B9A8 00028908 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8002B9AC 0002890C 7D 89 03 A6 */ mtctr r12 -/* 8002B9B0 00028910 4E 80 04 21 */ bctrl -/* 8002B9B4 00028914 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 8002B9B8 00028918 C3 21 02 98 */ lfs f25, 0x298(r1) -/* 8002B9BC 0002891C C3 41 02 9C */ lfs f26, 0x29c(r1) -/* 8002B9C0 00028920 28 00 00 00 */ cmplwi r0, 0 -/* 8002B9C4 00028924 C3 C1 02 A0 */ lfs f30, 0x2a0(r1) -/* 8002B9C8 00028928 C0 81 02 90 */ lfs f4, 0x290(r1) -/* 8002B9CC 0002892C 80 61 02 94 */ lwz r3, 0x294(r1) -/* 8002B9D0 00028930 C0 61 02 A4 */ lfs f3, 0x2a4(r1) -/* 8002B9D4 00028934 C0 41 02 A8 */ lfs f2, 0x2a8(r1) -/* 8002B9D8 00028938 C0 21 02 AC */ lfs f1, 0x2ac(r1) -/* 8002B9DC 0002893C C0 01 02 B0 */ lfs f0, 0x2b0(r1) -/* 8002B9E0 00028940 D0 81 03 C8 */ stfs f4, 0x3c8(r1) -/* 8002B9E4 00028944 90 61 03 CC */ stw r3, 0x3cc(r1) -/* 8002B9E8 00028948 D3 21 03 D0 */ stfs f25, 0x3d0(r1) -/* 8002B9EC 0002894C D3 41 03 D4 */ stfs f26, 0x3d4(r1) -/* 8002B9F0 00028950 D3 C1 03 D8 */ stfs f30, 0x3d8(r1) -/* 8002B9F4 00028954 D0 61 03 DC */ stfs f3, 0x3dc(r1) -/* 8002B9F8 00028958 D0 41 03 E0 */ stfs f2, 0x3e0(r1) -/* 8002B9FC 0002895C D0 21 03 E4 */ stfs f1, 0x3e4(r1) -/* 8002BA00 00028960 D0 01 03 E8 */ stfs f0, 0x3e8(r1) -/* 8002BA04 00028964 41 82 00 3C */ beq lbl_8002BA40 -/* 8002BA08 00028968 7F A4 EB 78 */ mr r4, r29 -/* 8002BA0C 0002896C 7F 25 CB 78 */ mr r5, r25 -/* 8002BA10 00028970 38 61 02 60 */ addi r3, r1, 0x260 -/* 8002BA14 00028974 38 C1 00 88 */ addi r6, r1, 0x88 -/* 8002BA18 00028978 48 00 09 69 */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -/* 8002BA1C 0002897C 38 61 03 98 */ addi r3, r1, 0x398 -/* 8002BA20 00028980 38 81 02 60 */ addi r4, r1, 0x260 -/* 8002BA24 00028984 48 2E 71 51 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8002BA28 00028988 C0 41 03 A4 */ lfs f2, 0x3a4(r1) -/* 8002BA2C 0002898C C0 21 03 B4 */ lfs f1, 0x3b4(r1) -/* 8002BA30 00028990 C0 01 03 C4 */ lfs f0, 0x3c4(r1) -/* 8002BA34 00028994 EF 39 10 2A */ fadds f25, f25, f2 -/* 8002BA38 00028998 EF 5A 08 2A */ fadds f26, f26, f1 -/* 8002BA3C 0002899C EF DE 00 2A */ fadds f30, f30, f0 -lbl_8002BA40: -/* 8002BA40 000289A0 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 8002BA44 000289A4 40 82 00 FC */ bne lbl_8002BB40 -/* 8002BA48 000289A8 48 00 00 E8 */ b lbl_8002BB30 -lbl_8002BA4C: -/* 8002BA4C 000289AC 2C 00 00 03 */ cmpwi r0, 3 -/* 8002BA50 000289B0 40 82 00 E0 */ bne lbl_8002BB30 -/* 8002BA54 000289B4 C0 0D 81 DC */ lfs f0, lbl_805A6D9C@sda21(r13) -/* 8002BA58 000289B8 38 61 02 3C */ addi r3, r1, 0x23c -/* 8002BA5C 000289BC C0 38 00 1C */ lfs f1, 0x1c(r24) -/* 8002BA60 000289C0 38 A1 00 80 */ addi r5, r1, 0x80 -/* 8002BA64 000289C4 80 F8 00 20 */ lwz r7, 0x20(r24) -/* 8002BA68 000289C8 38 C1 00 28 */ addi r6, r1, 0x28 -/* 8002BA6C 000289CC 80 0D 81 D8 */ lwz r0, lbl_805A6D98@sda21(r13) -/* 8002BA70 000289D0 3A C0 00 01 */ li r22, 1 -/* 8002BA74 000289D4 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 8002BA78 000289D8 80 9F 00 00 */ lwz r4, 0(r31) -/* 8002BA7C 000289DC 90 E1 00 84 */ stw r7, 0x84(r1) -/* 8002BA80 000289E0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8002BA84 000289E4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8002BA88 000289E8 80 84 00 00 */ lwz r4, 0(r4) -/* 8002BA8C 000289EC 81 84 00 00 */ lwz r12, 0(r4) -/* 8002BA90 000289F0 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8002BA94 000289F4 7D 89 03 A6 */ mtctr r12 -/* 8002BA98 000289F8 4E 80 04 21 */ bctrl -/* 8002BA9C 000289FC 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 8002BAA0 00028A00 C3 A1 02 44 */ lfs f29, 0x244(r1) -/* 8002BAA4 00028A04 C3 81 02 48 */ lfs f28, 0x248(r1) -/* 8002BAA8 00028A08 28 00 00 00 */ cmplwi r0, 0 -/* 8002BAAC 00028A0C C3 61 02 4C */ lfs f27, 0x24c(r1) -/* 8002BAB0 00028A10 C0 81 02 3C */ lfs f4, 0x23c(r1) -/* 8002BAB4 00028A14 80 61 02 40 */ lwz r3, 0x240(r1) -/* 8002BAB8 00028A18 C0 61 02 50 */ lfs f3, 0x250(r1) -/* 8002BABC 00028A1C C0 41 02 54 */ lfs f2, 0x254(r1) -/* 8002BAC0 00028A20 C0 21 02 58 */ lfs f1, 0x258(r1) -/* 8002BAC4 00028A24 C0 01 02 5C */ lfs f0, 0x25c(r1) -/* 8002BAC8 00028A28 D0 81 03 74 */ stfs f4, 0x374(r1) -/* 8002BACC 00028A2C 90 61 03 78 */ stw r3, 0x378(r1) -/* 8002BAD0 00028A30 D3 A1 03 7C */ stfs f29, 0x37c(r1) -/* 8002BAD4 00028A34 D3 81 03 80 */ stfs f28, 0x380(r1) -/* 8002BAD8 00028A38 D3 61 03 84 */ stfs f27, 0x384(r1) -/* 8002BADC 00028A3C D0 61 03 88 */ stfs f3, 0x388(r1) -/* 8002BAE0 00028A40 D0 41 03 8C */ stfs f2, 0x38c(r1) -/* 8002BAE4 00028A44 D0 21 03 90 */ stfs f1, 0x390(r1) -/* 8002BAE8 00028A48 D0 01 03 94 */ stfs f0, 0x394(r1) -/* 8002BAEC 00028A4C 41 82 00 3C */ beq lbl_8002BB28 -/* 8002BAF0 00028A50 7F A4 EB 78 */ mr r4, r29 -/* 8002BAF4 00028A54 7F 25 CB 78 */ mr r5, r25 -/* 8002BAF8 00028A58 38 61 02 0C */ addi r3, r1, 0x20c -/* 8002BAFC 00028A5C 38 C1 00 80 */ addi r6, r1, 0x80 -/* 8002BB00 00028A60 48 00 08 81 */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -/* 8002BB04 00028A64 38 61 03 44 */ addi r3, r1, 0x344 -/* 8002BB08 00028A68 38 81 02 0C */ addi r4, r1, 0x20c -/* 8002BB0C 00028A6C 48 2E 70 69 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8002BB10 00028A70 C0 41 03 50 */ lfs f2, 0x350(r1) -/* 8002BB14 00028A74 C0 21 03 60 */ lfs f1, 0x360(r1) -/* 8002BB18 00028A78 C0 01 03 70 */ lfs f0, 0x370(r1) -/* 8002BB1C 00028A7C EF BD 10 2A */ fadds f29, f29, f2 -/* 8002BB20 00028A80 EF 9C 08 2A */ fadds f28, f28, f1 -/* 8002BB24 00028A84 EF 7B 00 2A */ fadds f27, f27, f0 -lbl_8002BB28: -/* 8002BB28 00028A88 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8002BB2C 00028A8C 40 82 00 14 */ bne lbl_8002BB40 -lbl_8002BB30: -/* 8002BB30 00028A90 3B 18 00 4C */ addi r24, r24, 0x4c -/* 8002BB34 00028A94 3A 94 00 01 */ addi r20, r20, 1 -lbl_8002BB38: -/* 8002BB38 00028A98 7C 14 A8 00 */ cmpw r20, r21 -/* 8002BB3C 00028A9C 41 80 FE 14 */ blt lbl_8002B950 -lbl_8002BB40: -/* 8002BB40 00028AA0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8002BB44 00028AA4 41 82 00 E8 */ beq lbl_8002BC2C -/* 8002BB48 00028AA8 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 8002BB4C 00028AAC 41 82 00 E0 */ beq lbl_8002BC2C -/* 8002BB50 00028AB0 82 9E 00 24 */ lwz r20, 0x24(r30) -/* 8002BB54 00028AB4 7F 44 D3 78 */ mr r4, r26 -/* 8002BB58 00028AB8 38 61 01 DC */ addi r3, r1, 0x1dc -/* 8002BB5C 00028ABC C2 F4 00 08 */ lfs f23, 8(r20) -/* 8002BB60 00028AC0 C2 D4 00 04 */ lfs f22, 4(r20) -/* 8002BB64 00028AC4 C2 B4 00 00 */ lfs f21, 0(r20) -/* 8002BB68 00028AC8 EF D7 07 B2 */ fmuls f30, f23, f30 -/* 8002BB6C 00028ACC EF F6 06 B2 */ fmuls f31, f22, f26 -/* 8002BB70 00028AD0 EF 15 06 72 */ fmuls f24, f21, f25 -/* 8002BB74 00028AD4 48 2E 6B 6D */ bl GetInverse__12CTransform4fCFv -/* 8002BB78 00028AD8 7F 65 DB 78 */ mr r5, r27 -/* 8002BB7C 00028ADC 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8002BB80 00028AE0 38 81 01 DC */ addi r4, r1, 0x1dc -/* 8002BB84 00028AE4 48 2E 6F 65 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8002BB88 00028AE8 EC 15 07 72 */ fmuls f0, f21, f29 -/* 8002BB8C 00028AEC C0 21 00 C8 */ lfs f1, 0xc8(r1) -/* 8002BB90 00028AF0 EC 56 07 32 */ fmuls f2, f22, f28 -/* 8002BB94 00028AF4 C0 61 00 CC */ lfs f3, 0xcc(r1) -/* 8002BB98 00028AF8 EC B7 06 F2 */ fmuls f5, f23, f27 -/* 8002BB9C 00028AFC C0 C1 00 D0 */ lfs f6, 0xd0(r1) -/* 8002BBA0 00028B00 ED 41 C0 28 */ fsubs f10, f1, f24 -/* 8002BBA4 00028B04 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 8002BBA8 00028B08 ED 20 C0 28 */ fsubs f9, f0, f24 -/* 8002BBAC 00028B0C C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8002BBB0 00028B10 ED 03 F8 28 */ fsubs f8, f3, f31 -/* 8002BBB4 00028B14 C0 94 00 00 */ lfs f4, 0(r20) -/* 8002BBB8 00028B18 EC E2 F8 28 */ fsubs f7, f2, f31 -/* 8002BBBC 00028B1C C0 42 83 D8 */ lfs f2, lbl_805AA0F8@sda21(r2) -/* 8002BBC0 00028B20 ED 2A 48 28 */ fsubs f9, f10, f9 -/* 8002BBC4 00028B24 C0 74 00 04 */ lfs f3, 4(r20) -/* 8002BBC8 00028B28 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8002BBCC 00028B2C C0 34 00 08 */ lfs f1, 8(r20) -/* 8002BBD0 00028B30 EC E8 38 28 */ fsubs f7, f8, f7 -/* 8002BBD4 00028B34 38 80 00 01 */ li r4, 1 -/* 8002BBD8 00028B38 EC C6 F0 28 */ fsubs f6, f6, f30 -/* 8002BBDC 00028B3C 38 60 00 00 */ li r3, 0 -/* 8002BBE0 00028B40 EC A5 F0 28 */ fsubs f5, f5, f30 -/* 8002BBE4 00028B44 ED 29 20 24 */ fdivs f9, f9, f4 -/* 8002BBE8 00028B48 EC 42 00 24 */ fdivs f2, f2, f0 -/* 8002BBEC 00028B4C EC 06 28 28 */ fsubs f0, f6, f5 -/* 8002BBF0 00028B50 EC E7 18 24 */ fdivs f7, f7, f3 -/* 8002BBF4 00028B54 EC 00 08 24 */ fdivs f0, f0, f1 -/* 8002BBF8 00028B58 ED 29 00 B2 */ fmuls f9, f9, f2 -/* 8002BBFC 00028B5C EC E7 00 B2 */ fmuls f7, f7, f2 -/* 8002BC00 00028B60 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8002BC04 00028B64 D1 3D 01 DC */ stfs f9, 0x1dc(r29) -/* 8002BC08 00028B68 D0 FD 01 E0 */ stfs f7, 0x1e0(r29) -/* 8002BC0C 00028B6C D0 1D 01 E4 */ stfs f0, 0x1e4(r29) -/* 8002BC10 00028B70 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002BC14 00028B74 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8002BC18 00028B78 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002BC1C 00028B7C 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002BC20 00028B80 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8002BC24 00028B84 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002BC28 00028B88 48 00 04 C8 */ b lbl_8002C0F0 -lbl_8002BC2C: -/* 8002BC2C 00028B8C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8002BC30 00028B90 38 60 00 00 */ li r3, 0 -/* 8002BC34 00028B94 C0 04 66 A0 */ lfs f0, skZero3f@l(r4) -/* 8002BC38 00028B98 D0 1D 01 DC */ stfs f0, 0x1dc(r29) -/* 8002BC3C 00028B9C C0 1C 00 04 */ lfs f0, 4(r28) -/* 8002BC40 00028BA0 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) -/* 8002BC44 00028BA4 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8002BC48 00028BA8 D0 1D 01 E4 */ stfs f0, 0x1e4(r29) -/* 8002BC4C 00028BAC 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002BC50 00028BB0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8002BC54 00028BB4 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002BC58 00028BB8 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002BC5C 00028BBC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8002BC60 00028BC0 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002BC64 00028BC4 48 00 04 8C */ b lbl_8002C0F0 -lbl_8002BC68: -/* 8002BC68 00028BC8 D3 3D 01 DC */ stfs f25, 0x1dc(r29) -/* 8002BC6C 00028BCC 38 60 00 00 */ li r3, 0 -/* 8002BC70 00028BD0 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8002BC74 00028BD4 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) -/* 8002BC78 00028BD8 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8002BC7C 00028BDC D0 1D 01 E4 */ stfs f0, 0x1e4(r29) -/* 8002BC80 00028BE0 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002BC84 00028BE4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8002BC88 00028BE8 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002BC8C 00028BEC 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002BC90 00028BF0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8002BC94 00028BF4 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002BC98 00028BF8 48 00 04 58 */ b lbl_8002C0F0 -lbl_8002BC9C: -/* 8002BC9C 00028BFC 83 3E 00 14 */ lwz r25, 0x14(r30) -/* 8002BCA0 00028C00 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8002BCA4 00028C04 80 0D 81 E0 */ lwz r0, lbl_805A6DA0@sda21(r13) -/* 8002BCA8 00028C08 3B 83 66 A0 */ addi r28, r3, skZero3f@l -/* 8002BCAC 00028C0C C0 0D 81 E4 */ lfs f0, lbl_805A6DA4@sda21(r13) -/* 8002BCB0 00028C10 28 19 00 00 */ cmplwi r25, 0 -/* 8002BCB4 00028C14 C3 1C 00 00 */ lfs f24, 0(r28) -/* 8002BCB8 00028C18 3A 80 00 00 */ li r20, 0 -/* 8002BCBC 00028C1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002BCC0 00028C20 3A A0 00 00 */ li r21, 0 -/* 8002BCC4 00028C24 C3 7C 00 04 */ lfs f27, 4(r28) -/* 8002BCC8 00028C28 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8002BCCC 00028C2C C3 9C 00 08 */ lfs f28, 8(r28) -/* 8002BCD0 00028C30 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8002BCD4 00028C34 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8002BCD8 00028C38 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8002BCDC 00028C3C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8002BCE0 00028C40 41 82 03 E0 */ beq lbl_8002C0C0 -/* 8002BCE4 00028C44 28 1A 00 00 */ cmplwi r26, 0 -/* 8002BCE8 00028C48 41 82 03 D8 */ beq lbl_8002C0C0 -/* 8002BCEC 00028C4C 7F A3 EB 78 */ mr r3, r29 -/* 8002BCF0 00028C50 48 00 2B 31 */ bl ResetPOILists__9CAnimDataFv -/* 8002BCF4 00028C54 C0 0D 81 EC */ lfs f0, lbl_805A6DAC@sda21(r13) -/* 8002BCF8 00028C58 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8002BCFC 00028C5C 80 0D 81 E8 */ lwz r0, lbl_805A6DA8@sda21(r13) -/* 8002BD00 00028C60 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l -/* 8002BD04 00028C64 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8002BD08 00028C68 3B 03 00 04 */ addi r24, r3, 4 -/* 8002BD0C 00028C6C 80 7F 00 00 */ lwz r3, 0(r31) -/* 8002BD10 00028C70 7F 05 C3 78 */ mr r5, r24 -/* 8002BD14 00028C74 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002BD18 00028C78 38 81 00 10 */ addi r4, r1, 0x10 -/* 8002BD1C 00028C7C 38 C0 00 10 */ li r6, 0x10 -/* 8002BD20 00028C80 39 00 00 40 */ li r8, 0x40 -/* 8002BD24 00028C84 80 63 00 00 */ lwz r3, 0(r3) -/* 8002BD28 00028C88 80 FD 02 10 */ lwz r7, 0x210(r29) -/* 8002BD2C 00028C8C 48 2D 20 51 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii -/* 8002BD30 00028C90 80 1D 02 10 */ lwz r0, 0x210(r29) -/* 8002BD34 00028C94 7C 00 1A 14 */ add r0, r0, r3 -/* 8002BD38 00028C98 90 1D 02 10 */ stw r0, 0x210(r29) -/* 8002BD3C 00028C9C 80 1D 02 10 */ lwz r0, 0x210(r29) -/* 8002BD40 00028CA0 2C 00 00 00 */ cmpwi r0, 0 -/* 8002BD44 00028CA4 40 81 03 AC */ ble lbl_8002C0F0 -/* 8002BD48 00028CA8 7C 09 03 A6 */ mtctr r0 -/* 8002BD4C 00028CAC 40 81 00 68 */ ble lbl_8002BDB4 -lbl_8002BD50: -/* 8002BD50 00028CB0 A0 18 00 18 */ lhz r0, 0x18(r24) -/* 8002BD54 00028CB4 2C 00 00 06 */ cmpwi r0, 6 -/* 8002BD58 00028CB8 40 82 00 54 */ bne lbl_8002BDAC -/* 8002BD5C 00028CBC 80 18 00 38 */ lwz r0, 0x38(r24) -/* 8002BD60 00028CC0 2C 00 00 0A */ cmpwi r0, 0xa -/* 8002BD64 00028CC4 40 82 00 24 */ bne lbl_8002BD88 -/* 8002BD68 00028CC8 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 8002BD6C 00028CCC C0 18 00 1C */ lfs f0, 0x1c(r24) -/* 8002BD70 00028CD0 80 18 00 20 */ lwz r0, 0x20(r24) -/* 8002BD74 00028CD4 3A 80 00 01 */ li r20, 1 -/* 8002BD78 00028CD8 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8002BD7C 00028CDC 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8002BD80 00028CE0 40 82 00 34 */ bne lbl_8002BDB4 -/* 8002BD84 00028CE4 48 00 00 28 */ b lbl_8002BDAC -lbl_8002BD88: -/* 8002BD88 00028CE8 2C 00 00 03 */ cmpwi r0, 3 -/* 8002BD8C 00028CEC 40 82 00 20 */ bne lbl_8002BDAC -/* 8002BD90 00028CF0 56 80 06 3F */ clrlwi. r0, r20, 0x18 -/* 8002BD94 00028CF4 C0 18 00 1C */ lfs f0, 0x1c(r24) -/* 8002BD98 00028CF8 80 18 00 20 */ lwz r0, 0x20(r24) -/* 8002BD9C 00028CFC 3A A0 00 01 */ li r21, 1 -/* 8002BDA0 00028D00 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8002BDA4 00028D04 90 01 00 74 */ stw r0, 0x74(r1) -/* 8002BDA8 00028D08 40 82 00 0C */ bne lbl_8002BDB4 -lbl_8002BDAC: -/* 8002BDAC 00028D0C 3B 18 00 4C */ addi r24, r24, 0x4c -/* 8002BDB0 00028D10 42 00 FF A0 */ bdnz lbl_8002BD50 -lbl_8002BDB4: -/* 8002BDB4 00028D14 56 80 06 3F */ clrlwi. r0, r20, 0x18 -/* 8002BDB8 00028D18 41 82 02 CC */ beq lbl_8002C084 -/* 8002BDBC 00028D1C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 8002BDC0 00028D20 41 82 02 C4 */ beq lbl_8002C084 -/* 8002BDC4 00028D24 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 8002BDC8 00028D28 80 FB 00 04 */ lwz r7, 4(r27) -/* 8002BDCC 00028D2C C0 03 66 60 */ lfs f0, lbl_805A6660@l(r3) -/* 8002BDD0 00028D30 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8002BDD4 00028D34 80 DB 00 08 */ lwz r6, 8(r27) -/* 8002BDD8 00028D38 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8002BDDC 00028D3C 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 8002BDE0 00028D40 38 A0 00 01 */ li r5, 1 -/* 8002BDE4 00028D44 D0 01 01 54 */ stfs f0, 0x154(r1) -/* 8002BDE8 00028D48 38 61 00 60 */ addi r3, r1, 0x60 -/* 8002BDEC 00028D4C C0 22 83 EC */ lfs f1, lbl_805AA10C@sda21(r2) -/* 8002BDF0 00028D50 3A E0 00 00 */ li r23, 0 -/* 8002BDF4 00028D54 90 E1 01 58 */ stw r7, 0x158(r1) -/* 8002BDF8 00028D58 90 C1 01 5C */ stw r6, 0x15c(r1) -/* 8002BDFC 00028D5C 90 01 01 60 */ stw r0, 0x160(r1) -/* 8002BE00 00028D60 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) -/* 8002BE04 00028D64 80 C1 01 58 */ lwz r6, 0x158(r1) -/* 8002BE08 00028D68 80 01 01 5C */ lwz r0, 0x15c(r1) -/* 8002BE0C 00028D6C 90 DD 01 EC */ stw r6, 0x1ec(r29) -/* 8002BE10 00028D70 90 1D 01 F0 */ stw r0, 0x1f0(r29) -/* 8002BE14 00028D74 80 01 01 60 */ lwz r0, 0x160(r1) -/* 8002BE18 00028D78 90 1D 01 F4 */ stw r0, 0x1f4(r29) -/* 8002BE1C 00028D7C 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002BE20 00028D80 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8002BE24 00028D84 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002BE28 00028D88 80 0D 81 D8 */ lwz r0, lbl_805A6D98@sda21(r13) -/* 8002BE2C 00028D8C C0 0D 81 DC */ lfs f0, lbl_805A6D9C@sda21(r13) -/* 8002BE30 00028D90 90 01 00 0C */ stw r0, 0xc(r1) -/* 8002BE34 00028D94 C3 A4 00 00 */ lfs f29, 0(r4) -/* 8002BE38 00028D98 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8002BE3C 00028D9C C3 5C 00 04 */ lfs f26, 4(r28) -/* 8002BE40 00028DA0 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8002BE44 00028DA4 C3 3C 00 08 */ lfs f25, 8(r28) -/* 8002BE48 00028DA8 48 31 CF A5 */ bl __ct__13CCharAnimTimeFf -/* 8002BE4C 00028DAC 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 8002BE50 00028DB0 C0 5B 00 04 */ lfs f2, 4(r27) -/* 8002BE54 00028DB4 C0 63 66 60 */ lfs f3, lbl_805A6660@l(r3) -/* 8002BE58 00028DB8 3B 01 03 28 */ addi r24, r1, 0x328 -/* 8002BE5C 00028DBC C0 3B 00 08 */ lfs f1, 8(r27) -/* 8002BE60 00028DC0 3B 98 00 0C */ addi r28, r24, 0xc -/* 8002BE64 00028DC4 C0 1B 00 0C */ lfs f0, 0xc(r27) -/* 8002BE68 00028DC8 D0 61 01 24 */ stfs f3, 0x124(r1) -/* 8002BE6C 00028DCC D0 41 01 28 */ stfs f2, 0x128(r1) -/* 8002BE70 00028DD0 D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 8002BE74 00028DD4 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 8002BE78 00028DD8 48 00 01 1C */ b lbl_8002BF94 -lbl_8002BE7C: -/* 8002BE7C 00028DDC 80 9F 00 00 */ lwz r4, 0(r31) -/* 8002BE80 00028DE0 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 8002BE84 00028DE4 38 A1 00 60 */ addi r5, r1, 0x60 -/* 8002BE88 00028DE8 38 C1 00 68 */ addi r6, r1, 0x68 -/* 8002BE8C 00028DEC 80 84 00 00 */ lwz r4, 0(r4) -/* 8002BE90 00028DF0 81 84 00 00 */ lwz r12, 0(r4) -/* 8002BE94 00028DF4 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8002BE98 00028DF8 7D 89 03 A6 */ mtctr r12 -/* 8002BE9C 00028DFC 4E 80 04 21 */ bctrl -/* 8002BEA0 00028E00 C0 E1 01 B8 */ lfs f7, 0x1b8(r1) -/* 8002BEA4 00028E04 38 61 01 94 */ addi r3, r1, 0x194 -/* 8002BEA8 00028E08 80 01 01 BC */ lwz r0, 0x1bc(r1) -/* 8002BEAC 00028E0C 38 81 01 24 */ addi r4, r1, 0x124 -/* 8002BEB0 00028E10 C0 C1 01 C0 */ lfs f6, 0x1c0(r1) -/* 8002BEB4 00028E14 C0 A1 01 C4 */ lfs f5, 0x1c4(r1) -/* 8002BEB8 00028E18 C0 81 01 C8 */ lfs f4, 0x1c8(r1) -/* 8002BEBC 00028E1C C0 61 01 CC */ lfs f3, 0x1cc(r1) -/* 8002BEC0 00028E20 C0 41 01 D0 */ lfs f2, 0x1d0(r1) -/* 8002BEC4 00028E24 C0 21 01 D4 */ lfs f1, 0x1d4(r1) -/* 8002BEC8 00028E28 C0 01 01 D8 */ lfs f0, 0x1d8(r1) -/* 8002BECC 00028E2C D0 E1 03 20 */ stfs f7, 0x320(r1) -/* 8002BED0 00028E30 90 01 03 24 */ stw r0, 0x324(r1) -/* 8002BED4 00028E34 D0 D8 00 00 */ stfs f6, 0(r24) -/* 8002BED8 00028E38 D0 A1 03 2C */ stfs f5, 0x32c(r1) -/* 8002BEDC 00028E3C D0 81 03 30 */ stfs f4, 0x330(r1) -/* 8002BEE0 00028E40 D0 61 03 34 */ stfs f3, 0x334(r1) -/* 8002BEE4 00028E44 D0 41 03 38 */ stfs f2, 0x338(r1) -/* 8002BEE8 00028E48 D0 21 03 3C */ stfs f1, 0x33c(r1) -/* 8002BEEC 00028E4C D0 01 03 40 */ stfs f0, 0x340(r1) -/* 8002BEF0 00028E50 48 2E 61 9D */ bl BuildTransform__11CQuaternionCFv -/* 8002BEF4 00028E54 7F 05 C3 78 */ mr r5, r24 -/* 8002BEF8 00028E58 38 61 00 BC */ addi r3, r1, 0xbc -/* 8002BEFC 00028E5C 38 81 01 94 */ addi r4, r1, 0x194 -/* 8002BF00 00028E60 48 2E 43 95 */ bl __ml__9CMatrix3fCFRC9CVector3f -/* 8002BF04 00028E64 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 8002BF08 00028E68 7F 84 E3 78 */ mr r4, r28 -/* 8002BF0C 00028E6C C0 21 00 C0 */ lfs f1, 0xc0(r1) -/* 8002BF10 00028E70 38 61 00 AC */ addi r3, r1, 0xac -/* 8002BF14 00028E74 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 8002BF18 00028E78 EF BD 10 2A */ fadds f29, f29, f2 -/* 8002BF1C 00028E7C EF 5A 08 2A */ fadds f26, f26, f1 -/* 8002BF20 00028E80 38 A1 01 54 */ addi r5, r1, 0x154 -/* 8002BF24 00028E84 EF 39 00 2A */ fadds f25, f25, f0 -/* 8002BF28 00028E88 48 2E 52 79 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8002BF2C 00028E8C 38 61 00 90 */ addi r3, r1, 0x90 -/* 8002BF30 00028E90 38 81 01 24 */ addi r4, r1, 0x124 -/* 8002BF34 00028E94 38 A1 00 AC */ addi r5, r1, 0xac -/* 8002BF38 00028E98 48 2E 52 69 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8002BF3C 00028E9C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8002BF40 00028EA0 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 8002BF44 00028EA4 80 81 00 94 */ lwz r4, 0x94(r1) -/* 8002BF48 00028EA8 80 61 00 98 */ lwz r3, 0x98(r1) -/* 8002BF4C 00028EAC 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 8002BF50 00028EB0 D0 01 01 24 */ stfs f0, 0x124(r1) -/* 8002BF54 00028EB4 90 81 01 28 */ stw r4, 0x128(r1) -/* 8002BF58 00028EB8 90 61 01 2C */ stw r3, 0x12c(r1) -/* 8002BF5C 00028EBC 90 01 01 30 */ stw r0, 0x130(r1) -/* 8002BF60 00028EC0 40 82 00 28 */ bne lbl_8002BF88 -/* 8002BF64 00028EC4 38 61 00 68 */ addi r3, r1, 0x68 -/* 8002BF68 00028EC8 38 81 00 78 */ addi r4, r1, 0x78 -/* 8002BF6C 00028ECC 48 31 C4 D1 */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime -/* 8002BF70 00028ED0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002BF74 00028ED4 41 82 00 14 */ beq lbl_8002BF88 -/* 8002BF78 00028ED8 FF 00 E8 90 */ fmr f24, f29 -/* 8002BF7C 00028EDC 3A E0 00 01 */ li r23, 1 -/* 8002BF80 00028EE0 FF 60 D0 90 */ fmr f27, f26 -/* 8002BF84 00028EE4 FF 80 C8 90 */ fmr f28, f25 -lbl_8002BF88: -/* 8002BF88 00028EE8 38 61 00 68 */ addi r3, r1, 0x68 -/* 8002BF8C 00028EEC 38 81 00 60 */ addi r4, r1, 0x60 -/* 8002BF90 00028EF0 48 31 C5 C9 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime -lbl_8002BF94: -/* 8002BF94 00028EF4 38 61 00 68 */ addi r3, r1, 0x68 -/* 8002BF98 00028EF8 38 81 00 70 */ addi r4, r1, 0x70 -/* 8002BF9C 00028EFC 48 31 CC A1 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime -/* 8002BFA0 00028F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002BFA4 00028F04 40 82 FE D8 */ bne lbl_8002BE7C -/* 8002BFA8 00028F08 82 9E 00 24 */ lwz r20, 0x24(r30) -/* 8002BFAC 00028F0C 7F 44 D3 78 */ mr r4, r26 -/* 8002BFB0 00028F10 38 61 01 64 */ addi r3, r1, 0x164 -/* 8002BFB4 00028F14 C2 B4 00 08 */ lfs f21, 8(r20) -/* 8002BFB8 00028F18 C2 D4 00 04 */ lfs f22, 4(r20) -/* 8002BFBC 00028F1C C2 F4 00 00 */ lfs f23, 0(r20) -/* 8002BFC0 00028F20 EF F5 07 32 */ fmuls f31, f21, f28 -/* 8002BFC4 00028F24 EF D6 06 F2 */ fmuls f30, f22, f27 -/* 8002BFC8 00028F28 EF 17 06 32 */ fmuls f24, f23, f24 -/* 8002BFCC 00028F2C 48 2E 67 15 */ bl GetInverse__12CTransform4fCFv -/* 8002BFD0 00028F30 7F 25 CB 78 */ mr r5, r25 -/* 8002BFD4 00028F34 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8002BFD8 00028F38 38 81 01 64 */ addi r4, r1, 0x164 -/* 8002BFDC 00028F3C 48 2E 6B 0D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8002BFE0 00028F40 EC 17 07 72 */ fmuls f0, f23, f29 -/* 8002BFE4 00028F44 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 8002BFE8 00028F48 EC 56 06 B2 */ fmuls f2, f22, f26 -/* 8002BFEC 00028F4C C0 61 00 A4 */ lfs f3, 0xa4(r1) -/* 8002BFF0 00028F50 EC B5 06 72 */ fmuls f5, f21, f25 -/* 8002BFF4 00028F54 C0 C1 00 A8 */ lfs f6, 0xa8(r1) -/* 8002BFF8 00028F58 ED 41 C0 28 */ fsubs f10, f1, f24 -/* 8002BFFC 00028F5C C0 21 00 70 */ lfs f1, 0x70(r1) -/* 8002C000 00028F60 ED 20 C0 28 */ fsubs f9, f0, f24 -/* 8002C004 00028F64 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8002C008 00028F68 ED 03 F0 28 */ fsubs f8, f3, f30 -/* 8002C00C 00028F6C C0 94 00 00 */ lfs f4, 0(r20) -/* 8002C010 00028F70 EC E2 F0 28 */ fsubs f7, f2, f30 -/* 8002C014 00028F74 C0 42 83 D8 */ lfs f2, lbl_805AA0F8@sda21(r2) -/* 8002C018 00028F78 ED 2A 48 28 */ fsubs f9, f10, f9 -/* 8002C01C 00028F7C C0 74 00 04 */ lfs f3, 4(r20) -/* 8002C020 00028F80 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8002C024 00028F84 C0 34 00 08 */ lfs f1, 8(r20) -/* 8002C028 00028F88 EC E8 38 28 */ fsubs f7, f8, f7 -/* 8002C02C 00028F8C 38 80 00 01 */ li r4, 1 -/* 8002C030 00028F90 EC C6 F8 28 */ fsubs f6, f6, f31 -/* 8002C034 00028F94 38 60 00 00 */ li r3, 0 -/* 8002C038 00028F98 EC A5 F8 28 */ fsubs f5, f5, f31 -/* 8002C03C 00028F9C ED 29 20 24 */ fdivs f9, f9, f4 -/* 8002C040 00028FA0 EC 42 00 24 */ fdivs f2, f2, f0 -/* 8002C044 00028FA4 EC 06 28 28 */ fsubs f0, f6, f5 -/* 8002C048 00028FA8 EC E7 18 24 */ fdivs f7, f7, f3 -/* 8002C04C 00028FAC EC 00 08 24 */ fdivs f0, f0, f1 -/* 8002C050 00028FB0 ED 29 00 B2 */ fmuls f9, f9, f2 -/* 8002C054 00028FB4 EC E7 00 B2 */ fmuls f7, f7, f2 -/* 8002C058 00028FB8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8002C05C 00028FBC D1 3D 01 DC */ stfs f9, 0x1dc(r29) -/* 8002C060 00028FC0 D0 FD 01 E0 */ stfs f7, 0x1e0(r29) -/* 8002C064 00028FC4 D0 1D 01 E4 */ stfs f0, 0x1e4(r29) -/* 8002C068 00028FC8 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002C06C 00028FCC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8002C070 00028FD0 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002C074 00028FD4 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002C078 00028FD8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8002C07C 00028FDC 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002C080 00028FE0 48 00 00 70 */ b lbl_8002C0F0 -lbl_8002C084: -/* 8002C084 00028FE4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8002C088 00028FE8 38 60 00 00 */ li r3, 0 -/* 8002C08C 00028FEC C0 04 66 A0 */ lfs f0, skZero3f@l(r4) -/* 8002C090 00028FF0 D0 1D 01 DC */ stfs f0, 0x1dc(r29) -/* 8002C094 00028FF4 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8002C098 00028FF8 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) -/* 8002C09C 00028FFC C0 1C 00 08 */ lfs f0, 8(r28) -/* 8002C0A0 00029000 D0 1D 01 E4 */ stfs f0, 0x1e4(r29) -/* 8002C0A4 00029004 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002C0A8 00029008 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8002C0AC 0002900C 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002C0B0 00029010 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002C0B4 00029014 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8002C0B8 00029018 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002C0BC 0002901C 48 00 00 34 */ b lbl_8002C0F0 -lbl_8002C0C0: -/* 8002C0C0 00029020 D3 1D 01 DC */ stfs f24, 0x1dc(r29) -/* 8002C0C4 00029024 38 60 00 00 */ li r3, 0 -/* 8002C0C8 00029028 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8002C0CC 0002902C D0 1D 01 E0 */ stfs f0, 0x1e0(r29) -/* 8002C0D0 00029030 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8002C0D4 00029034 D0 1D 01 E4 */ stfs f0, 0x1e4(r29) -/* 8002C0D8 00029038 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002C0DC 0002903C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8002C0E0 00029040 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8002C0E4 00029044 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002C0E8 00029048 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8002C0EC 0002904C 98 1D 02 20 */ stb r0, 0x220(r29) -lbl_8002C0F0: -/* 8002C0F0 00029050 E3 E1 05 18 */ psq_l f31, 1304(r1), 0, qr0 -/* 8002C0F4 00029054 CB E1 05 10 */ lfd f31, 0x510(r1) -/* 8002C0F8 00029058 E3 C1 05 08 */ psq_l f30, 1288(r1), 0, qr0 -/* 8002C0FC 0002905C CB C1 05 00 */ lfd f30, 0x500(r1) -/* 8002C100 00029060 E3 A1 04 F8 */ psq_l f29, 1272(r1), 0, qr0 -/* 8002C104 00029064 CB A1 04 F0 */ lfd f29, 0x4f0(r1) -/* 8002C108 00029068 E3 81 04 E8 */ psq_l f28, 1256(r1), 0, qr0 -/* 8002C10C 0002906C CB 81 04 E0 */ lfd f28, 0x4e0(r1) -/* 8002C110 00029070 E3 61 04 D8 */ psq_l f27, 1240(r1), 0, qr0 -/* 8002C114 00029074 CB 61 04 D0 */ lfd f27, 0x4d0(r1) -/* 8002C118 00029078 E3 41 04 C8 */ psq_l f26, 1224(r1), 0, qr0 -/* 8002C11C 0002907C CB 41 04 C0 */ lfd f26, 0x4c0(r1) -/* 8002C120 00029080 E3 21 04 B8 */ psq_l f25, 1208(r1), 0, qr0 -/* 8002C124 00029084 CB 21 04 B0 */ lfd f25, 0x4b0(r1) -/* 8002C128 00029088 E3 01 04 A8 */ psq_l f24, 1192(r1), 0, qr0 -/* 8002C12C 0002908C CB 01 04 A0 */ lfd f24, 0x4a0(r1) -/* 8002C130 00029090 E2 E1 04 98 */ psq_l f23, 1176(r1), 0, qr0 -/* 8002C134 00029094 CA E1 04 90 */ lfd f23, 0x490(r1) -/* 8002C138 00029098 E2 C1 04 88 */ psq_l f22, 1160(r1), 0, qr0 -/* 8002C13C 0002909C CA C1 04 80 */ lfd f22, 0x480(r1) -/* 8002C140 000290A0 E2 A1 04 78 */ psq_l f21, 1144(r1), 0, qr0 -/* 8002C144 000290A4 CA A1 04 70 */ lfd f21, 0x470(r1) -/* 8002C148 000290A8 BA 81 04 40 */ lmw r20, 0x440(r1) -/* 8002C14C 000290AC 80 01 05 24 */ lwz r0, 0x524(r1) -/* 8002C150 000290B0 7C 08 03 A6 */ mtlr r0 -/* 8002C154 000290B4 38 21 05 20 */ addi r1, r1, 0x520 -/* 8002C158 000290B8 4E 80 00 20 */ blr - -.global Inverse__9CMatrix3fCFv -Inverse__9CMatrix3fCFv: -/* 8002C15C 000290BC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002C160 000290C0 7C 08 02 A6 */ mflr r0 -/* 8002C164 000290C4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002C168 000290C8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8002C16C 000290CC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8002C170 000290D0 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 8002C174 000290D4 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 8002C178 000290D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002C17C 000290DC 93 C1 00 08 */ stw r30, 8(r1) -/* 8002C180 000290E0 7C 9F 23 78 */ mr r31, r4 -/* 8002C184 000290E4 7C 7E 1B 78 */ mr r30, r3 -/* 8002C188 000290E8 7F E3 FB 78 */ mr r3, r31 -/* 8002C18C 000290EC 48 2E 3F 59 */ bl Determinant__9CMatrix3fCFv -/* 8002C190 000290F0 C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) -/* 8002C194 000290F4 C1 9F 00 1C */ lfs f12, 0x1c(r31) -/* 8002C198 000290F8 EC 00 08 24 */ fdivs f0, f0, f1 -/* 8002C19C 000290FC C3 FF 00 14 */ lfs f31, 0x14(r31) -/* 8002C1A0 00029100 C0 FF 00 08 */ lfs f7, 8(r31) -/* 8002C1A4 00029104 C1 5F 00 18 */ lfs f10, 0x18(r31) -/* 8002C1A8 00029108 C1 7F 00 10 */ lfs f11, 0x10(r31) -/* 8002C1AC 0002910C C3 DF 00 20 */ lfs f30, 0x20(r31) -/* 8002C1B0 00029110 EC 9F 03 32 */ fmuls f4, f31, f12 -/* 8002C1B4 00029114 C1 1F 00 04 */ lfs f8, 4(r31) -/* 8002C1B8 00029118 EC 67 03 32 */ fmuls f3, f7, f12 -/* 8002C1BC 0002911C C1 BF 00 0C */ lfs f13, 0xc(r31) -/* 8002C1C0 00029120 EC 47 02 F2 */ fmuls f2, f7, f11 -/* 8002C1C4 00029124 C1 3F 00 00 */ lfs f9, 0(r31) -/* 8002C1C8 00029128 EC AB 27 B8 */ fmsubs f5, f11, f30, f4 -/* 8002C1CC 0002912C EC 88 1F BC */ fnmsubs f4, f8, f30, f3 -/* 8002C1D0 00029130 EC 68 17 F8 */ fmsubs f3, f8, f31, f2 -/* 8002C1D4 00029134 EC 3F 02 B2 */ fmuls f1, f31, f10 -/* 8002C1D8 00029138 EC A0 01 72 */ fmuls f5, f0, f5 -/* 8002C1DC 0002913C EC C7 02 B2 */ fmuls f6, f7, f10 -/* 8002C1E0 00029140 EC 4D 0F BC */ fnmsubs f2, f13, f30, f1 -/* 8002C1E4 00029144 D0 BE 00 00 */ stfs f5, 0(r30) -/* 8002C1E8 00029148 EC 80 01 32 */ fmuls f4, f0, f4 -/* 8002C1EC 0002914C EC A9 37 B8 */ fmsubs f5, f9, f30, f6 -/* 8002C1F0 00029150 EC E7 03 72 */ fmuls f7, f7, f13 -/* 8002C1F4 00029154 D0 9E 00 04 */ stfs f4, 4(r30) -/* 8002C1F8 00029158 EC 60 00 F2 */ fmuls f3, f0, f3 -/* 8002C1FC 0002915C EC 2B 02 B2 */ fmuls f1, f11, f10 -/* 8002C200 00029160 EC C9 3F FC */ fnmsubs f6, f9, f31, f7 -/* 8002C204 00029164 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8002C208 00029168 D0 7E 00 08 */ stfs f3, 8(r30) -/* 8002C20C 0002916C EC 88 02 B2 */ fmuls f4, f8, f10 -/* 8002C210 00029170 EC 2D 0B 38 */ fmsubs f1, f13, f12, f1 -/* 8002C214 00029174 D0 5E 00 0C */ stfs f2, 0xc(r30) -/* 8002C218 00029178 EC A0 01 72 */ fmuls f5, f0, f5 -/* 8002C21C 0002917C EC 69 23 3C */ fnmsubs f3, f9, f12, f4 -/* 8002C220 00029180 EC E8 03 72 */ fmuls f7, f8, f13 -/* 8002C224 00029184 EC 40 01 B2 */ fmuls f2, f0, f6 -/* 8002C228 00029188 D0 BE 00 10 */ stfs f5, 0x10(r30) -/* 8002C22C 0002918C EC 20 00 72 */ fmuls f1, f0, f1 -/* 8002C230 00029190 EC 89 3A F8 */ fmsubs f4, f9, f11, f7 -/* 8002C234 00029194 D0 5E 00 14 */ stfs f2, 0x14(r30) -/* 8002C238 00029198 EC 60 00 F2 */ fmuls f3, f0, f3 -/* 8002C23C 0002919C D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 8002C240 000291A0 EC 00 01 32 */ fmuls f0, f0, f4 -/* 8002C244 000291A4 D0 7E 00 1C */ stfs f3, 0x1c(r30) -/* 8002C248 000291A8 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 8002C24C 000291AC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8002C250 000291B0 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8002C254 000291B4 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 8002C258 000291B8 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 8002C25C 000291BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002C260 000291C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002C264 000291C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002C268 000291C8 7C 08 03 A6 */ mtlr r0 -/* 8002C26C 000291CC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002C270 000291D0 4E 80 00 20 */ blr - -.global GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime -GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime: -/* 8002C274 000291D4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8002C278 000291D8 7C 08 02 A6 */ mflr r0 -/* 8002C27C 000291DC 3C E0 80 5A */ lis r7, skIdentity4f@ha -/* 8002C280 000291E0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8002C284 000291E4 38 07 66 70 */ addi r0, r7, skIdentity4f@l -/* 8002C288 000291E8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8002C28C 000291EC 7C BF 2B 78 */ mr r31, r5 -/* 8002C290 000291F0 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8002C294 000291F4 7C DE 33 78 */ mr r30, r6 -/* 8002C298 000291F8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8002C29C 000291FC 7C 9D 23 78 */ mr r29, r4 -/* 8002C2A0 00029200 7C 04 03 78 */ mr r4, r0 -/* 8002C2A4 00029204 93 81 00 40 */ stw r28, 0x40(r1) -/* 8002C2A8 00029208 7C 7C 1B 78 */ mr r28, r3 -/* 8002C2AC 0002920C 38 61 00 08 */ addi r3, r1, 8 -/* 8002C2B0 00029210 48 2E 68 C5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8002C2B4 00029214 88 1F 00 00 */ lbz r0, 0(r31) -/* 8002C2B8 00029218 28 00 00 FF */ cmplwi r0, 0xff -/* 8002C2BC 0002921C 41 82 00 98 */ beq lbl_8002C354 -/* 8002C2C0 00029220 28 1E 00 00 */ cmplwi r30, 0 -/* 8002C2C4 00029224 40 82 00 10 */ bne lbl_8002C2D4 -/* 8002C2C8 00029228 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002C2CC 0002922C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8002C2D0 00029230 40 82 00 20 */ bne lbl_8002C2F0 -lbl_8002C2D4: -/* 8002C2D4 00029234 7F A3 EB 78 */ mr r3, r29 -/* 8002C2D8 00029238 7F C4 F3 78 */ mr r4, r30 -/* 8002C2DC 0002923C 48 00 04 B1 */ bl RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime -/* 8002C2E0 00029240 7F C3 00 34 */ cntlzw r3, r30 -/* 8002C2E4 00029244 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002C2E8 00029248 50 60 DF FE */ rlwimi r0, r3, 0x1b, 0x1f, 0x1f -/* 8002C2EC 0002924C 98 1D 02 20 */ stb r0, 0x220(r29) -lbl_8002C2F0: -/* 8002C2F0 00029250 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 8002C2F4 00029254 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8002C2F8 00029258 40 82 00 18 */ bne lbl_8002C310 -/* 8002C2FC 0002925C 7F E4 FB 78 */ mr r4, r31 -/* 8002C300 00029260 38 7D 02 FC */ addi r3, r29, 0x2fc -/* 8002C304 00029264 38 A1 00 08 */ addi r5, r1, 8 -/* 8002C308 00029268 48 2D 00 61 */ bl BuildTransform__21CHierarchyPoseBuilderCFRC6CSegIdR12CTransform4f -/* 8002C30C 0002926C 48 00 00 48 */ b lbl_8002C354 -lbl_8002C310: -/* 8002C310 00029270 7F E4 FB 78 */ mr r4, r31 -/* 8002C314 00029274 38 7D 02 24 */ addi r3, r29, 0x224 -/* 8002C318 00029278 48 33 CC 65 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -/* 8002C31C 0002927C 7C 7E 1B 78 */ mr r30, r3 -/* 8002C320 00029280 7F E4 FB 78 */ mr r4, r31 -/* 8002C324 00029284 38 7D 02 24 */ addi r3, r29, 0x224 -/* 8002C328 00029288 48 33 CC 31 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId -/* 8002C32C 0002928C 7C 7F 1B 78 */ mr r31, r3 -/* 8002C330 00029290 7F C4 F3 78 */ mr r4, r30 -/* 8002C334 00029294 38 61 00 08 */ addi r3, r1, 8 -/* 8002C338 00029298 48 2E 68 BD */ bl SetRotation__12CTransform4fFRC9CMatrix3f -/* 8002C33C 0002929C C0 1F 00 00 */ lfs f0, 0(r31) -/* 8002C340 000292A0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8002C344 000292A4 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8002C348 000292A8 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8002C34C 000292AC C0 1F 00 08 */ lfs f0, 8(r31) -/* 8002C350 000292B0 D0 01 00 34 */ stfs f0, 0x34(r1) -lbl_8002C354: -/* 8002C354 000292B4 7F 83 E3 78 */ mr r3, r28 -/* 8002C358 000292B8 38 81 00 08 */ addi r4, r1, 8 -/* 8002C35C 000292BC 48 2E 68 19 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8002C360 000292C0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8002C364 000292C4 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8002C368 000292C8 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8002C36C 000292CC 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8002C370 000292D0 83 81 00 40 */ lwz r28, 0x40(r1) -/* 8002C374 000292D4 7C 08 03 A6 */ mtlr r0 -/* 8002C378 000292D8 38 21 00 50 */ addi r1, r1, 0x50 -/* 8002C37C 000292DC 4E 80 00 20 */ blr - -.global "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -"GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime": -/* 8002C380 000292E0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002C384 000292E4 7C 08 02 A6 */ mflr r0 -/* 8002C388 000292E8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002C38C 000292EC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002C390 000292F0 7C DF 33 78 */ mr r31, r6 -/* 8002C394 000292F4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8002C398 000292F8 7C 9E 23 78 */ mr r30, r4 -/* 8002C39C 000292FC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8002C3A0 00029300 7C 7D 1B 78 */ mr r29, r3 -/* 8002C3A4 00029304 38 61 00 0C */ addi r3, r1, 0xc -/* 8002C3A8 00029308 80 84 00 D4 */ lwz r4, 0xd4(r4) -/* 8002C3AC 0002930C 48 2C B8 B9 */ bl "GetSegIdFromString__15CCharLayoutInfoCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002C3B0 00029310 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8002C3B4 00029314 7F A3 EB 78 */ mr r3, r29 -/* 8002C3B8 00029318 7F C4 F3 78 */ mr r4, r30 -/* 8002C3BC 0002931C 7F E6 FB 78 */ mr r6, r31 -/* 8002C3C0 00029320 98 01 00 10 */ stb r0, 0x10(r1) -/* 8002C3C4 00029324 38 A1 00 08 */ addi r5, r1, 8 -/* 8002C3C8 00029328 98 01 00 08 */ stb r0, 8(r1) -/* 8002C3CC 0002932C 4B FF FE A9 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime -/* 8002C3D0 00029330 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002C3D4 00029334 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002C3D8 00029338 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002C3DC 0002933C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8002C3E0 00029340 7C 08 03 A6 */ mtlr r0 -/* 8002C3E4 00029344 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002C3E8 00029348 4E 80 00 20 */ blr - -.global "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8002C3EC 0002934C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002C3F0 00029350 7C 08 02 A6 */ mflr r0 -/* 8002C3F4 00029354 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002C3F8 00029358 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8002C3FC 0002935C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8002C400 00029360 80 63 01 F8 */ lwz r3, 0x1f8(r3) -/* 8002C404 00029364 FF E0 08 90 */ fmr f31, f1 -/* 8002C408 00029368 80 83 00 00 */ lwz r4, 0(r3) -/* 8002C40C 0002936C 28 04 00 00 */ cmplwi r4, 0 -/* 8002C410 00029370 41 82 00 40 */ beq lbl_8002C450 -/* 8002C414 00029374 81 84 00 00 */ lwz r12, 0(r4) -/* 8002C418 00029378 38 61 00 08 */ addi r3, r1, 8 -/* 8002C41C 0002937C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8002C420 00029380 7D 89 03 A6 */ mtctr r12 -/* 8002C424 00029384 4E 80 04 21 */ bctrl -/* 8002C428 00029388 C0 21 00 08 */ lfs f1, 8(r1) -/* 8002C42C 0002938C C0 02 83 D0 */ lfs f0, lbl_805AA0F0@sda21(r2) -/* 8002C430 00029390 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8002C434 00029394 FC 00 02 10 */ fabs f0, f0 -/* 8002C438 00029398 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8002C43C 0002939C 7C 00 00 26 */ mfcr r0 -/* 8002C440 000293A0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8002C444 000293A4 7C 00 00 34 */ cntlzw r0, r0 -/* 8002C448 000293A8 54 03 D9 7E */ srwi r3, r0, 5 -/* 8002C44C 000293AC 48 00 00 08 */ b lbl_8002C454 -lbl_8002C450: -/* 8002C450 000293B0 38 60 00 00 */ li r3, 0 -lbl_8002C454: -/* 8002C454 000293B4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8002C458 000293B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002C45C 000293BC CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8002C460 000293C0 7C 08 03 A6 */ mtlr r0 -/* 8002C464 000293C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002C468 000293C8 4E 80 00 20 */ blr - -.global "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8002C46C 000293CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002C470 000293D0 7C 08 02 A6 */ mflr r0 -/* 8002C474 000293D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002C478 000293D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002C47C 000293DC 7C 7F 1B 78 */ mr r31, r3 -/* 8002C480 000293E0 38 61 00 08 */ addi r3, r1, 8 -/* 8002C484 000293E4 80 9F 01 F8 */ lwz r4, 0x1f8(r31) -/* 8002C488 000293E8 80 84 00 00 */ lwz r4, 0(r4) -/* 8002C48C 000293EC 81 84 00 00 */ lwz r12, 0(r4) -/* 8002C490 000293F0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8002C494 000293F4 7D 89 03 A6 */ mtctr r12 -/* 8002C498 000293F8 4E 80 04 21 */ bctrl -/* 8002C49C 000293FC C0 5F 02 00 */ lfs f2, 0x200(r31) -/* 8002C4A0 00029400 C0 02 83 D0 */ lfs f0, lbl_805AA0F0@sda21(r2) -/* 8002C4A4 00029404 C0 21 00 08 */ lfs f1, 8(r1) -/* 8002C4A8 00029408 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8002C4AC 0002940C 40 81 00 08 */ ble lbl_8002C4B4 -/* 8002C4B0 00029410 EC 21 10 24 */ fdivs f1, f1, f2 -lbl_8002C4B4: -/* 8002C4B4 00029414 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002C4B8 00029418 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002C4BC 0002941C 7C 08 03 A6 */ mtlr r0 -/* 8002C4C0 00029420 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002C4C4 00029424 4E 80 00 20 */ blr - -.global GetAnimationDuration__9CAnimDataCFi -GetAnimationDuration__9CAnimDataCFi: -/* 8002C4C8 00029428 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8002C4CC 0002942C 7C 08 02 A6 */ mflr r0 -/* 8002C4D0 00029430 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8002C4D4 00029434 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8002C4D8 00029438 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8002C4DC 0002943C BF 41 00 78 */ stmw r26, 0x78(r1) -/* 8002C4E0 00029440 7C 7C 1B 78 */ mr r28, r3 -/* 8002C4E4 00029444 54 80 10 3A */ slwi r0, r4, 2 -/* 8002C4E8 00029448 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 8002C4EC 0002944C 7F 84 E3 78 */ mr r4, r28 -/* 8002C4F0 00029450 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002C4F4 00029454 7F 45 00 2E */ lwzx r26, r5, r0 -/* 8002C4F8 00029458 48 00 02 79 */ bl GetAnimationManager__9CAnimDataCFv -/* 8002C4FC 0002945C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8002C500 00029460 7F 45 D3 78 */ mr r5, r26 -/* 8002C504 00029464 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002C508 00029468 80 84 00 00 */ lwz r4, 0(r4) -/* 8002C50C 0002946C 48 2A A9 05 */ bl GetMetaAnimation__17CAnimationManagerCFUi -/* 8002C510 00029470 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8002C514 00029474 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002C518 00029478 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8002C51C 0002947C 80 85 00 04 */ lwz r4, 4(r5) -/* 8002C520 00029480 38 04 00 01 */ addi r0, r4, 1 -/* 8002C524 00029484 90 05 00 04 */ stw r0, 4(r5) -/* 8002C528 00029488 48 00 4A 09 */ bl sub_80030f30 -/* 8002C52C 0002948C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002C530 00029490 48 00 4E 7D */ bl sub_800313ac -/* 8002C534 00029494 88 61 00 08 */ lbz r3, 8(r1) -/* 8002C538 00029498 38 00 00 00 */ li r0, 0 -/* 8002C53C 0002949C 88 A1 00 0C */ lbz r5, 0xc(r1) -/* 8002C540 000294A0 3B A1 00 5C */ addi r29, r1, 0x5c -/* 8002C544 000294A4 98 61 00 54 */ stb r3, 0x54(r1) -/* 8002C548 000294A8 38 81 00 54 */ addi r4, r1, 0x54 -/* 8002C54C 000294AC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8002C550 000294B0 98 A1 00 55 */ stb r5, 0x55(r1) -/* 8002C554 000294B4 90 01 00 58 */ stw r0, 0x58(r1) -/* 8002C558 000294B8 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8002C55C 000294BC 90 01 00 60 */ stw r0, 0x60(r1) -/* 8002C560 000294C0 90 01 00 64 */ stw r0, 0x64(r1) -/* 8002C564 000294C4 80 63 00 00 */ lwz r3, 0(r3) -/* 8002C568 000294C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8002C56C 000294CC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8002C570 000294D0 7D 89 03 A6 */ mtctr r12 -/* 8002C574 000294D4 4E 80 04 21 */ bctrl -/* 8002C578 000294D8 83 C1 00 5C */ lwz r30, 0x5c(r1) -/* 8002C57C 000294DC 3B E0 00 00 */ li r31, 0 -/* 8002C580 000294E0 3C 60 41 4E */ lis r3, 0x414E494D@ha -/* 8002C584 000294E4 93 A1 00 3C */ stw r29, 0x3c(r1) -/* 8002C588 000294E8 C3 E2 83 D0 */ lfs f31, lbl_805AA0F0@sda21(r2) -/* 8002C58C 000294EC 3B 43 49 4D */ addi r26, r3, 0x414E494D@l -/* 8002C590 000294F0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8002C594 000294F4 3B 61 00 48 */ addi r27, r1, 0x48 -/* 8002C598 000294F8 93 E1 00 30 */ stw r31, 0x30(r1) -/* 8002C59C 000294FC 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8002C5A0 00029500 48 00 01 00 */ b lbl_8002C6A0 -lbl_8002C5A4: -/* 8002C5A4 00029504 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8002C5A8 00029508 7F 84 E3 78 */ mr r4, r28 -/* 8002C5AC 0002950C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002C5B0 00029510 93 41 00 40 */ stw r26, 0x40(r1) -/* 8002C5B4 00029514 90 01 00 44 */ stw r0, 0x44(r1) -/* 8002C5B8 00029518 48 00 01 9D */ bl GetAnimSysContext__9CAnimDataCFv -/* 8002C5BC 0002951C 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8002C5C0 00029520 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002C5C4 00029524 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8002C5C8 00029528 80 84 00 00 */ lwz r4, 0(r4) -/* 8002C5CC 0002952C 80 84 00 0C */ lwz r4, 0xc(r4) -/* 8002C5D0 00029530 81 84 00 00 */ lwz r12, 0(r4) -/* 8002C5D4 00029534 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8002C5D8 00029538 7D 89 03 A6 */ mtctr r12 -/* 8002C5DC 0002953C 4E 80 04 21 */ bctrl -/* 8002C5E0 00029540 7F 63 DB 78 */ mr r3, r27 -/* 8002C5E4 00029544 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002C5E8 00029548 48 31 48 C1 */ bl __ct__6CTokenFRC6CToken -/* 8002C5EC 0002954C 7F 63 DB 78 */ mr r3, r27 -/* 8002C5F0 00029550 48 31 48 1D */ bl GetObj__6CTokenFv -/* 8002C5F4 00029554 80 03 00 04 */ lwz r0, 4(r3) -/* 8002C5F8 00029558 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002C5FC 0002955C 38 80 FF FF */ li r4, -1 -/* 8002C600 00029560 90 01 00 50 */ stw r0, 0x50(r1) -/* 8002C604 00029564 48 31 48 3D */ bl __dt__6CTokenFv -/* 8002C608 00029568 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002C60C 0002956C 48 00 4E ED */ bl sub_800314f8 -/* 8002C610 00029570 80 81 00 50 */ lwz r4, 0x50(r1) -/* 8002C614 00029574 80 04 00 00 */ lwz r0, 0(r4) -/* 8002C618 00029578 2C 00 00 01 */ cmpwi r0, 1 -/* 8002C61C 0002957C 41 82 00 4C */ beq lbl_8002C668 -/* 8002C620 00029580 40 80 00 10 */ bge lbl_8002C630 -/* 8002C624 00029584 2C 00 00 00 */ cmpwi r0, 0 -/* 8002C628 00029588 40 80 00 14 */ bge lbl_8002C63C -/* 8002C62C 0002958C 48 00 00 3C */ b lbl_8002C668 -lbl_8002C630: -/* 8002C630 00029590 2C 00 00 03 */ cmpwi r0, 3 -/* 8002C634 00029594 40 80 00 34 */ bge lbl_8002C668 -/* 8002C638 00029598 48 00 00 1C */ b lbl_8002C654 -lbl_8002C63C: -/* 8002C63C 0002959C C0 04 00 04 */ lfs f0, 4(r4) -/* 8002C640 000295A0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002C644 000295A4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8002C648 000295A8 80 04 00 08 */ lwz r0, 8(r4) -/* 8002C64C 000295AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002C650 000295B0 48 00 00 2C */ b lbl_8002C67C -lbl_8002C654: -/* 8002C654 000295B4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002C658 000295B8 38 84 00 04 */ addi r4, r4, 4 -/* 8002C65C 000295BC 48 2C F2 C9 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv -/* 8002C660 000295C0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002C664 000295C4 48 00 00 18 */ b lbl_8002C67C -lbl_8002C668: -/* 8002C668 000295C8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8002C66C 000295CC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002C670 000295D0 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8002C674 000295D4 80 04 00 08 */ lwz r0, 8(r4) -/* 8002C678 000295D8 90 01 00 24 */ stw r0, 0x24(r1) -lbl_8002C67C: -/* 8002C67C 000295DC C0 03 00 00 */ lfs f0, 0(r3) -/* 8002C680 000295E0 7F A3 EB 78 */ mr r3, r29 -/* 8002C684 000295E4 7F C4 F3 78 */ mr r4, r30 -/* 8002C688 000295E8 EF FF 00 2A */ fadds f31, f31, f0 -/* 8002C68C 000295EC 48 30 FF 55 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8002C690 000295F0 7C 7E 1B 78 */ mr r30, r3 -/* 8002C694 000295F4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8002C698 000295F8 38 80 00 00 */ li r4, 0 -/* 8002C69C 000295FC 48 31 47 A5 */ bl __dt__6CTokenFv -lbl_8002C6A0: -/* 8002C6A0 00029600 7C 1E F8 40 */ cmplw r30, r31 -/* 8002C6A4 00029604 38 00 00 00 */ li r0, 0 -/* 8002C6A8 00029608 40 82 00 0C */ bne lbl_8002C6B4 -/* 8002C6AC 0002960C 7C 1D E8 40 */ cmplw r29, r29 -/* 8002C6B0 00029610 41 82 00 08 */ beq lbl_8002C6B8 -lbl_8002C6B4: -/* 8002C6B4 00029614 38 00 00 01 */ li r0, 1 -lbl_8002C6B8: -/* 8002C6B8 00029618 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8002C6BC 0002961C 40 82 FE E8 */ bne lbl_8002C5A4 -/* 8002C6C0 00029620 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8002C6C4 00029624 80 63 00 00 */ lwz r3, 0(r3) -/* 8002C6C8 00029628 81 83 00 00 */ lwz r12, 0(r3) -/* 8002C6CC 0002962C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8002C6D0 00029630 7D 89 03 A6 */ mtctr r12 -/* 8002C6D4 00029634 4E 80 04 21 */ bctrl -/* 8002C6D8 00029638 2C 03 00 03 */ cmpwi r3, 3 -/* 8002C6DC 0002963C 40 82 00 28 */ bne lbl_8002C704 -/* 8002C6E0 00029640 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8002C6E4 00029644 3C 00 43 30 */ lis r0, 0x4330 -/* 8002C6E8 00029648 90 01 00 68 */ stw r0, 0x68(r1) -/* 8002C6EC 0002964C 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8002C6F0 00029650 C8 22 83 E0 */ lfd f1, lbl_805AA100@sda21(r2) -/* 8002C6F4 00029654 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8002C6F8 00029658 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8002C6FC 0002965C EC 00 08 28 */ fsubs f0, f0, f1 -/* 8002C700 00029660 EF FF 00 24 */ fdivs f31, f31, f0 -lbl_8002C704: -/* 8002C704 00029664 80 81 00 64 */ lwz r4, 0x64(r1) -/* 8002C708 00029668 28 04 00 00 */ cmplwi r4, 0 -/* 8002C70C 0002966C 41 82 00 0C */ beq lbl_8002C718 -/* 8002C710 00029670 38 61 00 54 */ addi r3, r1, 0x54 -/* 8002C714 00029674 48 00 4B 95 */ bl sub_800312a8 -lbl_8002C718: -/* 8002C718 00029678 38 00 00 00 */ li r0, 0 -/* 8002C71C 0002967C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8002C720 00029680 90 01 00 64 */ stw r0, 0x64(r1) -/* 8002C724 00029684 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8002C728 00029688 90 01 00 60 */ stw r0, 0x60(r1) -/* 8002C72C 0002968C 90 01 00 58 */ stw r0, 0x58(r1) -/* 8002C730 00029690 48 00 48 01 */ bl sub_80030f30 -/* 8002C734 00029694 FC 20 F8 90 */ fmr f1, f31 -/* 8002C738 00029698 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8002C73C 0002969C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8002C740 000296A0 BB 41 00 78 */ lmw r26, 0x78(r1) -/* 8002C744 000296A4 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8002C748 000296A8 7C 08 03 A6 */ mtlr r0 -/* 8002C74C 000296AC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8002C750 000296B0 4E 80 00 20 */ blr - -.global GetAnimSysContext__9CAnimDataCFv -GetAnimSysContext__9CAnimDataCFv: -/* 8002C754 000296B4 80 04 00 FC */ lwz r0, 0xfc(r4) -/* 8002C758 000296B8 90 03 00 00 */ stw r0, 0(r3) -/* 8002C75C 000296BC 80 83 00 00 */ lwz r4, 0(r3) -/* 8002C760 000296C0 80 64 00 04 */ lwz r3, 4(r4) -/* 8002C764 000296C4 38 03 00 01 */ addi r0, r3, 1 -/* 8002C768 000296C8 90 04 00 04 */ stw r0, 4(r4) -/* 8002C76C 000296CC 4E 80 00 20 */ blr - -.global GetAnimationManager__9CAnimDataCFv -GetAnimationManager__9CAnimDataCFv: -/* 8002C770 000296D0 80 04 01 00 */ lwz r0, 0x100(r4) -/* 8002C774 000296D4 90 03 00 00 */ stw r0, 0(r3) -/* 8002C778 000296D8 80 83 00 00 */ lwz r4, 0(r3) -/* 8002C77C 000296DC 80 64 00 04 */ lwz r3, 4(r4) -/* 8002C780 000296E0 38 03 00 01 */ addi r0, r3, 1 -/* 8002C784 000296E4 90 04 00 04 */ stw r0, 4(r4) -/* 8002C788 000296E8 4E 80 00 20 */ blr - -.global RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime -RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime: -/* 8002C78C 000296EC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002C790 000296F0 7C 08 02 A6 */ mflr r0 -/* 8002C794 000296F4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002C798 000296F8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002C79C 000296FC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8002C7A0 00029700 7C 7E 1B 78 */ mr r30, r3 -/* 8002C7A4 00029704 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8002C7A8 00029708 7C 9D 23 78 */ mr r29, r4 -/* 8002C7AC 0002970C 80 83 00 D4 */ lwz r4, 0xd4(r3) -/* 8002C7B0 00029710 38 61 00 0C */ addi r3, r1, 0xc -/* 8002C7B4 00029714 3B E4 00 08 */ addi r31, r4, 8 -/* 8002C7B8 00029718 48 2D 0B B5 */ bl __ct__21CStackSegStatementSetFv -/* 8002C7BC 0002971C 28 1D 00 00 */ cmplwi r29, 0 -/* 8002C7C0 00029720 40 82 00 28 */ bne lbl_8002C7E8 -/* 8002C7C4 00029724 80 7E 01 F8 */ lwz r3, 0x1f8(r30) -/* 8002C7C8 00029728 7F E4 FB 78 */ mr r4, r31 -/* 8002C7CC 0002972C 38 A1 00 0C */ addi r5, r1, 0xc -/* 8002C7D0 00029730 80 63 00 00 */ lwz r3, 0(r3) -/* 8002C7D4 00029734 81 83 00 00 */ lwz r12, 0(r3) -/* 8002C7D8 00029738 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8002C7DC 0002973C 7D 89 03 A6 */ mtctr r12 -/* 8002C7E0 00029740 4E 80 04 21 */ bctrl -/* 8002C7E4 00029744 48 00 00 28 */ b lbl_8002C80C -lbl_8002C7E8: -/* 8002C7E8 00029748 80 7E 01 F8 */ lwz r3, 0x1f8(r30) -/* 8002C7EC 0002974C 7F E4 FB 78 */ mr r4, r31 -/* 8002C7F0 00029750 7F A6 EB 78 */ mr r6, r29 -/* 8002C7F4 00029754 38 A1 00 0C */ addi r5, r1, 0xc -/* 8002C7F8 00029758 80 63 00 00 */ lwz r3, 0(r3) -/* 8002C7FC 0002975C 81 83 00 00 */ lwz r12, 0(r3) -/* 8002C800 00029760 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 8002C804 00029764 7D 89 03 A6 */ mtctr r12 -/* 8002C808 00029768 4E 80 04 21 */ bctrl -lbl_8002C80C: -/* 8002C80C 0002976C 7F C3 F3 78 */ mr r3, r30 -/* 8002C810 00029770 7F E4 FB 78 */ mr r4, r31 -/* 8002C814 00029774 38 A1 00 0C */ addi r5, r1, 0xc -/* 8002C818 00029778 4B FF CC 99 */ bl AddAdditiveSegData__9CAnimDataCFRC10CSegIdListR16CSegStatementSet -/* 8002C81C 0002977C 80 1F 00 04 */ lwz r0, 4(r31) -/* 8002C820 00029780 39 3E 03 3C */ addi r9, r30, 0x33c -/* 8002C824 00029784 38 60 00 00 */ li r3, 0 -/* 8002C828 00029788 7C 09 03 A6 */ mtctr r0 -/* 8002C82C 0002978C 2C 00 00 00 */ cmpwi r0, 0 -/* 8002C830 00029790 40 81 00 A0 */ ble lbl_8002C8D0 -lbl_8002C834: -/* 8002C834 00029794 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 8002C838 00029798 7C 04 18 AE */ lbzx r0, r4, r3 -/* 8002C83C 0002979C 28 00 00 03 */ cmplwi r0, 3 -/* 8002C840 000297A0 98 01 00 08 */ stb r0, 8(r1) -/* 8002C844 000297A4 41 82 00 84 */ beq lbl_8002C8C8 -/* 8002C848 000297A8 54 04 0D FC */ rlwinm r4, r0, 1, 0x17, 0x1e -/* 8002C84C 000297AC 80 E1 00 10 */ lwz r7, 0x10(r1) -/* 8002C850 000297B0 38 A4 00 01 */ addi r5, r4, 1 -/* 8002C854 000297B4 54 06 2C F4 */ rlwinm r6, r0, 5, 0x13, 0x1a -/* 8002C858 000297B8 7C 09 28 AE */ lbzx r0, r9, r5 -/* 8002C85C 000297BC 7D 07 32 14 */ add r8, r7, r6 -/* 8002C860 000297C0 80 9E 04 04 */ lwz r4, 0x404(r30) -/* 8002C864 000297C4 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a -/* 8002C868 000297C8 C0 08 00 00 */ lfs f0, 0(r8) -/* 8002C86C 000297CC 7C E4 02 14 */ add r7, r4, r0 -/* 8002C870 000297D0 D0 07 00 04 */ stfs f0, 4(r7) -/* 8002C874 000297D4 80 88 00 04 */ lwz r4, 4(r8) -/* 8002C878 000297D8 80 08 00 08 */ lwz r0, 8(r8) -/* 8002C87C 000297DC 90 87 00 08 */ stw r4, 8(r7) -/* 8002C880 000297E0 90 07 00 0C */ stw r0, 0xc(r7) -/* 8002C884 000297E4 80 08 00 0C */ lwz r0, 0xc(r8) -/* 8002C888 000297E8 90 07 00 10 */ stw r0, 0x10(r7) -/* 8002C88C 000297EC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8002C890 000297F0 7C C0 32 14 */ add r6, r0, r6 -/* 8002C894 000297F4 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 8002C898 000297F8 28 00 00 00 */ cmplwi r0, 0 -/* 8002C89C 000297FC 41 82 00 2C */ beq lbl_8002C8C8 -/* 8002C8A0 00029800 7C 09 28 AE */ lbzx r0, r9, r5 -/* 8002C8A4 00029804 80 9E 04 04 */ lwz r4, 0x404(r30) -/* 8002C8A8 00029808 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a -/* 8002C8AC 0002980C C0 06 00 10 */ lfs f0, 0x10(r6) -/* 8002C8B0 00029810 7C 84 02 14 */ add r4, r4, r0 -/* 8002C8B4 00029814 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 8002C8B8 00029818 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 8002C8BC 0002981C D0 04 00 18 */ stfs f0, 0x18(r4) -/* 8002C8C0 00029820 C0 06 00 18 */ lfs f0, 0x18(r6) -/* 8002C8C4 00029824 D0 04 00 1C */ stfs f0, 0x1c(r4) -lbl_8002C8C8: -/* 8002C8C8 00029828 38 63 00 01 */ addi r3, r3, 1 -/* 8002C8CC 0002982C 42 00 FF 68 */ bdnz lbl_8002C834 -lbl_8002C8D0: -/* 8002C8D0 00029830 38 61 00 0C */ addi r3, r1, 0xc -/* 8002C8D4 00029834 38 80 FF FF */ li r4, -1 -/* 8002C8D8 00029838 48 2D 09 D5 */ bl __dt__21CStackSegStatementSetFv -/* 8002C8DC 0002983C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002C8E0 00029840 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002C8E4 00029844 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002C8E8 00029848 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8002C8EC 0002984C 7C 08 03 A6 */ mtlr r0 -/* 8002C8F0 00029850 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002C8F4 00029854 4E 80 00 20 */ blr - -.global RenderAuxiliary__9CAnimDataCFRC14CFrustumPlanes -RenderAuxiliary__9CAnimDataCFRC14CFrustumPlanes: -/* 8002C8F8 00029858 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002C8FC 0002985C 7C 08 02 A6 */ mflr r0 -/* 8002C900 00029860 38 63 01 20 */ addi r3, r3, 0x120 -/* 8002C904 00029864 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002C908 00029868 48 08 B9 05 */ bl AddToRendererClipped__17CParticleDatabaseCFRC14CFrustumPlanes -/* 8002C90C 0002986C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002C910 00029870 7C 08 03 A6 */ mtlr r0 -/* 8002C914 00029874 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002C918 00029878 4E 80 00 20 */ blr - -.global "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -"Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf": -/* 8002C91C 0002987C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002C920 00029880 7C 08 02 A6 */ mflr r0 -/* 8002C924 00029884 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002C928 00029888 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002C92C 0002988C 7C BF 2B 78 */ mr r31, r5 -/* 8002C930 00029890 7C C5 33 78 */ mr r5, r6 -/* 8002C934 00029894 7C E6 3B 78 */ mr r6, r7 -/* 8002C938 00029898 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002C93C 0002989C 7C 9E 23 78 */ mr r30, r4 -/* 8002C940 000298A0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002C944 000298A4 7C 7D 1B 78 */ mr r29, r3 -/* 8002C948 000298A8 48 00 00 31 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 8002C94C 000298AC 7F A3 EB 78 */ mr r3, r29 -/* 8002C950 000298B0 7F C4 F3 78 */ mr r4, r30 -/* 8002C954 000298B4 7F E5 FB 78 */ mr r5, r31 -/* 8002C958 000298B8 48 00 1A D9 */ bl DrawSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC11CModelFlags -/* 8002C95C 000298BC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002C960 000298C0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002C964 000298C4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002C968 000298C8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8002C96C 000298CC 7C 08 03 A6 */ mtlr r0 -/* 8002C970 000298D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002C974 000298D4 4E 80 00 20 */ blr - -.global "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -"SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf": -/* 8002C978 000298D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002C97C 000298DC 7C 08 02 A6 */ mflr r0 -/* 8002C980 000298E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002C984 000298E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002C988 000298E8 7C DF 33 78 */ mr r31, r6 -/* 8002C98C 000298EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002C990 000298F0 7C BE 2B 78 */ mr r30, r5 -/* 8002C994 000298F4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002C998 000298F8 7C 9D 23 78 */ mr r29, r4 -/* 8002C99C 000298FC 93 81 00 10 */ stw r28, 0x10(r1) -/* 8002C9A0 00029900 7C 7C 1B 78 */ mr r28, r3 -/* 8002C9A4 00029904 88 03 02 20 */ lbz r0, 0x220(r3) -/* 8002C9A8 00029908 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8002C9AC 0002990C 40 82 00 20 */ bne lbl_8002C9CC -/* 8002C9B0 00029910 38 7C 02 FC */ addi r3, r28, 0x2fc -/* 8002C9B4 00029914 38 9C 02 24 */ addi r4, r28, 0x224 -/* 8002C9B8 00029918 48 2C FF 59 */ bl BuildNoScale__21CHierarchyPoseBuilderFR17CPoseAsTransforms -/* 8002C9BC 0002991C 88 1C 02 20 */ lbz r0, 0x220(r28) -/* 8002C9C0 00029920 38 60 00 01 */ li r3, 1 -/* 8002C9C4 00029924 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8002C9C8 00029928 98 1C 02 20 */ stb r0, 0x220(r28) -lbl_8002C9CC: -/* 8002C9CC 0002992C 7F 83 E3 78 */ mr r3, r28 -/* 8002C9D0 00029930 7F A4 EB 78 */ mr r4, r29 -/* 8002C9D4 00029934 7F C6 F3 78 */ mr r6, r30 -/* 8002C9D8 00029938 7F E7 FB 78 */ mr r7, r31 -/* 8002C9DC 0002993C 38 BC 02 24 */ addi r5, r28, 0x224 -/* 8002C9E0 00029940 48 00 1A D1 */ bl "PoseSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 8002C9E4 00029944 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002C9E8 00029948 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002C9EC 0002994C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002C9F0 00029950 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8002C9F4 00029954 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8002C9F8 00029958 7C 08 03 A6 */ mtlr r0 -/* 8002C9FC 0002995C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002CA00 00029960 4E 80 00 20 */ blr - -.global PreRender__9CAnimDataFv -PreRender__9CAnimDataFv: -/* 8002CA04 00029964 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002CA08 00029968 7C 08 02 A6 */ mflr r0 -/* 8002CA0C 0002996C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002CA10 00029970 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002CA14 00029974 7C 7F 1B 78 */ mr r31, r3 -/* 8002CA18 00029978 88 03 02 20 */ lbz r0, 0x220(r3) -/* 8002CA1C 0002997C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8002CA20 00029980 40 82 00 2C */ bne lbl_8002CA4C -/* 8002CA24 00029984 38 80 00 00 */ li r4, 0 -/* 8002CA28 00029988 4B FF FD 65 */ bl RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime -/* 8002CA2C 0002998C 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002CA30 00029990 38 60 00 01 */ li r3, 1 -/* 8002CA34 00029994 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8002CA38 00029998 38 60 00 00 */ li r3, 0 -/* 8002CA3C 0002999C 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002CA40 000299A0 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002CA44 000299A4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8002CA48 000299A8 98 1F 02 20 */ stb r0, 0x220(r31) -lbl_8002CA4C: -/* 8002CA4C 000299AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002CA50 000299B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002CA54 000299B4 7C 08 03 A6 */ mtlr r0 -/* 8002CA58 000299B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002CA5C 000299BC 4E 80 00 20 */ blr - -.global BuildPose__9CAnimDataFv -BuildPose__9CAnimDataFv: -/* 8002CA60 000299C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002CA64 000299C4 7C 08 02 A6 */ mflr r0 -/* 8002CA68 000299C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002CA6C 000299CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002CA70 000299D0 7C 7F 1B 78 */ mr r31, r3 -/* 8002CA74 000299D4 88 03 02 20 */ lbz r0, 0x220(r3) -/* 8002CA78 000299D8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8002CA7C 000299DC 40 82 00 2C */ bne lbl_8002CAA8 -/* 8002CA80 000299E0 38 80 00 00 */ li r4, 0 -/* 8002CA84 000299E4 4B FF FD 09 */ bl RecalcPoseBuilder__9CAnimDataCFPC13CCharAnimTime -/* 8002CA88 000299E8 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002CA8C 000299EC 38 60 00 01 */ li r3, 1 -/* 8002CA90 000299F0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8002CA94 000299F4 38 60 00 00 */ li r3, 0 -/* 8002CA98 000299F8 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002CA9C 000299FC 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002CAA0 00029A00 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8002CAA4 00029A04 98 1F 02 20 */ stb r0, 0x220(r31) -lbl_8002CAA8: -/* 8002CAA8 00029A08 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002CAAC 00029A0C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8002CAB0 00029A10 40 82 00 20 */ bne lbl_8002CAD0 -/* 8002CAB4 00029A14 38 7F 02 FC */ addi r3, r31, 0x2fc -/* 8002CAB8 00029A18 38 9F 02 24 */ addi r4, r31, 0x224 -/* 8002CABC 00029A1C 48 2C FE 55 */ bl BuildNoScale__21CHierarchyPoseBuilderFR17CPoseAsTransforms -/* 8002CAC0 00029A20 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002CAC4 00029A24 38 60 00 01 */ li r3, 1 -/* 8002CAC8 00029A28 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8002CACC 00029A2C 98 1F 02 20 */ stb r0, 0x220(r31) -lbl_8002CAD0: -/* 8002CAD0 00029A30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002CAD4 00029A34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002CAD8 00029A38 7C 08 03 A6 */ mtlr r0 -/* 8002CADC 00029A3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002CAE0 00029A40 4E 80 00 20 */ blr - -.global "PrimitiveSetToTokenVector__9CAnimDataFRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" -"PrimitiveSetToTokenVector__9CAnimDataFRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b": -/* 8002CAE4 00029A44 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8002CAE8 00029A48 7C 08 02 A6 */ mflr r0 -/* 8002CAEC 00029A4C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8002CAF0 00029A50 38 00 00 00 */ li r0, 0 -/* 8002CAF4 00029A54 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 8002CAF8 00029A58 7C 9F 23 78 */ mr r31, r4 -/* 8002CAFC 00029A5C 7C 7C 1B 78 */ mr r28, r3 -/* 8002CB00 00029A60 7C BE 2B 78 */ mr r30, r5 -/* 8002CB04 00029A64 7F E3 FB 78 */ mr r3, r31 -/* 8002CB08 00029A68 38 81 00 30 */ addi r4, r1, 0x30 -/* 8002CB0C 00029A6C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002CB10 00029A70 90 01 00 38 */ stw r0, 0x38(r1) -/* 8002CB14 00029A74 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8002CB18 00029A78 4B FD 9C ED */ bl sub_80006804 -/* 8002CB1C 00029A7C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002CB20 00029A80 83 61 00 3C */ lwz r27, 0x3c(r1) -/* 8002CB24 00029A84 54 00 18 38 */ slwi r0, r0, 3 -/* 8002CB28 00029A88 7F BB 02 14 */ add r29, r27, r0 -/* 8002CB2C 00029A8C 93 61 00 0C */ stw r27, 0xc(r1) -/* 8002CB30 00029A90 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002CB34 00029A94 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8002CB38 00029A98 93 61 00 08 */ stw r27, 8(r1) -/* 8002CB3C 00029A9C 48 00 00 14 */ b lbl_8002CB50 -lbl_8002CB40: -/* 8002CB40 00029AA0 7F 63 DB 78 */ mr r3, r27 -/* 8002CB44 00029AA4 38 80 FF FF */ li r4, -1 -/* 8002CB48 00029AA8 48 31 42 F9 */ bl __dt__6CTokenFv -/* 8002CB4C 00029AAC 3B 7B 00 08 */ addi r27, r27, 8 -lbl_8002CB50: -/* 8002CB50 00029AB0 7C 1B E8 40 */ cmplw r27, r29 -/* 8002CB54 00029AB4 40 82 FF EC */ bne lbl_8002CB40 -/* 8002CB58 00029AB8 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8002CB5C 00029ABC 28 03 00 00 */ cmplwi r3, 0 -/* 8002CB60 00029AC0 41 82 00 08 */ beq lbl_8002CB68 -/* 8002CB64 00029AC4 48 2E 8D CD */ bl Free__7CMemoryFPCv -lbl_8002CB68: -/* 8002CB68 00029AC8 80 9C 00 04 */ lwz r4, 4(r28) -/* 8002CB6C 00029ACC 7F E3 FB 78 */ mr r3, r31 -/* 8002CB70 00029AD0 4B FD BD ED */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 8002CB74 00029AD4 3C 60 41 4E */ lis r3, 0x414E494D@ha -/* 8002CB78 00029AD8 87 7C 00 08 */ lwzu r27, 8(r28) -/* 8002CB7C 00029ADC 57 DE 06 3E */ clrlwi r30, r30, 0x18 -/* 8002CB80 00029AE0 3B A3 49 4D */ addi r29, r3, 0x414E494D@l -/* 8002CB84 00029AE4 48 00 00 C0 */ b lbl_8002CC44 -lbl_8002CB88: -/* 8002CB88 00029AE8 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 8002CB8C 00029AEC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002CB90 00029AF0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8002CB94 00029AF4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8002CB98 00029AF8 93 A1 00 20 */ stw r29, 0x20(r1) -/* 8002CB9C 00029AFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002CBA0 00029B00 81 84 00 00 */ lwz r12, 0(r4) -/* 8002CBA4 00029B04 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8002CBA8 00029B08 7D 89 03 A6 */ mtctr r12 -/* 8002CBAC 00029B0C 4E 80 04 21 */ bctrl -/* 8002CBB0 00029B10 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002CBB4 00029B14 38 81 00 18 */ addi r4, r1, 0x18 -/* 8002CBB8 00029B18 48 31 42 F1 */ bl __ct__6CTokenFRC6CToken -/* 8002CBBC 00029B1C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002CBC0 00029B20 38 80 FF FF */ li r4, -1 -/* 8002CBC4 00029B24 48 31 42 7D */ bl __dt__6CTokenFv -/* 8002CBC8 00029B28 28 1E 00 00 */ cmplwi r30, 0 -/* 8002CBCC 00029B2C 41 82 00 0C */ beq lbl_8002CBD8 -/* 8002CBD0 00029B30 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002CBD4 00029B34 48 31 41 B1 */ bl Lock__6CTokenFv -lbl_8002CBD8: -/* 8002CBD8 00029B38 80 1F 00 04 */ lwz r0, 4(r31) -/* 8002CBDC 00029B3C 80 BF 00 08 */ lwz r5, 8(r31) -/* 8002CBE0 00029B40 7C 00 28 00 */ cmpw r0, r5 -/* 8002CBE4 00029B44 41 80 00 1C */ blt lbl_8002CC00 -/* 8002CBE8 00029B48 2C 05 00 00 */ cmpwi r5, 0 -/* 8002CBEC 00029B4C 7F E3 FB 78 */ mr r3, r31 -/* 8002CBF0 00029B50 38 80 00 04 */ li r4, 4 -/* 8002CBF4 00029B54 41 82 00 08 */ beq lbl_8002CBFC -/* 8002CBF8 00029B58 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8002CBFC: -/* 8002CBFC 00029B5C 4B FD BD 61 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_8002CC00: -/* 8002CC00 00029B60 80 1F 00 04 */ lwz r0, 4(r31) -/* 8002CC04 00029B64 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8002CC08 00029B68 54 00 18 38 */ slwi r0, r0, 3 -/* 8002CC0C 00029B6C 7C 63 02 15 */ add. r3, r3, r0 -/* 8002CC10 00029B70 41 82 00 0C */ beq lbl_8002CC1C -/* 8002CC14 00029B74 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002CC18 00029B78 48 31 42 91 */ bl __ct__6CTokenFRC6CToken -lbl_8002CC1C: -/* 8002CC1C 00029B7C 80 BF 00 04 */ lwz r5, 4(r31) -/* 8002CC20 00029B80 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002CC24 00029B84 38 80 FF FF */ li r4, -1 -/* 8002CC28 00029B88 38 05 00 01 */ addi r0, r5, 1 -/* 8002CC2C 00029B8C 90 1F 00 04 */ stw r0, 4(r31) -/* 8002CC30 00029B90 48 31 42 11 */ bl __dt__6CTokenFv -/* 8002CC34 00029B94 7F 83 E3 78 */ mr r3, r28 -/* 8002CC38 00029B98 7F 64 DB 78 */ mr r4, r27 -/* 8002CC3C 00029B9C 48 30 F9 A5 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8002CC40 00029BA0 7C 7B 1B 78 */ mr r27, r3 -lbl_8002CC44: -/* 8002CC44 00029BA4 28 1B 00 00 */ cmplwi r27, 0 -/* 8002CC48 00029BA8 38 00 00 00 */ li r0, 0 -/* 8002CC4C 00029BAC 40 82 00 0C */ bne lbl_8002CC58 -/* 8002CC50 00029BB0 7C 1C E0 40 */ cmplw r28, r28 -/* 8002CC54 00029BB4 41 82 00 08 */ beq lbl_8002CC5C -lbl_8002CC58: -/* 8002CC58 00029BB8 38 00 00 01 */ li r0, 1 -lbl_8002CC5C: -/* 8002CC5C 00029BBC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8002CC60 00029BC0 40 82 FF 28 */ bne lbl_8002CB88 -/* 8002CC64 00029BC4 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 8002CC68 00029BC8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8002CC6C 00029BCC 7C 08 03 A6 */ mtlr r0 -/* 8002CC70 00029BD0 38 21 00 60 */ addi r1, r1, 0x60 -/* 8002CC74 00029BD4 4E 80 00 20 */ blr - -.global "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" -"GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>": -/* 8002CC78 00029BD8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002CC7C 00029BDC 7C 08 02 A6 */ mflr r0 -/* 8002CC80 00029BE0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002CC84 00029BE4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002CC88 00029BE8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8002CC8C 00029BEC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8002CC90 00029BF0 7C BD 2B 78 */ mr r29, r5 -/* 8002CC94 00029BF4 93 81 00 20 */ stw r28, 0x20(r1) -/* 8002CC98 00029BF8 7C 7C 1B 78 */ mr r28, r3 -/* 8002CC9C 00029BFC 80 04 00 00 */ lwz r0, 0(r4) -/* 8002CCA0 00029C00 80 63 00 C8 */ lwz r3, 0xc8(r3) -/* 8002CCA4 00029C04 54 00 10 3A */ slwi r0, r0, 2 -/* 8002CCA8 00029C08 83 E4 00 04 */ lwz r31, 4(r4) -/* 8002CCAC 00029C0C 7F C3 00 2E */ lwzx r30, r3, r0 -/* 8002CCB0 00029C10 7F 84 E3 78 */ mr r4, r28 -/* 8002CCB4 00029C14 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002CCB8 00029C18 4B FF FA B9 */ bl GetAnimationManager__9CAnimDataCFv -/* 8002CCBC 00029C1C 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8002CCC0 00029C20 7F C5 F3 78 */ mr r5, r30 -/* 8002CCC4 00029C24 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002CCC8 00029C28 80 84 00 00 */ lwz r4, 0(r4) -/* 8002CCCC 00029C2C 48 2A A1 45 */ bl GetMetaAnimation__17CAnimationManagerCFUi -/* 8002CCD0 00029C30 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8002CCD4 00029C34 7F A4 EB 78 */ mr r4, r29 -/* 8002CCD8 00029C38 80 63 00 00 */ lwz r3, 0(r3) -/* 8002CCDC 00029C3C 81 83 00 00 */ lwz r12, 0(r3) -/* 8002CCE0 00029C40 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8002CCE4 00029C44 7D 89 03 A6 */ mtctr r12 -/* 8002CCE8 00029C48 4E 80 04 21 */ bctrl -/* 8002CCEC 00029C4C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002CCF0 00029C50 48 00 42 41 */ bl sub_80030f30 -/* 8002CCF4 00029C54 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002CCF8 00029C58 48 00 46 B5 */ bl sub_800313ac -/* 8002CCFC 00029C5C 2C 1F FF FF */ cmpwi r31, -1 -/* 8002CD00 00029C60 41 82 00 5C */ beq lbl_8002CD5C -/* 8002CD04 00029C64 80 BC 00 C8 */ lwz r5, 0xc8(r28) -/* 8002CD08 00029C68 57 E0 10 3A */ slwi r0, r31, 2 -/* 8002CD0C 00029C6C 7F 84 E3 78 */ mr r4, r28 -/* 8002CD10 00029C70 38 61 00 0C */ addi r3, r1, 0xc -/* 8002CD14 00029C74 7F C5 00 2E */ lwzx r30, r5, r0 -/* 8002CD18 00029C78 4B FF FA 59 */ bl GetAnimationManager__9CAnimDataCFv -/* 8002CD1C 00029C7C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8002CD20 00029C80 7F C5 F3 78 */ mr r5, r30 -/* 8002CD24 00029C84 38 61 00 08 */ addi r3, r1, 8 -/* 8002CD28 00029C88 80 84 00 00 */ lwz r4, 0(r4) -/* 8002CD2C 00029C8C 48 2A A0 E5 */ bl GetMetaAnimation__17CAnimationManagerCFUi -/* 8002CD30 00029C90 80 61 00 08 */ lwz r3, 8(r1) -/* 8002CD34 00029C94 7F A4 EB 78 */ mr r4, r29 -/* 8002CD38 00029C98 80 63 00 00 */ lwz r3, 0(r3) -/* 8002CD3C 00029C9C 81 83 00 00 */ lwz r12, 0(r3) -/* 8002CD40 00029CA0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8002CD44 00029CA4 7D 89 03 A6 */ mtctr r12 -/* 8002CD48 00029CA8 4E 80 04 21 */ bctrl -/* 8002CD4C 00029CAC 38 61 00 08 */ addi r3, r1, 8 -/* 8002CD50 00029CB0 48 00 41 E1 */ bl sub_80030f30 -/* 8002CD54 00029CB4 38 61 00 0C */ addi r3, r1, 0xc -/* 8002CD58 00029CB8 48 00 46 55 */ bl sub_800313ac -lbl_8002CD5C: -/* 8002CD5C 00029CBC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002CD60 00029CC0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002CD64 00029CC4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002CD68 00029CC8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8002CD6C 00029CCC 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8002CD70 00029CD0 7C 08 03 A6 */ mtlr r0 -/* 8002CD74 00029CD4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002CD78 00029CD8 4E 80 00 20 */ blr - -.global SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb: -/* 8002CD7C 00029CDC 94 21 FD F0 */ stwu r1, -0x210(r1) -/* 8002CD80 00029CE0 7C 08 02 A6 */ mflr r0 -/* 8002CD84 00029CE4 90 01 02 14 */ stw r0, 0x214(r1) -/* 8002CD88 00029CE8 DB E1 02 00 */ stfd f31, 0x200(r1) -/* 8002CD8C 00029CEC F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 -/* 8002CD90 00029CF0 BF 41 01 E8 */ stmw r26, 0x1e8(r1) -/* 8002CD94 00029CF4 7C 7C 1B 78 */ mr r28, r3 -/* 8002CD98 00029CF8 7C 9D 23 78 */ mr r29, r4 -/* 8002CD9C 00029CFC 80 84 00 00 */ lwz r4, 0(r4) -/* 8002CDA0 00029D00 7C BE 2B 78 */ mr r30, r5 -/* 8002CDA4 00029D04 80 03 04 0C */ lwz r0, 0x40c(r3) -/* 8002CDA8 00029D08 7C 04 00 00 */ cmpw r4, r0 -/* 8002CDAC 00029D0C 41 82 00 38 */ beq lbl_8002CDE4 -/* 8002CDB0 00029D10 80 7D 00 04 */ lwz r3, 4(r29) -/* 8002CDB4 00029D14 80 1C 04 10 */ lwz r0, 0x410(r28) -/* 8002CDB8 00029D18 7C 03 00 00 */ cmpw r3, r0 -/* 8002CDBC 00029D1C 40 82 00 0C */ bne lbl_8002CDC8 -/* 8002CDC0 00029D20 2C 03 FF FF */ cmpwi r3, -1 -/* 8002CDC4 00029D24 40 82 00 20 */ bne lbl_8002CDE4 -lbl_8002CDC8: -/* 8002CDC8 00029D28 C0 3D 00 08 */ lfs f1, 8(r29) -/* 8002CDCC 00029D2C C0 1C 04 14 */ lfs f0, 0x414(r28) -/* 8002CDD0 00029D30 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8002CDD4 00029D34 40 82 00 1C */ bne lbl_8002CDF0 -/* 8002CDD8 00029D38 C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) -/* 8002CDDC 00029D3C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 8002CDE0 00029D40 41 82 00 10 */ beq lbl_8002CDF0 -lbl_8002CDE4: -/* 8002CDE4 00029D44 88 1C 02 20 */ lbz r0, 0x220(r28) -/* 8002CDE8 00029D48 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8002CDEC 00029D4C 40 82 03 50 */ bne lbl_8002D13C -lbl_8002CDF0: -/* 8002CDF0 00029D50 90 9C 04 0C */ stw r4, 0x40c(r28) -/* 8002CDF4 00029D54 7F 83 E3 78 */ mr r3, r28 -/* 8002CDF8 00029D58 C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) -/* 8002CDFC 00029D5C 80 1D 00 04 */ lwz r0, 4(r29) -/* 8002CE00 00029D60 90 1C 04 10 */ stw r0, 0x410(r28) -/* 8002CE04 00029D64 C0 3D 00 08 */ lfs f1, 8(r29) -/* 8002CE08 00029D68 D0 3C 04 14 */ stfs f1, 0x414(r28) -/* 8002CE0C 00029D6C 80 9D 00 00 */ lwz r4, 0(r29) -/* 8002CE10 00029D70 8B FD 00 0C */ lbz r31, 0xc(r29) -/* 8002CE14 00029D74 54 80 10 3A */ slwi r0, r4, 2 -/* 8002CE18 00029D78 D0 1C 02 00 */ stfs f0, 0x200(r28) -/* 8002CE1C 00029D7C B0 9C 02 08 */ sth r4, 0x208(r28) -/* 8002CE20 00029D80 80 9C 00 C8 */ lwz r4, 0xc8(r28) -/* 8002CE24 00029D84 83 5D 00 04 */ lwz r26, 4(r29) -/* 8002CE28 00029D88 C3 FD 00 08 */ lfs f31, 8(r29) -/* 8002CE2C 00029D8C 7F 64 00 2E */ lwzx r27, r4, r0 -/* 8002CE30 00029D90 48 00 19 F1 */ bl ResetPOILists__9CAnimDataFv -/* 8002CE34 00029D94 38 8D A9 28 */ addi r4, r13, lbl_805A94E8@sda21 -/* 8002CE38 00029D98 2C 1A FF FF */ cmpwi r26, -1 -/* 8002CE3C 00029D9C 90 81 00 30 */ stw r4, 0x30(r1) -/* 8002CE40 00029DA0 80 64 00 04 */ lwz r3, 4(r4) -/* 8002CE44 00029DA4 38 03 00 01 */ addi r0, r3, 1 -/* 8002CE48 00029DA8 90 04 00 04 */ stw r0, 4(r4) -/* 8002CE4C 00029DAC 41 82 01 B4 */ beq lbl_8002D000 -/* 8002CE50 00029DB0 80 BC 00 C8 */ lwz r5, 0xc8(r28) -/* 8002CE54 00029DB4 57 40 10 3A */ slwi r0, r26, 2 -/* 8002CE58 00029DB8 7F 84 E3 78 */ mr r4, r28 -/* 8002CE5C 00029DBC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8002CE60 00029DC0 7F 45 00 2E */ lwzx r26, r5, r0 -/* 8002CE64 00029DC4 4B FF D6 89 */ bl GetAnimationManager__9CAnimDataFv -/* 8002CE68 00029DC8 38 61 01 54 */ addi r3, r1, 0x154 -/* 8002CE6C 00029DCC 48 2B A9 AD */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv -/* 8002CE70 00029DD0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8002CE74 00029DD4 7F 65 DB 78 */ mr r5, r27 -/* 8002CE78 00029DD8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002CE7C 00029DDC 38 C1 01 54 */ addi r6, r1, 0x154 -/* 8002CE80 00029DE0 80 84 00 00 */ lwz r4, 0(r4) -/* 8002CE84 00029DE4 48 2A A0 0D */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders -/* 8002CE88 00029DE8 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8002CE8C 00029DEC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002CE90 00029DF0 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8002CE94 00029DF4 80 85 00 04 */ lwz r4, 4(r5) -/* 8002CE98 00029DF8 38 04 00 01 */ addi r0, r4, 1 -/* 8002CE9C 00029DFC 90 05 00 04 */ stw r0, 4(r5) -/* 8002CEA0 00029E00 48 00 41 01 */ bl sub_80030fa0 -/* 8002CEA4 00029E04 38 00 00 00 */ li r0, 0 -/* 8002CEA8 00029E08 38 61 00 24 */ addi r3, r1, 0x24 -/* 8002CEAC 00029E0C 98 01 01 D8 */ stb r0, 0x1d8(r1) -/* 8002CEB0 00029E10 98 01 01 94 */ stb r0, 0x194(r1) -/* 8002CEB4 00029E14 48 00 44 F9 */ bl sub_800313ac -/* 8002CEB8 00029E18 7F 84 E3 78 */ mr r4, r28 -/* 8002CEBC 00029E1C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8002CEC0 00029E20 4B FF D6 2D */ bl GetAnimationManager__9CAnimDataFv -/* 8002CEC4 00029E24 38 61 00 CC */ addi r3, r1, 0xcc -/* 8002CEC8 00029E28 48 2B A9 51 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv -/* 8002CECC 00029E2C 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8002CED0 00029E30 7F 45 D3 78 */ mr r5, r26 -/* 8002CED4 00029E34 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002CED8 00029E38 38 C1 00 CC */ addi r6, r1, 0xcc -/* 8002CEDC 00029E3C 80 84 00 00 */ lwz r4, 0(r4) -/* 8002CEE0 00029E40 48 2A 9F B1 */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders -/* 8002CEE4 00029E44 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8002CEE8 00029E48 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002CEEC 00029E4C 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8002CEF0 00029E50 80 85 00 04 */ lwz r4, 4(r5) -/* 8002CEF4 00029E54 38 04 00 01 */ addi r0, r4, 1 -/* 8002CEF8 00029E58 90 05 00 04 */ stw r0, 4(r5) -/* 8002CEFC 00029E5C 48 00 40 A5 */ bl sub_80030fa0 -/* 8002CF00 00029E60 38 00 00 00 */ li r0, 0 -/* 8002CF04 00029E64 38 61 00 1C */ addi r3, r1, 0x1c -/* 8002CF08 00029E68 98 01 01 50 */ stb r0, 0x150(r1) -/* 8002CF0C 00029E6C 98 01 01 0C */ stb r0, 0x10c(r1) -/* 8002CF10 00029E70 48 00 44 9D */ bl sub_800313ac -/* 8002CF14 00029E74 3C 60 80 3D */ lis r3, lbl_803CCD20@ha -/* 8002CF18 00029E78 3B 60 00 00 */ li r27, 0 -/* 8002CF1C 00029E7C 38 83 CD 20 */ addi r4, r3, lbl_803CCD20@l -/* 8002CF20 00029E80 38 A0 00 00 */ li r5, 0 -/* 8002CF24 00029E84 38 60 00 28 */ li r3, 0x28 -/* 8002CF28 00029E88 48 2E 89 45 */ bl __nw__FUlPCcPCc -/* 8002CF2C 00029E8C 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8002CF30 00029E90 41 82 00 50 */ beq lbl_8002CF80 -/* 8002CF34 00029E94 FC 20 F8 90 */ fmr f1, f31 -/* 8002CF38 00029E98 38 61 00 34 */ addi r3, r1, 0x34 -/* 8002CF3C 00029E9C 38 81 00 2C */ addi r4, r1, 0x2c -/* 8002CF40 00029EA0 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8002CF44 00029EA4 48 2C 52 65 */ bl "CreatePrimitiveName__14CAnimTreeBlendFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f" -/* 8002CF48 00029EA8 80 82 C6 B8 */ lwz r4, lbl_805AE3D8@sda21(r2) -/* 8002CF4C 00029EAC 7F 43 D3 78 */ mr r3, r26 -/* 8002CF50 00029EB0 80 02 C6 BC */ lwz r0, lbl_805AE3DC@sda21(r2) -/* 8002CF54 00029EB4 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8002CF58 00029EB8 38 C1 00 28 */ addi r6, r1, 0x28 -/* 8002CF5C 00029EBC 39 01 00 34 */ addi r8, r1, 0x34 -/* 8002CF60 00029EC0 7C 87 03 78 */ or r7, r4, r0 -/* 8002CF64 00029EC4 3B 60 00 01 */ li r27, 1 -/* 8002CF68 00029EC8 38 80 00 00 */ li r4, 0 -/* 8002CF6C 00029ECC 48 2C AA BD */ bl "__ct__18CAnimTreeTweenBaseFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002CF70 00029ED0 3C 60 80 3F */ lis r3, lbl_803ED0D8@ha -/* 8002CF74 00029ED4 38 03 D0 D8 */ addi r0, r3, lbl_803ED0D8@l -/* 8002CF78 00029ED8 90 1A 00 00 */ stw r0, 0(r26) -/* 8002CF7C 00029EDC D3 FA 00 24 */ stfs f31, 0x24(r26) -lbl_8002CF80: -/* 8002CF80 00029EE0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002CF84 00029EE4 38 60 00 08 */ li r3, 8 -/* 8002CF88 00029EE8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002CF8C 00029EEC 38 A0 00 00 */ li r5, 0 -/* 8002CF90 00029EF0 48 2E 88 DD */ bl __nw__FUlPCcPCc -/* 8002CF94 00029EF4 28 03 00 00 */ cmplwi r3, 0 -/* 8002CF98 00029EF8 41 82 00 10 */ beq lbl_8002CFA8 -/* 8002CF9C 00029EFC 93 43 00 00 */ stw r26, 0(r3) -/* 8002CFA0 00029F00 38 00 00 01 */ li r0, 1 -/* 8002CFA4 00029F04 90 03 00 04 */ stw r0, 4(r3) -lbl_8002CFA8: -/* 8002CFA8 00029F08 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8002CFAC 00029F0C 90 61 00 14 */ stw r3, 0x14(r1) -/* 8002CFB0 00029F10 7C 00 18 40 */ cmplw r0, r3 -/* 8002CFB4 00029F14 41 82 00 20 */ beq lbl_8002CFD4 -/* 8002CFB8 00029F18 38 61 00 30 */ addi r3, r1, 0x30 -/* 8002CFBC 00029F1C 48 00 3F E5 */ bl sub_80030fa0 -/* 8002CFC0 00029F20 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8002CFC4 00029F24 90 81 00 30 */ stw r4, 0x30(r1) -/* 8002CFC8 00029F28 80 64 00 04 */ lwz r3, 4(r4) -/* 8002CFCC 00029F2C 38 03 00 01 */ addi r0, r3, 1 -/* 8002CFD0 00029F30 90 04 00 04 */ stw r0, 4(r4) -lbl_8002CFD4: -/* 8002CFD4 00029F34 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002CFD8 00029F38 48 00 3F C9 */ bl sub_80030fa0 -/* 8002CFDC 00029F3C 7F 60 07 75 */ extsb. r0, r27 -/* 8002CFE0 00029F40 41 82 00 0C */ beq lbl_8002CFEC -/* 8002CFE4 00029F44 38 61 00 34 */ addi r3, r1, 0x34 -/* 8002CFE8 00029F48 48 31 0A F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002CFEC: -/* 8002CFEC 00029F4C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002CFF0 00029F50 48 00 3F B1 */ bl sub_80030fa0 -/* 8002CFF4 00029F54 38 61 00 2C */ addi r3, r1, 0x2c -/* 8002CFF8 00029F58 48 00 3F A9 */ bl sub_80030fa0 -/* 8002CFFC 00029F5C 48 00 00 78 */ b lbl_8002D074 -lbl_8002D000: -/* 8002D000 00029F60 7F 84 E3 78 */ mr r4, r28 -/* 8002D004 00029F64 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002D008 00029F68 4B FF D4 E5 */ bl GetAnimationManager__9CAnimDataFv -/* 8002D00C 00029F6C 38 61 00 44 */ addi r3, r1, 0x44 -/* 8002D010 00029F70 48 2B A8 09 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv -/* 8002D014 00029F74 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8002D018 00029F78 7F 65 DB 78 */ mr r5, r27 -/* 8002D01C 00029F7C 38 61 00 0C */ addi r3, r1, 0xc -/* 8002D020 00029F80 38 C1 00 44 */ addi r6, r1, 0x44 -/* 8002D024 00029F84 80 84 00 00 */ lwz r4, 0(r4) -/* 8002D028 00029F88 48 2A 9E 69 */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders -/* 8002D02C 00029F8C 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8002D030 00029F90 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8002D034 00029F94 7C 03 00 40 */ cmplw r3, r0 -/* 8002D038 00029F98 41 82 00 20 */ beq lbl_8002D058 -/* 8002D03C 00029F9C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8002D040 00029FA0 48 00 3F 61 */ bl sub_80030fa0 -/* 8002D044 00029FA4 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8002D048 00029FA8 90 81 00 30 */ stw r4, 0x30(r1) -/* 8002D04C 00029FAC 80 64 00 04 */ lwz r3, 4(r4) -/* 8002D050 00029FB0 38 03 00 01 */ addi r0, r3, 1 -/* 8002D054 00029FB4 90 04 00 04 */ stw r0, 4(r4) -lbl_8002D058: -/* 8002D058 00029FB8 38 61 00 0C */ addi r3, r1, 0xc -/* 8002D05C 00029FBC 48 00 3F 45 */ bl sub_80030fa0 -/* 8002D060 00029FC0 38 00 00 00 */ li r0, 0 -/* 8002D064 00029FC4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002D068 00029FC8 98 01 00 C8 */ stb r0, 0xc8(r1) -/* 8002D06C 00029FCC 98 01 00 84 */ stb r0, 0x84(r1) -/* 8002D070 00029FD0 48 00 43 3D */ bl sub_800313ac -lbl_8002D074: -/* 8002D074 00029FD4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8002D078 00029FD8 40 82 00 58 */ bne lbl_8002D0D0 -/* 8002D07C 00029FDC 80 9C 01 FC */ lwz r4, 0x1fc(r28) -/* 8002D080 00029FE0 38 61 00 08 */ addi r3, r1, 8 -/* 8002D084 00029FE4 38 BC 01 F8 */ addi r5, r28, 0x1f8 -/* 8002D088 00029FE8 38 C1 00 30 */ addi r6, r1, 0x30 -/* 8002D08C 00029FEC 80 84 00 00 */ lwz r4, 0(r4) -/* 8002D090 00029FF0 48 2B 9E 1D */ bl "GetTransitionTree__18CTransitionManagerCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>" -/* 8002D094 00029FF4 80 7C 01 F8 */ lwz r3, 0x1f8(r28) -/* 8002D098 00029FF8 80 01 00 08 */ lwz r0, 8(r1) -/* 8002D09C 00029FFC 7C 03 00 40 */ cmplw r3, r0 -/* 8002D0A0 0002A000 41 82 00 24 */ beq lbl_8002D0C4 -/* 8002D0A4 0002A004 38 7C 01 F8 */ addi r3, r28, 0x1f8 -/* 8002D0A8 0002A008 48 00 3E F9 */ bl sub_80030fa0 -/* 8002D0AC 0002A00C 80 01 00 08 */ lwz r0, 8(r1) -/* 8002D0B0 0002A010 90 1C 01 F8 */ stw r0, 0x1f8(r28) -/* 8002D0B4 0002A014 80 9C 01 F8 */ lwz r4, 0x1f8(r28) -/* 8002D0B8 0002A018 80 64 00 04 */ lwz r3, 4(r4) -/* 8002D0BC 0002A01C 38 03 00 01 */ addi r0, r3, 1 -/* 8002D0C0 0002A020 90 04 00 04 */ stw r0, 4(r4) -lbl_8002D0C4: -/* 8002D0C4 0002A024 38 61 00 08 */ addi r3, r1, 8 -/* 8002D0C8 0002A028 48 00 3E D9 */ bl sub_80030fa0 -/* 8002D0CC 0002A02C 48 00 00 34 */ b lbl_8002D100 -lbl_8002D0D0: -/* 8002D0D0 0002A030 80 7C 01 F8 */ lwz r3, 0x1f8(r28) -/* 8002D0D4 0002A034 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8002D0D8 0002A038 7C 03 00 40 */ cmplw r3, r0 -/* 8002D0DC 0002A03C 41 82 00 24 */ beq lbl_8002D100 -/* 8002D0E0 0002A040 38 7C 01 F8 */ addi r3, r28, 0x1f8 -/* 8002D0E4 0002A044 48 00 3E BD */ bl sub_80030fa0 -/* 8002D0E8 0002A048 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8002D0EC 0002A04C 90 1C 01 F8 */ stw r0, 0x1f8(r28) -/* 8002D0F0 0002A050 80 9C 01 F8 */ lwz r4, 0x1f8(r28) -/* 8002D0F4 0002A054 80 64 00 04 */ lwz r3, 4(r4) -/* 8002D0F8 0002A058 38 03 00 01 */ addi r0, r3, 1 -/* 8002D0FC 0002A05C 90 04 00 04 */ stw r0, 4(r4) -lbl_8002D100: -/* 8002D100 0002A060 88 1C 02 20 */ lbz r0, 0x220(r28) -/* 8002D104 0002A064 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 -/* 8002D108 0002A068 7F 83 E3 78 */ mr r3, r28 -/* 8002D10C 0002A06C 7F A4 EB 78 */ mr r4, r29 -/* 8002D110 0002A070 98 1C 02 20 */ stb r0, 0x220(r28) -/* 8002D114 0002A074 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8002D118 0002A078 4B FF E4 61 */ bl "CalcPlaybackAlignmentParms__9CAnimDataFRC18CAnimPlaybackParmsRCQ24rstl25ncrc_ptr<13CAnimTreeNode>" -/* 8002D11C 0002A07C 7F 83 E3 78 */ mr r3, r28 -/* 8002D120 0002A080 48 00 17 01 */ bl ResetPOILists__9CAnimDataFv -/* 8002D124 0002A084 88 1C 02 20 */ lbz r0, 0x220(r28) -/* 8002D128 0002A088 38 60 00 01 */ li r3, 1 -/* 8002D12C 0002A08C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8002D130 0002A090 38 61 00 30 */ addi r3, r1, 0x30 -/* 8002D134 0002A094 98 1C 02 20 */ stb r0, 0x220(r28) -/* 8002D138 0002A098 48 00 3E 69 */ bl sub_80030fa0 -lbl_8002D13C: -/* 8002D13C 0002A09C E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 -/* 8002D140 0002A0A0 CB E1 02 00 */ lfd f31, 0x200(r1) -/* 8002D144 0002A0A4 BB 41 01 E8 */ lmw r26, 0x1e8(r1) -/* 8002D148 0002A0A8 80 01 02 14 */ lwz r0, 0x214(r1) -/* 8002D14C 0002A0AC 7C 08 03 A6 */ mtlr r0 -/* 8002D150 0002A0B0 38 21 02 10 */ addi r1, r1, 0x210 -/* 8002D154 0002A0B4 4E 80 00 20 */ blr - -.global DoAdvance__9CAnimDataFfRbR9CRandom16b -DoAdvance__9CAnimDataFfRbR9CRandom16b: -/* 8002D158 0002A0B8 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8002D15C 0002A0BC 7C 08 02 A6 */ mflr r0 -/* 8002D160 0002A0C0 90 01 01 34 */ stw r0, 0x134(r1) -/* 8002D164 0002A0C4 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 8002D168 0002A0C8 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 8002D16C 0002A0CC DB C1 01 10 */ stfd f30, 0x110(r1) -/* 8002D170 0002A0D0 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 8002D174 0002A0D4 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 8002D178 0002A0D8 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 8002D17C 0002A0DC DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 8002D180 0002A0E0 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 8002D184 0002A0E4 DB 61 00 E0 */ stfd f27, 0xe0(r1) -/* 8002D188 0002A0E8 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 -/* 8002D18C 0002A0EC DB 41 00 D0 */ stfd f26, 0xd0(r1) -/* 8002D190 0002A0F0 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 -/* 8002D194 0002A0F4 BF 21 00 B4 */ stmw r25, 0xb4(r1) -/* 8002D198 0002A0F8 7C BD 2B 78 */ mr r29, r5 -/* 8002D19C 0002A0FC 38 00 00 00 */ li r0, 0 -/* 8002D1A0 0002A100 98 1D 00 00 */ stb r0, 0(r29) -/* 8002D1A4 0002A104 3C A0 80 5A */ lis r5, lbl_805A6660@ha -/* 8002D1A8 0002A108 C3 E2 83 D0 */ lfs f31, lbl_805AA0F0@sda21(r2) -/* 8002D1AC 0002A10C 7C 9A 23 78 */ mr r26, r4 -/* 8002D1B0 0002A110 C4 45 66 60 */ lfsu f2, lbl_805A6660@l(r5) -/* 8002D1B4 0002A114 7C 79 1B 78 */ mr r25, r3 -/* 8002D1B8 0002A118 D3 E1 00 60 */ stfs f31, 0x60(r1) -/* 8002D1BC 0002A11C FF C0 F8 90 */ fmr f30, f31 -/* 8002D1C0 0002A120 C0 65 00 04 */ lfs f3, 4(r5) -/* 8002D1C4 0002A124 FF A0 F8 90 */ fmr f29, f31 -/* 8002D1C8 0002A128 C0 85 00 08 */ lfs f4, 8(r5) -/* 8002D1CC 0002A12C 7C DC 33 78 */ mr r28, r6 -/* 8002D1D0 0002A130 C0 A5 00 0C */ lfs f5, 0xc(r5) -/* 8002D1D4 0002A134 D3 E1 00 64 */ stfs f31, 0x64(r1) -/* 8002D1D8 0002A138 7C FB 3B 78 */ mr r27, r7 -/* 8002D1DC 0002A13C 7F 43 D3 78 */ mr r3, r26 -/* 8002D1E0 0002A140 D3 E1 00 68 */ stfs f31, 0x68(r1) -/* 8002D1E4 0002A144 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8002D1E8 0002A148 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 8002D1EC 0002A14C D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8002D1F0 0002A150 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 8002D1F4 0002A154 C0 04 02 00 */ lfs f0, 0x200(r4) -/* 8002D1F8 0002A158 EF 41 00 32 */ fmuls f26, f1, f0 -/* 8002D1FC 0002A15C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8002D200 0002A160 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 8002D204 0002A164 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 8002D208 0002A168 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 8002D20C 0002A16C 48 00 16 15 */ bl ResetPOILists__9CAnimDataFv -/* 8002D210 0002A170 80 1A 04 34 */ lwz r0, 0x434(r26) -/* 8002D214 0002A174 2C 00 00 00 */ cmpwi r0, 0 -/* 8002D218 0002A178 40 81 00 84 */ ble lbl_8002D29C -/* 8002D21C 0002A17C FC 20 D0 90 */ fmr f1, f26 -/* 8002D220 0002A180 7F 44 D3 78 */ mr r4, r26 -/* 8002D224 0002A184 38 61 00 6C */ addi r3, r1, 0x6c -/* 8002D228 0002A188 4B FF C8 E1 */ bl UpdateAdditiveAnims__9CAnimDataFf -/* 8002D22C 0002A18C C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 8002D230 0002A190 38 60 00 00 */ li r3, 0 -/* 8002D234 0002A194 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 8002D238 0002A198 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8002D23C 0002A19C C0 01 00 84 */ lfs f0, 0x84(r1) -/* 8002D240 0002A1A0 C0 41 00 78 */ lfs f2, 0x78(r1) -/* 8002D244 0002A1A4 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8002D248 0002A1A8 80 A1 00 98 */ lwz r5, 0x98(r1) -/* 8002D24C 0002A1AC D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8002D250 0002A1B0 80 81 00 9C */ lwz r4, 0x9c(r1) -/* 8002D254 0002A1B4 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 8002D258 0002A1B8 C3 E1 00 6C */ lfs f31, 0x6c(r1) -/* 8002D25C 0002A1BC C3 C1 00 70 */ lfs f30, 0x70(r1) -/* 8002D260 0002A1C0 C3 A1 00 74 */ lfs f29, 0x74(r1) -/* 8002D264 0002A1C4 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8002D268 0002A1C8 90 A1 00 44 */ stw r5, 0x44(r1) -/* 8002D26C 0002A1CC 90 81 00 48 */ stw r4, 0x48(r1) -/* 8002D270 0002A1D0 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8002D274 0002A1D4 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002D278 0002A1D8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8002D27C 0002A1DC D3 E1 00 88 */ stfs f31, 0x88(r1) -/* 8002D280 0002A1E0 98 1A 02 20 */ stb r0, 0x220(r26) -/* 8002D284 0002A1E4 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002D288 0002A1E8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8002D28C 0002A1EC D3 C1 00 8C */ stfs f30, 0x8c(r1) -/* 8002D290 0002A1F0 D3 A1 00 90 */ stfs f29, 0x90(r1) -/* 8002D294 0002A1F4 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8002D298 0002A1F8 98 1A 02 20 */ stb r0, 0x220(r26) -lbl_8002D29C: -/* 8002D29C 0002A1FC 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002D2A0 0002A200 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 8002D2A4 0002A204 28 00 00 01 */ cmplwi r0, 1 -/* 8002D2A8 0002A208 41 82 00 48 */ beq lbl_8002D2F0 -/* 8002D2AC 0002A20C 38 00 00 01 */ li r0, 1 -/* 8002D2B0 0002A210 98 1D 00 00 */ stb r0, 0(r29) -/* 8002D2B4 0002A214 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8002D2B8 0002A218 D0 19 00 00 */ stfs f0, 0(r25) -/* 8002D2BC 0002A21C C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8002D2C0 0002A220 D0 19 00 04 */ stfs f0, 4(r25) -/* 8002D2C4 0002A224 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 8002D2C8 0002A228 D0 19 00 08 */ stfs f0, 8(r25) -/* 8002D2CC 0002A22C C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8002D2D0 0002A230 D0 19 00 0C */ stfs f0, 0xc(r25) -/* 8002D2D4 0002A234 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8002D2D8 0002A238 D0 19 00 10 */ stfs f0, 0x10(r25) -/* 8002D2DC 0002A23C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8002D2E0 0002A240 D0 19 00 14 */ stfs f0, 0x14(r25) -/* 8002D2E4 0002A244 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8002D2E8 0002A248 D0 19 00 18 */ stfs f0, 0x18(r25) -/* 8002D2EC 0002A24C 48 00 03 FC */ b lbl_8002D6E8 -lbl_8002D2F0: -/* 8002D2F0 0002A250 88 7A 02 20 */ lbz r3, 0x220(r26) -/* 8002D2F4 0002A254 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 8002D2F8 0002A258 41 82 00 18 */ beq lbl_8002D310 -/* 8002D2FC 0002A25C 38 00 00 00 */ li r0, 0 -/* 8002D300 0002A260 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d -/* 8002D304 0002A264 98 7A 02 20 */ stb r3, 0x220(r26) -/* 8002D308 0002A268 38 00 00 01 */ li r0, 1 -/* 8002D30C 0002A26C 98 1D 00 00 */ stb r0, 0(r29) -lbl_8002D310: -/* 8002D310 0002A270 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8002D314 0002A274 41 82 03 80 */ beq lbl_8002D694 -/* 8002D318 0002A278 7F 43 D3 78 */ mr r3, r26 -/* 8002D31C 0002A27C 7F 84 E3 78 */ mr r4, r28 -/* 8002D320 0002A280 4B FF E1 51 */ bl SetRandomPlaybackRate__9CAnimDataFR9CRandom16 -/* 8002D324 0002A284 FC 20 D0 90 */ fmr f1, f26 -/* 8002D328 0002A288 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002D32C 0002A28C 48 31 BA C1 */ bl __ct__13CCharAnimTimeFf -/* 8002D330 0002A290 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002D334 0002A294 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8002D338 0002A298 41 82 01 2C */ beq lbl_8002D464 -/* 8002D33C 0002A29C 3C C0 80 57 */ lis r6, lbl_8056BDF4@ha -/* 8002D340 0002A2A0 3C A0 80 57 */ lis r5, lbl_8056A600@ha -/* 8002D344 0002A2A4 3C 80 80 57 */ lis r4, lbl_8056C2B8@ha -/* 8002D348 0002A2A8 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha -/* 8002D34C 0002A2AC 38 C6 BD F4 */ addi r6, r6, lbl_8056BDF4@l -/* 8002D350 0002A2B0 38 A5 A6 00 */ addi r5, r5, lbl_8056A600@l -/* 8002D354 0002A2B4 38 84 C2 B8 */ addi r4, r4, lbl_8056C2B8@l -/* 8002D358 0002A2B8 38 63 C9 EC */ addi r3, r3, lbl_8056C9EC@l -/* 8002D35C 0002A2BC C3 82 83 D0 */ lfs f28, lbl_805AA0F0@sda21(r2) -/* 8002D360 0002A2C0 3B E6 00 04 */ addi r31, r6, 4 -/* 8002D364 0002A2C4 C3 62 83 D4 */ lfs f27, lbl_805AA0F4@sda21(r2) -/* 8002D368 0002A2C8 3B C5 00 04 */ addi r30, r5, 4 -/* 8002D36C 0002A2CC 3B A4 00 04 */ addi r29, r4, 4 -/* 8002D370 0002A2D0 3B 83 00 04 */ addi r28, r3, 4 -/* 8002D374 0002A2D4 48 00 00 C8 */ b lbl_8002D43C -lbl_8002D378: -/* 8002D378 0002A2D8 80 7A 01 F8 */ lwz r3, 0x1f8(r26) -/* 8002D37C 0002A2DC 7F E5 FB 78 */ mr r5, r31 -/* 8002D380 0002A2E0 80 FA 02 10 */ lwz r7, 0x210(r26) -/* 8002D384 0002A2E4 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D388 0002A2E8 80 63 00 00 */ lwz r3, 0(r3) -/* 8002D38C 0002A2EC 38 C0 00 10 */ li r6, 0x10 -/* 8002D390 0002A2F0 39 00 00 00 */ li r8, 0 -/* 8002D394 0002A2F4 48 2D 09 E9 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii -/* 8002D398 0002A2F8 80 1A 02 10 */ lwz r0, 0x210(r26) -/* 8002D39C 0002A2FC 7F C5 F3 78 */ mr r5, r30 -/* 8002D3A0 0002A300 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D3A4 0002A304 38 C0 00 08 */ li r6, 8 -/* 8002D3A8 0002A308 7C 00 1A 14 */ add r0, r0, r3 -/* 8002D3AC 0002A30C 39 00 00 00 */ li r8, 0 -/* 8002D3B0 0002A310 90 1A 02 10 */ stw r0, 0x210(r26) -/* 8002D3B4 0002A314 80 7A 01 F8 */ lwz r3, 0x1f8(r26) -/* 8002D3B8 0002A318 80 FA 02 0C */ lwz r7, 0x20c(r26) -/* 8002D3BC 0002A31C 80 63 00 00 */ lwz r3, 0(r3) -/* 8002D3C0 0002A320 48 2D 0A 39 */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii -/* 8002D3C4 0002A324 80 1A 02 0C */ lwz r0, 0x20c(r26) -/* 8002D3C8 0002A328 7F A5 EB 78 */ mr r5, r29 -/* 8002D3CC 0002A32C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D3D0 0002A330 38 C0 00 14 */ li r6, 0x14 -/* 8002D3D4 0002A334 7C 00 1A 14 */ add r0, r0, r3 -/* 8002D3D8 0002A338 39 00 00 00 */ li r8, 0 -/* 8002D3DC 0002A33C 90 1A 02 0C */ stw r0, 0x20c(r26) -/* 8002D3E0 0002A340 80 7A 01 F8 */ lwz r3, 0x1f8(r26) -/* 8002D3E4 0002A344 80 FA 02 14 */ lwz r7, 0x214(r26) -/* 8002D3E8 0002A348 80 63 00 00 */ lwz r3, 0(r3) -/* 8002D3EC 0002A34C 48 2D 09 15 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii -/* 8002D3F0 0002A350 80 1A 02 14 */ lwz r0, 0x214(r26) -/* 8002D3F4 0002A354 7F 85 E3 78 */ mr r5, r28 -/* 8002D3F8 0002A358 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D3FC 0002A35C 38 C0 00 14 */ li r6, 0x14 -/* 8002D400 0002A360 7C 00 1A 14 */ add r0, r0, r3 -/* 8002D404 0002A364 39 00 00 00 */ li r8, 0 -/* 8002D408 0002A368 90 1A 02 14 */ stw r0, 0x214(r26) -/* 8002D40C 0002A36C 80 7A 01 F8 */ lwz r3, 0x1f8(r26) -/* 8002D410 0002A370 80 FA 02 18 */ lwz r7, 0x218(r26) -/* 8002D414 0002A374 80 63 00 00 */ lwz r3, 0(r3) -/* 8002D418 0002A378 48 2D 08 6D */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii -/* 8002D41C 0002A37C 80 1A 02 18 */ lwz r0, 0x218(r26) -/* 8002D420 0002A380 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D424 0002A384 38 A1 00 60 */ addi r5, r1, 0x60 -/* 8002D428 0002A388 38 C1 00 50 */ addi r6, r1, 0x50 -/* 8002D42C 0002A38C 7C 00 1A 14 */ add r0, r0, r3 -/* 8002D430 0002A390 7F 43 D3 78 */ mr r3, r26 -/* 8002D434 0002A394 90 1A 02 18 */ stw r0, 0x218(r26) -/* 8002D438 0002A398 48 00 04 B5 */ bl AdvanceAnim__9CAnimDataFR13CCharAnimTimeR9CVector3fR11CQuaternion -lbl_8002D43C: -/* 8002D43C 0002A39C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002D440 0002A3A0 48 31 AF AD */ bl GreaterThanZero__13CCharAnimTimeCFv -/* 8002D444 0002A3A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002D448 0002A3A8 41 82 02 30 */ beq lbl_8002D678 -/* 8002D44C 0002A3AC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8002D450 0002A3B0 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 8002D454 0002A3B4 FC 00 02 10 */ fabs f0, f0 -/* 8002D458 0002A3B8 FC 00 D8 40 */ fcmpo cr0, f0, f27 -/* 8002D45C 0002A3BC 40 80 FF 1C */ bge lbl_8002D378 -/* 8002D460 0002A3C0 48 00 02 18 */ b lbl_8002D678 -lbl_8002D464: -/* 8002D464 0002A3C4 80 9A 01 F8 */ lwz r4, 0x1f8(r26) -/* 8002D468 0002A3C8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002D46C 0002A3CC 80 84 00 00 */ lwz r4, 0(r4) -/* 8002D470 0002A3D0 81 84 00 00 */ lwz r12, 0(r4) -/* 8002D474 0002A3D4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8002D478 0002A3D8 7D 89 03 A6 */ mtctr r12 -/* 8002D47C 0002A3DC 4E 80 04 21 */ bctrl -/* 8002D480 0002A3E0 3C C0 80 57 */ lis r6, lbl_8056BDF4@ha -/* 8002D484 0002A3E4 3C A0 80 57 */ lis r5, lbl_8056A600@ha -/* 8002D488 0002A3E8 3C 80 80 57 */ lis r4, lbl_8056C2B8@ha -/* 8002D48C 0002A3EC 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha -/* 8002D490 0002A3F0 38 E6 BD F4 */ addi r7, r6, lbl_8056BDF4@l -/* 8002D494 0002A3F4 38 C5 A6 00 */ addi r6, r5, lbl_8056A600@l -/* 8002D498 0002A3F8 38 A4 C2 B8 */ addi r5, r4, lbl_8056C2B8@l -/* 8002D49C 0002A3FC 38 83 C9 EC */ addi r4, r3, lbl_8056C9EC@l -/* 8002D4A0 0002A400 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8002D4A4 0002A404 C3 41 00 20 */ lfs f26, 0x20(r1) -/* 8002D4A8 0002A408 C3 62 83 D0 */ lfs f27, lbl_805AA0F0@sda21(r2) -/* 8002D4AC 0002A40C 3B 87 00 04 */ addi r28, r7, 4 -/* 8002D4B0 0002A410 C3 82 83 D4 */ lfs f28, lbl_805AA0F4@sda21(r2) -/* 8002D4B4 0002A414 3B A6 00 04 */ addi r29, r6, 4 -/* 8002D4B8 0002A418 3B C5 00 04 */ addi r30, r5, 4 -/* 8002D4BC 0002A41C 3B 64 00 04 */ addi r27, r4, 4 -/* 8002D4C0 0002A420 3B E3 66 A0 */ addi r31, r3, skZero3f@l -/* 8002D4C4 0002A424 48 00 01 90 */ b lbl_8002D654 -lbl_8002D4C8: -/* 8002D4C8 0002A428 80 7A 01 F8 */ lwz r3, 0x1f8(r26) -/* 8002D4CC 0002A42C 7F 85 E3 78 */ mr r5, r28 -/* 8002D4D0 0002A430 80 FA 02 10 */ lwz r7, 0x210(r26) -/* 8002D4D4 0002A434 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D4D8 0002A438 80 63 00 00 */ lwz r3, 0(r3) -/* 8002D4DC 0002A43C 38 C0 00 10 */ li r6, 0x10 -/* 8002D4E0 0002A440 39 00 00 00 */ li r8, 0 -/* 8002D4E4 0002A444 48 2D 08 99 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii -/* 8002D4E8 0002A448 80 1A 02 10 */ lwz r0, 0x210(r26) -/* 8002D4EC 0002A44C 7F A5 EB 78 */ mr r5, r29 -/* 8002D4F0 0002A450 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D4F4 0002A454 38 C0 00 08 */ li r6, 8 -/* 8002D4F8 0002A458 7C 00 1A 14 */ add r0, r0, r3 -/* 8002D4FC 0002A45C 39 00 00 00 */ li r8, 0 -/* 8002D500 0002A460 90 1A 02 10 */ stw r0, 0x210(r26) -/* 8002D504 0002A464 80 7A 01 F8 */ lwz r3, 0x1f8(r26) -/* 8002D508 0002A468 80 FA 02 0C */ lwz r7, 0x20c(r26) -/* 8002D50C 0002A46C 80 63 00 00 */ lwz r3, 0(r3) -/* 8002D510 0002A470 48 2D 08 E9 */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii -/* 8002D514 0002A474 80 1A 02 0C */ lwz r0, 0x20c(r26) -/* 8002D518 0002A478 7F C5 F3 78 */ mr r5, r30 -/* 8002D51C 0002A47C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D520 0002A480 38 C0 00 14 */ li r6, 0x14 -/* 8002D524 0002A484 7C 00 1A 14 */ add r0, r0, r3 -/* 8002D528 0002A488 39 00 00 00 */ li r8, 0 -/* 8002D52C 0002A48C 90 1A 02 0C */ stw r0, 0x20c(r26) -/* 8002D530 0002A490 80 7A 01 F8 */ lwz r3, 0x1f8(r26) -/* 8002D534 0002A494 80 FA 02 14 */ lwz r7, 0x214(r26) -/* 8002D538 0002A498 80 63 00 00 */ lwz r3, 0(r3) -/* 8002D53C 0002A49C 48 2D 07 C5 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii -/* 8002D540 0002A4A0 80 1A 02 14 */ lwz r0, 0x214(r26) -/* 8002D544 0002A4A4 7F 65 DB 78 */ mr r5, r27 -/* 8002D548 0002A4A8 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D54C 0002A4AC 38 C0 00 14 */ li r6, 0x14 -/* 8002D550 0002A4B0 7C 00 1A 14 */ add r0, r0, r3 -/* 8002D554 0002A4B4 39 00 00 00 */ li r8, 0 -/* 8002D558 0002A4B8 90 1A 02 14 */ stw r0, 0x214(r26) -/* 8002D55C 0002A4BC 80 7A 01 F8 */ lwz r3, 0x1f8(r26) -/* 8002D560 0002A4C0 80 FA 02 18 */ lwz r7, 0x218(r26) -/* 8002D564 0002A4C4 80 63 00 00 */ lwz r3, 0(r3) -/* 8002D568 0002A4C8 48 2D 07 1D */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii -/* 8002D56C 0002A4CC 80 1A 02 18 */ lwz r0, 0x218(r26) -/* 8002D570 0002A4D0 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002D574 0002A4D4 38 A1 00 60 */ addi r5, r1, 0x60 -/* 8002D578 0002A4D8 38 C1 00 50 */ addi r6, r1, 0x50 -/* 8002D57C 0002A4DC 7C 00 1A 14 */ add r0, r0, r3 -/* 8002D580 0002A4E0 7F 43 D3 78 */ mr r3, r26 -/* 8002D584 0002A4E4 90 1A 02 18 */ stw r0, 0x218(r26) -/* 8002D588 0002A4E8 48 00 03 65 */ bl AdvanceAnim__9CAnimDataFR13CCharAnimTimeR9CVector3fR11CQuaternion -/* 8002D58C 0002A4EC 80 9A 01 F8 */ lwz r4, 0x1f8(r26) -/* 8002D590 0002A4F0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002D594 0002A4F4 80 84 00 00 */ lwz r4, 0(r4) -/* 8002D598 0002A4F8 81 84 00 00 */ lwz r12, 0(r4) -/* 8002D59C 0002A4FC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8002D5A0 0002A500 7D 89 03 A6 */ mtctr r12 -/* 8002D5A4 0002A504 4E 80 04 21 */ bctrl -/* 8002D5A8 0002A508 C3 41 00 18 */ lfs f26, 0x18(r1) -/* 8002D5AC 0002A50C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8002D5B0 0002A510 D3 41 00 08 */ stfs f26, 8(r1) -/* 8002D5B4 0002A514 FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 8002D5B8 0002A518 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8002D5BC 0002A51C 40 80 00 0C */ bge lbl_8002D5C8 -/* 8002D5C0 0002A520 38 61 00 08 */ addi r3, r1, 8 -/* 8002D5C4 0002A524 48 00 00 08 */ b lbl_8002D5CC -lbl_8002D5C8: -/* 8002D5C8 0002A528 38 61 00 0C */ addi r3, r1, 0xc -lbl_8002D5CC: -/* 8002D5CC 0002A52C C0 2D 81 F0 */ lfs f1, lbl_805A6DB0@sda21(r13) -/* 8002D5D0 0002A530 C0 03 00 00 */ lfs f0, 0(r3) -/* 8002D5D4 0002A534 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8002D5D8 0002A538 40 80 00 08 */ bge lbl_8002D5E0 -/* 8002D5DC 0002A53C 48 00 00 08 */ b lbl_8002D5E4 -lbl_8002D5E0: -/* 8002D5E0 0002A540 38 6D 81 F0 */ addi r3, r13, lbl_805A6DB0@sda21 -lbl_8002D5E4: -/* 8002D5E4 0002A544 C0 23 00 00 */ lfs f1, 0(r3) -/* 8002D5E8 0002A548 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002D5EC 0002A54C 48 31 B8 01 */ bl __ct__13CCharAnimTimeFf -/* 8002D5F0 0002A550 EC 1A D8 28 */ fsubs f0, f26, f27 -/* 8002D5F4 0002A554 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8002D5F8 0002A558 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002D5FC 0002A55C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8002D600 0002A560 FC 00 02 10 */ fabs f0, f0 -/* 8002D604 0002A564 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8002D608 0002A568 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 8002D60C 0002A56C 40 80 00 48 */ bge lbl_8002D654 -/* 8002D610 0002A570 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002D614 0002A574 38 80 00 00 */ li r4, 0 -/* 8002D618 0002A578 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8002D61C 0002A57C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8002D620 0002A580 98 1A 02 20 */ stb r0, 0x220(r26) -/* 8002D624 0002A584 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) -/* 8002D628 0002A588 D0 1A 01 DC */ stfs f0, 0x1dc(r26) -/* 8002D62C 0002A58C C0 1F 00 04 */ lfs f0, 4(r31) -/* 8002D630 0002A590 D0 1A 01 E0 */ stfs f0, 0x1e0(r26) -/* 8002D634 0002A594 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8002D638 0002A598 D0 1A 01 E4 */ stfs f0, 0x1e4(r26) -/* 8002D63C 0002A59C 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002D640 0002A5A0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8002D644 0002A5A4 98 1A 02 20 */ stb r0, 0x220(r26) -/* 8002D648 0002A5A8 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002D64C 0002A5AC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8002D650 0002A5B0 98 1A 02 20 */ stb r0, 0x220(r26) -lbl_8002D654: -/* 8002D654 0002A5B4 EC 1A D8 28 */ fsubs f0, f26, f27 -/* 8002D658 0002A5B8 FC 00 02 10 */ fabs f0, f0 -/* 8002D65C 0002A5BC FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 8002D660 0002A5C0 41 80 00 18 */ blt lbl_8002D678 -/* 8002D664 0002A5C4 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8002D668 0002A5C8 EC 00 D8 28 */ fsubs f0, f0, f27 -/* 8002D66C 0002A5CC FC 00 02 10 */ fabs f0, f0 -/* 8002D670 0002A5D0 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 8002D674 0002A5D4 40 80 FE 54 */ bge lbl_8002D4C8 -lbl_8002D678: -/* 8002D678 0002A5D8 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002D67C 0002A5DC 38 60 00 00 */ li r3, 0 -/* 8002D680 0002A5E0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8002D684 0002A5E4 98 1A 02 20 */ stb r0, 0x220(r26) -/* 8002D688 0002A5E8 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002D68C 0002A5EC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8002D690 0002A5F0 98 1A 02 20 */ stb r0, 0x220(r26) -lbl_8002D694: -/* 8002D694 0002A5F4 38 61 00 30 */ addi r3, r1, 0x30 -/* 8002D698 0002A5F8 38 81 00 50 */ addi r4, r1, 0x50 -/* 8002D69C 0002A5FC 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8002D6A0 0002A600 48 2E 3B 01 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8002D6A4 0002A604 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8002D6A8 0002A608 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 8002D6AC 0002A60C EC 00 F8 2A */ fadds f0, f0, f31 -/* 8002D6B0 0002A610 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 8002D6B4 0002A614 EC 42 F0 2A */ fadds f2, f2, f30 -/* 8002D6B8 0002A618 EC 21 E8 2A */ fadds f1, f1, f29 -/* 8002D6BC 0002A61C D0 19 00 00 */ stfs f0, 0(r25) -/* 8002D6C0 0002A620 D0 59 00 04 */ stfs f2, 4(r25) -/* 8002D6C4 0002A624 D0 39 00 08 */ stfs f1, 8(r25) -/* 8002D6C8 0002A628 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8002D6CC 0002A62C D0 19 00 0C */ stfs f0, 0xc(r25) -/* 8002D6D0 0002A630 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8002D6D4 0002A634 D0 19 00 10 */ stfs f0, 0x10(r25) -/* 8002D6D8 0002A638 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8002D6DC 0002A63C D0 19 00 14 */ stfs f0, 0x14(r25) -/* 8002D6E0 0002A640 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8002D6E4 0002A644 D0 19 00 18 */ stfs f0, 0x18(r25) -lbl_8002D6E8: -/* 8002D6E8 0002A648 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 8002D6EC 0002A64C CB E1 01 20 */ lfd f31, 0x120(r1) -/* 8002D6F0 0002A650 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 8002D6F4 0002A654 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 8002D6F8 0002A658 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 8002D6FC 0002A65C CB A1 01 00 */ lfd f29, 0x100(r1) -/* 8002D700 0002A660 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 8002D704 0002A664 CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 8002D708 0002A668 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 -/* 8002D70C 0002A66C CB 61 00 E0 */ lfd f27, 0xe0(r1) -/* 8002D710 0002A670 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 -/* 8002D714 0002A674 CB 41 00 D0 */ lfd f26, 0xd0(r1) -/* 8002D718 0002A678 BB 21 00 B4 */ lmw r25, 0xb4(r1) -/* 8002D71C 0002A67C 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8002D720 0002A680 7C 08 03 A6 */ mtlr r0 -/* 8002D724 0002A684 38 21 01 30 */ addi r1, r1, 0x130 -/* 8002D728 0002A688 4E 80 00 20 */ blr - -.global Advance__9CAnimDataFfRC9CVector3fR13CStateManagerb -Advance__9CAnimDataFfRC9CVector3fR13CStateManagerb: -/* 8002D72C 0002A68C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8002D730 0002A690 7C 08 02 A6 */ mflr r0 -/* 8002D734 0002A694 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8002D738 0002A698 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8002D73C 0002A69C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8002D740 0002A6A0 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8002D744 0002A6A4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8002D748 0002A6A8 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 8002D74C 0002A6AC F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 8002D750 0002A6B0 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 8002D754 0002A6B4 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 8002D758 0002A6B8 DB 61 00 80 */ stfd f27, 0x80(r1) -/* 8002D75C 0002A6BC F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 -/* 8002D760 0002A6C0 DB 41 00 70 */ stfd f26, 0x70(r1) -/* 8002D764 0002A6C4 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 -/* 8002D768 0002A6C8 DB 21 00 60 */ stfd f25, 0x60(r1) -/* 8002D76C 0002A6CC F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 -/* 8002D770 0002A6D0 BF 01 00 40 */ stmw r24, 0x40(r1) -/* 8002D774 0002A6D4 7C DB 33 78 */ mr r27, r6 -/* 8002D778 0002A6D8 7C 78 1B 78 */ mr r24, r3 -/* 8002D77C 0002A6DC 80 C6 09 00 */ lwz r6, 0x900(r6) -/* 8002D780 0002A6E0 7C BA 2B 78 */ mr r26, r5 -/* 8002D784 0002A6E4 7C FC 3B 78 */ mr r28, r7 -/* 8002D788 0002A6E8 7C 99 23 78 */ mr r25, r4 -/* 8002D78C 0002A6EC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002D790 0002A6F0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8002D794 0002A6F4 55 07 06 3E */ clrlwi r7, r8, 0x18 -/* 8002D798 0002A6F8 4B FF F9 C1 */ bl DoAdvance__9CAnimDataFfRbR9CRandom16b -/* 8002D79C 0002A6FC 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8002D7A0 0002A700 C3 E1 00 18 */ lfs f31, 0x18(r1) -/* 8002D7A4 0002A704 28 00 00 00 */ cmplwi r0, 0 -/* 8002D7A8 0002A708 C3 C1 00 1C */ lfs f30, 0x1c(r1) -/* 8002D7AC 0002A70C C3 A1 00 20 */ lfs f29, 0x20(r1) -/* 8002D7B0 0002A710 C3 81 00 24 */ lfs f28, 0x24(r1) -/* 8002D7B4 0002A714 C3 61 00 28 */ lfs f27, 0x28(r1) -/* 8002D7B8 0002A718 C3 41 00 2C */ lfs f26, 0x2c(r1) -/* 8002D7BC 0002A71C C3 21 00 30 */ lfs f25, 0x30(r1) -/* 8002D7C0 0002A720 41 82 00 10 */ beq lbl_8002D7D0 -/* 8002D7C4 0002A724 7F 64 DB 78 */ mr r4, r27 -/* 8002D7C8 0002A728 38 79 01 20 */ addi r3, r25, 0x120 -/* 8002D7CC 0002A72C 48 08 A4 6D */ bl SuspendAllActiveEffects__17CParticleDatabaseFR13CStateManager -lbl_8002D7D0: -/* 8002D7D0 0002A730 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha -/* 8002D7D4 0002A734 83 D9 02 14 */ lwz r30, 0x214(r25) -/* 8002D7D8 0002A738 38 63 C2 B8 */ addi r3, r3, lbl_8056C2B8@l -/* 8002D7DC 0002A73C 3B A0 00 00 */ li r29, 0 -/* 8002D7E0 0002A740 3B E3 00 04 */ addi r31, r3, 4 -/* 8002D7E4 0002A744 48 00 00 58 */ b lbl_8002D83C -lbl_8002D7E8: -/* 8002D7E8 0002A748 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8002D7EC 0002A74C 2C 03 FF FF */ cmpwi r3, -1 -/* 8002D7F0 0002A750 41 82 00 10 */ beq lbl_8002D800 -/* 8002D7F4 0002A754 80 19 02 04 */ lwz r0, 0x204(r25) -/* 8002D7F8 0002A758 7C 03 00 00 */ cmpw r3, r0 -/* 8002D7FC 0002A75C 40 82 00 38 */ bne lbl_8002D834 -lbl_8002D800: -/* 8002D800 0002A760 80 1C 00 00 */ lwz r0, 0(r28) -/* 8002D804 0002A764 7F 47 D3 78 */ mr r7, r26 -/* 8002D808 0002A768 7F 68 DB 78 */ mr r8, r27 -/* 8002D80C 0002A76C 38 79 01 20 */ addi r3, r25, 0x120 -/* 8002D810 0002A770 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002D814 0002A774 38 9F 00 08 */ addi r4, r31, 8 -/* 8002D818 0002A778 38 DF 00 38 */ addi r6, r31, 0x38 -/* 8002D81C 0002A77C 39 21 00 14 */ addi r9, r1, 0x14 -/* 8002D820 0002A780 80 19 02 1C */ lwz r0, 0x21c(r25) -/* 8002D824 0002A784 39 40 00 00 */ li r10, 0 -/* 8002D828 0002A788 90 01 00 08 */ stw r0, 8(r1) -/* 8002D82C 0002A78C 80 BF 00 34 */ lwz r5, 0x34(r31) -/* 8002D830 0002A790 48 08 BB 65 */ bl "AddParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC13CParticleDataRC9CVector3fR13CStateManager7TAreaIdb" -lbl_8002D834: -/* 8002D834 0002A794 3B FF 00 5C */ addi r31, r31, 0x5c -/* 8002D838 0002A798 3B BD 00 01 */ addi r29, r29, 1 -lbl_8002D83C: -/* 8002D83C 0002A79C 7C 1D F0 00 */ cmpw r29, r30 -/* 8002D840 0002A7A0 41 80 FF A8 */ blt lbl_8002D7E8 -/* 8002D844 0002A7A4 D3 F8 00 00 */ stfs f31, 0(r24) -/* 8002D848 0002A7A8 D3 D8 00 04 */ stfs f30, 4(r24) -/* 8002D84C 0002A7AC D3 B8 00 08 */ stfs f29, 8(r24) -/* 8002D850 0002A7B0 D3 98 00 0C */ stfs f28, 0xc(r24) -/* 8002D854 0002A7B4 D3 78 00 10 */ stfs f27, 0x10(r24) -/* 8002D858 0002A7B8 D3 58 00 14 */ stfs f26, 0x14(r24) -/* 8002D85C 0002A7BC D3 38 00 18 */ stfs f25, 0x18(r24) -/* 8002D860 0002A7C0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8002D864 0002A7C4 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8002D868 0002A7C8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8002D86C 0002A7CC CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8002D870 0002A7D0 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 8002D874 0002A7D4 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8002D878 0002A7D8 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 8002D87C 0002A7DC CB 81 00 90 */ lfd f28, 0x90(r1) -/* 8002D880 0002A7E0 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 -/* 8002D884 0002A7E4 CB 61 00 80 */ lfd f27, 0x80(r1) -/* 8002D888 0002A7E8 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 -/* 8002D88C 0002A7EC CB 41 00 70 */ lfd f26, 0x70(r1) -/* 8002D890 0002A7F0 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 -/* 8002D894 0002A7F4 CB 21 00 60 */ lfd f25, 0x60(r1) -/* 8002D898 0002A7F8 BB 01 00 40 */ lmw r24, 0x40(r1) -/* 8002D89C 0002A7FC 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8002D8A0 0002A800 7C 08 03 A6 */ mtlr r0 -/* 8002D8A4 0002A804 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8002D8A8 0002A808 4E 80 00 20 */ blr - -.global AdvanceIgnoreParticles__9CAnimDataFfR9CRandom16b -AdvanceIgnoreParticles__9CAnimDataFfR9CRandom16b: -/* 8002D8AC 0002A80C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002D8B0 0002A810 7C 08 02 A6 */ mflr r0 -/* 8002D8B4 0002A814 7C A7 2B 78 */ mr r7, r5 -/* 8002D8B8 0002A818 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002D8BC 0002A81C 7C C0 33 78 */ mr r0, r6 -/* 8002D8C0 0002A820 7C E6 3B 78 */ mr r6, r7 -/* 8002D8C4 0002A824 38 A1 00 08 */ addi r5, r1, 8 -/* 8002D8C8 0002A828 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002D8CC 0002A82C 7C 7F 1B 78 */ mr r31, r3 -/* 8002D8D0 0002A830 54 07 06 3E */ clrlwi r7, r0, 0x18 -/* 8002D8D4 0002A834 4B FF F8 85 */ bl DoAdvance__9CAnimDataFfRbR9CRandom16b -/* 8002D8D8 0002A838 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002D8DC 0002A83C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002D8E0 0002A840 7C 08 03 A6 */ mtlr r0 -/* 8002D8E4 0002A844 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002D8E8 0002A848 4E 80 00 20 */ blr - -.global AdvanceAnim__9CAnimDataFR13CCharAnimTimeR9CVector3fR11CQuaternion -AdvanceAnim__9CAnimDataFR13CCharAnimTimeR9CVector3fR11CQuaternion: -/* 8002D8EC 0002A84C 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 8002D8F0 0002A850 7C 08 02 A6 */ mflr r0 -/* 8002D8F4 0002A854 90 01 01 84 */ stw r0, 0x184(r1) -/* 8002D8F8 0002A858 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 8002D8FC 0002A85C F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 8002D900 0002A860 DB C1 01 60 */ stfd f30, 0x160(r1) -/* 8002D904 0002A864 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 8002D908 0002A868 DB A1 01 50 */ stfd f29, 0x150(r1) -/* 8002D90C 0002A86C F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 8002D910 0002A870 DB 81 01 40 */ stfd f28, 0x140(r1) -/* 8002D914 0002A874 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 8002D918 0002A878 DB 61 01 30 */ stfd f27, 0x130(r1) -/* 8002D91C 0002A87C F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 -/* 8002D920 0002A880 DB 41 01 20 */ stfd f26, 0x120(r1) -/* 8002D924 0002A884 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 -/* 8002D928 0002A888 DB 21 01 10 */ stfd f25, 0x110(r1) -/* 8002D92C 0002A88C F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 -/* 8002D930 0002A890 DB 01 01 00 */ stfd f24, 0x100(r1) -/* 8002D934 0002A894 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0 -/* 8002D938 0002A898 BF 41 00 E8 */ stmw r26, 0xe8(r1) -/* 8002D93C 0002A89C 3D 00 80 5A */ lis r8, skZero3f@ha -/* 8002D940 0002A8A0 3C E0 80 5A */ lis r7, lbl_805A6660@ha -/* 8002D944 0002A8A4 3B E7 66 60 */ addi r31, r7, lbl_805A6660@l -/* 8002D948 0002A8A8 7C 9B 23 78 */ mr r27, r4 -/* 8002D94C 0002A8AC 3B C8 66 A0 */ addi r30, r8, skZero3f@l -/* 8002D950 0002A8B0 C3 E4 00 00 */ lfs f31, 0(r4) -/* 8002D954 0002A8B4 7C 7A 1B 78 */ mr r26, r3 -/* 8002D958 0002A8B8 C3 DE 00 00 */ lfs f30, 0(r30) -/* 8002D95C 0002A8BC C3 BE 00 04 */ lfs f29, 4(r30) -/* 8002D960 0002A8C0 7C BC 2B 78 */ mr r28, r5 -/* 8002D964 0002A8C4 C3 9E 00 08 */ lfs f28, 8(r30) -/* 8002D968 0002A8C8 7C DD 33 78 */ mr r29, r6 -/* 8002D96C 0002A8CC C3 7F 00 00 */ lfs f27, 0(r31) -/* 8002D970 0002A8D0 38 61 00 0C */ addi r3, r1, 0xc -/* 8002D974 0002A8D4 C3 5F 00 04 */ lfs f26, 4(r31) -/* 8002D978 0002A8D8 C3 3F 00 08 */ lfs f25, 8(r31) -/* 8002D97C 0002A8DC C3 1F 00 0C */ lfs f24, 0xc(r31) -/* 8002D980 0002A8E0 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) -/* 8002D984 0002A8E4 48 31 B4 69 */ bl __ct__13CCharAnimTimeFf -/* 8002D988 0002A8E8 38 00 00 00 */ li r0, 0 -/* 8002D98C 0002A8EC C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8002D990 0002A8F0 98 01 00 74 */ stb r0, 0x74(r1) -/* 8002D994 0002A8F4 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8002D998 0002A8F8 80 1A 01 04 */ lwz r0, 0x104(r26) -/* 8002D99C 0002A8FC D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8002D9A0 0002A900 2C 00 00 00 */ cmpwi r0, 0 -/* 8002D9A4 0002A904 90 61 00 BC */ stw r3, 0xbc(r1) -/* 8002D9A8 0002A908 D3 C1 00 C0 */ stfs f30, 0xc0(r1) -/* 8002D9AC 0002A90C D3 A1 00 C4 */ stfs f29, 0xc4(r1) -/* 8002D9B0 0002A910 D3 81 00 C8 */ stfs f28, 0xc8(r1) -/* 8002D9B4 0002A914 D3 61 00 CC */ stfs f27, 0xcc(r1) -/* 8002D9B8 0002A918 D3 41 00 D0 */ stfs f26, 0xd0(r1) -/* 8002D9BC 0002A91C D3 21 00 D4 */ stfs f25, 0xd4(r1) -/* 8002D9C0 0002A920 D3 01 00 D8 */ stfs f24, 0xd8(r1) -/* 8002D9C4 0002A924 40 82 01 B0 */ bne lbl_8002DB74 -/* 8002D9C8 0002A928 80 9A 01 F8 */ lwz r4, 0x1f8(r26) -/* 8002D9CC 0002A92C 7F 65 DB 78 */ mr r5, r27 -/* 8002D9D0 0002A930 38 61 00 94 */ addi r3, r1, 0x94 -/* 8002D9D4 0002A934 80 84 00 00 */ lwz r4, 0(r4) -/* 8002D9D8 0002A938 81 84 00 00 */ lwz r12, 0(r4) -/* 8002D9DC 0002A93C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8002D9E0 0002A940 7D 89 03 A6 */ mtctr r12 -/* 8002D9E4 0002A944 4E 80 04 21 */ bctrl -/* 8002D9E8 0002A948 81 81 00 94 */ lwz r12, 0x94(r1) -/* 8002D9EC 0002A94C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8002D9F0 0002A950 81 61 00 98 */ lwz r11, 0x98(r1) -/* 8002D9F4 0002A954 81 41 00 9C */ lwz r10, 0x9c(r1) -/* 8002D9F8 0002A958 81 21 00 A0 */ lwz r9, 0xa0(r1) -/* 8002D9FC 0002A95C 81 01 00 A4 */ lwz r8, 0xa4(r1) -/* 8002DA00 0002A960 80 E1 00 A8 */ lwz r7, 0xa8(r1) -/* 8002DA04 0002A964 80 C1 00 AC */ lwz r6, 0xac(r1) -/* 8002DA08 0002A968 80 A1 00 B0 */ lwz r5, 0xb0(r1) -/* 8002DA0C 0002A96C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8002DA10 0002A970 80 9A 01 F8 */ lwz r4, 0x1f8(r26) -/* 8002DA14 0002A974 91 81 00 B8 */ stw r12, 0xb8(r1) -/* 8002DA18 0002A978 80 84 00 00 */ lwz r4, 0(r4) -/* 8002DA1C 0002A97C 91 61 00 BC */ stw r11, 0xbc(r1) -/* 8002DA20 0002A980 91 41 00 C0 */ stw r10, 0xc0(r1) -/* 8002DA24 0002A984 91 21 00 C4 */ stw r9, 0xc4(r1) -/* 8002DA28 0002A988 91 01 00 C8 */ stw r8, 0xc8(r1) -/* 8002DA2C 0002A98C 90 E1 00 CC */ stw r7, 0xcc(r1) -/* 8002DA30 0002A990 90 C1 00 D0 */ stw r6, 0xd0(r1) -/* 8002DA34 0002A994 90 A1 00 D4 */ stw r5, 0xd4(r1) -/* 8002DA38 0002A998 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 8002DA3C 0002A99C 4B FF C5 29 */ bl Simplified__11IAnimReaderFv -/* 8002DA40 0002A9A0 38 81 00 6C */ addi r4, r1, 0x6c -/* 8002DA44 0002A9A4 38 61 00 50 */ addi r3, r1, 0x50 -/* 8002DA48 0002A9A8 7C 04 18 40 */ cmplw r4, r3 -/* 8002DA4C 0002A9AC 41 82 00 E0 */ beq lbl_8002DB2C -/* 8002DA50 0002A9B0 88 01 00 58 */ lbz r0, 0x58(r1) -/* 8002DA54 0002A9B4 28 00 00 00 */ cmplwi r0, 0 -/* 8002DA58 0002A9B8 41 82 00 8C */ beq lbl_8002DAE4 -/* 8002DA5C 0002A9BC 88 01 00 74 */ lbz r0, 0x74(r1) -/* 8002DA60 0002A9C0 28 00 00 00 */ cmplwi r0, 0 -/* 8002DA64 0002A9C4 40 82 00 30 */ bne lbl_8002DA94 -/* 8002DA68 0002A9C8 34 81 00 6C */ addic. r4, r1, 0x6c -/* 8002DA6C 0002A9CC 41 82 00 1C */ beq lbl_8002DA88 -/* 8002DA70 0002A9D0 88 61 00 50 */ lbz r3, 0x50(r1) -/* 8002DA74 0002A9D4 38 00 00 00 */ li r0, 0 -/* 8002DA78 0002A9D8 98 64 00 00 */ stb r3, 0(r4) -/* 8002DA7C 0002A9DC 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8002DA80 0002A9E0 90 64 00 04 */ stw r3, 4(r4) -/* 8002DA84 0002A9E4 98 01 00 50 */ stb r0, 0x50(r1) -lbl_8002DA88: -/* 8002DA88 0002A9E8 38 00 00 01 */ li r0, 1 -/* 8002DA8C 0002A9EC 98 01 00 74 */ stb r0, 0x74(r1) -/* 8002DA90 0002A9F0 48 00 00 9C */ b lbl_8002DB2C -lbl_8002DA94: -/* 8002DA94 0002A9F4 7C 03 20 40 */ cmplw r3, r4 -/* 8002DA98 0002A9F8 41 82 00 94 */ beq lbl_8002DB2C -/* 8002DA9C 0002A9FC 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8002DAA0 0002AA00 28 00 00 00 */ cmplwi r0, 0 -/* 8002DAA4 0002AA04 41 82 00 24 */ beq lbl_8002DAC8 -/* 8002DAA8 0002AA08 80 61 00 70 */ lwz r3, 0x70(r1) -/* 8002DAAC 0002AA0C 28 03 00 00 */ cmplwi r3, 0 -/* 8002DAB0 0002AA10 41 82 00 18 */ beq lbl_8002DAC8 -/* 8002DAB4 0002AA14 81 83 00 00 */ lwz r12, 0(r3) -/* 8002DAB8 0002AA18 38 80 00 01 */ li r4, 1 -/* 8002DABC 0002AA1C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002DAC0 0002AA20 7D 89 03 A6 */ mtctr r12 -/* 8002DAC4 0002AA24 4E 80 04 21 */ bctrl -lbl_8002DAC8: -/* 8002DAC8 0002AA28 88 81 00 50 */ lbz r4, 0x50(r1) -/* 8002DACC 0002AA2C 38 00 00 00 */ li r0, 0 -/* 8002DAD0 0002AA30 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8002DAD4 0002AA34 98 81 00 6C */ stb r4, 0x6c(r1) -/* 8002DAD8 0002AA38 90 61 00 70 */ stw r3, 0x70(r1) -/* 8002DADC 0002AA3C 98 01 00 50 */ stb r0, 0x50(r1) -/* 8002DAE0 0002AA40 48 00 00 4C */ b lbl_8002DB2C -lbl_8002DAE4: -/* 8002DAE4 0002AA44 88 01 00 74 */ lbz r0, 0x74(r1) -/* 8002DAE8 0002AA48 28 00 00 00 */ cmplwi r0, 0 -/* 8002DAEC 0002AA4C 41 82 00 38 */ beq lbl_8002DB24 -/* 8002DAF0 0002AA50 34 61 00 6C */ addic. r3, r1, 0x6c -/* 8002DAF4 0002AA54 41 82 00 30 */ beq lbl_8002DB24 -/* 8002DAF8 0002AA58 88 03 00 00 */ lbz r0, 0(r3) -/* 8002DAFC 0002AA5C 28 00 00 00 */ cmplwi r0, 0 -/* 8002DB00 0002AA60 41 82 00 24 */ beq lbl_8002DB24 -/* 8002DB04 0002AA64 80 63 00 04 */ lwz r3, 4(r3) -/* 8002DB08 0002AA68 28 03 00 00 */ cmplwi r3, 0 -/* 8002DB0C 0002AA6C 41 82 00 18 */ beq lbl_8002DB24 -/* 8002DB10 0002AA70 81 83 00 00 */ lwz r12, 0(r3) -/* 8002DB14 0002AA74 38 80 00 01 */ li r4, 1 -/* 8002DB18 0002AA78 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002DB1C 0002AA7C 7D 89 03 A6 */ mtctr r12 -/* 8002DB20 0002AA80 4E 80 04 21 */ bctrl -lbl_8002DB24: -/* 8002DB24 0002AA84 38 00 00 00 */ li r0, 0 -/* 8002DB28 0002AA88 98 01 00 74 */ stb r0, 0x74(r1) -lbl_8002DB2C: -/* 8002DB2C 0002AA8C 88 01 00 58 */ lbz r0, 0x58(r1) -/* 8002DB30 0002AA90 28 00 00 00 */ cmplwi r0, 0 -/* 8002DB34 0002AA94 41 82 00 38 */ beq lbl_8002DB6C -/* 8002DB38 0002AA98 34 61 00 50 */ addic. r3, r1, 0x50 -/* 8002DB3C 0002AA9C 41 82 00 30 */ beq lbl_8002DB6C -/* 8002DB40 0002AAA0 88 03 00 00 */ lbz r0, 0(r3) -/* 8002DB44 0002AAA4 28 00 00 00 */ cmplwi r0, 0 -/* 8002DB48 0002AAA8 41 82 00 24 */ beq lbl_8002DB6C -/* 8002DB4C 0002AAAC 80 63 00 04 */ lwz r3, 4(r3) -/* 8002DB50 0002AAB0 28 03 00 00 */ cmplwi r3, 0 -/* 8002DB54 0002AAB4 41 82 00 18 */ beq lbl_8002DB6C -/* 8002DB58 0002AAB8 81 83 00 00 */ lwz r12, 0(r3) -/* 8002DB5C 0002AABC 38 80 00 01 */ li r4, 1 -/* 8002DB60 0002AAC0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002DB64 0002AAC4 7D 89 03 A6 */ mtctr r12 -/* 8002DB68 0002AAC8 4E 80 04 21 */ bctrl -lbl_8002DB6C: -/* 8002DB6C 0002AACC 38 00 00 00 */ li r0, 0 -/* 8002DB70 0002AAD0 98 01 00 58 */ stb r0, 0x58(r1) -lbl_8002DB74: -/* 8002DB74 0002AAD4 88 01 00 74 */ lbz r0, 0x74(r1) -/* 8002DB78 0002AAD8 28 00 00 00 */ cmplwi r0, 0 -/* 8002DB7C 0002AADC 41 82 00 48 */ beq lbl_8002DBC4 -/* 8002DB80 0002AAE0 38 61 00 08 */ addi r3, r1, 8 -/* 8002DB84 0002AAE4 38 81 00 6C */ addi r4, r1, 0x6c -/* 8002DB88 0002AAE8 48 2C 60 71 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" -/* 8002DB8C 0002AAEC 80 7A 01 F8 */ lwz r3, 0x1f8(r26) -/* 8002DB90 0002AAF0 80 01 00 08 */ lwz r0, 8(r1) -/* 8002DB94 0002AAF4 7C 03 00 40 */ cmplw r3, r0 -/* 8002DB98 0002AAF8 41 82 00 24 */ beq lbl_8002DBBC -/* 8002DB9C 0002AAFC 38 7A 01 F8 */ addi r3, r26, 0x1f8 -/* 8002DBA0 0002AB00 48 00 34 01 */ bl sub_80030fa0 -/* 8002DBA4 0002AB04 80 01 00 08 */ lwz r0, 8(r1) -/* 8002DBA8 0002AB08 90 1A 01 F8 */ stw r0, 0x1f8(r26) -/* 8002DBAC 0002AB0C 80 9A 01 F8 */ lwz r4, 0x1f8(r26) -/* 8002DBB0 0002AB10 80 64 00 04 */ lwz r3, 4(r4) -/* 8002DBB4 0002AB14 38 03 00 01 */ addi r0, r3, 1 -/* 8002DBB8 0002AB18 90 04 00 04 */ stw r0, 4(r4) -lbl_8002DBBC: -/* 8002DBBC 0002AB1C 38 61 00 08 */ addi r3, r1, 8 -/* 8002DBC0 0002AB20 48 00 33 E1 */ bl sub_80030fa0 -lbl_8002DBC4: -/* 8002DBC4 0002AB24 88 7A 02 20 */ lbz r3, 0x220(r26) -/* 8002DBC8 0002AB28 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 8002DBCC 0002AB2C 40 82 00 0C */ bne lbl_8002DBD8 -/* 8002DBD0 0002AB30 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8002DBD4 0002AB34 41 82 00 E4 */ beq lbl_8002DCB8 -lbl_8002DBD8: -/* 8002DBD8 0002AB38 80 1A 02 10 */ lwz r0, 0x210(r26) -/* 8002DBDC 0002AB3C 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8002DBE0 0002AB40 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l -/* 8002DBE4 0002AB44 2C 00 00 00 */ cmpwi r0, 0 -/* 8002DBE8 0002AB48 38 A3 00 04 */ addi r5, r3, 4 -/* 8002DBEC 0002AB4C 40 81 00 CC */ ble lbl_8002DCB8 -/* 8002DBF0 0002AB50 7C 09 03 A6 */ mtctr r0 -/* 8002DBF4 0002AB54 40 81 00 C4 */ ble lbl_8002DCB8 -lbl_8002DBF8: -/* 8002DBF8 0002AB58 A0 05 00 18 */ lhz r0, 0x18(r5) -/* 8002DBFC 0002AB5C 2C 00 00 06 */ cmpwi r0, 6 -/* 8002DC00 0002AB60 40 82 00 B0 */ bne lbl_8002DCB0 -/* 8002DC04 0002AB64 80 05 00 38 */ lwz r0, 0x38(r5) -/* 8002DC08 0002AB68 2C 00 00 04 */ cmpwi r0, 4 -/* 8002DC0C 0002AB6C 41 82 00 70 */ beq lbl_8002DC7C -/* 8002DC10 0002AB70 40 80 00 10 */ bge lbl_8002DC20 -/* 8002DC14 0002AB74 2C 00 00 03 */ cmpwi r0, 3 -/* 8002DC18 0002AB78 40 80 00 28 */ bge lbl_8002DC40 -/* 8002DC1C 0002AB7C 48 00 00 94 */ b lbl_8002DCB0 -lbl_8002DC20: -/* 8002DC20 0002AB80 2C 00 00 0A */ cmpwi r0, 0xa -/* 8002DC24 0002AB84 41 82 00 08 */ beq lbl_8002DC2C -/* 8002DC28 0002AB88 48 00 00 88 */ b lbl_8002DCB0 -lbl_8002DC2C: -/* 8002DC2C 0002AB8C 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002DC30 0002AB90 38 60 00 01 */ li r3, 1 -/* 8002DC34 0002AB94 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8002DC38 0002AB98 98 1A 02 20 */ stb r0, 0x220(r26) -/* 8002DC3C 0002AB9C 48 00 00 74 */ b lbl_8002DCB0 -lbl_8002DC40: -/* 8002DC40 0002ABA0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8002DC44 0002ABA4 38 60 00 00 */ li r3, 0 -/* 8002DC48 0002ABA8 C0 04 66 A0 */ lfs f0, skZero3f@l(r4) -/* 8002DC4C 0002ABAC D0 1A 01 DC */ stfs f0, 0x1dc(r26) -/* 8002DC50 0002ABB0 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8002DC54 0002ABB4 D0 1A 01 E0 */ stfs f0, 0x1e0(r26) -/* 8002DC58 0002ABB8 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8002DC5C 0002ABBC D0 1A 01 E4 */ stfs f0, 0x1e4(r26) -/* 8002DC60 0002ABC0 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002DC64 0002ABC4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8002DC68 0002ABC8 98 1A 02 20 */ stb r0, 0x220(r26) -/* 8002DC6C 0002ABCC 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002DC70 0002ABD0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8002DC74 0002ABD4 98 1A 02 20 */ stb r0, 0x220(r26) -/* 8002DC78 0002ABD8 48 00 00 38 */ b lbl_8002DCB0 -lbl_8002DC7C: -/* 8002DC7C 0002ABDC 3C 80 80 5A */ lis r4, lbl_805A6660@ha -/* 8002DC80 0002ABE0 38 60 00 00 */ li r3, 0 -/* 8002DC84 0002ABE4 C0 04 66 60 */ lfs f0, lbl_805A6660@l(r4) -/* 8002DC88 0002ABE8 D0 1A 01 E8 */ stfs f0, 0x1e8(r26) -/* 8002DC8C 0002ABEC 80 9F 00 04 */ lwz r4, 4(r31) -/* 8002DC90 0002ABF0 80 1F 00 08 */ lwz r0, 8(r31) -/* 8002DC94 0002ABF4 90 9A 01 EC */ stw r4, 0x1ec(r26) -/* 8002DC98 0002ABF8 90 1A 01 F0 */ stw r0, 0x1f0(r26) -/* 8002DC9C 0002ABFC 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8002DCA0 0002AC00 90 1A 01 F4 */ stw r0, 0x1f4(r26) -/* 8002DCA4 0002AC04 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002DCA8 0002AC08 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8002DCAC 0002AC0C 98 1A 02 20 */ stb r0, 0x220(r26) -lbl_8002DCB0: -/* 8002DCB0 0002AC10 38 A5 00 4C */ addi r5, r5, 0x4c -/* 8002DCB4 0002AC14 42 00 FF 44 */ bdnz lbl_8002DBF8 -lbl_8002DCB8: -/* 8002DCB8 0002AC18 C0 C1 00 C0 */ lfs f6, 0xc0(r1) -/* 8002DCBC 0002AC1C 38 81 00 84 */ addi r4, r1, 0x84 -/* 8002DCC0 0002AC20 C0 A1 00 C4 */ lfs f5, 0xc4(r1) -/* 8002DCC4 0002AC24 C0 81 00 C8 */ lfs f4, 0xc8(r1) -/* 8002DCC8 0002AC28 C0 61 00 CC */ lfs f3, 0xcc(r1) -/* 8002DCCC 0002AC2C C0 41 00 D0 */ lfs f2, 0xd0(r1) -/* 8002DCD0 0002AC30 C0 21 00 D4 */ lfs f1, 0xd4(r1) -/* 8002DCD4 0002AC34 C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 8002DCD8 0002AC38 D0 C1 00 78 */ stfs f6, 0x78(r1) -/* 8002DCDC 0002AC3C D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 8002DCE0 0002AC40 D0 81 00 80 */ stfs f4, 0x80(r1) -/* 8002DCE4 0002AC44 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 8002DCE8 0002AC48 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 8002DCEC 0002AC4C D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 8002DCF0 0002AC50 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 8002DCF4 0002AC54 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8002DCF8 0002AC58 EC 00 30 2A */ fadds f0, f0, f6 -/* 8002DCFC 0002AC5C D0 1C 00 00 */ stfs f0, 0(r28) -/* 8002DD00 0002AC60 C0 3C 00 04 */ lfs f1, 4(r28) -/* 8002DD04 0002AC64 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8002DD08 0002AC68 EC 01 00 2A */ fadds f0, f1, f0 -/* 8002DD0C 0002AC6C D0 1C 00 04 */ stfs f0, 4(r28) -/* 8002DD10 0002AC70 C0 3C 00 08 */ lfs f1, 8(r28) -/* 8002DD14 0002AC74 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 8002DD18 0002AC78 EC 01 00 2A */ fadds f0, f1, f0 -/* 8002DD1C 0002AC7C D0 1C 00 08 */ stfs f0, 8(r28) -/* 8002DD20 0002AC80 88 1A 02 20 */ lbz r0, 0x220(r26) -/* 8002DD24 0002AC84 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8002DD28 0002AC88 41 82 00 40 */ beq lbl_8002DD68 -/* 8002DD2C 0002AC8C C0 1A 01 DC */ lfs f0, 0x1dc(r26) -/* 8002DD30 0002AC90 C0 7A 01 E0 */ lfs f3, 0x1e0(r26) -/* 8002DD34 0002AC94 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8002DD38 0002AC98 C0 3C 00 00 */ lfs f1, 0(r28) -/* 8002DD3C 0002AC9C C0 5A 01 E4 */ lfs f2, 0x1e4(r26) -/* 8002DD40 0002ACA0 EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 8002DD44 0002ACA4 EC 01 00 2A */ fadds f0, f1, f0 -/* 8002DD48 0002ACA8 EC 3F 00 B2 */ fmuls f1, f31, f2 -/* 8002DD4C 0002ACAC D0 1C 00 00 */ stfs f0, 0(r28) -/* 8002DD50 0002ACB0 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8002DD54 0002ACB4 EC 00 18 2A */ fadds f0, f0, f3 -/* 8002DD58 0002ACB8 D0 1C 00 04 */ stfs f0, 4(r28) -/* 8002DD5C 0002ACBC C0 1C 00 08 */ lfs f0, 8(r28) -/* 8002DD60 0002ACC0 EC 00 08 2A */ fadds f0, f0, f1 -/* 8002DD64 0002ACC4 D0 1C 00 08 */ stfs f0, 8(r28) -lbl_8002DD68: -/* 8002DD68 0002ACC8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8002DD6C 0002ACCC 38 BA 01 E8 */ addi r5, r26, 0x1e8 -/* 8002DD70 0002ACD0 48 2E 34 31 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8002DD74 0002ACD4 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 8002DD78 0002ACD8 7F A4 EB 78 */ mr r4, r29 -/* 8002DD7C 0002ACDC C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8002DD80 0002ACE0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002DD84 0002ACE4 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8002DD88 0002ACE8 38 A1 00 5C */ addi r5, r1, 0x5c -/* 8002DD8C 0002ACEC C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8002DD90 0002ACF0 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 8002DD94 0002ACF4 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 8002DD98 0002ACF8 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 8002DD9C 0002ACFC D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8002DDA0 0002AD00 48 2E 34 01 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8002DDA4 0002AD04 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8002DDA8 0002AD08 38 61 00 34 */ addi r3, r1, 0x34 -/* 8002DDAC 0002AD0C 38 81 00 24 */ addi r4, r1, 0x24 -/* 8002DDB0 0002AD10 38 BA 01 DC */ addi r5, r26, 0x1dc -/* 8002DDB4 0002AD14 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8002DDB8 0002AD18 80 C1 00 18 */ lwz r6, 0x18(r1) -/* 8002DDBC 0002AD1C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8002DDC0 0002AD20 90 DD 00 04 */ stw r6, 4(r29) -/* 8002DDC4 0002AD24 90 1D 00 08 */ stw r0, 8(r29) -/* 8002DDC8 0002AD28 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8002DDCC 0002AD2C 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8002DDD0 0002AD30 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 8002DDD4 0002AD34 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8002DDD8 0002AD38 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8002DDDC 0002AD3C FC 60 10 50 */ fneg f3, f2 -/* 8002DDE0 0002AD40 FC 40 00 50 */ fneg f2, f0 -/* 8002DDE4 0002AD44 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8002DDE8 0002AD48 FC 20 08 50 */ fneg f1, f1 -/* 8002DDEC 0002AD4C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8002DDF0 0002AD50 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8002DDF4 0002AD54 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8002DDF8 0002AD58 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8002DDFC 0002AD5C 48 2E 34 69 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 8002DE00 0002AD60 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 8002DE04 0002AD64 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 8002DE08 0002AD68 D0 3A 01 DC */ stfs f1, 0x1dc(r26) -/* 8002DE0C 0002AD6C 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 8002DE10 0002AD70 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8002DE14 0002AD74 D0 3A 01 E0 */ stfs f1, 0x1e0(r26) -/* 8002DE18 0002AD78 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 8002DE1C 0002AD7C D0 3A 01 E4 */ stfs f1, 0x1e4(r26) -/* 8002DE20 0002AD80 D0 1B 00 00 */ stfs f0, 0(r27) -/* 8002DE24 0002AD84 90 1B 00 04 */ stw r0, 4(r27) -/* 8002DE28 0002AD88 88 01 00 74 */ lbz r0, 0x74(r1) -/* 8002DE2C 0002AD8C 28 00 00 00 */ cmplwi r0, 0 -/* 8002DE30 0002AD90 41 82 00 38 */ beq lbl_8002DE68 -/* 8002DE34 0002AD94 34 61 00 6C */ addic. r3, r1, 0x6c -/* 8002DE38 0002AD98 41 82 00 30 */ beq lbl_8002DE68 -/* 8002DE3C 0002AD9C 88 03 00 00 */ lbz r0, 0(r3) -/* 8002DE40 0002ADA0 28 00 00 00 */ cmplwi r0, 0 -/* 8002DE44 0002ADA4 41 82 00 24 */ beq lbl_8002DE68 -/* 8002DE48 0002ADA8 80 63 00 04 */ lwz r3, 4(r3) -/* 8002DE4C 0002ADAC 28 03 00 00 */ cmplwi r3, 0 -/* 8002DE50 0002ADB0 41 82 00 18 */ beq lbl_8002DE68 -/* 8002DE54 0002ADB4 81 83 00 00 */ lwz r12, 0(r3) -/* 8002DE58 0002ADB8 38 80 00 01 */ li r4, 1 -/* 8002DE5C 0002ADBC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002DE60 0002ADC0 7D 89 03 A6 */ mtctr r12 -/* 8002DE64 0002ADC4 4E 80 04 21 */ bctrl -lbl_8002DE68: -/* 8002DE68 0002ADC8 38 00 00 00 */ li r0, 0 -/* 8002DE6C 0002ADCC 98 01 00 74 */ stb r0, 0x74(r1) -/* 8002DE70 0002ADD0 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 8002DE74 0002ADD4 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 8002DE78 0002ADD8 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 8002DE7C 0002ADDC CB C1 01 60 */ lfd f30, 0x160(r1) -/* 8002DE80 0002ADE0 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 8002DE84 0002ADE4 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 8002DE88 0002ADE8 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 8002DE8C 0002ADEC CB 81 01 40 */ lfd f28, 0x140(r1) -/* 8002DE90 0002ADF0 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 -/* 8002DE94 0002ADF4 CB 61 01 30 */ lfd f27, 0x130(r1) -/* 8002DE98 0002ADF8 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 -/* 8002DE9C 0002ADFC CB 41 01 20 */ lfd f26, 0x120(r1) -/* 8002DEA0 0002AE00 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 -/* 8002DEA4 0002AE04 CB 21 01 10 */ lfd f25, 0x110(r1) -/* 8002DEA8 0002AE08 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0 -/* 8002DEAC 0002AE0C CB 01 01 00 */ lfd f24, 0x100(r1) -/* 8002DEB0 0002AE10 BB 41 00 E8 */ lmw r26, 0xe8(r1) -/* 8002DEB4 0002AE14 80 01 01 84 */ lwz r0, 0x184(r1) -/* 8002DEB8 0002AE18 7C 08 03 A6 */ mtlr r0 -/* 8002DEBC 0002AE1C 38 21 01 80 */ addi r1, r1, 0x180 -/* 8002DEC0 0002AE20 4E 80 00 20 */ blr - -.global "SetXRayModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>" -"SetXRayModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>": -/* 8002DEC4 0002AE24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002DEC8 0002AE28 7C 08 02 A6 */ mflr r0 -/* 8002DECC 0002AE2C 3C C0 80 3D */ lis r6, lbl_803CCD20@ha -/* 8002DED0 0002AE30 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002DED4 0002AE34 38 06 CD 20 */ addi r0, r6, lbl_803CCD20@l -/* 8002DED8 0002AE38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002DEDC 0002AE3C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002DEE0 0002AE40 7C BE 2B 78 */ mr r30, r5 -/* 8002DEE4 0002AE44 38 A0 00 00 */ li r5, 0 -/* 8002DEE8 0002AE48 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002DEEC 0002AE4C 7C 9D 23 78 */ mr r29, r4 -/* 8002DEF0 0002AE50 7C 04 03 78 */ mr r4, r0 -/* 8002DEF4 0002AE54 93 81 00 10 */ stw r28, 0x10(r1) -/* 8002DEF8 0002AE58 7C 7C 1B 78 */ mr r28, r3 -/* 8002DEFC 0002AE5C 38 60 00 3C */ li r3, 0x3c -/* 8002DF00 0002AE60 48 2E 79 6D */ bl __nw__FUlPCcPCc -/* 8002DF04 0002AE64 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8002DF08 0002AE68 41 82 00 20 */ beq lbl_8002DF28 -/* 8002DF0C 0002AE6C 80 DC 00 E0 */ lwz r6, 0xe0(r28) -/* 8002DF10 0002AE70 7F A4 EB 78 */ mr r4, r29 -/* 8002DF14 0002AE74 7F C5 F3 78 */ mr r5, r30 -/* 8002DF18 0002AE78 38 E0 00 01 */ li r7, 1 -/* 8002DF1C 0002AE7C 38 C6 00 1C */ addi r6, r6, 0x1c -/* 8002DF20 0002AE80 48 32 55 19 */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" -/* 8002DF24 0002AE84 7C 7F 1B 78 */ mr r31, r3 -lbl_8002DF28: -/* 8002DF28 0002AE88 7F E3 FB 78 */ mr r3, r31 -/* 8002DF2C 0002AE8C 48 32 4C ED */ bl CalculateDefault__13CSkinnedModelFv -/* 8002DF30 0002AE90 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002DF34 0002AE94 38 60 00 08 */ li r3, 8 -/* 8002DF38 0002AE98 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002DF3C 0002AE9C 38 A0 00 00 */ li r5, 0 -/* 8002DF40 0002AEA0 48 2E 79 2D */ bl __nw__FUlPCcPCc -/* 8002DF44 0002AEA4 28 03 00 00 */ cmplwi r3, 0 -/* 8002DF48 0002AEA8 41 82 00 10 */ beq lbl_8002DF58 -/* 8002DF4C 0002AEAC 93 E3 00 00 */ stw r31, 0(r3) -/* 8002DF50 0002AEB0 38 00 00 01 */ li r0, 1 -/* 8002DF54 0002AEB4 90 03 00 04 */ stw r0, 4(r3) -lbl_8002DF58: -/* 8002DF58 0002AEB8 90 61 00 08 */ stw r3, 8(r1) -/* 8002DF5C 0002AEBC 80 1C 00 F4 */ lwz r0, 0xf4(r28) -/* 8002DF60 0002AEC0 7C 00 18 40 */ cmplw r0, r3 -/* 8002DF64 0002AEC4 41 82 00 24 */ beq lbl_8002DF88 -/* 8002DF68 0002AEC8 38 7C 00 F4 */ addi r3, r28, 0xf4 -/* 8002DF6C 0002AECC 48 00 2F 55 */ bl sub_80030ec0 -/* 8002DF70 0002AED0 80 01 00 08 */ lwz r0, 8(r1) -/* 8002DF74 0002AED4 90 1C 00 F4 */ stw r0, 0xf4(r28) -/* 8002DF78 0002AED8 80 9C 00 F4 */ lwz r4, 0xf4(r28) -/* 8002DF7C 0002AEDC 80 64 00 04 */ lwz r3, 4(r4) -/* 8002DF80 0002AEE0 38 03 00 01 */ addi r0, r3, 1 -/* 8002DF84 0002AEE4 90 04 00 04 */ stw r0, 4(r4) -lbl_8002DF88: -/* 8002DF88 0002AEE8 38 61 00 08 */ addi r3, r1, 8 -/* 8002DF8C 0002AEEC 48 00 2F 35 */ bl sub_80030ec0 -/* 8002DF90 0002AEF0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002DF94 0002AEF4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002DF98 0002AEF8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002DF9C 0002AEFC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8002DFA0 0002AF00 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8002DFA4 0002AF04 7C 08 03 A6 */ mtlr r0 -/* 8002DFA8 0002AF08 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002DFAC 0002AF0C 4E 80 00 20 */ blr - -.global "SetInfraModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>" -"SetInfraModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>": -/* 8002DFB0 0002AF10 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002DFB4 0002AF14 7C 08 02 A6 */ mflr r0 -/* 8002DFB8 0002AF18 3C C0 80 3D */ lis r6, lbl_803CCD20@ha -/* 8002DFBC 0002AF1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002DFC0 0002AF20 38 06 CD 20 */ addi r0, r6, lbl_803CCD20@l -/* 8002DFC4 0002AF24 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002DFC8 0002AF28 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002DFCC 0002AF2C 7C BE 2B 78 */ mr r30, r5 -/* 8002DFD0 0002AF30 38 A0 00 00 */ li r5, 0 -/* 8002DFD4 0002AF34 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002DFD8 0002AF38 7C 9D 23 78 */ mr r29, r4 -/* 8002DFDC 0002AF3C 7C 04 03 78 */ mr r4, r0 -/* 8002DFE0 0002AF40 93 81 00 10 */ stw r28, 0x10(r1) -/* 8002DFE4 0002AF44 7C 7C 1B 78 */ mr r28, r3 -/* 8002DFE8 0002AF48 38 60 00 3C */ li r3, 0x3c -/* 8002DFEC 0002AF4C 48 2E 78 81 */ bl __nw__FUlPCcPCc -/* 8002DFF0 0002AF50 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8002DFF4 0002AF54 41 82 00 20 */ beq lbl_8002E014 -/* 8002DFF8 0002AF58 80 DC 00 E0 */ lwz r6, 0xe0(r28) -/* 8002DFFC 0002AF5C 7F A4 EB 78 */ mr r4, r29 -/* 8002E000 0002AF60 7F C5 F3 78 */ mr r5, r30 -/* 8002E004 0002AF64 38 E0 00 01 */ li r7, 1 -/* 8002E008 0002AF68 38 C6 00 1C */ addi r6, r6, 0x1c -/* 8002E00C 0002AF6C 48 32 54 2D */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" -/* 8002E010 0002AF70 7C 7F 1B 78 */ mr r31, r3 -lbl_8002E014: -/* 8002E014 0002AF74 7F E3 FB 78 */ mr r3, r31 -/* 8002E018 0002AF78 48 32 4C 01 */ bl CalculateDefault__13CSkinnedModelFv -/* 8002E01C 0002AF7C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002E020 0002AF80 38 60 00 08 */ li r3, 8 -/* 8002E024 0002AF84 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002E028 0002AF88 38 A0 00 00 */ li r5, 0 -/* 8002E02C 0002AF8C 48 2E 78 41 */ bl __nw__FUlPCcPCc -/* 8002E030 0002AF90 28 03 00 00 */ cmplwi r3, 0 -/* 8002E034 0002AF94 41 82 00 10 */ beq lbl_8002E044 -/* 8002E038 0002AF98 93 E3 00 00 */ stw r31, 0(r3) -/* 8002E03C 0002AF9C 38 00 00 01 */ li r0, 1 -/* 8002E040 0002AFA0 90 03 00 04 */ stw r0, 4(r3) -lbl_8002E044: -/* 8002E044 0002AFA4 90 61 00 08 */ stw r3, 8(r1) -/* 8002E048 0002AFA8 80 1C 00 F8 */ lwz r0, 0xf8(r28) -/* 8002E04C 0002AFAC 7C 00 18 40 */ cmplw r0, r3 -/* 8002E050 0002AFB0 41 82 00 24 */ beq lbl_8002E074 -/* 8002E054 0002AFB4 38 7C 00 F8 */ addi r3, r28, 0xf8 -/* 8002E058 0002AFB8 48 00 2E 69 */ bl sub_80030ec0 -/* 8002E05C 0002AFBC 80 01 00 08 */ lwz r0, 8(r1) -/* 8002E060 0002AFC0 90 1C 00 F8 */ stw r0, 0xf8(r28) -/* 8002E064 0002AFC4 80 9C 00 F8 */ lwz r4, 0xf8(r28) -/* 8002E068 0002AFC8 80 64 00 04 */ lwz r3, 4(r4) -/* 8002E06C 0002AFCC 38 03 00 01 */ addi r0, r3, 1 -/* 8002E070 0002AFD0 90 04 00 04 */ stw r0, 4(r4) -lbl_8002E074: -/* 8002E074 0002AFD4 38 61 00 08 */ addi r3, r1, 8 -/* 8002E078 0002AFD8 48 00 2E 49 */ bl sub_80030ec0 -/* 8002E07C 0002AFDC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002E080 0002AFE0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002E084 0002AFE4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002E088 0002AFE8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8002E08C 0002AFEC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8002E090 0002AFF0 7C 08 03 A6 */ mtlr r0 -/* 8002E094 0002AFF4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002E098 0002AFF8 4E 80 00 20 */ blr - -.global "SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>" -"SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>": -/* 8002E09C 0002AFFC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002E0A0 0002B000 7C 08 02 A6 */ mflr r0 -/* 8002E0A4 0002B004 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002E0A8 0002B008 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002E0AC 0002B00C 7C 7F 1B 78 */ mr r31, r3 -/* 8002E0B0 0002B010 38 7F 00 D8 */ addi r3, r31, 0xd8 -/* 8002E0B4 0002B014 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002E0B8 0002B018 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002E0BC 0002B01C 7C 9D 23 78 */ mr r29, r4 -/* 8002E0C0 0002B020 48 31 2C 05 */ bl __as__6CTokenFRC6CToken -/* 8002E0C4 0002B024 80 1D 00 08 */ lwz r0, 8(r29) -/* 8002E0C8 0002B028 90 1F 00 E0 */ stw r0, 0xe0(r31) -/* 8002E0CC 0002B02C 80 7F 00 E0 */ lwz r3, 0xe0(r31) -/* 8002E0D0 0002B030 48 32 4B 49 */ bl CalculateDefault__13CSkinnedModelFv -/* 8002E0D4 0002B034 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 8002E0D8 0002B038 38 83 67 54 */ addi r4, r3, lbl_805A6754@l -/* 8002E0DC 0002B03C 80 64 00 00 */ lwz r3, 0(r4) -/* 8002E0E0 0002B040 80 04 00 04 */ lwz r0, 4(r4) -/* 8002E0E4 0002B044 90 7F 01 08 */ stw r3, 0x108(r31) -/* 8002E0E8 0002B048 90 1F 01 0C */ stw r0, 0x10c(r31) -/* 8002E0EC 0002B04C 80 04 00 08 */ lwz r0, 8(r4) -/* 8002E0F0 0002B050 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8002E0F4 0002B054 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8002E0F8 0002B058 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8002E0FC 0002B05C 90 7F 01 14 */ stw r3, 0x114(r31) -/* 8002E100 0002B060 90 1F 01 18 */ stw r0, 0x118(r31) -/* 8002E104 0002B064 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8002E108 0002B068 90 1F 01 1C */ stw r0, 0x11c(r31) -/* 8002E10C 0002B06C 80 7F 00 E0 */ lwz r3, 0xe0(r31) -/* 8002E110 0002B070 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8002E114 0002B074 48 32 75 BD */ bl GetPositions__6CModelCFv -/* 8002E118 0002B078 3B A0 00 00 */ li r29, 0 -/* 8002E11C 0002B07C 7C 7E 1B 78 */ mr r30, r3 -/* 8002E120 0002B080 48 00 00 18 */ b lbl_8002E138 -lbl_8002E124: -/* 8002E124 0002B084 7F C4 F3 78 */ mr r4, r30 -/* 8002E128 0002B088 38 7F 01 08 */ addi r3, r31, 0x108 -/* 8002E12C 0002B08C 48 30 99 DD */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8002E130 0002B090 3B DE 00 0C */ addi r30, r30, 0xc -/* 8002E134 0002B094 3B BD 00 01 */ addi r29, r29, 1 -lbl_8002E138: -/* 8002E138 0002B098 80 7F 00 E0 */ lwz r3, 0xe0(r31) -/* 8002E13C 0002B09C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8002E140 0002B0A0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8002E144 0002B0A4 7C 1D 00 00 */ cmpw r29, r0 -/* 8002E148 0002B0A8 41 80 FF DC */ blt lbl_8002E124 -/* 8002E14C 0002B0AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002E150 0002B0B0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002E154 0002B0B4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002E158 0002B0B8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8002E15C 0002B0BC 7C 08 03 A6 */ mtlr r0 -/* 8002E160 0002B0C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002E164 0002B0C4 4E 80 00 20 */ blr - -.global FreeCache__9CAnimDataFv -FreeCache__9CAnimDataFv: -/* 8002E168 0002B0C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002E16C 0002B0CC 7C 08 02 A6 */ mflr r0 -/* 8002E170 0002B0D0 3C 60 80 57 */ lis r3, lbl_8056CF40@ha -/* 8002E174 0002B0D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002E178 0002B0D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002E17C 0002B0DC 3B E3 CF 40 */ addi r31, r3, lbl_8056CF40@l -/* 8002E180 0002B0E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002E184 0002B0E4 3B C0 00 00 */ li r30, 0 -/* 8002E188 0002B0E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8002E18C 0002B0EC 3B BF 00 04 */ addi r29, r31, 4 -/* 8002E190 0002B0F0 48 00 00 24 */ b lbl_8002E1B4 -lbl_8002E194: -/* 8002E194 0002B0F4 7F A3 EB 78 */ mr r3, r29 -/* 8002E198 0002B0F8 38 80 FF FF */ li r4, -1 -/* 8002E19C 0002B0FC 81 9D 00 00 */ lwz r12, 0(r29) -/* 8002E1A0 0002B100 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002E1A4 0002B104 7D 89 03 A6 */ mtctr r12 -/* 8002E1A8 0002B108 4E 80 04 21 */ bctrl -/* 8002E1AC 0002B10C 3B BD 00 4C */ addi r29, r29, 0x4c -/* 8002E1B0 0002B110 3B DE 00 01 */ addi r30, r30, 1 -lbl_8002E1B4: -/* 8002E1B4 0002B114 80 1F 00 00 */ lwz r0, 0(r31) -/* 8002E1B8 0002B118 7C 1E 00 00 */ cmpw r30, r0 -/* 8002E1BC 0002B11C 41 80 FF D8 */ blt lbl_8002E194 -/* 8002E1C0 0002B120 38 00 00 00 */ li r0, 0 -/* 8002E1C4 0002B124 3C 60 80 57 */ lis r3, lbl_8056CF40@ha -/* 8002E1C8 0002B128 90 0D A1 0C */ stw r0, lbl_805A8CCC@sda21(r13) -/* 8002E1CC 0002B12C 90 03 CF 40 */ stw r0, lbl_8056CF40@l(r3) -/* 8002E1D0 0002B130 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002E1D4 0002B134 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002E1D8 0002B138 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002E1DC 0002B13C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8002E1E0 0002B140 7C 08 03 A6 */ mtlr r0 -/* 8002E1E4 0002B144 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002E1E8 0002B148 4E 80 00 20 */ blr - -.global InitializeCache__9CAnimDataFv -InitializeCache__9CAnimDataFv: -/* 8002E1EC 0002B14C 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8002E1F0 0002B150 7C 08 02 A6 */ mflr r0 -/* 8002E1F4 0002B154 3C 60 80 57 */ lis r3, lbl_8056CF40@ha -/* 8002E1F8 0002B158 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8002E1FC 0002B15C 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8002E200 0002B160 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8002E204 0002B164 3B C3 CF 40 */ addi r30, r3, lbl_8056CF40@l -/* 8002E208 0002B168 3B FE 00 04 */ addi r31, r30, 4 -/* 8002E20C 0002B16C 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8002E210 0002B170 3B A0 00 00 */ li r29, 0 -/* 8002E214 0002B174 93 81 00 90 */ stw r28, 0x90(r1) -/* 8002E218 0002B178 7F FC FB 78 */ mr r28, r31 -/* 8002E21C 0002B17C 48 00 00 24 */ b lbl_8002E240 -lbl_8002E220: -/* 8002E220 0002B180 7F 83 E3 78 */ mr r3, r28 -/* 8002E224 0002B184 38 80 FF FF */ li r4, -1 -/* 8002E228 0002B188 81 9C 00 00 */ lwz r12, 0(r28) -/* 8002E22C 0002B18C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002E230 0002B190 7D 89 03 A6 */ mtctr r12 -/* 8002E234 0002B194 4E 80 04 21 */ bctrl -/* 8002E238 0002B198 3B 9C 00 4C */ addi r28, r28, 0x4c -/* 8002E23C 0002B19C 3B BD 00 01 */ addi r29, r29, 1 -lbl_8002E240: -/* 8002E240 0002B1A0 80 1E 00 00 */ lwz r0, 0(r30) -/* 8002E244 0002B1A4 7C 1D 00 00 */ cmpw r29, r0 -/* 8002E248 0002B1A8 41 80 FF D8 */ blt lbl_8002E220 -/* 8002E24C 0002B1AC 3C 80 80 57 */ lis r4, lbl_8056CF40@ha -/* 8002E250 0002B1B0 3C 60 80 3D */ lis r3, lbl_803CCD20@ha -/* 8002E254 0002B1B4 38 A4 CF 40 */ addi r5, r4, lbl_8056CF40@l -/* 8002E258 0002B1B8 38 00 00 00 */ li r0, 0 -/* 8002E25C 0002B1BC 38 83 CD 20 */ addi r4, r3, lbl_803CCD20@l -/* 8002E260 0002B1C0 90 05 00 00 */ stw r0, 0(r5) -/* 8002E264 0002B1C4 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002E268 0002B1C8 38 84 00 07 */ addi r4, r4, 7 -/* 8002E26C 0002B1CC 4B FD 6A 4D */ bl string_l__4rstlFPCc -/* 8002E270 0002B1D0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002E274 0002B1D4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002E278 0002B1D8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002E27C 0002B1DC 38 84 00 08 */ addi r4, r4, 8 -/* 8002E280 0002B1E0 4B FD 6A 39 */ bl string_l__4rstlFPCc -/* 8002E284 0002B1E4 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) -/* 8002E288 0002B1E8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002E28C 0002B1EC 48 31 AB 61 */ bl __ct__13CCharAnimTimeFf -/* 8002E290 0002B1F0 38 00 00 00 */ li r0, 0 -/* 8002E294 0002B1F4 7C 66 1B 78 */ mr r6, r3 -/* 8002E298 0002B1F8 90 01 00 08 */ stw r0, 8(r1) -/* 8002E29C 0002B1FC 38 01 00 18 */ addi r0, r1, 0x18 -/* 8002E2A0 0002B200 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) -/* 8002E2A4 0002B204 38 61 00 38 */ addi r3, r1, 0x38 -/* 8002E2A8 0002B208 90 01 00 0C */ stw r0, 0xc(r1) -/* 8002E2AC 0002B20C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002E2B0 0002B210 38 A0 00 02 */ li r5, 2 -/* 8002E2B4 0002B214 38 E0 FF FF */ li r7, -1 -/* 8002E2B8 0002B218 39 00 00 00 */ li r8, 0 -/* 8002E2BC 0002B21C 39 20 FF FF */ li r9, -1 -/* 8002E2C0 0002B220 39 40 00 00 */ li r10, 0 -/* 8002E2C4 0002B224 4B FF D0 C9 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002E2C8 0002B228 3C 60 80 57 */ lis r3, lbl_8056CF40@ha -/* 8002E2CC 0002B22C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8002E2D0 0002B230 38 63 CF 40 */ addi r3, r3, lbl_8056CF40@l -/* 8002E2D4 0002B234 38 80 00 10 */ li r4, 0x10 -/* 8002E2D8 0002B238 48 00 00 69 */ bl "uninitialized_fill_n__4rstlFP13CInt32POINodeiRC13CInt32POINode" -/* 8002E2DC 0002B23C 3C 80 80 3E */ lis r4, lbl_803D9B98@ha -/* 8002E2E0 0002B240 34 61 00 74 */ addic. r3, r1, 0x74 -/* 8002E2E4 0002B244 38 04 9B 98 */ addi r0, r4, lbl_803D9B98@l -/* 8002E2E8 0002B248 90 01 00 38 */ stw r0, 0x38(r1) -/* 8002E2EC 0002B24C 41 82 00 08 */ beq lbl_8002E2F4 -/* 8002E2F0 0002B250 48 30 F7 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002E2F4: -/* 8002E2F4 0002B254 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 8002E2F8 0002B258 34 61 00 40 */ addic. r3, r1, 0x40 -/* 8002E2FC 0002B25C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l -/* 8002E300 0002B260 90 01 00 38 */ stw r0, 0x38(r1) -/* 8002E304 0002B264 41 82 00 08 */ beq lbl_8002E30C -/* 8002E308 0002B268 48 30 F7 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002E30C: -/* 8002E30C 0002B26C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002E310 0002B270 48 30 F7 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002E314 0002B274 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002E318 0002B278 48 30 F7 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002E31C 0002B27C 93 ED A1 0C */ stw r31, lbl_805A8CCC@sda21(r13) -/* 8002E320 0002B280 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8002E324 0002B284 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8002E328 0002B288 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8002E32C 0002B28C 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8002E330 0002B290 83 81 00 90 */ lwz r28, 0x90(r1) -/* 8002E334 0002B294 7C 08 03 A6 */ mtlr r0 -/* 8002E338 0002B298 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8002E33C 0002B29C 4E 80 00 20 */ blr - -.global "uninitialized_fill_n__4rstlFP13CInt32POINodeiRC13CInt32POINode" -"uninitialized_fill_n__4rstlFP13CInt32POINodeiRC13CInt32POINode": -/* 8002E340 0002B2A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002E344 0002B2A4 7C 08 02 A6 */ mflr r0 -/* 8002E348 0002B2A8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002E34C 0002B2AC BF 41 00 08 */ stmw r26, 8(r1) -/* 8002E350 0002B2B0 7C 7C 1B 78 */ mr r28, r3 -/* 8002E354 0002B2B4 7C 9D 23 78 */ mr r29, r4 -/* 8002E358 0002B2B8 7C BE 2B 78 */ mr r30, r5 -/* 8002E35C 0002B2BC 80 63 00 00 */ lwz r3, 0(r3) -/* 8002E360 0002B2C0 7C 03 E8 00 */ cmpw r3, r29 -/* 8002E364 0002B2C4 40 80 00 B8 */ bge lbl_8002E41C -/* 8002E368 0002B2C8 1C 03 00 4C */ mulli r0, r3, 0x4c -/* 8002E36C 0002B2CC 7F E3 E8 50 */ subf r31, r3, r29 -/* 8002E370 0002B2D0 3B 60 00 00 */ li r27, 0 -/* 8002E374 0002B2D4 7F 5C 02 14 */ add r26, r28, r0 -/* 8002E378 0002B2D8 3B 5A 00 04 */ addi r26, r26, 4 -/* 8002E37C 0002B2DC 48 00 00 94 */ b lbl_8002E410 -lbl_8002E380: -/* 8002E380 0002B2E0 28 1A 00 00 */ cmplwi r26, 0 -/* 8002E384 0002B2E4 41 82 00 84 */ beq lbl_8002E408 -/* 8002E388 0002B2E8 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 8002E38C 0002B2EC 38 9E 00 08 */ addi r4, r30, 8 -/* 8002E390 0002B2F0 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l -/* 8002E394 0002B2F4 90 1A 00 00 */ stw r0, 0(r26) -/* 8002E398 0002B2F8 38 7A 00 08 */ addi r3, r26, 8 -/* 8002E39C 0002B2FC A0 1E 00 04 */ lhz r0, 4(r30) -/* 8002E3A0 0002B300 B0 1A 00 04 */ sth r0, 4(r26) -/* 8002E3A4 0002B304 48 30 FD BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002E3A8 0002B308 A0 9E 00 18 */ lhz r4, 0x18(r30) -/* 8002E3AC 0002B30C 3C 60 80 3E */ lis r3, lbl_803D9B98@ha -/* 8002E3B0 0002B310 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l -/* 8002E3B4 0002B314 38 7A 00 3C */ addi r3, r26, 0x3c -/* 8002E3B8 0002B318 B0 9A 00 18 */ sth r4, 0x18(r26) -/* 8002E3BC 0002B31C 38 9E 00 3C */ addi r4, r30, 0x3c -/* 8002E3C0 0002B320 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 8002E3C4 0002B324 D0 1A 00 1C */ stfs f0, 0x1c(r26) -/* 8002E3C8 0002B328 80 BE 00 20 */ lwz r5, 0x20(r30) -/* 8002E3CC 0002B32C 90 BA 00 20 */ stw r5, 0x20(r26) -/* 8002E3D0 0002B330 80 BE 00 24 */ lwz r5, 0x24(r30) -/* 8002E3D4 0002B334 90 BA 00 24 */ stw r5, 0x24(r26) -/* 8002E3D8 0002B338 88 BE 00 28 */ lbz r5, 0x28(r30) -/* 8002E3DC 0002B33C 98 BA 00 28 */ stb r5, 0x28(r26) -/* 8002E3E0 0002B340 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8002E3E4 0002B344 D0 1A 00 2C */ stfs f0, 0x2c(r26) -/* 8002E3E8 0002B348 80 BE 00 30 */ lwz r5, 0x30(r30) -/* 8002E3EC 0002B34C 90 BA 00 30 */ stw r5, 0x30(r26) -/* 8002E3F0 0002B350 80 BE 00 34 */ lwz r5, 0x34(r30) -/* 8002E3F4 0002B354 90 BA 00 34 */ stw r5, 0x34(r26) -/* 8002E3F8 0002B358 90 1A 00 00 */ stw r0, 0(r26) -/* 8002E3FC 0002B35C 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 8002E400 0002B360 90 1A 00 38 */ stw r0, 0x38(r26) -/* 8002E404 0002B364 48 30 FD 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8002E408: -/* 8002E408 0002B368 3B 7B 00 01 */ addi r27, r27, 1 -/* 8002E40C 0002B36C 3B 5A 00 4C */ addi r26, r26, 0x4c -lbl_8002E410: -/* 8002E410 0002B370 7C 1B F8 00 */ cmpw r27, r31 -/* 8002E414 0002B374 41 80 FF 6C */ blt lbl_8002E380 -/* 8002E418 0002B378 93 BC 00 00 */ stw r29, 0(r28) -lbl_8002E41C: -/* 8002E41C 0002B37C BB 41 00 08 */ lmw r26, 8(r1) -/* 8002E420 0002B380 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002E424 0002B384 7C 08 03 A6 */ mtlr r0 -/* 8002E428 0002B388 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002E42C 0002B38C 4E 80 00 20 */ blr - -.global DrawSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC11CModelFlags -DrawSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC11CModelFlags: -/* 8002E430 0002B390 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002E434 0002B394 7C 08 02 A6 */ mflr r0 -/* 8002E438 0002B398 39 20 00 02 */ li r9, 2 -/* 8002E43C 0002B39C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002E440 0002B3A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002E444 0002B3A4 7C BF 2B 78 */ mr r31, r5 -/* 8002E448 0002B3A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8002E44C 0002B3AC 7C 9E 23 78 */ mr r30, r4 -/* 8002E450 0002B3B0 88 ED A8 16 */ lbz r7, lbl_805A93D6@sda21(r13) -/* 8002E454 0002B3B4 28 07 00 00 */ cmplwi r7, 0 -/* 8002E458 0002B3B8 41 82 00 08 */ beq lbl_8002E460 -/* 8002E45C 0002B3BC 39 20 00 01 */ li r9, 1 -lbl_8002E460: -/* 8002E460 0002B3C0 28 07 00 00 */ cmplwi r7, 0 -/* 8002E464 0002B3C4 39 00 00 00 */ li r8, 0 -/* 8002E468 0002B3C8 41 82 00 08 */ beq lbl_8002E470 -/* 8002E46C 0002B3CC 39 00 00 02 */ li r8, 2 -lbl_8002E470: -/* 8002E470 0002B3D0 7C 07 00 D0 */ neg r0, r7 -/* 8002E474 0002B3D4 38 60 00 00 */ li r3, 0 -/* 8002E478 0002B3D8 7C 00 3B 78 */ or r0, r0, r7 -/* 8002E47C 0002B3DC 38 A0 00 00 */ li r5, 0 -/* 8002E480 0002B3E0 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8002E484 0002B3E4 38 C0 00 00 */ li r6, 0 -/* 8002E488 0002B3E8 48 2D A8 45 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8002E48C 0002B3EC 7F C3 F3 78 */ mr r3, r30 -/* 8002E490 0002B3F0 7F E4 FB 78 */ mr r4, r31 -/* 8002E494 0002B3F4 48 32 4B D1 */ bl sub_80353064 -/* 8002E498 0002B3F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002E49C 0002B3FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002E4A0 0002B400 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002E4A4 0002B404 7C 08 03 A6 */ mtlr r0 -/* 8002E4A8 0002B408 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002E4AC 0002B40C 4E 80 00 20 */ blr - -.global "PoseSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -"PoseSkinnedModel__9CAnimDataCFRC13CSkinnedModelRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf": -/* 8002E4B0 0002B410 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002E4B4 0002B414 7C 08 02 A6 */ mflr r0 -/* 8002E4B8 0002B418 7C 83 23 78 */ mr r3, r4 -/* 8002E4BC 0002B41C 7C A4 2B 78 */ mr r4, r5 -/* 8002E4C0 0002B420 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002E4C4 0002B424 7C C5 33 78 */ mr r5, r6 -/* 8002E4C8 0002B428 7C E6 3B 78 */ mr r6, r7 -/* 8002E4CC 0002B42C 38 E0 00 00 */ li r7, 0 -/* 8002E4D0 0002B430 48 32 48 29 */ bl "Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf" -/* 8002E4D4 0002B434 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002E4D8 0002B438 7C 08 03 A6 */ mtlr r0 -/* 8002E4DC 0002B43C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002E4E0 0002B440 4E 80 00 20 */ blr - -.global AdvanceParticles__9CAnimDataFRC12CTransform4ffRC9CVector3fR13CStateManager -AdvanceParticles__9CAnimDataFRC12CTransform4ffRC9CVector3fR13CStateManager: -/* 8002E4E4 0002B444 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002E4E8 0002B448 7C 08 02 A6 */ mflr r0 -/* 8002E4EC 0002B44C 7C C8 33 78 */ mr r8, r6 -/* 8002E4F0 0002B450 7C 69 1B 78 */ mr r9, r3 -/* 8002E4F4 0002B454 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002E4F8 0002B458 7C A7 2B 78 */ mr r7, r5 -/* 8002E4FC 0002B45C 7C 86 23 78 */ mr r6, r4 -/* 8002E500 0002B460 38 89 02 24 */ addi r4, r9, 0x224 -/* 8002E504 0002B464 80 A3 00 D4 */ lwz r5, 0xd4(r3) -/* 8002E508 0002B468 38 69 01 20 */ addi r3, r9, 0x120 -/* 8002E50C 0002B46C 48 08 A4 C1 */ bl Update__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManager -/* 8002E510 0002B470 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002E514 0002B474 7C 08 03 A6 */ mtlr r0 -/* 8002E518 0002B478 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002E51C 0002B47C 4E 80 00 20 */ blr - -.global GetAverageVelocity__9CAnimDataCFi -GetAverageVelocity__9CAnimDataCFi: -/* 8002E520 0002B480 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8002E524 0002B484 7C 08 02 A6 */ mflr r0 -/* 8002E528 0002B488 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8002E52C 0002B48C DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8002E530 0002B490 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8002E534 0002B494 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8002E538 0002B498 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 8002E53C 0002B49C DB A1 00 90 */ stfd f29, 0x90(r1) -/* 8002E540 0002B4A0 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 8002E544 0002B4A4 BF 21 00 74 */ stmw r25, 0x74(r1) -/* 8002E548 0002B4A8 80 C3 01 00 */ lwz r6, 0x100(r3) -/* 8002E54C 0002B4AC 54 80 10 3A */ slwi r0, r4, 2 -/* 8002E550 0002B4B0 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 8002E554 0002B4B4 7C 7B 1B 78 */ mr r27, r3 -/* 8002E558 0002B4B8 80 86 00 00 */ lwz r4, 0(r6) -/* 8002E55C 0002B4BC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002E560 0002B4C0 7C A5 00 2E */ lwzx r5, r5, r0 -/* 8002E564 0002B4C4 48 2A 88 AD */ bl GetMetaAnimation__17CAnimationManagerCFUi -/* 8002E568 0002B4C8 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8002E56C 0002B4CC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8002E570 0002B4D0 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8002E574 0002B4D4 80 85 00 04 */ lwz r4, 4(r5) -/* 8002E578 0002B4D8 38 04 00 01 */ addi r0, r4, 1 -/* 8002E57C 0002B4DC 90 05 00 04 */ stw r0, 4(r5) -/* 8002E580 0002B4E0 48 00 29 B1 */ bl sub_80030f30 -/* 8002E584 0002B4E4 88 61 00 08 */ lbz r3, 8(r1) -/* 8002E588 0002B4E8 38 00 00 00 */ li r0, 0 -/* 8002E58C 0002B4EC 88 A1 00 0C */ lbz r5, 0xc(r1) -/* 8002E590 0002B4F0 3B 81 00 5C */ addi r28, r1, 0x5c -/* 8002E594 0002B4F4 98 61 00 54 */ stb r3, 0x54(r1) -/* 8002E598 0002B4F8 38 81 00 54 */ addi r4, r1, 0x54 -/* 8002E59C 0002B4FC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8002E5A0 0002B500 98 A1 00 55 */ stb r5, 0x55(r1) -/* 8002E5A4 0002B504 90 01 00 58 */ stw r0, 0x58(r1) -/* 8002E5A8 0002B508 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8002E5AC 0002B50C 90 01 00 60 */ stw r0, 0x60(r1) -/* 8002E5B0 0002B510 90 01 00 64 */ stw r0, 0x64(r1) -/* 8002E5B4 0002B514 80 63 00 00 */ lwz r3, 0(r3) -/* 8002E5B8 0002B518 81 83 00 00 */ lwz r12, 0(r3) -/* 8002E5BC 0002B51C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8002E5C0 0002B520 7D 89 03 A6 */ mtctr r12 -/* 8002E5C4 0002B524 4E 80 04 21 */ bctrl -/* 8002E5C8 0002B528 C3 C2 83 D0 */ lfs f30, lbl_805AA0F0@sda21(r2) -/* 8002E5CC 0002B52C 3B C0 00 00 */ li r30, 0 -/* 8002E5D0 0002B530 83 A1 00 5C */ lwz r29, 0x5c(r1) -/* 8002E5D4 0002B534 3C 60 41 4E */ lis r3, 0x414E494D@ha -/* 8002E5D8 0002B538 FF A0 F0 90 */ fmr f29, f30 -/* 8002E5DC 0002B53C 93 81 00 3C */ stw r28, 0x3c(r1) -/* 8002E5E0 0002B540 3B E3 49 4D */ addi r31, r3, 0x414E494D@l -/* 8002E5E4 0002B544 3B 41 00 48 */ addi r26, r1, 0x48 -/* 8002E5E8 0002B548 93 A1 00 38 */ stw r29, 0x38(r1) -/* 8002E5EC 0002B54C 93 C1 00 30 */ stw r30, 0x30(r1) -/* 8002E5F0 0002B550 93 81 00 34 */ stw r28, 0x34(r1) -/* 8002E5F4 0002B554 48 00 01 9C */ b lbl_8002E790 -lbl_8002E5F8: -/* 8002E5F8 0002B558 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8002E5FC 0002B55C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002E600 0002B560 80 9B 00 FC */ lwz r4, 0xfc(r27) -/* 8002E604 0002B564 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8002E608 0002B568 93 E1 00 40 */ stw r31, 0x40(r1) -/* 8002E60C 0002B56C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8002E610 0002B570 80 84 00 00 */ lwz r4, 0(r4) -/* 8002E614 0002B574 80 84 00 0C */ lwz r4, 0xc(r4) -/* 8002E618 0002B578 81 84 00 00 */ lwz r12, 0(r4) -/* 8002E61C 0002B57C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8002E620 0002B580 7D 89 03 A6 */ mtctr r12 -/* 8002E624 0002B584 4E 80 04 21 */ bctrl -/* 8002E628 0002B588 7F 43 D3 78 */ mr r3, r26 -/* 8002E62C 0002B58C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8002E630 0002B590 48 31 28 79 */ bl __ct__6CTokenFRC6CToken -/* 8002E634 0002B594 7F 43 D3 78 */ mr r3, r26 -/* 8002E638 0002B598 48 31 27 D5 */ bl GetObj__6CTokenFv -/* 8002E63C 0002B59C 80 03 00 04 */ lwz r0, 4(r3) -/* 8002E640 0002B5A0 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002E644 0002B5A4 38 80 FF FF */ li r4, -1 -/* 8002E648 0002B5A8 90 01 00 50 */ stw r0, 0x50(r1) -/* 8002E64C 0002B5AC 48 31 27 F5 */ bl __dt__6CTokenFv -/* 8002E650 0002B5B0 83 21 00 50 */ lwz r25, 0x50(r1) -/* 8002E654 0002B5B4 80 19 00 00 */ lwz r0, 0(r25) -/* 8002E658 0002B5B8 2C 00 00 01 */ cmpwi r0, 1 -/* 8002E65C 0002B5BC 41 82 00 4C */ beq lbl_8002E6A8 -/* 8002E660 0002B5C0 40 80 00 10 */ bge lbl_8002E670 -/* 8002E664 0002B5C4 2C 00 00 00 */ cmpwi r0, 0 -/* 8002E668 0002B5C8 40 80 00 14 */ bge lbl_8002E67C -/* 8002E66C 0002B5CC 48 00 00 3C */ b lbl_8002E6A8 -lbl_8002E670: -/* 8002E670 0002B5D0 2C 00 00 03 */ cmpwi r0, 3 -/* 8002E674 0002B5D4 40 80 00 34 */ bge lbl_8002E6A8 -/* 8002E678 0002B5D8 48 00 00 1C */ b lbl_8002E694 -lbl_8002E67C: -/* 8002E67C 0002B5DC C0 19 00 04 */ lfs f0, 4(r25) -/* 8002E680 0002B5E0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002E684 0002B5E4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8002E688 0002B5E8 80 19 00 08 */ lwz r0, 8(r25) -/* 8002E68C 0002B5EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002E690 0002B5F0 48 00 00 2C */ b lbl_8002E6BC -lbl_8002E694: -/* 8002E694 0002B5F4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002E698 0002B5F8 38 99 00 04 */ addi r4, r25, 4 -/* 8002E69C 0002B5FC 48 2C D2 89 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv -/* 8002E6A0 0002B600 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002E6A4 0002B604 48 00 00 18 */ b lbl_8002E6BC -lbl_8002E6A8: -/* 8002E6A8 0002B608 C0 19 00 04 */ lfs f0, 4(r25) -/* 8002E6AC 0002B60C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002E6B0 0002B610 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8002E6B4 0002B614 80 19 00 08 */ lwz r0, 8(r25) -/* 8002E6B8 0002B618 90 01 00 24 */ stw r0, 0x24(r1) -lbl_8002E6BC: -/* 8002E6BC 0002B61C 80 19 00 00 */ lwz r0, 0(r25) -/* 8002E6C0 0002B620 C0 03 00 00 */ lfs f0, 0(r3) -/* 8002E6C4 0002B624 2C 00 00 01 */ cmpwi r0, 1 -/* 8002E6C8 0002B628 41 82 00 30 */ beq lbl_8002E6F8 -/* 8002E6CC 0002B62C 40 80 00 10 */ bge lbl_8002E6DC -/* 8002E6D0 0002B630 2C 00 00 00 */ cmpwi r0, 0 -/* 8002E6D4 0002B634 40 80 00 14 */ bge lbl_8002E6E8 -/* 8002E6D8 0002B638 48 00 00 20 */ b lbl_8002E6F8 -lbl_8002E6DC: -/* 8002E6DC 0002B63C 2C 00 00 03 */ cmpwi r0, 3 -/* 8002E6E0 0002B640 40 80 00 18 */ bge lbl_8002E6F8 -/* 8002E6E4 0002B644 48 00 00 0C */ b lbl_8002E6F0 -lbl_8002E6E8: -/* 8002E6E8 0002B648 C0 39 00 64 */ lfs f1, 0x64(r25) -/* 8002E6EC 0002B64C 48 00 00 10 */ b lbl_8002E6FC -lbl_8002E6F0: -/* 8002E6F0 0002B650 C0 39 00 14 */ lfs f1, 0x14(r25) -/* 8002E6F4 0002B654 48 00 00 08 */ b lbl_8002E6FC -lbl_8002E6F8: -/* 8002E6F8 0002B658 C0 39 00 64 */ lfs f1, 0x64(r25) -lbl_8002E6FC: -/* 8002E6FC 0002B65C 80 81 00 50 */ lwz r4, 0x50(r1) -/* 8002E700 0002B660 EF C1 F0 3A */ fmadds f30, f1, f0, f30 -/* 8002E704 0002B664 80 04 00 00 */ lwz r0, 0(r4) -/* 8002E708 0002B668 2C 00 00 01 */ cmpwi r0, 1 -/* 8002E70C 0002B66C 41 82 00 4C */ beq lbl_8002E758 -/* 8002E710 0002B670 40 80 00 10 */ bge lbl_8002E720 -/* 8002E714 0002B674 2C 00 00 00 */ cmpwi r0, 0 -/* 8002E718 0002B678 40 80 00 14 */ bge lbl_8002E72C -/* 8002E71C 0002B67C 48 00 00 3C */ b lbl_8002E758 -lbl_8002E720: -/* 8002E720 0002B680 2C 00 00 03 */ cmpwi r0, 3 -/* 8002E724 0002B684 40 80 00 34 */ bge lbl_8002E758 -/* 8002E728 0002B688 48 00 00 1C */ b lbl_8002E744 -lbl_8002E72C: -/* 8002E72C 0002B68C C0 04 00 04 */ lfs f0, 4(r4) -/* 8002E730 0002B690 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002E734 0002B694 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8002E738 0002B698 80 04 00 08 */ lwz r0, 8(r4) -/* 8002E73C 0002B69C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8002E740 0002B6A0 48 00 00 2C */ b lbl_8002E76C -lbl_8002E744: -/* 8002E744 0002B6A4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002E748 0002B6A8 38 84 00 04 */ addi r4, r4, 4 -/* 8002E74C 0002B6AC 48 2C D1 D9 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv -/* 8002E750 0002B6B0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002E754 0002B6B4 48 00 00 18 */ b lbl_8002E76C -lbl_8002E758: -/* 8002E758 0002B6B8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8002E75C 0002B6BC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002E760 0002B6C0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8002E764 0002B6C4 80 04 00 08 */ lwz r0, 8(r4) -/* 8002E768 0002B6C8 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_8002E76C: -/* 8002E76C 0002B6CC C0 03 00 00 */ lfs f0, 0(r3) -/* 8002E770 0002B6D0 7F 83 E3 78 */ mr r3, r28 -/* 8002E774 0002B6D4 7F A4 EB 78 */ mr r4, r29 -/* 8002E778 0002B6D8 EF BD 00 2A */ fadds f29, f29, f0 -/* 8002E77C 0002B6DC 48 30 DE 65 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8002E780 0002B6E0 7C 7D 1B 78 */ mr r29, r3 -/* 8002E784 0002B6E4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8002E788 0002B6E8 38 80 00 00 */ li r4, 0 -/* 8002E78C 0002B6EC 48 31 26 B5 */ bl __dt__6CTokenFv -lbl_8002E790: -/* 8002E790 0002B6F0 7C 1D F0 40 */ cmplw r29, r30 -/* 8002E794 0002B6F4 38 00 00 00 */ li r0, 0 -/* 8002E798 0002B6F8 40 82 00 0C */ bne lbl_8002E7A4 -/* 8002E79C 0002B6FC 7C 1C E0 40 */ cmplw r28, r28 -/* 8002E7A0 0002B700 41 82 00 08 */ beq lbl_8002E7A8 -lbl_8002E7A4: -/* 8002E7A4 0002B704 38 00 00 01 */ li r0, 1 -lbl_8002E7A8: -/* 8002E7A8 0002B708 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8002E7AC 0002B70C 40 82 FE 4C */ bne lbl_8002E5F8 -/* 8002E7B0 0002B710 C3 E2 83 D0 */ lfs f31, lbl_805AA0F0@sda21(r2) -/* 8002E7B4 0002B714 FC 1D F8 40 */ fcmpo cr0, f29, f31 -/* 8002E7B8 0002B718 40 81 00 08 */ ble lbl_8002E7C0 -/* 8002E7BC 0002B71C EF FE E8 24 */ fdivs f31, f30, f29 -lbl_8002E7C0: -/* 8002E7C0 0002B720 80 81 00 64 */ lwz r4, 0x64(r1) -/* 8002E7C4 0002B724 28 04 00 00 */ cmplwi r4, 0 -/* 8002E7C8 0002B728 41 82 00 0C */ beq lbl_8002E7D4 -/* 8002E7CC 0002B72C 38 61 00 54 */ addi r3, r1, 0x54 -/* 8002E7D0 0002B730 48 00 2A D9 */ bl sub_800312a8 -lbl_8002E7D4: -/* 8002E7D4 0002B734 38 00 00 00 */ li r0, 0 -/* 8002E7D8 0002B738 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002E7DC 0002B73C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8002E7E0 0002B740 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8002E7E4 0002B744 90 01 00 60 */ stw r0, 0x60(r1) -/* 8002E7E8 0002B748 90 01 00 58 */ stw r0, 0x58(r1) -/* 8002E7EC 0002B74C 48 00 27 45 */ bl sub_80030f30 -/* 8002E7F0 0002B750 FC 20 F8 90 */ fmr f1, f31 -/* 8002E7F4 0002B754 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8002E7F8 0002B758 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8002E7FC 0002B75C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 8002E800 0002B760 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 8002E804 0002B764 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 8002E808 0002B768 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 8002E80C 0002B76C BB 21 00 74 */ lmw r25, 0x74(r1) -/* 8002E810 0002B770 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8002E814 0002B774 7C 08 03 A6 */ mtlr r0 -/* 8002E818 0002B778 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8002E81C 0002B77C 4E 80 00 20 */ blr - -.global ResetPOILists__9CAnimDataFv -ResetPOILists__9CAnimDataFv: -/* 8002E820 0002B780 38 00 00 00 */ li r0, 0 -/* 8002E824 0002B784 90 03 02 0C */ stw r0, 0x20c(r3) -/* 8002E828 0002B788 90 03 02 10 */ stw r0, 0x210(r3) -/* 8002E82C 0002B78C 90 03 02 14 */ stw r0, 0x214(r3) -/* 8002E830 0002B790 90 03 02 18 */ stw r0, 0x218(r3) -/* 8002E834 0002B794 4E 80 00 20 */ blr - -.global "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8002E838 0002B798 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002E83C 0002B79C 7C 08 02 A6 */ mflr r0 -/* 8002E840 0002B7A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002E844 0002B7A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002E848 0002B7A8 7C 7F 1B 78 */ mr r31, r3 -/* 8002E84C 0002B7AC 80 84 00 D4 */ lwz r4, 0xd4(r4) -/* 8002E850 0002B7B0 48 2C 94 15 */ bl "GetSegIdFromString__15CCharLayoutInfoCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002E854 0002B7B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002E858 0002B7B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002E85C 0002B7BC 7C 08 03 A6 */ mtlr r0 -/* 8002E860 0002B7C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002E864 0002B7C4 4E 80 00 20 */ blr - -.global GetBoundingBox__9CAnimDataCFRC12CTransform4f -GetBoundingBox__9CAnimDataCFRC12CTransform4f: -/* 8002E868 0002B7C8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002E86C 0002B7CC 7C 08 02 A6 */ mflr r0 -/* 8002E870 0002B7D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002E874 0002B7D4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002E878 0002B7D8 7C BF 2B 78 */ mr r31, r5 -/* 8002E87C 0002B7DC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8002E880 0002B7E0 7C 7E 1B 78 */ mr r30, r3 -/* 8002E884 0002B7E4 38 61 00 08 */ addi r3, r1, 8 -/* 8002E888 0002B7E8 48 00 00 2D */ bl GetBoundingBox__9CAnimDataCFv -/* 8002E88C 0002B7EC 7F C3 F3 78 */ mr r3, r30 -/* 8002E890 0002B7F0 7F E5 FB 78 */ mr r5, r31 -/* 8002E894 0002B7F4 38 81 00 08 */ addi r4, r1, 8 -/* 8002E898 0002B7F8 48 30 90 65 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 8002E89C 0002B7FC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002E8A0 0002B800 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002E8A4 0002B804 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002E8A8 0002B808 7C 08 03 A6 */ mtlr r0 -/* 8002E8AC 0002B80C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002E8B0 0002B810 4E 80 00 20 */ blr - -.global GetBoundingBox__9CAnimDataCFv -GetBoundingBox__9CAnimDataCFv: -/* 8002E8B4 0002B814 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8002E8B8 0002B818 7C 08 02 A6 */ mflr r0 -/* 8002E8BC 0002B81C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8002E8C0 0002B820 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 8002E8C4 0002B824 7C 9C 23 78 */ mr r28, r4 -/* 8002E8C8 0002B828 7C 7B 1B 78 */ mr r27, r3 -/* 8002E8CC 0002B82C 3B FC 00 94 */ addi r31, r28, 0x94 -/* 8002E8D0 0002B830 80 04 00 98 */ lwz r0, 0x98(r4) -/* 8002E8D4 0002B834 2C 00 00 00 */ cmpwi r0, 0 -/* 8002E8D8 0002B838 40 81 01 38 */ ble lbl_8002EA10 -/* 8002E8DC 0002B83C 80 9C 01 F8 */ lwz r4, 0x1f8(r28) -/* 8002E8E0 0002B840 38 61 00 2C */ addi r3, r1, 0x2c -/* 8002E8E4 0002B844 80 84 00 00 */ lwz r4, 0(r4) -/* 8002E8E8 0002B848 48 00 02 A1 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv -/* 8002E8EC 0002B84C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8002E8F0 0002B850 3B A1 00 68 */ addi r29, r1, 0x68 -/* 8002E8F4 0002B854 3B C1 00 30 */ addi r30, r1, 0x30 -/* 8002E8F8 0002B858 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8002E8FC 0002B85C 7F A3 EB 78 */ mr r3, r29 -/* 8002E900 0002B860 7F C4 F3 78 */ mr r4, r30 -/* 8002E904 0002B864 48 30 F8 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002E908 0002B868 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 8002E90C 0002B86C 28 1E 00 00 */ cmplwi r30, 0 -/* 8002E910 0002B870 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 8002E914 0002B874 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 8002E918 0002B878 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 8002E91C 0002B87C C0 21 00 50 */ lfs f1, 0x50(r1) -/* 8002E920 0002B880 88 81 00 54 */ lbz r4, 0x54(r1) -/* 8002E924 0002B884 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8002E928 0002B888 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8002E92C 0002B88C 80 01 00 60 */ lwz r0, 0x60(r1) -/* 8002E930 0002B890 D0 81 00 78 */ stfs f4, 0x78(r1) -/* 8002E934 0002B894 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 8002E938 0002B898 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 8002E93C 0002B89C D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8002E940 0002B8A0 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8002E944 0002B8A4 98 81 00 8C */ stb r4, 0x8c(r1) -/* 8002E948 0002B8A8 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 8002E94C 0002B8AC 90 61 00 94 */ stw r3, 0x94(r1) -/* 8002E950 0002B8B0 90 01 00 98 */ stw r0, 0x98(r1) -/* 8002E954 0002B8B4 41 82 00 0C */ beq lbl_8002E960 -/* 8002E958 0002B8B8 7F C3 F3 78 */ mr r3, r30 -/* 8002E95C 0002B8BC 48 30 F1 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002E960: -/* 8002E960 0002B8C0 7F A4 EB 78 */ mr r4, r29 -/* 8002E964 0002B8C4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8002E968 0002B8C8 48 30 F7 F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002E96C 0002B8CC 38 61 00 0C */ addi r3, r1, 0xc -/* 8002E970 0002B8D0 38 81 00 1C */ addi r4, r1, 0x1c -/* 8002E974 0002B8D4 48 30 F7 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002E978 0002B8D8 7F E4 FB 78 */ mr r4, r31 -/* 8002E97C 0002B8DC 38 61 00 08 */ addi r3, r1, 8 -/* 8002E980 0002B8E0 38 A1 00 0C */ addi r5, r1, 0xc -/* 8002E984 0002B8E4 48 00 00 D1 */ bl sub_8002ea54 -/* 8002E988 0002B8E8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002E98C 0002B8EC 38 61 00 0C */ addi r3, r1, 0xc -/* 8002E990 0002B8F0 48 30 F1 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002E994 0002B8F4 80 1F 00 04 */ lwz r0, 4(r31) -/* 8002E998 0002B8F8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8002E99C 0002B8FC 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002E9A0 0002B900 7C 03 02 14 */ add r0, r3, r0 -/* 8002E9A4 0002B904 7C 1E 00 40 */ cmplw r30, r0 -/* 8002E9A8 0002B908 41 82 00 50 */ beq lbl_8002E9F8 -/* 8002E9AC 0002B90C C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 8002E9B0 0002B910 38 61 00 1C */ addi r3, r1, 0x1c -/* 8002E9B4 0002B914 D0 1B 00 00 */ stfs f0, 0(r27) -/* 8002E9B8 0002B918 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 8002E9BC 0002B91C D0 1B 00 04 */ stfs f0, 4(r27) -/* 8002E9C0 0002B920 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 8002E9C4 0002B924 D0 1B 00 08 */ stfs f0, 8(r27) -/* 8002E9C8 0002B928 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 8002E9CC 0002B92C D0 1B 00 0C */ stfs f0, 0xc(r27) -/* 8002E9D0 0002B930 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 8002E9D4 0002B934 D0 1B 00 10 */ stfs f0, 0x10(r27) -/* 8002E9D8 0002B938 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 8002E9DC 0002B93C D0 1B 00 14 */ stfs f0, 0x14(r27) -/* 8002E9E0 0002B940 48 30 F1 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002E9E4 0002B944 28 1D 00 00 */ cmplwi r29, 0 -/* 8002E9E8 0002B948 41 82 00 58 */ beq lbl_8002EA40 -/* 8002E9EC 0002B94C 7F A3 EB 78 */ mr r3, r29 -/* 8002E9F0 0002B950 48 30 F0 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002E9F4 0002B954 48 00 00 4C */ b lbl_8002EA40 -lbl_8002E9F8: -/* 8002E9F8 0002B958 38 61 00 1C */ addi r3, r1, 0x1c -/* 8002E9FC 0002B95C 48 30 F0 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002EA00 0002B960 28 1D 00 00 */ cmplwi r29, 0 -/* 8002EA04 0002B964 41 82 00 0C */ beq lbl_8002EA10 -/* 8002EA08 0002B968 7F A3 EB 78 */ mr r3, r29 -/* 8002EA0C 0002B96C 48 30 F0 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002EA10: -/* 8002EA10 0002B970 C0 1C 01 08 */ lfs f0, 0x108(r28) -/* 8002EA14 0002B974 D0 1B 00 00 */ stfs f0, 0(r27) -/* 8002EA18 0002B978 C0 1C 01 0C */ lfs f0, 0x10c(r28) -/* 8002EA1C 0002B97C D0 1B 00 04 */ stfs f0, 4(r27) -/* 8002EA20 0002B980 C0 1C 01 10 */ lfs f0, 0x110(r28) -/* 8002EA24 0002B984 D0 1B 00 08 */ stfs f0, 8(r27) -/* 8002EA28 0002B988 C0 1C 01 14 */ lfs f0, 0x114(r28) -/* 8002EA2C 0002B98C D0 1B 00 0C */ stfs f0, 0xc(r27) -/* 8002EA30 0002B990 C0 1C 01 18 */ lfs f0, 0x118(r28) -/* 8002EA34 0002B994 D0 1B 00 10 */ stfs f0, 0x10(r27) -/* 8002EA38 0002B998 C0 1C 01 1C */ lfs f0, 0x11c(r28) -/* 8002EA3C 0002B99C D0 1B 00 14 */ stfs f0, 0x14(r27) -lbl_8002EA40: -/* 8002EA40 0002B9A0 BB 61 00 AC */ lmw r27, 0xac(r1) -/* 8002EA44 0002B9A4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8002EA48 0002B9A8 7C 08 03 A6 */ mtlr r0 -/* 8002EA4C 0002B9AC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8002EA50 0002B9B0 4E 80 00 20 */ blr - -.global sub_8002ea54 -sub_8002ea54: -/* 8002EA54 0002B9B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002EA58 0002B9B8 7C 08 02 A6 */ mflr r0 -/* 8002EA5C 0002B9BC 7C A6 2B 78 */ mr r6, r5 -/* 8002EA60 0002B9C0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002EA64 0002B9C4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8002EA68 0002B9C8 89 21 00 08 */ lbz r9, 8(r1) -/* 8002EA6C 0002B9CC 38 E1 00 10 */ addi r7, r1, 0x10 -/* 8002EA70 0002B9D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002EA74 0002B9D4 7C 7F 1B 78 */ mr r31, r3 -/* 8002EA78 0002B9D8 80 04 00 04 */ lwz r0, 4(r4) -/* 8002EA7C 0002B9DC 81 04 00 0C */ lwz r8, 0xc(r4) -/* 8002EA80 0002B9E0 38 81 00 20 */ addi r4, r1, 0x20 -/* 8002EA84 0002B9E4 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002EA88 0002B9E8 99 21 00 0C */ stb r9, 0xc(r1) -/* 8002EA8C 0002B9EC 91 01 00 1C */ stw r8, 0x1c(r1) -/* 8002EA90 0002B9F0 7C 08 02 14 */ add r0, r8, r0 -/* 8002EA94 0002B9F4 99 21 00 10 */ stb r9, 0x10(r1) -/* 8002EA98 0002B9F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002EA9C 0002B9FC 90 01 00 18 */ stw r0, 0x18(r1) -/* 8002EAA0 0002BA00 91 01 00 20 */ stw r8, 0x20(r1) -/* 8002EAA4 0002BA04 48 00 00 19 */ bl sub_8002eabc -/* 8002EAA8 0002BA08 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002EAAC 0002BA0C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002EAB0 0002BA10 7C 08 03 A6 */ mtlr r0 -/* 8002EAB4 0002BA14 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002EAB8 0002BA18 4E 80 00 20 */ blr - -.global sub_8002eabc -sub_8002eabc: -/* 8002EABC 0002BA1C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8002EAC0 0002BA20 7C 08 02 A6 */ mflr r0 -/* 8002EAC4 0002BA24 90 01 00 44 */ stw r0, 0x44(r1) -/* 8002EAC8 0002BA28 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8002EACC 0002BA2C 7C 7B 1B 78 */ mr r27, r3 -/* 8002EAD0 0002BA30 7C BC 2B 78 */ mr r28, r5 -/* 8002EAD4 0002BA34 7C FE 3B 78 */ mr r30, r7 -/* 8002EAD8 0002BA38 7C DD 33 78 */ mr r29, r6 -/* 8002EADC 0002BA3C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002EAE0 0002BA40 80 04 00 00 */ lwz r0, 0(r4) -/* 8002EAE4 0002BA44 88 87 00 00 */ lbz r4, 0(r7) -/* 8002EAE8 0002BA48 38 E1 00 08 */ addi r7, r1, 8 -/* 8002EAEC 0002BA4C 81 05 00 00 */ lwz r8, 0(r5) -/* 8002EAF0 0002BA50 38 A1 00 0C */ addi r5, r1, 0xc -/* 8002EAF4 0002BA54 98 81 00 08 */ stb r4, 8(r1) -/* 8002EAF8 0002BA58 38 81 00 10 */ addi r4, r1, 0x10 -/* 8002EAFC 0002BA5C 91 01 00 0C */ stw r8, 0xc(r1) -/* 8002EB00 0002BA60 90 01 00 10 */ stw r0, 0x10(r1) -/* 8002EB04 0002BA64 48 00 25 0D */ bl sub_80031010 -/* 8002EB08 0002BA68 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8002EB0C 0002BA6C 3B E0 00 00 */ li r31, 0 -/* 8002EB10 0002BA70 80 1C 00 00 */ lwz r0, 0(r28) -/* 8002EB14 0002BA74 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8002EB18 0002BA78 7C 05 00 40 */ cmplw r5, r0 -/* 8002EB1C 0002BA7C 41 82 00 1C */ beq lbl_8002EB38 -/* 8002EB20 0002BA80 7F C3 F3 78 */ mr r3, r30 -/* 8002EB24 0002BA84 7F A4 EB 78 */ mr r4, r29 -/* 8002EB28 0002BA88 48 00 00 41 */ bl sub_8002eb68 -/* 8002EB2C 0002BA8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8002EB30 0002BA90 40 82 00 08 */ bne lbl_8002EB38 -/* 8002EB34 0002BA94 3B E0 00 01 */ li r31, 1 -lbl_8002EB38: -/* 8002EB38 0002BA98 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8002EB3C 0002BA9C 41 82 00 0C */ beq lbl_8002EB48 -/* 8002EB40 0002BAA0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8002EB44 0002BAA4 48 00 00 08 */ b lbl_8002EB4C -lbl_8002EB48: -/* 8002EB48 0002BAA8 7F 83 E3 78 */ mr r3, r28 -lbl_8002EB4C: -/* 8002EB4C 0002BAAC 80 03 00 00 */ lwz r0, 0(r3) -/* 8002EB50 0002BAB0 90 1B 00 00 */ stw r0, 0(r27) -/* 8002EB54 0002BAB4 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8002EB58 0002BAB8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8002EB5C 0002BABC 7C 08 03 A6 */ mtlr r0 -/* 8002EB60 0002BAC0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8002EB64 0002BAC4 4E 80 00 20 */ blr - -.global sub_8002eb68 -sub_8002eb68: -/* 8002EB68 0002BAC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002EB6C 0002BACC 7C 08 02 A6 */ mflr r0 -/* 8002EB70 0002BAD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002EB74 0002BAD4 4B FF BB B5 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8002EB78 0002BAD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002EB7C 0002BADC 7C 08 03 A6 */ mtlr r0 -/* 8002EB80 0002BAE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002EB84 0002BAE4 4E 80 00 20 */ blr - -.global GetContributionOfHighestInfluence__13CAnimTreeNodeCFv -GetContributionOfHighestInfluence__13CAnimTreeNodeCFv: -/* 8002EB88 0002BAE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002EB8C 0002BAEC 7C 08 02 A6 */ mflr r0 -/* 8002EB90 0002BAF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002EB94 0002BAF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002EB98 0002BAF8 7C 7F 1B 78 */ mr r31, r3 -/* 8002EB9C 0002BAFC 81 84 00 00 */ lwz r12, 0(r4) -/* 8002EBA0 0002BB00 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8002EBA4 0002BB04 7D 89 03 A6 */ mtctr r12 -/* 8002EBA8 0002BB08 4E 80 04 21 */ bctrl -/* 8002EBAC 0002BB0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002EBB0 0002BB10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002EBB4 0002BB14 7C 08 03 A6 */ mtlr r0 -/* 8002EBB8 0002BB18 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002EBBC 0002BB1C 4E 80 00 20 */ blr - -.global __dt__9CAnimDataFv -__dt__9CAnimDataFv: -/* 8002EBC0 0002BB20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002EBC4 0002BB24 7C 08 02 A6 */ mflr r0 -/* 8002EBC8 0002BB28 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002EBCC 0002BB2C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8002EBD0 0002BB30 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002EBD4 0002BB34 7C 9F 23 78 */ mr r31, r4 -/* 8002EBD8 0002BB38 41 82 02 D4 */ beq lbl_8002EEAC -/* 8002EBDC 0002BB3C 80 6D A1 08 */ lwz r3, lbl_805A8CC8@sda21(r13) -/* 8002EBE0 0002BB40 34 03 FF FF */ addic. r0, r3, -1 -/* 8002EBE4 0002BB44 90 0D A1 08 */ stw r0, lbl_805A8CC8@sda21(r13) -/* 8002EBE8 0002BB48 40 82 01 34 */ bne lbl_8002ED1C -/* 8002EBEC 0002BB4C 3C 60 80 57 */ lis r3, lbl_8056A600@ha -/* 8002EBF0 0002BB50 3B 80 00 00 */ li r28, 0 -/* 8002EBF4 0002BB54 3B A3 A6 00 */ addi r29, r3, lbl_8056A600@l -/* 8002EBF8 0002BB58 3B 7D 00 04 */ addi r27, r29, 4 -/* 8002EBFC 0002BB5C 48 00 00 24 */ b lbl_8002EC20 -lbl_8002EC00: -/* 8002EC00 0002BB60 7F 63 DB 78 */ mr r3, r27 -/* 8002EC04 0002BB64 38 80 FF FF */ li r4, -1 -/* 8002EC08 0002BB68 81 9B 00 00 */ lwz r12, 0(r27) -/* 8002EC0C 0002BB6C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002EC10 0002BB70 7D 89 03 A6 */ mtctr r12 -/* 8002EC14 0002BB74 4E 80 04 21 */ bctrl -/* 8002EC18 0002BB78 3B 7B 00 3C */ addi r27, r27, 0x3c -/* 8002EC1C 0002BB7C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8002EC20: -/* 8002EC20 0002BB80 80 1D 00 00 */ lwz r0, 0(r29) -/* 8002EC24 0002BB84 7C 1C 00 00 */ cmpw r28, r0 -/* 8002EC28 0002BB88 41 80 FF D8 */ blt lbl_8002EC00 -/* 8002EC2C 0002BB8C 3C 60 80 57 */ lis r3, lbl_8056A600@ha -/* 8002EC30 0002BB90 3B 80 00 00 */ li r28, 0 -/* 8002EC34 0002BB94 38 83 A6 00 */ addi r4, r3, lbl_8056A600@l -/* 8002EC38 0002BB98 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8002EC3C 0002BB9C 93 84 00 00 */ stw r28, 0(r4) -/* 8002EC40 0002BBA0 3B A3 BD F4 */ addi r29, r3, lbl_8056BDF4@l -/* 8002EC44 0002BBA4 3B 7D 00 04 */ addi r27, r29, 4 -/* 8002EC48 0002BBA8 48 00 00 24 */ b lbl_8002EC6C -lbl_8002EC4C: -/* 8002EC4C 0002BBAC 7F 63 DB 78 */ mr r3, r27 -/* 8002EC50 0002BBB0 38 80 FF FF */ li r4, -1 -/* 8002EC54 0002BBB4 81 9B 00 00 */ lwz r12, 0(r27) -/* 8002EC58 0002BBB8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002EC5C 0002BBBC 7D 89 03 A6 */ mtctr r12 -/* 8002EC60 0002BBC0 4E 80 04 21 */ bctrl -/* 8002EC64 0002BBC4 3B 7B 00 4C */ addi r27, r27, 0x4c -/* 8002EC68 0002BBC8 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8002EC6C: -/* 8002EC6C 0002BBCC 80 1D 00 00 */ lwz r0, 0(r29) -/* 8002EC70 0002BBD0 7C 1C 00 00 */ cmpw r28, r0 -/* 8002EC74 0002BBD4 41 80 FF D8 */ blt lbl_8002EC4C -/* 8002EC78 0002BBD8 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8002EC7C 0002BBDC 3B 80 00 00 */ li r28, 0 -/* 8002EC80 0002BBE0 38 83 BD F4 */ addi r4, r3, lbl_8056BDF4@l -/* 8002EC84 0002BBE4 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha -/* 8002EC88 0002BBE8 93 84 00 00 */ stw r28, 0(r4) -/* 8002EC8C 0002BBEC 3B A3 C2 B8 */ addi r29, r3, lbl_8056C2B8@l -/* 8002EC90 0002BBF0 3B 7D 00 04 */ addi r27, r29, 4 -/* 8002EC94 0002BBF4 48 00 00 24 */ b lbl_8002ECB8 -lbl_8002EC98: -/* 8002EC98 0002BBF8 7F 63 DB 78 */ mr r3, r27 -/* 8002EC9C 0002BBFC 38 80 FF FF */ li r4, -1 -/* 8002ECA0 0002BC00 81 9B 00 00 */ lwz r12, 0(r27) -/* 8002ECA4 0002BC04 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002ECA8 0002BC08 7D 89 03 A6 */ mtctr r12 -/* 8002ECAC 0002BC0C 4E 80 04 21 */ bctrl -/* 8002ECB0 0002BC10 3B 7B 00 5C */ addi r27, r27, 0x5c -/* 8002ECB4 0002BC14 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8002ECB8: -/* 8002ECB8 0002BC18 80 1D 00 00 */ lwz r0, 0(r29) -/* 8002ECBC 0002BC1C 7C 1C 00 00 */ cmpw r28, r0 -/* 8002ECC0 0002BC20 41 80 FF D8 */ blt lbl_8002EC98 -/* 8002ECC4 0002BC24 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha -/* 8002ECC8 0002BC28 3B 80 00 00 */ li r28, 0 -/* 8002ECCC 0002BC2C 38 83 C2 B8 */ addi r4, r3, lbl_8056C2B8@l -/* 8002ECD0 0002BC30 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha -/* 8002ECD4 0002BC34 93 84 00 00 */ stw r28, 0(r4) -/* 8002ECD8 0002BC38 3B A3 C9 EC */ addi r29, r3, lbl_8056C9EC@l -/* 8002ECDC 0002BC3C 3B 7D 00 04 */ addi r27, r29, 4 -/* 8002ECE0 0002BC40 48 00 00 24 */ b lbl_8002ED04 -lbl_8002ECE4: -/* 8002ECE4 0002BC44 7F 63 DB 78 */ mr r3, r27 -/* 8002ECE8 0002BC48 38 80 FF FF */ li r4, -1 -/* 8002ECEC 0002BC4C 81 9B 00 00 */ lwz r12, 0(r27) -/* 8002ECF0 0002BC50 81 8C 00 08 */ lwz r12, 8(r12) -/* 8002ECF4 0002BC54 7D 89 03 A6 */ mtctr r12 -/* 8002ECF8 0002BC58 4E 80 04 21 */ bctrl -/* 8002ECFC 0002BC5C 3B 7B 00 44 */ addi r27, r27, 0x44 -/* 8002ED00 0002BC60 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8002ED04: -/* 8002ED04 0002BC64 80 1D 00 00 */ lwz r0, 0(r29) -/* 8002ED08 0002BC68 7C 1C 00 00 */ cmpw r28, r0 -/* 8002ED0C 0002BC6C 41 80 FF D8 */ blt lbl_8002ECE4 -/* 8002ED10 0002BC70 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha -/* 8002ED14 0002BC74 38 00 00 00 */ li r0, 0 -/* 8002ED18 0002BC78 90 03 C9 EC */ stw r0, lbl_8056C9EC@l(r3) -lbl_8002ED1C: -/* 8002ED1C 0002BC7C 34 1E 04 34 */ addic. r0, r30, 0x434 -/* 8002ED20 0002BC80 41 82 00 50 */ beq lbl_8002ED70 -/* 8002ED24 0002BC84 3B 7E 04 38 */ addi r27, r30, 0x438 -/* 8002ED28 0002BC88 3B 80 00 00 */ li r28, 0 -/* 8002ED2C 0002BC8C 48 00 00 30 */ b lbl_8002ED5C -lbl_8002ED30: -/* 8002ED30 0002BC90 28 1B 00 00 */ cmplwi r27, 0 -/* 8002ED34 0002BC94 41 82 00 20 */ beq lbl_8002ED54 -/* 8002ED38 0002BC98 34 1B 00 04 */ addic. r0, r27, 4 -/* 8002ED3C 0002BC9C 41 82 00 18 */ beq lbl_8002ED54 -/* 8002ED40 0002BCA0 34 7B 00 0C */ addic. r3, r27, 0xc -/* 8002ED44 0002BCA4 41 82 00 10 */ beq lbl_8002ED54 -/* 8002ED48 0002BCA8 28 03 00 00 */ cmplwi r3, 0 -/* 8002ED4C 0002BCAC 41 82 00 08 */ beq lbl_8002ED54 -/* 8002ED50 0002BCB0 48 00 22 51 */ bl sub_80030fa0 -lbl_8002ED54: -/* 8002ED54 0002BCB4 3B 7B 00 28 */ addi r27, r27, 0x28 -/* 8002ED58 0002BCB8 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8002ED5C: -/* 8002ED5C 0002BCBC 80 1E 04 34 */ lwz r0, 0x434(r30) -/* 8002ED60 0002BCC0 7C 1C 00 00 */ cmpw r28, r0 -/* 8002ED64 0002BCC4 41 80 FF CC */ blt lbl_8002ED30 -/* 8002ED68 0002BCC8 38 00 00 00 */ li r0, 0 -/* 8002ED6C 0002BCCC 90 1E 04 34 */ stw r0, 0x434(r30) -lbl_8002ED70: -/* 8002ED70 0002BCD0 38 7E 02 FC */ addi r3, r30, 0x2fc -/* 8002ED74 0002BCD4 38 80 FF FF */ li r4, -1 -/* 8002ED78 0002BCD8 48 00 08 41 */ bl __dt__21CHierarchyPoseBuilderFv -/* 8002ED7C 0002BCDC 34 1E 02 24 */ addic. r0, r30, 0x224 -/* 8002ED80 0002BCE0 41 82 00 10 */ beq lbl_8002ED90 -/* 8002ED84 0002BCE4 38 7E 02 24 */ addi r3, r30, 0x224 -/* 8002ED88 0002BCE8 38 80 FF FF */ li r4, -1 -/* 8002ED8C 0002BCEC 48 00 28 05 */ bl __dt__17CPoseAsTransformsFv -lbl_8002ED90: -/* 8002ED90 0002BCF0 34 1E 01 FC */ addic. r0, r30, 0x1fc -/* 8002ED94 0002BCF4 41 82 00 0C */ beq lbl_8002EDA0 -/* 8002ED98 0002BCF8 38 7E 01 FC */ addi r3, r30, 0x1fc -/* 8002ED9C 0002BCFC 48 00 26 C1 */ bl sub_8003145c -lbl_8002EDA0: -/* 8002EDA0 0002BD00 34 1E 01 F8 */ addic. r0, r30, 0x1f8 -/* 8002EDA4 0002BD04 41 82 00 14 */ beq lbl_8002EDB8 -/* 8002EDA8 0002BD08 34 1E 01 F8 */ addic. r0, r30, 0x1f8 -/* 8002EDAC 0002BD0C 41 82 00 0C */ beq lbl_8002EDB8 -/* 8002EDB0 0002BD10 38 7E 01 F8 */ addi r3, r30, 0x1f8 -/* 8002EDB4 0002BD14 48 00 21 ED */ bl sub_80030fa0 -lbl_8002EDB8: -/* 8002EDB8 0002BD18 38 7E 01 20 */ addi r3, r30, 0x120 -/* 8002EDBC 0002BD1C 38 80 FF FF */ li r4, -1 -/* 8002EDC0 0002BD20 48 08 B9 D5 */ bl __dt__17CParticleDatabaseFv -/* 8002EDC4 0002BD24 34 1E 01 00 */ addic. r0, r30, 0x100 -/* 8002EDC8 0002BD28 41 82 00 0C */ beq lbl_8002EDD4 -/* 8002EDCC 0002BD2C 38 7E 01 00 */ addi r3, r30, 0x100 -/* 8002EDD0 0002BD30 48 00 25 DD */ bl sub_800313ac -lbl_8002EDD4: -/* 8002EDD4 0002BD34 34 1E 00 FC */ addic. r0, r30, 0xfc -/* 8002EDD8 0002BD38 41 82 00 14 */ beq lbl_8002EDEC -/* 8002EDDC 0002BD3C 34 1E 00 FC */ addic. r0, r30, 0xfc -/* 8002EDE0 0002BD40 41 82 00 0C */ beq lbl_8002EDEC -/* 8002EDE4 0002BD44 38 7E 00 FC */ addi r3, r30, 0xfc -/* 8002EDE8 0002BD48 48 00 27 11 */ bl sub_800314f8 -lbl_8002EDEC: -/* 8002EDEC 0002BD4C 34 1E 00 F8 */ addic. r0, r30, 0xf8 -/* 8002EDF0 0002BD50 41 82 00 0C */ beq lbl_8002EDFC -/* 8002EDF4 0002BD54 38 7E 00 F8 */ addi r3, r30, 0xf8 -/* 8002EDF8 0002BD58 48 00 20 C9 */ bl sub_80030ec0 -lbl_8002EDFC: -/* 8002EDFC 0002BD5C 34 1E 00 F4 */ addic. r0, r30, 0xf4 -/* 8002EE00 0002BD60 41 82 00 0C */ beq lbl_8002EE0C -/* 8002EE04 0002BD64 38 7E 00 F4 */ addi r3, r30, 0xf4 -/* 8002EE08 0002BD68 48 00 20 B9 */ bl sub_80030ec0 -lbl_8002EE0C: -/* 8002EE0C 0002BD6C 34 1E 00 E4 */ addic. r0, r30, 0xe4 -/* 8002EE10 0002BD70 41 82 00 30 */ beq lbl_8002EE40 -/* 8002EE14 0002BD74 88 1E 00 F0 */ lbz r0, 0xf0(r30) -/* 8002EE18 0002BD78 28 00 00 00 */ cmplwi r0, 0 -/* 8002EE1C 0002BD7C 41 82 00 1C */ beq lbl_8002EE38 -/* 8002EE20 0002BD80 34 7E 00 E4 */ addic. r3, r30, 0xe4 -/* 8002EE24 0002BD84 41 82 00 14 */ beq lbl_8002EE38 -/* 8002EE28 0002BD88 28 03 00 00 */ cmplwi r3, 0 -/* 8002EE2C 0002BD8C 41 82 00 0C */ beq lbl_8002EE38 -/* 8002EE30 0002BD90 38 80 00 00 */ li r4, 0 -/* 8002EE34 0002BD94 48 31 20 0D */ bl __dt__6CTokenFv -lbl_8002EE38: -/* 8002EE38 0002BD98 38 00 00 00 */ li r0, 0 -/* 8002EE3C 0002BD9C 98 1E 00 F0 */ stb r0, 0xf0(r30) -lbl_8002EE40: -/* 8002EE40 0002BDA0 34 1E 00 D8 */ addic. r0, r30, 0xd8 -/* 8002EE44 0002BDA4 41 82 00 18 */ beq lbl_8002EE5C -/* 8002EE48 0002BDA8 34 1E 00 D8 */ addic. r0, r30, 0xd8 -/* 8002EE4C 0002BDAC 41 82 00 10 */ beq lbl_8002EE5C -/* 8002EE50 0002BDB0 38 7E 00 D8 */ addi r3, r30, 0xd8 -/* 8002EE54 0002BDB4 38 80 00 00 */ li r4, 0 -/* 8002EE58 0002BDB8 48 31 1F E9 */ bl __dt__6CTokenFv -lbl_8002EE5C: -/* 8002EE5C 0002BDBC 34 1E 00 CC */ addic. r0, r30, 0xcc -/* 8002EE60 0002BDC0 41 82 00 18 */ beq lbl_8002EE78 -/* 8002EE64 0002BDC4 34 1E 00 CC */ addic. r0, r30, 0xcc -/* 8002EE68 0002BDC8 41 82 00 10 */ beq lbl_8002EE78 -/* 8002EE6C 0002BDCC 38 7E 00 CC */ addi r3, r30, 0xcc -/* 8002EE70 0002BDD0 38 80 00 00 */ li r4, 0 -/* 8002EE74 0002BDD4 48 31 1F CD */ bl __dt__6CTokenFv -lbl_8002EE78: -/* 8002EE78 0002BDD8 38 7E 00 0C */ addi r3, r30, 0xc -/* 8002EE7C 0002BDDC 38 80 FF FF */ li r4, -1 -/* 8002EE80 0002BDE0 48 00 00 45 */ bl __dt__14CCharacterInfoFv -/* 8002EE84 0002BDE4 28 1E 00 00 */ cmplwi r30, 0 -/* 8002EE88 0002BDE8 41 82 00 14 */ beq lbl_8002EE9C -/* 8002EE8C 0002BDEC 41 82 00 10 */ beq lbl_8002EE9C -/* 8002EE90 0002BDF0 7F C3 F3 78 */ mr r3, r30 -/* 8002EE94 0002BDF4 38 80 00 00 */ li r4, 0 -/* 8002EE98 0002BDF8 48 31 1F A9 */ bl __dt__6CTokenFv -lbl_8002EE9C: -/* 8002EE9C 0002BDFC 7F E0 07 35 */ extsh. r0, r31 -/* 8002EEA0 0002BE00 40 81 00 0C */ ble lbl_8002EEAC -/* 8002EEA4 0002BE04 7F C3 F3 78 */ mr r3, r30 -/* 8002EEA8 0002BE08 48 2E 6A 89 */ bl Free__7CMemoryFPCv -lbl_8002EEAC: -/* 8002EEAC 0002BE0C 7F C3 F3 78 */ mr r3, r30 -/* 8002EEB0 0002BE10 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8002EEB4 0002BE14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002EEB8 0002BE18 7C 08 03 A6 */ mtlr r0 -/* 8002EEBC 0002BE1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002EEC0 0002BE20 4E 80 00 20 */ blr - -.global __dt__14CCharacterInfoFv -__dt__14CCharacterInfoFv: -/* 8002EEC4 0002BE24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002EEC8 0002BE28 7C 08 02 A6 */ mflr r0 -/* 8002EECC 0002BE2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002EED0 0002BE30 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002EED4 0002BE34 7C 9F 23 78 */ mr r31, r4 -/* 8002EED8 0002BE38 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002EEDC 0002BE3C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002EEE0 0002BE40 41 82 00 A8 */ beq lbl_8002EF88 -/* 8002EEE4 0002BE44 34 1E 00 B0 */ addic. r0, r30, 0xb0 -/* 8002EEE8 0002BE48 41 82 00 44 */ beq lbl_8002EF2C -/* 8002EEEC 0002BE4C 80 1E 00 B4 */ lwz r0, 0xb4(r30) -/* 8002EEF0 0002BE50 80 7E 00 BC */ lwz r3, 0xbc(r30) -/* 8002EEF4 0002BE54 54 00 10 3A */ slwi r0, r0, 2 -/* 8002EEF8 0002BE58 7C 03 02 14 */ add r0, r3, r0 -/* 8002EEFC 0002BE5C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8002EF00 0002BE60 7C 64 1B 78 */ mr r4, r3 -/* 8002EF04 0002BE64 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002EF08 0002BE68 90 01 00 10 */ stw r0, 0x10(r1) -/* 8002EF0C 0002BE6C 90 61 00 08 */ stw r3, 8(r1) -/* 8002EF10 0002BE70 48 00 00 08 */ b lbl_8002EF18 -lbl_8002EF14: -/* 8002EF14 0002BE74 38 84 00 04 */ addi r4, r4, 4 -lbl_8002EF18: -/* 8002EF18 0002BE78 7C 04 00 40 */ cmplw r4, r0 -/* 8002EF1C 0002BE7C 40 82 FF F8 */ bne lbl_8002EF14 -/* 8002EF20 0002BE80 28 03 00 00 */ cmplwi r3, 0 -/* 8002EF24 0002BE84 41 82 00 08 */ beq lbl_8002EF2C -/* 8002EF28 0002BE88 48 2E 6A 09 */ bl Free__7CMemoryFPCv -lbl_8002EF2C: -/* 8002EF2C 0002BE8C 38 7E 00 98 */ addi r3, r30, 0x98 -/* 8002EF30 0002BE90 38 80 FF FF */ li r4, -1 -/* 8002EF34 0002BE94 4B FF B9 D1 */ bl sub_8002a904 -/* 8002EF38 0002BE98 38 7E 00 88 */ addi r3, r30, 0x88 -/* 8002EF3C 0002BE9C 38 80 FF FF */ li r4, -1 -/* 8002EF40 0002BEA0 48 00 05 C9 */ bl "__dt__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fv" -/* 8002EF44 0002BEA4 38 7E 00 44 */ addi r3, r30, 0x44 -/* 8002EF48 0002BEA8 38 80 FF FF */ li r4, -1 -/* 8002EF4C 0002BEAC 48 00 04 51 */ bl __dt__Q214CCharacterInfo16CParticleResDataFv -/* 8002EF50 0002BEB0 38 7E 00 30 */ addi r3, r30, 0x30 -/* 8002EF54 0002BEB4 38 80 FF FF */ li r4, -1 -/* 8002EF58 0002BEB8 48 00 01 15 */ bl __dt__12CPASDatabaseFv -/* 8002EF5C 0002BEBC 38 7E 00 20 */ addi r3, r30, 0x20 -/* 8002EF60 0002BEC0 38 80 FF FF */ li r4, -1 -/* 8002EF64 0002BEC4 48 00 00 41 */ bl sub_8002efa4 -/* 8002EF68 0002BEC8 34 1E 00 04 */ addic. r0, r30, 4 -/* 8002EF6C 0002BECC 41 82 00 0C */ beq lbl_8002EF78 -/* 8002EF70 0002BED0 38 7E 00 04 */ addi r3, r30, 4 -/* 8002EF74 0002BED4 48 30 EB 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002EF78: -/* 8002EF78 0002BED8 7F E0 07 35 */ extsh. r0, r31 -/* 8002EF7C 0002BEDC 40 81 00 0C */ ble lbl_8002EF88 -/* 8002EF80 0002BEE0 7F C3 F3 78 */ mr r3, r30 -/* 8002EF84 0002BEE4 48 2E 69 AD */ bl Free__7CMemoryFPCv -lbl_8002EF88: -/* 8002EF88 0002BEE8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002EF8C 0002BEEC 7F C3 F3 78 */ mr r3, r30 -/* 8002EF90 0002BEF0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002EF94 0002BEF4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002EF98 0002BEF8 7C 08 03 A6 */ mtlr r0 -/* 8002EF9C 0002BEFC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002EFA0 0002BF00 4E 80 00 20 */ blr - -.global sub_8002efa4 -sub_8002efa4: -/* 8002EFA4 0002BF04 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002EFA8 0002BF08 7C 08 02 A6 */ mflr r0 -/* 8002EFAC 0002BF0C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002EFB0 0002BF10 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002EFB4 0002BF14 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8002EFB8 0002BF18 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8002EFBC 0002BF1C 7C 9D 23 78 */ mr r29, r4 -/* 8002EFC0 0002BF20 93 81 00 20 */ stw r28, 0x20(r1) -/* 8002EFC4 0002BF24 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8002EFC8 0002BF28 41 82 00 80 */ beq lbl_8002F048 -/* 8002EFCC 0002BF2C 80 1C 00 04 */ lwz r0, 4(r28) -/* 8002EFD0 0002BF30 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 8002EFD4 0002BF34 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8002EFD8 0002BF38 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8002EFDC 0002BF3C 7F FE 02 14 */ add r31, r30, r0 -/* 8002EFE0 0002BF40 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8002EFE4 0002BF44 93 E1 00 08 */ stw r31, 8(r1) -/* 8002EFE8 0002BF48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002EFEC 0002BF4C 48 00 00 34 */ b lbl_8002F020 -lbl_8002EFF0: -/* 8002EFF0 0002BF50 28 1E 00 00 */ cmplwi r30, 0 -/* 8002EFF4 0002BF54 41 82 00 28 */ beq lbl_8002F01C -/* 8002EFF8 0002BF58 34 1E 00 04 */ addic. r0, r30, 4 -/* 8002EFFC 0002BF5C 41 82 00 20 */ beq lbl_8002F01C -/* 8002F000 0002BF60 34 7E 00 14 */ addic. r3, r30, 0x14 -/* 8002F004 0002BF64 41 82 00 08 */ beq lbl_8002F00C -/* 8002F008 0002BF68 48 30 EA D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002F00C: -/* 8002F00C 0002BF6C 34 1E 00 04 */ addic. r0, r30, 4 -/* 8002F010 0002BF70 41 82 00 0C */ beq lbl_8002F01C -/* 8002F014 0002BF74 38 7E 00 04 */ addi r3, r30, 4 -/* 8002F018 0002BF78 48 30 EA C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002F01C: -/* 8002F01C 0002BF7C 3B DE 00 24 */ addi r30, r30, 0x24 -lbl_8002F020: -/* 8002F020 0002BF80 7C 1E F8 40 */ cmplw r30, r31 -/* 8002F024 0002BF84 40 82 FF CC */ bne lbl_8002EFF0 -/* 8002F028 0002BF88 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8002F02C 0002BF8C 28 03 00 00 */ cmplwi r3, 0 -/* 8002F030 0002BF90 41 82 00 08 */ beq lbl_8002F038 -/* 8002F034 0002BF94 48 2E 68 FD */ bl Free__7CMemoryFPCv -lbl_8002F038: -/* 8002F038 0002BF98 7F A0 07 35 */ extsh. r0, r29 -/* 8002F03C 0002BF9C 40 81 00 0C */ ble lbl_8002F048 -/* 8002F040 0002BFA0 7F 83 E3 78 */ mr r3, r28 -/* 8002F044 0002BFA4 48 2E 68 ED */ bl Free__7CMemoryFPCv -lbl_8002F048: -/* 8002F048 0002BFA8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002F04C 0002BFAC 7F 83 E3 78 */ mr r3, r28 -/* 8002F050 0002BFB0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002F054 0002BFB4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002F058 0002BFB8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8002F05C 0002BFBC 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8002F060 0002BFC0 7C 08 03 A6 */ mtlr r0 -/* 8002F064 0002BFC4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002F068 0002BFC8 4E 80 00 20 */ blr - -.global __dt__12CPASDatabaseFv -__dt__12CPASDatabaseFv: -/* 8002F06C 0002BFCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002F070 0002BFD0 7C 08 02 A6 */ mflr r0 -/* 8002F074 0002BFD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F078 0002BFD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002F07C 0002BFDC 7C 9F 23 78 */ mr r31, r4 -/* 8002F080 0002BFE0 93 C1 00 08 */ stw r30, 8(r1) -/* 8002F084 0002BFE4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F088 0002BFE8 41 82 00 1C */ beq lbl_8002F0A4 -/* 8002F08C 0002BFEC 38 80 FF FF */ li r4, -1 -/* 8002F090 0002BFF0 48 00 00 31 */ bl sub_8002f0c0 -/* 8002F094 0002BFF4 7F E0 07 35 */ extsh. r0, r31 -/* 8002F098 0002BFF8 40 81 00 0C */ ble lbl_8002F0A4 -/* 8002F09C 0002BFFC 7F C3 F3 78 */ mr r3, r30 -/* 8002F0A0 0002C000 48 2E 68 91 */ bl Free__7CMemoryFPCv -lbl_8002F0A4: -/* 8002F0A4 0002C004 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002F0A8 0002C008 7F C3 F3 78 */ mr r3, r30 -/* 8002F0AC 0002C00C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002F0B0 0002C010 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002F0B4 0002C014 7C 08 03 A6 */ mtlr r0 -/* 8002F0B8 0002C018 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002F0BC 0002C01C 4E 80 00 20 */ blr - -.global sub_8002f0c0 -sub_8002f0c0: -/* 8002F0C0 0002C020 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002F0C4 0002C024 7C 08 02 A6 */ mflr r0 -/* 8002F0C8 0002C028 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002F0CC 0002C02C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002F0D0 0002C030 7C 9F 23 78 */ mr r31, r4 -/* 8002F0D4 0002C034 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002F0D8 0002C038 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F0DC 0002C03C 41 82 00 54 */ beq lbl_8002F130 -/* 8002F0E0 0002C040 80 1E 00 04 */ lwz r0, 4(r30) -/* 8002F0E4 0002C044 38 61 00 14 */ addi r3, r1, 0x14 -/* 8002F0E8 0002C048 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8002F0EC 0002C04C 38 81 00 0C */ addi r4, r1, 0xc -/* 8002F0F0 0002C050 1C 00 00 34 */ mulli r0, r0, 0x34 -/* 8002F0F4 0002C054 7C A5 02 14 */ add r5, r5, r0 -/* 8002F0F8 0002C058 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8002F0FC 0002C05C 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8002F100 0002C060 90 A1 00 08 */ stw r5, 8(r1) -/* 8002F104 0002C064 90 01 00 10 */ stw r0, 0x10(r1) -/* 8002F108 0002C068 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F10C 0002C06C 48 00 00 41 */ bl sub_8002f14c -/* 8002F110 0002C070 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8002F114 0002C074 28 03 00 00 */ cmplwi r3, 0 -/* 8002F118 0002C078 41 82 00 08 */ beq lbl_8002F120 -/* 8002F11C 0002C07C 48 2E 68 15 */ bl Free__7CMemoryFPCv -lbl_8002F120: -/* 8002F120 0002C080 7F E0 07 35 */ extsh. r0, r31 -/* 8002F124 0002C084 40 81 00 0C */ ble lbl_8002F130 -/* 8002F128 0002C088 7F C3 F3 78 */ mr r3, r30 -/* 8002F12C 0002C08C 48 2E 68 05 */ bl Free__7CMemoryFPCv -lbl_8002F130: -/* 8002F130 0002C090 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002F134 0002C094 7F C3 F3 78 */ mr r3, r30 -/* 8002F138 0002C098 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002F13C 0002C09C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002F140 0002C0A0 7C 08 03 A6 */ mtlr r0 -/* 8002F144 0002C0A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002F148 0002C0A8 4E 80 00 20 */ blr - -.global sub_8002f14c -sub_8002f14c: -/* 8002F14C 0002C0AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002F150 0002C0B0 7C 08 02 A6 */ mflr r0 -/* 8002F154 0002C0B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F158 0002C0B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002F15C 0002C0BC 93 C1 00 08 */ stw r30, 8(r1) -/* 8002F160 0002C0C0 7C 9E 23 78 */ mr r30, r4 -/* 8002F164 0002C0C4 83 E3 00 00 */ lwz r31, 0(r3) -/* 8002F168 0002C0C8 48 00 00 10 */ b lbl_8002F178 -lbl_8002F16C: -/* 8002F16C 0002C0CC 7F E3 FB 78 */ mr r3, r31 -/* 8002F170 0002C0D0 48 00 00 2D */ bl sub_8002f19c -/* 8002F174 0002C0D4 3B FF 00 34 */ addi r31, r31, 0x34 -lbl_8002F178: -/* 8002F178 0002C0D8 80 1E 00 00 */ lwz r0, 0(r30) -/* 8002F17C 0002C0DC 7C 1F 00 40 */ cmplw r31, r0 -/* 8002F180 0002C0E0 40 82 FF EC */ bne lbl_8002F16C -/* 8002F184 0002C0E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002F188 0002C0E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002F18C 0002C0EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002F190 0002C0F0 7C 08 03 A6 */ mtlr r0 -/* 8002F194 0002C0F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002F198 0002C0F8 4E 80 00 20 */ blr - -.global sub_8002f19c -sub_8002f19c: -/* 8002F19C 0002C0FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002F1A0 0002C100 7C 08 02 A6 */ mflr r0 -/* 8002F1A4 0002C104 38 80 FF FF */ li r4, -1 -/* 8002F1A8 0002C108 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F1AC 0002C10C 48 00 00 15 */ bl "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" -/* 8002F1B0 0002C110 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002F1B4 0002C114 7C 08 03 A6 */ mtlr r0 -/* 8002F1B8 0002C118 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002F1BC 0002C11C 4E 80 00 20 */ blr - -.global "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" -"__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv": -/* 8002F1C0 0002C120 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002F1C4 0002C124 7C 08 02 A6 */ mflr r0 -/* 8002F1C8 0002C128 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002F1CC 0002C12C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002F1D0 0002C130 7C 9F 23 78 */ mr r31, r4 -/* 8002F1D4 0002C134 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8002F1D8 0002C138 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F1DC 0002C13C 41 82 00 B0 */ beq lbl_8002F28C -/* 8002F1E0 0002C140 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 8002F1E4 0002C144 41 82 00 44 */ beq lbl_8002F228 -/* 8002F1E8 0002C148 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 8002F1EC 0002C14C 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8002F1F0 0002C150 54 00 10 3A */ slwi r0, r0, 2 -/* 8002F1F4 0002C154 7C 03 02 14 */ add r0, r3, r0 -/* 8002F1F8 0002C158 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8002F1FC 0002C15C 7C 64 1B 78 */ mr r4, r3 -/* 8002F200 0002C160 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002F204 0002C164 90 01 00 20 */ stw r0, 0x20(r1) -/* 8002F208 0002C168 90 61 00 18 */ stw r3, 0x18(r1) -/* 8002F20C 0002C16C 48 00 00 08 */ b lbl_8002F214 -lbl_8002F210: -/* 8002F210 0002C170 38 84 00 04 */ addi r4, r4, 4 -lbl_8002F214: -/* 8002F214 0002C174 7C 04 00 40 */ cmplw r4, r0 -/* 8002F218 0002C178 40 82 FF F8 */ bne lbl_8002F210 -/* 8002F21C 0002C17C 28 03 00 00 */ cmplwi r3, 0 -/* 8002F220 0002C180 41 82 00 08 */ beq lbl_8002F228 -/* 8002F224 0002C184 48 2E 67 0D */ bl Free__7CMemoryFPCv -lbl_8002F228: -/* 8002F228 0002C188 38 7E 00 14 */ addi r3, r30, 0x14 -/* 8002F22C 0002C18C 38 80 FF FF */ li r4, -1 -/* 8002F230 0002C190 48 00 00 79 */ bl sub_8002f2a8 -/* 8002F234 0002C194 34 1E 00 04 */ addic. r0, r30, 4 -/* 8002F238 0002C198 41 82 00 44 */ beq lbl_8002F27C -/* 8002F23C 0002C19C 80 1E 00 08 */ lwz r0, 8(r30) -/* 8002F240 0002C1A0 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8002F244 0002C1A4 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8002F248 0002C1A8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8002F24C 0002C1AC 7C 64 1B 78 */ mr r4, r3 -/* 8002F250 0002C1B0 7C 03 02 14 */ add r0, r3, r0 -/* 8002F254 0002C1B4 90 61 00 08 */ stw r3, 8(r1) -/* 8002F258 0002C1B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F25C 0002C1BC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8002F260 0002C1C0 48 00 00 08 */ b lbl_8002F268 -lbl_8002F264: -/* 8002F264 0002C1C4 38 84 00 14 */ addi r4, r4, 0x14 -lbl_8002F268: -/* 8002F268 0002C1C8 7C 04 00 40 */ cmplw r4, r0 -/* 8002F26C 0002C1CC 40 82 FF F8 */ bne lbl_8002F264 -/* 8002F270 0002C1D0 28 03 00 00 */ cmplwi r3, 0 -/* 8002F274 0002C1D4 41 82 00 08 */ beq lbl_8002F27C -/* 8002F278 0002C1D8 48 2E 66 B9 */ bl Free__7CMemoryFPCv -lbl_8002F27C: -/* 8002F27C 0002C1DC 7F E0 07 35 */ extsh. r0, r31 -/* 8002F280 0002C1E0 40 81 00 0C */ ble lbl_8002F28C -/* 8002F284 0002C1E4 7F C3 F3 78 */ mr r3, r30 -/* 8002F288 0002C1E8 48 2E 66 A9 */ bl Free__7CMemoryFPCv -lbl_8002F28C: -/* 8002F28C 0002C1EC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002F290 0002C1F0 7F C3 F3 78 */ mr r3, r30 -/* 8002F294 0002C1F4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002F298 0002C1F8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002F29C 0002C1FC 7C 08 03 A6 */ mtlr r0 -/* 8002F2A0 0002C200 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002F2A4 0002C204 4E 80 00 20 */ blr - -.global sub_8002f2a8 -sub_8002f2a8: -/* 8002F2A8 0002C208 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8002F2AC 0002C20C 7C 08 02 A6 */ mflr r0 -/* 8002F2B0 0002C210 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002F2B4 0002C214 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8002F2B8 0002C218 7C 9F 23 78 */ mr r31, r4 -/* 8002F2BC 0002C21C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8002F2C0 0002C220 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F2C4 0002C224 41 82 00 BC */ beq lbl_8002F380 -/* 8002F2C8 0002C228 80 1E 00 04 */ lwz r0, 4(r30) -/* 8002F2CC 0002C22C 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8002F2D0 0002C230 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002F2D4 0002C234 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8002F2D8 0002C238 7C 66 02 14 */ add r3, r6, r0 -/* 8002F2DC 0002C23C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8002F2E0 0002C240 90 61 00 08 */ stw r3, 8(r1) -/* 8002F2E4 0002C244 90 61 00 0C */ stw r3, 0xc(r1) -/* 8002F2E8 0002C248 48 00 00 70 */ b lbl_8002F358 -lbl_8002F2EC: -/* 8002F2EC 0002C24C 28 06 00 00 */ cmplwi r6, 0 -/* 8002F2F0 0002C250 41 82 00 64 */ beq lbl_8002F354 -/* 8002F2F4 0002C254 34 06 00 04 */ addic. r0, r6, 4 -/* 8002F2F8 0002C258 41 82 00 5C */ beq lbl_8002F354 -/* 8002F2FC 0002C25C 80 E6 00 04 */ lwz r7, 4(r6) -/* 8002F300 0002C260 38 80 00 00 */ li r4, 0 -/* 8002F304 0002C264 2C 07 00 00 */ cmpwi r7, 0 -/* 8002F308 0002C268 40 81 00 44 */ ble lbl_8002F34C -/* 8002F30C 0002C26C 2C 07 00 08 */ cmpwi r7, 8 -/* 8002F310 0002C270 38 A7 FF F8 */ addi r5, r7, -8 -/* 8002F314 0002C274 40 81 00 20 */ ble lbl_8002F334 -/* 8002F318 0002C278 38 05 00 07 */ addi r0, r5, 7 -/* 8002F31C 0002C27C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8002F320 0002C280 7C 09 03 A6 */ mtctr r0 -/* 8002F324 0002C284 2C 05 00 00 */ cmpwi r5, 0 -/* 8002F328 0002C288 40 81 00 0C */ ble lbl_8002F334 -lbl_8002F32C: -/* 8002F32C 0002C28C 38 84 00 08 */ addi r4, r4, 8 -/* 8002F330 0002C290 42 00 FF FC */ bdnz lbl_8002F32C -lbl_8002F334: -/* 8002F334 0002C294 7C 04 38 50 */ subf r0, r4, r7 -/* 8002F338 0002C298 7C 09 03 A6 */ mtctr r0 -/* 8002F33C 0002C29C 7C 04 38 00 */ cmpw r4, r7 -/* 8002F340 0002C2A0 40 80 00 0C */ bge lbl_8002F34C -lbl_8002F344: -/* 8002F344 0002C2A4 38 84 00 01 */ addi r4, r4, 1 -/* 8002F348 0002C2A8 42 00 FF FC */ bdnz lbl_8002F344 -lbl_8002F34C: -/* 8002F34C 0002C2AC 38 00 00 00 */ li r0, 0 -/* 8002F350 0002C2B0 90 06 00 04 */ stw r0, 4(r6) -lbl_8002F354: -/* 8002F354 0002C2B4 38 C6 00 28 */ addi r6, r6, 0x28 -lbl_8002F358: -/* 8002F358 0002C2B8 7C 06 18 40 */ cmplw r6, r3 -/* 8002F35C 0002C2BC 40 82 FF 90 */ bne lbl_8002F2EC -/* 8002F360 0002C2C0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8002F364 0002C2C4 28 03 00 00 */ cmplwi r3, 0 -/* 8002F368 0002C2C8 41 82 00 08 */ beq lbl_8002F370 -/* 8002F36C 0002C2CC 48 2E 65 C5 */ bl Free__7CMemoryFPCv -lbl_8002F370: -/* 8002F370 0002C2D0 7F E0 07 35 */ extsh. r0, r31 -/* 8002F374 0002C2D4 40 81 00 0C */ ble lbl_8002F380 -/* 8002F378 0002C2D8 7F C3 F3 78 */ mr r3, r30 -/* 8002F37C 0002C2DC 48 2E 65 B5 */ bl Free__7CMemoryFPCv -lbl_8002F380: -/* 8002F380 0002C2E0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8002F384 0002C2E4 7F C3 F3 78 */ mr r3, r30 -/* 8002F388 0002C2E8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8002F38C 0002C2EC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8002F390 0002C2F0 7C 08 03 A6 */ mtlr r0 -/* 8002F394 0002C2F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8002F398 0002C2F8 4E 80 00 20 */ blr - -.global __dt__Q214CCharacterInfo16CParticleResDataFv -__dt__Q214CCharacterInfo16CParticleResDataFv: -/* 8002F39C 0002C2FC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8002F3A0 0002C300 7C 08 02 A6 */ mflr r0 -/* 8002F3A4 0002C304 90 01 00 54 */ stw r0, 0x54(r1) -/* 8002F3A8 0002C308 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8002F3AC 0002C30C 7C 9F 23 78 */ mr r31, r4 -/* 8002F3B0 0002C310 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8002F3B4 0002C314 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F3B8 0002C318 41 82 01 34 */ beq lbl_8002F4EC -/* 8002F3BC 0002C31C 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 8002F3C0 0002C320 41 82 00 44 */ beq lbl_8002F404 -/* 8002F3C4 0002C324 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 8002F3C8 0002C328 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 8002F3CC 0002C32C 54 00 10 3A */ slwi r0, r0, 2 -/* 8002F3D0 0002C330 7C 03 02 14 */ add r0, r3, r0 -/* 8002F3D4 0002C334 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8002F3D8 0002C338 7C 64 1B 78 */ mr r4, r3 -/* 8002F3DC 0002C33C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8002F3E0 0002C340 90 01 00 40 */ stw r0, 0x40(r1) -/* 8002F3E4 0002C344 90 61 00 38 */ stw r3, 0x38(r1) -/* 8002F3E8 0002C348 48 00 00 08 */ b lbl_8002F3F0 -lbl_8002F3EC: -/* 8002F3EC 0002C34C 38 84 00 04 */ addi r4, r4, 4 -lbl_8002F3F0: -/* 8002F3F0 0002C350 7C 04 00 40 */ cmplw r4, r0 -/* 8002F3F4 0002C354 40 82 FF F8 */ bne lbl_8002F3EC -/* 8002F3F8 0002C358 28 03 00 00 */ cmplwi r3, 0 -/* 8002F3FC 0002C35C 41 82 00 08 */ beq lbl_8002F404 -/* 8002F400 0002C360 48 2E 65 31 */ bl Free__7CMemoryFPCv -lbl_8002F404: -/* 8002F404 0002C364 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 8002F408 0002C368 41 82 00 44 */ beq lbl_8002F44C -/* 8002F40C 0002C36C 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 8002F410 0002C370 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 8002F414 0002C374 54 00 10 3A */ slwi r0, r0, 2 -/* 8002F418 0002C378 7C 03 02 14 */ add r0, r3, r0 -/* 8002F41C 0002C37C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8002F420 0002C380 7C 64 1B 78 */ mr r4, r3 -/* 8002F424 0002C384 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002F428 0002C388 90 01 00 30 */ stw r0, 0x30(r1) -/* 8002F42C 0002C38C 90 61 00 28 */ stw r3, 0x28(r1) -/* 8002F430 0002C390 48 00 00 08 */ b lbl_8002F438 -lbl_8002F434: -/* 8002F434 0002C394 38 84 00 04 */ addi r4, r4, 4 -lbl_8002F438: -/* 8002F438 0002C398 7C 04 00 40 */ cmplw r4, r0 -/* 8002F43C 0002C39C 40 82 FF F8 */ bne lbl_8002F434 -/* 8002F440 0002C3A0 28 03 00 00 */ cmplwi r3, 0 -/* 8002F444 0002C3A4 41 82 00 08 */ beq lbl_8002F44C -/* 8002F448 0002C3A8 48 2E 64 E9 */ bl Free__7CMemoryFPCv -lbl_8002F44C: -/* 8002F44C 0002C3AC 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 8002F450 0002C3B0 41 82 00 44 */ beq lbl_8002F494 -/* 8002F454 0002C3B4 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8002F458 0002C3B8 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8002F45C 0002C3BC 54 00 10 3A */ slwi r0, r0, 2 -/* 8002F460 0002C3C0 7C 03 02 14 */ add r0, r3, r0 -/* 8002F464 0002C3C4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8002F468 0002C3C8 7C 64 1B 78 */ mr r4, r3 -/* 8002F46C 0002C3CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8002F470 0002C3D0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8002F474 0002C3D4 90 61 00 18 */ stw r3, 0x18(r1) -/* 8002F478 0002C3D8 48 00 00 08 */ b lbl_8002F480 -lbl_8002F47C: -/* 8002F47C 0002C3DC 38 84 00 04 */ addi r4, r4, 4 -lbl_8002F480: -/* 8002F480 0002C3E0 7C 04 00 40 */ cmplw r4, r0 -/* 8002F484 0002C3E4 40 82 FF F8 */ bne lbl_8002F47C -/* 8002F488 0002C3E8 28 03 00 00 */ cmplwi r3, 0 -/* 8002F48C 0002C3EC 41 82 00 08 */ beq lbl_8002F494 -/* 8002F490 0002C3F0 48 2E 64 A1 */ bl Free__7CMemoryFPCv -lbl_8002F494: -/* 8002F494 0002C3F4 28 1E 00 00 */ cmplwi r30, 0 -/* 8002F498 0002C3F8 41 82 00 44 */ beq lbl_8002F4DC -/* 8002F49C 0002C3FC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8002F4A0 0002C400 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8002F4A4 0002C404 54 00 10 3A */ slwi r0, r0, 2 -/* 8002F4A8 0002C408 7C 03 02 14 */ add r0, r3, r0 -/* 8002F4AC 0002C40C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8002F4B0 0002C410 7C 64 1B 78 */ mr r4, r3 -/* 8002F4B4 0002C414 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F4B8 0002C418 90 01 00 10 */ stw r0, 0x10(r1) -/* 8002F4BC 0002C41C 90 61 00 08 */ stw r3, 8(r1) -/* 8002F4C0 0002C420 48 00 00 08 */ b lbl_8002F4C8 -lbl_8002F4C4: -/* 8002F4C4 0002C424 38 84 00 04 */ addi r4, r4, 4 -lbl_8002F4C8: -/* 8002F4C8 0002C428 7C 04 00 40 */ cmplw r4, r0 -/* 8002F4CC 0002C42C 40 82 FF F8 */ bne lbl_8002F4C4 -/* 8002F4D0 0002C430 28 03 00 00 */ cmplwi r3, 0 -/* 8002F4D4 0002C434 41 82 00 08 */ beq lbl_8002F4DC -/* 8002F4D8 0002C438 48 2E 64 59 */ bl Free__7CMemoryFPCv -lbl_8002F4DC: -/* 8002F4DC 0002C43C 7F E0 07 35 */ extsh. r0, r31 -/* 8002F4E0 0002C440 40 81 00 0C */ ble lbl_8002F4EC -/* 8002F4E4 0002C444 7F C3 F3 78 */ mr r3, r30 -/* 8002F4E8 0002C448 48 2E 64 49 */ bl Free__7CMemoryFPCv -lbl_8002F4EC: -/* 8002F4EC 0002C44C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8002F4F0 0002C450 7F C3 F3 78 */ mr r3, r30 -/* 8002F4F4 0002C454 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8002F4F8 0002C458 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8002F4FC 0002C45C 7C 08 03 A6 */ mtlr r0 -/* 8002F500 0002C460 38 21 00 50 */ addi r1, r1, 0x50 -/* 8002F504 0002C464 4E 80 00 20 */ blr - -.global "__dt__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fv" -"__dt__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fv": -/* 8002F508 0002C468 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8002F50C 0002C46C 7C 08 02 A6 */ mflr r0 -/* 8002F510 0002C470 90 01 00 34 */ stw r0, 0x34(r1) -/* 8002F514 0002C474 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8002F518 0002C478 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8002F51C 0002C47C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8002F520 0002C480 7C 9D 23 78 */ mr r29, r4 -/* 8002F524 0002C484 93 81 00 20 */ stw r28, 0x20(r1) -/* 8002F528 0002C488 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8002F52C 0002C48C 41 82 00 68 */ beq lbl_8002F594 -/* 8002F530 0002C490 80 1C 00 04 */ lwz r0, 4(r28) -/* 8002F534 0002C494 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 8002F538 0002C498 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8002F53C 0002C49C 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8002F540 0002C4A0 7F FE 02 14 */ add r31, r30, r0 -/* 8002F544 0002C4A4 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8002F548 0002C4A8 93 E1 00 08 */ stw r31, 8(r1) -/* 8002F54C 0002C4AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002F550 0002C4B0 48 00 00 1C */ b lbl_8002F56C -lbl_8002F554: -/* 8002F554 0002C4B4 28 1E 00 00 */ cmplwi r30, 0 -/* 8002F558 0002C4B8 41 82 00 10 */ beq lbl_8002F568 -/* 8002F55C 0002C4BC 41 82 00 0C */ beq lbl_8002F568 -/* 8002F560 0002C4C0 7F C3 F3 78 */ mr r3, r30 -/* 8002F564 0002C4C4 48 30 E5 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002F568: -/* 8002F568 0002C4C8 3B DE 00 28 */ addi r30, r30, 0x28 -lbl_8002F56C: -/* 8002F56C 0002C4CC 7C 1E F8 40 */ cmplw r30, r31 -/* 8002F570 0002C4D0 40 82 FF E4 */ bne lbl_8002F554 -/* 8002F574 0002C4D4 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8002F578 0002C4D8 28 03 00 00 */ cmplwi r3, 0 -/* 8002F57C 0002C4DC 41 82 00 08 */ beq lbl_8002F584 -/* 8002F580 0002C4E0 48 2E 63 B1 */ bl Free__7CMemoryFPCv -lbl_8002F584: -/* 8002F584 0002C4E4 7F A0 07 35 */ extsh. r0, r29 -/* 8002F588 0002C4E8 40 81 00 0C */ ble lbl_8002F594 -/* 8002F58C 0002C4EC 7F 83 E3 78 */ mr r3, r28 -/* 8002F590 0002C4F0 48 2E 63 A1 */ bl Free__7CMemoryFPCv -lbl_8002F594: -/* 8002F594 0002C4F4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8002F598 0002C4F8 7F 83 E3 78 */ mr r3, r28 -/* 8002F59C 0002C4FC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8002F5A0 0002C500 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8002F5A4 0002C504 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8002F5A8 0002C508 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8002F5AC 0002C50C 7C 08 03 A6 */ mtlr r0 -/* 8002F5B0 0002C510 38 21 00 30 */ addi r1, r1, 0x30 -/* 8002F5B4 0002C514 4E 80 00 20 */ blr - -.global __dt__21CHierarchyPoseBuilderFv -__dt__21CHierarchyPoseBuilderFv: -/* 8002F5B8 0002C518 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002F5BC 0002C51C 7C 08 02 A6 */ mflr r0 -/* 8002F5C0 0002C520 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F5C4 0002C524 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002F5C8 0002C528 7C 9F 23 78 */ mr r31, r4 -/* 8002F5CC 0002C52C 93 C1 00 08 */ stw r30, 8(r1) -/* 8002F5D0 0002C530 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F5D4 0002C534 41 82 00 48 */ beq lbl_8002F61C -/* 8002F5D8 0002C538 38 7E 00 38 */ addi r3, r30, 0x38 -/* 8002F5DC 0002C53C 38 80 FF FF */ li r4, -1 -/* 8002F5E0 0002C540 48 00 20 7D */ bl sub_8003165c -/* 8002F5E4 0002C544 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 8002F5E8 0002C548 41 82 00 18 */ beq lbl_8002F600 -/* 8002F5EC 0002C54C 88 1E 00 34 */ lbz r0, 0x34(r30) -/* 8002F5F0 0002C550 28 00 00 00 */ cmplwi r0, 0 -/* 8002F5F4 0002C554 41 82 00 0C */ beq lbl_8002F600 -/* 8002F5F8 0002C558 38 00 00 00 */ li r0, 0 -/* 8002F5FC 0002C55C 98 1E 00 34 */ stb r0, 0x34(r30) -lbl_8002F600: -/* 8002F600 0002C560 7F C3 F3 78 */ mr r3, r30 -/* 8002F604 0002C564 38 80 FF FF */ li r4, -1 -/* 8002F608 0002C568 48 00 00 31 */ bl sub_8002f638 -/* 8002F60C 0002C56C 7F E0 07 35 */ extsh. r0, r31 -/* 8002F610 0002C570 40 81 00 0C */ ble lbl_8002F61C -/* 8002F614 0002C574 7F C3 F3 78 */ mr r3, r30 -/* 8002F618 0002C578 48 2E 63 19 */ bl Free__7CMemoryFPCv -lbl_8002F61C: -/* 8002F61C 0002C57C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002F620 0002C580 7F C3 F3 78 */ mr r3, r30 -/* 8002F624 0002C584 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002F628 0002C588 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002F62C 0002C58C 7C 08 03 A6 */ mtlr r0 -/* 8002F630 0002C590 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002F634 0002C594 4E 80 00 20 */ blr - -.global sub_8002f638 -sub_8002f638: -/* 8002F638 0002C598 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002F63C 0002C59C 7C 08 02 A6 */ mflr r0 -/* 8002F640 0002C5A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F644 0002C5A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002F648 0002C5A8 7C 9F 23 78 */ mr r31, r4 -/* 8002F64C 0002C5AC 93 C1 00 08 */ stw r30, 8(r1) -/* 8002F650 0002C5B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F654 0002C5B4 41 82 00 74 */ beq lbl_8002F6C8 -/* 8002F658 0002C5B8 34 1E 00 0C */ addic. r0, r30, 0xc -/* 8002F65C 0002C5BC 41 82 00 44 */ beq lbl_8002F6A0 -/* 8002F660 0002C5C0 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 8002F664 0002C5C4 28 00 00 00 */ cmplwi r0, 0 -/* 8002F668 0002C5C8 41 82 00 30 */ beq lbl_8002F698 -/* 8002F66C 0002C5CC 34 7E 00 0C */ addic. r3, r30, 0xc -/* 8002F670 0002C5D0 41 82 00 28 */ beq lbl_8002F698 -/* 8002F674 0002C5D4 34 03 00 10 */ addic. r0, r3, 0x10 -/* 8002F678 0002C5D8 41 82 00 0C */ beq lbl_8002F684 -/* 8002F67C 0002C5DC 38 00 00 00 */ li r0, 0 -/* 8002F680 0002C5E0 98 03 00 1C */ stb r0, 0x1c(r3) -lbl_8002F684: -/* 8002F684 0002C5E4 28 03 00 00 */ cmplwi r3, 0 -/* 8002F688 0002C5E8 41 82 00 10 */ beq lbl_8002F698 -/* 8002F68C 0002C5EC 41 82 00 0C */ beq lbl_8002F698 -/* 8002F690 0002C5F0 38 80 00 00 */ li r4, 0 -/* 8002F694 0002C5F4 48 31 17 AD */ bl __dt__6CTokenFv -lbl_8002F698: -/* 8002F698 0002C5F8 38 00 00 00 */ li r0, 0 -/* 8002F69C 0002C5FC 98 1E 00 2C */ stb r0, 0x2c(r30) -lbl_8002F6A0: -/* 8002F6A0 0002C600 28 1E 00 00 */ cmplwi r30, 0 -/* 8002F6A4 0002C604 41 82 00 14 */ beq lbl_8002F6B8 -/* 8002F6A8 0002C608 41 82 00 10 */ beq lbl_8002F6B8 -/* 8002F6AC 0002C60C 7F C3 F3 78 */ mr r3, r30 -/* 8002F6B0 0002C610 38 80 00 00 */ li r4, 0 -/* 8002F6B4 0002C614 48 31 17 8D */ bl __dt__6CTokenFv -lbl_8002F6B8: -/* 8002F6B8 0002C618 7F E0 07 35 */ extsh. r0, r31 -/* 8002F6BC 0002C61C 40 81 00 0C */ ble lbl_8002F6C8 -/* 8002F6C0 0002C620 7F C3 F3 78 */ mr r3, r30 -/* 8002F6C4 0002C624 48 2E 62 6D */ bl Free__7CMemoryFPCv -lbl_8002F6C8: -/* 8002F6C8 0002C628 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002F6CC 0002C62C 7F C3 F3 78 */ mr r3, r30 -/* 8002F6D0 0002C630 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002F6D4 0002C634 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002F6D8 0002C638 7C 08 03 A6 */ mtlr r0 -/* 8002F6DC 0002C63C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002F6E0 0002C640 4E 80 00 20 */ blr - -.global __dt__13CSoundPOINodeFv -__dt__13CSoundPOINodeFv: -/* 8002F6E4 0002C644 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002F6E8 0002C648 7C 08 02 A6 */ mflr r0 -/* 8002F6EC 0002C64C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F6F0 0002C650 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002F6F4 0002C654 7C 9F 23 78 */ mr r31, r4 -/* 8002F6F8 0002C658 93 C1 00 08 */ stw r30, 8(r1) -/* 8002F6FC 0002C65C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F700 0002C660 41 82 00 40 */ beq lbl_8002F740 -/* 8002F704 0002C664 3C 60 80 3E */ lis r3, lbl_803D9B80@ha -/* 8002F708 0002C668 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l -/* 8002F70C 0002C66C 90 1E 00 00 */ stw r0, 0(r30) -/* 8002F710 0002C670 41 82 00 20 */ beq lbl_8002F730 -/* 8002F714 0002C674 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 8002F718 0002C678 34 1E 00 08 */ addic. r0, r30, 8 -/* 8002F71C 0002C67C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l -/* 8002F720 0002C680 90 1E 00 00 */ stw r0, 0(r30) -/* 8002F724 0002C684 41 82 00 0C */ beq lbl_8002F730 -/* 8002F728 0002C688 38 7E 00 08 */ addi r3, r30, 8 -/* 8002F72C 0002C68C 48 30 E3 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002F730: -/* 8002F730 0002C690 7F E0 07 35 */ extsh. r0, r31 -/* 8002F734 0002C694 40 81 00 0C */ ble lbl_8002F740 -/* 8002F738 0002C698 7F C3 F3 78 */ mr r3, r30 -/* 8002F73C 0002C69C 48 2E 61 F5 */ bl Free__7CMemoryFPCv -lbl_8002F740: -/* 8002F740 0002C6A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002F744 0002C6A4 7F C3 F3 78 */ mr r3, r30 -/* 8002F748 0002C6A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002F74C 0002C6AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002F750 0002C6B0 7C 08 03 A6 */ mtlr r0 -/* 8002F754 0002C6B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002F758 0002C6B8 4E 80 00 20 */ blr - -.global __dt__16CParticlePOINodeFv -__dt__16CParticlePOINodeFv: -/* 8002F75C 0002C6BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002F760 0002C6C0 7C 08 02 A6 */ mflr r0 -/* 8002F764 0002C6C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F768 0002C6C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002F76C 0002C6CC 7C 9F 23 78 */ mr r31, r4 -/* 8002F770 0002C6D0 93 C1 00 08 */ stw r30, 8(r1) -/* 8002F774 0002C6D4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F778 0002C6D8 41 82 00 58 */ beq lbl_8002F7D0 -/* 8002F77C 0002C6DC 3C 60 80 3E */ lis r3, lbl_803D9B74@ha -/* 8002F780 0002C6E0 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 8002F784 0002C6E4 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l -/* 8002F788 0002C6E8 90 1E 00 00 */ stw r0, 0(r30) -/* 8002F78C 0002C6EC 41 82 00 10 */ beq lbl_8002F79C -/* 8002F790 0002C6F0 34 7E 00 44 */ addic. r3, r30, 0x44 -/* 8002F794 0002C6F4 41 82 00 08 */ beq lbl_8002F79C -/* 8002F798 0002C6F8 48 30 E3 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002F79C: -/* 8002F79C 0002C6FC 28 1E 00 00 */ cmplwi r30, 0 -/* 8002F7A0 0002C700 41 82 00 20 */ beq lbl_8002F7C0 -/* 8002F7A4 0002C704 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 8002F7A8 0002C708 34 1E 00 08 */ addic. r0, r30, 8 -/* 8002F7AC 0002C70C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l -/* 8002F7B0 0002C710 90 1E 00 00 */ stw r0, 0(r30) -/* 8002F7B4 0002C714 41 82 00 0C */ beq lbl_8002F7C0 -/* 8002F7B8 0002C718 38 7E 00 08 */ addi r3, r30, 8 -/* 8002F7BC 0002C71C 48 30 E3 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002F7C0: -/* 8002F7C0 0002C720 7F E0 07 35 */ extsh. r0, r31 -/* 8002F7C4 0002C724 40 81 00 0C */ ble lbl_8002F7D0 -/* 8002F7C8 0002C728 7F C3 F3 78 */ mr r3, r30 -/* 8002F7CC 0002C72C 48 2E 61 65 */ bl Free__7CMemoryFPCv -lbl_8002F7D0: -/* 8002F7D0 0002C730 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002F7D4 0002C734 7F C3 F3 78 */ mr r3, r30 -/* 8002F7D8 0002C738 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002F7DC 0002C73C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002F7E0 0002C740 7C 08 03 A6 */ mtlr r0 -/* 8002F7E4 0002C744 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002F7E8 0002C748 4E 80 00 20 */ blr - -.global __dt__12CBoolPOINodeFv -__dt__12CBoolPOINodeFv: -/* 8002F7EC 0002C74C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8002F7F0 0002C750 7C 08 02 A6 */ mflr r0 -/* 8002F7F4 0002C754 90 01 00 14 */ stw r0, 0x14(r1) -/* 8002F7F8 0002C758 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8002F7FC 0002C75C 7C 9F 23 78 */ mr r31, r4 -/* 8002F800 0002C760 93 C1 00 08 */ stw r30, 8(r1) -/* 8002F804 0002C764 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8002F808 0002C768 41 82 00 40 */ beq lbl_8002F848 -/* 8002F80C 0002C76C 3C 60 80 3E */ lis r3, lbl_803D9B68@ha -/* 8002F810 0002C770 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l -/* 8002F814 0002C774 90 1E 00 00 */ stw r0, 0(r30) -/* 8002F818 0002C778 41 82 00 20 */ beq lbl_8002F838 -/* 8002F81C 0002C77C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 8002F820 0002C780 34 1E 00 08 */ addic. r0, r30, 8 -/* 8002F824 0002C784 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l -/* 8002F828 0002C788 90 1E 00 00 */ stw r0, 0(r30) -/* 8002F82C 0002C78C 41 82 00 0C */ beq lbl_8002F838 -/* 8002F830 0002C790 38 7E 00 08 */ addi r3, r30, 8 -/* 8002F834 0002C794 48 30 E2 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002F838: -/* 8002F838 0002C798 7F E0 07 35 */ extsh. r0, r31 -/* 8002F83C 0002C79C 40 81 00 0C */ ble lbl_8002F848 -/* 8002F840 0002C7A0 7F C3 F3 78 */ mr r3, r30 -/* 8002F844 0002C7A4 48 2E 60 ED */ bl Free__7CMemoryFPCv -lbl_8002F848: -/* 8002F848 0002C7A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8002F84C 0002C7AC 7F C3 F3 78 */ mr r3, r30 -/* 8002F850 0002C7B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8002F854 0002C7B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8002F858 0002C7B8 7C 08 03 A6 */ mtlr r0 -/* 8002F85C 0002C7BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8002F860 0002C7C0 4E 80 00 20 */ blr - -.global "__ct__9CAnimDataFUiRC14CCharacterInfoiibRC31TLockedToken<15CCharLayoutInfo>RC23TToken<13CSkinnedModel>RCQ24rstl62optional_object<43TLockedToken<27CSkinnedModelWithAvgNormals>>RCQ24rstl27ncrc_ptr<15CAnimSysContext>RCQ24rstl27rc_ptr<17CAnimationManager>RCQ24rstl28rc_ptr<18CTransitionManager>RC33TLockedToken<17CCharacterFactory>" -"__ct__9CAnimDataFUiRC14CCharacterInfoiibRC31TLockedToken<15CCharLayoutInfo>RC23TToken<13CSkinnedModel>RCQ24rstl62optional_object<43TLockedToken<27CSkinnedModelWithAvgNormals>>RCQ24rstl27ncrc_ptr<15CAnimSysContext>RCQ24rstl27rc_ptr<17CAnimationManager>RCQ24rstl28rc_ptr<18CTransitionManager>RC33TLockedToken<17CCharacterFactory>": -/* 8002F864 0002C7C4 94 21 FB 90 */ stwu r1, -0x470(r1) -/* 8002F868 0002C7C8 7C 08 02 A6 */ mflr r0 -/* 8002F86C 0002C7CC 90 01 04 74 */ stw r0, 0x474(r1) -/* 8002F870 0002C7D0 BE 41 04 38 */ stmw r18, 0x438(r1) -/* 8002F874 0002C7D4 7C 7F 1B 78 */ mr r31, r3 -/* 8002F878 0002C7D8 7F E0 FB 78 */ mr r0, r31 -/* 8002F87C 0002C7DC 82 81 04 88 */ lwz r20, 0x488(r1) -/* 8002F880 0002C7E0 7C 95 23 78 */ mr r21, r4 -/* 8002F884 0002C7E4 83 81 04 78 */ lwz r28, 0x478(r1) -/* 8002F888 0002C7E8 83 61 04 7C */ lwz r27, 0x47c(r1) -/* 8002F88C 0002C7EC 7C BE 2B 78 */ mr r30, r5 -/* 8002F890 0002C7F0 83 41 04 80 */ lwz r26, 0x480(r1) -/* 8002F894 0002C7F4 7C DD 33 78 */ mr r29, r6 -/* 8002F898 0002C7F8 83 21 04 84 */ lwz r25, 0x484(r1) -/* 8002F89C 0002C7FC 7C F6 3B 78 */ mr r22, r7 -/* 8002F8A0 0002C800 7D 17 43 78 */ mr r23, r8 -/* 8002F8A4 0002C804 7D 38 4B 78 */ mr r24, r9 -/* 8002F8A8 0002C808 7D 53 53 78 */ mr r19, r10 -/* 8002F8AC 0002C80C 7C 12 03 78 */ mr r18, r0 -/* 8002F8B0 0002C810 7E 84 A3 78 */ mr r4, r20 -/* 8002F8B4 0002C814 48 31 15 F5 */ bl __ct__6CTokenFRC6CToken -/* 8002F8B8 0002C818 80 14 00 08 */ lwz r0, 8(r20) -/* 8002F8BC 0002C81C 7E 43 93 78 */ mr r3, r18 -/* 8002F8C0 0002C820 90 12 00 08 */ stw r0, 8(r18) -/* 8002F8C4 0002C824 48 31 14 C1 */ bl Lock__6CTokenFv -/* 8002F8C8 0002C828 7F C4 F3 78 */ mr r4, r30 -/* 8002F8CC 0002C82C 38 7F 00 0C */ addi r3, r31, 0xc -/* 8002F8D0 0002C830 48 00 0C 01 */ bl __ct__14CCharacterInfoFRC14CCharacterInfo -/* 8002F8D4 0002C834 3A 5F 00 CC */ addi r18, r31, 0xcc -/* 8002F8D8 0002C838 7F 04 C3 78 */ mr r4, r24 -/* 8002F8DC 0002C83C 7E 43 93 78 */ mr r3, r18 -/* 8002F8E0 0002C840 48 31 15 C9 */ bl __ct__6CTokenFRC6CToken -/* 8002F8E4 0002C844 80 18 00 08 */ lwz r0, 8(r24) -/* 8002F8E8 0002C848 7E 43 93 78 */ mr r3, r18 -/* 8002F8EC 0002C84C 90 12 00 08 */ stw r0, 8(r18) -/* 8002F8F0 0002C850 48 31 14 95 */ bl Lock__6CTokenFv -/* 8002F8F4 0002C854 3A 5F 00 D8 */ addi r18, r31, 0xd8 -/* 8002F8F8 0002C858 7E 64 9B 78 */ mr r4, r19 -/* 8002F8FC 0002C85C 7E 43 93 78 */ mr r3, r18 -/* 8002F900 0002C860 48 31 15 A9 */ bl __ct__6CTokenFRC6CToken -/* 8002F904 0002C864 7E 43 93 78 */ mr r3, r18 -/* 8002F908 0002C868 48 31 15 05 */ bl GetObj__6CTokenFv -/* 8002F90C 0002C86C 80 03 00 04 */ lwz r0, 4(r3) -/* 8002F910 0002C870 90 12 00 08 */ stw r0, 8(r18) -/* 8002F914 0002C874 88 1C 00 0C */ lbz r0, 0xc(r28) -/* 8002F918 0002C878 98 1F 00 F0 */ stb r0, 0xf0(r31) -/* 8002F91C 0002C87C 88 1C 00 0C */ lbz r0, 0xc(r28) -/* 8002F920 0002C880 28 00 00 00 */ cmplwi r0, 0 -/* 8002F924 0002C884 41 82 00 28 */ beq lbl_8002F94C -/* 8002F928 0002C888 36 9F 00 E4 */ addic. r20, r31, 0xe4 -/* 8002F92C 0002C88C 41 82 00 20 */ beq lbl_8002F94C -/* 8002F930 0002C890 7E 83 A3 78 */ mr r3, r20 -/* 8002F934 0002C894 7F 84 E3 78 */ mr r4, r28 -/* 8002F938 0002C898 48 31 15 71 */ bl __ct__6CTokenFRC6CToken -/* 8002F93C 0002C89C 80 1C 00 08 */ lwz r0, 8(r28) -/* 8002F940 0002C8A0 7E 83 A3 78 */ mr r3, r20 -/* 8002F944 0002C8A4 90 14 00 08 */ stw r0, 8(r20) -/* 8002F948 0002C8A8 48 31 14 3D */ bl Lock__6CTokenFv -lbl_8002F94C: -/* 8002F94C 0002C8AC 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002F950 0002C8B0 38 60 00 08 */ li r3, 8 -/* 8002F954 0002C8B4 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002F958 0002C8B8 38 A0 00 00 */ li r5, 0 -/* 8002F95C 0002C8BC 48 2E 5F 11 */ bl __nw__FUlPCcPCc -/* 8002F960 0002C8C0 28 03 00 00 */ cmplwi r3, 0 -/* 8002F964 0002C8C4 41 82 00 14 */ beq lbl_8002F978 -/* 8002F968 0002C8C8 38 80 00 00 */ li r4, 0 -/* 8002F96C 0002C8CC 38 00 00 01 */ li r0, 1 -/* 8002F970 0002C8D0 90 83 00 00 */ stw r4, 0(r3) -/* 8002F974 0002C8D4 90 03 00 04 */ stw r0, 4(r3) -lbl_8002F978: -/* 8002F978 0002C8D8 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002F97C 0002C8DC 90 7F 00 F4 */ stw r3, 0xf4(r31) -/* 8002F980 0002C8E0 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002F984 0002C8E4 38 60 00 08 */ li r3, 8 -/* 8002F988 0002C8E8 38 A0 00 00 */ li r5, 0 -/* 8002F98C 0002C8EC 48 2E 5E E1 */ bl __nw__FUlPCcPCc -/* 8002F990 0002C8F0 28 03 00 00 */ cmplwi r3, 0 -/* 8002F994 0002C8F4 41 82 00 14 */ beq lbl_8002F9A8 -/* 8002F998 0002C8F8 38 80 00 00 */ li r4, 0 -/* 8002F99C 0002C8FC 38 00 00 01 */ li r0, 1 -/* 8002F9A0 0002C900 90 83 00 00 */ stw r4, 0(r3) -/* 8002F9A4 0002C904 90 03 00 04 */ stw r0, 4(r3) -lbl_8002F9A8: -/* 8002F9A8 0002C908 90 7F 00 F8 */ stw r3, 0xf8(r31) -/* 8002F9AC 0002C90C 38 00 00 00 */ li r0, 0 -/* 8002F9B0 0002C910 3C 80 80 5A */ lis r4, lbl_805A6754@ha -/* 8002F9B4 0002C914 38 7F 01 20 */ addi r3, r31, 0x120 -/* 8002F9B8 0002C918 80 BB 00 00 */ lwz r5, 0(r27) -/* 8002F9BC 0002C91C 90 BF 00 FC */ stw r5, 0xfc(r31) -/* 8002F9C0 0002C920 80 DF 00 FC */ lwz r6, 0xfc(r31) -/* 8002F9C4 0002C924 80 A6 00 04 */ lwz r5, 4(r6) -/* 8002F9C8 0002C928 38 A5 00 01 */ addi r5, r5, 1 -/* 8002F9CC 0002C92C 90 A6 00 04 */ stw r5, 4(r6) -/* 8002F9D0 0002C930 80 BA 00 00 */ lwz r5, 0(r26) -/* 8002F9D4 0002C934 90 BF 01 00 */ stw r5, 0x100(r31) -/* 8002F9D8 0002C938 80 DF 01 00 */ lwz r6, 0x100(r31) -/* 8002F9DC 0002C93C 80 A6 00 04 */ lwz r5, 4(r6) -/* 8002F9E0 0002C940 38 A5 00 01 */ addi r5, r5, 1 -/* 8002F9E4 0002C944 90 A6 00 04 */ stw r5, 4(r6) -/* 8002F9E8 0002C948 90 1F 01 04 */ stw r0, 0x104(r31) -/* 8002F9EC 0002C94C C4 04 67 54 */ lfsu f0, lbl_805A6754@l(r4) -/* 8002F9F0 0002C950 D0 1F 01 08 */ stfs f0, 0x108(r31) -/* 8002F9F4 0002C954 C0 04 00 04 */ lfs f0, 4(r4) -/* 8002F9F8 0002C958 D0 1F 01 0C */ stfs f0, 0x10c(r31) -/* 8002F9FC 0002C95C C0 04 00 08 */ lfs f0, 8(r4) -/* 8002FA00 0002C960 D0 1F 01 10 */ stfs f0, 0x110(r31) -/* 8002FA04 0002C964 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8002FA08 0002C968 D0 1F 01 14 */ stfs f0, 0x114(r31) -/* 8002FA0C 0002C96C C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8002FA10 0002C970 D0 1F 01 18 */ stfs f0, 0x118(r31) -/* 8002FA14 0002C974 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8002FA18 0002C978 D0 1F 01 1C */ stfs f0, 0x11c(r31) -/* 8002FA1C 0002C97C 48 08 AF B9 */ bl __ct__17CParticleDatabaseFv -/* 8002FA20 0002C980 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8002FA24 0002C984 92 BF 01 D8 */ stw r21, 0x1d8(r31) -/* 8002FA28 0002C988 38 E3 66 A0 */ addi r7, r3, skZero3f@l -/* 8002FA2C 0002C98C 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 -/* 8002FA30 0002C990 C0 27 00 00 */ lfs f1, 0(r7) -/* 8002FA34 0002C994 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 8002FA38 0002C998 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l -/* 8002FA3C 0002C99C C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) -/* 8002FA40 0002C9A0 D0 3F 01 DC */ stfs f1, 0x1dc(r31) -/* 8002FA44 0002C9A4 38 A0 00 00 */ li r5, 0 -/* 8002FA48 0002C9A8 38 7F 02 24 */ addi r3, r31, 0x224 -/* 8002FA4C 0002C9AC C0 27 00 04 */ lfs f1, 4(r7) -/* 8002FA50 0002C9B0 D0 3F 01 E0 */ stfs f1, 0x1e0(r31) -/* 8002FA54 0002C9B4 C0 27 00 08 */ lfs f1, 8(r7) -/* 8002FA58 0002C9B8 D0 3F 01 E4 */ stfs f1, 0x1e4(r31) -/* 8002FA5C 0002C9BC C0 26 00 00 */ lfs f1, 0(r6) -/* 8002FA60 0002C9C0 D0 3F 01 E8 */ stfs f1, 0x1e8(r31) -/* 8002FA64 0002C9C4 C0 26 00 04 */ lfs f1, 4(r6) -/* 8002FA68 0002C9C8 D0 3F 01 EC */ stfs f1, 0x1ec(r31) -/* 8002FA6C 0002C9CC C0 26 00 08 */ lfs f1, 8(r6) -/* 8002FA70 0002C9D0 D0 3F 01 F0 */ stfs f1, 0x1f0(r31) -/* 8002FA74 0002C9D4 C0 26 00 0C */ lfs f1, 0xc(r6) -/* 8002FA78 0002C9D8 D0 3F 01 F4 */ stfs f1, 0x1f4(r31) -/* 8002FA7C 0002C9DC 90 1F 01 F8 */ stw r0, 0x1f8(r31) -/* 8002FA80 0002C9E0 80 FF 01 F8 */ lwz r7, 0x1f8(r31) -/* 8002FA84 0002C9E4 80 C7 00 04 */ lwz r6, 4(r7) -/* 8002FA88 0002C9E8 38 06 00 01 */ addi r0, r6, 1 -/* 8002FA8C 0002C9EC 90 07 00 04 */ stw r0, 4(r7) -/* 8002FA90 0002C9F0 80 19 00 00 */ lwz r0, 0(r25) -/* 8002FA94 0002C9F4 90 1F 01 FC */ stw r0, 0x1fc(r31) -/* 8002FA98 0002C9F8 80 FF 01 FC */ lwz r7, 0x1fc(r31) -/* 8002FA9C 0002C9FC 80 C7 00 04 */ lwz r6, 4(r7) -/* 8002FAA0 0002CA00 38 06 00 01 */ addi r0, r6, 1 -/* 8002FAA4 0002CA04 90 07 00 04 */ stw r0, 4(r7) -/* 8002FAA8 0002CA08 D0 1F 02 00 */ stfs f0, 0x200(r31) -/* 8002FAAC 0002CA0C 92 DF 02 04 */ stw r22, 0x204(r31) -/* 8002FAB0 0002CA10 B3 BF 02 08 */ sth r29, 0x208(r31) -/* 8002FAB4 0002CA14 90 BF 02 0C */ stw r5, 0x20c(r31) -/* 8002FAB8 0002CA18 90 BF 02 10 */ stw r5, 0x210(r31) -/* 8002FABC 0002CA1C 90 BF 02 14 */ stw r5, 0x214(r31) -/* 8002FAC0 0002CA20 90 BF 02 18 */ stw r5, 0x218(r31) -/* 8002FAC4 0002CA24 90 BF 02 1C */ stw r5, 0x21c(r31) -/* 8002FAC8 0002CA28 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002FACC 0002CA2C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8002FAD0 0002CA30 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002FAD4 0002CA34 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002FAD8 0002CA38 52 E0 36 72 */ rlwimi r0, r23, 6, 0x19, 0x19 -/* 8002FADC 0002CA3C 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002FAE0 0002CA40 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002FAE4 0002CA44 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 8002FAE8 0002CA48 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002FAEC 0002CA4C 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002FAF0 0002CA50 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8002FAF4 0002CA54 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002FAF8 0002CA58 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002FAFC 0002CA5C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8002FB00 0002CA60 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002FB04 0002CA64 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002FB08 0002CA68 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8002FB0C 0002CA6C 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002FB10 0002CA70 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002FB14 0002CA74 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 8002FB18 0002CA78 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002FB1C 0002CA7C 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8002FB20 0002CA80 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 8002FB24 0002CA84 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8002FB28 0002CA88 80 98 00 08 */ lwz r4, 8(r24) -/* 8002FB2C 0002CA8C 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8002FB30 0002CA90 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 8002FB34 0002CA94 48 33 94 FD */ bl __ct__17CPoseAsTransformsFUc -/* 8002FB38 0002CA98 3A 41 01 50 */ addi r18, r1, 0x150 -/* 8002FB3C 0002CA9C 7F 04 C3 78 */ mr r4, r24 -/* 8002FB40 0002CAA0 7E 43 93 78 */ mr r3, r18 -/* 8002FB44 0002CAA4 48 31 13 65 */ bl __ct__6CTokenFRC6CToken -/* 8002FB48 0002CAA8 80 18 00 08 */ lwz r0, 8(r24) -/* 8002FB4C 0002CAAC 7E 43 93 78 */ mr r3, r18 -/* 8002FB50 0002CAB0 90 01 01 58 */ stw r0, 0x158(r1) -/* 8002FB54 0002CAB4 48 31 12 31 */ bl Lock__6CTokenFv -/* 8002FB58 0002CAB8 38 00 00 00 */ li r0, 0 -/* 8002FB5C 0002CABC 38 7F 02 FC */ addi r3, r31, 0x2fc -/* 8002FB60 0002CAC0 98 01 01 7C */ stb r0, 0x17c(r1) -/* 8002FB64 0002CAC4 7E 44 93 78 */ mr r4, r18 -/* 8002FB68 0002CAC8 48 2C D0 21 */ bl __ct__21CHierarchyPoseBuilderFRC18CLayoutDescription -/* 8002FB6C 0002CACC 7E 43 93 78 */ mr r3, r18 -/* 8002FB70 0002CAD0 38 80 FF FF */ li r4, -1 -/* 8002FB74 0002CAD4 4B FF FA C5 */ bl sub_8002f638 -/* 8002FB78 0002CAD8 38 80 FF FF */ li r4, -1 -/* 8002FB7C 0002CADC C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) -/* 8002FB80 0002CAE0 90 9F 04 0C */ stw r4, 0x40c(r31) -/* 8002FB84 0002CAE4 38 60 00 01 */ li r3, 1 -/* 8002FB88 0002CAE8 38 00 00 00 */ li r0, 0 -/* 8002FB8C 0002CAEC 90 9F 04 10 */ stw r4, 0x410(r31) -/* 8002FB90 0002CAF0 D0 1F 04 14 */ stfs f0, 0x414(r31) -/* 8002FB94 0002CAF4 98 7F 04 18 */ stb r3, 0x418(r31) -/* 8002FB98 0002CAF8 90 1F 04 1C */ stw r0, 0x41c(r31) -/* 8002FB9C 0002CAFC 90 1F 04 20 */ stw r0, 0x420(r31) -/* 8002FBA0 0002CB00 98 1F 04 24 */ stb r0, 0x424(r31) -/* 8002FBA4 0002CB04 90 1F 04 28 */ stw r0, 0x428(r31) -/* 8002FBA8 0002CB08 90 1F 04 2C */ stw r0, 0x42c(r31) -/* 8002FBAC 0002CB0C 90 1F 04 30 */ stw r0, 0x430(r31) -/* 8002FBB0 0002CB10 90 1F 04 34 */ stw r0, 0x434(r31) -/* 8002FBB4 0002CB14 80 0D A1 08 */ lwz r0, lbl_805A8CC8@sda21(r13) -/* 8002FBB8 0002CB18 2C 00 00 00 */ cmpwi r0, 0 -/* 8002FBBC 0002CB1C 40 82 03 B0 */ bne lbl_8002FF6C -/* 8002FBC0 0002CB20 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002FBC4 0002CB24 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 8002FBC8 0002CB28 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002FBCC 0002CB2C 38 C1 00 14 */ addi r6, r1, 0x14 -/* 8002FBD0 0002CB30 38 84 00 07 */ addi r4, r4, 7 -/* 8002FBD4 0002CB34 38 A0 FF FF */ li r5, -1 -/* 8002FBD8 0002CB38 48 30 E5 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8002FBDC 0002CB3C C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) -/* 8002FBE0 0002CB40 38 61 00 38 */ addi r3, r1, 0x38 -/* 8002FBE4 0002CB44 48 31 92 09 */ bl __ct__13CCharAnimTimeFf -/* 8002FBE8 0002CB48 38 00 00 00 */ li r0, 0 -/* 8002FBEC 0002CB4C 7C 66 1B 78 */ mr r6, r3 -/* 8002FBF0 0002CB50 90 01 00 08 */ stw r0, 8(r1) -/* 8002FBF4 0002CB54 38 61 01 14 */ addi r3, r1, 0x114 -/* 8002FBF8 0002CB58 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) -/* 8002FBFC 0002CB5C 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 8002FC00 0002CB60 38 A0 00 01 */ li r5, 1 -/* 8002FC04 0002CB64 38 E0 FF FF */ li r7, -1 -/* 8002FC08 0002CB68 39 00 00 00 */ li r8, 0 -/* 8002FC0C 0002CB6C 39 20 FF FF */ li r9, -1 -/* 8002FC10 0002CB70 39 40 00 00 */ li r10, 0 -/* 8002FC14 0002CB74 48 00 08 71 */ bl "__ct__12CBoolPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiib" -/* 8002FC18 0002CB78 3C 60 80 57 */ lis r3, lbl_8056A600@ha -/* 8002FC1C 0002CB7C 38 63 A6 00 */ addi r3, r3, lbl_8056A600@l -/* 8002FC20 0002CB80 80 83 00 00 */ lwz r4, 0(r3) -/* 8002FC24 0002CB84 2C 04 00 08 */ cmpwi r4, 8 -/* 8002FC28 0002CB88 40 80 00 B8 */ bge lbl_8002FCE0 -/* 8002FC2C 0002CB8C 1C 04 00 3C */ mulli r0, r4, 0x3c -/* 8002FC30 0002CB90 23 44 00 08 */ subfic r26, r4, 8 -/* 8002FC34 0002CB94 3B 21 01 1C */ addi r25, r1, 0x11c -/* 8002FC38 0002CB98 3B 80 00 00 */ li r28, 0 -/* 8002FC3C 0002CB9C 7F 63 02 14 */ add r27, r3, r0 -/* 8002FC40 0002CBA0 3B 7B 00 04 */ addi r27, r27, 4 -/* 8002FC44 0002CBA4 48 00 00 88 */ b lbl_8002FCCC -lbl_8002FC48: -/* 8002FC48 0002CBA8 28 1B 00 00 */ cmplwi r27, 0 -/* 8002FC4C 0002CBAC 41 82 00 78 */ beq lbl_8002FCC4 -/* 8002FC50 0002CBB0 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 8002FC54 0002CBB4 A0 01 01 18 */ lhz r0, 0x118(r1) -/* 8002FC58 0002CBB8 38 63 9B 8C */ addi r3, r3, lbl_803D9B8C@l -/* 8002FC5C 0002CBBC 7F 24 CB 78 */ mr r4, r25 -/* 8002FC60 0002CBC0 90 7B 00 00 */ stw r3, 0(r27) -/* 8002FC64 0002CBC4 38 7B 00 08 */ addi r3, r27, 8 -/* 8002FC68 0002CBC8 B0 1B 00 04 */ sth r0, 4(r27) -/* 8002FC6C 0002CBCC 48 30 E4 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002FC70 0002CBD0 A0 01 01 2C */ lhz r0, 0x12c(r1) -/* 8002FC74 0002CBD4 3C 60 80 3E */ lis r3, lbl_803D9B68@ha -/* 8002FC78 0002CBD8 C0 01 01 30 */ lfs f0, 0x130(r1) -/* 8002FC7C 0002CBDC 38 63 9B 68 */ addi r3, r3, lbl_803D9B68@l -/* 8002FC80 0002CBE0 B0 1B 00 18 */ sth r0, 0x18(r27) -/* 8002FC84 0002CBE4 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8002FC88 0002CBE8 D0 1B 00 1C */ stfs f0, 0x1c(r27) -/* 8002FC8C 0002CBEC 80 81 01 38 */ lwz r4, 0x138(r1) -/* 8002FC90 0002CBF0 90 1B 00 20 */ stw r0, 0x20(r27) -/* 8002FC94 0002CBF4 88 01 01 3C */ lbz r0, 0x13c(r1) -/* 8002FC98 0002CBF8 90 9B 00 24 */ stw r4, 0x24(r27) -/* 8002FC9C 0002CBFC C0 01 01 40 */ lfs f0, 0x140(r1) -/* 8002FCA0 0002CC00 98 1B 00 28 */ stb r0, 0x28(r27) -/* 8002FCA4 0002CC04 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8002FCA8 0002CC08 D0 1B 00 2C */ stfs f0, 0x2c(r27) -/* 8002FCAC 0002CC0C 80 81 01 48 */ lwz r4, 0x148(r1) -/* 8002FCB0 0002CC10 90 1B 00 30 */ stw r0, 0x30(r27) -/* 8002FCB4 0002CC14 88 01 01 4C */ lbz r0, 0x14c(r1) -/* 8002FCB8 0002CC18 90 9B 00 34 */ stw r4, 0x34(r27) -/* 8002FCBC 0002CC1C 90 7B 00 00 */ stw r3, 0(r27) -/* 8002FCC0 0002CC20 98 1B 00 38 */ stb r0, 0x38(r27) -lbl_8002FCC4: -/* 8002FCC4 0002CC24 3B 9C 00 01 */ addi r28, r28, 1 -/* 8002FCC8 0002CC28 3B 7B 00 3C */ addi r27, r27, 0x3c -lbl_8002FCCC: -/* 8002FCCC 0002CC2C 7C 1C D0 00 */ cmpw r28, r26 -/* 8002FCD0 0002CC30 41 80 FF 78 */ blt lbl_8002FC48 -/* 8002FCD4 0002CC34 3C 60 80 57 */ lis r3, lbl_8056A600@ha -/* 8002FCD8 0002CC38 38 00 00 08 */ li r0, 8 -/* 8002FCDC 0002CC3C 90 03 A6 00 */ stw r0, lbl_8056A600@l(r3) -lbl_8002FCE0: -/* 8002FCE0 0002CC40 3C 60 80 3E */ lis r3, lbl_803D9B68@ha -/* 8002FCE4 0002CC44 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 8002FCE8 0002CC48 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l -/* 8002FCEC 0002CC4C 34 61 01 1C */ addic. r3, r1, 0x11c -/* 8002FCF0 0002CC50 90 01 01 14 */ stw r0, 0x114(r1) -/* 8002FCF4 0002CC54 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l -/* 8002FCF8 0002CC58 90 01 01 14 */ stw r0, 0x114(r1) -/* 8002FCFC 0002CC5C 41 82 00 08 */ beq lbl_8002FD04 -/* 8002FD00 0002CC60 48 30 DD E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002FD04: -/* 8002FD04 0002CC64 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 8002FD08 0002CC68 48 30 DD D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002FD0C 0002CC6C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002FD10 0002CC70 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8002FD14 0002CC74 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002FD18 0002CC78 38 84 00 07 */ addi r4, r4, 7 -/* 8002FD1C 0002CC7C 4B FD 4F 9D */ bl string_l__4rstlFPCc -/* 8002FD20 0002CC80 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002FD24 0002CC84 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8002FD28 0002CC88 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002FD2C 0002CC8C 38 84 00 08 */ addi r4, r4, 8 -/* 8002FD30 0002CC90 4B FD 4F 89 */ bl string_l__4rstlFPCc -/* 8002FD34 0002CC94 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) -/* 8002FD38 0002CC98 38 61 00 30 */ addi r3, r1, 0x30 -/* 8002FD3C 0002CC9C 48 31 90 B1 */ bl __ct__13CCharAnimTimeFf -/* 8002FD40 0002CCA0 38 00 00 00 */ li r0, 0 -/* 8002FD44 0002CCA4 7C 66 1B 78 */ mr r6, r3 -/* 8002FD48 0002CCA8 90 01 00 08 */ stw r0, 8(r1) -/* 8002FD4C 0002CCAC 38 01 00 B0 */ addi r0, r1, 0xb0 -/* 8002FD50 0002CCB0 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) -/* 8002FD54 0002CCB4 38 61 02 50 */ addi r3, r1, 0x250 -/* 8002FD58 0002CCB8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8002FD5C 0002CCBC 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 8002FD60 0002CCC0 38 A0 00 02 */ li r5, 2 -/* 8002FD64 0002CCC4 38 E0 FF FF */ li r7, -1 -/* 8002FD68 0002CCC8 39 00 00 00 */ li r8, 0 -/* 8002FD6C 0002CCCC 39 20 FF FF */ li r9, -1 -/* 8002FD70 0002CCD0 39 40 00 00 */ li r10, 0 -/* 8002FD74 0002CCD4 4B FF B6 19 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002FD78 0002CCD8 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8002FD7C 0002CCDC 38 A1 02 50 */ addi r5, r1, 0x250 -/* 8002FD80 0002CCE0 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l -/* 8002FD84 0002CCE4 38 80 00 10 */ li r4, 0x10 -/* 8002FD88 0002CCE8 4B FF E5 B9 */ bl "uninitialized_fill_n__4rstlFP13CInt32POINodeiRC13CInt32POINode" -/* 8002FD8C 0002CCEC 3C 80 80 3E */ lis r4, lbl_803D9B98@ha -/* 8002FD90 0002CCF0 34 61 02 8C */ addic. r3, r1, 0x28c -/* 8002FD94 0002CCF4 38 04 9B 98 */ addi r0, r4, lbl_803D9B98@l -/* 8002FD98 0002CCF8 90 01 02 50 */ stw r0, 0x250(r1) -/* 8002FD9C 0002CCFC 41 82 00 08 */ beq lbl_8002FDA4 -/* 8002FDA0 0002CD00 48 30 DD 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002FDA4: -/* 8002FDA4 0002CD04 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 8002FDA8 0002CD08 34 61 02 58 */ addic. r3, r1, 0x258 -/* 8002FDAC 0002CD0C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l -/* 8002FDB0 0002CD10 90 01 02 50 */ stw r0, 0x250(r1) -/* 8002FDB4 0002CD14 41 82 00 08 */ beq lbl_8002FDBC -/* 8002FDB8 0002CD18 48 30 DD 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002FDBC: -/* 8002FDBC 0002CD1C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8002FDC0 0002CD20 48 30 DD 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002FDC4 0002CD24 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8002FDC8 0002CD28 48 30 DD 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002FDCC 0002CD2C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002FDD0 0002CD30 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8002FDD4 0002CD34 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002FDD8 0002CD38 38 84 00 07 */ addi r4, r4, 7 -/* 8002FDDC 0002CD3C 4B FD 4E DD */ bl string_l__4rstlFPCc -/* 8002FDE0 0002CD40 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002FDE4 0002CD44 38 61 00 90 */ addi r3, r1, 0x90 -/* 8002FDE8 0002CD48 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002FDEC 0002CD4C 38 84 00 08 */ addi r4, r4, 8 -/* 8002FDF0 0002CD50 4B FD 4E C9 */ bl string_l__4rstlFPCc -/* 8002FDF4 0002CD54 38 00 00 00 */ li r0, 0 -/* 8002FDF8 0002CD58 3A 81 00 FC */ addi r20, r1, 0xfc -/* 8002FDFC 0002CD5C 90 01 00 F0 */ stw r0, 0xf0(r1) -/* 8002FE00 0002CD60 7E 83 A3 78 */ mr r3, r20 -/* 8002FE04 0002CD64 38 81 00 90 */ addi r4, r1, 0x90 -/* 8002FE08 0002CD68 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8002FE0C 0002CD6C 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 8002FE10 0002CD70 48 30 E3 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8002FE14 0002CD74 C0 02 83 D8 */ lfs f0, lbl_805AA0F8@sda21(r2) -/* 8002FE18 0002CD78 38 00 00 00 */ li r0, 0 -/* 8002FE1C 0002CD7C 90 01 01 10 */ stw r0, 0x110(r1) -/* 8002FE20 0002CD80 38 61 00 28 */ addi r3, r1, 0x28 -/* 8002FE24 0002CD84 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) -/* 8002FE28 0002CD88 D0 01 01 0C */ stfs f0, 0x10c(r1) -/* 8002FE2C 0002CD8C 48 31 8F C1 */ bl __ct__13CCharAnimTimeFf -/* 8002FE30 0002CD90 38 01 00 F0 */ addi r0, r1, 0xf0 -/* 8002FE34 0002CD94 7C 66 1B 78 */ mr r6, r3 -/* 8002FE38 0002CD98 90 01 00 08 */ stw r0, 8(r1) -/* 8002FE3C 0002CD9C 38 61 01 F4 */ addi r3, r1, 0x1f4 -/* 8002FE40 0002CDA0 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) -/* 8002FE44 0002CDA4 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 8002FE48 0002CDA8 38 A0 00 05 */ li r5, 5 -/* 8002FE4C 0002CDAC 38 E0 FF FF */ li r7, -1 -/* 8002FE50 0002CDB0 39 00 00 00 */ li r8, 0 -/* 8002FE54 0002CDB4 39 20 FF FF */ li r9, -1 -/* 8002FE58 0002CDB8 39 40 00 00 */ li r10, 0 -/* 8002FE5C 0002CDBC 48 00 05 AD */ bl sub_80030408 -/* 8002FE60 0002CDC0 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha -/* 8002FE64 0002CDC4 38 A1 01 F4 */ addi r5, r1, 0x1f4 -/* 8002FE68 0002CDC8 38 63 C2 B8 */ addi r3, r3, lbl_8056C2B8@l -/* 8002FE6C 0002CDCC 38 80 00 14 */ li r4, 0x14 -/* 8002FE70 0002CDD0 48 00 04 4D */ bl sub_800302bc -/* 8002FE74 0002CDD4 3C 60 80 3E */ lis r3, lbl_803D9B74@ha -/* 8002FE78 0002CDD8 34 81 02 2C */ addic. r4, r1, 0x22c -/* 8002FE7C 0002CDDC 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l -/* 8002FE80 0002CDE0 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 8002FE84 0002CDE4 41 82 00 10 */ beq lbl_8002FE94 -/* 8002FE88 0002CDE8 34 64 00 0C */ addic. r3, r4, 0xc -/* 8002FE8C 0002CDEC 41 82 00 08 */ beq lbl_8002FE94 -/* 8002FE90 0002CDF0 48 30 DC 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002FE94: -/* 8002FE94 0002CDF4 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 8002FE98 0002CDF8 34 61 01 FC */ addic. r3, r1, 0x1fc -/* 8002FE9C 0002CDFC 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l -/* 8002FEA0 0002CE00 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 8002FEA4 0002CE04 41 82 00 08 */ beq lbl_8002FEAC -/* 8002FEA8 0002CE08 48 30 DC 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002FEAC: -/* 8002FEAC 0002CE0C 28 14 00 00 */ cmplwi r20, 0 -/* 8002FEB0 0002CE10 41 82 00 0C */ beq lbl_8002FEBC -/* 8002FEB4 0002CE14 7E 83 A3 78 */ mr r3, r20 -/* 8002FEB8 0002CE18 48 30 DC 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002FEBC: -/* 8002FEBC 0002CE1C 38 61 00 90 */ addi r3, r1, 0x90 -/* 8002FEC0 0002CE20 48 30 DC 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002FEC4 0002CE24 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8002FEC8 0002CE28 48 30 DC 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8002FECC 0002CE2C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8002FED0 0002CE30 38 61 00 80 */ addi r3, r1, 0x80 -/* 8002FED4 0002CE34 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8002FED8 0002CE38 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8002FEDC 0002CE3C 38 84 00 07 */ addi r4, r4, 7 -/* 8002FEE0 0002CE40 38 A0 FF FF */ li r5, -1 -/* 8002FEE4 0002CE44 48 30 E2 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8002FEE8 0002CE48 C0 22 83 D0 */ lfs f1, lbl_805AA0F0@sda21(r2) -/* 8002FEEC 0002CE4C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8002FEF0 0002CE50 48 31 8E FD */ bl __ct__13CCharAnimTimeFf -/* 8002FEF4 0002CE54 C0 42 83 D0 */ lfs f2, lbl_805AA0F0@sda21(r2) -/* 8002FEF8 0002CE58 38 00 00 00 */ li r0, 0 -/* 8002FEFC 0002CE5C 7C 66 1B 78 */ mr r6, r3 -/* 8002FF00 0002CE60 C0 22 83 D8 */ lfs f1, lbl_805AA0F8@sda21(r2) -/* 8002FF04 0002CE64 FC 60 10 90 */ fmr f3, f2 -/* 8002FF08 0002CE68 90 01 00 08 */ stw r0, 8(r1) -/* 8002FF0C 0002CE6C 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 8002FF10 0002CE70 38 81 00 80 */ addi r4, r1, 0x80 -/* 8002FF14 0002CE74 38 A0 00 08 */ li r5, 8 -/* 8002FF18 0002CE78 38 E0 FF FF */ li r7, -1 -/* 8002FF1C 0002CE7C 39 00 00 00 */ li r8, 0 -/* 8002FF20 0002CE80 39 20 FF FF */ li r9, -1 -/* 8002FF24 0002CE84 39 40 00 00 */ li r10, 0 -/* 8002FF28 0002CE88 48 00 03 29 */ bl "__ct__13CSoundPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiff" -/* 8002FF2C 0002CE8C 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha -/* 8002FF30 0002CE90 38 A1 01 B0 */ addi r5, r1, 0x1b0 -/* 8002FF34 0002CE94 38 63 C9 EC */ addi r3, r3, lbl_8056C9EC@l -/* 8002FF38 0002CE98 38 80 00 14 */ li r4, 0x14 -/* 8002FF3C 0002CE9C 48 00 02 21 */ bl sub_8003015c -/* 8002FF40 0002CEA0 3C 60 80 3E */ lis r3, lbl_803D9B80@ha -/* 8002FF44 0002CEA4 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 8002FF48 0002CEA8 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l -/* 8002FF4C 0002CEAC 34 61 01 B8 */ addic. r3, r1, 0x1b8 -/* 8002FF50 0002CEB0 90 01 01 B0 */ stw r0, 0x1b0(r1) -/* 8002FF54 0002CEB4 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l -/* 8002FF58 0002CEB8 90 01 01 B0 */ stw r0, 0x1b0(r1) -/* 8002FF5C 0002CEBC 41 82 00 08 */ beq lbl_8002FF64 -/* 8002FF60 0002CEC0 48 30 DB 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002FF64: -/* 8002FF64 0002CEC4 38 61 00 80 */ addi r3, r1, 0x80 -/* 8002FF68 0002CEC8 48 30 DB 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8002FF6C: -/* 8002FF6C 0002CECC 80 6D A1 08 */ lwz r3, lbl_805A8CC8@sda21(r13) -/* 8002FF70 0002CED0 38 03 00 01 */ addi r0, r3, 1 -/* 8002FF74 0002CED4 90 0D A1 08 */ stw r0, lbl_805A8CC8@sda21(r13) -/* 8002FF78 0002CED8 80 7F 00 E0 */ lwz r3, 0xe0(r31) -/* 8002FF7C 0002CEDC 48 32 2C 9D */ bl CalculateDefault__13CSkinnedModelFv -/* 8002FF80 0002CEE0 80 7F 00 E0 */ lwz r3, 0xe0(r31) -/* 8002FF84 0002CEE4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8002FF88 0002CEE8 48 32 57 49 */ bl GetPositions__6CModelCFv -/* 8002FF8C 0002CEEC 3A A0 00 00 */ li r21, 0 -/* 8002FF90 0002CEF0 7C 74 1B 78 */ mr r20, r3 -/* 8002FF94 0002CEF4 48 00 00 18 */ b lbl_8002FFAC -lbl_8002FF98: -/* 8002FF98 0002CEF8 7E 84 A3 78 */ mr r4, r20 -/* 8002FF9C 0002CEFC 38 7F 01 08 */ addi r3, r31, 0x108 -/* 8002FFA0 0002CF00 48 30 7B 69 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8002FFA4 0002CF04 3A 94 00 0C */ addi r20, r20, 0xc -/* 8002FFA8 0002CF08 3A B5 00 01 */ addi r21, r21, 1 -lbl_8002FFAC: -/* 8002FFAC 0002CF0C 80 7F 00 E0 */ lwz r3, 0xe0(r31) -/* 8002FFB0 0002CF10 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8002FFB4 0002CF14 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8002FFB8 0002CF18 7C 15 00 00 */ cmpw r21, r0 -/* 8002FFBC 0002CF1C 41 80 FF DC */ blt lbl_8002FF98 -/* 8002FFC0 0002CF20 38 7F 01 20 */ addi r3, r31, 0x120 -/* 8002FFC4 0002CF24 38 9E 00 44 */ addi r4, r30, 0x44 -/* 8002FFC8 0002CF28 48 08 A2 CD */ bl CacheParticleDesc__17CParticleDatabaseFRCQ213CharacterInfo16CParticleResData -/* 8002FFCC 0002CF2C 3A 41 01 80 */ addi r18, r1, 0x180 -/* 8002FFD0 0002CF30 38 9F 00 CC */ addi r4, r31, 0xcc -/* 8002FFD4 0002CF34 7E 43 93 78 */ mr r3, r18 -/* 8002FFD8 0002CF38 48 31 0E D1 */ bl __ct__6CTokenFRC6CToken -/* 8002FFDC 0002CF3C 80 1F 00 D4 */ lwz r0, 0xd4(r31) -/* 8002FFE0 0002CF40 7E 43 93 78 */ mr r3, r18 -/* 8002FFE4 0002CF44 90 01 01 88 */ stw r0, 0x188(r1) -/* 8002FFE8 0002CF48 48 31 0D 9D */ bl Lock__6CTokenFv -/* 8002FFEC 0002CF4C 38 00 00 00 */ li r0, 0 -/* 8002FFF0 0002CF50 38 61 03 24 */ addi r3, r1, 0x324 -/* 8002FFF4 0002CF54 98 01 01 AC */ stb r0, 0x1ac(r1) -/* 8002FFF8 0002CF58 7E 44 93 78 */ mr r4, r18 -/* 8002FFFC 0002CF5C 48 2C CB 8D */ bl __ct__21CHierarchyPoseBuilderFRC18CLayoutDescription -/* 80030000 0002CF60 38 61 03 24 */ addi r3, r1, 0x324 -/* 80030004 0002CF64 38 9F 02 24 */ addi r4, r31, 0x224 -/* 80030008 0002CF68 48 2C C9 09 */ bl BuildNoScale__21CHierarchyPoseBuilderFR17CPoseAsTransforms -/* 8003000C 0002CF6C 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 80030010 0002CF70 38 60 00 01 */ li r3, 1 -/* 80030014 0002CF74 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80030018 0002CF78 2C 1D FF FF */ cmpwi r29, -1 -/* 8003001C 0002CF7C 98 1F 02 20 */ stb r0, 0x220(r31) -/* 80030020 0002CF80 7F B4 EB 78 */ mr r20, r29 -/* 80030024 0002CF84 40 82 00 84 */ bne lbl_800300A8 -/* 80030028 0002CF88 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8003002C 0002CF8C 38 61 00 70 */ addi r3, r1, 0x70 -/* 80030030 0002CF90 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 80030034 0002CF94 3A 80 00 00 */ li r20, 0 -/* 80030038 0002CF98 38 84 00 0D */ addi r4, r4, 0xd -/* 8003003C 0002CF9C 4B FD 4C 7D */ bl string_l__4rstlFPCc -/* 80030040 0002CFA0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80030044 0002CFA4 38 81 00 70 */ addi r4, r1, 0x70 -/* 80030048 0002CFA8 38 BE 00 04 */ addi r5, r30, 4 -/* 8003004C 0002CFAC 4B FD 4C 11 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80030050 0002CFB0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 80030054 0002CFB4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80030058 0002CFB8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8003005C 0002CFBC 38 84 00 18 */ addi r4, r4, 0x18 -/* 80030060 0002CFC0 4B FD 4C 59 */ bl string_l__4rstlFPCc -/* 80030064 0002CFC4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80030068 0002CFC8 38 81 00 60 */ addi r4, r1, 0x60 -/* 8003006C 0002CFCC 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80030070 0002CFD0 4B FD 4B ED */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80030074 0002CFD4 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80030078 0002CFD8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8003007C 0002CFDC 48 30 E0 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80030080 0002CFE0 38 61 00 40 */ addi r3, r1, 0x40 -/* 80030084 0002CFE4 48 30 DA 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80030088 0002CFE8 38 61 00 50 */ addi r3, r1, 0x50 -/* 8003008C 0002CFEC 48 30 DA 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80030090 0002CFF0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80030094 0002CFF4 48 30 DA 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80030098 0002CFF8 38 61 00 70 */ addi r3, r1, 0x70 -/* 8003009C 0002CFFC 48 30 DA 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800300A0 0002D000 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 800300A4 0002D004 48 30 DA 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800300A8: -/* 800300A8 0002D008 80 BE 00 BC */ lwz r5, 0xbc(r30) -/* 800300AC 0002D00C 56 80 10 3A */ slwi r0, r20, 2 -/* 800300B0 0002D010 7F E4 FB 78 */ mr r4, r31 -/* 800300B4 0002D014 38 61 00 1C */ addi r3, r1, 0x1c -/* 800300B8 0002D018 7E 85 00 2E */ lwzx r20, r5, r0 -/* 800300BC 0002D01C 4B FF A4 31 */ bl GetAnimationManager__9CAnimDataFv -/* 800300C0 0002D020 38 61 02 9C */ addi r3, r1, 0x29c -/* 800300C4 0002D024 48 2B 77 55 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv -/* 800300C8 0002D028 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 800300CC 0002D02C 7E 85 A3 78 */ mr r5, r20 -/* 800300D0 0002D030 38 61 00 18 */ addi r3, r1, 0x18 -/* 800300D4 0002D034 38 C1 02 9C */ addi r6, r1, 0x29c -/* 800300D8 0002D038 80 84 00 00 */ lwz r4, 0(r4) -/* 800300DC 0002D03C 48 2A 6D B5 */ bl GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders -/* 800300E0 0002D040 38 7F 01 F8 */ addi r3, r31, 0x1f8 -/* 800300E4 0002D044 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800300E8 0002D048 80 9F 01 F8 */ lwz r4, 0x1f8(r31) -/* 800300EC 0002D04C 7C 04 00 40 */ cmplw r4, r0 -/* 800300F0 0002D050 41 82 00 20 */ beq lbl_80030110 -/* 800300F4 0002D054 48 00 0E AD */ bl sub_80030fa0 -/* 800300F8 0002D058 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800300FC 0002D05C 90 1F 01 F8 */ stw r0, 0x1f8(r31) -/* 80030100 0002D060 80 9F 01 F8 */ lwz r4, 0x1f8(r31) -/* 80030104 0002D064 80 64 00 04 */ lwz r3, 4(r4) -/* 80030108 0002D068 38 03 00 01 */ addi r0, r3, 1 -/* 8003010C 0002D06C 90 04 00 04 */ stw r0, 4(r4) -lbl_80030110: -/* 80030110 0002D070 38 61 00 18 */ addi r3, r1, 0x18 -/* 80030114 0002D074 48 00 0E 8D */ bl sub_80030fa0 -/* 80030118 0002D078 38 00 00 00 */ li r0, 0 -/* 8003011C 0002D07C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80030120 0002D080 98 01 03 20 */ stb r0, 0x320(r1) -/* 80030124 0002D084 98 01 02 DC */ stb r0, 0x2dc(r1) -/* 80030128 0002D088 48 00 12 85 */ bl sub_800313ac -/* 8003012C 0002D08C 38 61 03 24 */ addi r3, r1, 0x324 -/* 80030130 0002D090 38 80 FF FF */ li r4, -1 -/* 80030134 0002D094 4B FF F4 85 */ bl __dt__21CHierarchyPoseBuilderFv -/* 80030138 0002D098 38 61 01 80 */ addi r3, r1, 0x180 -/* 8003013C 0002D09C 38 80 FF FF */ li r4, -1 -/* 80030140 0002D0A0 4B FF F4 F9 */ bl sub_8002f638 -/* 80030144 0002D0A4 7F E3 FB 78 */ mr r3, r31 -/* 80030148 0002D0A8 BA 41 04 38 */ lmw r18, 0x438(r1) -/* 8003014C 0002D0AC 80 01 04 74 */ lwz r0, 0x474(r1) -/* 80030150 0002D0B0 7C 08 03 A6 */ mtlr r0 -/* 80030154 0002D0B4 38 21 04 70 */ addi r1, r1, 0x470 -/* 80030158 0002D0B8 4E 80 00 20 */ blr - -.global sub_8003015c -sub_8003015c: -/* 8003015C 0002D0BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80030160 0002D0C0 7C 08 02 A6 */ mflr r0 -/* 80030164 0002D0C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80030168 0002D0C8 BF 41 00 08 */ stmw r26, 8(r1) -/* 8003016C 0002D0CC 7C 7C 1B 78 */ mr r28, r3 -/* 80030170 0002D0D0 7C 9D 23 78 */ mr r29, r4 -/* 80030174 0002D0D4 7C BE 2B 78 */ mr r30, r5 -/* 80030178 0002D0D8 80 63 00 00 */ lwz r3, 0(r3) -/* 8003017C 0002D0DC 7C 03 E8 00 */ cmpw r3, r29 -/* 80030180 0002D0E0 40 80 00 BC */ bge lbl_8003023C -/* 80030184 0002D0E4 1C 03 00 44 */ mulli r0, r3, 0x44 -/* 80030188 0002D0E8 7F E3 E8 50 */ subf r31, r3, r29 -/* 8003018C 0002D0EC 3B 60 00 00 */ li r27, 0 -/* 80030190 0002D0F0 7F 5C 02 14 */ add r26, r28, r0 -/* 80030194 0002D0F4 3B 5A 00 04 */ addi r26, r26, 4 -/* 80030198 0002D0F8 48 00 00 98 */ b lbl_80030230 -lbl_8003019C: -/* 8003019C 0002D0FC 28 1A 00 00 */ cmplwi r26, 0 -/* 800301A0 0002D100 41 82 00 88 */ beq lbl_80030228 -/* 800301A4 0002D104 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 800301A8 0002D108 38 7A 00 08 */ addi r3, r26, 8 -/* 800301AC 0002D10C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l -/* 800301B0 0002D110 38 9E 00 08 */ addi r4, r30, 8 -/* 800301B4 0002D114 90 1A 00 00 */ stw r0, 0(r26) -/* 800301B8 0002D118 A0 1E 00 04 */ lhz r0, 4(r30) -/* 800301BC 0002D11C B0 1A 00 04 */ sth r0, 4(r26) -/* 800301C0 0002D120 48 30 DF A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800301C4 0002D124 A0 9E 00 18 */ lhz r4, 0x18(r30) -/* 800301C8 0002D128 3C 60 80 3E */ lis r3, lbl_803D9B80@ha -/* 800301CC 0002D12C 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l -/* 800301D0 0002D130 B0 9A 00 18 */ sth r4, 0x18(r26) -/* 800301D4 0002D134 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 800301D8 0002D138 D0 1A 00 1C */ stfs f0, 0x1c(r26) -/* 800301DC 0002D13C 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 800301E0 0002D140 90 7A 00 20 */ stw r3, 0x20(r26) -/* 800301E4 0002D144 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 800301E8 0002D148 90 7A 00 24 */ stw r3, 0x24(r26) -/* 800301EC 0002D14C 88 7E 00 28 */ lbz r3, 0x28(r30) -/* 800301F0 0002D150 98 7A 00 28 */ stb r3, 0x28(r26) -/* 800301F4 0002D154 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 800301F8 0002D158 D0 1A 00 2C */ stfs f0, 0x2c(r26) -/* 800301FC 0002D15C 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 80030200 0002D160 90 7A 00 30 */ stw r3, 0x30(r26) -/* 80030204 0002D164 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 80030208 0002D168 90 7A 00 34 */ stw r3, 0x34(r26) -/* 8003020C 0002D16C 90 1A 00 00 */ stw r0, 0(r26) -/* 80030210 0002D170 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 80030214 0002D174 90 1A 00 38 */ stw r0, 0x38(r26) -/* 80030218 0002D178 C0 1E 00 3C */ lfs f0, 0x3c(r30) -/* 8003021C 0002D17C D0 1A 00 3C */ stfs f0, 0x3c(r26) -/* 80030220 0002D180 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80030224 0002D184 D0 1A 00 40 */ stfs f0, 0x40(r26) -lbl_80030228: -/* 80030228 0002D188 3B 7B 00 01 */ addi r27, r27, 1 -/* 8003022C 0002D18C 3B 5A 00 44 */ addi r26, r26, 0x44 -lbl_80030230: -/* 80030230 0002D190 7C 1B F8 00 */ cmpw r27, r31 -/* 80030234 0002D194 41 80 FF 68 */ blt lbl_8003019C -/* 80030238 0002D198 93 BC 00 00 */ stw r29, 0(r28) -lbl_8003023C: -/* 8003023C 0002D19C BB 41 00 08 */ lmw r26, 8(r1) -/* 80030240 0002D1A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80030244 0002D1A4 7C 08 03 A6 */ mtlr r0 -/* 80030248 0002D1A8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003024C 0002D1AC 4E 80 00 20 */ blr - -.global "__ct__13CSoundPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiff" -"__ct__13CSoundPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiff": -/* 80030250 0002D1B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80030254 0002D1B4 7C 08 02 A6 */ mflr r0 -/* 80030258 0002D1B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003025C 0002D1BC DB E1 00 18 */ stfd f31, 0x18(r1) -/* 80030260 0002D1C0 FF E0 18 90 */ fmr f31, f3 -/* 80030264 0002D1C4 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 80030268 0002D1C8 FF C0 10 90 */ fmr f30, f2 -/* 8003026C 0002D1CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030270 0002D1D0 83 E1 00 28 */ lwz r31, 0x28(r1) -/* 80030274 0002D1D4 93 C1 00 08 */ stw r30, 8(r1) -/* 80030278 0002D1D8 7C 7E 1B 78 */ mr r30, r3 -/* 8003027C 0002D1DC 48 2C CF 95 */ bl "__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii" -/* 80030280 0002D1E0 3C 80 80 3E */ lis r4, lbl_803D9B80@ha -/* 80030284 0002D1E4 7F C3 F3 78 */ mr r3, r30 -/* 80030288 0002D1E8 38 04 9B 80 */ addi r0, r4, lbl_803D9B80@l -/* 8003028C 0002D1EC 90 1E 00 00 */ stw r0, 0(r30) -/* 80030290 0002D1F0 93 FE 00 38 */ stw r31, 0x38(r30) -/* 80030294 0002D1F4 D3 DE 00 3C */ stfs f30, 0x3c(r30) -/* 80030298 0002D1F8 D3 FE 00 40 */ stfs f31, 0x40(r30) -/* 8003029C 0002D1FC CB E1 00 18 */ lfd f31, 0x18(r1) -/* 800302A0 0002D200 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 800302A4 0002D204 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800302A8 0002D208 83 C1 00 08 */ lwz r30, 8(r1) -/* 800302AC 0002D20C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800302B0 0002D210 7C 08 03 A6 */ mtlr r0 -/* 800302B4 0002D214 38 21 00 20 */ addi r1, r1, 0x20 -/* 800302B8 0002D218 4E 80 00 20 */ blr - -.global sub_800302bc -sub_800302bc: -/* 800302BC 0002D21C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800302C0 0002D220 7C 08 02 A6 */ mflr r0 -/* 800302C4 0002D224 90 01 00 14 */ stw r0, 0x14(r1) -/* 800302C8 0002D228 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800302CC 0002D22C 7C 9F 23 78 */ mr r31, r4 -/* 800302D0 0002D230 93 C1 00 08 */ stw r30, 8(r1) -/* 800302D4 0002D234 7C 7E 1B 78 */ mr r30, r3 -/* 800302D8 0002D238 80 63 00 00 */ lwz r3, 0(r3) -/* 800302DC 0002D23C 7C 03 F8 00 */ cmpw r3, r31 -/* 800302E0 0002D240 40 80 00 1C */ bge lbl_800302FC -/* 800302E4 0002D244 1C 03 00 5C */ mulli r0, r3, 0x5c -/* 800302E8 0002D248 7C 83 F8 50 */ subf r4, r3, r31 -/* 800302EC 0002D24C 7C 7E 02 14 */ add r3, r30, r0 -/* 800302F0 0002D250 38 63 00 04 */ addi r3, r3, 4 -/* 800302F4 0002D254 48 00 00 21 */ bl sub_80030314 -/* 800302F8 0002D258 93 FE 00 00 */ stw r31, 0(r30) -lbl_800302FC: -/* 800302FC 0002D25C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030300 0002D260 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030304 0002D264 83 C1 00 08 */ lwz r30, 8(r1) -/* 80030308 0002D268 7C 08 03 A6 */ mtlr r0 -/* 8003030C 0002D26C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030310 0002D270 4E 80 00 20 */ blr - -.global sub_80030314 -sub_80030314: -/* 80030314 0002D274 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80030318 0002D278 7C 08 02 A6 */ mflr r0 -/* 8003031C 0002D27C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80030320 0002D280 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80030324 0002D284 7C BC 2B 78 */ mr r28, r5 -/* 80030328 0002D288 7C 9B 23 78 */ mr r27, r4 -/* 8003032C 0002D28C 3B A0 00 00 */ li r29, 0 -/* 80030330 0002D290 7C 7E 1B 78 */ mr r30, r3 -/* 80030334 0002D294 3B FC 00 44 */ addi r31, r28, 0x44 -/* 80030338 0002D298 48 00 00 B4 */ b lbl_800303EC -lbl_8003033C: -/* 8003033C 0002D29C 28 1E 00 00 */ cmplwi r30, 0 -/* 80030340 0002D2A0 41 82 00 A4 */ beq lbl_800303E4 -/* 80030344 0002D2A4 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 80030348 0002D2A8 38 9C 00 08 */ addi r4, r28, 8 -/* 8003034C 0002D2AC 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l -/* 80030350 0002D2B0 90 1E 00 00 */ stw r0, 0(r30) -/* 80030354 0002D2B4 38 7E 00 08 */ addi r3, r30, 8 -/* 80030358 0002D2B8 A0 1C 00 04 */ lhz r0, 4(r28) -/* 8003035C 0002D2BC B0 1E 00 04 */ sth r0, 4(r30) -/* 80030360 0002D2C0 48 30 DE 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80030364 0002D2C4 A0 BC 00 18 */ lhz r5, 0x18(r28) -/* 80030368 0002D2C8 3C 60 80 3E */ lis r3, lbl_803D9B74@ha -/* 8003036C 0002D2CC 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l -/* 80030370 0002D2D0 7F E4 FB 78 */ mr r4, r31 -/* 80030374 0002D2D4 B0 BE 00 18 */ sth r5, 0x18(r30) -/* 80030378 0002D2D8 38 7E 00 44 */ addi r3, r30, 0x44 -/* 8003037C 0002D2DC C0 1C 00 1C */ lfs f0, 0x1c(r28) -/* 80030380 0002D2E0 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80030384 0002D2E4 80 BC 00 20 */ lwz r5, 0x20(r28) -/* 80030388 0002D2E8 90 BE 00 20 */ stw r5, 0x20(r30) -/* 8003038C 0002D2EC 80 BC 00 24 */ lwz r5, 0x24(r28) -/* 80030390 0002D2F0 90 BE 00 24 */ stw r5, 0x24(r30) -/* 80030394 0002D2F4 88 BC 00 28 */ lbz r5, 0x28(r28) -/* 80030398 0002D2F8 98 BE 00 28 */ stb r5, 0x28(r30) -/* 8003039C 0002D2FC C0 1C 00 2C */ lfs f0, 0x2c(r28) -/* 800303A0 0002D300 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 800303A4 0002D304 80 BC 00 30 */ lwz r5, 0x30(r28) -/* 800303A8 0002D308 90 BE 00 30 */ stw r5, 0x30(r30) -/* 800303AC 0002D30C 80 BC 00 34 */ lwz r5, 0x34(r28) -/* 800303B0 0002D310 90 BE 00 34 */ stw r5, 0x34(r30) -/* 800303B4 0002D314 90 1E 00 00 */ stw r0, 0(r30) -/* 800303B8 0002D318 80 1C 00 38 */ lwz r0, 0x38(r28) -/* 800303BC 0002D31C 90 1E 00 38 */ stw r0, 0x38(r30) -/* 800303C0 0002D320 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 800303C4 0002D324 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 800303C8 0002D328 80 1C 00 40 */ lwz r0, 0x40(r28) -/* 800303CC 0002D32C 90 1E 00 40 */ stw r0, 0x40(r30) -/* 800303D0 0002D330 48 30 DD 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800303D4 0002D334 C0 1C 00 54 */ lfs f0, 0x54(r28) -/* 800303D8 0002D338 D0 1E 00 54 */ stfs f0, 0x54(r30) -/* 800303DC 0002D33C 80 1C 00 58 */ lwz r0, 0x58(r28) -/* 800303E0 0002D340 90 1E 00 58 */ stw r0, 0x58(r30) -lbl_800303E4: -/* 800303E4 0002D344 3B BD 00 01 */ addi r29, r29, 1 -/* 800303E8 0002D348 3B DE 00 5C */ addi r30, r30, 0x5c -lbl_800303EC: -/* 800303EC 0002D34C 7C 1D D8 00 */ cmpw r29, r27 -/* 800303F0 0002D350 41 80 FF 4C */ blt lbl_8003033C -/* 800303F4 0002D354 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 800303F8 0002D358 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800303FC 0002D35C 7C 08 03 A6 */ mtlr r0 -/* 80030400 0002D360 38 21 00 20 */ addi r1, r1, 0x20 -/* 80030404 0002D364 4E 80 00 20 */ blr - -.global sub_80030408 -sub_80030408: -/* 80030408 0002D368 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003040C 0002D36C 7C 08 02 A6 */ mflr r0 -/* 80030410 0002D370 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030414 0002D374 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030418 0002D378 83 E1 00 18 */ lwz r31, 0x18(r1) -/* 8003041C 0002D37C 93 C1 00 08 */ stw r30, 8(r1) -/* 80030420 0002D380 7C 7E 1B 78 */ mr r30, r3 -/* 80030424 0002D384 48 2C CD ED */ bl "__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii" -/* 80030428 0002D388 3C 80 80 3E */ lis r4, lbl_803D9B74@ha -/* 8003042C 0002D38C 38 7E 00 44 */ addi r3, r30, 0x44 -/* 80030430 0002D390 38 04 9B 74 */ addi r0, r4, lbl_803D9B74@l -/* 80030434 0002D394 38 9F 00 0C */ addi r4, r31, 0xc -/* 80030438 0002D398 90 1E 00 00 */ stw r0, 0(r30) -/* 8003043C 0002D39C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80030440 0002D3A0 90 1E 00 38 */ stw r0, 0x38(r30) -/* 80030444 0002D3A4 80 1F 00 04 */ lwz r0, 4(r31) -/* 80030448 0002D3A8 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 8003044C 0002D3AC 80 1F 00 08 */ lwz r0, 8(r31) -/* 80030450 0002D3B0 90 1E 00 40 */ stw r0, 0x40(r30) -/* 80030454 0002D3B4 48 30 DD 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80030458 0002D3B8 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8003045C 0002D3BC 7F C3 F3 78 */ mr r3, r30 -/* 80030460 0002D3C0 D0 1E 00 54 */ stfs f0, 0x54(r30) -/* 80030464 0002D3C4 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80030468 0002D3C8 90 1E 00 58 */ stw r0, 0x58(r30) -/* 8003046C 0002D3CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030470 0002D3D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80030474 0002D3D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030478 0002D3D8 7C 08 03 A6 */ mtlr r0 -/* 8003047C 0002D3DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030480 0002D3E0 4E 80 00 20 */ blr - -.global "__ct__12CBoolPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiib" -"__ct__12CBoolPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiib": -/* 80030484 0002D3E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030488 0002D3E8 7C 08 02 A6 */ mflr r0 -/* 8003048C 0002D3EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030490 0002D3F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030494 0002D3F4 8B E1 00 1B */ lbz r31, 0x1b(r1) -/* 80030498 0002D3F8 93 C1 00 08 */ stw r30, 8(r1) -/* 8003049C 0002D3FC 7C 7E 1B 78 */ mr r30, r3 -/* 800304A0 0002D400 48 2C CD 71 */ bl "__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii" -/* 800304A4 0002D404 3C 80 80 3E */ lis r4, lbl_803D9B68@ha -/* 800304A8 0002D408 7F C3 F3 78 */ mr r3, r30 -/* 800304AC 0002D40C 38 04 9B 68 */ addi r0, r4, lbl_803D9B68@l -/* 800304B0 0002D410 90 1E 00 00 */ stw r0, 0(r30) -/* 800304B4 0002D414 9B FE 00 38 */ stb r31, 0x38(r30) -/* 800304B8 0002D418 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800304BC 0002D41C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800304C0 0002D420 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800304C4 0002D424 7C 08 03 A6 */ mtlr r0 -/* 800304C8 0002D428 38 21 00 10 */ addi r1, r1, 0x10 -/* 800304CC 0002D42C 4E 80 00 20 */ blr - -.global __ct__14CCharacterInfoFRC14CCharacterInfo -__ct__14CCharacterInfoFRC14CCharacterInfo: -/* 800304D0 0002D430 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800304D4 0002D434 7C 08 02 A6 */ mflr r0 -/* 800304D8 0002D438 90 01 00 34 */ stw r0, 0x34(r1) -/* 800304DC 0002D43C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 800304E0 0002D440 7C 7E 1B 78 */ mr r30, r3 -/* 800304E4 0002D444 7C 9F 23 78 */ mr r31, r4 -/* 800304E8 0002D448 38 7E 00 04 */ addi r3, r30, 4 -/* 800304EC 0002D44C A0 04 00 00 */ lhz r0, 0(r4) -/* 800304F0 0002D450 38 9F 00 04 */ addi r4, r31, 4 -/* 800304F4 0002D454 B0 1E 00 00 */ sth r0, 0(r30) -/* 800304F8 0002D458 48 30 DC 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800304FC 0002D45C 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80030500 0002D460 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80030504 0002D464 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80030508 0002D468 90 1E 00 18 */ stw r0, 0x18(r30) -/* 8003050C 0002D46C 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80030510 0002D470 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80030514 0002D474 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80030518 0002D478 90 1E 00 24 */ stw r0, 0x24(r30) -/* 8003051C 0002D47C 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80030520 0002D480 90 1E 00 28 */ stw r0, 0x28(r30) -/* 80030524 0002D484 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80030528 0002D488 2C 00 00 00 */ cmpwi r0, 0 -/* 8003052C 0002D48C 40 82 00 1C */ bne lbl_80030548 -/* 80030530 0002D490 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80030534 0002D494 2C 00 00 00 */ cmpwi r0, 0 -/* 80030538 0002D498 40 82 00 10 */ bne lbl_80030548 -/* 8003053C 0002D49C 38 00 00 00 */ li r0, 0 -/* 80030540 0002D4A0 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 80030544 0002D4A4 48 00 00 88 */ b lbl_800305CC -lbl_80030548: -/* 80030548 0002D4A8 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 8003054C 0002D4AC 1C 60 00 24 */ mulli r3, r0, 0x24 -/* 80030550 0002D4B0 2C 03 00 00 */ cmpwi r3, 0 -/* 80030554 0002D4B4 40 82 00 10 */ bne lbl_80030564 -/* 80030558 0002D4B8 38 00 00 00 */ li r0, 0 -/* 8003055C 0002D4BC 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 80030560 0002D4C0 48 00 00 18 */ b lbl_80030578 -lbl_80030564: -/* 80030564 0002D4C4 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 80030568 0002D4C8 38 A0 00 00 */ li r5, 0 -/* 8003056C 0002D4CC 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 80030570 0002D4D0 48 2E 52 A9 */ bl __nwa__FUlPCcPCc -/* 80030574 0002D4D4 90 7E 00 2C */ stw r3, 0x2c(r30) -lbl_80030578: -/* 80030578 0002D4D8 83 5E 00 24 */ lwz r26, 0x24(r30) -/* 8003057C 0002D4DC 3B A0 00 00 */ li r29, 0 -/* 80030580 0002D4E0 83 7F 00 2C */ lwz r27, 0x2c(r31) -/* 80030584 0002D4E4 83 9E 00 2C */ lwz r28, 0x2c(r30) -/* 80030588 0002D4E8 48 00 00 3C */ b lbl_800305C4 -lbl_8003058C: -/* 8003058C 0002D4EC 28 1C 00 00 */ cmplwi r28, 0 -/* 80030590 0002D4F0 41 82 00 28 */ beq lbl_800305B8 -/* 80030594 0002D4F4 80 1B 00 00 */ lwz r0, 0(r27) -/* 80030598 0002D4F8 3B 3C 00 04 */ addi r25, r28, 4 -/* 8003059C 0002D4FC 7F 23 CB 78 */ mr r3, r25 -/* 800305A0 0002D500 38 9B 00 04 */ addi r4, r27, 4 -/* 800305A4 0002D504 90 1C 00 00 */ stw r0, 0(r28) -/* 800305A8 0002D508 48 30 DB B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800305AC 0002D50C 38 79 00 10 */ addi r3, r25, 0x10 -/* 800305B0 0002D510 38 9B 00 14 */ addi r4, r27, 0x14 -/* 800305B4 0002D514 48 30 DB AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_800305B8: -/* 800305B8 0002D518 3B 9C 00 24 */ addi r28, r28, 0x24 -/* 800305BC 0002D51C 3B BD 00 01 */ addi r29, r29, 1 -/* 800305C0 0002D520 3B 7B 00 24 */ addi r27, r27, 0x24 -lbl_800305C4: -/* 800305C4 0002D524 7C 1D D0 00 */ cmpw r29, r26 -/* 800305C8 0002D528 41 80 FF C4 */ blt lbl_8003058C -lbl_800305CC: -/* 800305CC 0002D52C 38 7E 00 30 */ addi r3, r30, 0x30 -/* 800305D0 0002D530 38 9F 00 30 */ addi r4, r31, 0x30 -/* 800305D4 0002D534 48 00 04 75 */ bl __ct__12CPASDatabaseFRC12CPASDatabase -/* 800305D8 0002D538 38 7E 00 44 */ addi r3, r30, 0x44 -/* 800305DC 0002D53C 38 9F 00 44 */ addi r4, r31, 0x44 -/* 800305E0 0002D540 48 00 01 E1 */ bl sub_800307c0 -/* 800305E4 0002D544 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 800305E8 0002D548 38 7E 00 88 */ addi r3, r30, 0x88 -/* 800305EC 0002D54C 38 9F 00 88 */ addi r4, r31, 0x88 -/* 800305F0 0002D550 90 1E 00 84 */ stw r0, 0x84(r30) -/* 800305F4 0002D554 48 00 00 CD */ bl sub_800306c0 -/* 800305F8 0002D558 38 7E 00 98 */ addi r3, r30, 0x98 -/* 800305FC 0002D55C 38 9F 00 98 */ addi r4, r31, 0x98 -/* 80030600 0002D560 4B FF A5 31 */ bl sub_8002ab30 -/* 80030604 0002D564 80 1F 00 A8 */ lwz r0, 0xa8(r31) -/* 80030608 0002D568 90 1E 00 A8 */ stw r0, 0xa8(r30) -/* 8003060C 0002D56C 80 1F 00 AC */ lwz r0, 0xac(r31) -/* 80030610 0002D570 90 1E 00 AC */ stw r0, 0xac(r30) -/* 80030614 0002D574 80 1F 00 B4 */ lwz r0, 0xb4(r31) -/* 80030618 0002D578 90 1E 00 B4 */ stw r0, 0xb4(r30) -/* 8003061C 0002D57C 80 1F 00 B8 */ lwz r0, 0xb8(r31) -/* 80030620 0002D580 90 1E 00 B8 */ stw r0, 0xb8(r30) -/* 80030624 0002D584 80 1F 00 B4 */ lwz r0, 0xb4(r31) -/* 80030628 0002D588 2C 00 00 00 */ cmpwi r0, 0 -/* 8003062C 0002D58C 40 82 00 1C */ bne lbl_80030648 -/* 80030630 0002D590 80 1F 00 B8 */ lwz r0, 0xb8(r31) -/* 80030634 0002D594 2C 00 00 00 */ cmpwi r0, 0 -/* 80030638 0002D598 40 82 00 10 */ bne lbl_80030648 -/* 8003063C 0002D59C 38 00 00 00 */ li r0, 0 -/* 80030640 0002D5A0 90 1E 00 BC */ stw r0, 0xbc(r30) -/* 80030644 0002D5A4 48 00 00 64 */ b lbl_800306A8 -lbl_80030648: -/* 80030648 0002D5A8 80 1E 00 B8 */ lwz r0, 0xb8(r30) -/* 8003064C 0002D5AC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 80030650 0002D5B0 40 82 00 10 */ bne lbl_80030660 -/* 80030654 0002D5B4 38 00 00 00 */ li r0, 0 -/* 80030658 0002D5B8 90 1E 00 BC */ stw r0, 0xbc(r30) -/* 8003065C 0002D5BC 48 00 00 18 */ b lbl_80030674 -lbl_80030660: -/* 80030660 0002D5C0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 80030664 0002D5C4 38 A0 00 00 */ li r5, 0 -/* 80030668 0002D5C8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8003066C 0002D5CC 48 2E 51 AD */ bl __nwa__FUlPCcPCc -/* 80030670 0002D5D0 90 7E 00 BC */ stw r3, 0xbc(r30) -lbl_80030674: -/* 80030674 0002D5D4 80 1E 00 B4 */ lwz r0, 0xb4(r30) -/* 80030678 0002D5D8 80 9F 00 BC */ lwz r4, 0xbc(r31) -/* 8003067C 0002D5DC 80 7E 00 BC */ lwz r3, 0xbc(r30) -/* 80030680 0002D5E0 7C 09 03 A6 */ mtctr r0 -/* 80030684 0002D5E4 2C 00 00 00 */ cmpwi r0, 0 -/* 80030688 0002D5E8 40 81 00 20 */ ble lbl_800306A8 -lbl_8003068C: -/* 8003068C 0002D5EC 28 03 00 00 */ cmplwi r3, 0 -/* 80030690 0002D5F0 41 82 00 0C */ beq lbl_8003069C -/* 80030694 0002D5F4 80 04 00 00 */ lwz r0, 0(r4) -/* 80030698 0002D5F8 90 03 00 00 */ stw r0, 0(r3) -lbl_8003069C: -/* 8003069C 0002D5FC 38 63 00 04 */ addi r3, r3, 4 -/* 800306A0 0002D600 38 84 00 04 */ addi r4, r4, 4 -/* 800306A4 0002D604 42 00 FF E8 */ bdnz lbl_8003068C -lbl_800306A8: -/* 800306A8 0002D608 7F C3 F3 78 */ mr r3, r30 -/* 800306AC 0002D60C BB 21 00 14 */ lmw r25, 0x14(r1) -/* 800306B0 0002D610 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800306B4 0002D614 7C 08 03 A6 */ mtlr r0 -/* 800306B8 0002D618 38 21 00 30 */ addi r1, r1, 0x30 -/* 800306BC 0002D61C 4E 80 00 20 */ blr - -.global sub_800306c0 -sub_800306c0: -/* 800306C0 0002D620 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800306C4 0002D624 7C 08 02 A6 */ mflr r0 -/* 800306C8 0002D628 90 01 00 24 */ stw r0, 0x24(r1) -/* 800306CC 0002D62C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 800306D0 0002D630 7C 9D 23 78 */ mr r29, r4 -/* 800306D4 0002D634 7C 7B 1B 78 */ mr r27, r3 -/* 800306D8 0002D638 80 04 00 04 */ lwz r0, 4(r4) -/* 800306DC 0002D63C 90 03 00 04 */ stw r0, 4(r3) -/* 800306E0 0002D640 80 04 00 08 */ lwz r0, 8(r4) -/* 800306E4 0002D644 90 03 00 08 */ stw r0, 8(r3) -/* 800306E8 0002D648 80 04 00 04 */ lwz r0, 4(r4) -/* 800306EC 0002D64C 2C 00 00 00 */ cmpwi r0, 0 -/* 800306F0 0002D650 40 82 00 1C */ bne lbl_8003070C -/* 800306F4 0002D654 80 1D 00 08 */ lwz r0, 8(r29) -/* 800306F8 0002D658 2C 00 00 00 */ cmpwi r0, 0 -/* 800306FC 0002D65C 40 82 00 10 */ bne lbl_8003070C -/* 80030700 0002D660 38 00 00 00 */ li r0, 0 -/* 80030704 0002D664 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80030708 0002D668 48 00 00 A0 */ b lbl_800307A8 -lbl_8003070C: -/* 8003070C 0002D66C 80 1B 00 08 */ lwz r0, 8(r27) -/* 80030710 0002D670 1C 60 00 28 */ mulli r3, r0, 0x28 -/* 80030714 0002D674 2C 03 00 00 */ cmpwi r3, 0 -/* 80030718 0002D678 40 82 00 10 */ bne lbl_80030728 -/* 8003071C 0002D67C 38 00 00 00 */ li r0, 0 -/* 80030720 0002D680 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80030724 0002D684 48 00 00 18 */ b lbl_8003073C -lbl_80030728: -/* 80030728 0002D688 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8003072C 0002D68C 38 A0 00 00 */ li r5, 0 -/* 80030730 0002D690 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 80030734 0002D694 48 2E 50 E5 */ bl __nwa__FUlPCcPCc -/* 80030738 0002D698 90 7B 00 0C */ stw r3, 0xc(r27) -lbl_8003073C: -/* 8003073C 0002D69C 83 9B 00 04 */ lwz r28, 4(r27) -/* 80030740 0002D6A0 3B E0 00 00 */ li r31, 0 -/* 80030744 0002D6A4 83 BD 00 0C */ lwz r29, 0xc(r29) -/* 80030748 0002D6A8 83 DB 00 0C */ lwz r30, 0xc(r27) -/* 8003074C 0002D6AC 48 00 00 54 */ b lbl_800307A0 -lbl_80030750: -/* 80030750 0002D6B0 28 1E 00 00 */ cmplwi r30, 0 -/* 80030754 0002D6B4 41 82 00 40 */ beq lbl_80030794 -/* 80030758 0002D6B8 7F C3 F3 78 */ mr r3, r30 -/* 8003075C 0002D6BC 7F A4 EB 78 */ mr r4, r29 -/* 80030760 0002D6C0 48 30 DA 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80030764 0002D6C4 C0 1D 00 10 */ lfs f0, 0x10(r29) -/* 80030768 0002D6C8 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8003076C 0002D6CC C0 1D 00 14 */ lfs f0, 0x14(r29) -/* 80030770 0002D6D0 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 80030774 0002D6D4 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 80030778 0002D6D8 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8003077C 0002D6DC C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 80030780 0002D6E0 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80030784 0002D6E4 C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 80030788 0002D6E8 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 8003078C 0002D6EC C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 80030790 0002D6F0 D0 1E 00 24 */ stfs f0, 0x24(r30) -lbl_80030794: -/* 80030794 0002D6F4 3B DE 00 28 */ addi r30, r30, 0x28 -/* 80030798 0002D6F8 3B FF 00 01 */ addi r31, r31, 1 -/* 8003079C 0002D6FC 3B BD 00 28 */ addi r29, r29, 0x28 -lbl_800307A0: -/* 800307A0 0002D700 7C 1F E0 00 */ cmpw r31, r28 -/* 800307A4 0002D704 41 80 FF AC */ blt lbl_80030750 -lbl_800307A8: -/* 800307A8 0002D708 7F 63 DB 78 */ mr r3, r27 -/* 800307AC 0002D70C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 800307B0 0002D710 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800307B4 0002D714 7C 08 03 A6 */ mtlr r0 -/* 800307B8 0002D718 38 21 00 20 */ addi r1, r1, 0x20 -/* 800307BC 0002D71C 4E 80 00 20 */ blr - -.global sub_800307c0 -sub_800307c0: -/* 800307C0 0002D720 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800307C4 0002D724 7C 08 02 A6 */ mflr r0 -/* 800307C8 0002D728 90 01 00 14 */ stw r0, 0x14(r1) -/* 800307CC 0002D72C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800307D0 0002D730 7C 9F 23 78 */ mr r31, r4 -/* 800307D4 0002D734 93 C1 00 08 */ stw r30, 8(r1) -/* 800307D8 0002D738 7C 7E 1B 78 */ mr r30, r3 -/* 800307DC 0002D73C 80 04 00 04 */ lwz r0, 4(r4) -/* 800307E0 0002D740 90 03 00 04 */ stw r0, 4(r3) -/* 800307E4 0002D744 80 04 00 08 */ lwz r0, 8(r4) -/* 800307E8 0002D748 90 03 00 08 */ stw r0, 8(r3) -/* 800307EC 0002D74C 80 04 00 04 */ lwz r0, 4(r4) -/* 800307F0 0002D750 2C 00 00 00 */ cmpwi r0, 0 -/* 800307F4 0002D754 40 82 00 1C */ bne lbl_80030810 -/* 800307F8 0002D758 80 1F 00 08 */ lwz r0, 8(r31) -/* 800307FC 0002D75C 2C 00 00 00 */ cmpwi r0, 0 -/* 80030800 0002D760 40 82 00 10 */ bne lbl_80030810 -/* 80030804 0002D764 38 00 00 00 */ li r0, 0 -/* 80030808 0002D768 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8003080C 0002D76C 48 00 00 64 */ b lbl_80030870 -lbl_80030810: -/* 80030810 0002D770 80 1E 00 08 */ lwz r0, 8(r30) -/* 80030814 0002D774 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 80030818 0002D778 40 82 00 10 */ bne lbl_80030828 -/* 8003081C 0002D77C 38 00 00 00 */ li r0, 0 -/* 80030820 0002D780 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80030824 0002D784 48 00 00 18 */ b lbl_8003083C -lbl_80030828: -/* 80030828 0002D788 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 8003082C 0002D78C 38 A0 00 00 */ li r5, 0 -/* 80030830 0002D790 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 80030834 0002D794 48 2E 4F E5 */ bl __nwa__FUlPCcPCc -/* 80030838 0002D798 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_8003083C: -/* 8003083C 0002D79C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80030840 0002D7A0 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80030844 0002D7A4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80030848 0002D7A8 7C 09 03 A6 */ mtctr r0 -/* 8003084C 0002D7AC 2C 00 00 00 */ cmpwi r0, 0 -/* 80030850 0002D7B0 40 81 00 20 */ ble lbl_80030870 -lbl_80030854: -/* 80030854 0002D7B4 28 03 00 00 */ cmplwi r3, 0 -/* 80030858 0002D7B8 41 82 00 0C */ beq lbl_80030864 -/* 8003085C 0002D7BC 80 04 00 00 */ lwz r0, 0(r4) -/* 80030860 0002D7C0 90 03 00 00 */ stw r0, 0(r3) -lbl_80030864: -/* 80030864 0002D7C4 38 63 00 04 */ addi r3, r3, 4 -/* 80030868 0002D7C8 38 84 00 04 */ addi r4, r4, 4 -/* 8003086C 0002D7CC 42 00 FF E8 */ bdnz lbl_80030854 -lbl_80030870: -/* 80030870 0002D7D0 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80030874 0002D7D4 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80030878 0002D7D8 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8003087C 0002D7DC 90 1E 00 18 */ stw r0, 0x18(r30) -/* 80030880 0002D7E0 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80030884 0002D7E4 2C 00 00 00 */ cmpwi r0, 0 -/* 80030888 0002D7E8 40 82 00 1C */ bne lbl_800308A4 -/* 8003088C 0002D7EC 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80030890 0002D7F0 2C 00 00 00 */ cmpwi r0, 0 -/* 80030894 0002D7F4 40 82 00 10 */ bne lbl_800308A4 -/* 80030898 0002D7F8 38 00 00 00 */ li r0, 0 -/* 8003089C 0002D7FC 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 800308A0 0002D800 48 00 00 64 */ b lbl_80030904 -lbl_800308A4: -/* 800308A4 0002D804 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 800308A8 0002D808 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 800308AC 0002D80C 40 82 00 10 */ bne lbl_800308BC -/* 800308B0 0002D810 38 00 00 00 */ li r0, 0 -/* 800308B4 0002D814 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 800308B8 0002D818 48 00 00 18 */ b lbl_800308D0 -lbl_800308BC: -/* 800308BC 0002D81C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 800308C0 0002D820 38 A0 00 00 */ li r5, 0 -/* 800308C4 0002D824 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 800308C8 0002D828 48 2E 4F 51 */ bl __nwa__FUlPCcPCc -/* 800308CC 0002D82C 90 7E 00 1C */ stw r3, 0x1c(r30) -lbl_800308D0: -/* 800308D0 0002D830 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 800308D4 0002D834 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 800308D8 0002D838 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 800308DC 0002D83C 7C 09 03 A6 */ mtctr r0 -/* 800308E0 0002D840 2C 00 00 00 */ cmpwi r0, 0 -/* 800308E4 0002D844 40 81 00 20 */ ble lbl_80030904 -lbl_800308E8: -/* 800308E8 0002D848 28 03 00 00 */ cmplwi r3, 0 -/* 800308EC 0002D84C 41 82 00 0C */ beq lbl_800308F8 -/* 800308F0 0002D850 80 04 00 00 */ lwz r0, 0(r4) -/* 800308F4 0002D854 90 03 00 00 */ stw r0, 0(r3) -lbl_800308F8: -/* 800308F8 0002D858 38 63 00 04 */ addi r3, r3, 4 -/* 800308FC 0002D85C 38 84 00 04 */ addi r4, r4, 4 -/* 80030900 0002D860 42 00 FF E8 */ bdnz lbl_800308E8 -lbl_80030904: -/* 80030904 0002D864 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80030908 0002D868 90 1E 00 24 */ stw r0, 0x24(r30) -/* 8003090C 0002D86C 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80030910 0002D870 90 1E 00 28 */ stw r0, 0x28(r30) -/* 80030914 0002D874 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80030918 0002D878 2C 00 00 00 */ cmpwi r0, 0 -/* 8003091C 0002D87C 40 82 00 1C */ bne lbl_80030938 -/* 80030920 0002D880 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80030924 0002D884 2C 00 00 00 */ cmpwi r0, 0 -/* 80030928 0002D888 40 82 00 10 */ bne lbl_80030938 -/* 8003092C 0002D88C 38 00 00 00 */ li r0, 0 -/* 80030930 0002D890 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 80030934 0002D894 48 00 00 64 */ b lbl_80030998 -lbl_80030938: -/* 80030938 0002D898 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 8003093C 0002D89C 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 80030940 0002D8A0 40 82 00 10 */ bne lbl_80030950 -/* 80030944 0002D8A4 38 00 00 00 */ li r0, 0 -/* 80030948 0002D8A8 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 8003094C 0002D8AC 48 00 00 18 */ b lbl_80030964 -lbl_80030950: -/* 80030950 0002D8B0 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 80030954 0002D8B4 38 A0 00 00 */ li r5, 0 -/* 80030958 0002D8B8 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 8003095C 0002D8BC 48 2E 4E BD */ bl __nwa__FUlPCcPCc -/* 80030960 0002D8C0 90 7E 00 2C */ stw r3, 0x2c(r30) -lbl_80030964: -/* 80030964 0002D8C4 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 80030968 0002D8C8 80 9F 00 2C */ lwz r4, 0x2c(r31) -/* 8003096C 0002D8CC 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 80030970 0002D8D0 7C 09 03 A6 */ mtctr r0 -/* 80030974 0002D8D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80030978 0002D8D8 40 81 00 20 */ ble lbl_80030998 -lbl_8003097C: -/* 8003097C 0002D8DC 28 03 00 00 */ cmplwi r3, 0 -/* 80030980 0002D8E0 41 82 00 0C */ beq lbl_8003098C -/* 80030984 0002D8E4 80 04 00 00 */ lwz r0, 0(r4) -/* 80030988 0002D8E8 90 03 00 00 */ stw r0, 0(r3) -lbl_8003098C: -/* 8003098C 0002D8EC 38 63 00 04 */ addi r3, r3, 4 -/* 80030990 0002D8F0 38 84 00 04 */ addi r4, r4, 4 -/* 80030994 0002D8F4 42 00 FF E8 */ bdnz lbl_8003097C -lbl_80030998: -/* 80030998 0002D8F8 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 8003099C 0002D8FC 90 1E 00 34 */ stw r0, 0x34(r30) -/* 800309A0 0002D900 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 800309A4 0002D904 90 1E 00 38 */ stw r0, 0x38(r30) -/* 800309A8 0002D908 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 800309AC 0002D90C 2C 00 00 00 */ cmpwi r0, 0 -/* 800309B0 0002D910 40 82 00 1C */ bne lbl_800309CC -/* 800309B4 0002D914 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 800309B8 0002D918 2C 00 00 00 */ cmpwi r0, 0 -/* 800309BC 0002D91C 40 82 00 10 */ bne lbl_800309CC -/* 800309C0 0002D920 38 00 00 00 */ li r0, 0 -/* 800309C4 0002D924 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 800309C8 0002D928 48 00 00 64 */ b lbl_80030A2C -lbl_800309CC: -/* 800309CC 0002D92C 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 800309D0 0002D930 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 800309D4 0002D934 40 82 00 10 */ bne lbl_800309E4 -/* 800309D8 0002D938 38 00 00 00 */ li r0, 0 -/* 800309DC 0002D93C 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 800309E0 0002D940 48 00 00 18 */ b lbl_800309F8 -lbl_800309E4: -/* 800309E4 0002D944 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 800309E8 0002D948 38 A0 00 00 */ li r5, 0 -/* 800309EC 0002D94C 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 800309F0 0002D950 48 2E 4E 29 */ bl __nwa__FUlPCcPCc -/* 800309F4 0002D954 90 7E 00 3C */ stw r3, 0x3c(r30) -lbl_800309F8: -/* 800309F8 0002D958 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 800309FC 0002D95C 80 9F 00 3C */ lwz r4, 0x3c(r31) -/* 80030A00 0002D960 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 80030A04 0002D964 7C 09 03 A6 */ mtctr r0 -/* 80030A08 0002D968 2C 00 00 00 */ cmpwi r0, 0 -/* 80030A0C 0002D96C 40 81 00 20 */ ble lbl_80030A2C -lbl_80030A10: -/* 80030A10 0002D970 28 03 00 00 */ cmplwi r3, 0 -/* 80030A14 0002D974 41 82 00 0C */ beq lbl_80030A20 -/* 80030A18 0002D978 80 04 00 00 */ lwz r0, 0(r4) -/* 80030A1C 0002D97C 90 03 00 00 */ stw r0, 0(r3) -lbl_80030A20: -/* 80030A20 0002D980 38 63 00 04 */ addi r3, r3, 4 -/* 80030A24 0002D984 38 84 00 04 */ addi r4, r4, 4 -/* 80030A28 0002D988 42 00 FF E8 */ bdnz lbl_80030A10 -lbl_80030A2C: -/* 80030A2C 0002D98C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030A30 0002D990 7F C3 F3 78 */ mr r3, r30 -/* 80030A34 0002D994 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030A38 0002D998 83 C1 00 08 */ lwz r30, 8(r1) -/* 80030A3C 0002D99C 7C 08 03 A6 */ mtlr r0 -/* 80030A40 0002D9A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030A44 0002D9A4 4E 80 00 20 */ blr - -.global __ct__12CPASDatabaseFRC12CPASDatabase -__ct__12CPASDatabaseFRC12CPASDatabase: -/* 80030A48 0002D9A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030A4C 0002D9AC 7C 08 02 A6 */ mflr r0 -/* 80030A50 0002D9B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030A54 0002D9B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030A58 0002D9B8 7C 9F 23 78 */ mr r31, r4 -/* 80030A5C 0002D9BC 93 C1 00 08 */ stw r30, 8(r1) -/* 80030A60 0002D9C0 7C 7E 1B 78 */ mr r30, r3 -/* 80030A64 0002D9C4 48 00 00 29 */ bl sub_80030a8c -/* 80030A68 0002D9C8 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80030A6C 0002D9CC 7F C3 F3 78 */ mr r3, r30 -/* 80030A70 0002D9D0 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80030A74 0002D9D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030A78 0002D9D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80030A7C 0002D9DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030A80 0002D9E0 7C 08 03 A6 */ mtlr r0 -/* 80030A84 0002D9E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030A88 0002D9E8 4E 80 00 20 */ blr - -.global sub_80030a8c -sub_80030a8c: -/* 80030A8C 0002D9EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030A90 0002D9F0 7C 08 02 A6 */ mflr r0 -/* 80030A94 0002D9F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030A98 0002D9F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030A9C 0002D9FC 7C 9F 23 78 */ mr r31, r4 -/* 80030AA0 0002DA00 93 C1 00 08 */ stw r30, 8(r1) -/* 80030AA4 0002DA04 7C 7E 1B 78 */ mr r30, r3 -/* 80030AA8 0002DA08 80 04 00 04 */ lwz r0, 4(r4) -/* 80030AAC 0002DA0C 90 03 00 04 */ stw r0, 4(r3) -/* 80030AB0 0002DA10 80 04 00 08 */ lwz r0, 8(r4) -/* 80030AB4 0002DA14 90 03 00 08 */ stw r0, 8(r3) -/* 80030AB8 0002DA18 80 04 00 04 */ lwz r0, 4(r4) -/* 80030ABC 0002DA1C 2C 00 00 00 */ cmpwi r0, 0 -/* 80030AC0 0002DA20 40 82 00 1C */ bne lbl_80030ADC -/* 80030AC4 0002DA24 80 1F 00 08 */ lwz r0, 8(r31) -/* 80030AC8 0002DA28 2C 00 00 00 */ cmpwi r0, 0 -/* 80030ACC 0002DA2C 40 82 00 10 */ bne lbl_80030ADC -/* 80030AD0 0002DA30 38 00 00 00 */ li r0, 0 -/* 80030AD4 0002DA34 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80030AD8 0002DA38 48 00 00 44 */ b lbl_80030B1C -lbl_80030ADC: -/* 80030ADC 0002DA3C 80 1E 00 08 */ lwz r0, 8(r30) -/* 80030AE0 0002DA40 1C 60 00 34 */ mulli r3, r0, 0x34 -/* 80030AE4 0002DA44 2C 03 00 00 */ cmpwi r3, 0 -/* 80030AE8 0002DA48 40 82 00 10 */ bne lbl_80030AF8 -/* 80030AEC 0002DA4C 38 00 00 00 */ li r0, 0 -/* 80030AF0 0002DA50 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80030AF4 0002DA54 48 00 00 18 */ b lbl_80030B0C -lbl_80030AF8: -/* 80030AF8 0002DA58 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 80030AFC 0002DA5C 38 A0 00 00 */ li r5, 0 -/* 80030B00 0002DA60 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 80030B04 0002DA64 48 2E 4D 15 */ bl __nwa__FUlPCcPCc -/* 80030B08 0002DA68 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_80030B0C: -/* 80030B0C 0002DA6C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80030B10 0002DA70 80 9E 00 04 */ lwz r4, 4(r30) -/* 80030B14 0002DA74 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80030B18 0002DA78 48 00 00 21 */ bl sub_80030b38 -lbl_80030B1C: -/* 80030B1C 0002DA7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030B20 0002DA80 7F C3 F3 78 */ mr r3, r30 -/* 80030B24 0002DA84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030B28 0002DA88 83 C1 00 08 */ lwz r30, 8(r1) -/* 80030B2C 0002DA8C 7C 08 03 A6 */ mtlr r0 -/* 80030B30 0002DA90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030B34 0002DA94 4E 80 00 20 */ blr - -.global sub_80030b38 -sub_80030b38: -/* 80030B38 0002DA98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80030B3C 0002DA9C 7C 08 02 A6 */ mflr r0 -/* 80030B40 0002DAA0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80030B44 0002DAA4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80030B48 0002DAA8 7C 7F 1B 78 */ mr r31, r3 -/* 80030B4C 0002DAAC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80030B50 0002DAB0 7C BE 2B 78 */ mr r30, r5 -/* 80030B54 0002DAB4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80030B58 0002DAB8 3B A0 00 00 */ li r29, 0 -/* 80030B5C 0002DABC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80030B60 0002DAC0 7C 9C 23 78 */ mr r28, r4 -/* 80030B64 0002DAC4 48 00 00 1C */ b lbl_80030B80 -lbl_80030B68: -/* 80030B68 0002DAC8 7F C3 F3 78 */ mr r3, r30 -/* 80030B6C 0002DACC 7F E4 FB 78 */ mr r4, r31 -/* 80030B70 0002DAD0 48 00 00 3D */ bl sub_80030bac -/* 80030B74 0002DAD4 3B DE 00 34 */ addi r30, r30, 0x34 -/* 80030B78 0002DAD8 3B BD 00 01 */ addi r29, r29, 1 -/* 80030B7C 0002DADC 3B FF 00 34 */ addi r31, r31, 0x34 -lbl_80030B80: -/* 80030B80 0002DAE0 7C 1D E0 00 */ cmpw r29, r28 -/* 80030B84 0002DAE4 41 80 FF E4 */ blt lbl_80030B68 -/* 80030B88 0002DAE8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80030B8C 0002DAEC 7F C3 F3 78 */ mr r3, r30 -/* 80030B90 0002DAF0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80030B94 0002DAF4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80030B98 0002DAF8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80030B9C 0002DAFC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80030BA0 0002DB00 7C 08 03 A6 */ mtlr r0 -/* 80030BA4 0002DB04 38 21 00 20 */ addi r1, r1, 0x20 -/* 80030BA8 0002DB08 4E 80 00 20 */ blr - -.global sub_80030bac -sub_80030bac: -/* 80030BAC 0002DB0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030BB0 0002DB10 7C 08 02 A6 */ mflr r0 -/* 80030BB4 0002DB14 28 03 00 00 */ cmplwi r3, 0 -/* 80030BB8 0002DB18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030BBC 0002DB1C 41 82 00 08 */ beq lbl_80030BC4 -/* 80030BC0 0002DB20 48 00 00 15 */ bl sub_80030bd4 -lbl_80030BC4: -/* 80030BC4 0002DB24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030BC8 0002DB28 7C 08 03 A6 */ mtlr r0 -/* 80030BCC 0002DB2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030BD0 0002DB30 4E 80 00 20 */ blr - -.global sub_80030bd4 -sub_80030bd4: -/* 80030BD4 0002DB34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030BD8 0002DB38 7C 08 02 A6 */ mflr r0 -/* 80030BDC 0002DB3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030BE0 0002DB40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030BE4 0002DB44 7C 9F 23 78 */ mr r31, r4 -/* 80030BE8 0002DB48 93 C1 00 08 */ stw r30, 8(r1) -/* 80030BEC 0002DB4C 7C 7E 1B 78 */ mr r30, r3 -/* 80030BF0 0002DB50 38 7E 00 04 */ addi r3, r30, 4 -/* 80030BF4 0002DB54 80 04 00 00 */ lwz r0, 0(r4) -/* 80030BF8 0002DB58 38 9F 00 04 */ addi r4, r31, 4 -/* 80030BFC 0002DB5C 90 1E 00 00 */ stw r0, 0(r30) -/* 80030C00 0002DB60 48 00 01 D1 */ bl sub_80030dd0 -/* 80030C04 0002DB64 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80030C08 0002DB68 38 9F 00 14 */ addi r4, r31, 0x14 -/* 80030C0C 0002DB6C 48 00 00 B5 */ bl sub_80030cc0 -/* 80030C10 0002DB70 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80030C14 0002DB74 90 1E 00 28 */ stw r0, 0x28(r30) -/* 80030C18 0002DB78 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80030C1C 0002DB7C 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 80030C20 0002DB80 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80030C24 0002DB84 2C 00 00 00 */ cmpwi r0, 0 -/* 80030C28 0002DB88 40 82 00 1C */ bne lbl_80030C44 -/* 80030C2C 0002DB8C 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80030C30 0002DB90 2C 00 00 00 */ cmpwi r0, 0 -/* 80030C34 0002DB94 40 82 00 10 */ bne lbl_80030C44 -/* 80030C38 0002DB98 38 00 00 00 */ li r0, 0 -/* 80030C3C 0002DB9C 90 1E 00 30 */ stw r0, 0x30(r30) -/* 80030C40 0002DBA0 48 00 00 64 */ b lbl_80030CA4 -lbl_80030C44: -/* 80030C44 0002DBA4 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 80030C48 0002DBA8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 80030C4C 0002DBAC 40 82 00 10 */ bne lbl_80030C5C -/* 80030C50 0002DBB0 38 00 00 00 */ li r0, 0 -/* 80030C54 0002DBB4 90 1E 00 30 */ stw r0, 0x30(r30) -/* 80030C58 0002DBB8 48 00 00 18 */ b lbl_80030C70 -lbl_80030C5C: -/* 80030C5C 0002DBBC 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 80030C60 0002DBC0 38 A0 00 00 */ li r5, 0 -/* 80030C64 0002DBC4 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 80030C68 0002DBC8 48 2E 4B B1 */ bl __nwa__FUlPCcPCc -/* 80030C6C 0002DBCC 90 7E 00 30 */ stw r3, 0x30(r30) -lbl_80030C70: -/* 80030C70 0002DBD0 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 80030C74 0002DBD4 80 9F 00 30 */ lwz r4, 0x30(r31) -/* 80030C78 0002DBD8 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 80030C7C 0002DBDC 7C 09 03 A6 */ mtctr r0 -/* 80030C80 0002DBE0 2C 00 00 00 */ cmpwi r0, 0 -/* 80030C84 0002DBE4 40 81 00 20 */ ble lbl_80030CA4 -lbl_80030C88: -/* 80030C88 0002DBE8 28 03 00 00 */ cmplwi r3, 0 -/* 80030C8C 0002DBEC 41 82 00 0C */ beq lbl_80030C98 -/* 80030C90 0002DBF0 80 04 00 00 */ lwz r0, 0(r4) -/* 80030C94 0002DBF4 90 03 00 00 */ stw r0, 0(r3) -lbl_80030C98: -/* 80030C98 0002DBF8 38 63 00 04 */ addi r3, r3, 4 -/* 80030C9C 0002DBFC 38 84 00 04 */ addi r4, r4, 4 -/* 80030CA0 0002DC00 42 00 FF E8 */ bdnz lbl_80030C88 -lbl_80030CA4: -/* 80030CA4 0002DC04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030CA8 0002DC08 7F C3 F3 78 */ mr r3, r30 -/* 80030CAC 0002DC0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030CB0 0002DC10 83 C1 00 08 */ lwz r30, 8(r1) -/* 80030CB4 0002DC14 7C 08 03 A6 */ mtlr r0 -/* 80030CB8 0002DC18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030CBC 0002DC1C 4E 80 00 20 */ blr - -.global sub_80030cc0 -sub_80030cc0: -/* 80030CC0 0002DC20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030CC4 0002DC24 7C 08 02 A6 */ mflr r0 -/* 80030CC8 0002DC28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030CCC 0002DC2C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030CD0 0002DC30 7C 7F 1B 78 */ mr r31, r3 -/* 80030CD4 0002DC34 93 C1 00 08 */ stw r30, 8(r1) -/* 80030CD8 0002DC38 7C 9E 23 78 */ mr r30, r4 -/* 80030CDC 0002DC3C 80 04 00 04 */ lwz r0, 4(r4) -/* 80030CE0 0002DC40 90 03 00 04 */ stw r0, 4(r3) -/* 80030CE4 0002DC44 80 04 00 08 */ lwz r0, 8(r4) -/* 80030CE8 0002DC48 90 03 00 08 */ stw r0, 8(r3) -/* 80030CEC 0002DC4C 80 04 00 04 */ lwz r0, 4(r4) -/* 80030CF0 0002DC50 2C 00 00 00 */ cmpwi r0, 0 -/* 80030CF4 0002DC54 40 82 00 1C */ bne lbl_80030D10 -/* 80030CF8 0002DC58 80 1E 00 08 */ lwz r0, 8(r30) -/* 80030CFC 0002DC5C 2C 00 00 00 */ cmpwi r0, 0 -/* 80030D00 0002DC60 40 82 00 10 */ bne lbl_80030D10 -/* 80030D04 0002DC64 38 00 00 00 */ li r0, 0 -/* 80030D08 0002DC68 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80030D0C 0002DC6C 48 00 00 A8 */ b lbl_80030DB4 -lbl_80030D10: -/* 80030D10 0002DC70 80 1F 00 08 */ lwz r0, 8(r31) -/* 80030D14 0002DC74 1C 60 00 28 */ mulli r3, r0, 0x28 -/* 80030D18 0002DC78 2C 03 00 00 */ cmpwi r3, 0 -/* 80030D1C 0002DC7C 40 82 00 10 */ bne lbl_80030D2C -/* 80030D20 0002DC80 38 00 00 00 */ li r0, 0 -/* 80030D24 0002DC84 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80030D28 0002DC88 48 00 00 18 */ b lbl_80030D40 -lbl_80030D2C: -/* 80030D2C 0002DC8C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 80030D30 0002DC90 38 A0 00 00 */ li r5, 0 -/* 80030D34 0002DC94 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 80030D38 0002DC98 48 2E 4A E1 */ bl __nwa__FUlPCcPCc -/* 80030D3C 0002DC9C 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_80030D40: -/* 80030D40 0002DCA0 80 DF 00 04 */ lwz r6, 4(r31) -/* 80030D44 0002DCA4 38 60 00 00 */ li r3, 0 -/* 80030D48 0002DCA8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80030D4C 0002DCAC 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80030D50 0002DCB0 48 00 00 5C */ b lbl_80030DAC -lbl_80030D54: -/* 80030D54 0002DCB4 28 04 00 00 */ cmplwi r4, 0 -/* 80030D58 0002DCB8 41 82 00 48 */ beq lbl_80030DA0 -/* 80030D5C 0002DCBC 80 05 00 00 */ lwz r0, 0(r5) -/* 80030D60 0002DCC0 39 05 00 08 */ addi r8, r5, 8 -/* 80030D64 0002DCC4 38 E4 00 08 */ addi r7, r4, 8 -/* 80030D68 0002DCC8 90 04 00 00 */ stw r0, 0(r4) -/* 80030D6C 0002DCCC 80 05 00 04 */ lwz r0, 4(r5) -/* 80030D70 0002DCD0 90 04 00 04 */ stw r0, 4(r4) -/* 80030D74 0002DCD4 80 04 00 04 */ lwz r0, 4(r4) -/* 80030D78 0002DCD8 7C 09 03 A6 */ mtctr r0 -/* 80030D7C 0002DCDC 2C 00 00 00 */ cmpwi r0, 0 -/* 80030D80 0002DCE0 40 81 00 20 */ ble lbl_80030DA0 -lbl_80030D84: -/* 80030D84 0002DCE4 28 07 00 00 */ cmplwi r7, 0 -/* 80030D88 0002DCE8 41 82 00 0C */ beq lbl_80030D94 -/* 80030D8C 0002DCEC 80 08 00 00 */ lwz r0, 0(r8) -/* 80030D90 0002DCF0 90 07 00 00 */ stw r0, 0(r7) -lbl_80030D94: -/* 80030D94 0002DCF4 38 E7 00 04 */ addi r7, r7, 4 -/* 80030D98 0002DCF8 39 08 00 04 */ addi r8, r8, 4 -/* 80030D9C 0002DCFC 42 00 FF E8 */ bdnz lbl_80030D84 -lbl_80030DA0: -/* 80030DA0 0002DD00 38 84 00 28 */ addi r4, r4, 0x28 -/* 80030DA4 0002DD04 38 63 00 01 */ addi r3, r3, 1 -/* 80030DA8 0002DD08 38 A5 00 28 */ addi r5, r5, 0x28 -lbl_80030DAC: -/* 80030DAC 0002DD0C 7C 03 30 00 */ cmpw r3, r6 -/* 80030DB0 0002DD10 41 80 FF A4 */ blt lbl_80030D54 -lbl_80030DB4: -/* 80030DB4 0002DD14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030DB8 0002DD18 7F E3 FB 78 */ mr r3, r31 -/* 80030DBC 0002DD1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030DC0 0002DD20 83 C1 00 08 */ lwz r30, 8(r1) -/* 80030DC4 0002DD24 7C 08 03 A6 */ mtlr r0 -/* 80030DC8 0002DD28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030DCC 0002DD2C 4E 80 00 20 */ blr - -.global sub_80030dd0 -sub_80030dd0: -/* 80030DD0 0002DD30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030DD4 0002DD34 7C 08 02 A6 */ mflr r0 -/* 80030DD8 0002DD38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030DDC 0002DD3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030DE0 0002DD40 7C 7F 1B 78 */ mr r31, r3 -/* 80030DE4 0002DD44 93 C1 00 08 */ stw r30, 8(r1) -/* 80030DE8 0002DD48 7C 9E 23 78 */ mr r30, r4 -/* 80030DEC 0002DD4C 80 04 00 04 */ lwz r0, 4(r4) -/* 80030DF0 0002DD50 90 03 00 04 */ stw r0, 4(r3) -/* 80030DF4 0002DD54 80 04 00 08 */ lwz r0, 8(r4) -/* 80030DF8 0002DD58 90 03 00 08 */ stw r0, 8(r3) -/* 80030DFC 0002DD5C 80 04 00 04 */ lwz r0, 4(r4) -/* 80030E00 0002DD60 2C 00 00 00 */ cmpwi r0, 0 -/* 80030E04 0002DD64 40 82 00 1C */ bne lbl_80030E20 -/* 80030E08 0002DD68 80 1E 00 08 */ lwz r0, 8(r30) -/* 80030E0C 0002DD6C 2C 00 00 00 */ cmpwi r0, 0 -/* 80030E10 0002DD70 40 82 00 10 */ bne lbl_80030E20 -/* 80030E14 0002DD74 38 00 00 00 */ li r0, 0 -/* 80030E18 0002DD78 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80030E1C 0002DD7C 48 00 00 88 */ b lbl_80030EA4 -lbl_80030E20: -/* 80030E20 0002DD80 80 1F 00 08 */ lwz r0, 8(r31) -/* 80030E24 0002DD84 1C 60 00 14 */ mulli r3, r0, 0x14 -/* 80030E28 0002DD88 2C 03 00 00 */ cmpwi r3, 0 -/* 80030E2C 0002DD8C 40 82 00 10 */ bne lbl_80030E3C -/* 80030E30 0002DD90 38 00 00 00 */ li r0, 0 -/* 80030E34 0002DD94 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80030E38 0002DD98 48 00 00 18 */ b lbl_80030E50 -lbl_80030E3C: -/* 80030E3C 0002DD9C 3C 80 80 3D */ lis r4, lbl_803CCD20@ha -/* 80030E40 0002DDA0 38 A0 00 00 */ li r5, 0 -/* 80030E44 0002DDA4 38 84 CD 20 */ addi r4, r4, lbl_803CCD20@l -/* 80030E48 0002DDA8 48 2E 49 D1 */ bl __nwa__FUlPCcPCc -/* 80030E4C 0002DDAC 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_80030E50: -/* 80030E50 0002DDB0 80 1F 00 04 */ lwz r0, 4(r31) -/* 80030E54 0002DDB4 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80030E58 0002DDB8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80030E5C 0002DDBC 7C 09 03 A6 */ mtctr r0 -/* 80030E60 0002DDC0 2C 00 00 00 */ cmpwi r0, 0 -/* 80030E64 0002DDC4 40 81 00 40 */ ble lbl_80030EA4 -lbl_80030E68: -/* 80030E68 0002DDC8 28 03 00 00 */ cmplwi r3, 0 -/* 80030E6C 0002DDCC 41 82 00 2C */ beq lbl_80030E98 -/* 80030E70 0002DDD0 80 04 00 00 */ lwz r0, 0(r4) -/* 80030E74 0002DDD4 90 03 00 00 */ stw r0, 0(r3) -/* 80030E78 0002DDD8 80 04 00 04 */ lwz r0, 4(r4) -/* 80030E7C 0002DDDC 90 03 00 04 */ stw r0, 4(r3) -/* 80030E80 0002DDE0 C0 04 00 08 */ lfs f0, 8(r4) -/* 80030E84 0002DDE4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80030E88 0002DDE8 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80030E8C 0002DDEC 90 03 00 0C */ stw r0, 0xc(r3) -/* 80030E90 0002DDF0 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80030E94 0002DDF4 90 03 00 10 */ stw r0, 0x10(r3) -lbl_80030E98: -/* 80030E98 0002DDF8 38 63 00 14 */ addi r3, r3, 0x14 -/* 80030E9C 0002DDFC 38 84 00 14 */ addi r4, r4, 0x14 -/* 80030EA0 0002DE00 42 00 FF C8 */ bdnz lbl_80030E68 -lbl_80030EA4: -/* 80030EA4 0002DE04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030EA8 0002DE08 7F E3 FB 78 */ mr r3, r31 -/* 80030EAC 0002DE0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030EB0 0002DE10 83 C1 00 08 */ lwz r30, 8(r1) -/* 80030EB4 0002DE14 7C 08 03 A6 */ mtlr r0 -/* 80030EB8 0002DE18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030EBC 0002DE1C 4E 80 00 20 */ blr - -.global sub_80030ec0 -sub_80030ec0: -/* 80030EC0 0002DE20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030EC4 0002DE24 7C 08 02 A6 */ mflr r0 -/* 80030EC8 0002DE28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030ECC 0002DE2C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030ED0 0002DE30 7C 7F 1B 78 */ mr r31, r3 -/* 80030ED4 0002DE34 80 83 00 00 */ lwz r4, 0(r3) -/* 80030ED8 0002DE38 80 64 00 04 */ lwz r3, 4(r4) -/* 80030EDC 0002DE3C 34 03 FF FF */ addic. r0, r3, -1 -/* 80030EE0 0002DE40 90 04 00 04 */ stw r0, 4(r4) -/* 80030EE4 0002DE44 41 81 00 38 */ bgt lbl_80030F1C -/* 80030EE8 0002DE48 80 7F 00 00 */ lwz r3, 0(r31) -/* 80030EEC 0002DE4C 80 63 00 00 */ lwz r3, 0(r3) -/* 80030EF0 0002DE50 28 03 00 00 */ cmplwi r3, 0 -/* 80030EF4 0002DE54 41 82 00 18 */ beq lbl_80030F0C -/* 80030EF8 0002DE58 81 83 00 00 */ lwz r12, 0(r3) -/* 80030EFC 0002DE5C 38 80 00 01 */ li r4, 1 -/* 80030F00 0002DE60 81 8C 00 08 */ lwz r12, 8(r12) -/* 80030F04 0002DE64 7D 89 03 A6 */ mtctr r12 -/* 80030F08 0002DE68 4E 80 04 21 */ bctrl -lbl_80030F0C: -/* 80030F0C 0002DE6C 80 7F 00 00 */ lwz r3, 0(r31) -/* 80030F10 0002DE70 28 03 00 00 */ cmplwi r3, 0 -/* 80030F14 0002DE74 41 82 00 08 */ beq lbl_80030F1C -/* 80030F18 0002DE78 48 2E 4A 19 */ bl Free__7CMemoryFPCv -lbl_80030F1C: -/* 80030F1C 0002DE7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030F20 0002DE80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030F24 0002DE84 7C 08 03 A6 */ mtlr r0 -/* 80030F28 0002DE88 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030F2C 0002DE8C 4E 80 00 20 */ blr - -.global sub_80030f30 -sub_80030f30: -/* 80030F30 0002DE90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030F34 0002DE94 7C 08 02 A6 */ mflr r0 -/* 80030F38 0002DE98 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030F3C 0002DE9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030F40 0002DEA0 7C 7F 1B 78 */ mr r31, r3 -/* 80030F44 0002DEA4 80 83 00 00 */ lwz r4, 0(r3) -/* 80030F48 0002DEA8 80 64 00 04 */ lwz r3, 4(r4) -/* 80030F4C 0002DEAC 34 03 FF FF */ addic. r0, r3, -1 -/* 80030F50 0002DEB0 90 04 00 04 */ stw r0, 4(r4) -/* 80030F54 0002DEB4 41 81 00 38 */ bgt lbl_80030F8C -/* 80030F58 0002DEB8 80 7F 00 00 */ lwz r3, 0(r31) -/* 80030F5C 0002DEBC 80 63 00 00 */ lwz r3, 0(r3) -/* 80030F60 0002DEC0 28 03 00 00 */ cmplwi r3, 0 -/* 80030F64 0002DEC4 41 82 00 18 */ beq lbl_80030F7C -/* 80030F68 0002DEC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80030F6C 0002DECC 38 80 00 01 */ li r4, 1 -/* 80030F70 0002DED0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80030F74 0002DED4 7D 89 03 A6 */ mtctr r12 -/* 80030F78 0002DED8 4E 80 04 21 */ bctrl -lbl_80030F7C: -/* 80030F7C 0002DEDC 80 7F 00 00 */ lwz r3, 0(r31) -/* 80030F80 0002DEE0 28 03 00 00 */ cmplwi r3, 0 -/* 80030F84 0002DEE4 41 82 00 08 */ beq lbl_80030F8C -/* 80030F88 0002DEE8 48 2E 49 A9 */ bl Free__7CMemoryFPCv -lbl_80030F8C: -/* 80030F8C 0002DEEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80030F90 0002DEF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80030F94 0002DEF4 7C 08 03 A6 */ mtlr r0 -/* 80030F98 0002DEF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80030F9C 0002DEFC 4E 80 00 20 */ blr - -.global sub_80030fa0 -sub_80030fa0: -/* 80030FA0 0002DF00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80030FA4 0002DF04 7C 08 02 A6 */ mflr r0 -/* 80030FA8 0002DF08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80030FAC 0002DF0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80030FB0 0002DF10 7C 7F 1B 78 */ mr r31, r3 -/* 80030FB4 0002DF14 80 83 00 00 */ lwz r4, 0(r3) -/* 80030FB8 0002DF18 80 64 00 04 */ lwz r3, 4(r4) -/* 80030FBC 0002DF1C 34 03 FF FF */ addic. r0, r3, -1 -/* 80030FC0 0002DF20 90 04 00 04 */ stw r0, 4(r4) -/* 80030FC4 0002DF24 41 81 00 38 */ bgt lbl_80030FFC -/* 80030FC8 0002DF28 80 7F 00 00 */ lwz r3, 0(r31) -/* 80030FCC 0002DF2C 80 63 00 00 */ lwz r3, 0(r3) -/* 80030FD0 0002DF30 28 03 00 00 */ cmplwi r3, 0 -/* 80030FD4 0002DF34 41 82 00 18 */ beq lbl_80030FEC -/* 80030FD8 0002DF38 81 83 00 00 */ lwz r12, 0(r3) -/* 80030FDC 0002DF3C 38 80 00 01 */ li r4, 1 -/* 80030FE0 0002DF40 81 8C 00 08 */ lwz r12, 8(r12) -/* 80030FE4 0002DF44 7D 89 03 A6 */ mtctr r12 -/* 80030FE8 0002DF48 4E 80 04 21 */ bctrl -lbl_80030FEC: -/* 80030FEC 0002DF4C 80 7F 00 00 */ lwz r3, 0(r31) -/* 80030FF0 0002DF50 28 03 00 00 */ cmplwi r3, 0 -/* 80030FF4 0002DF54 41 82 00 08 */ beq lbl_80030FFC -/* 80030FF8 0002DF58 48 2E 49 39 */ bl Free__7CMemoryFPCv -lbl_80030FFC: -/* 80030FFC 0002DF5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80031000 0002DF60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80031004 0002DF64 7C 08 03 A6 */ mtlr r0 -/* 80031008 0002DF68 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003100C 0002DF6C 4E 80 00 20 */ blr - -.global sub_80031010 -sub_80031010: -/* 80031010 0002DF70 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80031014 0002DF74 7C 08 02 A6 */ mflr r0 -/* 80031018 0002DF78 90 01 00 34 */ stw r0, 0x34(r1) -/* 8003101C 0002DF7C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80031020 0002DF80 7C 9F 23 78 */ mr r31, r4 -/* 80031024 0002DF84 7C 7E 1B 78 */ mr r30, r3 -/* 80031028 0002DF88 7C DA 33 78 */ mr r26, r6 -/* 8003102C 0002DF8C 7C FB 3B 78 */ mr r27, r7 -/* 80031030 0002DF90 38 61 00 0C */ addi r3, r1, 0xc -/* 80031034 0002DF94 80 85 00 00 */ lwz r4, 0(r5) -/* 80031038 0002DF98 80 1F 00 00 */ lwz r0, 0(r31) -/* 8003103C 0002DF9C 90 81 00 08 */ stw r4, 8(r1) -/* 80031040 0002DFA0 38 81 00 08 */ addi r4, r1, 8 -/* 80031044 0002DFA4 90 01 00 0C */ stw r0, 0xc(r1) -/* 80031048 0002DFA8 48 00 07 F9 */ bl sub_80031840 -/* 8003104C 0002DFAC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80031050 0002DFB0 7C 7D 1B 78 */ mr r29, r3 -/* 80031054 0002DFB4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80031058 0002DFB8 48 00 00 60 */ b lbl_800310B8 -lbl_8003105C: -/* 8003105C 0002DFBC 57 A3 0F FE */ srwi r3, r29, 0x1f -/* 80031060 0002DFC0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80031064 0002DFC4 7C 83 EA 14 */ add r4, r3, r29 -/* 80031068 0002DFC8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003106C 0002DFCC 7C 9C 0E 70 */ srawi r28, r4, 1 -/* 80031070 0002DFD0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80031074 0002DFD4 7F 84 E3 78 */ mr r4, r28 -/* 80031078 0002DFD8 48 00 07 09 */ bl sub_80031780 -/* 8003107C 0002DFDC 80 81 00 10 */ lwz r4, 0x10(r1) -/* 80031080 0002DFE0 7F 63 DB 78 */ mr r3, r27 -/* 80031084 0002DFE4 7F 45 D3 78 */ mr r5, r26 -/* 80031088 0002DFE8 48 00 00 55 */ bl sub_800310dc -/* 8003108C 0002DFEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80031090 0002DFF0 41 82 00 24 */ beq lbl_800310B4 -/* 80031094 0002DFF4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80031098 0002DFF8 7C 7C E8 50 */ subf r3, r28, r29 -/* 8003109C 0002DFFC 3B A3 FF FF */ addi r29, r3, -1 -/* 800310A0 0002E000 90 1F 00 00 */ stw r0, 0(r31) -/* 800310A4 0002E004 80 7F 00 00 */ lwz r3, 0(r31) -/* 800310A8 0002E008 38 03 00 28 */ addi r0, r3, 0x28 -/* 800310AC 0002E00C 90 1F 00 00 */ stw r0, 0(r31) -/* 800310B0 0002E010 48 00 00 08 */ b lbl_800310B8 -lbl_800310B4: -/* 800310B4 0002E014 7F 9D E3 78 */ mr r29, r28 -lbl_800310B8: -/* 800310B8 0002E018 2C 1D 00 00 */ cmpwi r29, 0 -/* 800310BC 0002E01C 41 81 FF A0 */ bgt lbl_8003105C -/* 800310C0 0002E020 80 1F 00 00 */ lwz r0, 0(r31) -/* 800310C4 0002E024 90 1E 00 00 */ stw r0, 0(r30) -/* 800310C8 0002E028 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800310CC 0002E02C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800310D0 0002E030 7C 08 03 A6 */ mtlr r0 -/* 800310D4 0002E034 38 21 00 30 */ addi r1, r1, 0x30 -/* 800310D8 0002E038 4E 80 00 20 */ blr - -.global sub_800310dc -sub_800310dc: -/* 800310DC 0002E03C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800310E0 0002E040 7C 08 02 A6 */ mflr r0 -/* 800310E4 0002E044 90 01 00 14 */ stw r0, 0x14(r1) -/* 800310E8 0002E048 4B FF 96 41 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 800310EC 0002E04C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800310F0 0002E050 7C 08 03 A6 */ mtlr r0 -/* 800310F4 0002E054 38 21 00 10 */ addi r1, r1, 0x10 -/* 800310F8 0002E058 4E 80 00 20 */ blr - -.global sub_800310fc -sub_800310fc: -/* 800310FC 0002E05C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80031100 0002E060 7C 08 02 A6 */ mflr r0 -/* 80031104 0002E064 90 01 00 34 */ stw r0, 0x34(r1) -/* 80031108 0002E068 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8003110C 0002E06C 7C 9F 23 78 */ mr r31, r4 -/* 80031110 0002E070 7C 7E 1B 78 */ mr r30, r3 -/* 80031114 0002E074 7C DA 33 78 */ mr r26, r6 -/* 80031118 0002E078 7C FB 3B 78 */ mr r27, r7 -/* 8003111C 0002E07C 38 61 00 0C */ addi r3, r1, 0xc -/* 80031120 0002E080 80 85 00 00 */ lwz r4, 0(r5) -/* 80031124 0002E084 80 1F 00 00 */ lwz r0, 0(r31) -/* 80031128 0002E088 90 81 00 08 */ stw r4, 8(r1) -/* 8003112C 0002E08C 38 81 00 08 */ addi r4, r1, 8 -/* 80031130 0002E090 90 01 00 0C */ stw r0, 0xc(r1) -/* 80031134 0002E094 48 00 07 51 */ bl sub_80031884 -/* 80031138 0002E098 80 1F 00 00 */ lwz r0, 0(r31) -/* 8003113C 0002E09C 7C 7D 1B 78 */ mr r29, r3 -/* 80031140 0002E0A0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80031144 0002E0A4 48 00 00 60 */ b lbl_800311A4 -lbl_80031148: -/* 80031148 0002E0A8 57 A3 0F FE */ srwi r3, r29, 0x1f -/* 8003114C 0002E0AC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80031150 0002E0B0 7C 83 EA 14 */ add r4, r3, r29 -/* 80031154 0002E0B4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80031158 0002E0B8 7C 9C 0E 70 */ srawi r28, r4, 1 -/* 8003115C 0002E0BC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80031160 0002E0C0 7F 84 E3 78 */ mr r4, r28 -/* 80031164 0002E0C4 48 00 06 49 */ bl sub_800317ac -/* 80031168 0002E0C8 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8003116C 0002E0CC 7F 63 DB 78 */ mr r3, r27 -/* 80031170 0002E0D0 7F 45 D3 78 */ mr r5, r26 -/* 80031174 0002E0D4 48 00 00 55 */ bl sub_800311c8 -/* 80031178 0002E0D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003117C 0002E0DC 41 82 00 24 */ beq lbl_800311A0 -/* 80031180 0002E0E0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80031184 0002E0E4 7C 7C E8 50 */ subf r3, r28, r29 -/* 80031188 0002E0E8 3B A3 FF FF */ addi r29, r3, -1 -/* 8003118C 0002E0EC 90 1F 00 00 */ stw r0, 0(r31) -/* 80031190 0002E0F0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80031194 0002E0F4 38 03 00 20 */ addi r0, r3, 0x20 -/* 80031198 0002E0F8 90 1F 00 00 */ stw r0, 0(r31) -/* 8003119C 0002E0FC 48 00 00 08 */ b lbl_800311A4 -lbl_800311A0: -/* 800311A0 0002E100 7F 9D E3 78 */ mr r29, r28 -lbl_800311A4: -/* 800311A4 0002E104 2C 1D 00 00 */ cmpwi r29, 0 -/* 800311A8 0002E108 41 81 FF A0 */ bgt lbl_80031148 -/* 800311AC 0002E10C 80 1F 00 00 */ lwz r0, 0(r31) -/* 800311B0 0002E110 90 1E 00 00 */ stw r0, 0(r30) -/* 800311B4 0002E114 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800311B8 0002E118 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800311BC 0002E11C 7C 08 03 A6 */ mtlr r0 -/* 800311C0 0002E120 38 21 00 30 */ addi r1, r1, 0x30 -/* 800311C4 0002E124 4E 80 00 20 */ blr - -.global sub_800311c8 -sub_800311c8: -/* 800311C8 0002E128 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800311CC 0002E12C 7C 08 02 A6 */ mflr r0 -/* 800311D0 0002E130 90 01 00 14 */ stw r0, 0x14(r1) -/* 800311D4 0002E134 4B FF 95 55 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 800311D8 0002E138 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800311DC 0002E13C 7C 08 03 A6 */ mtlr r0 -/* 800311E0 0002E140 38 21 00 10 */ addi r1, r1, 0x10 -/* 800311E4 0002E144 4E 80 00 20 */ blr - -.global "lower_bound,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl79pair_sorter_finder,Q24rstl8less>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_p" -"lower_bound,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl79pair_sorter_finder,Q24rstl8less>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_p": -/* 800311E8 0002E148 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800311EC 0002E14C 7C 08 02 A6 */ mflr r0 -/* 800311F0 0002E150 90 01 00 34 */ stw r0, 0x34(r1) -/* 800311F4 0002E154 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800311F8 0002E158 7C 9F 23 78 */ mr r31, r4 -/* 800311FC 0002E15C 7C 7E 1B 78 */ mr r30, r3 -/* 80031200 0002E160 7C DB 33 78 */ mr r27, r6 -/* 80031204 0002E164 38 61 00 0C */ addi r3, r1, 0xc -/* 80031208 0002E168 80 85 00 00 */ lwz r4, 0(r5) -/* 8003120C 0002E16C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80031210 0002E170 90 81 00 08 */ stw r4, 8(r1) -/* 80031214 0002E174 38 81 00 08 */ addi r4, r1, 8 -/* 80031218 0002E178 90 01 00 0C */ stw r0, 0xc(r1) -/* 8003121C 0002E17C 48 00 06 AD */ bl "distance,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>Fv" -lbl_80031304: -/* 80031304 0002E264 28 1F 00 00 */ cmplwi r31, 0 -/* 80031308 0002E268 41 82 00 0C */ beq lbl_80031314 -/* 8003130C 0002E26C 7F E3 FB 78 */ mr r3, r31 -/* 80031310 0002E270 48 2E 46 21 */ bl Free__7CMemoryFPCv -lbl_80031314: -/* 80031314 0002E274 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80031318 0002E278 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003131C 0002E27C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80031320 0002E280 7C 08 03 A6 */ mtlr r0 -/* 80031324 0002E284 38 21 00 10 */ addi r1, r1, 0x10 -/* 80031328 0002E288 4E 80 00 20 */ blr - -.global __dt__13CAnimTreeNodeFv -__dt__13CAnimTreeNodeFv: -/* 8003132C 0002E28C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80031330 0002E290 7C 08 02 A6 */ mflr r0 -/* 80031334 0002E294 90 01 00 14 */ stw r0, 0x14(r1) -/* 80031338 0002E298 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003133C 0002E29C 7C 9F 23 78 */ mr r31, r4 -/* 80031340 0002E2A0 93 C1 00 08 */ stw r30, 8(r1) -/* 80031344 0002E2A4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80031348 0002E2A8 41 82 00 48 */ beq lbl_80031390 -/* 8003134C 0002E2AC 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha -/* 80031350 0002E2B0 38 80 00 02 */ li r4, 2 -/* 80031354 0002E2B4 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l -/* 80031358 0002E2B8 90 1E 00 00 */ stw r0, 0(r30) -/* 8003135C 0002E2BC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80031360 0002E2C0 48 2C 68 49 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem -/* 80031364 0002E2C4 34 1E 00 04 */ addic. r0, r30, 4 -/* 80031368 0002E2C8 41 82 00 0C */ beq lbl_80031374 -/* 8003136C 0002E2CC 38 7E 00 04 */ addi r3, r30, 4 -/* 80031370 0002E2D0 48 30 C7 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80031374: -/* 80031374 0002E2D4 7F C3 F3 78 */ mr r3, r30 -/* 80031378 0002E2D8 38 80 00 00 */ li r4, 0 -/* 8003137C 0002E2DC 48 2C CB 59 */ bl __dt__11IAnimReaderFv -/* 80031380 0002E2E0 7F E0 07 35 */ extsh. r0, r31 -/* 80031384 0002E2E4 40 81 00 0C */ ble lbl_80031390 -/* 80031388 0002E2E8 7F C3 F3 78 */ mr r3, r30 -/* 8003138C 0002E2EC 48 2E 45 A5 */ bl Free__7CMemoryFPCv -lbl_80031390: -/* 80031390 0002E2F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80031394 0002E2F4 7F C3 F3 78 */ mr r3, r30 -/* 80031398 0002E2F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003139C 0002E2FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 800313A0 0002E300 7C 08 03 A6 */ mtlr r0 -/* 800313A4 0002E304 38 21 00 10 */ addi r1, r1, 0x10 -/* 800313A8 0002E308 4E 80 00 20 */ blr - -.global sub_800313ac -sub_800313ac: -/* 800313AC 0002E30C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800313B0 0002E310 7C 08 02 A6 */ mflr r0 -/* 800313B4 0002E314 90 01 00 14 */ stw r0, 0x14(r1) -/* 800313B8 0002E318 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800313BC 0002E31C 93 C1 00 08 */ stw r30, 8(r1) -/* 800313C0 0002E320 7C 7E 1B 78 */ mr r30, r3 -/* 800313C4 0002E324 80 83 00 00 */ lwz r4, 0(r3) -/* 800313C8 0002E328 80 64 00 04 */ lwz r3, 4(r4) -/* 800313CC 0002E32C 34 03 FF FF */ addic. r0, r3, -1 -/* 800313D0 0002E330 90 04 00 04 */ stw r0, 4(r4) -/* 800313D4 0002E334 41 81 00 70 */ bgt lbl_80031444 -/* 800313D8 0002E338 80 7E 00 00 */ lwz r3, 0(r30) -/* 800313DC 0002E33C 83 E3 00 00 */ lwz r31, 0(r3) -/* 800313E0 0002E340 28 1F 00 00 */ cmplwi r31, 0 -/* 800313E4 0002E344 41 82 00 50 */ beq lbl_80031434 -/* 800313E8 0002E348 34 1F 00 08 */ addic. r0, r31, 8 -/* 800313EC 0002E34C 41 82 00 2C */ beq lbl_80031418 -/* 800313F0 0002E350 34 7F 00 10 */ addic. r3, r31, 0x10 -/* 800313F4 0002E354 41 82 00 10 */ beq lbl_80031404 -/* 800313F8 0002E358 28 03 00 00 */ cmplwi r3, 0 -/* 800313FC 0002E35C 41 82 00 08 */ beq lbl_80031404 -/* 80031400 0002E360 48 00 03 29 */ bl sub_80031728 -lbl_80031404: -/* 80031404 0002E364 34 1F 00 08 */ addic. r0, r31, 8 -/* 80031408 0002E368 41 82 00 10 */ beq lbl_80031418 -/* 8003140C 0002E36C 38 7F 00 08 */ addi r3, r31, 8 -/* 80031410 0002E370 38 80 00 00 */ li r4, 0 -/* 80031414 0002E374 48 30 FA 2D */ bl __dt__6CTokenFv -lbl_80031418: -/* 80031418 0002E378 28 1F 00 00 */ cmplwi r31, 0 -/* 8003141C 0002E37C 41 82 00 10 */ beq lbl_8003142C -/* 80031420 0002E380 7F E3 FB 78 */ mr r3, r31 -/* 80031424 0002E384 38 80 00 00 */ li r4, 0 -/* 80031428 0002E388 48 30 FA 19 */ bl __dt__6CTokenFv -lbl_8003142C: -/* 8003142C 0002E38C 7F E3 FB 78 */ mr r3, r31 -/* 80031430 0002E390 48 2E 45 01 */ bl Free__7CMemoryFPCv -lbl_80031434: -/* 80031434 0002E394 80 7E 00 00 */ lwz r3, 0(r30) -/* 80031438 0002E398 28 03 00 00 */ cmplwi r3, 0 -/* 8003143C 0002E39C 41 82 00 08 */ beq lbl_80031444 -/* 80031440 0002E3A0 48 2E 44 F1 */ bl Free__7CMemoryFPCv -lbl_80031444: -/* 80031444 0002E3A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80031448 0002E3A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003144C 0002E3AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80031450 0002E3B0 7C 08 03 A6 */ mtlr r0 -/* 80031454 0002E3B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80031458 0002E3B8 4E 80 00 20 */ blr - -.global sub_8003145c -sub_8003145c: -/* 8003145C 0002E3BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80031460 0002E3C0 7C 08 02 A6 */ mflr r0 -/* 80031464 0002E3C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80031468 0002E3C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003146C 0002E3CC 93 C1 00 08 */ stw r30, 8(r1) -/* 80031470 0002E3D0 7C 7E 1B 78 */ mr r30, r3 -/* 80031474 0002E3D4 80 83 00 00 */ lwz r4, 0(r3) -/* 80031478 0002E3D8 80 64 00 04 */ lwz r3, 4(r4) -/* 8003147C 0002E3DC 34 03 FF FF */ addic. r0, r3, -1 -/* 80031480 0002E3E0 90 04 00 04 */ stw r0, 4(r4) -/* 80031484 0002E3E4 41 81 00 5C */ bgt lbl_800314E0 -/* 80031488 0002E3E8 80 7E 00 00 */ lwz r3, 0(r30) -/* 8003148C 0002E3EC 83 E3 00 00 */ lwz r31, 0(r3) -/* 80031490 0002E3F0 28 1F 00 00 */ cmplwi r31, 0 -/* 80031494 0002E3F4 41 82 00 3C */ beq lbl_800314D0 -/* 80031498 0002E3F8 41 82 00 30 */ beq lbl_800314C8 -/* 8003149C 0002E3FC 34 1F 00 08 */ addic. r0, r31, 8 -/* 800314A0 0002E400 41 82 00 14 */ beq lbl_800314B4 -/* 800314A4 0002E404 34 1F 00 08 */ addic. r0, r31, 8 -/* 800314A8 0002E408 41 82 00 0C */ beq lbl_800314B4 -/* 800314AC 0002E40C 38 7F 00 08 */ addi r3, r31, 8 -/* 800314B0 0002E410 48 00 02 79 */ bl sub_80031728 -lbl_800314B4: -/* 800314B4 0002E414 28 1F 00 00 */ cmplwi r31, 0 -/* 800314B8 0002E418 41 82 00 10 */ beq lbl_800314C8 -/* 800314BC 0002E41C 7F E3 FB 78 */ mr r3, r31 -/* 800314C0 0002E420 38 80 00 00 */ li r4, 0 -/* 800314C4 0002E424 48 30 F9 7D */ bl __dt__6CTokenFv -lbl_800314C8: -/* 800314C8 0002E428 7F E3 FB 78 */ mr r3, r31 -/* 800314CC 0002E42C 48 2E 44 65 */ bl Free__7CMemoryFPCv -lbl_800314D0: -/* 800314D0 0002E430 80 7E 00 00 */ lwz r3, 0(r30) -/* 800314D4 0002E434 28 03 00 00 */ cmplwi r3, 0 -/* 800314D8 0002E438 41 82 00 08 */ beq lbl_800314E0 -/* 800314DC 0002E43C 48 2E 44 55 */ bl Free__7CMemoryFPCv -lbl_800314E0: -/* 800314E0 0002E440 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800314E4 0002E444 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800314E8 0002E448 83 C1 00 08 */ lwz r30, 8(r1) -/* 800314EC 0002E44C 7C 08 03 A6 */ mtlr r0 -/* 800314F0 0002E450 38 21 00 10 */ addi r1, r1, 0x10 -/* 800314F4 0002E454 4E 80 00 20 */ blr - -.global sub_800314f8 -sub_800314f8: -/* 800314F8 0002E458 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800314FC 0002E45C 7C 08 02 A6 */ mflr r0 -/* 80031500 0002E460 90 01 00 14 */ stw r0, 0x14(r1) -/* 80031504 0002E464 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80031508 0002E468 93 C1 00 08 */ stw r30, 8(r1) -/* 8003150C 0002E46C 7C 7E 1B 78 */ mr r30, r3 -/* 80031510 0002E470 80 83 00 00 */ lwz r4, 0(r3) -/* 80031514 0002E474 80 64 00 04 */ lwz r3, 4(r4) -/* 80031518 0002E478 34 03 FF FF */ addic. r0, r3, -1 -/* 8003151C 0002E47C 90 04 00 04 */ stw r0, 4(r4) -/* 80031520 0002E480 41 81 00 58 */ bgt lbl_80031578 -/* 80031524 0002E484 80 7E 00 00 */ lwz r3, 0(r30) -/* 80031528 0002E488 83 E3 00 00 */ lwz r31, 0(r3) -/* 8003152C 0002E48C 28 1F 00 00 */ cmplwi r31, 0 -/* 80031530 0002E490 41 82 00 38 */ beq lbl_80031568 -/* 80031534 0002E494 34 1F 00 08 */ addic. r0, r31, 8 -/* 80031538 0002E498 41 82 00 14 */ beq lbl_8003154C -/* 8003153C 0002E49C 34 1F 00 08 */ addic. r0, r31, 8 -/* 80031540 0002E4A0 41 82 00 0C */ beq lbl_8003154C -/* 80031544 0002E4A4 38 7F 00 08 */ addi r3, r31, 8 -/* 80031548 0002E4A8 48 00 01 E1 */ bl sub_80031728 -lbl_8003154C: -/* 8003154C 0002E4AC 28 1F 00 00 */ cmplwi r31, 0 -/* 80031550 0002E4B0 41 82 00 10 */ beq lbl_80031560 -/* 80031554 0002E4B4 7F E3 FB 78 */ mr r3, r31 -/* 80031558 0002E4B8 38 80 00 00 */ li r4, 0 -/* 8003155C 0002E4BC 48 30 F8 E5 */ bl __dt__6CTokenFv -lbl_80031560: -/* 80031560 0002E4C0 7F E3 FB 78 */ mr r3, r31 -/* 80031564 0002E4C4 48 2E 43 CD */ bl Free__7CMemoryFPCv -lbl_80031568: -/* 80031568 0002E4C8 80 7E 00 00 */ lwz r3, 0(r30) -/* 8003156C 0002E4CC 28 03 00 00 */ cmplwi r3, 0 -/* 80031570 0002E4D0 41 82 00 08 */ beq lbl_80031578 -/* 80031574 0002E4D4 48 2E 43 BD */ bl Free__7CMemoryFPCv -lbl_80031578: -/* 80031578 0002E4D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003157C 0002E4DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80031580 0002E4E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80031584 0002E4E4 7C 08 03 A6 */ mtlr r0 -/* 80031588 0002E4E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003158C 0002E4EC 4E 80 00 20 */ blr - -.global __dt__17CPoseAsTransformsFv -__dt__17CPoseAsTransformsFv: -/* 80031590 0002E4F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80031594 0002E4F4 7C 08 02 A6 */ mflr r0 -/* 80031598 0002E4F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003159C 0002E4FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800315A0 0002E500 7C 9F 23 78 */ mr r31, r4 -/* 800315A4 0002E504 93 C1 00 08 */ stw r30, 8(r1) -/* 800315A8 0002E508 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800315AC 0002E50C 41 82 00 94 */ beq lbl_80031640 -/* 800315B0 0002E510 88 7E 00 D4 */ lbz r3, 0xd4(r30) -/* 800315B4 0002E514 38 9E 00 08 */ addi r4, r30, 8 -/* 800315B8 0002E518 48 00 00 0C */ b lbl_800315C4 -lbl_800315BC: -/* 800315BC 0002E51C 54 60 0D FC */ rlwinm r0, r3, 1, 0x17, 0x1e -/* 800315C0 0002E520 7C 64 00 AE */ lbzx r3, r4, r0 -lbl_800315C4: -/* 800315C4 0002E524 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800315C8 0002E528 40 82 FF F4 */ bne lbl_800315BC -/* 800315CC 0002E52C 80 7E 00 D0 */ lwz r3, 0xd0(r30) -/* 800315D0 0002E530 48 2E 43 61 */ bl Free__7CMemoryFPCv -/* 800315D4 0002E534 34 1E 00 04 */ addic. r0, r30, 4 -/* 800315D8 0002E538 41 82 00 58 */ beq lbl_80031630 -/* 800315DC 0002E53C 80 BE 00 04 */ lwz r5, 4(r30) -/* 800315E0 0002E540 38 60 00 00 */ li r3, 0 -/* 800315E4 0002E544 2C 05 00 00 */ cmpwi r5, 0 -/* 800315E8 0002E548 40 81 00 40 */ ble lbl_80031628 -/* 800315EC 0002E54C 2C 05 00 08 */ cmpwi r5, 8 -/* 800315F0 0002E550 38 85 FF F8 */ addi r4, r5, -8 -/* 800315F4 0002E554 40 81 00 20 */ ble lbl_80031614 -/* 800315F8 0002E558 38 04 00 07 */ addi r0, r4, 7 -/* 800315FC 0002E55C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80031600 0002E560 7C 09 03 A6 */ mtctr r0 -/* 80031604 0002E564 2C 04 00 00 */ cmpwi r4, 0 -/* 80031608 0002E568 40 81 00 0C */ ble lbl_80031614 -lbl_8003160C: -/* 8003160C 0002E56C 38 63 00 08 */ addi r3, r3, 8 -/* 80031610 0002E570 42 00 FF FC */ bdnz lbl_8003160C -lbl_80031614: -/* 80031614 0002E574 7C 03 28 50 */ subf r0, r3, r5 -/* 80031618 0002E578 7C 09 03 A6 */ mtctr r0 -/* 8003161C 0002E57C 7C 03 28 00 */ cmpw r3, r5 -/* 80031620 0002E580 40 80 00 08 */ bge lbl_80031628 -lbl_80031624: -/* 80031624 0002E584 42 00 00 00 */ bdnz lbl_80031624 -lbl_80031628: -/* 80031628 0002E588 38 00 00 00 */ li r0, 0 -/* 8003162C 0002E58C 90 1E 00 04 */ stw r0, 4(r30) -lbl_80031630: -/* 80031630 0002E590 7F E0 07 35 */ extsh. r0, r31 -/* 80031634 0002E594 40 81 00 0C */ ble lbl_80031640 -/* 80031638 0002E598 7F C3 F3 78 */ mr r3, r30 -/* 8003163C 0002E59C 48 2E 42 F5 */ bl Free__7CMemoryFPCv -lbl_80031640: -/* 80031640 0002E5A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80031644 0002E5A4 7F C3 F3 78 */ mr r3, r30 -/* 80031648 0002E5A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003164C 0002E5AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80031650 0002E5B0 7C 08 03 A6 */ mtlr r0 -/* 80031654 0002E5B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80031658 0002E5B8 4E 80 00 20 */ blr - -.global sub_8003165c -sub_8003165c: -/* 8003165C 0002E5BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80031660 0002E5C0 7C 08 02 A6 */ mflr r0 -/* 80031664 0002E5C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80031668 0002E5C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003166C 0002E5CC 7C 9F 23 78 */ mr r31, r4 -/* 80031670 0002E5D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80031674 0002E5D4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80031678 0002E5D8 41 82 00 94 */ beq lbl_8003170C -/* 8003167C 0002E5DC 88 7E 00 D4 */ lbz r3, 0xd4(r30) -/* 80031680 0002E5E0 38 9E 00 08 */ addi r4, r30, 8 -/* 80031684 0002E5E4 48 00 00 0C */ b lbl_80031690 -lbl_80031688: -/* 80031688 0002E5E8 54 60 0D FC */ rlwinm r0, r3, 1, 0x17, 0x1e -/* 8003168C 0002E5EC 7C 64 00 AE */ lbzx r3, r4, r0 -lbl_80031690: -/* 80031690 0002E5F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80031694 0002E5F4 40 82 FF F4 */ bne lbl_80031688 -/* 80031698 0002E5F8 80 7E 00 D0 */ lwz r3, 0xd0(r30) -/* 8003169C 0002E5FC 48 2E 42 95 */ bl Free__7CMemoryFPCv -/* 800316A0 0002E600 34 1E 00 04 */ addic. r0, r30, 4 -/* 800316A4 0002E604 41 82 00 58 */ beq lbl_800316FC -/* 800316A8 0002E608 80 BE 00 04 */ lwz r5, 4(r30) -/* 800316AC 0002E60C 38 60 00 00 */ li r3, 0 -/* 800316B0 0002E610 2C 05 00 00 */ cmpwi r5, 0 -/* 800316B4 0002E614 40 81 00 40 */ ble lbl_800316F4 -/* 800316B8 0002E618 2C 05 00 08 */ cmpwi r5, 8 -/* 800316BC 0002E61C 38 85 FF F8 */ addi r4, r5, -8 -/* 800316C0 0002E620 40 81 00 20 */ ble lbl_800316E0 -/* 800316C4 0002E624 38 04 00 07 */ addi r0, r4, 7 -/* 800316C8 0002E628 54 00 E8 FE */ srwi r0, r0, 3 -/* 800316CC 0002E62C 7C 09 03 A6 */ mtctr r0 -/* 800316D0 0002E630 2C 04 00 00 */ cmpwi r4, 0 -/* 800316D4 0002E634 40 81 00 0C */ ble lbl_800316E0 -lbl_800316D8: -/* 800316D8 0002E638 38 63 00 08 */ addi r3, r3, 8 -/* 800316DC 0002E63C 42 00 FF FC */ bdnz lbl_800316D8 -lbl_800316E0: -/* 800316E0 0002E640 7C 03 28 50 */ subf r0, r3, r5 -/* 800316E4 0002E644 7C 09 03 A6 */ mtctr r0 -/* 800316E8 0002E648 7C 03 28 00 */ cmpw r3, r5 -/* 800316EC 0002E64C 40 80 00 08 */ bge lbl_800316F4 -lbl_800316F0: -/* 800316F0 0002E650 42 00 00 00 */ bdnz lbl_800316F0 -lbl_800316F4: -/* 800316F4 0002E654 38 00 00 00 */ li r0, 0 -/* 800316F8 0002E658 90 1E 00 04 */ stw r0, 4(r30) -lbl_800316FC: -/* 800316FC 0002E65C 7F E0 07 35 */ extsh. r0, r31 -/* 80031700 0002E660 40 81 00 0C */ ble lbl_8003170C -/* 80031704 0002E664 7F C3 F3 78 */ mr r3, r30 -/* 80031708 0002E668 48 2E 42 29 */ bl Free__7CMemoryFPCv -lbl_8003170C: -/* 8003170C 0002E66C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80031710 0002E670 7F C3 F3 78 */ mr r3, r30 -/* 80031714 0002E674 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80031718 0002E678 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003171C 0002E67C 7C 08 03 A6 */ mtlr r0 -/* 80031720 0002E680 38 21 00 10 */ addi r1, r1, 0x10 -/* 80031724 0002E684 4E 80 00 20 */ blr - -.global sub_80031728 -sub_80031728: -/* 80031728 0002E688 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003172C 0002E68C 7C 08 02 A6 */ mflr r0 -/* 80031730 0002E690 90 01 00 14 */ stw r0, 0x14(r1) -/* 80031734 0002E694 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80031738 0002E698 7C 7F 1B 78 */ mr r31, r3 -/* 8003173C 0002E69C 80 83 00 00 */ lwz r4, 0(r3) -/* 80031740 0002E6A0 80 64 00 04 */ lwz r3, 4(r4) -/* 80031744 0002E6A4 34 03 FF FF */ addic. r0, r3, -1 -/* 80031748 0002E6A8 90 04 00 04 */ stw r0, 4(r4) -/* 8003174C 0002E6AC 41 81 00 20 */ bgt lbl_8003176C -/* 80031750 0002E6B0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80031754 0002E6B4 80 63 00 00 */ lwz r3, 0(r3) -/* 80031758 0002E6B8 48 2E 41 D9 */ bl Free__7CMemoryFPCv -/* 8003175C 0002E6BC 80 7F 00 00 */ lwz r3, 0(r31) -/* 80031760 0002E6C0 28 03 00 00 */ cmplwi r3, 0 -/* 80031764 0002E6C4 41 82 00 08 */ beq lbl_8003176C -/* 80031768 0002E6C8 48 2E 41 C9 */ bl Free__7CMemoryFPCv -lbl_8003176C: -/* 8003176C 0002E6CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80031770 0002E6D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80031774 0002E6D4 7C 08 03 A6 */ mtlr r0 -/* 80031778 0002E6D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003177C 0002E6DC 4E 80 00 20 */ blr - -.global sub_80031780 -sub_80031780: -/* 80031780 0002E6E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80031784 0002E6E4 7C 08 02 A6 */ mflr r0 -/* 80031788 0002E6E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003178C 0002E6EC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80031790 0002E6F0 88 01 00 08 */ lbz r0, 8(r1) -/* 80031794 0002E6F4 98 01 00 0C */ stb r0, 0xc(r1) -/* 80031798 0002E6F8 48 00 00 95 */ bl sub_8003182c -/* 8003179C 0002E6FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800317A0 0002E700 7C 08 03 A6 */ mtlr r0 -/* 800317A4 0002E704 38 21 00 10 */ addi r1, r1, 0x10 -/* 800317A8 0002E708 4E 80 00 20 */ blr - -.global sub_800317ac -sub_800317ac: -/* 800317AC 0002E70C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800317B0 0002E710 7C 08 02 A6 */ mflr r0 -/* 800317B4 0002E714 90 01 00 14 */ stw r0, 0x14(r1) -/* 800317B8 0002E718 38 A1 00 0C */ addi r5, r1, 0xc -/* 800317BC 0002E71C 88 01 00 08 */ lbz r0, 8(r1) -/* 800317C0 0002E720 98 01 00 0C */ stb r0, 0xc(r1) -/* 800317C4 0002E724 48 00 00 55 */ bl sub_80031818 -/* 800317C8 0002E728 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800317CC 0002E72C 7C 08 03 A6 */ mtlr r0 -/* 800317D0 0002E730 38 21 00 10 */ addi r1, r1, 0x10 -/* 800317D4 0002E734 4E 80 00 20 */ blr - -.global sub_800317d8 -sub_800317d8: -/* 800317D8 0002E738 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800317DC 0002E73C 7C 08 02 A6 */ mflr r0 -/* 800317E0 0002E740 90 01 00 14 */ stw r0, 0x14(r1) -/* 800317E4 0002E744 38 A1 00 0C */ addi r5, r1, 0xc -/* 800317E8 0002E748 88 01 00 08 */ lbz r0, 8(r1) -/* 800317EC 0002E74C 98 01 00 0C */ stb r0, 0xc(r1) -/* 800317F0 0002E750 48 00 00 15 */ bl sub_80031804 -/* 800317F4 0002E754 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800317F8 0002E758 7C 08 03 A6 */ mtlr r0 -/* 800317FC 0002E75C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80031800 0002E760 4E 80 00 20 */ blr - -.global sub_80031804 -sub_80031804: -/* 80031804 0002E764 1C 04 00 0C */ mulli r0, r4, 0xc -/* 80031808 0002E768 80 83 00 00 */ lwz r4, 0(r3) -/* 8003180C 0002E76C 7C 04 02 14 */ add r0, r4, r0 -/* 80031810 0002E770 90 03 00 00 */ stw r0, 0(r3) -/* 80031814 0002E774 4E 80 00 20 */ blr - -.global sub_80031818 -sub_80031818: -/* 80031818 0002E778 80 A3 00 00 */ lwz r5, 0(r3) -/* 8003181C 0002E77C 54 80 28 34 */ slwi r0, r4, 5 -/* 80031820 0002E780 7C 05 02 14 */ add r0, r5, r0 -/* 80031824 0002E784 90 03 00 00 */ stw r0, 0(r3) -/* 80031828 0002E788 4E 80 00 20 */ blr - -.global sub_8003182c -sub_8003182c: -/* 8003182C 0002E78C 1C 04 00 28 */ mulli r0, r4, 0x28 -/* 80031830 0002E790 80 83 00 00 */ lwz r4, 0(r3) -/* 80031834 0002E794 7C 04 02 14 */ add r0, r4, r0 -/* 80031838 0002E798 90 03 00 00 */ stw r0, 0(r3) -/* 8003183C 0002E79C 4E 80 00 20 */ blr - -.global sub_80031840 -sub_80031840: -/* 80031840 0002E7A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80031844 0002E7A4 7C 08 02 A6 */ mflr r0 -/* 80031848 0002E7A8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003184C 0002E7AC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80031850 0002E7B0 88 E1 00 08 */ lbz r7, 8(r1) -/* 80031854 0002E7B4 80 C4 00 00 */ lwz r6, 0(r4) -/* 80031858 0002E7B8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003185C 0002E7BC 80 03 00 00 */ lwz r0, 0(r3) -/* 80031860 0002E7C0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80031864 0002E7C4 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80031868 0002E7C8 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8003186C 0002E7CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80031870 0002E7D0 48 00 00 9D */ bl sub_8003190c -/* 80031874 0002E7D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80031878 0002E7D8 7C 08 03 A6 */ mtlr r0 -/* 8003187C 0002E7DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80031880 0002E7E0 4E 80 00 20 */ blr - -.global sub_80031884 -sub_80031884: -/* 80031884 0002E7E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80031888 0002E7E8 7C 08 02 A6 */ mflr r0 -/* 8003188C 0002E7EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80031890 0002E7F0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80031894 0002E7F4 88 E1 00 08 */ lbz r7, 8(r1) -/* 80031898 0002E7F8 80 C4 00 00 */ lwz r6, 0(r4) -/* 8003189C 0002E7FC 38 81 00 10 */ addi r4, r1, 0x10 -/* 800318A0 0002E800 80 03 00 00 */ lwz r0, 0(r3) -/* 800318A4 0002E804 38 61 00 14 */ addi r3, r1, 0x14 -/* 800318A8 0002E808 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800318AC 0002E80C 98 E1 00 0C */ stb r7, 0xc(r1) -/* 800318B0 0002E810 90 01 00 14 */ stw r0, 0x14(r1) -/* 800318B4 0002E814 48 00 00 81 */ bl sub_80031934 -/* 800318B8 0002E818 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800318BC 0002E81C 7C 08 03 A6 */ mtlr r0 -/* 800318C0 0002E820 38 21 00 20 */ addi r1, r1, 0x20 -/* 800318C4 0002E824 4E 80 00 20 */ blr - -.global "distance,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl180const_pointer_iterator,Q24rstl77vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl180const_pointer_iterator,Q24rstl77vectorFv"@ha -/* 80031980 0002E8E0 3C A0 80 46 */ lis r5, lbl_8045B140@ha -/* 80031984 0002E8E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80031988 0002E8E8 38 00 00 00 */ li r0, 0 -/* 8003198C 0002E8EC 3C 60 80 57 */ lis r3, lbl_8056A600@ha -/* 80031990 0002E8F0 38 84 1C 00 */ addi r4, r4, "__dt__Q24rstl33reserved_vector<12CBoolPOINode,8>Fv"@l -/* 80031994 0002E8F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80031998 0002E8F8 3B E5 B1 40 */ addi r31, r5, lbl_8045B140@l -/* 8003199C 0002E8FC 38 BF 00 00 */ addi r5, r31, 0 -/* 800319A0 0002E900 94 03 A6 00 */ stwu r0, lbl_8056A600@l(r3) -/* 800319A4 0002E904 48 35 7C E9 */ bl __register_global_object -/* 800319A8 0002E908 38 00 00 00 */ li r0, 0 -/* 800319AC 0002E90C 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 800319B0 0002E910 3C 80 80 03 */ lis r4, "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv"@ha -/* 800319B4 0002E914 94 03 BD F4 */ stwu r0, lbl_8056BDF4@l(r3) -/* 800319B8 0002E918 38 84 1B 64 */ addi r4, r4, "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv"@l -/* 800319BC 0002E91C 38 BF 00 0C */ addi r5, r31, 0xc -/* 800319C0 0002E920 48 35 7C CD */ bl __register_global_object -/* 800319C4 0002E924 38 00 00 00 */ li r0, 0 -/* 800319C8 0002E928 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha -/* 800319CC 0002E92C 3C 80 80 03 */ lis r4, "__dt__Q24rstl38reserved_vector<16CParticlePOINode,20>Fv"@ha -/* 800319D0 0002E930 94 03 C2 B8 */ stwu r0, lbl_8056C2B8@l(r3) -/* 800319D4 0002E934 38 84 1A C8 */ addi r4, r4, "__dt__Q24rstl38reserved_vector<16CParticlePOINode,20>Fv"@l -/* 800319D8 0002E938 38 BF 00 18 */ addi r5, r31, 0x18 -/* 800319DC 0002E93C 48 35 7C B1 */ bl __register_global_object -/* 800319E0 0002E940 38 00 00 00 */ li r0, 0 -/* 800319E4 0002E944 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha -/* 800319E8 0002E948 3C 80 80 03 */ lis r4, "__dt__Q24rstl35reserved_vector<13CSoundPOINode,20>Fv"@ha -/* 800319EC 0002E94C 94 03 C9 EC */ stwu r0, lbl_8056C9EC@l(r3) -/* 800319F0 0002E950 38 84 1A 2C */ addi r4, r4, "__dt__Q24rstl35reserved_vector<13CSoundPOINode,20>Fv"@l -/* 800319F4 0002E954 38 BF 00 24 */ addi r5, r31, 0x24 -/* 800319F8 0002E958 48 35 7C 95 */ bl __register_global_object -/* 800319FC 0002E95C 38 00 00 00 */ li r0, 0 -/* 80031A00 0002E960 3C 60 80 57 */ lis r3, lbl_8056CF40@ha -/* 80031A04 0002E964 3C 80 80 03 */ lis r4, "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv"@ha -/* 80031A08 0002E968 94 03 CF 40 */ stwu r0, lbl_8056CF40@l(r3) -/* 80031A0C 0002E96C 38 84 1B 64 */ addi r4, r4, "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv"@l -/* 80031A10 0002E970 38 BF 00 30 */ addi r5, r31, 0x30 -/* 80031A14 0002E974 48 35 7C 79 */ bl __register_global_object -/* 80031A18 0002E978 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80031A1C 0002E97C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80031A20 0002E980 7C 08 03 A6 */ mtlr r0 -/* 80031A24 0002E984 38 21 00 10 */ addi r1, r1, 0x10 -/* 80031A28 0002E988 4E 80 00 20 */ blr - -.global "__dt__Q24rstl35reserved_vector<13CSoundPOINode,20>Fv" -"__dt__Q24rstl35reserved_vector<13CSoundPOINode,20>Fv": -/* 80031A2C 0002E98C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80031A30 0002E990 7C 08 02 A6 */ mflr r0 -/* 80031A34 0002E994 90 01 00 24 */ stw r0, 0x24(r1) -/* 80031A38 0002E998 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80031A3C 0002E99C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80031A40 0002E9A0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80031A44 0002E9A4 7C 9D 23 78 */ mr r29, r4 -/* 80031A48 0002E9A8 93 81 00 10 */ stw r28, 0x10(r1) -/* 80031A4C 0002E9AC 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80031A50 0002E9B0 41 82 00 54 */ beq lbl_80031AA4 -/* 80031A54 0002E9B4 3B DC 00 04 */ addi r30, r28, 4 -/* 80031A58 0002E9B8 3B E0 00 00 */ li r31, 0 -/* 80031A5C 0002E9BC 48 00 00 24 */ b lbl_80031A80 -lbl_80031A60: -/* 80031A60 0002E9C0 7F C3 F3 78 */ mr r3, r30 -/* 80031A64 0002E9C4 38 80 FF FF */ li r4, -1 -/* 80031A68 0002E9C8 81 9E 00 00 */ lwz r12, 0(r30) -/* 80031A6C 0002E9CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80031A70 0002E9D0 7D 89 03 A6 */ mtctr r12 -/* 80031A74 0002E9D4 4E 80 04 21 */ bctrl -/* 80031A78 0002E9D8 3B DE 00 44 */ addi r30, r30, 0x44 -/* 80031A7C 0002E9DC 3B FF 00 01 */ addi r31, r31, 1 -lbl_80031A80: -/* 80031A80 0002E9E0 80 1C 00 00 */ lwz r0, 0(r28) -/* 80031A84 0002E9E4 7C 1F 00 00 */ cmpw r31, r0 -/* 80031A88 0002E9E8 41 80 FF D8 */ blt lbl_80031A60 -/* 80031A8C 0002E9EC 38 60 00 00 */ li r3, 0 -/* 80031A90 0002E9F0 7F A0 07 35 */ extsh. r0, r29 -/* 80031A94 0002E9F4 90 7C 00 00 */ stw r3, 0(r28) -/* 80031A98 0002E9F8 40 81 00 0C */ ble lbl_80031AA4 -/* 80031A9C 0002E9FC 7F 83 E3 78 */ mr r3, r28 -/* 80031AA0 0002EA00 48 2E 3E 91 */ bl Free__7CMemoryFPCv -lbl_80031AA4: -/* 80031AA4 0002EA04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80031AA8 0002EA08 7F 83 E3 78 */ mr r3, r28 -/* 80031AAC 0002EA0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80031AB0 0002EA10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80031AB4 0002EA14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80031AB8 0002EA18 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80031ABC 0002EA1C 7C 08 03 A6 */ mtlr r0 -/* 80031AC0 0002EA20 38 21 00 20 */ addi r1, r1, 0x20 -/* 80031AC4 0002EA24 4E 80 00 20 */ blr - -.global "__dt__Q24rstl38reserved_vector<16CParticlePOINode,20>Fv" -"__dt__Q24rstl38reserved_vector<16CParticlePOINode,20>Fv": -/* 80031AC8 0002EA28 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80031ACC 0002EA2C 7C 08 02 A6 */ mflr r0 -/* 80031AD0 0002EA30 90 01 00 24 */ stw r0, 0x24(r1) -/* 80031AD4 0002EA34 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80031AD8 0002EA38 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80031ADC 0002EA3C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80031AE0 0002EA40 7C 9D 23 78 */ mr r29, r4 -/* 80031AE4 0002EA44 93 81 00 10 */ stw r28, 0x10(r1) -/* 80031AE8 0002EA48 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80031AEC 0002EA4C 41 82 00 54 */ beq lbl_80031B40 -/* 80031AF0 0002EA50 3B DC 00 04 */ addi r30, r28, 4 -/* 80031AF4 0002EA54 3B E0 00 00 */ li r31, 0 -/* 80031AF8 0002EA58 48 00 00 24 */ b lbl_80031B1C -lbl_80031AFC: -/* 80031AFC 0002EA5C 7F C3 F3 78 */ mr r3, r30 -/* 80031B00 0002EA60 38 80 FF FF */ li r4, -1 -/* 80031B04 0002EA64 81 9E 00 00 */ lwz r12, 0(r30) -/* 80031B08 0002EA68 81 8C 00 08 */ lwz r12, 8(r12) -/* 80031B0C 0002EA6C 7D 89 03 A6 */ mtctr r12 -/* 80031B10 0002EA70 4E 80 04 21 */ bctrl -/* 80031B14 0002EA74 3B DE 00 5C */ addi r30, r30, 0x5c -/* 80031B18 0002EA78 3B FF 00 01 */ addi r31, r31, 1 -lbl_80031B1C: -/* 80031B1C 0002EA7C 80 1C 00 00 */ lwz r0, 0(r28) -/* 80031B20 0002EA80 7C 1F 00 00 */ cmpw r31, r0 -/* 80031B24 0002EA84 41 80 FF D8 */ blt lbl_80031AFC -/* 80031B28 0002EA88 38 60 00 00 */ li r3, 0 -/* 80031B2C 0002EA8C 7F A0 07 35 */ extsh. r0, r29 -/* 80031B30 0002EA90 90 7C 00 00 */ stw r3, 0(r28) -/* 80031B34 0002EA94 40 81 00 0C */ ble lbl_80031B40 -/* 80031B38 0002EA98 7F 83 E3 78 */ mr r3, r28 -/* 80031B3C 0002EA9C 48 2E 3D F5 */ bl Free__7CMemoryFPCv -lbl_80031B40: -/* 80031B40 0002EAA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80031B44 0002EAA4 7F 83 E3 78 */ mr r3, r28 -/* 80031B48 0002EAA8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80031B4C 0002EAAC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80031B50 0002EAB0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80031B54 0002EAB4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80031B58 0002EAB8 7C 08 03 A6 */ mtlr r0 -/* 80031B5C 0002EABC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80031B60 0002EAC0 4E 80 00 20 */ blr - -.global "__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv" -"__dt__Q24rstl35reserved_vector<13CInt32POINode,16>Fv": -/* 80031B64 0002EAC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80031B68 0002EAC8 7C 08 02 A6 */ mflr r0 -/* 80031B6C 0002EACC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80031B70 0002EAD0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80031B74 0002EAD4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80031B78 0002EAD8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80031B7C 0002EADC 7C 9D 23 78 */ mr r29, r4 -/* 80031B80 0002EAE0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80031B84 0002EAE4 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80031B88 0002EAE8 41 82 00 54 */ beq lbl_80031BDC -/* 80031B8C 0002EAEC 3B DC 00 04 */ addi r30, r28, 4 -/* 80031B90 0002EAF0 3B E0 00 00 */ li r31, 0 -/* 80031B94 0002EAF4 48 00 00 24 */ b lbl_80031BB8 -lbl_80031B98: -/* 80031B98 0002EAF8 7F C3 F3 78 */ mr r3, r30 -/* 80031B9C 0002EAFC 38 80 FF FF */ li r4, -1 -/* 80031BA0 0002EB00 81 9E 00 00 */ lwz r12, 0(r30) -/* 80031BA4 0002EB04 81 8C 00 08 */ lwz r12, 8(r12) -/* 80031BA8 0002EB08 7D 89 03 A6 */ mtctr r12 -/* 80031BAC 0002EB0C 4E 80 04 21 */ bctrl -/* 80031BB0 0002EB10 3B DE 00 4C */ addi r30, r30, 0x4c -/* 80031BB4 0002EB14 3B FF 00 01 */ addi r31, r31, 1 -lbl_80031BB8: -/* 80031BB8 0002EB18 80 1C 00 00 */ lwz r0, 0(r28) -/* 80031BBC 0002EB1C 7C 1F 00 00 */ cmpw r31, r0 -/* 80031BC0 0002EB20 41 80 FF D8 */ blt lbl_80031B98 -/* 80031BC4 0002EB24 38 60 00 00 */ li r3, 0 -/* 80031BC8 0002EB28 7F A0 07 35 */ extsh. r0, r29 -/* 80031BCC 0002EB2C 90 7C 00 00 */ stw r3, 0(r28) -/* 80031BD0 0002EB30 40 81 00 0C */ ble lbl_80031BDC -/* 80031BD4 0002EB34 7F 83 E3 78 */ mr r3, r28 -/* 80031BD8 0002EB38 48 2E 3D 59 */ bl Free__7CMemoryFPCv -lbl_80031BDC: -/* 80031BDC 0002EB3C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80031BE0 0002EB40 7F 83 E3 78 */ mr r3, r28 -/* 80031BE4 0002EB44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80031BE8 0002EB48 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80031BEC 0002EB4C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80031BF0 0002EB50 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80031BF4 0002EB54 7C 08 03 A6 */ mtlr r0 -/* 80031BF8 0002EB58 38 21 00 20 */ addi r1, r1, 0x20 -/* 80031BFC 0002EB5C 4E 80 00 20 */ blr - -.global "__dt__Q24rstl33reserved_vector<12CBoolPOINode,8>Fv" -"__dt__Q24rstl33reserved_vector<12CBoolPOINode,8>Fv": -/* 80031C00 0002EB60 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80031C04 0002EB64 7C 08 02 A6 */ mflr r0 -/* 80031C08 0002EB68 90 01 00 24 */ stw r0, 0x24(r1) -/* 80031C0C 0002EB6C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80031C10 0002EB70 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80031C14 0002EB74 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80031C18 0002EB78 7C 9D 23 78 */ mr r29, r4 -/* 80031C1C 0002EB7C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80031C20 0002EB80 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80031C24 0002EB84 41 82 00 54 */ beq lbl_80031C78 -/* 80031C28 0002EB88 3B DC 00 04 */ addi r30, r28, 4 -/* 80031C2C 0002EB8C 3B E0 00 00 */ li r31, 0 -/* 80031C30 0002EB90 48 00 00 24 */ b lbl_80031C54 -lbl_80031C34: -/* 80031C34 0002EB94 7F C3 F3 78 */ mr r3, r30 -/* 80031C38 0002EB98 38 80 FF FF */ li r4, -1 -/* 80031C3C 0002EB9C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80031C40 0002EBA0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80031C44 0002EBA4 7D 89 03 A6 */ mtctr r12 -/* 80031C48 0002EBA8 4E 80 04 21 */ bctrl -/* 80031C4C 0002EBAC 3B DE 00 3C */ addi r30, r30, 0x3c -/* 80031C50 0002EBB0 3B FF 00 01 */ addi r31, r31, 1 -lbl_80031C54: -/* 80031C54 0002EBB4 80 1C 00 00 */ lwz r0, 0(r28) -/* 80031C58 0002EBB8 7C 1F 00 00 */ cmpw r31, r0 -/* 80031C5C 0002EBBC 41 80 FF D8 */ blt lbl_80031C34 -/* 80031C60 0002EBC0 38 60 00 00 */ li r3, 0 -/* 80031C64 0002EBC4 7F A0 07 35 */ extsh. r0, r29 -/* 80031C68 0002EBC8 90 7C 00 00 */ stw r3, 0(r28) -/* 80031C6C 0002EBCC 40 81 00 0C */ ble lbl_80031C78 -/* 80031C70 0002EBD0 7F 83 E3 78 */ mr r3, r28 -/* 80031C74 0002EBD4 48 2E 3C BD */ bl Free__7CMemoryFPCv -lbl_80031C78: -/* 80031C78 0002EBD8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80031C7C 0002EBDC 7F 83 E3 78 */ mr r3, r28 -/* 80031C80 0002EBE0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80031C84 0002EBE4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80031C88 0002EBE8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80031C8C 0002EBEC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80031C90 0002EBF0 7C 08 03 A6 */ mtlr r0 -/* 80031C94 0002EBF4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80031C98 0002EBF8 4E 80 00 20 */ blr - -.global CanBuild__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTag -CanBuild__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTag: -/* 80031C9C 0002EBFC 38 60 00 01 */ li r3, 1 -/* 80031CA0 0002EC00 4E 80 00 20 */ blr - -.global GetResourceIdByName__Q217CCharacterFactory13CDummyFactoryCFPCc -GetResourceIdByName__Q217CCharacterFactory13CDummyFactoryCFPCc: -/* 80031CA4 0002EC04 38 60 00 00 */ li r3, 0 -/* 80031CA8 0002EC08 4E 80 00 20 */ blr - -.global __dt__Q217CCharacterFactory13CDummyFactoryFv -__dt__Q217CCharacterFactory13CDummyFactoryFv: -/* 80031CAC 0002EC0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80031CB0 0002EC10 7C 08 02 A6 */ mflr r0 -/* 80031CB4 0002EC14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80031CB8 0002EC18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80031CBC 0002EC1C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80031CC0 0002EC20 41 82 00 30 */ beq lbl_80031CF0 -/* 80031CC4 0002EC24 3C 60 80 3E */ lis r3, lbl_803D9BA8@ha -/* 80031CC8 0002EC28 38 03 9B A8 */ addi r0, r3, lbl_803D9BA8@l -/* 80031CCC 0002EC2C 90 1F 00 00 */ stw r0, 0(r31) -/* 80031CD0 0002EC30 41 82 00 10 */ beq lbl_80031CE0 -/* 80031CD4 0002EC34 3C 60 80 3E */ lis r3, lbl_803D9C50@ha -/* 80031CD8 0002EC38 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l -/* 80031CDC 0002EC3C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80031CE0: -/* 80031CE0 0002EC40 7C 80 07 35 */ extsh. r0, r4 -/* 80031CE4 0002EC44 40 81 00 0C */ ble lbl_80031CF0 -/* 80031CE8 0002EC48 7F E3 FB 78 */ mr r3, r31 -/* 80031CEC 0002EC4C 48 2E 3C 45 */ bl Free__7CMemoryFPCv -lbl_80031CF0: -/* 80031CF0 0002EC50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80031CF4 0002EC54 7F E3 FB 78 */ mr r3, r31 -/* 80031CF8 0002EC58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80031CFC 0002EC5C 7C 08 03 A6 */ mtlr r0 -/* 80031D00 0002EC60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80031D04 0002EC64 4E 80 00 20 */ blr - -.global GetEventResourceIdForAnimResourceId__17CCharacterFactoryCFi -GetEventResourceIdForAnimResourceId__17CCharacterFactoryCFi: -/* 80031D08 0002EC68 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80031D0C 0002EC6C 7C 08 02 A6 */ mflr r0 -/* 80031D10 0002EC70 90 01 00 44 */ stw r0, 0x44(r1) -/* 80031D14 0002EC74 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80031D18 0002EC78 89 21 00 10 */ lbz r9, 0x10(r1) -/* 80031D1C 0002EC7C 38 C1 00 08 */ addi r6, r1, 8 -/* 80031D20 0002EC80 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80031D24 0002EC84 7C 7F 1B 78 */ mr r31, r3 -/* 80031D28 0002EC88 38 E1 00 0C */ addi r7, r1, 0xc -/* 80031D2C 0002EC8C 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 80031D30 0002EC90 38 61 00 1C */ addi r3, r1, 0x1c -/* 80031D34 0002EC94 81 1F 00 64 */ lwz r8, 0x64(r31) -/* 80031D38 0002EC98 54 00 18 38 */ slwi r0, r0, 3 -/* 80031D3C 0002EC9C 90 81 00 08 */ stw r4, 8(r1) -/* 80031D40 0002ECA0 7C 08 02 14 */ add r0, r8, r0 -/* 80031D44 0002ECA4 38 81 00 20 */ addi r4, r1, 0x20 -/* 80031D48 0002ECA8 99 21 00 14 */ stb r9, 0x14(r1) -/* 80031D4C 0002ECAC 90 01 00 28 */ stw r0, 0x28(r1) -/* 80031D50 0002ECB0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80031D54 0002ECB4 91 01 00 30 */ stw r8, 0x30(r1) -/* 80031D58 0002ECB8 99 21 00 0C */ stb r9, 0xc(r1) -/* 80031D5C 0002ECBC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80031D60 0002ECC0 91 01 00 20 */ stw r8, 0x20(r1) -/* 80031D64 0002ECC4 48 00 26 11 */ bl sub_80034374 -/* 80031D68 0002ECC8 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 80031D6C 0002ECCC 38 80 00 00 */ li r4, 0 -/* 80031D70 0002ECD0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80031D74 0002ECD4 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80031D78 0002ECD8 7C 05 00 40 */ cmplw r5, r0 -/* 80031D7C 0002ECDC 41 82 00 18 */ beq lbl_80031D94 -/* 80031D80 0002ECE0 80 61 00 08 */ lwz r3, 8(r1) -/* 80031D84 0002ECE4 80 05 00 00 */ lwz r0, 0(r5) -/* 80031D88 0002ECE8 7C 03 00 00 */ cmpw r3, r0 -/* 80031D8C 0002ECEC 41 80 00 08 */ blt lbl_80031D94 -/* 80031D90 0002ECF0 38 80 00 01 */ li r4, 1 -lbl_80031D94: -/* 80031D94 0002ECF4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80031D98 0002ECF8 38 81 00 2C */ addi r4, r1, 0x2c -/* 80031D9C 0002ECFC 41 82 00 08 */ beq lbl_80031DA4 -/* 80031DA0 0002ED00 38 81 00 18 */ addi r4, r1, 0x18 -lbl_80031DA4: -/* 80031DA4 0002ED04 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 80031DA8 0002ED08 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80031DAC 0002ED0C 54 00 18 38 */ slwi r0, r0, 3 -/* 80031DB0 0002ED10 80 84 00 00 */ lwz r4, 0(r4) -/* 80031DB4 0002ED14 7C 03 02 14 */ add r0, r3, r0 -/* 80031DB8 0002ED18 7C 04 00 40 */ cmplw r4, r0 -/* 80031DBC 0002ED1C 41 82 00 0C */ beq lbl_80031DC8 -/* 80031DC0 0002ED20 80 64 00 04 */ lwz r3, 4(r4) -/* 80031DC4 0002ED24 48 00 00 08 */ b lbl_80031DCC -lbl_80031DC8: -/* 80031DC8 0002ED28 38 60 FF FF */ li r3, -1 -lbl_80031DCC: -/* 80031DCC 0002ED2C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80031DD0 0002ED30 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80031DD4 0002ED34 7C 08 03 A6 */ mtlr r0 -/* 80031DD8 0002ED38 38 21 00 40 */ addi r1, r1, 0x40 -/* 80031DDC 0002ED3C 4E 80 00 20 */ blr - -.global sub_80031de0 -sub_80031de0: -/* 80031DE0 0002ED40 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80031DE4 0002ED44 7C 08 02 A6 */ mflr r0 -/* 80031DE8 0002ED48 90 01 00 64 */ stw r0, 0x64(r1) -/* 80031DEC 0002ED4C 38 00 00 00 */ li r0, 0 -/* 80031DF0 0002ED50 BF 21 00 44 */ stmw r25, 0x44(r1) -/* 80031DF4 0002ED54 7C 7B 1B 78 */ mr r27, r3 -/* 80031DF8 0002ED58 7C BD 2B 78 */ mr r29, r5 -/* 80031DFC 0002ED5C 7C 9C 23 78 */ mr r28, r4 -/* 80031E00 0002ED60 38 61 00 30 */ addi r3, r1, 0x30 -/* 80031E04 0002ED64 83 E5 00 04 */ lwz r31, 4(r5) -/* 80031E08 0002ED68 90 01 00 34 */ stw r0, 0x34(r1) -/* 80031E0C 0002ED6C 7F E4 FB 78 */ mr r4, r31 -/* 80031E10 0002ED70 90 01 00 38 */ stw r0, 0x38(r1) -/* 80031E14 0002ED74 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80031E18 0002ED78 48 00 27 A1 */ bl sub_800345b8 -/* 80031E1C 0002ED7C 3C 60 43 49 */ lis r3, 0x43494E46@ha -/* 80031E20 0002ED80 3B C0 00 00 */ li r30, 0 -/* 80031E24 0002ED84 3B 23 4E 46 */ addi r25, r3, 0x43494E46@l -/* 80031E28 0002ED88 3B 40 00 00 */ li r26, 0 -/* 80031E2C 0002ED8C 48 00 00 B0 */ b lbl_80031EDC -lbl_80031E30: -/* 80031E30 0002ED90 80 BD 00 0C */ lwz r5, 0xc(r29) -/* 80031E34 0002ED94 38 1A 00 1C */ addi r0, r26, 0x1c -/* 80031E38 0002ED98 7F 84 E3 78 */ mr r4, r28 -/* 80031E3C 0002ED9C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80031E40 0002EDA0 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80031E44 0002EDA4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80031E48 0002EDA8 93 21 00 20 */ stw r25, 0x20(r1) -/* 80031E4C 0002EDAC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80031E50 0002EDB0 81 9C 00 00 */ lwz r12, 0(r28) -/* 80031E54 0002EDB4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80031E58 0002EDB8 7D 89 03 A6 */ mtctr r12 -/* 80031E5C 0002EDBC 4E 80 04 21 */ bctrl -/* 80031E60 0002EDC0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80031E64 0002EDC4 38 81 00 18 */ addi r4, r1, 0x18 -/* 80031E68 0002EDC8 48 30 F0 41 */ bl __ct__6CTokenFRC6CToken -/* 80031E6C 0002EDCC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80031E70 0002EDD0 38 80 FF FF */ li r4, -1 -/* 80031E74 0002EDD4 48 30 EF CD */ bl __dt__6CTokenFv -/* 80031E78 0002EDD8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80031E7C 0002EDDC 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 80031E80 0002EDE0 7C 00 28 00 */ cmpw r0, r5 -/* 80031E84 0002EDE4 41 80 00 1C */ blt lbl_80031EA0 -/* 80031E88 0002EDE8 2C 05 00 00 */ cmpwi r5, 0 -/* 80031E8C 0002EDEC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80031E90 0002EDF0 38 80 00 04 */ li r4, 4 -/* 80031E94 0002EDF4 41 82 00 08 */ beq lbl_80031E9C -/* 80031E98 0002EDF8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80031E9C: -/* 80031E9C 0002EDFC 48 00 27 1D */ bl sub_800345b8 -lbl_80031EA0: -/* 80031EA0 0002EE00 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80031EA4 0002EE04 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80031EA8 0002EE08 54 00 18 38 */ slwi r0, r0, 3 -/* 80031EAC 0002EE0C 7C 63 02 15 */ add. r3, r3, r0 -/* 80031EB0 0002EE10 41 82 00 0C */ beq lbl_80031EBC -/* 80031EB4 0002EE14 38 81 00 28 */ addi r4, r1, 0x28 -/* 80031EB8 0002EE18 48 30 EF F1 */ bl __ct__6CTokenFRC6CToken -lbl_80031EBC: -/* 80031EBC 0002EE1C 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 80031EC0 0002EE20 38 61 00 28 */ addi r3, r1, 0x28 -/* 80031EC4 0002EE24 38 80 00 00 */ li r4, 0 -/* 80031EC8 0002EE28 38 05 00 01 */ addi r0, r5, 1 -/* 80031ECC 0002EE2C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80031ED0 0002EE30 48 30 EF 71 */ bl __dt__6CTokenFv -/* 80031ED4 0002EE34 3B DE 00 01 */ addi r30, r30, 1 -/* 80031ED8 0002EE38 3B 5A 00 C0 */ addi r26, r26, 0xc0 -lbl_80031EDC: -/* 80031EDC 0002EE3C 7C 1E F8 40 */ cmplw r30, r31 -/* 80031EE0 0002EE40 41 80 FF 50 */ blt lbl_80031E30 -/* 80031EE4 0002EE44 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80031EE8 0002EE48 90 1B 00 04 */ stw r0, 4(r27) -/* 80031EEC 0002EE4C 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80031EF0 0002EE50 90 1B 00 08 */ stw r0, 8(r27) -/* 80031EF4 0002EE54 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80031EF8 0002EE58 2C 00 00 00 */ cmpwi r0, 0 -/* 80031EFC 0002EE5C 40 82 00 1C */ bne lbl_80031F18 -/* 80031F00 0002EE60 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80031F04 0002EE64 2C 00 00 00 */ cmpwi r0, 0 -/* 80031F08 0002EE68 40 82 00 10 */ bne lbl_80031F18 -/* 80031F0C 0002EE6C 38 00 00 00 */ li r0, 0 -/* 80031F10 0002EE70 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80031F14 0002EE74 48 00 00 6C */ b lbl_80031F80 -lbl_80031F18: -/* 80031F18 0002EE78 80 1B 00 08 */ lwz r0, 8(r27) -/* 80031F1C 0002EE7C 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 80031F20 0002EE80 40 82 00 10 */ bne lbl_80031F30 -/* 80031F24 0002EE84 38 00 00 00 */ li r0, 0 -/* 80031F28 0002EE88 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80031F2C 0002EE8C 48 00 00 18 */ b lbl_80031F44 -lbl_80031F30: -/* 80031F30 0002EE90 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80031F34 0002EE94 38 A0 00 00 */ li r5, 0 -/* 80031F38 0002EE98 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80031F3C 0002EE9C 48 2E 38 DD */ bl __nwa__FUlPCcPCc -/* 80031F40 0002EEA0 90 7B 00 0C */ stw r3, 0xc(r27) -lbl_80031F44: -/* 80031F44 0002EEA4 83 BB 00 04 */ lwz r29, 4(r27) -/* 80031F48 0002EEA8 3B 20 00 00 */ li r25, 0 -/* 80031F4C 0002EEAC 83 81 00 3C */ lwz r28, 0x3c(r1) -/* 80031F50 0002EEB0 83 5B 00 0C */ lwz r26, 0xc(r27) -/* 80031F54 0002EEB4 48 00 00 24 */ b lbl_80031F78 -lbl_80031F58: -/* 80031F58 0002EEB8 28 1A 00 00 */ cmplwi r26, 0 -/* 80031F5C 0002EEBC 41 82 00 10 */ beq lbl_80031F6C -/* 80031F60 0002EEC0 7F 43 D3 78 */ mr r3, r26 -/* 80031F64 0002EEC4 7F 84 E3 78 */ mr r4, r28 -/* 80031F68 0002EEC8 48 30 EF 41 */ bl __ct__6CTokenFRC6CToken -lbl_80031F6C: -/* 80031F6C 0002EECC 3B 5A 00 08 */ addi r26, r26, 8 -/* 80031F70 0002EED0 3B 39 00 01 */ addi r25, r25, 1 -/* 80031F74 0002EED4 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80031F78: -/* 80031F78 0002EED8 7C 19 E8 00 */ cmpw r25, r29 -/* 80031F7C 0002EEDC 41 80 FF DC */ blt lbl_80031F58 -lbl_80031F80: -/* 80031F80 0002EEE0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80031F84 0002EEE4 83 21 00 3C */ lwz r25, 0x3c(r1) -/* 80031F88 0002EEE8 54 00 18 38 */ slwi r0, r0, 3 -/* 80031F8C 0002EEEC 7F 59 02 14 */ add r26, r25, r0 -/* 80031F90 0002EEF0 93 21 00 0C */ stw r25, 0xc(r1) -/* 80031F94 0002EEF4 93 41 00 14 */ stw r26, 0x14(r1) -/* 80031F98 0002EEF8 93 41 00 10 */ stw r26, 0x10(r1) -/* 80031F9C 0002EEFC 93 21 00 08 */ stw r25, 8(r1) -/* 80031FA0 0002EF00 48 00 00 1C */ b lbl_80031FBC -lbl_80031FA4: -/* 80031FA4 0002EF04 28 19 00 00 */ cmplwi r25, 0 -/* 80031FA8 0002EF08 41 82 00 10 */ beq lbl_80031FB8 -/* 80031FAC 0002EF0C 7F 23 CB 78 */ mr r3, r25 -/* 80031FB0 0002EF10 38 80 00 00 */ li r4, 0 -/* 80031FB4 0002EF14 48 30 EE 8D */ bl __dt__6CTokenFv -lbl_80031FB8: -/* 80031FB8 0002EF18 3B 39 00 08 */ addi r25, r25, 8 -lbl_80031FBC: -/* 80031FBC 0002EF1C 7C 19 D0 40 */ cmplw r25, r26 -/* 80031FC0 0002EF20 40 82 FF E4 */ bne lbl_80031FA4 -/* 80031FC4 0002EF24 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80031FC8 0002EF28 28 03 00 00 */ cmplwi r3, 0 -/* 80031FCC 0002EF2C 41 82 00 08 */ beq lbl_80031FD4 -/* 80031FD0 0002EF30 48 2E 39 61 */ bl Free__7CMemoryFPCv -lbl_80031FD4: -/* 80031FD4 0002EF34 BB 21 00 44 */ lmw r25, 0x44(r1) -/* 80031FD8 0002EF38 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80031FDC 0002EF3C 7C 08 03 A6 */ mtlr r0 -/* 80031FE0 0002EF40 38 21 00 60 */ addi r1, r1, 0x60 -/* 80031FE4 0002EF44 4E 80 00 20 */ blr - -.global sub_80031fe8 -sub_80031fe8: -/* 80031FE8 0002EF48 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80031FEC 0002EF4C 7C 08 02 A6 */ mflr r0 -/* 80031FF0 0002EF50 90 01 00 34 */ stw r0, 0x34(r1) -/* 80031FF4 0002EF54 38 00 00 00 */ li r0, 0 -/* 80031FF8 0002EF58 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80031FFC 0002EF5C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80032000 0002EF60 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80032004 0002EF64 7C 7D 1B 78 */ mr r29, r3 -/* 80032008 0002EF68 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 8003200C 0002EF6C 83 C4 00 14 */ lwz r30, 0x14(r4) -/* 80032010 0002EF70 1C 65 00 C4 */ mulli r3, r5, 0xc4 -/* 80032014 0002EF74 90 01 00 0C */ stw r0, 0xc(r1) -/* 80032018 0002EF78 7C A4 2B 78 */ mr r4, r5 -/* 8003201C 0002EF7C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80032020 0002EF80 7F FE 1A 14 */ add r31, r30, r3 -/* 80032024 0002EF84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80032028 0002EF88 38 61 00 08 */ addi r3, r1, 8 -/* 8003202C 0002EF8C 48 00 24 09 */ bl sub_80034434 -/* 80032030 0002EF90 48 00 00 14 */ b lbl_80032044 -lbl_80032034: -/* 80032034 0002EF94 38 61 00 08 */ addi r3, r1, 8 -/* 80032038 0002EF98 38 9E 00 04 */ addi r4, r30, 4 -/* 8003203C 0002EF9C 48 00 01 8D */ bl sub_800321c8 -/* 80032040 0002EFA0 3B DE 00 C4 */ addi r30, r30, 0xc4 -lbl_80032044: -/* 80032044 0002EFA4 7C 1E F8 40 */ cmplw r30, r31 -/* 80032048 0002EFA8 40 82 FF EC */ bne lbl_80032034 -/* 8003204C 0002EFAC 7F A3 EB 78 */ mr r3, r29 -/* 80032050 0002EFB0 38 81 00 08 */ addi r4, r1, 8 -/* 80032054 0002EFB4 48 00 00 2D */ bl sub_80032080 -/* 80032058 0002EFB8 38 61 00 08 */ addi r3, r1, 8 -/* 8003205C 0002EFBC 38 80 FF FF */ li r4, -1 -/* 80032060 0002EFC0 48 00 01 E5 */ bl sub_80032244 -/* 80032064 0002EFC4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80032068 0002EFC8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8003206C 0002EFCC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80032070 0002EFD0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80032074 0002EFD4 7C 08 03 A6 */ mtlr r0 -/* 80032078 0002EFD8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8003207C 0002EFDC 4E 80 00 20 */ blr - -.global sub_80032080 -sub_80032080: -/* 80032080 0002EFE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80032084 0002EFE4 7C 08 02 A6 */ mflr r0 -/* 80032088 0002EFE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003208C 0002EFEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80032090 0002EFF0 7C 9F 23 78 */ mr r31, r4 -/* 80032094 0002EFF4 93 C1 00 08 */ stw r30, 8(r1) -/* 80032098 0002EFF8 7C 7E 1B 78 */ mr r30, r3 -/* 8003209C 0002EFFC 80 04 00 04 */ lwz r0, 4(r4) -/* 800320A0 0002F000 90 03 00 04 */ stw r0, 4(r3) -/* 800320A4 0002F004 80 04 00 08 */ lwz r0, 8(r4) -/* 800320A8 0002F008 90 03 00 08 */ stw r0, 8(r3) -/* 800320AC 0002F00C 80 04 00 04 */ lwz r0, 4(r4) -/* 800320B0 0002F010 2C 00 00 00 */ cmpwi r0, 0 -/* 800320B4 0002F014 40 82 00 1C */ bne lbl_800320D0 -/* 800320B8 0002F018 80 1F 00 08 */ lwz r0, 8(r31) -/* 800320BC 0002F01C 2C 00 00 00 */ cmpwi r0, 0 -/* 800320C0 0002F020 40 82 00 10 */ bne lbl_800320D0 -/* 800320C4 0002F024 38 00 00 00 */ li r0, 0 -/* 800320C8 0002F028 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800320CC 0002F02C 48 00 00 44 */ b lbl_80032110 -lbl_800320D0: -/* 800320D0 0002F030 80 1E 00 08 */ lwz r0, 8(r30) -/* 800320D4 0002F034 1C 60 00 C0 */ mulli r3, r0, 0xc0 -/* 800320D8 0002F038 2C 03 00 00 */ cmpwi r3, 0 -/* 800320DC 0002F03C 40 82 00 10 */ bne lbl_800320EC -/* 800320E0 0002F040 38 00 00 00 */ li r0, 0 -/* 800320E4 0002F044 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800320E8 0002F048 48 00 00 18 */ b lbl_80032100 -lbl_800320EC: -/* 800320EC 0002F04C 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 800320F0 0002F050 38 A0 00 00 */ li r5, 0 -/* 800320F4 0002F054 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 800320F8 0002F058 48 2E 37 21 */ bl __nwa__FUlPCcPCc -/* 800320FC 0002F05C 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_80032100: -/* 80032100 0002F060 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80032104 0002F064 80 9E 00 04 */ lwz r4, 4(r30) -/* 80032108 0002F068 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8003210C 0002F06C 48 00 00 21 */ bl sub_8003212c -lbl_80032110: -/* 80032110 0002F070 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80032114 0002F074 7F C3 F3 78 */ mr r3, r30 -/* 80032118 0002F078 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003211C 0002F07C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80032120 0002F080 7C 08 03 A6 */ mtlr r0 -/* 80032124 0002F084 38 21 00 10 */ addi r1, r1, 0x10 -/* 80032128 0002F088 4E 80 00 20 */ blr - -.global sub_8003212c -sub_8003212c: -/* 8003212C 0002F08C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80032130 0002F090 7C 08 02 A6 */ mflr r0 -/* 80032134 0002F094 90 01 00 24 */ stw r0, 0x24(r1) -/* 80032138 0002F098 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003213C 0002F09C 7C 7F 1B 78 */ mr r31, r3 -/* 80032140 0002F0A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80032144 0002F0A4 7C BE 2B 78 */ mr r30, r5 -/* 80032148 0002F0A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003214C 0002F0AC 3B A0 00 00 */ li r29, 0 -/* 80032150 0002F0B0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80032154 0002F0B4 7C 9C 23 78 */ mr r28, r4 -/* 80032158 0002F0B8 48 00 00 1C */ b lbl_80032174 -lbl_8003215C: -/* 8003215C 0002F0BC 7F C3 F3 78 */ mr r3, r30 -/* 80032160 0002F0C0 7F E4 FB 78 */ mr r4, r31 -/* 80032164 0002F0C4 48 00 00 3D */ bl sub_800321a0 -/* 80032168 0002F0C8 3B DE 00 C0 */ addi r30, r30, 0xc0 -/* 8003216C 0002F0CC 3B BD 00 01 */ addi r29, r29, 1 -/* 80032170 0002F0D0 3B FF 00 C0 */ addi r31, r31, 0xc0 -lbl_80032174: -/* 80032174 0002F0D4 7C 1D E0 00 */ cmpw r29, r28 -/* 80032178 0002F0D8 41 80 FF E4 */ blt lbl_8003215C -/* 8003217C 0002F0DC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80032180 0002F0E0 7F C3 F3 78 */ mr r3, r30 -/* 80032184 0002F0E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80032188 0002F0E8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003218C 0002F0EC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80032190 0002F0F0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80032194 0002F0F4 7C 08 03 A6 */ mtlr r0 -/* 80032198 0002F0F8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003219C 0002F0FC 4E 80 00 20 */ blr - -.global sub_800321a0 -sub_800321a0: -/* 800321A0 0002F100 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800321A4 0002F104 7C 08 02 A6 */ mflr r0 -/* 800321A8 0002F108 28 03 00 00 */ cmplwi r3, 0 -/* 800321AC 0002F10C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800321B0 0002F110 41 82 00 08 */ beq lbl_800321B8 -/* 800321B4 0002F114 4B FF E3 1D */ bl __ct__14CCharacterInfoFRC14CCharacterInfo -lbl_800321B8: -/* 800321B8 0002F118 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800321BC 0002F11C 7C 08 03 A6 */ mtlr r0 -/* 800321C0 0002F120 38 21 00 10 */ addi r1, r1, 0x10 -/* 800321C4 0002F124 4E 80 00 20 */ blr - -.global sub_800321c8 -sub_800321c8: -/* 800321C8 0002F128 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800321CC 0002F12C 7C 08 02 A6 */ mflr r0 -/* 800321D0 0002F130 90 01 00 14 */ stw r0, 0x14(r1) -/* 800321D4 0002F134 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800321D8 0002F138 7C 9F 23 78 */ mr r31, r4 -/* 800321DC 0002F13C 93 C1 00 08 */ stw r30, 8(r1) -/* 800321E0 0002F140 7C 7E 1B 78 */ mr r30, r3 -/* 800321E4 0002F144 80 03 00 04 */ lwz r0, 4(r3) -/* 800321E8 0002F148 80 A3 00 08 */ lwz r5, 8(r3) -/* 800321EC 0002F14C 7C 00 28 00 */ cmpw r0, r5 -/* 800321F0 0002F150 41 80 00 18 */ blt lbl_80032208 -/* 800321F4 0002F154 2C 05 00 00 */ cmpwi r5, 0 -/* 800321F8 0002F158 38 80 00 04 */ li r4, 4 -/* 800321FC 0002F15C 41 82 00 08 */ beq lbl_80032204 -/* 80032200 0002F160 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80032204: -/* 80032204 0002F164 48 00 22 31 */ bl sub_80034434 -lbl_80032208: -/* 80032208 0002F168 80 1E 00 04 */ lwz r0, 4(r30) -/* 8003220C 0002F16C 7F E4 FB 78 */ mr r4, r31 -/* 80032210 0002F170 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80032214 0002F174 1C 00 00 C0 */ mulli r0, r0, 0xc0 -/* 80032218 0002F178 7C 63 02 14 */ add r3, r3, r0 -/* 8003221C 0002F17C 4B FF FF 85 */ bl sub_800321a0 -/* 80032220 0002F180 80 7E 00 04 */ lwz r3, 4(r30) -/* 80032224 0002F184 38 03 00 01 */ addi r0, r3, 1 -/* 80032228 0002F188 90 1E 00 04 */ stw r0, 4(r30) -/* 8003222C 0002F18C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80032230 0002F190 83 C1 00 08 */ lwz r30, 8(r1) -/* 80032234 0002F194 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80032238 0002F198 7C 08 03 A6 */ mtlr r0 -/* 8003223C 0002F19C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80032240 0002F1A0 4E 80 00 20 */ blr - -.global sub_80032244 -sub_80032244: -/* 80032244 0002F1A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80032248 0002F1A8 7C 08 02 A6 */ mflr r0 -/* 8003224C 0002F1AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80032250 0002F1B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80032254 0002F1B4 7C 9F 23 78 */ mr r31, r4 -/* 80032258 0002F1B8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003225C 0002F1BC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80032260 0002F1C0 41 82 00 54 */ beq lbl_800322B4 -/* 80032264 0002F1C4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80032268 0002F1C8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8003226C 0002F1CC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80032270 0002F1D0 38 81 00 0C */ addi r4, r1, 0xc -/* 80032274 0002F1D4 1C 00 00 C0 */ mulli r0, r0, 0xc0 -/* 80032278 0002F1D8 7C A5 02 14 */ add r5, r5, r0 -/* 8003227C 0002F1DC 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80032280 0002F1E0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80032284 0002F1E4 90 A1 00 08 */ stw r5, 8(r1) -/* 80032288 0002F1E8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8003228C 0002F1EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80032290 0002F1F0 48 00 00 41 */ bl sub_800322d0 -/* 80032294 0002F1F4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80032298 0002F1F8 28 03 00 00 */ cmplwi r3, 0 -/* 8003229C 0002F1FC 41 82 00 08 */ beq lbl_800322A4 -/* 800322A0 0002F200 48 2E 36 91 */ bl Free__7CMemoryFPCv -lbl_800322A4: -/* 800322A4 0002F204 7F E0 07 35 */ extsh. r0, r31 -/* 800322A8 0002F208 40 81 00 0C */ ble lbl_800322B4 -/* 800322AC 0002F20C 7F C3 F3 78 */ mr r3, r30 -/* 800322B0 0002F210 48 2E 36 81 */ bl Free__7CMemoryFPCv -lbl_800322B4: -/* 800322B4 0002F214 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800322B8 0002F218 7F C3 F3 78 */ mr r3, r30 -/* 800322BC 0002F21C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800322C0 0002F220 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800322C4 0002F224 7C 08 03 A6 */ mtlr r0 -/* 800322C8 0002F228 38 21 00 20 */ addi r1, r1, 0x20 -/* 800322CC 0002F22C 4E 80 00 20 */ blr - -.global sub_800322d0 -sub_800322d0: -/* 800322D0 0002F230 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800322D4 0002F234 7C 08 02 A6 */ mflr r0 -/* 800322D8 0002F238 90 01 00 14 */ stw r0, 0x14(r1) -/* 800322DC 0002F23C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800322E0 0002F240 93 C1 00 08 */ stw r30, 8(r1) -/* 800322E4 0002F244 7C 9E 23 78 */ mr r30, r4 -/* 800322E8 0002F248 83 E3 00 00 */ lwz r31, 0(r3) -/* 800322EC 0002F24C 48 00 00 10 */ b lbl_800322FC -lbl_800322F0: -/* 800322F0 0002F250 7F E3 FB 78 */ mr r3, r31 -/* 800322F4 0002F254 48 00 00 2D */ bl sub_80032320 -/* 800322F8 0002F258 3B FF 00 C0 */ addi r31, r31, 0xc0 -lbl_800322FC: -/* 800322FC 0002F25C 80 1E 00 00 */ lwz r0, 0(r30) -/* 80032300 0002F260 7C 1F 00 40 */ cmplw r31, r0 -/* 80032304 0002F264 40 82 FF EC */ bne lbl_800322F0 -/* 80032308 0002F268 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003230C 0002F26C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80032310 0002F270 83 C1 00 08 */ lwz r30, 8(r1) -/* 80032314 0002F274 7C 08 03 A6 */ mtlr r0 -/* 80032318 0002F278 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003231C 0002F27C 4E 80 00 20 */ blr - -.global sub_80032320 -sub_80032320: -/* 80032320 0002F280 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80032324 0002F284 7C 08 02 A6 */ mflr r0 -/* 80032328 0002F288 38 80 FF FF */ li r4, -1 -/* 8003232C 0002F28C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80032330 0002F290 4B FF CB 95 */ bl __dt__14CCharacterInfoFv -/* 80032334 0002F294 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80032338 0002F298 7C 08 03 A6 */ mtlr r0 -/* 8003233C 0002F29C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80032340 0002F2A0 4E 80 00 20 */ blr - -.global sub_80032344 -sub_80032344: -/* 80032344 0002F2A4 1C 04 00 C0 */ mulli r0, r4, 0xc0 -/* 80032348 0002F2A8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8003234C 0002F2AC 7C 63 02 14 */ add r3, r3, r0 -/* 80032350 0002F2B0 4E 80 00 20 */ blr - -.global "CreateCharacter__17CCharacterFactoryCFibRC33TLockedToken<17CCharacterFactory>i" -"CreateCharacter__17CCharacterFactoryCFibRC33TLockedToken<17CCharacterFactory>i": -/* 80032354 0002F2B4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80032358 0002F2B8 7C 08 02 A6 */ mflr r0 -/* 8003235C 0002F2BC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80032360 0002F2C0 BE E1 00 7C */ stmw r23, 0x7c(r1) -/* 80032364 0002F2C4 7C BA 2B 78 */ mr r26, r5 -/* 80032368 0002F2C8 7C 78 1B 78 */ mr r24, r3 -/* 8003236C 0002F2CC 7C 99 23 78 */ mr r25, r4 -/* 80032370 0002F2D0 1C 1A 00 C0 */ mulli r0, r26, 0xc0 -/* 80032374 0002F2D4 7C DB 33 78 */ mr r27, r6 -/* 80032378 0002F2D8 7C FC 3B 78 */ mr r28, r7 -/* 8003237C 0002F2DC 7D 1D 43 78 */ mr r29, r8 -/* 80032380 0002F2E0 38 60 00 08 */ li r3, 8 -/* 80032384 0002F2E4 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 80032388 0002F2E8 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 8003238C 0002F2EC 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032390 0002F2F0 7F C5 02 14 */ add r30, r5, r0 -/* 80032394 0002F2F4 38 00 00 00 */ li r0, 0 -/* 80032398 0002F2F8 80 BE 00 14 */ lwz r5, 0x14(r30) -/* 8003239C 0002F2FC 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 800323A0 0002F300 38 A0 00 00 */ li r5, 0 -/* 800323A4 0002F304 90 01 00 48 */ stw r0, 0x48(r1) -/* 800323A8 0002F308 48 2E 34 C5 */ bl __nw__FUlPCcPCc -/* 800323AC 0002F30C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800323B0 0002F310 41 82 00 2C */ beq lbl_800323DC -/* 800323B4 0002F314 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 800323B8 0002F318 3C 80 80 3E */ lis r4, lbl_803D9C44@ha -/* 800323BC 0002F31C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 800323C0 0002F320 3C 60 80 3E */ lis r3, lbl_803D9C38@ha -/* 800323C4 0002F324 90 1F 00 00 */ stw r0, 0(r31) -/* 800323C8 0002F328 38 84 9C 44 */ addi r4, r4, lbl_803D9C44@l -/* 800323CC 0002F32C 38 03 9C 38 */ addi r0, r3, lbl_803D9C38@l -/* 800323D0 0002F330 90 9F 00 00 */ stw r4, 0(r31) -/* 800323D4 0002F334 90 1F 00 00 */ stw r0, 0(r31) -/* 800323D8 0002F338 93 DF 00 04 */ stw r30, 4(r31) -lbl_800323DC: -/* 800323DC 0002F33C 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 800323E0 0002F340 38 60 00 08 */ li r3, 8 -/* 800323E4 0002F344 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 800323E8 0002F348 38 A0 00 00 */ li r5, 0 -/* 800323EC 0002F34C 48 2E 34 81 */ bl __nw__FUlPCcPCc -/* 800323F0 0002F350 28 03 00 00 */ cmplwi r3, 0 -/* 800323F4 0002F354 41 82 00 10 */ beq lbl_80032404 -/* 800323F8 0002F358 93 E3 00 00 */ stw r31, 0(r3) -/* 800323FC 0002F35C 38 00 00 01 */ li r0, 1 -/* 80032400 0002F360 90 03 00 04 */ stw r0, 4(r3) -lbl_80032404: -/* 80032404 0002F364 90 61 00 24 */ stw r3, 0x24(r1) -/* 80032408 0002F368 38 99 00 70 */ addi r4, r25, 0x70 -/* 8003240C 0002F36C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80032410 0002F370 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80032414 0002F374 81 99 00 70 */ lwz r12, 0x70(r25) -/* 80032418 0002F378 38 C1 00 24 */ addi r6, r1, 0x24 -/* 8003241C 0002F37C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80032420 0002F380 7D 89 03 A6 */ mtctr r12 -/* 80032424 0002F384 4E 80 04 21 */ bctrl -/* 80032428 0002F388 38 61 00 40 */ addi r3, r1, 0x40 -/* 8003242C 0002F38C 38 81 00 30 */ addi r4, r1, 0x30 -/* 80032430 0002F390 48 30 EA 79 */ bl __ct__6CTokenFRC6CToken -/* 80032434 0002F394 38 61 00 30 */ addi r3, r1, 0x30 -/* 80032438 0002F398 38 80 FF FF */ li r4, -1 -/* 8003243C 0002F39C 48 30 EA 05 */ bl __dt__6CTokenFv -/* 80032440 0002F3A0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80032444 0002F3A4 48 00 1E C1 */ bl sub_80034304 -/* 80032448 0002F3A8 80 9E 00 A8 */ lwz r4, 0xa8(r30) -/* 8003244C 0002F3AC 38 60 00 01 */ li r3, 1 -/* 80032450 0002F3B0 80 BE 00 AC */ lwz r5, 0xac(r30) -/* 80032454 0002F3B4 38 00 00 00 */ li r0, 0 -/* 80032458 0002F3B8 28 04 00 00 */ cmplwi r4, 0 -/* 8003245C 0002F3BC 90 61 00 38 */ stw r3, 0x38(r1) -/* 80032460 0002F3C0 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80032464 0002F3C4 98 01 00 74 */ stb r0, 0x74(r1) -/* 80032468 0002F3C8 41 82 01 2C */ beq lbl_80032594 -/* 8003246C 0002F3CC 28 05 00 00 */ cmplwi r5, 0 -/* 80032470 0002F3D0 41 82 01 24 */ beq lbl_80032594 -/* 80032474 0002F3D4 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80032478 0002F3D8 38 60 00 08 */ li r3, 8 -/* 8003247C 0002F3DC 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032480 0002F3E0 38 A0 00 00 */ li r5, 0 -/* 80032484 0002F3E4 48 2E 33 E9 */ bl __nw__FUlPCcPCc -/* 80032488 0002F3E8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8003248C 0002F3EC 41 82 00 2C */ beq lbl_800324B8 -/* 80032490 0002F3F0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80032494 0002F3F4 3C 80 80 3E */ lis r4, lbl_803D9C44@ha -/* 80032498 0002F3F8 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 8003249C 0002F3FC 3C 60 80 3E */ lis r3, lbl_803D9C38@ha -/* 800324A0 0002F400 90 1F 00 00 */ stw r0, 0(r31) -/* 800324A4 0002F404 38 84 9C 44 */ addi r4, r4, lbl_803D9C44@l -/* 800324A8 0002F408 38 03 9C 38 */ addi r0, r3, lbl_803D9C38@l -/* 800324AC 0002F40C 90 9F 00 00 */ stw r4, 0(r31) -/* 800324B0 0002F410 90 1F 00 00 */ stw r0, 0(r31) -/* 800324B4 0002F414 93 DF 00 04 */ stw r30, 4(r31) -lbl_800324B8: -/* 800324B8 0002F418 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 800324BC 0002F41C 38 60 00 08 */ li r3, 8 -/* 800324C0 0002F420 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 800324C4 0002F424 38 A0 00 00 */ li r5, 0 -/* 800324C8 0002F428 48 2E 33 A5 */ bl __nw__FUlPCcPCc -/* 800324CC 0002F42C 28 03 00 00 */ cmplwi r3, 0 -/* 800324D0 0002F430 41 82 00 10 */ beq lbl_800324E0 -/* 800324D4 0002F434 93 E3 00 00 */ stw r31, 0(r3) -/* 800324D8 0002F438 38 00 00 01 */ li r0, 1 -/* 800324DC 0002F43C 90 03 00 04 */ stw r0, 4(r3) -lbl_800324E0: -/* 800324E0 0002F440 90 61 00 20 */ stw r3, 0x20(r1) -/* 800324E4 0002F444 38 99 00 70 */ addi r4, r25, 0x70 -/* 800324E8 0002F448 38 61 00 28 */ addi r3, r1, 0x28 -/* 800324EC 0002F44C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800324F0 0002F450 81 99 00 70 */ lwz r12, 0x70(r25) -/* 800324F4 0002F454 38 C1 00 20 */ addi r6, r1, 0x20 -/* 800324F8 0002F458 81 8C 00 08 */ lwz r12, 8(r12) -/* 800324FC 0002F45C 7D 89 03 A6 */ mtctr r12 -/* 80032500 0002F460 4E 80 04 21 */ bctrl -/* 80032504 0002F464 3B E1 00 5C */ addi r31, r1, 0x5c -/* 80032508 0002F468 38 81 00 28 */ addi r4, r1, 0x28 -/* 8003250C 0002F46C 7F E3 FB 78 */ mr r3, r31 -/* 80032510 0002F470 48 30 E9 99 */ bl __ct__6CTokenFRC6CToken -/* 80032514 0002F474 7F E3 FB 78 */ mr r3, r31 -/* 80032518 0002F478 48 30 E8 F5 */ bl GetObj__6CTokenFv -/* 8003251C 0002F47C 88 01 00 74 */ lbz r0, 0x74(r1) -/* 80032520 0002F480 80 63 00 04 */ lwz r3, 4(r3) -/* 80032524 0002F484 28 00 00 00 */ cmplwi r0, 0 -/* 80032528 0002F488 90 61 00 64 */ stw r3, 0x64(r1) -/* 8003252C 0002F48C 40 82 00 34 */ bne lbl_80032560 -/* 80032530 0002F490 37 E1 00 68 */ addic. r31, r1, 0x68 -/* 80032534 0002F494 41 82 00 20 */ beq lbl_80032554 -/* 80032538 0002F498 7F E3 FB 78 */ mr r3, r31 -/* 8003253C 0002F49C 38 81 00 5C */ addi r4, r1, 0x5c -/* 80032540 0002F4A0 48 30 E9 69 */ bl __ct__6CTokenFRC6CToken -/* 80032544 0002F4A4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80032548 0002F4A8 7F E3 FB 78 */ mr r3, r31 -/* 8003254C 0002F4AC 90 1F 00 08 */ stw r0, 8(r31) -/* 80032550 0002F4B0 48 30 E8 35 */ bl Lock__6CTokenFv -lbl_80032554: -/* 80032554 0002F4B4 38 00 00 01 */ li r0, 1 -/* 80032558 0002F4B8 98 01 00 74 */ stb r0, 0x74(r1) -/* 8003255C 0002F4BC 48 00 00 18 */ b lbl_80032574 -lbl_80032560: -/* 80032560 0002F4C0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80032564 0002F4C4 7F E4 FB 78 */ mr r4, r31 -/* 80032568 0002F4C8 48 30 E7 5D */ bl __as__6CTokenFRC6CToken -/* 8003256C 0002F4CC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80032570 0002F4D0 90 01 00 70 */ stw r0, 0x70(r1) -lbl_80032574: -/* 80032574 0002F4D4 38 61 00 5C */ addi r3, r1, 0x5c -/* 80032578 0002F4D8 38 80 00 00 */ li r4, 0 -/* 8003257C 0002F4DC 48 30 E8 C5 */ bl __dt__6CTokenFv -/* 80032580 0002F4E0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80032584 0002F4E4 38 80 FF FF */ li r4, -1 -/* 80032588 0002F4E8 48 30 E8 B9 */ bl __dt__6CTokenFv -/* 8003258C 0002F4EC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80032590 0002F4F0 48 00 1D 75 */ bl sub_80034304 -lbl_80032594: -/* 80032594 0002F4F4 3C 60 80 3D */ lis r3, lbl_803CCD78@ha -/* 80032598 0002F4F8 3A E0 00 00 */ li r23, 0 -/* 8003259C 0002F4FC 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l -/* 800325A0 0002F500 38 A0 00 00 */ li r5, 0 -/* 800325A4 0002F504 38 60 05 78 */ li r3, 0x578 -/* 800325A8 0002F508 48 2E 32 C5 */ bl __nw__FUlPCcPCc -/* 800325AC 0002F50C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800325B0 0002F510 41 82 00 7C */ beq lbl_8003262C -/* 800325B4 0002F514 80 79 00 20 */ lwz r3, 0x20(r25) -/* 800325B8 0002F518 57 40 18 38 */ slwi r0, r26, 3 -/* 800325BC 0002F51C 3A E1 00 50 */ addi r23, r1, 0x50 -/* 800325C0 0002F520 7C 83 02 14 */ add r4, r3, r0 -/* 800325C4 0002F524 7E E3 BB 78 */ mr r3, r23 -/* 800325C8 0002F528 48 30 E8 E1 */ bl __ct__6CTokenFRC6CToken -/* 800325CC 0002F52C 7E E3 BB 78 */ mr r3, r23 -/* 800325D0 0002F530 48 30 E8 3D */ bl GetObj__6CTokenFv -/* 800325D4 0002F534 80 03 00 04 */ lwz r0, 4(r3) -/* 800325D8 0002F538 38 C1 00 68 */ addi r6, r1, 0x68 -/* 800325DC 0002F53C 39 39 00 24 */ addi r9, r25, 0x24 -/* 800325E0 0002F540 38 99 00 28 */ addi r4, r25, 0x28 -/* 800325E4 0002F544 90 01 00 58 */ stw r0, 0x58(r1) -/* 800325E8 0002F548 38 19 00 2C */ addi r0, r25, 0x2c -/* 800325EC 0002F54C 7F E3 FB 78 */ mr r3, r31 -/* 800325F0 0002F550 7F C5 F3 78 */ mr r5, r30 -/* 800325F4 0002F554 90 C1 00 08 */ stw r6, 8(r1) -/* 800325F8 0002F558 7F A6 EB 78 */ mr r6, r29 -/* 800325FC 0002F55C 7F 47 D3 78 */ mr r7, r26 -/* 80032600 0002F560 7F 68 DB 78 */ mr r8, r27 -/* 80032604 0002F564 91 21 00 0C */ stw r9, 0xc(r1) -/* 80032608 0002F568 7E E9 BB 78 */ mr r9, r23 -/* 8003260C 0002F56C 39 41 00 40 */ addi r10, r1, 0x40 -/* 80032610 0002F570 3A E0 00 01 */ li r23, 1 -/* 80032614 0002F574 90 81 00 10 */ stw r4, 0x10(r1) -/* 80032618 0002F578 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003261C 0002F57C 93 81 00 18 */ stw r28, 0x18(r1) -/* 80032620 0002F580 80 99 00 68 */ lwz r4, 0x68(r25) -/* 80032624 0002F584 4B FF D2 41 */ bl "__ct__9CAnimDataFUiRC14CCharacterInfoiibRC31TLockedToken<15CCharLayoutInfo>RC23TToken<13CSkinnedModel>RCQ24rstl62optional_object<43TLockedToken<27CSkinnedModelWithAvgNormals>>RCQ24rstl27ncrc_ptr<15CAnimSysContext>RCQ24rstl27rc_ptr<17CAnimationManager>RCQ24rstl28rc_ptr<18CTransitionManager>RC33TLockedToken<17CCharacterFactory>" -/* 80032628 0002F588 7C 7F 1B 78 */ mr r31, r3 -lbl_8003262C: -/* 8003262C 0002F58C 7E E0 07 75 */ extsb. r0, r23 -/* 80032630 0002F590 41 82 00 10 */ beq lbl_80032640 -/* 80032634 0002F594 38 61 00 50 */ addi r3, r1, 0x50 -/* 80032638 0002F598 38 80 00 00 */ li r4, 0 -/* 8003263C 0002F59C 48 30 E8 05 */ bl __dt__6CTokenFv -lbl_80032640: -/* 80032640 0002F5A0 7C 1F 00 D0 */ neg r0, r31 -/* 80032644 0002F5A4 7C 00 FB 78 */ or r0, r0, r31 -/* 80032648 0002F5A8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8003264C 0002F5AC 98 18 00 00 */ stb r0, 0(r24) -/* 80032650 0002F5B0 93 F8 00 04 */ stw r31, 4(r24) -/* 80032654 0002F5B4 88 01 00 74 */ lbz r0, 0x74(r1) -/* 80032658 0002F5B8 28 00 00 00 */ cmplwi r0, 0 -/* 8003265C 0002F5BC 41 82 00 1C */ beq lbl_80032678 -/* 80032660 0002F5C0 34 61 00 68 */ addic. r3, r1, 0x68 -/* 80032664 0002F5C4 41 82 00 14 */ beq lbl_80032678 -/* 80032668 0002F5C8 28 03 00 00 */ cmplwi r3, 0 -/* 8003266C 0002F5CC 41 82 00 0C */ beq lbl_80032678 -/* 80032670 0002F5D0 38 80 00 00 */ li r4, 0 -/* 80032674 0002F5D4 48 30 E7 CD */ bl __dt__6CTokenFv -lbl_80032678: -/* 80032678 0002F5D8 38 00 00 00 */ li r0, 0 -/* 8003267C 0002F5DC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80032680 0002F5E0 98 01 00 74 */ stb r0, 0x74(r1) -/* 80032684 0002F5E4 38 80 00 00 */ li r4, 0 -/* 80032688 0002F5E8 48 30 E7 B9 */ bl __dt__6CTokenFv -/* 8003268C 0002F5EC BA E1 00 7C */ lmw r23, 0x7c(r1) -/* 80032690 0002F5F0 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80032694 0002F5F4 7C 08 03 A6 */ mtlr r0 -/* 80032698 0002F5F8 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8003269C 0002F5FC 4E 80 00 20 */ blr - -.global sub_800326a0 -sub_800326a0: -/* 800326A0 0002F600 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800326A4 0002F604 7C 08 02 A6 */ mflr r0 -/* 800326A8 0002F608 90 01 00 14 */ stw r0, 0x14(r1) -/* 800326AC 0002F60C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800326B0 0002F610 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800326B4 0002F614 41 82 00 30 */ beq lbl_800326E4 -/* 800326B8 0002F618 3C 60 80 3E */ lis r3, lbl_803D9C44@ha -/* 800326BC 0002F61C 38 03 9C 44 */ addi r0, r3, lbl_803D9C44@l -/* 800326C0 0002F620 90 1F 00 00 */ stw r0, 0(r31) -/* 800326C4 0002F624 41 82 00 10 */ beq lbl_800326D4 -/* 800326C8 0002F628 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 800326CC 0002F62C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 800326D0 0002F630 90 1F 00 00 */ stw r0, 0(r31) -lbl_800326D4: -/* 800326D4 0002F634 7C 80 07 35 */ extsh. r0, r4 -/* 800326D8 0002F638 40 81 00 0C */ ble lbl_800326E4 -/* 800326DC 0002F63C 7F E3 FB 78 */ mr r3, r31 -/* 800326E0 0002F640 48 2E 32 51 */ bl Free__7CMemoryFPCv -lbl_800326E4: -/* 800326E4 0002F644 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800326E8 0002F648 7F E3 FB 78 */ mr r3, r31 -/* 800326EC 0002F64C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800326F0 0002F650 7C 08 03 A6 */ mtlr r0 -/* 800326F4 0002F654 38 21 00 10 */ addi r1, r1, 0x10 -/* 800326F8 0002F658 4E 80 00 20 */ blr - -.global __ct__17CCharacterFactoryFR11CSimplePoolRC17CAnimCharacterSetUi -__ct__17CCharacterFactoryFR11CSimplePoolRC17CAnimCharacterSetUi: -/* 800326FC 0002F65C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80032700 0002F660 7C 08 02 A6 */ mflr r0 -/* 80032704 0002F664 3C E0 80 3E */ lis r7, lbl_803D9C2C@ha -/* 80032708 0002F668 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8003270C 0002F66C 38 07 9C 2C */ addi r0, r7, lbl_803D9C2C@l -/* 80032710 0002F670 BF 01 00 C0 */ stmw r24, 0xc0(r1) -/* 80032714 0002F674 7C 7F 1B 78 */ mr r31, r3 -/* 80032718 0002F678 3C 60 80 3E */ lis r3, lbl_803D9C20@ha -/* 8003271C 0002F67C 7C BB 2B 78 */ mr r27, r5 -/* 80032720 0002F680 7C 9E 23 78 */ mr r30, r4 -/* 80032724 0002F684 7C DC 33 78 */ mr r28, r6 -/* 80032728 0002F688 7F 64 DB 78 */ mr r4, r27 -/* 8003272C 0002F68C 90 1F 00 00 */ stw r0, 0(r31) -/* 80032730 0002F690 38 03 9C 20 */ addi r0, r3, lbl_803D9C20@l -/* 80032734 0002F694 38 61 00 94 */ addi r3, r1, 0x94 -/* 80032738 0002F698 90 1F 00 00 */ stw r0, 0(r31) -/* 8003273C 0002F69C 4B FF F8 AD */ bl sub_80031fe8 -/* 80032740 0002F6A0 38 7F 00 04 */ addi r3, r31, 4 -/* 80032744 0002F6A4 38 81 00 94 */ addi r4, r1, 0x94 -/* 80032748 0002F6A8 4B FF F9 39 */ bl sub_80032080 -/* 8003274C 0002F6AC 38 61 00 94 */ addi r3, r1, 0x94 -/* 80032750 0002F6B0 38 80 FF FF */ li r4, -1 -/* 80032754 0002F6B4 4B FF FA F1 */ bl sub_80032244 -/* 80032758 0002F6B8 7F C4 F3 78 */ mr r4, r30 -/* 8003275C 0002F6BC 38 61 00 84 */ addi r3, r1, 0x84 -/* 80032760 0002F6C0 38 BF 00 04 */ addi r5, r31, 4 -/* 80032764 0002F6C4 4B FF F6 7D */ bl sub_80031de0 -/* 80032768 0002F6C8 80 01 00 88 */ lwz r0, 0x88(r1) -/* 8003276C 0002F6CC 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80032770 0002F6D0 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 80032774 0002F6D4 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 80032778 0002F6D8 80 01 00 88 */ lwz r0, 0x88(r1) -/* 8003277C 0002F6DC 2C 00 00 00 */ cmpwi r0, 0 -/* 80032780 0002F6E0 40 82 00 1C */ bne lbl_8003279C -/* 80032784 0002F6E4 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 80032788 0002F6E8 2C 00 00 00 */ cmpwi r0, 0 -/* 8003278C 0002F6EC 40 82 00 10 */ bne lbl_8003279C -/* 80032790 0002F6F0 38 00 00 00 */ li r0, 0 -/* 80032794 0002F6F4 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80032798 0002F6F8 48 00 00 6C */ b lbl_80032804 -lbl_8003279C: -/* 8003279C 0002F6FC 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 800327A0 0002F700 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 800327A4 0002F704 40 82 00 10 */ bne lbl_800327B4 -/* 800327A8 0002F708 38 00 00 00 */ li r0, 0 -/* 800327AC 0002F70C 90 1F 00 20 */ stw r0, 0x20(r31) -/* 800327B0 0002F710 48 00 00 18 */ b lbl_800327C8 -lbl_800327B4: -/* 800327B4 0002F714 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 800327B8 0002F718 38 A0 00 00 */ li r5, 0 -/* 800327BC 0002F71C 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 800327C0 0002F720 48 2E 30 59 */ bl __nwa__FUlPCcPCc -/* 800327C4 0002F724 90 7F 00 20 */ stw r3, 0x20(r31) -lbl_800327C8: -/* 800327C8 0002F728 83 1F 00 18 */ lwz r24, 0x18(r31) -/* 800327CC 0002F72C 3B A0 00 00 */ li r29, 0 -/* 800327D0 0002F730 83 21 00 90 */ lwz r25, 0x90(r1) -/* 800327D4 0002F734 83 5F 00 20 */ lwz r26, 0x20(r31) -/* 800327D8 0002F738 48 00 00 24 */ b lbl_800327FC -lbl_800327DC: -/* 800327DC 0002F73C 28 1A 00 00 */ cmplwi r26, 0 -/* 800327E0 0002F740 41 82 00 10 */ beq lbl_800327F0 -/* 800327E4 0002F744 7F 43 D3 78 */ mr r3, r26 -/* 800327E8 0002F748 7F 24 CB 78 */ mr r4, r25 -/* 800327EC 0002F74C 48 30 E6 BD */ bl __ct__6CTokenFRC6CToken -lbl_800327F0: -/* 800327F0 0002F750 3B 5A 00 08 */ addi r26, r26, 8 -/* 800327F4 0002F754 3B BD 00 01 */ addi r29, r29, 1 -/* 800327F8 0002F758 3B 39 00 08 */ addi r25, r25, 8 -lbl_800327FC: -/* 800327FC 0002F75C 7C 1D C0 00 */ cmpw r29, r24 -/* 80032800 0002F760 41 80 FF DC */ blt lbl_800327DC -lbl_80032804: -/* 80032804 0002F764 80 01 00 88 */ lwz r0, 0x88(r1) -/* 80032808 0002F768 83 01 00 90 */ lwz r24, 0x90(r1) -/* 8003280C 0002F76C 54 00 18 38 */ slwi r0, r0, 3 -/* 80032810 0002F770 7F B8 02 14 */ add r29, r24, r0 -/* 80032814 0002F774 93 01 00 0C */ stw r24, 0xc(r1) -/* 80032818 0002F778 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003281C 0002F77C 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80032820 0002F780 93 01 00 08 */ stw r24, 8(r1) -/* 80032824 0002F784 48 00 00 1C */ b lbl_80032840 -lbl_80032828: -/* 80032828 0002F788 28 18 00 00 */ cmplwi r24, 0 -/* 8003282C 0002F78C 41 82 00 10 */ beq lbl_8003283C -/* 80032830 0002F790 7F 03 C3 78 */ mr r3, r24 -/* 80032834 0002F794 38 80 00 00 */ li r4, 0 -/* 80032838 0002F798 48 30 E6 09 */ bl __dt__6CTokenFv -lbl_8003283C: -/* 8003283C 0002F79C 3B 18 00 08 */ addi r24, r24, 8 -lbl_80032840: -/* 80032840 0002F7A0 7C 18 E8 40 */ cmplw r24, r29 -/* 80032844 0002F7A4 40 82 FF E4 */ bne lbl_80032828 -/* 80032848 0002F7A8 80 61 00 90 */ lwz r3, 0x90(r1) -/* 8003284C 0002F7AC 28 03 00 00 */ cmplwi r3, 0 -/* 80032850 0002F7B0 41 82 00 08 */ beq lbl_80032858 -/* 80032854 0002F7B4 48 2E 30 DD */ bl Free__7CMemoryFPCv -lbl_80032858: -/* 80032858 0002F7B8 38 CD A9 28 */ addi r6, r13, lbl_805A94E8@sda21 -/* 8003285C 0002F7BC 38 60 00 00 */ li r3, 0 -/* 80032860 0002F7C0 90 DF 00 24 */ stw r6, 0x24(r31) -/* 80032864 0002F7C4 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 80032868 0002F7C8 80 85 00 04 */ lwz r4, 4(r5) -/* 8003286C 0002F7CC 38 04 00 01 */ addi r0, r4, 1 -/* 80032870 0002F7D0 90 05 00 04 */ stw r0, 4(r5) -/* 80032874 0002F7D4 90 DF 00 28 */ stw r6, 0x28(r31) -/* 80032878 0002F7D8 80 BF 00 28 */ lwz r5, 0x28(r31) -/* 8003287C 0002F7DC 80 85 00 04 */ lwz r4, 4(r5) -/* 80032880 0002F7E0 38 04 00 01 */ addi r0, r4, 1 -/* 80032884 0002F7E4 90 05 00 04 */ stw r0, 4(r5) -/* 80032888 0002F7E8 90 DF 00 2C */ stw r6, 0x2c(r31) -/* 8003288C 0002F7EC 80 BF 00 2C */ lwz r5, 0x2c(r31) -/* 80032890 0002F7F0 80 85 00 04 */ lwz r4, 4(r5) -/* 80032894 0002F7F4 38 04 00 01 */ addi r0, r4, 1 -/* 80032898 0002F7F8 90 05 00 04 */ stw r0, 4(r5) -/* 8003289C 0002F7FC 90 7F 00 34 */ stw r3, 0x34(r31) -/* 800328A0 0002F800 90 7F 00 38 */ stw r3, 0x38(r31) -/* 800328A4 0002F804 90 7F 00 3C */ stw r3, 0x3c(r31) -/* 800328A8 0002F808 80 1B 00 44 */ lwz r0, 0x44(r27) -/* 800328AC 0002F80C 90 1F 00 44 */ stw r0, 0x44(r31) -/* 800328B0 0002F810 80 1B 00 48 */ lwz r0, 0x48(r27) -/* 800328B4 0002F814 90 1F 00 48 */ stw r0, 0x48(r31) -/* 800328B8 0002F818 80 1B 00 44 */ lwz r0, 0x44(r27) -/* 800328BC 0002F81C 2C 00 00 00 */ cmpwi r0, 0 -/* 800328C0 0002F820 40 82 00 18 */ bne lbl_800328D8 -/* 800328C4 0002F824 80 1B 00 48 */ lwz r0, 0x48(r27) -/* 800328C8 0002F828 2C 00 00 00 */ cmpwi r0, 0 -/* 800328CC 0002F82C 40 82 00 0C */ bne lbl_800328D8 -/* 800328D0 0002F830 90 7F 00 4C */ stw r3, 0x4c(r31) -/* 800328D4 0002F834 48 00 00 78 */ b lbl_8003294C -lbl_800328D8: -/* 800328D8 0002F838 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 800328DC 0002F83C 1C 60 00 0C */ mulli r3, r0, 0xc -/* 800328E0 0002F840 2C 03 00 00 */ cmpwi r3, 0 -/* 800328E4 0002F844 40 82 00 10 */ bne lbl_800328F4 -/* 800328E8 0002F848 38 00 00 00 */ li r0, 0 -/* 800328EC 0002F84C 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 800328F0 0002F850 48 00 00 18 */ b lbl_80032908 -lbl_800328F4: -/* 800328F4 0002F854 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 800328F8 0002F858 38 A0 00 00 */ li r5, 0 -/* 800328FC 0002F85C 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032900 0002F860 48 2E 2F 19 */ bl __nwa__FUlPCcPCc -/* 80032904 0002F864 90 7F 00 4C */ stw r3, 0x4c(r31) -lbl_80032908: -/* 80032908 0002F868 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8003290C 0002F86C 80 9B 00 4C */ lwz r4, 0x4c(r27) -/* 80032910 0002F870 80 7F 00 4C */ lwz r3, 0x4c(r31) -/* 80032914 0002F874 7C 09 03 A6 */ mtctr r0 -/* 80032918 0002F878 2C 00 00 00 */ cmpwi r0, 0 -/* 8003291C 0002F87C 40 81 00 30 */ ble lbl_8003294C -lbl_80032920: -/* 80032920 0002F880 28 03 00 00 */ cmplwi r3, 0 -/* 80032924 0002F884 41 82 00 1C */ beq lbl_80032940 -/* 80032928 0002F888 80 04 00 00 */ lwz r0, 0(r4) -/* 8003292C 0002F88C 90 03 00 00 */ stw r0, 0(r3) -/* 80032930 0002F890 C0 04 00 04 */ lfs f0, 4(r4) -/* 80032934 0002F894 D0 03 00 04 */ stfs f0, 4(r3) -/* 80032938 0002F898 C0 04 00 08 */ lfs f0, 8(r4) -/* 8003293C 0002F89C D0 03 00 08 */ stfs f0, 8(r3) -lbl_80032940: -/* 80032940 0002F8A0 38 63 00 0C */ addi r3, r3, 0xc -/* 80032944 0002F8A4 38 84 00 0C */ addi r4, r4, 0xc -/* 80032948 0002F8A8 42 00 FF D8 */ bdnz lbl_80032920 -lbl_8003294C: -/* 8003294C 0002F8AC C0 1B 00 50 */ lfs f0, 0x50(r27) -/* 80032950 0002F8B0 D0 1F 00 50 */ stfs f0, 0x50(r31) -/* 80032954 0002F8B4 C0 1B 00 54 */ lfs f0, 0x54(r27) -/* 80032958 0002F8B8 D0 1F 00 54 */ stfs f0, 0x54(r31) -/* 8003295C 0002F8BC 80 1B 00 6C */ lwz r0, 0x6c(r27) -/* 80032960 0002F8C0 90 1F 00 5C */ stw r0, 0x5c(r31) -/* 80032964 0002F8C4 80 1B 00 70 */ lwz r0, 0x70(r27) -/* 80032968 0002F8C8 90 1F 00 60 */ stw r0, 0x60(r31) -/* 8003296C 0002F8CC 80 1B 00 6C */ lwz r0, 0x6c(r27) -/* 80032970 0002F8D0 2C 00 00 00 */ cmpwi r0, 0 -/* 80032974 0002F8D4 40 82 00 1C */ bne lbl_80032990 -/* 80032978 0002F8D8 80 1B 00 70 */ lwz r0, 0x70(r27) -/* 8003297C 0002F8DC 2C 00 00 00 */ cmpwi r0, 0 -/* 80032980 0002F8E0 40 82 00 10 */ bne lbl_80032990 -/* 80032984 0002F8E4 38 00 00 00 */ li r0, 0 -/* 80032988 0002F8E8 90 1F 00 64 */ stw r0, 0x64(r31) -/* 8003298C 0002F8EC 48 00 00 6C */ b lbl_800329F8 -lbl_80032990: -/* 80032990 0002F8F0 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80032994 0002F8F4 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 80032998 0002F8F8 40 82 00 10 */ bne lbl_800329A8 -/* 8003299C 0002F8FC 38 00 00 00 */ li r0, 0 -/* 800329A0 0002F900 90 1F 00 64 */ stw r0, 0x64(r31) -/* 800329A4 0002F904 48 00 00 18 */ b lbl_800329BC -lbl_800329A8: -/* 800329A8 0002F908 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 800329AC 0002F90C 38 A0 00 00 */ li r5, 0 -/* 800329B0 0002F910 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 800329B4 0002F914 48 2E 2E 65 */ bl __nwa__FUlPCcPCc -/* 800329B8 0002F918 90 7F 00 64 */ stw r3, 0x64(r31) -lbl_800329BC: -/* 800329BC 0002F91C 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 800329C0 0002F920 80 9B 00 74 */ lwz r4, 0x74(r27) -/* 800329C4 0002F924 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800329C8 0002F928 7C 09 03 A6 */ mtctr r0 -/* 800329CC 0002F92C 2C 00 00 00 */ cmpwi r0, 0 -/* 800329D0 0002F930 40 81 00 28 */ ble lbl_800329F8 -lbl_800329D4: -/* 800329D4 0002F934 28 03 00 00 */ cmplwi r3, 0 -/* 800329D8 0002F938 41 82 00 14 */ beq lbl_800329EC -/* 800329DC 0002F93C 80 04 00 00 */ lwz r0, 0(r4) -/* 800329E0 0002F940 90 03 00 00 */ stw r0, 0(r3) -/* 800329E4 0002F944 80 04 00 04 */ lwz r0, 4(r4) -/* 800329E8 0002F948 90 03 00 04 */ stw r0, 4(r3) -lbl_800329EC: -/* 800329EC 0002F94C 38 63 00 08 */ addi r3, r3, 8 -/* 800329F0 0002F950 38 84 00 08 */ addi r4, r4, 8 -/* 800329F4 0002F954 42 00 FF E0 */ bdnz lbl_800329D4 -lbl_800329F8: -/* 800329F8 0002F958 3C 60 80 3E */ lis r3, lbl_803D9C50@ha -/* 800329FC 0002F95C 93 9F 00 68 */ stw r28, 0x68(r31) -/* 80032A00 0002F960 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l -/* 80032A04 0002F964 3C A0 80 3E */ lis r5, lbl_803D9BA8@ha -/* 80032A08 0002F968 90 1F 00 6C */ stw r0, 0x6c(r31) -/* 80032A0C 0002F96C 38 05 9B A8 */ addi r0, r5, lbl_803D9BA8@l -/* 80032A10 0002F970 38 9F 00 6C */ addi r4, r31, 0x6c -/* 80032A14 0002F974 38 7F 00 70 */ addi r3, r31, 0x70 -/* 80032A18 0002F978 90 1F 00 6C */ stw r0, 0x6c(r31) -/* 80032A1C 0002F97C 48 30 DD B9 */ bl __ct__11CSimplePoolFR8IFactory -/* 80032A20 0002F980 80 FB 00 3C */ lwz r7, 0x3c(r27) -/* 80032A24 0002F984 3C 60 80 3D */ lis r3, lbl_803CCD78@ha -/* 80032A28 0002F988 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l -/* 80032A2C 0002F98C 3B 1B 00 1C */ addi r24, r27, 0x1c -/* 80032A30 0002F990 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 80032A34 0002F994 3B BB 00 2C */ addi r29, r27, 0x2c -/* 80032A38 0002F998 3B 9B 00 58 */ addi r28, r27, 0x58 -/* 80032A3C 0002F99C 38 60 00 20 */ li r3, 0x20 -/* 80032A40 0002F9A0 80 C7 00 04 */ lwz r6, 4(r7) -/* 80032A44 0002F9A4 38 A0 00 00 */ li r5, 0 -/* 80032A48 0002F9A8 38 06 00 01 */ addi r0, r6, 1 -/* 80032A4C 0002F9AC 90 07 00 04 */ stw r0, 4(r7) -/* 80032A50 0002F9B0 48 2E 2E 1D */ bl __nw__FUlPCcPCc -/* 80032A54 0002F9B4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80032A58 0002F9B8 41 82 00 10 */ beq lbl_80032A68 -/* 80032A5C 0002F9BC 7F 04 C3 78 */ mr r4, r24 -/* 80032A60 0002F9C0 48 03 B2 BD */ bl "__ct__22CAnimationDatabaseGameFRCQ24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>" -/* 80032A64 0002F9C4 7C 64 1B 78 */ mr r4, r3 -lbl_80032A68: -/* 80032A68 0002F9C8 3B 01 00 70 */ addi r24, r1, 0x70 -/* 80032A6C 0002F9CC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80032A70 0002F9D0 48 00 0A D1 */ bl "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CAnimationDatabaseGame>FP22CAnimationDatabaseGame" -/* 80032A74 0002F9D4 38 00 00 00 */ li r0, 0 -/* 80032A78 0002F9D8 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 80032A7C 0002F9DC 98 01 00 38 */ stb r0, 0x38(r1) -/* 80032A80 0002F9E0 7F 03 C3 78 */ mr r3, r24 -/* 80032A84 0002F9E4 48 30 E4 81 */ bl __ct__6CTokenFP4IObj -/* 80032A88 0002F9E8 88 01 00 38 */ lbz r0, 0x38(r1) -/* 80032A8C 0002F9EC 28 00 00 00 */ cmplwi r0, 0 -/* 80032A90 0002F9F0 41 82 00 24 */ beq lbl_80032AB4 -/* 80032A94 0002F9F4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80032A98 0002F9F8 28 03 00 00 */ cmplwi r3, 0 -/* 80032A9C 0002F9FC 41 82 00 18 */ beq lbl_80032AB4 -/* 80032AA0 0002FA00 81 83 00 00 */ lwz r12, 0(r3) -/* 80032AA4 0002FA04 38 80 00 01 */ li r4, 1 -/* 80032AA8 0002FA08 81 8C 00 08 */ lwz r12, 8(r12) -/* 80032AAC 0002FA0C 7D 89 03 A6 */ mtctr r12 -/* 80032AB0 0002FA10 4E 80 04 21 */ bctrl -lbl_80032AB4: -/* 80032AB4 0002FA14 3C 60 80 3D */ lis r3, lbl_803CCD78@ha -/* 80032AB8 0002FA18 3B 00 00 00 */ li r24, 0 -/* 80032ABC 0002FA1C 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l -/* 80032AC0 0002FA20 38 A0 00 00 */ li r5, 0 -/* 80032AC4 0002FA24 38 60 00 34 */ li r3, 0x34 -/* 80032AC8 0002FA28 48 2E 2D A5 */ bl __nw__FUlPCcPCc -/* 80032ACC 0002FA2C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80032AD0 0002FA30 41 82 00 30 */ beq lbl_80032B00 -/* 80032AD4 0002FA34 81 01 00 2C */ lwz r8, 0x2c(r1) -/* 80032AD8 0002FA38 7F A4 EB 78 */ mr r4, r29 -/* 80032ADC 0002FA3C 7F 85 E3 78 */ mr r5, r28 -/* 80032AE0 0002FA40 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80032AE4 0002FA44 91 01 00 24 */ stw r8, 0x24(r1) -/* 80032AE8 0002FA48 3B 00 00 01 */ li r24, 1 -/* 80032AEC 0002FA4C 80 E8 00 04 */ lwz r7, 4(r8) -/* 80032AF0 0002FA50 38 07 00 01 */ addi r0, r7, 1 -/* 80032AF4 0002FA54 90 08 00 04 */ stw r0, 4(r8) -/* 80032AF8 0002FA58 48 03 B8 11 */ bl "__ct__23CTransitionDatabaseGameFRCQ24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>RCQ24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>RCQ24rstl20rc_ptr<10IMetaTrans>" -/* 80032AFC 0002FA5C 7C 64 1B 78 */ mr r4, r3 -lbl_80032B00: -/* 80032B00 0002FA60 3B 21 00 68 */ addi r25, r1, 0x68 -/* 80032B04 0002FA64 38 61 00 30 */ addi r3, r1, 0x30 -/* 80032B08 0002FA68 48 00 08 19 */ bl sub_80033320 -/* 80032B0C 0002FA6C 38 00 00 00 */ li r0, 0 -/* 80032B10 0002FA70 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80032B14 0002FA74 98 01 00 30 */ stb r0, 0x30(r1) -/* 80032B18 0002FA78 7F 23 CB 78 */ mr r3, r25 -/* 80032B1C 0002FA7C 48 30 E3 E9 */ bl __ct__6CTokenFP4IObj -/* 80032B20 0002FA80 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80032B24 0002FA84 28 00 00 00 */ cmplwi r0, 0 -/* 80032B28 0002FA88 41 82 00 24 */ beq lbl_80032B4C -/* 80032B2C 0002FA8C 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80032B30 0002FA90 28 03 00 00 */ cmplwi r3, 0 -/* 80032B34 0002FA94 41 82 00 18 */ beq lbl_80032B4C -/* 80032B38 0002FA98 81 83 00 00 */ lwz r12, 0(r3) -/* 80032B3C 0002FA9C 38 80 00 01 */ li r4, 1 -/* 80032B40 0002FAA0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80032B44 0002FAA4 7D 89 03 A6 */ mtctr r12 -/* 80032B48 0002FAA8 4E 80 04 21 */ bctrl -lbl_80032B4C: -/* 80032B4C 0002FAAC 7F 00 07 75 */ extsb. r0, r24 -/* 80032B50 0002FAB0 41 82 00 0C */ beq lbl_80032B5C -/* 80032B54 0002FAB4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80032B58 0002FAB8 48 00 17 3D */ bl __dt__17CMetaTransFactoryFv -lbl_80032B5C: -/* 80032B5C 0002FABC 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80032B60 0002FAC0 38 60 00 04 */ li r3, 4 -/* 80032B64 0002FAC4 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032B68 0002FAC8 38 A0 00 00 */ li r5, 0 -/* 80032B6C 0002FACC 48 2E 2D 01 */ bl __nw__FUlPCcPCc -/* 80032B70 0002FAD0 7C 78 1B 79 */ or. r24, r3, r3 -/* 80032B74 0002FAD4 41 82 00 10 */ beq lbl_80032B84 -/* 80032B78 0002FAD8 38 80 09 1E */ li r4, 0x91e -/* 80032B7C 0002FADC 48 2D FA 71 */ bl __ct__9CRandom16FUi -/* 80032B80 0002FAE0 7C 78 1B 78 */ mr r24, r3 -lbl_80032B84: -/* 80032B84 0002FAE4 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80032B88 0002FAE8 38 60 00 08 */ li r3, 8 -/* 80032B8C 0002FAEC 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032B90 0002FAF0 38 A0 00 00 */ li r5, 0 -/* 80032B94 0002FAF4 48 2E 2C D9 */ bl __nw__FUlPCcPCc -/* 80032B98 0002FAF8 28 03 00 00 */ cmplwi r3, 0 -/* 80032B9C 0002FAFC 41 82 00 10 */ beq lbl_80032BAC -/* 80032BA0 0002FB00 93 03 00 00 */ stw r24, 0(r3) -/* 80032BA4 0002FB04 38 00 00 01 */ li r0, 1 -/* 80032BA8 0002FB08 90 03 00 04 */ stw r0, 4(r3) -lbl_80032BAC: -/* 80032BAC 0002FB0C 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80032BB0 0002FB10 90 61 00 28 */ stw r3, 0x28(r1) -/* 80032BB4 0002FB14 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032BB8 0002FB18 3B 60 00 00 */ li r27, 0 -/* 80032BBC 0002FB1C 38 60 00 10 */ li r3, 0x10 -/* 80032BC0 0002FB20 38 A0 00 00 */ li r5, 0 -/* 80032BC4 0002FB24 48 2E 2C A9 */ bl __nw__FUlPCcPCc -/* 80032BC8 0002FB28 7C 78 1B 79 */ or. r24, r3, r3 -/* 80032BCC 0002FB2C 41 82 00 3C */ beq lbl_80032C08 -/* 80032BD0 0002FB30 38 61 00 58 */ addi r3, r1, 0x58 -/* 80032BD4 0002FB34 38 81 00 68 */ addi r4, r1, 0x68 -/* 80032BD8 0002FB38 48 30 E2 D1 */ bl __ct__6CTokenFRC6CToken -/* 80032BDC 0002FB3C 7F 03 C3 78 */ mr r3, r24 -/* 80032BE0 0002FB40 38 81 00 58 */ addi r4, r1, 0x58 -/* 80032BE4 0002FB44 3B 60 00 01 */ li r27, 1 -/* 80032BE8 0002FB48 48 30 E2 C1 */ bl __ct__6CTokenFRC6CToken -/* 80032BEC 0002FB4C 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80032BF0 0002FB50 90 18 00 08 */ stw r0, 8(r24) -/* 80032BF4 0002FB54 80 98 00 08 */ lwz r4, 8(r24) -/* 80032BF8 0002FB58 80 64 00 04 */ lwz r3, 4(r4) -/* 80032BFC 0002FB5C 38 03 00 01 */ addi r0, r3, 1 -/* 80032C00 0002FB60 90 04 00 04 */ stw r0, 4(r4) -/* 80032C04 0002FB64 93 D8 00 0C */ stw r30, 0xc(r24) -lbl_80032C08: -/* 80032C08 0002FB68 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80032C0C 0002FB6C 38 60 00 08 */ li r3, 8 -/* 80032C10 0002FB70 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032C14 0002FB74 38 A0 00 00 */ li r5, 0 -/* 80032C18 0002FB78 48 2E 2C 55 */ bl __nw__FUlPCcPCc -/* 80032C1C 0002FB7C 28 03 00 00 */ cmplwi r3, 0 -/* 80032C20 0002FB80 41 82 00 10 */ beq lbl_80032C30 -/* 80032C24 0002FB84 93 03 00 00 */ stw r24, 0(r3) -/* 80032C28 0002FB88 38 00 00 01 */ li r0, 1 -/* 80032C2C 0002FB8C 90 03 00 04 */ stw r0, 4(r3) -lbl_80032C30: -/* 80032C30 0002FB90 90 61 00 20 */ stw r3, 0x20(r1) -/* 80032C34 0002FB94 38 9F 00 24 */ addi r4, r31, 0x24 -/* 80032C38 0002FB98 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80032C3C 0002FB9C 7C 00 18 40 */ cmplw r0, r3 -/* 80032C40 0002FBA0 41 82 00 24 */ beq lbl_80032C64 -/* 80032C44 0002FBA4 7C 83 23 78 */ mr r3, r4 -/* 80032C48 0002FBA8 4B FF E8 B1 */ bl sub_800314f8 -/* 80032C4C 0002FBAC 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80032C50 0002FBB0 90 1F 00 24 */ stw r0, 0x24(r31) -/* 80032C54 0002FBB4 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 80032C58 0002FBB8 80 64 00 04 */ lwz r3, 4(r4) -/* 80032C5C 0002FBBC 38 03 00 01 */ addi r0, r3, 1 -/* 80032C60 0002FBC0 90 04 00 04 */ stw r0, 4(r4) -lbl_80032C64: -/* 80032C64 0002FBC4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80032C68 0002FBC8 4B FF E8 91 */ bl sub_800314f8 -/* 80032C6C 0002FBCC 7F 60 07 75 */ extsb. r0, r27 -/* 80032C70 0002FBD0 41 82 00 10 */ beq lbl_80032C80 -/* 80032C74 0002FBD4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80032C78 0002FBD8 38 80 00 00 */ li r4, 0 -/* 80032C7C 0002FBDC 48 30 E1 C5 */ bl __dt__6CTokenFv -lbl_80032C80: -/* 80032C80 0002FBE0 3C 60 80 3D */ lis r3, lbl_803CCD78@ha -/* 80032C84 0002FBE4 3B 60 00 00 */ li r27, 0 -/* 80032C88 0002FBE8 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l -/* 80032C8C 0002FBEC 38 A0 00 00 */ li r5, 0 -/* 80032C90 0002FBF0 38 60 00 18 */ li r3, 0x18 -/* 80032C94 0002FBF4 48 2E 2B D9 */ bl __nw__FUlPCcPCc -/* 80032C98 0002FBF8 7C 78 1B 79 */ or. r24, r3, r3 -/* 80032C9C 0002FBFC 41 82 00 58 */ beq lbl_80032CF4 -/* 80032CA0 0002FC00 38 61 00 50 */ addi r3, r1, 0x50 -/* 80032CA4 0002FC04 38 81 00 70 */ addi r4, r1, 0x70 -/* 80032CA8 0002FC08 48 30 E2 01 */ bl __ct__6CTokenFRC6CToken -/* 80032CAC 0002FC0C 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 80032CB0 0002FC10 7F 03 C3 78 */ mr r3, r24 -/* 80032CB4 0002FC14 38 81 00 50 */ addi r4, r1, 0x50 -/* 80032CB8 0002FC18 3B 60 00 01 */ li r27, 1 -/* 80032CBC 0002FC1C 83 25 00 00 */ lwz r25, 0(r5) -/* 80032CC0 0002FC20 48 30 E1 E9 */ bl __ct__6CTokenFRC6CToken -/* 80032CC4 0002FC24 3B 58 00 08 */ addi r26, r24, 8 -/* 80032CC8 0002FC28 7F 24 CB 78 */ mr r4, r25 -/* 80032CCC 0002FC2C 7F 43 D3 78 */ mr r3, r26 -/* 80032CD0 0002FC30 48 30 E1 D9 */ bl __ct__6CTokenFRC6CToken -/* 80032CD4 0002FC34 80 19 00 08 */ lwz r0, 8(r25) -/* 80032CD8 0002FC38 90 1A 00 08 */ stw r0, 8(r26) -/* 80032CDC 0002FC3C 80 9A 00 08 */ lwz r4, 8(r26) -/* 80032CE0 0002FC40 80 64 00 04 */ lwz r3, 4(r4) -/* 80032CE4 0002FC44 38 03 00 01 */ addi r0, r3, 1 -/* 80032CE8 0002FC48 90 04 00 04 */ stw r0, 4(r4) -/* 80032CEC 0002FC4C 80 19 00 0C */ lwz r0, 0xc(r25) -/* 80032CF0 0002FC50 90 1A 00 0C */ stw r0, 0xc(r26) -lbl_80032CF4: -/* 80032CF4 0002FC54 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80032CF8 0002FC58 38 60 00 08 */ li r3, 8 -/* 80032CFC 0002FC5C 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032D00 0002FC60 38 A0 00 00 */ li r5, 0 -/* 80032D04 0002FC64 48 2E 2B 69 */ bl __nw__FUlPCcPCc -/* 80032D08 0002FC68 28 03 00 00 */ cmplwi r3, 0 -/* 80032D0C 0002FC6C 41 82 00 10 */ beq lbl_80032D1C -/* 80032D10 0002FC70 93 03 00 00 */ stw r24, 0(r3) -/* 80032D14 0002FC74 38 00 00 01 */ li r0, 1 -/* 80032D18 0002FC78 90 03 00 04 */ stw r0, 4(r3) -lbl_80032D1C: -/* 80032D1C 0002FC7C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80032D20 0002FC80 38 9F 00 28 */ addi r4, r31, 0x28 -/* 80032D24 0002FC84 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80032D28 0002FC88 7C 00 18 40 */ cmplw r0, r3 -/* 80032D2C 0002FC8C 41 82 00 24 */ beq lbl_80032D50 -/* 80032D30 0002FC90 7C 83 23 78 */ mr r3, r4 -/* 80032D34 0002FC94 4B FF E6 79 */ bl sub_800313ac -/* 80032D38 0002FC98 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80032D3C 0002FC9C 90 1F 00 28 */ stw r0, 0x28(r31) -/* 80032D40 0002FCA0 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 80032D44 0002FCA4 80 64 00 04 */ lwz r3, 4(r4) -/* 80032D48 0002FCA8 38 03 00 01 */ addi r0, r3, 1 -/* 80032D4C 0002FCAC 90 04 00 04 */ stw r0, 4(r4) -lbl_80032D50: -/* 80032D50 0002FCB0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80032D54 0002FCB4 4B FF E6 59 */ bl sub_800313ac -/* 80032D58 0002FCB8 7F 60 07 75 */ extsb. r0, r27 -/* 80032D5C 0002FCBC 41 82 00 10 */ beq lbl_80032D6C -/* 80032D60 0002FCC0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80032D64 0002FCC4 38 80 00 00 */ li r4, 0 -/* 80032D68 0002FCC8 48 30 E0 D9 */ bl __dt__6CTokenFv -lbl_80032D6C: -/* 80032D6C 0002FCCC 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80032D70 0002FCD0 38 60 00 10 */ li r3, 0x10 -/* 80032D74 0002FCD4 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032D78 0002FCD8 38 A0 00 00 */ li r5, 0 -/* 80032D7C 0002FCDC 48 2E 2A F1 */ bl __nw__FUlPCcPCc -/* 80032D80 0002FCE0 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80032D84 0002FCE4 41 82 00 34 */ beq lbl_80032DB8 -/* 80032D88 0002FCE8 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 80032D8C 0002FCEC 83 04 00 00 */ lwz r24, 0(r4) -/* 80032D90 0002FCF0 7F 04 C3 78 */ mr r4, r24 -/* 80032D94 0002FCF4 48 30 E1 15 */ bl __ct__6CTokenFRC6CToken -/* 80032D98 0002FCF8 80 18 00 08 */ lwz r0, 8(r24) -/* 80032D9C 0002FCFC 90 1B 00 08 */ stw r0, 8(r27) -/* 80032DA0 0002FD00 80 9B 00 08 */ lwz r4, 8(r27) -/* 80032DA4 0002FD04 80 64 00 04 */ lwz r3, 4(r4) -/* 80032DA8 0002FD08 38 03 00 01 */ addi r0, r3, 1 -/* 80032DAC 0002FD0C 90 04 00 04 */ stw r0, 4(r4) -/* 80032DB0 0002FD10 80 18 00 0C */ lwz r0, 0xc(r24) -/* 80032DB4 0002FD14 90 1B 00 0C */ stw r0, 0xc(r27) -lbl_80032DB8: -/* 80032DB8 0002FD18 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80032DBC 0002FD1C 38 60 00 08 */ li r3, 8 -/* 80032DC0 0002FD20 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80032DC4 0002FD24 38 A0 00 00 */ li r5, 0 -/* 80032DC8 0002FD28 48 2E 2A A5 */ bl __nw__FUlPCcPCc -/* 80032DCC 0002FD2C 28 03 00 00 */ cmplwi r3, 0 -/* 80032DD0 0002FD30 41 82 00 10 */ beq lbl_80032DE0 -/* 80032DD4 0002FD34 93 63 00 00 */ stw r27, 0(r3) -/* 80032DD8 0002FD38 38 00 00 01 */ li r0, 1 -/* 80032DDC 0002FD3C 90 03 00 04 */ stw r0, 4(r3) -lbl_80032DE0: -/* 80032DE0 0002FD40 90 61 00 18 */ stw r3, 0x18(r1) -/* 80032DE4 0002FD44 38 9F 00 2C */ addi r4, r31, 0x2c -/* 80032DE8 0002FD48 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80032DEC 0002FD4C 7C 00 18 40 */ cmplw r0, r3 -/* 80032DF0 0002FD50 41 82 00 24 */ beq lbl_80032E14 -/* 80032DF4 0002FD54 7C 83 23 78 */ mr r3, r4 -/* 80032DF8 0002FD58 4B FF E6 65 */ bl sub_8003145c -/* 80032DFC 0002FD5C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80032E00 0002FD60 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 80032E04 0002FD64 80 9F 00 2C */ lwz r4, 0x2c(r31) -/* 80032E08 0002FD68 80 64 00 04 */ lwz r3, 4(r4) -/* 80032E0C 0002FD6C 38 03 00 01 */ addi r0, r3, 1 -/* 80032E10 0002FD70 90 04 00 04 */ stw r0, 4(r4) -lbl_80032E14: -/* 80032E14 0002FD74 38 61 00 18 */ addi r3, r1, 0x18 -/* 80032E18 0002FD78 4B FF E6 45 */ bl sub_8003145c -/* 80032E1C 0002FD7C 38 00 00 00 */ li r0, 0 -/* 80032E20 0002FD80 38 61 00 48 */ addi r3, r1, 0x48 -/* 80032E24 0002FD84 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80032E28 0002FD88 38 81 00 70 */ addi r4, r1, 0x70 -/* 80032E2C 0002FD8C 90 01 00 AC */ stw r0, 0xac(r1) -/* 80032E30 0002FD90 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80032E34 0002FD94 48 00 01 61 */ bl sub_80032f94 -/* 80032E38 0002FD98 38 61 00 48 */ addi r3, r1, 0x48 -/* 80032E3C 0002FD9C 48 30 DF D1 */ bl GetObj__6CTokenFv -/* 80032E40 0002FDA0 80 63 00 04 */ lwz r3, 4(r3) -/* 80032E44 0002FDA4 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 80032E48 0002FDA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80032E4C 0002FDAC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80032E50 0002FDB0 7D 89 03 A6 */ mtctr r12 -/* 80032E54 0002FDB4 4E 80 04 21 */ bctrl -/* 80032E58 0002FDB8 38 61 00 48 */ addi r3, r1, 0x48 -/* 80032E5C 0002FDBC 38 80 00 00 */ li r4, 0 -/* 80032E60 0002FDC0 48 30 DF E1 */ bl __dt__6CTokenFv -/* 80032E64 0002FDC4 80 81 00 A8 */ lwz r4, 0xa8(r1) -/* 80032E68 0002FDC8 38 7F 00 30 */ addi r3, r31, 0x30 -/* 80032E6C 0002FDCC 48 00 18 41 */ bl "reserve__Q24rstl74vector<37TCachedToken<21CAllFormatsAnimSource>,Q24rstl17rmemory_allocator>Fi" -/* 80032E70 0002FDD0 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 80032E74 0002FDD4 3C 60 41 4E */ lis r3, 0x414E494D@ha -/* 80032E78 0002FDD8 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 80032E7C 0002FDDC 3B 63 49 4D */ addi r27, r3, 0x414E494D@l -/* 80032E80 0002FDE0 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 80032E84 0002FDE4 7F 3C 02 14 */ add r25, r28, r0 -/* 80032E88 0002FDE8 48 00 00 B8 */ b lbl_80032F40 -lbl_80032E8C: -/* 80032E8C 0002FDEC 80 1C 00 00 */ lwz r0, 0(r28) -/* 80032E90 0002FDF0 7F C4 F3 78 */ mr r4, r30 -/* 80032E94 0002FDF4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80032E98 0002FDF8 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80032E9C 0002FDFC 93 61 00 60 */ stw r27, 0x60(r1) -/* 80032EA0 0002FE00 90 01 00 64 */ stw r0, 0x64(r1) -/* 80032EA4 0002FE04 81 9E 00 00 */ lwz r12, 0(r30) -/* 80032EA8 0002FE08 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80032EAC 0002FE0C 7D 89 03 A6 */ mtctr r12 -/* 80032EB0 0002FE10 4E 80 04 21 */ bctrl -/* 80032EB4 0002FE14 38 61 00 78 */ addi r3, r1, 0x78 -/* 80032EB8 0002FE18 38 81 00 40 */ addi r4, r1, 0x40 -/* 80032EBC 0002FE1C 48 30 DF ED */ bl __ct__6CTokenFRC6CToken -/* 80032EC0 0002FE20 38 00 00 00 */ li r0, 0 -/* 80032EC4 0002FE24 90 01 00 80 */ stw r0, 0x80(r1) -/* 80032EC8 0002FE28 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80032ECC 0002FE2C 80 BF 00 38 */ lwz r5, 0x38(r31) -/* 80032ED0 0002FE30 7C 00 28 00 */ cmpw r0, r5 -/* 80032ED4 0002FE34 41 80 00 1C */ blt lbl_80032EF0 -/* 80032ED8 0002FE38 2C 05 00 00 */ cmpwi r5, 0 -/* 80032EDC 0002FE3C 38 7F 00 30 */ addi r3, r31, 0x30 -/* 80032EE0 0002FE40 38 80 00 04 */ li r4, 4 -/* 80032EE4 0002FE44 41 82 00 08 */ beq lbl_80032EEC -/* 80032EE8 0002FE48 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80032EEC: -/* 80032EEC 0002FE4C 48 00 17 C1 */ bl "reserve__Q24rstl74vector<37TCachedToken<21CAllFormatsAnimSource>,Q24rstl17rmemory_allocator>Fi" -lbl_80032EF0: -/* 80032EF0 0002FE50 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80032EF4 0002FE54 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80032EF8 0002FE58 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80032EFC 0002FE5C 7F 03 02 15 */ add. r24, r3, r0 -/* 80032F00 0002FE60 41 82 00 18 */ beq lbl_80032F18 -/* 80032F04 0002FE64 7F 03 C3 78 */ mr r3, r24 -/* 80032F08 0002FE68 38 81 00 78 */ addi r4, r1, 0x78 -/* 80032F0C 0002FE6C 48 30 DF 9D */ bl __ct__6CTokenFRC6CToken -/* 80032F10 0002FE70 80 01 00 80 */ lwz r0, 0x80(r1) -/* 80032F14 0002FE74 90 18 00 08 */ stw r0, 8(r24) -lbl_80032F18: -/* 80032F18 0002FE78 80 BF 00 34 */ lwz r5, 0x34(r31) -/* 80032F1C 0002FE7C 38 61 00 78 */ addi r3, r1, 0x78 -/* 80032F20 0002FE80 38 80 00 00 */ li r4, 0 -/* 80032F24 0002FE84 38 05 00 01 */ addi r0, r5, 1 -/* 80032F28 0002FE88 90 1F 00 34 */ stw r0, 0x34(r31) -/* 80032F2C 0002FE8C 48 30 DF 15 */ bl __dt__6CTokenFv -/* 80032F30 0002FE90 38 61 00 40 */ addi r3, r1, 0x40 -/* 80032F34 0002FE94 38 80 FF FF */ li r4, -1 -/* 80032F38 0002FE98 48 30 DF 09 */ bl __dt__6CTokenFv -/* 80032F3C 0002FE9C 3B 9C 00 18 */ addi r28, r28, 0x18 -lbl_80032F40: -/* 80032F40 0002FEA0 7C 1C C8 40 */ cmplw r28, r25 -/* 80032F44 0002FEA4 40 82 FF 48 */ bne lbl_80032E8C -/* 80032F48 0002FEA8 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80032F4C 0002FEAC 38 80 FF FF */ li r4, -1 -/* 80032F50 0002FEB0 48 00 00 65 */ bl sub_80032fb4 -/* 80032F54 0002FEB4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80032F58 0002FEB8 4B FF E7 D1 */ bl sub_80031728 -/* 80032F5C 0002FEBC 38 61 00 68 */ addi r3, r1, 0x68 -/* 80032F60 0002FEC0 38 80 00 00 */ li r4, 0 -/* 80032F64 0002FEC4 48 30 DE DD */ bl __dt__6CTokenFv -/* 80032F68 0002FEC8 38 61 00 70 */ addi r3, r1, 0x70 -/* 80032F6C 0002FECC 38 80 00 00 */ li r4, 0 -/* 80032F70 0002FED0 48 30 DE D1 */ bl __dt__6CTokenFv -/* 80032F74 0002FED4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80032F78 0002FED8 48 00 13 1D */ bl __dt__17CMetaTransFactoryFv -/* 80032F7C 0002FEDC 7F E3 FB 78 */ mr r3, r31 -/* 80032F80 0002FEE0 BB 01 00 C0 */ lmw r24, 0xc0(r1) -/* 80032F84 0002FEE4 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80032F88 0002FEE8 7C 08 03 A6 */ mtlr r0 -/* 80032F8C 0002FEEC 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80032F90 0002FEF0 4E 80 00 20 */ blr - -.global sub_80032f94 -sub_80032f94: -/* 80032F94 0002FEF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80032F98 0002FEF8 7C 08 02 A6 */ mflr r0 -/* 80032F9C 0002FEFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80032FA0 0002FF00 48 30 DF 09 */ bl __ct__6CTokenFRC6CToken -/* 80032FA4 0002FF04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80032FA8 0002FF08 7C 08 03 A6 */ mtlr r0 -/* 80032FAC 0002FF0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80032FB0 0002FF10 4E 80 00 20 */ blr - -.global sub_80032fb4 -sub_80032fb4: -/* 80032FB4 0002FF14 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80032FB8 0002FF18 7C 08 02 A6 */ mflr r0 -/* 80032FBC 0002FF1C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80032FC0 0002FF20 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80032FC4 0002FF24 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80032FC8 0002FF28 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80032FCC 0002FF2C 7C 9D 23 78 */ mr r29, r4 -/* 80032FD0 0002FF30 93 81 00 20 */ stw r28, 0x20(r1) -/* 80032FD4 0002FF34 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80032FD8 0002FF38 41 82 00 6C */ beq lbl_80033044 -/* 80032FDC 0002FF3C 80 1C 00 04 */ lwz r0, 4(r28) -/* 80032FE0 0002FF40 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 80032FE4 0002FF44 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 80032FE8 0002FF48 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80032FEC 0002FF4C 7F FE 02 14 */ add r31, r30, r0 -/* 80032FF0 0002FF50 93 C1 00 14 */ stw r30, 0x14(r1) -/* 80032FF4 0002FF54 93 E1 00 08 */ stw r31, 8(r1) -/* 80032FF8 0002FF58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80032FFC 0002FF5C 48 00 00 20 */ b lbl_8003301C -lbl_80033000: -/* 80033000 0002FF60 28 1E 00 00 */ cmplwi r30, 0 -/* 80033004 0002FF64 41 82 00 14 */ beq lbl_80033018 -/* 80033008 0002FF68 34 1E 00 08 */ addic. r0, r30, 8 -/* 8003300C 0002FF6C 41 82 00 0C */ beq lbl_80033018 -/* 80033010 0002FF70 38 7E 00 08 */ addi r3, r30, 8 -/* 80033014 0002FF74 48 30 AA CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80033018: -/* 80033018 0002FF78 3B DE 00 18 */ addi r30, r30, 0x18 -lbl_8003301C: -/* 8003301C 0002FF7C 7C 1E F8 40 */ cmplw r30, r31 -/* 80033020 0002FF80 40 82 FF E0 */ bne lbl_80033000 -/* 80033024 0002FF84 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80033028 0002FF88 28 03 00 00 */ cmplwi r3, 0 -/* 8003302C 0002FF8C 41 82 00 08 */ beq lbl_80033034 -/* 80033030 0002FF90 48 2E 29 01 */ bl Free__7CMemoryFPCv -lbl_80033034: -/* 80033034 0002FF94 7F A0 07 35 */ extsh. r0, r29 -/* 80033038 0002FF98 40 81 00 0C */ ble lbl_80033044 -/* 8003303C 0002FF9C 7F 83 E3 78 */ mr r3, r28 -/* 80033040 0002FFA0 48 2E 28 F1 */ bl Free__7CMemoryFPCv -lbl_80033044: -/* 80033044 0002FFA4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80033048 0002FFA8 7F 83 E3 78 */ mr r3, r28 -/* 8003304C 0002FFAC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80033050 0002FFB0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80033054 0002FFB4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80033058 0002FFB8 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8003305C 0002FFBC 7C 08 03 A6 */ mtlr r0 -/* 80033060 0002FFC0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80033064 0002FFC4 4E 80 00 20 */ blr - -.global sub_80033068 -sub_80033068: -/* 80033068 0002FFC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003306C 0002FFCC 7C 08 02 A6 */ mflr r0 -/* 80033070 0002FFD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80033074 0002FFD4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80033078 0002FFD8 7C 9F 23 78 */ mr r31, r4 -/* 8003307C 0002FFDC 93 C1 00 08 */ stw r30, 8(r1) -/* 80033080 0002FFE0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80033084 0002FFE4 41 82 00 58 */ beq lbl_800330DC -/* 80033088 0002FFE8 3C 60 80 3E */ lis r3, lbl_803D9C14@ha -/* 8003308C 0002FFEC 38 03 9C 14 */ addi r0, r3, lbl_803D9C14@l -/* 80033090 0002FFF0 90 1E 00 00 */ stw r0, 0(r30) -/* 80033094 0002FFF4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80033098 0002FFF8 28 03 00 00 */ cmplwi r3, 0 -/* 8003309C 0002FFFC 41 82 00 0C */ beq lbl_800330A8 -/* 800330A0 00030000 38 80 00 01 */ li r4, 1 -/* 800330A4 00030004 48 00 00 55 */ bl sub_800330f8 -lbl_800330A8: -/* 800330A8 00030008 28 1E 00 00 */ cmplwi r30, 0 -/* 800330AC 0003000C 41 82 00 20 */ beq lbl_800330CC -/* 800330B0 00030010 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 800330B4 00030014 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 800330B8 00030018 90 1E 00 00 */ stw r0, 0(r30) -/* 800330BC 0003001C 41 82 00 10 */ beq lbl_800330CC -/* 800330C0 00030020 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 800330C4 00030024 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 800330C8 00030028 90 1E 00 00 */ stw r0, 0(r30) -lbl_800330CC: -/* 800330CC 0003002C 7F E0 07 35 */ extsh. r0, r31 -/* 800330D0 00030030 40 81 00 0C */ ble lbl_800330DC -/* 800330D4 00030034 7F C3 F3 78 */ mr r3, r30 -/* 800330D8 00030038 48 2E 28 59 */ bl Free__7CMemoryFPCv -lbl_800330DC: -/* 800330DC 0003003C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800330E0 00030040 7F C3 F3 78 */ mr r3, r30 -/* 800330E4 00030044 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800330E8 00030048 83 C1 00 08 */ lwz r30, 8(r1) -/* 800330EC 0003004C 7C 08 03 A6 */ mtlr r0 -/* 800330F0 00030050 38 21 00 10 */ addi r1, r1, 0x10 -/* 800330F4 00030054 4E 80 00 20 */ blr - -.global sub_800330f8 -sub_800330f8: -/* 800330F8 00030058 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800330FC 0003005C 7C 08 02 A6 */ mflr r0 -/* 80033100 00030060 90 01 00 14 */ stw r0, 0x14(r1) -/* 80033104 00030064 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80033108 00030068 7C 9F 23 78 */ mr r31, r4 -/* 8003310C 0003006C 93 C1 00 08 */ stw r30, 8(r1) -/* 80033110 00030070 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80033114 00030074 41 82 00 88 */ beq lbl_8003319C -/* 80033118 00030078 3C 80 80 3E */ lis r4, lbl_803DA340@ha -/* 8003311C 0003007C 38 7E 00 24 */ addi r3, r30, 0x24 -/* 80033120 00030080 38 04 A3 40 */ addi r0, r4, lbl_803DA340@l -/* 80033124 00030084 38 80 FF FF */ li r4, -1 -/* 80033128 00030088 90 1E 00 00 */ stw r0, 0(r30) -/* 8003312C 0003008C 48 00 01 41 */ bl sub_8003326c -/* 80033130 00030090 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80033134 00030094 38 80 FF FF */ li r4, -1 -/* 80033138 00030098 48 00 00 81 */ bl sub_800331b8 -/* 8003313C 0003009C 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 80033140 000300A0 41 82 00 0C */ beq lbl_8003314C -/* 80033144 000300A4 38 7E 00 10 */ addi r3, r30, 0x10 -/* 80033148 000300A8 48 00 11 4D */ bl __dt__17CMetaTransFactoryFv -lbl_8003314C: -/* 8003314C 000300AC 28 1E 00 00 */ cmplwi r30, 0 -/* 80033150 000300B0 41 82 00 3C */ beq lbl_8003318C -/* 80033154 000300B4 3C 60 80 3E */ lis r3, lbl_803D9C08@ha -/* 80033158 000300B8 34 1E 00 04 */ addic. r0, r30, 4 -/* 8003315C 000300BC 38 03 9C 08 */ addi r0, r3, lbl_803D9C08@l -/* 80033160 000300C0 90 1E 00 00 */ stw r0, 0(r30) -/* 80033164 000300C4 41 82 00 28 */ beq lbl_8003318C -/* 80033168 000300C8 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 8003316C 000300CC 28 00 00 00 */ cmplwi r0, 0 -/* 80033170 000300D0 41 82 00 14 */ beq lbl_80033184 -/* 80033174 000300D4 34 7E 00 04 */ addic. r3, r30, 4 -/* 80033178 000300D8 41 82 00 0C */ beq lbl_80033184 -/* 8003317C 000300DC 38 80 00 00 */ li r4, 0 -/* 80033180 000300E0 48 30 DC C1 */ bl __dt__6CTokenFv -lbl_80033184: -/* 80033184 000300E4 38 00 00 00 */ li r0, 0 -/* 80033188 000300E8 98 1E 00 0C */ stb r0, 0xc(r30) -lbl_8003318C: -/* 8003318C 000300EC 7F E0 07 35 */ extsh. r0, r31 -/* 80033190 000300F0 40 81 00 0C */ ble lbl_8003319C -/* 80033194 000300F4 7F C3 F3 78 */ mr r3, r30 -/* 80033198 000300F8 48 2E 27 99 */ bl Free__7CMemoryFPCv -lbl_8003319C: -/* 8003319C 000300FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800331A0 00030100 7F C3 F3 78 */ mr r3, r30 -/* 800331A4 00030104 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800331A8 00030108 83 C1 00 08 */ lwz r30, 8(r1) -/* 800331AC 0003010C 7C 08 03 A6 */ mtlr r0 -/* 800331B0 00030110 38 21 00 10 */ addi r1, r1, 0x10 -/* 800331B4 00030114 4E 80 00 20 */ blr - -.global sub_800331b8 -sub_800331b8: -/* 800331B8 00030118 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800331BC 0003011C 7C 08 02 A6 */ mflr r0 -/* 800331C0 00030120 90 01 00 34 */ stw r0, 0x34(r1) -/* 800331C4 00030124 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800331C8 00030128 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800331CC 0003012C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800331D0 00030130 7C 9D 23 78 */ mr r29, r4 -/* 800331D4 00030134 93 81 00 20 */ stw r28, 0x20(r1) -/* 800331D8 00030138 7C 7C 1B 79 */ or. r28, r3, r3 -/* 800331DC 0003013C 41 82 00 6C */ beq lbl_80033248 -/* 800331E0 00030140 80 1C 00 04 */ lwz r0, 4(r28) -/* 800331E4 00030144 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 800331E8 00030148 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800331EC 0003014C 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800331F0 00030150 7F FE 02 14 */ add r31, r30, r0 -/* 800331F4 00030154 93 C1 00 14 */ stw r30, 0x14(r1) -/* 800331F8 00030158 93 E1 00 08 */ stw r31, 8(r1) -/* 800331FC 0003015C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80033200 00030160 48 00 00 20 */ b lbl_80033220 -lbl_80033204: -/* 80033204 00030164 28 1E 00 00 */ cmplwi r30, 0 -/* 80033208 00030168 41 82 00 14 */ beq lbl_8003321C -/* 8003320C 0003016C 34 1E 00 08 */ addic. r0, r30, 8 -/* 80033210 00030170 41 82 00 0C */ beq lbl_8003321C -/* 80033214 00030174 38 7E 00 08 */ addi r3, r30, 8 -/* 80033218 00030178 48 00 10 7D */ bl __dt__17CMetaTransFactoryFv -lbl_8003321C: -/* 8003321C 0003017C 3B DE 00 0C */ addi r30, r30, 0xc -lbl_80033220: -/* 80033220 00030180 7C 1E F8 40 */ cmplw r30, r31 -/* 80033224 00030184 40 82 FF E0 */ bne lbl_80033204 -/* 80033228 00030188 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8003322C 0003018C 28 03 00 00 */ cmplwi r3, 0 -/* 80033230 00030190 41 82 00 08 */ beq lbl_80033238 -/* 80033234 00030194 48 2E 26 FD */ bl Free__7CMemoryFPCv -lbl_80033238: -/* 80033238 00030198 7F A0 07 35 */ extsh. r0, r29 -/* 8003323C 0003019C 40 81 00 0C */ ble lbl_80033248 -/* 80033240 000301A0 7F 83 E3 78 */ mr r3, r28 -/* 80033244 000301A4 48 2E 26 ED */ bl Free__7CMemoryFPCv -lbl_80033248: -/* 80033248 000301A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8003324C 000301AC 7F 83 E3 78 */ mr r3, r28 -/* 80033250 000301B0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80033254 000301B4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80033258 000301B8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8003325C 000301BC 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80033260 000301C0 7C 08 03 A6 */ mtlr r0 -/* 80033264 000301C4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80033268 000301C8 4E 80 00 20 */ blr - -.global sub_8003326c -sub_8003326c: -/* 8003326C 000301CC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80033270 000301D0 7C 08 02 A6 */ mflr r0 -/* 80033274 000301D4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80033278 000301D8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8003327C 000301DC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80033280 000301E0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80033284 000301E4 7C 9D 23 78 */ mr r29, r4 -/* 80033288 000301E8 93 81 00 20 */ stw r28, 0x20(r1) -/* 8003328C 000301EC 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80033290 000301F0 41 82 00 6C */ beq lbl_800332FC -/* 80033294 000301F4 80 1C 00 04 */ lwz r0, 4(r28) -/* 80033298 000301F8 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 8003329C 000301FC 54 00 18 38 */ slwi r0, r0, 3 -/* 800332A0 00030200 7F FE 02 14 */ add r31, r30, r0 -/* 800332A4 00030204 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800332A8 00030208 93 E1 00 08 */ stw r31, 8(r1) -/* 800332AC 0003020C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800332B0 00030210 93 C1 00 14 */ stw r30, 0x14(r1) -/* 800332B4 00030214 48 00 00 20 */ b lbl_800332D4 -lbl_800332B8: -/* 800332B8 00030218 28 1E 00 00 */ cmplwi r30, 0 -/* 800332BC 0003021C 41 82 00 14 */ beq lbl_800332D0 -/* 800332C0 00030220 34 1E 00 04 */ addic. r0, r30, 4 -/* 800332C4 00030224 41 82 00 0C */ beq lbl_800332D0 -/* 800332C8 00030228 38 7E 00 04 */ addi r3, r30, 4 -/* 800332CC 0003022C 48 00 0F C9 */ bl __dt__17CMetaTransFactoryFv -lbl_800332D0: -/* 800332D0 00030230 3B DE 00 08 */ addi r30, r30, 8 -lbl_800332D4: -/* 800332D4 00030234 7C 1E F8 40 */ cmplw r30, r31 -/* 800332D8 00030238 40 82 FF E0 */ bne lbl_800332B8 -/* 800332DC 0003023C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 800332E0 00030240 28 03 00 00 */ cmplwi r3, 0 -/* 800332E4 00030244 41 82 00 08 */ beq lbl_800332EC -/* 800332E8 00030248 48 2E 26 49 */ bl Free__7CMemoryFPCv -lbl_800332EC: -/* 800332EC 0003024C 7F A0 07 35 */ extsh. r0, r29 -/* 800332F0 00030250 40 81 00 0C */ ble lbl_800332FC -/* 800332F4 00030254 7F 83 E3 78 */ mr r3, r28 -/* 800332F8 00030258 48 2E 26 39 */ bl Free__7CMemoryFPCv -lbl_800332FC: -/* 800332FC 0003025C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80033300 00030260 7F 83 E3 78 */ mr r3, r28 -/* 80033304 00030264 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80033308 00030268 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8003330C 0003026C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80033310 00030270 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80033314 00030274 7C 08 03 A6 */ mtlr r0 -/* 80033318 00030278 38 21 00 30 */ addi r1, r1, 0x30 -/* 8003331C 0003027C 4E 80 00 20 */ blr - -.global sub_80033320 -sub_80033320: -/* 80033320 00030280 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80033324 00030284 7C 08 02 A6 */ mflr r0 -/* 80033328 00030288 3C A0 80 3D */ lis r5, lbl_803CCD78@ha -/* 8003332C 0003028C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80033330 00030290 38 05 CD 78 */ addi r0, r5, lbl_803CCD78@l -/* 80033334 00030294 38 A0 00 00 */ li r5, 0 -/* 80033338 00030298 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003333C 0003029C 7C 9F 23 78 */ mr r31, r4 -/* 80033340 000302A0 7C 04 03 78 */ mr r4, r0 -/* 80033344 000302A4 93 C1 00 08 */ stw r30, 8(r1) -/* 80033348 000302A8 7C 7E 1B 78 */ mr r30, r3 -/* 8003334C 000302AC 38 60 00 08 */ li r3, 8 -/* 80033350 000302B0 48 2E 25 1D */ bl __nw__FUlPCcPCc -/* 80033354 000302B4 28 03 00 00 */ cmplwi r3, 0 -/* 80033358 000302B8 41 82 00 2C */ beq lbl_80033384 -/* 8003335C 000302BC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80033360 000302C0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80033364 000302C4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80033368 000302C8 3C 80 80 3E */ lis r4, lbl_803D9C14@ha -/* 8003336C 000302CC 90 03 00 00 */ stw r0, 0(r3) -/* 80033370 000302D0 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l -/* 80033374 000302D4 38 04 9C 14 */ addi r0, r4, lbl_803D9C14@l -/* 80033378 000302D8 90 A3 00 00 */ stw r5, 0(r3) -/* 8003337C 000302DC 93 E3 00 04 */ stw r31, 4(r3) -/* 80033380 000302E0 90 03 00 00 */ stw r0, 0(r3) -lbl_80033384: -/* 80033384 000302E4 7C 03 00 D0 */ neg r0, r3 -/* 80033388 000302E8 7C 00 1B 78 */ or r0, r0, r3 -/* 8003338C 000302EC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80033390 000302F0 98 1E 00 00 */ stb r0, 0(r30) -/* 80033394 000302F4 90 7E 00 04 */ stw r3, 4(r30) -/* 80033398 000302F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003339C 000302FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 800333A0 00030300 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800333A4 00030304 7C 08 03 A6 */ mtlr r0 -/* 800333A8 00030308 38 21 00 10 */ addi r1, r1, 0x10 -/* 800333AC 0003030C 4E 80 00 20 */ blr - -.global sub_800333b0 -sub_800333b0: -/* 800333B0 00030310 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800333B4 00030314 7C 08 02 A6 */ mflr r0 -/* 800333B8 00030318 90 01 00 14 */ stw r0, 0x14(r1) -/* 800333BC 0003031C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800333C0 00030320 7C 9F 23 78 */ mr r31, r4 -/* 800333C4 00030324 93 C1 00 08 */ stw r30, 8(r1) -/* 800333C8 00030328 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800333CC 0003032C 41 82 00 58 */ beq lbl_80033424 -/* 800333D0 00030330 3C 60 80 3E */ lis r3, lbl_803D9BFC@ha -/* 800333D4 00030334 38 03 9B FC */ addi r0, r3, lbl_803D9BFC@l -/* 800333D8 00030338 90 1E 00 00 */ stw r0, 0(r30) -/* 800333DC 0003033C 80 7E 00 04 */ lwz r3, 4(r30) -/* 800333E0 00030340 28 03 00 00 */ cmplwi r3, 0 -/* 800333E4 00030344 41 82 00 0C */ beq lbl_800333F0 -/* 800333E8 00030348 38 80 00 01 */ li r4, 1 -/* 800333EC 0003034C 48 00 00 55 */ bl sub_80033440 -lbl_800333F0: -/* 800333F0 00030350 28 1E 00 00 */ cmplwi r30, 0 -/* 800333F4 00030354 41 82 00 20 */ beq lbl_80033414 -/* 800333F8 00030358 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 800333FC 0003035C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 80033400 00030360 90 1E 00 00 */ stw r0, 0(r30) -/* 80033404 00030364 41 82 00 10 */ beq lbl_80033414 -/* 80033408 00030368 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 8003340C 0003036C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80033410 00030370 90 1E 00 00 */ stw r0, 0(r30) -lbl_80033414: -/* 80033414 00030374 7F E0 07 35 */ extsh. r0, r31 -/* 80033418 00030378 40 81 00 0C */ ble lbl_80033424 -/* 8003341C 0003037C 7F C3 F3 78 */ mr r3, r30 -/* 80033420 00030380 48 2E 25 11 */ bl Free__7CMemoryFPCv -lbl_80033424: -/* 80033424 00030384 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80033428 00030388 7F C3 F3 78 */ mr r3, r30 -/* 8003342C 0003038C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80033430 00030390 83 C1 00 08 */ lwz r30, 8(r1) -/* 80033434 00030394 7C 08 03 A6 */ mtlr r0 -/* 80033438 00030398 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003343C 0003039C 4E 80 00 20 */ blr - -.global sub_80033440 -sub_80033440: -/* 80033440 000303A0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80033444 000303A4 7C 08 02 A6 */ mflr r0 -/* 80033448 000303A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8003344C 000303AC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80033450 000303B0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80033454 000303B4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80033458 000303B8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8003345C 000303BC 93 81 00 20 */ stw r28, 0x20(r1) -/* 80033460 000303C0 7C 9C 23 78 */ mr r28, r4 -/* 80033464 000303C4 41 82 00 B8 */ beq lbl_8003351C -/* 80033468 000303C8 3C 60 80 3E */ lis r3, lbl_803DA320@ha -/* 8003346C 000303CC 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 80033470 000303D0 38 03 A3 20 */ addi r0, r3, lbl_803DA320@l -/* 80033474 000303D4 90 1F 00 00 */ stw r0, 0(r31) -/* 80033478 000303D8 41 82 00 54 */ beq lbl_800334CC -/* 8003347C 000303DC 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80033480 000303E0 83 BF 00 1C */ lwz r29, 0x1c(r31) -/* 80033484 000303E4 54 00 10 3A */ slwi r0, r0, 2 -/* 80033488 000303E8 7F DD 02 14 */ add r30, r29, r0 -/* 8003348C 000303EC 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80033490 000303F0 93 C1 00 14 */ stw r30, 0x14(r1) -/* 80033494 000303F4 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80033498 000303F8 93 A1 00 08 */ stw r29, 8(r1) -/* 8003349C 000303FC 48 00 00 18 */ b lbl_800334B4 -lbl_800334A0: -/* 800334A0 00030400 28 1D 00 00 */ cmplwi r29, 0 -/* 800334A4 00030404 41 82 00 0C */ beq lbl_800334B0 -/* 800334A8 00030408 7F A3 EB 78 */ mr r3, r29 -/* 800334AC 0003040C 4B FF DA 85 */ bl sub_80030f30 -lbl_800334B0: -/* 800334B0 00030410 3B BD 00 04 */ addi r29, r29, 4 -lbl_800334B4: -/* 800334B4 00030414 7C 1D F0 40 */ cmplw r29, r30 -/* 800334B8 00030418 40 82 FF E8 */ bne lbl_800334A0 -/* 800334BC 0003041C 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 800334C0 00030420 28 03 00 00 */ cmplwi r3, 0 -/* 800334C4 00030424 41 82 00 08 */ beq lbl_800334CC -/* 800334C8 00030428 48 2E 24 69 */ bl Free__7CMemoryFPCv -lbl_800334CC: -/* 800334CC 0003042C 28 1F 00 00 */ cmplwi r31, 0 -/* 800334D0 00030430 41 82 00 3C */ beq lbl_8003350C -/* 800334D4 00030434 3C 60 80 3E */ lis r3, lbl_803D9BE0@ha -/* 800334D8 00030438 34 1F 00 04 */ addic. r0, r31, 4 -/* 800334DC 0003043C 38 03 9B E0 */ addi r0, r3, lbl_803D9BE0@l -/* 800334E0 00030440 90 1F 00 00 */ stw r0, 0(r31) -/* 800334E4 00030444 41 82 00 28 */ beq lbl_8003350C -/* 800334E8 00030448 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 800334EC 0003044C 28 00 00 00 */ cmplwi r0, 0 -/* 800334F0 00030450 41 82 00 14 */ beq lbl_80033504 -/* 800334F4 00030454 34 7F 00 04 */ addic. r3, r31, 4 -/* 800334F8 00030458 41 82 00 0C */ beq lbl_80033504 -/* 800334FC 0003045C 38 80 00 00 */ li r4, 0 -/* 80033500 00030460 48 30 D9 41 */ bl __dt__6CTokenFv -lbl_80033504: -/* 80033504 00030464 38 00 00 00 */ li r0, 0 -/* 80033508 00030468 98 1F 00 0C */ stb r0, 0xc(r31) -lbl_8003350C: -/* 8003350C 0003046C 7F 80 07 35 */ extsh. r0, r28 -/* 80033510 00030470 40 81 00 0C */ ble lbl_8003351C -/* 80033514 00030474 7F E3 FB 78 */ mr r3, r31 -/* 80033518 00030478 48 2E 24 19 */ bl Free__7CMemoryFPCv -lbl_8003351C: -/* 8003351C 0003047C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80033520 00030480 7F E3 FB 78 */ mr r3, r31 -/* 80033524 00030484 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80033528 00030488 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8003352C 0003048C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80033530 00030490 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80033534 00030494 7C 08 03 A6 */ mtlr r0 -/* 80033538 00030498 38 21 00 30 */ addi r1, r1, 0x30 -/* 8003353C 0003049C 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CAnimationDatabaseGame>FP22CAnimationDatabaseGame" -"GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CAnimationDatabaseGame>FP22CAnimationDatabaseGame": -/* 80033540 000304A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80033544 000304A4 7C 08 02 A6 */ mflr r0 -/* 80033548 000304A8 3C A0 80 3D */ lis r5, lbl_803CCD78@ha -/* 8003354C 000304AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80033550 000304B0 38 05 CD 78 */ addi r0, r5, lbl_803CCD78@l -/* 80033554 000304B4 38 A0 00 00 */ li r5, 0 -/* 80033558 000304B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003355C 000304BC 7C 9F 23 78 */ mr r31, r4 -/* 80033560 000304C0 7C 04 03 78 */ mr r4, r0 -/* 80033564 000304C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80033568 000304C8 7C 7E 1B 78 */ mr r30, r3 -/* 8003356C 000304CC 38 60 00 08 */ li r3, 8 -/* 80033570 000304D0 48 2E 22 FD */ bl __nw__FUlPCcPCc -/* 80033574 000304D4 28 03 00 00 */ cmplwi r3, 0 -/* 80033578 000304D8 41 82 00 2C */ beq lbl_800335A4 -/* 8003357C 000304DC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80033580 000304E0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80033584 000304E4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80033588 000304E8 3C 80 80 3E */ lis r4, lbl_803D9BFC@ha -/* 8003358C 000304EC 90 03 00 00 */ stw r0, 0(r3) -/* 80033590 000304F0 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l -/* 80033594 000304F4 38 04 9B FC */ addi r0, r4, lbl_803D9BFC@l -/* 80033598 000304F8 90 A3 00 00 */ stw r5, 0(r3) -/* 8003359C 000304FC 93 E3 00 04 */ stw r31, 4(r3) -/* 800335A0 00030500 90 03 00 00 */ stw r0, 0(r3) -lbl_800335A4: -/* 800335A4 00030504 7C 03 00 D0 */ neg r0, r3 -/* 800335A8 00030508 7C 00 1B 78 */ or r0, r0, r3 -/* 800335AC 0003050C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800335B0 00030510 98 1E 00 00 */ stb r0, 0(r30) -/* 800335B4 00030514 90 7E 00 04 */ stw r3, 4(r30) -/* 800335B8 00030518 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800335BC 0003051C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800335C0 00030520 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800335C4 00030524 7C 08 03 A6 */ mtlr r0 -/* 800335C8 00030528 38 21 00 10 */ addi r1, r1, 0x10 -/* 800335CC 0003052C 4E 80 00 20 */ blr - -.global "__dt__Q24rstl20rc_ptr<10IMetaTrans>Fv" -"__dt__Q24rstl20rc_ptr<10IMetaTrans>Fv": -/* 800335D0 00030530 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800335D4 00030534 7C 08 02 A6 */ mflr r0 -/* 800335D8 00030538 90 01 00 34 */ stw r0, 0x34(r1) -/* 800335DC 0003053C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800335E0 00030540 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800335E4 00030544 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800335E8 00030548 7C 9D 23 78 */ mr r29, r4 -/* 800335EC 0003054C 93 81 00 20 */ stw r28, 0x20(r1) -/* 800335F0 00030550 7C 7C 1B 79 */ or. r28, r3, r3 -/* 800335F4 00030554 41 82 00 6C */ beq lbl_80033660 -/* 800335F8 00030558 80 1C 00 04 */ lwz r0, 4(r28) -/* 800335FC 0003055C 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 80033600 00030560 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80033604 00030564 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80033608 00030568 7F FE 02 14 */ add r31, r30, r0 -/* 8003360C 0003056C 93 C1 00 14 */ stw r30, 0x14(r1) -/* 80033610 00030570 93 E1 00 08 */ stw r31, 8(r1) -/* 80033614 00030574 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80033618 00030578 48 00 00 20 */ b lbl_80033638 -lbl_8003361C: -/* 8003361C 0003057C 28 1E 00 00 */ cmplwi r30, 0 -/* 80033620 00030580 41 82 00 14 */ beq lbl_80033634 -/* 80033624 00030584 41 82 00 10 */ beq lbl_80033634 -/* 80033628 00030588 7F C3 F3 78 */ mr r3, r30 -/* 8003362C 0003058C 38 80 00 00 */ li r4, 0 -/* 80033630 00030590 48 30 D8 11 */ bl __dt__6CTokenFv -lbl_80033634: -/* 80033634 00030594 3B DE 00 0C */ addi r30, r30, 0xc -lbl_80033638: -/* 80033638 00030598 7C 1E F8 40 */ cmplw r30, r31 -/* 8003363C 0003059C 40 82 FF E0 */ bne lbl_8003361C -/* 80033640 000305A0 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80033644 000305A4 28 03 00 00 */ cmplwi r3, 0 -/* 80033648 000305A8 41 82 00 08 */ beq lbl_80033650 -/* 8003364C 000305AC 48 2E 22 E5 */ bl Free__7CMemoryFPCv -lbl_80033650: -/* 80033650 000305B0 7F A0 07 35 */ extsh. r0, r29 -/* 80033654 000305B4 40 81 00 0C */ ble lbl_80033660 -/* 80033658 000305B8 7F 83 E3 78 */ mr r3, r28 -/* 8003365C 000305BC 48 2E 22 D5 */ bl Free__7CMemoryFPCv -lbl_80033660: -/* 80033660 000305C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80033664 000305C4 7F 83 E3 78 */ mr r3, r28 -/* 80033668 000305C8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8003366C 000305CC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80033670 000305D0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80033674 000305D4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80033678 000305D8 7C 08 03 A6 */ mtlr r0 -/* 8003367C 000305DC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80033680 000305E0 4E 80 00 20 */ blr - -.global CancelBuild__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTag -CancelBuild__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTag: -/* 80033684 000305E4 4E 80 00 20 */ blr - -.global BuildAsync__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj -BuildAsync__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj: -/* 80033688 000305E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003368C 000305EC 7C 08 02 A6 */ mflr r0 -/* 80033690 000305F0 7C 87 23 78 */ mr r7, r4 -/* 80033694 000305F4 7C 64 1B 78 */ mr r4, r3 -/* 80033698 000305F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003369C 000305FC 7C A0 2B 78 */ mr r0, r5 -/* 800336A0 00030600 7C E5 3B 78 */ mr r5, r7 -/* 800336A4 00030604 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800336A8 00030608 7C DF 33 78 */ mr r31, r6 -/* 800336AC 0003060C 7C 06 03 78 */ mr r6, r0 -/* 800336B0 00030610 81 83 00 00 */ lwz r12, 0(r3) -/* 800336B4 00030614 38 61 00 08 */ addi r3, r1, 8 -/* 800336B8 00030618 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800336BC 0003061C 7D 89 03 A6 */ mtctr r12 -/* 800336C0 00030620 4E 80 04 21 */ bctrl -/* 800336C4 00030624 38 00 00 00 */ li r0, 0 -/* 800336C8 00030628 80 61 00 0C */ lwz r3, 0xc(r1) -/* 800336CC 0003062C 98 01 00 08 */ stb r0, 8(r1) -/* 800336D0 00030630 90 7F 00 00 */ stw r3, 0(r31) -/* 800336D4 00030634 88 01 00 08 */ lbz r0, 8(r1) -/* 800336D8 00030638 28 00 00 00 */ cmplwi r0, 0 -/* 800336DC 0003063C 41 82 00 24 */ beq lbl_80033700 -/* 800336E0 00030640 80 61 00 0C */ lwz r3, 0xc(r1) -/* 800336E4 00030644 28 03 00 00 */ cmplwi r3, 0 -/* 800336E8 00030648 41 82 00 18 */ beq lbl_80033700 -/* 800336EC 0003064C 81 83 00 00 */ lwz r12, 0(r3) -/* 800336F0 00030650 38 80 00 01 */ li r4, 1 -/* 800336F4 00030654 81 8C 00 08 */ lwz r12, 8(r12) -/* 800336F8 00030658 7D 89 03 A6 */ mtctr r12 -/* 800336FC 0003065C 4E 80 04 21 */ bctrl -lbl_80033700: -/* 80033700 00030660 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80033704 00030664 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80033708 00030668 7C 08 03 A6 */ mtlr r0 -/* 8003370C 0003066C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80033710 00030670 4E 80 00 20 */ blr - -.global Build__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer -Build__Q217CCharacterFactory13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer: -/* 80033714 00030674 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 80033718 00030678 7C 08 02 A6 */ mflr r0 -/* 8003371C 0003067C 90 01 01 44 */ stw r0, 0x144(r1) -/* 80033720 00030680 BE C1 01 18 */ stmw r22, 0x118(r1) -/* 80033724 00030684 7C 7D 1B 78 */ mr r29, r3 -/* 80033728 00030688 80 86 00 00 */ lwz r4, 0(r6) -/* 8003372C 0003068C 90 81 00 08 */ stw r4, 8(r1) -/* 80033730 00030690 80 64 00 04 */ lwz r3, 4(r4) -/* 80033734 00030694 38 03 00 01 */ addi r0, r3, 1 -/* 80033738 00030698 90 04 00 04 */ stw r0, 4(r4) -/* 8003373C 0003069C 80 61 00 08 */ lwz r3, 8(r1) -/* 80033740 000306A0 80 05 00 00 */ lwz r0, 0(r5) -/* 80033744 000306A4 80 63 00 00 */ lwz r3, 0(r3) -/* 80033748 000306A8 2C 00 00 01 */ cmpwi r0, 1 -/* 8003374C 000306AC 83 C3 00 04 */ lwz r30, 4(r3) -/* 80033750 000306B0 41 82 02 AC */ beq lbl_800339FC -/* 80033754 000306B4 40 80 04 EC */ bge lbl_80033C40 -/* 80033758 000306B8 2C 00 00 00 */ cmpwi r0, 0 -/* 8003375C 000306BC 40 80 00 08 */ bge lbl_80033764 -/* 80033760 000306C0 48 00 04 E0 */ b lbl_80033C40 -lbl_80033764: -/* 80033764 000306C4 3C 60 80 3D */ lis r3, lbl_803CCD78@ha -/* 80033768 000306C8 3B 80 00 00 */ li r28, 0 -/* 8003376C 000306CC 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l -/* 80033770 000306D0 3B 60 00 00 */ li r27, 0 -/* 80033774 000306D4 3B 40 00 00 */ li r26, 0 -/* 80033778 000306D8 3B 20 00 00 */ li r25, 0 -/* 8003377C 000306DC 3B 00 00 00 */ li r24, 0 -/* 80033780 000306E0 3A E0 00 00 */ li r23, 0 -/* 80033784 000306E4 38 60 00 3C */ li r3, 0x3c -/* 80033788 000306E8 38 A0 00 00 */ li r5, 0 -/* 8003378C 000306EC 48 2E 20 E1 */ bl __nw__FUlPCcPCc -/* 80033790 000306F0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80033794 000306F4 41 82 01 28 */ beq lbl_800338BC -/* 80033798 000306F8 80 DE 00 14 */ lwz r6, 0x14(r30) -/* 8003379C 000306FC 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 800337A0 00030700 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 800337A4 00030704 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800337A8 00030708 90 01 00 64 */ stw r0, 0x64(r1) -/* 800337AC 0003070C 38 61 00 5C */ addi r3, r1, 0x5c -/* 800337B0 00030710 38 A1 00 64 */ addi r5, r1, 0x64 -/* 800337B4 00030714 90 C1 00 68 */ stw r6, 0x68(r1) -/* 800337B8 00030718 81 84 00 00 */ lwz r12, 0(r4) -/* 800337BC 0003071C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800337C0 00030720 7D 89 03 A6 */ mtctr r12 -/* 800337C4 00030724 4E 80 04 21 */ bctrl -/* 800337C8 00030728 3A E1 00 B0 */ addi r23, r1, 0xb0 -/* 800337CC 0003072C 38 81 00 5C */ addi r4, r1, 0x5c -/* 800337D0 00030730 7E E3 BB 78 */ mr r3, r23 -/* 800337D4 00030734 3B 00 00 01 */ li r24, 1 -/* 800337D8 00030738 48 30 D6 D1 */ bl __ct__6CTokenFRC6CToken -/* 800337DC 0003073C 7E E3 BB 78 */ mr r3, r23 -/* 800337E0 00030740 48 30 D6 2D */ bl GetObj__6CTokenFv -/* 800337E4 00030744 80 A3 00 04 */ lwz r5, 4(r3) -/* 800337E8 00030748 3C 60 43 53 */ lis r3, 0x43534B52@ha -/* 800337EC 0003074C 38 03 4B 52 */ addi r0, r3, 0x43534B52@l -/* 800337F0 00030750 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800337F4 00030754 90 A1 00 B8 */ stw r5, 0xb8(r1) -/* 800337F8 00030758 38 61 00 6C */ addi r3, r1, 0x6c -/* 800337FC 0003075C 38 A1 00 74 */ addi r5, r1, 0x74 -/* 80033800 00030760 3A E0 00 01 */ li r23, 1 -/* 80033804 00030764 80 DE 00 18 */ lwz r6, 0x18(r30) -/* 80033808 00030768 90 01 00 74 */ stw r0, 0x74(r1) -/* 8003380C 0003076C 90 C1 00 78 */ stw r6, 0x78(r1) -/* 80033810 00030770 81 84 00 00 */ lwz r12, 0(r4) -/* 80033814 00030774 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80033818 00030778 7D 89 03 A6 */ mtctr r12 -/* 8003381C 0003077C 4E 80 04 21 */ bctrl -/* 80033820 00030780 3B 21 00 BC */ addi r25, r1, 0xbc -/* 80033824 00030784 38 81 00 6C */ addi r4, r1, 0x6c -/* 80033828 00030788 7F 23 CB 78 */ mr r3, r25 -/* 8003382C 0003078C 3B 40 00 01 */ li r26, 1 -/* 80033830 00030790 48 30 D6 79 */ bl __ct__6CTokenFRC6CToken -/* 80033834 00030794 7F 23 CB 78 */ mr r3, r25 -/* 80033838 00030798 48 30 D5 D5 */ bl GetObj__6CTokenFv -/* 8003383C 0003079C 80 A3 00 04 */ lwz r5, 4(r3) -/* 80033840 000307A0 3C 60 43 49 */ lis r3, 0x43494E46@ha -/* 80033844 000307A4 38 03 4E 46 */ addi r0, r3, 0x43494E46@l -/* 80033848 000307A8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8003384C 000307AC 90 A1 00 C4 */ stw r5, 0xc4(r1) -/* 80033850 000307B0 38 61 00 7C */ addi r3, r1, 0x7c -/* 80033854 000307B4 38 A1 00 84 */ addi r5, r1, 0x84 -/* 80033858 000307B8 3B 20 00 01 */ li r25, 1 -/* 8003385C 000307BC 80 DE 00 1C */ lwz r6, 0x1c(r30) -/* 80033860 000307C0 90 01 00 84 */ stw r0, 0x84(r1) -/* 80033864 000307C4 90 C1 00 88 */ stw r6, 0x88(r1) -/* 80033868 000307C8 81 84 00 00 */ lwz r12, 0(r4) -/* 8003386C 000307CC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80033870 000307D0 7D 89 03 A6 */ mtctr r12 -/* 80033874 000307D4 4E 80 04 21 */ bctrl -/* 80033878 000307D8 3B 61 00 C8 */ addi r27, r1, 0xc8 -/* 8003387C 000307DC 38 81 00 7C */ addi r4, r1, 0x7c -/* 80033880 000307E0 7F 63 DB 78 */ mr r3, r27 -/* 80033884 000307E4 3B 80 00 01 */ li r28, 1 -/* 80033888 000307E8 48 30 D6 21 */ bl __ct__6CTokenFRC6CToken -/* 8003388C 000307EC 7F 63 DB 78 */ mr r3, r27 -/* 80033890 000307F0 48 30 D5 7D */ bl GetObj__6CTokenFv -/* 80033894 000307F4 80 03 00 04 */ lwz r0, 4(r3) -/* 80033898 000307F8 7F 66 DB 78 */ mr r6, r27 -/* 8003389C 000307FC 7F E3 FB 78 */ mr r3, r31 -/* 800338A0 00030800 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 800338A4 00030804 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 800338A8 00030808 38 A1 00 BC */ addi r5, r1, 0xbc -/* 800338AC 0003080C 3B 60 00 01 */ li r27, 1 -/* 800338B0 00030810 38 E0 00 01 */ li r7, 1 -/* 800338B4 00030814 48 31 FB 85 */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" -/* 800338B8 00030818 7C 7F 1B 78 */ mr r31, r3 -lbl_800338BC: -/* 800338BC 0003081C 7C 1F 00 D0 */ neg r0, r31 -/* 800338C0 00030820 93 E1 00 10 */ stw r31, 0x10(r1) -/* 800338C4 00030824 7C 00 FB 78 */ or r0, r0, r31 -/* 800338C8 00030828 38 61 00 14 */ addi r3, r1, 0x14 -/* 800338CC 0003082C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800338D0 00030830 38 81 00 0C */ addi r4, r1, 0xc -/* 800338D4 00030834 98 01 00 0C */ stb r0, 0xc(r1) -/* 800338D8 00030838 48 00 06 A5 */ bl sub_80033f7c -/* 800338DC 0003083C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 800338E0 00030840 38 00 00 00 */ li r0, 0 -/* 800338E4 00030844 98 01 00 14 */ stb r0, 0x14(r1) -/* 800338E8 00030848 7C 03 00 D0 */ neg r0, r3 -/* 800338EC 0003084C 7C 00 1B 78 */ or r0, r0, r3 -/* 800338F0 00030850 90 61 00 58 */ stw r3, 0x58(r1) -/* 800338F4 00030854 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800338F8 00030858 98 01 00 54 */ stb r0, 0x54(r1) -/* 800338FC 0003085C 48 00 00 1C */ b lbl_80033918 -/* 80033900 00030860 41 82 00 18 */ beq lbl_80033918 -/* 80033904 00030864 81 83 00 00 */ lwz r12, 0(r3) -/* 80033908 00030868 38 80 00 01 */ li r4, 1 -/* 8003390C 0003086C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80033910 00030870 7D 89 03 A6 */ mtctr r12 -/* 80033914 00030874 4E 80 04 21 */ bctrl -lbl_80033918: -/* 80033918 00030878 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8003391C 0003087C 28 00 00 00 */ cmplwi r0, 0 -/* 80033920 00030880 41 82 00 24 */ beq lbl_80033944 -/* 80033924 00030884 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80033928 00030888 28 03 00 00 */ cmplwi r3, 0 -/* 8003392C 0003088C 41 82 00 18 */ beq lbl_80033944 -/* 80033930 00030890 81 83 00 00 */ lwz r12, 0(r3) -/* 80033934 00030894 38 80 00 01 */ li r4, 1 -/* 80033938 00030898 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003393C 0003089C 7D 89 03 A6 */ mtctr r12 -/* 80033940 000308A0 4E 80 04 21 */ bctrl -lbl_80033944: -/* 80033944 000308A4 88 81 00 54 */ lbz r4, 0x54(r1) -/* 80033948 000308A8 38 00 00 00 */ li r0, 0 -/* 8003394C 000308AC 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80033950 000308B0 98 9D 00 00 */ stb r4, 0(r29) -/* 80033954 000308B4 90 7D 00 04 */ stw r3, 4(r29) -/* 80033958 000308B8 98 01 00 54 */ stb r0, 0x54(r1) -/* 8003395C 000308BC 48 00 00 1C */ b lbl_80033978 -/* 80033960 000308C0 41 82 00 18 */ beq lbl_80033978 -/* 80033964 000308C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80033968 000308C8 38 80 00 01 */ li r4, 1 -/* 8003396C 000308CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80033970 000308D0 7D 89 03 A6 */ mtctr r12 -/* 80033974 000308D4 4E 80 04 21 */ bctrl -lbl_80033978: -/* 80033978 000308D8 7E E0 07 75 */ extsb. r0, r23 -/* 8003397C 000308DC 41 82 00 10 */ beq lbl_8003398C -/* 80033980 000308E0 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80033984 000308E4 38 80 00 00 */ li r4, 0 -/* 80033988 000308E8 48 30 D4 B9 */ bl __dt__6CTokenFv -lbl_8003398C: -/* 8003398C 000308EC 7F 00 07 75 */ extsb. r0, r24 -/* 80033990 000308F0 41 82 00 10 */ beq lbl_800339A0 -/* 80033994 000308F4 38 61 00 5C */ addi r3, r1, 0x5c -/* 80033998 000308F8 38 80 FF FF */ li r4, -1 -/* 8003399C 000308FC 48 30 D4 A5 */ bl __dt__6CTokenFv -lbl_800339A0: -/* 800339A0 00030900 7F 20 07 75 */ extsb. r0, r25 -/* 800339A4 00030904 41 82 00 10 */ beq lbl_800339B4 -/* 800339A8 00030908 38 61 00 BC */ addi r3, r1, 0xbc -/* 800339AC 0003090C 38 80 00 00 */ li r4, 0 -/* 800339B0 00030910 48 30 D4 91 */ bl __dt__6CTokenFv -lbl_800339B4: -/* 800339B4 00030914 7F 40 07 75 */ extsb. r0, r26 -/* 800339B8 00030918 41 82 00 10 */ beq lbl_800339C8 -/* 800339BC 0003091C 38 61 00 6C */ addi r3, r1, 0x6c -/* 800339C0 00030920 38 80 FF FF */ li r4, -1 -/* 800339C4 00030924 48 30 D4 7D */ bl __dt__6CTokenFv -lbl_800339C8: -/* 800339C8 00030928 7F 60 07 75 */ extsb. r0, r27 -/* 800339CC 0003092C 41 82 00 10 */ beq lbl_800339DC -/* 800339D0 00030930 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800339D4 00030934 38 80 00 00 */ li r4, 0 -/* 800339D8 00030938 48 30 D4 69 */ bl __dt__6CTokenFv -lbl_800339DC: -/* 800339DC 0003093C 7F 80 07 75 */ extsb. r0, r28 -/* 800339E0 00030940 41 82 00 10 */ beq lbl_800339F0 -/* 800339E4 00030944 38 61 00 7C */ addi r3, r1, 0x7c -/* 800339E8 00030948 38 80 FF FF */ li r4, -1 -/* 800339EC 0003094C 48 30 D4 55 */ bl __dt__6CTokenFv -lbl_800339F0: -/* 800339F0 00030950 38 61 00 08 */ addi r3, r1, 8 -/* 800339F4 00030954 48 00 09 11 */ bl sub_80034304 -/* 800339F8 00030958 48 00 02 5C */ b lbl_80033C54 -lbl_800339FC: -/* 800339FC 0003095C 3C 60 80 3D */ lis r3, lbl_803CCD78@ha -/* 80033A00 00030960 3A E0 00 00 */ li r23, 0 -/* 80033A04 00030964 38 83 CD 78 */ addi r4, r3, lbl_803CCD78@l -/* 80033A08 00030968 3B 00 00 00 */ li r24, 0 -/* 80033A0C 0003096C 3B 20 00 00 */ li r25, 0 -/* 80033A10 00030970 3B 40 00 00 */ li r26, 0 -/* 80033A14 00030974 3B 60 00 00 */ li r27, 0 -/* 80033A18 00030978 3B 80 00 00 */ li r28, 0 -/* 80033A1C 0003097C 3A C0 00 00 */ li r22, 0 -/* 80033A20 00030980 38 60 00 44 */ li r3, 0x44 -/* 80033A24 00030984 38 A0 00 00 */ li r5, 0 -/* 80033A28 00030988 48 2E 1E 45 */ bl __nw__FUlPCcPCc -/* 80033A2C 0003098C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80033A30 00030990 41 82 01 38 */ beq lbl_80033B68 -/* 80033A34 00030994 80 DE 00 A8 */ lwz r6, 0xa8(r30) -/* 80033A38 00030998 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 80033A3C 0003099C 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 80033A40 000309A0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80033A44 000309A4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80033A48 000309A8 38 61 00 24 */ addi r3, r1, 0x24 -/* 80033A4C 000309AC 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80033A50 000309B0 90 C1 00 30 */ stw r6, 0x30(r1) -/* 80033A54 000309B4 81 84 00 00 */ lwz r12, 0(r4) -/* 80033A58 000309B8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80033A5C 000309BC 7D 89 03 A6 */ mtctr r12 -/* 80033A60 000309C0 4E 80 04 21 */ bctrl -/* 80033A64 000309C4 3A C1 00 8C */ addi r22, r1, 0x8c -/* 80033A68 000309C8 38 81 00 24 */ addi r4, r1, 0x24 -/* 80033A6C 000309CC 7E C3 B3 78 */ mr r3, r22 -/* 80033A70 000309D0 3B 60 00 01 */ li r27, 1 -/* 80033A74 000309D4 48 30 D4 35 */ bl __ct__6CTokenFRC6CToken -/* 80033A78 000309D8 7E C3 B3 78 */ mr r3, r22 -/* 80033A7C 000309DC 48 30 D3 91 */ bl GetObj__6CTokenFv -/* 80033A80 000309E0 80 A3 00 04 */ lwz r5, 4(r3) -/* 80033A84 000309E4 3C 60 43 53 */ lis r3, 0x43534B52@ha -/* 80033A88 000309E8 38 03 4B 52 */ addi r0, r3, 0x43534B52@l -/* 80033A8C 000309EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80033A90 000309F0 90 A1 00 94 */ stw r5, 0x94(r1) -/* 80033A94 000309F4 38 61 00 34 */ addi r3, r1, 0x34 -/* 80033A98 000309F8 38 A1 00 3C */ addi r5, r1, 0x3c -/* 80033A9C 000309FC 3B 80 00 01 */ li r28, 1 -/* 80033AA0 00030A00 80 DE 00 AC */ lwz r6, 0xac(r30) -/* 80033AA4 00030A04 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80033AA8 00030A08 90 C1 00 40 */ stw r6, 0x40(r1) -/* 80033AAC 00030A0C 81 84 00 00 */ lwz r12, 0(r4) -/* 80033AB0 00030A10 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80033AB4 00030A14 7D 89 03 A6 */ mtctr r12 -/* 80033AB8 00030A18 4E 80 04 21 */ bctrl -/* 80033ABC 00030A1C 3A C1 00 98 */ addi r22, r1, 0x98 -/* 80033AC0 00030A20 38 81 00 34 */ addi r4, r1, 0x34 -/* 80033AC4 00030A24 7E C3 B3 78 */ mr r3, r22 -/* 80033AC8 00030A28 3B 20 00 01 */ li r25, 1 -/* 80033ACC 00030A2C 48 30 D3 DD */ bl __ct__6CTokenFRC6CToken -/* 80033AD0 00030A30 7E C3 B3 78 */ mr r3, r22 -/* 80033AD4 00030A34 48 30 D3 39 */ bl GetObj__6CTokenFv -/* 80033AD8 00030A38 80 A3 00 04 */ lwz r5, 4(r3) -/* 80033ADC 00030A3C 3C 60 43 49 */ lis r3, 0x43494E46@ha -/* 80033AE0 00030A40 38 03 4E 46 */ addi r0, r3, 0x43494E46@l -/* 80033AE4 00030A44 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80033AE8 00030A48 90 A1 00 A0 */ stw r5, 0xa0(r1) -/* 80033AEC 00030A4C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80033AF0 00030A50 38 A1 00 4C */ addi r5, r1, 0x4c -/* 80033AF4 00030A54 3B 40 00 01 */ li r26, 1 -/* 80033AF8 00030A58 80 DE 00 1C */ lwz r6, 0x1c(r30) -/* 80033AFC 00030A5C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80033B00 00030A60 90 C1 00 50 */ stw r6, 0x50(r1) -/* 80033B04 00030A64 81 84 00 00 */ lwz r12, 0(r4) -/* 80033B08 00030A68 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80033B0C 00030A6C 7D 89 03 A6 */ mtctr r12 -/* 80033B10 00030A70 4E 80 04 21 */ bctrl -/* 80033B14 00030A74 3A C1 00 A4 */ addi r22, r1, 0xa4 -/* 80033B18 00030A78 38 81 00 44 */ addi r4, r1, 0x44 -/* 80033B1C 00030A7C 7E C3 B3 78 */ mr r3, r22 -/* 80033B20 00030A80 3A E0 00 01 */ li r23, 1 -/* 80033B24 00030A84 48 30 D3 85 */ bl __ct__6CTokenFRC6CToken -/* 80033B28 00030A88 7E C3 B3 78 */ mr r3, r22 -/* 80033B2C 00030A8C 48 30 D2 E1 */ bl GetObj__6CTokenFv -/* 80033B30 00030A90 80 03 00 04 */ lwz r0, 4(r3) -/* 80033B34 00030A94 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80033B38 00030A98 38 81 00 8C */ addi r4, r1, 0x8c -/* 80033B3C 00030A9C 38 A1 00 98 */ addi r5, r1, 0x98 -/* 80033B40 00030AA0 90 01 00 AC */ stw r0, 0xac(r1) -/* 80033B44 00030AA4 7E C6 B3 78 */ mr r6, r22 -/* 80033B48 00030AA8 3B 00 00 01 */ li r24, 1 -/* 80033B4C 00030AAC 38 E0 00 01 */ li r7, 1 -/* 80033B50 00030AB0 48 31 F8 E9 */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" -/* 80033B54 00030AB4 7F E3 FB 78 */ mr r3, r31 -/* 80033B58 00030AB8 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 80033B5C 00030ABC 3A C0 00 01 */ li r22, 1 -/* 80033B60 00030AC0 48 32 3E 45 */ bl __ct__27CSkinnedModelWithAvgNormalsFRC13CSkinnedModel -/* 80033B64 00030AC4 7C 7F 1B 78 */ mr r31, r3 -lbl_80033B68: -/* 80033B68 00030AC8 7F E4 FB 78 */ mr r4, r31 -/* 80033B6C 00030ACC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80033B70 00030AD0 48 00 00 F9 */ bl sub_80033c68 -/* 80033B74 00030AD4 88 61 00 1C */ lbz r3, 0x1c(r1) -/* 80033B78 00030AD8 38 00 00 00 */ li r0, 0 -/* 80033B7C 00030ADC 98 7D 00 00 */ stb r3, 0(r29) -/* 80033B80 00030AE0 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80033B84 00030AE4 90 7D 00 04 */ stw r3, 4(r29) -/* 80033B88 00030AE8 98 01 00 1C */ stb r0, 0x1c(r1) -/* 80033B8C 00030AEC 48 00 00 1C */ b lbl_80033BA8 -/* 80033B90 00030AF0 41 82 00 18 */ beq lbl_80033BA8 -/* 80033B94 00030AF4 81 83 00 00 */ lwz r12, 0(r3) -/* 80033B98 00030AF8 38 80 00 01 */ li r4, 1 -/* 80033B9C 00030AFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80033BA0 00030B00 7D 89 03 A6 */ mtctr r12 -/* 80033BA4 00030B04 4E 80 04 21 */ bctrl -lbl_80033BA8: -/* 80033BA8 00030B08 7E C0 07 75 */ extsb. r0, r22 -/* 80033BAC 00030B0C 41 82 00 10 */ beq lbl_80033BBC -/* 80033BB0 00030B10 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80033BB4 00030B14 38 80 FF FF */ li r4, -1 -/* 80033BB8 00030B18 48 31 F6 C5 */ bl __dt__13CSkinnedModelFv -lbl_80033BBC: -/* 80033BBC 00030B1C 7F 80 07 75 */ extsb. r0, r28 -/* 80033BC0 00030B20 41 82 00 10 */ beq lbl_80033BD0 -/* 80033BC4 00030B24 38 61 00 8C */ addi r3, r1, 0x8c -/* 80033BC8 00030B28 38 80 00 00 */ li r4, 0 -/* 80033BCC 00030B2C 48 30 D2 75 */ bl __dt__6CTokenFv -lbl_80033BD0: -/* 80033BD0 00030B30 7F 60 07 75 */ extsb. r0, r27 -/* 80033BD4 00030B34 41 82 00 10 */ beq lbl_80033BE4 -/* 80033BD8 00030B38 38 61 00 24 */ addi r3, r1, 0x24 -/* 80033BDC 00030B3C 38 80 FF FF */ li r4, -1 -/* 80033BE0 00030B40 48 30 D2 61 */ bl __dt__6CTokenFv -lbl_80033BE4: -/* 80033BE4 00030B44 7F 40 07 75 */ extsb. r0, r26 -/* 80033BE8 00030B48 41 82 00 10 */ beq lbl_80033BF8 -/* 80033BEC 00030B4C 38 61 00 98 */ addi r3, r1, 0x98 -/* 80033BF0 00030B50 38 80 00 00 */ li r4, 0 -/* 80033BF4 00030B54 48 30 D2 4D */ bl __dt__6CTokenFv -lbl_80033BF8: -/* 80033BF8 00030B58 7F 20 07 75 */ extsb. r0, r25 -/* 80033BFC 00030B5C 41 82 00 10 */ beq lbl_80033C0C -/* 80033C00 00030B60 38 61 00 34 */ addi r3, r1, 0x34 -/* 80033C04 00030B64 38 80 FF FF */ li r4, -1 -/* 80033C08 00030B68 48 30 D2 39 */ bl __dt__6CTokenFv -lbl_80033C0C: -/* 80033C0C 00030B6C 7F 00 07 75 */ extsb. r0, r24 -/* 80033C10 00030B70 41 82 00 10 */ beq lbl_80033C20 -/* 80033C14 00030B74 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80033C18 00030B78 38 80 00 00 */ li r4, 0 -/* 80033C1C 00030B7C 48 30 D2 25 */ bl __dt__6CTokenFv -lbl_80033C20: -/* 80033C20 00030B80 7E E0 07 75 */ extsb. r0, r23 -/* 80033C24 00030B84 41 82 00 10 */ beq lbl_80033C34 -/* 80033C28 00030B88 38 61 00 44 */ addi r3, r1, 0x44 -/* 80033C2C 00030B8C 38 80 FF FF */ li r4, -1 -/* 80033C30 00030B90 48 30 D2 11 */ bl __dt__6CTokenFv -lbl_80033C34: -/* 80033C34 00030B94 38 61 00 08 */ addi r3, r1, 8 -/* 80033C38 00030B98 48 00 06 CD */ bl sub_80034304 -/* 80033C3C 00030B9C 48 00 00 18 */ b lbl_80033C54 -lbl_80033C40: -/* 80033C40 00030BA0 38 00 00 00 */ li r0, 0 -/* 80033C44 00030BA4 38 61 00 08 */ addi r3, r1, 8 -/* 80033C48 00030BA8 98 1D 00 00 */ stb r0, 0(r29) -/* 80033C4C 00030BAC 90 1D 00 04 */ stw r0, 4(r29) -/* 80033C50 00030BB0 48 00 06 B5 */ bl sub_80034304 -lbl_80033C54: -/* 80033C54 00030BB4 BA C1 01 18 */ lmw r22, 0x118(r1) -/* 80033C58 00030BB8 80 01 01 44 */ lwz r0, 0x144(r1) -/* 80033C5C 00030BBC 7C 08 03 A6 */ mtlr r0 -/* 80033C60 00030BC0 38 21 01 40 */ addi r1, r1, 0x140 -/* 80033C64 00030BC4 4E 80 00 20 */ blr - -.global sub_80033c68 -sub_80033c68: -/* 80033C68 00030BC8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80033C6C 00030BCC 7C 08 02 A6 */ mflr r0 -/* 80033C70 00030BD0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80033C74 00030BD4 7C 04 00 D0 */ neg r0, r4 -/* 80033C78 00030BD8 7C 00 23 78 */ or r0, r0, r4 -/* 80033C7C 00030BDC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80033C80 00030BE0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80033C84 00030BE4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80033C88 00030BE8 7C 7E 1B 78 */ mr r30, r3 -/* 80033C8C 00030BEC 38 61 00 08 */ addi r3, r1, 8 -/* 80033C90 00030BF0 90 81 00 14 */ stw r4, 0x14(r1) -/* 80033C94 00030BF4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80033C98 00030BF8 98 01 00 10 */ stb r0, 0x10(r1) -/* 80033C9C 00030BFC 48 00 01 79 */ bl sub_80033e14 -/* 80033CA0 00030C00 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80033CA4 00030C04 38 00 00 00 */ li r0, 0 -/* 80033CA8 00030C08 98 01 00 08 */ stb r0, 8(r1) -/* 80033CAC 00030C0C 7C 03 00 D0 */ neg r0, r3 -/* 80033CB0 00030C10 7C 00 1B 78 */ or r0, r0, r3 -/* 80033CB4 00030C14 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80033CB8 00030C18 98 1E 00 00 */ stb r0, 0(r30) -/* 80033CBC 00030C1C 90 7E 00 04 */ stw r3, 4(r30) -/* 80033CC0 00030C20 88 01 00 08 */ lbz r0, 8(r1) -/* 80033CC4 00030C24 28 00 00 00 */ cmplwi r0, 0 -/* 80033CC8 00030C28 41 82 00 24 */ beq lbl_80033CEC -/* 80033CCC 00030C2C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80033CD0 00030C30 28 03 00 00 */ cmplwi r3, 0 -/* 80033CD4 00030C34 41 82 00 18 */ beq lbl_80033CEC -/* 80033CD8 00030C38 81 83 00 00 */ lwz r12, 0(r3) -/* 80033CDC 00030C3C 38 80 00 01 */ li r4, 1 -/* 80033CE0 00030C40 81 8C 00 08 */ lwz r12, 8(r12) -/* 80033CE4 00030C44 7D 89 03 A6 */ mtctr r12 -/* 80033CE8 00030C48 4E 80 04 21 */ bctrl -lbl_80033CEC: -/* 80033CEC 00030C4C 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80033CF0 00030C50 28 00 00 00 */ cmplwi r0, 0 -/* 80033CF4 00030C54 41 82 00 40 */ beq lbl_80033D34 -/* 80033CF8 00030C58 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80033CFC 00030C5C 28 1F 00 00 */ cmplwi r31, 0 -/* 80033D00 00030C60 41 82 00 34 */ beq lbl_80033D34 -/* 80033D04 00030C64 34 1F 00 3C */ addic. r0, r31, 0x3c -/* 80033D08 00030C68 41 82 00 18 */ beq lbl_80033D20 -/* 80033D0C 00030C6C 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 80033D10 00030C70 28 00 00 00 */ cmplwi r0, 0 -/* 80033D14 00030C74 41 82 00 0C */ beq lbl_80033D20 -/* 80033D18 00030C78 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80033D1C 00030C7C 48 2E 1C 15 */ bl Free__7CMemoryFPCv -lbl_80033D20: -/* 80033D20 00030C80 7F E3 FB 78 */ mr r3, r31 -/* 80033D24 00030C84 38 80 FF FF */ li r4, -1 -/* 80033D28 00030C88 48 31 F5 55 */ bl __dt__13CSkinnedModelFv -/* 80033D2C 00030C8C 7F E3 FB 78 */ mr r3, r31 -/* 80033D30 00030C90 48 2E 1C 01 */ bl Free__7CMemoryFPCv -lbl_80033D34: -/* 80033D34 00030C94 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80033D38 00030C98 7F C3 F3 78 */ mr r3, r30 -/* 80033D3C 00030C9C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80033D40 00030CA0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80033D44 00030CA4 7C 08 03 A6 */ mtlr r0 -/* 80033D48 00030CA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80033D4C 00030CAC 4E 80 00 20 */ blr - -.global sub_80033d50 -sub_80033d50: -/* 80033D50 00030CB0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80033D54 00030CB4 7C 08 02 A6 */ mflr r0 -/* 80033D58 00030CB8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80033D5C 00030CBC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80033D60 00030CC0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80033D64 00030CC4 7C 9E 23 78 */ mr r30, r4 -/* 80033D68 00030CC8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80033D6C 00030CCC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80033D70 00030CD0 41 82 00 84 */ beq lbl_80033DF4 -/* 80033D74 00030CD4 3C 60 80 3E */ lis r3, lbl_803D9BD4@ha -/* 80033D78 00030CD8 38 03 9B D4 */ addi r0, r3, lbl_803D9BD4@l -/* 80033D7C 00030CDC 90 1D 00 00 */ stw r0, 0(r29) -/* 80033D80 00030CE0 83 FD 00 04 */ lwz r31, 4(r29) -/* 80033D84 00030CE4 28 1F 00 00 */ cmplwi r31, 0 -/* 80033D88 00030CE8 41 82 00 38 */ beq lbl_80033DC0 -/* 80033D8C 00030CEC 41 82 00 34 */ beq lbl_80033DC0 -/* 80033D90 00030CF0 34 1F 00 3C */ addic. r0, r31, 0x3c -/* 80033D94 00030CF4 41 82 00 18 */ beq lbl_80033DAC -/* 80033D98 00030CF8 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 80033D9C 00030CFC 28 00 00 00 */ cmplwi r0, 0 -/* 80033DA0 00030D00 41 82 00 0C */ beq lbl_80033DAC -/* 80033DA4 00030D04 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80033DA8 00030D08 48 2E 1B 89 */ bl Free__7CMemoryFPCv -lbl_80033DAC: -/* 80033DAC 00030D0C 7F E3 FB 78 */ mr r3, r31 -/* 80033DB0 00030D10 38 80 FF FF */ li r4, -1 -/* 80033DB4 00030D14 48 31 F4 C9 */ bl __dt__13CSkinnedModelFv -/* 80033DB8 00030D18 7F E3 FB 78 */ mr r3, r31 -/* 80033DBC 00030D1C 48 2E 1B 75 */ bl Free__7CMemoryFPCv -lbl_80033DC0: -/* 80033DC0 00030D20 28 1D 00 00 */ cmplwi r29, 0 -/* 80033DC4 00030D24 41 82 00 20 */ beq lbl_80033DE4 -/* 80033DC8 00030D28 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 80033DCC 00030D2C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 80033DD0 00030D30 90 1D 00 00 */ stw r0, 0(r29) -/* 80033DD4 00030D34 41 82 00 10 */ beq lbl_80033DE4 -/* 80033DD8 00030D38 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80033DDC 00030D3C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80033DE0 00030D40 90 1D 00 00 */ stw r0, 0(r29) -lbl_80033DE4: -/* 80033DE4 00030D44 7F C0 07 35 */ extsh. r0, r30 -/* 80033DE8 00030D48 40 81 00 0C */ ble lbl_80033DF4 -/* 80033DEC 00030D4C 7F A3 EB 78 */ mr r3, r29 -/* 80033DF0 00030D50 48 2E 1B 41 */ bl Free__7CMemoryFPCv -lbl_80033DF4: -/* 80033DF4 00030D54 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80033DF8 00030D58 7F A3 EB 78 */ mr r3, r29 -/* 80033DFC 00030D5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80033E00 00030D60 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80033E04 00030D64 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80033E08 00030D68 7C 08 03 A6 */ mtlr r0 -/* 80033E0C 00030D6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80033E10 00030D70 4E 80 00 20 */ blr - -.global sub_80033e14 -sub_80033e14: -/* 80033E14 00030D74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80033E18 00030D78 7C 08 02 A6 */ mflr r0 -/* 80033E1C 00030D7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80033E20 00030D80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80033E24 00030D84 7C 7F 1B 78 */ mr r31, r3 -/* 80033E28 00030D88 48 00 00 19 */ bl sub_80033e40 -/* 80033E2C 00030D8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80033E30 00030D90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80033E34 00030D94 7C 08 03 A6 */ mtlr r0 -/* 80033E38 00030D98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80033E3C 00030D9C 4E 80 00 20 */ blr - -.global sub_80033e40 -sub_80033e40: -/* 80033E40 00030DA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80033E44 00030DA4 7C 08 02 A6 */ mflr r0 -/* 80033E48 00030DA8 3C A0 80 3D */ lis r5, lbl_803CCD78@ha -/* 80033E4C 00030DAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80033E50 00030DB0 38 05 CD 78 */ addi r0, r5, lbl_803CCD78@l -/* 80033E54 00030DB4 38 A0 00 00 */ li r5, 0 -/* 80033E58 00030DB8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80033E5C 00030DBC 7C 9F 23 78 */ mr r31, r4 -/* 80033E60 00030DC0 7C 04 03 78 */ mr r4, r0 -/* 80033E64 00030DC4 93 C1 00 08 */ stw r30, 8(r1) -/* 80033E68 00030DC8 7C 7E 1B 78 */ mr r30, r3 -/* 80033E6C 00030DCC 38 60 00 08 */ li r3, 8 -/* 80033E70 00030DD0 48 2E 19 FD */ bl __nw__FUlPCcPCc -/* 80033E74 00030DD4 28 03 00 00 */ cmplwi r3, 0 -/* 80033E78 00030DD8 41 82 00 38 */ beq lbl_80033EB0 -/* 80033E7C 00030DDC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80033E80 00030DE0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80033E84 00030DE4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80033E88 00030DE8 3C 80 80 3E */ lis r4, lbl_803D9BD4@ha -/* 80033E8C 00030DEC 90 03 00 00 */ stw r0, 0(r3) -/* 80033E90 00030DF0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 80033E94 00030DF4 38 A0 00 00 */ li r5, 0 -/* 80033E98 00030DF8 38 04 9B D4 */ addi r0, r4, lbl_803D9BD4@l -/* 80033E9C 00030DFC 90 C3 00 00 */ stw r6, 0(r3) -/* 80033EA0 00030E00 98 BF 00 00 */ stb r5, 0(r31) -/* 80033EA4 00030E04 80 9F 00 04 */ lwz r4, 4(r31) -/* 80033EA8 00030E08 90 83 00 04 */ stw r4, 4(r3) -/* 80033EAC 00030E0C 90 03 00 00 */ stw r0, 0(r3) -lbl_80033EB0: -/* 80033EB0 00030E10 7C 03 00 D0 */ neg r0, r3 -/* 80033EB4 00030E14 7C 00 1B 78 */ or r0, r0, r3 -/* 80033EB8 00030E18 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80033EBC 00030E1C 98 1E 00 00 */ stb r0, 0(r30) -/* 80033EC0 00030E20 90 7E 00 04 */ stw r3, 4(r30) -/* 80033EC4 00030E24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80033EC8 00030E28 83 C1 00 08 */ lwz r30, 8(r1) -/* 80033ECC 00030E2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80033ED0 00030E30 7C 08 03 A6 */ mtlr r0 -/* 80033ED4 00030E34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80033ED8 00030E38 4E 80 00 20 */ blr - -.global sub_80033edc -sub_80033edc: -/* 80033EDC 00030E3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80033EE0 00030E40 7C 08 02 A6 */ mflr r0 -/* 80033EE4 00030E44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80033EE8 00030E48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80033EEC 00030E4C 7C 9F 23 78 */ mr r31, r4 -/* 80033EF0 00030E50 93 C1 00 08 */ stw r30, 8(r1) -/* 80033EF4 00030E54 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80033EF8 00030E58 41 82 00 68 */ beq lbl_80033F60 -/* 80033EFC 00030E5C 3C 60 80 3E */ lis r3, lbl_803D9BC8@ha -/* 80033F00 00030E60 38 03 9B C8 */ addi r0, r3, lbl_803D9BC8@l -/* 80033F04 00030E64 90 1E 00 00 */ stw r0, 0(r30) -/* 80033F08 00030E68 80 7E 00 04 */ lwz r3, 4(r30) -/* 80033F0C 00030E6C 28 03 00 00 */ cmplwi r3, 0 -/* 80033F10 00030E70 41 82 00 1C */ beq lbl_80033F2C -/* 80033F14 00030E74 41 82 00 18 */ beq lbl_80033F2C -/* 80033F18 00030E78 81 83 00 00 */ lwz r12, 0(r3) -/* 80033F1C 00030E7C 38 80 00 01 */ li r4, 1 -/* 80033F20 00030E80 81 8C 00 08 */ lwz r12, 8(r12) -/* 80033F24 00030E84 7D 89 03 A6 */ mtctr r12 -/* 80033F28 00030E88 4E 80 04 21 */ bctrl -lbl_80033F2C: -/* 80033F2C 00030E8C 28 1E 00 00 */ cmplwi r30, 0 -/* 80033F30 00030E90 41 82 00 20 */ beq lbl_80033F50 -/* 80033F34 00030E94 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 80033F38 00030E98 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 80033F3C 00030E9C 90 1E 00 00 */ stw r0, 0(r30) -/* 80033F40 00030EA0 41 82 00 10 */ beq lbl_80033F50 -/* 80033F44 00030EA4 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80033F48 00030EA8 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80033F4C 00030EAC 90 1E 00 00 */ stw r0, 0(r30) -lbl_80033F50: -/* 80033F50 00030EB0 7F E0 07 35 */ extsh. r0, r31 -/* 80033F54 00030EB4 40 81 00 0C */ ble lbl_80033F60 -/* 80033F58 00030EB8 7F C3 F3 78 */ mr r3, r30 -/* 80033F5C 00030EBC 48 2E 19 D5 */ bl Free__7CMemoryFPCv -lbl_80033F60: -/* 80033F60 00030EC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80033F64 00030EC4 7F C3 F3 78 */ mr r3, r30 -/* 80033F68 00030EC8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80033F6C 00030ECC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80033F70 00030ED0 7C 08 03 A6 */ mtlr r0 -/* 80033F74 00030ED4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80033F78 00030ED8 4E 80 00 20 */ blr - -.global sub_80033f7c -sub_80033f7c: -/* 80033F7C 00030EDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80033F80 00030EE0 7C 08 02 A6 */ mflr r0 -/* 80033F84 00030EE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80033F88 00030EE8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80033F8C 00030EEC 7C 7F 1B 78 */ mr r31, r3 -/* 80033F90 00030EF0 48 00 00 19 */ bl sub_80033fa8 -/* 80033F94 00030EF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80033F98 00030EF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80033F9C 00030EFC 7C 08 03 A6 */ mtlr r0 -/* 80033FA0 00030F00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80033FA4 00030F04 4E 80 00 20 */ blr - -.global sub_80033fa8 -sub_80033fa8: -/* 80033FA8 00030F08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80033FAC 00030F0C 7C 08 02 A6 */ mflr r0 -/* 80033FB0 00030F10 3C A0 80 3D */ lis r5, lbl_803CCD78@ha -/* 80033FB4 00030F14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80033FB8 00030F18 38 05 CD 78 */ addi r0, r5, lbl_803CCD78@l -/* 80033FBC 00030F1C 38 A0 00 00 */ li r5, 0 -/* 80033FC0 00030F20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80033FC4 00030F24 7C 9F 23 78 */ mr r31, r4 -/* 80033FC8 00030F28 7C 04 03 78 */ mr r4, r0 -/* 80033FCC 00030F2C 93 C1 00 08 */ stw r30, 8(r1) -/* 80033FD0 00030F30 7C 7E 1B 78 */ mr r30, r3 -/* 80033FD4 00030F34 38 60 00 08 */ li r3, 8 -/* 80033FD8 00030F38 48 2E 18 95 */ bl __nw__FUlPCcPCc -/* 80033FDC 00030F3C 28 03 00 00 */ cmplwi r3, 0 -/* 80033FE0 00030F40 41 82 00 38 */ beq lbl_80034018 -/* 80033FE4 00030F44 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80033FE8 00030F48 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80033FEC 00030F4C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80033FF0 00030F50 3C 80 80 3E */ lis r4, lbl_803D9BC8@ha -/* 80033FF4 00030F54 90 03 00 00 */ stw r0, 0(r3) -/* 80033FF8 00030F58 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 80033FFC 00030F5C 38 A0 00 00 */ li r5, 0 -/* 80034000 00030F60 38 04 9B C8 */ addi r0, r4, lbl_803D9BC8@l -/* 80034004 00030F64 90 C3 00 00 */ stw r6, 0(r3) -/* 80034008 00030F68 98 BF 00 00 */ stb r5, 0(r31) -/* 8003400C 00030F6C 80 9F 00 04 */ lwz r4, 4(r31) -/* 80034010 00030F70 90 83 00 04 */ stw r4, 4(r3) -/* 80034014 00030F74 90 03 00 00 */ stw r0, 0(r3) -lbl_80034018: -/* 80034018 00030F78 7C 03 00 D0 */ neg r0, r3 -/* 8003401C 00030F7C 7C 00 1B 78 */ or r0, r0, r3 -/* 80034020 00030F80 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80034024 00030F84 98 1E 00 00 */ stb r0, 0(r30) -/* 80034028 00030F88 90 7E 00 04 */ stw r3, 4(r30) -/* 8003402C 00030F8C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80034030 00030F90 83 C1 00 08 */ lwz r30, 8(r1) -/* 80034034 00030F94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80034038 00030F98 7C 08 03 A6 */ mtlr r0 -/* 8003403C 00030F9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80034040 00030FA0 4E 80 00 20 */ blr - -.global __dt__17CCharacterFactoryFv -__dt__17CCharacterFactoryFv: -/* 80034044 00030FA4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80034048 00030FA8 7C 08 02 A6 */ mflr r0 -/* 8003404C 00030FAC 90 01 00 54 */ stw r0, 0x54(r1) -/* 80034050 00030FB0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80034054 00030FB4 7C 9F 23 78 */ mr r31, r4 -/* 80034058 00030FB8 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8003405C 00030FBC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80034060 00030FC0 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80034064 00030FC4 93 81 00 40 */ stw r28, 0x40(r1) -/* 80034068 00030FC8 41 82 01 9C */ beq lbl_80034204 -/* 8003406C 00030FCC 3C 80 80 3E */ lis r4, lbl_803D9C20@ha -/* 80034070 00030FD0 38 7E 00 70 */ addi r3, r30, 0x70 -/* 80034074 00030FD4 38 04 9C 20 */ addi r0, r4, lbl_803D9C20@l -/* 80034078 00030FD8 38 80 FF FF */ li r4, -1 -/* 8003407C 00030FDC 90 1E 00 00 */ stw r0, 0(r30) -/* 80034080 00030FE0 48 30 C6 89 */ bl __dt__11CSimplePool -/* 80034084 00030FE4 34 1E 00 6C */ addic. r0, r30, 0x6c -/* 80034088 00030FE8 41 82 00 24 */ beq lbl_800340AC -/* 8003408C 00030FEC 3C 60 80 3E */ lis r3, lbl_803D9BA8@ha -/* 80034090 00030FF0 34 1E 00 6C */ addic. r0, r30, 0x6c -/* 80034094 00030FF4 38 03 9B A8 */ addi r0, r3, lbl_803D9BA8@l -/* 80034098 00030FF8 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 8003409C 00030FFC 41 82 00 10 */ beq lbl_800340AC -/* 800340A0 00031000 3C 60 80 3E */ lis r3, lbl_803D9C50@ha -/* 800340A4 00031004 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l -/* 800340A8 00031008 90 1E 00 6C */ stw r0, 0x6c(r30) -lbl_800340AC: -/* 800340AC 0003100C 34 1E 00 58 */ addic. r0, r30, 0x58 -/* 800340B0 00031010 41 82 00 44 */ beq lbl_800340F4 -/* 800340B4 00031014 80 1E 00 5C */ lwz r0, 0x5c(r30) -/* 800340B8 00031018 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 800340BC 0003101C 54 00 18 38 */ slwi r0, r0, 3 -/* 800340C0 00031020 7C 03 02 14 */ add r0, r3, r0 -/* 800340C4 00031024 90 61 00 2C */ stw r3, 0x2c(r1) -/* 800340C8 00031028 7C 64 1B 78 */ mr r4, r3 -/* 800340CC 0003102C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800340D0 00031030 90 01 00 30 */ stw r0, 0x30(r1) -/* 800340D4 00031034 90 61 00 28 */ stw r3, 0x28(r1) -/* 800340D8 00031038 48 00 00 08 */ b lbl_800340E0 -lbl_800340DC: -/* 800340DC 0003103C 38 84 00 08 */ addi r4, r4, 8 -lbl_800340E0: -/* 800340E0 00031040 7C 04 00 40 */ cmplw r4, r0 -/* 800340E4 00031044 40 82 FF F8 */ bne lbl_800340DC -/* 800340E8 00031048 28 03 00 00 */ cmplwi r3, 0 -/* 800340EC 0003104C 41 82 00 08 */ beq lbl_800340F4 -/* 800340F0 00031050 48 2E 18 41 */ bl Free__7CMemoryFPCv -lbl_800340F4: -/* 800340F4 00031054 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 800340F8 00031058 41 82 00 44 */ beq lbl_8003413C -/* 800340FC 0003105C 80 1E 00 44 */ lwz r0, 0x44(r30) -/* 80034100 00031060 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 80034104 00031064 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80034108 00031068 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8003410C 0003106C 7C 64 1B 78 */ mr r4, r3 -/* 80034110 00031070 7C 03 02 14 */ add r0, r3, r0 -/* 80034114 00031074 90 61 00 18 */ stw r3, 0x18(r1) -/* 80034118 00031078 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003411C 0003107C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80034120 00031080 48 00 00 08 */ b lbl_80034128 -lbl_80034124: -/* 80034124 00031084 38 84 00 0C */ addi r4, r4, 0xc -lbl_80034128: -/* 80034128 00031088 7C 04 00 40 */ cmplw r4, r0 -/* 8003412C 0003108C 40 82 FF F8 */ bne lbl_80034124 -/* 80034130 00031090 28 03 00 00 */ cmplwi r3, 0 -/* 80034134 00031094 41 82 00 08 */ beq lbl_8003413C -/* 80034138 00031098 48 2E 17 F9 */ bl Free__7CMemoryFPCv -lbl_8003413C: -/* 8003413C 0003109C 38 7E 00 30 */ addi r3, r30, 0x30 -/* 80034140 000310A0 38 80 FF FF */ li r4, -1 -/* 80034144 000310A4 4B FF F4 8D */ bl "__dt__Q24rstl20rc_ptr<10IMetaTrans>Fv" -/* 80034148 000310A8 34 1E 00 2C */ addic. r0, r30, 0x2c -/* 8003414C 000310AC 41 82 00 0C */ beq lbl_80034158 -/* 80034150 000310B0 38 7E 00 2C */ addi r3, r30, 0x2c -/* 80034154 000310B4 4B FF D3 09 */ bl sub_8003145c -lbl_80034158: -/* 80034158 000310B8 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 8003415C 000310BC 41 82 00 0C */ beq lbl_80034168 -/* 80034160 000310C0 38 7E 00 28 */ addi r3, r30, 0x28 -/* 80034164 000310C4 4B FF D2 49 */ bl sub_800313ac -lbl_80034168: -/* 80034168 000310C8 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 8003416C 000310CC 41 82 00 14 */ beq lbl_80034180 -/* 80034170 000310D0 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 80034174 000310D4 41 82 00 0C */ beq lbl_80034180 -/* 80034178 000310D8 38 7E 00 24 */ addi r3, r30, 0x24 -/* 8003417C 000310DC 4B FF D3 7D */ bl sub_800314f8 -lbl_80034180: -/* 80034180 000310E0 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80034184 000310E4 41 82 00 58 */ beq lbl_800341DC -/* 80034188 000310E8 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 8003418C 000310EC 83 9E 00 20 */ lwz r28, 0x20(r30) -/* 80034190 000310F0 54 00 18 38 */ slwi r0, r0, 3 -/* 80034194 000310F4 7F BC 02 14 */ add r29, r28, r0 -/* 80034198 000310F8 93 81 00 0C */ stw r28, 0xc(r1) -/* 8003419C 000310FC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800341A0 00031100 93 A1 00 10 */ stw r29, 0x10(r1) -/* 800341A4 00031104 93 81 00 08 */ stw r28, 8(r1) -/* 800341A8 00031108 48 00 00 1C */ b lbl_800341C4 -lbl_800341AC: -/* 800341AC 0003110C 28 1C 00 00 */ cmplwi r28, 0 -/* 800341B0 00031110 41 82 00 10 */ beq lbl_800341C0 -/* 800341B4 00031114 7F 83 E3 78 */ mr r3, r28 -/* 800341B8 00031118 38 80 00 00 */ li r4, 0 -/* 800341BC 0003111C 48 30 CC 85 */ bl __dt__6CTokenFv -lbl_800341C0: -/* 800341C0 00031120 3B 9C 00 08 */ addi r28, r28, 8 -lbl_800341C4: -/* 800341C4 00031124 7C 1C E8 40 */ cmplw r28, r29 -/* 800341C8 00031128 40 82 FF E4 */ bne lbl_800341AC -/* 800341CC 0003112C 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 800341D0 00031130 28 03 00 00 */ cmplwi r3, 0 -/* 800341D4 00031134 41 82 00 08 */ beq lbl_800341DC -/* 800341D8 00031138 48 2E 17 59 */ bl Free__7CMemoryFPCv -lbl_800341DC: -/* 800341DC 0003113C 38 7E 00 04 */ addi r3, r30, 4 -/* 800341E0 00031140 38 80 FF FF */ li r4, -1 -/* 800341E4 00031144 4B FF E0 61 */ bl sub_80032244 -/* 800341E8 00031148 7F C3 F3 78 */ mr r3, r30 -/* 800341EC 0003114C 38 80 00 00 */ li r4, 0 -/* 800341F0 00031150 48 00 0B CD */ bl sub_80034dbc -/* 800341F4 00031154 7F E0 07 35 */ extsh. r0, r31 -/* 800341F8 00031158 40 81 00 0C */ ble lbl_80034204 -/* 800341FC 0003115C 7F C3 F3 78 */ mr r3, r30 -/* 80034200 00031160 48 2E 17 31 */ bl Free__7CMemoryFPCv -lbl_80034204: -/* 80034204 00031164 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80034208 00031168 7F C3 F3 78 */ mr r3, r30 -/* 8003420C 0003116C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80034210 00031170 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80034214 00031174 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80034218 00031178 83 81 00 40 */ lwz r28, 0x40(r1) -/* 8003421C 0003117C 7C 08 03 A6 */ mtlr r0 -/* 80034220 00031180 38 21 00 50 */ addi r1, r1, 0x50 -/* 80034224 00031184 4E 80 00 20 */ blr - -.global sub_80034228 -sub_80034228: -/* 80034228 00031188 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003422C 0003118C 7C 08 02 A6 */ mflr r0 -/* 80034230 00031190 90 01 00 14 */ stw r0, 0x14(r1) -/* 80034234 00031194 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80034238 00031198 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8003423C 0003119C 41 82 00 40 */ beq lbl_8003427C -/* 80034240 000311A0 3C 60 80 3E */ lis r3, lbl_803D9C38@ha -/* 80034244 000311A4 38 03 9C 38 */ addi r0, r3, lbl_803D9C38@l -/* 80034248 000311A8 90 1F 00 00 */ stw r0, 0(r31) -/* 8003424C 000311AC 41 82 00 20 */ beq lbl_8003426C -/* 80034250 000311B0 3C 60 80 3E */ lis r3, lbl_803D9C44@ha -/* 80034254 000311B4 38 03 9C 44 */ addi r0, r3, lbl_803D9C44@l -/* 80034258 000311B8 90 1F 00 00 */ stw r0, 0(r31) -/* 8003425C 000311BC 41 82 00 10 */ beq lbl_8003426C -/* 80034260 000311C0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80034264 000311C4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80034268 000311C8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8003426C: -/* 8003426C 000311CC 7C 80 07 35 */ extsh. r0, r4 -/* 80034270 000311D0 40 81 00 0C */ ble lbl_8003427C -/* 80034274 000311D4 7F E3 FB 78 */ mr r3, r31 -/* 80034278 000311D8 48 2E 16 B9 */ bl Free__7CMemoryFPCv -lbl_8003427C: -/* 8003427C 000311DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80034280 000311E0 7F E3 FB 78 */ mr r3, r31 -/* 80034284 000311E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80034288 000311E8 7C 08 03 A6 */ mtlr r0 -/* 8003428C 000311EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80034290 000311F0 4E 80 00 20 */ blr - -.global __dt__17CMetaTransFactoryFv -__dt__17CMetaTransFactoryFv: -/* 80034294 000311F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80034298 000311F8 7C 08 02 A6 */ mflr r0 -/* 8003429C 000311FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800342A0 00031200 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800342A4 00031204 7C 7F 1B 78 */ mr r31, r3 -/* 800342A8 00031208 80 83 00 00 */ lwz r4, 0(r3) -/* 800342AC 0003120C 80 64 00 04 */ lwz r3, 4(r4) -/* 800342B0 00031210 34 03 FF FF */ addic. r0, r3, -1 -/* 800342B4 00031214 90 04 00 04 */ stw r0, 4(r4) -/* 800342B8 00031218 41 81 00 38 */ bgt lbl_800342F0 -/* 800342BC 0003121C 80 7F 00 00 */ lwz r3, 0(r31) -/* 800342C0 00031220 80 63 00 00 */ lwz r3, 0(r3) -/* 800342C4 00031224 28 03 00 00 */ cmplwi r3, 0 -/* 800342C8 00031228 41 82 00 18 */ beq lbl_800342E0 -/* 800342CC 0003122C 81 83 00 00 */ lwz r12, 0(r3) -/* 800342D0 00031230 38 80 00 01 */ li r4, 1 -/* 800342D4 00031234 81 8C 00 08 */ lwz r12, 8(r12) -/* 800342D8 00031238 7D 89 03 A6 */ mtctr r12 -/* 800342DC 0003123C 4E 80 04 21 */ bctrl -lbl_800342E0: -/* 800342E0 00031240 80 7F 00 00 */ lwz r3, 0(r31) -/* 800342E4 00031244 28 03 00 00 */ cmplwi r3, 0 -/* 800342E8 00031248 41 82 00 08 */ beq lbl_800342F0 -/* 800342EC 0003124C 48 2E 16 45 */ bl Free__7CMemoryFPCv -lbl_800342F0: -/* 800342F0 00031250 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800342F4 00031254 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800342F8 00031258 7C 08 03 A6 */ mtlr r0 -/* 800342FC 0003125C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80034300 00031260 4E 80 00 20 */ blr - -.global sub_80034304 -sub_80034304: -/* 80034304 00031264 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80034308 00031268 7C 08 02 A6 */ mflr r0 -/* 8003430C 0003126C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80034310 00031270 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80034314 00031274 7C 7F 1B 78 */ mr r31, r3 -/* 80034318 00031278 80 83 00 00 */ lwz r4, 0(r3) -/* 8003431C 0003127C 80 64 00 04 */ lwz r3, 4(r4) -/* 80034320 00031280 34 03 FF FF */ addic. r0, r3, -1 -/* 80034324 00031284 90 04 00 04 */ stw r0, 4(r4) -/* 80034328 00031288 41 81 00 38 */ bgt lbl_80034360 -/* 8003432C 0003128C 80 7F 00 00 */ lwz r3, 0(r31) -/* 80034330 00031290 80 63 00 00 */ lwz r3, 0(r3) -/* 80034334 00031294 28 03 00 00 */ cmplwi r3, 0 -/* 80034338 00031298 41 82 00 18 */ beq lbl_80034350 -/* 8003433C 0003129C 81 83 00 00 */ lwz r12, 0(r3) -/* 80034340 000312A0 38 80 00 01 */ li r4, 1 -/* 80034344 000312A4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80034348 000312A8 7D 89 03 A6 */ mtctr r12 -/* 8003434C 000312AC 4E 80 04 21 */ bctrl -lbl_80034350: -/* 80034350 000312B0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80034354 000312B4 28 03 00 00 */ cmplwi r3, 0 -/* 80034358 000312B8 41 82 00 08 */ beq lbl_80034360 -/* 8003435C 000312BC 48 2E 15 D5 */ bl Free__7CMemoryFPCv -lbl_80034360: -/* 80034360 000312C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80034364 000312C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80034368 000312C8 7C 08 03 A6 */ mtlr r0 -/* 8003436C 000312CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80034370 000312D0 4E 80 00 20 */ blr - -.global sub_80034374 -sub_80034374: -/* 80034374 000312D4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80034378 000312D8 7C 08 02 A6 */ mflr r0 -/* 8003437C 000312DC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80034380 000312E0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80034384 000312E4 7C 9F 23 78 */ mr r31, r4 -/* 80034388 000312E8 7C 7E 1B 78 */ mr r30, r3 -/* 8003438C 000312EC 7C DB 33 78 */ mr r27, r6 -/* 80034390 000312F0 38 61 00 0C */ addi r3, r1, 0xc -/* 80034394 000312F4 80 85 00 00 */ lwz r4, 0(r5) -/* 80034398 000312F8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8003439C 000312FC 90 81 00 08 */ stw r4, 8(r1) -/* 800343A0 00031300 38 81 00 08 */ addi r4, r1, 8 -/* 800343A4 00031304 90 01 00 0C */ stw r0, 0xc(r1) -/* 800343A8 00031308 48 00 04 49 */ bl "distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" -/* 800343AC 0003130C 80 1F 00 00 */ lwz r0, 0(r31) -/* 800343B0 00031310 7C 7D 1B 78 */ mr r29, r3 -/* 800343B4 00031314 90 01 00 10 */ stw r0, 0x10(r1) -/* 800343B8 00031318 48 00 00 58 */ b lbl_80034410 -lbl_800343BC: -/* 800343BC 0003131C 57 A3 0F FE */ srwi r3, r29, 0x1f -/* 800343C0 00031320 80 1F 00 00 */ lwz r0, 0(r31) -/* 800343C4 00031324 7C 83 EA 14 */ add r4, r3, r29 -/* 800343C8 00031328 38 61 00 10 */ addi r3, r1, 0x10 -/* 800343CC 0003132C 7C 9C 0E 70 */ srawi r28, r4, 1 -/* 800343D0 00031330 90 01 00 10 */ stw r0, 0x10(r1) -/* 800343D4 00031334 7F 84 E3 78 */ mr r4, r28 -/* 800343D8 00031338 48 00 03 D9 */ bl "advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -/* 800343DC 0003133C 80 81 00 10 */ lwz r4, 0x10(r1) -/* 800343E0 00031340 80 1B 00 00 */ lwz r0, 0(r27) -/* 800343E4 00031344 80 64 00 00 */ lwz r3, 0(r4) -/* 800343E8 00031348 7C 03 00 00 */ cmpw r3, r0 -/* 800343EC 0003134C 40 80 00 20 */ bge lbl_8003440C -/* 800343F0 00031350 90 9F 00 00 */ stw r4, 0(r31) -/* 800343F4 00031354 7C 7C E8 50 */ subf r3, r28, r29 -/* 800343F8 00031358 3B A3 FF FF */ addi r29, r3, -1 -/* 800343FC 0003135C 80 7F 00 00 */ lwz r3, 0(r31) -/* 80034400 00031360 38 03 00 08 */ addi r0, r3, 8 -/* 80034404 00031364 90 1F 00 00 */ stw r0, 0(r31) -/* 80034408 00031368 48 00 00 08 */ b lbl_80034410 -lbl_8003440C: -/* 8003440C 0003136C 7F 9D E3 78 */ mr r29, r28 -lbl_80034410: -/* 80034410 00031370 2C 1D 00 00 */ cmpwi r29, 0 -/* 80034414 00031374 41 81 FF A8 */ bgt lbl_800343BC -/* 80034418 00031378 80 1F 00 00 */ lwz r0, 0(r31) -/* 8003441C 0003137C 90 1E 00 00 */ stw r0, 0(r30) -/* 80034420 00031380 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80034424 00031384 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80034428 00031388 7C 08 03 A6 */ mtlr r0 -/* 8003442C 0003138C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80034430 00031390 4E 80 00 20 */ blr - -.global sub_80034434 -sub_80034434: -/* 80034434 00031394 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80034438 00031398 7C 08 02 A6 */ mflr r0 -/* 8003443C 0003139C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80034440 000313A0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80034444 000313A4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80034448 000313A8 7C 9E 23 78 */ mr r30, r4 -/* 8003444C 000313AC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80034450 000313B0 7C 7D 1B 78 */ mr r29, r3 -/* 80034454 000313B4 80 03 00 08 */ lwz r0, 8(r3) -/* 80034458 000313B8 7C 1E 00 00 */ cmpw r30, r0 -/* 8003445C 000313BC 40 81 00 8C */ ble lbl_800344E8 -/* 80034460 000313C0 1C 7E 00 C0 */ mulli r3, r30, 0xc0 -/* 80034464 000313C4 2C 03 00 00 */ cmpwi r3, 0 -/* 80034468 000313C8 40 82 00 0C */ bne lbl_80034474 -/* 8003446C 000313CC 3B E0 00 00 */ li r31, 0 -/* 80034470 000313D0 48 00 00 18 */ b lbl_80034488 -lbl_80034474: -/* 80034474 000313D4 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 80034478 000313D8 38 A0 00 00 */ li r5, 0 -/* 8003447C 000313DC 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 80034480 000313E0 48 2E 13 99 */ bl __nwa__FUlPCcPCc -/* 80034484 000313E4 7C 7F 1B 78 */ mr r31, r3 -lbl_80034488: -/* 80034488 000313E8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8003448C 000313EC 7F E5 FB 78 */ mr r5, r31 -/* 80034490 000313F0 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 80034494 000313F4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80034498 000313F8 1C 00 00 C0 */ mulli r0, r0, 0xc0 -/* 8003449C 000313FC 38 81 00 0C */ addi r4, r1, 0xc -/* 800344A0 00031400 7C C6 02 14 */ add r6, r6, r0 -/* 800344A4 00031404 90 C1 00 0C */ stw r6, 0xc(r1) -/* 800344A8 00031408 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800344AC 0003140C 90 C1 00 08 */ stw r6, 8(r1) -/* 800344B0 00031410 90 01 00 10 */ stw r0, 0x10(r1) -/* 800344B4 00031414 90 01 00 14 */ stw r0, 0x14(r1) -/* 800344B8 00031418 48 00 00 99 */ bl sub_80034550 -/* 800344BC 0003141C 80 1D 00 04 */ lwz r0, 4(r29) -/* 800344C0 00031420 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 800344C4 00031424 1C 00 00 C0 */ mulli r0, r0, 0xc0 -/* 800344C8 00031428 7C 83 02 14 */ add r4, r3, r0 -/* 800344CC 0003142C 48 00 00 39 */ bl sub_80034504 -/* 800344D0 00031430 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 800344D4 00031434 28 03 00 00 */ cmplwi r3, 0 -/* 800344D8 00031438 41 82 00 08 */ beq lbl_800344E0 -/* 800344DC 0003143C 48 2E 14 55 */ bl Free__7CMemoryFPCv -lbl_800344E0: -/* 800344E0 00031440 93 FD 00 0C */ stw r31, 0xc(r29) -/* 800344E4 00031444 93 DD 00 08 */ stw r30, 8(r29) -lbl_800344E8: -/* 800344E8 00031448 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800344EC 0003144C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800344F0 00031450 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800344F4 00031454 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800344F8 00031458 7C 08 03 A6 */ mtlr r0 -/* 800344FC 0003145C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80034500 00031460 4E 80 00 20 */ blr - -.global sub_80034504 -sub_80034504: -/* 80034504 00031464 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80034508 00031468 7C 08 02 A6 */ mflr r0 -/* 8003450C 0003146C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80034510 00031470 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80034514 00031474 7C 7F 1B 78 */ mr r31, r3 -/* 80034518 00031478 93 C1 00 08 */ stw r30, 8(r1) -/* 8003451C 0003147C 7C 9E 23 78 */ mr r30, r4 -/* 80034520 00031480 48 00 00 10 */ b lbl_80034530 -lbl_80034524: -/* 80034524 00031484 7F E3 FB 78 */ mr r3, r31 -/* 80034528 00031488 4B FF DD F9 */ bl sub_80032320 -/* 8003452C 0003148C 3B FF 00 C0 */ addi r31, r31, 0xc0 -lbl_80034530: -/* 80034530 00031490 7C 1F F0 40 */ cmplw r31, r30 -/* 80034534 00031494 40 82 FF F0 */ bne lbl_80034524 -/* 80034538 00031498 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003453C 0003149C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80034540 000314A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80034544 000314A4 7C 08 03 A6 */ mtlr r0 -/* 80034548 000314A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003454C 000314AC 4E 80 00 20 */ blr - -.global sub_80034550 -sub_80034550: -/* 80034550 000314B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80034554 000314B4 7C 08 02 A6 */ mflr r0 -/* 80034558 000314B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003455C 000314BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80034560 000314C0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80034564 000314C4 7C BE 2B 78 */ mr r30, r5 -/* 80034568 000314C8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003456C 000314CC 7C 9D 23 78 */ mr r29, r4 -/* 80034570 000314D0 83 E3 00 00 */ lwz r31, 0(r3) -/* 80034574 000314D4 48 00 00 18 */ b lbl_8003458C -lbl_80034578: -/* 80034578 000314D8 7F C3 F3 78 */ mr r3, r30 -/* 8003457C 000314DC 7F E4 FB 78 */ mr r4, r31 -/* 80034580 000314E0 4B FF DC 21 */ bl sub_800321a0 -/* 80034584 000314E4 3B DE 00 C0 */ addi r30, r30, 0xc0 -/* 80034588 000314E8 3B FF 00 C0 */ addi r31, r31, 0xc0 -lbl_8003458C: -/* 8003458C 000314EC 80 1D 00 00 */ lwz r0, 0(r29) -/* 80034590 000314F0 7C 1F 00 40 */ cmplw r31, r0 -/* 80034594 000314F4 40 82 FF E4 */ bne lbl_80034578 -/* 80034598 000314F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003459C 000314FC 7F C3 F3 78 */ mr r3, r30 -/* 800345A0 00031500 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800345A4 00031504 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800345A8 00031508 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800345AC 0003150C 7C 08 03 A6 */ mtlr r0 -/* 800345B0 00031510 38 21 00 20 */ addi r1, r1, 0x20 -/* 800345B4 00031514 4E 80 00 20 */ blr - -.global sub_800345b8 -sub_800345b8: -/* 800345B8 00031518 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800345BC 0003151C 7C 08 02 A6 */ mflr r0 -/* 800345C0 00031520 90 01 00 34 */ stw r0, 0x34(r1) -/* 800345C4 00031524 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 800345C8 00031528 7C 9F 23 78 */ mr r31, r4 -/* 800345CC 0003152C 7C 7E 1B 78 */ mr r30, r3 -/* 800345D0 00031530 80 03 00 08 */ lwz r0, 8(r3) -/* 800345D4 00031534 7C 1F 00 00 */ cmpw r31, r0 -/* 800345D8 00031538 40 81 00 C0 */ ble lbl_80034698 -/* 800345DC 0003153C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 800345E0 00031540 40 82 00 0C */ bne lbl_800345EC -/* 800345E4 00031544 3B 80 00 00 */ li r28, 0 -/* 800345E8 00031548 48 00 00 18 */ b lbl_80034600 -lbl_800345EC: -/* 800345EC 0003154C 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 800345F0 00031550 38 A0 00 00 */ li r5, 0 -/* 800345F4 00031554 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 800345F8 00031558 48 2E 12 21 */ bl __nwa__FUlPCcPCc -/* 800345FC 0003155C 7C 7C 1B 78 */ mr r28, r3 -lbl_80034600: -/* 80034600 00031560 80 1E 00 04 */ lwz r0, 4(r30) -/* 80034604 00031564 7F 9B E3 78 */ mr r27, r28 -/* 80034608 00031568 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 8003460C 0003156C 54 00 18 38 */ slwi r0, r0, 3 -/* 80034610 00031570 7F BA 02 14 */ add r29, r26, r0 -/* 80034614 00031574 93 41 00 10 */ stw r26, 0x10(r1) -/* 80034618 00031578 93 A1 00 08 */ stw r29, 8(r1) -/* 8003461C 0003157C 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80034620 00031580 93 41 00 14 */ stw r26, 0x14(r1) -/* 80034624 00031584 48 00 00 20 */ b lbl_80034644 -lbl_80034628: -/* 80034628 00031588 28 1B 00 00 */ cmplwi r27, 0 -/* 8003462C 0003158C 41 82 00 10 */ beq lbl_8003463C -/* 80034630 00031590 7F 63 DB 78 */ mr r3, r27 -/* 80034634 00031594 7F 44 D3 78 */ mr r4, r26 -/* 80034638 00031598 48 30 C8 71 */ bl __ct__6CTokenFRC6CToken -lbl_8003463C: -/* 8003463C 0003159C 3B 7B 00 08 */ addi r27, r27, 8 -/* 80034640 000315A0 3B 5A 00 08 */ addi r26, r26, 8 -lbl_80034644: -/* 80034644 000315A4 7C 1A E8 40 */ cmplw r26, r29 -/* 80034648 000315A8 40 82 FF E0 */ bne lbl_80034628 -/* 8003464C 000315AC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80034650 000315B0 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80034654 000315B4 54 00 18 38 */ slwi r0, r0, 3 -/* 80034658 000315B8 7F 7A 02 14 */ add r27, r26, r0 -/* 8003465C 000315BC 48 00 00 1C */ b lbl_80034678 -lbl_80034660: -/* 80034660 000315C0 28 1A 00 00 */ cmplwi r26, 0 -/* 80034664 000315C4 41 82 00 10 */ beq lbl_80034674 -/* 80034668 000315C8 7F 43 D3 78 */ mr r3, r26 -/* 8003466C 000315CC 38 80 00 00 */ li r4, 0 -/* 80034670 000315D0 48 30 C7 D1 */ bl __dt__6CTokenFv -lbl_80034674: -/* 80034674 000315D4 3B 5A 00 08 */ addi r26, r26, 8 -lbl_80034678: -/* 80034678 000315D8 7C 1A D8 40 */ cmplw r26, r27 -/* 8003467C 000315DC 40 82 FF E4 */ bne lbl_80034660 -/* 80034680 000315E0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80034684 000315E4 28 03 00 00 */ cmplwi r3, 0 -/* 80034688 000315E8 41 82 00 08 */ beq lbl_80034690 -/* 8003468C 000315EC 48 2E 12 A5 */ bl Free__7CMemoryFPCv -lbl_80034690: -/* 80034690 000315F0 93 9E 00 0C */ stw r28, 0xc(r30) -/* 80034694 000315F4 93 FE 00 08 */ stw r31, 8(r30) -lbl_80034698: -/* 80034698 000315F8 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8003469C 000315FC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800346A0 00031600 7C 08 03 A6 */ mtlr r0 -/* 800346A4 00031604 38 21 00 30 */ addi r1, r1, 0x30 -/* 800346A8 00031608 4E 80 00 20 */ blr - -.global "reserve__Q24rstl74vector<37TCachedToken<21CAllFormatsAnimSource>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl74vector<37TCachedToken<21CAllFormatsAnimSource>,Q24rstl17rmemory_allocator>Fi": -/* 800346AC 0003160C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800346B0 00031610 7C 08 02 A6 */ mflr r0 -/* 800346B4 00031614 90 01 00 34 */ stw r0, 0x34(r1) -/* 800346B8 00031618 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 800346BC 0003161C 7C 9F 23 78 */ mr r31, r4 -/* 800346C0 00031620 7C 7E 1B 78 */ mr r30, r3 -/* 800346C4 00031624 80 03 00 08 */ lwz r0, 8(r3) -/* 800346C8 00031628 7C 1F 00 00 */ cmpw r31, r0 -/* 800346CC 0003162C 40 81 00 D0 */ ble lbl_8003479C -/* 800346D0 00031630 1C 7F 00 0C */ mulli r3, r31, 0xc -/* 800346D4 00031634 2C 03 00 00 */ cmpwi r3, 0 -/* 800346D8 00031638 40 82 00 0C */ bne lbl_800346E4 -/* 800346DC 0003163C 3B 80 00 00 */ li r28, 0 -/* 800346E0 00031640 48 00 00 18 */ b lbl_800346F8 -lbl_800346E4: -/* 800346E4 00031644 3C 80 80 3D */ lis r4, lbl_803CCD78@ha -/* 800346E8 00031648 38 A0 00 00 */ li r5, 0 -/* 800346EC 0003164C 38 84 CD 78 */ addi r4, r4, lbl_803CCD78@l -/* 800346F0 00031650 48 2E 11 29 */ bl __nwa__FUlPCcPCc -/* 800346F4 00031654 7C 7C 1B 78 */ mr r28, r3 -lbl_800346F8: -/* 800346F8 00031658 80 1E 00 04 */ lwz r0, 4(r30) -/* 800346FC 0003165C 7F 9B E3 78 */ mr r27, r28 -/* 80034700 00031660 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80034704 00031664 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80034708 00031668 93 41 00 10 */ stw r26, 0x10(r1) -/* 8003470C 0003166C 7F BA 02 14 */ add r29, r26, r0 -/* 80034710 00031670 93 41 00 14 */ stw r26, 0x14(r1) -/* 80034714 00031674 93 A1 00 08 */ stw r29, 8(r1) -/* 80034718 00031678 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8003471C 0003167C 48 00 00 28 */ b lbl_80034744 -lbl_80034720: -/* 80034720 00031680 28 1B 00 00 */ cmplwi r27, 0 -/* 80034724 00031684 41 82 00 18 */ beq lbl_8003473C -/* 80034728 00031688 7F 63 DB 78 */ mr r3, r27 -/* 8003472C 0003168C 7F 44 D3 78 */ mr r4, r26 -/* 80034730 00031690 48 30 C7 79 */ bl __ct__6CTokenFRC6CToken -/* 80034734 00031694 80 1A 00 08 */ lwz r0, 8(r26) -/* 80034738 00031698 90 1B 00 08 */ stw r0, 8(r27) -lbl_8003473C: -/* 8003473C 0003169C 3B 7B 00 0C */ addi r27, r27, 0xc -/* 80034740 000316A0 3B 5A 00 0C */ addi r26, r26, 0xc -lbl_80034744: -/* 80034744 000316A4 7C 1A E8 40 */ cmplw r26, r29 -/* 80034748 000316A8 40 82 FF D8 */ bne lbl_80034720 -/* 8003474C 000316AC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80034750 000316B0 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80034754 000316B4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80034758 000316B8 7F 7A 02 14 */ add r27, r26, r0 -/* 8003475C 000316BC 48 00 00 20 */ b lbl_8003477C -lbl_80034760: -/* 80034760 000316C0 28 1A 00 00 */ cmplwi r26, 0 -/* 80034764 000316C4 41 82 00 14 */ beq lbl_80034778 -/* 80034768 000316C8 41 82 00 10 */ beq lbl_80034778 -/* 8003476C 000316CC 7F 43 D3 78 */ mr r3, r26 -/* 80034770 000316D0 38 80 00 00 */ li r4, 0 -/* 80034774 000316D4 48 30 C6 CD */ bl __dt__6CTokenFv -lbl_80034778: -/* 80034778 000316D8 3B 5A 00 0C */ addi r26, r26, 0xc -lbl_8003477C: -/* 8003477C 000316DC 7C 1A D8 40 */ cmplw r26, r27 -/* 80034780 000316E0 40 82 FF E0 */ bne lbl_80034760 -/* 80034784 000316E4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80034788 000316E8 28 03 00 00 */ cmplwi r3, 0 -/* 8003478C 000316EC 41 82 00 08 */ beq lbl_80034794 -/* 80034790 000316F0 48 2E 11 A1 */ bl Free__7CMemoryFPCv -lbl_80034794: -/* 80034794 000316F4 93 9E 00 0C */ stw r28, 0xc(r30) -/* 80034798 000316F8 93 FE 00 08 */ stw r31, 8(r30) -lbl_8003479C: -/* 8003479C 000316FC BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800347A0 00031700 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800347A4 00031704 7C 08 03 A6 */ mtlr r0 -/* 800347A8 00031708 38 21 00 30 */ addi r1, r1, 0x30 -/* 800347AC 0003170C 4E 80 00 20 */ blr - -.global "advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -"advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": -/* 800347B0 00031710 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800347B4 00031714 7C 08 02 A6 */ mflr r0 -/* 800347B8 00031718 90 01 00 14 */ stw r0, 0x14(r1) -/* 800347BC 0003171C 38 A1 00 0C */ addi r5, r1, 0xc -/* 800347C0 00031720 88 01 00 08 */ lbz r0, 8(r1) -/* 800347C4 00031724 98 01 00 0C */ stb r0, 0xc(r1) -/* 800347C8 00031728 48 00 00 15 */ bl "__advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" -/* 800347CC 0003172C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800347D0 00031730 7C 08 03 A6 */ mtlr r0 -/* 800347D4 00031734 38 21 00 10 */ addi r1, r1, 0x10 -/* 800347D8 00031738 4E 80 00 20 */ blr - -.global "__advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" -"__advance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": -/* 800347DC 0003173C 80 A3 00 00 */ lwz r5, 0(r3) -/* 800347E0 00031740 54 80 18 38 */ slwi r0, r4, 3 -/* 800347E4 00031744 7C 05 02 14 */ add r0, r5, r0 -/* 800347E8 00031748 90 03 00 00 */ stw r0, 0(r3) -/* 800347EC 0003174C 4E 80 00 20 */ blr - -.global "distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" -"distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": -/* 800347F0 00031750 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800347F4 00031754 7C 08 02 A6 */ mflr r0 -/* 800347F8 00031758 90 01 00 24 */ stw r0, 0x24(r1) -/* 800347FC 0003175C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80034800 00031760 88 E1 00 08 */ lbz r7, 8(r1) -/* 80034804 00031764 80 C4 00 00 */ lwz r6, 0(r4) -/* 80034808 00031768 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003480C 0003176C 80 03 00 00 */ lwz r0, 0(r3) -/* 80034810 00031770 38 61 00 14 */ addi r3, r1, 0x14 -/* 80034814 00031774 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80034818 00031778 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8003481C 0003177C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80034820 00031780 48 00 00 15 */ bl "__distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" -/* 80034824 00031784 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80034828 00031788 7C 08 03 A6 */ mtlr r0 -/* 8003482C 0003178C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80034830 00031790 4E 80 00 20 */ blr - -.global "__distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" -"__distance,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130const_pointer_iterator,Q24rstl52vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag": -/* 80034834 00031794 80 63 00 00 */ lwz r3, 0(r3) -/* 80034838 00031798 80 04 00 00 */ lwz r0, 0(r4) -/* 8003483C 0003179C 7C 03 00 50 */ subf r0, r3, r0 -/* 80034840 000317A0 7C 00 1E 70 */ srawi r0, r0, 3 -/* 80034844 000317A4 7C 60 01 94 */ addze r3, r0 -/* 80034848 000317A8 4E 80 00 20 */ blr - -.global CanBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag -CanBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag: -/* 8003484C 000317AC 38 60 00 01 */ li r3, 1 -/* 80034850 000317B0 4E 80 00 20 */ blr - -.global GetResourceIdByName__Q224CCharacterFactoryBuilder13CDummyFactoryCFPCc -GetResourceIdByName__Q224CCharacterFactoryBuilder13CDummyFactoryCFPCc: -/* 80034854 000317B4 38 60 00 00 */ li r3, 0 -/* 80034858 000317B8 4E 80 00 20 */ blr - -.global __dt__Q224CCharacterFactoryBuilder13CDummyFactoryFv -__dt__Q224CCharacterFactoryBuilder13CDummyFactoryFv: -/* 8003485C 000317BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80034860 000317C0 7C 08 02 A6 */ mflr r0 -/* 80034864 000317C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80034868 000317C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003486C 000317CC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80034870 000317D0 41 82 00 30 */ beq lbl_800348A0 -/* 80034874 000317D4 3C 60 80 3E */ lis r3, lbl_803D9C88@ha -/* 80034878 000317D8 38 03 9C 88 */ addi r0, r3, lbl_803D9C88@l -/* 8003487C 000317DC 90 1F 00 00 */ stw r0, 0(r31) -/* 80034880 000317E0 41 82 00 10 */ beq lbl_80034890 -/* 80034884 000317E4 3C 60 80 3E */ lis r3, lbl_803D9C50@ha -/* 80034888 000317E8 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l -/* 8003488C 000317EC 90 1F 00 00 */ stw r0, 0(r31) -lbl_80034890: -/* 80034890 000317F0 7C 80 07 35 */ extsh. r0, r4 -/* 80034894 000317F4 40 81 00 0C */ ble lbl_800348A0 -/* 80034898 000317F8 7F E3 FB 78 */ mr r3, r31 -/* 8003489C 000317FC 48 2E 10 95 */ bl Free__7CMemoryFPCv -lbl_800348A0: -/* 800348A0 00031800 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800348A4 00031804 7F E3 FB 78 */ mr r3, r31 -/* 800348A8 00031808 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800348AC 0003180C 7C 08 03 A6 */ mtlr r0 -/* 800348B0 00031810 38 21 00 10 */ addi r1, r1, 0x10 -/* 800348B4 00031814 4E 80 00 20 */ blr - -.global GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes -GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes: -/* 800348B8 00031818 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800348BC 0003181C 7C 08 02 A6 */ mflr r0 -/* 800348C0 00031820 90 01 00 34 */ stw r0, 0x34(r1) -/* 800348C4 00031824 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800348C8 00031828 7C BF 2B 78 */ mr r31, r5 -/* 800348CC 0003182C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800348D0 00031830 7C 9E 23 78 */ mr r30, r4 -/* 800348D4 00031834 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800348D8 00031838 7C 7D 1B 78 */ mr r29, r3 -/* 800348DC 0003183C 38 61 00 08 */ addi r3, r1, 8 -/* 800348E0 00031840 48 00 00 75 */ bl Null__15CVParamTransferFv -/* 800348E4 00031844 80 FF 00 00 */ lwz r7, 0(r31) -/* 800348E8 00031848 3C 60 41 4E */ lis r3, 0x414E4353@ha -/* 800348EC 0003184C 38 03 43 53 */ addi r0, r3, 0x414E4353@l -/* 800348F0 00031850 38 9E 00 04 */ addi r4, r30, 4 -/* 800348F4 00031854 90 01 00 14 */ stw r0, 0x14(r1) -/* 800348F8 00031858 38 61 00 0C */ addi r3, r1, 0xc -/* 800348FC 0003185C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80034900 00031860 38 C1 00 08 */ addi r6, r1, 8 -/* 80034904 00031864 90 E1 00 18 */ stw r7, 0x18(r1) -/* 80034908 00031868 81 9E 00 04 */ lwz r12, 4(r30) -/* 8003490C 0003186C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80034910 00031870 7D 89 03 A6 */ mtctr r12 -/* 80034914 00031874 4E 80 04 21 */ bctrl -/* 80034918 00031878 7F A3 EB 78 */ mr r3, r29 -/* 8003491C 0003187C 38 81 00 0C */ addi r4, r1, 0xc -/* 80034920 00031880 48 30 C5 89 */ bl __ct__6CTokenFRC6CToken -/* 80034924 00031884 38 61 00 0C */ addi r3, r1, 0xc -/* 80034928 00031888 38 80 FF FF */ li r4, -1 -/* 8003492C 0003188C 48 30 C5 15 */ bl __dt__6CTokenFv -/* 80034930 00031890 38 61 00 08 */ addi r3, r1, 8 -/* 80034934 00031894 4B FF F9 D1 */ bl sub_80034304 -/* 80034938 00031898 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8003493C 0003189C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80034940 000318A0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80034944 000318A4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80034948 000318A8 7C 08 03 A6 */ mtlr r0 -/* 8003494C 000318AC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80034950 000318B0 4E 80 00 20 */ blr - -.global Null__15CVParamTransferFv -Null__15CVParamTransferFv: -/* 80034954 000318B4 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 -/* 80034958 000318B8 90 03 00 00 */ stw r0, 0(r3) -/* 8003495C 000318BC 80 83 00 00 */ lwz r4, 0(r3) -/* 80034960 000318C0 80 64 00 04 */ lwz r3, 4(r4) -/* 80034964 000318C4 38 03 00 01 */ addi r0, r3, 1 -/* 80034968 000318C8 90 04 00 04 */ stw r0, 4(r4) -/* 8003496C 000318CC 4E 80 00 20 */ blr - -.global __dt__24CCharacterFactoryBuilderFv -__dt__24CCharacterFactoryBuilderFv: -/* 80034970 000318D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80034974 000318D4 7C 08 02 A6 */ mflr r0 -/* 80034978 000318D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003497C 000318DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80034980 000318E0 7C 9F 23 78 */ mr r31, r4 -/* 80034984 000318E4 93 C1 00 08 */ stw r30, 8(r1) -/* 80034988 000318E8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8003498C 000318EC 41 82 00 44 */ beq lbl_800349D0 -/* 80034990 000318F0 38 7E 00 04 */ addi r3, r30, 4 -/* 80034994 000318F4 38 80 FF FF */ li r4, -1 -/* 80034998 000318F8 48 30 BD 71 */ bl __dt__11CSimplePool -/* 8003499C 000318FC 28 1E 00 00 */ cmplwi r30, 0 -/* 800349A0 00031900 41 82 00 20 */ beq lbl_800349C0 -/* 800349A4 00031904 3C 60 80 3E */ lis r3, lbl_803D9C88@ha -/* 800349A8 00031908 38 03 9C 88 */ addi r0, r3, lbl_803D9C88@l -/* 800349AC 0003190C 90 1E 00 00 */ stw r0, 0(r30) -/* 800349B0 00031910 41 82 00 10 */ beq lbl_800349C0 -/* 800349B4 00031914 3C 60 80 3E */ lis r3, lbl_803D9C50@ha -/* 800349B8 00031918 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l -/* 800349BC 0003191C 90 1E 00 00 */ stw r0, 0(r30) -lbl_800349C0: -/* 800349C0 00031920 7F E0 07 35 */ extsh. r0, r31 -/* 800349C4 00031924 40 81 00 0C */ ble lbl_800349D0 -/* 800349C8 00031928 7F C3 F3 78 */ mr r3, r30 -/* 800349CC 0003192C 48 2E 0F 65 */ bl Free__7CMemoryFPCv -lbl_800349D0: -/* 800349D0 00031930 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800349D4 00031934 7F C3 F3 78 */ mr r3, r30 -/* 800349D8 00031938 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800349DC 0003193C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800349E0 00031940 7C 08 03 A6 */ mtlr r0 -/* 800349E4 00031944 38 21 00 10 */ addi r1, r1, 0x10 -/* 800349E8 00031948 4E 80 00 20 */ blr - -.global __ct__24CCharacterFactoryBuilderFv_0 -__ct__24CCharacterFactoryBuilderFv_0: -/* 800349EC 0003194C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800349F0 00031950 7C 08 02 A6 */ mflr r0 -/* 800349F4 00031954 3C 80 80 3E */ lis r4, lbl_803D9C50@ha -/* 800349F8 00031958 90 01 00 14 */ stw r0, 0x14(r1) -/* 800349FC 0003195C 38 04 9C 50 */ addi r0, r4, lbl_803D9C50@l -/* 80034A00 00031960 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80034A04 00031964 7C 7F 1B 78 */ mr r31, r3 -/* 80034A08 00031968 3C 60 80 3E */ lis r3, lbl_803D9C88@ha -/* 80034A0C 0003196C 90 1F 00 00 */ stw r0, 0(r31) -/* 80034A10 00031970 38 03 9C 88 */ addi r0, r3, lbl_803D9C88@l -/* 80034A14 00031974 7F E4 FB 78 */ mr r4, r31 -/* 80034A18 00031978 7F E5 FB 78 */ mr r5, r31 -/* 80034A1C 0003197C 90 1F 00 00 */ stw r0, 0(r31) -/* 80034A20 00031980 38 64 00 04 */ addi r3, r4, 4 -/* 80034A24 00031984 48 30 BD B1 */ bl __ct__11CSimplePoolFR8IFactory -/* 80034A28 00031988 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80034A2C 0003198C 7F E3 FB 78 */ mr r3, r31 -/* 80034A30 00031990 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80034A34 00031994 7C 08 03 A6 */ mtlr r0 -/* 80034A38 00031998 38 21 00 10 */ addi r1, r1, 0x10 -/* 80034A3C 0003199C 4E 80 00 20 */ blr - -.global CancelBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag -CancelBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag: -/* 80034A40 000319A0 4E 80 00 20 */ blr - -.global BuildAsync__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj -BuildAsync__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj: -/* 80034A44 000319A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80034A48 000319A8 7C 08 02 A6 */ mflr r0 -/* 80034A4C 000319AC 7C 87 23 78 */ mr r7, r4 -/* 80034A50 000319B0 7C 64 1B 78 */ mr r4, r3 -/* 80034A54 000319B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80034A58 000319B8 7C A0 2B 78 */ mr r0, r5 -/* 80034A5C 000319BC 7C E5 3B 78 */ mr r5, r7 -/* 80034A60 000319C0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80034A64 000319C4 7C DF 33 78 */ mr r31, r6 -/* 80034A68 000319C8 7C 06 03 78 */ mr r6, r0 -/* 80034A6C 000319CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80034A70 000319D0 38 61 00 08 */ addi r3, r1, 8 -/* 80034A74 000319D4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80034A78 000319D8 7D 89 03 A6 */ mtctr r12 -/* 80034A7C 000319DC 4E 80 04 21 */ bctrl -/* 80034A80 000319E0 38 00 00 00 */ li r0, 0 -/* 80034A84 000319E4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80034A88 000319E8 98 01 00 08 */ stb r0, 8(r1) -/* 80034A8C 000319EC 90 7F 00 00 */ stw r3, 0(r31) -/* 80034A90 000319F0 88 01 00 08 */ lbz r0, 8(r1) -/* 80034A94 000319F4 28 00 00 00 */ cmplwi r0, 0 -/* 80034A98 000319F8 41 82 00 24 */ beq lbl_80034ABC -/* 80034A9C 000319FC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80034AA0 00031A00 28 03 00 00 */ cmplwi r3, 0 -/* 80034AA4 00031A04 41 82 00 18 */ beq lbl_80034ABC -/* 80034AA8 00031A08 81 83 00 00 */ lwz r12, 0(r3) -/* 80034AAC 00031A0C 38 80 00 01 */ li r4, 1 -/* 80034AB0 00031A10 81 8C 00 08 */ lwz r12, 8(r12) -/* 80034AB4 00031A14 7D 89 03 A6 */ mtctr r12 -/* 80034AB8 00031A18 4E 80 04 21 */ bctrl -lbl_80034ABC: -/* 80034ABC 00031A1C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80034AC0 00031A20 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80034AC4 00031A24 7C 08 03 A6 */ mtlr r0 -/* 80034AC8 00031A28 38 21 00 20 */ addi r1, r1, 0x20 -/* 80034ACC 00031A2C 4E 80 00 20 */ blr - -.global Build__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer -Build__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer: -/* 80034AD0 00031A30 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80034AD4 00031A34 7C 08 02 A6 */ mflr r0 -/* 80034AD8 00031A38 3C 80 41 4E */ lis r4, 0x414E4353@ha -/* 80034ADC 00031A3C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80034AE0 00031A40 38 04 43 53 */ addi r0, r4, 0x414E4353@l -/* 80034AE4 00031A44 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80034AE8 00031A48 7C 7F 1B 78 */ mr r31, r3 -/* 80034AEC 00031A4C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80034AF0 00031A50 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80034AF4 00031A54 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80034AF8 00031A58 83 A5 00 04 */ lwz r29, 4(r5) -/* 80034AFC 00031A5C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80034B00 00031A60 90 01 00 28 */ stw r0, 0x28(r1) -/* 80034B04 00031A64 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80034B08 00031A68 93 A1 00 2C */ stw r29, 0x2c(r1) -/* 80034B0C 00031A6C 81 84 00 00 */ lwz r12, 0(r4) -/* 80034B10 00031A70 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80034B14 00031A74 7D 89 03 A6 */ mtctr r12 -/* 80034B18 00031A78 4E 80 04 21 */ bctrl -/* 80034B1C 00031A7C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80034B20 00031A80 38 81 00 20 */ addi r4, r1, 0x20 -/* 80034B24 00031A84 48 30 C3 85 */ bl __ct__6CTokenFRC6CToken -/* 80034B28 00031A88 38 61 00 20 */ addi r3, r1, 0x20 -/* 80034B2C 00031A8C 38 80 FF FF */ li r4, -1 -/* 80034B30 00031A90 48 30 C3 11 */ bl __dt__6CTokenFv -/* 80034B34 00031A94 3C 80 80 3D */ lis r4, lbl_803CCD80@ha -/* 80034B38 00031A98 38 60 00 90 */ li r3, 0x90 -/* 80034B3C 00031A9C 38 84 CD 80 */ addi r4, r4, lbl_803CCD80@l -/* 80034B40 00031AA0 38 A0 00 00 */ li r5, 0 -/* 80034B44 00031AA4 48 2E 0D 29 */ bl __nw__FUlPCcPCc -/* 80034B48 00031AA8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80034B4C 00031AAC 41 82 00 24 */ beq lbl_80034B70 -/* 80034B50 00031AB0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80034B54 00031AB4 48 30 C2 B9 */ bl GetObj__6CTokenFv -/* 80034B58 00031AB8 80 A3 00 04 */ lwz r5, 4(r3) -/* 80034B5C 00031ABC 7F C3 F3 78 */ mr r3, r30 -/* 80034B60 00031AC0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80034B64 00031AC4 7F A6 EB 78 */ mr r6, r29 -/* 80034B68 00031AC8 4B FF DB 95 */ bl __ct__17CCharacterFactoryFR11CSimplePoolRC17CAnimCharacterSetUi -/* 80034B6C 00031ACC 7C 7E 1B 78 */ mr r30, r3 -lbl_80034B70: -/* 80034B70 00031AD0 7C 1E 00 D0 */ neg r0, r30 -/* 80034B74 00031AD4 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80034B78 00031AD8 7C 00 F3 78 */ or r0, r0, r30 -/* 80034B7C 00031ADC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80034B80 00031AE0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80034B84 00031AE4 38 81 00 08 */ addi r4, r1, 8 -/* 80034B88 00031AE8 98 01 00 08 */ stb r0, 8(r1) -/* 80034B8C 00031AEC 48 00 01 69 */ bl sub_80034cf4 -/* 80034B90 00031AF0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80034B94 00031AF4 38 00 00 00 */ li r0, 0 -/* 80034B98 00031AF8 98 01 00 10 */ stb r0, 0x10(r1) -/* 80034B9C 00031AFC 7C 03 00 D0 */ neg r0, r3 -/* 80034BA0 00031B00 7C 00 1B 78 */ or r0, r0, r3 -/* 80034BA4 00031B04 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80034BA8 00031B08 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80034BAC 00031B0C 98 01 00 18 */ stb r0, 0x18(r1) -/* 80034BB0 00031B10 48 00 00 1C */ b lbl_80034BCC -/* 80034BB4 00031B14 41 82 00 18 */ beq lbl_80034BCC -/* 80034BB8 00031B18 81 83 00 00 */ lwz r12, 0(r3) -/* 80034BBC 00031B1C 38 80 00 01 */ li r4, 1 -/* 80034BC0 00031B20 81 8C 00 08 */ lwz r12, 8(r12) -/* 80034BC4 00031B24 7D 89 03 A6 */ mtctr r12 -/* 80034BC8 00031B28 4E 80 04 21 */ bctrl -lbl_80034BCC: -/* 80034BCC 00031B2C 88 01 00 08 */ lbz r0, 8(r1) -/* 80034BD0 00031B30 28 00 00 00 */ cmplwi r0, 0 -/* 80034BD4 00031B34 41 82 00 24 */ beq lbl_80034BF8 -/* 80034BD8 00031B38 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80034BDC 00031B3C 28 03 00 00 */ cmplwi r3, 0 -/* 80034BE0 00031B40 41 82 00 18 */ beq lbl_80034BF8 -/* 80034BE4 00031B44 81 83 00 00 */ lwz r12, 0(r3) -/* 80034BE8 00031B48 38 80 00 01 */ li r4, 1 -/* 80034BEC 00031B4C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80034BF0 00031B50 7D 89 03 A6 */ mtctr r12 -/* 80034BF4 00031B54 4E 80 04 21 */ bctrl -lbl_80034BF8: -/* 80034BF8 00031B58 88 81 00 18 */ lbz r4, 0x18(r1) -/* 80034BFC 00031B5C 38 00 00 00 */ li r0, 0 -/* 80034C00 00031B60 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80034C04 00031B64 98 9F 00 00 */ stb r4, 0(r31) -/* 80034C08 00031B68 90 7F 00 04 */ stw r3, 4(r31) -/* 80034C0C 00031B6C 98 01 00 18 */ stb r0, 0x18(r1) -/* 80034C10 00031B70 48 00 00 1C */ b lbl_80034C2C -/* 80034C14 00031B74 41 82 00 18 */ beq lbl_80034C2C -/* 80034C18 00031B78 81 83 00 00 */ lwz r12, 0(r3) -/* 80034C1C 00031B7C 38 80 00 01 */ li r4, 1 -/* 80034C20 00031B80 81 8C 00 08 */ lwz r12, 8(r12) -/* 80034C24 00031B84 7D 89 03 A6 */ mtctr r12 -/* 80034C28 00031B88 4E 80 04 21 */ bctrl -lbl_80034C2C: -/* 80034C2C 00031B8C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80034C30 00031B90 38 80 00 00 */ li r4, 0 -/* 80034C34 00031B94 48 30 C2 0D */ bl __dt__6CTokenFv -/* 80034C38 00031B98 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80034C3C 00031B9C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80034C40 00031BA0 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80034C44 00031BA4 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80034C48 00031BA8 7C 08 03 A6 */ mtlr r0 -/* 80034C4C 00031BAC 38 21 00 50 */ addi r1, r1, 0x50 -/* 80034C50 00031BB0 4E 80 00 20 */ blr - -.global sub_80034c54 -sub_80034c54: -/* 80034C54 00031BB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80034C58 00031BB8 7C 08 02 A6 */ mflr r0 -/* 80034C5C 00031BBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80034C60 00031BC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80034C64 00031BC4 7C 9F 23 78 */ mr r31, r4 -/* 80034C68 00031BC8 93 C1 00 08 */ stw r30, 8(r1) -/* 80034C6C 00031BCC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80034C70 00031BD0 41 82 00 68 */ beq lbl_80034CD8 -/* 80034C74 00031BD4 3C 60 80 3E */ lis r3, lbl_803D9CA8@ha -/* 80034C78 00031BD8 38 03 9C A8 */ addi r0, r3, lbl_803D9CA8@l -/* 80034C7C 00031BDC 90 1E 00 00 */ stw r0, 0(r30) -/* 80034C80 00031BE0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80034C84 00031BE4 28 03 00 00 */ cmplwi r3, 0 -/* 80034C88 00031BE8 41 82 00 1C */ beq lbl_80034CA4 -/* 80034C8C 00031BEC 41 82 00 18 */ beq lbl_80034CA4 -/* 80034C90 00031BF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80034C94 00031BF4 38 80 00 01 */ li r4, 1 -/* 80034C98 00031BF8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80034C9C 00031BFC 7D 89 03 A6 */ mtctr r12 -/* 80034CA0 00031C00 4E 80 04 21 */ bctrl -lbl_80034CA4: -/* 80034CA4 00031C04 28 1E 00 00 */ cmplwi r30, 0 -/* 80034CA8 00031C08 41 82 00 20 */ beq lbl_80034CC8 -/* 80034CAC 00031C0C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 80034CB0 00031C10 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 80034CB4 00031C14 90 1E 00 00 */ stw r0, 0(r30) -/* 80034CB8 00031C18 41 82 00 10 */ beq lbl_80034CC8 -/* 80034CBC 00031C1C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80034CC0 00031C20 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80034CC4 00031C24 90 1E 00 00 */ stw r0, 0(r30) -lbl_80034CC8: -/* 80034CC8 00031C28 7F E0 07 35 */ extsh. r0, r31 -/* 80034CCC 00031C2C 40 81 00 0C */ ble lbl_80034CD8 -/* 80034CD0 00031C30 7F C3 F3 78 */ mr r3, r30 -/* 80034CD4 00031C34 48 2E 0C 5D */ bl Free__7CMemoryFPCv -lbl_80034CD8: -/* 80034CD8 00031C38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80034CDC 00031C3C 7F C3 F3 78 */ mr r3, r30 -/* 80034CE0 00031C40 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80034CE4 00031C44 83 C1 00 08 */ lwz r30, 8(r1) -/* 80034CE8 00031C48 7C 08 03 A6 */ mtlr r0 -/* 80034CEC 00031C4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80034CF0 00031C50 4E 80 00 20 */ blr - -.global sub_80034cf4 -sub_80034cf4: -/* 80034CF4 00031C54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80034CF8 00031C58 7C 08 02 A6 */ mflr r0 -/* 80034CFC 00031C5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80034D00 00031C60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80034D04 00031C64 7C 7F 1B 78 */ mr r31, r3 -/* 80034D08 00031C68 48 00 00 19 */ bl sub_80034d20 -/* 80034D0C 00031C6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80034D10 00031C70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80034D14 00031C74 7C 08 03 A6 */ mtlr r0 -/* 80034D18 00031C78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80034D1C 00031C7C 4E 80 00 20 */ blr - -.global sub_80034d20 -sub_80034d20: -/* 80034D20 00031C80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80034D24 00031C84 7C 08 02 A6 */ mflr r0 -/* 80034D28 00031C88 3C A0 80 3D */ lis r5, lbl_803CCD80@ha -/* 80034D2C 00031C8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80034D30 00031C90 38 05 CD 80 */ addi r0, r5, lbl_803CCD80@l -/* 80034D34 00031C94 38 A0 00 00 */ li r5, 0 -/* 80034D38 00031C98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80034D3C 00031C9C 7C 9F 23 78 */ mr r31, r4 -/* 80034D40 00031CA0 7C 04 03 78 */ mr r4, r0 -/* 80034D44 00031CA4 93 C1 00 08 */ stw r30, 8(r1) -/* 80034D48 00031CA8 7C 7E 1B 78 */ mr r30, r3 -/* 80034D4C 00031CAC 38 60 00 08 */ li r3, 8 -/* 80034D50 00031CB0 48 2E 0B 1D */ bl __nw__FUlPCcPCc -/* 80034D54 00031CB4 28 03 00 00 */ cmplwi r3, 0 -/* 80034D58 00031CB8 41 82 00 38 */ beq lbl_80034D90 -/* 80034D5C 00031CBC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80034D60 00031CC0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80034D64 00031CC4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80034D68 00031CC8 3C 80 80 3E */ lis r4, lbl_803D9CA8@ha -/* 80034D6C 00031CCC 90 03 00 00 */ stw r0, 0(r3) -/* 80034D70 00031CD0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 80034D74 00031CD4 38 A0 00 00 */ li r5, 0 -/* 80034D78 00031CD8 38 04 9C A8 */ addi r0, r4, lbl_803D9CA8@l -/* 80034D7C 00031CDC 90 C3 00 00 */ stw r6, 0(r3) -/* 80034D80 00031CE0 98 BF 00 00 */ stb r5, 0(r31) -/* 80034D84 00031CE4 80 9F 00 04 */ lwz r4, 4(r31) -/* 80034D88 00031CE8 90 83 00 04 */ stw r4, 4(r3) -/* 80034D8C 00031CEC 90 03 00 00 */ stw r0, 0(r3) -lbl_80034D90: -/* 80034D90 00031CF0 7C 03 00 D0 */ neg r0, r3 -/* 80034D94 00031CF4 7C 00 1B 78 */ or r0, r0, r3 -/* 80034D98 00031CF8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80034D9C 00031CFC 98 1E 00 00 */ stb r0, 0(r30) -/* 80034DA0 00031D00 90 7E 00 04 */ stw r3, 4(r30) -/* 80034DA4 00031D04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80034DA8 00031D08 83 C1 00 08 */ lwz r30, 8(r1) -/* 80034DAC 00031D0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80034DB0 00031D10 7C 08 03 A6 */ mtlr r0 -/* 80034DB4 00031D14 38 21 00 10 */ addi r1, r1, 0x10 -/* 80034DB8 00031D18 4E 80 00 20 */ blr - -.global sub_80034dbc -sub_80034dbc: -/* 80034DBC 00031D1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80034DC0 00031D20 7C 08 02 A6 */ mflr r0 -/* 80034DC4 00031D24 90 01 00 14 */ stw r0, 0x14(r1) -/* 80034DC8 00031D28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80034DCC 00031D2C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80034DD0 00031D30 41 82 00 1C */ beq lbl_80034DEC -/* 80034DD4 00031D34 3C A0 80 3E */ lis r5, lbl_803D9C2C@ha -/* 80034DD8 00031D38 7C 80 07 35 */ extsh. r0, r4 -/* 80034DDC 00031D3C 38 05 9C 2C */ addi r0, r5, lbl_803D9C2C@l -/* 80034DE0 00031D40 90 1F 00 00 */ stw r0, 0(r31) -/* 80034DE4 00031D44 40 81 00 08 */ ble lbl_80034DEC -/* 80034DE8 00031D48 48 2E 0B 49 */ bl Free__7CMemoryFPCv -lbl_80034DEC: -/* 80034DEC 00031D4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80034DF0 00031D50 7F E3 FB 78 */ mr r3, r31 -/* 80034DF4 00031D54 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80034DF8 00031D58 7C 08 03 A6 */ mtlr r0 -/* 80034DFC 00031D5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80034E00 00031D60 4E 80 00 20 */ blr - -.global __ct__12CTweakPlayerFR12CInputStream -__ct__12CTweakPlayerFR12CInputStream: -/* 80034E04 00031D64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80034E08 00031D68 7C 08 02 A6 */ mflr r0 -/* 80034E0C 00031D6C 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha -/* 80034E10 00031D70 3C A0 80 3E */ lis r5, lbl_803D9CB8@ha -/* 80034E14 00031D74 90 01 00 24 */ stw r0, 0x24(r1) -/* 80034E18 00031D78 38 05 9C B8 */ addi r0, r5, lbl_803D9CB8@l -/* 80034E1C 00031D7C C0 02 83 F8 */ lfs f0, lbl_805AA118@sda21(r2) -/* 80034E20 00031D80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80034E24 00031D84 7C 9F 23 78 */ mr r31, r4 -/* 80034E28 00031D88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80034E2C 00031D8C 7C 7E 1B 78 */ mr r30, r3 -/* 80034E30 00031D90 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l -/* 80034E34 00031D94 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80034E38 00031D98 3B A0 00 00 */ li r29, 0 -/* 80034E3C 00031D9C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80034E40 00031DA0 3B 80 00 00 */ li r28, 0 -/* 80034E44 00031DA4 90 7E 00 00 */ stw r3, 0(r30) -/* 80034E48 00031DA8 90 1E 00 00 */ stw r0, 0(r30) -/* 80034E4C 00031DAC D0 1E 02 D8 */ stfs f0, 0x2d8(r30) -/* 80034E50 00031DB0 D0 1E 02 DC */ stfs f0, 0x2dc(r30) -/* 80034E54 00031DB4 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) -/* 80034E58 00031DB8 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) -lbl_80034E5C: -/* 80034E5C 00031DBC 7F E3 FB 78 */ mr r3, r31 -/* 80034E60 00031DC0 48 30 9D C9 */ bl ReadFloat__12CInputStreamFv -/* 80034E64 00031DC4 3B 9C 00 01 */ addi r28, r28, 1 -/* 80034E68 00031DC8 38 1D 00 04 */ addi r0, r29, 4 -/* 80034E6C 00031DCC 2C 1C 00 08 */ cmpwi r28, 8 -/* 80034E70 00031DD0 7C 3E 05 2E */ stfsx f1, r30, r0 -/* 80034E74 00031DD4 3B BD 00 04 */ addi r29, r29, 4 -/* 80034E78 00031DD8 41 80 FF E4 */ blt lbl_80034E5C -/* 80034E7C 00031DDC 3B 80 00 00 */ li r28, 0 -/* 80034E80 00031DE0 7F 9D E3 78 */ mr r29, r28 -lbl_80034E84: -/* 80034E84 00031DE4 7F E3 FB 78 */ mr r3, r31 -/* 80034E88 00031DE8 48 30 9D A1 */ bl ReadFloat__12CInputStreamFv -/* 80034E8C 00031DEC 3B 9C 00 01 */ addi r28, r28, 1 -/* 80034E90 00031DF0 38 1D 00 24 */ addi r0, r29, 0x24 -/* 80034E94 00031DF4 2C 1C 00 08 */ cmpwi r28, 8 -/* 80034E98 00031DF8 7C 3E 05 2E */ stfsx f1, r30, r0 -/* 80034E9C 00031DFC 3B BD 00 04 */ addi r29, r29, 4 -/* 80034EA0 00031E00 41 80 FF E4 */ blt lbl_80034E84 -/* 80034EA4 00031E04 3B 80 00 00 */ li r28, 0 -/* 80034EA8 00031E08 7F 9D E3 78 */ mr r29, r28 -lbl_80034EAC: -/* 80034EAC 00031E0C 7F E3 FB 78 */ mr r3, r31 -/* 80034EB0 00031E10 48 30 9D 79 */ bl ReadFloat__12CInputStreamFv -/* 80034EB4 00031E14 3B 9C 00 01 */ addi r28, r28, 1 -/* 80034EB8 00031E18 38 1D 00 44 */ addi r0, r29, 0x44 -/* 80034EBC 00031E1C 2C 1C 00 08 */ cmpwi r28, 8 -/* 80034EC0 00031E20 7C 3E 05 2E */ stfsx f1, r30, r0 -/* 80034EC4 00031E24 3B BD 00 04 */ addi r29, r29, 4 -/* 80034EC8 00031E28 41 80 FF E4 */ blt lbl_80034EAC -/* 80034ECC 00031E2C 3B 80 00 00 */ li r28, 0 -/* 80034ED0 00031E30 7F 9D E3 78 */ mr r29, r28 -lbl_80034ED4: -/* 80034ED4 00031E34 7F E3 FB 78 */ mr r3, r31 -/* 80034ED8 00031E38 48 30 9D 51 */ bl ReadFloat__12CInputStreamFv -/* 80034EDC 00031E3C 3B 9C 00 01 */ addi r28, r28, 1 -/* 80034EE0 00031E40 38 1D 00 64 */ addi r0, r29, 0x64 -/* 80034EE4 00031E44 2C 1C 00 08 */ cmpwi r28, 8 -/* 80034EE8 00031E48 7C 3E 05 2E */ stfsx f1, r30, r0 -/* 80034EEC 00031E4C 3B BD 00 04 */ addi r29, r29, 4 -/* 80034EF0 00031E50 41 80 FF E4 */ blt lbl_80034ED4 -/* 80034EF4 00031E54 3B 80 00 00 */ li r28, 0 -/* 80034EF8 00031E58 7F 9D E3 78 */ mr r29, r28 -lbl_80034EFC: -/* 80034EFC 00031E5C 7F E3 FB 78 */ mr r3, r31 -/* 80034F00 00031E60 48 30 9D 29 */ bl ReadFloat__12CInputStreamFv -/* 80034F04 00031E64 3B 9C 00 01 */ addi r28, r28, 1 -/* 80034F08 00031E68 38 1D 00 84 */ addi r0, r29, 0x84 -/* 80034F0C 00031E6C 2C 1C 00 08 */ cmpwi r28, 8 -/* 80034F10 00031E70 7C 3E 05 2E */ stfsx f1, r30, r0 -/* 80034F14 00031E74 3B BD 00 04 */ addi r29, r29, 4 -/* 80034F18 00031E78 41 80 FF E4 */ blt lbl_80034EFC -/* 80034F1C 00031E7C 3B 80 00 00 */ li r28, 0 -/* 80034F20 00031E80 7F 9D E3 78 */ mr r29, r28 -lbl_80034F24: -/* 80034F24 00031E84 7F E3 FB 78 */ mr r3, r31 -/* 80034F28 00031E88 48 30 9D 01 */ bl ReadFloat__12CInputStreamFv -/* 80034F2C 00031E8C 3B 9C 00 01 */ addi r28, r28, 1 -/* 80034F30 00031E90 38 1D 00 A4 */ addi r0, r29, 0xa4 -/* 80034F34 00031E94 2C 1C 00 08 */ cmpwi r28, 8 -/* 80034F38 00031E98 7C 3E 05 2E */ stfsx f1, r30, r0 -/* 80034F3C 00031E9C 3B BD 00 04 */ addi r29, r29, 4 -/* 80034F40 00031EA0 41 80 FF E4 */ blt lbl_80034F24 -/* 80034F44 00031EA4 7F E3 FB 78 */ mr r3, r31 -/* 80034F48 00031EA8 48 30 9C E1 */ bl ReadFloat__12CInputStreamFv -/* 80034F4C 00031EAC D0 3E 00 C4 */ stfs f1, 0xc4(r30) -/* 80034F50 00031EB0 7F E3 FB 78 */ mr r3, r31 -/* 80034F54 00031EB4 48 30 9C D5 */ bl ReadFloat__12CInputStreamFv -/* 80034F58 00031EB8 D0 3E 00 C8 */ stfs f1, 0xc8(r30) -/* 80034F5C 00031EBC 7F E3 FB 78 */ mr r3, r31 -/* 80034F60 00031EC0 48 30 9C C9 */ bl ReadFloat__12CInputStreamFv -/* 80034F64 00031EC4 D0 3E 00 CC */ stfs f1, 0xcc(r30) -/* 80034F68 00031EC8 7F E3 FB 78 */ mr r3, r31 -/* 80034F6C 00031ECC 48 30 9C BD */ bl ReadFloat__12CInputStreamFv -/* 80034F70 00031ED0 D0 3E 00 D0 */ stfs f1, 0xd0(r30) -/* 80034F74 00031ED4 7F E3 FB 78 */ mr r3, r31 -/* 80034F78 00031ED8 48 30 9C B1 */ bl ReadFloat__12CInputStreamFv -/* 80034F7C 00031EDC D0 3E 00 D4 */ stfs f1, 0xd4(r30) -/* 80034F80 00031EE0 7F E3 FB 78 */ mr r3, r31 -/* 80034F84 00031EE4 48 30 9C A5 */ bl ReadFloat__12CInputStreamFv -/* 80034F88 00031EE8 D0 3E 00 D8 */ stfs f1, 0xd8(r30) -/* 80034F8C 00031EEC 7F E3 FB 78 */ mr r3, r31 -/* 80034F90 00031EF0 48 30 9C 99 */ bl ReadFloat__12CInputStreamFv -/* 80034F94 00031EF4 D0 3E 00 DC */ stfs f1, 0xdc(r30) -/* 80034F98 00031EF8 7F E3 FB 78 */ mr r3, r31 -/* 80034F9C 00031EFC 48 30 9C 8D */ bl ReadFloat__12CInputStreamFv -/* 80034FA0 00031F00 D0 3E 00 E0 */ stfs f1, 0xe0(r30) -/* 80034FA4 00031F04 7F E3 FB 78 */ mr r3, r31 -/* 80034FA8 00031F08 48 30 9C 81 */ bl ReadFloat__12CInputStreamFv -/* 80034FAC 00031F0C D0 3E 00 E4 */ stfs f1, 0xe4(r30) -/* 80034FB0 00031F10 7F E3 FB 78 */ mr r3, r31 -/* 80034FB4 00031F14 48 30 9C 75 */ bl ReadFloat__12CInputStreamFv -/* 80034FB8 00031F18 D0 3E 00 E8 */ stfs f1, 0xe8(r30) -/* 80034FBC 00031F1C 7F E3 FB 78 */ mr r3, r31 -/* 80034FC0 00031F20 48 30 9C 69 */ bl ReadFloat__12CInputStreamFv -/* 80034FC4 00031F24 D0 3E 00 EC */ stfs f1, 0xec(r30) -/* 80034FC8 00031F28 7F E3 FB 78 */ mr r3, r31 -/* 80034FCC 00031F2C 48 30 9C 5D */ bl ReadFloat__12CInputStreamFv -/* 80034FD0 00031F30 D0 3E 00 F0 */ stfs f1, 0xf0(r30) -/* 80034FD4 00031F34 7F E3 FB 78 */ mr r3, r31 -/* 80034FD8 00031F38 48 30 9C 51 */ bl ReadFloat__12CInputStreamFv -/* 80034FDC 00031F3C D0 3E 00 F4 */ stfs f1, 0xf4(r30) -/* 80034FE0 00031F40 7F E3 FB 78 */ mr r3, r31 -/* 80034FE4 00031F44 48 30 9C 45 */ bl ReadFloat__12CInputStreamFv -/* 80034FE8 00031F48 D0 3E 00 F8 */ stfs f1, 0xf8(r30) -/* 80034FEC 00031F4C 7F E3 FB 78 */ mr r3, r31 -/* 80034FF0 00031F50 48 30 9C 39 */ bl ReadFloat__12CInputStreamFv -/* 80034FF4 00031F54 D0 3E 00 FC */ stfs f1, 0xfc(r30) -/* 80034FF8 00031F58 7F E3 FB 78 */ mr r3, r31 -/* 80034FFC 00031F5C 48 30 9C 2D */ bl ReadFloat__12CInputStreamFv -/* 80035000 00031F60 D0 3E 01 00 */ stfs f1, 0x100(r30) -/* 80035004 00031F64 7F E3 FB 78 */ mr r3, r31 -/* 80035008 00031F68 48 30 9C 21 */ bl ReadFloat__12CInputStreamFv -/* 8003500C 00031F6C D0 3E 01 04 */ stfs f1, 0x104(r30) -/* 80035010 00031F70 7F E3 FB 78 */ mr r3, r31 -/* 80035014 00031F74 48 30 9C 15 */ bl ReadFloat__12CInputStreamFv -/* 80035018 00031F78 D0 3E 01 08 */ stfs f1, 0x108(r30) -/* 8003501C 00031F7C 7F E3 FB 78 */ mr r3, r31 -/* 80035020 00031F80 48 30 9C 09 */ bl ReadFloat__12CInputStreamFv -/* 80035024 00031F84 D0 3E 01 0C */ stfs f1, 0x10c(r30) -/* 80035028 00031F88 7F E3 FB 78 */ mr r3, r31 -/* 8003502C 00031F8C 48 30 9B FD */ bl ReadFloat__12CInputStreamFv -/* 80035030 00031F90 D0 3E 01 10 */ stfs f1, 0x110(r30) -/* 80035034 00031F94 7F E3 FB 78 */ mr r3, r31 -/* 80035038 00031F98 48 30 9B F1 */ bl ReadFloat__12CInputStreamFv -/* 8003503C 00031F9C D0 3E 01 14 */ stfs f1, 0x114(r30) -/* 80035040 00031FA0 7F E3 FB 78 */ mr r3, r31 -/* 80035044 00031FA4 48 30 9B E5 */ bl ReadFloat__12CInputStreamFv -/* 80035048 00031FA8 D0 3E 01 18 */ stfs f1, 0x118(r30) -/* 8003504C 00031FAC 7F E3 FB 78 */ mr r3, r31 -/* 80035050 00031FB0 48 30 9B D9 */ bl ReadFloat__12CInputStreamFv -/* 80035054 00031FB4 D0 3E 01 1C */ stfs f1, 0x11c(r30) -/* 80035058 00031FB8 7F E3 FB 78 */ mr r3, r31 -/* 8003505C 00031FBC 48 30 9B CD */ bl ReadFloat__12CInputStreamFv -/* 80035060 00031FC0 D0 3E 01 20 */ stfs f1, 0x120(r30) -/* 80035064 00031FC4 7F E3 FB 78 */ mr r3, r31 -/* 80035068 00031FC8 48 30 9B C1 */ bl ReadFloat__12CInputStreamFv -/* 8003506C 00031FCC D0 3E 01 24 */ stfs f1, 0x124(r30) -/* 80035070 00031FD0 7F E3 FB 78 */ mr r3, r31 -/* 80035074 00031FD4 48 30 9B B5 */ bl ReadFloat__12CInputStreamFv -/* 80035078 00031FD8 D0 3E 01 28 */ stfs f1, 0x128(r30) -/* 8003507C 00031FDC 7F E3 FB 78 */ mr r3, r31 -/* 80035080 00031FE0 48 30 9B A9 */ bl ReadFloat__12CInputStreamFv -/* 80035084 00031FE4 D0 3E 01 2C */ stfs f1, 0x12c(r30) -/* 80035088 00031FE8 7F E3 FB 78 */ mr r3, r31 -/* 8003508C 00031FEC 48 30 9B 9D */ bl ReadFloat__12CInputStreamFv -/* 80035090 00031FF0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035094 00031FF4 7F E3 FB 78 */ mr r3, r31 -/* 80035098 00031FF8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8003509C 00031FFC D0 1E 01 30 */ stfs f0, 0x130(r30) -/* 800350A0 00032000 48 30 9B 89 */ bl ReadFloat__12CInputStreamFv -/* 800350A4 00032004 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800350A8 00032008 7F E3 FB 78 */ mr r3, r31 -/* 800350AC 0003200C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800350B0 00032010 D0 1E 01 34 */ stfs f0, 0x134(r30) -/* 800350B4 00032014 48 30 9B 75 */ bl ReadFloat__12CInputStreamFv -/* 800350B8 00032018 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800350BC 0003201C 7F E3 FB 78 */ mr r3, r31 -/* 800350C0 00032020 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800350C4 00032024 D0 1E 01 38 */ stfs f0, 0x138(r30) -/* 800350C8 00032028 48 30 9B 61 */ bl ReadFloat__12CInputStreamFv -/* 800350CC 0003202C C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800350D0 00032030 7F E3 FB 78 */ mr r3, r31 -/* 800350D4 00032034 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800350D8 00032038 D0 1E 01 3C */ stfs f0, 0x13c(r30) -/* 800350DC 0003203C 48 30 9B 4D */ bl ReadFloat__12CInputStreamFv -/* 800350E0 00032040 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800350E4 00032044 7F E3 FB 78 */ mr r3, r31 -/* 800350E8 00032048 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800350EC 0003204C D0 1E 01 40 */ stfs f0, 0x140(r30) -/* 800350F0 00032050 48 30 9B 39 */ bl ReadFloat__12CInputStreamFv -/* 800350F4 00032054 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800350F8 00032058 7F E3 FB 78 */ mr r3, r31 -/* 800350FC 0003205C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035100 00032060 D0 1E 01 44 */ stfs f0, 0x144(r30) -/* 80035104 00032064 48 30 9B 25 */ bl ReadFloat__12CInputStreamFv -/* 80035108 00032068 D0 3E 01 48 */ stfs f1, 0x148(r30) -/* 8003510C 0003206C 7F E3 FB 78 */ mr r3, r31 -/* 80035110 00032070 48 30 9B 19 */ bl ReadFloat__12CInputStreamFv -/* 80035114 00032074 D0 3E 01 4C */ stfs f1, 0x14c(r30) -/* 80035118 00032078 7F E3 FB 78 */ mr r3, r31 -/* 8003511C 0003207C 48 30 9B 0D */ bl ReadFloat__12CInputStreamFv -/* 80035120 00032080 D0 3E 01 50 */ stfs f1, 0x150(r30) -/* 80035124 00032084 7F E3 FB 78 */ mr r3, r31 -/* 80035128 00032088 48 30 9B 01 */ bl ReadFloat__12CInputStreamFv -/* 8003512C 0003208C D0 3E 01 54 */ stfs f1, 0x154(r30) -/* 80035130 00032090 7F E3 FB 78 */ mr r3, r31 -/* 80035134 00032094 48 30 9B A9 */ bl ReadBool__12CInputStreamFv -/* 80035138 00032098 88 1E 02 28 */ lbz r0, 0x228(r30) -/* 8003513C 0003209C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80035140 000320A0 7F E3 FB 78 */ mr r3, r31 -/* 80035144 000320A4 98 1E 02 28 */ stb r0, 0x228(r30) -/* 80035148 000320A8 48 30 9B 95 */ bl ReadBool__12CInputStreamFv -/* 8003514C 000320AC 88 1E 02 28 */ lbz r0, 0x228(r30) -/* 80035150 000320B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80035154 000320B4 7F E3 FB 78 */ mr r3, r31 -/* 80035158 000320B8 98 1E 02 28 */ stb r0, 0x228(r30) -/* 8003515C 000320BC 48 30 9B 81 */ bl ReadBool__12CInputStreamFv -/* 80035160 000320C0 88 1E 02 28 */ lbz r0, 0x228(r30) -/* 80035164 000320C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80035168 000320C8 7F E3 FB 78 */ mr r3, r31 -/* 8003516C 000320CC 98 1E 02 28 */ stb r0, 0x228(r30) -/* 80035170 000320D0 48 30 9B 6D */ bl ReadBool__12CInputStreamFv -/* 80035174 000320D4 88 1E 02 28 */ lbz r0, 0x228(r30) -/* 80035178 000320D8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8003517C 000320DC 7F E3 FB 78 */ mr r3, r31 -/* 80035180 000320E0 98 1E 02 28 */ stb r0, 0x228(r30) -/* 80035184 000320E4 48 30 9B 59 */ bl ReadBool__12CInputStreamFv -/* 80035188 000320E8 88 1E 02 28 */ lbz r0, 0x228(r30) -/* 8003518C 000320EC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80035190 000320F0 7F E3 FB 78 */ mr r3, r31 -/* 80035194 000320F4 98 1E 02 28 */ stb r0, 0x228(r30) -/* 80035198 000320F8 48 30 9B 45 */ bl ReadBool__12CInputStreamFv -/* 8003519C 000320FC 88 1E 02 28 */ lbz r0, 0x228(r30) -/* 800351A0 00032100 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800351A4 00032104 7F E3 FB 78 */ mr r3, r31 -/* 800351A8 00032108 98 1E 02 28 */ stb r0, 0x228(r30) -/* 800351AC 0003210C 48 30 9B 31 */ bl ReadBool__12CInputStreamFv -/* 800351B0 00032110 88 1E 02 28 */ lbz r0, 0x228(r30) -/* 800351B4 00032114 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 800351B8 00032118 7F E3 FB 78 */ mr r3, r31 -/* 800351BC 0003211C 98 1E 02 28 */ stb r0, 0x228(r30) -/* 800351C0 00032120 48 30 9B 1D */ bl ReadBool__12CInputStreamFv -/* 800351C4 00032124 88 1E 02 28 */ lbz r0, 0x228(r30) -/* 800351C8 00032128 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 800351CC 0003212C 7F E3 FB 78 */ mr r3, r31 -/* 800351D0 00032130 98 1E 02 28 */ stb r0, 0x228(r30) -/* 800351D4 00032134 48 30 9B 09 */ bl ReadBool__12CInputStreamFv -/* 800351D8 00032138 88 1E 02 29 */ lbz r0, 0x229(r30) -/* 800351DC 0003213C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800351E0 00032140 7F E3 FB 78 */ mr r3, r31 -/* 800351E4 00032144 98 1E 02 29 */ stb r0, 0x229(r30) -/* 800351E8 00032148 48 30 9A F5 */ bl ReadBool__12CInputStreamFv -/* 800351EC 0003214C 88 1E 02 29 */ lbz r0, 0x229(r30) -/* 800351F0 00032150 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800351F4 00032154 7F E3 FB 78 */ mr r3, r31 -/* 800351F8 00032158 98 1E 02 29 */ stb r0, 0x229(r30) -/* 800351FC 0003215C 48 30 9A E1 */ bl ReadBool__12CInputStreamFv -/* 80035200 00032160 88 1E 02 29 */ lbz r0, 0x229(r30) -/* 80035204 00032164 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80035208 00032168 7F E3 FB 78 */ mr r3, r31 -/* 8003520C 0003216C 98 1E 02 29 */ stb r0, 0x229(r30) -/* 80035210 00032170 48 30 9A CD */ bl ReadBool__12CInputStreamFv -/* 80035214 00032174 88 1E 02 29 */ lbz r0, 0x229(r30) -/* 80035218 00032178 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8003521C 0003217C 7F E3 FB 78 */ mr r3, r31 -/* 80035220 00032180 98 1E 02 29 */ stb r0, 0x229(r30) -/* 80035224 00032184 48 30 9A B9 */ bl ReadBool__12CInputStreamFv -/* 80035228 00032188 88 1E 02 29 */ lbz r0, 0x229(r30) -/* 8003522C 0003218C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80035230 00032190 7F E3 FB 78 */ mr r3, r31 -/* 80035234 00032194 98 1E 02 29 */ stb r0, 0x229(r30) -/* 80035238 00032198 48 30 9A A5 */ bl ReadBool__12CInputStreamFv -/* 8003523C 0003219C 88 1E 02 29 */ lbz r0, 0x229(r30) -/* 80035240 000321A0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80035244 000321A4 7F E3 FB 78 */ mr r3, r31 -/* 80035248 000321A8 98 1E 02 29 */ stb r0, 0x229(r30) -/* 8003524C 000321AC 48 30 9A 91 */ bl ReadBool__12CInputStreamFv -/* 80035250 000321B0 88 1E 02 29 */ lbz r0, 0x229(r30) -/* 80035254 000321B4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80035258 000321B8 7F E3 FB 78 */ mr r3, r31 -/* 8003525C 000321BC 98 1E 02 29 */ stb r0, 0x229(r30) -/* 80035260 000321C0 48 30 9A 7D */ bl ReadBool__12CInputStreamFv -/* 80035264 000321C4 88 1E 02 29 */ lbz r0, 0x229(r30) -/* 80035268 000321C8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8003526C 000321CC 7F E3 FB 78 */ mr r3, r31 -/* 80035270 000321D0 98 1E 02 29 */ stb r0, 0x229(r30) -/* 80035274 000321D4 48 30 9A 69 */ bl ReadBool__12CInputStreamFv -/* 80035278 000321D8 88 1E 02 2A */ lbz r0, 0x22a(r30) -/* 8003527C 000321DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80035280 000321E0 7F E3 FB 78 */ mr r3, r31 -/* 80035284 000321E4 98 1E 02 2A */ stb r0, 0x22a(r30) -/* 80035288 000321E8 48 30 9A 55 */ bl ReadBool__12CInputStreamFv -/* 8003528C 000321EC 88 1E 02 2A */ lbz r0, 0x22a(r30) -/* 80035290 000321F0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80035294 000321F4 7F E3 FB 78 */ mr r3, r31 -/* 80035298 000321F8 98 1E 02 2A */ stb r0, 0x22a(r30) -/* 8003529C 000321FC 48 30 9A 41 */ bl ReadBool__12CInputStreamFv -/* 800352A0 00032200 88 1E 02 2A */ lbz r0, 0x22a(r30) -/* 800352A4 00032204 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800352A8 00032208 7F E3 FB 78 */ mr r3, r31 -/* 800352AC 0003220C 98 1E 02 2A */ stb r0, 0x22a(r30) -/* 800352B0 00032210 48 30 9A 2D */ bl ReadBool__12CInputStreamFv -/* 800352B4 00032214 88 1E 02 2A */ lbz r0, 0x22a(r30) -/* 800352B8 00032218 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800352BC 0003221C 7F E3 FB 78 */ mr r3, r31 -/* 800352C0 00032220 98 1E 02 2A */ stb r0, 0x22a(r30) -/* 800352C4 00032224 48 30 9A 19 */ bl ReadBool__12CInputStreamFv -/* 800352C8 00032228 88 1E 02 2A */ lbz r0, 0x22a(r30) -/* 800352CC 0003222C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800352D0 00032230 7F E3 FB 78 */ mr r3, r31 -/* 800352D4 00032234 98 1E 02 2A */ stb r0, 0x22a(r30) -/* 800352D8 00032238 48 30 99 51 */ bl ReadFloat__12CInputStreamFv -/* 800352DC 0003223C D0 3E 02 2C */ stfs f1, 0x22c(r30) -/* 800352E0 00032240 7F E3 FB 78 */ mr r3, r31 -/* 800352E4 00032244 48 30 99 45 */ bl ReadFloat__12CInputStreamFv -/* 800352E8 00032248 D0 3E 02 30 */ stfs f1, 0x230(r30) -/* 800352EC 0003224C 7F E3 FB 78 */ mr r3, r31 -/* 800352F0 00032250 48 30 99 39 */ bl ReadFloat__12CInputStreamFv -/* 800352F4 00032254 D0 3E 02 34 */ stfs f1, 0x234(r30) -/* 800352F8 00032258 7F E3 FB 78 */ mr r3, r31 -/* 800352FC 0003225C 48 30 99 2D */ bl ReadFloat__12CInputStreamFv -/* 80035300 00032260 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035304 00032264 7F E3 FB 78 */ mr r3, r31 -/* 80035308 00032268 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8003530C 0003226C D0 1E 02 38 */ stfs f0, 0x238(r30) -/* 80035310 00032270 48 30 99 19 */ bl ReadFloat__12CInputStreamFv -/* 80035314 00032274 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035318 00032278 7F E3 FB 78 */ mr r3, r31 -/* 8003531C 0003227C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035320 00032280 D0 1E 02 3C */ stfs f0, 0x23c(r30) -/* 80035324 00032284 48 30 99 05 */ bl ReadFloat__12CInputStreamFv -/* 80035328 00032288 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 8003532C 0003228C 7F E3 FB 78 */ mr r3, r31 -/* 80035330 00032290 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035334 00032294 D0 1E 02 40 */ stfs f0, 0x240(r30) -/* 80035338 00032298 48 30 98 F1 */ bl ReadFloat__12CInputStreamFv -/* 8003533C 0003229C C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035340 000322A0 7F E3 FB 78 */ mr r3, r31 -/* 80035344 000322A4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035348 000322A8 D0 1E 02 44 */ stfs f0, 0x244(r30) -/* 8003534C 000322AC 48 30 98 DD */ bl ReadFloat__12CInputStreamFv -/* 80035350 000322B0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035354 000322B4 7F E3 FB 78 */ mr r3, r31 -/* 80035358 000322B8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8003535C 000322BC D0 1E 02 48 */ stfs f0, 0x248(r30) -/* 80035360 000322C0 48 30 98 C9 */ bl ReadFloat__12CInputStreamFv -/* 80035364 000322C4 D0 3E 02 4C */ stfs f1, 0x24c(r30) -/* 80035368 000322C8 7F E3 FB 78 */ mr r3, r31 -/* 8003536C 000322CC 48 30 98 BD */ bl ReadFloat__12CInputStreamFv -/* 80035370 000322D0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035374 000322D4 7F E3 FB 78 */ mr r3, r31 -/* 80035378 000322D8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8003537C 000322DC D0 1E 02 50 */ stfs f0, 0x250(r30) -/* 80035380 000322E0 48 30 98 A9 */ bl ReadFloat__12CInputStreamFv -/* 80035384 000322E4 D0 3E 02 54 */ stfs f1, 0x254(r30) -/* 80035388 000322E8 7F E3 FB 78 */ mr r3, r31 -/* 8003538C 000322EC 48 30 98 9D */ bl ReadFloat__12CInputStreamFv -/* 80035390 000322F0 D0 3E 02 58 */ stfs f1, 0x258(r30) -/* 80035394 000322F4 7F E3 FB 78 */ mr r3, r31 -/* 80035398 000322F8 48 30 98 91 */ bl ReadFloat__12CInputStreamFv -/* 8003539C 000322FC D0 3E 02 5C */ stfs f1, 0x25c(r30) -/* 800353A0 00032300 7F E3 FB 78 */ mr r3, r31 -/* 800353A4 00032304 48 30 98 85 */ bl ReadFloat__12CInputStreamFv -/* 800353A8 00032308 D0 3E 02 60 */ stfs f1, 0x260(r30) -/* 800353AC 0003230C 7F E3 FB 78 */ mr r3, r31 -/* 800353B0 00032310 48 30 98 79 */ bl ReadFloat__12CInputStreamFv -/* 800353B4 00032314 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800353B8 00032318 7F E3 FB 78 */ mr r3, r31 -/* 800353BC 0003231C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800353C0 00032320 D0 1E 02 64 */ stfs f0, 0x264(r30) -/* 800353C4 00032324 48 30 98 65 */ bl ReadFloat__12CInputStreamFv -/* 800353C8 00032328 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800353CC 0003232C 3B 80 00 00 */ li r28, 0 -/* 800353D0 00032330 7F 9D E3 78 */ mr r29, r28 -/* 800353D4 00032334 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800353D8 00032338 D0 1E 02 68 */ stfs f0, 0x268(r30) -lbl_800353DC: -/* 800353DC 0003233C 7F E3 FB 78 */ mr r3, r31 -/* 800353E0 00032340 48 30 98 49 */ bl ReadFloat__12CInputStreamFv -/* 800353E4 00032344 38 1D 01 58 */ addi r0, r29, 0x158 -/* 800353E8 00032348 7F E3 FB 78 */ mr r3, r31 -/* 800353EC 0003234C 7C 3E 05 2E */ stfsx f1, r30, r0 -/* 800353F0 00032350 48 30 98 39 */ bl ReadFloat__12CInputStreamFv -/* 800353F4 00032354 38 1D 01 64 */ addi r0, r29, 0x164 -/* 800353F8 00032358 7F E3 FB 78 */ mr r3, r31 -/* 800353FC 0003235C 7C 3E 05 2E */ stfsx f1, r30, r0 -/* 80035400 00032360 48 30 98 29 */ bl ReadFloat__12CInputStreamFv -/* 80035404 00032364 3B 9C 00 01 */ addi r28, r28, 1 -/* 80035408 00032368 38 1D 01 70 */ addi r0, r29, 0x170 -/* 8003540C 0003236C 2C 1C 00 03 */ cmpwi r28, 3 -/* 80035410 00032370 7C 3E 05 2E */ stfsx f1, r30, r0 -/* 80035414 00032374 3B BD 00 04 */ addi r29, r29, 4 -/* 80035418 00032378 41 80 FF C4 */ blt lbl_800353DC -/* 8003541C 0003237C 7F E3 FB 78 */ mr r3, r31 -/* 80035420 00032380 48 30 98 09 */ bl ReadFloat__12CInputStreamFv -/* 80035424 00032384 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035428 00032388 7F E3 FB 78 */ mr r3, r31 -/* 8003542C 0003238C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035430 00032390 D0 1E 01 7C */ stfs f0, 0x17c(r30) -/* 80035434 00032394 48 30 97 F5 */ bl ReadFloat__12CInputStreamFv -/* 80035438 00032398 D0 3E 01 80 */ stfs f1, 0x180(r30) -/* 8003543C 0003239C 7F E3 FB 78 */ mr r3, r31 -/* 80035440 000323A0 48 30 97 E9 */ bl ReadFloat__12CInputStreamFv -/* 80035444 000323A4 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035448 000323A8 7F E3 FB 78 */ mr r3, r31 -/* 8003544C 000323AC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035450 000323B0 D0 1E 01 84 */ stfs f0, 0x184(r30) -/* 80035454 000323B4 48 30 97 D5 */ bl ReadFloat__12CInputStreamFv -/* 80035458 000323B8 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 8003545C 000323BC 7F E3 FB 78 */ mr r3, r31 -/* 80035460 000323C0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035464 000323C4 D0 1E 01 88 */ stfs f0, 0x188(r30) -/* 80035468 000323C8 48 30 97 C1 */ bl ReadFloat__12CInputStreamFv -/* 8003546C 000323CC C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035470 000323D0 7F E3 FB 78 */ mr r3, r31 -/* 80035474 000323D4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035478 000323D8 D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 8003547C 000323DC 48 30 97 AD */ bl ReadFloat__12CInputStreamFv -/* 80035480 000323E0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035484 000323E4 7F E3 FB 78 */ mr r3, r31 -/* 80035488 000323E8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8003548C 000323EC D0 1E 01 90 */ stfs f0, 0x190(r30) -/* 80035490 000323F0 48 30 97 99 */ bl ReadFloat__12CInputStreamFv -/* 80035494 000323F4 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035498 000323F8 7F E3 FB 78 */ mr r3, r31 -/* 8003549C 000323FC EC 00 00 72 */ fmuls f0, f0, f1 -/* 800354A0 00032400 D0 1E 01 94 */ stfs f0, 0x194(r30) -/* 800354A4 00032404 48 30 97 85 */ bl ReadFloat__12CInputStreamFv -/* 800354A8 00032408 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800354AC 0003240C 7F E3 FB 78 */ mr r3, r31 -/* 800354B0 00032410 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800354B4 00032414 D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 800354B8 00032418 48 30 97 71 */ bl ReadFloat__12CInputStreamFv -/* 800354BC 0003241C D0 3E 01 9C */ stfs f1, 0x19c(r30) -/* 800354C0 00032420 7F E3 FB 78 */ mr r3, r31 -/* 800354C4 00032424 48 30 97 65 */ bl ReadFloat__12CInputStreamFv -/* 800354C8 00032428 D0 3E 01 A0 */ stfs f1, 0x1a0(r30) -/* 800354CC 0003242C 7F E3 FB 78 */ mr r3, r31 -/* 800354D0 00032430 48 30 97 59 */ bl ReadFloat__12CInputStreamFv -/* 800354D4 00032434 3B 80 00 00 */ li r28, 0 -/* 800354D8 00032438 D0 3E 01 A4 */ stfs f1, 0x1a4(r30) -/* 800354DC 0003243C 7F 9D E3 78 */ mr r29, r28 -lbl_800354E0: -/* 800354E0 00032440 7F E3 FB 78 */ mr r3, r31 -/* 800354E4 00032444 48 30 97 A1 */ bl ReadLong__12CInputStreamFv -/* 800354E8 00032448 38 1D 01 A8 */ addi r0, r29, 0x1a8 -/* 800354EC 0003244C 7C 7E 01 2E */ stwx r3, r30, r0 -/* 800354F0 00032450 7F E3 FB 78 */ mr r3, r31 -/* 800354F4 00032454 48 30 97 91 */ bl ReadLong__12CInputStreamFv -/* 800354F8 00032458 38 1D 01 B0 */ addi r0, r29, 0x1b0 -/* 800354FC 0003245C 7C 7E 01 2E */ stwx r3, r30, r0 -/* 80035500 00032460 7F E3 FB 78 */ mr r3, r31 -/* 80035504 00032464 48 30 97 81 */ bl ReadLong__12CInputStreamFv -/* 80035508 00032468 38 1D 01 B8 */ addi r0, r29, 0x1b8 -/* 8003550C 0003246C 7C 7E 01 2E */ stwx r3, r30, r0 -/* 80035510 00032470 7F E3 FB 78 */ mr r3, r31 -/* 80035514 00032474 48 30 97 71 */ bl ReadLong__12CInputStreamFv -/* 80035518 00032478 38 1D 01 C0 */ addi r0, r29, 0x1c0 -/* 8003551C 0003247C 7C 7E 01 2E */ stwx r3, r30, r0 -/* 80035520 00032480 7F E3 FB 78 */ mr r3, r31 -/* 80035524 00032484 48 30 97 61 */ bl ReadLong__12CInputStreamFv -/* 80035528 00032488 38 1D 01 C8 */ addi r0, r29, 0x1c8 -/* 8003552C 0003248C 7C 7E 01 2E */ stwx r3, r30, r0 -/* 80035530 00032490 7F E3 FB 78 */ mr r3, r31 -/* 80035534 00032494 48 30 97 51 */ bl ReadLong__12CInputStreamFv -/* 80035538 00032498 3B 9C 00 01 */ addi r28, r28, 1 -/* 8003553C 0003249C 38 1D 01 D0 */ addi r0, r29, 0x1d0 -/* 80035540 000324A0 2C 1C 00 02 */ cmpwi r28, 2 -/* 80035544 000324A4 7C 7E 01 2E */ stwx r3, r30, r0 -/* 80035548 000324A8 3B BD 00 04 */ addi r29, r29, 4 -/* 8003554C 000324AC 41 80 FF 94 */ blt lbl_800354E0 -/* 80035550 000324B0 7F E3 FB 78 */ mr r3, r31 -/* 80035554 000324B4 48 30 96 D5 */ bl ReadFloat__12CInputStreamFv -/* 80035558 000324B8 D0 3E 01 D8 */ stfs f1, 0x1d8(r30) -/* 8003555C 000324BC 7F E3 FB 78 */ mr r3, r31 -/* 80035560 000324C0 48 30 96 C9 */ bl ReadFloat__12CInputStreamFv -/* 80035564 000324C4 D0 3E 01 DC */ stfs f1, 0x1dc(r30) -/* 80035568 000324C8 7F E3 FB 78 */ mr r3, r31 -/* 8003556C 000324CC 48 30 96 BD */ bl ReadFloat__12CInputStreamFv -/* 80035570 000324D0 D0 3E 01 E0 */ stfs f1, 0x1e0(r30) -/* 80035574 000324D4 7F E3 FB 78 */ mr r3, r31 -/* 80035578 000324D8 48 30 96 B1 */ bl ReadFloat__12CInputStreamFv -/* 8003557C 000324DC D0 3E 01 E4 */ stfs f1, 0x1e4(r30) -/* 80035580 000324E0 7F E3 FB 78 */ mr r3, r31 -/* 80035584 000324E4 48 30 96 A5 */ bl ReadFloat__12CInputStreamFv -/* 80035588 000324E8 D0 3E 01 E8 */ stfs f1, 0x1e8(r30) -/* 8003558C 000324EC 7F E3 FB 78 */ mr r3, r31 -/* 80035590 000324F0 48 30 96 99 */ bl ReadFloat__12CInputStreamFv -/* 80035594 000324F4 D0 3E 01 EC */ stfs f1, 0x1ec(r30) -/* 80035598 000324F8 7F E3 FB 78 */ mr r3, r31 -/* 8003559C 000324FC 48 30 96 8D */ bl ReadFloat__12CInputStreamFv -/* 800355A0 00032500 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800355A4 00032504 7F E3 FB 78 */ mr r3, r31 -/* 800355A8 00032508 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800355AC 0003250C D0 1E 01 F0 */ stfs f0, 0x1f0(r30) -/* 800355B0 00032510 48 30 96 79 */ bl ReadFloat__12CInputStreamFv -/* 800355B4 00032514 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800355B8 00032518 7F E3 FB 78 */ mr r3, r31 -/* 800355BC 0003251C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800355C0 00032520 D0 1E 01 F4 */ stfs f0, 0x1f4(r30) -/* 800355C4 00032524 48 30 96 65 */ bl ReadFloat__12CInputStreamFv -/* 800355C8 00032528 D0 3E 01 F8 */ stfs f1, 0x1f8(r30) -/* 800355CC 0003252C 7F E3 FB 78 */ mr r3, r31 -/* 800355D0 00032530 48 30 96 59 */ bl ReadFloat__12CInputStreamFv -/* 800355D4 00032534 D0 3E 01 FC */ stfs f1, 0x1fc(r30) -/* 800355D8 00032538 7F E3 FB 78 */ mr r3, r31 -/* 800355DC 0003253C 48 30 97 01 */ bl ReadBool__12CInputStreamFv -/* 800355E0 00032540 88 1E 02 00 */ lbz r0, 0x200(r30) -/* 800355E4 00032544 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800355E8 00032548 7F E3 FB 78 */ mr r3, r31 -/* 800355EC 0003254C 98 1E 02 00 */ stb r0, 0x200(r30) -/* 800355F0 00032550 48 30 96 ED */ bl ReadBool__12CInputStreamFv -/* 800355F4 00032554 88 1E 02 00 */ lbz r0, 0x200(r30) -/* 800355F8 00032558 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800355FC 0003255C 7F E3 FB 78 */ mr r3, r31 -/* 80035600 00032560 98 1E 02 00 */ stb r0, 0x200(r30) -/* 80035604 00032564 48 30 96 25 */ bl ReadFloat__12CInputStreamFv -/* 80035608 00032568 D0 3E 02 04 */ stfs f1, 0x204(r30) -/* 8003560C 0003256C 7F E3 FB 78 */ mr r3, r31 -/* 80035610 00032570 48 30 96 19 */ bl ReadFloat__12CInputStreamFv -/* 80035614 00032574 D0 3E 02 08 */ stfs f1, 0x208(r30) -/* 80035618 00032578 7F E3 FB 78 */ mr r3, r31 -/* 8003561C 0003257C 48 30 96 0D */ bl ReadFloat__12CInputStreamFv -/* 80035620 00032580 D0 3E 02 0C */ stfs f1, 0x20c(r30) -/* 80035624 00032584 7F E3 FB 78 */ mr r3, r31 -/* 80035628 00032588 48 30 96 01 */ bl ReadFloat__12CInputStreamFv -/* 8003562C 0003258C D0 3E 02 10 */ stfs f1, 0x210(r30) -/* 80035630 00032590 7F E3 FB 78 */ mr r3, r31 -/* 80035634 00032594 48 30 95 F5 */ bl ReadFloat__12CInputStreamFv -/* 80035638 00032598 D0 3E 02 14 */ stfs f1, 0x214(r30) -/* 8003563C 0003259C 7F E3 FB 78 */ mr r3, r31 -/* 80035640 000325A0 48 30 95 E9 */ bl ReadFloat__12CInputStreamFv -/* 80035644 000325A4 D0 3E 02 18 */ stfs f1, 0x218(r30) -/* 80035648 000325A8 7F E3 FB 78 */ mr r3, r31 -/* 8003564C 000325AC 48 30 96 91 */ bl ReadBool__12CInputStreamFv -/* 80035650 000325B0 88 1E 02 1C */ lbz r0, 0x21c(r30) -/* 80035654 000325B4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80035658 000325B8 7F E3 FB 78 */ mr r3, r31 -/* 8003565C 000325BC 98 1E 02 1C */ stb r0, 0x21c(r30) -/* 80035660 000325C0 48 30 96 7D */ bl ReadBool__12CInputStreamFv -/* 80035664 000325C4 88 1E 02 1C */ lbz r0, 0x21c(r30) -/* 80035668 000325C8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003566C 000325CC 7F E3 FB 78 */ mr r3, r31 -/* 80035670 000325D0 98 1E 02 1C */ stb r0, 0x21c(r30) -/* 80035674 000325D4 48 30 96 69 */ bl ReadBool__12CInputStreamFv -/* 80035678 000325D8 88 1E 02 1C */ lbz r0, 0x21c(r30) -/* 8003567C 000325DC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80035680 000325E0 7F E3 FB 78 */ mr r3, r31 -/* 80035684 000325E4 98 1E 02 1C */ stb r0, 0x21c(r30) -/* 80035688 000325E8 48 30 95 A1 */ bl ReadFloat__12CInputStreamFv -/* 8003568C 000325EC D0 3E 02 20 */ stfs f1, 0x220(r30) -/* 80035690 000325F0 7F E3 FB 78 */ mr r3, r31 -/* 80035694 000325F4 48 30 95 95 */ bl ReadFloat__12CInputStreamFv -/* 80035698 000325F8 D0 3E 02 24 */ stfs f1, 0x224(r30) -/* 8003569C 000325FC 7F E3 FB 78 */ mr r3, r31 -/* 800356A0 00032600 48 30 95 89 */ bl ReadFloat__12CInputStreamFv -/* 800356A4 00032604 D0 3E 02 A0 */ stfs f1, 0x2a0(r30) -/* 800356A8 00032608 7F E3 FB 78 */ mr r3, r31 -/* 800356AC 0003260C 48 30 95 7D */ bl ReadFloat__12CInputStreamFv -/* 800356B0 00032610 D0 3E 02 A4 */ stfs f1, 0x2a4(r30) -/* 800356B4 00032614 7F E3 FB 78 */ mr r3, r31 -/* 800356B8 00032618 48 30 95 71 */ bl ReadFloat__12CInputStreamFv -/* 800356BC 0003261C D0 3E 02 A8 */ stfs f1, 0x2a8(r30) -/* 800356C0 00032620 7F E3 FB 78 */ mr r3, r31 -/* 800356C4 00032624 48 30 95 65 */ bl ReadFloat__12CInputStreamFv -/* 800356C8 00032628 D0 3E 02 AC */ stfs f1, 0x2ac(r30) -/* 800356CC 0003262C 7F E3 FB 78 */ mr r3, r31 -/* 800356D0 00032630 48 30 95 59 */ bl ReadFloat__12CInputStreamFv -/* 800356D4 00032634 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800356D8 00032638 7F E3 FB 78 */ mr r3, r31 -/* 800356DC 0003263C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800356E0 00032640 D0 1E 02 B0 */ stfs f0, 0x2b0(r30) -/* 800356E4 00032644 48 30 95 45 */ bl ReadFloat__12CInputStreamFv -/* 800356E8 00032648 D0 3E 02 B4 */ stfs f1, 0x2b4(r30) -/* 800356EC 0003264C 7F E3 FB 78 */ mr r3, r31 -/* 800356F0 00032650 48 30 95 39 */ bl ReadFloat__12CInputStreamFv -/* 800356F4 00032654 D0 3E 02 B8 */ stfs f1, 0x2b8(r30) -/* 800356F8 00032658 7F E3 FB 78 */ mr r3, r31 -/* 800356FC 0003265C 48 30 95 2D */ bl ReadFloat__12CInputStreamFv -/* 80035700 00032660 D0 3E 02 BC */ stfs f1, 0x2bc(r30) -/* 80035704 00032664 7F E3 FB 78 */ mr r3, r31 -/* 80035708 00032668 48 30 95 21 */ bl ReadFloat__12CInputStreamFv -/* 8003570C 0003266C C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035710 00032670 7F E3 FB 78 */ mr r3, r31 -/* 80035714 00032674 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035718 00032678 D0 1E 02 C0 */ stfs f0, 0x2c0(r30) -/* 8003571C 0003267C 48 30 95 0D */ bl ReadFloat__12CInputStreamFv -/* 80035720 00032680 D0 3E 02 C4 */ stfs f1, 0x2c4(r30) -/* 80035724 00032684 7F E3 FB 78 */ mr r3, r31 -/* 80035728 00032688 48 30 95 01 */ bl ReadFloat__12CInputStreamFv -/* 8003572C 0003268C D0 3E 02 C8 */ stfs f1, 0x2c8(r30) -/* 80035730 00032690 7F E3 FB 78 */ mr r3, r31 -/* 80035734 00032694 48 30 94 F5 */ bl ReadFloat__12CInputStreamFv -/* 80035738 00032698 D0 3E 02 CC */ stfs f1, 0x2cc(r30) -/* 8003573C 0003269C 7F E3 FB 78 */ mr r3, r31 -/* 80035740 000326A0 48 30 95 45 */ bl ReadLong__12CInputStreamFv -/* 80035744 000326A4 90 7E 02 D0 */ stw r3, 0x2d0(r30) -/* 80035748 000326A8 7F E3 FB 78 */ mr r3, r31 -/* 8003574C 000326AC 48 30 95 91 */ bl ReadBool__12CInputStreamFv -/* 80035750 000326B0 98 7E 02 D4 */ stb r3, 0x2d4(r30) -/* 80035754 000326B4 7F E3 FB 78 */ mr r3, r31 -/* 80035758 000326B8 48 30 95 85 */ bl ReadBool__12CInputStreamFv -/* 8003575C 000326BC 98 7E 02 D5 */ stb r3, 0x2d5(r30) -/* 80035760 000326C0 7F E3 FB 78 */ mr r3, r31 -/* 80035764 000326C4 48 30 94 C5 */ bl ReadFloat__12CInputStreamFv -/* 80035768 000326C8 D0 3E 02 D8 */ stfs f1, 0x2d8(r30) -/* 8003576C 000326CC 7F E3 FB 78 */ mr r3, r31 -/* 80035770 000326D0 48 30 94 B9 */ bl ReadFloat__12CInputStreamFv -/* 80035774 000326D4 D0 3E 02 DC */ stfs f1, 0x2dc(r30) -/* 80035778 000326D8 7F E3 FB 78 */ mr r3, r31 -/* 8003577C 000326DC 48 30 94 AD */ bl ReadFloat__12CInputStreamFv -/* 80035780 000326E0 D0 3E 02 E0 */ stfs f1, 0x2e0(r30) -/* 80035784 000326E4 7F E3 FB 78 */ mr r3, r31 -/* 80035788 000326E8 48 30 94 A1 */ bl ReadFloat__12CInputStreamFv -/* 8003578C 000326EC D0 3E 02 E4 */ stfs f1, 0x2e4(r30) -/* 80035790 000326F0 7F E3 FB 78 */ mr r3, r31 -/* 80035794 000326F4 48 30 94 95 */ bl ReadFloat__12CInputStreamFv -/* 80035798 000326F8 D0 3E 02 6C */ stfs f1, 0x26c(r30) -/* 8003579C 000326FC 7F E3 FB 78 */ mr r3, r31 -/* 800357A0 00032700 48 30 94 89 */ bl ReadFloat__12CInputStreamFv -/* 800357A4 00032704 D0 3E 02 70 */ stfs f1, 0x270(r30) -/* 800357A8 00032708 7F E3 FB 78 */ mr r3, r31 -/* 800357AC 0003270C 48 30 94 7D */ bl ReadFloat__12CInputStreamFv -/* 800357B0 00032710 D0 3E 02 74 */ stfs f1, 0x274(r30) -/* 800357B4 00032714 7F E3 FB 78 */ mr r3, r31 -/* 800357B8 00032718 48 30 94 71 */ bl ReadFloat__12CInputStreamFv -/* 800357BC 0003271C D0 3E 02 78 */ stfs f1, 0x278(r30) -/* 800357C0 00032720 7F E3 FB 78 */ mr r3, r31 -/* 800357C4 00032724 48 30 94 65 */ bl ReadFloat__12CInputStreamFv -/* 800357C8 00032728 D0 3E 02 7C */ stfs f1, 0x27c(r30) -/* 800357CC 0003272C 7F E3 FB 78 */ mr r3, r31 -/* 800357D0 00032730 48 30 94 59 */ bl ReadFloat__12CInputStreamFv -/* 800357D4 00032734 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800357D8 00032738 7F E3 FB 78 */ mr r3, r31 -/* 800357DC 0003273C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800357E0 00032740 D0 1E 02 80 */ stfs f0, 0x280(r30) -/* 800357E4 00032744 48 30 94 45 */ bl ReadFloat__12CInputStreamFv -/* 800357E8 00032748 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 800357EC 0003274C 7F E3 FB 78 */ mr r3, r31 -/* 800357F0 00032750 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800357F4 00032754 D0 1E 02 84 */ stfs f0, 0x284(r30) -/* 800357F8 00032758 48 30 94 31 */ bl ReadFloat__12CInputStreamFv -/* 800357FC 0003275C D0 3E 02 88 */ stfs f1, 0x288(r30) -/* 80035800 00032760 7F E3 FB 78 */ mr r3, r31 -/* 80035804 00032764 48 30 94 25 */ bl ReadFloat__12CInputStreamFv -/* 80035808 00032768 D0 3E 02 8C */ stfs f1, 0x28c(r30) -/* 8003580C 0003276C 7F E3 FB 78 */ mr r3, r31 -/* 80035810 00032770 48 30 94 19 */ bl ReadFloat__12CInputStreamFv -/* 80035814 00032774 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035818 00032778 7F E3 FB 78 */ mr r3, r31 -/* 8003581C 0003277C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80035820 00032780 D0 1E 02 90 */ stfs f0, 0x290(r30) -/* 80035824 00032784 48 30 94 05 */ bl ReadFloat__12CInputStreamFv -/* 80035828 00032788 D0 3E 02 94 */ stfs f1, 0x294(r30) -/* 8003582C 0003278C 7F E3 FB 78 */ mr r3, r31 -/* 80035830 00032790 48 30 93 F9 */ bl ReadFloat__12CInputStreamFv -/* 80035834 00032794 D0 3E 02 98 */ stfs f1, 0x298(r30) -/* 80035838 00032798 7F E3 FB 78 */ mr r3, r31 -/* 8003583C 0003279C 48 30 93 ED */ bl ReadFloat__12CInputStreamFv -/* 80035840 000327A0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2) -/* 80035844 000327A4 7F E3 FB 78 */ mr r3, r31 -/* 80035848 000327A8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8003584C 000327AC D0 1E 02 9C */ stfs f0, 0x29c(r30) -/* 80035850 000327B0 48 30 93 D9 */ bl ReadFloat__12CInputStreamFv -/* 80035854 000327B4 D0 3E 02 E8 */ stfs f1, 0x2e8(r30) -/* 80035858 000327B8 7F E3 FB 78 */ mr r3, r31 -/* 8003585C 000327BC 48 30 93 CD */ bl ReadFloat__12CInputStreamFv -/* 80035860 000327C0 D0 3E 02 EC */ stfs f1, 0x2ec(r30) -/* 80035864 000327C4 7F E3 FB 78 */ mr r3, r31 -/* 80035868 000327C8 48 30 93 C1 */ bl ReadFloat__12CInputStreamFv -/* 8003586C 000327CC D0 3E 02 F0 */ stfs f1, 0x2f0(r30) -/* 80035870 000327D0 7F E3 FB 78 */ mr r3, r31 -/* 80035874 000327D4 48 30 94 69 */ bl ReadBool__12CInputStreamFv -/* 80035878 000327D8 98 7E 02 F4 */ stb r3, 0x2f4(r30) -/* 8003587C 000327DC 7F E3 FB 78 */ mr r3, r31 -/* 80035880 000327E0 48 30 93 A9 */ bl ReadFloat__12CInputStreamFv -/* 80035884 000327E4 D0 3E 02 F8 */ stfs f1, 0x2f8(r30) -/* 80035888 000327E8 7F E3 FB 78 */ mr r3, r31 -/* 8003588C 000327EC 48 30 93 F9 */ bl ReadLong__12CInputStreamFv -/* 80035890 000327F0 90 7E 02 FC */ stw r3, 0x2fc(r30) -/* 80035894 000327F4 7F E3 FB 78 */ mr r3, r31 -/* 80035898 000327F8 48 30 93 91 */ bl ReadFloat__12CInputStreamFv -/* 8003589C 000327FC D0 3E 03 00 */ stfs f1, 0x300(r30) -/* 800358A0 00032800 7F E3 FB 78 */ mr r3, r31 -/* 800358A4 00032804 48 30 93 85 */ bl ReadFloat__12CInputStreamFv -/* 800358A8 00032808 D0 3E 03 04 */ stfs f1, 0x304(r30) -/* 800358AC 0003280C 7F E3 FB 78 */ mr r3, r31 -/* 800358B0 00032810 48 30 93 79 */ bl ReadFloat__12CInputStreamFv -/* 800358B4 00032814 D0 3E 03 08 */ stfs f1, 0x308(r30) -/* 800358B8 00032818 7F C3 F3 78 */ mr r3, r30 -/* 800358BC 0003281C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800358C0 00032820 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800358C4 00032824 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800358C8 00032828 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800358CC 0003282C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800358D0 00032830 7C 08 03 A6 */ mtlr r0 -/* 800358D4 00032834 38 21 00 20 */ addi r1, r1, 0x20 -/* 800358D8 00032838 4E 80 00 20 */ blr - -.global __dt__12CTweakPlayerFv -__dt__12CTweakPlayerFv: -/* 800358DC 0003283C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800358E0 00032840 7C 08 02 A6 */ mflr r0 -/* 800358E4 00032844 90 01 00 14 */ stw r0, 0x14(r1) -/* 800358E8 00032848 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800358EC 0003284C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800358F0 00032850 41 82 00 30 */ beq lbl_80035920 -/* 800358F4 00032854 3C 60 80 3E */ lis r3, lbl_803D9CB8@ha -/* 800358F8 00032858 38 03 9C B8 */ addi r0, r3, lbl_803D9CB8@l -/* 800358FC 0003285C 90 1F 00 00 */ stw r0, 0(r31) -/* 80035900 00032860 41 82 00 10 */ beq lbl_80035910 -/* 80035904 00032864 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 80035908 00032868 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 8003590C 0003286C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80035910: -/* 80035910 00032870 7C 80 07 35 */ extsh. r0, r4 -/* 80035914 00032874 40 81 00 0C */ ble lbl_80035920 -/* 80035918 00032878 7F E3 FB 78 */ mr r3, r31 -/* 8003591C 0003287C 48 00 00 1D */ bl "__dl__26TOneStatic<12CTweakPlayer>FPv" -lbl_80035920: -/* 80035920 00032880 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80035924 00032884 7F E3 FB 78 */ mr r3, r31 -/* 80035928 00032888 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003592C 0003288C 7C 08 03 A6 */ mtlr r0 -/* 80035930 00032890 38 21 00 10 */ addi r1, r1, 0x10 -/* 80035934 00032894 4E 80 00 20 */ blr - -.global "__dl__26TOneStatic<12CTweakPlayer>FPv" -"__dl__26TOneStatic<12CTweakPlayer>FPv": -/* 80035938 00032898 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003593C 0003289C 7C 08 02 A6 */ mflr r0 -/* 80035940 000328A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80035944 000328A4 48 00 00 21 */ bl "ReferenceCount__26TOneStatic<12CTweakPlayer>Fv" -/* 80035948 000328A8 80 83 00 00 */ lwz r4, 0(r3) -/* 8003594C 000328AC 38 04 FF FF */ addi r0, r4, -1 -/* 80035950 000328B0 90 03 00 00 */ stw r0, 0(r3) -/* 80035954 000328B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80035958 000328B8 7C 08 03 A6 */ mtlr r0 -/* 8003595C 000328BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80035960 000328C0 4E 80 00 20 */ blr - -.global "ReferenceCount__26TOneStatic<12CTweakPlayer>Fv" -"ReferenceCount__26TOneStatic<12CTweakPlayer>Fv": -/* 80035964 000328C4 88 0D A1 14 */ lbz r0, lbl_805A8CD4@sda21(r13) -/* 80035968 000328C8 7C 00 07 75 */ extsb. r0, r0 -/* 8003596C 000328CC 40 82 00 14 */ bne lbl_80035980 -/* 80035970 000328D0 38 60 00 00 */ li r3, 0 -/* 80035974 000328D4 38 00 00 01 */ li r0, 1 -/* 80035978 000328D8 90 6D A1 10 */ stw r3, lbl_805A8CD0@sda21(r13) -/* 8003597C 000328DC 98 0D A1 14 */ stb r0, lbl_805A8CD4@sda21(r13) -lbl_80035980: -/* 80035980 000328E0 38 6D A1 10 */ addi r3, r13, lbl_805A8CD0@sda21 -/* 80035984 000328E4 4E 80 00 20 */ blr - -.global RegisterResourceTweaks__7CTweaksFv -RegisterResourceTweaks__7CTweaksFv: -/* 80035988 000328E8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8003598C 000328EC 7C 08 02 A6 */ mflr r0 -/* 80035990 000328F0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80035994 000328F4 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80035998 000328F8 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8003599C 000328FC 7C 7E 1B 78 */ mr r30, r3 -/* 800359A0 00032900 93 A1 00 44 */ stw r29, 0x44(r1) -/* 800359A4 00032904 80 0D A1 48 */ lwz r0, gpTweakGunRes@sda21(r13) -/* 800359A8 00032908 83 ED A0 60 */ lwz r31, gpResourceFactory@sda21(r13) -/* 800359AC 0003290C 28 00 00 00 */ cmplwi r0, 0 -/* 800359B0 00032910 40 82 01 38 */ bne lbl_80035AE8 -/* 800359B4 00032914 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 800359B8 00032918 7F E3 FB 78 */ mr r3, r31 -/* 800359BC 0003291C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 800359C0 00032920 48 00 13 99 */ bl IDFromFactory__FR11CResFactoryPCc -/* 800359C4 00032924 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 800359C8 00032928 90 61 00 24 */ stw r3, 0x24(r1) -/* 800359CC 0003292C 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 800359D0 00032930 38 7F 00 04 */ addi r3, r31, 4 -/* 800359D4 00032934 90 01 00 20 */ stw r0, 0x20(r1) -/* 800359D8 00032938 38 81 00 20 */ addi r4, r1, 0x20 -/* 800359DC 0003293C 38 A0 00 00 */ li r5, 0 -/* 800359E0 00032940 48 30 5F 89 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 800359E4 00032944 7C 03 00 D0 */ neg r0, r3 -/* 800359E8 00032948 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 800359EC 0003294C 7C 00 1B 78 */ or r0, r0, r3 -/* 800359F0 00032950 90 61 00 34 */ stw r3, 0x34(r1) -/* 800359F4 00032954 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800359F8 00032958 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 800359FC 0003295C 98 01 00 30 */ stb r0, 0x30(r1) -/* 80035A00 00032960 38 60 00 C8 */ li r3, 0xc8 -/* 80035A04 00032964 38 84 00 07 */ addi r4, r4, 7 -/* 80035A08 00032968 38 A0 00 00 */ li r5, 0 -/* 80035A0C 0003296C 48 00 14 3D */ bl sub_80036e48 -/* 80035A10 00032970 7C 64 1B 79 */ or. r4, r3, r3 -/* 80035A14 00032974 41 82 00 10 */ beq lbl_80035A24 -/* 80035A18 00032978 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80035A1C 0003297C 48 08 5F CD */ bl __ct__12CTweakGunResFR12CInputStream -/* 80035A20 00032980 7C 64 1B 78 */ mr r4, r3 -lbl_80035A24: -/* 80035A24 00032984 7C 04 00 D0 */ neg r0, r4 -/* 80035A28 00032988 3B BE 00 54 */ addi r29, r30, 0x54 -/* 80035A2C 0003298C 7C 03 23 78 */ or r3, r0, r4 -/* 80035A30 00032990 38 01 00 18 */ addi r0, r1, 0x18 -/* 80035A34 00032994 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80035A38 00032998 90 8D A1 48 */ stw r4, gpTweakGunRes@sda21(r13) -/* 80035A3C 0003299C 7C 00 E8 40 */ cmplw r0, r29 -/* 80035A40 000329A0 98 61 00 18 */ stb r3, 0x18(r1) -/* 80035A44 000329A4 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80035A48 000329A8 41 82 00 48 */ beq lbl_80035A90 -/* 80035A4C 000329AC 88 1D 00 00 */ lbz r0, 0(r29) -/* 80035A50 000329B0 28 00 00 00 */ cmplwi r0, 0 -/* 80035A54 000329B4 41 82 00 24 */ beq lbl_80035A78 -/* 80035A58 000329B8 80 7D 00 04 */ lwz r3, 4(r29) -/* 80035A5C 000329BC 28 03 00 00 */ cmplwi r3, 0 -/* 80035A60 000329C0 41 82 00 18 */ beq lbl_80035A78 -/* 80035A64 000329C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80035A68 000329C8 38 80 00 01 */ li r4, 1 -/* 80035A6C 000329CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035A70 000329D0 7D 89 03 A6 */ mtctr r12 -/* 80035A74 000329D4 4E 80 04 21 */ bctrl -lbl_80035A78: -/* 80035A78 000329D8 88 61 00 18 */ lbz r3, 0x18(r1) -/* 80035A7C 000329DC 38 00 00 00 */ li r0, 0 -/* 80035A80 000329E0 98 7D 00 00 */ stb r3, 0(r29) -/* 80035A84 000329E4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80035A88 000329E8 90 7D 00 04 */ stw r3, 4(r29) -/* 80035A8C 000329EC 98 01 00 18 */ stb r0, 0x18(r1) -lbl_80035A90: -/* 80035A90 000329F0 88 01 00 18 */ lbz r0, 0x18(r1) -/* 80035A94 000329F4 28 00 00 00 */ cmplwi r0, 0 -/* 80035A98 000329F8 41 82 00 24 */ beq lbl_80035ABC -/* 80035A9C 000329FC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80035AA0 00032A00 28 03 00 00 */ cmplwi r3, 0 -/* 80035AA4 00032A04 41 82 00 18 */ beq lbl_80035ABC -/* 80035AA8 00032A08 81 83 00 00 */ lwz r12, 0(r3) -/* 80035AAC 00032A0C 38 80 00 01 */ li r4, 1 -/* 80035AB0 00032A10 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035AB4 00032A14 7D 89 03 A6 */ mtctr r12 -/* 80035AB8 00032A18 4E 80 04 21 */ bctrl -lbl_80035ABC: -/* 80035ABC 00032A1C 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80035AC0 00032A20 28 00 00 00 */ cmplwi r0, 0 -/* 80035AC4 00032A24 41 82 00 24 */ beq lbl_80035AE8 -/* 80035AC8 00032A28 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80035ACC 00032A2C 28 03 00 00 */ cmplwi r3, 0 -/* 80035AD0 00032A30 41 82 00 18 */ beq lbl_80035AE8 -/* 80035AD4 00032A34 81 83 00 00 */ lwz r12, 0(r3) -/* 80035AD8 00032A38 38 80 00 01 */ li r4, 1 -/* 80035ADC 00032A3C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035AE0 00032A40 7D 89 03 A6 */ mtctr r12 -/* 80035AE4 00032A44 4E 80 04 21 */ bctrl -lbl_80035AE8: -/* 80035AE8 00032A48 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) -/* 80035AEC 00032A4C 28 00 00 00 */ cmplwi r0, 0 -/* 80035AF0 00032A50 40 82 01 3C */ bne lbl_80035C2C -/* 80035AF4 00032A54 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80035AF8 00032A58 7F E3 FB 78 */ mr r3, r31 -/* 80035AFC 00032A5C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80035B00 00032A60 38 84 00 0E */ addi r4, r4, 0xe -/* 80035B04 00032A64 48 00 12 55 */ bl IDFromFactory__FR11CResFactoryPCc -/* 80035B08 00032A68 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 80035B0C 00032A6C 90 61 00 14 */ stw r3, 0x14(r1) -/* 80035B10 00032A70 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 80035B14 00032A74 38 7F 00 04 */ addi r3, r31, 4 -/* 80035B18 00032A78 90 01 00 10 */ stw r0, 0x10(r1) -/* 80035B1C 00032A7C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80035B20 00032A80 38 A0 00 00 */ li r5, 0 -/* 80035B24 00032A84 48 30 5E 45 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80035B28 00032A88 7C 03 00 D0 */ neg r0, r3 -/* 80035B2C 00032A8C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80035B30 00032A90 7C 00 1B 78 */ or r0, r0, r3 -/* 80035B34 00032A94 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80035B38 00032A98 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80035B3C 00032A9C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80035B40 00032AA0 98 01 00 28 */ stb r0, 0x28(r1) -/* 80035B44 00032AA4 38 60 00 F4 */ li r3, 0xf4 -/* 80035B48 00032AA8 38 84 00 07 */ addi r4, r4, 7 -/* 80035B4C 00032AAC 38 A0 00 00 */ li r5, 0 -/* 80035B50 00032AB0 48 00 12 99 */ bl sub_80036de8 -/* 80035B54 00032AB4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80035B58 00032AB8 41 82 00 10 */ beq lbl_80035B68 -/* 80035B5C 00032ABC 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80035B60 00032AC0 48 17 67 01 */ bl __ct__15CTweakPlayerResFR12CInputStream -/* 80035B64 00032AC4 7C 64 1B 78 */ mr r4, r3 -lbl_80035B68: -/* 80035B68 00032AC8 7C 04 00 D0 */ neg r0, r4 -/* 80035B6C 00032ACC 3B BE 00 5C */ addi r29, r30, 0x5c -/* 80035B70 00032AD0 7C 03 23 78 */ or r3, r0, r4 -/* 80035B74 00032AD4 38 01 00 08 */ addi r0, r1, 8 -/* 80035B78 00032AD8 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80035B7C 00032ADC 90 8D A1 4C */ stw r4, gpTweakPlayerRes@sda21(r13) -/* 80035B80 00032AE0 7C 00 E8 40 */ cmplw r0, r29 -/* 80035B84 00032AE4 98 61 00 08 */ stb r3, 8(r1) -/* 80035B88 00032AE8 90 81 00 0C */ stw r4, 0xc(r1) -/* 80035B8C 00032AEC 41 82 00 48 */ beq lbl_80035BD4 -/* 80035B90 00032AF0 88 1D 00 00 */ lbz r0, 0(r29) -/* 80035B94 00032AF4 28 00 00 00 */ cmplwi r0, 0 -/* 80035B98 00032AF8 41 82 00 24 */ beq lbl_80035BBC -/* 80035B9C 00032AFC 80 7D 00 04 */ lwz r3, 4(r29) -/* 80035BA0 00032B00 28 03 00 00 */ cmplwi r3, 0 -/* 80035BA4 00032B04 41 82 00 18 */ beq lbl_80035BBC -/* 80035BA8 00032B08 81 83 00 00 */ lwz r12, 0(r3) -/* 80035BAC 00032B0C 38 80 00 01 */ li r4, 1 -/* 80035BB0 00032B10 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035BB4 00032B14 7D 89 03 A6 */ mtctr r12 -/* 80035BB8 00032B18 4E 80 04 21 */ bctrl -lbl_80035BBC: -/* 80035BBC 00032B1C 88 61 00 08 */ lbz r3, 8(r1) -/* 80035BC0 00032B20 38 00 00 00 */ li r0, 0 -/* 80035BC4 00032B24 98 7D 00 00 */ stb r3, 0(r29) -/* 80035BC8 00032B28 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80035BCC 00032B2C 90 7D 00 04 */ stw r3, 4(r29) -/* 80035BD0 00032B30 98 01 00 08 */ stb r0, 8(r1) -lbl_80035BD4: -/* 80035BD4 00032B34 88 01 00 08 */ lbz r0, 8(r1) -/* 80035BD8 00032B38 28 00 00 00 */ cmplwi r0, 0 -/* 80035BDC 00032B3C 41 82 00 24 */ beq lbl_80035C00 -/* 80035BE0 00032B40 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80035BE4 00032B44 28 03 00 00 */ cmplwi r3, 0 -/* 80035BE8 00032B48 41 82 00 18 */ beq lbl_80035C00 -/* 80035BEC 00032B4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80035BF0 00032B50 38 80 00 01 */ li r4, 1 -/* 80035BF4 00032B54 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035BF8 00032B58 7D 89 03 A6 */ mtctr r12 -/* 80035BFC 00032B5C 4E 80 04 21 */ bctrl -lbl_80035C00: -/* 80035C00 00032B60 88 01 00 28 */ lbz r0, 0x28(r1) -/* 80035C04 00032B64 28 00 00 00 */ cmplwi r0, 0 -/* 80035C08 00032B68 41 82 00 24 */ beq lbl_80035C2C -/* 80035C0C 00032B6C 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80035C10 00032B70 28 03 00 00 */ cmplwi r3, 0 -/* 80035C14 00032B74 41 82 00 18 */ beq lbl_80035C2C -/* 80035C18 00032B78 81 83 00 00 */ lwz r12, 0(r3) -/* 80035C1C 00032B7C 38 80 00 01 */ li r4, 1 -/* 80035C20 00032B80 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035C24 00032B84 7D 89 03 A6 */ mtctr r12 -/* 80035C28 00032B88 4E 80 04 21 */ bctrl -lbl_80035C2C: -/* 80035C2C 00032B8C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80035C30 00032B90 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80035C34 00032B94 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80035C38 00032B98 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80035C3C 00032B9C 7C 08 03 A6 */ mtlr r0 -/* 80035C40 00032BA0 38 21 00 50 */ addi r1, r1, 0x50 -/* 80035C44 00032BA4 4E 80 00 20 */ blr - -.global RegisterTweaks__7CTweaksFv -RegisterTweaks__7CTweaksFv: -/* 80035C48 00032BA8 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 80035C4C 00032BAC 7C 08 02 A6 */ mflr r0 -/* 80035C50 00032BB0 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80035C54 00032BB4 90 01 01 54 */ stw r0, 0x154(r1) -/* 80035C58 00032BB8 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80035C5C 00032BBC 38 84 00 18 */ addi r4, r4, 0x18 -/* 80035C60 00032BC0 93 E1 01 4C */ stw r31, 0x14c(r1) -/* 80035C64 00032BC4 93 C1 01 48 */ stw r30, 0x148(r1) -/* 80035C68 00032BC8 7C 7E 1B 78 */ mr r30, r3 -/* 80035C6C 00032BCC 93 A1 01 44 */ stw r29, 0x144(r1) -/* 80035C70 00032BD0 80 0D A0 60 */ lwz r0, gpResourceFactory@sda21(r13) -/* 80035C74 00032BD4 7C 1F 03 78 */ mr r31, r0 -/* 80035C78 00032BD8 7C 03 03 78 */ mr r3, r0 -/* 80035C7C 00032BDC 48 00 10 DD */ bl IDFromFactory__FR11CResFactoryPCc -/* 80035C80 00032BE0 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 80035C84 00032BE4 90 61 00 CC */ stw r3, 0xcc(r1) -/* 80035C88 00032BE8 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 80035C8C 00032BEC 38 7F 00 04 */ addi r3, r31, 4 -/* 80035C90 00032BF0 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 80035C94 00032BF4 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80035C98 00032BF8 38 A0 00 00 */ li r5, 0 -/* 80035C9C 00032BFC 48 30 5C CD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80035CA0 00032C00 7C 03 00 D0 */ neg r0, r3 -/* 80035CA4 00032C04 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80035CA8 00032C08 7C 00 1B 78 */ or r0, r0, r3 -/* 80035CAC 00032C0C 90 61 01 34 */ stw r3, 0x134(r1) -/* 80035CB0 00032C10 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80035CB4 00032C14 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80035CB8 00032C18 98 01 01 30 */ stb r0, 0x130(r1) -/* 80035CBC 00032C1C 38 60 00 34 */ li r3, 0x34 -/* 80035CC0 00032C20 38 84 00 07 */ addi r4, r4, 7 -/* 80035CC4 00032C24 38 A0 00 00 */ li r5, 0 -/* 80035CC8 00032C28 48 00 13 C1 */ bl "__nw__28TOneStatic<14CTweakParticle>FUlPCcPCc" -/* 80035CCC 00032C2C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80035CD0 00032C30 41 82 00 10 */ beq lbl_80035CE0 -/* 80035CD4 00032C34 80 81 01 34 */ lwz r4, 0x134(r1) -/* 80035CD8 00032C38 48 02 42 49 */ bl __ct__14CTweakParticleFR12CInputStream -/* 80035CDC 00032C3C 7C 64 1B 78 */ mr r4, r3 -lbl_80035CE0: -/* 80035CE0 00032C40 7C 04 00 D0 */ neg r0, r4 -/* 80035CE4 00032C44 3B BE 00 14 */ addi r29, r30, 0x14 -/* 80035CE8 00032C48 7C 03 23 78 */ or r3, r0, r4 -/* 80035CEC 00032C4C 38 01 00 C0 */ addi r0, r1, 0xc0 -/* 80035CF0 00032C50 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80035CF4 00032C54 90 8D A1 24 */ stw r4, gpTweakParticle@sda21(r13) -/* 80035CF8 00032C58 7C 00 E8 40 */ cmplw r0, r29 -/* 80035CFC 00032C5C 98 61 00 C0 */ stb r3, 0xc0(r1) -/* 80035D00 00032C60 90 81 00 C4 */ stw r4, 0xc4(r1) -/* 80035D04 00032C64 41 82 00 48 */ beq lbl_80035D4C -/* 80035D08 00032C68 88 1D 00 00 */ lbz r0, 0(r29) -/* 80035D0C 00032C6C 28 00 00 00 */ cmplwi r0, 0 -/* 80035D10 00032C70 41 82 00 24 */ beq lbl_80035D34 -/* 80035D14 00032C74 80 7D 00 04 */ lwz r3, 4(r29) -/* 80035D18 00032C78 28 03 00 00 */ cmplwi r3, 0 -/* 80035D1C 00032C7C 41 82 00 18 */ beq lbl_80035D34 -/* 80035D20 00032C80 81 83 00 00 */ lwz r12, 0(r3) -/* 80035D24 00032C84 38 80 00 01 */ li r4, 1 -/* 80035D28 00032C88 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035D2C 00032C8C 7D 89 03 A6 */ mtctr r12 -/* 80035D30 00032C90 4E 80 04 21 */ bctrl -lbl_80035D34: -/* 80035D34 00032C94 88 61 00 C0 */ lbz r3, 0xc0(r1) -/* 80035D38 00032C98 38 00 00 00 */ li r0, 0 -/* 80035D3C 00032C9C 98 7D 00 00 */ stb r3, 0(r29) -/* 80035D40 00032CA0 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 80035D44 00032CA4 90 7D 00 04 */ stw r3, 4(r29) -/* 80035D48 00032CA8 98 01 00 C0 */ stb r0, 0xc0(r1) -lbl_80035D4C: -/* 80035D4C 00032CAC 88 01 00 C0 */ lbz r0, 0xc0(r1) -/* 80035D50 00032CB0 28 00 00 00 */ cmplwi r0, 0 -/* 80035D54 00032CB4 41 82 00 24 */ beq lbl_80035D78 -/* 80035D58 00032CB8 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 80035D5C 00032CBC 28 03 00 00 */ cmplwi r3, 0 -/* 80035D60 00032CC0 41 82 00 18 */ beq lbl_80035D78 -/* 80035D64 00032CC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80035D68 00032CC8 38 80 00 01 */ li r4, 1 -/* 80035D6C 00032CCC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035D70 00032CD0 7D 89 03 A6 */ mtctr r12 -/* 80035D74 00032CD4 4E 80 04 21 */ bctrl -lbl_80035D78: -/* 80035D78 00032CD8 88 01 01 30 */ lbz r0, 0x130(r1) -/* 80035D7C 00032CDC 28 00 00 00 */ cmplwi r0, 0 -/* 80035D80 00032CE0 41 82 00 24 */ beq lbl_80035DA4 -/* 80035D84 00032CE4 80 61 01 34 */ lwz r3, 0x134(r1) -/* 80035D88 00032CE8 28 03 00 00 */ cmplwi r3, 0 -/* 80035D8C 00032CEC 41 82 00 18 */ beq lbl_80035DA4 -/* 80035D90 00032CF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80035D94 00032CF4 38 80 00 01 */ li r4, 1 -/* 80035D98 00032CF8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035D9C 00032CFC 7D 89 03 A6 */ mtctr r12 -/* 80035DA0 00032D00 4E 80 04 21 */ bctrl -lbl_80035DA4: -/* 80035DA4 00032D04 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80035DA8 00032D08 7F E3 FB 78 */ mr r3, r31 -/* 80035DAC 00032D0C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80035DB0 00032D10 38 84 00 21 */ addi r4, r4, 0x21 -/* 80035DB4 00032D14 48 00 0F A5 */ bl IDFromFactory__FR11CResFactoryPCc -/* 80035DB8 00032D18 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 80035DBC 00032D1C 90 61 00 BC */ stw r3, 0xbc(r1) -/* 80035DC0 00032D20 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 80035DC4 00032D24 38 7F 00 04 */ addi r3, r31, 4 -/* 80035DC8 00032D28 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 80035DCC 00032D2C 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80035DD0 00032D30 38 A0 00 00 */ li r5, 0 -/* 80035DD4 00032D34 48 30 5B 95 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80035DD8 00032D38 7C 03 00 D0 */ neg r0, r3 -/* 80035DDC 00032D3C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80035DE0 00032D40 7C 00 1B 78 */ or r0, r0, r3 -/* 80035DE4 00032D44 90 61 01 2C */ stw r3, 0x12c(r1) -/* 80035DE8 00032D48 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80035DEC 00032D4C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80035DF0 00032D50 98 01 01 28 */ stb r0, 0x128(r1) -/* 80035DF4 00032D54 38 60 03 0C */ li r3, 0x30c -/* 80035DF8 00032D58 38 84 00 07 */ addi r4, r4, 7 -/* 80035DFC 00032D5C 38 A0 00 00 */ li r5, 0 -/* 80035E00 00032D60 48 00 13 A9 */ bl "__nw__26TOneStatic<12CTweakPlayer>FUlPCcPCc" -/* 80035E04 00032D64 7C 64 1B 79 */ or. r4, r3, r3 -/* 80035E08 00032D68 41 82 00 10 */ beq lbl_80035E18 -/* 80035E0C 00032D6C 80 81 01 2C */ lwz r4, 0x12c(r1) -/* 80035E10 00032D70 4B FF EF F5 */ bl __ct__12CTweakPlayerFR12CInputStream -/* 80035E14 00032D74 7C 64 1B 78 */ mr r4, r3 -lbl_80035E18: -/* 80035E18 00032D78 7C 04 00 D0 */ neg r0, r4 -/* 80035E1C 00032D7C 3B BE 00 04 */ addi r29, r30, 4 -/* 80035E20 00032D80 7C 03 23 78 */ or r3, r0, r4 -/* 80035E24 00032D84 38 01 00 B0 */ addi r0, r1, 0xb0 -/* 80035E28 00032D88 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80035E2C 00032D8C 90 8D A1 18 */ stw r4, gpTweakPlayer@sda21(r13) -/* 80035E30 00032D90 7C 00 E8 40 */ cmplw r0, r29 -/* 80035E34 00032D94 98 61 00 B0 */ stb r3, 0xb0(r1) -/* 80035E38 00032D98 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 80035E3C 00032D9C 41 82 00 48 */ beq lbl_80035E84 -/* 80035E40 00032DA0 88 1D 00 00 */ lbz r0, 0(r29) -/* 80035E44 00032DA4 28 00 00 00 */ cmplwi r0, 0 -/* 80035E48 00032DA8 41 82 00 24 */ beq lbl_80035E6C -/* 80035E4C 00032DAC 80 7D 00 04 */ lwz r3, 4(r29) -/* 80035E50 00032DB0 28 03 00 00 */ cmplwi r3, 0 -/* 80035E54 00032DB4 41 82 00 18 */ beq lbl_80035E6C -/* 80035E58 00032DB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80035E5C 00032DBC 38 80 00 01 */ li r4, 1 -/* 80035E60 00032DC0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035E64 00032DC4 7D 89 03 A6 */ mtctr r12 -/* 80035E68 00032DC8 4E 80 04 21 */ bctrl -lbl_80035E6C: -/* 80035E6C 00032DCC 88 61 00 B0 */ lbz r3, 0xb0(r1) -/* 80035E70 00032DD0 38 00 00 00 */ li r0, 0 -/* 80035E74 00032DD4 98 7D 00 00 */ stb r3, 0(r29) -/* 80035E78 00032DD8 80 61 00 B4 */ lwz r3, 0xb4(r1) -/* 80035E7C 00032DDC 90 7D 00 04 */ stw r3, 4(r29) -/* 80035E80 00032DE0 98 01 00 B0 */ stb r0, 0xb0(r1) -lbl_80035E84: -/* 80035E84 00032DE4 88 01 00 B0 */ lbz r0, 0xb0(r1) -/* 80035E88 00032DE8 28 00 00 00 */ cmplwi r0, 0 -/* 80035E8C 00032DEC 41 82 00 24 */ beq lbl_80035EB0 -/* 80035E90 00032DF0 80 61 00 B4 */ lwz r3, 0xb4(r1) -/* 80035E94 00032DF4 28 03 00 00 */ cmplwi r3, 0 -/* 80035E98 00032DF8 41 82 00 18 */ beq lbl_80035EB0 -/* 80035E9C 00032DFC 81 83 00 00 */ lwz r12, 0(r3) -/* 80035EA0 00032E00 38 80 00 01 */ li r4, 1 -/* 80035EA4 00032E04 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035EA8 00032E08 7D 89 03 A6 */ mtctr r12 -/* 80035EAC 00032E0C 4E 80 04 21 */ bctrl -lbl_80035EB0: -/* 80035EB0 00032E10 88 01 01 28 */ lbz r0, 0x128(r1) -/* 80035EB4 00032E14 28 00 00 00 */ cmplwi r0, 0 -/* 80035EB8 00032E18 41 82 00 24 */ beq lbl_80035EDC -/* 80035EBC 00032E1C 80 61 01 2C */ lwz r3, 0x12c(r1) -/* 80035EC0 00032E20 28 03 00 00 */ cmplwi r3, 0 -/* 80035EC4 00032E24 41 82 00 18 */ beq lbl_80035EDC -/* 80035EC8 00032E28 81 83 00 00 */ lwz r12, 0(r3) -/* 80035ECC 00032E2C 38 80 00 01 */ li r4, 1 -/* 80035ED0 00032E30 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035ED4 00032E34 7D 89 03 A6 */ mtctr r12 -/* 80035ED8 00032E38 4E 80 04 21 */ bctrl -lbl_80035EDC: -/* 80035EDC 00032E3C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80035EE0 00032E40 7F E3 FB 78 */ mr r3, r31 -/* 80035EE4 00032E44 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80035EE8 00032E48 38 84 00 28 */ addi r4, r4, 0x28 -/* 80035EEC 00032E4C 48 00 0E 6D */ bl IDFromFactory__FR11CResFactoryPCc -/* 80035EF0 00032E50 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 80035EF4 00032E54 90 61 00 AC */ stw r3, 0xac(r1) -/* 80035EF8 00032E58 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 80035EFC 00032E5C 38 7F 00 04 */ addi r3, r31, 4 -/* 80035F00 00032E60 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80035F04 00032E64 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 80035F08 00032E68 38 A0 00 00 */ li r5, 0 -/* 80035F0C 00032E6C 48 30 5A 5D */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80035F10 00032E70 7C 03 00 D0 */ neg r0, r3 -/* 80035F14 00032E74 90 61 01 24 */ stw r3, 0x124(r1) -/* 80035F18 00032E78 7C 00 1B 78 */ or r0, r0, r3 -/* 80035F1C 00032E7C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80035F20 00032E80 98 01 01 20 */ stb r0, 0x120(r1) -/* 80035F24 00032E84 48 0B 42 61 */ bl ReadTweaks__16CPlayerCameraBobFR12CInputStream -/* 80035F28 00032E88 88 01 01 20 */ lbz r0, 0x120(r1) -/* 80035F2C 00032E8C 28 00 00 00 */ cmplwi r0, 0 -/* 80035F30 00032E90 41 82 00 24 */ beq lbl_80035F54 -/* 80035F34 00032E94 80 61 01 24 */ lwz r3, 0x124(r1) -/* 80035F38 00032E98 28 03 00 00 */ cmplwi r3, 0 -/* 80035F3C 00032E9C 41 82 00 18 */ beq lbl_80035F54 -/* 80035F40 00032EA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80035F44 00032EA4 38 80 00 01 */ li r4, 1 -/* 80035F48 00032EA8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80035F4C 00032EAC 7D 89 03 A6 */ mtctr r12 -/* 80035F50 00032EB0 4E 80 04 21 */ bctrl -lbl_80035F54: -/* 80035F54 00032EB4 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80035F58 00032EB8 7F E3 FB 78 */ mr r3, r31 -/* 80035F5C 00032EBC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80035F60 00032EC0 38 84 00 32 */ addi r4, r4, 0x32 -/* 80035F64 00032EC4 48 00 0D F5 */ bl IDFromFactory__FR11CResFactoryPCc -/* 80035F68 00032EC8 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 80035F6C 00032ECC 90 61 00 A4 */ stw r3, 0xa4(r1) -/* 80035F70 00032ED0 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 80035F74 00032ED4 38 7F 00 04 */ addi r3, r31, 4 -/* 80035F78 00032ED8 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 80035F7C 00032EDC 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 80035F80 00032EE0 38 A0 00 00 */ li r5, 0 -/* 80035F84 00032EE4 48 30 59 E5 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80035F88 00032EE8 7C 03 00 D0 */ neg r0, r3 -/* 80035F8C 00032EEC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80035F90 00032EF0 7C 00 1B 78 */ or r0, r0, r3 -/* 80035F94 00032EF4 90 61 01 1C */ stw r3, 0x11c(r1) -/* 80035F98 00032EF8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80035F9C 00032EFC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80035FA0 00032F00 98 01 01 18 */ stb r0, 0x118(r1) -/* 80035FA4 00032F04 38 60 02 38 */ li r3, 0x238 -/* 80035FA8 00032F08 38 84 00 07 */ addi r4, r4, 7 -/* 80035FAC 00032F0C 38 A0 00 00 */ li r5, 0 -/* 80035FB0 00032F10 48 00 11 99 */ bl "__nw__24TOneStatic<10CTweakBall>FUlPCcPCc" -/* 80035FB4 00032F14 7C 64 1B 79 */ or. r4, r3, r3 -/* 80035FB8 00032F18 41 82 00 10 */ beq lbl_80035FC8 -/* 80035FBC 00032F1C 80 81 01 1C */ lwz r4, 0x11c(r1) -/* 80035FC0 00032F20 48 05 AB 95 */ bl __ct__10CTweakBallFR12CInputStream -/* 80035FC4 00032F24 7C 64 1B 78 */ mr r4, r3 -lbl_80035FC8: -/* 80035FC8 00032F28 7C 04 00 D0 */ neg r0, r4 -/* 80035FCC 00032F2C 3B BE 00 3C */ addi r29, r30, 0x3c -/* 80035FD0 00032F30 7C 03 23 78 */ or r3, r0, r4 -/* 80035FD4 00032F34 38 01 00 98 */ addi r0, r1, 0x98 -/* 80035FD8 00032F38 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80035FDC 00032F3C 90 8D A1 1C */ stw r4, gpTweakBall@sda21(r13) -/* 80035FE0 00032F40 7C 00 E8 40 */ cmplw r0, r29 -/* 80035FE4 00032F44 98 61 00 98 */ stb r3, 0x98(r1) -/* 80035FE8 00032F48 90 81 00 9C */ stw r4, 0x9c(r1) -/* 80035FEC 00032F4C 41 82 00 48 */ beq lbl_80036034 -/* 80035FF0 00032F50 88 1D 00 00 */ lbz r0, 0(r29) -/* 80035FF4 00032F54 28 00 00 00 */ cmplwi r0, 0 -/* 80035FF8 00032F58 41 82 00 24 */ beq lbl_8003601C -/* 80035FFC 00032F5C 80 7D 00 04 */ lwz r3, 4(r29) -/* 80036000 00032F60 28 03 00 00 */ cmplwi r3, 0 -/* 80036004 00032F64 41 82 00 18 */ beq lbl_8003601C -/* 80036008 00032F68 81 83 00 00 */ lwz r12, 0(r3) -/* 8003600C 00032F6C 38 80 00 01 */ li r4, 1 -/* 80036010 00032F70 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036014 00032F74 7D 89 03 A6 */ mtctr r12 -/* 80036018 00032F78 4E 80 04 21 */ bctrl -lbl_8003601C: -/* 8003601C 00032F7C 88 61 00 98 */ lbz r3, 0x98(r1) -/* 80036020 00032F80 38 00 00 00 */ li r0, 0 -/* 80036024 00032F84 98 7D 00 00 */ stb r3, 0(r29) -/* 80036028 00032F88 80 61 00 9C */ lwz r3, 0x9c(r1) -/* 8003602C 00032F8C 90 7D 00 04 */ stw r3, 4(r29) -/* 80036030 00032F90 98 01 00 98 */ stb r0, 0x98(r1) -lbl_80036034: -/* 80036034 00032F94 88 01 00 98 */ lbz r0, 0x98(r1) -/* 80036038 00032F98 28 00 00 00 */ cmplwi r0, 0 -/* 8003603C 00032F9C 41 82 00 24 */ beq lbl_80036060 -/* 80036040 00032FA0 80 61 00 9C */ lwz r3, 0x9c(r1) -/* 80036044 00032FA4 28 03 00 00 */ cmplwi r3, 0 -/* 80036048 00032FA8 41 82 00 18 */ beq lbl_80036060 -/* 8003604C 00032FAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80036050 00032FB0 38 80 00 01 */ li r4, 1 -/* 80036054 00032FB4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036058 00032FB8 7D 89 03 A6 */ mtctr r12 -/* 8003605C 00032FBC 4E 80 04 21 */ bctrl -lbl_80036060: -/* 80036060 00032FC0 88 01 01 18 */ lbz r0, 0x118(r1) -/* 80036064 00032FC4 28 00 00 00 */ cmplwi r0, 0 -/* 80036068 00032FC8 41 82 00 24 */ beq lbl_8003608C -/* 8003606C 00032FCC 80 61 01 1C */ lwz r3, 0x11c(r1) -/* 80036070 00032FD0 28 03 00 00 */ cmplwi r3, 0 -/* 80036074 00032FD4 41 82 00 18 */ beq lbl_8003608C -/* 80036078 00032FD8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003607C 00032FDC 38 80 00 01 */ li r4, 1 -/* 80036080 00032FE0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036084 00032FE4 7D 89 03 A6 */ mtctr r12 -/* 80036088 00032FE8 4E 80 04 21 */ bctrl -lbl_8003608C: -/* 8003608C 00032FEC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036090 00032FF0 7F E3 FB 78 */ mr r3, r31 -/* 80036094 00032FF4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036098 00032FF8 38 84 00 37 */ addi r4, r4, 0x37 -/* 8003609C 00032FFC 48 00 0C BD */ bl IDFromFactory__FR11CResFactoryPCc -/* 800360A0 00033000 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 800360A4 00033004 90 61 00 94 */ stw r3, 0x94(r1) -/* 800360A8 00033008 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 800360AC 0003300C 38 7F 00 04 */ addi r3, r31, 4 -/* 800360B0 00033010 90 01 00 90 */ stw r0, 0x90(r1) -/* 800360B4 00033014 38 81 00 90 */ addi r4, r1, 0x90 -/* 800360B8 00033018 38 A0 00 00 */ li r5, 0 -/* 800360BC 0003301C 48 30 58 AD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 800360C0 00033020 7C 03 00 D0 */ neg r0, r3 -/* 800360C4 00033024 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 800360C8 00033028 7C 00 1B 78 */ or r0, r0, r3 -/* 800360CC 0003302C 90 61 01 14 */ stw r3, 0x114(r1) -/* 800360D0 00033030 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800360D4 00033034 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 800360D8 00033038 98 01 01 10 */ stb r0, 0x110(r1) -/* 800360DC 0003303C 38 60 02 98 */ li r3, 0x298 -/* 800360E0 00033040 38 84 00 07 */ addi r4, r4, 7 -/* 800360E4 00033044 38 A0 00 00 */ li r5, 0 -/* 800360E8 00033048 48 00 0F 41 */ bl "__nw__29TOneStatic<15CTweakPlayerGun>FUlPCcPCc" -/* 800360EC 0003304C 7C 64 1B 79 */ or. r4, r3, r3 -/* 800360F0 00033050 41 82 00 10 */ beq lbl_80036100 -/* 800360F4 00033054 80 81 01 14 */ lwz r4, 0x114(r1) -/* 800360F8 00033058 48 03 9E A1 */ bl __ct__15CTweakPlayerGunFR12CInputStream -/* 800360FC 0003305C 7C 64 1B 78 */ mr r4, r3 -lbl_80036100: -/* 80036100 00033060 7C 04 00 D0 */ neg r0, r4 -/* 80036104 00033064 3B BE 00 24 */ addi r29, r30, 0x24 -/* 80036108 00033068 7C 03 23 78 */ or r3, r0, r4 -/* 8003610C 0003306C 38 01 00 88 */ addi r0, r1, 0x88 -/* 80036110 00033070 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80036114 00033074 90 8D A1 34 */ stw r4, gpTweakPlayerGun@sda21(r13) -/* 80036118 00033078 7C 00 E8 40 */ cmplw r0, r29 -/* 8003611C 0003307C 98 61 00 88 */ stb r3, 0x88(r1) -/* 80036120 00033080 90 81 00 8C */ stw r4, 0x8c(r1) -/* 80036124 00033084 41 82 00 48 */ beq lbl_8003616C -/* 80036128 00033088 88 1D 00 00 */ lbz r0, 0(r29) -/* 8003612C 0003308C 28 00 00 00 */ cmplwi r0, 0 -/* 80036130 00033090 41 82 00 24 */ beq lbl_80036154 -/* 80036134 00033094 80 7D 00 04 */ lwz r3, 4(r29) -/* 80036138 00033098 28 03 00 00 */ cmplwi r3, 0 -/* 8003613C 0003309C 41 82 00 18 */ beq lbl_80036154 -/* 80036140 000330A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80036144 000330A4 38 80 00 01 */ li r4, 1 -/* 80036148 000330A8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003614C 000330AC 7D 89 03 A6 */ mtctr r12 -/* 80036150 000330B0 4E 80 04 21 */ bctrl -lbl_80036154: -/* 80036154 000330B4 88 61 00 88 */ lbz r3, 0x88(r1) -/* 80036158 000330B8 38 00 00 00 */ li r0, 0 -/* 8003615C 000330BC 98 7D 00 00 */ stb r3, 0(r29) -/* 80036160 000330C0 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 80036164 000330C4 90 7D 00 04 */ stw r3, 4(r29) -/* 80036168 000330C8 98 01 00 88 */ stb r0, 0x88(r1) -lbl_8003616C: -/* 8003616C 000330CC 88 01 00 88 */ lbz r0, 0x88(r1) -/* 80036170 000330D0 28 00 00 00 */ cmplwi r0, 0 -/* 80036174 000330D4 41 82 00 24 */ beq lbl_80036198 -/* 80036178 000330D8 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 8003617C 000330DC 28 03 00 00 */ cmplwi r3, 0 -/* 80036180 000330E0 41 82 00 18 */ beq lbl_80036198 -/* 80036184 000330E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80036188 000330E8 38 80 00 01 */ li r4, 1 -/* 8003618C 000330EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036190 000330F0 7D 89 03 A6 */ mtctr r12 -/* 80036194 000330F4 4E 80 04 21 */ bctrl -lbl_80036198: -/* 80036198 000330F8 88 01 01 10 */ lbz r0, 0x110(r1) -/* 8003619C 000330FC 28 00 00 00 */ cmplwi r0, 0 -/* 800361A0 00033100 41 82 00 24 */ beq lbl_800361C4 -/* 800361A4 00033104 80 61 01 14 */ lwz r3, 0x114(r1) -/* 800361A8 00033108 28 03 00 00 */ cmplwi r3, 0 -/* 800361AC 0003310C 41 82 00 18 */ beq lbl_800361C4 -/* 800361B0 00033110 81 83 00 00 */ lwz r12, 0(r3) -/* 800361B4 00033114 38 80 00 01 */ li r4, 1 -/* 800361B8 00033118 81 8C 00 08 */ lwz r12, 8(r12) -/* 800361BC 0003311C 7D 89 03 A6 */ mtctr r12 -/* 800361C0 00033120 4E 80 04 21 */ bctrl -lbl_800361C4: -/* 800361C4 00033124 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 800361C8 00033128 7F E3 FB 78 */ mr r3, r31 -/* 800361CC 0003312C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 800361D0 00033130 38 84 00 41 */ addi r4, r4, 0x41 -/* 800361D4 00033134 48 00 0B 85 */ bl IDFromFactory__FR11CResFactoryPCc -/* 800361D8 00033138 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 800361DC 0003313C 90 61 00 84 */ stw r3, 0x84(r1) -/* 800361E0 00033140 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 800361E4 00033144 38 7F 00 04 */ addi r3, r31, 4 -/* 800361E8 00033148 90 01 00 80 */ stw r0, 0x80(r1) -/* 800361EC 0003314C 38 81 00 80 */ addi r4, r1, 0x80 -/* 800361F0 00033150 38 A0 00 00 */ li r5, 0 -/* 800361F4 00033154 48 30 57 75 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 800361F8 00033158 7C 03 00 D0 */ neg r0, r3 -/* 800361FC 0003315C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036200 00033160 7C 00 1B 78 */ or r0, r0, r3 -/* 80036204 00033164 90 61 01 0C */ stw r3, 0x10c(r1) -/* 80036208 00033168 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8003620C 0003316C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036210 00033170 98 01 01 08 */ stb r0, 0x108(r1) -/* 80036214 00033174 38 60 02 28 */ li r3, 0x228 -/* 80036218 00033178 38 84 00 07 */ addi r4, r4, 7 -/* 8003621C 0003317C 38 A0 00 00 */ li r5, 0 -/* 80036220 00033180 48 00 0C E9 */ bl "__nw__29TOneStatic<15CTweakTargeting>FUlPCcPCc" -/* 80036224 00033184 7C 64 1B 79 */ or. r4, r3, r3 -/* 80036228 00033188 41 82 00 10 */ beq lbl_80036238 -/* 8003622C 0003318C 80 81 01 0C */ lwz r4, 0x10c(r1) -/* 80036230 00033190 48 07 F7 99 */ bl __ct__15CTweakTargetingFR12CInputStream -/* 80036234 00033194 7C 64 1B 78 */ mr r4, r3 -lbl_80036238: -/* 80036238 00033198 7C 04 00 D0 */ neg r0, r4 -/* 8003623C 0003319C 3B BE 00 44 */ addi r29, r30, 0x44 -/* 80036240 000331A0 7C 03 23 78 */ or r3, r0, r4 -/* 80036244 000331A4 38 01 00 78 */ addi r0, r1, 0x78 -/* 80036248 000331A8 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8003624C 000331AC 90 8D A1 40 */ stw r4, gpTweakTargeting@sda21(r13) -/* 80036250 000331B0 7C 00 E8 40 */ cmplw r0, r29 -/* 80036254 000331B4 98 61 00 78 */ stb r3, 0x78(r1) -/* 80036258 000331B8 90 81 00 7C */ stw r4, 0x7c(r1) -/* 8003625C 000331BC 41 82 00 48 */ beq lbl_800362A4 -/* 80036260 000331C0 88 1D 00 00 */ lbz r0, 0(r29) -/* 80036264 000331C4 28 00 00 00 */ cmplwi r0, 0 -/* 80036268 000331C8 41 82 00 24 */ beq lbl_8003628C -/* 8003626C 000331CC 80 7D 00 04 */ lwz r3, 4(r29) -/* 80036270 000331D0 28 03 00 00 */ cmplwi r3, 0 -/* 80036274 000331D4 41 82 00 18 */ beq lbl_8003628C -/* 80036278 000331D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003627C 000331DC 38 80 00 01 */ li r4, 1 -/* 80036280 000331E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036284 000331E4 7D 89 03 A6 */ mtctr r12 -/* 80036288 000331E8 4E 80 04 21 */ bctrl -lbl_8003628C: -/* 8003628C 000331EC 88 61 00 78 */ lbz r3, 0x78(r1) -/* 80036290 000331F0 38 00 00 00 */ li r0, 0 -/* 80036294 000331F4 98 7D 00 00 */ stb r3, 0(r29) -/* 80036298 000331F8 80 61 00 7C */ lwz r3, 0x7c(r1) -/* 8003629C 000331FC 90 7D 00 04 */ stw r3, 4(r29) -/* 800362A0 00033200 98 01 00 78 */ stb r0, 0x78(r1) -lbl_800362A4: -/* 800362A4 00033204 88 01 00 78 */ lbz r0, 0x78(r1) -/* 800362A8 00033208 28 00 00 00 */ cmplwi r0, 0 -/* 800362AC 0003320C 41 82 00 24 */ beq lbl_800362D0 -/* 800362B0 00033210 80 61 00 7C */ lwz r3, 0x7c(r1) -/* 800362B4 00033214 28 03 00 00 */ cmplwi r3, 0 -/* 800362B8 00033218 41 82 00 18 */ beq lbl_800362D0 -/* 800362BC 0003321C 81 83 00 00 */ lwz r12, 0(r3) -/* 800362C0 00033220 38 80 00 01 */ li r4, 1 -/* 800362C4 00033224 81 8C 00 08 */ lwz r12, 8(r12) -/* 800362C8 00033228 7D 89 03 A6 */ mtctr r12 -/* 800362CC 0003322C 4E 80 04 21 */ bctrl -lbl_800362D0: -/* 800362D0 00033230 88 01 01 08 */ lbz r0, 0x108(r1) -/* 800362D4 00033234 28 00 00 00 */ cmplwi r0, 0 -/* 800362D8 00033238 41 82 00 24 */ beq lbl_800362FC -/* 800362DC 0003323C 80 61 01 0C */ lwz r3, 0x10c(r1) -/* 800362E0 00033240 28 03 00 00 */ cmplwi r3, 0 -/* 800362E4 00033244 41 82 00 18 */ beq lbl_800362FC -/* 800362E8 00033248 81 83 00 00 */ lwz r12, 0(r3) -/* 800362EC 0003324C 38 80 00 01 */ li r4, 1 -/* 800362F0 00033250 81 8C 00 08 */ lwz r12, 8(r12) -/* 800362F4 00033254 7D 89 03 A6 */ mtctr r12 -/* 800362F8 00033258 4E 80 04 21 */ bctrl -lbl_800362FC: -/* 800362FC 0003325C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036300 00033260 7F E3 FB 78 */ mr r3, r31 -/* 80036304 00033264 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036308 00033268 38 84 00 4B */ addi r4, r4, 0x4b -/* 8003630C 0003326C 48 00 0A 4D */ bl IDFromFactory__FR11CResFactoryPCc -/* 80036310 00033270 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 80036314 00033274 90 61 00 74 */ stw r3, 0x74(r1) -/* 80036318 00033278 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 8003631C 0003327C 38 7F 00 04 */ addi r3, r31, 4 -/* 80036320 00033280 90 01 00 70 */ stw r0, 0x70(r1) -/* 80036324 00033284 38 81 00 70 */ addi r4, r1, 0x70 -/* 80036328 00033288 38 A0 00 00 */ li r5, 0 -/* 8003632C 0003328C 48 30 56 3D */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80036330 00033290 7C 03 00 D0 */ neg r0, r3 -/* 80036334 00033294 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036338 00033298 7C 00 1B 78 */ or r0, r0, r3 -/* 8003633C 0003329C 90 61 01 04 */ stw r3, 0x104(r1) -/* 80036340 000332A0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80036344 000332A4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036348 000332A8 98 01 01 00 */ stb r0, 0x100(r1) -/* 8003634C 000332AC 38 60 00 68 */ li r3, 0x68 -/* 80036350 000332B0 38 84 00 07 */ addi r4, r4, 7 -/* 80036354 000332B4 38 A0 00 00 */ li r5, 0 -/* 80036358 000332B8 48 00 0D 91 */ bl "__nw__24TOneStatic<10CTweakGame>FUlPCcPCc" -/* 8003635C 000332BC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80036360 000332C0 41 82 00 10 */ beq lbl_80036370 -/* 80036364 000332C4 80 81 01 04 */ lwz r4, 0x104(r1) -/* 80036368 000332C8 48 00 0E 7D */ bl __ct__10CTweakGameFR12CInputStream -/* 8003636C 000332CC 7C 64 1B 78 */ mr r4, r3 -lbl_80036370: -/* 80036370 000332D0 7C 04 00 D0 */ neg r0, r4 -/* 80036374 000332D4 3B BE 00 0C */ addi r29, r30, 0xc -/* 80036378 000332D8 7C 03 23 78 */ or r3, r0, r4 -/* 8003637C 000332DC 38 01 00 68 */ addi r0, r1, 0x68 -/* 80036380 000332E0 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80036384 000332E4 90 8D A1 20 */ stw r4, gpTweakGame@sda21(r13) -/* 80036388 000332E8 7C 00 E8 40 */ cmplw r0, r29 -/* 8003638C 000332EC 98 61 00 68 */ stb r3, 0x68(r1) -/* 80036390 000332F0 90 81 00 6C */ stw r4, 0x6c(r1) -/* 80036394 000332F4 41 82 00 48 */ beq lbl_800363DC -/* 80036398 000332F8 88 1D 00 00 */ lbz r0, 0(r29) -/* 8003639C 000332FC 28 00 00 00 */ cmplwi r0, 0 -/* 800363A0 00033300 41 82 00 24 */ beq lbl_800363C4 -/* 800363A4 00033304 80 7D 00 04 */ lwz r3, 4(r29) -/* 800363A8 00033308 28 03 00 00 */ cmplwi r3, 0 -/* 800363AC 0003330C 41 82 00 18 */ beq lbl_800363C4 -/* 800363B0 00033310 81 83 00 00 */ lwz r12, 0(r3) -/* 800363B4 00033314 38 80 00 01 */ li r4, 1 -/* 800363B8 00033318 81 8C 00 08 */ lwz r12, 8(r12) -/* 800363BC 0003331C 7D 89 03 A6 */ mtctr r12 -/* 800363C0 00033320 4E 80 04 21 */ bctrl -lbl_800363C4: -/* 800363C4 00033324 88 61 00 68 */ lbz r3, 0x68(r1) -/* 800363C8 00033328 38 00 00 00 */ li r0, 0 -/* 800363CC 0003332C 98 7D 00 00 */ stb r3, 0(r29) -/* 800363D0 00033330 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 800363D4 00033334 90 7D 00 04 */ stw r3, 4(r29) -/* 800363D8 00033338 98 01 00 68 */ stb r0, 0x68(r1) -lbl_800363DC: -/* 800363DC 0003333C 88 01 00 68 */ lbz r0, 0x68(r1) -/* 800363E0 00033340 28 00 00 00 */ cmplwi r0, 0 -/* 800363E4 00033344 41 82 00 24 */ beq lbl_80036408 -/* 800363E8 00033348 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 800363EC 0003334C 28 03 00 00 */ cmplwi r3, 0 -/* 800363F0 00033350 41 82 00 18 */ beq lbl_80036408 -/* 800363F4 00033354 81 83 00 00 */ lwz r12, 0(r3) -/* 800363F8 00033358 38 80 00 01 */ li r4, 1 -/* 800363FC 0003335C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036400 00033360 7D 89 03 A6 */ mtctr r12 -/* 80036404 00033364 4E 80 04 21 */ bctrl -lbl_80036408: -/* 80036408 00033368 88 01 01 00 */ lbz r0, 0x100(r1) -/* 8003640C 0003336C 28 00 00 00 */ cmplwi r0, 0 -/* 80036410 00033370 41 82 00 24 */ beq lbl_80036434 -/* 80036414 00033374 80 61 01 04 */ lwz r3, 0x104(r1) -/* 80036418 00033378 28 03 00 00 */ cmplwi r3, 0 -/* 8003641C 0003337C 41 82 00 18 */ beq lbl_80036434 -/* 80036420 00033380 81 83 00 00 */ lwz r12, 0(r3) -/* 80036424 00033384 38 80 00 01 */ li r4, 1 -/* 80036428 00033388 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003642C 0003338C 7D 89 03 A6 */ mtctr r12 -/* 80036430 00033390 4E 80 04 21 */ bctrl -lbl_80036434: -/* 80036434 00033394 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036438 00033398 7F E3 FB 78 */ mr r3, r31 -/* 8003643C 0003339C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036440 000333A0 38 84 00 50 */ addi r4, r4, 0x50 -/* 80036444 000333A4 48 00 09 15 */ bl IDFromFactory__FR11CResFactoryPCc -/* 80036448 000333A8 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 8003644C 000333AC 90 61 00 64 */ stw r3, 0x64(r1) -/* 80036450 000333B0 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 80036454 000333B4 38 7F 00 04 */ addi r3, r31, 4 -/* 80036458 000333B8 90 01 00 60 */ stw r0, 0x60(r1) -/* 8003645C 000333BC 38 81 00 60 */ addi r4, r1, 0x60 -/* 80036460 000333C0 38 A0 00 00 */ li r5, 0 -/* 80036464 000333C4 48 30 55 05 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80036468 000333C8 7C 03 00 D0 */ neg r0, r3 -/* 8003646C 000333CC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036470 000333D0 7C 00 1B 78 */ or r0, r0, r3 -/* 80036474 000333D4 90 61 00 FC */ stw r3, 0xfc(r1) -/* 80036478 000333D8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8003647C 000333DC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036480 000333E0 98 01 00 F8 */ stb r0, 0xf8(r1) -/* 80036484 000333E4 38 60 02 54 */ li r3, 0x254 -/* 80036488 000333E8 38 84 00 07 */ addi r4, r4, 7 -/* 8003648C 000333EC 38 A0 00 00 */ li r5, 0 -/* 80036490 000333F0 48 00 0A D9 */ bl "__nw__29TOneStatic<15CTweakGuiColors>FUlPCcPCc" -/* 80036494 000333F4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80036498 000333F8 41 82 00 10 */ beq lbl_800364A8 -/* 8003649C 000333FC 80 81 00 FC */ lwz r4, 0xfc(r1) -/* 800364A0 00033400 48 19 75 8D */ bl __ct__15CTweakGuiColorsFR12CInputStream -/* 800364A4 00033404 7C 64 1B 78 */ mr r4, r3 -lbl_800364A8: -/* 800364A8 00033408 7C 04 00 D0 */ neg r0, r4 -/* 800364AC 0003340C 3B BE 00 34 */ addi r29, r30, 0x34 -/* 800364B0 00033410 7C 03 23 78 */ or r3, r0, r4 -/* 800364B4 00033414 38 01 00 58 */ addi r0, r1, 0x58 -/* 800364B8 00033418 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800364BC 0003341C 90 8D A1 3C */ stw r4, gpTweakGuiColors@sda21(r13) -/* 800364C0 00033420 7C 00 E8 40 */ cmplw r0, r29 -/* 800364C4 00033424 98 61 00 58 */ stb r3, 0x58(r1) -/* 800364C8 00033428 90 81 00 5C */ stw r4, 0x5c(r1) -/* 800364CC 0003342C 41 82 00 48 */ beq lbl_80036514 -/* 800364D0 00033430 88 1D 00 00 */ lbz r0, 0(r29) -/* 800364D4 00033434 28 00 00 00 */ cmplwi r0, 0 -/* 800364D8 00033438 41 82 00 24 */ beq lbl_800364FC -/* 800364DC 0003343C 80 7D 00 04 */ lwz r3, 4(r29) -/* 800364E0 00033440 28 03 00 00 */ cmplwi r3, 0 -/* 800364E4 00033444 41 82 00 18 */ beq lbl_800364FC -/* 800364E8 00033448 81 83 00 00 */ lwz r12, 0(r3) -/* 800364EC 0003344C 38 80 00 01 */ li r4, 1 -/* 800364F0 00033450 81 8C 00 08 */ lwz r12, 8(r12) -/* 800364F4 00033454 7D 89 03 A6 */ mtctr r12 -/* 800364F8 00033458 4E 80 04 21 */ bctrl -lbl_800364FC: -/* 800364FC 0003345C 88 61 00 58 */ lbz r3, 0x58(r1) -/* 80036500 00033460 38 00 00 00 */ li r0, 0 -/* 80036504 00033464 98 7D 00 00 */ stb r3, 0(r29) -/* 80036508 00033468 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8003650C 0003346C 90 7D 00 04 */ stw r3, 4(r29) -/* 80036510 00033470 98 01 00 58 */ stb r0, 0x58(r1) -lbl_80036514: -/* 80036514 00033474 88 01 00 58 */ lbz r0, 0x58(r1) -/* 80036518 00033478 28 00 00 00 */ cmplwi r0, 0 -/* 8003651C 0003347C 41 82 00 24 */ beq lbl_80036540 -/* 80036520 00033480 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 80036524 00033484 28 03 00 00 */ cmplwi r3, 0 -/* 80036528 00033488 41 82 00 18 */ beq lbl_80036540 -/* 8003652C 0003348C 81 83 00 00 */ lwz r12, 0(r3) -/* 80036530 00033490 38 80 00 01 */ li r4, 1 -/* 80036534 00033494 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036538 00033498 7D 89 03 A6 */ mtctr r12 -/* 8003653C 0003349C 4E 80 04 21 */ bctrl -lbl_80036540: -/* 80036540 000334A0 88 01 00 F8 */ lbz r0, 0xf8(r1) -/* 80036544 000334A4 28 00 00 00 */ cmplwi r0, 0 -/* 80036548 000334A8 41 82 00 24 */ beq lbl_8003656C -/* 8003654C 000334AC 80 61 00 FC */ lwz r3, 0xfc(r1) -/* 80036550 000334B0 28 03 00 00 */ cmplwi r3, 0 -/* 80036554 000334B4 41 82 00 18 */ beq lbl_8003656C -/* 80036558 000334B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003655C 000334BC 38 80 00 01 */ li r4, 1 -/* 80036560 000334C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036564 000334C4 7D 89 03 A6 */ mtctr r12 -/* 80036568 000334C8 4E 80 04 21 */ bctrl -lbl_8003656C: -/* 8003656C 000334CC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036570 000334D0 7F E3 FB 78 */ mr r3, r31 -/* 80036574 000334D4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036578 000334D8 38 84 00 5A */ addi r4, r4, 0x5a -/* 8003657C 000334DC 48 00 07 DD */ bl IDFromFactory__FR11CResFactoryPCc -/* 80036580 000334E0 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 80036584 000334E4 90 61 00 54 */ stw r3, 0x54(r1) -/* 80036588 000334E8 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 8003658C 000334EC 38 7F 00 04 */ addi r3, r31, 4 -/* 80036590 000334F0 90 01 00 50 */ stw r0, 0x50(r1) -/* 80036594 000334F4 38 81 00 50 */ addi r4, r1, 0x50 -/* 80036598 000334F8 38 A0 00 00 */ li r5, 0 -/* 8003659C 000334FC 48 30 53 CD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 800365A0 00033500 7C 03 00 D0 */ neg r0, r3 -/* 800365A4 00033504 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 800365A8 00033508 7C 00 1B 78 */ or r0, r0, r3 -/* 800365AC 0003350C 90 61 00 F4 */ stw r3, 0xf4(r1) -/* 800365B0 00033510 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800365B4 00033514 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 800365B8 00033518 98 01 00 F0 */ stb r0, 0xf0(r1) -/* 800365BC 0003351C 38 60 01 20 */ li r3, 0x120 -/* 800365C0 00033520 38 84 00 07 */ addi r4, r4, 7 -/* 800365C4 00033524 38 A0 00 00 */ li r5, 0 -/* 800365C8 00033528 48 00 08 E1 */ bl "__nw__30TOneStatic<16CTweakAutoMapper>FUlPCcPCc" -/* 800365CC 0003352C 7C 64 1B 79 */ or. r4, r3, r3 -/* 800365D0 00033530 41 82 00 10 */ beq lbl_800365E0 -/* 800365D4 00033534 80 81 00 F4 */ lwz r4, 0xf4(r1) -/* 800365D8 00033538 48 08 03 E5 */ bl __ct__16CTweakAutoMapperFR12CInputStream -/* 800365DC 0003353C 7C 64 1B 78 */ mr r4, r3 -lbl_800365E0: -/* 800365E0 00033540 7C 04 00 D0 */ neg r0, r4 -/* 800365E4 00033544 3B BE 00 4C */ addi r29, r30, 0x4c -/* 800365E8 00033548 7C 03 23 78 */ or r3, r0, r4 -/* 800365EC 0003354C 38 01 00 48 */ addi r0, r1, 0x48 -/* 800365F0 00033550 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800365F4 00033554 90 8D A1 44 */ stw r4, gpTweakAutoMapper@sda21(r13) -/* 800365F8 00033558 7C 00 E8 40 */ cmplw r0, r29 -/* 800365FC 0003355C 98 61 00 48 */ stb r3, 0x48(r1) -/* 80036600 00033560 90 81 00 4C */ stw r4, 0x4c(r1) -/* 80036604 00033564 41 82 00 48 */ beq lbl_8003664C -/* 80036608 00033568 88 1D 00 00 */ lbz r0, 0(r29) -/* 8003660C 0003356C 28 00 00 00 */ cmplwi r0, 0 -/* 80036610 00033570 41 82 00 24 */ beq lbl_80036634 -/* 80036614 00033574 80 7D 00 04 */ lwz r3, 4(r29) -/* 80036618 00033578 28 03 00 00 */ cmplwi r3, 0 -/* 8003661C 0003357C 41 82 00 18 */ beq lbl_80036634 -/* 80036620 00033580 81 83 00 00 */ lwz r12, 0(r3) -/* 80036624 00033584 38 80 00 01 */ li r4, 1 -/* 80036628 00033588 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003662C 0003358C 7D 89 03 A6 */ mtctr r12 -/* 80036630 00033590 4E 80 04 21 */ bctrl -lbl_80036634: -/* 80036634 00033594 88 61 00 48 */ lbz r3, 0x48(r1) -/* 80036638 00033598 38 00 00 00 */ li r0, 0 -/* 8003663C 0003359C 98 7D 00 00 */ stb r3, 0(r29) -/* 80036640 000335A0 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80036644 000335A4 90 7D 00 04 */ stw r3, 4(r29) -/* 80036648 000335A8 98 01 00 48 */ stb r0, 0x48(r1) -lbl_8003664C: -/* 8003664C 000335AC 88 01 00 48 */ lbz r0, 0x48(r1) -/* 80036650 000335B0 28 00 00 00 */ cmplwi r0, 0 -/* 80036654 000335B4 41 82 00 24 */ beq lbl_80036678 -/* 80036658 000335B8 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8003665C 000335BC 28 03 00 00 */ cmplwi r3, 0 -/* 80036660 000335C0 41 82 00 18 */ beq lbl_80036678 -/* 80036664 000335C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80036668 000335C8 38 80 00 01 */ li r4, 1 -/* 8003666C 000335CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036670 000335D0 7D 89 03 A6 */ mtctr r12 -/* 80036674 000335D4 4E 80 04 21 */ bctrl -lbl_80036678: -/* 80036678 000335D8 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 8003667C 000335DC 48 0B 2D ED */ bl ReadAutomapperTweaks__15CMappableObjectFRC16CTweakAutoMapper -/* 80036680 000335E0 88 01 00 F0 */ lbz r0, 0xf0(r1) -/* 80036684 000335E4 28 00 00 00 */ cmplwi r0, 0 -/* 80036688 000335E8 41 82 00 24 */ beq lbl_800366AC -/* 8003668C 000335EC 80 61 00 F4 */ lwz r3, 0xf4(r1) -/* 80036690 000335F0 28 03 00 00 */ cmplwi r3, 0 -/* 80036694 000335F4 41 82 00 18 */ beq lbl_800366AC -/* 80036698 000335F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003669C 000335FC 38 80 00 01 */ li r4, 1 -/* 800366A0 00033600 81 8C 00 08 */ lwz r12, 8(r12) -/* 800366A4 00033604 7D 89 03 A6 */ mtctr r12 -/* 800366A8 00033608 4E 80 04 21 */ bctrl -lbl_800366AC: -/* 800366AC 0003360C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 800366B0 00033610 7F E3 FB 78 */ mr r3, r31 -/* 800366B4 00033614 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 800366B8 00033618 38 84 00 65 */ addi r4, r4, 0x65 -/* 800366BC 0003361C 48 00 06 9D */ bl IDFromFactory__FR11CResFactoryPCc -/* 800366C0 00033620 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 800366C4 00033624 90 61 00 44 */ stw r3, 0x44(r1) -/* 800366C8 00033628 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 800366CC 0003362C 38 7F 00 04 */ addi r3, r31, 4 -/* 800366D0 00033630 90 01 00 40 */ stw r0, 0x40(r1) -/* 800366D4 00033634 38 81 00 40 */ addi r4, r1, 0x40 -/* 800366D8 00033638 38 A0 00 00 */ li r5, 0 -/* 800366DC 0003363C 48 30 52 8D */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 800366E0 00033640 7C 03 00 D0 */ neg r0, r3 -/* 800366E4 00033644 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 800366E8 00033648 7C 00 1B 78 */ or r0, r0, r3 -/* 800366EC 0003364C 90 61 00 EC */ stw r3, 0xec(r1) -/* 800366F0 00033650 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800366F4 00033654 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 800366F8 00033658 98 01 00 E8 */ stb r0, 0xe8(r1) -/* 800366FC 0003365C 38 60 03 68 */ li r3, 0x368 -/* 80036700 00033660 38 84 00 07 */ addi r4, r4, 7 -/* 80036704 00033664 38 A0 00 00 */ li r5, 0 -/* 80036708 00033668 48 00 08 C1 */ bl "__nw__22TOneStatic<9CTweakGui>FUlPCcPCc" -/* 8003670C 0003366C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80036710 00033670 41 82 00 10 */ beq lbl_80036720 -/* 80036714 00033674 80 81 00 EC */ lwz r4, 0xec(r1) -/* 80036718 00033678 48 03 DC 49 */ bl __ct__9CTweakGuiFR12CInputStream -/* 8003671C 0003367C 7C 64 1B 78 */ mr r4, r3 -lbl_80036720: -/* 80036720 00033680 7C 04 00 D0 */ neg r0, r4 -/* 80036724 00033684 3B BE 00 2C */ addi r29, r30, 0x2c -/* 80036728 00033688 7C 03 23 78 */ or r3, r0, r4 -/* 8003672C 0003368C 38 01 00 38 */ addi r0, r1, 0x38 -/* 80036730 00033690 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80036734 00033694 90 8D A1 38 */ stw r4, gpTweakGui@sda21(r13) -/* 80036738 00033698 7C 00 E8 40 */ cmplw r0, r29 -/* 8003673C 0003369C 98 61 00 38 */ stb r3, 0x38(r1) -/* 80036740 000336A0 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80036744 000336A4 41 82 00 48 */ beq lbl_8003678C -/* 80036748 000336A8 88 1D 00 00 */ lbz r0, 0(r29) -/* 8003674C 000336AC 28 00 00 00 */ cmplwi r0, 0 -/* 80036750 000336B0 41 82 00 24 */ beq lbl_80036774 -/* 80036754 000336B4 80 7D 00 04 */ lwz r3, 4(r29) -/* 80036758 000336B8 28 03 00 00 */ cmplwi r3, 0 -/* 8003675C 000336BC 41 82 00 18 */ beq lbl_80036774 -/* 80036760 000336C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80036764 000336C4 38 80 00 01 */ li r4, 1 -/* 80036768 000336C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003676C 000336CC 7D 89 03 A6 */ mtctr r12 -/* 80036770 000336D0 4E 80 04 21 */ bctrl -lbl_80036774: -/* 80036774 000336D4 88 61 00 38 */ lbz r3, 0x38(r1) -/* 80036778 000336D8 38 00 00 00 */ li r0, 0 -/* 8003677C 000336DC 98 7D 00 00 */ stb r3, 0(r29) -/* 80036780 000336E0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80036784 000336E4 90 7D 00 04 */ stw r3, 4(r29) -/* 80036788 000336E8 98 01 00 38 */ stb r0, 0x38(r1) -lbl_8003678C: -/* 8003678C 000336EC 88 01 00 38 */ lbz r0, 0x38(r1) -/* 80036790 000336F0 28 00 00 00 */ cmplwi r0, 0 -/* 80036794 000336F4 41 82 00 24 */ beq lbl_800367B8 -/* 80036798 000336F8 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8003679C 000336FC 28 03 00 00 */ cmplwi r3, 0 -/* 800367A0 00033700 41 82 00 18 */ beq lbl_800367B8 -/* 800367A4 00033704 81 83 00 00 */ lwz r12, 0(r3) -/* 800367A8 00033708 38 80 00 01 */ li r4, 1 -/* 800367AC 0003370C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800367B0 00033710 7D 89 03 A6 */ mtctr r12 -/* 800367B4 00033714 4E 80 04 21 */ bctrl -lbl_800367B8: -/* 800367B8 00033718 88 01 00 E8 */ lbz r0, 0xe8(r1) -/* 800367BC 0003371C 28 00 00 00 */ cmplwi r0, 0 -/* 800367C0 00033720 41 82 00 24 */ beq lbl_800367E4 -/* 800367C4 00033724 80 61 00 EC */ lwz r3, 0xec(r1) -/* 800367C8 00033728 28 03 00 00 */ cmplwi r3, 0 -/* 800367CC 0003372C 41 82 00 18 */ beq lbl_800367E4 -/* 800367D0 00033730 81 83 00 00 */ lwz r12, 0(r3) -/* 800367D4 00033734 38 80 00 01 */ li r4, 1 -/* 800367D8 00033738 81 8C 00 08 */ lwz r12, 8(r12) -/* 800367DC 0003373C 7D 89 03 A6 */ mtctr r12 -/* 800367E0 00033740 4E 80 04 21 */ bctrl -lbl_800367E4: -/* 800367E4 00033744 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 800367E8 00033748 7F E3 FB 78 */ mr r3, r31 -/* 800367EC 0003374C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 800367F0 00033750 38 84 00 69 */ addi r4, r4, 0x69 -/* 800367F4 00033754 48 00 05 65 */ bl IDFromFactory__FR11CResFactoryPCc -/* 800367F8 00033758 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 800367FC 0003375C 90 61 00 34 */ stw r3, 0x34(r1) -/* 80036800 00033760 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 80036804 00033764 38 7F 00 04 */ addi r3, r31, 4 -/* 80036808 00033768 90 01 00 30 */ stw r0, 0x30(r1) -/* 8003680C 0003376C 38 81 00 30 */ addi r4, r1, 0x30 -/* 80036810 00033770 38 A0 00 00 */ li r5, 0 -/* 80036814 00033774 48 30 51 55 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80036818 00033778 7C 03 00 D0 */ neg r0, r3 -/* 8003681C 0003377C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036820 00033780 7C 00 1B 78 */ or r0, r0, r3 -/* 80036824 00033784 90 61 00 E4 */ stw r3, 0xe4(r1) -/* 80036828 00033788 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8003682C 0003378C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036830 00033790 98 01 00 E0 */ stb r0, 0xe0(r1) -/* 80036834 00033794 38 60 01 14 */ li r3, 0x114 -/* 80036838 00033798 38 84 00 07 */ addi r4, r4, 7 -/* 8003683C 0003379C 38 A0 00 00 */ li r5, 0 -/* 80036840 000337A0 48 2D F0 2D */ bl __nw__FUlPCcPCc -/* 80036844 000337A4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80036848 000337A8 41 82 00 10 */ beq lbl_80036858 -/* 8003684C 000337AC 80 81 00 E4 */ lwz r4, 0xe4(r1) -/* 80036850 000337B0 48 03 91 2D */ bl __ct__19CTweakPlayerControlFR12CInputStream -/* 80036854 000337B4 7C 64 1B 78 */ mr r4, r3 -lbl_80036858: -/* 80036858 000337B8 7C 04 00 D0 */ neg r0, r4 -/* 8003685C 000337BC 3B BE 00 1C */ addi r29, r30, 0x1c -/* 80036860 000337C0 7C 03 23 78 */ or r3, r0, r4 -/* 80036864 000337C4 38 01 00 28 */ addi r0, r1, 0x28 -/* 80036868 000337C8 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8003686C 000337CC 90 8D A1 28 */ stw r4, gpTweakPlayerControlCurrent@sda21(r13) -/* 80036870 000337D0 7C 00 E8 40 */ cmplw r0, r29 -/* 80036874 000337D4 98 61 00 28 */ stb r3, 0x28(r1) -/* 80036878 000337D8 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8003687C 000337DC 41 82 00 48 */ beq lbl_800368C4 -/* 80036880 000337E0 88 1D 00 00 */ lbz r0, 0(r29) -/* 80036884 000337E4 28 00 00 00 */ cmplwi r0, 0 -/* 80036888 000337E8 41 82 00 24 */ beq lbl_800368AC -/* 8003688C 000337EC 80 7D 00 04 */ lwz r3, 4(r29) -/* 80036890 000337F0 28 03 00 00 */ cmplwi r3, 0 -/* 80036894 000337F4 41 82 00 18 */ beq lbl_800368AC -/* 80036898 000337F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003689C 000337FC 38 80 00 01 */ li r4, 1 -/* 800368A0 00033800 81 8C 00 08 */ lwz r12, 8(r12) -/* 800368A4 00033804 7D 89 03 A6 */ mtctr r12 -/* 800368A8 00033808 4E 80 04 21 */ bctrl -lbl_800368AC: -/* 800368AC 0003380C 88 61 00 28 */ lbz r3, 0x28(r1) -/* 800368B0 00033810 38 00 00 00 */ li r0, 0 -/* 800368B4 00033814 98 7D 00 00 */ stb r3, 0(r29) -/* 800368B8 00033818 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800368BC 0003381C 90 7D 00 04 */ stw r3, 4(r29) -/* 800368C0 00033820 98 01 00 28 */ stb r0, 0x28(r1) -lbl_800368C4: -/* 800368C4 00033824 88 01 00 28 */ lbz r0, 0x28(r1) -/* 800368C8 00033828 28 00 00 00 */ cmplwi r0, 0 -/* 800368CC 0003382C 41 82 00 24 */ beq lbl_800368F0 -/* 800368D0 00033830 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800368D4 00033834 28 03 00 00 */ cmplwi r3, 0 -/* 800368D8 00033838 41 82 00 18 */ beq lbl_800368F0 -/* 800368DC 0003383C 81 83 00 00 */ lwz r12, 0(r3) -/* 800368E0 00033840 38 80 00 01 */ li r4, 1 -/* 800368E4 00033844 81 8C 00 08 */ lwz r12, 8(r12) -/* 800368E8 00033848 7D 89 03 A6 */ mtctr r12 -/* 800368EC 0003384C 4E 80 04 21 */ bctrl -lbl_800368F0: -/* 800368F0 00033850 88 01 00 E0 */ lbz r0, 0xe0(r1) -/* 800368F4 00033854 80 6D A1 28 */ lwz r3, gpTweakPlayerControlCurrent@sda21(r13) -/* 800368F8 00033858 28 00 00 00 */ cmplwi r0, 0 -/* 800368FC 0003385C 90 6D A1 2C */ stw r3, gpTweakPlayerControl1@sda21(r13) -/* 80036900 00033860 41 82 00 24 */ beq lbl_80036924 -/* 80036904 00033864 80 61 00 E4 */ lwz r3, 0xe4(r1) -/* 80036908 00033868 28 03 00 00 */ cmplwi r3, 0 -/* 8003690C 0003386C 41 82 00 18 */ beq lbl_80036924 -/* 80036910 00033870 81 83 00 00 */ lwz r12, 0(r3) -/* 80036914 00033874 38 80 00 01 */ li r4, 1 -/* 80036918 00033878 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003691C 0003387C 7D 89 03 A6 */ mtctr r12 -/* 80036920 00033880 4E 80 04 21 */ bctrl -lbl_80036924: -/* 80036924 00033884 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036928 00033888 7F E3 FB 78 */ mr r3, r31 -/* 8003692C 0003388C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036930 00033890 38 84 00 78 */ addi r4, r4, 0x78 -/* 80036934 00033894 48 00 04 25 */ bl IDFromFactory__FR11CResFactoryPCc -/* 80036938 00033898 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 8003693C 0003389C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80036940 000338A0 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 80036944 000338A4 38 7F 00 04 */ addi r3, r31, 4 -/* 80036948 000338A8 90 01 00 20 */ stw r0, 0x20(r1) -/* 8003694C 000338AC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80036950 000338B0 38 A0 00 00 */ li r5, 0 -/* 80036954 000338B4 48 30 50 15 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80036958 000338B8 7C 03 00 D0 */ neg r0, r3 -/* 8003695C 000338BC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036960 000338C0 7C 00 1B 78 */ or r0, r0, r3 -/* 80036964 000338C4 90 61 00 DC */ stw r3, 0xdc(r1) -/* 80036968 000338C8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8003696C 000338CC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036970 000338D0 98 01 00 D8 */ stb r0, 0xd8(r1) -/* 80036974 000338D4 38 60 01 14 */ li r3, 0x114 -/* 80036978 000338D8 38 84 00 07 */ addi r4, r4, 7 -/* 8003697C 000338DC 38 A0 00 00 */ li r5, 0 -/* 80036980 000338E0 48 2D EE ED */ bl __nw__FUlPCcPCc -/* 80036984 000338E4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80036988 000338E8 41 82 00 10 */ beq lbl_80036998 -/* 8003698C 000338EC 80 81 00 DC */ lwz r4, 0xdc(r1) -/* 80036990 000338F0 48 03 8F ED */ bl __ct__19CTweakPlayerControlFR12CInputStream -/* 80036994 000338F4 7C 64 1B 78 */ mr r4, r3 -lbl_80036998: -/* 80036998 000338F8 7C 04 00 D0 */ neg r0, r4 -/* 8003699C 000338FC 3B BE 00 6C */ addi r29, r30, 0x6c -/* 800369A0 00033900 7C 03 23 78 */ or r3, r0, r4 -/* 800369A4 00033904 38 01 00 18 */ addi r0, r1, 0x18 -/* 800369A8 00033908 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800369AC 0003390C 90 8D A1 30 */ stw r4, gpTweakPlayerControl2@sda21(r13) -/* 800369B0 00033910 7C 00 E8 40 */ cmplw r0, r29 -/* 800369B4 00033914 98 61 00 18 */ stb r3, 0x18(r1) -/* 800369B8 00033918 90 81 00 1C */ stw r4, 0x1c(r1) -/* 800369BC 0003391C 41 82 00 48 */ beq lbl_80036A04 -/* 800369C0 00033920 88 1D 00 00 */ lbz r0, 0(r29) -/* 800369C4 00033924 28 00 00 00 */ cmplwi r0, 0 -/* 800369C8 00033928 41 82 00 24 */ beq lbl_800369EC -/* 800369CC 0003392C 80 7D 00 04 */ lwz r3, 4(r29) -/* 800369D0 00033930 28 03 00 00 */ cmplwi r3, 0 -/* 800369D4 00033934 41 82 00 18 */ beq lbl_800369EC -/* 800369D8 00033938 81 83 00 00 */ lwz r12, 0(r3) -/* 800369DC 0003393C 38 80 00 01 */ li r4, 1 -/* 800369E0 00033940 81 8C 00 08 */ lwz r12, 8(r12) -/* 800369E4 00033944 7D 89 03 A6 */ mtctr r12 -/* 800369E8 00033948 4E 80 04 21 */ bctrl -lbl_800369EC: -/* 800369EC 0003394C 88 61 00 18 */ lbz r3, 0x18(r1) -/* 800369F0 00033950 38 00 00 00 */ li r0, 0 -/* 800369F4 00033954 98 7D 00 00 */ stb r3, 0(r29) -/* 800369F8 00033958 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 800369FC 0003395C 90 7D 00 04 */ stw r3, 4(r29) -/* 80036A00 00033960 98 01 00 18 */ stb r0, 0x18(r1) -lbl_80036A04: -/* 80036A04 00033964 88 01 00 18 */ lbz r0, 0x18(r1) -/* 80036A08 00033968 28 00 00 00 */ cmplwi r0, 0 -/* 80036A0C 0003396C 41 82 00 24 */ beq lbl_80036A30 -/* 80036A10 00033970 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80036A14 00033974 28 03 00 00 */ cmplwi r3, 0 -/* 80036A18 00033978 41 82 00 18 */ beq lbl_80036A30 -/* 80036A1C 0003397C 81 83 00 00 */ lwz r12, 0(r3) -/* 80036A20 00033980 38 80 00 01 */ li r4, 1 -/* 80036A24 00033984 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036A28 00033988 7D 89 03 A6 */ mtctr r12 -/* 80036A2C 0003398C 4E 80 04 21 */ bctrl -lbl_80036A30: -/* 80036A30 00033990 88 01 00 D8 */ lbz r0, 0xd8(r1) -/* 80036A34 00033994 28 00 00 00 */ cmplwi r0, 0 -/* 80036A38 00033998 41 82 00 24 */ beq lbl_80036A5C -/* 80036A3C 0003399C 80 61 00 DC */ lwz r3, 0xdc(r1) -/* 80036A40 000339A0 28 03 00 00 */ cmplwi r3, 0 -/* 80036A44 000339A4 41 82 00 18 */ beq lbl_80036A5C -/* 80036A48 000339A8 81 83 00 00 */ lwz r12, 0(r3) -/* 80036A4C 000339AC 38 80 00 01 */ li r4, 1 -/* 80036A50 000339B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036A54 000339B4 7D 89 03 A6 */ mtctr r12 -/* 80036A58 000339B8 4E 80 04 21 */ bctrl -lbl_80036A5C: -/* 80036A5C 000339BC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036A60 000339C0 7F E3 FB 78 */ mr r3, r31 -/* 80036A64 000339C4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036A68 000339C8 38 84 00 88 */ addi r4, r4, 0x88 -/* 80036A6C 000339CC 48 00 02 ED */ bl IDFromFactory__FR11CResFactoryPCc -/* 80036A70 000339D0 3C 80 43 54 */ lis r4, 0x4354574B@ha -/* 80036A74 000339D4 90 61 00 14 */ stw r3, 0x14(r1) -/* 80036A78 000339D8 38 04 57 4B */ addi r0, r4, 0x4354574B@l -/* 80036A7C 000339DC 38 7F 00 04 */ addi r3, r31, 4 -/* 80036A80 000339E0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80036A84 000339E4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80036A88 000339E8 38 A0 00 00 */ li r5, 0 -/* 80036A8C 000339EC 48 30 4E DD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 80036A90 000339F0 7C 03 00 D0 */ neg r0, r3 -/* 80036A94 000339F4 3C 80 80 3D */ lis r4, lbl_803CCD88@ha -/* 80036A98 000339F8 7C 00 1B 78 */ or r0, r0, r3 -/* 80036A9C 000339FC 90 61 00 D4 */ stw r3, 0xd4(r1) -/* 80036AA0 00033A00 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80036AA4 00033A04 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l -/* 80036AA8 00033A08 98 01 00 D0 */ stb r0, 0xd0(r1) -/* 80036AAC 00033A0C 38 60 00 5C */ li r3, 0x5c -/* 80036AB0 00033A10 38 84 00 07 */ addi r4, r4, 7 -/* 80036AB4 00033A14 38 A0 00 00 */ li r5, 0 -/* 80036AB8 00033A18 48 00 02 D1 */ bl "__nw__29TOneStatic<15CTweakSlideShow>FUlPCcPCc" -/* 80036ABC 00033A1C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80036AC0 00033A20 41 82 00 10 */ beq lbl_80036AD0 -/* 80036AC4 00033A24 80 81 00 D4 */ lwz r4, 0xd4(r1) -/* 80036AC8 00033A28 48 26 5B 31 */ bl __ct__15CTweakSlideShowFR12CInputStream -/* 80036ACC 00033A2C 7C 64 1B 78 */ mr r4, r3 -lbl_80036AD0: -/* 80036AD0 00033A30 7C 04 00 D0 */ neg r0, r4 -/* 80036AD4 00033A34 3B BE 00 64 */ addi r29, r30, 0x64 -/* 80036AD8 00033A38 7C 03 23 78 */ or r3, r0, r4 -/* 80036ADC 00033A3C 38 01 00 08 */ addi r0, r1, 8 -/* 80036AE0 00033A40 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80036AE4 00033A44 90 8D A1 50 */ stw r4, gpTweakSlideShow@sda21(r13) -/* 80036AE8 00033A48 7C 00 E8 40 */ cmplw r0, r29 -/* 80036AEC 00033A4C 98 61 00 08 */ stb r3, 8(r1) -/* 80036AF0 00033A50 90 81 00 0C */ stw r4, 0xc(r1) -/* 80036AF4 00033A54 41 82 00 48 */ beq lbl_80036B3C -/* 80036AF8 00033A58 88 1D 00 00 */ lbz r0, 0(r29) -/* 80036AFC 00033A5C 28 00 00 00 */ cmplwi r0, 0 -/* 80036B00 00033A60 41 82 00 24 */ beq lbl_80036B24 -/* 80036B04 00033A64 80 7D 00 04 */ lwz r3, 4(r29) -/* 80036B08 00033A68 28 03 00 00 */ cmplwi r3, 0 -/* 80036B0C 00033A6C 41 82 00 18 */ beq lbl_80036B24 -/* 80036B10 00033A70 81 83 00 00 */ lwz r12, 0(r3) -/* 80036B14 00033A74 38 80 00 01 */ li r4, 1 -/* 80036B18 00033A78 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036B1C 00033A7C 7D 89 03 A6 */ mtctr r12 -/* 80036B20 00033A80 4E 80 04 21 */ bctrl -lbl_80036B24: -/* 80036B24 00033A84 88 61 00 08 */ lbz r3, 8(r1) -/* 80036B28 00033A88 38 00 00 00 */ li r0, 0 -/* 80036B2C 00033A8C 98 7D 00 00 */ stb r3, 0(r29) -/* 80036B30 00033A90 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80036B34 00033A94 90 7D 00 04 */ stw r3, 4(r29) -/* 80036B38 00033A98 98 01 00 08 */ stb r0, 8(r1) -lbl_80036B3C: -/* 80036B3C 00033A9C 88 01 00 08 */ lbz r0, 8(r1) -/* 80036B40 00033AA0 28 00 00 00 */ cmplwi r0, 0 -/* 80036B44 00033AA4 41 82 00 24 */ beq lbl_80036B68 -/* 80036B48 00033AA8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80036B4C 00033AAC 28 03 00 00 */ cmplwi r3, 0 -/* 80036B50 00033AB0 41 82 00 18 */ beq lbl_80036B68 -/* 80036B54 00033AB4 81 83 00 00 */ lwz r12, 0(r3) -/* 80036B58 00033AB8 38 80 00 01 */ li r4, 1 -/* 80036B5C 00033ABC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036B60 00033AC0 7D 89 03 A6 */ mtctr r12 -/* 80036B64 00033AC4 4E 80 04 21 */ bctrl -lbl_80036B68: -/* 80036B68 00033AC8 88 01 00 D0 */ lbz r0, 0xd0(r1) -/* 80036B6C 00033ACC 28 00 00 00 */ cmplwi r0, 0 -/* 80036B70 00033AD0 41 82 00 24 */ beq lbl_80036B94 -/* 80036B74 00033AD4 80 61 00 D4 */ lwz r3, 0xd4(r1) -/* 80036B78 00033AD8 28 03 00 00 */ cmplwi r3, 0 -/* 80036B7C 00033ADC 41 82 00 18 */ beq lbl_80036B94 -/* 80036B80 00033AE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80036B84 00033AE4 38 80 00 01 */ li r4, 1 -/* 80036B88 00033AE8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036B8C 00033AEC 7D 89 03 A6 */ mtctr r12 -/* 80036B90 00033AF0 4E 80 04 21 */ bctrl -lbl_80036B94: -/* 80036B94 00033AF4 80 01 01 54 */ lwz r0, 0x154(r1) -/* 80036B98 00033AF8 83 E1 01 4C */ lwz r31, 0x14c(r1) -/* 80036B9C 00033AFC 83 C1 01 48 */ lwz r30, 0x148(r1) -/* 80036BA0 00033B00 83 A1 01 44 */ lwz r29, 0x144(r1) -/* 80036BA4 00033B04 7C 08 03 A6 */ mtlr r0 -/* 80036BA8 00033B08 38 21 01 50 */ addi r1, r1, 0x150 -/* 80036BAC 00033B0C 4E 80 00 20 */ blr - -.global sub_80036bb0 -sub_80036bb0: -/* 80036BB0 00033B10 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80036BB4 00033B14 7C 08 02 A6 */ mflr r0 -/* 80036BB8 00033B18 90 01 00 24 */ stw r0, 0x24(r1) -/* 80036BBC 00033B1C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80036BC0 00033B20 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80036BC4 00033B24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80036BC8 00033B28 7C 9D 23 78 */ mr r29, r4 -/* 80036BCC 00033B2C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80036BD0 00033B30 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80036BD4 00033B34 41 82 00 A8 */ beq lbl_80036C7C -/* 80036BD8 00033B38 3B E0 00 00 */ li r31, 0 -/* 80036BDC 00033B3C 93 ED A1 18 */ stw r31, gpTweakPlayer@sda21(r13) -/* 80036BE0 00033B40 93 ED A1 1C */ stw r31, gpTweakBall@sda21(r13) -/* 80036BE4 00033B44 93 ED A1 20 */ stw r31, gpTweakGame@sda21(r13) -/* 80036BE8 00033B48 93 ED A1 24 */ stw r31, gpTweakParticle@sda21(r13) -/* 80036BEC 00033B4C 93 ED A1 28 */ stw r31, gpTweakPlayerControlCurrent@sda21(r13) -/* 80036BF0 00033B50 93 ED A1 34 */ stw r31, gpTweakPlayerGun@sda21(r13) -/* 80036BF4 00033B54 93 ED A1 38 */ stw r31, gpTweakGui@sda21(r13) -/* 80036BF8 00033B58 93 ED A1 3C */ stw r31, gpTweakGuiColors@sda21(r13) -/* 80036BFC 00033B5C 93 ED A1 40 */ stw r31, gpTweakTargeting@sda21(r13) -/* 80036C00 00033B60 93 ED A1 44 */ stw r31, gpTweakAutoMapper@sda21(r13) -/* 80036C04 00033B64 93 ED A1 48 */ stw r31, gpTweakGunRes@sda21(r13) -/* 80036C08 00033B68 93 ED A1 4C */ stw r31, gpTweakPlayerRes@sda21(r13) -/* 80036C0C 00033B6C 93 ED A1 50 */ stw r31, gpTweakSlideShow@sda21(r13) -/* 80036C10 00033B70 41 82 00 5C */ beq lbl_80036C6C -/* 80036C14 00033B74 3B DC 00 04 */ addi r30, r28, 4 -/* 80036C18 00033B78 48 00 00 40 */ b lbl_80036C58 -lbl_80036C1C: -/* 80036C1C 00033B7C 28 1E 00 00 */ cmplwi r30, 0 -/* 80036C20 00033B80 41 82 00 30 */ beq lbl_80036C50 -/* 80036C24 00033B84 88 1E 00 00 */ lbz r0, 0(r30) -/* 80036C28 00033B88 28 00 00 00 */ cmplwi r0, 0 -/* 80036C2C 00033B8C 41 82 00 24 */ beq lbl_80036C50 -/* 80036C30 00033B90 80 7E 00 04 */ lwz r3, 4(r30) -/* 80036C34 00033B94 28 03 00 00 */ cmplwi r3, 0 -/* 80036C38 00033B98 41 82 00 18 */ beq lbl_80036C50 -/* 80036C3C 00033B9C 81 83 00 00 */ lwz r12, 0(r3) -/* 80036C40 00033BA0 38 80 00 01 */ li r4, 1 -/* 80036C44 00033BA4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036C48 00033BA8 7D 89 03 A6 */ mtctr r12 -/* 80036C4C 00033BAC 4E 80 04 21 */ bctrl -lbl_80036C50: -/* 80036C50 00033BB0 3B DE 00 08 */ addi r30, r30, 8 -/* 80036C54 00033BB4 3B FF 00 01 */ addi r31, r31, 1 -lbl_80036C58: -/* 80036C58 00033BB8 80 1C 00 00 */ lwz r0, 0(r28) -/* 80036C5C 00033BBC 7C 1F 00 00 */ cmpw r31, r0 -/* 80036C60 00033BC0 41 80 FF BC */ blt lbl_80036C1C -/* 80036C64 00033BC4 38 00 00 00 */ li r0, 0 -/* 80036C68 00033BC8 90 1C 00 00 */ stw r0, 0(r28) -lbl_80036C6C: -/* 80036C6C 00033BCC 7F A0 07 35 */ extsh. r0, r29 -/* 80036C70 00033BD0 40 81 00 0C */ ble lbl_80036C7C -/* 80036C74 00033BD4 7F 83 E3 78 */ mr r3, r28 -/* 80036C78 00033BD8 48 2D EC B9 */ bl Free__7CMemoryFPCv -lbl_80036C7C: -/* 80036C7C 00033BDC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80036C80 00033BE0 7F 83 E3 78 */ mr r3, r28 -/* 80036C84 00033BE4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80036C88 00033BE8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80036C8C 00033BEC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80036C90 00033BF0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80036C94 00033BF4 7C 08 03 A6 */ mtlr r0 -/* 80036C98 00033BF8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80036C9C 00033BFC 4E 80 00 20 */ blr - -.global __ct__7CTweaksFv -__ct__7CTweaksFv: -/* 80036CA0 00033C00 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80036CA4 00033C04 7C 08 02 A6 */ mflr r0 -/* 80036CA8 00033C08 38 80 00 00 */ li r4, 0 -/* 80036CAC 00033C0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80036CB0 00033C10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80036CB4 00033C14 7C 7F 1B 78 */ mr r31, r3 -/* 80036CB8 00033C18 90 83 00 00 */ stw r4, 0(r3) -/* 80036CBC 00033C1C 80 63 00 00 */ lwz r3, 0(r3) -/* 80036CC0 00033C20 98 81 00 08 */ stb r4, 8(r1) -/* 80036CC4 00033C24 2C 03 00 0E */ cmpwi r3, 0xe -/* 80036CC8 00033C28 90 81 00 0C */ stw r4, 0xc(r1) -/* 80036CCC 00033C2C 40 80 00 48 */ bge lbl_80036D14 -/* 80036CD0 00033C30 54 60 18 38 */ slwi r0, r3, 3 -/* 80036CD4 00033C34 20 A3 00 0E */ subfic r5, r3, 0xe -/* 80036CD8 00033C38 7C 7F 02 14 */ add r3, r31, r0 -/* 80036CDC 00033C3C 7C A9 03 A6 */ mtctr r5 -/* 80036CE0 00033C40 2C 05 00 00 */ cmpwi r5, 0 -/* 80036CE4 00033C44 38 63 00 04 */ addi r3, r3, 4 -/* 80036CE8 00033C48 40 81 00 24 */ ble lbl_80036D0C -lbl_80036CEC: -/* 80036CEC 00033C4C 28 03 00 00 */ cmplwi r3, 0 -/* 80036CF0 00033C50 41 82 00 14 */ beq lbl_80036D04 -/* 80036CF4 00033C54 88 01 00 08 */ lbz r0, 8(r1) -/* 80036CF8 00033C58 98 03 00 00 */ stb r0, 0(r3) -/* 80036CFC 00033C5C 90 83 00 04 */ stw r4, 4(r3) -/* 80036D00 00033C60 98 81 00 08 */ stb r4, 8(r1) -lbl_80036D04: -/* 80036D04 00033C64 38 63 00 08 */ addi r3, r3, 8 -/* 80036D08 00033C68 42 00 FF E4 */ bdnz lbl_80036CEC -lbl_80036D0C: -/* 80036D0C 00033C6C 38 00 00 0E */ li r0, 0xe -/* 80036D10 00033C70 90 1F 00 00 */ stw r0, 0(r31) -lbl_80036D14: -/* 80036D14 00033C74 88 01 00 08 */ lbz r0, 8(r1) -/* 80036D18 00033C78 28 00 00 00 */ cmplwi r0, 0 -/* 80036D1C 00033C7C 41 82 00 24 */ beq lbl_80036D40 -/* 80036D20 00033C80 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80036D24 00033C84 28 03 00 00 */ cmplwi r3, 0 -/* 80036D28 00033C88 41 82 00 18 */ beq lbl_80036D40 -/* 80036D2C 00033C8C 81 83 00 00 */ lwz r12, 0(r3) -/* 80036D30 00033C90 38 80 00 01 */ li r4, 1 -/* 80036D34 00033C94 81 8C 00 08 */ lwz r12, 8(r12) -/* 80036D38 00033C98 7D 89 03 A6 */ mtctr r12 -/* 80036D3C 00033C9C 4E 80 04 21 */ bctrl -lbl_80036D40: -/* 80036D40 00033CA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80036D44 00033CA4 7F E3 FB 78 */ mr r3, r31 -/* 80036D48 00033CA8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80036D4C 00033CAC 7C 08 03 A6 */ mtlr r0 -/* 80036D50 00033CB0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80036D54 00033CB4 4E 80 00 20 */ blr - -.global IDFromFactory__FR11CResFactoryPCc -IDFromFactory__FR11CResFactoryPCc: -/* 80036D58 00033CB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80036D5C 00033CBC 7C 08 02 A6 */ mflr r0 -/* 80036D60 00033CC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80036D64 00033CC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80036D68 00033CC8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80036D6C 00033CCC 7D 89 03 A6 */ mtctr r12 -/* 80036D70 00033CD0 4E 80 04 21 */ bctrl -/* 80036D74 00033CD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80036D78 00033CD8 80 63 00 04 */ lwz r3, 4(r3) -/* 80036D7C 00033CDC 7C 08 03 A6 */ mtlr r0 -/* 80036D80 00033CE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80036D84 00033CE4 4E 80 00 20 */ blr - -.global "__nw__29TOneStatic<15CTweakSlideShow>FUlPCcPCc" -"__nw__29TOneStatic<15CTweakSlideShow>FUlPCcPCc": -/* 80036D88 00033CE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80036D8C 00033CEC 7C 08 02 A6 */ mflr r0 -/* 80036D90 00033CF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80036D94 00033CF4 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv" -/* 80036D98 00033CF8 80 83 00 00 */ lwz r4, 0(r3) -/* 80036D9C 00033CFC 38 04 00 01 */ addi r0, r4, 1 -/* 80036DA0 00033D00 90 03 00 00 */ stw r0, 0(r3) -/* 80036DA4 00033D04 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakSlideShow>FUlPCcPCc" -/* 80036DA8 00033D08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80036DAC 00033D0C 7C 08 03 A6 */ mtlr r0 -/* 80036DB0 00033D10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80036DB4 00033D14 4E 80 00 20 */ blr - -.global "GetAllocSpace__29TOneStatic<15CTweakSlideShow>FUlPCcPCc" -"GetAllocSpace__29TOneStatic<15CTweakSlideShow>FUlPCcPCc": -/* 80036DB8 00033D18 3C 60 80 46 */ lis r3, lbl_8045B180@ha -/* 80036DBC 00033D1C 38 63 B1 80 */ addi r3, r3, lbl_8045B180@l -/* 80036DC0 00033D20 4E 80 00 20 */ blr - -.global "ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv" -"ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv": -/* 80036DC4 00033D24 88 0D A1 58 */ lbz r0, lbl_805A8D18@sda21(r13) -/* 80036DC8 00033D28 7C 00 07 75 */ extsb. r0, r0 -/* 80036DCC 00033D2C 40 82 00 14 */ bne lbl_80036DE0 -/* 80036DD0 00033D30 38 60 00 00 */ li r3, 0 -/* 80036DD4 00033D34 38 00 00 01 */ li r0, 1 -/* 80036DD8 00033D38 90 6D A1 54 */ stw r3, lbl_805A8D14@sda21(r13) -/* 80036DDC 00033D3C 98 0D A1 58 */ stb r0, lbl_805A8D18@sda21(r13) -lbl_80036DE0: -/* 80036DE0 00033D40 38 6D A1 54 */ addi r3, r13, lbl_805A8D14@sda21 -/* 80036DE4 00033D44 4E 80 00 20 */ blr - -.global sub_80036de8 -sub_80036de8: -/* 80036DE8 00033D48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80036DEC 00033D4C 7C 08 02 A6 */ mflr r0 -/* 80036DF0 00033D50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80036DF4 00033D54 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv" -/* 80036DF8 00033D58 80 83 00 00 */ lwz r4, 0(r3) -/* 80036DFC 00033D5C 38 04 00 01 */ addi r0, r4, 1 -/* 80036E00 00033D60 90 03 00 00 */ stw r0, 0(r3) -/* 80036E04 00033D64 48 00 00 15 */ bl sub_80036e18 -/* 80036E08 00033D68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80036E0C 00033D6C 7C 08 03 A6 */ mtlr r0 -/* 80036E10 00033D70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80036E14 00033D74 4E 80 00 20 */ blr - -.global sub_80036e18 -sub_80036e18: -/* 80036E18 00033D78 3C 60 80 46 */ lis r3, lbl_8045B1DC@ha -/* 80036E1C 00033D7C 38 63 B1 DC */ addi r3, r3, lbl_8045B1DC@l -/* 80036E20 00033D80 4E 80 00 20 */ blr - -.global "ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv" -"ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv": -/* 80036E24 00033D84 88 0D A1 60 */ lbz r0, lbl_805A8D20@sda21(r13) -/* 80036E28 00033D88 7C 00 07 75 */ extsb. r0, r0 -/* 80036E2C 00033D8C 40 82 00 14 */ bne lbl_80036E40 -/* 80036E30 00033D90 38 60 00 00 */ li r3, 0 -/* 80036E34 00033D94 38 00 00 01 */ li r0, 1 -/* 80036E38 00033D98 90 6D A1 5C */ stw r3, lbl_805A8D1C@sda21(r13) -/* 80036E3C 00033D9C 98 0D A1 60 */ stb r0, lbl_805A8D20@sda21(r13) -lbl_80036E40: -/* 80036E40 00033DA0 38 6D A1 5C */ addi r3, r13, lbl_805A8D1C@sda21 -/* 80036E44 00033DA4 4E 80 00 20 */ blr - -.global sub_80036e48 -sub_80036e48: -/* 80036E48 00033DA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80036E4C 00033DAC 7C 08 02 A6 */ mflr r0 -/* 80036E50 00033DB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80036E54 00033DB4 48 00 00 31 */ bl "ReferenceCount__26TOneStatic<12CTweakGunRes>Fv" -/* 80036E58 00033DB8 80 83 00 00 */ lwz r4, 0(r3) -/* 80036E5C 00033DBC 38 04 00 01 */ addi r0, r4, 1 -/* 80036E60 00033DC0 90 03 00 00 */ stw r0, 0(r3) -/* 80036E64 00033DC4 48 00 00 15 */ bl sub_80036e78 -/* 80036E68 00033DC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80036E6C 00033DCC 7C 08 03 A6 */ mtlr r0 -/* 80036E70 00033DD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80036E74 00033DD4 4E 80 00 20 */ blr - -.global sub_80036e78 -sub_80036e78: -/* 80036E78 00033DD8 3C 60 80 46 */ lis r3, lbl_8045B2D0@ha -/* 80036E7C 00033DDC 38 63 B2 D0 */ addi r3, r3, lbl_8045B2D0@l -/* 80036E80 00033DE0 4E 80 00 20 */ blr - -.global "ReferenceCount__26TOneStatic<12CTweakGunRes>Fv" -"ReferenceCount__26TOneStatic<12CTweakGunRes>Fv": -/* 80036E84 00033DE4 88 0D A1 68 */ lbz r0, lbl_805A8D28@sda21(r13) -/* 80036E88 00033DE8 7C 00 07 75 */ extsb. r0, r0 -/* 80036E8C 00033DEC 40 82 00 14 */ bne lbl_80036EA0 -/* 80036E90 00033DF0 38 60 00 00 */ li r3, 0 -/* 80036E94 00033DF4 38 00 00 01 */ li r0, 1 -/* 80036E98 00033DF8 90 6D A1 64 */ stw r3, lbl_805A8D24@sda21(r13) -/* 80036E9C 00033DFC 98 0D A1 68 */ stb r0, lbl_805A8D28@sda21(r13) -lbl_80036EA0: -/* 80036EA0 00033E00 38 6D A1 64 */ addi r3, r13, lbl_805A8D24@sda21 -/* 80036EA4 00033E04 4E 80 00 20 */ blr - -.global "__nw__30TOneStatic<16CTweakAutoMapper>FUlPCcPCc" -"__nw__30TOneStatic<16CTweakAutoMapper>FUlPCcPCc": -/* 80036EA8 00033E08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80036EAC 00033E0C 7C 08 02 A6 */ mflr r0 -/* 80036EB0 00033E10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80036EB4 00033E14 48 00 00 31 */ bl "ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv" -/* 80036EB8 00033E18 80 83 00 00 */ lwz r4, 0(r3) -/* 80036EBC 00033E1C 38 04 00 01 */ addi r0, r4, 1 -/* 80036EC0 00033E20 90 03 00 00 */ stw r0, 0(r3) -/* 80036EC4 00033E24 48 00 00 15 */ bl "GetAllocSpace__30TOneStatic<16CTweakAutoMapper>Fv" -/* 80036EC8 00033E28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80036ECC 00033E2C 7C 08 03 A6 */ mtlr r0 -/* 80036ED0 00033E30 38 21 00 10 */ addi r1, r1, 0x10 -/* 80036ED4 00033E34 4E 80 00 20 */ blr - -.global "GetAllocSpace__30TOneStatic<16CTweakAutoMapper>Fv" -"GetAllocSpace__30TOneStatic<16CTweakAutoMapper>Fv": -/* 80036ED8 00033E38 3C 60 80 46 */ lis r3, lbl_8045B398@ha -/* 80036EDC 00033E3C 38 63 B3 98 */ addi r3, r3, lbl_8045B398@l -/* 80036EE0 00033E40 4E 80 00 20 */ blr - -.global "ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv" -"ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv": -/* 80036EE4 00033E44 88 0D A1 70 */ lbz r0, lbl_805A8D30@sda21(r13) -/* 80036EE8 00033E48 7C 00 07 75 */ extsb. r0, r0 -/* 80036EEC 00033E4C 40 82 00 14 */ bne lbl_80036F00 -/* 80036EF0 00033E50 38 60 00 00 */ li r3, 0 -/* 80036EF4 00033E54 38 00 00 01 */ li r0, 1 -/* 80036EF8 00033E58 90 6D A1 6C */ stw r3, lbl_805A8D2C@sda21(r13) -/* 80036EFC 00033E5C 98 0D A1 70 */ stb r0, lbl_805A8D30@sda21(r13) -lbl_80036F00: -/* 80036F00 00033E60 38 6D A1 6C */ addi r3, r13, lbl_805A8D2C@sda21 -/* 80036F04 00033E64 4E 80 00 20 */ blr - -.global "__nw__29TOneStatic<15CTweakTargeting>FUlPCcPCc" -"__nw__29TOneStatic<15CTweakTargeting>FUlPCcPCc": -/* 80036F08 00033E68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80036F0C 00033E6C 7C 08 02 A6 */ mflr r0 -/* 80036F10 00033E70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80036F14 00033E74 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakTargeting>Fv" -/* 80036F18 00033E78 80 83 00 00 */ lwz r4, 0(r3) -/* 80036F1C 00033E7C 38 04 00 01 */ addi r0, r4, 1 -/* 80036F20 00033E80 90 03 00 00 */ stw r0, 0(r3) -/* 80036F24 00033E84 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakTargeting>Fv" -/* 80036F28 00033E88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80036F2C 00033E8C 7C 08 03 A6 */ mtlr r0 -/* 80036F30 00033E90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80036F34 00033E94 4E 80 00 20 */ blr - -.global "GetAllocSpace__29TOneStatic<15CTweakTargeting>Fv" -"GetAllocSpace__29TOneStatic<15CTweakTargeting>Fv": -/* 80036F38 00033E98 3C 60 80 46 */ lis r3, lbl_8045B4B8@ha -/* 80036F3C 00033E9C 38 63 B4 B8 */ addi r3, r3, lbl_8045B4B8@l -/* 80036F40 00033EA0 4E 80 00 20 */ blr - -.global "ReferenceCount__29TOneStatic<15CTweakTargeting>Fv" -"ReferenceCount__29TOneStatic<15CTweakTargeting>Fv": -/* 80036F44 00033EA4 88 0D A1 78 */ lbz r0, lbl_805A8D38@sda21(r13) -/* 80036F48 00033EA8 7C 00 07 75 */ extsb. r0, r0 -/* 80036F4C 00033EAC 40 82 00 14 */ bne lbl_80036F60 -/* 80036F50 00033EB0 38 60 00 00 */ li r3, 0 -/* 80036F54 00033EB4 38 00 00 01 */ li r0, 1 -/* 80036F58 00033EB8 90 6D A1 74 */ stw r3, lbl_805A8D34@sda21(r13) -/* 80036F5C 00033EBC 98 0D A1 78 */ stb r0, lbl_805A8D38@sda21(r13) -lbl_80036F60: -/* 80036F60 00033EC0 38 6D A1 74 */ addi r3, r13, lbl_805A8D34@sda21 -/* 80036F64 00033EC4 4E 80 00 20 */ blr - -.global "__nw__29TOneStatic<15CTweakGuiColors>FUlPCcPCc" -"__nw__29TOneStatic<15CTweakGuiColors>FUlPCcPCc": -/* 80036F68 00033EC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80036F6C 00033ECC 7C 08 02 A6 */ mflr r0 -/* 80036F70 00033ED0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80036F74 00033ED4 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv" -/* 80036F78 00033ED8 80 83 00 00 */ lwz r4, 0(r3) -/* 80036F7C 00033EDC 38 04 00 01 */ addi r0, r4, 1 -/* 80036F80 00033EE0 90 03 00 00 */ stw r0, 0(r3) -/* 80036F84 00033EE4 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakGuiColors>Fv" -/* 80036F88 00033EE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80036F8C 00033EEC 7C 08 03 A6 */ mtlr r0 -/* 80036F90 00033EF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80036F94 00033EF4 4E 80 00 20 */ blr - -.global "GetAllocSpace__29TOneStatic<15CTweakGuiColors>Fv" -"GetAllocSpace__29TOneStatic<15CTweakGuiColors>Fv": -/* 80036F98 00033EF8 3C 60 80 46 */ lis r3, lbl_8045B6E0@ha -/* 80036F9C 00033EFC 38 63 B6 E0 */ addi r3, r3, lbl_8045B6E0@l -/* 80036FA0 00033F00 4E 80 00 20 */ blr - -.global "ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv" -"ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv": -/* 80036FA4 00033F04 88 0D A1 80 */ lbz r0, lbl_805A8D40@sda21(r13) -/* 80036FA8 00033F08 7C 00 07 75 */ extsb. r0, r0 -/* 80036FAC 00033F0C 40 82 00 14 */ bne lbl_80036FC0 -/* 80036FB0 00033F10 38 60 00 00 */ li r3, 0 -/* 80036FB4 00033F14 38 00 00 01 */ li r0, 1 -/* 80036FB8 00033F18 90 6D A1 7C */ stw r3, lbl_805A8D3C@sda21(r13) -/* 80036FBC 00033F1C 98 0D A1 80 */ stb r0, lbl_805A8D40@sda21(r13) -lbl_80036FC0: -/* 80036FC0 00033F20 38 6D A1 7C */ addi r3, r13, lbl_805A8D3C@sda21 -/* 80036FC4 00033F24 4E 80 00 20 */ blr - -.global "__nw__22TOneStatic<9CTweakGui>FUlPCcPCc" -"__nw__22TOneStatic<9CTweakGui>FUlPCcPCc": -/* 80036FC8 00033F28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80036FCC 00033F2C 7C 08 02 A6 */ mflr r0 -/* 80036FD0 00033F30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80036FD4 00033F34 48 00 00 31 */ bl "ReferenceCount__22TOneStatic<9CTweakGui>Fv" -/* 80036FD8 00033F38 80 83 00 00 */ lwz r4, 0(r3) -/* 80036FDC 00033F3C 38 04 00 01 */ addi r0, r4, 1 -/* 80036FE0 00033F40 90 03 00 00 */ stw r0, 0(r3) -/* 80036FE4 00033F44 48 00 00 15 */ bl "GetAllocSpace__22TOneStatic<9CTweakGui>Fv" -/* 80036FE8 00033F48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80036FEC 00033F4C 7C 08 03 A6 */ mtlr r0 -/* 80036FF0 00033F50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80036FF4 00033F54 4E 80 00 20 */ blr - -.global "GetAllocSpace__22TOneStatic<9CTweakGui>Fv" -"GetAllocSpace__22TOneStatic<9CTweakGui>Fv": -/* 80036FF8 00033F58 3C 60 80 46 */ lis r3, lbl_8045B934@ha -/* 80036FFC 00033F5C 38 63 B9 34 */ addi r3, r3, lbl_8045B934@l -/* 80037000 00033F60 4E 80 00 20 */ blr - -.global "ReferenceCount__22TOneStatic<9CTweakGui>Fv" -"ReferenceCount__22TOneStatic<9CTweakGui>Fv": -/* 80037004 00033F64 88 0D A1 88 */ lbz r0, lbl_805A8D48@sda21(r13) -/* 80037008 00033F68 7C 00 07 75 */ extsb. r0, r0 -/* 8003700C 00033F6C 40 82 00 14 */ bne lbl_80037020 -/* 80037010 00033F70 38 60 00 00 */ li r3, 0 -/* 80037014 00033F74 38 00 00 01 */ li r0, 1 -/* 80037018 00033F78 90 6D A1 84 */ stw r3, lbl_805A8D44@sda21(r13) -/* 8003701C 00033F7C 98 0D A1 88 */ stb r0, lbl_805A8D48@sda21(r13) -lbl_80037020: -/* 80037020 00033F80 38 6D A1 84 */ addi r3, r13, lbl_805A8D44@sda21 -/* 80037024 00033F84 4E 80 00 20 */ blr - -.global "__nw__29TOneStatic<15CTweakPlayerGun>FUlPCcPCc" -"__nw__29TOneStatic<15CTweakPlayerGun>FUlPCcPCc": -/* 80037028 00033F88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003702C 00033F8C 7C 08 02 A6 */ mflr r0 -/* 80037030 00033F90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80037034 00033F94 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv" -/* 80037038 00033F98 80 83 00 00 */ lwz r4, 0(r3) -/* 8003703C 00033F9C 38 04 00 01 */ addi r0, r4, 1 -/* 80037040 00033FA0 90 03 00 00 */ stw r0, 0(r3) -/* 80037044 00033FA4 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakPlayerGun>Fv" -/* 80037048 00033FA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003704C 00033FAC 7C 08 03 A6 */ mtlr r0 -/* 80037050 00033FB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80037054 00033FB4 4E 80 00 20 */ blr - -.global "GetAllocSpace__29TOneStatic<15CTweakPlayerGun>Fv" -"GetAllocSpace__29TOneStatic<15CTweakPlayerGun>Fv": -/* 80037058 00033FB8 3C 60 80 46 */ lis r3, lbl_8045BC9C@ha -/* 8003705C 00033FBC 38 63 BC 9C */ addi r3, r3, lbl_8045BC9C@l -/* 80037060 00033FC0 4E 80 00 20 */ blr - -.global "ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv" -"ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv": -/* 80037064 00033FC4 88 0D A1 90 */ lbz r0, lbl_805A8D50@sda21(r13) -/* 80037068 00033FC8 7C 00 07 75 */ extsb. r0, r0 -/* 8003706C 00033FCC 40 82 00 14 */ bne lbl_80037080 -/* 80037070 00033FD0 38 60 00 00 */ li r3, 0 -/* 80037074 00033FD4 38 00 00 01 */ li r0, 1 -/* 80037078 00033FD8 90 6D A1 8C */ stw r3, lbl_805A8D4C@sda21(r13) -/* 8003707C 00033FDC 98 0D A1 90 */ stb r0, lbl_805A8D50@sda21(r13) -lbl_80037080: -/* 80037080 00033FE0 38 6D A1 8C */ addi r3, r13, lbl_805A8D4C@sda21 -/* 80037084 00033FE4 4E 80 00 20 */ blr - -.global "__nw__28TOneStatic<14CTweakParticle>FUlPCcPCc" -"__nw__28TOneStatic<14CTweakParticle>FUlPCcPCc": -/* 80037088 00033FE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003708C 00033FEC 7C 08 02 A6 */ mflr r0 -/* 80037090 00033FF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80037094 00033FF4 48 00 00 31 */ bl "ReferenceCount__28TOneStatic<14CTweakParticle>Fv" -/* 80037098 00033FF8 80 83 00 00 */ lwz r4, 0(r3) -/* 8003709C 00033FFC 38 04 00 01 */ addi r0, r4, 1 -/* 800370A0 00034000 90 03 00 00 */ stw r0, 0(r3) -/* 800370A4 00034004 48 00 00 15 */ bl "GetAllocSpace__28TOneStatic<14CTweakParticle>Fv" -/* 800370A8 00034008 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800370AC 0003400C 7C 08 03 A6 */ mtlr r0 -/* 800370B0 00034010 38 21 00 10 */ addi r1, r1, 0x10 -/* 800370B4 00034014 4E 80 00 20 */ blr - -.global "GetAllocSpace__28TOneStatic<14CTweakParticle>Fv" -"GetAllocSpace__28TOneStatic<14CTweakParticle>Fv": -/* 800370B8 00034018 3C 60 80 46 */ lis r3, lbl_8045BF34@ha -/* 800370BC 0003401C 38 63 BF 34 */ addi r3, r3, lbl_8045BF34@l -/* 800370C0 00034020 4E 80 00 20 */ blr - -.global "ReferenceCount__28TOneStatic<14CTweakParticle>Fv" -"ReferenceCount__28TOneStatic<14CTweakParticle>Fv": -/* 800370C4 00034024 88 0D A1 98 */ lbz r0, lbl_805A8D58@sda21(r13) -/* 800370C8 00034028 7C 00 07 75 */ extsb. r0, r0 -/* 800370CC 0003402C 40 82 00 14 */ bne lbl_800370E0 -/* 800370D0 00034030 38 60 00 00 */ li r3, 0 -/* 800370D4 00034034 38 00 00 01 */ li r0, 1 -/* 800370D8 00034038 90 6D A1 94 */ stw r3, lbl_805A8D54@sda21(r13) -/* 800370DC 0003403C 98 0D A1 98 */ stb r0, lbl_805A8D58@sda21(r13) -lbl_800370E0: -/* 800370E0 00034040 38 6D A1 94 */ addi r3, r13, lbl_805A8D54@sda21 -/* 800370E4 00034044 4E 80 00 20 */ blr - -.global "__nw__24TOneStatic<10CTweakGame>FUlPCcPCc" -"__nw__24TOneStatic<10CTweakGame>FUlPCcPCc": -/* 800370E8 00034048 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800370EC 0003404C 7C 08 02 A6 */ mflr r0 -/* 800370F0 00034050 90 01 00 14 */ stw r0, 0x14(r1) -/* 800370F4 00034054 48 00 00 31 */ bl "ReferenceCount__24TOneStatic<10CTweakGame>Fv" -/* 800370F8 00034058 80 83 00 00 */ lwz r4, 0(r3) -/* 800370FC 0003405C 38 04 00 01 */ addi r0, r4, 1 -/* 80037100 00034060 90 03 00 00 */ stw r0, 0(r3) -/* 80037104 00034064 48 00 00 15 */ bl "GetAllocSpace__24TOneStatic<10CTweakGame>Fv" -/* 80037108 00034068 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003710C 0003406C 7C 08 03 A6 */ mtlr r0 -/* 80037110 00034070 38 21 00 10 */ addi r1, r1, 0x10 -/* 80037114 00034074 4E 80 00 20 */ blr - -.global "GetAllocSpace__24TOneStatic<10CTweakGame>Fv" -"GetAllocSpace__24TOneStatic<10CTweakGame>Fv": -/* 80037118 00034078 3C 60 80 46 */ lis r3, lbl_8045BF68@ha -/* 8003711C 0003407C 38 63 BF 68 */ addi r3, r3, lbl_8045BF68@l -/* 80037120 00034080 4E 80 00 20 */ blr - -.global "ReferenceCount__24TOneStatic<10CTweakGame>Fv" -"ReferenceCount__24TOneStatic<10CTweakGame>Fv": -/* 80037124 00034084 88 0D A1 A0 */ lbz r0, lbl_805A8D60@sda21(r13) -/* 80037128 00034088 7C 00 07 75 */ extsb. r0, r0 -/* 8003712C 0003408C 40 82 00 14 */ bne lbl_80037140 -/* 80037130 00034090 38 60 00 00 */ li r3, 0 -/* 80037134 00034094 38 00 00 01 */ li r0, 1 -/* 80037138 00034098 90 6D A1 9C */ stw r3, lbl_805A8D5C@sda21(r13) -/* 8003713C 0003409C 98 0D A1 A0 */ stb r0, lbl_805A8D60@sda21(r13) -lbl_80037140: -/* 80037140 000340A0 38 6D A1 9C */ addi r3, r13, lbl_805A8D5C@sda21 -/* 80037144 000340A4 4E 80 00 20 */ blr - -.global "__nw__24TOneStatic<10CTweakBall>FUlPCcPCc" -"__nw__24TOneStatic<10CTweakBall>FUlPCcPCc": -/* 80037148 000340A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003714C 000340AC 7C 08 02 A6 */ mflr r0 -/* 80037150 000340B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80037154 000340B4 48 00 00 31 */ bl "ReferenceCount__24TOneStatic<10CTweakBall>Fv" -/* 80037158 000340B8 80 83 00 00 */ lwz r4, 0(r3) -/* 8003715C 000340BC 38 04 00 01 */ addi r0, r4, 1 -/* 80037160 000340C0 90 03 00 00 */ stw r0, 0(r3) -/* 80037164 000340C4 48 00 00 15 */ bl "GetAllocSpace__24TOneStatic<10CTweakBall>Fv" -/* 80037168 000340C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003716C 000340CC 7C 08 03 A6 */ mtlr r0 -/* 80037170 000340D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80037174 000340D4 4E 80 00 20 */ blr - -.global "GetAllocSpace__24TOneStatic<10CTweakBall>Fv" -"GetAllocSpace__24TOneStatic<10CTweakBall>Fv": -/* 80037178 000340D8 3C 60 80 46 */ lis r3, lbl_8045BFD0@ha -/* 8003717C 000340DC 38 63 BF D0 */ addi r3, r3, lbl_8045BFD0@l -/* 80037180 000340E0 4E 80 00 20 */ blr - -.global "ReferenceCount__24TOneStatic<10CTweakBall>Fv" -"ReferenceCount__24TOneStatic<10CTweakBall>Fv": -/* 80037184 000340E4 88 0D A1 A8 */ lbz r0, lbl_805A8D68@sda21(r13) -/* 80037188 000340E8 7C 00 07 75 */ extsb. r0, r0 -/* 8003718C 000340EC 40 82 00 14 */ bne lbl_800371A0 -/* 80037190 000340F0 38 60 00 00 */ li r3, 0 -/* 80037194 000340F4 38 00 00 01 */ li r0, 1 -/* 80037198 000340F8 90 6D A1 A4 */ stw r3, lbl_805A8D64@sda21(r13) -/* 8003719C 000340FC 98 0D A1 A8 */ stb r0, lbl_805A8D68@sda21(r13) -lbl_800371A0: -/* 800371A0 00034100 38 6D A1 A4 */ addi r3, r13, lbl_805A8D64@sda21 -/* 800371A4 00034104 4E 80 00 20 */ blr - -.global "__nw__26TOneStatic<12CTweakPlayer>FUlPCcPCc" -"__nw__26TOneStatic<12CTweakPlayer>FUlPCcPCc": -/* 800371A8 00034108 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800371AC 0003410C 7C 08 02 A6 */ mflr r0 -/* 800371B0 00034110 90 01 00 14 */ stw r0, 0x14(r1) -/* 800371B4 00034114 4B FF E7 B1 */ bl "ReferenceCount__26TOneStatic<12CTweakPlayer>Fv" -/* 800371B8 00034118 80 83 00 00 */ lwz r4, 0(r3) -/* 800371BC 0003411C 38 04 00 01 */ addi r0, r4, 1 -/* 800371C0 00034120 90 03 00 00 */ stw r0, 0(r3) -/* 800371C4 00034124 48 00 00 15 */ bl "GetAllocSpace__26TOneStatic<12CTweakPlayer>Fv" -/* 800371C8 00034128 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800371CC 0003412C 7C 08 03 A6 */ mtlr r0 -/* 800371D0 00034130 38 21 00 10 */ addi r1, r1, 0x10 -/* 800371D4 00034134 4E 80 00 20 */ blr - -.global "GetAllocSpace__26TOneStatic<12CTweakPlayer>Fv" -"GetAllocSpace__26TOneStatic<12CTweakPlayer>Fv": -/* 800371D8 00034138 3C 60 80 46 */ lis r3, lbl_8045C208@ha -/* 800371DC 0003413C 38 63 C2 08 */ addi r3, r3, lbl_8045C208@l -/* 800371E0 00034140 4E 80 00 20 */ blr - -.global __ct__10CTweakGameFR12CInputStream -__ct__10CTweakGameFR12CInputStream: -/* 800371E4 00034144 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800371E8 00034148 7C 08 02 A6 */ mflr r0 -/* 800371EC 0003414C 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha -/* 800371F0 00034150 90 01 00 24 */ stw r0, 0x24(r1) -/* 800371F4 00034154 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l -/* 800371F8 00034158 38 A1 00 0C */ addi r5, r1, 0xc -/* 800371FC 0003415C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80037200 00034160 7C 9F 23 78 */ mr r31, r4 -/* 80037204 00034164 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80037208 00034168 7C 7E 1B 78 */ mr r30, r3 -/* 8003720C 0003416C 3C 60 80 3E */ lis r3, lbl_803D9CD0@ha -/* 80037210 00034170 90 1E 00 00 */ stw r0, 0(r30) -/* 80037214 00034174 38 03 9C D0 */ addi r0, r3, lbl_803D9CD0@l -/* 80037218 00034178 38 7E 00 04 */ addi r3, r30, 4 -/* 8003721C 0003417C 90 1E 00 00 */ stw r0, 0(r30) -/* 80037220 00034180 48 30 70 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80037224 00034184 7F E4 FB 78 */ mr r4, r31 -/* 80037228 00034188 38 7E 00 14 */ addi r3, r30, 0x14 -/* 8003722C 0003418C 38 A1 00 08 */ addi r5, r1, 8 -/* 80037230 00034190 48 30 70 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80037234 00034194 7F E3 FB 78 */ mr r3, r31 -/* 80037238 00034198 48 30 79 F1 */ bl ReadFloat__12CInputStreamFv -/* 8003723C 0003419C D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 80037240 000341A0 7F E3 FB 78 */ mr r3, r31 -/* 80037244 000341A4 48 30 7A 99 */ bl ReadBool__12CInputStreamFv -/* 80037248 000341A8 98 7E 00 28 */ stb r3, 0x28(r30) -/* 8003724C 000341AC 7F E3 FB 78 */ mr r3, r31 -/* 80037250 000341B0 48 30 7A 8D */ bl ReadBool__12CInputStreamFv -/* 80037254 000341B4 98 7E 00 29 */ stb r3, 0x29(r30) -/* 80037258 000341B8 7F E3 FB 78 */ mr r3, r31 -/* 8003725C 000341BC 48 30 7A 81 */ bl ReadBool__12CInputStreamFv -/* 80037260 000341C0 98 7E 00 2A */ stb r3, 0x2a(r30) -/* 80037264 000341C4 7F E3 FB 78 */ mr r3, r31 -/* 80037268 000341C8 48 30 7A 75 */ bl ReadBool__12CInputStreamFv -/* 8003726C 000341CC 98 7E 00 2B */ stb r3, 0x2b(r30) -/* 80037270 000341D0 7F E3 FB 78 */ mr r3, r31 -/* 80037274 000341D4 48 30 79 B5 */ bl ReadFloat__12CInputStreamFv -/* 80037278 000341D8 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 8003727C 000341DC 7F E3 FB 78 */ mr r3, r31 -/* 80037280 000341E0 48 30 79 A9 */ bl ReadFloat__12CInputStreamFv -/* 80037284 000341E4 D0 3E 00 30 */ stfs f1, 0x30(r30) -/* 80037288 000341E8 7F E3 FB 78 */ mr r3, r31 -/* 8003728C 000341EC 48 30 79 9D */ bl ReadFloat__12CInputStreamFv -/* 80037290 000341F0 D0 3E 00 34 */ stfs f1, 0x34(r30) -/* 80037294 000341F4 7F E3 FB 78 */ mr r3, r31 -/* 80037298 000341F8 48 30 79 91 */ bl ReadFloat__12CInputStreamFv -/* 8003729C 000341FC D0 3E 00 38 */ stfs f1, 0x38(r30) -/* 800372A0 00034200 7F E3 FB 78 */ mr r3, r31 -/* 800372A4 00034204 48 30 79 85 */ bl ReadFloat__12CInputStreamFv -/* 800372A8 00034208 D0 3E 00 3C */ stfs f1, 0x3c(r30) -/* 800372AC 0003420C 7F E3 FB 78 */ mr r3, r31 -/* 800372B0 00034210 48 30 79 79 */ bl ReadFloat__12CInputStreamFv -/* 800372B4 00034214 D0 3E 00 40 */ stfs f1, 0x40(r30) -/* 800372B8 00034218 7F E3 FB 78 */ mr r3, r31 -/* 800372BC 0003421C 48 30 79 6D */ bl ReadFloat__12CInputStreamFv -/* 800372C0 00034220 D0 3E 00 44 */ stfs f1, 0x44(r30) -/* 800372C4 00034224 7F E3 FB 78 */ mr r3, r31 -/* 800372C8 00034228 48 30 79 61 */ bl ReadFloat__12CInputStreamFv -/* 800372CC 0003422C D0 3E 00 48 */ stfs f1, 0x48(r30) -/* 800372D0 00034230 7F E3 FB 78 */ mr r3, r31 -/* 800372D4 00034234 48 30 79 55 */ bl ReadFloat__12CInputStreamFv -/* 800372D8 00034238 D0 3E 00 4C */ stfs f1, 0x4c(r30) -/* 800372DC 0003423C 7F E3 FB 78 */ mr r3, r31 -/* 800372E0 00034240 48 30 79 49 */ bl ReadFloat__12CInputStreamFv -/* 800372E4 00034244 D0 3E 00 50 */ stfs f1, 0x50(r30) -/* 800372E8 00034248 7F E3 FB 78 */ mr r3, r31 -/* 800372EC 0003424C 48 30 79 3D */ bl ReadFloat__12CInputStreamFv -/* 800372F0 00034250 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 800372F4 00034254 7F E3 FB 78 */ mr r3, r31 -/* 800372F8 00034258 48 30 79 31 */ bl ReadFloat__12CInputStreamFv -/* 800372FC 0003425C D0 3E 00 58 */ stfs f1, 0x58(r30) -/* 80037300 00034260 7F E3 FB 78 */ mr r3, r31 -/* 80037304 00034264 48 30 79 25 */ bl ReadFloat__12CInputStreamFv -/* 80037308 00034268 D0 3E 00 5C */ stfs f1, 0x5c(r30) -/* 8003730C 0003426C 7F E3 FB 78 */ mr r3, r31 -/* 80037310 00034270 48 30 79 19 */ bl ReadFloat__12CInputStreamFv -/* 80037314 00034274 D0 3E 00 60 */ stfs f1, 0x60(r30) -/* 80037318 00034278 7F E3 FB 78 */ mr r3, r31 -/* 8003731C 0003427C 48 30 79 0D */ bl ReadFloat__12CInputStreamFv -/* 80037320 00034280 D0 3E 00 64 */ stfs f1, 0x64(r30) -/* 80037324 00034284 38 00 00 00 */ li r0, 0 -/* 80037328 00034288 7F C3 F3 78 */ mr r3, r30 -/* 8003732C 0003428C 98 1E 00 2B */ stb r0, 0x2b(r30) -/* 80037330 00034290 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80037334 00034294 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80037338 00034298 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003733C 0003429C 7C 08 03 A6 */ mtlr r0 -/* 80037340 000342A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80037344 000342A4 4E 80 00 20 */ blr - -.global __dt__10CTweakGameFv -__dt__10CTweakGameFv: -/* 80037348 000342A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003734C 000342AC 7C 08 02 A6 */ mflr r0 -/* 80037350 000342B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80037354 000342B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80037358 000342B8 7C 9F 23 78 */ mr r31, r4 -/* 8003735C 000342BC 93 C1 00 08 */ stw r30, 8(r1) -/* 80037360 000342C0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80037364 000342C4 41 82 00 54 */ beq lbl_800373B8 -/* 80037368 000342C8 3C 60 80 3E */ lis r3, lbl_803D9CD0@ha -/* 8003736C 000342CC 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80037370 000342D0 38 03 9C D0 */ addi r0, r3, lbl_803D9CD0@l -/* 80037374 000342D4 90 1E 00 00 */ stw r0, 0(r30) -/* 80037378 000342D8 41 82 00 0C */ beq lbl_80037384 -/* 8003737C 000342DC 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80037380 000342E0 48 30 67 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80037384: -/* 80037384 000342E4 34 1E 00 04 */ addic. r0, r30, 4 -/* 80037388 000342E8 41 82 00 0C */ beq lbl_80037394 -/* 8003738C 000342EC 38 7E 00 04 */ addi r3, r30, 4 -/* 80037390 000342F0 48 30 67 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80037394: -/* 80037394 000342F4 28 1E 00 00 */ cmplwi r30, 0 -/* 80037398 000342F8 41 82 00 10 */ beq lbl_800373A8 -/* 8003739C 000342FC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 800373A0 00034300 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 800373A4 00034304 90 1E 00 00 */ stw r0, 0(r30) -lbl_800373A8: -/* 800373A8 00034308 7F E0 07 35 */ extsh. r0, r31 -/* 800373AC 0003430C 40 81 00 0C */ ble lbl_800373B8 -/* 800373B0 00034310 7F C3 F3 78 */ mr r3, r30 -/* 800373B4 00034314 48 00 00 21 */ bl "__dl__24TOneStatic<10CTweakGame>FPv" -lbl_800373B8: -/* 800373B8 00034318 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800373BC 0003431C 7F C3 F3 78 */ mr r3, r30 -/* 800373C0 00034320 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800373C4 00034324 83 C1 00 08 */ lwz r30, 8(r1) -/* 800373C8 00034328 7C 08 03 A6 */ mtlr r0 -/* 800373CC 0003432C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800373D0 00034330 4E 80 00 20 */ blr - -.global "__dl__24TOneStatic<10CTweakGame>FPv" -"__dl__24TOneStatic<10CTweakGame>FPv": -/* 800373D4 00034334 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800373D8 00034338 7C 08 02 A6 */ mflr r0 -/* 800373DC 0003433C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800373E0 00034340 4B FF FD 45 */ bl "ReferenceCount__24TOneStatic<10CTweakGame>Fv" -/* 800373E4 00034344 80 83 00 00 */ lwz r4, 0(r3) -/* 800373E8 00034348 38 04 FF FF */ addi r0, r4, -1 -/* 800373EC 0003434C 90 03 00 00 */ stw r0, 0(r3) -/* 800373F0 00034350 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800373F4 00034354 7C 08 03 A6 */ mtlr r0 -/* 800373F8 00034358 38 21 00 10 */ addi r1, r1, 0x10 -/* 800373FC 0003435C 4E 80 00 20 */ blr - -.global __dt__15CGameProjectileFv -__dt__15CGameProjectileFv: -/* 80037400 00034360 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80037404 00034364 7C 08 02 A6 */ mflr r0 -/* 80037408 00034368 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003740C 0003436C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80037410 00034370 7C 9F 23 78 */ mr r31, r4 -/* 80037414 00034374 93 C1 00 08 */ stw r30, 8(r1) -/* 80037418 00034378 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8003741C 0003437C 41 82 00 78 */ beq lbl_80037494 -/* 80037420 00034380 3C 80 80 3E */ lis r4, lbl_803D9CE0@ha -/* 80037424 00034384 38 7E 02 D0 */ addi r3, r30, 0x2d0 -/* 80037428 00034388 38 04 9C E0 */ addi r0, r4, lbl_803D9CE0@l -/* 8003742C 0003438C 38 80 FF FF */ li r4, -1 -/* 80037430 00034390 90 1E 00 00 */ stw r0, 0(r30) -/* 80037434 00034394 48 00 00 7D */ bl sub_800374b0 -/* 80037438 00034398 38 7E 01 70 */ addi r3, r30, 0x170 -/* 8003743C 0003439C 38 80 FF FF */ li r4, -1 -/* 80037440 000343A0 48 27 94 31 */ bl __dt__17CProjectileWeaponFv -/* 80037444 000343A4 34 1E 01 58 */ addic. r0, r30, 0x158 -/* 80037448 000343A8 41 82 00 30 */ beq lbl_80037478 -/* 8003744C 000343AC 88 1E 01 64 */ lbz r0, 0x164(r30) -/* 80037450 000343B0 28 00 00 00 */ cmplwi r0, 0 -/* 80037454 000343B4 41 82 00 1C */ beq lbl_80037470 -/* 80037458 000343B8 34 7E 01 58 */ addic. r3, r30, 0x158 -/* 8003745C 000343BC 41 82 00 14 */ beq lbl_80037470 -/* 80037460 000343C0 28 03 00 00 */ cmplwi r3, 0 -/* 80037464 000343C4 41 82 00 0C */ beq lbl_80037470 -/* 80037468 000343C8 38 80 00 00 */ li r4, 0 -/* 8003746C 000343CC 48 30 99 D5 */ bl __dt__6CTokenFv -lbl_80037470: -/* 80037470 000343D0 38 00 00 00 */ li r0, 0 -/* 80037474 000343D4 98 1E 01 64 */ stb r0, 0x164(r30) -lbl_80037478: -/* 80037478 000343D8 7F C3 F3 78 */ mr r3, r30 -/* 8003747C 000343DC 38 80 00 00 */ li r4, 0 -/* 80037480 000343E0 48 0C AD B5 */ bl __dt__7CWeaponFv -/* 80037484 000343E4 7F E0 07 35 */ extsh. r0, r31 -/* 80037488 000343E8 40 81 00 0C */ ble lbl_80037494 -/* 8003748C 000343EC 7F C3 F3 78 */ mr r3, r30 -/* 80037490 000343F0 48 2D E4 A1 */ bl Free__7CMemoryFPCv -lbl_80037494: -/* 80037494 000343F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80037498 000343F8 7F C3 F3 78 */ mr r3, r30 -/* 8003749C 000343FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800374A0 00034400 83 C1 00 08 */ lwz r30, 8(r1) -/* 800374A4 00034404 7C 08 03 A6 */ mtlr r0 -/* 800374A8 00034408 38 21 00 10 */ addi r1, r1, 0x10 -/* 800374AC 0003440C 4E 80 00 20 */ blr - -.global sub_800374b0 -sub_800374b0: -/* 800374B0 00034410 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800374B4 00034414 7C 08 02 A6 */ mflr r0 -/* 800374B8 00034418 90 01 00 24 */ stw r0, 0x24(r1) -/* 800374BC 0003441C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800374C0 00034420 7C 9F 23 78 */ mr r31, r4 -/* 800374C4 00034424 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800374C8 00034428 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800374CC 0003442C 41 82 00 6C */ beq lbl_80037538 -/* 800374D0 00034430 80 7E 00 04 */ lwz r3, 4(r30) -/* 800374D4 00034434 38 00 00 00 */ li r0, 0 -/* 800374D8 00034438 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800374DC 0003443C 1C 63 00 38 */ mulli r3, r3, 0x38 -/* 800374E0 00034440 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800374E4 00034444 7C 85 1A 14 */ add r4, r5, r3 -/* 800374E8 00034448 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800374EC 0003444C 90 81 00 08 */ stw r4, 8(r1) -/* 800374F0 00034450 90 81 00 0C */ stw r4, 0xc(r1) -/* 800374F4 00034454 48 00 00 1C */ b lbl_80037510 -lbl_800374F8: -/* 800374F8 00034458 28 05 00 00 */ cmplwi r5, 0 -/* 800374FC 0003445C 41 82 00 10 */ beq lbl_8003750C -/* 80037500 00034460 34 65 00 04 */ addic. r3, r5, 4 -/* 80037504 00034464 41 82 00 08 */ beq lbl_8003750C -/* 80037508 00034468 98 05 00 34 */ stb r0, 0x34(r5) -lbl_8003750C: -/* 8003750C 0003446C 38 A5 00 38 */ addi r5, r5, 0x38 -lbl_80037510: -/* 80037510 00034470 7C 05 20 40 */ cmplw r5, r4 -/* 80037514 00034474 40 82 FF E4 */ bne lbl_800374F8 -/* 80037518 00034478 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8003751C 0003447C 28 03 00 00 */ cmplwi r3, 0 -/* 80037520 00034480 41 82 00 08 */ beq lbl_80037528 -/* 80037524 00034484 48 2D E4 0D */ bl Free__7CMemoryFPCv -lbl_80037528: -/* 80037528 00034488 7F E0 07 35 */ extsh. r0, r31 -/* 8003752C 0003448C 40 81 00 0C */ ble lbl_80037538 -/* 80037530 00034490 7F C3 F3 78 */ mr r3, r30 -/* 80037534 00034494 48 2D E3 FD */ bl Free__7CMemoryFPCv -lbl_80037538: -/* 80037538 00034498 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003753C 0003449C 7F C3 F3 78 */ mr r3, r30 -/* 80037540 000344A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80037544 000344A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80037548 000344A8 7C 08 03 A6 */ mtlr r0 -/* 8003754C 000344AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80037550 000344B0 4E 80 00 20 */ blr - -.global ResolveCollisionWithActor__15CGameProjectileFRC14CRayCastResultR6CActorR13CStateManager -ResolveCollisionWithActor__15CGameProjectileFRC14CRayCastResultR6CActorR13CStateManager: -/* 80037554 000344B4 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80037558 000344B8 7C 08 02 A6 */ mflr r0 -/* 8003755C 000344BC 90 01 01 24 */ stw r0, 0x124(r1) -/* 80037560 000344C0 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 80037564 000344C4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 80037568 000344C8 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 8003756C 000344CC F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 80037570 000344D0 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 80037574 000344D4 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 80037578 000344D8 BF 01 00 D0 */ stmw r24, 0xd0(r1) -/* 8003757C 000344DC 7C 7E 1B 78 */ mr r30, r3 -/* 80037580 000344E0 7C B9 2B 78 */ mr r25, r5 -/* 80037584 000344E4 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 80037588 000344E8 7C DF 33 78 */ mr r31, r6 -/* 8003758C 000344EC C0 23 00 48 */ lfs f1, 0x48(r3) -/* 80037590 000344F0 38 61 00 94 */ addi r3, r1, 0x94 -/* 80037594 000344F4 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 80037598 000344F8 38 81 00 88 */ addi r4, r1, 0x88 -/* 8003759C 000344FC D0 01 00 88 */ stfs f0, 0x88(r1) -/* 800375A0 00034500 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 800375A4 00034504 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 800375A8 00034508 48 2D D2 A9 */ bl AsNormalized__9CVector3fCFv -/* 800375AC 0003450C C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 800375B0 00034510 7F 24 CB 78 */ mr r4, r25 -/* 800375B4 00034514 C0 21 00 98 */ lfs f1, 0x98(r1) -/* 800375B8 00034518 38 61 00 28 */ addi r3, r1, 0x28 -/* 800375BC 0003451C C0 01 00 94 */ lfs f0, 0x94(r1) -/* 800375C0 00034520 FF A0 10 50 */ fneg f29, f2 -/* 800375C4 00034524 FF C0 08 50 */ fneg f30, f1 -/* 800375C8 00034528 FF E0 00 50 */ fneg f31, f0 -/* 800375CC 0003452C 48 07 4E 35 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -/* 800375D0 00034530 80 03 00 04 */ lwz r0, 4(r3) -/* 800375D4 00034534 28 00 00 00 */ cmplwi r0, 0 -/* 800375D8 00034538 41 82 02 54 */ beq lbl_8003782C -/* 800375DC 0003453C 88 1E 01 64 */ lbz r0, 0x164(r30) -/* 800375E0 00034540 28 00 00 00 */ cmplwi r0, 0 -/* 800375E4 00034544 41 82 02 48 */ beq lbl_8003782C -/* 800375E8 00034548 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 800375EC 0003454C 80 03 02 F4 */ lwz r0, 0x2f4(r3) -/* 800375F0 00034550 2C 00 00 00 */ cmpwi r0, 0 -/* 800375F4 00034554 40 82 02 38 */ bne lbl_8003782C -/* 800375F8 00034558 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 800375FC 0003455C 7F E5 FB 78 */ mr r5, r31 -/* 80037600 00034560 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80037604 00034564 4B FD 33 65 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 80037608 00034568 C0 41 00 C4 */ lfs f2, 0xc4(r1) -/* 8003760C 0003456C 38 61 00 7C */ addi r3, r1, 0x7c -/* 80037610 00034570 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 80037614 00034574 38 81 00 70 */ addi r4, r1, 0x70 -/* 80037618 00034578 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 8003761C 0003457C D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80037620 00034580 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80037624 00034584 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80037628 00034588 48 2D D2 29 */ bl AsNormalized__9CVector3fCFv -/* 8003762C 0003458C C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80037630 00034590 C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 80037634 00034594 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 80037638 00034598 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 8003763C 0003459C EC 1F 00 7A */ fmadds f0, f31, f1, f0 -/* 80037640 000345A0 EC 3D 00 BA */ fmadds f1, f29, f2, f0 -/* 80037644 000345A4 48 2D D6 91 */ bl FastArcCosR__5CMathFf -/* 80037648 000345A8 C0 02 84 08 */ lfs f0, lbl_805AA128@sda21(r2) -/* 8003764C 000345AC C0 42 84 04 */ lfs f2, lbl_805AA124@sda21(r2) -/* 80037650 000345B0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80037654 000345B4 C0 02 84 0C */ lfs f0, lbl_805AA12C@sda21(r2) -/* 80037658 000345B8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8003765C 000345BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80037660 000345C0 4C 40 13 82 */ cror 2, 0, 2 -/* 80037664 000345C4 40 82 01 C8 */ bne lbl_8003782C -/* 80037668 000345C8 3C 60 80 3D */ lis r3, lbl_803CCE20@ha -/* 8003766C 000345CC 3B A0 00 00 */ li r29, 0 -/* 80037670 000345D0 38 83 CE 20 */ addi r4, r3, lbl_803CCE20@l -/* 80037674 000345D4 3B 80 00 00 */ li r28, 0 -/* 80037678 000345D8 3B 00 00 00 */ li r24, 0 -/* 8003767C 000345DC 38 60 01 10 */ li r3, 0x110 -/* 80037680 000345E0 38 A0 00 00 */ li r5, 0 -/* 80037684 000345E4 48 2D E1 E9 */ bl __nw__FUlPCcPCc -/* 80037688 000345E8 7C 79 1B 79 */ or. r25, r3, r3 -/* 8003768C 000345EC 41 82 00 DC */ beq lbl_80037768 -/* 80037690 000345F0 38 00 00 01 */ li r0, 1 -/* 80037694 000345F4 34 61 00 30 */ addic. r3, r1, 0x30 -/* 80037698 000345F8 98 01 00 38 */ stb r0, 0x38(r1) -/* 8003769C 000345FC 38 9E 01 58 */ addi r4, r30, 0x158 -/* 800376A0 00034600 41 82 00 08 */ beq lbl_800376A8 -/* 800376A4 00034604 48 30 98 05 */ bl __ct__6CTokenFRC6CToken -lbl_800376A8: -/* 800376A8 00034608 38 00 00 00 */ li r0, 0 -/* 800376AC 0003460C 7F E4 FB 78 */ mr r4, r31 -/* 800376B0 00034610 98 01 00 44 */ stb r0, 0x44(r1) -/* 800376B4 00034614 38 61 00 18 */ addi r3, r1, 0x18 -/* 800376B8 00034618 3B 00 00 01 */ li r24, 1 -/* 800376BC 0003461C 3B 80 00 01 */ li r28, 1 -/* 800376C0 00034620 48 01 5A 1D */ bl AllocateUniqueId__13CStateManagerFv -/* 800376C4 00034624 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 800376C8 00034628 3C 60 80 3D */ lis r3, lbl_803CCE20@ha -/* 800376CC 0003462C 38 83 CE 20 */ addi r4, r3, lbl_803CCE20@l -/* 800376D0 00034630 38 61 00 48 */ addi r3, r1, 0x48 -/* 800376D4 00034634 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 800376D8 00034638 38 84 00 07 */ addi r4, r4, 7 -/* 800376DC 0003463C 4B FC D5 DD */ bl string_l__4rstlFPCc -/* 800376E0 00034640 C0 22 84 10 */ lfs f1, lbl_805AA130@sda21(r2) -/* 800376E4 00034644 38 61 00 24 */ addi r3, r1, 0x24 -/* 800376E8 00034648 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) -/* 800376EC 0003464C 3B A0 00 01 */ li r29, 1 -/* 800376F0 00034650 FC 40 08 90 */ fmr f2, f1 -/* 800376F4 00034654 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 800376F8 00034658 FC 60 08 90 */ fmr f3, f1 -/* 800376FC 0003465C FC 80 08 90 */ fmr f4, f1 -/* 80037700 00034660 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 80037704 00034664 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80037708 00034668 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8003770C 0003466C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80037710 00034670 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80037714 00034674 48 32 BC D9 */ bl __ct__6CColorFffff -/* 80037718 00034678 7C 7A 1B 78 */ mr r26, r3 -/* 8003771C 0003467C 7F E3 FB 78 */ mr r3, r31 -/* 80037720 00034680 48 0F 8B 0D */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager -/* 80037724 00034684 7C 7B 1B 78 */ mr r27, r3 -/* 80037728 00034688 7F E3 FB 78 */ mr r3, r31 -/* 8003772C 0003468C 48 0F 8A CD */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager -/* 80037730 00034690 38 61 00 58 */ addi r3, r1, 0x58 -/* 80037734 00034694 38 01 00 64 */ addi r0, r1, 0x64 -/* 80037738 00034698 90 61 00 08 */ stw r3, 8(r1) -/* 8003773C 0003469C 7F 23 CB 78 */ mr r3, r25 -/* 80037740 000346A0 7F 69 DB 78 */ mr r9, r27 -/* 80037744 000346A4 7F 4A D3 78 */ mr r10, r26 -/* 80037748 000346A8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8003774C 000346AC 38 81 00 30 */ addi r4, r1, 0x30 -/* 80037750 000346B0 38 A1 00 3C */ addi r5, r1, 0x3c -/* 80037754 000346B4 38 C1 00 1C */ addi r6, r1, 0x1c -/* 80037758 000346B8 39 01 00 48 */ addi r8, r1, 0x48 -/* 8003775C 000346BC 38 E0 00 01 */ li r7, 1 -/* 80037760 000346C0 48 0F 87 99 */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" -/* 80037764 000346C4 7C 79 1B 78 */ mr r25, r3 -lbl_80037768: -/* 80037768 000346C8 7F E3 FB 78 */ mr r3, r31 -/* 8003776C 000346CC 7F 24 CB 78 */ mr r4, r25 -/* 80037770 000346D0 48 01 55 85 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 80037774 000346D4 7F 00 07 75 */ extsb. r0, r24 -/* 80037778 000346D8 41 82 00 28 */ beq lbl_800377A0 -/* 8003777C 000346DC 88 01 00 38 */ lbz r0, 0x38(r1) -/* 80037780 000346E0 28 00 00 00 */ cmplwi r0, 0 -/* 80037784 000346E4 41 82 00 14 */ beq lbl_80037798 -/* 80037788 000346E8 34 61 00 30 */ addic. r3, r1, 0x30 -/* 8003778C 000346EC 41 82 00 0C */ beq lbl_80037798 -/* 80037790 000346F0 38 80 00 00 */ li r4, 0 -/* 80037794 000346F4 48 30 96 AD */ bl __dt__6CTokenFv -lbl_80037798: -/* 80037798 000346F8 38 00 00 00 */ li r0, 0 -/* 8003779C 000346FC 98 01 00 38 */ stb r0, 0x38(r1) -lbl_800377A0: -/* 800377A0 00034700 7F 80 07 75 */ extsb. r0, r28 -/* 800377A4 00034704 41 82 00 28 */ beq lbl_800377CC -/* 800377A8 00034708 88 01 00 44 */ lbz r0, 0x44(r1) -/* 800377AC 0003470C 28 00 00 00 */ cmplwi r0, 0 -/* 800377B0 00034710 41 82 00 14 */ beq lbl_800377C4 -/* 800377B4 00034714 34 61 00 3C */ addic. r3, r1, 0x3c -/* 800377B8 00034718 41 82 00 0C */ beq lbl_800377C4 -/* 800377BC 0003471C 38 80 00 00 */ li r4, 0 -/* 800377C0 00034720 48 30 96 81 */ bl __dt__6CTokenFv -lbl_800377C4: -/* 800377C4 00034724 38 00 00 00 */ li r0, 0 -/* 800377C8 00034728 98 01 00 44 */ stb r0, 0x44(r1) -lbl_800377CC: -/* 800377CC 0003472C 7F A0 07 75 */ extsb. r0, r29 -/* 800377D0 00034730 41 82 00 0C */ beq lbl_800377DC -/* 800377D4 00034734 38 61 00 48 */ addi r3, r1, 0x48 -/* 800377D8 00034738 48 30 63 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800377DC: -/* 800377DC 0003473C A0 9E 01 68 */ lhz r4, 0x168(r30) -/* 800377E0 00034740 38 61 00 20 */ addi r3, r1, 0x20 -/* 800377E4 00034744 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800377E8 00034748 38 A0 00 7F */ li r5, 0x7f -/* 800377EC 0003474C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800377F0 00034750 38 C0 00 40 */ li r6, 0x40 -/* 800377F4 00034754 38 E0 00 00 */ li r7, 0 -/* 800377F8 00034758 39 20 00 00 */ li r9, 0 -/* 800377FC 0003475C 48 2B 25 79 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80037800 00034760 88 1E 02 E4 */ lbz r0, 0x2e4(r30) -/* 80037804 00034764 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80037808 00034768 41 82 00 24 */ beq lbl_8003782C -/* 8003780C 0003476C A0 1E 00 08 */ lhz r0, 8(r30) -/* 80037810 00034770 7F E3 FB 78 */ mr r3, r31 -/* 80037814 00034774 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80037818 00034778 38 C0 00 2B */ li r6, 0x2b -/* 8003781C 0003477C B0 01 00 14 */ sth r0, 0x14(r1) -/* 80037820 00034780 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80037824 00034784 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80037828 00034788 48 00 C6 A9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_8003782C: -/* 8003782C 0003478C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 80037830 00034790 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 80037834 00034794 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 80037838 00034798 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 8003783C 0003479C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 80037840 000347A0 CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 80037844 000347A4 BB 01 00 D0 */ lmw r24, 0xd0(r1) -/* 80037848 000347A8 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8003784C 000347AC 7C 08 03 A6 */ mtlr r0 -/* 80037850 000347B0 38 21 01 20 */ addi r1, r1, 0x120 - -.global sub_80037854 -sub_80037854: -/* 80037854 000347B4 4E 80 00 20 */ blr - -.global GetBeamAttribType__15CGameProjectileF11EWeaponType -GetBeamAttribType__15CGameProjectileF11EWeaponType: -/* 80037858 000347B8 2C 03 00 03 */ cmpwi r3, 3 -/* 8003785C 000347BC 41 82 00 34 */ beq lbl_80037890 -/* 80037860 000347C0 40 80 00 14 */ bge lbl_80037874 -/* 80037864 000347C4 2C 03 00 01 */ cmpwi r3, 1 -/* 80037868 000347C8 41 82 00 18 */ beq lbl_80037880 -/* 8003786C 000347CC 40 80 00 1C */ bge lbl_80037888 -/* 80037870 000347D0 48 00 00 30 */ b lbl_800378A0 -lbl_80037874: -/* 80037874 000347D4 2C 03 00 08 */ cmpwi r3, 8 -/* 80037878 000347D8 41 82 00 20 */ beq lbl_80037898 -/* 8003787C 000347DC 48 00 00 24 */ b lbl_800378A0 -lbl_80037880: -/* 80037880 000347E0 38 60 00 08 */ li r3, 8 -/* 80037884 000347E4 4E 80 00 20 */ blr -lbl_80037888: -/* 80037888 000347E8 38 60 00 10 */ li r3, 0x10 -/* 8003788C 000347EC 4E 80 00 20 */ blr -lbl_80037890: -/* 80037890 000347F0 38 60 00 20 */ li r3, 0x20 -/* 80037894 000347F4 4E 80 00 20 */ blr -lbl_80037898: -/* 80037898 000347F8 38 60 00 40 */ li r3, 0x40 -/* 8003789C 000347FC 4E 80 00 20 */ blr -lbl_800378A0: -/* 800378A0 00034800 38 60 00 00 */ li r3, 0 -/* 800378A4 00034804 4E 80 00 20 */ blr - -.global DeleteProjectileLight__15CGameProjectileFR13CStateManager -DeleteProjectileLight__15CGameProjectileFR13CStateManager: -/* 800378A8 00034808 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800378AC 0003480C 7C 08 02 A6 */ mflr r0 -/* 800378B0 00034810 90 01 00 24 */ stw r0, 0x24(r1) -/* 800378B4 00034814 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800378B8 00034818 7C 7F 1B 78 */ mr r31, r3 -/* 800378BC 0003481C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800378C0 00034820 A0 63 02 C8 */ lhz r3, 0x2c8(r3) -/* 800378C4 00034824 7C 03 00 40 */ cmplw r3, r0 -/* 800378C8 00034828 41 82 00 20 */ beq lbl_800378E8 -/* 800378CC 0003482C A0 1F 02 C8 */ lhz r0, 0x2c8(r31) -/* 800378D0 00034830 7C 83 23 78 */ mr r3, r4 -/* 800378D4 00034834 38 81 00 08 */ addi r4, r1, 8 -/* 800378D8 00034838 B0 01 00 08 */ sth r0, 8(r1) -/* 800378DC 0003483C 48 01 49 91 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 800378E0 00034840 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800378E4 00034844 B0 1F 02 C8 */ sth r0, 0x2c8(r31) -lbl_800378E8: -/* 800378E8 00034848 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800378EC 0003484C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800378F0 00034850 7C 08 03 A6 */ mtlr r0 -/* 800378F4 00034854 38 21 00 20 */ addi r1, r1, 0x20 -/* 800378F8 00034858 4E 80 00 20 */ blr - -.global "CreateProjectileLight__15CGameProjectileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC6CLightR13CStateManager" -"CreateProjectileLight__15CGameProjectileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC6CLightR13CStateManager": -/* 800378FC 0003485C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80037900 00034860 7C 08 02 A6 */ mflr r0 -/* 80037904 00034864 90 01 00 54 */ stw r0, 0x54(r1) -/* 80037908 00034868 BF 21 00 34 */ stmw r25, 0x34(r1) -/* 8003790C 0003486C 7C DC 33 78 */ mr r28, r6 -/* 80037910 00034870 7C 9A 23 78 */ mr r26, r4 -/* 80037914 00034874 7C 79 1B 78 */ mr r25, r3 -/* 80037918 00034878 7C BB 2B 78 */ mr r27, r5 -/* 8003791C 0003487C 7F 84 E3 78 */ mr r4, r28 -/* 80037920 00034880 4B FF FF 89 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager -/* 80037924 00034884 7F 84 E3 78 */ mr r4, r28 -/* 80037928 00034888 38 61 00 1C */ addi r3, r1, 0x1c -/* 8003792C 0003488C 48 01 57 B1 */ bl AllocateUniqueId__13CStateManagerFv -/* 80037930 00034890 A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 80037934 00034894 3C 60 80 3D */ lis r3, lbl_803CCE20@ha -/* 80037938 00034898 38 83 CE 20 */ addi r4, r3, lbl_803CCE20@l -/* 8003793C 0003489C 38 A0 00 00 */ li r5, 0 -/* 80037940 000348A0 B0 19 02 C8 */ sth r0, 0x2c8(r25) -/* 80037944 000348A4 38 60 01 48 */ li r3, 0x148 -/* 80037948 000348A8 83 B9 02 CC */ lwz r29, 0x2cc(r25) -/* 8003794C 000348AC 48 2D DF 21 */ bl __nw__FUlPCcPCc -/* 80037950 000348B0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80037954 000348B4 41 82 00 6C */ beq lbl_800379C0 -/* 80037958 000348B8 A0 B9 00 08 */ lhz r5, 8(r25) -/* 8003795C 000348BC 7F 24 CB 78 */ mr r4, r25 -/* 80037960 000348C0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80037964 000348C4 B0 A1 00 18 */ sth r5, 0x18(r1) -/* 80037968 000348C8 88 19 00 30 */ lbz r0, 0x30(r25) -/* 8003796C 000348CC B0 A1 00 14 */ sth r5, 0x14(r1) -/* 80037970 000348D0 54 1E CF FE */ rlwinm r30, r0, 0x19, 0x1f, 0x1f -/* 80037974 000348D4 48 01 97 11 */ bl GetAreaId__7CEntityCFv -/* 80037978 000348D8 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8003797C 000348DC 38 00 00 00 */ li r0, 0 -/* 80037980 000348E0 C0 22 84 14 */ lfs f1, lbl_805AA134@sda21(r2) -/* 80037984 000348E4 7F E3 FB 78 */ mr r3, r31 -/* 80037988 000348E8 90 81 00 24 */ stw r4, 0x24(r1) -/* 8003798C 000348EC 7F C6 F3 78 */ mr r6, r30 -/* 80037990 000348F0 7F 47 D3 78 */ mr r7, r26 -/* 80037994 000348F4 7F 6A DB 78 */ mr r10, r27 -/* 80037998 000348F8 A1 39 02 C8 */ lhz r9, 0x2c8(r25) -/* 8003799C 000348FC 38 81 00 10 */ addi r4, r1, 0x10 -/* 800379A0 00034900 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800379A4 00034904 39 19 00 34 */ addi r8, r25, 0x34 -/* 800379A8 00034908 B1 21 00 10 */ sth r9, 0x10(r1) -/* 800379AC 0003490C 39 21 00 18 */ addi r9, r1, 0x18 -/* 800379B0 00034910 93 A1 00 08 */ stw r29, 8(r1) -/* 800379B4 00034914 90 01 00 0C */ stw r0, 0xc(r1) -/* 800379B8 00034918 48 07 DE 6D */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" -/* 800379BC 0003491C 7C 7F 1B 78 */ mr r31, r3 -lbl_800379C0: -/* 800379C0 00034920 7F 83 E3 78 */ mr r3, r28 -/* 800379C4 00034924 7F E4 FB 78 */ mr r4, r31 -/* 800379C8 00034928 48 01 53 2D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 800379CC 0003492C BB 21 00 34 */ lmw r25, 0x34(r1) -/* 800379D0 00034930 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800379D4 00034934 7C 08 03 A6 */ mtlr r0 -/* 800379D8 00034938 38 21 00 50 */ addi r1, r1, 0x50 -/* 800379DC 0003493C 4E 80 00 20 */ blr - -.global Chase__15CGameProjectileFfR13CStateManager -Chase__15CGameProjectileFfR13CStateManager: -/* 800379E0 00034940 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 800379E4 00034944 7C 08 02 A6 */ mflr r0 -/* 800379E8 00034948 90 01 02 04 */ stw r0, 0x204(r1) -/* 800379EC 0003494C DB E1 01 F0 */ stfd f31, 0x1f0(r1) -/* 800379F0 00034950 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 -/* 800379F4 00034954 DB C1 01 E0 */ stfd f30, 0x1e0(r1) -/* 800379F8 00034958 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 -/* 800379FC 0003495C DB A1 01 D0 */ stfd f29, 0x1d0(r1) -/* 80037A00 00034960 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 -/* 80037A04 00034964 DB 81 01 C0 */ stfd f28, 0x1c0(r1) -/* 80037A08 00034968 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 -/* 80037A0C 0003496C 93 E1 01 BC */ stw r31, 0x1bc(r1) -/* 80037A10 00034970 93 C1 01 B8 */ stw r30, 0x1b8(r1) -/* 80037A14 00034974 93 A1 01 B4 */ stw r29, 0x1b4(r1) -/* 80037A18 00034978 88 03 02 94 */ lbz r0, 0x294(r3) -/* 80037A1C 0003497C FF E0 08 90 */ fmr f31, f1 -/* 80037A20 00034980 7C 7D 1B 78 */ mr r29, r3 -/* 80037A24 00034984 7C 9E 23 78 */ mr r30, r4 -/* 80037A28 00034988 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80037A2C 0003498C 41 82 03 F0 */ beq lbl_80037E1C -/* 80037A30 00034990 A0 7D 02 C0 */ lhz r3, 0x2c0(r29) -/* 80037A34 00034994 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80037A38 00034998 7C 03 00 40 */ cmplw r3, r0 -/* 80037A3C 0003499C 41 82 03 E0 */ beq lbl_80037E1C -/* 80037A40 000349A0 A0 1D 02 C0 */ lhz r0, 0x2c0(r29) -/* 80037A44 000349A4 7F C3 F3 78 */ mr r3, r30 -/* 80037A48 000349A8 38 81 00 08 */ addi r4, r1, 8 -/* 80037A4C 000349AC B0 01 00 08 */ sth r0, 8(r1) -/* 80037A50 000349B0 48 01 4B 55 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80037A54 000349B4 7C 64 1B 78 */ mr r4, r3 -/* 80037A58 000349B8 38 61 00 1C */ addi r3, r1, 0x1c -/* 80037A5C 000349BC 48 07 82 35 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80037A60 000349C0 83 E3 00 04 */ lwz r31, 4(r3) -/* 80037A64 000349C4 28 1F 00 00 */ cmplwi r31, 0 -/* 80037A68 000349C8 41 82 03 B4 */ beq lbl_80037E1C -/* 80037A6C 000349CC 80 BF 00 68 */ lwz r5, 0x68(r31) -/* 80037A70 000349D0 38 00 01 00 */ li r0, 0x100 -/* 80037A74 000349D4 80 DF 00 6C */ lwz r6, 0x6c(r31) -/* 80037A78 000349D8 38 80 00 00 */ li r4, 0 -/* 80037A7C 000349DC 7C A0 00 38 */ and r0, r5, r0 -/* 80037A80 000349E0 7C C3 20 38 */ and r3, r6, r4 -/* 80037A84 000349E4 7C 63 22 78 */ xor r3, r3, r4 -/* 80037A88 000349E8 7C 00 22 78 */ xor r0, r0, r4 -/* 80037A8C 000349EC 7C 60 03 79 */ or. r0, r3, r0 -/* 80037A90 000349F0 41 82 00 08 */ beq lbl_80037A98 -/* 80037A94 000349F4 38 80 00 01 */ li r4, 1 -lbl_80037A98: -/* 80037A98 000349F8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80037A9C 000349FC 40 82 00 30 */ bne lbl_80037ACC -/* 80037AA0 00034A00 38 80 00 00 */ li r4, 0 -/* 80037AA4 00034A04 38 00 00 01 */ li r0, 1 -/* 80037AA8 00034A08 7C C3 20 38 */ and r3, r6, r4 -/* 80037AAC 00034A0C 7C A0 00 38 */ and r0, r5, r0 -/* 80037AB0 00034A10 7C 63 22 78 */ xor r3, r3, r4 -/* 80037AB4 00034A14 7C 00 22 78 */ xor r0, r0, r4 -/* 80037AB8 00034A18 7C 60 03 79 */ or. r0, r3, r0 -/* 80037ABC 00034A1C 40 82 00 10 */ bne lbl_80037ACC -/* 80037AC0 00034A20 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80037AC4 00034A24 B0 1D 02 C0 */ sth r0, 0x2c0(r29) -/* 80037AC8 00034A28 48 00 03 54 */ b lbl_80037E1C -lbl_80037ACC: -/* 80037ACC 00034A2C 7F E4 FB 78 */ mr r4, r31 -/* 80037AD0 00034A30 7F C5 F3 78 */ mr r5, r30 -/* 80037AD4 00034A34 81 9F 00 00 */ lwz r12, 0(r31) -/* 80037AD8 00034A38 38 61 00 50 */ addi r3, r1, 0x50 -/* 80037ADC 00034A3C C0 22 84 14 */ lfs f1, lbl_805AA134@sda21(r2) -/* 80037AE0 00034A40 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 80037AE4 00034A44 7D 89 03 A6 */ mtctr r12 -/* 80037AE8 00034A48 4E 80 04 21 */ bctrl -/* 80037AEC 00034A4C C3 A1 00 50 */ lfs f29, 0x50(r1) -/* 80037AF0 00034A50 7F E4 FB 78 */ mr r4, r31 -/* 80037AF4 00034A54 C3 C1 00 54 */ lfs f30, 0x54(r1) -/* 80037AF8 00034A58 38 61 00 14 */ addi r3, r1, 0x14 -/* 80037AFC 00034A5C C3 81 00 58 */ lfs f28, 0x58(r1) -/* 80037B00 00034A60 48 06 E1 11 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" -/* 80037B04 00034A64 83 C3 00 04 */ lwz r30, 4(r3) -/* 80037B08 00034A68 28 1E 00 00 */ cmplwi r30, 0 -/* 80037B0C 00034A6C 41 82 00 6C */ beq lbl_80037B78 -/* 80037B10 00034A70 80 DE 04 2C */ lwz r6, 0x42c(r30) -/* 80037B14 00034A74 38 A0 00 00 */ li r5, 0 -/* 80037B18 00034A78 2C 06 FF FF */ cmpwi r6, -1 -/* 80037B1C 00034A7C 40 81 00 2C */ ble lbl_80037B48 -/* 80037B20 00034A80 80 1E 01 0C */ lwz r0, 0x10c(r30) -/* 80037B24 00034A84 7C 06 00 00 */ cmpw r6, r0 -/* 80037B28 00034A88 40 80 00 20 */ bge lbl_80037B48 -/* 80037B2C 00034A8C 1C 66 00 84 */ mulli r3, r6, 0x84 -/* 80037B30 00034A90 80 9E 01 14 */ lwz r4, 0x114(r30) -/* 80037B34 00034A94 38 03 00 80 */ addi r0, r3, 0x80 -/* 80037B38 00034A98 7C 04 00 AE */ lbzx r0, r4, r0 -/* 80037B3C 00034A9C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80037B40 00034AA0 41 82 00 08 */ beq lbl_80037B48 -/* 80037B44 00034AA4 38 A0 00 01 */ li r5, 1 -lbl_80037B48: -/* 80037B48 00034AA8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80037B4C 00034AAC 41 82 00 20 */ beq lbl_80037B6C -/* 80037B50 00034AB0 1C 06 00 84 */ mulli r0, r6, 0x84 -/* 80037B54 00034AB4 80 7E 01 14 */ lwz r3, 0x114(r30) -/* 80037B58 00034AB8 7C 63 02 14 */ add r3, r3, r0 -/* 80037B5C 00034ABC C3 A3 00 0C */ lfs f29, 0xc(r3) -/* 80037B60 00034AC0 C3 C3 00 1C */ lfs f30, 0x1c(r3) -/* 80037B64 00034AC4 C3 83 00 2C */ lfs f28, 0x2c(r3) -/* 80037B68 00034AC8 48 00 00 10 */ b lbl_80037B78 -lbl_80037B6C: -/* 80037B6C 00034ACC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80037B70 00034AD0 B0 1D 02 C0 */ sth r0, 0x2c0(r29) -/* 80037B74 00034AD4 48 00 02 A8 */ b lbl_80037E1C -lbl_80037B78: -/* 80037B78 00034AD8 38 9D 01 70 */ addi r4, r29, 0x170 -/* 80037B7C 00034ADC 38 61 00 44 */ addi r3, r1, 0x44 -/* 80037B80 00034AE0 81 9D 01 70 */ lwz r12, 0x170(r29) -/* 80037B84 00034AE4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80037B88 00034AE8 7D 89 03 A6 */ mtctr r12 -/* 80037B8C 00034AEC 4E 80 04 21 */ bctrl -/* 80037B90 00034AF0 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80037B94 00034AF4 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80037B98 00034AF8 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80037B9C 00034AFC EC 7D 10 28 */ fsubs f3, f29, f2 -/* 80037BA0 00034B00 EC 5E 00 28 */ fsubs f2, f30, f0 -/* 80037BA4 00034B04 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) -/* 80037BA8 00034B08 EC 3C 08 28 */ fsubs f1, f28, f1 -/* 80037BAC 00034B0C D0 61 00 78 */ stfs f3, 0x78(r1) -/* 80037BB0 00034B10 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 80037BB4 00034B14 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 80037BB8 00034B18 C0 3D 02 E0 */ lfs f1, 0x2e0(r29) -/* 80037BBC 00034B1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80037BC0 00034B20 40 81 00 24 */ ble lbl_80037BE4 -/* 80037BC4 00034B24 38 61 00 78 */ addi r3, r1, 0x78 -/* 80037BC8 00034B28 48 2D CC F1 */ bl Magnitude__9CVector3fCFv -/* 80037BCC 00034B2C C0 1D 02 E0 */ lfs f0, 0x2e0(r29) -/* 80037BD0 00034B30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80037BD4 00034B34 40 80 00 10 */ bge lbl_80037BE4 -/* 80037BD8 00034B38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80037BDC 00034B3C B0 1D 02 C0 */ sth r0, 0x2c0(r29) -/* 80037BE0 00034B40 48 00 02 3C */ b lbl_80037E1C -lbl_80037BE4: -/* 80037BE4 00034B44 7F E4 FB 78 */ mr r4, r31 -/* 80037BE8 00034B48 38 61 00 0C */ addi r3, r1, 0xc -/* 80037BEC 00034B4C 48 07 4A F9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80037BF0 00034B50 28 1E 00 00 */ cmplwi r30, 0 -/* 80037BF4 00034B54 80 03 00 04 */ lwz r0, 4(r3) -/* 80037BF8 00034B58 40 82 00 A4 */ bne lbl_80037C9C -/* 80037BFC 00034B5C 28 00 00 00 */ cmplwi r0, 0 -/* 80037C00 00034B60 40 82 00 9C */ bne lbl_80037C9C -/* 80037C04 00034B64 7F E4 FB 78 */ mr r4, r31 -/* 80037C08 00034B68 38 61 00 84 */ addi r3, r1, 0x84 -/* 80037C0C 00034B6C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80037C10 00034B70 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80037C14 00034B74 7D 89 03 A6 */ mtctr r12 -/* 80037C18 00034B78 4E 80 04 21 */ bctrl -/* 80037C1C 00034B7C 88 01 00 9C */ lbz r0, 0x9c(r1) -/* 80037C20 00034B80 28 00 00 00 */ cmplwi r0, 0 -/* 80037C24 00034B84 98 01 00 B8 */ stb r0, 0xb8(r1) -/* 80037C28 00034B88 41 82 00 3C */ beq lbl_80037C64 -/* 80037C2C 00034B8C 34 61 00 A0 */ addic. r3, r1, 0xa0 -/* 80037C30 00034B90 41 82 00 34 */ beq lbl_80037C64 -/* 80037C34 00034B94 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80037C38 00034B98 D0 03 00 00 */ stfs f0, 0(r3) -/* 80037C3C 00034B9C C0 01 00 88 */ lfs f0, 0x88(r1) -/* 80037C40 00034BA0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80037C44 00034BA4 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 80037C48 00034BA8 D0 03 00 08 */ stfs f0, 8(r3) -/* 80037C4C 00034BAC C0 01 00 90 */ lfs f0, 0x90(r1) -/* 80037C50 00034BB0 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80037C54 00034BB4 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 80037C58 00034BB8 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80037C5C 00034BBC C0 01 00 98 */ lfs f0, 0x98(r1) -/* 80037C60 00034BC0 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80037C64: -/* 80037C64 00034BC4 88 01 00 B8 */ lbz r0, 0xb8(r1) -/* 80037C68 00034BC8 38 60 00 00 */ li r3, 0 -/* 80037C6C 00034BCC 98 61 00 9C */ stb r3, 0x9c(r1) -/* 80037C70 00034BD0 28 00 00 00 */ cmplwi r0, 0 -/* 80037C74 00034BD4 41 82 00 20 */ beq lbl_80037C94 -/* 80037C78 00034BD8 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 80037C7C 00034BDC C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 80037C80 00034BE0 C0 42 84 18 */ lfs f2, lbl_805AA138@sda21(r2) -/* 80037C84 00034BE4 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80037C88 00034BE8 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80037C8C 00034BEC EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80037C90 00034BF0 D0 01 00 80 */ stfs f0, 0x80(r1) -lbl_80037C94: -/* 80037C94 00034BF4 38 00 00 00 */ li r0, 0 -/* 80037C98 00034BF8 98 01 00 B8 */ stb r0, 0xb8(r1) -lbl_80037C9C: -/* 80037C9C 00034BFC 38 61 01 4C */ addi r3, r1, 0x14c -/* 80037CA0 00034C00 38 9D 01 70 */ addi r4, r29, 0x170 -/* 80037CA4 00034C04 48 27 89 35 */ bl GetTransform__17CProjectileWeaponFv -/* 80037CA8 00034C08 C0 41 01 70 */ lfs f2, 0x170(r1) -/* 80037CAC 00034C0C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80037CB0 00034C10 C0 21 01 60 */ lfs f1, 0x160(r1) -/* 80037CB4 00034C14 38 81 00 6C */ addi r4, r1, 0x6c -/* 80037CB8 00034C18 C0 01 01 50 */ lfs f0, 0x150(r1) -/* 80037CBC 00034C1C 38 A1 00 78 */ addi r5, r1, 0x78 -/* 80037CC0 00034C20 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80037CC4 00034C24 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80037CC8 00034C28 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80037CCC 00034C2C 48 2D 9D ED */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f -/* 80037CD0 00034C30 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 80037CD4 00034C34 C0 02 84 1C */ lfs f0, lbl_805AA13C@sda21(r2) -/* 80037CD8 00034C38 C0 A1 00 38 */ lfs f5, 0x38(r1) -/* 80037CDC 00034C3C EC 00 01 B2 */ fmuls f0, f0, f6 -/* 80037CE0 00034C40 C0 81 00 3C */ lfs f4, 0x3c(r1) -/* 80037CE4 00034C44 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 80037CE8 00034C48 C0 22 84 10 */ lfs f1, lbl_805AA130@sda21(r2) -/* 80037CEC 00034C4C EC 40 01 B2 */ fmuls f2, f0, f6 -/* 80037CF0 00034C50 C0 02 84 20 */ lfs f0, lbl_805AA140@sda21(r2) -/* 80037CF4 00034C54 D0 C1 00 5C */ stfs f6, 0x5c(r1) -/* 80037CF8 00034C58 EF 82 08 28 */ fsubs f28, f2, f1 -/* 80037CFC 00034C5C D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 80037D00 00034C60 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 80037D04 00034C64 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80037D08 00034C68 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 80037D0C 00034C6C 41 81 01 10 */ bgt lbl_80037E1C -/* 80037D10 00034C70 88 1D 02 E4 */ lbz r0, 0x2e4(r29) -/* 80037D14 00034C74 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80037D18 00034C78 41 82 00 18 */ beq lbl_80037D30 -/* 80037D1C 00034C7C 38 7D 01 70 */ addi r3, r29, 0x170 -/* 80037D20 00034C80 48 27 74 39 */ bl GetMaxTurnRate__17CProjectileWeaponCFv -/* 80037D24 00034C84 C0 02 84 18 */ lfs f0, lbl_805AA138@sda21(r2) -/* 80037D28 00034C88 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80037D2C 00034C8C 48 00 00 0C */ b lbl_80037D38 -lbl_80037D30: -/* 80037D30 00034C90 38 7D 01 70 */ addi r3, r29, 0x170 -/* 80037D34 00034C94 48 27 74 25 */ bl GetMaxTurnRate__17CProjectileWeaponCFv -lbl_80037D38: -/* 80037D38 00034C98 EC 1F 00 72 */ fmuls f0, f31, f1 -/* 80037D3C 00034C9C C0 42 84 24 */ lfs f2, lbl_805AA144@sda21(r2) -/* 80037D40 00034CA0 FC 20 E0 90 */ fmr f1, f28 -/* 80037D44 00034CA4 EF 82 00 32 */ fmuls f28, f2, f0 -/* 80037D48 00034CA8 48 35 CE E5 */ bl acos -/* 80037D4C 00034CAC FC 20 08 18 */ frsp f1, f1 -/* 80037D50 00034CB0 FC 1C 08 40 */ fcmpo cr0, f28, f1 -/* 80037D54 00034CB4 40 80 00 80 */ bge lbl_80037DD4 -/* 80037D58 00034CB8 C0 02 84 18 */ lfs f0, lbl_805AA138@sda21(r2) -/* 80037D5C 00034CBC EC 20 00 72 */ fmuls f1, f0, f1 -/* 80037D60 00034CC0 48 35 CD 7D */ bl sin -/* 80037D64 00034CC4 C0 02 84 18 */ lfs f0, lbl_805AA138@sda21(r2) -/* 80037D68 00034CC8 FF E0 08 90 */ fmr f31, f1 -/* 80037D6C 00034CCC EF 80 07 32 */ fmuls f28, f0, f28 -/* 80037D70 00034CD0 FC 20 E0 90 */ fmr f1, f28 -/* 80037D74 00034CD4 48 35 CD 69 */ bl sin -/* 80037D78 00034CD8 FC A0 08 18 */ frsp f5, f1 -/* 80037D7C 00034CDC C0 61 00 60 */ lfs f3, 0x60(r1) -/* 80037D80 00034CE0 FC 80 F8 18 */ frsp f4, f31 -/* 80037D84 00034CE4 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 80037D88 00034CE8 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80037D8C 00034CEC FC 20 E0 90 */ fmr f1, f28 -/* 80037D90 00034CF0 EC 85 20 24 */ fdivs f4, f5, f4 -/* 80037D94 00034CF4 EF A4 00 F2 */ fmuls f29, f4, f3 -/* 80037D98 00034CF8 EF C4 00 B2 */ fmuls f30, f4, f2 -/* 80037D9C 00034CFC EF E4 00 32 */ fmuls f31, f4, f0 -/* 80037DA0 00034D00 48 35 C6 51 */ bl cos -/* 80037DA4 00034D04 D3 A1 00 28 */ stfs f29, 0x28(r1) -/* 80037DA8 00034D08 FC 00 08 18 */ frsp f0, f1 -/* 80037DAC 00034D0C D3 C1 00 2C */ stfs f30, 0x2c(r1) -/* 80037DB0 00034D10 80 81 00 28 */ lwz r4, 0x28(r1) -/* 80037DB4 00034D14 D3 E1 00 30 */ stfs f31, 0x30(r1) -/* 80037DB8 00034D18 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80037DBC 00034D1C 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80037DC0 00034D20 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80037DC4 00034D24 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80037DC8 00034D28 90 81 00 60 */ stw r4, 0x60(r1) -/* 80037DCC 00034D2C 90 61 00 64 */ stw r3, 0x64(r1) -/* 80037DD0 00034D30 90 01 00 68 */ stw r0, 0x68(r1) -lbl_80037DD4: -/* 80037DD4 00034D34 38 61 00 BC */ addi r3, r1, 0xbc -/* 80037DD8 00034D38 38 9D 01 70 */ addi r4, r29, 0x170 -/* 80037DDC 00034D3C 48 27 87 FD */ bl GetTransform__17CProjectileWeaponFv -/* 80037DE0 00034D40 38 61 00 EC */ addi r3, r1, 0xec -/* 80037DE4 00034D44 38 81 00 5C */ addi r4, r1, 0x5c -/* 80037DE8 00034D48 48 2D A1 D1 */ bl BuildTransform4f__11CQuaternionCFv -/* 80037DEC 00034D4C 38 61 01 1C */ addi r3, r1, 0x11c -/* 80037DF0 00034D50 38 81 00 EC */ addi r4, r1, 0xec -/* 80037DF4 00034D54 38 A1 00 BC */ addi r5, r1, 0xbc -/* 80037DF8 00034D58 48 2D AB 59 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80037DFC 00034D5C 38 61 01 7C */ addi r3, r1, 0x17c -/* 80037E00 00034D60 38 81 01 1C */ addi r4, r1, 0x11c -/* 80037E04 00034D64 48 2D AD 71 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80037E08 00034D68 38 61 01 7C */ addi r3, r1, 0x17c -/* 80037E0C 00034D6C 48 2D B5 99 */ bl Orthonormalize__12CTransform4fFv -/* 80037E10 00034D70 38 7D 01 70 */ addi r3, r29, 0x170 -/* 80037E14 00034D74 38 81 01 7C */ addi r4, r1, 0x17c -/* 80037E18 00034D78 48 27 86 8D */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f -lbl_80037E1C: -/* 80037E1C 00034D7C E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 -/* 80037E20 00034D80 CB E1 01 F0 */ lfd f31, 0x1f0(r1) -/* 80037E24 00034D84 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 -/* 80037E28 00034D88 CB C1 01 E0 */ lfd f30, 0x1e0(r1) -/* 80037E2C 00034D8C E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 -/* 80037E30 00034D90 CB A1 01 D0 */ lfd f29, 0x1d0(r1) -/* 80037E34 00034D94 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 -/* 80037E38 00034D98 CB 81 01 C0 */ lfd f28, 0x1c0(r1) -/* 80037E3C 00034D9C 83 E1 01 BC */ lwz r31, 0x1bc(r1) -/* 80037E40 00034DA0 83 C1 01 B8 */ lwz r30, 0x1b8(r1) -/* 80037E44 00034DA4 80 01 02 04 */ lwz r0, 0x204(r1) -/* 80037E48 00034DA8 83 A1 01 B4 */ lwz r29, 0x1b4(r1) -/* 80037E4C 00034DAC 7C 08 03 A6 */ mtlr r0 -/* 80037E50 00034DB0 38 21 02 00 */ addi r1, r1, 0x200 -/* 80037E54 00034DB4 4E 80 00 20 */ blr - -.global UpdateHoming__15CGameProjectileFfR13CStateManager -UpdateHoming__15CGameProjectileFfR13CStateManager: -/* 80037E58 00034DB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80037E5C 00034DBC 7C 08 02 A6 */ mflr r0 -/* 80037E60 00034DC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80037E64 00034DC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80037E68 00034DC8 7C 9F 23 78 */ mr r31, r4 -/* 80037E6C 00034DCC 93 C1 00 08 */ stw r30, 8(r1) -/* 80037E70 00034DD0 7C 7E 1B 78 */ mr r30, r3 -/* 80037E74 00034DD4 88 03 02 E4 */ lbz r0, 0x2e4(r3) -/* 80037E78 00034DD8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80037E7C 00034DDC 41 82 00 68 */ beq lbl_80037EE4 -/* 80037E80 00034DE0 A0 7E 02 C0 */ lhz r3, 0x2c0(r30) -/* 80037E84 00034DE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80037E88 00034DE8 7C 03 00 40 */ cmplw r3, r0 -/* 80037E8C 00034DEC 41 82 00 58 */ beq lbl_80037EE4 -/* 80037E90 00034DF0 C0 5E 02 A8 */ lfs f2, 0x2a8(r30) -/* 80037E94 00034DF4 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) -/* 80037E98 00034DF8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80037E9C 00034DFC 40 81 00 48 */ ble lbl_80037EE4 -/* 80037EA0 00034E00 C8 1E 02 B0 */ lfd f0, 0x2b0(r30) -/* 80037EA4 00034E04 FC 00 08 2A */ fadd f0, f0, f1 -/* 80037EA8 00034E08 D8 1E 02 B0 */ stfd f0, 0x2b0(r30) -/* 80037EAC 00034E0C 48 00 00 24 */ b lbl_80037ED0 -lbl_80037EB0: -/* 80037EB0 00034E10 C0 3E 02 A8 */ lfs f1, 0x2a8(r30) -/* 80037EB4 00034E14 7F C3 F3 78 */ mr r3, r30 -/* 80037EB8 00034E18 7F E4 FB 78 */ mr r4, r31 -/* 80037EBC 00034E1C 4B FF FB 25 */ bl Chase__15CGameProjectileFfR13CStateManager -/* 80037EC0 00034E20 C8 3E 02 B8 */ lfd f1, 0x2b8(r30) -/* 80037EC4 00034E24 C0 1E 02 A8 */ lfs f0, 0x2a8(r30) -/* 80037EC8 00034E28 FC 01 00 2A */ fadd f0, f1, f0 -/* 80037ECC 00034E2C D8 1E 02 B8 */ stfd f0, 0x2b8(r30) -lbl_80037ED0: -/* 80037ED0 00034E30 C8 3E 02 B0 */ lfd f1, 0x2b0(r30) -/* 80037ED4 00034E34 C8 1E 02 B8 */ lfd f0, 0x2b8(r30) -/* 80037ED8 00034E38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80037EDC 00034E3C 4C 41 13 82 */ cror 2, 1, 2 -/* 80037EE0 00034E40 41 82 FF D0 */ beq lbl_80037EB0 -lbl_80037EE4: -/* 80037EE4 00034E44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80037EE8 00034E48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80037EEC 00034E4C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80037EF0 00034E50 7C 08 03 A6 */ mtlr r0 -/* 80037EF4 00034E54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80037EF8 00034E58 4E 80 00 20 */ blr - -.global UpdateProjectileMovement__15CGameProjectileFfR13CStateManager -UpdateProjectileMovement__15CGameProjectileFfR13CStateManager: -/* 80037EFC 00034E5C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80037F00 00034E60 7C 08 02 A6 */ mflr r0 -/* 80037F04 00034E64 90 01 00 64 */ stw r0, 0x64(r1) -/* 80037F08 00034E68 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80037F0C 00034E6C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80037F10 00034E70 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80037F14 00034E74 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80037F18 00034E78 88 03 02 E4 */ lbz r0, 0x2e4(r3) -/* 80037F1C 00034E7C FF E0 08 90 */ fmr f31, f1 -/* 80037F20 00034E80 7C 7E 1B 78 */ mr r30, r3 -/* 80037F24 00034E84 7C 9F 23 78 */ mr r31, r4 -/* 80037F28 00034E88 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80037F2C 00034E8C 41 82 00 10 */ beq lbl_80037F3C -/* 80037F30 00034E90 EC 1F 07 F2 */ fmuls f0, f31, f31 -/* 80037F34 00034E94 C0 22 84 28 */ lfs f1, lbl_805AA148@sda21(r2) -/* 80037F38 00034E98 EC 21 00 32 */ fmuls f1, f1, f0 -lbl_80037F3C: -/* 80037F3C 00034E9C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80037F40 00034EA0 38 7E 01 70 */ addi r3, r30, 0x170 -/* 80037F44 00034EA4 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80037F48 00034EA8 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80037F4C 00034EAC D0 1E 02 98 */ stfs f0, 0x298(r30) -/* 80037F50 00034EB0 D0 5E 02 9C */ stfs f2, 0x29c(r30) -/* 80037F54 00034EB4 D0 7E 02 A0 */ stfs f3, 0x2a0(r30) -/* 80037F58 00034EB8 81 9E 01 70 */ lwz r12, 0x170(r30) -/* 80037F5C 00034EBC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80037F60 00034EC0 7D 89 03 A6 */ mtctr r12 -/* 80037F64 00034EC4 4E 80 04 21 */ bctrl -/* 80037F68 00034EC8 38 61 00 14 */ addi r3, r1, 0x14 -/* 80037F6C 00034ECC 38 9E 01 70 */ addi r4, r30, 0x170 -/* 80037F70 00034ED0 48 27 86 69 */ bl GetTransform__17CProjectileWeaponFv -/* 80037F74 00034ED4 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80037F78 00034ED8 38 81 00 14 */ addi r4, r1, 0x14 -/* 80037F7C 00034EDC 48 2D AB C5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80037F80 00034EE0 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80037F84 00034EE4 38 A0 00 01 */ li r5, 1 -/* 80037F88 00034EE8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 80037F8C 00034EEC 38 9E 01 70 */ addi r4, r30, 0x170 -/* 80037F90 00034EF0 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80037F94 00034EF4 38 61 00 08 */ addi r3, r1, 8 -/* 80037F98 00034EF8 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80037F9C 00034EFC 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80037FA0 00034F00 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80037FA4 00034F04 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80037FA8 00034F08 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80037FAC 00034F0C 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80037FB0 00034F10 81 9E 01 70 */ lwz r12, 0x170(r30) -/* 80037FB4 00034F14 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80037FB8 00034F18 7D 89 03 A6 */ mtctr r12 -/* 80037FBC 00034F1C 4E 80 04 21 */ bctrl -/* 80037FC0 00034F20 7F C3 F3 78 */ mr r3, r30 -/* 80037FC4 00034F24 38 81 00 08 */ addi r4, r1, 8 -/* 80037FC8 00034F28 48 01 AE C5 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80037FCC 00034F2C FC 20 F8 90 */ fmr f1, f31 -/* 80037FD0 00034F30 7F C3 F3 78 */ mr r3, r30 -/* 80037FD4 00034F34 7F E4 FB 78 */ mr r4, r31 -/* 80037FD8 00034F38 4B FF FE 81 */ bl UpdateHoming__15CGameProjectileFfR13CStateManager -/* 80037FDC 00034F3C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80037FE0 00034F40 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80037FE4 00034F44 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80037FE8 00034F48 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80037FEC 00034F4C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80037FF0 00034F50 7C 08 03 A6 */ mtlr r0 -/* 80037FF4 00034F54 38 21 00 60 */ addi r1, r1, 0x60 -/* 80037FF8 00034F58 4E 80 00 20 */ blr - -.global DoCollisionCheck__15CGameProjectileFR9TUniqueIdR13CStateManager -DoCollisionCheck__15CGameProjectileFR9TUniqueIdR13CStateManager: -/* 80037FFC 00034F5C 94 21 F7 20 */ stwu r1, -0x8e0(r1) -/* 80038000 00034F60 7C 08 02 A6 */ mflr r0 -/* 80038004 00034F64 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) -/* 80038008 00034F68 90 01 08 E4 */ stw r0, 0x8e4(r1) -/* 8003800C 00034F6C C0 22 84 10 */ lfs f1, lbl_805AA130@sda21(r2) -/* 80038010 00034F70 93 E1 08 DC */ stw r31, 0x8dc(r1) -/* 80038014 00034F74 7C 7F 1B 78 */ mr r31, r3 -/* 80038018 00034F78 38 61 00 08 */ addi r3, r1, 8 -/* 8003801C 00034F7C 93 C1 08 D8 */ stw r30, 0x8d8(r1) -/* 80038020 00034F80 7C DE 33 78 */ mr r30, r6 -/* 80038024 00034F84 93 A1 08 D4 */ stw r29, 0x8d4(r1) -/* 80038028 00034F88 7C BD 2B 78 */ mr r29, r5 -/* 8003802C 00034F8C 93 81 08 D0 */ stw r28, 0x8d0(r1) -/* 80038030 00034F90 7C 9C 23 78 */ mr r28, r4 -/* 80038034 00034F94 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80038038 00034F98 D0 21 00 08 */ stfs f1, 8(r1) -/* 8003803C 00034F9C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80038040 00034FA0 48 2D C8 B9 */ bl Normalize__9CVector3fFv -/* 80038044 00034FA4 88 1C 02 E4 */ lbz r0, 0x2e4(r28) -/* 80038048 00034FA8 38 C0 00 00 */ li r6, 0 -/* 8003804C 00034FAC C0 62 84 14 */ lfs f3, lbl_805AA134@sda21(r2) -/* 80038050 00034FB0 C0 41 00 08 */ lfs f2, 8(r1) -/* 80038054 00034FB4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80038058 00034FB8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8003805C 00034FBC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80038060 00034FC0 D0 61 00 90 */ stfs f3, 0x90(r1) -/* 80038064 00034FC4 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 80038068 00034FC8 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 8003806C 00034FCC D0 61 00 9C */ stfs f3, 0x9c(r1) -/* 80038070 00034FD0 D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 80038074 00034FD4 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 80038078 00034FD8 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 8003807C 00034FDC D0 61 00 AC */ stfs f3, 0xac(r1) -/* 80038080 00034FE0 98 C1 00 B0 */ stb r6, 0xb0(r1) -/* 80038084 00034FE4 90 C1 00 BC */ stw r6, 0xbc(r1) -/* 80038088 00034FE8 90 C1 00 B8 */ stw r6, 0xb8(r1) -/* 8003808C 00034FEC 41 82 01 70 */ beq lbl_800381FC -/* 80038090 00034FF0 C0 7C 00 50 */ lfs f3, 0x50(r28) -/* 80038094 00034FF4 38 60 00 00 */ li r3, 0 -/* 80038098 00034FF8 C0 3C 02 9C */ lfs f1, 0x29c(r28) -/* 8003809C 00034FFC 38 80 00 01 */ li r4, 1 -/* 800380A0 00035000 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 800380A4 00035004 C0 1C 02 A0 */ lfs f0, 0x2a0(r28) -/* 800380A8 00035008 EC 63 08 28 */ fsubs f3, f3, f1 -/* 800380AC 0003500C C0 3C 00 40 */ lfs f1, 0x40(r28) -/* 800380B0 00035010 EC 42 00 28 */ fsubs f2, f2, f0 -/* 800380B4 00035014 C0 1C 02 98 */ lfs f0, 0x298(r28) -/* 800380B8 00035018 80 AD 82 1C */ lwz r5, lbl_805A6DDC@sda21(r13) -/* 800380BC 0003501C EC 01 00 28 */ fsubs f0, f1, f0 -/* 800380C0 00035020 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 800380C4 00035024 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 800380C8 00035028 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800380CC 0003502C 90 C1 00 C0 */ stw r6, 0xc0(r1) -/* 800380D0 00035030 48 35 1E 25 */ bl __shl2i -/* 800380D4 00035034 38 C0 FF FF */ li r6, -1 -/* 800380D8 00035038 38 A0 00 00 */ li r5, 0 -/* 800380DC 0003503C 38 00 00 02 */ li r0, 2 -/* 800380E0 00035040 90 81 00 3C */ stw r4, 0x3c(r1) -/* 800380E4 00035044 7F 84 E3 78 */ mr r4, r28 -/* 800380E8 00035048 90 61 00 38 */ stw r3, 0x38(r1) -/* 800380EC 0003504C 38 61 00 48 */ addi r3, r1, 0x48 -/* 800380F0 00035050 90 C1 00 34 */ stw r6, 0x34(r1) -/* 800380F4 00035054 90 A1 00 30 */ stw r5, 0x30(r1) -/* 800380F8 00035058 90 01 00 40 */ stw r0, 0x40(r1) -/* 800380FC 0003505C 48 00 21 FD */ bl GetProjectileBounds__15CGameProjectileCFv -/* 80038100 00035060 7F C3 F3 78 */ mr r3, r30 -/* 80038104 00035064 7F 87 E3 78 */ mr r7, r28 -/* 80038108 00035068 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 8003810C 0003506C 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80038110 00035070 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80038114 00035074 48 01 46 0D */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80038118 00035078 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 8003811C 0003507C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80038120 00035080 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 80038124 00035084 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 80038128 00035088 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8003812C 0003508C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80038130 00035090 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80038134 00035094 48 2D C7 85 */ bl Magnitude__9CVector3fCFv -/* 80038138 00035098 7F 84 E3 78 */ mr r4, r28 -/* 8003813C 0003509C 7F A5 EB 78 */ mr r5, r29 -/* 80038140 000350A0 7F C9 F3 78 */ mr r9, r30 -/* 80038144 000350A4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80038148 000350A8 38 DC 02 98 */ addi r6, r28, 0x298 -/* 8003814C 000350AC 38 E1 00 14 */ addi r7, r1, 0x14 -/* 80038150 000350B0 39 01 00 C0 */ addi r8, r1, 0xc0 -/* 80038154 000350B4 48 00 05 6D */ bl "RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager" -/* 80038158 000350B8 80 E1 00 C0 */ lwz r7, 0xc0(r1) -/* 8003815C 000350BC 38 C0 00 00 */ li r6, 0 -/* 80038160 000350C0 C0 A1 00 60 */ lfs f5, 0x60(r1) -/* 80038164 000350C4 80 A1 00 64 */ lwz r5, 0x64(r1) -/* 80038168 000350C8 2C 07 00 00 */ cmpwi r7, 0 -/* 8003816C 000350CC 80 81 00 68 */ lwz r4, 0x68(r1) -/* 80038170 000350D0 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 80038174 000350D4 C0 81 00 70 */ lfs f4, 0x70(r1) -/* 80038178 000350D8 C0 61 00 74 */ lfs f3, 0x74(r1) -/* 8003817C 000350DC C0 41 00 78 */ lfs f2, 0x78(r1) -/* 80038180 000350E0 C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 80038184 000350E4 88 01 00 80 */ lbz r0, 0x80(r1) -/* 80038188 000350E8 C8 01 00 88 */ lfd f0, 0x88(r1) -/* 8003818C 000350EC D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 80038190 000350F0 90 A1 00 94 */ stw r5, 0x94(r1) -/* 80038194 000350F4 90 81 00 98 */ stw r4, 0x98(r1) -/* 80038198 000350F8 90 61 00 9C */ stw r3, 0x9c(r1) -/* 8003819C 000350FC D0 81 00 A0 */ stfs f4, 0xa0(r1) -/* 800381A0 00035100 D0 61 00 A4 */ stfs f3, 0xa4(r1) -/* 800381A4 00035104 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 800381A8 00035108 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 800381AC 0003510C 98 01 00 B0 */ stb r0, 0xb0(r1) -/* 800381B0 00035110 D8 01 00 B8 */ stfd f0, 0xb8(r1) -/* 800381B4 00035114 40 81 00 40 */ ble lbl_800381F4 -/* 800381B8 00035118 2C 07 00 08 */ cmpwi r7, 8 -/* 800381BC 0003511C 38 67 FF F8 */ addi r3, r7, -8 -/* 800381C0 00035120 40 81 00 20 */ ble lbl_800381E0 -/* 800381C4 00035124 38 03 00 07 */ addi r0, r3, 7 -/* 800381C8 00035128 54 00 E8 FE */ srwi r0, r0, 3 -/* 800381CC 0003512C 7C 09 03 A6 */ mtctr r0 -/* 800381D0 00035130 2C 03 00 00 */ cmpwi r3, 0 -/* 800381D4 00035134 40 81 00 0C */ ble lbl_800381E0 -lbl_800381D8: -/* 800381D8 00035138 38 C6 00 08 */ addi r6, r6, 8 -/* 800381DC 0003513C 42 00 FF FC */ bdnz lbl_800381D8 -lbl_800381E0: -/* 800381E0 00035140 7C 06 38 50 */ subf r0, r6, r7 -/* 800381E4 00035144 7C 09 03 A6 */ mtctr r0 -/* 800381E8 00035148 7C 06 38 00 */ cmpw r6, r7 -/* 800381EC 0003514C 40 80 00 08 */ bge lbl_800381F4 -lbl_800381F0: -/* 800381F0 00035150 42 00 00 00 */ bdnz lbl_800381F0 -lbl_800381F4: -/* 800381F4 00035154 38 00 00 00 */ li r0, 0 -/* 800381F8 00035158 90 01 00 C0 */ stw r0, 0xc0(r1) -lbl_800381FC: -/* 800381FC 0003515C C0 21 00 90 */ lfs f1, 0x90(r1) -/* 80038200 00035160 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 80038204 00035164 D0 3F 00 00 */ stfs f1, 0(r31) -/* 80038208 00035168 C0 21 00 98 */ lfs f1, 0x98(r1) -/* 8003820C 0003516C D0 1F 00 04 */ stfs f0, 4(r31) -/* 80038210 00035170 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 80038214 00035174 D0 3F 00 08 */ stfs f1, 8(r31) -/* 80038218 00035178 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 8003821C 0003517C D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80038220 00035180 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 80038224 00035184 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 80038228 00035188 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 8003822C 0003518C D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80038230 00035190 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 80038234 00035194 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 80038238 00035198 88 01 00 B0 */ lbz r0, 0xb0(r1) -/* 8003823C 0003519C D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80038240 000351A0 80 61 00 BC */ lwz r3, 0xbc(r1) -/* 80038244 000351A4 98 1F 00 20 */ stb r0, 0x20(r31) -/* 80038248 000351A8 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8003824C 000351AC 90 7F 00 2C */ stw r3, 0x2c(r31) -/* 80038250 000351B0 90 1F 00 28 */ stw r0, 0x28(r31) -/* 80038254 000351B4 83 E1 08 DC */ lwz r31, 0x8dc(r1) -/* 80038258 000351B8 83 C1 08 D8 */ lwz r30, 0x8d8(r1) -/* 8003825C 000351BC 83 A1 08 D4 */ lwz r29, 0x8d4(r1) -/* 80038260 000351C0 83 81 08 D0 */ lwz r28, 0x8d0(r1) -/* 80038264 000351C4 80 01 08 E4 */ lwz r0, 0x8e4(r1) -/* 80038268 000351C8 7C 08 03 A6 */ mtlr r0 -/* 8003826C 000351CC 38 21 08 E0 */ addi r1, r1, 0x8e0 -/* 80038270 000351D0 4E 80 00 20 */ blr - -.global ApplyDamageToActors__15CGameProjectileFR13CStateManager -ApplyDamageToActors__15CGameProjectileFR13CStateManager: -/* 80038274 000351D4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80038278 000351D8 7C 08 02 A6 */ mflr r0 -/* 8003827C 000351DC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80038280 000351E0 BF 61 00 9C */ stmw r27, 0x9c(r1) -/* 80038284 000351E4 7C 7C 1B 78 */ mr r28, r3 -/* 80038288 000351E8 7C 9D 23 78 */ mr r29, r4 -/* 8003828C 000351EC 7C BE 2B 78 */ mr r30, r5 -/* 80038290 000351F0 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 80038294 000351F4 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 80038298 000351F8 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 8003829C 000351FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800382A0 00035200 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800382A4 00035204 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 800382A8 00035208 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 800382AC 0003520C A0 63 02 C6 */ lhz r3, 0x2c6(r3) -/* 800382B0 00035210 7C 03 00 40 */ cmplw r3, r0 -/* 800382B4 00035214 41 82 00 E4 */ beq lbl_80038398 -/* 800382B8 00035218 A0 1C 02 C6 */ lhz r0, 0x2c6(r28) -/* 800382BC 0003521C 7F A3 EB 78 */ mr r3, r29 -/* 800382C0 00035220 38 81 00 40 */ addi r4, r1, 0x40 -/* 800382C4 00035224 B0 01 00 40 */ sth r0, 0x40(r1) -/* 800382C8 00035228 48 01 42 AD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800382CC 0003522C 7C 64 1B 78 */ mr r4, r3 -/* 800382D0 00035230 38 61 00 4C */ addi r3, r1, 0x4c -/* 800382D4 00035234 48 07 79 BD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800382D8 00035238 83 E3 00 04 */ lwz r31, 4(r3) -/* 800382DC 0003523C 28 1F 00 00 */ cmplwi r31, 0 -/* 800382E0 00035240 41 82 00 B0 */ beq lbl_80038390 -/* 800382E4 00035244 80 1C 00 F8 */ lwz r0, 0xf8(r28) -/* 800382E8 00035248 7F A3 EB 78 */ mr r3, r29 -/* 800382EC 0003524C 80 DC 00 FC */ lwz r6, 0xfc(r28) -/* 800382F0 00035250 7F C7 F3 78 */ mr r7, r30 -/* 800382F4 00035254 38 81 00 3C */ addi r4, r1, 0x3c -/* 800382F8 00035258 38 A1 00 34 */ addi r5, r1, 0x34 -/* 800382FC 0003525C 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 80038300 00035260 38 C1 00 2C */ addi r6, r1, 0x2c -/* 80038304 00035264 39 01 00 78 */ addi r8, r1, 0x78 -/* 80038308 00035268 39 21 00 54 */ addi r9, r1, 0x54 -/* 8003830C 0003526C 90 01 00 78 */ stw r0, 0x78(r1) -/* 80038310 00035270 80 1C 01 00 */ lwz r0, 0x100(r28) -/* 80038314 00035274 81 5C 01 04 */ lwz r10, 0x104(r28) -/* 80038318 00035278 91 41 00 84 */ stw r10, 0x84(r1) -/* 8003831C 0003527C 90 01 00 80 */ stw r0, 0x80(r1) -/* 80038320 00035280 80 1C 01 08 */ lwz r0, 0x108(r28) -/* 80038324 00035284 90 01 00 88 */ stw r0, 0x88(r1) -/* 80038328 00035288 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 8003832C 0003528C B0 01 00 2C */ sth r0, 0x2c(r1) -/* 80038330 00035290 A1 5F 00 08 */ lhz r10, 8(r31) -/* 80038334 00035294 B0 01 00 28 */ sth r0, 0x28(r1) -/* 80038338 00035298 B1 41 00 34 */ sth r10, 0x34(r1) -/* 8003833C 0003529C A0 1C 00 08 */ lhz r0, 8(r28) -/* 80038340 000352A0 B1 41 00 30 */ sth r10, 0x30(r1) -/* 80038344 000352A4 B0 01 00 38 */ sth r0, 0x38(r1) -/* 80038348 000352A8 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 8003834C 000352AC 48 01 1D 55 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80038350 000352B0 80 1C 00 E8 */ lwz r0, 0xe8(r28) -/* 80038354 000352B4 54 03 04 20 */ rlwinm r3, r0, 0, 0x10, 0x10 -/* 80038358 000352B8 3C 03 00 00 */ addis r0, r3, 0 -/* 8003835C 000352BC 28 00 80 00 */ cmplwi r0, 0x8000 -/* 80038360 000352C0 40 82 00 30 */ bne lbl_80038390 -/* 80038364 000352C4 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80038368 000352C8 A0 9F 00 08 */ lhz r4, 8(r31) -/* 8003836C 000352CC A0 03 00 08 */ lhz r0, 8(r3) -/* 80038370 000352D0 7C 04 00 40 */ cmplw r4, r0 -/* 80038374 000352D4 40 82 00 1C */ bne lbl_80038390 -/* 80038378 000352D8 4B FD D9 85 */ bl GetFrozenState__7CPlayerCFv -/* 8003837C 000352DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80038380 000352E0 41 82 00 10 */ beq lbl_80038390 -/* 80038384 000352E4 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80038388 000352E8 7F A4 EB 78 */ mr r4, r29 -/* 8003838C 000352EC 4B FD D6 A1 */ bl UnFreeze__7CPlayerFR13CStateManager -lbl_80038390: -/* 80038390 000352F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80038394 000352F4 B0 1C 02 C6 */ sth r0, 0x2c6(r28) -lbl_80038398: -/* 80038398 000352F8 83 FC 02 DC */ lwz r31, 0x2dc(r28) -/* 8003839C 000352FC 48 00 00 E4 */ b lbl_80038480 -lbl_800383A0: -/* 800383A0 00035300 A0 1F 00 00 */ lhz r0, 0(r31) -/* 800383A4 00035304 7F A3 EB 78 */ mr r3, r29 -/* 800383A8 00035308 38 81 00 24 */ addi r4, r1, 0x24 -/* 800383AC 0003530C B0 01 00 20 */ sth r0, 0x20(r1) -/* 800383B0 00035310 B0 01 00 24 */ sth r0, 0x24(r1) -/* 800383B4 00035314 48 01 41 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800383B8 00035318 7C 64 1B 78 */ mr r4, r3 -/* 800383BC 0003531C 38 61 00 44 */ addi r3, r1, 0x44 -/* 800383C0 00035320 48 07 78 D1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800383C4 00035324 83 63 00 04 */ lwz r27, 4(r3) -/* 800383C8 00035328 28 1B 00 00 */ cmplwi r27, 0 -/* 800383CC 0003532C 41 82 00 B0 */ beq lbl_8003847C -/* 800383D0 00035330 80 1C 00 F8 */ lwz r0, 0xf8(r28) -/* 800383D4 00035334 7F A3 EB 78 */ mr r3, r29 -/* 800383D8 00035338 80 DC 00 FC */ lwz r6, 0xfc(r28) -/* 800383DC 0003533C 7F C7 F3 78 */ mr r7, r30 -/* 800383E0 00035340 38 81 00 1C */ addi r4, r1, 0x1c -/* 800383E4 00035344 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800383E8 00035348 90 C1 00 64 */ stw r6, 0x64(r1) -/* 800383EC 0003534C 38 C1 00 0C */ addi r6, r1, 0xc -/* 800383F0 00035350 39 01 00 60 */ addi r8, r1, 0x60 -/* 800383F4 00035354 39 21 00 54 */ addi r9, r1, 0x54 -/* 800383F8 00035358 90 01 00 60 */ stw r0, 0x60(r1) -/* 800383FC 0003535C 80 1C 01 00 */ lwz r0, 0x100(r28) -/* 80038400 00035360 81 5C 01 04 */ lwz r10, 0x104(r28) -/* 80038404 00035364 91 41 00 6C */ stw r10, 0x6c(r1) -/* 80038408 00035368 90 01 00 68 */ stw r0, 0x68(r1) -/* 8003840C 0003536C 80 1C 01 08 */ lwz r0, 0x108(r28) -/* 80038410 00035370 90 01 00 70 */ stw r0, 0x70(r1) -/* 80038414 00035374 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 80038418 00035378 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8003841C 0003537C A1 5B 00 08 */ lhz r10, 8(r27) -/* 80038420 00035380 B0 01 00 08 */ sth r0, 8(r1) -/* 80038424 00035384 B1 41 00 14 */ sth r10, 0x14(r1) -/* 80038428 00035388 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8003842C 0003538C B1 41 00 10 */ sth r10, 0x10(r1) -/* 80038430 00035390 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80038434 00035394 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80038438 00035398 48 01 1C 69 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 8003843C 0003539C 80 1C 00 E8 */ lwz r0, 0xe8(r28) -/* 80038440 000353A0 54 03 04 20 */ rlwinm r3, r0, 0, 0x10, 0x10 -/* 80038444 000353A4 3C 03 00 00 */ addis r0, r3, 0 -/* 80038448 000353A8 28 00 80 00 */ cmplwi r0, 0x8000 -/* 8003844C 000353AC 40 82 00 30 */ bne lbl_8003847C -/* 80038450 000353B0 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80038454 000353B4 A0 9B 00 08 */ lhz r4, 8(r27) -/* 80038458 000353B8 A0 03 00 08 */ lhz r0, 8(r3) -/* 8003845C 000353BC 7C 04 00 40 */ cmplw r4, r0 -/* 80038460 000353C0 40 82 00 1C */ bne lbl_8003847C -/* 80038464 000353C4 4B FD D8 99 */ bl GetFrozenState__7CPlayerCFv -/* 80038468 000353C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003846C 000353CC 41 82 00 10 */ beq lbl_8003847C -/* 80038470 000353D0 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80038474 000353D4 7F A4 EB 78 */ mr r4, r29 -/* 80038478 000353D8 4B FD D5 B5 */ bl UnFreeze__7CPlayerFR13CStateManager -lbl_8003847C: -/* 8003847C 000353DC 3B FF 00 38 */ addi r31, r31, 0x38 -lbl_80038480: -/* 80038480 000353E0 80 1C 02 D4 */ lwz r0, 0x2d4(r28) -/* 80038484 000353E4 80 7C 02 DC */ lwz r3, 0x2dc(r28) -/* 80038488 000353E8 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8003848C 000353EC 7C 03 02 14 */ add r0, r3, r0 -/* 80038490 000353F0 7C 1F 00 40 */ cmplw r31, r0 -/* 80038494 000353F4 40 82 FF 0C */ bne lbl_800383A0 -/* 80038498 000353F8 38 7C 02 D0 */ addi r3, r28, 0x2d0 -/* 8003849C 000353FC 48 00 00 19 */ bl "clear__Q24rstl59vector<22CProjectileTouchResult,Q24rstl17rmemory_allocator>Fv" -/* 800384A0 00035400 BB 61 00 9C */ lmw r27, 0x9c(r1) -/* 800384A4 00035404 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 800384A8 00035408 7C 08 03 A6 */ mtlr r0 -/* 800384AC 0003540C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 800384B0 00035410 4E 80 00 20 */ blr - -.global "clear__Q24rstl59vector<22CProjectileTouchResult,Q24rstl17rmemory_allocator>Fv" -"clear__Q24rstl59vector<22CProjectileTouchResult,Q24rstl17rmemory_allocator>Fv": -/* 800384B4 00035414 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800384B8 00035418 38 00 00 00 */ li r0, 0 -/* 800384BC 0003541C 80 83 00 04 */ lwz r4, 4(r3) -/* 800384C0 00035420 80 C3 00 0C */ lwz r6, 0xc(r3) -/* 800384C4 00035424 1C 84 00 38 */ mulli r4, r4, 0x38 -/* 800384C8 00035428 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800384CC 0003542C 7C A6 22 14 */ add r5, r6, r4 -/* 800384D0 00035430 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800384D4 00035434 90 A1 00 08 */ stw r5, 8(r1) -/* 800384D8 00035438 90 A1 00 0C */ stw r5, 0xc(r1) -/* 800384DC 0003543C 48 00 00 1C */ b lbl_800384F8 -lbl_800384E0: -/* 800384E0 00035440 28 06 00 00 */ cmplwi r6, 0 -/* 800384E4 00035444 41 82 00 10 */ beq lbl_800384F4 -/* 800384E8 00035448 34 86 00 04 */ addic. r4, r6, 4 -/* 800384EC 0003544C 41 82 00 08 */ beq lbl_800384F4 -/* 800384F0 00035450 98 06 00 34 */ stb r0, 0x34(r6) -lbl_800384F4: -/* 800384F4 00035454 38 C6 00 38 */ addi r6, r6, 0x38 -lbl_800384F8: -/* 800384F8 00035458 7C 06 28 40 */ cmplw r6, r5 -/* 800384FC 0003545C 40 82 FF E4 */ bne lbl_800384E0 -/* 80038500 00035460 38 00 00 00 */ li r0, 0 -/* 80038504 00035464 90 03 00 04 */ stw r0, 4(r3) -/* 80038508 00035468 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003850C 0003546C 4E 80 00 20 */ blr - -.global FluidFXThink__15CGameProjectileFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager -FluidFXThink__15CGameProjectileFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: -/* 80038510 00035470 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80038514 00035474 7C 08 02 A6 */ mflr r0 -/* 80038518 00035478 90 01 00 34 */ stw r0, 0x34(r1) -/* 8003851C 0003547C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80038520 00035480 7C 7B 1B 78 */ mr r27, r3 -/* 80038524 00035484 7C 9C 23 78 */ mr r28, r4 -/* 80038528 00035488 7C BD 2B 78 */ mr r29, r5 -/* 8003852C 0003548C 7C DE 33 78 */ mr r30, r6 -/* 80038530 00035490 38 61 00 08 */ addi r3, r1, 8 -/* 80038534 00035494 38 9B 01 70 */ addi r4, r27, 0x170 -/* 80038538 00035498 48 00 00 49 */ bl GetWeaponDescription__17CProjectileWeaponCFv -/* 8003853C 0003549C 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80038540 000354A0 38 61 00 08 */ addi r3, r1, 8 -/* 80038544 000354A4 38 80 00 00 */ li r4, 0 -/* 80038548 000354A8 8B E5 00 A6 */ lbz r31, 0xa6(r5) -/* 8003854C 000354AC 48 30 88 F5 */ bl __dt__6CTokenFv -/* 80038550 000354B0 28 1F 00 00 */ cmplwi r31, 0 -/* 80038554 000354B4 41 82 00 18 */ beq lbl_8003856C -/* 80038558 000354B8 7F 63 DB 78 */ mr r3, r27 -/* 8003855C 000354BC 7F 84 E3 78 */ mr r4, r28 -/* 80038560 000354C0 7F A5 EB 78 */ mr r5, r29 -/* 80038564 000354C4 7F C6 F3 78 */ mr r6, r30 -/* 80038568 000354C8 48 0C 99 A5 */ bl FluidFXThink__7CWeaponFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager -lbl_8003856C: -/* 8003856C 000354CC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80038570 000354D0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80038574 000354D4 7C 08 03 A6 */ mtlr r0 -/* 80038578 000354D8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8003857C 000354DC 4E 80 00 20 */ blr - -.global GetWeaponDescription__17CProjectileWeaponCFv -GetWeaponDescription__17CProjectileWeaponCFv: -/* 80038580 000354E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80038584 000354E4 7C 08 02 A6 */ mflr r0 -/* 80038588 000354E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003858C 000354EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80038590 000354F0 7C 9F 23 78 */ mr r31, r4 -/* 80038594 000354F4 38 9F 00 04 */ addi r4, r31, 4 -/* 80038598 000354F8 93 C1 00 08 */ stw r30, 8(r1) -/* 8003859C 000354FC 7C 7E 1B 78 */ mr r30, r3 -/* 800385A0 00035500 48 30 89 09 */ bl __ct__6CTokenFRC6CToken -/* 800385A4 00035504 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 800385A8 00035508 7F C3 F3 78 */ mr r3, r30 -/* 800385AC 0003550C 90 1E 00 08 */ stw r0, 8(r30) -/* 800385B0 00035510 48 30 87 D5 */ bl Lock__6CTokenFv -/* 800385B4 00035514 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800385B8 00035518 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800385BC 0003551C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800385C0 00035520 7C 08 03 A6 */ mtlr r0 -/* 800385C4 00035524 38 21 00 10 */ addi r1, r1, 0x10 -/* 800385C8 00035528 4E 80 00 20 */ blr - -.global AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800385CC 0003552C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800385D0 00035530 7C 08 02 A6 */ mflr r0 -/* 800385D4 00035534 2C 04 00 25 */ cmpwi r4, 0x25 -/* 800385D8 00035538 90 01 00 14 */ stw r0, 0x14(r1) -/* 800385DC 0003553C 41 82 00 30 */ beq lbl_8003860C -/* 800385E0 00035540 40 80 00 10 */ bge lbl_800385F0 -/* 800385E4 00035544 2C 04 00 22 */ cmpwi r4, 0x22 -/* 800385E8 00035548 41 82 00 18 */ beq lbl_80038600 -/* 800385EC 0003554C 48 00 00 8C */ b lbl_80038678 -lbl_800385F0: -/* 800385F0 00035550 2C 04 00 27 */ cmpwi r4, 0x27 -/* 800385F4 00035554 41 82 00 60 */ beq lbl_80038654 -/* 800385F8 00035558 40 80 00 80 */ bge lbl_80038678 -/* 800385FC 0003555C 48 00 00 3C */ b lbl_80038638 -lbl_80038600: -/* 80038600 00035560 7C C4 33 78 */ mr r4, r6 -/* 80038604 00035564 4B FF F2 A5 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager -/* 80038608 00035568 48 00 00 70 */ b lbl_80038678 -lbl_8003860C: -/* 8003860C 0003556C 88 A3 02 E4 */ lbz r5, 0x2e4(r3) -/* 80038610 00035570 54 A0 E7 FE */ rlwinm r0, r5, 0x1c, 0x1f, 0x1f -/* 80038614 00035574 28 00 00 01 */ cmplwi r0, 1 -/* 80038618 00035578 41 82 00 60 */ beq lbl_80038678 -/* 8003861C 0003557C 38 80 00 01 */ li r4, 1 -/* 80038620 00035580 50 85 26 F6 */ rlwimi r5, r4, 4, 0x1b, 0x1b -/* 80038624 00035584 98 A3 02 E4 */ stb r5, 0x2e4(r3) -/* 80038628 00035588 88 03 02 E4 */ lbz r0, 0x2e4(r3) -/* 8003862C 0003558C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80038630 00035590 98 03 02 E4 */ stb r0, 0x2e4(r3) -/* 80038634 00035594 48 00 00 44 */ b lbl_80038678 -lbl_80038638: -/* 80038638 00035598 88 83 02 E4 */ lbz r4, 0x2e4(r3) -/* 8003863C 0003559C 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 80038640 000355A0 40 82 00 38 */ bne lbl_80038678 -/* 80038644 000355A4 38 00 00 01 */ li r0, 1 -/* 80038648 000355A8 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a -/* 8003864C 000355AC 98 83 02 E4 */ stb r4, 0x2e4(r3) -/* 80038650 000355B0 48 00 00 28 */ b lbl_80038678 -lbl_80038654: -/* 80038654 000355B4 88 A3 02 E4 */ lbz r5, 0x2e4(r3) -/* 80038658 000355B8 54 A0 DF FF */ rlwinm. r0, r5, 0x1b, 0x1f, 0x1f -/* 8003865C 000355BC 41 82 00 1C */ beq lbl_80038678 -/* 80038660 000355C0 38 80 00 00 */ li r4, 0 -/* 80038664 000355C4 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a -/* 80038668 000355C8 98 A3 02 E4 */ stb r5, 0x2e4(r3) -/* 8003866C 000355CC 88 03 02 E4 */ lbz r0, 0x2e4(r3) -/* 80038670 000355D0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80038674 000355D4 98 03 02 E4 */ stb r0, 0x2e4(r3) -lbl_80038678: -/* 80038678 000355D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003867C 000355DC 7C 08 03 A6 */ mtlr r0 -/* 80038680 000355E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80038684 000355E4 4E 80 00 20 */ blr - -.global Accept__15CGameProjectileFR8IVisitor -Accept__15CGameProjectileFR8IVisitor: -/* 80038688 000355E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003868C 000355EC 7C 08 02 A6 */ mflr r0 -/* 80038690 000355F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80038694 000355F4 7C 60 1B 78 */ mr r0, r3 -/* 80038698 000355F8 7C 83 23 78 */ mr r3, r4 -/* 8003869C 000355FC 81 84 00 00 */ lwz r12, 0(r4) -/* 800386A0 00035600 7C 04 03 78 */ mr r4, r0 -/* 800386A4 00035604 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 800386A8 00035608 7D 89 03 A6 */ mtctr r12 -/* 800386AC 0003560C 4E 80 04 21 */ bctrl -/* 800386B0 00035610 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800386B4 00035614 7C 08 03 A6 */ mtlr r0 -/* 800386B8 00035618 38 21 00 10 */ addi r1, r1, 0x10 -/* 800386BC 0003561C 4E 80 00 20 */ blr - -.global "RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager" -"RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager": -/* 800386C0 00035620 94 21 FC 50 */ stwu r1, -0x3b0(r1) -/* 800386C4 00035624 7C 08 02 A6 */ mflr r0 -/* 800386C8 00035628 90 01 03 B4 */ stw r0, 0x3b4(r1) -/* 800386CC 0003562C DB E1 03 A0 */ stfd f31, 0x3a0(r1) -/* 800386D0 00035630 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 -/* 800386D4 00035634 DB C1 03 90 */ stfd f30, 0x390(r1) -/* 800386D8 00035638 F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 -/* 800386DC 0003563C BE 81 03 60 */ stmw r20, 0x360(r1) -/* 800386E0 00035640 FF C0 08 90 */ fmr f30, f1 -/* 800386E4 00035644 7C 95 23 78 */ mr r21, r4 -/* 800386E8 00035648 7C 74 1B 78 */ mr r20, r3 -/* 800386EC 0003564C 7C B6 2B 78 */ mr r22, r5 -/* 800386F0 00035650 7C D7 33 78 */ mr r23, r6 -/* 800386F4 00035654 7C FA 3B 78 */ mr r26, r7 -/* 800386F8 00035658 7D 18 43 78 */ mr r24, r8 -/* 800386FC 0003565C 7D 39 4B 78 */ mr r25, r9 -/* 80038700 00035660 38 75 02 D0 */ addi r3, r21, 0x2d0 -/* 80038704 00035664 4B FF FD B1 */ bl "clear__Q24rstl59vector<22CProjectileTouchResult,Q24rstl17rmemory_allocator>Fv" -/* 80038708 00035668 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003870C 0003566C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80038710 00035670 C0 22 84 10 */ lfs f1, lbl_805AA130@sda21(r2) -/* 80038714 00035674 B0 16 00 00 */ sth r0, 0(r22) -/* 80038718 00035678 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) -/* 8003871C 0003567C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80038720 00035680 B0 15 02 C6 */ sth r0, 0x2c6(r21) -/* 80038724 00035684 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80038728 00035688 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8003872C 0003568C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80038730 00035690 48 2D C1 C9 */ bl Normalize__9CVector3fFv -/* 80038734 00035694 C0 5A 00 04 */ lfs f2, 4(r26) -/* 80038738 00035698 38 00 00 00 */ li r0, 0 -/* 8003873C 0003569C C0 17 00 04 */ lfs f0, 4(r23) -/* 80038740 000356A0 38 61 00 58 */ addi r3, r1, 0x58 -/* 80038744 000356A4 C0 3A 00 08 */ lfs f1, 8(r26) -/* 80038748 000356A8 C0 A2 84 14 */ lfs f5, lbl_805AA134@sda21(r2) -/* 8003874C 000356AC EC E2 00 28 */ fsubs f7, f2, f0 -/* 80038750 000356B0 C0 17 00 08 */ lfs f0, 8(r23) -/* 80038754 000356B4 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 80038758 000356B8 EC C1 00 28 */ fsubs f6, f1, f0 -/* 8003875C 000356BC C0 61 00 20 */ lfs f3, 0x20(r1) -/* 80038760 000356C0 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 80038764 000356C4 C0 3A 00 00 */ lfs f1, 0(r26) -/* 80038768 000356C8 C0 17 00 00 */ lfs f0, 0(r23) -/* 8003876C 000356CC D0 A1 02 B8 */ stfs f5, 0x2b8(r1) -/* 80038770 000356D0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80038774 000356D4 D0 A1 02 BC */ stfs f5, 0x2bc(r1) -/* 80038778 000356D8 D0 A1 02 C0 */ stfs f5, 0x2c0(r1) -/* 8003877C 000356DC D0 A1 02 C4 */ stfs f5, 0x2c4(r1) -/* 80038780 000356E0 D0 81 02 C8 */ stfs f4, 0x2c8(r1) -/* 80038784 000356E4 D0 61 02 CC */ stfs f3, 0x2cc(r1) -/* 80038788 000356E8 D0 41 02 D0 */ stfs f2, 0x2d0(r1) -/* 8003878C 000356EC D0 A1 02 D4 */ stfs f5, 0x2d4(r1) -/* 80038790 000356F0 98 01 02 D8 */ stb r0, 0x2d8(r1) -/* 80038794 000356F4 90 01 02 E4 */ stw r0, 0x2e4(r1) -/* 80038798 000356F8 90 01 02 E0 */ stw r0, 0x2e0(r1) -/* 8003879C 000356FC D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800387A0 00035700 D0 E1 00 5C */ stfs f7, 0x5c(r1) -/* 800387A4 00035704 D0 C1 00 60 */ stfs f6, 0x60(r1) -/* 800387A8 00035708 48 2D BF 51 */ bl CanBeNormalized__9CVector3fCFv -/* 800387AC 0003570C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800387B0 00035710 40 82 00 60 */ bne lbl_80038810 -/* 800387B4 00035714 C0 21 02 B8 */ lfs f1, 0x2b8(r1) -/* 800387B8 00035718 C0 01 02 BC */ lfs f0, 0x2bc(r1) -/* 800387BC 0003571C D0 34 00 00 */ stfs f1, 0(r20) -/* 800387C0 00035720 C0 21 02 C0 */ lfs f1, 0x2c0(r1) -/* 800387C4 00035724 D0 14 00 04 */ stfs f0, 4(r20) -/* 800387C8 00035728 C0 01 02 C4 */ lfs f0, 0x2c4(r1) -/* 800387CC 0003572C D0 34 00 08 */ stfs f1, 8(r20) -/* 800387D0 00035730 C0 21 02 C8 */ lfs f1, 0x2c8(r1) -/* 800387D4 00035734 D0 14 00 0C */ stfs f0, 0xc(r20) -/* 800387D8 00035738 C0 01 02 CC */ lfs f0, 0x2cc(r1) -/* 800387DC 0003573C D0 34 00 10 */ stfs f1, 0x10(r20) -/* 800387E0 00035740 C0 21 02 D0 */ lfs f1, 0x2d0(r1) -/* 800387E4 00035744 D0 14 00 14 */ stfs f0, 0x14(r20) -/* 800387E8 00035748 C0 01 02 D4 */ lfs f0, 0x2d4(r1) -/* 800387EC 0003574C D0 34 00 18 */ stfs f1, 0x18(r20) -/* 800387F0 00035750 88 01 02 D8 */ lbz r0, 0x2d8(r1) -/* 800387F4 00035754 D0 14 00 1C */ stfs f0, 0x1c(r20) -/* 800387F8 00035758 80 61 02 E4 */ lwz r3, 0x2e4(r1) -/* 800387FC 0003575C 98 14 00 20 */ stb r0, 0x20(r20) -/* 80038800 00035760 80 01 02 E0 */ lwz r0, 0x2e0(r1) -/* 80038804 00035764 90 74 00 2C */ stw r3, 0x2c(r20) -/* 80038808 00035768 90 14 00 28 */ stw r0, 0x28(r20) -/* 8003880C 0003576C 48 00 08 44 */ b lbl_80039050 -lbl_80038810: -/* 80038810 00035770 38 61 00 40 */ addi r3, r1, 0x40 -/* 80038814 00035774 38 81 00 58 */ addi r4, r1, 0x58 -/* 80038818 00035778 48 2D C0 39 */ bl AsNormalized__9CVector3fCFv -/* 8003881C 0003577C C0 61 00 40 */ lfs f3, 0x40(r1) -/* 80038820 00035780 FF E0 F0 90 */ fmr f31, f30 -/* 80038824 00035784 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80038828 00035788 FC 20 F0 90 */ fmr f1, f30 -/* 8003882C 0003578C C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80038830 00035790 7F 24 CB 78 */ mr r4, r25 -/* 80038834 00035794 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 80038838 00035798 7E E5 BB 78 */ mr r5, r23 -/* 8003883C 0003579C 38 61 01 C8 */ addi r3, r1, 0x1c8 -/* 80038840 000357A0 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80038844 000357A4 38 C1 00 4C */ addi r6, r1, 0x4c -/* 80038848 000357A8 38 E1 00 D0 */ addi r7, r1, 0xd0 -/* 8003884C 000357AC D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80038850 000357B0 80 15 00 F8 */ lwz r0, 0xf8(r21) -/* 80038854 000357B4 81 15 00 FC */ lwz r8, 0xfc(r21) -/* 80038858 000357B8 91 01 00 D4 */ stw r8, 0xd4(r1) -/* 8003885C 000357BC 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 80038860 000357C0 80 15 01 00 */ lwz r0, 0x100(r21) -/* 80038864 000357C4 81 15 01 04 */ lwz r8, 0x104(r21) -/* 80038868 000357C8 91 01 00 DC */ stw r8, 0xdc(r1) -/* 8003886C 000357CC 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 80038870 000357D0 80 15 01 08 */ lwz r0, 0x108(r21) -/* 80038874 000357D4 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 80038878 000357D8 48 01 47 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8003887C 000357DC 88 A1 01 E8 */ lbz r5, 0x1e8(r1) -/* 80038880 000357E0 C0 E1 01 C8 */ lfs f7, 0x1c8(r1) -/* 80038884 000357E4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80038888 000357E8 C0 C1 01 CC */ lfs f6, 0x1cc(r1) -/* 8003888C 000357EC C0 A1 01 D0 */ lfs f5, 0x1d0(r1) -/* 80038890 000357F0 C0 01 01 D4 */ lfs f0, 0x1d4(r1) -/* 80038894 000357F4 C0 81 01 D8 */ lfs f4, 0x1d8(r1) -/* 80038898 000357F8 C0 61 01 DC */ lfs f3, 0x1dc(r1) -/* 8003889C 000357FC C0 41 01 E0 */ lfs f2, 0x1e0(r1) -/* 800388A0 00035800 C0 21 01 E4 */ lfs f1, 0x1e4(r1) -/* 800388A4 00035804 80 01 01 F0 */ lwz r0, 0x1f0(r1) -/* 800388A8 00035808 80 61 01 F4 */ lwz r3, 0x1f4(r1) -/* 800388AC 0003580C D0 E1 02 88 */ stfs f7, 0x288(r1) -/* 800388B0 00035810 D0 C1 02 8C */ stfs f6, 0x28c(r1) -/* 800388B4 00035814 D0 A1 02 90 */ stfs f5, 0x290(r1) -/* 800388B8 00035818 D0 01 02 94 */ stfs f0, 0x294(r1) -/* 800388BC 0003581C D0 81 02 98 */ stfs f4, 0x298(r1) -/* 800388C0 00035820 D0 61 02 9C */ stfs f3, 0x29c(r1) -/* 800388C4 00035824 D0 41 02 A0 */ stfs f2, 0x2a0(r1) -/* 800388C8 00035828 D0 21 02 A4 */ stfs f1, 0x2a4(r1) -/* 800388CC 0003582C 98 A1 02 A8 */ stb r5, 0x2a8(r1) -/* 800388D0 00035830 90 61 02 B4 */ stw r3, 0x2b4(r1) -/* 800388D4 00035834 90 01 02 B0 */ stw r0, 0x2b0(r1) -/* 800388D8 00035838 41 82 00 40 */ beq lbl_80038918 -/* 800388DC 0003583C 80 81 02 8C */ lwz r4, 0x28c(r1) -/* 800388E0 00035840 FF E0 38 90 */ fmr f31, f7 -/* 800388E4 00035844 80 61 02 90 */ lwz r3, 0x290(r1) -/* 800388E8 00035848 80 01 02 94 */ lwz r0, 0x294(r1) -/* 800388EC 0003584C C8 01 02 B0 */ lfd f0, 0x2b0(r1) -/* 800388F0 00035850 D0 E1 02 B8 */ stfs f7, 0x2b8(r1) -/* 800388F4 00035854 90 81 02 BC */ stw r4, 0x2bc(r1) -/* 800388F8 00035858 90 61 02 C0 */ stw r3, 0x2c0(r1) -/* 800388FC 0003585C 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 80038900 00035860 D0 81 02 C8 */ stfs f4, 0x2c8(r1) -/* 80038904 00035864 D0 61 02 CC */ stfs f3, 0x2cc(r1) -/* 80038908 00035868 D0 41 02 D0 */ stfs f2, 0x2d0(r1) -/* 8003890C 0003586C D0 21 02 D4 */ stfs f1, 0x2d4(r1) -/* 80038910 00035870 98 A1 02 D8 */ stb r5, 0x2d8(r1) -/* 80038914 00035874 D8 01 02 E0 */ stfd f0, 0x2e0(r1) -lbl_80038918: -/* 80038918 00035878 3B 98 00 04 */ addi r28, r24, 4 -/* 8003891C 0003587C 3B E1 01 94 */ addi r31, r1, 0x194 -/* 80038920 00035880 3B A1 02 54 */ addi r29, r1, 0x254 -/* 80038924 00035884 3B C1 03 24 */ addi r30, r1, 0x324 -/* 80038928 00035888 48 00 06 90 */ b lbl_80038FB8 -lbl_8003892C: -/* 8003892C 0003588C A0 1C 00 00 */ lhz r0, 0(r28) -/* 80038930 00035890 7F 23 CB 78 */ mr r3, r25 -/* 80038934 00035894 38 81 00 08 */ addi r4, r1, 8 -/* 80038938 00035898 B0 01 00 08 */ sth r0, 8(r1) -/* 8003893C 0003589C 48 01 3C 39 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80038940 000358A0 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80038944 000358A4 41 82 06 70 */ beq lbl_80038FB4 -/* 80038948 000358A8 7E A4 AB 78 */ mr r4, r21 -/* 8003894C 000358AC 7F 65 DB 78 */ mr r5, r27 -/* 80038950 000358B0 7F 26 CB 78 */ mr r6, r25 -/* 80038954 000358B4 38 61 01 90 */ addi r3, r1, 0x190 -/* 80038958 000358B8 48 00 07 1D */ bl CanCollideWith__15CGameProjectileFR6CActorR13CStateManager -/* 8003895C 000358BC 88 01 01 C4 */ lbz r0, 0x1c4(r1) -/* 80038960 000358C0 38 81 02 50 */ addi r4, r1, 0x250 -/* 80038964 000358C4 A0 61 01 90 */ lhz r3, 0x190(r1) -/* 80038968 000358C8 28 00 00 00 */ cmplwi r0, 0 -/* 8003896C 000358CC 98 01 02 84 */ stb r0, 0x284(r1) -/* 80038970 000358D0 B0 61 02 50 */ sth r3, 0x250(r1) -/* 80038974 000358D4 41 82 00 64 */ beq lbl_800389D8 -/* 80038978 000358D8 34 84 00 04 */ addic. r4, r4, 4 -/* 8003897C 000358DC 41 82 00 5C */ beq lbl_800389D8 -/* 80038980 000358E0 C0 01 01 94 */ lfs f0, 0x194(r1) -/* 80038984 000358E4 D0 04 00 00 */ stfs f0, 0(r4) -/* 80038988 000358E8 C0 01 01 98 */ lfs f0, 0x198(r1) -/* 8003898C 000358EC D0 04 00 04 */ stfs f0, 4(r4) -/* 80038990 000358F0 C0 01 01 9C */ lfs f0, 0x19c(r1) -/* 80038994 000358F4 D0 04 00 08 */ stfs f0, 8(r4) -/* 80038998 000358F8 C0 01 01 A0 */ lfs f0, 0x1a0(r1) -/* 8003899C 000358FC D0 04 00 0C */ stfs f0, 0xc(r4) -/* 800389A0 00035900 C0 01 01 A4 */ lfs f0, 0x1a4(r1) -/* 800389A4 00035904 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 800389A8 00035908 C0 01 01 A8 */ lfs f0, 0x1a8(r1) -/* 800389AC 0003590C D0 04 00 14 */ stfs f0, 0x14(r4) -/* 800389B0 00035910 C0 01 01 AC */ lfs f0, 0x1ac(r1) -/* 800389B4 00035914 D0 04 00 18 */ stfs f0, 0x18(r4) -/* 800389B8 00035918 C0 01 01 B0 */ lfs f0, 0x1b0(r1) -/* 800389BC 0003591C D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 800389C0 00035920 88 01 01 B4 */ lbz r0, 0x1b4(r1) -/* 800389C4 00035924 98 04 00 20 */ stb r0, 0x20(r4) -/* 800389C8 00035928 80 01 01 BC */ lwz r0, 0x1bc(r1) -/* 800389CC 0003592C 80 61 01 C0 */ lwz r3, 0x1c0(r1) -/* 800389D0 00035930 90 64 00 2C */ stw r3, 0x2c(r4) -/* 800389D4 00035934 90 04 00 28 */ stw r0, 0x28(r4) -lbl_800389D8: -/* 800389D8 00035938 28 1F 00 00 */ cmplwi r31, 0 -/* 800389DC 0003593C 41 82 00 0C */ beq lbl_800389E8 -/* 800389E0 00035940 38 00 00 00 */ li r0, 0 -/* 800389E4 00035944 98 01 01 C4 */ stb r0, 0x1c4(r1) -lbl_800389E8: -/* 800389E8 00035948 A0 61 02 50 */ lhz r3, 0x250(r1) -/* 800389EC 0003594C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800389F0 00035950 7C 03 00 40 */ cmplw r3, r0 -/* 800389F4 00035954 40 82 00 18 */ bne lbl_80038A0C -/* 800389F8 00035958 28 1D 00 00 */ cmplwi r29, 0 -/* 800389FC 0003595C 41 82 05 B8 */ beq lbl_80038FB4 -/* 80038A00 00035960 38 00 00 00 */ li r0, 0 -/* 80038A04 00035964 98 01 02 84 */ stb r0, 0x284(r1) -/* 80038A08 00035968 48 00 05 AC */ b lbl_80038FB4 -lbl_80038A0C: -/* 80038A0C 0003596C 88 01 02 84 */ lbz r0, 0x284(r1) -/* 80038A10 00035970 28 00 00 00 */ cmplwi r0, 0 -/* 80038A14 00035974 41 82 00 94 */ beq lbl_80038AA8 -/* 80038A18 00035978 C0 01 02 54 */ lfs f0, 0x254(r1) -/* 80038A1C 0003597C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80038A20 00035980 40 80 05 84 */ bge lbl_80038FA4 -/* 80038A24 00035984 7F 63 DB 78 */ mr r3, r27 -/* 80038A28 00035988 7E A4 AB 78 */ mr r4, r21 -/* 80038A2C 0003598C 81 9B 00 00 */ lwz r12, 0(r27) -/* 80038A30 00035990 7F 25 CB 78 */ mr r5, r25 -/* 80038A34 00035994 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80038A38 00035998 7D 89 03 A6 */ mtctr r12 -/* 80038A3C 0003599C 4E 80 04 21 */ bctrl -/* 80038A40 000359A0 C0 A1 02 54 */ lfs f5, 0x254(r1) -/* 80038A44 000359A4 80 C1 02 58 */ lwz r6, 0x258(r1) -/* 80038A48 000359A8 80 A1 02 5C */ lwz r5, 0x25c(r1) -/* 80038A4C 000359AC FF E0 28 90 */ fmr f31, f5 -/* 80038A50 000359B0 80 81 02 60 */ lwz r4, 0x260(r1) -/* 80038A54 000359B4 C0 81 02 64 */ lfs f4, 0x264(r1) -/* 80038A58 000359B8 C0 61 02 68 */ lfs f3, 0x268(r1) -/* 80038A5C 000359BC C0 41 02 6C */ lfs f2, 0x26c(r1) -/* 80038A60 000359C0 C0 21 02 70 */ lfs f1, 0x270(r1) -/* 80038A64 000359C4 88 61 02 74 */ lbz r3, 0x274(r1) -/* 80038A68 000359C8 C8 01 02 7C */ lfd f0, 0x27c(r1) -/* 80038A6C 000359CC A0 01 02 50 */ lhz r0, 0x250(r1) -/* 80038A70 000359D0 D0 A1 02 B8 */ stfs f5, 0x2b8(r1) -/* 80038A74 000359D4 B0 16 00 00 */ sth r0, 0(r22) -/* 80038A78 000359D8 A0 16 00 00 */ lhz r0, 0(r22) -/* 80038A7C 000359DC 90 C1 02 BC */ stw r6, 0x2bc(r1) -/* 80038A80 000359E0 90 A1 02 C0 */ stw r5, 0x2c0(r1) -/* 80038A84 000359E4 90 81 02 C4 */ stw r4, 0x2c4(r1) -/* 80038A88 000359E8 D0 81 02 C8 */ stfs f4, 0x2c8(r1) -/* 80038A8C 000359EC D0 61 02 CC */ stfs f3, 0x2cc(r1) -/* 80038A90 000359F0 D0 41 02 D0 */ stfs f2, 0x2d0(r1) -/* 80038A94 000359F4 D0 21 02 D4 */ stfs f1, 0x2d4(r1) -/* 80038A98 000359F8 98 61 02 D8 */ stb r3, 0x2d8(r1) -/* 80038A9C 000359FC D8 01 02 E0 */ stfd f0, 0x2e0(r1) -/* 80038AA0 00035A00 B0 15 02 C6 */ sth r0, 0x2c6(r21) -/* 80038AA4 00035A04 48 00 05 00 */ b lbl_80038FA4 -lbl_80038AA8: -/* 80038AA8 00035A08 7F 64 DB 78 */ mr r4, r27 -/* 80038AAC 00035A0C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80038AB0 00035A10 81 9B 00 00 */ lwz r12, 0(r27) -/* 80038AB4 00035A14 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80038AB8 00035A18 7D 89 03 A6 */ mtctr r12 -/* 80038ABC 00035A1C 4E 80 04 21 */ bctrl -/* 80038AC0 00035A20 88 01 00 C8 */ lbz r0, 0xc8(r1) -/* 80038AC4 00035A24 28 00 00 00 */ cmplwi r0, 0 -/* 80038AC8 00035A28 98 01 01 00 */ stb r0, 0x100(r1) -/* 80038ACC 00035A2C 41 82 00 3C */ beq lbl_80038B08 -/* 80038AD0 00035A30 34 61 00 E8 */ addic. r3, r1, 0xe8 -/* 80038AD4 00035A34 41 82 00 34 */ beq lbl_80038B08 -/* 80038AD8 00035A38 C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 80038ADC 00035A3C D0 03 00 00 */ stfs f0, 0(r3) -/* 80038AE0 00035A40 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80038AE4 00035A44 D0 03 00 04 */ stfs f0, 4(r3) -/* 80038AE8 00035A48 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 80038AEC 00035A4C D0 03 00 08 */ stfs f0, 8(r3) -/* 80038AF0 00035A50 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 80038AF4 00035A54 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80038AF8 00035A58 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 80038AFC 00035A5C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80038B00 00035A60 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 80038B04 00035A64 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80038B08: -/* 80038B08 00035A68 38 00 00 00 */ li r0, 0 -/* 80038B0C 00035A6C 7F 64 DB 78 */ mr r4, r27 -/* 80038B10 00035A70 98 01 00 C8 */ stb r0, 0xc8(r1) -/* 80038B14 00035A74 38 61 00 14 */ addi r3, r1, 0x14 -/* 80038B18 00035A78 48 07 15 D9 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 80038B1C 00035A7C 80 83 00 04 */ lwz r4, 4(r3) -/* 80038B20 00035A80 3B 40 00 00 */ li r26, 0 -/* 80038B24 00035A84 28 04 00 00 */ cmplwi r4, 0 -/* 80038B28 00035A88 41 82 00 C0 */ beq lbl_80038BE8 -/* 80038B2C 00035A8C 38 61 00 94 */ addi r3, r1, 0x94 -/* 80038B30 00035A90 48 04 65 59 */ bl GetProjectileBounds__11CScriptDoorCFv -/* 80038B34 00035A94 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80038B38 00035A98 38 01 00 94 */ addi r0, r1, 0x94 -/* 80038B3C 00035A9C 7C 03 00 40 */ cmplw r3, r0 -/* 80038B40 00035AA0 41 82 00 9C */ beq lbl_80038BDC -/* 80038B44 00035AA4 88 01 00 AC */ lbz r0, 0xac(r1) -/* 80038B48 00035AA8 28 00 00 00 */ cmplwi r0, 0 -/* 80038B4C 00035AAC 41 82 00 88 */ beq lbl_80038BD4 -/* 80038B50 00035AB0 88 01 01 00 */ lbz r0, 0x100(r1) -/* 80038B54 00035AB4 28 00 00 00 */ cmplwi r0, 0 -/* 80038B58 00035AB8 40 82 00 48 */ bne lbl_80038BA0 -/* 80038B5C 00035ABC 34 61 00 E8 */ addic. r3, r1, 0xe8 -/* 80038B60 00035AC0 41 82 00 34 */ beq lbl_80038B94 -/* 80038B64 00035AC4 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 80038B68 00035AC8 D0 03 00 00 */ stfs f0, 0(r3) -/* 80038B6C 00035ACC C0 01 00 98 */ lfs f0, 0x98(r1) -/* 80038B70 00035AD0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80038B74 00035AD4 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 80038B78 00035AD8 D0 03 00 08 */ stfs f0, 8(r3) -/* 80038B7C 00035ADC C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 80038B80 00035AE0 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80038B84 00035AE4 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 80038B88 00035AE8 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80038B8C 00035AEC C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 80038B90 00035AF0 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80038B94: -/* 80038B94 00035AF4 38 00 00 01 */ li r0, 1 -/* 80038B98 00035AF8 98 01 01 00 */ stb r0, 0x100(r1) -/* 80038B9C 00035AFC 48 00 00 40 */ b lbl_80038BDC -lbl_80038BA0: -/* 80038BA0 00035B00 80 E1 00 94 */ lwz r7, 0x94(r1) -/* 80038BA4 00035B04 80 C1 00 98 */ lwz r6, 0x98(r1) -/* 80038BA8 00035B08 80 A1 00 9C */ lwz r5, 0x9c(r1) -/* 80038BAC 00035B0C 80 81 00 A0 */ lwz r4, 0xa0(r1) -/* 80038BB0 00035B10 80 61 00 A4 */ lwz r3, 0xa4(r1) -/* 80038BB4 00035B14 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 80038BB8 00035B18 90 E1 00 E8 */ stw r7, 0xe8(r1) -/* 80038BBC 00035B1C 90 C1 00 EC */ stw r6, 0xec(r1) -/* 80038BC0 00035B20 90 A1 00 F0 */ stw r5, 0xf0(r1) -/* 80038BC4 00035B24 90 81 00 F4 */ stw r4, 0xf4(r1) -/* 80038BC8 00035B28 90 61 00 F8 */ stw r3, 0xf8(r1) -/* 80038BCC 00035B2C 90 01 00 FC */ stw r0, 0xfc(r1) -/* 80038BD0 00035B30 48 00 00 0C */ b lbl_80038BDC -lbl_80038BD4: -/* 80038BD4 00035B34 38 00 00 00 */ li r0, 0 -/* 80038BD8 00035B38 98 01 01 00 */ stb r0, 0x100(r1) -lbl_80038BDC: -/* 80038BDC 00035B3C 38 00 00 00 */ li r0, 0 -/* 80038BE0 00035B40 98 01 00 AC */ stb r0, 0xac(r1) -/* 80038BE4 00035B44 48 00 00 A8 */ b lbl_80038C8C -lbl_80038BE8: -/* 80038BE8 00035B48 7F 64 DB 78 */ mr r4, r27 -/* 80038BEC 00035B4C 38 61 00 0C */ addi r3, r1, 0xc -/* 80038BF0 00035B50 48 07 4B 1D */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 80038BF4 00035B54 80 83 00 04 */ lwz r4, 4(r3) -/* 80038BF8 00035B58 28 04 00 00 */ cmplwi r4, 0 -/* 80038BFC 00035B5C 7C 9A 23 78 */ mr r26, r4 -/* 80038C00 00035B60 41 82 00 8C */ beq lbl_80038C8C -/* 80038C04 00035B64 38 61 00 7C */ addi r3, r1, 0x7c -/* 80038C08 00035B68 48 00 16 F1 */ bl GetProjectileBounds__15CGameProjectileCFv -/* 80038C0C 00035B6C 88 01 01 00 */ lbz r0, 0x100(r1) -/* 80038C10 00035B70 28 00 00 00 */ cmplwi r0, 0 -/* 80038C14 00035B74 40 82 00 48 */ bne lbl_80038C5C -/* 80038C18 00035B78 34 61 00 E8 */ addic. r3, r1, 0xe8 -/* 80038C1C 00035B7C 41 82 00 34 */ beq lbl_80038C50 -/* 80038C20 00035B80 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80038C24 00035B84 D0 03 00 00 */ stfs f0, 0(r3) -/* 80038C28 00035B88 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80038C2C 00035B8C D0 03 00 04 */ stfs f0, 4(r3) -/* 80038C30 00035B90 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80038C34 00035B94 D0 03 00 08 */ stfs f0, 8(r3) -/* 80038C38 00035B98 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 80038C3C 00035B9C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80038C40 00035BA0 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 80038C44 00035BA4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80038C48 00035BA8 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 80038C4C 00035BAC D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80038C50: -/* 80038C50 00035BB0 38 00 00 01 */ li r0, 1 -/* 80038C54 00035BB4 98 01 01 00 */ stb r0, 0x100(r1) -/* 80038C58 00035BB8 48 00 00 34 */ b lbl_80038C8C -lbl_80038C5C: -/* 80038C5C 00035BBC 80 E1 00 7C */ lwz r7, 0x7c(r1) -/* 80038C60 00035BC0 80 C1 00 80 */ lwz r6, 0x80(r1) -/* 80038C64 00035BC4 80 A1 00 84 */ lwz r5, 0x84(r1) -/* 80038C68 00035BC8 80 81 00 88 */ lwz r4, 0x88(r1) -/* 80038C6C 00035BCC 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 80038C70 00035BD0 80 01 00 90 */ lwz r0, 0x90(r1) -/* 80038C74 00035BD4 90 E1 00 E8 */ stw r7, 0xe8(r1) -/* 80038C78 00035BD8 90 C1 00 EC */ stw r6, 0xec(r1) -/* 80038C7C 00035BDC 90 A1 00 F0 */ stw r5, 0xf0(r1) -/* 80038C80 00035BE0 90 81 00 F4 */ stw r4, 0xf4(r1) -/* 80038C84 00035BE4 90 61 00 F8 */ stw r3, 0xf8(r1) -/* 80038C88 00035BE8 90 01 00 FC */ stw r0, 0xfc(r1) -lbl_80038C8C: -/* 80038C8C 00035BEC 88 01 01 00 */ lbz r0, 0x100(r1) -/* 80038C90 00035BF0 28 00 00 00 */ cmplwi r0, 0 -/* 80038C94 00035BF4 40 82 00 1C */ bne lbl_80038CB0 -/* 80038C98 00035BF8 38 00 00 00 */ li r0, 0 -/* 80038C9C 00035BFC 28 1D 00 00 */ cmplwi r29, 0 -/* 80038CA0 00035C00 98 01 01 00 */ stb r0, 0x100(r1) -/* 80038CA4 00035C04 41 82 03 10 */ beq lbl_80038FB4 -/* 80038CA8 00035C08 98 01 02 84 */ stb r0, 0x284(r1) -/* 80038CAC 00035C0C 48 00 03 08 */ b lbl_80038FB4 -lbl_80038CB0: -/* 80038CB0 00035C10 38 61 01 68 */ addi r3, r1, 0x168 -/* 80038CB4 00035C14 38 9B 00 68 */ addi r4, r27, 0x68 -/* 80038CB8 00035C18 48 29 6B FD */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 80038CBC 00035C1C 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha -/* 80038CC0 00035C20 C0 C1 00 E8 */ lfs f6, 0xe8(r1) -/* 80038CC4 00035C24 39 03 CA D0 */ addi r8, r3, lbl_803ECAD0@l -/* 80038CC8 00035C28 C0 A1 00 EC */ lfs f5, 0xec(r1) -/* 80038CCC 00035C2C 91 01 01 68 */ stw r8, 0x168(r1) -/* 80038CD0 00035C30 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 80038CD4 00035C34 38 E3 97 E4 */ addi r7, r3, lbl_803D97E4@l -/* 80038CD8 00035C38 C0 81 00 F0 */ lfs f4, 0xf0(r1) -/* 80038CDC 00035C3C C0 61 00 F4 */ lfs f3, 0xf4(r1) -/* 80038CE0 00035C40 FC 20 F0 90 */ fmr f1, f30 -/* 80038CE4 00035C44 C0 41 00 F8 */ lfs f2, 0xf8(r1) -/* 80038CE8 00035C48 7E E4 BB 78 */ mr r4, r23 -/* 80038CEC 00035C4C C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 80038CF0 00035C50 38 61 02 E8 */ addi r3, r1, 0x2e8 -/* 80038CF4 00035C54 90 E1 02 28 */ stw r7, 0x228(r1) -/* 80038CF8 00035C58 80 01 01 70 */ lwz r0, 0x170(r1) -/* 80038CFC 00035C5C 38 A1 00 4C */ addi r5, r1, 0x4c -/* 80038D00 00035C60 91 01 01 68 */ stw r8, 0x168(r1) -/* 80038D04 00035C64 80 C1 01 74 */ lwz r6, 0x174(r1) -/* 80038D08 00035C68 D0 C1 01 78 */ stfs f6, 0x178(r1) -/* 80038D0C 00035C6C D0 A1 01 7C */ stfs f5, 0x17c(r1) -/* 80038D10 00035C70 D0 81 01 80 */ stfs f4, 0x180(r1) -/* 80038D14 00035C74 D0 61 01 84 */ stfs f3, 0x184(r1) -/* 80038D18 00035C78 D0 41 01 88 */ stfs f2, 0x188(r1) -/* 80038D1C 00035C7C D0 01 01 8C */ stfs f0, 0x18c(r1) -/* 80038D20 00035C80 90 C1 02 34 */ stw r6, 0x234(r1) -/* 80038D24 00035C84 90 01 02 30 */ stw r0, 0x230(r1) -/* 80038D28 00035C88 91 01 02 28 */ stw r8, 0x228(r1) -/* 80038D2C 00035C8C D0 C1 02 38 */ stfs f6, 0x238(r1) -/* 80038D30 00035C90 D0 A1 02 3C */ stfs f5, 0x23c(r1) -/* 80038D34 00035C94 D0 81 02 40 */ stfs f4, 0x240(r1) -/* 80038D38 00035C98 D0 61 02 44 */ stfs f3, 0x244(r1) -/* 80038D3C 00035C9C D0 41 02 48 */ stfs f2, 0x248(r1) -/* 80038D40 00035CA0 D0 01 02 4C */ stfs f0, 0x24c(r1) -/* 80038D44 00035CA4 90 E1 01 68 */ stw r7, 0x168(r1) -/* 80038D48 00035CA8 48 29 D3 25 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff -/* 80038D4C 00035CAC 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80038D50 00035CB0 D3 C1 03 20 */ stfs f30, 0x320(r1) -/* 80038D54 00035CB4 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 80038D58 00035CB8 7F C3 F3 78 */ mr r3, r30 -/* 80038D5C 00035CBC 48 2D 9E 19 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80038D60 00035CC0 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 80038D64 00035CC4 81 81 02 28 */ lwz r12, 0x228(r1) -/* 80038D68 00035CC8 38 03 FD 18 */ addi r0, r3, lbl_8059FD18@l -/* 80038D6C 00035CCC 38 61 01 38 */ addi r3, r1, 0x138 -/* 80038D70 00035CD0 90 01 03 54 */ stw r0, 0x354(r1) -/* 80038D74 00035CD4 38 81 02 28 */ addi r4, r1, 0x228 -/* 80038D78 00035CD8 38 A1 02 E8 */ addi r5, r1, 0x2e8 -/* 80038D7C 00035CDC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80038D80 00035CE0 7D 89 03 A6 */ mtctr r12 -/* 80038D84 00035CE4 4E 80 04 21 */ bctrl -/* 80038D88 00035CE8 88 C1 01 58 */ lbz r6, 0x158(r1) -/* 80038D8C 00035CEC C0 E1 01 38 */ lfs f7, 0x138(r1) -/* 80038D90 00035CF0 C0 C1 01 3C */ lfs f6, 0x13c(r1) -/* 80038D94 00035CF4 28 06 00 00 */ cmplwi r6, 0 -/* 80038D98 00035CF8 C0 A1 01 40 */ lfs f5, 0x140(r1) -/* 80038D9C 00035CFC C0 01 01 44 */ lfs f0, 0x144(r1) -/* 80038DA0 00035D00 C0 81 01 48 */ lfs f4, 0x148(r1) -/* 80038DA4 00035D04 C0 61 01 4C */ lfs f3, 0x14c(r1) -/* 80038DA8 00035D08 C0 41 01 50 */ lfs f2, 0x150(r1) -/* 80038DAC 00035D0C C0 21 01 54 */ lfs f1, 0x154(r1) -/* 80038DB0 00035D10 80 01 01 60 */ lwz r0, 0x160(r1) -/* 80038DB4 00035D14 80 61 01 64 */ lwz r3, 0x164(r1) -/* 80038DB8 00035D18 D0 E1 01 F8 */ stfs f7, 0x1f8(r1) -/* 80038DBC 00035D1C D0 C1 01 FC */ stfs f6, 0x1fc(r1) -/* 80038DC0 00035D20 D0 A1 02 00 */ stfs f5, 0x200(r1) -/* 80038DC4 00035D24 D0 01 02 04 */ stfs f0, 0x204(r1) -/* 80038DC8 00035D28 D0 81 02 08 */ stfs f4, 0x208(r1) -/* 80038DCC 00035D2C D0 61 02 0C */ stfs f3, 0x20c(r1) -/* 80038DD0 00035D30 D0 41 02 10 */ stfs f2, 0x210(r1) -/* 80038DD4 00035D34 D0 21 02 14 */ stfs f1, 0x214(r1) -/* 80038DD8 00035D38 98 C1 02 18 */ stb r6, 0x218(r1) -/* 80038DDC 00035D3C 90 61 02 24 */ stw r3, 0x224(r1) -/* 80038DE0 00035D40 90 01 02 20 */ stw r0, 0x220(r1) -/* 80038DE4 00035D44 41 82 00 5C */ beq lbl_80038E40 -/* 80038DE8 00035D48 FC 07 F8 40 */ fcmpo cr0, f7, f31 -/* 80038DEC 00035D4C 40 80 01 98 */ bge lbl_80038F84 -/* 80038DF0 00035D50 A0 01 02 50 */ lhz r0, 0x250(r1) -/* 80038DF4 00035D54 FF E0 38 90 */ fmr f31, f7 -/* 80038DF8 00035D58 80 A1 01 FC */ lwz r5, 0x1fc(r1) -/* 80038DFC 00035D5C B0 16 00 00 */ sth r0, 0(r22) -/* 80038E00 00035D60 80 81 02 00 */ lwz r4, 0x200(r1) -/* 80038E04 00035D64 80 61 02 04 */ lwz r3, 0x204(r1) -/* 80038E08 00035D68 C8 01 02 20 */ lfd f0, 0x220(r1) -/* 80038E0C 00035D6C A0 16 00 00 */ lhz r0, 0(r22) -/* 80038E10 00035D70 D0 E1 02 B8 */ stfs f7, 0x2b8(r1) -/* 80038E14 00035D74 90 A1 02 BC */ stw r5, 0x2bc(r1) -/* 80038E18 00035D78 90 81 02 C0 */ stw r4, 0x2c0(r1) -/* 80038E1C 00035D7C 90 61 02 C4 */ stw r3, 0x2c4(r1) -/* 80038E20 00035D80 D0 81 02 C8 */ stfs f4, 0x2c8(r1) -/* 80038E24 00035D84 D0 61 02 CC */ stfs f3, 0x2cc(r1) -/* 80038E28 00035D88 D0 41 02 D0 */ stfs f2, 0x2d0(r1) -/* 80038E2C 00035D8C D0 21 02 D4 */ stfs f1, 0x2d4(r1) -/* 80038E30 00035D90 98 C1 02 D8 */ stb r6, 0x2d8(r1) -/* 80038E34 00035D94 D8 01 02 E0 */ stfd f0, 0x2e0(r1) -/* 80038E38 00035D98 B0 15 02 C6 */ sth r0, 0x2c6(r21) -/* 80038E3C 00035D9C 48 00 01 48 */ b lbl_80038F84 -lbl_80038E40: -/* 80038E40 00035DA0 7E E4 BB 78 */ mr r4, r23 -/* 80038E44 00035DA4 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80038E48 00035DA8 48 2F E6 ED */ bl PointInside__6CAABoxCFRC9CVector3f -/* 80038E4C 00035DAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80038E50 00035DB0 40 82 00 2C */ bne lbl_80038E7C -/* 80038E54 00035DB4 28 1A 00 00 */ cmplwi r26, 0 -/* 80038E58 00035DB8 41 82 01 2C */ beq lbl_80038F84 -/* 80038E5C 00035DBC 7E A4 AB 78 */ mr r4, r21 -/* 80038E60 00035DC0 38 61 00 64 */ addi r3, r1, 0x64 -/* 80038E64 00035DC4 48 00 14 95 */ bl GetProjectileBounds__15CGameProjectileCFv -/* 80038E68 00035DC8 38 61 00 64 */ addi r3, r1, 0x64 -/* 80038E6C 00035DCC 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 80038E70 00035DD0 48 2F ED 15 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 80038E74 00035DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80038E78 00035DD8 41 82 01 0C */ beq lbl_80038F84 -lbl_80038E7C: -/* 80038E7C 00035DDC C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 80038E80 00035DE0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80038E84 00035DE4 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80038E88 00035DE8 38 81 00 28 */ addi r4, r1, 0x28 -/* 80038E8C 00035DEC C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80038E90 00035DF0 FC 40 10 50 */ fneg f2, f2 -/* 80038E94 00035DF4 FC 20 08 50 */ fneg f1, f1 -/* 80038E98 00035DF8 FC 00 00 50 */ fneg f0, f0 -/* 80038E9C 00035DFC D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80038EA0 00035E00 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80038EA4 00035E04 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80038EA8 00035E08 48 2D AF 29 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80038EAC 00035E0C C0 E1 00 38 */ lfs f7, 0x38(r1) -/* 80038EB0 00035E10 39 20 00 01 */ li r9, 1 -/* 80038EB4 00035E14 C0 97 00 04 */ lfs f4, 4(r23) -/* 80038EB8 00035E18 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha -/* 80038EBC 00035E1C C1 01 00 3C */ lfs f8, 0x3c(r1) -/* 80038EC0 00035E20 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 80038EC4 00035E24 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 80038EC8 00035E28 EC 04 01 F2 */ fmuls f0, f4, f7 -/* 80038ECC 00035E2C C0 77 00 00 */ lfs f3, 0(r23) -/* 80038ED0 00035E30 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l -/* 80038ED4 00035E34 C0 B7 00 08 */ lfs f5, 8(r23) -/* 80038ED8 00035E38 28 1D 00 00 */ cmplwi r29, 0 -/* 80038EDC 00035E3C 80 FB 00 68 */ lwz r7, 0x68(r27) -/* 80038EE0 00035E40 81 1B 00 6C */ lwz r8, 0x6c(r27) -/* 80038EE4 00035E44 EC 03 01 BA */ fmadds f0, f3, f6, f0 -/* 80038EE8 00035E48 A0 BB 00 08 */ lhz r5, 8(r27) -/* 80038EEC 00035E4C 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l -/* 80038EF0 00035E50 C0 22 84 14 */ lfs f1, lbl_805AA134@sda21(r2) -/* 80038EF4 00035E54 38 00 00 00 */ li r0, 0 -/* 80038EF8 00035E58 EC 45 02 3A */ fmadds f2, f5, f8, f0 -/* 80038EFC 00035E5C B0 B6 00 00 */ sth r5, 0(r22) -/* 80038F00 00035E60 A0 B6 00 00 */ lhz r5, 0(r22) -/* 80038F04 00035E64 D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 80038F08 00035E68 B0 B5 02 C6 */ sth r5, 0x2c6(r21) -/* 80038F0C 00035E6C 80 C1 01 0C */ lwz r6, 0x10c(r1) -/* 80038F10 00035E70 D0 81 01 10 */ stfs f4, 0x110(r1) -/* 80038F14 00035E74 D0 A1 01 14 */ stfs f5, 0x114(r1) -/* 80038F18 00035E78 80 A1 01 10 */ lwz r5, 0x110(r1) -/* 80038F1C 00035E7C 90 81 02 28 */ stw r4, 0x228(r1) -/* 80038F20 00035E80 80 81 01 14 */ lwz r4, 0x114(r1) -/* 80038F24 00035E84 91 01 01 34 */ stw r8, 0x134(r1) -/* 80038F28 00035E88 90 E1 01 30 */ stw r7, 0x130(r1) -/* 80038F2C 00035E8C C8 01 01 30 */ lfd f0, 0x130(r1) -/* 80038F30 00035E90 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 80038F34 00035E94 D0 C1 01 18 */ stfs f6, 0x118(r1) -/* 80038F38 00035E98 D0 E1 01 1C */ stfs f7, 0x11c(r1) -/* 80038F3C 00035E9C D1 01 01 20 */ stfs f8, 0x120(r1) -/* 80038F40 00035EA0 D0 41 01 24 */ stfs f2, 0x124(r1) -/* 80038F44 00035EA4 99 21 01 28 */ stb r9, 0x128(r1) -/* 80038F48 00035EA8 D0 21 02 B8 */ stfs f1, 0x2b8(r1) -/* 80038F4C 00035EAC 90 C1 02 BC */ stw r6, 0x2bc(r1) -/* 80038F50 00035EB0 90 A1 02 C0 */ stw r5, 0x2c0(r1) -/* 80038F54 00035EB4 90 81 02 C4 */ stw r4, 0x2c4(r1) -/* 80038F58 00035EB8 D0 C1 02 C8 */ stfs f6, 0x2c8(r1) -/* 80038F5C 00035EBC D0 E1 02 CC */ stfs f7, 0x2cc(r1) -/* 80038F60 00035EC0 D1 01 02 D0 */ stfs f8, 0x2d0(r1) -/* 80038F64 00035EC4 D0 41 02 D4 */ stfs f2, 0x2d4(r1) -/* 80038F68 00035EC8 99 21 02 D8 */ stb r9, 0x2d8(r1) -/* 80038F6C 00035ECC D8 01 02 E0 */ stfd f0, 0x2e0(r1) -/* 80038F70 00035ED0 90 61 02 28 */ stw r3, 0x228(r1) -/* 80038F74 00035ED4 98 01 01 00 */ stb r0, 0x100(r1) -/* 80038F78 00035ED8 41 82 00 58 */ beq lbl_80038FD0 -/* 80038F7C 00035EDC 98 01 02 84 */ stb r0, 0x284(r1) -/* 80038F80 00035EE0 48 00 00 50 */ b lbl_80038FD0 -lbl_80038F84: -/* 80038F84 00035EE4 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha -/* 80038F88 00035EE8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 80038F8C 00035EEC 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l -/* 80038F90 00035EF0 38 00 00 00 */ li r0, 0 -/* 80038F94 00035EF4 90 81 02 28 */ stw r4, 0x228(r1) -/* 80038F98 00035EF8 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l -/* 80038F9C 00035EFC 90 61 02 28 */ stw r3, 0x228(r1) -/* 80038FA0 00035F00 98 01 01 00 */ stb r0, 0x100(r1) -lbl_80038FA4: -/* 80038FA4 00035F04 28 1D 00 00 */ cmplwi r29, 0 -/* 80038FA8 00035F08 41 82 00 0C */ beq lbl_80038FB4 -/* 80038FAC 00035F0C 38 00 00 00 */ li r0, 0 -/* 80038FB0 00035F10 98 01 02 84 */ stb r0, 0x284(r1) -lbl_80038FB4: -/* 80038FB4 00035F14 3B 9C 00 02 */ addi r28, r28, 2 -lbl_80038FB8: -/* 80038FB8 00035F18 80 18 00 00 */ lwz r0, 0(r24) -/* 80038FBC 00035F1C 54 00 08 3C */ slwi r0, r0, 1 -/* 80038FC0 00035F20 7C 78 02 14 */ add r3, r24, r0 -/* 80038FC4 00035F24 38 03 00 04 */ addi r0, r3, 4 -/* 80038FC8 00035F28 7C 1C 00 40 */ cmplw r28, r0 -/* 80038FCC 00035F2C 40 82 F9 60 */ bne lbl_8003892C -lbl_80038FD0: -/* 80038FD0 00035F30 88 95 02 E4 */ lbz r4, 0x2e4(r21) -/* 80038FD4 00035F34 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f -/* 80038FD8 00035F38 41 82 00 20 */ beq lbl_80038FF8 -/* 80038FDC 00035F3C A0 76 00 00 */ lhz r3, 0(r22) -/* 80038FE0 00035F40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80038FE4 00035F44 7C 03 00 40 */ cmplw r3, r0 -/* 80038FE8 00035F48 40 82 00 10 */ bne lbl_80038FF8 -/* 80038FEC 00035F4C 38 00 00 00 */ li r0, 0 -/* 80038FF0 00035F50 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b -/* 80038FF4 00035F54 98 95 02 E4 */ stb r4, 0x2e4(r21) -lbl_80038FF8: -/* 80038FF8 00035F58 C0 21 02 B8 */ lfs f1, 0x2b8(r1) -/* 80038FFC 00035F5C C0 01 02 BC */ lfs f0, 0x2bc(r1) -/* 80039000 00035F60 D0 34 00 00 */ stfs f1, 0(r20) -/* 80039004 00035F64 C0 21 02 C0 */ lfs f1, 0x2c0(r1) -/* 80039008 00035F68 D0 14 00 04 */ stfs f0, 4(r20) -/* 8003900C 00035F6C C0 01 02 C4 */ lfs f0, 0x2c4(r1) -/* 80039010 00035F70 D0 34 00 08 */ stfs f1, 8(r20) -/* 80039014 00035F74 C0 21 02 C8 */ lfs f1, 0x2c8(r1) -/* 80039018 00035F78 D0 14 00 0C */ stfs f0, 0xc(r20) -/* 8003901C 00035F7C C0 01 02 CC */ lfs f0, 0x2cc(r1) -/* 80039020 00035F80 D0 34 00 10 */ stfs f1, 0x10(r20) -/* 80039024 00035F84 C0 21 02 D0 */ lfs f1, 0x2d0(r1) -/* 80039028 00035F88 D0 14 00 14 */ stfs f0, 0x14(r20) -/* 8003902C 00035F8C C0 01 02 D4 */ lfs f0, 0x2d4(r1) -/* 80039030 00035F90 D0 34 00 18 */ stfs f1, 0x18(r20) -/* 80039034 00035F94 88 01 02 D8 */ lbz r0, 0x2d8(r1) -/* 80039038 00035F98 D0 14 00 1C */ stfs f0, 0x1c(r20) -/* 8003903C 00035F9C 80 61 02 E4 */ lwz r3, 0x2e4(r1) -/* 80039040 00035FA0 98 14 00 20 */ stb r0, 0x20(r20) -/* 80039044 00035FA4 80 01 02 E0 */ lwz r0, 0x2e0(r1) -/* 80039048 00035FA8 90 74 00 2C */ stw r3, 0x2c(r20) -/* 8003904C 00035FAC 90 14 00 28 */ stw r0, 0x28(r20) -lbl_80039050: -/* 80039050 00035FB0 E3 E1 03 A8 */ psq_l f31, 936(r1), 0, qr0 -/* 80039054 00035FB4 CB E1 03 A0 */ lfd f31, 0x3a0(r1) -/* 80039058 00035FB8 E3 C1 03 98 */ psq_l f30, 920(r1), 0, qr0 -/* 8003905C 00035FBC CB C1 03 90 */ lfd f30, 0x390(r1) -/* 80039060 00035FC0 BA 81 03 60 */ lmw r20, 0x360(r1) -/* 80039064 00035FC4 80 01 03 B4 */ lwz r0, 0x3b4(r1) -/* 80039068 00035FC8 7C 08 03 A6 */ mtlr r0 -/* 8003906C 00035FCC 38 21 03 B0 */ addi r1, r1, 0x3b0 -/* 80039070 00035FD0 4E 80 00 20 */ blr - -.global CanCollideWith__15CGameProjectileFR6CActorR13CStateManager -CanCollideWith__15CGameProjectileFR6CActorR13CStateManager: -/* 80039074 00035FD4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80039078 00035FD8 7C 08 02 A6 */ mflr r0 -/* 8003907C 00035FDC 90 01 00 74 */ stw r0, 0x74(r1) -/* 80039080 00035FE0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80039084 00035FE4 7C DF 33 78 */ mr r31, r6 -/* 80039088 00035FE8 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8003908C 00035FEC 7C BE 2B 78 */ mr r30, r5 -/* 80039090 00035FF0 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80039094 00035FF4 7C 9D 23 78 */ mr r29, r4 -/* 80039098 00035FF8 93 81 00 60 */ stw r28, 0x60(r1) -/* 8003909C 00035FFC 7C 7C 1B 78 */ mr r28, r3 -/* 800390A0 00036000 7F C3 F3 78 */ mr r3, r30 -/* 800390A4 00036004 81 9E 00 00 */ lwz r12, 0(r30) -/* 800390A8 00036008 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 800390AC 0003600C 7D 89 03 A6 */ mtctr r12 -/* 800390B0 00036010 4E 80 04 21 */ bctrl -/* 800390B4 00036014 38 9D 01 2C */ addi r4, r29, 0x12c -/* 800390B8 00036018 38 A0 00 00 */ li r5, 0 -/* 800390BC 0003601C 48 0C 94 01 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode -/* 800390C0 00036020 2C 03 00 04 */ cmpwi r3, 4 -/* 800390C4 00036024 40 82 00 84 */ bne lbl_80039148 -/* 800390C8 00036028 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800390CC 0003602C 38 60 00 00 */ li r3, 0 -/* 800390D0 00036030 98 61 00 54 */ stb r3, 0x54(r1) -/* 800390D4 00036034 B0 1C 00 00 */ sth r0, 0(r28) -/* 800390D8 00036038 98 7C 00 34 */ stb r3, 0x34(r28) -/* 800390DC 0003603C 48 00 00 60 */ b lbl_8003913C -/* 800390E0 00036040 41 82 00 5C */ beq lbl_8003913C -/* 800390E4 00036044 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 800390E8 00036048 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 800390EC 0003604C D0 24 00 00 */ stfs f1, 0(r4) -/* 800390F0 00036050 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 800390F4 00036054 D0 04 00 04 */ stfs f0, 4(r4) -/* 800390F8 00036058 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800390FC 0003605C D0 24 00 08 */ stfs f1, 8(r4) -/* 80039100 00036060 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80039104 00036064 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039108 00036068 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8003910C 0003606C D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039110 00036070 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 80039114 00036074 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039118 00036078 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8003911C 0003607C D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039120 00036080 88 01 00 44 */ lbz r0, 0x44(r1) -/* 80039124 00036084 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039128 00036088 80 61 00 50 */ lwz r3, 0x50(r1) -/* 8003912C 0003608C 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039130 00036090 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80039134 00036094 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039138 00036098 90 04 00 28 */ stw r0, 0x28(r4) -lbl_8003913C: -/* 8003913C 0003609C 38 00 00 00 */ li r0, 0 -/* 80039140 000360A0 98 01 00 54 */ stb r0, 0x54(r1) -/* 80039144 000360A4 48 00 00 A8 */ b lbl_800391EC -lbl_80039148: -/* 80039148 000360A8 7F C4 F3 78 */ mr r4, r30 -/* 8003914C 000360AC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80039150 000360B0 48 06 DE 05 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity" -/* 80039154 000360B4 80 03 00 04 */ lwz r0, 4(r3) -/* 80039158 000360B8 28 00 00 00 */ cmplwi r0, 0 -/* 8003915C 000360BC 41 82 00 1C */ beq lbl_80039178 -/* 80039160 000360C0 7F 83 E3 78 */ mr r3, r28 -/* 80039164 000360C4 7F A4 EB 78 */ mr r4, r29 -/* 80039168 000360C8 7F C5 F3 78 */ mr r5, r30 -/* 8003916C 000360CC 7F E6 FB 78 */ mr r6, r31 -/* 80039170 000360D0 48 00 0E B1 */ bl CanCollideWithTrigger__15CGameProjectileFR6CActorR13CStateManager -/* 80039174 000360D4 48 00 00 78 */ b lbl_800391EC -lbl_80039178: -/* 80039178 000360D8 7F C4 F3 78 */ mr r4, r30 -/* 8003917C 000360DC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80039180 000360E0 48 06 FD 01 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity" -/* 80039184 000360E4 80 03 00 04 */ lwz r0, 4(r3) -/* 80039188 000360E8 28 00 00 00 */ cmplwi r0, 0 -/* 8003918C 000360EC 40 82 00 34 */ bne lbl_800391C0 -/* 80039190 000360F0 7F C4 F3 78 */ mr r4, r30 -/* 80039194 000360F4 38 61 00 0C */ addi r3, r1, 0xc -/* 80039198 000360F8 48 07 62 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" -/* 8003919C 000360FC 80 03 00 04 */ lwz r0, 4(r3) -/* 800391A0 00036100 28 00 00 00 */ cmplwi r0, 0 -/* 800391A4 00036104 40 82 00 1C */ bne lbl_800391C0 -/* 800391A8 00036108 7F C4 F3 78 */ mr r4, r30 -/* 800391AC 0003610C 38 61 00 08 */ addi r3, r1, 8 -/* 800391B0 00036110 48 06 C2 55 */ bl sub_800a5404 -/* 800391B4 00036114 48 06 C2 25 */ bl "CastTo<11CPuddleToad>__10CPatternedFP7CEntity" -/* 800391B8 00036118 28 03 00 00 */ cmplwi r3, 0 -/* 800391BC 0003611C 41 82 00 1C */ beq lbl_800391D8 -lbl_800391C0: -/* 800391C0 00036120 7F 83 E3 78 */ mr r3, r28 -/* 800391C4 00036124 7F A4 EB 78 */ mr r4, r29 -/* 800391C8 00036128 7F C5 F3 78 */ mr r5, r30 -/* 800391CC 0003612C 7F E6 FB 78 */ mr r6, r31 -/* 800391D0 00036130 48 00 00 3D */ bl CanCollideWithComplexCollision__15CGameProjectileFR6CActorR13CStateManager -/* 800391D4 00036134 48 00 00 18 */ b lbl_800391EC -lbl_800391D8: -/* 800391D8 00036138 7F 83 E3 78 */ mr r3, r28 -/* 800391DC 0003613C 7F A4 EB 78 */ mr r4, r29 -/* 800391E0 00036140 7F C5 F3 78 */ mr r5, r30 -/* 800391E4 00036144 7F E6 FB 78 */ mr r6, r31 -/* 800391E8 00036148 48 00 08 B5 */ bl CanCollideWithGameObject__15CGameProjectileFR6CActorR13CStateManager -lbl_800391EC: -/* 800391EC 0003614C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800391F0 00036150 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800391F4 00036154 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800391F8 00036158 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 800391FC 0003615C 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80039200 00036160 7C 08 03 A6 */ mtlr r0 -/* 80039204 00036164 38 21 00 70 */ addi r1, r1, 0x70 -/* 80039208 00036168 4E 80 00 20 */ blr - -.global CanCollideWithComplexCollision__15CGameProjectileFR6CActorR13CStateManager -CanCollideWithComplexCollision__15CGameProjectileFR6CActorR13CStateManager: -/* 8003920C 0003616C 94 21 FC 00 */ stwu r1, -0x400(r1) -/* 80039210 00036170 7C 08 02 A6 */ mflr r0 -/* 80039214 00036174 90 01 04 04 */ stw r0, 0x404(r1) -/* 80039218 00036178 DB E1 03 F0 */ stfd f31, 0x3f0(r1) -/* 8003921C 0003617C F3 E1 03 F8 */ psq_st f31, 1016(r1), 0, qr0 -/* 80039220 00036180 DB C1 03 E0 */ stfd f30, 0x3e0(r1) -/* 80039224 00036184 F3 C1 03 E8 */ psq_st f30, 1000(r1), 0, qr0 -/* 80039228 00036188 DB A1 03 D0 */ stfd f29, 0x3d0(r1) -/* 8003922C 0003618C F3 A1 03 D8 */ psq_st f29, 984(r1), 0, qr0 -/* 80039230 00036190 BF 41 03 B8 */ stmw r26, 0x3b8(r1) -/* 80039234 00036194 7C BE 2B 78 */ mr r30, r5 -/* 80039238 00036198 7C 7C 1B 78 */ mr r28, r3 -/* 8003923C 0003619C 7C 9D 23 78 */ mr r29, r4 -/* 80039240 000361A0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80039244 000361A4 7F C4 F3 78 */ mr r4, r30 -/* 80039248 000361A8 3B 40 00 00 */ li r26, 0 -/* 8003924C 000361AC 48 06 FC 35 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity" -/* 80039250 000361B0 80 63 00 04 */ lwz r3, 4(r3) -/* 80039254 000361B4 28 03 00 00 */ cmplwi r3, 0 -/* 80039258 000361B8 41 82 00 18 */ beq lbl_80039270 -/* 8003925C 000361BC 80 03 03 14 */ lwz r0, 0x314(r3) -/* 80039260 000361C0 28 00 00 00 */ cmplwi r0, 0 -/* 80039264 000361C4 41 82 00 D8 */ beq lbl_8003933C -/* 80039268 000361C8 7C 7A 1B 78 */ mr r26, r3 -/* 8003926C 000361CC 48 00 00 D0 */ b lbl_8003933C -lbl_80039270: -/* 80039270 000361D0 7F C4 F3 78 */ mr r4, r30 -/* 80039274 000361D4 38 61 00 08 */ addi r3, r1, 8 -/* 80039278 000361D8 48 06 C1 8D */ bl sub_800a5404 -/* 8003927C 000361DC 48 06 C1 5D */ bl "CastTo<11CPuddleToad>__10CPatternedFP7CEntity" -/* 80039280 000361E0 28 03 00 00 */ cmplwi r3, 0 -/* 80039284 000361E4 41 82 00 0C */ beq lbl_80039290 -/* 80039288 000361E8 7F DA F3 78 */ mr r26, r30 -/* 8003928C 000361EC 48 00 00 B0 */ b lbl_8003933C -lbl_80039290: -/* 80039290 000361F0 7F C4 F3 78 */ mr r4, r30 -/* 80039294 000361F4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80039298 000361F8 48 07 61 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" -/* 8003929C 000361FC 80 83 00 04 */ lwz r4, 4(r3) -/* 800392A0 00036200 28 04 00 00 */ cmplwi r4, 0 -/* 800392A4 00036204 41 82 00 98 */ beq lbl_8003933C -/* 800392A8 00036208 A0 64 02 5C */ lhz r3, 0x25c(r4) -/* 800392AC 0003620C A0 1D 00 EC */ lhz r0, 0xec(r29) -/* 800392B0 00036210 7C 03 00 40 */ cmplw r3, r0 -/* 800392B4 00036214 40 82 00 84 */ bne lbl_80039338 -/* 800392B8 00036218 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800392BC 0003621C 38 60 00 00 */ li r3, 0 -/* 800392C0 00036220 98 61 02 98 */ stb r3, 0x298(r1) -/* 800392C4 00036224 B0 1C 00 00 */ sth r0, 0(r28) -/* 800392C8 00036228 98 7C 00 34 */ stb r3, 0x34(r28) -/* 800392CC 0003622C 48 00 00 60 */ b lbl_8003932C -/* 800392D0 00036230 41 82 00 5C */ beq lbl_8003932C -/* 800392D4 00036234 C0 21 02 68 */ lfs f1, 0x268(r1) -/* 800392D8 00036238 C0 01 02 6C */ lfs f0, 0x26c(r1) -/* 800392DC 0003623C D0 24 00 00 */ stfs f1, 0(r4) -/* 800392E0 00036240 C0 21 02 70 */ lfs f1, 0x270(r1) -/* 800392E4 00036244 D0 04 00 04 */ stfs f0, 4(r4) -/* 800392E8 00036248 C0 01 02 74 */ lfs f0, 0x274(r1) -/* 800392EC 0003624C D0 24 00 08 */ stfs f1, 8(r4) -/* 800392F0 00036250 C0 21 02 78 */ lfs f1, 0x278(r1) -/* 800392F4 00036254 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 800392F8 00036258 C0 01 02 7C */ lfs f0, 0x27c(r1) -/* 800392FC 0003625C D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039300 00036260 C0 21 02 80 */ lfs f1, 0x280(r1) -/* 80039304 00036264 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039308 00036268 C0 01 02 84 */ lfs f0, 0x284(r1) -/* 8003930C 0003626C D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039310 00036270 88 01 02 88 */ lbz r0, 0x288(r1) -/* 80039314 00036274 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039318 00036278 80 61 02 94 */ lwz r3, 0x294(r1) -/* 8003931C 0003627C 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039320 00036280 80 01 02 90 */ lwz r0, 0x290(r1) -/* 80039324 00036284 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039328 00036288 90 04 00 28 */ stw r0, 0x28(r4) -lbl_8003932C: -/* 8003932C 0003628C 38 00 00 00 */ li r0, 0 -/* 80039330 00036290 98 01 02 98 */ stb r0, 0x298(r1) -/* 80039334 00036294 48 00 07 3C */ b lbl_80039A70 -lbl_80039338: -/* 80039338 00036298 7C 9A 23 78 */ mr r26, r4 -lbl_8003933C: -/* 8003933C 0003629C 28 1A 00 00 */ cmplwi r26, 0 -/* 80039340 000362A0 41 82 06 B4 */ beq lbl_800399F4 -/* 80039344 000362A4 7F 43 D3 78 */ mr r3, r26 -/* 80039348 000362A8 81 9A 00 00 */ lwz r12, 0(r26) -/* 8003934C 000362AC 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 80039350 000362B0 7D 89 03 A6 */ mtctr r12 -/* 80039354 000362B4 4E 80 04 21 */ bctrl -/* 80039358 000362B8 81 9A 00 00 */ lwz r12, 0(r26) -/* 8003935C 000362BC 7C 7F 1B 78 */ mr r31, r3 -/* 80039360 000362C0 7F 44 D3 78 */ mr r4, r26 -/* 80039364 000362C4 38 61 02 38 */ addi r3, r1, 0x238 -/* 80039368 000362C8 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8003936C 000362CC 7D 89 03 A6 */ mtctr r12 -/* 80039370 000362D0 4E 80 04 21 */ bctrl -/* 80039374 000362D4 38 61 02 9C */ addi r3, r1, 0x29c -/* 80039378 000362D8 38 81 02 38 */ addi r4, r1, 0x238 -/* 8003937C 000362DC 48 2D 97 F9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80039380 000362E0 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80039384 000362E4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80039388 000362E8 C0 1D 02 9C */ lfs f0, 0x29c(r29) -/* 8003938C 000362EC C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 80039390 000362F0 C0 5D 02 A0 */ lfs f2, 0x2a0(r29) -/* 80039394 000362F4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80039398 000362F8 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 8003939C 000362FC C0 1D 02 98 */ lfs f0, 0x298(r29) -/* 800393A0 00036300 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800393A4 00036304 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800393A8 00036308 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 800393AC 0003630C D0 41 00 68 */ stfs f2, 0x68(r1) -/* 800393B0 00036310 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800393B4 00036314 48 2D B3 45 */ bl CanBeNormalized__9CVector3fCFv -/* 800393B8 00036318 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800393BC 0003631C 41 82 05 B8 */ beq lbl_80039974 -/* 800393C0 00036320 38 61 00 48 */ addi r3, r1, 0x48 -/* 800393C4 00036324 38 81 00 60 */ addi r4, r1, 0x60 -/* 800393C8 00036328 48 2D B4 89 */ bl AsNormalized__9CVector3fCFv -/* 800393CC 0003632C C0 41 00 48 */ lfs f2, 0x48(r1) -/* 800393D0 00036330 38 61 00 60 */ addi r3, r1, 0x60 -/* 800393D4 00036334 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 800393D8 00036338 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 800393DC 0003633C D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800393E0 00036340 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 800393E4 00036344 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800393E8 00036348 48 2D B4 D1 */ bl Magnitude__9CVector3fCFv -/* 800393EC 0003634C FF A0 08 90 */ fmr f29, f1 -/* 800393F0 00036350 80 AD 82 10 */ lwz r5, lbl_805A6DD0@sda21(r13) -/* 800393F4 00036354 38 60 00 00 */ li r3, 0 -/* 800393F8 00036358 38 80 00 01 */ li r4, 1 -/* 800393FC 0003635C 48 35 0A F9 */ bl __shl2i -/* 80039400 00036360 80 AD 82 0C */ lwz r5, lbl_805A6DCC@sda21(r13) -/* 80039404 00036364 7C 9A 23 78 */ mr r26, r4 -/* 80039408 00036368 7C 7B 1B 78 */ mr r27, r3 -/* 8003940C 0003636C 38 60 00 00 */ li r3, 0 -/* 80039410 00036370 38 80 00 01 */ li r4, 1 -/* 80039414 00036374 48 35 0A E1 */ bl __shl2i -/* 80039418 00036378 38 00 00 03 */ li r0, 3 -/* 8003941C 0003637C FC 20 E8 90 */ fmr f1, f29 -/* 80039420 00036380 90 81 00 8C */ stw r4, 0x8c(r1) -/* 80039424 00036384 38 9D 02 98 */ addi r4, r29, 0x298 -/* 80039428 00036388 38 A1 00 54 */ addi r5, r1, 0x54 -/* 8003942C 0003638C 90 61 00 88 */ stw r3, 0x88(r1) -/* 80039430 00036390 38 61 03 3C */ addi r3, r1, 0x33c -/* 80039434 00036394 93 41 00 94 */ stw r26, 0x94(r1) -/* 80039438 00036398 93 61 00 90 */ stw r27, 0x90(r1) -/* 8003943C 0003639C 90 01 00 98 */ stw r0, 0x98(r1) -/* 80039440 000363A0 48 29 CC 2D */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff -/* 80039444 000363A4 D3 A1 03 74 */ stfs f29, 0x374(r1) -/* 80039448 000363A8 38 61 03 78 */ addi r3, r1, 0x378 -/* 8003944C 000363AC 38 81 02 9C */ addi r4, r1, 0x29c -/* 80039450 000363B0 48 2D 97 25 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80039454 000363B4 38 01 00 88 */ addi r0, r1, 0x88 -/* 80039458 000363B8 7F E4 FB 78 */ mr r4, r31 -/* 8003945C 000363BC 90 01 03 A8 */ stw r0, 0x3a8(r1) -/* 80039460 000363C0 38 61 02 08 */ addi r3, r1, 0x208 -/* 80039464 000363C4 38 A1 03 3C */ addi r5, r1, 0x33c -/* 80039468 000363C8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8003946C 000363CC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80039470 000363D0 7D 89 03 A6 */ mtctr r12 -/* 80039474 000363D4 4E 80 04 21 */ bctrl -/* 80039478 000363D8 88 81 02 28 */ lbz r4, 0x228(r1) -/* 8003947C 000363DC C0 01 02 08 */ lfs f0, 0x208(r1) -/* 80039480 000363E0 28 04 00 00 */ cmplwi r4, 0 -/* 80039484 000363E4 C0 21 02 0C */ lfs f1, 0x20c(r1) -/* 80039488 000363E8 C0 41 02 10 */ lfs f2, 0x210(r1) -/* 8003948C 000363EC C0 61 02 14 */ lfs f3, 0x214(r1) -/* 80039490 000363F0 C0 81 02 18 */ lfs f4, 0x218(r1) -/* 80039494 000363F4 C0 A1 02 1C */ lfs f5, 0x21c(r1) -/* 80039498 000363F8 C0 C1 02 20 */ lfs f6, 0x220(r1) -/* 8003949C 000363FC C0 E1 02 24 */ lfs f7, 0x224(r1) -/* 800394A0 00036400 80 A1 02 30 */ lwz r5, 0x230(r1) -/* 800394A4 00036404 80 C1 02 34 */ lwz r6, 0x234(r1) -/* 800394A8 00036408 40 82 04 0C */ bne lbl_800398B4 -/* 800394AC 0003640C 7F E3 FB 78 */ mr r3, r31 -/* 800394B0 00036410 81 9F 00 00 */ lwz r12, 0(r31) -/* 800394B4 00036414 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800394B8 00036418 7D 89 03 A6 */ mtctr r12 -/* 800394BC 0003641C 4E 80 04 21 */ bctrl -/* 800394C0 00036420 3C 03 AC B0 */ addis r0, r3, 0xacb0 -/* 800394C4 00036424 28 00 48 52 */ cmplwi r0, 0x4852 -/* 800394C8 00036428 41 82 01 D4 */ beq lbl_8003969C -/* 800394CC 0003642C 80 AD 82 18 */ lwz r5, lbl_805A6DD8@sda21(r13) -/* 800394D0 00036430 38 60 00 00 */ li r3, 0 -/* 800394D4 00036434 38 80 00 01 */ li r4, 1 -/* 800394D8 00036438 48 35 0A 1D */ bl __shl2i -/* 800394DC 0003643C 80 AD 82 14 */ lwz r5, lbl_805A6DD4@sda21(r13) -/* 800394E0 00036440 7C 9B 23 78 */ mr r27, r4 -/* 800394E4 00036444 7C 7A 1B 78 */ mr r26, r3 -/* 800394E8 00036448 38 60 00 00 */ li r3, 0 -/* 800394EC 0003644C 38 80 00 01 */ li r4, 1 -/* 800394F0 00036450 48 35 0A 05 */ bl __shl2i -/* 800394F4 00036454 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 800394F8 00036458 38 00 00 03 */ li r0, 3 -/* 800394FC 0003645C C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 80039500 00036460 38 A1 00 54 */ addi r5, r1, 0x54 -/* 80039504 00036464 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80039508 00036468 EC 7D 00 B2 */ fmuls f3, f29, f2 -/* 8003950C 0003646C C0 82 84 10 */ lfs f4, lbl_805AA130@sda21(r2) -/* 80039510 00036470 EC 5D 00 72 */ fmuls f2, f29, f1 -/* 80039514 00036474 EC 3D 00 32 */ fmuls f1, f29, f0 -/* 80039518 00036478 90 81 00 74 */ stw r4, 0x74(r1) -/* 8003951C 0003647C C0 02 84 1C */ lfs f0, lbl_805AA13C@sda21(r2) -/* 80039520 00036480 90 61 00 70 */ stw r3, 0x70(r1) -/* 80039524 00036484 EC A4 00 F2 */ fmuls f5, f4, f3 -/* 80039528 00036488 EF A0 07 72 */ fmuls f29, f0, f29 -/* 8003952C 0003648C 93 61 00 7C */ stw r27, 0x7c(r1) -/* 80039530 00036490 EC 64 00 B2 */ fmuls f3, f4, f2 -/* 80039534 00036494 EC 04 00 72 */ fmuls f0, f4, f1 -/* 80039538 00036498 38 61 02 CC */ addi r3, r1, 0x2cc -/* 8003953C 0003649C 93 41 00 78 */ stw r26, 0x78(r1) -/* 80039540 000364A0 FC 20 E8 90 */ fmr f1, f29 -/* 80039544 000364A4 38 81 00 3C */ addi r4, r1, 0x3c -/* 80039548 000364A8 90 01 00 80 */ stw r0, 0x80(r1) -/* 8003954C 000364AC C0 DD 02 9C */ lfs f6, 0x29c(r29) -/* 80039550 000364B0 C0 9D 02 A0 */ lfs f4, 0x2a0(r29) -/* 80039554 000364B4 C0 5D 02 98 */ lfs f2, 0x298(r29) -/* 80039558 000364B8 EC A6 28 28 */ fsubs f5, f6, f5 -/* 8003955C 000364BC EC 64 18 28 */ fsubs f3, f4, f3 -/* 80039560 000364C0 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80039564 000364C4 D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 80039568 000364C8 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8003956C 000364CC D0 61 00 44 */ stfs f3, 0x44(r1) -/* 80039570 000364D0 48 29 CA FD */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff -/* 80039574 000364D4 D3 A1 03 04 */ stfs f29, 0x304(r1) -/* 80039578 000364D8 38 61 03 08 */ addi r3, r1, 0x308 -/* 8003957C 000364DC 38 81 02 9C */ addi r4, r1, 0x29c -/* 80039580 000364E0 48 2D 95 F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80039584 000364E4 38 01 00 70 */ addi r0, r1, 0x70 -/* 80039588 000364E8 7F E4 FB 78 */ mr r4, r31 -/* 8003958C 000364EC 90 01 03 38 */ stw r0, 0x338(r1) -/* 80039590 000364F0 38 61 01 D8 */ addi r3, r1, 0x1d8 -/* 80039594 000364F4 38 A1 02 CC */ addi r5, r1, 0x2cc -/* 80039598 000364F8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8003959C 000364FC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800395A0 00036500 7D 89 03 A6 */ mtctr r12 -/* 800395A4 00036504 4E 80 04 21 */ bctrl -/* 800395A8 00036508 88 81 01 F8 */ lbz r4, 0x1f8(r1) -/* 800395AC 0003650C C0 01 01 D8 */ lfs f0, 0x1d8(r1) -/* 800395B0 00036510 28 04 00 00 */ cmplwi r4, 0 -/* 800395B4 00036514 C0 21 01 DC */ lfs f1, 0x1dc(r1) -/* 800395B8 00036518 C0 41 01 E0 */ lfs f2, 0x1e0(r1) -/* 800395BC 0003651C C0 61 01 E4 */ lfs f3, 0x1e4(r1) -/* 800395C0 00036520 C0 81 01 E8 */ lfs f4, 0x1e8(r1) -/* 800395C4 00036524 C0 A1 01 EC */ lfs f5, 0x1ec(r1) -/* 800395C8 00036528 C0 C1 01 F0 */ lfs f6, 0x1f0(r1) -/* 800395CC 0003652C C0 E1 01 F4 */ lfs f7, 0x1f4(r1) -/* 800395D0 00036530 80 A1 02 00 */ lwz r5, 0x200(r1) -/* 800395D4 00036534 80 C1 02 04 */ lwz r6, 0x204(r1) -/* 800395D8 00036538 41 82 02 5C */ beq lbl_80039834 -/* 800395DC 0003653C 38 00 00 01 */ li r0, 1 -/* 800395E0 00036540 34 61 01 A4 */ addic. r3, r1, 0x1a4 -/* 800395E4 00036544 98 01 01 D4 */ stb r0, 0x1d4(r1) -/* 800395E8 00036548 41 82 00 30 */ beq lbl_80039618 -/* 800395EC 0003654C D0 03 00 00 */ stfs f0, 0(r3) -/* 800395F0 00036550 D0 23 00 04 */ stfs f1, 4(r3) -/* 800395F4 00036554 D0 43 00 08 */ stfs f2, 8(r3) -/* 800395F8 00036558 D0 63 00 0C */ stfs f3, 0xc(r3) -/* 800395FC 0003655C D0 83 00 10 */ stfs f4, 0x10(r3) -/* 80039600 00036560 D0 A3 00 14 */ stfs f5, 0x14(r3) -/* 80039604 00036564 D0 C3 00 18 */ stfs f6, 0x18(r3) -/* 80039608 00036568 D0 E3 00 1C */ stfs f7, 0x1c(r3) -/* 8003960C 0003656C 98 83 00 20 */ stb r4, 0x20(r3) -/* 80039610 00036570 90 C3 00 2C */ stw r6, 0x2c(r3) -/* 80039614 00036574 90 A3 00 28 */ stw r5, 0x28(r3) -lbl_80039618: -/* 80039618 00036578 A0 7E 00 08 */ lhz r3, 8(r30) -/* 8003961C 0003657C 88 01 01 D4 */ lbz r0, 0x1d4(r1) -/* 80039620 00036580 B0 7C 00 00 */ sth r3, 0(r28) -/* 80039624 00036584 28 00 00 00 */ cmplwi r0, 0 -/* 80039628 00036588 98 1C 00 34 */ stb r0, 0x34(r28) -/* 8003962C 0003658C 41 82 00 64 */ beq lbl_80039690 -/* 80039630 00036590 34 9C 00 04 */ addic. r4, r28, 4 -/* 80039634 00036594 41 82 00 5C */ beq lbl_80039690 -/* 80039638 00036598 C0 21 01 A4 */ lfs f1, 0x1a4(r1) -/* 8003963C 0003659C C0 01 01 A8 */ lfs f0, 0x1a8(r1) -/* 80039640 000365A0 D0 24 00 00 */ stfs f1, 0(r4) -/* 80039644 000365A4 C0 21 01 AC */ lfs f1, 0x1ac(r1) -/* 80039648 000365A8 D0 04 00 04 */ stfs f0, 4(r4) -/* 8003964C 000365AC C0 01 01 B0 */ lfs f0, 0x1b0(r1) -/* 80039650 000365B0 D0 24 00 08 */ stfs f1, 8(r4) -/* 80039654 000365B4 C0 21 01 B4 */ lfs f1, 0x1b4(r1) -/* 80039658 000365B8 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8003965C 000365BC C0 01 01 B8 */ lfs f0, 0x1b8(r1) -/* 80039660 000365C0 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039664 000365C4 C0 21 01 BC */ lfs f1, 0x1bc(r1) -/* 80039668 000365C8 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 8003966C 000365CC C0 01 01 C0 */ lfs f0, 0x1c0(r1) -/* 80039670 000365D0 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039674 000365D4 88 01 01 C4 */ lbz r0, 0x1c4(r1) -/* 80039678 000365D8 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8003967C 000365DC 80 61 01 D0 */ lwz r3, 0x1d0(r1) -/* 80039680 000365E0 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039684 000365E4 80 01 01 CC */ lwz r0, 0x1cc(r1) -/* 80039688 000365E8 90 64 00 2C */ stw r3, 0x2c(r4) -/* 8003968C 000365EC 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039690: -/* 80039690 000365F0 38 00 00 00 */ li r0, 0 -/* 80039694 000365F4 98 01 01 D4 */ stb r0, 0x1d4(r1) -/* 80039698 000365F8 48 00 03 D8 */ b lbl_80039A70 -lbl_8003969C: -/* 8003969C 000365FC 7F C4 F3 78 */ mr r4, r30 -/* 800396A0 00036600 38 61 00 0C */ addi r3, r1, 0xc -/* 800396A4 00036604 48 07 5D 15 */ bl "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" -/* 800396A8 00036608 83 43 00 04 */ lwz r26, 4(r3) -/* 800396AC 0003660C 28 1A 00 00 */ cmplwi r26, 0 -/* 800396B0 00036610 41 82 01 84 */ beq lbl_80039834 -/* 800396B4 00036614 7F 43 D3 78 */ mr r3, r26 -/* 800396B8 00036618 48 16 F4 C5 */ bl GetSphereRadius__15CCollisionActorCFv -/* 800396BC 0003661C C0 FD 02 9C */ lfs f7, 0x29c(r29) -/* 800396C0 00036620 EC 01 00 72 */ fmuls f0, f1, f1 -/* 800396C4 00036624 C0 5A 00 50 */ lfs f2, 0x50(r26) -/* 800396C8 00036628 C0 DD 02 98 */ lfs f6, 0x298(r29) -/* 800396CC 0003662C EC 87 10 28 */ fsubs f4, f7, f2 -/* 800396D0 00036630 C0 5A 00 40 */ lfs f2, 0x40(r26) -/* 800396D4 00036634 C1 1D 02 A0 */ lfs f8, 0x2a0(r29) -/* 800396D8 00036638 EC A6 10 28 */ fsubs f5, f6, f2 -/* 800396DC 0003663C C0 7A 00 60 */ lfs f3, 0x60(r26) -/* 800396E0 00036640 EC 44 01 32 */ fmuls f2, f4, f4 -/* 800396E4 00036644 EC 68 18 28 */ fsubs f3, f8, f3 -/* 800396E8 00036648 EC 45 11 7A */ fmadds f2, f5, f5, f2 -/* 800396EC 0003664C EC 43 10 FA */ fmadds f2, f3, f3, f2 -/* 800396F0 00036650 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800396F4 00036654 40 80 01 40 */ bge lbl_80039834 -/* 800396F8 00036658 C1 21 00 54 */ lfs f9, 0x54(r1) -/* 800396FC 0003665C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80039700 00036660 C1 41 00 58 */ lfs f10, 0x58(r1) -/* 80039704 00036664 38 81 00 24 */ addi r4, r1, 0x24 -/* 80039708 00036668 C1 61 00 5C */ lfs f11, 0x5c(r1) -/* 8003970C 0003666C EC 61 02 72 */ fmuls f3, f1, f9 -/* 80039710 00036670 C0 02 84 2C */ lfs f0, lbl_805AA14C@sda21(r2) -/* 80039714 00036674 EC 41 02 B2 */ fmuls f2, f1, f10 -/* 80039718 00036678 EC 21 02 F2 */ fmuls f1, f1, f11 -/* 8003971C 0003667C EC A0 00 F2 */ fmuls f5, f0, f3 -/* 80039720 00036680 EC 80 00 B2 */ fmuls f4, f0, f2 -/* 80039724 00036684 EC 60 00 72 */ fmuls f3, f0, f1 -/* 80039728 00036688 FC 40 48 50 */ fneg f2, f9 -/* 8003972C 0003668C FC 20 50 50 */ fneg f1, f10 -/* 80039730 00036690 FC 00 58 50 */ fneg f0, f11 -/* 80039734 00036694 EF A6 28 28 */ fsubs f29, f6, f5 -/* 80039738 00036698 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8003973C 0003669C EF C7 20 28 */ fsubs f30, f7, f4 -/* 80039740 000366A0 EF E8 18 28 */ fsubs f31, f8, f3 -/* 80039744 000366A4 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80039748 000366A8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8003974C 000366AC 48 2D A6 85 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80039750 000366B0 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80039754 000366B4 38 00 00 01 */ li r0, 1 -/* 80039758 000366B8 C0 61 00 30 */ lfs f3, 0x30(r1) -/* 8003975C 000366BC 34 61 01 70 */ addic. r3, r1, 0x170 -/* 80039760 000366C0 EC 1E 00 B2 */ fmuls f0, f30, f2 -/* 80039764 000366C4 C0 81 00 38 */ lfs f4, 0x38(r1) -/* 80039768 000366C8 98 01 01 A0 */ stb r0, 0x1a0(r1) -/* 8003976C 000366CC 80 9E 00 68 */ lwz r4, 0x68(r30) -/* 80039770 000366D0 EC 1D 00 FA */ fmadds f0, f29, f3, f0 -/* 80039774 000366D4 80 BE 00 6C */ lwz r5, 0x6c(r30) -/* 80039778 000366D8 EC 3F 01 3A */ fmadds f1, f31, f4, f0 -/* 8003977C 000366DC 41 82 00 34 */ beq lbl_800397B0 -/* 80039780 000366E0 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) -/* 80039784 000366E4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80039788 000366E8 D3 A3 00 04 */ stfs f29, 4(r3) -/* 8003978C 000366EC D3 C3 00 08 */ stfs f30, 8(r3) -/* 80039790 000366F0 D3 E3 00 0C */ stfs f31, 0xc(r3) -/* 80039794 000366F4 D0 63 00 10 */ stfs f3, 0x10(r3) -/* 80039798 000366F8 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 8003979C 000366FC D0 83 00 18 */ stfs f4, 0x18(r3) -/* 800397A0 00036700 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 800397A4 00036704 98 03 00 20 */ stb r0, 0x20(r3) -/* 800397A8 00036708 90 A3 00 2C */ stw r5, 0x2c(r3) -/* 800397AC 0003670C 90 83 00 28 */ stw r4, 0x28(r3) -lbl_800397B0: -/* 800397B0 00036710 A0 7E 00 08 */ lhz r3, 8(r30) -/* 800397B4 00036714 88 01 01 A0 */ lbz r0, 0x1a0(r1) -/* 800397B8 00036718 B0 7C 00 00 */ sth r3, 0(r28) -/* 800397BC 0003671C 28 00 00 00 */ cmplwi r0, 0 -/* 800397C0 00036720 98 1C 00 34 */ stb r0, 0x34(r28) -/* 800397C4 00036724 41 82 00 64 */ beq lbl_80039828 -/* 800397C8 00036728 34 9C 00 04 */ addic. r4, r28, 4 -/* 800397CC 0003672C 41 82 00 5C */ beq lbl_80039828 -/* 800397D0 00036730 C0 21 01 70 */ lfs f1, 0x170(r1) -/* 800397D4 00036734 C0 01 01 74 */ lfs f0, 0x174(r1) -/* 800397D8 00036738 D0 24 00 00 */ stfs f1, 0(r4) -/* 800397DC 0003673C C0 21 01 78 */ lfs f1, 0x178(r1) -/* 800397E0 00036740 D0 04 00 04 */ stfs f0, 4(r4) -/* 800397E4 00036744 C0 01 01 7C */ lfs f0, 0x17c(r1) -/* 800397E8 00036748 D0 24 00 08 */ stfs f1, 8(r4) -/* 800397EC 0003674C C0 21 01 80 */ lfs f1, 0x180(r1) -/* 800397F0 00036750 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 800397F4 00036754 C0 01 01 84 */ lfs f0, 0x184(r1) -/* 800397F8 00036758 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 800397FC 0003675C C0 21 01 88 */ lfs f1, 0x188(r1) -/* 80039800 00036760 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039804 00036764 C0 01 01 8C */ lfs f0, 0x18c(r1) -/* 80039808 00036768 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 8003980C 0003676C 88 01 01 90 */ lbz r0, 0x190(r1) -/* 80039810 00036770 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039814 00036774 80 61 01 9C */ lwz r3, 0x19c(r1) -/* 80039818 00036778 98 04 00 20 */ stb r0, 0x20(r4) -/* 8003981C 0003677C 80 01 01 98 */ lwz r0, 0x198(r1) -/* 80039820 00036780 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039824 00036784 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039828: -/* 80039828 00036788 38 00 00 00 */ li r0, 0 -/* 8003982C 0003678C 98 01 01 A0 */ stb r0, 0x1a0(r1) -/* 80039830 00036790 48 00 02 40 */ b lbl_80039A70 -lbl_80039834: -/* 80039834 00036794 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80039838 00036798 38 60 00 00 */ li r3, 0 -/* 8003983C 0003679C 98 61 01 6C */ stb r3, 0x16c(r1) -/* 80039840 000367A0 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039844 000367A4 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039848 000367A8 48 00 00 60 */ b lbl_800398A8 -/* 8003984C 000367AC 41 82 00 5C */ beq lbl_800398A8 -/* 80039850 000367B0 C0 21 01 3C */ lfs f1, 0x13c(r1) -/* 80039854 000367B4 C0 01 01 40 */ lfs f0, 0x140(r1) -/* 80039858 000367B8 D0 24 00 00 */ stfs f1, 0(r4) -/* 8003985C 000367BC C0 21 01 44 */ lfs f1, 0x144(r1) -/* 80039860 000367C0 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039864 000367C4 C0 01 01 48 */ lfs f0, 0x148(r1) -/* 80039868 000367C8 D0 24 00 08 */ stfs f1, 8(r4) -/* 8003986C 000367CC C0 21 01 4C */ lfs f1, 0x14c(r1) -/* 80039870 000367D0 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039874 000367D4 C0 01 01 50 */ lfs f0, 0x150(r1) -/* 80039878 000367D8 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 8003987C 000367DC C0 21 01 54 */ lfs f1, 0x154(r1) -/* 80039880 000367E0 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039884 000367E4 C0 01 01 58 */ lfs f0, 0x158(r1) -/* 80039888 000367E8 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 8003988C 000367EC 88 01 01 5C */ lbz r0, 0x15c(r1) -/* 80039890 000367F0 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039894 000367F4 80 61 01 68 */ lwz r3, 0x168(r1) -/* 80039898 000367F8 98 04 00 20 */ stb r0, 0x20(r4) -/* 8003989C 000367FC 80 01 01 64 */ lwz r0, 0x164(r1) -/* 800398A0 00036800 90 64 00 2C */ stw r3, 0x2c(r4) -/* 800398A4 00036804 90 04 00 28 */ stw r0, 0x28(r4) -lbl_800398A8: -/* 800398A8 00036808 38 00 00 00 */ li r0, 0 -/* 800398AC 0003680C 98 01 01 6C */ stb r0, 0x16c(r1) -/* 800398B0 00036810 48 00 01 C0 */ b lbl_80039A70 -lbl_800398B4: -/* 800398B4 00036814 38 00 00 01 */ li r0, 1 -/* 800398B8 00036818 34 61 01 08 */ addic. r3, r1, 0x108 -/* 800398BC 0003681C 98 01 01 38 */ stb r0, 0x138(r1) -/* 800398C0 00036820 41 82 00 30 */ beq lbl_800398F0 -/* 800398C4 00036824 D0 03 00 00 */ stfs f0, 0(r3) -/* 800398C8 00036828 D0 23 00 04 */ stfs f1, 4(r3) -/* 800398CC 0003682C D0 43 00 08 */ stfs f2, 8(r3) -/* 800398D0 00036830 D0 63 00 0C */ stfs f3, 0xc(r3) -/* 800398D4 00036834 D0 83 00 10 */ stfs f4, 0x10(r3) -/* 800398D8 00036838 D0 A3 00 14 */ stfs f5, 0x14(r3) -/* 800398DC 0003683C D0 C3 00 18 */ stfs f6, 0x18(r3) -/* 800398E0 00036840 D0 E3 00 1C */ stfs f7, 0x1c(r3) -/* 800398E4 00036844 98 83 00 20 */ stb r4, 0x20(r3) -/* 800398E8 00036848 90 C3 00 2C */ stw r6, 0x2c(r3) -/* 800398EC 0003684C 90 A3 00 28 */ stw r5, 0x28(r3) -lbl_800398F0: -/* 800398F0 00036850 A0 7E 00 08 */ lhz r3, 8(r30) -/* 800398F4 00036854 88 01 01 38 */ lbz r0, 0x138(r1) -/* 800398F8 00036858 B0 7C 00 00 */ sth r3, 0(r28) -/* 800398FC 0003685C 28 00 00 00 */ cmplwi r0, 0 -/* 80039900 00036860 98 1C 00 34 */ stb r0, 0x34(r28) -/* 80039904 00036864 41 82 00 64 */ beq lbl_80039968 -/* 80039908 00036868 34 9C 00 04 */ addic. r4, r28, 4 -/* 8003990C 0003686C 41 82 00 5C */ beq lbl_80039968 -/* 80039910 00036870 C0 21 01 08 */ lfs f1, 0x108(r1) -/* 80039914 00036874 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 80039918 00036878 D0 24 00 00 */ stfs f1, 0(r4) -/* 8003991C 0003687C C0 21 01 10 */ lfs f1, 0x110(r1) -/* 80039920 00036880 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039924 00036884 C0 01 01 14 */ lfs f0, 0x114(r1) -/* 80039928 00036888 D0 24 00 08 */ stfs f1, 8(r4) -/* 8003992C 0003688C C0 21 01 18 */ lfs f1, 0x118(r1) -/* 80039930 00036890 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039934 00036894 C0 01 01 1C */ lfs f0, 0x11c(r1) -/* 80039938 00036898 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 8003993C 0003689C C0 21 01 20 */ lfs f1, 0x120(r1) -/* 80039940 000368A0 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039944 000368A4 C0 01 01 24 */ lfs f0, 0x124(r1) -/* 80039948 000368A8 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 8003994C 000368AC 88 01 01 28 */ lbz r0, 0x128(r1) -/* 80039950 000368B0 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039954 000368B4 80 61 01 34 */ lwz r3, 0x134(r1) -/* 80039958 000368B8 98 04 00 20 */ stb r0, 0x20(r4) -/* 8003995C 000368BC 80 01 01 30 */ lwz r0, 0x130(r1) -/* 80039960 000368C0 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039964 000368C4 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039968: -/* 80039968 000368C8 38 00 00 00 */ li r0, 0 -/* 8003996C 000368CC 98 01 01 38 */ stb r0, 0x138(r1) -/* 80039970 000368D0 48 00 01 00 */ b lbl_80039A70 -lbl_80039974: -/* 80039974 000368D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80039978 000368D8 38 60 00 00 */ li r3, 0 -/* 8003997C 000368DC 98 61 01 04 */ stb r3, 0x104(r1) -/* 80039980 000368E0 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039984 000368E4 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039988 000368E8 48 00 00 60 */ b lbl_800399E8 -/* 8003998C 000368EC 41 82 00 5C */ beq lbl_800399E8 -/* 80039990 000368F0 C0 21 00 D4 */ lfs f1, 0xd4(r1) -/* 80039994 000368F4 C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 80039998 000368F8 D0 24 00 00 */ stfs f1, 0(r4) -/* 8003999C 000368FC C0 21 00 DC */ lfs f1, 0xdc(r1) -/* 800399A0 00036900 D0 04 00 04 */ stfs f0, 4(r4) -/* 800399A4 00036904 C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 800399A8 00036908 D0 24 00 08 */ stfs f1, 8(r4) -/* 800399AC 0003690C C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 800399B0 00036910 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 800399B4 00036914 C0 01 00 E8 */ lfs f0, 0xe8(r1) -/* 800399B8 00036918 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 800399BC 0003691C C0 21 00 EC */ lfs f1, 0xec(r1) -/* 800399C0 00036920 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 800399C4 00036924 C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 800399C8 00036928 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 800399CC 0003692C 88 01 00 F4 */ lbz r0, 0xf4(r1) -/* 800399D0 00036930 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 800399D4 00036934 80 61 01 00 */ lwz r3, 0x100(r1) -/* 800399D8 00036938 98 04 00 20 */ stb r0, 0x20(r4) -/* 800399DC 0003693C 80 01 00 FC */ lwz r0, 0xfc(r1) -/* 800399E0 00036940 90 64 00 2C */ stw r3, 0x2c(r4) -/* 800399E4 00036944 90 04 00 28 */ stw r0, 0x28(r4) -lbl_800399E8: -/* 800399E8 00036948 38 00 00 00 */ li r0, 0 -/* 800399EC 0003694C 98 01 01 04 */ stb r0, 0x104(r1) -/* 800399F0 00036950 48 00 00 80 */ b lbl_80039A70 -lbl_800399F4: -/* 800399F4 00036954 A0 1E 00 08 */ lhz r0, 8(r30) -/* 800399F8 00036958 38 60 00 00 */ li r3, 0 -/* 800399FC 0003695C 98 61 00 D0 */ stb r3, 0xd0(r1) -/* 80039A00 00036960 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039A04 00036964 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039A08 00036968 48 00 00 60 */ b lbl_80039A68 -/* 80039A0C 0003696C 41 82 00 5C */ beq lbl_80039A68 -/* 80039A10 00036970 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 80039A14 00036974 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 80039A18 00036978 D0 24 00 00 */ stfs f1, 0(r4) -/* 80039A1C 0003697C C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 80039A20 00036980 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039A24 00036984 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 80039A28 00036988 D0 24 00 08 */ stfs f1, 8(r4) -/* 80039A2C 0003698C C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 80039A30 00036990 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039A34 00036994 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80039A38 00036998 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039A3C 0003699C C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 80039A40 000369A0 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039A44 000369A4 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 80039A48 000369A8 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039A4C 000369AC 88 01 00 C0 */ lbz r0, 0xc0(r1) -/* 80039A50 000369B0 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039A54 000369B4 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 80039A58 000369B8 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039A5C 000369BC 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 80039A60 000369C0 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039A64 000369C4 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039A68: -/* 80039A68 000369C8 38 00 00 00 */ li r0, 0 -/* 80039A6C 000369CC 98 01 00 D0 */ stb r0, 0xd0(r1) -lbl_80039A70: -/* 80039A70 000369D0 E3 E1 03 F8 */ psq_l f31, 1016(r1), 0, qr0 -/* 80039A74 000369D4 CB E1 03 F0 */ lfd f31, 0x3f0(r1) -/* 80039A78 000369D8 E3 C1 03 E8 */ psq_l f30, 1000(r1), 0, qr0 -/* 80039A7C 000369DC CB C1 03 E0 */ lfd f30, 0x3e0(r1) -/* 80039A80 000369E0 E3 A1 03 D8 */ psq_l f29, 984(r1), 0, qr0 -/* 80039A84 000369E4 CB A1 03 D0 */ lfd f29, 0x3d0(r1) -/* 80039A88 000369E8 BB 41 03 B8 */ lmw r26, 0x3b8(r1) -/* 80039A8C 000369EC 80 01 04 04 */ lwz r0, 0x404(r1) -/* 80039A90 000369F0 7C 08 03 A6 */ mtlr r0 -/* 80039A94 000369F4 38 21 04 00 */ addi r1, r1, 0x400 -/* 80039A98 000369F8 4E 80 00 20 */ blr - -.global CanCollideWithGameObject__15CGameProjectileFR6CActorR13CStateManager -CanCollideWithGameObject__15CGameProjectileFR6CActorR13CStateManager: -/* 80039A9C 000369FC 94 21 FE 20 */ stwu r1, -0x1e0(r1) -/* 80039AA0 00036A00 7C 08 02 A6 */ mflr r0 -/* 80039AA4 00036A04 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 80039AA8 00036A08 93 E1 01 DC */ stw r31, 0x1dc(r1) -/* 80039AAC 00036A0C 7C DF 33 78 */ mr r31, r6 -/* 80039AB0 00036A10 93 C1 01 D8 */ stw r30, 0x1d8(r1) -/* 80039AB4 00036A14 7C BE 2B 78 */ mr r30, r5 -/* 80039AB8 00036A18 93 A1 01 D4 */ stw r29, 0x1d4(r1) -/* 80039ABC 00036A1C 7C 9D 23 78 */ mr r29, r4 -/* 80039AC0 00036A20 7F C4 F3 78 */ mr r4, r30 -/* 80039AC4 00036A24 93 81 01 D0 */ stw r28, 0x1d0(r1) -/* 80039AC8 00036A28 7C 7C 1B 78 */ mr r28, r3 -/* 80039ACC 00036A2C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80039AD0 00036A30 48 07 3C A9 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" -/* 80039AD4 00036A34 80 63 00 04 */ lwz r3, 4(r3) -/* 80039AD8 00036A38 28 03 00 00 */ cmplwi r3, 0 -/* 80039ADC 00036A3C 40 82 03 70 */ bne lbl_80039E4C -/* 80039AE0 00036A40 80 1E 00 68 */ lwz r0, 0x68(r30) -/* 80039AE4 00036A44 38 80 00 00 */ li r4, 0 -/* 80039AE8 00036A48 80 BE 00 6C */ lwz r5, 0x6c(r30) -/* 80039AEC 00036A4C 3C 60 00 08 */ lis r3, 8 -/* 80039AF0 00036A50 7C 00 20 38 */ and r0, r0, r4 -/* 80039AF4 00036A54 7C A3 18 38 */ and r3, r5, r3 -/* 80039AF8 00036A58 7C 63 22 78 */ xor r3, r3, r4 -/* 80039AFC 00036A5C 7C 00 22 78 */ xor r0, r0, r4 -/* 80039B00 00036A60 7C 60 03 79 */ or. r0, r3, r0 -/* 80039B04 00036A64 40 82 00 A4 */ bne lbl_80039BA8 -/* 80039B08 00036A68 7F C3 F3 78 */ mr r3, r30 -/* 80039B0C 00036A6C 7F E4 FB 78 */ mr r4, r31 -/* 80039B10 00036A70 81 9E 00 00 */ lwz r12, 0(r30) -/* 80039B14 00036A74 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80039B18 00036A78 7D 89 03 A6 */ mtctr r12 -/* 80039B1C 00036A7C 4E 80 04 21 */ bctrl -/* 80039B20 00036A80 28 03 00 00 */ cmplwi r3, 0 -/* 80039B24 00036A84 40 82 00 84 */ bne lbl_80039BA8 -/* 80039B28 00036A88 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80039B2C 00036A8C 38 60 00 00 */ li r3, 0 -/* 80039B30 00036A90 98 61 01 CC */ stb r3, 0x1cc(r1) -/* 80039B34 00036A94 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039B38 00036A98 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039B3C 00036A9C 48 00 00 60 */ b lbl_80039B9C -/* 80039B40 00036AA0 41 82 00 5C */ beq lbl_80039B9C -/* 80039B44 00036AA4 C0 21 01 9C */ lfs f1, 0x19c(r1) -/* 80039B48 00036AA8 C0 01 01 A0 */ lfs f0, 0x1a0(r1) -/* 80039B4C 00036AAC D0 24 00 00 */ stfs f1, 0(r4) -/* 80039B50 00036AB0 C0 21 01 A4 */ lfs f1, 0x1a4(r1) -/* 80039B54 00036AB4 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039B58 00036AB8 C0 01 01 A8 */ lfs f0, 0x1a8(r1) -/* 80039B5C 00036ABC D0 24 00 08 */ stfs f1, 8(r4) -/* 80039B60 00036AC0 C0 21 01 AC */ lfs f1, 0x1ac(r1) -/* 80039B64 00036AC4 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039B68 00036AC8 C0 01 01 B0 */ lfs f0, 0x1b0(r1) -/* 80039B6C 00036ACC D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039B70 00036AD0 C0 21 01 B4 */ lfs f1, 0x1b4(r1) -/* 80039B74 00036AD4 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039B78 00036AD8 C0 01 01 B8 */ lfs f0, 0x1b8(r1) -/* 80039B7C 00036ADC D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039B80 00036AE0 88 01 01 BC */ lbz r0, 0x1bc(r1) -/* 80039B84 00036AE4 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039B88 00036AE8 80 61 01 C8 */ lwz r3, 0x1c8(r1) -/* 80039B8C 00036AEC 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039B90 00036AF0 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 80039B94 00036AF4 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039B98 00036AF8 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039B9C: -/* 80039B9C 00036AFC 38 00 00 00 */ li r0, 0 -/* 80039BA0 00036B00 98 01 01 CC */ stb r0, 0x1cc(r1) -/* 80039BA4 00036B04 48 00 04 54 */ b lbl_80039FF8 -lbl_80039BA8: -/* 80039BA8 00036B08 A0 7E 00 08 */ lhz r3, 8(r30) -/* 80039BAC 00036B0C A0 1D 00 EC */ lhz r0, 0xec(r29) -/* 80039BB0 00036B10 7C 03 00 40 */ cmplw r3, r0 -/* 80039BB4 00036B14 40 82 00 84 */ bne lbl_80039C38 -/* 80039BB8 00036B18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80039BBC 00036B1C 38 60 00 00 */ li r3, 0 -/* 80039BC0 00036B20 98 61 01 98 */ stb r3, 0x198(r1) -/* 80039BC4 00036B24 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039BC8 00036B28 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039BCC 00036B2C 48 00 00 60 */ b lbl_80039C2C -/* 80039BD0 00036B30 41 82 00 5C */ beq lbl_80039C2C -/* 80039BD4 00036B34 C0 21 01 68 */ lfs f1, 0x168(r1) -/* 80039BD8 00036B38 C0 01 01 6C */ lfs f0, 0x16c(r1) -/* 80039BDC 00036B3C D0 24 00 00 */ stfs f1, 0(r4) -/* 80039BE0 00036B40 C0 21 01 70 */ lfs f1, 0x170(r1) -/* 80039BE4 00036B44 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039BE8 00036B48 C0 01 01 74 */ lfs f0, 0x174(r1) -/* 80039BEC 00036B4C D0 24 00 08 */ stfs f1, 8(r4) -/* 80039BF0 00036B50 C0 21 01 78 */ lfs f1, 0x178(r1) -/* 80039BF4 00036B54 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039BF8 00036B58 C0 01 01 7C */ lfs f0, 0x17c(r1) -/* 80039BFC 00036B5C D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039C00 00036B60 C0 21 01 80 */ lfs f1, 0x180(r1) -/* 80039C04 00036B64 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039C08 00036B68 C0 01 01 84 */ lfs f0, 0x184(r1) -/* 80039C0C 00036B6C D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039C10 00036B70 88 01 01 88 */ lbz r0, 0x188(r1) -/* 80039C14 00036B74 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039C18 00036B78 80 61 01 94 */ lwz r3, 0x194(r1) -/* 80039C1C 00036B7C 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039C20 00036B80 80 01 01 90 */ lwz r0, 0x190(r1) -/* 80039C24 00036B84 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039C28 00036B88 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039C2C: -/* 80039C2C 00036B8C 38 00 00 00 */ li r0, 0 -/* 80039C30 00036B90 98 01 01 98 */ stb r0, 0x198(r1) -/* 80039C34 00036B94 48 00 03 C4 */ b lbl_80039FF8 -lbl_80039C38: -/* 80039C38 00036B98 A0 1D 02 C2 */ lhz r0, 0x2c2(r29) -/* 80039C3C 00036B9C 7C 03 00 40 */ cmplw r3, r0 -/* 80039C40 00036BA0 40 82 00 84 */ bne lbl_80039CC4 -/* 80039C44 00036BA4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80039C48 00036BA8 38 60 00 00 */ li r3, 0 -/* 80039C4C 00036BAC 98 61 01 64 */ stb r3, 0x164(r1) -/* 80039C50 00036BB0 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039C54 00036BB4 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039C58 00036BB8 48 00 00 60 */ b lbl_80039CB8 -/* 80039C5C 00036BBC 41 82 00 5C */ beq lbl_80039CB8 -/* 80039C60 00036BC0 C0 21 01 34 */ lfs f1, 0x134(r1) -/* 80039C64 00036BC4 C0 01 01 38 */ lfs f0, 0x138(r1) -/* 80039C68 00036BC8 D0 24 00 00 */ stfs f1, 0(r4) -/* 80039C6C 00036BCC C0 21 01 3C */ lfs f1, 0x13c(r1) -/* 80039C70 00036BD0 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039C74 00036BD4 C0 01 01 40 */ lfs f0, 0x140(r1) -/* 80039C78 00036BD8 D0 24 00 08 */ stfs f1, 8(r4) -/* 80039C7C 00036BDC C0 21 01 44 */ lfs f1, 0x144(r1) -/* 80039C80 00036BE0 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039C84 00036BE4 C0 01 01 48 */ lfs f0, 0x148(r1) -/* 80039C88 00036BE8 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039C8C 00036BEC C0 21 01 4C */ lfs f1, 0x14c(r1) -/* 80039C90 00036BF0 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039C94 00036BF4 C0 01 01 50 */ lfs f0, 0x150(r1) -/* 80039C98 00036BF8 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039C9C 00036BFC 88 01 01 54 */ lbz r0, 0x154(r1) -/* 80039CA0 00036C00 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039CA4 00036C04 80 61 01 60 */ lwz r3, 0x160(r1) -/* 80039CA8 00036C08 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039CAC 00036C0C 80 01 01 5C */ lwz r0, 0x15c(r1) -/* 80039CB0 00036C10 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039CB4 00036C14 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039CB8: -/* 80039CB8 00036C18 38 00 00 00 */ li r0, 0 -/* 80039CBC 00036C1C 98 01 01 64 */ stb r0, 0x164(r1) -/* 80039CC0 00036C20 48 00 03 38 */ b lbl_80039FF8 -lbl_80039CC4: -/* 80039CC4 00036C24 80 DD 01 00 */ lwz r6, 0x100(r29) -/* 80039CC8 00036C28 38 80 00 00 */ li r4, 0 -/* 80039CCC 00036C2C 80 FD 01 04 */ lwz r7, 0x104(r29) -/* 80039CD0 00036C30 80 1E 00 68 */ lwz r0, 0x68(r30) -/* 80039CD4 00036C34 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 80039CD8 00036C38 7C C0 00 38 */ and r0, r6, r0 -/* 80039CDC 00036C3C 81 1D 00 F8 */ lwz r8, 0xf8(r29) -/* 80039CE0 00036C40 7C E3 18 38 */ and r3, r7, r3 -/* 80039CE4 00036C44 81 3D 00 FC */ lwz r9, 0xfc(r29) -/* 80039CE8 00036C48 80 BD 01 08 */ lwz r5, 0x108(r29) -/* 80039CEC 00036C4C 7C 63 22 78 */ xor r3, r3, r4 -/* 80039CF0 00036C50 7C 00 22 78 */ xor r0, r0, r4 -/* 80039CF4 00036C54 91 21 00 1C */ stw r9, 0x1c(r1) -/* 80039CF8 00036C58 7C 60 03 79 */ or. r0, r3, r0 -/* 80039CFC 00036C5C 91 01 00 18 */ stw r8, 0x18(r1) -/* 80039D00 00036C60 90 E1 00 24 */ stw r7, 0x24(r1) -/* 80039D04 00036C64 90 C1 00 20 */ stw r6, 0x20(r1) -/* 80039D08 00036C68 90 A1 00 28 */ stw r5, 0x28(r1) -/* 80039D0C 00036C6C 41 82 00 88 */ beq lbl_80039D94 -/* 80039D10 00036C70 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80039D14 00036C74 28 04 00 00 */ cmplwi r4, 0 -/* 80039D18 00036C78 98 81 01 30 */ stb r4, 0x130(r1) -/* 80039D1C 00036C7C B0 1C 00 00 */ sth r0, 0(r28) -/* 80039D20 00036C80 98 9C 00 34 */ stb r4, 0x34(r28) -/* 80039D24 00036C84 41 82 00 64 */ beq lbl_80039D88 -/* 80039D28 00036C88 34 9C 00 04 */ addic. r4, r28, 4 -/* 80039D2C 00036C8C 41 82 00 5C */ beq lbl_80039D88 -/* 80039D30 00036C90 C0 21 01 00 */ lfs f1, 0x100(r1) -/* 80039D34 00036C94 C0 01 01 04 */ lfs f0, 0x104(r1) -/* 80039D38 00036C98 D0 24 00 00 */ stfs f1, 0(r4) -/* 80039D3C 00036C9C C0 21 01 08 */ lfs f1, 0x108(r1) -/* 80039D40 00036CA0 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039D44 00036CA4 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 80039D48 00036CA8 D0 24 00 08 */ stfs f1, 8(r4) -/* 80039D4C 00036CAC C0 21 01 10 */ lfs f1, 0x110(r1) -/* 80039D50 00036CB0 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039D54 00036CB4 C0 01 01 14 */ lfs f0, 0x114(r1) -/* 80039D58 00036CB8 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039D5C 00036CBC C0 21 01 18 */ lfs f1, 0x118(r1) -/* 80039D60 00036CC0 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039D64 00036CC4 C0 01 01 1C */ lfs f0, 0x11c(r1) -/* 80039D68 00036CC8 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039D6C 00036CCC 88 01 01 20 */ lbz r0, 0x120(r1) -/* 80039D70 00036CD0 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039D74 00036CD4 80 61 01 2C */ lwz r3, 0x12c(r1) -/* 80039D78 00036CD8 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039D7C 00036CDC 80 01 01 28 */ lwz r0, 0x128(r1) -/* 80039D80 00036CE0 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039D84 00036CE4 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039D88: -/* 80039D88 00036CE8 38 00 00 00 */ li r0, 0 -/* 80039D8C 00036CEC 98 01 01 30 */ stb r0, 0x130(r1) -/* 80039D90 00036CF0 48 00 02 68 */ b lbl_80039FF8 -lbl_80039D94: -/* 80039D94 00036CF4 7F C4 F3 78 */ mr r4, r30 -/* 80039D98 00036CF8 38 61 00 08 */ addi r3, r1, 8 -/* 80039D9C 00036CFC 48 07 2D 2D */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity" -/* 80039DA0 00036D00 80 63 00 04 */ lwz r3, 4(r3) -/* 80039DA4 00036D04 28 03 00 00 */ cmplwi r3, 0 -/* 80039DA8 00036D08 41 82 01 D4 */ beq lbl_80039F7C -/* 80039DAC 00036D0C 81 83 00 00 */ lwz r12, 0(r3) -/* 80039DB0 00036D10 7F E4 FB 78 */ mr r4, r31 -/* 80039DB4 00036D14 80 BD 00 E8 */ lwz r5, 0xe8(r29) -/* 80039DB8 00036D18 81 8C 00 94 */ lwz r12, 0x94(r12) -/* 80039DBC 00036D1C 7D 89 03 A6 */ mtctr r12 -/* 80039DC0 00036D20 4E 80 04 21 */ bctrl -/* 80039DC4 00036D24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80039DC8 00036D28 40 82 01 B4 */ bne lbl_80039F7C -/* 80039DCC 00036D2C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80039DD0 00036D30 38 60 00 00 */ li r3, 0 -/* 80039DD4 00036D34 98 61 00 FC */ stb r3, 0xfc(r1) -/* 80039DD8 00036D38 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039DDC 00036D3C 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039DE0 00036D40 48 00 00 60 */ b lbl_80039E40 -/* 80039DE4 00036D44 41 82 00 5C */ beq lbl_80039E40 -/* 80039DE8 00036D48 C0 21 00 CC */ lfs f1, 0xcc(r1) -/* 80039DEC 00036D4C C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 80039DF0 00036D50 D0 24 00 00 */ stfs f1, 0(r4) -/* 80039DF4 00036D54 C0 21 00 D4 */ lfs f1, 0xd4(r1) -/* 80039DF8 00036D58 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039DFC 00036D5C C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 80039E00 00036D60 D0 24 00 08 */ stfs f1, 8(r4) -/* 80039E04 00036D64 C0 21 00 DC */ lfs f1, 0xdc(r1) -/* 80039E08 00036D68 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039E0C 00036D6C C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 80039E10 00036D70 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039E14 00036D74 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 80039E18 00036D78 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039E1C 00036D7C C0 01 00 E8 */ lfs f0, 0xe8(r1) -/* 80039E20 00036D80 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039E24 00036D84 88 01 00 EC */ lbz r0, 0xec(r1) -/* 80039E28 00036D88 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039E2C 00036D8C 80 61 00 F8 */ lwz r3, 0xf8(r1) -/* 80039E30 00036D90 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039E34 00036D94 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80039E38 00036D98 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039E3C 00036D9C 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039E40: -/* 80039E40 00036DA0 38 00 00 00 */ li r0, 0 -/* 80039E44 00036DA4 98 01 00 FC */ stb r0, 0xfc(r1) -/* 80039E48 00036DA8 48 00 01 B0 */ b lbl_80039FF8 -lbl_80039E4C: -/* 80039E4C 00036DAC 80 1D 00 E8 */ lwz r0, 0xe8(r29) -/* 80039E50 00036DB0 54 04 07 FE */ clrlwi r4, r0, 0x1f -/* 80039E54 00036DB4 2C 04 00 01 */ cmpwi r4, 1 -/* 80039E58 00036DB8 41 82 00 14 */ beq lbl_80039E6C -/* 80039E5C 00036DBC 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 80039E60 00036DC0 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 80039E64 00036DC4 2C 00 00 01 */ cmpwi r0, 1 -/* 80039E68 00036DC8 40 82 00 84 */ bne lbl_80039EEC -lbl_80039E6C: -/* 80039E6C 00036DCC A0 1E 00 08 */ lhz r0, 8(r30) -/* 80039E70 00036DD0 38 60 00 00 */ li r3, 0 -/* 80039E74 00036DD4 98 61 00 C8 */ stb r3, 0xc8(r1) -/* 80039E78 00036DD8 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039E7C 00036DDC 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039E80 00036DE0 48 00 00 60 */ b lbl_80039EE0 -/* 80039E84 00036DE4 41 82 00 5C */ beq lbl_80039EE0 -/* 80039E88 00036DE8 C0 21 00 98 */ lfs f1, 0x98(r1) -/* 80039E8C 00036DEC C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 80039E90 00036DF0 D0 24 00 00 */ stfs f1, 0(r4) -/* 80039E94 00036DF4 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 80039E98 00036DF8 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039E9C 00036DFC C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 80039EA0 00036E00 D0 24 00 08 */ stfs f1, 8(r4) -/* 80039EA4 00036E04 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 80039EA8 00036E08 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039EAC 00036E0C C0 01 00 AC */ lfs f0, 0xac(r1) -/* 80039EB0 00036E10 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039EB4 00036E14 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 80039EB8 00036E18 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039EBC 00036E1C C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80039EC0 00036E20 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039EC4 00036E24 88 01 00 B8 */ lbz r0, 0xb8(r1) -/* 80039EC8 00036E28 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039ECC 00036E2C 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 80039ED0 00036E30 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039ED4 00036E34 80 01 00 C0 */ lwz r0, 0xc0(r1) -/* 80039ED8 00036E38 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039EDC 00036E3C 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039EE0: -/* 80039EE0 00036E40 38 00 00 00 */ li r0, 0 -/* 80039EE4 00036E44 98 01 00 C8 */ stb r0, 0xc8(r1) -/* 80039EE8 00036E48 48 00 01 10 */ b lbl_80039FF8 -lbl_80039EEC: -/* 80039EEC 00036E4C 2C 04 00 01 */ cmpwi r4, 1 -/* 80039EF0 00036E50 41 82 00 8C */ beq lbl_80039F7C -/* 80039EF4 00036E54 2C 00 00 01 */ cmpwi r0, 1 -/* 80039EF8 00036E58 41 82 00 84 */ beq lbl_80039F7C -/* 80039EFC 00036E5C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80039F00 00036E60 38 60 00 00 */ li r3, 0 -/* 80039F04 00036E64 98 61 00 94 */ stb r3, 0x94(r1) -/* 80039F08 00036E68 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039F0C 00036E6C 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039F10 00036E70 48 00 00 60 */ b lbl_80039F70 -/* 80039F14 00036E74 41 82 00 5C */ beq lbl_80039F70 -/* 80039F18 00036E78 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 80039F1C 00036E7C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80039F20 00036E80 D0 24 00 00 */ stfs f1, 0(r4) -/* 80039F24 00036E84 C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 80039F28 00036E88 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039F2C 00036E8C C0 01 00 70 */ lfs f0, 0x70(r1) -/* 80039F30 00036E90 D0 24 00 08 */ stfs f1, 8(r4) -/* 80039F34 00036E94 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 80039F38 00036E98 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039F3C 00036E9C C0 01 00 78 */ lfs f0, 0x78(r1) -/* 80039F40 00036EA0 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039F44 00036EA4 C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 80039F48 00036EA8 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039F4C 00036EAC C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80039F50 00036EB0 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039F54 00036EB4 88 01 00 84 */ lbz r0, 0x84(r1) -/* 80039F58 00036EB8 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039F5C 00036EBC 80 61 00 90 */ lwz r3, 0x90(r1) -/* 80039F60 00036EC0 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039F64 00036EC4 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 80039F68 00036EC8 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039F6C 00036ECC 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039F70: -/* 80039F70 00036ED0 38 00 00 00 */ li r0, 0 -/* 80039F74 00036ED4 98 01 00 94 */ stb r0, 0x94(r1) -/* 80039F78 00036ED8 48 00 00 80 */ b lbl_80039FF8 -lbl_80039F7C: -/* 80039F7C 00036EDC A0 1E 00 08 */ lhz r0, 8(r30) -/* 80039F80 00036EE0 38 60 00 00 */ li r3, 0 -/* 80039F84 00036EE4 98 61 00 60 */ stb r3, 0x60(r1) -/* 80039F88 00036EE8 B0 1C 00 00 */ sth r0, 0(r28) -/* 80039F8C 00036EEC 98 7C 00 34 */ stb r3, 0x34(r28) -/* 80039F90 00036EF0 48 00 00 60 */ b lbl_80039FF0 -/* 80039F94 00036EF4 41 82 00 5C */ beq lbl_80039FF0 -/* 80039F98 00036EF8 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80039F9C 00036EFC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80039FA0 00036F00 D0 24 00 00 */ stfs f1, 0(r4) -/* 80039FA4 00036F04 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80039FA8 00036F08 D0 04 00 04 */ stfs f0, 4(r4) -/* 80039FAC 00036F0C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80039FB0 00036F10 D0 24 00 08 */ stfs f1, 8(r4) -/* 80039FB4 00036F14 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80039FB8 00036F18 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80039FBC 00036F1C C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80039FC0 00036F20 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80039FC4 00036F24 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80039FC8 00036F28 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80039FCC 00036F2C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80039FD0 00036F30 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80039FD4 00036F34 88 01 00 50 */ lbz r0, 0x50(r1) -/* 80039FD8 00036F38 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80039FDC 00036F3C 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 80039FE0 00036F40 98 04 00 20 */ stb r0, 0x20(r4) -/* 80039FE4 00036F44 80 01 00 58 */ lwz r0, 0x58(r1) -/* 80039FE8 00036F48 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80039FEC 00036F4C 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80039FF0: -/* 80039FF0 00036F50 38 00 00 00 */ li r0, 0 -/* 80039FF4 00036F54 98 01 00 60 */ stb r0, 0x60(r1) -lbl_80039FF8: -/* 80039FF8 00036F58 80 01 01 E4 */ lwz r0, 0x1e4(r1) -/* 80039FFC 00036F5C 83 E1 01 DC */ lwz r31, 0x1dc(r1) -/* 8003A000 00036F60 83 C1 01 D8 */ lwz r30, 0x1d8(r1) -/* 8003A004 00036F64 83 A1 01 D4 */ lwz r29, 0x1d4(r1) -/* 8003A008 00036F68 83 81 01 D0 */ lwz r28, 0x1d0(r1) -/* 8003A00C 00036F6C 7C 08 03 A6 */ mtlr r0 -/* 8003A010 00036F70 38 21 01 E0 */ addi r1, r1, 0x1e0 -/* 8003A014 00036F74 4E 80 00 20 */ blr - -.global CanBeShot__3CAiFRC13CStateManageri -CanBeShot__3CAiFRC13CStateManageri: -/* 8003A018 00036F78 38 60 00 01 */ li r3, 1 -/* 8003A01C 00036F7C 4E 80 00 20 */ blr - -.global CanCollideWithTrigger__15CGameProjectileFR6CActorR13CStateManager -CanCollideWithTrigger__15CGameProjectileFR6CActorR13CStateManager: -/* 8003A020 00036F80 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8003A024 00036F84 7C 08 02 A6 */ mflr r0 -/* 8003A028 00036F88 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8003A02C 00036F8C BF 61 00 9C */ stmw r27, 0x9c(r1) -/* 8003A030 00036F90 7C 7C 1B 78 */ mr r28, r3 -/* 8003A034 00036F94 7C BE 2B 78 */ mr r30, r5 -/* 8003A038 00036F98 7C 9D 23 78 */ mr r29, r4 -/* 8003A03C 00036F9C 38 61 00 0C */ addi r3, r1, 0xc -/* 8003A040 00036FA0 7F C4 F3 78 */ mr r4, r30 -/* 8003A044 00036FA4 48 06 C8 89 */ bl "__ct__26TCastToPtr<12CScriptWater>FR7CEntity" -/* 8003A048 00036FA8 80 63 00 04 */ lwz r3, 4(r3) -/* 8003A04C 00036FAC 7C 03 00 D0 */ neg r0, r3 -/* 8003A050 00036FB0 7C 00 1B 78 */ or r0, r0, r3 -/* 8003A054 00036FB4 54 1B 0F FF */ rlwinm. r27, r0, 1, 0x1f, 0x1f -/* 8003A058 00036FB8 41 82 01 88 */ beq lbl_8003A1E0 -/* 8003A05C 00036FBC 3B E0 00 00 */ li r31, 0 -/* 8003A060 00036FC0 38 80 00 00 */ li r4, 0 -/* 8003A064 00036FC4 7F E3 FB 78 */ mr r3, r31 -/* 8003A068 00036FC8 41 82 00 14 */ beq lbl_8003A07C -/* 8003A06C 00036FCC 88 1D 02 E4 */ lbz r0, 0x2e4(r29) -/* 8003A070 00036FD0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003A074 00036FD4 40 82 00 08 */ bne lbl_8003A07C -/* 8003A078 00036FD8 38 60 00 01 */ li r3, 1 -lbl_8003A07C: -/* 8003A07C 00036FDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003A080 00036FE0 41 82 00 28 */ beq lbl_8003A0A8 -/* 8003A084 00036FE4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8003A088 00036FE8 38 9D 01 70 */ addi r4, r29, 0x170 -/* 8003A08C 00036FEC 4B FF E4 F5 */ bl GetWeaponDescription__17CProjectileWeaponCFv -/* 8003A090 00036FF0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8003A094 00036FF4 38 80 00 01 */ li r4, 1 -/* 8003A098 00036FF8 88 03 00 A4 */ lbz r0, 0xa4(r3) -/* 8003A09C 00036FFC 28 00 00 00 */ cmplwi r0, 0 -/* 8003A0A0 00037000 40 82 00 08 */ bne lbl_8003A0A8 -/* 8003A0A4 00037004 3B E0 00 01 */ li r31, 1 -lbl_8003A0A8: -/* 8003A0A8 00037008 7C 80 07 75 */ extsb. r0, r4 -/* 8003A0AC 0003700C 41 82 00 10 */ beq lbl_8003A0BC -/* 8003A0B0 00037010 38 61 00 20 */ addi r3, r1, 0x20 -/* 8003A0B4 00037014 38 80 00 00 */ li r4, 0 -/* 8003A0B8 00037018 48 30 6D 89 */ bl __dt__6CTokenFv -lbl_8003A0BC: -/* 8003A0BC 0003701C 28 1B 00 00 */ cmplwi r27, 0 -/* 8003A0C0 00037020 3B 60 00 00 */ li r27, 0 -/* 8003A0C4 00037024 7F 63 DB 78 */ mr r3, r27 -/* 8003A0C8 00037028 38 80 00 00 */ li r4, 0 -/* 8003A0CC 0003702C 40 82 00 14 */ bne lbl_8003A0E0 -/* 8003A0D0 00037030 88 1D 02 E4 */ lbz r0, 0x2e4(r29) -/* 8003A0D4 00037034 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003A0D8 00037038 41 82 00 08 */ beq lbl_8003A0E0 -/* 8003A0DC 0003703C 38 60 00 01 */ li r3, 1 -lbl_8003A0E0: -/* 8003A0E0 00037040 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003A0E4 00037044 41 82 00 28 */ beq lbl_8003A10C -/* 8003A0E8 00037048 38 61 00 14 */ addi r3, r1, 0x14 -/* 8003A0EC 0003704C 38 9D 01 70 */ addi r4, r29, 0x170 -/* 8003A0F0 00037050 4B FF E4 91 */ bl GetWeaponDescription__17CProjectileWeaponCFv -/* 8003A0F4 00037054 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8003A0F8 00037058 38 80 00 01 */ li r4, 1 -/* 8003A0FC 0003705C 88 03 00 A5 */ lbz r0, 0xa5(r3) -/* 8003A100 00037060 28 00 00 00 */ cmplwi r0, 0 -/* 8003A104 00037064 40 82 00 08 */ bne lbl_8003A10C -/* 8003A108 00037068 3B 60 00 01 */ li r27, 1 -lbl_8003A10C: -/* 8003A10C 0003706C 7C 80 07 75 */ extsb. r0, r4 -/* 8003A110 00037070 41 82 00 10 */ beq lbl_8003A120 -/* 8003A114 00037074 38 61 00 14 */ addi r3, r1, 0x14 -/* 8003A118 00037078 38 80 00 00 */ li r4, 0 -/* 8003A11C 0003707C 48 30 6D 25 */ bl __dt__6CTokenFv -lbl_8003A120: -/* 8003A120 00037080 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8003A124 00037084 38 60 00 00 */ li r3, 0 -/* 8003A128 00037088 40 82 00 0C */ bne lbl_8003A134 -/* 8003A12C 0003708C 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8003A130 00037090 41 82 00 08 */ beq lbl_8003A138 -lbl_8003A134: -/* 8003A134 00037094 38 60 00 01 */ li r3, 1 -lbl_8003A138: -/* 8003A138 00037098 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003A13C 0003709C 38 60 00 00 */ li r3, 0 -/* 8003A140 000370A0 98 61 00 90 */ stb r3, 0x90(r1) -/* 8003A144 000370A4 41 82 00 14 */ beq lbl_8003A158 -/* 8003A148 000370A8 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8003A14C 000370AC 38 61 00 08 */ addi r3, r1, 8 -/* 8003A150 000370B0 B0 01 00 08 */ sth r0, 8(r1) -/* 8003A154 000370B4 48 00 00 08 */ b lbl_8003A15C -lbl_8003A158: -/* 8003A158 000370B8 38 6D A3 8C */ addi r3, r13, lbl_805A8F4C@sda21 -lbl_8003A15C: -/* 8003A15C 000370BC A0 63 00 00 */ lhz r3, 0(r3) -/* 8003A160 000370C0 88 01 00 90 */ lbz r0, 0x90(r1) -/* 8003A164 000370C4 B0 7C 00 00 */ sth r3, 0(r28) -/* 8003A168 000370C8 28 00 00 00 */ cmplwi r0, 0 -/* 8003A16C 000370CC 98 1C 00 34 */ stb r0, 0x34(r28) -/* 8003A170 000370D0 41 82 00 64 */ beq lbl_8003A1D4 -/* 8003A174 000370D4 34 9C 00 04 */ addic. r4, r28, 4 -/* 8003A178 000370D8 41 82 00 5C */ beq lbl_8003A1D4 -/* 8003A17C 000370DC C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8003A180 000370E0 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8003A184 000370E4 D0 24 00 00 */ stfs f1, 0(r4) -/* 8003A188 000370E8 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 8003A18C 000370EC D0 04 00 04 */ stfs f0, 4(r4) -/* 8003A190 000370F0 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8003A194 000370F4 D0 24 00 08 */ stfs f1, 8(r4) -/* 8003A198 000370F8 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 8003A19C 000370FC D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8003A1A0 00037100 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8003A1A4 00037104 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 8003A1A8 00037108 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 8003A1AC 0003710C D0 04 00 14 */ stfs f0, 0x14(r4) -/* 8003A1B0 00037110 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8003A1B4 00037114 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 8003A1B8 00037118 88 01 00 80 */ lbz r0, 0x80(r1) -/* 8003A1BC 0003711C D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8003A1C0 00037120 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 8003A1C4 00037124 98 04 00 20 */ stb r0, 0x20(r4) -/* 8003A1C8 00037128 80 01 00 88 */ lwz r0, 0x88(r1) -/* 8003A1CC 0003712C 90 64 00 2C */ stw r3, 0x2c(r4) -/* 8003A1D0 00037130 90 04 00 28 */ stw r0, 0x28(r4) -lbl_8003A1D4: -/* 8003A1D4 00037134 38 00 00 00 */ li r0, 0 -/* 8003A1D8 00037138 98 01 00 90 */ stb r0, 0x90(r1) -/* 8003A1DC 0003713C 48 00 00 80 */ b lbl_8003A25C -lbl_8003A1E0: -/* 8003A1E0 00037140 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003A1E4 00037144 38 60 00 00 */ li r3, 0 -/* 8003A1E8 00037148 98 61 00 5C */ stb r3, 0x5c(r1) -/* 8003A1EC 0003714C B0 1C 00 00 */ sth r0, 0(r28) -/* 8003A1F0 00037150 98 7C 00 34 */ stb r3, 0x34(r28) -/* 8003A1F4 00037154 48 00 00 60 */ b lbl_8003A254 -/* 8003A1F8 00037158 41 82 00 5C */ beq lbl_8003A254 -/* 8003A1FC 0003715C C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8003A200 00037160 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8003A204 00037164 D0 24 00 00 */ stfs f1, 0(r4) -/* 8003A208 00037168 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 8003A20C 0003716C D0 04 00 04 */ stfs f0, 4(r4) -/* 8003A210 00037170 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8003A214 00037174 D0 24 00 08 */ stfs f1, 8(r4) -/* 8003A218 00037178 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 8003A21C 0003717C D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8003A220 00037180 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8003A224 00037184 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 8003A228 00037188 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 8003A22C 0003718C D0 04 00 14 */ stfs f0, 0x14(r4) -/* 8003A230 00037190 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8003A234 00037194 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 8003A238 00037198 88 01 00 4C */ lbz r0, 0x4c(r1) -/* 8003A23C 0003719C D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8003A240 000371A0 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8003A244 000371A4 98 04 00 20 */ stb r0, 0x20(r4) -/* 8003A248 000371A8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8003A24C 000371AC 90 64 00 2C */ stw r3, 0x2c(r4) -/* 8003A250 000371B0 90 04 00 28 */ stw r0, 0x28(r4) -lbl_8003A254: -/* 8003A254 000371B4 38 00 00 00 */ li r0, 0 -/* 8003A258 000371B8 98 01 00 5C */ stb r0, 0x5c(r1) -lbl_8003A25C: -/* 8003A25C 000371BC BB 61 00 9C */ lmw r27, 0x9c(r1) -/* 8003A260 000371C0 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8003A264 000371C4 7C 08 03 A6 */ mtlr r0 -/* 8003A268 000371C8 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8003A26C 000371CC 4E 80 00 20 */ blr - -.global GetTouchBounds__15CGameProjectileCFv -GetTouchBounds__15CGameProjectileCFv: -/* 8003A270 000371D0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8003A274 000371D4 7C 08 02 A6 */ mflr r0 -/* 8003A278 000371D8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8003A27C 000371DC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8003A280 000371E0 7C 7F 1B 78 */ mr r31, r3 -/* 8003A284 000371E4 88 04 02 E4 */ lbz r0, 0x2e4(r4) -/* 8003A288 000371E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8003A28C 000371EC 40 82 00 10 */ bne lbl_8003A29C -/* 8003A290 000371F0 38 00 00 00 */ li r0, 0 -/* 8003A294 000371F4 98 1F 00 18 */ stb r0, 0x18(r31) -/* 8003A298 000371F8 48 00 00 4C */ b lbl_8003A2E4 -lbl_8003A29C: -/* 8003A29C 000371FC 38 61 00 08 */ addi r3, r1, 8 -/* 8003A2A0 00037200 48 00 00 59 */ bl GetProjectileBounds__15CGameProjectileCFv -/* 8003A2A4 00037204 38 00 00 01 */ li r0, 1 -/* 8003A2A8 00037208 28 1F 00 00 */ cmplwi r31, 0 -/* 8003A2AC 0003720C 98 1F 00 18 */ stb r0, 0x18(r31) -/* 8003A2B0 00037210 41 82 00 34 */ beq lbl_8003A2E4 -/* 8003A2B4 00037214 C0 01 00 08 */ lfs f0, 8(r1) -/* 8003A2B8 00037218 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8003A2BC 0003721C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8003A2C0 00037220 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8003A2C4 00037224 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8003A2C8 00037228 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8003A2CC 0003722C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8003A2D0 00037230 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8003A2D4 00037234 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8003A2D8 00037238 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8003A2DC 0003723C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8003A2E0 00037240 D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_8003A2E4: -/* 8003A2E4 00037244 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8003A2E8 00037248 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8003A2EC 0003724C 7C 08 03 A6 */ mtlr r0 -/* 8003A2F0 00037250 38 21 00 30 */ addi r1, r1, 0x30 -/* 8003A2F4 00037254 4E 80 00 20 */ blr - -.global GetProjectileBounds__15CGameProjectileCFv -GetProjectileBounds__15CGameProjectileCFv: -/* 8003A2F8 00037258 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8003A2FC 0003725C C0 84 00 60 */ lfs f4, 0x60(r4) -/* 8003A300 00037260 C0 04 02 A0 */ lfs f0, 0x2a0(r4) -/* 8003A304 00037264 D0 81 00 08 */ stfs f4, 8(r1) -/* 8003A308 00037268 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 8003A30C 0003726C C0 64 00 50 */ lfs f3, 0x50(r4) -/* 8003A310 00037270 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8003A314 00037274 C0 44 00 40 */ lfs f2, 0x40(r4) -/* 8003A318 00037278 40 80 00 0C */ bge lbl_8003A324 -/* 8003A31C 0003727C 38 A1 00 08 */ addi r5, r1, 8 -/* 8003A320 00037280 48 00 00 08 */ b lbl_8003A328 -lbl_8003A324: -/* 8003A324 00037284 38 A1 00 0C */ addi r5, r1, 0xc -lbl_8003A328: -/* 8003A328 00037288 C0 05 00 00 */ lfs f0, 0(r5) -/* 8003A32C 0003728C C0 A4 02 9C */ lfs f5, 0x29c(r4) -/* 8003A330 00037290 C0 24 02 A4 */ lfs f1, 0x2a4(r4) -/* 8003A334 00037294 FC 05 18 40 */ fcmpo cr0, f5, f3 -/* 8003A338 00037298 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8003A33C 0003729C EC C1 00 2A */ fadds f6, f1, f0 -/* 8003A340 000372A0 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 8003A344 000372A4 40 80 00 0C */ bge lbl_8003A350 -/* 8003A348 000372A8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8003A34C 000372AC 48 00 00 08 */ b lbl_8003A354 -lbl_8003A350: -/* 8003A350 000372B0 38 A1 00 14 */ addi r5, r1, 0x14 -lbl_8003A354: -/* 8003A354 000372B4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8003A358 000372B8 C0 E4 02 98 */ lfs f7, 0x298(r4) -/* 8003A35C 000372BC C0 24 02 A4 */ lfs f1, 0x2a4(r4) -/* 8003A360 000372C0 FC 07 10 40 */ fcmpo cr0, f7, f2 -/* 8003A364 000372C4 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8003A368 000372C8 EC A1 00 2A */ fadds f5, f1, f0 -/* 8003A36C 000372CC D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 8003A370 000372D0 40 80 00 0C */ bge lbl_8003A37C -/* 8003A374 000372D4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8003A378 000372D8 48 00 00 08 */ b lbl_8003A380 -lbl_8003A37C: -/* 8003A37C 000372DC 38 A1 00 1C */ addi r5, r1, 0x1c -lbl_8003A380: -/* 8003A380 000372E0 C0 05 00 00 */ lfs f0, 0(r5) -/* 8003A384 000372E4 C0 E4 02 A0 */ lfs f7, 0x2a0(r4) -/* 8003A388 000372E8 C0 24 02 A4 */ lfs f1, 0x2a4(r4) -/* 8003A38C 000372EC FC 04 38 40 */ fcmpo cr0, f4, f7 -/* 8003A390 000372F0 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8003A394 000372F4 EC 81 00 2A */ fadds f4, f1, f0 -/* 8003A398 000372F8 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 8003A39C 000372FC 40 80 00 0C */ bge lbl_8003A3A8 -/* 8003A3A0 00037300 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8003A3A4 00037304 48 00 00 08 */ b lbl_8003A3AC -lbl_8003A3A8: -/* 8003A3A8 00037308 38 A1 00 24 */ addi r5, r1, 0x24 -lbl_8003A3AC: -/* 8003A3AC 0003730C C0 25 00 00 */ lfs f1, 0(r5) -/* 8003A3B0 00037310 C0 E4 02 9C */ lfs f7, 0x29c(r4) -/* 8003A3B4 00037314 C0 04 02 A4 */ lfs f0, 0x2a4(r4) -/* 8003A3B8 00037318 FC 03 38 40 */ fcmpo cr0, f3, f7 -/* 8003A3BC 0003731C D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8003A3C0 00037320 EC 61 00 28 */ fsubs f3, f1, f0 -/* 8003A3C4 00037324 D0 E1 00 2C */ stfs f7, 0x2c(r1) -/* 8003A3C8 00037328 40 80 00 0C */ bge lbl_8003A3D4 -/* 8003A3CC 0003732C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8003A3D0 00037330 48 00 00 08 */ b lbl_8003A3D8 -lbl_8003A3D4: -/* 8003A3D4 00037334 38 A1 00 2C */ addi r5, r1, 0x2c -lbl_8003A3D8: -/* 8003A3D8 00037338 C0 25 00 00 */ lfs f1, 0(r5) -/* 8003A3DC 0003733C C0 E4 02 98 */ lfs f7, 0x298(r4) -/* 8003A3E0 00037340 C0 04 02 A4 */ lfs f0, 0x2a4(r4) -/* 8003A3E4 00037344 FC 02 38 40 */ fcmpo cr0, f2, f7 -/* 8003A3E8 00037348 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8003A3EC 0003734C EC 41 00 28 */ fsubs f2, f1, f0 -/* 8003A3F0 00037350 D0 E1 00 34 */ stfs f7, 0x34(r1) -/* 8003A3F4 00037354 40 80 00 0C */ bge lbl_8003A400 -/* 8003A3F8 00037358 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8003A3FC 0003735C 48 00 00 08 */ b lbl_8003A404 -lbl_8003A400: -/* 8003A400 00037360 38 A1 00 34 */ addi r5, r1, 0x34 -lbl_8003A404: -/* 8003A404 00037364 C0 25 00 00 */ lfs f1, 0(r5) -/* 8003A408 00037368 C0 04 02 A4 */ lfs f0, 0x2a4(r4) -/* 8003A40C 0003736C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8003A410 00037370 D0 03 00 00 */ stfs f0, 0(r3) -/* 8003A414 00037374 D0 43 00 04 */ stfs f2, 4(r3) -/* 8003A418 00037378 D0 63 00 08 */ stfs f3, 8(r3) -/* 8003A41C 0003737C D0 83 00 0C */ stfs f4, 0xc(r3) -/* 8003A420 00037380 D0 A3 00 10 */ stfs f5, 0x10(r3) -/* 8003A424 00037384 D0 C3 00 14 */ stfs f6, 0x14(r3) -/* 8003A428 00037388 38 21 00 40 */ addi r1, r1, 0x40 -/* 8003A42C 0003738C 4E 80 00 20 */ blr - -.global Render__15CGameProjectileCFRC13CStateManager -Render__15CGameProjectileCFRC13CStateManager: -/* 8003A430 00037390 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003A434 00037394 7C 08 02 A6 */ mflr r0 -/* 8003A438 00037398 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003A43C 0003739C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003A440 000373A0 7C 9F 23 78 */ mr r31, r4 -/* 8003A444 000373A4 93 C1 00 08 */ stw r30, 8(r1) -/* 8003A448 000373A8 7C 7E 1B 78 */ mr r30, r3 -/* 8003A44C 000373AC 38 7E 01 70 */ addi r3, r30, 0x170 -/* 8003A450 000373B0 81 9E 01 70 */ lwz r12, 0x170(r30) -/* 8003A454 000373B4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8003A458 000373B8 7D 89 03 A6 */ mtctr r12 -/* 8003A45C 000373BC 4E 80 04 21 */ bctrl -/* 8003A460 000373C0 7F C3 F3 78 */ mr r3, r30 -/* 8003A464 000373C4 7F E4 FB 78 */ mr r4, r31 -/* 8003A468 000373C8 48 0C 7A A1 */ bl Render__7CWeaponCFRC13CStateManager -/* 8003A46C 000373CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003A470 000373D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003A474 000373D4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003A478 000373D8 7C 08 03 A6 */ mtlr r0 -/* 8003A47C 000373DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003A480 000373E0 4E 80 00 20 */ blr - -.global "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -"__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb": -/* 8003A484 000373E4 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8003A488 000373E8 7C 08 02 A6 */ mflr r0 -/* 8003A48C 000373EC 90 01 01 34 */ stw r0, 0x134(r1) -/* 8003A490 000373F0 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8003A494 000373F4 BD C1 00 E8 */ stmw r14, 0xe8(r1) -/* 8003A498 000373F8 7C 6F 1B 78 */ mr r15, r3 -/* 8003A49C 000373FC 80 01 01 50 */ lwz r0, 0x150(r1) -/* 8003A4A0 00037400 7C 90 23 78 */ mr r16, r4 -/* 8003A4A4 00037404 82 C1 01 38 */ lwz r22, 0x138(r1) -/* 8003A4A8 00037408 7C B1 2B 78 */ mr r17, r5 -/* 8003A4AC 0003740C 82 E1 01 3C */ lwz r23, 0x13c(r1) -/* 8003A4B0 00037410 7C D2 33 78 */ mr r18, r6 -/* 8003A4B4 00037414 83 01 01 40 */ lwz r24, 0x140(r1) -/* 8003A4B8 00037418 7C F3 3B 78 */ mr r19, r7 -/* 8003A4BC 0003741C 83 21 01 48 */ lwz r25, 0x148(r1) -/* 8003A4C0 00037420 7D 14 43 78 */ mr r20, r8 -/* 8003A4C4 00037424 8B 41 01 4F */ lbz r26, 0x14f(r1) -/* 8003A4C8 00037428 7D 3C 4B 78 */ mr r28, r9 -/* 8003A4CC 0003742C 83 61 01 54 */ lwz r27, 0x154(r1) -/* 8003A4D0 00037430 7D 55 53 78 */ mr r21, r10 -/* 8003A4D4 00037434 A0 01 01 5A */ lhz r0, 0x15a(r1) -/* 8003A4D8 00037438 38 61 00 90 */ addi r3, r1, 0x90 -/* 8003A4DC 0003743C 89 C1 01 5F */ lbz r14, 0x15f(r1) -/* 8003A4E0 00037440 48 00 02 C5 */ bl CModelDataNull__10CModelDataFv -/* 8003A4E4 00037444 38 00 00 00 */ li r0, 0 -/* 8003A4E8 00037448 80 AD 82 08 */ lwz r5, lbl_805A6DC8@sda21(r13) -/* 8003A4EC 0003744C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8003A4F0 00037450 38 60 00 00 */ li r3, 0 -/* 8003A4F4 00037454 38 80 00 01 */ li r4, 1 -/* 8003A4F8 00037458 90 01 00 30 */ stw r0, 0x30(r1) -/* 8003A4FC 0003745C 48 34 F9 F9 */ bl __shl2i -/* 8003A500 00037460 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8003A504 00037464 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 8003A508 00037468 7C 00 1B 78 */ or r0, r0, r3 -/* 8003A50C 0003746C 80 AD 82 00 */ lwz r5, lbl_805A6DC0@sda21(r13) -/* 8003A510 00037470 7C C4 23 78 */ or r4, r6, r4 -/* 8003A514 00037474 90 01 00 30 */ stw r0, 0x30(r1) -/* 8003A518 00037478 38 60 00 00 */ li r3, 0 -/* 8003A51C 0003747C 90 81 00 34 */ stw r4, 0x34(r1) -/* 8003A520 00037480 38 80 00 01 */ li r4, 1 -/* 8003A524 00037484 48 34 F9 D1 */ bl __shl2i -/* 8003A528 00037488 80 AD 82 04 */ lwz r5, lbl_805A6DC4@sda21(r13) -/* 8003A52C 0003748C 7C 9E 23 78 */ mr r30, r4 -/* 8003A530 00037490 7C 7F 1B 78 */ mr r31, r3 -/* 8003A534 00037494 38 60 00 00 */ li r3, 0 -/* 8003A538 00037498 38 80 00 01 */ li r4, 1 -/* 8003A53C 0003749C 48 34 F9 B9 */ bl __shl2i -/* 8003A540 000374A0 7F DE 23 78 */ or r30, r30, r4 -/* 8003A544 000374A4 7F FF 1B 78 */ or r31, r31, r3 -/* 8003A548 000374A8 7F 85 E3 78 */ mr r5, r28 -/* 8003A54C 000374AC 38 60 00 00 */ li r3, 0 -/* 8003A550 000374B0 38 80 00 01 */ li r4, 1 -/* 8003A554 000374B4 48 34 F9 A1 */ bl __shl2i -/* 8003A558 000374B8 80 AD 81 F8 */ lwz r5, lbl_805A6DB8@sda21(r13) -/* 8003A55C 000374BC 7F DE 23 78 */ or r30, r30, r4 -/* 8003A560 000374C0 7F FF 1B 78 */ or r31, r31, r3 -/* 8003A564 000374C4 38 60 00 00 */ li r3, 0 -/* 8003A568 000374C8 38 80 00 01 */ li r4, 1 -/* 8003A56C 000374CC 48 34 F9 89 */ bl __shl2i -/* 8003A570 000374D0 80 AD 81 FC */ lwz r5, lbl_805A6DBC@sda21(r13) -/* 8003A574 000374D4 7C 9C 23 78 */ mr r28, r4 -/* 8003A578 000374D8 7C 7D 1B 78 */ mr r29, r3 -/* 8003A57C 000374DC 38 60 00 00 */ li r3, 0 -/* 8003A580 000374E0 38 80 00 01 */ li r4, 1 -/* 8003A584 000374E4 48 34 F9 71 */ bl __shl2i -/* 8003A588 000374E8 7F BD 1B 78 */ or r29, r29, r3 -/* 8003A58C 000374EC 7F 9C 23 78 */ or r28, r28, r4 -/* 8003A590 000374F0 38 00 00 03 */ li r0, 3 -/* 8003A594 000374F4 93 81 00 4C */ stw r28, 0x4c(r1) -/* 8003A598 000374F8 7E 63 9B 78 */ mr r3, r19 -/* 8003A59C 000374FC 93 A1 00 48 */ stw r29, 0x48(r1) -/* 8003A5A0 00037500 93 C1 00 54 */ stw r30, 0x54(r1) -/* 8003A5A4 00037504 93 E1 00 50 */ stw r31, 0x50(r1) -/* 8003A5A8 00037508 90 01 00 58 */ stw r0, 0x58(r1) -/* 8003A5AC 0003750C A0 18 00 00 */ lhz r0, 0(r24) -/* 8003A5B0 00037510 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8003A5B4 00037514 80 17 00 00 */ lwz r0, 0(r23) -/* 8003A5B8 00037518 90 01 00 28 */ stw r0, 0x28(r1) -/* 8003A5BC 0003751C A0 16 00 00 */ lhz r0, 0(r22) -/* 8003A5C0 00037520 B0 01 00 24 */ sth r0, 0x24(r1) -/* 8003A5C4 00037524 4B FF D2 95 */ bl GetBeamAttribType__15CGameProjectileF11EWeaponType -/* 8003A5C8 00037528 38 01 00 48 */ addi r0, r1, 0x48 -/* 8003A5CC 0003752C 7F 27 1B 78 */ or r7, r25, r3 -/* 8003A5D0 00037530 90 01 00 08 */ stw r0, 8(r1) -/* 8003A5D4 00037534 38 81 00 30 */ addi r4, r1, 0x30 -/* 8003A5D8 00037538 38 01 00 90 */ addi r0, r1, 0x90 -/* 8003A5DC 0003753C 7D E3 7B 78 */ mr r3, r15 -/* 8003A5E0 00037540 90 81 00 0C */ stw r4, 0xc(r1) -/* 8003A5E4 00037544 7E 06 83 78 */ mr r6, r16 -/* 8003A5E8 00037548 7E 68 9B 78 */ mr r8, r19 -/* 8003A5EC 0003754C 7E 49 93 78 */ mr r9, r18 -/* 8003A5F0 00037550 92 A1 00 10 */ stw r21, 0x10(r1) -/* 8003A5F4 00037554 7E 8A A3 78 */ mr r10, r20 -/* 8003A5F8 00037558 38 81 00 24 */ addi r4, r1, 0x24 -/* 8003A5FC 0003755C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8003A600 00037560 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8003A604 00037564 38 E1 00 20 */ addi r7, r1, 0x20 -/* 8003A608 00037568 90 01 00 18 */ stw r0, 0x18(r1) -/* 8003A60C 0003756C 48 0C 7C 89 */ bl "__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData" -/* 8003A610 00037570 38 61 00 90 */ addi r3, r1, 0x90 -/* 8003A614 00037574 38 80 FF FF */ li r4, -1 -/* 8003A618 00037578 48 0D C4 35 */ bl __dt__10CModelDataFv -/* 8003A61C 0003757C 3C 60 80 3E */ lis r3, lbl_803D9CE0@ha -/* 8003A620 00037580 38 03 9C E0 */ addi r0, r3, lbl_803D9CE0@l -/* 8003A624 00037584 90 0F 00 00 */ stw r0, 0(r15) -/* 8003A628 00037588 88 1B 00 0C */ lbz r0, 0xc(r27) -/* 8003A62C 0003758C 98 0F 01 64 */ stb r0, 0x164(r15) -/* 8003A630 00037590 88 1B 00 0C */ lbz r0, 0xc(r27) -/* 8003A634 00037594 28 00 00 00 */ cmplwi r0, 0 -/* 8003A638 00037598 41 82 00 28 */ beq lbl_8003A660 -/* 8003A63C 0003759C 36 0F 01 58 */ addic. r16, r15, 0x158 -/* 8003A640 000375A0 41 82 00 20 */ beq lbl_8003A660 -/* 8003A644 000375A4 7E 03 83 78 */ mr r3, r16 -/* 8003A648 000375A8 7F 64 DB 78 */ mr r4, r27 -/* 8003A64C 000375AC 48 30 68 5D */ bl __ct__6CTokenFRC6CToken -/* 8003A650 000375B0 80 1B 00 08 */ lwz r0, 8(r27) -/* 8003A654 000375B4 7E 03 83 78 */ mr r3, r16 -/* 8003A658 000375B8 90 10 00 08 */ stw r0, 8(r16) -/* 8003A65C 000375BC 48 30 67 29 */ bl Lock__6CTokenFv -lbl_8003A660: -/* 8003A660 000375C0 A0 01 01 5A */ lhz r0, 0x15a(r1) -/* 8003A664 000375C4 7E 84 A3 78 */ mr r4, r20 -/* 8003A668 000375C8 57 30 87 FE */ rlwinm r16, r25, 0x10, 0x1f, 0x1f -/* 8003A66C 000375CC 38 61 00 60 */ addi r3, r1, 0x60 -/* 8003A670 000375D0 B0 0F 01 68 */ sth r0, 0x168(r15) -/* 8003A674 000375D4 C0 54 00 2C */ lfs f2, 0x2c(r20) -/* 8003A678 000375D8 C0 34 00 1C */ lfs f1, 0x1c(r20) -/* 8003A67C 000375DC C0 14 00 0C */ lfs f0, 0xc(r20) -/* 8003A680 000375E0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8003A684 000375E4 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8003A688 000375E8 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8003A68C 000375EC 48 00 01 39 */ bl clear_transform__FRC12CTransform4f -/* 8003A690 000375F0 80 E1 01 50 */ lwz r7, 0x150(r1) -/* 8003A694 000375F4 7E 24 8B 78 */ mr r4, r17 -/* 8003A698 000375F8 7E 08 83 78 */ mr r8, r16 -/* 8003A69C 000375FC 38 6F 01 70 */ addi r3, r15, 0x170 -/* 8003A6A0 00037600 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8003A6A4 00037604 38 C1 00 60 */ addi r6, r1, 0x60 -/* 8003A6A8 00037608 48 27 63 45 */ bl "__ct__17CProjectileWeaponFRC28TToken<18CWeaponDescription>RC9CVector3fRC12CTransform4fRC9CVector3f" -/* 8003A6AC 0003760C C0 54 00 2C */ lfs f2, 0x2c(r20) -/* 8003A6B0 00037610 C0 34 00 1C */ lfs f1, 0x1c(r20) -/* 8003A6B4 00037614 C0 14 00 0C */ lfs f0, 0xc(r20) -/* 8003A6B8 00037618 D0 0F 02 98 */ stfs f0, 0x298(r15) -/* 8003A6BC 0003761C D0 2F 02 9C */ stfs f1, 0x29c(r15) -/* 8003A6C0 00037620 D0 4F 02 A0 */ stfs f2, 0x2a0(r15) -/* 8003A6C4 00037624 80 0F 00 E8 */ lwz r0, 0xe8(r15) -/* 8003A6C8 00037628 54 00 05 6A */ rlwinm r0, r0, 0, 0x15, 0x15 -/* 8003A6CC 0003762C 2C 00 04 00 */ cmpwi r0, 0x400 -/* 8003A6D0 00037630 40 82 00 0C */ bne lbl_8003A6DC -/* 8003A6D4 00037634 C0 02 84 30 */ lfs f0, lbl_805AA150@sda21(r2) -/* 8003A6D8 00037638 48 00 00 08 */ b lbl_8003A6E0 -lbl_8003A6DC: -/* 8003A6DC 0003763C C0 02 84 34 */ lfs f0, lbl_805AA154@sda21(r2) -lbl_8003A6E0: -/* 8003A6E0 00037640 D0 0F 02 A4 */ stfs f0, 0x2a4(r15) -/* 8003A6E4 00037644 38 00 00 00 */ li r0, 0 -/* 8003A6E8 00037648 C0 02 84 38 */ lfs f0, lbl_805AA158@sda21(r2) -/* 8003A6EC 0003764C 38 A0 00 01 */ li r5, 1 -/* 8003A6F0 00037650 C8 22 84 40 */ lfd f1, lbl_805AA160@sda21(r2) -/* 8003A6F4 00037654 7D E3 7B 78 */ mr r3, r15 -/* 8003A6F8 00037658 D0 0F 02 A8 */ stfs f0, 0x2a8(r15) -/* 8003A6FC 0003765C 80 81 01 44 */ lwz r4, 0x144(r1) -/* 8003A700 00037660 D8 2F 02 B0 */ stfd f1, 0x2b0(r15) -/* 8003A704 00037664 C0 02 84 14 */ lfs f0, lbl_805AA134@sda21(r2) -/* 8003A708 00037668 C0 2F 02 A8 */ lfs f1, 0x2a8(r15) -/* 8003A70C 0003766C D8 2F 02 B8 */ stfd f1, 0x2b8(r15) -/* 8003A710 00037670 A0 84 00 00 */ lhz r4, 0(r4) -/* 8003A714 00037674 B0 8F 02 C0 */ sth r4, 0x2c0(r15) -/* 8003A718 00037678 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8003A71C 0003767C B0 8F 02 C2 */ sth r4, 0x2c2(r15) -/* 8003A720 00037680 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8003A724 00037684 B0 8F 02 C4 */ sth r4, 0x2c4(r15) -/* 8003A728 00037688 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8003A72C 0003768C B0 8F 02 C6 */ sth r4, 0x2c6(r15) -/* 8003A730 00037690 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8003A734 00037694 B0 8F 02 C8 */ sth r4, 0x2c8(r15) -/* 8003A738 00037698 80 91 00 00 */ lwz r4, 0(r17) -/* 8003A73C 0003769C 80 84 00 08 */ lwz r4, 8(r4) -/* 8003A740 000376A0 90 8F 02 CC */ stw r4, 0x2cc(r15) -/* 8003A744 000376A4 90 0F 02 D4 */ stw r0, 0x2d4(r15) -/* 8003A748 000376A8 90 0F 02 D8 */ stw r0, 0x2d8(r15) -/* 8003A74C 000376AC 90 0F 02 DC */ stw r0, 0x2dc(r15) -/* 8003A750 000376B0 D0 0F 02 E0 */ stfs f0, 0x2e0(r15) -/* 8003A754 000376B4 88 0F 02 E4 */ lbz r0, 0x2e4(r15) -/* 8003A758 000376B8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8003A75C 000376BC 98 0F 02 E4 */ stb r0, 0x2e4(r15) -/* 8003A760 000376C0 88 0F 02 E4 */ lbz r0, 0x2e4(r15) -/* 8003A764 000376C4 53 40 36 72 */ rlwimi r0, r26, 6, 0x19, 0x19 -/* 8003A768 000376C8 98 0F 02 E4 */ stb r0, 0x2e4(r15) -/* 8003A76C 000376CC 88 0F 02 E4 */ lbz r0, 0x2e4(r15) -/* 8003A770 000376D0 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a -/* 8003A774 000376D4 98 0F 02 E4 */ stb r0, 0x2e4(r15) -/* 8003A778 000376D8 88 0F 02 E4 */ lbz r0, 0x2e4(r15) -/* 8003A77C 000376DC 53 40 26 F6 */ rlwimi r0, r26, 4, 0x1b, 0x1b -/* 8003A780 000376E0 98 0F 02 E4 */ stb r0, 0x2e4(r15) -/* 8003A784 000376E4 88 0F 02 E4 */ lbz r0, 0x2e4(r15) -/* 8003A788 000376E8 51 C0 1F 38 */ rlwimi r0, r14, 3, 0x1c, 0x1c -/* 8003A78C 000376EC 98 0F 02 E4 */ stb r0, 0x2e4(r15) -/* 8003A790 000376F0 B9 C1 00 E8 */ lmw r14, 0xe8(r1) -/* 8003A794 000376F4 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8003A798 000376F8 7C 08 03 A6 */ mtlr r0 -/* 8003A79C 000376FC 38 21 01 30 */ addi r1, r1, 0x130 -/* 8003A7A0 00037700 4E 80 00 20 */ blr - -.global CModelDataNull__10CModelDataFv -CModelDataNull__10CModelDataFv: -/* 8003A7A4 00037704 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003A7A8 00037708 7C 08 02 A6 */ mflr r0 -/* 8003A7AC 0003770C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003A7B0 00037710 48 0D C5 31 */ bl __ct__10CModelDataFv -/* 8003A7B4 00037714 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003A7B8 00037718 7C 08 03 A6 */ mtlr r0 -/* 8003A7BC 0003771C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003A7C0 00037720 4E 80 00 20 */ blr - -.global clear_transform__FRC12CTransform4f -clear_transform__FRC12CTransform4f: -/* 8003A7C4 00037724 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8003A7C8 00037728 7C 08 02 A6 */ mflr r0 -/* 8003A7CC 0003772C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8003A7D0 00037730 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8003A7D4 00037734 7C 7F 1B 78 */ mr r31, r3 -/* 8003A7D8 00037738 38 61 00 08 */ addi r3, r1, 8 -/* 8003A7DC 0003773C 48 2D 83 99 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8003A7E0 00037740 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8003A7E4 00037744 7F E3 FB 78 */ mr r3, r31 -/* 8003A7E8 00037748 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8003A7EC 0003774C 38 81 00 08 */ addi r4, r1, 8 -/* 8003A7F0 00037750 C0 45 00 00 */ lfs f2, 0(r5) -/* 8003A7F4 00037754 C0 25 00 04 */ lfs f1, 4(r5) -/* 8003A7F8 00037758 C0 05 00 08 */ lfs f0, 8(r5) -/* 8003A7FC 0003775C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8003A800 00037760 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8003A804 00037764 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8003A808 00037768 48 2D 83 6D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8003A80C 0003776C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8003A810 00037770 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8003A814 00037774 7C 08 03 A6 */ mtlr r0 -/* 8003A818 00037778 38 21 00 40 */ addi r1, r1, 0x40 -/* 8003A81C 0003777C 4E 80 00 20 */ blr - -.global SetPhazonBeamFeedback__10CPlayerGunFb -SetPhazonBeamFeedback__10CPlayerGunFb: -/* 8003A820 00037780 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8003A824 00037784 7C 08 02 A6 */ mflr r0 -/* 8003A828 00037788 90 01 00 44 */ stw r0, 0x44(r1) -/* 8003A82C 0003778C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8003A830 00037790 7C 9F 23 78 */ mr r31, r4 -/* 8003A834 00037794 38 80 00 15 */ li r4, 0x15 -/* 8003A838 00037798 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8003A83C 0003779C 7C 7E 1B 78 */ mr r30, r3 -/* 8003A840 000377A0 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) -/* 8003A844 000377A4 48 31 BE B9 */ bl GetString__12CStringTableCFi -/* 8003A848 000377A8 7C 64 1B 78 */ mr r4, r3 -/* 8003A84C 000377AC 38 61 00 1C */ addi r3, r1, 0x1c -/* 8003A850 000377B0 4B FD B1 A1 */ bl wstring_l__4rstlFPCw -/* 8003A854 000377B4 57 E0 06 3E */ clrlwi r0, r31, 0x18 -/* 8003A858 000377B8 C0 02 84 68 */ lfs f0, lbl_805AA188@sda21(r2) -/* 8003A85C 000377BC 7C 00 00 34 */ cntlzw r0, r0 -/* 8003A860 000377C0 38 C0 00 01 */ li r6, 1 -/* 8003A864 000377C4 54 05 DE 3E */ rlwinm r5, r0, 0x1b, 0x18, 0x1f -/* 8003A868 000377C8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8003A86C 000377CC 38 00 00 00 */ li r0, 0 -/* 8003A870 000377D0 38 61 00 1C */ addi r3, r1, 0x1c -/* 8003A874 000377D4 98 C1 00 18 */ stb r6, 0x18(r1) -/* 8003A878 000377D8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8003A87C 000377DC 98 A1 00 19 */ stb r5, 0x19(r1) -/* 8003A880 000377E0 98 01 00 1A */ stb r0, 0x1a(r1) -/* 8003A884 000377E4 48 03 13 E5 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo -/* 8003A888 000377E8 38 61 00 1C */ addi r3, r1, 0x1c -/* 8003A88C 000377EC 48 30 28 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8003A890 000377F0 80 1E 02 E8 */ lwz r0, 0x2e8(r30) -/* 8003A894 000377F4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003A898 000377F8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8003A89C 000377FC 48 2A E5 39 */ bl IsPlaying__11CSfxManagerF10CSfxHandle -/* 8003A8A0 00037800 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003A8A4 00037804 41 82 00 14 */ beq lbl_8003A8B8 -/* 8003A8A8 00037808 80 1E 02 E8 */ lwz r0, 0x2e8(r30) -/* 8003A8AC 0003780C 38 61 00 0C */ addi r3, r1, 0xc -/* 8003A8B0 00037810 90 01 00 0C */ stw r0, 0xc(r1) -/* 8003A8B4 00037814 48 2A F4 95 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -lbl_8003A8B8: -/* 8003A8B8 00037818 38 60 00 00 */ li r3, 0 -/* 8003A8BC 0003781C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8003A8C0 00037820 90 7E 02 E8 */ stw r3, 0x2e8(r30) -/* 8003A8C4 00037824 41 82 00 28 */ beq lbl_8003A8EC -/* 8003A8C8 00037828 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003A8CC 0003782C 38 61 00 08 */ addi r3, r1, 8 -/* 8003A8D0 00037830 38 80 0C 45 */ li r4, 0xc45 -/* 8003A8D4 00037834 38 C0 00 00 */ li r6, 0 -/* 8003A8D8 00037838 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 8003A8DC 0003783C 38 E0 00 4A */ li r7, 0x4a -/* 8003A8E0 00037840 48 25 02 19 */ bl play_sfx__12NWeaponTypesFUsbbs -/* 8003A8E4 00037844 80 01 00 08 */ lwz r0, 8(r1) -/* 8003A8E8 00037848 90 1E 02 E8 */ stw r0, 0x2e8(r30) -lbl_8003A8EC: -/* 8003A8EC 0003784C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8003A8F0 00037850 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8003A8F4 00037854 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8003A8F8 00037858 7C 08 03 A6 */ mtlr r0 -/* 8003A8FC 0003785C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8003A900 00037860 4E 80 00 20 */ blr - -.global DropPowerBomb__10CPlayerGunCFR13CStateManager -DropPowerBomb__10CPlayerGunCFR13CStateManager: -/* 8003A904 00037864 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8003A908 00037868 7C 08 02 A6 */ mflr r0 -/* 8003A90C 0003786C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8003A910 00037870 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8003A914 00037874 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8003A918 00037878 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 8003A91C 0003787C 7C BF 2B 78 */ mr r31, r5 -/* 8003A920 00037880 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003A924 00037884 80 A5 08 4C */ lwz r5, 0x84c(r5) -/* 8003A928 00037888 7C 7D 1B 78 */ mr r29, r3 -/* 8003A92C 0003788C 7C 9E 23 78 */ mr r30, r4 -/* 8003A930 00037890 C0 25 09 F4 */ lfs f1, 0x9f4(r5) -/* 8003A934 00037894 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003A938 00037898 4C 40 13 82 */ cror 2, 0, 2 -/* 8003A93C 0003789C 40 82 00 10 */ bne lbl_8003A94C -/* 8003A940 000378A0 80 6D A1 34 */ lwz r3, gpTweakPlayerGun@sda21(r13) -/* 8003A944 000378A4 38 C3 00 8C */ addi r6, r3, 0x8c -/* 8003A948 000378A8 48 00 00 5C */ b lbl_8003A9A4 -lbl_8003A94C: -/* 8003A94C 000378AC 88 01 00 28 */ lbz r0, 0x28(r1) -/* 8003A950 000378B0 38 80 00 00 */ li r4, 0 -/* 8003A954 000378B4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8003A958 000378B8 38 A0 00 05 */ li r5, 5 -/* 8003A95C 000378BC 98 01 00 28 */ stb r0, 0x28(r1) -/* 8003A960 000378C0 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 8003A964 000378C4 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 8003A968 000378C8 88 01 00 50 */ lbz r0, 0x50(r1) -/* 8003A96C 000378CC 98 61 00 28 */ stb r3, 0x28(r1) -/* 8003A970 000378D0 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8003A974 000378D4 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a -/* 8003A978 000378D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8003A97C 000378DC 90 A1 00 24 */ stw r5, 0x24(r1) -/* 8003A980 000378E0 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8003A984 000378E4 98 61 00 28 */ stb r3, 0x28(r1) -/* 8003A988 000378E8 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8003A98C 000378EC 98 61 00 3C */ stb r3, 0x3c(r1) -/* 8003A990 000378F0 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8003A994 000378F4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8003A998 000378F8 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8003A99C 000378FC D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8003A9A0 00037900 98 01 00 50 */ stb r0, 0x50(r1) -lbl_8003A9A4: -/* 8003A9A4 00037904 80 06 00 00 */ lwz r0, 0(r6) -/* 8003A9A8 00037908 7F E4 FB 78 */ mr r4, r31 -/* 8003A9AC 0003790C 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) -/* 8003A9B0 00037910 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003A9B4 00037914 90 01 00 54 */ stw r0, 0x54(r1) -/* 8003A9B8 00037918 88 06 00 04 */ lbz r0, 4(r6) -/* 8003A9BC 0003791C 98 01 00 58 */ stb r0, 0x58(r1) -/* 8003A9C0 00037920 C0 06 00 08 */ lfs f0, 8(r6) -/* 8003A9C4 00037924 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8003A9C8 00037928 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8003A9CC 0003792C D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8003A9D0 00037930 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 8003A9D4 00037934 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8003A9D8 00037938 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 8003A9DC 0003793C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8003A9E0 00037940 88 06 00 18 */ lbz r0, 0x18(r6) -/* 8003A9E4 00037944 98 01 00 6C */ stb r0, 0x6c(r1) -/* 8003A9E8 00037948 C3 E5 02 7C */ lfs f31, 0x27c(r5) -/* 8003A9EC 0003794C 48 01 26 F1 */ bl AllocateUniqueId__13CStateManagerFv -/* 8003A9F0 00037950 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8003A9F4 00037954 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 8003A9F8 00037958 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l -/* 8003A9FC 0003795C 3B 60 00 00 */ li r27, 0 -/* 8003AA00 00037960 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8003AA04 00037964 38 83 00 09 */ addi r4, r3, 9 -/* 8003AA08 00037968 38 60 01 70 */ li r3, 0x170 -/* 8003AA0C 0003796C 38 A0 00 00 */ li r5, 0 -/* 8003AA10 00037970 48 2D AE 5D */ bl __nw__FUlPCcPCc -/* 8003AA14 00037974 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8003AA18 00037978 41 82 00 88 */ beq lbl_8003AAA0 -/* 8003AA1C 0003797C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8003AA20 00037980 38 9E 07 A8 */ addi r4, r30, 0x7a8 -/* 8003AA24 00037984 48 30 64 85 */ bl __ct__6CTokenFRC6CToken -/* 8003AA28 00037988 A0 C1 00 14 */ lhz r6, 0x14(r1) -/* 8003AA2C 0003798C 38 61 00 70 */ addi r3, r1, 0x70 -/* 8003AA30 00037990 80 AD A3 90 */ lwz r5, lbl_805A8F50@sda21(r13) -/* 8003AA34 00037994 38 81 00 2C */ addi r4, r1, 0x2c -/* 8003AA38 00037998 A0 1E 05 38 */ lhz r0, 0x538(r30) -/* 8003AA3C 0003799C 3B 60 00 01 */ li r27, 1 -/* 8003AA40 000379A0 B0 C1 00 08 */ sth r6, 8(r1) -/* 8003AA44 000379A4 C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) -/* 8003AA48 000379A8 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8003AA4C 000379AC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8003AA50 000379B0 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8003AA54 000379B4 C0 65 00 50 */ lfs f3, 0x50(r5) -/* 8003AA58 000379B8 C0 25 00 60 */ lfs f1, 0x60(r5) -/* 8003AA5C 000379BC C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8003AA60 000379C0 EC 63 10 2A */ fadds f3, f3, f2 -/* 8003AA64 000379C4 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8003AA68 000379C8 EC 00 10 2A */ fadds f0, f0, f2 -/* 8003AA6C 000379CC D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8003AA70 000379D0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8003AA74 000379D4 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8003AA78 000379D8 48 2D 86 C9 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8003AA7C 000379DC 7F 83 E3 78 */ mr r3, r28 -/* 8003AA80 000379E0 38 81 00 1C */ addi r4, r1, 0x1c -/* 8003AA84 000379E4 38 A1 00 08 */ addi r5, r1, 8 -/* 8003AA88 000379E8 38 C1 00 18 */ addi r6, r1, 0x18 -/* 8003AA8C 000379EC 38 E1 00 0C */ addi r7, r1, 0xc -/* 8003AA90 000379F0 39 01 00 70 */ addi r8, r1, 0x70 -/* 8003AA94 000379F4 39 21 00 54 */ addi r9, r1, 0x54 -/* 8003AA98 000379F8 48 11 33 BD */ bl "__ct__10CPowerBombF25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdRC12CTransform4fRC11CDamageInfo" -/* 8003AA9C 000379FC 7C 7C 1B 78 */ mr r28, r3 -lbl_8003AAA0: -/* 8003AAA0 00037A00 7F 60 07 75 */ extsb. r0, r27 -/* 8003AAA4 00037A04 41 82 00 10 */ beq lbl_8003AAB4 -/* 8003AAA8 00037A08 38 61 00 1C */ addi r3, r1, 0x1c -/* 8003AAAC 00037A0C 38 80 00 00 */ li r4, 0 -/* 8003AAB0 00037A10 48 30 63 91 */ bl __dt__6CTokenFv -lbl_8003AAB4: -/* 8003AAB4 00037A14 7F E3 FB 78 */ mr r3, r31 -/* 8003AAB8 00037A18 7F 84 E3 78 */ mr r4, r28 -/* 8003AABC 00037A1C 48 01 20 59 */ bl AddObject__13CStateManagerFR7CEntity -/* 8003AAC0 00037A20 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 8003AAC4 00037A24 B0 1D 00 00 */ sth r0, 0(r29) -/* 8003AAC8 00037A28 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8003AACC 00037A2C CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8003AAD0 00037A30 BB 61 00 AC */ lmw r27, 0xac(r1) -/* 8003AAD4 00037A34 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8003AAD8 00037A38 7C 08 03 A6 */ mtlr r0 -/* 8003AADC 00037A3C 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8003AAE0 00037A40 4E 80 00 20 */ blr - -.global ReturnToRestPose__10CPlayerGunFv -ReturnToRestPose__10CPlayerGunFv: -/* 8003AAE4 00037A44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003AAE8 00037A48 7C 08 02 A6 */ mflr r0 -/* 8003AAEC 00037A4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003AAF0 00037A50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003AAF4 00037A54 7C 7F 1B 78 */ mr r31, r3 -/* 8003AAF8 00037A58 88 03 08 32 */ lbz r0, 0x832(r3) -/* 8003AAFC 00037A5C 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8003AB00 00037A60 28 00 00 01 */ cmplwi r0, 1 -/* 8003AB04 00037A64 41 82 00 4C */ beq lbl_8003AB50 -/* 8003AB08 00037A68 80 9F 02 F8 */ lwz r4, 0x2f8(r31) -/* 8003AB0C 00037A6C 54 80 07 FE */ clrlwi r0, r4, 0x1f -/* 8003AB10 00037A70 2C 00 00 01 */ cmpwi r0, 1 -/* 8003AB14 00037A74 40 82 00 14 */ bne lbl_8003AB28 -/* 8003AB18 00037A78 38 80 00 00 */ li r4, 0 -/* 8003AB1C 00037A7C 38 A0 00 00 */ li r5, 0 -/* 8003AB20 00037A80 48 00 6D A5 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -/* 8003AB24 00037A84 48 00 00 1C */ b lbl_8003AB40 -lbl_8003AB28: -/* 8003AB28 00037A88 54 80 07 7A */ rlwinm r0, r4, 0, 0x1d, 0x1d -/* 8003AB2C 00037A8C 2C 00 00 04 */ cmpwi r0, 4 -/* 8003AB30 00037A90 40 82 00 10 */ bne lbl_8003AB40 -/* 8003AB34 00037A94 38 80 00 06 */ li r4, 6 -/* 8003AB38 00037A98 38 A0 00 00 */ li r5, 0 -/* 8003AB3C 00037A9C 48 00 6D 89 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -lbl_8003AB40: -/* 8003AB40 00037AA0 88 1F 08 32 */ lbz r0, 0x832(r31) -/* 8003AB44 00037AA4 38 60 00 01 */ li r3, 1 -/* 8003AB48 00037AA8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8003AB4C 00037AAC 98 1F 08 32 */ stb r0, 0x832(r31) -lbl_8003AB50: -/* 8003AB50 00037AB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003AB54 00037AB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003AB58 00037AB8 7C 08 03 A6 */ mtlr r0 -/* 8003AB5C 00037ABC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003AB60 00037AC0 4E 80 00 20 */ blr - -.global AsyncLoadSuit__10CPlayerGunFR13CStateManager -AsyncLoadSuit__10CPlayerGunFR13CStateManager: -/* 8003AB64 00037AC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003AB68 00037AC8 7C 08 02 A6 */ mflr r0 -/* 8003AB6C 00037ACC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003AB70 00037AD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003AB74 00037AD4 7C 9F 23 78 */ mr r31, r4 -/* 8003AB78 00037AD8 93 C1 00 08 */ stw r30, 8(r1) -/* 8003AB7C 00037ADC 7C 7E 1B 78 */ mr r30, r3 -/* 8003AB80 00037AE0 80 63 07 2C */ lwz r3, 0x72c(r3) -/* 8003AB84 00037AE4 48 17 F9 D5 */ bl AsyncLoadSuitArm__10CGunWeaponFR13CStateManager -/* 8003AB88 00037AE8 80 7E 07 40 */ lwz r3, 0x740(r30) -/* 8003AB8C 00037AEC 7F E4 FB 78 */ mr r4, r31 -/* 8003AB90 00037AF0 48 0E 30 45 */ bl AsyncLoadSuit__11CGrappleArmFR13CStateManager -/* 8003AB94 00037AF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003AB98 00037AF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003AB9C 00037AFC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003ABA0 00037B00 7C 08 03 A6 */ mtlr r0 -/* 8003ABA4 00037B04 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003ABA8 00037B08 4E 80 00 20 */ blr - -.global SetFidgetAnimBits__10CPlayerGunFib -SetFidgetAnimBits__10CPlayerGunFib: -/* 8003ABAC 00037B0C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8003ABB0 00037B10 38 A0 00 00 */ li r5, 0 -/* 8003ABB4 00037B14 90 A3 02 FC */ stw r5, 0x2fc(r3) -/* 8003ABB8 00037B18 41 82 00 10 */ beq lbl_8003ABC8 -/* 8003ABBC 00037B1C 38 00 00 02 */ li r0, 2 -/* 8003ABC0 00037B20 90 03 02 FC */ stw r0, 0x2fc(r3) -/* 8003ABC4 00037B24 4E 80 00 20 */ blr -lbl_8003ABC8: -/* 8003ABC8 00037B28 80 03 03 A8 */ lwz r0, 0x3a8(r3) -/* 8003ABCC 00037B2C 2C 00 00 01 */ cmpwi r0, 1 -/* 8003ABD0 00037B30 41 82 00 38 */ beq lbl_8003AC08 -/* 8003ABD4 00037B34 4C 80 00 20 */ bgelr -/* 8003ABD8 00037B38 2C 00 00 00 */ cmpwi r0, 0 -/* 8003ABDC 00037B3C 4D 80 00 20 */ bltlr -/* 8003ABE0 00037B40 38 00 00 01 */ li r0, 1 -/* 8003ABE4 00037B44 2C 04 00 00 */ cmpwi r4, 0 -/* 8003ABE8 00037B48 90 03 02 FC */ stw r0, 0x2fc(r3) -/* 8003ABEC 00037B4C 4C 81 00 20 */ blelr -/* 8003ABF0 00037B50 2C 04 00 02 */ cmpwi r4, 2 -/* 8003ABF4 00037B54 4C 80 00 20 */ bgelr -/* 8003ABF8 00037B58 80 03 02 FC */ lwz r0, 0x2fc(r3) -/* 8003ABFC 00037B5C 60 00 00 04 */ ori r0, r0, 4 -/* 8003AC00 00037B60 90 03 02 FC */ stw r0, 0x2fc(r3) -/* 8003AC04 00037B64 4E 80 00 20 */ blr -lbl_8003AC08: -/* 8003AC08 00037B68 2C 04 00 06 */ cmpwi r4, 6 -/* 8003AC0C 00037B6C 40 80 00 0C */ bge lbl_8003AC18 -/* 8003AC10 00037B70 2C 04 00 04 */ cmpwi r4, 4 -/* 8003AC14 00037B74 40 80 00 10 */ bge lbl_8003AC24 -lbl_8003AC18: -/* 8003AC18 00037B78 38 00 00 02 */ li r0, 2 -/* 8003AC1C 00037B7C 90 03 02 FC */ stw r0, 0x2fc(r3) -/* 8003AC20 00037B80 48 00 00 0C */ b lbl_8003AC2C -lbl_8003AC24: -/* 8003AC24 00037B84 38 00 00 01 */ li r0, 1 -/* 8003AC28 00037B88 90 03 02 FC */ stw r0, 0x2fc(r3) -lbl_8003AC2C: -/* 8003AC2C 00037B8C 80 03 02 FC */ lwz r0, 0x2fc(r3) -/* 8003AC30 00037B90 60 00 00 04 */ ori r0, r0, 4 -/* 8003AC34 00037B94 90 03 02 FC */ stw r0, 0x2fc(r3) -/* 8003AC38 00037B98 4E 80 00 20 */ blr - -.global IsFidgetLoaded__10CPlayerGunFv -IsFidgetLoaded__10CPlayerGunFv: -/* 8003AC3C 00037B9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003AC40 00037BA0 7C 08 02 A6 */ mflr r0 -/* 8003AC44 00037BA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003AC48 00037BA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003AC4C 00037BAC 3B E0 00 00 */ li r31, 0 -/* 8003AC50 00037BB0 93 C1 00 08 */ stw r30, 8(r1) -/* 8003AC54 00037BB4 7C 7E 1B 78 */ mr r30, r3 -/* 8003AC58 00037BB8 80 03 02 FC */ lwz r0, 0x2fc(r3) -/* 8003AC5C 00037BBC 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8003AC60 00037BC0 2C 00 00 01 */ cmpwi r0, 1 -/* 8003AC64 00037BC4 40 82 00 1C */ bne lbl_8003AC80 -/* 8003AC68 00037BC8 80 7E 07 3C */ lwz r3, 0x73c(r30) -/* 8003AC6C 00037BCC 38 63 00 7C */ addi r3, r3, 0x7c -/* 8003AC70 00037BD0 48 1B 64 59 */ bl IsAnimLoaded__9CGSFidgetCFv -/* 8003AC74 00037BD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003AC78 00037BD8 41 82 00 08 */ beq lbl_8003AC80 -/* 8003AC7C 00037BDC 63 FF 00 01 */ ori r31, r31, 1 -lbl_8003AC80: -/* 8003AC80 00037BE0 80 1E 02 FC */ lwz r0, 0x2fc(r30) -/* 8003AC84 00037BE4 54 00 07 BC */ rlwinm r0, r0, 0, 0x1e, 0x1e -/* 8003AC88 00037BE8 2C 00 00 02 */ cmpwi r0, 2 -/* 8003AC8C 00037BEC 40 82 00 18 */ bne lbl_8003ACA4 -/* 8003AC90 00037BF0 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003AC94 00037BF4 48 17 F9 A5 */ bl IsFidgetLoaded__10CGunWeaponFv -/* 8003AC98 00037BF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003AC9C 00037BFC 41 82 00 08 */ beq lbl_8003ACA4 -/* 8003ACA0 00037C00 63 FF 00 02 */ ori r31, r31, 2 -lbl_8003ACA4: -/* 8003ACA4 00037C04 80 1E 02 FC */ lwz r0, 0x2fc(r30) -/* 8003ACA8 00037C08 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d -/* 8003ACAC 00037C0C 2C 00 00 04 */ cmpwi r0, 4 -/* 8003ACB0 00037C10 40 82 00 28 */ bne lbl_8003ACD8 -/* 8003ACB4 00037C14 80 7E 07 40 */ lwz r3, 0x740(r30) -/* 8003ACB8 00037C18 80 63 03 28 */ lwz r3, 0x328(r3) -/* 8003ACBC 00037C1C 28 03 00 00 */ cmplwi r3, 0 -/* 8003ACC0 00037C20 41 82 00 18 */ beq lbl_8003ACD8 -/* 8003ACC4 00037C24 38 63 00 30 */ addi r3, r3, 0x30 -/* 8003ACC8 00037C28 48 1B 64 01 */ bl IsAnimLoaded__9CGSFidgetCFv -/* 8003ACCC 00037C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003ACD0 00037C30 41 82 00 08 */ beq lbl_8003ACD8 -/* 8003ACD4 00037C34 63 FF 00 04 */ ori r31, r31, 4 -lbl_8003ACD8: -/* 8003ACD8 00037C38 80 1E 02 FC */ lwz r0, 0x2fc(r30) -/* 8003ACDC 00037C3C 7C 1F 00 50 */ subf r0, r31, r0 -/* 8003ACE0 00037C40 7C 00 00 34 */ cntlzw r0, r0 -/* 8003ACE4 00037C44 54 03 D9 7E */ srwi r3, r0, 5 -/* 8003ACE8 00037C48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003ACEC 00037C4C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003ACF0 00037C50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003ACF4 00037C54 7C 08 03 A6 */ mtlr r0 -/* 8003ACF8 00037C58 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003ACFC 00037C5C 4E 80 00 20 */ blr - -.global UnLoadFidget__10CPlayerGunFv -UnLoadFidget__10CPlayerGunFv: -/* 8003AD00 00037C60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003AD04 00037C64 7C 08 02 A6 */ mflr r0 -/* 8003AD08 00037C68 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003AD0C 00037C6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003AD10 00037C70 7C 7F 1B 78 */ mr r31, r3 -/* 8003AD14 00037C74 80 03 02 FC */ lwz r0, 0x2fc(r3) -/* 8003AD18 00037C78 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8003AD1C 00037C7C 2C 00 00 01 */ cmpwi r0, 1 -/* 8003AD20 00037C80 40 82 00 10 */ bne lbl_8003AD30 -/* 8003AD24 00037C84 80 7F 07 3C */ lwz r3, 0x73c(r31) -/* 8003AD28 00037C88 38 63 00 7C */ addi r3, r3, 0x7c -/* 8003AD2C 00037C8C 48 1B 63 BD */ bl UnLoadAnim__9CGSFidgetFv -lbl_8003AD30: -/* 8003AD30 00037C90 80 1F 02 FC */ lwz r0, 0x2fc(r31) -/* 8003AD34 00037C94 54 00 07 BC */ rlwinm r0, r0, 0, 0x1e, 0x1e -/* 8003AD38 00037C98 2C 00 00 02 */ cmpwi r0, 2 -/* 8003AD3C 00037C9C 40 82 00 0C */ bne lbl_8003AD48 -/* 8003AD40 00037CA0 80 7F 07 2C */ lwz r3, 0x72c(r31) -/* 8003AD44 00037CA4 48 17 F9 1D */ bl UnLoadFidget__10CGunWeaponFv -lbl_8003AD48: -/* 8003AD48 00037CA8 80 1F 02 FC */ lwz r0, 0x2fc(r31) -/* 8003AD4C 00037CAC 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d -/* 8003AD50 00037CB0 2C 00 00 04 */ cmpwi r0, 4 -/* 8003AD54 00037CB4 40 82 00 1C */ bne lbl_8003AD70 -/* 8003AD58 00037CB8 80 7F 07 40 */ lwz r3, 0x740(r31) -/* 8003AD5C 00037CBC 80 63 03 28 */ lwz r3, 0x328(r3) -/* 8003AD60 00037CC0 28 03 00 00 */ cmplwi r3, 0 -/* 8003AD64 00037CC4 41 82 00 0C */ beq lbl_8003AD70 -/* 8003AD68 00037CC8 38 63 00 30 */ addi r3, r3, 0x30 -/* 8003AD6C 00037CCC 48 1B 63 7D */ bl UnLoadAnim__9CGSFidgetFv -lbl_8003AD70: -/* 8003AD70 00037CD0 38 00 00 00 */ li r0, 0 -/* 8003AD74 00037CD4 90 1F 02 FC */ stw r0, 0x2fc(r31) -/* 8003AD78 00037CD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003AD7C 00037CDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003AD80 00037CE0 7C 08 03 A6 */ mtlr r0 -/* 8003AD84 00037CE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003AD88 00037CE8 4E 80 00 20 */ blr - -.global AsyncLoadFidget__10CPlayerGunFR13CStateManager -AsyncLoadFidget__10CPlayerGunFR13CStateManager: -/* 8003AD8C 00037CEC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003AD90 00037CF0 7C 08 02 A6 */ mflr r0 -/* 8003AD94 00037CF4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003AD98 00037CF8 BF 41 00 08 */ stmw r26, 8(r1) -/* 8003AD9C 00037CFC 7C 7C 1B 78 */ mr r28, r3 -/* 8003ADA0 00037D00 7C 9D 23 78 */ mr r29, r4 -/* 8003ADA4 00037D04 80 03 03 A4 */ lwz r0, 0x3a4(r3) -/* 8003ADA8 00037D08 83 63 03 A8 */ lwz r27, 0x3a8(r3) -/* 8003ADAC 00037D0C 20 00 00 03 */ subfic r0, r0, 3 -/* 8003ADB0 00037D10 83 E3 03 B0 */ lwz r31, 0x3b0(r3) -/* 8003ADB4 00037D14 7C 00 00 34 */ cntlzw r0, r0 -/* 8003ADB8 00037D18 7F 7E DB 78 */ mr r30, r27 -/* 8003ADBC 00037D1C 54 1A D9 7E */ srwi r26, r0, 5 -/* 8003ADC0 00037D20 7F E4 FB 78 */ mr r4, r31 -/* 8003ADC4 00037D24 7F 45 D3 78 */ mr r5, r26 -/* 8003ADC8 00037D28 4B FF FD E5 */ bl SetFidgetAnimBits__10CPlayerGunFib -/* 8003ADCC 00037D2C 80 1C 02 FC */ lwz r0, 0x2fc(r28) -/* 8003ADD0 00037D30 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8003ADD4 00037D34 2C 00 00 01 */ cmpwi r0, 1 -/* 8003ADD8 00037D38 40 82 00 20 */ bne lbl_8003ADF8 -/* 8003ADDC 00037D3C 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003ADE0 00037D40 7F A4 EB 78 */ mr r4, r29 -/* 8003ADE4 00037D44 80 DC 03 10 */ lwz r6, 0x310(r28) -/* 8003ADE8 00037D48 7F C5 F3 78 */ mr r5, r30 -/* 8003ADEC 00037D4C 7F E7 FB 78 */ mr r7, r31 -/* 8003ADF0 00037D50 38 63 00 4C */ addi r3, r3, 0x4c -/* 8003ADF4 00037D54 48 19 1A 29 */ bl LoadFidgetAnimAsync__14CGunControllerFR13CStateManageriii -lbl_8003ADF8: -/* 8003ADF8 00037D58 80 1C 02 FC */ lwz r0, 0x2fc(r28) -/* 8003ADFC 00037D5C 54 00 07 BC */ rlwinm r0, r0, 0, 0x1e, 0x1e -/* 8003AE00 00037D60 2C 00 00 02 */ cmpwi r0, 2 -/* 8003AE04 00037D64 40 82 00 34 */ bne lbl_8003AE38 -/* 8003AE08 00037D68 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8003AE0C 00037D6C 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 8003AE10 00037D70 7F A4 EB 78 */ mr r4, r29 -/* 8003AE14 00037D74 41 82 00 08 */ beq lbl_8003AE1C -/* 8003AE18 00037D78 3B 60 00 00 */ li r27, 0 -lbl_8003AE1C: -/* 8003AE1C 00037D7C 7F 65 DB 78 */ mr r5, r27 -/* 8003AE20 00037D80 7F E6 FB 78 */ mr r6, r31 -/* 8003AE24 00037D84 48 17 F8 65 */ bl AsyncLoadFidget__10CGunWeaponFR13CStateManagerQ28SamusGun11EFidgetTypei -/* 8003AE28 00037D88 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 8003AE2C 00037D8C 38 60 00 00 */ li r3, 0 -/* 8003AE30 00037D90 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8003AE34 00037D94 98 1C 08 32 */ stb r0, 0x832(r28) -lbl_8003AE38: -/* 8003AE38 00037D98 80 1C 02 FC */ lwz r0, 0x2fc(r28) -/* 8003AE3C 00037D9C 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d -/* 8003AE40 00037DA0 2C 00 00 04 */ cmpwi r0, 4 -/* 8003AE44 00037DA4 40 82 00 38 */ bne lbl_8003AE7C -/* 8003AE48 00037DA8 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 8003AE4C 00037DAC 80 63 03 28 */ lwz r3, 0x328(r3) -/* 8003AE50 00037DB0 28 03 00 00 */ cmplwi r3, 0 -/* 8003AE54 00037DB4 41 82 00 28 */ beq lbl_8003AE7C -/* 8003AE58 00037DB8 2C 1E 00 00 */ cmpwi r30, 0 -/* 8003AE5C 00037DBC 7F A4 EB 78 */ mr r4, r29 -/* 8003AE60 00037DC0 7F C5 F3 78 */ mr r5, r30 -/* 8003AE64 00037DC4 41 82 00 0C */ beq lbl_8003AE70 -/* 8003AE68 00037DC8 80 DC 03 10 */ lwz r6, 0x310(r28) -/* 8003AE6C 00037DCC 48 00 00 08 */ b lbl_8003AE74 -lbl_8003AE70: -/* 8003AE70 00037DD0 38 C0 00 00 */ li r6, 0 -lbl_8003AE74: -/* 8003AE74 00037DD4 7F E7 FB 78 */ mr r7, r31 -/* 8003AE78 00037DD8 48 19 19 A5 */ bl LoadFidgetAnimAsync__14CGunControllerFR13CStateManageriii -lbl_8003AE7C: -/* 8003AE7C 00037DDC BB 41 00 08 */ lmw r26, 8(r1) -/* 8003AE80 00037DE0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003AE84 00037DE4 7C 08 03 A6 */ mtlr r0 -/* 8003AE88 00037DE8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003AE8C 00037DEC 4E 80 00 20 */ blr - -.global ProcessGunMorph__10CPlayerGunFfR13CStateManager -ProcessGunMorph__10CPlayerGunFfR13CStateManager: -/* 8003AE90 00037DF0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8003AE94 00037DF4 7C 08 02 A6 */ mflr r0 -/* 8003AE98 00037DF8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8003AE9C 00037DFC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8003AEA0 00037E00 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8003AEA4 00037E04 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8003AEA8 00037E08 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8003AEAC 00037E0C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8003AEB0 00037E10 93 81 00 20 */ stw r28, 0x20(r1) -/* 8003AEB4 00037E14 7C 9D 23 78 */ mr r29, r4 -/* 8003AEB8 00037E18 7C 7C 1B 78 */ mr r28, r3 -/* 8003AEBC 00037E1C 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 8003AEC0 00037E20 FF E0 08 90 */ fmr f31, f1 -/* 8003AEC4 00037E24 80 BC 06 98 */ lwz r5, 0x698(r28) -/* 8003AEC8 00037E28 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8003AECC 00037E2C 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 8003AED0 00037E30 2C 05 00 01 */ cmpwi r5, 1 -/* 8003AED4 00037E34 7C 00 00 34 */ cntlzw r0, r0 -/* 8003AED8 00037E38 83 E3 00 00 */ lwz r31, 0(r3) -/* 8003AEDC 00037E3C 54 1E D9 7E */ srwi r30, r0, 5 -/* 8003AEE0 00037E40 41 82 01 4C */ beq lbl_8003B02C -/* 8003AEE4 00037E44 40 80 00 10 */ bge lbl_8003AEF4 -/* 8003AEE8 00037E48 2C 05 00 00 */ cmpwi r5, 0 -/* 8003AEEC 00037E4C 40 80 00 14 */ bge lbl_8003AF00 -/* 8003AEF0 00037E50 48 00 01 3C */ b lbl_8003B02C -lbl_8003AEF4: -/* 8003AEF4 00037E54 2C 05 00 04 */ cmpwi r5, 4 -/* 8003AEF8 00037E58 40 80 01 34 */ bge lbl_8003B02C -/* 8003AEFC 00037E5C 48 00 00 D0 */ b lbl_8003AFCC -lbl_8003AF00: -/* 8003AF00 00037E60 80 7C 03 10 */ lwz r3, 0x310(r28) -/* 8003AF04 00037E64 80 1C 03 14 */ lwz r0, 0x314(r28) -/* 8003AF08 00037E68 7C 03 00 00 */ cmpw r3, r0 -/* 8003AF0C 00037E6C 41 82 01 20 */ beq lbl_8003B02C -/* 8003AF10 00037E70 80 7C 07 34 */ lwz r3, 0x734(r28) -/* 8003AF14 00037E74 28 03 00 00 */ cmplwi r3, 0 -/* 8003AF18 00037E78 41 82 01 14 */ beq lbl_8003B02C -/* 8003AF1C 00037E7C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8003AF20 00037E80 40 82 00 08 */ bne lbl_8003AF28 -/* 8003AF24 00037E84 48 18 06 C9 */ bl Touch__10CGunWeaponFRC13CStateManager -lbl_8003AF28: -/* 8003AF28 00037E88 80 7C 07 34 */ lwz r3, 0x734(r28) -/* 8003AF2C 00037E8C 81 83 00 00 */ lwz r12, 0(r3) -/* 8003AF30 00037E90 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8003AF34 00037E94 7D 89 03 A6 */ mtctr r12 -/* 8003AF38 00037E98 4E 80 04 21 */ bctrl -/* 8003AF3C 00037E9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003AF40 00037EA0 41 82 00 EC */ beq lbl_8003B02C -/* 8003AF44 00037EA4 80 7C 07 44 */ lwz r3, 0x744(r28) -/* 8003AF48 00037EA8 88 03 00 80 */ lbz r0, 0x80(r3) -/* 8003AF4C 00037EAC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8003AF50 00037EB0 41 82 00 DC */ beq lbl_8003B02C -/* 8003AF54 00037EB4 80 1C 07 34 */ lwz r0, 0x734(r28) -/* 8003AF58 00037EB8 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 8003AF5C 00037EBC 7C 00 18 40 */ cmplw r0, r3 -/* 8003AF60 00037EC0 41 82 00 08 */ beq lbl_8003AF68 -/* 8003AF64 00037EC4 48 00 00 08 */ b lbl_8003AF6C -lbl_8003AF68: -/* 8003AF68 00037EC8 38 60 00 00 */ li r3, 0 -lbl_8003AF6C: -/* 8003AF6C 00037ECC 90 7C 07 30 */ stw r3, 0x730(r28) -/* 8003AF70 00037ED0 38 00 00 00 */ li r0, 0 -/* 8003AF74 00037ED4 38 80 00 01 */ li r4, 1 -/* 8003AF78 00037ED8 90 1C 07 34 */ stw r0, 0x734(r28) -/* 8003AF7C 00037EDC 80 1C 03 14 */ lwz r0, 0x314(r28) -/* 8003AF80 00037EE0 90 1C 03 10 */ stw r0, 0x310(r28) -/* 8003AF84 00037EE4 80 1C 03 14 */ lwz r0, 0x314(r28) -/* 8003AF88 00037EE8 90 1C 03 20 */ stw r0, 0x320(r28) -/* 8003AF8C 00037EEC 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003AF90 00037EF0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8003AF94 00037EF4 98 1C 08 33 */ stb r0, 0x833(r28) -/* 8003AF98 00037EF8 80 1C 03 14 */ lwz r0, 0x314(r28) -/* 8003AF9C 00037EFC 54 00 10 3A */ slwi r0, r0, 2 -/* 8003AFA0 00037F00 7C 7C 02 14 */ add r3, r28, r0 -/* 8003AFA4 00037F04 80 03 07 64 */ lwz r0, 0x764(r3) -/* 8003AFA8 00037F08 90 1C 07 2C */ stw r0, 0x72c(r28) -/* 8003AFAC 00037F0C 80 1C 07 2C */ lwz r0, 0x72c(r28) -/* 8003AFB0 00037F10 90 1C 07 38 */ stw r0, 0x738(r28) -/* 8003AFB4 00037F14 88 1C 06 9C */ lbz r0, 0x69c(r28) -/* 8003AFB8 00037F18 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8003AFBC 00037F1C 98 1C 06 9C */ stb r0, 0x69c(r28) -/* 8003AFC0 00037F20 80 1C 03 14 */ lwz r0, 0x314(r28) -/* 8003AFC4 00037F24 90 1F 00 08 */ stw r0, 8(r31) -/* 8003AFC8 00037F28 48 00 00 64 */ b lbl_8003B02C -lbl_8003AFCC: -/* 8003AFCC 00037F2C 80 7C 07 78 */ lwz r3, 0x778(r28) -/* 8003AFD0 00037F30 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 8003AFD4 00037F34 38 84 D4 04 */ addi r4, r4, lbl_8056D404@l -/* 8003AFD8 00037F38 81 83 00 00 */ lwz r12, 0(r3) -/* 8003AFDC 00037F3C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8003AFE0 00037F40 7D 89 03 A6 */ mtctr r12 -/* 8003AFE4 00037F44 4E 80 04 21 */ bctrl -/* 8003AFE8 00037F48 C0 3C 06 78 */ lfs f1, 0x678(r28) -/* 8003AFEC 00037F4C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003AFF0 00037F50 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003AFF4 00037F54 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8003AFF8 00037F58 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8003AFFC 00037F5C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8003B000 00037F60 80 7C 07 78 */ lwz r3, 0x778(r28) -/* 8003B004 00037F64 81 83 00 00 */ lwz r12, 0(r3) -/* 8003B008 00037F68 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8003B00C 00037F6C 7D 89 03 A6 */ mtctr r12 -/* 8003B010 00037F70 4E 80 04 21 */ bctrl -/* 8003B014 00037F74 80 7C 07 78 */ lwz r3, 0x778(r28) -/* 8003B018 00037F78 FC 20 F8 90 */ fmr f1, f31 -/* 8003B01C 00037F7C 81 83 00 00 */ lwz r12, 0(r3) -/* 8003B020 00037F80 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8003B024 00037F84 7D 89 03 A6 */ mtctr r12 -/* 8003B028 00037F88 4E 80 04 21 */ bctrl -lbl_8003B02C: -/* 8003B02C 00037F8C FC 60 F8 90 */ fmr f3, f31 -/* 8003B030 00037F90 C0 22 84 70 */ lfs f1, lbl_805AA190@sda21(r2) -/* 8003B034 00037F94 C0 42 84 74 */ lfs f2, lbl_805AA194@sda21(r2) -/* 8003B038 00037F98 38 7C 06 78 */ addi r3, r28, 0x678 -/* 8003B03C 00037F9C 48 00 2F 31 */ bl Update__Q210CPlayerGun9CGunMorphFfff -/* 8003B040 00037FA0 2C 03 00 02 */ cmpwi r3, 2 -/* 8003B044 00037FA4 41 82 00 3C */ beq lbl_8003B080 -/* 8003B048 00037FA8 40 80 01 5C */ bge lbl_8003B1A4 -/* 8003B04C 00037FAC 2C 03 00 01 */ cmpwi r3, 1 -/* 8003B050 00037FB0 40 80 00 08 */ bge lbl_8003B058 -/* 8003B054 00037FB4 48 00 01 50 */ b lbl_8003B1A4 -lbl_8003B058: -/* 8003B058 00037FB8 A9 02 C5 F8 */ lha r8, lbl_805AE318@sda21(r2) -/* 8003B05C 00037FBC 38 61 00 0C */ addi r3, r1, 0xc -/* 8003B060 00037FC0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8003B064 00037FC4 38 80 06 EF */ li r4, 0x6ef -/* 8003B068 00037FC8 38 A0 00 7F */ li r5, 0x7f -/* 8003B06C 00037FCC 38 C0 00 40 */ li r6, 0x40 -/* 8003B070 00037FD0 38 E0 00 01 */ li r7, 1 -/* 8003B074 00037FD4 39 20 00 00 */ li r9, 0 -/* 8003B078 00037FD8 48 2A EC FD */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8003B07C 00037FDC 48 00 01 28 */ b lbl_8003B1A4 -lbl_8003B080: -/* 8003B080 00037FE0 80 7C 07 30 */ lwz r3, 0x730(r28) -/* 8003B084 00037FE4 28 03 00 00 */ cmplwi r3, 0 -/* 8003B088 00037FE8 41 82 00 2C */ beq lbl_8003B0B4 -/* 8003B08C 00037FEC 80 1C 07 2C */ lwz r0, 0x72c(r28) -/* 8003B090 00037FF0 7C 03 00 40 */ cmplw r3, r0 -/* 8003B094 00037FF4 41 82 00 20 */ beq lbl_8003B0B4 -/* 8003B098 00037FF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003B09C 00037FFC 7F A4 EB 78 */ mr r4, r29 -/* 8003B0A0 00038000 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 8003B0A4 00038004 7D 89 03 A6 */ mtctr r12 -/* 8003B0A8 00038008 4E 80 04 21 */ bctrl -/* 8003B0AC 0003800C 38 00 00 00 */ li r0, 0 -/* 8003B0B0 00038010 90 1C 07 30 */ stw r0, 0x730(r28) -lbl_8003B0B4: -/* 8003B0B4 00038014 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8003B0B8 00038018 41 82 00 2C */ beq lbl_8003B0E4 -/* 8003B0BC 0003801C 80 7C 03 10 */ lwz r3, 0x310(r28) -/* 8003B0C0 00038020 38 8D 82 30 */ addi r4, r13, lbl_805A6DF0@sda21 -/* 8003B0C4 00038024 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003B0C8 00038028 38 E0 00 4A */ li r7, 0x4a -/* 8003B0CC 0003802C 54 66 08 3C */ slwi r6, r3, 1 -/* 8003B0D0 00038030 38 61 00 08 */ addi r3, r1, 8 -/* 8003B0D4 00038034 7C 84 32 2E */ lhzx r4, r4, r6 -/* 8003B0D8 00038038 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 8003B0DC 0003803C 38 C0 00 00 */ li r6, 0 -/* 8003B0E0 00038040 48 24 FA 19 */ bl play_sfx__12NWeaponTypesFUsbbs -lbl_8003B0E4: -/* 8003B0E4 00038044 80 1C 07 48 */ lwz r0, 0x748(r28) -/* 8003B0E8 00038048 38 80 00 01 */ li r4, 1 -/* 8003B0EC 0003804C 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 8003B0F0 00038050 90 03 01 BC */ stw r0, 0x1bc(r3) -/* 8003B0F4 00038054 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 8003B0F8 00038058 81 83 00 00 */ lwz r12, 0(r3) -/* 8003B0FC 0003805C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8003B100 00038060 7D 89 03 A6 */ mtctr r12 -/* 8003B104 00038064 4E 80 04 21 */ bctrl -/* 8003B108 00038068 7F 83 E3 78 */ mr r3, r28 -/* 8003B10C 0003806C 38 80 00 0A */ li r4, 0xa -/* 8003B110 00038070 38 A0 00 00 */ li r5, 0 -/* 8003B114 00038074 48 00 67 B1 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -/* 8003B118 00038078 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003B11C 0003807C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8003B120 00038080 41 82 00 14 */ beq lbl_8003B134 -/* 8003B124 00038084 7F 83 E3 78 */ mr r3, r28 -/* 8003B128 00038088 7F A4 EB 78 */ mr r4, r29 -/* 8003B12C 0003808C 48 00 0D 91 */ bl EnterFreeLook__10CPlayerGunFR13CStateManager -/* 8003B130 00038090 48 00 00 20 */ b lbl_8003B150 -lbl_8003B134: -/* 8003B134 00038094 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 8003B138 00038098 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8003B13C 0003809C 41 82 00 14 */ beq lbl_8003B150 -/* 8003B140 000380A0 7F 83 E3 78 */ mr r3, r28 -/* 8003B144 000380A4 7F A4 EB 78 */ mr r4, r29 -/* 8003B148 000380A8 38 A0 00 00 */ li r5, 0 -/* 8003B14C 000380AC 48 00 0A ED */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb -lbl_8003B150: -/* 8003B150 000380B0 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003B154 000380B4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8003B158 000380B8 40 82 00 10 */ bne lbl_8003B168 -/* 8003B15C 000380BC 80 1C 02 EC */ lwz r0, 0x2ec(r28) -/* 8003B160 000380C0 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8003B164 000380C4 41 82 00 28 */ beq lbl_8003B18C -lbl_8003B168: -/* 8003B168 000380C8 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8003B16C 000380CC 2C 00 00 02 */ cmpwi r0, 2 -/* 8003B170 000380D0 41 82 00 0C */ beq lbl_8003B17C -/* 8003B174 000380D4 38 00 00 01 */ li r0, 1 -/* 8003B178 000380D8 90 1C 03 2C */ stw r0, 0x32c(r28) -lbl_8003B17C: -/* 8003B17C 000380DC 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003B180 000380E0 38 60 00 00 */ li r3, 0 -/* 8003B184 000380E4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8003B188 000380E8 98 1C 08 34 */ stb r0, 0x834(r28) -lbl_8003B18C: -/* 8003B18C 000380EC 88 7C 08 32 */ lbz r3, 0x832(r28) -/* 8003B190 000380F0 38 00 00 00 */ li r0, 0 -/* 8003B194 000380F4 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e -/* 8003B198 000380F8 38 00 00 06 */ li r0, 6 -/* 8003B19C 000380FC 98 7C 08 32 */ stb r3, 0x832(r28) -/* 8003B1A0 00038100 90 1C 03 38 */ stw r0, 0x338(r28) -lbl_8003B1A4: -/* 8003B1A4 00038104 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8003B1A8 00038108 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8003B1AC 0003810C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8003B1B0 00038110 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8003B1B4 00038114 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8003B1B8 00038118 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8003B1BC 0003811C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8003B1C0 00038120 7C 08 03 A6 */ mtlr r0 -/* 8003B1C4 00038124 38 21 00 40 */ addi r1, r1, 0x40 -/* 8003B1C8 00038128 4E 80 00 20 */ blr - -.global EnableFx__10CGunWeaponFb -EnableFx__10CGunWeaponFb: -/* 8003B1CC 0003812C 4E 80 00 20 */ blr - -.global ProcessPhazonGunMorph__10CPlayerGunFfR13CStateManager -ProcessPhazonGunMorph__10CPlayerGunFfR13CStateManager: -/* 8003B1D0 00038130 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003B1D4 00038134 7C 08 02 A6 */ mflr r0 -/* 8003B1D8 00038138 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003B1DC 0003813C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003B1E0 00038140 7C 7F 1B 78 */ mr r31, r3 -/* 8003B1E4 00038144 93 C1 00 08 */ stw r30, 8(r1) -/* 8003B1E8 00038148 7C 9E 23 78 */ mr r30, r4 -/* 8003B1EC 0003814C 88 63 08 35 */ lbz r3, 0x835(r3) -/* 8003B1F0 00038150 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8003B1F4 00038154 41 82 00 68 */ beq lbl_8003B25C -/* 8003B1F8 00038158 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8003B1FC 0003815C 41 82 00 2C */ beq lbl_8003B228 -/* 8003B200 00038160 C0 62 84 78 */ lfs f3, lbl_805AA198@sda21(r2) -/* 8003B204 00038164 C0 5F 03 9C */ lfs f2, 0x39c(r31) -/* 8003B208 00038168 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003B20C 0003816C EC 43 10 7A */ fmadds f2, f3, f1, f2 -/* 8003B210 00038170 D0 5F 03 9C */ stfs f2, 0x39c(r31) -/* 8003B214 00038174 C0 5F 03 9C */ lfs f2, 0x39c(r31) -/* 8003B218 00038178 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8003B21C 0003817C 40 81 00 40 */ ble lbl_8003B25C -/* 8003B220 00038180 D0 1F 03 9C */ stfs f0, 0x39c(r31) -/* 8003B224 00038184 48 00 00 38 */ b lbl_8003B25C -lbl_8003B228: -/* 8003B228 00038188 C0 62 84 80 */ lfs f3, lbl_805AA1A0@sda21(r2) -/* 8003B22C 0003818C C0 5F 03 9C */ lfs f2, 0x39c(r31) -/* 8003B230 00038190 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003B234 00038194 EC 43 10 7C */ fnmsubs f2, f3, f1, f2 -/* 8003B238 00038198 D0 5F 03 9C */ stfs f2, 0x39c(r31) -/* 8003B23C 0003819C C0 5F 03 9C */ lfs f2, 0x39c(r31) -/* 8003B240 000381A0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8003B244 000381A4 40 80 00 18 */ bge lbl_8003B25C -/* 8003B248 000381A8 88 1F 08 35 */ lbz r0, 0x835(r31) -/* 8003B24C 000381AC 38 60 00 00 */ li r3, 0 -/* 8003B250 000381B0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8003B254 000381B4 98 1F 08 35 */ stb r0, 0x835(r31) -/* 8003B258 000381B8 D0 1F 03 9C */ stfs f0, 0x39c(r31) -lbl_8003B25C: -/* 8003B25C 000381BC 80 1F 03 3C */ lwz r0, 0x33c(r31) -/* 8003B260 000381C0 2C 00 00 02 */ cmpwi r0, 2 -/* 8003B264 000381C4 41 82 00 88 */ beq lbl_8003B2EC -/* 8003B268 000381C8 40 80 01 04 */ bge lbl_8003B36C -/* 8003B26C 000381CC 2C 00 00 01 */ cmpwi r0, 1 -/* 8003B270 000381D0 40 80 00 08 */ bge lbl_8003B278 -/* 8003B274 000381D4 48 00 00 F8 */ b lbl_8003B36C -lbl_8003B278: -/* 8003B278 000381D8 80 7F 07 5C */ lwz r3, 0x75c(r31) -/* 8003B27C 000381DC 28 03 00 00 */ cmplwi r3, 0 -/* 8003B280 000381E0 41 82 00 EC */ beq lbl_8003B36C -/* 8003B284 000381E4 81 83 00 00 */ lwz r12, 0(r3) -/* 8003B288 000381E8 7F C4 F3 78 */ mr r4, r30 -/* 8003B28C 000381EC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8003B290 000381F0 7D 89 03 A6 */ mtctr r12 -/* 8003B294 000381F4 4E 80 04 21 */ bctrl -/* 8003B298 000381F8 80 7F 07 5C */ lwz r3, 0x75c(r31) -/* 8003B29C 000381FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8003B2A0 00038200 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8003B2A4 00038204 7D 89 03 A6 */ mtctr r12 -/* 8003B2A8 00038208 4E 80 04 21 */ bctrl -/* 8003B2AC 0003820C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003B2B0 00038210 41 82 00 BC */ beq lbl_8003B36C -/* 8003B2B4 00038214 80 DE 08 B8 */ lwz r6, 0x8b8(r30) -/* 8003B2B8 00038218 7F E3 FB 78 */ mr r3, r31 -/* 8003B2BC 0003821C 7F C5 F3 78 */ mr r5, r30 -/* 8003B2C0 00038220 38 80 00 01 */ li r4, 1 -/* 8003B2C4 00038224 80 C6 00 00 */ lwz r6, 0(r6) -/* 8003B2C8 00038228 48 00 3B 79 */ bl StartPhazonBeamTransition__10CPlayerGunFbR13CStateManagerR12CPlayerState -/* 8003B2CC 0003822C 7F E3 FB 78 */ mr r3, r31 -/* 8003B2D0 00038230 38 80 00 00 */ li r4, 0 -/* 8003B2D4 00038234 48 00 38 4D */ bl SetPhazonBeamMorph__10CPlayerGunFb -/* 8003B2D8 00038238 38 60 00 03 */ li r3, 3 -/* 8003B2DC 0003823C 38 00 00 06 */ li r0, 6 -/* 8003B2E0 00038240 90 7F 03 3C */ stw r3, 0x33c(r31) -/* 8003B2E4 00038244 90 1F 03 38 */ stw r0, 0x338(r31) -/* 8003B2E8 00038248 48 00 00 84 */ b lbl_8003B36C -lbl_8003B2EC: -/* 8003B2EC 0003824C 80 7F 07 38 */ lwz r3, 0x738(r31) -/* 8003B2F0 00038250 28 03 00 00 */ cmplwi r3, 0 -/* 8003B2F4 00038254 41 82 00 78 */ beq lbl_8003B36C -/* 8003B2F8 00038258 81 83 00 00 */ lwz r12, 0(r3) -/* 8003B2FC 0003825C 7F C4 F3 78 */ mr r4, r30 -/* 8003B300 00038260 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8003B304 00038264 7D 89 03 A6 */ mtctr r12 -/* 8003B308 00038268 4E 80 04 21 */ bctrl -/* 8003B30C 0003826C 80 7F 07 38 */ lwz r3, 0x738(r31) -/* 8003B310 00038270 81 83 00 00 */ lwz r12, 0(r3) -/* 8003B314 00038274 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8003B318 00038278 7D 89 03 A6 */ mtctr r12 -/* 8003B31C 0003827C 4E 80 04 21 */ bctrl -/* 8003B320 00038280 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003B324 00038284 41 82 00 48 */ beq lbl_8003B36C -/* 8003B328 00038288 88 1F 08 35 */ lbz r0, 0x835(r31) -/* 8003B32C 0003828C 38 60 00 00 */ li r3, 0 -/* 8003B330 00038290 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003B334 00038294 7F E3 FB 78 */ mr r3, r31 -/* 8003B338 00038298 98 1F 08 35 */ stb r0, 0x835(r31) -/* 8003B33C 0003829C 7F C5 F3 78 */ mr r5, r30 -/* 8003B340 000382A0 38 80 00 00 */ li r4, 0 -/* 8003B344 000382A4 80 DE 08 B8 */ lwz r6, 0x8b8(r30) -/* 8003B348 000382A8 80 C6 00 00 */ lwz r6, 0(r6) -/* 8003B34C 000382AC 48 00 3A F5 */ bl StartPhazonBeamTransition__10CPlayerGunFbR13CStateManagerR12CPlayerState -/* 8003B350 000382B0 7F E3 FB 78 */ mr r3, r31 -/* 8003B354 000382B4 38 80 00 00 */ li r4, 0 -/* 8003B358 000382B8 48 00 37 C9 */ bl SetPhazonBeamMorph__10CPlayerGunFb -/* 8003B35C 000382BC 38 60 00 00 */ li r3, 0 -/* 8003B360 000382C0 38 00 00 06 */ li r0, 6 -/* 8003B364 000382C4 90 7F 03 3C */ stw r3, 0x33c(r31) -/* 8003B368 000382C8 90 1F 03 38 */ stw r0, 0x338(r31) -lbl_8003B36C: -/* 8003B36C 000382CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003B370 000382D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003B374 000382D4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003B378 000382D8 7C 08 03 A6 */ mtlr r0 -/* 8003B37C 000382DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003B380 000382E0 4E 80 00 20 */ blr - -.global LoadHandAnimTokens__10CPlayerGunFv -LoadHandAnimTokens__10CPlayerGunFv: -/* 8003B384 000382E4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8003B388 000382E8 7C 08 02 A6 */ mflr r0 -/* 8003B38C 000382EC 90 01 00 84 */ stw r0, 0x84(r1) -/* 8003B390 000382F0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8003B394 000382F4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8003B398 000382F8 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 8003B39C 000382FC 7C 7A 1B 78 */ mr r26, r3 -/* 8003B3A0 00038300 88 61 00 08 */ lbz r3, 8(r1) -/* 8003B3A4 00038304 83 9A 06 F0 */ lwz r28, 0x6f0(r26) -/* 8003B3A8 00038308 3B A0 00 00 */ li r29, 0 -/* 8003B3AC 0003830C 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8003B3B0 00038310 3B 60 00 00 */ li r27, 0 -/* 8003B3B4 00038314 98 61 00 10 */ stb r3, 0x10(r1) -/* 8003B3B8 00038318 3B E0 00 01 */ li r31, 1 -/* 8003B3BC 0003831C C3 E2 84 7C */ lfs f31, lbl_805AA19C@sda21(r2) -/* 8003B3C0 00038320 3B C0 FF FF */ li r30, -1 -/* 8003B3C4 00038324 98 01 00 11 */ stb r0, 0x11(r1) -/* 8003B3C8 00038328 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003B3CC 0003832C 93 A1 00 18 */ stw r29, 0x18(r1) -/* 8003B3D0 00038330 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 8003B3D4 00038334 93 A1 00 20 */ stw r29, 0x20(r1) -lbl_8003B3D8: -/* 8003B3D8 00038338 93 61 00 24 */ stw r27, 0x24(r1) -/* 8003B3DC 0003833C 7F 83 E3 78 */ mr r3, r28 -/* 8003B3E0 00038340 38 81 00 24 */ addi r4, r1, 0x24 -/* 8003B3E4 00038344 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8003B3E8 00038348 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8003B3EC 0003834C D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 8003B3F0 00038350 9B E1 00 30 */ stb r31, 0x30(r1) -/* 8003B3F4 00038354 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8003B3F8 00038358 93 A1 00 38 */ stw r29, 0x38(r1) -/* 8003B3FC 0003835C 9B A1 00 3C */ stb r29, 0x3c(r1) -/* 8003B400 00038360 93 A1 00 40 */ stw r29, 0x40(r1) -/* 8003B404 00038364 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8003B408 00038368 93 A1 00 48 */ stw r29, 0x48(r1) -/* 8003B40C 0003836C 4B FF 18 6D */ bl "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" -/* 8003B410 00038370 3B 7B 00 01 */ addi r27, r27, 1 -/* 8003B414 00038374 2C 1B 00 03 */ cmpwi r27, 3 -/* 8003B418 00038378 41 80 FF C0 */ blt lbl_8003B3D8 -/* 8003B41C 0003837C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003B420 00038380 38 9A 05 40 */ addi r4, r26, 0x540 -/* 8003B424 00038384 38 A0 00 01 */ li r5, 1 -/* 8003B428 00038388 4B FF 16 BD */ bl "PrimitiveSetToTokenVector__9CAnimDataFRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" -/* 8003B42C 0003838C 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8003B430 00038390 28 04 00 00 */ cmplwi r4, 0 -/* 8003B434 00038394 41 82 00 0C */ beq lbl_8003B440 -/* 8003B438 00038398 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003B43C 0003839C 4B FF 5E 6D */ bl sub_800312a8 -lbl_8003B440: -/* 8003B440 000383A0 38 00 00 00 */ li r0, 0 -/* 8003B444 000383A4 90 01 00 20 */ stw r0, 0x20(r1) -/* 8003B448 000383A8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8003B44C 000383AC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8003B450 000383B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003B454 000383B4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8003B458 000383B8 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8003B45C 000383BC BB 41 00 58 */ lmw r26, 0x58(r1) -/* 8003B460 000383C0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8003B464 000383C4 7C 08 03 A6 */ mtlr r0 -/* 8003B468 000383C8 38 21 00 80 */ addi r1, r1, 0x80 -/* 8003B46C 000383CC 4E 80 00 20 */ blr - -.global SetGunLightActive__10CPlayerGunFbR13CStateManager -SetGunLightActive__10CPlayerGunFbR13CStateManager: -/* 8003B470 000383D0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8003B474 000383D4 7C 08 02 A6 */ mflr r0 -/* 8003B478 000383D8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8003B47C 000383DC 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 8003B480 000383E0 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 8003B484 000383E4 7C 9E 23 78 */ mr r30, r4 -/* 8003B488 000383E8 93 A1 00 C4 */ stw r29, 0xc4(r1) -/* 8003B48C 000383EC 7C 7D 1B 78 */ mr r29, r3 -/* 8003B490 000383F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003B494 000383F4 A0 63 05 3C */ lhz r3, 0x53c(r3) -/* 8003B498 000383F8 7C 03 00 40 */ cmplw r3, r0 -/* 8003B49C 000383FC 41 82 00 B8 */ beq lbl_8003B554 -/* 8003B4A0 00038400 A0 1D 05 3C */ lhz r0, 0x53c(r29) -/* 8003B4A4 00038404 7C A3 2B 78 */ mr r3, r5 -/* 8003B4A8 00038408 38 81 00 08 */ addi r4, r1, 8 -/* 8003B4AC 0003840C B0 01 00 08 */ sth r0, 8(r1) -/* 8003B4B0 00038410 48 01 10 C5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8003B4B4 00038414 7C 64 1B 78 */ mr r4, r3 -/* 8003B4B8 00038418 38 61 00 0C */ addi r3, r1, 0xc -/* 8003B4BC 0003841C 48 07 25 C9 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 8003B4C0 00038420 83 E3 00 04 */ lwz r31, 4(r3) -/* 8003B4C4 00038424 28 1F 00 00 */ cmplwi r31, 0 -/* 8003B4C8 00038428 41 82 00 8C */ beq lbl_8003B554 -/* 8003B4CC 0003842C 7F E3 FB 78 */ mr r3, r31 -/* 8003B4D0 00038430 57 C4 06 3E */ clrlwi r4, r30, 0x18 -/* 8003B4D4 00038434 81 9F 00 00 */ lwz r12, 0(r31) -/* 8003B4D8 00038438 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8003B4DC 0003843C 7D 89 03 A6 */ mtctr r12 -/* 8003B4E0 00038440 4E 80 04 21 */ bctrl -/* 8003B4E4 00038444 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8003B4E8 00038448 41 82 00 6C */ beq lbl_8003B554 -/* 8003B4EC 0003844C 80 7D 07 2C */ lwz r3, 0x72c(r29) -/* 8003B4F0 00038450 48 18 0C F1 */ bl GetChargeMuzzleFx__10CGunWeaponCFv -/* 8003B4F4 00038454 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8003B4F8 00038458 41 82 00 5C */ beq lbl_8003B554 -/* 8003B4FC 0003845C 81 83 00 00 */ lwz r12, 0(r3) -/* 8003B500 00038460 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8003B504 00038464 7D 89 03 A6 */ mtctr r12 -/* 8003B508 00038468 4E 80 04 21 */ bctrl -/* 8003B50C 0003846C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003B510 00038470 41 82 00 44 */ beq lbl_8003B554 -/* 8003B514 00038474 7F C4 F3 78 */ mr r4, r30 -/* 8003B518 00038478 38 61 00 14 */ addi r3, r1, 0x14 -/* 8003B51C 0003847C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8003B520 00038480 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8003B524 00038484 7D 89 03 A6 */ mtctr r12 -/* 8003B528 00038488 4E 80 04 21 */ bctrl -/* 8003B52C 0003848C 38 61 00 64 */ addi r3, r1, 0x64 -/* 8003B530 00038490 38 81 00 14 */ addi r4, r1, 0x14 -/* 8003B534 00038494 48 00 00 3D */ bl __ct__6CLightFCR6CLight -/* 8003B538 00038498 48 30 EA 7D */ bl Black__6CColorFv -/* 8003B53C 0003849C 7C 64 1B 78 */ mr r4, r3 -/* 8003B540 000384A0 38 61 00 64 */ addi r3, r1, 0x64 -/* 8003B544 000384A4 48 2C AE 19 */ bl SetColor__6CLightFRC6CColor -/* 8003B548 000384A8 7F E3 FB 78 */ mr r3, r31 -/* 8003B54C 000384AC 38 81 00 64 */ addi r4, r1, 0x64 -/* 8003B550 000384B0 48 07 A1 F5 */ bl SetLight__10CGameLightFRC6CLight -lbl_8003B554: -/* 8003B554 000384B4 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8003B558 000384B8 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 8003B55C 000384BC 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 8003B560 000384C0 83 A1 00 C4 */ lwz r29, 0xc4(r1) -/* 8003B564 000384C4 7C 08 03 A6 */ mtlr r0 -/* 8003B568 000384C8 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8003B56C 000384CC 4E 80 00 20 */ blr - -.global __ct__6CLightFCR6CLight -__ct__6CLightFCR6CLight: -/* 8003B570 000384D0 C0 04 00 00 */ lfs f0, 0(r4) -/* 8003B574 000384D4 D0 03 00 00 */ stfs f0, 0(r3) -/* 8003B578 000384D8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8003B57C 000384DC D0 03 00 04 */ stfs f0, 4(r3) -/* 8003B580 000384E0 C0 04 00 08 */ lfs f0, 8(r4) -/* 8003B584 000384E4 D0 03 00 08 */ stfs f0, 8(r3) -/* 8003B588 000384E8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8003B58C 000384EC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8003B590 000384F0 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8003B594 000384F4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8003B598 000384F8 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8003B59C 000384FC D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8003B5A0 00038500 80 04 00 18 */ lwz r0, 0x18(r4) -/* 8003B5A4 00038504 90 03 00 18 */ stw r0, 0x18(r3) -/* 8003B5A8 00038508 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 8003B5AC 0003850C 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8003B5B0 00038510 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 8003B5B4 00038514 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8003B5B8 00038518 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 8003B5BC 0003851C D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8003B5C0 00038520 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 8003B5C4 00038524 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8003B5C8 00038528 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 8003B5CC 0003852C D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8003B5D0 00038530 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 8003B5D4 00038534 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8003B5D8 00038538 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 8003B5DC 0003853C D0 03 00 34 */ stfs f0, 0x34(r3) -/* 8003B5E0 00038540 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 8003B5E4 00038544 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 8003B5E8 00038548 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 8003B5EC 0003854C 90 03 00 3C */ stw r0, 0x3c(r3) -/* 8003B5F0 00038550 80 04 00 40 */ lwz r0, 0x40(r4) -/* 8003B5F4 00038554 90 03 00 40 */ stw r0, 0x40(r3) -/* 8003B5F8 00038558 C0 04 00 44 */ lfs f0, 0x44(r4) -/* 8003B5FC 0003855C D0 03 00 44 */ stfs f0, 0x44(r3) -/* 8003B600 00038560 C0 04 00 48 */ lfs f0, 0x48(r4) -/* 8003B604 00038564 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 8003B608 00038568 88 04 00 4C */ lbz r0, 0x4c(r4) -/* 8003B60C 0003856C 98 03 00 4C */ stb r0, 0x4c(r3) -/* 8003B610 00038570 4E 80 00 20 */ blr - -.global UpdateGunLight__10CPlayerGunFRC12CTransform4fR13CStateManager -UpdateGunLight__10CPlayerGunFRC12CTransform4fR13CStateManager: -/* 8003B614 00038574 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8003B618 00038578 7C 08 02 A6 */ mflr r0 -/* 8003B61C 0003857C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8003B620 00038580 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 8003B624 00038584 7C 7F 1B 78 */ mr r31, r3 -/* 8003B628 00038588 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 8003B62C 0003858C 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 8003B630 00038590 93 81 00 D0 */ stw r28, 0xd0(r1) -/* 8003B634 00038594 7C 9C 23 78 */ mr r28, r4 -/* 8003B638 00038598 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003B63C 0003859C A0 63 05 3C */ lhz r3, 0x53c(r3) -/* 8003B640 000385A0 7C 03 00 40 */ cmplw r3, r0 -/* 8003B644 000385A4 41 82 01 20 */ beq lbl_8003B764 -/* 8003B648 000385A8 80 1F 03 2C */ lwz r0, 0x32c(r31) -/* 8003B64C 000385AC 2C 00 00 00 */ cmpwi r0, 0 -/* 8003B650 000385B0 41 82 01 14 */ beq lbl_8003B764 -/* 8003B654 000385B4 A0 1F 05 3C */ lhz r0, 0x53c(r31) -/* 8003B658 000385B8 7C A3 2B 78 */ mr r3, r5 -/* 8003B65C 000385BC 38 81 00 08 */ addi r4, r1, 8 -/* 8003B660 000385C0 B0 01 00 08 */ sth r0, 8(r1) -/* 8003B664 000385C4 48 01 0F 11 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8003B668 000385C8 7C 64 1B 78 */ mr r4, r3 -/* 8003B66C 000385CC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003B670 000385D0 48 07 24 15 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 8003B674 000385D4 83 C3 00 04 */ lwz r30, 4(r3) -/* 8003B678 000385D8 28 1E 00 00 */ cmplwi r30, 0 -/* 8003B67C 000385DC 41 82 00 E8 */ beq lbl_8003B764 -/* 8003B680 000385E0 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 8003B684 000385E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8003B688 000385E8 41 82 00 DC */ beq lbl_8003B764 -/* 8003B68C 000385EC 80 7F 07 2C */ lwz r3, 0x72c(r31) -/* 8003B690 000385F0 48 18 0B 51 */ bl GetChargeMuzzleFx__10CGunWeaponCFv -/* 8003B694 000385F4 7C 7D 1B 78 */ mr r29, r3 -/* 8003B698 000385F8 7F 84 E3 78 */ mr r4, r28 -/* 8003B69C 000385FC 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8003B6A0 00038600 48 2D 74 A1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8003B6A4 00038604 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8003B6A8 00038608 38 A0 00 01 */ li r5, 1 -/* 8003B6AC 0003860C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8003B6B0 00038610 7F C3 F3 78 */ mr r3, r30 -/* 8003B6B4 00038614 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8003B6B8 00038618 38 81 00 18 */ addi r4, r1, 0x18 -/* 8003B6BC 0003861C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8003B6C0 00038620 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8003B6C4 00038624 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8003B6C8 00038628 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8003B6CC 0003862C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8003B6D0 00038630 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8003B6D4 00038634 C0 5C 00 2C */ lfs f2, 0x2c(r28) -/* 8003B6D8 00038638 C0 3C 00 1C */ lfs f1, 0x1c(r28) -/* 8003B6DC 0003863C C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 8003B6E0 00038640 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8003B6E4 00038644 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8003B6E8 00038648 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8003B6EC 0003864C 48 01 77 A1 */ bl SetTranslation__6CActorFRC9CVector3f -/* 8003B6F0 00038650 28 1D 00 00 */ cmplwi r29, 0 -/* 8003B6F4 00038654 41 82 00 70 */ beq lbl_8003B764 -/* 8003B6F8 00038658 7F A3 EB 78 */ mr r3, r29 -/* 8003B6FC 0003865C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8003B700 00038660 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8003B704 00038664 7D 89 03 A6 */ mtctr r12 -/* 8003B708 00038668 4E 80 04 21 */ bctrl -/* 8003B70C 0003866C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003B710 00038670 41 82 00 54 */ beq lbl_8003B764 -/* 8003B714 00038674 7F A4 EB 78 */ mr r4, r29 -/* 8003B718 00038678 38 61 00 24 */ addi r3, r1, 0x24 -/* 8003B71C 0003867C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8003B720 00038680 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8003B724 00038684 7D 89 03 A6 */ mtctr r12 -/* 8003B728 00038688 4E 80 04 21 */ bctrl -/* 8003B72C 0003868C 38 61 00 74 */ addi r3, r1, 0x74 -/* 8003B730 00038690 38 81 00 24 */ addi r4, r1, 0x24 -/* 8003B734 00038694 4B FF FE 3D */ bl __ct__6CLightFCR6CLight -/* 8003B738 00038698 80 81 00 8C */ lwz r4, 0x8c(r1) -/* 8003B73C 0003869C 38 60 00 00 */ li r3, 0 -/* 8003B740 000386A0 C0 3F 03 40 */ lfs f1, 0x340(r31) -/* 8003B744 000386A4 48 32 7A D1 */ bl Lerp__6CColorFUiUif -/* 8003B748 000386A8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8003B74C 000386AC 38 61 00 74 */ addi r3, r1, 0x74 -/* 8003B750 000386B0 38 81 00 0C */ addi r4, r1, 0xc -/* 8003B754 000386B4 48 2C AC 09 */ bl SetColor__6CLightFRC6CColor -/* 8003B758 000386B8 7F C3 F3 78 */ mr r3, r30 -/* 8003B75C 000386BC 38 81 00 74 */ addi r4, r1, 0x74 -/* 8003B760 000386C0 48 07 9F E5 */ bl SetLight__10CGameLightFRC6CLight -lbl_8003B764: -/* 8003B764 000386C4 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8003B768 000386C8 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 8003B76C 000386CC 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 8003B770 000386D0 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 8003B774 000386D4 83 81 00 D0 */ lwz r28, 0xd0(r1) -/* 8003B778 000386D8 7C 08 03 A6 */ mtlr r0 -/* 8003B77C 000386DC 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8003B780 000386E0 4E 80 00 20 */ blr - -.global DeleteGunLight__10CPlayerGunFR13CStateManager -DeleteGunLight__10CPlayerGunFR13CStateManager: -/* 8003B784 000386E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003B788 000386E8 7C 08 02 A6 */ mflr r0 -/* 8003B78C 000386EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003B790 000386F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003B794 000386F4 7C 7F 1B 78 */ mr r31, r3 -/* 8003B798 000386F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003B79C 000386FC A0 63 05 3C */ lhz r3, 0x53c(r3) -/* 8003B7A0 00038700 7C 03 00 40 */ cmplw r3, r0 -/* 8003B7A4 00038704 41 82 00 20 */ beq lbl_8003B7C4 -/* 8003B7A8 00038708 A0 1F 05 3C */ lhz r0, 0x53c(r31) -/* 8003B7AC 0003870C 7C 83 23 78 */ mr r3, r4 -/* 8003B7B0 00038710 38 81 00 08 */ addi r4, r1, 8 -/* 8003B7B4 00038714 B0 01 00 08 */ sth r0, 8(r1) -/* 8003B7B8 00038718 48 01 0A B5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8003B7BC 0003871C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003B7C0 00038720 B0 1F 05 3C */ sth r0, 0x53c(r31) -lbl_8003B7C4: -/* 8003B7C4 00038724 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003B7C8 00038728 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003B7CC 0003872C 7C 08 03 A6 */ mtlr r0 -/* 8003B7D0 00038730 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003B7D4 00038734 4E 80 00 20 */ blr - -.global CreateGunLight__10CPlayerGunFR13CStateManager -CreateGunLight__10CPlayerGunFR13CStateManager: -/* 8003B7D8 00038738 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8003B7DC 0003873C 7C 08 02 A6 */ mflr r0 -/* 8003B7E0 00038740 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8003B7E4 00038744 BF 61 00 8C */ stmw r27, 0x8c(r1) -/* 8003B7E8 00038748 7C 7E 1B 78 */ mr r30, r3 -/* 8003B7EC 0003874C 7C 9F 23 78 */ mr r31, r4 -/* 8003B7F0 00038750 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003B7F4 00038754 A0 63 05 3C */ lhz r3, 0x53c(r3) -/* 8003B7F8 00038758 7C 03 00 40 */ cmplw r3, r0 -/* 8003B7FC 0003875C 40 82 00 DC */ bne lbl_8003B8D8 -/* 8003B800 00038760 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003B804 00038764 48 01 18 D9 */ bl AllocateUniqueId__13CStateManagerFv -/* 8003B808 00038768 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 8003B80C 0003876C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 8003B810 00038770 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l -/* 8003B814 00038774 3B 60 00 00 */ li r27, 0 -/* 8003B818 00038778 B0 1E 05 3C */ sth r0, 0x53c(r30) -/* 8003B81C 0003877C 38 83 00 09 */ addi r4, r3, 9 -/* 8003B820 00038780 38 60 01 48 */ li r3, 0x148 -/* 8003B824 00038784 38 A0 00 00 */ li r5, 0 -/* 8003B828 00038788 A0 1E 05 3C */ lhz r0, 0x53c(r30) -/* 8003B82C 0003878C 54 1D 05 BE */ clrlwi r29, r0, 0x16 -/* 8003B830 00038790 48 2D A0 3D */ bl __nw__FUlPCcPCc -/* 8003B834 00038794 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8003B838 00038798 41 82 00 84 */ beq lbl_8003B8BC -/* 8003B83C 0003879C A0 1E 05 38 */ lhz r0, 0x538(r30) -/* 8003B840 000387A0 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 8003B844 000387A4 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 8003B848 000387A8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8003B84C 000387AC B0 01 00 14 */ sth r0, 0x14(r1) -/* 8003B850 000387B0 38 84 00 10 */ addi r4, r4, 0x10 -/* 8003B854 000387B4 4B FC 94 65 */ bl string_l__4rstlFPCc -/* 8003B858 000387B8 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8003B85C 000387BC 3B 60 00 01 */ li r27, 1 -/* 8003B860 000387C0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8003B864 000387C4 A0 1E 05 3C */ lhz r0, 0x53c(r30) -/* 8003B868 000387C8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8003B86C 000387CC 48 30 E7 49 */ bl Black__6CColorFv -/* 8003B870 000387D0 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 8003B874 000387D4 7C 65 1B 78 */ mr r5, r3 -/* 8003B878 000387D8 38 84 67 24 */ addi r4, r4, lbl_805A6724@l -/* 8003B87C 000387DC 38 61 00 30 */ addi r3, r1, 0x30 -/* 8003B880 000387E0 48 2C AB ED */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 8003B884 000387E4 93 A1 00 08 */ stw r29, 8(r1) -/* 8003B888 000387E8 38 00 00 00 */ li r0, 0 -/* 8003B88C 000387EC C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003B890 000387F0 7F 83 E3 78 */ mr r3, r28 -/* 8003B894 000387F4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8003B898 000387F8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003B89C 000387FC 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8003B8A0 00038800 38 E1 00 20 */ addi r7, r1, 0x20 -/* 8003B8A4 00038804 39 1E 03 E8 */ addi r8, r30, 0x3e8 -/* 8003B8A8 00038808 39 21 00 14 */ addi r9, r1, 0x14 -/* 8003B8AC 0003880C 39 41 00 30 */ addi r10, r1, 0x30 -/* 8003B8B0 00038810 38 C0 00 00 */ li r6, 0 -/* 8003B8B4 00038814 48 07 9F 71 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" -/* 8003B8B8 00038818 7C 7C 1B 78 */ mr r28, r3 -lbl_8003B8BC: -/* 8003B8BC 0003881C 7F E3 FB 78 */ mr r3, r31 -/* 8003B8C0 00038820 7F 84 E3 78 */ mr r4, r28 -/* 8003B8C4 00038824 48 01 14 31 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8003B8C8 00038828 7F 60 07 75 */ extsb. r0, r27 -/* 8003B8CC 0003882C 41 82 00 0C */ beq lbl_8003B8D8 -/* 8003B8D0 00038830 38 61 00 20 */ addi r3, r1, 0x20 -/* 8003B8D4 00038834 48 30 22 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8003B8D8: -/* 8003B8D8 00038838 BB 61 00 8C */ lmw r27, 0x8c(r1) -/* 8003B8DC 0003883C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8003B8E0 00038840 7C 08 03 A6 */ mtlr r0 -/* 8003B8E4 00038844 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8003B8E8 00038848 4E 80 00 20 */ blr - -.global CancelLockOn__10CPlayerGunFv -CancelLockOn__10CPlayerGunFv: -/* 8003B8EC 0003884C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003B8F0 00038850 7C 08 02 A6 */ mflr r0 -/* 8003B8F4 00038854 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003B8F8 00038858 88 83 08 32 */ lbz r4, 0x832(r3) -/* 8003B8FC 0003885C 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f -/* 8003B900 00038860 41 82 00 3C */ beq lbl_8003B93C -/* 8003B904 00038864 38 00 00 00 */ li r0, 0 -/* 8003B908 00038868 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d -/* 8003B90C 0003886C 98 83 08 32 */ stb r4, 0x832(r3) -/* 8003B910 00038870 38 00 00 03 */ li r0, 3 -/* 8003B914 00038874 90 03 06 C0 */ stw r0, 0x6c0(r3) -/* 8003B918 00038878 80 03 03 2C */ lwz r0, 0x32c(r3) -/* 8003B91C 0003887C 2C 00 00 00 */ cmpwi r0, 0 -/* 8003B920 00038880 40 82 00 1C */ bne lbl_8003B93C -/* 8003B924 00038884 80 03 03 18 */ lwz r0, 0x318(r3) -/* 8003B928 00038888 2C 00 00 01 */ cmpwi r0, 1 -/* 8003B92C 0003888C 41 82 00 10 */ beq lbl_8003B93C -/* 8003B930 00038890 38 80 00 00 */ li r4, 0 -/* 8003B934 00038894 38 A0 00 00 */ li r5, 0 -/* 8003B938 00038898 48 00 5F 8D */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -lbl_8003B93C: -/* 8003B93C 0003889C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003B940 000388A0 7C 08 03 A6 */ mtlr r0 -/* 8003B944 000388A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003B948 000388A8 4E 80 00 20 */ blr - -.global UpdateAuxWeapons__10CPlayerGunFfRC12CTransform4fR13CStateManager -UpdateAuxWeapons__10CPlayerGunFfRC12CTransform4fR13CStateManager: -/* 8003B94C 000388AC 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8003B950 000388B0 7C 08 02 A6 */ mflr r0 -/* 8003B954 000388B4 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8003B958 000388B8 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8003B95C 000388BC F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8003B960 000388C0 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8003B964 000388C4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8003B968 000388C8 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8003B96C 000388CC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 8003B970 000388D0 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 8003B974 000388D4 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 8003B978 000388D8 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8003B97C 000388DC 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8003B980 000388E0 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8003B984 000388E4 93 81 00 90 */ stw r28, 0x90(r1) -/* 8003B988 000388E8 7C 7E 1B 78 */ mr r30, r3 -/* 8003B98C 000388EC 7C 9C 23 78 */ mr r28, r4 -/* 8003B990 000388F0 C0 43 04 44 */ lfs f2, 0x444(r3) -/* 8003B994 000388F4 FF 80 08 90 */ fmr f28, f1 -/* 8003B998 000388F8 C0 23 04 34 */ lfs f1, 0x434(r3) -/* 8003B99C 000388FC 7C BF 2B 78 */ mr r31, r5 -/* 8003B9A0 00038900 C0 03 04 24 */ lfs f0, 0x424(r3) -/* 8003B9A4 00038904 38 61 00 60 */ addi r3, r1, 0x60 -/* 8003B9A8 00038908 38 9E 04 A8 */ addi r4, r30, 0x4a8 -/* 8003B9AC 0003890C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8003B9B0 00038910 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8003B9B4 00038914 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8003B9B8 00038918 48 2D 71 BD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8003B9BC 0003891C 38 61 00 54 */ addi r3, r1, 0x54 -/* 8003B9C0 00038920 38 81 00 60 */ addi r4, r1, 0x60 -/* 8003B9C4 00038924 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8003B9C8 00038928 48 2D 71 21 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8003B9CC 0003892C C3 E1 00 54 */ lfs f31, 0x54(r1) -/* 8003B9D0 00038930 7F E5 FB 78 */ mr r5, r31 -/* 8003B9D4 00038934 C3 C1 00 58 */ lfs f30, 0x58(r1) -/* 8003B9D8 00038938 38 61 00 3C */ addi r3, r1, 0x3c -/* 8003B9DC 0003893C C3 A1 00 5C */ lfs f29, 0x5c(r1) -/* 8003B9E0 00038940 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 8003B9E4 00038944 4B FC EF 31 */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager -/* 8003B9E8 00038948 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 8003B9EC 0003894C 3C 60 80 57 */ lis r3, lbl_8056D404@ha -/* 8003B9F0 00038950 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8003B9F4 00038954 38 83 D4 04 */ addi r4, r3, lbl_8056D404@l -/* 8003B9F8 00038958 EC 7F 10 2A */ fadds f3, f31, f2 -/* 8003B9FC 0003895C C0 21 00 40 */ lfs f1, 0x40(r1) -/* 8003BA00 00038960 EC 1D 00 2A */ fadds f0, f29, f0 -/* 8003BA04 00038964 7F 86 E3 78 */ mr r6, r28 -/* 8003BA08 00038968 EC 5E 08 2A */ fadds f2, f30, f1 -/* 8003BA0C 0003896C 7F E7 FB 78 */ mr r7, r31 -/* 8003BA10 00038970 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8003BA14 00038974 FC 20 E0 90 */ fmr f1, f28 -/* 8003BA18 00038978 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8003BA1C 0003897C D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8003BA20 00038980 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8003BA24 00038984 80 7E 07 44 */ lwz r3, 0x744(r30) -/* 8003BA28 00038988 48 17 DB B5 */ bl UpdateComboFx__10CAuxWeaponFfRC9CVector3fRC9CVector3fRC12CTransform4fR13CStateManager -/* 8003BA2C 0003898C 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003BA30 00038990 7C 7D 1B 78 */ mr r29, r3 -/* 8003BA34 00038994 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 8003BA38 00038998 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003BA3C 0003899C 40 82 01 38 */ bne lbl_8003BB74 -/* 8003BA40 000389A0 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 8003BA44 000389A4 2C 00 00 02 */ cmpwi r0, 2 -/* 8003BA48 000389A8 40 82 00 6C */ bne lbl_8003BAB4 -/* 8003BA4C 000389AC 80 9E 07 44 */ lwz r4, 0x744(r30) -/* 8003BA50 000389B0 7F E5 FB 78 */ mr r5, r31 -/* 8003BA54 000389B4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003BA58 000389B8 48 17 DE 61 */ bl HasTarget__10CAuxWeaponCFRC13CStateManager -/* 8003BA5C 000389BC A0 61 00 10 */ lhz r3, 0x10(r1) -/* 8003BA60 000389C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003BA64 000389C4 7C 03 00 40 */ cmplw r3, r0 -/* 8003BA68 000389C8 40 82 00 4C */ bne lbl_8003BAB4 -/* 8003BA6C 000389CC 7F C4 F3 78 */ mr r4, r30 -/* 8003BA70 000389D0 7F E5 FB 78 */ mr r5, r31 -/* 8003BA74 000389D4 38 61 00 0C */ addi r3, r1, 0xc -/* 8003BA78 000389D8 48 00 27 85 */ bl GetTargetId__10CPlayerGunFR13CStateManager -/* 8003BA7C 000389DC A0 61 00 0C */ lhz r3, 0xc(r1) -/* 8003BA80 000389E0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003BA84 000389E4 B0 61 00 14 */ sth r3, 0x14(r1) -/* 8003BA88 000389E8 7C 03 00 40 */ cmplw r3, r0 -/* 8003BA8C 000389EC 40 82 00 10 */ bne lbl_8003BA9C -/* 8003BA90 000389F0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8003BA94 000389F4 A0 03 03 F4 */ lhz r0, 0x3f4(r3) -/* 8003BA98 000389F8 B0 01 00 14 */ sth r0, 0x14(r1) -lbl_8003BA9C: -/* 8003BA9C 000389FC A0 01 00 14 */ lhz r0, 0x14(r1) -/* 8003BAA0 00038A00 7F E5 FB 78 */ mr r5, r31 -/* 8003BAA4 00038A04 38 81 00 08 */ addi r4, r1, 8 -/* 8003BAA8 00038A08 B0 01 00 08 */ sth r0, 8(r1) -/* 8003BAAC 00038A0C 80 7E 07 44 */ lwz r3, 0x744(r30) -/* 8003BAB0 00038A10 48 17 DE 71 */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager -lbl_8003BAB4: -/* 8003BAB4 00038A14 57 A0 06 3E */ clrlwi r0, r29, 0x18 -/* 8003BAB8 00038A18 28 00 00 01 */ cmplwi r0, 1 -/* 8003BABC 00038A1C 41 82 01 34 */ beq lbl_8003BBF0 -/* 8003BAC0 00038A20 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 8003BAC4 00038A24 38 60 00 00 */ li r3, 0 -/* 8003BAC8 00038A28 2C 00 00 02 */ cmpwi r0, 2 -/* 8003BACC 00038A2C 41 82 00 0C */ beq lbl_8003BAD8 -/* 8003BAD0 00038A30 2C 00 00 03 */ cmpwi r0, 3 -/* 8003BAD4 00038A34 40 82 00 08 */ bne lbl_8003BADC -lbl_8003BAD8: -/* 8003BAD8 00038A38 38 60 00 01 */ li r3, 1 -lbl_8003BADC: -/* 8003BADC 00038A3C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8003BAE0 00038A40 7C 7D 1B 78 */ mr r29, r3 -/* 8003BAE4 00038A44 28 00 00 01 */ cmplwi r0, 1 -/* 8003BAE8 00038A48 41 82 00 18 */ beq lbl_8003BB00 -/* 8003BAEC 00038A4C 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003BAF0 00038A50 48 17 FD 5D */ bl ComboFireOver__10CGunWeaponCFv -/* 8003BAF4 00038A54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003BAF8 00038A58 41 82 00 08 */ beq lbl_8003BB00 -/* 8003BAFC 00038A5C 3B A0 00 01 */ li r29, 1 -lbl_8003BB00: -/* 8003BB00 00038A60 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003BB04 00038A64 38 80 00 03 */ li r4, 3 -/* 8003BB08 00038A68 81 83 00 00 */ lwz r12, 0(r3) -/* 8003BB0C 00038A6C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8003BB10 00038A70 7D 89 03 A6 */ mtctr r12 -/* 8003BB14 00038A74 4E 80 04 21 */ bctrl -/* 8003BB18 00038A78 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8003BB1C 00038A7C 41 82 00 D4 */ beq lbl_8003BBF0 -/* 8003BB20 00038A80 38 00 00 0A */ li r0, 0xa -/* 8003BB24 00038A84 7F C3 F3 78 */ mr r3, r30 -/* 8003BB28 00038A88 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003BB2C 00038A8C 7F E4 FB 78 */ mr r4, r31 -/* 8003BB30 00038A90 38 A0 00 00 */ li r5, 0 -/* 8003BB34 00038A94 48 00 01 05 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb -/* 8003BB38 00038A98 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003BB3C 00038A9C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c -/* 8003BB40 00038AA0 2C 00 00 08 */ cmpwi r0, 8 -/* 8003BB44 00038AA4 41 82 00 20 */ beq lbl_8003BB64 -/* 8003BB48 00038AA8 80 7E 02 F8 */ lwz r3, 0x2f8(r30) -/* 8003BB4C 00038AAC 38 00 FF E9 */ li r0, -23 -/* 8003BB50 00038AB0 60 63 00 01 */ ori r3, r3, 1 -/* 8003BB54 00038AB4 90 7E 02 F8 */ stw r3, 0x2f8(r30) -/* 8003BB58 00038AB8 80 7E 02 F8 */ lwz r3, 0x2f8(r30) -/* 8003BB5C 00038ABC 7C 60 00 38 */ and r0, r3, r0 -/* 8003BB60 00038AC0 90 1E 02 F8 */ stw r0, 0x2f8(r30) -lbl_8003BB64: -/* 8003BB64 00038AC4 38 00 00 00 */ li r0, 0 -/* 8003BB68 00038AC8 90 1E 03 18 */ stw r0, 0x318(r30) -/* 8003BB6C 00038ACC 90 1E 03 1C */ stw r0, 0x31c(r30) -/* 8003BB70 00038AD0 48 00 00 80 */ b lbl_8003BBF0 -lbl_8003BB74: -/* 8003BB74 00038AD4 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8003BB78 00038AD8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8003BB7C 00038ADC 41 82 00 38 */ beq lbl_8003BBB4 -/* 8003BB80 00038AE0 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003BB84 00038AE4 FC 20 E0 90 */ fmr f1, f28 -/* 8003BB88 00038AE8 C0 7E 04 44 */ lfs f3, 0x444(r30) -/* 8003BB8C 00038AEC 7F 84 E3 78 */ mr r4, r28 -/* 8003BB90 00038AF0 C0 5E 04 34 */ lfs f2, 0x434(r30) -/* 8003BB94 00038AF4 7F E6 FB 78 */ mr r6, r31 -/* 8003BB98 00038AF8 C0 1E 04 24 */ lfs f0, 0x424(r30) -/* 8003BB9C 00038AFC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8003BBA0 00038B00 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8003BBA4 00038B04 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8003BBA8 00038B08 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8003BBAC 00038B0C 48 15 09 6D */ bl UpdateBeam__11CPhazonBeamFfRC12CTransform4fRC9CVector3fR13CStateManager -/* 8003BBB0 00038B10 48 00 00 40 */ b lbl_8003BBF0 -lbl_8003BBB4: -/* 8003BBB4 00038B14 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 8003BBB8 00038B18 2C 00 00 03 */ cmpwi r0, 3 -/* 8003BBBC 00038B1C 40 82 00 34 */ bne lbl_8003BBF0 -/* 8003BBC0 00038B20 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003BBC4 00038B24 FC 20 E0 90 */ fmr f1, f28 -/* 8003BBC8 00038B28 C0 7E 04 44 */ lfs f3, 0x444(r30) -/* 8003BBCC 00038B2C 7F 84 E3 78 */ mr r4, r28 -/* 8003BBD0 00038B30 C0 5E 04 34 */ lfs f2, 0x434(r30) -/* 8003BBD4 00038B34 7F E6 FB 78 */ mr r6, r31 -/* 8003BBD8 00038B38 C0 1E 04 24 */ lfs f0, 0x424(r30) -/* 8003BBDC 00038B3C 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8003BBE0 00038B40 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8003BBE4 00038B44 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8003BBE8 00038B48 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8003BBEC 00038B4C 48 0A 33 7D */ bl UpdateBeam__11CPlasmaBeamFfRC12CTransform4fRC9CVector3fR13CStateManager -lbl_8003BBF0: -/* 8003BBF0 00038B50 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8003BBF4 00038B54 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8003BBF8 00038B58 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8003BBFC 00038B5C CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8003BC00 00038B60 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 8003BC04 00038B64 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 8003BC08 00038B68 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 8003BC0C 00038B6C CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 8003BC10 00038B70 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8003BC14 00038B74 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8003BC18 00038B78 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8003BC1C 00038B7C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8003BC20 00038B80 83 81 00 90 */ lwz r28, 0x90(r1) -/* 8003BC24 00038B84 7C 08 03 A6 */ mtlr r0 -/* 8003BC28 00038B88 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8003BC2C 00038B8C 4E 80 00 20 */ blr - -.global EnableSecondaryFx__10CGunWeaponFQ210CGunWeapon16ESecondaryFxType -EnableSecondaryFx__10CGunWeaponFQ210CGunWeapon16ESecondaryFxType: -/* 8003BC30 00038B90 90 83 01 CC */ stw r4, 0x1cc(r3) -/* 8003BC34 00038B94 4E 80 00 20 */ blr - -.global ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb -ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb: -/* 8003BC38 00038B98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003BC3C 00038B9C 7C 08 02 A6 */ mflr r0 -/* 8003BC40 00038BA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003BC44 00038BA4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8003BC48 00038BA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003BC4C 00038BAC 7C 9F 23 78 */ mr r31, r4 -/* 8003BC50 00038BB0 93 C1 00 08 */ stw r30, 8(r1) -/* 8003BC54 00038BB4 7C 7E 1B 78 */ mr r30, r3 -/* 8003BC58 00038BB8 40 82 00 10 */ bne lbl_8003BC68 -/* 8003BC5C 00038BBC 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8003BC60 00038BC0 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8003BC64 00038BC4 40 82 00 28 */ bne lbl_8003BC8C -lbl_8003BC68: -/* 8003BC68 00038BC8 80 7E 07 3C */ lwz r3, 0x73c(r30) -/* 8003BC6C 00038BCC 7F E4 FB 78 */ mr r4, r31 -/* 8003BC70 00038BD0 38 A0 00 00 */ li r5, 0 -/* 8003BC74 00038BD4 48 19 D4 0D */ bl ReturnToDefault__10CGunMotionFR13CStateManager -/* 8003BC78 00038BD8 80 7E 07 40 */ lwz r3, 0x740(r30) -/* 8003BC7C 00038BDC 7F E4 FB 78 */ mr r4, r31 -/* 8003BC80 00038BE0 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003BC84 00038BE4 38 A0 00 00 */ li r5, 0 -/* 8003BC88 00038BE8 48 0E 22 9D */ bl ReturnToDefault__11CGrappleArmFR13CStateManagerf -lbl_8003BC8C: -/* 8003BC8C 00038BEC 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003BC90 00038BF0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003BC94 00038BF4 40 82 00 10 */ bne lbl_8003BCA4 -/* 8003BC98 00038BF8 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003BC9C 00038BFC 7F E4 FB 78 */ mr r4, r31 -/* 8003BCA0 00038C00 48 17 FB BD */ bl ReturnToDefault__10CGunWeaponFR13CStateManager -lbl_8003BCA4: -/* 8003BCA4 00038C04 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003BCA8 00038C08 38 60 00 00 */ li r3, 0 -/* 8003BCAC 00038C0C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003BCB0 00038C10 98 1E 08 34 */ stb r0, 0x834(r30) -/* 8003BCB4 00038C14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003BCB8 00038C18 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003BCBC 00038C1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003BCC0 00038C20 7C 08 03 A6 */ mtlr r0 -/* 8003BCC4 00038C24 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003BCC8 00038C28 4E 80 00 20 */ blr - -.global UpdateLeftArmTransform__10CPlayerGunFRC10CModelDataRC13CStateManager -UpdateLeftArmTransform__10CPlayerGunFRC10CModelDataRC13CStateManager: -/* 8003BCCC 00038C2C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8003BCD0 00038C30 7C 08 02 A6 */ mflr r0 -/* 8003BCD4 00038C34 C0 42 84 84 */ lfs f2, lbl_805AA1A4@sda21(r2) -/* 8003BCD8 00038C38 90 01 00 44 */ stw r0, 0x44(r1) -/* 8003BCDC 00038C3C C0 22 84 88 */ lfs f1, lbl_805AA1A8@sda21(r2) -/* 8003BCE0 00038C40 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8003BCE4 00038C44 C0 02 84 8C */ lfs f0, lbl_805AA1AC@sda21(r2) -/* 8003BCE8 00038C48 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8003BCEC 00038C4C 7C 9E 23 78 */ mr r30, r4 -/* 8003BCF0 00038C50 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8003BCF4 00038C54 7C 7D 1B 78 */ mr r29, r3 -/* 8003BCF8 00038C58 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8003BCFC 00038C5C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8003BD00 00038C60 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8003BD04 00038C64 88 03 08 34 */ lbz r0, 0x834(r3) -/* 8003BD08 00038C68 80 63 07 40 */ lwz r3, 0x740(r3) -/* 8003BD0C 00038C6C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8003BD10 00038C70 3B E3 02 E0 */ addi r31, r3, 0x2e0 -/* 8003BD14 00038C74 41 82 00 18 */ beq lbl_8003BD2C -/* 8003BD18 00038C78 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8003BD1C 00038C7C 7F E3 FB 78 */ mr r3, r31 -/* 8003BD20 00038C80 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8003BD24 00038C84 48 2D 6E 1D */ bl __as__12CTransform4fFRC12CTransform4f -/* 8003BD28 00038C88 48 00 00 3C */ b lbl_8003BD64 -lbl_8003BD2C: -/* 8003BD2C 00038C8C 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha -/* 8003BD30 00038C90 38 61 00 14 */ addi r3, r1, 0x14 -/* 8003BD34 00038C94 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l -/* 8003BD38 00038C98 38 84 00 18 */ addi r4, r4, 0x18 -/* 8003BD3C 00038C9C 4B FC 8F 7D */ bl string_l__4rstlFPCc -/* 8003BD40 00038CA0 7F A3 EB 78 */ mr r3, r29 -/* 8003BD44 00038CA4 7F E4 FB 78 */ mr r4, r31 -/* 8003BD48 00038CA8 7F C5 F3 78 */ mr r5, r30 -/* 8003BD4C 00038CAC 38 C1 00 14 */ addi r6, r1, 0x14 -/* 8003BD50 00038CB0 38 E0 00 01 */ li r7, 1 -/* 8003BD54 00038CB4 39 00 00 00 */ li r8, 0 -/* 8003BD58 00038CB8 48 00 5C 71 */ bl "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" -/* 8003BD5C 00038CBC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8003BD60 00038CC0 48 30 1D 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8003BD64: -/* 8003BD64 00038CC4 7F E4 FB 78 */ mr r4, r31 -/* 8003BD68 00038CC8 38 61 00 08 */ addi r3, r1, 8 -/* 8003BD6C 00038CCC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8003BD70 00038CD0 48 2D 6D 79 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8003BD74 00038CD4 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8003BD78 00038CD8 38 9D 03 E8 */ addi r4, r29, 0x3e8 -/* 8003BD7C 00038CDC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8003BD80 00038CE0 C0 01 00 08 */ lfs f0, 8(r1) -/* 8003BD84 00038CE4 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8003BD88 00038CE8 D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 8003BD8C 00038CEC D0 5F 00 2C */ stfs f2, 0x2c(r31) -/* 8003BD90 00038CF0 80 7D 07 40 */ lwz r3, 0x740(r29) -/* 8003BD94 00038CF4 38 63 02 20 */ addi r3, r3, 0x220 -/* 8003BD98 00038CF8 48 2D 6D A9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8003BD9C 00038CFC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8003BDA0 00038D00 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8003BDA4 00038D04 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8003BDA8 00038D08 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8003BDAC 00038D0C 7C 08 03 A6 */ mtlr r0 -/* 8003BDB0 00038D10 38 21 00 40 */ addi r1, r1, 0x40 -/* 8003BDB4 00038D14 4E 80 00 20 */ blr - -.global EnterFidget__10CPlayerGunFR13CStateManager -EnterFidget__10CPlayerGunFR13CStateManager: -/* 8003BDB8 00038D18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003BDBC 00038D1C 7C 08 02 A6 */ mflr r0 -/* 8003BDC0 00038D20 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003BDC4 00038D24 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003BDC8 00038D28 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003BDCC 00038D2C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003BDD0 00038D30 7C 9D 23 78 */ mr r29, r4 -/* 8003BDD4 00038D34 93 81 00 10 */ stw r28, 0x10(r1) -/* 8003BDD8 00038D38 7C 7C 1B 78 */ mr r28, r3 -/* 8003BDDC 00038D3C 80 03 02 FC */ lwz r0, 0x2fc(r3) -/* 8003BDE0 00038D40 83 E3 03 A8 */ lwz r31, 0x3a8(r3) -/* 8003BDE4 00038D44 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8003BDE8 00038D48 83 C3 03 B0 */ lwz r30, 0x3b0(r3) -/* 8003BDEC 00038D4C 2C 00 00 01 */ cmpwi r0, 1 -/* 8003BDF0 00038D50 40 82 00 28 */ bne lbl_8003BE18 -/* 8003BDF4 00038D54 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003BDF8 00038D58 7F E5 FB 78 */ mr r5, r31 -/* 8003BDFC 00038D5C 7F C6 F3 78 */ mr r6, r30 -/* 8003BE00 00038D60 48 19 D1 AD */ bl EnterFidget__10CGunMotionFR13CStateManagerQ28SamusGun11EFidgetTypei -/* 8003BE04 00038D64 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003BE08 00038D68 38 60 00 01 */ li r3, 1 -/* 8003BE0C 00038D6C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003BE10 00038D70 98 1C 08 34 */ stb r0, 0x834(r28) -/* 8003BE14 00038D74 48 00 00 14 */ b lbl_8003BE28 -lbl_8003BE18: -/* 8003BE18 00038D78 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003BE1C 00038D7C 38 60 00 00 */ li r3, 0 -/* 8003BE20 00038D80 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003BE24 00038D84 98 1C 08 34 */ stb r0, 0x834(r28) -lbl_8003BE28: -/* 8003BE28 00038D88 80 1C 02 FC */ lwz r0, 0x2fc(r28) -/* 8003BE2C 00038D8C 54 00 07 BC */ rlwinm r0, r0, 0, 0x1e, 0x1e -/* 8003BE30 00038D90 2C 00 00 02 */ cmpwi r0, 2 -/* 8003BE34 00038D94 40 82 00 18 */ bne lbl_8003BE4C -/* 8003BE38 00038D98 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 8003BE3C 00038D9C 7F A4 EB 78 */ mr r4, r29 -/* 8003BE40 00038DA0 7F E5 FB 78 */ mr r5, r31 -/* 8003BE44 00038DA4 7F C6 F3 78 */ mr r6, r30 -/* 8003BE48 00038DA8 48 17 F9 D5 */ bl EnterFidget__10CGunWeaponFR13CStateManagerQ28SamusGun11EFidgetTypei -lbl_8003BE4C: -/* 8003BE4C 00038DAC 80 1C 02 FC */ lwz r0, 0x2fc(r28) -/* 8003BE50 00038DB0 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d -/* 8003BE54 00038DB4 2C 00 00 04 */ cmpwi r0, 4 -/* 8003BE58 00038DB8 40 82 00 2C */ bne lbl_8003BE84 -/* 8003BE5C 00038DBC 2C 1F 00 00 */ cmpwi r31, 0 -/* 8003BE60 00038DC0 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 8003BE64 00038DC4 7F A4 EB 78 */ mr r4, r29 -/* 8003BE68 00038DC8 7F E5 FB 78 */ mr r5, r31 -/* 8003BE6C 00038DCC 41 82 00 0C */ beq lbl_8003BE78 -/* 8003BE70 00038DD0 80 DC 03 10 */ lwz r6, 0x310(r28) -/* 8003BE74 00038DD4 48 00 00 08 */ b lbl_8003BE7C -lbl_8003BE78: -/* 8003BE78 00038DD8 38 C0 00 00 */ li r6, 0 -lbl_8003BE7C: -/* 8003BE7C 00038DDC 7F C7 F3 78 */ mr r7, r30 -/* 8003BE80 00038DE0 48 0E 21 31 */ bl EnterFidget__11CGrappleArmFR13CStateManageriii -lbl_8003BE84: -/* 8003BE84 00038DE4 7F 83 E3 78 */ mr r3, r28 -/* 8003BE88 00038DE8 4B FF EE 79 */ bl UnLoadFidget__10CPlayerGunFv -/* 8003BE8C 00038DEC 88 1C 03 D8 */ lbz r0, 0x3d8(r28) -/* 8003BE90 00038DF0 38 60 00 00 */ li r3, 0 -/* 8003BE94 00038DF4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003BE98 00038DF8 98 1C 03 D8 */ stb r0, 0x3d8(r28) -/* 8003BE9C 00038DFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003BEA0 00038E00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003BEA4 00038E04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8003BEA8 00038E08 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8003BEAC 00038E0C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003BEB0 00038E10 7C 08 03 A6 */ mtlr r0 -/* 8003BEB4 00038E14 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003BEB8 00038E18 4E 80 00 20 */ blr - -.global EnterFreeLook__10CPlayerGunFR13CStateManager -EnterFreeLook__10CPlayerGunFR13CStateManager: -/* 8003BEBC 00038E1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003BEC0 00038E20 7C 08 02 A6 */ mflr r0 -/* 8003BEC4 00038E24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003BEC8 00038E28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003BECC 00038E2C 7C 9F 23 78 */ mr r31, r4 -/* 8003BED0 00038E30 93 C1 00 08 */ stw r30, 8(r1) -/* 8003BED4 00038E34 7C 7E 1B 78 */ mr r30, r3 -/* 8003BED8 00038E38 88 03 08 32 */ lbz r0, 0x832(r3) -/* 8003BEDC 00038E3C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8003BEE0 00038E40 40 82 00 1C */ bne lbl_8003BEFC -/* 8003BEE4 00038E44 80 7E 07 3C */ lwz r3, 0x73c(r30) -/* 8003BEE8 00038E48 7F E5 FB 78 */ mr r5, r31 -/* 8003BEEC 00038E4C C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003BEF0 00038E50 38 80 00 03 */ li r4, 3 -/* 8003BEF4 00038E54 38 C0 00 00 */ li r6, 0 -/* 8003BEF8 00038E58 48 19 D2 C1 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb -lbl_8003BEFC: -/* 8003BEFC 00038E5C 80 7E 07 3C */ lwz r3, 0x73c(r30) -/* 8003BF00 00038E60 48 19 D1 79 */ bl GetFreeLookSetId__10CGunMotionCFv -/* 8003BF04 00038E64 88 1E 08 35 */ lbz r0, 0x835(r30) -/* 8003BF08 00038E68 7C 64 1B 78 */ mr r4, r3 -/* 8003BF0C 00038E6C 80 7E 07 40 */ lwz r3, 0x740(r30) -/* 8003BF10 00038E70 7C 85 23 78 */ mr r5, r4 -/* 8003BF14 00038E74 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003BF18 00038E78 41 82 00 0C */ beq lbl_8003BF24 -/* 8003BF1C 00038E7C 38 80 00 01 */ li r4, 1 -/* 8003BF20 00038E80 48 00 00 08 */ b lbl_8003BF28 -lbl_8003BF24: -/* 8003BF24 00038E84 80 9E 03 10 */ lwz r4, 0x310(r30) -lbl_8003BF28: -/* 8003BF28 00038E88 7F E6 FB 78 */ mr r6, r31 -/* 8003BF2C 00038E8C 48 0E 20 D5 */ bl EnterFreeLook__11CGrappleArmFiiR13CStateManager -/* 8003BF30 00038E90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003BF34 00038E94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003BF38 00038E98 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003BF3C 00038E9C 7C 08 03 A6 */ mtlr r0 -/* 8003BF40 00038EA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003BF44 00038EA4 4E 80 00 20 */ blr - -.global CancelCharge__10CPlayerGunFR13CStateManagerb -CancelCharge__10CPlayerGunFR13CStateManagerb: -/* 8003BF48 00038EA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003BF4C 00038EAC 7C 08 02 A6 */ mflr r0 -/* 8003BF50 00038EB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003BF54 00038EB4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8003BF58 00038EB8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003BF5C 00038EBC 7C 9F 23 78 */ mr r31, r4 -/* 8003BF60 00038EC0 93 C1 00 08 */ stw r30, 8(r1) -/* 8003BF64 00038EC4 7C 7E 1B 78 */ mr r30, r3 -/* 8003BF68 00038EC8 41 82 00 28 */ beq lbl_8003BF90 -/* 8003BF6C 00038ECC 38 00 00 09 */ li r0, 9 -/* 8003BF70 00038ED0 38 80 00 03 */ li r4, 3 -/* 8003BF74 00038ED4 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003BF78 00038ED8 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003BF7C 00038EDC 81 83 00 00 */ lwz r12, 0(r3) -/* 8003BF80 00038EE0 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8003BF84 00038EE4 7D 89 03 A6 */ mtctr r12 -/* 8003BF88 00038EE8 4E 80 04 21 */ bctrl -/* 8003BF8C 00038EEC 48 00 00 1C */ b lbl_8003BFA8 -lbl_8003BF90: -/* 8003BF90 00038EF0 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003BF94 00038EF4 38 80 00 00 */ li r4, 0 -/* 8003BF98 00038EF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003BF9C 00038EFC 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8003BFA0 00038F00 7D 89 03 A6 */ mtctr r12 -/* 8003BFA4 00038F04 4E 80 04 21 */ bctrl -lbl_8003BFA8: -/* 8003BFA8 00038F08 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003BFAC 00038F0C 38 60 00 00 */ li r3, 0 -/* 8003BFB0 00038F10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003BFB4 00038F14 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003BFB8 00038F18 98 1E 08 34 */ stb r0, 0x834(r30) -/* 8003BFBC 00038F1C 38 80 00 00 */ li r4, 0 -/* 8003BFC0 00038F20 38 A0 00 00 */ li r5, 0 -/* 8003BFC4 00038F24 D0 1E 03 48 */ stfs f0, 0x348(r30) -/* 8003BFC8 00038F28 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003BFCC 00038F2C 48 17 FF BD */ bl ActivateCharge__10CGunWeaponFbb -/* 8003BFD0 00038F30 7F C3 F3 78 */ mr r3, r30 -/* 8003BFD4 00038F34 7F E5 FB 78 */ mr r5, r31 -/* 8003BFD8 00038F38 38 80 00 00 */ li r4, 0 -/* 8003BFDC 00038F3C 4B FF F4 95 */ bl SetGunLightActive__10CPlayerGunFbR13CStateManager -/* 8003BFE0 00038F40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003BFE4 00038F44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003BFE8 00038F48 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003BFEC 00038F4C 7C 08 03 A6 */ mtlr r0 -/* 8003BFF0 00038F50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003BFF4 00038F54 4E 80 00 20 */ blr - -.global DoUserAnimEvent__10CPlayerGunFfR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__10CPlayerGunFfR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 8003BFF8 00038F58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003BFFC 00038F5C 7C 08 02 A6 */ mflr r0 -/* 8003C000 00038F60 2C 06 00 06 */ cmpwi r6, 6 -/* 8003C004 00038F64 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003C008 00038F68 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003C00C 00038F6C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003C010 00038F70 7C 9E 23 78 */ mr r30, r4 -/* 8003C014 00038F74 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003C018 00038F78 7C 7D 1B 78 */ mr r29, r3 -/* 8003C01C 00038F7C 41 82 00 C8 */ beq lbl_8003C0E4 -/* 8003C020 00038F80 40 80 00 10 */ bge lbl_8003C030 -/* 8003C024 00038F84 2C 06 00 00 */ cmpwi r6, 0 -/* 8003C028 00038F88 41 82 00 14 */ beq lbl_8003C03C -/* 8003C02C 00038F8C 48 00 00 B8 */ b lbl_8003C0E4 -lbl_8003C030: -/* 8003C030 00038F90 2C 06 00 08 */ cmpwi r6, 8 -/* 8003C034 00038F94 41 82 00 B0 */ beq lbl_8003C0E4 -/* 8003C038 00038F98 48 00 00 AC */ b lbl_8003C0E4 -lbl_8003C03C: -/* 8003C03C 00038F9C 80 1D 03 2C */ lwz r0, 0x32c(r29) -/* 8003C040 00038FA0 2C 00 00 08 */ cmpwi r0, 8 -/* 8003C044 00038FA4 40 82 00 A0 */ bne lbl_8003C0E4 -/* 8003C048 00038FA8 80 7D 03 10 */ lwz r3, 0x310(r29) -/* 8003C04C 00038FAC 38 00 00 00 */ li r0, 0 -/* 8003C050 00038FB0 2C 03 00 02 */ cmpwi r3, 2 -/* 8003C054 00038FB4 41 82 00 10 */ beq lbl_8003C064 -/* 8003C058 00038FB8 2C 03 00 03 */ cmpwi r3, 3 -/* 8003C05C 00038FBC 41 82 00 08 */ beq lbl_8003C064 -/* 8003C060 00038FC0 38 00 00 01 */ li r0, 1 -lbl_8003C064: -/* 8003C064 00038FC4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8003C068 00038FC8 41 82 00 0C */ beq lbl_8003C074 -/* 8003C06C 00038FCC 38 60 00 01 */ li r3, 1 -/* 8003C070 00038FD0 48 00 00 0C */ b lbl_8003C07C -lbl_8003C074: -/* 8003C074 00038FD4 80 1D 02 EC */ lwz r0, 0x2ec(r29) -/* 8003C078 00038FD8 54 03 07 FE */ clrlwi r3, r0, 0x1f -lbl_8003C07C: -/* 8003C07C 00038FDC 7C 03 00 D0 */ neg r0, r3 -/* 8003C080 00038FE0 7C 00 1B 78 */ or r0, r0, r3 -/* 8003C084 00038FE4 54 1F 0F FF */ rlwinm. r31, r0, 1, 0x1f, 0x1f -/* 8003C088 00038FE8 41 82 00 10 */ beq lbl_8003C098 -/* 8003C08C 00038FEC 7F A3 EB 78 */ mr r3, r29 -/* 8003C090 00038FF0 7F C4 F3 78 */ mr r4, r30 -/* 8003C094 00038FF4 48 00 3D F9 */ bl FireSecondary__10CPlayerGunFfR13CStateManager -lbl_8003C098: -/* 8003C098 00038FF8 80 1D 02 F8 */ lwz r0, 0x2f8(r29) -/* 8003C09C 00038FFC 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 8003C0A0 00039000 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003C0A4 00039004 41 82 00 10 */ beq lbl_8003C0B4 -/* 8003C0A8 00039008 80 1D 02 F8 */ lwz r0, 0x2f8(r29) -/* 8003C0AC 0003900C 60 00 00 10 */ ori r0, r0, 0x10 -/* 8003C0B0 00039010 90 1D 02 F8 */ stw r0, 0x2f8(r29) -lbl_8003C0B4: -/* 8003C0B4 00039014 7F A3 EB 78 */ mr r3, r29 -/* 8003C0B8 00039018 7F C4 F3 78 */ mr r4, r30 -/* 8003C0BC 0003901C 38 A0 00 01 */ li r5, 1 -/* 8003C0C0 00039020 4B FF FE 89 */ bl CancelCharge__10CPlayerGunFR13CStateManagerb -/* 8003C0C4 00039024 28 1F 00 00 */ cmplwi r31, 0 -/* 8003C0C8 00039028 41 82 00 1C */ beq lbl_8003C0E4 -/* 8003C0CC 0003902C 80 7D 07 2C */ lwz r3, 0x72c(r29) -/* 8003C0D0 00039030 38 80 00 02 */ li r4, 2 -/* 8003C0D4 00039034 81 83 00 00 */ lwz r12, 0(r3) -/* 8003C0D8 00039038 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8003C0DC 0003903C 7D 89 03 A6 */ mtctr r12 -/* 8003C0E0 00039040 4E 80 04 21 */ bctrl -lbl_8003C0E4: -/* 8003C0E4 00039044 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003C0E8 00039048 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003C0EC 0003904C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003C0F0 00039050 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8003C0F4 00039054 7C 08 03 A6 */ mtlr r0 -/* 8003C0F8 00039058 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003C0FC 0003905C 4E 80 00 20 */ blr - -.global DoUserAnimEvents__10CPlayerGunFfR13CStateManager -DoUserAnimEvents__10CPlayerGunFfR13CStateManager: -/* 8003C100 00039060 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8003C104 00039064 7C 08 02 A6 */ mflr r0 -/* 8003C108 00039068 90 01 00 64 */ stw r0, 0x64(r1) -/* 8003C10C 0003906C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8003C110 00039070 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8003C114 00039074 BF 21 00 34 */ stmw r25, 0x34(r1) -/* 8003C118 00039078 7C 7E 1B 78 */ mr r30, r3 -/* 8003C11C 0003907C 7C 9F 23 78 */ mr r31, r4 -/* 8003C120 00039080 80 A4 08 4C */ lwz r5, 0x84c(r4) -/* 8003C124 00039084 FF E0 08 90 */ fmr f31, f1 -/* 8003C128 00039088 80 63 07 2C */ lwz r3, 0x72c(r3) -/* 8003C12C 0003908C 83 A5 00 04 */ lwz r29, 4(r5) -/* 8003C130 00039090 83 83 00 20 */ lwz r28, 0x20(r3) -/* 8003C134 00039094 80 64 08 70 */ lwz r3, 0x870(r4) -/* 8003C138 00039098 4B FC F9 E1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8003C13C 0003909C C0 BE 04 14 */ lfs f5, 0x414(r30) -/* 8003C140 000390A0 3C 80 80 57 */ lis r4, lbl_8056C9EC@ha -/* 8003C144 000390A4 C0 9E 04 04 */ lfs f4, 0x404(r30) -/* 8003C148 000390A8 38 84 C9 EC */ addi r4, r4, lbl_8056C9EC@l -/* 8003C14C 000390AC C0 7E 03 F4 */ lfs f3, 0x3f4(r30) -/* 8003C150 000390B0 3B 64 00 04 */ addi r27, r4, 4 -/* 8003C154 000390B4 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8003C158 000390B8 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 8003C15C 000390BC D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 8003C160 000390C0 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 8003C164 000390C4 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 8003C168 000390C8 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8003C16C 000390CC EC 42 20 28 */ fsubs f2, f2, f4 -/* 8003C170 000390D0 EC 21 28 28 */ fsubs f1, f1, f5 -/* 8003C174 000390D4 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8003C178 000390D8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8003C17C 000390DC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8003C180 000390E0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8003C184 000390E4 83 5C 02 18 */ lwz r26, 0x218(r28) -/* 8003C188 000390E8 2C 1A 00 00 */ cmpwi r26, 0 -/* 8003C18C 000390EC 40 81 00 80 */ ble lbl_8003C20C -/* 8003C190 000390F0 3B 20 00 00 */ li r25, 0 -/* 8003C194 000390F4 48 00 00 70 */ b lbl_8003C204 -lbl_8003C198: -/* 8003C198 000390F8 A0 1B 00 18 */ lhz r0, 0x18(r27) -/* 8003C19C 000390FC 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 8003C1A0 00039100 2C 00 00 08 */ cmpwi r0, 8 -/* 8003C1A4 00039104 40 82 00 58 */ bne lbl_8003C1FC -/* 8003C1A8 00039108 2C 03 FF FF */ cmpwi r3, -1 -/* 8003C1AC 0003910C 41 82 00 10 */ beq lbl_8003C1BC -/* 8003C1B0 00039110 80 1C 02 04 */ lwz r0, 0x204(r28) -/* 8003C1B4 00039114 7C 03 00 00 */ cmpw r3, r0 -/* 8003C1B8 00039118 40 82 00 44 */ bne lbl_8003C1FC -lbl_8003C1BC: -/* 8003C1BC 0003911C 38 01 00 24 */ addi r0, r1, 0x24 -/* 8003C1C0 00039120 89 22 CC 40 */ lbz r9, lbl_805AE960@sda21(r2) -/* 8003C1C4 00039124 90 01 00 08 */ stw r0, 8(r1) -/* 8003C1C8 00039128 38 7E 06 70 */ addi r3, r30, 0x670 -/* 8003C1CC 0003912C 38 9E 03 28 */ addi r4, r30, 0x328 -/* 8003C1D0 00039130 39 41 00 18 */ addi r10, r1, 0x18 -/* 8003C1D4 00039134 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8003C1D8 00039138 38 A0 00 00 */ li r5, 0 -/* 8003C1DC 0003913C 39 00 00 14 */ li r8, 0x14 -/* 8003C1E0 00039140 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8003C1E4 00039144 80 DB 00 38 */ lwz r6, 0x38(r27) -/* 8003C1E8 00039148 C0 3B 00 2C */ lfs f1, 0x2c(r27) -/* 8003C1EC 0003914C 80 FB 00 34 */ lwz r7, 0x34(r27) -/* 8003C1F0 00039150 C0 5B 00 3C */ lfs f2, 0x3c(r27) -/* 8003C1F4 00039154 C0 7B 00 40 */ lfs f3, 0x40(r27) -/* 8003C1F8 00039158 48 24 E9 91 */ bl "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" -lbl_8003C1FC: -/* 8003C1FC 0003915C 3B 7B 00 44 */ addi r27, r27, 0x44 -/* 8003C200 00039160 3B 39 00 01 */ addi r25, r25, 1 -lbl_8003C204: -/* 8003C204 00039164 7C 19 D0 00 */ cmpw r25, r26 -/* 8003C208 00039168 41 80 FF 90 */ blt lbl_8003C198 -lbl_8003C20C: -/* 8003C20C 0003916C 83 3C 02 10 */ lwz r25, 0x210(r28) -/* 8003C210 00039170 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8003C214 00039174 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l -/* 8003C218 00039178 2C 19 00 00 */ cmpwi r25, 0 -/* 8003C21C 0003917C 3B 63 00 04 */ addi r27, r3, 4 -/* 8003C220 00039180 40 81 00 B4 */ ble lbl_8003C2D4 -/* 8003C224 00039184 3B 40 00 00 */ li r26, 0 -/* 8003C228 00039188 48 00 00 A4 */ b lbl_8003C2CC -lbl_8003C22C: -/* 8003C22C 0003918C A0 1B 00 18 */ lhz r0, 0x18(r27) -/* 8003C230 00039190 2C 00 00 05 */ cmpwi r0, 5 -/* 8003C234 00039194 41 82 00 90 */ beq lbl_8003C2C4 -/* 8003C238 00039198 40 80 00 10 */ bge lbl_8003C248 -/* 8003C23C 0003919C 2C 00 00 04 */ cmpwi r0, 4 -/* 8003C240 000391A0 40 80 00 2C */ bge lbl_8003C26C -/* 8003C244 000391A4 48 00 00 80 */ b lbl_8003C2C4 -lbl_8003C248: -/* 8003C248 000391A8 2C 00 00 07 */ cmpwi r0, 7 -/* 8003C24C 000391AC 40 80 00 78 */ bge lbl_8003C2C4 -/* 8003C250 000391B0 FC 20 F8 90 */ fmr f1, f31 -/* 8003C254 000391B4 80 DB 00 38 */ lwz r6, 0x38(r27) -/* 8003C258 000391B8 7F C3 F3 78 */ mr r3, r30 -/* 8003C25C 000391BC 7F E4 FB 78 */ mr r4, r31 -/* 8003C260 000391C0 7F 65 DB 78 */ mr r5, r27 -/* 8003C264 000391C4 4B FF FD 95 */ bl DoUserAnimEvent__10CPlayerGunFfR13CStateManagerRC13CInt32POINode14EUserEventType -/* 8003C268 000391C8 48 00 00 5C */ b lbl_8003C2C4 -lbl_8003C26C: -/* 8003C26C 000391CC 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 8003C270 000391D0 2C 03 FF FF */ cmpwi r3, -1 -/* 8003C274 000391D4 41 82 00 10 */ beq lbl_8003C284 -/* 8003C278 000391D8 80 1C 02 04 */ lwz r0, 0x204(r28) -/* 8003C27C 000391DC 7C 03 00 00 */ cmpw r3, r0 -/* 8003C280 000391E0 40 82 00 44 */ bne lbl_8003C2C4 -lbl_8003C284: -/* 8003C284 000391E4 38 01 00 24 */ addi r0, r1, 0x24 -/* 8003C288 000391E8 C0 42 84 90 */ lfs f2, lbl_805AA1B0@sda21(r2) -/* 8003C28C 000391EC 90 01 00 08 */ stw r0, 8(r1) -/* 8003C290 000391F0 38 7E 06 70 */ addi r3, r30, 0x670 -/* 8003C294 000391F4 C0 62 84 94 */ lfs f3, lbl_805AA1B4@sda21(r2) -/* 8003C298 000391F8 38 9E 03 28 */ addi r4, r30, 0x328 -/* 8003C29C 000391FC 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8003C2A0 00039200 39 41 00 18 */ addi r10, r1, 0x18 -/* 8003C2A4 00039204 89 22 CC 40 */ lbz r9, lbl_805AE960@sda21(r2) -/* 8003C2A8 00039208 38 A0 00 00 */ li r5, 0 -/* 8003C2AC 0003920C 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8003C2B0 00039210 39 00 00 14 */ li r8, 0x14 -/* 8003C2B4 00039214 80 DB 00 38 */ lwz r6, 0x38(r27) -/* 8003C2B8 00039218 C0 3B 00 2C */ lfs f1, 0x2c(r27) -/* 8003C2BC 0003921C 80 FB 00 34 */ lwz r7, 0x34(r27) -/* 8003C2C0 00039220 48 24 E8 C9 */ bl "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" -lbl_8003C2C4: -/* 8003C2C4 00039224 3B 7B 00 4C */ addi r27, r27, 0x4c -/* 8003C2C8 00039228 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8003C2CC: -/* 8003C2CC 0003922C 7C 1A C8 00 */ cmpw r26, r25 -/* 8003C2D0 00039230 41 80 FF 5C */ blt lbl_8003C22C -lbl_8003C2D4: -/* 8003C2D4 00039234 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8003C2D8 00039238 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8003C2DC 0003923C BB 21 00 34 */ lmw r25, 0x34(r1) -/* 8003C2E0 00039240 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8003C2E4 00039244 7C 08 03 A6 */ mtlr r0 -/* 8003C2E8 00039248 38 21 00 60 */ addi r1, r1, 0x60 -/* 8003C2EC 0003924C 4E 80 00 20 */ blr - -.global RenderEnergyDrainEffects__10CPlayerGunCFRC13CStateManager -RenderEnergyDrainEffects__10CPlayerGunCFRC13CStateManager: -/* 8003C2F0 00039250 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8003C2F4 00039254 7C 08 02 A6 */ mflr r0 -/* 8003C2F8 00039258 90 01 00 34 */ stw r0, 0x34(r1) -/* 8003C2FC 0003925C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8003C300 00039260 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8003C304 00039264 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8003C308 00039268 7C 9D 23 78 */ mr r29, r4 -/* 8003C30C 0003926C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003C310 00039270 A0 03 05 38 */ lhz r0, 0x538(r3) -/* 8003C314 00039274 7F A3 EB 78 */ mr r3, r29 -/* 8003C318 00039278 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8003C31C 0003927C 48 01 02 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8003C320 00039280 7C 64 1B 78 */ mr r4, r3 -/* 8003C324 00039284 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003C328 00039288 48 07 00 6D */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -/* 8003C32C 0003928C 83 C3 00 04 */ lwz r30, 4(r3) -/* 8003C330 00039290 28 1E 00 00 */ cmplwi r30, 0 -/* 8003C334 00039294 41 82 00 60 */ beq lbl_8003C394 -/* 8003C338 00039298 83 FE 02 80 */ lwz r31, 0x280(r30) -/* 8003C33C 0003929C 48 00 00 40 */ b lbl_8003C37C -lbl_8003C340: -/* 8003C340 000392A0 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8003C344 000392A4 7F A3 EB 78 */ mr r3, r29 -/* 8003C348 000392A8 38 81 00 0C */ addi r4, r1, 0xc -/* 8003C34C 000392AC B0 01 00 08 */ sth r0, 8(r1) -/* 8003C350 000392B0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8003C354 000392B4 48 01 02 51 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8003C358 000392B8 7C 64 1B 78 */ mr r4, r3 -/* 8003C35C 000392BC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8003C360 000392C0 48 06 91 41 */ bl sub_800a54a0 -/* 8003C364 000392C4 48 06 91 11 */ bl "CastTo<12CMetroidBeta>__10CPatternedFP7CEntity" -/* 8003C368 000392C8 28 03 00 00 */ cmplwi r3, 0 -/* 8003C36C 000392CC 41 82 00 0C */ beq lbl_8003C378 -/* 8003C370 000392D0 48 18 92 BD */ bl RenderHitGunEffect__12CMetroidBetaCFv -/* 8003C374 000392D4 48 00 00 20 */ b lbl_8003C394 -lbl_8003C378: -/* 8003C378 000392D8 3B FF 00 08 */ addi r31, r31, 8 -lbl_8003C37C: -/* 8003C37C 000392DC 80 1E 02 78 */ lwz r0, 0x278(r30) -/* 8003C380 000392E0 80 7E 02 80 */ lwz r3, 0x280(r30) -/* 8003C384 000392E4 54 00 18 38 */ slwi r0, r0, 3 -/* 8003C388 000392E8 7C 03 02 14 */ add r0, r3, r0 -/* 8003C38C 000392EC 7C 1F 00 40 */ cmplw r31, r0 -/* 8003C390 000392F0 40 82 FF B0 */ bne lbl_8003C340 -lbl_8003C394: -/* 8003C394 000392F4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8003C398 000392F8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8003C39C 000392FC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8003C3A0 00039300 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8003C3A4 00039304 7C 08 03 A6 */ mtlr r0 -/* 8003C3A8 00039308 38 21 00 30 */ addi r1, r1, 0x30 -/* 8003C3AC 0003930C 4E 80 00 20 */ blr - -.global StopContinuousBeam__10CPlayerGunFR13CStateManagerb -StopContinuousBeam__10CPlayerGunFR13CStateManagerb: -/* 8003C3B0 00039310 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003C3B4 00039314 7C 08 02 A6 */ mflr r0 -/* 8003C3B8 00039318 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003C3BC 0003931C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003C3C0 00039320 7C 7F 1B 78 */ mr r31, r3 -/* 8003C3C4 00039324 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003C3C8 00039328 7C BE 2B 78 */ mr r30, r5 -/* 8003C3CC 0003932C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003C3D0 00039330 7C 9D 23 78 */ mr r29, r4 -/* 8003C3D4 00039334 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8003C3D8 00039338 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 8003C3DC 0003933C 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003C3E0 00039340 40 82 00 8C */ bne lbl_8003C46C -/* 8003C3E4 00039344 38 A0 00 00 */ li r5, 0 -/* 8003C3E8 00039348 4B FF F8 51 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb -/* 8003C3EC 0003934C 80 7F 07 44 */ lwz r3, 0x744(r31) -/* 8003C3F0 00039350 7F A4 EB 78 */ mr r4, r29 -/* 8003C3F4 00039354 7F C5 F3 78 */ mr r5, r30 -/* 8003C3F8 00039358 48 17 D0 C5 */ bl StopComboFx__10CAuxWeaponFR13CStateManagerb -/* 8003C3FC 0003935C 80 1F 03 10 */ lwz r0, 0x310(r31) -/* 8003C400 00039360 38 60 00 01 */ li r3, 1 -/* 8003C404 00039364 2C 00 00 01 */ cmpwi r0, 1 -/* 8003C408 00039368 41 82 00 C8 */ beq lbl_8003C4D0 -/* 8003C40C 0003936C 40 80 00 10 */ bge lbl_8003C41C -/* 8003C410 00039370 2C 00 00 00 */ cmpwi r0, 0 -/* 8003C414 00039374 40 80 00 10 */ bge lbl_8003C424 -/* 8003C418 00039378 48 00 00 B8 */ b lbl_8003C4D0 -lbl_8003C41C: -/* 8003C41C 0003937C 2C 00 00 04 */ cmpwi r0, 4 -/* 8003C420 00039380 40 80 00 B0 */ bge lbl_8003C4D0 -lbl_8003C424: -/* 8003C424 00039384 2C 00 00 00 */ cmpwi r0, 0 -/* 8003C428 00039388 40 82 00 14 */ bne lbl_8003C43C -/* 8003C42C 0003938C 88 1F 08 33 */ lbz r0, 0x833(r31) -/* 8003C430 00039390 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8003C434 00039394 40 82 00 08 */ bne lbl_8003C43C -/* 8003C438 00039398 38 60 00 00 */ li r3, 0 -lbl_8003C43C: -/* 8003C43C 0003939C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003C440 000393A0 41 82 00 90 */ beq lbl_8003C4D0 -/* 8003C444 000393A4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8003C448 000393A8 80 7F 07 2C */ lwz r3, 0x72c(r31) -/* 8003C44C 000393AC 38 80 00 03 */ li r4, 3 -/* 8003C450 000393B0 41 82 00 08 */ beq lbl_8003C458 -/* 8003C454 000393B4 38 80 00 00 */ li r4, 0 -lbl_8003C458: -/* 8003C458 000393B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003C45C 000393BC 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8003C460 000393C0 7D 89 03 A6 */ mtctr r12 -/* 8003C464 000393C4 4E 80 04 21 */ bctrl -/* 8003C468 000393C8 48 00 00 68 */ b lbl_8003C4D0 -lbl_8003C46C: -/* 8003C46C 000393CC 88 1F 08 33 */ lbz r0, 0x833(r31) -/* 8003C470 000393D0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8003C474 000393D4 41 82 00 2C */ beq lbl_8003C4A0 -/* 8003C478 000393D8 83 FF 07 2C */ lwz r31, 0x72c(r31) -/* 8003C47C 000393DC 7F E3 FB 78 */ mr r3, r31 -/* 8003C480 000393E0 48 15 0A 35 */ bl IsFiring__11CPhazonBeamCFRC13CStateManager -/* 8003C484 000393E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003C488 000393E8 41 82 00 48 */ beq lbl_8003C4D0 -/* 8003C48C 000393EC 7F E3 FB 78 */ mr r3, r31 -/* 8003C490 000393F0 7F A4 EB 78 */ mr r4, r29 -/* 8003C494 000393F4 7F C5 F3 78 */ mr r5, r30 -/* 8003C498 000393F8 48 15 00 45 */ bl StopBeam__11CPhazonBeamFR13CStateManagerb -/* 8003C49C 000393FC 48 00 00 34 */ b lbl_8003C4D0 -lbl_8003C4A0: -/* 8003C4A0 00039400 80 1F 03 10 */ lwz r0, 0x310(r31) -/* 8003C4A4 00039404 2C 00 00 03 */ cmpwi r0, 3 -/* 8003C4A8 00039408 40 82 00 28 */ bne lbl_8003C4D0 -/* 8003C4AC 0003940C 83 FF 07 2C */ lwz r31, 0x72c(r31) -/* 8003C4B0 00039410 7F E3 FB 78 */ mr r3, r31 -/* 8003C4B4 00039414 48 0A 2F 69 */ bl IsFiring__11CPlasmaBeamCFRC13CStateManager -/* 8003C4B8 00039418 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003C4BC 0003941C 41 82 00 14 */ beq lbl_8003C4D0 -/* 8003C4C0 00039420 7F E3 FB 78 */ mr r3, r31 -/* 8003C4C4 00039424 7F A4 EB 78 */ mr r4, r29 -/* 8003C4C8 00039428 7F C5 F3 78 */ mr r5, r30 -/* 8003C4CC 0003942C 48 0A 2A 99 */ bl StopBeam__11CPlasmaBeamFR13CStateManagerb -lbl_8003C4D0: -/* 8003C4D0 00039430 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003C4D4 00039434 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003C4D8 00039438 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003C4DC 0003943C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8003C4E0 00039440 7C 08 03 A6 */ mtlr r0 -/* 8003C4E4 00039444 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003C4E8 00039448 4E 80 00 20 */ blr - -.global AcceptScriptMsg__10CPlayerGunF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__10CPlayerGunF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8003C4EC 0003944C 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8003C4F0 00039450 7C 08 02 A6 */ mflr r0 -/* 8003C4F4 00039454 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8003C4F8 00039458 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8003C4FC 0003945C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8003C500 00039460 BF 21 00 84 */ stmw r25, 0x84(r1) -/* 8003C504 00039464 7C DF 33 78 */ mr r31, r6 -/* 8003C508 00039468 7C 9C 23 78 */ mr r28, r4 -/* 8003C50C 0003946C 83 66 08 4C */ lwz r27, 0x84c(r6) -/* 8003C510 00039470 38 1C FF E9 */ addi r0, r28, -23 -/* 8003C514 00039474 80 C6 08 B8 */ lwz r6, 0x8b8(r6) -/* 8003C518 00039478 28 00 00 18 */ cmplwi r0, 0x18 -/* 8003C51C 0003947C 80 9B 02 F8 */ lwz r4, 0x2f8(r27) -/* 8003C520 00039480 7C 7D 1B 78 */ mr r29, r3 -/* 8003C524 00039484 83 26 00 00 */ lwz r25, 0(r6) -/* 8003C528 00039488 7C BE 2B 78 */ mr r30, r5 -/* 8003C52C 0003948C 7C 84 00 34 */ cntlzw r4, r4 -/* 8003C530 00039490 54 9A D9 7E */ srwi r26, r4, 5 -/* 8003C534 00039494 41 81 04 98 */ bgt lbl_8003C9CC -/* 8003C538 00039498 3C 80 80 3E */ lis r4, lbl_803D9D74@ha -/* 8003C53C 0003949C 54 00 10 3A */ slwi r0, r0, 2 -/* 8003C540 000394A0 38 84 9D 74 */ addi r4, r4, lbl_803D9D74@l -/* 8003C544 000394A4 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8003C548 000394A8 7C 09 03 A6 */ mtctr r0 -/* 8003C54C 000394AC 4E 80 04 20 */ bctr -/* 8003C550 000394B0 7F E4 FB 78 */ mr r4, r31 -/* 8003C554 000394B4 4B FF F2 85 */ bl CreateGunLight__10CPlayerGunFR13CStateManager -/* 8003C558 000394B8 80 19 00 08 */ lwz r0, 8(r25) -/* 8003C55C 000394BC 3C 60 80 3D */ lis r3, lbl_803CCE84@ha -/* 8003C560 000394C0 38 63 CE 84 */ addi r3, r3, lbl_803CCE84@l -/* 8003C564 000394C4 7F E4 FB 78 */ mr r4, r31 -/* 8003C568 000394C8 54 19 10 3A */ slwi r25, r0, 2 -/* 8003C56C 000394CC 38 A0 00 01 */ li r5, 1 -/* 8003C570 000394D0 7C 03 C8 2E */ lwzx r0, r3, r25 -/* 8003C574 000394D4 90 1D 03 20 */ stw r0, 0x320(r29) -/* 8003C578 000394D8 90 1D 03 14 */ stw r0, 0x314(r29) -/* 8003C57C 000394DC 90 1D 03 10 */ stw r0, 0x310(r29) -/* 8003C580 000394E0 80 1D 03 10 */ lwz r0, 0x310(r29) -/* 8003C584 000394E4 54 00 10 3A */ slwi r0, r0, 2 -/* 8003C588 000394E8 7C 7D 02 14 */ add r3, r29, r0 -/* 8003C58C 000394EC 80 03 07 64 */ lwz r0, 0x764(r3) -/* 8003C590 000394F0 90 1D 07 2C */ stw r0, 0x72c(r29) -/* 8003C594 000394F4 80 1D 07 2C */ lwz r0, 0x72c(r29) -/* 8003C598 000394F8 90 1D 07 38 */ stw r0, 0x738(r29) -/* 8003C59C 000394FC 80 7D 07 2C */ lwz r3, 0x72c(r29) -/* 8003C5A0 00039500 81 83 00 00 */ lwz r12, 0(r3) -/* 8003C5A4 00039504 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8003C5A8 00039508 7D 89 03 A6 */ mtctr r12 -/* 8003C5AC 0003950C 4E 80 04 21 */ bctrl -/* 8003C5B0 00039510 80 1D 07 48 */ lwz r0, 0x748(r29) -/* 8003C5B4 00039514 7F E5 FB 78 */ mr r5, r31 -/* 8003C5B8 00039518 80 7D 07 2C */ lwz r3, 0x72c(r29) -/* 8003C5BC 0003951C 90 03 01 BC */ stw r0, 0x1bc(r3) -/* 8003C5C0 00039520 80 7D 07 44 */ lwz r3, 0x744(r29) -/* 8003C5C4 00039524 80 9D 03 10 */ lwz r4, 0x310(r29) -/* 8003C5C8 00039528 48 17 C3 75 */ bl Load__10CAuxWeaponFiR13CStateManager -/* 8003C5CC 0003952C 3C 60 80 3D */ lis r3, lbl_803CCE44@ha -/* 8003C5D0 00039530 38 00 00 00 */ li r0, 0 -/* 8003C5D4 00039534 38 63 CE 44 */ addi r3, r3, lbl_803CCE44@l -/* 8003C5D8 00039538 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003C5DC 0003953C 7C C3 C8 2E */ lwzx r6, r3, r25 -/* 8003C5E0 00039540 38 80 FF FF */ li r4, -1 -/* 8003C5E4 00039544 38 60 00 01 */ li r3, 1 -/* 8003C5E8 00039548 90 81 00 5C */ stw r4, 0x5c(r1) -/* 8003C5EC 0003954C 38 81 00 58 */ addi r4, r1, 0x58 -/* 8003C5F0 00039550 38 A0 00 00 */ li r5, 0 -/* 8003C5F4 00039554 90 C1 00 58 */ stw r6, 0x58(r1) -/* 8003C5F8 00039558 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8003C5FC 0003955C 98 61 00 64 */ stb r3, 0x64(r1) -/* 8003C600 00039560 90 01 00 68 */ stw r0, 0x68(r1) -/* 8003C604 00039564 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8003C608 00039568 98 01 00 70 */ stb r0, 0x70(r1) -/* 8003C60C 0003956C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8003C610 00039570 90 01 00 78 */ stw r0, 0x78(r1) -/* 8003C614 00039574 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8003C618 00039578 80 7D 06 F0 */ lwz r3, 0x6f0(r29) -/* 8003C61C 0003957C 4B FF 07 61 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 8003C620 00039580 48 00 03 AC */ b lbl_8003C9CC -/* 8003C624 00039584 7F E4 FB 78 */ mr r4, r31 -/* 8003C628 00039588 4B FF F1 5D */ bl DeleteGunLight__10CPlayerGunFR13CStateManager -/* 8003C62C 0003958C 48 00 03 A0 */ b lbl_8003C9CC -/* 8003C630 00039590 7F 23 CB 78 */ mr r3, r25 -/* 8003C634 00039594 38 80 00 17 */ li r4, 0x17 -/* 8003C638 00039598 48 05 54 89 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003C63C 0003959C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003C640 000395A0 41 82 00 64 */ beq lbl_8003C6A4 -/* 8003C644 000395A4 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8003C648 000395A8 41 82 00 5C */ beq lbl_8003C6A4 -/* 8003C64C 000395AC A0 1E 00 00 */ lhz r0, 0(r30) -/* 8003C650 000395B0 7F E3 FB 78 */ mr r3, r31 -/* 8003C654 000395B4 38 81 00 2C */ addi r4, r1, 0x2c -/* 8003C658 000395B8 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 8003C65C 000395BC 48 00 FF 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8003C660 000395C0 7C 64 1B 78 */ mr r4, r3 -/* 8003C664 000395C4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8003C668 000395C8 48 06 A1 F9 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" -/* 8003C66C 000395CC 80 63 00 04 */ lwz r3, 4(r3) -/* 8003C670 000395D0 28 03 00 00 */ cmplwi r3, 0 -/* 8003C674 000395D4 41 82 00 30 */ beq lbl_8003C6A4 -/* 8003C678 000395D8 80 63 01 B4 */ lwz r3, 0x1b4(r3) -/* 8003C67C 000395DC 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8003C680 000395E0 2C 00 00 03 */ cmpwi r0, 3 -/* 8003C684 000395E4 40 82 00 20 */ bne lbl_8003C6A4 -/* 8003C688 000395E8 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C68C 000395EC 38 60 00 01 */ li r3, 1 -/* 8003C690 000395F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003C694 000395F4 98 1D 08 35 */ stb r0, 0x835(r29) -/* 8003C698 000395F8 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C69C 000395FC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003C6A0 00039600 98 1D 08 35 */ stb r0, 0x835(r29) -lbl_8003C6A4: -/* 8003C6A4 00039604 C3 FB 08 28 */ lfs f31, 0x828(r27) -/* 8003C6A8 00039608 7F 63 DB 78 */ mr r3, r27 -/* 8003C6AC 0003960C 48 24 87 35 */ bl GetEyeHeight__7CPlayerCFv -/* 8003C6B0 00039610 FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 8003C6B4 00039614 40 81 00 48 */ ble lbl_8003C6FC -/* 8003C6B8 00039618 88 1D 08 34 */ lbz r0, 0x834(r29) -/* 8003C6BC 0003961C 38 60 00 01 */ li r3, 1 -/* 8003C6C0 00039620 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8003C6C4 00039624 7F E4 FB 78 */ mr r4, r31 -/* 8003C6C8 00039628 98 1D 08 34 */ stb r0, 0x834(r29) -/* 8003C6CC 0003962C 80 7D 07 44 */ lwz r3, 0x744(r29) -/* 8003C6D0 00039630 48 17 CD 61 */ bl IsComboFxActive__10CAuxWeaponCFRC13CStateManager -/* 8003C6D4 00039634 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003C6D8 00039638 41 82 02 F4 */ beq lbl_8003C9CC -/* 8003C6DC 0003963C 80 1D 03 10 */ lwz r0, 0x310(r29) -/* 8003C6E0 00039640 2C 00 00 02 */ cmpwi r0, 2 -/* 8003C6E4 00039644 41 82 02 E8 */ beq lbl_8003C9CC -/* 8003C6E8 00039648 7F A3 EB 78 */ mr r3, r29 -/* 8003C6EC 0003964C 7F E4 FB 78 */ mr r4, r31 -/* 8003C6F0 00039650 38 A0 00 00 */ li r5, 0 -/* 8003C6F4 00039654 4B FF FC BD */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb -/* 8003C6F8 00039658 48 00 02 D4 */ b lbl_8003C9CC -lbl_8003C6FC: -/* 8003C6FC 0003965C 88 1D 08 34 */ lbz r0, 0x834(r29) -/* 8003C700 00039660 38 60 00 00 */ li r3, 0 -/* 8003C704 00039664 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8003C708 00039668 98 1D 08 34 */ stb r0, 0x834(r29) -/* 8003C70C 0003966C 48 00 02 C0 */ b lbl_8003C9CC -/* 8003C710 00039670 88 1D 08 34 */ lbz r0, 0x834(r29) -/* 8003C714 00039674 38 60 00 00 */ li r3, 0 -/* 8003C718 00039678 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8003C71C 0003967C 98 1D 08 34 */ stb r0, 0x834(r29) -/* 8003C720 00039680 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C724 00039684 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003C728 00039688 98 1D 08 35 */ stb r0, 0x835(r29) -/* 8003C72C 0003968C 48 00 02 A0 */ b lbl_8003C9CC -/* 8003C730 00039690 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C734 00039694 38 60 00 01 */ li r3, 1 -/* 8003C738 00039698 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003C73C 0003969C 7F 23 CB 78 */ mr r3, r25 -/* 8003C740 000396A0 98 1D 08 35 */ stb r0, 0x835(r29) -/* 8003C744 000396A4 38 80 00 17 */ li r4, 0x17 -/* 8003C748 000396A8 48 05 53 79 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003C74C 000396AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003C750 000396B0 41 82 02 7C */ beq lbl_8003C9CC -/* 8003C754 000396B4 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8003C758 000396B8 41 82 02 74 */ beq lbl_8003C9CC -/* 8003C75C 000396BC 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C760 000396C0 38 60 00 01 */ li r3, 1 -/* 8003C764 000396C4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003C768 000396C8 98 1D 08 35 */ stb r0, 0x835(r29) -/* 8003C76C 000396CC 48 00 02 60 */ b lbl_8003C9CC -/* 8003C770 000396D0 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C774 000396D4 38 60 00 01 */ li r3, 1 -/* 8003C778 000396D8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003C77C 000396DC 7F 23 CB 78 */ mr r3, r25 -/* 8003C780 000396E0 98 1D 08 35 */ stb r0, 0x835(r29) -/* 8003C784 000396E4 38 80 00 17 */ li r4, 0x17 -/* 8003C788 000396E8 48 05 53 39 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003C78C 000396EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003C790 000396F0 41 82 02 3C */ beq lbl_8003C9CC -/* 8003C794 000396F4 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8003C798 000396F8 41 82 02 34 */ beq lbl_8003C9CC -/* 8003C79C 000396FC 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C7A0 00039700 38 60 00 01 */ li r3, 1 -/* 8003C7A4 00039704 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003C7A8 00039708 98 1D 08 35 */ stb r0, 0x835(r29) -/* 8003C7AC 0003970C 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C7B0 00039710 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003C7B4 00039714 98 1D 08 35 */ stb r0, 0x835(r29) -/* 8003C7B8 00039718 88 1D 08 33 */ lbz r0, 0x833(r29) -/* 8003C7BC 0003971C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8003C7C0 00039720 41 82 02 0C */ beq lbl_8003C9CC -/* 8003C7C4 00039724 80 7D 07 2C */ lwz r3, 0x72c(r29) -/* 8003C7C8 00039728 7F E4 FB 78 */ mr r4, r31 -/* 8003C7CC 0003972C 48 15 06 E9 */ bl IsFiring__11CPhazonBeamCFRC13CStateManager -/* 8003C7D0 00039730 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003C7D4 00039734 41 82 01 F8 */ beq lbl_8003C9CC -/* 8003C7D8 00039738 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8003C7DC 0003973C 7F E3 FB 78 */ mr r3, r31 -/* 8003C7E0 00039740 38 81 00 28 */ addi r4, r1, 0x28 -/* 8003C7E4 00039744 B0 01 00 28 */ sth r0, 0x28(r1) -/* 8003C7E8 00039748 48 00 FD 8D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8003C7EC 0003974C 7C 64 1B 78 */ mr r4, r3 -/* 8003C7F0 00039750 38 61 00 50 */ addi r3, r1, 0x50 -/* 8003C7F4 00039754 48 07 21 C1 */ bl "__ct__20TCastToPtr<7CEntity>FP7CEntity" -/* 8003C7F8 00039758 80 83 00 04 */ lwz r4, 4(r3) -/* 8003C7FC 0003975C 28 04 00 00 */ cmplwi r4, 0 -/* 8003C800 00039760 41 82 01 CC */ beq lbl_8003C9CC -/* 8003C804 00039764 A0 1D 05 38 */ lhz r0, 0x538(r29) -/* 8003C808 00039768 7F E3 FB 78 */ mr r3, r31 -/* 8003C80C 0003976C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8003C810 00039770 38 C0 00 05 */ li r6, 5 -/* 8003C814 00039774 B0 01 00 24 */ sth r0, 0x24(r1) -/* 8003C818 00039778 48 00 76 B9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8003C81C 0003977C 48 00 01 B0 */ b lbl_8003C9CC -/* 8003C820 00039780 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C824 00039784 38 60 00 00 */ li r3, 0 -/* 8003C828 00039788 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003C82C 0003978C 98 1D 08 35 */ stb r0, 0x835(r29) -/* 8003C830 00039790 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003C834 00039794 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003C838 00039798 98 1D 08 35 */ stb r0, 0x835(r29) -/* 8003C83C 0003979C 48 00 01 90 */ b lbl_8003C9CC -/* 8003C840 000397A0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8003C844 000397A4 7F E3 FB 78 */ mr r3, r31 -/* 8003C848 000397A8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8003C84C 000397AC 3B 40 00 00 */ li r26, 0 -/* 8003C850 000397B0 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8003C854 000397B4 3B 20 00 00 */ li r25, 0 -/* 8003C858 000397B8 48 00 FD 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8003C85C 000397BC 7C 64 1B 78 */ mr r4, r3 -/* 8003C860 000397C0 38 61 00 40 */ addi r3, r1, 0x40 -/* 8003C864 000397C4 48 07 24 65 */ bl "__ct__31TCastToPtr<17CEnergyProjectile>FP7CEntity" -/* 8003C868 000397C8 80 63 00 04 */ lwz r3, 4(r3) -/* 8003C86C 000397CC 28 03 00 00 */ cmplwi r3, 0 -/* 8003C870 000397D0 41 82 00 24 */ beq lbl_8003C894 -/* 8003C874 000397D4 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 8003C878 000397D8 54 00 04 E6 */ rlwinm r0, r0, 0, 0x13, 0x13 -/* 8003C87C 000397DC 2C 00 10 00 */ cmpwi r0, 0x1000 -/* 8003C880 000397E0 40 82 00 14 */ bne lbl_8003C894 -/* 8003C884 000397E4 C0 03 01 50 */ lfs f0, 0x150(r3) -/* 8003C888 000397E8 3B 40 00 01 */ li r26, 1 -/* 8003C88C 000397EC D0 1D 03 94 */ stfs f0, 0x394(r29) -/* 8003C890 000397F0 48 00 00 8C */ b lbl_8003C91C -lbl_8003C894: -/* 8003C894 000397F4 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8003C898 000397F8 7F E3 FB 78 */ mr r3, r31 -/* 8003C89C 000397FC 38 81 00 1C */ addi r4, r1, 0x1c -/* 8003C8A0 00039800 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8003C8A4 00039804 48 00 FD 01 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8003C8A8 00039808 7C 64 1B 78 */ mr r4, r3 -/* 8003C8AC 0003980C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8003C8B0 00039810 48 07 01 AD */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 8003C8B4 00039814 80 63 00 04 */ lwz r3, 4(r3) -/* 8003C8B8 00039818 28 03 00 00 */ cmplwi r3, 0 -/* 8003C8BC 0003981C 41 82 00 60 */ beq lbl_8003C91C -/* 8003C8C0 00039820 88 03 04 02 */ lbz r0, 0x402(r3) -/* 8003C8C4 00039824 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8003C8C8 00039828 41 82 00 54 */ beq lbl_8003C91C -/* 8003C8CC 0003982C C0 03 05 04 */ lfs f0, 0x504(r3) -/* 8003C8D0 00039830 3B 40 00 01 */ li r26, 1 -/* 8003C8D4 00039834 D0 1D 03 94 */ stfs f0, 0x394(r29) -/* 8003C8D8 00039838 A0 9B 02 6C */ lhz r4, 0x26c(r27) -/* 8003C8DC 0003983C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003C8E0 00039840 54 83 04 3E */ clrlwi r3, r4, 0x10 -/* 8003C8E4 00039844 B0 81 00 30 */ sth r4, 0x30(r1) -/* 8003C8E8 00039848 7C 03 00 40 */ cmplw r3, r0 -/* 8003C8EC 0003984C 41 82 00 30 */ beq lbl_8003C91C -/* 8003C8F0 00039850 B0 81 00 18 */ sth r4, 0x18(r1) -/* 8003C8F4 00039854 7F E3 FB 78 */ mr r3, r31 -/* 8003C8F8 00039858 38 81 00 18 */ addi r4, r1, 0x18 -/* 8003C8FC 0003985C 48 00 FC A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8003C900 00039860 7C 64 1B 78 */ mr r4, r3 -/* 8003C904 00039864 38 61 00 34 */ addi r3, r1, 0x34 -/* 8003C908 00039868 48 06 8B CD */ bl sub_800a54d4 -/* 8003C90C 0003986C 48 06 8B 9D */ bl "CastTo<8CMetroid>__10CPatternedFP7CEntity" -/* 8003C910 00039870 7C 03 00 D0 */ neg r0, r3 -/* 8003C914 00039874 7C 00 1B 78 */ or r0, r0, r3 -/* 8003C918 00039878 54 19 0F FE */ srwi r25, r0, 0x1f -lbl_8003C91C: -/* 8003C91C 0003987C 88 9D 08 34 */ lbz r4, 0x834(r29) -/* 8003C920 00039880 54 80 FF FF */ rlwinm. r0, r4, 0x1f, 0x1f, 0x1f -/* 8003C924 00039884 40 82 00 A8 */ bne lbl_8003C9CC -/* 8003C928 00039888 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8003C92C 0003988C 41 82 00 1C */ beq lbl_8003C948 -/* 8003C930 00039890 38 00 00 00 */ li r0, 0 -/* 8003C934 00039894 7F A3 EB 78 */ mr r3, r29 -/* 8003C938 00039898 50 04 07 FE */ rlwimi r4, r0, 0, 0x1f, 0x1f -/* 8003C93C 0003989C 98 9D 08 34 */ stb r4, 0x834(r29) -/* 8003C940 000398A0 7F E4 FB 78 */ mr r4, r31 -/* 8003C944 000398A4 48 00 01 15 */ bl CancelFiring__10CPlayerGunFR13CStateManager -lbl_8003C948: -/* 8003C948 000398A8 57 20 06 3E */ clrlwi r0, r25, 0x18 -/* 8003C94C 000398AC 7F A3 EB 78 */ mr r3, r29 -/* 8003C950 000398B0 7C 00 00 34 */ cntlzw r0, r0 -/* 8003C954 000398B4 7F E6 FB 78 */ mr r6, r31 -/* 8003C958 000398B8 54 05 D9 7E */ srwi r5, r0, 5 -/* 8003C95C 000398BC 57 44 06 3E */ clrlwi r4, r26, 0x18 -/* 8003C960 000398C0 48 00 02 69 */ bl TakeDamage__10CPlayerGunFbbR13CStateManager -/* 8003C964 000398C4 88 1D 08 34 */ lbz r0, 0x834(r29) -/* 8003C968 000398C8 53 40 0F BC */ rlwimi r0, r26, 1, 0x1e, 0x1e -/* 8003C96C 000398CC 98 1D 08 34 */ stb r0, 0x834(r29) -/* 8003C970 000398D0 48 00 00 5C */ b lbl_8003C9CC -/* 8003C974 000398D4 88 1B 07 60 */ lbz r0, 0x760(r27) -/* 8003C978 000398D8 28 00 00 00 */ cmplwi r0, 0 -/* 8003C97C 000398DC 41 82 00 50 */ beq lbl_8003C9CC -/* 8003C980 000398E0 88 1D 08 34 */ lbz r0, 0x834(r29) -/* 8003C984 000398E4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8003C988 000398E8 40 82 00 44 */ bne lbl_8003C9CC -/* 8003C98C 000398EC 38 00 00 00 */ li r0, 0 -/* 8003C990 000398F0 7F E4 FB 78 */ mr r4, r31 -/* 8003C994 000398F4 90 1D 02 F4 */ stw r0, 0x2f4(r29) -/* 8003C998 000398F8 90 1D 02 EC */ stw r0, 0x2ec(r29) -/* 8003C99C 000398FC 48 00 00 BD */ bl CancelFiring__10CPlayerGunFR13CStateManager -/* 8003C9A0 00039900 7F A3 EB 78 */ mr r3, r29 -/* 8003C9A4 00039904 7F E6 FB 78 */ mr r6, r31 -/* 8003C9A8 00039908 38 80 00 01 */ li r4, 1 -/* 8003C9AC 0003990C 38 A0 00 00 */ li r5, 0 -/* 8003C9B0 00039910 48 00 02 19 */ bl TakeDamage__10CPlayerGunFbbR13CStateManager -/* 8003C9B4 00039914 C0 02 84 98 */ lfs f0, lbl_805AA1B8@sda21(r2) -/* 8003C9B8 00039918 38 60 00 01 */ li r3, 1 -/* 8003C9BC 0003991C D0 1D 03 94 */ stfs f0, 0x394(r29) -/* 8003C9C0 00039920 88 1D 08 34 */ lbz r0, 0x834(r29) -/* 8003C9C4 00039924 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003C9C8 00039928 98 1D 08 34 */ stb r0, 0x834(r29) -lbl_8003C9CC: -/* 8003C9CC 0003992C A0 1E 00 00 */ lhz r0, 0(r30) -/* 8003C9D0 00039930 7F 84 E3 78 */ mr r4, r28 -/* 8003C9D4 00039934 7F E6 FB 78 */ mr r6, r31 -/* 8003C9D8 00039938 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8003C9DC 0003993C B0 01 00 14 */ sth r0, 0x14(r1) -/* 8003C9E0 00039940 80 7D 07 40 */ lwz r3, 0x740(r29) -/* 8003C9E4 00039944 48 0E 0F 1D */ bl AcceptScriptMsg__11CGrappleArmF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8003C9E8 00039948 80 7D 07 58 */ lwz r3, 0x758(r29) -/* 8003C9EC 0003994C 7F 84 E3 78 */ mr r4, r28 -/* 8003C9F0 00039950 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8003C9F4 00039954 7F E6 FB 78 */ mr r6, r31 -/* 8003C9F8 00039958 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8003C9FC 0003995C B0 01 00 10 */ sth r0, 0x10(r1) -/* 8003CA00 00039960 48 0A 24 E5 */ bl AcceptScriptMsg__11CPlasmaBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8003CA04 00039964 80 7D 07 5C */ lwz r3, 0x75c(r29) -/* 8003CA08 00039968 7F 84 E3 78 */ mr r4, r28 -/* 8003CA0C 0003996C A0 1E 00 00 */ lhz r0, 0(r30) -/* 8003CA10 00039970 7F E6 FB 78 */ mr r6, r31 -/* 8003CA14 00039974 38 A1 00 0C */ addi r5, r1, 0xc -/* 8003CA18 00039978 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8003CA1C 0003997C 48 14 F8 0D */ bl AcceptScriptMsg__11CPhazonBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8003CA20 00039980 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8003CA24 00039984 7F 84 E3 78 */ mr r4, r28 -/* 8003CA28 00039988 7F E6 FB 78 */ mr r6, r31 -/* 8003CA2C 0003998C 38 A1 00 08 */ addi r5, r1, 8 -/* 8003CA30 00039990 B0 01 00 08 */ sth r0, 8(r1) -/* 8003CA34 00039994 80 7D 07 44 */ lwz r3, 0x744(r29) -/* 8003CA38 00039998 48 17 BF F5 */ bl AcceptScriptMsg__10CAuxWeaponF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8003CA3C 0003999C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8003CA40 000399A0 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8003CA44 000399A4 BB 21 00 84 */ lmw r25, 0x84(r1) -/* 8003CA48 000399A8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8003CA4C 000399AC 7C 08 03 A6 */ mtlr r0 -/* 8003CA50 000399B0 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8003CA54 000399B4 4E 80 00 20 */ blr - -.global CancelFiring__10CPlayerGunFR13CStateManager -CancelFiring__10CPlayerGunFR13CStateManager: -/* 8003CA58 000399B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003CA5C 000399BC 7C 08 02 A6 */ mflr r0 -/* 8003CA60 000399C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003CA64 000399C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003CA68 000399C8 7C 9F 23 78 */ mr r31, r4 -/* 8003CA6C 000399CC 93 C1 00 08 */ stw r30, 8(r1) -/* 8003CA70 000399D0 7C 7E 1B 78 */ mr r30, r3 -/* 8003CA74 000399D4 80 03 03 2C */ lwz r0, 0x32c(r3) -/* 8003CA78 000399D8 2C 00 00 08 */ cmpwi r0, 8 -/* 8003CA7C 000399DC 40 82 00 0C */ bne lbl_8003CA88 -/* 8003CA80 000399E0 38 A0 00 01 */ li r5, 1 -/* 8003CA84 000399E4 4B FF F1 B5 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb -lbl_8003CA88: -/* 8003CA88 000399E8 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003CA8C 000399EC 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 8003CA90 000399F0 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003CA94 000399F4 40 82 00 4C */ bne lbl_8003CAE0 -/* 8003CA98 000399F8 7F C3 F3 78 */ mr r3, r30 -/* 8003CA9C 000399FC 7F E4 FB 78 */ mr r4, r31 -/* 8003CAA0 00039A00 38 A0 00 01 */ li r5, 1 -/* 8003CAA4 00039A04 4B FF F9 0D */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb -/* 8003CAA8 00039A08 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003CAAC 00039A0C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c -/* 8003CAB0 00039A10 2C 00 00 08 */ cmpwi r0, 8 -/* 8003CAB4 00039A14 41 82 00 20 */ beq lbl_8003CAD4 -/* 8003CAB8 00039A18 80 7E 02 F8 */ lwz r3, 0x2f8(r30) -/* 8003CABC 00039A1C 38 00 FF E9 */ li r0, -23 -/* 8003CAC0 00039A20 60 63 00 01 */ ori r3, r3, 1 -/* 8003CAC4 00039A24 90 7E 02 F8 */ stw r3, 0x2f8(r30) -/* 8003CAC8 00039A28 80 7E 02 F8 */ lwz r3, 0x2f8(r30) -/* 8003CACC 00039A2C 7C 60 00 38 */ and r0, r3, r0 -/* 8003CAD0 00039A30 90 1E 02 F8 */ stw r0, 0x2f8(r30) -lbl_8003CAD4: -/* 8003CAD4 00039A34 38 00 00 00 */ li r0, 0 -/* 8003CAD8 00039A38 90 1E 03 18 */ stw r0, 0x318(r30) -/* 8003CADC 00039A3C 90 1E 03 1C */ stw r0, 0x31c(r30) -lbl_8003CAE0: -/* 8003CAE0 00039A40 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 8003CAE4 00039A44 2C 00 00 00 */ cmpwi r0, 0 -/* 8003CAE8 00039A48 41 82 00 34 */ beq lbl_8003CB1C -/* 8003CAEC 00039A4C 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003CAF0 00039A50 38 80 00 00 */ li r4, 0 -/* 8003CAF4 00039A54 38 A0 00 00 */ li r5, 0 -/* 8003CAF8 00039A58 48 17 F4 91 */ bl ActivateCharge__10CGunWeaponFbb -/* 8003CAFC 00039A5C 7F C3 F3 78 */ mr r3, r30 -/* 8003CB00 00039A60 7F E5 FB 78 */ mr r5, r31 -/* 8003CB04 00039A64 38 80 00 00 */ li r4, 0 -/* 8003CB08 00039A68 4B FF E9 69 */ bl SetGunLightActive__10CPlayerGunFbR13CStateManager -/* 8003CB0C 00039A6C 7F C3 F3 78 */ mr r3, r30 -/* 8003CB10 00039A70 7F E4 FB 78 */ mr r4, r31 -/* 8003CB14 00039A74 38 A0 00 01 */ li r5, 1 -/* 8003CB18 00039A78 48 00 26 C5 */ bl ResetCharge__10CPlayerGunFR13CStateManagerb -lbl_8003CB1C: -/* 8003CB1C 00039A7C 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003CB20 00039A80 7F C3 F3 78 */ mr r3, r30 -/* 8003CB24 00039A84 7F E4 FB 78 */ mr r4, r31 -/* 8003CB28 00039A88 54 05 07 BC */ rlwinm r5, r0, 0, 0x1e, 0x1e -/* 8003CB2C 00039A8C 38 05 FF FE */ addi r0, r5, -2 -/* 8003CB30 00039A90 7C 00 00 34 */ cntlzw r0, r0 -/* 8003CB34 00039A94 54 05 D9 7E */ srwi r5, r0, 5 -/* 8003CB38 00039A98 48 00 28 09 */ bl Reset__10CPlayerGunFR13CStateManager -/* 8003CB3C 00039A9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003CB40 00039AA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003CB44 00039AA4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003CB48 00039AA8 7C 08 03 A6 */ mtlr r0 -/* 8003CB4C 00039AAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003CB50 00039AB0 4E 80 00 20 */ blr - -.global StopChargeSound__10CPlayerGunFR13CStateManager -StopChargeSound__10CPlayerGunFR13CStateManager: -/* 8003CB54 00039AB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003CB58 00039AB8 7C 08 02 A6 */ mflr r0 -/* 8003CB5C 00039ABC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003CB60 00039AC0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003CB64 00039AC4 7C 9F 23 78 */ mr r31, r4 -/* 8003CB68 00039AC8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003CB6C 00039ACC 7C 7E 1B 78 */ mr r30, r3 -/* 8003CB70 00039AD0 80 03 02 E0 */ lwz r0, 0x2e0(r3) -/* 8003CB74 00039AD4 28 00 00 00 */ cmplwi r0, 0 -/* 8003CB78 00039AD8 41 82 00 1C */ beq lbl_8003CB94 -/* 8003CB7C 00039ADC 80 1E 02 E0 */ lwz r0, 0x2e0(r30) -/* 8003CB80 00039AE0 38 61 00 08 */ addi r3, r1, 8 -/* 8003CB84 00039AE4 90 01 00 08 */ stw r0, 8(r1) -/* 8003CB88 00039AE8 48 2A D1 C1 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 8003CB8C 00039AEC 38 00 00 00 */ li r0, 0 -/* 8003CB90 00039AF0 90 1E 02 E0 */ stw r0, 0x2e0(r30) -lbl_8003CB94: -/* 8003CB94 00039AF4 A8 9E 08 30 */ lha r4, 0x830(r30) -/* 8003CB98 00039AF8 2C 04 FF FF */ cmpwi r4, -1 -/* 8003CB9C 00039AFC 41 82 00 14 */ beq lbl_8003CBB0 -/* 8003CBA0 00039B00 80 7F 08 8C */ lwz r3, 0x88c(r31) -/* 8003CBA4 00039B04 48 1F 15 71 */ bl StopRumble__14CRumbleManagerFs -/* 8003CBA8 00039B08 38 00 FF FF */ li r0, -1 -/* 8003CBAC 00039B0C B0 1E 08 30 */ sth r0, 0x830(r30) -lbl_8003CBB0: -/* 8003CBB0 00039B10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003CBB4 00039B14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003CBB8 00039B18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003CBBC 00039B1C 7C 08 03 A6 */ mtlr r0 -/* 8003CBC0 00039B20 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003CBC4 00039B24 4E 80 00 20 */ blr - -.global TakeDamage__10CPlayerGunFbbR13CStateManager -TakeDamage__10CPlayerGunFbbR13CStateManager: -/* 8003CBC8 00039B28 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8003CBCC 00039B2C 7C 08 02 A6 */ mflr r0 -/* 8003CBD0 00039B30 90 01 00 54 */ stw r0, 0x54(r1) -/* 8003CBD4 00039B34 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8003CBD8 00039B38 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8003CBDC 00039B3C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8003CBE0 00039B40 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8003CBE4 00039B44 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8003CBE8 00039B48 93 81 00 30 */ stw r28, 0x30(r1) -/* 8003CBEC 00039B4C 7C 7C 1B 78 */ mr r28, r3 -/* 8003CBF0 00039B50 7C DF 33 78 */ mr r31, r6 -/* 8003CBF4 00039B54 C0 23 03 98 */ lfs f1, 0x398(r3) -/* 8003CBF8 00039B58 7C 9D 23 78 */ mr r29, r4 -/* 8003CBFC 00039B5C C0 02 84 9C */ lfs f0, lbl_805AA1BC@sda21(r2) -/* 8003CC00 00039B60 7C BE 2B 78 */ mr r30, r5 -/* 8003CC04 00039B64 80 86 08 4C */ lwz r4, 0x84c(r6) -/* 8003CC08 00039B68 38 60 00 00 */ li r3, 0 -/* 8003CC0C 00039B6C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003CC10 00039B70 C3 E2 84 6C */ lfs f31, lbl_805AA18C@sda21(r2) -/* 8003CC14 00039B74 4C 41 13 82 */ cror 2, 1, 2 -/* 8003CC18 00039B78 40 82 00 C8 */ bne lbl_8003CCE0 -/* 8003CC1C 00039B7C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8003CC20 00039B80 40 82 00 C0 */ bne lbl_8003CCE0 -/* 8003CC24 00039B84 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 8003CC28 00039B88 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 8003CC2C 00039B8C 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003CC30 00039B90 41 82 00 B0 */ beq lbl_8003CCE0 -/* 8003CC34 00039B94 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 8003CC38 00039B98 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8003CC3C 00039B9C 40 82 00 A4 */ bne lbl_8003CCE0 -/* 8003CC40 00039BA0 C0 1C 03 84 */ lfs f0, 0x384(r28) -/* 8003CC44 00039BA4 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8003CC48 00039BA8 4C 40 13 82 */ cror 2, 0, 2 -/* 8003CC4C 00039BAC 40 82 00 94 */ bne lbl_8003CCE0 -/* 8003CC50 00039BB0 C0 22 84 A0 */ lfs f1, lbl_805AA1C0@sda21(r2) -/* 8003CC54 00039BB4 C0 02 84 98 */ lfs f0, lbl_805AA1B8@sda21(r2) -/* 8003CC58 00039BB8 D0 3C 03 84 */ stfs f1, 0x384(r28) -/* 8003CC5C 00039BBC D0 1C 03 64 */ stfs f0, 0x364(r28) -/* 8003CC60 00039BC0 80 1C 06 98 */ lwz r0, 0x698(r28) -/* 8003CC64 00039BC4 2C 00 00 01 */ cmpwi r0, 1 -/* 8003CC68 00039BC8 40 82 00 78 */ bne lbl_8003CCE0 -/* 8003CC6C 00039BCC 38 61 00 08 */ addi r3, r1, 8 -/* 8003CC70 00039BD0 38 84 00 34 */ addi r4, r4, 0x34 -/* 8003CC74 00039BD4 38 BC 03 DC */ addi r5, r28, 0x3dc -/* 8003CC78 00039BD8 48 2D 5D AD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 8003CC7C 00039BDC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8003CC80 00039BE0 C0 41 00 08 */ lfs f2, 8(r1) -/* 8003CC84 00039BE4 48 35 7F E9 */ bl atan2 -/* 8003CC88 00039BE8 FC 80 08 18 */ frsp f4, f1 -/* 8003CC8C 00039BEC C0 02 84 A4 */ lfs f0, lbl_805AA1C4@sda21(r2) -/* 8003CC90 00039BF0 3C 00 43 30 */ lis r0, 0x4330 -/* 8003CC94 00039BF4 C8 62 84 B0 */ lfd f3, lbl_805AA1D0@sda21(r2) -/* 8003CC98 00039BF8 90 01 00 20 */ stw r0, 0x20(r1) -/* 8003CC9C 00039BFC EC 44 00 32 */ fmuls f2, f4, f0 -/* 8003CCA0 00039C00 C0 22 84 A8 */ lfs f1, lbl_805AA1C8@sda21(r2) -/* 8003CCA4 00039C04 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003CCA8 00039C08 FC 40 10 1E */ fctiwz f2, f2 -/* 8003CCAC 00039C0C D8 41 00 18 */ stfd f2, 0x18(r1) -/* 8003CCB0 00039C10 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8003CCB4 00039C14 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8003CCB8 00039C18 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003CCBC 00039C1C C8 41 00 20 */ lfd f2, 0x20(r1) -/* 8003CCC0 00039C20 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8003CCC4 00039C24 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 -/* 8003CCC8 00039C28 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8003CCCC 00039C2C 40 80 00 08 */ bge lbl_8003CCD4 -/* 8003CCD0 00039C30 EC 42 08 2A */ fadds f2, f2, f1 -lbl_8003CCD4: -/* 8003CCD4 00039C34 C0 02 84 AC */ lfs f0, lbl_805AA1CC@sda21(r2) -/* 8003CCD8 00039C38 38 60 00 01 */ li r3, 1 -/* 8003CCDC 00039C3C EF E0 00 B2 */ fmuls f31, f0, f2 -lbl_8003CCE0: -/* 8003CCE0 00039C40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003CCE4 00039C44 40 82 00 0C */ bne lbl_8003CCF0 -/* 8003CCE8 00039C48 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8003CCEC 00039C4C 41 82 00 70 */ beq lbl_8003CD5C -lbl_8003CCF0: -/* 8003CCF0 00039C50 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8003CCF4 00039C54 80 63 00 00 */ lwz r3, 0(r3) -/* 8003CCF8 00039C58 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8003CCFC 00039C5C 2C 00 00 02 */ cmpwi r0, 2 -/* 8003CD00 00039C60 41 82 00 5C */ beq lbl_8003CD5C -/* 8003CD04 00039C64 FC 20 F8 90 */ fmr f1, f31 -/* 8003CD08 00039C68 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003CD0C 00039C6C 7F E5 FB 78 */ mr r5, r31 -/* 8003CD10 00039C70 7F A6 EB 78 */ mr r6, r29 -/* 8003CD14 00039C74 38 80 00 02 */ li r4, 2 -/* 8003CD18 00039C78 48 19 C4 A1 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb -/* 8003CD1C 00039C7C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8003CD20 00039C80 41 82 00 0C */ beq lbl_8003CD2C -/* 8003CD24 00039C84 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8003CD28 00039C88 40 82 00 10 */ bne lbl_8003CD38 -lbl_8003CD2C: -/* 8003CD2C 00039C8C 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003CD30 00039C90 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8003CD34 00039C94 41 82 00 28 */ beq lbl_8003CD5C -lbl_8003CD38: -/* 8003CD38 00039C98 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003CD3C 00039C9C FC 20 F8 90 */ fmr f1, f31 -/* 8003CD40 00039CA0 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 8003CD44 00039CA4 7F E4 FB 78 */ mr r4, r31 -/* 8003CD48 00039CA8 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8003CD4C 00039CAC 7F A5 EB 78 */ mr r5, r29 -/* 8003CD50 00039CB0 7C 00 00 34 */ cntlzw r0, r0 -/* 8003CD54 00039CB4 54 06 D9 7E */ srwi r6, r0, 5 -/* 8003CD58 00039CB8 48 0E 10 D9 */ bl EnterStruck__11CGrappleArmFR13CStateManagerf -lbl_8003CD5C: -/* 8003CD5C 00039CBC C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003CD60 00039CC0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8003CD64 00039CC4 D0 1C 03 98 */ stfs f0, 0x398(r28) -/* 8003CD68 00039CC8 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8003CD6C 00039CCC D0 1C 03 DC */ stfs f0, 0x3dc(r28) -/* 8003CD70 00039CD0 C0 03 00 04 */ lfs f0, 4(r3) -/* 8003CD74 00039CD4 D0 1C 03 E0 */ stfs f0, 0x3e0(r28) -/* 8003CD78 00039CD8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8003CD7C 00039CDC D0 1C 03 E4 */ stfs f0, 0x3e4(r28) -/* 8003CD80 00039CE0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8003CD84 00039CE4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8003CD88 00039CE8 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8003CD8C 00039CEC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8003CD90 00039CF0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8003CD94 00039CF4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8003CD98 00039CF8 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8003CD9C 00039CFC 7C 08 03 A6 */ mtlr r0 -/* 8003CDA0 00039D00 38 21 00 50 */ addi r1, r1, 0x50 -/* 8003CDA4 00039D04 4E 80 00 20 */ blr - -.global DamageRumble__10CPlayerGunFRC9CVector3fRC13CStateManager -DamageRumble__10CPlayerGunFRC9CVector3fRC13CStateManager: -/* 8003CDA8 00039D08 D0 23 03 98 */ stfs f1, 0x398(r3) -/* 8003CDAC 00039D0C C0 04 00 00 */ lfs f0, 0(r4) -/* 8003CDB0 00039D10 D0 03 03 DC */ stfs f0, 0x3dc(r3) -/* 8003CDB4 00039D14 C0 04 00 04 */ lfs f0, 4(r4) -/* 8003CDB8 00039D18 D0 03 03 E0 */ stfs f0, 0x3e0(r3) -/* 8003CDBC 00039D1C C0 04 00 08 */ lfs f0, 8(r4) -/* 8003CDC0 00039D20 D0 03 03 E4 */ stfs f0, 0x3e4(r3) -/* 8003CDC4 00039D24 4E 80 00 20 */ blr - -.global Update__Q210CPlayerGun12CMotionStateFbfR12CTransform4fR13CStateManager -Update__Q210CPlayerGun12CMotionStateFbfR12CTransform4fR13CStateManager: -/* 8003CDC8 00039D28 94 21 FD 80 */ stwu r1, -0x280(r1) -/* 8003CDCC 00039D2C 7C 08 02 A6 */ mflr r0 -/* 8003CDD0 00039D30 90 01 02 84 */ stw r0, 0x284(r1) -/* 8003CDD4 00039D34 DB E1 02 70 */ stfd f31, 0x270(r1) -/* 8003CDD8 00039D38 F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 -/* 8003CDDC 00039D3C 93 E1 02 6C */ stw r31, 0x26c(r1) -/* 8003CDE0 00039D40 93 C1 02 68 */ stw r30, 0x268(r1) -/* 8003CDE4 00039D44 93 A1 02 64 */ stw r29, 0x264(r1) -/* 8003CDE8 00039D48 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8003CDEC 00039D4C FF E0 08 90 */ fmr f31, f1 -/* 8003CDF0 00039D50 7C 7D 1B 78 */ mr r29, r3 -/* 8003CDF4 00039D54 7C BE 2B 78 */ mr r30, r5 -/* 8003CDF8 00039D58 7C DF 33 78 */ mr r31, r6 -/* 8003CDFC 00039D5C 41 82 00 18 */ beq lbl_8003CE14 -/* 8003CE00 00039D60 38 00 00 01 */ li r0, 1 -/* 8003CE04 00039D64 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003CE08 00039D68 90 1D 00 24 */ stw r0, 0x24(r29) -/* 8003CE0C 00039D6C D0 1D 00 08 */ stfs f0, 8(r29) -/* 8003CE10 00039D70 48 00 00 30 */ b lbl_8003CE40 -lbl_8003CE14: -/* 8003CE14 00039D74 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 8003CE18 00039D78 2C 00 00 00 */ cmpwi r0, 0 -/* 8003CE1C 00039D7C 41 82 00 24 */ beq lbl_8003CE40 -/* 8003CE20 00039D80 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8003CE24 00039D84 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8003CE28 00039D88 40 81 00 0C */ ble lbl_8003CE34 -/* 8003CE2C 00039D8C 38 00 00 02 */ li r0, 2 -/* 8003CE30 00039D90 90 1D 00 24 */ stw r0, 0x24(r29) -lbl_8003CE34: -/* 8003CE34 00039D94 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8003CE38 00039D98 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8003CE3C 00039D9C D0 1D 00 08 */ stfs f0, 8(r29) -lbl_8003CE40: -/* 8003CE40 00039DA0 88 1D 00 00 */ lbz r0, 0(r29) -/* 8003CE44 00039DA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8003CE48 00039DA8 41 82 00 94 */ beq lbl_8003CEDC -/* 8003CE4C 00039DAC 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 8003CE50 00039DB0 2C 00 00 02 */ cmpwi r0, 2 -/* 8003CE54 00039DB4 40 82 00 88 */ bne lbl_8003CEDC -/* 8003CE58 00039DB8 C0 82 84 7C */ lfs f4, lbl_805AA19C@sda21(r2) -/* 8003CE5C 00039DBC 38 61 01 CC */ addi r3, r1, 0x1cc -/* 8003CE60 00039DC0 C0 0D 82 20 */ lfs f0, lbl_805A6DE0@sda21(r13) -/* 8003CE64 00039DC4 38 81 00 0C */ addi r4, r1, 0xc -/* 8003CE68 00039DC8 C0 BD 00 0C */ lfs f5, 0xc(r29) -/* 8003CE6C 00039DCC EC 24 00 24 */ fdivs f1, f4, f0 -/* 8003CE70 00039DD0 C0 02 84 BC */ lfs f0, lbl_805AA1DC@sda21(r2) -/* 8003CE74 00039DD4 C0 42 84 78 */ lfs f2, lbl_805AA198@sda21(r2) -/* 8003CE78 00039DD8 C0 62 84 B8 */ lfs f3, lbl_805AA1D8@sda21(r2) -/* 8003CE7C 00039DDC EC A5 00 72 */ fmuls f5, f5, f1 -/* 8003CE80 00039DE0 EC 20 01 72 */ fmuls f1, f0, f5 -/* 8003CE84 00039DE4 EC 05 20 28 */ fsubs f0, f5, f4 -/* 8003CE88 00039DE8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8003CE8C 00039DEC EC 02 00 32 */ fmuls f0, f2, f0 -/* 8003CE90 00039DF0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8003CE94 00039DF4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8003CE98 00039DF8 48 2D 69 79 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8003CE9C 00039DFC 38 61 02 2C */ addi r3, r1, 0x22c -/* 8003CEA0 00039E00 38 81 01 CC */ addi r4, r1, 0x1cc -/* 8003CEA4 00039E04 48 2D 5C D1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8003CEA8 00039E08 C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8003CEAC 00039E0C 7F C4 F3 78 */ mr r4, r30 -/* 8003CEB0 00039E10 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003CEB4 00039E14 38 61 01 9C */ addi r3, r1, 0x19c -/* 8003CEB8 00039E18 D0 21 02 48 */ stfs f1, 0x248(r1) -/* 8003CEBC 00039E1C 38 A1 02 2C */ addi r5, r1, 0x22c -/* 8003CEC0 00039E20 D0 01 02 38 */ stfs f0, 0x238(r1) -/* 8003CEC4 00039E24 D0 01 02 58 */ stfs f0, 0x258(r1) -/* 8003CEC8 00039E28 48 2D 5A 89 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8003CECC 00039E2C 7F C3 F3 78 */ mr r3, r30 -/* 8003CED0 00039E30 38 81 01 9C */ addi r4, r1, 0x19c -/* 8003CED4 00039E34 48 2D 5C 6D */ bl __as__12CTransform4fFRC12CTransform4f -/* 8003CED8 00039E38 48 00 02 44 */ b lbl_8003D11C -lbl_8003CEDC: -/* 8003CEDC 00039E3C 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 8003CEE0 00039E40 2C 00 00 01 */ cmpwi r0, 1 -/* 8003CEE4 00039E44 41 82 00 0C */ beq lbl_8003CEF0 -/* 8003CEE8 00039E48 2C 00 00 02 */ cmpwi r0, 2 -/* 8003CEEC 00039E4C 40 82 02 00 */ bne lbl_8003D0EC -lbl_8003CEF0: -/* 8003CEF0 00039E50 C0 5D 00 14 */ lfs f2, 0x14(r29) -/* 8003CEF4 00039E54 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 8003CEF8 00039E58 C8 02 84 C0 */ lfd f0, lbl_805AA1E0@sda21(r2) -/* 8003CEFC 00039E5C EC 22 08 28 */ fsubs f1, f2, f1 -/* 8003CF00 00039E60 FC 20 0A 10 */ fabs f1, f1 -/* 8003CF04 00039E64 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003CF08 00039E68 40 80 00 C8 */ bge lbl_8003CFD0 -/* 8003CF0C 00039E6C C0 3D 00 1C */ lfs f1, 0x1c(r29) -/* 8003CF10 00039E70 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003CF14 00039E74 D0 3D 00 18 */ stfs f1, 0x18(r29) -/* 8003CF18 00039E78 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 8003CF1C 00039E7C 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 8003CF20 00039E80 2C 00 00 01 */ cmpwi r0, 1 -/* 8003CF24 00039E84 40 82 00 88 */ bne lbl_8003CFAC -/* 8003CF28 00039E88 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8003CF2C 00039E8C 48 2D 55 F5 */ bl Next__9CRandom16Fv -/* 8003CF30 00039E90 3C 80 88 89 */ lis r4, 0x88888889@ha -/* 8003CF34 00039E94 38 04 88 89 */ addi r0, r4, 0x88888889@l -/* 8003CF38 00039E98 7C 00 18 96 */ mulhw r0, r0, r3 -/* 8003CF3C 00039E9C 7C 00 1A 14 */ add r0, r0, r3 -/* 8003CF40 00039EA0 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8003CF44 00039EA4 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8003CF48 00039EA8 7C 00 22 14 */ add r0, r0, r4 -/* 8003CF4C 00039EAC 1C 00 00 0F */ mulli r0, r0, 0xf -/* 8003CF50 00039EB0 7C 00 18 50 */ subf r0, r0, r3 -/* 8003CF54 00039EB4 B0 01 00 08 */ sth r0, 8(r1) -/* 8003CF58 00039EB8 E0 01 D0 08 */ psq_l f0, 8(r1), 1, qr5 -/* 8003CF5C 00039EBC D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 8003CF60 00039EC0 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8003CF64 00039EC4 48 2D 55 BD */ bl Next__9CRandom16Fv -/* 8003CF68 00039EC8 3C 80 51 EC */ lis r4, 0x51EB851F@ha -/* 8003CF6C 00039ECC 38 04 85 1F */ addi r0, r4, 0x51EB851F@l -/* 8003CF70 00039ED0 7C 00 18 96 */ mulhw r0, r0, r3 -/* 8003CF74 00039ED4 7C 00 2E 70 */ srawi r0, r0, 5 -/* 8003CF78 00039ED8 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8003CF7C 00039EDC 7C 00 22 14 */ add r0, r0, r4 -/* 8003CF80 00039EE0 1C 00 00 64 */ mulli r0, r0, 0x64 -/* 8003CF84 00039EE4 7C 00 18 50 */ subf r0, r0, r3 -/* 8003CF88 00039EE8 2C 00 00 2D */ cmpwi r0, 0x2d -/* 8003CF8C 00039EEC 40 81 00 0C */ ble lbl_8003CF98 -/* 8003CF90 00039EF0 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 8003CF94 00039EF4 48 00 00 08 */ b lbl_8003CF9C -lbl_8003CF98: -/* 8003CF98 00039EF8 C0 22 84 C8 */ lfs f1, lbl_805AA1E8@sda21(r2) -lbl_8003CF9C: -/* 8003CF9C 00039EFC C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 8003CFA0 00039F00 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8003CFA4 00039F04 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 8003CFA8 00039F08 48 00 00 3C */ b lbl_8003CFE4 -lbl_8003CFAC: -/* 8003CFAC 00039F0C D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 8003CFB0 00039F10 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 8003CFB4 00039F14 C0 3D 00 1C */ lfs f1, 0x1c(r29) -/* 8003CFB8 00039F18 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 8003CFBC 00039F1C 40 82 00 28 */ bne lbl_8003CFE4 -/* 8003CFC0 00039F20 D0 3D 00 10 */ stfs f1, 0x10(r29) -/* 8003CFC4 00039F24 38 00 00 00 */ li r0, 0 -/* 8003CFC8 00039F28 90 1D 00 24 */ stw r0, 0x24(r29) -/* 8003CFCC 00039F2C 48 00 00 18 */ b lbl_8003CFE4 -lbl_8003CFD0: -/* 8003CFD0 00039F30 C0 3D 00 18 */ lfs f1, 0x18(r29) -/* 8003CFD4 00039F34 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 8003CFD8 00039F38 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8003CFDC 00039F3C EC 02 08 3A */ fmadds f0, f2, f0, f1 -/* 8003CFE0 00039F40 D0 1D 00 10 */ stfs f0, 0x10(r29) -lbl_8003CFE4: -/* 8003CFE4 00039F44 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003CFE8 00039F48 38 61 00 20 */ addi r3, r1, 0x20 -/* 8003CFEC 00039F4C C0 5D 00 14 */ lfs f2, 0x14(r29) -/* 8003CFF0 00039F50 38 81 00 14 */ addi r4, r1, 0x14 -/* 8003CFF4 00039F54 C0 22 84 9C */ lfs f1, lbl_805AA1BC@sda21(r2) -/* 8003CFF8 00039F58 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8003CFFC 00039F5C C0 62 84 CC */ lfs f3, lbl_805AA1EC@sda21(r2) -/* 8003D000 00039F60 EC 81 07 F2 */ fmuls f4, f1, f31 -/* 8003D004 00039F64 C0 22 84 B8 */ lfs f1, lbl_805AA1D8@sda21(r2) -/* 8003D008 00039F68 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8003D00C 00039F6C EC 04 10 3A */ fmadds f0, f4, f0, f2 -/* 8003D010 00039F70 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 8003D014 00039F74 C0 1D 00 10 */ lfs f0, 0x10(r29) -/* 8003D018 00039F78 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8003D01C 00039F7C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8003D020 00039F80 C0 5E 00 24 */ lfs f2, 0x24(r30) -/* 8003D024 00039F84 C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 8003D028 00039F88 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8003D02C 00039F8C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8003D030 00039F90 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8003D034 00039F94 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8003D038 00039F98 48 2D 6D 99 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8003D03C 00039F9C 7C 64 1B 78 */ mr r4, r3 -/* 8003D040 00039FA0 38 61 00 2C */ addi r3, r1, 0x2c -/* 8003D044 00039FA4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8003D048 00039FA8 48 2D 42 AD */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 8003D04C 00039FAC C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 8003D050 00039FB0 7F C4 F3 78 */ mr r4, r30 -/* 8003D054 00039FB4 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 8003D058 00039FB8 38 61 01 0C */ addi r3, r1, 0x10c -/* 8003D05C 00039FBC C0 21 00 34 */ lfs f1, 0x34(r1) -/* 8003D060 00039FC0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8003D064 00039FC4 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 8003D068 00039FC8 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8003D06C 00039FCC D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8003D070 00039FD0 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8003D074 00039FD4 48 2D 5B CD */ bl GetRotation__12CTransform4fCFv -/* 8003D078 00039FD8 38 61 01 3C */ addi r3, r1, 0x13c -/* 8003D07C 00039FDC 38 81 00 3C */ addi r4, r1, 0x3c -/* 8003D080 00039FE0 48 2D 4F 39 */ bl BuildTransform4f__11CQuaternionCFv -/* 8003D084 00039FE4 38 61 01 6C */ addi r3, r1, 0x16c -/* 8003D088 00039FE8 38 81 01 3C */ addi r4, r1, 0x13c -/* 8003D08C 00039FEC 38 A1 01 0C */ addi r5, r1, 0x10c -/* 8003D090 00039FF0 48 2D 58 C1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8003D094 00039FF4 38 61 01 FC */ addi r3, r1, 0x1fc -/* 8003D098 00039FF8 38 81 01 6C */ addi r4, r1, 0x16c -/* 8003D09C 00039FFC 48 2D 5A D9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8003D0A0 0003A000 C0 9E 00 2C */ lfs f4, 0x2c(r30) -/* 8003D0A4 0003A004 38 61 00 AC */ addi r3, r1, 0xac -/* 8003D0A8 0003A008 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003D0AC 0003A00C C0 5E 00 1C */ lfs f2, 0x1c(r30) -/* 8003D0B0 0003A010 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8003D0B4 0003A014 FC 60 08 90 */ fmr f3, f1 -/* 8003D0B8 0003A018 D0 01 02 08 */ stfs f0, 0x208(r1) -/* 8003D0BC 0003A01C D0 41 02 18 */ stfs f2, 0x218(r1) -/* 8003D0C0 0003A020 D0 81 02 28 */ stfs f4, 0x228(r1) -/* 8003D0C4 0003A024 C0 5D 00 0C */ lfs f2, 0xc(r29) -/* 8003D0C8 0003A028 48 2D 60 C1 */ bl Translate__12CTransform4fFfff -/* 8003D0CC 0003A02C 38 61 00 DC */ addi r3, r1, 0xdc -/* 8003D0D0 0003A030 38 81 01 FC */ addi r4, r1, 0x1fc -/* 8003D0D4 0003A034 38 A1 00 AC */ addi r5, r1, 0xac -/* 8003D0D8 0003A038 48 2D 58 79 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8003D0DC 0003A03C 7F C3 F3 78 */ mr r3, r30 -/* 8003D0E0 0003A040 38 81 00 DC */ addi r4, r1, 0xdc -/* 8003D0E4 0003A044 48 2D 5A 5D */ bl __as__12CTransform4fFRC12CTransform4f -/* 8003D0E8 0003A048 48 00 00 34 */ b lbl_8003D11C -lbl_8003D0EC: -/* 8003D0EC 0003A04C C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003D0F0 0003A050 38 61 00 7C */ addi r3, r1, 0x7c -/* 8003D0F4 0003A054 C0 5D 00 0C */ lfs f2, 0xc(r29) -/* 8003D0F8 0003A058 FC 60 08 90 */ fmr f3, f1 -/* 8003D0FC 0003A05C 48 2D 60 8D */ bl Translate__12CTransform4fFfff -/* 8003D100 0003A060 7F C4 F3 78 */ mr r4, r30 -/* 8003D104 0003A064 38 61 00 4C */ addi r3, r1, 0x4c -/* 8003D108 0003A068 38 A1 00 7C */ addi r5, r1, 0x7c -/* 8003D10C 0003A06C 48 2D 58 45 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8003D110 0003A070 7F C3 F3 78 */ mr r3, r30 -/* 8003D114 0003A074 38 81 00 4C */ addi r4, r1, 0x4c -/* 8003D118 0003A078 48 2D 5A 29 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_8003D11C: -/* 8003D11C 0003A07C 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 8003D120 0003A080 2C 00 00 03 */ cmpwi r0, 3 -/* 8003D124 0003A084 41 82 00 54 */ beq lbl_8003D178 -/* 8003D128 0003A088 40 80 00 7C */ bge lbl_8003D1A4 -/* 8003D12C 0003A08C 2C 00 00 02 */ cmpwi r0, 2 -/* 8003D130 0003A090 40 80 00 08 */ bge lbl_8003D138 -/* 8003D134 0003A094 48 00 00 70 */ b lbl_8003D1A4 -lbl_8003D138: -/* 8003D138 0003A098 C0 22 84 D0 */ lfs f1, lbl_805AA1F0@sda21(r2) -/* 8003D13C 0003A09C C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 8003D140 0003A0A0 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 8003D144 0003A0A4 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8003D148 0003A0A8 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 8003D14C 0003A0AC C0 2D 82 20 */ lfs f1, lbl_805A6DE0@sda21(r13) -/* 8003D150 0003A0B0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8003D154 0003A0B4 40 81 00 50 */ ble lbl_8003D1A4 -/* 8003D158 0003A0B8 D0 3D 00 0C */ stfs f1, 0xc(r29) -/* 8003D15C 0003A0BC 38 00 00 01 */ li r0, 1 -/* 8003D160 0003A0C0 38 60 00 00 */ li r3, 0 -/* 8003D164 0003A0C4 90 1D 00 20 */ stw r0, 0x20(r29) -/* 8003D168 0003A0C8 88 1D 00 00 */ lbz r0, 0(r29) -/* 8003D16C 0003A0CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003D170 0003A0D0 98 1D 00 00 */ stb r0, 0(r29) -/* 8003D174 0003A0D4 48 00 00 30 */ b lbl_8003D1A4 -lbl_8003D178: -/* 8003D178 0003A0D8 C0 42 84 D0 */ lfs f2, lbl_805AA1F0@sda21(r2) -/* 8003D17C 0003A0DC C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8003D180 0003A0E0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003D184 0003A0E4 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 -/* 8003D188 0003A0E8 D0 3D 00 0C */ stfs f1, 0xc(r29) -/* 8003D18C 0003A0EC C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8003D190 0003A0F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003D194 0003A0F4 40 80 00 10 */ bge lbl_8003D1A4 -/* 8003D198 0003A0F8 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8003D19C 0003A0FC 38 00 00 00 */ li r0, 0 -/* 8003D1A0 0003A100 90 1D 00 20 */ stw r0, 0x20(r29) -lbl_8003D1A4: -/* 8003D1A4 0003A104 88 7D 00 00 */ lbz r3, 0(r29) -/* 8003D1A8 0003A108 54 60 CF FE */ rlwinm r0, r3, 0x19, 0x1f, 0x1f -/* 8003D1AC 0003A10C 28 00 00 01 */ cmplwi r0, 1 -/* 8003D1B0 0003A110 41 82 00 34 */ beq lbl_8003D1E4 -/* 8003D1B4 0003A114 C0 3D 00 04 */ lfs f1, 4(r29) -/* 8003D1B8 0003A118 C0 02 84 D4 */ lfs f0, lbl_805AA1F4@sda21(r2) -/* 8003D1BC 0003A11C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003D1C0 0003A120 40 80 00 10 */ bge lbl_8003D1D0 -/* 8003D1C4 0003A124 EC 01 F8 2A */ fadds f0, f1, f31 -/* 8003D1C8 0003A128 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8003D1CC 0003A12C 48 00 00 18 */ b lbl_8003D1E4 -lbl_8003D1D0: -/* 8003D1D0 0003A130 38 00 00 01 */ li r0, 1 -/* 8003D1D4 0003A134 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003D1D8 0003A138 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 8003D1DC 0003A13C 98 7D 00 00 */ stb r3, 0(r29) -/* 8003D1E0 0003A140 D0 1D 00 04 */ stfs f0, 4(r29) -lbl_8003D1E4: -/* 8003D1E4 0003A144 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 -/* 8003D1E8 0003A148 80 01 02 84 */ lwz r0, 0x284(r1) -/* 8003D1EC 0003A14C CB E1 02 70 */ lfd f31, 0x270(r1) -/* 8003D1F0 0003A150 83 E1 02 6C */ lwz r31, 0x26c(r1) -/* 8003D1F4 0003A154 83 C1 02 68 */ lwz r30, 0x268(r1) -/* 8003D1F8 0003A158 83 A1 02 64 */ lwz r29, 0x264(r1) -/* 8003D1FC 0003A15C 7C 08 03 A6 */ mtlr r0 -/* 8003D200 0003A160 38 21 02 80 */ addi r1, r1, 0x280 -/* 8003D204 0003A164 4E 80 00 20 */ blr - -.global UpdateGunIdle__10CPlayerGunFbffR13CStateManager -UpdateGunIdle__10CPlayerGunFbffR13CStateManager: -/* 8003D208 0003A168 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8003D20C 0003A16C 7C 08 02 A6 */ mflr r0 -/* 8003D210 0003A170 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8003D214 0003A174 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8003D218 0003A178 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8003D21C 0003A17C DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8003D220 0003A180 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8003D224 0003A184 BE 21 00 44 */ stmw r17, 0x44(r1) -/* 8003D228 0003A188 7C BE 2B 78 */ mr r30, r5 -/* 8003D22C 0003A18C FF C0 08 90 */ fmr f30, f1 -/* 8003D230 0003A190 83 65 08 4C */ lwz r27, 0x84c(r5) -/* 8003D234 0003A194 FF E0 10 90 */ fmr f31, f2 -/* 8003D238 0003A198 7C 7C 1B 78 */ mr r28, r3 -/* 8003D23C 0003A19C 7C 9D 23 78 */ mr r29, r4 -/* 8003D240 0003A1A0 88 1B 03 DC */ lbz r0, 0x3dc(r27) -/* 8003D244 0003A1A4 28 00 00 00 */ cmplwi r0, 0 -/* 8003D248 0003A1A8 41 82 00 EC */ beq lbl_8003D334 -/* 8003D24C 0003A1AC 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 8003D250 0003A1B0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8003D254 0003A1B4 40 82 00 E0 */ bne lbl_8003D334 -/* 8003D258 0003A1B8 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 8003D25C 0003A1BC 88 03 03 B2 */ lbz r0, 0x3b2(r3) -/* 8003D260 0003A1C0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8003D264 0003A1C4 40 82 00 D0 */ bne lbl_8003D334 -/* 8003D268 0003A1C8 80 1C 03 A4 */ lwz r0, 0x3a4(r28) -/* 8003D26C 0003A1CC 2C 00 00 03 */ cmpwi r0, 3 -/* 8003D270 0003A1D0 41 82 00 C4 */ beq lbl_8003D334 -/* 8003D274 0003A1D4 80 1B 04 98 */ lwz r0, 0x498(r27) -/* 8003D278 0003A1D8 2C 00 00 02 */ cmpwi r0, 2 -/* 8003D27C 0003A1DC 40 82 00 B8 */ bne lbl_8003D334 -/* 8003D280 0003A1E0 88 7C 08 34 */ lbz r3, 0x834(r28) -/* 8003D284 0003A1E4 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 8003D288 0003A1E8 40 82 00 AC */ bne lbl_8003D334 -/* 8003D28C 0003A1EC 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 8003D290 0003A1F0 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c -/* 8003D294 0003A1F4 2C 00 00 08 */ cmpwi r0, 8 -/* 8003D298 0003A1F8 41 82 06 7C */ beq lbl_8003D914 -/* 8003D29C 0003A1FC 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003D2A0 0003A200 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8003D2A4 0003A204 28 00 00 01 */ cmplwi r0, 1 -/* 8003D2A8 0003A208 41 82 00 68 */ beq lbl_8003D310 -/* 8003D2AC 0003A20C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8003D2B0 0003A210 40 82 00 60 */ bne lbl_8003D310 -/* 8003D2B4 0003A214 C0 3C 03 88 */ lfs f1, 0x388(r28) -/* 8003D2B8 0003A218 C0 02 84 D8 */ lfs f0, lbl_805AA1F8@sda21(r2) -/* 8003D2BC 0003A21C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003D2C0 0003A220 40 80 00 0C */ bge lbl_8003D2CC -/* 8003D2C4 0003A224 EC 01 F8 2A */ fadds f0, f1, f31 -/* 8003D2C8 0003A228 D0 1C 03 88 */ stfs f0, 0x388(r28) -lbl_8003D2CC: -/* 8003D2CC 0003A22C C0 3C 03 88 */ lfs f1, 0x388(r28) -/* 8003D2D0 0003A230 C0 02 84 D8 */ lfs f0, lbl_805AA1F8@sda21(r2) -/* 8003D2D4 0003A234 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003D2D8 0003A238 4C 41 13 82 */ cror 2, 1, 2 -/* 8003D2DC 0003A23C 40 82 06 38 */ bne lbl_8003D914 -/* 8003D2E0 0003A240 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 8003D2E4 0003A244 88 03 03 B2 */ lbz r0, 0x3b2(r3) -/* 8003D2E8 0003A248 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8003D2EC 0003A24C 40 82 06 28 */ bne lbl_8003D914 -/* 8003D2F0 0003A250 7F 83 E3 78 */ mr r3, r28 -/* 8003D2F4 0003A254 7F C4 F3 78 */ mr r4, r30 -/* 8003D2F8 0003A258 4B FF EB C5 */ bl EnterFreeLook__10CPlayerGunFR13CStateManager -/* 8003D2FC 0003A25C 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003D300 0003A260 38 60 00 01 */ li r3, 1 -/* 8003D304 0003A264 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8003D308 0003A268 98 1C 08 33 */ stb r0, 0x833(r28) -/* 8003D30C 0003A26C 48 00 06 08 */ b lbl_8003D914 -lbl_8003D310: -/* 8003D310 0003A270 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003D314 0003A274 D0 1C 03 88 */ stfs f0, 0x388(r28) -/* 8003D318 0003A278 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003D31C 0003A27C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8003D320 0003A280 41 82 05 F4 */ beq lbl_8003D914 -/* 8003D324 0003A284 7F 83 E3 78 */ mr r3, r28 -/* 8003D328 0003A288 7F C4 F3 78 */ mr r4, r30 -/* 8003D32C 0003A28C 48 00 06 0D */ bl ResetIdle__10CPlayerGunFR13CStateManager -/* 8003D330 0003A290 48 00 05 E4 */ b lbl_8003D914 -lbl_8003D334: -/* 8003D334 0003A294 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003D338 0003A298 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8003D33C 0003A29C 41 82 00 4C */ beq lbl_8003D388 -/* 8003D340 0003A2A0 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 8003D344 0003A2A4 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 8003D348 0003A2A8 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003D34C 0003A2AC 41 82 00 2C */ beq lbl_8003D378 -/* 8003D350 0003A2B0 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003D354 0003A2B4 7F C4 F3 78 */ mr r4, r30 -/* 8003D358 0003A2B8 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003D35C 0003A2BC 54 05 FF FE */ rlwinm r5, r0, 0x1f, 0x1f, 0x1f -/* 8003D360 0003A2C0 48 19 BD 21 */ bl ReturnToDefault__10CGunMotionFR13CStateManager -/* 8003D364 0003A2C4 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 8003D368 0003A2C8 7F C4 F3 78 */ mr r4, r30 -/* 8003D36C 0003A2CC C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003D370 0003A2D0 38 A0 00 00 */ li r5, 0 -/* 8003D374 0003A2D4 48 0E 0B B1 */ bl ReturnToDefault__11CGrappleArmFR13CStateManagerf -lbl_8003D378: -/* 8003D378 0003A2D8 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003D37C 0003A2DC 38 60 00 00 */ li r3, 0 -/* 8003D380 0003A2E0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8003D384 0003A2E4 98 1C 08 33 */ stb r0, 0x833(r28) -lbl_8003D388: -/* 8003D388 0003A2E8 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003D38C 0003A2EC C0 02 84 DC */ lfs f0, lbl_805AA1FC@sda21(r2) -/* 8003D390 0003A2F0 D0 3C 03 88 */ stfs f1, 0x388(r28) -/* 8003D394 0003A2F4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8003D398 0003A2F8 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 8003D39C 0003A2FC 80 63 00 00 */ lwz r3, 0(r3) -/* 8003D3A0 0003A300 7F 40 00 26 */ mfcr r26 -/* 8003D3A4 0003A304 80 9C 02 F4 */ lwz r4, 0x2f4(r28) -/* 8003D3A8 0003A308 3B 20 00 01 */ li r25, 1 -/* 8003D3AC 0003A30C 80 1B 02 F8 */ lwz r0, 0x2f8(r27) -/* 8003D3B0 0003A310 7F 38 CB 78 */ mr r24, r25 -/* 8003D3B4 0003A314 54 85 07 BE */ clrlwi r5, r4, 0x1e -/* 8003D3B8 0003A318 7F 37 CB 78 */ mr r23, r25 -/* 8003D3BC 0003A31C 7C 85 00 D0 */ neg r4, r5 -/* 8003D3C0 0003A320 2C 00 00 01 */ cmpwi r0, 1 -/* 8003D3C4 0003A324 7C 92 2B 78 */ or r18, r4, r5 -/* 8003D3C8 0003A328 7F 36 CB 78 */ mr r22, r25 -/* 8003D3CC 0003A32C 7F 35 CB 78 */ mr r21, r25 -/* 8003D3D0 0003A330 7F 34 CB 78 */ mr r20, r25 -/* 8003D3D4 0003A334 7F 33 CB 78 */ mr r19, r25 -/* 8003D3D8 0003A338 7F 20 CB 78 */ mr r0, r25 -/* 8003D3DC 0003A33C 7F 24 CB 78 */ mr r4, r25 -/* 8003D3E0 0003A340 7F 25 CB 78 */ mr r5, r25 -/* 8003D3E4 0003A344 7F 26 CB 78 */ mr r6, r25 -/* 8003D3E8 0003A348 7F 27 CB 78 */ mr r7, r25 -/* 8003D3EC 0003A34C 7F 28 CB 78 */ mr r8, r25 -/* 8003D3F0 0003A350 7F 29 CB 78 */ mr r9, r25 -/* 8003D3F4 0003A354 7F 2A CB 78 */ mr r10, r25 -/* 8003D3F8 0003A358 7F 2B CB 78 */ mr r11, r25 -/* 8003D3FC 0003A35C 7F 2C CB 78 */ mr r12, r25 -/* 8003D400 0003A360 7F 31 CB 78 */ mr r17, r25 -/* 8003D404 0003A364 57 5F 17 FE */ rlwinm r31, r26, 2, 0x1f, 0x1f -/* 8003D408 0003A368 56 5A 0F FE */ srwi r26, r18, 0x1f -/* 8003D40C 0003A36C 41 82 00 28 */ beq lbl_8003D434 -/* 8003D410 0003A370 82 5B 02 B0 */ lwz r18, 0x2b0(r27) -/* 8003D414 0003A374 2C 12 00 02 */ cmpwi r18, 2 -/* 8003D418 0003A378 40 82 00 0C */ bne lbl_8003D424 -/* 8003D41C 0003A37C 82 5B 02 AC */ lwz r18, 0x2ac(r27) -/* 8003D420 0003A380 48 00 00 08 */ b lbl_8003D428 -lbl_8003D424: -/* 8003D424 0003A384 3A 40 00 04 */ li r18, 4 -lbl_8003D428: -/* 8003D428 0003A388 2C 12 00 04 */ cmpwi r18, 4 -/* 8003D42C 0003A38C 41 82 00 08 */ beq lbl_8003D434 -/* 8003D430 0003A390 3A 20 00 00 */ li r17, 0 -lbl_8003D434: -/* 8003D434 0003A394 56 32 06 3F */ clrlwi. r18, r17, 0x18 -/* 8003D438 0003A398 40 82 00 14 */ bne lbl_8003D44C -/* 8003D43C 0003A39C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8003D440 0003A3A0 2C 03 00 02 */ cmpwi r3, 2 -/* 8003D444 0003A3A4 41 82 00 08 */ beq lbl_8003D44C -/* 8003D448 0003A3A8 39 80 00 00 */ li r12, 0 -lbl_8003D44C: -/* 8003D44C 0003A3AC 55 83 06 3F */ clrlwi. r3, r12, 0x18 -/* 8003D450 0003A3B0 40 82 00 10 */ bne lbl_8003D460 -/* 8003D454 0003A3B4 28 1A 00 00 */ cmplwi r26, 0 -/* 8003D458 0003A3B8 40 82 00 08 */ bne lbl_8003D460 -/* 8003D45C 0003A3BC 39 60 00 00 */ li r11, 0 -lbl_8003D460: -/* 8003D460 0003A3C0 55 63 06 3F */ clrlwi. r3, r11, 0x18 -/* 8003D464 0003A3C4 40 82 00 14 */ bne lbl_8003D478 -/* 8003D468 0003A3C8 80 7C 03 2C */ lwz r3, 0x32c(r28) -/* 8003D46C 0003A3CC 2C 03 00 00 */ cmpwi r3, 0 -/* 8003D470 0003A3D0 40 82 00 08 */ bne lbl_8003D478 -/* 8003D474 0003A3D4 39 40 00 00 */ li r10, 0 -lbl_8003D478: -/* 8003D478 0003A3D8 55 43 06 3F */ clrlwi. r3, r10, 0x18 -/* 8003D47C 0003A3DC 40 82 00 14 */ bne lbl_8003D490 -/* 8003D480 0003A3E0 88 7C 08 32 */ lbz r3, 0x832(r28) -/* 8003D484 0003A3E4 54 63 F7 FF */ rlwinm. r3, r3, 0x1e, 0x1f, 0x1f -/* 8003D488 0003A3E8 40 82 00 08 */ bne lbl_8003D490 -/* 8003D48C 0003A3EC 39 20 00 00 */ li r9, 0 -lbl_8003D490: -/* 8003D490 0003A3F0 55 23 06 3F */ clrlwi. r3, r9, 0x18 -/* 8003D494 0003A3F4 40 82 00 18 */ bne lbl_8003D4AC -/* 8003D498 0003A3F8 80 7C 02 F8 */ lwz r3, 0x2f8(r28) -/* 8003D49C 0003A3FC 54 63 07 38 */ rlwinm r3, r3, 0, 0x1c, 0x1c -/* 8003D4A0 0003A400 2C 03 00 08 */ cmpwi r3, 8 -/* 8003D4A4 0003A404 41 82 00 08 */ beq lbl_8003D4AC -/* 8003D4A8 0003A408 39 00 00 00 */ li r8, 0 -lbl_8003D4AC: -/* 8003D4AC 0003A40C 55 03 06 3F */ clrlwi. r3, r8, 0x18 -/* 8003D4B0 0003A410 40 82 00 18 */ bne lbl_8003D4C8 -/* 8003D4B4 0003A414 C0 3C 03 64 */ lfs f1, 0x364(r28) -/* 8003D4B8 0003A418 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003D4BC 0003A41C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003D4C0 0003A420 41 81 00 08 */ bgt lbl_8003D4C8 -/* 8003D4C4 0003A424 38 E0 00 00 */ li r7, 0 -lbl_8003D4C8: -/* 8003D4C8 0003A428 54 E3 06 3F */ clrlwi. r3, r7, 0x18 -/* 8003D4CC 0003A42C 40 82 00 14 */ bne lbl_8003D4E0 -/* 8003D4D0 0003A430 80 7B 02 58 */ lwz r3, 0x258(r27) -/* 8003D4D4 0003A434 2C 03 00 00 */ cmpwi r3, 0 -/* 8003D4D8 0003A438 40 82 00 08 */ bne lbl_8003D4E0 -/* 8003D4DC 0003A43C 38 C0 00 00 */ li r6, 0 -lbl_8003D4E0: -/* 8003D4E0 0003A440 54 C3 06 3F */ clrlwi. r3, r6, 0x18 -/* 8003D4E4 0003A444 40 82 00 14 */ bne lbl_8003D4F8 -/* 8003D4E8 0003A448 88 7B 03 DC */ lbz r3, 0x3dc(r27) -/* 8003D4EC 0003A44C 28 03 00 00 */ cmplwi r3, 0 -/* 8003D4F0 0003A450 40 82 00 08 */ bne lbl_8003D4F8 -/* 8003D4F4 0003A454 38 A0 00 00 */ li r5, 0 -lbl_8003D4F8: -/* 8003D4F8 0003A458 54 A3 06 3F */ clrlwi. r3, r5, 0x18 -/* 8003D4FC 0003A45C 40 82 00 14 */ bne lbl_8003D510 -/* 8003D500 0003A460 88 7B 03 DE */ lbz r3, 0x3de(r27) -/* 8003D504 0003A464 28 03 00 00 */ cmplwi r3, 0 -/* 8003D508 0003A468 40 82 00 08 */ bne lbl_8003D510 -/* 8003D50C 0003A46C 38 80 00 00 */ li r4, 0 -lbl_8003D510: -/* 8003D510 0003A470 54 83 06 3F */ clrlwi. r3, r4, 0x18 -/* 8003D514 0003A474 40 82 00 14 */ bne lbl_8003D528 -/* 8003D518 0003A478 80 7B 03 04 */ lwz r3, 0x304(r27) -/* 8003D51C 0003A47C 2C 03 00 00 */ cmpwi r3, 0 -/* 8003D520 0003A480 40 82 00 08 */ bne lbl_8003D528 -/* 8003D524 0003A484 38 00 00 00 */ li r0, 0 -lbl_8003D528: -/* 8003D528 0003A488 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8003D52C 0003A48C 40 82 00 30 */ bne lbl_8003D55C -/* 8003D530 0003A490 7F 64 DB 78 */ mr r4, r27 -/* 8003D534 0003A494 38 61 00 28 */ addi r3, r1, 0x28 -/* 8003D538 0003A498 48 0D D6 6D */ bl GetAngularVelocityOR__13CPhysicsActorCFv -/* 8003D53C 0003A49C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8003D540 0003A4A0 4B FD DF D1 */ bl GetAngle__10CAxisAngleCFv -/* 8003D544 0003A4A4 FC 20 0A 10 */ fabs f1, f1 -/* 8003D548 0003A4A8 C0 02 84 90 */ lfs f0, lbl_805AA1B0@sda21(r2) -/* 8003D54C 0003A4AC FC 20 08 18 */ frsp f1, f1 -/* 8003D550 0003A4B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003D554 0003A4B4 41 81 00 08 */ bgt lbl_8003D55C -/* 8003D558 0003A4B8 3A 60 00 00 */ li r19, 0 -lbl_8003D55C: -/* 8003D55C 0003A4BC 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 8003D560 0003A4C0 40 82 00 10 */ bne lbl_8003D570 -/* 8003D564 0003A4C4 28 1F 00 00 */ cmplwi r31, 0 -/* 8003D568 0003A4C8 40 82 00 08 */ bne lbl_8003D570 -/* 8003D56C 0003A4CC 3A 80 00 00 */ li r20, 0 -lbl_8003D570: -/* 8003D570 0003A4D0 56 80 06 3F */ clrlwi. r0, r20, 0x18 -/* 8003D574 0003A4D4 40 82 00 18 */ bne lbl_8003D58C -/* 8003D578 0003A4D8 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8003D57C 0003A4DC 4B FC D3 85 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 8003D580 0003A4E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003D584 0003A4E4 40 82 00 08 */ bne lbl_8003D58C -/* 8003D588 0003A4E8 3A A0 00 00 */ li r21, 0 -lbl_8003D58C: -/* 8003D58C 0003A4EC 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 8003D590 0003A4F0 40 82 00 14 */ bne lbl_8003D5A4 -/* 8003D594 0003A4F4 80 1B 04 98 */ lwz r0, 0x498(r27) -/* 8003D598 0003A4F8 2C 00 00 02 */ cmpwi r0, 2 -/* 8003D59C 0003A4FC 40 82 00 08 */ bne lbl_8003D5A4 -/* 8003D5A0 0003A500 3A C0 00 00 */ li r22, 0 -lbl_8003D5A4: -/* 8003D5A4 0003A504 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 8003D5A8 0003A508 40 82 00 14 */ bne lbl_8003D5BC -/* 8003D5AC 0003A50C 80 1B 03 B8 */ lwz r0, 0x3b8(r27) -/* 8003D5B0 0003A510 2C 00 00 00 */ cmpwi r0, 0 -/* 8003D5B4 0003A514 40 82 00 08 */ bne lbl_8003D5BC -/* 8003D5B8 0003A518 3A E0 00 00 */ li r23, 0 -lbl_8003D5BC: -/* 8003D5BC 0003A51C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8003D5C0 0003A520 40 82 00 14 */ bne lbl_8003D5D4 -/* 8003D5C4 0003A524 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003D5C8 0003A528 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8003D5CC 0003A52C 40 82 00 08 */ bne lbl_8003D5D4 -/* 8003D5D0 0003A530 3B 00 00 00 */ li r24, 0 -lbl_8003D5D4: -/* 8003D5D4 0003A534 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 8003D5D8 0003A538 40 82 00 14 */ bne lbl_8003D5EC -/* 8003D5DC 0003A53C 88 1C 08 35 */ lbz r0, 0x835(r28) -/* 8003D5E0 0003A540 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003D5E4 0003A544 40 82 00 08 */ bne lbl_8003D5EC -/* 8003D5E8 0003A548 3B 20 00 00 */ li r25, 0 -lbl_8003D5EC: -/* 8003D5EC 0003A54C 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003D5F0 0003A550 53 20 3E 30 */ rlwimi r0, r25, 7, 0x18, 0x18 -/* 8003D5F4 0003A554 98 1C 08 33 */ stb r0, 0x833(r28) -/* 8003D5F8 0003A558 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003D5FC 0003A55C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8003D600 0003A560 41 82 01 78 */ beq lbl_8003D778 -/* 8003D604 0003A564 88 7C 08 34 */ lbz r3, 0x834(r28) -/* 8003D608 0003A568 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 8003D60C 0003A56C 40 82 00 C4 */ bne lbl_8003D6D0 -/* 8003D610 0003A570 28 1F 00 00 */ cmplwi r31, 0 -/* 8003D614 0003A574 3A 60 00 00 */ li r19, 0 -/* 8003D618 0003A578 41 82 00 10 */ beq lbl_8003D628 -/* 8003D61C 0003A57C 28 1A 00 00 */ cmplwi r26, 0 -/* 8003D620 0003A580 40 82 00 08 */ bne lbl_8003D628 -/* 8003D624 0003A584 3A 60 00 01 */ li r19, 1 -lbl_8003D628: -/* 8003D628 0003A588 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 8003D62C 0003A58C 41 82 00 80 */ beq lbl_8003D6AC -/* 8003D630 0003A590 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003D634 0003A594 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003D638 0003A598 D0 1C 03 70 */ stfs f0, 0x370(r28) -/* 8003D63C 0003A59C D0 3C 03 74 */ stfs f1, 0x374(r28) -/* 8003D640 0003A5A0 C0 1C 03 64 */ lfs f0, 0x364(r28) -/* 8003D644 0003A5A4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8003D648 0003A5A8 4C 40 13 82 */ cror 2, 0, 2 -/* 8003D64C 0003A5AC 40 82 00 48 */ bne lbl_8003D694 -/* 8003D650 0003A5B0 C0 1C 03 68 */ lfs f0, 0x368(r28) -/* 8003D654 0003A5B4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8003D658 0003A5B8 4C 40 13 82 */ cror 2, 0, 2 -/* 8003D65C 0003A5BC 40 82 00 38 */ bne lbl_8003D694 -/* 8003D660 0003A5C0 C0 02 84 E0 */ lfs f0, lbl_805AA200@sda21(r2) -/* 8003D664 0003A5C4 7F C5 F3 78 */ mr r5, r30 -/* 8003D668 0003A5C8 38 80 00 00 */ li r4, 0 -/* 8003D66C 0003A5CC 38 C0 00 00 */ li r6, 0 -/* 8003D670 0003A5D0 D0 1C 03 68 */ stfs f0, 0x368(r28) -/* 8003D674 0003A5D4 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003D678 0003A5D8 48 19 BB 41 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb -/* 8003D67C 0003A5DC 38 00 00 01 */ li r0, 1 -/* 8003D680 0003A5E0 7F C5 F3 78 */ mr r5, r30 -/* 8003D684 0003A5E4 90 1C 03 24 */ stw r0, 0x324(r28) -/* 8003D688 0003A5E8 38 7C 05 50 */ addi r3, r28, 0x550 -/* 8003D68C 0003A5EC 38 80 00 00 */ li r4, 0 -/* 8003D690 0003A5F0 48 0A C3 C5 */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager -lbl_8003D694: -/* 8003D694 0003A5F4 C0 1C 03 68 */ lfs f0, 0x368(r28) -/* 8003D698 0003A5F8 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8003D69C 0003A5FC D0 1C 03 68 */ stfs f0, 0x368(r28) -/* 8003D6A0 0003A600 C0 1C 03 60 */ lfs f0, 0x360(r28) -/* 8003D6A4 0003A604 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8003D6A8 0003A608 D0 1C 03 60 */ stfs f0, 0x360(r28) -lbl_8003D6AC: -/* 8003D6AC 0003A60C 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 8003D6B0 0003A610 41 82 00 10 */ beq lbl_8003D6C0 -/* 8003D6B4 0003A614 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003D6B8 0003A618 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8003D6BC 0003A61C 41 82 02 48 */ beq lbl_8003D904 -lbl_8003D6C0: -/* 8003D6C0 0003A620 7F 83 E3 78 */ mr r3, r28 -/* 8003D6C4 0003A624 7F C4 F3 78 */ mr r4, r30 -/* 8003D6C8 0003A628 48 00 02 71 */ bl ResetIdle__10CPlayerGunFR13CStateManager -/* 8003D6CC 0003A62C 48 00 02 38 */ b lbl_8003D904 -lbl_8003D6D0: -/* 8003D6D0 0003A630 C0 3C 03 94 */ lfs f1, 0x394(r28) -/* 8003D6D4 0003A634 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003D6D8 0003A638 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003D6DC 0003A63C 40 81 00 10 */ ble lbl_8003D6EC -/* 8003D6E0 0003A640 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 8003D6E4 0003A644 D0 1C 03 94 */ stfs f0, 0x394(r28) -/* 8003D6E8 0003A648 48 00 02 1C */ b lbl_8003D904 -lbl_8003D6EC: -/* 8003D6EC 0003A64C 54 60 07 FE */ clrlwi r0, r3, 0x1f -/* 8003D6F0 0003A650 28 00 00 01 */ cmplwi r0, 1 -/* 8003D6F4 0003A654 41 82 00 28 */ beq lbl_8003D71C -/* 8003D6F8 0003A658 D0 1C 03 94 */ stfs f0, 0x394(r28) -/* 8003D6FC 0003A65C 38 60 00 01 */ li r3, 1 -/* 8003D700 0003A660 38 80 00 01 */ li r4, 1 -/* 8003D704 0003A664 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003D708 0003A668 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8003D70C 0003A66C 98 1C 08 34 */ stb r0, 0x834(r28) -/* 8003D710 0003A670 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003D714 0003A674 48 19 B8 D5 */ bl BasePosition__10CGunMotionFb -/* 8003D718 0003A678 48 00 01 EC */ b lbl_8003D904 -lbl_8003D71C: -/* 8003D71C 0003A67C 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha -/* 8003D720 0003A680 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003D724 0003A684 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l -/* 8003D728 0003A688 38 84 00 1E */ addi r4, r4, 0x1e -/* 8003D72C 0003A68C 4B FC 75 8D */ bl string_l__4rstlFPCc -/* 8003D730 0003A690 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003D734 0003A694 38 81 00 18 */ addi r4, r1, 0x18 -/* 8003D738 0003A698 C0 22 84 E4 */ lfs f1, lbl_805AA204@sda21(r2) -/* 8003D73C 0003A69C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8003D740 0003A6A0 4B FE EC AD */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8003D744 0003A6A4 7C 73 1B 78 */ mr r19, r3 -/* 8003D748 0003A6A8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003D74C 0003A6AC 48 30 03 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8003D750 0003A6B0 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 8003D754 0003A6B4 40 82 01 B0 */ bne lbl_8003D904 -/* 8003D758 0003A6B8 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003D75C 0003A6BC 38 60 00 00 */ li r3, 0 -/* 8003D760 0003A6C0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003D764 0003A6C4 98 1C 08 34 */ stb r0, 0x834(r28) -/* 8003D768 0003A6C8 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003D76C 0003A6CC 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8003D770 0003A6D0 98 1C 08 34 */ stb r0, 0x834(r28) -/* 8003D774 0003A6D4 48 00 01 90 */ b lbl_8003D904 -lbl_8003D778: -/* 8003D778 0003A6D8 C0 02 84 DC */ lfs f0, lbl_805AA1FC@sda21(r2) -/* 8003D77C 0003A6DC 38 7C 03 A4 */ addi r3, r28, 0x3a4 -/* 8003D780 0003A6E0 80 9C 02 EC */ lwz r4, 0x2ec(r28) -/* 8003D784 0003A6E4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8003D788 0003A6E8 7C 00 00 26 */ mfcr r0 -/* 8003D78C 0003A6EC FC 20 F8 90 */ fmr f1, f31 -/* 8003D790 0003A6F0 7F A6 EB 78 */ mr r6, r29 -/* 8003D794 0003A6F4 7F C7 F3 78 */ mr r7, r30 -/* 8003D798 0003A6F8 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f -/* 8003D79C 0003A6FC 48 11 6F CD */ bl Update__7CFidgetFibbfR13CStateManager -/* 8003D7A0 0003A700 2C 03 00 06 */ cmpwi r3, 6 -/* 8003D7A4 0003A704 41 82 01 60 */ beq lbl_8003D904 -/* 8003D7A8 0003A708 40 80 00 1C */ bge lbl_8003D7C4 -/* 8003D7AC 0003A70C 2C 03 00 00 */ cmpwi r3, 0 -/* 8003D7B0 0003A710 41 82 00 20 */ beq lbl_8003D7D0 -/* 8003D7B4 0003A714 41 80 01 50 */ blt lbl_8003D904 -/* 8003D7B8 0003A718 2C 03 00 04 */ cmpwi r3, 4 -/* 8003D7BC 0003A71C 40 80 00 A4 */ bge lbl_8003D860 -/* 8003D7C0 0003A720 48 00 00 50 */ b lbl_8003D810 -lbl_8003D7C4: -/* 8003D7C4 0003A724 2C 03 00 08 */ cmpwi r3, 8 -/* 8003D7C8 0003A728 40 80 01 3C */ bge lbl_8003D904 -/* 8003D7CC 0003A72C 48 00 00 74 */ b lbl_8003D840 -lbl_8003D7D0: -/* 8003D7D0 0003A730 80 1C 03 24 */ lwz r0, 0x324(r28) -/* 8003D7D4 0003A734 2C 00 00 02 */ cmpwi r0, 2 -/* 8003D7D8 0003A738 41 82 00 24 */ beq lbl_8003D7FC -/* 8003D7DC 0003A73C 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003D7E0 0003A740 7F C5 F3 78 */ mr r5, r30 -/* 8003D7E4 0003A744 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003D7E8 0003A748 38 80 00 05 */ li r4, 5 -/* 8003D7EC 0003A74C 38 C0 00 00 */ li r6, 0 -/* 8003D7F0 0003A750 48 19 B9 C9 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb -/* 8003D7F4 0003A754 38 00 00 02 */ li r0, 2 -/* 8003D7F8 0003A758 90 1C 03 24 */ stw r0, 0x324(r28) -lbl_8003D7FC: -/* 8003D7FC 0003A75C 7F C5 F3 78 */ mr r5, r30 -/* 8003D800 0003A760 38 7C 05 50 */ addi r3, r28, 0x550 -/* 8003D804 0003A764 38 80 00 03 */ li r4, 3 -/* 8003D808 0003A768 48 0A C2 4D */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager -/* 8003D80C 0003A76C 48 00 00 F8 */ b lbl_8003D904 -lbl_8003D810: -/* 8003D810 0003A770 80 1C 03 24 */ lwz r0, 0x324(r28) -/* 8003D814 0003A774 2C 00 00 00 */ cmpwi r0, 0 -/* 8003D818 0003A778 41 82 00 18 */ beq lbl_8003D830 -/* 8003D81C 0003A77C 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003D820 0003A780 38 80 00 00 */ li r4, 0 -/* 8003D824 0003A784 48 19 B7 C5 */ bl BasePosition__10CGunMotionFb -/* 8003D828 0003A788 38 00 00 00 */ li r0, 0 -/* 8003D82C 0003A78C 90 1C 03 24 */ stw r0, 0x324(r28) -lbl_8003D830: -/* 8003D830 0003A790 7F 83 E3 78 */ mr r3, r28 -/* 8003D834 0003A794 7F C4 F3 78 */ mr r4, r30 -/* 8003D838 0003A798 4B FF D5 55 */ bl AsyncLoadFidget__10CPlayerGunFR13CStateManager -/* 8003D83C 0003A79C 48 00 00 C8 */ b lbl_8003D904 -lbl_8003D840: -/* 8003D840 0003A7A0 7F 83 E3 78 */ mr r3, r28 -/* 8003D844 0003A7A4 4B FF D3 F9 */ bl IsFidgetLoaded__10CPlayerGunFv -/* 8003D848 0003A7A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003D84C 0003A7AC 41 82 00 B8 */ beq lbl_8003D904 -/* 8003D850 0003A7B0 7F 83 E3 78 */ mr r3, r28 -/* 8003D854 0003A7B4 7F C4 F3 78 */ mr r4, r30 -/* 8003D858 0003A7B8 4B FF E5 61 */ bl EnterFidget__10CPlayerGunFR13CStateManager -/* 8003D85C 0003A7BC 48 00 00 A8 */ b lbl_8003D904 -lbl_8003D860: -/* 8003D860 0003A7C0 7F C5 F3 78 */ mr r5, r30 -/* 8003D864 0003A7C4 38 7C 05 50 */ addi r3, r28, 0x550 -/* 8003D868 0003A7C8 38 80 00 00 */ li r4, 0 -/* 8003D86C 0003A7CC 48 0A C1 E9 */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager -/* 8003D870 0003A7D0 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8003D874 0003A7D4 38 60 00 00 */ li r3, 0 -/* 8003D878 0003A7D8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003D87C 0003A7DC 3A 20 00 00 */ li r17, 0 -/* 8003D880 0003A7E0 98 1C 08 33 */ stb r0, 0x833(r28) -/* 8003D884 0003A7E4 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003D888 0003A7E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003D88C 0003A7EC 41 82 00 14 */ beq lbl_8003D8A0 -/* 8003D890 0003A7F0 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 8003D894 0003A7F4 88 03 00 B8 */ lbz r0, 0xb8(r3) -/* 8003D898 0003A7F8 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 8003D89C 0003A7FC 48 00 00 30 */ b lbl_8003D8CC -lbl_8003D8A0: -/* 8003D8A0 0003A800 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha -/* 8003D8A4 0003A804 38 61 00 08 */ addi r3, r1, 8 -/* 8003D8A8 0003A808 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l -/* 8003D8AC 0003A80C 38 84 00 1E */ addi r4, r4, 0x1e -/* 8003D8B0 0003A810 4B FC 74 09 */ bl string_l__4rstlFPCc -/* 8003D8B4 0003A814 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 8003D8B8 0003A818 38 81 00 08 */ addi r4, r1, 8 -/* 8003D8BC 0003A81C C0 22 84 E4 */ lfs f1, lbl_805AA204@sda21(r2) -/* 8003D8C0 0003A820 3A 20 00 01 */ li r17, 1 -/* 8003D8C4 0003A824 80 63 00 20 */ lwz r3, 0x20(r3) -/* 8003D8C8 0003A828 4B FE EB 25 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8003D8CC: -/* 8003D8CC 0003A82C 88 9C 08 34 */ lbz r4, 0x834(r28) -/* 8003D8D0 0003A830 50 64 2E B4 */ rlwimi r4, r3, 5, 0x1a, 0x1a -/* 8003D8D4 0003A834 7E 20 07 75 */ extsb. r0, r17 -/* 8003D8D8 0003A838 98 9C 08 34 */ stb r4, 0x834(r28) -/* 8003D8DC 0003A83C 41 82 00 0C */ beq lbl_8003D8E8 -/* 8003D8E0 0003A840 38 61 00 08 */ addi r3, r1, 8 -/* 8003D8E4 0003A844 48 30 01 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8003D8E8: -/* 8003D8E8 0003A848 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 8003D8EC 0003A84C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8003D8F0 0003A850 40 82 00 14 */ bne lbl_8003D904 -/* 8003D8F4 0003A854 38 7C 03 A4 */ addi r3, r28, 0x3a4 -/* 8003D8F8 0003A858 48 11 72 61 */ bl ResetMinor__7CFidgetFv -/* 8003D8FC 0003A85C 7F 83 E3 78 */ mr r3, r28 -/* 8003D900 0003A860 4B FF D1 E5 */ bl ReturnToRestPose__10CPlayerGunFv -lbl_8003D904: -/* 8003D904 0003A864 FC 20 F8 90 */ fmr f1, f31 -/* 8003D908 0003A868 7F C4 F3 78 */ mr r4, r30 -/* 8003D90C 0003A86C 38 7C 05 50 */ addi r3, r28, 0x550 -/* 8003D910 0003A870 48 0A C5 DD */ bl Update__16CPlayerCameraBobFfR13CStateManager -lbl_8003D914: -/* 8003D914 0003A874 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8003D918 0003A878 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8003D91C 0003A87C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8003D920 0003A880 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8003D924 0003A884 BA 21 00 44 */ lmw r17, 0x44(r1) -/* 8003D928 0003A888 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8003D92C 0003A88C 7C 08 03 A6 */ mtlr r0 -/* 8003D930 0003A890 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8003D934 0003A894 4E 80 00 20 */ blr - -.global ResetIdle__10CPlayerGunFR13CStateManager -ResetIdle__10CPlayerGunFR13CStateManager: -/* 8003D938 0003A898 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003D93C 0003A89C 7C 08 02 A6 */ mflr r0 -/* 8003D940 0003A8A0 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003D944 0003A8A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003D948 0003A8A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003D94C 0003A8AC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003D950 0003A8B0 7C 9E 23 78 */ mr r30, r4 -/* 8003D954 0003A8B4 7F C5 F3 78 */ mr r5, r30 -/* 8003D958 0003A8B8 38 80 00 04 */ li r4, 4 -/* 8003D95C 0003A8BC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003D960 0003A8C0 7C 7D 1B 78 */ mr r29, r3 -/* 8003D964 0003A8C4 83 E3 03 A4 */ lwz r31, 0x3a4(r3) -/* 8003D968 0003A8C8 38 7D 05 50 */ addi r3, r29, 0x550 -/* 8003D96C 0003A8CC D0 1D 03 70 */ stfs f0, 0x370(r29) -/* 8003D970 0003A8D0 48 0A C0 E5 */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager -/* 8003D974 0003A8D4 2C 1F 00 00 */ cmpwi r31, 0 -/* 8003D978 0003A8D8 41 82 00 24 */ beq lbl_8003D99C -/* 8003D97C 0003A8DC 2C 1F 00 07 */ cmpwi r31, 7 -/* 8003D980 0003A8E0 40 82 00 0C */ bne lbl_8003D98C -/* 8003D984 0003A8E4 7F A3 EB 78 */ mr r3, r29 -/* 8003D988 0003A8E8 4B FF D3 79 */ bl UnLoadFidget__10CPlayerGunFv -lbl_8003D98C: -/* 8003D98C 0003A8EC 7F A3 EB 78 */ mr r3, r29 -/* 8003D990 0003A8F0 7F C4 F3 78 */ mr r4, r30 -/* 8003D994 0003A8F4 38 A0 00 01 */ li r5, 1 -/* 8003D998 0003A8F8 4B FF E2 A1 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb -lbl_8003D99C: -/* 8003D99C 0003A8FC 38 7D 03 A4 */ addi r3, r29, 0x3a4 -/* 8003D9A0 0003A900 48 11 71 C5 */ bl ResetAll__7CFidgetFv -/* 8003D9A4 0003A904 7F A3 EB 78 */ mr r3, r29 -/* 8003D9A8 0003A908 4B FF D1 3D */ bl ReturnToRestPose__10CPlayerGunFv -/* 8003D9AC 0003A90C 80 1D 03 24 */ lwz r0, 0x324(r29) -/* 8003D9B0 0003A910 2C 00 00 00 */ cmpwi r0, 0 -/* 8003D9B4 0003A914 41 82 00 0C */ beq lbl_8003D9C0 -/* 8003D9B8 0003A918 38 00 00 00 */ li r0, 0 -/* 8003D9BC 0003A91C 90 1D 03 24 */ stw r0, 0x324(r29) -lbl_8003D9C0: -/* 8003D9C0 0003A920 80 7D 07 40 */ lwz r3, 0x740(r29) -/* 8003D9C4 0003A924 88 03 03 B2 */ lbz r0, 0x3b2(r3) -/* 8003D9C8 0003A928 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8003D9CC 0003A92C 40 82 00 14 */ bne lbl_8003D9E0 -/* 8003D9D0 0003A930 88 1D 08 34 */ lbz r0, 0x834(r29) -/* 8003D9D4 0003A934 38 60 00 00 */ li r3, 0 -/* 8003D9D8 0003A938 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8003D9DC 0003A93C 98 1D 08 34 */ stb r0, 0x834(r29) -lbl_8003D9E0: -/* 8003D9E0 0003A940 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003D9E4 0003A944 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003D9E8 0003A948 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003D9EC 0003A94C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8003D9F0 0003A950 7C 08 03 A6 */ mtlr r0 -/* 8003D9F4 0003A954 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003D9F8 0003A958 4E 80 00 20 */ blr - -.global UpdateWeaponFire__10CPlayerGunFfR12CPlayerStateR13CStateManager -UpdateWeaponFire__10CPlayerGunFfR12CPlayerStateR13CStateManager: -/* 8003D9FC 0003A95C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8003DA00 0003A960 7C 08 02 A6 */ mflr r0 -/* 8003DA04 0003A964 90 01 00 54 */ stw r0, 0x54(r1) -/* 8003DA08 0003A968 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8003DA0C 0003A96C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8003DA10 0003A970 BF 01 00 20 */ stmw r24, 0x20(r1) -/* 8003DA14 0003A974 7C 79 1B 78 */ mr r25, r3 -/* 8003DA18 0003A978 7C BB 2B 78 */ mr r27, r5 -/* 8003DA1C 0003A97C 80 A3 02 EC */ lwz r5, 0x2ec(r3) -/* 8003DA20 0003A980 38 60 00 00 */ li r3, 0 -/* 8003DA24 0003A984 80 D9 02 F4 */ lwz r6, 0x2f4(r25) -/* 8003DA28 0003A988 7C 9A 23 78 */ mr r26, r4 -/* 8003DA2C 0003A98C FF E0 08 90 */ fmr f31, f1 -/* 8003DA30 0003A990 7C A0 32 78 */ xor r0, r5, r6 -/* 8003DA34 0003A994 90 D9 02 EC */ stw r6, 0x2ec(r25) -/* 8003DA38 0003A998 7C DE 00 38 */ and r30, r6, r0 -/* 8003DA3C 0003A99C 93 D9 02 F0 */ stw r30, 0x2f0(r25) -/* 8003DA40 0003A9A0 7C BF 00 38 */ and r31, r5, r0 -/* 8003DA44 0003A9A4 80 BB 08 4C */ lwz r5, 0x84c(r27) -/* 8003DA48 0003A9A8 88 19 08 32 */ lbz r0, 0x832(r25) -/* 8003DA4C 0003A9AC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8003DA50 0003A9B0 80 99 03 2C */ lwz r4, 0x32c(r25) -/* 8003DA54 0003A9B4 83 A5 02 F8 */ lwz r29, 0x2f8(r5) -/* 8003DA58 0003A9B8 7C 64 00 D0 */ neg r3, r4 -/* 8003DA5C 0003A9BC 98 19 08 32 */ stb r0, 0x832(r25) -/* 8003DA60 0003A9C0 7C 63 23 78 */ or r3, r3, r4 -/* 8003DA64 0003A9C4 54 7C 0F FE */ srwi r28, r3, 0x1f -/* 8003DA68 0003A9C8 88 19 08 32 */ lbz r0, 0x832(r25) -/* 8003DA6C 0003A9CC 83 1B 08 4C */ lwz r24, 0x84c(r27) -/* 8003DA70 0003A9D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8003DA74 0003A9D4 40 82 00 F4 */ bne lbl_8003DB68 -/* 8003DA78 0003A9D8 88 19 08 34 */ lbz r0, 0x834(r25) -/* 8003DA7C 0003A9DC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8003DA80 0003A9E0 40 82 00 E8 */ bne lbl_8003DB68 -/* 8003DA84 0003A9E4 80 79 07 2C */ lwz r3, 0x72c(r25) -/* 8003DA88 0003A9E8 48 17 F2 0D */ bl GetWeaponInfo__10CGunWeaponCFv -/* 8003DA8C 0003A9EC 57 C0 07 FF */ clrlwi. r0, r30, 0x1f -/* 8003DA90 0003A9F0 C0 23 00 00 */ lfs f1, 0(r3) -/* 8003DA94 0003A9F4 40 82 00 A0 */ bne lbl_8003DB34 -/* 8003DA98 0003A9F8 C0 19 03 90 */ lfs f0, 0x390(r25) -/* 8003DA9C 0003A9FC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8003DAA0 0003AA00 4C 41 13 82 */ cror 2, 1, 2 -/* 8003DAA4 0003AA04 40 82 00 B8 */ bne lbl_8003DB5C -/* 8003DAA8 0003AA08 2C 1D 00 00 */ cmpwi r29, 0 -/* 8003DAAC 0003AA0C D0 39 03 90 */ stfs f1, 0x390(r25) -/* 8003DAB0 0003AA10 40 82 00 AC */ bne lbl_8003DB5C -/* 8003DAB4 0003AA14 7F 43 D3 78 */ mr r3, r26 -/* 8003DAB8 0003AA18 38 80 00 0A */ li r4, 0xa -/* 8003DABC 0003AA1C 48 05 3E D1 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003DAC0 0003AA20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DAC4 0003AA24 41 82 00 98 */ beq lbl_8003DB5C -/* 8003DAC8 0003AA28 80 18 04 98 */ lwz r0, 0x498(r24) -/* 8003DACC 0003AA2C 2C 00 00 02 */ cmpwi r0, 2 -/* 8003DAD0 0003AA30 40 82 00 8C */ bne lbl_8003DB5C -/* 8003DAD4 0003AA34 80 18 03 B8 */ lwz r0, 0x3b8(r24) -/* 8003DAD8 0003AA38 2C 00 00 00 */ cmpwi r0, 0 -/* 8003DADC 0003AA3C 40 82 00 80 */ bne lbl_8003DB5C -/* 8003DAE0 0003AA40 80 7B 08 B8 */ lwz r3, 0x8b8(r27) -/* 8003DAE4 0003AA44 80 63 00 00 */ lwz r3, 0(r3) -/* 8003DAE8 0003AA48 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8003DAEC 0003AA4C 2C 00 00 02 */ cmpwi r0, 2 -/* 8003DAF0 0003AA50 41 82 00 6C */ beq lbl_8003DB5C -/* 8003DAF4 0003AA54 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8003DAF8 0003AA58 2C 00 00 02 */ cmpwi r0, 2 -/* 8003DAFC 0003AA5C 41 82 00 60 */ beq lbl_8003DB5C -/* 8003DB00 0003AA60 80 19 02 EC */ lwz r0, 0x2ec(r25) -/* 8003DB04 0003AA64 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8003DB08 0003AA68 41 82 00 54 */ beq lbl_8003DB5C -/* 8003DB0C 0003AA6C 28 1C 00 00 */ cmplwi r28, 0 -/* 8003DB10 0003AA70 40 82 00 4C */ bne lbl_8003DB5C -/* 8003DB14 0003AA74 88 19 08 32 */ lbz r0, 0x832(r25) -/* 8003DB18 0003AA78 38 60 00 01 */ li r3, 1 -/* 8003DB1C 0003AA7C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8003DB20 0003AA80 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003DB24 0003AA84 98 19 08 32 */ stb r0, 0x832(r25) -/* 8003DB28 0003AA88 63 DE 00 01 */ ori r30, r30, 1 -/* 8003DB2C 0003AA8C D0 19 03 90 */ stfs f0, 0x390(r25) -/* 8003DB30 0003AA90 48 00 00 2C */ b lbl_8003DB5C -lbl_8003DB34: -/* 8003DB34 0003AA94 C0 19 03 90 */ lfs f0, 0x390(r25) -/* 8003DB38 0003AA98 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8003DB3C 0003AA9C 4C 41 13 82 */ cror 2, 1, 2 -/* 8003DB40 0003AAA0 40 82 00 1C */ bne lbl_8003DB5C -/* 8003DB44 0003AAA4 88 19 08 32 */ lbz r0, 0x832(r25) -/* 8003DB48 0003AAA8 38 60 00 01 */ li r3, 1 -/* 8003DB4C 0003AAAC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8003DB50 0003AAB0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003DB54 0003AAB4 98 19 08 32 */ stb r0, 0x832(r25) -/* 8003DB58 0003AAB8 D0 19 03 90 */ stfs f0, 0x390(r25) -lbl_8003DB5C: -/* 8003DB5C 0003AABC C0 19 03 90 */ lfs f0, 0x390(r25) -/* 8003DB60 0003AAC0 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8003DB64 0003AAC4 D0 19 03 90 */ stfs f0, 0x390(r25) -lbl_8003DB68: -/* 8003DB68 0003AAC8 88 79 08 34 */ lbz r3, 0x834(r25) -/* 8003DB6C 0003AACC 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 8003DB70 0003AAD0 41 82 00 10 */ beq lbl_8003DB80 -/* 8003DB74 0003AAD4 80 19 02 EC */ lwz r0, 0x2ec(r25) -/* 8003DB78 0003AAD8 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 8003DB7C 0003AADC 98 79 08 34 */ stb r3, 0x834(r25) -lbl_8003DB80: -/* 8003DB80 0003AAE0 2C 1D 00 01 */ cmpwi r29, 1 -/* 8003DB84 0003AAE4 40 82 01 C4 */ bne lbl_8003DD48 -/* 8003DB88 0003AAE8 88 19 08 35 */ lbz r0, 0x835(r25) -/* 8003DB8C 0003AAEC 38 60 00 00 */ li r3, 0 -/* 8003DB90 0003AAF0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8003DB94 0003AAF4 98 19 08 35 */ stb r0, 0x835(r25) -/* 8003DB98 0003AAF8 88 19 08 35 */ lbz r0, 0x835(r25) -/* 8003DB9C 0003AAFC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8003DBA0 0003AB00 98 19 08 35 */ stb r0, 0x835(r25) -/* 8003DBA4 0003AB04 88 79 08 35 */ lbz r3, 0x835(r25) -/* 8003DBA8 0003AB08 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 8003DBAC 0003AB0C 40 82 03 A4 */ bne lbl_8003DF50 -/* 8003DBB0 0003AB10 38 00 00 01 */ li r0, 1 -/* 8003DBB4 0003AB14 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 8003DBB8 0003AB18 98 79 08 35 */ stb r3, 0x835(r25) -/* 8003DBBC 0003AB1C A0 79 05 3A */ lhz r3, 0x53a(r25) -/* 8003DBC0 0003AB20 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003DBC4 0003AB24 7C 03 00 40 */ cmplw r3, r0 -/* 8003DBC8 0003AB28 41 82 00 70 */ beq lbl_8003DC38 -/* 8003DBCC 0003AB2C A0 19 05 38 */ lhz r0, 0x538(r25) -/* 8003DBD0 0003AB30 7F 63 DB 78 */ mr r3, r27 -/* 8003DBD4 0003AB34 38 81 00 14 */ addi r4, r1, 0x14 -/* 8003DBD8 0003AB38 38 A0 00 05 */ li r5, 5 -/* 8003DBDC 0003AB3C B0 01 00 14 */ sth r0, 0x14(r1) -/* 8003DBE0 0003AB40 38 C0 00 01 */ li r6, 1 -/* 8003DBE4 0003AB44 48 00 7B 4D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 8003DBE8 0003AB48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DBEC 0003AB4C 40 82 00 4C */ bne lbl_8003DC38 -/* 8003DBF0 0003AB50 A0 19 05 3A */ lhz r0, 0x53a(r25) -/* 8003DBF4 0003AB54 7F 63 DB 78 */ mr r3, r27 -/* 8003DBF8 0003AB58 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003DBFC 0003AB5C B0 01 00 10 */ sth r0, 0x10(r1) -/* 8003DC00 0003AB60 48 00 E9 A5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8003DC04 0003AB64 28 03 00 00 */ cmplwi r3, 0 -/* 8003DC08 0003AB68 41 82 00 28 */ beq lbl_8003DC30 -/* 8003DC0C 0003AB6C C0 23 01 5C */ lfs f1, 0x15c(r3) -/* 8003DC10 0003AB70 C0 02 9D 60 */ lfs f0, lbl_805ABA80@sda21(r2) -/* 8003DC14 0003AB74 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003DC18 0003AB78 41 81 00 18 */ bgt lbl_8003DC30 -/* 8003DC1C 0003AB7C 88 19 08 35 */ lbz r0, 0x835(r25) -/* 8003DC20 0003AB80 38 60 00 00 */ li r3, 0 -/* 8003DC24 0003AB84 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8003DC28 0003AB88 98 19 08 35 */ stb r0, 0x835(r25) -/* 8003DC2C 0003AB8C 48 00 00 0C */ b lbl_8003DC38 -lbl_8003DC30: -/* 8003DC30 0003AB90 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003DC34 0003AB94 B0 19 05 3A */ sth r0, 0x53a(r25) -lbl_8003DC38: -/* 8003DC38 0003AB98 57 C0 07 FF */ clrlwi. r0, r30, 0x1f -/* 8003DC3C 0003AB9C 40 82 00 0C */ bne lbl_8003DC48 -/* 8003DC40 0003ABA0 28 1C 00 00 */ cmplwi r28, 0 -/* 8003DC44 0003ABA4 41 82 00 38 */ beq lbl_8003DC7C -lbl_8003DC48: -/* 8003DC48 0003ABA8 7F 43 D3 78 */ mr r3, r26 -/* 8003DC4C 0003ABAC 38 80 00 06 */ li r4, 6 -/* 8003DC50 0003ABB0 48 05 3E 71 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003DC54 0003ABB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DC58 0003ABB8 41 82 00 24 */ beq lbl_8003DC7C -/* 8003DC5C 0003ABBC 88 19 08 35 */ lbz r0, 0x835(r25) -/* 8003DC60 0003ABC0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8003DC64 0003ABC4 41 82 02 EC */ beq lbl_8003DF50 -/* 8003DC68 0003ABC8 7F 23 CB 78 */ mr r3, r25 -/* 8003DC6C 0003ABCC 7F 65 DB 78 */ mr r5, r27 -/* 8003DC70 0003ABD0 38 80 00 00 */ li r4, 0 -/* 8003DC74 0003ABD4 48 00 1F D1 */ bl DropBomb__10CPlayerGunFQ210CPlayerGun8EBWeaponR13CStateManager -/* 8003DC78 0003ABD8 48 00 02 D8 */ b lbl_8003DF50 -lbl_8003DC7C: -/* 8003DC7C 0003ABDC 3B 00 00 00 */ li r24, 0 -/* 8003DC80 0003ABE0 7F 43 D3 78 */ mr r3, r26 -/* 8003DC84 0003ABE4 7F 1D C3 78 */ mr r29, r24 -/* 8003DC88 0003ABE8 38 80 00 07 */ li r4, 7 -/* 8003DC8C 0003ABEC 7F 1C C3 78 */ mr r28, r24 -/* 8003DC90 0003ABF0 48 05 3E 31 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003DC94 0003ABF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DC98 0003ABF8 41 82 00 1C */ beq lbl_8003DCB4 -/* 8003DC9C 0003ABFC 7F 43 D3 78 */ mr r3, r26 -/* 8003DCA0 0003AC00 38 80 00 07 */ li r4, 7 -/* 8003DCA4 0003AC04 48 05 3E 79 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003DCA8 0003AC08 2C 03 00 00 */ cmpwi r3, 0 -/* 8003DCAC 0003AC0C 40 81 00 08 */ ble lbl_8003DCB4 -/* 8003DCB0 0003AC10 3B 80 00 01 */ li r28, 1 -lbl_8003DCB4: -/* 8003DCB4 0003AC14 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8003DCB8 0003AC18 41 82 00 2C */ beq lbl_8003DCE4 -/* 8003DCBC 0003AC1C A0 19 05 38 */ lhz r0, 0x538(r25) -/* 8003DCC0 0003AC20 7F 63 DB 78 */ mr r3, r27 -/* 8003DCC4 0003AC24 38 81 00 0C */ addi r4, r1, 0xc -/* 8003DCC8 0003AC28 38 A0 00 05 */ li r5, 5 -/* 8003DCCC 0003AC2C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8003DCD0 0003AC30 38 C0 00 01 */ li r6, 1 -/* 8003DCD4 0003AC34 48 00 7A 5D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 8003DCD8 0003AC38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DCDC 0003AC3C 41 82 00 08 */ beq lbl_8003DCE4 -/* 8003DCE0 0003AC40 3B A0 00 01 */ li r29, 1 -lbl_8003DCE4: -/* 8003DCE4 0003AC44 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8003DCE8 0003AC48 41 82 00 2C */ beq lbl_8003DD14 -/* 8003DCEC 0003AC4C A0 19 05 38 */ lhz r0, 0x538(r25) -/* 8003DCF0 0003AC50 7F 63 DB 78 */ mr r3, r27 -/* 8003DCF4 0003AC54 38 81 00 08 */ addi r4, r1, 8 -/* 8003DCF8 0003AC58 38 A0 00 04 */ li r5, 4 -/* 8003DCFC 0003AC5C B0 01 00 08 */ sth r0, 8(r1) -/* 8003DD00 0003AC60 38 C0 00 01 */ li r6, 1 -/* 8003DD04 0003AC64 48 00 7A 2D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 8003DD08 0003AC68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DD0C 0003AC6C 41 82 00 08 */ beq lbl_8003DD14 -/* 8003DD10 0003AC70 3B 00 00 01 */ li r24, 1 -lbl_8003DD14: -/* 8003DD14 0003AC74 88 79 08 35 */ lbz r3, 0x835(r25) -/* 8003DD18 0003AC78 53 03 17 7A */ rlwimi r3, r24, 2, 0x1d, 0x1d -/* 8003DD1C 0003AC7C 57 C0 07 BD */ rlwinm. r0, r30, 0, 0x1e, 0x1e -/* 8003DD20 0003AC80 98 79 08 35 */ stb r3, 0x835(r25) -/* 8003DD24 0003AC84 41 82 02 2C */ beq lbl_8003DF50 -/* 8003DD28 0003AC88 88 19 08 35 */ lbz r0, 0x835(r25) -/* 8003DD2C 0003AC8C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8003DD30 0003AC90 41 82 02 20 */ beq lbl_8003DF50 -/* 8003DD34 0003AC94 7F 23 CB 78 */ mr r3, r25 -/* 8003DD38 0003AC98 7F 65 DB 78 */ mr r5, r27 -/* 8003DD3C 0003AC9C 38 80 00 01 */ li r4, 1 -/* 8003DD40 0003ACA0 48 00 1F 05 */ bl DropBomb__10CPlayerGunFQ210CPlayerGun8EBWeaponR13CStateManager -/* 8003DD44 0003ACA4 48 00 02 0C */ b lbl_8003DF50 -lbl_8003DD48: -/* 8003DD48 0003ACA8 80 79 02 F8 */ lwz r3, 0x2f8(r25) -/* 8003DD4C 0003ACAC 54 60 07 38 */ rlwinm r0, r3, 0, 0x1c, 0x1c -/* 8003DD50 0003ACB0 2C 00 00 08 */ cmpwi r0, 8 -/* 8003DD54 0003ACB4 41 82 01 FC */ beq lbl_8003DF50 -/* 8003DD58 0003ACB8 2C 1D 00 00 */ cmpwi r29, 0 -/* 8003DD5C 0003ACBC 41 82 00 08 */ beq lbl_8003DD64 -/* 8003DD60 0003ACC0 48 00 01 F0 */ b lbl_8003DF50 -lbl_8003DD64: -/* 8003DD64 0003ACC4 57 C0 07 BD */ rlwinm. r0, r30, 0, 0x1e, 0x1e -/* 8003DD68 0003ACC8 41 82 01 10 */ beq lbl_8003DE78 -/* 8003DD6C 0003ACCC 80 19 03 18 */ lwz r0, 0x318(r25) -/* 8003DD70 0003ACD0 2C 00 00 00 */ cmpwi r0, 0 -/* 8003DD74 0003ACD4 40 82 01 04 */ bne lbl_8003DE78 -/* 8003DD78 0003ACD8 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e -/* 8003DD7C 0003ACDC 2C 00 00 02 */ cmpwi r0, 2 -/* 8003DD80 0003ACE0 41 82 00 F8 */ beq lbl_8003DE78 -/* 8003DD84 0003ACE4 80 19 03 2C */ lwz r0, 0x32c(r25) -/* 8003DD88 0003ACE8 2C 00 00 00 */ cmpwi r0, 0 -/* 8003DD8C 0003ACEC 40 82 00 EC */ bne lbl_8003DE78 -/* 8003DD90 0003ACF0 7F 43 D3 78 */ mr r3, r26 -/* 8003DD94 0003ACF4 38 80 00 04 */ li r4, 4 -/* 8003DD98 0003ACF8 48 05 3D 85 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003DD9C 0003ACFC 80 19 03 38 */ lwz r0, 0x338(r25) -/* 8003DDA0 0003AD00 7C 7C 1B 78 */ mr r28, r3 -/* 8003DDA4 0003AD04 2C 00 00 01 */ cmpwi r0, 1 -/* 8003DDA8 0003AD08 41 82 01 A8 */ beq lbl_8003DF50 -/* 8003DDAC 0003AD0C 2C 00 00 02 */ cmpwi r0, 2 -/* 8003DDB0 0003AD10 41 82 01 A0 */ beq lbl_8003DF50 -/* 8003DDB4 0003AD14 7F 43 D3 78 */ mr r3, r26 -/* 8003DDB8 0003AD18 38 80 00 04 */ li r4, 4 -/* 8003DDBC 0003AD1C 48 05 3D 05 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003DDC0 0003AD20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DDC4 0003AD24 41 82 00 68 */ beq lbl_8003DE2C -/* 8003DDC8 0003AD28 2C 1C 00 00 */ cmpwi r28, 0 -/* 8003DDCC 0003AD2C 40 81 00 60 */ ble lbl_8003DE2C -/* 8003DDD0 0003AD30 93 99 03 00 */ stw r28, 0x300(r25) -/* 8003DDD4 0003AD34 80 19 03 00 */ lwz r0, 0x300(r25) -/* 8003DDD8 0003AD38 2C 00 00 05 */ cmpwi r0, 5 -/* 8003DDDC 0003AD3C 40 81 00 0C */ ble lbl_8003DDE8 -/* 8003DDE0 0003AD40 38 00 00 05 */ li r0, 5 -/* 8003DDE4 0003AD44 90 19 03 00 */ stw r0, 0x300(r25) -lbl_8003DDE8: -/* 8003DDE8 0003AD48 88 19 08 35 */ lbz r0, 0x835(r25) -/* 8003DDEC 0003AD4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003DDF0 0003AD50 40 82 00 28 */ bne lbl_8003DE18 -/* 8003DDF4 0003AD54 80 79 02 F8 */ lwz r3, 0x2f8(r25) -/* 8003DDF8 0003AD58 38 00 00 01 */ li r0, 1 -/* 8003DDFC 0003AD5C 54 63 00 3C */ rlwinm r3, r3, 0, 0, 0x1e -/* 8003DE00 0003AD60 90 79 02 F8 */ stw r3, 0x2f8(r25) -/* 8003DE04 0003AD64 80 79 02 F8 */ lwz r3, 0x2f8(r25) -/* 8003DE08 0003AD68 60 63 00 06 */ ori r3, r3, 6 -/* 8003DE0C 0003AD6C 90 79 02 F8 */ stw r3, 0x2f8(r25) -/* 8003DE10 0003AD70 90 19 03 18 */ stw r0, 0x318(r25) -/* 8003DE14 0003AD74 90 19 03 1C */ stw r0, 0x31c(r25) -lbl_8003DE18: -/* 8003DE18 0003AD78 FC 20 F8 90 */ fmr f1, f31 -/* 8003DE1C 0003AD7C 7F 23 CB 78 */ mr r3, r25 -/* 8003DE20 0003AD80 7F 64 DB 78 */ mr r4, r27 -/* 8003DE24 0003AD84 48 00 20 69 */ bl FireSecondary__10CPlayerGunFfR13CStateManager -/* 8003DE28 0003AD88 48 00 01 28 */ b lbl_8003DF50 -lbl_8003DE2C: -/* 8003DE2C 0003AD8C 80 19 02 E4 */ lwz r0, 0x2e4(r25) -/* 8003DE30 0003AD90 38 61 00 1C */ addi r3, r1, 0x1c -/* 8003DE34 0003AD94 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8003DE38 0003AD98 48 2A AF 9D */ bl IsPlaying__11CSfxManagerF10CSfxHandle -/* 8003DE3C 0003AD9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DE40 0003ADA0 40 82 00 2C */ bne lbl_8003DE6C -/* 8003DE44 0003ADA4 88 19 08 34 */ lbz r0, 0x834(r25) -/* 8003DE48 0003ADA8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003DE4C 0003ADAC 38 80 06 F5 */ li r4, 0x6f5 -/* 8003DE50 0003ADB0 38 C0 00 00 */ li r6, 0 -/* 8003DE54 0003ADB4 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 8003DE58 0003ADB8 38 E0 00 4A */ li r7, 0x4a -/* 8003DE5C 0003ADBC 48 24 CC 9D */ bl play_sfx__12NWeaponTypesFUsbbs -/* 8003DE60 0003ADC0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8003DE64 0003ADC4 90 19 02 E4 */ stw r0, 0x2e4(r25) -/* 8003DE68 0003ADC8 48 00 00 E8 */ b lbl_8003DF50 -lbl_8003DE6C: -/* 8003DE6C 0003ADCC 38 00 00 00 */ li r0, 0 -/* 8003DE70 0003ADD0 90 19 02 E4 */ stw r0, 0x2e4(r25) -/* 8003DE74 0003ADD4 48 00 00 DC */ b lbl_8003DF50 -lbl_8003DE78: -/* 8003DE78 0003ADD8 80 19 03 A4 */ lwz r0, 0x3a4(r25) -/* 8003DE7C 0003ADDC 2C 00 00 00 */ cmpwi r0, 0 -/* 8003DE80 0003ADE0 40 82 00 D0 */ bne lbl_8003DF50 -/* 8003DE84 0003ADE4 54 60 06 F6 */ rlwinm r0, r3, 0, 0x1b, 0x1b -/* 8003DE88 0003ADE8 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003DE8C 0003ADEC 40 82 00 70 */ bne lbl_8003DEFC -/* 8003DE90 0003ADF0 80 79 07 44 */ lwz r3, 0x744(r25) -/* 8003DE94 0003ADF4 7F 64 DB 78 */ mr r4, r27 -/* 8003DE98 0003ADF8 48 17 B5 99 */ bl IsComboFxActive__10CAuxWeaponCFRC13CStateManager -/* 8003DE9C 0003ADFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DEA0 0003AE00 41 82 00 5C */ beq lbl_8003DEFC -/* 8003DEA4 0003AE04 80 19 03 10 */ lwz r0, 0x310(r25) -/* 8003DEA8 0003AE08 38 60 00 00 */ li r3, 0 -/* 8003DEAC 0003AE0C 2C 00 00 02 */ cmpwi r0, 2 -/* 8003DEB0 0003AE10 40 82 00 14 */ bne lbl_8003DEC4 -/* 8003DEB4 0003AE14 88 19 08 33 */ lbz r0, 0x833(r25) -/* 8003DEB8 0003AE18 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8003DEBC 0003AE1C 41 82 00 08 */ beq lbl_8003DEC4 -/* 8003DEC0 0003AE20 38 60 00 01 */ li r3, 1 -lbl_8003DEC4: -/* 8003DEC4 0003AE24 80 19 02 EC */ lwz r0, 0x2ec(r25) -/* 8003DEC8 0003AE28 2C 00 00 00 */ cmpwi r0, 0 -/* 8003DECC 0003AE2C 41 82 00 0C */ beq lbl_8003DED8 -/* 8003DED0 0003AE30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DED4 0003AE34 41 82 00 7C */ beq lbl_8003DF50 -lbl_8003DED8: -/* 8003DED8 0003AE38 80 19 02 F8 */ lwz r0, 0x2f8(r25) -/* 8003DEDC 0003AE3C 7F 23 CB 78 */ mr r3, r25 -/* 8003DEE0 0003AE40 7F 64 DB 78 */ mr r4, r27 -/* 8003DEE4 0003AE44 54 05 07 38 */ rlwinm r5, r0, 0, 0x1c, 0x1c -/* 8003DEE8 0003AE48 38 05 FF F8 */ addi r0, r5, -8 -/* 8003DEEC 0003AE4C 7C 00 00 34 */ cntlzw r0, r0 -/* 8003DEF0 0003AE50 54 05 D9 7E */ srwi r5, r0, 5 -/* 8003DEF4 0003AE54 4B FF E4 BD */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb -/* 8003DEF8 0003AE58 48 00 00 58 */ b lbl_8003DF50 -lbl_8003DEFC: -/* 8003DEFC 0003AE5C 7F 43 D3 78 */ mr r3, r26 -/* 8003DF00 0003AE60 38 80 00 0A */ li r4, 0xa -/* 8003DF04 0003AE64 48 05 3A 89 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003DF08 0003AE68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003DF0C 0003AE6C 41 82 00 2C */ beq lbl_8003DF38 -/* 8003DF10 0003AE70 80 19 03 3C */ lwz r0, 0x33c(r25) -/* 8003DF14 0003AE74 2C 00 00 00 */ cmpwi r0, 0 -/* 8003DF18 0003AE78 40 82 00 20 */ bne lbl_8003DF38 -/* 8003DF1C 0003AE7C FC 20 F8 90 */ fmr f1, f31 -/* 8003DF20 0003AE80 7F 23 CB 78 */ mr r3, r25 -/* 8003DF24 0003AE84 7F E4 FB 78 */ mr r4, r31 -/* 8003DF28 0003AE88 7F C5 F3 78 */ mr r5, r30 -/* 8003DF2C 0003AE8C 7F 66 DB 78 */ mr r6, r27 -/* 8003DF30 0003AE90 48 00 27 3D */ bl ProcessChargeState__10CPlayerGunFiiR13CStateManagerf -/* 8003DF34 0003AE94 48 00 00 1C */ b lbl_8003DF50 -lbl_8003DF38: -/* 8003DF38 0003AE98 FC 20 F8 90 */ fmr f1, f31 -/* 8003DF3C 0003AE9C 7F 23 CB 78 */ mr r3, r25 -/* 8003DF40 0003AEA0 7F E4 FB 78 */ mr r4, r31 -/* 8003DF44 0003AEA4 7F C5 F3 78 */ mr r5, r30 -/* 8003DF48 0003AEA8 7F 66 DB 78 */ mr r6, r27 -/* 8003DF4C 0003AEAC 48 00 25 B1 */ bl ProcessNormalState__10CPlayerGunFiiR13CStateManagerf -lbl_8003DF50: -/* 8003DF50 0003AEB0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8003DF54 0003AEB4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8003DF58 0003AEB8 BB 01 00 20 */ lmw r24, 0x20(r1) -/* 8003DF5C 0003AEBC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8003DF60 0003AEC0 7C 08 03 A6 */ mtlr r0 -/* 8003DF64 0003AEC4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8003DF68 0003AEC8 4E 80 00 20 */ blr - -.global Update__Q210CPlayerGun9CGunMorphFfff -Update__Q210CPlayerGun9CGunMorphFfff: -/* 8003DF6C 0003AECC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8003DF70 0003AED0 7C 08 02 A6 */ mflr r0 -/* 8003DF74 0003AED4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8003DF78 0003AED8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8003DF7C 0003AEDC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8003DF80 0003AEE0 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8003DF84 0003AEE4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8003DF88 0003AEE8 DB A1 00 10 */ stfd f29, 0x10(r1) -/* 8003DF8C 0003AEEC F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 -/* 8003DF90 0003AEF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003DF94 0003AEF4 7C 7F 1B 78 */ mr r31, r3 -/* 8003DF98 0003AEF8 FF A0 08 90 */ fmr f29, f1 -/* 8003DF9C 0003AEFC 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8003DFA0 0003AF00 FF C0 10 90 */ fmr f30, f2 -/* 8003DFA4 0003AF04 FF E0 18 90 */ fmr f31, f3 -/* 8003DFA8 0003AF08 38 80 00 00 */ li r4, 0 -/* 8003DFAC 0003AF0C 2C 00 00 00 */ cmpwi r0, 0 -/* 8003DFB0 0003AF10 41 82 00 0C */ beq lbl_8003DFBC -/* 8003DFB4 0003AF14 41 80 00 58 */ blt lbl_8003E00C -/* 8003DFB8 0003AF18 48 00 00 54 */ b lbl_8003E00C -lbl_8003DFBC: -/* 8003DFBC 0003AF1C C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8003DFC0 0003AF20 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003DFC4 0003AF24 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 8003DFC8 0003AF28 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 8003DFCC 0003AF2C C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8003DFD0 0003AF30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003DFD4 0003AF34 4C 40 13 82 */ cror 2, 0, 2 -/* 8003DFD8 0003AF38 40 82 00 34 */ bne lbl_8003E00C -/* 8003DFDC 0003AF3C 88 1F 00 24 */ lbz r0, 0x24(r31) -/* 8003DFE0 0003AF40 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003DFE4 0003AF44 41 82 00 28 */ beq lbl_8003E00C -/* 8003DFE8 0003AF48 38 80 00 01 */ li r4, 1 -/* 8003DFEC 0003AF4C 48 00 01 09 */ bl StartWipe__Q210CPlayerGun9CGunMorphFQ310CPlayerGun9CGunMorph4EDir -/* 8003DFF0 0003AF50 88 1F 00 24 */ lbz r0, 0x24(r31) -/* 8003DFF4 0003AF54 38 60 00 00 */ li r3, 0 -/* 8003DFF8 0003AF58 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003DFFC 0003AF5C C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003E000 0003AF60 98 1F 00 24 */ stb r0, 0x24(r31) -/* 8003E004 0003AF64 38 80 00 01 */ li r4, 1 -/* 8003E008 0003AF68 D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_8003E00C: -/* 8003E00C 0003AF6C 88 1F 00 24 */ lbz r0, 0x24(r31) -/* 8003E010 0003AF70 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8003E014 0003AF74 41 82 00 B0 */ beq lbl_8003E0C4 -/* 8003E018 0003AF78 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8003E01C 0003AF7C C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8003E020 0003AF80 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 8003E024 0003AF84 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8003E028 0003AF88 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003E02C 0003AF8C 2C 00 00 00 */ cmpwi r0, 0 -/* 8003E030 0003AF90 EC 40 08 28 */ fsubs f2, f0, f1 -/* 8003E034 0003AF94 40 82 00 18 */ bne lbl_8003E04C -/* 8003E038 0003AF98 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8003E03C 0003AF9C EC 1D 00 BA */ fmadds f0, f29, f2, f0 -/* 8003E040 0003AFA0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8003E044 0003AFA4 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 8003E048 0003AFA8 48 00 00 14 */ b lbl_8003E05C -lbl_8003E04C: -/* 8003E04C 0003AFAC EC 1D 00 72 */ fmuls f0, f29, f1 -/* 8003E050 0003AFB0 EC 1E 00 BA */ fmadds f0, f30, f2, f0 -/* 8003E054 0003AFB4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8003E058 0003AFB8 D0 5F 00 18 */ stfs f2, 0x18(r31) -lbl_8003E05C: -/* 8003E05C 0003AFBC C0 3F 00 08 */ lfs f1, 8(r31) -/* 8003E060 0003AFC0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003E064 0003AFC4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003E068 0003AFC8 4C 40 13 82 */ cror 2, 0, 2 -/* 8003E06C 0003AFCC 40 82 00 50 */ bne lbl_8003E0BC -/* 8003E070 0003AFD0 88 1F 00 24 */ lbz r0, 0x24(r31) -/* 8003E074 0003AFD4 38 60 00 00 */ li r3, 0 -/* 8003E078 0003AFD8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003E07C 0003AFDC 98 1F 00 24 */ stb r0, 0x24(r31) -/* 8003E080 0003AFE0 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8003E084 0003AFE4 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 8003E088 0003AFE8 2C 00 00 00 */ cmpwi r0, 0 -/* 8003E08C 0003AFEC 40 82 00 10 */ bne lbl_8003E09C -/* 8003E090 0003AFF0 90 7F 00 20 */ stw r3, 0x20(r31) -/* 8003E094 0003AFF4 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8003E098 0003AFF8 48 00 00 2C */ b lbl_8003E0C4 -lbl_8003E09C: -/* 8003E09C 0003AFFC C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003E0A0 0003B000 38 60 00 01 */ li r3, 1 -/* 8003E0A4 0003B004 38 00 00 02 */ li r0, 2 -/* 8003E0A8 0003B008 38 80 00 02 */ li r4, 2 -/* 8003E0AC 0003B00C D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8003E0B0 0003B010 90 7F 00 20 */ stw r3, 0x20(r31) -/* 8003E0B4 0003B014 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8003E0B8 0003B018 48 00 00 0C */ b lbl_8003E0C4 -lbl_8003E0BC: -/* 8003E0BC 0003B01C EC 01 F8 28 */ fsubs f0, f1, f31 -/* 8003E0C0 0003B020 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_8003E0C4: -/* 8003E0C4 0003B024 7C 83 23 78 */ mr r3, r4 -/* 8003E0C8 0003B028 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8003E0CC 0003B02C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8003E0D0 0003B030 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8003E0D4 0003B034 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8003E0D8 0003B038 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 -/* 8003E0DC 0003B03C CB A1 00 10 */ lfd f29, 0x10(r1) -/* 8003E0E0 0003B040 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8003E0E4 0003B044 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003E0E8 0003B048 7C 08 03 A6 */ mtlr r0 -/* 8003E0EC 0003B04C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8003E0F0 0003B050 4E 80 00 20 */ blr - -.global StartWipe__Q210CPlayerGun9CGunMorphFQ310CPlayerGun9CGunMorph4EDir -StartWipe__Q210CPlayerGun9CGunMorphFQ310CPlayerGun9CGunMorph4EDir: -/* 8003E0F4 0003B054 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8003E0F8 0003B058 2C 04 00 00 */ cmpwi r4, 0 -/* 8003E0FC 0003B05C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8003E100 0003B060 40 82 00 10 */ bne lbl_8003E110 -/* 8003E104 0003B064 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8003E108 0003B068 2C 00 00 00 */ cmpwi r0, 0 -/* 8003E10C 0003B06C 4D 82 00 20 */ beqlr -lbl_8003E110: -/* 8003E110 0003B070 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8003E114 0003B074 7C 00 20 00 */ cmpw r0, r4 -/* 8003E118 0003B078 41 82 00 2C */ beq lbl_8003E144 -/* 8003E11C 0003B07C 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8003E120 0003B080 2C 00 00 03 */ cmpwi r0, 3 -/* 8003E124 0003B084 41 82 00 20 */ beq lbl_8003E144 -/* 8003E128 0003B088 C0 03 00 04 */ lfs f0, 4(r3) -/* 8003E12C 0003B08C C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 8003E130 0003B090 D0 03 00 08 */ stfs f0, 8(r3) -/* 8003E134 0003B094 C0 03 00 04 */ lfs f0, 4(r3) -/* 8003E138 0003B098 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8003E13C 0003B09C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8003E140 0003B0A0 48 00 00 20 */ b lbl_8003E160 -lbl_8003E144: -/* 8003E144 0003B0A4 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8003E148 0003B0A8 2C 00 00 02 */ cmpwi r0, 2 -/* 8003E14C 0003B0AC 41 82 00 14 */ beq lbl_8003E160 -/* 8003E150 0003B0B0 C0 23 00 04 */ lfs f1, 4(r3) -/* 8003E154 0003B0B4 C0 03 00 08 */ lfs f0, 8(r3) -/* 8003E158 0003B0B8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8003E15C 0003B0BC D0 03 00 08 */ stfs f0, 8(r3) -lbl_8003E160: -/* 8003E160 0003B0C0 90 83 00 1C */ stw r4, 0x1c(r3) -/* 8003E164 0003B0C4 38 80 00 03 */ li r4, 3 -/* 8003E168 0003B0C8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8003E16C 0003B0CC 2C 00 00 00 */ cmpwi r0, 0 -/* 8003E170 0003B0D0 40 82 00 08 */ bne lbl_8003E178 -/* 8003E174 0003B0D4 38 80 00 02 */ li r4, 2 -lbl_8003E178: -/* 8003E178 0003B0D8 90 83 00 20 */ stw r4, 0x20(r3) -/* 8003E17C 0003B0DC 38 80 00 01 */ li r4, 1 -/* 8003E180 0003B0E0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8003E184 0003B0E4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8003E188 0003B0E8 98 03 00 24 */ stb r0, 0x24(r3) -/* 8003E18C 0003B0EC 4E 80 00 20 */ blr - -.global __ct__Q210CPlayerGun9CGunMorphFff -__ct__Q210CPlayerGun9CGunMorphFff: -/* 8003E190 0003B0F0 FC 00 08 50 */ fneg f0, f1 -/* 8003E194 0003B0F4 C0 A2 84 7C */ lfs f5, lbl_805AA19C@sda21(r2) -/* 8003E198 0003B0F8 C0 62 84 6C */ lfs f3, lbl_805AA18C@sda21(r2) -/* 8003E19C 0003B0FC FC C0 12 10 */ fabs f6, f2 -/* 8003E1A0 0003B100 C0 42 84 90 */ lfs f2, lbl_805AA1B0@sda21(r2) -/* 8003E1A4 0003B104 38 A0 00 02 */ li r5, 2 -/* 8003E1A8 0003B108 FC 80 09 6E */ fsel f4, f0, f5, f1 -/* 8003E1AC 0003B10C D0 63 00 00 */ stfs f3, 0(r3) -/* 8003E1B0 0003B110 FC 20 30 18 */ frsp f1, f6 -/* 8003E1B4 0003B114 C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) -/* 8003E1B8 0003B118 38 00 00 01 */ li r0, 1 -/* 8003E1BC 0003B11C 38 80 00 00 */ li r4, 0 -/* 8003E1C0 0003B120 D0 83 00 04 */ stfs f4, 4(r3) -/* 8003E1C4 0003B124 D0 63 00 08 */ stfs f3, 8(r3) -/* 8003E1C8 0003B128 D0 43 00 0C */ stfs f2, 0xc(r3) -/* 8003E1CC 0003B12C D0 23 00 10 */ stfs f1, 0x10(r3) -/* 8003E1D0 0003B130 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8003E1D4 0003B134 D0 A3 00 18 */ stfs f5, 0x18(r3) -/* 8003E1D8 0003B138 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 8003E1DC 0003B13C 90 03 00 20 */ stw r0, 0x20(r3) -/* 8003E1E0 0003B140 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8003E1E4 0003B144 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8003E1E8 0003B148 98 03 00 24 */ stb r0, 0x24(r3) -/* 8003E1EC 0003B14C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8003E1F0 0003B150 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8003E1F4 0003B154 98 03 00 24 */ stb r0, 0x24(r3) -/* 8003E1F8 0003B158 4E 80 00 20 */ blr - -.global GetTargetId__10CPlayerGunFR13CStateManager -GetTargetId__10CPlayerGunFR13CStateManager: -/* 8003E1FC 0003B15C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003E200 0003B160 7C 08 02 A6 */ mflr r0 -/* 8003E204 0003B164 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003E208 0003B168 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003E20C 0003B16C 7C 7F 1B 78 */ mr r31, r3 -/* 8003E210 0003B170 80 C5 08 4C */ lwz r6, 0x84c(r5) -/* 8003E214 0003B174 88 04 08 32 */ lbz r0, 0x832(r4) -/* 8003E218 0003B178 A0 66 03 10 */ lhz r3, 0x310(r6) -/* 8003E21C 0003B17C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8003E220 0003B180 B0 61 00 0C */ sth r3, 0xc(r1) -/* 8003E224 0003B184 41 82 00 28 */ beq lbl_8003E24C -/* 8003E228 0003B188 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003E22C 0003B18C 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8003E230 0003B190 7C 03 00 40 */ cmplw r3, r0 -/* 8003E234 0003B194 40 82 00 18 */ bne lbl_8003E24C -/* 8003E238 0003B198 80 04 03 10 */ lwz r0, 0x310(r4) -/* 8003E23C 0003B19C 2C 00 00 02 */ cmpwi r0, 2 -/* 8003E240 0003B1A0 40 82 00 0C */ bne lbl_8003E24C -/* 8003E244 0003B1A4 A0 06 03 3C */ lhz r0, 0x33c(r6) -/* 8003E248 0003B1A8 B0 01 00 0C */ sth r0, 0xc(r1) -lbl_8003E24C: -/* 8003E24C 0003B1AC A0 61 00 0C */ lhz r3, 0xc(r1) -/* 8003E250 0003B1B0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003E254 0003B1B4 7C 03 00 40 */ cmplw r3, r0 -/* 8003E258 0003B1B8 41 82 00 70 */ beq lbl_8003E2C8 -/* 8003E25C 0003B1BC A0 01 00 0C */ lhz r0, 0xc(r1) -/* 8003E260 0003B1C0 7C A3 2B 78 */ mr r3, r5 -/* 8003E264 0003B1C4 38 81 00 08 */ addi r4, r1, 8 -/* 8003E268 0003B1C8 B0 01 00 08 */ sth r0, 8(r1) -/* 8003E26C 0003B1CC 48 00 E3 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8003E270 0003B1D0 7C 64 1B 78 */ mr r4, r3 -/* 8003E274 0003B1D4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003E278 0003B1D8 48 07 1A 19 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8003E27C 0003B1DC 80 83 00 04 */ lwz r4, 4(r3) -/* 8003E280 0003B1E0 28 04 00 00 */ cmplwi r4, 0 -/* 8003E284 0003B1E4 41 82 00 44 */ beq lbl_8003E2C8 -/* 8003E288 0003B1E8 80 64 00 68 */ lwz r3, 0x68(r4) -/* 8003E28C 0003B1EC 38 00 01 00 */ li r0, 0x100 -/* 8003E290 0003B1F0 80 A4 00 6C */ lwz r5, 0x6c(r4) -/* 8003E294 0003B1F4 38 80 00 00 */ li r4, 0 -/* 8003E298 0003B1F8 7C 60 00 38 */ and r0, r3, r0 -/* 8003E29C 0003B1FC 7C A3 20 38 */ and r3, r5, r4 -/* 8003E2A0 0003B200 7C 63 22 78 */ xor r3, r3, r4 -/* 8003E2A4 0003B204 7C 00 22 78 */ xor r0, r0, r4 -/* 8003E2A8 0003B208 7C 60 03 79 */ or. r0, r3, r0 -/* 8003E2AC 0003B20C 41 82 00 08 */ beq lbl_8003E2B4 -/* 8003E2B0 0003B210 38 80 00 01 */ li r4, 1 -lbl_8003E2B4: -/* 8003E2B4 0003B214 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 8003E2B8 0003B218 28 00 00 01 */ cmplwi r0, 1 -/* 8003E2BC 0003B21C 41 82 00 0C */ beq lbl_8003E2C8 -/* 8003E2C0 0003B220 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8003E2C4 0003B224 B0 01 00 0C */ sth r0, 0xc(r1) -lbl_8003E2C8: -/* 8003E2C8 0003B228 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 8003E2CC 0003B22C B0 1F 00 00 */ sth r0, 0(r31) -/* 8003E2D0 0003B230 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003E2D4 0003B234 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003E2D8 0003B238 7C 08 03 A6 */ mtlr r0 -/* 8003E2DC 0003B23C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003E2E0 0003B240 4E 80 00 20 */ blr - -.global GetBeamVelocity__10CPlayerGunCFv -GetBeamVelocity__10CPlayerGunCFv: -/* 8003E2E4 0003B244 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003E2E8 0003B248 7C 08 02 A6 */ mflr r0 -/* 8003E2EC 0003B24C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003E2F0 0003B250 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003E2F4 0003B254 7C 7F 1B 78 */ mr r31, r3 -/* 8003E2F8 0003B258 80 63 07 2C */ lwz r3, 0x72c(r3) -/* 8003E2FC 0003B25C 81 83 00 00 */ lwz r12, 0(r3) -/* 8003E300 0003B260 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8003E304 0003B264 7D 89 03 A6 */ mtctr r12 -/* 8003E308 0003B268 4E 80 04 21 */ bctrl -/* 8003E30C 0003B26C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003E310 0003B270 41 82 00 1C */ beq lbl_8003E32C -/* 8003E314 0003B274 80 1F 03 30 */ lwz r0, 0x330(r31) -/* 8003E318 0003B278 80 7F 07 2C */ lwz r3, 0x72c(r31) -/* 8003E31C 0003B27C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8003E320 0003B280 7C 63 02 14 */ add r3, r3, r0 -/* 8003E324 0003B284 C0 23 01 D8 */ lfs f1, 0x1d8(r3) -/* 8003E328 0003B288 48 00 00 08 */ b lbl_8003E330 -lbl_8003E32C: -/* 8003E32C 0003B28C C0 22 84 9C */ lfs f1, lbl_805AA1BC@sda21(r2) -lbl_8003E330: -/* 8003E330 0003B290 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003E334 0003B294 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003E338 0003B298 7C 08 03 A6 */ mtlr r0 -/* 8003E33C 0003B29C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003E340 0003B2A0 4E 80 00 20 */ blr - -.global InitCTData__10CPlayerGunFv -InitCTData__10CPlayerGunFv: -/* 8003E344 0003B2A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003E348 0003B2A8 7C 08 02 A6 */ mflr r0 -/* 8003E34C 0003B2AC 38 80 00 00 */ li r4, 0 -/* 8003E350 0003B2B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003E354 0003B2B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003E358 0003B2B8 7C 7F 1B 78 */ mr r31, r3 -/* 8003E35C 0003B2BC 38 61 00 08 */ addi r3, r1, 8 -/* 8003E360 0003B2C0 38 1F 07 7C */ addi r0, r31, 0x77c -/* 8003E364 0003B2C4 98 81 00 08 */ stb r4, 8(r1) -/* 8003E368 0003B2C8 7C 03 00 40 */ cmplw r3, r0 -/* 8003E36C 0003B2CC 90 81 00 0C */ stw r4, 0xc(r1) -/* 8003E370 0003B2D0 41 82 00 48 */ beq lbl_8003E3B8 -/* 8003E374 0003B2D4 88 1F 07 7C */ lbz r0, 0x77c(r31) -/* 8003E378 0003B2D8 28 00 00 00 */ cmplwi r0, 0 -/* 8003E37C 0003B2DC 41 82 00 24 */ beq lbl_8003E3A0 -/* 8003E380 0003B2E0 80 7F 07 80 */ lwz r3, 0x780(r31) -/* 8003E384 0003B2E4 28 03 00 00 */ cmplwi r3, 0 -/* 8003E388 0003B2E8 41 82 00 18 */ beq lbl_8003E3A0 -/* 8003E38C 0003B2EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8003E390 0003B2F0 38 80 00 01 */ li r4, 1 -/* 8003E394 0003B2F4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003E398 0003B2F8 7D 89 03 A6 */ mtctr r12 -/* 8003E39C 0003B2FC 4E 80 04 21 */ bctrl -lbl_8003E3A0: -/* 8003E3A0 0003B300 88 61 00 08 */ lbz r3, 8(r1) -/* 8003E3A4 0003B304 38 00 00 00 */ li r0, 0 -/* 8003E3A8 0003B308 98 7F 07 7C */ stb r3, 0x77c(r31) -/* 8003E3AC 0003B30C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8003E3B0 0003B310 90 7F 07 80 */ stw r3, 0x780(r31) -/* 8003E3B4 0003B314 98 01 00 08 */ stb r0, 8(r1) -lbl_8003E3B8: -/* 8003E3B8 0003B318 88 01 00 08 */ lbz r0, 8(r1) -/* 8003E3BC 0003B31C 28 00 00 00 */ cmplwi r0, 0 -/* 8003E3C0 0003B320 41 82 00 24 */ beq lbl_8003E3E4 -/* 8003E3C4 0003B324 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8003E3C8 0003B328 28 03 00 00 */ cmplwi r3, 0 -/* 8003E3CC 0003B32C 41 82 00 18 */ beq lbl_8003E3E4 -/* 8003E3D0 0003B330 81 83 00 00 */ lwz r12, 0(r3) -/* 8003E3D4 0003B334 38 80 00 01 */ li r4, 1 -/* 8003E3D8 0003B338 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003E3DC 0003B33C 7D 89 03 A6 */ mtctr r12 -/* 8003E3E0 0003B340 4E 80 04 21 */ bctrl -lbl_8003E3E4: -/* 8003E3E4 0003B344 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003E3E8 0003B348 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003E3EC 0003B34C 7C 08 03 A6 */ mtlr r0 -/* 8003E3F0 0003B350 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003E3F4 0003B354 4E 80 00 20 */ blr - -.global InitMuzzleData__10CPlayerGunFv -InitMuzzleData__10CPlayerGunFv: -/* 8003E3F8 0003B358 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8003E3FC 0003B35C 7C 08 02 A6 */ mflr r0 -/* 8003E400 0003B360 3C 80 50 41 */ lis r4, 0x50415254@ha -/* 8003E404 0003B364 90 01 00 74 */ stw r0, 0x74(r1) -/* 8003E408 0003B368 BE A1 00 44 */ stmw r21, 0x44(r1) -/* 8003E40C 0003B36C 7C 79 1B 78 */ mr r25, r3 -/* 8003E410 0003B370 3B 79 07 C4 */ addi r27, r25, 0x7c4 -/* 8003E414 0003B374 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 8003E418 0003B378 7F 7D DB 78 */ mr r29, r27 -/* 8003E41C 0003B37C 3B 99 08 04 */ addi r28, r25, 0x804 -/* 8003E420 0003B380 3B C4 52 54 */ addi r30, r4, 0x50415254@l -/* 8003E424 0003B384 3B 01 00 28 */ addi r24, r1, 0x28 -/* 8003E428 0003B388 3B E3 CE B0 */ addi r31, r3, lbl_803CCEB0@l -/* 8003E42C 0003B38C 3B 40 00 00 */ li r26, 0 -/* 8003E430 0003B390 3A E0 00 00 */ li r23, 0 -lbl_8003E434: -/* 8003E434 0003B394 2C 1A 00 00 */ cmpwi r26, 0 -/* 8003E438 0003B398 80 6D A1 48 */ lwz r3, gpTweakGunRes@sda21(r13) -/* 8003E43C 0003B39C 41 80 00 0C */ blt lbl_8003E448 -/* 8003E440 0003B3A0 2C 1A 00 04 */ cmpwi r26, 4 -/* 8003E444 0003B3A4 40 81 00 0C */ ble lbl_8003E450 -lbl_8003E448: -/* 8003E448 0003B3A8 38 00 FF FF */ li r0, -1 -/* 8003E44C 0003B3AC 48 00 00 0C */ b lbl_8003E458 -lbl_8003E450: -/* 8003E450 0003B3B0 80 63 00 B0 */ lwz r3, 0xb0(r3) -/* 8003E454 0003B3B4 7C 03 B8 2E */ lwzx r0, r3, r23 -lbl_8003E458: -/* 8003E458 0003B3B8 93 C1 00 20 */ stw r30, 0x20(r1) -/* 8003E45C 0003B3BC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003E460 0003B3C0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8003E464 0003B3C4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8003E468 0003B3C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003E46C 0003B3CC 81 84 00 00 */ lwz r12, 0(r4) -/* 8003E470 0003B3D0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8003E474 0003B3D4 7D 89 03 A6 */ mtctr r12 -/* 8003E478 0003B3D8 4E 80 04 21 */ bctrl -/* 8003E47C 0003B3DC 7F 03 C3 78 */ mr r3, r24 -/* 8003E480 0003B3E0 38 81 00 18 */ addi r4, r1, 0x18 -/* 8003E484 0003B3E4 48 30 2A 25 */ bl __ct__6CTokenFRC6CToken -/* 8003E488 0003B3E8 7F 03 C3 78 */ mr r3, r24 -/* 8003E48C 0003B3EC 48 30 29 81 */ bl GetObj__6CTokenFv -/* 8003E490 0003B3F0 80 03 00 04 */ lwz r0, 4(r3) -/* 8003E494 0003B3F4 90 01 00 30 */ stw r0, 0x30(r1) -/* 8003E498 0003B3F8 80 19 07 C0 */ lwz r0, 0x7c0(r25) -/* 8003E49C 0003B3FC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8003E4A0 0003B400 7E DB 02 15 */ add. r22, r27, r0 -/* 8003E4A4 0003B404 41 82 00 20 */ beq lbl_8003E4C4 -/* 8003E4A8 0003B408 7E C3 B3 78 */ mr r3, r22 -/* 8003E4AC 0003B40C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8003E4B0 0003B410 48 30 29 F9 */ bl __ct__6CTokenFRC6CToken -/* 8003E4B4 0003B414 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8003E4B8 0003B418 7E C3 B3 78 */ mr r3, r22 -/* 8003E4BC 0003B41C 90 16 00 08 */ stw r0, 8(r22) -/* 8003E4C0 0003B420 48 30 28 C5 */ bl Lock__6CTokenFv -lbl_8003E4C4: -/* 8003E4C4 0003B424 80 B9 07 C0 */ lwz r5, 0x7c0(r25) -/* 8003E4C8 0003B428 38 61 00 28 */ addi r3, r1, 0x28 -/* 8003E4CC 0003B42C 38 80 00 00 */ li r4, 0 -/* 8003E4D0 0003B430 38 05 00 01 */ addi r0, r5, 1 -/* 8003E4D4 0003B434 90 19 07 C0 */ stw r0, 0x7c0(r25) -/* 8003E4D8 0003B438 48 30 29 69 */ bl __dt__6CTokenFv -/* 8003E4DC 0003B43C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003E4E0 0003B440 38 80 FF FF */ li r4, -1 -/* 8003E4E4 0003B444 48 30 29 5D */ bl __dt__6CTokenFv -/* 8003E4E8 0003B448 38 9F 00 09 */ addi r4, r31, 9 -/* 8003E4EC 0003B44C 3A A0 00 00 */ li r21, 0 -/* 8003E4F0 0003B450 38 60 03 40 */ li r3, 0x340 -/* 8003E4F4 0003B454 38 A0 00 00 */ li r5, 0 -/* 8003E4F8 0003B458 48 2D 73 75 */ bl __nw__FUlPCcPCc -/* 8003E4FC 0003B45C 7C 76 1B 79 */ or. r22, r3, r3 -/* 8003E500 0003B460 41 82 00 2C */ beq lbl_8003E52C -/* 8003E504 0003B464 7F A4 EB 78 */ mr r4, r29 -/* 8003E508 0003B468 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003E50C 0003B46C 48 30 29 9D */ bl __ct__6CTokenFRC6CToken -/* 8003E510 0003B470 7E C3 B3 78 */ mr r3, r22 -/* 8003E514 0003B474 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003E518 0003B478 3A A0 00 01 */ li r21, 1 -/* 8003E51C 0003B47C 38 A0 00 00 */ li r5, 0 -/* 8003E520 0003B480 38 C0 00 01 */ li r6, 1 -/* 8003E524 0003B484 48 2E 0E BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8003E528 0003B488 7C 76 1B 78 */ mr r22, r3 -lbl_8003E52C: -/* 8003E52C 0003B48C 7E A0 07 75 */ extsb. r0, r21 -/* 8003E530 0003B490 41 82 00 10 */ beq lbl_8003E540 -/* 8003E534 0003B494 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003E538 0003B498 38 80 00 00 */ li r4, 0 -/* 8003E53C 0003B49C 48 30 29 05 */ bl __dt__6CTokenFv -lbl_8003E540: -/* 8003E540 0003B4A0 7E C3 B3 78 */ mr r3, r22 -/* 8003E544 0003B4A4 38 80 00 00 */ li r4, 0 -/* 8003E548 0003B4A8 81 96 00 00 */ lwz r12, 0(r22) -/* 8003E54C 0003B4AC 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8003E550 0003B4B0 7D 89 03 A6 */ mtctr r12 -/* 8003E554 0003B4B4 4E 80 04 21 */ bctrl -/* 8003E558 0003B4B8 80 19 08 00 */ lwz r0, 0x800(r25) -/* 8003E55C 0003B4BC 7C 76 00 D0 */ neg r3, r22 -/* 8003E560 0003B4C0 7C 63 B3 78 */ or r3, r3, r22 -/* 8003E564 0003B4C4 92 C1 00 0C */ stw r22, 0xc(r1) -/* 8003E568 0003B4C8 54 00 18 38 */ slwi r0, r0, 3 -/* 8003E56C 0003B4CC 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8003E570 0003B4D0 7C 9C 02 15 */ add. r4, r28, r0 -/* 8003E574 0003B4D4 98 61 00 08 */ stb r3, 8(r1) -/* 8003E578 0003B4D8 41 82 00 14 */ beq lbl_8003E58C -/* 8003E57C 0003B4DC 98 64 00 00 */ stb r3, 0(r4) -/* 8003E580 0003B4E0 38 00 00 00 */ li r0, 0 -/* 8003E584 0003B4E4 92 C4 00 04 */ stw r22, 4(r4) -/* 8003E588 0003B4E8 98 01 00 08 */ stb r0, 8(r1) -lbl_8003E58C: -/* 8003E58C 0003B4EC 80 79 08 00 */ lwz r3, 0x800(r25) -/* 8003E590 0003B4F0 88 01 00 08 */ lbz r0, 8(r1) -/* 8003E594 0003B4F4 38 63 00 01 */ addi r3, r3, 1 -/* 8003E598 0003B4F8 28 00 00 00 */ cmplwi r0, 0 -/* 8003E59C 0003B4FC 90 79 08 00 */ stw r3, 0x800(r25) -/* 8003E5A0 0003B500 41 82 00 24 */ beq lbl_8003E5C4 -/* 8003E5A4 0003B504 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8003E5A8 0003B508 28 03 00 00 */ cmplwi r3, 0 -/* 8003E5AC 0003B50C 41 82 00 18 */ beq lbl_8003E5C4 -/* 8003E5B0 0003B510 81 83 00 00 */ lwz r12, 0(r3) -/* 8003E5B4 0003B514 38 80 00 01 */ li r4, 1 -/* 8003E5B8 0003B518 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003E5BC 0003B51C 7D 89 03 A6 */ mtctr r12 -/* 8003E5C0 0003B520 4E 80 04 21 */ bctrl -lbl_8003E5C4: -/* 8003E5C4 0003B524 3B 5A 00 01 */ addi r26, r26, 1 -/* 8003E5C8 0003B528 3A F7 00 04 */ addi r23, r23, 4 -/* 8003E5CC 0003B52C 2C 1A 00 05 */ cmpwi r26, 5 -/* 8003E5D0 0003B530 3B BD 00 0C */ addi r29, r29, 0xc -/* 8003E5D4 0003B534 41 80 FE 60 */ blt lbl_8003E434 -/* 8003E5D8 0003B538 BA A1 00 44 */ lmw r21, 0x44(r1) -/* 8003E5DC 0003B53C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8003E5E0 0003B540 7C 08 03 A6 */ mtlr r0 -/* 8003E5E4 0003B544 38 21 00 70 */ addi r1, r1, 0x70 -/* 8003E5E8 0003B548 4E 80 00 20 */ blr - -.global InitBombData__10CPlayerGunFv -InitBombData__10CPlayerGunFv: -/* 8003E5EC 0003B54C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8003E5F0 0003B550 7C 08 02 A6 */ mflr r0 -/* 8003E5F4 0003B554 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8003E5F8 0003B558 BF 01 00 A0 */ stmw r24, 0xa0(r1) -/* 8003E5FC 0003B55C 7C 7C 1B 78 */ mr r28, r3 -/* 8003E600 0003B560 3B E1 00 84 */ addi r31, r1, 0x84 -/* 8003E604 0003B564 3B A0 00 00 */ li r29, 0 -/* 8003E608 0003B568 3B DC 07 88 */ addi r30, r28, 0x788 -lbl_8003E60C: -/* 8003E60C 0003B56C 3B 60 00 00 */ li r27, 0 -/* 8003E610 0003B570 93 61 00 80 */ stw r27, 0x80(r1) -/* 8003E614 0003B574 80 1C 07 84 */ lwz r0, 0x784(r28) -/* 8003E618 0003B578 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 8003E61C 0003B57C 7C 7E 02 15 */ add. r3, r30, r0 -/* 8003E620 0003B580 41 82 00 50 */ beq lbl_8003E670 -/* 8003E624 0003B584 93 63 00 00 */ stw r27, 0(r3) -/* 8003E628 0003B588 7F F9 FB 78 */ mr r25, r31 -/* 8003E62C 0003B58C 3B 43 00 04 */ addi r26, r3, 4 -/* 8003E630 0003B590 83 03 00 00 */ lwz r24, 0(r3) -/* 8003E634 0003B594 48 00 00 34 */ b lbl_8003E668 -lbl_8003E638: -/* 8003E638 0003B598 28 1A 00 00 */ cmplwi r26, 0 -/* 8003E63C 0003B59C 41 82 00 20 */ beq lbl_8003E65C -/* 8003E640 0003B5A0 7F 43 D3 78 */ mr r3, r26 -/* 8003E644 0003B5A4 7F 24 CB 78 */ mr r4, r25 -/* 8003E648 0003B5A8 48 30 28 61 */ bl __ct__6CTokenFRC6CToken -/* 8003E64C 0003B5AC 80 19 00 08 */ lwz r0, 8(r25) -/* 8003E650 0003B5B0 7F 43 D3 78 */ mr r3, r26 -/* 8003E654 0003B5B4 90 1A 00 08 */ stw r0, 8(r26) -/* 8003E658 0003B5B8 48 30 27 2D */ bl Lock__6CTokenFv -lbl_8003E65C: -/* 8003E65C 0003B5BC 3B 5A 00 0C */ addi r26, r26, 0xc -/* 8003E660 0003B5C0 3B 7B 00 01 */ addi r27, r27, 1 -/* 8003E664 0003B5C4 3B 39 00 0C */ addi r25, r25, 0xc -lbl_8003E668: -/* 8003E668 0003B5C8 7C 1B C0 00 */ cmpw r27, r24 -/* 8003E66C 0003B5CC 41 80 FF CC */ blt lbl_8003E638 -lbl_8003E670: -/* 8003E670 0003B5D0 80 7C 07 84 */ lwz r3, 0x784(r28) -/* 8003E674 0003B5D4 7F F8 FB 78 */ mr r24, r31 -/* 8003E678 0003B5D8 3B 60 00 00 */ li r27, 0 -/* 8003E67C 0003B5DC 38 03 00 01 */ addi r0, r3, 1 -/* 8003E680 0003B5E0 90 1C 07 84 */ stw r0, 0x784(r28) -/* 8003E684 0003B5E4 48 00 00 24 */ b lbl_8003E6A8 -lbl_8003E688: -/* 8003E688 0003B5E8 28 18 00 00 */ cmplwi r24, 0 -/* 8003E68C 0003B5EC 41 82 00 14 */ beq lbl_8003E6A0 -/* 8003E690 0003B5F0 41 82 00 10 */ beq lbl_8003E6A0 -/* 8003E694 0003B5F4 7F 03 C3 78 */ mr r3, r24 -/* 8003E698 0003B5F8 38 80 00 00 */ li r4, 0 -/* 8003E69C 0003B5FC 48 30 27 A5 */ bl __dt__6CTokenFv -lbl_8003E6A0: -/* 8003E6A0 0003B600 3B 18 00 0C */ addi r24, r24, 0xc -/* 8003E6A4 0003B604 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8003E6A8: -/* 8003E6A8 0003B608 80 01 00 80 */ lwz r0, 0x80(r1) -/* 8003E6AC 0003B60C 7C 1B 00 00 */ cmpw r27, r0 -/* 8003E6B0 0003B610 41 80 FF D8 */ blt lbl_8003E688 -/* 8003E6B4 0003B614 3B BD 00 01 */ addi r29, r29, 1 -/* 8003E6B8 0003B618 38 00 00 00 */ li r0, 0 -/* 8003E6BC 0003B61C 2C 1D 00 02 */ cmpwi r29, 2 -/* 8003E6C0 0003B620 90 01 00 80 */ stw r0, 0x80(r1) -/* 8003E6C4 0003B624 41 80 FF 48 */ blt lbl_8003E60C -/* 8003E6C8 0003B628 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 8003E6CC 0003B62C 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8003E6D0 0003B630 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8003E6D4 0003B634 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8003E6D8 0003B638 80 C5 00 28 */ lwz r6, 0x28(r5) -/* 8003E6DC 0003B63C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8003E6E0 0003B640 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8003E6E4 0003B644 90 01 00 30 */ stw r0, 0x30(r1) -/* 8003E6E8 0003B648 90 C1 00 34 */ stw r6, 0x34(r1) -/* 8003E6EC 0003B64C 81 84 00 00 */ lwz r12, 0(r4) -/* 8003E6F0 0003B650 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8003E6F4 0003B654 7D 89 03 A6 */ mtctr r12 -/* 8003E6F8 0003B658 4E 80 04 21 */ bctrl -/* 8003E6FC 0003B65C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8003E700 0003B660 38 81 00 28 */ addi r4, r1, 0x28 -/* 8003E704 0003B664 48 30 27 A5 */ bl __ct__6CTokenFRC6CToken -/* 8003E708 0003B668 38 61 00 28 */ addi r3, r1, 0x28 -/* 8003E70C 0003B66C 38 80 FF FF */ li r4, -1 -/* 8003E710 0003B670 48 30 27 31 */ bl __dt__6CTokenFv -/* 8003E714 0003B674 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 8003E718 0003B678 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8003E71C 0003B67C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8003E720 0003B680 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8003E724 0003B684 80 C5 00 2C */ lwz r6, 0x2c(r5) -/* 8003E728 0003B688 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003E72C 0003B68C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8003E730 0003B690 90 01 00 20 */ stw r0, 0x20(r1) -/* 8003E734 0003B694 90 C1 00 24 */ stw r6, 0x24(r1) -/* 8003E738 0003B698 81 84 00 00 */ lwz r12, 0(r4) -/* 8003E73C 0003B69C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8003E740 0003B6A0 7D 89 03 A6 */ mtctr r12 -/* 8003E744 0003B6A4 4E 80 04 21 */ bctrl -/* 8003E748 0003B6A8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8003E74C 0003B6AC 38 81 00 18 */ addi r4, r1, 0x18 -/* 8003E750 0003B6B0 48 30 27 59 */ bl __ct__6CTokenFRC6CToken -/* 8003E754 0003B6B4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003E758 0003B6B8 38 80 FF FF */ li r4, -1 -/* 8003E75C 0003B6BC 48 30 26 E5 */ bl __dt__6CTokenFv -/* 8003E760 0003B6C0 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 8003E764 0003B6C4 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8003E768 0003B6C8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8003E76C 0003B6CC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8003E770 0003B6D0 80 C5 00 30 */ lwz r6, 0x30(r5) -/* 8003E774 0003B6D4 38 61 00 08 */ addi r3, r1, 8 -/* 8003E778 0003B6D8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8003E77C 0003B6DC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8003E780 0003B6E0 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8003E784 0003B6E4 81 84 00 00 */ lwz r12, 0(r4) -/* 8003E788 0003B6E8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8003E78C 0003B6EC 7D 89 03 A6 */ mtctr r12 -/* 8003E790 0003B6F0 4E 80 04 21 */ bctrl -/* 8003E794 0003B6F4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8003E798 0003B6F8 38 81 00 08 */ addi r4, r1, 8 -/* 8003E79C 0003B6FC 48 30 27 0D */ bl __ct__6CTokenFRC6CToken -/* 8003E7A0 0003B700 38 61 00 08 */ addi r3, r1, 8 -/* 8003E7A4 0003B704 38 80 FF FF */ li r4, -1 -/* 8003E7A8 0003B708 48 30 26 99 */ bl __dt__6CTokenFv -/* 8003E7AC 0003B70C 3B 01 00 74 */ addi r24, r1, 0x74 -/* 8003E7B0 0003B710 38 81 00 48 */ addi r4, r1, 0x48 -/* 8003E7B4 0003B714 7F 03 C3 78 */ mr r3, r24 -/* 8003E7B8 0003B718 48 30 26 F1 */ bl __ct__6CTokenFRC6CToken -/* 8003E7BC 0003B71C 7F 03 C3 78 */ mr r3, r24 -/* 8003E7C0 0003B720 48 30 26 4D */ bl GetObj__6CTokenFv -/* 8003E7C4 0003B724 80 03 00 04 */ lwz r0, 4(r3) -/* 8003E7C8 0003B728 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8003E7CC 0003B72C 80 1E 00 00 */ lwz r0, 0(r30) -/* 8003E7D0 0003B730 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8003E7D4 0003B734 7F 7E 02 14 */ add r27, r30, r0 -/* 8003E7D8 0003B738 37 7B 00 04 */ addic. r27, r27, 4 -/* 8003E7DC 0003B73C 41 82 00 20 */ beq lbl_8003E7FC -/* 8003E7E0 0003B740 7F 63 DB 78 */ mr r3, r27 -/* 8003E7E4 0003B744 7F 04 C3 78 */ mr r4, r24 -/* 8003E7E8 0003B748 48 30 26 C1 */ bl __ct__6CTokenFRC6CToken -/* 8003E7EC 0003B74C 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 8003E7F0 0003B750 7F 63 DB 78 */ mr r3, r27 -/* 8003E7F4 0003B754 90 1B 00 08 */ stw r0, 8(r27) -/* 8003E7F8 0003B758 48 30 25 8D */ bl Lock__6CTokenFv -lbl_8003E7FC: -/* 8003E7FC 0003B75C 80 BE 00 00 */ lwz r5, 0(r30) -/* 8003E800 0003B760 38 61 00 74 */ addi r3, r1, 0x74 -/* 8003E804 0003B764 38 80 00 00 */ li r4, 0 -/* 8003E808 0003B768 38 05 00 01 */ addi r0, r5, 1 -/* 8003E80C 0003B76C 90 1E 00 00 */ stw r0, 0(r30) -/* 8003E810 0003B770 48 30 26 31 */ bl __dt__6CTokenFv -/* 8003E814 0003B774 3B 01 00 68 */ addi r24, r1, 0x68 -/* 8003E818 0003B778 38 81 00 40 */ addi r4, r1, 0x40 -/* 8003E81C 0003B77C 7F 03 C3 78 */ mr r3, r24 -/* 8003E820 0003B780 48 30 26 89 */ bl __ct__6CTokenFRC6CToken -/* 8003E824 0003B784 7F 03 C3 78 */ mr r3, r24 -/* 8003E828 0003B788 48 30 25 E5 */ bl GetObj__6CTokenFv -/* 8003E82C 0003B78C 80 03 00 04 */ lwz r0, 4(r3) -/* 8003E830 0003B790 90 01 00 70 */ stw r0, 0x70(r1) -/* 8003E834 0003B794 80 1E 00 00 */ lwz r0, 0(r30) -/* 8003E838 0003B798 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8003E83C 0003B79C 7F 7E 02 14 */ add r27, r30, r0 -/* 8003E840 0003B7A0 37 7B 00 04 */ addic. r27, r27, 4 -/* 8003E844 0003B7A4 41 82 00 20 */ beq lbl_8003E864 -/* 8003E848 0003B7A8 7F 63 DB 78 */ mr r3, r27 -/* 8003E84C 0003B7AC 7F 04 C3 78 */ mr r4, r24 -/* 8003E850 0003B7B0 48 30 26 59 */ bl __ct__6CTokenFRC6CToken -/* 8003E854 0003B7B4 80 01 00 70 */ lwz r0, 0x70(r1) -/* 8003E858 0003B7B8 7F 63 DB 78 */ mr r3, r27 -/* 8003E85C 0003B7BC 90 1B 00 08 */ stw r0, 8(r27) -/* 8003E860 0003B7C0 48 30 25 25 */ bl Lock__6CTokenFv -lbl_8003E864: -/* 8003E864 0003B7C4 80 BE 00 00 */ lwz r5, 0(r30) -/* 8003E868 0003B7C8 38 61 00 68 */ addi r3, r1, 0x68 -/* 8003E86C 0003B7CC 38 80 00 00 */ li r4, 0 -/* 8003E870 0003B7D0 38 05 00 01 */ addi r0, r5, 1 -/* 8003E874 0003B7D4 90 1E 00 00 */ stw r0, 0(r30) -/* 8003E878 0003B7D8 48 30 25 C9 */ bl __dt__6CTokenFv -/* 8003E87C 0003B7DC 3B 01 00 5C */ addi r24, r1, 0x5c -/* 8003E880 0003B7E0 38 81 00 38 */ addi r4, r1, 0x38 -/* 8003E884 0003B7E4 7F 03 C3 78 */ mr r3, r24 -/* 8003E888 0003B7E8 48 30 26 21 */ bl __ct__6CTokenFRC6CToken -/* 8003E88C 0003B7EC 7F 03 C3 78 */ mr r3, r24 -/* 8003E890 0003B7F0 48 30 25 7D */ bl GetObj__6CTokenFv -/* 8003E894 0003B7F4 80 03 00 04 */ lwz r0, 4(r3) -/* 8003E898 0003B7F8 3B 1E 00 1C */ addi r24, r30, 0x1c -/* 8003E89C 0003B7FC 90 01 00 64 */ stw r0, 0x64(r1) -/* 8003E8A0 0003B800 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8003E8A4 0003B804 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8003E8A8 0003B808 7F 78 02 14 */ add r27, r24, r0 -/* 8003E8AC 0003B80C 37 7B 00 04 */ addic. r27, r27, 4 -/* 8003E8B0 0003B810 41 82 00 20 */ beq lbl_8003E8D0 -/* 8003E8B4 0003B814 7F 63 DB 78 */ mr r3, r27 -/* 8003E8B8 0003B818 38 81 00 5C */ addi r4, r1, 0x5c -/* 8003E8BC 0003B81C 48 30 25 ED */ bl __ct__6CTokenFRC6CToken -/* 8003E8C0 0003B820 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8003E8C4 0003B824 7F 63 DB 78 */ mr r3, r27 -/* 8003E8C8 0003B828 90 1B 00 08 */ stw r0, 8(r27) -/* 8003E8CC 0003B82C 48 30 24 B9 */ bl Lock__6CTokenFv -lbl_8003E8D0: -/* 8003E8D0 0003B830 80 B8 00 00 */ lwz r5, 0(r24) -/* 8003E8D4 0003B834 38 61 00 5C */ addi r3, r1, 0x5c -/* 8003E8D8 0003B838 38 80 00 00 */ li r4, 0 -/* 8003E8DC 0003B83C 38 05 00 01 */ addi r0, r5, 1 -/* 8003E8E0 0003B840 90 18 00 00 */ stw r0, 0(r24) -/* 8003E8E4 0003B844 48 30 25 5D */ bl __dt__6CTokenFv -/* 8003E8E8 0003B848 3B 21 00 50 */ addi r25, r1, 0x50 -/* 8003E8EC 0003B84C 38 81 00 38 */ addi r4, r1, 0x38 -/* 8003E8F0 0003B850 7F 23 CB 78 */ mr r3, r25 -/* 8003E8F4 0003B854 48 30 25 B5 */ bl __ct__6CTokenFRC6CToken -/* 8003E8F8 0003B858 7F 23 CB 78 */ mr r3, r25 -/* 8003E8FC 0003B85C 48 30 25 11 */ bl GetObj__6CTokenFv -/* 8003E900 0003B860 80 03 00 04 */ lwz r0, 4(r3) -/* 8003E904 0003B864 90 01 00 58 */ stw r0, 0x58(r1) -/* 8003E908 0003B868 80 18 00 00 */ lwz r0, 0(r24) -/* 8003E90C 0003B86C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8003E910 0003B870 7F 78 02 14 */ add r27, r24, r0 -/* 8003E914 0003B874 37 7B 00 04 */ addic. r27, r27, 4 -/* 8003E918 0003B878 41 82 00 20 */ beq lbl_8003E938 -/* 8003E91C 0003B87C 7F 63 DB 78 */ mr r3, r27 -/* 8003E920 0003B880 7F 24 CB 78 */ mr r4, r25 -/* 8003E924 0003B884 48 30 25 85 */ bl __ct__6CTokenFRC6CToken -/* 8003E928 0003B888 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8003E92C 0003B88C 7F 63 DB 78 */ mr r3, r27 -/* 8003E930 0003B890 90 1B 00 08 */ stw r0, 8(r27) -/* 8003E934 0003B894 48 30 24 51 */ bl Lock__6CTokenFv -lbl_8003E938: -/* 8003E938 0003B898 80 B8 00 00 */ lwz r5, 0(r24) -/* 8003E93C 0003B89C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8003E940 0003B8A0 38 80 00 00 */ li r4, 0 -/* 8003E944 0003B8A4 38 05 00 01 */ addi r0, r5, 1 -/* 8003E948 0003B8A8 90 18 00 00 */ stw r0, 0(r24) -/* 8003E94C 0003B8AC 48 30 24 F5 */ bl __dt__6CTokenFv -/* 8003E950 0003B8B0 38 61 00 38 */ addi r3, r1, 0x38 -/* 8003E954 0003B8B4 38 80 00 00 */ li r4, 0 -/* 8003E958 0003B8B8 48 30 24 E9 */ bl __dt__6CTokenFv -/* 8003E95C 0003B8BC 38 61 00 40 */ addi r3, r1, 0x40 -/* 8003E960 0003B8C0 38 80 00 00 */ li r4, 0 -/* 8003E964 0003B8C4 48 30 24 DD */ bl __dt__6CTokenFv -/* 8003E968 0003B8C8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8003E96C 0003B8CC 38 80 00 00 */ li r4, 0 -/* 8003E970 0003B8D0 48 30 24 D1 */ bl __dt__6CTokenFv -/* 8003E974 0003B8D4 BB 01 00 A0 */ lmw r24, 0xa0(r1) -/* 8003E978 0003B8D8 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8003E97C 0003B8DC 7C 08 03 A6 */ mtlr r0 -/* 8003E980 0003B8E0 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8003E984 0003B8E4 4E 80 00 20 */ blr - -.global InitBeamData__10CPlayerGunFv -InitBeamData__10CPlayerGunFv: -/* 8003E988 0003B8E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003E98C 0003B8EC 7C 08 02 A6 */ mflr r0 -/* 8003E990 0003B8F0 38 80 00 01 */ li r4, 1 -/* 8003E994 0003B8F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003E998 0003B8F8 80 03 07 4C */ lwz r0, 0x74c(r3) -/* 8003E99C 0003B8FC 90 03 07 64 */ stw r0, 0x764(r3) -/* 8003E9A0 0003B900 80 03 07 50 */ lwz r0, 0x750(r3) -/* 8003E9A4 0003B904 90 03 07 68 */ stw r0, 0x768(r3) -/* 8003E9A8 0003B908 80 03 07 54 */ lwz r0, 0x754(r3) -/* 8003E9AC 0003B90C 90 03 07 6C */ stw r0, 0x76c(r3) -/* 8003E9B0 0003B910 80 03 07 58 */ lwz r0, 0x758(r3) -/* 8003E9B4 0003B914 90 03 07 70 */ stw r0, 0x770(r3) -/* 8003E9B8 0003B918 80 03 07 64 */ lwz r0, 0x764(r3) -/* 8003E9BC 0003B91C 90 03 07 2C */ stw r0, 0x72c(r3) -/* 8003E9C0 0003B920 80 03 07 2C */ lwz r0, 0x72c(r3) -/* 8003E9C4 0003B924 90 03 07 38 */ stw r0, 0x738(r3) -/* 8003E9C8 0003B928 80 63 07 78 */ lwz r3, 0x778(r3) -/* 8003E9CC 0003B92C 81 83 00 00 */ lwz r12, 0(r3) -/* 8003E9D0 0003B930 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8003E9D4 0003B934 7D 89 03 A6 */ mtctr r12 -/* 8003E9D8 0003B938 4E 80 04 21 */ bctrl -/* 8003E9DC 0003B93C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003E9E0 0003B940 7C 08 03 A6 */ mtlr r0 -/* 8003E9E4 0003B944 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003E9E8 0003B948 4E 80 00 20 */ blr - -.global HandlePhazonBeamChange__10CPlayerGunFR13CStateManager -HandlePhazonBeamChange__10CPlayerGunFR13CStateManager: -/* 8003E9EC 0003B94C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8003E9F0 0003B950 7C 08 02 A6 */ mflr r0 -/* 8003E9F4 0003B954 38 A0 00 00 */ li r5, 0 -/* 8003E9F8 0003B958 90 01 00 14 */ stw r0, 0x14(r1) -/* 8003E9FC 0003B95C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003EA00 0003B960 7C 9F 23 78 */ mr r31, r4 -/* 8003EA04 0003B964 93 C1 00 08 */ stw r30, 8(r1) -/* 8003EA08 0003B968 7C 7E 1B 78 */ mr r30, r3 -/* 8003EA0C 0003B96C 80 03 03 3C */ lwz r0, 0x33c(r3) -/* 8003EA10 0003B970 2C 00 00 03 */ cmpwi r0, 3 -/* 8003EA14 0003B974 41 82 00 2C */ beq lbl_8003EA40 -/* 8003EA18 0003B978 40 80 00 74 */ bge lbl_8003EA8C -/* 8003EA1C 0003B97C 2C 00 00 00 */ cmpwi r0, 0 -/* 8003EA20 0003B980 41 82 00 08 */ beq lbl_8003EA28 -/* 8003EA24 0003B984 48 00 00 68 */ b lbl_8003EA8C -lbl_8003EA28: -/* 8003EA28 0003B988 38 80 00 01 */ li r4, 1 -/* 8003EA2C 0003B98C 48 00 00 F5 */ bl SetPhazonBeamMorph__10CPlayerGunFb -/* 8003EA30 0003B990 38 00 00 08 */ li r0, 8 -/* 8003EA34 0003B994 38 A0 00 01 */ li r5, 1 -/* 8003EA38 0003B998 90 1E 03 38 */ stw r0, 0x338(r30) -/* 8003EA3C 0003B99C 48 00 00 50 */ b lbl_8003EA8C -lbl_8003EA40: -/* 8003EA40 0003B9A0 88 1E 08 35 */ lbz r0, 0x835(r30) -/* 8003EA44 0003B9A4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8003EA48 0003B9A8 40 82 00 44 */ bne lbl_8003EA8C -/* 8003EA4C 0003B9AC 38 80 00 01 */ li r4, 1 -/* 8003EA50 0003B9B0 48 00 00 D1 */ bl SetPhazonBeamMorph__10CPlayerGunFb -/* 8003EA54 0003B9B4 38 00 00 09 */ li r0, 9 -/* 8003EA58 0003B9B8 38 A0 00 01 */ li r5, 1 -/* 8003EA5C 0003B9BC 90 1E 03 38 */ stw r0, 0x338(r30) -/* 8003EA60 0003B9C0 80 9E 07 5C */ lwz r4, 0x75c(r30) -/* 8003EA64 0003B9C4 28 04 00 00 */ cmplwi r4, 0 -/* 8003EA68 0003B9C8 41 82 00 24 */ beq lbl_8003EA8C -/* 8003EA6C 0003B9CC 88 04 02 74 */ lbz r0, 0x274(r4) -/* 8003EA70 0003B9D0 38 60 00 00 */ li r3, 0 -/* 8003EA74 0003B9D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003EA78 0003B9D8 38 60 00 01 */ li r3, 1 -/* 8003EA7C 0003B9DC 98 04 02 74 */ stb r0, 0x274(r4) -/* 8003EA80 0003B9E0 88 04 02 74 */ lbz r0, 0x274(r4) -/* 8003EA84 0003B9E4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8003EA88 0003B9E8 98 04 02 74 */ stb r0, 0x274(r4) -lbl_8003EA8C: -/* 8003EA8C 0003B9EC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8003EA90 0003B9F0 41 82 00 78 */ beq lbl_8003EB08 -/* 8003EA94 0003B9F4 80 BF 08 B8 */ lwz r5, 0x8b8(r31) -/* 8003EA98 0003B9F8 7F C3 F3 78 */ mr r3, r30 -/* 8003EA9C 0003B9FC 7F E4 FB 78 */ mr r4, r31 -/* 8003EAA0 0003BA00 38 C0 00 01 */ li r6, 1 -/* 8003EAA4 0003BA04 80 A5 00 00 */ lwz r5, 0(r5) -/* 8003EAA8 0003BA08 48 00 06 01 */ bl ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb -/* 8003EAAC 0003BA0C 38 00 00 00 */ li r0, 0 -/* 8003EAB0 0003BA10 7F C3 F3 78 */ mr r3, r30 -/* 8003EAB4 0003BA14 90 1E 02 F8 */ stw r0, 0x2f8(r30) -/* 8003EAB8 0003BA18 38 80 00 09 */ li r4, 9 -/* 8003EABC 0003BA1C 38 A0 00 00 */ li r5, 0 -/* 8003EAC0 0003BA20 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003EAC4 0003BA24 60 00 00 08 */ ori r0, r0, 8 -/* 8003EAC8 0003BA28 90 1E 02 F8 */ stw r0, 0x2f8(r30) -/* 8003EACC 0003BA2C 48 00 2D F9 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -/* 8003EAD0 0003BA30 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8003EAD4 0003BA34 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8003EAD8 0003BA38 41 82 00 20 */ beq lbl_8003EAF8 -/* 8003EADC 0003BA3C 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003EAE0 0003BA40 38 60 00 01 */ li r3, 1 -/* 8003EAE4 0003BA44 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003EAE8 0003BA48 7F E4 FB 78 */ mr r4, r31 -/* 8003EAEC 0003BA4C 98 1E 08 32 */ stb r0, 0x832(r30) -/* 8003EAF0 0003BA50 80 7E 07 40 */ lwz r3, 0x740(r30) -/* 8003EAF4 0003BA54 48 0D F4 01 */ bl EnterIdle__11CGrappleArmFR13CStateManager -lbl_8003EAF8: -/* 8003EAF8 0003BA58 7F C3 F3 78 */ mr r3, r30 -/* 8003EAFC 0003BA5C 7F E4 FB 78 */ mr r4, r31 -/* 8003EB00 0003BA60 38 A0 00 00 */ li r5, 0 -/* 8003EB04 0003BA64 4B FF D4 45 */ bl CancelCharge__10CPlayerGunFR13CStateManagerb -lbl_8003EB08: -/* 8003EB08 0003BA68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8003EB0C 0003BA6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8003EB10 0003BA70 83 C1 00 08 */ lwz r30, 8(r1) -/* 8003EB14 0003BA74 7C 08 03 A6 */ mtlr r0 -/* 8003EB18 0003BA78 38 21 00 10 */ addi r1, r1, 0x10 -/* 8003EB1C 0003BA7C 4E 80 00 20 */ blr - -.global SetPhazonBeamMorph__10CPlayerGunFb -SetPhazonBeamMorph__10CPlayerGunFb: -/* 8003EB20 0003BA80 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8003EB24 0003BA84 41 82 00 0C */ beq lbl_8003EB30 -/* 8003EB28 0003BA88 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003EB2C 0003BA8C 48 00 00 08 */ b lbl_8003EB34 -lbl_8003EB30: -/* 8003EB30 0003BA90 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -lbl_8003EB34: -/* 8003EB34 0003BA94 D0 03 03 9C */ stfs f0, 0x39c(r3) -/* 8003EB38 0003BA98 54 85 06 3E */ clrlwi r5, r4, 0x18 -/* 8003EB3C 0003BA9C 38 80 00 01 */ li r4, 1 -/* 8003EB40 0003BAA0 88 03 08 35 */ lbz r0, 0x835(r3) -/* 8003EB44 0003BAA4 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8003EB48 0003BAA8 98 03 08 35 */ stb r0, 0x835(r3) -/* 8003EB4C 0003BAAC 88 03 08 35 */ lbz r0, 0x835(r3) -/* 8003EB50 0003BAB0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8003EB54 0003BAB4 98 03 08 35 */ stb r0, 0x835(r3) -/* 8003EB58 0003BAB8 4E 80 00 20 */ blr - -.global HandleBeamChange__10CPlayerGunFRC11CFinalInputR13CStateManager -HandleBeamChange__10CPlayerGunFRC11CFinalInputR13CStateManager: -/* 8003EB5C 0003BABC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8003EB60 0003BAC0 7C 08 02 A6 */ mflr r0 -/* 8003EB64 0003BAC4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8003EB68 0003BAC8 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8003EB6C 0003BACC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8003EB70 0003BAD0 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 8003EB74 0003BAD4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 8003EB78 0003BAD8 BF 01 00 10 */ stmw r24, 0x10(r1) -/* 8003EB7C 0003BADC 80 E5 08 B8 */ lwz r7, 0x8b8(r5) -/* 8003EB80 0003BAE0 7C BF 2B 78 */ mr r31, r5 -/* 8003EB84 0003BAE4 3C C0 80 3D */ lis r6, lbl_803CCE54@ha -/* 8003EB88 0003BAE8 3C A0 80 3D */ lis r5, lbl_803CCE74@ha -/* 8003EB8C 0003BAEC C3 C2 84 6C */ lfs f30, lbl_805AA18C@sda21(r2) -/* 8003EB90 0003BAF0 3B 86 CE 54 */ addi r28, r6, lbl_803CCE54@l -/* 8003EB94 0003BAF4 83 A7 00 00 */ lwz r29, 0(r7) -/* 8003EB98 0003BAF8 3B 65 CE 74 */ addi r27, r5, lbl_803CCE74@l -/* 8003EB9C 0003BAFC C3 E2 84 E8 */ lfs f31, lbl_805AA208@sda21(r2) -/* 8003EBA0 0003BB00 7C 7E 1B 78 */ mr r30, r3 -/* 8003EBA4 0003BB04 7C 98 23 78 */ mr r24, r4 -/* 8003EBA8 0003BB08 3B 40 FF FF */ li r26, -1 -/* 8003EBAC 0003BB0C 3B 20 00 00 */ li r25, 0 -lbl_8003EBB0: -/* 8003EBB0 0003BB10 80 9C 00 00 */ lwz r4, 0(r28) -/* 8003EBB4 0003BB14 7F A3 EB 78 */ mr r3, r29 -/* 8003EBB8 0003BB18 48 05 2F 09 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003EBBC 0003BB1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003EBC0 0003BB20 41 82 00 28 */ beq lbl_8003EBE8 -/* 8003EBC4 0003BB24 80 7B 00 00 */ lwz r3, 0(r27) -/* 8003EBC8 0003BB28 7F 04 C3 78 */ mr r4, r24 -/* 8003EBCC 0003BB2C 4B FC DD 4D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8003EBD0 0003BB30 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8003EBD4 0003BB34 40 81 00 14 */ ble lbl_8003EBE8 -/* 8003EBD8 0003BB38 FC 01 F0 40 */ fcmpo cr0, f1, f30 -/* 8003EBDC 0003BB3C 40 81 00 0C */ ble lbl_8003EBE8 -/* 8003EBE0 0003BB40 FF C0 08 90 */ fmr f30, f1 -/* 8003EBE4 0003BB44 7F 3A CB 78 */ mr r26, r25 -lbl_8003EBE8: -/* 8003EBE8 0003BB48 3B 39 00 01 */ addi r25, r25, 1 -/* 8003EBEC 0003BB4C 3B 7B 00 04 */ addi r27, r27, 4 -/* 8003EBF0 0003BB50 2C 19 00 04 */ cmpwi r25, 4 -/* 8003EBF4 0003BB54 3B 9C 00 04 */ addi r28, r28, 4 -/* 8003EBF8 0003BB58 41 80 FF B8 */ blt lbl_8003EBB0 -/* 8003EBFC 0003BB5C 2C 1A FF FF */ cmpwi r26, -1 -/* 8003EC00 0003BB60 40 81 01 70 */ ble lbl_8003ED70 -/* 8003EC04 0003BB64 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8003EC08 0003BB68 38 60 00 01 */ li r3, 1 -/* 8003EC0C 0003BB6C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003EC10 0003BB70 98 1E 08 33 */ stb r0, 0x833(r30) -/* 8003EC14 0003BB74 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 8003EC18 0003BB78 7C 00 D0 00 */ cmpw r0, r26 -/* 8003EC1C 0003BB7C 41 82 00 DC */ beq lbl_8003ECF8 -/* 8003EC20 0003BB80 3C 60 80 3D */ lis r3, lbl_803CCE54@ha -/* 8003EC24 0003BB84 57 40 10 3A */ slwi r0, r26, 2 -/* 8003EC28 0003BB88 38 83 CE 54 */ addi r4, r3, lbl_803CCE54@l -/* 8003EC2C 0003BB8C 7F A3 EB 78 */ mr r3, r29 -/* 8003EC30 0003BB90 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8003EC34 0003BB94 48 05 2E 8D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003EC38 0003BB98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003EC3C 0003BB9C 41 82 00 BC */ beq lbl_8003ECF8 -/* 8003EC40 0003BBA0 93 5E 03 14 */ stw r26, 0x314(r30) -/* 8003EC44 0003BBA4 38 80 00 00 */ li r4, 0 -/* 8003EC48 0003BBA8 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003EC4C 0003BBAC 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 8003EC50 0003BBB0 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003EC54 0003BBB4 40 82 00 08 */ bne lbl_8003EC5C -/* 8003EC58 0003BBB8 38 80 00 10 */ li r4, 0x10 -lbl_8003EC5C: -/* 8003EC5C 0003BBBC 38 60 00 00 */ li r3, 0 -/* 8003EC60 0003BBC0 60 80 00 08 */ ori r0, r4, 8 -/* 8003EC64 0003BBC4 90 7E 02 F8 */ stw r3, 0x2f8(r30) -/* 8003EC68 0003BBC8 7F C3 F3 78 */ mr r3, r30 -/* 8003EC6C 0003BBCC 38 80 00 09 */ li r4, 9 -/* 8003EC70 0003BBD0 38 A0 00 00 */ li r5, 0 -/* 8003EC74 0003BBD4 80 DE 02 F8 */ lwz r6, 0x2f8(r30) -/* 8003EC78 0003BBD8 7C C0 03 78 */ or r0, r6, r0 -/* 8003EC7C 0003BBDC 90 1E 02 F8 */ stw r0, 0x2f8(r30) -/* 8003EC80 0003BBE0 48 00 2C 45 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -/* 8003EC84 0003BBE4 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8003EC88 0003BBE8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8003EC8C 0003BBEC 40 82 00 24 */ bne lbl_8003ECB0 -/* 8003EC90 0003BBF0 80 7E 07 44 */ lwz r3, 0x744(r30) -/* 8003EC94 0003BBF4 7F E4 FB 78 */ mr r4, r31 -/* 8003EC98 0003BBF8 48 17 A7 99 */ bl IsComboFxActive__10CAuxWeaponCFRC13CStateManager -/* 8003EC9C 0003BBFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003ECA0 0003BC00 40 82 00 10 */ bne lbl_8003ECB0 -/* 8003ECA4 0003BC04 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003ECA8 0003BC08 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8003ECAC 0003BC0C 41 82 00 20 */ beq lbl_8003ECCC -lbl_8003ECB0: -/* 8003ECB0 0003BC10 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003ECB4 0003BC14 38 60 00 01 */ li r3, 1 -/* 8003ECB8 0003BC18 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003ECBC 0003BC1C 7F E4 FB 78 */ mr r4, r31 -/* 8003ECC0 0003BC20 98 1E 08 32 */ stb r0, 0x832(r30) -/* 8003ECC4 0003BC24 80 7E 07 40 */ lwz r3, 0x740(r30) -/* 8003ECC8 0003BC28 48 0D F2 2D */ bl EnterIdle__11CGrappleArmFR13CStateManager -lbl_8003ECCC: -/* 8003ECCC 0003BC2C 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003ECD0 0003BC30 38 80 00 00 */ li r4, 0 -/* 8003ECD4 0003BC34 81 83 00 00 */ lwz r12, 0(r3) -/* 8003ECD8 0003BC38 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8003ECDC 0003BC3C 7D 89 03 A6 */ mtctr r12 -/* 8003ECE0 0003BC40 4E 80 04 21 */ bctrl -/* 8003ECE4 0003BC44 38 60 00 05 */ li r3, 5 -/* 8003ECE8 0003BC48 38 00 00 00 */ li r0, 0 -/* 8003ECEC 0003BC4C 90 7E 03 38 */ stw r3, 0x338(r30) -/* 8003ECF0 0003BC50 90 1E 02 E4 */ stw r0, 0x2e4(r30) -/* 8003ECF4 0003BC54 48 00 00 7C */ b lbl_8003ED70 -lbl_8003ECF8: -/* 8003ECF8 0003BC58 3C 60 80 3D */ lis r3, lbl_803CCE54@ha -/* 8003ECFC 0003BC5C 57 40 10 3A */ slwi r0, r26, 2 -/* 8003ED00 0003BC60 38 83 CE 54 */ addi r4, r3, lbl_803CCE54@l -/* 8003ED04 0003BC64 7F A3 EB 78 */ mr r3, r29 -/* 8003ED08 0003BC68 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8003ED0C 0003BC6C 48 05 2D B5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003ED10 0003BC70 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003ED14 0003BC74 41 82 00 5C */ beq lbl_8003ED70 -/* 8003ED18 0003BC78 7F C3 F3 78 */ mr r3, r30 -/* 8003ED1C 0003BC7C 48 00 17 7D */ bl ExitMissile__10CPlayerGunFv -/* 8003ED20 0003BC80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003ED24 0003BC84 41 82 00 44 */ beq lbl_8003ED68 -/* 8003ED28 0003BC88 80 1E 02 E4 */ lwz r0, 0x2e4(r30) -/* 8003ED2C 0003BC8C 38 61 00 0C */ addi r3, r1, 0xc -/* 8003ED30 0003BC90 90 01 00 0C */ stw r0, 0xc(r1) -/* 8003ED34 0003BC94 48 2A A0 A1 */ bl IsPlaying__11CSfxManagerF10CSfxHandle -/* 8003ED38 0003BC98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003ED3C 0003BC9C 40 82 00 34 */ bne lbl_8003ED70 -/* 8003ED40 0003BCA0 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003ED44 0003BCA4 38 61 00 08 */ addi r3, r1, 8 -/* 8003ED48 0003BCA8 38 80 06 E3 */ li r4, 0x6e3 -/* 8003ED4C 0003BCAC 38 C0 00 00 */ li r6, 0 -/* 8003ED50 0003BCB0 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 8003ED54 0003BCB4 38 E0 00 4A */ li r7, 0x4a -/* 8003ED58 0003BCB8 48 24 BD A1 */ bl play_sfx__12NWeaponTypesFUsbbs -/* 8003ED5C 0003BCBC 80 01 00 08 */ lwz r0, 8(r1) -/* 8003ED60 0003BCC0 90 1E 02 E4 */ stw r0, 0x2e4(r30) -/* 8003ED64 0003BCC4 48 00 00 0C */ b lbl_8003ED70 -lbl_8003ED68: -/* 8003ED68 0003BCC8 38 00 00 00 */ li r0, 0 -/* 8003ED6C 0003BCCC 90 1E 02 E4 */ stw r0, 0x2e4(r30) -lbl_8003ED70: -/* 8003ED70 0003BCD0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8003ED74 0003BCD4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8003ED78 0003BCD8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 8003ED7C 0003BCDC CB C1 00 30 */ lfd f30, 0x30(r1) -/* 8003ED80 0003BCE0 BB 01 00 10 */ lmw r24, 0x10(r1) -/* 8003ED84 0003BCE4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8003ED88 0003BCE8 7C 08 03 A6 */ mtlr r0 -/* 8003ED8C 0003BCEC 38 21 00 50 */ addi r1, r1, 0x50 -/* 8003ED90 0003BCF0 4E 80 00 20 */ blr - -.global HandleWeaponChange__10CPlayerGunFRC11CFinalInputR13CStateManager -HandleWeaponChange__10CPlayerGunFRC11CFinalInputR13CStateManager: -/* 8003ED94 0003BCF4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003ED98 0003BCF8 7C 08 02 A6 */ mflr r0 -/* 8003ED9C 0003BCFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003EDA0 0003BD00 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003EDA4 0003BD04 7C BF 2B 78 */ mr r31, r5 -/* 8003EDA8 0003BD08 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003EDAC 0003BD0C 7C 9E 23 78 */ mr r30, r4 -/* 8003EDB0 0003BD10 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003EDB4 0003BD14 7C 7D 1B 78 */ mr r29, r3 -/* 8003EDB8 0003BD18 38 60 00 00 */ li r3, 0 -/* 8003EDBC 0003BD1C 88 1D 08 33 */ lbz r0, 0x833(r29) -/* 8003EDC0 0003BD20 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003EDC4 0003BD24 38 60 00 0D */ li r3, 0xd -/* 8003EDC8 0003BD28 98 1D 08 33 */ stb r0, 0x833(r29) -/* 8003EDCC 0003BD2C 4B FC DA 05 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8003EDD0 0003BD30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003EDD4 0003BD34 41 82 00 14 */ beq lbl_8003EDE8 -/* 8003EDD8 0003BD38 7F A3 EB 78 */ mr r3, r29 -/* 8003EDDC 0003BD3C 7F E4 FB 78 */ mr r4, r31 -/* 8003EDE0 0003BD40 38 A0 00 01 */ li r5, 1 -/* 8003EDE4 0003BD44 4B FF D5 CD */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb -lbl_8003EDE8: -/* 8003EDE8 0003BD48 80 1D 02 F8 */ lwz r0, 0x2f8(r29) -/* 8003EDEC 0003BD4C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c -/* 8003EDF0 0003BD50 2C 00 00 08 */ cmpwi r0, 8 -/* 8003EDF4 0003BD54 41 82 00 30 */ beq lbl_8003EE24 -/* 8003EDF8 0003BD58 88 1D 08 35 */ lbz r0, 0x835(r29) -/* 8003EDFC 0003BD5C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003EE00 0003BD60 40 82 00 18 */ bne lbl_8003EE18 -/* 8003EE04 0003BD64 7F A3 EB 78 */ mr r3, r29 -/* 8003EE08 0003BD68 7F C4 F3 78 */ mr r4, r30 -/* 8003EE0C 0003BD6C 7F E5 FB 78 */ mr r5, r31 -/* 8003EE10 0003BD70 4B FF FD 4D */ bl HandleBeamChange__10CPlayerGunFRC11CFinalInputR13CStateManager -/* 8003EE14 0003BD74 48 00 00 10 */ b lbl_8003EE24 -lbl_8003EE18: -/* 8003EE18 0003BD78 7F A3 EB 78 */ mr r3, r29 -/* 8003EE1C 0003BD7C 7F E4 FB 78 */ mr r4, r31 -/* 8003EE20 0003BD80 4B FF FB CD */ bl HandlePhazonBeamChange__10CPlayerGunFR13CStateManager -lbl_8003EE24: -/* 8003EE24 0003BD84 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003EE28 0003BD88 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003EE2C 0003BD8C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003EE30 0003BD90 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8003EE34 0003BD94 7C 08 03 A6 */ mtlr r0 -/* 8003EE38 0003BD98 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003EE3C 0003BD9C 4E 80 00 20 */ blr - -.global StartPhazonBeamTransition__10CPlayerGunFbR13CStateManagerR12CPlayerState -StartPhazonBeamTransition__10CPlayerGunFbR13CStateManagerR12CPlayerState: -/* 8003EE40 0003BDA0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003EE44 0003BDA4 7C 08 02 A6 */ mflr r0 -/* 8003EE48 0003BDA8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003EE4C 0003BDAC 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 8003EE50 0003BDB0 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8003EE54 0003BDB4 7C 7E 1B 78 */ mr r30, r3 -/* 8003EE58 0003BDB8 7C 9B 23 78 */ mr r27, r4 -/* 8003EE5C 0003BDBC 7C BF 2B 78 */ mr r31, r5 -/* 8003EE60 0003BDC0 7C DC 33 78 */ mr r28, r6 -/* 8003EE64 0003BDC4 88 63 08 33 */ lbz r3, 0x833(r3) -/* 8003EE68 0003BDC8 54 63 EF FE */ rlwinm r3, r3, 0x1d, 0x1f, 0x1f -/* 8003EE6C 0003BDCC 7C 03 00 40 */ cmplw r3, r0 -/* 8003EE70 0003BDD0 41 82 01 14 */ beq lbl_8003EF84 -/* 8003EE74 0003BDD4 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 8003EE78 0003BDD8 3B BE 07 64 */ addi r29, r30, 0x764 -/* 8003EE7C 0003BDDC 7F E4 FB 78 */ mr r4, r31 -/* 8003EE80 0003BDE0 54 00 10 3A */ slwi r0, r0, 2 -/* 8003EE84 0003BDE4 7C 7D 00 2E */ lwzx r3, r29, r0 -/* 8003EE88 0003BDE8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003EE8C 0003BDEC 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 8003EE90 0003BDF0 7D 89 03 A6 */ mtctr r12 -/* 8003EE94 0003BDF4 4E 80 04 21 */ bctrl -/* 8003EE98 0003BDF8 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8003EE9C 0003BDFC 41 82 00 0C */ beq lbl_8003EEA8 -/* 8003EEA0 0003BE00 80 FE 07 5C */ lwz r7, 0x75c(r30) -/* 8003EEA4 0003BE04 48 00 00 08 */ b lbl_8003EEAC -lbl_8003EEA8: -/* 8003EEA8 0003BE08 80 FE 07 38 */ lwz r7, 0x738(r30) -lbl_8003EEAC: -/* 8003EEAC 0003BE0C 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 8003EEB0 0003BE10 7F C3 F3 78 */ mr r3, r30 -/* 8003EEB4 0003BE14 7F E4 FB 78 */ mr r4, r31 -/* 8003EEB8 0003BE18 7F 85 E3 78 */ mr r5, r28 -/* 8003EEBC 0003BE1C 54 00 10 3A */ slwi r0, r0, 2 -/* 8003EEC0 0003BE20 38 C0 00 00 */ li r6, 0 -/* 8003EEC4 0003BE24 7C FD 01 2E */ stwx r7, r29, r0 -/* 8003EEC8 0003BE28 48 00 01 E1 */ bl ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb -/* 8003EECC 0003BE2C 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 8003EED0 0003BE30 7F C3 F3 78 */ mr r3, r30 -/* 8003EED4 0003BE34 7F 64 DB 78 */ mr r4, r27 -/* 8003EED8 0003BE38 54 00 10 3A */ slwi r0, r0, 2 -/* 8003EEDC 0003BE3C 7C 1D 00 2E */ lwzx r0, r29, r0 -/* 8003EEE0 0003BE40 90 1E 07 2C */ stw r0, 0x72c(r30) -/* 8003EEE4 0003BE44 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8003EEE8 0003BE48 53 60 1F 38 */ rlwimi r0, r27, 3, 0x1c, 0x1c -/* 8003EEEC 0003BE4C 98 1E 08 33 */ stb r0, 0x833(r30) -/* 8003EEF0 0003BE50 4B FF B9 31 */ bl SetPhazonBeamFeedback__10CPlayerGunFb -/* 8003EEF4 0003BE54 80 1E 07 48 */ lwz r0, 0x748(r30) -/* 8003EEF8 0003BE58 38 80 00 01 */ li r4, 1 -/* 8003EEFC 0003BE5C 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003EF00 0003BE60 90 03 01 BC */ stw r0, 0x1bc(r3) -/* 8003EF04 0003BE64 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003EF08 0003BE68 81 83 00 00 */ lwz r12, 0(r3) -/* 8003EF0C 0003BE6C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8003EF10 0003BE70 7D 89 03 A6 */ mtctr r12 -/* 8003EF14 0003BE74 4E 80 04 21 */ bctrl -/* 8003EF18 0003BE78 80 DE 07 2C */ lwz r6, 0x72c(r30) -/* 8003EF1C 0003BE7C 38 A0 00 00 */ li r5, 0 -/* 8003EF20 0003BE80 7F C3 F3 78 */ mr r3, r30 -/* 8003EF24 0003BE84 38 80 00 0A */ li r4, 0xa -/* 8003EF28 0003BE88 88 06 02 18 */ lbz r0, 0x218(r6) -/* 8003EF2C 0003BE8C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8003EF30 0003BE90 38 A0 00 00 */ li r5, 0 -/* 8003EF34 0003BE94 98 06 02 18 */ stb r0, 0x218(r6) -/* 8003EF38 0003BE98 48 00 29 8D */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -/* 8003EF3C 0003BE9C 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8003EF40 0003BEA0 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8003EF44 0003BEA4 41 82 00 14 */ beq lbl_8003EF58 -/* 8003EF48 0003BEA8 7F C3 F3 78 */ mr r3, r30 -/* 8003EF4C 0003BEAC 7F E4 FB 78 */ mr r4, r31 -/* 8003EF50 0003BEB0 4B FF CF 6D */ bl EnterFreeLook__10CPlayerGunFR13CStateManager -/* 8003EF54 0003BEB4 48 00 00 20 */ b lbl_8003EF74 -lbl_8003EF58: -/* 8003EF58 0003BEB8 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003EF5C 0003BEBC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8003EF60 0003BEC0 41 82 00 14 */ beq lbl_8003EF74 -/* 8003EF64 0003BEC4 7F C3 F3 78 */ mr r3, r30 -/* 8003EF68 0003BEC8 7F E4 FB 78 */ mr r4, r31 -/* 8003EF6C 0003BECC 38 A0 00 00 */ li r5, 0 -/* 8003EF70 0003BED0 4B FF CC C9 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb -lbl_8003EF74: -/* 8003EF74 0003BED4 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003EF78 0003BED8 38 60 00 00 */ li r3, 0 -/* 8003EF7C 0003BEDC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003EF80 0003BEE0 98 1E 08 32 */ stb r0, 0x832(r30) -lbl_8003EF84: -/* 8003EF84 0003BEE4 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8003EF88 0003BEE8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003EF8C 0003BEEC 7C 08 03 A6 */ mtlr r0 -/* 8003EF90 0003BEF0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003EF94 0003BEF4 4E 80 00 20 */ blr - -.global ChangeWeapon__10CPlayerGunFRC12CPlayerStateR13CStateManager -ChangeWeapon__10CPlayerGunFRC12CPlayerStateR13CStateManager: -/* 8003EF98 0003BEF8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003EF9C 0003BEFC 7C 08 02 A6 */ mflr r0 -/* 8003EFA0 0003BF00 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003EFA4 0003BF04 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003EFA8 0003BF08 7C BF 2B 78 */ mr r31, r5 -/* 8003EFAC 0003BF0C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003EFB0 0003BF10 7C 9E 23 78 */ mr r30, r4 -/* 8003EFB4 0003BF14 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003EFB8 0003BF18 7C 7D 1B 78 */ mr r29, r3 -/* 8003EFBC 0003BF1C 80 63 07 30 */ lwz r3, 0x730(r3) -/* 8003EFC0 0003BF20 28 03 00 00 */ cmplwi r3, 0 -/* 8003EFC4 0003BF24 41 82 00 24 */ beq lbl_8003EFE8 -/* 8003EFC8 0003BF28 80 1D 07 2C */ lwz r0, 0x72c(r29) -/* 8003EFCC 0003BF2C 7C 03 00 40 */ cmplw r3, r0 -/* 8003EFD0 0003BF30 41 82 00 18 */ beq lbl_8003EFE8 -/* 8003EFD4 0003BF34 81 83 00 00 */ lwz r12, 0(r3) -/* 8003EFD8 0003BF38 7F E4 FB 78 */ mr r4, r31 -/* 8003EFDC 0003BF3C 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 8003EFE0 0003BF40 7D 89 03 A6 */ mtctr r12 -/* 8003EFE4 0003BF44 4E 80 04 21 */ bctrl -lbl_8003EFE8: -/* 8003EFE8 0003BF48 80 1D 03 14 */ lwz r0, 0x314(r29) -/* 8003EFEC 0003BF4C 54 00 10 3A */ slwi r0, r0, 2 -/* 8003EFF0 0003BF50 7C 7D 02 14 */ add r3, r29, r0 -/* 8003EFF4 0003BF54 80 03 07 64 */ lwz r0, 0x764(r3) -/* 8003EFF8 0003BF58 90 1D 07 34 */ stw r0, 0x734(r29) -/* 8003EFFC 0003BF5C 80 7D 07 34 */ lwz r3, 0x734(r29) -/* 8003F000 0003BF60 28 03 00 00 */ cmplwi r3, 0 -/* 8003F004 0003BF64 41 82 00 38 */ beq lbl_8003F03C -/* 8003F008 0003BF68 80 1D 07 2C */ lwz r0, 0x72c(r29) -/* 8003F00C 0003BF6C 7C 03 00 40 */ cmplw r3, r0 -/* 8003F010 0003BF70 41 82 00 2C */ beq lbl_8003F03C -/* 8003F014 0003BF74 81 83 00 00 */ lwz r12, 0(r3) -/* 8003F018 0003BF78 7F E4 FB 78 */ mr r4, r31 -/* 8003F01C 0003BF7C 38 A0 00 00 */ li r5, 0 -/* 8003F020 0003BF80 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8003F024 0003BF84 7D 89 03 A6 */ mtctr r12 -/* 8003F028 0003BF88 4E 80 04 21 */ bctrl -/* 8003F02C 0003BF8C 80 7D 07 44 */ lwz r3, 0x744(r29) -/* 8003F030 0003BF90 7F E5 FB 78 */ mr r5, r31 -/* 8003F034 0003BF94 80 9D 03 14 */ lwz r4, 0x314(r29) -/* 8003F038 0003BF98 48 17 99 05 */ bl Load__10CAuxWeaponFiR13CStateManager -lbl_8003F03C: -/* 8003F03C 0003BF9C 80 7D 07 2C */ lwz r3, 0x72c(r29) -/* 8003F040 0003BFA0 38 80 00 00 */ li r4, 0 -/* 8003F044 0003BFA4 81 83 00 00 */ lwz r12, 0(r3) -/* 8003F048 0003BFA8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8003F04C 0003BFAC 7D 89 03 A6 */ mtctr r12 -/* 8003F050 0003BFB0 4E 80 04 21 */ bctrl -/* 8003F054 0003BFB4 80 FD 03 2C */ lwz r7, 0x32c(r29) -/* 8003F058 0003BFB8 7F A3 EB 78 */ mr r3, r29 -/* 8003F05C 0003BFBC 88 1D 08 34 */ lbz r0, 0x834(r29) -/* 8003F060 0003BFC0 7F E4 FB 78 */ mr r4, r31 -/* 8003F064 0003BFC4 7C C7 00 D0 */ neg r6, r7 -/* 8003F068 0003BFC8 7F C5 F3 78 */ mr r5, r30 -/* 8003F06C 0003BFCC 7C C7 3B 78 */ or r7, r6, r7 -/* 8003F070 0003BFD0 50 E0 27 38 */ rlwimi r0, r7, 4, 0x1c, 0x1c -/* 8003F074 0003BFD4 38 C0 00 01 */ li r6, 1 -/* 8003F078 0003BFD8 98 1D 08 34 */ stb r0, 0x834(r29) -/* 8003F07C 0003BFDC 48 00 00 2D */ bl ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb -/* 8003F080 0003BFE0 38 7D 06 78 */ addi r3, r29, 0x678 -/* 8003F084 0003BFE4 38 80 00 00 */ li r4, 0 -/* 8003F088 0003BFE8 4B FF F0 6D */ bl StartWipe__Q210CPlayerGun9CGunMorphFQ310CPlayerGun9CGunMorph4EDir -/* 8003F08C 0003BFEC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003F090 0003BFF0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003F094 0003BFF4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003F098 0003BFF8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8003F09C 0003BFFC 7C 08 03 A6 */ mtlr r0 -/* 8003F0A0 0003C000 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003F0A4 0003C004 4E 80 00 20 */ blr - -.global ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb -ResetBeamParams__10CPlayerGunFR13CStateManagerRC12CPlayerStateb: -/* 8003F0A8 0003C008 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8003F0AC 0003C00C 7C 08 02 A6 */ mflr r0 -/* 8003F0B0 0003C010 90 01 00 54 */ stw r0, 0x54(r1) -/* 8003F0B4 0003C014 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8003F0B8 0003C018 7C 7F 1B 78 */ mr r31, r3 -/* 8003F0BC 0003C01C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8003F0C0 0003C020 7C DE 33 78 */ mr r30, r6 -/* 8003F0C4 0003C024 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8003F0C8 0003C028 7C BD 2B 78 */ mr r29, r5 -/* 8003F0CC 0003C02C 38 A0 00 01 */ li r5, 1 -/* 8003F0D0 0003C030 93 81 00 40 */ stw r28, 0x40(r1) -/* 8003F0D4 0003C034 7C 9C 23 78 */ mr r28, r4 -/* 8003F0D8 0003C038 4B FF D2 D9 */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb -/* 8003F0DC 0003C03C 7F A3 EB 78 */ mr r3, r29 -/* 8003F0E0 0003C040 38 80 00 0A */ li r4, 0xa -/* 8003F0E4 0003C044 48 05 28 A9 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003F0E8 0003C048 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003F0EC 0003C04C 41 82 00 14 */ beq lbl_8003F100 -/* 8003F0F0 0003C050 7F E3 FB 78 */ mr r3, r31 -/* 8003F0F4 0003C054 7F 84 E3 78 */ mr r4, r28 -/* 8003F0F8 0003C058 38 A0 00 00 */ li r5, 0 -/* 8003F0FC 0003C05C 48 00 00 E1 */ bl ResetCharge__10CPlayerGunFR13CStateManagerb -lbl_8003F100: -/* 8003F100 0003C060 80 9F 03 14 */ lwz r4, 0x314(r31) -/* 8003F104 0003C064 38 00 00 00 */ li r0, 0 -/* 8003F108 0003C068 3C 60 80 3D */ lis r3, lbl_803CCE44@ha -/* 8003F10C 0003C06C C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003F110 0003C070 54 86 10 3A */ slwi r6, r4, 2 -/* 8003F114 0003C074 38 A0 FF FF */ li r5, -1 -/* 8003F118 0003C078 38 83 CE 44 */ addi r4, r3, lbl_803CCE44@l -/* 8003F11C 0003C07C 38 60 00 01 */ li r3, 1 -/* 8003F120 0003C080 7C C4 30 2E */ lwzx r6, r4, r6 -/* 8003F124 0003C084 38 81 00 0C */ addi r4, r1, 0xc -/* 8003F128 0003C088 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8003F12C 0003C08C 38 A0 00 00 */ li r5, 0 -/* 8003F130 0003C090 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8003F134 0003C094 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8003F138 0003C098 98 61 00 18 */ stb r3, 0x18(r1) -/* 8003F13C 0003C09C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8003F140 0003C0A0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8003F144 0003C0A4 98 01 00 24 */ stb r0, 0x24(r1) -/* 8003F148 0003C0A8 90 01 00 28 */ stw r0, 0x28(r1) -/* 8003F14C 0003C0AC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8003F150 0003C0B0 90 01 00 30 */ stw r0, 0x30(r1) -/* 8003F154 0003C0B4 80 7F 06 F0 */ lwz r3, 0x6f0(r31) -/* 8003F158 0003C0B8 4B FE DC 25 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 8003F15C 0003C0BC 7F E3 FB 78 */ mr r3, r31 -/* 8003F160 0003C0C0 7F 84 E3 78 */ mr r4, r28 -/* 8003F164 0003C0C4 38 A0 00 00 */ li r5, 0 -/* 8003F168 0003C0C8 48 00 01 D9 */ bl Reset__10CPlayerGunFR13CStateManager -/* 8003F16C 0003C0CC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8003F170 0003C0D0 41 82 00 28 */ beq lbl_8003F198 -/* 8003F174 0003C0D4 A9 02 C5 F8 */ lha r8, lbl_805AE318@sda21(r2) -/* 8003F178 0003C0D8 38 61 00 08 */ addi r3, r1, 8 -/* 8003F17C 0003C0DC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8003F180 0003C0E0 38 80 06 EE */ li r4, 0x6ee -/* 8003F184 0003C0E4 38 A0 00 7F */ li r5, 0x7f -/* 8003F188 0003C0E8 38 C0 00 40 */ li r6, 0x40 -/* 8003F18C 0003C0EC 38 E0 00 01 */ li r7, 1 -/* 8003F190 0003C0F0 39 20 00 00 */ li r9, 0 -/* 8003F194 0003C0F4 48 2A AB E1 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8003F198: -/* 8003F198 0003C0F8 80 1F 02 EC */ lwz r0, 0x2ec(r31) -/* 8003F19C 0003C0FC 38 60 00 01 */ li r3, 1 -/* 8003F1A0 0003C100 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 8003F1A4 0003C104 90 1F 02 EC */ stw r0, 0x2ec(r31) -/* 8003F1A8 0003C108 80 1F 03 10 */ lwz r0, 0x310(r31) -/* 8003F1AC 0003C10C 90 1F 03 20 */ stw r0, 0x320(r31) -/* 8003F1B0 0003C110 88 1F 08 33 */ lbz r0, 0x833(r31) -/* 8003F1B4 0003C114 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003F1B8 0003C118 98 1F 08 33 */ stb r0, 0x833(r31) -/* 8003F1BC 0003C11C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8003F1C0 0003C120 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8003F1C4 0003C124 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8003F1C8 0003C128 83 81 00 40 */ lwz r28, 0x40(r1) -/* 8003F1CC 0003C12C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8003F1D0 0003C130 7C 08 03 A6 */ mtlr r0 -/* 8003F1D4 0003C134 38 21 00 50 */ addi r1, r1, 0x50 -/* 8003F1D8 0003C138 4E 80 00 20 */ blr - -.global ResetCharge__10CPlayerGunFR13CStateManagerb -ResetCharge__10CPlayerGunFR13CStateManagerb: -/* 8003F1DC 0003C13C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003F1E0 0003C140 7C 08 02 A6 */ mflr r0 -/* 8003F1E4 0003C144 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003F1E8 0003C148 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003F1EC 0003C14C 7C 7F 1B 78 */ mr r31, r3 -/* 8003F1F0 0003C150 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003F1F4 0003C154 7C 9E 23 78 */ mr r30, r4 -/* 8003F1F8 0003C158 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003F1FC 0003C15C 7C BD 2B 78 */ mr r29, r5 -/* 8003F200 0003C160 80 03 03 2C */ lwz r0, 0x32c(r3) -/* 8003F204 0003C164 2C 00 00 00 */ cmpwi r0, 0 -/* 8003F208 0003C168 41 82 00 08 */ beq lbl_8003F210 -/* 8003F20C 0003C16C 4B FF D9 49 */ bl StopChargeSound__10CPlayerGunFR13CStateManager -lbl_8003F210: -/* 8003F210 0003C170 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 8003F214 0003C174 54 60 07 38 */ rlwinm r0, r3, 0, 0x1c, 0x1c -/* 8003F218 0003C178 2C 00 00 08 */ cmpwi r0, 8 -/* 8003F21C 0003C17C 41 82 00 C4 */ beq lbl_8003F2E0 -/* 8003F220 0003C180 54 60 06 F6 */ rlwinm r0, r3, 0, 0x1b, 0x1b -/* 8003F224 0003C184 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003F228 0003C188 41 82 00 B8 */ beq lbl_8003F2E0 -/* 8003F22C 0003C18C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8003F230 0003C190 3B C0 00 01 */ li r30, 1 -/* 8003F234 0003C194 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8003F238 0003C198 2C 00 00 01 */ cmpwi r0, 1 -/* 8003F23C 0003C19C 41 82 00 10 */ beq lbl_8003F24C -/* 8003F240 0003C1A0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8003F244 0003C1A4 40 82 00 08 */ bne lbl_8003F24C -/* 8003F248 0003C1A8 3B C0 00 00 */ li r30, 0 -lbl_8003F24C: -/* 8003F24C 0003C1AC 88 1F 08 32 */ lbz r0, 0x832(r31) -/* 8003F250 0003C1B0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8003F254 0003C1B4 40 82 00 0C */ bne lbl_8003F260 -/* 8003F258 0003C1B8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8003F25C 0003C1BC 41 82 00 14 */ beq lbl_8003F270 -lbl_8003F260: -/* 8003F260 0003C1C0 7F E3 FB 78 */ mr r3, r31 -/* 8003F264 0003C1C4 38 80 00 00 */ li r4, 0 -/* 8003F268 0003C1C8 38 A0 00 00 */ li r5, 0 -/* 8003F26C 0003C1CC 48 00 26 59 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -lbl_8003F270: -/* 8003F270 0003C1D0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8003F274 0003C1D4 41 82 00 1C */ beq lbl_8003F290 -/* 8003F278 0003C1D8 80 7F 07 2C */ lwz r3, 0x72c(r31) -/* 8003F27C 0003C1DC 38 80 00 00 */ li r4, 0 -/* 8003F280 0003C1E0 81 83 00 00 */ lwz r12, 0(r3) -/* 8003F284 0003C1E4 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8003F288 0003C1E8 7D 89 03 A6 */ mtctr r12 -/* 8003F28C 0003C1EC 4E 80 04 21 */ bctrl -lbl_8003F290: -/* 8003F290 0003C1F0 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 8003F294 0003C1F4 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e -/* 8003F298 0003C1F8 2C 00 00 02 */ cmpwi r0, 2 -/* 8003F29C 0003C1FC 40 82 00 10 */ bne lbl_8003F2AC -/* 8003F2A0 0003C200 80 1F 03 30 */ lwz r0, 0x330(r31) -/* 8003F2A4 0003C204 2C 00 00 00 */ cmpwi r0, 0 -/* 8003F2A8 0003C208 41 82 00 38 */ beq lbl_8003F2E0 -lbl_8003F2AC: -/* 8003F2AC 0003C20C 54 60 07 38 */ rlwinm r0, r3, 0, 0x1c, 0x1c -/* 8003F2B0 0003C210 2C 00 00 08 */ cmpwi r0, 8 -/* 8003F2B4 0003C214 41 82 00 20 */ beq lbl_8003F2D4 -/* 8003F2B8 0003C218 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 8003F2BC 0003C21C 38 00 FF E9 */ li r0, -23 -/* 8003F2C0 0003C220 60 63 00 01 */ ori r3, r3, 1 -/* 8003F2C4 0003C224 90 7F 02 F8 */ stw r3, 0x2f8(r31) -/* 8003F2C8 0003C228 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 8003F2CC 0003C22C 7C 60 00 38 */ and r0, r3, r0 -/* 8003F2D0 0003C230 90 1F 02 F8 */ stw r0, 0x2f8(r31) -lbl_8003F2D4: -/* 8003F2D4 0003C234 38 00 00 00 */ li r0, 0 -/* 8003F2D8 0003C238 90 1F 03 18 */ stw r0, 0x318(r31) -/* 8003F2DC 0003C23C 90 1F 03 1C */ stw r0, 0x31c(r31) -lbl_8003F2E0: -/* 8003F2E0 0003C240 38 80 00 00 */ li r4, 0 -/* 8003F2E4 0003C244 38 60 00 01 */ li r3, 1 -/* 8003F2E8 0003C248 90 9F 03 2C */ stw r4, 0x32c(r31) -/* 8003F2EC 0003C24C C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003F2F0 0003C250 90 9F 03 30 */ stw r4, 0x330(r31) -/* 8003F2F4 0003C254 80 1F 03 10 */ lwz r0, 0x310(r31) -/* 8003F2F8 0003C258 90 1F 03 20 */ stw r0, 0x320(r31) -/* 8003F2FC 0003C25C 88 1F 08 33 */ lbz r0, 0x833(r31) -/* 8003F300 0003C260 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8003F304 0003C264 98 1F 08 33 */ stb r0, 0x833(r31) -/* 8003F308 0003C268 88 1F 08 32 */ lbz r0, 0x832(r31) -/* 8003F30C 0003C26C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8003F310 0003C270 98 1F 08 32 */ stb r0, 0x832(r31) -/* 8003F314 0003C274 88 1F 08 32 */ lbz r0, 0x832(r31) -/* 8003F318 0003C278 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8003F31C 0003C27C 98 1F 08 32 */ stb r0, 0x832(r31) -/* 8003F320 0003C280 D0 1F 03 44 */ stfs f0, 0x344(r31) -/* 8003F324 0003C284 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003F328 0003C288 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003F32C 0003C28C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8003F330 0003C290 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003F334 0003C294 7C 08 03 A6 */ mtlr r0 -/* 8003F338 0003C298 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003F33C 0003C29C 4E 80 00 20 */ blr - -.global Reset__10CPlayerGunFR13CStateManager -Reset__10CPlayerGunFR13CStateManager: -/* 8003F340 0003C2A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8003F344 0003C2A4 7C 08 02 A6 */ mflr r0 -/* 8003F348 0003C2A8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8003F34C 0003C2AC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003F350 0003C2B0 7C 7F 1B 78 */ mr r31, r3 -/* 8003F354 0003C2B4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003F358 0003C2B8 7C BE 2B 78 */ mr r30, r5 -/* 8003F35C 0003C2BC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8003F360 0003C2C0 7C 9D 23 78 */ mr r29, r4 -/* 8003F364 0003C2C4 80 63 07 2C */ lwz r3, 0x72c(r3) -/* 8003F368 0003C2C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003F36C 0003C2CC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8003F370 0003C2D0 7D 89 03 A6 */ mtctr r12 -/* 8003F374 0003C2D4 4E 80 04 21 */ bctrl -/* 8003F378 0003C2D8 88 1F 08 32 */ lbz r0, 0x832(r31) -/* 8003F37C 0003C2DC 38 C0 00 00 */ li r6, 0 -/* 8003F380 0003C2E0 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 8003F384 0003C2E4 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003F388 0003C2E8 98 1F 08 32 */ stb r0, 0x832(r31) -/* 8003F38C 0003C2EC 7F E3 FB 78 */ mr r3, r31 -/* 8003F390 0003C2F0 7F A5 EB 78 */ mr r5, r29 -/* 8003F394 0003C2F4 38 80 00 00 */ li r4, 0 -/* 8003F398 0003C2F8 88 1F 08 32 */ lbz r0, 0x832(r31) -/* 8003F39C 0003C2FC 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 8003F3A0 0003C300 98 1F 08 32 */ stb r0, 0x832(r31) -/* 8003F3A4 0003C304 88 1F 08 33 */ lbz r0, 0x833(r31) -/* 8003F3A8 0003C308 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 8003F3AC 0003C30C 98 1F 08 33 */ stb r0, 0x833(r31) -/* 8003F3B0 0003C310 D0 1F 03 48 */ stfs f0, 0x348(r31) -/* 8003F3B4 0003C314 4B FF C0 BD */ bl SetGunLightActive__10CPlayerGunFbR13CStateManager -/* 8003F3B8 0003C318 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 8003F3BC 0003C31C 54 60 06 F6 */ rlwinm r0, r3, 0, 0x1b, 0x1b -/* 8003F3C0 0003C320 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003F3C4 0003C324 41 82 00 50 */ beq lbl_8003F414 -/* 8003F3C8 0003C328 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8003F3CC 0003C32C 40 82 00 54 */ bne lbl_8003F420 -/* 8003F3D0 0003C330 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e -/* 8003F3D4 0003C334 2C 00 00 02 */ cmpwi r0, 2 -/* 8003F3D8 0003C338 41 82 00 48 */ beq lbl_8003F420 -/* 8003F3DC 0003C33C 54 60 07 38 */ rlwinm r0, r3, 0, 0x1c, 0x1c -/* 8003F3E0 0003C340 2C 00 00 08 */ cmpwi r0, 8 -/* 8003F3E4 0003C344 41 82 00 20 */ beq lbl_8003F404 -/* 8003F3E8 0003C348 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 8003F3EC 0003C34C 38 00 FF E9 */ li r0, -23 -/* 8003F3F0 0003C350 60 63 00 01 */ ori r3, r3, 1 -/* 8003F3F4 0003C354 90 7F 02 F8 */ stw r3, 0x2f8(r31) -/* 8003F3F8 0003C358 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 8003F3FC 0003C35C 7C 60 00 38 */ and r0, r3, r0 -/* 8003F400 0003C360 90 1F 02 F8 */ stw r0, 0x2f8(r31) -lbl_8003F404: -/* 8003F404 0003C364 38 00 00 00 */ li r0, 0 -/* 8003F408 0003C368 90 1F 03 18 */ stw r0, 0x318(r31) -/* 8003F40C 0003C36C 90 1F 03 1C */ stw r0, 0x31c(r31) -/* 8003F410 0003C370 48 00 00 10 */ b lbl_8003F420 -lbl_8003F414: -/* 8003F414 0003C374 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 8003F418 0003C378 54 00 00 38 */ rlwinm r0, r0, 0, 0, 0x1c -/* 8003F41C 0003C37C 90 1F 02 F8 */ stw r0, 0x2f8(r31) -lbl_8003F420: -/* 8003F420 0003C380 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8003F424 0003C384 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003F428 0003C388 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003F42C 0003C38C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8003F430 0003C390 7C 08 03 A6 */ mtlr r0 -/* 8003F434 0003C394 38 21 00 20 */ addi r1, r1, 0x20 -/* 8003F438 0003C398 4E 80 00 20 */ blr - -.global UpdateChargeState__10CPlayerGunFfR13CStateManager -UpdateChargeState__10CPlayerGunFfR13CStateManager: -/* 8003F43C 0003C39C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8003F440 0003C3A0 7C 08 02 A6 */ mflr r0 -/* 8003F444 0003C3A4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8003F448 0003C3A8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8003F44C 0003C3AC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8003F450 0003C3B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8003F454 0003C3B4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8003F458 0003C3B8 7C 7E 1B 78 */ mr r30, r3 -/* 8003F45C 0003C3BC FF E0 08 90 */ fmr f31, f1 -/* 8003F460 0003C3C0 80 03 03 2C */ lwz r0, 0x32c(r3) -/* 8003F464 0003C3C4 7C 9F 23 78 */ mr r31, r4 -/* 8003F468 0003C3C8 28 00 00 0A */ cmplwi r0, 0xa -/* 8003F46C 0003C3CC 41 81 02 C0 */ bgt lbl_8003F72C -/* 8003F470 0003C3D0 3C A0 80 3E */ lis r5, lbl_803D9DD8@ha -/* 8003F474 0003C3D4 54 00 10 3A */ slwi r0, r0, 2 -/* 8003F478 0003C3D8 38 A5 9D D8 */ addi r5, r5, lbl_803D9DD8@l -/* 8003F47C 0003C3DC 7C 05 00 2E */ lwzx r0, r5, r0 -/* 8003F480 0003C3E0 7C 09 03 A6 */ mtctr r0 -/* 8003F484 0003C3E4 4E 80 04 20 */ bctr -/* 8003F488 0003C3E8 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003F48C 0003C3EC 38 A0 00 00 */ li r5, 0 -/* 8003F490 0003C3F0 38 80 00 01 */ li r4, 1 -/* 8003F494 0003C3F4 38 00 00 02 */ li r0, 2 -/* 8003F498 0003C3F8 D0 1E 03 40 */ stfs f0, 0x340(r30) -/* 8003F49C 0003C3FC 90 BE 03 30 */ stw r5, 0x330(r30) -/* 8003F4A0 0003C400 88 7E 08 32 */ lbz r3, 0x832(r30) -/* 8003F4A4 0003C404 50 A3 26 F6 */ rlwimi r3, r5, 4, 0x1b, 0x1b -/* 8003F4A8 0003C408 98 7E 08 32 */ stb r3, 0x832(r30) -/* 8003F4AC 0003C40C 88 7E 08 34 */ lbz r3, 0x834(r30) -/* 8003F4B0 0003C410 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 8003F4B4 0003C414 98 7E 08 34 */ stb r3, 0x834(r30) -/* 8003F4B8 0003C418 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003F4BC 0003C41C 48 00 02 70 */ b lbl_8003F72C -/* 8003F4C0 0003C420 88 9E 08 32 */ lbz r4, 0x832(r30) -/* 8003F4C4 0003C424 54 80 E7 FE */ rlwinm r0, r4, 0x1c, 0x1f, 0x1f -/* 8003F4C8 0003C428 28 00 00 01 */ cmplwi r0, 1 -/* 8003F4CC 0003C42C 41 82 00 C0 */ beq lbl_8003F58C -/* 8003F4D0 0003C430 C0 3E 03 40 */ lfs f1, 0x340(r30) -/* 8003F4D4 0003C434 C0 0D A1 BC */ lfs f0, lbl_805A8D7C@sda21(r13) -/* 8003F4D8 0003C438 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003F4DC 0003C43C 40 81 00 18 */ ble lbl_8003F4F4 -/* 8003F4E0 0003C440 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 8003F4E4 0003C444 41 82 00 10 */ beq lbl_8003F4F4 -/* 8003F4E8 0003C448 38 00 00 00 */ li r0, 0 -/* 8003F4EC 0003C44C 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 8003F4F0 0003C450 98 9E 08 32 */ stb r4, 0x832(r30) -lbl_8003F4F4: -/* 8003F4F4 0003C454 C0 3E 03 40 */ lfs f1, 0x340(r30) -/* 8003F4F8 0003C458 C0 0D A1 B0 */ lfs f0, lbl_805A8D70@sda21(r13) -/* 8003F4FC 0003C45C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003F500 0003C460 40 81 02 2C */ ble lbl_8003F72C -/* 8003F504 0003C464 7F C3 F3 78 */ mr r3, r30 -/* 8003F508 0003C468 38 80 00 02 */ li r4, 2 -/* 8003F50C 0003C46C 38 A0 00 00 */ li r5, 0 -/* 8003F510 0003C470 48 00 23 B5 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -/* 8003F514 0003C474 80 1E 02 E0 */ lwz r0, 0x2e0(r30) -/* 8003F518 0003C478 28 00 00 00 */ cmplwi r0, 0 -/* 8003F51C 0003C47C 40 82 00 34 */ bne lbl_8003F550 -/* 8003F520 0003C480 80 7E 03 10 */ lwz r3, 0x310(r30) -/* 8003F524 0003C484 38 8D 82 40 */ addi r4, r13, lbl_805A6E00@sda21 -/* 8003F528 0003C488 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003F52C 0003C48C 38 C0 00 01 */ li r6, 1 -/* 8003F530 0003C490 54 65 08 3C */ slwi r5, r3, 1 -/* 8003F534 0003C494 38 61 00 0C */ addi r3, r1, 0xc -/* 8003F538 0003C498 7C 84 2A 2E */ lhzx r4, r4, r5 -/* 8003F53C 0003C49C 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 8003F540 0003C4A0 38 E0 00 4A */ li r7, 0x4a -/* 8003F544 0003C4A4 48 24 B5 B5 */ bl play_sfx__12NWeaponTypesFUsbbs -/* 8003F548 0003C4A8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8003F54C 0003C4AC 90 1E 02 E0 */ stw r0, 0x2e0(r30) -lbl_8003F550: -/* 8003F550 0003C4B0 A8 1E 08 30 */ lha r0, 0x830(r30) -/* 8003F554 0003C4B4 2C 00 FF FF */ cmpwi r0, -1 -/* 8003F558 0003C4B8 40 82 00 20 */ bne lbl_8003F578 -/* 8003F55C 0003C4BC 80 7F 08 8C */ lwz r3, 0x88c(r31) -/* 8003F560 0003C4C0 7F E4 FB 78 */ mr r4, r31 -/* 8003F564 0003C4C4 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 8003F568 0003C4C8 38 A0 00 0C */ li r5, 0xc -/* 8003F56C 0003C4CC 38 C0 00 03 */ li r6, 3 -/* 8003F570 0003C4D0 48 1E EC D5 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority -/* 8003F574 0003C4D4 B0 7E 08 30 */ sth r3, 0x830(r30) -lbl_8003F578: -/* 8003F578 0003C4D8 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003F57C 0003C4DC 38 60 00 01 */ li r3, 1 -/* 8003F580 0003C4E0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8003F584 0003C4E4 98 1E 08 32 */ stb r0, 0x832(r30) -/* 8003F588 0003C4E8 48 00 01 A4 */ b lbl_8003F72C -lbl_8003F58C: -/* 8003F58C 0003C4EC C0 3E 03 40 */ lfs f1, 0x340(r30) -/* 8003F590 0003C4F0 C0 0D A1 C0 */ lfs f0, lbl_805A8D80@sda21(r13) -/* 8003F594 0003C4F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003F598 0003C4F8 4C 41 13 82 */ cror 2, 1, 2 -/* 8003F59C 0003C4FC 40 82 01 90 */ bne lbl_8003F72C -/* 8003F5A0 0003C500 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003F5A4 0003C504 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c -/* 8003F5A8 0003C508 2C 00 00 08 */ cmpwi r0, 8 -/* 8003F5AC 0003C50C 41 82 01 80 */ beq lbl_8003F72C -/* 8003F5B0 0003C510 39 00 00 01 */ li r8, 1 -/* 8003F5B4 0003C514 38 E0 00 00 */ li r7, 0 -/* 8003F5B8 0003C518 51 04 36 72 */ rlwimi r4, r8, 6, 0x19, 0x19 -/* 8003F5BC 0003C51C 38 00 00 03 */ li r0, 3 -/* 8003F5C0 0003C520 98 9E 08 32 */ stb r4, 0x832(r30) -/* 8003F5C4 0003C524 7F E5 FB 78 */ mr r5, r31 -/* 8003F5C8 0003C528 38 80 00 01 */ li r4, 1 -/* 8003F5CC 0003C52C 88 DE 08 32 */ lbz r6, 0x832(r30) -/* 8003F5D0 0003C530 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b -/* 8003F5D4 0003C534 98 DE 08 32 */ stb r6, 0x832(r30) -/* 8003F5D8 0003C538 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003F5DC 0003C53C 91 1E 03 30 */ stw r8, 0x330(r30) -/* 8003F5E0 0003C540 48 00 01 DD */ bl EnableChargeFx__10CPlayerGunFQ212CPlayerState12EChargeStageR13CStateManager -/* 8003F5E4 0003C544 7F C3 F3 78 */ mr r3, r30 -/* 8003F5E8 0003C548 38 80 00 03 */ li r4, 3 -/* 8003F5EC 0003C54C 38 A0 00 01 */ li r5, 1 -/* 8003F5F0 0003C550 48 00 22 D5 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -/* 8003F5F4 0003C554 48 00 01 38 */ b lbl_8003F72C -/* 8003F5F8 0003C558 C0 3E 03 40 */ lfs f1, 0x340(r30) -/* 8003F5FC 0003C55C C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003F600 0003C560 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003F604 0003C564 4C 41 13 82 */ cror 2, 1, 2 -/* 8003F608 0003C568 40 82 01 24 */ bne lbl_8003F72C -/* 8003F60C 0003C56C 38 00 00 04 */ li r0, 4 -/* 8003F610 0003C570 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003F614 0003C574 48 00 01 18 */ b lbl_8003F72C -/* 8003F618 0003C578 C0 3E 03 44 */ lfs f1, 0x344(r30) -/* 8003F61C 0003C57C C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003F620 0003C580 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003F624 0003C584 4C 41 13 82 */ cror 2, 1, 2 -/* 8003F628 0003C588 40 82 01 04 */ bne lbl_8003F72C -/* 8003F62C 0003C58C 38 00 00 06 */ li r0, 6 -/* 8003F630 0003C590 38 60 00 00 */ li r3, 0 -/* 8003F634 0003C594 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003F638 0003C598 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003F63C 0003C59C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003F640 0003C5A0 98 1E 08 32 */ stb r0, 0x832(r30) -/* 8003F644 0003C5A4 48 00 00 E8 */ b lbl_8003F72C -/* 8003F648 0003C5A8 38 00 00 07 */ li r0, 7 -/* 8003F64C 0003C5AC C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8003F650 0003C5B0 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003F654 0003C5B4 D0 1E 03 48 */ stfs f0, 0x348(r30) -/* 8003F658 0003C5B8 48 00 00 D4 */ b lbl_8003F72C -/* 8003F65C 0003C5BC 80 7E 07 40 */ lwz r3, 0x740(r30) -/* 8003F660 0003C5C0 7F E5 FB 78 */ mr r5, r31 -/* 8003F664 0003C5C4 80 9E 03 10 */ lwz r4, 0x310(r30) -/* 8003F668 0003C5C8 48 0D E8 ED */ bl EnterComboFire__11CGrappleArmFiR13CStateManager -/* 8003F66C 0003C5CC 80 7E 07 3C */ lwz r3, 0x73c(r30) -/* 8003F670 0003C5D0 7F E5 FB 78 */ mr r5, r31 -/* 8003F674 0003C5D4 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003F678 0003C5D8 38 80 00 04 */ li r4, 4 -/* 8003F67C 0003C5DC 38 C0 00 00 */ li r6, 0 -/* 8003F680 0003C5E0 48 19 9B 39 */ bl PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb -/* 8003F684 0003C5E4 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003F688 0003C5E8 7F E5 FB 78 */ mr r5, r31 -/* 8003F68C 0003C5EC C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 8003F690 0003C5F0 38 80 00 04 */ li r4, 4 -/* 8003F694 0003C5F4 48 17 D0 ED */ bl PlayPasAnim__10CGunWeaponFQ28SamusGun15EAnimationStateR13CStateManagerf -/* 8003F698 0003C5F8 88 7E 08 33 */ lbz r3, 0x833(r30) -/* 8003F69C 0003C5FC 38 00 00 00 */ li r0, 0 -/* 8003F6A0 0003C600 50 03 07 FE */ rlwimi r3, r0, 0, 0x1f, 0x1f -/* 8003F6A4 0003C604 38 00 00 08 */ li r0, 8 -/* 8003F6A8 0003C608 98 7E 08 33 */ stb r3, 0x833(r30) -/* 8003F6AC 0003C60C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003F6B0 0003C610 48 00 00 7C */ b lbl_8003F72C -/* 8003F6B4 0003C614 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003F6B8 0003C618 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 8003F6BC 0003C61C 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8003F6C0 0003C620 41 82 00 40 */ beq lbl_8003F700 -/* 8003F6C4 0003C624 C0 3E 03 48 */ lfs f1, 0x348(r30) -/* 8003F6C8 0003C628 C0 02 84 EC */ lfs f0, lbl_805AA20C@sda21(r2) -/* 8003F6CC 0003C62C EC 21 F8 2A */ fadds f1, f1, f31 -/* 8003F6D0 0003C630 D0 3E 03 48 */ stfs f1, 0x348(r30) -/* 8003F6D4 0003C634 C0 3E 03 48 */ lfs f1, 0x348(r30) -/* 8003F6D8 0003C638 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003F6DC 0003C63C 4C 41 13 82 */ cror 2, 1, 2 -/* 8003F6E0 0003C640 40 82 00 4C */ bne lbl_8003F72C -/* 8003F6E4 0003C644 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003F6E8 0003C648 48 17 D0 21 */ bl IsChargeAnimOver__10CGunWeaponCFv -/* 8003F6EC 0003C64C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003F6F0 0003C650 41 82 00 3C */ beq lbl_8003F72C -/* 8003F6F4 0003C654 38 00 00 0A */ li r0, 0xa -/* 8003F6F8 0003C658 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003F6FC 0003C65C 48 00 00 30 */ b lbl_8003F72C -lbl_8003F700: -/* 8003F700 0003C660 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003F704 0003C664 38 60 00 00 */ li r3, 0 -/* 8003F708 0003C668 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8003F70C 0003C66C 98 1E 08 32 */ stb r0, 0x832(r30) -/* 8003F710 0003C670 48 00 00 1C */ b lbl_8003F72C -/* 8003F714 0003C674 38 A0 00 00 */ li r5, 0 -/* 8003F718 0003C678 4B FF FA C5 */ bl ResetCharge__10CPlayerGunFR13CStateManagerb -/* 8003F71C 0003C67C 7F C3 F3 78 */ mr r3, r30 -/* 8003F720 0003C680 7F E4 FB 78 */ mr r4, r31 -/* 8003F724 0003C684 38 A0 00 00 */ li r5, 0 -/* 8003F728 0003C688 4B FF FC 19 */ bl Reset__10CPlayerGunFR13CStateManager -lbl_8003F72C: -/* 8003F72C 0003C68C 80 1E 02 E0 */ lwz r0, 0x2e0(r30) -/* 8003F730 0003C690 28 00 00 00 */ cmplwi r0, 0 -/* 8003F734 0003C694 41 82 00 30 */ beq lbl_8003F764 -/* 8003F738 0003C698 88 BE 08 34 */ lbz r5, 0x834(r30) -/* 8003F73C 0003C69C 38 80 20 00 */ li r4, 0x2000 -/* 8003F740 0003C6A0 80 1E 02 E0 */ lwz r0, 0x2e0(r30) -/* 8003F744 0003C6A4 38 61 00 08 */ addi r3, r1, 8 -/* 8003F748 0003C6A8 54 A6 E7 FE */ rlwinm r6, r5, 0x1c, 0x1f, 0x1f -/* 8003F74C 0003C6AC 7C A6 00 D0 */ neg r5, r6 -/* 8003F750 0003C6B0 90 01 00 08 */ stw r0, 8(r1) -/* 8003F754 0003C6B4 7C A0 33 78 */ or r0, r5, r6 -/* 8003F758 0003C6B8 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8003F75C 0003C6BC 7C 84 00 78 */ andc r4, r4, r0 -/* 8003F760 0003C6C0 48 2A 97 4D */ bl PitchBend__11CSfxManagerF10CSfxHandlei -lbl_8003F764: -/* 8003F764 0003C6C4 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 8003F768 0003C6C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8003F76C 0003C6CC 40 81 00 30 */ ble lbl_8003F79C -/* 8003F770 0003C6D0 2C 00 00 04 */ cmpwi r0, 4 -/* 8003F774 0003C6D4 40 80 00 28 */ bge lbl_8003F79C -/* 8003F778 0003C6D8 C0 4D A1 B8 */ lfs f2, lbl_805A8D78@sda21(r13) -/* 8003F77C 0003C6DC C0 3E 03 40 */ lfs f1, 0x340(r30) -/* 8003F780 0003C6E0 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8003F784 0003C6E4 EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 8003F788 0003C6E8 D0 3E 03 40 */ stfs f1, 0x340(r30) -/* 8003F78C 0003C6EC C0 3E 03 40 */ lfs f1, 0x340(r30) -/* 8003F790 0003C6F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8003F794 0003C6F4 40 81 00 08 */ ble lbl_8003F79C -/* 8003F798 0003C6F8 D0 1E 03 40 */ stfs f0, 0x340(r30) -lbl_8003F79C: -/* 8003F79C 0003C6FC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8003F7A0 0003C700 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8003F7A4 0003C704 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8003F7A8 0003C708 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8003F7AC 0003C70C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8003F7B0 0003C710 7C 08 03 A6 */ mtlr r0 -/* 8003F7B4 0003C714 38 21 00 30 */ addi r1, r1, 0x30 -/* 8003F7B8 0003C718 4E 80 00 20 */ blr - -.global EnableChargeFx__10CPlayerGunFQ212CPlayerState12EChargeStageR13CStateManager -EnableChargeFx__10CPlayerGunFQ212CPlayerState12EChargeStageR13CStateManager: -/* 8003F7BC 0003C71C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8003F7C0 0003C720 7C 08 02 A6 */ mflr r0 -/* 8003F7C4 0003C724 38 80 00 01 */ li r4, 1 -/* 8003F7C8 0003C728 90 01 00 34 */ stw r0, 0x34(r1) -/* 8003F7CC 0003C72C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8003F7D0 0003C730 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8003F7D4 0003C734 7C 7E 1B 78 */ mr r30, r3 -/* 8003F7D8 0003C738 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8003F7DC 0003C73C 93 81 00 20 */ stw r28, 0x20(r1) -/* 8003F7E0 0003C740 7C BC 2B 78 */ mr r28, r5 -/* 8003F7E4 0003C744 38 A0 00 00 */ li r5, 0 -/* 8003F7E8 0003C748 80 63 07 2C */ lwz r3, 0x72c(r3) -/* 8003F7EC 0003C74C 48 17 C7 9D */ bl ActivateCharge__10CGunWeaponFbb -/* 8003F7F0 0003C750 7F C3 F3 78 */ mr r3, r30 -/* 8003F7F4 0003C754 7F 85 E3 78 */ mr r5, r28 -/* 8003F7F8 0003C758 38 80 00 01 */ li r4, 1 -/* 8003F7FC 0003C75C 4B FF BC 75 */ bl SetGunLightActive__10CPlayerGunFbR13CStateManager -/* 8003F800 0003C760 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003F804 0003C764 38 80 00 01 */ li r4, 1 -/* 8003F808 0003C768 81 83 00 00 */ lwz r12, 0(r3) -/* 8003F80C 0003C76C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8003F810 0003C770 7D 89 03 A6 */ mtctr r12 -/* 8003F814 0003C774 4E 80 04 21 */ bctrl -/* 8003F818 0003C778 7F C3 F3 78 */ mr r3, r30 -/* 8003F81C 0003C77C 7F 84 E3 78 */ mr r4, r28 -/* 8003F820 0003C780 38 A0 00 00 */ li r5, 0 -/* 8003F824 0003C784 4B FF CB 8D */ bl StopContinuousBeam__10CPlayerGunFR13CStateManagerb -/* 8003F828 0003C788 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 8003F82C 0003C78C 2C 00 00 03 */ cmpwi r0, 3 -/* 8003F830 0003C790 41 82 00 14 */ beq lbl_8003F844 -/* 8003F834 0003C794 40 80 00 20 */ bge lbl_8003F854 -/* 8003F838 0003C798 2C 00 00 00 */ cmpwi r0, 0 -/* 8003F83C 0003C79C 41 82 00 08 */ beq lbl_8003F844 -/* 8003F840 0003C7A0 48 00 00 14 */ b lbl_8003F854 -lbl_8003F844: -/* 8003F844 0003C7A4 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003F848 0003C7A8 38 60 00 01 */ li r3, 1 -/* 8003F84C 0003C7AC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8003F850 0003C7B0 98 1E 08 32 */ stb r0, 0x832(r30) -lbl_8003F854: -/* 8003F854 0003C7B4 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003F858 0003C7B8 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 8003F85C 0003C7BC 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l -/* 8003F860 0003C7C0 38 C0 00 01 */ li r6, 1 -/* 8003F864 0003C7C4 60 04 00 07 */ ori r4, r0, 7 -/* 8003F868 0003C7C8 38 00 00 00 */ li r0, 0 -/* 8003F86C 0003C7CC 90 9E 02 F8 */ stw r4, 0x2f8(r30) -/* 8003F870 0003C7D0 38 83 00 09 */ addi r4, r3, 9 -/* 8003F874 0003C7D4 3B A0 00 00 */ li r29, 0 -/* 8003F878 0003C7D8 38 60 03 40 */ li r3, 0x340 -/* 8003F87C 0003C7DC 90 DE 03 18 */ stw r6, 0x318(r30) -/* 8003F880 0003C7E0 38 A0 00 00 */ li r5, 0 -/* 8003F884 0003C7E4 90 1E 03 38 */ stw r0, 0x338(r30) -/* 8003F888 0003C7E8 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8003F88C 0003C7EC 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e -/* 8003F890 0003C7F0 98 1E 08 33 */ stb r0, 0x833(r30) -/* 8003F894 0003C7F4 48 2D 5F D9 */ bl __nw__FUlPCcPCc -/* 8003F898 0003C7F8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8003F89C 0003C7FC 41 82 00 38 */ beq lbl_8003F8D4 -/* 8003F8A0 0003C800 80 1E 03 20 */ lwz r0, 0x320(r30) -/* 8003F8A4 0003C804 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003F8A8 0003C808 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8003F8AC 0003C80C 7C 9E 02 14 */ add r4, r30, r0 -/* 8003F8B0 0003C810 38 84 07 C4 */ addi r4, r4, 0x7c4 -/* 8003F8B4 0003C814 48 30 15 F5 */ bl __ct__6CTokenFRC6CToken -/* 8003F8B8 0003C818 7F E3 FB 78 */ mr r3, r31 -/* 8003F8BC 0003C81C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003F8C0 0003C820 3B A0 00 01 */ li r29, 1 -/* 8003F8C4 0003C824 38 A0 00 00 */ li r5, 0 -/* 8003F8C8 0003C828 38 C0 00 01 */ li r6, 1 -/* 8003F8CC 0003C82C 48 2D FB 15 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8003F8D0 0003C830 7C 7F 1B 78 */ mr r31, r3 -lbl_8003F8D4: -/* 8003F8D4 0003C834 7C 1F 00 D0 */ neg r0, r31 -/* 8003F8D8 0003C838 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8003F8DC 0003C83C 7C 00 FB 78 */ or r0, r0, r31 -/* 8003F8E0 0003C840 3B FE 08 04 */ addi r31, r30, 0x804 -/* 8003F8E4 0003C844 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8003F8E8 0003C848 38 01 00 08 */ addi r0, r1, 8 -/* 8003F8EC 0003C84C 98 61 00 08 */ stb r3, 8(r1) -/* 8003F8F0 0003C850 80 7E 03 20 */ lwz r3, 0x320(r30) -/* 8003F8F4 0003C854 54 63 18 38 */ slwi r3, r3, 3 -/* 8003F8F8 0003C858 7F 9F 1A 14 */ add r28, r31, r3 -/* 8003F8FC 0003C85C 7C 00 E0 40 */ cmplw r0, r28 -/* 8003F900 0003C860 41 82 00 48 */ beq lbl_8003F948 -/* 8003F904 0003C864 88 1C 00 00 */ lbz r0, 0(r28) -/* 8003F908 0003C868 28 00 00 00 */ cmplwi r0, 0 -/* 8003F90C 0003C86C 41 82 00 24 */ beq lbl_8003F930 -/* 8003F910 0003C870 80 7C 00 04 */ lwz r3, 4(r28) -/* 8003F914 0003C874 28 03 00 00 */ cmplwi r3, 0 -/* 8003F918 0003C878 41 82 00 18 */ beq lbl_8003F930 -/* 8003F91C 0003C87C 81 83 00 00 */ lwz r12, 0(r3) -/* 8003F920 0003C880 38 80 00 01 */ li r4, 1 -/* 8003F924 0003C884 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003F928 0003C888 7D 89 03 A6 */ mtctr r12 -/* 8003F92C 0003C88C 4E 80 04 21 */ bctrl -lbl_8003F930: -/* 8003F930 0003C890 88 61 00 08 */ lbz r3, 8(r1) -/* 8003F934 0003C894 38 00 00 00 */ li r0, 0 -/* 8003F938 0003C898 98 7C 00 00 */ stb r3, 0(r28) -/* 8003F93C 0003C89C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8003F940 0003C8A0 90 7C 00 04 */ stw r3, 4(r28) -/* 8003F944 0003C8A4 98 01 00 08 */ stb r0, 8(r1) -lbl_8003F948: -/* 8003F948 0003C8A8 88 01 00 08 */ lbz r0, 8(r1) -/* 8003F94C 0003C8AC 28 00 00 00 */ cmplwi r0, 0 -/* 8003F950 0003C8B0 41 82 00 24 */ beq lbl_8003F974 -/* 8003F954 0003C8B4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8003F958 0003C8B8 28 03 00 00 */ cmplwi r3, 0 -/* 8003F95C 0003C8BC 41 82 00 18 */ beq lbl_8003F974 -/* 8003F960 0003C8C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8003F964 0003C8C4 38 80 00 01 */ li r4, 1 -/* 8003F968 0003C8C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003F96C 0003C8CC 7D 89 03 A6 */ mtctr r12 -/* 8003F970 0003C8D0 4E 80 04 21 */ bctrl -lbl_8003F974: -/* 8003F974 0003C8D4 7F A0 07 75 */ extsb. r0, r29 -/* 8003F978 0003C8D8 41 82 00 10 */ beq lbl_8003F988 -/* 8003F97C 0003C8DC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003F980 0003C8E0 38 80 00 00 */ li r4, 0 -/* 8003F984 0003C8E4 48 30 14 BD */ bl __dt__6CTokenFv -lbl_8003F988: -/* 8003F988 0003C8E8 80 1E 03 20 */ lwz r0, 0x320(r30) -/* 8003F98C 0003C8EC 38 80 00 01 */ li r4, 1 -/* 8003F990 0003C8F0 54 03 18 38 */ slwi r3, r0, 3 -/* 8003F994 0003C8F4 38 03 00 04 */ addi r0, r3, 4 -/* 8003F998 0003C8F8 7C 7F 00 2E */ lwzx r3, r31, r0 -/* 8003F99C 0003C8FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8003F9A0 0003C900 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8003F9A4 0003C904 7D 89 03 A6 */ mtctr r12 -/* 8003F9A8 0003C908 4E 80 04 21 */ bctrl -/* 8003F9AC 0003C90C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8003F9B0 0003C910 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8003F9B4 0003C914 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8003F9B8 0003C918 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8003F9BC 0003C91C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8003F9C0 0003C920 7C 08 03 A6 */ mtlr r0 -/* 8003F9C4 0003C924 38 21 00 30 */ addi r1, r1, 0x30 -/* 8003F9C8 0003C928 4E 80 00 20 */ blr - -.global ActivateCombo__10CPlayerGunFR13CStateManager -ActivateCombo__10CPlayerGunFR13CStateManager: -/* 8003F9CC 0003C92C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8003F9D0 0003C930 7C 08 02 A6 */ mflr r0 -/* 8003F9D4 0003C934 90 01 00 44 */ stw r0, 0x44(r1) -/* 8003F9D8 0003C938 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8003F9DC 0003C93C 7C 7E 1B 78 */ mr r30, r3 -/* 8003F9E0 0003C940 7C 9F 23 78 */ mr r31, r4 -/* 8003F9E4 0003C944 88 03 08 32 */ lbz r0, 0x832(r3) -/* 8003F9E8 0003C948 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f -/* 8003F9EC 0003C94C 28 00 00 01 */ cmplwi r0, 1 -/* 8003F9F0 0003C950 41 82 02 40 */ beq lbl_8003FC30 -/* 8003F9F4 0003C954 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8003F9F8 0003C958 83 83 00 00 */ lwz r28, 0(r3) -/* 8003F9FC 0003C95C 7F 83 E3 78 */ mr r3, r28 -/* 8003FA00 0003C960 48 05 18 1D */ bl GetMissileCostForAltAttack__12CPlayerStateCFv -/* 8003FA04 0003C964 80 1E 03 18 */ lwz r0, 0x318(r30) -/* 8003FA08 0003C968 7C 7D 1B 78 */ mr r29, r3 -/* 8003FA0C 0003C96C 38 82 84 60 */ addi r4, r2, lbl_805AA180@sda21 -/* 8003FA10 0003C970 7F 83 E3 78 */ mr r3, r28 -/* 8003FA14 0003C974 54 00 10 3A */ slwi r0, r0, 2 -/* 8003FA18 0003C978 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8003FA1C 0003C97C 48 05 21 01 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003FA20 0003C980 7C 03 E8 00 */ cmpw r3, r29 -/* 8003FA24 0003C984 41 80 01 F0 */ blt lbl_8003FC14 -/* 8003FA28 0003C988 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 8003FA2C 0003C98C 38 60 00 01 */ li r3, 1 -/* 8003FA30 0003C990 2C 00 00 03 */ cmpwi r0, 3 -/* 8003FA34 0003C994 40 82 00 18 */ bne lbl_8003FA4C -/* 8003FA38 0003C998 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003FA3C 0003C99C 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f -/* 8003FA40 0003C9A0 7C 00 00 34 */ cntlzw r0, r0 -/* 8003FA44 0003C9A4 54 00 D9 7E */ srwi r0, r0, 5 -/* 8003FA48 0003C9A8 7C 03 03 78 */ mr r3, r0 -lbl_8003FA4C: -/* 8003FA4C 0003C9AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003FA50 0003C9B0 41 82 01 E0 */ beq lbl_8003FC30 -/* 8003FA54 0003C9B4 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003FA58 0003C9B8 38 80 00 01 */ li r4, 1 -/* 8003FA5C 0003C9BC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8003FA60 0003C9C0 98 1E 08 32 */ stb r0, 0x832(r30) -/* 8003FA64 0003C9C4 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8003FA68 0003C9C8 3B 63 01 60 */ addi r27, r3, 0x160 -/* 8003FA6C 0003C9CC 80 03 01 68 */ lwz r0, 0x168(r3) -/* 8003FA70 0003C9D0 28 00 00 00 */ cmplwi r0, 0 -/* 8003FA74 0003C9D4 41 82 00 08 */ beq lbl_8003FA7C -/* 8003FA78 0003C9D8 48 00 00 3C */ b lbl_8003FAB4 -lbl_8003FA7C: -/* 8003FA7C 0003C9DC 88 1B 00 04 */ lbz r0, 4(r27) -/* 8003FA80 0003C9E0 28 00 00 00 */ cmplwi r0, 0 -/* 8003FA84 0003C9E4 41 82 00 2C */ beq lbl_8003FAB0 -/* 8003FA88 0003C9E8 80 7B 00 00 */ lwz r3, 0(r27) -/* 8003FA8C 0003C9EC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8003FA90 0003C9F0 28 00 00 00 */ cmplwi r0, 0 -/* 8003FA94 0003C9F4 41 82 00 1C */ beq lbl_8003FAB0 -/* 8003FA98 0003C9F8 7F 63 DB 78 */ mr r3, r27 -/* 8003FA9C 0003C9FC 48 30 13 71 */ bl GetObj__6CTokenFv -/* 8003FAA0 0003CA00 80 03 00 04 */ lwz r0, 4(r3) -/* 8003FAA4 0003CA04 38 80 00 01 */ li r4, 1 -/* 8003FAA8 0003CA08 90 1B 00 08 */ stw r0, 8(r27) -/* 8003FAAC 0003CA0C 48 00 00 08 */ b lbl_8003FAB4 -lbl_8003FAB0: -/* 8003FAB0 0003CA10 38 80 00 00 */ li r4, 0 -lbl_8003FAB4: -/* 8003FAB4 0003CA14 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8003FAB8 0003CA18 41 82 01 14 */ beq lbl_8003FBCC -/* 8003FABC 0003CA1C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 8003FAC0 0003CA20 3B A0 00 00 */ li r29, 0 -/* 8003FAC4 0003CA24 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 8003FAC8 0003CA28 38 60 03 40 */ li r3, 0x340 -/* 8003FACC 0003CA2C 38 84 00 09 */ addi r4, r4, 9 -/* 8003FAD0 0003CA30 38 A0 00 00 */ li r5, 0 -/* 8003FAD4 0003CA34 48 2D 5D 99 */ bl __nw__FUlPCcPCc -/* 8003FAD8 0003CA38 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8003FADC 0003CA3C 41 82 00 2C */ beq lbl_8003FB08 -/* 8003FAE0 0003CA40 7F 64 DB 78 */ mr r4, r27 -/* 8003FAE4 0003CA44 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003FAE8 0003CA48 48 30 13 C1 */ bl __ct__6CTokenFRC6CToken -/* 8003FAEC 0003CA4C 7F 83 E3 78 */ mr r3, r28 -/* 8003FAF0 0003CA50 38 81 00 18 */ addi r4, r1, 0x18 -/* 8003FAF4 0003CA54 3B A0 00 01 */ li r29, 1 -/* 8003FAF8 0003CA58 38 A0 00 00 */ li r5, 0 -/* 8003FAFC 0003CA5C 38 C0 00 01 */ li r6, 1 -/* 8003FB00 0003CA60 48 2D F8 E1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8003FB04 0003CA64 7C 7C 1B 78 */ mr r28, r3 -lbl_8003FB08: -/* 8003FB08 0003CA68 7C 1C 00 D0 */ neg r0, r28 -/* 8003FB0C 0003CA6C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8003FB10 0003CA70 7C 04 E3 78 */ or r4, r0, r28 -/* 8003FB14 0003CA74 38 1E 07 7C */ addi r0, r30, 0x77c -/* 8003FB18 0003CA78 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8003FB1C 0003CA7C 93 81 00 14 */ stw r28, 0x14(r1) -/* 8003FB20 0003CA80 7C 03 00 40 */ cmplw r3, r0 -/* 8003FB24 0003CA84 98 81 00 10 */ stb r4, 0x10(r1) -/* 8003FB28 0003CA88 41 82 00 48 */ beq lbl_8003FB70 -/* 8003FB2C 0003CA8C 88 1E 07 7C */ lbz r0, 0x77c(r30) -/* 8003FB30 0003CA90 28 00 00 00 */ cmplwi r0, 0 -/* 8003FB34 0003CA94 41 82 00 24 */ beq lbl_8003FB58 -/* 8003FB38 0003CA98 80 7E 07 80 */ lwz r3, 0x780(r30) -/* 8003FB3C 0003CA9C 28 03 00 00 */ cmplwi r3, 0 -/* 8003FB40 0003CAA0 41 82 00 18 */ beq lbl_8003FB58 -/* 8003FB44 0003CAA4 81 83 00 00 */ lwz r12, 0(r3) -/* 8003FB48 0003CAA8 38 80 00 01 */ li r4, 1 -/* 8003FB4C 0003CAAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003FB50 0003CAB0 7D 89 03 A6 */ mtctr r12 -/* 8003FB54 0003CAB4 4E 80 04 21 */ bctrl -lbl_8003FB58: -/* 8003FB58 0003CAB8 88 61 00 10 */ lbz r3, 0x10(r1) -/* 8003FB5C 0003CABC 38 00 00 00 */ li r0, 0 -/* 8003FB60 0003CAC0 98 7E 07 7C */ stb r3, 0x77c(r30) -/* 8003FB64 0003CAC4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8003FB68 0003CAC8 90 7E 07 80 */ stw r3, 0x780(r30) -/* 8003FB6C 0003CACC 98 01 00 10 */ stb r0, 0x10(r1) -lbl_8003FB70: -/* 8003FB70 0003CAD0 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8003FB74 0003CAD4 28 00 00 00 */ cmplwi r0, 0 -/* 8003FB78 0003CAD8 41 82 00 24 */ beq lbl_8003FB9C -/* 8003FB7C 0003CADC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8003FB80 0003CAE0 28 03 00 00 */ cmplwi r3, 0 -/* 8003FB84 0003CAE4 41 82 00 18 */ beq lbl_8003FB9C -/* 8003FB88 0003CAE8 81 83 00 00 */ lwz r12, 0(r3) -/* 8003FB8C 0003CAEC 38 80 00 01 */ li r4, 1 -/* 8003FB90 0003CAF0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8003FB94 0003CAF4 7D 89 03 A6 */ mtctr r12 -/* 8003FB98 0003CAF8 4E 80 04 21 */ bctrl -lbl_8003FB9C: -/* 8003FB9C 0003CAFC 7F A0 07 75 */ extsb. r0, r29 -/* 8003FBA0 0003CB00 41 82 00 10 */ beq lbl_8003FBB0 -/* 8003FBA4 0003CB04 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003FBA8 0003CB08 38 80 00 00 */ li r4, 0 -/* 8003FBAC 0003CB0C 48 30 12 95 */ bl __dt__6CTokenFv -lbl_8003FBB0: -/* 8003FBB0 0003CB10 80 7E 07 80 */ lwz r3, 0x780(r30) -/* 8003FBB4 0003CB14 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 8003FBB8 0003CB18 38 84 D4 04 */ addi r4, r4, lbl_8056D404@l -/* 8003FBBC 0003CB1C 81 83 00 00 */ lwz r12, 0(r3) -/* 8003FBC0 0003CB20 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8003FBC4 0003CB24 7D 89 03 A6 */ mtctr r12 -/* 8003FBC8 0003CB28 4E 80 04 21 */ bctrl -lbl_8003FBCC: -/* 8003FBCC 0003CB2C 80 BE 07 2C */ lwz r5, 0x72c(r30) -/* 8003FBD0 0003CB30 38 C0 00 01 */ li r6, 1 -/* 8003FBD4 0003CB34 7F C3 F3 78 */ mr r3, r30 -/* 8003FBD8 0003CB38 7F E4 FB 78 */ mr r4, r31 -/* 8003FBDC 0003CB3C 88 05 02 18 */ lbz r0, 0x218(r5) -/* 8003FBE0 0003CB40 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 8003FBE4 0003CB44 98 05 02 18 */ stb r0, 0x218(r5) -/* 8003FBE8 0003CB48 4B FF CF 6D */ bl StopChargeSound__10CPlayerGunFR13CStateManager -/* 8003FBEC 0003CB4C 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003FBF0 0003CB50 38 61 00 0C */ addi r3, r1, 0xc -/* 8003FBF4 0003CB54 38 80 06 E2 */ li r4, 0x6e2 -/* 8003FBF8 0003CB58 38 C0 00 00 */ li r6, 0 -/* 8003FBFC 0003CB5C 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 8003FC00 0003CB60 38 E0 00 4A */ li r7, 0x4a -/* 8003FC04 0003CB64 48 24 AE F5 */ bl play_sfx__12NWeaponTypesFUsbbs -/* 8003FC08 0003CB68 38 00 00 05 */ li r0, 5 -/* 8003FC0C 0003CB6C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003FC10 0003CB70 48 00 00 20 */ b lbl_8003FC30 -lbl_8003FC14: -/* 8003FC14 0003CB74 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003FC18 0003CB78 38 61 00 08 */ addi r3, r1, 8 -/* 8003FC1C 0003CB7C 38 80 06 F5 */ li r4, 0x6f5 -/* 8003FC20 0003CB80 38 C0 00 00 */ li r6, 0 -/* 8003FC24 0003CB84 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 8003FC28 0003CB88 38 E0 00 4A */ li r7, 0x4a -/* 8003FC2C 0003CB8C 48 24 AE CD */ bl play_sfx__12NWeaponTypesFUsbbs -lbl_8003FC30: -/* 8003FC30 0003CB90 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8003FC34 0003CB94 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8003FC38 0003CB98 7C 08 03 A6 */ mtlr r0 -/* 8003FC3C 0003CB9C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8003FC40 0003CBA0 4E 80 00 20 */ blr - -.global DropBomb__10CPlayerGunFQ210CPlayerGun8EBWeaponR13CStateManager -DropBomb__10CPlayerGunFQ210CPlayerGun8EBWeaponR13CStateManager: -/* 8003FC44 0003CBA4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8003FC48 0003CBA8 7C 08 02 A6 */ mflr r0 -/* 8003FC4C 0003CBAC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8003FC50 0003CBB0 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8003FC54 0003CBB4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8003FC58 0003CBB8 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 8003FC5C 0003CBBC 7C 9B 23 78 */ mr r27, r4 -/* 8003FC60 0003CBC0 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 8003FC64 0003CBC4 2C 1B 00 01 */ cmpwi r27, 1 -/* 8003FC68 0003CBC8 7C 7E 1B 78 */ mr r30, r3 -/* 8003FC6C 0003CBCC C3 E4 02 7C */ lfs f31, 0x27c(r4) -/* 8003FC70 0003CBD0 7C BF 2B 78 */ mr r31, r5 -/* 8003FC74 0003CBD4 41 82 01 D0 */ beq lbl_8003FE44 -/* 8003FC78 0003CBD8 40 80 01 F8 */ bge lbl_8003FE70 -/* 8003FC7C 0003CBDC 2C 1B 00 00 */ cmpwi r27, 0 -/* 8003FC80 0003CBE0 40 80 00 08 */ bge lbl_8003FC88 -/* 8003FC84 0003CBE4 48 00 01 EC */ b lbl_8003FE70 -lbl_8003FC88: -/* 8003FC88 0003CBE8 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 8003FC8C 0003CBEC 2C 00 00 00 */ cmpwi r0, 0 -/* 8003FC90 0003CBF0 41 82 00 10 */ beq lbl_8003FCA0 -/* 8003FC94 0003CBF4 38 00 00 0A */ li r0, 0xa -/* 8003FC98 0003CBF8 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8003FC9C 0003CBFC 48 00 01 D4 */ b lbl_8003FE70 -lbl_8003FCA0: -/* 8003FCA0 0003CC00 80 1E 03 08 */ lwz r0, 0x308(r30) -/* 8003FCA4 0003CC04 2C 00 00 00 */ cmpwi r0, 0 -/* 8003FCA8 0003CC08 40 81 01 C8 */ ble lbl_8003FE70 -/* 8003FCAC 0003CC0C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 8003FCB0 0003CC10 3B A0 00 00 */ li r29, 0 -/* 8003FCB4 0003CC14 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l -/* 8003FCB8 0003CC18 3B 40 00 00 */ li r26, 0 -/* 8003FCBC 0003CC1C 38 83 00 09 */ addi r4, r3, 9 -/* 8003FCC0 0003CC20 38 60 01 98 */ li r3, 0x198 -/* 8003FCC4 0003CC24 38 A0 00 00 */ li r5, 0 -/* 8003FCC8 0003CC28 48 2D 5B A5 */ bl __nw__FUlPCcPCc -/* 8003FCCC 0003CC2C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8003FCD0 0003CC30 41 82 00 C4 */ beq lbl_8003FD94 -/* 8003FCD4 0003CC34 1C 1B 00 1C */ mulli r0, r27, 0x1c -/* 8003FCD8 0003CC38 38 61 00 38 */ addi r3, r1, 0x38 -/* 8003FCDC 0003CC3C 7F 7E 02 14 */ add r27, r30, r0 -/* 8003FCE0 0003CC40 38 9B 07 8C */ addi r4, r27, 0x78c -/* 8003FCE4 0003CC44 48 30 11 C5 */ bl __ct__6CTokenFRC6CToken -/* 8003FCE8 0003CC48 38 61 00 40 */ addi r3, r1, 0x40 -/* 8003FCEC 0003CC4C 38 9B 07 98 */ addi r4, r27, 0x798 -/* 8003FCF0 0003CC50 3B 40 00 01 */ li r26, 1 -/* 8003FCF4 0003CC54 48 30 11 B5 */ bl __ct__6CTokenFRC6CToken -/* 8003FCF8 0003CC58 7F E4 FB 78 */ mr r4, r31 -/* 8003FCFC 0003CC5C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8003FD00 0003CC60 3B A0 00 01 */ li r29, 1 -/* 8003FD04 0003CC64 48 00 D3 D9 */ bl AllocateUniqueId__13CStateManagerFv -/* 8003FD08 0003CC68 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 8003FD0C 0003CC6C 38 61 00 54 */ addi r3, r1, 0x54 -/* 8003FD10 0003CC70 80 AD A1 34 */ lwz r5, gpTweakPlayerGun@sda21(r13) -/* 8003FD14 0003CC74 38 81 00 48 */ addi r4, r1, 0x48 -/* 8003FD18 0003CC78 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8003FD1C 0003CC7C C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) -/* 8003FD20 0003CC80 3B 65 00 70 */ addi r27, r5, 0x70 -/* 8003FD24 0003CC84 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8003FD28 0003CC88 80 A5 00 04 */ lwz r5, 4(r5) -/* 8003FD2C 0003CC8C 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8003FD30 0003CC90 A0 1E 05 38 */ lhz r0, 0x538(r30) -/* 8003FD34 0003CC94 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8003FD38 0003CC98 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8003FD3C 0003CC9C 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8003FD40 0003CCA0 C0 65 00 50 */ lfs f3, 0x50(r5) -/* 8003FD44 0003CCA4 C0 25 00 60 */ lfs f1, 0x60(r5) -/* 8003FD48 0003CCA8 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8003FD4C 0003CCAC EC 63 10 2A */ fadds f3, f3, f2 -/* 8003FD50 0003CCB0 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8003FD54 0003CCB4 EC 00 10 2A */ fadds f0, f0, f2 -/* 8003FD58 0003CCB8 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 8003FD5C 0003CCBC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8003FD60 0003CCC0 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8003FD64 0003CCC4 48 2D 33 DD */ bl Translate__12CTransform4fFRC9CVector3f -/* 8003FD68 0003CCC8 C0 3E 03 54 */ lfs f1, 0x354(r30) -/* 8003FD6C 0003CCCC 7F 83 E3 78 */ mr r3, r28 -/* 8003FD70 0003CCD0 7F 6A DB 78 */ mr r10, r27 -/* 8003FD74 0003CCD4 38 81 00 38 */ addi r4, r1, 0x38 -/* 8003FD78 0003CCD8 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8003FD7C 0003CCDC 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8003FD80 0003CCE0 38 E1 00 2C */ addi r7, r1, 0x2c -/* 8003FD84 0003CCE4 39 01 00 20 */ addi r8, r1, 0x20 -/* 8003FD88 0003CCE8 39 21 00 54 */ addi r9, r1, 0x54 -/* 8003FD8C 0003CCEC 48 05 0A 19 */ bl "__ct__5CBombF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdfRC12CTransform4fRC11CDamageInfo" -/* 8003FD90 0003CCF0 7C 7C 1B 78 */ mr r28, r3 -lbl_8003FD94: -/* 8003FD94 0003CCF4 7F 40 07 75 */ extsb. r0, r26 -/* 8003FD98 0003CCF8 7F 9B E3 78 */ mr r27, r28 -/* 8003FD9C 0003CCFC 41 82 00 10 */ beq lbl_8003FDAC -/* 8003FDA0 0003CD00 38 61 00 38 */ addi r3, r1, 0x38 -/* 8003FDA4 0003CD04 38 80 00 00 */ li r4, 0 -/* 8003FDA8 0003CD08 48 30 10 99 */ bl __dt__6CTokenFv -lbl_8003FDAC: -/* 8003FDAC 0003CD0C 7F A0 07 75 */ extsb. r0, r29 -/* 8003FDB0 0003CD10 41 82 00 10 */ beq lbl_8003FDC0 -/* 8003FDB4 0003CD14 38 61 00 40 */ addi r3, r1, 0x40 -/* 8003FDB8 0003CD18 38 80 00 00 */ li r4, 0 -/* 8003FDBC 0003CD1C 48 30 10 85 */ bl __dt__6CTokenFv -lbl_8003FDC0: -/* 8003FDC0 0003CD20 7F E3 FB 78 */ mr r3, r31 -/* 8003FDC4 0003CD24 7F 64 DB 78 */ mr r4, r27 -/* 8003FDC8 0003CD28 48 00 CD 4D */ bl AddObject__13CStateManagerFR7CEntity -/* 8003FDCC 0003CD2C 80 1E 03 08 */ lwz r0, 0x308(r30) -/* 8003FDD0 0003CD30 2C 00 00 03 */ cmpwi r0, 3 -/* 8003FDD4 0003CD34 40 82 00 0C */ bne lbl_8003FDE0 -/* 8003FDD8 0003CD38 C0 1E 03 58 */ lfs f0, 0x358(r30) -/* 8003FDDC 0003CD3C D0 1E 03 5C */ stfs f0, 0x35c(r30) -lbl_8003FDE0: -/* 8003FDE0 0003CD40 80 BE 03 08 */ lwz r5, 0x308(r30) -/* 8003FDE4 0003CD44 7F E3 FB 78 */ mr r3, r31 -/* 8003FDE8 0003CD48 38 81 00 14 */ addi r4, r1, 0x14 -/* 8003FDEC 0003CD4C 38 05 FF FF */ addi r0, r5, -1 -/* 8003FDF0 0003CD50 90 1E 03 08 */ stw r0, 0x308(r30) -/* 8003FDF4 0003CD54 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8003FDF8 0003CD58 A0 05 08 2E */ lhz r0, 0x82e(r5) -/* 8003FDFC 0003CD5C B0 01 00 24 */ sth r0, 0x24(r1) -/* 8003FE00 0003CD60 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8003FE04 0003CD64 48 00 C7 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8003FE08 0003CD68 28 03 00 00 */ cmplwi r3, 0 -/* 8003FE0C 0003CD6C 41 82 00 64 */ beq lbl_8003FE70 -/* 8003FE10 0003CD70 7C 64 1B 78 */ mr r4, r3 -/* 8003FE14 0003CD74 38 61 00 30 */ addi r3, r1, 0x30 -/* 8003FE18 0003CD78 48 06 8F FD */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" -/* 8003FE1C 0003CD7C 80 63 00 04 */ lwz r3, 4(r3) -/* 8003FE20 0003CD80 28 03 00 00 */ cmplwi r3, 0 -/* 8003FE24 0003CD84 41 82 00 4C */ beq lbl_8003FE70 -/* 8003FE28 0003CD88 A0 1B 00 08 */ lhz r0, 8(r27) -/* 8003FE2C 0003CD8C 7F E5 FB 78 */ mr r5, r31 -/* 8003FE30 0003CD90 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003FE34 0003CD94 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8003FE38 0003CD98 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8003FE3C 0003CD9C 48 07 20 F5 */ bl AddSlave__15CScriptPlatformF9TUniqueIdR13CStateManager -/* 8003FE40 0003CDA0 48 00 00 30 */ b lbl_8003FE70 -lbl_8003FE44: -/* 8003FE44 0003CDA4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8003FE48 0003CDA8 38 80 00 07 */ li r4, 7 -/* 8003FE4C 0003CDAC 38 A0 00 01 */ li r5, 1 -/* 8003FE50 0003CDB0 80 63 00 00 */ lwz r3, 0(r3) -/* 8003FE54 0003CDB4 48 05 1D 41 */ bl DecrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei -/* 8003FE58 0003CDB8 7F C4 F3 78 */ mr r4, r30 -/* 8003FE5C 0003CDBC 7F E5 FB 78 */ mr r5, r31 -/* 8003FE60 0003CDC0 38 61 00 08 */ addi r3, r1, 8 -/* 8003FE64 0003CDC4 4B FF AA A1 */ bl DropPowerBomb__10CPlayerGunCFR13CStateManager -/* 8003FE68 0003CDC8 A0 01 00 08 */ lhz r0, 8(r1) -/* 8003FE6C 0003CDCC B0 1E 05 3A */ sth r0, 0x53a(r30) -lbl_8003FE70: -/* 8003FE70 0003CDD0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8003FE74 0003CDD4 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8003FE78 0003CDD8 BB 41 00 88 */ lmw r26, 0x88(r1) -/* 8003FE7C 0003CDDC 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8003FE80 0003CDE0 7C 08 03 A6 */ mtlr r0 -/* 8003FE84 0003CDE4 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8003FE88 0003CDE8 4E 80 00 20 */ blr - -.global FireSecondary__10CPlayerGunFfR13CStateManager -FireSecondary__10CPlayerGunFfR13CStateManager: -/* 8003FE8C 0003CDEC 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 8003FE90 0003CDF0 7C 08 02 A6 */ mflr r0 -/* 8003FE94 0003CDF4 90 01 01 54 */ stw r0, 0x154(r1) -/* 8003FE98 0003CDF8 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 8003FE9C 0003CDFC F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 8003FEA0 0003CE00 DB C1 01 30 */ stfd f30, 0x130(r1) -/* 8003FEA4 0003CE04 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 -/* 8003FEA8 0003CE08 DB A1 01 20 */ stfd f29, 0x120(r1) -/* 8003FEAC 0003CE0C F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 -/* 8003FEB0 0003CE10 DB 81 01 10 */ stfd f28, 0x110(r1) -/* 8003FEB4 0003CE14 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 -/* 8003FEB8 0003CE18 93 E1 01 0C */ stw r31, 0x10c(r1) -/* 8003FEBC 0003CE1C 93 C1 01 08 */ stw r30, 0x108(r1) -/* 8003FEC0 0003CE20 93 A1 01 04 */ stw r29, 0x104(r1) -/* 8003FEC4 0003CE24 93 81 01 00 */ stw r28, 0x100(r1) -/* 8003FEC8 0003CE28 FF 80 08 90 */ fmr f28, f1 -/* 8003FECC 0003CE2C 7C 9F 23 78 */ mr r31, r4 -/* 8003FED0 0003CE30 7C 7E 1B 78 */ mr r30, r3 -/* 8003FED4 0003CE34 80 64 08 70 */ lwz r3, 0x870(r4) -/* 8003FED8 0003CE38 4B FC AA 29 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 8003FEDC 0003CE3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8003FEE0 0003CE40 40 82 03 0C */ bne lbl_800401EC -/* 8003FEE4 0003CE44 88 1E 08 35 */ lbz r0, 0x835(r30) -/* 8003FEE8 0003CE48 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8003FEEC 0003CE4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8003FEF0 0003CE50 83 A3 00 00 */ lwz r29, 0(r3) -/* 8003FEF4 0003CE54 40 82 00 40 */ bne lbl_8003FF34 -/* 8003FEF8 0003CE58 80 1E 03 18 */ lwz r0, 0x318(r30) -/* 8003FEFC 0003CE5C 2C 00 00 00 */ cmpwi r0, 0 -/* 8003FF00 0003CE60 41 82 00 34 */ beq lbl_8003FF34 -/* 8003FF04 0003CE64 54 00 10 3A */ slwi r0, r0, 2 -/* 8003FF08 0003CE68 38 62 84 60 */ addi r3, r2, lbl_805AA180@sda21 -/* 8003FF0C 0003CE6C 7C 83 00 2E */ lwzx r4, r3, r0 -/* 8003FF10 0003CE70 7F A3 EB 78 */ mr r3, r29 -/* 8003FF14 0003CE74 48 05 1B AD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003FF18 0003CE78 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8003FF1C 0003CE7C 28 00 00 01 */ cmplwi r0, 1 -/* 8003FF20 0003CE80 40 82 00 14 */ bne lbl_8003FF34 -/* 8003FF24 0003CE84 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8003FF28 0003CE88 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d -/* 8003FF2C 0003CE8C 2C 00 00 04 */ cmpwi r0, 4 -/* 8003FF30 0003CE90 41 82 00 24 */ beq lbl_8003FF54 -lbl_8003FF34: -/* 8003FF34 0003CE94 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 8003FF38 0003CE98 38 61 00 1C */ addi r3, r1, 0x1c -/* 8003FF3C 0003CE9C 38 80 06 F5 */ li r4, 0x6f5 -/* 8003FF40 0003CEA0 38 C0 00 00 */ li r6, 0 -/* 8003FF44 0003CEA4 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 8003FF48 0003CEA8 38 E0 00 4A */ li r7, 0x4a -/* 8003FF4C 0003CEAC 48 24 AB AD */ bl play_sfx__12NWeaponTypesFUsbbs -/* 8003FF50 0003CEB0 48 00 02 9C */ b lbl_800401EC -lbl_8003FF54: -/* 8003FF54 0003CEB4 80 1E 03 18 */ lwz r0, 0x318(r30) -/* 8003FF58 0003CEB8 3B 80 00 00 */ li r28, 0 -/* 8003FF5C 0003CEBC 2C 00 00 01 */ cmpwi r0, 1 -/* 8003FF60 0003CEC0 41 82 00 08 */ beq lbl_8003FF68 -/* 8003FF64 0003CEC4 48 00 00 90 */ b lbl_8003FFF4 -lbl_8003FF68: -/* 8003FF68 0003CEC8 7F A3 EB 78 */ mr r3, r29 -/* 8003FF6C 0003CECC 38 80 00 04 */ li r4, 4 -/* 8003FF70 0003CED0 48 05 1B AD */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8003FF74 0003CED4 90 7E 03 00 */ stw r3, 0x300(r30) -/* 8003FF78 0003CED8 7F E3 FB 78 */ mr r3, r31 -/* 8003FF7C 0003CEDC 38 81 00 10 */ addi r4, r1, 0x10 -/* 8003FF80 0003CEE0 38 A0 00 06 */ li r5, 6 -/* 8003FF84 0003CEE4 A0 1E 05 38 */ lhz r0, 0x538(r30) -/* 8003FF88 0003CEE8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8003FF8C 0003CEEC 48 00 4D 1D */ bl GetWeaponIdCount__13CStateManagerF9TUniqueId11EWeaponType -/* 8003FF90 0003CEF0 2C 03 00 03 */ cmpwi r3, 3 -/* 8003FF94 0003CEF4 40 80 00 40 */ bge lbl_8003FFD4 -/* 8003FF98 0003CEF8 80 1E 03 00 */ lwz r0, 0x300(r30) -/* 8003FF9C 0003CEFC 2C 00 00 00 */ cmpwi r0, 0 -/* 8003FFA0 0003CF00 41 82 00 34 */ beq lbl_8003FFD4 -/* 8003FFA4 0003CF04 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 8003FFA8 0003CF08 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8003FFAC 0003CF0C 41 82 00 14 */ beq lbl_8003FFC0 -/* 8003FFB0 0003CF10 7F A3 EB 78 */ mr r3, r29 -/* 8003FFB4 0003CF14 48 05 12 69 */ bl GetMissileCostForAltAttack__12CPlayerStateCFv -/* 8003FFB8 0003CF18 7C 65 1B 78 */ mr r5, r3 -/* 8003FFBC 0003CF1C 48 00 00 08 */ b lbl_8003FFC4 -lbl_8003FFC0: -/* 8003FFC0 0003CF20 38 A0 00 01 */ li r5, 1 -lbl_8003FFC4: -/* 8003FFC4 0003CF24 7F A3 EB 78 */ mr r3, r29 -/* 8003FFC8 0003CF28 38 80 00 04 */ li r4, 4 -/* 8003FFCC 0003CF2C 48 05 1B C9 */ bl DecrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei -/* 8003FFD0 0003CF30 3B 80 00 01 */ li r28, 1 -lbl_8003FFD4: -/* 8003FFD4 0003CF34 80 7E 03 00 */ lwz r3, 0x300(r30) -/* 8003FFD8 0003CF38 2C 03 00 05 */ cmpwi r3, 5 -/* 8003FFDC 0003CF3C 40 81 00 10 */ ble lbl_8003FFEC -/* 8003FFE0 0003CF40 38 00 00 05 */ li r0, 5 -/* 8003FFE4 0003CF44 90 1E 03 00 */ stw r0, 0x300(r30) -/* 8003FFE8 0003CF48 48 00 00 0C */ b lbl_8003FFF4 -lbl_8003FFEC: -/* 8003FFEC 0003CF4C 38 03 FF FF */ addi r0, r3, -1 -/* 8003FFF0 0003CF50 90 1E 03 00 */ stw r0, 0x300(r30) -lbl_8003FFF4: -/* 8003FFF4 0003CF54 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8003FFF8 0003CF58 41 82 01 CC */ beq lbl_800401C4 -/* 8003FFFC 0003CF5C 7F C4 F3 78 */ mr r4, r30 -/* 80040000 0003CF60 7F E5 FB 78 */ mr r5, r31 -/* 80040004 0003CF64 38 61 00 0C */ addi r3, r1, 0xc -/* 80040008 0003CF68 4B FF E1 F5 */ bl GetTargetId__10CPlayerGunFR13CStateManager -/* 8004000C 0003CF6C 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 80040010 0003CF70 A0 61 00 0C */ lhz r3, 0xc(r1) -/* 80040014 0003CF74 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80040018 0003CF78 B0 61 00 14 */ sth r3, 0x14(r1) -/* 8004001C 0003CF7C 41 82 00 2C */ beq lbl_80040048 -/* 80040020 0003CF80 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80040024 0003CF84 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 80040028 0003CF88 7C 03 00 40 */ cmplw r3, r0 -/* 8004002C 0003CF8C 40 82 00 1C */ bne lbl_80040048 -/* 80040030 0003CF90 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 80040034 0003CF94 2C 00 00 02 */ cmpwi r0, 2 -/* 80040038 0003CF98 40 82 00 10 */ bne lbl_80040048 -/* 8004003C 0003CF9C 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80040040 0003CFA0 A0 03 03 F4 */ lhz r0, 0x3f4(r3) -/* 80040044 0003CFA4 B0 01 00 14 */ sth r0, 0x14(r1) -lbl_80040048: -/* 80040048 0003CFA8 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8004004C 0003CFAC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80040050 0003CFB0 41 82 00 0C */ beq lbl_8004005C -/* 80040054 0003CFB4 38 9E 04 48 */ addi r4, r30, 0x448 -/* 80040058 0003CFB8 48 00 00 24 */ b lbl_8004007C -lbl_8004005C: -/* 8004005C 0003CFBC 38 61 00 98 */ addi r3, r1, 0x98 -/* 80040060 0003CFC0 38 9E 04 A8 */ addi r4, r30, 0x4a8 -/* 80040064 0003CFC4 48 2D 2B 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80040068 0003CFC8 38 61 00 68 */ addi r3, r1, 0x68 -/* 8004006C 0003CFCC 38 81 00 98 */ addi r4, r1, 0x98 -/* 80040070 0003CFD0 38 BE 04 18 */ addi r5, r30, 0x418 -/* 80040074 0003CFD4 48 2D 28 DD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80040078 0003CFD8 38 81 00 68 */ addi r4, r1, 0x68 -lbl_8004007C: -/* 8004007C 0003CFDC 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80040080 0003CFE0 48 2D 2A F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80040084 0003CFE4 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 80040088 0003CFE8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8004008C 0003CFEC 40 82 00 3C */ bne lbl_800400C8 -/* 80040090 0003CFF0 C0 3E 03 64 */ lfs f1, 0x364(r30) -/* 80040094 0003CFF4 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80040098 0003CFF8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8004009C 0003CFFC 4C 40 13 82 */ cror 2, 0, 2 -/* 800400A0 0003D000 40 82 00 28 */ bne lbl_800400C8 -/* 800400A4 0003D004 C3 A1 00 F4 */ lfs f29, 0xf4(r1) -/* 800400A8 0003D008 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800400AC 0003D00C C3 C1 00 E4 */ lfs f30, 0xe4(r1) -/* 800400B0 0003D010 38 9E 04 78 */ addi r4, r30, 0x478 -/* 800400B4 0003D014 C3 E1 00 D4 */ lfs f31, 0xd4(r1) -/* 800400B8 0003D018 48 2D 2A 89 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800400BC 0003D01C D3 E1 00 D4 */ stfs f31, 0xd4(r1) -/* 800400C0 0003D020 D3 C1 00 E4 */ stfs f30, 0xe4(r1) -/* 800400C4 0003D024 D3 A1 00 F4 */ stfs f29, 0xf4(r1) -lbl_800400C8: -/* 800400C8 0003D028 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 800400CC 0003D02C 7F E5 FB 78 */ mr r5, r31 -/* 800400D0 0003D030 38 61 00 2C */ addi r3, r1, 0x2c -/* 800400D4 0003D034 4B FC A8 41 */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager -/* 800400D8 0003D038 C0 81 00 D4 */ lfs f4, 0xd4(r1) -/* 800400DC 0003D03C FC 20 E0 90 */ fmr f1, f28 -/* 800400E0 0003D040 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 800400E4 0003D044 7F E8 FB 78 */ mr r8, r31 -/* 800400E8 0003D048 C0 41 00 E4 */ lfs f2, 0xe4(r1) -/* 800400EC 0003D04C 38 E1 00 C8 */ addi r7, r1, 0xc8 -/* 800400F0 0003D050 EC 84 18 2A */ fadds f4, f4, f3 -/* 800400F4 0003D054 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800400F8 0003D058 39 41 00 08 */ addi r10, r1, 8 -/* 800400FC 0003D05C A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80040100 0003D060 EC 62 00 2A */ fadds f3, f2, f0 -/* 80040104 0003D064 C0 41 00 F4 */ lfs f2, 0xf4(r1) -/* 80040108 0003D068 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8004010C 0003D06C D0 81 00 D4 */ stfs f4, 0xd4(r1) -/* 80040110 0003D070 EC 02 00 2A */ fadds f0, f2, f0 -/* 80040114 0003D074 D0 61 00 E4 */ stfs f3, 0xe4(r1) -/* 80040118 0003D078 D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 8004011C 0003D07C B0 01 00 08 */ sth r0, 8(r1) -/* 80040120 0003D080 81 3E 07 2C */ lwz r9, 0x72c(r30) -/* 80040124 0003D084 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 80040128 0003D088 80 7E 07 44 */ lwz r3, 0x744(r30) -/* 8004012C 0003D08C 80 BE 03 10 */ lwz r5, 0x310(r30) -/* 80040130 0003D090 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f -/* 80040134 0003D094 80 DE 03 30 */ lwz r6, 0x330(r30) -/* 80040138 0003D098 81 29 01 C0 */ lwz r9, 0x1c0(r9) -/* 8004013C 0003D09C 48 17 98 59 */ bl Fire__10CAuxWeaponFfbiQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager11EWeaponType9TUniqueId -/* 80040140 0003D0A0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80040144 0003D0A4 38 9E 04 A8 */ addi r4, r30, 0x4a8 -/* 80040148 0003D0A8 48 2D 2A 2D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8004014C 0003D0AC C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80040150 0003D0B0 7F E3 FB 78 */ mr r3, r31 -/* 80040154 0003D0B4 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 80040158 0003D0B8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8004015C 0003D0BC C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80040160 0003D0C0 38 A0 00 00 */ li r5, 0 -/* 80040164 0003D0C4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80040168 0003D0C8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8004016C 0003D0CC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80040170 0003D0D0 48 00 86 15 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType -/* 80040174 0003D0D4 C0 02 84 F0 */ lfs f0, lbl_805AA210@sda21(r2) -/* 80040178 0003D0D8 D0 1E 03 A0 */ stfs f0, 0x3a0(r30) -/* 8004017C 0003D0DC 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 80040180 0003D0E0 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f -/* 80040184 0003D0E4 28 00 00 01 */ cmplwi r0, 1 -/* 80040188 0003D0E8 41 82 00 64 */ beq lbl_800401EC -/* 8004018C 0003D0EC 7F C3 F3 78 */ mr r3, r30 -/* 80040190 0003D0F0 38 80 00 07 */ li r4, 7 -/* 80040194 0003D0F4 38 A0 00 00 */ li r5, 0 -/* 80040198 0003D0F8 48 00 17 2D */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -/* 8004019C 0003D0FC 80 1E 03 00 */ lwz r0, 0x300(r30) -/* 800401A0 0003D100 38 60 00 03 */ li r3, 3 -/* 800401A4 0003D104 2C 00 00 00 */ cmpwi r0, 0 -/* 800401A8 0003D108 40 81 00 08 */ ble lbl_800401B0 -/* 800401AC 0003D10C 38 60 00 04 */ li r3, 4 -lbl_800401B0: -/* 800401B0 0003D110 90 7E 03 38 */ stw r3, 0x338(r30) -/* 800401B4 0003D114 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 800401B8 0003D118 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 800401BC 0003D11C 90 1E 02 F8 */ stw r0, 0x2f8(r30) -/* 800401C0 0003D120 48 00 00 2C */ b lbl_800401EC -lbl_800401C4: -/* 800401C4 0003D124 80 7E 03 18 */ lwz r3, 0x318(r30) -/* 800401C8 0003D128 38 8D 82 2C */ addi r4, r13, lbl_805A6DEC@sda21 -/* 800401CC 0003D12C 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 800401D0 0003D130 38 E0 00 4A */ li r7, 0x4a -/* 800401D4 0003D134 54 66 08 3C */ slwi r6, r3, 1 -/* 800401D8 0003D138 38 61 00 18 */ addi r3, r1, 0x18 -/* 800401DC 0003D13C 7C 84 32 2E */ lhzx r4, r4, r6 -/* 800401E0 0003D140 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 800401E4 0003D144 38 C0 00 00 */ li r6, 0 -/* 800401E8 0003D148 48 24 A9 11 */ bl play_sfx__12NWeaponTypesFUsbbs -lbl_800401EC: -/* 800401EC 0003D14C E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 800401F0 0003D150 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 800401F4 0003D154 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 -/* 800401F8 0003D158 CB C1 01 30 */ lfd f30, 0x130(r1) -/* 800401FC 0003D15C E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 -/* 80040200 0003D160 CB A1 01 20 */ lfd f29, 0x120(r1) -/* 80040204 0003D164 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 -/* 80040208 0003D168 CB 81 01 10 */ lfd f28, 0x110(r1) -/* 8004020C 0003D16C 83 E1 01 0C */ lwz r31, 0x10c(r1) -/* 80040210 0003D170 83 C1 01 08 */ lwz r30, 0x108(r1) -/* 80040214 0003D174 83 A1 01 04 */ lwz r29, 0x104(r1) -/* 80040218 0003D178 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8004021C 0003D17C 83 81 01 00 */ lwz r28, 0x100(r1) -/* 80040220 0003D180 7C 08 03 A6 */ mtlr r0 -/* 80040224 0003D184 38 21 01 50 */ addi r1, r1, 0x150 -/* 80040228 0003D188 4E 80 00 20 */ blr - -.global UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager -UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager: -/* 8004022C 0003D18C 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 80040230 0003D190 7C 08 02 A6 */ mflr r0 -/* 80040234 0003D194 90 01 01 44 */ stw r0, 0x144(r1) -/* 80040238 0003D198 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8004023C 0003D19C F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 80040240 0003D1A0 DB C1 01 20 */ stfd f30, 0x120(r1) -/* 80040244 0003D1A4 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 80040248 0003D1A8 DB A1 01 10 */ stfd f29, 0x110(r1) -/* 8004024C 0003D1AC F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 80040250 0003D1B0 DB 81 01 00 */ stfd f28, 0x100(r1) -/* 80040254 0003D1B4 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 80040258 0003D1B8 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8004025C 0003D1BC 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 80040260 0003D1C0 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 80040264 0003D1C4 FF 80 08 90 */ fmr f28, f1 -/* 80040268 0003D1C8 7C 7E 1B 78 */ mr r30, r3 -/* 8004026C 0003D1CC 7C 9F 23 78 */ mr r31, r4 -/* 80040270 0003D1D0 48 00 02 29 */ bl ExitMissile__10CPlayerGunFv -/* 80040274 0003D1D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80040278 0003D1D8 41 82 01 E4 */ beq lbl_8004045C -/* 8004027C 0003D1DC 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80040280 0003D1E0 4B FC A6 81 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 80040284 0003D1E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80040288 0003D1E8 41 82 00 08 */ beq lbl_80040290 -/* 8004028C 0003D1EC 48 00 01 D0 */ b lbl_8004045C -lbl_80040290: -/* 80040290 0003D1F0 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 80040294 0003D1F4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80040298 0003D1F8 7C 03 03 78 */ mr r3, r0 -/* 8004029C 0003D1FC 40 82 00 14 */ bne lbl_800402B0 -/* 800402A0 0003D200 80 1E 03 10 */ lwz r0, 0x310(r30) -/* 800402A4 0003D204 2C 00 00 03 */ cmpwi r0, 3 -/* 800402A8 0003D208 40 82 00 08 */ bne lbl_800402B0 -/* 800402AC 0003D20C 38 60 00 01 */ li r3, 1 -lbl_800402B0: -/* 800402B0 0003D210 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800402B4 0003D214 38 60 00 00 */ li r3, 0 -/* 800402B8 0003D218 41 82 00 14 */ beq lbl_800402CC -/* 800402BC 0003D21C 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 800402C0 0003D220 2C 00 00 00 */ cmpwi r0, 0 -/* 800402C4 0003D224 40 82 00 08 */ bne lbl_800402CC -/* 800402C8 0003D228 38 60 00 01 */ li r3, 1 -lbl_800402CC: -/* 800402CC 0003D22C 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 800402D0 0003D230 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 800402D4 0003D234 7C 63 00 34 */ cntlzw r3, r3 -/* 800402D8 0003D238 50 60 0E 72 */ rlwimi r0, r3, 1, 0x19, 0x19 -/* 800402DC 0003D23C 98 1E 08 32 */ stb r0, 0x832(r30) -/* 800402E0 0003D240 80 7E 03 0C */ lwz r3, 0x30c(r30) -/* 800402E4 0003D244 38 03 00 01 */ addi r0, r3, 1 -/* 800402E8 0003D248 90 1E 03 0C */ stw r0, 0x30c(r30) -/* 800402EC 0003D24C 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 800402F0 0003D250 80 9E 07 2C */ lwz r4, 0x72c(r30) -/* 800402F4 0003D254 80 7E 03 30 */ lwz r3, 0x330(r30) -/* 800402F8 0003D258 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800402FC 0003D25C 7C 64 1A 14 */ add r3, r4, r3 -/* 80040300 0003D260 8B A3 01 F0 */ lbz r29, 0x1f0(r3) -/* 80040304 0003D264 41 82 00 0C */ beq lbl_80040310 -/* 80040308 0003D268 38 9E 04 48 */ addi r4, r30, 0x448 -/* 8004030C 0003D26C 48 00 00 24 */ b lbl_80040330 -lbl_80040310: -/* 80040310 0003D270 38 61 00 88 */ addi r3, r1, 0x88 -/* 80040314 0003D274 38 9E 04 A8 */ addi r4, r30, 0x4a8 -/* 80040318 0003D278 48 2D 28 5D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8004031C 0003D27C 38 61 00 58 */ addi r3, r1, 0x58 -/* 80040320 0003D280 38 81 00 88 */ addi r4, r1, 0x88 -/* 80040324 0003D284 38 BE 04 18 */ addi r5, r30, 0x418 -/* 80040328 0003D288 48 2D 26 29 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8004032C 0003D28C 38 81 00 58 */ addi r4, r1, 0x58 -lbl_80040330: -/* 80040330 0003D290 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80040334 0003D294 48 2D 28 41 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80040338 0003D298 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 8004033C 0003D29C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80040340 0003D2A0 40 82 00 3C */ bne lbl_8004037C -/* 80040344 0003D2A4 C0 3E 03 64 */ lfs f1, 0x364(r30) -/* 80040348 0003D2A8 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8004034C 0003D2AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80040350 0003D2B0 4C 40 13 82 */ cror 2, 0, 2 -/* 80040354 0003D2B4 40 82 00 28 */ bne lbl_8004037C -/* 80040358 0003D2B8 C3 A1 00 E4 */ lfs f29, 0xe4(r1) -/* 8004035C 0003D2BC 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80040360 0003D2C0 C3 C1 00 D4 */ lfs f30, 0xd4(r1) -/* 80040364 0003D2C4 38 9E 04 78 */ addi r4, r30, 0x478 -/* 80040368 0003D2C8 C3 E1 00 C4 */ lfs f31, 0xc4(r1) -/* 8004036C 0003D2CC 48 2D 27 D5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80040370 0003D2D0 D3 E1 00 C4 */ stfs f31, 0xc4(r1) -/* 80040374 0003D2D4 D3 C1 00 D4 */ stfs f30, 0xd4(r1) -/* 80040378 0003D2D8 D3 A1 00 E4 */ stfs f29, 0xe4(r1) -lbl_8004037C: -/* 8004037C 0003D2DC 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 80040380 0003D2E0 7F E5 FB 78 */ mr r5, r31 -/* 80040384 0003D2E4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80040388 0003D2E8 4B FC A5 8D */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager -/* 8004038C 0003D2EC C0 21 00 C4 */ lfs f1, 0xc4(r1) -/* 80040390 0003D2F0 28 1D 00 00 */ cmplwi r29, 0 -/* 80040394 0003D2F4 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80040398 0003D2F8 C0 61 00 D4 */ lfs f3, 0xd4(r1) -/* 8004039C 0003D2FC C0 41 00 20 */ lfs f2, 0x20(r1) -/* 800403A0 0003D300 EC 81 00 2A */ fadds f4, f1, f0 -/* 800403A4 0003D304 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 800403A8 0003D308 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 800403AC 0003D30C EC 43 10 2A */ fadds f2, f3, f2 -/* 800403B0 0003D310 D0 81 00 C4 */ stfs f4, 0xc4(r1) -/* 800403B4 0003D314 EC 21 00 2A */ fadds f1, f1, f0 -/* 800403B8 0003D318 C0 02 84 F4 */ lfs f0, lbl_805AA214@sda21(r2) -/* 800403BC 0003D31C D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 800403C0 0003D320 D0 21 00 E4 */ stfs f1, 0xe4(r1) -/* 800403C4 0003D324 D0 1E 03 8C */ stfs f0, 0x38c(r30) -/* 800403C8 0003D328 41 82 00 1C */ beq lbl_800403E4 -/* 800403CC 0003D32C 7F C4 F3 78 */ mr r4, r30 -/* 800403D0 0003D330 7F E5 FB 78 */ mr r5, r31 -/* 800403D4 0003D334 38 61 00 08 */ addi r3, r1, 8 -/* 800403D8 0003D338 4B FF DE 25 */ bl GetTargetId__10CPlayerGunFR13CStateManager -/* 800403DC 0003D33C 38 61 00 08 */ addi r3, r1, 8 -/* 800403E0 0003D340 48 00 00 08 */ b lbl_800403E8 -lbl_800403E4: -/* 800403E4 0003D344 38 6D A3 8C */ addi r3, r13, lbl_805A8F4C@sda21 -lbl_800403E8: -/* 800403E8 0003D348 A0 03 00 00 */ lhz r0, 0(r3) -/* 800403EC 0003D34C FC 20 E0 90 */ fmr f1, f28 -/* 800403F0 0003D350 7F E7 FB 78 */ mr r7, r31 -/* 800403F4 0003D354 38 C1 00 B8 */ addi r6, r1, 0xb8 -/* 800403F8 0003D358 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800403FC 0003D35C 39 01 00 0C */ addi r8, r1, 0xc -/* 80040400 0003D360 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 80040404 0003D364 C0 5E 03 40 */ lfs f2, 0x340(r30) -/* 80040408 0003D368 81 83 00 00 */ lwz r12, 0(r3) -/* 8004040C 0003D36C 88 1E 08 34 */ lbz r0, 0x834(r30) -/* 80040410 0003D370 FC 60 10 90 */ fmr f3, f2 -/* 80040414 0003D374 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80040418 0003D378 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f -/* 8004041C 0003D37C 80 BE 03 30 */ lwz r5, 0x330(r30) -/* 80040420 0003D380 7D 89 03 A6 */ mtctr r12 -/* 80040424 0003D384 4E 80 04 21 */ bctrl -/* 80040428 0003D388 38 61 00 28 */ addi r3, r1, 0x28 -/* 8004042C 0003D38C 38 9E 04 A8 */ addi r4, r30, 0x4a8 -/* 80040430 0003D390 48 2D 27 45 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80040434 0003D394 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80040438 0003D398 7F E3 FB 78 */ mr r3, r31 -/* 8004043C 0003D39C C0 21 00 44 */ lfs f1, 0x44(r1) -/* 80040440 0003D3A0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80040444 0003D3A4 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80040448 0003D3A8 38 A0 00 00 */ li r5, 0 -/* 8004044C 0003D3AC D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80040450 0003D3B0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80040454 0003D3B4 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80040458 0003D3B8 48 00 83 2D */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType -lbl_8004045C: -/* 8004045C 0003D3BC E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 80040460 0003D3C0 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 80040464 0003D3C4 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 80040468 0003D3C8 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 8004046C 0003D3CC E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 80040470 0003D3D0 CB A1 01 10 */ lfd f29, 0x110(r1) -/* 80040474 0003D3D4 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 80040478 0003D3D8 CB 81 01 00 */ lfd f28, 0x100(r1) -/* 8004047C 0003D3DC 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 80040480 0003D3E0 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 80040484 0003D3E4 80 01 01 44 */ lwz r0, 0x144(r1) -/* 80040488 0003D3E8 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 8004048C 0003D3EC 7C 08 03 A6 */ mtlr r0 -/* 80040490 0003D3F0 38 21 01 40 */ addi r1, r1, 0x140 -/* 80040494 0003D3F4 4E 80 00 20 */ blr - -.global ExitMissile__10CPlayerGunFv -ExitMissile__10CPlayerGunFv: -/* 80040498 0003D3F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004049C 0003D3FC 7C 08 02 A6 */ mflr r0 -/* 800404A0 0003D400 90 01 00 14 */ stw r0, 0x14(r1) -/* 800404A4 0003D404 80 83 02 F8 */ lwz r4, 0x2f8(r3) -/* 800404A8 0003D408 54 80 07 FE */ clrlwi r0, r4, 0x1f -/* 800404AC 0003D40C 2C 00 00 01 */ cmpwi r0, 1 -/* 800404B0 0003D410 41 82 00 38 */ beq lbl_800404E8 -/* 800404B4 0003D414 54 80 06 F6 */ rlwinm r0, r4, 0, 0x1b, 0x1b -/* 800404B8 0003D418 2C 00 00 10 */ cmpwi r0, 0x10 -/* 800404BC 0003D41C 41 82 00 24 */ beq lbl_800404E0 -/* 800404C0 0003D420 80 03 03 38 */ lwz r0, 0x338(r3) -/* 800404C4 0003D424 2C 00 00 02 */ cmpwi r0, 2 -/* 800404C8 0003D428 41 82 00 18 */ beq lbl_800404E0 -/* 800404CC 0003D42C 38 00 00 02 */ li r0, 2 -/* 800404D0 0003D430 38 80 00 05 */ li r4, 5 -/* 800404D4 0003D434 90 03 03 38 */ stw r0, 0x338(r3) -/* 800404D8 0003D438 38 A0 00 00 */ li r5, 0 -/* 800404DC 0003D43C 48 00 13 E9 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -lbl_800404E0: -/* 800404E0 0003D440 38 60 00 00 */ li r3, 0 -/* 800404E4 0003D444 48 00 00 08 */ b lbl_800404EC -lbl_800404E8: -/* 800404E8 0003D448 38 60 00 01 */ li r3, 1 -lbl_800404EC: -/* 800404EC 0003D44C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800404F0 0003D450 7C 08 03 A6 */ mtlr r0 -/* 800404F4 0003D454 38 21 00 10 */ addi r1, r1, 0x10 -/* 800404F8 0003D458 4E 80 00 20 */ blr - -.global ProcessNormalState__10CPlayerGunFiiR13CStateManagerf -ProcessNormalState__10CPlayerGunFiiR13CStateManagerf: -/* 800404FC 0003D45C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80040500 0003D460 7C 08 02 A6 */ mflr r0 -/* 80040504 0003D464 90 01 00 14 */ stw r0, 0x14(r1) -/* 80040508 0003D468 54 80 07 FF */ clrlwi. r0, r4, 0x1f -/* 8004050C 0003D46C 41 82 00 10 */ beq lbl_8004051C -/* 80040510 0003D470 7C C4 33 78 */ mr r4, r6 -/* 80040514 0003D474 48 00 01 19 */ bl ResetNormal__10CPlayerGunFR13CStateManager -/* 80040518 0003D478 48 00 00 48 */ b lbl_80040560 -lbl_8004051C: -/* 8004051C 0003D47C 54 A0 07 FF */ clrlwi. r0, r5, 0x1f -/* 80040520 0003D480 41 82 00 30 */ beq lbl_80040550 -/* 80040524 0003D484 C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) -/* 80040528 0003D488 C0 03 03 48 */ lfs f0, 0x348(r3) -/* 8004052C 0003D48C FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 80040530 0003D490 40 82 00 20 */ bne lbl_80040550 -/* 80040534 0003D494 88 03 08 32 */ lbz r0, 0x832(r3) -/* 80040538 0003D498 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f -/* 8004053C 0003D49C 28 00 00 01 */ cmplwi r0, 1 -/* 80040540 0003D4A0 40 82 00 10 */ bne lbl_80040550 -/* 80040544 0003D4A4 7C C4 33 78 */ mr r4, r6 -/* 80040548 0003D4A8 4B FF FC E5 */ bl UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager -/* 8004054C 0003D4AC 48 00 00 14 */ b lbl_80040560 -lbl_80040550: -/* 80040550 0003D4B0 54 A0 07 BD */ rlwinm. r0, r5, 0, 0x1e, 0x1e -/* 80040554 0003D4B4 41 82 00 0C */ beq lbl_80040560 -/* 80040558 0003D4B8 7C C4 33 78 */ mr r4, r6 -/* 8004055C 0003D4BC 4B FF F9 31 */ bl FireSecondary__10CPlayerGunFfR13CStateManager -lbl_80040560: -/* 80040560 0003D4C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80040564 0003D4C4 7C 08 03 A6 */ mtlr r0 -/* 80040568 0003D4C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004056C 0003D4CC 4E 80 00 20 */ blr - -.global ResetCharged__10CPlayerGunFfR13CStateManager -ResetCharged__10CPlayerGunFfR13CStateManager: -/* 80040570 0003D4D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80040574 0003D4D4 7C 08 02 A6 */ mflr r0 -/* 80040578 0003D4D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004057C 0003D4DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80040580 0003D4E0 7C 9F 23 78 */ mr r31, r4 -/* 80040584 0003D4E4 93 C1 00 08 */ stw r30, 8(r1) -/* 80040588 0003D4E8 7C 7E 1B 78 */ mr r30, r3 -/* 8004058C 0003D4EC 88 03 08 32 */ lbz r0, 0x832(r3) -/* 80040590 0003D4F0 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f -/* 80040594 0003D4F4 28 00 00 01 */ cmplwi r0, 1 -/* 80040598 0003D4F8 41 82 00 7C */ beq lbl_80040614 -/* 8004059C 0003D4FC 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 800405A0 0003D500 2C 00 00 03 */ cmpwi r0, 3 -/* 800405A4 0003D504 41 80 00 3C */ blt lbl_800405E0 -/* 800405A8 0003D508 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 800405AC 0003D50C 38 A0 00 00 */ li r5, 0 -/* 800405B0 0003D510 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 800405B4 0003D514 98 1E 08 33 */ stb r0, 0x833(r30) -/* 800405B8 0003D518 4B FF FC 75 */ bl UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager -/* 800405BC 0003D51C 88 1E 08 32 */ lbz r0, 0x832(r30) -/* 800405C0 0003D520 38 60 00 01 */ li r3, 1 -/* 800405C4 0003D524 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800405C8 0003D528 7F C3 F3 78 */ mr r3, r30 -/* 800405CC 0003D52C 98 1E 08 32 */ stb r0, 0x832(r30) -/* 800405D0 0003D530 7F E4 FB 78 */ mr r4, r31 -/* 800405D4 0003D534 38 A0 00 01 */ li r5, 1 -/* 800405D8 0003D538 4B FF B9 71 */ bl CancelCharge__10CPlayerGunFR13CStateManagerb -/* 800405DC 0003D53C 48 00 00 2C */ b lbl_80040608 -lbl_800405E0: -/* 800405E0 0003D540 2C 00 00 00 */ cmpwi r0, 0 -/* 800405E4 0003D544 41 82 00 24 */ beq lbl_80040608 -/* 800405E8 0003D548 80 7E 03 10 */ lwz r3, 0x310(r30) -/* 800405EC 0003D54C 38 80 00 01 */ li r4, 1 -/* 800405F0 0003D550 38 00 00 0A */ li r0, 0xa -/* 800405F4 0003D554 90 7E 03 20 */ stw r3, 0x320(r30) -/* 800405F8 0003D558 88 7E 08 33 */ lbz r3, 0x833(r30) -/* 800405FC 0003D55C 50 83 0F BC */ rlwimi r3, r4, 1, 0x1e, 0x1e -/* 80040600 0003D560 98 7E 08 33 */ stb r3, 0x833(r30) -/* 80040604 0003D564 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_80040608: -/* 80040608 0003D568 7F C3 F3 78 */ mr r3, r30 -/* 8004060C 0003D56C 7F E4 FB 78 */ mr r4, r31 -/* 80040610 0003D570 4B FF C5 45 */ bl StopChargeSound__10CPlayerGunFR13CStateManager -lbl_80040614: -/* 80040614 0003D574 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80040618 0003D578 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004061C 0003D57C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80040620 0003D580 7C 08 03 A6 */ mtlr r0 -/* 80040624 0003D584 38 21 00 10 */ addi r1, r1, 0x10 -/* 80040628 0003D588 4E 80 00 20 */ blr - -.global ResetNormal__10CPlayerGunFR13CStateManager -ResetNormal__10CPlayerGunFR13CStateManager: -/* 8004062C 0003D58C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80040630 0003D590 7C 08 02 A6 */ mflr r0 -/* 80040634 0003D594 38 A0 00 00 */ li r5, 0 -/* 80040638 0003D598 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004063C 0003D59C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80040640 0003D5A0 7C 7F 1B 78 */ mr r31, r3 -/* 80040644 0003D5A4 4B FF EC FD */ bl Reset__10CPlayerGunFR13CStateManager -/* 80040648 0003D5A8 88 1F 08 32 */ lbz r0, 0x832(r31) -/* 8004064C 0003D5AC 38 60 00 00 */ li r3, 0 -/* 80040650 0003D5B0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80040654 0003D5B4 98 1F 08 32 */ stb r0, 0x832(r31) -/* 80040658 0003D5B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004065C 0003D5BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80040660 0003D5C0 7C 08 03 A6 */ mtlr r0 -/* 80040664 0003D5C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80040668 0003D5C8 4E 80 00 20 */ blr - -.global ProcessChargeState__10CPlayerGunFiiR13CStateManagerf -ProcessChargeState__10CPlayerGunFiiR13CStateManagerf: -/* 8004066C 0003D5CC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80040670 0003D5D0 7C 08 02 A6 */ mflr r0 -/* 80040674 0003D5D4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80040678 0003D5D8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8004067C 0003D5DC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80040680 0003D5E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80040684 0003D5E4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80040688 0003D5E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8004068C 0003D5EC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80040690 0003D5F0 54 80 07 FF */ clrlwi. r0, r4, 0x1f -/* 80040694 0003D5F4 FF E0 08 90 */ fmr f31, f1 -/* 80040698 0003D5F8 7C 7C 1B 78 */ mr r28, r3 -/* 8004069C 0003D5FC 7C BD 2B 78 */ mr r29, r5 -/* 800406A0 0003D600 7C DE 33 78 */ mr r30, r6 -/* 800406A4 0003D604 41 82 00 10 */ beq lbl_800406B4 -/* 800406A8 0003D608 7F C4 F3 78 */ mr r4, r30 -/* 800406AC 0003D60C 4B FF FE C5 */ bl ResetCharged__10CPlayerGunFfR13CStateManager -/* 800406B0 0003D610 48 00 00 D0 */ b lbl_80040780 -lbl_800406B4: -/* 800406B4 0003D614 57 A4 07 FF */ clrlwi. r4, r29, 0x1f -/* 800406B8 0003D618 41 82 00 4C */ beq lbl_80040704 -/* 800406BC 0003D61C 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 800406C0 0003D620 2C 00 00 00 */ cmpwi r0, 0 -/* 800406C4 0003D624 40 82 00 BC */ bne lbl_80040780 -/* 800406C8 0003D628 2C 04 00 00 */ cmpwi r4, 0 -/* 800406CC 0003D62C 41 82 00 B4 */ beq lbl_80040780 -/* 800406D0 0003D630 C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) -/* 800406D4 0003D634 C0 1C 03 48 */ lfs f0, 0x348(r28) -/* 800406D8 0003D638 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 800406DC 0003D63C 40 82 00 A4 */ bne lbl_80040780 -/* 800406E0 0003D640 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 800406E4 0003D644 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f -/* 800406E8 0003D648 28 00 00 01 */ cmplwi r0, 1 -/* 800406EC 0003D64C 40 82 00 94 */ bne lbl_80040780 -/* 800406F0 0003D650 7F C4 F3 78 */ mr r4, r30 -/* 800406F4 0003D654 4B FF FB 39 */ bl UpdateNormalShotCycle__10CPlayerGunFfR13CStateManager -/* 800406F8 0003D658 38 00 00 01 */ li r0, 1 -/* 800406FC 0003D65C 90 1C 03 2C */ stw r0, 0x32c(r28) -/* 80040700 0003D660 48 00 00 80 */ b lbl_80040780 -lbl_80040704: -/* 80040704 0003D664 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80040708 0003D668 38 80 00 04 */ li r4, 4 -/* 8004070C 0003D66C 83 E3 00 00 */ lwz r31, 0(r3) -/* 80040710 0003D670 7F E3 FB 78 */ mr r3, r31 -/* 80040714 0003D674 48 05 13 AD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80040718 0003D678 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004071C 0003D67C 41 82 00 64 */ beq lbl_80040780 -/* 80040720 0003D680 57 A0 07 BD */ rlwinm. r0, r29, 0, 0x1e, 0x1e -/* 80040724 0003D684 41 82 00 5C */ beq lbl_80040780 -/* 80040728 0003D688 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 8004072C 0003D68C 2C 00 00 04 */ cmpwi r0, 4 -/* 80040730 0003D690 41 80 00 38 */ blt lbl_80040768 -/* 80040734 0003D694 80 1C 03 10 */ lwz r0, 0x310(r28) -/* 80040738 0003D698 3C 60 80 3D */ lis r3, lbl_803CCE64@ha -/* 8004073C 0003D69C 38 83 CE 64 */ addi r4, r3, lbl_803CCE64@l -/* 80040740 0003D6A0 7F E3 FB 78 */ mr r3, r31 -/* 80040744 0003D6A4 54 00 10 3A */ slwi r0, r0, 2 -/* 80040748 0003D6A8 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8004074C 0003D6AC 48 05 13 75 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80040750 0003D6B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80040754 0003D6B4 41 82 00 2C */ beq lbl_80040780 -/* 80040758 0003D6B8 7F 83 E3 78 */ mr r3, r28 -/* 8004075C 0003D6BC 7F C4 F3 78 */ mr r4, r30 -/* 80040760 0003D6C0 4B FF F2 6D */ bl ActivateCombo__10CPlayerGunFR13CStateManager -/* 80040764 0003D6C4 48 00 00 1C */ b lbl_80040780 -lbl_80040768: -/* 80040768 0003D6C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8004076C 0003D6CC 40 82 00 14 */ bne lbl_80040780 -/* 80040770 0003D6D0 FC 20 F8 90 */ fmr f1, f31 -/* 80040774 0003D6D4 7F 83 E3 78 */ mr r3, r28 -/* 80040778 0003D6D8 7F C4 F3 78 */ mr r4, r30 -/* 8004077C 0003D6DC 4B FF F7 11 */ bl FireSecondary__10CPlayerGunFfR13CStateManager -lbl_80040780: -/* 80040780 0003D6E0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80040784 0003D6E4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80040788 0003D6E8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8004078C 0003D6EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80040790 0003D6F0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80040794 0003D6F4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80040798 0003D6F8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8004079C 0003D6FC 7C 08 03 A6 */ mtlr r0 -/* 800407A0 0003D700 38 21 00 30 */ addi r1, r1, 0x30 -/* 800407A4 0003D704 4E 80 00 20 */ blr - -.global ProcessInput__10CPlayerGunFRC11CFinalInputR13CStateManager -ProcessInput__10CPlayerGunFRC11CFinalInputR13CStateManager: -/* 800407A8 0003D708 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800407AC 0003D70C 7C 08 02 A6 */ mflr r0 -/* 800407B0 0003D710 90 01 00 24 */ stw r0, 0x24(r1) -/* 800407B4 0003D714 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 800407B8 0003D718 7C 9E 23 78 */ mr r30, r4 -/* 800407BC 0003D71C 7C 7D 1B 78 */ mr r29, r3 -/* 800407C0 0003D720 7C BF 2B 78 */ mr r31, r5 -/* 800407C4 0003D724 38 80 00 00 */ li r4, 0 -/* 800407C8 0003D728 88 03 08 34 */ lbz r0, 0x834(r3) -/* 800407CC 0003D72C 80 65 08 B8 */ lwz r3, 0x8b8(r5) -/* 800407D0 0003D730 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800407D4 0003D734 83 85 08 4C */ lwz r28, 0x84c(r5) -/* 800407D8 0003D738 83 63 00 00 */ lwz r27, 0(r3) -/* 800407DC 0003D73C 41 82 00 14 */ beq lbl_800407F0 -/* 800407E0 0003D740 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 800407E4 0003D744 2C 00 00 01 */ cmpwi r0, 1 -/* 800407E8 0003D748 41 82 00 08 */ beq lbl_800407F0 -/* 800407EC 0003D74C 38 80 00 01 */ li r4, 1 -lbl_800407F0: -/* 800407F0 0003D750 88 1D 08 32 */ lbz r0, 0x832(r29) -/* 800407F4 0003D754 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800407F8 0003D758 40 82 01 28 */ bne lbl_80040920 -/* 800407FC 0003D75C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80040800 0003D760 40 82 01 20 */ bne lbl_80040920 -/* 80040804 0003D764 80 1D 02 F8 */ lwz r0, 0x2f8(r29) -/* 80040808 0003D768 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c -/* 8004080C 0003D76C 2C 00 00 08 */ cmpwi r0, 8 -/* 80040810 0003D770 40 82 00 08 */ bne lbl_80040818 -/* 80040814 0003D774 48 00 01 0C */ b lbl_80040920 -lbl_80040818: -/* 80040818 0003D778 7F 63 DB 78 */ mr r3, r27 -/* 8004081C 0003D77C 38 80 00 0A */ li r4, 0xa -/* 80040820 0003D780 48 05 12 A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80040824 0003D784 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80040828 0003D788 41 82 00 28 */ beq lbl_80040850 -/* 8004082C 0003D78C 7F 63 DB 78 */ mr r3, r27 -/* 80040830 0003D790 38 80 00 0A */ li r4, 0xa -/* 80040834 0003D794 48 05 11 59 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80040838 0003D798 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004083C 0003D79C 40 82 00 44 */ bne lbl_80040880 -/* 80040840 0003D7A0 7F 63 DB 78 */ mr r3, r27 -/* 80040844 0003D7A4 38 80 00 0A */ li r4, 0xa -/* 80040848 0003D7A8 48 05 11 FD */ bl EnableItem__12CPlayerStateFQ212CPlayerState9EItemType -/* 8004084C 0003D7AC 48 00 00 34 */ b lbl_80040880 -lbl_80040850: -/* 80040850 0003D7B0 7F 63 DB 78 */ mr r3, r27 -/* 80040854 0003D7B4 38 80 00 0A */ li r4, 0xa -/* 80040858 0003D7B8 48 05 11 35 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8004085C 0003D7BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80040860 0003D7C0 41 82 00 20 */ beq lbl_80040880 -/* 80040864 0003D7C4 7F 63 DB 78 */ mr r3, r27 -/* 80040868 0003D7C8 38 80 00 0A */ li r4, 0xa -/* 8004086C 0003D7CC 48 05 11 85 */ bl DisableItem__12CPlayerStateFQ212CPlayerState9EItemType -/* 80040870 0003D7D0 7F A3 EB 78 */ mr r3, r29 -/* 80040874 0003D7D4 7F E4 FB 78 */ mr r4, r31 -/* 80040878 0003D7D8 38 A0 00 00 */ li r5, 0 -/* 8004087C 0003D7DC 4B FF E9 61 */ bl ResetCharge__10CPlayerGunFR13CStateManagerb -lbl_80040880: -/* 80040880 0003D7E0 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80040884 0003D7E4 2C 00 00 01 */ cmpwi r0, 1 -/* 80040888 0003D7E8 41 82 00 48 */ beq lbl_800408D0 -/* 8004088C 0003D7EC 40 80 00 10 */ bge lbl_8004089C -/* 80040890 0003D7F0 2C 00 00 00 */ cmpwi r0, 0 -/* 80040894 0003D7F4 40 80 00 1C */ bge lbl_800408B0 -/* 80040898 0003D7F8 48 00 00 88 */ b lbl_80040920 -lbl_8004089C: -/* 8004089C 0003D7FC 2C 00 00 04 */ cmpwi r0, 4 -/* 800408A0 0003D800 40 80 00 80 */ bge lbl_80040920 -/* 800408A4 0003D804 38 00 00 00 */ li r0, 0 -/* 800408A8 0003D808 90 1D 02 F4 */ stw r0, 0x2f4(r29) -/* 800408AC 0003D80C 48 00 00 74 */ b lbl_80040920 -lbl_800408B0: -/* 800408B0 0003D810 80 1D 02 F8 */ lwz r0, 0x2f8(r29) -/* 800408B4 0003D814 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 800408B8 0003D818 2C 00 00 10 */ cmpwi r0, 0x10 -/* 800408BC 0003D81C 41 82 00 14 */ beq lbl_800408D0 -/* 800408C0 0003D820 7F A3 EB 78 */ mr r3, r29 -/* 800408C4 0003D824 7F C4 F3 78 */ mr r4, r30 -/* 800408C8 0003D828 7F E5 FB 78 */ mr r5, r31 -/* 800408CC 0003D82C 4B FF E4 C9 */ bl HandleWeaponChange__10CPlayerGunFRC11CFinalInputR13CStateManager -lbl_800408D0: -/* 800408D0 0003D830 7F C4 F3 78 */ mr r4, r30 -/* 800408D4 0003D834 38 60 00 0B */ li r3, 0xb -/* 800408D8 0003D838 4B FC BF 9D */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800408DC 0003D83C 54 65 06 3E */ clrlwi r5, r3, 0x18 -/* 800408E0 0003D840 7F C4 F3 78 */ mr r4, r30 -/* 800408E4 0003D844 7C 05 00 D0 */ neg r0, r5 -/* 800408E8 0003D848 38 60 00 0C */ li r3, 0xc -/* 800408EC 0003D84C 7C 00 2B 78 */ or r0, r0, r5 -/* 800408F0 0003D850 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800408F4 0003D854 90 1D 02 F4 */ stw r0, 0x2f4(r29) -/* 800408F8 0003D858 4B FC BF 7D */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800408FC 0003D85C 54 65 06 3E */ clrlwi r5, r3, 0x18 -/* 80040900 0003D860 80 1D 02 F4 */ lwz r0, 0x2f4(r29) -/* 80040904 0003D864 7C 85 00 D0 */ neg r4, r5 -/* 80040908 0003D868 38 60 00 02 */ li r3, 2 -/* 8004090C 0003D86C 7C 84 2B 78 */ or r4, r4, r5 -/* 80040910 0003D870 7C 84 FE 70 */ srawi r4, r4, 0x1f -/* 80040914 0003D874 7C 63 20 38 */ and r3, r3, r4 -/* 80040918 0003D878 7C 00 1B 78 */ or r0, r0, r3 -/* 8004091C 0003D87C 90 1D 02 F4 */ stw r0, 0x2f4(r29) -lbl_80040920: -/* 80040920 0003D880 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80040924 0003D884 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80040928 0003D888 7C 08 03 A6 */ mtlr r0 -/* 8004092C 0003D88C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80040930 0003D890 4E 80 00 20 */ blr - -.global Update__10CPlayerGunFfffR13CStateManager -Update__10CPlayerGunFfffR13CStateManager: -/* 80040934 0003D894 94 21 F3 C0 */ stwu r1, -0xc40(r1) -/* 80040938 0003D898 7C 08 02 A6 */ mflr r0 -/* 8004093C 0003D89C 90 01 0C 44 */ stw r0, 0xc44(r1) -/* 80040940 0003D8A0 DB E1 0C 30 */ stfd f31, 0xc30(r1) -/* 80040944 0003D8A4 F3 E1 0C 38 */ psq_st f31, -968(r1), 0, qr0 -/* 80040948 0003D8A8 DB C1 0C 20 */ stfd f30, 0xc20(r1) -/* 8004094C 0003D8AC F3 C1 0C 28 */ psq_st f30, -984(r1), 0, qr0 -/* 80040950 0003D8B0 DB A1 0C 10 */ stfd f29, 0xc10(r1) -/* 80040954 0003D8B4 F3 A1 0C 18 */ psq_st f29, -1000(r1), 0, qr0 -/* 80040958 0003D8B8 DB 81 0C 00 */ stfd f28, 0xc00(r1) -/* 8004095C 0003D8BC F3 81 0C 08 */ psq_st f28, -1016(r1), 0, qr0 -/* 80040960 0003D8C0 DB 61 0B F0 */ stfd f27, 0xbf0(r1) -/* 80040964 0003D8C4 F3 61 0B F8 */ psq_st f27, -1032(r1), 0, qr0 -/* 80040968 0003D8C8 BE E1 0B CC */ stmw r23, 0xbcc(r1) -/* 8004096C 0003D8CC 83 64 08 4C */ lwz r27, 0x84c(r4) -/* 80040970 0003D8D0 7C 9D 23 78 */ mr r29, r4 -/* 80040974 0003D8D4 80 84 08 B8 */ lwz r4, 0x8b8(r4) -/* 80040978 0003D8D8 7C 7C 1B 78 */ mr r28, r3 -/* 8004097C 0003D8DC 80 1B 02 F8 */ lwz r0, 0x2f8(r27) -/* 80040980 0003D8E0 FF C0 08 90 */ fmr f30, f1 -/* 80040984 0003D8E4 83 03 06 98 */ lwz r24, 0x698(r3) -/* 80040988 0003D8E8 FF 60 10 90 */ fmr f27, f2 -/* 8004098C 0003D8EC 7C 03 00 34 */ cntlzw r3, r0 -/* 80040990 0003D8F0 FF A0 18 90 */ fmr f29, f3 -/* 80040994 0003D8F4 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 80040998 0003D8F8 83 E4 00 00 */ lwz r31, 0(r4) -/* 8004099C 0003D8FC 54 7E D9 7E */ srwi r30, r3, 5 -/* 800409A0 0003D900 41 82 00 34 */ beq lbl_800409D4 -/* 800409A4 0003D904 7F 63 DB 78 */ mr r3, r27 -/* 800409A8 0003D908 4B FD 53 55 */ bl GetFrozenState__7CPlayerCFv -/* 800409AC 0003D90C 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 800409B0 0003D910 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 800409B4 0003D914 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f -/* 800409B8 0003D918 7C 00 1A 78 */ xor r0, r0, r3 -/* 800409BC 0003D91C 7C 60 00 38 */ and r0, r3, r0 -/* 800409C0 0003D920 7C 00 00 34 */ cntlzw r0, r0 -/* 800409C4 0003D924 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f -/* 800409C8 0003D928 7C 00 00 34 */ cntlzw r0, r0 -/* 800409CC 0003D92C 54 1A D9 7E */ srwi r26, r0, 5 -/* 800409D0 0003D930 48 00 00 08 */ b lbl_800409D8 -lbl_800409D4: -/* 800409D4 0003D934 3B 40 00 00 */ li r26, 0 -lbl_800409D8: -/* 800409D8 0003D938 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800409DC 0003D93C 41 82 00 34 */ beq lbl_80040A10 -/* 800409E0 0003D940 7F 63 DB 78 */ mr r3, r27 -/* 800409E4 0003D944 4B FD 53 19 */ bl GetFrozenState__7CPlayerCFv -/* 800409E8 0003D948 88 9C 08 34 */ lbz r4, 0x834(r28) -/* 800409EC 0003D94C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 800409F0 0003D950 54 83 F7 FE */ rlwinm r3, r4, 0x1e, 0x1f, 0x1f -/* 800409F4 0003D954 7C 60 02 78 */ xor r0, r3, r0 -/* 800409F8 0003D958 7C 60 00 38 */ and r0, r3, r0 -/* 800409FC 0003D95C 7C 00 00 34 */ cntlzw r0, r0 -/* 80040A00 0003D960 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f -/* 80040A04 0003D964 7C 00 00 34 */ cntlzw r0, r0 -/* 80040A08 0003D968 54 19 D9 7E */ srwi r25, r0, 5 -/* 80040A0C 0003D96C 48 00 00 08 */ b lbl_80040A14 -lbl_80040A10: -/* 80040A10 0003D970 3B 20 00 00 */ li r25, 0 -lbl_80040A14: -/* 80040A14 0003D974 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80040A18 0003D978 41 82 00 10 */ beq lbl_80040A28 -/* 80040A1C 0003D97C 7F 63 DB 78 */ mr r3, r27 -/* 80040A20 0003D980 4B FD 52 DD */ bl GetFrozenState__7CPlayerCFv -/* 80040A24 0003D984 48 00 00 08 */ b lbl_80040A2C -lbl_80040A28: -/* 80040A28 0003D988 38 60 00 00 */ li r3, 0 -lbl_80040A2C: -/* 80040A2C 0003D98C 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 80040A30 0003D990 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80040A34 0003D994 98 1C 08 34 */ stb r0, 0x834(r28) -/* 80040A38 0003D998 88 1C 08 34 */ lbz r0, 0x834(r28) -/* 80040A3C 0003D99C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80040A40 0003D9A0 41 82 00 0C */ beq lbl_80040A4C -/* 80040A44 0003D9A4 C3 82 84 6C */ lfs f28, lbl_805AA18C@sda21(r2) -/* 80040A48 0003D9A8 48 00 00 08 */ b lbl_80040A50 -lbl_80040A4C: -/* 80040A4C 0003D9AC FF 80 E8 90 */ fmr f28, f29 -lbl_80040A50: -/* 80040A50 0003D9B0 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 80040A54 0003D9B4 20 98 00 01 */ subfic r4, r24, 1 -/* 80040A58 0003D9B8 38 18 FF FF */ addi r0, r24, -1 -/* 80040A5C 0003D9BC 80 63 00 00 */ lwz r3, 0(r3) -/* 80040A60 0003D9C0 7C 80 03 78 */ or r0, r4, r0 -/* 80040A64 0003D9C4 54 17 0F FE */ srwi r23, r0, 0x1f -/* 80040A68 0003D9C8 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80040A6C 0003D9CC 2C 00 00 01 */ cmpwi r0, 1 -/* 80040A70 0003D9D0 41 82 00 0C */ beq lbl_80040A7C -/* 80040A74 0003D9D4 28 17 00 00 */ cmplwi r23, 0 -/* 80040A78 0003D9D8 41 82 00 28 */ beq lbl_80040AA0 -lbl_80040A7C: -/* 80040A7C 0003D9DC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80040A80 0003D9E0 FC 20 E0 90 */ fmr f1, f28 -/* 80040A84 0003D9E4 7F A5 EB 78 */ mr r5, r29 -/* 80040A88 0003D9E8 38 61 01 00 */ addi r3, r1, 0x100 -/* 80040A8C 0003D9EC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80040A90 0003D9F0 38 9C 06 E0 */ addi r4, r28, 0x6e0 -/* 80040A94 0003D9F4 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80040A98 0003D9F8 38 E0 00 01 */ li r7, 1 -/* 80040A9C 0003D9FC 48 0D 50 99 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb -lbl_80040AA0: -/* 80040AA0 0003DA00 28 17 00 00 */ cmplwi r23, 0 -/* 80040AA4 0003DA04 41 82 00 40 */ beq lbl_80040AE4 -/* 80040AA8 0003DA08 80 7C 07 34 */ lwz r3, 0x734(r28) -/* 80040AAC 0003DA0C 28 03 00 00 */ cmplwi r3, 0 -/* 80040AB0 0003DA10 41 82 00 34 */ beq lbl_80040AE4 -/* 80040AB4 0003DA14 80 1C 07 2C */ lwz r0, 0x72c(r28) -/* 80040AB8 0003DA18 7C 03 00 40 */ cmplw r3, r0 -/* 80040ABC 0003DA1C 41 82 00 28 */ beq lbl_80040AE4 -/* 80040AC0 0003DA20 80 7C 07 44 */ lwz r3, 0x744(r28) -/* 80040AC4 0003DA24 48 17 7D E1 */ bl LoadIdle__10CAuxWeaponFv -/* 80040AC8 0003DA28 80 7C 07 34 */ lwz r3, 0x734(r28) -/* 80040ACC 0003DA2C FC 20 E0 90 */ fmr f1, f28 -/* 80040AD0 0003DA30 7F A4 EB 78 */ mr r4, r29 -/* 80040AD4 0003DA34 81 83 00 00 */ lwz r12, 0(r3) -/* 80040AD8 0003DA38 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80040ADC 0003DA3C 7D 89 03 A6 */ mtctr r12 -/* 80040AE0 0003DA40 4E 80 04 21 */ bctrl -lbl_80040AE4: -/* 80040AE4 0003DA44 80 7C 07 44 */ lwz r3, 0x744(r28) -/* 80040AE8 0003DA48 88 03 00 80 */ lbz r0, 0x80(r3) -/* 80040AEC 0003DA4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80040AF0 0003DA50 40 82 00 08 */ bne lbl_80040AF8 -/* 80040AF4 0003DA54 48 17 7D B1 */ bl LoadIdle__10CAuxWeaponFv -lbl_80040AF8: -/* 80040AF8 0003DA58 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 80040AFC 0003DA5C 41 82 00 2C */ beq lbl_80040B28 -/* 80040B00 0003DA60 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040B04 0003DA64 38 80 00 00 */ li r4, 0 -/* 80040B08 0003DA68 81 83 00 00 */ lwz r12, 0(r3) -/* 80040B0C 0003DA6C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80040B10 0003DA70 7D 89 03 A6 */ mtctr r12 -/* 80040B14 0003DA74 4E 80 04 21 */ bctrl -/* 80040B18 0003DA78 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040B1C 0003DA7C 38 80 00 01 */ li r4, 1 -/* 80040B20 0003DA80 48 17 97 A9 */ bl EnableFrozenEffect__10CGunWeaponF13EFrozenFxType -/* 80040B24 0003DA84 48 00 00 18 */ b lbl_80040B3C -lbl_80040B28: -/* 80040B28 0003DA88 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 80040B2C 0003DA8C 41 82 00 10 */ beq lbl_80040B3C -/* 80040B30 0003DA90 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040B34 0003DA94 38 80 00 02 */ li r4, 2 -/* 80040B38 0003DA98 48 17 97 91 */ bl EnableFrozenEffect__10CGunWeaponF13EFrozenFxType -lbl_80040B3C: -/* 80040B3C 0003DA9C 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 80040B40 0003DAA0 40 82 00 0C */ bne lbl_80040B4C -/* 80040B44 0003DAA4 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 80040B48 0003DAA8 41 82 00 1C */ beq lbl_80040B64 -lbl_80040B4C: -/* 80040B4C 0003DAAC 38 00 00 00 */ li r0, 0 -/* 80040B50 0003DAB0 7F 83 E3 78 */ mr r3, r28 -/* 80040B54 0003DAB4 90 1C 02 F4 */ stw r0, 0x2f4(r28) -/* 80040B58 0003DAB8 7F A4 EB 78 */ mr r4, r29 -/* 80040B5C 0003DABC 90 1C 02 EC */ stw r0, 0x2ec(r28) -/* 80040B60 0003DAC0 4B FF BE F9 */ bl CancelFiring__10CPlayerGunFR13CStateManager -lbl_80040B64: -/* 80040B64 0003DAC4 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040B68 0003DAC8 FC 20 E0 90 */ fmr f1, f28 -/* 80040B6C 0003DACC 7F A4 EB 78 */ mr r4, r29 -/* 80040B70 0003DAD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80040B74 0003DAD4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80040B78 0003DAD8 7D 89 03 A6 */ mtctr r12 -/* 80040B7C 0003DADC 4E 80 04 21 */ bctrl -/* 80040B80 0003DAE0 C0 1C 03 70 */ lfs f0, 0x370(r28) -/* 80040B84 0003DAE4 7F A4 EB 78 */ mr r4, r29 -/* 80040B88 0003DAE8 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 80040B8C 0003DAEC EC 3C 00 32 */ fmuls f1, f28, f0 -/* 80040B90 0003DAF0 48 19 85 9D */ bl Update__10CGunMotionFfR13CStateManager -/* 80040B94 0003DAF4 FC 20 F0 90 */ fmr f1, f30 -/* 80040B98 0003DAF8 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 80040B9C 0003DAFC FC 40 E0 90 */ fmr f2, f28 -/* 80040BA0 0003DB00 7F A4 EB 78 */ mr r4, r29 -/* 80040BA4 0003DB04 48 0D E3 05 */ bl Update__11CGrappleArmFffR13CStateManager -/* 80040BA8 0003DB08 80 1C 03 38 */ lwz r0, 0x338(r28) -/* 80040BAC 0003DB0C 2C 00 00 00 */ cmpwi r0, 0 -/* 80040BB0 0003DB10 41 82 02 70 */ beq lbl_80040E20 -/* 80040BB4 0003DB14 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040BB8 0003DB18 2C 18 00 00 */ cmpwi r24, 0 -/* 80040BBC 0003DB1C 83 03 00 20 */ lwz r24, 0x20(r3) -/* 80040BC0 0003DB20 40 82 00 28 */ bne lbl_80040BE8 -/* 80040BC4 0003DB24 2C 00 00 05 */ cmpwi r0, 5 -/* 80040BC8 0003DB28 40 82 02 58 */ bne lbl_80040E20 -/* 80040BCC 0003DB2C 7F 83 E3 78 */ mr r3, r28 -/* 80040BD0 0003DB30 7F E4 FB 78 */ mr r4, r31 -/* 80040BD4 0003DB34 7F A5 EB 78 */ mr r5, r29 -/* 80040BD8 0003DB38 4B FF E3 C1 */ bl ChangeWeapon__10CPlayerGunFRC12CPlayerStateR13CStateManager -/* 80040BDC 0003DB3C 38 00 00 00 */ li r0, 0 -/* 80040BE0 0003DB40 90 1C 03 38 */ stw r0, 0x338(r28) -/* 80040BE4 0003DB44 48 00 02 3C */ b lbl_80040E20 -lbl_80040BE8: -/* 80040BE8 0003DB48 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha -/* 80040BEC 0003DB4C 38 61 00 80 */ addi r3, r1, 0x80 -/* 80040BF0 0003DB50 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l -/* 80040BF4 0003DB54 38 84 00 1E */ addi r4, r4, 0x1e -/* 80040BF8 0003DB58 4B FC 40 C1 */ bl string_l__4rstlFPCc -/* 80040BFC 0003DB5C C0 22 84 E4 */ lfs f1, lbl_805AA204@sda21(r2) -/* 80040C00 0003DB60 7F 03 C3 78 */ mr r3, r24 -/* 80040C04 0003DB64 38 81 00 80 */ addi r4, r1, 0x80 -/* 80040C08 0003DB68 4B FE B7 E5 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80040C0C 0003DB6C 7C 78 1B 78 */ mr r24, r3 -/* 80040C10 0003DB70 38 61 00 80 */ addi r3, r1, 0x80 -/* 80040C14 0003DB74 48 2F CE CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80040C18 0003DB78 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80040C1C 0003DB7C 41 82 00 10 */ beq lbl_80040C2C -/* 80040C20 0003DB80 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 80040C24 0003DB84 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80040C28 0003DB88 41 82 01 F8 */ beq lbl_80040E20 -lbl_80040C2C: -/* 80040C2C 0003DB8C 80 1C 03 38 */ lwz r0, 0x338(r28) -/* 80040C30 0003DB90 3B 00 00 01 */ li r24, 1 -/* 80040C34 0003DB94 28 00 00 09 */ cmplwi r0, 9 -/* 80040C38 0003DB98 41 81 01 D8 */ bgt lbl_80040E10 -/* 80040C3C 0003DB9C 3C 60 80 3E */ lis r3, lbl_803D9E04@ha -/* 80040C40 0003DBA0 54 00 10 3A */ slwi r0, r0, 2 -/* 80040C44 0003DBA4 38 63 9E 04 */ addi r3, r3, lbl_803D9E04@l -/* 80040C48 0003DBA8 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80040C4C 0003DBAC 7C 09 03 A6 */ mtctr r0 -/* 80040C50 0003DBB0 4E 80 04 20 */ bctr -/* 80040C54 0003DBB4 80 7C 02 F8 */ lwz r3, 0x2f8(r28) -/* 80040C58 0003DBB8 38 00 00 01 */ li r0, 1 -/* 80040C5C 0003DBBC 54 63 00 3C */ rlwinm r3, r3, 0, 0, 0x1e -/* 80040C60 0003DBC0 90 7C 02 F8 */ stw r3, 0x2f8(r28) -/* 80040C64 0003DBC4 80 7C 02 F8 */ lwz r3, 0x2f8(r28) -/* 80040C68 0003DBC8 60 63 00 06 */ ori r3, r3, 6 -/* 80040C6C 0003DBCC 90 7C 02 F8 */ stw r3, 0x2f8(r28) -/* 80040C70 0003DBD0 90 1C 03 18 */ stw r0, 0x318(r28) -/* 80040C74 0003DBD4 90 1C 03 1C */ stw r0, 0x31c(r28) -/* 80040C78 0003DBD8 48 00 01 98 */ b lbl_80040E10 -/* 80040C7C 0003DBDC 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80040C80 0003DBE0 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c -/* 80040C84 0003DBE4 2C 00 00 08 */ cmpwi r0, 8 -/* 80040C88 0003DBE8 41 82 00 20 */ beq lbl_80040CA8 -/* 80040C8C 0003DBEC 80 7C 02 F8 */ lwz r3, 0x2f8(r28) -/* 80040C90 0003DBF0 38 00 FF E9 */ li r0, -23 -/* 80040C94 0003DBF4 60 63 00 01 */ ori r3, r3, 1 -/* 80040C98 0003DBF8 90 7C 02 F8 */ stw r3, 0x2f8(r28) -/* 80040C9C 0003DBFC 80 7C 02 F8 */ lwz r3, 0x2f8(r28) -/* 80040CA0 0003DC00 7C 60 00 38 */ and r0, r3, r0 -/* 80040CA4 0003DC04 90 1C 02 F8 */ stw r0, 0x2f8(r28) -lbl_80040CA8: -/* 80040CA8 0003DC08 38 00 00 00 */ li r0, 0 -/* 80040CAC 0003DC0C 90 1C 03 18 */ stw r0, 0x318(r28) -/* 80040CB0 0003DC10 90 1C 03 1C */ stw r0, 0x31c(r28) -/* 80040CB4 0003DC14 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040CB8 0003DC18 48 17 BF DD */ bl GetWeaponInfo__10CGunWeaponCFv -/* 80040CBC 0003DC1C C0 03 00 00 */ lfs f0, 0(r3) -/* 80040CC0 0003DC20 D0 1C 03 90 */ stfs f0, 0x390(r28) -/* 80040CC4 0003DC24 48 00 01 4C */ b lbl_80040E10 -/* 80040CC8 0003DC28 7F 83 E3 78 */ mr r3, r28 -/* 80040CCC 0003DC2C 38 80 00 08 */ li r4, 8 -/* 80040CD0 0003DC30 38 A0 00 00 */ li r5, 0 -/* 80040CD4 0003DC34 48 00 0B F1 */ bl PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -/* 80040CD8 0003DC38 38 00 00 03 */ li r0, 3 -/* 80040CDC 0003DC3C 3B 00 00 00 */ li r24, 0 -/* 80040CE0 0003DC40 90 1C 03 38 */ stw r0, 0x338(r28) -/* 80040CE4 0003DC44 48 00 01 2C */ b lbl_80040E10 -/* 80040CE8 0003DC48 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80040CEC 0003DC4C 60 00 00 04 */ ori r0, r0, 4 -/* 80040CF0 0003DC50 90 1C 02 F8 */ stw r0, 0x2f8(r28) -/* 80040CF4 0003DC54 48 00 01 1C */ b lbl_80040E10 -/* 80040CF8 0003DC58 7F 83 E3 78 */ mr r3, r28 -/* 80040CFC 0003DC5C 7F E4 FB 78 */ mr r4, r31 -/* 80040D00 0003DC60 7F A5 EB 78 */ mr r5, r29 -/* 80040D04 0003DC64 4B FF E2 95 */ bl ChangeWeapon__10CPlayerGunFRC12CPlayerStateR13CStateManager -/* 80040D08 0003DC68 48 00 01 08 */ b lbl_80040E10 -/* 80040D0C 0003DC6C 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040D10 0003DC70 48 17 BF 85 */ bl GetWeaponInfo__10CGunWeaponCFv -/* 80040D14 0003DC74 C0 03 00 00 */ lfs f0, 0(r3) -/* 80040D18 0003DC78 D0 1C 03 90 */ stfs f0, 0x390(r28) -/* 80040D1C 0003DC7C 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80040D20 0003DC80 54 00 07 76 */ rlwinm r0, r0, 0, 0x1d, 0x1b -/* 80040D24 0003DC84 90 1C 02 F8 */ stw r0, 0x2f8(r28) -/* 80040D28 0003DC88 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80040D2C 0003DC8C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c -/* 80040D30 0003DC90 2C 00 00 08 */ cmpwi r0, 8 -/* 80040D34 0003DC94 41 82 00 20 */ beq lbl_80040D54 -/* 80040D38 0003DC98 80 7C 02 F8 */ lwz r3, 0x2f8(r28) -/* 80040D3C 0003DC9C 38 00 FF E9 */ li r0, -23 -/* 80040D40 0003DCA0 60 63 00 01 */ ori r3, r3, 1 -/* 80040D44 0003DCA4 90 7C 02 F8 */ stw r3, 0x2f8(r28) -/* 80040D48 0003DCA8 80 7C 02 F8 */ lwz r3, 0x2f8(r28) -/* 80040D4C 0003DCAC 7C 60 00 38 */ and r0, r3, r0 -/* 80040D50 0003DCB0 90 1C 02 F8 */ stw r0, 0x2f8(r28) -lbl_80040D54: -/* 80040D54 0003DCB4 38 00 00 00 */ li r0, 0 -/* 80040D58 0003DCB8 90 1C 03 18 */ stw r0, 0x318(r28) -/* 80040D5C 0003DCBC 90 1C 03 1C */ stw r0, 0x31c(r28) -/* 80040D60 0003DCC0 48 00 00 B0 */ b lbl_80040E10 -/* 80040D64 0003DCC4 80 7C 07 5C */ lwz r3, 0x75c(r28) -/* 80040D68 0003DCC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80040D6C 0003DCCC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80040D70 0003DCD0 7D 89 03 A6 */ mtctr r12 -/* 80040D74 0003DCD4 4E 80 04 21 */ bctrl -/* 80040D78 0003DCD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80040D7C 0003DCDC 40 82 00 94 */ bne lbl_80040E10 -/* 80040D80 0003DCE0 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040D84 0003DCE4 38 C0 00 01 */ li r6, 1 -/* 80040D88 0003DCE8 7F A4 EB 78 */ mr r4, r29 -/* 80040D8C 0003DCEC 38 A0 00 00 */ li r5, 0 -/* 80040D90 0003DCF0 88 03 02 18 */ lbz r0, 0x218(r3) -/* 80040D94 0003DCF4 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 80040D98 0003DCF8 98 03 02 18 */ stb r0, 0x218(r3) -/* 80040D9C 0003DCFC 80 7C 07 5C */ lwz r3, 0x75c(r28) -/* 80040DA0 0003DD00 81 83 00 00 */ lwz r12, 0(r3) -/* 80040DA4 0003DD04 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80040DA8 0003DD08 7D 89 03 A6 */ mtctr r12 -/* 80040DAC 0003DD0C 4E 80 04 21 */ bctrl -/* 80040DB0 0003DD10 38 00 00 01 */ li r0, 1 -/* 80040DB4 0003DD14 90 1C 03 3C */ stw r0, 0x33c(r28) -/* 80040DB8 0003DD18 48 00 00 58 */ b lbl_80040E10 -/* 80040DBC 0003DD1C 80 7C 07 38 */ lwz r3, 0x738(r28) -/* 80040DC0 0003DD20 81 83 00 00 */ lwz r12, 0(r3) -/* 80040DC4 0003DD24 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80040DC8 0003DD28 7D 89 03 A6 */ mtctr r12 -/* 80040DCC 0003DD2C 4E 80 04 21 */ bctrl -/* 80040DD0 0003DD30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80040DD4 0003DD34 40 82 00 3C */ bne lbl_80040E10 -/* 80040DD8 0003DD38 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040DDC 0003DD3C 38 C0 00 01 */ li r6, 1 -/* 80040DE0 0003DD40 7F A4 EB 78 */ mr r4, r29 -/* 80040DE4 0003DD44 38 A0 00 00 */ li r5, 0 -/* 80040DE8 0003DD48 88 03 02 18 */ lbz r0, 0x218(r3) -/* 80040DEC 0003DD4C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 80040DF0 0003DD50 98 03 02 18 */ stb r0, 0x218(r3) -/* 80040DF4 0003DD54 80 7C 07 38 */ lwz r3, 0x738(r28) -/* 80040DF8 0003DD58 81 83 00 00 */ lwz r12, 0(r3) -/* 80040DFC 0003DD5C 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80040E00 0003DD60 7D 89 03 A6 */ mtctr r12 -/* 80040E04 0003DD64 4E 80 04 21 */ bctrl -/* 80040E08 0003DD68 38 00 00 02 */ li r0, 2 -/* 80040E0C 0003DD6C 90 1C 03 3C */ stw r0, 0x33c(r28) -lbl_80040E10: -/* 80040E10 0003DD70 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80040E14 0003DD74 41 82 00 0C */ beq lbl_80040E20 -/* 80040E18 0003DD78 38 00 00 00 */ li r0, 0 -/* 80040E1C 0003DD7C 90 1C 03 38 */ stw r0, 0x338(r28) -lbl_80040E20: -/* 80040E20 0003DD80 C0 3C 03 7C */ lfs f1, 0x37c(r28) -/* 80040E24 0003DD84 C0 02 84 70 */ lfs f0, lbl_805AA190@sda21(r2) -/* 80040E28 0003DD88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80040E2C 0003DD8C 40 80 00 10 */ bge lbl_80040E3C -/* 80040E30 0003DD90 EC 01 E0 2A */ fadds f0, f1, f28 -/* 80040E34 0003DD94 D0 1C 03 7C */ stfs f0, 0x37c(r28) -/* 80040E38 0003DD98 48 00 00 20 */ b lbl_80040E58 -lbl_80040E3C: -/* 80040E3C 0003DD9C C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80040E40 0003DDA0 D0 1C 03 7C */ stfs f0, 0x37c(r28) -/* 80040E44 0003DDA4 80 7C 03 0C */ lwz r3, 0x30c(r28) -/* 80040E48 0003DDA8 2C 03 00 00 */ cmpwi r3, 0 -/* 80040E4C 0003DDAC 40 81 00 0C */ ble lbl_80040E58 -/* 80040E50 0003DDB0 38 03 FF FF */ addi r0, r3, -1 -/* 80040E54 0003DDB4 90 1C 03 0C */ stw r0, 0x30c(r28) -lbl_80040E58: -/* 80040E58 0003DDB8 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 80040E5C 0003DDBC 2C 00 00 00 */ cmpwi r0, 0 -/* 80040E60 0003DDC0 41 82 00 94 */ beq lbl_80040EF4 -/* 80040E64 0003DDC4 7F 63 DB 78 */ mr r3, r27 -/* 80040E68 0003DDC8 4B FD 4E 95 */ bl GetFrozenState__7CPlayerCFv -/* 80040E6C 0003DDCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80040E70 0003DDD0 40 82 00 84 */ bne lbl_80040EF4 -/* 80040E74 0003DDD4 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 80040E78 0003DDD8 48 2D 16 A9 */ bl Next__9CRandom16Fv -/* 80040E7C 0003DDDC 3C A0 55 55 */ lis r5, 0x55555556@ha -/* 80040E80 0003DDE0 3C 80 80 3D */ lis r4, lbl_803CCE38@ha -/* 80040E84 0003DDE4 38 05 55 56 */ addi r0, r5, 0x55555556@l -/* 80040E88 0003DDE8 C0 1C 03 40 */ lfs f0, 0x340(r28) -/* 80040E8C 0003DDEC 7C A0 18 96 */ mulhw r5, r0, r3 -/* 80040E90 0003DDF0 38 84 CE 38 */ addi r4, r4, lbl_803CCE38@l -/* 80040E94 0003DDF4 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 80040E98 0003DDF8 7C 05 02 14 */ add r0, r5, r0 -/* 80040E9C 0003DDFC 1C 00 00 03 */ mulli r0, r0, 3 -/* 80040EA0 0003DE00 7C 00 18 50 */ subf r0, r0, r3 -/* 80040EA4 0003DE04 54 00 10 3A */ slwi r0, r0, 2 -/* 80040EA8 0003DE08 7C 24 04 2E */ lfsx f1, r4, r0 -/* 80040EAC 0003DE0C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80040EB0 0003DE10 D0 1C 03 4C */ stfs f0, 0x34c(r28) -/* 80040EB4 0003DE14 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 80040EB8 0003DE18 48 2D 16 69 */ bl Next__9CRandom16Fv -/* 80040EBC 0003DE1C 3C A0 55 55 */ lis r5, 0x55555556@ha -/* 80040EC0 0003DE20 3C 80 80 3D */ lis r4, lbl_803CCE38@ha -/* 80040EC4 0003DE24 38 05 55 56 */ addi r0, r5, 0x55555556@l -/* 80040EC8 0003DE28 C0 1C 03 40 */ lfs f0, 0x340(r28) -/* 80040ECC 0003DE2C 7C A0 18 96 */ mulhw r5, r0, r3 -/* 80040ED0 0003DE30 38 84 CE 38 */ addi r4, r4, lbl_803CCE38@l -/* 80040ED4 0003DE34 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 80040ED8 0003DE38 7C 05 02 14 */ add r0, r5, r0 -/* 80040EDC 0003DE3C 1C 00 00 03 */ mulli r0, r0, 3 -/* 80040EE0 0003DE40 7C 00 18 50 */ subf r0, r0, r3 -/* 80040EE4 0003DE44 54 00 10 3A */ slwi r0, r0, 2 -/* 80040EE8 0003DE48 7C 24 04 2E */ lfsx f1, r4, r0 -/* 80040EEC 0003DE4C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80040EF0 0003DE50 D0 1C 03 50 */ stfs f0, 0x350(r28) -lbl_80040EF4: -/* 80040EF4 0003DE54 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80040EF8 0003DE58 81 83 00 00 */ lwz r12, 0(r3) -/* 80040EFC 0003DE5C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80040F00 0003DE60 7D 89 03 A6 */ mtctr r12 -/* 80040F04 0003DE64 4E 80 04 21 */ bctrl -/* 80040F08 0003DE68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80040F0C 0003DE6C 41 82 09 7C */ beq lbl_80041888 -/* 80040F10 0003DE70 80 BC 07 2C */ lwz r5, 0x72c(r28) -/* 80040F14 0003DE74 38 61 00 70 */ addi r3, r1, 0x70 -/* 80040F18 0003DE78 83 1C 07 3C */ lwz r24, 0x73c(r28) -/* 80040F1C 0003DE7C 80 82 84 48 */ lwz r4, lbl_805AA168@sda21(r2) -/* 80040F20 0003DE80 3B 25 00 10 */ addi r25, r5, 0x10 -/* 80040F24 0003DE84 4B FC 3D 95 */ bl string_l__4rstlFPCc -/* 80040F28 0003DE88 7F 83 E3 78 */ mr r3, r28 -/* 80040F2C 0003DE8C 7F 05 C3 78 */ mr r5, r24 -/* 80040F30 0003DE90 38 9C 04 D8 */ addi r4, r28, 0x4d8 -/* 80040F34 0003DE94 38 C1 00 70 */ addi r6, r1, 0x70 -/* 80040F38 0003DE98 38 E0 00 01 */ li r7, 1 -/* 80040F3C 0003DE9C 39 00 00 01 */ li r8, 1 -/* 80040F40 0003DEA0 48 00 0A 89 */ bl "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" -/* 80040F44 0003DEA4 38 61 00 70 */ addi r3, r1, 0x70 -/* 80040F48 0003DEA8 48 2F CB 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80040F4C 0003DEAC 80 82 A9 C8 */ lwz r4, lbl_805AC6E8@sda21(r2) -/* 80040F50 0003DEB0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80040F54 0003DEB4 4B FC 3D 65 */ bl string_l__4rstlFPCc -/* 80040F58 0003DEB8 7F 83 E3 78 */ mr r3, r28 -/* 80040F5C 0003DEBC 7F 25 CB 78 */ mr r5, r25 -/* 80040F60 0003DEC0 38 9C 04 18 */ addi r4, r28, 0x418 -/* 80040F64 0003DEC4 38 C1 00 60 */ addi r6, r1, 0x60 -/* 80040F68 0003DEC8 38 E0 00 00 */ li r7, 0 -/* 80040F6C 0003DECC 39 00 00 01 */ li r8, 1 -/* 80040F70 0003DED0 48 00 0A 59 */ bl "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" -/* 80040F74 0003DED4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80040F78 0003DED8 48 2F CB 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80040F7C 0003DEDC 3C 80 80 3D */ lis r4, lbl_803CCEB0@ha -/* 80040F80 0003DEE0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80040F84 0003DEE4 38 84 CE B0 */ addi r4, r4, lbl_803CCEB0@l -/* 80040F88 0003DEE8 38 84 00 18 */ addi r4, r4, 0x18 -/* 80040F8C 0003DEEC 4B FC 3D 2D */ bl string_l__4rstlFPCc -/* 80040F90 0003DEF0 7F 83 E3 78 */ mr r3, r28 -/* 80040F94 0003DEF4 7F 25 CB 78 */ mr r5, r25 -/* 80040F98 0003DEF8 38 9C 05 08 */ addi r4, r28, 0x508 -/* 80040F9C 0003DEFC 38 C1 00 50 */ addi r6, r1, 0x50 -/* 80040FA0 0003DF00 38 E0 00 00 */ li r7, 0 -/* 80040FA4 0003DF04 39 00 00 00 */ li r8, 0 -/* 80040FA8 0003DF08 48 00 0A 21 */ bl "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" -/* 80040FAC 0003DF0C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80040FB0 0003DF10 48 2F CB 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80040FB4 0003DF14 38 61 02 A0 */ addi r3, r1, 0x2a0 -/* 80040FB8 0003DF18 38 9C 05 50 */ addi r4, r28, 0x550 -/* 80040FBC 0003DF1C 48 0A 8D E9 */ bl GetCameraBobTransformation__16CPlayerCameraBobCFv -/* 80040FC0 0003DF20 38 61 02 D0 */ addi r3, r1, 0x2d0 -/* 80040FC4 0003DF24 38 9C 03 E8 */ addi r4, r28, 0x3e8 -/* 80040FC8 0003DF28 38 BC 04 D8 */ addi r5, r28, 0x4d8 -/* 80040FCC 0003DF2C 48 2D 19 85 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80040FD0 0003DF30 38 61 03 00 */ addi r3, r1, 0x300 -/* 80040FD4 0003DF34 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 80040FD8 0003DF38 38 A1 02 A0 */ addi r5, r1, 0x2a0 -/* 80040FDC 0003DF3C 48 2D 19 75 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80040FE0 0003DF40 38 7C 04 A8 */ addi r3, r28, 0x4a8 -/* 80040FE4 0003DF44 38 81 03 00 */ addi r4, r1, 0x300 -/* 80040FE8 0003DF48 48 2D 1B 59 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80040FEC 0003DF4C 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 80040FF0 0003DF50 88 63 03 B2 */ lbz r3, 0x3b2(r3) -/* 80040FF4 0003DF54 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80040FF8 0003DF58 41 82 00 1C */ beq lbl_80041014 -/* 80040FFC 0003DF5C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80041000 0003DF60 40 82 00 14 */ bne lbl_80041014 -/* 80041004 0003DF64 7F 83 E3 78 */ mr r3, r28 -/* 80041008 0003DF68 7F 24 CB 78 */ mr r4, r25 -/* 8004100C 0003DF6C 7F A5 EB 78 */ mr r5, r29 -/* 80041010 0003DF70 4B FF AC BD */ bl UpdateLeftArmTransform__10CPlayerGunFRC10CModelDataRC13CStateManager -lbl_80041014: -/* 80041014 0003DF74 80 1C 02 F0 */ lwz r0, 0x2f0(r28) -/* 80041018 0003DF78 38 7C 06 A0 */ addi r3, r28, 0x6a0 -/* 8004101C 0003DF7C 38 80 00 00 */ li r4, 0 -/* 80041020 0003DF80 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80041024 0003DF84 41 82 00 2C */ beq lbl_80041050 -/* 80041028 0003DF88 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 8004102C 0003DF8C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80041030 0003DF90 41 82 00 20 */ beq lbl_80041050 -/* 80041034 0003DF94 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 80041038 0003DF98 2C 00 00 02 */ cmpwi r0, 2 -/* 8004103C 0003DF9C 40 80 00 14 */ bge lbl_80041050 -/* 80041040 0003DFA0 88 1B 03 DC */ lbz r0, 0x3dc(r27) -/* 80041044 0003DFA4 28 00 00 00 */ cmplwi r0, 0 -/* 80041048 0003DFA8 40 82 00 08 */ bne lbl_80041050 -/* 8004104C 0003DFAC 38 80 00 01 */ li r4, 1 -lbl_80041050: -/* 80041050 0003DFB0 FC 20 E0 90 */ fmr f1, f28 -/* 80041054 0003DFB4 7F A6 EB 78 */ mr r6, r29 -/* 80041058 0003DFB8 38 BC 04 A8 */ addi r5, r28, 0x4a8 -/* 8004105C 0003DFBC 4B FF BD 6D */ bl Update__Q210CPlayerGun12CMotionStateFbfR12CTransform4fR13CStateManager -/* 80041060 0003DFC0 38 61 02 70 */ addi r3, r1, 0x270 -/* 80041064 0003DFC4 38 9C 04 A8 */ addi r4, r28, 0x4a8 -/* 80041068 0003DFC8 48 2D 1B 0D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8004106C 0003DFCC FC 20 E0 90 */ fmr f1, f28 -/* 80041070 0003DFD0 7F 23 CB 78 */ mr r3, r25 -/* 80041074 0003DFD4 7F A5 EB 78 */ mr r5, r29 -/* 80041078 0003DFD8 38 81 02 70 */ addi r4, r1, 0x270 -/* 8004107C 0003DFDC 48 0D 45 11 */ bl AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager -/* 80041080 0003DFE0 C0 3C 03 80 */ lfs f1, 0x380(r28) -/* 80041084 0003DFE4 38 80 00 00 */ li r4, 0 -/* 80041088 0003DFE8 C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) -/* 8004108C 0003DFEC 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80041090 0003DFF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80041094 0003DFF4 40 81 00 18 */ ble lbl_800410AC -/* 80041098 0003DFF8 C0 3C 03 78 */ lfs f1, 0x378(r28) -/* 8004109C 0003DFFC C0 02 84 F8 */ lfs f0, lbl_805AA218@sda21(r2) -/* 800410A0 0003E000 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800410A4 0003E004 40 81 00 08 */ ble lbl_800410AC -/* 800410A8 0003E008 38 80 00 01 */ li r4, 1 -lbl_800410AC: -/* 800410AC 0003E00C 81 83 00 00 */ lwz r12, 0(r3) -/* 800410B0 0003E010 FC 20 E8 90 */ fmr f1, f29 -/* 800410B4 0003E014 7F A5 EB 78 */ mr r5, r29 -/* 800410B8 0003E018 38 DC 05 08 */ addi r6, r28, 0x508 -/* 800410BC 0003E01C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800410C0 0003E020 7D 89 03 A6 */ mtctr r12 -/* 800410C4 0003E024 4E 80 04 21 */ bctrl -/* 800410C8 0003E028 38 61 02 10 */ addi r3, r1, 0x210 -/* 800410CC 0003E02C 38 9C 04 A8 */ addi r4, r28, 0x4a8 -/* 800410D0 0003E030 48 2D 1A A5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800410D4 0003E034 38 61 02 40 */ addi r3, r1, 0x240 -/* 800410D8 0003E038 38 81 02 10 */ addi r4, r1, 0x210 -/* 800410DC 0003E03C 38 BC 04 18 */ addi r5, r28, 0x418 -/* 800410E0 0003E040 48 2D 18 71 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800410E4 0003E044 38 61 03 90 */ addi r3, r1, 0x390 -/* 800410E8 0003E048 38 81 02 40 */ addi r4, r1, 0x240 -/* 800410EC 0003E04C 48 2D 1A 89 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800410F0 0003E050 80 1B 02 F8 */ lwz r0, 0x2f8(r27) -/* 800410F4 0003E054 2C 00 00 00 */ cmpwi r0, 0 -/* 800410F8 0003E058 40 82 02 70 */ bne lbl_80041368 -/* 800410FC 0003E05C 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 80041100 0003E060 4B FC 98 01 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 80041104 0003E064 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80041108 0003E068 40 82 02 60 */ bne lbl_80041368 -/* 8004110C 0003E06C 38 00 00 00 */ li r0, 0 -/* 80041110 0003E070 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80041114 0003E074 90 01 03 C0 */ stw r0, 0x3c0(r1) -/* 80041118 0003E078 38 9C 04 A8 */ addi r4, r28, 0x4a8 -/* 8004111C 0003E07C 48 2D 1A 59 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80041120 0003E080 80 9C 07 2C */ lwz r4, 0x72c(r28) -/* 80041124 0003E084 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 80041128 0003E088 48 17 A5 A1 */ bl GetBounds__10CGunWeaponCFv -/* 8004112C 0003E08C 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80041130 0003E090 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 80041134 0003E094 38 A1 01 E0 */ addi r5, r1, 0x1e0 -/* 80041138 0003E098 48 2F 67 C5 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 8004113C 0003E09C 3C 80 80 46 */ lis r4, lbl_8045C518@ha -/* 80041140 0003E0A0 7F A3 EB 78 */ mr r3, r29 -/* 80041144 0003E0A4 38 C4 C5 18 */ addi r6, r4, lbl_8045C518@l -/* 80041148 0003E0A8 7F 67 DB 78 */ mr r7, r27 -/* 8004114C 0003E0AC 38 81 03 C0 */ addi r4, r1, 0x3c0 -/* 80041150 0003E0B0 38 A1 00 E8 */ addi r5, r1, 0xe8 -/* 80041154 0003E0B4 48 00 B5 CD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80041158 0003E0B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004115C 0003E0BC 38 61 00 44 */ addi r3, r1, 0x44 -/* 80041160 0003E0C0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80041164 0003E0C4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80041168 0003E0C8 C0 5C 04 CC */ lfs f2, 0x4cc(r28) -/* 8004116C 0003E0CC C0 3C 04 BC */ lfs f1, 0x4bc(r28) -/* 80041170 0003E0D0 C0 1C 04 AC */ lfs f0, 0x4ac(r28) -/* 80041174 0003E0D4 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80041178 0003E0D8 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8004117C 0003E0DC D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80041180 0003E0E0 48 2D 36 D1 */ bl AsNormalized__9CVector3fCFv -/* 80041184 0003E0E4 C0 A1 00 44 */ lfs f5, 0x44(r1) -/* 80041188 0003E0E8 38 60 00 00 */ li r3, 0 -/* 8004118C 0003E0EC C0 81 00 48 */ lfs f4, 0x48(r1) -/* 80041190 0003E0F0 38 80 00 01 */ li r4, 1 -/* 80041194 0003E0F4 C0 02 84 FC */ lfs f0, lbl_805AA21C@sda21(r2) -/* 80041198 0003E0F8 C0 61 00 4C */ lfs f3, 0x4c(r1) -/* 8004119C 0003E0FC EC 20 01 32 */ fmuls f1, f0, f4 -/* 800411A0 0003E100 D0 A1 00 A8 */ stfs f5, 0xa8(r1) -/* 800411A4 0003E104 EC 40 00 F2 */ fmuls f2, f0, f3 -/* 800411A8 0003E108 80 AD 82 58 */ lwz r5, lbl_805A6E18@sda21(r13) -/* 800411AC 0003E10C EC 00 01 72 */ fmuls f0, f0, f5 -/* 800411B0 0003E110 D0 81 00 AC */ stfs f4, 0xac(r1) -/* 800411B4 0003E114 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 800411B8 0003E118 FF A0 10 50 */ fneg f29, f2 -/* 800411BC 0003E11C FF C0 08 50 */ fneg f30, f1 -/* 800411C0 0003E120 FF E0 00 50 */ fneg f31, f0 -/* 800411C4 0003E124 C0 5C 04 C4 */ lfs f2, 0x4c4(r28) -/* 800411C8 0003E128 C0 3C 04 D4 */ lfs f1, 0x4d4(r28) -/* 800411CC 0003E12C C0 1C 04 B4 */ lfs f0, 0x4b4(r28) -/* 800411D0 0003E130 EC 42 F0 2A */ fadds f2, f2, f30 -/* 800411D4 0003E134 EC 21 E8 2A */ fadds f1, f1, f29 -/* 800411D8 0003E138 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800411DC 0003E13C D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 800411E0 0003E140 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 800411E4 0003E144 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 800411E8 0003E148 48 34 8D 0D */ bl __shl2i -/* 800411EC 0003E14C 80 AD 82 54 */ lwz r5, lbl_805A6E14@sda21(r13) -/* 800411F0 0003E150 7C 99 23 78 */ mr r25, r4 -/* 800411F4 0003E154 7C 78 1B 78 */ mr r24, r3 -/* 800411F8 0003E158 38 60 00 00 */ li r3, 0 -/* 800411FC 0003E15C 38 80 00 01 */ li r4, 1 -/* 80041200 0003E160 48 34 8C F5 */ bl __shl2i -/* 80041204 0003E164 38 00 00 03 */ li r0, 3 -/* 80041208 0003E168 90 81 00 BC */ stw r4, 0xbc(r1) -/* 8004120C 0003E16C C0 22 85 00 */ lfs f1, lbl_805AA220@sda21(r2) -/* 80041210 0003E170 7F A4 EB 78 */ mr r4, r29 -/* 80041214 0003E174 90 61 00 B8 */ stw r3, 0xb8(r1) -/* 80041218 0003E178 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 8004121C 0003E17C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80041220 0003E180 38 C1 00 9C */ addi r6, r1, 0x9c -/* 80041224 0003E184 93 21 00 C4 */ stw r25, 0xc4(r1) -/* 80041228 0003E188 38 E1 00 A8 */ addi r7, r1, 0xa8 -/* 8004122C 0003E18C 39 01 00 B8 */ addi r8, r1, 0xb8 -/* 80041230 0003E190 39 21 03 C0 */ addi r9, r1, 0x3c0 -/* 80041234 0003E194 93 01 00 C0 */ stw r24, 0xc0(r1) -/* 80041238 0003E198 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 8004123C 0003E19C 48 00 BD 89 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80041240 0003E1A0 88 A1 01 D0 */ lbz r5, 0x1d0(r1) -/* 80041244 0003E1A4 C0 E1 01 B0 */ lfs f7, 0x1b0(r1) -/* 80041248 0003E1A8 C0 C1 01 B4 */ lfs f6, 0x1b4(r1) -/* 8004124C 0003E1AC 28 05 00 00 */ cmplwi r5, 0 -/* 80041250 0003E1B0 C0 A1 01 B8 */ lfs f5, 0x1b8(r1) -/* 80041254 0003E1B4 C0 81 01 BC */ lfs f4, 0x1bc(r1) -/* 80041258 0003E1B8 C0 61 01 C0 */ lfs f3, 0x1c0(r1) -/* 8004125C 0003E1BC C0 41 01 C4 */ lfs f2, 0x1c4(r1) -/* 80041260 0003E1C0 C0 21 01 C8 */ lfs f1, 0x1c8(r1) -/* 80041264 0003E1C4 C0 01 01 CC */ lfs f0, 0x1cc(r1) -/* 80041268 0003E1C8 80 61 01 D8 */ lwz r3, 0x1d8(r1) -/* 8004126C 0003E1CC 80 81 01 DC */ lwz r4, 0x1dc(r1) -/* 80041270 0003E1D0 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 80041274 0003E1D4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80041278 0003E1D8 D0 E1 03 60 */ stfs f7, 0x360(r1) -/* 8004127C 0003E1DC D0 C1 03 64 */ stfs f6, 0x364(r1) -/* 80041280 0003E1E0 D0 A1 03 68 */ stfs f5, 0x368(r1) -/* 80041284 0003E1E4 D0 81 03 6C */ stfs f4, 0x36c(r1) -/* 80041288 0003E1E8 D0 61 03 70 */ stfs f3, 0x370(r1) -/* 8004128C 0003E1EC D0 41 03 74 */ stfs f2, 0x374(r1) -/* 80041290 0003E1F0 D0 21 03 78 */ stfs f1, 0x378(r1) -/* 80041294 0003E1F4 D0 01 03 7C */ stfs f0, 0x37c(r1) -/* 80041298 0003E1F8 98 A1 03 80 */ stb r5, 0x380(r1) -/* 8004129C 0003E1FC 90 81 03 8C */ stw r4, 0x38c(r1) -/* 800412A0 0003E200 90 61 03 88 */ stw r3, 0x388(r1) -/* 800412A4 0003E204 98 1C 08 33 */ stb r0, 0x833(r28) -/* 800412A8 0003E208 41 82 00 68 */ beq lbl_80041310 -/* 800412AC 0003E20C 38 61 01 4C */ addi r3, r1, 0x14c -/* 800412B0 0003E210 38 9C 04 A8 */ addi r4, r28, 0x4a8 -/* 800412B4 0003E214 48 2D 18 C1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800412B8 0003E218 38 61 01 7C */ addi r3, r1, 0x17c -/* 800412BC 0003E21C 38 81 01 4C */ addi r4, r1, 0x14c -/* 800412C0 0003E220 38 BC 05 08 */ addi r5, r28, 0x508 -/* 800412C4 0003E224 48 2D 16 8D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800412C8 0003E228 38 7C 04 48 */ addi r3, r28, 0x448 -/* 800412CC 0003E22C 38 81 01 7C */ addi r4, r1, 0x17c -/* 800412D0 0003E230 48 2D 18 71 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800412D4 0003E234 C0 1C 04 54 */ lfs f0, 0x454(r28) -/* 800412D8 0003E238 C0 41 03 64 */ lfs f2, 0x364(r1) -/* 800412DC 0003E23C EC 60 F8 2A */ fadds f3, f0, f31 -/* 800412E0 0003E240 C0 21 03 68 */ lfs f1, 0x368(r1) -/* 800412E4 0003E244 C0 01 03 6C */ lfs f0, 0x36c(r1) -/* 800412E8 0003E248 D0 7C 04 54 */ stfs f3, 0x454(r28) -/* 800412EC 0003E24C C0 7C 04 64 */ lfs f3, 0x464(r28) -/* 800412F0 0003E250 EC 63 F0 2A */ fadds f3, f3, f30 -/* 800412F4 0003E254 D0 7C 04 64 */ stfs f3, 0x464(r28) -/* 800412F8 0003E258 C0 7C 04 74 */ lfs f3, 0x474(r28) -/* 800412FC 0003E25C EC 63 E8 2A */ fadds f3, f3, f29 -/* 80041300 0003E260 D0 7C 04 74 */ stfs f3, 0x474(r28) -/* 80041304 0003E264 D0 41 03 9C */ stfs f2, 0x39c(r1) -/* 80041308 0003E268 D0 21 03 AC */ stfs f1, 0x3ac(r1) -/* 8004130C 0003E26C D0 01 03 BC */ stfs f0, 0x3bc(r1) -lbl_80041310: -/* 80041310 0003E270 80 A1 03 C0 */ lwz r5, 0x3c0(r1) -/* 80041314 0003E274 38 60 00 00 */ li r3, 0 -/* 80041318 0003E278 2C 05 00 00 */ cmpwi r5, 0 -/* 8004131C 0003E27C 40 81 00 40 */ ble lbl_8004135C -/* 80041320 0003E280 2C 05 00 08 */ cmpwi r5, 8 -/* 80041324 0003E284 38 85 FF F8 */ addi r4, r5, -8 -/* 80041328 0003E288 40 81 00 20 */ ble lbl_80041348 -/* 8004132C 0003E28C 38 04 00 07 */ addi r0, r4, 7 -/* 80041330 0003E290 54 00 E8 FE */ srwi r0, r0, 3 -/* 80041334 0003E294 7C 09 03 A6 */ mtctr r0 -/* 80041338 0003E298 2C 04 00 00 */ cmpwi r4, 0 -/* 8004133C 0003E29C 40 81 00 0C */ ble lbl_80041348 -lbl_80041340: -/* 80041340 0003E2A0 38 63 00 08 */ addi r3, r3, 8 -/* 80041344 0003E2A4 42 00 FF FC */ bdnz lbl_80041340 -lbl_80041348: -/* 80041348 0003E2A8 7C 03 28 50 */ subf r0, r3, r5 -/* 8004134C 0003E2AC 7C 09 03 A6 */ mtctr r0 -/* 80041350 0003E2B0 7C 03 28 00 */ cmpw r3, r5 -/* 80041354 0003E2B4 40 80 00 08 */ bge lbl_8004135C -lbl_80041358: -/* 80041358 0003E2B8 42 00 00 00 */ bdnz lbl_80041358 -lbl_8004135C: -/* 8004135C 0003E2BC 38 00 00 00 */ li r0, 0 -/* 80041360 0003E2C0 90 01 03 C0 */ stw r0, 0x3c0(r1) -/* 80041364 0003E2C4 48 00 00 14 */ b lbl_80041378 -lbl_80041368: -/* 80041368 0003E2C8 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8004136C 0003E2CC 38 60 00 00 */ li r3, 0 -/* 80041370 0003E2D0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80041374 0003E2D4 98 1C 08 33 */ stb r0, 0x833(r28) -lbl_80041378: -/* 80041378 0003E2D8 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8004137C 0003E2DC 38 61 03 30 */ addi r3, r1, 0x330 -/* 80041380 0003E2E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80041384 0003E2E4 41 82 00 0C */ beq lbl_80041390 -/* 80041388 0003E2E8 38 9C 04 48 */ addi r4, r28, 0x448 -/* 8004138C 0003E2EC 48 00 00 08 */ b lbl_80041394 -lbl_80041390: -/* 80041390 0003E2F0 38 81 03 90 */ addi r4, r1, 0x390 -lbl_80041394: -/* 80041394 0003E2F4 48 2D 17 E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80041398 0003E2F8 80 9D 08 70 */ lwz r4, 0x870(r29) -/* 8004139C 0003E2FC 7F A5 EB 78 */ mr r5, r29 -/* 800413A0 0003E300 38 61 00 2C */ addi r3, r1, 0x2c -/* 800413A4 0003E304 4B FC 95 71 */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager -/* 800413A8 0003E308 C0 61 00 30 */ lfs f3, 0x30(r1) -/* 800413AC 0003E30C C0 21 03 AC */ lfs f1, 0x3ac(r1) -/* 800413B0 0003E310 C0 01 03 4C */ lfs f0, 0x34c(r1) -/* 800413B4 0003E314 EC 81 18 2A */ fadds f4, f1, f3 -/* 800413B8 0003E318 C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 800413BC 0003E31C EC 20 18 2A */ fadds f1, f0, f3 -/* 800413C0 0003E320 C0 41 03 BC */ lfs f2, 0x3bc(r1) -/* 800413C4 0003E324 C0 01 03 5C */ lfs f0, 0x35c(r1) -/* 800413C8 0003E328 EC 62 28 2A */ fadds f3, f2, f5 -/* 800413CC 0003E32C EC 00 28 2A */ fadds f0, f0, f5 -/* 800413D0 0003E330 C0 A1 03 9C */ lfs f5, 0x39c(r1) -/* 800413D4 0003E334 C0 C1 00 2C */ lfs f6, 0x2c(r1) -/* 800413D8 0003E338 C0 41 03 3C */ lfs f2, 0x33c(r1) -/* 800413DC 0003E33C EC A5 30 2A */ fadds f5, f5, f6 -/* 800413E0 0003E340 D0 81 03 AC */ stfs f4, 0x3ac(r1) -/* 800413E4 0003E344 EC 42 30 2A */ fadds f2, f2, f6 -/* 800413E8 0003E348 D0 61 03 BC */ stfs f3, 0x3bc(r1) -/* 800413EC 0003E34C D0 A1 03 9C */ stfs f5, 0x39c(r1) -/* 800413F0 0003E350 D0 41 03 3C */ stfs f2, 0x33c(r1) -/* 800413F4 0003E354 D0 21 03 4C */ stfs f1, 0x34c(r1) -/* 800413F8 0003E358 D0 01 03 5C */ stfs f0, 0x35c(r1) -/* 800413FC 0003E35C 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 80041400 0003E360 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80041404 0003E364 41 82 01 30 */ beq lbl_80041534 -/* 80041408 0003E368 88 1C 08 33 */ lbz r0, 0x833(r28) -/* 8004140C 0003E36C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80041410 0003E370 41 82 00 1C */ beq lbl_8004142C -/* 80041414 0003E374 C0 3C 03 44 */ lfs f1, 0x344(r28) -/* 80041418 0003E378 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8004141C 0003E37C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80041420 0003E380 7C 00 00 26 */ mfcr r0 -/* 80041424 0003E384 54 19 0F FE */ srwi r25, r0, 0x1f -/* 80041428 0003E388 48 00 00 08 */ b lbl_80041430 -lbl_8004142C: -/* 8004142C 0003E38C 3B 20 00 00 */ li r25, 0 -lbl_80041430: -/* 80041430 0003E390 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 80041434 0003E394 38 60 00 00 */ li r3, 0 -/* 80041438 0003E398 41 82 00 14 */ beq lbl_8004144C -/* 8004143C 0003E39C 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 80041440 0003E3A0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80041444 0003E3A4 41 82 00 08 */ beq lbl_8004144C -/* 80041448 0003E3A8 38 60 00 01 */ li r3, 1 -lbl_8004144C: -/* 8004144C 0003E3AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80041450 0003E3B0 41 82 00 1C */ beq lbl_8004146C -/* 80041454 0003E3B4 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 80041458 0003E3B8 C0 1C 03 44 */ lfs f0, 0x344(r28) -/* 8004145C 0003E3BC C0 42 84 80 */ lfs f2, lbl_805AA1A0@sda21(r2) -/* 80041460 0003E3C0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80041464 0003E3C4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80041468 0003E3C8 48 00 00 08 */ b lbl_80041470 -lbl_8004146C: -/* 8004146C 0003E3CC C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) -lbl_80041470: -/* 80041470 0003E3D0 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 80041474 0003E3D4 FC 20 E0 90 */ fmr f1, f28 -/* 80041478 0003E3D8 7F 26 CB 78 */ mr r6, r25 -/* 8004147C 0003E3DC 38 81 00 90 */ addi r4, r1, 0x90 -/* 80041480 0003E3E0 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80041484 0003E3E4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80041488 0003E3E8 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8004148C 0003E3EC C0 7C 04 44 */ lfs f3, 0x444(r28) -/* 80041490 0003E3F0 C0 5C 04 34 */ lfs f2, 0x434(r28) -/* 80041494 0003E3F4 C0 1C 04 24 */ lfs f0, 0x424(r28) -/* 80041498 0003E3F8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8004149C 0003E3FC D0 41 00 24 */ stfs f2, 0x24(r1) -/* 800414A0 0003E400 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 800414A4 0003E404 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 800414A8 0003E408 48 17 AD 4D */ bl UpdateMuzzleFx__10CGunWeaponFfRC9CVector3fRC9CVector3fb -/* 800414AC 0003E40C 80 1C 03 20 */ lwz r0, 0x320(r28) -/* 800414B0 0003E410 3B 5C 08 04 */ addi r26, r28, 0x804 -/* 800414B4 0003E414 38 9C 04 18 */ addi r4, r28, 0x418 -/* 800414B8 0003E418 54 00 18 38 */ slwi r0, r0, 3 -/* 800414BC 0003E41C 7C 7A 02 14 */ add r3, r26, r0 -/* 800414C0 0003E420 80 63 00 04 */ lwz r3, 4(r3) -/* 800414C4 0003E424 48 2D D6 C1 */ bl SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f -/* 800414C8 0003E428 80 1C 03 20 */ lwz r0, 0x320(r28) -/* 800414CC 0003E42C 38 81 00 90 */ addi r4, r1, 0x90 -/* 800414D0 0003E430 54 03 18 38 */ slwi r3, r0, 3 -/* 800414D4 0003E434 38 03 00 04 */ addi r0, r3, 4 -/* 800414D8 0003E438 7C 7A 00 2E */ lwzx r3, r26, r0 -/* 800414DC 0003E43C 81 83 00 00 */ lwz r12, 0(r3) -/* 800414E0 0003E440 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800414E4 0003E444 7D 89 03 A6 */ mtctr r12 -/* 800414E8 0003E448 4E 80 04 21 */ bctrl -/* 800414EC 0003E44C 80 1C 03 20 */ lwz r0, 0x320(r28) -/* 800414F0 0003E450 7F 24 CB 78 */ mr r4, r25 -/* 800414F4 0003E454 54 03 18 38 */ slwi r3, r0, 3 -/* 800414F8 0003E458 38 03 00 04 */ addi r0, r3, 4 -/* 800414FC 0003E45C 7C 7A 00 2E */ lwzx r3, r26, r0 -/* 80041500 0003E460 81 83 00 00 */ lwz r12, 0(r3) -/* 80041504 0003E464 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80041508 0003E468 7D 89 03 A6 */ mtctr r12 -/* 8004150C 0003E46C 4E 80 04 21 */ bctrl -/* 80041510 0003E470 80 1C 03 20 */ lwz r0, 0x320(r28) -/* 80041514 0003E474 FC 20 E0 90 */ fmr f1, f28 -/* 80041518 0003E478 54 03 18 38 */ slwi r3, r0, 3 -/* 8004151C 0003E47C 38 03 00 04 */ addi r0, r3, 4 -/* 80041520 0003E480 7C 7A 00 2E */ lwzx r3, r26, r0 -/* 80041524 0003E484 81 83 00 00 */ lwz r12, 0(r3) -/* 80041528 0003E488 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8004152C 0003E48C 7D 89 03 A6 */ mtctr r12 -/* 80041530 0003E490 4E 80 04 21 */ bctrl -lbl_80041534: -/* 80041534 0003E494 80 7C 07 48 */ lwz r3, 0x748(r28) -/* 80041538 0003E498 28 03 00 00 */ cmplwi r3, 0 -/* 8004153C 0003E49C 41 82 00 10 */ beq lbl_8004154C -/* 80041540 0003E4A0 FC 20 E0 90 */ fmr f1, f28 -/* 80041544 0003E4A4 7F A4 EB 78 */ mr r4, r29 -/* 80041548 0003E4A8 48 22 8E A5 */ bl Update__20CRainSplashGeneratorFfR13CStateManager -lbl_8004154C: -/* 8004154C 0003E4AC 7F 83 E3 78 */ mr r3, r28 -/* 80041550 0003E4B0 7F A5 EB 78 */ mr r5, r29 -/* 80041554 0003E4B4 38 81 03 90 */ addi r4, r1, 0x390 -/* 80041558 0003E4B8 4B FF A0 BD */ bl UpdateGunLight__10CPlayerGunFRC12CTransform4fR13CStateManager -/* 8004155C 0003E4BC FC 20 E0 90 */ fmr f1, f28 -/* 80041560 0003E4C0 7F 83 E3 78 */ mr r3, r28 -/* 80041564 0003E4C4 7F A4 EB 78 */ mr r4, r29 -/* 80041568 0003E4C8 4B FF 99 29 */ bl ProcessGunMorph__10CPlayerGunFfR13CStateManager -/* 8004156C 0003E4CC 88 1C 08 35 */ lbz r0, 0x835(r28) -/* 80041570 0003E4D0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80041574 0003E4D4 41 82 00 14 */ beq lbl_80041588 -/* 80041578 0003E4D8 FC 20 E0 90 */ fmr f1, f28 -/* 8004157C 0003E4DC 7F 83 E3 78 */ mr r3, r28 -/* 80041580 0003E4E0 7F A4 EB 78 */ mr r4, r29 -/* 80041584 0003E4E4 4B FF 9C 4D */ bl ProcessPhazonGunMorph__10CPlayerGunFfR13CStateManager -lbl_80041588: -/* 80041588 0003E4E8 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 8004158C 0003E4EC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80041590 0003E4F0 41 82 00 8C */ beq lbl_8004161C -/* 80041594 0003E4F4 80 7C 07 80 */ lwz r3, 0x780(r28) -/* 80041598 0003E4F8 28 03 00 00 */ cmplwi r3, 0 -/* 8004159C 0003E4FC 41 82 00 80 */ beq lbl_8004161C -/* 800415A0 0003E500 C0 5C 04 44 */ lfs f2, 0x444(r28) -/* 800415A4 0003E504 38 81 00 14 */ addi r4, r1, 0x14 -/* 800415A8 0003E508 C0 3C 04 34 */ lfs f1, 0x434(r28) -/* 800415AC 0003E50C C0 1C 04 24 */ lfs f0, 0x424(r28) -/* 800415B0 0003E510 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800415B4 0003E514 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800415B8 0003E518 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800415BC 0003E51C 81 83 00 00 */ lwz r12, 0(r3) -/* 800415C0 0003E520 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800415C4 0003E524 7D 89 03 A6 */ mtctr r12 -/* 800415C8 0003E528 4E 80 04 21 */ bctrl -/* 800415CC 0003E52C 83 1C 07 80 */ lwz r24, 0x780(r28) -/* 800415D0 0003E530 38 61 01 1C */ addi r3, r1, 0x11c -/* 800415D4 0003E534 38 9C 04 18 */ addi r4, r28, 0x418 -/* 800415D8 0003E538 48 2D 16 69 */ bl GetRotation__12CTransform4fCFv -/* 800415DC 0003E53C 7F 03 C3 78 */ mr r3, r24 -/* 800415E0 0003E540 38 81 01 1C */ addi r4, r1, 0x11c -/* 800415E4 0003E544 81 98 00 00 */ lwz r12, 0(r24) -/* 800415E8 0003E548 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800415EC 0003E54C 7D 89 03 A6 */ mtctr r12 -/* 800415F0 0003E550 4E 80 04 21 */ bctrl -/* 800415F4 0003E554 80 7C 07 80 */ lwz r3, 0x780(r28) -/* 800415F8 0003E558 FC 20 E0 90 */ fmr f1, f28 -/* 800415FC 0003E55C 81 83 00 00 */ lwz r12, 0(r3) -/* 80041600 0003E560 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80041604 0003E564 7D 89 03 A6 */ mtctr r12 -/* 80041608 0003E568 4E 80 04 21 */ bctrl -/* 8004160C 0003E56C C0 22 85 04 */ lfs f1, lbl_805AA224@sda21(r2) -/* 80041610 0003E570 C0 1C 03 44 */ lfs f0, 0x344(r28) -/* 80041614 0003E574 EC 01 07 3A */ fmadds f0, f1, f28, f0 -/* 80041618 0003E578 D0 1C 03 44 */ stfs f0, 0x344(r28) -lbl_8004161C: -/* 8004161C 0003E57C C0 1C 03 5C */ lfs f0, 0x35c(r28) -/* 80041620 0003E580 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 80041624 0003E584 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80041628 0003E588 40 81 00 24 */ ble lbl_8004164C -/* 8004162C 0003E58C EC 00 E0 28 */ fsubs f0, f0, f28 -/* 80041630 0003E590 D0 1C 03 5C */ stfs f0, 0x35c(r28) -/* 80041634 0003E594 C0 1C 03 5C */ lfs f0, 0x35c(r28) -/* 80041638 0003E598 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8004163C 0003E59C 4C 40 13 82 */ cror 2, 0, 2 -/* 80041640 0003E5A0 40 82 00 0C */ bne lbl_8004164C -/* 80041644 0003E5A4 38 00 00 03 */ li r0, 3 -/* 80041648 0003E5A8 90 1C 03 08 */ stw r0, 0x308(r28) -lbl_8004164C: -/* 8004164C 0003E5AC 7F E3 FB 78 */ mr r3, r31 -/* 80041650 0003E5B0 38 80 00 0A */ li r4, 0xa -/* 80041654 0003E5B4 48 05 03 39 */ bl ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80041658 0003E5B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004165C 0003E5BC 41 82 00 24 */ beq lbl_80041680 -/* 80041660 0003E5C0 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 80041664 0003E5C4 2C 00 00 00 */ cmpwi r0, 0 -/* 80041668 0003E5C8 41 82 00 18 */ beq lbl_80041680 -/* 8004166C 0003E5CC FC 20 E0 90 */ fmr f1, f28 -/* 80041670 0003E5D0 7F 83 E3 78 */ mr r3, r28 -/* 80041674 0003E5D4 7F A4 EB 78 */ mr r4, r29 -/* 80041678 0003E5D8 4B FF DD C5 */ bl UpdateChargeState__10CPlayerGunFfR13CStateManager -/* 8004167C 0003E5DC 48 00 00 24 */ b lbl_800416A0 -lbl_80041680: -/* 80041680 0003E5E0 C0 3C 03 40 */ lfs f1, 0x340(r28) -/* 80041684 0003E5E4 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80041688 0003E5E8 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8004168C 0003E5EC D0 3C 03 40 */ stfs f1, 0x340(r28) -/* 80041690 0003E5F0 C0 3C 03 40 */ lfs f1, 0x340(r28) -/* 80041694 0003E5F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80041698 0003E5F8 40 80 00 08 */ bge lbl_800416A0 -/* 8004169C 0003E5FC D0 1C 03 40 */ stfs f0, 0x340(r28) -lbl_800416A0: -/* 800416A0 0003E600 FC 20 E0 90 */ fmr f1, f28 -/* 800416A4 0003E604 7F 83 E3 78 */ mr r3, r28 -/* 800416A8 0003E608 7F A5 EB 78 */ mr r5, r29 -/* 800416AC 0003E60C 38 81 03 30 */ addi r4, r1, 0x330 -/* 800416B0 0003E610 4B FF A2 9D */ bl UpdateAuxWeapons__10CPlayerGunFfRC12CTransform4fR13CStateManager -/* 800416B4 0003E614 FC 20 E0 90 */ fmr f1, f28 -/* 800416B8 0003E618 7F 83 E3 78 */ mr r3, r28 -/* 800416BC 0003E61C 7F A4 EB 78 */ mr r4, r29 -/* 800416C0 0003E620 4B FF AA 41 */ bl DoUserAnimEvents__10CPlayerGunFfR13CStateManager -/* 800416C4 0003E624 80 1B 03 04 */ lwz r0, 0x304(r27) -/* 800416C8 0003E628 2C 00 00 01 */ cmpwi r0, 1 -/* 800416CC 0003E62C 40 82 00 70 */ bne lbl_8004173C -/* 800416D0 0003E630 7F 84 E3 78 */ mr r4, r28 -/* 800416D4 0003E634 7F A5 EB 78 */ mr r5, r29 -/* 800416D8 0003E638 38 61 00 08 */ addi r3, r1, 8 -/* 800416DC 0003E63C 4B FF CB 21 */ bl GetTargetId__10CPlayerGunFR13CStateManager -/* 800416E0 0003E640 A0 61 00 08 */ lhz r3, 8(r1) -/* 800416E4 0003E644 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800416E8 0003E648 7C 03 00 40 */ cmplw r3, r0 -/* 800416EC 0003E64C 41 82 00 50 */ beq lbl_8004173C -/* 800416F0 0003E650 88 7C 08 32 */ lbz r3, 0x832(r28) -/* 800416F4 0003E654 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 800416F8 0003E658 40 82 00 4C */ bne lbl_80041744 -/* 800416FC 0003E65C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80041700 0003E660 40 82 00 44 */ bne lbl_80041744 -/* 80041704 0003E664 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80041708 0003E668 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 8004170C 0003E66C 2C 00 00 10 */ cmpwi r0, 0x10 -/* 80041710 0003E670 41 82 00 34 */ beq lbl_80041744 -/* 80041714 0003E674 38 00 00 01 */ li r0, 1 -/* 80041718 0003E678 7F A4 EB 78 */ mr r4, r29 -/* 8004171C 0003E67C 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d -/* 80041720 0003E680 38 A0 00 01 */ li r5, 1 -/* 80041724 0003E684 98 7C 08 32 */ stb r3, 0x832(r28) -/* 80041728 0003E688 38 00 00 02 */ li r0, 2 -/* 8004172C 0003E68C 7F 83 E3 78 */ mr r3, r28 -/* 80041730 0003E690 90 1C 06 C0 */ stw r0, 0x6c0(r28) -/* 80041734 0003E694 4B FF A5 05 */ bl ReturnArmAndGunToDefault__10CPlayerGunFR13CStateManagerb -/* 80041738 0003E698 48 00 00 0C */ b lbl_80041744 -lbl_8004173C: -/* 8004173C 0003E69C 7F 83 E3 78 */ mr r3, r28 -/* 80041740 0003E6A0 4B FF A1 AD */ bl CancelLockOn__10CPlayerGunFv -lbl_80041744: -/* 80041744 0003E6A4 FC 20 E0 90 */ fmr f1, f28 -/* 80041748 0003E6A8 7F 83 E3 78 */ mr r3, r28 -/* 8004174C 0003E6AC 7F E4 FB 78 */ mr r4, r31 -/* 80041750 0003E6B0 7F A5 EB 78 */ mr r5, r29 -/* 80041754 0003E6B4 4B FF C2 A9 */ bl UpdateWeaponFire__10CPlayerGunFfR12CPlayerStateR13CStateManager -/* 80041758 0003E6B8 C0 3C 03 64 */ lfs f1, 0x364(r28) -/* 8004175C 0003E6BC 7F 83 E3 78 */ mr r3, r28 -/* 80041760 0003E6C0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80041764 0003E6C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80041768 0003E6C8 7C 00 00 26 */ mfcr r0 -/* 8004176C 0003E6CC FC 20 D8 90 */ fmr f1, f27 -/* 80041770 0003E6D0 FC 40 E0 90 */ fmr f2, f28 -/* 80041774 0003E6D4 7F A5 EB 78 */ mr r5, r29 -/* 80041778 0003E6D8 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f -/* 8004177C 0003E6DC 4B FF BA 8D */ bl UpdateGunIdle__10CPlayerGunFbffR13CStateManager -/* 80041780 0003E6E0 80 1C 02 EC */ lwz r0, 0x2ec(r28) -/* 80041784 0003E6E4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80041788 0003E6E8 41 82 00 10 */ beq lbl_80041798 -/* 8004178C 0003E6EC C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80041790 0003E6F0 D0 1C 03 78 */ stfs f0, 0x378(r28) -/* 80041794 0003E6F4 48 00 00 3C */ b lbl_800417D0 -lbl_80041798: -/* 80041798 0003E6F8 C0 3C 03 78 */ lfs f1, 0x378(r28) -/* 8004179C 0003E6FC C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) -/* 800417A0 0003E700 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800417A4 0003E704 40 80 00 2C */ bge lbl_800417D0 -/* 800417A8 0003E708 EC 21 E0 2A */ fadds f1, f1, f28 -/* 800417AC 0003E70C C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 800417B0 0003E710 D0 3C 03 78 */ stfs f1, 0x378(r28) -/* 800417B4 0003E714 C0 3C 03 78 */ lfs f1, 0x378(r28) -/* 800417B8 0003E718 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800417BC 0003E71C 40 81 00 14 */ ble lbl_800417D0 -/* 800417C0 0003E720 38 00 00 00 */ li r0, 0 -/* 800417C4 0003E724 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 800417C8 0003E728 90 1C 03 0C */ stw r0, 0x30c(r28) -/* 800417CC 0003E72C D0 1C 03 80 */ stfs f0, 0x380(r28) -lbl_800417D0: -/* 800417D0 0003E730 C0 3C 03 8C */ lfs f1, 0x38c(r28) -/* 800417D4 0003E734 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 800417D8 0003E738 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800417DC 0003E73C 40 81 00 0C */ ble lbl_800417E8 -/* 800417E0 0003E740 EC 01 E0 28 */ fsubs f0, f1, f28 -/* 800417E4 0003E744 D0 1C 03 8C */ stfs f0, 0x38c(r28) -lbl_800417E8: -/* 800417E8 0003E748 80 1C 03 0C */ lwz r0, 0x30c(r28) -/* 800417EC 0003E74C 2C 00 00 05 */ cmpwi r0, 5 -/* 800417F0 0003E750 40 81 00 1C */ ble lbl_8004180C -/* 800417F4 0003E754 C0 3C 03 80 */ lfs f1, 0x380(r28) -/* 800417F8 0003E758 C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) -/* 800417FC 0003E75C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80041800 0003E760 40 80 00 0C */ bge lbl_8004180C -/* 80041804 0003E764 EC 01 E0 2A */ fadds f0, f1, f28 -/* 80041808 0003E768 D0 1C 03 80 */ stfs f0, 0x380(r28) -lbl_8004180C: -/* 8004180C 0003E76C C0 3C 03 84 */ lfs f1, 0x384(r28) -/* 80041810 0003E770 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80041814 0003E774 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80041818 0003E778 40 81 00 0C */ ble lbl_80041824 -/* 8004181C 0003E77C EC 01 E0 28 */ fsubs f0, f1, f28 -/* 80041820 0003E780 D0 1C 03 84 */ stfs f0, 0x384(r28) -lbl_80041824: -/* 80041824 0003E784 C0 3C 03 64 */ lfs f1, 0x364(r28) -/* 80041828 0003E788 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8004182C 0003E78C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80041830 0003E790 40 81 00 18 */ ble lbl_80041848 -/* 80041834 0003E794 38 00 00 00 */ li r0, 0 -/* 80041838 0003E798 90 1C 02 F4 */ stw r0, 0x2f4(r28) -/* 8004183C 0003E79C C0 1C 03 64 */ lfs f0, 0x364(r28) -/* 80041840 0003E7A0 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 80041844 0003E7A4 D0 1C 03 64 */ stfs f0, 0x364(r28) -lbl_80041848: -/* 80041848 0003E7A8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8004184C 0003E7AC 41 82 00 3C */ beq lbl_80041888 -/* 80041850 0003E7B0 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80041854 0003E7B4 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d -/* 80041858 0003E7B8 2C 00 00 04 */ cmpwi r0, 4 -/* 8004185C 0003E7BC 40 82 00 2C */ bne lbl_80041888 -/* 80041860 0003E7C0 C0 3C 03 A0 */ lfs f1, 0x3a0(r28) -/* 80041864 0003E7C4 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80041868 0003E7C8 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8004186C 0003E7CC D0 3C 03 A0 */ stfs f1, 0x3a0(r28) -/* 80041870 0003E7D0 C0 3C 03 A0 */ lfs f1, 0x3a0(r28) -/* 80041874 0003E7D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80041878 0003E7D8 40 80 00 10 */ bge lbl_80041888 -/* 8004187C 0003E7DC D0 1C 03 A0 */ stfs f0, 0x3a0(r28) -/* 80041880 0003E7E0 7F 83 E3 78 */ mr r3, r28 -/* 80041884 0003E7E4 4B FF EC 15 */ bl ExitMissile__10CPlayerGunFv -lbl_80041888: -/* 80041888 0003E7E8 E3 E1 0C 38 */ psq_l f31, -968(r1), 0, qr0 -/* 8004188C 0003E7EC CB E1 0C 30 */ lfd f31, 0xc30(r1) -/* 80041890 0003E7F0 E3 C1 0C 28 */ psq_l f30, -984(r1), 0, qr0 -/* 80041894 0003E7F4 CB C1 0C 20 */ lfd f30, 0xc20(r1) -/* 80041898 0003E7F8 E3 A1 0C 18 */ psq_l f29, -1000(r1), 0, qr0 -/* 8004189C 0003E7FC CB A1 0C 10 */ lfd f29, 0xc10(r1) -/* 800418A0 0003E800 E3 81 0C 08 */ psq_l f28, -1016(r1), 0, qr0 -/* 800418A4 0003E804 CB 81 0C 00 */ lfd f28, 0xc00(r1) -/* 800418A8 0003E808 E3 61 0B F8 */ psq_l f27, -1032(r1), 0, qr0 -/* 800418AC 0003E80C CB 61 0B F0 */ lfd f27, 0xbf0(r1) -/* 800418B0 0003E810 BA E1 0B CC */ lmw r23, 0xbcc(r1) -/* 800418B4 0003E814 80 01 0C 44 */ lwz r0, 0xc44(r1) -/* 800418B8 0003E818 7C 08 03 A6 */ mtlr r0 -/* 800418BC 0003E81C 38 21 0C 40 */ addi r1, r1, 0xc40 -/* 800418C0 0003E820 4E 80 00 20 */ blr - -.global PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb -PlayAnim__10CPlayerGunFQ212NWeaponTypes12EGunAnimTypeb: -/* 800418C4 0003E824 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800418C8 0003E828 7C 08 02 A6 */ mflr r0 -/* 800418CC 0003E82C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800418D0 0003E830 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800418D4 0003E834 7C 7F 1B 78 */ mr r31, r3 -/* 800418D8 0003E838 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800418DC 0003E83C 7C 9E 23 78 */ mr r30, r4 -/* 800418E0 0003E840 80 03 03 38 */ lwz r0, 0x338(r3) -/* 800418E4 0003E844 2C 00 00 05 */ cmpwi r0, 5 -/* 800418E8 0003E848 41 82 00 18 */ beq lbl_80041900 -/* 800418EC 0003E84C 80 7F 07 2C */ lwz r3, 0x72c(r31) -/* 800418F0 0003E850 81 83 00 00 */ lwz r12, 0(r3) -/* 800418F4 0003E854 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800418F8 0003E858 7D 89 03 A6 */ mtctr r12 -/* 800418FC 0003E85C 4E 80 04 21 */ bctrl -lbl_80041900: -/* 80041900 0003E860 2C 1E 00 07 */ cmpwi r30, 7 -/* 80041904 0003E864 A0 62 C5 FC */ lhz r3, lbl_805AE31C@sda21(r2) -/* 80041908 0003E868 41 82 00 80 */ beq lbl_80041988 -/* 8004190C 0003E86C 40 80 00 14 */ bge lbl_80041920 -/* 80041910 0003E870 2C 1E 00 05 */ cmpwi r30, 5 -/* 80041914 0003E874 41 82 00 1C */ beq lbl_80041930 -/* 80041918 0003E878 40 80 00 54 */ bge lbl_8004196C -/* 8004191C 0003E87C 48 00 00 6C */ b lbl_80041988 -lbl_80041920: -/* 80041920 0003E880 2C 1E 00 09 */ cmpwi r30, 9 -/* 80041924 0003E884 41 82 00 34 */ beq lbl_80041958 -/* 80041928 0003E888 40 80 00 60 */ bge lbl_80041988 -/* 8004192C 0003E88C 48 00 00 24 */ b lbl_80041950 -lbl_80041930: -/* 80041930 0003E890 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80041934 0003E894 38 62 84 58 */ addi r3, r2, lbl_805AA178@sda21 -/* 80041938 0003E898 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 8004193C 0003E89C 90 1F 02 F8 */ stw r0, 0x2f8(r31) -/* 80041940 0003E8A0 80 1F 03 10 */ lwz r0, 0x310(r31) -/* 80041944 0003E8A4 54 00 08 3C */ slwi r0, r0, 1 -/* 80041948 0003E8A8 7C 63 02 2E */ lhzx r3, r3, r0 -/* 8004194C 0003E8AC 48 00 00 3C */ b lbl_80041988 -lbl_80041950: -/* 80041950 0003E8B0 38 60 06 E9 */ li r3, 0x6e9 -/* 80041954 0003E8B4 48 00 00 34 */ b lbl_80041988 -lbl_80041958: -/* 80041958 0003E8B8 80 1F 03 10 */ lwz r0, 0x310(r31) -/* 8004195C 0003E8BC 38 6D 82 38 */ addi r3, r13, lbl_805A6DF8@sda21 -/* 80041960 0003E8C0 54 00 08 3C */ slwi r0, r0, 1 -/* 80041964 0003E8C4 7C 63 02 2E */ lhzx r3, r3, r0 -/* 80041968 0003E8C8 48 00 00 20 */ b lbl_80041988 -lbl_8004196C: -/* 8004196C 0003E8CC 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80041970 0003E8D0 38 62 84 50 */ addi r3, r2, lbl_805AA170@sda21 -/* 80041974 0003E8D4 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 80041978 0003E8D8 90 1F 02 F8 */ stw r0, 0x2f8(r31) -/* 8004197C 0003E8DC 80 1F 03 10 */ lwz r0, 0x310(r31) -/* 80041980 0003E8E0 54 00 08 3C */ slwi r0, r0, 1 -/* 80041984 0003E8E4 7C 63 02 2E */ lhzx r3, r3, r0 -lbl_80041988: -/* 80041988 0003E8E8 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) -/* 8004198C 0003E8EC 54 64 04 3E */ clrlwi r4, r3, 0x10 -/* 80041990 0003E8F0 7C 04 00 40 */ cmplw r4, r0 -/* 80041994 0003E8F4 41 82 00 1C */ beq lbl_800419B0 -/* 80041998 0003E8F8 88 1F 08 34 */ lbz r0, 0x834(r31) -/* 8004199C 0003E8FC 38 61 00 08 */ addi r3, r1, 8 -/* 800419A0 0003E900 38 C0 00 00 */ li r6, 0 -/* 800419A4 0003E904 38 E0 00 4A */ li r7, 0x4a -/* 800419A8 0003E908 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f -/* 800419AC 0003E90C 48 24 91 4D */ bl play_sfx__12NWeaponTypesFUsbbs -lbl_800419B0: -/* 800419B0 0003E910 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800419B4 0003E914 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800419B8 0003E918 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800419BC 0003E91C 7C 08 03 A6 */ mtlr r0 -/* 800419C0 0003E920 38 21 00 20 */ addi r1, r1, 0x20 -/* 800419C4 0003E924 4E 80 00 20 */ blr - -.global "GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb" -"GetLctrWithShake__10CPlayerGunFR12CTransform4fRC10CModelDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bb": -/* 800419C8 0003E928 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800419CC 0003E92C 7C 08 02 A6 */ mflr r0 -/* 800419D0 0003E930 90 01 00 84 */ stw r0, 0x84(r1) -/* 800419D4 0003E934 55 00 06 3F */ clrlwi. r0, r8, 0x18 -/* 800419D8 0003E938 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 800419DC 0003E93C 7C FF 3B 78 */ mr r31, r7 -/* 800419E0 0003E940 93 C1 00 78 */ stw r30, 0x78(r1) -/* 800419E4 0003E944 7C 9E 23 78 */ mr r30, r4 -/* 800419E8 0003E948 93 A1 00 74 */ stw r29, 0x74(r1) -/* 800419EC 0003E94C 7C 7D 1B 78 */ mr r29, r3 -/* 800419F0 0003E950 41 82 00 20 */ beq lbl_80041A10 -/* 800419F4 0003E954 7C A4 2B 78 */ mr r4, r5 -/* 800419F8 0003E958 7C C5 33 78 */ mr r5, r6 -/* 800419FC 0003E95C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80041A00 0003E960 38 C0 00 00 */ li r6, 0 -/* 80041A04 0003E964 48 0D 3F 19 */ bl "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -/* 80041A08 0003E968 38 81 00 38 */ addi r4, r1, 0x38 -/* 80041A0C 0003E96C 48 00 00 18 */ b lbl_80041A24 -lbl_80041A10: -/* 80041A10 0003E970 7C A4 2B 78 */ mr r4, r5 -/* 80041A14 0003E974 7C C5 33 78 */ mr r5, r6 -/* 80041A18 0003E978 38 61 00 08 */ addi r3, r1, 8 -/* 80041A1C 0003E97C 48 0D 3F 85 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80041A20 0003E980 38 81 00 08 */ addi r4, r1, 8 -lbl_80041A24: -/* 80041A24 0003E984 7F C3 F3 78 */ mr r3, r30 -/* 80041A28 0003E988 48 2D 11 19 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80041A2C 0003E98C 88 1D 08 34 */ lbz r0, 0x834(r29) -/* 80041A30 0003E990 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80041A34 0003E994 41 82 00 3C */ beq lbl_80041A70 -/* 80041A38 0003E998 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80041A3C 0003E99C 41 82 00 34 */ beq lbl_80041A70 -/* 80041A40 0003E9A0 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 80041A44 0003E9A4 C0 1D 03 4C */ lfs f0, 0x34c(r29) -/* 80041A48 0003E9A8 C0 5D 03 50 */ lfs f2, 0x350(r29) -/* 80041A4C 0003E9AC EC 21 00 2A */ fadds f1, f1, f0 -/* 80041A50 0003E9B0 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80041A54 0003E9B4 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 80041A58 0003E9B8 C0 3E 00 1C */ lfs f1, 0x1c(r30) -/* 80041A5C 0003E9BC EC 01 00 2A */ fadds f0, f1, f0 -/* 80041A60 0003E9C0 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80041A64 0003E9C4 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 80041A68 0003E9C8 EC 00 10 2A */ fadds f0, f0, f2 -/* 80041A6C 0003E9CC D0 1E 00 2C */ stfs f0, 0x2c(r30) -lbl_80041A70: -/* 80041A70 0003E9D0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80041A74 0003E9D4 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80041A78 0003E9D8 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80041A7C 0003E9DC 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 80041A80 0003E9E0 7C 08 03 A6 */ mtlr r0 -/* 80041A84 0003E9E4 38 21 00 80 */ addi r1, r1, 0x80 -/* 80041A88 0003E9E8 4E 80 00 20 */ blr - -.global Render__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags -Render__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags: -/* 80041A8C 0003E9EC 94 21 FB 90 */ stwu r1, -0x470(r1) -/* 80041A90 0003E9F0 7C 08 02 A6 */ mflr r0 -/* 80041A94 0003E9F4 90 01 04 74 */ stw r0, 0x474(r1) -/* 80041A98 0003E9F8 BE C1 04 48 */ stmw r22, 0x448(r1) -/* 80041A9C 0003E9FC 7C 7C 1B 78 */ mr r28, r3 -/* 80041AA0 0003EA00 7C 9D 23 78 */ mr r29, r4 -/* 80041AA4 0003EA04 7C BE 2B 78 */ mr r30, r5 -/* 80041AA8 0003EA08 7C DF 33 78 */ mr r31, r6 -/* 80041AAC 0003EA0C 48 2C 83 B1 */ bl GetProjectionState__9CGraphicsFv -/* 80041AB0 0003EA10 88 03 00 00 */ lbz r0, 0(r3) -/* 80041AB4 0003EA14 80 9D 08 B8 */ lwz r4, 0x8b8(r29) -/* 80041AB8 0003EA18 98 01 00 38 */ stb r0, 0x38(r1) -/* 80041ABC 0003EA1C C0 03 00 04 */ lfs f0, 4(r3) -/* 80041AC0 0003EA20 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80041AC4 0003EA24 C0 03 00 08 */ lfs f0, 8(r3) -/* 80041AC8 0003EA28 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80041ACC 0003EA2C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80041AD0 0003EA30 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80041AD4 0003EA34 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80041AD8 0003EA38 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80041ADC 0003EA3C C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80041AE0 0003EA40 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80041AE4 0003EA44 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80041AE8 0003EA48 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80041AEC 0003EA4C 80 64 00 00 */ lwz r3, 0(r4) -/* 80041AF0 0003EA50 83 23 00 14 */ lwz r25, 0x14(r3) -/* 80041AF4 0003EA54 20 19 00 03 */ subfic r0, r25, 3 -/* 80041AF8 0003EA58 7C 03 00 34 */ cntlzw r3, r0 -/* 80041AFC 0003EA5C 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 80041B00 0003EA60 54 78 D9 7E */ srwi r24, r3, 5 -/* 80041B04 0003EA64 41 82 00 1C */ beq lbl_80041B20 -/* 80041B08 0003EA68 80 9C 03 10 */ lwz r4, 0x310(r28) -/* 80041B0C 0003EA6C 3C 60 80 46 */ lis r3, lbl_8045C530@ha -/* 80041B10 0003EA70 38 03 C5 30 */ addi r0, r3, lbl_8045C530@l -/* 80041B14 0003EA74 54 83 18 38 */ slwi r3, r4, 3 -/* 80041B18 0003EA78 7F 60 1A 14 */ add r27, r0, r3 -/* 80041B1C 0003EA7C 48 00 00 48 */ b lbl_80041B64 -lbl_80041B20: -/* 80041B20 0003EA80 88 1C 08 35 */ lbz r0, 0x835(r28) -/* 80041B24 0003EA84 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80041B28 0003EA88 41 82 00 38 */ beq lbl_80041B60 -/* 80041B2C 0003EA8C C0 3C 03 9C */ lfs f1, 0x39c(r28) -/* 80041B30 0003EA90 38 60 FF FF */ li r3, -1 -/* 80041B34 0003EA94 38 80 00 FF */ li r4, 0xff -/* 80041B38 0003EA98 48 32 16 DD */ bl Lerp__6CColorFUiUif -/* 80041B3C 0003EA9C 38 A0 00 01 */ li r5, 1 -/* 80041B40 0003EAA0 38 80 00 00 */ li r4, 0 -/* 80041B44 0003EAA4 38 00 00 03 */ li r0, 3 -/* 80041B48 0003EAA8 98 A1 00 18 */ stb r5, 0x18(r1) -/* 80041B4C 0003EAAC 3B 61 00 18 */ addi r27, r1, 0x18 -/* 80041B50 0003EAB0 98 81 00 19 */ stb r4, 0x19(r1) -/* 80041B54 0003EAB4 B0 01 00 1A */ sth r0, 0x1a(r1) -/* 80041B58 0003EAB8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80041B5C 0003EABC 48 00 00 08 */ b lbl_80041B64 -lbl_80041B60: -/* 80041B60 0003EAC0 7F FB FB 78 */ mr r27, r31 -lbl_80041B64: -/* 80041B64 0003EAC4 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 80041B68 0003EAC8 7F A4 EB 78 */ mr r4, r29 -/* 80041B6C 0003EACC 4B FC 9F AD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80041B70 0003EAD0 C0 22 85 08 */ lfs f1, lbl_805AA228@sda21(r2) -/* 80041B74 0003EAD4 7C 77 1B 78 */ mr r23, r3 -/* 80041B78 0003EAD8 C0 42 85 0C */ lfs f2, lbl_805AA22C@sda21(r2) -/* 80041B7C 0003EADC 48 2C 88 65 */ bl SetDepthRange__9CGraphicsFff -/* 80041B80 0003EAE0 38 61 02 64 */ addi r3, r1, 0x264 -/* 80041B84 0003EAE4 38 9C 04 A8 */ addi r4, r28, 0x4a8 -/* 80041B88 0003EAE8 48 2D 0F ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80041B8C 0003EAEC 7F C4 F3 78 */ mr r4, r30 -/* 80041B90 0003EAF0 38 61 02 94 */ addi r3, r1, 0x294 -/* 80041B94 0003EAF4 48 2D 15 AD */ bl Translate__12CTransform4fFRC9CVector3f -/* 80041B98 0003EAF8 38 61 02 C4 */ addi r3, r1, 0x2c4 -/* 80041B9C 0003EAFC 38 81 02 94 */ addi r4, r1, 0x294 -/* 80041BA0 0003EB00 38 A1 02 64 */ addi r5, r1, 0x264 -/* 80041BA4 0003EB04 48 2D 0D AD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80041BA8 0003EB08 38 61 04 14 */ addi r3, r1, 0x414 -/* 80041BAC 0003EB0C 38 81 02 C4 */ addi r4, r1, 0x2c4 -/* 80041BB0 0003EB10 48 2D 0F C5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80041BB4 0003EB14 38 61 02 34 */ addi r3, r1, 0x234 -/* 80041BB8 0003EB18 38 81 04 14 */ addi r4, r1, 0x414 -/* 80041BBC 0003EB1C 38 BC 05 08 */ addi r5, r28, 0x508 -/* 80041BC0 0003EB20 48 2D 0D 91 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80041BC4 0003EB24 38 61 03 E4 */ addi r3, r1, 0x3e4 -/* 80041BC8 0003EB28 38 81 02 34 */ addi r4, r1, 0x234 -/* 80041BCC 0003EB2C 48 2D 0F A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80041BD0 0003EB30 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 80041BD4 0003EB34 2C 00 00 00 */ cmpwi r0, 0 -/* 80041BD8 0003EB38 41 82 00 44 */ beq lbl_80041C1C -/* 80041BDC 0003EB3C 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80041BE0 0003EB40 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 80041BE4 0003EB44 2C 00 00 10 */ cmpwi r0, 0x10 -/* 80041BE8 0003EB48 41 82 00 34 */ beq lbl_80041C1C -/* 80041BEC 0003EB4C C0 3C 03 50 */ lfs f1, 0x350(r28) -/* 80041BF0 0003EB50 C0 01 04 40 */ lfs f0, 0x440(r1) -/* 80041BF4 0003EB54 C0 81 04 20 */ lfs f4, 0x420(r1) -/* 80041BF8 0003EB58 C0 7C 03 4C */ lfs f3, 0x34c(r28) -/* 80041BFC 0003EB5C EC 00 08 2A */ fadds f0, f0, f1 -/* 80041C00 0003EB60 C0 41 04 30 */ lfs f2, 0x430(r1) -/* 80041C04 0003EB64 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 80041C08 0003EB68 EC 64 18 2A */ fadds f3, f4, f3 -/* 80041C0C 0003EB6C D0 01 04 40 */ stfs f0, 0x440(r1) -/* 80041C10 0003EB70 EC 02 08 2A */ fadds f0, f2, f1 -/* 80041C14 0003EB74 D0 61 04 20 */ stfs f3, 0x420(r1) -/* 80041C18 0003EB78 D0 01 04 30 */ stfs f0, 0x430(r1) -lbl_80041C1C: -/* 80041C1C 0003EB7C 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 80041C20 0003EB80 82 DC 06 98 */ lwz r22, 0x698(r28) -/* 80041C24 0003EB84 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l -/* 80041C28 0003EB88 38 61 03 B4 */ addi r3, r1, 0x3b4 -/* 80041C2C 0003EB8C 48 2D 0F 49 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80041C30 0003EB90 38 61 01 D4 */ addi r3, r1, 0x1d4 -/* 80041C34 0003EB94 38 81 04 14 */ addi r4, r1, 0x414 -/* 80041C38 0003EB98 48 2D 0A A9 */ bl GetInverse__12CTransform4fCFv -/* 80041C3C 0003EB9C 38 61 02 04 */ addi r3, r1, 0x204 -/* 80041C40 0003EBA0 38 81 01 D4 */ addi r4, r1, 0x1d4 -/* 80041C44 0003EBA4 38 A1 03 B4 */ addi r5, r1, 0x3b4 -/* 80041C48 0003EBA8 48 2D 0D 09 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80041C4C 0003EBAC 38 61 02 04 */ addi r3, r1, 0x204 -/* 80041C50 0003EBB0 48 2C AA FD */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 80041C54 0003EBB4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80041C58 0003EBB8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80041C5C 0003EBBC 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80041C60 0003EBC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80041C64 0003EBC4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80041C68 0003EBC8 7D 89 03 A6 */ mtctr r12 -/* 80041C6C 0003EBCC 4E 80 04 21 */ bctrl -/* 80041C70 0003EBD0 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 80041C74 0003EBD4 2C 00 00 04 */ cmpwi r0, 4 -/* 80041C78 0003EBD8 41 80 00 2C */ blt lbl_80041CA4 -/* 80041C7C 0003EBDC 2C 00 00 05 */ cmpwi r0, 5 -/* 80041C80 0003EBE0 40 80 00 24 */ bge lbl_80041CA4 -/* 80041C84 0003EBE4 80 1C 03 20 */ lwz r0, 0x320(r28) -/* 80041C88 0003EBE8 54 00 18 38 */ slwi r0, r0, 3 -/* 80041C8C 0003EBEC 7C 7C 02 14 */ add r3, r28, r0 -/* 80041C90 0003EBF0 80 63 08 08 */ lwz r3, 0x808(r3) -/* 80041C94 0003EBF4 81 83 00 00 */ lwz r12, 0(r3) -/* 80041C98 0003EBF8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80041C9C 0003EBFC 7D 89 03 A6 */ mtctr r12 -/* 80041CA0 0003EC00 4E 80 04 21 */ bctrl -lbl_80041CA4: -/* 80041CA4 0003EC04 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 80041CA8 0003EC08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80041CAC 0003EC0C 41 82 00 38 */ beq lbl_80041CE4 -/* 80041CB0 0003EC10 C0 3C 03 8C */ lfs f1, 0x38c(r28) -/* 80041CB4 0003EC14 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80041CB8 0003EC18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80041CBC 0003EC1C 41 81 00 10 */ bgt lbl_80041CCC -/* 80041CC0 0003EC20 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 80041CC4 0003EC24 2C 00 00 02 */ cmpwi r0, 2 -/* 80041CC8 0003EC28 40 81 00 1C */ ble lbl_80041CE4 -lbl_80041CCC: -/* 80041CCC 0003EC2C 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80041CD0 0003EC30 7F A4 EB 78 */ mr r4, r29 -/* 80041CD4 0003EC34 81 83 00 00 */ lwz r12, 0(r3) -/* 80041CD8 0003EC38 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80041CDC 0003EC3C 7D 89 03 A6 */ mtctr r12 -/* 80041CE0 0003EC40 4E 80 04 21 */ bctrl -lbl_80041CE4: -/* 80041CE4 0003EC44 2C 16 00 02 */ cmpwi r22, 2 -/* 80041CE8 0003EC48 41 82 00 0C */ beq lbl_80041CF4 -/* 80041CEC 0003EC4C 2C 16 00 03 */ cmpwi r22, 3 -/* 80041CF0 0003EC50 40 82 00 18 */ bne lbl_80041D08 -lbl_80041CF4: -/* 80041CF4 0003EC54 80 7C 07 78 */ lwz r3, 0x778(r28) -/* 80041CF8 0003EC58 81 83 00 00 */ lwz r12, 0(r3) -/* 80041CFC 0003EC5C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80041D00 0003EC60 7D 89 03 A6 */ mtctr r12 -/* 80041D04 0003EC64 4E 80 04 21 */ bctrl -lbl_80041D08: -/* 80041D08 0003EC68 38 61 03 B4 */ addi r3, r1, 0x3b4 -/* 80041D0C 0003EC6C 48 2C AA 41 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 80041D10 0003EC70 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80041D14 0003EC74 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b -/* 80041D18 0003EC78 2C 00 00 10 */ cmpwi r0, 0x10 -/* 80041D1C 0003EC7C 40 82 00 0C */ bne lbl_80041D28 -/* 80041D20 0003EC80 80 7C 07 44 */ lwz r3, 0x744(r28) -/* 80041D24 0003EC84 48 17 7B 4D */ bl RenderMuzzleFx__10CAuxWeaponCFv -lbl_80041D28: -/* 80041D28 0003EC88 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80041D2C 0003EC8C 7F A4 EB 78 */ mr r4, r29 -/* 80041D30 0003EC90 38 A1 04 14 */ addi r5, r1, 0x414 -/* 80041D34 0003EC94 81 83 00 00 */ lwz r12, 0(r3) -/* 80041D38 0003EC98 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80041D3C 0003EC9C 7D 89 03 A6 */ mtctr r12 -/* 80041D40 0003ECA0 4E 80 04 21 */ bctrl -/* 80041D44 0003ECA4 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 80041D48 0003ECA8 3B 40 00 00 */ li r26, 0 -/* 80041D4C 0003ECAC 88 03 03 B2 */ lbz r0, 0x3b2(r3) -/* 80041D50 0003ECB0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80041D54 0003ECB4 40 82 00 18 */ bne lbl_80041D6C -/* 80041D58 0003ECB8 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80041D5C 0003ECBC 80 03 04 98 */ lwz r0, 0x498(r3) -/* 80041D60 0003ECC0 2C 00 00 02 */ cmpwi r0, 2 -/* 80041D64 0003ECC4 40 82 00 08 */ bne lbl_80041D6C -/* 80041D68 0003ECC8 3B 40 00 01 */ li r26, 1 -lbl_80041D6C: -/* 80041D6C 0003ECCC 80 7C 07 3C */ lwz r3, 0x73c(r28) -/* 80041D70 0003ECD0 7F A4 EB 78 */ mr r4, r29 -/* 80041D74 0003ECD4 38 A1 04 14 */ addi r5, r1, 0x414 -/* 80041D78 0003ECD8 48 19 73 31 */ bl Draw__10CGunMotionCFRC13CStateManagerRC12CTransform4f -/* 80041D7C 0003ECDC 2C 16 00 01 */ cmpwi r22, 1 -/* 80041D80 0003ECE0 41 82 00 20 */ beq lbl_80041DA0 -/* 80041D84 0003ECE4 40 80 00 10 */ bge lbl_80041D94 -/* 80041D88 0003ECE8 2C 16 00 00 */ cmpwi r22, 0 -/* 80041D8C 0003ECEC 40 80 00 D8 */ bge lbl_80041E64 -/* 80041D90 0003ECF0 48 00 03 00 */ b lbl_80042090 -lbl_80041D94: -/* 80041D94 0003ECF4 2C 16 00 04 */ cmpwi r22, 4 -/* 80041D98 0003ECF8 40 80 02 F8 */ bge lbl_80042090 -/* 80041D9C 0003ECFC 48 00 00 C8 */ b lbl_80041E64 -lbl_80041DA0: -/* 80041DA0 0003ED00 80 BC 02 9C */ lwz r5, 0x29c(r28) -/* 80041DA4 0003ED04 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) -/* 80041DA8 0003ED08 7C 05 00 40 */ cmplw r5, r0 -/* 80041DAC 0003ED0C 41 82 00 14 */ beq lbl_80041DC0 -/* 80041DB0 0003ED10 80 7C 08 2C */ lwz r3, 0x82c(r28) -/* 80041DB4 0003ED14 38 81 04 14 */ addi r4, r1, 0x414 -/* 80041DB8 0003ED18 C0 22 85 10 */ lfs f1, lbl_805AA230@sda21(r2) -/* 80041DBC 0003ED1C 48 0C F1 FD */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif -lbl_80041DC0: -/* 80041DC0 0003ED20 2C 19 00 01 */ cmpwi r25, 1 -/* 80041DC4 0003ED24 40 82 00 58 */ bne lbl_80041E1C -/* 80041DC8 0003ED28 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 80041DCC 0003ED2C 38 61 01 74 */ addi r3, r1, 0x174 -/* 80041DD0 0003ED30 C0 42 85 14 */ lfs f2, lbl_805AA234@sda21(r2) -/* 80041DD4 0003ED34 C0 62 85 18 */ lfs f3, lbl_805AA238@sda21(r2) -/* 80041DD8 0003ED38 48 2D 13 B1 */ bl Translate__12CTransform4fFfff -/* 80041DDC 0003ED3C 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 80041DE0 0003ED40 38 81 03 E4 */ addi r4, r1, 0x3e4 -/* 80041DE4 0003ED44 38 A1 01 74 */ addi r5, r1, 0x174 -/* 80041DE8 0003ED48 48 2D 0B 69 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80041DEC 0003ED4C 38 61 03 84 */ addi r3, r1, 0x384 -/* 80041DF0 0003ED50 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 80041DF4 0003ED54 48 2D 0D 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80041DF8 0003ED58 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80041DFC 0003ED5C 7F A4 EB 78 */ mr r4, r29 -/* 80041E00 0003ED60 7F 86 E3 78 */ mr r6, r28 -/* 80041E04 0003ED64 38 7C 06 E0 */ addi r3, r28, 0x6e0 -/* 80041E08 0003ED68 38 A1 03 84 */ addi r5, r1, 0x384 -/* 80041E0C 0003ED6C 38 ED A1 CC */ addi r7, r13, lbl_805A8D8C@sda21 -/* 80041E10 0003ED70 41 82 00 08 */ beq lbl_80041E18 -/* 80041E14 0003ED74 38 ED A1 C4 */ addi r7, r13, lbl_805A8D84@sda21 -lbl_80041E18: -/* 80041E18 0003ED78 48 0D 2F A5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_80041E1C: -/* 80041E1C 0003ED7C 7F 83 E3 78 */ mr r3, r28 -/* 80041E20 0003ED80 7F A4 EB 78 */ mr r4, r29 -/* 80041E24 0003ED84 7F C5 F3 78 */ mr r5, r30 -/* 80041E28 0003ED88 7F E6 FB 78 */ mr r6, r31 -/* 80041E2C 0003ED8C 48 00 03 35 */ bl DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags -/* 80041E30 0003ED90 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80041E34 0003ED94 7F 44 D3 78 */ mr r4, r26 -/* 80041E38 0003ED98 7F A5 EB 78 */ mr r5, r29 -/* 80041E3C 0003ED9C 7F 67 DB 78 */ mr r7, r27 -/* 80041E40 0003EDA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80041E44 0003EDA4 7F 88 E3 78 */ mr r8, r28 -/* 80041E48 0003EDA8 38 C1 04 14 */ addi r6, r1, 0x414 -/* 80041E4C 0003EDAC 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80041E50 0003EDB0 7D 89 03 A6 */ mtctr r12 -/* 80041E54 0003EDB4 4E 80 04 21 */ bctrl -/* 80041E58 0003EDB8 80 7C 08 2C */ lwz r3, 0x82c(r28) -/* 80041E5C 0003EDBC 48 0C F1 3D */ bl DisableModelProjectedShadow__12CWorldShadowCFv -/* 80041E60 0003EDC0 48 00 02 30 */ b lbl_80042090 -lbl_80041E64: -/* 80041E64 0003EDC4 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 80041E68 0003EDC8 38 61 01 14 */ addi r3, r1, 0x114 -/* 80041E6C 0003EDCC C0 42 85 14 */ lfs f2, lbl_805AA234@sda21(r2) -/* 80041E70 0003EDD0 C0 62 85 18 */ lfs f3, lbl_805AA238@sda21(r2) -/* 80041E74 0003EDD4 48 2D 13 15 */ bl Translate__12CTransform4fFfff -/* 80041E78 0003EDD8 38 61 01 44 */ addi r3, r1, 0x144 -/* 80041E7C 0003EDDC 38 81 03 E4 */ addi r4, r1, 0x3e4 -/* 80041E80 0003EDE0 38 A1 01 14 */ addi r5, r1, 0x114 -/* 80041E84 0003EDE4 48 2D 0A CD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80041E88 0003EDE8 38 61 03 54 */ addi r3, r1, 0x354 -/* 80041E8C 0003EDEC 38 81 01 44 */ addi r4, r1, 0x144 -/* 80041E90 0003EDF0 48 2D 0C E5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80041E94 0003EDF4 2C 16 00 00 */ cmpwi r22, 0 -/* 80041E98 0003EDF8 41 82 01 58 */ beq lbl_80041FF0 -/* 80041E9C 0003EDFC C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 80041EA0 0003EE00 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80041EA4 0003EE04 C0 5C 06 78 */ lfs f2, 0x678(r28) -/* 80041EA8 0003EE08 FC 60 08 90 */ fmr f3, f1 -/* 80041EAC 0003EE0C 48 2D 12 DD */ bl Translate__12CTransform4fFfff -/* 80041EB0 0003EE10 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 80041EB4 0003EE14 38 81 03 E4 */ addi r4, r1, 0x3e4 -/* 80041EB8 0003EE18 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 80041EBC 0003EE1C 48 2D 0A 95 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80041EC0 0003EE20 38 61 03 24 */ addi r3, r1, 0x324 -/* 80041EC4 0003EE24 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 80041EC8 0003EE28 48 2D 0C AD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80041ECC 0003EE2C 48 00 08 45 */ bl CopyScreenTex__Fv -/* 80041ED0 0003EE30 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80041ED4 0003EE34 7F A4 EB 78 */ mr r4, r29 -/* 80041ED8 0003EE38 7F 86 E3 78 */ mr r6, r28 -/* 80041EDC 0003EE3C 38 7C 06 E0 */ addi r3, r28, 0x6e0 -/* 80041EE0 0003EE40 38 A1 03 54 */ addi r5, r1, 0x354 -/* 80041EE4 0003EE44 38 ED A1 CC */ addi r7, r13, lbl_805A8D8C@sda21 -/* 80041EE8 0003EE48 41 82 00 08 */ beq lbl_80041EF0 -/* 80041EEC 0003EE4C 38 ED A1 C4 */ addi r7, r13, lbl_805A8D84@sda21 -lbl_80041EF0: -/* 80041EF0 0003EE50 48 0D 2E CD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 80041EF4 0003EE54 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 80041EF8 0003EE58 38 80 00 00 */ li r4, 0 -/* 80041EFC 0003EE5C 38 00 00 03 */ li r0, 3 -/* 80041F00 0003EE60 98 81 00 10 */ stb r4, 0x10(r1) -/* 80041F04 0003EE64 FC 40 08 90 */ fmr f2, f1 -/* 80041F08 0003EE68 38 61 00 14 */ addi r3, r1, 0x14 -/* 80041F0C 0003EE6C FC 60 08 90 */ fmr f3, f1 -/* 80041F10 0003EE70 98 81 00 11 */ stb r4, 0x11(r1) -/* 80041F14 0003EE74 FC 80 08 90 */ fmr f4, f1 -/* 80041F18 0003EE78 B0 01 00 12 */ sth r0, 0x12(r1) -/* 80041F1C 0003EE7C 48 32 14 D1 */ bl __ct__6CColorFffff -/* 80041F20 0003EE80 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80041F24 0003EE84 7F A4 EB 78 */ mr r4, r29 -/* 80041F28 0003EE88 38 A1 04 14 */ addi r5, r1, 0x414 -/* 80041F2C 0003EE8C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80041F30 0003EE90 48 17 9C 9D */ bl DrawHologram__10CGunWeaponCFRC13CStateManagerRC12CTransform4fRC11CModelFlags -/* 80041F34 0003EE94 C0 41 03 30 */ lfs f2, 0x330(r1) -/* 80041F38 0003EE98 7F 84 E3 78 */ mr r4, r28 -/* 80041F3C 0003EE9C C0 21 03 40 */ lfs f1, 0x340(r1) -/* 80041F40 0003EEA0 7E E6 BB 78 */ mr r6, r23 -/* 80041F44 0003EEA4 C0 01 03 50 */ lfs f0, 0x350(r1) -/* 80041F48 0003EEA8 38 61 00 2C */ addi r3, r1, 0x2c -/* 80041F4C 0003EEAC D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80041F50 0003EEB0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80041F54 0003EEB4 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80041F58 0003EEB8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80041F5C 0003EEBC 48 00 03 45 */ bl ConvertToScreenSpace__10CPlayerGunCFRC9CVector3fRC11CGameCamera -/* 80041F60 0003EEC0 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80041F64 0003EEC4 48 00 05 25 */ bl DrawScreenTex__Ff -/* 80041F68 0003EEC8 80 BC 02 9C */ lwz r5, 0x29c(r28) -/* 80041F6C 0003EECC 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) -/* 80041F70 0003EED0 7C 05 00 40 */ cmplw r5, r0 -/* 80041F74 0003EED4 41 82 00 14 */ beq lbl_80041F88 -/* 80041F78 0003EED8 80 7C 08 2C */ lwz r3, 0x82c(r28) -/* 80041F7C 0003EEDC 38 81 04 14 */ addi r4, r1, 0x414 -/* 80041F80 0003EEE0 C0 22 85 10 */ lfs f1, lbl_805AA230@sda21(r2) -/* 80041F84 0003EEE4 48 0C F0 35 */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif -lbl_80041F88: -/* 80041F88 0003EEE8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80041F8C 0003EEEC 38 81 03 24 */ addi r4, r1, 0x324 -/* 80041F90 0003EEF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80041F94 0003EEF4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80041F98 0003EEF8 7D 89 03 A6 */ mtctr r12 -/* 80041F9C 0003EEFC 4E 80 04 21 */ bctrl -/* 80041FA0 0003EF00 38 7C 06 C8 */ addi r3, r28, 0x6c8 -/* 80041FA4 0003EF04 48 17 7C A9 */ bl DrawClipCube__FRC6CAABox -/* 80041FA8 0003EF08 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80041FAC 0003EF0C 7F 44 D3 78 */ mr r4, r26 -/* 80041FB0 0003EF10 7F A5 EB 78 */ mr r5, r29 -/* 80041FB4 0003EF14 7F 67 DB 78 */ mr r7, r27 -/* 80041FB8 0003EF18 81 83 00 00 */ lwz r12, 0(r3) -/* 80041FBC 0003EF1C 7F 88 E3 78 */ mr r8, r28 -/* 80041FC0 0003EF20 38 C1 04 14 */ addi r6, r1, 0x414 -/* 80041FC4 0003EF24 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80041FC8 0003EF28 7D 89 03 A6 */ mtctr r12 -/* 80041FCC 0003EF2C 4E 80 04 21 */ bctrl -/* 80041FD0 0003EF30 7F 83 E3 78 */ mr r3, r28 -/* 80041FD4 0003EF34 7F A4 EB 78 */ mr r4, r29 -/* 80041FD8 0003EF38 7F C5 F3 78 */ mr r5, r30 -/* 80041FDC 0003EF3C 7F E6 FB 78 */ mr r6, r31 -/* 80041FE0 0003EF40 48 00 01 81 */ bl DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags -/* 80041FE4 0003EF44 80 7C 08 2C */ lwz r3, 0x82c(r28) -/* 80041FE8 0003EF48 48 0C EF B1 */ bl DisableModelProjectedShadow__12CWorldShadowCFv -/* 80041FEC 0003EF4C 48 00 00 A4 */ b lbl_80042090 -lbl_80041FF0: -/* 80041FF0 0003EF50 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80041FF4 0003EF54 7F A4 EB 78 */ mr r4, r29 -/* 80041FF8 0003EF58 7F 86 E3 78 */ mr r6, r28 -/* 80041FFC 0003EF5C 38 7C 06 E0 */ addi r3, r28, 0x6e0 -/* 80042000 0003EF60 38 A1 03 54 */ addi r5, r1, 0x354 -/* 80042004 0003EF64 38 ED A1 CC */ addi r7, r13, lbl_805A8D8C@sda21 -/* 80042008 0003EF68 41 82 00 08 */ beq lbl_80042010 -/* 8004200C 0003EF6C 38 ED A1 C4 */ addi r7, r13, lbl_805A8D84@sda21 -lbl_80042010: -/* 80042010 0003EF70 48 0D 2D AD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 80042014 0003EF74 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 80042018 0003EF78 38 80 00 00 */ li r4, 0 -/* 8004201C 0003EF7C 38 00 00 03 */ li r0, 3 -/* 80042020 0003EF80 98 81 00 08 */ stb r4, 8(r1) -/* 80042024 0003EF84 FC 40 08 90 */ fmr f2, f1 -/* 80042028 0003EF88 38 61 00 0C */ addi r3, r1, 0xc -/* 8004202C 0003EF8C FC 60 08 90 */ fmr f3, f1 -/* 80042030 0003EF90 98 81 00 09 */ stb r4, 9(r1) -/* 80042034 0003EF94 FC 80 08 90 */ fmr f4, f1 -/* 80042038 0003EF98 B0 01 00 0A */ sth r0, 0xa(r1) -/* 8004203C 0003EF9C 48 32 13 B1 */ bl __ct__6CColorFffff -/* 80042040 0003EFA0 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 80042044 0003EFA4 7F A4 EB 78 */ mr r4, r29 -/* 80042048 0003EFA8 38 A1 04 14 */ addi r5, r1, 0x414 -/* 8004204C 0003EFAC 38 C1 00 08 */ addi r6, r1, 8 -/* 80042050 0003EFB0 48 17 9B 7D */ bl DrawHologram__10CGunWeaponCFRC13CStateManagerRC12CTransform4fRC11CModelFlags -/* 80042054 0003EFB4 80 BC 02 9C */ lwz r5, 0x29c(r28) -/* 80042058 0003EFB8 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) -/* 8004205C 0003EFBC 7C 05 00 40 */ cmplw r5, r0 -/* 80042060 0003EFC0 41 82 00 14 */ beq lbl_80042074 -/* 80042064 0003EFC4 80 7C 08 2C */ lwz r3, 0x82c(r28) -/* 80042068 0003EFC8 38 81 04 14 */ addi r4, r1, 0x414 -/* 8004206C 0003EFCC C0 22 85 10 */ lfs f1, lbl_805AA230@sda21(r2) -/* 80042070 0003EFD0 48 0C EF 49 */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif -lbl_80042074: -/* 80042074 0003EFD4 7F 83 E3 78 */ mr r3, r28 -/* 80042078 0003EFD8 7F A4 EB 78 */ mr r4, r29 -/* 8004207C 0003EFDC 7F C5 F3 78 */ mr r5, r30 -/* 80042080 0003EFE0 7F E6 FB 78 */ mr r6, r31 -/* 80042084 0003EFE4 48 00 00 DD */ bl DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags -/* 80042088 0003EFE8 80 7C 08 2C */ lwz r3, 0x82c(r28) -/* 8004208C 0003EFEC 48 0C EF 0D */ bl DisableModelProjectedShadow__12CWorldShadowCFv -lbl_80042090: -/* 80042090 0003EFF0 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 80042094 0003EFF4 38 61 02 F4 */ addi r3, r1, 0x2f4 -/* 80042098 0003EFF8 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 8004209C 0003EFFC 48 2D 0A D9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800420A0 0003F000 38 61 00 54 */ addi r3, r1, 0x54 -/* 800420A4 0003F004 38 81 04 14 */ addi r4, r1, 0x414 -/* 800420A8 0003F008 48 2D 06 39 */ bl GetInverse__12CTransform4fCFv -/* 800420AC 0003F00C 38 61 00 84 */ addi r3, r1, 0x84 -/* 800420B0 0003F010 38 81 00 54 */ addi r4, r1, 0x54 -/* 800420B4 0003F014 38 A1 02 F4 */ addi r5, r1, 0x2f4 -/* 800420B8 0003F018 48 2D 08 99 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800420BC 0003F01C 38 61 00 84 */ addi r3, r1, 0x84 -/* 800420C0 0003F020 48 2C A6 8D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 800420C4 0003F024 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800420C8 0003F028 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800420CC 0003F02C 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 800420D0 0003F030 81 83 00 00 */ lwz r12, 0(r3) -/* 800420D4 0003F034 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800420D8 0003F038 7D 89 03 A6 */ mtctr r12 -/* 800420DC 0003F03C 4E 80 04 21 */ bctrl -/* 800420E0 0003F040 80 7C 07 2C */ lwz r3, 0x72c(r28) -/* 800420E4 0003F044 7F A4 EB 78 */ mr r4, r29 -/* 800420E8 0003F048 38 A1 04 14 */ addi r5, r1, 0x414 -/* 800420EC 0003F04C 81 83 00 00 */ lwz r12, 0(r3) -/* 800420F0 0003F050 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800420F4 0003F054 7D 89 03 A6 */ mtctr r12 -/* 800420F8 0003F058 4E 80 04 21 */ bctrl -/* 800420FC 0003F05C 88 1C 08 32 */ lbz r0, 0x832(r28) -/* 80042100 0003F060 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80042104 0003F064 41 82 00 20 */ beq lbl_80042124 -/* 80042108 0003F068 80 7C 07 80 */ lwz r3, 0x780(r28) -/* 8004210C 0003F06C 28 03 00 00 */ cmplwi r3, 0 -/* 80042110 0003F070 41 82 00 14 */ beq lbl_80042124 -/* 80042114 0003F074 81 83 00 00 */ lwz r12, 0(r3) -/* 80042118 0003F078 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8004211C 0003F07C 7D 89 03 A6 */ mtctr r12 -/* 80042120 0003F080 4E 80 04 21 */ bctrl -lbl_80042124: -/* 80042124 0003F084 38 61 02 F4 */ addi r3, r1, 0x2f4 -/* 80042128 0003F088 48 2C A6 25 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8004212C 0003F08C 7F 83 E3 78 */ mr r3, r28 -/* 80042130 0003F090 7F A4 EB 78 */ mr r4, r29 -/* 80042134 0003F094 4B FF A1 BD */ bl RenderEnergyDrainEffects__10CPlayerGunCFRC13CStateManager -/* 80042138 0003F098 C0 22 85 0C */ lfs f1, lbl_805AA22C@sda21(r2) -/* 8004213C 0003F09C C0 42 84 7C */ lfs f2, lbl_805AA19C@sda21(r2) -/* 80042140 0003F0A0 48 2C 82 A1 */ bl SetDepthRange__9CGraphicsFff -/* 80042144 0003F0A4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80042148 0003F0A8 48 2C 7C B9 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 8004214C 0003F0AC BA C1 04 48 */ lmw r22, 0x448(r1) -/* 80042150 0003F0B0 80 01 04 74 */ lwz r0, 0x474(r1) -/* 80042154 0003F0B4 7C 08 03 A6 */ mtlr r0 -/* 80042158 0003F0B8 38 21 04 70 */ addi r1, r1, 0x470 -/* 8004215C 0003F0BC 4E 80 00 20 */ blr - -.global DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags -DrawArm__10CPlayerGunCFRC13CStateManagerRC9CVector3fRC11CModelFlags: -/* 80042160 0003F0C0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80042164 0003F0C4 7C 08 02 A6 */ mflr r0 -/* 80042168 0003F0C8 90 01 00 74 */ stw r0, 0x74(r1) -/* 8004216C 0003F0CC 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80042170 0003F0D0 7C DF 33 78 */ mr r31, r6 -/* 80042174 0003F0D4 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80042178 0003F0D8 7C BE 2B 78 */ mr r30, r5 -/* 8004217C 0003F0DC 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80042180 0003F0E0 7C 9D 23 78 */ mr r29, r4 -/* 80042184 0003F0E4 93 81 00 60 */ stw r28, 0x60(r1) -/* 80042188 0003F0E8 7C 7C 1B 78 */ mr r28, r3 -/* 8004218C 0003F0EC 80 83 07 40 */ lwz r4, 0x740(r3) -/* 80042190 0003F0F0 88 04 03 B2 */ lbz r0, 0x3b2(r4) -/* 80042194 0003F0F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80042198 0003F0F8 41 82 00 E4 */ beq lbl_8004227C -/* 8004219C 0003F0FC 80 04 03 34 */ lwz r0, 0x334(r4) -/* 800421A0 0003F100 2C 00 00 0A */ cmpwi r0, 0xa -/* 800421A4 0003F104 41 82 00 D8 */ beq lbl_8004227C -/* 800421A8 0003F108 80 BD 08 4C */ lwz r5, 0x84c(r29) -/* 800421AC 0003F10C 38 61 00 28 */ addi r3, r1, 0x28 -/* 800421B0 0003F110 38 84 02 20 */ addi r4, r4, 0x220 -/* 800421B4 0003F114 C0 45 00 58 */ lfs f2, 0x58(r5) -/* 800421B8 0003F118 C0 25 00 48 */ lfs f1, 0x48(r5) -/* 800421BC 0003F11C C0 05 00 38 */ lfs f0, 0x38(r5) -/* 800421C0 0003F120 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800421C4 0003F124 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800421C8 0003F128 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800421CC 0003F12C 48 2D 09 A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800421D0 0003F130 C0 61 00 3C */ lfs f3, 0x3c(r1) -/* 800421D4 0003F134 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800421D8 0003F138 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 800421DC 0003F13C EC 03 00 32 */ fmuls f0, f3, f0 -/* 800421E0 0003F140 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 800421E4 0003F144 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 800421E8 0003F148 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 800421EC 0003F14C 80 03 03 B8 */ lwz r0, 0x3b8(r3) -/* 800421F0 0003F150 EC 04 00 7A */ fmadds f0, f4, f1, f0 -/* 800421F4 0003F154 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 800421F8 0003F158 2C 00 00 00 */ cmpwi r0, 0 -/* 800421FC 0003F15C D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80042200 0003F160 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80042204 0003F164 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80042208 0003F168 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8004220C 0003F16C 40 82 00 14 */ bne lbl_80042220 -/* 80042210 0003F170 40 82 00 6C */ bne lbl_8004227C -/* 80042214 0003F174 C0 02 84 90 */ lfs f0, lbl_805AA1B0@sda21(r2) -/* 80042218 0003F178 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8004221C 0003F17C 40 81 00 60 */ ble lbl_8004227C -lbl_80042220: -/* 80042220 0003F180 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 80042224 0003F184 88 03 03 B2 */ lbz r0, 0x3b2(r3) -/* 80042228 0003F188 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8004222C 0003F18C 41 82 00 0C */ beq lbl_80042238 -/* 80042230 0003F190 7F E6 FB 78 */ mr r6, r31 -/* 80042234 0003F194 48 00 00 34 */ b lbl_80042268 -lbl_80042238: -/* 80042238 0003F198 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 8004223C 0003F19C 38 80 00 00 */ li r4, 0 -/* 80042240 0003F1A0 38 00 00 03 */ li r0, 3 -/* 80042244 0003F1A4 98 81 00 08 */ stb r4, 8(r1) -/* 80042248 0003F1A8 FC 40 08 90 */ fmr f2, f1 -/* 8004224C 0003F1AC 38 61 00 0C */ addi r3, r1, 0xc -/* 80042250 0003F1B0 FC 60 08 90 */ fmr f3, f1 -/* 80042254 0003F1B4 98 81 00 09 */ stb r4, 9(r1) -/* 80042258 0003F1B8 FC 80 08 90 */ fmr f4, f1 -/* 8004225C 0003F1BC B0 01 00 0A */ sth r0, 0xa(r1) -/* 80042260 0003F1C0 48 32 11 8D */ bl __ct__6CColorFffff -/* 80042264 0003F1C4 38 C1 00 08 */ addi r6, r1, 8 -lbl_80042268: -/* 80042268 0003F1C8 80 7C 07 40 */ lwz r3, 0x740(r28) -/* 8004226C 0003F1CC 7F A4 EB 78 */ mr r4, r29 -/* 80042270 0003F1D0 7F C5 F3 78 */ mr r5, r30 -/* 80042274 0003F1D4 7F 87 E3 78 */ mr r7, r28 -/* 80042278 0003F1D8 48 0D D3 85 */ bl Render__11CGrappleArmCFRC13CStateManagerRC9CVector3fRC11CModelFlagsPC12CActorLights -lbl_8004227C: -/* 8004227C 0003F1DC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80042280 0003F1E0 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80042284 0003F1E4 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80042288 0003F1E8 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8004228C 0003F1EC 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80042290 0003F1F0 7C 08 03 A6 */ mtlr r0 -/* 80042294 0003F1F4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80042298 0003F1F8 4E 80 00 20 */ blr - -.global PreRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f -PreRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f: -/* 8004229C 0003F1FC 4E 80 00 20 */ blr - -.global ConvertToScreenSpace__10CPlayerGunCFRC9CVector3fRC11CGameCamera -ConvertToScreenSpace__10CPlayerGunCFRC9CVector3fRC11CGameCamera: -/* 800422A0 0003F200 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800422A4 0003F204 7C 08 02 A6 */ mflr r0 -/* 800422A8 0003F208 38 86 00 34 */ addi r4, r6, 0x34 -/* 800422AC 0003F20C 90 01 00 84 */ stw r0, 0x84(r1) -/* 800422B0 0003F210 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 800422B4 0003F214 7C 7F 1B 78 */ mr r31, r3 -/* 800422B8 0003F218 38 61 00 14 */ addi r3, r1, 0x14 -/* 800422BC 0003F21C C0 25 00 08 */ lfs f1, 8(r5) -/* 800422C0 0003F220 C0 06 00 60 */ lfs f0, 0x60(r6) -/* 800422C4 0003F224 C0 65 00 04 */ lfs f3, 4(r5) -/* 800422C8 0003F228 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800422CC 0003F22C C0 46 00 50 */ lfs f2, 0x50(r6) -/* 800422D0 0003F230 C0 25 00 00 */ lfs f1, 0(r5) -/* 800422D4 0003F234 38 A1 00 08 */ addi r5, r1, 8 -/* 800422D8 0003F238 C0 06 00 40 */ lfs f0, 0x40(r6) -/* 800422DC 0003F23C EC 43 10 28 */ fsubs f2, f3, f2 -/* 800422E0 0003F240 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800422E4 0003F244 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 800422E8 0003F248 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 800422EC 0003F24C D0 01 00 08 */ stfs f0, 8(r1) -/* 800422F0 0003F250 48 2D 07 35 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800422F4 0003F254 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 800422F8 0003F258 38 00 00 00 */ li r0, 0 -/* 800422FC 0003F25C C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 80042300 0003F260 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80042304 0003F264 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80042308 0003F268 FC 00 18 00 */ fcmpu cr0, f0, f3 -/* 8004230C 0003F26C D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80042310 0003F270 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80042314 0003F274 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80042318 0003F278 40 82 00 14 */ bne lbl_8004232C -/* 8004231C 0003F27C FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 80042320 0003F280 40 82 00 0C */ bne lbl_8004232C -/* 80042324 0003F284 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80042328 0003F288 41 82 00 08 */ beq lbl_80042330 -lbl_8004232C: -/* 8004232C 0003F28C 38 00 00 01 */ li r0, 1 -lbl_80042330: -/* 80042330 0003F290 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80042334 0003F294 41 82 00 20 */ beq lbl_80042354 -/* 80042338 0003F298 38 61 00 2C */ addi r3, r1, 0x2c -/* 8004233C 0003F29C 48 2C 9F F5 */ bl GetPerspectiveProjectionMatrix__9CGraphicsFv -/* 80042340 0003F2A0 7F E3 FB 78 */ mr r3, r31 -/* 80042344 0003F2A4 38 81 00 2C */ addi r4, r1, 0x2c -/* 80042348 0003F2A8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8004234C 0003F2AC 48 2C E4 05 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f -/* 80042350 0003F2B0 48 00 00 18 */ b lbl_80042368 -lbl_80042354: -/* 80042354 0003F2B4 C0 22 84 C8 */ lfs f1, lbl_805AA1E8@sda21(r2) -/* 80042358 0003F2B8 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 8004235C 0003F2BC D0 3F 00 00 */ stfs f1, 0(r31) -/* 80042360 0003F2C0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80042364 0003F2C4 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_80042368: -/* 80042368 0003F2C8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8004236C 0003F2CC 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80042370 0003F2D0 7C 08 03 A6 */ mtlr r0 -/* 80042374 0003F2D4 38 21 00 80 */ addi r1, r1, 0x80 -/* 80042378 0003F2D8 4E 80 00 20 */ blr - -.global TouchModel__10CPlayerGunCFRC13CStateManager -TouchModel__10CPlayerGunCFRC13CStateManager: -/* 8004237C 0003F2DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80042380 0003F2E0 7C 08 02 A6 */ mflr r0 -/* 80042384 0003F2E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80042388 0003F2E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004238C 0003F2EC 7C 9F 23 78 */ mr r31, r4 -/* 80042390 0003F2F0 93 C1 00 08 */ stw r30, 8(r1) -/* 80042394 0003F2F4 7C 7E 1B 78 */ mr r30, r3 -/* 80042398 0003F2F8 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 8004239C 0003F2FC 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 800423A0 0003F300 2C 00 00 01 */ cmpwi r0, 1 -/* 800423A4 0003F304 41 82 00 AC */ beq lbl_80042450 -/* 800423A8 0003F308 80 7E 07 3C */ lwz r3, 0x73c(r30) -/* 800423AC 0003F30C 38 A0 00 00 */ li r5, 0 -/* 800423B0 0003F310 48 0D 39 61 */ bl Touch__10CModelDataCFRC13CStateManageri -/* 800423B4 0003F314 80 1E 03 3C */ lwz r0, 0x33c(r30) -/* 800423B8 0003F318 2C 00 00 02 */ cmpwi r0, 2 -/* 800423BC 0003F31C 41 82 00 2C */ beq lbl_800423E8 -/* 800423C0 0003F320 40 80 00 40 */ bge lbl_80042400 -/* 800423C4 0003F324 2C 00 00 01 */ cmpwi r0, 1 -/* 800423C8 0003F328 40 80 00 08 */ bge lbl_800423D0 -/* 800423CC 0003F32C 48 00 00 34 */ b lbl_80042400 -lbl_800423D0: -/* 800423D0 0003F330 80 7E 07 5C */ lwz r3, 0x75c(r30) -/* 800423D4 0003F334 28 03 00 00 */ cmplwi r3, 0 -/* 800423D8 0003F338 41 82 00 50 */ beq lbl_80042428 -/* 800423DC 0003F33C 7F E4 FB 78 */ mr r4, r31 -/* 800423E0 0003F340 48 17 92 0D */ bl Touch__10CGunWeaponFRC13CStateManager -/* 800423E4 0003F344 48 00 00 44 */ b lbl_80042428 -lbl_800423E8: -/* 800423E8 0003F348 80 7E 07 38 */ lwz r3, 0x738(r30) -/* 800423EC 0003F34C 28 03 00 00 */ cmplwi r3, 0 -/* 800423F0 0003F350 41 82 00 38 */ beq lbl_80042428 -/* 800423F4 0003F354 7F E4 FB 78 */ mr r4, r31 -/* 800423F8 0003F358 48 17 91 F5 */ bl Touch__10CGunWeaponFRC13CStateManager -/* 800423FC 0003F35C 48 00 00 2C */ b lbl_80042428 -lbl_80042400: -/* 80042400 0003F360 88 1E 08 33 */ lbz r0, 0x833(r30) -/* 80042404 0003F364 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80042408 0003F368 40 82 00 14 */ bne lbl_8004241C -/* 8004240C 0003F36C 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 80042410 0003F370 7F E4 FB 78 */ mr r4, r31 -/* 80042414 0003F374 48 17 91 D9 */ bl Touch__10CGunWeaponFRC13CStateManager -/* 80042418 0003F378 48 00 00 10 */ b lbl_80042428 -lbl_8004241C: -/* 8004241C 0003F37C 80 7E 07 5C */ lwz r3, 0x75c(r30) -/* 80042420 0003F380 7F E4 FB 78 */ mr r4, r31 -/* 80042424 0003F384 48 17 91 C9 */ bl Touch__10CGunWeaponFRC13CStateManager -lbl_80042428: -/* 80042428 0003F388 80 7E 07 2C */ lwz r3, 0x72c(r30) -/* 8004242C 0003F38C 7F E4 FB 78 */ mr r4, r31 -/* 80042430 0003F390 48 17 91 89 */ bl TouchHolo__10CGunWeaponFRC13CStateManager -/* 80042434 0003F394 80 7E 07 40 */ lwz r3, 0x740(r30) -/* 80042438 0003F398 7F E4 FB 78 */ mr r4, r31 -/* 8004243C 0003F39C 48 0D D4 5D */ bl TouchModel__11CGrappleArmCFRC13CStateManager -/* 80042440 0003F3A0 7F E4 FB 78 */ mr r4, r31 -/* 80042444 0003F3A4 38 7E 06 E0 */ addi r3, r30, 0x6e0 -/* 80042448 0003F3A8 38 A0 00 00 */ li r5, 0 -/* 8004244C 0003F3AC 48 0D 38 C5 */ bl Touch__10CModelDataCFRC13CStateManageri -lbl_80042450: -/* 80042450 0003F3B0 80 7E 07 34 */ lwz r3, 0x734(r30) -/* 80042454 0003F3B4 28 03 00 00 */ cmplwi r3, 0 -/* 80042458 0003F3B8 41 82 00 18 */ beq lbl_80042470 -/* 8004245C 0003F3BC 7F E4 FB 78 */ mr r4, r31 -/* 80042460 0003F3C0 48 17 91 8D */ bl Touch__10CGunWeaponFRC13CStateManager -/* 80042464 0003F3C4 80 7E 07 34 */ lwz r3, 0x734(r30) -/* 80042468 0003F3C8 7F E4 FB 78 */ mr r4, r31 -/* 8004246C 0003F3CC 48 17 91 4D */ bl TouchHolo__10CGunWeaponFRC13CStateManager -lbl_80042470: -/* 80042470 0003F3D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80042474 0003F3D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80042478 0003F3D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004247C 0003F3DC 7C 08 03 A6 */ mtlr r0 -/* 80042480 0003F3E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80042484 0003F3E4 4E 80 00 20 */ blr - -.global DrawScreenTex__Ff -DrawScreenTex__Ff: -/* 80042488 0003F3E8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8004248C 0003F3EC 7C 08 02 A6 */ mflr r0 -/* 80042490 0003F3F0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80042494 0003F3F4 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80042498 0003F3F8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8004249C 0003F3FC FF E0 08 90 */ fmr f31, f1 -/* 800424A0 0003F400 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 800424A4 0003F404 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l -/* 800424A8 0003F408 38 61 00 3C */ addi r3, r1, 0x3c -/* 800424AC 0003F40C 48 2D 06 C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800424B0 0003F410 48 2C 79 AD */ bl GetProjectionState__9CGraphicsFv -/* 800424B4 0003F414 88 03 00 00 */ lbz r0, 0(r3) -/* 800424B8 0003F418 3C C0 43 30 */ lis r6, 0x4330 -/* 800424BC 0003F41C 3C 80 80 3F */ lis r4, lbl_803F0008@ha -/* 800424C0 0003F420 85 04 D9 10 */ lwzu r8, -0x26f0(r4) -/* 800424C4 0003F424 98 01 00 20 */ stb r0, 0x20(r1) -/* 800424C8 0003F428 6D 07 80 00 */ xoris r7, r8, 0x8000 -/* 800424CC 0003F42C 80 A4 00 08 */ lwz r5, lbl_803F0008@l(r4) -/* 800424D0 0003F430 C0 03 00 04 */ lfs f0, 4(r3) -/* 800424D4 0003F434 81 24 00 04 */ lwz r9, 4(r4) -/* 800424D8 0003F438 7C A8 2A 14 */ add r5, r8, r5 -/* 800424DC 0003F43C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800424E0 0003F440 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 800424E4 0003F444 80 84 00 0C */ lwz r4, 0xc(r4) -/* 800424E8 0003F448 6D 20 80 00 */ xoris r0, r9, 0x8000 -/* 800424EC 0003F44C C0 03 00 08 */ lfs f0, 8(r3) -/* 800424F0 0003F450 7C 89 22 14 */ add r4, r9, r4 -/* 800424F4 0003F454 90 C1 00 70 */ stw r6, 0x70(r1) -/* 800424F8 0003F458 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 800424FC 0003F45C C8 82 84 B0 */ lfd f4, lbl_805AA1D0@sda21(r2) -/* 80042500 0003F460 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80042504 0003F464 C0 A2 84 C8 */ lfs f5, lbl_805AA1E8@sda21(r2) -/* 80042508 0003F468 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8004250C 0003F46C 90 E1 00 74 */ stw r7, 0x74(r1) -/* 80042510 0003F470 C0 C2 84 7C */ lfs f6, lbl_805AA19C@sda21(r2) -/* 80042514 0003F474 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80042518 0003F478 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 8004251C 0003F47C C0 43 00 10 */ lfs f2, 0x10(r3) -/* 80042520 0003F480 EC 20 20 28 */ fsubs f1, f0, f4 -/* 80042524 0003F484 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 80042528 0003F488 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8004252C 0003F48C C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80042530 0003F490 90 C1 00 78 */ stw r6, 0x78(r1) -/* 80042534 0003F494 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80042538 0003F498 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 8004253C 0003F49C C0 E3 00 18 */ lfs f7, 0x18(r3) -/* 80042540 0003F4A0 90 81 00 84 */ stw r4, 0x84(r1) -/* 80042544 0003F4A4 EC 40 20 28 */ fsubs f2, f0, f4 -/* 80042548 0003F4A8 90 C1 00 80 */ stw r6, 0x80(r1) -/* 8004254C 0003F4AC C8 01 00 80 */ lfd f0, 0x80(r1) -/* 80042550 0003F4B0 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80042554 0003F4B4 EC 60 20 28 */ fsubs f3, f0, f4 -/* 80042558 0003F4B8 90 C1 00 88 */ stw r6, 0x88(r1) -/* 8004255C 0003F4BC C8 01 00 88 */ lfd f0, 0x88(r1) -/* 80042560 0003F4C0 D0 E1 00 38 */ stfs f7, 0x38(r1) -/* 80042564 0003F4C4 EC 80 20 28 */ fsubs f4, f0, f4 -/* 80042568 0003F4C8 48 2C 9F ED */ bl SetOrtho__9CGraphicsFffffff -/* 8004256C 0003F4CC 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80042570 0003F4D0 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 80042574 0003F4D4 48 2C A1 D9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 80042578 0003F4D8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8004257C 0003F4DC 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80042580 0003F4E0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80042584 0003F4E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80042588 0003F4E8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8004258C 0003F4EC 7D 89 03 A6 */ mtctr r12 -/* 80042590 0003F4F0 4E 80 04 21 */ bctrl -/* 80042594 0003F4F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80042598 0003F4F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8004259C 0003F4FC 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800425A0 0003F500 7D 89 03 A6 */ mtctr r12 -/* 800425A4 0003F504 4E 80 04 21 */ bctrl -/* 800425A8 0003F508 38 60 00 01 */ li r3, 1 -/* 800425AC 0003F50C 38 80 00 06 */ li r4, 6 -/* 800425B0 0003F510 38 A0 00 01 */ li r5, 1 -/* 800425B4 0003F514 48 2C 94 E1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 800425B8 0003F518 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 800425BC 0003F51C 38 60 01 40 */ li r3, 0x140 -/* 800425C0 0003F520 38 80 00 E0 */ li r4, 0xe0 -/* 800425C4 0003F524 38 A0 00 06 */ li r5, 6 -/* 800425C8 0003F528 38 C0 00 00 */ li r6, 0 -/* 800425CC 0003F52C 48 2C 7A 55 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 800425D0 0003F530 3C 80 80 3D */ lis r4, lbl_803CCE98@ha -/* 800425D4 0003F534 38 61 00 08 */ addi r3, r1, 8 -/* 800425D8 0003F538 39 24 CE 98 */ addi r9, r4, lbl_803CCE98@l -/* 800425DC 0003F53C 81 09 00 00 */ lwz r8, 0(r9) -/* 800425E0 0003F540 80 E9 00 04 */ lwz r7, 4(r9) -/* 800425E4 0003F544 80 C9 00 08 */ lwz r6, 8(r9) -/* 800425E8 0003F548 80 A9 00 0C */ lwz r5, 0xc(r9) -/* 800425EC 0003F54C 80 89 00 10 */ lwz r4, 0x10(r9) -/* 800425F0 0003F550 80 09 00 14 */ lwz r0, 0x14(r9) -/* 800425F4 0003F554 91 01 00 08 */ stw r8, 8(r1) -/* 800425F8 0003F558 90 E1 00 0C */ stw r7, 0xc(r1) -/* 800425FC 0003F55C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80042600 0003F560 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80042604 0003F564 90 81 00 18 */ stw r4, 0x18(r1) -/* 80042608 0003F568 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8004260C 0003F56C 48 2C 58 1D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 80042610 0003F570 38 60 00 00 */ li r3, 0 -/* 80042614 0003F574 48 2C 68 3D */ bl SetNumChans__3CGXFUc -/* 80042618 0003F578 38 60 00 01 */ li r3, 1 -/* 8004261C 0003F57C 48 2C 67 F9 */ bl SetNumTexGens__3CGXFUc -/* 80042620 0003F580 38 60 00 01 */ li r3, 1 -/* 80042624 0003F584 48 2C 66 6D */ bl SetNumTevStages__3CGXFUc -/* 80042628 0003F588 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 8004262C 0003F58C 38 60 00 00 */ li r3, 0 -/* 80042630 0003F590 38 80 00 00 */ li r4, 0 -/* 80042634 0003F594 38 C0 00 FF */ li r6, 0xff -/* 80042638 0003F598 48 2C 63 15 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8004263C 0003F59C 38 60 00 00 */ li r3, 0 -/* 80042640 0003F5A0 38 80 00 00 */ li r4, 0 -/* 80042644 0003F5A4 38 A0 00 00 */ li r5, 0 -/* 80042648 0003F5A8 38 C0 00 00 */ li r6, 0 -/* 8004264C 0003F5AC 38 E0 00 00 */ li r7, 0 -/* 80042650 0003F5B0 39 00 00 00 */ li r8, 0 -/* 80042654 0003F5B4 39 20 00 02 */ li r9, 2 -/* 80042658 0003F5B8 48 2C 66 75 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8004265C 0003F5BC 38 60 00 98 */ li r3, 0x98 -/* 80042660 0003F5C0 38 80 00 00 */ li r4, 0 -/* 80042664 0003F5C4 38 A0 00 04 */ li r5, 4 -/* 80042668 0003F5C8 48 2C 5F 1D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8004266C 0003F5CC C0 82 85 20 */ lfs f4, lbl_805AA240@sda21(r2) -/* 80042670 0003F5D0 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 80042674 0003F5D4 C0 62 84 6C */ lfs f3, lbl_805AA18C@sda21(r2) -/* 80042678 0003F5D8 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 8004267C 0003F5DC C0 42 84 7C */ lfs f2, lbl_805AA19C@sda21(r2) -/* 80042680 0003F5E0 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 80042684 0003F5E4 C0 22 85 1C */ lfs f1, lbl_805AA23C@sda21(r2) -/* 80042688 0003F5E8 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8004268C 0003F5EC C0 02 85 24 */ lfs f0, lbl_805AA244@sda21(r2) -/* 80042690 0003F5F0 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 80042694 0003F5F4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 80042698 0003F5F8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8004269C 0003F5FC D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 800426A0 0003F600 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 800426A4 0003F604 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 800426A8 0003F608 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 800426AC 0003F60C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 800426B0 0003F610 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 800426B4 0003F614 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 800426B8 0003F618 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 800426BC 0003F61C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 800426C0 0003F620 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 800426C4 0003F624 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 800426C8 0003F628 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 800426CC 0003F62C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 800426D0 0003F630 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 800426D4 0003F634 48 2C 5E AD */ bl End__3CGXFv -/* 800426D8 0003F638 38 60 00 01 */ li r3, 1 -/* 800426DC 0003F63C 38 80 00 03 */ li r4, 3 -/* 800426E0 0003F640 38 A0 00 01 */ li r5, 1 -/* 800426E4 0003F644 48 2C 93 B1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 800426E8 0003F648 38 61 00 3C */ addi r3, r1, 0x3c -/* 800426EC 0003F64C 48 2C A0 61 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 800426F0 0003F650 38 61 00 20 */ addi r3, r1, 0x20 -/* 800426F4 0003F654 48 2C 77 0D */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 800426F8 0003F658 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 800426FC 0003F65C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80042700 0003F660 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80042704 0003F664 7C 08 03 A6 */ mtlr r0 -/* 80042708 0003F668 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8004270C 0003F66C 4E 80 00 20 */ blr - -.global CopyScreenTex__Fv -CopyScreenTex__Fv: -/* 80042710 0003F670 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80042714 0003F674 7C 08 02 A6 */ mflr r0 -/* 80042718 0003F678 38 60 01 40 */ li r3, 0x140 -/* 8004271C 0003F67C 38 80 00 E0 */ li r4, 0xe0 -/* 80042720 0003F680 90 01 00 14 */ stw r0, 0x14(r1) -/* 80042724 0003F684 38 A0 01 40 */ li r5, 0x140 -/* 80042728 0003F688 38 C0 00 E0 */ li r6, 0xe0 -/* 8004272C 0003F68C 48 33 66 89 */ bl GXSetTexCopySrc -/* 80042730 0003F690 38 60 01 40 */ li r3, 0x140 -/* 80042734 0003F694 38 80 00 E0 */ li r4, 0xe0 -/* 80042738 0003F698 38 A0 00 06 */ li r5, 6 -/* 8004273C 0003F69C 38 C0 00 00 */ li r6, 0 -/* 80042740 0003F6A0 48 33 67 41 */ bl GXSetTexCopyDst -/* 80042744 0003F6A4 80 6D A8 28 */ lwz r3, lbl_805A93E8@sda21(r13) -/* 80042748 0003F6A8 38 80 00 00 */ li r4, 0 -/* 8004274C 0003F6AC 48 33 6D E9 */ bl GXCopyTex -/* 80042750 0003F6B0 48 33 5E 15 */ bl GXPixModeSync -/* 80042754 0003F6B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80042758 0003F6B8 7C 08 03 A6 */ mtlr r0 -/* 8004275C 0003F6BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80042760 0003F6C0 4E 80 00 20 */ blr - -.global PreRender__10CPlayerGunFR13CStateManagerRC14CFrustumPlanesRC9CVector3f -PreRender__10CPlayerGunFR13CStateManagerRC14CFrustumPlanesRC9CVector3f: -/* 80042764 0003F6C4 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80042768 0003F6C8 7C 08 02 A6 */ mflr r0 -/* 8004276C 0003F6CC 90 01 01 34 */ stw r0, 0x134(r1) -/* 80042770 0003F6D0 BF 61 01 1C */ stmw r27, 0x11c(r1) -/* 80042774 0003F6D4 7C 7B 1B 78 */ mr r27, r3 -/* 80042778 0003F6D8 7C 9C 23 78 */ mr r28, r4 -/* 8004277C 0003F6DC 7C BD 2B 78 */ mr r29, r5 -/* 80042780 0003F6E0 7C DE 33 78 */ mr r30, r6 -/* 80042784 0003F6E4 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 80042788 0003F6E8 80 63 00 00 */ lwz r3, 0(r3) -/* 8004278C 0003F6EC 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80042790 0003F6F0 2C 00 00 02 */ cmpwi r0, 2 -/* 80042794 0003F6F4 41 82 02 08 */ beq lbl_8004299C -/* 80042798 0003F6F8 48 04 ED C1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8004279C 0003F6FC 7C 7F 1B 78 */ mr r31, r3 -/* 800427A0 0003F700 2C 1F 00 03 */ cmpwi r31, 3 -/* 800427A4 0003F704 41 82 00 14 */ beq lbl_800427B8 -/* 800427A8 0003F708 40 80 01 A4 */ bge lbl_8004294C -/* 800427AC 0003F70C 2C 1F 00 00 */ cmpwi r31, 0 -/* 800427B0 0003F710 41 82 00 5C */ beq lbl_8004280C -/* 800427B4 0003F714 48 00 01 98 */ b lbl_8004294C -lbl_800427B8: -/* 800427B8 0003F718 C0 62 84 FC */ lfs f3, lbl_805AA21C@sda21(r2) -/* 800427BC 0003F71C 38 81 00 1C */ addi r4, r1, 0x1c -/* 800427C0 0003F720 C0 5B 03 80 */ lfs f2, 0x380(r27) -/* 800427C4 0003F724 38 6D 82 4C */ addi r3, r13, lbl_805A6E0C@sda21 -/* 800427C8 0003F728 C0 22 85 28 */ lfs f1, lbl_805AA248@sda21(r2) -/* 800427CC 0003F72C 38 AD 82 50 */ addi r5, r13, lbl_805A6E10@sda21 -/* 800427D0 0003F730 C0 1B 03 78 */ lfs f0, 0x378(r27) -/* 800427D4 0003F734 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 800427D8 0003F738 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800427DC 0003F73C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800427E0 0003F740 4B FC 9A D5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800427E4 0003F744 C0 23 00 00 */ lfs f1, 0(r3) -/* 800427E8 0003F748 38 61 00 18 */ addi r3, r1, 0x18 -/* 800427EC 0003F74C C0 82 84 7C */ lfs f4, lbl_805AA19C@sda21(r2) -/* 800427F0 0003F750 FC 40 08 90 */ fmr f2, f1 -/* 800427F4 0003F754 FC 60 08 90 */ fmr f3, f1 -/* 800427F8 0003F758 48 32 0B F5 */ bl __ct__6CColorFffff -/* 800427FC 0003F75C 7C 64 1B 78 */ mr r4, r3 -/* 80042800 0003F760 7F 63 DB 78 */ mr r3, r27 -/* 80042804 0003F764 48 0C 08 AD */ bl BuildConstantAmbientLighting__12CActorLightsFRC6CColor -/* 80042808 0003F768 48 00 01 44 */ b lbl_8004294C -lbl_8004280C: -/* 8004280C 0003F76C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80042810 0003F770 38 9B 04 A8 */ addi r4, r27, 0x4a8 -/* 80042814 0003F774 48 2D 03 61 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80042818 0003F778 7F C4 F3 78 */ mr r4, r30 -/* 8004281C 0003F77C 38 61 00 80 */ addi r3, r1, 0x80 -/* 80042820 0003F780 48 2D 09 21 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80042824 0003F784 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80042828 0003F788 38 81 00 80 */ addi r4, r1, 0x80 -/* 8004282C 0003F78C 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80042830 0003F790 48 2D 01 21 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80042834 0003F794 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80042838 0003F798 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 8004283C 0003F79C 48 2D 03 39 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80042840 0003F7A0 80 9B 07 2C */ lwz r4, 0x72c(r27) -/* 80042844 0003F7A4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80042848 0003F7A8 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 8004284C 0003F7AC 48 17 8E 09 */ bl GetBounds__10CGunWeaponCFRC12CTransform4f -/* 80042850 0003F7B0 C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 80042854 0003F7B4 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 80042858 0003F7B8 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 8004285C 0003F7BC C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 80042860 0003F7C0 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80042864 0003F7C4 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80042868 0003F7C8 D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 8004286C 0003F7CC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80042870 0003F7D0 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 80042874 0003F7D4 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 80042878 0003F7D8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8004287C 0003F7DC D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80042880 0003F7E0 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80042884 0003F7E4 80 7C 08 CC */ lwz r3, 0x8cc(r28) -/* 80042888 0003F7E8 7C 03 00 00 */ cmpw r3, r0 -/* 8004288C 0003F7EC 41 82 00 4C */ beq lbl_800428D8 -/* 80042890 0003F7F0 88 1B 02 98 */ lbz r0, 0x298(r27) -/* 80042894 0003F7F4 38 60 00 01 */ li r3, 1 -/* 80042898 0003F7F8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8004289C 0003F7FC C0 02 84 D8 */ lfs f0, lbl_805AA1F8@sda21(r2) -/* 800428A0 0003F800 98 1B 02 98 */ stb r0, 0x298(r27) -/* 800428A4 0003F804 7F 63 DB 78 */ mr r3, r27 -/* 800428A8 0003F808 7F 84 E3 78 */ mr r4, r28 -/* 800428AC 0003F80C 38 C1 00 38 */ addi r6, r1, 0x38 -/* 800428B0 0003F810 D0 1B 02 D0 */ stfs f0, 0x2d0(r27) -/* 800428B4 0003F814 81 1C 08 CC */ lwz r8, 0x8cc(r28) -/* 800428B8 0003F818 80 FC 08 50 */ lwz r7, 0x850(r28) -/* 800428BC 0003F81C 55 05 18 38 */ slwi r5, r8, 3 -/* 800428C0 0003F820 91 01 00 10 */ stw r8, 0x10(r1) -/* 800428C4 0003F824 80 E7 00 20 */ lwz r7, 0x20(r7) -/* 800428C8 0003F828 38 05 00 04 */ addi r0, r5, 4 -/* 800428CC 0003F82C 91 01 00 14 */ stw r8, 0x14(r1) -/* 800428D0 0003F830 7C A7 00 2E */ lwzx r5, r7, r0 -/* 800428D4 0003F834 48 0C 14 ED */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox -lbl_800428D8: -/* 800428D8 0003F838 7F 63 DB 78 */ mr r3, r27 -/* 800428DC 0003F83C 7F 84 E3 78 */ mr r4, r28 -/* 800428E0 0003F840 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800428E4 0003F844 48 0C 0E 2D */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox -/* 800428E8 0003F848 80 7B 02 9C */ lwz r3, 0x29c(r27) -/* 800428EC 0003F84C 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) -/* 800428F0 0003F850 7C 03 00 40 */ cmplw r3, r0 -/* 800428F4 0003F854 41 82 00 50 */ beq lbl_80042944 -/* 800428F8 0003F858 80 7B 07 2C */ lwz r3, 0x72c(r27) -/* 800428FC 0003F85C 81 83 00 00 */ lwz r12, 0(r3) -/* 80042900 0003F860 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80042904 0003F864 7D 89 03 A6 */ mtctr r12 -/* 80042908 0003F868 4E 80 04 21 */ bctrl -/* 8004290C 0003F86C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80042910 0003F870 41 82 00 3C */ beq lbl_8004294C -/* 80042914 0003F874 80 1C 08 CC */ lwz r0, 0x8cc(r28) -/* 80042918 0003F878 7F 84 E3 78 */ mr r4, r28 -/* 8004291C 0003F87C 80 DB 02 A0 */ lwz r6, 0x2a0(r27) -/* 80042920 0003F880 38 A1 00 0C */ addi r5, r1, 0xc -/* 80042924 0003F884 90 01 00 08 */ stw r0, 8(r1) -/* 80042928 0003F888 38 E1 00 38 */ addi r7, r1, 0x38 -/* 8004292C 0003F88C 39 00 00 01 */ li r8, 1 -/* 80042930 0003F890 39 20 00 00 */ li r9, 0 -/* 80042934 0003F894 90 01 00 0C */ stw r0, 0xc(r1) -/* 80042938 0003F898 80 7B 08 2C */ lwz r3, 0x82c(r27) -/* 8004293C 0003F89C 48 0C E8 95 */ bl BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb -/* 80042940 0003F8A0 48 00 00 0C */ b lbl_8004294C -lbl_80042944: -/* 80042944 0003F8A4 80 7B 08 2C */ lwz r3, 0x82c(r27) -/* 80042948 0003F8A8 48 0C E6 45 */ bl ResetBlur__12CWorldShadowFv -lbl_8004294C: -/* 8004294C 0003F8AC 80 7B 07 40 */ lwz r3, 0x740(r27) -/* 80042950 0003F8B0 88 03 03 B2 */ lbz r0, 0x3b2(r3) -/* 80042954 0003F8B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80042958 0003F8B8 41 82 00 14 */ beq lbl_8004296C -/* 8004295C 0003F8BC 7F 84 E3 78 */ mr r4, r28 -/* 80042960 0003F8C0 7F A5 EB 78 */ mr r5, r29 -/* 80042964 0003F8C4 7F C6 F3 78 */ mr r6, r30 -/* 80042968 0003F8C8 48 0D CE C9 */ bl PreRender__11CGrappleArmFR13CStateManagerRC14CFrustumPlanesRC9CVector3f -lbl_8004296C: -/* 8004296C 0003F8CC 80 1B 06 98 */ lwz r0, 0x698(r27) -/* 80042970 0003F8D0 2C 00 00 01 */ cmpwi r0, 1 -/* 80042974 0003F8D4 40 82 00 0C */ bne lbl_80042980 -/* 80042978 0003F8D8 2C 1F 00 01 */ cmpwi r31, 1 -/* 8004297C 0003F8DC 40 82 00 0C */ bne lbl_80042988 -lbl_80042980: -/* 80042980 0003F8E0 80 7B 06 F0 */ lwz r3, 0x6f0(r27) -/* 80042984 0003F8E4 4B FE A0 81 */ bl PreRender__9CAnimDataFv -lbl_80042988: -/* 80042988 0003F8E8 88 1B 08 33 */ lbz r0, 0x833(r27) -/* 8004298C 0003F8EC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80042990 0003F8F0 41 82 00 0C */ beq lbl_8004299C -/* 80042994 0003F8F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80042998 0003F8F8 48 27 35 D9 */ bl AllocatePhazonSuitMaskTexture__13CCubeRendererFv -lbl_8004299C: -/* 8004299C 0003F8FC BB 61 01 1C */ lmw r27, 0x11c(r1) -/* 800429A0 0003F900 80 01 01 34 */ lwz r0, 0x134(r1) -/* 800429A4 0003F904 7C 08 03 A6 */ mtlr r0 -/* 800429A8 0003F908 38 21 01 30 */ addi r1, r1, 0x130 -/* 800429AC 0003F90C 4E 80 00 20 */ blr - -.global AddToRenderer__10CPlayerGunCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__10CPlayerGunCFRC14CFrustumPlanesRC13CStateManager: -/* 800429B0 0003F910 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800429B4 0003F914 7C 08 02 A6 */ mflr r0 -/* 800429B8 0003F918 90 01 00 14 */ stw r0, 0x14(r1) -/* 800429BC 0003F91C 80 63 07 2C */ lwz r3, 0x72c(r3) -/* 800429C0 0003F920 38 63 00 10 */ addi r3, r3, 0x10 -/* 800429C4 0003F924 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 800429C8 0003F928 28 00 00 00 */ cmplwi r0, 0 -/* 800429CC 0003F92C 41 82 00 08 */ beq lbl_800429D4 -/* 800429D0 0003F930 48 0D 32 B1 */ bl RenderParticles__10CModelDataCFRC14CFrustumPlanes -lbl_800429D4: -/* 800429D4 0003F934 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800429D8 0003F938 7C 08 03 A6 */ mtlr r0 -/* 800429DC 0003F93C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800429E0 0003F940 4E 80 00 20 */ blr - -.global __dt__10CPlayerGunFv -__dt__10CPlayerGunFv: -/* 800429E4 0003F944 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800429E8 0003F948 7C 08 02 A6 */ mflr r0 -/* 800429EC 0003F94C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800429F0 0003F950 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800429F4 0003F954 7C 9F 23 78 */ mr r31, r4 -/* 800429F8 0003F958 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800429FC 0003F95C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80042A00 0003F960 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80042A04 0003F964 93 81 00 20 */ stw r28, 0x20(r1) -/* 80042A08 0003F968 41 82 03 D8 */ beq lbl_80042DE0 -/* 80042A0C 0003F96C 34 1E 08 2C */ addic. r0, r30, 0x82c -/* 80042A10 0003F970 41 82 00 10 */ beq lbl_80042A20 -/* 80042A14 0003F974 80 7E 08 2C */ lwz r3, 0x82c(r30) -/* 80042A18 0003F978 38 80 00 01 */ li r4, 1 -/* 80042A1C 0003F97C 48 0C F1 39 */ bl __dt__12CWorldShadowFv -lbl_80042A20: -/* 80042A20 0003F980 34 1E 08 00 */ addic. r0, r30, 0x800 -/* 80042A24 0003F984 41 82 00 60 */ beq lbl_80042A84 -/* 80042A28 0003F988 3B 9E 08 04 */ addi r28, r30, 0x804 -/* 80042A2C 0003F98C 3B A0 00 00 */ li r29, 0 -/* 80042A30 0003F990 48 00 00 40 */ b lbl_80042A70 -lbl_80042A34: -/* 80042A34 0003F994 28 1C 00 00 */ cmplwi r28, 0 -/* 80042A38 0003F998 41 82 00 30 */ beq lbl_80042A68 -/* 80042A3C 0003F99C 88 1C 00 00 */ lbz r0, 0(r28) -/* 80042A40 0003F9A0 28 00 00 00 */ cmplwi r0, 0 -/* 80042A44 0003F9A4 41 82 00 24 */ beq lbl_80042A68 -/* 80042A48 0003F9A8 80 7C 00 04 */ lwz r3, 4(r28) -/* 80042A4C 0003F9AC 28 03 00 00 */ cmplwi r3, 0 -/* 80042A50 0003F9B0 41 82 00 18 */ beq lbl_80042A68 -/* 80042A54 0003F9B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80042A58 0003F9B8 38 80 00 01 */ li r4, 1 -/* 80042A5C 0003F9BC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80042A60 0003F9C0 7D 89 03 A6 */ mtctr r12 -/* 80042A64 0003F9C4 4E 80 04 21 */ bctrl -lbl_80042A68: -/* 80042A68 0003F9C8 3B 9C 00 08 */ addi r28, r28, 8 -/* 80042A6C 0003F9CC 3B BD 00 01 */ addi r29, r29, 1 -lbl_80042A70: -/* 80042A70 0003F9D0 80 1E 08 00 */ lwz r0, 0x800(r30) -/* 80042A74 0003F9D4 7C 1D 00 00 */ cmpw r29, r0 -/* 80042A78 0003F9D8 41 80 FF BC */ blt lbl_80042A34 -/* 80042A7C 0003F9DC 38 00 00 00 */ li r0, 0 -/* 80042A80 0003F9E0 90 1E 08 00 */ stw r0, 0x800(r30) -lbl_80042A84: -/* 80042A84 0003F9E4 34 1E 07 C0 */ addic. r0, r30, 0x7c0 -/* 80042A88 0003F9E8 41 82 00 44 */ beq lbl_80042ACC -/* 80042A8C 0003F9EC 3B 9E 07 C4 */ addi r28, r30, 0x7c4 -/* 80042A90 0003F9F0 3B A0 00 00 */ li r29, 0 -/* 80042A94 0003F9F4 48 00 00 24 */ b lbl_80042AB8 -lbl_80042A98: -/* 80042A98 0003F9F8 28 1C 00 00 */ cmplwi r28, 0 -/* 80042A9C 0003F9FC 41 82 00 14 */ beq lbl_80042AB0 -/* 80042AA0 0003FA00 41 82 00 10 */ beq lbl_80042AB0 -/* 80042AA4 0003FA04 7F 83 E3 78 */ mr r3, r28 -/* 80042AA8 0003FA08 38 80 00 00 */ li r4, 0 -/* 80042AAC 0003FA0C 48 2F E3 95 */ bl __dt__6CTokenFv -lbl_80042AB0: -/* 80042AB0 0003FA10 3B 9C 00 0C */ addi r28, r28, 0xc -/* 80042AB4 0003FA14 3B BD 00 01 */ addi r29, r29, 1 -lbl_80042AB8: -/* 80042AB8 0003FA18 80 1E 07 C0 */ lwz r0, 0x7c0(r30) -/* 80042ABC 0003FA1C 7C 1D 00 00 */ cmpw r29, r0 -/* 80042AC0 0003FA20 41 80 FF D8 */ blt lbl_80042A98 -/* 80042AC4 0003FA24 38 00 00 00 */ li r0, 0 -/* 80042AC8 0003FA28 90 1E 07 C0 */ stw r0, 0x7c0(r30) -lbl_80042ACC: -/* 80042ACC 0003FA2C 38 7E 07 84 */ addi r3, r30, 0x784 -/* 80042AD0 0003FA30 38 80 FF FF */ li r4, -1 -/* 80042AD4 0003FA34 48 00 06 41 */ bl sub_80043114 -/* 80042AD8 0003FA38 34 1E 07 7C */ addic. r0, r30, 0x77c -/* 80042ADC 0003FA3C 41 82 00 30 */ beq lbl_80042B0C -/* 80042AE0 0003FA40 88 1E 07 7C */ lbz r0, 0x77c(r30) -/* 80042AE4 0003FA44 28 00 00 00 */ cmplwi r0, 0 -/* 80042AE8 0003FA48 41 82 00 24 */ beq lbl_80042B0C -/* 80042AEC 0003FA4C 80 7E 07 80 */ lwz r3, 0x780(r30) -/* 80042AF0 0003FA50 28 03 00 00 */ cmplwi r3, 0 -/* 80042AF4 0003FA54 41 82 00 18 */ beq lbl_80042B0C -/* 80042AF8 0003FA58 81 83 00 00 */ lwz r12, 0(r3) -/* 80042AFC 0003FA5C 38 80 00 01 */ li r4, 1 -/* 80042B00 0003FA60 81 8C 00 08 */ lwz r12, 8(r12) -/* 80042B04 0003FA64 7D 89 03 A6 */ mtctr r12 -/* 80042B08 0003FA68 4E 80 04 21 */ bctrl -lbl_80042B0C: -/* 80042B0C 0003FA6C 34 1E 07 74 */ addic. r0, r30, 0x774 -/* 80042B10 0003FA70 41 82 00 30 */ beq lbl_80042B40 -/* 80042B14 0003FA74 88 1E 07 74 */ lbz r0, 0x774(r30) -/* 80042B18 0003FA78 28 00 00 00 */ cmplwi r0, 0 -/* 80042B1C 0003FA7C 41 82 00 24 */ beq lbl_80042B40 -/* 80042B20 0003FA80 80 7E 07 78 */ lwz r3, 0x778(r30) -/* 80042B24 0003FA84 28 03 00 00 */ cmplwi r3, 0 -/* 80042B28 0003FA88 41 82 00 18 */ beq lbl_80042B40 -/* 80042B2C 0003FA8C 81 83 00 00 */ lwz r12, 0(r3) -/* 80042B30 0003FA90 38 80 00 01 */ li r4, 1 -/* 80042B34 0003FA94 81 8C 00 08 */ lwz r12, 8(r12) -/* 80042B38 0003FA98 7D 89 03 A6 */ mtctr r12 -/* 80042B3C 0003FA9C 4E 80 04 21 */ bctrl -lbl_80042B40: -/* 80042B40 0003FAA0 34 1E 07 60 */ addic. r0, r30, 0x760 -/* 80042B44 0003FAA4 41 82 00 58 */ beq lbl_80042B9C -/* 80042B48 0003FAA8 80 BE 07 60 */ lwz r5, 0x760(r30) -/* 80042B4C 0003FAAC 38 60 00 00 */ li r3, 0 -/* 80042B50 0003FAB0 2C 05 00 00 */ cmpwi r5, 0 -/* 80042B54 0003FAB4 40 81 00 40 */ ble lbl_80042B94 -/* 80042B58 0003FAB8 2C 05 00 08 */ cmpwi r5, 8 -/* 80042B5C 0003FABC 38 85 FF F8 */ addi r4, r5, -8 -/* 80042B60 0003FAC0 40 81 00 20 */ ble lbl_80042B80 -/* 80042B64 0003FAC4 38 04 00 07 */ addi r0, r4, 7 -/* 80042B68 0003FAC8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80042B6C 0003FACC 7C 09 03 A6 */ mtctr r0 -/* 80042B70 0003FAD0 2C 04 00 00 */ cmpwi r4, 0 -/* 80042B74 0003FAD4 40 81 00 0C */ ble lbl_80042B80 -lbl_80042B78: -/* 80042B78 0003FAD8 38 63 00 08 */ addi r3, r3, 8 -/* 80042B7C 0003FADC 42 00 FF FC */ bdnz lbl_80042B78 -lbl_80042B80: -/* 80042B80 0003FAE0 7C 03 28 50 */ subf r0, r3, r5 -/* 80042B84 0003FAE4 7C 09 03 A6 */ mtctr r0 -/* 80042B88 0003FAE8 7C 03 28 00 */ cmpw r3, r5 -/* 80042B8C 0003FAEC 40 80 00 08 */ bge lbl_80042B94 -lbl_80042B90: -/* 80042B90 0003FAF0 42 00 00 00 */ bdnz lbl_80042B90 -lbl_80042B94: -/* 80042B94 0003FAF4 38 00 00 00 */ li r0, 0 -/* 80042B98 0003FAF8 90 1E 07 60 */ stw r0, 0x760(r30) -lbl_80042B9C: -/* 80042B9C 0003FAFC 34 1E 07 5C */ addic. r0, r30, 0x75c -/* 80042BA0 0003FB00 41 82 00 24 */ beq lbl_80042BC4 -/* 80042BA4 0003FB04 80 7E 07 5C */ lwz r3, 0x75c(r30) -/* 80042BA8 0003FB08 28 03 00 00 */ cmplwi r3, 0 -/* 80042BAC 0003FB0C 41 82 00 18 */ beq lbl_80042BC4 -/* 80042BB0 0003FB10 81 83 00 00 */ lwz r12, 0(r3) -/* 80042BB4 0003FB14 38 80 00 01 */ li r4, 1 -/* 80042BB8 0003FB18 81 8C 00 08 */ lwz r12, 8(r12) -/* 80042BBC 0003FB1C 7D 89 03 A6 */ mtctr r12 -/* 80042BC0 0003FB20 4E 80 04 21 */ bctrl -lbl_80042BC4: -/* 80042BC4 0003FB24 34 1E 07 58 */ addic. r0, r30, 0x758 -/* 80042BC8 0003FB28 41 82 00 24 */ beq lbl_80042BEC -/* 80042BCC 0003FB2C 80 7E 07 58 */ lwz r3, 0x758(r30) -/* 80042BD0 0003FB30 28 03 00 00 */ cmplwi r3, 0 -/* 80042BD4 0003FB34 41 82 00 18 */ beq lbl_80042BEC -/* 80042BD8 0003FB38 81 83 00 00 */ lwz r12, 0(r3) -/* 80042BDC 0003FB3C 38 80 00 01 */ li r4, 1 -/* 80042BE0 0003FB40 81 8C 00 08 */ lwz r12, 8(r12) -/* 80042BE4 0003FB44 7D 89 03 A6 */ mtctr r12 -/* 80042BE8 0003FB48 4E 80 04 21 */ bctrl -lbl_80042BEC: -/* 80042BEC 0003FB4C 34 1E 07 54 */ addic. r0, r30, 0x754 -/* 80042BF0 0003FB50 41 82 00 24 */ beq lbl_80042C14 -/* 80042BF4 0003FB54 80 7E 07 54 */ lwz r3, 0x754(r30) -/* 80042BF8 0003FB58 28 03 00 00 */ cmplwi r3, 0 -/* 80042BFC 0003FB5C 41 82 00 18 */ beq lbl_80042C14 -/* 80042C00 0003FB60 81 83 00 00 */ lwz r12, 0(r3) -/* 80042C04 0003FB64 38 80 00 01 */ li r4, 1 -/* 80042C08 0003FB68 81 8C 00 08 */ lwz r12, 8(r12) -/* 80042C0C 0003FB6C 7D 89 03 A6 */ mtctr r12 -/* 80042C10 0003FB70 4E 80 04 21 */ bctrl -lbl_80042C14: -/* 80042C14 0003FB74 34 1E 07 50 */ addic. r0, r30, 0x750 -/* 80042C18 0003FB78 41 82 00 24 */ beq lbl_80042C3C -/* 80042C1C 0003FB7C 80 7E 07 50 */ lwz r3, 0x750(r30) -/* 80042C20 0003FB80 28 03 00 00 */ cmplwi r3, 0 -/* 80042C24 0003FB84 41 82 00 18 */ beq lbl_80042C3C -/* 80042C28 0003FB88 81 83 00 00 */ lwz r12, 0(r3) -/* 80042C2C 0003FB8C 38 80 00 01 */ li r4, 1 -/* 80042C30 0003FB90 81 8C 00 08 */ lwz r12, 8(r12) -/* 80042C34 0003FB94 7D 89 03 A6 */ mtctr r12 -/* 80042C38 0003FB98 4E 80 04 21 */ bctrl -lbl_80042C3C: -/* 80042C3C 0003FB9C 34 1E 07 4C */ addic. r0, r30, 0x74c -/* 80042C40 0003FBA0 41 82 00 24 */ beq lbl_80042C64 -/* 80042C44 0003FBA4 80 7E 07 4C */ lwz r3, 0x74c(r30) -/* 80042C48 0003FBA8 28 03 00 00 */ cmplwi r3, 0 -/* 80042C4C 0003FBAC 41 82 00 18 */ beq lbl_80042C64 -/* 80042C50 0003FBB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80042C54 0003FBB4 38 80 00 01 */ li r4, 1 -/* 80042C58 0003FBB8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80042C5C 0003FBBC 7D 89 03 A6 */ mtctr r12 -/* 80042C60 0003FBC0 4E 80 04 21 */ bctrl -lbl_80042C64: -/* 80042C64 0003FBC4 38 7E 07 48 */ addi r3, r30, 0x748 -/* 80042C68 0003FBC8 38 80 FF FF */ li r4, -1 -/* 80042C6C 0003FBCC 48 00 03 0D */ bl "__dt__Q24rstl34single_ptr<20CRainSplashGenerator>" -/* 80042C70 0003FBD0 38 7E 07 44 */ addi r3, r30, 0x744 -/* 80042C74 0003FBD4 38 80 FF FF */ li r4, -1 -/* 80042C78 0003FBD8 48 00 01 8D */ bl "__dt__Q24rstl24single_ptr<10CAuxWeapon>" -/* 80042C7C 0003FBDC 34 1E 07 40 */ addic. r0, r30, 0x740 -/* 80042C80 0003FBE0 41 82 00 10 */ beq lbl_80042C90 -/* 80042C84 0003FBE4 80 7E 07 40 */ lwz r3, 0x740(r30) -/* 80042C88 0003FBE8 38 80 00 01 */ li r4, 1 -/* 80042C8C 0003FBEC 48 0D CC D9 */ bl __dt__11CGrappleArmFv -lbl_80042C90: -/* 80042C90 0003FBF0 34 1E 07 3C */ addic. r0, r30, 0x73c -/* 80042C94 0003FBF4 41 82 00 10 */ beq lbl_80042CA4 -/* 80042C98 0003FBF8 80 7E 07 3C */ lwz r3, 0x73c(r30) -/* 80042C9C 0003FBFC 38 80 00 01 */ li r4, 1 -/* 80042CA0 0003FC00 48 19 69 39 */ bl __dt__10CGunMotionFv -lbl_80042CA4: -/* 80042CA4 0003FC04 38 7E 06 E0 */ addi r3, r30, 0x6e0 -/* 80042CA8 0003FC08 38 80 FF FF */ li r4, -1 -/* 80042CAC 0003FC0C 48 0D 3D A1 */ bl __dt__10CModelDataFv -/* 80042CB0 0003FC10 34 1E 05 50 */ addic. r0, r30, 0x550 -/* 80042CB4 0003FC14 41 82 00 BC */ beq lbl_80042D70 -/* 80042CB8 0003FC18 34 1E 06 00 */ addic. r0, r30, 0x600 -/* 80042CBC 0003FC1C 41 82 00 58 */ beq lbl_80042D14 -/* 80042CC0 0003FC20 80 BE 06 00 */ lwz r5, 0x600(r30) -/* 80042CC4 0003FC24 38 60 00 00 */ li r3, 0 -/* 80042CC8 0003FC28 2C 05 00 00 */ cmpwi r5, 0 -/* 80042CCC 0003FC2C 40 81 00 40 */ ble lbl_80042D0C -/* 80042CD0 0003FC30 2C 05 00 08 */ cmpwi r5, 8 -/* 80042CD4 0003FC34 38 85 FF F8 */ addi r4, r5, -8 -/* 80042CD8 0003FC38 40 81 00 20 */ ble lbl_80042CF8 -/* 80042CDC 0003FC3C 38 04 00 07 */ addi r0, r4, 7 -/* 80042CE0 0003FC40 54 00 E8 FE */ srwi r0, r0, 3 -/* 80042CE4 0003FC44 7C 09 03 A6 */ mtctr r0 -/* 80042CE8 0003FC48 2C 04 00 00 */ cmpwi r4, 0 -/* 80042CEC 0003FC4C 40 81 00 0C */ ble lbl_80042CF8 -lbl_80042CF0: -/* 80042CF0 0003FC50 38 63 00 08 */ addi r3, r3, 8 -/* 80042CF4 0003FC54 42 00 FF FC */ bdnz lbl_80042CF0 -lbl_80042CF8: -/* 80042CF8 0003FC58 7C 03 28 50 */ subf r0, r3, r5 -/* 80042CFC 0003FC5C 7C 09 03 A6 */ mtctr r0 -/* 80042D00 0003FC60 7C 03 28 00 */ cmpw r3, r5 -/* 80042D04 0003FC64 40 80 00 08 */ bge lbl_80042D0C -lbl_80042D08: -/* 80042D08 0003FC68 42 00 00 00 */ bdnz lbl_80042D08 -lbl_80042D0C: -/* 80042D0C 0003FC6C 38 00 00 00 */ li r0, 0 -/* 80042D10 0003FC70 90 1E 06 00 */ stw r0, 0x600(r30) -lbl_80042D14: -/* 80042D14 0003FC74 34 1E 05 CC */ addic. r0, r30, 0x5cc -/* 80042D18 0003FC78 41 82 00 58 */ beq lbl_80042D70 -/* 80042D1C 0003FC7C 80 BE 05 CC */ lwz r5, 0x5cc(r30) -/* 80042D20 0003FC80 38 60 00 00 */ li r3, 0 -/* 80042D24 0003FC84 2C 05 00 00 */ cmpwi r5, 0 -/* 80042D28 0003FC88 40 81 00 40 */ ble lbl_80042D68 -/* 80042D2C 0003FC8C 2C 05 00 08 */ cmpwi r5, 8 -/* 80042D30 0003FC90 38 85 FF F8 */ addi r4, r5, -8 -/* 80042D34 0003FC94 40 81 00 20 */ ble lbl_80042D54 -/* 80042D38 0003FC98 38 04 00 07 */ addi r0, r4, 7 -/* 80042D3C 0003FC9C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80042D40 0003FCA0 7C 09 03 A6 */ mtctr r0 -/* 80042D44 0003FCA4 2C 04 00 00 */ cmpwi r4, 0 -/* 80042D48 0003FCA8 40 81 00 0C */ ble lbl_80042D54 -lbl_80042D4C: -/* 80042D4C 0003FCAC 38 63 00 08 */ addi r3, r3, 8 -/* 80042D50 0003FCB0 42 00 FF FC */ bdnz lbl_80042D4C -lbl_80042D54: -/* 80042D54 0003FCB4 7C 03 28 50 */ subf r0, r3, r5 -/* 80042D58 0003FCB8 7C 09 03 A6 */ mtctr r0 -/* 80042D5C 0003FCBC 7C 03 28 00 */ cmpw r3, r5 -/* 80042D60 0003FCC0 40 80 00 08 */ bge lbl_80042D68 -lbl_80042D64: -/* 80042D64 0003FCC4 42 00 00 00 */ bdnz lbl_80042D64 -lbl_80042D68: -/* 80042D68 0003FCC8 38 00 00 00 */ li r0, 0 -/* 80042D6C 0003FCCC 90 1E 05 CC */ stw r0, 0x5cc(r30) -lbl_80042D70: -/* 80042D70 0003FCD0 34 1E 05 40 */ addic. r0, r30, 0x540 -/* 80042D74 0003FCD4 41 82 00 50 */ beq lbl_80042DC4 -/* 80042D78 0003FCD8 80 1E 05 44 */ lwz r0, 0x544(r30) -/* 80042D7C 0003FCDC 83 9E 05 4C */ lwz r28, 0x54c(r30) -/* 80042D80 0003FCE0 54 00 18 38 */ slwi r0, r0, 3 -/* 80042D84 0003FCE4 7F BC 02 14 */ add r29, r28, r0 -/* 80042D88 0003FCE8 93 81 00 0C */ stw r28, 0xc(r1) -/* 80042D8C 0003FCEC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80042D90 0003FCF0 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80042D94 0003FCF4 93 81 00 08 */ stw r28, 8(r1) -/* 80042D98 0003FCF8 48 00 00 14 */ b lbl_80042DAC -lbl_80042D9C: -/* 80042D9C 0003FCFC 7F 83 E3 78 */ mr r3, r28 -/* 80042DA0 0003FD00 38 80 FF FF */ li r4, -1 -/* 80042DA4 0003FD04 48 2F E0 9D */ bl __dt__6CTokenFv -/* 80042DA8 0003FD08 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80042DAC: -/* 80042DAC 0003FD0C 7C 1C E8 40 */ cmplw r28, r29 -/* 80042DB0 0003FD10 40 82 FF EC */ bne lbl_80042D9C -/* 80042DB4 0003FD14 80 7E 05 4C */ lwz r3, 0x54c(r30) -/* 80042DB8 0003FD18 28 03 00 00 */ cmplwi r3, 0 -/* 80042DBC 0003FD1C 41 82 00 08 */ beq lbl_80042DC4 -/* 80042DC0 0003FD20 48 2D 2B 71 */ bl Free__7CMemoryFPCv -lbl_80042DC4: -/* 80042DC4 0003FD24 7F C3 F3 78 */ mr r3, r30 -/* 80042DC8 0003FD28 38 80 FF FF */ li r4, -1 -/* 80042DCC 0003FD2C 48 0C 23 09 */ bl __dt__12CActorLightsFv -/* 80042DD0 0003FD30 7F E0 07 35 */ extsh. r0, r31 -/* 80042DD4 0003FD34 40 81 00 0C */ ble lbl_80042DE0 -/* 80042DD8 0003FD38 7F C3 F3 78 */ mr r3, r30 -/* 80042DDC 0003FD3C 48 00 0D 71 */ bl "__dl__24TOneStatic<10CPlayerGun>FPv" -lbl_80042DE0: -/* 80042DE0 0003FD40 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80042DE4 0003FD44 7F C3 F3 78 */ mr r3, r30 -/* 80042DE8 0003FD48 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80042DEC 0003FD4C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80042DF0 0003FD50 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80042DF4 0003FD54 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80042DF8 0003FD58 7C 08 03 A6 */ mtlr r0 -/* 80042DFC 0003FD5C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80042E00 0003FD60 4E 80 00 20 */ blr - -.global "__dt__Q24rstl24single_ptr<10CAuxWeapon>" -"__dt__Q24rstl24single_ptr<10CAuxWeapon>": -/* 80042E04 0003FD64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80042E08 0003FD68 7C 08 02 A6 */ mflr r0 -/* 80042E0C 0003FD6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80042E10 0003FD70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80042E14 0003FD74 7C 9F 23 78 */ mr r31, r4 -/* 80042E18 0003FD78 93 C1 00 08 */ stw r30, 8(r1) -/* 80042E1C 0003FD7C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80042E20 0003FD80 41 82 00 20 */ beq lbl_80042E40 -/* 80042E24 0003FD84 80 7E 00 00 */ lwz r3, 0(r30) -/* 80042E28 0003FD88 38 80 00 01 */ li r4, 1 -/* 80042E2C 0003FD8C 48 00 00 31 */ bl __dt__10CAuxWeaponFv -/* 80042E30 0003FD90 7F E0 07 35 */ extsh. r0, r31 -/* 80042E34 0003FD94 40 81 00 0C */ ble lbl_80042E40 -/* 80042E38 0003FD98 7F C3 F3 78 */ mr r3, r30 -/* 80042E3C 0003FD9C 48 2D 2A F5 */ bl Free__7CMemoryFPCv -lbl_80042E40: -/* 80042E40 0003FDA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80042E44 0003FDA4 7F C3 F3 78 */ mr r3, r30 -/* 80042E48 0003FDA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80042E4C 0003FDAC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80042E50 0003FDB0 7C 08 03 A6 */ mtlr r0 -/* 80042E54 0003FDB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80042E58 0003FDB8 4E 80 00 20 */ blr - -.global __dt__10CAuxWeaponFv -__dt__10CAuxWeaponFv: -/* 80042E5C 0003FDBC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80042E60 0003FDC0 7C 08 02 A6 */ mflr r0 -/* 80042E64 0003FDC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80042E68 0003FDC8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80042E6C 0003FDCC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80042E70 0003FDD0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80042E74 0003FDD4 7C 9D 23 78 */ mr r29, r4 -/* 80042E78 0003FDD8 93 81 00 10 */ stw r28, 0x10(r1) -/* 80042E7C 0003FDDC 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80042E80 0003FDE0 41 82 00 D4 */ beq lbl_80042F54 -/* 80042E84 0003FDE4 34 1C 00 28 */ addic. r0, r28, 0x28 -/* 80042E88 0003FDE8 41 82 00 44 */ beq lbl_80042ECC -/* 80042E8C 0003FDEC 3B DC 00 2C */ addi r30, r28, 0x2c -/* 80042E90 0003FDF0 3B E0 00 00 */ li r31, 0 -/* 80042E94 0003FDF4 48 00 00 24 */ b lbl_80042EB8 -lbl_80042E98: -/* 80042E98 0003FDF8 28 1E 00 00 */ cmplwi r30, 0 -/* 80042E9C 0003FDFC 41 82 00 14 */ beq lbl_80042EB0 -/* 80042EA0 0003FE00 41 82 00 10 */ beq lbl_80042EB0 -/* 80042EA4 0003FE04 7F C3 F3 78 */ mr r3, r30 -/* 80042EA8 0003FE08 38 80 00 00 */ li r4, 0 -/* 80042EAC 0003FE0C 48 2F DF 95 */ bl __dt__6CTokenFv -lbl_80042EB0: -/* 80042EB0 0003FE10 3B DE 00 0C */ addi r30, r30, 0xc -/* 80042EB4 0003FE14 3B FF 00 01 */ addi r31, r31, 1 -lbl_80042EB8: -/* 80042EB8 0003FE18 80 1C 00 28 */ lwz r0, 0x28(r28) -/* 80042EBC 0003FE1C 7C 1F 00 00 */ cmpw r31, r0 -/* 80042EC0 0003FE20 41 80 FF D8 */ blt lbl_80042E98 -/* 80042EC4 0003FE24 38 00 00 00 */ li r0, 0 -/* 80042EC8 0003FE28 90 1C 00 28 */ stw r0, 0x28(r28) -lbl_80042ECC: -/* 80042ECC 0003FE2C 34 1C 00 24 */ addic. r0, r28, 0x24 -/* 80042ED0 0003FE30 41 82 00 24 */ beq lbl_80042EF4 -/* 80042ED4 0003FE34 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 80042ED8 0003FE38 28 03 00 00 */ cmplwi r3, 0 -/* 80042EDC 0003FE3C 41 82 00 18 */ beq lbl_80042EF4 -/* 80042EE0 0003FE40 81 83 00 00 */ lwz r12, 0(r3) -/* 80042EE4 0003FE44 38 80 00 01 */ li r4, 1 -/* 80042EE8 0003FE48 81 8C 00 08 */ lwz r12, 8(r12) -/* 80042EEC 0003FE4C 7D 89 03 A6 */ mtctr r12 -/* 80042EF0 0003FE50 4E 80 04 21 */ bctrl -lbl_80042EF4: -/* 80042EF4 0003FE54 34 1C 00 18 */ addic. r0, r28, 0x18 -/* 80042EF8 0003FE58 41 82 00 18 */ beq lbl_80042F10 -/* 80042EFC 0003FE5C 34 1C 00 18 */ addic. r0, r28, 0x18 -/* 80042F00 0003FE60 41 82 00 10 */ beq lbl_80042F10 -/* 80042F04 0003FE64 38 7C 00 18 */ addi r3, r28, 0x18 -/* 80042F08 0003FE68 38 80 00 00 */ li r4, 0 -/* 80042F0C 0003FE6C 48 2F DF 35 */ bl __dt__6CTokenFv -lbl_80042F10: -/* 80042F10 0003FE70 34 1C 00 0C */ addic. r0, r28, 0xc -/* 80042F14 0003FE74 41 82 00 18 */ beq lbl_80042F2C -/* 80042F18 0003FE78 34 1C 00 0C */ addic. r0, r28, 0xc -/* 80042F1C 0003FE7C 41 82 00 10 */ beq lbl_80042F2C -/* 80042F20 0003FE80 38 7C 00 0C */ addi r3, r28, 0xc -/* 80042F24 0003FE84 38 80 00 00 */ li r4, 0 -/* 80042F28 0003FE88 48 2F DF 19 */ bl __dt__6CTokenFv -lbl_80042F2C: -/* 80042F2C 0003FE8C 28 1C 00 00 */ cmplwi r28, 0 -/* 80042F30 0003FE90 41 82 00 14 */ beq lbl_80042F44 -/* 80042F34 0003FE94 41 82 00 10 */ beq lbl_80042F44 -/* 80042F38 0003FE98 7F 83 E3 78 */ mr r3, r28 -/* 80042F3C 0003FE9C 38 80 00 00 */ li r4, 0 -/* 80042F40 0003FEA0 48 2F DF 01 */ bl __dt__6CTokenFv -lbl_80042F44: -/* 80042F44 0003FEA4 7F A0 07 35 */ extsh. r0, r29 -/* 80042F48 0003FEA8 40 81 00 0C */ ble lbl_80042F54 -/* 80042F4C 0003FEAC 7F 83 E3 78 */ mr r3, r28 -/* 80042F50 0003FEB0 48 2D 29 E1 */ bl Free__7CMemoryFPCv -lbl_80042F54: -/* 80042F54 0003FEB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80042F58 0003FEB8 7F 83 E3 78 */ mr r3, r28 -/* 80042F5C 0003FEBC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80042F60 0003FEC0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80042F64 0003FEC4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80042F68 0003FEC8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80042F6C 0003FECC 7C 08 03 A6 */ mtlr r0 -/* 80042F70 0003FED0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80042F74 0003FED4 4E 80 00 20 */ blr - -.global "__dt__Q24rstl34single_ptr<20CRainSplashGenerator>" -"__dt__Q24rstl34single_ptr<20CRainSplashGenerator>": -/* 80042F78 0003FED8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80042F7C 0003FEDC 7C 08 02 A6 */ mflr r0 -/* 80042F80 0003FEE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80042F84 0003FEE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80042F88 0003FEE8 7C 9F 23 78 */ mr r31, r4 -/* 80042F8C 0003FEEC 93 C1 00 08 */ stw r30, 8(r1) -/* 80042F90 0003FEF0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80042F94 0003FEF4 41 82 00 20 */ beq lbl_80042FB4 -/* 80042F98 0003FEF8 80 7E 00 00 */ lwz r3, 0(r30) -/* 80042F9C 0003FEFC 38 80 00 01 */ li r4, 1 -/* 80042FA0 0003FF00 48 00 00 31 */ bl __dt__20CRainSplashGeneratorFv -/* 80042FA4 0003FF04 7F E0 07 35 */ extsh. r0, r31 -/* 80042FA8 0003FF08 40 81 00 0C */ ble lbl_80042FB4 -/* 80042FAC 0003FF0C 7F C3 F3 78 */ mr r3, r30 -/* 80042FB0 0003FF10 48 2D 29 81 */ bl Free__7CMemoryFPCv -lbl_80042FB4: -/* 80042FB4 0003FF14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80042FB8 0003FF18 7F C3 F3 78 */ mr r3, r30 -/* 80042FBC 0003FF1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80042FC0 0003FF20 83 C1 00 08 */ lwz r30, 8(r1) -/* 80042FC4 0003FF24 7C 08 03 A6 */ mtlr r0 -/* 80042FC8 0003FF28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80042FCC 0003FF2C 4E 80 00 20 */ blr - -.global __dt__20CRainSplashGeneratorFv -__dt__20CRainSplashGeneratorFv: -/* 80042FD0 0003FF30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80042FD4 0003FF34 7C 08 02 A6 */ mflr r0 -/* 80042FD8 0003FF38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80042FDC 0003FF3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80042FE0 0003FF40 7C 9F 23 78 */ mr r31, r4 -/* 80042FE4 0003FF44 93 C1 00 08 */ stw r30, 8(r1) -/* 80042FE8 0003FF48 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80042FEC 0003FF4C 41 82 00 1C */ beq lbl_80043008 -/* 80042FF0 0003FF50 38 80 FF FF */ li r4, -1 -/* 80042FF4 0003FF54 48 00 00 31 */ bl sub_80043024 -/* 80042FF8 0003FF58 7F E0 07 35 */ extsh. r0, r31 -/* 80042FFC 0003FF5C 40 81 00 0C */ ble lbl_80043008 -/* 80043000 0003FF60 7F C3 F3 78 */ mr r3, r30 -/* 80043004 0003FF64 48 2D 29 2D */ bl Free__7CMemoryFPCv -lbl_80043008: -/* 80043008 0003FF68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004300C 0003FF6C 7F C3 F3 78 */ mr r3, r30 -/* 80043010 0003FF70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80043014 0003FF74 83 C1 00 08 */ lwz r30, 8(r1) -/* 80043018 0003FF78 7C 08 03 A6 */ mtlr r0 -/* 8004301C 0003FF7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80043020 0003FF80 4E 80 00 20 */ blr - -.global sub_80043024 -sub_80043024: -/* 80043024 0003FF84 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80043028 0003FF88 7C 08 02 A6 */ mflr r0 -/* 8004302C 0003FF8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80043030 0003FF90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80043034 0003FF94 7C 9F 23 78 */ mr r31, r4 -/* 80043038 0003FF98 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004303C 0003FF9C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80043040 0003FFA0 41 82 00 B8 */ beq lbl_800430F8 -/* 80043044 0003FFA4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80043048 0003FFA8 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8004304C 0003FFAC 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 80043050 0003FFB0 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80043054 0003FFB4 7C 66 02 14 */ add r3, r6, r0 -/* 80043058 0003FFB8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8004305C 0003FFBC 90 61 00 08 */ stw r3, 8(r1) -/* 80043060 0003FFC0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80043064 0003FFC4 48 00 00 6C */ b lbl_800430D0 -lbl_80043068: -/* 80043068 0003FFC8 28 06 00 00 */ cmplwi r6, 0 -/* 8004306C 0003FFCC 41 82 00 60 */ beq lbl_800430CC -/* 80043070 0003FFD0 41 82 00 5C */ beq lbl_800430CC -/* 80043074 0003FFD4 80 E6 00 00 */ lwz r7, 0(r6) -/* 80043078 0003FFD8 38 80 00 00 */ li r4, 0 -/* 8004307C 0003FFDC 2C 07 00 00 */ cmpwi r7, 0 -/* 80043080 0003FFE0 40 81 00 44 */ ble lbl_800430C4 -/* 80043084 0003FFE4 2C 07 00 08 */ cmpwi r7, 8 -/* 80043088 0003FFE8 38 A7 FF F8 */ addi r5, r7, -8 -/* 8004308C 0003FFEC 40 81 00 20 */ ble lbl_800430AC -/* 80043090 0003FFF0 38 05 00 07 */ addi r0, r5, 7 -/* 80043094 0003FFF4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80043098 0003FFF8 7C 09 03 A6 */ mtctr r0 -/* 8004309C 0003FFFC 2C 05 00 00 */ cmpwi r5, 0 -/* 800430A0 00040000 40 81 00 0C */ ble lbl_800430AC -lbl_800430A4: -/* 800430A4 00040004 38 84 00 08 */ addi r4, r4, 8 -/* 800430A8 00040008 42 00 FF FC */ bdnz lbl_800430A4 -lbl_800430AC: -/* 800430AC 0004000C 7C 04 38 50 */ subf r0, r4, r7 -/* 800430B0 00040010 7C 09 03 A6 */ mtctr r0 -/* 800430B4 00040014 7C 04 38 00 */ cmpw r4, r7 -/* 800430B8 00040018 40 80 00 0C */ bge lbl_800430C4 -lbl_800430BC: -/* 800430BC 0004001C 38 84 00 01 */ addi r4, r4, 1 -/* 800430C0 00040020 42 00 FF FC */ bdnz lbl_800430BC -lbl_800430C4: -/* 800430C4 00040024 38 00 00 00 */ li r0, 0 -/* 800430C8 00040028 90 06 00 00 */ stw r0, 0(r6) -lbl_800430CC: -/* 800430CC 0004002C 38 C6 00 74 */ addi r6, r6, 0x74 -lbl_800430D0: -/* 800430D0 00040030 7C 06 18 40 */ cmplw r6, r3 -/* 800430D4 00040034 40 82 FF 94 */ bne lbl_80043068 -/* 800430D8 00040038 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800430DC 0004003C 28 03 00 00 */ cmplwi r3, 0 -/* 800430E0 00040040 41 82 00 08 */ beq lbl_800430E8 -/* 800430E4 00040044 48 2D 28 4D */ bl Free__7CMemoryFPCv -lbl_800430E8: -/* 800430E8 00040048 7F E0 07 35 */ extsh. r0, r31 -/* 800430EC 0004004C 40 81 00 0C */ ble lbl_800430F8 -/* 800430F0 00040050 7F C3 F3 78 */ mr r3, r30 -/* 800430F4 00040054 48 2D 28 3D */ bl Free__7CMemoryFPCv -lbl_800430F8: -/* 800430F8 00040058 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800430FC 0004005C 7F C3 F3 78 */ mr r3, r30 -/* 80043100 00040060 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80043104 00040064 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80043108 00040068 7C 08 03 A6 */ mtlr r0 -/* 8004310C 0004006C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80043110 00040070 4E 80 00 20 */ blr - -.global sub_80043114 -sub_80043114: -/* 80043114 00040074 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80043118 00040078 7C 08 02 A6 */ mflr r0 -/* 8004311C 0004007C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80043120 00040080 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80043124 00040084 7C 79 1B 79 */ or. r25, r3, r3 -/* 80043128 00040088 7C 9A 23 78 */ mr r26, r4 -/* 8004312C 0004008C 41 82 00 84 */ beq lbl_800431B0 -/* 80043130 00040090 3B C0 00 00 */ li r30, 0 -/* 80043134 00040094 3B 79 00 04 */ addi r27, r25, 4 -/* 80043138 00040098 7F DF F3 78 */ mr r31, r30 -/* 8004313C 0004009C 48 00 00 50 */ b lbl_8004318C -lbl_80043140: -/* 80043140 000400A0 28 1B 00 00 */ cmplwi r27, 0 -/* 80043144 000400A4 41 82 00 40 */ beq lbl_80043184 -/* 80043148 000400A8 3B 9B 00 04 */ addi r28, r27, 4 -/* 8004314C 000400AC 3B A0 00 00 */ li r29, 0 -/* 80043150 000400B0 48 00 00 24 */ b lbl_80043174 -lbl_80043154: -/* 80043154 000400B4 28 1C 00 00 */ cmplwi r28, 0 -/* 80043158 000400B8 41 82 00 14 */ beq lbl_8004316C -/* 8004315C 000400BC 41 82 00 10 */ beq lbl_8004316C -/* 80043160 000400C0 7F 83 E3 78 */ mr r3, r28 -/* 80043164 000400C4 38 80 00 00 */ li r4, 0 -/* 80043168 000400C8 48 2F DC D9 */ bl __dt__6CTokenFv -lbl_8004316C: -/* 8004316C 000400CC 3B 9C 00 0C */ addi r28, r28, 0xc -/* 80043170 000400D0 3B BD 00 01 */ addi r29, r29, 1 -lbl_80043174: -/* 80043174 000400D4 80 1B 00 00 */ lwz r0, 0(r27) -/* 80043178 000400D8 7C 1D 00 00 */ cmpw r29, r0 -/* 8004317C 000400DC 41 80 FF D8 */ blt lbl_80043154 -/* 80043180 000400E0 93 FB 00 00 */ stw r31, 0(r27) -lbl_80043184: -/* 80043184 000400E4 3B 7B 00 1C */ addi r27, r27, 0x1c -/* 80043188 000400E8 3B DE 00 01 */ addi r30, r30, 1 -lbl_8004318C: -/* 8004318C 000400EC 80 19 00 00 */ lwz r0, 0(r25) -/* 80043190 000400F0 7C 1E 00 00 */ cmpw r30, r0 -/* 80043194 000400F4 41 80 FF AC */ blt lbl_80043140 -/* 80043198 000400F8 38 60 00 00 */ li r3, 0 -/* 8004319C 000400FC 7F 40 07 35 */ extsh. r0, r26 -/* 800431A0 00040100 90 79 00 00 */ stw r3, 0(r25) -/* 800431A4 00040104 40 81 00 0C */ ble lbl_800431B0 -/* 800431A8 00040108 7F 23 CB 78 */ mr r3, r25 -/* 800431AC 0004010C 48 2D 27 85 */ bl Free__7CMemoryFPCv -lbl_800431B0: -/* 800431B0 00040110 7F 23 CB 78 */ mr r3, r25 -/* 800431B4 00040114 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 800431B8 00040118 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800431BC 0004011C 7C 08 03 A6 */ mtlr r0 -/* 800431C0 00040120 38 21 00 30 */ addi r1, r1, 0x30 -/* 800431C4 00040124 4E 80 00 20 */ blr - -.global __ct__10CPlayerGunF9TUniqueId -__ct__10CPlayerGunF9TUniqueId: -/* 800431C8 00040128 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 800431CC 0004012C 7C 08 02 A6 */ mflr r0 -/* 800431D0 00040130 3C A0 80 5A */ lis r5, lbl_805A0004@ha -/* 800431D4 00040134 3C C0 80 3E */ lis r6, lbl_803D9D50@ha -/* 800431D8 00040138 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 800431DC 0004013C 39 00 00 00 */ li r8, 0 -/* 800431E0 00040140 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) -/* 800431E4 00040144 39 20 00 00 */ li r9, 0 -/* 800431E8 00040148 BF 61 00 8C */ stmw r27, 0x8c(r1) -/* 800431EC 0004014C 7C 9E 23 78 */ mr r30, r4 -/* 800431F0 00040150 3B A6 9D 50 */ addi r29, r6, lbl_803D9D50@l -/* 800431F4 00040154 7C 7F 1B 78 */ mr r31, r3 -/* 800431F8 00040158 38 C0 00 04 */ li r6, 4 -/* 800431FC 0004015C 39 40 00 00 */ li r10, 0 -/* 80043200 00040160 84 85 66 A0 */ lwzu r4, 0x66a0(r5) -/* 80043204 00040164 80 E5 00 04 */ lwz r7, lbl_805A0004@l(r5) -/* 80043208 00040168 80 05 00 08 */ lwz r0, 8(r5) -/* 8004320C 0004016C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80043210 00040170 90 81 00 58 */ stw r4, 0x58(r1) -/* 80043214 00040174 38 80 00 08 */ li r4, 8 -/* 80043218 00040178 90 E1 00 5C */ stw r7, 0x5c(r1) -/* 8004321C 0004017C 38 E0 00 04 */ li r7, 4 -/* 80043220 00040180 90 01 00 60 */ stw r0, 0x60(r1) -/* 80043224 00040184 48 0C 1F A9 */ bl __ct__12CActorLightsFUi9CVector3fiif -/* 80043228 00040188 38 E0 00 00 */ li r7, 0 -/* 8004322C 0004018C 38 C0 00 01 */ li r6, 1 -/* 80043230 00040190 90 FF 02 E0 */ stw r7, 0x2e0(r31) -/* 80043234 00040194 38 A0 00 03 */ li r5, 3 -/* 80043238 00040198 38 80 00 04 */ li r4, 4 -/* 8004323C 0004019C 38 00 20 00 */ li r0, 0x2000 -/* 80043240 000401A0 90 FF 02 E4 */ stw r7, 0x2e4(r31) -/* 80043244 000401A4 38 7F 03 A4 */ addi r3, r31, 0x3a4 -/* 80043248 000401A8 C0 42 84 6C */ lfs f2, lbl_805AA18C@sda21(r2) -/* 8004324C 000401AC 90 FF 02 E8 */ stw r7, 0x2e8(r31) -/* 80043250 000401B0 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 80043254 000401B4 90 FF 02 EC */ stw r7, 0x2ec(r31) -/* 80043258 000401B8 90 FF 02 F0 */ stw r7, 0x2f0(r31) -/* 8004325C 000401BC 90 FF 02 F4 */ stw r7, 0x2f4(r31) -/* 80043260 000401C0 90 DF 02 F8 */ stw r6, 0x2f8(r31) -/* 80043264 000401C4 90 FF 02 FC */ stw r7, 0x2fc(r31) -/* 80043268 000401C8 90 FF 03 00 */ stw r7, 0x300(r31) -/* 8004326C 000401CC 90 FF 03 04 */ stw r7, 0x304(r31) -/* 80043270 000401D0 90 BF 03 08 */ stw r5, 0x308(r31) -/* 80043274 000401D4 90 FF 03 0C */ stw r7, 0x30c(r31) -/* 80043278 000401D8 90 FF 03 10 */ stw r7, 0x310(r31) -/* 8004327C 000401DC 90 FF 03 14 */ stw r7, 0x314(r31) -/* 80043280 000401E0 90 FF 03 18 */ stw r7, 0x318(r31) -/* 80043284 000401E4 80 BF 03 18 */ lwz r5, 0x318(r31) -/* 80043288 000401E8 90 BF 03 1C */ stw r5, 0x31c(r31) -/* 8004328C 000401EC 80 BF 03 10 */ lwz r5, 0x310(r31) -/* 80043290 000401F0 90 BF 03 20 */ stw r5, 0x320(r31) -/* 80043294 000401F4 90 9F 03 24 */ stw r4, 0x324(r31) -/* 80043298 000401F8 90 1F 03 28 */ stw r0, 0x328(r31) -/* 8004329C 000401FC 90 FF 03 2C */ stw r7, 0x32c(r31) -/* 800432A0 00040200 90 FF 03 30 */ stw r7, 0x330(r31) -/* 800432A4 00040204 90 FF 03 34 */ stw r7, 0x334(r31) -/* 800432A8 00040208 90 FF 03 38 */ stw r7, 0x338(r31) -/* 800432AC 0004020C 90 FF 03 3C */ stw r7, 0x33c(r31) -/* 800432B0 00040210 D0 5F 03 40 */ stfs f2, 0x340(r31) -/* 800432B4 00040214 D0 5F 03 44 */ stfs f2, 0x344(r31) -/* 800432B8 00040218 D0 5F 03 48 */ stfs f2, 0x348(r31) -/* 800432BC 0004021C D0 5F 03 4C */ stfs f2, 0x34c(r31) -/* 800432C0 00040220 D0 5F 03 50 */ stfs f2, 0x350(r31) -/* 800432C4 00040224 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) -/* 800432C8 00040228 C0 24 00 2C */ lfs f1, 0x2c(r4) -/* 800432CC 0004022C D0 3F 03 54 */ stfs f1, 0x354(r31) -/* 800432D0 00040230 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) -/* 800432D4 00040234 C0 24 00 30 */ lfs f1, 0x30(r4) -/* 800432D8 00040238 D0 3F 03 58 */ stfs f1, 0x358(r31) -/* 800432DC 0004023C D0 5F 03 5C */ stfs f2, 0x35c(r31) -/* 800432E0 00040240 D0 5F 03 60 */ stfs f2, 0x360(r31) -/* 800432E4 00040244 D0 5F 03 64 */ stfs f2, 0x364(r31) -/* 800432E8 00040248 D0 5F 03 68 */ stfs f2, 0x368(r31) -/* 800432EC 0004024C D0 1F 03 6C */ stfs f0, 0x36c(r31) -/* 800432F0 00040250 D0 1F 03 70 */ stfs f0, 0x370(r31) -/* 800432F4 00040254 D0 5F 03 74 */ stfs f2, 0x374(r31) -/* 800432F8 00040258 D0 5F 03 78 */ stfs f2, 0x378(r31) -/* 800432FC 0004025C D0 5F 03 7C */ stfs f2, 0x37c(r31) -/* 80043300 00040260 D0 5F 03 80 */ stfs f2, 0x380(r31) -/* 80043304 00040264 D0 5F 03 84 */ stfs f2, 0x384(r31) -/* 80043308 00040268 D0 5F 03 88 */ stfs f2, 0x388(r31) -/* 8004330C 0004026C D0 5F 03 8C */ stfs f2, 0x38c(r31) -/* 80043310 00040270 D0 5F 03 90 */ stfs f2, 0x390(r31) -/* 80043314 00040274 D0 5F 03 94 */ stfs f2, 0x394(r31) -/* 80043318 00040278 D0 5F 03 98 */ stfs f2, 0x398(r31) -/* 8004331C 0004027C D0 5F 03 9C */ stfs f2, 0x39c(r31) -/* 80043320 00040280 D0 5F 03 A0 */ stfs f2, 0x3a0(r31) -/* 80043324 00040284 48 11 18 8D */ bl __ct__7CFidgetFv -/* 80043328 00040288 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8004332C 0004028C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80043330 00040290 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80043334 00040294 C0 05 00 00 */ lfs f0, 0(r5) -/* 80043338 00040298 38 7F 03 E8 */ addi r3, r31, 0x3e8 -/* 8004333C 0004029C 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80043340 000402A0 D0 1F 03 DC */ stfs f0, 0x3dc(r31) -/* 80043344 000402A4 C0 05 00 04 */ lfs f0, 4(r5) -/* 80043348 000402A8 D0 1F 03 E0 */ stfs f0, 0x3e0(r31) -/* 8004334C 000402AC C0 05 00 08 */ lfs f0, 8(r5) -/* 80043350 000402B0 D0 1F 03 E4 */ stfs f0, 0x3e4(r31) -/* 80043354 000402B4 48 2C F8 21 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80043358 000402B8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8004335C 000402BC 38 7F 04 18 */ addi r3, r31, 0x418 -/* 80043360 000402C0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80043364 000402C4 48 2C F8 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80043368 000402C8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8004336C 000402CC 38 7F 04 48 */ addi r3, r31, 0x448 -/* 80043370 000402D0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80043374 000402D4 48 2C F8 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80043378 000402D8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8004337C 000402DC 38 7F 04 78 */ addi r3, r31, 0x478 -/* 80043380 000402E0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80043384 000402E4 48 2C F7 F1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80043388 000402E8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8004338C 000402EC 38 7F 04 A8 */ addi r3, r31, 0x4a8 -/* 80043390 000402F0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80043394 000402F4 48 2C F7 E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80043398 000402F8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8004339C 000402FC 38 7F 04 D8 */ addi r3, r31, 0x4d8 -/* 800433A0 00040300 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 800433A4 00040304 48 2C F7 D1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800433A8 00040308 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800433AC 0004030C 38 7F 05 08 */ addi r3, r31, 0x508 -/* 800433B0 00040310 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 800433B4 00040314 48 2C F7 C1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800433B8 00040318 A0 9E 00 00 */ lhz r4, 0(r30) -/* 800433BC 0004031C 38 00 00 00 */ li r0, 0 -/* 800433C0 00040320 38 61 00 38 */ addi r3, r1, 0x38 -/* 800433C4 00040324 B0 9F 05 38 */ sth r4, 0x538(r31) -/* 800433C8 00040328 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 800433CC 0004032C B0 9F 05 3A */ sth r4, 0x53a(r31) -/* 800433D0 00040330 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 800433D4 00040334 B0 9F 05 3C */ sth r4, 0x53c(r31) -/* 800433D8 00040338 90 1F 05 44 */ stw r0, 0x544(r31) -/* 800433DC 0004033C 90 1F 05 48 */ stw r0, 0x548(r31) -/* 800433E0 00040340 90 1F 05 4C */ stw r0, 0x54c(r31) -/* 800433E4 00040344 C0 2D 87 B8 */ lfs f1, lbl_805A7378@sda21(r13) -/* 800433E8 00040348 C0 4D 87 BC */ lfs f2, lbl_805A737C@sda21(r13) -/* 800433EC 0004034C 48 2D 0E 15 */ bl __ct__9CVector2fFff -/* 800433F0 00040350 C0 2D 87 C0 */ lfs f1, lbl_805A7380@sda21(r13) -/* 800433F4 00040354 7C 65 1B 78 */ mr r5, r3 -/* 800433F8 00040358 38 7F 05 50 */ addi r3, r31, 0x550 -/* 800433FC 0004035C 38 80 00 01 */ li r4, 1 -/* 80043400 00040360 48 0A 6E 51 */ bl __ct__16CPlayerCameraBobFQ216CPlayerCameraBob14ECameraBobTypeRC9CVector2ff -/* 80043404 00040364 38 00 00 01 */ li r0, 1 -/* 80043408 00040368 C0 02 84 6C */ lfs f0, lbl_805AA18C@sda21(r2) -/* 8004340C 0004036C 90 1F 06 58 */ stw r0, 0x658(r31) -/* 80043410 00040370 38 00 00 00 */ li r0, 0 -/* 80043414 00040374 38 7F 06 78 */ addi r3, r31, 0x678 -/* 80043418 00040378 D0 1F 06 5C */ stfs f0, 0x65c(r31) -/* 8004341C 0004037C D0 1F 06 60 */ stfs f0, 0x660(r31) -/* 80043420 00040380 D0 1F 06 64 */ stfs f0, 0x664(r31) -/* 80043424 00040384 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) -/* 80043428 00040388 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 8004342C 0004038C D0 1F 06 68 */ stfs f0, 0x668(r31) -/* 80043430 00040390 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) -/* 80043434 00040394 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 80043438 00040398 D0 1F 06 6C */ stfs f0, 0x66c(r31) -/* 8004343C 0004039C A0 8D 82 48 */ lhz r4, lbl_805A6E08@sda21(r13) -/* 80043440 000403A0 B0 9F 06 70 */ sth r4, 0x670(r31) -/* 80043444 000403A4 90 1F 06 74 */ stw r0, 0x674(r31) -/* 80043448 000403A8 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) -/* 8004344C 000403AC C0 44 00 34 */ lfs f2, 0x34(r4) -/* 80043450 000403B0 C0 24 00 38 */ lfs f1, 0x38(r4) -/* 80043454 000403B4 4B FF AD 3D */ bl __ct__Q210CPlayerGun9CGunMorphFff -/* 80043458 000403B8 88 1F 06 A0 */ lbz r0, 0x6a0(r31) -/* 8004345C 000403BC 38 60 00 01 */ li r3, 1 -/* 80043460 000403C0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80043464 000403C4 C0 A2 84 6C */ lfs f5, lbl_805AA18C@sda21(r2) -/* 80043468 000403C8 98 1F 06 A0 */ stb r0, 0x6a0(r31) -/* 8004346C 000403CC 38 00 00 00 */ li r0, 0 -/* 80043470 000403D0 C0 82 85 2C */ lfs f4, lbl_805AA24C@sda21(r2) -/* 80043474 000403D4 38 7F 06 C8 */ addi r3, r31, 0x6c8 -/* 80043478 000403D8 D0 BF 06 A4 */ stfs f5, 0x6a4(r31) -/* 8004347C 000403DC 38 81 00 4C */ addi r4, r1, 0x4c -/* 80043480 000403E0 C0 62 84 74 */ lfs f3, lbl_805AA194@sda21(r2) -/* 80043484 000403E4 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80043488 000403E8 D0 BF 06 A8 */ stfs f5, 0x6a8(r31) -/* 8004348C 000403EC C0 42 85 30 */ lfs f2, lbl_805AA250@sda21(r2) -/* 80043490 000403F0 D0 BF 06 AC */ stfs f5, 0x6ac(r31) -/* 80043494 000403F4 C0 22 85 34 */ lfs f1, lbl_805AA254@sda21(r2) -/* 80043498 000403F8 D0 BF 06 B0 */ stfs f5, 0x6b0(r31) -/* 8004349C 000403FC C0 02 85 38 */ lfs f0, lbl_805AA258@sda21(r2) -/* 800434A0 00040400 D0 BF 06 B4 */ stfs f5, 0x6b4(r31) -/* 800434A4 00040404 D0 BF 06 B8 */ stfs f5, 0x6b8(r31) -/* 800434A8 00040408 D0 BF 06 BC */ stfs f5, 0x6bc(r31) -/* 800434AC 0004040C 90 1F 06 C0 */ stw r0, 0x6c0(r31) -/* 800434B0 00040410 90 1F 06 C4 */ stw r0, 0x6c4(r31) -/* 800434B4 00040414 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 800434B8 00040418 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 800434BC 0004041C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 800434C0 00040420 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 800434C4 00040424 D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 800434C8 00040428 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800434CC 0004042C 48 2F 50 3D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800434D0 00040430 80 6D A1 48 */ lwz r3, gpTweakGunRes@sda21(r13) -/* 800434D4 00040434 38 A0 00 01 */ li r5, 1 -/* 800434D8 00040438 80 C2 83 F0 */ lwz r6, lbl_805AA110@sda21(r2) -/* 800434DC 0004043C 38 00 00 00 */ li r0, 0 -/* 800434E0 00040440 80 E3 00 0C */ lwz r7, 0xc(r3) -/* 800434E4 00040444 38 7F 06 E0 */ addi r3, r31, 0x6e0 -/* 800434E8 00040448 C0 02 84 D0 */ lfs f0, lbl_805AA1F0@sda21(r2) -/* 800434EC 0004044C 38 81 00 64 */ addi r4, r1, 0x64 -/* 800434F0 00040450 90 E1 00 64 */ stw r7, 0x64(r1) -/* 800434F4 00040454 90 C1 00 68 */ stw r6, 0x68(r1) -/* 800434F8 00040458 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800434FC 0004045C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80043500 00040460 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80043504 00040464 98 A1 00 78 */ stb r5, 0x78(r1) -/* 80043508 00040468 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8004350C 0004046C 48 0D 36 49 */ bl __ct__10CModelDataFRC8CAnimRes -/* 80043510 00040470 38 00 00 00 */ li r0, 0 -/* 80043514 00040474 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 80043518 00040478 90 1F 07 2C */ stw r0, 0x72c(r31) -/* 8004351C 0004047C 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l -/* 80043520 00040480 38 83 00 09 */ addi r4, r3, 9 -/* 80043524 00040484 38 60 00 BC */ li r3, 0xbc -/* 80043528 00040488 90 1F 07 30 */ stw r0, 0x730(r31) -/* 8004352C 0004048C 38 A0 00 00 */ li r5, 0 -/* 80043530 00040490 90 1F 07 34 */ stw r0, 0x734(r31) -/* 80043534 00040494 90 1F 07 38 */ stw r0, 0x738(r31) -/* 80043538 00040498 48 2D 23 35 */ bl __nw__FUlPCcPCc -/* 8004353C 0004049C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80043540 000404A0 41 82 00 1C */ beq lbl_8004355C -/* 80043544 000404A4 80 CD A1 48 */ lwz r6, gpTweakGunRes@sda21(r13) -/* 80043548 000404A8 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 8004354C 000404AC 38 A4 D4 04 */ addi r5, r4, lbl_8056D404@l -/* 80043550 000404B0 80 86 00 04 */ lwz r4, 4(r6) -/* 80043554 000404B4 48 19 61 4D */ bl __ct__10CGunMotionFUiRC9CVector3f -/* 80043558 000404B8 7C 60 1B 78 */ mr r0, r3 -lbl_8004355C: -/* 8004355C 000404BC 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 80043560 000404C0 90 1F 07 3C */ stw r0, 0x73c(r31) -/* 80043564 000404C4 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 80043568 000404C8 38 60 03 B4 */ li r3, 0x3b4 -/* 8004356C 000404CC 38 84 00 09 */ addi r4, r4, 9 -/* 80043570 000404D0 38 A0 00 00 */ li r5, 0 -/* 80043574 000404D4 48 2D 22 F9 */ bl __nw__FUlPCcPCc -/* 80043578 000404D8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8004357C 000404DC 41 82 00 14 */ beq lbl_80043590 -/* 80043580 000404E0 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 80043584 000404E4 38 84 D4 04 */ addi r4, r4, lbl_8056D404@l -/* 80043588 000404E8 48 0D C7 D9 */ bl __ct__11CGrappleArmFRC9CVector3f -/* 8004358C 000404EC 7C 60 1B 78 */ mr r0, r3 -lbl_80043590: -/* 80043590 000404F0 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 80043594 000404F4 90 1F 07 40 */ stw r0, 0x740(r31) -/* 80043598 000404F8 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 8004359C 000404FC 38 60 00 84 */ li r3, 0x84 -/* 800435A0 00040500 38 84 00 09 */ addi r4, r4, 9 -/* 800435A4 00040504 38 A0 00 00 */ li r5, 0 -/* 800435A8 00040508 48 2D 22 C5 */ bl __nw__FUlPCcPCc -/* 800435AC 0004050C 7C 60 1B 79 */ or. r0, r3, r3 -/* 800435B0 00040510 41 82 00 18 */ beq lbl_800435C8 -/* 800435B4 00040514 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800435B8 00040518 38 81 00 1C */ addi r4, r1, 0x1c -/* 800435BC 0004051C B0 01 00 1C */ sth r0, 0x1c(r1) -/* 800435C0 00040520 48 17 65 11 */ bl __ct__10CAuxWeaponF9TUniqueId -/* 800435C4 00040524 7C 60 1B 78 */ mr r0, r3 -lbl_800435C8: -/* 800435C8 00040528 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 800435CC 0004052C 90 1F 07 44 */ stw r0, 0x744(r31) -/* 800435D0 00040530 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 800435D4 00040534 38 60 00 4C */ li r3, 0x4c -/* 800435D8 00040538 38 84 00 09 */ addi r4, r4, 9 -/* 800435DC 0004053C 38 A0 00 00 */ li r5, 0 -/* 800435E0 00040540 48 2D 22 8D */ bl __nw__FUlPCcPCc -/* 800435E4 00040544 7C 60 1B 79 */ or. r0, r3, r3 -/* 800435E8 00040548 41 82 00 24 */ beq lbl_8004360C -/* 800435EC 0004054C 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 800435F0 00040550 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 800435F4 00040554 C0 42 85 0C */ lfs f2, lbl_805AA22C@sda21(r2) -/* 800435F8 00040558 38 84 D4 04 */ addi r4, r4, lbl_8056D404@l -/* 800435FC 0004055C 38 A0 00 14 */ li r5, 0x14 -/* 80043600 00040560 38 C0 00 02 */ li r6, 2 -/* 80043604 00040564 48 22 71 35 */ bl __ct__20CRainSplashGeneratorFRC9CVector3fiiff -/* 80043608 00040568 7C 60 1B 78 */ mr r0, r3 -lbl_8004360C: -/* 8004360C 0004056C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 80043610 00040570 90 1F 07 48 */ stw r0, 0x748(r31) -/* 80043614 00040574 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 80043618 00040578 38 60 02 48 */ li r3, 0x248 -/* 8004361C 0004057C 38 84 00 09 */ addi r4, r4, 9 -/* 80043620 00040580 38 A0 00 00 */ li r5, 0 -/* 80043624 00040584 48 2D 22 49 */ bl __nw__FUlPCcPCc -/* 80043628 00040588 7C 60 1B 79 */ or. r0, r3, r3 -/* 8004362C 0004058C 41 82 00 30 */ beq lbl_8004365C -/* 80043630 00040590 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80043634 00040594 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 80043638 00040598 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l -/* 8004363C 0004059C 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) -/* 80043640 000405A0 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80043644 000405A4 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80043648 000405A8 38 A0 00 00 */ li r5, 0 -/* 8004364C 000405AC 38 E0 00 20 */ li r7, 0x20 -/* 80043650 000405B0 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80043654 000405B4 48 09 C9 4D */ bl __ct__10CPowerBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f -/* 80043658 000405B8 7C 60 1B 78 */ mr r0, r3 -lbl_8004365C: -/* 8004365C 000405BC 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 80043660 000405C0 90 1F 07 4C */ stw r0, 0x74c(r31) -/* 80043664 000405C4 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 80043668 000405C8 38 60 02 4C */ li r3, 0x24c -/* 8004366C 000405CC 38 84 00 09 */ addi r4, r4, 9 -/* 80043670 000405D0 38 A0 00 00 */ li r5, 0 -/* 80043674 000405D4 48 2D 21 F9 */ bl __nw__FUlPCcPCc -/* 80043678 000405D8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8004367C 000405DC 41 82 00 30 */ beq lbl_800436AC -/* 80043680 000405E0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80043684 000405E4 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 80043688 000405E8 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l -/* 8004368C 000405EC 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) -/* 80043690 000405F0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80043694 000405F4 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80043698 000405F8 38 A0 00 01 */ li r5, 1 -/* 8004369C 000405FC 38 E0 00 20 */ li r7, 0x20 -/* 800436A0 00040600 80 84 00 14 */ lwz r4, 0x14(r4) -/* 800436A4 00040604 48 09 E2 49 */ bl __ct__8CIceBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f -/* 800436A8 00040608 7C 60 1B 78 */ mr r0, r3 -lbl_800436AC: -/* 800436AC 0004060C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 800436B0 00040610 90 1F 07 50 */ stw r0, 0x750(r31) -/* 800436B4 00040614 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 800436B8 00040618 38 60 02 5C */ li r3, 0x25c -/* 800436BC 0004061C 38 84 00 09 */ addi r4, r4, 9 -/* 800436C0 00040620 38 A0 00 00 */ li r5, 0 -/* 800436C4 00040624 48 2D 21 A9 */ bl __nw__FUlPCcPCc -/* 800436C8 00040628 7C 60 1B 79 */ or. r0, r3, r3 -/* 800436CC 0004062C 41 82 00 30 */ beq lbl_800436FC -/* 800436D0 00040630 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800436D4 00040634 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 800436D8 00040638 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l -/* 800436DC 0004063C 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) -/* 800436E0 00040640 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800436E4 00040644 38 C1 00 10 */ addi r6, r1, 0x10 -/* 800436E8 00040648 38 A0 00 02 */ li r5, 2 -/* 800436EC 0004064C 38 E0 00 20 */ li r7, 0x20 -/* 800436F0 00040650 80 84 00 18 */ lwz r4, 0x18(r4) -/* 800436F4 00040654 48 09 D6 45 */ bl __ct__9CWaveBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f -/* 800436F8 00040658 7C 60 1B 78 */ mr r0, r3 -lbl_800436FC: -/* 800436FC 0004065C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 80043700 00040660 90 1F 07 54 */ stw r0, 0x754(r31) -/* 80043704 00040664 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 80043708 00040668 38 60 02 40 */ li r3, 0x240 -/* 8004370C 0004066C 38 84 00 09 */ addi r4, r4, 9 -/* 80043710 00040670 38 A0 00 00 */ li r5, 0 -/* 80043714 00040674 48 2D 21 59 */ bl __nw__FUlPCcPCc -/* 80043718 00040678 7C 60 1B 79 */ or. r0, r3, r3 -/* 8004371C 0004067C 41 82 00 30 */ beq lbl_8004374C -/* 80043720 00040680 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80043724 00040684 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 80043728 00040688 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l -/* 8004372C 0004068C 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) -/* 80043730 00040690 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80043734 00040694 38 C1 00 0C */ addi r6, r1, 0xc -/* 80043738 00040698 38 A0 00 03 */ li r5, 3 -/* 8004373C 0004069C 38 E0 00 20 */ li r7, 0x20 -/* 80043740 000406A0 80 84 00 1C */ lwz r4, 0x1c(r4) -/* 80043744 000406A4 48 09 BD F9 */ bl __ct__11CPlasmaBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f -/* 80043748 000406A8 7C 60 1B 78 */ mr r0, r3 -lbl_8004374C: -/* 8004374C 000406AC 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 80043750 000406B0 90 1F 07 58 */ stw r0, 0x758(r31) -/* 80043754 000406B4 38 83 CE B0 */ addi r4, r3, lbl_803CCEB0@l -/* 80043758 000406B8 38 60 02 7C */ li r3, 0x27c -/* 8004375C 000406BC 38 84 00 09 */ addi r4, r4, 9 -/* 80043760 000406C0 38 A0 00 00 */ li r5, 0 -/* 80043764 000406C4 48 2D 21 09 */ bl __nw__FUlPCcPCc -/* 80043768 000406C8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8004376C 000406CC 41 82 00 30 */ beq lbl_8004379C -/* 80043770 000406D0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80043774 000406D4 3C 80 80 57 */ lis r4, lbl_8056D404@ha -/* 80043778 000406D8 39 04 D4 04 */ addi r8, r4, lbl_8056D404@l -/* 8004377C 000406DC 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) -/* 80043780 000406E0 B0 01 00 08 */ sth r0, 8(r1) -/* 80043784 000406E4 38 C1 00 08 */ addi r6, r1, 8 -/* 80043788 000406E8 38 A0 00 08 */ li r5, 8 -/* 8004378C 000406EC 38 E0 00 20 */ li r7, 0x20 -/* 80043790 000406F0 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80043794 000406F4 48 14 98 AD */ bl __ct__11CPhazonBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f -/* 80043798 000406F8 7C 60 1B 78 */ mr r0, r3 -lbl_8004379C: -/* 8004379C 000406FC 90 1F 07 5C */ stw r0, 0x75c(r31) -/* 800437A0 00040700 38 60 00 04 */ li r3, 4 -/* 800437A4 00040704 34 9F 07 64 */ addic. r4, r31, 0x764 -/* 800437A8 00040708 38 00 00 00 */ li r0, 0 -/* 800437AC 0004070C 90 7F 07 60 */ stw r3, 0x760(r31) -/* 800437B0 00040710 41 82 00 08 */ beq lbl_800437B8 -/* 800437B4 00040714 90 04 00 00 */ stw r0, 0(r4) -lbl_800437B8: -/* 800437B8 00040718 34 84 00 04 */ addic. r4, r4, 4 -/* 800437BC 0004071C 41 82 00 08 */ beq lbl_800437C4 -/* 800437C0 00040720 90 04 00 00 */ stw r0, 0(r4) -lbl_800437C4: -/* 800437C4 00040724 34 84 00 04 */ addic. r4, r4, 4 -/* 800437C8 00040728 41 82 00 08 */ beq lbl_800437D0 -/* 800437CC 0004072C 90 04 00 00 */ stw r0, 0(r4) -lbl_800437D0: -/* 800437D0 00040730 34 84 00 04 */ addic. r4, r4, 4 -/* 800437D4 00040734 41 82 00 08 */ beq lbl_800437DC -/* 800437D8 00040738 90 04 00 00 */ stw r0, 0(r4) -lbl_800437DC: -/* 800437DC 0004073C 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 800437E0 00040740 3B 80 00 00 */ li r28, 0 -/* 800437E4 00040744 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l -/* 800437E8 00040748 3B 60 00 00 */ li r27, 0 -/* 800437EC 0004074C 38 83 00 09 */ addi r4, r3, 9 -/* 800437F0 00040750 38 60 03 40 */ li r3, 0x340 -/* 800437F4 00040754 38 A0 00 00 */ li r5, 0 -/* 800437F8 00040758 48 2D 20 75 */ bl __nw__FUlPCcPCc -/* 800437FC 0004075C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80043800 00040760 41 82 00 64 */ beq lbl_80043864 -/* 80043804 00040764 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 80043808 00040768 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8004380C 0004076C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80043810 00040770 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80043814 00040774 80 C5 00 24 */ lwz r6, 0x24(r5) -/* 80043818 00040778 38 61 00 28 */ addi r3, r1, 0x28 -/* 8004381C 0004077C 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80043820 00040780 90 01 00 30 */ stw r0, 0x30(r1) -/* 80043824 00040784 90 C1 00 34 */ stw r6, 0x34(r1) -/* 80043828 00040788 81 84 00 00 */ lwz r12, 0(r4) -/* 8004382C 0004078C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80043830 00040790 7D 89 03 A6 */ mtctr r12 -/* 80043834 00040794 4E 80 04 21 */ bctrl -/* 80043838 00040798 38 61 00 20 */ addi r3, r1, 0x20 -/* 8004383C 0004079C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80043840 000407A0 3B 80 00 01 */ li r28, 1 -/* 80043844 000407A4 48 2F D6 65 */ bl __ct__6CTokenFRC6CToken -/* 80043848 000407A8 7F C3 F3 78 */ mr r3, r30 -/* 8004384C 000407AC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80043850 000407B0 3B 60 00 01 */ li r27, 1 -/* 80043854 000407B4 38 A0 00 00 */ li r5, 0 -/* 80043858 000407B8 38 C0 00 01 */ li r6, 1 -/* 8004385C 000407BC 48 2D BB 85 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80043860 000407C0 7C 7E 1B 78 */ mr r30, r3 -lbl_80043864: -/* 80043864 000407C4 7C 7E 00 D0 */ neg r3, r30 -/* 80043868 000407C8 7F 60 07 75 */ extsb. r0, r27 -/* 8004386C 000407CC 7C 60 F3 78 */ or r0, r3, r30 -/* 80043870 000407D0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80043874 000407D4 98 1F 07 74 */ stb r0, 0x774(r31) -/* 80043878 000407D8 93 DF 07 78 */ stw r30, 0x778(r31) -/* 8004387C 000407DC 41 82 00 10 */ beq lbl_8004388C -/* 80043880 000407E0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80043884 000407E4 38 80 00 00 */ li r4, 0 -/* 80043888 000407E8 48 2F D5 B9 */ bl __dt__6CTokenFv -lbl_8004388C: -/* 8004388C 000407EC 7F 80 07 75 */ extsb. r0, r28 -/* 80043890 000407F0 41 82 00 10 */ beq lbl_800438A0 -/* 80043894 000407F4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80043898 000407F8 38 80 FF FF */ li r4, -1 -/* 8004389C 000407FC 48 2F D5 A5 */ bl __dt__6CTokenFv -lbl_800438A0: -/* 800438A0 00040800 38 00 00 00 */ li r0, 0 -/* 800438A4 00040804 3C 60 80 3D */ lis r3, lbl_803CCEB0@ha -/* 800438A8 00040808 98 1F 07 7C */ stb r0, 0x77c(r31) -/* 800438AC 0004080C 38 63 CE B0 */ addi r3, r3, lbl_803CCEB0@l -/* 800438B0 00040810 38 83 00 09 */ addi r4, r3, 9 -/* 800438B4 00040814 38 60 00 8C */ li r3, 0x8c -/* 800438B8 00040818 90 1F 07 80 */ stw r0, 0x780(r31) -/* 800438BC 0004081C 38 A0 00 00 */ li r5, 0 -/* 800438C0 00040820 90 1F 07 84 */ stw r0, 0x784(r31) -/* 800438C4 00040824 90 1F 07 C0 */ stw r0, 0x7c0(r31) -/* 800438C8 00040828 90 1F 08 00 */ stw r0, 0x800(r31) -/* 800438CC 0004082C 48 2D 1F A1 */ bl __nw__FUlPCcPCc -/* 800438D0 00040830 7C 60 1B 79 */ or. r0, r3, r3 -/* 800438D4 00040834 41 82 00 18 */ beq lbl_800438EC -/* 800438D8 00040838 38 80 00 20 */ li r4, 0x20 -/* 800438DC 0004083C 38 A0 00 20 */ li r5, 0x20 -/* 800438E0 00040840 38 C0 00 01 */ li r6, 1 -/* 800438E4 00040844 48 0C E2 E1 */ bl __ct__12CWorldShadowFUiUib -/* 800438E8 00040848 7C 60 1B 78 */ mr r0, r3 -lbl_800438EC: -/* 800438EC 0004084C 90 1F 08 2C */ stw r0, 0x82c(r31) -/* 800438F0 00040850 38 60 FF FF */ li r3, -1 -/* 800438F4 00040854 38 80 00 00 */ li r4, 0 -/* 800438F8 00040858 38 00 00 01 */ li r0, 1 -/* 800438FC 0004085C B0 7F 08 30 */ sth r3, 0x830(r31) -/* 80043900 00040860 88 7F 08 32 */ lbz r3, 0x832(r31) -/* 80043904 00040864 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 80043908 00040868 98 7F 08 32 */ stb r3, 0x832(r31) -/* 8004390C 0004086C 88 7F 08 32 */ lbz r3, 0x832(r31) -/* 80043910 00040870 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 80043914 00040874 98 7F 08 32 */ stb r3, 0x832(r31) -/* 80043918 00040878 88 7F 08 32 */ lbz r3, 0x832(r31) -/* 8004391C 0004087C 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a -/* 80043920 00040880 98 7F 08 32 */ stb r3, 0x832(r31) -/* 80043924 00040884 88 7F 08 32 */ lbz r3, 0x832(r31) -/* 80043928 00040888 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 8004392C 0004088C 98 7F 08 32 */ stb r3, 0x832(r31) -/* 80043930 00040890 88 7F 08 32 */ lbz r3, 0x832(r31) -/* 80043934 00040894 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c -/* 80043938 00040898 98 7F 08 32 */ stb r3, 0x832(r31) -/* 8004393C 0004089C 88 7F 08 32 */ lbz r3, 0x832(r31) -/* 80043940 000408A0 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d -/* 80043944 000408A4 98 7F 08 32 */ stb r3, 0x832(r31) -/* 80043948 000408A8 88 7F 08 32 */ lbz r3, 0x832(r31) -/* 8004394C 000408AC 50 83 0F BC */ rlwimi r3, r4, 1, 0x1e, 0x1e -/* 80043950 000408B0 98 7F 08 32 */ stb r3, 0x832(r31) -/* 80043954 000408B4 88 7F 08 32 */ lbz r3, 0x832(r31) -/* 80043958 000408B8 50 03 07 FE */ rlwimi r3, r0, 0, 0x1f, 0x1f -/* 8004395C 000408BC 98 7F 08 32 */ stb r3, 0x832(r31) -/* 80043960 000408C0 88 7F 08 33 */ lbz r3, 0x833(r31) -/* 80043964 000408C4 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 80043968 000408C8 98 7F 08 33 */ stb r3, 0x833(r31) -/* 8004396C 000408CC 88 7F 08 33 */ lbz r3, 0x833(r31) -/* 80043970 000408D0 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 80043974 000408D4 98 7F 08 33 */ stb r3, 0x833(r31) -/* 80043978 000408D8 88 7F 08 33 */ lbz r3, 0x833(r31) -/* 8004397C 000408DC 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a -/* 80043980 000408E0 98 7F 08 33 */ stb r3, 0x833(r31) -/* 80043984 000408E4 88 7F 08 33 */ lbz r3, 0x833(r31) -/* 80043988 000408E8 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 8004398C 000408EC 98 7F 08 33 */ stb r3, 0x833(r31) -/* 80043990 000408F0 88 7F 08 33 */ lbz r3, 0x833(r31) -/* 80043994 000408F4 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c -/* 80043998 000408F8 98 7F 08 33 */ stb r3, 0x833(r31) -/* 8004399C 000408FC 88 7F 08 33 */ lbz r3, 0x833(r31) -/* 800439A0 00040900 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d -/* 800439A4 00040904 98 7F 08 33 */ stb r3, 0x833(r31) -/* 800439A8 00040908 88 7F 08 33 */ lbz r3, 0x833(r31) -/* 800439AC 0004090C 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e -/* 800439B0 00040910 98 7F 08 33 */ stb r3, 0x833(r31) -/* 800439B4 00040914 88 7F 08 33 */ lbz r3, 0x833(r31) -/* 800439B8 00040918 50 83 07 FE */ rlwimi r3, r4, 0, 0x1f, 0x1f -/* 800439BC 0004091C 98 7F 08 33 */ stb r3, 0x833(r31) -/* 800439C0 00040920 88 7F 08 34 */ lbz r3, 0x834(r31) -/* 800439C4 00040924 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 800439C8 00040928 98 7F 08 34 */ stb r3, 0x834(r31) -/* 800439CC 0004092C 88 7F 08 34 */ lbz r3, 0x834(r31) -/* 800439D0 00040930 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 800439D4 00040934 98 7F 08 34 */ stb r3, 0x834(r31) -/* 800439D8 00040938 88 7F 08 34 */ lbz r3, 0x834(r31) -/* 800439DC 0004093C 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a -/* 800439E0 00040940 98 7F 08 34 */ stb r3, 0x834(r31) -/* 800439E4 00040944 88 7F 08 34 */ lbz r3, 0x834(r31) -/* 800439E8 00040948 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 800439EC 0004094C 98 7F 08 34 */ stb r3, 0x834(r31) -/* 800439F0 00040950 88 7F 08 34 */ lbz r3, 0x834(r31) -/* 800439F4 00040954 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c -/* 800439F8 00040958 98 7F 08 34 */ stb r3, 0x834(r31) -/* 800439FC 0004095C 88 7F 08 34 */ lbz r3, 0x834(r31) -/* 80043A00 00040960 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d -/* 80043A04 00040964 98 7F 08 34 */ stb r3, 0x834(r31) -/* 80043A08 00040968 88 7F 08 34 */ lbz r3, 0x834(r31) -/* 80043A0C 0004096C 50 83 0F BC */ rlwimi r3, r4, 1, 0x1e, 0x1e -/* 80043A10 00040970 98 7F 08 34 */ stb r3, 0x834(r31) -/* 80043A14 00040974 88 7F 08 34 */ lbz r3, 0x834(r31) -/* 80043A18 00040978 50 83 07 FE */ rlwimi r3, r4, 0, 0x1f, 0x1f -/* 80043A1C 0004097C 98 7F 08 34 */ stb r3, 0x834(r31) -/* 80043A20 00040980 88 7F 08 35 */ lbz r3, 0x835(r31) -/* 80043A24 00040984 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 80043A28 00040988 98 7F 08 35 */ stb r3, 0x835(r31) -/* 80043A2C 0004098C 88 7F 08 35 */ lbz r3, 0x835(r31) -/* 80043A30 00040990 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 80043A34 00040994 38 FD 00 00 */ addi r7, r29, 0 -/* 80043A38 00040998 38 DD 00 0C */ addi r6, r29, 0xc -/* 80043A3C 0004099C 98 7F 08 35 */ stb r3, 0x835(r31) -/* 80043A40 000409A0 38 BD 00 18 */ addi r5, r29, 0x18 -/* 80043A44 000409A4 7F E3 FB 78 */ mr r3, r31 -/* 80043A48 000409A8 89 1F 08 35 */ lbz r8, 0x835(r31) -/* 80043A4C 000409AC 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a -/* 80043A50 000409B0 99 1F 08 35 */ stb r8, 0x835(r31) -/* 80043A54 000409B4 89 1F 08 35 */ lbz r8, 0x835(r31) -/* 80043A58 000409B8 50 88 26 F6 */ rlwimi r8, r4, 4, 0x1b, 0x1b -/* 80043A5C 000409BC 99 1F 08 35 */ stb r8, 0x835(r31) -/* 80043A60 000409C0 89 1F 08 35 */ lbz r8, 0x835(r31) -/* 80043A64 000409C4 50 88 1F 38 */ rlwimi r8, r4, 3, 0x1c, 0x1c -/* 80043A68 000409C8 99 1F 08 35 */ stb r8, 0x835(r31) -/* 80043A6C 000409CC 89 1F 08 35 */ lbz r8, 0x835(r31) -/* 80043A70 000409D0 50 88 17 7A */ rlwimi r8, r4, 2, 0x1d, 0x1d -/* 80043A74 000409D4 99 1F 08 35 */ stb r8, 0x835(r31) -/* 80043A78 000409D8 89 1F 08 35 */ lbz r8, 0x835(r31) -/* 80043A7C 000409DC 50 88 0F BC */ rlwimi r8, r4, 1, 0x1e, 0x1e -/* 80043A80 000409E0 99 1F 08 35 */ stb r8, 0x835(r31) -/* 80043A84 000409E4 89 1F 08 35 */ lbz r8, 0x835(r31) -/* 80043A88 000409E8 50 88 07 FE */ rlwimi r8, r4, 0, 0x1f, 0x1f -/* 80043A8C 000409EC 99 1F 08 35 */ stb r8, 0x835(r31) -/* 80043A90 000409F0 88 9F 06 F4 */ lbz r4, 0x6f4(r31) -/* 80043A94 000409F4 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 80043A98 000409F8 98 9F 06 F4 */ stb r4, 0x6f4(r31) -/* 80043A9C 000409FC 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) -/* 80043AA0 00040A00 C0 04 00 04 */ lfs f0, 4(r4) -/* 80043AA4 00040A04 D0 07 00 08 */ stfs f0, 8(r7) -/* 80043AA8 00040A08 C0 04 00 08 */ lfs f0, 8(r4) -/* 80043AAC 00040A0C D0 1D 00 00 */ stfs f0, 0(r29) -/* 80043AB0 00040A10 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80043AB4 00040A14 D0 06 00 04 */ stfs f0, 4(r6) -/* 80043AB8 00040A18 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 80043ABC 00040A1C D0 06 00 08 */ stfs f0, 8(r6) -/* 80043AC0 00040A20 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 80043AC4 00040A24 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 80043AC8 00040A28 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80043ACC 00040A2C D0 05 00 04 */ stfs f0, 4(r5) -/* 80043AD0 00040A30 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80043AD4 00040A34 D0 05 00 08 */ stfs f0, 8(r5) -/* 80043AD8 00040A38 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 80043ADC 00040A3C D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 80043AE0 00040A40 C0 04 00 48 */ lfs f0, 0x48(r4) -/* 80043AE4 00040A44 D0 0D 82 20 */ stfs f0, lbl_805A6DE0@sda21(r13) -/* 80043AE8 00040A48 4B FF AE A1 */ bl InitBeamData__10CPlayerGunFv -/* 80043AEC 00040A4C 7F E3 FB 78 */ mr r3, r31 -/* 80043AF0 00040A50 4B FF AA FD */ bl InitBombData__10CPlayerGunFv -/* 80043AF4 00040A54 7F E3 FB 78 */ mr r3, r31 -/* 80043AF8 00040A58 4B FF A9 01 */ bl InitMuzzleData__10CPlayerGunFv -/* 80043AFC 00040A5C 7F E3 FB 78 */ mr r3, r31 -/* 80043B00 00040A60 4B FF A8 45 */ bl InitCTData__10CPlayerGunFv -/* 80043B04 00040A64 7F E3 FB 78 */ mr r3, r31 -/* 80043B08 00040A68 4B FF 78 7D */ bl LoadHandAnimTokens__10CPlayerGunFv -/* 80043B0C 00040A6C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80043B10 00040A70 38 7F 05 50 */ addi r3, r31, 0x550 -/* 80043B14 00040A74 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 80043B18 00040A78 48 0A 5F 01 */ bl SetPlayerVelocity__16CPlayerCameraBobFRC9CVector3f -/* 80043B1C 00040A7C C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 80043B20 00040A80 38 7F 05 50 */ addi r3, r31, 0x550 -/* 80043B24 00040A84 48 0A 63 29 */ bl SetBobMagnitude__16CPlayerCameraBobFf -/* 80043B28 00040A88 C0 22 84 6C */ lfs f1, lbl_805AA18C@sda21(r2) -/* 80043B2C 00040A8C 38 7F 05 50 */ addi r3, r31, 0x550 -/* 80043B30 00040A90 48 0A 63 6D */ bl SetBobTimeScale__16CPlayerCameraBobFf -/* 80043B34 00040A94 7F E3 FB 78 */ mr r3, r31 -/* 80043B38 00040A98 BB 61 00 8C */ lmw r27, 0x8c(r1) -/* 80043B3C 00040A9C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80043B40 00040AA0 7C 08 03 A6 */ mtlr r0 -/* 80043B44 00040AA4 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80043B48 00040AA8 4E 80 00 20 */ blr - -.global "__dl__24TOneStatic<10CPlayerGun>FPv" -"__dl__24TOneStatic<10CPlayerGun>FPv": -/* 80043B4C 00040AAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80043B50 00040AB0 7C 08 02 A6 */ mflr r0 -/* 80043B54 00040AB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80043B58 00040AB8 4B FD 73 89 */ bl "ReferenceCount__24TOneStatic<10CPlayerGun>Fv" -/* 80043B5C 00040ABC 80 83 00 00 */ lwz r4, 0(r3) -/* 80043B60 00040AC0 38 04 FF FF */ addi r0, r4, -1 -/* 80043B64 00040AC4 90 03 00 00 */ stw r0, 0(r3) -/* 80043B68 00040AC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80043B6C 00040ACC 7C 08 03 A6 */ mtlr r0 -/* 80043B70 00040AD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80043B74 00040AD4 4E 80 00 20 */ blr - -.global __sinit_CPlayerGun_cpp -__sinit_CPlayerGun_cpp: -/* 80043B78 00040AD8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80043B7C 00040ADC 7C 08 02 A6 */ mflr r0 -/* 80043B80 00040AE0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80043B84 00040AE4 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80043B88 00040AE8 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80043B8C 00040AEC 48 04 D6 71 */ bl GetMissileComboChargeFactor__12CPlayerStateFv -/* 80043B90 00040AF0 C0 42 84 D8 */ lfs f2, lbl_805AA1F8@sda21(r2) -/* 80043B94 00040AF4 3C 60 80 57 */ lis r3, lbl_8056D404@ha -/* 80043B98 00040AF8 C0 02 84 80 */ lfs f0, lbl_805AA1A0@sda21(r2) -/* 80043B9C 00040AFC 38 83 D4 04 */ addi r4, r3, lbl_8056D404@l -/* 80043BA0 00040B00 EC 62 08 24 */ fdivs f3, f2, f1 -/* 80043BA4 00040B04 C0 22 84 98 */ lfs f1, lbl_805AA1B8@sda21(r2) -/* 80043BA8 00040B08 D0 04 00 00 */ stfs f0, 0(r4) -/* 80043BAC 00040B0C 38 61 00 0C */ addi r3, r1, 0xc -/* 80043BB0 00040B10 C0 42 84 FC */ lfs f2, lbl_805AA21C@sda21(r2) -/* 80043BB4 00040B14 D0 04 00 04 */ stfs f0, 4(r4) -/* 80043BB8 00040B18 D0 6D A1 B0 */ stfs f3, lbl_805A8D70@sda21(r13) -/* 80043BBC 00040B1C C0 62 84 6C */ lfs f3, lbl_805AA18C@sda21(r2) -/* 80043BC0 00040B20 D0 04 00 08 */ stfs f0, 8(r4) -/* 80043BC4 00040B24 C0 82 84 7C */ lfs f4, lbl_805AA19C@sda21(r2) -/* 80043BC8 00040B28 48 31 F8 25 */ bl __ct__6CColorFffff -/* 80043BCC 00040B2C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80043BD0 00040B30 38 60 00 00 */ li r3, 0 -/* 80043BD4 00040B34 80 AD 82 28 */ lwz r5, lbl_805A6DE8@sda21(r13) -/* 80043BD8 00040B38 38 80 00 01 */ li r4, 1 -/* 80043BDC 00040B3C 90 0D A1 B4 */ stw r0, lbl_805A8D74@sda21(r13) -/* 80043BE0 00040B40 48 34 63 15 */ bl __shl2i -/* 80043BE4 00040B44 80 AD 82 24 */ lwz r5, lbl_805A6DE4@sda21(r13) -/* 80043BE8 00040B48 7C 9E 23 78 */ mr r30, r4 -/* 80043BEC 00040B4C 7C 7F 1B 78 */ mr r31, r3 -/* 80043BF0 00040B50 38 60 00 00 */ li r3, 0 -/* 80043BF4 00040B54 38 80 00 01 */ li r4, 1 -/* 80043BF8 00040B58 48 34 62 FD */ bl __shl2i -/* 80043BFC 00040B5C 3C A0 80 46 */ lis r5, lbl_8045C518@ha -/* 80043C00 00040B60 38 00 00 03 */ li r0, 3 -/* 80043C04 00040B64 38 A5 C5 18 */ addi r5, r5, lbl_8045C518@l -/* 80043C08 00040B68 90 01 00 38 */ stw r0, 0x38(r1) -/* 80043C0C 00040B6C 90 85 00 04 */ stw r4, 4(r5) -/* 80043C10 00040B70 90 65 00 00 */ stw r3, 0(r5) -/* 80043C14 00040B74 93 C5 00 0C */ stw r30, 0xc(r5) -/* 80043C18 00040B78 93 E5 00 08 */ stw r31, 8(r5) -/* 80043C1C 00040B7C 90 05 00 10 */ stw r0, 0x10(r5) -/* 80043C20 00040B80 48 04 D5 DD */ bl GetMissileComboChargeFactor__12CPlayerStateFv -/* 80043C24 00040B84 C0 02 84 7C */ lfs f0, lbl_805AA19C@sda21(r2) -/* 80043C28 00040B88 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80043C2C 00040B8C D0 0D A1 B8 */ stfs f0, lbl_805A8D78@sda21(r13) -/* 80043C30 00040B90 48 04 D5 CD */ bl GetMissileComboChargeFactor__12CPlayerStateFv -/* 80043C34 00040B94 C0 02 85 3C */ lfs f0, lbl_805AA25C@sda21(r2) -/* 80043C38 00040B98 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80043C3C 00040B9C D0 0D A1 BC */ stfs f0, lbl_805A8D7C@sda21(r13) -/* 80043C40 00040BA0 48 04 D5 BD */ bl GetMissileComboChargeFactor__12CPlayerStateFv -/* 80043C44 00040BA4 C0 42 84 7C */ lfs f2, lbl_805AA19C@sda21(r2) -/* 80043C48 00040BA8 38 80 00 00 */ li r4, 0 -/* 80043C4C 00040BAC 38 00 00 03 */ li r0, 3 -/* 80043C50 00040BB0 98 81 00 20 */ stb r4, 0x20(r1) -/* 80043C54 00040BB4 EC 02 08 24 */ fdivs f0, f2, f1 -/* 80043C58 00040BB8 38 61 00 24 */ addi r3, r1, 0x24 -/* 80043C5C 00040BBC 98 81 00 21 */ stb r4, 0x21(r1) -/* 80043C60 00040BC0 B0 01 00 22 */ sth r0, 0x22(r1) -/* 80043C64 00040BC4 FC 20 10 90 */ fmr f1, f2 -/* 80043C68 00040BC8 D0 0D A1 C0 */ stfs f0, lbl_805A8D80@sda21(r13) -/* 80043C6C 00040BCC FC 60 10 90 */ fmr f3, f2 -/* 80043C70 00040BD0 FC 80 10 90 */ fmr f4, f2 -/* 80043C74 00040BD4 48 31 F7 79 */ bl __ct__6CColorFffff -/* 80043C78 00040BD8 38 C0 00 00 */ li r6, 0 -/* 80043C7C 00040BDC 38 00 00 80 */ li r0, 0x80 -/* 80043C80 00040BE0 98 C1 00 08 */ stb r6, 8(r1) -/* 80043C84 00040BE4 3C 60 80 46 */ lis r3, lbl_8045C530@ha -/* 80043C88 00040BE8 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 80043C8C 00040BEC 39 43 C5 30 */ addi r10, r3, lbl_8045C530@l -/* 80043C90 00040BF0 89 61 00 20 */ lbz r11, 0x20(r1) -/* 80043C94 00040BF4 38 80 00 03 */ li r4, 3 -/* 80043C98 00040BF8 89 21 00 21 */ lbz r9, 0x21(r1) -/* 80043C9C 00040BFC 38 A0 00 05 */ li r5, 5 -/* 80043CA0 00040C00 A1 01 00 22 */ lhz r8, 0x22(r1) -/* 80043CA4 00040C04 FC 40 08 90 */ fmr f2, f1 -/* 80043CA8 00040C08 80 E1 00 24 */ lwz r7, 0x24(r1) -/* 80043CAC 00040C0C FC 60 08 90 */ fmr f3, f1 -/* 80043CB0 00040C10 98 C1 00 09 */ stb r6, 9(r1) -/* 80043CB4 00040C14 FC 80 08 90 */ fmr f4, f1 -/* 80043CB8 00040C18 38 61 00 1C */ addi r3, r1, 0x1c -/* 80043CBC 00040C1C 98 C1 00 0A */ stb r6, 0xa(r1) -/* 80043CC0 00040C20 98 01 00 0B */ stb r0, 0xb(r1) -/* 80043CC4 00040C24 80 01 00 08 */ lwz r0, 8(r1) -/* 80043CC8 00040C28 99 6A 00 00 */ stb r11, 0(r10) -/* 80043CCC 00040C2C 99 2A 00 01 */ stb r9, 1(r10) -/* 80043CD0 00040C30 B1 0A 00 02 */ sth r8, 2(r10) -/* 80043CD4 00040C34 90 EA 00 04 */ stw r7, 4(r10) -/* 80043CD8 00040C38 98 AA 00 08 */ stb r5, 8(r10) -/* 80043CDC 00040C3C 98 CA 00 09 */ stb r6, 9(r10) -/* 80043CE0 00040C40 B0 8A 00 0A */ sth r4, 0xa(r10) -/* 80043CE4 00040C44 90 0A 00 0C */ stw r0, 0xc(r10) -/* 80043CE8 00040C48 98 C1 00 18 */ stb r6, 0x18(r1) -/* 80043CEC 00040C4C 98 C1 00 19 */ stb r6, 0x19(r1) -/* 80043CF0 00040C50 B0 81 00 1A */ sth r4, 0x1a(r1) -/* 80043CF4 00040C54 48 31 F6 F9 */ bl __ct__6CColorFffff -/* 80043CF8 00040C58 C0 22 84 7C */ lfs f1, lbl_805AA19C@sda21(r2) -/* 80043CFC 00040C5C 38 80 00 00 */ li r4, 0 -/* 80043D00 00040C60 3C 60 80 46 */ lis r3, lbl_8045C530@ha -/* 80043D04 00040C64 89 21 00 18 */ lbz r9, 0x18(r1) -/* 80043D08 00040C68 39 03 C5 30 */ addi r8, r3, lbl_8045C530@l -/* 80043D0C 00040C6C 88 E1 00 19 */ lbz r7, 0x19(r1) -/* 80043D10 00040C70 A0 C1 00 1A */ lhz r6, 0x1a(r1) -/* 80043D14 00040C74 38 00 00 03 */ li r0, 3 -/* 80043D18 00040C78 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 80043D1C 00040C7C FC 40 08 90 */ fmr f2, f1 -/* 80043D20 00040C80 FC 60 08 90 */ fmr f3, f1 -/* 80043D24 00040C84 99 28 00 10 */ stb r9, 0x10(r8) -/* 80043D28 00040C88 FC 80 08 90 */ fmr f4, f1 -/* 80043D2C 00040C8C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80043D30 00040C90 98 E8 00 11 */ stb r7, 0x11(r8) -/* 80043D34 00040C94 B0 C8 00 12 */ sth r6, 0x12(r8) -/* 80043D38 00040C98 90 A8 00 14 */ stw r5, 0x14(r8) -/* 80043D3C 00040C9C 98 81 00 10 */ stb r4, 0x10(r1) -/* 80043D40 00040CA0 98 81 00 11 */ stb r4, 0x11(r1) -/* 80043D44 00040CA4 B0 01 00 12 */ sth r0, 0x12(r1) -/* 80043D48 00040CA8 48 31 F6 A5 */ bl __ct__6CColorFffff -/* 80043D4C 00040CAC 3C 60 80 46 */ lis r3, lbl_8045C530@ha -/* 80043D50 00040CB0 88 C1 00 10 */ lbz r6, 0x10(r1) -/* 80043D54 00040CB4 38 A3 C5 30 */ addi r5, r3, lbl_8045C530@l -/* 80043D58 00040CB8 88 81 00 11 */ lbz r4, 0x11(r1) -/* 80043D5C 00040CBC A0 61 00 12 */ lhz r3, 0x12(r1) -/* 80043D60 00040CC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80043D64 00040CC4 98 C5 00 18 */ stb r6, 0x18(r5) -/* 80043D68 00040CC8 98 85 00 19 */ stb r4, 0x19(r5) -/* 80043D6C 00040CCC B0 65 00 1A */ sth r3, 0x1a(r5) -/* 80043D70 00040CD0 90 05 00 1C */ stw r0, 0x1c(r5) -/* 80043D74 00040CD4 48 30 62 39 */ bl White__6CColorFv -/* 80043D78 00040CD8 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) -/* 80043D7C 00040CDC 39 00 00 07 */ li r8, 7 -/* 80043D80 00040CE0 81 23 00 00 */ lwz r9, 0(r3) -/* 80043D84 00040CE4 38 CD A1 C4 */ addi r6, r13, lbl_805A8D84@sda21 -/* 80043D88 00040CE8 38 E0 00 00 */ li r7, 0 -/* 80043D8C 00040CEC 38 A0 00 03 */ li r5, 3 -/* 80043D90 00040CF0 38 6D A1 CC */ addi r3, r13, lbl_805A8D8C@sda21 -/* 80043D94 00040CF4 80 0D A1 B4 */ lwz r0, lbl_805A8D74@sda21(r13) -/* 80043D98 00040CF8 38 80 00 01 */ li r4, 1 -/* 80043D9C 00040CFC 99 0D A1 C4 */ stb r8, lbl_805A8D84@sda21(r13) -/* 80043DA0 00040D00 98 E6 00 01 */ stb r7, 1(r6) -/* 80043DA4 00040D04 B0 A6 00 02 */ sth r5, 2(r6) -/* 80043DA8 00040D08 91 26 00 04 */ stw r9, 4(r6) -/* 80043DAC 00040D0C 98 8D A1 CC */ stb r4, lbl_805A8D8C@sda21(r13) -/* 80043DB0 00040D10 98 E3 00 01 */ stb r7, 1(r3) -/* 80043DB4 00040D14 B0 A3 00 02 */ sth r5, 2(r3) -/* 80043DB8 00040D18 90 03 00 04 */ stw r0, 4(r3) -/* 80043DBC 00040D1C B1 4D 82 2C */ sth r10, lbl_805A6DEC@sda21(r13) -/* 80043DC0 00040D20 B1 4D 82 30 */ sth r10, lbl_805A6DF0@sda21(r13) -/* 80043DC4 00040D24 B1 4D 82 38 */ sth r10, lbl_805A6DF8@sda21(r13) -/* 80043DC8 00040D28 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80043DCC 00040D2C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80043DD0 00040D30 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80043DD4 00040D34 7C 08 03 A6 */ mtlr r0 -/* 80043DD8 00040D38 38 21 00 50 */ addi r1, r1, 0x50 -/* 80043DDC 00040D3C 4E 80 00 20 */ blr - -.global IntegrateVisorFog__13CStateManagerFf -IntegrateVisorFog__13CStateManagerFf: -/* 80043DE0 00040D40 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80043DE4 00040D44 7C 08 02 A6 */ mflr r0 -/* 80043DE8 00040D48 90 01 00 24 */ stw r0, 0x24(r1) -/* 80043DEC 00040D4C DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80043DF0 00040D50 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80043DF4 00040D54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80043DF8 00040D58 7C 7F 1B 78 */ mr r31, r3 -/* 80043DFC 00040D5C FF E0 08 90 */ fmr f31, f1 -/* 80043E00 00040D60 80 63 08 B8 */ lwz r3, 0x8b8(r3) -/* 80043E04 00040D64 7F E4 FB 78 */ mr r4, r31 -/* 80043E08 00040D68 80 63 00 00 */ lwz r3, 0(r3) -/* 80043E0C 00040D6C 48 04 D7 4D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80043E10 00040D70 2C 03 00 02 */ cmpwi r3, 2 -/* 80043E14 00040D74 40 82 00 20 */ bne lbl_80043E34 -/* 80043E18 00040D78 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80043E1C 00040D7C 80 63 00 00 */ lwz r3, 0(r3) -/* 80043E20 00040D80 48 04 DA 45 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 80043E24 00040D84 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 80043E28 00040D88 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80043E2C 00040D8C EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80043E30 00040D90 48 00 00 08 */ b lbl_80043E38 -lbl_80043E34: -/* 80043E34 00040D94 FC 20 F8 90 */ fmr f1, f31 -lbl_80043E38: -/* 80043E38 00040D98 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80043E3C 00040D9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80043E40 00040DA0 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80043E44 00040DA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80043E48 00040DA8 7C 08 03 A6 */ mtlr r0 -/* 80043E4C 00040DAC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80043E50 00040DB0 4E 80 00 20 */ blr - -.global SendScriptMsgAlways__13CStateManagerF9TUniqueId -SendScriptMsgAlways__13CStateManagerF9TUniqueId: -/* 80043E54 00040DB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80043E58 00040DB8 7C 08 02 A6 */ mflr r0 -/* 80043E5C 00040DBC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80043E60 00040DC0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80043E64 00040DC4 7C DF 33 78 */ mr r31, r6 -/* 80043E68 00040DC8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80043E6C 00040DCC 7C BE 2B 78 */ mr r30, r5 -/* 80043E70 00040DD0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80043E74 00040DD4 7C 7D 1B 78 */ mr r29, r3 -/* 80043E78 00040DD8 A0 04 00 00 */ lhz r0, 0(r4) -/* 80043E7C 00040DDC 38 81 00 0C */ addi r4, r1, 0xc -/* 80043E80 00040DE0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80043E84 00040DE4 48 00 86 F1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80043E88 00040DE8 28 03 00 00 */ cmplwi r3, 0 -/* 80043E8C 00040DEC 41 82 00 28 */ beq lbl_80043EB4 -/* 80043E90 00040DF0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80043E94 00040DF4 7F E4 FB 78 */ mr r4, r31 -/* 80043E98 00040DF8 7F A6 EB 78 */ mr r6, r29 -/* 80043E9C 00040DFC 38 A1 00 08 */ addi r5, r1, 8 -/* 80043EA0 00040E00 B0 01 00 08 */ sth r0, 8(r1) -/* 80043EA4 00040E04 81 83 00 00 */ lwz r12, 0(r3) -/* 80043EA8 00040E08 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80043EAC 00040E0C 7D 89 03 A6 */ mtctr r12 -/* 80043EB0 00040E10 4E 80 04 21 */ bctrl -lbl_80043EB4: -/* 80043EB4 00040E14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80043EB8 00040E18 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80043EBC 00040E1C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80043EC0 00040E20 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80043EC4 00040E24 7C 08 03 A6 */ mtlr r0 -/* 80043EC8 00040E28 38 21 00 20 */ addi r1, r1, 0x20 -/* 80043ECC 00040E2C 4E 80 00 20 */ blr - -.global SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage: -/* 80043ED0 00040E30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80043ED4 00040E34 7C 08 02 A6 */ mflr r0 -/* 80043ED8 00040E38 28 04 00 00 */ cmplwi r4, 0 -/* 80043EDC 00040E3C 7C 67 1B 78 */ mr r7, r3 -/* 80043EE0 00040E40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80043EE4 00040E44 41 82 00 38 */ beq lbl_80043F1C -/* 80043EE8 00040E48 88 04 00 30 */ lbz r0, 0x30(r4) -/* 80043EEC 00040E4C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80043EF0 00040E50 40 82 00 2C */ bne lbl_80043F1C -/* 80043EF4 00040E54 A0 05 00 00 */ lhz r0, 0(r5) -/* 80043EF8 00040E58 7C 83 23 78 */ mr r3, r4 -/* 80043EFC 00040E5C 7C C4 33 78 */ mr r4, r6 -/* 80043F00 00040E60 7C E6 3B 78 */ mr r6, r7 -/* 80043F04 00040E64 B0 01 00 08 */ sth r0, 8(r1) -/* 80043F08 00040E68 38 A1 00 08 */ addi r5, r1, 8 -/* 80043F0C 00040E6C 81 83 00 00 */ lwz r12, 0(r3) -/* 80043F10 00040E70 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80043F14 00040E74 7D 89 03 A6 */ mtctr r12 -/* 80043F18 00040E78 4E 80 04 21 */ bctrl -lbl_80043F1C: -/* 80043F1C 00040E7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80043F20 00040E80 7C 08 03 A6 */ mtlr r0 -/* 80043F24 00040E84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80043F28 00040E88 4E 80 00 20 */ blr - -.global sub_80043f2c -sub_80043f2c: -/* 80043F2C 00040E8C 90 83 0F 84 */ stw r4, 0xf84(r3) -/* 80043F30 00040E90 90 A3 0F 88 */ stw r5, 0xf88(r3) -/* 80043F34 00040E94 D0 23 0F 8C */ stfs f1, 0xf8c(r3) -/* 80043F38 00040E98 4E 80 00 20 */ blr - -.global GetPlayer__13CStateManagerCFv -GetPlayer__13CStateManagerCFv: -/* 80043F3C 00040E9C 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 80043F40 00040EA0 4E 80 00 20 */ blr - -.global SetBossParams__13CStateManagerF9TUniqueIdfUi -SetBossParams__13CStateManagerF9TUniqueIdfUi: -/* 80043F44 00040EA4 A0 04 00 00 */ lhz r0, 0(r4) -/* 80043F48 00040EA8 B0 03 0F 18 */ sth r0, 0xf18(r3) -/* 80043F4C 00040EAC D0 23 0F 1C */ stfs f1, 0xf1c(r3) -/* 80043F50 00040EB0 90 A3 0F 20 */ stw r5, 0xf20(r3) -/* 80043F54 00040EB4 4E 80 00 20 */ blr - -.global SetGameState__13CStateManagerFQ213CStateManager10EGameState -SetGameState__13CStateManagerFQ213CStateManager10EGameState: -/* 80043F58 00040EB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80043F5C 00040EBC 7C 08 02 A6 */ mflr r0 -/* 80043F60 00040EC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80043F64 00040EC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80043F68 00040EC8 7C 9F 23 78 */ mr r31, r4 -/* 80043F6C 00040ECC 93 C1 00 08 */ stw r30, 8(r1) -/* 80043F70 00040ED0 7C 7E 1B 78 */ mr r30, r3 -/* 80043F74 00040ED4 80 03 09 04 */ lwz r0, 0x904(r3) -/* 80043F78 00040ED8 7C 00 F8 00 */ cmpw r0, r31 -/* 80043F7C 00040EDC 41 82 00 74 */ beq lbl_80043FF0 -/* 80043F80 00040EE0 2C 00 00 01 */ cmpwi r0, 1 -/* 80043F84 00040EE4 40 82 00 10 */ bne lbl_80043F94 -/* 80043F88 00040EE8 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 80043F8C 00040EEC 38 80 00 00 */ li r4, 0 -/* 80043F90 00040EF0 48 01 20 65 */ bl SetLoadPauseState__6CWorldFb -lbl_80043F94: -/* 80043F94 00040EF4 2C 1F 00 01 */ cmpwi r31, 1 -/* 80043F98 00040EF8 41 82 00 30 */ beq lbl_80043FC8 -/* 80043F9C 00040EFC 40 80 00 50 */ bge lbl_80043FEC -/* 80043FA0 00040F00 2C 1F 00 00 */ cmpwi r31, 0 -/* 80043FA4 00040F04 40 80 00 08 */ bge lbl_80043FAC -/* 80043FA8 00040F08 48 00 00 44 */ b lbl_80043FEC -lbl_80043FAC: -/* 80043FAC 00040F0C 80 7E 08 8C */ lwz r3, 0x88c(r30) -/* 80043FB0 00040F10 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 80043FB4 00040F14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80043FB8 00040F18 41 82 00 34 */ beq lbl_80043FEC -/* 80043FBC 00040F1C 38 80 00 00 */ li r4, 0 -/* 80043FC0 00040F20 48 32 5D 41 */ bl SetDisabled__14CRumbleManagerFb -/* 80043FC4 00040F24 48 00 00 28 */ b lbl_80043FEC -lbl_80043FC8: -/* 80043FC8 00040F28 80 7E 08 8C */ lwz r3, 0x88c(r30) -/* 80043FCC 00040F2C 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 80043FD0 00040F30 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80043FD4 00040F34 40 82 00 0C */ bne lbl_80043FE0 -/* 80043FD8 00040F38 38 80 00 01 */ li r4, 1 -/* 80043FDC 00040F3C 48 32 5D 25 */ bl SetDisabled__14CRumbleManagerFb -lbl_80043FE0: -/* 80043FE0 00040F40 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 80043FE4 00040F44 38 80 00 01 */ li r4, 1 -/* 80043FE8 00040F48 48 01 20 0D */ bl SetLoadPauseState__6CWorldFb -lbl_80043FEC: -/* 80043FEC 00040F4C 93 FE 09 04 */ stw r31, 0x904(r30) -lbl_80043FF0: -/* 80043FF0 00040F50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80043FF4 00040F54 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80043FF8 00040F58 83 C1 00 08 */ lwz r30, 8(r1) -/* 80043FFC 00040F5C 7C 08 03 A6 */ mtlr r0 -/* 80044000 00040F60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80044004 00040F64 4E 80 00 20 */ blr - -.global sub_80044008 -sub_80044008: -/* 80044008 00040F68 90 83 0E F4 */ stw r4, 0xef4(r3) -/* 8004400C 00040F6C 80 05 00 00 */ lwz r0, 0(r5) -/* 80044010 00040F70 90 03 0E F8 */ stw r0, 0xef8(r3) -/* 80044014 00040F74 80 05 00 04 */ lwz r0, 4(r5) -/* 80044018 00040F78 90 03 0E FC */ stw r0, 0xefc(r3) -/* 8004401C 00040F7C 80 06 00 00 */ lwz r0, 0(r6) -/* 80044020 00040F80 90 03 0F 00 */ stw r0, 0xf00(r3) -/* 80044024 00040F84 80 06 00 04 */ lwz r0, 4(r6) -/* 80044028 00040F88 90 03 0F 04 */ stw r0, 0xf04(r3) -/* 8004402C 00040F8C 4E 80 00 20 */ blr - -.global sub_80044030 -sub_80044030: -/* 80044030 00040F90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80044034 00040F94 7C 08 02 A6 */ mflr r0 -/* 80044038 00040F98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004403C 00040F9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80044040 00040FA0 7C 9F 23 78 */ mr r31, r4 -/* 80044044 00040FA4 93 C1 00 08 */ stw r30, 8(r1) -/* 80044048 00040FA8 7C 7E 1B 78 */ mr r30, r3 -/* 8004404C 00040FAC 38 1E 0F 70 */ addi r0, r30, 0xf70 -/* 80044050 00040FB0 7C 1F 00 40 */ cmplw r31, r0 -/* 80044054 00040FB4 41 82 00 1C */ beq lbl_80044070 -/* 80044058 00040FB8 80 7E 0F 70 */ lwz r3, 0xf70(r30) -/* 8004405C 00040FBC 48 2D 18 D5 */ bl Free__7CMemoryFPCv -/* 80044060 00040FC0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80044064 00040FC4 38 00 00 00 */ li r0, 0 -/* 80044068 00040FC8 90 7E 0F 70 */ stw r3, 0xf70(r30) -/* 8004406C 00040FCC 90 1F 00 00 */ stw r0, 0(r31) -lbl_80044070: -/* 80044070 00040FD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80044074 00040FD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80044078 00040FD8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004407C 00040FDC 7C 08 03 A6 */ mtlr r0 -/* 80044080 00040FE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80044084 00040FE4 4E 80 00 20 */ blr - -.global sub_80044088 -sub_80044088: -/* 80044088 00040FE8 80 63 0F 70 */ lwz r3, 0xf70(r3) -/* 8004408C 00040FEC 4E 80 00 20 */ blr - -.global sub_80044090 -sub_80044090: -/* 80044090 00040FF0 80 63 0F 70 */ lwz r3, 0xf70(r3) -/* 80044094 00040FF4 4E 80 00 20 */ blr - -.global sub_80044098 -sub_80044098: -/* 80044098 00040FF8 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 8004409C 00040FFC 7C 08 02 A6 */ mflr r0 -/* 800440A0 00041000 90 01 01 64 */ stw r0, 0x164(r1) -/* 800440A4 00041004 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 800440A8 00041008 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 800440AC 0004100C BE C1 01 28 */ stmw r22, 0x128(r1) -/* 800440B0 00041010 7C BF 2B 78 */ mr r31, r5 -/* 800440B4 00041014 7C 7D 1B 78 */ mr r29, r3 -/* 800440B8 00041018 88 05 00 20 */ lbz r0, 0x20(r5) -/* 800440BC 0004101C 7C 9E 23 78 */ mr r30, r4 -/* 800440C0 00041020 7C D8 33 78 */ mr r24, r6 -/* 800440C4 00041024 7C F7 3B 78 */ mr r23, r7 -/* 800440C8 00041028 28 00 00 00 */ cmplwi r0, 0 -/* 800440CC 0004102C 7D 1B 43 78 */ mr r27, r8 -/* 800440D0 00041030 7D 3C 4B 78 */ mr r28, r9 -/* 800440D4 00041034 41 82 03 80 */ beq lbl_80044454 -/* 800440D8 00041038 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800440DC 0004103C 3C A0 80 5A */ lis r5, lbl_805A66F4@ha -/* 800440E0 00041040 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800440E4 00041044 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l -/* 800440E8 00041048 38 61 00 94 */ addi r3, r1, 0x94 -/* 800440EC 0004104C 38 BF 00 10 */ addi r5, r31, 0x10 -/* 800440F0 00041050 48 2C FA 21 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800440F4 00041054 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 800440F8 00041058 38 81 00 94 */ addi r4, r1, 0x94 -/* 800440FC 0004105C 48 2C EA 79 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80044100 00041060 A0 78 00 00 */ lhz r3, 0(r24) -/* 80044104 00041064 3B 20 00 01 */ li r25, 1 -/* 80044108 00041068 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004410C 0004106C C0 5F 00 04 */ lfs f2, 4(r31) -/* 80044110 00041070 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80044114 00041074 7C 03 00 40 */ cmplw r3, r0 -/* 80044118 00041078 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8004411C 0004107C D0 41 00 FC */ stfs f2, 0xfc(r1) -/* 80044120 00041080 D0 21 01 0C */ stfs f1, 0x10c(r1) -/* 80044124 00041084 D0 01 01 1C */ stfs f0, 0x11c(r1) -/* 80044128 00041088 40 82 00 30 */ bne lbl_80044158 -/* 8004412C 0004108C 3C 60 00 E4 */ lis r3, 0x00E3FFFE@ha -/* 80044130 00041090 80 BF 00 28 */ lwz r5, 0x28(r31) -/* 80044134 00041094 38 00 00 00 */ li r0, 0 -/* 80044138 00041098 80 9F 00 2C */ lwz r4, 0x2c(r31) -/* 8004413C 0004109C 38 63 FF FE */ addi r3, r3, 0x00E3FFFE@l -/* 80044140 000410A0 7C 84 18 38 */ and r4, r4, r3 -/* 80044144 000410A4 7C A3 00 38 */ and r3, r5, r0 -/* 80044148 000410A8 48 28 BA C1 */ bl BitPosition__13CMaterialListFUx -/* 8004414C 000410AC 48 26 E2 79 */ bl GetWorldCollisionResponseType__22CCollisionResponseDataFi -/* 80044150 000410B0 7C 79 1B 78 */ mr r25, r3 -/* 80044154 000410B4 48 00 00 50 */ b lbl_800441A4 -lbl_80044158: -/* 80044158 000410B8 B0 61 00 18 */ sth r3, 0x18(r1) -/* 8004415C 000410BC 7F A3 EB 78 */ mr r3, r29 -/* 80044160 000410C0 38 81 00 18 */ addi r4, r1, 0x18 -/* 80044164 000410C4 48 00 84 41 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80044168 000410C8 7C 64 1B 78 */ mr r4, r3 -/* 8004416C 000410CC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80044170 000410D0 48 06 BB 21 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80044174 000410D4 80 63 00 04 */ lwz r3, 4(r3) -/* 80044178 000410D8 28 03 00 00 */ cmplwi r3, 0 -/* 8004417C 000410DC 41 82 00 28 */ beq lbl_800441A4 -/* 80044180 000410E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80044184 000410E4 7E E6 BB 78 */ mr r6, r23 -/* 80044188 000410E8 38 9F 00 04 */ addi r4, r31, 4 -/* 8004418C 000410EC 38 BF 00 10 */ addi r5, r31, 0x10 -/* 80044190 000410F0 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 80044194 000410F4 38 E0 00 00 */ li r7, 0 -/* 80044198 000410F8 7D 89 03 A6 */ mtctr r12 -/* 8004419C 000410FC 4E 80 04 21 */ bctrl -/* 800441A0 00041100 7C 79 1B 78 */ mr r25, r3 -lbl_800441A4: -/* 800441A4 00041104 7F C4 F3 78 */ mr r4, r30 -/* 800441A8 00041108 7F 25 CB 78 */ mr r5, r25 -/* 800441AC 0004110C 38 61 00 5C */ addi r3, r1, 0x5c -/* 800441B0 00041110 48 26 E4 11 */ bl GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes -/* 800441B4 00041114 88 01 00 68 */ lbz r0, 0x68(r1) -/* 800441B8 00041118 28 00 00 00 */ cmplwi r0, 0 -/* 800441BC 0004111C 98 01 00 78 */ stb r0, 0x78(r1) -/* 800441C0 00041120 41 82 00 28 */ beq lbl_800441E8 -/* 800441C4 00041124 37 01 00 6C */ addic. r24, r1, 0x6c -/* 800441C8 00041128 38 81 00 5C */ addi r4, r1, 0x5c -/* 800441CC 0004112C 41 82 00 1C */ beq lbl_800441E8 -/* 800441D0 00041130 7F 03 C3 78 */ mr r3, r24 -/* 800441D4 00041134 48 2F CC D5 */ bl __ct__6CTokenFRC6CToken -/* 800441D8 00041138 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800441DC 0004113C 7F 03 C3 78 */ mr r3, r24 -/* 800441E0 00041140 90 18 00 08 */ stw r0, 8(r24) -/* 800441E4 00041144 48 2F CB A1 */ bl Lock__6CTokenFv -lbl_800441E8: -/* 800441E8 00041148 88 01 00 68 */ lbz r0, 0x68(r1) -/* 800441EC 0004114C 28 00 00 00 */ cmplwi r0, 0 -/* 800441F0 00041150 41 82 00 1C */ beq lbl_8004420C -/* 800441F4 00041154 34 61 00 5C */ addic. r3, r1, 0x5c -/* 800441F8 00041158 41 82 00 14 */ beq lbl_8004420C -/* 800441FC 0004115C 28 03 00 00 */ cmplwi r3, 0 -/* 80044200 00041160 41 82 00 0C */ beq lbl_8004420C -/* 80044204 00041164 38 80 00 00 */ li r4, 0 -/* 80044208 00041168 48 2F CC 39 */ bl __dt__6CTokenFv -lbl_8004420C: -/* 8004420C 0004116C 88 01 00 78 */ lbz r0, 0x78(r1) -/* 80044210 00041170 38 60 00 00 */ li r3, 0 -/* 80044214 00041174 98 61 00 68 */ stb r3, 0x68(r1) -/* 80044218 00041178 28 00 00 00 */ cmplwi r0, 0 -/* 8004421C 0004117C 41 82 01 54 */ beq lbl_80044370 -/* 80044220 00041180 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha -/* 80044224 00041184 3B 00 00 00 */ li r24, 0 -/* 80044228 00041188 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l -/* 8004422C 0004118C 3A C0 00 00 */ li r22, 0 -/* 80044230 00041190 38 60 01 00 */ li r3, 0x100 -/* 80044234 00041194 38 A0 00 00 */ li r5, 0 -/* 80044238 00041198 48 2D 16 35 */ bl __nw__FUlPCcPCc -/* 8004423C 0004119C 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80044240 000411A0 41 82 00 C8 */ beq lbl_80044308 -/* 80044244 000411A4 57 64 06 3E */ clrlwi r4, r27, 0x18 -/* 80044248 000411A8 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 8004424C 000411AC 7C 64 00 D0 */ neg r3, r4 -/* 80044250 000411B0 57 80 06 3E */ clrlwi r0, r28, 0x18 -/* 80044254 000411B4 7C 65 23 78 */ or r5, r3, r4 -/* 80044258 000411B8 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha -/* 8004425C 000411BC 7C 00 00 34 */ cntlzw r0, r0 -/* 80044260 000411C0 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80044264 000411C4 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l -/* 80044268 000411C8 7C A5 FE 70 */ srawi r5, r5, 0x1f -/* 8004426C 000411CC 38 60 00 02 */ li r3, 2 -/* 80044270 000411D0 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80044274 000411D4 3B 61 00 50 */ addi r27, r1, 0x50 -/* 80044278 000411D8 54 17 D9 7E */ srwi r23, r0, 5 -/* 8004427C 000411DC D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80044280 000411E0 7C 7C 28 38 */ and r28, r3, r5 -/* 80044284 000411E4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80044288 000411E8 38 84 00 07 */ addi r4, r4, 7 -/* 8004428C 000411EC 4B FC 0A 2D */ bl string_l__4rstlFPCc -/* 80044290 000411F0 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) -/* 80044294 000411F4 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 80044298 000411F8 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8004429C 000411FC 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 800442A0 00041200 90 81 00 34 */ stw r4, 0x34(r1) -/* 800442A4 00041204 38 61 00 7C */ addi r3, r1, 0x7c -/* 800442A8 00041208 38 81 00 30 */ addi r4, r1, 0x30 -/* 800442AC 0004120C 38 C1 00 34 */ addi r6, r1, 0x34 -/* 800442B0 00041210 90 01 00 30 */ stw r0, 0x30(r1) -/* 800442B4 00041214 3B 00 00 01 */ li r24, 1 -/* 800442B8 00041218 48 00 D1 CD */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 800442BC 0004121C 7F A4 EB 78 */ mr r4, r29 -/* 800442C0 00041220 38 61 00 10 */ addi r3, r1, 0x10 -/* 800442C4 00041224 3A C0 00 01 */ li r22, 1 -/* 800442C8 00041228 48 00 8E 15 */ bl AllocateUniqueId__13CStateManagerFv -/* 800442CC 0004122C A0 01 00 10 */ lhz r0, 0x10(r1) -/* 800442D0 00041230 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800442D4 00041234 48 30 5C D9 */ bl White__6CColorFv -/* 800442D8 00041238 93 61 00 08 */ stw r27, 8(r1) -/* 800442DC 0004123C 38 81 00 6C */ addi r4, r1, 0x6c -/* 800442E0 00041240 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800442E4 00041244 38 E1 00 7C */ addi r7, r1, 0x7c -/* 800442E8 00041248 90 61 00 0C */ stw r3, 0xc(r1) -/* 800442EC 0004124C 7F 43 D3 78 */ mr r3, r26 -/* 800442F0 00041250 39 01 00 40 */ addi r8, r1, 0x40 -/* 800442F4 00041254 39 21 00 F0 */ addi r9, r1, 0xf0 -/* 800442F8 00041258 7E EA E3 78 */ or r10, r23, r28 -/* 800442FC 0004125C 38 C0 00 01 */ li r6, 1 -/* 80044300 00041260 48 01 67 F9 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" -/* 80044304 00041264 7C 7A 1B 78 */ mr r26, r3 -lbl_80044308: -/* 80044308 00041268 7E C0 07 75 */ extsb. r0, r22 -/* 8004430C 0004126C 7F 57 D3 78 */ mr r23, r26 -/* 80044310 00041270 41 82 00 44 */ beq lbl_80044354 -/* 80044314 00041274 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80044318 00041278 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 8004431C 0004127C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80044320 00041280 90 61 00 20 */ stw r3, 0x20(r1) -/* 80044324 00041284 7C 64 1B 78 */ mr r4, r3 -/* 80044328 00041288 7C 03 02 14 */ add r0, r3, r0 -/* 8004432C 0004128C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80044330 00041290 90 01 00 28 */ stw r0, 0x28(r1) -/* 80044334 00041294 90 01 00 24 */ stw r0, 0x24(r1) -/* 80044338 00041298 48 00 00 08 */ b lbl_80044340 -lbl_8004433C: -/* 8004433C 0004129C 38 84 00 0C */ addi r4, r4, 0xc -lbl_80044340: -/* 80044340 000412A0 7C 04 00 40 */ cmplw r4, r0 -/* 80044344 000412A4 40 82 FF F8 */ bne lbl_8004433C -/* 80044348 000412A8 28 03 00 00 */ cmplwi r3, 0 -/* 8004434C 000412AC 41 82 00 08 */ beq lbl_80044354 -/* 80044350 000412B0 48 2D 15 E1 */ bl Free__7CMemoryFPCv -lbl_80044354: -/* 80044354 000412B4 7F 00 07 75 */ extsb. r0, r24 -/* 80044358 000412B8 41 82 00 0C */ beq lbl_80044364 -/* 8004435C 000412BC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80044360 000412C0 48 2F 97 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80044364: -/* 80044364 000412C4 7F A3 EB 78 */ mr r3, r29 -/* 80044368 000412C8 7E E4 BB 78 */ mr r4, r23 -/* 8004436C 000412CC 48 00 89 89 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -lbl_80044370: -/* 80044370 000412D0 7F C3 F3 78 */ mr r3, r30 -/* 80044374 000412D4 7F 24 CB 78 */ mr r4, r25 -/* 80044378 000412D8 48 26 E1 59 */ bl GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes -/* 8004437C 000412DC 7C 78 1B 79 */ or. r24, r3, r3 -/* 80044380 000412E0 41 80 00 A8 */ blt lbl_80044428 -/* 80044384 000412E4 7F C3 F3 78 */ mr r3, r30 -/* 80044388 000412E8 48 26 E0 71 */ bl GetAudibleRange__22CCollisionResponseDataCFv -/* 8004438C 000412EC FF E0 08 90 */ fmr f31, f1 -/* 80044390 000412F0 7F C3 F3 78 */ mr r3, r30 -/* 80044394 000412F4 48 26 E0 5D */ bl GetAudibleFallOff__22CCollisionResponseDataCFv -/* 80044398 000412F8 C0 82 85 68 */ lfs f4, lbl_805AA288@sda21(r2) -/* 8004439C 000412FC 38 C0 00 00 */ li r6, 0 -/* 800443A0 00041300 88 A2 CC 40 */ lbz r5, lbl_805AE960@sda21(r2) -/* 800443A4 00041304 38 E0 00 01 */ li r7, 1 -/* 800443A8 00041308 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) -/* 800443AC 0004130C 38 80 00 14 */ li r4, 0x14 -/* 800443B0 00041310 D0 81 00 C4 */ stfs f4, 0xc4(r1) -/* 800443B4 00041314 57 03 04 3E */ clrlwi r3, r24, 0x10 -/* 800443B8 00041318 C0 7F 00 04 */ lfs f3, 4(r31) -/* 800443BC 0004131C D0 81 00 C8 */ stfs f4, 0xc8(r1) -/* 800443C0 00041320 C0 5F 00 08 */ lfs f2, 8(r31) -/* 800443C4 00041324 D0 81 00 CC */ stfs f4, 0xcc(r1) -/* 800443C8 00041328 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 800443CC 0004132C D0 81 00 D0 */ stfs f4, 0xd0(r1) -/* 800443D0 00041330 D0 81 00 D4 */ stfs f4, 0xd4(r1) -/* 800443D4 00041334 D0 81 00 D8 */ stfs f4, 0xd8(r1) -/* 800443D8 00041338 D3 E1 00 DC */ stfs f31, 0xdc(r1) -/* 800443DC 0004133C D0 21 00 E0 */ stfs f1, 0xe0(r1) -/* 800443E0 00041340 90 E1 00 E4 */ stw r7, 0xe4(r1) -/* 800443E4 00041344 B0 C1 00 E8 */ sth r6, 0xe8(r1) -/* 800443E8 00041348 98 A1 00 EA */ stb r5, 0xea(r1) -/* 800443EC 0004134C 98 81 00 EB */ stb r4, 0xeb(r1) -/* 800443F0 00041350 98 C1 00 EC */ stb r6, 0xec(r1) -/* 800443F4 00041354 98 01 00 ED */ stb r0, 0xed(r1) -/* 800443F8 00041358 D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 800443FC 0004135C D0 41 00 C8 */ stfs f2, 0xc8(r1) -/* 80044400 00041360 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 80044404 00041364 48 2A 45 AD */ bl TranslateSFXID__11CSfxManagerFUs -/* 80044408 00041368 B0 61 00 E8 */ sth r3, 0xe8(r1) -/* 8004440C 0004136C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80044410 00041370 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 80044414 00041374 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 80044418 00041378 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) -/* 8004441C 0004137C 38 A0 00 01 */ li r5, 1 -/* 80044420 00041380 38 E0 00 00 */ li r7, 0 -/* 80044424 00041384 48 2A 5B BD */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -lbl_80044428: -/* 80044428 00041388 88 01 00 78 */ lbz r0, 0x78(r1) -/* 8004442C 0004138C 28 00 00 00 */ cmplwi r0, 0 -/* 80044430 00041390 41 82 00 1C */ beq lbl_8004444C -/* 80044434 00041394 34 61 00 6C */ addic. r3, r1, 0x6c -/* 80044438 00041398 41 82 00 14 */ beq lbl_8004444C -/* 8004443C 0004139C 28 03 00 00 */ cmplwi r3, 0 -/* 80044440 000413A0 41 82 00 0C */ beq lbl_8004444C -/* 80044444 000413A4 38 80 00 00 */ li r4, 0 -/* 80044448 000413A8 48 2F C9 F9 */ bl __dt__6CTokenFv -lbl_8004444C: -/* 8004444C 000413AC 38 00 00 00 */ li r0, 0 -/* 80044450 000413B0 98 01 00 78 */ stb r0, 0x78(r1) -lbl_80044454: -/* 80044454 000413B4 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 80044458 000413B8 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 8004445C 000413BC BA C1 01 28 */ lmw r22, 0x128(r1) -/* 80044460 000413C0 80 01 01 64 */ lwz r0, 0x164(r1) -/* 80044464 000413C4 7C 08 03 A6 */ mtlr r0 -/* 80044468 000413C8 38 21 01 60 */ addi r1, r1, 0x160 -/* 8004446C 000413CC 4E 80 00 20 */ blr - -.global GetCharacterRenderMaskAndTarget__13CStateManagerFbRiRi -GetCharacterRenderMaskAndTarget__13CStateManagerFbRiRi: -/* 80044470 000413D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80044474 000413D4 7C 08 02 A6 */ mflr r0 -/* 80044478 000413D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004447C 000413DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80044480 000413E0 7C DF 33 78 */ mr r31, r6 -/* 80044484 000413E4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80044488 000413E8 7C BE 2B 78 */ mr r30, r5 -/* 8004448C 000413EC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80044490 000413F0 7C 9D 23 78 */ mr r29, r4 -/* 80044494 000413F4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80044498 000413F8 7C 7C 1B 78 */ mr r28, r3 -/* 8004449C 000413FC 7F 84 E3 78 */ mr r4, r28 -/* 800444A0 00041400 80 63 08 B8 */ lwz r3, 0x8b8(r3) -/* 800444A4 00041404 80 63 00 00 */ lwz r3, 0(r3) -/* 800444A8 00041408 48 04 D0 B1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 800444AC 0004140C 2C 03 00 02 */ cmpwi r3, 2 -/* 800444B0 00041410 38 00 00 00 */ li r0, 0 -/* 800444B4 00041414 38 80 00 00 */ li r4, 0 -/* 800444B8 00041418 41 82 00 24 */ beq lbl_800444DC -/* 800444BC 0004141C 40 80 00 14 */ bge lbl_800444D0 -/* 800444C0 00041420 2C 03 00 00 */ cmpwi r3, 0 -/* 800444C4 00041424 41 82 00 18 */ beq lbl_800444DC -/* 800444C8 00041428 40 80 00 20 */ bge lbl_800444E8 -/* 800444CC 0004142C 48 00 00 74 */ b lbl_80044540 -lbl_800444D0: -/* 800444D0 00041430 2C 03 00 04 */ cmpwi r3, 4 -/* 800444D4 00041434 40 80 00 6C */ bge lbl_80044540 -/* 800444D8 00041438 48 00 00 1C */ b lbl_800444F4 -lbl_800444DC: -/* 800444DC 0004143C 38 00 10 00 */ li r0, 0x1000 -/* 800444E0 00041440 38 80 00 00 */ li r4, 0 -/* 800444E4 00041444 48 00 00 5C */ b lbl_80044540 -lbl_800444E8: -/* 800444E8 00041448 38 00 08 00 */ li r0, 0x800 -/* 800444EC 0004144C 38 80 00 00 */ li r4, 0 -/* 800444F0 00041450 48 00 00 50 */ b lbl_80044540 -lbl_800444F4: -/* 800444F4 00041454 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 800444F8 00041458 41 82 00 28 */ beq lbl_80044520 -/* 800444FC 0004145C 80 1C 0F 34 */ lwz r0, 0xf34(r28) -/* 80044500 00041460 2C 00 00 00 */ cmpwi r0, 0 -/* 80044504 00041464 40 82 00 10 */ bne lbl_80044514 -/* 80044508 00041468 38 00 06 00 */ li r0, 0x600 -/* 8004450C 0004146C 38 80 00 00 */ li r4, 0 -/* 80044510 00041470 48 00 00 30 */ b lbl_80044540 -lbl_80044514: -/* 80044514 00041474 38 00 06 00 */ li r0, 0x600 -/* 80044518 00041478 38 80 02 00 */ li r4, 0x200 -/* 8004451C 0004147C 48 00 00 24 */ b lbl_80044540 -lbl_80044520: -/* 80044520 00041480 80 1C 0F 34 */ lwz r0, 0xf34(r28) -/* 80044524 00041484 2C 00 00 01 */ cmpwi r0, 1 -/* 80044528 00041488 40 82 00 10 */ bne lbl_80044538 -/* 8004452C 0004148C 38 00 05 00 */ li r0, 0x500 -/* 80044530 00041490 38 80 00 00 */ li r4, 0 -/* 80044534 00041494 48 00 00 0C */ b lbl_80044540 -lbl_80044538: -/* 80044538 00041498 38 00 05 00 */ li r0, 0x500 -/* 8004453C 0004149C 38 80 01 00 */ li r4, 0x100 -lbl_80044540: -/* 80044540 000414A0 90 1E 00 00 */ stw r0, 0(r30) -/* 80044544 000414A4 90 9F 00 00 */ stw r4, 0(r31) -/* 80044548 000414A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004454C 000414AC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80044550 000414B0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80044554 000414B4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80044558 000414B8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8004455C 000414BC 7C 08 03 A6 */ mtlr r0 -/* 80044560 000414C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80044564 000414C4 4E 80 00 20 */ blr - -.global UpdateThermalVisor__13CStateManagerFv -UpdateThermalVisor__13CStateManagerFv: -/* 80044568 000414C8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8004456C 000414CC 7C 08 02 A6 */ mflr r0 -/* 80044570 000414D0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80044574 000414D4 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80044578 000414D8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8004457C 000414DC DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80044580 000414E0 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80044584 000414E4 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80044588 000414E8 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8004458C 000414EC DB 81 00 60 */ stfd f28, 0x60(r1) -/* 80044590 000414F0 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 80044594 000414F4 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 80044598 000414F8 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 8004459C 000414FC DB 41 00 40 */ stfd f26, 0x40(r1) -/* 800445A0 00041500 F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 -/* 800445A4 00041504 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 800445A8 00041508 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 800445AC 0004150C 7C 7C 1B 78 */ mr r28, r3 -/* 800445B0 00041510 7F 84 E3 78 */ mr r4, r28 -/* 800445B4 00041514 D0 03 0F 28 */ stfs f0, 0xf28(r3) -/* 800445B8 00041518 D0 03 0F 24 */ stfs f0, 0xf24(r3) -/* 800445BC 0004151C 80 63 08 B8 */ lwz r3, 0x8b8(r3) -/* 800445C0 00041520 80 63 00 00 */ lwz r3, 0(r3) -/* 800445C4 00041524 48 04 CF 95 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 800445C8 00041528 2C 03 00 03 */ cmpwi r3, 3 -/* 800445CC 0004152C 40 82 01 DC */ bne lbl_800447A8 -/* 800445D0 00041530 80 BC 08 CC */ lwz r5, 0x8cc(r28) -/* 800445D4 00041534 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800445D8 00041538 90 A1 00 18 */ stw r5, 0x18(r1) -/* 800445DC 0004153C 7C 05 00 00 */ cmpw r5, r0 -/* 800445E0 00041540 41 82 01 C8 */ beq lbl_800447A8 -/* 800445E4 00041544 80 9C 08 50 */ lwz r4, 0x850(r28) -/* 800445E8 00041548 54 A3 18 38 */ slwi r3, r5, 3 -/* 800445EC 0004154C C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 800445F0 00041550 38 03 00 04 */ addi r0, r3, 4 -/* 800445F4 00041554 80 64 00 20 */ lwz r3, 0x20(r4) -/* 800445F8 00041558 3B C0 00 00 */ li r30, 0 -/* 800445FC 0004155C 80 9C 08 4C */ lwz r4, 0x84c(r28) -/* 80044600 00041560 EF 60 00 32 */ fmuls f27, f0, f0 -/* 80044604 00041564 7F 63 00 2E */ lwzx r27, r3, r0 -/* 80044608 00041568 3B A0 00 00 */ li r29, 0 -/* 8004460C 0004156C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80044610 00041570 3B E0 00 00 */ li r31, 0 -/* 80044614 00041574 C3 C4 00 40 */ lfs f30, 0x40(r4) -/* 80044618 00041578 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8004461C 0004157C C3 A4 00 50 */ lfs f29, 0x50(r4) -/* 80044620 00041580 C3 82 85 6C */ lfs f28, lbl_805AA28C@sda21(r2) -/* 80044624 00041584 83 5B 00 D0 */ lwz r26, 0xd0(r27) -/* 80044628 00041588 C3 E2 85 70 */ lfs f31, lbl_805AA290@sda21(r2) -/* 8004462C 0004158C 48 00 00 E4 */ b lbl_80044710 -lbl_80044630: -/* 80044630 00041590 80 1B 00 D8 */ lwz r0, 0xd8(r27) -/* 80044634 00041594 7C 80 FA 14 */ add r4, r0, r31 -/* 80044638 00041598 C0 64 00 1C */ lfs f3, 0x1c(r4) -/* 8004463C 0004159C C0 44 00 28 */ lfs f2, 0x28(r4) -/* 80044640 000415A0 C0 24 00 18 */ lfs f1, 0x18(r4) -/* 80044644 000415A4 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 80044648 000415A8 EC 83 10 2A */ fadds f4, f3, f2 -/* 8004464C 000415AC C0 64 00 34 */ lfs f3, 0x34(r4) -/* 80044650 000415B0 EC 41 00 2A */ fadds f2, f1, f0 -/* 80044654 000415B4 C0 24 00 30 */ lfs f1, 0x30(r4) -/* 80044658 000415B8 EC 84 18 2A */ fadds f4, f4, f3 -/* 8004465C 000415BC C0 64 00 40 */ lfs f3, 0x40(r4) -/* 80044660 000415C0 C0 04 00 3C */ lfs f0, 0x3c(r4) -/* 80044664 000415C4 EC 22 08 2A */ fadds f1, f2, f1 -/* 80044668 000415C8 EC 44 18 2A */ fadds f2, f4, f3 -/* 8004466C 000415CC EC 01 00 2A */ fadds f0, f1, f0 -/* 80044670 000415D0 EC 3F 00 B2 */ fmuls f1, f31, f2 -/* 80044674 000415D4 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80044678 000415D8 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8004467C 000415DC EC 5E 00 28 */ fsubs f2, f30, f0 -/* 80044680 000415E0 EC 01 00 72 */ fmuls f0, f1, f1 -/* 80044684 000415E4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80044688 000415E8 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 8004468C 000415EC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80044690 000415F0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80044694 000415F4 EF 5B 00 2A */ fadds f26, f27, f0 -/* 80044698 000415F8 FC 1A E0 40 */ fcmpo cr0, f26, f28 -/* 8004469C 000415FC 40 80 00 6C */ bge lbl_80044708 -/* 800446A0 00041600 38 61 00 0C */ addi r3, r1, 0xc -/* 800446A4 00041604 38 A0 00 00 */ li r5, 0 -/* 800446A8 00041608 48 01 AC 7D */ bl GetConnectedAreaId__Q29IGameArea4DockCFi -/* 800446AC 0004160C 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 800446B0 00041610 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800446B4 00041614 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800446B8 00041618 7C 05 00 00 */ cmpw r5, r0 -/* 800446BC 0004161C 41 82 00 4C */ beq lbl_80044708 -/* 800446C0 00041620 80 9C 08 50 */ lwz r4, 0x850(r28) -/* 800446C4 00041624 54 A3 18 38 */ slwi r3, r5, 3 -/* 800446C8 00041628 38 03 00 04 */ addi r0, r3, 4 -/* 800446CC 0004162C 90 A1 00 08 */ stw r5, 8(r1) -/* 800446D0 00041630 80 64 00 20 */ lwz r3, 0x20(r4) -/* 800446D4 00041634 7C 83 00 2E */ lwzx r4, r3, r0 -/* 800446D8 00041638 88 04 00 F0 */ lbz r0, 0xf0(r4) -/* 800446DC 0004163C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800446E0 00041640 41 82 00 28 */ beq lbl_80044708 -/* 800446E4 00041644 41 82 00 10 */ beq lbl_800446F4 -/* 800446E8 00041648 80 64 01 2C */ lwz r3, 0x12c(r4) -/* 800446EC 0004164C 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 800446F0 00041650 48 00 00 08 */ b lbl_800446F8 -lbl_800446F4: -/* 800446F4 00041654 38 00 00 00 */ li r0, 0 -lbl_800446F8: -/* 800446F8 00041658 2C 00 00 01 */ cmpwi r0, 1 -/* 800446FC 0004165C 40 82 00 0C */ bne lbl_80044708 -/* 80044700 00041660 FF 80 D0 90 */ fmr f28, f26 -/* 80044704 00041664 7C 9E 23 78 */ mr r30, r4 -lbl_80044708: -/* 80044708 00041668 3B FF 00 4C */ addi r31, r31, 0x4c -/* 8004470C 0004166C 3B BD 00 01 */ addi r29, r29, 1 -lbl_80044710: -/* 80044710 00041670 7C 1D D0 00 */ cmpw r29, r26 -/* 80044714 00041674 41 80 FF 1C */ blt lbl_80044630 -/* 80044718 00041678 80 7B 01 2C */ lwz r3, 0x12c(r27) -/* 8004471C 0004167C 28 1E 00 00 */ cmplwi r30, 0 -/* 80044720 00041680 C0 43 11 1C */ lfs f2, 0x111c(r3) -/* 80044724 00041684 41 82 00 80 */ beq lbl_800447A4 -/* 80044728 00041688 C0 62 85 68 */ lfs f3, lbl_805AA288@sda21(r2) -/* 8004472C 0004168C FC 03 E0 00 */ fcmpu cr0, f3, f28 -/* 80044730 00041690 40 82 00 08 */ bne lbl_80044738 -/* 80044734 00041694 48 00 00 10 */ b lbl_80044744 -lbl_80044738: -/* 80044738 00041698 FC 00 E0 34 */ frsqrte f0, f28 -/* 8004473C 0004169C FC 7C 00 32 */ fmul f3, f28, f0 -/* 80044740 000416A0 FC 60 18 18 */ frsp f3, f3 -lbl_80044744: -/* 80044744 000416A4 C0 22 85 74 */ lfs f1, lbl_805AA294@sda21(r2) -/* 80044748 000416A8 C0 02 85 78 */ lfs f0, lbl_805AA298@sda21(r2) -/* 8004474C 000416AC EC 63 08 28 */ fsubs f3, f3, f1 -/* 80044750 000416B0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80044754 000416B4 40 80 00 48 */ bge lbl_8004479C -/* 80044758 000416B8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004475C 000416BC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80044760 000416C0 40 81 00 18 */ ble lbl_80044778 -/* 80044764 000416C4 C0 02 85 80 */ lfs f0, lbl_805AA2A0@sda21(r2) -/* 80044768 000416C8 C0 22 85 7C */ lfs f1, lbl_805AA29C@sda21(r2) -/* 8004476C 000416CC EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80044770 000416D0 EC 61 08 3A */ fmadds f3, f1, f0, f1 -/* 80044774 000416D4 48 00 00 08 */ b lbl_8004477C -lbl_80044778: -/* 80044778 000416D8 C0 62 85 7C */ lfs f3, lbl_805AA29C@sda21(r2) -lbl_8004477C: -/* 8004477C 000416DC C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 80044780 000416E0 80 7E 01 2C */ lwz r3, 0x12c(r30) -/* 80044784 000416E4 EC 20 18 28 */ fsubs f1, f0, f3 -/* 80044788 000416E8 C0 03 11 1C */ lfs f0, 0x111c(r3) -/* 8004478C 000416EC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80044790 000416F0 EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 80044794 000416F4 D0 1C 0F 24 */ stfs f0, 0xf24(r28) -/* 80044798 000416F8 48 00 00 10 */ b lbl_800447A8 -lbl_8004479C: -/* 8004479C 000416FC D0 5C 0F 24 */ stfs f2, 0xf24(r28) -/* 800447A0 00041700 48 00 00 08 */ b lbl_800447A8 -lbl_800447A4: -/* 800447A4 00041704 D0 5C 0F 24 */ stfs f2, 0xf24(r28) -lbl_800447A8: -/* 800447A8 00041708 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 800447AC 0004170C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 800447B0 00041710 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 800447B4 00041714 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 800447B8 00041718 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 800447BC 0004171C CB A1 00 70 */ lfd f29, 0x70(r1) -/* 800447C0 00041720 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 800447C4 00041724 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 800447C8 00041728 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 800447CC 0004172C CB 61 00 50 */ lfd f27, 0x50(r1) -/* 800447D0 00041730 E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 -/* 800447D4 00041734 CB 41 00 40 */ lfd f26, 0x40(r1) -/* 800447D8 00041738 BB 41 00 28 */ lmw r26, 0x28(r1) -/* 800447DC 0004173C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 800447E0 00041740 7C 08 03 A6 */ mtlr r0 -/* 800447E4 00041744 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 800447E8 00041748 4E 80 00 20 */ blr - -.global CanShowMapScreen__13CStateManagerFv -CanShowMapScreen__13CStateManagerFv: -/* 800447EC 0004174C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800447F0 00041750 7C 08 02 A6 */ mflr r0 -/* 800447F4 00041754 90 01 00 14 */ stw r0, 0x14(r1) -/* 800447F8 00041758 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800447FC 0004175C 38 63 01 F8 */ addi r3, r3, 0x1f8 -/* 80044800 00041760 48 22 2F 1D */ bl GetCurrentDisplayedHint__12CHintOptionsCFv -/* 80044804 00041764 28 03 00 00 */ cmplwi r3, 0 -/* 80044808 00041768 41 82 00 18 */ beq lbl_80044820 -/* 8004480C 0004176C 48 22 36 41 */ bl CanContinue__Q212CHintOptions10SHintStateFv -/* 80044810 00041770 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80044814 00041774 40 82 00 0C */ bne lbl_80044820 -/* 80044818 00041778 38 60 00 00 */ li r3, 0 -/* 8004481C 0004177C 48 00 00 08 */ b lbl_80044824 -lbl_80044820: -/* 80044820 00041780 38 60 00 01 */ li r3, 1 -lbl_80044824: -/* 80044824 00041784 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80044828 00041788 7C 08 03 A6 */ mtlr r0 -/* 8004482C 0004178C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80044830 00041790 4E 80 00 20 */ blr - -.global ShowPausedHUDMemo__13CStateManagerFUif -ShowPausedHUDMemo__13CStateManagerFUif: -/* 80044834 00041794 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80044838 00041798 7C 08 02 A6 */ mflr r0 -/* 8004483C 0004179C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80044840 000417A0 D0 23 0F 78 */ stfs f1, 0xf78(r3) -/* 80044844 000417A4 90 83 0F 08 */ stw r4, 0xf08(r3) -/* 80044848 000417A8 38 80 00 05 */ li r4, 5 -/* 8004484C 000417AC 48 00 00 15 */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition -/* 80044850 000417B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80044854 000417B4 7C 08 03 A6 */ mtlr r0 -/* 80044858 000417B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004485C 000417BC 4E 80 00 20 */ blr - -.global DeferStateTransition__13CStateManagerF23EStateManagerTransition -DeferStateTransition__13CStateManagerF23EStateManagerTransition: -/* 80044860 000417C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80044864 000417C4 7C 08 02 A6 */ mflr r0 -/* 80044868 000417C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004486C 000417CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80044870 000417D0 7C 9F 23 79 */ or. r31, r4, r4 -/* 80044874 000417D4 93 C1 00 08 */ stw r30, 8(r1) -/* 80044878 000417D8 7C 7E 1B 78 */ mr r30, r3 -/* 8004487C 000417DC 40 82 00 28 */ bne lbl_800448A4 -/* 80044880 000417E0 80 1E 0F 90 */ lwz r0, 0xf90(r30) -/* 80044884 000417E4 2C 00 00 00 */ cmpwi r0, 0 -/* 80044888 000417E8 41 82 00 38 */ beq lbl_800448C0 -/* 8004488C 000417EC 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 80044890 000417F0 38 80 00 00 */ li r4, 0 -/* 80044894 000417F4 48 01 17 61 */ bl SetLoadPauseState__6CWorldFb -/* 80044898 000417F8 38 00 00 00 */ li r0, 0 -/* 8004489C 000417FC 90 1E 0F 90 */ stw r0, 0xf90(r30) -/* 800448A0 00041800 48 00 00 20 */ b lbl_800448C0 -lbl_800448A4: -/* 800448A4 00041804 80 1E 0F 90 */ lwz r0, 0xf90(r30) -/* 800448A8 00041808 2C 00 00 00 */ cmpwi r0, 0 -/* 800448AC 0004180C 40 82 00 14 */ bne lbl_800448C0 -/* 800448B0 00041810 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 800448B4 00041814 38 80 00 01 */ li r4, 1 -/* 800448B8 00041818 48 01 17 3D */ bl SetLoadPauseState__6CWorldFb -/* 800448BC 0004181C 93 FE 0F 90 */ stw r31, 0xf90(r30) -lbl_800448C0: -/* 800448C0 00041820 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800448C4 00041824 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800448C8 00041828 83 C1 00 08 */ lwz r30, 8(r1) -/* 800448CC 0004182C 7C 08 03 A6 */ mtlr r0 -/* 800448D0 00041830 38 21 00 10 */ addi r1, r1, 0x10 -/* 800448D4 00041834 4E 80 00 20 */ blr - -.global RenderLast__13CStateManagerFRC9TUniqueId -RenderLast__13CStateManagerFRC9TUniqueId: -/* 800448D8 00041838 80 A3 08 6C */ lwz r5, 0x86c(r3) -/* 800448DC 0004183C 3C 65 00 01 */ addis r3, r5, 1 -/* 800448E0 00041840 80 03 F3 9C */ lwz r0, -0xc64(r3) -/* 800448E4 00041844 2C 00 00 14 */ cmpwi r0, 0x14 -/* 800448E8 00041848 40 82 00 0C */ bne lbl_800448F4 -/* 800448EC 0004184C 38 60 00 00 */ li r3, 0 -/* 800448F0 00041850 4E 80 00 20 */ blr -lbl_800448F4: -/* 800448F4 00041854 54 00 08 3C */ slwi r0, r0, 1 -/* 800448F8 00041858 7C 63 02 14 */ add r3, r3, r0 -/* 800448FC 0004185C 34 63 F3 A0 */ addic. r3, r3, -3168 -/* 80044900 00041860 41 82 00 0C */ beq lbl_8004490C -/* 80044904 00041864 A0 04 00 00 */ lhz r0, 0(r4) -/* 80044908 00041868 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004490C: -/* 8004490C 0004186C 3C A5 00 01 */ addis r5, r5, 1 -/* 80044910 00041870 38 60 00 01 */ li r3, 1 -/* 80044914 00041874 80 85 F3 9C */ lwz r4, -0xc64(r5) -/* 80044918 00041878 38 04 00 01 */ addi r0, r4, 1 -/* 8004491C 0004187C 90 05 F3 9C */ stw r0, -0xc64(r5) -/* 80044920 00041880 4E 80 00 20 */ blr - -.global AddDrawableActorPlane__13CStateManagerCFRC6CActorRC6CPlaneRC6CAABox -AddDrawableActorPlane__13CStateManagerCFRC6CActorRC6CPlaneRC6CAABox: -/* 80044924 00041884 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80044928 00041888 7C 08 02 A6 */ mflr r0 -/* 8004492C 0004188C 7C C8 33 78 */ mr r8, r6 -/* 80044930 00041890 7C A6 2B 78 */ mr r6, r5 -/* 80044934 00041894 90 01 00 14 */ stw r0, 0x14(r1) -/* 80044938 00041898 7D 05 43 78 */ mr r5, r8 -/* 8004493C 0004189C 80 E3 08 DC */ lwz r7, 0x8dc(r3) -/* 80044940 000418A0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80044944 000418A4 38 07 00 01 */ addi r0, r7, 1 -/* 80044948 000418A8 38 E0 00 00 */ li r7, 0 -/* 8004494C 000418AC 90 04 00 CC */ stw r0, 0xcc(r4) -/* 80044950 000418B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80044954 000418B4 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80044958 000418B8 7D 89 03 A6 */ mtctr r12 -/* 8004495C 000418BC 4E 80 04 21 */ bctrl -/* 80044960 000418C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80044964 000418C4 7C 08 03 A6 */ mtlr r0 -/* 80044968 000418C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004496C 000418CC 4E 80 00 20 */ blr - -.global AddDrawableActor__13CStateManagerCFRC6CActorRC9CVector3fRC6CAABox -AddDrawableActor__13CStateManagerCFRC6CActorRC9CVector3fRC6CAABox: -/* 80044970 000418D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80044974 000418D4 7C 08 02 A6 */ mflr r0 -/* 80044978 000418D8 38 E0 00 00 */ li r7, 0 -/* 8004497C 000418DC 39 00 00 00 */ li r8, 0 -/* 80044980 000418E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80044984 000418E4 81 23 08 DC */ lwz r9, 0x8dc(r3) -/* 80044988 000418E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8004498C 000418EC 38 09 00 01 */ addi r0, r9, 1 -/* 80044990 000418F0 90 04 00 CC */ stw r0, 0xcc(r4) -/* 80044994 000418F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80044998 000418F8 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8004499C 000418FC 7D 89 03 A6 */ mtctr r12 -/* 800449A0 00041900 4E 80 04 21 */ bctrl -/* 800449A4 00041904 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800449A8 00041908 7C 08 03 A6 */ mtlr r0 -/* 800449AC 0004190C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800449B0 00041910 4E 80 00 20 */ blr - -.global SpecialSkipCinematic__13CStateManagerFv -SpecialSkipCinematic__13CStateManagerFv: -/* 800449B4 00041914 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800449B8 00041918 7C 08 02 A6 */ mflr r0 -/* 800449BC 0004191C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800449C0 00041920 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800449C4 00041924 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800449C8 00041928 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800449CC 0004192C 7C 7D 1B 78 */ mr r29, r3 -/* 800449D0 00041930 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800449D4 00041934 A0 A3 0F 38 */ lhz r5, 0xf38(r3) -/* 800449D8 00041938 7C 05 00 40 */ cmplw r5, r0 -/* 800449DC 0004193C 40 82 00 0C */ bne lbl_800449E8 -/* 800449E0 00041940 38 60 00 00 */ li r3, 0 -/* 800449E4 00041944 48 00 00 80 */ b lbl_80044A64 -lbl_800449E8: -/* 800449E8 00041948 B0 A1 00 08 */ sth r5, 8(r1) -/* 800449EC 0004194C 38 81 00 0C */ addi r4, r1, 0xc -/* 800449F0 00041950 B0 A1 00 0C */ sth r5, 0xc(r1) -/* 800449F4 00041954 48 00 7B 81 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800449F8 00041958 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800449FC 0004195C 41 82 00 14 */ beq lbl_80044A10 -/* 80044A00 00041960 7F A4 EB 78 */ mr r4, r29 -/* 80044A04 00041964 48 10 CE 65 */ bl ShouldSkipCinematic__22CScriptSpecialFunctionFR13CStateManager -/* 80044A08 00041968 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80044A0C 0004196C 40 82 00 0C */ bne lbl_80044A18 -lbl_80044A10: -/* 80044A10 00041970 38 60 00 00 */ li r3, 0 -/* 80044A14 00041974 48 00 00 50 */ b lbl_80044A64 -lbl_80044A18: -/* 80044A18 00041978 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 80044A1C 0004197C 38 1D 08 FC */ addi r0, r29, 0x8fc -/* 80044A20 00041980 7F A4 EB 78 */ mr r4, r29 -/* 80044A24 00041984 90 1D 09 00 */ stw r0, 0x900(r29) -/* 80044A28 00041988 7C 03 00 D0 */ neg r0, r3 -/* 80044A2C 0004198C 7C 00 1B 78 */ or r0, r0, r3 -/* 80044A30 00041990 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 80044A34 00041994 54 1F 0F FE */ srwi r31, r0, 0x1f -/* 80044A38 00041998 4B FC 65 61 */ bl SkipCinematic__14CCameraManagerFR13CStateManager -/* 80044A3C 0004199C 7F C3 F3 78 */ mr r3, r30 -/* 80044A40 000419A0 7F A4 EB 78 */ mr r4, r29 -/* 80044A44 000419A4 48 10 CD E1 */ bl SkipCinematic__22CScriptSpecialFunctionFR13CStateManager -/* 80044A48 000419A8 28 1F 00 00 */ cmplwi r31, 0 -/* 80044A4C 000419AC 41 82 00 0C */ beq lbl_80044A58 -/* 80044A50 000419B0 38 1D 08 FC */ addi r0, r29, 0x8fc -/* 80044A54 000419B4 48 00 00 08 */ b lbl_80044A5C -lbl_80044A58: -/* 80044A58 000419B8 38 00 00 00 */ li r0, 0 -lbl_80044A5C: -/* 80044A5C 000419BC 90 1D 09 00 */ stw r0, 0x900(r29) -/* 80044A60 000419C0 38 60 00 01 */ li r3, 1 -lbl_80044A64: -/* 80044A64 000419C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80044A68 000419C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80044A6C 000419CC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80044A70 000419D0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80044A74 000419D4 7C 08 03 A6 */ mtlr r0 -/* 80044A78 000419D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80044A7C 000419DC 4E 80 00 20 */ blr - -.global GetVisAreaId__13CStateManagerCFv -GetVisAreaId__13CStateManagerCFv: -/* 80044A80 000419E0 94 21 F7 60 */ stwu r1, -0x8a0(r1) -/* 80044A84 000419E4 7C 08 02 A6 */ mflr r0 -/* 80044A88 000419E8 90 01 08 A4 */ stw r0, 0x8a4(r1) -/* 80044A8C 000419EC BF 41 08 88 */ stmw r26, 0x888(r1) -/* 80044A90 000419F0 7C 7D 1B 78 */ mr r29, r3 -/* 80044A94 000419F4 7C 9E 23 78 */ mr r30, r4 -/* 80044A98 000419F8 80 64 08 70 */ lwz r3, 0x870(r4) -/* 80044A9C 000419FC 4B FC 70 7D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80044AA0 00041A00 80 BE 08 70 */ lwz r5, 0x870(r30) -/* 80044AA4 00041A04 80 9E 08 50 */ lwz r4, 0x850(r30) -/* 80044AA8 00041A08 80 C5 00 80 */ lwz r6, 0x80(r5) -/* 80044AAC 00041A0C 83 E4 00 68 */ lwz r31, 0x68(r4) -/* 80044AB0 00041A10 7C 03 30 40 */ cmplw r3, r6 -/* 80044AB4 00041A14 41 82 00 0C */ beq lbl_80044AC0 -/* 80044AB8 00041A18 93 FD 00 00 */ stw r31, 0(r29) -/* 80044ABC 00041A1C 48 00 01 D8 */ b lbl_80044C94 -lbl_80044AC0: -/* 80044AC0 00041A20 C0 46 00 60 */ lfs f2, 0x60(r6) -/* 80044AC4 00041A24 38 81 00 20 */ addi r4, r1, 0x20 -/* 80044AC8 00041A28 C0 26 00 50 */ lfs f1, 0x50(r6) -/* 80044ACC 00041A2C 7C 85 23 78 */ mr r5, r4 -/* 80044AD0 00041A30 C0 06 00 40 */ lfs f0, 0x40(r6) -/* 80044AD4 00041A34 38 61 00 60 */ addi r3, r1, 0x60 -/* 80044AD8 00041A38 80 DE 08 4C */ lwz r6, 0x84c(r30) -/* 80044ADC 00041A3C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80044AE0 00041A40 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80044AE4 00041A44 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80044AE8 00041A48 C0 46 00 60 */ lfs f2, 0x60(r6) -/* 80044AEC 00041A4C C0 26 00 50 */ lfs f1, 0x50(r6) -/* 80044AF0 00041A50 C0 06 00 40 */ lfs f0, 0x40(r6) -/* 80044AF4 00041A54 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80044AF8 00041A58 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80044AFC 00041A5C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80044B00 00041A60 48 2F 3A 09 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80044B04 00041A64 38 61 00 60 */ addi r3, r1, 0x60 -/* 80044B08 00041A68 38 81 00 14 */ addi r4, r1, 0x14 -/* 80044B0C 00041A6C 48 2F 2F FD */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80044B10 00041A70 38 00 00 00 */ li r0, 0 -/* 80044B14 00041A74 80 AD 82 98 */ lwz r5, lbl_805A6E58@sda21(r13) -/* 80044B18 00041A78 90 01 00 78 */ stw r0, 0x78(r1) -/* 80044B1C 00041A7C 38 60 00 00 */ li r3, 0 -/* 80044B20 00041A80 38 80 00 01 */ li r4, 1 -/* 80044B24 00041A84 48 34 53 D1 */ bl __shl2i -/* 80044B28 00041A88 39 00 00 01 */ li r8, 1 -/* 80044B2C 00041A8C 38 00 00 00 */ li r0, 0 -/* 80044B30 00041A90 90 81 00 4C */ stw r4, 0x4c(r1) -/* 80044B34 00041A94 38 81 00 78 */ addi r4, r1, 0x78 -/* 80044B38 00041A98 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80044B3C 00041A9C 38 C1 00 48 */ addi r6, r1, 0x48 -/* 80044B40 00041AA0 90 61 00 48 */ stw r3, 0x48(r1) -/* 80044B44 00041AA4 7F C3 F3 78 */ mr r3, r30 -/* 80044B48 00041AA8 38 E0 00 00 */ li r7, 0 -/* 80044B4C 00041AAC 91 01 00 40 */ stw r8, 0x40(r1) -/* 80044B50 00041AB0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80044B54 00041AB4 90 01 00 50 */ stw r0, 0x50(r1) -/* 80044B58 00041AB8 91 01 00 58 */ stw r8, 0x58(r1) -/* 80044B5C 00041ABC 48 00 7B C5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80044B60 00041AC0 3B 61 00 7C */ addi r27, r1, 0x7c -/* 80044B64 00041AC4 7F 7A DB 78 */ mr r26, r27 -/* 80044B68 00041AC8 48 00 00 C0 */ b lbl_80044C28 -lbl_80044B6C: -/* 80044B6C 00041ACC A0 1A 00 00 */ lhz r0, 0(r26) -/* 80044B70 00041AD0 7F C3 F3 78 */ mr r3, r30 -/* 80044B74 00041AD4 38 81 00 08 */ addi r4, r1, 8 -/* 80044B78 00041AD8 B0 01 00 08 */ sth r0, 8(r1) -/* 80044B7C 00041ADC 48 00 7A 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80044B80 00041AE0 7C 64 1B 78 */ mr r4, r3 -/* 80044B84 00041AE4 38 61 00 0C */ addi r3, r1, 0xc -/* 80044B88 00041AE8 48 06 58 7D */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" -/* 80044B8C 00041AEC 83 83 00 04 */ lwz r28, 4(r3) -/* 80044B90 00041AF0 28 1C 00 00 */ cmplwi r28, 0 -/* 80044B94 00041AF4 41 82 00 90 */ beq lbl_80044C24 -/* 80044B98 00041AF8 80 1C 02 60 */ lwz r0, 0x260(r28) -/* 80044B9C 00041AFC 7C 00 F8 00 */ cmpw r0, r31 -/* 80044BA0 00041B00 40 82 00 84 */ bne lbl_80044C24 -/* 80044BA4 00041B04 7F 83 E3 78 */ mr r3, r28 -/* 80044BA8 00041B08 7F C4 F3 78 */ mr r4, r30 -/* 80044BAC 00041B0C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80044BB0 00041B10 48 07 EE 65 */ bl HasPointCrossedDock__11CScriptDockCFRC13CStateManagerRC9CVector3f -/* 80044BB4 00041B14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80044BB8 00041B18 41 82 00 6C */ beq lbl_80044C24 -/* 80044BBC 00041B1C 7F A3 EB 78 */ mr r3, r29 -/* 80044BC0 00041B20 7F 84 E3 78 */ mr r4, r28 -/* 80044BC4 00041B24 7F C5 F3 78 */ mr r5, r30 -/* 80044BC8 00041B28 48 07 EB 39 */ bl GetCurrentConnectedAreaId__11CScriptDockCFRC13CStateManager -/* 80044BCC 00041B2C 80 A1 00 78 */ lwz r5, 0x78(r1) -/* 80044BD0 00041B30 38 60 00 00 */ li r3, 0 -/* 80044BD4 00041B34 2C 05 00 00 */ cmpwi r5, 0 -/* 80044BD8 00041B38 40 81 00 40 */ ble lbl_80044C18 -/* 80044BDC 00041B3C 2C 05 00 08 */ cmpwi r5, 8 -/* 80044BE0 00041B40 38 85 FF F8 */ addi r4, r5, -8 -/* 80044BE4 00041B44 40 81 00 20 */ ble lbl_80044C04 -/* 80044BE8 00041B48 38 04 00 07 */ addi r0, r4, 7 -/* 80044BEC 00041B4C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80044BF0 00041B50 7C 09 03 A6 */ mtctr r0 -/* 80044BF4 00041B54 2C 04 00 00 */ cmpwi r4, 0 -/* 80044BF8 00041B58 40 81 00 0C */ ble lbl_80044C04 -lbl_80044BFC: -/* 80044BFC 00041B5C 38 63 00 08 */ addi r3, r3, 8 -/* 80044C00 00041B60 42 00 FF FC */ bdnz lbl_80044BFC -lbl_80044C04: -/* 80044C04 00041B64 7C 03 28 50 */ subf r0, r3, r5 -/* 80044C08 00041B68 7C 09 03 A6 */ mtctr r0 -/* 80044C0C 00041B6C 7C 03 28 00 */ cmpw r3, r5 -/* 80044C10 00041B70 40 80 00 08 */ bge lbl_80044C18 -lbl_80044C14: -/* 80044C14 00041B74 42 00 00 00 */ bdnz lbl_80044C14 -lbl_80044C18: -/* 80044C18 00041B78 38 00 00 00 */ li r0, 0 -/* 80044C1C 00041B7C 90 01 00 78 */ stw r0, 0x78(r1) -/* 80044C20 00041B80 48 00 00 74 */ b lbl_80044C94 -lbl_80044C24: -/* 80044C24 00041B84 3B 5A 00 02 */ addi r26, r26, 2 -lbl_80044C28: -/* 80044C28 00041B88 80 01 00 78 */ lwz r0, 0x78(r1) -/* 80044C2C 00041B8C 54 00 08 3C */ slwi r0, r0, 1 -/* 80044C30 00041B90 7C 1B 02 14 */ add r0, r27, r0 -/* 80044C34 00041B94 7C 1A 00 40 */ cmplw r26, r0 -/* 80044C38 00041B98 40 82 FF 34 */ bne lbl_80044B6C -/* 80044C3C 00041B9C 93 FD 00 00 */ stw r31, 0(r29) -/* 80044C40 00041BA0 38 60 00 00 */ li r3, 0 -/* 80044C44 00041BA4 80 A1 00 78 */ lwz r5, 0x78(r1) -/* 80044C48 00041BA8 2C 05 00 00 */ cmpwi r5, 0 -/* 80044C4C 00041BAC 40 81 00 40 */ ble lbl_80044C8C -/* 80044C50 00041BB0 2C 05 00 08 */ cmpwi r5, 8 -/* 80044C54 00041BB4 38 85 FF F8 */ addi r4, r5, -8 -/* 80044C58 00041BB8 40 81 00 20 */ ble lbl_80044C78 -/* 80044C5C 00041BBC 38 04 00 07 */ addi r0, r4, 7 -/* 80044C60 00041BC0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80044C64 00041BC4 7C 09 03 A6 */ mtctr r0 -/* 80044C68 00041BC8 2C 04 00 00 */ cmpwi r4, 0 -/* 80044C6C 00041BCC 40 81 00 0C */ ble lbl_80044C78 -lbl_80044C70: -/* 80044C70 00041BD0 38 63 00 08 */ addi r3, r3, 8 -/* 80044C74 00041BD4 42 00 FF FC */ bdnz lbl_80044C70 -lbl_80044C78: -/* 80044C78 00041BD8 7C 03 28 50 */ subf r0, r3, r5 -/* 80044C7C 00041BDC 7C 09 03 A6 */ mtctr r0 -/* 80044C80 00041BE0 7C 03 28 00 */ cmpw r3, r5 -/* 80044C84 00041BE4 40 80 00 08 */ bge lbl_80044C8C -lbl_80044C88: -/* 80044C88 00041BE8 42 00 00 00 */ bdnz lbl_80044C88 -lbl_80044C8C: -/* 80044C8C 00041BEC 38 00 00 00 */ li r0, 0 -/* 80044C90 00041BF0 90 01 00 78 */ stw r0, 0x78(r1) -lbl_80044C94: -/* 80044C94 00041BF4 BB 41 08 88 */ lmw r26, 0x888(r1) -/* 80044C98 00041BF8 80 01 08 A4 */ lwz r0, 0x8a4(r1) -/* 80044C9C 00041BFC 7C 08 03 A6 */ mtlr r0 -/* 80044CA0 00041C00 38 21 08 A0 */ addi r1, r1, 0x8a0 -/* 80044CA4 00041C04 4E 80 00 20 */ blr - -.global GetWeaponIdCount__13CStateManagerF9TUniqueId11EWeaponType -GetWeaponIdCount__13CStateManagerF9TUniqueId11EWeaponType: -/* 80044CA8 00041C08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80044CAC 00041C0C 7C 08 02 A6 */ mflr r0 -/* 80044CB0 00041C10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80044CB4 00041C14 A0 04 00 00 */ lhz r0, 0(r4) -/* 80044CB8 00041C18 38 81 00 08 */ addi r4, r1, 8 -/* 80044CBC 00041C1C B0 01 00 08 */ sth r0, 8(r1) -/* 80044CC0 00041C20 80 63 08 78 */ lwz r3, 0x878(r3) -/* 80044CC4 00041C24 48 07 D0 65 */ bl GetNumActive__10CWeaponMgrCF9TUniqueId11EWeaponType -/* 80044CC8 00041C28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80044CCC 00041C2C 7C 08 03 A6 */ mtlr r0 -/* 80044CD0 00041C30 38 21 00 10 */ addi r1, r1, 0x10 -/* 80044CD4 00041C34 4E 80 00 20 */ blr - -.global RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType -RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType: -/* 80044CD8 00041C38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80044CDC 00041C3C 7C 08 02 A6 */ mflr r0 -/* 80044CE0 00041C40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80044CE4 00041C44 A0 04 00 00 */ lhz r0, 0(r4) -/* 80044CE8 00041C48 38 81 00 08 */ addi r4, r1, 8 -/* 80044CEC 00041C4C B0 01 00 08 */ sth r0, 8(r1) -/* 80044CF0 00041C50 80 63 08 78 */ lwz r3, 0x878(r3) -/* 80044CF4 00041C54 48 07 D0 F5 */ bl DecrCount__10CWeaponMgrF9TUniqueId11EWeaponType -/* 80044CF8 00041C58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80044CFC 00041C5C 7C 08 03 A6 */ mtlr r0 -/* 80044D00 00041C60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80044D04 00041C64 4E 80 00 20 */ blr - -.global AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType -AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType: -/* 80044D08 00041C68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80044D0C 00041C6C 7C 08 02 A6 */ mflr r0 -/* 80044D10 00041C70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80044D14 00041C74 A0 04 00 00 */ lhz r0, 0(r4) -/* 80044D18 00041C78 38 81 00 08 */ addi r4, r1, 8 -/* 80044D1C 00041C7C B0 01 00 08 */ sth r0, 8(r1) -/* 80044D20 00041C80 80 63 08 78 */ lwz r3, 0x878(r3) -/* 80044D24 00041C84 48 07 D1 E9 */ bl IncrCount__10CWeaponMgrF9TUniqueId11EWeaponType -/* 80044D28 00041C88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80044D2C 00041C8C 7C 08 03 A6 */ mtlr r0 -/* 80044D30 00041C90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80044D34 00041C94 4E 80 00 20 */ blr - -.global UpdateHintState__13CStateManagerFf -UpdateHintState__13CStateManagerFf: -/* 80044D38 00041C98 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80044D3C 00041C9C 7C 08 02 A6 */ mflr r0 -/* 80044D40 00041CA0 90 01 00 74 */ stw r0, 0x74(r1) -/* 80044D44 00041CA4 BE E1 00 4C */ stmw r23, 0x4c(r1) -/* 80044D48 00041CA8 7C 7B 1B 78 */ mr r27, r3 -/* 80044D4C 00041CAC 7F 64 DB 78 */ mr r4, r27 -/* 80044D50 00041CB0 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) -/* 80044D54 00041CB4 3B 25 01 F8 */ addi r25, r5, 0x1f8 -/* 80044D58 00041CB8 7F 23 CB 78 */ mr r3, r25 -/* 80044D5C 00041CBC 48 22 2B C9 */ bl Update__12CHintOptionsfRC13CStateManager -/* 80044D60 00041CC0 7F 23 CB 78 */ mr r3, r25 -/* 80044D64 00041CC4 3B C0 FF FF */ li r30, -1 -/* 80044D68 00041CC8 3B A0 FF FF */ li r29, -1 -/* 80044D6C 00041CCC 48 22 29 B1 */ bl GetCurrentDisplayedHint__12CHintOptionsCFv -/* 80044D70 00041CD0 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80044D74 00041CD4 41 82 00 C8 */ beq lbl_80044E3C -/* 80044D78 00041CD8 7F 23 CB 78 */ mr r3, r25 -/* 80044D7C 00041CDC 48 22 29 81 */ bl GetNextHintIdx__12CHintOptionsFv -/* 80044D80 00041CE0 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) -/* 80044D84 00041CE4 1C 03 00 30 */ mulli r0, r3, 0x30 -/* 80044D88 00041CE8 3B 80 00 00 */ li r28, 0 -/* 80044D8C 00041CEC 80 64 00 08 */ lwz r3, 8(r4) -/* 80044D90 00041CF0 3B E0 00 00 */ li r31, 0 -/* 80044D94 00041CF4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80044D98 00041CF8 7F 03 02 14 */ add r24, r3, r0 -/* 80044D9C 00041CFC 48 00 00 60 */ b lbl_80044DFC -lbl_80044DA0: -/* 80044DA0 00041D00 80 18 00 2C */ lwz r0, 0x2c(r24) -/* 80044DA4 00041D04 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80044DA8 00041D08 7C 80 FA 14 */ add r4, r0, r31 -/* 80044DAC 00041D0C 82 E4 00 08 */ lwz r23, 8(r4) -/* 80044DB0 00041D10 80 84 00 00 */ lwz r4, 0(r4) -/* 80044DB4 00041D14 48 18 EC 25 */ bl StateForWorld__10CGameStateFUi -/* 80044DB8 00041D18 48 18 FF C9 */ bl MapWorldInfo__11CWorldStateFv -/* 80044DBC 00041D1C 80 C3 00 00 */ lwz r6, 0(r3) -/* 80044DC0 00041D20 38 81 00 0C */ addi r4, r1, 0xc -/* 80044DC4 00041D24 92 E1 00 08 */ stw r23, 8(r1) -/* 80044DC8 00041D28 38 A0 00 01 */ li r5, 1 -/* 80044DCC 00041D2C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80044DD0 00041D30 80 66 00 04 */ lwz r3, 4(r6) -/* 80044DD4 00041D34 38 03 00 01 */ addi r0, r3, 1 -/* 80044DD8 00041D38 90 06 00 04 */ stw r0, 4(r6) -/* 80044DDC 00041D3C 92 E1 00 0C */ stw r23, 0xc(r1) -/* 80044DE0 00041D40 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80044DE4 00041D44 80 63 00 00 */ lwz r3, 0(r3) -/* 80044DE8 00041D48 48 12 36 99 */ bl SetIsMapped__13CMapWorldInfoCF7TAreaId -/* 80044DEC 00041D4C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80044DF0 00041D50 4B FC 3E 4D */ bl sub_80008c3c -/* 80044DF4 00041D54 3B FF 00 10 */ addi r31, r31, 0x10 -/* 80044DF8 00041D58 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80044DFC: -/* 80044DFC 00041D5C 80 18 00 24 */ lwz r0, 0x24(r24) -/* 80044E00 00041D60 7C 1C 00 00 */ cmpw r28, r0 -/* 80044E04 00041D64 41 80 FF 9C */ blt lbl_80044DA0 -/* 80044E08 00041D68 C0 3A 00 04 */ lfs f1, 4(r26) -/* 80044E0C 00041D6C C0 18 00 1C */ lfs f0, 0x1c(r24) -/* 80044E10 00041D70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80044E14 00041D74 40 80 00 28 */ bge lbl_80044E3C -/* 80044E18 00041D78 7F 23 CB 78 */ mr r3, r25 -/* 80044E1C 00041D7C 48 22 28 E1 */ bl GetNextHintIdx__12CHintOptionsFv -/* 80044E20 00041D80 C0 3A 00 04 */ lfs f1, 4(r26) -/* 80044E24 00041D84 7C 7E 1B 78 */ mr r30, r3 -/* 80044E28 00041D88 C0 02 BA D8 */ lfs f0, lbl_805AD7F8@sda21(r2) -/* 80044E2C 00041D8C EC 01 00 24 */ fdivs f0, f1, f0 -/* 80044E30 00041D90 FC 00 00 1E */ fctiwz f0, f0 -/* 80044E34 00041D94 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 80044E38 00041D98 83 A1 00 3C */ lwz r29, 0x3c(r1) -lbl_80044E3C: -/* 80044E3C 00041D9C 80 1B 0E EC */ lwz r0, 0xeec(r27) -/* 80044E40 00041DA0 7C 1E 00 00 */ cmpw r30, r0 -/* 80044E44 00041DA4 40 82 00 10 */ bne lbl_80044E54 -/* 80044E48 00041DA8 80 1B 0E F0 */ lwz r0, 0xef0(r27) -/* 80044E4C 00041DAC 7C 1D 00 00 */ cmpw r29, r0 -/* 80044E50 00041DB0 41 82 00 90 */ beq lbl_80044EE0 -lbl_80044E54: -/* 80044E54 00041DB4 2C 1E FF FF */ cmpwi r30, -1 -/* 80044E58 00041DB8 40 82 00 40 */ bne lbl_80044E98 -/* 80044E5C 00041DBC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80044E60 00041DC0 38 8D 82 A4 */ addi r4, r13, lbl_805A6E64@sda21 -/* 80044E64 00041DC4 4B FD 0B 8D */ bl wstring_l__4rstlFPCw -/* 80044E68 00041DC8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80044E6C 00041DCC 38 00 00 01 */ li r0, 1 -/* 80044E70 00041DD0 98 01 00 20 */ stb r0, 0x20(r1) -/* 80044E74 00041DD4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80044E78 00041DD8 38 81 00 1C */ addi r4, r1, 0x1c -/* 80044E7C 00041DDC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80044E80 00041DE0 98 01 00 21 */ stb r0, 0x21(r1) -/* 80044E84 00041DE4 98 01 00 22 */ stb r0, 0x22(r1) -/* 80044E88 00041DE8 48 02 6D E1 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo -/* 80044E8C 00041DEC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80044E90 00041DF0 48 2F 82 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80044E94 00041DF4 48 00 00 44 */ b lbl_80044ED8 -lbl_80044E98: -/* 80044E98 00041DF8 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) -/* 80044E9C 00041DFC 1C DE 00 30 */ mulli r6, r30, 0x30 -/* 80044EA0 00041E00 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80044EA4 00041E04 38 60 00 01 */ li r3, 1 -/* 80044EA8 00041E08 80 A4 00 08 */ lwz r5, 8(r4) -/* 80044EAC 00041E0C 38 00 00 00 */ li r0, 0 -/* 80044EB0 00041E10 7F A4 EB 78 */ mr r4, r29 -/* 80044EB4 00041E14 80 E5 00 0C */ lwz r7, 0xc(r5) -/* 80044EB8 00041E18 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80044EBC 00041E1C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80044EC0 00041E20 7C C7 32 14 */ add r6, r7, r6 -/* 80044EC4 00041E24 98 61 00 18 */ stb r3, 0x18(r1) -/* 80044EC8 00041E28 98 01 00 19 */ stb r0, 0x19(r1) -/* 80044ECC 00041E2C 98 61 00 1A */ stb r3, 0x1a(r1) -/* 80044ED0 00041E30 80 66 00 18 */ lwz r3, 0x18(r6) -/* 80044ED4 00041E34 48 02 6D 51 */ bl DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo -lbl_80044ED8: -/* 80044ED8 00041E38 93 DB 0E EC */ stw r30, 0xeec(r27) -/* 80044EDC 00041E3C 93 BB 0E F0 */ stw r29, 0xef0(r27) -lbl_80044EE0: -/* 80044EE0 00041E40 BA E1 00 4C */ lmw r23, 0x4c(r1) -/* 80044EE4 00041E44 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80044EE8 00041E48 7C 08 03 A6 */ mtlr r0 -/* 80044EEC 00041E4C 38 21 00 70 */ addi r1, r1, 0x70 -/* 80044EF0 00041E50 4E 80 00 20 */ blr - -.global UpdateEscapeSequenceTimer__13CStateManagerFf -UpdateEscapeSequenceTimer__13CStateManagerFf: -/* 80044EF4 00041E54 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80044EF8 00041E58 7C 08 02 A6 */ mflr r0 -/* 80044EFC 00041E5C 90 01 01 04 */ stw r0, 0x104(r1) -/* 80044F00 00041E60 DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 80044F04 00041E64 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 80044F08 00041E68 93 E1 00 EC */ stw r31, 0xec(r1) -/* 80044F0C 00041E6C 7C 7F 1B 78 */ mr r31, r3 -/* 80044F10 00041E70 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80044F14 00041E74 C0 43 0F 0C */ lfs f2, 0xf0c(r3) -/* 80044F18 00041E78 C0 63 0F 10 */ lfs f3, 0xf10(r3) -/* 80044F1C 00041E7C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80044F20 00041E80 40 81 01 38 */ ble lbl_80045058 -/* 80044F24 00041E84 EC 42 08 28 */ fsubs f2, f2, f1 -/* 80044F28 00041E88 C0 02 85 84 */ lfs f0, lbl_805AA2A4@sda21(r2) -/* 80044F2C 00041E8C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80044F30 00041E90 D0 41 00 08 */ stfs f2, 8(r1) -/* 80044F34 00041E94 40 80 00 0C */ bge lbl_80044F40 -/* 80044F38 00041E98 38 61 00 08 */ addi r3, r1, 8 -/* 80044F3C 00041E9C 48 00 00 08 */ b lbl_80044F44 -lbl_80044F40: -/* 80044F40 00041EA0 38 62 85 84 */ addi r3, r2, lbl_805AA2A4@sda21 -lbl_80044F44: -/* 80044F44 00041EA4 C0 43 00 00 */ lfs f2, 0(r3) -/* 80044F48 00041EA8 C0 02 85 88 */ lfs f0, lbl_805AA2A8@sda21(r2) -/* 80044F4C 00041EAC D0 5F 0F 0C */ stfs f2, 0xf0c(r31) -/* 80044F50 00041EB0 C0 5F 0F 0C */ lfs f2, 0xf0c(r31) -/* 80044F54 00041EB4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80044F58 00041EB8 4C 40 13 82 */ cror 2, 0, 2 -/* 80044F5C 00041EBC 40 82 00 1C */ bne lbl_80044F78 -/* 80044F60 00041EC0 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80044F64 00041EC4 38 80 00 00 */ li r4, 0 -/* 80044F68 00041EC8 80 63 00 00 */ lwz r3, 0(r3) -/* 80044F6C 00041ECC 88 03 00 00 */ lbz r0, 0(r3) -/* 80044F70 00041ED0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80044F74 00041ED4 98 03 00 00 */ stb r0, 0(r3) -lbl_80044F78: -/* 80044F78 00041ED8 88 0D A2 0C */ lbz r0, lbl_805A8DCC@sda21(r13) -/* 80044F7C 00041EDC 7C 00 07 75 */ extsb. r0, r0 -/* 80044F80 00041EE0 40 82 00 14 */ bne lbl_80044F94 -/* 80044F84 00041EE4 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80044F88 00041EE8 38 00 00 01 */ li r0, 1 -/* 80044F8C 00041EEC 98 0D A2 0C */ stb r0, lbl_805A8DCC@sda21(r13) -/* 80044F90 00041EF0 D0 0D A2 08 */ stfs f0, lbl_805A8DC8@sda21(r13) -lbl_80044F94: -/* 80044F94 00041EF4 C0 4D A2 08 */ lfs f2, lbl_805A8DC8@sda21(r13) -/* 80044F98 00041EF8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80044F9C 00041EFC EC 22 08 28 */ fsubs f1, f2, f1 -/* 80044FA0 00041F00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80044FA4 00041F04 D0 2D A2 08 */ stfs f1, lbl_805A8DC8@sda21(r13) -/* 80044FA8 00041F08 40 80 00 B0 */ bge lbl_80045058 -/* 80044FAC 00041F0C C0 1F 0F 0C */ lfs f0, 0xf0c(r31) -/* 80044FB0 00041F10 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80044FB4 00041F14 EC 00 18 24 */ fdivs f0, f0, f3 -/* 80044FB8 00041F18 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80044FBC 00041F1C C0 22 85 7C */ lfs f1, lbl_805AA29C@sda21(r2) -/* 80044FC0 00041F20 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80044FC4 00041F24 EF E0 00 32 */ fmuls f31, f0, f0 -/* 80044FC8 00041F28 48 2C D5 7D */ bl Range__9CRandom16Fff -/* 80044FCC 00041F2C C0 02 85 8C */ lfs f0, lbl_805AA2AC@sda21(r2) -/* 80044FD0 00041F30 38 61 00 0C */ addi r3, r1, 0xc -/* 80044FD4 00041F34 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80044FD8 00041F38 EC 40 00 72 */ fmuls f2, f0, f1 -/* 80044FDC 00041F3C C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) -/* 80044FE0 00041F40 48 11 88 51 */ bl __ct__16CCameraShakeDataFff -/* 80044FE4 00041F44 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80044FE8 00041F48 38 81 00 0C */ addi r4, r1, 0xc -/* 80044FEC 00041F4C 38 A0 00 01 */ li r5, 1 -/* 80044FF0 00041F50 4B FC 5A 31 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab -/* 80044FF4 00041F54 34 81 00 8C */ addic. r4, r1, 0x8c -/* 80044FF8 00041F58 41 82 00 10 */ beq lbl_80045008 -/* 80044FFC 00041F5C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80045000 00041F60 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80045004 00041F64 90 04 00 00 */ stw r0, 0(r4) -lbl_80045008: -/* 80045008 00041F68 34 81 00 50 */ addic. r4, r1, 0x50 -/* 8004500C 00041F6C 41 82 00 10 */ beq lbl_8004501C -/* 80045010 00041F70 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80045014 00041F74 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80045018 00041F78 90 04 00 00 */ stw r0, 0(r4) -lbl_8004501C: -/* 8004501C 00041F7C 34 81 00 14 */ addic. r4, r1, 0x14 -/* 80045020 00041F80 41 82 00 10 */ beq lbl_80045030 -/* 80045024 00041F84 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80045028 00041F88 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8004502C 00041F8C 90 04 00 00 */ stw r0, 0(r4) -lbl_80045030: -/* 80045030 00041F90 80 7F 08 8C */ lwz r3, 0x88c(r31) -/* 80045034 00041F94 7F E4 FB 78 */ mr r4, r31 -/* 80045038 00041F98 C0 22 85 90 */ lfs f1, lbl_805AA2B0@sda21(r2) -/* 8004503C 00041F9C 38 A0 00 0B */ li r5, 0xb -/* 80045040 00041FA0 38 C0 00 01 */ li r6, 1 -/* 80045044 00041FA4 48 1E 92 01 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority -/* 80045048 00041FA8 C0 22 85 98 */ lfs f1, lbl_805AA2B8@sda21(r2) -/* 8004504C 00041FAC C0 02 85 94 */ lfs f0, lbl_805AA2B4@sda21(r2) -/* 80045050 00041FB0 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 80045054 00041FB4 D0 0D A2 08 */ stfs f0, lbl_805A8DC8@sda21(r13) -lbl_80045058: -/* 80045058 00041FB8 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 8004505C 00041FBC 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80045060 00041FC0 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 80045064 00041FC4 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 80045068 00041FC8 7C 08 03 A6 */ mtlr r0 -/* 8004506C 00041FCC 38 21 01 00 */ addi r1, r1, 0x100 -/* 80045070 00041FD0 4E 80 00 20 */ blr - -.global GetEscapeSequenceTimer__13CStateManagerCFv -GetEscapeSequenceTimer__13CStateManagerCFv: -/* 80045074 00041FD4 C0 23 0F 0C */ lfs f1, 0xf0c(r3) -/* 80045078 00041FD8 4E 80 00 20 */ blr - -.global ResetEscapeSequenceTimer__13CStateManagerFf -ResetEscapeSequenceTimer__13CStateManagerFf: -/* 8004507C 00041FDC D0 23 0F 0C */ stfs f1, 0xf0c(r3) -/* 80045080 00041FE0 D0 23 0F 10 */ stfs f1, 0xf10(r3) -/* 80045084 00041FE4 4E 80 00 20 */ blr - -.global SetupParticleHook__13CStateManagerCFRC6CActor -SetupParticleHook__13CStateManagerCFRC6CActor: -/* 80045088 00041FE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004508C 00041FEC 7C 08 02 A6 */ mflr r0 -/* 80045090 00041FF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80045094 00041FF4 A0 04 00 08 */ lhz r0, 8(r4) -/* 80045098 00041FF8 38 81 00 0C */ addi r4, r1, 0xc -/* 8004509C 00041FFC 80 63 08 84 */ lwz r3, 0x884(r3) -/* 800450A0 00042000 B0 01 00 08 */ sth r0, 8(r1) -/* 800450A4 00042004 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800450A8 00042008 48 19 F6 C9 */ bl SetupHook__20CActorModelParticlesCF9TUniqueId -/* 800450AC 0004200C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800450B0 00042010 7C 08 03 A6 */ mtlr r0 -/* 800450B4 00042014 38 21 00 10 */ addi r1, r1, 0x10 -/* 800450B8 00042018 4E 80 00 20 */ blr - -.global MurderScriptInstanceNames__13CStateManagerFv -MurderScriptInstanceNames__13CStateManagerFv: -/* 800450BC 0004201C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800450C0 00042020 7C 08 02 A6 */ mflr r0 -/* 800450C4 00042024 90 01 00 34 */ stw r0, 0x34(r1) -/* 800450C8 00042028 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800450CC 0004202C 7C 7F 1B 78 */ mr r31, r3 -/* 800450D0 00042030 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800450D4 00042034 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800450D8 00042038 3B BF 0B 48 */ addi r29, r31, 0xb48 -/* 800450DC 0004203C 93 81 00 20 */ stw r28, 0x20(r1) -/* 800450E0 00042040 3B 80 00 00 */ li r28, 0 -/* 800450E4 00042044 93 A1 00 0C */ stw r29, 0xc(r1) -/* 800450E8 00042048 48 00 00 D4 */ b lbl_800451BC -lbl_800450EC: -/* 800450EC 0004204C 80 1F 0B 48 */ lwz r0, 0xb48(r31) -/* 800450F0 00042050 3B C0 00 00 */ li r30, 0 -/* 800450F4 00042054 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 800450F8 00042058 3B 80 00 01 */ li r28, 1 -/* 800450FC 0004205C 90 01 00 18 */ stw r0, 0x18(r1) -/* 80045100 00042060 93 C1 00 08 */ stw r30, 8(r1) -/* 80045104 00042064 48 00 00 94 */ b lbl_80045198 -lbl_80045108: -/* 80045108 00042068 80 64 00 14 */ lwz r3, 0x14(r4) -/* 8004510C 0004206C 28 03 00 00 */ cmplwi r3, 0 -/* 80045110 00042070 41 82 00 0C */ beq lbl_8004511C -/* 80045114 00042074 80 03 00 04 */ lwz r0, 4(r3) -/* 80045118 00042078 48 00 00 08 */ b lbl_80045120 -lbl_8004511C: -/* 8004511C 0004207C 38 00 FF FF */ li r0, -1 -lbl_80045120: -/* 80045120 00042080 2C 00 00 01 */ cmpwi r0, 1 -/* 80045124 00042084 40 82 00 68 */ bne lbl_8004518C -/* 80045128 00042088 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004512C 0004208C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80045130 00042090 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80045134 00042094 7F C4 F3 78 */ mr r4, r30 -/* 80045138 00042098 90 61 00 14 */ stw r3, 0x14(r1) -/* 8004513C 0004209C 48 2F 74 A5 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 80045140 000420A0 90 61 00 10 */ stw r3, 0x10(r1) -/* 80045144 000420A4 7F A3 EB 78 */ mr r3, r29 -/* 80045148 000420A8 7F C4 F3 78 */ mr r4, r30 -/* 8004514C 000420AC 48 2F 75 31 */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 80045150 000420B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80045154 000420B4 41 82 00 14 */ beq lbl_80045168 -/* 80045158 000420B8 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 8004515C 000420BC 41 82 00 0C */ beq lbl_80045168 -/* 80045160 000420C0 38 7E 00 10 */ addi r3, r30, 0x10 -/* 80045164 000420C4 48 2F 89 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80045168: -/* 80045168 000420C8 28 1E 00 00 */ cmplwi r30, 0 -/* 8004516C 000420CC 41 82 00 0C */ beq lbl_80045178 -/* 80045170 000420D0 7F C3 F3 78 */ mr r3, r30 -/* 80045174 000420D4 48 2D 07 BD */ bl Free__7CMemoryFPCv -lbl_80045178: -/* 80045178 000420D8 80 7F 0B 44 */ lwz r3, 0xb44(r31) -/* 8004517C 000420DC 3B 80 00 00 */ li r28, 0 -/* 80045180 000420E0 38 03 FF FF */ addi r0, r3, -1 -/* 80045184 000420E4 90 1F 0B 44 */ stw r0, 0xb44(r31) -/* 80045188 000420E8 48 00 00 34 */ b lbl_800451BC -lbl_8004518C: -/* 8004518C 000420EC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80045190 000420F0 48 2F 74 51 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 80045194 000420F4 90 61 00 18 */ stw r3, 0x18(r1) -lbl_80045198: -/* 80045198 000420F8 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8004519C 000420FC 7F C0 F3 78 */ mr r0, r30 -/* 800451A0 00042100 7C 04 F0 40 */ cmplw r4, r30 -/* 800451A4 00042104 40 82 00 0C */ bne lbl_800451B0 -/* 800451A8 00042108 7C 1D E8 40 */ cmplw r29, r29 -/* 800451AC 0004210C 41 82 00 08 */ beq lbl_800451B4 -lbl_800451B0: -/* 800451B0 00042110 38 00 00 01 */ li r0, 1 -lbl_800451B4: -/* 800451B4 00042114 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800451B8 00042118 40 82 FF 50 */ bne lbl_80045108 -lbl_800451BC: -/* 800451BC 0004211C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 800451C0 00042120 41 82 FF 2C */ beq lbl_800450EC -/* 800451C4 00042124 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800451C8 00042128 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800451CC 0004212C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800451D0 00042130 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800451D4 00042134 83 81 00 20 */ lwz r28, 0x20(r1) -/* 800451D8 00042138 7C 08 03 A6 */ mtlr r0 -/* 800451DC 0004213C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800451E0 00042140 4E 80 00 20 */ blr - -.global HashInstanceName__13CStateManagerFR12CInputStream -HashInstanceName__13CStateManagerFR12CInputStream: -/* 800451E4 00042144 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800451E8 00042148 7C 08 02 A6 */ mflr r0 -/* 800451EC 0004214C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800451F0 00042150 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800451F4 00042154 7C 9F 23 78 */ mr r31, r4 -/* 800451F8 00042158 88 0D A2 05 */ lbz r0, lbl_805A8DC5@sda21(r13) -/* 800451FC 0004215C 7C 00 07 75 */ extsb. r0, r0 -/* 80045200 00042160 40 82 00 4C */ bne lbl_8004524C -/* 80045204 00042164 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 80045208 00042168 38 61 00 08 */ addi r3, r1, 8 -/* 8004520C 0004216C 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 80045210 00042170 38 84 00 15 */ addi r4, r4, 0x15 -/* 80045214 00042174 4B FB FA A5 */ bl string_l__4rstlFPCc -/* 80045218 00042178 3C 60 80 46 */ lis r3, lbl_8045C5A4@ha -/* 8004521C 0004217C 38 81 00 08 */ addi r4, r1, 8 -/* 80045220 00042180 38 63 C5 A4 */ addi r3, r3, lbl_8045C5A4@l -/* 80045224 00042184 48 2F 8F 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80045228 00042188 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8004522C 0004218C 3C A0 80 46 */ lis r5, lbl_8045C598@ha -/* 80045230 00042190 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 80045234 00042194 38 A5 C5 98 */ addi r5, r5, lbl_8045C598@l -/* 80045238 00042198 48 34 44 55 */ bl __register_global_object -/* 8004523C 0004219C 38 61 00 08 */ addi r3, r1, 8 -/* 80045240 000421A0 48 2F 88 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80045244 000421A4 38 00 00 01 */ li r0, 1 -/* 80045248 000421A8 98 0D A2 05 */ stb r0, lbl_805A8DC5@sda21(r13) -lbl_8004524C: -/* 8004524C 000421AC 7F E3 FB 78 */ mr r3, r31 -/* 80045250 000421B0 48 2F 9A BD */ bl ReadChar__12CInputStreamFv -/* 80045254 000421B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80045258 000421B8 40 82 FF F4 */ bne lbl_8004524C -/* 8004525C 000421BC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80045260 000421C0 3C 60 80 46 */ lis r3, lbl_8045C5A4@ha -/* 80045264 000421C4 38 63 C5 A4 */ addi r3, r3, lbl_8045C5A4@l -/* 80045268 000421C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004526C 000421CC 7C 08 03 A6 */ mtlr r0 -/* 80045270 000421D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80045274 000421D4 4E 80 00 20 */ blr - -.global SetActorAreaId__13CStateManagerFR6CActor7TAreaId -SetActorAreaId__13CStateManagerFR6CActor7TAreaId: -/* 80045278 000421D8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8004527C 000421DC 7C 08 02 A6 */ mflr r0 -/* 80045280 000421E0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80045284 000421E4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80045288 000421E8 7C 9F 23 78 */ mr r31, r4 -/* 8004528C 000421EC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80045290 000421F0 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80045294 000421F4 7C BD 2B 78 */ mr r29, r5 -/* 80045298 000421F8 80 A4 00 04 */ lwz r5, 4(r4) -/* 8004529C 000421FC 80 1D 00 00 */ lwz r0, 0(r29) -/* 800452A0 00042200 7C 05 00 00 */ cmpw r5, r0 -/* 800452A4 00042204 41 82 00 C4 */ beq lbl_80045368 -/* 800452A8 00042208 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800452AC 0004220C 83 C3 08 50 */ lwz r30, 0x850(r3) -/* 800452B0 00042210 7C 05 00 00 */ cmpw r5, r0 -/* 800452B4 00042214 41 82 00 44 */ beq lbl_800452F8 -/* 800452B8 00042218 54 A3 18 38 */ slwi r3, r5, 3 -/* 800452BC 0004221C 80 9E 00 20 */ lwz r4, 0x20(r30) -/* 800452C0 00042220 38 03 00 04 */ addi r0, r3, 4 -/* 800452C4 00042224 90 A1 00 20 */ stw r5, 0x20(r1) -/* 800452C8 00042228 7C 64 00 2E */ lwzx r3, r4, r0 -/* 800452CC 0004222C 90 A1 00 24 */ stw r5, 0x24(r1) -/* 800452D0 00042230 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 800452D4 00042234 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800452D8 00042238 41 82 00 20 */ beq lbl_800452F8 -/* 800452DC 0004223C A0 1F 00 08 */ lhz r0, 8(r31) -/* 800452E0 00042240 38 81 00 14 */ addi r4, r1, 0x14 -/* 800452E4 00042244 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800452E8 00042248 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 800452EC 0004224C B0 01 00 10 */ sth r0, 0x10(r1) -/* 800452F0 00042250 80 63 10 C0 */ lwz r3, 0x10c0(r3) -/* 800452F4 00042254 4B FC AB B1 */ bl RemoveObject__11CObjectListF9TUniqueId -lbl_800452F8: -/* 800452F8 00042258 80 7D 00 00 */ lwz r3, 0(r29) -/* 800452FC 0004225C 90 7F 00 04 */ stw r3, 4(r31) -/* 80045300 00042260 80 BD 00 00 */ lwz r5, 0(r29) -/* 80045304 00042264 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80045308 00042268 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8004530C 0004226C 7C 05 00 00 */ cmpw r5, r0 -/* 80045310 00042270 41 82 00 58 */ beq lbl_80045368 -/* 80045314 00042274 54 A3 18 38 */ slwi r3, r5, 3 -/* 80045318 00042278 80 9E 00 20 */ lwz r4, 0x20(r30) -/* 8004531C 0004227C 38 03 00 04 */ addi r0, r3, 4 -/* 80045320 00042280 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80045324 00042284 7F C4 00 2E */ lwzx r30, r4, r0 -/* 80045328 00042288 88 1E 00 F0 */ lbz r0, 0xf0(r30) -/* 8004532C 0004228C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80045330 00042290 41 82 00 38 */ beq lbl_80045368 -/* 80045334 00042294 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80045338 00042298 38 81 00 0C */ addi r4, r1, 0xc -/* 8004533C 0004229C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80045340 000422A0 80 7E 01 2C */ lwz r3, 0x12c(r30) -/* 80045344 000422A4 B0 01 00 08 */ sth r0, 8(r1) -/* 80045348 000422A8 80 63 10 C0 */ lwz r3, 0x10c0(r3) -/* 8004534C 000422AC 4B FC AA 01 */ bl GetValidObjectById__11CObjectListCF9TUniqueId -/* 80045350 000422B0 28 03 00 00 */ cmplwi r3, 0 -/* 80045354 000422B4 40 82 00 14 */ bne lbl_80045368 -/* 80045358 000422B8 80 7E 01 2C */ lwz r3, 0x12c(r30) -/* 8004535C 000422BC 7F E4 FB 78 */ mr r4, r31 -/* 80045360 000422C0 80 63 10 C0 */ lwz r3, 0x10c0(r3) -/* 80045364 000422C4 4B FC AC 21 */ bl AddObject__11CObjectListFR7CEntity -lbl_80045368: -/* 80045368 000422C8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8004536C 000422CC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80045370 000422D0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80045374 000422D4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80045378 000422D8 7C 08 03 A6 */ mtlr r0 -/* 8004537C 000422DC 38 21 00 40 */ addi r1, r1, 0x40 -/* 80045380 000422E0 4E 80 00 20 */ blr - -.global TouchPlayerActor__13CStateManagerFv -TouchPlayerActor__13CStateManagerFv: -/* 80045384 000422E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80045388 000422E8 7C 08 02 A6 */ mflr r0 -/* 8004538C 000422EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80045390 000422F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80045394 000422F4 7C 7F 1B 78 */ mr r31, r3 -/* 80045398 000422F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004539C 000422FC A0 83 0F 6C */ lhz r4, 0xf6c(r3) -/* 800453A0 00042300 7C 04 00 40 */ cmplw r4, r0 -/* 800453A4 00042304 41 82 00 20 */ beq lbl_800453C4 -/* 800453A8 00042308 B0 81 00 08 */ sth r4, 8(r1) -/* 800453AC 0004230C 38 81 00 08 */ addi r4, r1, 8 -/* 800453B0 00042310 48 00 71 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800453B4 00042314 28 03 00 00 */ cmplwi r3, 0 -/* 800453B8 00042318 41 82 00 0C */ beq lbl_800453C4 -/* 800453BC 0004231C 7F E4 FB 78 */ mr r4, r31 -/* 800453C0 00042320 48 16 5F 09 */ bl TouchModels__18CScriptPlayerActorFRC13CStateManager -lbl_800453C4: -/* 800453C4 00042324 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800453C8 00042328 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800453CC 0004232C 7C 08 03 A6 */ mtlr r0 -/* 800453D0 00042330 38 21 00 20 */ addi r1, r1, 0x20 -/* 800453D4 00042334 4E 80 00 20 */ blr - -.global TouchSky__13CStateManagerCFv -TouchSky__13CStateManagerCFv: -/* 800453D8 00042338 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800453DC 0004233C 7C 08 02 A6 */ mflr r0 -/* 800453E0 00042340 90 01 00 14 */ stw r0, 0x14(r1) -/* 800453E4 00042344 80 63 08 50 */ lwz r3, 0x850(r3) -/* 800453E8 00042348 48 01 15 11 */ bl TouchSky__6CWorldCFv -/* 800453EC 0004234C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800453F0 00042350 7C 08 03 A6 */ mtlr r0 -/* 800453F4 00042354 38 21 00 10 */ addi r1, r1, 0x10 -/* 800453F8 00042358 4E 80 00 20 */ blr - -.global DrawSpaceWarp__13CStateManagerCFRC9CVector3ff -DrawSpaceWarp__13CStateManagerCFRC9CVector3ff: -/* 800453FC 0004235C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80045400 00042360 7C 08 02 A6 */ mflr r0 -/* 80045404 00042364 90 01 00 34 */ stw r0, 0x34(r1) -/* 80045408 00042368 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 8004540C 0004236C FF E0 08 90 */ fmr f31, f1 -/* 80045410 00042370 93 E1 00 24 */ stw r31, 0x24(r1) -/* 80045414 00042374 7C 9F 23 78 */ mr r31, r4 -/* 80045418 00042378 93 C1 00 20 */ stw r30, 0x20(r1) -/* 8004541C 0004237C 7C 7E 1B 78 */ mr r30, r3 -/* 80045420 00042380 7F C4 F3 78 */ mr r4, r30 -/* 80045424 00042384 80 63 08 B8 */ lwz r3, 0x8b8(r3) -/* 80045428 00042388 80 63 00 00 */ lwz r3, 0(r3) -/* 8004542C 0004238C 48 04 C1 2D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80045430 00042390 2C 03 00 02 */ cmpwi r3, 2 -/* 80045434 00042394 41 82 00 20 */ beq lbl_80045454 -/* 80045438 00042398 40 80 00 10 */ bge lbl_80045448 -/* 8004543C 0004239C 2C 03 00 01 */ cmpwi r3, 1 -/* 80045440 000423A0 40 80 00 4C */ bge lbl_8004548C -/* 80045444 000423A4 48 00 00 10 */ b lbl_80045454 -lbl_80045448: -/* 80045448 000423A8 2C 03 00 04 */ cmpwi r3, 4 -/* 8004544C 000423AC 40 80 00 08 */ bge lbl_80045454 -/* 80045450 000423B0 48 00 00 3C */ b lbl_8004548C -lbl_80045454: -/* 80045454 000423B4 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 80045458 000423B8 7F C4 F3 78 */ mr r4, r30 -/* 8004545C 000423BC 4B FC 66 BD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80045460 000423C0 7C 64 1B 78 */ mr r4, r3 -/* 80045464 000423C4 7F E5 FB 78 */ mr r5, r31 -/* 80045468 000423C8 38 61 00 08 */ addi r3, r1, 8 -/* 8004546C 000423CC 48 01 84 25 */ bl ConvertToScreenSpace__11CGameCameraCFRC9CVector3f -/* 80045470 000423D0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80045474 000423D4 FC 20 F8 90 */ fmr f1, f31 -/* 80045478 000423D8 38 81 00 08 */ addi r4, r1, 8 -/* 8004547C 000423DC 81 83 00 00 */ lwz r12, 0(r3) -/* 80045480 000423E0 81 8C 00 CC */ lwz r12, 0xcc(r12) -/* 80045484 000423E4 7D 89 03 A6 */ mtctr r12 -/* 80045488 000423E8 4E 80 04 21 */ bctrl -lbl_8004548C: -/* 8004548C 000423EC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80045490 000423F0 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 80045494 000423F4 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 80045498 000423F8 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 8004549C 000423FC 7C 08 03 A6 */ mtlr r0 -/* 800454A0 00042400 38 21 00 30 */ addi r1, r1, 0x30 -/* 800454A4 00042404 4E 80 00 20 */ blr - -.global DrawReflection__13CStateManagerFRC9CVector3f -DrawReflection__13CStateManagerFRC9CVector3f: -/* 800454A8 00042408 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 800454AC 0004240C 7C 08 02 A6 */ mflr r0 -/* 800454B0 00042410 90 01 01 54 */ stw r0, 0x154(r1) -/* 800454B4 00042414 93 E1 01 4C */ stw r31, 0x14c(r1) -/* 800454B8 00042418 7C 9F 23 78 */ mr r31, r4 -/* 800454BC 0004241C 93 C1 01 48 */ stw r30, 0x148(r1) -/* 800454C0 00042420 93 A1 01 44 */ stw r29, 0x144(r1) -/* 800454C4 00042424 7C 7D 1B 78 */ mr r29, r3 -/* 800454C8 00042428 83 C3 08 4C */ lwz r30, 0x84c(r3) -/* 800454CC 0004242C 38 61 00 50 */ addi r3, r1, 0x50 -/* 800454D0 00042430 7F C4 F3 78 */ mr r4, r30 -/* 800454D4 00042434 48 0D 54 59 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 800454D8 00042438 C0 A1 00 50 */ lfs f5, 0x50(r1) -/* 800454DC 0004243C 38 61 00 2C */ addi r3, r1, 0x2c -/* 800454E0 00042440 C0 81 00 54 */ lfs f4, 0x54(r1) -/* 800454E4 00042444 38 81 00 84 */ addi r4, r1, 0x84 -/* 800454E8 00042448 C0 61 00 58 */ lfs f3, 0x58(r1) -/* 800454EC 0004244C C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 800454F0 00042450 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 800454F4 00042454 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 800454F8 00042458 D0 A1 00 84 */ stfs f5, 0x84(r1) -/* 800454FC 0004245C D0 81 00 88 */ stfs f4, 0x88(r1) -/* 80045500 00042460 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 80045504 00042464 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 80045508 00042468 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 8004550C 0004246C D0 01 00 98 */ stfs f0, 0x98(r1) -/* 80045510 00042470 48 2F 20 FD */ bl GetCenterPoint__6CAABoxCFv -/* 80045514 00042474 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 80045518 00042478 38 61 00 20 */ addi r3, r1, 0x20 -/* 8004551C 0004247C C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 80045520 00042480 38 81 00 14 */ addi r4, r1, 0x14 -/* 80045524 00042484 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 80045528 00042488 EC 03 18 28 */ fsubs f0, f3, f3 -/* 8004552C 0004248C C0 5F 00 04 */ lfs f2, 4(r31) -/* 80045530 00042490 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80045534 00042494 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80045538 00042498 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 8004553C 0004249C EC 25 08 28 */ fsubs f1, f5, f1 -/* 80045540 000424A0 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 80045544 000424A4 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 80045548 000424A8 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8004554C 000424AC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80045550 000424B0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80045554 000424B4 48 2C F2 FD */ bl AsNormalized__9CVector3fCFv -/* 80045558 000424B8 C0 62 85 9C */ lfs f3, lbl_805AA2BC@sda21(r2) -/* 8004555C 000424BC 38 61 00 9C */ addi r3, r1, 0x9c -/* 80045560 000424C0 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 80045564 000424C4 38 81 00 38 */ addi r4, r1, 0x38 -/* 80045568 000424C8 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8004556C 000424CC 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80045570 000424D0 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80045574 000424D4 EC C3 00 B2 */ fmuls f6, f3, f2 -/* 80045578 000424D8 C0 E1 00 48 */ lfs f7, 0x48(r1) -/* 8004557C 000424DC EC 83 00 72 */ fmuls f4, f3, f1 -/* 80045580 000424E0 C0 A1 00 4C */ lfs f5, 0x4c(r1) -/* 80045584 000424E4 EC 43 00 32 */ fmuls f2, f3, f0 -/* 80045588 000424E8 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 8004558C 000424EC C0 61 00 44 */ lfs f3, 0x44(r1) -/* 80045590 000424F0 EC C7 30 28 */ fsubs f6, f7, f6 -/* 80045594 000424F4 EC 85 20 28 */ fsubs f4, f5, f4 -/* 80045598 000424F8 C0 02 85 A0 */ lfs f0, lbl_805AA2C0@sda21(r2) -/* 8004559C 000424FC EC 43 10 28 */ fsubs f2, f3, f2 -/* 800455A0 00042500 D0 21 00 08 */ stfs f1, 8(r1) -/* 800455A4 00042504 38 C1 00 08 */ addi r6, r1, 8 -/* 800455A8 00042508 D0 C1 00 3C */ stfs f6, 0x3c(r1) -/* 800455AC 0004250C D0 41 00 38 */ stfs f2, 0x38(r1) -/* 800455B0 00042510 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 800455B4 00042514 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800455B8 00042518 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800455BC 0004251C 48 2C E5 55 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800455C0 00042520 38 61 00 FC */ addi r3, r1, 0xfc -/* 800455C4 00042524 38 81 00 9C */ addi r4, r1, 0x9c -/* 800455C8 00042528 48 2C D5 AD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800455CC 0004252C 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 800455D0 00042530 38 61 00 CC */ addi r3, r1, 0xcc -/* 800455D4 00042534 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 800455D8 00042538 48 2C D5 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800455DC 0004253C 38 61 00 FC */ addi r3, r1, 0xfc -/* 800455E0 00042540 48 2C 71 6D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 800455E4 00042544 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 800455E8 00042548 7F A4 EB 78 */ mr r4, r29 -/* 800455EC 0004254C 4B FC 65 2D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800455F0 00042550 7C 7F 1B 78 */ mr r31, r3 -/* 800455F4 00042554 48 2C 48 69 */ bl GetProjectionState__9CGraphicsFv -/* 800455F8 00042558 88 03 00 00 */ lbz r0, 0(r3) -/* 800455FC 0004255C 3C 80 43 30 */ lis r4, 0x4330 -/* 80045600 00042560 3C A0 80 3F */ lis r5, lbl_803ED910@ha -/* 80045604 00042564 90 81 01 30 */ stw r4, 0x130(r1) -/* 80045608 00042568 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l -/* 8004560C 0004256C C8 22 85 A8 */ lfd f1, lbl_805AA2C8@sda21(r2) -/* 80045610 00042570 98 01 00 68 */ stb r0, 0x68(r1) -/* 80045614 00042574 80 A6 00 08 */ lwz r5, 8(r6) -/* 80045618 00042578 C0 03 00 04 */ lfs f0, 4(r3) -/* 8004561C 0004257C 80 06 00 0C */ lwz r0, 0xc(r6) -/* 80045620 00042580 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 80045624 00042584 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80045628 00042588 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8004562C 0004258C C0 03 00 08 */ lfs f0, 8(r3) -/* 80045630 00042590 90 A1 01 34 */ stw r5, 0x134(r1) -/* 80045634 00042594 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80045638 00042598 C8 01 01 30 */ lfd f0, 0x130(r1) -/* 8004563C 0004259C C0 63 00 0C */ lfs f3, 0xc(r3) -/* 80045640 000425A0 90 01 01 3C */ stw r0, 0x13c(r1) -/* 80045644 000425A4 EC 40 08 28 */ fsubs f2, f0, f1 -/* 80045648 000425A8 D0 61 00 74 */ stfs f3, 0x74(r1) -/* 8004564C 000425AC C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80045650 000425B0 90 81 01 38 */ stw r4, 0x138(r1) -/* 80045654 000425B4 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80045658 000425B8 C8 01 01 38 */ lfd f0, 0x138(r1) -/* 8004565C 000425BC C0 83 00 14 */ lfs f4, 0x14(r3) -/* 80045660 000425C0 EC 60 08 28 */ fsubs f3, f0, f1 -/* 80045664 000425C4 D0 81 00 7C */ stfs f4, 0x7c(r1) -/* 80045668 000425C8 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8004566C 000425CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80045670 000425D0 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80045674 000425D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80045678 000425D8 C0 3F 01 5C */ lfs f1, 0x15c(r31) -/* 8004567C 000425DC 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80045680 000425E0 C0 9F 01 60 */ lfs f4, 0x160(r31) -/* 80045684 000425E4 C0 BF 01 64 */ lfs f5, 0x164(r31) -/* 80045688 000425E8 7D 89 03 A6 */ mtctr r12 -/* 8004568C 000425EC 4E 80 04 21 */ bctrl -/* 80045690 000425F0 7F C3 F3 78 */ mr r3, r30 -/* 80045694 000425F4 7F A4 EB 78 */ mr r4, r29 -/* 80045698 000425F8 4B FC EA DD */ bl RenderReflectedPlayer__7CPlayerFR13CStateManager -/* 8004569C 000425FC 38 61 00 CC */ addi r3, r1, 0xcc -/* 800456A0 00042600 48 2C 70 AD */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 800456A4 00042604 38 61 00 68 */ addi r3, r1, 0x68 -/* 800456A8 00042608 48 2C 47 59 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 800456AC 0004260C 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800456B0 00042610 83 E1 01 4C */ lwz r31, 0x14c(r1) -/* 800456B4 00042614 83 C1 01 48 */ lwz r30, 0x148(r1) -/* 800456B8 00042618 83 A1 01 44 */ lwz r29, 0x144(r1) -/* 800456BC 0004261C 7C 08 03 A6 */ mtlr r0 -/* 800456C0 00042620 38 21 01 50 */ addi r1, r1, 0x150 -/* 800456C4 00042624 4E 80 00 20 */ blr - -.global CacheReflection__13CStateManagerFv -CacheReflection__13CStateManagerFv: -/* 800456C8 00042628 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800456CC 0004262C 7C 08 02 A6 */ mflr r0 -/* 800456D0 00042630 3C 80 80 04 */ lis r4, ReflectionDrawer__13CStateManagerFPvRC9CVector3f@ha -/* 800456D4 00042634 7C 65 1B 78 */ mr r5, r3 -/* 800456D8 00042638 90 01 00 14 */ stw r0, 0x14(r1) -/* 800456DC 0004263C 38 84 57 10 */ addi r4, r4, ReflectionDrawer__13CStateManagerFPvRC9CVector3f@l -/* 800456E0 00042640 88 02 80 E8 */ lbz r0, lbl_805A9E08@sda21(r2) -/* 800456E4 00042644 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800456E8 00042648 7C 00 00 34 */ cntlzw r0, r0 -/* 800456EC 0004264C 81 83 00 00 */ lwz r12, 0(r3) -/* 800456F0 00042650 54 06 D9 7E */ srwi r6, r0, 5 -/* 800456F4 00042654 81 8C 00 C8 */ lwz r12, 0xc8(r12) -/* 800456F8 00042658 7D 89 03 A6 */ mtctr r12 -/* 800456FC 0004265C 4E 80 04 21 */ bctrl -/* 80045700 00042660 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80045704 00042664 7C 08 03 A6 */ mtlr r0 -/* 80045708 00042668 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004570C 0004266C 4E 80 00 20 */ blr - -.global ReflectionDrawer__13CStateManagerFPvRC9CVector3f -ReflectionDrawer__13CStateManagerFPvRC9CVector3f: -/* 80045710 00042670 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80045714 00042674 7C 08 02 A6 */ mflr r0 -/* 80045718 00042678 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004571C 0004267C 4B FF FD 8D */ bl DrawReflection__13CStateManagerFRC9CVector3f -/* 80045720 00042680 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80045724 00042684 7C 08 03 A6 */ mtlr r0 -/* 80045728 00042688 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004572C 0004268C 4E 80 00 20 */ blr - -.global CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei: -/* 80045730 00042690 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80045734 00042694 7C 08 02 A6 */ mflr r0 -/* 80045738 00042698 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004573C 0004269C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80045740 000426A0 7C DF 33 78 */ mr r31, r6 -/* 80045744 000426A4 A0 04 00 00 */ lhz r0, 0(r4) -/* 80045748 000426A8 38 81 00 08 */ addi r4, r1, 8 -/* 8004574C 000426AC 80 63 08 78 */ lwz r3, 0x878(r3) -/* 80045750 000426B0 B0 01 00 08 */ sth r0, 8(r1) -/* 80045754 000426B4 48 07 C5 D5 */ bl GetNumActive__10CWeaponMgrCF9TUniqueId11EWeaponType -/* 80045758 000426B8 7F E0 1A 78 */ xor r0, r31, r3 -/* 8004575C 000426BC 7C 03 0E 70 */ srawi r3, r0, 1 -/* 80045760 000426C0 7C 00 F8 38 */ and r0, r0, r31 -/* 80045764 000426C4 7C 00 18 50 */ subf r0, r0, r3 -/* 80045768 000426C8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8004576C 000426CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80045770 000426D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80045774 000426D4 7C 08 03 A6 */ mtlr r0 -/* 80045778 000426D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004577C 000426DC 4E 80 00 20 */ blr - -.global BuildDynamicLightListForWorld__13CStateManagerFv -BuildDynamicLightListForWorld__13CStateManagerFv: -/* 80045780 000426E0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80045784 000426E4 7C 08 02 A6 */ mflr r0 -/* 80045788 000426E8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8004578C 000426EC 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 80045790 000426F0 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 80045794 000426F4 7C 7E 1B 78 */ mr r30, r3 -/* 80045798 000426F8 7F C4 F3 78 */ mr r4, r30 -/* 8004579C 000426FC 93 A1 00 C4 */ stw r29, 0xc4(r1) -/* 800457A0 00042700 93 81 00 C0 */ stw r28, 0xc0(r1) -/* 800457A4 00042704 80 63 08 B8 */ lwz r3, 0x8b8(r3) -/* 800457A8 00042708 80 63 00 00 */ lwz r3, 0(r3) -/* 800457AC 0004270C 48 04 BD AD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 800457B0 00042710 2C 03 00 03 */ cmpwi r3, 3 -/* 800457B4 00042714 40 82 00 64 */ bne lbl_80045818 -/* 800457B8 00042718 38 00 00 00 */ li r0, 0 -/* 800457BC 0004271C 38 7E 08 E0 */ addi r3, r30, 0x8e0 -/* 800457C0 00042720 90 01 00 60 */ stw r0, 0x60(r1) -/* 800457C4 00042724 38 81 00 5C */ addi r4, r1, 0x5c -/* 800457C8 00042728 90 01 00 64 */ stw r0, 0x64(r1) -/* 800457CC 0004272C 90 01 00 68 */ stw r0, 0x68(r1) -/* 800457D0 00042730 48 00 02 99 */ bl sub_80045a68 -/* 800457D4 00042734 80 01 00 60 */ lwz r0, 0x60(r1) -/* 800457D8 00042738 80 61 00 68 */ lwz r3, 0x68(r1) -/* 800457DC 0004273C 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 800457E0 00042740 90 61 00 30 */ stw r3, 0x30(r1) -/* 800457E4 00042744 7C 64 1B 78 */ mr r4, r3 -/* 800457E8 00042748 7C 03 02 14 */ add r0, r3, r0 -/* 800457EC 0004274C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 800457F0 00042750 90 01 00 38 */ stw r0, 0x38(r1) -/* 800457F4 00042754 90 01 00 34 */ stw r0, 0x34(r1) -/* 800457F8 00042758 48 00 00 08 */ b lbl_80045800 -lbl_800457FC: -/* 800457FC 0004275C 38 84 00 50 */ addi r4, r4, 0x50 -lbl_80045800: -/* 80045800 00042760 7C 04 00 40 */ cmplw r4, r0 -/* 80045804 00042764 40 82 FF F8 */ bne lbl_800457FC -/* 80045808 00042768 28 03 00 00 */ cmplwi r3, 0 -/* 8004580C 0004276C 41 82 01 98 */ beq lbl_800459A4 -/* 80045810 00042770 48 2D 01 21 */ bl Free__7CMemoryFPCv -/* 80045814 00042774 48 00 01 90 */ b lbl_800459A4 -lbl_80045818: -/* 80045818 00042778 83 FE 08 30 */ lwz r31, 0x830(r30) -/* 8004581C 0004277C AB BF 20 0A */ lha r29, 0x200a(r31) -/* 80045820 00042780 2C 1D 00 00 */ cmpwi r29, 0 -/* 80045824 00042784 41 82 01 80 */ beq lbl_800459A4 -/* 80045828 00042788 80 1E 08 E8 */ lwz r0, 0x8e8(r30) -/* 8004582C 0004278C 7C 1D 00 00 */ cmpw r29, r0 -/* 80045830 00042790 41 82 00 70 */ beq lbl_800458A0 -/* 80045834 00042794 38 00 00 00 */ li r0, 0 -/* 80045838 00042798 38 7E 08 E0 */ addi r3, r30, 0x8e0 -/* 8004583C 0004279C 90 01 00 50 */ stw r0, 0x50(r1) -/* 80045840 000427A0 38 81 00 4C */ addi r4, r1, 0x4c -/* 80045844 000427A4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80045848 000427A8 90 01 00 58 */ stw r0, 0x58(r1) -/* 8004584C 000427AC 48 00 02 1D */ bl sub_80045a68 -/* 80045850 000427B0 80 01 00 50 */ lwz r0, 0x50(r1) -/* 80045854 000427B4 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80045858 000427B8 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 8004585C 000427BC 90 61 00 20 */ stw r3, 0x20(r1) -/* 80045860 000427C0 7C 64 1B 78 */ mr r4, r3 -/* 80045864 000427C4 7C 03 02 14 */ add r0, r3, r0 -/* 80045868 000427C8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8004586C 000427CC 90 01 00 28 */ stw r0, 0x28(r1) -/* 80045870 000427D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80045874 000427D4 48 00 00 08 */ b lbl_8004587C -lbl_80045878: -/* 80045878 000427D8 38 84 00 50 */ addi r4, r4, 0x50 -lbl_8004587C: -/* 8004587C 000427DC 7C 04 00 40 */ cmplw r4, r0 -/* 80045880 000427E0 40 82 FF F8 */ bne lbl_80045878 -/* 80045884 000427E4 28 03 00 00 */ cmplwi r3, 0 -/* 80045888 000427E8 41 82 00 08 */ beq lbl_80045890 -/* 8004588C 000427EC 48 2D 00 A5 */ bl Free__7CMemoryFPCv -lbl_80045890: -/* 80045890 000427F0 7F A4 EB 78 */ mr r4, r29 -/* 80045894 000427F4 38 7E 08 E0 */ addi r3, r30, 0x8e0 -/* 80045898 000427F8 48 00 A9 6D */ bl sub_80050204 -/* 8004589C 000427FC 48 00 00 3C */ b lbl_800458D8 -lbl_800458A0: -/* 800458A0 00042800 80 1E 08 E4 */ lwz r0, 0x8e4(r30) -/* 800458A4 00042804 80 7E 08 EC */ lwz r3, 0x8ec(r30) -/* 800458A8 00042808 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 800458AC 0004280C 90 61 00 10 */ stw r3, 0x10(r1) -/* 800458B0 00042810 7C 03 02 14 */ add r0, r3, r0 -/* 800458B4 00042814 90 61 00 0C */ stw r3, 0xc(r1) -/* 800458B8 00042818 90 01 00 18 */ stw r0, 0x18(r1) -/* 800458BC 0004281C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800458C0 00042820 48 00 00 08 */ b lbl_800458C8 -lbl_800458C4: -/* 800458C4 00042824 38 63 00 50 */ addi r3, r3, 0x50 -lbl_800458C8: -/* 800458C8 00042828 7C 03 00 40 */ cmplw r3, r0 -/* 800458CC 0004282C 40 82 FF F8 */ bne lbl_800458C4 -/* 800458D0 00042830 38 00 00 00 */ li r0, 0 -/* 800458D4 00042834 90 1E 08 E4 */ stw r0, 0x8e4(r30) -lbl_800458D8: -/* 800458D8 00042838 AB BF 20 08 */ lha r29, 0x2008(r31) -/* 800458DC 0004283C 48 00 00 84 */ b lbl_80045960 -lbl_800458E0: -/* 800458E0 00042840 7F E3 FB 78 */ mr r3, r31 -/* 800458E4 00042844 7F A4 EB 78 */ mr r4, r29 -/* 800458E8 00042848 4B FC A3 F5 */ bl __vc__11CObjectListCFi -/* 800458EC 0004284C 28 03 00 00 */ cmplwi r3, 0 -/* 800458F0 00042850 41 82 00 54 */ beq lbl_80045944 -/* 800458F4 00042854 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800458F8 00042858 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800458FC 0004285C 41 82 00 48 */ beq lbl_80045944 -/* 80045900 00042860 7C 64 1B 78 */ mr r4, r3 -/* 80045904 00042864 38 61 00 6C */ addi r3, r1, 0x6c -/* 80045908 00042868 48 06 FD A1 */ bl GetLight__10CGameLightCFv -/* 8004590C 0004286C 3B 81 00 6C */ addi r28, r1, 0x6c -/* 80045910 00042870 7F 83 E3 78 */ mr r3, r28 -/* 80045914 00042874 48 2C 08 41 */ bl GetIntensity__6CLightCFv -/* 80045918 00042878 C0 02 85 88 */ lfs f0, lbl_805AA2A8@sda21(r2) -/* 8004591C 0004287C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80045920 00042880 40 81 00 24 */ ble lbl_80045944 -/* 80045924 00042884 7F 83 E3 78 */ mr r3, r28 -/* 80045928 00042888 48 2C 09 AD */ bl GetRadius__6CLightCFv -/* 8004592C 0004288C C0 02 85 88 */ lfs f0, lbl_805AA2A8@sda21(r2) -/* 80045930 00042890 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80045934 00042894 40 81 00 10 */ ble lbl_80045944 -/* 80045938 00042898 7F 84 E3 78 */ mr r4, r28 -/* 8004593C 0004289C 38 7E 08 E0 */ addi r3, r30, 0x8e0 -/* 80045940 000428A0 48 00 00 85 */ bl sub_800459c4 -lbl_80045944: -/* 80045944 000428A4 2C 1D FF FF */ cmpwi r29, -1 -/* 80045948 000428A8 41 82 00 14 */ beq lbl_8004595C -/* 8004594C 000428AC 57 A3 18 38 */ slwi r3, r29, 3 -/* 80045950 000428B0 38 03 00 08 */ addi r0, r3, 8 -/* 80045954 000428B4 7F BF 02 AE */ lhax r29, r31, r0 -/* 80045958 000428B8 48 00 00 08 */ b lbl_80045960 -lbl_8004595C: -/* 8004595C 000428BC 3B A0 FF FF */ li r29, -1 -lbl_80045960: -/* 80045960 000428C0 2C 1D FF FF */ cmpwi r29, -1 -/* 80045964 000428C4 40 82 FF 7C */ bne lbl_800458E0 -/* 80045968 000428C8 88 0D A2 04 */ lbz r0, lbl_805A8DC4@sda21(r13) -/* 8004596C 000428CC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80045970 000428D0 38 81 00 40 */ addi r4, r1, 0x40 -/* 80045974 000428D4 38 A1 00 08 */ addi r5, r1, 8 -/* 80045978 000428D8 98 01 00 08 */ stb r0, 8(r1) -/* 8004597C 000428DC 80 1E 08 E4 */ lwz r0, 0x8e4(r30) -/* 80045980 000428E0 80 DE 08 EC */ lwz r6, 0x8ec(r30) -/* 80045984 000428E4 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80045988 000428E8 7C C6 02 14 */ add r6, r6, r0 -/* 8004598C 000428EC 90 C1 00 40 */ stw r6, 0x40(r1) -/* 80045990 000428F0 80 1E 08 EC */ lwz r0, 0x8ec(r30) -/* 80045994 000428F4 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 80045998 000428F8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8004599C 000428FC 90 01 00 48 */ stw r0, 0x48(r1) -/* 800459A0 00042900 48 00 9F 39 */ bl sub_8004f8d8 -lbl_800459A4: -/* 800459A4 00042904 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 800459A8 00042908 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 800459AC 0004290C 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 800459B0 00042910 83 A1 00 C4 */ lwz r29, 0xc4(r1) -/* 800459B4 00042914 83 81 00 C0 */ lwz r28, 0xc0(r1) -/* 800459B8 00042918 7C 08 03 A6 */ mtlr r0 -/* 800459BC 0004291C 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 800459C0 00042920 4E 80 00 20 */ blr - -.global sub_800459c4 -sub_800459c4: -/* 800459C4 00042924 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800459C8 00042928 7C 08 02 A6 */ mflr r0 -/* 800459CC 0004292C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800459D0 00042930 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800459D4 00042934 7C 9F 23 78 */ mr r31, r4 -/* 800459D8 00042938 93 C1 00 08 */ stw r30, 8(r1) -/* 800459DC 0004293C 7C 7E 1B 78 */ mr r30, r3 -/* 800459E0 00042940 80 03 00 04 */ lwz r0, 4(r3) -/* 800459E4 00042944 80 A3 00 08 */ lwz r5, 8(r3) -/* 800459E8 00042948 7C 00 28 00 */ cmpw r0, r5 -/* 800459EC 0004294C 41 80 00 18 */ blt lbl_80045A04 -/* 800459F0 00042950 2C 05 00 00 */ cmpwi r5, 0 -/* 800459F4 00042954 38 80 00 04 */ li r4, 4 -/* 800459F8 00042958 41 82 00 08 */ beq lbl_80045A00 -/* 800459FC 0004295C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80045A00: -/* 80045A00 00042960 48 00 A8 05 */ bl sub_80050204 -lbl_80045A04: -/* 80045A04 00042964 80 1E 00 04 */ lwz r0, 4(r30) -/* 80045A08 00042968 7F E4 FB 78 */ mr r4, r31 -/* 80045A0C 0004296C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80045A10 00042970 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80045A14 00042974 7C 63 02 14 */ add r3, r3, r0 -/* 80045A18 00042978 48 00 00 29 */ bl sub_80045a40 -/* 80045A1C 0004297C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80045A20 00042980 38 03 00 01 */ addi r0, r3, 1 -/* 80045A24 00042984 90 1E 00 04 */ stw r0, 4(r30) -/* 80045A28 00042988 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80045A2C 0004298C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80045A30 00042990 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80045A34 00042994 7C 08 03 A6 */ mtlr r0 -/* 80045A38 00042998 38 21 00 10 */ addi r1, r1, 0x10 -/* 80045A3C 0004299C 4E 80 00 20 */ blr - -.global sub_80045a40 -sub_80045a40: -/* 80045A40 000429A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80045A44 000429A4 7C 08 02 A6 */ mflr r0 -/* 80045A48 000429A8 28 03 00 00 */ cmplwi r3, 0 -/* 80045A4C 000429AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80045A50 000429B0 41 82 00 08 */ beq lbl_80045A58 -/* 80045A54 000429B4 4B FF 5B 1D */ bl __ct__6CLightFCR6CLight -lbl_80045A58: -/* 80045A58 000429B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80045A5C 000429BC 7C 08 03 A6 */ mtlr r0 -/* 80045A60 000429C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80045A64 000429C4 4E 80 00 20 */ blr - -.global sub_80045a68 -sub_80045a68: -/* 80045A68 000429C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80045A6C 000429CC 7C 08 02 A6 */ mflr r0 -/* 80045A70 000429D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80045A74 000429D4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80045A78 000429D8 7C 9F 23 78 */ mr r31, r4 -/* 80045A7C 000429DC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80045A80 000429E0 7C 7E 1B 78 */ mr r30, r3 -/* 80045A84 000429E4 7C 1E F8 40 */ cmplw r30, r31 -/* 80045A88 000429E8 40 82 00 08 */ bne lbl_80045A90 -/* 80045A8C 000429EC 48 00 00 98 */ b lbl_80045B24 -lbl_80045A90: -/* 80045A90 000429F0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80045A94 000429F4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80045A98 000429F8 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80045A9C 000429FC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80045AA0 00042A00 7C 03 02 14 */ add r0, r3, r0 -/* 80045AA4 00042A04 90 61 00 08 */ stw r3, 8(r1) -/* 80045AA8 00042A08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80045AAC 00042A0C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80045AB0 00042A10 48 00 00 08 */ b lbl_80045AB8 -lbl_80045AB4: -/* 80045AB4 00042A14 38 63 00 50 */ addi r3, r3, 0x50 -lbl_80045AB8: -/* 80045AB8 00042A18 7C 03 00 40 */ cmplw r3, r0 -/* 80045ABC 00042A1C 40 82 FF F8 */ bne lbl_80045AB4 -/* 80045AC0 00042A20 38 00 00 00 */ li r0, 0 -/* 80045AC4 00042A24 90 1E 00 04 */ stw r0, 4(r30) -/* 80045AC8 00042A28 80 9F 00 04 */ lwz r4, 4(r31) -/* 80045ACC 00042A2C 2C 04 00 00 */ cmpwi r4, 0 -/* 80045AD0 00042A30 40 82 00 28 */ bne lbl_80045AF8 -/* 80045AD4 00042A34 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80045AD8 00042A38 28 03 00 00 */ cmplwi r3, 0 -/* 80045ADC 00042A3C 41 82 00 08 */ beq lbl_80045AE4 -/* 80045AE0 00042A40 48 2C FE 51 */ bl Free__7CMemoryFPCv -lbl_80045AE4: -/* 80045AE4 00042A44 38 00 00 00 */ li r0, 0 -/* 80045AE8 00042A48 90 1E 00 04 */ stw r0, 4(r30) -/* 80045AEC 00042A4C 90 1E 00 08 */ stw r0, 8(r30) -/* 80045AF0 00042A50 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80045AF4 00042A54 48 00 00 2C */ b lbl_80045B20 -lbl_80045AF8: -/* 80045AF8 00042A58 7F C3 F3 78 */ mr r3, r30 -/* 80045AFC 00042A5C 48 00 A7 09 */ bl sub_80050204 -/* 80045B00 00042A60 80 1F 00 04 */ lwz r0, 4(r31) -/* 80045B04 00042A64 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80045B08 00042A68 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80045B0C 00042A6C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80045B10 00042A70 7C 83 02 14 */ add r4, r3, r0 -/* 80045B14 00042A74 48 00 00 29 */ bl sub_80045b3c -/* 80045B18 00042A78 80 1F 00 04 */ lwz r0, 4(r31) -/* 80045B1C 00042A7C 90 1E 00 04 */ stw r0, 4(r30) -lbl_80045B20: -/* 80045B20 00042A80 7F C3 F3 78 */ mr r3, r30 -lbl_80045B24: -/* 80045B24 00042A84 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80045B28 00042A88 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80045B2C 00042A8C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80045B30 00042A90 7C 08 03 A6 */ mtlr r0 -/* 80045B34 00042A94 38 21 00 20 */ addi r1, r1, 0x20 -/* 80045B38 00042A98 4E 80 00 20 */ blr - -.global sub_80045b3c -sub_80045b3c: -/* 80045B3C 00042A9C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80045B40 00042AA0 7C 08 02 A6 */ mflr r0 -/* 80045B44 00042AA4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80045B48 00042AA8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80045B4C 00042AAC 7C BF 2B 78 */ mr r31, r5 -/* 80045B50 00042AB0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80045B54 00042AB4 7C 7E 1B 78 */ mr r30, r3 -/* 80045B58 00042AB8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80045B5C 00042ABC 7C 9D 23 78 */ mr r29, r4 -/* 80045B60 00042AC0 48 00 00 18 */ b lbl_80045B78 -lbl_80045B64: -/* 80045B64 00042AC4 7F E3 FB 78 */ mr r3, r31 -/* 80045B68 00042AC8 7F C4 F3 78 */ mr r4, r30 -/* 80045B6C 00042ACC 4B FF FE D5 */ bl sub_80045a40 -/* 80045B70 00042AD0 3B FF 00 50 */ addi r31, r31, 0x50 -/* 80045B74 00042AD4 3B DE 00 50 */ addi r30, r30, 0x50 -lbl_80045B78: -/* 80045B78 00042AD8 7C 1E E8 40 */ cmplw r30, r29 -/* 80045B7C 00042ADC 40 82 FF E8 */ bne lbl_80045B64 -/* 80045B80 00042AE0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80045B84 00042AE4 7F E3 FB 78 */ mr r3, r31 -/* 80045B88 00042AE8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80045B8C 00042AEC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80045B90 00042AF0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80045B94 00042AF4 7C 08 03 A6 */ mtlr r0 -/* 80045B98 00042AF8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80045B9C 00042AFC 4E 80 00 20 */ blr - -.global DrawDebugStuff__13CStateManagerCFv -DrawDebugStuff__13CStateManagerCFv: -/* 80045BA0 00042B00 4E 80 00 20 */ blr - -.global RenderCamerasAndAreaLights__13CStateManagerCFv -RenderCamerasAndAreaLights__13CStateManagerCFv: -/* 80045BA4 00042B04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80045BA8 00042B08 7C 08 02 A6 */ mflr r0 -/* 80045BAC 00042B0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80045BB0 00042B10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80045BB4 00042B14 7C 7F 1B 78 */ mr r31, r3 -/* 80045BB8 00042B18 7F E4 FB 78 */ mr r4, r31 -/* 80045BBC 00042B1C 93 C1 00 08 */ stw r30, 8(r1) -/* 80045BC0 00042B20 80 63 08 70 */ lwz r3, 0x870(r3) -/* 80045BC4 00042B24 4B FC 60 45 */ bl RenderCameras__14CCameraManagerFRC13CStateManager -/* 80045BC8 00042B28 3B C0 00 00 */ li r30, 0 -/* 80045BCC 00042B2C 3B FF 0B 88 */ addi r31, r31, 0xb88 -lbl_80045BD0: -/* 80045BD0 00042B30 7F E3 FB 78 */ mr r3, r31 -/* 80045BD4 00042B34 48 0A 66 BD */ bl Draw__17CCameraFilterPassCFv -/* 80045BD8 00042B38 3B DE 00 01 */ addi r30, r30, 1 -/* 80045BDC 00042B3C 3B FF 00 2C */ addi r31, r31, 0x2c -/* 80045BE0 00042B40 2C 1E 00 09 */ cmpwi r30, 9 -/* 80045BE4 00042B44 41 80 FF EC */ blt lbl_80045BD0 -/* 80045BE8 00042B48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80045BEC 00042B4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80045BF0 00042B50 83 C1 00 08 */ lwz r30, 8(r1) -/* 80045BF4 00042B54 7C 08 03 A6 */ mtlr r0 -/* 80045BF8 00042B58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80045BFC 00042B5C 4E 80 00 20 */ blr - -.global DrawE3DeathEffect__13CStateManagerCFv -DrawE3DeathEffect__13CStateManagerCFv: -/* 80045C00 00042B60 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80045C04 00042B64 7C 08 02 A6 */ mflr r0 -/* 80045C08 00042B68 90 01 00 84 */ stw r0, 0x84(r1) -/* 80045C0C 00042B6C DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80045C10 00042B70 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80045C14 00042B74 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80045C18 00042B78 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80045C1C 00042B7C DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80045C20 00042B80 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80045C24 00042B84 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 80045C28 00042B88 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80045C2C 00042B8C C3 C3 09 F4 */ lfs f30, 0x9f4(r3) -/* 80045C30 00042B90 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80045C34 00042B94 40 81 01 08 */ ble lbl_80045D3C -/* 80045C38 00042B98 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 80045C3C 00042B9C 2C 00 00 00 */ cmpwi r0, 0 -/* 80045C40 00042BA0 41 82 00 94 */ beq lbl_80045CD4 -/* 80045C44 00042BA4 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80045C48 00042BA8 38 81 00 14 */ addi r4, r1, 0x14 -/* 80045C4C 00042BAC C0 02 80 F0 */ lfs f0, lbl_805A9E10@sda21(r2) -/* 80045C50 00042BB0 38 6D 82 88 */ addi r3, r13, lbl_805A6E48@sda21 -/* 80045C54 00042BB4 EC 3E 10 28 */ fsubs f1, f30, f2 -/* 80045C58 00042BB8 38 AD 82 8C */ addi r5, r13, lbl_805A6E4C@sda21 -/* 80045C5C 00042BBC EC 00 10 28 */ fsubs f0, f0, f2 -/* 80045C60 00042BC0 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80045C64 00042BC4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80045C68 00042BC8 4B FC 66 4D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80045C6C 00042BCC C3 A3 00 00 */ lfs f29, 0(r3) -/* 80045C70 00042BD0 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80045C74 00042BD4 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80045C78 00042BD8 40 81 00 5C */ ble lbl_80045CD4 -/* 80045C7C 00042BDC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80045C80 00042BE0 48 0A 63 BD */ bl __ct__15CCameraBlurPassFv -/* 80045C84 00042BE4 C0 02 85 B0 */ lfs f0, lbl_805AA2D0@sda21(r2) -/* 80045C88 00042BE8 38 61 00 18 */ addi r3, r1, 0x18 -/* 80045C8C 00042BEC C0 42 85 68 */ lfs f2, lbl_805AA288@sda21(r2) -/* 80045C90 00042BF0 38 80 00 02 */ li r4, 2 -/* 80045C94 00042BF4 EC 20 07 72 */ fmuls f1, f0, f29 -/* 80045C98 00042BF8 38 A0 00 00 */ li r5, 0 -/* 80045C9C 00042BFC 48 0A 5D 09 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb -/* 80045CA0 00042C00 38 61 00 18 */ addi r3, r1, 0x18 -/* 80045CA4 00042C04 48 0A 4D E5 */ bl Draw__15CCameraBlurPassCFv -/* 80045CA8 00042C08 88 01 00 24 */ lbz r0, 0x24(r1) -/* 80045CAC 00042C0C 28 00 00 00 */ cmplwi r0, 0 -/* 80045CB0 00042C10 41 82 00 1C */ beq lbl_80045CCC -/* 80045CB4 00042C14 34 61 00 18 */ addic. r3, r1, 0x18 -/* 80045CB8 00042C18 41 82 00 14 */ beq lbl_80045CCC -/* 80045CBC 00042C1C 28 03 00 00 */ cmplwi r3, 0 -/* 80045CC0 00042C20 41 82 00 0C */ beq lbl_80045CCC -/* 80045CC4 00042C24 38 80 00 00 */ li r4, 0 -/* 80045CC8 00042C28 48 2F B1 79 */ bl __dt__6CTokenFv -lbl_80045CCC: -/* 80045CCC 00042C2C 38 00 00 00 */ li r0, 0 -/* 80045CD0 00042C30 98 01 00 24 */ stb r0, 0x24(r1) -lbl_80045CD4: -/* 80045CD4 00042C34 C0 22 85 B4 */ lfs f1, lbl_805AA2D4@sda21(r2) -/* 80045CD8 00042C38 38 81 00 10 */ addi r4, r1, 0x10 -/* 80045CDC 00042C3C C0 02 80 F0 */ lfs f0, lbl_805A9E10@sda21(r2) -/* 80045CE0 00042C40 38 6D 82 90 */ addi r3, r13, lbl_805A6E50@sda21 -/* 80045CE4 00042C44 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80045CE8 00042C48 38 AD 82 94 */ addi r5, r13, lbl_805A6E54@sda21 -/* 80045CEC 00042C4C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80045CF0 00042C50 EC 1E 00 24 */ fdivs f0, f30, f0 -/* 80045CF4 00042C54 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80045CF8 00042C58 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80045CFC 00042C5C 4B FC 65 B9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80045D00 00042C60 C3 A3 00 00 */ lfs f29, 0(r3) -/* 80045D04 00042C64 48 30 42 A9 */ bl White__6CColorFv -/* 80045D08 00042C68 C0 02 85 B8 */ lfs f0, lbl_805AA2D8@sda21(r2) -/* 80045D0C 00042C6C EF E0 07 72 */ fmuls f31, f0, f29 -/* 80045D10 00042C70 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80045D14 00042C74 38 A1 00 0C */ addi r5, r1, 0xc -/* 80045D18 00042C78 80 E3 00 00 */ lwz r7, 0(r3) -/* 80045D1C 00042C7C 38 60 00 03 */ li r3, 3 -/* 80045D20 00042C80 88 01 00 08 */ lbz r0, 8(r1) -/* 80045D24 00042C84 38 80 00 00 */ li r4, 0 -/* 80045D28 00042C88 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 -/* 80045D2C 00042C8C C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) -/* 80045D30 00042C90 90 01 00 0C */ stw r0, 0xc(r1) -/* 80045D34 00042C94 38 C0 00 00 */ li r6, 0 -/* 80045D38 00042C98 48 0A 64 11 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_80045D3C: -/* 80045D3C 00042C9C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80045D40 00042CA0 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80045D44 00042CA4 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80045D48 00042CA8 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80045D4C 00042CAC E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80045D50 00042CB0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80045D54 00042CB4 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80045D58 00042CB8 7C 08 03 A6 */ mtlr r0 -/* 80045D5C 00042CBC 38 21 00 80 */ addi r1, r1, 0x80 -/* 80045D60 00042CC0 4E 80 00 20 */ blr - -.global DrawAdditionalFilters__13CStateManagerCFv -DrawAdditionalFilters__13CStateManagerCFv: -/* 80045D64 00042CC4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80045D68 00042CC8 7C 08 02 A6 */ mflr r0 -/* 80045D6C 00042CCC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80045D70 00042CD0 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80045D74 00042CD4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80045D78 00042CD8 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80045D7C 00042CDC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80045D80 00042CE0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80045D84 00042CE4 7C 7F 1B 78 */ mr r31, r3 -/* 80045D88 00042CE8 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 80045D8C 00042CEC C0 23 0F 0C */ lfs f1, 0xf0c(r3) -/* 80045D90 00042CF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80045D94 00042CF4 40 80 00 64 */ bge lbl_80045DF8 -/* 80045D98 00042CF8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80045D9C 00042CFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80045DA0 00042D00 40 81 00 58 */ ble lbl_80045DF8 -/* 80045DA4 00042D04 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80045DA8 00042D08 4B FC 4B 59 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 80045DAC 00042D0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80045DB0 00042D10 40 82 00 48 */ bne lbl_80045DF8 -/* 80045DB4 00042D14 C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) -/* 80045DB8 00042D18 C0 1F 0F 0C */ lfs f0, 0xf0c(r31) -/* 80045DBC 00042D1C EF C1 00 28 */ fsubs f30, f1, f0 -/* 80045DC0 00042D20 48 30 41 ED */ bl White__6CColorFv -/* 80045DC4 00042D24 C0 02 85 B8 */ lfs f0, lbl_805AA2D8@sda21(r2) -/* 80045DC8 00042D28 EF E0 07 B2 */ fmuls f31, f0, f30 -/* 80045DCC 00042D2C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80045DD0 00042D30 38 A1 00 0C */ addi r5, r1, 0xc -/* 80045DD4 00042D34 80 E3 00 00 */ lwz r7, 0(r3) -/* 80045DD8 00042D38 38 60 00 03 */ li r3, 3 -/* 80045DDC 00042D3C 88 01 00 08 */ lbz r0, 8(r1) -/* 80045DE0 00042D40 38 80 00 00 */ li r4, 0 -/* 80045DE4 00042D44 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 -/* 80045DE8 00042D48 C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) -/* 80045DEC 00042D4C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80045DF0 00042D50 38 C0 00 00 */ li r6, 0 -/* 80045DF4 00042D54 48 0A 63 55 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_80045DF8: -/* 80045DF8 00042D58 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80045DFC 00042D5C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80045E00 00042D60 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80045E04 00042D64 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80045E08 00042D68 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80045E0C 00042D6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80045E10 00042D70 7C 08 03 A6 */ mtlr r0 -/* 80045E14 00042D74 38 21 00 40 */ addi r1, r1, 0x40 -/* 80045E18 00042D78 4E 80 00 20 */ blr - -.global ResetViewAfterDraw__13CStateManagerCFRCQ29CGraphics9CViewportRC12CTransform4f -ResetViewAfterDraw__13CStateManagerCFRCQ29CGraphics9CViewportRC12CTransform4f: -/* 80045E1C 00042D7C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80045E20 00042D80 7C 08 02 A6 */ mflr r0 -/* 80045E24 00042D84 7C 87 23 78 */ mr r7, r4 -/* 80045E28 00042D88 90 01 00 94 */ stw r0, 0x94(r1) -/* 80045E2C 00042D8C 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80045E30 00042D90 7C 7F 1B 78 */ mr r31, r3 -/* 80045E34 00042D94 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80045E38 00042D98 7C BE 2B 78 */ mr r30, r5 -/* 80045E3C 00042D9C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80045E40 00042DA0 80 84 00 00 */ lwz r4, 0(r4) -/* 80045E44 00042DA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80045E48 00042DA8 80 A7 00 04 */ lwz r5, 4(r7) -/* 80045E4C 00042DAC 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80045E50 00042DB0 80 C7 00 08 */ lwz r6, 8(r7) -/* 80045E54 00042DB4 80 E7 00 0C */ lwz r7, 0xc(r7) -/* 80045E58 00042DB8 7D 89 03 A6 */ mtctr r12 -/* 80045E5C 00042DBC 4E 80 04 21 */ bctrl -/* 80045E60 00042DC0 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80045E64 00042DC4 7F E4 FB 78 */ mr r4, r31 -/* 80045E68 00042DC8 4B FC 5C B1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80045E6C 00042DCC 7C 7F 1B 78 */ mr r31, r3 -/* 80045E70 00042DD0 C0 22 85 BC */ lfs f1, lbl_805AA2DC@sda21(r2) -/* 80045E74 00042DD4 C0 03 01 5C */ lfs f0, 0x15c(r3) -/* 80045E78 00042DD8 7F C4 F3 78 */ mr r4, r30 -/* 80045E7C 00042DDC C0 43 01 68 */ lfs f2, 0x168(r3) -/* 80045E80 00042DE0 38 61 00 08 */ addi r3, r1, 8 -/* 80045E84 00042DE4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80045E88 00042DE8 C0 7F 01 60 */ lfs f3, 0x160(r31) -/* 80045E8C 00042DEC C0 82 85 C0 */ lfs f4, lbl_805AA2E0@sda21(r2) -/* 80045E90 00042DF0 38 A0 00 00 */ li r5, 0 -/* 80045E94 00042DF4 48 2F F3 C1 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf -/* 80045E98 00042DF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80045E9C 00042DFC 38 81 00 08 */ addi r4, r1, 8 -/* 80045EA0 00042E00 81 83 00 00 */ lwz r12, 0(r3) -/* 80045EA4 00042E04 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 80045EA8 00042E08 7D 89 03 A6 */ mtctr r12 -/* 80045EAC 00042E0C 4E 80 04 21 */ bctrl -/* 80045EB0 00042E10 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 80045EB4 00042E14 3C 80 43 30 */ lis r4, 0x4330 -/* 80045EB8 00042E18 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 80045EBC 00042E1C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80045EC0 00042E20 80 A6 00 08 */ lwz r5, 8(r6) -/* 80045EC4 00042E24 80 06 00 0C */ lwz r0, 0xc(r6) -/* 80045EC8 00042E28 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 80045ECC 00042E2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80045ED0 00042E30 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80045ED4 00042E34 90 A1 00 74 */ stw r5, 0x74(r1) -/* 80045ED8 00042E38 C8 62 85 A8 */ lfd f3, lbl_805AA2C8@sda21(r2) -/* 80045EDC 00042E3C 90 81 00 70 */ stw r4, 0x70(r1) -/* 80045EE0 00042E40 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80045EE4 00042E44 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 80045EE8 00042E48 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80045EEC 00042E4C EC 40 18 28 */ fsubs f2, f0, f3 -/* 80045EF0 00042E50 C0 3F 01 5C */ lfs f1, 0x15c(r31) -/* 80045EF4 00042E54 90 81 00 78 */ stw r4, 0x78(r1) -/* 80045EF8 00042E58 C0 9F 01 60 */ lfs f4, 0x160(r31) -/* 80045EFC 00042E5C C8 01 00 78 */ lfd f0, 0x78(r1) -/* 80045F00 00042E60 C0 BF 01 64 */ lfs f5, 0x164(r31) -/* 80045F04 00042E64 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80045F08 00042E68 7D 89 03 A6 */ mtctr r12 -/* 80045F0C 00042E6C 4E 80 04 21 */ bctrl -/* 80045F10 00042E70 80 A1 00 08 */ lwz r5, 8(r1) -/* 80045F14 00042E74 38 60 00 00 */ li r3, 0 -/* 80045F18 00042E78 2C 05 00 00 */ cmpwi r5, 0 -/* 80045F1C 00042E7C 40 81 00 40 */ ble lbl_80045F5C -/* 80045F20 00042E80 2C 05 00 08 */ cmpwi r5, 8 -/* 80045F24 00042E84 38 85 FF F8 */ addi r4, r5, -8 -/* 80045F28 00042E88 40 81 00 20 */ ble lbl_80045F48 -/* 80045F2C 00042E8C 38 04 00 07 */ addi r0, r4, 7 -/* 80045F30 00042E90 54 00 E8 FE */ srwi r0, r0, 3 -/* 80045F34 00042E94 7C 09 03 A6 */ mtctr r0 -/* 80045F38 00042E98 2C 04 00 00 */ cmpwi r4, 0 -/* 80045F3C 00042E9C 40 81 00 0C */ ble lbl_80045F48 -lbl_80045F40: -/* 80045F40 00042EA0 38 63 00 08 */ addi r3, r3, 8 -/* 80045F44 00042EA4 42 00 FF FC */ bdnz lbl_80045F40 -lbl_80045F48: -/* 80045F48 00042EA8 7C 03 28 50 */ subf r0, r3, r5 -/* 80045F4C 00042EAC 7C 09 03 A6 */ mtctr r0 -/* 80045F50 00042EB0 7C 03 28 00 */ cmpw r3, r5 -/* 80045F54 00042EB4 40 80 00 08 */ bge lbl_80045F5C -lbl_80045F58: -/* 80045F58 00042EB8 42 00 00 00 */ bdnz lbl_80045F58 -lbl_80045F5C: -/* 80045F5C 00042EBC 38 00 00 00 */ li r0, 0 -/* 80045F60 00042EC0 90 01 00 08 */ stw r0, 8(r1) -/* 80045F64 00042EC4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80045F68 00042EC8 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80045F6C 00042ECC 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80045F70 00042ED0 7C 08 03 A6 */ mtlr r0 -/* 80045F74 00042ED4 38 21 00 90 */ addi r1, r1, 0x90 -/* 80045F78 00042ED8 4E 80 00 20 */ blr - -.global DrawWorld__13CStateManagerCFv -DrawWorld__13CStateManagerCFv: -/* 80045F7C 00042EDC 94 21 EC C0 */ stwu r1, -0x1340(r1) -/* 80045F80 00042EE0 7C 08 02 A6 */ mflr r0 -/* 80045F84 00042EE4 90 01 13 44 */ stw r0, 0x1344(r1) -/* 80045F88 00042EE8 BD C1 12 F8 */ stmw r14, 0x12f8(r1) -/* 80045F8C 00042EEC 7C 70 1B 78 */ mr r16, r3 -/* 80045F90 00042EF0 38 61 00 90 */ addi r3, r1, 0x90 -/* 80045F94 00042EF4 38 90 0F 14 */ addi r4, r16, 0xf14 -/* 80045F98 00042EF8 48 31 23 3D */ bl __ct__13CTimeProviderFRCf -/* 80045F9C 00042EFC 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 80045FA0 00042F00 7E 04 83 78 */ mr r4, r16 -/* 80045FA4 00042F04 39 63 D9 10 */ addi r11, r3, lbl_803ED910@l -/* 80045FA8 00042F08 38 61 01 54 */ addi r3, r1, 0x154 -/* 80045FAC 00042F0C 81 4B 00 00 */ lwz r10, 0(r11) -/* 80045FB0 00042F10 38 A1 00 B0 */ addi r5, r1, 0xb0 -/* 80045FB4 00042F14 81 2B 00 04 */ lwz r9, 4(r11) -/* 80045FB8 00042F18 81 0B 00 08 */ lwz r8, 8(r11) -/* 80045FBC 00042F1C 80 EB 00 0C */ lwz r7, 0xc(r11) -/* 80045FC0 00042F20 80 CB 00 10 */ lwz r6, 0x10(r11) -/* 80045FC4 00042F24 80 0B 00 14 */ lwz r0, 0x14(r11) -/* 80045FC8 00042F28 91 41 00 B0 */ stw r10, 0xb0(r1) -/* 80045FCC 00042F2C 91 21 00 B4 */ stw r9, 0xb4(r1) -/* 80045FD0 00042F30 91 01 00 B8 */ stw r8, 0xb8(r1) -/* 80045FD4 00042F34 90 E1 00 BC */ stw r7, 0xbc(r1) -/* 80045FD8 00042F38 90 C1 00 C0 */ stw r6, 0xc0(r1) -/* 80045FDC 00042F3C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80045FE0 00042F40 48 00 10 05 */ bl SetupViewForDraw__13CStateManagerCFRCQ29CGraphics9CViewport -/* 80045FE4 00042F44 80 01 01 54 */ lwz r0, 0x154(r1) -/* 80045FE8 00042F48 38 81 01 58 */ addi r4, r1, 0x158 -/* 80045FEC 00042F4C 38 61 01 BC */ addi r3, r1, 0x1bc -/* 80045FF0 00042F50 90 01 01 B8 */ stw r0, 0x1b8(r1) -/* 80045FF4 00042F54 7C 09 03 A6 */ mtctr r0 -/* 80045FF8 00042F58 2C 00 00 00 */ cmpwi r0, 0 -/* 80045FFC 00042F5C 40 81 00 38 */ ble lbl_80046034 -lbl_80046000: -/* 80046000 00042F60 28 03 00 00 */ cmplwi r3, 0 -/* 80046004 00042F64 41 82 00 24 */ beq lbl_80046028 -/* 80046008 00042F68 C0 24 00 00 */ lfs f1, 0(r4) -/* 8004600C 00042F6C C0 04 00 04 */ lfs f0, 4(r4) -/* 80046010 00042F70 D0 23 00 00 */ stfs f1, 0(r3) -/* 80046014 00042F74 C0 24 00 08 */ lfs f1, 8(r4) -/* 80046018 00042F78 D0 03 00 04 */ stfs f0, 4(r3) -/* 8004601C 00042F7C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80046020 00042F80 D0 23 00 08 */ stfs f1, 8(r3) -/* 80046024 00042F84 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_80046028: -/* 80046028 00042F88 38 63 00 10 */ addi r3, r3, 0x10 -/* 8004602C 00042F8C 38 84 00 10 */ addi r4, r4, 0x10 -/* 80046030 00042F90 42 00 FF D0 */ bdnz lbl_80046000 -lbl_80046034: -/* 80046034 00042F94 80 A1 01 54 */ lwz r5, 0x154(r1) -/* 80046038 00042F98 38 60 00 00 */ li r3, 0 -/* 8004603C 00042F9C 2C 05 00 00 */ cmpwi r5, 0 -/* 80046040 00042FA0 40 81 00 40 */ ble lbl_80046080 -/* 80046044 00042FA4 2C 05 00 08 */ cmpwi r5, 8 -/* 80046048 00042FA8 38 85 FF F8 */ addi r4, r5, -8 -/* 8004604C 00042FAC 40 81 00 20 */ ble lbl_8004606C -/* 80046050 00042FB0 38 04 00 07 */ addi r0, r4, 7 -/* 80046054 00042FB4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80046058 00042FB8 7C 09 03 A6 */ mtctr r0 -/* 8004605C 00042FBC 2C 04 00 00 */ cmpwi r4, 0 -/* 80046060 00042FC0 40 81 00 0C */ ble lbl_8004606C -lbl_80046064: -/* 80046064 00042FC4 38 63 00 08 */ addi r3, r3, 8 -/* 80046068 00042FC8 42 00 FF FC */ bdnz lbl_80046064 -lbl_8004606C: -/* 8004606C 00042FCC 7C 03 28 50 */ subf r0, r3, r5 -/* 80046070 00042FD0 7C 09 03 A6 */ mtctr r0 -/* 80046074 00042FD4 7C 03 28 00 */ cmpw r3, r5 -/* 80046078 00042FD8 40 80 00 08 */ bge lbl_80046080 -lbl_8004607C: -/* 8004607C 00042FDC 42 00 00 00 */ bdnz lbl_8004607C -lbl_80046080: -/* 80046080 00042FE0 38 00 00 00 */ li r0, 0 -/* 80046084 00042FE4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 80046088 00042FE8 90 01 01 54 */ stw r0, 0x154(r1) -/* 8004608C 00042FEC 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l -/* 80046090 00042FF0 38 61 01 24 */ addi r3, r1, 0x124 -/* 80046094 00042FF4 48 2C CA E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80046098 00042FF8 7E 04 83 78 */ mr r4, r16 -/* 8004609C 00042FFC 38 61 00 3C */ addi r3, r1, 0x3c -/* 800460A0 00043000 4B FF E9 E1 */ bl GetVisAreaId__13CStateManagerCFv -/* 800460A4 00043004 80 70 08 6C */ lwz r3, 0x86c(r16) -/* 800460A8 00043008 38 00 00 00 */ li r0, 0 -/* 800460AC 0004300C 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 800460B0 00043010 3F 03 00 01 */ addis r24, r3, 1 -/* 800460B4 00043014 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 800460B8 00043018 7F 17 C3 78 */ mr r23, r24 -/* 800460BC 0004301C 80 70 08 50 */ lwz r3, 0x850(r16) -/* 800460C0 00043020 90 81 00 40 */ stw r4, 0x40(r1) -/* 800460C4 00043024 3B 18 F3 9C */ addi r24, r24, -3172 -/* 800460C8 00043028 3A F7 F3 70 */ addi r23, r23, -3216 -/* 800460CC 0004302C 90 01 02 1C */ stw r0, 0x21c(r1) -/* 800460D0 00043030 48 01 08 29 */ bl TouchSky__6CWorldCFv -/* 800460D4 00043034 80 70 08 50 */ lwz r3, 0x850(r16) -/* 800460D8 00043038 3B 61 00 FC */ addi r27, r1, 0xfc -/* 800460DC 0004303C 81 C3 00 58 */ lwz r14, 0x58(r3) -/* 800460E0 00043040 48 00 00 48 */ b lbl_80046128 -lbl_800460E4: -/* 800460E4 00043044 88 0E 00 F0 */ lbz r0, 0xf0(r14) -/* 800460E8 00043048 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800460EC 0004304C 41 82 00 10 */ beq lbl_800460FC -/* 800460F0 00043050 80 6E 01 2C */ lwz r3, 0x12c(r14) -/* 800460F4 00043054 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 800460F8 00043058 48 00 00 08 */ b lbl_80046100 -lbl_800460FC: -/* 800460FC 0004305C 38 00 00 00 */ li r0, 0 -lbl_80046100: -/* 80046100 00043060 2C 00 00 01 */ cmpwi r0, 1 -/* 80046104 00043064 40 82 00 20 */ bne lbl_80046124 -/* 80046108 00043068 54 80 10 3A */ slwi r0, r4, 2 -/* 8004610C 0004306C 7C 7B 02 15 */ add. r3, r27, r0 -/* 80046110 00043070 41 82 00 08 */ beq lbl_80046118 -/* 80046114 00043074 91 C3 00 00 */ stw r14, 0(r3) -lbl_80046118: -/* 80046118 00043078 80 61 00 F8 */ lwz r3, 0xf8(r1) -/* 8004611C 0004307C 38 03 00 01 */ addi r0, r3, 1 -/* 80046120 00043080 90 01 00 F8 */ stw r0, 0xf8(r1) -lbl_80046124: -/* 80046124 00043084 81 CE 01 30 */ lwz r14, 0x130(r14) -lbl_80046128: -/* 80046128 00043088 38 61 00 38 */ addi r3, r1, 0x38 -/* 8004612C 0004308C 48 00 0B E1 */ bl GetAliveAreasEnd__6CWorldFv -/* 80046130 00043090 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80046134 00043094 7C 0E 00 40 */ cmplw r14, r0 -/* 80046138 00043098 41 82 00 10 */ beq lbl_80046148 -/* 8004613C 0004309C 80 81 00 F8 */ lwz r4, 0xf8(r1) -/* 80046140 000430A0 2C 04 00 0A */ cmpwi r4, 0xa -/* 80046144 000430A4 40 82 FF A0 */ bne lbl_800460E4 -lbl_80046148: -/* 80046148 000430A8 C0 41 01 28 */ lfs f2, 0x128(r1) -/* 8004614C 000430AC 7F 63 DB 78 */ mr r3, r27 -/* 80046150 000430B0 C0 21 01 38 */ lfs f1, 0x138(r1) -/* 80046154 000430B4 38 A1 00 80 */ addi r5, r1, 0x80 -/* 80046158 000430B8 C0 01 01 48 */ lfs f0, 0x148(r1) -/* 8004615C 000430BC D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80046160 000430C0 81 21 00 40 */ lwz r9, 0x40(r1) -/* 80046164 000430C4 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80046168 000430C8 81 01 00 70 */ lwz r8, 0x70(r1) -/* 8004616C 000430CC D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80046170 000430D0 80 E1 00 74 */ lwz r7, 0x74(r1) -/* 80046174 000430D4 80 C1 00 78 */ lwz r6, 0x78(r1) -/* 80046178 000430D8 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 8004617C 000430DC 91 21 00 34 */ stw r9, 0x34(r1) -/* 80046180 000430E0 54 00 10 3A */ slwi r0, r0, 2 -/* 80046184 000430E4 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80046188 000430E8 7C 9B 02 14 */ add r4, r27, r0 -/* 8004618C 000430EC D0 21 00 68 */ stfs f1, 0x68(r1) -/* 80046190 000430F0 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80046194 000430F4 91 21 00 7C */ stw r9, 0x7c(r1) -/* 80046198 000430F8 91 01 00 80 */ stw r8, 0x80(r1) -/* 8004619C 000430FC 90 E1 00 84 */ stw r7, 0x84(r1) -/* 800461A0 00043100 90 C1 00 88 */ stw r6, 0x88(r1) -/* 800461A4 00043104 91 21 00 8C */ stw r9, 0x8c(r1) -/* 800461A8 00043108 48 00 95 A1 */ bl "sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" -/* 800461AC 0004310C 81 C1 00 40 */ lwz r14, 0x40(r1) -/* 800461B0 00043110 7F 71 DB 78 */ mr r17, r27 -/* 800461B4 00043114 3B 41 02 20 */ addi r26, r1, 0x220 -/* 800461B8 00043118 39 E1 00 A8 */ addi r15, r1, 0xa8 -/* 800461BC 0004311C 48 00 00 A4 */ b lbl_80046260 -lbl_800461C0: -/* 800461C0 00043120 38 61 00 9C */ addi r3, r1, 0x9c -/* 800461C4 00043124 38 80 00 02 */ li r4, 2 -/* 800461C8 00043128 48 2D 01 B9 */ bl Reset__10CPVSVisSetFi -/* 800461CC 0004312C 91 C1 00 28 */ stw r14, 0x28(r1) -/* 800461D0 00043130 7E 03 83 78 */ mr r3, r16 -/* 800461D4 00043134 80 F1 00 00 */ lwz r7, 0(r17) -/* 800461D8 00043138 38 81 00 30 */ addi r4, r1, 0x30 -/* 800461DC 0004313C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 800461E0 00043140 38 C1 00 9C */ addi r6, r1, 0x9c -/* 800461E4 00043144 80 07 00 04 */ lwz r0, 4(r7) -/* 800461E8 00043148 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800461EC 0004314C 90 01 00 30 */ stw r0, 0x30(r1) -/* 800461F0 00043150 48 00 14 41 */ bl GetVisSetForArea__13CStateManagerCF7TAreaId7TAreaId -/* 800461F4 00043154 80 01 02 1C */ lwz r0, 0x21c(r1) -/* 800461F8 00043158 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 800461FC 0004315C 7C DA 02 15 */ add. r6, r26, r0 -/* 80046200 00043160 41 82 00 34 */ beq lbl_80046234 -/* 80046204 00043164 80 61 00 9C */ lwz r3, 0x9c(r1) -/* 80046208 00043168 38 00 00 00 */ li r0, 0 -/* 8004620C 0004316C 88 81 00 A8 */ lbz r4, 0xa8(r1) -/* 80046210 00043170 90 66 00 00 */ stw r3, 0(r6) -/* 80046214 00043174 80 61 00 A0 */ lwz r3, 0xa0(r1) -/* 80046218 00043178 80 A1 00 A4 */ lwz r5, 0xa4(r1) -/* 8004621C 0004317C 90 66 00 04 */ stw r3, 4(r6) -/* 80046220 00043180 80 61 00 AC */ lwz r3, 0xac(r1) -/* 80046224 00043184 90 A6 00 08 */ stw r5, 8(r6) -/* 80046228 00043188 98 86 00 0C */ stb r4, 0xc(r6) -/* 8004622C 0004318C 90 66 00 10 */ stw r3, 0x10(r6) -/* 80046230 00043190 98 01 00 A8 */ stb r0, 0xa8(r1) -lbl_80046234: -/* 80046234 00043194 80 61 02 1C */ lwz r3, 0x21c(r1) -/* 80046238 00043198 28 0F 00 00 */ cmplwi r15, 0 -/* 8004623C 0004319C 38 03 00 01 */ addi r0, r3, 1 -/* 80046240 000431A0 90 01 02 1C */ stw r0, 0x21c(r1) -/* 80046244 000431A4 41 82 00 18 */ beq lbl_8004625C -/* 80046248 000431A8 88 01 00 A8 */ lbz r0, 0xa8(r1) -/* 8004624C 000431AC 28 00 00 00 */ cmplwi r0, 0 -/* 80046250 000431B0 41 82 00 0C */ beq lbl_8004625C -/* 80046254 000431B4 80 61 00 AC */ lwz r3, 0xac(r1) -/* 80046258 000431B8 48 2C F6 D9 */ bl Free__7CMemoryFPCv -lbl_8004625C: -/* 8004625C 000431BC 3A 31 00 04 */ addi r17, r17, 4 -lbl_80046260: -/* 80046260 000431C0 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 80046264 000431C4 54 00 10 3A */ slwi r0, r0, 2 -/* 80046268 000431C8 7C 1B 02 14 */ add r0, r27, r0 -/* 8004626C 000431CC 7C 11 00 40 */ cmplw r17, r0 -/* 80046270 000431D0 40 82 FF 50 */ bne lbl_800461C0 -/* 80046274 000431D4 80 70 08 B8 */ lwz r3, 0x8b8(r16) -/* 80046278 000431D8 7E 04 83 78 */ mr r4, r16 -/* 8004627C 000431DC 80 63 00 00 */ lwz r3, 0(r3) -/* 80046280 000431E0 48 04 B2 D9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80046284 000431E4 20 03 00 03 */ subfic r0, r3, 3 -/* 80046288 000431E8 7C 04 00 34 */ cntlzw r4, r0 -/* 8004628C 000431EC 54 80 DE 3F */ rlwinm. r0, r4, 0x1b, 0x18, 0x1f -/* 80046290 000431F0 54 95 D9 7E */ srwi r21, r4, 5 -/* 80046294 000431F4 41 82 00 18 */ beq lbl_800462AC -/* 80046298 000431F8 38 00 00 01 */ li r0, 1 -/* 8004629C 000431FC 3A C0 00 34 */ li r22, 0x34 -/* 800462A0 00043200 90 10 0F 34 */ stw r0, 0xf34(r16) -/* 800462A4 00043204 39 E0 00 00 */ li r15, 0 -/* 800462A8 00043208 48 00 00 28 */ b lbl_800462D0 -lbl_800462AC: -/* 800462AC 0004320C 2C 03 00 01 */ cmpwi r3, 1 -/* 800462B0 00043210 38 80 00 01 */ li r4, 1 -/* 800462B4 00043214 40 82 00 08 */ bne lbl_800462BC -/* 800462B8 00043218 38 80 00 03 */ li r4, 3 -lbl_800462BC: -/* 800462BC 0004321C 38 00 00 02 */ li r0, 2 -/* 800462C0 00043220 38 60 00 01 */ li r3, 1 -/* 800462C4 00043224 90 10 0F 34 */ stw r0, 0xf34(r16) -/* 800462C8 00043228 7C 76 20 30 */ slw r22, r3, r4 -/* 800462CC 0004322C 39 E0 00 00 */ li r15, 0 -lbl_800462D0: -/* 800462D0 00043230 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800462D4 00043234 7E A4 AB 78 */ mr r4, r21 -/* 800462D8 00043238 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) -/* 800462DC 0004323C 81 83 00 00 */ lwz r12, 0(r3) -/* 800462E0 00043240 38 A6 02 90 */ addi r5, r6, 0x290 -/* 800462E4 00043244 C0 26 02 8C */ lfs f1, 0x28c(r6) -/* 800462E8 00043248 81 8C 00 E8 */ lwz r12, 0xe8(r12) -/* 800462EC 0004324C 7D 89 03 A6 */ mtctr r12 -/* 800462F0 00043250 4E 80 04 21 */ bctrl -/* 800462F4 00043254 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800462F8 00043258 C0 30 0F 28 */ lfs f1, 0xf28(r16) -/* 800462FC 0004325C 81 83 00 00 */ lwz r12, 0(r3) -/* 80046300 00043260 C0 10 0F 24 */ lfs f0, 0xf24(r16) -/* 80046304 00043264 81 8C 00 EC */ lwz r12, 0xec(r12) -/* 80046308 00043268 EC 21 00 2A */ fadds f1, f1, f0 -/* 8004630C 0004326C 7D 89 03 A6 */ mtctr r12 -/* 80046310 00043270 4E 80 04 21 */ bctrl -/* 80046314 00043274 80 61 00 F8 */ lwz r3, 0xf8(r1) -/* 80046318 00043278 3A 63 FF FF */ addi r19, r3, -1 -/* 8004631C 0004327C 1C 13 00 14 */ mulli r0, r19, 0x14 -/* 80046320 00043280 56 63 10 3A */ slwi r3, r19, 2 -/* 80046324 00043284 7D DB 1A 14 */ add r14, r27, r3 -/* 80046328 00043288 7E 3A 02 14 */ add r17, r26, r0 -/* 8004632C 0004328C 48 00 00 7C */ b lbl_800463A8 -lbl_80046330: -/* 80046330 00043290 82 8E 00 00 */ lwz r20, 0(r14) -/* 80046334 00043294 7E 03 83 78 */ mr r3, r16 -/* 80046338 00043298 7E 84 A3 78 */ mr r4, r20 -/* 8004633C 0004329C 48 00 0B 35 */ bl SetupFogForArea__13CStateManagerCFRC9CGameArea -/* 80046340 000432A0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046344 000432A4 7E 24 8B 78 */ mr r4, r17 -/* 80046348 000432A8 82 54 00 04 */ lwz r18, 4(r20) -/* 8004634C 000432AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80046350 000432B0 7E 45 93 78 */ mr r5, r18 -/* 80046354 000432B4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80046358 000432B8 7D 89 03 A6 */ mtctr r12 -/* 8004635C 000432BC 4E 80 04 21 */ bctrl -/* 80046360 000432C0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046364 000432C4 80 94 01 2C */ lwz r4, 0x12c(r20) -/* 80046368 000432C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8004636C 000432CC C0 24 11 28 */ lfs f1, 0x1128(r4) -/* 80046370 000432D0 81 8C 01 00 */ lwz r12, 0x100(r12) -/* 80046374 000432D4 7D 89 03 A6 */ mtctr r12 -/* 80046378 000432D8 4E 80 04 21 */ bctrl -/* 8004637C 000432DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046380 000432E0 7E 44 93 78 */ mr r4, r18 -/* 80046384 000432E4 7E C5 B3 78 */ mr r5, r22 -/* 80046388 000432E8 7D E6 7B 78 */ mr r6, r15 -/* 8004638C 000432EC 81 83 00 00 */ lwz r12, 0(r3) -/* 80046390 000432F0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80046394 000432F4 7D 89 03 A6 */ mtctr r12 -/* 80046398 000432F8 4E 80 04 21 */ bctrl -/* 8004639C 000432FC 39 CE FF FC */ addi r14, r14, -4 -/* 800463A0 00043300 3A 31 FF EC */ addi r17, r17, -20 -/* 800463A4 00043304 3A 73 FF FF */ addi r19, r19, -1 -lbl_800463A8: -/* 800463A8 00043308 2C 13 00 00 */ cmpwi r19, 0 -/* 800463AC 0004330C 40 80 FF 84 */ bge lbl_80046330 -/* 800463B0 00043310 7E 03 83 78 */ mr r3, r16 -/* 800463B4 00043314 48 00 0B 69 */ bl SetupFogForDraw__13CStateManagerCFv -/* 800463B8 00043318 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800463BC 0004331C 40 82 00 2C */ bne lbl_800463E8 -/* 800463C0 00043320 48 30 3B F5 */ bl Black__6CColorFv -/* 800463C4 00043324 7C 65 1B 78 */ mr r5, r3 -/* 800463C8 00043328 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800463CC 0004332C C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 800463D0 00043330 38 80 00 00 */ li r4, 0 -/* 800463D4 00043334 81 83 00 00 */ lwz r12, 0(r3) -/* 800463D8 00043338 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 800463DC 0004333C 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 800463E0 00043340 7D 89 03 A6 */ mtctr r12 -/* 800463E4 00043344 4E 80 04 21 */ bctrl -lbl_800463E8: -/* 800463E8 00043348 C0 41 01 30 */ lfs f2, 0x130(r1) -/* 800463EC 0004334C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800463F0 00043350 C0 21 01 40 */ lfs f1, 0x140(r1) -/* 800463F4 00043354 38 81 00 58 */ addi r4, r1, 0x58 -/* 800463F8 00043358 C0 01 01 50 */ lfs f0, 0x150(r1) -/* 800463FC 0004335C D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80046400 00043360 81 D0 08 50 */ lwz r14, 0x850(r16) -/* 80046404 00043364 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 80046408 00043368 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8004640C 0004336C 48 2C CD 35 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80046410 00043370 7D C3 73 78 */ mr r3, r14 -/* 80046414 00043374 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80046418 00043378 48 00 FD B9 */ bl DrawSky__6CWorldCFRC12CTransform4f -/* 8004641C 0004337C 80 61 00 F8 */ lwz r3, 0xf8(r1) -/* 80046420 00043380 2C 03 00 00 */ cmpwi r3, 0 -/* 80046424 00043384 41 82 00 18 */ beq lbl_8004643C -/* 80046428 00043388 38 03 FF FF */ addi r0, r3, -1 -/* 8004642C 0004338C 7E 03 83 78 */ mr r3, r16 -/* 80046430 00043390 54 00 10 3A */ slwi r0, r0, 2 -/* 80046434 00043394 7C 9B 00 2E */ lwzx r4, r27, r0 -/* 80046438 00043398 48 00 0A 39 */ bl SetupFogForArea__13CStateManagerCFRC9CGameArea -lbl_8004643C: -/* 8004643C 0004339C 39 D7 00 04 */ addi r14, r23, 4 -/* 80046440 000433A0 48 00 00 4C */ b lbl_8004648C -lbl_80046444: -/* 80046444 000433A4 A0 0E 00 00 */ lhz r0, 0(r14) -/* 80046448 000433A8 7E 03 83 78 */ mr r3, r16 -/* 8004644C 000433AC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80046450 000433B0 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80046454 000433B4 48 00 61 51 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80046458 000433B8 28 03 00 00 */ cmplwi r3, 0 -/* 8004645C 000433BC 41 82 00 2C */ beq lbl_80046488 -/* 80046460 000433C0 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 80046464 000433C4 41 82 00 10 */ beq lbl_80046474 -/* 80046468 000433C8 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 8004646C 000433CC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80046470 000433D0 41 82 00 18 */ beq lbl_80046488 -lbl_80046474: -/* 80046474 000433D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80046478 000433D8 7E 04 83 78 */ mr r4, r16 -/* 8004647C 000433DC 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80046480 000433E0 7D 89 03 A6 */ mtctr r12 -/* 80046484 000433E4 4E 80 04 21 */ bctrl -lbl_80046488: -/* 80046488 000433E8 39 CE 00 02 */ addi r14, r14, 2 -lbl_8004648C: -/* 8004648C 000433EC 80 17 00 00 */ lwz r0, 0(r23) -/* 80046490 000433F0 54 00 08 3C */ slwi r0, r0, 1 -/* 80046494 000433F4 7C 77 02 14 */ add r3, r23, r0 -/* 80046498 000433F8 38 03 00 04 */ addi r0, r3, 4 -/* 8004649C 000433FC 7C 0E 00 40 */ cmplw r14, r0 -/* 800464A0 00043400 40 82 FF A4 */ bne lbl_80046444 -/* 800464A4 00043404 80 01 00 40 */ lwz r0, 0x40(r1) -/* 800464A8 00043408 38 60 00 00 */ li r3, 0 -/* 800464AC 0004340C 90 61 02 E8 */ stw r3, 0x2e8(r1) -/* 800464B0 00043410 7F 7D DB 78 */ mr r29, r27 -/* 800464B4 00043414 7F 5C D3 78 */ mr r28, r26 -/* 800464B8 00043418 3B 21 02 EC */ addi r25, r1, 0x2ec -/* 800464BC 0004341C 90 01 12 EC */ stw r0, 0x12ec(r1) -/* 800464C0 00043420 3A 80 00 00 */ li r20, 0 -/* 800464C4 00043424 3A 60 00 00 */ li r19, 0 -/* 800464C8 00043428 48 00 02 50 */ b lbl_80046718 -lbl_800464CC: -/* 800464CC 0004342C 82 5D 00 00 */ lwz r18, 0(r29) -/* 800464D0 00043430 7E 03 83 78 */ mr r3, r16 -/* 800464D4 00043434 80 01 12 EC */ lwz r0, 0x12ec(r1) -/* 800464D8 00043438 80 B2 00 04 */ lwz r5, 4(r18) -/* 800464DC 0004343C 7E 44 93 78 */ mr r4, r18 -/* 800464E0 00043440 7C 05 00 50 */ subf r0, r5, r0 -/* 800464E4 00043444 7C 00 00 34 */ cntlzw r0, r0 -/* 800464E8 00043448 54 0E D9 7E */ srwi r14, r0, 5 -/* 800464EC 0004344C 48 00 09 85 */ bl SetupFogForArea__13CStateManagerCFRC9CGameArea -/* 800464F0 00043450 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800464F4 00043454 80 92 01 2C */ lwz r4, 0x12c(r18) -/* 800464F8 00043458 81 83 00 00 */ lwz r12, 0(r3) -/* 800464FC 0004345C C0 24 11 28 */ lfs f1, 0x1128(r4) -/* 80046500 00043460 81 8C 01 00 */ lwz r12, 0x100(r12) -/* 80046504 00043464 7D 89 03 A6 */ mtctr r12 -/* 80046508 00043468 4E 80 04 21 */ bctrl -/* 8004650C 0004346C 80 72 01 2C */ lwz r3, 0x12c(r18) -/* 80046510 00043470 83 E3 10 C0 */ lwz r31, 0x10c0(r3) -/* 80046514 00043474 AA 3F 20 08 */ lha r17, 0x2008(r31) -/* 80046518 00043478 48 00 01 58 */ b lbl_80046670 -lbl_8004651C: -/* 8004651C 0004347C 7F E3 FB 78 */ mr r3, r31 -/* 80046520 00043480 7E 24 8B 78 */ mr r4, r17 -/* 80046524 00043484 4B FC 97 B9 */ bl __vc__11CObjectListCFi -/* 80046528 00043488 7C 64 1B 78 */ mr r4, r3 -/* 8004652C 0004348C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80046530 00043490 48 06 97 61 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80046534 00043494 83 C3 00 04 */ lwz r30, 4(r3) -/* 80046538 00043498 28 1E 00 00 */ cmplwi r30, 0 -/* 8004653C 0004349C 41 82 01 18 */ beq lbl_80046654 -/* 80046540 000434A0 88 1E 00 E7 */ lbz r0, 0xe7(r30) -/* 80046544 000434A4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80046548 000434A8 41 82 01 0C */ beq lbl_80046654 -/* 8004654C 000434AC A0 7E 00 08 */ lhz r3, 8(r30) -/* 80046550 000434B0 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 80046554 000434B4 B0 61 00 24 */ sth r3, 0x24(r1) -/* 80046558 000434B8 40 82 00 4C */ bne lbl_800465A4 -/* 8004655C 000434BC B0 61 00 18 */ sth r3, 0x18(r1) -/* 80046560 000434C0 7E 44 93 78 */ mr r4, r18 -/* 80046564 000434C4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80046568 000434C8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8004656C 000434CC 48 01 79 F9 */ bl LookupPVSUniqueID__9CGameAreaF9TUniqueId -/* 80046570 000434D0 A0 61 00 1C */ lhz r3, 0x1c(r1) -/* 80046574 000434D4 A0 01 00 24 */ lhz r0, 0x24(r1) -/* 80046578 000434D8 7C 03 00 40 */ cmplw r3, r0 -/* 8004657C 000434DC 40 82 00 28 */ bne lbl_800465A4 -/* 80046580 000434E0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80046584 000434E4 7E 43 93 78 */ mr r3, r18 -/* 80046588 000434E8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8004658C 000434EC 48 01 79 F5 */ bl LookupPVSID__9CGameAreaF9TUniqueId -/* 80046590 000434F0 7C 64 1B 78 */ mr r4, r3 -/* 80046594 000434F4 7F 83 E3 78 */ mr r3, r28 -/* 80046598 000434F8 48 2C FD 41 */ bl GetVisible__10CPVSVisSetCFi -/* 8004659C 000434FC 2C 03 00 00 */ cmpwi r3, 0 -/* 800465A0 00043500 41 82 00 B4 */ beq lbl_80046654 -lbl_800465A4: -/* 800465A4 00043504 80 70 08 4C */ lwz r3, 0x84c(r16) -/* 800465A8 00043508 7C 1E 18 40 */ cmplw r30, r3 -/* 800465AC 0004350C 40 82 00 44 */ bne lbl_800465F0 -/* 800465B0 00043510 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 800465B4 00043514 40 82 00 A0 */ bne lbl_80046654 -/* 800465B8 00043518 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 800465BC 0004351C 2C 00 00 01 */ cmpwi r0, 1 -/* 800465C0 00043520 41 82 00 0C */ beq lbl_800465CC -/* 800465C4 00043524 2C 00 00 00 */ cmpwi r0, 0 -/* 800465C8 00043528 40 82 00 20 */ bne lbl_800465E8 -lbl_800465CC: -/* 800465CC 0004352C 81 83 00 00 */ lwz r12, 0(r3) -/* 800465D0 00043530 7E 05 83 78 */ mr r5, r16 -/* 800465D4 00043534 38 81 01 B8 */ addi r4, r1, 0x1b8 -/* 800465D8 00043538 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800465DC 0004353C 7D 89 03 A6 */ mtctr r12 -/* 800465E0 00043540 4E 80 04 21 */ bctrl -/* 800465E4 00043544 48 00 00 70 */ b lbl_80046654 -lbl_800465E8: -/* 800465E8 00043548 3A 80 00 01 */ li r20, 1 -/* 800465EC 0004354C 48 00 00 68 */ b lbl_80046654 -lbl_800465F0: -/* 800465F0 00043550 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 800465F4 00043554 41 82 00 10 */ beq lbl_80046604 -/* 800465F8 00043558 88 1E 00 E6 */ lbz r0, 0xe6(r30) -/* 800465FC 0004355C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80046600 00043560 41 82 00 20 */ beq lbl_80046620 -lbl_80046604: -/* 80046604 00043564 7F C3 F3 78 */ mr r3, r30 -/* 80046608 00043568 7E 05 83 78 */ mr r5, r16 -/* 8004660C 0004356C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80046610 00043570 38 81 01 B8 */ addi r4, r1, 0x1b8 -/* 80046614 00043574 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80046618 00043578 7D 89 03 A6 */ mtctr r12 -/* 8004661C 0004357C 4E 80 04 21 */ bctrl -lbl_80046620: -/* 80046620 00043580 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 80046624 00043584 41 82 00 30 */ beq lbl_80046654 -/* 80046628 00043588 88 1E 00 E6 */ lbz r0, 0xe6(r30) -/* 8004662C 0004358C 54 00 EF BD */ rlwinm. r0, r0, 0x1d, 0x1e, 0x1e -/* 80046630 00043590 41 82 00 24 */ beq lbl_80046654 -/* 80046634 00043594 80 01 02 E8 */ lwz r0, 0x2e8(r1) -/* 80046638 00043598 54 00 10 3A */ slwi r0, r0, 2 -/* 8004663C 0004359C 7C 79 02 15 */ add. r3, r25, r0 -/* 80046640 000435A0 41 82 00 08 */ beq lbl_80046648 -/* 80046644 000435A4 93 C3 00 00 */ stw r30, 0(r3) -lbl_80046648: -/* 80046648 000435A8 80 61 02 E8 */ lwz r3, 0x2e8(r1) -/* 8004664C 000435AC 38 03 00 01 */ addi r0, r3, 1 -/* 80046650 000435B0 90 01 02 E8 */ stw r0, 0x2e8(r1) -lbl_80046654: -/* 80046654 000435B4 2C 11 FF FF */ cmpwi r17, -1 -/* 80046658 000435B8 41 82 00 14 */ beq lbl_8004666C -/* 8004665C 000435BC 56 23 18 38 */ slwi r3, r17, 3 -/* 80046660 000435C0 38 03 00 08 */ addi r0, r3, 8 -/* 80046664 000435C4 7E 3F 02 AE */ lhax r17, r31, r0 -/* 80046668 000435C8 48 00 00 08 */ b lbl_80046670 -lbl_8004666C: -/* 8004666C 000435CC 3A 20 FF FF */ li r17, -1 -lbl_80046670: -/* 80046670 000435D0 2C 11 FF FF */ cmpwi r17, -1 -/* 80046674 000435D4 40 82 FE A8 */ bne lbl_8004651C -/* 80046678 000435D8 55 C0 06 3F */ clrlwi. r0, r14, 0x18 -/* 8004667C 000435DC 41 82 00 24 */ beq lbl_800466A0 -/* 80046680 000435E0 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 80046684 000435E4 40 82 00 1C */ bne lbl_800466A0 -/* 80046688 000435E8 7E 04 83 78 */ mr r4, r16 -/* 8004668C 000435EC 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 80046690 000435F0 48 0D 08 35 */ bl AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager -/* 80046694 000435F4 80 70 08 84 */ lwz r3, 0x884(r16) -/* 80046698 000435F8 7E 04 83 78 */ mr r4, r16 -/* 8004669C 000435FC 48 19 D9 C5 */ bl AddStragglersToRenderer__20CActorModelParticlesCFRC13CStateManager -lbl_800466A0: -/* 800466A0 00043600 80 70 08 DC */ lwz r3, 0x8dc(r16) -/* 800466A4 00043604 7E 04 83 78 */ mr r4, r16 -/* 800466A8 00043608 38 03 00 01 */ addi r0, r3, 1 -/* 800466AC 0004360C 90 10 08 DC */ stw r0, 0x8dc(r16) -/* 800466B0 00043610 80 70 08 4C */ lwz r3, 0x84c(r16) -/* 800466B4 00043614 80 63 07 68 */ lwz r3, 0x768(r3) -/* 800466B8 00043618 48 0A 73 65 */ bl DrawBallShadow__10CMorphBallFR13CStateManager -/* 800466BC 0004361C 80 70 0F 7C */ lwz r3, 0xf7c(r16) -/* 800466C0 00043620 28 03 00 00 */ cmplwi r3, 0 -/* 800466C4 00043624 41 82 00 0C */ beq lbl_800466D0 -/* 800466C8 00043628 7E 04 83 78 */ mr r4, r16 -/* 800466CC 0004362C 48 25 70 09 */ bl Render__16CProjectedShadowFRC13CStateManager -lbl_800466D0: -/* 800466D0 00043630 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800466D4 00043634 7F 84 E3 78 */ mr r4, r28 -/* 800466D8 00043638 80 B2 00 04 */ lwz r5, 4(r18) -/* 800466DC 0004363C 81 83 00 00 */ lwz r12, 0(r3) -/* 800466E0 00043640 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800466E4 00043644 7D 89 03 A6 */ mtctr r12 -/* 800466E8 00043648 4E 80 04 21 */ bctrl -/* 800466EC 0004364C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800466F0 00043650 7E C5 B3 78 */ mr r5, r22 -/* 800466F4 00043654 7D E6 7B 78 */ mr r6, r15 -/* 800466F8 00043658 80 92 00 04 */ lwz r4, 4(r18) -/* 800466FC 0004365C 81 83 00 00 */ lwz r12, 0(r3) -/* 80046700 00043660 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80046704 00043664 7D 89 03 A6 */ mtctr r12 -/* 80046708 00043668 4E 80 04 21 */ bctrl -/* 8004670C 0004366C 3B BD 00 04 */ addi r29, r29, 4 -/* 80046710 00043670 3B 9C 00 14 */ addi r28, r28, 0x14 -/* 80046714 00043674 3A 73 00 01 */ addi r19, r19, 1 -lbl_80046718: -/* 80046718 00043678 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 8004671C 0004367C 7C 13 00 00 */ cmpw r19, r0 -/* 80046720 00043680 41 80 FD AC */ blt lbl_800464CC -/* 80046724 00043684 80 70 08 80 */ lwz r3, 0x880(r16) -/* 80046728 00043688 7E 04 83 78 */ mr r4, r16 -/* 8004672C 0004368C 48 1C 9A E5 */ bl Render__13CEnvFxManagerFRC13CStateManager -/* 80046730 00043690 56 80 06 3F */ clrlwi. r0, r20, 0x18 -/* 80046734 00043694 41 82 00 1C */ beq lbl_80046750 -/* 80046738 00043698 80 70 08 4C */ lwz r3, 0x84c(r16) -/* 8004673C 0004369C 7E 04 83 78 */ mr r4, r16 -/* 80046740 000436A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80046744 000436A4 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80046748 000436A8 7D 89 03 A6 */ mtctr r12 -/* 8004674C 000436AC 4E 80 04 21 */ bctrl -lbl_80046750: -/* 80046750 000436B0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046754 000436B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80046758 000436B8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8004675C 000436BC 7D 89 03 A6 */ mtctr r12 -/* 80046760 000436C0 4E 80 04 21 */ bctrl -/* 80046764 000436C4 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 80046768 000436C8 41 82 02 D8 */ beq lbl_80046A40 -/* 8004676C 000436CC 80 18 00 00 */ lwz r0, 0(r24) -/* 80046770 000436D0 2C 00 00 00 */ cmpwi r0, 0 -/* 80046774 000436D4 41 82 00 7C */ beq lbl_800467F0 -/* 80046778 000436D8 C0 22 85 C4 */ lfs f1, lbl_805AA2E4@sda21(r2) -/* 8004677C 000436DC C0 42 85 C8 */ lfs f2, lbl_805AA2E8@sda21(r2) -/* 80046780 000436E0 48 2C 3C 61 */ bl SetDepthRange__9CGraphicsFff -/* 80046784 000436E4 39 D8 00 04 */ addi r14, r24, 4 -/* 80046788 000436E8 48 00 00 44 */ b lbl_800467CC -lbl_8004678C: -/* 8004678C 000436EC A0 0E 00 00 */ lhz r0, 0(r14) -/* 80046790 000436F0 7E 03 83 78 */ mr r3, r16 -/* 80046794 000436F4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80046798 000436F8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8004679C 000436FC 48 00 5E 09 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800467A0 00043700 28 03 00 00 */ cmplwi r3, 0 -/* 800467A4 00043704 41 82 00 24 */ beq lbl_800467C8 -/* 800467A8 00043708 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 800467AC 0004370C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 800467B0 00043710 41 82 00 18 */ beq lbl_800467C8 -/* 800467B4 00043714 81 83 00 00 */ lwz r12, 0(r3) -/* 800467B8 00043718 7E 04 83 78 */ mr r4, r16 -/* 800467BC 0004371C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 800467C0 00043720 7D 89 03 A6 */ mtctr r12 -/* 800467C4 00043724 4E 80 04 21 */ bctrl -lbl_800467C8: -/* 800467C8 00043728 39 CE 00 02 */ addi r14, r14, 2 -lbl_800467CC: -/* 800467CC 0004372C 80 18 00 00 */ lwz r0, 0(r24) -/* 800467D0 00043730 54 00 08 3C */ slwi r0, r0, 1 -/* 800467D4 00043734 7C 78 02 14 */ add r3, r24, r0 -/* 800467D8 00043738 38 03 00 04 */ addi r0, r3, 4 -/* 800467DC 0004373C 7C 0E 00 40 */ cmplw r14, r0 -/* 800467E0 00043740 40 82 FF AC */ bne lbl_8004678C -/* 800467E4 00043744 C0 22 85 80 */ lfs f1, lbl_805AA2A0@sda21(r2) -/* 800467E8 00043748 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 800467EC 0004374C 48 2C 3B F5 */ bl SetDepthRange__9CGraphicsFff -lbl_800467F0: -/* 800467F0 00043750 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800467F4 00043754 81 83 00 00 */ lwz r12, 0(r3) -/* 800467F8 00043758 81 8C 00 F0 */ lwz r12, 0xf0(r12) -/* 800467FC 0004375C 7D 89 03 A6 */ mtctr r12 -/* 80046800 00043760 4E 80 04 21 */ bctrl -/* 80046804 00043764 38 00 00 00 */ li r0, 0 -/* 80046808 00043768 39 D7 00 04 */ addi r14, r23, 4 -/* 8004680C 0004376C 90 10 0F 34 */ stw r0, 0xf34(r16) -/* 80046810 00043770 48 00 00 44 */ b lbl_80046854 -lbl_80046814: -/* 80046814 00043774 A0 0E 00 00 */ lhz r0, 0(r14) -/* 80046818 00043778 7E 03 83 78 */ mr r3, r16 -/* 8004681C 0004377C 38 81 00 0C */ addi r4, r1, 0xc -/* 80046820 00043780 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80046824 00043784 48 00 5D 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80046828 00043788 28 03 00 00 */ cmplwi r3, 0 -/* 8004682C 0004378C 41 82 00 24 */ beq lbl_80046850 -/* 80046830 00043790 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 80046834 00043794 54 00 EF BD */ rlwinm. r0, r0, 0x1d, 0x1e, 0x1e -/* 80046838 00043798 41 82 00 18 */ beq lbl_80046850 -/* 8004683C 0004379C 81 83 00 00 */ lwz r12, 0(r3) -/* 80046840 000437A0 7E 04 83 78 */ mr r4, r16 -/* 80046844 000437A4 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80046848 000437A8 7D 89 03 A6 */ mtctr r12 -/* 8004684C 000437AC 4E 80 04 21 */ bctrl -lbl_80046850: -/* 80046850 000437B0 39 CE 00 02 */ addi r14, r14, 2 -lbl_80046854: -/* 80046854 000437B4 80 17 00 00 */ lwz r0, 0(r23) -/* 80046858 000437B8 54 00 08 3C */ slwi r0, r0, 1 -/* 8004685C 000437BC 7C 77 02 14 */ add r3, r23, r0 -/* 80046860 000437C0 38 03 00 04 */ addi r0, r3, 4 -/* 80046864 000437C4 7C 0E 00 40 */ cmplw r14, r0 -/* 80046868 000437C8 40 82 FF AC */ bne lbl_80046814 -/* 8004686C 000437CC 80 61 00 F8 */ lwz r3, 0xf8(r1) -/* 80046870 000437D0 3A 43 FF FF */ addi r18, r3, -1 -/* 80046874 000437D4 1C 12 00 14 */ mulli r0, r18, 0x14 -/* 80046878 000437D8 56 43 10 3A */ slwi r3, r18, 2 -/* 8004687C 000437DC 7D DB 1A 14 */ add r14, r27, r3 -/* 80046880 000437E0 7D FA 02 14 */ add r15, r26, r0 -/* 80046884 000437E4 48 00 00 74 */ b lbl_800468F8 -lbl_80046888: -/* 80046888 000437E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8004688C 000437EC 7D E4 7B 78 */ mr r4, r15 -/* 80046890 000437F0 80 AE 00 00 */ lwz r5, 0(r14) -/* 80046894 000437F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80046898 000437F8 82 25 00 04 */ lwz r17, 4(r5) -/* 8004689C 000437FC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800468A0 00043800 7E 25 8B 78 */ mr r5, r17 -/* 800468A4 00043804 7D 89 03 A6 */ mtctr r12 -/* 800468A8 00043808 4E 80 04 21 */ bctrl -/* 800468AC 0004380C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800468B0 00043810 7E 24 8B 78 */ mr r4, r17 -/* 800468B4 00043814 7E C5 B3 78 */ mr r5, r22 -/* 800468B8 00043818 38 C0 00 20 */ li r6, 0x20 -/* 800468BC 0004381C 81 83 00 00 */ lwz r12, 0(r3) -/* 800468C0 00043820 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800468C4 00043824 7D 89 03 A6 */ mtctr r12 -/* 800468C8 00043828 4E 80 04 21 */ bctrl -/* 800468CC 0004382C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800468D0 00043830 7E 24 8B 78 */ mr r4, r17 -/* 800468D4 00043834 7E C5 B3 78 */ mr r5, r22 -/* 800468D8 00043838 38 C0 00 10 */ li r6, 0x10 -/* 800468DC 0004383C 81 83 00 00 */ lwz r12, 0(r3) -/* 800468E0 00043840 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 800468E4 00043844 7D 89 03 A6 */ mtctr r12 -/* 800468E8 00043848 4E 80 04 21 */ bctrl -/* 800468EC 0004384C 39 CE FF FC */ addi r14, r14, -4 -/* 800468F0 00043850 39 EF FF EC */ addi r15, r15, -20 -/* 800468F4 00043854 3A 52 FF FF */ addi r18, r18, -1 -lbl_800468F8: -/* 800468F8 00043858 2C 12 00 00 */ cmpwi r18, 0 -/* 800468FC 0004385C 40 80 FF 8C */ bge lbl_80046888 -/* 80046900 00043860 80 70 08 DC */ lwz r3, 0x8dc(r16) -/* 80046904 00043864 7F 51 D3 78 */ mr r17, r26 -/* 80046908 00043868 81 C1 00 40 */ lwz r14, 0x40(r1) -/* 8004690C 0004386C 3A 40 00 00 */ li r18, 0 -/* 80046910 00043870 38 03 00 01 */ addi r0, r3, 1 -/* 80046914 00043874 90 10 08 DC */ stw r0, 0x8dc(r16) -/* 80046918 00043878 48 00 01 08 */ b lbl_80046A20 -lbl_8004691C: -/* 8004691C 0004387C 80 7B 00 00 */ lwz r3, 0(r27) -/* 80046920 00043880 7F 33 CB 78 */ mr r19, r25 -/* 80046924 00043884 81 E3 00 04 */ lwz r15, 4(r3) -/* 80046928 00043888 48 00 00 44 */ b lbl_8004696C -lbl_8004692C: -/* 8004692C 0004388C 80 73 00 00 */ lwz r3, 0(r19) -/* 80046930 00043890 80 83 00 04 */ lwz r4, 4(r3) -/* 80046934 00043894 7C 04 78 00 */ cmpw r4, r15 -/* 80046938 00043898 41 82 00 18 */ beq lbl_80046950 -/* 8004693C 0004389C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80046940 000438A0 7C 04 00 00 */ cmpw r4, r0 -/* 80046944 000438A4 40 82 00 24 */ bne lbl_80046968 -/* 80046948 000438A8 7C 0F 70 00 */ cmpw r15, r14 -/* 8004694C 000438AC 40 82 00 1C */ bne lbl_80046968 -lbl_80046950: -/* 80046950 000438B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80046954 000438B4 7E 05 83 78 */ mr r5, r16 -/* 80046958 000438B8 38 81 01 B8 */ addi r4, r1, 0x1b8 -/* 8004695C 000438BC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80046960 000438C0 7D 89 03 A6 */ mtctr r12 -/* 80046964 000438C4 4E 80 04 21 */ bctrl -lbl_80046968: -/* 80046968 000438C8 3A 73 00 04 */ addi r19, r19, 4 -lbl_8004696C: -/* 8004696C 000438CC 80 01 02 E8 */ lwz r0, 0x2e8(r1) -/* 80046970 000438D0 54 00 10 3A */ slwi r0, r0, 2 -/* 80046974 000438D4 7C 19 02 14 */ add r0, r25, r0 -/* 80046978 000438D8 7C 13 00 40 */ cmplw r19, r0 -/* 8004697C 000438DC 40 82 FF B0 */ bne lbl_8004692C -/* 80046980 000438E0 80 61 00 F8 */ lwz r3, 0xf8(r1) -/* 80046984 000438E4 38 03 FF FF */ addi r0, r3, -1 -/* 80046988 000438E8 7C 12 00 00 */ cmpw r18, r0 -/* 8004698C 000438EC 40 82 00 40 */ bne lbl_800469CC -/* 80046990 000438F0 80 70 08 84 */ lwz r3, 0x884(r16) -/* 80046994 000438F4 7E 04 83 78 */ mr r4, r16 -/* 80046998 000438F8 48 19 D6 C9 */ bl AddStragglersToRenderer__20CActorModelParticlesCFRC13CStateManager -/* 8004699C 000438FC 7E 04 83 78 */ mr r4, r16 -/* 800469A0 00043900 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 800469A4 00043904 48 0D 05 21 */ bl AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager -/* 800469A8 00043908 80 70 08 4C */ lwz r3, 0x84c(r16) -/* 800469AC 0004390C 28 03 00 00 */ cmplwi r3, 0 -/* 800469B0 00043910 41 82 00 1C */ beq lbl_800469CC -/* 800469B4 00043914 81 83 00 00 */ lwz r12, 0(r3) -/* 800469B8 00043918 7E 05 83 78 */ mr r5, r16 -/* 800469BC 0004391C 38 81 01 B8 */ addi r4, r1, 0x1b8 -/* 800469C0 00043920 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800469C4 00043924 7D 89 03 A6 */ mtctr r12 -/* 800469C8 00043928 4E 80 04 21 */ bctrl -lbl_800469CC: -/* 800469CC 0004392C 80 D0 08 DC */ lwz r6, 0x8dc(r16) -/* 800469D0 00043930 7E 24 8B 78 */ mr r4, r17 -/* 800469D4 00043934 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800469D8 00043938 7D E5 7B 78 */ mr r5, r15 -/* 800469DC 0004393C 38 06 00 01 */ addi r0, r6, 1 -/* 800469E0 00043940 90 10 08 DC */ stw r0, 0x8dc(r16) -/* 800469E4 00043944 81 83 00 00 */ lwz r12, 0(r3) -/* 800469E8 00043948 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800469EC 0004394C 7D 89 03 A6 */ mtctr r12 -/* 800469F0 00043950 4E 80 04 21 */ bctrl -/* 800469F4 00043954 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800469F8 00043958 7D E4 7B 78 */ mr r4, r15 -/* 800469FC 0004395C 7E C5 B3 78 */ mr r5, r22 -/* 80046A00 00043960 38 C0 00 10 */ li r6, 0x10 -/* 80046A04 00043964 81 83 00 00 */ lwz r12, 0(r3) -/* 80046A08 00043968 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80046A0C 0004396C 7D 89 03 A6 */ mtctr r12 -/* 80046A10 00043970 4E 80 04 21 */ bctrl -/* 80046A14 00043974 3B 7B 00 04 */ addi r27, r27, 4 -/* 80046A18 00043978 3A 31 00 14 */ addi r17, r17, 0x14 -/* 80046A1C 0004397C 3A 52 00 01 */ addi r18, r18, 1 -lbl_80046A20: -/* 80046A20 00043980 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 80046A24 00043984 7C 12 00 00 */ cmpw r18, r0 -/* 80046A28 00043988 41 80 FE F4 */ blt lbl_8004691C -/* 80046A2C 0004398C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046A30 00043990 81 83 00 00 */ lwz r12, 0(r3) -/* 80046A34 00043994 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80046A38 00043998 7D 89 03 A6 */ mtctr r12 -/* 80046A3C 0004399C 4E 80 04 21 */ bctrl -lbl_80046A40: -/* 80046A40 000439A0 80 70 08 7C */ lwz r3, 0x87c(r16) -/* 80046A44 000439A4 48 0E 8B B9 */ bl EndFrame__18CFluidPlaneManagerCFv -/* 80046A48 000439A8 48 30 35 6D */ bl Black__6CColorFv -/* 80046A4C 000439AC 7C 65 1B 78 */ mr r5, r3 -/* 80046A50 000439B0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046A54 000439B4 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 80046A58 000439B8 38 80 00 00 */ li r4, 0 -/* 80046A5C 000439BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80046A60 000439C0 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80046A64 000439C4 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 80046A68 000439C8 7D 89 03 A6 */ mtctr r12 -/* 80046A6C 000439CC 4E 80 04 21 */ bctrl -/* 80046A70 000439D0 88 02 80 E8 */ lbz r0, lbl_805A9E08@sda21(r2) -/* 80046A74 000439D4 28 00 00 00 */ cmplwi r0, 0 -/* 80046A78 000439D8 41 82 00 0C */ beq lbl_80046A84 -/* 80046A7C 000439DC 7E 03 83 78 */ mr r3, r16 -/* 80046A80 000439E0 4B FF EC 49 */ bl CacheReflection__13CStateManagerFv -lbl_80046A84: -/* 80046A84 000439E4 80 10 08 4C */ lwz r0, 0x84c(r16) -/* 80046A88 000439E8 28 00 00 00 */ cmplwi r0, 0 -/* 80046A8C 000439EC 41 82 00 24 */ beq lbl_80046AB0 -/* 80046A90 000439F0 80 90 08 70 */ lwz r4, 0x870(r16) -/* 80046A94 000439F4 7E 05 83 78 */ mr r5, r16 -/* 80046A98 000439F8 38 61 00 4C */ addi r3, r1, 0x4c -/* 80046A9C 000439FC 4B FC 3E 79 */ bl GetGlobalCameraTranslation__14CCameraManagerCFRC13CStateManager -/* 80046AA0 00043A00 80 70 08 4C */ lwz r3, 0x84c(r16) -/* 80046AA4 00043A04 7E 04 83 78 */ mr r4, r16 -/* 80046AA8 00043A08 38 A1 00 4C */ addi r5, r1, 0x4c -/* 80046AAC 00043A0C 4B FC CD D5 */ bl RenderGun__7CPlayerCFRC13CStateManagerRC9CVector3f -lbl_80046AB0: -/* 80046AB0 00043A10 80 18 00 00 */ lwz r0, 0(r24) -/* 80046AB4 00043A14 2C 00 00 00 */ cmpwi r0, 0 -/* 80046AB8 00043A18 41 82 00 84 */ beq lbl_80046B3C -/* 80046ABC 00043A1C C0 22 85 C4 */ lfs f1, lbl_805AA2E4@sda21(r2) -/* 80046AC0 00043A20 C0 42 85 C8 */ lfs f2, lbl_805AA2E8@sda21(r2) -/* 80046AC4 00043A24 48 2C 39 1D */ bl SetDepthRange__9CGraphicsFff -/* 80046AC8 00043A28 39 D8 00 04 */ addi r14, r24, 4 -/* 80046ACC 00043A2C 48 00 00 4C */ b lbl_80046B18 -lbl_80046AD0: -/* 80046AD0 00043A30 A0 0E 00 00 */ lhz r0, 0(r14) -/* 80046AD4 00043A34 7E 03 83 78 */ mr r3, r16 -/* 80046AD8 00043A38 38 81 00 08 */ addi r4, r1, 8 -/* 80046ADC 00043A3C B0 01 00 08 */ sth r0, 8(r1) -/* 80046AE0 00043A40 48 00 5A C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80046AE4 00043A44 28 03 00 00 */ cmplwi r3, 0 -/* 80046AE8 00043A48 41 82 00 2C */ beq lbl_80046B14 -/* 80046AEC 00043A4C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 80046AF0 00043A50 41 82 00 10 */ beq lbl_80046B00 -/* 80046AF4 00043A54 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 80046AF8 00043A58 54 00 EF BD */ rlwinm. r0, r0, 0x1d, 0x1e, 0x1e -/* 80046AFC 00043A5C 41 82 00 18 */ beq lbl_80046B14 -lbl_80046B00: -/* 80046B00 00043A60 81 83 00 00 */ lwz r12, 0(r3) -/* 80046B04 00043A64 7E 04 83 78 */ mr r4, r16 -/* 80046B08 00043A68 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80046B0C 00043A6C 7D 89 03 A6 */ mtctr r12 -/* 80046B10 00043A70 4E 80 04 21 */ bctrl -lbl_80046B14: -/* 80046B14 00043A74 39 CE 00 02 */ addi r14, r14, 2 -lbl_80046B18: -/* 80046B18 00043A78 80 18 00 00 */ lwz r0, 0(r24) -/* 80046B1C 00043A7C 54 00 08 3C */ slwi r0, r0, 1 -/* 80046B20 00043A80 7C 78 02 14 */ add r3, r24, r0 -/* 80046B24 00043A84 38 03 00 04 */ addi r0, r3, 4 -/* 80046B28 00043A88 7C 0E 00 40 */ cmplw r14, r0 -/* 80046B2C 00043A8C 40 82 FF A4 */ bne lbl_80046AD0 -/* 80046B30 00043A90 C0 22 85 80 */ lfs f1, lbl_805AA2A0@sda21(r2) -/* 80046B34 00043A94 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80046B38 00043A98 48 2C 38 A9 */ bl SetDepthRange__9CGraphicsFff -lbl_80046B3C: -/* 80046B3C 00043A9C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 80046B40 00043AA0 41 82 00 44 */ beq lbl_80046B84 -/* 80046B44 00043AA4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046B48 00043AA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80046B4C 00043AAC 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80046B50 00043AB0 7D 89 03 A6 */ mtctr r12 -/* 80046B54 00043AB4 4E 80 04 21 */ bctrl -/* 80046B58 00043AB8 48 30 34 5D */ bl Black__6CColorFv -/* 80046B5C 00043ABC 7C 65 1B 78 */ mr r5, r3 -/* 80046B60 00043AC0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046B64 00043AC4 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 80046B68 00043AC8 38 80 00 00 */ li r4, 0 -/* 80046B6C 00043ACC 81 83 00 00 */ lwz r12, 0(r3) -/* 80046B70 00043AD0 81 8C 00 E8 */ lwz r12, 0xe8(r12) -/* 80046B74 00043AD4 7D 89 03 A6 */ mtctr r12 -/* 80046B78 00043AD8 4E 80 04 21 */ bctrl -/* 80046B7C 00043ADC 38 00 00 02 */ li r0, 2 -/* 80046B80 00043AE0 90 10 0F 34 */ stw r0, 0xf34(r16) -lbl_80046B84: -/* 80046B84 00043AE4 7E 03 83 78 */ mr r3, r16 -/* 80046B88 00043AE8 4B FF F0 19 */ bl DrawDebugStuff__13CStateManagerCFv -/* 80046B8C 00043AEC 7E 03 83 78 */ mr r3, r16 -/* 80046B90 00043AF0 4B FF F0 15 */ bl RenderCamerasAndAreaLights__13CStateManagerCFv -/* 80046B94 00043AF4 7E 03 83 78 */ mr r3, r16 -/* 80046B98 00043AF8 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 80046B9C 00043AFC 38 A1 01 24 */ addi r5, r1, 0x124 -/* 80046BA0 00043B00 4B FF F2 7D */ bl ResetViewAfterDraw__13CStateManagerCFRCQ29CGraphics9CViewportRC12CTransform4f -/* 80046BA4 00043B04 7E 03 83 78 */ mr r3, r16 -/* 80046BA8 00043B08 4B FF F0 59 */ bl DrawE3DeathEffect__13CStateManagerCFv -/* 80046BAC 00043B0C 7E 03 83 78 */ mr r3, r16 -/* 80046BB0 00043B10 4B FF F1 B5 */ bl DrawAdditionalFilters__13CStateManagerCFv -/* 80046BB4 00043B14 80 A1 02 E8 */ lwz r5, 0x2e8(r1) -/* 80046BB8 00043B18 38 60 00 00 */ li r3, 0 -/* 80046BBC 00043B1C 2C 05 00 00 */ cmpwi r5, 0 -/* 80046BC0 00043B20 40 81 00 40 */ ble lbl_80046C00 -/* 80046BC4 00043B24 2C 05 00 08 */ cmpwi r5, 8 -/* 80046BC8 00043B28 38 85 FF F8 */ addi r4, r5, -8 -/* 80046BCC 00043B2C 40 81 00 20 */ ble lbl_80046BEC -/* 80046BD0 00043B30 38 04 00 07 */ addi r0, r4, 7 -/* 80046BD4 00043B34 54 00 E8 FE */ srwi r0, r0, 3 -/* 80046BD8 00043B38 7C 09 03 A6 */ mtctr r0 -/* 80046BDC 00043B3C 2C 04 00 00 */ cmpwi r4, 0 -/* 80046BE0 00043B40 40 81 00 0C */ ble lbl_80046BEC -lbl_80046BE4: -/* 80046BE4 00043B44 38 63 00 08 */ addi r3, r3, 8 -/* 80046BE8 00043B48 42 00 FF FC */ bdnz lbl_80046BE4 -lbl_80046BEC: -/* 80046BEC 00043B4C 7C 03 28 50 */ subf r0, r3, r5 -/* 80046BF0 00043B50 7C 09 03 A6 */ mtctr r0 -/* 80046BF4 00043B54 7C 03 28 00 */ cmpw r3, r5 -/* 80046BF8 00043B58 40 80 00 08 */ bge lbl_80046C00 -lbl_80046BFC: -/* 80046BFC 00043B5C 42 00 00 00 */ bdnz lbl_80046BFC -lbl_80046C00: -/* 80046C00 00043B60 39 C0 00 00 */ li r14, 0 -/* 80046C04 00043B64 91 C1 02 E8 */ stw r14, 0x2e8(r1) -/* 80046C08 00043B68 48 00 00 30 */ b lbl_80046C38 -lbl_80046C0C: -/* 80046C0C 00043B6C 28 1A 00 00 */ cmplwi r26, 0 -/* 80046C10 00043B70 41 82 00 20 */ beq lbl_80046C30 -/* 80046C14 00043B74 34 1A 00 0C */ addic. r0, r26, 0xc -/* 80046C18 00043B78 41 82 00 18 */ beq lbl_80046C30 -/* 80046C1C 00043B7C 88 1A 00 0C */ lbz r0, 0xc(r26) -/* 80046C20 00043B80 28 00 00 00 */ cmplwi r0, 0 -/* 80046C24 00043B84 41 82 00 0C */ beq lbl_80046C30 -/* 80046C28 00043B88 80 7A 00 10 */ lwz r3, 0x10(r26) -/* 80046C2C 00043B8C 48 2C ED 05 */ bl Free__7CMemoryFPCv -lbl_80046C30: -/* 80046C30 00043B90 3B 5A 00 14 */ addi r26, r26, 0x14 -/* 80046C34 00043B94 39 CE 00 01 */ addi r14, r14, 1 -lbl_80046C38: -/* 80046C38 00043B98 80 01 02 1C */ lwz r0, 0x21c(r1) -/* 80046C3C 00043B9C 7C 0E 00 00 */ cmpw r14, r0 -/* 80046C40 00043BA0 41 80 FF CC */ blt lbl_80046C0C -/* 80046C44 00043BA4 80 A1 00 F8 */ lwz r5, 0xf8(r1) -/* 80046C48 00043BA8 38 60 00 00 */ li r3, 0 -/* 80046C4C 00043BAC 90 61 02 1C */ stw r3, 0x21c(r1) -/* 80046C50 00043BB0 2C 05 00 00 */ cmpwi r5, 0 -/* 80046C54 00043BB4 40 81 00 40 */ ble lbl_80046C94 -/* 80046C58 00043BB8 2C 05 00 08 */ cmpwi r5, 8 -/* 80046C5C 00043BBC 38 85 FF F8 */ addi r4, r5, -8 -/* 80046C60 00043BC0 40 81 00 20 */ ble lbl_80046C80 -/* 80046C64 00043BC4 38 04 00 07 */ addi r0, r4, 7 -/* 80046C68 00043BC8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80046C6C 00043BCC 7C 09 03 A6 */ mtctr r0 -/* 80046C70 00043BD0 2C 04 00 00 */ cmpwi r4, 0 -/* 80046C74 00043BD4 40 81 00 0C */ ble lbl_80046C80 -lbl_80046C78: -/* 80046C78 00043BD8 38 63 00 08 */ addi r3, r3, 8 -/* 80046C7C 00043BDC 42 00 FF FC */ bdnz lbl_80046C78 -lbl_80046C80: -/* 80046C80 00043BE0 7C 03 28 50 */ subf r0, r3, r5 -/* 80046C84 00043BE4 7C 09 03 A6 */ mtctr r0 -/* 80046C88 00043BE8 7C 03 28 00 */ cmpw r3, r5 -/* 80046C8C 00043BEC 40 80 00 08 */ bge lbl_80046C94 -lbl_80046C90: -/* 80046C90 00043BF0 42 00 00 00 */ bdnz lbl_80046C90 -lbl_80046C94: -/* 80046C94 00043BF4 80 A1 01 B8 */ lwz r5, 0x1b8(r1) -/* 80046C98 00043BF8 38 60 00 00 */ li r3, 0 -/* 80046C9C 00043BFC 90 61 00 F8 */ stw r3, 0xf8(r1) -/* 80046CA0 00043C00 2C 05 00 00 */ cmpwi r5, 0 -/* 80046CA4 00043C04 40 81 00 40 */ ble lbl_80046CE4 -/* 80046CA8 00043C08 2C 05 00 08 */ cmpwi r5, 8 -/* 80046CAC 00043C0C 38 85 FF F8 */ addi r4, r5, -8 -/* 80046CB0 00043C10 40 81 00 20 */ ble lbl_80046CD0 -/* 80046CB4 00043C14 38 04 00 07 */ addi r0, r4, 7 -/* 80046CB8 00043C18 54 00 E8 FE */ srwi r0, r0, 3 -/* 80046CBC 00043C1C 7C 09 03 A6 */ mtctr r0 -/* 80046CC0 00043C20 2C 04 00 00 */ cmpwi r4, 0 -/* 80046CC4 00043C24 40 81 00 0C */ ble lbl_80046CD0 -lbl_80046CC8: -/* 80046CC8 00043C28 38 63 00 08 */ addi r3, r3, 8 -/* 80046CCC 00043C2C 42 00 FF FC */ bdnz lbl_80046CC8 -lbl_80046CD0: -/* 80046CD0 00043C30 7C 03 28 50 */ subf r0, r3, r5 -/* 80046CD4 00043C34 7C 09 03 A6 */ mtctr r0 -/* 80046CD8 00043C38 7C 03 28 00 */ cmpw r3, r5 -/* 80046CDC 00043C3C 40 80 00 08 */ bge lbl_80046CE4 -lbl_80046CE0: -/* 80046CE0 00043C40 42 00 00 00 */ bdnz lbl_80046CE0 -lbl_80046CE4: -/* 80046CE4 00043C44 38 00 00 00 */ li r0, 0 -/* 80046CE8 00043C48 38 61 00 90 */ addi r3, r1, 0x90 -/* 80046CEC 00043C4C 90 01 01 B8 */ stw r0, 0x1b8(r1) -/* 80046CF0 00043C50 38 80 FF FF */ li r4, -1 -/* 80046CF4 00043C54 48 31 15 69 */ bl __dt__13CTimeProviderFv -/* 80046CF8 00043C58 B9 C1 12 F8 */ lmw r14, 0x12f8(r1) -/* 80046CFC 00043C5C 80 01 13 44 */ lwz r0, 0x1344(r1) -/* 80046D00 00043C60 7C 08 03 A6 */ mtlr r0 -/* 80046D04 00043C64 38 21 13 40 */ addi r1, r1, 0x1340 -/* 80046D08 00043C68 4E 80 00 20 */ blr - -.global GetAliveAreasEnd__6CWorldFv -GetAliveAreasEnd__6CWorldFv: -/* 80046D0C 00043C6C 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13) -/* 80046D10 00043C70 90 03 00 00 */ stw r0, 0(r3) -/* 80046D14 00043C74 4E 80 00 20 */ blr - -.global sub_80046d18 -sub_80046d18: -/* 80046D18 00043C78 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80046D1C 00043C7C 7C 08 02 A6 */ mflr r0 -/* 80046D20 00043C80 90 01 00 24 */ stw r0, 0x24(r1) -/* 80046D24 00043C84 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80046D28 00043C88 80 A4 00 00 */ lwz r5, 0(r4) -/* 80046D2C 00043C8C 7C 05 00 00 */ cmpw r5, r0 -/* 80046D30 00043C90 40 82 00 10 */ bne lbl_80046D40 -/* 80046D34 00043C94 80 03 08 CC */ lwz r0, 0x8cc(r3) -/* 80046D38 00043C98 38 81 00 0C */ addi r4, r1, 0xc -/* 80046D3C 00043C9C 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80046D40: -/* 80046D40 00043CA0 80 C4 00 00 */ lwz r6, 0(r4) -/* 80046D44 00043CA4 80 A3 08 50 */ lwz r5, 0x850(r3) -/* 80046D48 00043CA8 54 C4 18 38 */ slwi r4, r6, 3 -/* 80046D4C 00043CAC 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80046D50 00043CB0 80 A5 00 20 */ lwz r5, 0x20(r5) -/* 80046D54 00043CB4 38 04 00 04 */ addi r0, r4, 4 -/* 80046D58 00043CB8 90 C1 00 08 */ stw r6, 8(r1) -/* 80046D5C 00043CBC 7C 85 00 2E */ lwzx r4, r5, r0 -/* 80046D60 00043CC0 88 04 00 F0 */ lbz r0, 0xf0(r4) -/* 80046D64 00043CC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80046D68 00043CC8 41 82 00 08 */ beq lbl_80046D70 -/* 80046D6C 00043CCC 48 00 00 7D */ bl sub_80046de8 -lbl_80046D70: -/* 80046D70 00043CD0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80046D74 00043CD4 7C 08 03 A6 */ mtlr r0 -/* 80046D78 00043CD8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80046D7C 00043CDC 4E 80 00 20 */ blr - -.global SetupFogForArea__13CStateManagerCF7TAreaId -SetupFogForArea__13CStateManagerCF7TAreaId: -/* 80046D80 00043CE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80046D84 00043CE4 7C 08 02 A6 */ mflr r0 -/* 80046D88 00043CE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80046D8C 00043CEC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80046D90 00043CF0 80 A4 00 00 */ lwz r5, 0(r4) -/* 80046D94 00043CF4 7C 05 00 00 */ cmpw r5, r0 -/* 80046D98 00043CF8 40 82 00 10 */ bne lbl_80046DA8 -/* 80046D9C 00043CFC 80 03 08 CC */ lwz r0, 0x8cc(r3) -/* 80046DA0 00043D00 38 81 00 0C */ addi r4, r1, 0xc -/* 80046DA4 00043D04 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80046DA8: -/* 80046DA8 00043D08 80 C4 00 00 */ lwz r6, 0(r4) -/* 80046DAC 00043D0C 80 A3 08 50 */ lwz r5, 0x850(r3) -/* 80046DB0 00043D10 54 C4 18 38 */ slwi r4, r6, 3 -/* 80046DB4 00043D14 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80046DB8 00043D18 80 A5 00 20 */ lwz r5, 0x20(r5) -/* 80046DBC 00043D1C 38 04 00 04 */ addi r0, r4, 4 -/* 80046DC0 00043D20 90 C1 00 08 */ stw r6, 8(r1) -/* 80046DC4 00043D24 7C 85 00 2E */ lwzx r4, r5, r0 -/* 80046DC8 00043D28 88 04 00 F0 */ lbz r0, 0xf0(r4) -/* 80046DCC 00043D2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80046DD0 00043D30 41 82 00 08 */ beq lbl_80046DD8 -/* 80046DD4 00043D34 48 00 00 9D */ bl SetupFogForArea__13CStateManagerCFRC9CGameArea -lbl_80046DD8: -/* 80046DD8 00043D38 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80046DDC 00043D3C 7C 08 03 A6 */ mtlr r0 -/* 80046DE0 00043D40 38 21 00 20 */ addi r1, r1, 0x20 -/* 80046DE4 00043D44 4E 80 00 20 */ blr - -.global sub_80046de8 -sub_80046de8: -/* 80046DE8 00043D48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80046DEC 00043D4C 7C 08 02 A6 */ mflr r0 -/* 80046DF0 00043D50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80046DF4 00043D54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80046DF8 00043D58 7C 9F 23 78 */ mr r31, r4 -/* 80046DFC 00043D5C 7C 64 1B 78 */ mr r4, r3 -/* 80046E00 00043D60 80 A3 08 B8 */ lwz r5, 0x8b8(r3) -/* 80046E04 00043D64 80 65 00 00 */ lwz r3, 0(r5) -/* 80046E08 00043D68 48 04 A7 51 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80046E0C 00043D6C 2C 03 00 01 */ cmpwi r3, 1 -/* 80046E10 00043D70 40 82 00 4C */ bne lbl_80046E5C -/* 80046E14 00043D74 7F E3 FB 78 */ mr r3, r31 -/* 80046E18 00043D78 48 01 74 25 */ bl GetXRayFogDistance__9CGameAreaFv -/* 80046E1C 00043D7C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80046E20 00043D80 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80046E24 00043D84 C0 04 02 84 */ lfs f0, 0x284(r4) -/* 80046E28 00043D88 38 A4 02 88 */ addi r5, r4, 0x288 -/* 80046E2C 00043D8C EC 62 08 28 */ fsubs f3, f2, f1 -/* 80046E30 00043D90 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046E34 00043D94 EC 40 00 72 */ fmuls f2, f0, f1 -/* 80046E38 00043D98 C0 24 02 80 */ lfs f1, 0x280(r4) -/* 80046E3C 00043D9C 81 83 00 00 */ lwz r12, 0(r3) -/* 80046E40 00043DA0 C0 02 85 CC */ lfs f0, lbl_805AA2EC@sda21(r2) -/* 80046E44 00043DA4 EC 41 10 FA */ fmadds f2, f1, f3, f2 -/* 80046E48 00043DA8 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 80046E4C 00043DAC 80 84 02 7C */ lwz r4, 0x27c(r4) -/* 80046E50 00043DB0 EC 42 00 32 */ fmuls f2, f2, f0 -/* 80046E54 00043DB4 7D 89 03 A6 */ mtctr r12 -/* 80046E58 00043DB8 4E 80 04 21 */ bctrl -lbl_80046E5C: -/* 80046E5C 00043DBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80046E60 00043DC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80046E64 00043DC4 7C 08 03 A6 */ mtlr r0 -/* 80046E68 00043DC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80046E6C 00043DCC 4E 80 00 20 */ blr - -.global SetupFogForArea__13CStateManagerCFRC9CGameArea -SetupFogForArea__13CStateManagerCFRC9CGameArea: -/* 80046E70 00043DD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80046E74 00043DD4 7C 08 02 A6 */ mflr r0 -/* 80046E78 00043DD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80046E7C 00043DDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80046E80 00043DE0 7C 9F 23 78 */ mr r31, r4 -/* 80046E84 00043DE4 93 C1 00 08 */ stw r30, 8(r1) -/* 80046E88 00043DE8 7C 7E 1B 78 */ mr r30, r3 -/* 80046E8C 00043DEC 48 00 00 91 */ bl SetupFogForDraw__13CStateManagerCFv -/* 80046E90 00043DF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80046E94 00043DF4 40 82 00 70 */ bne lbl_80046F04 -/* 80046E98 00043DF8 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80046E9C 00043DFC 7F C4 F3 78 */ mr r4, r30 -/* 80046EA0 00043E00 80 63 00 00 */ lwz r3, 0(r3) -/* 80046EA4 00043E04 48 04 A6 B5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80046EA8 00043E08 2C 03 00 01 */ cmpwi r3, 1 -/* 80046EAC 00043E0C 40 82 00 4C */ bne lbl_80046EF8 -/* 80046EB0 00043E10 7F E3 FB 78 */ mr r3, r31 -/* 80046EB4 00043E14 48 01 73 89 */ bl GetXRayFogDistance__9CGameAreaFv -/* 80046EB8 00043E18 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80046EBC 00043E1C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046EC0 00043E20 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80046EC4 00043E24 38 A4 02 88 */ addi r5, r4, 0x288 -/* 80046EC8 00043E28 C0 04 02 84 */ lfs f0, 0x284(r4) -/* 80046ECC 00043E2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80046ED0 00043E30 EC 42 08 28 */ fsubs f2, f2, f1 -/* 80046ED4 00043E34 C0 64 02 80 */ lfs f3, 0x280(r4) -/* 80046ED8 00043E38 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80046EDC 00043E3C 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 80046EE0 00043E40 FC 20 18 90 */ fmr f1, f3 -/* 80046EE4 00043E44 80 84 02 7C */ lwz r4, 0x27c(r4) -/* 80046EE8 00043E48 EC 43 00 BA */ fmadds f2, f3, f2, f0 -/* 80046EEC 00043E4C 7D 89 03 A6 */ mtctr r12 -/* 80046EF0 00043E50 4E 80 04 21 */ bctrl -/* 80046EF4 00043E54 48 00 00 10 */ b lbl_80046F04 -lbl_80046EF8: -/* 80046EF8 00043E58 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80046EFC 00043E5C 80 63 10 C4 */ lwz r3, 0x10c4(r3) -/* 80046F00 00043E60 48 01 7D 69 */ bl SetCurrent__Q29CGameArea8CAreaFogCFv -lbl_80046F04: -/* 80046F04 00043E64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80046F08 00043E68 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80046F0C 00043E6C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80046F10 00043E70 7C 08 03 A6 */ mtlr r0 -/* 80046F14 00043E74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80046F18 00043E78 4E 80 00 20 */ blr - -.global SetupFogForDraw__13CStateManagerCFv -SetupFogForDraw__13CStateManagerCFv: -/* 80046F1C 00043E7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80046F20 00043E80 7C 08 02 A6 */ mflr r0 -/* 80046F24 00043E84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80046F28 00043E88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80046F2C 00043E8C 7C 7F 1B 78 */ mr r31, r3 -/* 80046F30 00043E90 7F E4 FB 78 */ mr r4, r31 -/* 80046F34 00043E94 80 63 08 B8 */ lwz r3, 0x8b8(r3) -/* 80046F38 00043E98 80 63 00 00 */ lwz r3, 0(r3) -/* 80046F3C 00043E9C 48 04 A6 1D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80046F40 00043EA0 2C 03 00 02 */ cmpwi r3, 2 -/* 80046F44 00043EA4 41 82 00 60 */ beq lbl_80046FA4 -/* 80046F48 00043EA8 40 80 00 14 */ bge lbl_80046F5C -/* 80046F4C 00043EAC 2C 03 00 00 */ cmpwi r3, 0 -/* 80046F50 00043EB0 41 82 00 54 */ beq lbl_80046FA4 -/* 80046F54 00043EB4 40 80 00 40 */ bge lbl_80046F94 -/* 80046F58 00043EB8 48 00 00 44 */ b lbl_80046F9C -lbl_80046F5C: -/* 80046F5C 00043EBC 2C 03 00 04 */ cmpwi r3, 4 -/* 80046F60 00043EC0 40 80 00 3C */ bge lbl_80046F9C -/* 80046F64 00043EC4 48 30 30 51 */ bl Black__6CColorFv -/* 80046F68 00043EC8 7C 65 1B 78 */ mr r5, r3 -/* 80046F6C 00043ECC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80046F70 00043ED0 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 80046F74 00043ED4 38 80 00 00 */ li r4, 0 -/* 80046F78 00043ED8 81 83 00 00 */ lwz r12, 0(r3) -/* 80046F7C 00043EDC C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80046F80 00043EE0 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 80046F84 00043EE4 7D 89 03 A6 */ mtctr r12 -/* 80046F88 00043EE8 4E 80 04 21 */ bctrl -/* 80046F8C 00043EEC 38 60 00 01 */ li r3, 1 -/* 80046F90 00043EF0 48 00 00 40 */ b lbl_80046FD0 -lbl_80046F94: -/* 80046F94 00043EF4 38 60 00 00 */ li r3, 0 -/* 80046F98 00043EF8 48 00 00 38 */ b lbl_80046FD0 -lbl_80046F9C: -/* 80046F9C 00043EFC 38 60 00 00 */ li r3, 0 -/* 80046FA0 00043F00 48 00 00 30 */ b lbl_80046FD0 -lbl_80046FA4: -/* 80046FA4 00043F04 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80046FA8 00043F08 3B E3 00 3C */ addi r31, r3, 0x3c -/* 80046FAC 00043F0C 7F E3 FB 78 */ mr r3, r31 -/* 80046FB0 00043F10 48 01 81 D9 */ bl IsFogDisabled__Q29CGameArea8CAreaFogCFv -/* 80046FB4 00043F14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80046FB8 00043F18 41 82 00 0C */ beq lbl_80046FC4 -/* 80046FBC 00043F1C 38 60 00 00 */ li r3, 0 -/* 80046FC0 00043F20 48 00 00 10 */ b lbl_80046FD0 -lbl_80046FC4: -/* 80046FC4 00043F24 7F E3 FB 78 */ mr r3, r31 -/* 80046FC8 00043F28 48 01 7C A1 */ bl SetCurrent__Q29CGameArea8CAreaFogCFv -/* 80046FCC 00043F2C 38 60 00 01 */ li r3, 1 -lbl_80046FD0: -/* 80046FD0 00043F30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80046FD4 00043F34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80046FD8 00043F38 7C 08 03 A6 */ mtlr r0 -/* 80046FDC 00043F3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80046FE0 00043F40 4E 80 00 20 */ blr - -.global SetupViewForDraw__13CStateManagerCFRCQ29CGraphics9CViewport -SetupViewForDraw__13CStateManagerCFRCQ29CGraphics9CViewport: -/* 80046FE4 00043F44 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80046FE8 00043F48 7C 08 02 A6 */ mflr r0 -/* 80046FEC 00043F4C 90 01 01 64 */ stw r0, 0x164(r1) -/* 80046FF0 00043F50 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 80046FF4 00043F54 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 80046FF8 00043F58 DB C1 01 40 */ stfd f30, 0x140(r1) -/* 80046FFC 00043F5C F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 80047000 00043F60 DB A1 01 30 */ stfd f29, 0x130(r1) -/* 80047004 00043F64 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 -/* 80047008 00043F68 DB 81 01 20 */ stfd f28, 0x120(r1) -/* 8004700C 00043F6C F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 -/* 80047010 00043F70 BF 21 01 04 */ stmw r25, 0x104(r1) -/* 80047014 00043F74 7C 9E 23 78 */ mr r30, r4 -/* 80047018 00043F78 7C 7D 1B 78 */ mr r29, r3 -/* 8004701C 00043F7C 80 64 08 70 */ lwz r3, 0x870(r4) -/* 80047020 00043F80 7C B9 2B 78 */ mr r25, r5 -/* 80047024 00043F84 4B FC 4A F5 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80047028 00043F88 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 8004702C 00043F8C 7C 7F 1B 78 */ mr r31, r3 -/* 80047030 00043F90 7F C5 F3 78 */ mr r5, r30 -/* 80047034 00043F94 38 61 00 14 */ addi r3, r1, 0x14 -/* 80047038 00043F98 4B FC 39 31 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 8004703C 00043F9C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80047040 00043FA0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80047044 00043FA4 48 2C BB 31 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80047048 00043FA8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8004704C 00043FAC 38 81 00 44 */ addi r4, r1, 0x44 -/* 80047050 00043FB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80047054 00043FB4 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 80047058 00043FB8 7D 89 03 A6 */ mtctr r12 -/* 8004705C 00043FBC 4E 80 04 21 */ bctrl -/* 80047060 00043FC0 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80047064 00043FC4 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80047068 00043FC8 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8004706C 00043FCC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80047070 00043FD0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80047074 00043FD4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80047078 00043FD8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8004707C 00043FDC 48 28 F1 E9 */ bl GetGlobalTimerObj__10CStopwatchFv -/* 80047080 00043FE0 7C 64 1B 78 */ mr r4, r3 -/* 80047084 00043FE4 38 61 00 08 */ addi r3, r1, 8 -/* 80047088 00043FE8 48 2F E7 71 */ bl SetNewPlayerPositionAndTime__10CCubeModelFRC9CVector3fRC10CStopwatch -/* 8004708C 00043FEC 80 D9 00 0C */ lwz r6, 0xc(r25) -/* 80047090 00043FF0 3C 60 43 30 */ lis r3, 0x4330 -/* 80047094 00043FF4 80 B9 00 08 */ lwz r5, 8(r25) -/* 80047098 00043FF8 6C C0 80 00 */ xoris r0, r6, 0x8000 -/* 8004709C 00043FFC 90 61 00 E0 */ stw r3, 0xe0(r1) -/* 800470A0 00044000 6C A4 80 00 */ xoris r4, r5, 0x8000 -/* 800470A4 00044004 C8 A2 85 A8 */ lfd f5, lbl_805AA2C8@sda21(r2) -/* 800470A8 00044008 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800470AC 0004400C C0 DE 0F 2C */ lfs f6, 0xf2c(r30) -/* 800470B0 00044010 C8 21 00 E0 */ lfd f1, 0xe0(r1) -/* 800470B4 00044014 C0 1F 01 68 */ lfs f0, 0x168(r31) -/* 800470B8 00044018 90 81 00 DC */ stw r4, 0xdc(r1) -/* 800470BC 0004401C EC 21 28 28 */ fsubs f1, f1, f5 -/* 800470C0 00044020 C0 5E 0F 30 */ lfs f2, 0xf30(r30) -/* 800470C4 00044024 EC 06 00 32 */ fmuls f0, f6, f0 -/* 800470C8 00044028 90 61 00 D8 */ stw r3, 0xd8(r1) -/* 800470CC 0004402C EF E2 00 72 */ fmuls f31, f2, f1 -/* 800470D0 00044030 C0 22 85 7C */ lfs f1, lbl_805AA29C@sda21(r2) -/* 800470D4 00044034 C8 81 00 D8 */ lfd f4, 0xd8(r1) -/* 800470D8 00044038 EF C0 10 24 */ fdivs f30, f0, f2 -/* 800470DC 0004403C C0 1F 01 5C */ lfs f0, 0x15c(r31) -/* 800470E0 00044040 C0 42 85 D4 */ lfs f2, lbl_805AA2F4@sda21(r2) -/* 800470E4 00044044 C0 62 85 D0 */ lfs f3, lbl_805AA2F0@sda21(r2) -/* 800470E8 00044048 80 F9 00 00 */ lwz r7, 0(r25) -/* 800470EC 0004404C 80 99 00 04 */ lwz r4, 4(r25) -/* 800470F0 00044050 EC A4 28 28 */ fsubs f5, f4, f5 -/* 800470F4 00044054 FC 80 F8 1E */ fctiwz f4, f31 -/* 800470F8 00044058 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800470FC 0004405C EF A6 01 72 */ fmuls f29, f6, f5 -/* 80047100 00044060 D8 81 00 F0 */ stfd f4, 0xf0(r1) -/* 80047104 00044064 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80047108 00044068 FC 40 E8 1E */ fctiwz f2, f29 -/* 8004710C 0004406C 80 61 00 F4 */ lwz r3, 0xf4(r1) -/* 80047110 00044070 54 60 0F FE */ srwi r0, r3, 0x1f -/* 80047114 00044074 EC 23 00 32 */ fmuls f1, f3, f0 -/* 80047118 00044078 D8 41 00 E8 */ stfd f2, 0xe8(r1) -/* 8004711C 0004407C 7C 00 1A 14 */ add r0, r0, r3 -/* 80047120 00044080 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80047124 00044084 83 81 00 EC */ lwz r28, 0xec(r1) -/* 80047128 00044088 54 1B 08 3C */ slwi r27, r0, 1 -/* 8004712C 0004408C 7C 7B 30 50 */ subf r3, r27, r6 -/* 80047130 00044090 7C DC 28 50 */ subf r6, r28, r5 -/* 80047134 00044094 54 C5 0F FE */ srwi r5, r6, 0x1f -/* 80047138 00044098 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8004713C 0004409C 7C A5 32 14 */ add r5, r5, r6 -/* 80047140 000440A0 7C A5 0E 70 */ srawi r5, r5, 1 -/* 80047144 000440A4 7C 00 1A 14 */ add r0, r0, r3 -/* 80047148 000440A8 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8004714C 000440AC 7F 47 2A 14 */ add r26, r7, r5 -/* 80047150 000440B0 7F 24 02 14 */ add r25, r4, r0 -/* 80047154 000440B4 48 2C E1 6D */ bl SlowTangentR__5CMathFf -/* 80047158 000440B8 C0 1E 0F 30 */ lfs f0, 0xf30(r30) -/* 8004715C 000440BC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80047160 000440C0 48 2C E2 0D */ bl ArcTangentR__5CMathFf -/* 80047164 000440C4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80047168 000440C8 7F 44 D3 78 */ mr r4, r26 -/* 8004716C 000440CC C0 02 85 74 */ lfs f0, lbl_805AA294@sda21(r2) -/* 80047170 000440D0 7F 25 CB 78 */ mr r5, r25 -/* 80047174 000440D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80047178 000440D8 7F 86 E3 78 */ mr r6, r28 -/* 8004717C 000440DC EF 80 00 72 */ fmuls f28, f0, f1 -/* 80047180 000440E0 7F 67 DB 78 */ mr r7, r27 -/* 80047184 000440E4 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80047188 000440E8 7D 89 03 A6 */ mtctr r12 -/* 8004718C 000440EC 4E 80 04 21 */ bctrl -/* 80047190 000440F0 C0 22 85 80 */ lfs f1, lbl_805AA2A0@sda21(r2) -/* 80047194 000440F4 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80047198 000440F8 48 2C 32 49 */ bl SetDepthRange__9CGraphicsFff -/* 8004719C 000440FC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800471A0 00044100 FC 40 E8 90 */ fmr f2, f29 -/* 800471A4 00044104 C0 02 85 DC */ lfs f0, lbl_805AA2FC@sda21(r2) -/* 800471A8 00044108 FC 60 F8 90 */ fmr f3, f31 -/* 800471AC 0004410C 81 83 00 00 */ lwz r12, 0(r3) -/* 800471B0 00044110 EC 00 07 32 */ fmuls f0, f0, f28 -/* 800471B4 00044114 C0 22 85 D8 */ lfs f1, lbl_805AA2F8@sda21(r2) -/* 800471B8 00044118 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 800471BC 0004411C C0 9F 01 60 */ lfs f4, 0x160(r31) -/* 800471C0 00044120 EC 21 00 32 */ fmuls f1, f1, f0 -/* 800471C4 00044124 C0 BF 01 64 */ lfs f5, 0x164(r31) -/* 800471C8 00044128 7D 89 03 A6 */ mtctr r12 -/* 800471CC 0004412C 4E 80 04 21 */ bctrl -/* 800471D0 00044130 FC 20 E0 90 */ fmr f1, f28 -/* 800471D4 00044134 C0 7F 01 60 */ lfs f3, 0x160(r31) -/* 800471D8 00044138 FC 40 F0 90 */ fmr f2, f30 -/* 800471DC 0004413C C0 82 85 C0 */ lfs f4, lbl_805AA2E0@sda21(r2) -/* 800471E0 00044140 38 61 00 74 */ addi r3, r1, 0x74 -/* 800471E4 00044144 38 81 00 44 */ addi r4, r1, 0x44 -/* 800471E8 00044148 38 A0 00 00 */ li r5, 0 -/* 800471EC 0004414C 48 2F E0 69 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf -/* 800471F0 00044150 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800471F4 00044154 38 81 00 74 */ addi r4, r1, 0x74 -/* 800471F8 00044158 81 83 00 00 */ lwz r12, 0(r3) -/* 800471FC 0004415C 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 80047200 00044160 7D 89 03 A6 */ mtctr r12 -/* 80047204 00044164 4E 80 04 21 */ bctrl -/* 80047208 00044168 48 30 2D A5 */ bl White__6CColorFv -/* 8004720C 0004416C 7C 64 1B 78 */ mr r4, r3 -/* 80047210 00044170 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80047214 00044174 81 83 00 00 */ lwz r12, 0(r3) -/* 80047218 00044178 81 8C 00 B4 */ lwz r12, 0xb4(r12) -/* 8004721C 0004417C 7D 89 03 A6 */ mtctr r12 -/* 80047220 00044180 4E 80 04 21 */ bctrl -/* 80047224 00044184 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80047228 00044188 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8004722C 0004418C 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80047230 00044190 81 83 00 00 */ lwz r12, 0(r3) -/* 80047234 00044194 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80047238 00044198 7D 89 03 A6 */ mtctr r12 -/* 8004723C 0004419C 4E 80 04 21 */ bctrl -/* 80047240 000441A0 80 7E 08 7C */ lwz r3, 0x87c(r30) -/* 80047244 000441A4 38 80 00 00 */ li r4, 0 -/* 80047248 000441A8 48 0E 83 C1 */ bl StartFrame__18CFluidPlaneManagerCFb -/* 8004724C 000441AC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80047250 000441B0 38 80 00 01 */ li r4, 1 -/* 80047254 000441B4 38 A0 00 01 */ li r5, 1 -/* 80047258 000441B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8004725C 000441BC 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 80047260 000441C0 7D 89 03 A6 */ mtctr r12 -/* 80047264 000441C4 4E 80 04 21 */ bctrl -/* 80047268 000441C8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8004726C 000441CC 38 81 00 78 */ addi r4, r1, 0x78 -/* 80047270 000441D0 38 7D 00 04 */ addi r3, r29, 4 -/* 80047274 000441D4 90 1D 00 00 */ stw r0, 0(r29) -/* 80047278 000441D8 80 1D 00 00 */ lwz r0, 0(r29) -/* 8004727C 000441DC 7C 09 03 A6 */ mtctr r0 -/* 80047280 000441E0 2C 00 00 00 */ cmpwi r0, 0 -/* 80047284 000441E4 40 81 00 38 */ ble lbl_800472BC -lbl_80047288: -/* 80047288 000441E8 28 03 00 00 */ cmplwi r3, 0 -/* 8004728C 000441EC 41 82 00 24 */ beq lbl_800472B0 -/* 80047290 000441F0 C0 04 00 00 */ lfs f0, 0(r4) -/* 80047294 000441F4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80047298 000441F8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8004729C 000441FC D0 03 00 04 */ stfs f0, 4(r3) -/* 800472A0 00044200 C0 04 00 08 */ lfs f0, 8(r4) -/* 800472A4 00044204 D0 03 00 08 */ stfs f0, 8(r3) -/* 800472A8 00044208 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 800472AC 0004420C D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_800472B0: -/* 800472B0 00044210 38 63 00 10 */ addi r3, r3, 0x10 -/* 800472B4 00044214 38 84 00 10 */ addi r4, r4, 0x10 -/* 800472B8 00044218 42 00 FF D0 */ bdnz lbl_80047288 -lbl_800472BC: -/* 800472BC 0004421C 80 A1 00 74 */ lwz r5, 0x74(r1) -/* 800472C0 00044220 38 60 00 00 */ li r3, 0 -/* 800472C4 00044224 2C 05 00 00 */ cmpwi r5, 0 -/* 800472C8 00044228 40 81 00 40 */ ble lbl_80047308 -/* 800472CC 0004422C 2C 05 00 08 */ cmpwi r5, 8 -/* 800472D0 00044230 38 85 FF F8 */ addi r4, r5, -8 -/* 800472D4 00044234 40 81 00 20 */ ble lbl_800472F4 -/* 800472D8 00044238 38 04 00 07 */ addi r0, r4, 7 -/* 800472DC 0004423C 54 00 E8 FE */ srwi r0, r0, 3 -/* 800472E0 00044240 7C 09 03 A6 */ mtctr r0 -/* 800472E4 00044244 2C 04 00 00 */ cmpwi r4, 0 -/* 800472E8 00044248 40 81 00 0C */ ble lbl_800472F4 -lbl_800472EC: -/* 800472EC 0004424C 38 63 00 08 */ addi r3, r3, 8 -/* 800472F0 00044250 42 00 FF FC */ bdnz lbl_800472EC -lbl_800472F4: -/* 800472F4 00044254 7C 03 28 50 */ subf r0, r3, r5 -/* 800472F8 00044258 7C 09 03 A6 */ mtctr r0 -/* 800472FC 0004425C 7C 03 28 00 */ cmpw r3, r5 -/* 80047300 00044260 40 80 00 08 */ bge lbl_80047308 -lbl_80047304: -/* 80047304 00044264 42 00 00 00 */ bdnz lbl_80047304 -lbl_80047308: -/* 80047308 00044268 38 00 00 00 */ li r0, 0 -/* 8004730C 0004426C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80047310 00044270 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 80047314 00044274 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 80047318 00044278 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 8004731C 0004427C CB C1 01 40 */ lfd f30, 0x140(r1) -/* 80047320 00044280 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 -/* 80047324 00044284 CB A1 01 30 */ lfd f29, 0x130(r1) -/* 80047328 00044288 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 -/* 8004732C 0004428C CB 81 01 20 */ lfd f28, 0x120(r1) -/* 80047330 00044290 BB 21 01 04 */ lmw r25, 0x104(r1) -/* 80047334 00044294 80 01 01 64 */ lwz r0, 0x164(r1) -/* 80047338 00044298 7C 08 03 A6 */ mtlr r0 -/* 8004733C 0004429C 38 21 01 60 */ addi r1, r1, 0x160 -/* 80047340 000442A0 4E 80 00 20 */ blr - -.global PreRender__13CStateManagerFv -PreRender__13CStateManagerFv: -/* 80047344 000442A4 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80047348 000442A8 7C 08 02 A6 */ mflr r0 -/* 8004734C 000442AC 90 01 01 04 */ stw r0, 0x104(r1) -/* 80047350 000442B0 BF 21 00 E4 */ stmw r25, 0xe4(r1) -/* 80047354 000442B4 7C 7C 1B 78 */ mr r28, r3 -/* 80047358 000442B8 88 03 0F 94 */ lbz r0, 0xf94(r3) -/* 8004735C 000442BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80047360 000442C0 41 82 02 B0 */ beq lbl_80047610 -/* 80047364 000442C4 48 33 E0 45 */ bl OSGetTime -/* 80047368 000442C8 80 BC 08 6C */ lwz r5, 0x86c(r28) -/* 8004736C 000442CC 7C 9E 23 78 */ mr r30, r4 -/* 80047370 000442D0 7C 7F 1B 78 */ mr r31, r3 -/* 80047374 000442D4 38 60 00 00 */ li r3, 0 -/* 80047378 000442D8 3C 85 00 01 */ addis r4, r5, 1 -/* 8004737C 000442DC 80 C4 F3 70 */ lwz r6, -0xc90(r4) -/* 80047380 000442E0 2C 06 00 00 */ cmpwi r6, 0 -/* 80047384 000442E4 40 81 00 40 */ ble lbl_800473C4 -/* 80047388 000442E8 2C 06 00 08 */ cmpwi r6, 8 -/* 8004738C 000442EC 38 A6 FF F8 */ addi r5, r6, -8 -/* 80047390 000442F0 40 81 00 20 */ ble lbl_800473B0 -/* 80047394 000442F4 38 05 00 07 */ addi r0, r5, 7 -/* 80047398 000442F8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004739C 000442FC 7C 09 03 A6 */ mtctr r0 -/* 800473A0 00044300 2C 05 00 00 */ cmpwi r5, 0 -/* 800473A4 00044304 40 81 00 0C */ ble lbl_800473B0 -lbl_800473A8: -/* 800473A8 00044308 38 63 00 08 */ addi r3, r3, 8 -/* 800473AC 0004430C 42 00 FF FC */ bdnz lbl_800473A8 -lbl_800473B0: -/* 800473B0 00044310 7C 03 30 50 */ subf r0, r3, r6 -/* 800473B4 00044314 7C 09 03 A6 */ mtctr r0 -/* 800473B8 00044318 7C 03 30 00 */ cmpw r3, r6 -/* 800473BC 0004431C 40 80 00 08 */ bge lbl_800473C4 -lbl_800473C0: -/* 800473C0 00044320 42 00 00 00 */ bdnz lbl_800473C0 -lbl_800473C4: -/* 800473C4 00044324 38 A0 00 00 */ li r5, 0 -/* 800473C8 00044328 90 A4 F3 70 */ stw r5, -0xc90(r4) -/* 800473CC 0004432C 80 7C 08 6C */ lwz r3, 0x86c(r28) -/* 800473D0 00044330 3C 63 00 01 */ addis r3, r3, 1 -/* 800473D4 00044334 80 C3 F3 9C */ lwz r6, -0xc64(r3) -/* 800473D8 00044338 2C 06 00 00 */ cmpwi r6, 0 -/* 800473DC 0004433C 40 81 00 40 */ ble lbl_8004741C -/* 800473E0 00044340 2C 06 00 08 */ cmpwi r6, 8 -/* 800473E4 00044344 38 86 FF F8 */ addi r4, r6, -8 -/* 800473E8 00044348 40 81 00 20 */ ble lbl_80047408 -/* 800473EC 0004434C 38 04 00 07 */ addi r0, r4, 7 -/* 800473F0 00044350 54 00 E8 FE */ srwi r0, r0, 3 -/* 800473F4 00044354 7C 09 03 A6 */ mtctr r0 -/* 800473F8 00044358 2C 04 00 00 */ cmpwi r4, 0 -/* 800473FC 0004435C 40 81 00 0C */ ble lbl_80047408 -lbl_80047400: -/* 80047400 00044360 38 A5 00 08 */ addi r5, r5, 8 -/* 80047404 00044364 42 00 FF FC */ bdnz lbl_80047400 -lbl_80047408: -/* 80047408 00044368 7C 05 30 50 */ subf r0, r5, r6 -/* 8004740C 0004436C 7C 09 03 A6 */ mtctr r0 -/* 80047410 00044370 7C 05 30 00 */ cmpw r5, r6 -/* 80047414 00044374 40 80 00 08 */ bge lbl_8004741C -lbl_80047418: -/* 80047418 00044378 42 00 00 00 */ bdnz lbl_80047418 -lbl_8004741C: -/* 8004741C 0004437C 38 00 00 00 */ li r0, 0 -/* 80047420 00044380 90 03 F3 9C */ stw r0, -0xc64(r3) -/* 80047424 00044384 90 1C 0F 7C */ stw r0, 0xf7c(r28) -/* 80047428 00044388 80 7C 08 50 */ lwz r3, 0x850(r28) -/* 8004742C 0004438C 48 00 EE C5 */ bl PreRender__6CWorldFv -/* 80047430 00044390 7F 83 E3 78 */ mr r3, r28 -/* 80047434 00044394 4B FF E3 4D */ bl BuildDynamicLightListForWorld__13CStateManagerFv -/* 80047438 00044398 80 7C 08 70 */ lwz r3, 0x870(r28) -/* 8004743C 0004439C 7F 84 E3 78 */ mr r4, r28 -/* 80047440 000443A0 4B FC 46 D9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80047444 000443A4 80 9C 08 70 */ lwz r4, 0x870(r28) -/* 80047448 000443A8 7C 7D 1B 78 */ mr r29, r3 -/* 8004744C 000443AC 7F 85 E3 78 */ mr r5, r28 -/* 80047450 000443B0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80047454 000443B4 4B FC 35 15 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 80047458 000443B8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8004745C 000443BC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80047460 000443C0 48 2C B7 15 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80047464 000443C4 C0 22 85 BC */ lfs f1, lbl_805AA2DC@sda21(r2) -/* 80047468 000443C8 38 61 00 74 */ addi r3, r1, 0x74 -/* 8004746C 000443CC C0 1D 01 5C */ lfs f0, 0x15c(r29) -/* 80047470 000443D0 38 81 00 44 */ addi r4, r1, 0x44 -/* 80047474 000443D4 C0 5D 01 68 */ lfs f2, 0x168(r29) -/* 80047478 000443D8 38 A0 00 00 */ li r5, 0 -/* 8004747C 000443DC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80047480 000443E0 C0 7D 01 60 */ lfs f3, 0x160(r29) -/* 80047484 000443E4 C0 82 85 C0 */ lfs f4, lbl_805AA2E0@sda21(r2) -/* 80047488 000443E8 48 2F DD CD */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf -/* 8004748C 000443EC 80 7C 08 50 */ lwz r3, 0x850(r28) -/* 80047490 000443F0 83 A3 00 58 */ lwz r29, 0x58(r3) -/* 80047494 000443F4 48 00 00 C0 */ b lbl_80047554 -lbl_80047498: -/* 80047498 000443F8 88 1D 00 F0 */ lbz r0, 0xf0(r29) -/* 8004749C 000443FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800474A0 00044400 41 82 00 10 */ beq lbl_800474B0 -/* 800474A4 00044404 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 800474A8 00044408 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 800474AC 0004440C 48 00 00 08 */ b lbl_800474B4 -lbl_800474B0: -/* 800474B0 00044410 38 00 00 00 */ li r0, 0 -lbl_800474B4: -/* 800474B4 00044414 2C 00 00 01 */ cmpwi r0, 1 -/* 800474B8 00044418 40 82 00 98 */ bne lbl_80047550 -/* 800474BC 0004441C 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 800474C0 00044420 83 63 10 C0 */ lwz r27, 0x10c0(r3) -/* 800474C4 00044424 AB 3B 20 08 */ lha r25, 0x2008(r27) -/* 800474C8 00044428 48 00 00 80 */ b lbl_80047548 -lbl_800474CC: -/* 800474CC 0004442C 7F 63 DB 78 */ mr r3, r27 -/* 800474D0 00044430 7F 24 CB 78 */ mr r4, r25 -/* 800474D4 00044434 4B FC 88 41 */ bl __vc__11CObjectListFi -/* 800474D8 00044438 7C 64 1B 78 */ mr r4, r3 -/* 800474DC 0004443C 38 61 00 0C */ addi r3, r1, 0xc -/* 800474E0 00044440 48 06 87 B1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800474E4 00044444 83 43 00 04 */ lwz r26, 4(r3) -/* 800474E8 00044448 28 1A 00 00 */ cmplwi r26, 0 -/* 800474EC 0004444C 41 82 00 40 */ beq lbl_8004752C -/* 800474F0 00044450 88 1A 00 E7 */ lbz r0, 0xe7(r26) -/* 800474F4 00044454 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800474F8 00044458 41 82 00 34 */ beq lbl_8004752C -/* 800474FC 0004445C 7F 43 D3 78 */ mr r3, r26 -/* 80047500 00044460 81 9A 00 00 */ lwz r12, 0(r26) -/* 80047504 00044464 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80047508 00044468 7D 89 03 A6 */ mtctr r12 -/* 8004750C 0004446C 4E 80 04 21 */ bctrl -/* 80047510 00044470 7F 43 D3 78 */ mr r3, r26 -/* 80047514 00044474 7F 84 E3 78 */ mr r4, r28 -/* 80047518 00044478 81 9A 00 00 */ lwz r12, 0(r26) -/* 8004751C 0004447C 38 A1 00 74 */ addi r5, r1, 0x74 -/* 80047520 00044480 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80047524 00044484 7D 89 03 A6 */ mtctr r12 -/* 80047528 00044488 4E 80 04 21 */ bctrl -lbl_8004752C: -/* 8004752C 0004448C 2C 19 FF FF */ cmpwi r25, -1 -/* 80047530 00044490 41 82 00 14 */ beq lbl_80047544 -/* 80047534 00044494 57 23 18 38 */ slwi r3, r25, 3 -/* 80047538 00044498 38 03 00 08 */ addi r0, r3, 8 -/* 8004753C 0004449C 7F 3B 02 AE */ lhax r25, r27, r0 -/* 80047540 000444A0 48 00 00 08 */ b lbl_80047548 -lbl_80047544: -/* 80047544 000444A4 3B 20 FF FF */ li r25, -1 -lbl_80047548: -/* 80047548 000444A8 2C 19 FF FF */ cmpwi r25, -1 -/* 8004754C 000444AC 40 82 FF 80 */ bne lbl_800474CC -lbl_80047550: -/* 80047550 000444B0 83 BD 01 30 */ lwz r29, 0x130(r29) -lbl_80047554: -/* 80047554 000444B4 38 61 00 08 */ addi r3, r1, 8 -/* 80047558 000444B8 48 00 00 CD */ bl AliveAreasEnd__6CWorldFv -/* 8004755C 000444BC 80 01 00 08 */ lwz r0, 8(r1) -/* 80047560 000444C0 7C 00 E8 40 */ cmplw r0, r29 -/* 80047564 000444C4 40 82 FF 34 */ bne lbl_80047498 -/* 80047568 000444C8 88 02 80 E8 */ lbz r0, lbl_805A9E08@sda21(r2) -/* 8004756C 000444CC 28 00 00 00 */ cmplwi r0, 0 -/* 80047570 000444D0 40 82 00 0C */ bne lbl_8004757C -/* 80047574 000444D4 7F 83 E3 78 */ mr r3, r28 -/* 80047578 000444D8 4B FF E1 51 */ bl CacheReflection__13CStateManagerFv -lbl_8004757C: -/* 8004757C 000444DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80047580 000444E0 38 9C 08 E0 */ addi r4, r28, 0x8e0 -/* 80047584 000444E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80047588 000444E8 81 8C 01 08 */ lwz r12, 0x108(r12) -/* 8004758C 000444EC 7D 89 03 A6 */ mtctr r12 -/* 80047590 000444F0 4E 80 04 21 */ bctrl -/* 80047594 000444F4 48 33 DE 15 */ bl OSGetTime -/* 80047598 000444F8 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha -/* 8004759C 000444FC 7C 9E 20 10 */ subfc r4, r30, r4 -/* 800475A0 00044500 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l -/* 800475A4 00044504 7C 7F 19 10 */ subfe r3, r31, r3 -/* 800475A8 00044508 80 A6 00 08 */ lwz r5, 8(r6) -/* 800475AC 0004450C 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 800475B0 00044510 48 34 26 1D */ bl __div2i -/* 800475B4 00044514 80 C1 00 74 */ lwz r6, 0x74(r1) -/* 800475B8 00044518 38 A0 00 00 */ li r5, 0 -/* 800475BC 0004451C 90 8D A1 DC */ stw r4, lbl_805A8D9C@sda21(r13) -/* 800475C0 00044520 2C 06 00 00 */ cmpwi r6, 0 -/* 800475C4 00044524 90 6D A1 D8 */ stw r3, lbl_805A8D98@sda21(r13) -/* 800475C8 00044528 40 81 00 40 */ ble lbl_80047608 -/* 800475CC 0004452C 2C 06 00 08 */ cmpwi r6, 8 -/* 800475D0 00044530 38 66 FF F8 */ addi r3, r6, -8 -/* 800475D4 00044534 40 81 00 20 */ ble lbl_800475F4 -/* 800475D8 00044538 38 03 00 07 */ addi r0, r3, 7 -/* 800475DC 0004453C 54 00 E8 FE */ srwi r0, r0, 3 -/* 800475E0 00044540 7C 09 03 A6 */ mtctr r0 -/* 800475E4 00044544 2C 03 00 00 */ cmpwi r3, 0 -/* 800475E8 00044548 40 81 00 0C */ ble lbl_800475F4 -lbl_800475EC: -/* 800475EC 0004454C 38 A5 00 08 */ addi r5, r5, 8 -/* 800475F0 00044550 42 00 FF FC */ bdnz lbl_800475EC -lbl_800475F4: -/* 800475F4 00044554 7C 05 30 50 */ subf r0, r5, r6 -/* 800475F8 00044558 7C 09 03 A6 */ mtctr r0 -/* 800475FC 0004455C 7C 05 30 00 */ cmpw r5, r6 -/* 80047600 00044560 40 80 00 08 */ bge lbl_80047608 -lbl_80047604: -/* 80047604 00044564 42 00 00 00 */ bdnz lbl_80047604 -lbl_80047608: -/* 80047608 00044568 38 00 00 00 */ li r0, 0 -/* 8004760C 0004456C 90 01 00 74 */ stw r0, 0x74(r1) -lbl_80047610: -/* 80047610 00044570 BB 21 00 E4 */ lmw r25, 0xe4(r1) -/* 80047614 00044574 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80047618 00044578 7C 08 03 A6 */ mtlr r0 -/* 8004761C 0004457C 38 21 01 00 */ addi r1, r1, 0x100 -/* 80047620 00044580 4E 80 00 20 */ blr - -.global AliveAreasEnd__6CWorldFv -AliveAreasEnd__6CWorldFv: -/* 80047624 00044584 80 0D A2 1C */ lwz r0, lbl_805A8DDC@sda21(r13) -/* 80047628 00044588 90 03 00 00 */ stw r0, 0(r3) -/* 8004762C 0004458C 4E 80 00 20 */ blr - -.global GetVisSetForArea__13CStateManagerCF7TAreaId7TAreaId -GetVisSetForArea__13CStateManagerCF7TAreaId7TAreaId: -/* 80047630 00044590 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80047634 00044594 7C 08 02 A6 */ mflr r0 -/* 80047638 00044598 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8004763C 0004459C DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 80047640 000445A0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80047644 000445A4 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 80047648 000445A8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8004764C 000445AC DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 80047650 000445B0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 80047654 000445B4 BE A1 00 84 */ stmw r21, 0x84(r1) -/* 80047658 000445B8 80 A5 00 00 */ lwz r5, 0(r5) -/* 8004765C 000445BC 7C 7C 1B 78 */ mr r28, r3 -/* 80047660 000445C0 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80047664 000445C4 7C 9D 23 78 */ mr r29, r4 -/* 80047668 000445C8 7C DE 33 78 */ mr r30, r6 -/* 8004766C 000445CC 7C 05 00 00 */ cmpw r5, r0 -/* 80047670 000445D0 40 82 00 0C */ bne lbl_8004767C -/* 80047674 000445D4 38 60 00 00 */ li r3, 0 -/* 80047678 000445D8 48 00 03 14 */ b lbl_8004798C -lbl_8004767C: -/* 8004767C 000445DC 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 80047680 000445E0 80 1D 00 00 */ lwz r0, 0(r29) -/* 80047684 000445E4 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l -/* 80047688 000445E8 3B E0 00 00 */ li r31, 0 -/* 8004768C 000445EC C3 A3 00 2C */ lfs f29, 0x2c(r3) -/* 80047690 000445F0 7C 00 28 00 */ cmpw r0, r5 -/* 80047694 000445F4 C3 C3 00 0C */ lfs f30, 0xc(r3) -/* 80047698 000445F8 C3 E3 00 1C */ lfs f31, 0x1c(r3) -/* 8004769C 000445FC D3 C1 00 48 */ stfs f30, 0x48(r1) -/* 800476A0 00044600 D3 E1 00 4C */ stfs f31, 0x4c(r1) -/* 800476A4 00044604 D3 A1 00 50 */ stfs f29, 0x50(r1) -/* 800476A8 00044608 40 82 00 0C */ bne lbl_800476B4 -/* 800476AC 0004460C 3B E0 00 01 */ li r31, 1 -/* 800476B0 00044610 48 00 01 70 */ b lbl_80047820 -lbl_800476B4: -/* 800476B4 00044614 80 9C 08 50 */ lwz r4, 0x850(r28) -/* 800476B8 00044618 54 A3 18 38 */ slwi r3, r5, 3 -/* 800476BC 0004461C 38 03 00 04 */ addi r0, r3, 4 -/* 800476C0 00044620 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800476C4 00044624 80 64 00 20 */ lwz r3, 0x20(r4) -/* 800476C8 00044628 7F 63 00 2E */ lwzx r27, r3, r0 -/* 800476CC 0004462C 88 1B 00 F0 */ lbz r0, 0xf0(r27) -/* 800476D0 00044630 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800476D4 00044634 41 82 01 4C */ beq lbl_80047820 -/* 800476D8 00044638 83 5B 00 D0 */ lwz r26, 0xd0(r27) -/* 800476DC 0004463C 3A C0 00 00 */ li r22, 0 -/* 800476E0 00044640 3A E0 00 00 */ li r23, 0 -/* 800476E4 00044644 48 00 01 34 */ b lbl_80047818 -lbl_800476E8: -/* 800476E8 00044648 80 1B 00 D8 */ lwz r0, 0xd8(r27) -/* 800476EC 0004464C 3A A0 00 00 */ li r21, 0 -/* 800476F0 00044650 7F 20 BA 14 */ add r25, r0, r23 -/* 800476F4 00044654 83 19 00 08 */ lwz r24, 8(r25) -/* 800476F8 00044658 48 00 01 10 */ b lbl_80047808 -lbl_800476FC: -/* 800476FC 0004465C 7F 24 CB 78 */ mr r4, r25 -/* 80047700 00044660 7E A5 AB 78 */ mr r5, r21 -/* 80047704 00044664 38 61 00 10 */ addi r3, r1, 0x10 -/* 80047708 00044668 48 01 7C 1D */ bl GetConnectedAreaId__Q29IGameArea4DockCFi -/* 8004770C 0004466C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80047710 00044670 80 1D 00 00 */ lwz r0, 0(r29) -/* 80047714 00044674 7C 03 00 00 */ cmpw r3, r0 -/* 80047718 00044678 40 82 00 EC */ bne lbl_80047804 -/* 8004771C 0004467C C0 79 00 18 */ lfs f3, 0x18(r25) -/* 80047720 00044680 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80047724 00044684 C0 39 00 24 */ lfs f1, 0x24(r25) -/* 80047728 00044688 C0 59 00 1C */ lfs f2, 0x1c(r25) -/* 8004772C 0004468C EC A3 08 2A */ fadds f5, f3, f1 -/* 80047730 00044690 C0 19 00 28 */ lfs f0, 0x28(r25) -/* 80047734 00044694 C0 79 00 30 */ lfs f3, 0x30(r25) -/* 80047738 00044698 EC 82 00 2A */ fadds f4, f2, f0 -/* 8004773C 0004469C C0 39 00 20 */ lfs f1, 0x20(r25) -/* 80047740 000446A0 EC C5 18 2A */ fadds f6, f5, f3 -/* 80047744 000446A4 C0 19 00 2C */ lfs f0, 0x2c(r25) -/* 80047748 000446A8 C0 79 00 34 */ lfs f3, 0x34(r25) -/* 8004774C 000446AC EC 41 00 2A */ fadds f2, f1, f0 -/* 80047750 000446B0 C0 39 00 38 */ lfs f1, 0x38(r25) -/* 80047754 000446B4 EC 64 18 2A */ fadds f3, f4, f3 -/* 80047758 000446B8 C0 19 00 40 */ lfs f0, 0x40(r25) -/* 8004775C 000446BC C0 B9 00 3C */ lfs f5, 0x3c(r25) -/* 80047760 000446C0 EC 22 08 2A */ fadds f1, f2, f1 -/* 80047764 000446C4 EC 63 00 2A */ fadds f3, f3, f0 -/* 80047768 000446C8 C0 19 00 44 */ lfs f0, 0x44(r25) -/* 8004776C 000446CC EC 86 28 2A */ fadds f4, f6, f5 -/* 80047770 000446D0 C0 A2 85 70 */ lfs f5, lbl_805AA290@sda21(r2) -/* 80047774 000446D4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80047778 000446D8 ED 25 00 F2 */ fmuls f9, f5, f3 -/* 8004777C 000446DC ED 45 01 32 */ fmuls f10, f5, f4 -/* 80047780 000446E0 ED 05 00 32 */ fmuls f8, f5, f0 -/* 80047784 000446E4 41 82 00 70 */ beq lbl_800477F4 -/* 80047788 000446E8 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 8004778C 000446EC EC 0A F0 28 */ fsubs f0, f10, f30 -/* 80047790 000446F0 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80047794 000446F4 EC 89 F8 28 */ fsubs f4, f9, f31 -/* 80047798 000446F8 EC C2 F8 28 */ fsubs f6, f2, f31 -/* 8004779C 000446FC C0 41 00 50 */ lfs f2, 0x50(r1) -/* 800477A0 00044700 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 800477A4 00044704 EC E2 E8 28 */ fsubs f7, f2, f29 -/* 800477A8 00044708 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800477AC 0004470C EC 68 E8 28 */ fsubs f3, f8, f29 -/* 800477B0 00044710 EC A1 00 72 */ fmuls f5, f1, f1 -/* 800477B4 00044714 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800477B8 00044718 EC 46 01 B2 */ fmuls f2, f6, f6 -/* 800477BC 0004471C EC 20 00 32 */ fmuls f1, f0, f0 -/* 800477C0 00044720 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 800477C4 00044724 EC 04 01 32 */ fmuls f0, f4, f4 -/* 800477C8 00044728 EC C7 01 F2 */ fmuls f6, f7, f7 -/* 800477CC 0004472C D0 E1 00 2C */ stfs f7, 0x2c(r1) -/* 800477D0 00044730 EC A5 10 2A */ fadds f5, f5, f2 -/* 800477D4 00044734 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 800477D8 00044738 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 800477DC 0004473C EC 01 00 2A */ fadds f0, f1, f0 -/* 800477E0 00044740 EC 26 28 2A */ fadds f1, f6, f5 -/* 800477E4 00044744 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 800477E8 00044748 EC 02 00 2A */ fadds f0, f2, f0 -/* 800477EC 0004474C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800477F0 00044750 40 80 00 14 */ bge lbl_80047804 -lbl_800477F4: -/* 800477F4 00044754 D1 41 00 48 */ stfs f10, 0x48(r1) -/* 800477F8 00044758 3B E0 00 01 */ li r31, 1 -/* 800477FC 0004475C D1 21 00 4C */ stfs f9, 0x4c(r1) -/* 80047800 00044760 D1 01 00 50 */ stfs f8, 0x50(r1) -lbl_80047804: -/* 80047804 00044764 3A B5 00 01 */ addi r21, r21, 1 -lbl_80047808: -/* 80047808 00044768 7C 15 C0 00 */ cmpw r21, r24 -/* 8004780C 0004476C 41 80 FE F0 */ blt lbl_800476FC -/* 80047810 00044770 3A F7 00 4C */ addi r23, r23, 0x4c -/* 80047814 00044774 3A D6 00 01 */ addi r22, r22, 1 -lbl_80047818: -/* 80047818 00044778 7C 16 D0 00 */ cmpw r22, r26 -/* 8004781C 0004477C 41 80 FE CC */ blt lbl_800476E8 -lbl_80047820: -/* 80047820 00044780 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80047824 00044784 3B E0 00 00 */ li r31, 0 -/* 80047828 00044788 41 82 01 58 */ beq lbl_80047980 -/* 8004782C 0004478C 80 1D 00 00 */ lwz r0, 0(r29) -/* 80047830 00044790 3B E0 00 01 */ li r31, 1 -/* 80047834 00044794 80 9C 08 50 */ lwz r4, 0x850(r28) -/* 80047838 00044798 54 03 18 38 */ slwi r3, r0, 3 -/* 8004783C 0004479C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80047840 000447A0 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80047844 000447A4 38 03 00 04 */ addi r0, r3, 4 -/* 80047848 000447A8 7C 64 00 2E */ lwzx r3, r4, r0 -/* 8004784C 000447AC 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 80047850 000447B0 80 63 00 A0 */ lwz r3, 0xa0(r3) -/* 80047854 000447B4 28 03 00 00 */ cmplwi r3, 0 -/* 80047858 000447B8 41 82 01 28 */ beq lbl_80047980 -/* 8004785C 000447BC 3B E0 00 02 */ li r31, 2 -/* 80047860 000447C0 48 26 6C 25 */ bl GetVisOctree__13CPVSVisOctreeFv -/* 80047864 000447C4 80 1D 00 00 */ lwz r0, 0(r29) -/* 80047868 000447C8 7C 75 1B 78 */ mr r21, r3 -/* 8004786C 000447CC 80 9C 08 50 */ lwz r4, 0x850(r28) -/* 80047870 000447D0 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80047874 000447D4 54 03 18 38 */ slwi r3, r0, 3 -/* 80047878 000447D8 90 01 00 08 */ stw r0, 8(r1) -/* 8004787C 000447DC 38 03 00 04 */ addi r0, r3, 4 -/* 80047880 000447E0 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80047884 000447E4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80047888 000447E8 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8004788C 000447EC 38 84 00 3C */ addi r4, r4, 0x3c -/* 80047890 000447F0 48 2C B2 59 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80047894 000447F4 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80047898 000447F8 7E A4 AB 78 */ mr r4, r21 -/* 8004789C 000447FC C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 800478A0 00044800 38 61 00 54 */ addi r3, r1, 0x54 -/* 800478A4 00044804 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 800478A8 00044808 38 A1 00 3C */ addi r5, r1, 0x3c -/* 800478AC 0004480C D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800478B0 00044810 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 800478B4 00044814 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800478B8 00044818 48 2C E6 C1 */ bl SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f -/* 800478BC 0004481C 34 01 00 60 */ addic. r0, r1, 0x60 -/* 800478C0 00044820 80 E1 00 54 */ lwz r7, 0x54(r1) -/* 800478C4 00044824 80 C1 00 58 */ lwz r6, 0x58(r1) -/* 800478C8 00044828 38 00 00 00 */ li r0, 0 -/* 800478CC 0004482C 88 81 00 60 */ lbz r4, 0x60(r1) -/* 800478D0 00044830 3A E1 00 74 */ addi r23, r1, 0x74 -/* 800478D4 00044834 80 A1 00 5C */ lwz r5, 0x5c(r1) -/* 800478D8 00044838 80 61 00 64 */ lwz r3, 0x64(r1) -/* 800478DC 0004483C 90 E1 00 68 */ stw r7, 0x68(r1) -/* 800478E0 00044840 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 800478E4 00044844 90 A1 00 70 */ stw r5, 0x70(r1) -/* 800478E8 00044848 98 81 00 74 */ stb r4, 0x74(r1) -/* 800478EC 0004484C 90 61 00 78 */ stw r3, 0x78(r1) -/* 800478F0 00044850 98 01 00 60 */ stb r0, 0x60(r1) -/* 800478F4 00044854 41 82 00 14 */ beq lbl_80047908 -/* 800478F8 00044858 28 00 00 00 */ cmplwi r0, 0 -/* 800478FC 0004485C 41 82 00 0C */ beq lbl_80047908 -/* 80047900 00044860 80 61 00 64 */ lwz r3, 0x64(r1) -/* 80047904 00044864 48 2C E0 2D */ bl Free__7CMemoryFPCv -lbl_80047908: -/* 80047908 00044868 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8004790C 0004486C 2C 00 00 01 */ cmpwi r0, 1 -/* 80047910 00044870 40 82 00 54 */ bne lbl_80047964 -/* 80047914 00044874 90 1E 00 00 */ stw r0, 0(r30) -/* 80047918 00044878 38 1E 00 0C */ addi r0, r30, 0xc -/* 8004791C 0004487C 7C 17 00 40 */ cmplw r23, r0 -/* 80047920 00044880 3B E0 00 03 */ li r31, 3 -/* 80047924 00044884 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 80047928 00044888 90 1E 00 04 */ stw r0, 4(r30) -/* 8004792C 0004488C 80 01 00 70 */ lwz r0, 0x70(r1) -/* 80047930 00044890 90 1E 00 08 */ stw r0, 8(r30) -/* 80047934 00044894 41 82 00 30 */ beq lbl_80047964 -/* 80047938 00044898 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 8004793C 0004489C 28 00 00 00 */ cmplwi r0, 0 -/* 80047940 000448A0 41 82 00 0C */ beq lbl_8004794C -/* 80047944 000448A4 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80047948 000448A8 48 2C DF E9 */ bl Free__7CMemoryFPCv -lbl_8004794C: -/* 8004794C 000448AC 88 61 00 74 */ lbz r3, 0x74(r1) -/* 80047950 000448B0 38 00 00 00 */ li r0, 0 -/* 80047954 000448B4 98 7E 00 0C */ stb r3, 0xc(r30) -/* 80047958 000448B8 80 61 00 78 */ lwz r3, 0x78(r1) -/* 8004795C 000448BC 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80047960 000448C0 98 01 00 74 */ stb r0, 0x74(r1) -lbl_80047964: -/* 80047964 000448C4 28 17 00 00 */ cmplwi r23, 0 -/* 80047968 000448C8 41 82 00 18 */ beq lbl_80047980 -/* 8004796C 000448CC 88 01 00 74 */ lbz r0, 0x74(r1) -/* 80047970 000448D0 28 00 00 00 */ cmplwi r0, 0 -/* 80047974 000448D4 41 82 00 0C */ beq lbl_80047980 -/* 80047978 000448D8 80 61 00 78 */ lwz r3, 0x78(r1) -/* 8004797C 000448DC 48 2C DF B5 */ bl Free__7CMemoryFPCv -lbl_80047980: -/* 80047980 000448E0 20 1F 00 03 */ subfic r0, r31, 3 -/* 80047984 000448E4 7C 00 00 34 */ cntlzw r0, r0 -/* 80047988 000448E8 54 03 D9 7E */ srwi r3, r0, 5 -lbl_8004798C: -/* 8004798C 000448EC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80047990 000448F0 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80047994 000448F4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 80047998 000448F8 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8004799C 000448FC E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 800479A0 00044900 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 800479A4 00044904 BA A1 00 84 */ lmw r21, 0x84(r1) -/* 800479A8 00044908 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800479AC 0004490C 7C 08 03 A6 */ mtlr r0 -/* 800479B0 00044910 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800479B4 00044914 4E 80 00 20 */ blr - -.global RendererDrawCallback__13CStateManagerFPCvPCvi -RendererDrawCallback__13CStateManagerFPCvPCvi: -/* 800479B8 00044918 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800479BC 0004491C 7C 08 02 A6 */ mflr r0 -/* 800479C0 00044920 2C 05 00 01 */ cmpwi r5, 1 -/* 800479C4 00044924 90 01 00 24 */ stw r0, 0x24(r1) -/* 800479C8 00044928 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800479CC 0004492C 7C 9F 23 78 */ mr r31, r4 -/* 800479D0 00044930 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800479D4 00044934 41 82 00 80 */ beq lbl_80047A54 -/* 800479D8 00044938 40 80 00 10 */ bge lbl_800479E8 -/* 800479DC 0004493C 2C 05 00 00 */ cmpwi r5, 0 -/* 800479E0 00044940 40 80 00 14 */ bge lbl_800479F4 -/* 800479E4 00044944 48 00 00 80 */ b lbl_80047A64 -lbl_800479E8: -/* 800479E8 00044948 2C 05 00 03 */ cmpwi r5, 3 -/* 800479EC 0004494C 40 80 00 78 */ bge lbl_80047A64 -/* 800479F0 00044950 48 00 00 70 */ b lbl_80047A60 -lbl_800479F4: -/* 800479F4 00044954 7C 7E 1B 78 */ mr r30, r3 -/* 800479F8 00044958 80 7F 08 DC */ lwz r3, 0x8dc(r31) -/* 800479FC 0004495C 80 1E 00 C8 */ lwz r0, 0xc8(r30) -/* 80047A00 00044960 7C 03 00 40 */ cmplw r3, r0 -/* 80047A04 00044964 41 82 00 60 */ beq lbl_80047A64 -/* 80047A08 00044968 A0 9E 00 C6 */ lhz r4, 0xc6(r30) -/* 80047A0C 0004496C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80047A10 00044970 54 83 04 3E */ clrlwi r3, r4, 0x10 -/* 80047A14 00044974 B0 81 00 0C */ sth r4, 0xc(r1) -/* 80047A18 00044978 7C 03 00 40 */ cmplw r3, r0 -/* 80047A1C 0004497C 41 82 00 14 */ beq lbl_80047A30 -/* 80047A20 00044980 B0 81 00 08 */ sth r4, 8(r1) -/* 80047A24 00044984 7F E3 FB 78 */ mr r3, r31 -/* 80047A28 00044988 38 81 00 08 */ addi r4, r1, 8 -/* 80047A2C 0004498C 48 00 00 51 */ bl RecursiveDrawTree__13CStateManagerCF9TUniqueId -lbl_80047A30: -/* 80047A30 00044990 7F C3 F3 78 */ mr r3, r30 -/* 80047A34 00044994 7F E4 FB 78 */ mr r4, r31 -/* 80047A38 00044998 81 9E 00 00 */ lwz r12, 0(r30) -/* 80047A3C 0004499C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80047A40 000449A0 7D 89 03 A6 */ mtctr r12 -/* 80047A44 000449A4 4E 80 04 21 */ bctrl -/* 80047A48 000449A8 80 1F 08 DC */ lwz r0, 0x8dc(r31) -/* 80047A4C 000449AC 90 1E 00 C8 */ stw r0, 0xc8(r30) -/* 80047A50 000449B0 48 00 00 14 */ b lbl_80047A64 -lbl_80047A54: -/* 80047A54 000449B4 80 9F 08 F8 */ lwz r4, 0x8f8(r31) -/* 80047A58 000449B8 48 0B E2 BD */ bl Render__13CSimpleShadowCFPC8CTexture -/* 80047A5C 000449BC 48 00 00 08 */ b lbl_80047A64 -lbl_80047A60: -/* 80047A60 000449C0 48 26 CE 2D */ bl Render__6CDecalCFv -lbl_80047A64: -/* 80047A64 000449C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80047A68 000449C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80047A6C 000449CC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80047A70 000449D0 7C 08 03 A6 */ mtlr r0 -/* 80047A74 000449D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80047A78 000449D8 4E 80 00 20 */ blr - -.global RecursiveDrawTree__13CStateManagerCF9TUniqueId -RecursiveDrawTree__13CStateManagerCF9TUniqueId: -/* 80047A7C 000449DC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80047A80 000449E0 7C 08 02 A6 */ mflr r0 -/* 80047A84 000449E4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80047A88 000449E8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80047A8C 000449EC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80047A90 000449F0 7C 7E 1B 78 */ mr r30, r3 -/* 80047A94 000449F4 A0 04 00 00 */ lhz r0, 0(r4) -/* 80047A98 000449F8 38 81 00 0C */ addi r4, r1, 0xc -/* 80047A9C 000449FC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80047AA0 00044A00 48 00 4B 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80047AA4 00044A04 7C 64 1B 78 */ mr r4, r3 -/* 80047AA8 00044A08 38 61 00 14 */ addi r3, r1, 0x14 -/* 80047AAC 00044A0C 48 06 81 E5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80047AB0 00044A10 83 E3 00 04 */ lwz r31, 4(r3) -/* 80047AB4 00044A14 28 1F 00 00 */ cmplwi r31, 0 -/* 80047AB8 00044A18 41 82 00 6C */ beq lbl_80047B24 -/* 80047ABC 00044A1C 80 7E 08 DC */ lwz r3, 0x8dc(r30) -/* 80047AC0 00044A20 80 1F 00 C8 */ lwz r0, 0xc8(r31) -/* 80047AC4 00044A24 7C 03 00 40 */ cmplw r3, r0 -/* 80047AC8 00044A28 41 82 00 5C */ beq lbl_80047B24 -/* 80047ACC 00044A2C A0 9F 00 C6 */ lhz r4, 0xc6(r31) -/* 80047AD0 00044A30 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80047AD4 00044A34 54 83 04 3E */ clrlwi r3, r4, 0x10 -/* 80047AD8 00044A38 B0 81 00 10 */ sth r4, 0x10(r1) -/* 80047ADC 00044A3C 7C 03 00 40 */ cmplw r3, r0 -/* 80047AE0 00044A40 41 82 00 14 */ beq lbl_80047AF4 -/* 80047AE4 00044A44 B0 81 00 08 */ sth r4, 8(r1) -/* 80047AE8 00044A48 7F C3 F3 78 */ mr r3, r30 -/* 80047AEC 00044A4C 38 81 00 08 */ addi r4, r1, 8 -/* 80047AF0 00044A50 4B FF FF 8D */ bl RecursiveDrawTree__13CStateManagerCF9TUniqueId -lbl_80047AF4: -/* 80047AF4 00044A54 80 7E 08 DC */ lwz r3, 0x8dc(r30) -/* 80047AF8 00044A58 80 1F 00 CC */ lwz r0, 0xcc(r31) -/* 80047AFC 00044A5C 7C 03 00 40 */ cmplw r3, r0 -/* 80047B00 00044A60 40 82 00 1C */ bne lbl_80047B1C -/* 80047B04 00044A64 7F E3 FB 78 */ mr r3, r31 -/* 80047B08 00044A68 7F C4 F3 78 */ mr r4, r30 -/* 80047B0C 00044A6C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80047B10 00044A70 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80047B14 00044A74 7D 89 03 A6 */ mtctr r12 -/* 80047B18 00044A78 4E 80 04 21 */ bctrl -lbl_80047B1C: -/* 80047B1C 00044A7C 80 1E 08 DC */ lwz r0, 0x8dc(r30) -/* 80047B20 00044A80 90 1F 00 C8 */ stw r0, 0xc8(r31) -lbl_80047B24: -/* 80047B24 00044A84 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80047B28 00044A88 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80047B2C 00044A8C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80047B30 00044A90 7C 08 03 A6 */ mtlr r0 -/* 80047B34 00044A94 38 21 00 30 */ addi r1, r1, 0x30 -/* 80047B38 00044A98 4E 80 00 20 */ blr - -.global SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState -SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState: -/* 80047B3C 00044A9C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80047B40 00044AA0 7C 08 02 A6 */ mflr r0 -/* 80047B44 00044AA4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80047B48 00044AA8 BF 01 00 30 */ stmw r24, 0x30(r1) -/* 80047B4C 00044AAC 7C 9A 23 78 */ mr r26, r4 -/* 80047B50 00044AB0 7C 79 1B 78 */ mr r25, r3 -/* 80047B54 00044AB4 7C B8 2B 78 */ mr r24, r5 -/* 80047B58 00044AB8 7C DB 33 78 */ mr r27, r6 -/* 80047B5C 00044ABC A0 04 00 00 */ lhz r0, 0(r4) -/* 80047B60 00044AC0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80047B64 00044AC4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80047B68 00044AC8 48 00 4A 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80047B6C 00044ACC 83 F9 08 10 */ lwz r31, 0x810(r25) -/* 80047B70 00044AD0 7F 24 CB 78 */ mr r4, r25 -/* 80047B74 00044AD4 80 18 00 00 */ lwz r0, 0(r24) -/* 80047B78 00044AD8 38 61 00 18 */ addi r3, r1, 0x18 -/* 80047B7C 00044ADC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80047B80 00044AE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80047B84 00044AE4 48 00 04 45 */ bl GetIdListForScript__13CStateManagerCF9TEditorId -/* 80047B88 00044AE8 83 01 00 18 */ lwz r24, 0x18(r1) -/* 80047B8C 00044AEC 38 00 00 00 */ li r0, 0 -/* 80047B90 00044AF0 83 A1 00 20 */ lwz r29, 0x20(r1) -/* 80047B94 00044AF4 83 C1 00 1C */ lwz r30, 0x1c(r1) -/* 80047B98 00044AF8 7C 18 E8 40 */ cmplw r24, r29 -/* 80047B9C 00044AFC 83 81 00 24 */ lwz r28, 0x24(r1) -/* 80047BA0 00044B00 40 82 00 10 */ bne lbl_80047BB0 -/* 80047BA4 00044B04 7C 1E E0 40 */ cmplw r30, r28 -/* 80047BA8 00044B08 40 82 00 08 */ bne lbl_80047BB0 -/* 80047BAC 00044B0C 38 00 00 01 */ li r0, 1 -lbl_80047BB0: -/* 80047BB0 00044B10 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80047BB4 00044B14 40 82 00 68 */ bne lbl_80047C1C -/* 80047BB8 00044B18 48 00 00 44 */ b lbl_80047BFC -lbl_80047BBC: -/* 80047BBC 00044B1C A0 18 00 14 */ lhz r0, 0x14(r24) -/* 80047BC0 00044B20 7F E3 FB 78 */ mr r3, r31 -/* 80047BC4 00044B24 38 81 00 0C */ addi r4, r1, 0xc -/* 80047BC8 00044B28 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80047BCC 00044B2C 4B FC 82 7D */ bl GetObjectById__11CObjectListF9TUniqueId -/* 80047BD0 00044B30 A0 1A 00 00 */ lhz r0, 0(r26) -/* 80047BD4 00044B34 7C 64 1B 78 */ mr r4, r3 -/* 80047BD8 00044B38 7F 23 CB 78 */ mr r3, r25 -/* 80047BDC 00044B3C 7F 66 DB 78 */ mr r6, r27 -/* 80047BE0 00044B40 B0 01 00 08 */ sth r0, 8(r1) -/* 80047BE4 00044B44 38 A1 00 08 */ addi r5, r1, 8 -/* 80047BE8 00044B48 4B FF C2 E9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80047BEC 00044B4C 7F C3 F3 78 */ mr r3, r30 -/* 80047BF0 00044B50 7F 04 C3 78 */ mr r4, r24 -/* 80047BF4 00044B54 48 2F 49 ED */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 80047BF8 00044B58 7C 78 1B 78 */ mr r24, r3 -lbl_80047BFC: -/* 80047BFC 00044B5C 7C 18 E8 40 */ cmplw r24, r29 -/* 80047C00 00044B60 38 00 00 00 */ li r0, 0 -/* 80047C04 00044B64 40 82 00 0C */ bne lbl_80047C10 -/* 80047C08 00044B68 7C 1E E0 40 */ cmplw r30, r28 -/* 80047C0C 00044B6C 41 82 00 08 */ beq lbl_80047C14 -lbl_80047C10: -/* 80047C10 00044B70 38 00 00 01 */ li r0, 1 -lbl_80047C14: -/* 80047C14 00044B74 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80047C18 00044B78 40 82 FF A4 */ bne lbl_80047BBC -lbl_80047C1C: -/* 80047C1C 00044B7C BB 01 00 30 */ lmw r24, 0x30(r1) -/* 80047C20 00044B80 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80047C24 00044B84 7C 08 03 A6 */ mtlr r0 -/* 80047C28 00044B88 38 21 00 50 */ addi r1, r1, 0x50 -/* 80047C2C 00044B8C 4E 80 00 20 */ blr - -.global FreeScriptObjects__13CStateManagerF7TAreaId -FreeScriptObjects__13CStateManagerF7TAreaId: -/* 80047C30 00044B90 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80047C34 00044B94 7C 08 02 A6 */ mflr r0 -/* 80047C38 00044B98 90 01 00 54 */ stw r0, 0x54(r1) -/* 80047C3C 00044B9C BF 41 00 38 */ stmw r26, 0x38(r1) -/* 80047C40 00044BA0 7C 7E 1B 78 */ mr r30, r3 -/* 80047C44 00044BA4 3B 7E 08 98 */ addi r27, r30, 0x898 -/* 80047C48 00044BA8 7C 9F 23 78 */ mr r31, r4 -/* 80047C4C 00044BAC 93 61 00 2C */ stw r27, 0x2c(r1) -/* 80047C50 00044BB0 83 A3 08 98 */ lwz r29, 0x898(r3) -/* 80047C54 00044BB4 48 00 00 40 */ b lbl_80047C94 -lbl_80047C58: -/* 80047C58 00044BB8 7F BC EB 78 */ mr r28, r29 -/* 80047C5C 00044BBC 7F 63 DB 78 */ mr r3, r27 -/* 80047C60 00044BC0 7F A4 EB 78 */ mr r4, r29 -/* 80047C64 00044BC4 48 2F 49 7D */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 80047C68 00044BC8 80 9C 00 10 */ lwz r4, 0x10(r28) -/* 80047C6C 00044BCC 7C 7D 1B 78 */ mr r29, r3 -/* 80047C70 00044BD0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80047C74 00044BD4 54 83 85 BE */ rlwinm r3, r4, 0x10, 0x16, 0x1f -/* 80047C78 00044BD8 7C 03 00 00 */ cmpw r3, r0 -/* 80047C7C 00044BDC 40 82 00 18 */ bne lbl_80047C94 -/* 80047C80 00044BE0 A0 1C 00 14 */ lhz r0, 0x14(r28) -/* 80047C84 00044BE4 7F C3 F3 78 */ mr r3, r30 -/* 80047C88 00044BE8 38 81 00 10 */ addi r4, r1, 0x10 -/* 80047C8C 00044BEC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80047C90 00044BF0 48 00 45 DD */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_80047C94: -/* 80047C94 00044BF4 38 00 00 00 */ li r0, 0 -/* 80047C98 00044BF8 7C 1D 00 40 */ cmplw r29, r0 -/* 80047C9C 00044BFC 90 01 00 28 */ stw r0, 0x28(r1) -/* 80047CA0 00044C00 40 82 00 0C */ bne lbl_80047CAC -/* 80047CA4 00044C04 7C 1B D8 40 */ cmplw r27, r27 -/* 80047CA8 00044C08 41 82 00 08 */ beq lbl_80047CB0 -lbl_80047CAC: -/* 80047CAC 00044C0C 38 00 00 01 */ li r0, 1 -lbl_80047CB0: -/* 80047CB0 00044C10 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80047CB4 00044C14 40 82 FF A4 */ bne lbl_80047C58 -/* 80047CB8 00044C18 3B 5E 08 AC */ addi r26, r30, 0x8ac -/* 80047CBC 00044C1C 83 9E 08 AC */ lwz r28, 0x8ac(r30) -/* 80047CC0 00044C20 93 41 00 34 */ stw r26, 0x34(r1) -/* 80047CC4 00044C24 7F 5B D3 78 */ mr r27, r26 -/* 80047CC8 00044C28 93 41 00 1C */ stw r26, 0x1c(r1) -/* 80047CCC 00044C2C 48 00 00 6C */ b lbl_80047D38 -lbl_80047CD0: -/* 80047CD0 00044C30 7F 9D E3 78 */ mr r29, r28 -/* 80047CD4 00044C34 7F 43 D3 78 */ mr r3, r26 -/* 80047CD8 00044C38 7F 84 E3 78 */ mr r4, r28 -/* 80047CDC 00044C3C 48 2F 49 05 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 80047CE0 00044C40 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 80047CE4 00044C44 7C 7C 1B 78 */ mr r28, r3 -/* 80047CE8 00044C48 80 1F 00 00 */ lwz r0, 0(r31) -/* 80047CEC 00044C4C 54 83 85 BE */ rlwinm r3, r4, 0x10, 0x16, 0x1f -/* 80047CF0 00044C50 93 A1 00 30 */ stw r29, 0x30(r1) -/* 80047CF4 00044C54 7C 03 00 00 */ cmpw r3, r0 -/* 80047CF8 00044C58 40 82 00 40 */ bne lbl_80047D38 -/* 80047CFC 00044C5C 93 A1 00 20 */ stw r29, 0x20(r1) -/* 80047D00 00044C60 7F 43 D3 78 */ mr r3, r26 -/* 80047D04 00044C64 7F A4 EB 78 */ mr r4, r29 -/* 80047D08 00044C68 93 41 00 24 */ stw r26, 0x24(r1) -/* 80047D0C 00044C6C 48 2F 48 D5 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 80047D10 00044C70 90 61 00 20 */ stw r3, 0x20(r1) -/* 80047D14 00044C74 7F 63 DB 78 */ mr r3, r27 -/* 80047D18 00044C78 7F A4 EB 78 */ mr r4, r29 -/* 80047D1C 00044C7C 48 2F 49 61 */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 80047D20 00044C80 28 03 00 00 */ cmplwi r3, 0 -/* 80047D24 00044C84 41 82 00 08 */ beq lbl_80047D2C -/* 80047D28 00044C88 48 2C DC 09 */ bl Free__7CMemoryFPCv -lbl_80047D2C: -/* 80047D2C 00044C8C 80 7E 08 A8 */ lwz r3, 0x8a8(r30) -/* 80047D30 00044C90 38 03 FF FF */ addi r0, r3, -1 -/* 80047D34 00044C94 90 1E 08 A8 */ stw r0, 0x8a8(r30) -lbl_80047D38: -/* 80047D38 00044C98 38 00 00 00 */ li r0, 0 -/* 80047D3C 00044C9C 7C 1C 00 40 */ cmplw r28, r0 -/* 80047D40 00044CA0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80047D44 00044CA4 40 82 00 0C */ bne lbl_80047D50 -/* 80047D48 00044CA8 7C 1A D8 40 */ cmplw r26, r27 -/* 80047D4C 00044CAC 41 82 00 08 */ beq lbl_80047D54 -lbl_80047D50: -/* 80047D50 00044CB0 38 00 00 01 */ li r0, 1 -lbl_80047D54: -/* 80047D54 00044CB4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80047D58 00044CB8 40 82 FF 78 */ bne lbl_80047CD0 -/* 80047D5C 00044CBC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80047D60 00044CC0 80 9E 08 50 */ lwz r4, 0x850(r30) -/* 80047D64 00044CC4 54 03 18 38 */ slwi r3, r0, 3 -/* 80047D68 00044CC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80047D6C 00044CCC 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80047D70 00044CD0 38 03 00 04 */ addi r0, r3, 4 -/* 80047D74 00044CD4 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80047D78 00044CD8 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 80047D7C 00044CDC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80047D80 00044CE0 41 82 00 70 */ beq lbl_80047DF0 -/* 80047D84 00044CE4 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 80047D88 00044CE8 83 E3 10 C0 */ lwz r31, 0x10c0(r3) -/* 80047D8C 00044CEC AB 5F 20 08 */ lha r26, 0x2008(r31) -/* 80047D90 00044CF0 48 00 00 58 */ b lbl_80047DE8 -lbl_80047D94: -/* 80047D94 00044CF4 7F E3 FB 78 */ mr r3, r31 -/* 80047D98 00044CF8 7F 44 D3 78 */ mr r4, r26 -/* 80047D9C 00044CFC 4B FC 7F 79 */ bl __vc__11CObjectListFi -/* 80047DA0 00044D00 28 03 00 00 */ cmplwi r3, 0 -/* 80047DA4 00044D04 41 82 00 28 */ beq lbl_80047DCC -/* 80047DA8 00044D08 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80047DAC 00044D0C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80047DB0 00044D10 40 82 00 1C */ bne lbl_80047DCC -/* 80047DB4 00044D14 A0 03 00 08 */ lhz r0, 8(r3) -/* 80047DB8 00044D18 7F C3 F3 78 */ mr r3, r30 -/* 80047DBC 00044D1C 38 81 00 0C */ addi r4, r1, 0xc -/* 80047DC0 00044D20 B0 01 00 08 */ sth r0, 8(r1) -/* 80047DC4 00044D24 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80047DC8 00044D28 48 00 44 A5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_80047DCC: -/* 80047DCC 00044D2C 2C 1A FF FF */ cmpwi r26, -1 -/* 80047DD0 00044D30 41 82 00 14 */ beq lbl_80047DE4 -/* 80047DD4 00044D34 57 43 18 38 */ slwi r3, r26, 3 -/* 80047DD8 00044D38 38 03 00 08 */ addi r0, r3, 8 -/* 80047DDC 00044D3C 7F 5F 02 AE */ lhax r26, r31, r0 -/* 80047DE0 00044D40 48 00 00 08 */ b lbl_80047DE8 -lbl_80047DE4: -/* 80047DE4 00044D44 3B 40 FF FF */ li r26, -1 -lbl_80047DE8: -/* 80047DE8 00044D48 2C 1A FF FF */ cmpwi r26, -1 -/* 80047DEC 00044D4C 40 82 FF A8 */ bne lbl_80047D94 -lbl_80047DF0: -/* 80047DF0 00044D50 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 80047DF4 00044D54 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80047DF8 00044D58 7C 08 03 A6 */ mtlr r0 -/* 80047DFC 00044D5C 38 21 00 50 */ addi r1, r1, 0x50 -/* 80047E00 00044D60 4E 80 00 20 */ blr - -.global GetBuildForScript__13CStateManagerCF9TEditorId -GetBuildForScript__13CStateManagerCF9TEditorId: -/* 80047E04 00044D64 80 E4 08 B4 */ lwz r7, 0x8b4(r4) -/* 80047E08 00044D68 39 00 00 00 */ li r8, 0 -/* 80047E0C 00044D6C 48 00 00 2C */ b lbl_80047E38 -lbl_80047E10: -/* 80047E10 00044D70 80 C7 00 10 */ lwz r6, 0x10(r7) -/* 80047E14 00044D74 80 05 00 00 */ lwz r0, 0(r5) -/* 80047E18 00044D78 54 C6 01 BE */ clrlwi r6, r6, 6 -/* 80047E1C 00044D7C 54 00 01 BE */ clrlwi r0, r0, 6 -/* 80047E20 00044D80 7C 06 00 40 */ cmplw r6, r0 -/* 80047E24 00044D84 41 80 00 10 */ blt lbl_80047E34 -/* 80047E28 00044D88 7C E8 3B 78 */ mr r8, r7 -/* 80047E2C 00044D8C 80 E7 00 00 */ lwz r7, 0(r7) -/* 80047E30 00044D90 48 00 00 08 */ b lbl_80047E38 -lbl_80047E34: -/* 80047E34 00044D94 80 E7 00 04 */ lwz r7, 4(r7) -lbl_80047E38: -/* 80047E38 00044D98 28 07 00 00 */ cmplwi r7, 0 -/* 80047E3C 00044D9C 40 82 FF D4 */ bne lbl_80047E10 -/* 80047E40 00044DA0 28 08 00 00 */ cmplwi r8, 0 -/* 80047E44 00044DA4 38 C0 00 00 */ li r6, 0 -/* 80047E48 00044DA8 41 82 00 1C */ beq lbl_80047E64 -/* 80047E4C 00044DAC 80 A5 00 00 */ lwz r5, 0(r5) -/* 80047E50 00044DB0 80 08 00 10 */ lwz r0, 0x10(r8) -/* 80047E54 00044DB4 54 A5 01 BE */ clrlwi r5, r5, 6 -/* 80047E58 00044DB8 54 00 01 BE */ clrlwi r0, r0, 6 -/* 80047E5C 00044DBC 7C 05 00 40 */ cmplw r5, r0 -/* 80047E60 00044DC0 40 80 00 08 */ bge lbl_80047E68 -lbl_80047E64: -/* 80047E64 00044DC4 38 C0 00 01 */ li r6, 1 -lbl_80047E68: -/* 80047E68 00044DC8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 80047E6C 00044DCC 41 82 00 08 */ beq lbl_80047E74 -/* 80047E70 00044DD0 39 00 00 00 */ li r8, 0 -lbl_80047E74: -/* 80047E74 00044DD4 28 08 00 00 */ cmplwi r8, 0 -/* 80047E78 00044DD8 38 84 08 AC */ addi r4, r4, 0x8ac -/* 80047E7C 00044DDC 38 00 00 00 */ li r0, 0 -/* 80047E80 00044DE0 40 82 00 0C */ bne lbl_80047E8C -/* 80047E84 00044DE4 7C 04 20 40 */ cmplw r4, r4 -/* 80047E88 00044DE8 41 82 00 08 */ beq lbl_80047E90 -lbl_80047E8C: -/* 80047E8C 00044DEC 38 00 00 01 */ li r0, 1 -lbl_80047E90: -/* 80047E90 00044DF0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80047E94 00044DF4 41 82 00 18 */ beq lbl_80047EAC -/* 80047E98 00044DF8 38 08 00 14 */ addi r0, r8, 0x14 -/* 80047E9C 00044DFC 90 03 00 00 */ stw r0, 0(r3) -/* 80047EA0 00044E00 80 08 00 10 */ lwz r0, 0x10(r8) -/* 80047EA4 00044E04 90 03 00 04 */ stw r0, 4(r3) -/* 80047EA8 00044E08 4E 80 00 20 */ blr -lbl_80047EAC: -/* 80047EAC 00044E0C 38 00 00 00 */ li r0, 0 -/* 80047EB0 00044E10 90 03 00 00 */ stw r0, 0(r3) -/* 80047EB4 00044E14 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 80047EB8 00044E18 90 03 00 04 */ stw r0, 4(r3) -/* 80047EBC 00044E1C 4E 80 00 20 */ blr - -.global GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId -GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId: -/* 80047EC0 00044E20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80047EC4 00044E24 7C 08 02 A6 */ mflr r0 -/* 80047EC8 00044E28 90 01 00 24 */ stw r0, 0x24(r1) -/* 80047ECC 00044E2C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80047ED0 00044E30 7C 7F 1B 78 */ mr r31, r3 -/* 80047ED4 00044E34 A0 05 00 00 */ lhz r0, 0(r5) -/* 80047ED8 00044E38 7C 85 23 78 */ mr r5, r4 -/* 80047EDC 00044E3C 38 81 00 08 */ addi r4, r1, 8 -/* 80047EE0 00044E40 B0 01 00 08 */ sth r0, 8(r1) -/* 80047EE4 00044E44 7C A3 2B 78 */ mr r3, r5 -/* 80047EE8 00044E48 48 00 46 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80047EEC 00044E4C 28 03 00 00 */ cmplwi r3, 0 -/* 80047EF0 00044E50 41 82 00 10 */ beq lbl_80047F00 -/* 80047EF4 00044E54 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80047EF8 00044E58 90 1F 00 00 */ stw r0, 0(r31) -/* 80047EFC 00044E5C 48 00 00 0C */ b lbl_80047F08 -lbl_80047F00: -/* 80047F00 00044E60 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 80047F04 00044E64 90 1F 00 00 */ stw r0, 0(r31) -lbl_80047F08: -/* 80047F08 00044E68 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80047F0C 00044E6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80047F10 00044E70 7C 08 03 A6 */ mtlr r0 -/* 80047F14 00044E74 38 21 00 20 */ addi r1, r1, 0x20 -/* 80047F18 00044E78 4E 80 00 20 */ blr - -.global GetIdForScript__13CStateManagerCF9TEditorId -GetIdForScript__13CStateManagerCF9TEditorId: -/* 80047F1C 00044E7C 80 E4 08 A0 */ lwz r7, 0x8a0(r4) -/* 80047F20 00044E80 39 00 00 00 */ li r8, 0 -/* 80047F24 00044E84 48 00 00 2C */ b lbl_80047F50 -lbl_80047F28: -/* 80047F28 00044E88 80 C7 00 10 */ lwz r6, 0x10(r7) -/* 80047F2C 00044E8C 80 05 00 00 */ lwz r0, 0(r5) -/* 80047F30 00044E90 54 C6 01 BE */ clrlwi r6, r6, 6 -/* 80047F34 00044E94 54 00 01 BE */ clrlwi r0, r0, 6 -/* 80047F38 00044E98 7C 06 00 40 */ cmplw r6, r0 -/* 80047F3C 00044E9C 41 80 00 10 */ blt lbl_80047F4C -/* 80047F40 00044EA0 7C E8 3B 78 */ mr r8, r7 -/* 80047F44 00044EA4 80 E7 00 00 */ lwz r7, 0(r7) -/* 80047F48 00044EA8 48 00 00 08 */ b lbl_80047F50 -lbl_80047F4C: -/* 80047F4C 00044EAC 80 E7 00 04 */ lwz r7, 4(r7) -lbl_80047F50: -/* 80047F50 00044EB0 28 07 00 00 */ cmplwi r7, 0 -/* 80047F54 00044EB4 40 82 FF D4 */ bne lbl_80047F28 -/* 80047F58 00044EB8 28 08 00 00 */ cmplwi r8, 0 -/* 80047F5C 00044EBC 38 C0 00 00 */ li r6, 0 -/* 80047F60 00044EC0 41 82 00 1C */ beq lbl_80047F7C -/* 80047F64 00044EC4 80 A5 00 00 */ lwz r5, 0(r5) -/* 80047F68 00044EC8 80 08 00 10 */ lwz r0, 0x10(r8) -/* 80047F6C 00044ECC 54 A5 01 BE */ clrlwi r5, r5, 6 -/* 80047F70 00044ED0 54 00 01 BE */ clrlwi r0, r0, 6 -/* 80047F74 00044ED4 7C 05 00 40 */ cmplw r5, r0 -/* 80047F78 00044ED8 40 80 00 08 */ bge lbl_80047F80 -lbl_80047F7C: -/* 80047F7C 00044EDC 38 C0 00 01 */ li r6, 1 -lbl_80047F80: -/* 80047F80 00044EE0 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 80047F84 00044EE4 41 82 00 08 */ beq lbl_80047F8C -/* 80047F88 00044EE8 39 00 00 00 */ li r8, 0 -lbl_80047F8C: -/* 80047F8C 00044EEC 28 08 00 00 */ cmplwi r8, 0 -/* 80047F90 00044EF0 38 84 08 98 */ addi r4, r4, 0x898 -/* 80047F94 00044EF4 38 00 00 00 */ li r0, 0 -/* 80047F98 00044EF8 40 82 00 0C */ bne lbl_80047FA4 -/* 80047F9C 00044EFC 7C 04 20 40 */ cmplw r4, r4 -/* 80047FA0 00044F00 41 82 00 08 */ beq lbl_80047FA8 -lbl_80047FA4: -/* 80047FA4 00044F04 38 00 00 01 */ li r0, 1 -lbl_80047FA8: -/* 80047FA8 00044F08 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80047FAC 00044F0C 41 82 00 10 */ beq lbl_80047FBC -/* 80047FB0 00044F10 A0 08 00 14 */ lhz r0, 0x14(r8) -/* 80047FB4 00044F14 B0 03 00 00 */ sth r0, 0(r3) -/* 80047FB8 00044F18 4E 80 00 20 */ blr -lbl_80047FBC: -/* 80047FBC 00044F1C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80047FC0 00044F20 B0 03 00 00 */ sth r0, 0(r3) -/* 80047FC4 00044F24 4E 80 00 20 */ blr - -.global GetIdListForScript__13CStateManagerCF9TEditorId -GetIdListForScript__13CStateManagerCF9TEditorId: -/* 80047FC8 00044F28 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80047FCC 00044F2C 7C 08 02 A6 */ mflr r0 -/* 80047FD0 00044F30 38 84 08 90 */ addi r4, r4, 0x890 -/* 80047FD4 00044F34 90 01 00 24 */ stw r0, 0x24(r1) -/* 80047FD8 00044F38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80047FDC 00044F3C 7C 7F 1B 78 */ mr r31, r3 -/* 80047FE0 00044F40 38 61 00 08 */ addi r3, r1, 8 -/* 80047FE4 00044F44 48 00 00 39 */ bl sub_8004801c -/* 80047FE8 00044F48 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80047FEC 00044F4C 80 81 00 10 */ lwz r4, 0x10(r1) -/* 80047FF0 00044F50 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 80047FF4 00044F54 80 01 00 08 */ lwz r0, 8(r1) -/* 80047FF8 00044F58 90 1F 00 00 */ stw r0, 0(r31) -/* 80047FFC 00044F5C 90 7F 00 04 */ stw r3, 4(r31) -/* 80048000 00044F60 90 9F 00 08 */ stw r4, 8(r31) -/* 80048004 00044F64 90 BF 00 0C */ stw r5, 0xc(r31) -/* 80048008 00044F68 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004800C 00044F6C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80048010 00044F70 7C 08 03 A6 */ mtlr r0 -/* 80048014 00044F74 38 21 00 20 */ addi r1, r1, 0x20 -/* 80048018 00044F78 4E 80 00 20 */ blr - -.global sub_8004801c -sub_8004801c: -/* 8004801C 00044F7C 81 44 00 10 */ lwz r10, 0x10(r4) -/* 80048020 00044F80 38 E0 00 00 */ li r7, 0 -/* 80048024 00044F84 7D 48 53 78 */ mr r8, r10 -/* 80048028 00044F88 48 00 00 2C */ b lbl_80048054 -lbl_8004802C: -/* 8004802C 00044F8C 80 C5 00 00 */ lwz r6, 0(r5) -/* 80048030 00044F90 80 08 00 10 */ lwz r0, 0x10(r8) -/* 80048034 00044F94 54 C6 01 BE */ clrlwi r6, r6, 6 -/* 80048038 00044F98 54 00 01 BE */ clrlwi r0, r0, 6 -/* 8004803C 00044F9C 7C 06 00 40 */ cmplw r6, r0 -/* 80048040 00044FA0 40 80 00 10 */ bge lbl_80048050 -/* 80048044 00044FA4 7D 07 43 78 */ mr r7, r8 -/* 80048048 00044FA8 81 08 00 00 */ lwz r8, 0(r8) -/* 8004804C 00044FAC 48 00 00 08 */ b lbl_80048054 -lbl_80048050: -/* 80048050 00044FB0 81 08 00 04 */ lwz r8, 4(r8) -lbl_80048054: -/* 80048054 00044FB4 28 08 00 00 */ cmplwi r8, 0 -/* 80048058 00044FB8 40 82 FF D4 */ bne lbl_8004802C -/* 8004805C 00044FBC 39 24 00 08 */ addi r9, r4, 8 -/* 80048060 00044FC0 39 00 00 00 */ li r8, 0 -/* 80048064 00044FC4 48 00 00 2C */ b lbl_80048090 -lbl_80048068: -/* 80048068 00044FC8 80 CA 00 10 */ lwz r6, 0x10(r10) -/* 8004806C 00044FCC 80 05 00 00 */ lwz r0, 0(r5) -/* 80048070 00044FD0 54 C6 01 BE */ clrlwi r6, r6, 6 -/* 80048074 00044FD4 54 00 01 BE */ clrlwi r0, r0, 6 -/* 80048078 00044FD8 7C 06 00 40 */ cmplw r6, r0 -/* 8004807C 00044FDC 41 80 00 10 */ blt lbl_8004808C -/* 80048080 00044FE0 7D 48 53 78 */ mr r8, r10 -/* 80048084 00044FE4 81 4A 00 00 */ lwz r10, 0(r10) -/* 80048088 00044FE8 48 00 00 08 */ b lbl_80048090 -lbl_8004808C: -/* 8004808C 00044FEC 81 4A 00 04 */ lwz r10, 4(r10) -lbl_80048090: -/* 80048090 00044FF0 28 0A 00 00 */ cmplwi r10, 0 -/* 80048094 00044FF4 40 82 FF D4 */ bne lbl_80048068 -/* 80048098 00044FF8 91 03 00 00 */ stw r8, 0(r3) -/* 8004809C 00044FFC 38 04 00 08 */ addi r0, r4, 8 -/* 800480A0 00045000 90 03 00 04 */ stw r0, 4(r3) -/* 800480A4 00045004 90 E3 00 08 */ stw r7, 8(r3) -/* 800480A8 00045008 91 23 00 0C */ stw r9, 0xc(r3) -/* 800480AC 0004500C 4E 80 00 20 */ blr - -.global "InitScriptObjects__13CStateManagerFRCQ24rstl18vector<9TEditorId>" -"InitScriptObjects__13CStateManagerFRCQ24rstl18vector<9TEditorId>": -/* 800480B0 00045010 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800480B4 00045014 7C 08 02 A6 */ mflr r0 -/* 800480B8 00045018 90 01 00 34 */ stw r0, 0x34(r1) -/* 800480BC 0004501C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800480C0 00045020 3B E0 00 00 */ li r31, 0 -/* 800480C4 00045024 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800480C8 00045028 3B C0 00 00 */ li r30, 0 -/* 800480CC 0004502C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800480D0 00045030 7C 9D 23 78 */ mr r29, r4 -/* 800480D4 00045034 93 81 00 20 */ stw r28, 0x20(r1) -/* 800480D8 00045038 7C 7C 1B 78 */ mr r28, r3 -/* 800480DC 0004503C 48 00 00 64 */ b lbl_80048140 -lbl_800480E0: -/* 800480E0 00045040 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 800480E4 00045044 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 800480E8 00045048 7C 66 F8 2E */ lwzx r3, r6, r31 -/* 800480EC 0004504C 54 00 01 BE */ clrlwi r0, r0, 6 -/* 800480F0 00045050 54 63 01 BE */ clrlwi r3, r3, 6 -/* 800480F4 00045054 7C 03 00 40 */ cmplw r3, r0 -/* 800480F8 00045058 41 82 00 40 */ beq lbl_80048138 -/* 800480FC 0004505C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80048100 00045060 7F 84 E3 78 */ mr r4, r28 -/* 80048104 00045064 38 61 00 0C */ addi r3, r1, 0xc -/* 80048108 00045068 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8004810C 0004506C B0 01 00 08 */ sth r0, 8(r1) -/* 80048110 00045070 7C 06 F8 2E */ lwzx r0, r6, r31 -/* 80048114 00045074 90 01 00 14 */ stw r0, 0x14(r1) -/* 80048118 00045078 4B FF FE 05 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8004811C 0004507C A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80048120 00045080 7F 83 E3 78 */ mr r3, r28 -/* 80048124 00045084 38 81 00 10 */ addi r4, r1, 0x10 -/* 80048128 00045088 38 A1 00 08 */ addi r5, r1, 8 -/* 8004812C 0004508C B0 01 00 10 */ sth r0, 0x10(r1) -/* 80048130 00045090 38 C0 00 23 */ li r6, 0x23 -/* 80048134 00045094 4B FF BD 21 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId -lbl_80048138: -/* 80048138 00045098 3B FF 00 04 */ addi r31, r31, 4 -/* 8004813C 0004509C 3B DE 00 01 */ addi r30, r30, 1 -lbl_80048140: -/* 80048140 000450A0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80048144 000450A4 7C 1E 00 00 */ cmpw r30, r0 -/* 80048148 000450A8 41 80 FF 98 */ blt lbl_800480E0 -/* 8004814C 000450AC 7F 83 E3 78 */ mr r3, r28 -/* 80048150 000450B0 4B FF CF 6D */ bl MurderScriptInstanceNames__13CStateManagerFv -/* 80048154 000450B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80048158 000450B8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8004815C 000450BC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80048160 000450C0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80048164 000450C4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80048168 000450C8 7C 08 03 A6 */ mtlr r0 -/* 8004816C 000450CC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80048170 000450D0 4E 80 00 20 */ blr - -.global LoadScriptObjects__13CStateManagerF7TAreaIdR12CInputStreamQ213CStateManager18EScriptPersistence -LoadScriptObjects__13CStateManagerF7TAreaIdR12CInputStreamQ213CStateManager18EScriptPersistence: -/* 80048174 000450D4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80048178 000450D8 7C 08 02 A6 */ mflr r0 -/* 8004817C 000450DC 90 01 00 74 */ stw r0, 0x74(r1) -/* 80048180 000450E0 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 80048184 000450E4 7C BD 2B 78 */ mr r29, r5 -/* 80048188 000450E8 7C 7B 1B 78 */ mr r27, r3 -/* 8004818C 000450EC 7C 9C 23 78 */ mr r28, r4 -/* 80048190 000450F0 7C DE 33 78 */ mr r30, r6 -/* 80048194 000450F4 7F A3 EB 78 */ mr r3, r29 -/* 80048198 000450F8 48 2F 6B 75 */ bl ReadChar__12CInputStreamFv -/* 8004819C 000450FC 7F A3 EB 78 */ mr r3, r29 -/* 800481A0 00045100 48 2F 6A E5 */ bl ReadLong__12CInputStreamFv -/* 800481A4 00045104 80 1E 00 04 */ lwz r0, 4(r30) -/* 800481A8 00045108 7C 64 1B 78 */ mr r4, r3 -/* 800481AC 0004510C 7C 9F 23 78 */ mr r31, r4 -/* 800481B0 00045110 7F C3 F3 78 */ mr r3, r30 -/* 800481B4 00045114 7C 84 02 14 */ add r4, r4, r0 -/* 800481B8 00045118 48 00 81 91 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -/* 800481BC 0004511C 48 00 01 0C */ b lbl_800482C8 -lbl_800481C0: -/* 800481C0 00045120 7F A3 EB 78 */ mr r3, r29 -/* 800481C4 00045124 48 2F 6B 49 */ bl ReadChar__12CInputStreamFv -/* 800481C8 00045128 7C 7A 1B 78 */ mr r26, r3 -/* 800481CC 0004512C 7F A3 EB 78 */ mr r3, r29 -/* 800481D0 00045130 48 2F 6A B5 */ bl ReadLong__12CInputStreamFv -/* 800481D4 00045134 80 BD 00 18 */ lwz r5, 0x18(r29) -/* 800481D8 00045138 7C 67 1B 78 */ mr r7, r3 -/* 800481DC 0004513C 80 1C 00 00 */ lwz r0, 0(r28) -/* 800481E0 00045140 57 46 06 3E */ clrlwi r6, r26, 0x18 -/* 800481E4 00045144 90 A1 00 44 */ stw r5, 0x44(r1) -/* 800481E8 00045148 7F 64 DB 78 */ mr r4, r27 -/* 800481EC 0004514C 7F A8 EB 78 */ mr r8, r29 -/* 800481F0 00045150 38 61 00 1C */ addi r3, r1, 0x1c -/* 800481F4 00045154 90 C1 00 40 */ stw r6, 0x40(r1) -/* 800481F8 00045158 38 A1 00 0C */ addi r5, r1, 0xc -/* 800481FC 0004515C 90 E1 00 48 */ stw r7, 0x48(r1) -/* 80048200 00045160 90 01 00 0C */ stw r0, 0xc(r1) -/* 80048204 00045164 48 00 02 09 */ bl LoadScriptObject__13CStateManagerF7TAreaId17EScriptObjectTypeUiR12CInputStream -/* 80048208 00045168 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8004820C 0004516C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 80048210 00045170 54 83 01 BE */ clrlwi r3, r4, 6 -/* 80048214 00045174 90 81 00 10 */ stw r4, 0x10(r1) -/* 80048218 00045178 54 00 01 BE */ clrlwi r0, r0, 6 -/* 8004821C 0004517C 7C 03 00 40 */ cmplw r3, r0 -/* 80048220 00045180 41 82 00 A8 */ beq lbl_800482C8 -/* 80048224 00045184 90 81 00 08 */ stw r4, 8(r1) -/* 80048228 00045188 7F 64 DB 78 */ mr r4, r27 -/* 8004822C 0004518C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80048230 00045190 38 A1 00 08 */ addi r5, r1, 8 -/* 80048234 00045194 4B FF FB D1 */ bl GetBuildForScript__13CStateManagerCF9TEditorId -/* 80048238 00045198 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004823C 0004519C 28 00 00 00 */ cmplwi r0, 0 -/* 80048240 000451A0 40 82 00 88 */ bne lbl_800482C8 -/* 80048244 000451A4 81 01 00 10 */ lwz r8, 0x10(r1) -/* 80048248 000451A8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8004824C 000451AC 80 E1 00 40 */ lwz r7, 0x40(r1) -/* 80048250 000451B0 38 9B 08 A4 */ addi r4, r27, 0x8a4 -/* 80048254 000451B4 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 80048258 000451B8 38 C1 00 30 */ addi r6, r1, 0x30 -/* 8004825C 000451BC 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80048260 000451C0 91 01 00 30 */ stw r8, 0x30(r1) -/* 80048264 000451C4 90 E1 00 34 */ stw r7, 0x34(r1) -/* 80048268 000451C8 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8004826C 000451CC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80048270 000451D0 80 BB 08 B4 */ lwz r5, 0x8b4(r27) -/* 80048274 000451D4 48 00 7C 51 */ bl "insert_into__Q24rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>FPQ34rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl38pair<9TEditorId,19SScriptObjectStream>" -/* 80048278 000451D8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8004827C 000451DC 80 BE 00 08 */ lwz r5, 8(r30) -/* 80048280 000451E0 7C 00 28 00 */ cmpw r0, r5 -/* 80048284 000451E4 41 80 00 1C */ blt lbl_800482A0 -/* 80048288 000451E8 2C 05 00 00 */ cmpwi r5, 0 -/* 8004828C 000451EC 7F C3 F3 78 */ mr r3, r30 -/* 80048290 000451F0 38 80 00 04 */ li r4, 4 -/* 80048294 000451F4 41 82 00 08 */ beq lbl_8004829C -/* 80048298 000451F8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8004829C: -/* 8004829C 000451FC 48 00 80 AD */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -lbl_800482A0: -/* 800482A0 00045200 80 1E 00 04 */ lwz r0, 4(r30) -/* 800482A4 00045204 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800482A8 00045208 54 00 10 3A */ slwi r0, r0, 2 -/* 800482AC 0004520C 7C 63 02 15 */ add. r3, r3, r0 -/* 800482B0 00045210 41 82 00 0C */ beq lbl_800482BC -/* 800482B4 00045214 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800482B8 00045218 90 03 00 00 */ stw r0, 0(r3) -lbl_800482BC: -/* 800482BC 0004521C 80 7E 00 04 */ lwz r3, 4(r30) -/* 800482C0 00045220 38 03 00 01 */ addi r0, r3, 1 -/* 800482C4 00045224 90 1E 00 04 */ stw r0, 4(r30) -lbl_800482C8: -/* 800482C8 00045228 2C 1F 00 00 */ cmpwi r31, 0 -/* 800482CC 0004522C 3B FF FF FF */ addi r31, r31, -1 -/* 800482D0 00045230 40 82 FE F0 */ bne lbl_800481C0 -/* 800482D4 00045234 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 800482D8 00045238 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800482DC 0004523C 7C 08 03 A6 */ mtlr r0 -/* 800482E0 00045240 38 21 00 70 */ addi r1, r1, 0x70 -/* 800482E4 00045244 4E 80 00 20 */ blr - -.global GenerateObject__13CStateManagerF9TEditorId -GenerateObject__13CStateManagerF9TEditorId: -/* 800482E8 00045248 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800482EC 0004524C 7C 08 02 A6 */ mflr r0 -/* 800482F0 00045250 90 01 00 74 */ stw r0, 0x74(r1) -/* 800482F4 00045254 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800482F8 00045258 7C 9F 23 78 */ mr r31, r4 -/* 800482FC 0004525C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80048300 00045260 7C 7E 1B 78 */ mr r30, r3 -/* 80048304 00045264 38 61 00 34 */ addi r3, r1, 0x34 -/* 80048308 00045268 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8004830C 0004526C 93 81 00 60 */ stw r28, 0x60(r1) -/* 80048310 00045270 80 05 00 00 */ lwz r0, 0(r5) -/* 80048314 00045274 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80048318 00045278 90 01 00 28 */ stw r0, 0x28(r1) -/* 8004831C 0004527C 4B FF FA E9 */ bl GetBuildForScript__13CStateManagerCF9TEditorId -/* 80048320 00045280 83 81 00 34 */ lwz r28, 0x34(r1) -/* 80048324 00045284 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 80048328 00045288 28 1C 00 00 */ cmplwi r28, 0 -/* 8004832C 0004528C 80 7F 08 50 */ lwz r3, 0x850(r31) -/* 80048330 00045290 54 BD 85 BE */ rlwinm r29, r5, 0x10, 0x16, 0x1f -/* 80048334 00045294 41 82 00 A8 */ beq lbl_800483DC -/* 80048338 00045298 80 C3 00 20 */ lwz r6, 0x20(r3) -/* 8004833C 0004529C 57 A4 18 38 */ slwi r4, r29, 3 -/* 80048340 000452A0 93 A1 00 20 */ stw r29, 0x20(r1) -/* 80048344 000452A4 7C 66 22 14 */ add r3, r6, r4 -/* 80048348 000452A8 80 63 00 04 */ lwz r3, 4(r3) -/* 8004834C 000452AC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80048350 000452B0 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 80048354 000452B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80048358 000452B8 41 82 00 84 */ beq lbl_800483DC -/* 8004835C 000452BC 38 64 00 04 */ addi r3, r4, 4 -/* 80048360 000452C0 54 A0 36 BE */ srwi r0, r5, 0x1a -/* 80048364 000452C4 7C 86 18 2E */ lwzx r4, r6, r3 -/* 80048368 000452C8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8004836C 000452CC 93 A1 00 18 */ stw r29, 0x18(r1) -/* 80048370 000452D0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80048374 000452D4 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 80048378 000452D8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8004837C 000452DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80048380 000452E0 48 01 5F 6D */ bl GetLayerScriptBuffer__9CGameAreaFi -/* 80048384 000452E4 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80048388 000452E8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8004838C 000452EC 80 1C 00 04 */ lwz r0, 4(r28) -/* 80048390 000452F0 80 BC 00 08 */ lwz r5, 8(r28) -/* 80048394 000452F4 7C 84 02 14 */ add r4, r4, r0 -/* 80048398 000452F8 48 2F 6E 35 */ bl __ct__15CMemoryInStreamFPCvUl -/* 8004839C 000452FC 93 A1 00 0C */ stw r29, 0xc(r1) -/* 800483A0 00045300 7F C3 F3 78 */ mr r3, r30 -/* 800483A4 00045304 7F E4 FB 78 */ mr r4, r31 -/* 800483A8 00045308 38 A1 00 0C */ addi r5, r1, 0xc -/* 800483AC 0004530C 93 A1 00 08 */ stw r29, 8(r1) -/* 800483B0 00045310 39 01 00 3C */ addi r8, r1, 0x3c -/* 800483B4 00045314 80 DC 00 00 */ lwz r6, 0(r28) -/* 800483B8 00045318 80 FC 00 08 */ lwz r7, 8(r28) -/* 800483BC 0004531C 48 00 00 51 */ bl LoadScriptObject__13CStateManagerF7TAreaId17EScriptObjectTypeUiR12CInputStream -/* 800483C0 00045320 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 800483C4 00045324 38 61 00 3C */ addi r3, r1, 0x3c -/* 800483C8 00045328 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 800483CC 0004532C 38 80 00 00 */ li r4, 0 -/* 800483D0 00045330 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800483D4 00045334 48 2F 6C D9 */ bl __dt__12CInputStreamFv -/* 800483D8 00045338 48 00 00 14 */ b lbl_800483EC -lbl_800483DC: -/* 800483DC 0004533C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 800483E0 00045340 90 1E 00 00 */ stw r0, 0(r30) -/* 800483E4 00045344 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800483E8 00045348 B0 1E 00 04 */ sth r0, 4(r30) -lbl_800483EC: -/* 800483EC 0004534C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800483F0 00045350 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800483F4 00045354 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800483F8 00045358 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 800483FC 0004535C 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80048400 00045360 7C 08 03 A6 */ mtlr r0 -/* 80048404 00045364 38 21 00 70 */ addi r1, r1, 0x70 -/* 80048408 00045368 4E 80 00 20 */ blr - -.global LoadScriptObject__13CStateManagerF7TAreaId17EScriptObjectTypeUiR12CInputStream -LoadScriptObject__13CStateManagerF7TAreaId17EScriptObjectTypeUiR12CInputStream: -/* 8004840C 0004536C 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80048410 00045370 7C 08 02 A6 */ mflr r0 -/* 80048414 00045374 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80048418 00045378 BE A1 00 84 */ stmw r21, 0x84(r1) -/* 8004841C 0004537C 7D 1B 43 78 */ mr r27, r8 -/* 80048420 00045380 7C 77 1B 78 */ mr r23, r3 -/* 80048424 00045384 7C 98 23 78 */ mr r24, r4 -/* 80048428 00045388 7C B9 2B 78 */ mr r25, r5 -/* 8004842C 0004538C 7C DA 33 78 */ mr r26, r6 -/* 80048430 00045390 7C F5 3B 78 */ mr r21, r7 -/* 80048434 00045394 7F 63 DB 78 */ mr r3, r27 -/* 80048438 00045398 3B A0 00 00 */ li r29, 0 -/* 8004843C 0004539C 48 2F 68 49 */ bl ReadLong__12CInputStreamFv -/* 80048440 000453A0 38 00 00 00 */ li r0, 0 -/* 80048444 000453A4 90 61 00 48 */ stw r3, 0x48(r1) -/* 80048448 000453A8 7F 63 DB 78 */ mr r3, r27 -/* 8004844C 000453AC 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80048450 000453B0 90 01 00 60 */ stw r0, 0x60(r1) -/* 80048454 000453B4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80048458 000453B8 48 2F 68 2D */ bl ReadLong__12CInputStreamFv -/* 8004845C 000453BC 7C 7F 1B 78 */ mr r31, r3 -/* 80048460 000453C0 38 61 00 58 */ addi r3, r1, 0x58 -/* 80048464 000453C4 3B D5 FF F8 */ addi r30, r21, -8 -/* 80048468 000453C8 7F E4 FB 78 */ mr r4, r31 -/* 8004846C 000453CC 48 00 7F C9 */ bl "reserve__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fi" -/* 80048470 000453D0 3B 80 00 00 */ li r28, 0 -/* 80048474 000453D4 48 00 00 A0 */ b lbl_80048514 -lbl_80048478: -/* 80048478 000453D8 7F 63 DB 78 */ mr r3, r27 -/* 8004847C 000453DC 48 2F 68 09 */ bl ReadLong__12CInputStreamFv -/* 80048480 000453E0 7C 75 1B 78 */ mr r21, r3 -/* 80048484 000453E4 7F 63 DB 78 */ mr r3, r27 -/* 80048488 000453E8 48 2F 67 FD */ bl ReadLong__12CInputStreamFv -/* 8004848C 000453EC 7C 76 1B 78 */ mr r22, r3 -/* 80048490 000453F0 7F 63 DB 78 */ mr r3, r27 -/* 80048494 000453F4 48 2F 67 F1 */ bl ReadLong__12CInputStreamFv -/* 80048498 000453F8 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8004849C 000453FC 3B DE FF F4 */ addi r30, r30, -12 -/* 800484A0 00045400 80 A1 00 60 */ lwz r5, 0x60(r1) -/* 800484A4 00045404 90 61 00 44 */ stw r3, 0x44(r1) -/* 800484A8 00045408 7C 00 28 00 */ cmpw r0, r5 -/* 800484AC 0004540C 90 61 00 40 */ stw r3, 0x40(r1) -/* 800484B0 00045410 92 A1 00 4C */ stw r21, 0x4c(r1) -/* 800484B4 00045414 92 C1 00 50 */ stw r22, 0x50(r1) -/* 800484B8 00045418 90 61 00 54 */ stw r3, 0x54(r1) -/* 800484BC 0004541C 41 80 00 1C */ blt lbl_800484D8 -/* 800484C0 00045420 2C 05 00 00 */ cmpwi r5, 0 -/* 800484C4 00045424 38 61 00 58 */ addi r3, r1, 0x58 -/* 800484C8 00045428 38 80 00 04 */ li r4, 4 -/* 800484CC 0004542C 41 82 00 08 */ beq lbl_800484D4 -/* 800484D0 00045430 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800484D4: -/* 800484D4 00045434 48 00 7F 61 */ bl "reserve__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fi" -lbl_800484D8: -/* 800484D8 00045438 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 800484DC 0004543C 80 61 00 64 */ lwz r3, 0x64(r1) -/* 800484E0 00045440 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800484E4 00045444 7C 83 02 15 */ add. r4, r3, r0 -/* 800484E8 00045448 41 82 00 1C */ beq lbl_80048504 -/* 800484EC 0004544C 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 800484F0 00045450 80 61 00 50 */ lwz r3, 0x50(r1) -/* 800484F4 00045454 90 04 00 00 */ stw r0, 0(r4) -/* 800484F8 00045458 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800484FC 0004545C 90 64 00 04 */ stw r3, 4(r4) -/* 80048500 00045460 90 04 00 08 */ stw r0, 8(r4) -lbl_80048504: -/* 80048504 00045464 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 80048508 00045468 3B 9C 00 01 */ addi r28, r28, 1 -/* 8004850C 0004546C 38 03 00 01 */ addi r0, r3, 1 -/* 80048510 00045470 90 01 00 5C */ stw r0, 0x5c(r1) -lbl_80048514: -/* 80048514 00045474 7C 1C F8 00 */ cmpw r28, r31 -/* 80048518 00045478 41 80 FF 60 */ blt lbl_80048478 -/* 8004851C 0004547C 7F 63 DB 78 */ mr r3, r27 -/* 80048520 00045480 48 2F 67 65 */ bl ReadLong__12CInputStreamFv -/* 80048524 00045484 2C 1A 00 8B */ cmpwi r26, 0x8b -/* 80048528 00045488 83 FB 00 18 */ lwz r31, 0x18(r27) -/* 8004852C 0004548C 7C 75 1B 78 */ mr r21, r3 -/* 80048530 00045490 3B 80 00 00 */ li r28, 0 -/* 80048534 00045494 3A C0 00 00 */ li r22, 0 -/* 80048538 00045498 3B DE FF FC */ addi r30, r30, -4 -/* 8004853C 0004549C 41 81 00 18 */ bgt lbl_80048554 -/* 80048540 000454A0 2C 1A 00 00 */ cmpwi r26, 0 -/* 80048544 000454A4 41 80 00 10 */ blt lbl_80048554 -/* 80048548 000454A8 57 40 10 3A */ slwi r0, r26, 2 -/* 8004854C 000454AC 7C 78 02 14 */ add r3, r24, r0 -/* 80048550 000454B0 82 C3 09 0C */ lwz r22, 0x90c(r3) -lbl_80048554: -/* 80048554 000454B4 28 16 00 00 */ cmplwi r22, 0 -/* 80048558 000454B8 41 82 00 90 */ beq lbl_800485E8 -/* 8004855C 000454BC 80 A1 00 48 */ lwz r5, 0x48(r1) -/* 80048560 000454C0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80048564 000454C4 80 19 00 00 */ lwz r0, 0(r25) -/* 80048568 000454C8 38 81 00 3C */ addi r4, r1, 0x3c -/* 8004856C 000454CC 90 A1 00 38 */ stw r5, 0x38(r1) -/* 80048570 000454D0 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80048574 000454D4 38 C1 00 38 */ addi r6, r1, 0x38 -/* 80048578 000454D8 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8004857C 000454DC 48 00 8F 09 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 80048580 000454E0 7E CC B3 78 */ mr r12, r22 -/* 80048584 000454E4 7F 03 C3 78 */ mr r3, r24 -/* 80048588 000454E8 7F 64 DB 78 */ mr r4, r27 -/* 8004858C 000454EC 7E A5 AB 78 */ mr r5, r21 -/* 80048590 000454F0 38 C1 00 68 */ addi r6, r1, 0x68 -/* 80048594 000454F4 7D 89 03 A6 */ mtctr r12 -/* 80048598 000454F8 4E 80 04 21 */ bctrl -/* 8004859C 000454FC 80 01 00 70 */ lwz r0, 0x70(r1) -/* 800485A0 00045500 7C 7C 1B 78 */ mr r28, r3 -/* 800485A4 00045504 80 81 00 78 */ lwz r4, 0x78(r1) -/* 800485A8 00045508 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800485AC 0004550C 90 81 00 0C */ stw r4, 0xc(r1) -/* 800485B0 00045510 7C 83 23 78 */ mr r3, r4 -/* 800485B4 00045514 7C 04 02 14 */ add r0, r4, r0 -/* 800485B8 00045518 90 81 00 08 */ stw r4, 8(r1) -/* 800485BC 0004551C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800485C0 00045520 90 01 00 10 */ stw r0, 0x10(r1) -/* 800485C4 00045524 48 00 00 08 */ b lbl_800485CC -lbl_800485C8: -/* 800485C8 00045528 38 63 00 0C */ addi r3, r3, 0xc -lbl_800485CC: -/* 800485CC 0004552C 7C 03 00 40 */ cmplw r3, r0 -/* 800485D0 00045530 40 82 FF F8 */ bne lbl_800485C8 -/* 800485D4 00045534 28 04 00 00 */ cmplwi r4, 0 -/* 800485D8 00045538 41 82 00 14 */ beq lbl_800485EC -/* 800485DC 0004553C 7C 83 23 78 */ mr r3, r4 -/* 800485E0 00045540 48 2C D3 51 */ bl Free__7CMemoryFPCv -/* 800485E4 00045544 48 00 00 08 */ b lbl_800485EC -lbl_800485E8: -/* 800485E8 00045548 3B A0 00 01 */ li r29, 1 -lbl_800485EC: -/* 800485EC 0004554C 28 1C 00 00 */ cmplwi r28, 0 -/* 800485F0 00045550 41 82 00 14 */ beq lbl_80048604 -/* 800485F4 00045554 7F 03 C3 78 */ mr r3, r24 -/* 800485F8 00045558 7F 84 E3 78 */ mr r4, r28 -/* 800485FC 0004555C 48 00 45 19 */ bl AddObject__13CStateManagerFR7CEntity -/* 80048600 00045560 48 00 00 08 */ b lbl_80048608 -lbl_80048604: -/* 80048604 00045564 3B A0 00 01 */ li r29, 1 -lbl_80048608: -/* 80048608 00045568 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8004860C 0004556C 7C 1F 00 50 */ subf r0, r31, r0 -/* 80048610 00045570 7F C0 F0 51 */ subf. r30, r0, r30 -/* 80048614 00045574 41 82 00 1C */ beq lbl_80048630 -/* 80048618 00045578 48 00 00 0C */ b lbl_80048624 -lbl_8004861C: -/* 8004861C 0004557C 7F 63 DB 78 */ mr r3, r27 -/* 80048620 00045580 48 2F 66 ED */ bl ReadChar__12CInputStreamFv -lbl_80048624: -/* 80048624 00045584 28 1E 00 00 */ cmplwi r30, 0 -/* 80048628 00045588 3B DE FF FF */ addi r30, r30, -1 -/* 8004862C 0004558C 40 82 FF F0 */ bne lbl_8004861C -lbl_80048630: -/* 80048630 00045590 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80048634 00045594 40 82 00 0C */ bne lbl_80048640 -/* 80048638 00045598 28 1C 00 00 */ cmplwi r28, 0 -/* 8004863C 0004559C 40 82 00 58 */ bne lbl_80048694 -lbl_80048640: -/* 80048640 000455A0 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 80048644 000455A4 90 17 00 00 */ stw r0, 0(r23) -/* 80048648 000455A8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004864C 000455AC B0 17 00 04 */ sth r0, 4(r23) -/* 80048650 000455B0 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80048654 000455B4 80 61 00 64 */ lwz r3, 0x64(r1) -/* 80048658 000455B8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8004865C 000455BC 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80048660 000455C0 7C 64 1B 78 */ mr r4, r3 -/* 80048664 000455C4 7C 03 02 14 */ add r0, r3, r0 -/* 80048668 000455C8 90 61 00 28 */ stw r3, 0x28(r1) -/* 8004866C 000455CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80048670 000455D0 90 01 00 30 */ stw r0, 0x30(r1) -/* 80048674 000455D4 48 00 00 08 */ b lbl_8004867C -lbl_80048678: -/* 80048678 000455D8 38 84 00 0C */ addi r4, r4, 0xc -lbl_8004867C: -/* 8004867C 000455DC 7C 04 00 40 */ cmplw r4, r0 -/* 80048680 000455E0 40 82 FF F8 */ bne lbl_80048678 -/* 80048684 000455E4 28 03 00 00 */ cmplwi r3, 0 -/* 80048688 000455E8 41 82 00 5C */ beq lbl_800486E4 -/* 8004868C 000455EC 48 2C D2 A5 */ bl Free__7CMemoryFPCv -/* 80048690 000455F0 48 00 00 54 */ b lbl_800486E4 -lbl_80048694: -/* 80048694 000455F4 A0 7C 00 08 */ lhz r3, 8(r28) -/* 80048698 000455F8 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8004869C 000455FC 90 17 00 00 */ stw r0, 0(r23) -/* 800486A0 00045600 B0 77 00 04 */ sth r3, 4(r23) -/* 800486A4 00045604 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 800486A8 00045608 80 61 00 64 */ lwz r3, 0x64(r1) -/* 800486AC 0004560C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800486B0 00045610 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800486B4 00045614 7C 64 1B 78 */ mr r4, r3 -/* 800486B8 00045618 7C 03 02 14 */ add r0, r3, r0 -/* 800486BC 0004561C 90 61 00 18 */ stw r3, 0x18(r1) -/* 800486C0 00045620 90 01 00 24 */ stw r0, 0x24(r1) -/* 800486C4 00045624 90 01 00 20 */ stw r0, 0x20(r1) -/* 800486C8 00045628 48 00 00 08 */ b lbl_800486D0 -lbl_800486CC: -/* 800486CC 0004562C 38 84 00 0C */ addi r4, r4, 0xc -lbl_800486D0: -/* 800486D0 00045630 7C 04 00 40 */ cmplw r4, r0 -/* 800486D4 00045634 40 82 FF F8 */ bne lbl_800486CC -/* 800486D8 00045638 28 03 00 00 */ cmplwi r3, 0 -/* 800486DC 0004563C 41 82 00 08 */ beq lbl_800486E4 -/* 800486E0 00045640 48 2C D2 51 */ bl Free__7CMemoryFPCv -lbl_800486E4: -/* 800486E4 00045644 BA A1 00 84 */ lmw r21, 0x84(r1) -/* 800486E8 00045648 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 800486EC 0004564C 7C 08 03 A6 */ mtlr r0 -/* 800486F0 00045650 38 21 00 B0 */ addi r1, r1, 0xb0 - -.global sub_800486f4 -sub_800486f4: -/* 800486F4 00045654 4E 80 00 20 */ blr - -.global "__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv" -"__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv": -/* 800486F8 00045658 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800486FC 0004565C 7C 08 02 A6 */ mflr r0 -/* 80048700 00045660 90 01 00 24 */ stw r0, 0x24(r1) -/* 80048704 00045664 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80048708 00045668 7C 9F 23 78 */ mr r31, r4 -/* 8004870C 0004566C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80048710 00045670 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80048714 00045674 41 82 00 54 */ beq lbl_80048768 -/* 80048718 00045678 80 1E 00 04 */ lwz r0, 4(r30) -/* 8004871C 0004567C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80048720 00045680 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80048724 00045684 90 61 00 10 */ stw r3, 0x10(r1) -/* 80048728 00045688 7C 64 1B 78 */ mr r4, r3 -/* 8004872C 0004568C 7C 03 02 14 */ add r0, r3, r0 -/* 80048730 00045690 90 61 00 14 */ stw r3, 0x14(r1) -/* 80048734 00045694 90 01 00 08 */ stw r0, 8(r1) -/* 80048738 00045698 90 01 00 0C */ stw r0, 0xc(r1) -/* 8004873C 0004569C 48 00 00 08 */ b lbl_80048744 -lbl_80048740: -/* 80048740 000456A0 38 84 00 0C */ addi r4, r4, 0xc -lbl_80048744: -/* 80048744 000456A4 7C 04 00 40 */ cmplw r4, r0 -/* 80048748 000456A8 40 82 FF F8 */ bne lbl_80048740 -/* 8004874C 000456AC 28 03 00 00 */ cmplwi r3, 0 -/* 80048750 000456B0 41 82 00 08 */ beq lbl_80048758 -/* 80048754 000456B4 48 2C D1 DD */ bl Free__7CMemoryFPCv -lbl_80048758: -/* 80048758 000456B8 7F E0 07 35 */ extsh. r0, r31 -/* 8004875C 000456BC 40 81 00 0C */ ble lbl_80048768 -/* 80048760 000456C0 7F C3 F3 78 */ mr r3, r30 -/* 80048764 000456C4 48 2C D1 CD */ bl Free__7CMemoryFPCv -lbl_80048768: -/* 80048768 000456C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004876C 000456CC 7F C3 F3 78 */ mr r3, r30 -/* 80048770 000456D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80048774 000456D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80048778 000456D8 7C 08 03 A6 */ mtlr r0 -/* 8004877C 000456DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80048780 000456E0 4E 80 00 20 */ blr - -.global InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType -InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType: -/* 80048784 000456E4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80048788 000456E8 7C 08 02 A6 */ mflr r0 -/* 8004878C 000456EC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80048790 000456F0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80048794 000456F4 7C 7B 1B 78 */ mr r27, r3 -/* 80048798 000456F8 7C 9C 23 78 */ mr r28, r4 -/* 8004879C 000456FC 7C BD 2B 78 */ mr r29, r5 -/* 800487A0 00045700 83 E3 08 38 */ lwz r31, 0x838(r3) -/* 800487A4 00045704 AB DF 20 08 */ lha r30, 0x2008(r31) -/* 800487A8 00045708 48 00 00 AC */ b lbl_80048854 -lbl_800487AC: -/* 800487AC 0004570C 7F E3 FB 78 */ mr r3, r31 -/* 800487B0 00045710 7F C4 F3 78 */ mr r4, r30 -/* 800487B4 00045714 4B FC 75 61 */ bl __vc__11CObjectListFi -/* 800487B8 00045718 7C 64 1B 78 */ mr r4, r3 -/* 800487BC 0004571C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800487C0 00045720 48 06 42 9D */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 800487C4 00045724 80 63 00 04 */ lwz r3, 4(r3) -/* 800487C8 00045728 28 03 00 00 */ cmplwi r3, 0 -/* 800487CC 0004572C 41 82 00 6C */ beq lbl_80048838 -/* 800487D0 00045730 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800487D4 00045734 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800487D8 00045738 41 82 00 60 */ beq lbl_80048838 -/* 800487DC 0004573C 80 C3 00 04 */ lwz r6, 4(r3) -/* 800487E0 00045740 80 BB 08 50 */ lwz r5, 0x850(r27) -/* 800487E4 00045744 54 C4 18 38 */ slwi r4, r6, 3 -/* 800487E8 00045748 90 C1 00 08 */ stw r6, 8(r1) -/* 800487EC 0004574C 80 A5 00 20 */ lwz r5, 0x20(r5) -/* 800487F0 00045750 38 04 00 04 */ addi r0, r4, 4 -/* 800487F4 00045754 90 C1 00 0C */ stw r6, 0xc(r1) -/* 800487F8 00045758 7C 85 00 2E */ lwzx r4, r5, r0 -/* 800487FC 0004575C 88 04 00 F0 */ lbz r0, 0xf0(r4) -/* 80048800 00045760 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80048804 00045764 41 82 00 10 */ beq lbl_80048814 -/* 80048808 00045768 80 84 01 2C */ lwz r4, 0x12c(r4) -/* 8004880C 0004576C 80 04 10 DC */ lwz r0, 0x10dc(r4) -/* 80048810 00045770 48 00 00 08 */ b lbl_80048818 -lbl_80048814: -/* 80048814 00045774 38 00 00 00 */ li r0, 0 -lbl_80048818: -/* 80048818 00045778 2C 00 00 00 */ cmpwi r0, 0 -/* 8004881C 0004577C 41 82 00 1C */ beq lbl_80048838 -/* 80048820 00045780 81 83 00 00 */ lwz r12, 0(r3) -/* 80048824 00045784 7F 84 E3 78 */ mr r4, r28 -/* 80048828 00045788 7F A5 EB 78 */ mr r5, r29 -/* 8004882C 0004578C 81 8C 00 9C */ lwz r12, 0x9c(r12) -/* 80048830 00045790 7D 89 03 A6 */ mtctr r12 -/* 80048834 00045794 4E 80 04 21 */ bctrl -lbl_80048838: -/* 80048838 00045798 2C 1E FF FF */ cmpwi r30, -1 -/* 8004883C 0004579C 41 82 00 14 */ beq lbl_80048850 -/* 80048840 000457A0 57 C3 18 38 */ slwi r3, r30, 3 -/* 80048844 000457A4 38 03 00 08 */ addi r0, r3, 8 -/* 80048848 000457A8 7F DF 02 AE */ lhax r30, r31, r0 -/* 8004884C 000457AC 48 00 00 08 */ b lbl_80048854 -lbl_80048850: -/* 80048850 000457B0 3B C0 FF FF */ li r30, -1 -lbl_80048854: -/* 80048854 000457B4 2C 1E FF FF */ cmpwi r30, -1 -/* 80048858 000457B8 40 82 FF 54 */ bne lbl_800487AC -/* 8004885C 000457BC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80048860 000457C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80048864 000457C4 7C 08 03 A6 */ mtlr r0 -/* 80048868 000457C8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8004886C 000457CC 4E 80 00 20 */ blr - -.global Listen__3CAiFRC9CVector3f16EListenNoiseType -Listen__3CAiFRC9CVector3f16EListenNoiseType: -/* 80048870 000457D0 38 60 00 00 */ li r3, 0 -/* 80048874 000457D4 4E 80 00 20 */ blr - -.global KnockBackPlayer__13CStateManagerFR7CPlayerRC9CVector3fff -KnockBackPlayer__13CStateManagerFR7CPlayerRC9CVector3fff: -/* 80048878 000457D8 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8004887C 000457DC 7C 08 02 A6 */ mflr r0 -/* 80048880 000457E0 90 01 00 84 */ stw r0, 0x84(r1) -/* 80048884 000457E4 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80048888 000457E8 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8004888C 000457EC DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80048890 000457F0 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80048894 000457F4 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80048898 000457F8 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8004889C 000457FC 7C 9E 23 78 */ mr r30, r4 -/* 800488A0 00045800 38 80 00 00 */ li r4, 0 -/* 800488A4 00045804 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 800488A8 00045808 38 00 08 00 */ li r0, 0x800 -/* 800488AC 0004580C 80 DE 00 68 */ lwz r6, 0x68(r30) -/* 800488B0 00045810 7C BF 2B 78 */ mr r31, r5 -/* 800488B4 00045814 7C 63 20 38 */ and r3, r3, r4 -/* 800488B8 00045818 7C C0 00 38 */ and r0, r6, r0 -/* 800488BC 0004581C 7C 63 22 78 */ xor r3, r3, r4 -/* 800488C0 00045820 7C 00 22 78 */ xor r0, r0, r4 -/* 800488C4 00045824 7C 60 03 79 */ or. r0, r3, r0 -/* 800488C8 00045828 40 82 01 A8 */ bne lbl_80048A70 -/* 800488CC 0004582C 80 7E 02 F8 */ lwz r3, 0x2f8(r30) -/* 800488D0 00045830 2C 03 00 01 */ cmpwi r3, 1 -/* 800488D4 00045834 41 82 00 44 */ beq lbl_80048918 -/* 800488D8 00045838 C0 02 85 E0 */ lfs f0, lbl_805AA300@sda21(r2) -/* 800488DC 0004583C 80 1E 02 B0 */ lwz r0, 0x2b0(r30) -/* 800488E0 00045840 EF E1 00 32 */ fmuls f31, f1, f0 -/* 800488E4 00045844 2C 00 00 02 */ cmpwi r0, 2 -/* 800488E8 00045848 40 82 00 0C */ bne lbl_800488F4 -/* 800488EC 0004584C 80 1E 02 AC */ lwz r0, 0x2ac(r30) -/* 800488F0 00045850 48 00 00 08 */ b lbl_800488F8 -lbl_800488F4: -/* 800488F4 00045854 38 00 00 04 */ li r0, 4 -lbl_800488F8: -/* 800488F8 00045858 2C 00 00 00 */ cmpwi r0, 0 -/* 800488FC 0004585C 41 82 00 24 */ beq lbl_80048920 -/* 80048900 00045860 80 1E 03 04 */ lwz r0, 0x304(r30) -/* 80048904 00045864 2C 00 00 00 */ cmpwi r0, 0 -/* 80048908 00045868 40 82 00 18 */ bne lbl_80048920 -/* 8004890C 0004586C C0 02 85 B0 */ lfs f0, lbl_805AA2D0@sda21(r2) -/* 80048910 00045870 EF FF 00 24 */ fdivs f31, f31, f0 -/* 80048914 00045874 48 00 00 0C */ b lbl_80048920 -lbl_80048918: -/* 80048918 00045878 C0 02 85 E4 */ lfs f0, lbl_805AA304@sda21(r2) -/* 8004891C 0004587C EF E1 00 32 */ fmuls f31, f1, f0 -lbl_80048920: -/* 80048920 00045880 2C 03 00 01 */ cmpwi r3, 1 -/* 80048924 00045884 40 82 00 0C */ bne lbl_80048930 -/* 80048928 00045888 C0 02 85 E8 */ lfs f0, lbl_805AA308@sda21(r2) -/* 8004892C 0004588C 48 00 00 08 */ b lbl_80048934 -lbl_80048930: -/* 80048930 00045890 C0 02 85 EC */ lfs f0, lbl_805AA30C@sda21(r2) -lbl_80048934: -/* 80048934 00045894 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80048938 00045898 38 7E 01 38 */ addi r3, r30, 0x138 -/* 8004893C 0004589C 48 2C BF 7D */ bl Magnitude__9CVector3fCFv -/* 80048940 000458A0 FC 00 08 18 */ frsp f0, f1 -/* 80048944 000458A4 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80048948 000458A8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8004894C 000458AC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80048950 000458B0 40 80 00 0C */ bge lbl_8004895C -/* 80048954 000458B4 38 A1 00 08 */ addi r5, r1, 8 -/* 80048958 000458B8 48 00 00 08 */ b lbl_80048960 -lbl_8004895C: -/* 8004895C 000458BC 38 A1 00 0C */ addi r5, r1, 0xc -lbl_80048960: -/* 80048960 000458C0 C0 5E 01 40 */ lfs f2, 0x140(r30) -/* 80048964 000458C4 7F E3 FB 78 */ mr r3, r31 -/* 80048968 000458C8 C0 3E 01 3C */ lfs f1, 0x13c(r30) -/* 8004896C 000458CC 38 81 00 34 */ addi r4, r1, 0x34 -/* 80048970 000458D0 C0 1E 01 38 */ lfs f0, 0x138(r30) -/* 80048974 000458D4 FC 40 10 50 */ fneg f2, f2 -/* 80048978 000458D8 C3 C5 00 00 */ lfs f30, 0(r5) -/* 8004897C 000458DC FC 20 08 50 */ fneg f1, f1 -/* 80048980 000458E0 FC 00 00 50 */ fneg f0, f0 -/* 80048984 000458E4 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80048988 000458E8 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8004898C 000458EC D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80048990 000458F0 48 2C BC A1 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -/* 80048994 000458F4 C0 42 85 7C */ lfs f2, lbl_805AA29C@sda21(r2) -/* 80048998 000458F8 C0 02 85 F0 */ lfs f0, lbl_805AA310@sda21(r2) -/* 8004899C 000458FC EC 62 00 72 */ fmuls f3, f2, f1 -/* 800489A0 00045900 C0 82 85 64 */ lfs f4, lbl_805AA284@sda21(r2) -/* 800489A4 00045904 C0 5F 00 04 */ lfs f2, 4(r31) -/* 800489A8 00045908 C0 3F 00 08 */ lfs f1, 8(r31) -/* 800489AC 0004590C EC 63 00 24 */ fdivs f3, f3, f0 -/* 800489B0 00045910 C0 1F 00 00 */ lfs f0, 0(r31) -/* 800489B4 00045914 EC 64 18 28 */ fsubs f3, f4, f3 -/* 800489B8 00045918 EF FF 00 F2 */ fmuls f31, f31, f3 -/* 800489BC 0004591C EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 800489C0 00045920 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 800489C4 00045924 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800489C8 00045928 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 800489CC 0004592C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800489D0 00045930 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800489D4 00045934 4B FD 2B 61 */ bl Identity__10CAxisAngleFv -/* 800489D8 00045938 7C 65 1B 78 */ mr r5, r3 -/* 800489DC 0004593C 7F C3 F3 78 */ mr r3, r30 -/* 800489E0 00045940 38 81 00 28 */ addi r4, r1, 0x28 -/* 800489E4 00045944 48 0D 39 B5 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800489E8 00045948 7F C3 F3 78 */ mr r3, r30 -/* 800489EC 0004594C 48 0D 27 91 */ bl UseCollisionImpulses__13CPhysicsActorFv -/* 800489F0 00045950 C0 02 85 70 */ lfs f0, lbl_805AA290@sda21(r2) -/* 800489F4 00045954 38 61 00 40 */ addi r3, r1, 0x40 -/* 800489F8 00045958 D0 1E 02 D4 */ stfs f0, 0x2d4(r30) -/* 800489FC 0004595C C0 1E 01 38 */ lfs f0, 0x138(r30) -/* 80048A00 00045960 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80048A04 00045964 C0 1E 01 3C */ lfs f0, 0x13c(r30) -/* 80048A08 00045968 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80048A0C 0004596C C0 1E 01 40 */ lfs f0, 0x140(r30) -/* 80048A10 00045970 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80048A14 00045974 48 2C BE A5 */ bl Magnitude__9CVector3fCFv -/* 80048A18 00045978 FC 01 F0 40 */ fcmpo cr0, f1, f30 -/* 80048A1C 0004597C 40 81 00 54 */ ble lbl_80048A70 -/* 80048A20 00045980 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 80048A24 00045984 7F C3 F3 78 */ mr r3, r30 -/* 80048A28 00045988 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80048A2C 0004598C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80048A30 00045990 EC 80 08 24 */ fdivs f4, f0, f1 -/* 80048A34 00045994 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80048A38 00045998 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80048A3C 0004599C EC 64 00 B2 */ fmuls f3, f4, f2 -/* 80048A40 000459A0 EC 44 00 72 */ fmuls f2, f4, f1 -/* 80048A44 000459A4 EC 24 00 32 */ fmuls f1, f4, f0 -/* 80048A48 000459A8 EC 9E 00 F2 */ fmuls f4, f30, f3 -/* 80048A4C 000459AC D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80048A50 000459B0 EC 7E 00 B2 */ fmuls f3, f30, f2 -/* 80048A54 000459B4 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 80048A58 000459B8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80048A5C 000459BC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80048A60 000459C0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80048A64 000459C4 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 80048A68 000459C8 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80048A6C 000459CC 48 0D 22 35 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_80048A70: -/* 80048A70 000459D0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80048A74 000459D4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80048A78 000459D8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80048A7C 000459DC CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80048A80 000459E0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80048A84 000459E4 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80048A88 000459E8 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80048A8C 000459EC 7C 08 03 A6 */ mtlr r0 -/* 80048A90 000459F0 38 21 00 80 */ addi r1, r1, 0x80 -/* 80048A94 000459F4 4E 80 00 20 */ blr - -.global ApplyKnockBack__13CStateManagerFR6CActorRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ff -ApplyKnockBack__13CStateManagerFR6CActorRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ff: -/* 80048A98 000459F8 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80048A9C 000459FC 7C 08 02 A6 */ mflr r0 -/* 80048AA0 00045A00 90 01 00 84 */ stw r0, 0x84(r1) -/* 80048AA4 00045A04 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80048AA8 00045A08 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80048AAC 00045A0C DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80048AB0 00045A10 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80048AB4 00045A14 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80048AB8 00045A18 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80048ABC 00045A1C BF 41 00 38 */ stmw r26, 0x38(r1) -/* 80048AC0 00045A20 FF A0 08 90 */ fmr f29, f1 -/* 80048AC4 00045A24 7C BC 2B 78 */ mr r28, r5 -/* 80048AC8 00045A28 7C 7A 1B 78 */ mr r26, r3 -/* 80048ACC 00045A2C 7C 9B 23 78 */ mr r27, r4 -/* 80048AD0 00045A30 7C FD 3B 78 */ mr r29, r7 -/* 80048AD4 00045A34 7C C3 33 78 */ mr r3, r6 -/* 80048AD8 00045A38 7F 84 E3 78 */ mr r4, r28 -/* 80048ADC 00045A3C 38 A0 00 00 */ li r5, 0 -/* 80048AE0 00045A40 48 0B 99 DD */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode -/* 80048AE4 00045A44 2C 03 00 02 */ cmpwi r3, 2 -/* 80048AE8 00045A48 41 82 01 98 */ beq lbl_80048C80 -/* 80048AEC 00045A4C 7F 63 DB 78 */ mr r3, r27 -/* 80048AF0 00045A50 7F 44 D3 78 */ mr r4, r26 -/* 80048AF4 00045A54 81 9B 00 00 */ lwz r12, 0(r27) -/* 80048AF8 00045A58 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80048AFC 00045A5C 7D 89 03 A6 */ mtctr r12 -/* 80048B00 00045A60 4E 80 04 21 */ bctrl -/* 80048B04 00045A64 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80048B08 00045A68 41 82 01 78 */ beq lbl_80048C80 -/* 80048B0C 00045A6C C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) -/* 80048B10 00045A70 7F 64 DB 78 */ mr r4, r27 -/* 80048B14 00045A74 C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 80048B18 00045A78 38 61 00 18 */ addi r3, r1, 0x18 -/* 80048B1C 00045A7C EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80048B20 00045A80 C3 FF 00 04 */ lfs f31, 4(r31) -/* 80048B24 00045A84 EF C1 00 32 */ fmuls f30, f1, f0 -/* 80048B28 00045A88 48 06 38 D9 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -/* 80048B2C 00045A8C 83 C3 00 04 */ lwz r30, 4(r3) -/* 80048B30 00045A90 7F 64 DB 78 */ mr r4, r27 -/* 80048B34 00045A94 38 61 00 10 */ addi r3, r1, 0x10 -/* 80048B38 00045A98 48 06 3F 91 */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity" -/* 80048B3C 00045A9C 28 1E 00 00 */ cmplwi r30, 0 -/* 80048B40 00045AA0 80 63 00 04 */ lwz r3, 4(r3) -/* 80048B44 00045AA4 41 82 00 20 */ beq lbl_80048B64 -/* 80048B48 00045AA8 FC 20 F0 90 */ fmr f1, f30 -/* 80048B4C 00045AAC 7F 43 D3 78 */ mr r3, r26 -/* 80048B50 00045AB0 FC 40 F8 90 */ fmr f2, f31 -/* 80048B54 00045AB4 7F C4 F3 78 */ mr r4, r30 -/* 80048B58 00045AB8 7F A5 EB 78 */ mr r5, r29 -/* 80048B5C 00045ABC 4B FF FD 1D */ bl KnockBackPlayer__13CStateManagerFR7CPlayerRC9CVector3fff -/* 80048B60 00045AC0 48 00 01 20 */ b lbl_80048C80 -lbl_80048B64: -/* 80048B64 00045AC4 28 03 00 00 */ cmplwi r3, 0 -/* 80048B68 00045AC8 40 82 00 DC */ bne lbl_80048C44 -/* 80048B6C 00045ACC C0 3F 00 00 */ lfs f1, 0(r31) -/* 80048B70 00045AD0 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80048B74 00045AD4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80048B78 00045AD8 4C 40 13 82 */ cror 2, 0, 2 -/* 80048B7C 00045ADC 40 82 00 C8 */ bne lbl_80048C44 -/* 80048B80 00045AE0 FC 1E F8 40 */ fcmpo cr0, f30, f31 -/* 80048B84 00045AE4 40 81 00 FC */ ble lbl_80048C80 -/* 80048B88 00045AE8 7F 64 DB 78 */ mr r4, r27 -/* 80048B8C 00045AEC 38 61 00 08 */ addi r3, r1, 8 -/* 80048B90 00045AF0 48 06 3B C1 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" -/* 80048B94 00045AF4 83 E3 00 04 */ lwz r31, 4(r3) -/* 80048B98 00045AF8 28 1F 00 00 */ cmplwi r31, 0 -/* 80048B9C 00045AFC 41 82 00 E4 */ beq lbl_80048C80 -/* 80048BA0 00045B00 EC 3E F8 28 */ fsubs f1, f30, f31 -/* 80048BA4 00045B04 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 80048BA8 00045B08 C0 82 85 F4 */ lfs f4, lbl_805AA314@sda21(r2) -/* 80048BAC 00045B0C 38 80 00 00 */ li r4, 0 -/* 80048BB0 00045B10 C0 5D 00 04 */ lfs f2, 4(r29) -/* 80048BB4 00045B14 38 00 08 00 */ li r0, 0x800 -/* 80048BB8 00045B18 EC 61 00 32 */ fmuls f3, f1, f0 -/* 80048BBC 00045B1C C0 3D 00 08 */ lfs f1, 8(r29) -/* 80048BC0 00045B20 C0 1D 00 00 */ lfs f0, 0(r29) -/* 80048BC4 00045B24 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80048BC8 00045B28 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80048BCC 00045B2C EC 23 00 72 */ fmuls f1, f3, f1 -/* 80048BD0 00045B30 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80048BD4 00045B34 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80048BD8 00045B38 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80048BDC 00045B3C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80048BE0 00045B40 80 BF 00 68 */ lwz r5, 0x68(r31) -/* 80048BE4 00045B44 80 DF 00 6C */ lwz r6, 0x6c(r31) -/* 80048BE8 00045B48 7C A0 00 38 */ and r0, r5, r0 -/* 80048BEC 00045B4C 7C C3 20 38 */ and r3, r6, r4 -/* 80048BF0 00045B50 7C 63 22 78 */ xor r3, r3, r4 -/* 80048BF4 00045B54 7C 00 22 78 */ xor r0, r0, r4 -/* 80048BF8 00045B58 7C 60 03 79 */ or. r0, r3, r0 -/* 80048BFC 00045B5C 41 82 00 08 */ beq lbl_80048C04 -/* 80048C00 00045B60 38 80 00 01 */ li r4, 1 -lbl_80048C04: -/* 80048C04 00045B64 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80048C08 00045B68 40 82 00 78 */ bne lbl_80048C80 -/* 80048C0C 00045B6C 3C 00 00 08 */ lis r0, 8 -/* 80048C10 00045B70 38 80 00 00 */ li r4, 0 -/* 80048C14 00045B74 7C C3 00 38 */ and r3, r6, r0 -/* 80048C18 00045B78 7C A0 20 38 */ and r0, r5, r4 -/* 80048C1C 00045B7C 7C 63 22 78 */ xor r3, r3, r4 -/* 80048C20 00045B80 7C 00 22 78 */ xor r0, r0, r4 -/* 80048C24 00045B84 7C 60 03 79 */ or. r0, r3, r0 -/* 80048C28 00045B88 41 82 00 58 */ beq lbl_80048C80 -/* 80048C2C 00045B8C 4B FD 29 09 */ bl Identity__10CAxisAngleFv -/* 80048C30 00045B90 7C 65 1B 78 */ mr r5, r3 -/* 80048C34 00045B94 7F E3 FB 78 */ mr r3, r31 -/* 80048C38 00045B98 38 81 00 20 */ addi r4, r1, 0x20 -/* 80048C3C 00045B9C 48 0D 37 5D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 80048C40 00045BA0 48 00 00 40 */ b lbl_80048C80 -lbl_80048C44: -/* 80048C44 00045BA4 28 03 00 00 */ cmplwi r3, 0 -/* 80048C48 00045BA8 41 82 00 38 */ beq lbl_80048C80 -/* 80048C4C 00045BAC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80048C50 00045BB0 7F A4 EB 78 */ mr r4, r29 -/* 80048C54 00045BB4 7F 45 D3 78 */ mr r5, r26 -/* 80048C58 00045BB8 7F 86 E3 78 */ mr r6, r28 -/* 80048C5C 00045BBC FC 00 E8 00 */ fcmpu cr0, f0, f29 -/* 80048C60 00045BC0 FC 20 F0 90 */ fmr f1, f30 -/* 80048C64 00045BC4 7C 00 00 26 */ mfcr r0 -/* 80048C68 00045BC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80048C6C 00045BCC 54 07 1F FE */ rlwinm r7, r0, 3, 0x1f, 0x1f -/* 80048C70 00045BD0 39 00 00 00 */ li r8, 0 -/* 80048C74 00045BD4 81 8C 00 88 */ lwz r12, 0x88(r12) -/* 80048C78 00045BD8 7D 89 03 A6 */ mtctr r12 -/* 80048C7C 00045BDC 4E 80 04 21 */ bctrl -lbl_80048C80: -/* 80048C80 00045BE0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80048C84 00045BE4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80048C88 00045BE8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80048C8C 00045BEC CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80048C90 00045BF0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80048C94 00045BF4 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80048C98 00045BF8 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 80048C9C 00045BFC 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80048CA0 00045C00 7C 08 03 A6 */ mtlr r0 -/* 80048CA4 00045C04 38 21 00 80 */ addi r1, r1, 0x80 -/* 80048CA8 00045C08 4E 80 00 20 */ blr - -.global ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter -ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter: -/* 80048CAC 00045C0C 94 21 F7 10 */ stwu r1, -0x8f0(r1) -/* 80048CB0 00045C10 7C 08 02 A6 */ mflr r0 -/* 80048CB4 00045C14 90 01 08 F4 */ stw r0, 0x8f4(r1) -/* 80048CB8 00045C18 BE 61 08 BC */ stmw r19, 0x8bc(r1) -/* 80048CBC 00045C1C 7C 73 1B 78 */ mr r19, r3 -/* 80048CC0 00045C20 7C 94 23 78 */ mr r20, r4 -/* 80048CC4 00045C24 7C B5 2B 78 */ mr r21, r5 -/* 80048CC8 00045C28 7C F7 3B 78 */ mr r23, r7 -/* 80048CCC 00045C2C 7C D6 33 78 */ mr r22, r6 -/* 80048CD0 00045C30 38 81 00 70 */ addi r4, r1, 0x70 -/* 80048CD4 00045C34 38 A1 00 64 */ addi r5, r1, 0x64 -/* 80048CD8 00045C38 C0 27 00 10 */ lfs f1, 0x10(r7) -/* 80048CDC 00045C3C C0 66 00 04 */ lfs f3, 4(r6) -/* 80048CE0 00045C40 FC C0 08 50 */ fneg f6, f1 -/* 80048CE4 00045C44 C0 46 00 08 */ lfs f2, 8(r6) -/* 80048CE8 00045C48 C0 06 00 00 */ lfs f0, 0(r6) -/* 80048CEC 00045C4C EC A3 08 2A */ fadds f5, f3, f1 -/* 80048CF0 00045C50 EC 82 08 2A */ fadds f4, f2, f1 -/* 80048CF4 00045C54 81 28 00 00 */ lwz r9, 0(r8) -/* 80048CF8 00045C58 EC 20 08 2A */ fadds f1, f0, f1 -/* 80048CFC 00045C5C 80 68 00 04 */ lwz r3, 4(r8) -/* 80048D00 00045C60 EC 63 30 2A */ fadds f3, f3, f6 -/* 80048D04 00045C64 80 C8 00 08 */ lwz r6, 8(r8) -/* 80048D08 00045C68 EC 42 30 2A */ fadds f2, f2, f6 -/* 80048D0C 00045C6C 80 E8 00 0C */ lwz r7, 0xc(r8) -/* 80048D10 00045C70 EC 00 30 2A */ fadds f0, f0, f6 -/* 80048D14 00045C74 80 08 00 10 */ lwz r0, 0x10(r8) -/* 80048D18 00045C78 90 61 00 9C */ stw r3, 0x9c(r1) -/* 80048D1C 00045C7C 38 61 00 7C */ addi r3, r1, 0x7c -/* 80048D20 00045C80 91 21 00 98 */ stw r9, 0x98(r1) -/* 80048D24 00045C84 90 E1 00 A4 */ stw r7, 0xa4(r1) -/* 80048D28 00045C88 90 C1 00 A0 */ stw r6, 0xa0(r1) -/* 80048D2C 00045C8C 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80048D30 00045C90 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80048D34 00045C94 D0 A1 00 68 */ stfs f5, 0x68(r1) -/* 80048D38 00045C98 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 80048D3C 00045C9C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80048D40 00045CA0 D0 61 00 74 */ stfs f3, 0x74(r1) -/* 80048D44 00045CA4 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80048D48 00045CA8 48 2E F7 C1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80048D4C 00045CAC 7E A4 AB 78 */ mr r4, r21 -/* 80048D50 00045CB0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80048D54 00045CB4 48 05 CB 45 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" -/* 80048D58 00045CB8 83 A3 00 04 */ lwz r29, 4(r3) -/* 80048D5C 00045CBC 3B 00 00 00 */ li r24, 0 -/* 80048D60 00045CC0 28 1D 00 00 */ cmplwi r29, 0 -/* 80048D64 00045CC4 41 82 00 2C */ beq lbl_80048D90 -/* 80048D68 00045CC8 80 9D 00 E8 */ lwz r4, 0xe8(r29) -/* 80048D6C 00045CCC 38 60 00 00 */ li r3, 0 -/* 80048D70 00045CD0 54 80 05 EE */ rlwinm r0, r4, 0, 0x17, 0x17 -/* 80048D74 00045CD4 2C 00 01 00 */ cmpwi r0, 0x100 -/* 80048D78 00045CD8 41 82 00 10 */ beq lbl_80048D88 -/* 80048D7C 00045CDC 54 80 05 AC */ rlwinm r0, r4, 0, 0x16, 0x16 -/* 80048D80 00045CE0 2C 00 02 00 */ cmpwi r0, 0x200 -/* 80048D84 00045CE4 40 82 00 08 */ bne lbl_80048D8C -lbl_80048D88: -/* 80048D88 00045CE8 38 60 00 01 */ li r3, 1 -lbl_80048D8C: -/* 80048D8C 00045CEC 7C 78 1B 78 */ mr r24, r3 -lbl_80048D90: -/* 80048D90 00045CF0 38 00 00 00 */ li r0, 0 -/* 80048D94 00045CF4 7E 63 9B 78 */ mr r3, r19 -/* 80048D98 00045CF8 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80048D9C 00045CFC 7E A7 AB 78 */ mr r7, r21 -/* 80048DA0 00045D00 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 80048DA4 00045D04 38 A1 00 7C */ addi r5, r1, 0x7c -/* 80048DA8 00045D08 38 C1 00 98 */ addi r6, r1, 0x98 -/* 80048DAC 00045D0C 48 00 39 75 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80048DB0 00045D10 3B C1 00 B4 */ addi r30, r1, 0xb4 -/* 80048DB4 00045D14 57 1F 06 3E */ clrlwi r31, r24, 0x18 -/* 80048DB8 00045D18 7F DC F3 78 */ mr r28, r30 -/* 80048DBC 00045D1C 48 00 01 DC */ b lbl_80048F98 -lbl_80048DC0: -/* 80048DC0 00045D20 A0 1C 00 00 */ lhz r0, 0(r28) -/* 80048DC4 00045D24 7E 63 9B 78 */ mr r3, r19 -/* 80048DC8 00045D28 38 81 00 10 */ addi r4, r1, 0x10 -/* 80048DCC 00045D2C B0 01 00 10 */ sth r0, 0x10(r1) -/* 80048DD0 00045D30 48 00 37 A5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80048DD4 00045D34 7C 60 1B 78 */ mr r0, r3 -/* 80048DD8 00045D38 38 61 00 34 */ addi r3, r1, 0x34 -/* 80048DDC 00045D3C 7C 1B 03 78 */ mr r27, r0 -/* 80048DE0 00045D40 7F 64 DB 78 */ mr r4, r27 -/* 80048DE4 00045D44 48 06 35 B1 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -/* 80048DE8 00045D48 83 43 00 04 */ lwz r26, 4(r3) -/* 80048DEC 00045D4C 7E 63 9B 78 */ mr r3, r19 -/* 80048DF0 00045D50 A0 1C 00 00 */ lhz r0, 0(r28) -/* 80048DF4 00045D54 38 81 00 0C */ addi r4, r1, 0xc -/* 80048DF8 00045D58 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80048DFC 00045D5C 48 00 37 79 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80048E00 00045D60 7C 64 1B 78 */ mr r4, r3 -/* 80048E04 00045D64 38 61 00 2C */ addi r3, r1, 0x2c -/* 80048E08 00045D68 48 05 CE 09 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" -/* 80048E0C 00045D6C 83 23 00 04 */ lwz r25, 4(r3) -/* 80048E10 00045D70 7E 63 9B 78 */ mr r3, r19 -/* 80048E14 00045D74 A0 1C 00 00 */ lhz r0, 0(r28) -/* 80048E18 00045D78 38 81 00 08 */ addi r4, r1, 8 -/* 80048E1C 00045D7C B0 01 00 08 */ sth r0, 8(r1) -/* 80048E20 00045D80 48 00 37 55 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80048E24 00045D84 7C 64 1B 78 */ mr r4, r3 -/* 80048E28 00045D88 38 61 00 24 */ addi r3, r1, 0x24 -/* 80048E2C 00045D8C 48 05 D4 0D */ bl "__ct__29TCastToPtr<15CSnakeWeedSwarm>FP7CEntity" -/* 80048E30 00045D90 28 1F 00 00 */ cmplwi r31, 0 -/* 80048E34 00045D94 83 03 00 04 */ lwz r24, 4(r3) -/* 80048E38 00045D98 41 82 00 94 */ beq lbl_80048ECC -/* 80048E3C 00045D9C 28 1A 00 00 */ cmplwi r26, 0 -/* 80048E40 00045DA0 41 82 00 8C */ beq lbl_80048ECC -/* 80048E44 00045DA4 7F 43 D3 78 */ mr r3, r26 -/* 80048E48 00045DA8 4B FC CE B5 */ bl GetFrozenState__7CPlayerCFv -/* 80048E4C 00045DAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80048E50 00045DB0 41 82 00 58 */ beq lbl_80048EA8 -/* 80048E54 00045DB4 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80048E58 00045DB8 38 63 00 A8 */ addi r3, r3, 0xa8 -/* 80048E5C 00045DBC 48 18 C4 15 */ bl IncrementFrozenBallCount__14CSystemOptionsFv -/* 80048E60 00045DC0 38 61 00 54 */ addi r3, r1, 0x54 -/* 80048E64 00045DC4 38 8D 82 A4 */ addi r4, r13, lbl_805A6E64@sda21 -/* 80048E68 00045DC8 4B FC CB 89 */ bl wstring_l__4rstlFPCw -/* 80048E6C 00045DCC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80048E70 00045DD0 38 00 00 01 */ li r0, 1 -/* 80048E74 00045DD4 98 01 00 20 */ stb r0, 0x20(r1) -/* 80048E78 00045DD8 38 61 00 54 */ addi r3, r1, 0x54 -/* 80048E7C 00045DDC 38 81 00 1C */ addi r4, r1, 0x1c -/* 80048E80 00045DE0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80048E84 00045DE4 98 01 00 21 */ stb r0, 0x21(r1) -/* 80048E88 00045DE8 98 01 00 22 */ stb r0, 0x22(r1) -/* 80048E8C 00045DEC 48 02 2D DD */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo -/* 80048E90 00045DF0 38 61 00 54 */ addi r3, r1, 0x54 -/* 80048E94 00045DF4 48 2F 42 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80048E98 00045DF8 7F 43 D3 78 */ mr r3, r26 -/* 80048E9C 00045DFC 7E 64 9B 78 */ mr r4, r19 -/* 80048EA0 00045E00 4B FC CB 8D */ bl UnFreeze__7CPlayerFR13CStateManager -/* 80048EA4 00045E04 48 00 00 88 */ b lbl_80048F2C -lbl_80048EA8: -/* 80048EA8 00045E08 80 1D 00 E8 */ lwz r0, 0xe8(r29) -/* 80048EAC 00045E0C 54 00 05 EE */ rlwinm r0, r0, 0, 0x17, 0x17 -/* 80048EB0 00045E10 2C 00 01 00 */ cmpwi r0, 0x100 -/* 80048EB4 00045E14 40 82 00 78 */ bne lbl_80048F2C -/* 80048EB8 00045E18 7F 43 D3 78 */ mr r3, r26 -/* 80048EBC 00045E1C 7E C4 B3 78 */ mr r4, r22 -/* 80048EC0 00045E20 7E 65 9B 78 */ mr r5, r19 -/* 80048EC4 00045E24 48 23 C5 29 */ bl BombJump__7CPlayerFRC9CVector3fR13CStateManager -/* 80048EC8 00045E28 48 00 00 64 */ b lbl_80048F2C -lbl_80048ECC: -/* 80048ECC 00045E2C 28 1B 00 00 */ cmplwi r27, 0 -/* 80048ED0 00045E30 41 82 00 5C */ beq lbl_80048F2C -/* 80048ED4 00045E34 A0 7B 00 08 */ lhz r3, 8(r27) -/* 80048ED8 00045E38 A0 14 00 00 */ lhz r0, 0(r20) -/* 80048EDC 00045E3C 7C 03 00 40 */ cmplw r3, r0 -/* 80048EE0 00045E40 41 82 00 4C */ beq lbl_80048F2C -/* 80048EE4 00045E44 7E 63 9B 78 */ mr r3, r19 -/* 80048EE8 00045E48 7E A4 AB 78 */ mr r4, r21 -/* 80048EEC 00045E4C 7E C5 B3 78 */ mr r5, r22 -/* 80048EF0 00045E50 7F 66 DB 78 */ mr r6, r27 -/* 80048EF4 00045E54 48 00 0B D9 */ bl TestBombHittingWater__13CStateManagerFRC6CActorRC9CVector3fR6CActor -/* 80048EF8 00045E58 7E 63 9B 78 */ mr r3, r19 -/* 80048EFC 00045E5C 7E C4 B3 78 */ mr r4, r22 -/* 80048F00 00045E60 7F 65 DB 78 */ mr r5, r27 -/* 80048F04 00045E64 38 C1 00 B0 */ addi r6, r1, 0xb0 -/* 80048F08 00045E68 48 00 05 D9 */ bl "TestRayDamage__13CStateManagerRC9CVector3fRC6CActorRCQ24rstl49reserved_vector<9TUniqueId,1024>" -/* 80048F0C 00045E6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80048F10 00045E70 41 82 00 1C */ beq lbl_80048F2C -/* 80048F14 00045E74 7E 63 9B 78 */ mr r3, r19 -/* 80048F18 00045E78 7E A4 AB 78 */ mr r4, r21 -/* 80048F1C 00045E7C 7E C5 B3 78 */ mr r5, r22 -/* 80048F20 00045E80 7F 66 DB 78 */ mr r6, r27 -/* 80048F24 00045E84 7E E7 BB 78 */ mr r7, r23 -/* 80048F28 00045E88 48 00 02 C5 */ bl ApplyRadiusDamage__13CStateManagerFRC6CActorRC9CVector3fR6CActorRC11CDamageInfo -lbl_80048F2C: -/* 80048F2C 00045E8C 28 19 00 00 */ cmplwi r25, 0 -/* 80048F30 00045E90 41 82 00 30 */ beq lbl_80048F60 -/* 80048F34 00045E94 80 96 00 00 */ lwz r4, 0(r22) -/* 80048F38 00045E98 7F 23 CB 78 */ mr r3, r25 -/* 80048F3C 00045E9C 80 F6 00 04 */ lwz r7, 4(r22) -/* 80048F40 00045EA0 7E E5 BB 78 */ mr r5, r23 -/* 80048F44 00045EA4 80 16 00 08 */ lwz r0, 8(r22) -/* 80048F48 00045EA8 7E 66 9B 78 */ mr r6, r19 -/* 80048F4C 00045EAC 90 81 00 48 */ stw r4, 0x48(r1) -/* 80048F50 00045EB0 38 81 00 48 */ addi r4, r1, 0x48 -/* 80048F54 00045EB4 90 E1 00 4C */ stw r7, 0x4c(r1) -/* 80048F58 00045EB8 90 01 00 50 */ stw r0, 0x50(r1) -/* 80048F5C 00045EBC 48 19 F9 15 */ bl ApplyRadiusDamage__17CWallCrawlerSwarmF9CVector3ffR13CStateManager -lbl_80048F60: -/* 80048F60 00045EC0 28 18 00 00 */ cmplwi r24, 0 -/* 80048F64 00045EC4 41 82 00 30 */ beq lbl_80048F94 -/* 80048F68 00045EC8 80 96 00 00 */ lwz r4, 0(r22) -/* 80048F6C 00045ECC 7F 03 C3 78 */ mr r3, r24 -/* 80048F70 00045ED0 80 F6 00 04 */ lwz r7, 4(r22) -/* 80048F74 00045ED4 7E E5 BB 78 */ mr r5, r23 -/* 80048F78 00045ED8 80 16 00 08 */ lwz r0, 8(r22) -/* 80048F7C 00045EDC 7E 66 9B 78 */ mr r6, r19 -/* 80048F80 00045EE0 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80048F84 00045EE4 38 81 00 3C */ addi r4, r1, 0x3c -/* 80048F88 00045EE8 90 E1 00 40 */ stw r7, 0x40(r1) -/* 80048F8C 00045EEC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80048F90 00045EF0 48 1F 3A 75 */ bl ApplyRadiusDamage__15CSnakeWeedSwarmF9CVector3ffR13CStateManager -lbl_80048F94: -/* 80048F94 00045EF4 3B 9C 00 02 */ addi r28, r28, 2 -lbl_80048F98: -/* 80048F98 00045EF8 80 A1 00 B0 */ lwz r5, 0xb0(r1) -/* 80048F9C 00045EFC 54 A0 08 3C */ slwi r0, r5, 1 -/* 80048FA0 00045F00 7C 1E 02 14 */ add r0, r30, r0 -/* 80048FA4 00045F04 7C 1C 00 40 */ cmplw r28, r0 -/* 80048FA8 00045F08 40 82 FE 18 */ bne lbl_80048DC0 -/* 80048FAC 00045F0C 2C 05 00 00 */ cmpwi r5, 0 -/* 80048FB0 00045F10 38 60 00 00 */ li r3, 0 -/* 80048FB4 00045F14 40 81 00 40 */ ble lbl_80048FF4 -/* 80048FB8 00045F18 2C 05 00 08 */ cmpwi r5, 8 -/* 80048FBC 00045F1C 38 85 FF F8 */ addi r4, r5, -8 -/* 80048FC0 00045F20 40 81 00 20 */ ble lbl_80048FE0 -/* 80048FC4 00045F24 38 04 00 07 */ addi r0, r4, 7 -/* 80048FC8 00045F28 54 00 E8 FE */ srwi r0, r0, 3 -/* 80048FCC 00045F2C 7C 09 03 A6 */ mtctr r0 -/* 80048FD0 00045F30 2C 04 00 00 */ cmpwi r4, 0 -/* 80048FD4 00045F34 40 81 00 0C */ ble lbl_80048FE0 -lbl_80048FD8: -/* 80048FD8 00045F38 38 63 00 08 */ addi r3, r3, 8 -/* 80048FDC 00045F3C 42 00 FF FC */ bdnz lbl_80048FD8 -lbl_80048FE0: -/* 80048FE0 00045F40 7C 03 28 50 */ subf r0, r3, r5 -/* 80048FE4 00045F44 7C 09 03 A6 */ mtctr r0 -/* 80048FE8 00045F48 7C 03 28 00 */ cmpw r3, r5 -/* 80048FEC 00045F4C 40 80 00 08 */ bge lbl_80048FF4 -lbl_80048FF0: -/* 80048FF0 00045F50 42 00 00 00 */ bdnz lbl_80048FF0 -lbl_80048FF4: -/* 80048FF4 00045F54 38 00 00 00 */ li r0, 0 -/* 80048FF8 00045F58 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80048FFC 00045F5C BA 61 08 BC */ lmw r19, 0x8bc(r1) -/* 80049000 00045F60 80 01 08 F4 */ lwz r0, 0x8f4(r1) -/* 80049004 00045F64 7C 08 03 A6 */ mtlr r0 -/* 80049008 00045F68 38 21 08 F0 */ addi r1, r1, 0x8f0 -/* 8004900C 00045F6C 4E 80 00 20 */ blr - -.global ProcessRadiusDamage__13CStateManagerFRC6CActorR6CActor9TUniqueIdRC11CDamageInfoRC15CMaterialFilter -ProcessRadiusDamage__13CStateManagerFRC6CActorR6CActor9TUniqueIdRC11CDamageInfoRC15CMaterialFilter: -/* 80049010 00045F70 94 21 F7 70 */ stwu r1, -0x890(r1) -/* 80049014 00045F74 7C 08 02 A6 */ mflr r0 -/* 80049018 00045F78 90 01 08 94 */ stw r0, 0x894(r1) -/* 8004901C 00045F7C BE E1 08 6C */ stmw r23, 0x86c(r1) -/* 80049020 00045F80 7C 9D 23 78 */ mr r29, r4 -/* 80049024 00045F84 7C DE 33 78 */ mr r30, r6 -/* 80049028 00045F88 7C 7C 1B 78 */ mr r28, r3 -/* 8004902C 00045F8C 7C FF 3B 78 */ mr r31, r7 -/* 80049030 00045F90 38 61 00 30 */ addi r3, r1, 0x30 -/* 80049034 00045F94 C0 07 00 10 */ lfs f0, 0x10(r7) -/* 80049038 00045F98 81 28 00 00 */ lwz r9, 0(r8) -/* 8004903C 00045F9C 81 48 00 04 */ lwz r10, 4(r8) -/* 80049040 00045FA0 FD 20 00 50 */ fneg f9, f0 -/* 80049044 00045FA4 C0 E4 00 50 */ lfs f7, 0x50(r4) -/* 80049048 00045FA8 C1 04 00 60 */ lfs f8, 0x60(r4) -/* 8004904C 00045FAC 38 81 00 18 */ addi r4, r1, 0x18 -/* 80049050 00045FB0 C0 7D 00 40 */ lfs f3, 0x40(r29) -/* 80049054 00045FB4 EC A7 00 2A */ fadds f5, f7, f0 -/* 80049058 00045FB8 80 C8 00 08 */ lwz r6, 8(r8) -/* 8004905C 00045FBC EC 88 00 2A */ fadds f4, f8, f0 -/* 80049060 00045FC0 80 E8 00 0C */ lwz r7, 0xc(r8) -/* 80049064 00045FC4 EC C3 00 2A */ fadds f6, f3, f0 -/* 80049068 00045FC8 80 08 00 10 */ lwz r0, 0x10(r8) -/* 8004906C 00045FCC 91 41 00 4C */ stw r10, 0x4c(r1) -/* 80049070 00045FD0 EC 43 48 2A */ fadds f2, f3, f9 -/* 80049074 00045FD4 EC 27 48 2A */ fadds f1, f7, f9 -/* 80049078 00045FD8 A3 7D 00 08 */ lhz r27, 8(r29) -/* 8004907C 00045FDC 91 21 00 48 */ stw r9, 0x48(r1) -/* 80049080 00045FE0 EC 08 48 2A */ fadds f0, f8, f9 -/* 80049084 00045FE4 90 E1 00 54 */ stw r7, 0x54(r1) -/* 80049088 00045FE8 90 C1 00 50 */ stw r6, 0x50(r1) -/* 8004908C 00045FEC 90 01 00 58 */ stw r0, 0x58(r1) -/* 80049090 00045FF0 A3 45 00 08 */ lhz r26, 8(r5) -/* 80049094 00045FF4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80049098 00045FF8 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8004909C 00045FFC D0 E1 00 28 */ stfs f7, 0x28(r1) -/* 800490A0 00046000 D1 01 00 2C */ stfs f8, 0x2c(r1) -/* 800490A4 00046004 D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 800490A8 00046008 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 800490AC 0004600C D0 81 00 14 */ stfs f4, 0x14(r1) -/* 800490B0 00046010 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800490B4 00046014 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800490B8 00046018 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800490BC 0004601C 48 2E F4 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800490C0 00046020 38 00 00 00 */ li r0, 0 -/* 800490C4 00046024 7F 83 E3 78 */ mr r3, r28 -/* 800490C8 00046028 90 01 00 60 */ stw r0, 0x60(r1) -/* 800490CC 0004602C 38 81 00 60 */ addi r4, r1, 0x60 -/* 800490D0 00046030 38 A1 00 30 */ addi r5, r1, 0x30 -/* 800490D4 00046034 38 C1 00 48 */ addi r6, r1, 0x48 -/* 800490D8 00046038 38 E0 00 00 */ li r7, 0 -/* 800490DC 0004603C 48 00 36 45 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 800490E0 00046040 3B 21 00 64 */ addi r25, r1, 0x64 -/* 800490E4 00046044 7F 38 CB 78 */ mr r24, r25 -/* 800490E8 00046048 48 00 00 8C */ b lbl_80049174 -lbl_800490EC: -/* 800490EC 0004604C A0 18 00 00 */ lhz r0, 0(r24) -/* 800490F0 00046050 7F 83 E3 78 */ mr r3, r28 -/* 800490F4 00046054 38 81 00 08 */ addi r4, r1, 8 -/* 800490F8 00046058 B0 01 00 08 */ sth r0, 8(r1) -/* 800490FC 0004605C 48 00 34 79 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80049100 00046060 7C 77 1B 79 */ or. r23, r3, r3 -/* 80049104 00046064 41 82 00 6C */ beq lbl_80049170 -/* 80049108 00046068 A0 77 00 08 */ lhz r3, 8(r23) -/* 8004910C 0004606C 7C 1B 18 40 */ cmplw r27, r3 -/* 80049110 00046070 41 82 00 60 */ beq lbl_80049170 -/* 80049114 00046074 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80049118 00046078 7C 00 18 40 */ cmplw r0, r3 -/* 8004911C 0004607C 41 82 00 54 */ beq lbl_80049170 -/* 80049120 00046080 7C 1A 18 40 */ cmplw r26, r3 -/* 80049124 00046084 41 82 00 4C */ beq lbl_80049170 -/* 80049128 00046088 7F 83 E3 78 */ mr r3, r28 -/* 8004912C 0004608C 7F A4 EB 78 */ mr r4, r29 -/* 80049130 00046090 7E E6 BB 78 */ mr r6, r23 -/* 80049134 00046094 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80049138 00046098 48 00 09 95 */ bl TestBombHittingWater__13CStateManagerFRC6CActorRC9CVector3fR6CActor -/* 8004913C 0004609C 7F 83 E3 78 */ mr r3, r28 -/* 80049140 000460A0 7E E5 BB 78 */ mr r5, r23 -/* 80049144 000460A4 38 81 00 24 */ addi r4, r1, 0x24 -/* 80049148 000460A8 38 C1 00 60 */ addi r6, r1, 0x60 -/* 8004914C 000460AC 48 00 03 95 */ bl "TestRayDamage__13CStateManagerRC9CVector3fRC6CActorRCQ24rstl49reserved_vector<9TUniqueId,1024>" -/* 80049150 000460B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80049154 000460B4 41 82 00 1C */ beq lbl_80049170 -/* 80049158 000460B8 7F 83 E3 78 */ mr r3, r28 -/* 8004915C 000460BC 7F A4 EB 78 */ mr r4, r29 -/* 80049160 000460C0 7E E6 BB 78 */ mr r6, r23 -/* 80049164 000460C4 7F E7 FB 78 */ mr r7, r31 -/* 80049168 000460C8 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8004916C 000460CC 48 00 00 81 */ bl ApplyRadiusDamage__13CStateManagerFRC6CActorRC9CVector3fR6CActorRC11CDamageInfo -lbl_80049170: -/* 80049170 000460D0 3B 18 00 02 */ addi r24, r24, 2 -lbl_80049174: -/* 80049174 000460D4 80 A1 00 60 */ lwz r5, 0x60(r1) -/* 80049178 000460D8 54 A0 08 3C */ slwi r0, r5, 1 -/* 8004917C 000460DC 7C 19 02 14 */ add r0, r25, r0 -/* 80049180 000460E0 7C 18 00 40 */ cmplw r24, r0 -/* 80049184 000460E4 40 82 FF 68 */ bne lbl_800490EC -/* 80049188 000460E8 2C 05 00 00 */ cmpwi r5, 0 -/* 8004918C 000460EC 38 60 00 00 */ li r3, 0 -/* 80049190 000460F0 40 81 00 40 */ ble lbl_800491D0 -/* 80049194 000460F4 2C 05 00 08 */ cmpwi r5, 8 -/* 80049198 000460F8 38 85 FF F8 */ addi r4, r5, -8 -/* 8004919C 000460FC 40 81 00 20 */ ble lbl_800491BC -/* 800491A0 00046100 38 04 00 07 */ addi r0, r4, 7 -/* 800491A4 00046104 54 00 E8 FE */ srwi r0, r0, 3 -/* 800491A8 00046108 7C 09 03 A6 */ mtctr r0 -/* 800491AC 0004610C 2C 04 00 00 */ cmpwi r4, 0 -/* 800491B0 00046110 40 81 00 0C */ ble lbl_800491BC -lbl_800491B4: -/* 800491B4 00046114 38 63 00 08 */ addi r3, r3, 8 -/* 800491B8 00046118 42 00 FF FC */ bdnz lbl_800491B4 -lbl_800491BC: -/* 800491BC 0004611C 7C 03 28 50 */ subf r0, r3, r5 -/* 800491C0 00046120 7C 09 03 A6 */ mtctr r0 -/* 800491C4 00046124 7C 03 28 00 */ cmpw r3, r5 -/* 800491C8 00046128 40 80 00 08 */ bge lbl_800491D0 -lbl_800491CC: -/* 800491CC 0004612C 42 00 00 00 */ bdnz lbl_800491CC -lbl_800491D0: -/* 800491D0 00046130 38 00 00 00 */ li r0, 0 -/* 800491D4 00046134 90 01 00 60 */ stw r0, 0x60(r1) -/* 800491D8 00046138 BA E1 08 6C */ lmw r23, 0x86c(r1) -/* 800491DC 0004613C 80 01 08 94 */ lwz r0, 0x894(r1) -/* 800491E0 00046140 7C 08 03 A6 */ mtlr r0 -/* 800491E4 00046144 38 21 08 90 */ addi r1, r1, 0x890 -/* 800491E8 00046148 4E 80 00 20 */ blr - -.global ApplyRadiusDamage__13CStateManagerFRC6CActorRC9CVector3fR6CActorRC11CDamageInfo -ApplyRadiusDamage__13CStateManagerFRC6CActorRC9CVector3fR6CActorRC11CDamageInfo: -/* 800491EC 0004614C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800491F0 00046150 7C 08 02 A6 */ mflr r0 -/* 800491F4 00046154 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800491F8 00046158 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 800491FC 0004615C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80049200 00046160 BF 21 00 94 */ stmw r25, 0x94(r1) -/* 80049204 00046164 7C B9 2B 78 */ mr r25, r5 -/* 80049208 00046168 7C DA 33 78 */ mr r26, r6 -/* 8004920C 0004616C C0 66 00 50 */ lfs f3, 0x50(r6) -/* 80049210 00046170 7C FB 3B 78 */ mr r27, r7 -/* 80049214 00046174 C0 45 00 04 */ lfs f2, 4(r5) -/* 80049218 00046178 7C 7E 1B 78 */ mr r30, r3 -/* 8004921C 0004617C C0 26 00 40 */ lfs f1, 0x40(r6) -/* 80049220 00046180 7C 9F 23 78 */ mr r31, r4 -/* 80049224 00046184 C0 05 00 00 */ lfs f0, 0(r5) -/* 80049228 00046188 EC A3 10 28 */ fsubs f5, f3, f2 -/* 8004922C 0004618C C0 66 00 60 */ lfs f3, 0x60(r6) -/* 80049230 00046190 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80049234 00046194 C0 45 00 08 */ lfs f2, 8(r5) -/* 80049238 00046198 EC 25 01 72 */ fmuls f1, f5, f5 -/* 8004923C 0004619C C0 C7 00 10 */ lfs f6, 0x10(r7) -/* 80049240 000461A0 EC 83 10 28 */ fsubs f4, f3, f2 -/* 80049244 000461A4 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 80049248 000461A8 EC 40 00 32 */ fmuls f2, f0, f0 -/* 8004924C 000461AC D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80049250 000461B0 EC 64 01 32 */ fmuls f3, f4, f4 -/* 80049254 000461B4 EC 06 01 B2 */ fmuls f0, f6, f6 -/* 80049258 000461B8 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 8004925C 000461BC EC 22 08 2A */ fadds f1, f2, f1 -/* 80049260 000461C0 EC 23 08 2A */ fadds f1, f3, f1 -/* 80049264 000461C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80049268 000461C8 41 80 00 84 */ blt lbl_800492EC -/* 8004926C 000461CC 7F 44 D3 78 */ mr r4, r26 -/* 80049270 000461D0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80049274 000461D4 81 9A 00 00 */ lwz r12, 0(r26) -/* 80049278 000461D8 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8004927C 000461DC 7D 89 03 A6 */ mtctr r12 -/* 80049280 000461E0 4E 80 04 21 */ bctrl -/* 80049284 000461E4 88 61 00 80 */ lbz r3, 0x80(r1) -/* 80049288 000461E8 38 00 00 00 */ li r0, 0 -/* 8004928C 000461EC 28 03 00 00 */ cmplwi r3, 0 -/* 80049290 000461F0 98 01 00 80 */ stb r0, 0x80(r1) -/* 80049294 000461F4 41 82 02 30 */ beq lbl_800494C4 -/* 80049298 000461F8 7F 44 D3 78 */ mr r4, r26 -/* 8004929C 000461FC 38 61 00 4C */ addi r3, r1, 0x4c -/* 800492A0 00046200 81 9A 00 00 */ lwz r12, 0(r26) -/* 800492A4 00046204 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 800492A8 00046208 7D 89 03 A6 */ mtctr r12 -/* 800492AC 0004620C 4E 80 04 21 */ bctrl -/* 800492B0 00046210 C0 7B 00 10 */ lfs f3, 0x10(r27) -/* 800492B4 00046214 38 61 00 24 */ addi r3, r1, 0x24 -/* 800492B8 00046218 C0 59 00 00 */ lfs f2, 0(r25) -/* 800492BC 0004621C 38 81 00 4C */ addi r4, r1, 0x4c -/* 800492C0 00046220 C0 39 00 04 */ lfs f1, 4(r25) -/* 800492C4 00046224 C0 19 00 08 */ lfs f0, 8(r25) -/* 800492C8 00046228 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 800492CC 0004622C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 800492D0 00046230 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800492D4 00046234 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 800492D8 00046238 48 28 BF 25 */ bl Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox -/* 800492DC 0004623C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800492E0 00046240 38 60 00 00 */ li r3, 0 -/* 800492E4 00046244 98 61 00 64 */ stb r3, 0x64(r1) -/* 800492E8 00046248 41 82 01 DC */ beq lbl_800494C4 -lbl_800492EC: -/* 800492EC 0004624C C3 FB 00 10 */ lfs f31, 0x10(r27) -/* 800492F0 00046250 C0 02 85 88 */ lfs f0, lbl_805AA2A8@sda21(r2) -/* 800492F4 00046254 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800492F8 00046258 40 81 00 14 */ ble lbl_8004930C -/* 800492FC 0004625C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80049300 00046260 48 2C B5 B9 */ bl Magnitude__9CVector3fCFv -/* 80049304 00046264 EF E1 F8 24 */ fdivs f31, f1, f31 -/* 80049308 00046268 48 00 00 08 */ b lbl_80049310 -lbl_8004930C: -/* 8004930C 0004626C C3 E2 85 68 */ lfs f31, lbl_805AA288@sda21(r2) -lbl_80049310: -/* 80049310 00046270 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80049314 00046274 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80049318 00046278 40 81 00 0C */ ble lbl_80049324 -/* 8004931C 0004627C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80049320 00046280 48 2C B5 D9 */ bl Normalize__9CVector3fFv -lbl_80049324: -/* 80049324 00046284 7F 43 D3 78 */ mr r3, r26 -/* 80049328 00046288 7F C4 F3 78 */ mr r4, r30 -/* 8004932C 0004628C 81 9A 00 00 */ lwz r12, 0(r26) -/* 80049330 00046290 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80049334 00046294 7D 89 03 A6 */ mtctr r12 -/* 80049338 00046298 4E 80 04 21 */ bctrl -/* 8004933C 0004629C 28 03 00 00 */ cmplwi r3, 0 -/* 80049340 000462A0 3B A0 00 00 */ li r29, 0 -/* 80049344 000462A4 41 82 00 18 */ beq lbl_8004935C -/* 80049348 000462A8 C0 23 00 00 */ lfs f1, 0(r3) -/* 8004934C 000462AC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80049350 000462B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80049354 000462B4 40 81 00 08 */ ble lbl_8004935C -/* 80049358 000462B8 3B A0 00 01 */ li r29, 1 -lbl_8004935C: -/* 8004935C 000462BC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80049360 000462C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80049364 000462C4 40 81 00 2C */ ble lbl_80049390 -/* 80049368 000462C8 7F 43 D3 78 */ mr r3, r26 -/* 8004936C 000462CC 7F 24 CB 78 */ mr r4, r25 -/* 80049370 000462D0 81 9A 00 00 */ lwz r12, 0(r26) -/* 80049374 000462D4 7F 66 DB 78 */ mr r6, r27 -/* 80049378 000462D8 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8004937C 000462DC 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80049380 000462E0 7D 89 03 A6 */ mtctr r12 -/* 80049384 000462E4 4E 80 04 21 */ bctrl -/* 80049388 000462E8 7C 7C 1B 78 */ mr r28, r3 -/* 8004938C 000462EC 48 00 00 1C */ b lbl_800493A8 -lbl_80049390: -/* 80049390 000462F0 7F 43 D3 78 */ mr r3, r26 -/* 80049394 000462F4 81 9A 00 00 */ lwz r12, 0(r26) -/* 80049398 000462F8 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8004939C 000462FC 7D 89 03 A6 */ mtctr r12 -/* 800493A0 00046300 4E 80 04 21 */ bctrl -/* 800493A4 00046304 7C 7C 1B 78 */ mr r28, r3 -lbl_800493A8: -/* 800493A8 00046308 7F 83 E3 78 */ mr r3, r28 -/* 800493AC 0004630C 7F 64 DB 78 */ mr r4, r27 -/* 800493B0 00046310 38 A0 00 01 */ li r5, 1 -/* 800493B4 00046314 48 0B 93 55 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 800493B8 00046318 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800493BC 0004631C 41 82 00 6C */ beq lbl_80049428 -/* 800493C0 00046320 7F 63 DB 78 */ mr r3, r27 -/* 800493C4 00046324 7F 84 E3 78 */ mr r4, r28 -/* 800493C8 00046328 48 07 A0 D1 */ bl GetRadiusDamage__11CDamageInfoCFRC20CDamageVulnerability -/* 800493CC 0004632C C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 800493D0 00046330 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800493D4 00046334 40 81 00 1C */ ble lbl_800493F0 -/* 800493D8 00046338 7F C3 F3 78 */ mr r3, r30 -/* 800493DC 0004633C 7F 24 CB 78 */ mr r4, r25 -/* 800493E0 00046340 7F 46 D3 78 */ mr r6, r26 -/* 800493E4 00046344 7F 67 DB 78 */ mr r7, r27 -/* 800493E8 00046348 38 A1 00 40 */ addi r5, r1, 0x40 -/* 800493EC 0004634C 48 00 09 E9 */ bl ApplyLocalDamage__13CStateManagerFRC9CVector3fRC9CVector3fR6CActorfRC11CWeaponMode -lbl_800493F0: -/* 800493F0 00046350 7F 43 D3 78 */ mr r3, r26 -/* 800493F4 00046354 7F C5 F3 78 */ mr r5, r30 -/* 800493F8 00046358 38 80 00 16 */ li r4, 0x16 -/* 800493FC 0004635C 38 C0 FF FF */ li r6, -1 -/* 80049400 00046360 48 00 7C C1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80049404 00046364 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80049408 00046368 7F C3 F3 78 */ mr r3, r30 -/* 8004940C 0004636C 7F 44 D3 78 */ mr r4, r26 -/* 80049410 00046370 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80049414 00046374 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80049418 00046378 38 C0 00 29 */ li r6, 0x29 -/* 8004941C 0004637C B0 01 00 14 */ sth r0, 0x14(r1) -/* 80049420 00046380 4B FF AA B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80049424 00046384 48 00 00 38 */ b lbl_8004945C -lbl_80049428: -/* 80049428 00046388 7F 43 D3 78 */ mr r3, r26 -/* 8004942C 0004638C 7F C5 F3 78 */ mr r5, r30 -/* 80049430 00046390 38 80 00 17 */ li r4, 0x17 -/* 80049434 00046394 38 C0 FF FF */ li r6, -1 -/* 80049438 00046398 48 00 7C 89 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8004943C 0004639C A0 1F 00 08 */ lhz r0, 8(r31) -/* 80049440 000463A0 7F C3 F3 78 */ mr r3, r30 -/* 80049444 000463A4 7F 44 D3 78 */ mr r4, r26 -/* 80049448 000463A8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8004944C 000463AC B0 01 00 08 */ sth r0, 8(r1) -/* 80049450 000463B0 38 C0 00 2A */ li r6, 0x2a -/* 80049454 000463B4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80049458 000463B8 4B FF AA 79 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_8004945C: -/* 8004945C 000463BC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80049460 000463C0 41 82 00 64 */ beq lbl_800494C4 -/* 80049464 000463C4 C0 3B 00 14 */ lfs f1, 0x14(r27) -/* 80049468 000463C8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004946C 000463CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80049470 000463D0 40 81 00 54 */ ble lbl_800494C4 -/* 80049474 000463D4 C0 7A 00 50 */ lfs f3, 0x50(r26) -/* 80049478 000463D8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8004947C 000463DC C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80049480 000463E0 38 81 00 34 */ addi r4, r1, 0x34 -/* 80049484 000463E4 C0 5A 00 40 */ lfs f2, 0x40(r26) -/* 80049488 000463E8 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 8004948C 000463EC EC 63 00 28 */ fsubs f3, f3, f0 -/* 80049490 000463F0 C0 02 85 F8 */ lfs f0, lbl_805AA318@sda21(r2) -/* 80049494 000463F4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80049498 000463F8 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 8004949C 000463FC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 800494A0 00046400 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800494A4 00046404 48 2C B3 AD */ bl AsNormalized__9CVector3fCFv -/* 800494A8 00046408 FC 20 F8 90 */ fmr f1, f31 -/* 800494AC 0004640C 7F C3 F3 78 */ mr r3, r30 -/* 800494B0 00046410 7F 44 D3 78 */ mr r4, r26 -/* 800494B4 00046414 7F 65 DB 78 */ mr r5, r27 -/* 800494B8 00046418 7F 86 E3 78 */ mr r6, r28 -/* 800494BC 0004641C 38 E1 00 18 */ addi r7, r1, 0x18 -/* 800494C0 00046420 4B FF F5 D9 */ bl ApplyKnockBack__13CStateManagerFR6CActorRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ff -lbl_800494C4: -/* 800494C4 00046424 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 800494C8 00046428 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 800494CC 0004642C BB 21 00 94 */ lmw r25, 0x94(r1) -/* 800494D0 00046430 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800494D4 00046434 7C 08 03 A6 */ mtlr r0 -/* 800494D8 00046438 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800494DC 0004643C 4E 80 00 20 */ blr - -.global "TestRayDamage__13CStateManagerRC9CVector3fRC6CActorRCQ24rstl49reserved_vector<9TUniqueId,1024>" -"TestRayDamage__13CStateManagerRC9CVector3fRC6CActorRCQ24rstl49reserved_vector<9TUniqueId,1024>": -/* 800494E0 00046440 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 800494E4 00046444 7C 08 02 A6 */ mflr r0 -/* 800494E8 00046448 90 01 01 34 */ stw r0, 0x134(r1) -/* 800494EC 0004644C DB E1 01 20 */ stfd f31, 0x120(r1) -/* 800494F0 00046450 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 800494F4 00046454 BF 41 01 08 */ stmw r26, 0x108(r1) -/* 800494F8 00046458 7C BE 2B 78 */ mr r30, r5 -/* 800494FC 0004645C 7C 7C 1B 78 */ mr r28, r3 -/* 80049500 00046460 7F C3 F3 78 */ mr r3, r30 -/* 80049504 00046464 7C 9D 23 78 */ mr r29, r4 -/* 80049508 00046468 81 9E 00 00 */ lwz r12, 0(r30) -/* 8004950C 0004646C 7C DF 33 78 */ mr r31, r6 -/* 80049510 00046470 7F 84 E3 78 */ mr r4, r28 -/* 80049514 00046474 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80049518 00046478 7D 89 03 A6 */ mtctr r12 -/* 8004951C 0004647C 4E 80 04 21 */ bctrl -/* 80049520 00046480 28 03 00 00 */ cmplwi r3, 0 -/* 80049524 00046484 40 82 00 0C */ bne lbl_80049530 -/* 80049528 00046488 38 60 00 00 */ li r3, 0 -/* 8004952C 0004648C 48 00 03 90 */ b lbl_800498BC -lbl_80049530: -/* 80049530 00046490 88 0D A1 E1 */ lbz r0, lbl_805A8DA1@sda21(r13) -/* 80049534 00046494 7C 00 07 75 */ extsb. r0, r0 -/* 80049538 00046498 40 82 00 24 */ bne lbl_8004955C -/* 8004953C 0004649C 80 AD 82 74 */ lwz r5, lbl_805A6E34@sda21(r13) -/* 80049540 000464A0 38 60 00 00 */ li r3, 0 -/* 80049544 000464A4 38 80 00 01 */ li r4, 1 -/* 80049548 000464A8 48 34 09 AD */ bl __shl2i -/* 8004954C 000464AC 38 00 00 01 */ li r0, 1 -/* 80049550 000464B0 90 8D A1 EC */ stw r4, lbl_805A8DAC@sda21(r13) -/* 80049554 000464B4 90 6D A1 E8 */ stw r3, lbl_805A8DA8@sda21(r13) -/* 80049558 000464B8 98 0D A1 E1 */ stb r0, lbl_805A8DA1@sda21(r13) -lbl_8004955C: -/* 8004955C 000464BC 88 0D A1 F0 */ lbz r0, lbl_805A8DB0@sda21(r13) -/* 80049560 000464C0 7C 00 07 75 */ extsb. r0, r0 -/* 80049564 000464C4 40 82 00 74 */ bne lbl_800495D8 -/* 80049568 000464C8 80 AD 82 78 */ lwz r5, lbl_805A6E38@sda21(r13) -/* 8004956C 000464CC 38 60 00 00 */ li r3, 0 -/* 80049570 000464D0 38 80 00 01 */ li r4, 1 -/* 80049574 000464D4 48 34 09 81 */ bl __shl2i -/* 80049578 000464D8 80 AD 82 7C */ lwz r5, lbl_805A6E3C@sda21(r13) -/* 8004957C 000464DC 7C 9A 23 78 */ mr r26, r4 -/* 80049580 000464E0 7C 7B 1B 78 */ mr r27, r3 -/* 80049584 000464E4 38 60 00 00 */ li r3, 0 -/* 80049588 000464E8 38 80 00 01 */ li r4, 1 -/* 8004958C 000464EC 48 34 09 69 */ bl __shl2i -/* 80049590 000464F0 80 AD 82 80 */ lwz r5, lbl_805A6E40@sda21(r13) -/* 80049594 000464F4 7F 5A 23 78 */ or r26, r26, r4 -/* 80049598 000464F8 7F 7B 1B 78 */ or r27, r27, r3 -/* 8004959C 000464FC 38 60 00 00 */ li r3, 0 -/* 800495A0 00046500 38 80 00 01 */ li r4, 1 -/* 800495A4 00046504 48 34 09 51 */ bl __shl2i -/* 800495A8 00046508 80 AD 82 84 */ lwz r5, lbl_805A6E44@sda21(r13) -/* 800495AC 0004650C 7F 5A 23 78 */ or r26, r26, r4 -/* 800495B0 00046510 7F 7B 1B 78 */ or r27, r27, r3 -/* 800495B4 00046514 38 60 00 00 */ li r3, 0 -/* 800495B8 00046518 38 80 00 01 */ li r4, 1 -/* 800495BC 0004651C 48 34 09 39 */ bl __shl2i -/* 800495C0 00046520 7F 5A 23 78 */ or r26, r26, r4 -/* 800495C4 00046524 7F 7B 1B 78 */ or r27, r27, r3 -/* 800495C8 00046528 38 00 00 01 */ li r0, 1 -/* 800495CC 0004652C 93 4D A1 FC */ stw r26, lbl_805A8DBC@sda21(r13) -/* 800495D0 00046530 93 6D A1 F8 */ stw r27, lbl_805A8DB8@sda21(r13) -/* 800495D4 00046534 98 0D A1 F0 */ stb r0, lbl_805A8DB0@sda21(r13) -lbl_800495D8: -/* 800495D8 00046538 88 0D A2 00 */ lbz r0, lbl_805A8DC0@sda21(r13) -/* 800495DC 0004653C 7C 00 07 75 */ extsb. r0, r0 -/* 800495E0 00046540 40 82 00 40 */ bne lbl_80049620 -/* 800495E4 00046544 3C 60 80 46 */ lis r3, lbl_8045C580@ha -/* 800495E8 00046548 80 CD A1 E8 */ lwz r6, lbl_805A8DA8@sda21(r13) -/* 800495EC 0004654C 38 A3 C5 80 */ addi r5, r3, lbl_8045C580@l -/* 800495F0 00046550 39 00 00 03 */ li r8, 3 -/* 800495F4 00046554 80 ED A1 EC */ lwz r7, lbl_805A8DAC@sda21(r13) -/* 800495F8 00046558 38 00 00 01 */ li r0, 1 -/* 800495FC 0004655C 80 6D A1 F8 */ lwz r3, lbl_805A8DB8@sda21(r13) -/* 80049600 00046560 80 8D A1 FC */ lwz r4, lbl_805A8DBC@sda21(r13) -/* 80049604 00046564 91 01 00 68 */ stw r8, 0x68(r1) -/* 80049608 00046568 90 E5 00 04 */ stw r7, 4(r5) -/* 8004960C 0004656C 90 C5 00 00 */ stw r6, 0(r5) -/* 80049610 00046570 90 85 00 0C */ stw r4, 0xc(r5) -/* 80049614 00046574 90 65 00 08 */ stw r3, 8(r5) -/* 80049618 00046578 91 05 00 10 */ stw r8, 0x10(r5) -/* 8004961C 0004657C 98 0D A2 00 */ stb r0, lbl_805A8DC0@sda21(r13) -lbl_80049620: -/* 80049620 00046580 7F C4 F3 78 */ mr r4, r30 -/* 80049624 00046584 38 61 00 3C */ addi r3, r1, 0x3c -/* 80049628 00046588 81 9E 00 00 */ lwz r12, 0(r30) -/* 8004962C 0004658C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80049630 00046590 7D 89 03 A6 */ mtctr r12 -/* 80049634 00046594 4E 80 04 21 */ bctrl -/* 80049638 00046598 88 01 00 54 */ lbz r0, 0x54(r1) -/* 8004963C 0004659C 28 00 00 00 */ cmplwi r0, 0 -/* 80049640 000465A0 98 01 00 88 */ stb r0, 0x88(r1) -/* 80049644 000465A4 41 82 00 3C */ beq lbl_80049680 -/* 80049648 000465A8 34 61 00 70 */ addic. r3, r1, 0x70 -/* 8004964C 000465AC 41 82 00 34 */ beq lbl_80049680 -/* 80049650 000465B0 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80049654 000465B4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80049658 000465B8 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8004965C 000465BC D0 03 00 04 */ stfs f0, 4(r3) -/* 80049660 000465C0 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80049664 000465C4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80049668 000465C8 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8004966C 000465CC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80049670 000465D0 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80049674 000465D4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80049678 000465D8 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8004967C 000465DC D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80049680: -/* 80049680 000465E0 88 01 00 88 */ lbz r0, 0x88(r1) -/* 80049684 000465E4 38 60 00 00 */ li r3, 0 -/* 80049688 000465E8 98 61 00 54 */ stb r3, 0x54(r1) -/* 8004968C 000465EC 28 00 00 00 */ cmplwi r0, 0 -/* 80049690 000465F0 40 82 00 10 */ bne lbl_800496A0 -/* 80049694 000465F4 98 61 00 88 */ stb r3, 0x88(r1) -/* 80049698 000465F8 38 60 00 00 */ li r3, 0 -/* 8004969C 000465FC 48 00 02 20 */ b lbl_800498BC -lbl_800496A0: -/* 800496A0 00046600 38 61 00 0C */ addi r3, r1, 0xc -/* 800496A4 00046604 38 81 00 70 */ addi r4, r1, 0x70 -/* 800496A8 00046608 48 2E DF 65 */ bl GetCenterPoint__6CAABoxCFv -/* 800496AC 0004660C C0 A1 00 0C */ lfs f5, 0xc(r1) -/* 800496B0 00046610 38 61 00 24 */ addi r3, r1, 0x24 -/* 800496B4 00046614 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 800496B8 00046618 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 800496BC 0004661C C0 5D 00 04 */ lfs f2, 4(r29) -/* 800496C0 00046620 C0 3D 00 08 */ lfs f1, 8(r29) -/* 800496C4 00046624 C0 1D 00 00 */ lfs f0, 0(r29) -/* 800496C8 00046628 EC 44 10 28 */ fsubs f2, f4, f2 -/* 800496CC 0004662C EC 23 08 28 */ fsubs f1, f3, f1 -/* 800496D0 00046630 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 800496D4 00046634 EC 05 00 28 */ fsubs f0, f5, f0 -/* 800496D8 00046638 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 800496DC 0004663C D0 61 00 38 */ stfs f3, 0x38(r1) -/* 800496E0 00046640 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800496E4 00046644 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 800496E8 00046648 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800496EC 0004664C 48 2C B0 0D */ bl CanBeNormalized__9CVector3fCFv -/* 800496F0 00046650 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800496F4 00046654 41 82 01 BC */ beq lbl_800498B0 -/* 800496F8 00046658 38 61 00 24 */ addi r3, r1, 0x24 -/* 800496FC 0004665C 48 2C B1 BD */ bl Magnitude__9CVector3fCFv -/* 80049700 00046660 FF E0 08 90 */ fmr f31, f1 -/* 80049704 00046664 C0 42 85 64 */ lfs f2, lbl_805AA284@sda21(r2) -/* 80049708 00046668 3C 60 80 46 */ lis r3, lbl_8045C580@ha -/* 8004970C 0004666C C0 61 00 24 */ lfs f3, 0x24(r1) -/* 80049710 00046670 38 E3 C5 80 */ addi r7, r3, lbl_8045C580@l -/* 80049714 00046674 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80049718 00046678 EC 82 F8 24 */ fdivs f4, f2, f31 -/* 8004971C 0004667C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80049720 00046680 7F 83 E3 78 */ mr r3, r28 -/* 80049724 00046684 7F A4 EB 78 */ mr r4, r29 -/* 80049728 00046688 7F E6 FB 78 */ mr r6, r31 -/* 8004972C 0004668C 7F C8 F3 78 */ mr r8, r30 -/* 80049730 00046690 EC 43 01 32 */ fmuls f2, f3, f4 -/* 80049734 00046694 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80049738 00046698 EC 21 01 32 */ fmuls f1, f1, f4 -/* 8004973C 0004669C EC 00 01 32 */ fmuls f0, f0, f4 -/* 80049740 000466A0 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80049744 000466A4 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80049748 000466A8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8004974C 000466AC 48 00 38 21 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -/* 80049750 000466B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80049754 000466B4 41 82 00 14 */ beq lbl_80049768 -/* 80049758 000466B8 38 00 00 00 */ li r0, 0 -/* 8004975C 000466BC 38 60 00 01 */ li r3, 1 -/* 80049760 000466C0 98 01 00 88 */ stb r0, 0x88(r1) -/* 80049764 000466C4 48 00 01 58 */ b lbl_800498BC -lbl_80049768: -/* 80049768 000466C8 FC 20 F8 90 */ fmr f1, f31 -/* 8004976C 000466CC 7F A4 EB 78 */ mr r4, r29 -/* 80049770 000466D0 38 61 00 8C */ addi r3, r1, 0x8c -/* 80049774 000466D4 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80049778 000466D8 48 28 C8 F5 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff -/* 8004977C 000466DC C1 A1 00 8C */ lfs f13, 0x8c(r1) -/* 80049780 000466E0 3C 60 80 46 */ lis r3, lbl_8045C580@ha -/* 80049784 000466E4 C1 81 00 90 */ lfs f12, 0x90(r1) -/* 80049788 000466E8 38 A3 C5 80 */ addi r5, r3, lbl_8045C580@l -/* 8004978C 000466EC C1 61 00 94 */ lfs f11, 0x94(r1) -/* 80049790 000466F0 7F 83 E3 78 */ mr r3, r28 -/* 80049794 000466F4 C1 41 00 98 */ lfs f10, 0x98(r1) -/* 80049798 000466F8 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 8004979C 000466FC C1 21 00 9C */ lfs f9, 0x9c(r1) -/* 800497A0 00046700 C1 01 00 A0 */ lfs f8, 0xa0(r1) -/* 800497A4 00046704 C0 E1 00 A4 */ lfs f7, 0xa4(r1) -/* 800497A8 00046708 C0 C1 00 A8 */ lfs f6, 0xa8(r1) -/* 800497AC 0004670C C0 A1 00 AC */ lfs f5, 0xac(r1) -/* 800497B0 00046710 C0 81 00 B0 */ lfs f4, 0xb0(r1) -/* 800497B4 00046714 C0 61 00 B4 */ lfs f3, 0xb4(r1) -/* 800497B8 00046718 C0 41 00 B8 */ lfs f2, 0xb8(r1) -/* 800497BC 0004671C C0 21 00 BC */ lfs f1, 0xbc(r1) -/* 800497C0 00046720 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 800497C4 00046724 D1 A1 00 C4 */ stfs f13, 0xc4(r1) -/* 800497C8 00046728 D1 81 00 C8 */ stfs f12, 0xc8(r1) -/* 800497CC 0004672C D1 61 00 CC */ stfs f11, 0xcc(r1) -/* 800497D0 00046730 D1 41 00 D0 */ stfs f10, 0xd0(r1) -/* 800497D4 00046734 D1 21 00 D4 */ stfs f9, 0xd4(r1) -/* 800497D8 00046738 D1 01 00 D8 */ stfs f8, 0xd8(r1) -/* 800497DC 0004673C D0 E1 00 DC */ stfs f7, 0xdc(r1) -/* 800497E0 00046740 D0 C1 00 E0 */ stfs f6, 0xe0(r1) -/* 800497E4 00046744 D0 A1 00 E4 */ stfs f5, 0xe4(r1) -/* 800497E8 00046748 D0 81 00 E8 */ stfs f4, 0xe8(r1) -/* 800497EC 0004674C D0 61 00 EC */ stfs f3, 0xec(r1) -/* 800497F0 00046750 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 800497F4 00046754 D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 800497F8 00046758 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 800497FC 0004675C 48 00 00 DD */ bl MultiRayCollideWorld__13CStateManagerRC5CMRayRC15CMaterialFilter -/* 80049800 00046760 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80049804 00046764 40 82 00 14 */ bne lbl_80049818 -/* 80049808 00046768 38 00 00 00 */ li r0, 0 -/* 8004980C 0004676C 38 60 00 00 */ li r3, 0 -/* 80049810 00046770 98 01 00 88 */ stb r0, 0x88(r1) -/* 80049814 00046774 48 00 00 A8 */ b lbl_800498BC -lbl_80049818: -/* 80049818 00046778 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8004981C 0004677C 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 80049820 00046780 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 80049824 00046784 38 81 00 70 */ addi r4, r1, 0x70 -/* 80049828 00046788 C0 47 00 00 */ lfs f2, 0(r7) -/* 8004982C 0004678C 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80049830 00046790 C0 27 00 04 */ lfs f1, 4(r7) -/* 80049834 00046794 38 C1 00 08 */ addi r6, r1, 8 -/* 80049838 00046798 C0 07 00 08 */ lfs f0, 8(r7) -/* 8004983C 0004679C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80049840 000467A0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80049844 000467A4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80049848 000467A8 48 28 9D 49 */ bl RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf -/* 8004984C 000467AC 2C 03 00 00 */ cmpwi r3, 0 -/* 80049850 000467B0 40 82 00 14 */ bne lbl_80049864 -/* 80049854 000467B4 38 00 00 00 */ li r0, 0 -/* 80049858 000467B8 38 60 00 01 */ li r3, 1 -/* 8004985C 000467BC 98 01 00 88 */ stb r0, 0x88(r1) -/* 80049860 000467C0 48 00 00 5C */ b lbl_800498BC -lbl_80049864: -/* 80049864 000467C4 2C 03 00 01 */ cmpwi r3, 1 -/* 80049868 000467C8 40 82 00 14 */ bne lbl_8004987C -/* 8004986C 000467CC 38 00 00 00 */ li r0, 0 -/* 80049870 000467D0 38 60 00 01 */ li r3, 1 -/* 80049874 000467D4 98 01 00 88 */ stb r0, 0x88(r1) -/* 80049878 000467D8 48 00 00 44 */ b lbl_800498BC -lbl_8004987C: -/* 8004987C 000467DC C0 01 00 08 */ lfs f0, 8(r1) -/* 80049880 000467E0 3C 60 80 46 */ lis r3, lbl_8045C580@ha -/* 80049884 000467E4 38 C3 C5 80 */ addi r6, r3, lbl_8045C580@l -/* 80049888 000467E8 7F A4 EB 78 */ mr r4, r29 -/* 8004988C 000467EC EC 20 07 F2 */ fmuls f1, f0, f31 -/* 80049890 000467F0 7F 83 E3 78 */ mr r3, r28 -/* 80049894 000467F4 7F E7 FB 78 */ mr r7, r31 -/* 80049898 000467F8 7F C8 F3 78 */ mr r8, r30 -/* 8004989C 000467FC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800498A0 00046800 48 13 B4 71 */ bl "RayDynamicIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterQ24rstl49reserved_vector<9TUniqueId,1024>PC6CActorf" -/* 800498A4 00046804 38 00 00 00 */ li r0, 0 -/* 800498A8 00046808 98 01 00 88 */ stb r0, 0x88(r1) -/* 800498AC 0004680C 48 00 00 10 */ b lbl_800498BC -lbl_800498B0: -/* 800498B0 00046810 38 00 00 00 */ li r0, 0 -/* 800498B4 00046814 38 60 00 01 */ li r3, 1 -/* 800498B8 00046818 98 01 00 88 */ stb r0, 0x88(r1) -lbl_800498BC: -/* 800498BC 0004681C E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 800498C0 00046820 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 800498C4 00046824 BB 41 01 08 */ lmw r26, 0x108(r1) -/* 800498C8 00046828 80 01 01 34 */ lwz r0, 0x134(r1) -/* 800498CC 0004682C 7C 08 03 A6 */ mtlr r0 -/* 800498D0 00046830 38 21 01 30 */ addi r1, r1, 0x130 -/* 800498D4 00046834 4E 80 00 20 */ blr - -.global MultiRayCollideWorld__13CStateManagerRC5CMRayRC15CMaterialFilter -MultiRayCollideWorld__13CStateManagerRC5CMRayRC15CMaterialFilter: -/* 800498D8 00046838 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800498DC 0004683C 7C 08 02 A6 */ mflr r0 -/* 800498E0 00046840 90 01 00 74 */ stw r0, 0x74(r1) -/* 800498E4 00046844 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800498E8 00046848 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800498EC 0004684C 7C BE 2B 78 */ mr r30, r5 -/* 800498F0 00046850 93 A1 00 64 */ stw r29, 0x64(r1) -/* 800498F4 00046854 7C 9D 23 78 */ mr r29, r4 -/* 800498F8 00046858 93 81 00 60 */ stw r28, 0x60(r1) -/* 800498FC 0004685C 7C 7C 1B 78 */ mr r28, r3 -/* 80049900 00046860 38 61 00 2C */ addi r3, r1, 0x2c -/* 80049904 00046864 C0 84 00 34 */ lfs f4, 0x34(r4) -/* 80049908 00046868 C0 64 00 30 */ lfs f3, 0x30(r4) -/* 8004990C 0004686C FC 20 20 50 */ fneg f1, f4 -/* 80049910 00046870 C0 A4 00 2C */ lfs f5, 0x2c(r4) -/* 80049914 00046874 EC 04 00 F2 */ fmuls f0, f4, f3 -/* 80049918 00046878 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 8004991C 0004687C EC 43 01 72 */ fmuls f2, f3, f5 -/* 80049920 00046880 38 81 00 20 */ addi r4, r1, 0x20 -/* 80049924 00046884 FC C0 08 18 */ frsp f6, f1 -/* 80049928 00046888 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8004992C 0004688C EC 25 01 78 */ fmsubs f1, f5, f5, f0 -/* 80049930 00046890 D0 A1 00 58 */ stfs f5, 0x58(r1) -/* 80049934 00046894 EC 05 01 B2 */ fmuls f0, f5, f6 -/* 80049938 00046898 EC 46 11 38 */ fmsubs f2, f6, f4, f2 -/* 8004993C 0004689C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80049940 000468A0 EC 03 00 F8 */ fmsubs f0, f3, f3, f0 -/* 80049944 000468A4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80049948 000468A8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8004994C 000468AC 48 2C AF 05 */ bl AsNormalized__9CVector3fCFv -/* 80049950 000468B0 C1 01 00 2C */ lfs f8, 0x2c(r1) -/* 80049954 000468B4 3B E0 00 00 */ li r31, 0 -/* 80049958 000468B8 C0 E1 00 30 */ lfs f7, 0x30(r1) -/* 8004995C 000468BC C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 80049960 000468C0 C0 7D 00 2C */ lfs f3, 0x2c(r29) -/* 80049964 000468C4 C0 9D 00 30 */ lfs f4, 0x30(r29) -/* 80049968 000468C8 C1 3D 00 34 */ lfs f9, 0x34(r29) -/* 8004996C 000468CC EC 06 00 F2 */ fmuls f0, f6, f3 -/* 80049970 000468D0 C0 A2 85 FC */ lfs f5, lbl_805AA31C@sda21(r2) -/* 80049974 000468D4 EC 48 01 32 */ fmuls f2, f8, f4 -/* 80049978 000468D8 EC 27 02 72 */ fmuls f1, f7, f9 -/* 8004997C 000468DC D1 01 00 44 */ stfs f8, 0x44(r1) -/* 80049980 000468E0 EC 09 02 38 */ fmsubs f0, f9, f8, f0 -/* 80049984 000468E4 EC 43 11 F8 */ fmsubs f2, f3, f7, f2 -/* 80049988 000468E8 D0 E1 00 48 */ stfs f7, 0x48(r1) -/* 8004998C 000468EC EC 24 09 B8 */ fmsubs f1, f4, f6, f1 -/* 80049990 000468F0 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80049994 000468F4 D0 C1 00 4C */ stfs f6, 0x4c(r1) -/* 80049998 000468F8 EC 65 00 B2 */ fmuls f3, f5, f2 -/* 8004999C 000468FC EC 85 00 72 */ fmuls f4, f5, f1 -/* 800499A0 00046900 EC 48 01 72 */ fmuls f2, f8, f5 -/* 800499A4 00046904 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800499A8 00046908 EC 27 01 72 */ fmuls f1, f7, f5 -/* 800499AC 0004690C EC 06 01 72 */ fmuls f0, f6, f5 -/* 800499B0 00046910 D0 81 00 50 */ stfs f4, 0x50(r1) -/* 800499B4 00046914 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 800499B8 00046918 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 800499BC 0004691C D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800499C0 00046920 D0 01 00 4C */ stfs f0, 0x4c(r1) -lbl_800499C4: -/* 800499C4 00046924 57 E0 07 BD */ rlwinm. r0, r31, 0, 0x1e, 0x1e -/* 800499C8 00046928 41 82 00 30 */ beq lbl_800499F8 -/* 800499CC 0004692C C0 41 00 50 */ lfs f2, 0x50(r1) -/* 800499D0 00046930 38 E1 00 08 */ addi r7, r1, 8 -/* 800499D4 00046934 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 800499D8 00046938 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 800499DC 0004693C FC 40 10 50 */ fneg f2, f2 -/* 800499E0 00046940 FC 20 08 50 */ fneg f1, f1 -/* 800499E4 00046944 FC 00 00 50 */ fneg f0, f0 -/* 800499E8 00046948 D0 41 00 08 */ stfs f2, 8(r1) -/* 800499EC 0004694C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800499F0 00046950 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800499F4 00046954 48 00 00 08 */ b lbl_800499FC -lbl_800499F8: -/* 800499F8 00046958 38 E1 00 50 */ addi r7, r1, 0x50 -lbl_800499FC: -/* 800499FC 0004695C 57 E0 07 FF */ clrlwi. r0, r31, 0x1f -/* 80049A00 00046960 41 82 00 0C */ beq lbl_80049A0C -/* 80049A04 00046964 39 01 00 44 */ addi r8, r1, 0x44 -/* 80049A08 00046968 48 00 00 2C */ b lbl_80049A34 -lbl_80049A0C: -/* 80049A0C 0004696C C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80049A10 00046970 39 01 00 14 */ addi r8, r1, 0x14 -/* 80049A14 00046974 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80049A18 00046978 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80049A1C 0004697C FC 40 10 50 */ fneg f2, f2 -/* 80049A20 00046980 FC 20 08 50 */ fneg f1, f1 -/* 80049A24 00046984 FC 00 00 50 */ fneg f0, f0 -/* 80049A28 00046988 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80049A2C 0004698C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80049A30 00046990 D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_80049A34: -/* 80049A34 00046994 C0 7D 00 04 */ lfs f3, 4(r29) -/* 80049A38 00046998 7F 83 E3 78 */ mr r3, r28 -/* 80049A3C 0004699C C0 48 00 04 */ lfs f2, 4(r8) -/* 80049A40 000469A0 7F C6 F3 78 */ mr r6, r30 -/* 80049A44 000469A4 C0 3D 00 08 */ lfs f1, 8(r29) -/* 80049A48 000469A8 38 81 00 38 */ addi r4, r1, 0x38 -/* 80049A4C 000469AC C0 08 00 08 */ lfs f0, 8(r8) -/* 80049A50 000469B0 EC C3 10 2A */ fadds f6, f3, f2 -/* 80049A54 000469B4 C0 A7 00 04 */ lfs f5, 4(r7) -/* 80049A58 000469B8 38 BD 00 2C */ addi r5, r29, 0x2c -/* 80049A5C 000469BC C0 5D 00 00 */ lfs f2, 0(r29) -/* 80049A60 000469C0 EC 81 00 2A */ fadds f4, f1, f0 -/* 80049A64 000469C4 C0 28 00 00 */ lfs f1, 0(r8) -/* 80049A68 000469C8 C0 67 00 08 */ lfs f3, 8(r7) -/* 80049A6C 000469CC EC A6 28 2A */ fadds f5, f6, f5 -/* 80049A70 000469D0 C0 07 00 00 */ lfs f0, 0(r7) -/* 80049A74 000469D4 EC 42 08 2A */ fadds f2, f2, f1 -/* 80049A78 000469D8 EC 64 18 2A */ fadds f3, f4, f3 -/* 80049A7C 000469DC C0 3D 00 24 */ lfs f1, 0x24(r29) -/* 80049A80 000469E0 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 80049A84 000469E4 EC 02 00 2A */ fadds f0, f2, f0 -/* 80049A88 000469E8 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 80049A8C 000469EC D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80049A90 000469F0 48 13 B1 69 */ bl RayStaticIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80049A94 000469F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80049A98 000469F8 40 82 00 10 */ bne lbl_80049AA8 -/* 80049A9C 000469FC 3B FF 00 01 */ addi r31, r31, 1 -/* 80049AA0 00046A00 2C 1F 00 04 */ cmpwi r31, 4 -/* 80049AA4 00046A04 41 80 FF 20 */ blt lbl_800499C4 -lbl_80049AA8: -/* 80049AA8 00046A08 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80049AAC 00046A0C 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 80049AB0 00046A10 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80049AB4 00046A14 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80049AB8 00046A18 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80049ABC 00046A1C 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80049AC0 00046A20 7C 08 03 A6 */ mtlr r0 -/* 80049AC4 00046A24 38 21 00 70 */ addi r1, r1, 0x70 -/* 80049AC8 00046A28 4E 80 00 20 */ blr - -.global TestBombHittingWater__13CStateManagerFRC6CActorRC9CVector3fR6CActor -TestBombHittingWater__13CStateManagerFRC6CActorRC9CVector3fR6CActor: -/* 80049ACC 00046A2C 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80049AD0 00046A30 7C 08 02 A6 */ mflr r0 -/* 80049AD4 00046A34 90 01 01 14 */ stw r0, 0x114(r1) -/* 80049AD8 00046A38 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 80049ADC 00046A3C F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 80049AE0 00046A40 DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 80049AE4 00046A44 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 80049AE8 00046A48 BF 41 00 D8 */ stmw r26, 0xd8(r1) -/* 80049AEC 00046A4C 7C 7E 1B 78 */ mr r30, r3 -/* 80049AF0 00046A50 7C 9F 23 78 */ mr r31, r4 -/* 80049AF4 00046A54 7C BA 2B 78 */ mr r26, r5 -/* 80049AF8 00046A58 7C DB 33 78 */ mr r27, r6 -/* 80049AFC 00046A5C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80049B00 00046A60 3B 80 00 00 */ li r28, 0 -/* 80049B04 00046A64 48 05 BE 01 */ bl "__ct__20TCastToPtr<7CWeapon>FR7CEntity" -/* 80049B08 00046A68 80 63 00 04 */ lwz r3, 4(r3) -/* 80049B0C 00046A6C 28 03 00 00 */ cmplwi r3, 0 -/* 80049B10 00046A70 41 82 02 A0 */ beq lbl_80049DB0 -/* 80049B14 00046A74 80 63 00 E8 */ lwz r3, 0xe8(r3) -/* 80049B18 00046A78 54 60 05 AF */ rlwinm. r0, r3, 0, 0x16, 0x17 -/* 80049B1C 00046A7C 41 82 02 94 */ beq lbl_80049DB0 -/* 80049B20 00046A80 54 60 05 AD */ rlwinm. r0, r3, 0, 0x16, 0x16 -/* 80049B24 00046A84 41 82 00 08 */ beq lbl_80049B2C -/* 80049B28 00046A88 3B 80 00 01 */ li r28, 1 -lbl_80049B2C: -/* 80049B2C 00046A8C 7F 64 DB 78 */ mr r4, r27 -/* 80049B30 00046A90 38 61 00 38 */ addi r3, r1, 0x38 -/* 80049B34 00046A94 48 05 CD 99 */ bl "__ct__26TCastToPtr<12CScriptWater>FR7CEntity" -/* 80049B38 00046A98 83 63 00 04 */ lwz r27, 4(r3) -/* 80049B3C 00046A9C 28 1B 00 00 */ cmplwi r27, 0 -/* 80049B40 00046AA0 41 82 02 70 */ beq lbl_80049DB0 -/* 80049B44 00046AA4 7F 64 DB 78 */ mr r4, r27 -/* 80049B48 00046AA8 38 61 00 74 */ addi r3, r1, 0x74 -/* 80049B4C 00046AAC 48 02 CB 81 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80049B50 00046AB0 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 80049B54 00046AB4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80049B58 00046AB8 C0 61 00 88 */ lfs f3, 0x88(r1) -/* 80049B5C 00046ABC C0 9A 00 04 */ lfs f4, 4(r26) -/* 80049B60 00046AC0 C0 5A 00 00 */ lfs f2, 0(r26) -/* 80049B64 00046AC4 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 80049B68 00046AC8 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 80049B6C 00046ACC D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 80049B70 00046AD0 D0 61 00 70 */ stfs f3, 0x70(r1) -/* 80049B74 00046AD4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80049B78 00046AD8 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80049B7C 00046ADC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80049B80 00046AE0 48 2C AD 79 */ bl Normalize__9CVector3fFv -/* 80049B84 00046AE4 7F 64 DB 78 */ mr r4, r27 -/* 80049B88 00046AE8 38 61 00 8C */ addi r3, r1, 0x8c -/* 80049B8C 00046AEC 48 02 CB 41 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80049B90 00046AF0 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 80049B94 00046AF4 57 9D 10 3A */ slwi r29, r28, 2 -/* 80049B98 00046AF8 C0 1A 00 04 */ lfs f0, 4(r26) -/* 80049B9C 00046AFC 38 62 85 44 */ addi r3, r2, lbl_805AA264@sda21 -/* 80049BA0 00046B00 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 80049BA4 00046B04 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80049BA8 00046B08 C0 3A 00 00 */ lfs f1, 0(r26) -/* 80049BAC 00046B0C C0 41 00 48 */ lfs f2, 0x48(r1) -/* 80049BB0 00046B10 C0 A1 00 A0 */ lfs f5, 0xa0(r1) -/* 80049BB4 00046B14 EC 04 00 7A */ fmadds f0, f4, f1, f0 -/* 80049BB8 00046B18 C0 3A 00 08 */ lfs f1, 8(r26) -/* 80049BBC 00046B1C 7C C3 EC 2E */ lfsx f6, r3, r29 -/* 80049BC0 00046B20 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 80049BC4 00046B24 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80049BC8 00046B28 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 80049BCC 00046B2C EC 00 28 28 */ fsubs f0, f0, f5 -/* 80049BD0 00046B30 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80049BD4 00046B34 D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 80049BD8 00046B38 FC 20 00 50 */ fneg f1, f0 -/* 80049BDC 00046B3C FC 01 30 40 */ fcmpo cr0, f1, f6 -/* 80049BE0 00046B40 4C 40 13 82 */ cror 2, 0, 2 -/* 80049BE4 00046B44 40 82 00 DC */ bne lbl_80049CC0 -/* 80049BE8 00046B48 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80049BEC 00046B4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80049BF0 00046B50 40 81 00 D0 */ ble lbl_80049CC0 -/* 80049BF4 00046B54 EC 01 30 24 */ fdivs f0, f1, f6 -/* 80049BF8 00046B58 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80049BFC 00046B5C C0 22 85 64 */ lfs f1, lbl_805AA284@sda21(r2) -/* 80049C00 00046B60 38 81 00 2C */ addi r4, r1, 0x2c -/* 80049C04 00046B64 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 80049C08 00046B68 B0 01 00 28 */ sth r0, 0x28(r1) -/* 80049C0C 00046B6C EF C1 00 28 */ fsubs f30, f1, f0 -/* 80049C10 00046B70 80 7E 08 7C */ lwz r3, 0x87c(r30) -/* 80049C14 00046B74 48 0E 59 6D */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId -/* 80049C18 00046B78 C0 02 86 00 */ lfs f0, lbl_805AA320@sda21(r2) -/* 80049C1C 00046B7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80049C20 00046B80 4C 41 13 82 */ cror 2, 1, 2 -/* 80049C24 00046B84 40 82 00 64 */ bne lbl_80049C88 -/* 80049C28 00046B88 C0 22 85 D0 */ lfs f1, lbl_805AA2F0@sda21(r2) -/* 80049C2C 00046B8C 38 62 85 54 */ addi r3, r2, lbl_805AA274@sda21 -/* 80049C30 00046B90 C0 02 85 70 */ lfs f0, lbl_805AA290@sda21(r2) -/* 80049C34 00046B94 EC 21 07 B2 */ fmuls f1, f1, f30 -/* 80049C38 00046B98 7F E3 EC 2E */ lfsx f31, r3, r29 -/* 80049C3C 00046B9C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80049C40 00046BA0 48 2C B1 B1 */ bl FastSinR__5CMathFf -/* 80049C44 00046BA4 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80049C48 00046BA8 7F 66 DB 78 */ mr r6, r27 -/* 80049C4C 00046BAC C0 02 86 08 */ lfs f0, lbl_805AA328@sda21(r2) -/* 80049C50 00046BB0 7F C7 F3 78 */ mr r7, r30 -/* 80049C54 00046BB4 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80049C58 00046BB8 38 81 00 24 */ addi r4, r1, 0x24 -/* 80049C5C 00046BBC EC 40 07 F2 */ fmuls f2, f0, f31 -/* 80049C60 00046BC0 C0 02 86 04 */ lfs f0, lbl_805AA324@sda21(r2) -/* 80049C64 00046BC4 80 7B 01 B4 */ lwz r3, 0x1b4(r27) -/* 80049C68 00046BC8 38 A1 00 68 */ addi r5, r1, 0x68 -/* 80049C6C 00046BCC B0 01 00 20 */ sth r0, 0x20(r1) -/* 80049C70 00046BD0 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80049C74 00046BD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80049C78 00046BD8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80049C7C 00046BDC EC 20 0F FA */ fmadds f1, f0, f31, f1 -/* 80049C80 00046BE0 7D 89 03 A6 */ mtctr r12 -/* 80049C84 00046BE4 4E 80 04 21 */ bctrl -lbl_80049C88: -/* 80049C88 00046BE8 2C 1C 00 00 */ cmpwi r28, 0 -/* 80049C8C 00046BEC 40 82 01 24 */ bne lbl_80049DB0 -/* 80049C90 00046BF0 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80049C94 00046BF4 FC 20 F0 90 */ fmr f1, f30 -/* 80049C98 00046BF8 7F C5 F3 78 */ mr r5, r30 -/* 80049C9C 00046BFC 7F 66 DB 78 */ mr r6, r27 -/* 80049CA0 00046C00 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80049CA4 00046C04 38 81 00 1C */ addi r4, r1, 0x1c -/* 80049CA8 00046C08 38 E1 00 68 */ addi r7, r1, 0x68 -/* 80049CAC 00046C0C B0 01 00 18 */ sth r0, 0x18(r1) -/* 80049CB0 00046C10 39 00 00 01 */ li r8, 1 -/* 80049CB4 00046C14 80 7E 08 7C */ lwz r3, 0x87c(r30) -/* 80049CB8 00046C18 48 0E 56 01 */ bl CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb -/* 80049CBC 00046C1C 48 00 00 F4 */ b lbl_80049DB0 -lbl_80049CC0: -/* 80049CC0 00046C20 3B 82 85 4C */ addi r28, r2, lbl_805AA26C@sda21 -/* 80049CC4 00046C24 7C 1C EC 2E */ lfsx f0, r28, r29 -/* 80049CC8 00046C28 FC 00 00 50 */ fneg f0, f0 -/* 80049CCC 00046C2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80049CD0 00046C30 40 81 00 E0 */ ble lbl_80049DB0 -/* 80049CD4 00046C34 C0 42 85 68 */ lfs f2, lbl_805AA288@sda21(r2) -/* 80049CD8 00046C38 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80049CDC 00046C3C 40 80 00 D4 */ bge lbl_80049DB0 -/* 80049CE0 00046C40 FF E0 08 50 */ fneg f31, f1 -/* 80049CE4 00046C44 C0 02 85 A0 */ lfs f0, lbl_805AA2C0@sda21(r2) -/* 80049CE8 00046C48 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 80049CEC 00046C4C D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 80049CF0 00046C50 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l -/* 80049CF4 00046C54 7F C4 F3 78 */ mr r4, r30 -/* 80049CF8 00046C58 FC 20 F8 90 */ fmr f1, f31 -/* 80049CFC 00046C5C D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80049D00 00046C60 7F 45 D3 78 */ mr r5, r26 -/* 80049D04 00046C64 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80049D08 00046C68 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80049D0C 00046C6C 38 C1 00 4C */ addi r6, r1, 0x4c -/* 80049D10 00046C70 48 00 32 89 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80049D14 00046C74 88 01 00 C8 */ lbz r0, 0xc8(r1) -/* 80049D18 00046C78 28 00 00 00 */ cmplwi r0, 0 -/* 80049D1C 00046C7C 40 82 00 94 */ bne lbl_80049DB0 -/* 80049D20 00046C80 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80049D24 00046C84 38 81 00 14 */ addi r4, r1, 0x14 -/* 80049D28 00046C88 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80049D2C 00046C8C B0 01 00 10 */ sth r0, 0x10(r1) -/* 80049D30 00046C90 80 7E 08 7C */ lwz r3, 0x87c(r30) -/* 80049D34 00046C94 48 0E 58 4D */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId -/* 80049D38 00046C98 C0 02 86 00 */ lfs f0, lbl_805AA320@sda21(r2) -/* 80049D3C 00046C9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80049D40 00046CA0 4C 41 13 82 */ cror 2, 1, 2 -/* 80049D44 00046CA4 40 82 00 6C */ bne lbl_80049DB0 -/* 80049D48 00046CA8 7C 1C EC 2E */ lfsx f0, r28, r29 -/* 80049D4C 00046CAC 38 62 85 5C */ addi r3, r2, lbl_805AA27C@sda21 -/* 80049D50 00046CB0 C0 42 85 D0 */ lfs f2, lbl_805AA2F0@sda21(r2) -/* 80049D54 00046CB4 EC 3F 00 24 */ fdivs f1, f31, f0 -/* 80049D58 00046CB8 C0 02 85 70 */ lfs f0, lbl_805AA290@sda21(r2) -/* 80049D5C 00046CBC 7F E3 EC 2E */ lfsx f31, r3, r29 -/* 80049D60 00046CC0 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80049D64 00046CC4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80049D68 00046CC8 48 2C B0 89 */ bl FastSinR__5CMathFf -/* 80049D6C 00046CCC A0 1F 00 08 */ lhz r0, 8(r31) -/* 80049D70 00046CD0 7F 66 DB 78 */ mr r6, r27 -/* 80049D74 00046CD4 C0 02 86 08 */ lfs f0, lbl_805AA328@sda21(r2) -/* 80049D78 00046CD8 7F C7 F3 78 */ mr r7, r30 -/* 80049D7C 00046CDC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80049D80 00046CE0 38 81 00 0C */ addi r4, r1, 0xc -/* 80049D84 00046CE4 EC 40 07 F2 */ fmuls f2, f0, f31 -/* 80049D88 00046CE8 C0 02 86 04 */ lfs f0, lbl_805AA324@sda21(r2) -/* 80049D8C 00046CEC 80 7B 01 B4 */ lwz r3, 0x1b4(r27) -/* 80049D90 00046CF0 38 A1 00 68 */ addi r5, r1, 0x68 -/* 80049D94 00046CF4 B0 01 00 08 */ sth r0, 8(r1) -/* 80049D98 00046CF8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80049D9C 00046CFC 81 83 00 00 */ lwz r12, 0(r3) -/* 80049DA0 00046D00 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80049DA4 00046D04 EC 20 0F FA */ fmadds f1, f0, f31, f1 -/* 80049DA8 00046D08 7D 89 03 A6 */ mtctr r12 -/* 80049DAC 00046D0C 4E 80 04 21 */ bctrl -lbl_80049DB0: -/* 80049DB0 00046D10 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 80049DB4 00046D14 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 80049DB8 00046D18 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 80049DBC 00046D1C CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 80049DC0 00046D20 BB 41 00 D8 */ lmw r26, 0xd8(r1) -/* 80049DC4 00046D24 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80049DC8 00046D28 7C 08 03 A6 */ mtlr r0 -/* 80049DCC 00046D2C 38 21 01 10 */ addi r1, r1, 0x110 -/* 80049DD0 00046D30 4E 80 00 20 */ blr - -.global ApplyLocalDamage__13CStateManagerFRC9CVector3fRC9CVector3fR6CActorfRC11CWeaponMode -ApplyLocalDamage__13CStateManagerFRC9CVector3fRC9CVector3fR6CActorfRC11CWeaponMode: -/* 80049DD4 00046D34 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80049DD8 00046D38 7C 08 02 A6 */ mflr r0 -/* 80049DDC 00046D3C 90 01 00 84 */ stw r0, 0x84(r1) -/* 80049DE0 00046D40 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80049DE4 00046D44 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80049DE8 00046D48 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80049DEC 00046D4C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80049DF0 00046D50 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80049DF4 00046D54 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80049DF8 00046D58 BF 01 00 30 */ stmw r24, 0x30(r1) -/* 80049DFC 00046D5C 7C D8 33 78 */ mr r24, r6 -/* 80049E00 00046D60 7C 79 1B 78 */ mr r25, r3 -/* 80049E04 00046D64 7F 03 C3 78 */ mr r3, r24 -/* 80049E08 00046D68 7C 9A 23 78 */ mr r26, r4 -/* 80049E0C 00046D6C 81 98 00 00 */ lwz r12, 0(r24) -/* 80049E10 00046D70 FF A0 08 90 */ fmr f29, f1 -/* 80049E14 00046D74 7C BB 2B 78 */ mr r27, r5 -/* 80049E18 00046D78 7C FC 3B 78 */ mr r28, r7 -/* 80049E1C 00046D7C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80049E20 00046D80 7F 24 CB 78 */ mr r4, r25 -/* 80049E24 00046D84 7D 89 03 A6 */ mtctr r12 -/* 80049E28 00046D88 4E 80 04 21 */ bctrl -/* 80049E2C 00046D8C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80049E30 00046D90 41 82 00 10 */ beq lbl_80049E40 -/* 80049E34 00046D94 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80049E38 00046D98 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80049E3C 00046D9C 40 80 00 0C */ bge lbl_80049E48 -lbl_80049E40: -/* 80049E40 00046DA0 38 60 00 00 */ li r3, 0 -/* 80049E44 00046DA4 48 00 02 30 */ b lbl_8004A074 -lbl_80049E48: -/* 80049E48 00046DA8 C3 FF 00 00 */ lfs f31, 0(r31) -/* 80049E4C 00046DAC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80049E50 00046DB0 4C 40 13 82 */ cror 2, 0, 2 -/* 80049E54 00046DB4 40 82 00 0C */ bne lbl_80049E60 -/* 80049E58 00046DB8 38 60 00 01 */ li r3, 1 -/* 80049E5C 00046DBC 48 00 02 18 */ b lbl_8004A074 -lbl_80049E60: -/* 80049E60 00046DC0 FF C0 E8 90 */ fmr f30, f29 -/* 80049E64 00046DC4 7F 04 C3 78 */ mr r4, r24 -/* 80049E68 00046DC8 38 61 00 24 */ addi r3, r1, 0x24 -/* 80049E6C 00046DCC 48 06 25 95 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -/* 80049E70 00046DD0 83 C3 00 04 */ lwz r30, 4(r3) -/* 80049E74 00046DD4 7F 04 C3 78 */ mr r4, r24 -/* 80049E78 00046DD8 38 61 00 1C */ addi r3, r1, 0x1c -/* 80049E7C 00046DDC 48 06 2C 4D */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity" -/* 80049E80 00046DE0 83 A3 00 04 */ lwz r29, 4(r3) -/* 80049E84 00046DE4 28 1D 00 00 */ cmplwi r29, 0 -/* 80049E88 00046DE8 40 82 00 14 */ bne lbl_80049E9C -/* 80049E8C 00046DEC 7F 04 C3 78 */ mr r4, r24 -/* 80049E90 00046DF0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80049E94 00046DF4 48 06 51 AD */ bl "__ct__30TCastToPtr<16CDestroyableRock>FP7CEntity" -/* 80049E98 00046DF8 83 A3 00 04 */ lwz r29, 4(r3) -lbl_80049E9C: -/* 80049E9C 00046DFC 28 1E 00 00 */ cmplwi r30, 0 -/* 80049EA0 00046E00 41 82 00 FC */ beq lbl_80049F9C -/* 80049EA4 00046E04 80 79 08 70 */ lwz r3, 0x870(r25) -/* 80049EA8 00046E08 4B FC 0A 59 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 80049EAC 00046E0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80049EB0 00046E10 40 82 00 28 */ bne lbl_80049ED8 -/* 80049EB4 00046E14 80 1C 00 00 */ lwz r0, 0(r28) -/* 80049EB8 00046E18 2C 00 00 08 */ cmpwi r0, 8 -/* 80049EBC 00046E1C 40 82 00 24 */ bne lbl_80049EE0 -/* 80049EC0 00046E20 80 79 08 B8 */ lwz r3, 0x8b8(r25) -/* 80049EC4 00046E24 38 80 00 17 */ li r4, 0x17 -/* 80049EC8 00046E28 80 63 00 00 */ lwz r3, 0(r3) -/* 80049ECC 00046E2C 48 04 7B F5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80049ED0 00046E30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80049ED4 00046E34 41 82 00 0C */ beq lbl_80049EE0 -lbl_80049ED8: -/* 80049ED8 00046E38 38 60 00 00 */ li r3, 0 -/* 80049EDC 00046E3C 48 00 01 98 */ b lbl_8004A074 -lbl_80049EE0: -/* 80049EE0 00046E40 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80049EE4 00046E44 88 03 02 28 */ lbz r0, 0x228(r3) -/* 80049EE8 00046E48 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80049EEC 00046E4C 41 82 00 0C */ beq lbl_80049EF8 -/* 80049EF0 00046E50 48 18 99 C9 */ bl GetHardModeDamageMultiplier__10CGameStateCFv -/* 80049EF4 00046E54 EF DE 00 72 */ fmuls f30, f30, f1 -lbl_80049EF8: -/* 80049EF8 00046E58 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80049EFC 00046E5C 38 80 00 16 */ li r4, 0x16 -/* 80049F00 00046E60 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80049F04 00046E64 80 79 08 B8 */ lwz r3, 0x8b8(r25) -/* 80049F08 00046E68 80 63 00 00 */ lwz r3, 0(r3) -/* 80049F0C 00046E6C 48 04 7B B5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80049F10 00046E70 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80049F14 00046E74 41 82 00 10 */ beq lbl_80049F24 -/* 80049F18 00046E78 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80049F1C 00046E7C C0 03 03 00 */ lfs f0, 0x300(r3) -/* 80049F20 00046E80 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_80049F24: -/* 80049F24 00046E84 80 79 08 B8 */ lwz r3, 0x8b8(r25) -/* 80049F28 00046E88 38 80 00 15 */ li r4, 0x15 -/* 80049F2C 00046E8C 80 63 00 00 */ lwz r3, 0(r3) -/* 80049F30 00046E90 48 04 7B 91 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80049F34 00046E94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80049F38 00046E98 41 82 00 24 */ beq lbl_80049F5C -/* 80049F3C 00046E9C 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) -/* 80049F40 00046EA0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80049F44 00046EA4 38 81 00 0C */ addi r4, r1, 0xc -/* 80049F48 00046EA8 C0 05 03 04 */ lfs f0, 0x304(r5) -/* 80049F4C 00046EAC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80049F50 00046EB0 48 00 57 E1 */ bl "Max__5CMathFRCfRCf" -/* 80049F54 00046EB4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80049F58 00046EB8 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_80049F5C: -/* 80049F5C 00046EBC 80 79 08 B8 */ lwz r3, 0x8b8(r25) -/* 80049F60 00046EC0 38 80 00 17 */ li r4, 0x17 -/* 80049F64 00046EC4 80 63 00 00 */ lwz r3, 0(r3) -/* 80049F68 00046EC8 48 04 7B 59 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80049F6C 00046ECC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80049F70 00046ED0 41 82 00 24 */ beq lbl_80049F94 -/* 80049F74 00046ED4 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) -/* 80049F78 00046ED8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80049F7C 00046EDC 38 81 00 08 */ addi r4, r1, 8 -/* 80049F80 00046EE0 C0 05 03 08 */ lfs f0, 0x308(r5) -/* 80049F84 00046EE4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80049F88 00046EE8 48 00 57 A9 */ bl "Max__5CMathFRCfRCf" -/* 80049F8C 00046EEC C0 03 00 00 */ lfs f0, 0(r3) -/* 80049F90 00046EF0 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_80049F94: -/* 80049F94 00046EF4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80049F98 00046EF8 EF C0 F7 BC */ fnmsubs f30, f0, f30, f30 -lbl_80049F9C: -/* 80049F9C 00046EFC EF BF F0 28 */ fsubs f29, f31, f30 -/* 80049FA0 00046F00 C8 02 86 10 */ lfd f0, lbl_805AA330@sda21(r2) -/* 80049FA4 00046F04 EC 3D F8 28 */ fsubs f1, f29, f31 -/* 80049FA8 00046F08 D3 BF 00 00 */ stfs f29, 0(r31) -/* 80049FAC 00046F0C FC 20 0A 10 */ fabs f1, f1 -/* 80049FB0 00046F10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80049FB4 00046F14 7C 00 00 26 */ mfcr r0 -/* 80049FB8 00046F18 28 1E 00 00 */ cmplwi r30, 0 -/* 80049FBC 00046F1C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80049FC0 00046F20 7C 00 00 34 */ cntlzw r0, r0 -/* 80049FC4 00046F24 54 1F D9 7E */ srwi r31, r0, 5 -/* 80049FC8 00046F28 41 82 00 4C */ beq lbl_8004A014 -/* 80049FCC 00046F2C FC 20 F0 90 */ fmr f1, f30 -/* 80049FD0 00046F30 80 DC 00 00 */ lwz r6, 0(r28) -/* 80049FD4 00046F34 7F C3 F3 78 */ mr r3, r30 -/* 80049FD8 00046F38 7F 45 D3 78 */ mr r5, r26 -/* 80049FDC 00046F3C 7F 27 CB 78 */ mr r7, r25 -/* 80049FE0 00046F40 57 E4 06 3E */ clrlwi r4, r31, 0x18 -/* 80049FE4 00046F44 4B FC 85 59 */ bl TakeDamage__7CPlayerFbRC9CVector3ff11EWeaponTypeR13CStateManager -/* 80049FE8 00046F48 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 80049FEC 00046F4C FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80049FF0 00046F50 4C 40 13 82 */ cror 2, 0, 2 -/* 80049FF4 00046F54 40 82 00 7C */ bne lbl_8004A070 -/* 80049FF8 00046F58 80 79 08 B8 */ lwz r3, 0x8b8(r25) -/* 80049FFC 00046F5C 38 80 00 00 */ li r4, 0 -/* 8004A000 00046F60 80 63 00 00 */ lwz r3, 0(r3) -/* 8004A004 00046F64 88 03 00 00 */ lbz r0, 0(r3) -/* 8004A008 00046F68 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8004A00C 00046F6C 98 03 00 00 */ stb r0, 0(r3) -/* 8004A010 00046F70 48 00 00 60 */ b lbl_8004A070 -lbl_8004A014: -/* 8004A014 00046F74 28 1D 00 00 */ cmplwi r29, 0 -/* 8004A018 00046F78 41 82 00 58 */ beq lbl_8004A070 -/* 8004A01C 00046F7C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8004A020 00046F80 41 82 00 20 */ beq lbl_8004A040 -/* 8004A024 00046F84 7F A3 EB 78 */ mr r3, r29 -/* 8004A028 00046F88 FC 20 F0 90 */ fmr f1, f30 -/* 8004A02C 00046F8C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8004A030 00046F90 7F 64 DB 78 */ mr r4, r27 -/* 8004A034 00046F94 81 8C 00 90 */ lwz r12, 0x90(r12) -/* 8004A038 00046F98 7D 89 03 A6 */ mtctr r12 -/* 8004A03C 00046F9C 4E 80 04 21 */ bctrl -lbl_8004A040: -/* 8004A040 00046FA0 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004A044 00046FA4 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8004A048 00046FA8 4C 40 13 82 */ cror 2, 0, 2 -/* 8004A04C 00046FAC 40 82 00 24 */ bne lbl_8004A070 -/* 8004A050 00046FB0 7F A3 EB 78 */ mr r3, r29 -/* 8004A054 00046FB4 7F 24 CB 78 */ mr r4, r25 -/* 8004A058 00046FB8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8004A05C 00046FBC 7F 65 DB 78 */ mr r5, r27 -/* 8004A060 00046FC0 38 C0 00 14 */ li r6, 0x14 -/* 8004A064 00046FC4 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 8004A068 00046FC8 7D 89 03 A6 */ mtctr r12 -/* 8004A06C 00046FCC 4E 80 04 21 */ bctrl -lbl_8004A070: -/* 8004A070 00046FD0 57 E3 06 3E */ clrlwi r3, r31, 0x18 -lbl_8004A074: -/* 8004A074 00046FD4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8004A078 00046FD8 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8004A07C 00046FDC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8004A080 00046FE0 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8004A084 00046FE4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8004A088 00046FE8 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8004A08C 00046FEC BB 01 00 30 */ lmw r24, 0x30(r1) -/* 8004A090 00046FF0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8004A094 00046FF4 7C 08 03 A6 */ mtlr r0 -/* 8004A098 00046FF8 38 21 00 80 */ addi r1, r1, 0x80 -/* 8004A09C 00046FFC 4E 80 00 20 */ blr - -.global ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f: -/* 8004A0A0 00047000 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8004A0A4 00047004 7C 08 02 A6 */ mflr r0 -/* 8004A0A8 00047008 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8004A0AC 0004700C BE A1 00 94 */ stmw r21, 0x94(r1) -/* 8004A0B0 00047010 7C 97 23 78 */ mr r23, r4 -/* 8004A0B4 00047014 7C 76 1B 78 */ mr r22, r3 -/* 8004A0B8 00047018 7C B5 2B 78 */ mr r21, r5 -/* 8004A0BC 0004701C 7C D8 33 78 */ mr r24, r6 -/* 8004A0C0 00047020 7C F9 3B 78 */ mr r25, r7 -/* 8004A0C4 00047024 7D 1A 43 78 */ mr r26, r8 -/* 8004A0C8 00047028 7D 3B 4B 78 */ mr r27, r9 -/* 8004A0CC 0004702C A0 04 00 00 */ lhz r0, 0(r4) -/* 8004A0D0 00047030 38 81 00 18 */ addi r4, r1, 0x18 -/* 8004A0D4 00047034 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8004A0D8 00047038 48 00 24 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8004A0DC 0004703C A0 15 00 00 */ lhz r0, 0(r21) -/* 8004A0E0 00047040 7C 75 1B 78 */ mr r21, r3 -/* 8004A0E4 00047044 7E C3 B3 78 */ mr r3, r22 -/* 8004A0E8 00047048 38 81 00 14 */ addi r4, r1, 0x14 -/* 8004A0EC 0004704C B0 01 00 14 */ sth r0, 0x14(r1) -/* 8004A0F0 00047050 48 00 24 85 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8004A0F4 00047054 7C 7F 1B 78 */ mr r31, r3 -/* 8004A0F8 00047058 7E A4 AB 78 */ mr r4, r21 -/* 8004A0FC 0004705C 38 61 00 24 */ addi r3, r1, 0x24 -/* 8004A100 00047060 48 06 5B 91 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8004A104 00047064 83 C3 00 04 */ lwz r30, 4(r3) -/* 8004A108 00047068 7F E4 FB 78 */ mr r4, r31 -/* 8004A10C 0004706C 38 61 00 34 */ addi r3, r1, 0x34 -/* 8004A110 00047070 48 06 5B 81 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8004A114 00047074 83 A3 00 04 */ lwz r29, 4(r3) -/* 8004A118 00047078 7F E4 FB 78 */ mr r4, r31 -/* 8004A11C 0004707C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8004A120 00047080 48 06 22 75 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -/* 8004A124 00047084 80 63 00 04 */ lwz r3, 4(r3) -/* 8004A128 00047088 28 1D 00 00 */ cmplwi r29, 0 -/* 8004A12C 0004708C 7C 03 00 D0 */ neg r0, r3 -/* 8004A130 00047090 7C 00 1B 78 */ or r0, r0, r3 -/* 8004A134 00047094 54 15 0F FE */ srwi r21, r0, 0x1f -/* 8004A138 00047098 41 82 03 08 */ beq lbl_8004A440 -/* 8004A13C 0004709C 7F A3 EB 78 */ mr r3, r29 -/* 8004A140 000470A0 7E C4 B3 78 */ mr r4, r22 -/* 8004A144 000470A4 81 9D 00 00 */ lwz r12, 0(r29) -/* 8004A148 000470A8 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8004A14C 000470AC 7D 89 03 A6 */ mtctr r12 -/* 8004A150 000470B0 4E 80 04 21 */ bctrl -/* 8004A154 000470B4 28 03 00 00 */ cmplwi r3, 0 -/* 8004A158 000470B8 41 82 02 4C */ beq lbl_8004A3A4 -/* 8004A15C 000470BC C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 8004A160 000470C0 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 8004A164 000470C4 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 8004A168 000470C8 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8004A16C 000470CC D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 8004A170 000470D0 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8004A174 000470D4 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 8004A178 000470D8 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 8004A17C 000470DC C0 03 00 00 */ lfs f0, 0(r3) -/* 8004A180 000470E0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8004A184 000470E4 7C 00 00 26 */ mfcr r0 -/* 8004A188 000470E8 28 1E 00 00 */ cmplwi r30, 0 -/* 8004A18C 000470EC 54 1C 17 FE */ rlwinm r28, r0, 2, 0x1f, 0x1f -/* 8004A190 000470F0 41 82 00 34 */ beq lbl_8004A1C4 -/* 8004A194 000470F4 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8004A198 000470F8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8004A19C 000470FC C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8004A1A0 00047100 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 8004A1A4 00047104 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8004A1A8 00047108 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 8004A1AC 0004710C C0 5E 00 58 */ lfs f2, 0x58(r30) -/* 8004A1B0 00047110 C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 8004A1B4 00047114 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8004A1B8 00047118 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8004A1BC 0004711C D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 8004A1C0 00047120 D0 41 00 80 */ stfs f2, 0x80(r1) -lbl_8004A1C4: -/* 8004A1C4 00047124 28 1E 00 00 */ cmplwi r30, 0 -/* 8004A1C8 00047128 38 00 00 00 */ li r0, 0 -/* 8004A1CC 0004712C 40 82 00 0C */ bne lbl_8004A1D8 -/* 8004A1D0 00047130 28 15 00 00 */ cmplwi r21, 0 -/* 8004A1D4 00047134 41 82 00 08 */ beq lbl_8004A1DC -lbl_8004A1D8: -/* 8004A1D8 00047138 38 00 00 01 */ li r0, 1 -lbl_8004A1DC: -/* 8004A1DC 0004713C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8004A1E0 00047140 41 82 00 28 */ beq lbl_8004A208 -/* 8004A1E4 00047144 7F A3 EB 78 */ mr r3, r29 -/* 8004A1E8 00047148 7F 26 CB 78 */ mr r6, r25 -/* 8004A1EC 0004714C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8004A1F0 00047150 38 81 00 84 */ addi r4, r1, 0x84 -/* 8004A1F4 00047154 38 A1 00 78 */ addi r5, r1, 0x78 -/* 8004A1F8 00047158 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 8004A1FC 0004715C 7D 89 03 A6 */ mtctr r12 -/* 8004A200 00047160 4E 80 04 21 */ bctrl -/* 8004A204 00047164 48 00 00 18 */ b lbl_8004A21C -lbl_8004A208: -/* 8004A208 00047168 7F A3 EB 78 */ mr r3, r29 -/* 8004A20C 0004716C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8004A210 00047170 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8004A214 00047174 7D 89 03 A6 */ mtctr r12 -/* 8004A218 00047178 4E 80 04 21 */ bctrl -lbl_8004A21C: -/* 8004A21C 0004717C 80 19 00 00 */ lwz r0, 0(r25) -/* 8004A220 00047180 7C 75 1B 78 */ mr r21, r3 -/* 8004A224 00047184 2C 00 FF FF */ cmpwi r0, -1 -/* 8004A228 00047188 41 82 00 18 */ beq lbl_8004A240 -/* 8004A22C 0004718C 7F 24 CB 78 */ mr r4, r25 -/* 8004A230 00047190 38 A0 00 00 */ li r5, 0 -/* 8004A234 00047194 48 0B 84 D5 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 8004A238 00047198 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004A23C 0004719C 41 82 00 68 */ beq lbl_8004A2A4 -lbl_8004A240: -/* 8004A240 000471A0 7F 23 CB 78 */ mr r3, r25 -/* 8004A244 000471A4 7E A4 AB 78 */ mr r4, r21 -/* 8004A248 000471A8 48 07 92 B5 */ bl GetDamage__11CDamageInfoCFRC20CDamageVulnerability -/* 8004A24C 000471AC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004A250 000471B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8004A254 000471B4 40 81 00 1C */ ble lbl_8004A270 -/* 8004A258 000471B8 7E C3 B3 78 */ mr r3, r22 -/* 8004A25C 000471BC 7F A6 EB 78 */ mr r6, r29 -/* 8004A260 000471C0 7F 27 CB 78 */ mr r7, r25 -/* 8004A264 000471C4 38 81 00 84 */ addi r4, r1, 0x84 -/* 8004A268 000471C8 38 A1 00 78 */ addi r5, r1, 0x78 -/* 8004A26C 000471CC 4B FF FB 69 */ bl ApplyLocalDamage__13CStateManagerFRC9CVector3fRC9CVector3fR6CActorfRC11CWeaponMode -lbl_8004A270: -/* 8004A270 000471D0 7F A3 EB 78 */ mr r3, r29 -/* 8004A274 000471D4 7E C5 B3 78 */ mr r5, r22 -/* 8004A278 000471D8 38 80 00 16 */ li r4, 0x16 -/* 8004A27C 000471DC 38 C0 FF FF */ li r6, -1 -/* 8004A280 000471E0 48 00 6E 41 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8004A284 000471E4 A0 17 00 00 */ lhz r0, 0(r23) -/* 8004A288 000471E8 7E C3 B3 78 */ mr r3, r22 -/* 8004A28C 000471EC 7F A4 EB 78 */ mr r4, r29 -/* 8004A290 000471F0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8004A294 000471F4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8004A298 000471F8 38 C0 00 29 */ li r6, 0x29 -/* 8004A29C 000471FC 4B FF 9C 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8004A2A0 00047200 48 00 00 34 */ b lbl_8004A2D4 -lbl_8004A2A4: -/* 8004A2A4 00047204 7F A3 EB 78 */ mr r3, r29 -/* 8004A2A8 00047208 7E C5 B3 78 */ mr r5, r22 -/* 8004A2AC 0004720C 38 80 00 17 */ li r4, 0x17 -/* 8004A2B0 00047210 38 C0 FF FF */ li r6, -1 -/* 8004A2B4 00047214 48 00 6E 0D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8004A2B8 00047218 A0 17 00 00 */ lhz r0, 0(r23) -/* 8004A2BC 0004721C 7E C3 B3 78 */ mr r3, r22 -/* 8004A2C0 00047220 7F A4 EB 78 */ mr r4, r29 -/* 8004A2C4 00047224 38 A1 00 0C */ addi r5, r1, 0xc -/* 8004A2C8 00047228 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004A2CC 0004722C 38 C0 00 2A */ li r6, 0x2a -/* 8004A2D0 00047230 4B FF 9C 01 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_8004A2D4: -/* 8004A2D4 00047234 28 1C 00 00 */ cmplwi r28, 0 -/* 8004A2D8 00047238 41 82 00 CC */ beq lbl_8004A3A4 -/* 8004A2DC 0004723C 28 1E 00 00 */ cmplwi r30, 0 -/* 8004A2E0 00047240 41 82 00 C4 */ beq lbl_8004A3A4 -/* 8004A2E4 00047244 C0 19 00 14 */ lfs f0, 0x14(r25) -/* 8004A2E8 00047248 C0 82 85 68 */ lfs f4, lbl_805AA288@sda21(r2) -/* 8004A2EC 0004724C FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 8004A2F0 00047250 40 81 00 B4 */ ble lbl_8004A3A4 -/* 8004A2F4 00047254 C0 5D 00 50 */ lfs f2, 0x50(r29) -/* 8004A2F8 00047258 38 00 00 00 */ li r0, 0 -/* 8004A2FC 0004725C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8004A300 00047260 C0 1B 00 00 */ lfs f0, 0(r27) -/* 8004A304 00047264 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 8004A308 00047268 EC A2 08 28 */ fsubs f5, f2, f1 -/* 8004A30C 0004726C C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8004A310 00047270 FC 04 00 00 */ fcmpu cr0, f4, f0 -/* 8004A314 00047274 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 8004A318 00047278 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8004A31C 0004727C EC 43 10 28 */ fsubs f2, f3, f2 -/* 8004A320 00047280 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8004A324 00047284 D0 A1 00 70 */ stfs f5, 0x70(r1) -/* 8004A328 00047288 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8004A32C 0004728C D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8004A330 00047290 40 82 00 1C */ bne lbl_8004A34C -/* 8004A334 00047294 C0 1B 00 04 */ lfs f0, 4(r27) -/* 8004A338 00047298 FC 04 00 00 */ fcmpu cr0, f4, f0 -/* 8004A33C 0004729C 40 82 00 10 */ bne lbl_8004A34C -/* 8004A340 000472A0 C0 1B 00 08 */ lfs f0, 8(r27) -/* 8004A344 000472A4 FC 04 00 00 */ fcmpu cr0, f4, f0 -/* 8004A348 000472A8 41 82 00 08 */ beq lbl_8004A350 -lbl_8004A34C: -/* 8004A34C 000472AC 38 00 00 01 */ li r0, 1 -lbl_8004A350: -/* 8004A350 000472B0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8004A354 000472B4 41 82 00 0C */ beq lbl_8004A360 -/* 8004A358 000472B8 7F 64 DB 78 */ mr r4, r27 -/* 8004A35C 000472BC 48 00 00 08 */ b lbl_8004A364 -lbl_8004A360: -/* 8004A360 000472C0 38 81 00 6C */ addi r4, r1, 0x6c -lbl_8004A364: -/* 8004A364 000472C4 C0 44 00 04 */ lfs f2, 4(r4) -/* 8004A368 000472C8 38 61 00 54 */ addi r3, r1, 0x54 -/* 8004A36C 000472CC C0 24 00 00 */ lfs f1, 0(r4) -/* 8004A370 000472D0 38 81 00 60 */ addi r4, r1, 0x60 -/* 8004A374 000472D4 C0 02 85 F8 */ lfs f0, lbl_805AA318@sda21(r2) -/* 8004A378 000472D8 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8004A37C 000472DC D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8004A380 000472E0 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8004A384 000472E4 48 2C A4 CD */ bl AsNormalized__9CVector3fCFv -/* 8004A388 000472E8 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 8004A38C 000472EC 7E C3 B3 78 */ mr r3, r22 -/* 8004A390 000472F0 7F A4 EB 78 */ mr r4, r29 -/* 8004A394 000472F4 7F 25 CB 78 */ mr r5, r25 -/* 8004A398 000472F8 7E A6 AB 78 */ mr r6, r21 -/* 8004A39C 000472FC 38 E1 00 54 */ addi r7, r1, 0x54 -/* 8004A3A0 00047300 4B FF E6 F9 */ bl ApplyKnockBack__13CStateManagerFR6CActorRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ff -lbl_8004A3A4: -/* 8004A3A4 00047304 28 1E 00 00 */ cmplwi r30, 0 -/* 8004A3A8 00047308 41 82 00 38 */ beq lbl_8004A3E0 -/* 8004A3AC 0004730C C0 39 00 10 */ lfs f1, 0x10(r25) -/* 8004A3B0 00047310 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004A3B4 00047314 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8004A3B8 00047318 40 81 00 28 */ ble lbl_8004A3E0 -/* 8004A3BC 0004731C A0 18 00 00 */ lhz r0, 0(r24) -/* 8004A3C0 00047320 7E C3 B3 78 */ mr r3, r22 -/* 8004A3C4 00047324 7F C4 F3 78 */ mr r4, r30 -/* 8004A3C8 00047328 7F A5 EB 78 */ mr r5, r29 -/* 8004A3CC 0004732C B0 01 00 08 */ sth r0, 8(r1) -/* 8004A3D0 00047330 7F 27 CB 78 */ mr r7, r25 -/* 8004A3D4 00047334 7F 48 D3 78 */ mr r8, r26 -/* 8004A3D8 00047338 38 C1 00 08 */ addi r6, r1, 8 -/* 8004A3DC 0004733C 4B FF EC 35 */ bl ProcessRadiusDamage__13CStateManagerFRC6CActorR6CActor9TUniqueIdRC11CDamageInfoRC15CMaterialFilter -lbl_8004A3E0: -/* 8004A3E0 00047340 7F E4 FB 78 */ mr r4, r31 -/* 8004A3E4 00047344 38 61 00 2C */ addi r3, r1, 0x2c -/* 8004A3E8 00047348 48 05 B8 29 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" -/* 8004A3EC 0004734C 80 63 00 04 */ lwz r3, 4(r3) -/* 8004A3F0 00047350 28 03 00 00 */ cmplwi r3, 0 -/* 8004A3F4 00047354 41 82 00 4C */ beq lbl_8004A440 -/* 8004A3F8 00047358 28 1E 00 00 */ cmplwi r30, 0 -/* 8004A3FC 0004735C 41 82 00 44 */ beq lbl_8004A440 -/* 8004A400 00047360 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 8004A404 00047364 7F 25 CB 78 */ mr r5, r25 -/* 8004A408 00047368 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8004A40C 0004736C 7E C6 B3 78 */ mr r6, r22 -/* 8004A410 00047370 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 8004A414 00047374 38 81 00 48 */ addi r4, r1, 0x48 -/* 8004A418 00047378 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8004A41C 0004737C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8004A420 00047380 81 01 00 3C */ lwz r8, 0x3c(r1) -/* 8004A424 00047384 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8004A428 00047388 80 E1 00 40 */ lwz r7, 0x40(r1) -/* 8004A42C 0004738C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8004A430 00047390 91 01 00 48 */ stw r8, 0x48(r1) -/* 8004A434 00047394 90 E1 00 4C */ stw r7, 0x4c(r1) -/* 8004A438 00047398 90 01 00 50 */ stw r0, 0x50(r1) -/* 8004A43C 0004739C 48 19 E4 35 */ bl ApplyRadiusDamage__17CWallCrawlerSwarmF9CVector3ffR13CStateManager -lbl_8004A440: -/* 8004A440 000473A0 BA A1 00 94 */ lmw r21, 0x94(r1) -/* 8004A444 000473A4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8004A448 000473A8 7C 08 03 A6 */ mtlr r0 -/* 8004A44C 000473AC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8004A450 000473B0 4E 80 00 20 */ blr - -.global UpdateAreaSounds__13CStateManagerFv -UpdateAreaSounds__13CStateManagerFv: -/* 8004A454 000473B4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8004A458 000473B8 7C 08 02 A6 */ mflr r0 -/* 8004A45C 000473BC 38 80 00 00 */ li r4, 0 -/* 8004A460 000473C0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8004A464 000473C4 2C 04 00 00 */ cmpwi r4, 0 -/* 8004A468 000473C8 7C 85 23 78 */ mr r5, r4 -/* 8004A46C 000473CC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8004A470 000473D0 3B E1 00 10 */ addi r31, r1, 0x10 -/* 8004A474 000473D4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8004A478 000473D8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8004A47C 000473DC 40 81 00 40 */ ble lbl_8004A4BC -/* 8004A480 000473E0 2C 04 00 08 */ cmpwi r4, 8 -/* 8004A484 000473E4 38 C0 FF F8 */ li r6, -8 -/* 8004A488 000473E8 40 81 00 20 */ ble lbl_8004A4A8 -/* 8004A48C 000473EC 38 00 FF FF */ li r0, -1 -/* 8004A490 000473F0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004A494 000473F4 7C 09 03 A6 */ mtctr r0 -/* 8004A498 000473F8 2C 06 00 00 */ cmpwi r6, 0 -/* 8004A49C 000473FC 40 81 00 0C */ ble lbl_8004A4A8 -lbl_8004A4A0: -/* 8004A4A0 00047400 38 A5 00 08 */ addi r5, r5, 8 -/* 8004A4A4 00047404 42 00 FF FC */ bdnz lbl_8004A4A0 -lbl_8004A4A8: -/* 8004A4A8 00047408 7C 05 00 D0 */ neg r0, r5 -/* 8004A4AC 0004740C 7C 09 03 A6 */ mtctr r0 -/* 8004A4B0 00047410 7C 05 20 00 */ cmpw r5, r4 -/* 8004A4B4 00047414 40 80 00 08 */ bge lbl_8004A4BC -lbl_8004A4B8: -/* 8004A4B8 00047418 42 00 00 00 */ bdnz lbl_8004A4B8 -lbl_8004A4BC: -/* 8004A4BC 0004741C 38 00 00 00 */ li r0, 0 -/* 8004A4C0 00047420 90 01 00 0C */ stw r0, 0xc(r1) -/* 8004A4C4 00047424 80 63 08 50 */ lwz r3, 0x850(r3) -/* 8004A4C8 00047428 83 C3 00 58 */ lwz r30, 0x58(r3) -/* 8004A4CC 0004742C 48 00 00 50 */ b lbl_8004A51C -lbl_8004A4D0: -/* 8004A4D0 00047430 88 1E 00 F0 */ lbz r0, 0xf0(r30) -/* 8004A4D4 00047434 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004A4D8 00047438 41 82 00 10 */ beq lbl_8004A4E8 -/* 8004A4DC 0004743C 80 7E 01 2C */ lwz r3, 0x12c(r30) -/* 8004A4E0 00047440 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 8004A4E4 00047444 48 00 00 08 */ b lbl_8004A4EC -lbl_8004A4E8: -/* 8004A4E8 00047448 38 00 00 00 */ li r0, 0 -lbl_8004A4EC: -/* 8004A4EC 0004744C 2C 00 00 01 */ cmpwi r0, 1 -/* 8004A4F0 00047450 40 82 00 28 */ bne lbl_8004A518 -/* 8004A4F4 00047454 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8004A4F8 00047458 80 9E 00 04 */ lwz r4, 4(r30) -/* 8004A4FC 0004745C 54 00 10 3A */ slwi r0, r0, 2 -/* 8004A500 00047460 7C 7F 02 15 */ add. r3, r31, r0 -/* 8004A504 00047464 41 82 00 08 */ beq lbl_8004A50C -/* 8004A508 00047468 90 83 00 00 */ stw r4, 0(r3) -lbl_8004A50C: -/* 8004A50C 0004746C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8004A510 00047470 38 03 00 01 */ addi r0, r3, 1 -/* 8004A514 00047474 90 01 00 0C */ stw r0, 0xc(r1) -lbl_8004A518: -/* 8004A518 00047478 83 DE 01 30 */ lwz r30, 0x130(r30) -lbl_8004A51C: -/* 8004A51C 0004747C 38 61 00 08 */ addi r3, r1, 8 -/* 8004A520 00047480 4B FF C7 ED */ bl GetAliveAreasEnd__6CWorldFv -/* 8004A524 00047484 80 01 00 08 */ lwz r0, 8(r1) -/* 8004A528 00047488 7C 1E 00 40 */ cmplw r30, r0 -/* 8004A52C 0004748C 40 82 FF A4 */ bne lbl_8004A4D0 -/* 8004A530 00047490 38 61 00 0C */ addi r3, r1, 0xc -/* 8004A534 00047494 48 29 E3 6D */ bl "SetActiveAreas__11CSfxManagerFRCQ24rstl21reserved_vector" -/* 8004A538 00047498 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8004A53C 0004749C 38 60 00 00 */ li r3, 0 -/* 8004A540 000474A0 2C 05 00 00 */ cmpwi r5, 0 -/* 8004A544 000474A4 40 81 00 40 */ ble lbl_8004A584 -/* 8004A548 000474A8 2C 05 00 08 */ cmpwi r5, 8 -/* 8004A54C 000474AC 38 85 FF F8 */ addi r4, r5, -8 -/* 8004A550 000474B0 40 81 00 20 */ ble lbl_8004A570 -/* 8004A554 000474B4 38 04 00 07 */ addi r0, r4, 7 -/* 8004A558 000474B8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004A55C 000474BC 7C 09 03 A6 */ mtctr r0 -/* 8004A560 000474C0 2C 04 00 00 */ cmpwi r4, 0 -/* 8004A564 000474C4 40 81 00 0C */ ble lbl_8004A570 -lbl_8004A568: -/* 8004A568 000474C8 38 63 00 08 */ addi r3, r3, 8 -/* 8004A56C 000474CC 42 00 FF FC */ bdnz lbl_8004A568 -lbl_8004A570: -/* 8004A570 000474D0 7C 03 28 50 */ subf r0, r3, r5 -/* 8004A574 000474D4 7C 09 03 A6 */ mtctr r0 -/* 8004A578 000474D8 7C 03 28 00 */ cmpw r3, r5 -/* 8004A57C 000474DC 40 80 00 08 */ bge lbl_8004A584 -lbl_8004A580: -/* 8004A580 000474E0 42 00 00 00 */ bdnz lbl_8004A580 -lbl_8004A584: -/* 8004A584 000474E4 38 00 00 00 */ li r0, 0 -/* 8004A588 000474E8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8004A58C 000474EC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8004A590 000474F0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8004A594 000474F4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8004A598 000474F8 7C 08 03 A6 */ mtlr r0 -/* 8004A59C 000474FC 38 21 00 40 */ addi r1, r1, 0x40 -/* 8004A5A0 00047500 4E 80 00 20 */ blr - -.global FrameEnd__13CStateManagerFv -FrameEnd__13CStateManagerFv: -/* 8004A5A4 00047504 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004A5A8 00047508 7C 08 02 A6 */ mflr r0 -/* 8004A5AC 0004750C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004A5B0 00047510 48 30 AD DD */ bl FrameDone__6CModelFv -/* 8004A5B4 00047514 80 6D A0 64 */ lwz r3, gpSimplePool@sda21(r13) -/* 8004A5B8 00047518 81 83 00 00 */ lwz r12, 0(r3) -/* 8004A5BC 0004751C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8004A5C0 00047520 7D 89 03 A6 */ mtctr r12 -/* 8004A5C4 00047524 4E 80 04 21 */ bctrl -/* 8004A5C8 00047528 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004A5CC 0004752C 7C 08 03 A6 */ mtlr r0 -/* 8004A5D0 00047530 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004A5D4 00047534 4E 80 00 20 */ blr - -.global ProcessPlayerInput__13CStateManagerFv -ProcessPlayerInput__13CStateManagerFv: -/* 8004A5D8 00047538 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004A5DC 0004753C 7C 08 02 A6 */ mflr r0 -/* 8004A5E0 00047540 7C 65 1B 78 */ mr r5, r3 -/* 8004A5E4 00047544 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004A5E8 00047548 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 8004A5EC 0004754C 28 03 00 00 */ cmplwi r3, 0 -/* 8004A5F0 00047550 41 82 00 0C */ beq lbl_8004A5FC -/* 8004A5F4 00047554 38 85 0B 54 */ addi r4, r5, 0xb54 -/* 8004A5F8 00047558 4B FC A7 65 */ bl ProcessInput__7CPlayerFRC11CFinalInputR13CStateManager -lbl_8004A5FC: -/* 8004A5FC 0004755C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004A600 00047560 7C 08 03 A6 */ mtlr r0 -/* 8004A604 00047564 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004A608 00047568 4E 80 00 20 */ blr - -.global ProcessInput__13CStateManagerFRC11CFinalInput -ProcessInput__13CStateManagerFRC11CFinalInput: -/* 8004A60C 0004756C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004A610 00047570 7C 08 02 A6 */ mflr r0 -/* 8004A614 00047574 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004A618 00047578 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004A61C 0004757C 7C 9F 23 78 */ mr r31, r4 -/* 8004A620 00047580 93 C1 00 08 */ stw r30, 8(r1) -/* 8004A624 00047584 7C 7E 1B 78 */ mr r30, r3 -/* 8004A628 00047588 88 0D A1 E0 */ lbz r0, lbl_805A8DA0@sda21(r13) -/* 8004A62C 0004758C 7C 00 07 75 */ extsb. r0, r0 -/* 8004A630 00047590 40 82 00 18 */ bne lbl_8004A648 -/* 8004A634 00047594 3C 60 80 46 */ lis r3, lbl_8045C550@ha -/* 8004A638 00047598 38 63 C5 50 */ addi r3, r3, lbl_8045C550@l -/* 8004A63C 0004759C 48 2F F7 E5 */ bl __ct__11CFinalInputFv -/* 8004A640 000475A0 38 00 00 01 */ li r0, 1 -/* 8004A644 000475A4 98 0D A1 E0 */ stb r0, lbl_805A8DA0@sda21(r13) -lbl_8004A648: -/* 8004A648 000475A8 80 1F 00 04 */ lwz r0, 4(r31) -/* 8004A64C 000475AC 2C 00 00 00 */ cmpwi r0, 0 -/* 8004A650 000475B0 40 82 01 54 */ bne lbl_8004A7A4 -/* 8004A654 000475B4 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8004A658 000475B8 7F C4 F3 78 */ mr r4, r30 -/* 8004A65C 000475BC 4B FC 14 BD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8004A660 000475C0 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 8004A664 000475C4 88 63 01 70 */ lbz r3, 0x170(r3) -/* 8004A668 000475C8 88 04 09 C6 */ lbz r0, 0x9c6(r4) -/* 8004A66C 000475CC 54 63 D7 FE */ rlwinm r3, r3, 0x1a, 0x1f, 0x1f -/* 8004A670 000475D0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8004A674 000475D4 41 82 00 08 */ beq lbl_8004A67C -/* 8004A678 000475D8 38 60 00 01 */ li r3, 1 -lbl_8004A67C: -/* 8004A67C 000475DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004A680 000475E0 41 82 00 9C */ beq lbl_8004A71C -/* 8004A684 000475E4 3C 60 80 46 */ lis r3, lbl_8045C550@ha -/* 8004A688 000475E8 C4 03 C5 50 */ lfsu f0, lbl_8045C550@l(r3) -/* 8004A68C 000475EC D0 1E 0B 54 */ stfs f0, 0xb54(r30) -/* 8004A690 000475F0 80 03 00 04 */ lwz r0, 4(r3) -/* 8004A694 000475F4 90 1E 0B 58 */ stw r0, 0xb58(r30) -/* 8004A698 000475F8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8004A69C 000475FC D0 1E 0B 5C */ stfs f0, 0xb5c(r30) -/* 8004A6A0 00047600 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8004A6A4 00047604 D0 1E 0B 60 */ stfs f0, 0xb60(r30) -/* 8004A6A8 00047608 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8004A6AC 0004760C D0 1E 0B 64 */ stfs f0, 0xb64(r30) -/* 8004A6B0 00047610 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8004A6B4 00047614 D0 1E 0B 68 */ stfs f0, 0xb68(r30) -/* 8004A6B8 00047618 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8004A6BC 0004761C D0 1E 0B 6C */ stfs f0, 0xb6c(r30) -/* 8004A6C0 00047620 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 8004A6C4 00047624 D0 1E 0B 70 */ stfs f0, 0xb70(r30) -/* 8004A6C8 00047628 88 03 00 20 */ lbz r0, 0x20(r3) -/* 8004A6CC 0004762C 98 1E 0B 74 */ stb r0, 0xb74(r30) -/* 8004A6D0 00047630 88 03 00 21 */ lbz r0, 0x21(r3) -/* 8004A6D4 00047634 98 1E 0B 75 */ stb r0, 0xb75(r30) -/* 8004A6D8 00047638 88 03 00 22 */ lbz r0, 0x22(r3) -/* 8004A6DC 0004763C 98 1E 0B 76 */ stb r0, 0xb76(r30) -/* 8004A6E0 00047640 88 03 00 23 */ lbz r0, 0x23(r3) -/* 8004A6E4 00047644 98 1E 0B 77 */ stb r0, 0xb77(r30) -/* 8004A6E8 00047648 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 8004A6EC 0004764C D0 1E 0B 78 */ stfs f0, 0xb78(r30) -/* 8004A6F0 00047650 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8004A6F4 00047654 D0 1E 0B 7C */ stfs f0, 0xb7c(r30) -/* 8004A6F8 00047658 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 8004A6FC 0004765C 98 1E 0B 80 */ stb r0, 0xb80(r30) -/* 8004A700 00047660 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 8004A704 00047664 98 1E 0B 81 */ stb r0, 0xb81(r30) -/* 8004A708 00047668 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 8004A70C 0004766C 98 1E 0B 82 */ stb r0, 0xb82(r30) -/* 8004A710 00047670 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8004A714 00047674 D0 1E 0B 54 */ stfs f0, 0xb54(r30) -/* 8004A718 00047678 48 00 00 8C */ b lbl_8004A7A4 -lbl_8004A71C: -/* 8004A71C 0004767C C0 1F 00 00 */ lfs f0, 0(r31) -/* 8004A720 00047680 D0 1E 0B 54 */ stfs f0, 0xb54(r30) -/* 8004A724 00047684 80 1F 00 04 */ lwz r0, 4(r31) -/* 8004A728 00047688 90 1E 0B 58 */ stw r0, 0xb58(r30) -/* 8004A72C 0004768C C0 1F 00 08 */ lfs f0, 8(r31) -/* 8004A730 00047690 D0 1E 0B 5C */ stfs f0, 0xb5c(r30) -/* 8004A734 00047694 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8004A738 00047698 D0 1E 0B 60 */ stfs f0, 0xb60(r30) -/* 8004A73C 0004769C C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8004A740 000476A0 D0 1E 0B 64 */ stfs f0, 0xb64(r30) -/* 8004A744 000476A4 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8004A748 000476A8 D0 1E 0B 68 */ stfs f0, 0xb68(r30) -/* 8004A74C 000476AC C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8004A750 000476B0 D0 1E 0B 6C */ stfs f0, 0xb6c(r30) -/* 8004A754 000476B4 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8004A758 000476B8 D0 1E 0B 70 */ stfs f0, 0xb70(r30) -/* 8004A75C 000476BC 88 1F 00 20 */ lbz r0, 0x20(r31) -/* 8004A760 000476C0 98 1E 0B 74 */ stb r0, 0xb74(r30) -/* 8004A764 000476C4 88 1F 00 21 */ lbz r0, 0x21(r31) -/* 8004A768 000476C8 98 1E 0B 75 */ stb r0, 0xb75(r30) -/* 8004A76C 000476CC 88 1F 00 22 */ lbz r0, 0x22(r31) -/* 8004A770 000476D0 98 1E 0B 76 */ stb r0, 0xb76(r30) -/* 8004A774 000476D4 88 1F 00 23 */ lbz r0, 0x23(r31) -/* 8004A778 000476D8 98 1E 0B 77 */ stb r0, 0xb77(r30) -/* 8004A77C 000476DC C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8004A780 000476E0 D0 1E 0B 78 */ stfs f0, 0xb78(r30) -/* 8004A784 000476E4 C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 8004A788 000476E8 D0 1E 0B 7C */ stfs f0, 0xb7c(r30) -/* 8004A78C 000476EC 88 1F 00 2C */ lbz r0, 0x2c(r31) -/* 8004A790 000476F0 98 1E 0B 80 */ stb r0, 0xb80(r30) -/* 8004A794 000476F4 88 1F 00 2D */ lbz r0, 0x2d(r31) -/* 8004A798 000476F8 98 1E 0B 81 */ stb r0, 0xb81(r30) -/* 8004A79C 000476FC 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 8004A7A0 00047700 98 1E 0B 82 */ stb r0, 0xb82(r30) -lbl_8004A7A4: -/* 8004A7A4 00047704 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8004A7A8 00047708 7F E4 FB 78 */ mr r4, r31 -/* 8004A7AC 0004770C 7F C5 F3 78 */ mr r5, r30 -/* 8004A7B0 00047710 4B FC 0C BD */ bl ProcessInput__14CCameraManagerFRC11CFinalInputR13CStateManager -/* 8004A7B4 00047714 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004A7B8 00047718 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004A7BC 0004771C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004A7C0 00047720 7C 08 03 A6 */ mtlr r0 -/* 8004A7C4 00047724 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004A7C8 00047728 4E 80 00 20 */ blr - -.global Update__13CStateManagerFf -Update__13CStateManagerFf: -/* 8004A7CC 0004772C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8004A7D0 00047730 7C 08 02 A6 */ mflr r0 -/* 8004A7D4 00047734 90 01 00 44 */ stw r0, 0x44(r1) -/* 8004A7D8 00047738 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8004A7DC 0004773C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8004A7E0 00047740 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8004A7E4 00047744 80 03 08 D8 */ lwz r0, 0x8d8(r3) -/* 8004A7E8 00047748 FF E0 08 90 */ fmr f31, f1 -/* 8004A7EC 0004774C 7C 7E 1B 78 */ mr r30, r3 -/* 8004A7F0 00047750 B0 0D 9C F8 */ sth r0, lbl_805A88B8@sda21(r13) -/* 8004A7F4 00047754 80 03 08 D8 */ lwz r0, 0x8d8(r3) -/* 8004A7F8 00047758 B0 0D 9E 50 */ sth r0, lbl_805A8A10@sda21(r13) -/* 8004A7FC 0004775C 80 03 08 D8 */ lwz r0, 0x8d8(r3) -/* 8004A800 00047760 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 8004A804 00047764 48 26 B0 49 */ bl SetGlobalSeed__6CDecalFUs -/* 8004A808 00047768 80 7E 08 D8 */ lwz r3, 0x8d8(r30) -/* 8004A80C 0004776C 48 26 48 FD */ bl SetGlobalSeed__17CProjectileWeaponFUs -/* 8004A810 00047770 C0 3E 0F 14 */ lfs f1, 0xf14(r30) -/* 8004A814 00047774 C0 02 86 18 */ lfs f0, lbl_805AA338@sda21(r2) -/* 8004A818 00047778 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8004A81C 0004777C D0 3E 0F 14 */ stfs f1, 0xf14(r30) -/* 8004A820 00047780 C0 3E 0F 14 */ lfs f1, 0xf14(r30) -/* 8004A824 00047784 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8004A828 00047788 40 81 00 0C */ ble lbl_8004A834 -/* 8004A82C 0004778C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8004A830 00047790 D0 1E 0F 14 */ stfs f0, 0xf14(r30) -lbl_8004A834: -/* 8004A834 00047794 38 00 FF FF */ li r0, -1 -/* 8004A838 00047798 90 1E 0F 08 */ stw r0, 0xf08(r30) -/* 8004A83C 0004779C 48 04 37 6D */ bl ResetParticleCounts__13CScriptEffectFv -/* 8004A840 000477A0 7F C3 F3 78 */ mr r3, r30 -/* 8004A844 000477A4 4B FF 9D 25 */ bl UpdateThermalVisor__13CStateManagerFv -/* 8004A848 000477A8 7F C3 F3 78 */ mr r3, r30 -/* 8004A84C 000477AC 48 00 0C B9 */ bl nullsub_34 -/* 8004A850 000477B0 7F C3 F3 78 */ mr r3, r30 -/* 8004A854 000477B4 48 00 0C B5 */ bl UpdateGameState__13CStateManagerFv -/* 8004A858 000477B8 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8004A85C 000477BC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004A860 000477C0 C0 23 09 F4 */ lfs f1, 0x9f4(r3) -/* 8004A864 000477C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8004A868 000477C8 7C 60 00 26 */ mfcr r3 -/* 8004A86C 000477CC 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 8004A870 000477D0 54 7F 17 FE */ rlwinm r31, r3, 2, 0x1f, 0x1f -/* 8004A874 000477D4 2C 00 00 00 */ cmpwi r0, 0 -/* 8004A878 000477D8 40 82 00 7C */ bne lbl_8004A8F4 -/* 8004A87C 000477DC 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8004A880 000477E0 7F C4 F3 78 */ mr r4, r30 -/* 8004A884 000477E4 4B FC 12 95 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8004A888 000477E8 7C 64 1B 78 */ mr r4, r3 -/* 8004A88C 000477EC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8004A890 000477F0 48 06 4E A1 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" -/* 8004A894 000477F4 80 03 00 04 */ lwz r0, 4(r3) -/* 8004A898 000477F8 28 00 00 00 */ cmplwi r0, 0 -/* 8004A89C 000477FC 40 82 00 20 */ bne lbl_8004A8BC -/* 8004A8A0 00047800 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8004A8A4 00047804 C8 03 00 A0 */ lfd f0, 0xa0(r3) -/* 8004A8A8 00047808 FC 3F 00 2A */ fadd f1, f31, f0 -/* 8004A8AC 0004780C 48 18 90 29 */ bl SetTotalPlayTime__10CGameStateFd -/* 8004A8B0 00047810 FC 20 F8 90 */ fmr f1, f31 -/* 8004A8B4 00047814 7F C3 F3 78 */ mr r3, r30 -/* 8004A8B8 00047818 4B FF A4 81 */ bl UpdateHintState__13CStateManagerFf -lbl_8004A8BC: -/* 8004A8BC 0004781C 3B BE 0B 88 */ addi r29, r30, 0xb88 -/* 8004A8C0 00047820 3B 9E 0D 18 */ addi r28, r30, 0xd18 -/* 8004A8C4 00047824 3B 60 00 00 */ li r27, 0 -lbl_8004A8C8: -/* 8004A8C8 00047828 FC 20 F8 90 */ fmr f1, f31 -/* 8004A8CC 0004782C 7F A3 EB 78 */ mr r3, r29 -/* 8004A8D0 00047830 48 0A 29 4D */ bl Update__17CCameraFilterPassFf -/* 8004A8D4 00047834 FC 20 F8 90 */ fmr f1, f31 -/* 8004A8D8 00047838 7F 83 E3 78 */ mr r3, r28 -/* 8004A8DC 0004783C 48 0A 14 FD */ bl Update__15CCameraBlurPassFf -/* 8004A8E0 00047840 3B 7B 00 01 */ addi r27, r27, 1 -/* 8004A8E4 00047844 3B 9C 00 34 */ addi r28, r28, 0x34 -/* 8004A8E8 00047848 2C 1B 00 09 */ cmpwi r27, 9 -/* 8004A8EC 0004784C 3B BD 00 2C */ addi r29, r29, 0x2c -/* 8004A8F0 00047850 41 80 FF D8 */ blt lbl_8004A8C8 -lbl_8004A8F4: -/* 8004A8F4 00047854 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 8004A8F8 00047858 2C 00 00 02 */ cmpwi r0, 2 -/* 8004A8FC 0004785C 41 82 00 1C */ beq lbl_8004A918 -/* 8004A900 00047860 FC 20 F8 90 */ fmr f1, f31 -/* 8004A904 00047864 7F C3 F3 78 */ mr r3, r30 -/* 8004A908 00047868 48 00 02 E9 */ bl PreThinkObjects__13CStateManagerFf -/* 8004A90C 0004786C FC 20 F8 90 */ fmr f1, f31 -/* 8004A910 00047870 80 7E 08 7C */ lwz r3, 0x87c(r30) -/* 8004A914 00047874 48 0E 4D 21 */ bl Update__18CFluidPlaneManagerFf -lbl_8004A918: -/* 8004A918 00047878 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 8004A91C 0004787C 2C 00 00 00 */ cmpwi r0, 0 -/* 8004A920 00047880 40 82 00 84 */ bne lbl_8004A9A4 -/* 8004A924 00047884 28 1F 00 00 */ cmplwi r31, 0 -/* 8004A928 00047888 40 82 00 10 */ bne lbl_8004A938 -/* 8004A92C 0004788C FC 20 F8 90 */ fmr f1, f31 -/* 8004A930 00047890 7F C3 F3 78 */ mr r3, r30 -/* 8004A934 00047894 48 0C C6 85 */ bl Update__13CDecalManagerFfR13CStateManager -lbl_8004A938: -/* 8004A938 00047898 7F C3 F3 78 */ mr r3, r30 -/* 8004A93C 0004789C 48 00 1F 55 */ bl UpdateSortedLists__13CStateManagerFv -/* 8004A940 000478A0 28 1F 00 00 */ cmplwi r31, 0 -/* 8004A944 000478A4 40 82 00 1C */ bne lbl_8004A960 -/* 8004A948 000478A8 FC 20 F8 90 */ fmr f1, f31 -/* 8004A94C 000478AC 7F C3 F3 78 */ mr r3, r30 -/* 8004A950 000478B0 48 00 0A DD */ bl MovePlatforms__13CStateManagerFf -/* 8004A954 000478B4 FC 20 F8 90 */ fmr f1, f31 -/* 8004A958 000478B8 7F C3 F3 78 */ mr r3, r30 -/* 8004A95C 000478BC 48 00 09 31 */ bl MoveDoors__13CStateManagerFf -lbl_8004A960: -/* 8004A960 000478C0 7F C3 F3 78 */ mr r3, r30 -/* 8004A964 000478C4 4B FF FC 75 */ bl ProcessPlayerInput__13CStateManagerFv -/* 8004A968 000478C8 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 8004A96C 000478CC 2C 00 00 01 */ cmpwi r0, 1 -/* 8004A970 000478D0 41 82 00 18 */ beq lbl_8004A988 -/* 8004A974 000478D4 FC 20 F8 90 */ fmr f1, f31 -/* 8004A978 000478D8 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 8004A97C 000478DC 7F C3 F3 78 */ mr r3, r30 -/* 8004A980 000478E0 38 A0 00 00 */ li r5, 0 -/* 8004A984 000478E4 48 13 73 B5 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" -lbl_8004A988: -/* 8004A988 000478E8 7F C3 F3 78 */ mr r3, r30 -/* 8004A98C 000478EC 48 00 1F 05 */ bl UpdateSortedLists__13CStateManagerFv -/* 8004A990 000478F0 28 1F 00 00 */ cmplwi r31, 0 -/* 8004A994 000478F4 40 82 00 18 */ bne lbl_8004A9AC -/* 8004A998 000478F8 7F C3 F3 78 */ mr r3, r30 -/* 8004A99C 000478FC 48 00 05 95 */ bl CrossTouchActors__13CStateManagerFf -/* 8004A9A0 00047900 48 00 00 0C */ b lbl_8004A9AC -lbl_8004A9A4: -/* 8004A9A4 00047904 7F C3 F3 78 */ mr r3, r30 -/* 8004A9A8 00047908 4B FF FC 31 */ bl ProcessPlayerInput__13CStateManagerFv -lbl_8004A9AC: -/* 8004A9AC 0004790C 28 1F 00 00 */ cmplwi r31, 0 -/* 8004A9B0 00047910 40 82 00 20 */ bne lbl_8004A9D0 -/* 8004A9B4 00047914 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 8004A9B8 00047918 2C 00 00 00 */ cmpwi r0, 0 -/* 8004A9BC 0004791C 40 82 00 14 */ bne lbl_8004A9D0 -/* 8004A9C0 00047920 FC 20 F8 90 */ fmr f1, f31 -/* 8004A9C4 00047924 80 7E 08 84 */ lwz r3, 0x884(r30) -/* 8004A9C8 00047928 7F C4 F3 78 */ mr r4, r30 -/* 8004A9CC 0004792C 48 19 AC 81 */ bl Update__20CActorModelParticlesFfR13CStateManager -lbl_8004A9D0: -/* 8004A9D0 00047930 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 8004A9D4 00047934 2C 00 00 00 */ cmpwi r0, 0 -/* 8004A9D8 00047938 41 82 00 0C */ beq lbl_8004A9E4 -/* 8004A9DC 0004793C 2C 00 00 01 */ cmpwi r0, 1 -/* 8004A9E0 00047940 40 82 00 10 */ bne lbl_8004A9F0 -lbl_8004A9E4: -/* 8004A9E4 00047944 FC 20 F8 90 */ fmr f1, f31 -/* 8004A9E8 00047948 7F C3 F3 78 */ mr r3, r30 -/* 8004A9EC 0004794C 48 00 03 5D */ bl Think__13CStateManagerFf -lbl_8004A9F0: -/* 8004A9F0 00047950 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 8004A9F4 00047954 2C 00 00 01 */ cmpwi r0, 1 -/* 8004A9F8 00047958 41 82 00 58 */ beq lbl_8004AA50 -/* 8004A9FC 0004795C FC 20 F8 90 */ fmr f1, f31 -/* 8004AA00 00047960 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8004AA04 00047964 7F C4 F3 78 */ mr r4, r30 -/* 8004AA08 00047968 4B FC 0B 45 */ bl Update__14CCameraManagerFfR13CStateManager -/* 8004AA0C 0004796C 48 00 00 44 */ b lbl_8004AA50 -lbl_8004AA10: -/* 8004AA10 00047970 A0 1E 0F 76 */ lhz r0, 0xf76(r30) -/* 8004AA14 00047974 7F C3 F3 78 */ mr r3, r30 -/* 8004AA18 00047978 38 81 00 08 */ addi r4, r1, 8 -/* 8004AA1C 0004797C B0 01 00 08 */ sth r0, 8(r1) -/* 8004AA20 00047980 48 00 1B 55 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8004AA24 00047984 28 03 00 00 */ cmplwi r3, 0 -/* 8004AA28 00047988 40 82 00 10 */ bne lbl_8004AA38 -/* 8004AA2C 0004798C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004AA30 00047990 B0 1E 0F 76 */ sth r0, 0xf76(r30) -/* 8004AA34 00047994 48 00 00 2C */ b lbl_8004AA60 -lbl_8004AA38: -/* 8004AA38 00047998 81 83 00 00 */ lwz r12, 0(r3) -/* 8004AA3C 0004799C FC 20 F8 90 */ fmr f1, f31 -/* 8004AA40 000479A0 7F C4 F3 78 */ mr r4, r30 -/* 8004AA44 000479A4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8004AA48 000479A8 7D 89 03 A6 */ mtctr r12 -/* 8004AA4C 000479AC 4E 80 04 21 */ bctrl -lbl_8004AA50: -/* 8004AA50 000479B0 A0 7E 0F 76 */ lhz r3, 0xf76(r30) -/* 8004AA54 000479B4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004AA58 000479B8 7C 03 00 40 */ cmplw r3, r0 -/* 8004AA5C 000479BC 40 82 FF B4 */ bne lbl_8004AA10 -lbl_8004AA60: -/* 8004AA60 000479C0 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 8004AA64 000479C4 2C 00 00 02 */ cmpwi r0, 2 -/* 8004AA68 000479C8 41 82 00 10 */ beq lbl_8004AA78 -/* 8004AA6C 000479CC FC 20 F8 90 */ fmr f1, f31 -/* 8004AA70 000479D0 7F C3 F3 78 */ mr r3, r30 -/* 8004AA74 000479D4 48 00 01 55 */ bl PostUpdatePlayer__13CStateManagerFf -lbl_8004AA78: -/* 8004AA78 000479D8 80 7E 0F 84 */ lwz r3, 0xf84(r30) -/* 8004AA7C 000479DC 80 1E 0F 80 */ lwz r0, 0xf80(r30) -/* 8004AA80 000479E0 7C 03 00 40 */ cmplw r3, r0 -/* 8004AA84 000479E4 40 82 00 28 */ bne lbl_8004AAAC -/* 8004AA88 000479E8 80 9E 0F 88 */ lwz r4, 0xf88(r30) -/* 8004AA8C 000479EC 7F C3 F3 78 */ mr r3, r30 -/* 8004AA90 000479F0 C0 3E 0F 8C */ lfs f1, 0xf8c(r30) -/* 8004AA94 000479F4 4B FF 9D A1 */ bl ShowPausedHUDMemo__13CStateManagerFUif -/* 8004AA98 000479F8 80 7E 0F 84 */ lwz r3, 0xf84(r30) -/* 8004AA9C 000479FC 38 00 FF FF */ li r0, -1 -/* 8004AAA0 00047A00 38 63 FF FF */ addi r3, r3, -1 -/* 8004AAA4 00047A04 90 7E 0F 84 */ stw r3, 0xf84(r30) -/* 8004AAA8 00047A08 90 1E 0F 88 */ stw r0, 0xf88(r30) -lbl_8004AAAC: -/* 8004AAAC 00047A0C 28 1F 00 00 */ cmplwi r31, 0 -/* 8004AAB0 00047A10 40 82 00 2C */ bne lbl_8004AADC -/* 8004AAB4 00047A14 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 8004AAB8 00047A18 2C 00 00 00 */ cmpwi r0, 0 -/* 8004AABC 00047A1C 40 82 00 20 */ bne lbl_8004AADC -/* 8004AAC0 00047A20 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8004AAC4 00047A24 4B FB FE 3D */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 8004AAC8 00047A28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004AACC 00047A2C 40 82 00 10 */ bne lbl_8004AADC -/* 8004AAD0 00047A30 FC 20 F8 90 */ fmr f1, f31 -/* 8004AAD4 00047A34 7F C3 F3 78 */ mr r3, r30 -/* 8004AAD8 00047A38 4B FF A4 1D */ bl UpdateEscapeSequenceTimer__13CStateManagerFf -lbl_8004AADC: -/* 8004AADC 00047A3C FC 20 F8 90 */ fmr f1, f31 -/* 8004AAE0 00047A40 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 8004AAE4 00047A44 48 00 B8 51 */ bl Update__6CWorldFf -/* 8004AAE8 00047A48 FC 20 F8 90 */ fmr f1, f31 -/* 8004AAEC 00047A4C 80 7E 08 8C */ lwz r3, 0x88c(r30) -/* 8004AAF0 00047A50 48 1E 36 05 */ bl Update__14CRumbleManagerFf -/* 8004AAF4 00047A54 28 1F 00 00 */ cmplwi r31, 0 -/* 8004AAF8 00047A58 40 82 00 14 */ bne lbl_8004AB0C -/* 8004AAFC 00047A5C FC 20 F8 90 */ fmr f1, f31 -/* 8004AB00 00047A60 80 7E 08 80 */ lwz r3, 0x880(r30) -/* 8004AB04 00047A64 7F C4 F3 78 */ mr r4, r30 -/* 8004AB08 00047A68 48 1C 75 BD */ bl Update__13CEnvFxManagerFfR13CStateManager -lbl_8004AB0C: -/* 8004AB0C 00047A6C 7F C3 F3 78 */ mr r3, r30 -/* 8004AB10 00047A70 4B FF F9 45 */ bl UpdateAreaSounds__13CStateManagerFv -/* 8004AB14 00047A74 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 8004AB18 00047A78 38 60 00 01 */ li r3, 1 -/* 8004AB1C 00047A7C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8004AB20 00047A80 98 1E 0F 94 */ stb r0, 0xf94(r30) -/* 8004AB24 00047A84 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 8004AB28 00047A88 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8004AB2C 00047A8C 41 82 00 40 */ beq lbl_8004AB6C -/* 8004AB30 00047A90 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8004AB34 00047A94 3B E3 01 F8 */ addi r31, r3, 0x1f8 -/* 8004AB38 00047A98 7F E3 FB 78 */ mr r3, r31 -/* 8004AB3C 00047A9C 48 21 CB E1 */ bl GetCurrentDisplayedHint__12CHintOptionsCFv -/* 8004AB40 00047AA0 28 03 00 00 */ cmplwi r3, 0 -/* 8004AB44 00047AA4 41 82 00 18 */ beq lbl_8004AB5C -/* 8004AB48 00047AA8 48 21 D3 05 */ bl CanContinue__Q212CHintOptions10SHintStateFv -/* 8004AB4C 00047AAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004AB50 00047AB0 41 82 00 0C */ beq lbl_8004AB5C -/* 8004AB54 00047AB4 7F E3 FB 78 */ mr r3, r31 -/* 8004AB58 00047AB8 48 21 CA C9 */ bl DismissDisplayedHint__12CHintOptionsFv -lbl_8004AB5C: -/* 8004AB5C 00047ABC 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 8004AB60 00047AC0 38 60 00 00 */ li r3, 0 -/* 8004AB64 00047AC4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8004AB68 00047AC8 98 1E 0F 94 */ stb r0, 0xf94(r30) -lbl_8004AB6C: -/* 8004AB6C 00047ACC 80 1E 08 CC */ lwz r0, 0x8cc(r30) -/* 8004AB70 00047AD0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8004AB74 00047AD4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8004AB78 00047AD8 48 18 8E 35 */ bl CurrentWorldState__10CGameStateFv -/* 8004AB7C 00047ADC 38 81 00 0C */ addi r4, r1, 0xc -/* 8004AB80 00047AE0 48 18 A1 CD */ bl SetAreaId__11CWorldStateF7TAreaId -/* 8004AB84 00047AE4 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 8004AB88 00047AE8 7F C5 F3 78 */ mr r5, r30 -/* 8004AB8C 00047AEC 38 9E 08 CC */ addi r4, r30, 0x8cc -/* 8004AB90 00047AF0 38 C0 00 00 */ li r6, 0 -/* 8004AB94 00047AF4 48 00 D0 19 */ bl TravelToArea__6CWorldFRC7TAreaIdR13CStateManagerb -/* 8004AB98 00047AF8 7F C3 F3 78 */ mr r3, r30 -/* 8004AB9C 00047AFC 48 00 15 F9 */ bl BringOutYourDead__13CStateManagerFv -/* 8004ABA0 00047B00 80 7E 08 D8 */ lwz r3, 0x8d8(r30) -/* 8004ABA4 00047B04 38 03 00 01 */ addi r0, r3, 1 -/* 8004ABA8 00047B08 90 1E 08 D8 */ stw r0, 0x8d8(r30) -/* 8004ABAC 00047B0C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8004ABB0 00047B10 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8004ABB4 00047B14 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8004ABB8 00047B18 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8004ABBC 00047B1C 7C 08 03 A6 */ mtlr r0 -/* 8004ABC0 00047B20 38 21 00 40 */ addi r1, r1, 0x40 -/* 8004ABC4 00047B24 4E 80 00 20 */ blr - -.global PostUpdatePlayer__13CStateManagerFf -PostUpdatePlayer__13CStateManagerFf: -/* 8004ABC8 00047B28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004ABCC 00047B2C 7C 08 02 A6 */ mflr r0 -/* 8004ABD0 00047B30 7C 64 1B 78 */ mr r4, r3 -/* 8004ABD4 00047B34 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004ABD8 00047B38 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 8004ABDC 00047B3C 4B FC 61 55 */ bl PostUpdate__7CPlayerFfR13CStateManager -/* 8004ABE0 00047B40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004ABE4 00047B44 7C 08 03 A6 */ mtlr r0 -/* 8004ABE8 00047B48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004ABEC 00047B4C 4E 80 00 20 */ blr - -.global PreThinkObjects__13CStateManagerFf -PreThinkObjects__13CStateManagerFf: -/* 8004ABF0 00047B50 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8004ABF4 00047B54 7C 08 02 A6 */ mflr r0 -/* 8004ABF8 00047B58 90 01 00 44 */ stw r0, 0x44(r1) -/* 8004ABFC 00047B5C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8004AC00 00047B60 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8004AC04 00047B64 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8004AC08 00047B68 7C 7B 1B 78 */ mr r27, r3 -/* 8004AC0C 00047B6C C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004AC10 00047B70 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 8004AC14 00047B74 FF E0 08 90 */ fmr f31, f1 -/* 8004AC18 00047B78 C0 43 09 F4 */ lfs f2, 0x9f4(r3) -/* 8004AC1C 00047B7C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8004AC20 00047B80 40 81 00 10 */ ble lbl_8004AC30 -/* 8004AC24 00047B84 7F 64 DB 78 */ mr r4, r27 -/* 8004AC28 00047B88 4B FC 6D 59 */ bl DoPreThink__7CPlayerfRC13CStateManager -/* 8004AC2C 00047B8C 48 00 01 00 */ b lbl_8004AD2C -lbl_8004AC30: -/* 8004AC30 00047B90 80 1B 09 04 */ lwz r0, 0x904(r27) -/* 8004AC34 00047B94 83 FB 08 10 */ lwz r31, 0x810(r27) -/* 8004AC38 00047B98 2C 00 00 01 */ cmpwi r0, 1 -/* 8004AC3C 00047B9C 40 82 00 70 */ bne lbl_8004ACAC -/* 8004AC40 00047BA0 AB DF 20 08 */ lha r30, 0x2008(r31) -/* 8004AC44 00047BA4 48 00 00 5C */ b lbl_8004ACA0 -lbl_8004AC48: -/* 8004AC48 00047BA8 7F E3 FB 78 */ mr r3, r31 -/* 8004AC4C 00047BAC 7F C4 F3 78 */ mr r4, r30 -/* 8004AC50 00047BB0 4B FC 50 C5 */ bl __vc__11CObjectListFi -/* 8004AC54 00047BB4 7C 64 1B 78 */ mr r4, r3 -/* 8004AC58 00047BB8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8004AC5C 00047BBC 48 05 F1 81 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" -/* 8004AC60 00047BC0 80 63 00 04 */ lwz r3, 4(r3) -/* 8004AC64 00047BC4 28 03 00 00 */ cmplwi r3, 0 -/* 8004AC68 00047BC8 41 82 00 1C */ beq lbl_8004AC84 -/* 8004AC6C 00047BCC 81 83 00 00 */ lwz r12, 0(r3) -/* 8004AC70 00047BD0 FC 20 F8 90 */ fmr f1, f31 -/* 8004AC74 00047BD4 7F 64 DB 78 */ mr r4, r27 -/* 8004AC78 00047BD8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8004AC7C 00047BDC 7D 89 03 A6 */ mtctr r12 -/* 8004AC80 00047BE0 4E 80 04 21 */ bctrl -lbl_8004AC84: -/* 8004AC84 00047BE4 2C 1E FF FF */ cmpwi r30, -1 -/* 8004AC88 00047BE8 41 82 00 14 */ beq lbl_8004AC9C -/* 8004AC8C 00047BEC 57 C3 18 38 */ slwi r3, r30, 3 -/* 8004AC90 00047BF0 38 03 00 08 */ addi r0, r3, 8 -/* 8004AC94 00047BF4 7F DF 02 AE */ lhax r30, r31, r0 -/* 8004AC98 00047BF8 48 00 00 08 */ b lbl_8004ACA0 -lbl_8004AC9C: -/* 8004AC9C 00047BFC 3B C0 FF FF */ li r30, -1 -lbl_8004ACA0: -/* 8004ACA0 00047C00 2C 1E FF FF */ cmpwi r30, -1 -/* 8004ACA4 00047C04 40 82 FF A4 */ bne lbl_8004AC48 -/* 8004ACA8 00047C08 48 00 00 84 */ b lbl_8004AD2C -lbl_8004ACAC: -/* 8004ACAC 00047C0C 83 DB 08 28 */ lwz r30, 0x828(r27) -/* 8004ACB0 00047C10 AB BF 20 08 */ lha r29, 0x2008(r31) -/* 8004ACB4 00047C14 48 00 00 70 */ b lbl_8004AD24 -lbl_8004ACB8: -/* 8004ACB8 00047C18 7F E3 FB 78 */ mr r3, r31 -/* 8004ACBC 00047C1C 7F A4 EB 78 */ mr r4, r29 -/* 8004ACC0 00047C20 4B FC 50 55 */ bl __vc__11CObjectListFi -/* 8004ACC4 00047C24 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8004ACC8 00047C28 41 82 00 40 */ beq lbl_8004AD08 -/* 8004ACCC 00047C2C A0 1C 00 08 */ lhz r0, 8(r28) -/* 8004ACD0 00047C30 7F C3 F3 78 */ mr r3, r30 -/* 8004ACD4 00047C34 38 81 00 0C */ addi r4, r1, 0xc -/* 8004ACD8 00047C38 B0 01 00 08 */ sth r0, 8(r1) -/* 8004ACDC 00047C3C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004ACE0 00047C40 4B FC 51 69 */ bl GetObjectById__11CObjectListF9TUniqueId -/* 8004ACE4 00047C44 28 03 00 00 */ cmplwi r3, 0 -/* 8004ACE8 00047C48 40 82 00 20 */ bne lbl_8004AD08 -/* 8004ACEC 00047C4C 7F 83 E3 78 */ mr r3, r28 -/* 8004ACF0 00047C50 FC 20 F8 90 */ fmr f1, f31 -/* 8004ACF4 00047C54 81 9C 00 00 */ lwz r12, 0(r28) -/* 8004ACF8 00047C58 7F 64 DB 78 */ mr r4, r27 -/* 8004ACFC 00047C5C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8004AD00 00047C60 7D 89 03 A6 */ mtctr r12 -/* 8004AD04 00047C64 4E 80 04 21 */ bctrl -lbl_8004AD08: -/* 8004AD08 00047C68 2C 1D FF FF */ cmpwi r29, -1 -/* 8004AD0C 00047C6C 41 82 00 14 */ beq lbl_8004AD20 -/* 8004AD10 00047C70 57 A3 18 38 */ slwi r3, r29, 3 -/* 8004AD14 00047C74 38 03 00 08 */ addi r0, r3, 8 -/* 8004AD18 00047C78 7F BF 02 AE */ lhax r29, r31, r0 -/* 8004AD1C 00047C7C 48 00 00 08 */ b lbl_8004AD24 -lbl_8004AD20: -/* 8004AD20 00047C80 3B A0 FF FF */ li r29, -1 -lbl_8004AD24: -/* 8004AD24 00047C84 2C 1D FF FF */ cmpwi r29, -1 -/* 8004AD28 00047C88 40 82 FF 90 */ bne lbl_8004ACB8 -lbl_8004AD2C: -/* 8004AD2C 00047C8C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8004AD30 00047C90 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8004AD34 00047C94 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8004AD38 00047C98 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8004AD3C 00047C9C 7C 08 03 A6 */ mtlr r0 -/* 8004AD40 00047CA0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8004AD44 00047CA4 4E 80 00 20 */ blr - -.global Think__13CStateManagerFf -Think__13CStateManagerFf: -/* 8004AD48 00047CA8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8004AD4C 00047CAC 7C 08 02 A6 */ mflr r0 -/* 8004AD50 00047CB0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8004AD54 00047CB4 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8004AD58 00047CB8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8004AD5C 00047CBC BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8004AD60 00047CC0 7C 7B 1B 78 */ mr r27, r3 -/* 8004AD64 00047CC4 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004AD68 00047CC8 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 8004AD6C 00047CCC FF E0 08 90 */ fmr f31, f1 -/* 8004AD70 00047CD0 C0 43 09 F4 */ lfs f2, 0x9f4(r3) -/* 8004AD74 00047CD4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8004AD78 00047CD8 40 81 00 10 */ ble lbl_8004AD88 -/* 8004AD7C 00047CDC 7F 64 DB 78 */ mr r4, r27 -/* 8004AD80 00047CE0 4B FC 6C 85 */ bl DoThink__7CPlayerFfRC13CStateManager -/* 8004AD84 00047CE4 48 00 01 90 */ b lbl_8004AF14 -lbl_8004AD88: -/* 8004AD88 00047CE8 80 1B 09 04 */ lwz r0, 0x904(r27) -/* 8004AD8C 00047CEC 83 FB 08 10 */ lwz r31, 0x810(r27) -/* 8004AD90 00047CF0 2C 00 00 01 */ cmpwi r0, 1 -/* 8004AD94 00047CF4 40 82 00 70 */ bne lbl_8004AE04 -/* 8004AD98 00047CF8 AB 9F 20 08 */ lha r28, 0x2008(r31) -/* 8004AD9C 00047CFC 48 00 00 5C */ b lbl_8004ADF8 -lbl_8004ADA0: -/* 8004ADA0 00047D00 7F E3 FB 78 */ mr r3, r31 -/* 8004ADA4 00047D04 7F 84 E3 78 */ mr r4, r28 -/* 8004ADA8 00047D08 4B FC 4F 6D */ bl __vc__11CObjectListFi -/* 8004ADAC 00047D0C 7C 64 1B 78 */ mr r4, r3 -/* 8004ADB0 00047D10 38 61 00 20 */ addi r3, r1, 0x20 -/* 8004ADB4 00047D14 48 05 F0 29 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" -/* 8004ADB8 00047D18 80 63 00 04 */ lwz r3, 4(r3) -/* 8004ADBC 00047D1C 28 03 00 00 */ cmplwi r3, 0 -/* 8004ADC0 00047D20 41 82 00 1C */ beq lbl_8004ADDC -/* 8004ADC4 00047D24 81 83 00 00 */ lwz r12, 0(r3) -/* 8004ADC8 00047D28 FC 20 F8 90 */ fmr f1, f31 -/* 8004ADCC 00047D2C 7F 64 DB 78 */ mr r4, r27 -/* 8004ADD0 00047D30 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8004ADD4 00047D34 7D 89 03 A6 */ mtctr r12 -/* 8004ADD8 00047D38 4E 80 04 21 */ bctrl -lbl_8004ADDC: -/* 8004ADDC 00047D3C 2C 1C FF FF */ cmpwi r28, -1 -/* 8004ADE0 00047D40 41 82 00 14 */ beq lbl_8004ADF4 -/* 8004ADE4 00047D44 57 83 18 38 */ slwi r3, r28, 3 -/* 8004ADE8 00047D48 38 03 00 08 */ addi r0, r3, 8 -/* 8004ADEC 00047D4C 7F 9F 02 AE */ lhax r28, r31, r0 -/* 8004ADF0 00047D50 48 00 00 08 */ b lbl_8004ADF8 -lbl_8004ADF4: -/* 8004ADF4 00047D54 3B 80 FF FF */ li r28, -1 -lbl_8004ADF8: -/* 8004ADF8 00047D58 2C 1C FF FF */ cmpwi r28, -1 -/* 8004ADFC 00047D5C 40 82 FF A4 */ bne lbl_8004ADA0 -/* 8004AE00 00047D60 48 00 01 14 */ b lbl_8004AF14 -lbl_8004AE04: -/* 8004AE04 00047D64 83 DB 08 28 */ lwz r30, 0x828(r27) -/* 8004AE08 00047D68 AB BF 20 08 */ lha r29, 0x2008(r31) -/* 8004AE0C 00047D6C 48 00 01 00 */ b lbl_8004AF0C -lbl_8004AE10: -/* 8004AE10 00047D70 7F E3 FB 78 */ mr r3, r31 -/* 8004AE14 00047D74 7F A4 EB 78 */ mr r4, r29 -/* 8004AE18 00047D78 4B FC 4E FD */ bl __vc__11CObjectListFi -/* 8004AE1C 00047D7C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8004AE20 00047D80 41 82 00 D0 */ beq lbl_8004AEF0 -/* 8004AE24 00047D84 7F 84 E3 78 */ mr r4, r28 -/* 8004AE28 00047D88 38 61 00 18 */ addi r3, r1, 0x18 -/* 8004AE2C 00047D8C 48 06 1C 31 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 8004AE30 00047D90 80 83 00 04 */ lwz r4, 4(r3) -/* 8004AE34 00047D94 28 04 00 00 */ cmplwi r4, 0 -/* 8004AE38 00047D98 41 82 00 7C */ beq lbl_8004AEB4 -/* 8004AE3C 00047D9C 88 1B 0F 94 */ lbz r0, 0xf94(r27) -/* 8004AE40 00047DA0 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f -/* 8004AE44 00047DA4 7C 03 00 34 */ cntlzw r3, r0 -/* 8004AE48 00047DA8 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 8004AE4C 00047DAC 54 65 D9 7E */ srwi r5, r3, 5 -/* 8004AE50 00047DB0 41 82 00 5C */ beq lbl_8004AEAC -/* 8004AE54 00047DB4 80 C4 00 04 */ lwz r6, 4(r4) -/* 8004AE58 00047DB8 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8004AE5C 00047DBC 7C 06 00 00 */ cmpw r6, r0 -/* 8004AE60 00047DC0 41 82 00 4C */ beq lbl_8004AEAC -/* 8004AE64 00047DC4 80 9B 08 50 */ lwz r4, 0x850(r27) -/* 8004AE68 00047DC8 54 C3 18 38 */ slwi r3, r6, 3 -/* 8004AE6C 00047DCC 38 03 00 04 */ addi r0, r3, 4 -/* 8004AE70 00047DD0 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8004AE74 00047DD4 80 64 00 20 */ lwz r3, 0x20(r4) -/* 8004AE78 00047DD8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8004AE7C 00047DDC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8004AE80 00047DE0 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8004AE84 00047DE4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004AE88 00047DE8 41 82 00 10 */ beq lbl_8004AE98 -/* 8004AE8C 00047DEC 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8004AE90 00047DF0 C0 23 10 E4 */ lfs f1, 0x10e4(r3) -/* 8004AE94 00047DF4 48 00 00 08 */ b lbl_8004AE9C -lbl_8004AE98: -/* 8004AE98 00047DF8 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -lbl_8004AE9C: -/* 8004AE9C 00047DFC C0 02 86 1C */ lfs f0, lbl_805AA33C@sda21(r2) -/* 8004AEA0 00047E00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8004AEA4 00047E04 40 81 00 08 */ ble lbl_8004AEAC -/* 8004AEA8 00047E08 38 A0 00 00 */ li r5, 0 -lbl_8004AEAC: -/* 8004AEAC 00047E0C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8004AEB0 00047E10 41 82 00 40 */ beq lbl_8004AEF0 -lbl_8004AEB4: -/* 8004AEB4 00047E14 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8004AEB8 00047E18 7F C3 F3 78 */ mr r3, r30 -/* 8004AEBC 00047E1C 38 81 00 0C */ addi r4, r1, 0xc -/* 8004AEC0 00047E20 B0 01 00 08 */ sth r0, 8(r1) -/* 8004AEC4 00047E24 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004AEC8 00047E28 4B FC 4F 81 */ bl GetObjectById__11CObjectListF9TUniqueId -/* 8004AECC 00047E2C 28 03 00 00 */ cmplwi r3, 0 -/* 8004AED0 00047E30 40 82 00 20 */ bne lbl_8004AEF0 -/* 8004AED4 00047E34 7F 83 E3 78 */ mr r3, r28 -/* 8004AED8 00047E38 FC 20 F8 90 */ fmr f1, f31 -/* 8004AEDC 00047E3C 81 9C 00 00 */ lwz r12, 0(r28) -/* 8004AEE0 00047E40 7F 64 DB 78 */ mr r4, r27 -/* 8004AEE4 00047E44 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8004AEE8 00047E48 7D 89 03 A6 */ mtctr r12 -/* 8004AEEC 00047E4C 4E 80 04 21 */ bctrl -lbl_8004AEF0: -/* 8004AEF0 00047E50 2C 1D FF FF */ cmpwi r29, -1 -/* 8004AEF4 00047E54 41 82 00 14 */ beq lbl_8004AF08 -/* 8004AEF8 00047E58 57 A3 18 38 */ slwi r3, r29, 3 -/* 8004AEFC 00047E5C 38 03 00 08 */ addi r0, r3, 8 -/* 8004AF00 00047E60 7F BF 02 AE */ lhax r29, r31, r0 -/* 8004AF04 00047E64 48 00 00 08 */ b lbl_8004AF0C -lbl_8004AF08: -/* 8004AF08 00047E68 3B A0 FF FF */ li r29, -1 -lbl_8004AF0C: -/* 8004AF0C 00047E6C 2C 1D FF FF */ cmpwi r29, -1 -/* 8004AF10 00047E70 40 82 FF 00 */ bne lbl_8004AE10 -lbl_8004AF14: -/* 8004AF14 00047E74 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8004AF18 00047E78 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8004AF1C 00047E7C BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8004AF20 00047E80 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8004AF24 00047E84 7C 08 03 A6 */ mtlr r0 -/* 8004AF28 00047E88 38 21 00 50 */ addi r1, r1, 0x50 -/* 8004AF2C 00047E8C 4E 80 00 20 */ blr - -.global CrossTouchActors__13CStateManagerFf -CrossTouchActors__13CStateManagerFf: -/* 8004AF30 00047E90 94 21 F3 30 */ stwu r1, -0xcd0(r1) -/* 8004AF34 00047E94 7C 08 02 A6 */ mflr r0 -/* 8004AF38 00047E98 38 80 00 00 */ li r4, 0 -/* 8004AF3C 00047E9C 38 A0 04 00 */ li r5, 0x400 -/* 8004AF40 00047EA0 90 01 0C D4 */ stw r0, 0xcd4(r1) -/* 8004AF44 00047EA4 BF 21 0C B4 */ stmw r25, 0xcb4(r1) -/* 8004AF48 00047EA8 7C 79 1B 78 */ mr r25, r3 -/* 8004AF4C 00047EAC 38 61 08 B0 */ addi r3, r1, 0x8b0 -/* 8004AF50 00047EB0 83 F9 08 18 */ lwz r31, 0x818(r25) -/* 8004AF54 00047EB4 4B FB 84 55 */ bl memset -/* 8004AF58 00047EB8 AB BF 20 08 */ lha r29, 0x2008(r31) -/* 8004AF5C 00047EBC 3B C1 00 B0 */ addi r30, r1, 0xb0 -/* 8004AF60 00047EC0 48 00 03 10 */ b lbl_8004B270 -lbl_8004AF64: -/* 8004AF64 00047EC4 7F E3 FB 78 */ mr r3, r31 -/* 8004AF68 00047EC8 7F A4 EB 78 */ mr r4, r29 -/* 8004AF6C 00047ECC 4B FC 4D A9 */ bl __vc__11CObjectListFi -/* 8004AF70 00047ED0 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8004AF74 00047ED4 41 82 02 E0 */ beq lbl_8004B254 -/* 8004AF78 00047ED8 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 8004AF7C 00047EDC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004AF80 00047EE0 41 82 02 D4 */ beq lbl_8004B254 -/* 8004AF84 00047EE4 48 00 94 45 */ bl GetCallTouch__6CActorCFv -/* 8004AF88 00047EE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004AF8C 00047EEC 41 82 02 C8 */ beq lbl_8004B254 -/* 8004AF90 00047EF0 7F 84 E3 78 */ mr r4, r28 -/* 8004AF94 00047EF4 38 61 00 40 */ addi r3, r1, 0x40 -/* 8004AF98 00047EF8 81 9C 00 00 */ lwz r12, 0(r28) -/* 8004AF9C 00047EFC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8004AFA0 00047F00 7D 89 03 A6 */ mtctr r12 -/* 8004AFA4 00047F04 4E 80 04 21 */ bctrl -/* 8004AFA8 00047F08 88 01 00 58 */ lbz r0, 0x58(r1) -/* 8004AFAC 00047F0C 28 00 00 00 */ cmplwi r0, 0 -/* 8004AFB0 00047F10 98 01 00 A8 */ stb r0, 0xa8(r1) -/* 8004AFB4 00047F14 41 82 00 3C */ beq lbl_8004AFF0 -/* 8004AFB8 00047F18 34 61 00 90 */ addic. r3, r1, 0x90 -/* 8004AFBC 00047F1C 41 82 00 34 */ beq lbl_8004AFF0 -/* 8004AFC0 00047F20 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8004AFC4 00047F24 D0 03 00 00 */ stfs f0, 0(r3) -/* 8004AFC8 00047F28 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8004AFCC 00047F2C D0 03 00 04 */ stfs f0, 4(r3) -/* 8004AFD0 00047F30 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8004AFD4 00047F34 D0 03 00 08 */ stfs f0, 8(r3) -/* 8004AFD8 00047F38 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8004AFDC 00047F3C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8004AFE0 00047F40 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8004AFE4 00047F44 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8004AFE8 00047F48 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8004AFEC 00047F4C D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8004AFF0: -/* 8004AFF0 00047F50 88 01 00 A8 */ lbz r0, 0xa8(r1) -/* 8004AFF4 00047F54 38 A0 00 00 */ li r5, 0 -/* 8004AFF8 00047F58 98 A1 00 58 */ stb r5, 0x58(r1) -/* 8004AFFC 00047F5C 28 00 00 00 */ cmplwi r0, 0 -/* 8004B000 00047F60 40 82 00 0C */ bne lbl_8004B00C -/* 8004B004 00047F64 98 A1 00 A8 */ stb r5, 0xa8(r1) -/* 8004B008 00047F68 48 00 02 4C */ b lbl_8004B254 -lbl_8004B00C: -/* 8004B00C 00047F6C 90 A1 00 AC */ stw r5, 0xac(r1) -/* 8004B010 00047F70 38 00 00 04 */ li r0, 4 -/* 8004B014 00047F74 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 8004B018 00047F78 80 9C 00 6C */ lwz r4, 0x6c(r28) -/* 8004B01C 00047F7C 7C 60 00 38 */ and r0, r3, r0 -/* 8004B020 00047F80 7C 83 28 38 */ and r3, r4, r5 -/* 8004B024 00047F84 7C 63 2A 78 */ xor r3, r3, r5 -/* 8004B028 00047F88 7C 00 2A 78 */ xor r0, r0, r5 -/* 8004B02C 00047F8C 7C 60 03 79 */ or. r0, r3, r0 -/* 8004B030 00047F90 41 82 00 3C */ beq lbl_8004B06C -/* 8004B034 00047F94 80 AD 82 70 */ lwz r5, lbl_805A6E30@sda21(r13) -/* 8004B038 00047F98 38 60 00 00 */ li r3, 0 -/* 8004B03C 00047F9C 38 80 00 01 */ li r4, 1 -/* 8004B040 00047FA0 48 33 EE B5 */ bl __shl2i -/* 8004B044 00047FA4 38 C0 FF FF */ li r6, -1 -/* 8004B048 00047FA8 38 A0 00 00 */ li r5, 0 -/* 8004B04C 00047FAC 38 00 00 02 */ li r0, 2 -/* 8004B050 00047FB0 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 8004B054 00047FB4 39 21 00 28 */ addi r9, r1, 0x28 -/* 8004B058 00047FB8 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8004B05C 00047FBC 90 81 00 34 */ stw r4, 0x34(r1) -/* 8004B060 00047FC0 90 61 00 30 */ stw r3, 0x30(r1) -/* 8004B064 00047FC4 90 01 00 38 */ stw r0, 0x38(r1) -/* 8004B068 00047FC8 48 00 00 0C */ b lbl_8004B074 -lbl_8004B06C: -/* 8004B06C 00047FCC 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 8004B070 00047FD0 39 23 FD 18 */ addi r9, r3, lbl_8059FD18@l -lbl_8004B074: -/* 8004B074 00047FD4 80 09 00 00 */ lwz r0, 0(r9) -/* 8004B078 00047FD8 7F 23 CB 78 */ mr r3, r25 -/* 8004B07C 00047FDC 80 C9 00 04 */ lwz r6, 4(r9) -/* 8004B080 00047FE0 7F 87 E3 78 */ mr r7, r28 -/* 8004B084 00047FE4 38 81 00 AC */ addi r4, r1, 0xac -/* 8004B088 00047FE8 38 A1 00 90 */ addi r5, r1, 0x90 -/* 8004B08C 00047FEC 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 8004B090 00047FF0 38 C1 00 78 */ addi r6, r1, 0x78 -/* 8004B094 00047FF4 90 01 00 78 */ stw r0, 0x78(r1) -/* 8004B098 00047FF8 80 09 00 08 */ lwz r0, 8(r9) -/* 8004B09C 00047FFC 81 09 00 0C */ lwz r8, 0xc(r9) -/* 8004B0A0 00048000 91 01 00 84 */ stw r8, 0x84(r1) -/* 8004B0A4 00048004 90 01 00 80 */ stw r0, 0x80(r1) -/* 8004B0A8 00048008 80 09 00 10 */ lwz r0, 0x10(r9) -/* 8004B0AC 0004800C 90 01 00 88 */ stw r0, 0x88(r1) -/* 8004B0B0 00048010 48 00 16 71 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8004B0B4 00048014 7F DB F3 78 */ mr r27, r30 -/* 8004B0B8 00048018 48 00 01 30 */ b lbl_8004B1E8 -lbl_8004B0BC: -/* 8004B0BC 0004801C A0 1B 00 00 */ lhz r0, 0(r27) -/* 8004B0C0 00048020 7F 23 CB 78 */ mr r3, r25 -/* 8004B0C4 00048024 38 81 00 08 */ addi r4, r1, 8 -/* 8004B0C8 00048028 B0 01 00 08 */ sth r0, 8(r1) -/* 8004B0CC 0004802C 48 00 14 A9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8004B0D0 00048030 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8004B0D4 00048034 41 82 01 10 */ beq lbl_8004B1E4 -/* 8004B0D8 00048038 7F 44 D3 78 */ mr r4, r26 -/* 8004B0DC 0004803C 38 61 00 0C */ addi r3, r1, 0xc -/* 8004B0E0 00048040 81 9A 00 00 */ lwz r12, 0(r26) -/* 8004B0E4 00048044 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8004B0E8 00048048 7D 89 03 A6 */ mtctr r12 -/* 8004B0EC 0004804C 4E 80 04 21 */ bctrl -/* 8004B0F0 00048050 88 01 00 24 */ lbz r0, 0x24(r1) -/* 8004B0F4 00048054 28 00 00 00 */ cmplwi r0, 0 -/* 8004B0F8 00048058 98 01 00 74 */ stb r0, 0x74(r1) -/* 8004B0FC 0004805C 41 82 00 3C */ beq lbl_8004B138 -/* 8004B100 00048060 34 61 00 5C */ addic. r3, r1, 0x5c -/* 8004B104 00048064 41 82 00 34 */ beq lbl_8004B138 -/* 8004B108 00048068 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8004B10C 0004806C D0 03 00 00 */ stfs f0, 0(r3) -/* 8004B110 00048070 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8004B114 00048074 D0 03 00 04 */ stfs f0, 4(r3) -/* 8004B118 00048078 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8004B11C 0004807C D0 03 00 08 */ stfs f0, 8(r3) -/* 8004B120 00048080 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8004B124 00048084 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8004B128 00048088 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8004B12C 0004808C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8004B130 00048090 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8004B134 00048094 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8004B138: -/* 8004B138 00048098 38 00 00 00 */ li r0, 0 -/* 8004B13C 0004809C 98 01 00 24 */ stb r0, 0x24(r1) -/* 8004B140 000480A0 88 1A 00 30 */ lbz r0, 0x30(r26) -/* 8004B144 000480A4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004B148 000480A8 41 82 00 10 */ beq lbl_8004B158 -/* 8004B14C 000480AC 88 01 00 74 */ lbz r0, 0x74(r1) -/* 8004B150 000480B0 28 00 00 00 */ cmplwi r0, 0 -/* 8004B154 000480B4 40 82 00 10 */ bne lbl_8004B164 -lbl_8004B158: -/* 8004B158 000480B8 38 00 00 00 */ li r0, 0 -/* 8004B15C 000480BC 98 01 00 74 */ stb r0, 0x74(r1) -/* 8004B160 000480C0 48 00 00 84 */ b lbl_8004B1E4 -lbl_8004B164: -/* 8004B164 000480C4 A0 1A 00 08 */ lhz r0, 8(r26) -/* 8004B168 000480C8 38 61 08 B0 */ addi r3, r1, 0x8b0 -/* 8004B16C 000480CC 54 00 05 BE */ clrlwi r0, r0, 0x16 -/* 8004B170 000480D0 7C 03 00 AE */ lbzx r0, r3, r0 -/* 8004B174 000480D4 28 00 00 00 */ cmplwi r0, 0 -/* 8004B178 000480D8 40 82 00 64 */ bne lbl_8004B1DC -/* 8004B17C 000480DC 38 61 00 90 */ addi r3, r1, 0x90 -/* 8004B180 000480E0 38 81 00 5C */ addi r4, r1, 0x5c -/* 8004B184 000480E4 48 2E CA 01 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 8004B188 000480E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004B18C 000480EC 41 82 00 3C */ beq lbl_8004B1C8 -/* 8004B190 000480F0 7F 83 E3 78 */ mr r3, r28 -/* 8004B194 000480F4 7F 44 D3 78 */ mr r4, r26 -/* 8004B198 000480F8 81 9C 00 00 */ lwz r12, 0(r28) -/* 8004B19C 000480FC 7F 25 CB 78 */ mr r5, r25 -/* 8004B1A0 00048100 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8004B1A4 00048104 7D 89 03 A6 */ mtctr r12 -/* 8004B1A8 00048108 4E 80 04 21 */ bctrl -/* 8004B1AC 0004810C 7F 43 D3 78 */ mr r3, r26 -/* 8004B1B0 00048110 7F 84 E3 78 */ mr r4, r28 -/* 8004B1B4 00048114 81 9A 00 00 */ lwz r12, 0(r26) -/* 8004B1B8 00048118 7F 25 CB 78 */ mr r5, r25 -/* 8004B1BC 0004811C 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8004B1C0 00048120 7D 89 03 A6 */ mtctr r12 -/* 8004B1C4 00048124 4E 80 04 21 */ bctrl -lbl_8004B1C8: -/* 8004B1C8 00048128 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8004B1CC 0004812C 38 61 08 B0 */ addi r3, r1, 0x8b0 -/* 8004B1D0 00048130 38 80 00 01 */ li r4, 1 -/* 8004B1D4 00048134 54 00 05 BE */ clrlwi r0, r0, 0x16 -/* 8004B1D8 00048138 7C 83 01 AE */ stbx r4, r3, r0 -lbl_8004B1DC: -/* 8004B1DC 0004813C 38 00 00 00 */ li r0, 0 -/* 8004B1E0 00048140 98 01 00 74 */ stb r0, 0x74(r1) -lbl_8004B1E4: -/* 8004B1E4 00048144 3B 7B 00 02 */ addi r27, r27, 2 -lbl_8004B1E8: -/* 8004B1E8 00048148 80 A1 00 AC */ lwz r5, 0xac(r1) -/* 8004B1EC 0004814C 54 A0 08 3C */ slwi r0, r5, 1 -/* 8004B1F0 00048150 7C 1E 02 14 */ add r0, r30, r0 -/* 8004B1F4 00048154 7C 1B 00 40 */ cmplw r27, r0 -/* 8004B1F8 00048158 40 82 FE C4 */ bne lbl_8004B0BC -/* 8004B1FC 0004815C 2C 05 00 00 */ cmpwi r5, 0 -/* 8004B200 00048160 38 60 00 00 */ li r3, 0 -/* 8004B204 00048164 40 81 00 44 */ ble lbl_8004B248 -/* 8004B208 00048168 2C 05 00 08 */ cmpwi r5, 8 -/* 8004B20C 0004816C 38 85 FF F8 */ addi r4, r5, -8 -/* 8004B210 00048170 40 81 00 20 */ ble lbl_8004B230 -/* 8004B214 00048174 38 04 00 07 */ addi r0, r4, 7 -/* 8004B218 00048178 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004B21C 0004817C 7C 09 03 A6 */ mtctr r0 -/* 8004B220 00048180 2C 04 00 00 */ cmpwi r4, 0 -/* 8004B224 00048184 40 81 00 0C */ ble lbl_8004B230 -lbl_8004B228: -/* 8004B228 00048188 38 63 00 08 */ addi r3, r3, 8 -/* 8004B22C 0004818C 42 00 FF FC */ bdnz lbl_8004B228 -lbl_8004B230: -/* 8004B230 00048190 7C 03 28 50 */ subf r0, r3, r5 -/* 8004B234 00048194 7C 09 03 A6 */ mtctr r0 -/* 8004B238 00048198 7C 03 28 00 */ cmpw r3, r5 -/* 8004B23C 0004819C 40 80 00 0C */ bge lbl_8004B248 -lbl_8004B240: -/* 8004B240 000481A0 38 63 00 01 */ addi r3, r3, 1 -/* 8004B244 000481A4 42 00 FF FC */ bdnz lbl_8004B240 -lbl_8004B248: -/* 8004B248 000481A8 38 00 00 00 */ li r0, 0 -/* 8004B24C 000481AC 90 01 00 AC */ stw r0, 0xac(r1) -/* 8004B250 000481B0 98 01 00 A8 */ stb r0, 0xa8(r1) -lbl_8004B254: -/* 8004B254 000481B4 2C 1D FF FF */ cmpwi r29, -1 -/* 8004B258 000481B8 41 82 00 14 */ beq lbl_8004B26C -/* 8004B25C 000481BC 57 A3 18 38 */ slwi r3, r29, 3 -/* 8004B260 000481C0 38 03 00 08 */ addi r0, r3, 8 -/* 8004B264 000481C4 7F BF 02 AE */ lhax r29, r31, r0 -/* 8004B268 000481C8 48 00 00 08 */ b lbl_8004B270 -lbl_8004B26C: -/* 8004B26C 000481CC 3B A0 FF FF */ li r29, -1 -lbl_8004B270: -/* 8004B270 000481D0 2C 1D FF FF */ cmpwi r29, -1 -/* 8004B274 000481D4 40 82 FC F0 */ bne lbl_8004AF64 -/* 8004B278 000481D8 BB 21 0C B4 */ lmw r25, 0xcb4(r1) -/* 8004B27C 000481DC 80 01 0C D4 */ lwz r0, 0xcd4(r1) -/* 8004B280 000481E0 7C 08 03 A6 */ mtlr r0 -/* 8004B284 000481E4 38 21 0C D0 */ addi r1, r1, 0xcd0 -/* 8004B288 000481E8 4E 80 00 20 */ blr - -.global MoveDoors__13CStateManagerFf -MoveDoors__13CStateManagerFf: -/* 8004B28C 000481EC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8004B290 000481F0 7C 08 02 A6 */ mflr r0 -/* 8004B294 000481F4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8004B298 000481F8 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8004B29C 000481FC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8004B2A0 00048200 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8004B2A4 00048204 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8004B2A8 00048208 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8004B2AC 0004820C 93 81 00 30 */ stw r28, 0x30(r1) -/* 8004B2B0 00048210 83 E3 08 20 */ lwz r31, 0x820(r3) -/* 8004B2B4 00048214 FF E0 08 90 */ fmr f31, f1 -/* 8004B2B8 00048218 7C 7C 1B 78 */ mr r28, r3 -/* 8004B2BC 0004821C AB DF 20 08 */ lha r30, 0x2008(r31) -/* 8004B2C0 00048220 48 00 01 3C */ b lbl_8004B3FC -lbl_8004B2C4: -/* 8004B2C4 00048224 7F E3 FB 78 */ mr r3, r31 -/* 8004B2C8 00048228 7F C4 F3 78 */ mr r4, r30 -/* 8004B2CC 0004822C 4B FC 4A 49 */ bl __vc__11CObjectListFi -/* 8004B2D0 00048230 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8004B2D4 00048234 41 82 01 0C */ beq lbl_8004B3E0 -/* 8004B2D8 00048238 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 8004B2DC 0004823C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004B2E0 00048240 41 82 01 00 */ beq lbl_8004B3E0 -/* 8004B2E4 00048244 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 8004B2E8 00048248 C0 1D 00 E8 */ lfs f0, 0xe8(r29) -/* 8004B2EC 0004824C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8004B2F0 00048250 41 82 00 F0 */ beq lbl_8004B3E0 -/* 8004B2F4 00048254 7F A4 EB 78 */ mr r4, r29 -/* 8004B2F8 00048258 38 61 00 1C */ addi r3, r1, 0x1c -/* 8004B2FC 0004825C 48 06 17 61 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 8004B300 00048260 80 E3 00 04 */ lwz r7, 4(r3) -/* 8004B304 00048264 28 07 00 00 */ cmplwi r7, 0 -/* 8004B308 00048268 41 82 00 A8 */ beq lbl_8004B3B0 -/* 8004B30C 0004826C 88 1C 0F 94 */ lbz r0, 0xf94(r28) -/* 8004B310 00048270 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f -/* 8004B314 00048274 7C 03 00 34 */ cntlzw r3, r0 -/* 8004B318 00048278 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 8004B31C 0004827C 54 65 D9 7E */ srwi r5, r3, 5 -/* 8004B320 00048280 41 82 00 5C */ beq lbl_8004B37C -/* 8004B324 00048284 80 C7 00 04 */ lwz r6, 4(r7) -/* 8004B328 00048288 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8004B32C 0004828C 7C 06 00 00 */ cmpw r6, r0 -/* 8004B330 00048290 41 82 00 4C */ beq lbl_8004B37C -/* 8004B334 00048294 80 9C 08 50 */ lwz r4, 0x850(r28) -/* 8004B338 00048298 54 C3 18 38 */ slwi r3, r6, 3 -/* 8004B33C 0004829C 38 03 00 04 */ addi r0, r3, 4 -/* 8004B340 000482A0 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8004B344 000482A4 80 64 00 20 */ lwz r3, 0x20(r4) -/* 8004B348 000482A8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8004B34C 000482AC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8004B350 000482B0 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8004B354 000482B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004B358 000482B8 41 82 00 10 */ beq lbl_8004B368 -/* 8004B35C 000482BC 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8004B360 000482C0 C0 23 10 E4 */ lfs f1, 0x10e4(r3) -/* 8004B364 000482C4 48 00 00 08 */ b lbl_8004B36C -lbl_8004B368: -/* 8004B368 000482C8 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -lbl_8004B36C: -/* 8004B36C 000482CC C0 02 86 1C */ lfs f0, lbl_805AA33C@sda21(r2) -/* 8004B370 000482D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8004B374 000482D4 40 81 00 08 */ ble lbl_8004B37C -/* 8004B378 000482D8 38 A0 00 00 */ li r5, 0 -lbl_8004B37C: -/* 8004B37C 000482DC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8004B380 000482E0 40 82 00 30 */ bne lbl_8004B3B0 -/* 8004B384 000482E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004B388 000482E8 7F 83 E3 78 */ mr r3, r28 -/* 8004B38C 000482EC 38 81 00 10 */ addi r4, r1, 0x10 -/* 8004B390 000482F0 38 A1 00 08 */ addi r5, r1, 8 -/* 8004B394 000482F4 B0 01 00 08 */ sth r0, 8(r1) -/* 8004B398 000482F8 38 C0 00 30 */ li r6, 0x30 -/* 8004B39C 000482FC A0 07 00 08 */ lhz r0, 8(r7) -/* 8004B3A0 00048300 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004B3A4 00048304 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8004B3A8 00048308 4B FF 8A AD */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId -/* 8004B3AC 0004830C 48 00 00 34 */ b lbl_8004B3E0 -lbl_8004B3B0: -/* 8004B3B0 00048310 80 1C 08 4C */ lwz r0, 0x84c(r28) -/* 8004B3B4 00048314 7C 1D 00 40 */ cmplw r29, r0 -/* 8004B3B8 00048318 41 82 00 28 */ beq lbl_8004B3E0 -/* 8004B3BC 0004831C 7F A3 EB 78 */ mr r3, r29 -/* 8004B3C0 00048320 48 16 D1 C5 */ bl IsPlatform__20CPlatformAndDoorListFPC7CEntity -/* 8004B3C4 00048324 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004B3C8 00048328 40 82 00 18 */ bne lbl_8004B3E0 -/* 8004B3CC 0004832C FC 20 F8 90 */ fmr f1, f31 -/* 8004B3D0 00048330 7F 83 E3 78 */ mr r3, r28 -/* 8004B3D4 00048334 7F A4 EB 78 */ mr r4, r29 -/* 8004B3D8 00048338 38 A0 00 00 */ li r5, 0 -/* 8004B3DC 0004833C 48 13 69 5D */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" -lbl_8004B3E0: -/* 8004B3E0 00048340 2C 1E FF FF */ cmpwi r30, -1 -/* 8004B3E4 00048344 41 82 00 14 */ beq lbl_8004B3F8 -/* 8004B3E8 00048348 57 C3 18 38 */ slwi r3, r30, 3 -/* 8004B3EC 0004834C 38 03 00 08 */ addi r0, r3, 8 -/* 8004B3F0 00048350 7F DF 02 AE */ lhax r30, r31, r0 -/* 8004B3F4 00048354 48 00 00 08 */ b lbl_8004B3FC -lbl_8004B3F8: -/* 8004B3F8 00048358 3B C0 FF FF */ li r30, -1 -lbl_8004B3FC: -/* 8004B3FC 0004835C 2C 1E FF FF */ cmpwi r30, -1 -/* 8004B400 00048360 40 82 FE C4 */ bne lbl_8004B2C4 -/* 8004B404 00048364 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8004B408 00048368 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8004B40C 0004836C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8004B410 00048370 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8004B414 00048374 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8004B418 00048378 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8004B41C 0004837C 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8004B420 00048380 7C 08 03 A6 */ mtlr r0 -/* 8004B424 00048384 38 21 00 50 */ addi r1, r1, 0x50 -/* 8004B428 00048388 4E 80 00 20 */ blr - -.global MovePlatforms__13CStateManagerFf -MovePlatforms__13CStateManagerFf: -/* 8004B42C 0004838C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8004B430 00048390 7C 08 02 A6 */ mflr r0 -/* 8004B434 00048394 90 01 00 34 */ stw r0, 0x34(r1) -/* 8004B438 00048398 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8004B43C 0004839C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8004B440 000483A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8004B444 000483A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004B448 000483A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8004B44C 000483AC 93 81 00 10 */ stw r28, 0x10(r1) -/* 8004B450 000483B0 83 E3 08 48 */ lwz r31, 0x848(r3) -/* 8004B454 000483B4 FF E0 08 90 */ fmr f31, f1 -/* 8004B458 000483B8 7C 7C 1B 78 */ mr r28, r3 -/* 8004B45C 000483BC AB DF 20 08 */ lha r30, 0x2008(r31) -/* 8004B460 000483C0 48 00 00 74 */ b lbl_8004B4D4 -lbl_8004B464: -/* 8004B464 000483C4 7F E3 FB 78 */ mr r3, r31 -/* 8004B468 000483C8 7F C4 F3 78 */ mr r4, r30 -/* 8004B46C 000483CC 4B FC 48 A9 */ bl __vc__11CObjectListFi -/* 8004B470 000483D0 7C 7D 1B 78 */ mr r29, r3 -/* 8004B474 000483D4 48 16 D1 11 */ bl IsPlatform__20CPlatformAndDoorListFPC7CEntity -/* 8004B478 000483D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004B47C 000483DC 41 82 00 3C */ beq lbl_8004B4B8 -/* 8004B480 000483E0 28 1D 00 00 */ cmplwi r29, 0 -/* 8004B484 000483E4 41 82 00 34 */ beq lbl_8004B4B8 -/* 8004B488 000483E8 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 8004B48C 000483EC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004B490 000483F0 41 82 00 28 */ beq lbl_8004B4B8 -/* 8004B494 000483F4 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 8004B498 000483F8 C0 1D 00 E8 */ lfs f0, 0xe8(r29) -/* 8004B49C 000483FC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8004B4A0 00048400 41 82 00 18 */ beq lbl_8004B4B8 -/* 8004B4A4 00048404 FC 20 F8 90 */ fmr f1, f31 -/* 8004B4A8 00048408 7F 83 E3 78 */ mr r3, r28 -/* 8004B4AC 0004840C 7F A4 EB 78 */ mr r4, r29 -/* 8004B4B0 00048410 38 A0 00 00 */ li r5, 0 -/* 8004B4B4 00048414 48 13 68 85 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" -lbl_8004B4B8: -/* 8004B4B8 00048418 2C 1E FF FF */ cmpwi r30, -1 -/* 8004B4BC 0004841C 41 82 00 14 */ beq lbl_8004B4D0 -/* 8004B4C0 00048420 57 C3 18 38 */ slwi r3, r30, 3 -/* 8004B4C4 00048424 38 03 00 08 */ addi r0, r3, 8 -/* 8004B4C8 00048428 7F DF 02 AE */ lhax r30, r31, r0 -/* 8004B4CC 0004842C 48 00 00 08 */ b lbl_8004B4D4 -lbl_8004B4D0: -/* 8004B4D0 00048430 3B C0 FF FF */ li r30, -1 -lbl_8004B4D4: -/* 8004B4D4 00048434 2C 1E FF FF */ cmpwi r30, -1 -/* 8004B4D8 00048438 40 82 FF 8C */ bne lbl_8004B464 -/* 8004B4DC 0004843C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8004B4E0 00048440 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8004B4E4 00048444 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8004B4E8 00048448 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004B4EC 0004844C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004B4F0 00048450 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8004B4F4 00048454 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8004B4F8 00048458 7C 08 03 A6 */ mtlr r0 -/* 8004B4FC 0004845C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8004B500 00048460 4E 80 00 20 */ blr - -.global nullsub_34 -nullsub_34: -/* 8004B504 00048464 4E 80 00 20 */ blr - -.global UpdateGameState__13CStateManagerFv -UpdateGameState__13CStateManagerFv: -/* 8004B508 00048468 4E 80 00 20 */ blr - -.global SwapOutAllPossibleMemory__13CStateManagerFv -SwapOutAllPossibleMemory__13CStateManagerFv: -/* 8004B50C 0004846C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004B510 00048470 7C 08 02 A6 */ mflr r0 -/* 8004B514 00048474 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004B518 00048478 48 32 17 E5 */ bl sub_8036ccfc -/* 8004B51C 0004847C 48 2F 91 ED */ bl WaitForAllDMAsToComplete__12CARAMManagerFv -/* 8004B520 00048480 48 30 D0 19 */ bl UpdateAllDMAs__10CARAMTokenFv -/* 8004B524 00048484 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004B528 00048488 38 60 00 01 */ li r3, 1 -/* 8004B52C 0004848C 7C 08 03 A6 */ mtlr r0 -/* 8004B530 00048490 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004B534 00048494 4E 80 00 20 */ blr - -.global MemoryAllocatorAllocationFailedCallback__13CStateManagerFPCvUi -MemoryAllocatorAllocationFailedCallback__13CStateManagerFPCvUi: -/* 8004B538 00048498 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004B53C 0004849C 7C 08 02 A6 */ mflr r0 -/* 8004B540 000484A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004B544 000484A4 4B FF FF C9 */ bl SwapOutAllPossibleMemory__13CStateManagerFv -/* 8004B548 000484A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004B54C 000484AC 7C 08 03 A6 */ mtlr r0 -/* 8004B550 000484B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004B554 000484B4 4E 80 00 20 */ blr - -.global SwapOutTexturesToARAM__13CStateManagerFiUi -SwapOutTexturesToARAM__13CStateManagerFiUi: -/* 8004B558 000484B8 4E 80 00 20 */ blr - -.global FrameBegin__13CStateManagerFUi -FrameBegin__13CStateManagerFUi: -/* 8004B55C 000484BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004B560 000484C0 7C 08 02 A6 */ mflr r0 -/* 8004B564 000484C4 3C A0 00 18 */ lis r5, 0x18 -/* 8004B568 000484C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004B56C 000484CC 90 83 08 D4 */ stw r4, 0x8d4(r3) -/* 8004B570 000484D0 38 80 00 02 */ li r4, 2 -/* 8004B574 000484D4 80 03 08 D4 */ lwz r0, 0x8d4(r3) -/* 8004B578 000484D8 90 0D A8 70 */ stw r0, lbl_805A9430@sda21(r13) -/* 8004B57C 000484DC 80 03 08 D4 */ lwz r0, 0x8d4(r3) -/* 8004B580 000484E0 90 0D A8 68 */ stw r0, lbl_805A9428@sda21(r13) -/* 8004B584 000484E4 4B FF FF D5 */ bl SwapOutTexturesToARAM__13CStateManagerFiUi -/* 8004B588 000484E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004B58C 000484EC 7C 08 03 A6 */ mtlr r0 -/* 8004B590 000484F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004B594 000484F4 4E 80 00 20 */ blr - -.global InitializeState__13CStateManagerFUi7TAreaIdUi -InitializeState__13CStateManagerFUi7TAreaIdUi: -/* 8004B598 000484F8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8004B59C 000484FC 7C 08 02 A6 */ mflr r0 -/* 8004B5A0 00048500 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8004B5A4 00048504 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 8004B5A8 00048508 7C 7F 1B 78 */ mr r31, r3 -/* 8004B5AC 0004850C 7C 9A 23 78 */ mr r26, r4 -/* 8004B5B0 00048510 7C BD 2B 78 */ mr r29, r5 -/* 8004B5B4 00048514 38 1F 08 FC */ addi r0, r31, 0x8fc -/* 8004B5B8 00048518 7C DC 33 78 */ mr r28, r6 -/* 8004B5BC 0004851C 80 83 09 00 */ lwz r4, 0x900(r3) -/* 8004B5C0 00048520 90 03 09 00 */ stw r0, 0x900(r3) -/* 8004B5C4 00048524 7C 04 00 D0 */ neg r0, r4 -/* 8004B5C8 00048528 7C 04 23 78 */ or r4, r0, r4 -/* 8004B5CC 0004852C 80 03 0B 3C */ lwz r0, 0xb3c(r3) -/* 8004B5D0 00048530 54 9E 0F FE */ srwi r30, r4, 0x1f -/* 8004B5D4 00048534 2C 00 00 00 */ cmpwi r0, 0 -/* 8004B5D8 00048538 40 82 00 64 */ bne lbl_8004B63C -/* 8004B5DC 0004853C 48 00 04 4D */ bl CreateStandardGameObjects__13CStateManagerFv -/* 8004B5E0 00048540 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004B5E4 00048544 38 60 01 1C */ li r3, 0x11c -/* 8004B5E8 00048548 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004B5EC 0004854C 38 A0 00 00 */ li r5, 0 -/* 8004B5F0 00048550 48 2C A2 7D */ bl __nw__FUlPCcPCc -/* 8004B5F4 00048554 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8004B5F8 00048558 41 82 00 18 */ beq lbl_8004B610 -/* 8004B5FC 0004855C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8004B600 00048560 7F 46 D3 78 */ mr r6, r26 -/* 8004B604 00048564 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) -/* 8004B608 00048568 48 00 D8 B5 */ bl __ct__6CWorldFR12IObjectStoreR11CResFactoryUi -/* 8004B60C 0004856C 7C 7B 1B 78 */ mr r27, r3 -lbl_8004B610: -/* 8004B610 00048570 80 7F 08 50 */ lwz r3, 0x850(r31) -/* 8004B614 00048574 28 03 00 00 */ cmplwi r3, 0 -/* 8004B618 00048578 41 82 00 18 */ beq lbl_8004B630 -/* 8004B61C 0004857C 81 83 00 00 */ lwz r12, 0(r3) -/* 8004B620 00048580 38 80 00 01 */ li r4, 1 -/* 8004B624 00048584 81 8C 00 08 */ lwz r12, 8(r12) -/* 8004B628 00048588 7D 89 03 A6 */ mtctr r12 -/* 8004B62C 0004858C 4E 80 04 21 */ bctrl -lbl_8004B630: -/* 8004B630 00048590 93 7F 08 50 */ stw r27, 0x850(r31) -/* 8004B634 00048594 38 00 00 01 */ li r0, 1 -/* 8004B638 00048598 90 1F 0B 3C */ stw r0, 0xb3c(r31) -lbl_8004B63C: -/* 8004B63C 0004859C 80 1F 0B 3C */ lwz r0, 0xb3c(r31) -/* 8004B640 000485A0 2C 00 00 01 */ cmpwi r0, 1 -/* 8004B644 000485A4 40 82 00 D8 */ bne lbl_8004B71C -/* 8004B648 000485A8 80 1F 08 F8 */ lwz r0, 0x8f8(r31) -/* 8004B64C 000485AC 28 00 00 00 */ cmplwi r0, 0 -/* 8004B650 000485B0 41 82 00 0C */ beq lbl_8004B65C -/* 8004B654 000485B4 38 60 00 01 */ li r3, 1 -/* 8004B658 000485B8 48 00 00 3C */ b lbl_8004B694 -lbl_8004B65C: -/* 8004B65C 000485BC 88 1F 08 F4 */ lbz r0, 0x8f4(r31) -/* 8004B660 000485C0 28 00 00 00 */ cmplwi r0, 0 -/* 8004B664 000485C4 41 82 00 2C */ beq lbl_8004B690 -/* 8004B668 000485C8 80 7F 08 F0 */ lwz r3, 0x8f0(r31) -/* 8004B66C 000485CC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8004B670 000485D0 28 00 00 00 */ cmplwi r0, 0 -/* 8004B674 000485D4 41 82 00 1C */ beq lbl_8004B690 -/* 8004B678 000485D8 38 7F 08 F0 */ addi r3, r31, 0x8f0 -/* 8004B67C 000485DC 48 2F 57 91 */ bl GetObj__6CTokenFv -/* 8004B680 000485E0 80 03 00 04 */ lwz r0, 4(r3) -/* 8004B684 000485E4 38 60 00 01 */ li r3, 1 -/* 8004B688 000485E8 90 1F 08 F8 */ stw r0, 0x8f8(r31) -/* 8004B68C 000485EC 48 00 00 08 */ b lbl_8004B694 -lbl_8004B690: -/* 8004B690 000485F0 38 60 00 00 */ li r3, 0 -lbl_8004B694: -/* 8004B694 000485F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004B698 000485F8 41 82 03 7C */ beq lbl_8004BA14 -/* 8004B69C 000485FC 80 1D 00 00 */ lwz r0, 0(r29) -/* 8004B6A0 00048600 7F E4 FB 78 */ mr r4, r31 -/* 8004B6A4 00048604 7F 86 E3 78 */ mr r6, r28 -/* 8004B6A8 00048608 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8004B6AC 0004860C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004B6B0 00048610 80 7F 08 50 */ lwz r3, 0x850(r31) -/* 8004B6B4 00048614 48 00 CC 75 */ bl CheckWorldComplete__6CWorldFP13CStateManager7TAreaIdUi -/* 8004B6B8 00048618 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004B6BC 0004861C 41 82 03 58 */ beq lbl_8004BA14 -/* 8004B6C0 00048620 80 7F 08 50 */ lwz r3, 0x850(r31) -/* 8004B6C4 00048624 7F E5 FB 78 */ mr r5, r31 -/* 8004B6C8 00048628 80 03 00 68 */ lwz r0, 0x68(r3) -/* 8004B6CC 0004862C 90 1F 08 CC */ stw r0, 0x8cc(r31) -/* 8004B6D0 00048630 80 FF 08 CC */ lwz r7, 0x8cc(r31) -/* 8004B6D4 00048634 80 7F 08 50 */ lwz r3, 0x850(r31) -/* 8004B6D8 00048638 54 E4 18 38 */ slwi r4, r7, 3 -/* 8004B6DC 0004863C 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8004B6E0 00048640 80 C3 00 20 */ lwz r6, 0x20(r3) -/* 8004B6E4 00048644 38 04 00 04 */ addi r0, r4, 4 -/* 8004B6E8 00048648 90 E1 00 20 */ stw r7, 0x20(r1) -/* 8004B6EC 0004864C 7F 66 00 2E */ lwzx r27, r6, r0 -/* 8004B6F0 00048650 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 8004B6F4 00048654 7F 64 DB 78 */ mr r4, r27 -/* 8004B6F8 00048658 48 00 C7 59 */ bl ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager -/* 8004B6FC 0004865C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004B700 00048660 41 82 00 14 */ beq lbl_8004B714 -/* 8004B704 00048664 7F 63 DB 78 */ mr r3, r27 -/* 8004B708 00048668 7F E4 FB 78 */ mr r4, r31 -/* 8004B70C 0004866C 48 01 56 D9 */ bl StartStreamIn__9CGameAreaFR13CStateManager -/* 8004B710 00048670 48 00 03 04 */ b lbl_8004BA14 -lbl_8004B714: -/* 8004B714 00048674 38 00 00 02 */ li r0, 2 -/* 8004B718 00048678 90 1F 0B 3C */ stw r0, 0xb3c(r31) -lbl_8004B71C: -/* 8004B71C 0004867C 80 1F 08 CC */ lwz r0, 0x8cc(r31) -/* 8004B720 00048680 7F E3 FB 78 */ mr r3, r31 -/* 8004B724 00048684 38 81 00 18 */ addi r4, r1, 0x18 -/* 8004B728 00048688 90 01 00 18 */ stw r0, 0x18(r1) -/* 8004B72C 0004868C 48 00 09 A1 */ bl SetCurrentAreaId__13CStateManagerF7TAreaId -/* 8004B730 00048690 80 1F 08 CC */ lwz r0, 0x8cc(r31) -/* 8004B734 00048694 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8004B738 00048698 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004B73C 0004869C 48 18 82 71 */ bl CurrentWorldState__10CGameStateFv -/* 8004B740 000486A0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8004B744 000486A4 48 18 96 09 */ bl SetAreaId__11CWorldStateF7TAreaId -/* 8004B748 000486A8 80 7F 08 50 */ lwz r3, 0x850(r31) -/* 8004B74C 000486AC 7F E5 FB 78 */ mr r5, r31 -/* 8004B750 000486B0 38 9F 08 CC */ addi r4, r31, 0x8cc -/* 8004B754 000486B4 38 C0 00 01 */ li r6, 1 -/* 8004B758 000486B8 48 00 C4 55 */ bl TravelToArea__6CWorldFRC7TAreaIdR13CStateManagerb -/* 8004B75C 000486BC 80 1F 08 CC */ lwz r0, 0x8cc(r31) -/* 8004B760 000486C0 7F E3 FB 78 */ mr r3, r31 -/* 8004B764 000486C4 38 81 00 10 */ addi r4, r1, 0x10 -/* 8004B768 000486C8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8004B76C 000486CC 48 00 07 D9 */ bl UpdateRoomAcoustics__13CStateManagerF7TAreaId -/* 8004B770 000486D0 83 7F 08 10 */ lwz r27, 0x810(r31) -/* 8004B774 000486D4 AB 5B 20 08 */ lha r26, 0x2008(r27) -/* 8004B778 000486D8 48 00 00 48 */ b lbl_8004B7C0 -lbl_8004B77C: -/* 8004B77C 000486DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004B780 000486E0 7F 63 DB 78 */ mr r3, r27 -/* 8004B784 000486E4 7F 44 D3 78 */ mr r4, r26 -/* 8004B788 000486E8 B0 01 00 08 */ sth r0, 8(r1) -/* 8004B78C 000486EC 4B FC 45 89 */ bl __vc__11CObjectListFi -/* 8004B790 000486F0 7C 64 1B 78 */ mr r4, r3 -/* 8004B794 000486F4 7F E3 FB 78 */ mr r3, r31 -/* 8004B798 000486F8 38 A1 00 08 */ addi r5, r1, 8 -/* 8004B79C 000486FC 38 C0 00 24 */ li r6, 0x24 -/* 8004B7A0 00048700 4B FF 87 31 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8004B7A4 00048704 2C 1A FF FF */ cmpwi r26, -1 -/* 8004B7A8 00048708 41 82 00 14 */ beq lbl_8004B7BC -/* 8004B7AC 0004870C 57 43 18 38 */ slwi r3, r26, 3 -/* 8004B7B0 00048710 38 03 00 08 */ addi r0, r3, 8 -/* 8004B7B4 00048714 7F 5B 02 AE */ lhax r26, r27, r0 -/* 8004B7B8 00048718 48 00 00 08 */ b lbl_8004B7C0 -lbl_8004B7BC: -/* 8004B7BC 0004871C 3B 40 FF FF */ li r26, -1 -lbl_8004B7C0: -/* 8004B7C0 00048720 2C 1A FF FF */ cmpwi r26, -1 -/* 8004B7C4 00048724 40 82 FF B8 */ bne lbl_8004B77C -/* 8004B7C8 00048728 83 7F 08 10 */ lwz r27, 0x810(r31) -/* 8004B7CC 0004872C AB 5B 20 08 */ lha r26, 0x2008(r27) -/* 8004B7D0 00048730 48 00 02 00 */ b lbl_8004B9D0 -lbl_8004B7D4: -/* 8004B7D4 00048734 7F 63 DB 78 */ mr r3, r27 -/* 8004B7D8 00048738 7F 44 D3 78 */ mr r4, r26 -/* 8004B7DC 0004873C 4B FC 45 39 */ bl __vc__11CObjectListFi -/* 8004B7E0 00048740 7C 64 1B 78 */ mr r4, r3 -/* 8004B7E4 00048744 38 61 00 2C */ addi r3, r1, 0x2c -/* 8004B7E8 00048748 48 05 C9 DD */ bl "__ct__31TCastToPtr<17CScriptSpawnPoint>FP7CEntity" -/* 8004B7EC 0004874C 83 A3 00 04 */ lwz r29, 4(r3) -/* 8004B7F0 00048750 28 1D 00 00 */ cmplwi r29, 0 -/* 8004B7F4 00048754 41 82 01 C0 */ beq lbl_8004B9B4 -/* 8004B7F8 00048758 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 8004B7FC 0004875C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004B800 00048760 41 82 01 B4 */ beq lbl_8004B9B4 -/* 8004B804 00048764 88 1D 01 0C */ lbz r0, 0x10c(r29) -/* 8004B808 00048768 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004B80C 0004876C 41 82 01 A8 */ beq lbl_8004B9B4 -/* 8004B810 00048770 7F A3 EB 78 */ mr r3, r29 -/* 8004B814 00048774 48 09 6D E1 */ bl GetTransform__17CScriptSpawnPointCFv -/* 8004B818 00048778 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8004B81C 0004877C C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8004B820 00048780 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8004B824 00048784 7F A3 EB 78 */ mr r3, r29 -/* 8004B828 00048788 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8004B82C 0004878C D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8004B830 00048790 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8004B834 00048794 48 09 6D C1 */ bl GetTransform__17CScriptSpawnPointCFv -/* 8004B838 00048798 C0 63 00 24 */ lfs f3, 0x24(r3) -/* 8004B83C 0004879C C0 43 00 14 */ lfs f2, 0x14(r3) -/* 8004B840 000487A0 C0 23 00 04 */ lfs f1, 4(r3) -/* 8004B844 000487A4 38 61 00 40 */ addi r3, r1, 0x40 -/* 8004B848 000487A8 C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004B84C 000487AC D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8004B850 000487B0 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8004B854 000487B4 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8004B858 000487B8 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8004B85C 000487BC 48 2C 8E 9D */ bl CanBeNormalized__9CVector3fCFv -/* 8004B860 000487C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004B864 000487C4 41 82 00 60 */ beq lbl_8004B8C4 -/* 8004B868 000487C8 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 8004B86C 000487CC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8004B870 000487D0 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8004B874 000487D4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8004B878 000487D8 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 8004B87C 000487DC 38 61 00 58 */ addi r3, r1, 0x58 -/* 8004B880 000487E0 EC 81 00 2A */ fadds f4, f1, f0 -/* 8004B884 000487E4 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 8004B888 000487E8 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 8004B88C 000487EC 38 81 00 4C */ addi r4, r1, 0x4c -/* 8004B890 000487F0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8004B894 000487F4 EC 43 10 2A */ fadds f2, f3, f2 -/* 8004B898 000487F8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8004B89C 000487FC D0 81 00 38 */ stfs f4, 0x38(r1) -/* 8004B8A0 00048800 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8004B8A4 00048804 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8004B8A8 00048808 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8004B8AC 0004880C 48 2C 82 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8004B8B0 00048810 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8004B8B4 00048814 7F E5 FB 78 */ mr r5, r31 -/* 8004B8B8 00048818 38 81 00 58 */ addi r4, r1, 0x58 -/* 8004B8BC 0004881C 38 C0 00 01 */ li r6, 1 -/* 8004B8C0 00048820 48 23 97 DD */ bl Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb -lbl_8004B8C4: -/* 8004B8C4 00048824 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8004B8C8 00048828 88 03 02 28 */ lbz r0, 0x228(r3) -/* 8004B8CC 0004882C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8004B8D0 00048830 41 82 01 08 */ beq lbl_8004B9D8 -/* 8004B8D4 00048834 38 80 00 00 */ li r4, 0 -/* 8004B8D8 00048838 48 18 7F C5 */ bl SetDeferPowerupInit__10CGameStateFb -/* 8004B8DC 0004883C 3B 80 00 00 */ li r28, 0 -lbl_8004B8E0: -/* 8004B8E0 00048840 80 BF 08 B8 */ lwz r5, 0x8b8(r31) -/* 8004B8E4 00048844 7F A3 EB 78 */ mr r3, r29 -/* 8004B8E8 00048848 93 81 00 28 */ stw r28, 0x28(r1) -/* 8004B8EC 0004884C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8004B8F0 00048850 83 45 00 00 */ lwz r26, 0(r5) -/* 8004B8F4 00048854 48 09 6C D5 */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType -/* 8004B8F8 00048858 7C 7B 1B 78 */ mr r27, r3 -/* 8004B8FC 0004885C 7F 84 E3 78 */ mr r4, r28 -/* 8004B900 00048860 7F 43 D3 78 */ mr r3, r26 -/* 8004B904 00048864 48 04 61 95 */ bl GetPowerUp__12CPlayerStateFQ212CPlayerState9EItemType -/* 8004B908 00048868 7C 03 D8 00 */ cmpw r3, r27 -/* 8004B90C 0004886C 40 80 00 38 */ bge lbl_8004B944 -/* 8004B910 00048870 80 BF 08 B8 */ lwz r5, 0x8b8(r31) -/* 8004B914 00048874 7F A3 EB 78 */ mr r3, r29 -/* 8004B918 00048878 38 81 00 28 */ addi r4, r1, 0x28 -/* 8004B91C 0004887C 83 45 00 00 */ lwz r26, 0(r5) -/* 8004B920 00048880 48 09 6C A9 */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType -/* 8004B924 00048884 7C 7B 1B 78 */ mr r27, r3 -/* 8004B928 00048888 7F 84 E3 78 */ mr r4, r28 -/* 8004B92C 0004888C 7F 43 D3 78 */ mr r3, r26 -/* 8004B930 00048890 48 04 61 69 */ bl GetPowerUp__12CPlayerStateFQ212CPlayerState9EItemType -/* 8004B934 00048894 7C A3 D8 50 */ subf r5, r3, r27 -/* 8004B938 00048898 7F 84 E3 78 */ mr r4, r28 -/* 8004B93C 0004889C 7F 43 D3 78 */ mr r3, r26 -/* 8004B940 000488A0 48 04 64 29 */ bl InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei -lbl_8004B944: -/* 8004B944 000488A4 80 BF 08 B8 */ lwz r5, 0x8b8(r31) -/* 8004B948 000488A8 7F A3 EB 78 */ mr r3, r29 -/* 8004B94C 000488AC 38 81 00 28 */ addi r4, r1, 0x28 -/* 8004B950 000488B0 83 45 00 00 */ lwz r26, 0(r5) -/* 8004B954 000488B4 48 09 6C 75 */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType -/* 8004B958 000488B8 80 81 00 28 */ lwz r4, 0x28(r1) -/* 8004B95C 000488BC 7C 7B 1B 78 */ mr r27, r3 -/* 8004B960 000488C0 7F 43 D3 78 */ mr r3, r26 -/* 8004B964 000488C4 48 04 61 B9 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8004B968 000488C8 7C 03 D8 00 */ cmpw r3, r27 -/* 8004B96C 000488CC 40 80 00 38 */ bge lbl_8004B9A4 -/* 8004B970 000488D0 80 BF 08 B8 */ lwz r5, 0x8b8(r31) -/* 8004B974 000488D4 7F A3 EB 78 */ mr r3, r29 -/* 8004B978 000488D8 38 81 00 28 */ addi r4, r1, 0x28 -/* 8004B97C 000488DC 83 45 00 00 */ lwz r26, 0(r5) -/* 8004B980 000488E0 48 09 6C 49 */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType -/* 8004B984 000488E4 80 81 00 28 */ lwz r4, 0x28(r1) -/* 8004B988 000488E8 7C 7B 1B 78 */ mr r27, r3 -/* 8004B98C 000488EC 7F 43 D3 78 */ mr r3, r26 -/* 8004B990 000488F0 48 04 61 8D */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8004B994 000488F4 80 81 00 28 */ lwz r4, 0x28(r1) -/* 8004B998 000488F8 7C A3 D8 50 */ subf r5, r3, r27 -/* 8004B99C 000488FC 7F 43 D3 78 */ mr r3, r26 -/* 8004B9A0 00048900 48 04 62 51 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei -lbl_8004B9A4: -/* 8004B9A4 00048904 3B 9C 00 01 */ addi r28, r28, 1 -/* 8004B9A8 00048908 2C 1C 00 29 */ cmpwi r28, 0x29 -/* 8004B9AC 0004890C 41 80 FF 34 */ blt lbl_8004B8E0 -/* 8004B9B0 00048910 48 00 00 28 */ b lbl_8004B9D8 -lbl_8004B9B4: -/* 8004B9B4 00048914 2C 1A FF FF */ cmpwi r26, -1 -/* 8004B9B8 00048918 41 82 00 14 */ beq lbl_8004B9CC -/* 8004B9BC 0004891C 57 43 18 38 */ slwi r3, r26, 3 -/* 8004B9C0 00048920 38 03 00 08 */ addi r0, r3, 8 -/* 8004B9C4 00048924 7F 5B 02 AE */ lhax r26, r27, r0 -/* 8004B9C8 00048928 48 00 00 08 */ b lbl_8004B9D0 -lbl_8004B9CC: -/* 8004B9CC 0004892C 3B 40 FF FF */ li r26, -1 -lbl_8004B9D0: -/* 8004B9D0 00048930 2C 1A FF FF */ cmpwi r26, -1 -/* 8004B9D4 00048934 40 82 FE 00 */ bne lbl_8004B7D4 -lbl_8004B9D8: -/* 8004B9D8 00048938 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8004B9DC 0004893C 7F E4 FB 78 */ mr r4, r31 -/* 8004B9E0 00048940 4B FC 61 4D */ bl AsyncLoadSuit__7CPlayerFR13CStateManager -/* 8004B9E4 00048944 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8004B9E8 00048948 7F E4 FB 78 */ mr r4, r31 -/* 8004B9EC 0004894C 4B FC 02 A5 */ bl ResetCameras__14CCameraManagerFR13CStateManager -/* 8004B9F0 00048950 28 1E 00 00 */ cmplwi r30, 0 -/* 8004B9F4 00048954 41 82 00 0C */ beq lbl_8004BA00 -/* 8004B9F8 00048958 38 1F 08 FC */ addi r0, r31, 0x8fc -/* 8004B9FC 0004895C 48 00 00 08 */ b lbl_8004BA04 -lbl_8004BA00: -/* 8004BA00 00048960 38 00 00 00 */ li r0, 0 -lbl_8004BA04: -/* 8004BA04 00048964 90 1F 09 00 */ stw r0, 0x900(r31) -/* 8004BA08 00048968 7F E4 FB 78 */ mr r4, r31 -/* 8004BA0C 0004896C 80 7F 08 80 */ lwz r3, 0x880(r31) -/* 8004BA10 00048970 48 1C 6D BD */ bl AsyncLoadResources__13CEnvFXManagerFR13CStateManager -lbl_8004BA14: -/* 8004BA14 00048974 BB 41 00 88 */ lmw r26, 0x88(r1) -/* 8004BA18 00048978 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8004BA1C 0004897C 7C 08 03 A6 */ mtlr r0 -/* 8004BA20 00048980 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8004BA24 00048984 4E 80 00 20 */ blr - -.global CreateStandardGameObjects__13CStateManagerFv -CreateStandardGameObjects__13CStateManagerFv: -/* 8004BA28 00048988 94 21 FE 60 */ stwu r1, -0x1a0(r1) -/* 8004BA2C 0004898C 7C 08 02 A6 */ mflr r0 -/* 8004BA30 00048990 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 8004BA34 00048994 DB E1 01 90 */ stfd f31, 0x190(r1) -/* 8004BA38 00048998 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 -/* 8004BA3C 0004899C DB C1 01 80 */ stfd f30, 0x180(r1) -/* 8004BA40 000489A0 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 -/* 8004BA44 000489A4 DB A1 01 70 */ stfd f29, 0x170(r1) -/* 8004BA48 000489A8 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 -/* 8004BA4C 000489AC 93 E1 01 6C */ stw r31, 0x16c(r1) -/* 8004BA50 000489B0 93 C1 01 68 */ stw r30, 0x168(r1) -/* 8004BA54 000489B4 80 CD A1 18 */ lwz r6, gpTweakPlayer@sda21(r13) -/* 8004BA58 000489B8 7C 7E 1B 78 */ mr r30, r3 -/* 8004BA5C 000489BC C0 02 85 68 */ lfs f0, lbl_805AA288@sda21(r2) -/* 8004BA60 000489C0 38 61 00 9C */ addi r3, r1, 0x9c -/* 8004BA64 000489C4 C0 46 02 70 */ lfs f2, 0x270(r6) -/* 8004BA68 000489C8 38 81 00 84 */ addi r4, r1, 0x84 -/* 8004BA6C 000489CC C3 E6 02 74 */ lfs f31, 0x274(r6) -/* 8004BA70 000489D0 38 A1 00 78 */ addi r5, r1, 0x78 -/* 8004BA74 000489D4 FC 60 10 50 */ fneg f3, f2 -/* 8004BA78 000489D8 C3 C6 02 78 */ lfs f30, 0x278(r6) -/* 8004BA7C 000489DC C0 26 02 6C */ lfs f1, 0x26c(r6) -/* 8004BA80 000489E0 C3 A6 02 7C */ lfs f29, 0x27c(r6) -/* 8004BA84 000489E4 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 8004BA88 000489E8 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 8004BA8C 000489EC D0 21 00 80 */ stfs f1, 0x80(r1) -/* 8004BA90 000489F0 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 8004BA94 000489F4 D0 61 00 88 */ stfs f3, 0x88(r1) -/* 8004BA98 000489F8 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8004BA9C 000489FC 48 2E CA 6D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8004BAA0 00048A00 7F C4 F3 78 */ mr r4, r30 -/* 8004BAA4 00048A04 38 61 00 0C */ addi r3, r1, 0xc -/* 8004BAA8 00048A08 48 00 16 35 */ bl AllocateUniqueId__13CStateManagerFv -/* 8004BAAC 00048A0C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8004BAB0 00048A10 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 8004BAB4 00048A14 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8004BAB8 00048A18 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 8004BABC 00048A1C C0 A4 00 00 */ lfs f5, 0(r4) -/* 8004BAC0 00048A20 38 61 00 5C */ addi r3, r1, 0x5c -/* 8004BAC4 00048A24 C0 84 00 04 */ lfs f4, 4(r4) -/* 8004BAC8 00048A28 C0 64 00 08 */ lfs f3, 8(r4) -/* 8004BACC 00048A2C C0 42 86 20 */ lfs f2, lbl_805AA340@sda21(r2) -/* 8004BAD0 00048A30 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 8004BAD4 00048A34 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8004BAD8 00048A38 D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 8004BADC 00048A3C D0 81 00 94 */ stfs f4, 0x94(r1) -/* 8004BAE0 00048A40 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 8004BAE4 00048A44 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8004BAE8 00048A48 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 8004BAEC 00048A4C D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8004BAF0 00048A50 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8004BAF4 00048A54 48 2C 8E 05 */ bl Normalize__9CVector3fFv -/* 8004BAF8 00048A58 38 61 00 68 */ addi r3, r1, 0x68 -/* 8004BAFC 00048A5C 38 81 00 5C */ addi r4, r1, 0x5c -/* 8004BB00 00048A60 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8004BB04 00048A64 48 2C 57 F1 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 8004BB08 00048A68 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8004BB0C 00048A6C 38 81 00 68 */ addi r4, r1, 0x68 -/* 8004BB10 00048A70 48 2C 65 7D */ bl BuildTransform__11CQuaternionCFv -/* 8004BB14 00048A74 38 61 01 38 */ addi r3, r1, 0x138 -/* 8004BB18 00048A78 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 8004BB1C 00048A7C 48 2C 45 09 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8004BB20 00048A80 C1 01 01 58 */ lfs f8, 0x158(r1) -/* 8004BB24 00048A84 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8004BB28 00048A88 C0 E1 01 4C */ lfs f7, 0x14c(r1) -/* 8004BB2C 00048A8C 38 81 00 50 */ addi r4, r1, 0x50 -/* 8004BB30 00048A90 C0 41 01 40 */ lfs f2, 0x140(r1) -/* 8004BB34 00048A94 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8004BB38 00048A98 C0 C1 01 54 */ lfs f6, 0x154(r1) -/* 8004BB3C 00048A9C 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8004BB40 00048AA0 C0 A1 01 48 */ lfs f5, 0x148(r1) -/* 8004BB44 00048AA4 38 E1 00 90 */ addi r7, r1, 0x90 -/* 8004BB48 00048AA8 C0 21 01 3C */ lfs f1, 0x13c(r1) -/* 8004BB4C 00048AAC C0 81 01 50 */ lfs f4, 0x150(r1) -/* 8004BB50 00048AB0 C0 61 01 44 */ lfs f3, 0x144(r1) -/* 8004BB54 00048AB4 C0 01 01 38 */ lfs f0, 0x138(r1) -/* 8004BB58 00048AB8 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8004BB5C 00048ABC D0 E1 00 3C */ stfs f7, 0x3c(r1) -/* 8004BB60 00048AC0 D1 01 00 40 */ stfs f8, 0x40(r1) -/* 8004BB64 00048AC4 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8004BB68 00048AC8 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 8004BB6C 00048ACC D0 C1 00 4C */ stfs f6, 0x4c(r1) -/* 8004BB70 00048AD0 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8004BB74 00048AD4 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 8004BB78 00048AD8 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8004BB7C 00048ADC 48 2C 72 E1 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 8004BB80 00048AE0 38 61 01 08 */ addi r3, r1, 0x108 -/* 8004BB84 00048AE4 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 8004BB88 00048AE8 48 2C 6F ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8004BB8C 00048AEC 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004BB90 00048AF0 38 60 0A 38 */ li r3, 0xa38 -/* 8004BB94 00048AF4 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004BB98 00048AF8 38 A0 00 00 */ li r5, 0 -/* 8004BB9C 00048AFC 48 00 3B 59 */ bl "__nw__20TOneStatic<7CPlayer>FUlPCcPCc" -/* 8004BBA0 00048B00 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8004BBA4 00048B04 41 82 00 F0 */ beq lbl_8004BC94 -/* 8004BBA8 00048B08 38 00 00 00 */ li r0, 0 -/* 8004BBAC 00048B0C 80 AD 82 64 */ lwz r5, lbl_805A6E24@sda21(r13) -/* 8004BBB0 00048B10 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8004BBB4 00048B14 38 60 00 00 */ li r3, 0 -/* 8004BBB8 00048B18 38 80 00 01 */ li r4, 1 -/* 8004BBBC 00048B1C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8004BBC0 00048B20 48 33 E3 35 */ bl __shl2i -/* 8004BBC4 00048B24 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8004BBC8 00048B28 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8004BBCC 00048B2C 7C 00 1B 78 */ or r0, r0, r3 -/* 8004BBD0 00048B30 80 AD 82 68 */ lwz r5, lbl_805A6E28@sda21(r13) -/* 8004BBD4 00048B34 7C C4 23 78 */ or r4, r6, r4 -/* 8004BBD8 00048B38 90 01 00 18 */ stw r0, 0x18(r1) -/* 8004BBDC 00048B3C 38 60 00 00 */ li r3, 0 -/* 8004BBE0 00048B40 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8004BBE4 00048B44 38 80 00 01 */ li r4, 1 -/* 8004BBE8 00048B48 48 33 E3 0D */ bl __shl2i -/* 8004BBEC 00048B4C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8004BBF0 00048B50 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8004BBF4 00048B54 7C 00 1B 78 */ or r0, r0, r3 -/* 8004BBF8 00048B58 80 AD 82 6C */ lwz r5, lbl_805A6E2C@sda21(r13) -/* 8004BBFC 00048B5C 7C C4 23 78 */ or r4, r6, r4 -/* 8004BC00 00048B60 90 01 00 18 */ stw r0, 0x18(r1) -/* 8004BC04 00048B64 38 60 00 00 */ li r3, 0 -/* 8004BC08 00048B68 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8004BC0C 00048B6C 38 80 00 01 */ li r4, 1 -/* 8004BC10 00048B70 48 33 E2 E5 */ bl __shl2i -/* 8004BC14 00048B74 C0 02 86 24 */ lfs f0, lbl_805AA344@sda21(r2) -/* 8004BC18 00048B78 FC 40 F8 90 */ fmr f2, f31 -/* 8004BC1C 00048B7C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8004BC20 00048B80 FC 60 F0 90 */ fmr f3, f30 -/* 8004BC24 00048B84 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8004BC28 00048B88 FC 80 E8 90 */ fmr f4, f29 -/* 8004BC2C 00048B8C 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8004BC30 00048B90 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8004BC34 00048B94 7C 00 1B 78 */ or r0, r0, r3 -/* 8004BC38 00048B98 7C A6 23 78 */ or r6, r5, r4 -/* 8004BC3C 00048B9C 81 81 00 20 */ lwz r12, 0x20(r1) -/* 8004BC40 00048BA0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8004BC44 00048BA4 7F E3 FB 78 */ mr r3, r31 -/* 8004BC48 00048BA8 81 61 00 24 */ lwz r11, 0x24(r1) -/* 8004BC4C 00048BAC 38 81 00 08 */ addi r4, r1, 8 -/* 8004BC50 00048BB0 81 41 00 28 */ lwz r10, 0x28(r1) -/* 8004BC54 00048BB4 38 A1 01 08 */ addi r5, r1, 0x108 -/* 8004BC58 00048BB8 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8004BC5C 00048BBC 38 C1 00 9C */ addi r6, r1, 0x9c -/* 8004BC60 00048BC0 80 ED A1 4C */ lwz r7, gpTweakPlayerRes@sda21(r13) -/* 8004BC64 00048BC4 39 01 00 2C */ addi r8, r1, 0x2c -/* 8004BC68 00048BC8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8004BC6C 00048BCC 39 21 00 18 */ addi r9, r1, 0x18 -/* 8004BC70 00048BD0 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8004BC74 00048BD4 91 81 00 2C */ stw r12, 0x2c(r1) -/* 8004BC78 00048BD8 C0 22 86 28 */ lfs f1, lbl_805AA348@sda21(r2) -/* 8004BC7C 00048BDC 91 61 00 30 */ stw r11, 0x30(r1) -/* 8004BC80 00048BE0 91 41 00 34 */ stw r10, 0x34(r1) -/* 8004BC84 00048BE4 80 E7 00 C4 */ lwz r7, 0xc4(r7) -/* 8004BC88 00048BE8 B0 01 00 08 */ sth r0, 8(r1) -/* 8004BC8C 00048BEC 4B FC E5 B1 */ bl __ct__7CPlayerF9TUniqueIdRC12CTransform4fRC6CAABoxUi9CVector3fffffRC13CMaterialList -/* 8004BC90 00048BF0 7C 7F 1B 78 */ mr r31, r3 -lbl_8004BC94: -/* 8004BC94 00048BF4 93 FE 08 4C */ stw r31, 0x84c(r30) -/* 8004BC98 00048BF8 7F C3 F3 78 */ mr r3, r30 -/* 8004BC9C 00048BFC 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 8004BCA0 00048C00 48 00 0E 75 */ bl AddObject__13CStateManagerFR7CEntity -/* 8004BCA4 00048C04 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8004BCA8 00048C08 7F C4 F3 78 */ mr r4, r30 -/* 8004BCAC 00048C0C 4B FC 01 AD */ bl CreateStandardCameras__14CCameraManagerFR13CStateManager -/* 8004BCB0 00048C10 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 -/* 8004BCB4 00048C14 CB E1 01 90 */ lfd f31, 0x190(r1) -/* 8004BCB8 00048C18 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 -/* 8004BCBC 00048C1C CB C1 01 80 */ lfd f30, 0x180(r1) -/* 8004BCC0 00048C20 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 -/* 8004BCC4 00048C24 CB A1 01 70 */ lfd f29, 0x170(r1) -/* 8004BCC8 00048C28 83 E1 01 6C */ lwz r31, 0x16c(r1) -/* 8004BCCC 00048C2C 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 8004BCD0 00048C30 83 C1 01 68 */ lwz r30, 0x168(r1) -/* 8004BCD4 00048C34 7C 08 03 A6 */ mtlr r0 -/* 8004BCD8 00048C38 38 21 01 A0 */ addi r1, r1, 0x1a0 -/* 8004BCDC 00048C3C 4E 80 00 20 */ blr - -.global RemoveObject__13CStateManagerF9TUniqueId -RemoveObject__13CStateManagerF9TUniqueId: -/* 8004BCE0 00048C40 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8004BCE4 00048C44 7C 08 02 A6 */ mflr r0 -/* 8004BCE8 00048C48 90 01 00 74 */ stw r0, 0x74(r1) -/* 8004BCEC 00048C4C BF 01 00 50 */ stmw r24, 0x50(r1) -/* 8004BCF0 00048C50 7C 79 1B 78 */ mr r25, r3 -/* 8004BCF4 00048C54 7C 9A 23 78 */ mr r26, r4 -/* 8004BCF8 00048C58 3B 99 08 0C */ addi r28, r25, 0x80c -/* 8004BCFC 00048C5C A0 04 00 00 */ lhz r0, 0(r4) -/* 8004BD00 00048C60 38 81 00 10 */ addi r4, r1, 0x10 -/* 8004BD04 00048C64 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8004BD08 00048C68 80 63 08 10 */ lwz r3, 0x810(r3) -/* 8004BD0C 00048C6C 4B FC 40 91 */ bl GetValidObjectById__11CObjectListF9TUniqueId -/* 8004BD10 00048C70 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8004BD14 00048C74 41 82 01 58 */ beq lbl_8004BE6C -/* 8004BD18 00048C78 80 9B 00 0C */ lwz r4, 0xc(r27) -/* 8004BD1C 00048C7C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 8004BD20 00048C80 54 83 01 BE */ clrlwi r3, r4, 6 -/* 8004BD24 00048C84 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8004BD28 00048C88 54 00 01 BE */ clrlwi r0, r0, 6 -/* 8004BD2C 00048C8C 7C 03 00 40 */ cmplw r3, r0 -/* 8004BD30 00048C90 41 82 00 CC */ beq lbl_8004BDFC -/* 8004BD34 00048C94 38 61 00 38 */ addi r3, r1, 0x38 -/* 8004BD38 00048C98 38 99 08 90 */ addi r4, r25, 0x890 -/* 8004BD3C 00048C9C 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8004BD40 00048CA0 48 00 01 71 */ bl sub_8004beb0 -/* 8004BD44 00048CA4 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8004BD48 00048CA8 3B B9 08 98 */ addi r29, r25, 0x898 -/* 8004BD4C 00048CAC 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8004BD50 00048CB0 90 61 00 30 */ stw r3, 0x30(r1) -/* 8004BD54 00048CB4 83 E1 00 40 */ lwz r31, 0x40(r1) -/* 8004BD58 00048CB8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8004BD5C 00048CBC 83 C1 00 44 */ lwz r30, 0x44(r1) -/* 8004BD60 00048CC0 48 00 00 74 */ b lbl_8004BDD4 -lbl_8004BD64: -/* 8004BD64 00048CC4 A0 64 00 14 */ lhz r3, 0x14(r4) -/* 8004BD68 00048CC8 A0 1A 00 00 */ lhz r0, 0(r26) -/* 8004BD6C 00048CCC 7C 03 00 40 */ cmplw r3, r0 -/* 8004BD70 00048CD0 40 82 00 58 */ bne lbl_8004BDC8 -/* 8004BD74 00048CD4 83 01 00 30 */ lwz r24, 0x30(r1) -/* 8004BD78 00048CD8 80 61 00 34 */ lwz r3, 0x34(r1) -/* 8004BD7C 00048CDC 93 01 00 28 */ stw r24, 0x28(r1) -/* 8004BD80 00048CE0 7F 04 C3 78 */ mr r4, r24 -/* 8004BD84 00048CE4 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8004BD88 00048CE8 48 2F 08 59 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8004BD8C 00048CEC 90 61 00 28 */ stw r3, 0x28(r1) -/* 8004BD90 00048CF0 7F A3 EB 78 */ mr r3, r29 -/* 8004BD94 00048CF4 7F 04 C3 78 */ mr r4, r24 -/* 8004BD98 00048CF8 48 2F 08 E5 */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 8004BD9C 00048CFC 28 03 00 00 */ cmplwi r3, 0 -/* 8004BDA0 00048D00 41 82 00 08 */ beq lbl_8004BDA8 -/* 8004BDA4 00048D04 48 2C 9B 8D */ bl Free__7CMemoryFPCv -lbl_8004BDA8: -/* 8004BDA8 00048D08 80 99 08 94 */ lwz r4, 0x894(r25) -/* 8004BDAC 00048D0C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8004BDB0 00048D10 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8004BDB4 00048D14 38 84 FF FF */ addi r4, r4, -1 -/* 8004BDB8 00048D18 90 99 08 94 */ stw r4, 0x894(r25) -/* 8004BDBC 00048D1C 90 61 00 30 */ stw r3, 0x30(r1) -/* 8004BDC0 00048D20 90 01 00 34 */ stw r0, 0x34(r1) -/* 8004BDC4 00048D24 48 00 00 10 */ b lbl_8004BDD4 -lbl_8004BDC8: -/* 8004BDC8 00048D28 80 61 00 34 */ lwz r3, 0x34(r1) -/* 8004BDCC 00048D2C 48 2F 08 15 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8004BDD0 00048D30 90 61 00 30 */ stw r3, 0x30(r1) -lbl_8004BDD4: -/* 8004BDD4 00048D34 80 81 00 30 */ lwz r4, 0x30(r1) -/* 8004BDD8 00048D38 38 60 00 00 */ li r3, 0 -/* 8004BDDC 00048D3C 7C 04 F8 40 */ cmplw r4, r31 -/* 8004BDE0 00048D40 40 82 00 10 */ bne lbl_8004BDF0 -/* 8004BDE4 00048D44 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8004BDE8 00048D48 7C 00 F0 40 */ cmplw r0, r30 -/* 8004BDEC 00048D4C 41 82 00 08 */ beq lbl_8004BDF4 -lbl_8004BDF0: -/* 8004BDF0 00048D50 38 60 00 01 */ li r3, 1 -lbl_8004BDF4: -/* 8004BDF4 00048D54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004BDF8 00048D58 40 82 FF 6C */ bne lbl_8004BD64 -lbl_8004BDFC: -/* 8004BDFC 00048D5C 80 BB 00 04 */ lwz r5, 4(r27) -/* 8004BE00 00048D60 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8004BE04 00048D64 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8004BE08 00048D68 7C 05 00 00 */ cmpw r5, r0 -/* 8004BE0C 00048D6C 41 82 00 40 */ beq lbl_8004BE4C -/* 8004BE10 00048D70 80 99 08 50 */ lwz r4, 0x850(r25) -/* 8004BE14 00048D74 54 A3 18 38 */ slwi r3, r5, 3 -/* 8004BE18 00048D78 38 03 00 04 */ addi r0, r3, 4 -/* 8004BE1C 00048D7C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8004BE20 00048D80 80 64 00 20 */ lwz r3, 0x20(r4) -/* 8004BE24 00048D84 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8004BE28 00048D88 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8004BE2C 00048D8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004BE30 00048D90 41 82 00 1C */ beq lbl_8004BE4C -/* 8004BE34 00048D94 A0 1A 00 00 */ lhz r0, 0(r26) -/* 8004BE38 00048D98 38 81 00 0C */ addi r4, r1, 0xc -/* 8004BE3C 00048D9C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004BE40 00048DA0 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8004BE44 00048DA4 80 63 10 C0 */ lwz r3, 0x10c0(r3) -/* 8004BE48 00048DA8 4B FC 40 5D */ bl RemoveObject__11CObjectListF9TUniqueId -lbl_8004BE4C: -/* 8004BE4C 00048DAC 7F 64 DB 78 */ mr r4, r27 -/* 8004BE50 00048DB0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8004BE54 00048DB4 48 06 3E 3D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8004BE58 00048DB8 80 83 00 04 */ lwz r4, 4(r3) -/* 8004BE5C 00048DBC 28 04 00 00 */ cmplwi r4, 0 -/* 8004BE60 00048DC0 41 82 00 0C */ beq lbl_8004BE6C -/* 8004BE64 00048DC4 80 79 08 74 */ lwz r3, 0x874(r25) -/* 8004BE68 00048DC8 48 0F E0 C5 */ bl Remove__Q22SL18CSortedListManagerFPC6CActor -lbl_8004BE6C: -/* 8004BE6C 00048DCC 3B 00 00 00 */ li r24, 0 -/* 8004BE70 00048DD0 48 00 00 20 */ b lbl_8004BE90 -lbl_8004BE74: -/* 8004BE74 00048DD4 A0 1A 00 00 */ lhz r0, 0(r26) -/* 8004BE78 00048DD8 38 81 00 08 */ addi r4, r1, 8 -/* 8004BE7C 00048DDC B0 01 00 08 */ sth r0, 8(r1) -/* 8004BE80 00048DE0 80 7C 00 04 */ lwz r3, 4(r28) -/* 8004BE84 00048DE4 4B FC 40 21 */ bl RemoveObject__11CObjectListF9TUniqueId -/* 8004BE88 00048DE8 3B 9C 00 08 */ addi r28, r28, 8 -/* 8004BE8C 00048DEC 3B 18 00 01 */ addi r24, r24, 1 -lbl_8004BE90: -/* 8004BE90 00048DF0 80 19 08 08 */ lwz r0, 0x808(r25) -/* 8004BE94 00048DF4 7C 18 00 00 */ cmpw r24, r0 -/* 8004BE98 00048DF8 41 80 FF DC */ blt lbl_8004BE74 -/* 8004BE9C 00048DFC BB 01 00 50 */ lmw r24, 0x50(r1) -/* 8004BEA0 00048E00 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8004BEA4 00048E04 7C 08 03 A6 */ mtlr r0 -/* 8004BEA8 00048E08 38 21 00 70 */ addi r1, r1, 0x70 -/* 8004BEAC 00048E0C 4E 80 00 20 */ blr - -.global sub_8004beb0 -sub_8004beb0: -/* 8004BEB0 00048E10 81 44 00 10 */ lwz r10, 0x10(r4) -/* 8004BEB4 00048E14 38 E0 00 00 */ li r7, 0 -/* 8004BEB8 00048E18 7D 48 53 78 */ mr r8, r10 -/* 8004BEBC 00048E1C 48 00 00 2C */ b lbl_8004BEE8 -lbl_8004BEC0: -/* 8004BEC0 00048E20 80 C5 00 00 */ lwz r6, 0(r5) -/* 8004BEC4 00048E24 80 08 00 10 */ lwz r0, 0x10(r8) -/* 8004BEC8 00048E28 54 C6 01 BE */ clrlwi r6, r6, 6 -/* 8004BECC 00048E2C 54 00 01 BE */ clrlwi r0, r0, 6 -/* 8004BED0 00048E30 7C 06 00 40 */ cmplw r6, r0 -/* 8004BED4 00048E34 40 80 00 10 */ bge lbl_8004BEE4 -/* 8004BED8 00048E38 7D 07 43 78 */ mr r7, r8 -/* 8004BEDC 00048E3C 81 08 00 00 */ lwz r8, 0(r8) -/* 8004BEE0 00048E40 48 00 00 08 */ b lbl_8004BEE8 -lbl_8004BEE4: -/* 8004BEE4 00048E44 81 08 00 04 */ lwz r8, 4(r8) -lbl_8004BEE8: -/* 8004BEE8 00048E48 28 08 00 00 */ cmplwi r8, 0 -/* 8004BEEC 00048E4C 40 82 FF D4 */ bne lbl_8004BEC0 -/* 8004BEF0 00048E50 39 24 00 08 */ addi r9, r4, 8 -/* 8004BEF4 00048E54 39 00 00 00 */ li r8, 0 -/* 8004BEF8 00048E58 48 00 00 2C */ b lbl_8004BF24 -lbl_8004BEFC: -/* 8004BEFC 00048E5C 80 CA 00 10 */ lwz r6, 0x10(r10) -/* 8004BF00 00048E60 80 05 00 00 */ lwz r0, 0(r5) -/* 8004BF04 00048E64 54 C6 01 BE */ clrlwi r6, r6, 6 -/* 8004BF08 00048E68 54 00 01 BE */ clrlwi r0, r0, 6 -/* 8004BF0C 00048E6C 7C 06 00 40 */ cmplw r6, r0 -/* 8004BF10 00048E70 41 80 00 10 */ blt lbl_8004BF20 -/* 8004BF14 00048E74 7D 48 53 78 */ mr r8, r10 -/* 8004BF18 00048E78 81 4A 00 00 */ lwz r10, 0(r10) -/* 8004BF1C 00048E7C 48 00 00 08 */ b lbl_8004BF24 -lbl_8004BF20: -/* 8004BF20 00048E80 81 4A 00 04 */ lwz r10, 4(r10) -lbl_8004BF24: -/* 8004BF24 00048E84 28 0A 00 00 */ cmplwi r10, 0 -/* 8004BF28 00048E88 40 82 FF D4 */ bne lbl_8004BEFC -/* 8004BF2C 00048E8C 91 03 00 00 */ stw r8, 0(r3) -/* 8004BF30 00048E90 38 04 00 08 */ addi r0, r4, 8 -/* 8004BF34 00048E94 90 03 00 04 */ stw r0, 4(r3) -/* 8004BF38 00048E98 90 E3 00 08 */ stw r7, 8(r3) -/* 8004BF3C 00048E9C 91 23 00 0C */ stw r9, 0xc(r3) -/* 8004BF40 00048EA0 4E 80 00 20 */ blr - -.global UpdateRoomAcoustics__13CStateManagerF7TAreaId -UpdateRoomAcoustics__13CStateManagerF7TAreaId: -/* 8004BF44 00048EA4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8004BF48 00048EA8 7C 08 02 A6 */ mflr r0 -/* 8004BF4C 00048EAC 90 01 00 74 */ stw r0, 0x74(r1) -/* 8004BF50 00048EB0 38 00 00 00 */ li r0, 0 -/* 8004BF54 00048EB4 BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 8004BF58 00048EB8 7C 7B 1B 78 */ mr r27, r3 -/* 8004BF5C 00048EBC 7C 9C 23 78 */ mr r28, r4 -/* 8004BF60 00048EC0 3B C1 00 14 */ addi r30, r1, 0x14 -/* 8004BF64 00048EC4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8004BF68 00048EC8 83 E3 08 10 */ lwz r31, 0x810(r3) -/* 8004BF6C 00048ECC AB BF 20 08 */ lha r29, 0x2008(r31) -/* 8004BF70 00048ED0 48 00 00 84 */ b lbl_8004BFF4 -lbl_8004BF74: -/* 8004BF74 00048ED4 7F E3 FB 78 */ mr r3, r31 -/* 8004BF78 00048ED8 7F A4 EB 78 */ mr r4, r29 -/* 8004BF7C 00048EDC 4B FC 3D 99 */ bl __vc__11CObjectListFi -/* 8004BF80 00048EE0 7C 60 1B 78 */ mr r0, r3 -/* 8004BF84 00048EE4 38 61 00 08 */ addi r3, r1, 8 -/* 8004BF88 00048EE8 7C 04 03 78 */ mr r4, r0 -/* 8004BF8C 00048EEC 48 05 C8 61 */ bl "__ct__34TCastToPtr<20CScriptRoomAcoustics>FP7CEntity" -/* 8004BF90 00048EF0 80 83 00 04 */ lwz r4, 4(r3) -/* 8004BF94 00048EF4 28 04 00 00 */ cmplwi r4, 0 -/* 8004BF98 00048EF8 41 82 00 40 */ beq lbl_8004BFD8 -/* 8004BF9C 00048EFC 80 64 00 04 */ lwz r3, 4(r4) -/* 8004BFA0 00048F00 80 1C 00 00 */ lwz r0, 0(r28) -/* 8004BFA4 00048F04 7C 03 00 00 */ cmpw r3, r0 -/* 8004BFA8 00048F08 40 82 00 30 */ bne lbl_8004BFD8 -/* 8004BFAC 00048F0C 88 04 00 30 */ lbz r0, 0x30(r4) -/* 8004BFB0 00048F10 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004BFB4 00048F14 41 82 00 24 */ beq lbl_8004BFD8 -/* 8004BFB8 00048F18 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8004BFBC 00048F1C 54 00 10 3A */ slwi r0, r0, 2 -/* 8004BFC0 00048F20 7C 7E 02 15 */ add. r3, r30, r0 -/* 8004BFC4 00048F24 41 82 00 08 */ beq lbl_8004BFCC -/* 8004BFC8 00048F28 90 83 00 00 */ stw r4, 0(r3) -lbl_8004BFCC: -/* 8004BFCC 00048F2C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8004BFD0 00048F30 38 03 00 01 */ addi r0, r3, 1 -/* 8004BFD4 00048F34 90 01 00 10 */ stw r0, 0x10(r1) -lbl_8004BFD8: -/* 8004BFD8 00048F38 2C 1D FF FF */ cmpwi r29, -1 -/* 8004BFDC 00048F3C 41 82 00 14 */ beq lbl_8004BFF0 -/* 8004BFE0 00048F40 57 A3 18 38 */ slwi r3, r29, 3 -/* 8004BFE4 00048F44 38 03 00 08 */ addi r0, r3, 8 -/* 8004BFE8 00048F48 7F BF 02 AE */ lhax r29, r31, r0 -/* 8004BFEC 00048F4C 48 00 00 08 */ b lbl_8004BFF4 -lbl_8004BFF0: -/* 8004BFF0 00048F50 3B A0 FF FF */ li r29, -1 -lbl_8004BFF4: -/* 8004BFF4 00048F54 2C 1D FF FF */ cmpwi r29, -1 -/* 8004BFF8 00048F58 41 82 00 10 */ beq lbl_8004C008 -/* 8004BFFC 00048F5C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8004C000 00048F60 2C 00 00 0A */ cmpwi r0, 0xa -/* 8004C004 00048F64 41 80 FF 70 */ blt lbl_8004BF74 -lbl_8004C008: -/* 8004C008 00048F68 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8004C00C 00048F6C 2C 1C 00 00 */ cmpwi r28, 0 -/* 8004C010 00048F70 40 81 00 50 */ ble lbl_8004C060 -/* 8004C014 00048F74 80 7B 09 00 */ lwz r3, 0x900(r27) -/* 8004C018 00048F78 48 2C 64 C5 */ bl Float__9CRandom16Fv -/* 8004C01C 00048F7C 6F 83 80 00 */ xoris r3, r28, 0x8000 -/* 8004C020 00048F80 3C 00 43 30 */ lis r0, 0x4330 -/* 8004C024 00048F84 90 61 00 44 */ stw r3, 0x44(r1) -/* 8004C028 00048F88 C8 62 85 A8 */ lfd f3, lbl_805AA2C8@sda21(r2) -/* 8004C02C 00048F8C 90 01 00 40 */ stw r0, 0x40(r1) -/* 8004C030 00048F90 C0 02 86 2C */ lfs f0, lbl_805AA34C@sda21(r2) -/* 8004C034 00048F94 C8 41 00 40 */ lfd f2, 0x40(r1) -/* 8004C038 00048F98 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8004C03C 00048F9C EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8004C040 00048FA0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8004C044 00048FA4 FC 00 00 1E */ fctiwz f0, f0 -/* 8004C048 00048FA8 D8 01 00 48 */ stfd f0, 0x48(r1) -/* 8004C04C 00048FAC 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8004C050 00048FB0 54 00 10 3A */ slwi r0, r0, 2 -/* 8004C054 00048FB4 7C 7E 00 2E */ lwzx r3, r30, r0 -/* 8004C058 00048FB8 48 15 1D 3D */ bl EnableAuxCallbacks__20CScriptRoomAcousticsFv -/* 8004C05C 00048FBC 48 00 00 08 */ b lbl_8004C064 -lbl_8004C060: -/* 8004C060 00048FC0 48 15 1D 05 */ bl DisableAuxCallbacks__20CScriptRoomAcousticsFv -lbl_8004C064: -/* 8004C064 00048FC4 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8004C068 00048FC8 38 60 00 00 */ li r3, 0 -/* 8004C06C 00048FCC 2C 05 00 00 */ cmpwi r5, 0 -/* 8004C070 00048FD0 40 81 00 40 */ ble lbl_8004C0B0 -/* 8004C074 00048FD4 2C 05 00 08 */ cmpwi r5, 8 -/* 8004C078 00048FD8 38 85 FF F8 */ addi r4, r5, -8 -/* 8004C07C 00048FDC 40 81 00 20 */ ble lbl_8004C09C -/* 8004C080 00048FE0 38 04 00 07 */ addi r0, r4, 7 -/* 8004C084 00048FE4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004C088 00048FE8 7C 09 03 A6 */ mtctr r0 -/* 8004C08C 00048FEC 2C 04 00 00 */ cmpwi r4, 0 -/* 8004C090 00048FF0 40 81 00 0C */ ble lbl_8004C09C -lbl_8004C094: -/* 8004C094 00048FF4 38 63 00 08 */ addi r3, r3, 8 -/* 8004C098 00048FF8 42 00 FF FC */ bdnz lbl_8004C094 -lbl_8004C09C: -/* 8004C09C 00048FFC 7C 03 28 50 */ subf r0, r3, r5 -/* 8004C0A0 00049000 7C 09 03 A6 */ mtctr r0 -/* 8004C0A4 00049004 7C 03 28 00 */ cmpw r3, r5 -/* 8004C0A8 00049008 40 80 00 08 */ bge lbl_8004C0B0 -lbl_8004C0AC: -/* 8004C0AC 0004900C 42 00 00 00 */ bdnz lbl_8004C0AC -lbl_8004C0B0: -/* 8004C0B0 00049010 BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 8004C0B4 00049014 38 00 00 00 */ li r0, 0 -/* 8004C0B8 00049018 90 01 00 10 */ stw r0, 0x10(r1) -/* 8004C0BC 0004901C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8004C0C0 00049020 7C 08 03 A6 */ mtlr r0 -/* 8004C0C4 00049024 38 21 00 70 */ addi r1, r1, 0x70 -/* 8004C0C8 00049028 4E 80 00 20 */ blr - -.global SetCurrentAreaId__13CStateManagerF7TAreaId -SetCurrentAreaId__13CStateManagerF7TAreaId: -/* 8004C0CC 0004902C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004C0D0 00049030 7C 08 02 A6 */ mflr r0 -/* 8004C0D4 00049034 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004C0D8 00049038 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8004C0DC 0004903C 7C 7F 1B 78 */ mr r31, r3 -/* 8004C0E0 00049040 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004C0E4 00049044 7C 9E 23 78 */ mr r30, r4 -/* 8004C0E8 00049048 80 83 08 CC */ lwz r4, 0x8cc(r3) -/* 8004C0EC 0004904C 80 1E 00 00 */ lwz r0, 0(r30) -/* 8004C0F0 00049050 7C 04 00 00 */ cmpw r4, r0 -/* 8004C0F4 00049054 41 82 00 20 */ beq lbl_8004C114 -/* 8004C0F8 00049058 90 9F 08 D0 */ stw r4, 0x8d0(r31) -/* 8004C0FC 0004905C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8004C100 00049060 80 1E 00 00 */ lwz r0, 0(r30) -/* 8004C104 00049064 90 01 00 10 */ stw r0, 0x10(r1) -/* 8004C108 00049068 4B FF FE 3D */ bl UpdateRoomAcoustics__13CStateManagerF7TAreaId -/* 8004C10C 0004906C 80 1E 00 00 */ lwz r0, 0(r30) -/* 8004C110 00049070 90 1F 08 CC */ stw r0, 0x8cc(r31) -lbl_8004C114: -/* 8004C114 00049074 80 7E 00 00 */ lwz r3, 0(r30) -/* 8004C118 00049078 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8004C11C 0004907C 7C 03 00 00 */ cmpw r3, r0 -/* 8004C120 00049080 41 82 00 5C */ beq lbl_8004C17C -/* 8004C124 00049084 90 61 00 0C */ stw r3, 0xc(r1) -/* 8004C128 00049088 38 81 00 0C */ addi r4, r1, 0xc -/* 8004C12C 0004908C 80 7F 08 C0 */ lwz r3, 0x8c0(r31) -/* 8004C130 00049090 80 63 00 00 */ lwz r3, 0(r3) -/* 8004C134 00049094 48 11 BC 4D */ bl IsAreaVisited__13CMapWorldInfoCF7TAreaId -/* 8004C138 00049098 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004C13C 0004909C 40 82 00 40 */ bne lbl_8004C17C -/* 8004C140 000490A0 80 1E 00 00 */ lwz r0, 0(r30) -/* 8004C144 000490A4 38 81 00 08 */ addi r4, r1, 8 -/* 8004C148 000490A8 38 A0 00 01 */ li r5, 1 -/* 8004C14C 000490AC 90 01 00 08 */ stw r0, 8(r1) -/* 8004C150 000490B0 80 7F 08 C0 */ lwz r3, 0x8c0(r31) -/* 8004C154 000490B4 80 63 00 00 */ lwz r3, 0(r3) -/* 8004C158 000490B8 48 11 C4 61 */ bl SetAreaVisited__13CMapWorldInfoF7TAreaIdb -/* 8004C15C 000490BC 80 7F 08 C0 */ lwz r3, 0x8c0(r31) -/* 8004C160 000490C0 83 DF 08 50 */ lwz r30, 0x850(r31) -/* 8004C164 000490C4 83 E3 00 00 */ lwz r31, 0(r3) -/* 8004C168 000490C8 7F C3 F3 78 */ mr r3, r30 -/* 8004C16C 000490CC 48 00 B5 31 */ bl GetMapWorld__6CWorldCFv -/* 8004C170 000490D0 7F E4 FB 78 */ mr r4, r31 -/* 8004C174 000490D4 7F C5 F3 78 */ mr r5, r30 -/* 8004C178 000490D8 48 05 36 E5 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld -lbl_8004C17C: -/* 8004C17C 000490DC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004C180 000490E0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004C184 000490E4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004C188 000490E8 7C 08 03 A6 */ mtlr r0 -/* 8004C18C 000490EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004C190 000490F0 4E 80 00 20 */ blr - -.global BringOutYourDead__13CStateManagerFv -BringOutYourDead__13CStateManagerFv: -/* 8004C194 000490F4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8004C198 000490F8 7C 08 02 A6 */ mflr r0 -/* 8004C19C 000490FC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8004C1A0 00049100 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8004C1A4 00049104 7C 7B 1B 78 */ mr r27, r3 -/* 8004C1A8 00049108 83 C3 08 58 */ lwz r30, 0x858(r3) -/* 8004C1AC 0004910C 48 00 00 84 */ b lbl_8004C230 -lbl_8004C1B0: -/* 8004C1B0 00049110 3B FE 00 08 */ addi r31, r30, 8 -/* 8004C1B4 00049114 3B BF 00 04 */ addi r29, r31, 4 -/* 8004C1B8 00049118 48 00 00 5C */ b lbl_8004C214 -lbl_8004C1BC: -/* 8004C1BC 0004911C A0 1D 00 00 */ lhz r0, 0(r29) -/* 8004C1C0 00049120 38 81 00 0C */ addi r4, r1, 0xc -/* 8004C1C4 00049124 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004C1C8 00049128 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8004C1CC 0004912C 80 7B 08 10 */ lwz r3, 0x810(r27) -/* 8004C1D0 00049130 4B FC 3B CD */ bl GetValidObjectById__11CObjectListF9TUniqueId -/* 8004C1D4 00049134 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8004C1D8 00049138 7C 7C 1B 78 */ mr r28, r3 -/* 8004C1DC 0004913C 7F 63 DB 78 */ mr r3, r27 -/* 8004C1E0 00049140 38 81 00 08 */ addi r4, r1, 8 -/* 8004C1E4 00049144 B0 01 00 08 */ sth r0, 8(r1) -/* 8004C1E8 00049148 4B FF FA F9 */ bl RemoveObject__13CStateManagerF9TUniqueId -/* 8004C1EC 0004914C 28 1C 00 00 */ cmplwi r28, 0 -/* 8004C1F0 00049150 41 82 00 20 */ beq lbl_8004C210 -/* 8004C1F4 00049154 41 82 00 1C */ beq lbl_8004C210 -/* 8004C1F8 00049158 7F 83 E3 78 */ mr r3, r28 -/* 8004C1FC 0004915C 38 80 00 01 */ li r4, 1 -/* 8004C200 00049160 81 9C 00 00 */ lwz r12, 0(r28) -/* 8004C204 00049164 81 8C 00 08 */ lwz r12, 8(r12) -/* 8004C208 00049168 7D 89 03 A6 */ mtctr r12 -/* 8004C20C 0004916C 4E 80 04 21 */ bctrl -lbl_8004C210: -/* 8004C210 00049170 3B BD 00 02 */ addi r29, r29, 2 -lbl_8004C214: -/* 8004C214 00049174 80 1F 00 00 */ lwz r0, 0(r31) -/* 8004C218 00049178 54 00 08 3C */ slwi r0, r0, 1 -/* 8004C21C 0004917C 7C 7F 02 14 */ add r3, r31, r0 -/* 8004C220 00049180 38 03 00 04 */ addi r0, r3, 4 -/* 8004C224 00049184 7C 1D 00 40 */ cmplw r29, r0 -/* 8004C228 00049188 40 82 FF 94 */ bne lbl_8004C1BC -/* 8004C22C 0004918C 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8004C230: -/* 8004C230 00049190 83 FB 08 5C */ lwz r31, 0x85c(r27) -/* 8004C234 00049194 7C 1E F8 40 */ cmplw r30, r31 -/* 8004C238 00049198 40 82 FF 78 */ bne lbl_8004C1B0 -/* 8004C23C 0004919C 80 9B 08 58 */ lwz r4, 0x858(r27) -/* 8004C240 000491A0 48 00 00 10 */ b lbl_8004C250 -lbl_8004C244: -/* 8004C244 000491A4 38 7B 08 54 */ addi r3, r27, 0x854 -/* 8004C248 000491A8 48 00 43 65 */ bl sub_800505ac -/* 8004C24C 000491AC 7C 64 1B 78 */ mr r4, r3 -lbl_8004C250: -/* 8004C250 000491B0 7C 04 F8 40 */ cmplw r4, r31 -/* 8004C254 000491B4 40 82 FF F0 */ bne lbl_8004C244 -/* 8004C258 000491B8 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8004C25C 000491BC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8004C260 000491C0 7C 08 03 A6 */ mtlr r0 -/* 8004C264 000491C4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8004C268 000491C8 4E 80 00 20 */ blr - -.global FreeScriptObject__13CStateManagerF9TUniqueId -FreeScriptObject__13CStateManagerF9TUniqueId: -/* 8004C26C 000491CC 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8004C270 000491D0 7C 08 02 A6 */ mflr r0 -/* 8004C274 000491D4 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8004C278 000491D8 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8004C27C 000491DC 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8004C280 000491E0 7C 9E 23 78 */ mr r30, r4 -/* 8004C284 000491E4 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 8004C288 000491E8 7C 7D 1B 78 */ mr r29, r3 -/* 8004C28C 000491EC A0 04 00 00 */ lhz r0, 0(r4) -/* 8004C290 000491F0 38 81 00 0C */ addi r4, r1, 0xc -/* 8004C294 000491F4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004C298 000491F8 48 00 02 DD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8004C29C 000491FC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8004C2A0 00049200 41 82 01 B0 */ beq lbl_8004C450 -/* 8004C2A4 00049204 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8004C2A8 00049208 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8004C2AC 0004920C 40 82 01 A4 */ bne lbl_8004C450 -/* 8004C2B0 00049210 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8004C2B4 00049214 38 60 00 01 */ li r3, 1 -/* 8004C2B8 00049218 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8004C2BC 0004921C 98 1F 00 30 */ stb r0, 0x30(r31) -/* 8004C2C0 00049220 80 1D 08 68 */ lwz r0, 0x868(r29) -/* 8004C2C4 00049224 2C 00 00 00 */ cmpwi r0, 0 -/* 8004C2C8 00049228 40 82 00 70 */ bne lbl_8004C338 -/* 8004C2CC 0004922C 38 00 00 00 */ li r0, 0 -/* 8004C2D0 00049230 38 7D 08 54 */ addi r3, r29, 0x854 -/* 8004C2D4 00049234 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8004C2D8 00049238 38 81 00 5C */ addi r4, r1, 0x5c -/* 8004C2DC 0004923C 48 00 01 91 */ bl sub_8004c46c -/* 8004C2E0 00049240 80 A1 00 5C */ lwz r5, 0x5c(r1) -/* 8004C2E4 00049244 38 60 00 00 */ li r3, 0 -/* 8004C2E8 00049248 2C 05 00 00 */ cmpwi r5, 0 -/* 8004C2EC 0004924C 40 81 00 40 */ ble lbl_8004C32C -/* 8004C2F0 00049250 2C 05 00 08 */ cmpwi r5, 8 -/* 8004C2F4 00049254 38 85 FF F8 */ addi r4, r5, -8 -/* 8004C2F8 00049258 40 81 00 20 */ ble lbl_8004C318 -/* 8004C2FC 0004925C 38 04 00 07 */ addi r0, r4, 7 -/* 8004C300 00049260 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004C304 00049264 7C 09 03 A6 */ mtctr r0 -/* 8004C308 00049268 2C 04 00 00 */ cmpwi r4, 0 -/* 8004C30C 0004926C 40 81 00 0C */ ble lbl_8004C318 -lbl_8004C310: -/* 8004C310 00049270 38 63 00 08 */ addi r3, r3, 8 -/* 8004C314 00049274 42 00 FF FC */ bdnz lbl_8004C310 -lbl_8004C318: -/* 8004C318 00049278 7C 03 28 50 */ subf r0, r3, r5 -/* 8004C31C 0004927C 7C 09 03 A6 */ mtctr r0 -/* 8004C320 00049280 7C 03 28 00 */ cmpw r3, r5 -/* 8004C324 00049284 40 80 00 08 */ bge lbl_8004C32C -lbl_8004C328: -/* 8004C328 00049288 42 00 00 00 */ bdnz lbl_8004C328 -lbl_8004C32C: -/* 8004C32C 0004928C 38 00 00 00 */ li r0, 0 -/* 8004C330 00049290 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8004C334 00049294 48 00 00 80 */ b lbl_8004C3B4 -lbl_8004C338: -/* 8004C338 00049298 80 7D 08 5C */ lwz r3, 0x85c(r29) -/* 8004C33C 0004929C 80 63 00 00 */ lwz r3, 0(r3) -/* 8004C340 000492A0 80 03 00 08 */ lwz r0, 8(r3) -/* 8004C344 000492A4 2C 00 00 20 */ cmpwi r0, 0x20 -/* 8004C348 000492A8 40 82 00 6C */ bne lbl_8004C3B4 -/* 8004C34C 000492AC 38 00 00 00 */ li r0, 0 -/* 8004C350 000492B0 38 7D 08 54 */ addi r3, r29, 0x854 -/* 8004C354 000492B4 90 01 00 18 */ stw r0, 0x18(r1) -/* 8004C358 000492B8 38 81 00 18 */ addi r4, r1, 0x18 -/* 8004C35C 000492BC 48 00 01 11 */ bl sub_8004c46c -/* 8004C360 000492C0 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8004C364 000492C4 38 60 00 00 */ li r3, 0 -/* 8004C368 000492C8 2C 05 00 00 */ cmpwi r5, 0 -/* 8004C36C 000492CC 40 81 00 40 */ ble lbl_8004C3AC -/* 8004C370 000492D0 2C 05 00 08 */ cmpwi r5, 8 -/* 8004C374 000492D4 38 85 FF F8 */ addi r4, r5, -8 -/* 8004C378 000492D8 40 81 00 20 */ ble lbl_8004C398 -/* 8004C37C 000492DC 38 04 00 07 */ addi r0, r4, 7 -/* 8004C380 000492E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004C384 000492E4 7C 09 03 A6 */ mtctr r0 -/* 8004C388 000492E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8004C38C 000492EC 40 81 00 0C */ ble lbl_8004C398 -lbl_8004C390: -/* 8004C390 000492F0 38 63 00 08 */ addi r3, r3, 8 -/* 8004C394 000492F4 42 00 FF FC */ bdnz lbl_8004C390 -lbl_8004C398: -/* 8004C398 000492F8 7C 03 28 50 */ subf r0, r3, r5 -/* 8004C39C 000492FC 7C 09 03 A6 */ mtctr r0 -/* 8004C3A0 00049300 7C 03 28 00 */ cmpw r3, r5 -/* 8004C3A4 00049304 40 80 00 08 */ bge lbl_8004C3AC -lbl_8004C3A8: -/* 8004C3A8 00049308 42 00 00 00 */ bdnz lbl_8004C3A8 -lbl_8004C3AC: -/* 8004C3AC 0004930C 38 00 00 00 */ li r0, 0 -/* 8004C3B0 00049310 90 01 00 18 */ stw r0, 0x18(r1) -lbl_8004C3B4: -/* 8004C3B4 00049314 80 7D 08 5C */ lwz r3, 0x85c(r29) -/* 8004C3B8 00049318 80 63 00 00 */ lwz r3, 0(r3) -/* 8004C3BC 0004931C 38 E3 00 08 */ addi r7, r3, 8 -/* 8004C3C0 00049320 80 03 00 08 */ lwz r0, 8(r3) -/* 8004C3C4 00049324 54 00 08 3C */ slwi r0, r0, 1 -/* 8004C3C8 00049328 7C 67 02 14 */ add r3, r7, r0 -/* 8004C3CC 0004932C 34 63 00 04 */ addic. r3, r3, 4 -/* 8004C3D0 00049330 41 82 00 0C */ beq lbl_8004C3DC -/* 8004C3D4 00049334 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8004C3D8 00049338 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004C3DC: -/* 8004C3DC 0004933C 80 87 00 00 */ lwz r4, 0(r7) -/* 8004C3E0 00049340 7F E3 FB 78 */ mr r3, r31 -/* 8004C3E4 00049344 7F A6 EB 78 */ mr r6, r29 -/* 8004C3E8 00049348 38 A1 00 08 */ addi r5, r1, 8 -/* 8004C3EC 0004934C 38 04 00 01 */ addi r0, r4, 1 -/* 8004C3F0 00049350 38 80 00 22 */ li r4, 0x22 -/* 8004C3F4 00049354 90 07 00 00 */ stw r0, 0(r7) -/* 8004C3F8 00049358 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004C3FC 0004935C B0 01 00 08 */ sth r0, 8(r1) -/* 8004C400 00049360 81 9F 00 00 */ lwz r12, 0(r31) -/* 8004C404 00049364 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8004C408 00049368 7D 89 03 A6 */ mtctr r12 -/* 8004C40C 0004936C 4E 80 04 21 */ bctrl -/* 8004C410 00049370 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8004C414 00049374 38 60 00 01 */ li r3, 1 -/* 8004C418 00049378 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8004C41C 0004937C 7F E4 FB 78 */ mr r4, r31 -/* 8004C420 00049380 98 1F 00 30 */ stb r0, 0x30(r31) -/* 8004C424 00049384 38 61 00 10 */ addi r3, r1, 0x10 -/* 8004C428 00049388 48 06 38 69 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8004C42C 0004938C 83 C3 00 04 */ lwz r30, 4(r3) -/* 8004C430 00049390 28 1E 00 00 */ cmplwi r30, 0 -/* 8004C434 00049394 41 82 00 1C */ beq lbl_8004C450 -/* 8004C438 00049398 80 7D 08 74 */ lwz r3, 0x874(r29) -/* 8004C43C 0004939C 7F C4 F3 78 */ mr r4, r30 -/* 8004C440 000493A0 48 0F DA ED */ bl Remove__Q22SL18CSortedListManagerFPC6CActor -/* 8004C444 000493A4 7F C3 F3 78 */ mr r3, r30 -/* 8004C448 000493A8 38 80 00 00 */ li r4, 0 -/* 8004C44C 000493AC 48 00 7F 95 */ bl SetUseInSortedLists__6CActorFb -lbl_8004C450: -/* 8004C450 000493B0 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8004C454 000493B4 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8004C458 000493B8 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8004C45C 000493BC 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 8004C460 000493C0 7C 08 03 A6 */ mtlr r0 -/* 8004C464 000493C4 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8004C468 000493C8 4E 80 00 20 */ blr - -.global sub_8004c46c -sub_8004c46c: -/* 8004C46C 000493CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004C470 000493D0 7C 08 02 A6 */ mflr r0 -/* 8004C474 000493D4 7C 85 23 78 */ mr r5, r4 -/* 8004C478 000493D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004C47C 000493DC 80 83 00 08 */ lwz r4, 8(r3) -/* 8004C480 000493E0 48 00 00 15 */ bl sub_8004c494 -/* 8004C484 000493E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004C488 000493E8 7C 08 03 A6 */ mtlr r0 -/* 8004C48C 000493EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004C490 000493F0 4E 80 00 20 */ blr - -.global sub_8004c494 -sub_8004c494: -/* 8004C494 000493F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004C498 000493F8 7C 08 02 A6 */ mflr r0 -/* 8004C49C 000493FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004C4A0 00049400 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8004C4A4 00049404 7C 7F 1B 78 */ mr r31, r3 -/* 8004C4A8 00049408 38 60 00 4C */ li r3, 0x4c -/* 8004C4AC 0004940C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004C4B0 00049410 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8004C4B4 00049414 7C BD 2B 78 */ mr r29, r5 -/* 8004C4B8 00049418 38 A0 00 00 */ li r5, 0 -/* 8004C4BC 0004941C 93 81 00 10 */ stw r28, 0x10(r1) -/* 8004C4C0 00049420 7C 9C 23 78 */ mr r28, r4 -/* 8004C4C4 00049424 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004C4C8 00049428 83 DC 00 00 */ lwz r30, 0(r28) -/* 8004C4CC 0004942C 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004C4D0 00049430 48 2C 93 49 */ bl __nwa__FUlPCcPCc -/* 8004C4D4 00049434 28 03 00 00 */ cmplwi r3, 0 -/* 8004C4D8 00049438 41 82 00 0C */ beq lbl_8004C4E4 -/* 8004C4DC 0004943C 93 C3 00 00 */ stw r30, 0(r3) -/* 8004C4E0 00049440 93 83 00 04 */ stw r28, 4(r3) -lbl_8004C4E4: -/* 8004C4E4 00049444 34 83 00 08 */ addic. r4, r3, 8 -/* 8004C4E8 00049448 41 82 00 40 */ beq lbl_8004C528 -/* 8004C4EC 0004944C 80 1D 00 00 */ lwz r0, 0(r29) -/* 8004C4F0 00049450 38 DD 00 04 */ addi r6, r29, 4 -/* 8004C4F4 00049454 38 A4 00 04 */ addi r5, r4, 4 -/* 8004C4F8 00049458 90 04 00 00 */ stw r0, 0(r4) -/* 8004C4FC 0004945C 80 04 00 00 */ lwz r0, 0(r4) -/* 8004C500 00049460 7C 09 03 A6 */ mtctr r0 -/* 8004C504 00049464 2C 00 00 00 */ cmpwi r0, 0 -/* 8004C508 00049468 40 81 00 20 */ ble lbl_8004C528 -lbl_8004C50C: -/* 8004C50C 0004946C 28 05 00 00 */ cmplwi r5, 0 -/* 8004C510 00049470 41 82 00 0C */ beq lbl_8004C51C -/* 8004C514 00049474 A0 06 00 00 */ lhz r0, 0(r6) -/* 8004C518 00049478 B0 05 00 00 */ sth r0, 0(r5) -lbl_8004C51C: -/* 8004C51C 0004947C 38 A5 00 02 */ addi r5, r5, 2 -/* 8004C520 00049480 38 C6 00 02 */ addi r6, r6, 2 -/* 8004C524 00049484 42 00 FF E8 */ bdnz lbl_8004C50C -lbl_8004C528: -/* 8004C528 00049488 80 1F 00 04 */ lwz r0, 4(r31) -/* 8004C52C 0004948C 7C 1C 00 40 */ cmplw r28, r0 -/* 8004C530 00049490 40 82 00 08 */ bne lbl_8004C538 -/* 8004C534 00049494 90 7F 00 04 */ stw r3, 4(r31) -lbl_8004C538: -/* 8004C538 00049498 80 83 00 00 */ lwz r4, 0(r3) -/* 8004C53C 0004949C 90 64 00 04 */ stw r3, 4(r4) -/* 8004C540 000494A0 80 83 00 04 */ lwz r4, 4(r3) -/* 8004C544 000494A4 90 64 00 00 */ stw r3, 0(r4) -/* 8004C548 000494A8 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 8004C54C 000494AC 38 04 00 01 */ addi r0, r4, 1 -/* 8004C550 000494B0 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8004C554 000494B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004C558 000494B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004C55C 000494BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004C560 000494C0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8004C564 000494C4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8004C568 000494C8 7C 08 03 A6 */ mtlr r0 -/* 8004C56C 000494CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004C570 000494D0 4E 80 00 20 */ blr - -.global ObjectById__13CStateManagerF9TUniqueId -ObjectById__13CStateManagerF9TUniqueId: -/* 8004C574 000494D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004C578 000494D8 7C 08 02 A6 */ mflr r0 -/* 8004C57C 000494DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004C580 000494E0 A0 04 00 00 */ lhz r0, 0(r4) -/* 8004C584 000494E4 38 81 00 08 */ addi r4, r1, 8 -/* 8004C588 000494E8 B0 01 00 08 */ sth r0, 8(r1) -/* 8004C58C 000494EC 80 63 08 10 */ lwz r3, 0x810(r3) -/* 8004C590 000494F0 4B FC 38 B9 */ bl GetObjectById__11CObjectListF9TUniqueId -/* 8004C594 000494F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004C598 000494F8 7C 08 03 A6 */ mtlr r0 -/* 8004C59C 000494FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004C5A0 00049500 4E 80 00 20 */ blr - -.global GetObjectById__13CStateManagerCF9TUniqueId -GetObjectById__13CStateManagerCF9TUniqueId: -/* 8004C5A4 00049504 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004C5A8 00049508 7C 08 02 A6 */ mflr r0 -/* 8004C5AC 0004950C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004C5B0 00049510 A0 04 00 00 */ lhz r0, 0(r4) -/* 8004C5B4 00049514 38 81 00 08 */ addi r4, r1, 8 -/* 8004C5B8 00049518 80 63 08 10 */ lwz r3, 0x810(r3) -/* 8004C5BC 0004951C B0 01 00 08 */ sth r0, 8(r1) -/* 8004C5C0 00049520 4B FC 38 2D */ bl GetObjectById__11CObjectListCF9TUniqueId -/* 8004C5C4 00049524 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004C5C8 00049528 7C 08 03 A6 */ mtlr r0 -/* 8004C5CC 0004952C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004C5D0 00049530 4E 80 00 20 */ blr - -.global AreaUnloaded__13CStateManagerF7TAreaId -AreaUnloaded__13CStateManagerF7TAreaId: -/* 8004C5D4 00049534 4E 80 00 20 */ blr - -.global PrepareAreaUnload__13CStateManagerF7TAreaId -PrepareAreaUnload__13CStateManagerF7TAreaId: -/* 8004C5D8 00049538 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8004C5DC 0004953C 7C 08 02 A6 */ mflr r0 -/* 8004C5E0 00049540 90 01 00 34 */ stw r0, 0x34(r1) -/* 8004C5E4 00049544 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8004C5E8 00049548 7C 7B 1B 78 */ mr r27, r3 -/* 8004C5EC 0004954C 7C 9C 23 78 */ mr r28, r4 -/* 8004C5F0 00049550 83 E3 08 10 */ lwz r31, 0x810(r3) -/* 8004C5F4 00049554 AB DF 20 08 */ lha r30, 0x2008(r31) -/* 8004C5F8 00049558 48 00 00 70 */ b lbl_8004C668 -lbl_8004C5FC: -/* 8004C5FC 0004955C 7F E3 FB 78 */ mr r3, r31 -/* 8004C600 00049560 7F C4 F3 78 */ mr r4, r30 -/* 8004C604 00049564 4B FC 37 11 */ bl __vc__11CObjectListFi -/* 8004C608 00049568 7C 64 1B 78 */ mr r4, r3 -/* 8004C60C 0004956C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8004C610 00049570 48 05 DA E1 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 8004C614 00049574 83 A3 00 04 */ lwz r29, 4(r3) -/* 8004C618 00049578 28 1D 00 00 */ cmplwi r29, 0 -/* 8004C61C 0004957C 41 82 00 30 */ beq lbl_8004C64C -/* 8004C620 00049580 80 1C 00 00 */ lwz r0, 0(r28) -/* 8004C624 00049584 7F A3 EB 78 */ mr r3, r29 -/* 8004C628 00049588 7F 64 DB 78 */ mr r4, r27 -/* 8004C62C 0004958C 38 A1 00 0C */ addi r5, r1, 0xc -/* 8004C630 00049590 90 01 00 0C */ stw r0, 0xc(r1) -/* 8004C634 00049594 48 03 1B 91 */ bl IsConnectedToArea__11CScriptDoorCFRC13CStateManager7TAreaId -/* 8004C638 00049598 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004C63C 0004959C 41 82 00 10 */ beq lbl_8004C64C -/* 8004C640 000495A0 7F A3 EB 78 */ mr r3, r29 -/* 8004C644 000495A4 7F 64 DB 78 */ mr r4, r27 -/* 8004C648 000495A8 48 03 1A 75 */ bl ForceClosed__11CScriptDoorFR13CStateManager -lbl_8004C64C: -/* 8004C64C 000495AC 2C 1E FF FF */ cmpwi r30, -1 -/* 8004C650 000495B0 41 82 00 14 */ beq lbl_8004C664 -/* 8004C654 000495B4 57 C3 18 38 */ slwi r3, r30, 3 -/* 8004C658 000495B8 38 03 00 08 */ addi r0, r3, 8 -/* 8004C65C 000495BC 7F DF 02 AE */ lhax r30, r31, r0 -/* 8004C660 000495C0 48 00 00 08 */ b lbl_8004C668 -lbl_8004C664: -/* 8004C664 000495C4 3B C0 FF FF */ li r30, -1 -lbl_8004C668: -/* 8004C668 000495C8 2C 1E FF FF */ cmpwi r30, -1 -/* 8004C66C 000495CC 40 82 FF 90 */ bne lbl_8004C5FC -/* 8004C670 000495D0 80 1C 00 00 */ lwz r0, 0(r28) -/* 8004C674 000495D4 7F 63 DB 78 */ mr r3, r27 -/* 8004C678 000495D8 38 81 00 08 */ addi r4, r1, 8 -/* 8004C67C 000495DC 90 01 00 08 */ stw r0, 8(r1) -/* 8004C680 000495E0 4B FF B5 B1 */ bl FreeScriptObjects__13CStateManagerF7TAreaId -/* 8004C684 000495E4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8004C688 000495E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8004C68C 000495EC 7C 08 03 A6 */ mtlr r0 -/* 8004C690 000495F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8004C694 000495F4 4E 80 00 20 */ blr - -.global AreaLoaded__13CStateManagerF7TAreaId -AreaLoaded__13CStateManagerF7TAreaId: -/* 8004C698 000495F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004C69C 000495FC 7C 08 02 A6 */ mflr r0 -/* 8004C6A0 00049600 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004C6A4 00049604 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004C6A8 00049608 7C 7F 1B 78 */ mr r31, r3 -/* 8004C6AC 0004960C 7F E5 FB 78 */ mr r5, r31 -/* 8004C6B0 00049610 80 63 08 BC */ lwz r3, 0x8bc(r3) -/* 8004C6B4 00049614 80 63 00 00 */ lwz r3, 0(r3) -/* 8004C6B8 00049618 48 09 54 B1 */ bl SendMsgs__14CScriptMailboxFRC7TAreaIdR13CStateManager -/* 8004C6BC 0004961C 80 7F 08 80 */ lwz r3, 0x880(r31) -/* 8004C6C0 00049620 48 1C 37 55 */ bl AreaLoaded__13CEnvFxManagerFv -/* 8004C6C4 00049624 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004C6C8 00049628 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004C6CC 0004962C 7C 08 03 A6 */ mtlr r0 -/* 8004C6D0 00049630 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004C6D4 00049634 4E 80 00 20 */ blr - -.global "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" -"BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor": -/* 8004C6D8 00049638 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004C6DC 0004963C 7C 08 02 A6 */ mflr r0 -/* 8004C6E0 00049640 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004C6E4 00049644 80 63 08 74 */ lwz r3, 0x874(r3) -/* 8004C6E8 00049648 48 0F CE ED */ bl "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" -/* 8004C6EC 0004964C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004C6F0 00049650 7C 08 03 A6 */ mtlr r0 -/* 8004C6F4 00049654 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004C6F8 00049658 4E 80 00 20 */ blr - -.global "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" -"BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox": -/* 8004C6FC 0004965C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004C700 00049660 7C 08 02 A6 */ mflr r0 -/* 8004C704 00049664 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004C708 00049668 80 63 08 74 */ lwz r3, 0x874(r3) -/* 8004C70C 0004966C 48 0F D0 25 */ bl "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" -/* 8004C710 00049670 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004C714 00049674 7C 08 03 A6 */ mtlr r0 -/* 8004C718 00049678 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004C71C 0004967C 4E 80 00 20 */ blr - -.global "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -"BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor": -/* 8004C720 00049680 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004C724 00049684 7C 08 02 A6 */ mflr r0 -/* 8004C728 00049688 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004C72C 0004968C 80 63 08 74 */ lwz r3, 0x874(r3) -/* 8004C730 00049690 48 0F D0 DD */ bl "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8004C734 00049694 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004C738 00049698 7C 08 03 A6 */ mtlr r0 -/* 8004C73C 0004969C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004C740 000496A0 4E 80 00 20 */ blr - -.global UpdateActorInSortedLists__13CStateManagerFR6CActor -UpdateActorInSortedLists__13CStateManagerFR6CActor: -/* 8004C744 000496A4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8004C748 000496A8 7C 08 02 A6 */ mflr r0 -/* 8004C74C 000496AC 90 01 00 54 */ stw r0, 0x54(r1) -/* 8004C750 000496B0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8004C754 000496B4 7C 9F 23 78 */ mr r31, r4 -/* 8004C758 000496B8 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8004C75C 000496BC 7C 7E 1B 78 */ mr r30, r3 -/* 8004C760 000496C0 7F E3 FB 78 */ mr r3, r31 -/* 8004C764 000496C4 48 00 7C 8D */ bl GetUseInSortedLists__6CActorCFv -/* 8004C768 000496C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004C76C 000496CC 41 82 01 0C */ beq lbl_8004C878 -/* 8004C770 000496D0 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8004C774 000496D4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8004C778 000496D8 41 82 01 00 */ beq lbl_8004C878 -/* 8004C77C 000496DC 7F C4 F3 78 */ mr r4, r30 -/* 8004C780 000496E0 7F E5 FB 78 */ mr r5, r31 -/* 8004C784 000496E4 38 61 00 08 */ addi r3, r1, 8 -/* 8004C788 000496E8 48 00 01 99 */ bl CalculateObjectBounds__13CStateManagerFRC6CActor -/* 8004C78C 000496EC 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8004C790 000496F0 28 00 00 00 */ cmplwi r0, 0 -/* 8004C794 000496F4 98 01 00 3C */ stb r0, 0x3c(r1) -/* 8004C798 000496F8 41 82 00 3C */ beq lbl_8004C7D4 -/* 8004C79C 000496FC 34 61 00 24 */ addic. r3, r1, 0x24 -/* 8004C7A0 00049700 41 82 00 34 */ beq lbl_8004C7D4 -/* 8004C7A4 00049704 C0 01 00 08 */ lfs f0, 8(r1) -/* 8004C7A8 00049708 D0 03 00 00 */ stfs f0, 0(r3) -/* 8004C7AC 0004970C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8004C7B0 00049710 D0 03 00 04 */ stfs f0, 4(r3) -/* 8004C7B4 00049714 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8004C7B8 00049718 D0 03 00 08 */ stfs f0, 8(r3) -/* 8004C7BC 0004971C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8004C7C0 00049720 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8004C7C4 00049724 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8004C7C8 00049728 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8004C7CC 0004972C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8004C7D0 00049730 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8004C7D4: -/* 8004C7D4 00049734 38 00 00 00 */ li r0, 0 -/* 8004C7D8 00049738 7F E4 FB 78 */ mr r4, r31 -/* 8004C7DC 0004973C 98 01 00 20 */ stb r0, 0x20(r1) -/* 8004C7E0 00049740 80 7E 08 74 */ lwz r3, 0x874(r30) -/* 8004C7E4 00049744 48 0F DD 09 */ bl ActorInLists__Q22SL18CSortedListManagerCFPC6CActor -/* 8004C7E8 00049748 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004C7EC 0004974C 88 A1 00 3C */ lbz r5, 0x3c(r1) -/* 8004C7F0 00049750 40 82 00 0C */ bne lbl_8004C7FC -/* 8004C7F4 00049754 28 05 00 00 */ cmplwi r5, 0 -/* 8004C7F8 00049758 41 82 00 78 */ beq lbl_8004C870 -lbl_8004C7FC: -/* 8004C7FC 0004975C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004C800 00049760 88 7F 00 E4 */ lbz r3, 0xe4(r31) -/* 8004C804 00049764 38 80 00 00 */ li r4, 0 -/* 8004C808 00049768 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 8004C80C 0004976C 98 7F 00 E4 */ stb r3, 0xe4(r31) -/* 8004C810 00049770 41 82 00 3C */ beq lbl_8004C84C -/* 8004C814 00049774 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8004C818 00049778 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004C81C 0004977C 41 82 00 0C */ beq lbl_8004C828 -/* 8004C820 00049780 28 05 00 00 */ cmplwi r5, 0 -/* 8004C824 00049784 40 82 00 14 */ bne lbl_8004C838 -lbl_8004C828: -/* 8004C828 00049788 80 7E 08 74 */ lwz r3, 0x874(r30) -/* 8004C82C 0004978C 7F E4 FB 78 */ mr r4, r31 -/* 8004C830 00049790 48 0F D6 FD */ bl Remove__Q22SL18CSortedListManagerFPC6CActor -/* 8004C834 00049794 48 00 00 3C */ b lbl_8004C870 -lbl_8004C838: -/* 8004C838 00049798 80 7E 08 74 */ lwz r3, 0x874(r30) -/* 8004C83C 0004979C 7F E4 FB 78 */ mr r4, r31 -/* 8004C840 000497A0 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8004C844 000497A4 48 0F D6 1D */ bl Move__Q22SL18CSortedListManagerFPC6CActorRC6CAABox -/* 8004C848 000497A8 48 00 00 28 */ b lbl_8004C870 -lbl_8004C84C: -/* 8004C84C 000497AC 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8004C850 000497B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004C854 000497B4 41 82 00 1C */ beq lbl_8004C870 -/* 8004C858 000497B8 28 05 00 00 */ cmplwi r5, 0 -/* 8004C85C 000497BC 41 82 00 14 */ beq lbl_8004C870 -/* 8004C860 000497C0 80 7E 08 74 */ lwz r3, 0x874(r30) -/* 8004C864 000497C4 7F E4 FB 78 */ mr r4, r31 -/* 8004C868 000497C8 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8004C86C 000497CC 48 0F D7 79 */ bl Insert__Q22SL18CSortedListManagerFP6CActorRC6CAABox -lbl_8004C870: -/* 8004C870 000497D0 38 00 00 00 */ li r0, 0 -/* 8004C874 000497D4 98 01 00 3C */ stb r0, 0x3c(r1) -lbl_8004C878: -/* 8004C878 000497D8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8004C87C 000497DC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8004C880 000497E0 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8004C884 000497E4 7C 08 03 A6 */ mtlr r0 -/* 8004C888 000497E8 38 21 00 50 */ addi r1, r1, 0x50 -/* 8004C88C 000497EC 4E 80 00 20 */ blr - -.global UpdateSortedLists__13CStateManagerFv -UpdateSortedLists__13CStateManagerFv: -/* 8004C890 000497F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004C894 000497F4 7C 08 02 A6 */ mflr r0 -/* 8004C898 000497F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004C89C 000497FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8004C8A0 00049800 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004C8A4 00049804 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8004C8A8 00049808 7C 7D 1B 78 */ mr r29, r3 -/* 8004C8AC 0004980C 80 03 08 50 */ lwz r0, 0x850(r3) -/* 8004C8B0 00049810 28 00 00 00 */ cmplwi r0, 0 -/* 8004C8B4 00049814 41 82 00 50 */ beq lbl_8004C904 -/* 8004C8B8 00049818 83 FD 08 18 */ lwz r31, 0x818(r29) -/* 8004C8BC 0004981C AB DF 20 08 */ lha r30, 0x2008(r31) -/* 8004C8C0 00049820 48 00 00 3C */ b lbl_8004C8FC -lbl_8004C8C4: -/* 8004C8C4 00049824 7F E3 FB 78 */ mr r3, r31 -/* 8004C8C8 00049828 7F C4 F3 78 */ mr r4, r30 -/* 8004C8CC 0004982C 4B FC 34 49 */ bl __vc__11CObjectListFi -/* 8004C8D0 00049830 7C 64 1B 79 */ or. r4, r3, r3 -/* 8004C8D4 00049834 41 82 00 0C */ beq lbl_8004C8E0 -/* 8004C8D8 00049838 7F A3 EB 78 */ mr r3, r29 -/* 8004C8DC 0004983C 4B FF FE 69 */ bl UpdateActorInSortedLists__13CStateManagerFR6CActor -lbl_8004C8E0: -/* 8004C8E0 00049840 2C 1E FF FF */ cmpwi r30, -1 -/* 8004C8E4 00049844 41 82 00 14 */ beq lbl_8004C8F8 -/* 8004C8E8 00049848 57 C3 18 38 */ slwi r3, r30, 3 -/* 8004C8EC 0004984C 38 03 00 08 */ addi r0, r3, 8 -/* 8004C8F0 00049850 7F DF 02 AE */ lhax r30, r31, r0 -/* 8004C8F4 00049854 48 00 00 08 */ b lbl_8004C8FC -lbl_8004C8F8: -/* 8004C8F8 00049858 3B C0 FF FF */ li r30, -1 -lbl_8004C8FC: -/* 8004C8FC 0004985C 2C 1E FF FF */ cmpwi r30, -1 -/* 8004C900 00049860 40 82 FF C4 */ bne lbl_8004C8C4 -lbl_8004C904: -/* 8004C904 00049864 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004C908 00049868 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004C90C 0004986C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004C910 00049870 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8004C914 00049874 7C 08 03 A6 */ mtlr r0 -/* 8004C918 00049878 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004C91C 0004987C 4E 80 00 20 */ blr - -.global CalculateObjectBounds__13CStateManagerFRC6CActor -CalculateObjectBounds__13CStateManagerFRC6CActor: -/* 8004C920 00049880 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8004C924 00049884 7C 08 02 A6 */ mflr r0 -/* 8004C928 00049888 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8004C92C 0004988C 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8004C930 00049890 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8004C934 00049894 7C BE 2B 78 */ mr r30, r5 -/* 8004C938 00049898 7F C4 F3 78 */ mr r4, r30 -/* 8004C93C 0004989C 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8004C940 000498A0 7C 7D 1B 78 */ mr r29, r3 -/* 8004C944 000498A4 38 61 00 08 */ addi r3, r1, 8 -/* 8004C948 000498A8 48 05 FE 09 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" -/* 8004C94C 000498AC 7F C4 F3 78 */ mr r4, r30 -/* 8004C950 000498B0 83 C3 00 04 */ lwz r30, 4(r3) -/* 8004C954 000498B4 81 84 00 00 */ lwz r12, 0(r4) -/* 8004C958 000498B8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8004C95C 000498BC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8004C960 000498C0 7D 89 03 A6 */ mtctr r12 -/* 8004C964 000498C4 4E 80 04 21 */ bctrl -/* 8004C968 000498C8 88 01 00 58 */ lbz r0, 0x58(r1) -/* 8004C96C 000498CC 28 00 00 00 */ cmplwi r0, 0 -/* 8004C970 000498D0 98 01 00 8C */ stb r0, 0x8c(r1) -/* 8004C974 000498D4 41 82 00 3C */ beq lbl_8004C9B0 -/* 8004C978 000498D8 34 61 00 74 */ addic. r3, r1, 0x74 -/* 8004C97C 000498DC 41 82 00 34 */ beq lbl_8004C9B0 -/* 8004C980 000498E0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8004C984 000498E4 D0 03 00 00 */ stfs f0, 0(r3) -/* 8004C988 000498E8 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8004C98C 000498EC D0 03 00 04 */ stfs f0, 4(r3) -/* 8004C990 000498F0 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8004C994 000498F4 D0 03 00 08 */ stfs f0, 8(r3) -/* 8004C998 000498F8 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8004C99C 000498FC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8004C9A0 00049900 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8004C9A4 00049904 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8004C9A8 00049908 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8004C9AC 0004990C D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8004C9B0: -/* 8004C9B0 00049910 88 01 00 8C */ lbz r0, 0x8c(r1) -/* 8004C9B4 00049914 38 60 00 00 */ li r3, 0 -/* 8004C9B8 00049918 98 61 00 58 */ stb r3, 0x58(r1) -/* 8004C9BC 0004991C 28 00 00 00 */ cmplwi r0, 0 -/* 8004C9C0 00049920 41 82 00 D0 */ beq lbl_8004CA90 -/* 8004C9C4 00049924 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 8004C9C8 00049928 3B E1 00 74 */ addi r31, r1, 0x74 -/* 8004C9CC 0004992C 38 A3 67 54 */ addi r5, r3, lbl_805A6754@l -/* 8004C9D0 00049930 38 61 00 5C */ addi r3, r1, 0x5c -/* 8004C9D4 00049934 C0 A5 00 00 */ lfs f5, 0(r5) -/* 8004C9D8 00049938 7F E4 FB 78 */ mr r4, r31 -/* 8004C9DC 0004993C C0 85 00 04 */ lfs f4, 4(r5) -/* 8004C9E0 00049940 C0 65 00 08 */ lfs f3, 8(r5) -/* 8004C9E4 00049944 C0 45 00 0C */ lfs f2, 0xc(r5) -/* 8004C9E8 00049948 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8004C9EC 0004994C C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8004C9F0 00049950 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 8004C9F4 00049954 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 8004C9F8 00049958 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 8004C9FC 0004995C D0 41 00 68 */ stfs f2, 0x68(r1) -/* 8004CA00 00049960 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 8004CA04 00049964 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8004CA08 00049968 48 2E B1 01 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8004CA0C 0004996C 38 61 00 5C */ addi r3, r1, 0x5c -/* 8004CA10 00049970 38 9F 00 0C */ addi r4, r31, 0xc -/* 8004CA14 00049974 48 2E B0 F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8004CA18 00049978 28 1E 00 00 */ cmplwi r30, 0 -/* 8004CA1C 0004997C 41 82 00 28 */ beq lbl_8004CA44 -/* 8004CA20 00049980 7F C4 F3 78 */ mr r4, r30 -/* 8004CA24 00049984 38 61 00 28 */ addi r3, r1, 0x28 -/* 8004CA28 00049988 48 0C DF 05 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8004CA2C 0004998C 38 61 00 5C */ addi r3, r1, 0x5c -/* 8004CA30 00049990 38 81 00 28 */ addi r4, r1, 0x28 -/* 8004CA34 00049994 48 2E B0 D5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8004CA38 00049998 38 61 00 5C */ addi r3, r1, 0x5c -/* 8004CA3C 0004999C 38 81 00 34 */ addi r4, r1, 0x34 -/* 8004CA40 000499A0 48 2E B0 C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_8004CA44: -/* 8004CA44 000499A4 38 00 00 01 */ li r0, 1 -/* 8004CA48 000499A8 28 1D 00 00 */ cmplwi r29, 0 -/* 8004CA4C 000499AC 98 1D 00 18 */ stb r0, 0x18(r29) -/* 8004CA50 000499B0 41 82 00 34 */ beq lbl_8004CA84 -/* 8004CA54 000499B4 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8004CA58 000499B8 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8004CA5C 000499BC C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8004CA60 000499C0 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8004CA64 000499C4 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8004CA68 000499C8 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8004CA6C 000499CC C0 01 00 68 */ lfs f0, 0x68(r1) -/* 8004CA70 000499D0 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8004CA74 000499D4 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8004CA78 000499D8 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 8004CA7C 000499DC C0 01 00 70 */ lfs f0, 0x70(r1) -/* 8004CA80 000499E0 D0 1D 00 14 */ stfs f0, 0x14(r29) -lbl_8004CA84: -/* 8004CA84 000499E4 38 00 00 00 */ li r0, 0 -/* 8004CA88 000499E8 98 01 00 8C */ stb r0, 0x8c(r1) -/* 8004CA8C 000499EC 48 00 00 6C */ b lbl_8004CAF8 -lbl_8004CA90: -/* 8004CA90 000499F0 28 1E 00 00 */ cmplwi r30, 0 -/* 8004CA94 000499F4 41 82 00 5C */ beq lbl_8004CAF0 -/* 8004CA98 000499F8 7F C4 F3 78 */ mr r4, r30 -/* 8004CA9C 000499FC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8004CAA0 00049A00 48 0C DE 8D */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8004CAA4 00049A04 38 00 00 01 */ li r0, 1 -/* 8004CAA8 00049A08 28 1D 00 00 */ cmplwi r29, 0 -/* 8004CAAC 00049A0C 98 1D 00 18 */ stb r0, 0x18(r29) -/* 8004CAB0 00049A10 41 82 00 34 */ beq lbl_8004CAE4 -/* 8004CAB4 00049A14 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8004CAB8 00049A18 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8004CABC 00049A1C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8004CAC0 00049A20 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8004CAC4 00049A24 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8004CAC8 00049A28 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8004CACC 00049A2C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8004CAD0 00049A30 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8004CAD4 00049A34 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8004CAD8 00049A38 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 8004CADC 00049A3C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8004CAE0 00049A40 D0 1D 00 14 */ stfs f0, 0x14(r29) -lbl_8004CAE4: -/* 8004CAE4 00049A44 38 00 00 00 */ li r0, 0 -/* 8004CAE8 00049A48 98 01 00 8C */ stb r0, 0x8c(r1) -/* 8004CAEC 00049A4C 48 00 00 0C */ b lbl_8004CAF8 -lbl_8004CAF0: -/* 8004CAF0 00049A50 98 7D 00 18 */ stb r3, 0x18(r29) -/* 8004CAF4 00049A54 98 61 00 8C */ stb r3, 0x8c(r1) -lbl_8004CAF8: -/* 8004CAF8 00049A58 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8004CAFC 00049A5C 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8004CB00 00049A60 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8004CB04 00049A64 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8004CB08 00049A68 7C 08 03 A6 */ mtlr r0 -/* 8004CB0C 00049A6C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8004CB10 00049A70 4E 80 00 20 */ blr - -.global AddObject__13CStateManagerFR7CEntity -AddObject__13CStateManagerFR7CEntity: -/* 8004CB14 00049A74 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8004CB18 00049A78 7C 08 02 A6 */ mflr r0 -/* 8004CB1C 00049A7C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8004CB20 00049A80 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8004CB24 00049A84 7C 9F 23 78 */ mr r31, r4 -/* 8004CB28 00049A88 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8004CB2C 00049A8C 7C 7E 1B 78 */ mr r30, r3 -/* 8004CB30 00049A90 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8004CB34 00049A94 93 81 00 50 */ stw r28, 0x50(r1) -/* 8004CB38 00049A98 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 8004CB3C 00049A9C 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 8004CB40 00049AA0 54 00 01 BE */ clrlwi r0, r0, 6 -/* 8004CB44 00049AA4 54 A3 01 BE */ clrlwi r3, r5, 6 -/* 8004CB48 00049AA8 7C 03 00 40 */ cmplw r3, r0 -/* 8004CB4C 00049AAC 41 82 00 24 */ beq lbl_8004CB70 -/* 8004CB50 00049AB0 A0 1F 00 08 */ lhz r0, 8(r31) -/* 8004CB54 00049AB4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8004CB58 00049AB8 38 9E 08 90 */ addi r4, r30, 0x890 -/* 8004CB5C 00049ABC 38 C1 00 30 */ addi r6, r1, 0x30 -/* 8004CB60 00049AC0 90 A1 00 30 */ stw r5, 0x30(r1) -/* 8004CB64 00049AC4 B0 01 00 34 */ sth r0, 0x34(r1) -/* 8004CB68 00049AC8 80 BE 08 A0 */ lwz r5, 0x8a0(r30) -/* 8004CB6C 00049ACC 48 00 31 51 */ bl "insert_into__Q24rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>FPQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl32pair<13TGameScriptId,9TUniqueId>" -lbl_8004CB70: -/* 8004CB70 00049AD0 3B BE 08 0C */ addi r29, r30, 0x80c -/* 8004CB74 00049AD4 7F BC EB 78 */ mr r28, r29 -/* 8004CB78 00049AD8 48 00 00 14 */ b lbl_8004CB8C -lbl_8004CB7C: -/* 8004CB7C 00049ADC 80 7C 00 04 */ lwz r3, 4(r28) -/* 8004CB80 00049AE0 7F E4 FB 78 */ mr r4, r31 -/* 8004CB84 00049AE4 4B FC 34 01 */ bl AddObject__11CObjectListFR7CEntity -/* 8004CB88 00049AE8 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8004CB8C: -/* 8004CB8C 00049AEC 80 1E 08 08 */ lwz r0, 0x808(r30) -/* 8004CB90 00049AF0 54 00 18 38 */ slwi r0, r0, 3 -/* 8004CB94 00049AF4 7C 1D 02 14 */ add r0, r29, r0 -/* 8004CB98 00049AF8 7C 1C 00 40 */ cmplw r28, r0 -/* 8004CB9C 00049AFC 40 82 FF E0 */ bne lbl_8004CB7C -/* 8004CBA0 00049B00 80 7F 00 04 */ lwz r3, 4(r31) -/* 8004CBA4 00049B04 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8004CBA8 00049B08 7C 03 00 00 */ cmpw r3, r0 -/* 8004CBAC 00049B0C 40 82 00 30 */ bne lbl_8004CBDC -/* 8004CBB0 00049B10 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 8004CBB4 00049B14 28 04 00 00 */ cmplwi r4, 0 -/* 8004CBB8 00049B18 41 82 00 24 */ beq lbl_8004CBDC -/* 8004CBBC 00049B1C A0 7F 00 08 */ lhz r3, 8(r31) -/* 8004CBC0 00049B20 A0 04 00 08 */ lhz r0, 8(r4) -/* 8004CBC4 00049B24 7C 03 00 40 */ cmplw r3, r0 -/* 8004CBC8 00049B28 41 82 00 14 */ beq lbl_8004CBDC -/* 8004CBCC 00049B2C 80 04 00 04 */ lwz r0, 4(r4) -/* 8004CBD0 00049B30 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8004CBD4 00049B34 90 01 00 20 */ stw r0, 0x20(r1) -/* 8004CBD8 00049B38 90 1F 00 04 */ stw r0, 4(r31) -lbl_8004CBDC: -/* 8004CBDC 00049B3C 80 BF 00 04 */ lwz r5, 4(r31) -/* 8004CBE0 00049B40 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8004CBE4 00049B44 90 A1 00 24 */ stw r5, 0x24(r1) -/* 8004CBE8 00049B48 7C 05 00 00 */ cmpw r5, r0 -/* 8004CBEC 00049B4C 41 82 00 38 */ beq lbl_8004CC24 -/* 8004CBF0 00049B50 80 9E 08 50 */ lwz r4, 0x850(r30) -/* 8004CBF4 00049B54 54 A3 18 38 */ slwi r3, r5, 3 -/* 8004CBF8 00049B58 38 03 00 04 */ addi r0, r3, 4 -/* 8004CBFC 00049B5C 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8004CC00 00049B60 80 64 00 20 */ lwz r3, 0x20(r4) -/* 8004CC04 00049B64 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8004CC08 00049B68 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8004CC0C 00049B6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8004CC10 00049B70 41 82 00 14 */ beq lbl_8004CC24 -/* 8004CC14 00049B74 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8004CC18 00049B78 7F E4 FB 78 */ mr r4, r31 -/* 8004CC1C 00049B7C 80 63 10 C0 */ lwz r3, 0x10c0(r3) -/* 8004CC20 00049B80 4B FC 33 65 */ bl AddObject__11CObjectListFR7CEntity -lbl_8004CC24: -/* 8004CC24 00049B84 7F E4 FB 78 */ mr r4, r31 -/* 8004CC28 00049B88 38 61 00 28 */ addi r3, r1, 0x28 -/* 8004CC2C 00049B8C 48 06 30 D1 */ bl "__ct__19TCastToPtr<6CActor>FR7CEntity" -/* 8004CC30 00049B90 80 83 00 04 */ lwz r4, 4(r3) -/* 8004CC34 00049B94 28 04 00 00 */ cmplwi r4, 0 -/* 8004CC38 00049B98 41 82 00 0C */ beq lbl_8004CC44 -/* 8004CC3C 00049B9C 7F C3 F3 78 */ mr r3, r30 -/* 8004CC40 00049BA0 4B FF FB 05 */ bl UpdateActorInSortedLists__13CStateManagerFR6CActor -lbl_8004CC44: -/* 8004CC44 00049BA4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004CC48 00049BA8 7F E3 FB 78 */ mr r3, r31 -/* 8004CC4C 00049BAC 7F C6 F3 78 */ mr r6, r30 -/* 8004CC50 00049BB0 38 A1 00 0C */ addi r5, r1, 0xc -/* 8004CC54 00049BB4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004CC58 00049BB8 38 80 00 21 */ li r4, 0x21 -/* 8004CC5C 00049BBC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8004CC60 00049BC0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8004CC64 00049BC4 7D 89 03 A6 */ mtctr r12 -/* 8004CC68 00049BC8 4E 80 04 21 */ bctrl -/* 8004CC6C 00049BCC 80 7F 00 04 */ lwz r3, 4(r31) -/* 8004CC70 00049BD0 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8004CC74 00049BD4 7C 03 00 00 */ cmpw r3, r0 -/* 8004CC78 00049BD8 41 82 00 5C */ beq lbl_8004CCD4 -/* 8004CC7C 00049BDC 7F C3 F3 78 */ mr r3, r30 -/* 8004CC80 00049BE0 48 00 00 9D */ bl sub_8004cd1c -/* 8004CC84 00049BE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004CC88 00049BE8 41 82 00 4C */ beq lbl_8004CCD4 -/* 8004CC8C 00049BEC 80 BF 00 04 */ lwz r5, 4(r31) -/* 8004CC90 00049BF0 80 9E 08 50 */ lwz r4, 0x850(r30) -/* 8004CC94 00049BF4 54 A3 18 38 */ slwi r3, r5, 3 -/* 8004CC98 00049BF8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8004CC9C 00049BFC 80 84 00 20 */ lwz r4, 0x20(r4) -/* 8004CCA0 00049C00 38 03 00 04 */ addi r0, r3, 4 -/* 8004CCA4 00049C04 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8004CCA8 00049C08 7C 64 00 2E */ lwzx r3, r4, r0 -/* 8004CCAC 00049C0C 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8004CCB0 00049C10 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8004CCB4 00049C14 41 82 00 20 */ beq lbl_8004CCD4 -/* 8004CCB8 00049C18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004CCBC 00049C1C 7F C3 F3 78 */ mr r3, r30 -/* 8004CCC0 00049C20 7F E4 FB 78 */ mr r4, r31 -/* 8004CCC4 00049C24 38 A1 00 08 */ addi r5, r1, 8 -/* 8004CCC8 00049C28 B0 01 00 08 */ sth r0, 8(r1) -/* 8004CCCC 00049C2C 38 C0 00 23 */ li r6, 0x23 -/* 8004CCD0 00049C30 4B FF 72 01 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_8004CCD4: -/* 8004CCD4 00049C34 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8004CCD8 00049C38 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8004CCDC 00049C3C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8004CCE0 00049C40 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8004CCE4 00049C44 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8004CCE8 00049C48 7C 08 03 A6 */ mtlr r0 -/* 8004CCEC 00049C4C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8004CCF0 00049C50 4E 80 00 20 */ blr - -.global AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence: -/* 8004CCF4 00049C54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004CCF8 00049C58 7C 08 02 A6 */ mflr r0 -/* 8004CCFC 00049C5C 28 04 00 00 */ cmplwi r4, 0 -/* 8004CD00 00049C60 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004CD04 00049C64 41 82 00 08 */ beq lbl_8004CD0C -/* 8004CD08 00049C68 4B FF FE 0D */ bl AddObject__13CStateManagerFR7CEntity -lbl_8004CD0C: -/* 8004CD0C 00049C6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004CD10 00049C70 7C 08 03 A6 */ mtlr r0 -/* 8004CD14 00049C74 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004CD18 00049C78 4E 80 00 20 */ blr - -.global sub_8004cd1c -sub_8004cd1c: -/* 8004CD1C 00049C7C 80 63 08 50 */ lwz r3, 0x850(r3) -/* 8004CD20 00049C80 7C 03 00 D0 */ neg r0, r3 -/* 8004CD24 00049C84 7C 00 1B 78 */ or r0, r0, r3 -/* 8004CD28 00049C88 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8004CD2C 00049C8C 4E 80 00 20 */ blr - -.global "RayCollideWorldInternal__13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterRCQ24rstl49reserved_vector<9TUniqueId,1024>RC6CActor" -"RayCollideWorldInternal__13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterRCQ24rstl49reserved_vector<9TUniqueId,1024>RC6CActor": -/* 8004CD30 00049C90 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8004CD34 00049C94 7C 08 02 A6 */ mflr r0 -/* 8004CD38 00049C98 90 01 00 44 */ stw r0, 0x44(r1) -/* 8004CD3C 00049C9C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8004CD40 00049CA0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8004CD44 00049CA4 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8004CD48 00049CA8 7C 9B 23 78 */ mr r27, r4 -/* 8004CD4C 00049CAC 7C 7A 1B 78 */ mr r26, r3 -/* 8004CD50 00049CB0 C0 25 00 04 */ lfs f1, 4(r5) -/* 8004CD54 00049CB4 7C DC 33 78 */ mr r28, r6 -/* 8004CD58 00049CB8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8004CD5C 00049CBC 7C FD 3B 78 */ mr r29, r7 -/* 8004CD60 00049CC0 C0 65 00 08 */ lfs f3, 8(r5) -/* 8004CD64 00049CC4 7D 1E 43 78 */ mr r30, r8 -/* 8004CD68 00049CC8 C0 44 00 08 */ lfs f2, 8(r4) -/* 8004CD6C 00049CCC EC 81 00 28 */ fsubs f4, f1, f0 -/* 8004CD70 00049CD0 C0 25 00 00 */ lfs f1, 0(r5) -/* 8004CD74 00049CD4 38 61 00 08 */ addi r3, r1, 8 -/* 8004CD78 00049CD8 C0 04 00 00 */ lfs f0, 0(r4) -/* 8004CD7C 00049CDC EC 43 10 28 */ fsubs f2, f3, f2 -/* 8004CD80 00049CE0 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8004CD84 00049CE4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8004CD88 00049CE8 3B E0 00 01 */ li r31, 1 -/* 8004CD8C 00049CEC D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8004CD90 00049CF0 D0 01 00 08 */ stfs f0, 8(r1) -/* 8004CD94 00049CF4 48 2C 79 65 */ bl CanBeNormalized__9CVector3fCFv -/* 8004CD98 00049CF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004CD9C 00049CFC 41 82 00 80 */ beq lbl_8004CE1C -/* 8004CDA0 00049D00 38 61 00 08 */ addi r3, r1, 8 -/* 8004CDA4 00049D04 48 2C 7B 15 */ bl Magnitude__9CVector3fCFv -/* 8004CDA8 00049D08 FF E0 08 90 */ fmr f31, f1 -/* 8004CDAC 00049D0C C0 62 85 64 */ lfs f3, lbl_805AA284@sda21(r2) -/* 8004CDB0 00049D10 C0 81 00 08 */ lfs f4, 8(r1) -/* 8004CDB4 00049D14 7F 43 D3 78 */ mr r3, r26 -/* 8004CDB8 00049D18 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8004CDBC 00049D1C 7F 64 DB 78 */ mr r4, r27 -/* 8004CDC0 00049D20 EC A3 F8 24 */ fdivs f5, f3, f31 -/* 8004CDC4 00049D24 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8004CDC8 00049D28 7F 86 E3 78 */ mr r6, r28 -/* 8004CDCC 00049D2C 38 A1 00 08 */ addi r5, r1, 8 -/* 8004CDD0 00049D30 EC 64 01 72 */ fmuls f3, f4, f5 -/* 8004CDD4 00049D34 EC 42 01 72 */ fmuls f2, f2, f5 -/* 8004CDD8 00049D38 EC 00 01 72 */ fmuls f0, f0, f5 -/* 8004CDDC 00049D3C D0 61 00 08 */ stfs f3, 8(r1) -/* 8004CDE0 00049D40 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8004CDE4 00049D44 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8004CDE8 00049D48 48 13 7E 11 */ bl RayStaticIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8004CDEC 00049D4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004CDF0 00049D50 7C 7F 1B 78 */ mr r31, r3 -/* 8004CDF4 00049D54 41 82 00 28 */ beq lbl_8004CE1C -/* 8004CDF8 00049D58 FC 20 F8 90 */ fmr f1, f31 -/* 8004CDFC 00049D5C 7F 43 D3 78 */ mr r3, r26 -/* 8004CE00 00049D60 7F 64 DB 78 */ mr r4, r27 -/* 8004CE04 00049D64 7F 86 E3 78 */ mr r6, r28 -/* 8004CE08 00049D68 7F A7 EB 78 */ mr r7, r29 -/* 8004CE0C 00049D6C 7F C8 F3 78 */ mr r8, r30 -/* 8004CE10 00049D70 38 A1 00 08 */ addi r5, r1, 8 -/* 8004CE14 00049D74 48 13 7E FD */ bl "RayDynamicIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterQ24rstl49reserved_vector<9TUniqueId,1024>PC6CActorf" -/* 8004CE18 00049D78 7C 7F 1B 78 */ mr r31, r3 -lbl_8004CE1C: -/* 8004CE1C 00049D7C 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 8004CE20 00049D80 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8004CE24 00049D84 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8004CE28 00049D88 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8004CE2C 00049D8C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8004CE30 00049D90 7C 08 03 A6 */ mtlr r0 -/* 8004CE34 00049D94 38 21 00 40 */ addi r1, r1, 0x40 -/* 8004CE38 00049D98 4E 80 00 20 */ blr - -.global RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor -RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor: -/* 8004CE3C 00049D9C 94 21 F7 D0 */ stwu r1, -0x830(r1) -/* 8004CE40 00049DA0 7C 08 02 A6 */ mflr r0 -/* 8004CE44 00049DA4 90 01 08 34 */ stw r0, 0x834(r1) -/* 8004CE48 00049DA8 38 00 00 00 */ li r0, 0 -/* 8004CE4C 00049DAC BF 61 08 1C */ stmw r27, 0x81c(r1) -/* 8004CE50 00049DB0 7C 7B 1B 78 */ mr r27, r3 -/* 8004CE54 00049DB4 7C 9C 23 78 */ mr r28, r4 -/* 8004CE58 00049DB8 7C BD 2B 78 */ mr r29, r5 -/* 8004CE5C 00049DBC 7C DE 33 78 */ mr r30, r6 -/* 8004CE60 00049DC0 7C FF 3B 78 */ mr r31, r7 -/* 8004CE64 00049DC4 38 61 00 08 */ addi r3, r1, 8 -/* 8004CE68 00049DC8 C0 25 00 04 */ lfs f1, 4(r5) -/* 8004CE6C 00049DCC C0 04 00 04 */ lfs f0, 4(r4) -/* 8004CE70 00049DD0 C0 65 00 08 */ lfs f3, 8(r5) -/* 8004CE74 00049DD4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8004CE78 00049DD8 C0 44 00 08 */ lfs f2, 8(r4) -/* 8004CE7C 00049DDC C0 25 00 00 */ lfs f1, 0(r5) -/* 8004CE80 00049DE0 C0 04 00 00 */ lfs f0, 0(r4) -/* 8004CE84 00049DE4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8004CE88 00049DE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004CE8C 00049DEC EC 01 00 28 */ fsubs f0, f1, f0 -/* 8004CE90 00049DF0 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8004CE94 00049DF4 D0 01 00 08 */ stfs f0, 8(r1) -/* 8004CE98 00049DF8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8004CE9C 00049DFC 48 2C 7A 1D */ bl Magnitude__9CVector3fCFv -/* 8004CEA0 00049E00 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 8004CEA4 00049E04 7F 63 DB 78 */ mr r3, r27 -/* 8004CEA8 00049E08 C0 61 00 08 */ lfs f3, 8(r1) -/* 8004CEAC 00049E0C 7F 85 E3 78 */ mr r5, r28 -/* 8004CEB0 00049E10 EC 80 08 24 */ fdivs f4, f0, f1 -/* 8004CEB4 00049E14 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8004CEB8 00049E18 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8004CEBC 00049E1C 7F C7 F3 78 */ mr r7, r30 -/* 8004CEC0 00049E20 7F E8 FB 78 */ mr r8, r31 -/* 8004CEC4 00049E24 38 81 00 14 */ addi r4, r1, 0x14 -/* 8004CEC8 00049E28 EC 63 01 32 */ fmuls f3, f3, f4 -/* 8004CECC 00049E2C 38 C1 00 08 */ addi r6, r1, 8 -/* 8004CED0 00049E30 EC 42 01 32 */ fmuls f2, f2, f4 -/* 8004CED4 00049E34 EC 00 01 32 */ fmuls f0, f0, f4 -/* 8004CED8 00049E38 D0 61 00 08 */ stfs f3, 8(r1) -/* 8004CEDC 00049E3C D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8004CEE0 00049E40 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8004CEE4 00049E44 4B FF F7 F5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" -/* 8004CEE8 00049E48 7F 63 DB 78 */ mr r3, r27 -/* 8004CEEC 00049E4C 7F 84 E3 78 */ mr r4, r28 -/* 8004CEF0 00049E50 7F A5 EB 78 */ mr r5, r29 -/* 8004CEF4 00049E54 7F C6 F3 78 */ mr r6, r30 -/* 8004CEF8 00049E58 7F E8 FB 78 */ mr r8, r31 -/* 8004CEFC 00049E5C 38 E1 00 14 */ addi r7, r1, 0x14 -/* 8004CF00 00049E60 4B FF FE 31 */ bl "RayCollideWorldInternal__13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterRCQ24rstl49reserved_vector<9TUniqueId,1024>RC6CActor" -/* 8004CF04 00049E64 80 C1 00 14 */ lwz r6, 0x14(r1) -/* 8004CF08 00049E68 38 80 00 00 */ li r4, 0 -/* 8004CF0C 00049E6C 2C 06 00 00 */ cmpwi r6, 0 -/* 8004CF10 00049E70 40 81 00 40 */ ble lbl_8004CF50 -/* 8004CF14 00049E74 2C 06 00 08 */ cmpwi r6, 8 -/* 8004CF18 00049E78 38 A6 FF F8 */ addi r5, r6, -8 -/* 8004CF1C 00049E7C 40 81 00 20 */ ble lbl_8004CF3C -/* 8004CF20 00049E80 38 05 00 07 */ addi r0, r5, 7 -/* 8004CF24 00049E84 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004CF28 00049E88 7C 09 03 A6 */ mtctr r0 -/* 8004CF2C 00049E8C 2C 05 00 00 */ cmpwi r5, 0 -/* 8004CF30 00049E90 40 81 00 0C */ ble lbl_8004CF3C -lbl_8004CF34: -/* 8004CF34 00049E94 38 84 00 08 */ addi r4, r4, 8 -/* 8004CF38 00049E98 42 00 FF FC */ bdnz lbl_8004CF34 -lbl_8004CF3C: -/* 8004CF3C 00049E9C 7C 04 30 50 */ subf r0, r4, r6 -/* 8004CF40 00049EA0 7C 09 03 A6 */ mtctr r0 -/* 8004CF44 00049EA4 7C 04 30 00 */ cmpw r4, r6 -/* 8004CF48 00049EA8 40 80 00 08 */ bge lbl_8004CF50 -lbl_8004CF4C: -/* 8004CF4C 00049EAC 42 00 00 00 */ bdnz lbl_8004CF4C -lbl_8004CF50: -/* 8004CF50 00049EB0 38 00 00 00 */ li r0, 0 -/* 8004CF54 00049EB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004CF58 00049EB8 BB 61 08 1C */ lmw r27, 0x81c(r1) -/* 8004CF5C 00049EBC 80 01 08 34 */ lwz r0, 0x834(r1) -/* 8004CF60 00049EC0 7C 08 03 A6 */ mtlr r0 -/* 8004CF64 00049EC4 38 21 08 30 */ addi r1, r1, 0x830 -/* 8004CF68 00049EC8 4E 80 00 20 */ blr - -.global "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -"RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor": -/* 8004CF6C 00049ECC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004CF70 00049ED0 7C 08 02 A6 */ mflr r0 -/* 8004CF74 00049ED4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004CF78 00049ED8 7C C0 33 78 */ mr r0, r6 -/* 8004CF7C 00049EDC 7C E6 3B 78 */ mr r6, r7 -/* 8004CF80 00049EE0 7C 07 03 78 */ mr r7, r0 -/* 8004CF84 00049EE4 4B FF FD AD */ bl "RayCollideWorldInternal__13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterRCQ24rstl49reserved_vector<9TUniqueId,1024>RC6CActor" -/* 8004CF88 00049EE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004CF8C 00049EEC 7C 08 03 A6 */ mtlr r0 -/* 8004CF90 00049EF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004CF94 00049EF4 4E 80 00 20 */ blr - -.global RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter: -/* 8004CF98 00049EF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004CF9C 00049EFC 7C 08 02 A6 */ mflr r0 -/* 8004CFA0 00049F00 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004CFA4 00049F04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004CFA8 00049F08 7C 7F 1B 78 */ mr r31, r3 -/* 8004CFAC 00049F0C 48 13 78 5D */ bl RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8004CFB0 00049F10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004CFB4 00049F14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004CFB8 00049F18 7C 08 03 A6 */ mtlr r0 -/* 8004CFBC 00049F1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004CFC0 00049F20 4E 80 00 20 */ blr - -.global "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -"RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>": -/* 8004CFC4 00049F24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004CFC8 00049F28 7C 08 02 A6 */ mflr r0 -/* 8004CFCC 00049F2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004CFD0 00049F30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004CFD4 00049F34 7C 7F 1B 78 */ mr r31, r3 -/* 8004CFD8 00049F38 48 13 81 25 */ bl "RayWorldIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 8004CFDC 00049F3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004CFE0 00049F40 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004CFE4 00049F44 7C 08 03 A6 */ mtlr r0 -/* 8004CFE8 00049F48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004CFEC 00049F4C 4E 80 00 20 */ blr - -.global UpdateObjectInLists__13CStateManagerFR7CEntity -UpdateObjectInLists__13CStateManagerFR7CEntity: -/* 8004CFF0 00049F50 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8004CFF4 00049F54 7C 08 02 A6 */ mflr r0 -/* 8004CFF8 00049F58 90 01 00 34 */ stw r0, 0x34(r1) -/* 8004CFFC 00049F5C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8004D000 00049F60 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8004D004 00049F64 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8004D008 00049F68 7C 9D 23 78 */ mr r29, r4 -/* 8004D00C 00049F6C 93 81 00 20 */ stw r28, 0x20(r1) -/* 8004D010 00049F70 7C 7C 1B 78 */ mr r28, r3 -/* 8004D014 00049F74 3B FC 08 0C */ addi r31, r28, 0x80c -/* 8004D018 00049F78 7F FE FB 78 */ mr r30, r31 -/* 8004D01C 00049F7C 48 00 00 8C */ b lbl_8004D0A8 -lbl_8004D020: -/* 8004D020 00049F80 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8004D024 00049F84 38 81 00 1C */ addi r4, r1, 0x1c -/* 8004D028 00049F88 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8004D02C 00049F8C B0 01 00 18 */ sth r0, 0x18(r1) -/* 8004D030 00049F90 80 7E 00 04 */ lwz r3, 4(r30) -/* 8004D034 00049F94 4B FC 2D 19 */ bl GetValidObjectById__11CObjectListCF9TUniqueId -/* 8004D038 00049F98 28 03 00 00 */ cmplwi r3, 0 -/* 8004D03C 00049F9C 41 82 00 3C */ beq lbl_8004D078 -/* 8004D040 00049FA0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8004D044 00049FA4 7F A4 EB 78 */ mr r4, r29 -/* 8004D048 00049FA8 81 83 00 00 */ lwz r12, 0(r3) -/* 8004D04C 00049FAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8004D050 00049FB0 7D 89 03 A6 */ mtctr r12 -/* 8004D054 00049FB4 4E 80 04 21 */ bctrl -/* 8004D058 00049FB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004D05C 00049FBC 40 82 00 1C */ bne lbl_8004D078 -/* 8004D060 00049FC0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8004D064 00049FC4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8004D068 00049FC8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8004D06C 00049FCC B0 01 00 10 */ sth r0, 0x10(r1) -/* 8004D070 00049FD0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8004D074 00049FD4 4B FC 2E 31 */ bl RemoveObject__11CObjectListF9TUniqueId -lbl_8004D078: -/* 8004D078 00049FD8 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8004D07C 00049FDC 38 81 00 0C */ addi r4, r1, 0xc -/* 8004D080 00049FE0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004D084 00049FE4 B0 01 00 08 */ sth r0, 8(r1) -/* 8004D088 00049FE8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8004D08C 00049FEC 4B FC 2C C1 */ bl GetValidObjectById__11CObjectListCF9TUniqueId -/* 8004D090 00049FF0 28 03 00 00 */ cmplwi r3, 0 -/* 8004D094 00049FF4 40 82 00 10 */ bne lbl_8004D0A4 -/* 8004D098 00049FF8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8004D09C 00049FFC 7F A4 EB 78 */ mr r4, r29 -/* 8004D0A0 0004A000 4B FC 2E E5 */ bl AddObject__11CObjectListFR7CEntity -lbl_8004D0A4: -/* 8004D0A4 0004A004 3B DE 00 08 */ addi r30, r30, 8 -lbl_8004D0A8: -/* 8004D0A8 0004A008 80 1C 08 08 */ lwz r0, 0x808(r28) -/* 8004D0AC 0004A00C 54 00 18 38 */ slwi r0, r0, 3 -/* 8004D0B0 0004A010 7C 1F 02 14 */ add r0, r31, r0 -/* 8004D0B4 0004A014 7C 1E 00 40 */ cmplw r30, r0 -/* 8004D0B8 0004A018 40 82 FF 68 */ bne lbl_8004D020 -/* 8004D0BC 0004A01C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8004D0C0 0004A020 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8004D0C4 0004A024 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8004D0C8 0004A028 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8004D0CC 0004A02C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8004D0D0 0004A030 7C 08 03 A6 */ mtlr r0 -/* 8004D0D4 0004A034 38 21 00 30 */ addi r1, r1, 0x30 -/* 8004D0D8 0004A038 4E 80 00 20 */ blr - -.global AllocateUniqueId__13CStateManagerFv -AllocateUniqueId__13CStateManagerFv: -/* 8004D0DC 0004A03C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004D0E0 0004A040 7C 08 02 A6 */ mflr r0 -/* 8004D0E4 0004A044 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004D0E8 0004A048 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8004D0EC 0004A04C 7C 9B 23 78 */ mr r27, r4 -/* 8004D0F0 0004A050 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004D0F4 0004A054 7C 7E 1B 78 */ mr r30, r3 -/* 8004D0F8 0004A058 3B A4 CE E0 */ addi r29, r4, lbl_803CCEE0@l -/* 8004D0FC 0004A05C A3 9B 00 00 */ lhz r28, 0(r27) -lbl_8004D100: -/* 8004D100 0004A060 A3 FB 00 00 */ lhz r31, 0(r27) -/* 8004D104 0004A064 38 7F 00 01 */ addi r3, r31, 1 -/* 8004D108 0004A068 54 60 B0 12 */ slwi r0, r3, 0x16 -/* 8004D10C 0004A06C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8004D110 0004A070 7C 03 00 50 */ subf r0, r3, r0 -/* 8004D114 0004A074 54 00 50 3E */ rotlwi r0, r0, 0xa -/* 8004D118 0004A078 7C 00 1A 14 */ add r0, r0, r3 -/* 8004D11C 0004A07C B0 1B 00 00 */ sth r0, 0(r27) -/* 8004D120 0004A080 A0 1B 00 00 */ lhz r0, 0(r27) -/* 8004D124 0004A084 7C 00 E0 40 */ cmplw r0, r28 -/* 8004D128 0004A088 40 82 00 10 */ bne lbl_8004D138 -/* 8004D12C 0004A08C 38 7D 00 16 */ addi r3, r29, 0x16 -/* 8004D130 0004A090 4C C6 31 82 */ crclr 6 -/* 8004D134 0004A094 48 28 96 F9 */ bl rs_debugger_printf__FPCce -lbl_8004D138: -/* 8004D138 0004A098 80 7B 08 10 */ lwz r3, 0x810(r27) -/* 8004D13C 0004A09C 7F E4 FB 78 */ mr r4, r31 -/* 8004D140 0004A0A0 4B FC 2B 8D */ bl GetObjectByIndex__11CObjectListCFi -/* 8004D144 0004A0A4 28 03 00 00 */ cmplwi r3, 0 -/* 8004D148 0004A0A8 40 82 FF B8 */ bne lbl_8004D100 -/* 8004D14C 0004A0AC 57 E0 08 3C */ slwi r0, r31, 1 -/* 8004D150 0004A0B0 7C 9B 02 14 */ add r4, r27, r0 -/* 8004D154 0004A0B4 A0 64 00 08 */ lhz r3, 8(r4) -/* 8004D158 0004A0B8 38 03 00 01 */ addi r0, r3, 1 -/* 8004D15C 0004A0BC 54 00 06 BE */ clrlwi r0, r0, 0x1a -/* 8004D160 0004A0C0 B0 04 00 08 */ sth r0, 8(r4) -/* 8004D164 0004A0C4 A0 64 00 08 */ lhz r3, 8(r4) -/* 8004D168 0004A0C8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004D16C 0004A0CC 54 63 51 AA */ rlwinm r3, r3, 0xa, 6, 0x15 -/* 8004D170 0004A0D0 7F E3 1B 78 */ or r3, r31, r3 -/* 8004D174 0004A0D4 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8004D178 0004A0D8 7C 03 00 40 */ cmplw r3, r0 -/* 8004D17C 0004A0DC 40 82 00 0C */ bne lbl_8004D188 -/* 8004D180 0004A0E0 38 00 00 00 */ li r0, 0 -/* 8004D184 0004A0E4 B0 04 00 08 */ sth r0, 8(r4) -lbl_8004D188: -/* 8004D188 0004A0E8 A0 04 00 08 */ lhz r0, 8(r4) -/* 8004D18C 0004A0EC 54 00 51 AA */ rlwinm r0, r0, 0xa, 6, 0x15 -/* 8004D190 0004A0F0 7F E0 03 78 */ or r0, r31, r0 -/* 8004D194 0004A0F4 B0 1E 00 00 */ sth r0, 0(r30) -/* 8004D198 0004A0F8 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8004D19C 0004A0FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004D1A0 0004A100 7C 08 03 A6 */ mtlr r0 -/* 8004D1A4 0004A104 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004D1A8 0004A108 4E 80 00 20 */ blr - -.global __dt__13CStateManagerFv -__dt__13CStateManagerFv: -/* 8004D1AC 0004A10C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8004D1B0 0004A110 7C 08 02 A6 */ mflr r0 -/* 8004D1B4 0004A114 90 01 00 54 */ stw r0, 0x54(r1) -/* 8004D1B8 0004A118 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8004D1BC 0004A11C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8004D1C0 0004A120 7C 9E 23 78 */ mr r30, r4 -/* 8004D1C4 0004A124 41 82 04 D0 */ beq lbl_8004D694 -/* 8004D1C8 0004A128 80 1D 08 08 */ lwz r0, 0x808(r29) -/* 8004D1CC 0004A12C 1C 60 20 0C */ mulli r3, r0, 0x200c -/* 8004D1D0 0004A130 38 03 01 1C */ addi r0, r3, 0x11c -/* 8004D1D4 0004A134 7C 60 00 D0 */ neg r3, r0 -/* 8004D1D8 0004A138 48 2C 86 E9 */ bl OffsetFakeStatics__7CMemoryFi -/* 8004D1DC 0004A13C 80 7D 08 8C */ lwz r3, 0x88c(r29) -/* 8004D1E0 0004A140 48 31 CB 6D */ bl HardStopAll__16CRumbleGeneratorFv -/* 8004D1E4 0004A144 80 7D 08 80 */ lwz r3, 0x880(r29) -/* 8004D1E8 0004A148 48 1C 54 DD */ bl sub_802126c4 -/* 8004D1EC 0004A14C 38 1D 08 FC */ addi r0, r29, 0x8fc -/* 8004D1F0 0004A150 3B FD 08 0C */ addi r31, r29, 0x80c -/* 8004D1F4 0004A154 90 1D 09 00 */ stw r0, 0x900(r29) -/* 8004D1F8 0004A158 7F A3 EB 78 */ mr r3, r29 -/* 8004D1FC 0004A15C 83 7D 08 10 */ lwz r27, 0x810(r29) -/* 8004D200 0004A160 4B FF EF 95 */ bl BringOutYourDead__13CStateManagerFv -/* 8004D204 0004A164 3B 40 00 00 */ li r26, 0 -lbl_8004D208: -/* 8004D208 0004A168 7F 63 DB 78 */ mr r3, r27 -/* 8004D20C 0004A16C 7F 44 D3 78 */ mr r4, r26 -/* 8004D210 0004A170 4B FC 2B 05 */ bl __vc__11CObjectListFi -/* 8004D214 0004A174 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8004D218 0004A178 41 82 00 74 */ beq lbl_8004D28C -/* 8004D21C 0004A17C 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 8004D220 0004A180 A0 BC 00 08 */ lhz r5, 8(r28) -/* 8004D224 0004A184 A0 04 00 08 */ lhz r0, 8(r4) -/* 8004D228 0004A188 7C 05 00 40 */ cmplw r5, r0 -/* 8004D22C 0004A18C 41 82 00 60 */ beq lbl_8004D28C -/* 8004D230 0004A190 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004D234 0004A194 7F A6 EB 78 */ mr r6, r29 -/* 8004D238 0004A198 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8004D23C 0004A19C 38 80 00 22 */ li r4, 0x22 -/* 8004D240 0004A1A0 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8004D244 0004A1A4 81 83 00 00 */ lwz r12, 0(r3) -/* 8004D248 0004A1A8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8004D24C 0004A1AC 7D 89 03 A6 */ mtctr r12 -/* 8004D250 0004A1B0 4E 80 04 21 */ bctrl -/* 8004D254 0004A1B4 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8004D258 0004A1B8 7F A3 EB 78 */ mr r3, r29 -/* 8004D25C 0004A1BC 38 81 00 18 */ addi r4, r1, 0x18 -/* 8004D260 0004A1C0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8004D264 0004A1C4 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8004D268 0004A1C8 4B FF EA 79 */ bl RemoveObject__13CStateManagerF9TUniqueId -/* 8004D26C 0004A1CC 28 1C 00 00 */ cmplwi r28, 0 -/* 8004D270 0004A1D0 41 82 00 1C */ beq lbl_8004D28C -/* 8004D274 0004A1D4 7F 83 E3 78 */ mr r3, r28 -/* 8004D278 0004A1D8 38 80 00 01 */ li r4, 1 -/* 8004D27C 0004A1DC 81 9C 00 00 */ lwz r12, 0(r28) -/* 8004D280 0004A1E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8004D284 0004A1E4 7D 89 03 A6 */ mtctr r12 -/* 8004D288 0004A1E8 4E 80 04 21 */ bctrl -lbl_8004D28C: -/* 8004D28C 0004A1EC 3B 5A 00 01 */ addi r26, r26, 1 -/* 8004D290 0004A1F0 2C 1A 04 00 */ cmpwi r26, 0x400 -/* 8004D294 0004A1F4 40 82 FF 74 */ bne lbl_8004D208 -/* 8004D298 0004A1F8 7F A3 EB 78 */ mr r3, r29 -/* 8004D29C 0004A1FC 4B FF EE F9 */ bl BringOutYourDead__13CStateManagerFv -/* 8004D2A0 0004A200 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004D2A4 0004A204 7F A6 EB 78 */ mr r6, r29 -/* 8004D2A8 0004A208 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8004D2AC 0004A20C 38 80 00 22 */ li r4, 0x22 -/* 8004D2B0 0004A210 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8004D2B4 0004A214 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8004D2B8 0004A218 81 83 00 00 */ lwz r12, 0(r3) -/* 8004D2BC 0004A21C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8004D2C0 0004A220 7D 89 03 A6 */ mtctr r12 -/* 8004D2C4 0004A224 4E 80 04 21 */ bctrl -/* 8004D2C8 0004A228 80 BD 08 4C */ lwz r5, 0x84c(r29) -/* 8004D2CC 0004A22C 7F A3 EB 78 */ mr r3, r29 -/* 8004D2D0 0004A230 38 81 00 0C */ addi r4, r1, 0xc -/* 8004D2D4 0004A234 A0 05 00 08 */ lhz r0, 8(r5) -/* 8004D2D8 0004A238 B0 01 00 08 */ sth r0, 8(r1) -/* 8004D2DC 0004A23C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8004D2E0 0004A240 4B FF EA 01 */ bl RemoveObject__13CStateManagerF9TUniqueId -/* 8004D2E4 0004A244 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8004D2E8 0004A248 28 03 00 00 */ cmplwi r3, 0 -/* 8004D2EC 0004A24C 41 82 00 18 */ beq lbl_8004D304 -/* 8004D2F0 0004A250 81 83 00 00 */ lwz r12, 0(r3) -/* 8004D2F4 0004A254 38 80 00 01 */ li r4, 1 -/* 8004D2F8 0004A258 81 8C 00 08 */ lwz r12, 8(r12) -/* 8004D2FC 0004A25C 7D 89 03 A6 */ mtctr r12 -/* 8004D300 0004A260 4E 80 04 21 */ bctrl -lbl_8004D304: -/* 8004D304 0004A264 38 00 00 00 */ li r0, 0 -/* 8004D308 0004A268 90 1D 08 4C */ stw r0, 0x84c(r29) -/* 8004D30C 0004A26C 48 28 15 8D */ bl Uninitialize__19CCollisionPrimitiveFv -/* 8004D310 0004A270 38 60 00 00 */ li r3, 0 -/* 8004D314 0004A274 38 80 00 00 */ li r4, 0 -/* 8004D318 0004A278 48 2C 85 DD */ bl SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv -/* 8004D31C 0004A27C 34 1D 0F 70 */ addic. r0, r29, 0xf70 -/* 8004D320 0004A280 41 82 00 0C */ beq lbl_8004D32C -/* 8004D324 0004A284 80 7D 0F 70 */ lwz r3, 0xf70(r29) -/* 8004D328 0004A288 48 2C 86 09 */ bl Free__7CMemoryFPCv -lbl_8004D32C: -/* 8004D32C 0004A28C 38 7D 0F 54 */ addi r3, r29, 0xf54 -/* 8004D330 0004A290 38 80 FF FF */ li r4, -1 -/* 8004D334 0004A294 48 00 32 01 */ bl sub_80050534 -/* 8004D338 0004A298 38 7D 0F 3C */ addi r3, r29, 0xf3c -/* 8004D33C 0004A29C 38 80 FF FF */ li r4, -1 -/* 8004D340 0004A2A0 48 00 31 F5 */ bl sub_80050534 -/* 8004D344 0004A2A4 38 7D 0D 14 */ addi r3, r29, 0xd14 -/* 8004D348 0004A2A8 38 80 FF FF */ li r4, -1 -/* 8004D34C 0004A2AC 48 00 0C F9 */ bl "__dt__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv" -/* 8004D350 0004A2B0 34 1D 0B 84 */ addic. r0, r29, 0xb84 -/* 8004D354 0004A2B4 41 82 00 6C */ beq lbl_8004D3C0 -/* 8004D358 0004A2B8 3B 5D 0B 88 */ addi r26, r29, 0xb88 -/* 8004D35C 0004A2BC 3B 80 00 00 */ li r28, 0 -/* 8004D360 0004A2C0 48 00 00 4C */ b lbl_8004D3AC -lbl_8004D364: -/* 8004D364 0004A2C4 28 1A 00 00 */ cmplwi r26, 0 -/* 8004D368 0004A2C8 41 82 00 3C */ beq lbl_8004D3A4 -/* 8004D36C 0004A2CC 34 1A 00 24 */ addic. r0, r26, 0x24 -/* 8004D370 0004A2D0 41 82 00 34 */ beq lbl_8004D3A4 -/* 8004D374 0004A2D4 88 1A 00 24 */ lbz r0, 0x24(r26) -/* 8004D378 0004A2D8 28 00 00 00 */ cmplwi r0, 0 -/* 8004D37C 0004A2DC 41 82 00 28 */ beq lbl_8004D3A4 -/* 8004D380 0004A2E0 83 7A 00 28 */ lwz r27, 0x28(r26) -/* 8004D384 0004A2E4 28 1B 00 00 */ cmplwi r27, 0 -/* 8004D388 0004A2E8 41 82 00 1C */ beq lbl_8004D3A4 -/* 8004D38C 0004A2EC 41 82 00 10 */ beq lbl_8004D39C -/* 8004D390 0004A2F0 7F 63 DB 78 */ mr r3, r27 -/* 8004D394 0004A2F4 38 80 00 00 */ li r4, 0 -/* 8004D398 0004A2F8 48 2F 3A A9 */ bl __dt__6CTokenFv -lbl_8004D39C: -/* 8004D39C 0004A2FC 7F 63 DB 78 */ mr r3, r27 -/* 8004D3A0 0004A300 48 2C 85 91 */ bl Free__7CMemoryFPCv -lbl_8004D3A4: -/* 8004D3A4 0004A304 3B 5A 00 2C */ addi r26, r26, 0x2c -/* 8004D3A8 0004A308 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8004D3AC: -/* 8004D3AC 0004A30C 80 1D 0B 84 */ lwz r0, 0xb84(r29) -/* 8004D3B0 0004A310 7C 1C 00 00 */ cmpw r28, r0 -/* 8004D3B4 0004A314 41 80 FF B0 */ blt lbl_8004D364 -/* 8004D3B8 0004A318 38 00 00 00 */ li r0, 0 -/* 8004D3BC 0004A31C 90 1D 0B 84 */ stw r0, 0xb84(r29) -lbl_8004D3C0: -/* 8004D3C0 0004A320 34 1D 0B 40 */ addic. r0, r29, 0xb40 -/* 8004D3C4 0004A324 41 82 00 34 */ beq lbl_8004D3F8 -/* 8004D3C8 0004A328 34 1D 0B 40 */ addic. r0, r29, 0xb40 -/* 8004D3CC 0004A32C 41 82 00 2C */ beq lbl_8004D3F8 -/* 8004D3D0 0004A330 80 9D 0B 50 */ lwz r4, 0xb50(r29) -/* 8004D3D4 0004A334 28 04 00 00 */ cmplwi r4, 0 -/* 8004D3D8 0004A338 41 82 00 0C */ beq lbl_8004D3E4 -/* 8004D3DC 0004A33C 38 7D 0B 40 */ addi r3, r29, 0xb40 -/* 8004D3E0 0004A340 48 00 21 DD */ bl sub_8004f5bc -lbl_8004D3E4: -/* 8004D3E4 0004A344 38 00 00 00 */ li r0, 0 -/* 8004D3E8 0004A348 90 1D 0B 50 */ stw r0, 0xb50(r29) -/* 8004D3EC 0004A34C 90 1D 0B 48 */ stw r0, 0xb48(r29) -/* 8004D3F0 0004A350 90 1D 0B 4C */ stw r0, 0xb4c(r29) -/* 8004D3F4 0004A354 90 1D 0B 44 */ stw r0, 0xb44(r29) -lbl_8004D3F8: -/* 8004D3F8 0004A358 34 1D 09 08 */ addic. r0, r29, 0x908 -/* 8004D3FC 0004A35C 41 82 00 58 */ beq lbl_8004D454 -/* 8004D400 0004A360 80 BD 09 08 */ lwz r5, 0x908(r29) -/* 8004D404 0004A364 38 60 00 00 */ li r3, 0 -/* 8004D408 0004A368 2C 05 00 00 */ cmpwi r5, 0 -/* 8004D40C 0004A36C 40 81 00 40 */ ble lbl_8004D44C -/* 8004D410 0004A370 2C 05 00 08 */ cmpwi r5, 8 -/* 8004D414 0004A374 38 85 FF F8 */ addi r4, r5, -8 -/* 8004D418 0004A378 40 81 00 20 */ ble lbl_8004D438 -/* 8004D41C 0004A37C 38 04 00 07 */ addi r0, r4, 7 -/* 8004D420 0004A380 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004D424 0004A384 7C 09 03 A6 */ mtctr r0 -/* 8004D428 0004A388 2C 04 00 00 */ cmpwi r4, 0 -/* 8004D42C 0004A38C 40 81 00 0C */ ble lbl_8004D438 -lbl_8004D430: -/* 8004D430 0004A390 38 63 00 08 */ addi r3, r3, 8 -/* 8004D434 0004A394 42 00 FF FC */ bdnz lbl_8004D430 -lbl_8004D438: -/* 8004D438 0004A398 7C 03 28 50 */ subf r0, r3, r5 -/* 8004D43C 0004A39C 7C 09 03 A6 */ mtctr r0 -/* 8004D440 0004A3A0 7C 03 28 00 */ cmpw r3, r5 -/* 8004D444 0004A3A4 40 80 00 08 */ bge lbl_8004D44C -lbl_8004D448: -/* 8004D448 0004A3A8 42 00 00 00 */ bdnz lbl_8004D448 -lbl_8004D44C: -/* 8004D44C 0004A3AC 38 00 00 00 */ li r0, 0 -/* 8004D450 0004A3B0 90 1D 09 08 */ stw r0, 0x908(r29) -lbl_8004D454: -/* 8004D454 0004A3B4 34 1D 08 F0 */ addic. r0, r29, 0x8f0 -/* 8004D458 0004A3B8 41 82 00 18 */ beq lbl_8004D470 -/* 8004D45C 0004A3BC 34 1D 08 F0 */ addic. r0, r29, 0x8f0 -/* 8004D460 0004A3C0 41 82 00 10 */ beq lbl_8004D470 -/* 8004D464 0004A3C4 38 7D 08 F0 */ addi r3, r29, 0x8f0 -/* 8004D468 0004A3C8 38 80 00 00 */ li r4, 0 -/* 8004D46C 0004A3CC 48 2F 39 D5 */ bl __dt__6CTokenFv -lbl_8004D470: -/* 8004D470 0004A3D0 34 1D 08 E0 */ addic. r0, r29, 0x8e0 -/* 8004D474 0004A3D4 41 82 00 44 */ beq lbl_8004D4B8 -/* 8004D478 0004A3D8 80 1D 08 E4 */ lwz r0, 0x8e4(r29) -/* 8004D47C 0004A3DC 80 7D 08 EC */ lwz r3, 0x8ec(r29) -/* 8004D480 0004A3E0 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 8004D484 0004A3E4 90 61 00 24 */ stw r3, 0x24(r1) -/* 8004D488 0004A3E8 7C 64 1B 78 */ mr r4, r3 -/* 8004D48C 0004A3EC 7C 03 02 14 */ add r0, r3, r0 -/* 8004D490 0004A3F0 90 61 00 20 */ stw r3, 0x20(r1) -/* 8004D494 0004A3F4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8004D498 0004A3F8 90 01 00 28 */ stw r0, 0x28(r1) -/* 8004D49C 0004A3FC 48 00 00 08 */ b lbl_8004D4A4 -lbl_8004D4A0: -/* 8004D4A0 0004A400 38 84 00 50 */ addi r4, r4, 0x50 -lbl_8004D4A4: -/* 8004D4A4 0004A404 7C 04 00 40 */ cmplw r4, r0 -/* 8004D4A8 0004A408 40 82 FF F8 */ bne lbl_8004D4A0 -/* 8004D4AC 0004A40C 28 03 00 00 */ cmplwi r3, 0 -/* 8004D4B0 0004A410 41 82 00 08 */ beq lbl_8004D4B8 -/* 8004D4B4 0004A414 48 2C 84 7D */ bl Free__7CMemoryFPCv -lbl_8004D4B8: -/* 8004D4B8 0004A418 34 1D 08 C8 */ addic. r0, r29, 0x8c8 -/* 8004D4BC 0004A41C 41 82 00 14 */ beq lbl_8004D4D0 -/* 8004D4C0 0004A420 34 1D 08 C8 */ addic. r0, r29, 0x8c8 -/* 8004D4C4 0004A424 41 82 00 0C */ beq lbl_8004D4D0 -/* 8004D4C8 0004A428 38 7D 08 C8 */ addi r3, r29, 0x8c8 -/* 8004D4CC 0004A42C 4B FB B9 01 */ bl sub_80008dcc -lbl_8004D4D0: -/* 8004D4D0 0004A430 34 1D 08 C4 */ addic. r0, r29, 0x8c4 -/* 8004D4D4 0004A434 41 82 00 14 */ beq lbl_8004D4E8 -/* 8004D4D8 0004A438 34 1D 08 C4 */ addic. r0, r29, 0x8c4 -/* 8004D4DC 0004A43C 41 82 00 0C */ beq lbl_8004D4E8 -/* 8004D4E0 0004A440 38 7D 08 C4 */ addi r3, r29, 0x8c4 -/* 8004D4E4 0004A444 4B FB B1 01 */ bl sub_800085e4 -lbl_8004D4E8: -/* 8004D4E8 0004A448 34 1D 08 C0 */ addic. r0, r29, 0x8c0 -/* 8004D4EC 0004A44C 41 82 00 14 */ beq lbl_8004D500 -/* 8004D4F0 0004A450 34 1D 08 C0 */ addic. r0, r29, 0x8c0 -/* 8004D4F4 0004A454 41 82 00 0C */ beq lbl_8004D500 -/* 8004D4F8 0004A458 38 7D 08 C0 */ addi r3, r29, 0x8c0 -/* 8004D4FC 0004A45C 4B FB B7 41 */ bl sub_80008c3c -lbl_8004D500: -/* 8004D500 0004A460 34 1D 08 BC */ addic. r0, r29, 0x8bc -/* 8004D504 0004A464 41 82 00 14 */ beq lbl_8004D518 -/* 8004D508 0004A468 34 1D 08 BC */ addic. r0, r29, 0x8bc -/* 8004D50C 0004A46C 41 82 00 0C */ beq lbl_8004D518 -/* 8004D510 0004A470 38 7D 08 BC */ addi r3, r29, 0x8bc -/* 8004D514 0004A474 4B FB B1 2D */ bl __dt__11CWorldStateFv -lbl_8004D518: -/* 8004D518 0004A478 34 1D 08 B8 */ addic. r0, r29, 0x8b8 -/* 8004D51C 0004A47C 41 82 00 14 */ beq lbl_8004D530 -/* 8004D520 0004A480 34 1D 08 B8 */ addic. r0, r29, 0x8b8 -/* 8004D524 0004A484 41 82 00 0C */ beq lbl_8004D530 -/* 8004D528 0004A488 38 7D 08 B8 */ addi r3, r29, 0x8b8 -/* 8004D52C 0004A48C 4B FB B9 E1 */ bl sub_80008f0c -lbl_8004D530: -/* 8004D530 0004A490 34 1D 08 A4 */ addic. r0, r29, 0x8a4 -/* 8004D534 0004A494 41 82 00 34 */ beq lbl_8004D568 -/* 8004D538 0004A498 34 1D 08 A4 */ addic. r0, r29, 0x8a4 -/* 8004D53C 0004A49C 41 82 00 2C */ beq lbl_8004D568 -/* 8004D540 0004A4A0 80 9D 08 B4 */ lwz r4, 0x8b4(r29) -/* 8004D544 0004A4A4 28 04 00 00 */ cmplwi r4, 0 -/* 8004D548 0004A4A8 41 82 00 0C */ beq lbl_8004D554 -/* 8004D54C 0004A4AC 38 7D 08 A4 */ addi r3, r29, 0x8a4 -/* 8004D550 0004A4B0 48 00 1F 9D */ bl sub_8004f4ec -lbl_8004D554: -/* 8004D554 0004A4B4 38 00 00 00 */ li r0, 0 -/* 8004D558 0004A4B8 90 1D 08 B4 */ stw r0, 0x8b4(r29) -/* 8004D55C 0004A4BC 90 1D 08 AC */ stw r0, 0x8ac(r29) -/* 8004D560 0004A4C0 90 1D 08 B0 */ stw r0, 0x8b0(r29) -/* 8004D564 0004A4C4 90 1D 08 A8 */ stw r0, 0x8a8(r29) -lbl_8004D568: -/* 8004D568 0004A4C8 34 1D 08 90 */ addic. r0, r29, 0x890 -/* 8004D56C 0004A4CC 41 82 00 34 */ beq lbl_8004D5A0 -/* 8004D570 0004A4D0 34 1D 08 90 */ addic. r0, r29, 0x890 -/* 8004D574 0004A4D4 41 82 00 2C */ beq lbl_8004D5A0 -/* 8004D578 0004A4D8 80 9D 08 A0 */ lwz r4, 0x8a0(r29) -/* 8004D57C 0004A4DC 28 04 00 00 */ cmplwi r4, 0 -/* 8004D580 0004A4E0 41 82 00 0C */ beq lbl_8004D58C -/* 8004D584 0004A4E4 38 7D 08 90 */ addi r3, r29, 0x890 -/* 8004D588 0004A4E8 48 00 1F CD */ bl sub_8004f554 -lbl_8004D58C: -/* 8004D58C 0004A4EC 38 00 00 00 */ li r0, 0 -/* 8004D590 0004A4F0 90 1D 08 A0 */ stw r0, 0x8a0(r29) -/* 8004D594 0004A4F4 90 1D 08 98 */ stw r0, 0x898(r29) -/* 8004D598 0004A4F8 90 1D 08 9C */ stw r0, 0x89c(r29) -/* 8004D59C 0004A4FC 90 1D 08 94 */ stw r0, 0x894(r29) -lbl_8004D5A0: -/* 8004D5A0 0004A500 38 7D 08 6C */ addi r3, r29, 0x86c -/* 8004D5A4 0004A504 38 80 FF FF */ li r4, -1 -/* 8004D5A8 0004A508 48 00 01 05 */ bl sub_8004d6ac -/* 8004D5AC 0004A50C 38 7D 08 54 */ addi r3, r29, 0x854 -/* 8004D5B0 0004A510 38 80 FF FF */ li r4, -1 -/* 8004D5B4 0004A514 48 00 30 D1 */ bl sub_80050684 -/* 8004D5B8 0004A518 34 1D 08 50 */ addic. r0, r29, 0x850 -/* 8004D5BC 0004A51C 41 82 00 24 */ beq lbl_8004D5E0 -/* 8004D5C0 0004A520 80 7D 08 50 */ lwz r3, 0x850(r29) -/* 8004D5C4 0004A524 28 03 00 00 */ cmplwi r3, 0 -/* 8004D5C8 0004A528 41 82 00 18 */ beq lbl_8004D5E0 -/* 8004D5CC 0004A52C 81 83 00 00 */ lwz r12, 0(r3) -/* 8004D5D0 0004A530 38 80 00 01 */ li r4, 1 -/* 8004D5D4 0004A534 81 8C 00 08 */ lwz r12, 8(r12) -/* 8004D5D8 0004A538 7D 89 03 A6 */ mtctr r12 -/* 8004D5DC 0004A53C 4E 80 04 21 */ bctrl -lbl_8004D5E0: -/* 8004D5E0 0004A540 34 1D 08 08 */ addic. r0, r29, 0x808 -/* 8004D5E4 0004A544 41 82 00 44 */ beq lbl_8004D628 -/* 8004D5E8 0004A548 3B 80 00 00 */ li r28, 0 -/* 8004D5EC 0004A54C 48 00 00 28 */ b lbl_8004D614 -lbl_8004D5F0: -/* 8004D5F0 0004A550 28 1F 00 00 */ cmplwi r31, 0 -/* 8004D5F4 0004A554 41 82 00 18 */ beq lbl_8004D60C -/* 8004D5F8 0004A558 88 1F 00 00 */ lbz r0, 0(r31) -/* 8004D5FC 0004A55C 28 00 00 00 */ cmplwi r0, 0 -/* 8004D600 0004A560 41 82 00 0C */ beq lbl_8004D60C -/* 8004D604 0004A564 80 7F 00 04 */ lwz r3, 4(r31) -/* 8004D608 0004A568 48 2C 83 29 */ bl Free__7CMemoryFPCv -lbl_8004D60C: -/* 8004D60C 0004A56C 3B FF 00 08 */ addi r31, r31, 8 -/* 8004D610 0004A570 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8004D614: -/* 8004D614 0004A574 80 1D 08 08 */ lwz r0, 0x808(r29) -/* 8004D618 0004A578 7C 1C 00 00 */ cmpw r28, r0 -/* 8004D61C 0004A57C 41 80 FF D4 */ blt lbl_8004D5F0 -/* 8004D620 0004A580 38 00 00 00 */ li r0, 0 -/* 8004D624 0004A584 90 1D 08 08 */ stw r0, 0x808(r29) -lbl_8004D628: -/* 8004D628 0004A588 34 1D 00 04 */ addic. r0, r29, 4 -/* 8004D62C 0004A58C 41 82 00 58 */ beq lbl_8004D684 -/* 8004D630 0004A590 80 BD 00 04 */ lwz r5, 4(r29) -/* 8004D634 0004A594 38 60 00 00 */ li r3, 0 -/* 8004D638 0004A598 2C 05 00 00 */ cmpwi r5, 0 -/* 8004D63C 0004A59C 40 81 00 40 */ ble lbl_8004D67C -/* 8004D640 0004A5A0 2C 05 00 08 */ cmpwi r5, 8 -/* 8004D644 0004A5A4 38 85 FF F8 */ addi r4, r5, -8 -/* 8004D648 0004A5A8 40 81 00 20 */ ble lbl_8004D668 -/* 8004D64C 0004A5AC 38 04 00 07 */ addi r0, r4, 7 -/* 8004D650 0004A5B0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004D654 0004A5B4 7C 09 03 A6 */ mtctr r0 -/* 8004D658 0004A5B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8004D65C 0004A5BC 40 81 00 0C */ ble lbl_8004D668 -lbl_8004D660: -/* 8004D660 0004A5C0 38 63 00 08 */ addi r3, r3, 8 -/* 8004D664 0004A5C4 42 00 FF FC */ bdnz lbl_8004D660 -lbl_8004D668: -/* 8004D668 0004A5C8 7C 03 28 50 */ subf r0, r3, r5 -/* 8004D66C 0004A5CC 7C 09 03 A6 */ mtctr r0 -/* 8004D670 0004A5D0 7C 03 28 00 */ cmpw r3, r5 -/* 8004D674 0004A5D4 40 80 00 08 */ bge lbl_8004D67C -lbl_8004D678: -/* 8004D678 0004A5D8 42 00 00 00 */ bdnz lbl_8004D678 -lbl_8004D67C: -/* 8004D67C 0004A5DC 38 00 00 00 */ li r0, 0 -/* 8004D680 0004A5E0 90 1D 00 04 */ stw r0, 4(r29) -lbl_8004D684: -/* 8004D684 0004A5E4 7F C0 07 35 */ extsh. r0, r30 -/* 8004D688 0004A5E8 40 81 00 0C */ ble lbl_8004D694 -/* 8004D68C 0004A5EC 7F A3 EB 78 */ mr r3, r29 -/* 8004D690 0004A5F0 48 00 20 39 */ bl "__dl__27TOneStatic<13CStateManager>FPv" -lbl_8004D694: -/* 8004D694 0004A5F4 7F A3 EB 78 */ mr r3, r29 -/* 8004D698 0004A5F8 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8004D69C 0004A5FC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8004D6A0 0004A600 7C 08 03 A6 */ mtlr r0 -/* 8004D6A4 0004A604 38 21 00 50 */ addi r1, r1, 0x50 -/* 8004D6A8 0004A608 4E 80 00 20 */ blr - -.global sub_8004d6ac -sub_8004d6ac: -/* 8004D6AC 0004A60C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004D6B0 0004A610 7C 08 02 A6 */ mflr r0 -/* 8004D6B4 0004A614 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004D6B8 0004A618 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004D6BC 0004A61C 7C 9F 23 78 */ mr r31, r4 -/* 8004D6C0 0004A620 93 C1 00 08 */ stw r30, 8(r1) -/* 8004D6C4 0004A624 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8004D6C8 0004A628 41 82 00 20 */ beq lbl_8004D6E8 -/* 8004D6CC 0004A62C 80 7E 00 00 */ lwz r3, 0(r30) -/* 8004D6D0 0004A630 38 80 00 01 */ li r4, 1 -/* 8004D6D4 0004A634 48 00 00 31 */ bl __dt__22CStateManagerContainerFv -/* 8004D6D8 0004A638 7F E0 07 35 */ extsh. r0, r31 -/* 8004D6DC 0004A63C 40 81 00 0C */ ble lbl_8004D6E8 -/* 8004D6E0 0004A640 7F C3 F3 78 */ mr r3, r30 -/* 8004D6E4 0004A644 48 2C 82 4D */ bl Free__7CMemoryFPCv -lbl_8004D6E8: -/* 8004D6E8 0004A648 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004D6EC 0004A64C 7F C3 F3 78 */ mr r3, r30 -/* 8004D6F0 0004A650 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004D6F4 0004A654 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004D6F8 0004A658 7C 08 03 A6 */ mtlr r0 -/* 8004D6FC 0004A65C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004D700 0004A660 4E 80 00 20 */ blr - -.global __dt__22CStateManagerContainerFv -__dt__22CStateManagerContainerFv: -/* 8004D704 0004A664 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004D708 0004A668 7C 08 02 A6 */ mflr r0 -/* 8004D70C 0004A66C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004D710 0004A670 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004D714 0004A674 7C 9F 23 78 */ mr r31, r4 -/* 8004D718 0004A678 93 C1 00 08 */ stw r30, 8(r1) -/* 8004D71C 0004A67C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8004D720 0004A680 41 82 01 D4 */ beq lbl_8004D8F4 -/* 8004D724 0004A684 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D728 0004A688 34 03 F3 9C */ addic. r0, r3, -3172 -/* 8004D72C 0004A68C 41 82 00 5C */ beq lbl_8004D788 -/* 8004D730 0004A690 80 A3 F3 9C */ lwz r5, -0xc64(r3) -/* 8004D734 0004A694 38 60 00 00 */ li r3, 0 -/* 8004D738 0004A698 2C 05 00 00 */ cmpwi r5, 0 -/* 8004D73C 0004A69C 40 81 00 40 */ ble lbl_8004D77C -/* 8004D740 0004A6A0 2C 05 00 08 */ cmpwi r5, 8 -/* 8004D744 0004A6A4 38 85 FF F8 */ addi r4, r5, -8 -/* 8004D748 0004A6A8 40 81 00 20 */ ble lbl_8004D768 -/* 8004D74C 0004A6AC 38 04 00 07 */ addi r0, r4, 7 -/* 8004D750 0004A6B0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004D754 0004A6B4 7C 09 03 A6 */ mtctr r0 -/* 8004D758 0004A6B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8004D75C 0004A6BC 40 81 00 0C */ ble lbl_8004D768 -lbl_8004D760: -/* 8004D760 0004A6C0 38 63 00 08 */ addi r3, r3, 8 -/* 8004D764 0004A6C4 42 00 FF FC */ bdnz lbl_8004D760 -lbl_8004D768: -/* 8004D768 0004A6C8 7C 03 28 50 */ subf r0, r3, r5 -/* 8004D76C 0004A6CC 7C 09 03 A6 */ mtctr r0 -/* 8004D770 0004A6D0 7C 03 28 00 */ cmpw r3, r5 -/* 8004D774 0004A6D4 40 80 00 08 */ bge lbl_8004D77C -lbl_8004D778: -/* 8004D778 0004A6D8 42 00 00 00 */ bdnz lbl_8004D778 -lbl_8004D77C: -/* 8004D77C 0004A6DC 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D780 0004A6E0 38 00 00 00 */ li r0, 0 -/* 8004D784 0004A6E4 90 03 F3 9C */ stw r0, -0xc64(r3) -lbl_8004D788: -/* 8004D788 0004A6E8 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D78C 0004A6EC 34 03 F3 70 */ addic. r0, r3, -3216 -/* 8004D790 0004A6F0 41 82 00 5C */ beq lbl_8004D7EC -/* 8004D794 0004A6F4 80 A3 F3 70 */ lwz r5, -0xc90(r3) -/* 8004D798 0004A6F8 38 60 00 00 */ li r3, 0 -/* 8004D79C 0004A6FC 2C 05 00 00 */ cmpwi r5, 0 -/* 8004D7A0 0004A700 40 81 00 40 */ ble lbl_8004D7E0 -/* 8004D7A4 0004A704 2C 05 00 08 */ cmpwi r5, 8 -/* 8004D7A8 0004A708 38 85 FF F8 */ addi r4, r5, -8 -/* 8004D7AC 0004A70C 40 81 00 20 */ ble lbl_8004D7CC -/* 8004D7B0 0004A710 38 04 00 07 */ addi r0, r4, 7 -/* 8004D7B4 0004A714 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004D7B8 0004A718 7C 09 03 A6 */ mtctr r0 -/* 8004D7BC 0004A71C 2C 04 00 00 */ cmpwi r4, 0 -/* 8004D7C0 0004A720 40 81 00 0C */ ble lbl_8004D7CC -lbl_8004D7C4: -/* 8004D7C4 0004A724 38 63 00 08 */ addi r3, r3, 8 -/* 8004D7C8 0004A728 42 00 FF FC */ bdnz lbl_8004D7C4 -lbl_8004D7CC: -/* 8004D7CC 0004A72C 7C 03 28 50 */ subf r0, r3, r5 -/* 8004D7D0 0004A730 7C 09 03 A6 */ mtctr r0 -/* 8004D7D4 0004A734 7C 03 28 00 */ cmpw r3, r5 -/* 8004D7D8 0004A738 40 80 00 08 */ bge lbl_8004D7E0 -lbl_8004D7DC: -/* 8004D7DC 0004A73C 42 00 00 00 */ bdnz lbl_8004D7DC -lbl_8004D7E0: -/* 8004D7E0 0004A740 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D7E4 0004A744 38 00 00 00 */ li r0, 0 -/* 8004D7E8 0004A748 90 03 F3 70 */ stw r0, -0xc90(r3) -lbl_8004D7EC: -/* 8004D7EC 0004A74C 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D7F0 0004A750 34 03 F3 44 */ addic. r0, r3, -3260 -/* 8004D7F4 0004A754 41 82 00 5C */ beq lbl_8004D850 -/* 8004D7F8 0004A758 80 A3 F3 44 */ lwz r5, -0xcbc(r3) -/* 8004D7FC 0004A75C 38 60 00 00 */ li r3, 0 -/* 8004D800 0004A760 2C 05 00 00 */ cmpwi r5, 0 -/* 8004D804 0004A764 40 81 00 40 */ ble lbl_8004D844 -/* 8004D808 0004A768 2C 05 00 08 */ cmpwi r5, 8 -/* 8004D80C 0004A76C 38 85 FF F8 */ addi r4, r5, -8 -/* 8004D810 0004A770 40 81 00 20 */ ble lbl_8004D830 -/* 8004D814 0004A774 38 04 00 07 */ addi r0, r4, 7 -/* 8004D818 0004A778 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004D81C 0004A77C 7C 09 03 A6 */ mtctr r0 -/* 8004D820 0004A780 2C 04 00 00 */ cmpwi r4, 0 -/* 8004D824 0004A784 40 81 00 0C */ ble lbl_8004D830 -lbl_8004D828: -/* 8004D828 0004A788 38 63 00 08 */ addi r3, r3, 8 -/* 8004D82C 0004A78C 42 00 FF FC */ bdnz lbl_8004D828 -lbl_8004D830: -/* 8004D830 0004A790 7C 03 28 50 */ subf r0, r3, r5 -/* 8004D834 0004A794 7C 09 03 A6 */ mtctr r0 -/* 8004D838 0004A798 7C 03 28 00 */ cmpw r3, r5 -/* 8004D83C 0004A79C 40 80 00 08 */ bge lbl_8004D844 -lbl_8004D840: -/* 8004D840 0004A7A0 42 00 00 00 */ bdnz lbl_8004D840 -lbl_8004D844: -/* 8004D844 0004A7A4 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D848 0004A7A8 38 00 00 00 */ li r0, 0 -/* 8004D84C 0004A7AC 90 03 F3 44 */ stw r0, -0xcbc(r3) -lbl_8004D850: -/* 8004D850 0004A7B0 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D854 0004A7B4 38 80 FF FF */ li r4, -1 -/* 8004D858 0004A7B8 38 63 F2 50 */ addi r3, r3, -3504 -/* 8004D85C 0004A7BC 48 1E 0A 39 */ bl __dt__14CRumbleManagerFv -/* 8004D860 0004A7C0 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D864 0004A7C4 38 80 FF FF */ li r4, -1 -/* 8004D868 0004A7C8 38 63 F1 68 */ addi r3, r3, -3736 -/* 8004D86C 0004A7CC 48 00 05 F9 */ bl __dt__20CActorModelParticlesFv -/* 8004D870 0004A7D0 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D874 0004A7D4 38 80 FF FF */ li r4, -1 -/* 8004D878 0004A7D8 38 63 E5 10 */ addi r3, r3, -6896 -/* 8004D87C 0004A7DC 48 00 03 41 */ bl __dt__13CEnvFxManagerFv -/* 8004D880 0004A7E0 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D884 0004A7E4 38 80 FF FF */ li r4, -1 -/* 8004D888 0004A7E8 38 63 E3 EC */ addi r3, r3, -7188 -/* 8004D88C 0004A7EC 48 00 02 39 */ bl __dt__18CFluidPlaneManagerFv -/* 8004D890 0004A7F0 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D894 0004A7F4 34 03 E3 D8 */ addic. r0, r3, -7208 -/* 8004D898 0004A7F8 41 82 00 40 */ beq lbl_8004D8D8 -/* 8004D89C 0004A7FC 34 03 E3 D8 */ addic. r0, r3, -7208 -/* 8004D8A0 0004A800 41 82 00 38 */ beq lbl_8004D8D8 -/* 8004D8A4 0004A804 34 03 E3 D8 */ addic. r0, r3, -7208 -/* 8004D8A8 0004A808 41 82 00 30 */ beq lbl_8004D8D8 -/* 8004D8AC 0004A80C 80 83 E3 E8 */ lwz r4, -0x1c18(r3) -/* 8004D8B0 0004A810 28 04 00 00 */ cmplwi r4, 0 -/* 8004D8B4 0004A814 41 82 00 0C */ beq lbl_8004D8C0 -/* 8004D8B8 0004A818 38 63 E3 D8 */ addi r3, r3, -7208 -/* 8004D8BC 0004A81C 48 00 28 75 */ bl __dt__10CWeaponMgrFv -lbl_8004D8C0: -/* 8004D8C0 0004A820 3C 7E 00 01 */ addis r3, r30, 1 -/* 8004D8C4 0004A824 38 00 00 00 */ li r0, 0 -/* 8004D8C8 0004A828 90 03 E3 E8 */ stw r0, -0x1c18(r3) -/* 8004D8CC 0004A82C 90 03 E3 E0 */ stw r0, -0x1c20(r3) -/* 8004D8D0 0004A830 90 03 E3 E4 */ stw r0, -0x1c1c(r3) -/* 8004D8D4 0004A834 90 03 E3 DC */ stw r0, -0x1c24(r3) -lbl_8004D8D8: -/* 8004D8D8 0004A838 7F C3 F3 78 */ mr r3, r30 -/* 8004D8DC 0004A83C 38 80 FF FF */ li r4, -1 -/* 8004D8E0 0004A840 48 00 00 31 */ bl __dt__14CCameraManagerFv -/* 8004D8E4 0004A844 7F E0 07 35 */ extsh. r0, r31 -/* 8004D8E8 0004A848 40 81 00 0C */ ble lbl_8004D8F4 -/* 8004D8EC 0004A84C 7F C3 F3 78 */ mr r3, r30 -/* 8004D8F0 0004A850 48 00 1D 7D */ bl "__dl__36TOneStatic<22CStateManagerContainer>FPv" -lbl_8004D8F4: -/* 8004D8F4 0004A854 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004D8F8 0004A858 7F C3 F3 78 */ mr r3, r30 -/* 8004D8FC 0004A85C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004D900 0004A860 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004D904 0004A864 7C 08 03 A6 */ mtlr r0 -/* 8004D908 0004A868 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004D90C 0004A86C 4E 80 00 20 */ blr - -.global __dt__14CCameraManagerFv -__dt__14CCameraManagerFv: -/* 8004D910 0004A870 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004D914 0004A874 7C 08 02 A6 */ mflr r0 -/* 8004D918 0004A878 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004D91C 0004A87C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8004D920 0004A880 7C 9F 23 78 */ mr r31, r4 -/* 8004D924 0004A884 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004D928 0004A888 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8004D92C 0004A88C 41 82 01 7C */ beq lbl_8004DAA8 -/* 8004D930 0004A890 34 1E 03 34 */ addic. r0, r30, 0x334 -/* 8004D934 0004A894 41 82 00 58 */ beq lbl_8004D98C -/* 8004D938 0004A898 80 BE 03 34 */ lwz r5, 0x334(r30) -/* 8004D93C 0004A89C 38 60 00 00 */ li r3, 0 -/* 8004D940 0004A8A0 2C 05 00 00 */ cmpwi r5, 0 -/* 8004D944 0004A8A4 40 81 00 40 */ ble lbl_8004D984 -/* 8004D948 0004A8A8 2C 05 00 08 */ cmpwi r5, 8 -/* 8004D94C 0004A8AC 38 85 FF F8 */ addi r4, r5, -8 -/* 8004D950 0004A8B0 40 81 00 20 */ ble lbl_8004D970 -/* 8004D954 0004A8B4 38 04 00 07 */ addi r0, r4, 7 -/* 8004D958 0004A8B8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004D95C 0004A8BC 7C 09 03 A6 */ mtctr r0 -/* 8004D960 0004A8C0 2C 04 00 00 */ cmpwi r4, 0 -/* 8004D964 0004A8C4 40 81 00 0C */ ble lbl_8004D970 -lbl_8004D968: -/* 8004D968 0004A8C8 38 63 00 08 */ addi r3, r3, 8 -/* 8004D96C 0004A8CC 42 00 FF FC */ bdnz lbl_8004D968 -lbl_8004D970: -/* 8004D970 0004A8D0 7C 03 28 50 */ subf r0, r3, r5 -/* 8004D974 0004A8D4 7C 09 03 A6 */ mtctr r0 -/* 8004D978 0004A8D8 7C 03 28 00 */ cmpw r3, r5 -/* 8004D97C 0004A8DC 40 80 00 08 */ bge lbl_8004D984 -lbl_8004D980: -/* 8004D980 0004A8E0 42 00 00 00 */ bdnz lbl_8004D980 -lbl_8004D984: -/* 8004D984 0004A8E4 38 00 00 00 */ li r0, 0 -/* 8004D988 0004A8E8 90 1E 03 34 */ stw r0, 0x334(r30) -lbl_8004D98C: -/* 8004D98C 0004A8EC 34 1E 02 B0 */ addic. r0, r30, 0x2b0 -/* 8004D990 0004A8F0 41 82 00 58 */ beq lbl_8004D9E8 -/* 8004D994 0004A8F4 80 BE 02 B0 */ lwz r5, 0x2b0(r30) -/* 8004D998 0004A8F8 38 60 00 00 */ li r3, 0 -/* 8004D99C 0004A8FC 2C 05 00 00 */ cmpwi r5, 0 -/* 8004D9A0 0004A900 40 81 00 40 */ ble lbl_8004D9E0 -/* 8004D9A4 0004A904 2C 05 00 08 */ cmpwi r5, 8 -/* 8004D9A8 0004A908 38 85 FF F8 */ addi r4, r5, -8 -/* 8004D9AC 0004A90C 40 81 00 20 */ ble lbl_8004D9CC -/* 8004D9B0 0004A910 38 04 00 07 */ addi r0, r4, 7 -/* 8004D9B4 0004A914 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004D9B8 0004A918 7C 09 03 A6 */ mtctr r0 -/* 8004D9BC 0004A91C 2C 04 00 00 */ cmpwi r4, 0 -/* 8004D9C0 0004A920 40 81 00 0C */ ble lbl_8004D9CC -lbl_8004D9C4: -/* 8004D9C4 0004A924 38 63 00 08 */ addi r3, r3, 8 -/* 8004D9C8 0004A928 42 00 FF FC */ bdnz lbl_8004D9C4 -lbl_8004D9CC: -/* 8004D9CC 0004A92C 7C 03 28 50 */ subf r0, r3, r5 -/* 8004D9D0 0004A930 7C 09 03 A6 */ mtctr r0 -/* 8004D9D4 0004A934 7C 03 28 00 */ cmpw r3, r5 -/* 8004D9D8 0004A938 40 80 00 08 */ bge lbl_8004D9E0 -lbl_8004D9DC: -/* 8004D9DC 0004A93C 42 00 00 00 */ bdnz lbl_8004D9DC -lbl_8004D9E0: -/* 8004D9E0 0004A940 38 00 00 00 */ li r0, 0 -/* 8004D9E4 0004A944 90 1E 02 B0 */ stw r0, 0x2b0(r30) -lbl_8004D9E8: -/* 8004D9E8 0004A948 34 1E 00 AC */ addic. r0, r30, 0xac -/* 8004D9EC 0004A94C 41 82 00 58 */ beq lbl_8004DA44 -/* 8004D9F0 0004A950 80 BE 00 AC */ lwz r5, 0xac(r30) -/* 8004D9F4 0004A954 38 60 00 00 */ li r3, 0 -/* 8004D9F8 0004A958 2C 05 00 00 */ cmpwi r5, 0 -/* 8004D9FC 0004A95C 40 81 00 40 */ ble lbl_8004DA3C -/* 8004DA00 0004A960 2C 05 00 08 */ cmpwi r5, 8 -/* 8004DA04 0004A964 38 85 FF F8 */ addi r4, r5, -8 -/* 8004DA08 0004A968 40 81 00 20 */ ble lbl_8004DA28 -/* 8004DA0C 0004A96C 38 04 00 07 */ addi r0, r4, 7 -/* 8004DA10 0004A970 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004DA14 0004A974 7C 09 03 A6 */ mtctr r0 -/* 8004DA18 0004A978 2C 04 00 00 */ cmpwi r4, 0 -/* 8004DA1C 0004A97C 40 81 00 0C */ ble lbl_8004DA28 -lbl_8004DA20: -/* 8004DA20 0004A980 38 63 00 08 */ addi r3, r3, 8 -/* 8004DA24 0004A984 42 00 FF FC */ bdnz lbl_8004DA20 -lbl_8004DA28: -/* 8004DA28 0004A988 7C 03 28 50 */ subf r0, r3, r5 -/* 8004DA2C 0004A98C 7C 09 03 A6 */ mtctr r0 -/* 8004DA30 0004A990 7C 03 28 00 */ cmpw r3, r5 -/* 8004DA34 0004A994 40 80 00 08 */ bge lbl_8004DA3C -lbl_8004DA38: -/* 8004DA38 0004A998 42 00 00 00 */ bdnz lbl_8004DA38 -lbl_8004DA3C: -/* 8004DA3C 0004A99C 38 00 00 00 */ li r0, 0 -/* 8004DA40 0004A9A0 90 1E 00 AC */ stw r0, 0xac(r30) -lbl_8004DA44: -/* 8004DA44 0004A9A4 38 7E 00 14 */ addi r3, r30, 0x14 -/* 8004DA48 0004A9A8 38 80 FF FF */ li r4, -1 -/* 8004DA4C 0004A9AC 4B FB EB 69 */ bl sub_8000c5b4 -/* 8004DA50 0004A9B0 34 1E 00 04 */ addic. r0, r30, 4 -/* 8004DA54 0004A9B4 41 82 00 44 */ beq lbl_8004DA98 -/* 8004DA58 0004A9B8 80 1E 00 08 */ lwz r0, 8(r30) -/* 8004DA5C 0004A9BC 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8004DA60 0004A9C0 54 00 08 3C */ slwi r0, r0, 1 -/* 8004DA64 0004A9C4 7C 03 02 14 */ add r0, r3, r0 -/* 8004DA68 0004A9C8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8004DA6C 0004A9CC 7C 64 1B 78 */ mr r4, r3 -/* 8004DA70 0004A9D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004DA74 0004A9D4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8004DA78 0004A9D8 90 61 00 08 */ stw r3, 8(r1) -/* 8004DA7C 0004A9DC 48 00 00 08 */ b lbl_8004DA84 -lbl_8004DA80: -/* 8004DA80 0004A9E0 38 84 00 02 */ addi r4, r4, 2 -lbl_8004DA84: -/* 8004DA84 0004A9E4 7C 04 00 40 */ cmplw r4, r0 -/* 8004DA88 0004A9E8 40 82 FF F8 */ bne lbl_8004DA80 -/* 8004DA8C 0004A9EC 28 03 00 00 */ cmplwi r3, 0 -/* 8004DA90 0004A9F0 41 82 00 08 */ beq lbl_8004DA98 -/* 8004DA94 0004A9F4 48 2C 7E 9D */ bl Free__7CMemoryFPCv -lbl_8004DA98: -/* 8004DA98 0004A9F8 7F E0 07 35 */ extsh. r0, r31 -/* 8004DA9C 0004A9FC 40 81 00 0C */ ble lbl_8004DAA8 -/* 8004DAA0 0004AA00 7F C3 F3 78 */ mr r3, r30 -/* 8004DAA4 0004AA04 48 2C 7E 8D */ bl Free__7CMemoryFPCv -lbl_8004DAA8: -/* 8004DAA8 0004AA08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004DAAC 0004AA0C 7F C3 F3 78 */ mr r3, r30 -/* 8004DAB0 0004AA10 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004DAB4 0004AA14 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004DAB8 0004AA18 7C 08 03 A6 */ mtlr r0 -/* 8004DABC 0004AA1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004DAC0 0004AA20 4E 80 00 20 */ blr - -.global __dt__18CFluidPlaneManagerFv -__dt__18CFluidPlaneManagerFv: -/* 8004DAC4 0004AA24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004DAC8 0004AA28 7C 08 02 A6 */ mflr r0 -/* 8004DACC 0004AA2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004DAD0 0004AA30 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8004DAD4 0004AA34 7C 9F 23 78 */ mr r31, r4 -/* 8004DAD8 0004AA38 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004DADC 0004AA3C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8004DAE0 0004AA40 41 82 00 C0 */ beq lbl_8004DBA0 -/* 8004DAE4 0004AA44 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 8004DAE8 0004AA48 41 82 00 58 */ beq lbl_8004DB40 -/* 8004DAEC 0004AA4C 80 BE 00 18 */ lwz r5, 0x18(r30) -/* 8004DAF0 0004AA50 38 60 00 00 */ li r3, 0 -/* 8004DAF4 0004AA54 2C 05 00 00 */ cmpwi r5, 0 -/* 8004DAF8 0004AA58 40 81 00 40 */ ble lbl_8004DB38 -/* 8004DAFC 0004AA5C 2C 05 00 08 */ cmpwi r5, 8 -/* 8004DB00 0004AA60 38 85 FF F8 */ addi r4, r5, -8 -/* 8004DB04 0004AA64 40 81 00 20 */ ble lbl_8004DB24 -/* 8004DB08 0004AA68 38 04 00 07 */ addi r0, r4, 7 -/* 8004DB0C 0004AA6C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004DB10 0004AA70 7C 09 03 A6 */ mtctr r0 -/* 8004DB14 0004AA74 2C 04 00 00 */ cmpwi r4, 0 -/* 8004DB18 0004AA78 40 81 00 0C */ ble lbl_8004DB24 -lbl_8004DB1C: -/* 8004DB1C 0004AA7C 38 63 00 08 */ addi r3, r3, 8 -/* 8004DB20 0004AA80 42 00 FF FC */ bdnz lbl_8004DB1C -lbl_8004DB24: -/* 8004DB24 0004AA84 7C 03 28 50 */ subf r0, r3, r5 -/* 8004DB28 0004AA88 7C 09 03 A6 */ mtctr r0 -/* 8004DB2C 0004AA8C 7C 03 28 00 */ cmpw r3, r5 -/* 8004DB30 0004AA90 40 80 00 08 */ bge lbl_8004DB38 -lbl_8004DB34: -/* 8004DB34 0004AA94 42 00 00 00 */ bdnz lbl_8004DB34 -lbl_8004DB38: -/* 8004DB38 0004AA98 38 00 00 00 */ li r0, 0 -/* 8004DB3C 0004AA9C 90 1E 00 18 */ stw r0, 0x18(r30) -lbl_8004DB40: -/* 8004DB40 0004AAA0 28 1E 00 00 */ cmplwi r30, 0 -/* 8004DB44 0004AAA4 41 82 00 4C */ beq lbl_8004DB90 -/* 8004DB48 0004AAA8 34 1E 00 04 */ addic. r0, r30, 4 -/* 8004DB4C 0004AAAC 41 82 00 44 */ beq lbl_8004DB90 -/* 8004DB50 0004AAB0 80 1E 00 08 */ lwz r0, 8(r30) -/* 8004DB54 0004AAB4 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8004DB58 0004AAB8 54 00 30 32 */ slwi r0, r0, 6 -/* 8004DB5C 0004AABC 7C 03 02 14 */ add r0, r3, r0 -/* 8004DB60 0004AAC0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8004DB64 0004AAC4 7C 64 1B 78 */ mr r4, r3 -/* 8004DB68 0004AAC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004DB6C 0004AACC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8004DB70 0004AAD0 90 61 00 08 */ stw r3, 8(r1) -/* 8004DB74 0004AAD4 48 00 00 08 */ b lbl_8004DB7C -lbl_8004DB78: -/* 8004DB78 0004AAD8 38 84 00 40 */ addi r4, r4, 0x40 -lbl_8004DB7C: -/* 8004DB7C 0004AADC 7C 04 00 40 */ cmplw r4, r0 -/* 8004DB80 0004AAE0 40 82 FF F8 */ bne lbl_8004DB78 -/* 8004DB84 0004AAE4 28 03 00 00 */ cmplwi r3, 0 -/* 8004DB88 0004AAE8 41 82 00 08 */ beq lbl_8004DB90 -/* 8004DB8C 0004AAEC 48 2C 7D A5 */ bl Free__7CMemoryFPCv -lbl_8004DB90: -/* 8004DB90 0004AAF0 7F E0 07 35 */ extsh. r0, r31 -/* 8004DB94 0004AAF4 40 81 00 0C */ ble lbl_8004DBA0 -/* 8004DB98 0004AAF8 7F C3 F3 78 */ mr r3, r30 -/* 8004DB9C 0004AAFC 48 2C 7D 95 */ bl Free__7CMemoryFPCv -lbl_8004DBA0: -/* 8004DBA0 0004AB00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004DBA4 0004AB04 7F C3 F3 78 */ mr r3, r30 -/* 8004DBA8 0004AB08 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004DBAC 0004AB0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004DBB0 0004AB10 7C 08 03 A6 */ mtlr r0 -/* 8004DBB4 0004AB14 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004DBB8 0004AB18 4E 80 00 20 */ blr - -.global __dt__13CEnvFxManagerFv -__dt__13CEnvFxManagerFv: -/* 8004DBBC 0004AB1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004DBC0 0004AB20 7C 08 02 A6 */ mflr r0 -/* 8004DBC4 0004AB24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004DBC8 0004AB28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004DBCC 0004AB2C 7C 9F 23 78 */ mr r31, r4 -/* 8004DBD0 0004AB30 93 C1 00 08 */ stw r30, 8(r1) -/* 8004DBD4 0004AB34 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8004DBD8 0004AB38 41 82 01 4C */ beq lbl_8004DD24 -/* 8004DBDC 0004AB3C 34 1E 0C 48 */ addic. r0, r30, 0xc48 -/* 8004DBE0 0004AB40 41 82 00 30 */ beq lbl_8004DC10 -/* 8004DBE4 0004AB44 88 1E 0C 54 */ lbz r0, 0xc54(r30) -/* 8004DBE8 0004AB48 28 00 00 00 */ cmplwi r0, 0 -/* 8004DBEC 0004AB4C 41 82 00 1C */ beq lbl_8004DC08 -/* 8004DBF0 0004AB50 34 7E 0C 48 */ addic. r3, r30, 0xc48 -/* 8004DBF4 0004AB54 41 82 00 14 */ beq lbl_8004DC08 -/* 8004DBF8 0004AB58 28 03 00 00 */ cmplwi r3, 0 -/* 8004DBFC 0004AB5C 41 82 00 0C */ beq lbl_8004DC08 -/* 8004DC00 0004AB60 38 80 00 00 */ li r4, 0 -/* 8004DC04 0004AB64 48 2F 32 3D */ bl __dt__6CTokenFv -lbl_8004DC08: -/* 8004DC08 0004AB68 38 00 00 00 */ li r0, 0 -/* 8004DC0C 0004AB6C 98 1E 0C 54 */ stb r0, 0xc54(r30) -lbl_8004DC10: -/* 8004DC10 0004AB70 34 1E 0B 84 */ addic. r0, r30, 0xb84 -/* 8004DC14 0004AB74 41 82 00 58 */ beq lbl_8004DC6C -/* 8004DC18 0004AB78 80 BE 0B 84 */ lwz r5, 0xb84(r30) -/* 8004DC1C 0004AB7C 38 60 00 00 */ li r3, 0 -/* 8004DC20 0004AB80 2C 05 00 00 */ cmpwi r5, 0 -/* 8004DC24 0004AB84 40 81 00 40 */ ble lbl_8004DC64 -/* 8004DC28 0004AB88 2C 05 00 08 */ cmpwi r5, 8 -/* 8004DC2C 0004AB8C 38 85 FF F8 */ addi r4, r5, -8 -/* 8004DC30 0004AB90 40 81 00 20 */ ble lbl_8004DC50 -/* 8004DC34 0004AB94 38 04 00 07 */ addi r0, r4, 7 -/* 8004DC38 0004AB98 54 00 E8 FE */ srwi r0, r0, 3 -/* 8004DC3C 0004AB9C 7C 09 03 A6 */ mtctr r0 -/* 8004DC40 0004ABA0 2C 04 00 00 */ cmpwi r4, 0 -/* 8004DC44 0004ABA4 40 81 00 0C */ ble lbl_8004DC50 -lbl_8004DC48: -/* 8004DC48 0004ABA8 38 63 00 08 */ addi r3, r3, 8 -/* 8004DC4C 0004ABAC 42 00 FF FC */ bdnz lbl_8004DC48 -lbl_8004DC50: -/* 8004DC50 0004ABB0 7C 03 28 50 */ subf r0, r3, r5 -/* 8004DC54 0004ABB4 7C 09 03 A6 */ mtctr r0 -/* 8004DC58 0004ABB8 7C 03 28 00 */ cmpw r3, r5 -/* 8004DC5C 0004ABBC 40 80 00 08 */ bge lbl_8004DC64 -lbl_8004DC60: -/* 8004DC60 0004ABC0 42 00 00 00 */ bdnz lbl_8004DC60 -lbl_8004DC64: -/* 8004DC64 0004ABC4 38 00 00 00 */ li r0, 0 -/* 8004DC68 0004ABC8 90 1E 0B 84 */ stw r0, 0xb84(r30) -lbl_8004DC6C: -/* 8004DC6C 0004ABCC 34 1E 0B 74 */ addic. r0, r30, 0xb74 -/* 8004DC70 0004ABD0 41 82 00 30 */ beq lbl_8004DCA0 -/* 8004DC74 0004ABD4 88 1E 0B 80 */ lbz r0, 0xb80(r30) -/* 8004DC78 0004ABD8 28 00 00 00 */ cmplwi r0, 0 -/* 8004DC7C 0004ABDC 41 82 00 1C */ beq lbl_8004DC98 -/* 8004DC80 0004ABE0 34 7E 0B 74 */ addic. r3, r30, 0xb74 -/* 8004DC84 0004ABE4 41 82 00 14 */ beq lbl_8004DC98 -/* 8004DC88 0004ABE8 28 03 00 00 */ cmplwi r3, 0 -/* 8004DC8C 0004ABEC 41 82 00 0C */ beq lbl_8004DC98 -/* 8004DC90 0004ABF0 38 80 00 00 */ li r4, 0 -/* 8004DC94 0004ABF4 48 2F 31 AD */ bl __dt__6CTokenFv -lbl_8004DC98: -/* 8004DC98 0004ABF8 38 00 00 00 */ li r0, 0 -/* 8004DC9C 0004ABFC 98 1E 0B 80 */ stb r0, 0xb80(r30) -lbl_8004DCA0: -/* 8004DCA0 0004AC00 34 1E 0B 58 */ addic. r0, r30, 0xb58 -/* 8004DCA4 0004AC04 41 82 00 30 */ beq lbl_8004DCD4 -/* 8004DCA8 0004AC08 88 1E 0B 64 */ lbz r0, 0xb64(r30) -/* 8004DCAC 0004AC0C 28 00 00 00 */ cmplwi r0, 0 -/* 8004DCB0 0004AC10 41 82 00 1C */ beq lbl_8004DCCC -/* 8004DCB4 0004AC14 34 7E 0B 58 */ addic. r3, r30, 0xb58 -/* 8004DCB8 0004AC18 41 82 00 14 */ beq lbl_8004DCCC -/* 8004DCBC 0004AC1C 28 03 00 00 */ cmplwi r3, 0 -/* 8004DCC0 0004AC20 41 82 00 0C */ beq lbl_8004DCCC -/* 8004DCC4 0004AC24 38 80 00 00 */ li r4, 0 -/* 8004DCC8 0004AC28 48 2F 31 79 */ bl __dt__6CTokenFv -lbl_8004DCCC: -/* 8004DCCC 0004AC2C 38 00 00 00 */ li r0, 0 -/* 8004DCD0 0004AC30 98 1E 0B 64 */ stb r0, 0xb64(r30) -lbl_8004DCD4: -/* 8004DCD4 0004AC34 38 7E 00 50 */ addi r3, r30, 0x50 -/* 8004DCD8 0004AC38 38 80 FF FF */ li r4, -1 -/* 8004DCDC 0004AC3C 48 00 00 65 */ bl sub_8004dd40 -/* 8004DCE0 0004AC40 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 8004DCE4 0004AC44 41 82 00 30 */ beq lbl_8004DD14 -/* 8004DCE8 0004AC48 88 1E 00 4C */ lbz r0, 0x4c(r30) -/* 8004DCEC 0004AC4C 28 00 00 00 */ cmplwi r0, 0 -/* 8004DCF0 0004AC50 41 82 00 1C */ beq lbl_8004DD0C -/* 8004DCF4 0004AC54 34 7E 00 40 */ addic. r3, r30, 0x40 -/* 8004DCF8 0004AC58 41 82 00 14 */ beq lbl_8004DD0C -/* 8004DCFC 0004AC5C 28 03 00 00 */ cmplwi r3, 0 -/* 8004DD00 0004AC60 41 82 00 0C */ beq lbl_8004DD0C -/* 8004DD04 0004AC64 38 80 00 00 */ li r4, 0 -/* 8004DD08 0004AC68 48 2F 31 39 */ bl __dt__6CTokenFv -lbl_8004DD0C: -/* 8004DD0C 0004AC6C 38 00 00 00 */ li r0, 0 -/* 8004DD10 0004AC70 98 1E 00 4C */ stb r0, 0x4c(r30) -lbl_8004DD14: -/* 8004DD14 0004AC74 7F E0 07 35 */ extsh. r0, r31 -/* 8004DD18 0004AC78 40 81 00 0C */ ble lbl_8004DD24 -/* 8004DD1C 0004AC7C 7F C3 F3 78 */ mr r3, r30 -/* 8004DD20 0004AC80 48 2C 7C 11 */ bl Free__7CMemoryFPCv -lbl_8004DD24: -/* 8004DD24 0004AC84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004DD28 0004AC88 7F C3 F3 78 */ mr r3, r30 -/* 8004DD2C 0004AC8C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004DD30 0004AC90 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004DD34 0004AC94 7C 08 03 A6 */ mtlr r0 -/* 8004DD38 0004AC98 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004DD3C 0004AC9C 4E 80 00 20 */ blr - -.global sub_8004dd40 -sub_8004dd40: -/* 8004DD40 0004ACA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004DD44 0004ACA4 7C 08 02 A6 */ mflr r0 -/* 8004DD48 0004ACA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004DD4C 0004ACAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004DD50 0004ACB0 7C 9F 23 78 */ mr r31, r4 -/* 8004DD54 0004ACB4 93 C1 00 08 */ stw r30, 8(r1) -/* 8004DD58 0004ACB8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8004DD5C 0004ACBC 41 82 00 18 */ beq lbl_8004DD74 -/* 8004DD60 0004ACC0 48 00 00 31 */ bl sub_8004dd90 -/* 8004DD64 0004ACC4 7F E0 07 35 */ extsh. r0, r31 -/* 8004DD68 0004ACC8 40 81 00 0C */ ble lbl_8004DD74 -/* 8004DD6C 0004ACCC 7F C3 F3 78 */ mr r3, r30 -/* 8004DD70 0004ACD0 48 2C 7B C1 */ bl Free__7CMemoryFPCv -lbl_8004DD74: -/* 8004DD74 0004ACD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004DD78 0004ACD8 7F C3 F3 78 */ mr r3, r30 -/* 8004DD7C 0004ACDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004DD80 0004ACE0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004DD84 0004ACE4 7C 08 03 A6 */ mtlr r0 -/* 8004DD88 0004ACE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004DD8C 0004ACEC 4E 80 00 20 */ blr - -.global sub_8004dd90 -sub_8004dd90: -/* 8004DD90 0004ACF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004DD94 0004ACF4 7C 08 02 A6 */ mflr r0 -/* 8004DD98 0004ACF8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004DD9C 0004ACFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8004DDA0 0004AD00 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004DDA4 0004AD04 3B C0 00 00 */ li r30, 0 -/* 8004DDA8 0004AD08 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8004DDAC 0004AD0C 7C 7D 1B 78 */ mr r29, r3 -/* 8004DDB0 0004AD10 3B FD 00 04 */ addi r31, r29, 4 -/* 8004DDB4 0004AD14 48 00 00 14 */ b lbl_8004DDC8 -lbl_8004DDB8: -/* 8004DDB8 0004AD18 7F E3 FB 78 */ mr r3, r31 -/* 8004DDBC 0004AD1C 48 00 00 3D */ bl sub_8004ddf8 -/* 8004DDC0 0004AD20 3B FF 00 2C */ addi r31, r31, 0x2c -/* 8004DDC4 0004AD24 3B DE 00 01 */ addi r30, r30, 1 -lbl_8004DDC8: -/* 8004DDC8 0004AD28 80 1D 00 00 */ lwz r0, 0(r29) -/* 8004DDCC 0004AD2C 7C 1E 00 00 */ cmpw r30, r0 -/* 8004DDD0 0004AD30 41 80 FF E8 */ blt lbl_8004DDB8 -/* 8004DDD4 0004AD34 38 00 00 00 */ li r0, 0 -/* 8004DDD8 0004AD38 90 1D 00 00 */ stw r0, 0(r29) -/* 8004DDDC 0004AD3C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004DDE0 0004AD40 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004DDE4 0004AD44 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004DDE8 0004AD48 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8004DDEC 0004AD4C 7C 08 03 A6 */ mtlr r0 -/* 8004DDF0 0004AD50 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004DDF4 0004AD54 4E 80 00 20 */ blr - -.global sub_8004ddf8 -sub_8004ddf8: -/* 8004DDF8 0004AD58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004DDFC 0004AD5C 7C 08 02 A6 */ mflr r0 -/* 8004DE00 0004AD60 28 03 00 00 */ cmplwi r3, 0 -/* 8004DE04 0004AD64 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004DE08 0004AD68 41 82 00 4C */ beq lbl_8004DE54 -/* 8004DE0C 0004AD6C 34 03 00 1C */ addic. r0, r3, 0x1c -/* 8004DE10 0004AD70 41 82 00 44 */ beq lbl_8004DE54 -/* 8004DE14 0004AD74 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8004DE18 0004AD78 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8004DE1C 0004AD7C 1C 00 00 06 */ mulli r0, r0, 6 -/* 8004DE20 0004AD80 90 61 00 0C */ stw r3, 0xc(r1) -/* 8004DE24 0004AD84 7C 64 1B 78 */ mr r4, r3 -/* 8004DE28 0004AD88 7C 03 02 14 */ add r0, r3, r0 -/* 8004DE2C 0004AD8C 90 61 00 08 */ stw r3, 8(r1) -/* 8004DE30 0004AD90 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004DE34 0004AD94 90 01 00 10 */ stw r0, 0x10(r1) -/* 8004DE38 0004AD98 48 00 00 08 */ b lbl_8004DE40 -lbl_8004DE3C: -/* 8004DE3C 0004AD9C 38 84 00 06 */ addi r4, r4, 6 -lbl_8004DE40: -/* 8004DE40 0004ADA0 7C 04 00 40 */ cmplw r4, r0 -/* 8004DE44 0004ADA4 40 82 FF F8 */ bne lbl_8004DE3C -/* 8004DE48 0004ADA8 28 03 00 00 */ cmplwi r3, 0 -/* 8004DE4C 0004ADAC 41 82 00 08 */ beq lbl_8004DE54 -/* 8004DE50 0004ADB0 48 2C 7A E1 */ bl Free__7CMemoryFPCv -lbl_8004DE54: -/* 8004DE54 0004ADB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004DE58 0004ADB8 7C 08 03 A6 */ mtlr r0 -/* 8004DE5C 0004ADBC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004DE60 0004ADC0 4E 80 00 20 */ blr - -.global __dt__20CActorModelParticlesFv -__dt__20CActorModelParticlesFv: -/* 8004DE64 0004ADC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004DE68 0004ADC8 7C 08 02 A6 */ mflr r0 -/* 8004DE6C 0004ADCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004DE70 0004ADD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004DE74 0004ADD4 7C 9F 23 78 */ mr r31, r4 -/* 8004DE78 0004ADD8 93 C1 00 08 */ stw r30, 8(r1) -/* 8004DE7C 0004ADDC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8004DE80 0004ADE0 41 82 00 B0 */ beq lbl_8004DF30 -/* 8004DE84 0004ADE4 38 7E 00 50 */ addi r3, r30, 0x50 -/* 8004DE88 0004ADE8 38 80 FF FF */ li r4, -1 -/* 8004DE8C 0004ADEC 48 00 00 C1 */ bl sub_8004df4c -/* 8004DE90 0004ADF0 38 7E 00 48 */ addi r3, r30, 0x48 -/* 8004DE94 0004ADF4 38 80 FF FF */ li r4, -1 -/* 8004DE98 0004ADF8 48 2F 2F A9 */ bl __dt__6CTokenFv -/* 8004DE9C 0004ADFC 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 8004DEA0 0004AE00 41 82 00 10 */ beq lbl_8004DEB0 -/* 8004DEA4 0004AE04 38 7E 00 40 */ addi r3, r30, 0x40 -/* 8004DEA8 0004AE08 38 80 00 00 */ li r4, 0 -/* 8004DEAC 0004AE0C 48 2F 2F 95 */ bl __dt__6CTokenFv -lbl_8004DEB0: -/* 8004DEB0 0004AE10 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 8004DEB4 0004AE14 41 82 00 10 */ beq lbl_8004DEC4 -/* 8004DEB8 0004AE18 38 7E 00 38 */ addi r3, r30, 0x38 -/* 8004DEBC 0004AE1C 38 80 00 00 */ li r4, 0 -/* 8004DEC0 0004AE20 48 2F 2F 81 */ bl __dt__6CTokenFv -lbl_8004DEC4: -/* 8004DEC4 0004AE24 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 8004DEC8 0004AE28 41 82 00 10 */ beq lbl_8004DED8 -/* 8004DECC 0004AE2C 38 7E 00 30 */ addi r3, r30, 0x30 -/* 8004DED0 0004AE30 38 80 00 00 */ li r4, 0 -/* 8004DED4 0004AE34 48 2F 2F 6D */ bl __dt__6CTokenFv -lbl_8004DED8: -/* 8004DED8 0004AE38 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 8004DEDC 0004AE3C 41 82 00 10 */ beq lbl_8004DEEC -/* 8004DEE0 0004AE40 38 7E 00 28 */ addi r3, r30, 0x28 -/* 8004DEE4 0004AE44 38 80 00 00 */ li r4, 0 -/* 8004DEE8 0004AE48 48 2F 2F 59 */ bl __dt__6CTokenFv -lbl_8004DEEC: -/* 8004DEEC 0004AE4C 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 8004DEF0 0004AE50 41 82 00 10 */ beq lbl_8004DF00 -/* 8004DEF4 0004AE54 38 7E 00 20 */ addi r3, r30, 0x20 -/* 8004DEF8 0004AE58 38 80 00 00 */ li r4, 0 -/* 8004DEFC 0004AE5C 48 2F 2F 45 */ bl __dt__6CTokenFv -lbl_8004DF00: -/* 8004DF00 0004AE60 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 8004DF04 0004AE64 41 82 00 10 */ beq lbl_8004DF14 -/* 8004DF08 0004AE68 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8004DF0C 0004AE6C 38 80 00 00 */ li r4, 0 -/* 8004DF10 0004AE70 48 2F 2F 31 */ bl __dt__6CTokenFv -lbl_8004DF14: -/* 8004DF14 0004AE74 7F C3 F3 78 */ mr r3, r30 -/* 8004DF18 0004AE78 38 80 FF FF */ li r4, -1 -/* 8004DF1C 0004AE7C 48 00 28 45 */ bl sub_80050760 -/* 8004DF20 0004AE80 7F E0 07 35 */ extsh. r0, r31 -/* 8004DF24 0004AE84 40 81 00 0C */ ble lbl_8004DF30 -/* 8004DF28 0004AE88 7F C3 F3 78 */ mr r3, r30 -/* 8004DF2C 0004AE8C 48 2C 7A 05 */ bl Free__7CMemoryFPCv -lbl_8004DF30: -/* 8004DF30 0004AE90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004DF34 0004AE94 7F C3 F3 78 */ mr r3, r30 -/* 8004DF38 0004AE98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004DF3C 0004AE9C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004DF40 0004AEA0 7C 08 03 A6 */ mtlr r0 -/* 8004DF44 0004AEA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004DF48 0004AEA8 4E 80 00 20 */ blr - -.global sub_8004df4c -sub_8004df4c: -/* 8004DF4C 0004AEAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004DF50 0004AEB0 7C 08 02 A6 */ mflr r0 -/* 8004DF54 0004AEB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004DF58 0004AEB8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004DF5C 0004AEBC 7C 9F 23 78 */ mr r31, r4 -/* 8004DF60 0004AEC0 93 C1 00 08 */ stw r30, 8(r1) -/* 8004DF64 0004AEC4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8004DF68 0004AEC8 41 82 00 18 */ beq lbl_8004DF80 -/* 8004DF6C 0004AECC 48 00 00 31 */ bl sub_8004df9c -/* 8004DF70 0004AED0 7F E0 07 35 */ extsh. r0, r31 -/* 8004DF74 0004AED4 40 81 00 0C */ ble lbl_8004DF80 -/* 8004DF78 0004AED8 7F C3 F3 78 */ mr r3, r30 -/* 8004DF7C 0004AEDC 48 2C 79 B5 */ bl Free__7CMemoryFPCv -lbl_8004DF80: -/* 8004DF80 0004AEE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004DF84 0004AEE4 7F C3 F3 78 */ mr r3, r30 -/* 8004DF88 0004AEE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004DF8C 0004AEEC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004DF90 0004AEF0 7C 08 03 A6 */ mtlr r0 -/* 8004DF94 0004AEF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004DF98 0004AEF8 4E 80 00 20 */ blr - -.global sub_8004df9c -sub_8004df9c: -/* 8004DF9C 0004AEFC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8004DFA0 0004AF00 7C 08 02 A6 */ mflr r0 -/* 8004DFA4 0004AF04 90 01 00 34 */ stw r0, 0x34(r1) -/* 8004DFA8 0004AF08 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8004DFAC 0004AF0C 7C 7B 1B 78 */ mr r27, r3 -/* 8004DFB0 0004AF10 3B 80 00 00 */ li r28, 0 -/* 8004DFB4 0004AF14 3B DB 00 04 */ addi r30, r27, 4 -/* 8004DFB8 0004AF18 48 00 00 64 */ b lbl_8004E01C -lbl_8004DFBC: -/* 8004DFBC 0004AF1C 28 1E 00 00 */ cmplwi r30, 0 -/* 8004DFC0 0004AF20 41 82 00 54 */ beq lbl_8004E014 -/* 8004DFC4 0004AF24 41 82 00 50 */ beq lbl_8004E014 -/* 8004DFC8 0004AF28 80 1E 00 04 */ lwz r0, 4(r30) -/* 8004DFCC 0004AF2C 83 BE 00 0C */ lwz r29, 0xc(r30) -/* 8004DFD0 0004AF30 54 00 18 38 */ slwi r0, r0, 3 -/* 8004DFD4 0004AF34 7F FD 02 14 */ add r31, r29, r0 -/* 8004DFD8 0004AF38 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8004DFDC 0004AF3C 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8004DFE0 0004AF40 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8004DFE4 0004AF44 93 A1 00 08 */ stw r29, 8(r1) -/* 8004DFE8 0004AF48 48 00 00 14 */ b lbl_8004DFFC -lbl_8004DFEC: -/* 8004DFEC 0004AF4C 7F A3 EB 78 */ mr r3, r29 -/* 8004DFF0 0004AF50 38 80 FF FF */ li r4, -1 -/* 8004DFF4 0004AF54 48 2F 2E 4D */ bl __dt__6CTokenFv -/* 8004DFF8 0004AF58 3B BD 00 08 */ addi r29, r29, 8 -lbl_8004DFFC: -/* 8004DFFC 0004AF5C 7C 1D F8 40 */ cmplw r29, r31 -/* 8004E000 0004AF60 40 82 FF EC */ bne lbl_8004DFEC -/* 8004E004 0004AF64 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8004E008 0004AF68 28 03 00 00 */ cmplwi r3, 0 -/* 8004E00C 0004AF6C 41 82 00 08 */ beq lbl_8004E014 -/* 8004E010 0004AF70 48 2C 79 21 */ bl Free__7CMemoryFPCv -lbl_8004E014: -/* 8004E014 0004AF74 3B DE 00 18 */ addi r30, r30, 0x18 -/* 8004E018 0004AF78 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8004E01C: -/* 8004E01C 0004AF7C 80 1B 00 00 */ lwz r0, 0(r27) -/* 8004E020 0004AF80 7C 1C 00 00 */ cmpw r28, r0 -/* 8004E024 0004AF84 41 80 FF 98 */ blt lbl_8004DFBC -/* 8004E028 0004AF88 38 00 00 00 */ li r0, 0 -/* 8004E02C 0004AF8C 90 1B 00 00 */ stw r0, 0(r27) -/* 8004E030 0004AF90 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8004E034 0004AF94 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8004E038 0004AF98 7C 08 03 A6 */ mtlr r0 -/* 8004E03C 0004AF9C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8004E040 0004AFA0 4E 80 00 20 */ blr - -.global "__dt__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv" -"__dt__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv": -/* 8004E044 0004AFA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004E048 0004AFA8 7C 08 02 A6 */ mflr r0 -/* 8004E04C 0004AFAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004E050 0004AFB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004E054 0004AFB4 7C 9F 23 78 */ mr r31, r4 -/* 8004E058 0004AFB8 93 C1 00 08 */ stw r30, 8(r1) -/* 8004E05C 0004AFBC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8004E060 0004AFC0 41 82 00 18 */ beq lbl_8004E078 -/* 8004E064 0004AFC4 48 00 00 31 */ bl "clear__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv" -/* 8004E068 0004AFC8 7F E0 07 35 */ extsh. r0, r31 -/* 8004E06C 0004AFCC 40 81 00 0C */ ble lbl_8004E078 -/* 8004E070 0004AFD0 7F C3 F3 78 */ mr r3, r30 -/* 8004E074 0004AFD4 48 2C 78 BD */ bl Free__7CMemoryFPCv -lbl_8004E078: -/* 8004E078 0004AFD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004E07C 0004AFDC 7F C3 F3 78 */ mr r3, r30 -/* 8004E080 0004AFE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004E084 0004AFE4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004E088 0004AFE8 7C 08 03 A6 */ mtlr r0 -/* 8004E08C 0004AFEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004E090 0004AFF0 4E 80 00 20 */ blr - -.global "clear__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv" -"clear__Q24rstl36reserved_vector<15CCameraBlurPass,9>Fv": -/* 8004E094 0004AFF4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004E098 0004AFF8 7C 08 02 A6 */ mflr r0 -/* 8004E09C 0004AFFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004E0A0 0004B000 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8004E0A4 0004B004 3B E0 00 00 */ li r31, 0 -/* 8004E0A8 0004B008 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004E0AC 0004B00C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8004E0B0 0004B010 3B A0 00 00 */ li r29, 0 -/* 8004E0B4 0004B014 93 81 00 10 */ stw r28, 0x10(r1) -/* 8004E0B8 0004B018 7C 7C 1B 78 */ mr r28, r3 -/* 8004E0BC 0004B01C 3B DC 00 04 */ addi r30, r28, 4 -/* 8004E0C0 0004B020 48 00 00 40 */ b lbl_8004E100 -lbl_8004E0C4: -/* 8004E0C4 0004B024 28 1E 00 00 */ cmplwi r30, 0 -/* 8004E0C8 0004B028 41 82 00 30 */ beq lbl_8004E0F8 -/* 8004E0CC 0004B02C 41 82 00 2C */ beq lbl_8004E0F8 -/* 8004E0D0 0004B030 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 8004E0D4 0004B034 28 00 00 00 */ cmplwi r0, 0 -/* 8004E0D8 0004B038 41 82 00 1C */ beq lbl_8004E0F4 -/* 8004E0DC 0004B03C 28 1E 00 00 */ cmplwi r30, 0 -/* 8004E0E0 0004B040 41 82 00 14 */ beq lbl_8004E0F4 -/* 8004E0E4 0004B044 41 82 00 10 */ beq lbl_8004E0F4 -/* 8004E0E8 0004B048 7F C3 F3 78 */ mr r3, r30 -/* 8004E0EC 0004B04C 38 80 00 00 */ li r4, 0 -/* 8004E0F0 0004B050 48 2F 2D 51 */ bl __dt__6CTokenFv -lbl_8004E0F4: -/* 8004E0F4 0004B054 9B FE 00 0C */ stb r31, 0xc(r30) -lbl_8004E0F8: -/* 8004E0F8 0004B058 3B DE 00 34 */ addi r30, r30, 0x34 -/* 8004E0FC 0004B05C 3B BD 00 01 */ addi r29, r29, 1 -lbl_8004E100: -/* 8004E100 0004B060 80 1C 00 00 */ lwz r0, 0(r28) -/* 8004E104 0004B064 7C 1D 00 00 */ cmpw r29, r0 -/* 8004E108 0004B068 41 80 FF BC */ blt lbl_8004E0C4 -/* 8004E10C 0004B06C 38 00 00 00 */ li r0, 0 -/* 8004E110 0004B070 90 1C 00 00 */ stw r0, 0(r28) -/* 8004E114 0004B074 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004E118 0004B078 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004E11C 0004B07C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004E120 0004B080 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8004E124 0004B084 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8004E128 0004B088 7C 08 03 A6 */ mtlr r0 -/* 8004E12C 0004B08C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004E130 0004B090 4E 80 00 20 */ blr - -.global "__ct__13CStateManagerFRCQ24rstl26ncrc_ptr<14CScriptMailbox>RCQ24rstl25ncrc_ptr<13CMapWorldInfo>RCQ24rstl24ncrc_ptr<12CPlayerState>RCQ24rstl30ncrc_ptr<18CWorldTransManager>" -"__ct__13CStateManagerFRCQ24rstl26ncrc_ptr<14CScriptMailbox>RCQ24rstl25ncrc_ptr<13CMapWorldInfo>RCQ24rstl24ncrc_ptr<12CPlayerState>RCQ24rstl30ncrc_ptr<18CWorldTransManager>": -/* 8004E134 0004B094 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8004E138 0004B098 7C 08 02 A6 */ mflr r0 -/* 8004E13C 0004B09C 39 20 00 00 */ li r9, 0 -/* 8004E140 0004B0A0 90 01 01 04 */ stw r0, 0x104(r1) -/* 8004E144 0004B0A4 38 00 00 80 */ li r0, 0x80 -/* 8004E148 0004B0A8 BF 21 00 E4 */ stmw r25, 0xe4(r1) -/* 8004E14C 0004B0AC 7C 7F 1B 78 */ mr r31, r3 -/* 8004E150 0004B0B0 7C 9A 23 78 */ mr r26, r4 -/* 8004E154 0004B0B4 7C BB 2B 78 */ mr r27, r5 -/* 8004E158 0004B0B8 7C DC 33 78 */ mr r28, r6 -/* 8004E15C 0004B0BC 7C FD 3B 78 */ mr r29, r7 -/* 8004E160 0004B0C0 7D 1E 43 78 */ mr r30, r8 -/* 8004E164 0004B0C4 B1 23 00 00 */ sth r9, 0(r3) -/* 8004E168 0004B0C8 38 60 04 00 */ li r3, 0x400 -/* 8004E16C 0004B0CC 90 7F 00 04 */ stw r3, 4(r31) -/* 8004E170 0004B0D0 38 7F 00 08 */ addi r3, r31, 8 -/* 8004E174 0004B0D4 7C 09 03 A6 */ mtctr r0 -lbl_8004E178: -/* 8004E178 0004B0D8 28 03 00 00 */ cmplwi r3, 0 -/* 8004E17C 0004B0DC 41 82 00 0C */ beq lbl_8004E188 -/* 8004E180 0004B0E0 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) -/* 8004E184 0004B0E4 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004E188: -/* 8004E188 0004B0E8 34 63 00 02 */ addic. r3, r3, 2 -/* 8004E18C 0004B0EC 41 82 00 0C */ beq lbl_8004E198 -/* 8004E190 0004B0F0 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) -/* 8004E194 0004B0F4 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004E198: -/* 8004E198 0004B0F8 34 63 00 02 */ addic. r3, r3, 2 -/* 8004E19C 0004B0FC 41 82 00 0C */ beq lbl_8004E1A8 -/* 8004E1A0 0004B100 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) -/* 8004E1A4 0004B104 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004E1A8: -/* 8004E1A8 0004B108 34 63 00 02 */ addic. r3, r3, 2 -/* 8004E1AC 0004B10C 41 82 00 0C */ beq lbl_8004E1B8 -/* 8004E1B0 0004B110 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) -/* 8004E1B4 0004B114 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004E1B8: -/* 8004E1B8 0004B118 34 63 00 02 */ addic. r3, r3, 2 -/* 8004E1BC 0004B11C 41 82 00 0C */ beq lbl_8004E1C8 -/* 8004E1C0 0004B120 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) -/* 8004E1C4 0004B124 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004E1C8: -/* 8004E1C8 0004B128 34 63 00 02 */ addic. r3, r3, 2 -/* 8004E1CC 0004B12C 41 82 00 0C */ beq lbl_8004E1D8 -/* 8004E1D0 0004B130 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) -/* 8004E1D4 0004B134 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004E1D8: -/* 8004E1D8 0004B138 34 63 00 02 */ addic. r3, r3, 2 -/* 8004E1DC 0004B13C 41 82 00 0C */ beq lbl_8004E1E8 -/* 8004E1E0 0004B140 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) -/* 8004E1E4 0004B144 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004E1E8: -/* 8004E1E8 0004B148 34 63 00 02 */ addic. r3, r3, 2 -/* 8004E1EC 0004B14C 41 82 00 0C */ beq lbl_8004E1F8 -/* 8004E1F0 0004B150 A0 0D 82 60 */ lhz r0, lbl_805A6E20@sda21(r13) -/* 8004E1F4 0004B154 B0 03 00 00 */ sth r0, 0(r3) -lbl_8004E1F8: -/* 8004E1F8 0004B158 39 29 00 07 */ addi r9, r9, 7 -/* 8004E1FC 0004B15C 38 63 00 02 */ addi r3, r3, 2 -/* 8004E200 0004B160 42 00 FF 78 */ bdnz lbl_8004E178 -/* 8004E204 0004B164 38 60 00 00 */ li r3, 0 -/* 8004E208 0004B168 38 00 00 08 */ li r0, 8 -/* 8004E20C 0004B16C 34 9F 08 0C */ addic. r4, r31, 0x80c -/* 8004E210 0004B170 98 61 00 6C */ stb r3, 0x6c(r1) -/* 8004E214 0004B174 90 61 00 70 */ stw r3, 0x70(r1) -/* 8004E218 0004B178 90 1F 08 08 */ stw r0, 0x808(r31) -/* 8004E21C 0004B17C 41 82 00 10 */ beq lbl_8004E22C -/* 8004E220 0004B180 98 64 00 00 */ stb r3, 0(r4) -/* 8004E224 0004B184 98 61 00 6C */ stb r3, 0x6c(r1) -/* 8004E228 0004B188 90 64 00 04 */ stw r3, 4(r4) -lbl_8004E22C: -/* 8004E22C 0004B18C 34 84 00 08 */ addic. r4, r4, 8 -/* 8004E230 0004B190 41 82 00 14 */ beq lbl_8004E244 -/* 8004E234 0004B194 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8004E238 0004B198 98 04 00 00 */ stb r0, 0(r4) -/* 8004E23C 0004B19C 90 64 00 04 */ stw r3, 4(r4) -/* 8004E240 0004B1A0 98 61 00 6C */ stb r3, 0x6c(r1) -lbl_8004E244: -/* 8004E244 0004B1A4 34 84 00 08 */ addic. r4, r4, 8 -/* 8004E248 0004B1A8 41 82 00 14 */ beq lbl_8004E25C -/* 8004E24C 0004B1AC 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8004E250 0004B1B0 98 04 00 00 */ stb r0, 0(r4) -/* 8004E254 0004B1B4 90 64 00 04 */ stw r3, 4(r4) -/* 8004E258 0004B1B8 98 61 00 6C */ stb r3, 0x6c(r1) -lbl_8004E25C: -/* 8004E25C 0004B1BC 34 84 00 08 */ addic. r4, r4, 8 -/* 8004E260 0004B1C0 41 82 00 14 */ beq lbl_8004E274 -/* 8004E264 0004B1C4 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8004E268 0004B1C8 98 04 00 00 */ stb r0, 0(r4) -/* 8004E26C 0004B1CC 90 64 00 04 */ stw r3, 4(r4) -/* 8004E270 0004B1D0 98 61 00 6C */ stb r3, 0x6c(r1) -lbl_8004E274: -/* 8004E274 0004B1D4 34 84 00 08 */ addic. r4, r4, 8 -/* 8004E278 0004B1D8 41 82 00 14 */ beq lbl_8004E28C -/* 8004E27C 0004B1DC 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8004E280 0004B1E0 98 04 00 00 */ stb r0, 0(r4) -/* 8004E284 0004B1E4 90 64 00 04 */ stw r3, 4(r4) -/* 8004E288 0004B1E8 98 61 00 6C */ stb r3, 0x6c(r1) -lbl_8004E28C: -/* 8004E28C 0004B1EC 34 84 00 08 */ addic. r4, r4, 8 -/* 8004E290 0004B1F0 41 82 00 14 */ beq lbl_8004E2A4 -/* 8004E294 0004B1F4 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8004E298 0004B1F8 98 04 00 00 */ stb r0, 0(r4) -/* 8004E29C 0004B1FC 90 64 00 04 */ stw r3, 4(r4) -/* 8004E2A0 0004B200 98 61 00 6C */ stb r3, 0x6c(r1) -lbl_8004E2A4: -/* 8004E2A4 0004B204 34 84 00 08 */ addic. r4, r4, 8 -/* 8004E2A8 0004B208 41 82 00 14 */ beq lbl_8004E2BC -/* 8004E2AC 0004B20C 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8004E2B0 0004B210 98 04 00 00 */ stb r0, 0(r4) -/* 8004E2B4 0004B214 90 64 00 04 */ stw r3, 4(r4) -/* 8004E2B8 0004B218 98 61 00 6C */ stb r3, 0x6c(r1) -lbl_8004E2BC: -/* 8004E2BC 0004B21C 34 84 00 08 */ addic. r4, r4, 8 -/* 8004E2C0 0004B220 41 82 00 14 */ beq lbl_8004E2D4 -/* 8004E2C4 0004B224 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8004E2C8 0004B228 98 04 00 00 */ stb r0, 0(r4) -/* 8004E2CC 0004B22C 90 64 00 04 */ stw r3, 4(r4) -/* 8004E2D0 0004B230 98 61 00 6C */ stb r3, 0x6c(r1) -lbl_8004E2D4: -/* 8004E2D4 0004B234 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8004E2D8 0004B238 28 00 00 00 */ cmplwi r0, 0 -/* 8004E2DC 0004B23C 41 82 00 0C */ beq lbl_8004E2E8 -/* 8004E2E0 0004B240 80 61 00 70 */ lwz r3, 0x70(r1) -/* 8004E2E4 0004B244 48 2C 76 4D */ bl Free__7CMemoryFPCv -lbl_8004E2E8: -/* 8004E2E8 0004B248 38 C0 00 00 */ li r6, 0 -/* 8004E2EC 0004B24C 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha -/* 8004E2F0 0004B250 90 DF 08 4C */ stw r6, 0x84c(r31) -/* 8004E2F4 0004B254 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l -/* 8004E2F8 0004B258 3C 60 00 01 */ lis r3, 0x0000F3C8@ha -/* 8004E2FC 0004B25C 38 1F 08 60 */ addi r0, r31, 0x860 -/* 8004E300 0004B260 90 DF 08 50 */ stw r6, 0x850(r31) -/* 8004E304 0004B264 38 63 F3 C8 */ addi r3, r3, 0x0000F3C8@l -/* 8004E308 0004B268 38 A0 00 00 */ li r5, 0 -/* 8004E30C 0004B26C 90 1F 08 58 */ stw r0, 0x858(r31) -/* 8004E310 0004B270 90 1F 08 5C */ stw r0, 0x85c(r31) -/* 8004E314 0004B274 90 1F 08 60 */ stw r0, 0x860(r31) -/* 8004E318 0004B278 90 1F 08 64 */ stw r0, 0x864(r31) -/* 8004E31C 0004B27C 90 DF 08 68 */ stw r6, 0x868(r31) -/* 8004E320 0004B280 48 00 13 1D */ bl "__nw__36TOneStatic<22CStateManagerContainer>FUlPCcPCc" -/* 8004E324 0004B284 7C 79 1B 79 */ or. r25, r3, r3 -/* 8004E328 0004B288 41 82 00 6C */ beq lbl_8004E394 -/* 8004E32C 0004B28C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004E330 0004B290 38 81 00 20 */ addi r4, r1, 0x20 -/* 8004E334 0004B294 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8004E338 0004B298 4B FB DD A9 */ bl __ct__14CCameraManagerF9TUniqueId -/* 8004E33C 0004B29C 38 79 03 C0 */ addi r3, r25, 0x3c0 -/* 8004E340 0004B2A0 48 0F C6 E9 */ bl __ct__Q22SL18CSortedListManagerFv -/* 8004E344 0004B2A4 3C 79 00 01 */ addis r3, r25, 1 -/* 8004E348 0004B2A8 38 63 E3 D8 */ addi r3, r3, -7208 -/* 8004E34C 0004B2AC 48 07 3F 89 */ bl __ct__10CWeaponMgrFv -/* 8004E350 0004B2B0 3C 79 00 01 */ addis r3, r25, 1 -/* 8004E354 0004B2B4 38 63 E3 EC */ addi r3, r3, -7188 -/* 8004E358 0004B2B8 48 0E 13 71 */ bl __ct__18CFluidPlaneManagerFv -/* 8004E35C 0004B2BC 3C 79 00 01 */ addis r3, r25, 1 -/* 8004E360 0004B2C0 38 63 E5 10 */ addi r3, r3, -6896 -/* 8004E364 0004B2C4 48 1C 4F 35 */ bl __ct__13CEnvFxManagerFv -/* 8004E368 0004B2C8 3C 79 00 01 */ addis r3, r25, 1 -/* 8004E36C 0004B2CC 38 63 F1 68 */ addi r3, r3, -3736 -/* 8004E370 0004B2D0 48 19 73 99 */ bl __ct__20CActorModelParticlesFv -/* 8004E374 0004B2D4 3C 79 00 01 */ addis r3, r25, 1 -/* 8004E378 0004B2D8 38 63 F2 50 */ addi r3, r3, -3504 -/* 8004E37C 0004B2DC 48 1D FF 75 */ bl __ct__14CRumbleManagerFv -/* 8004E380 0004B2E0 3C 79 00 01 */ addis r3, r25, 1 -/* 8004E384 0004B2E4 38 00 00 00 */ li r0, 0 -/* 8004E388 0004B2E8 90 03 F3 44 */ stw r0, -0xcbc(r3) -/* 8004E38C 0004B2EC 90 03 F3 70 */ stw r0, -0xc90(r3) -/* 8004E390 0004B2F0 90 03 F3 9C */ stw r0, -0xc64(r3) -lbl_8004E394: -/* 8004E394 0004B2F4 93 3F 08 6C */ stw r25, 0x86c(r31) -/* 8004E398 0004B2F8 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha -/* 8004E39C 0004B2FC 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l -/* 8004E3A0 0004B300 89 01 00 10 */ lbz r8, 0x10(r1) -/* 8004E3A4 0004B304 80 BF 08 6C */ lwz r5, 0x86c(r31) -/* 8004E3A8 0004B308 38 00 00 00 */ li r0, 0 -/* 8004E3AC 0004B30C 88 E1 00 1C */ lbz r7, 0x1c(r1) -/* 8004E3B0 0004B310 38 61 00 64 */ addi r3, r1, 0x64 -/* 8004E3B4 0004B314 90 BF 08 70 */ stw r5, 0x870(r31) -/* 8004E3B8 0004B318 38 A4 00 28 */ addi r5, r4, 0x28 -/* 8004E3BC 0004B31C 88 C1 00 0C */ lbz r6, 0xc(r1) -/* 8004E3C0 0004B320 81 3F 08 6C */ lwz r9, 0x86c(r31) -/* 8004E3C4 0004B324 88 81 00 18 */ lbz r4, 0x18(r1) -/* 8004E3C8 0004B328 39 29 03 C0 */ addi r9, r9, 0x3c0 -/* 8004E3CC 0004B32C 91 3F 08 74 */ stw r9, 0x874(r31) -/* 8004E3D0 0004B330 81 3F 08 6C */ lwz r9, 0x86c(r31) -/* 8004E3D4 0004B334 3D 29 00 01 */ addis r9, r9, 1 -/* 8004E3D8 0004B338 39 29 E3 D8 */ addi r9, r9, -7208 -/* 8004E3DC 0004B33C 91 3F 08 78 */ stw r9, 0x878(r31) -/* 8004E3E0 0004B340 81 3F 08 6C */ lwz r9, 0x86c(r31) -/* 8004E3E4 0004B344 3D 29 00 01 */ addis r9, r9, 1 -/* 8004E3E8 0004B348 39 29 E3 EC */ addi r9, r9, -7188 -/* 8004E3EC 0004B34C 91 3F 08 7C */ stw r9, 0x87c(r31) -/* 8004E3F0 0004B350 81 3F 08 6C */ lwz r9, 0x86c(r31) -/* 8004E3F4 0004B354 3D 29 00 01 */ addis r9, r9, 1 -/* 8004E3F8 0004B358 39 29 E5 10 */ addi r9, r9, -6896 -/* 8004E3FC 0004B35C 91 3F 08 80 */ stw r9, 0x880(r31) -/* 8004E400 0004B360 81 3F 08 6C */ lwz r9, 0x86c(r31) -/* 8004E404 0004B364 3D 29 00 01 */ addis r9, r9, 1 -/* 8004E408 0004B368 39 29 F1 68 */ addi r9, r9, -3736 -/* 8004E40C 0004B36C 91 3F 08 84 */ stw r9, 0x884(r31) -/* 8004E410 0004B370 81 3F 08 6C */ lwz r9, 0x86c(r31) -/* 8004E414 0004B374 3D 29 00 01 */ addis r9, r9, 1 -/* 8004E418 0004B378 39 29 F2 50 */ addi r9, r9, -3504 -/* 8004E41C 0004B37C 91 3F 08 8C */ stw r9, 0x88c(r31) -/* 8004E420 0004B380 99 1F 08 90 */ stb r8, 0x890(r31) -/* 8004E424 0004B384 98 FF 08 91 */ stb r7, 0x891(r31) -/* 8004E428 0004B388 90 1F 08 94 */ stw r0, 0x894(r31) -/* 8004E42C 0004B38C 90 1F 08 98 */ stw r0, 0x898(r31) -/* 8004E430 0004B390 90 1F 08 9C */ stw r0, 0x89c(r31) -/* 8004E434 0004B394 90 1F 08 A0 */ stw r0, 0x8a0(r31) -/* 8004E438 0004B398 98 DF 08 A4 */ stb r6, 0x8a4(r31) -/* 8004E43C 0004B39C 98 9F 08 A5 */ stb r4, 0x8a5(r31) -/* 8004E440 0004B3A0 90 1F 08 A8 */ stw r0, 0x8a8(r31) -/* 8004E444 0004B3A4 90 1F 08 AC */ stw r0, 0x8ac(r31) -/* 8004E448 0004B3A8 90 1F 08 B0 */ stw r0, 0x8b0(r31) -/* 8004E44C 0004B3AC 90 1F 08 B4 */ stw r0, 0x8b4(r31) -/* 8004E450 0004B3B0 80 9C 00 00 */ lwz r4, 0(r28) -/* 8004E454 0004B3B4 90 9F 08 B8 */ stw r4, 0x8b8(r31) -/* 8004E458 0004B3B8 80 DF 08 B8 */ lwz r6, 0x8b8(r31) -/* 8004E45C 0004B3BC 80 86 00 04 */ lwz r4, 4(r6) -/* 8004E460 0004B3C0 38 84 00 01 */ addi r4, r4, 1 -/* 8004E464 0004B3C4 90 86 00 04 */ stw r4, 4(r6) -/* 8004E468 0004B3C8 80 9A 00 00 */ lwz r4, 0(r26) -/* 8004E46C 0004B3CC 90 9F 08 BC */ stw r4, 0x8bc(r31) -/* 8004E470 0004B3D0 80 DF 08 BC */ lwz r6, 0x8bc(r31) -/* 8004E474 0004B3D4 80 86 00 04 */ lwz r4, 4(r6) -/* 8004E478 0004B3D8 38 84 00 01 */ addi r4, r4, 1 -/* 8004E47C 0004B3DC 90 86 00 04 */ stw r4, 4(r6) -/* 8004E480 0004B3E0 80 9B 00 00 */ lwz r4, 0(r27) -/* 8004E484 0004B3E4 90 9F 08 C0 */ stw r4, 0x8c0(r31) -/* 8004E488 0004B3E8 80 DF 08 C0 */ lwz r6, 0x8c0(r31) -/* 8004E48C 0004B3EC 80 86 00 04 */ lwz r4, 4(r6) -/* 8004E490 0004B3F0 38 84 00 01 */ addi r4, r4, 1 -/* 8004E494 0004B3F4 90 86 00 04 */ stw r4, 4(r6) -/* 8004E498 0004B3F8 80 9D 00 00 */ lwz r4, 0(r29) -/* 8004E49C 0004B3FC 90 9F 08 C4 */ stw r4, 0x8c4(r31) -/* 8004E4A0 0004B400 80 DF 08 C4 */ lwz r6, 0x8c4(r31) -/* 8004E4A4 0004B404 80 86 00 04 */ lwz r4, 4(r6) -/* 8004E4A8 0004B408 38 84 00 01 */ addi r4, r4, 1 -/* 8004E4AC 0004B40C 90 86 00 04 */ stw r4, 4(r6) -/* 8004E4B0 0004B410 80 9E 00 00 */ lwz r4, 0(r30) -/* 8004E4B4 0004B414 90 9F 08 C8 */ stw r4, 0x8c8(r31) -/* 8004E4B8 0004B418 80 DF 08 C8 */ lwz r6, 0x8c8(r31) -/* 8004E4BC 0004B41C 80 86 00 04 */ lwz r4, 4(r6) -/* 8004E4C0 0004B420 38 84 00 01 */ addi r4, r4, 1 -/* 8004E4C4 0004B424 90 86 00 04 */ stw r4, 4(r6) -/* 8004E4C8 0004B428 90 1F 08 CC */ stw r0, 0x8cc(r31) -/* 8004E4CC 0004B42C 80 8D A3 90 */ lwz r4, lbl_805A8F50@sda21(r13) -/* 8004E4D0 0004B430 90 9F 08 D0 */ stw r4, 0x8d0(r31) -/* 8004E4D4 0004B434 90 1F 08 D4 */ stw r0, 0x8d4(r31) -/* 8004E4D8 0004B438 90 1F 08 D8 */ stw r0, 0x8d8(r31) -/* 8004E4DC 0004B43C 90 1F 08 DC */ stw r0, 0x8dc(r31) -/* 8004E4E0 0004B440 90 1F 08 E4 */ stw r0, 0x8e4(r31) -/* 8004E4E4 0004B444 90 1F 08 E8 */ stw r0, 0x8e8(r31) -/* 8004E4E8 0004B448 90 1F 08 EC */ stw r0, 0x8ec(r31) -/* 8004E4EC 0004B44C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8004E4F0 0004B450 81 84 00 00 */ lwz r12, 0(r4) -/* 8004E4F4 0004B454 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8004E4F8 0004B458 7D 89 03 A6 */ mtctr r12 -/* 8004E4FC 0004B45C 4E 80 04 21 */ bctrl -/* 8004E500 0004B460 3B 3F 08 F0 */ addi r25, r31, 0x8f0 -/* 8004E504 0004B464 38 81 00 64 */ addi r4, r1, 0x64 -/* 8004E508 0004B468 7F 23 CB 78 */ mr r3, r25 -/* 8004E50C 0004B46C 48 2F 29 9D */ bl __ct__6CTokenFRC6CToken -/* 8004E510 0004B470 38 00 00 00 */ li r0, 0 -/* 8004E514 0004B474 38 61 00 64 */ addi r3, r1, 0x64 -/* 8004E518 0004B478 90 19 00 08 */ stw r0, 8(r25) -/* 8004E51C 0004B47C 38 80 FF FF */ li r4, -1 -/* 8004E520 0004B480 48 2F 29 21 */ bl __dt__6CTokenFv -/* 8004E524 0004B484 38 7F 08 FC */ addi r3, r31, 0x8fc -/* 8004E528 0004B488 38 80 00 00 */ li r4, 0 -/* 8004E52C 0004B48C 48 2C 40 C1 */ bl __ct__9CRandom16FUi -/* 8004E530 0004B490 38 A0 00 00 */ li r5, 0 -/* 8004E534 0004B494 88 81 00 08 */ lbz r4, 8(r1) -/* 8004E538 0004B498 90 BF 09 00 */ stw r5, 0x900(r31) -/* 8004E53C 0004B49C 38 7F 0B 54 */ addi r3, r31, 0xb54 -/* 8004E540 0004B4A0 88 01 00 14 */ lbz r0, 0x14(r1) -/* 8004E544 0004B4A4 90 BF 09 04 */ stw r5, 0x904(r31) -/* 8004E548 0004B4A8 90 BF 09 08 */ stw r5, 0x908(r31) -/* 8004E54C 0004B4AC 90 BF 0B 3C */ stw r5, 0xb3c(r31) -/* 8004E550 0004B4B0 98 9F 0B 40 */ stb r4, 0xb40(r31) -/* 8004E554 0004B4B4 98 1F 0B 41 */ stb r0, 0xb41(r31) -/* 8004E558 0004B4B8 90 BF 0B 44 */ stw r5, 0xb44(r31) -/* 8004E55C 0004B4BC 90 BF 0B 48 */ stw r5, 0xb48(r31) -/* 8004E560 0004B4C0 90 BF 0B 4C */ stw r5, 0xb4c(r31) -/* 8004E564 0004B4C4 90 BF 0B 50 */ stw r5, 0xb50(r31) -/* 8004E568 0004B4C8 48 2F B8 B9 */ bl __ct__11CFinalInputFv -/* 8004E56C 0004B4CC 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8004E570 0004B4D0 48 09 F2 1D */ bl __ct__17CCameraFilterPassFv -/* 8004E574 0004B4D4 38 60 00 09 */ li r3, 9 -/* 8004E578 0004B4D8 38 00 00 09 */ li r0, 9 -/* 8004E57C 0004B4DC 90 7F 0B 84 */ stw r3, 0xb84(r31) -/* 8004E580 0004B4E0 38 9F 0B 88 */ addi r4, r31, 0xb88 -/* 8004E584 0004B4E4 38 A1 00 CC */ addi r5, r1, 0xcc -/* 8004E588 0004B4E8 7C 09 03 A6 */ mtctr r0 -lbl_8004E58C: -/* 8004E58C 0004B4EC 28 04 00 00 */ cmplwi r4, 0 -/* 8004E590 0004B4F0 41 82 00 64 */ beq lbl_8004E5F4 -/* 8004E594 0004B4F4 80 61 00 A8 */ lwz r3, 0xa8(r1) -/* 8004E598 0004B4F8 38 00 00 00 */ li r0, 0 -/* 8004E59C 0004B4FC 90 64 00 00 */ stw r3, 0(r4) -/* 8004E5A0 0004B500 80 61 00 AC */ lwz r3, 0xac(r1) -/* 8004E5A4 0004B504 90 64 00 04 */ stw r3, 4(r4) -/* 8004E5A8 0004B508 80 61 00 B0 */ lwz r3, 0xb0(r1) -/* 8004E5AC 0004B50C 90 64 00 08 */ stw r3, 8(r4) -/* 8004E5B0 0004B510 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 8004E5B4 0004B514 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8004E5B8 0004B518 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 8004E5BC 0004B51C D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8004E5C0 0004B520 80 61 00 BC */ lwz r3, 0xbc(r1) -/* 8004E5C4 0004B524 90 64 00 14 */ stw r3, 0x14(r4) -/* 8004E5C8 0004B528 80 61 00 C0 */ lwz r3, 0xc0(r1) -/* 8004E5CC 0004B52C 90 64 00 18 */ stw r3, 0x18(r4) -/* 8004E5D0 0004B530 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 8004E5D4 0004B534 90 64 00 1C */ stw r3, 0x1c(r4) -/* 8004E5D8 0004B538 80 61 00 C8 */ lwz r3, 0xc8(r1) -/* 8004E5DC 0004B53C 90 64 00 20 */ stw r3, 0x20(r4) -/* 8004E5E0 0004B540 88 61 00 CC */ lbz r3, 0xcc(r1) -/* 8004E5E4 0004B544 98 64 00 24 */ stb r3, 0x24(r4) -/* 8004E5E8 0004B548 80 61 00 D0 */ lwz r3, 0xd0(r1) -/* 8004E5EC 0004B54C 90 64 00 28 */ stw r3, 0x28(r4) -/* 8004E5F0 0004B550 98 01 00 CC */ stb r0, 0xcc(r1) -lbl_8004E5F4: -/* 8004E5F4 0004B554 38 84 00 2C */ addi r4, r4, 0x2c -/* 8004E5F8 0004B558 42 00 FF 94 */ bdnz lbl_8004E58C -/* 8004E5FC 0004B55C 28 05 00 00 */ cmplwi r5, 0 -/* 8004E600 0004B560 41 82 00 34 */ beq lbl_8004E634 -/* 8004E604 0004B564 88 01 00 CC */ lbz r0, 0xcc(r1) -/* 8004E608 0004B568 28 00 00 00 */ cmplwi r0, 0 -/* 8004E60C 0004B56C 41 82 00 28 */ beq lbl_8004E634 -/* 8004E610 0004B570 83 21 00 D0 */ lwz r25, 0xd0(r1) -/* 8004E614 0004B574 28 19 00 00 */ cmplwi r25, 0 -/* 8004E618 0004B578 41 82 00 1C */ beq lbl_8004E634 -/* 8004E61C 0004B57C 41 82 00 10 */ beq lbl_8004E62C -/* 8004E620 0004B580 7F 23 CB 78 */ mr r3, r25 -/* 8004E624 0004B584 38 80 00 00 */ li r4, 0 -/* 8004E628 0004B588 48 2F 28 19 */ bl __dt__6CTokenFv -lbl_8004E62C: -/* 8004E62C 0004B58C 7F 23 CB 78 */ mr r3, r25 -/* 8004E630 0004B590 48 2C 73 01 */ bl Free__7CMemoryFPCv -lbl_8004E634: -/* 8004E634 0004B594 38 61 00 74 */ addi r3, r1, 0x74 -/* 8004E638 0004B598 48 09 DA 05 */ bl __ct__15CCameraBlurPassFv -/* 8004E63C 0004B59C 38 7F 0D 14 */ addi r3, r31, 0xd14 -/* 8004E640 0004B5A0 38 A1 00 74 */ addi r5, r1, 0x74 -/* 8004E644 0004B5A4 38 80 00 09 */ li r4, 9 -/* 8004E648 0004B5A8 48 00 0C 99 */ bl sub_8004f2e0 -/* 8004E64C 0004B5AC 88 01 00 80 */ lbz r0, 0x80(r1) -/* 8004E650 0004B5B0 28 00 00 00 */ cmplwi r0, 0 -/* 8004E654 0004B5B4 41 82 00 1C */ beq lbl_8004E670 -/* 8004E658 0004B5B8 34 61 00 74 */ addic. r3, r1, 0x74 -/* 8004E65C 0004B5BC 41 82 00 14 */ beq lbl_8004E670 -/* 8004E660 0004B5C0 28 03 00 00 */ cmplwi r3, 0 -/* 8004E664 0004B5C4 41 82 00 0C */ beq lbl_8004E670 -/* 8004E668 0004B5C8 38 80 00 00 */ li r4, 0 -/* 8004E66C 0004B5CC 48 2F 27 D5 */ bl __dt__6CTokenFv -lbl_8004E670: -/* 8004E670 0004B5D0 38 C0 00 00 */ li r6, 0 -/* 8004E674 0004B5D4 38 00 FF FF */ li r0, -1 -/* 8004E678 0004B5D8 98 C1 00 80 */ stb r6, 0x80(r1) -/* 8004E67C 0004B5DC 38 7F 0E F8 */ addi r3, r31, 0xef8 -/* 8004E680 0004B5E0 38 80 00 00 */ li r4, 0 -/* 8004E684 0004B5E4 38 A0 00 00 */ li r5, 0 -/* 8004E688 0004B5E8 90 1F 0E EC */ stw r0, 0xeec(r31) -/* 8004E68C 0004B5EC 90 DF 0E F0 */ stw r6, 0xef0(r31) -/* 8004E690 0004B5F0 90 1F 0E F4 */ stw r0, 0xef4(r31) -/* 8004E694 0004B5F4 48 2C 5C B9 */ bl __ct__9CVector2iFii -/* 8004E698 0004B5F8 38 7F 0F 00 */ addi r3, r31, 0xf00 -/* 8004E69C 0004B5FC 38 80 00 00 */ li r4, 0 -/* 8004E6A0 0004B600 38 A0 00 00 */ li r5, 0 -/* 8004E6A4 0004B604 48 2C 5C A9 */ bl __ct__9CVector2iFii -/* 8004E6A8 0004B608 39 40 FF FF */ li r10, -1 -/* 8004E6AC 0004B60C 3C 60 80 3D */ lis r3, lbl_803CCEE0@ha -/* 8004E6B0 0004B610 91 5F 0F 08 */ stw r10, 0xf08(r31) -/* 8004E6B4 0004B614 38 83 CE E0 */ addi r4, r3, lbl_803CCEE0@l -/* 8004E6B8 0004B618 C0 22 85 68 */ lfs f1, lbl_805AA288@sda21(r2) -/* 8004E6BC 0004B61C 39 00 00 00 */ li r8, 0 -/* 8004E6C0 0004B620 C0 02 85 64 */ lfs f0, lbl_805AA284@sda21(r2) -/* 8004E6C4 0004B624 38 E0 00 02 */ li r7, 2 -/* 8004E6C8 0004B628 D0 3F 0F 0C */ stfs f1, 0xf0c(r31) -/* 8004E6CC 0004B62C 38 DF 0F 48 */ addi r6, r31, 0xf48 -/* 8004E6D0 0004B630 38 1F 0F 60 */ addi r0, r31, 0xf60 -/* 8004E6D4 0004B634 38 60 20 0C */ li r3, 0x200c -/* 8004E6D8 0004B638 D0 3F 0F 10 */ stfs f1, 0xf10(r31) -/* 8004E6DC 0004B63C 38 A0 00 00 */ li r5, 0 -/* 8004E6E0 0004B640 D0 3F 0F 14 */ stfs f1, 0xf14(r31) -/* 8004E6E4 0004B644 A1 2D A3 8C */ lhz r9, lbl_805A8F4C@sda21(r13) -/* 8004E6E8 0004B648 B1 3F 0F 18 */ sth r9, 0xf18(r31) -/* 8004E6EC 0004B64C D0 3F 0F 1C */ stfs f1, 0xf1c(r31) -/* 8004E6F0 0004B650 91 1F 0F 20 */ stw r8, 0xf20(r31) -/* 8004E6F4 0004B654 D0 3F 0F 24 */ stfs f1, 0xf24(r31) -/* 8004E6F8 0004B658 D0 3F 0F 28 */ stfs f1, 0xf28(r31) -/* 8004E6FC 0004B65C D0 1F 0F 2C */ stfs f0, 0xf2c(r31) -/* 8004E700 0004B660 D0 1F 0F 30 */ stfs f0, 0xf30(r31) -/* 8004E704 0004B664 90 FF 0F 34 */ stw r7, 0xf34(r31) -/* 8004E708 0004B668 A0 ED A3 8C */ lhz r7, lbl_805A8F4C@sda21(r13) -/* 8004E70C 0004B66C B0 FF 0F 38 */ sth r7, 0xf38(r31) -/* 8004E710 0004B670 90 DF 0F 40 */ stw r6, 0xf40(r31) -/* 8004E714 0004B674 90 DF 0F 44 */ stw r6, 0xf44(r31) -/* 8004E718 0004B678 90 DF 0F 48 */ stw r6, 0xf48(r31) -/* 8004E71C 0004B67C 90 DF 0F 4C */ stw r6, 0xf4c(r31) -/* 8004E720 0004B680 91 1F 0F 50 */ stw r8, 0xf50(r31) -/* 8004E724 0004B684 90 1F 0F 58 */ stw r0, 0xf58(r31) -/* 8004E728 0004B688 90 1F 0F 5C */ stw r0, 0xf5c(r31) -/* 8004E72C 0004B68C 90 1F 0F 60 */ stw r0, 0xf60(r31) -/* 8004E730 0004B690 90 1F 0F 64 */ stw r0, 0xf64(r31) -/* 8004E734 0004B694 91 1F 0F 68 */ stw r8, 0xf68(r31) -/* 8004E738 0004B698 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004E73C 0004B69C B0 1F 0F 6C */ sth r0, 0xf6c(r31) -/* 8004E740 0004B6A0 91 1F 0F 70 */ stw r8, 0xf70(r31) -/* 8004E744 0004B6A4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004E748 0004B6A8 B0 1F 0F 74 */ sth r0, 0xf74(r31) -/* 8004E74C 0004B6AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8004E750 0004B6B0 B0 1F 0F 76 */ sth r0, 0xf76(r31) -/* 8004E754 0004B6B4 D0 3F 0F 78 */ stfs f1, 0xf78(r31) -/* 8004E758 0004B6B8 91 1F 0F 7C */ stw r8, 0xf7c(r31) -/* 8004E75C 0004B6BC 91 1F 0F 80 */ stw r8, 0xf80(r31) -/* 8004E760 0004B6C0 91 5F 0F 84 */ stw r10, 0xf84(r31) -/* 8004E764 0004B6C4 91 5F 0F 88 */ stw r10, 0xf88(r31) -/* 8004E768 0004B6C8 D0 3F 0F 8C */ stfs f1, 0xf8c(r31) -/* 8004E76C 0004B6CC 91 1F 0F 90 */ stw r8, 0xf90(r31) -/* 8004E770 0004B6D0 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 8004E774 0004B6D4 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 -/* 8004E778 0004B6D8 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 8004E77C 0004B6DC 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 8004E780 0004B6E0 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 -/* 8004E784 0004B6E4 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 8004E788 0004B6E8 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 8004E78C 0004B6EC 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a -/* 8004E790 0004B6F0 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 8004E794 0004B6F4 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 8004E798 0004B6F8 51 00 26 F6 */ rlwimi r0, r8, 4, 0x1b, 0x1b -/* 8004E79C 0004B6FC 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 8004E7A0 0004B700 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 8004E7A4 0004B704 51 00 1F 38 */ rlwimi r0, r8, 3, 0x1c, 0x1c -/* 8004E7A8 0004B708 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 8004E7AC 0004B70C 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 8004E7B0 0004B710 51 00 17 7A */ rlwimi r0, r8, 2, 0x1d, 0x1d -/* 8004E7B4 0004B714 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 8004E7B8 0004B718 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 8004E7BC 0004B71C 51 00 0F BC */ rlwimi r0, r8, 1, 0x1e, 0x1e -/* 8004E7C0 0004B720 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 8004E7C4 0004B724 48 2C 70 A9 */ bl __nw__FUlPCcPCc -/* 8004E7C8 0004B728 7C 64 1B 79 */ or. r4, r3, r3 -/* 8004E7CC 0004B72C 41 82 00 10 */ beq lbl_8004E7DC -/* 8004E7D0 0004B730 38 80 00 00 */ li r4, 0 -/* 8004E7D4 0004B734 4B FC 18 65 */ bl __ct__11CObjectListF15EGameObjectList -/* 8004E7D8 0004B738 7C 64 1B 78 */ mr r4, r3 -lbl_8004E7DC: -/* 8004E7DC 0004B73C 7C 04 00 D0 */ neg r0, r4 -/* 8004E7E0 0004B740 3B 3F 08 0C */ addi r25, r31, 0x80c -/* 8004E7E4 0004B744 7C 03 23 78 */ or r3, r0, r4 -/* 8004E7E8 0004B748 38 01 00 5C */ addi r0, r1, 0x5c -/* 8004E7EC 0004B74C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8004E7F0 0004B750 90 81 00 60 */ stw r4, 0x60(r1) -/* 8004E7F4 0004B754 7C 00 C8 40 */ cmplw r0, r25 -/* 8004E7F8 0004B758 98 61 00 5C */ stb r3, 0x5c(r1) -/* 8004E7FC 0004B75C 41 82 00 30 */ beq lbl_8004E82C -/* 8004E800 0004B760 88 19 00 00 */ lbz r0, 0(r25) -/* 8004E804 0004B764 28 00 00 00 */ cmplwi r0, 0 -/* 8004E808 0004B768 41 82 00 0C */ beq lbl_8004E814 -/* 8004E80C 0004B76C 80 79 00 04 */ lwz r3, 4(r25) -/* 8004E810 0004B770 48 2C 71 21 */ bl Free__7CMemoryFPCv -lbl_8004E814: -/* 8004E814 0004B774 88 61 00 5C */ lbz r3, 0x5c(r1) -/* 8004E818 0004B778 38 00 00 00 */ li r0, 0 -/* 8004E81C 0004B77C 98 79 00 00 */ stb r3, 0(r25) -/* 8004E820 0004B780 80 61 00 60 */ lwz r3, 0x60(r1) -/* 8004E824 0004B784 90 79 00 04 */ stw r3, 4(r25) -/* 8004E828 0004B788 98 01 00 5C */ stb r0, 0x5c(r1) -lbl_8004E82C: -/* 8004E82C 0004B78C 88 01 00 5C */ lbz r0, 0x5c(r1) -/* 8004E830 0004B790 28 00 00 00 */ cmplwi r0, 0 -/* 8004E834 0004B794 41 82 00 0C */ beq lbl_8004E840 -/* 8004E838 0004B798 80 61 00 60 */ lwz r3, 0x60(r1) -/* 8004E83C 0004B79C 48 2C 70 F5 */ bl Free__7CMemoryFPCv -lbl_8004E840: -/* 8004E840 0004B7A0 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004E844 0004B7A4 38 60 20 0C */ li r3, 0x200c -/* 8004E848 0004B7A8 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004E84C 0004B7AC 38 A0 00 00 */ li r5, 0 -/* 8004E850 0004B7B0 48 2C 70 1D */ bl __nw__FUlPCcPCc -/* 8004E854 0004B7B4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8004E858 0004B7B8 41 82 00 0C */ beq lbl_8004E864 -/* 8004E85C 0004B7BC 48 16 A0 09 */ bl __ct__10CActorListFv -/* 8004E860 0004B7C0 7C 64 1B 78 */ mr r4, r3 -lbl_8004E864: -/* 8004E864 0004B7C4 7C 04 00 D0 */ neg r0, r4 -/* 8004E868 0004B7C8 3B 3F 08 14 */ addi r25, r31, 0x814 -/* 8004E86C 0004B7CC 7C 03 23 78 */ or r3, r0, r4 -/* 8004E870 0004B7D0 38 01 00 54 */ addi r0, r1, 0x54 -/* 8004E874 0004B7D4 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8004E878 0004B7D8 90 81 00 58 */ stw r4, 0x58(r1) -/* 8004E87C 0004B7DC 7C 00 C8 40 */ cmplw r0, r25 -/* 8004E880 0004B7E0 98 61 00 54 */ stb r3, 0x54(r1) -/* 8004E884 0004B7E4 41 82 00 30 */ beq lbl_8004E8B4 -/* 8004E888 0004B7E8 88 19 00 00 */ lbz r0, 0(r25) -/* 8004E88C 0004B7EC 28 00 00 00 */ cmplwi r0, 0 -/* 8004E890 0004B7F0 41 82 00 0C */ beq lbl_8004E89C -/* 8004E894 0004B7F4 80 79 00 04 */ lwz r3, 4(r25) -/* 8004E898 0004B7F8 48 2C 70 99 */ bl Free__7CMemoryFPCv -lbl_8004E89C: -/* 8004E89C 0004B7FC 88 61 00 54 */ lbz r3, 0x54(r1) -/* 8004E8A0 0004B800 38 00 00 00 */ li r0, 0 -/* 8004E8A4 0004B804 98 79 00 00 */ stb r3, 0(r25) -/* 8004E8A8 0004B808 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8004E8AC 0004B80C 90 79 00 04 */ stw r3, 4(r25) -/* 8004E8B0 0004B810 98 01 00 54 */ stb r0, 0x54(r1) -lbl_8004E8B4: -/* 8004E8B4 0004B814 88 01 00 54 */ lbz r0, 0x54(r1) -/* 8004E8B8 0004B818 28 00 00 00 */ cmplwi r0, 0 -/* 8004E8BC 0004B81C 41 82 00 0C */ beq lbl_8004E8C8 -/* 8004E8C0 0004B820 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8004E8C4 0004B824 48 2C 70 6D */ bl Free__7CMemoryFPCv -lbl_8004E8C8: -/* 8004E8C8 0004B828 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004E8CC 0004B82C 38 60 20 0C */ li r3, 0x200c -/* 8004E8D0 0004B830 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004E8D4 0004B834 38 A0 00 00 */ li r5, 0 -/* 8004E8D8 0004B838 48 2C 6F 95 */ bl __nw__FUlPCcPCc -/* 8004E8DC 0004B83C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8004E8E0 0004B840 41 82 00 0C */ beq lbl_8004E8EC -/* 8004E8E4 0004B844 48 16 9F 0D */ bl __ct__17CPhysicsActorListFv -/* 8004E8E8 0004B848 7C 64 1B 78 */ mr r4, r3 -lbl_8004E8EC: -/* 8004E8EC 0004B84C 7C 04 00 D0 */ neg r0, r4 -/* 8004E8F0 0004B850 3B 3F 08 1C */ addi r25, r31, 0x81c -/* 8004E8F4 0004B854 7C 03 23 78 */ or r3, r0, r4 -/* 8004E8F8 0004B858 38 01 00 4C */ addi r0, r1, 0x4c -/* 8004E8FC 0004B85C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8004E900 0004B860 90 81 00 50 */ stw r4, 0x50(r1) -/* 8004E904 0004B864 7C 00 C8 40 */ cmplw r0, r25 -/* 8004E908 0004B868 98 61 00 4C */ stb r3, 0x4c(r1) -/* 8004E90C 0004B86C 41 82 00 30 */ beq lbl_8004E93C -/* 8004E910 0004B870 88 19 00 00 */ lbz r0, 0(r25) -/* 8004E914 0004B874 28 00 00 00 */ cmplwi r0, 0 -/* 8004E918 0004B878 41 82 00 0C */ beq lbl_8004E924 -/* 8004E91C 0004B87C 80 79 00 04 */ lwz r3, 4(r25) -/* 8004E920 0004B880 48 2C 70 11 */ bl Free__7CMemoryFPCv -lbl_8004E924: -/* 8004E924 0004B884 88 61 00 4C */ lbz r3, 0x4c(r1) -/* 8004E928 0004B888 38 00 00 00 */ li r0, 0 -/* 8004E92C 0004B88C 98 79 00 00 */ stb r3, 0(r25) -/* 8004E930 0004B890 80 61 00 50 */ lwz r3, 0x50(r1) -/* 8004E934 0004B894 90 79 00 04 */ stw r3, 4(r25) -/* 8004E938 0004B898 98 01 00 4C */ stb r0, 0x4c(r1) -lbl_8004E93C: -/* 8004E93C 0004B89C 88 01 00 4C */ lbz r0, 0x4c(r1) -/* 8004E940 0004B8A0 28 00 00 00 */ cmplwi r0, 0 -/* 8004E944 0004B8A4 41 82 00 0C */ beq lbl_8004E950 -/* 8004E948 0004B8A8 80 61 00 50 */ lwz r3, 0x50(r1) -/* 8004E94C 0004B8AC 48 2C 6F E5 */ bl Free__7CMemoryFPCv -lbl_8004E950: -/* 8004E950 0004B8B0 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004E954 0004B8B4 38 60 20 0C */ li r3, 0x200c -/* 8004E958 0004B8B8 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004E95C 0004B8BC 38 A0 00 00 */ li r5, 0 -/* 8004E960 0004B8C0 48 2C 6F 0D */ bl __nw__FUlPCcPCc -/* 8004E964 0004B8C4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8004E968 0004B8C8 41 82 00 0C */ beq lbl_8004E974 -/* 8004E96C 0004B8CC 48 16 9E 11 */ bl __ct__15CGameCameraListFv -/* 8004E970 0004B8D0 7C 64 1B 78 */ mr r4, r3 -lbl_8004E974: -/* 8004E974 0004B8D4 7C 04 00 D0 */ neg r0, r4 -/* 8004E978 0004B8D8 3B 3F 08 24 */ addi r25, r31, 0x824 -/* 8004E97C 0004B8DC 7C 03 23 78 */ or r3, r0, r4 -/* 8004E980 0004B8E0 38 01 00 44 */ addi r0, r1, 0x44 -/* 8004E984 0004B8E4 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8004E988 0004B8E8 90 81 00 48 */ stw r4, 0x48(r1) -/* 8004E98C 0004B8EC 7C 00 C8 40 */ cmplw r0, r25 -/* 8004E990 0004B8F0 98 61 00 44 */ stb r3, 0x44(r1) -/* 8004E994 0004B8F4 41 82 00 30 */ beq lbl_8004E9C4 -/* 8004E998 0004B8F8 88 19 00 00 */ lbz r0, 0(r25) -/* 8004E99C 0004B8FC 28 00 00 00 */ cmplwi r0, 0 -/* 8004E9A0 0004B900 41 82 00 0C */ beq lbl_8004E9AC -/* 8004E9A4 0004B904 80 79 00 04 */ lwz r3, 4(r25) -/* 8004E9A8 0004B908 48 2C 6F 89 */ bl Free__7CMemoryFPCv -lbl_8004E9AC: -/* 8004E9AC 0004B90C 88 61 00 44 */ lbz r3, 0x44(r1) -/* 8004E9B0 0004B910 38 00 00 00 */ li r0, 0 -/* 8004E9B4 0004B914 98 79 00 00 */ stb r3, 0(r25) -/* 8004E9B8 0004B918 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8004E9BC 0004B91C 90 79 00 04 */ stw r3, 4(r25) -/* 8004E9C0 0004B920 98 01 00 44 */ stb r0, 0x44(r1) -lbl_8004E9C4: -/* 8004E9C4 0004B924 88 01 00 44 */ lbz r0, 0x44(r1) -/* 8004E9C8 0004B928 28 00 00 00 */ cmplwi r0, 0 -/* 8004E9CC 0004B92C 41 82 00 0C */ beq lbl_8004E9D8 -/* 8004E9D0 0004B930 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8004E9D4 0004B934 48 2C 6F 5D */ bl Free__7CMemoryFPCv -lbl_8004E9D8: -/* 8004E9D8 0004B938 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004E9DC 0004B93C 38 60 20 0C */ li r3, 0x200c -/* 8004E9E0 0004B940 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004E9E4 0004B944 38 A0 00 00 */ li r5, 0 -/* 8004E9E8 0004B948 48 2C 6E 85 */ bl __nw__FUlPCcPCc -/* 8004E9EC 0004B94C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8004E9F0 0004B950 41 82 00 0C */ beq lbl_8004E9FC -/* 8004E9F4 0004B954 48 16 9A BD */ bl __ct__14CGameLightListFv -/* 8004E9F8 0004B958 7C 64 1B 78 */ mr r4, r3 -lbl_8004E9FC: -/* 8004E9FC 0004B95C 7C 04 00 D0 */ neg r0, r4 -/* 8004EA00 0004B960 3B 3F 08 2C */ addi r25, r31, 0x82c -/* 8004EA04 0004B964 7C 03 23 78 */ or r3, r0, r4 -/* 8004EA08 0004B968 38 01 00 3C */ addi r0, r1, 0x3c -/* 8004EA0C 0004B96C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8004EA10 0004B970 90 81 00 40 */ stw r4, 0x40(r1) -/* 8004EA14 0004B974 7C 00 C8 40 */ cmplw r0, r25 -/* 8004EA18 0004B978 98 61 00 3C */ stb r3, 0x3c(r1) -/* 8004EA1C 0004B97C 41 82 00 30 */ beq lbl_8004EA4C -/* 8004EA20 0004B980 88 19 00 00 */ lbz r0, 0(r25) -/* 8004EA24 0004B984 28 00 00 00 */ cmplwi r0, 0 -/* 8004EA28 0004B988 41 82 00 0C */ beq lbl_8004EA34 -/* 8004EA2C 0004B98C 80 79 00 04 */ lwz r3, 4(r25) -/* 8004EA30 0004B990 48 2C 6F 01 */ bl Free__7CMemoryFPCv -lbl_8004EA34: -/* 8004EA34 0004B994 88 61 00 3C */ lbz r3, 0x3c(r1) -/* 8004EA38 0004B998 38 00 00 00 */ li r0, 0 -/* 8004EA3C 0004B99C 98 79 00 00 */ stb r3, 0(r25) -/* 8004EA40 0004B9A0 80 61 00 40 */ lwz r3, 0x40(r1) -/* 8004EA44 0004B9A4 90 79 00 04 */ stw r3, 4(r25) -/* 8004EA48 0004B9A8 98 01 00 3C */ stb r0, 0x3c(r1) -lbl_8004EA4C: -/* 8004EA4C 0004B9AC 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 8004EA50 0004B9B0 28 00 00 00 */ cmplwi r0, 0 -/* 8004EA54 0004B9B4 41 82 00 0C */ beq lbl_8004EA60 -/* 8004EA58 0004B9B8 80 61 00 40 */ lwz r3, 0x40(r1) -/* 8004EA5C 0004B9BC 48 2C 6E D5 */ bl Free__7CMemoryFPCv -lbl_8004EA60: -/* 8004EA60 0004B9C0 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004EA64 0004B9C4 38 60 20 0C */ li r3, 0x200c -/* 8004EA68 0004B9C8 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004EA6C 0004B9CC 38 A0 00 00 */ li r5, 0 -/* 8004EA70 0004B9D0 48 2C 6D FD */ bl __nw__FUlPCcPCc -/* 8004EA74 0004B9D4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8004EA78 0004B9D8 41 82 00 0C */ beq lbl_8004EA84 -/* 8004EA7C 0004B9DC 48 16 9C 8D */ bl __ct__16CListeningAiListFv -/* 8004EA80 0004B9E0 7C 64 1B 78 */ mr r4, r3 -lbl_8004EA84: -/* 8004EA84 0004B9E4 7C 04 00 D0 */ neg r0, r4 -/* 8004EA88 0004B9E8 3B 3F 08 34 */ addi r25, r31, 0x834 -/* 8004EA8C 0004B9EC 7C 03 23 78 */ or r3, r0, r4 -/* 8004EA90 0004B9F0 38 01 00 34 */ addi r0, r1, 0x34 -/* 8004EA94 0004B9F4 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8004EA98 0004B9F8 90 81 00 38 */ stw r4, 0x38(r1) -/* 8004EA9C 0004B9FC 7C 00 C8 40 */ cmplw r0, r25 -/* 8004EAA0 0004BA00 98 61 00 34 */ stb r3, 0x34(r1) -/* 8004EAA4 0004BA04 41 82 00 30 */ beq lbl_8004EAD4 -/* 8004EAA8 0004BA08 88 19 00 00 */ lbz r0, 0(r25) -/* 8004EAAC 0004BA0C 28 00 00 00 */ cmplwi r0, 0 -/* 8004EAB0 0004BA10 41 82 00 0C */ beq lbl_8004EABC -/* 8004EAB4 0004BA14 80 79 00 04 */ lwz r3, 4(r25) -/* 8004EAB8 0004BA18 48 2C 6E 79 */ bl Free__7CMemoryFPCv -lbl_8004EABC: -/* 8004EABC 0004BA1C 88 61 00 34 */ lbz r3, 0x34(r1) -/* 8004EAC0 0004BA20 38 00 00 00 */ li r0, 0 -/* 8004EAC4 0004BA24 98 79 00 00 */ stb r3, 0(r25) -/* 8004EAC8 0004BA28 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8004EACC 0004BA2C 90 79 00 04 */ stw r3, 4(r25) -/* 8004EAD0 0004BA30 98 01 00 34 */ stb r0, 0x34(r1) -lbl_8004EAD4: -/* 8004EAD4 0004BA34 88 01 00 34 */ lbz r0, 0x34(r1) -/* 8004EAD8 0004BA38 28 00 00 00 */ cmplwi r0, 0 -/* 8004EADC 0004BA3C 41 82 00 0C */ beq lbl_8004EAE8 -/* 8004EAE0 0004BA40 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8004EAE4 0004BA44 48 2C 6E 4D */ bl Free__7CMemoryFPCv -lbl_8004EAE8: -/* 8004EAE8 0004BA48 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004EAEC 0004BA4C 38 60 20 0C */ li r3, 0x200c -/* 8004EAF0 0004BA50 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004EAF4 0004BA54 38 A0 00 00 */ li r5, 0 -/* 8004EAF8 0004BA58 48 2C 6D 75 */ bl __nw__FUlPCcPCc -/* 8004EAFC 0004BA5C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8004EB00 0004BA60 41 82 00 0C */ beq lbl_8004EB0C -/* 8004EB04 0004BA64 48 16 9B 69 */ bl __ct__15CAiWaypointListFv -/* 8004EB08 0004BA68 7C 64 1B 78 */ mr r4, r3 -lbl_8004EB0C: -/* 8004EB0C 0004BA6C 7C 04 00 D0 */ neg r0, r4 -/* 8004EB10 0004BA70 3B 3F 08 3C */ addi r25, r31, 0x83c -/* 8004EB14 0004BA74 7C 03 23 78 */ or r3, r0, r4 -/* 8004EB18 0004BA78 38 01 00 2C */ addi r0, r1, 0x2c -/* 8004EB1C 0004BA7C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8004EB20 0004BA80 90 81 00 30 */ stw r4, 0x30(r1) -/* 8004EB24 0004BA84 7C 00 C8 40 */ cmplw r0, r25 -/* 8004EB28 0004BA88 98 61 00 2C */ stb r3, 0x2c(r1) -/* 8004EB2C 0004BA8C 41 82 00 30 */ beq lbl_8004EB5C -/* 8004EB30 0004BA90 88 19 00 00 */ lbz r0, 0(r25) -/* 8004EB34 0004BA94 28 00 00 00 */ cmplwi r0, 0 -/* 8004EB38 0004BA98 41 82 00 0C */ beq lbl_8004EB44 -/* 8004EB3C 0004BA9C 80 79 00 04 */ lwz r3, 4(r25) -/* 8004EB40 0004BAA0 48 2C 6D F1 */ bl Free__7CMemoryFPCv -lbl_8004EB44: -/* 8004EB44 0004BAA4 88 61 00 2C */ lbz r3, 0x2c(r1) -/* 8004EB48 0004BAA8 38 00 00 00 */ li r0, 0 -/* 8004EB4C 0004BAAC 98 79 00 00 */ stb r3, 0(r25) -/* 8004EB50 0004BAB0 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8004EB54 0004BAB4 90 79 00 04 */ stw r3, 4(r25) -/* 8004EB58 0004BAB8 98 01 00 2C */ stb r0, 0x2c(r1) -lbl_8004EB5C: -/* 8004EB5C 0004BABC 88 01 00 2C */ lbz r0, 0x2c(r1) -/* 8004EB60 0004BAC0 28 00 00 00 */ cmplwi r0, 0 -/* 8004EB64 0004BAC4 41 82 00 0C */ beq lbl_8004EB70 -/* 8004EB68 0004BAC8 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8004EB6C 0004BACC 48 2C 6D C5 */ bl Free__7CMemoryFPCv -lbl_8004EB70: -/* 8004EB70 0004BAD0 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004EB74 0004BAD4 38 60 20 0C */ li r3, 0x200c -/* 8004EB78 0004BAD8 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004EB7C 0004BADC 38 A0 00 00 */ li r5, 0 -/* 8004EB80 0004BAE0 48 2C 6C ED */ bl __nw__FUlPCcPCc -/* 8004EB84 0004BAE4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8004EB88 0004BAE8 41 82 00 0C */ beq lbl_8004EB94 -/* 8004EB8C 0004BAEC 48 16 9A 31 */ bl __ct__20CPlatformAndDoorListFv -/* 8004EB90 0004BAF0 7C 64 1B 78 */ mr r4, r3 -lbl_8004EB94: -/* 8004EB94 0004BAF4 7C 04 00 D0 */ neg r0, r4 -/* 8004EB98 0004BAF8 3B 3F 08 44 */ addi r25, r31, 0x844 -/* 8004EB9C 0004BAFC 7C 03 23 78 */ or r3, r0, r4 -/* 8004EBA0 0004BB00 38 01 00 24 */ addi r0, r1, 0x24 -/* 8004EBA4 0004BB04 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8004EBA8 0004BB08 90 81 00 28 */ stw r4, 0x28(r1) -/* 8004EBAC 0004BB0C 7C 00 C8 40 */ cmplw r0, r25 -/* 8004EBB0 0004BB10 98 61 00 24 */ stb r3, 0x24(r1) -/* 8004EBB4 0004BB14 41 82 00 30 */ beq lbl_8004EBE4 -/* 8004EBB8 0004BB18 88 19 00 00 */ lbz r0, 0(r25) -/* 8004EBBC 0004BB1C 28 00 00 00 */ cmplwi r0, 0 -/* 8004EBC0 0004BB20 41 82 00 0C */ beq lbl_8004EBCC -/* 8004EBC4 0004BB24 80 79 00 04 */ lwz r3, 4(r25) -/* 8004EBC8 0004BB28 48 2C 6D 69 */ bl Free__7CMemoryFPCv -lbl_8004EBCC: -/* 8004EBCC 0004BB2C 88 61 00 24 */ lbz r3, 0x24(r1) -/* 8004EBD0 0004BB30 38 00 00 00 */ li r0, 0 -/* 8004EBD4 0004BB34 98 79 00 00 */ stb r3, 0(r25) -/* 8004EBD8 0004BB38 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8004EBDC 0004BB3C 90 79 00 04 */ stw r3, 4(r25) -/* 8004EBE0 0004BB40 98 01 00 24 */ stb r0, 0x24(r1) -lbl_8004EBE4: -/* 8004EBE4 0004BB44 88 01 00 24 */ lbz r0, 0x24(r1) -/* 8004EBE8 0004BB48 28 00 00 00 */ cmplwi r0, 0 -/* 8004EBEC 0004BB4C 41 82 00 0C */ beq lbl_8004EBF8 -/* 8004EBF0 0004BB50 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8004EBF4 0004BB54 48 2C 6D 3D */ bl Free__7CMemoryFPCv -lbl_8004EBF8: -/* 8004EBF8 0004BB58 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8004EBFC 0004BB5C 3C 80 80 04 */ lis r4, RendererDrawCallback__13CStateManagerFPCvPCvi@ha -/* 8004EC00 0004BB60 38 84 79 B8 */ addi r4, r4, RendererDrawCallback__13CStateManagerFPCvPCvi@l -/* 8004EC04 0004BB64 7F E5 FB 78 */ mr r5, r31 -/* 8004EC08 0004BB68 81 83 00 00 */ lwz r12, 0(r3) -/* 8004EC0C 0004BB6C 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8004EC10 0004BB70 7D 89 03 A6 */ mtctr r12 -/* 8004EC14 0004BB74 4E 80 04 21 */ bctrl -/* 8004EC18 0004BB78 3C 60 80 05 */ lis r3, MemoryAllocatorAllocationFailedCallback__13CStateManagerFPCvUi@ha -/* 8004EC1C 0004BB7C 7F E4 FB 78 */ mr r4, r31 -/* 8004EC20 0004BB80 38 63 B5 38 */ addi r3, r3, MemoryAllocatorAllocationFailedCallback__13CStateManagerFPCvUi@l -/* 8004EC24 0004BB84 48 2C 6C D1 */ bl SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv -/* 8004EC28 0004BB88 38 BF 09 08 */ addi r5, r31, 0x908 -/* 8004EC2C 0004BB8C 80 7F 09 08 */ lwz r3, 0x908(r31) -/* 8004EC30 0004BB90 2C 03 00 8C */ cmpwi r3, 0x8c -/* 8004EC34 0004BB94 40 80 00 40 */ bge lbl_8004EC74 -/* 8004EC38 0004BB98 54 60 10 3A */ slwi r0, r3, 2 -/* 8004EC3C 0004BB9C 20 83 00 8C */ subfic r4, r3, 0x8c -/* 8004EC40 0004BBA0 7C 65 02 14 */ add r3, r5, r0 -/* 8004EC44 0004BBA4 38 00 00 00 */ li r0, 0 -/* 8004EC48 0004BBA8 7C 89 03 A6 */ mtctr r4 -/* 8004EC4C 0004BBAC 2C 04 00 00 */ cmpwi r4, 0 -/* 8004EC50 0004BBB0 38 63 00 04 */ addi r3, r3, 4 -/* 8004EC54 0004BBB4 40 81 00 18 */ ble lbl_8004EC6C -lbl_8004EC58: -/* 8004EC58 0004BBB8 28 03 00 00 */ cmplwi r3, 0 -/* 8004EC5C 0004BBBC 41 82 00 08 */ beq lbl_8004EC64 -/* 8004EC60 0004BBC0 90 03 00 00 */ stw r0, 0(r3) -lbl_8004EC64: -/* 8004EC64 0004BBC4 38 63 00 04 */ addi r3, r3, 4 -/* 8004EC68 0004BBC8 42 00 FF F0 */ bdnz lbl_8004EC58 -lbl_8004EC6C: -/* 8004EC6C 0004BBCC 38 00 00 8C */ li r0, 0x8c -/* 8004EC70 0004BBD0 90 1F 09 08 */ stw r0, 0x908(r31) -lbl_8004EC74: -/* 8004EC74 0004BBD4 3C 60 80 0E */ lis r3, LoadTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EC78 0004BBD8 3C 80 80 0E */ lis r4, LoadDamageableTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EC7C 0004BBDC 38 03 9A 3C */ addi r0, r3, LoadTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EC80 0004BBE0 3C 60 80 0D */ lis r3, LoadActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EC84 0004BBE4 90 1F 09 1C */ stw r0, 0x91c(r31) -/* 8004EC88 0004BBE8 38 04 93 80 */ addi r0, r4, LoadDamageableTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EC8C 0004BBEC 3C A0 80 0D */ lis r5, LoadEnemy__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EC90 0004BBF0 3C 80 80 0D */ lis r4, LoadWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EC94 0004BBF4 90 1F 09 74 */ stw r0, 0x974(r31) -/* 8004EC98 0004BBF8 38 03 77 58 */ addi r0, r3, LoadActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EC9C 0004BBFC 3C 60 80 0D */ lis r3, LoadDoor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECA0 0004BC00 3D 20 80 0D */ lis r9, LoadEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECA4 0004BC04 90 1F 09 0C */ stw r0, 0x90c(r31) -/* 8004ECA8 0004BC08 38 05 73 08 */ addi r0, r5, LoadEnemy__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ECAC 0004BC0C 3D 00 80 0D */ lis r8, LoadTimer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECB0 0004BC10 3C E0 80 0D */ lis r7, LoadCounter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECB4 0004BC14 90 1F 09 10 */ stw r0, 0x910(r31) -/* 8004ECB8 0004BC18 38 04 6B 58 */ addi r0, r4, LoadWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ECBC 0004BC1C 3C C0 80 0D */ lis r6, LoadSound__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECC0 0004BC20 3C A0 80 0D */ lis r5, LoadPlatform__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECC4 0004BC24 90 1F 09 14 */ stw r0, 0x914(r31) -/* 8004ECC8 0004BC28 38 03 68 18 */ addi r0, r3, LoadDoor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ECCC 0004BC2C 3C 80 80 0D */ lis r4, LoadGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECD0 0004BC30 3C 60 80 0E */ lis r3, LoadDock__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECD4 0004BC34 90 1F 09 18 */ stw r0, 0x918(r31) -/* 8004ECD8 0004BC38 38 09 64 A8 */ addi r0, r9, LoadEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ECDC 0004BC3C 3F 60 80 0D */ lis r27, LoadCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECE0 0004BC40 3F 40 80 0D */ lis r26, LoadCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECE4 0004BC44 90 1F 09 28 */ stw r0, 0x928(r31) -/* 8004ECE8 0004BC48 38 08 63 A0 */ addi r0, r8, LoadTimer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ECEC 0004BC4C 3F 20 80 0D */ lis r25, LoadNewIntroBoss__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECF0 0004BC50 3D 80 80 0E */ lis r12, LoadSpawnPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ECF4 0004BC54 90 1F 09 20 */ stw r0, 0x920(r31) -/* 8004ECF8 0004BC58 38 07 62 B8 */ addi r0, r7, LoadCounter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ECFC 0004BC5C 3D 60 80 0D */ lis r11, LoadCameraHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ED00 0004BC60 3D 40 80 0E */ lis r10, LoadCameraHintTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ED04 0004BC64 90 1F 09 24 */ stw r0, 0x924(r31) -/* 8004ED08 0004BC68 38 06 5F 98 */ addi r0, r6, LoadSound__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED0C 0004BC6C 3D 20 80 0D */ lis r9, LoadPickup__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ED10 0004BC70 3D 00 80 0E */ lis r8, LoadJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ED14 0004BC74 90 1F 09 30 */ stw r0, 0x930(r31) -/* 8004ED18 0004BC78 38 05 58 20 */ addi r0, r5, LoadPlatform__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED1C 0004BC7C 3C E0 80 0D */ lis r7, LoadRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ED20 0004BC80 3C C0 80 0D */ lis r6, LoadRandomRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ED24 0004BC84 90 1F 09 2C */ stw r0, 0x92c(r31) -/* 8004ED28 0004BC88 38 04 61 8C */ addi r0, r4, LoadGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED2C 0004BC8C 3C A0 80 0D */ lis r5, LoadFaultyRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ED30 0004BC90 3C 80 80 0D */ lis r4, LoadBeetle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ED34 0004BC94 90 1F 09 34 */ stw r0, 0x934(r31) -/* 8004ED38 0004BC98 38 03 82 18 */ addi r0, r3, LoadDock__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED3C 0004BC9C 3C 60 80 0D */ lis r3, LoadHUDMemo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004ED40 0004BCA0 3B 7B 54 68 */ addi r27, r27, LoadCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED44 0004BCA4 90 1F 09 38 */ stw r0, 0x938(r31) -/* 8004ED48 0004BCA8 3B 5A 57 40 */ addi r26, r26, LoadCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED4C 0004BCAC 38 19 08 14 */ addi r0, r25, LoadNewIntroBoss__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED50 0004BCB0 39 8C 83 3C */ addi r12, r12, LoadSpawnPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED54 0004BCB4 93 7F 09 3C */ stw r27, 0x93c(r31) -/* 8004ED58 0004BCB8 39 6B 7E 3C */ addi r11, r11, LoadCameraHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED5C 0004BCBC 39 4A 97 C8 */ addi r10, r10, LoadCameraHintTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED60 0004BCC0 39 29 73 10 */ addi r9, r9, LoadPickup__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED64 0004BCC4 93 5F 09 40 */ stw r26, 0x940(r31) -/* 8004ED68 0004BCC8 39 08 83 34 */ addi r8, r8, LoadJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED6C 0004BCCC 38 E7 48 8C */ addi r7, r7, LoadRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED70 0004BCD0 38 C6 47 9C */ addi r6, r6, LoadRandomRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED74 0004BCD4 90 1F 09 44 */ stw r0, 0x944(r31) -/* 8004ED78 0004BCD8 38 A5 46 94 */ addi r5, r5, LoadFaultyRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED7C 0004BCDC 38 84 6F 60 */ addi r4, r4, LoadBeetle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED80 0004BCE0 38 03 45 80 */ addi r0, r3, LoadHUDMemo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004ED84 0004BCE4 91 9F 09 48 */ stw r12, 0x948(r31) -/* 8004ED88 0004BCE8 91 7F 09 4C */ stw r11, 0x94c(r31) -/* 8004ED8C 0004BCEC 91 5F 0A D8 */ stw r10, 0xad8(r31) -/* 8004ED90 0004BCF0 91 3F 09 50 */ stw r9, 0x950(r31) -/* 8004ED94 0004BCF4 91 1F 09 54 */ stw r8, 0x954(r31) -/* 8004ED98 0004BCF8 90 FF 09 58 */ stw r7, 0x958(r31) -/* 8004ED9C 0004BCFC 90 DF 09 5C */ stw r6, 0x95c(r31) -/* 8004EDA0 0004BD00 90 BF 09 60 */ stw r5, 0x960(r31) -/* 8004EDA4 0004BD04 90 9F 09 64 */ stw r4, 0x964(r31) -/* 8004EDA8 0004BD08 90 1F 09 68 */ stw r0, 0x968(r31) -/* 8004EDAC 0004BD0C 3C 60 80 0D */ lis r3, LoadCameraFilterKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDB0 0004BD10 3C 80 80 0D */ lis r4, LoadCameraBlurKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDB4 0004BD14 38 03 44 08 */ addi r0, r3, LoadCameraFilterKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EDB8 0004BD18 3C 60 80 0D */ lis r3, LoadDebris__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDBC 0004BD1C 90 1F 09 6C */ stw r0, 0x96c(r31) -/* 8004EDC0 0004BD20 38 04 42 E8 */ addi r0, r4, LoadCameraBlurKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EDC4 0004BD24 3C A0 80 0D */ lis r5, LoadCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDC8 0004BD28 3C 80 80 0D */ lis r4, LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDCC 0004BD2C 90 1F 09 70 */ stw r0, 0x970(r31) -/* 8004EDD0 0004BD30 38 03 40 78 */ addi r0, r3, LoadDebris__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EDD4 0004BD34 3C 60 80 0D */ lis r3, LoadAIKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDD8 0004BD38 3D 20 80 0E */ lis r9, LoadWater__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDDC 0004BD3C 90 1F 09 78 */ stw r0, 0x978(r31) -/* 8004EDE0 0004BD40 38 05 3A A4 */ addi r0, r5, LoadCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EDE4 0004BD44 3D 00 80 0E */ lis r8, LoadSteam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDE8 0004BD48 3C E0 80 0E */ lis r7, LoadRipple__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDEC 0004BD4C 90 1F 09 7C */ stw r0, 0x97c(r31) -/* 8004EDF0 0004BD50 38 04 35 8C */ addi r0, r4, LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EDF4 0004BD54 3C C0 80 0D */ lis r6, LoadWarWasp__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDF8 0004BD58 3C A0 80 0D */ lis r5, LoadMapStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EDFC 0004BD5C 90 1F 09 80 */ stw r0, 0x980(r31) -/* 8004EE00 0004BD60 38 03 35 54 */ addi r0, r3, LoadAIKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE04 0004BD64 3C 80 80 0D */ lis r4, LoadSpacePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE08 0004BD68 3C 60 80 0D */ lis r3, LoadCoverPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE0C 0004BD6C 90 1F 0A 10 */ stw r0, 0xa10(r31) -/* 8004EE10 0004BD70 38 09 88 F4 */ addi r0, r9, LoadWater__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE14 0004BD74 3F 60 80 0D */ lis r27, LoadSpiderBallWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE18 0004BD78 3F 40 80 0D */ lis r26, LoadBloodFlower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE1C 0004BD7C 90 1F 09 8C */ stw r0, 0x98c(r31) -/* 8004EE20 0004BD80 38 08 86 CC */ addi r0, r8, LoadSteam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE24 0004BD84 3F 20 80 0D */ lis r25, LoadPathCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE28 0004BD88 3D 80 80 0D */ lis r12, LoadGrapplePoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE2C 0004BD8C 90 1F 0A 24 */ stw r0, 0xa24(r31) -/* 8004EE30 0004BD90 38 07 85 D4 */ addi r0, r7, LoadRipple__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE34 0004BD94 3D 60 80 0D */ lis r11, LoadFlickerBat__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE38 0004BD98 3D 40 80 0D */ lis r10, LoadChozoGhost__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE3C 0004BD9C 90 1F 0A 28 */ stw r0, 0xa28(r31) -/* 8004EE40 0004BDA0 38 06 6C B0 */ addi r0, r6, LoadWarWasp__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE44 0004BDA4 3D 20 80 0D */ lis r9, LoadPuddleSpore__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE48 0004BDA8 3D 00 80 0D */ lis r8, LoadDebugCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE4C 0004BDAC 90 1F 09 90 */ stw r0, 0x990(r31) -/* 8004EE50 0004BDB0 38 05 2E 2C */ addi r0, r5, LoadMapStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE54 0004BDB4 3C E0 80 0D */ lis r7, LoadSpiderBallAttractionSurface__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE58 0004BDB8 3C C0 80 0D */ lis r6, LoadPuddleToadGamma__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE5C 0004BDBC 90 1F 09 94 */ stw r0, 0x994(r31) -/* 8004EE60 0004BDC0 38 04 2B CC */ addi r0, r4, LoadSpacePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE64 0004BDC4 3C A0 80 0D */ lis r5, LoadFireFlea__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE68 0004BDC8 3C 80 80 0D */ lis r4, LoadDistanceFog__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE6C 0004BDCC 90 1F 09 9C */ stw r0, 0x99c(r31) -/* 8004EE70 0004BDD0 38 03 28 DC */ addi r0, r3, LoadCoverPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE74 0004BDD4 3C 60 80 0D */ lis r3, LoadDockAreaChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EE78 0004BDD8 3B 7B 27 2C */ addi r27, r27, LoadSpiderBallWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE7C 0004BDDC 90 1F 09 B4 */ stw r0, 0x9b4(r31) -/* 8004EE80 0004BDE0 3B 5A 24 8C */ addi r26, r26, LoadBloodFlower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE84 0004BDE4 38 19 53 28 */ addi r0, r25, LoadPathCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE88 0004BDE8 39 8C 23 0C */ addi r12, r12, LoadGrapplePoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE8C 0004BDEC 93 7F 09 BC */ stw r27, 0x9bc(r31) -/* 8004EE90 0004BDF0 39 6B 20 C8 */ addi r11, r11, LoadFlickerBat__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE94 0004BDF4 39 4A 1C B4 */ addi r10, r10, LoadChozoGhost__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE98 0004BDF8 39 29 19 C4 */ addi r9, r9, LoadPuddleSpore__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EE9C 0004BDFC 93 5F 09 C0 */ stw r26, 0x9c0(r31) -/* 8004EEA0 0004BE00 39 08 18 20 */ addi r8, r8, LoadDebugCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EEA4 0004BE04 38 E7 18 F0 */ addi r7, r7, LoadSpiderBallAttractionSurface__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EEA8 0004BE08 38 C6 15 38 */ addi r6, r6, LoadPuddleToadGamma__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EEAC 0004BE0C 90 1F 09 C8 */ stw r0, 0x9c8(r31) -/* 8004EEB0 0004BE10 38 A5 13 3C */ addi r5, r5, LoadFireFlea__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EEB4 0004BE14 38 84 0F 0C */ addi r4, r4, LoadDistanceFog__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EEB8 0004BE18 38 03 0D 04 */ addi r0, r3, LoadDockAreaChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EEBC 0004BE1C 91 9F 09 CC */ stw r12, 0x9cc(r31) -/* 8004EEC0 0004BE20 91 7F 09 C4 */ stw r11, 0x9c4(r31) -/* 8004EEC4 0004BE24 91 5F 09 AC */ stw r10, 0x9ac(r31) -/* 8004EEC8 0004BE28 91 3F 09 D0 */ stw r9, 0x9d0(r31) -/* 8004EECC 0004BE2C 91 1F 09 D4 */ stw r8, 0x9d4(r31) -/* 8004EED0 0004BE30 90 FF 09 D8 */ stw r7, 0x9d8(r31) -/* 8004EED4 0004BE34 90 DF 09 DC */ stw r6, 0x9dc(r31) -/* 8004EED8 0004BE38 90 BF 09 E4 */ stw r5, 0x9e4(r31) -/* 8004EEDC 0004BE3C 90 9F 09 E0 */ stw r4, 0x9e0(r31) -/* 8004EEE0 0004BE40 90 1F 09 EC */ stw r0, 0x9ec(r31) -/* 8004EEE4 0004BE44 3C 60 80 0D */ lis r3, LoadActorRotate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EEE8 0004BE48 3C 80 80 0D */ lis r4, LoadSpecialFunction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EEEC 0004BE4C 38 03 32 E8 */ addi r0, r3, LoadActorRotate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EEF0 0004BE50 3C 60 80 0D */ lis r3, LoadMetaree__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EEF4 0004BE54 90 1F 09 F0 */ stw r0, 0x9f0(r31) -/* 8004EEF8 0004BE58 38 04 30 74 */ addi r0, r4, LoadSpecialFunction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EEFC 0004BE5C 3C A0 80 0D */ lis r5, LoadSpankWeed__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF00 0004BE60 3C 80 80 0D */ lis r4, LoadParasite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF04 0004BE64 90 1F 09 F4 */ stw r0, 0x9f4(r31) -/* 8004EF08 0004BE68 38 03 0A 4C */ addi r0, r3, LoadMetaree__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF0C 0004BE6C 3C 60 80 0D */ lis r3, LoadPlayerHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF10 0004BE70 3D 20 80 0D */ lis r9, LoadRipper__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF14 0004BE74 90 1F 09 E8 */ stw r0, 0x9e8(r31) -/* 8004EF18 0004BE78 38 05 10 E8 */ addi r0, r5, LoadSpankWeed__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF1C 0004BE7C 3D 00 80 0D */ lis r8, LoadPickupGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF20 0004BE80 3C E0 80 0D */ lis r7, LoadPointOfInterest__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF24 0004BE84 90 1F 09 F8 */ stw r0, 0x9f8(r31) -/* 8004EF28 0004BE88 38 04 00 FC */ addi r0, r4, LoadParasite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF2C 0004BE8C 3C C0 80 0D */ lis r6, LoadDrone__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF30 0004BE90 3C A0 80 0D */ lis r5, LoadMetroid__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF34 0004BE94 90 1F 0A 00 */ stw r0, 0xa00(r31) -/* 8004EF38 0004BE98 38 03 7D 60 */ addi r0, r3, LoadPlayerHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF3C 0004BE9C 3C 80 80 0D */ lis r4, LoadDebrisExtended__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF40 0004BEA0 3C 60 80 0D */ lis r3, LoadBallTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF44 0004BEA4 90 1F 0A 04 */ stw r0, 0xa04(r31) -/* 8004EF48 0004BEA8 38 09 FE 90 */ addi r0, r9, LoadRipper__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF4C 0004BEAC 3F 60 80 0D */ lis r27, LoadTargetingPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF50 0004BEB0 3F 40 80 0D */ lis r26, LoadEMPulse__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF54 0004BEB4 90 1F 0A 08 */ stw r0, 0xa08(r31) -/* 8004EF58 0004BEB8 38 08 FD 98 */ addi r0, r8, LoadPickupGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF5C 0004BEBC 3F 20 80 0D */ lis r25, LoadIceSheegoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF60 0004BEC0 3D 80 80 0D */ lis r12, LoadPlayerActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF64 0004BEC4 90 1F 0A 0C */ stw r0, 0xa0c(r31) -/* 8004EF68 0004BEC8 38 07 7C 60 */ addi r0, r7, LoadPointOfInterest__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF6C 0004BECC 3D 60 80 0D */ lis r11, LoadFlaahgra__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF70 0004BED0 3D 40 80 0D */ lis r10, LoadAreaAttributes__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF74 0004BED4 90 1F 0A 14 */ stw r0, 0xa14(r31) -/* 8004EF78 0004BED8 38 06 D8 6C */ addi r0, r6, LoadDrone__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF7C 0004BEDC 3D 20 80 0D */ lis r9, LoadFishCloud__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF80 0004BEE0 3D 00 80 0D */ lis r8, LoadFishCloudModifier__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF84 0004BEE4 90 1F 0A 18 */ stw r0, 0xa18(r31) -/* 8004EF88 0004BEE8 38 05 FA AC */ addi r0, r5, LoadMetroid__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF8C 0004BEEC 3C E0 80 0D */ lis r7, LoadVisorFlare__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF90 0004BEF0 3C C0 80 0D */ lis r6, LoadWorldTeleporter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EF94 0004BEF4 90 1F 0A 1C */ stw r0, 0xa1c(r31) -/* 8004EF98 0004BEF8 38 04 3C 08 */ addi r0, r4, LoadDebrisExtended__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EF9C 0004BEFC 3C A0 80 0D */ lis r5, LoadVisorGoo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EFA0 0004BF00 3C 80 80 0D */ lis r4, LoadJellyZap__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EFA4 0004BF04 90 1F 0A 20 */ stw r0, 0xa20(r31) -/* 8004EFA8 0004BF08 38 03 F7 14 */ addi r0, r3, LoadBallTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFAC 0004BF0C 3C 60 80 0D */ lis r3, LoadControllerAction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004EFB0 0004BF10 3B 7B F6 44 */ addi r27, r27, LoadTargetingPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFB4 0004BF14 90 1F 0A 2C */ stw r0, 0xa2c(r31) -/* 8004EFB8 0004BF18 38 1A F4 FC */ addi r0, r26, LoadEMPulse__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFBC 0004BF1C 3B 39 F3 10 */ addi r25, r25, LoadIceSheegoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFC0 0004BF20 39 8C EE F4 */ addi r12, r12, LoadPlayerActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFC4 0004BF24 93 7F 0A 30 */ stw r27, 0xa30(r31) -/* 8004EFC8 0004BF28 39 6B 05 C8 */ addi r11, r11, LoadFlaahgra__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFCC 0004BF2C 39 4A 0D CC */ addi r10, r10, LoadAreaAttributes__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFD0 0004BF30 39 29 E8 08 */ addi r9, r9, LoadFishCloud__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFD4 0004BF34 90 1F 0A 34 */ stw r0, 0xa34(r31) -/* 8004EFD8 0004BF38 39 08 E6 BC */ addi r8, r8, LoadFishCloudModifier__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFDC 0004BF3C 38 E7 D0 9C */ addi r7, r7, LoadVisorFlare__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFE0 0004BF40 38 06 CC B0 */ addi r0, r6, LoadWorldTeleporter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFE4 0004BF44 93 3F 0A 38 */ stw r25, 0xa38(r31) -/* 8004EFE8 0004BF48 38 A5 C7 EC */ addi r5, r5, LoadVisorGoo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFEC 0004BF4C 38 84 C4 84 */ addi r4, r4, LoadJellyZap__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFF0 0004BF50 38 63 CB 74 */ addi r3, r3, LoadControllerAction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004EFF4 0004BF54 91 9F 0A 3C */ stw r12, 0xa3c(r31) -/* 8004EFF8 0004BF58 91 7F 0A 40 */ stw r11, 0xa40(r31) -/* 8004EFFC 0004BF5C 91 5F 0A 44 */ stw r10, 0xa44(r31) -/* 8004F000 0004BF60 91 3F 0A 48 */ stw r9, 0xa48(r31) -/* 8004F004 0004BF64 91 1F 0A 4C */ stw r8, 0xa4c(r31) -/* 8004F008 0004BF68 90 FF 0A 50 */ stw r7, 0xa50(r31) -/* 8004F00C 0004BF6C 90 1F 0A 54 */ stw r0, 0xa54(r31) -/* 8004F010 0004BF70 90 BF 0A 58 */ stw r5, 0xa58(r31) -/* 8004F014 0004BF74 90 9F 0A 5C */ stw r4, 0xa5c(r31) -/* 8004F018 0004BF78 90 7F 0A 60 */ stw r3, 0xa60(r31) -/* 8004F01C 0004BF7C 3C 60 80 0D */ lis r3, LoadSwitch__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F020 0004BF80 3C 80 80 0D */ lis r4, LoadPlayerStateChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F024 0004BF84 38 A3 CA 9C */ addi r5, r3, LoadSwitch__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F028 0004BF88 3C 60 80 0D */ lis r3, LoadThardus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F02C 0004BF8C 90 BF 0A 64 */ stw r5, 0xa64(r31) -/* 8004F030 0004BF90 38 C4 C9 94 */ addi r6, r4, LoadPlayerStateChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F034 0004BF94 3C A0 80 0D */ lis r5, LoadSaveStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F038 0004BF98 3C 80 80 0D */ lis r4, LoadWallCrawlerSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F03C 0004BF9C 90 DF 0A 68 */ stw r6, 0xa68(r31) -/* 8004F040 0004BFA0 38 C3 BC 24 */ addi r6, r3, LoadThardus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F044 0004BFA4 3C 60 80 0D */ lis r3, LoadAiJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F048 0004BFA8 3D 00 80 0D */ lis r8, LoadFlaahgraTentacle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F04C 0004BFAC 90 DF 0A 6C */ stw r6, 0xa6c(r31) -/* 8004F050 0004BFB0 38 A5 C9 8C */ addi r5, r5, LoadSaveStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F054 0004BFB4 3C E0 80 0D */ lis r7, LoadRoomAcoustics__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F058 0004BFB8 3C C0 80 0D */ lis r6, LoadFlyingPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F05C 0004BFBC 90 BF 0A 70 */ stw r5, 0xa70(r31) -/* 8004F060 0004BFC0 39 24 B7 A4 */ addi r9, r4, LoadWallCrawlerSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F064 0004BFC4 3C A0 80 0D */ lis r5, LoadColorModulate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F068 0004BFC8 3C 80 80 0D */ lis r4, LoadThardusRockProjectile__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F06C 0004BFCC 91 3F 0A 74 */ stw r9, 0xa74(r31) -/* 8004F070 0004BFD0 39 23 27 F4 */ addi r9, r3, LoadAiJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F074 0004BFD4 3C 60 80 0D */ lis r3, LoadMidi__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F078 0004BFD8 3F 60 80 0D */ lis r27, LoadStreamedMusic__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F07C 0004BFDC 91 3F 0A 78 */ stw r9, 0xa78(r31) -/* 8004F080 0004BFE0 39 08 B5 D8 */ addi r8, r8, LoadFlaahgraTentacle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F084 0004BFE4 3F 40 80 0D */ lis r26, LoadRepulsor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F088 0004BFE8 3F 20 80 0D */ lis r25, LoadGunTurret__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F08C 0004BFEC 91 1F 0A 7C */ stw r8, 0xa7c(r31) -/* 8004F090 0004BFF0 38 E7 EC 4C */ addi r7, r7, LoadRoomAcoustics__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F094 0004BFF4 3D 80 80 0D */ lis r12, LoadFogVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F098 0004BFF8 3D 60 80 0D */ lis r11, LoadBabygoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F09C 0004BFFC 90 FF 0A 80 */ stw r7, 0xa80(r31) -/* 8004F0A0 0004C000 38 C6 29 FC */ addi r6, r6, LoadFlyingPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0A4 0004C004 3D 40 80 0D */ lis r10, LoadEyeBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F0A8 0004C008 3D 20 80 0D */ lis r9, LoadRadialDamage__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F0AC 0004C00C 90 DF 09 A0 */ stw r6, 0x9a0(r31) -/* 8004F0B0 0004C010 38 A5 33 E8 */ addi r5, r5, LoadColorModulate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0B4 0004C014 3D 00 80 0D */ lis r8, LoadScriptCameraPitchVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F0B8 0004C018 3C E0 80 0D */ lis r7, LoadElitePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F0BC 0004C01C 90 BF 0A 84 */ stw r5, 0xa84(r31) -/* 8004F0C0 0004C020 38 84 B2 8C */ addi r4, r4, LoadThardusRockProjectile__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0C4 0004C024 3C C0 80 0D */ lis r6, LoadMetroidBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F0C8 0004C028 3C A0 80 0D */ lis r5, LoadEnvFxDensityController__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F0CC 0004C02C 90 9F 0A 88 */ stw r4, 0xa88(r31) -/* 8004F0D0 0004C030 3B 83 B1 84 */ addi r28, r3, LoadMidi__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0D4 0004C034 3C 80 80 0D */ lis r4, LoadMagdolite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F0D8 0004C038 3C 60 80 0D */ lis r3, LoadTeamAiMgr__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F0DC 0004C03C 93 9F 0A 8C */ stw r28, 0xa8c(r31) -/* 8004F0E0 0004C040 3B 7B B0 3C */ addi r27, r27, LoadStreamedMusic__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0E4 0004C044 3B 5A AF 44 */ addi r26, r26, LoadRepulsor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0E8 0004C048 3B 39 AB F8 */ addi r25, r25, LoadGunTurret__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0EC 0004C04C 93 7F 0A 90 */ stw r27, 0xa90(r31) -/* 8004F0F0 0004C050 39 8C 2E 34 */ addi r12, r12, LoadFogVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0F4 0004C054 39 6B AA 0C */ addi r11, r11, LoadBabygoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0F8 0004C058 39 4A A7 0C */ addi r10, r10, LoadEyeBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F0FC 0004C05C 90 1F 0A 94 */ stw r0, 0xa94(r31) -/* 8004F100 0004C060 39 29 A5 4C */ addi r9, r9, LoadRadialDamage__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F104 0004C064 39 08 A4 00 */ addi r8, r8, LoadScriptCameraPitchVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F108 0004C068 38 E7 A1 F4 */ addi r7, r7, LoadElitePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F10C 0004C06C 93 5F 0A 98 */ stw r26, 0xa98(r31) -/* 8004F110 0004C070 38 C6 F8 98 */ addi r6, r6, LoadMetroidBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F114 0004C074 38 A5 A0 20 */ addi r5, r5, LoadEnvFxDensityController__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F118 0004C078 38 84 9C 3C */ addi r4, r4, LoadMagdolite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F11C 0004C07C 93 3F 0A 9C */ stw r25, 0xa9c(r31) -/* 8004F120 0004C080 38 03 9B 60 */ addi r0, r3, LoadTeamAiMgr__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F124 0004C084 91 9F 0A A0 */ stw r12, 0xaa0(r31) -/* 8004F128 0004C088 91 7F 0A A4 */ stw r11, 0xaa4(r31) -/* 8004F12C 0004C08C 91 5F 0A A8 */ stw r10, 0xaa8(r31) -/* 8004F130 0004C090 91 3F 0A AC */ stw r9, 0xaac(r31) -/* 8004F134 0004C094 91 1F 0A B0 */ stw r8, 0xab0(r31) -/* 8004F138 0004C098 90 FF 09 A4 */ stw r7, 0x9a4(r31) -/* 8004F13C 0004C09C 90 DF 09 A8 */ stw r6, 0x9a8(r31) -/* 8004F140 0004C0A0 90 BF 0A B4 */ stw r5, 0xab4(r31) -/* 8004F144 0004C0A4 90 9F 0A B8 */ stw r4, 0xab8(r31) -/* 8004F148 0004C0A8 90 1F 0A BC */ stw r0, 0xabc(r31) -/* 8004F14C 0004C0AC 3C 60 80 0D */ lis r3, LoadSnakeWeedSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F150 0004C0B0 3C 80 80 0D */ lis r4, LoadActorContraption__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F154 0004C0B4 38 03 97 2C */ addi r0, r3, LoadSnakeWeedSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F158 0004C0B8 3C 60 80 0D */ lis r3, LoadAtomicAlpha__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F15C 0004C0BC 90 1F 0A C0 */ stw r0, 0xac0(r31) -/* 8004F160 0004C0C0 38 04 93 34 */ addi r0, r4, LoadActorContraption__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F164 0004C0C4 3C A0 80 0D */ lis r5, LoadOcculus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F168 0004C0C8 3C 80 80 0D */ lis r4, LoadGeemer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F16C 0004C0CC 90 1F 0A C4 */ stw r0, 0xac4(r31) -/* 8004F170 0004C0D0 38 03 8A 24 */ addi r0, r3, LoadAtomicAlpha__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F174 0004C0D4 3C 60 80 0D */ lis r3, LoadSpindleCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F178 0004C0D8 3D 00 80 0D */ lis r8, LoadRumbleEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F17C 0004C0DC 90 1F 0A D4 */ stw r0, 0xad4(r31) -/* 8004F180 0004C0E0 38 05 90 08 */ addi r0, r5, LoadOcculus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F184 0004C0E4 3C E0 80 0D */ lis r7, LoadAmbientAI__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F188 0004C0E8 3C C0 80 0D */ lis r6, LoadAtomicBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F18C 0004C0EC 90 1F 0A C8 */ stw r0, 0xac8(r31) -/* 8004F190 0004C0F0 38 04 8C 7C */ addi r0, r4, LoadGeemer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F194 0004C0F4 3C A0 80 0C */ lis r5, LoadIceZoomer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F198 0004C0F8 3C 80 80 0C */ lis r4, LoadPuffer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F19C 0004C0FC 90 1F 0A CC */ stw r0, 0xacc(r31) -/* 8004F1A0 0004C100 38 03 49 94 */ addi r0, r3, LoadSpindleCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F1A4 0004C104 3C 60 80 0C */ lis r3, LoadTryclops__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1A8 0004C108 3F C0 80 0C */ lis r30, LoadRidley__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1AC 0004C10C 90 1F 0A D0 */ stw r0, 0xad0(r31) -/* 8004F1B0 0004C110 38 08 88 10 */ addi r0, r8, LoadRumbleEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F1B4 0004C114 3F A0 80 0C */ lis r29, LoadSeedling__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1B8 0004C118 3F 80 80 0C */ lis r28, LoadThermalHeatFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1BC 0004C11C 90 1F 0A DC */ stw r0, 0xadc(r31) -/* 8004F1C0 0004C120 38 07 84 34 */ addi r0, r7, LoadAmbientAI__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F1C4 0004C124 3F 60 80 0C */ lis r27, LoadBurrower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1C8 0004C128 3F 40 80 0C */ lis r26, LoadScriptBeam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1CC 0004C12C 90 1F 0A E0 */ stw r0, 0xae0(r31) -/* 8004F1D0 0004C130 38 00 00 00 */ li r0, 0 -/* 8004F1D4 0004C134 3D 80 80 0C */ lis r12, LoadMetroidPrimeRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1D8 0004C138 3D 60 80 0C */ lis r11, LoadWorldLightFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1DC 0004C13C 90 1F 0A E4 */ stw r0, 0xae4(r31) -/* 8004F1E0 0004C140 38 C6 81 24 */ addi r6, r6, LoadAtomicBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F1E4 0004C144 3D 40 80 0C */ lis r10, LoadMetroidPrimeEssence__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1E8 0004C148 3D 20 80 0C */ lis r9, LoadMazeNode__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1EC 0004C14C 90 DF 0A E8 */ stw r6, 0xae8(r31) -/* 8004F1F0 0004C150 38 A5 7D 9C */ addi r5, r5, LoadIceZoomer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F1F4 0004C154 3D 00 80 0C */ lis r8, LoadOmegaPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1F8 0004C158 3C E0 80 0C */ lis r7, LoadPhazonPool__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F1FC 0004C15C 90 BF 0A EC */ stw r5, 0xaec(r31) -/* 8004F200 0004C160 38 84 79 68 */ addi r4, r4, LoadPuffer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F204 0004C164 3C C0 80 0C */ lis r6, LoadPhazonHealingNodule__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F208 0004C168 3C A0 80 0D */ lis r5, LoadNewCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F20C 0004C16C 90 9F 0A F0 */ stw r4, 0xaf0(r31) -/* 8004F210 0004C170 3B 23 77 28 */ addi r25, r3, LoadTryclops__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F214 0004C174 3C 80 80 0C */ lis r4, LoadShadowProjector__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F218 0004C178 3C 60 80 0C */ lis r3, LoadEnergyBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@ha -/* 8004F21C 0004C17C 93 3F 0A F4 */ stw r25, 0xaf4(r31) -/* 8004F220 0004C180 3B DE 7B D8 */ addi r30, r30, LoadRidley__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F224 0004C184 3B BD 74 28 */ addi r29, r29, LoadSeedling__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F228 0004C188 3B 9C 72 B8 */ addi r28, r28, LoadThermalHeatFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F22C 0004C18C 93 DF 0A F8 */ stw r30, 0xaf8(r31) -/* 8004F230 0004C190 3B 7B 70 54 */ addi r27, r27, LoadBurrower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F234 0004C194 3B 5A 63 CC */ addi r26, r26, LoadScriptBeam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F238 0004C198 39 8C 66 60 */ addi r12, r12, LoadMetroidPrimeRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F23C 0004C19C 93 BF 0A FC */ stw r29, 0xafc(r31) -/* 8004F240 0004C1A0 39 6B 62 5C */ addi r11, r11, LoadWorldLightFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F244 0004C1A4 39 4A 5F F0 */ addi r10, r10, LoadMetroidPrimeEssence__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F248 0004C1A8 39 29 5E CC */ addi r9, r9, LoadMazeNode__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F24C 0004C1AC 93 9F 0B 00 */ stw r28, 0xb00(r31) -/* 8004F250 0004C1B0 39 08 5C A4 */ addi r8, r8, LoadOmegaPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F254 0004C1B4 38 E7 5A 4C */ addi r7, r7, LoadPhazonPool__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F258 0004C1B8 38 C6 58 58 */ addi r6, r6, LoadPhazonHealingNodule__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F25C 0004C1BC 90 1F 0B 04 */ stw r0, 0xb04(r31) -/* 8004F260 0004C1C0 38 A5 37 3C */ addi r5, r5, LoadNewCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F264 0004C1C4 38 84 56 FC */ addi r4, r4, LoadShadowProjector__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F268 0004C1C8 38 63 52 7C */ addi r3, r3, LoadEnergyBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo@l -/* 8004F26C 0004C1CC 93 7F 0B 08 */ stw r27, 0xb08(r31) -/* 8004F270 0004C1D0 93 5F 0B 10 */ stw r26, 0xb10(r31) -/* 8004F274 0004C1D4 90 1F 0B 0C */ stw r0, 0xb0c(r31) -/* 8004F278 0004C1D8 91 9F 0B 1C */ stw r12, 0xb1c(r31) -/* 8004F27C 0004C1DC 90 1F 09 88 */ stw r0, 0x988(r31) -/* 8004F280 0004C1E0 90 1F 09 98 */ stw r0, 0x998(r31) -/* 8004F284 0004C1E4 91 7F 0B 14 */ stw r11, 0xb14(r31) -/* 8004F288 0004C1E8 91 5F 0B 18 */ stw r10, 0xb18(r31) -/* 8004F28C 0004C1EC 91 3F 0B 20 */ stw r9, 0xb20(r31) -/* 8004F290 0004C1F0 91 1F 0B 24 */ stw r8, 0xb24(r31) -/* 8004F294 0004C1F4 90 FF 0B 28 */ stw r7, 0xb28(r31) -/* 8004F298 0004C1F8 90 DF 0B 2C */ stw r6, 0xb2c(r31) -/* 8004F29C 0004C1FC 90 BF 0B 30 */ stw r5, 0xb30(r31) -/* 8004F2A0 0004C200 90 9F 0B 34 */ stw r4, 0xb34(r31) -/* 8004F2A4 0004C204 90 7F 0B 38 */ stw r3, 0xb38(r31) -/* 8004F2A8 0004C208 48 13 60 69 */ bl InitCollision__14CGameCollisionFv -/* 8004F2AC 0004C20C 80 1F 08 08 */ lwz r0, 0x808(r31) -/* 8004F2B0 0004C210 1C 60 20 0C */ mulli r3, r0, 0x200c -/* 8004F2B4 0004C214 38 63 01 1C */ addi r3, r3, 0x11c -/* 8004F2B8 0004C218 48 2C 66 09 */ bl OffsetFakeStatics__7CMemoryFi -/* 8004F2BC 0004C21C 4B FB D4 E1 */ bl ResetCommandFilters__13ControlMapperFv -/* 8004F2C0 0004C220 38 7F 08 F0 */ addi r3, r31, 0x8f0 -/* 8004F2C4 0004C224 48 2F 1A C1 */ bl Lock__6CTokenFv -/* 8004F2C8 0004C228 7F E3 FB 78 */ mr r3, r31 -/* 8004F2CC 0004C22C BB 21 00 E4 */ lmw r25, 0xe4(r1) -/* 8004F2D0 0004C230 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8004F2D4 0004C234 7C 08 03 A6 */ mtlr r0 -/* 8004F2D8 0004C238 38 21 01 00 */ addi r1, r1, 0x100 -/* 8004F2DC 0004C23C 4E 80 00 20 */ blr - -.global sub_8004f2e0 -sub_8004f2e0: -/* 8004F2E0 0004C240 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004F2E4 0004C244 7C 08 02 A6 */ mflr r0 -/* 8004F2E8 0004C248 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004F2EC 0004C24C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004F2F0 0004C250 7C 7F 1B 78 */ mr r31, r3 -/* 8004F2F4 0004C254 90 83 00 00 */ stw r4, 0(r3) -/* 8004F2F8 0004C258 38 7F 00 04 */ addi r3, r31, 4 -/* 8004F2FC 0004C25C 48 00 00 1D */ bl sub_8004f318 -/* 8004F300 0004C260 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004F304 0004C264 7F E3 FB 78 */ mr r3, r31 -/* 8004F308 0004C268 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004F30C 0004C26C 7C 08 03 A6 */ mtlr r0 -/* 8004F310 0004C270 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004F314 0004C274 4E 80 00 20 */ blr - -.global sub_8004f318 -sub_8004f318: -/* 8004F318 0004C278 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004F31C 0004C27C 7C 08 02 A6 */ mflr r0 -/* 8004F320 0004C280 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004F324 0004C284 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8004F328 0004C288 7C 7F 1B 78 */ mr r31, r3 -/* 8004F32C 0004C28C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8004F330 0004C290 3B C0 00 00 */ li r30, 0 -/* 8004F334 0004C294 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8004F338 0004C298 7C BD 2B 78 */ mr r29, r5 -/* 8004F33C 0004C29C 93 81 00 10 */ stw r28, 0x10(r1) -/* 8004F340 0004C2A0 7C 9C 23 78 */ mr r28, r4 -/* 8004F344 0004C2A4 48 00 00 94 */ b lbl_8004F3D8 -lbl_8004F348: -/* 8004F348 0004C2A8 28 1F 00 00 */ cmplwi r31, 0 -/* 8004F34C 0004C2AC 41 82 00 84 */ beq lbl_8004F3D0 -/* 8004F350 0004C2B0 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 8004F354 0004C2B4 98 1F 00 0C */ stb r0, 0xc(r31) -/* 8004F358 0004C2B8 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 8004F35C 0004C2BC 28 00 00 00 */ cmplwi r0, 0 -/* 8004F360 0004C2C0 41 82 00 20 */ beq lbl_8004F380 -/* 8004F364 0004C2C4 28 1F 00 00 */ cmplwi r31, 0 -/* 8004F368 0004C2C8 41 82 00 18 */ beq lbl_8004F380 -/* 8004F36C 0004C2CC 7F E3 FB 78 */ mr r3, r31 -/* 8004F370 0004C2D0 7F A4 EB 78 */ mr r4, r29 -/* 8004F374 0004C2D4 48 2F 1B 35 */ bl __ct__6CTokenFRC6CToken -/* 8004F378 0004C2D8 80 1D 00 08 */ lwz r0, 8(r29) -/* 8004F37C 0004C2DC 90 1F 00 08 */ stw r0, 8(r31) -lbl_8004F380: -/* 8004F380 0004C2E0 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8004F384 0004C2E4 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8004F388 0004C2E8 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 8004F38C 0004C2EC 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8004F390 0004C2F0 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 8004F394 0004C2F4 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8004F398 0004C2F8 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 8004F39C 0004C2FC D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8004F3A0 0004C300 C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 8004F3A4 0004C304 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 8004F3A8 0004C308 C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 8004F3AC 0004C30C D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 8004F3B0 0004C310 C0 1D 00 28 */ lfs f0, 0x28(r29) -/* 8004F3B4 0004C314 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 8004F3B8 0004C318 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 8004F3BC 0004C31C 98 1F 00 2C */ stb r0, 0x2c(r31) -/* 8004F3C0 0004C320 88 1D 00 2D */ lbz r0, 0x2d(r29) -/* 8004F3C4 0004C324 98 1F 00 2D */ stb r0, 0x2d(r31) -/* 8004F3C8 0004C328 80 1D 00 30 */ lwz r0, 0x30(r29) -/* 8004F3CC 0004C32C 90 1F 00 30 */ stw r0, 0x30(r31) -lbl_8004F3D0: -/* 8004F3D0 0004C330 3B DE 00 01 */ addi r30, r30, 1 -/* 8004F3D4 0004C334 3B FF 00 34 */ addi r31, r31, 0x34 -lbl_8004F3D8: -/* 8004F3D8 0004C338 7C 1E E0 00 */ cmpw r30, r28 -/* 8004F3DC 0004C33C 41 80 FF 6C */ blt lbl_8004F348 -/* 8004F3E0 0004C340 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004F3E4 0004C344 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8004F3E8 0004C348 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8004F3EC 0004C34C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8004F3F0 0004C350 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8004F3F4 0004C354 7C 08 03 A6 */ mtlr r0 -/* 8004F3F8 0004C358 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004F3FC 0004C35C 4E 80 00 20 */ blr - -.global "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" -"__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea": -/* 8004F400 0004C360 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8004F404 0004C364 7C 08 02 A6 */ mflr r0 -/* 8004F408 0004C368 90 01 00 44 */ stw r0, 0x44(r1) -/* 8004F40C 0004C36C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8004F410 0004C370 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8004F414 0004C374 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8004F418 0004C378 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8004F41C 0004C37C 7C 7E 1B 78 */ mr r30, r3 -/* 8004F420 0004C380 80 04 00 04 */ lwz r0, 4(r4) -/* 8004F424 0004C384 80 65 00 04 */ lwz r3, 4(r5) -/* 8004F428 0004C388 7C BF 2B 78 */ mr r31, r5 -/* 8004F42C 0004C38C 7C 00 18 00 */ cmpw r0, r3 -/* 8004F430 0004C390 40 82 00 0C */ bne lbl_8004F43C -/* 8004F434 0004C394 38 60 00 00 */ li r3, 0 -/* 8004F438 0004C398 48 00 00 94 */ b lbl_8004F4CC -lbl_8004F43C: -/* 8004F43C 0004C39C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8004F440 0004C3A0 7C 00 28 00 */ cmpw r0, r5 -/* 8004F444 0004C3A4 40 82 00 0C */ bne lbl_8004F450 -/* 8004F448 0004C3A8 38 60 00 00 */ li r3, 0 -/* 8004F44C 0004C3AC 48 00 00 80 */ b lbl_8004F4CC -lbl_8004F450: -/* 8004F450 0004C3B0 7C 03 28 00 */ cmpw r3, r5 -/* 8004F454 0004C3B4 40 82 00 0C */ bne lbl_8004F460 -/* 8004F458 0004C3B8 38 60 00 01 */ li r3, 1 -/* 8004F45C 0004C3BC 48 00 00 70 */ b lbl_8004F4CC -lbl_8004F460: -/* 8004F460 0004C3C0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8004F464 0004C3C4 38 84 00 6C */ addi r4, r4, 0x6c -/* 8004F468 0004C3C8 48 2E 81 A5 */ bl GetCenterPoint__6CAABoxCFv -/* 8004F46C 0004C3CC C0 3E 00 04 */ lfs f1, 4(r30) -/* 8004F470 0004C3D0 38 61 00 08 */ addi r3, r1, 8 -/* 8004F474 0004C3D4 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8004F478 0004C3D8 38 9F 00 6C */ addi r4, r31, 0x6c -/* 8004F47C 0004C3DC C0 5E 00 00 */ lfs f2, 0(r30) -/* 8004F480 0004C3E0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8004F484 0004C3E4 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8004F488 0004C3E8 C0 9E 00 08 */ lfs f4, 8(r30) -/* 8004F48C 0004C3EC C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 8004F490 0004C3F0 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8004F494 0004C3F4 EF E4 00 FA */ fmadds f31, f4, f3, f0 -/* 8004F498 0004C3F8 48 2E 81 75 */ bl GetCenterPoint__6CAABoxCFv -/* 8004F49C 0004C3FC C0 3E 00 04 */ lfs f1, 4(r30) -/* 8004F4A0 0004C400 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8004F4A4 0004C404 C0 5E 00 00 */ lfs f2, 0(r30) -/* 8004F4A8 0004C408 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8004F4AC 0004C40C C0 21 00 08 */ lfs f1, 8(r1) -/* 8004F4B0 0004C410 C0 9E 00 08 */ lfs f4, 8(r30) -/* 8004F4B4 0004C414 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8004F4B8 0004C418 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8004F4BC 0004C41C EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 8004F4C0 0004C420 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8004F4C4 0004C424 7C 00 00 26 */ mfcr r0 -/* 8004F4C8 0004C428 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -lbl_8004F4CC: -/* 8004F4CC 0004C42C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8004F4D0 0004C430 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8004F4D4 0004C434 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8004F4D8 0004C438 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8004F4DC 0004C43C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8004F4E0 0004C440 7C 08 03 A6 */ mtlr r0 -/* 8004F4E4 0004C444 38 21 00 40 */ addi r1, r1, 0x40 -/* 8004F4E8 0004C448 4E 80 00 20 */ blr - -.global sub_8004f4ec -sub_8004f4ec: -/* 8004F4EC 0004C44C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004F4F0 0004C450 7C 08 02 A6 */ mflr r0 -/* 8004F4F4 0004C454 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004F4F8 0004C458 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004F4FC 0004C45C 7C 9F 23 78 */ mr r31, r4 -/* 8004F500 0004C460 93 C1 00 08 */ stw r30, 8(r1) -/* 8004F504 0004C464 7C 7E 1B 78 */ mr r30, r3 -/* 8004F508 0004C468 80 84 00 00 */ lwz r4, 0(r4) -/* 8004F50C 0004C46C 28 04 00 00 */ cmplwi r4, 0 -/* 8004F510 0004C470 41 82 00 08 */ beq lbl_8004F518 -/* 8004F514 0004C474 4B FF FF D9 */ bl sub_8004f4ec -lbl_8004F518: -/* 8004F518 0004C478 80 9F 00 04 */ lwz r4, 4(r31) -/* 8004F51C 0004C47C 28 04 00 00 */ cmplwi r4, 0 -/* 8004F520 0004C480 41 82 00 0C */ beq lbl_8004F52C -/* 8004F524 0004C484 7F C3 F3 78 */ mr r3, r30 -/* 8004F528 0004C488 4B FF FF C5 */ bl sub_8004f4ec -lbl_8004F52C: -/* 8004F52C 0004C48C 28 1F 00 00 */ cmplwi r31, 0 -/* 8004F530 0004C490 41 82 00 0C */ beq lbl_8004F53C -/* 8004F534 0004C494 7F E3 FB 78 */ mr r3, r31 -/* 8004F538 0004C498 48 2C 63 F9 */ bl Free__7CMemoryFPCv -lbl_8004F53C: -/* 8004F53C 0004C49C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004F540 0004C4A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004F544 0004C4A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004F548 0004C4A8 7C 08 03 A6 */ mtlr r0 -/* 8004F54C 0004C4AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004F550 0004C4B0 4E 80 00 20 */ blr - -.global sub_8004f554 -sub_8004f554: -/* 8004F554 0004C4B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004F558 0004C4B8 7C 08 02 A6 */ mflr r0 -/* 8004F55C 0004C4BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004F560 0004C4C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004F564 0004C4C4 7C 9F 23 78 */ mr r31, r4 -/* 8004F568 0004C4C8 93 C1 00 08 */ stw r30, 8(r1) -/* 8004F56C 0004C4CC 7C 7E 1B 78 */ mr r30, r3 -/* 8004F570 0004C4D0 80 84 00 00 */ lwz r4, 0(r4) -/* 8004F574 0004C4D4 28 04 00 00 */ cmplwi r4, 0 -/* 8004F578 0004C4D8 41 82 00 08 */ beq lbl_8004F580 -/* 8004F57C 0004C4DC 4B FF FF D9 */ bl sub_8004f554 -lbl_8004F580: -/* 8004F580 0004C4E0 80 9F 00 04 */ lwz r4, 4(r31) -/* 8004F584 0004C4E4 28 04 00 00 */ cmplwi r4, 0 -/* 8004F588 0004C4E8 41 82 00 0C */ beq lbl_8004F594 -/* 8004F58C 0004C4EC 7F C3 F3 78 */ mr r3, r30 -/* 8004F590 0004C4F0 4B FF FF C5 */ bl sub_8004f554 -lbl_8004F594: -/* 8004F594 0004C4F4 28 1F 00 00 */ cmplwi r31, 0 -/* 8004F598 0004C4F8 41 82 00 0C */ beq lbl_8004F5A4 -/* 8004F59C 0004C4FC 7F E3 FB 78 */ mr r3, r31 -/* 8004F5A0 0004C500 48 2C 63 91 */ bl Free__7CMemoryFPCv -lbl_8004F5A4: -/* 8004F5A4 0004C504 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004F5A8 0004C508 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004F5AC 0004C50C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004F5B0 0004C510 7C 08 03 A6 */ mtlr r0 -/* 8004F5B4 0004C514 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004F5B8 0004C518 4E 80 00 20 */ blr - -.global sub_8004f5bc -sub_8004f5bc: -/* 8004F5BC 0004C51C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004F5C0 0004C520 7C 08 02 A6 */ mflr r0 -/* 8004F5C4 0004C524 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004F5C8 0004C528 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8004F5CC 0004C52C 7C 9F 23 78 */ mr r31, r4 -/* 8004F5D0 0004C530 93 C1 00 08 */ stw r30, 8(r1) -/* 8004F5D4 0004C534 7C 7E 1B 78 */ mr r30, r3 -/* 8004F5D8 0004C538 80 84 00 00 */ lwz r4, 0(r4) -/* 8004F5DC 0004C53C 28 04 00 00 */ cmplwi r4, 0 -/* 8004F5E0 0004C540 41 82 00 08 */ beq lbl_8004F5E8 -/* 8004F5E4 0004C544 4B FF FF D9 */ bl sub_8004f5bc -lbl_8004F5E8: -/* 8004F5E8 0004C548 80 9F 00 04 */ lwz r4, 4(r31) -/* 8004F5EC 0004C54C 28 04 00 00 */ cmplwi r4, 0 -/* 8004F5F0 0004C550 41 82 00 0C */ beq lbl_8004F5FC -/* 8004F5F4 0004C554 7F C3 F3 78 */ mr r3, r30 -/* 8004F5F8 0004C558 4B FF FF C5 */ bl sub_8004f5bc -lbl_8004F5FC: -/* 8004F5FC 0004C55C 28 1F 00 00 */ cmplwi r31, 0 -/* 8004F600 0004C560 41 82 00 14 */ beq lbl_8004F614 -/* 8004F604 0004C564 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8004F608 0004C568 41 82 00 0C */ beq lbl_8004F614 -/* 8004F60C 0004C56C 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8004F610 0004C570 48 2E E4 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8004F614: -/* 8004F614 0004C574 28 1F 00 00 */ cmplwi r31, 0 -/* 8004F618 0004C578 41 82 00 0C */ beq lbl_8004F624 -/* 8004F61C 0004C57C 7F E3 FB 78 */ mr r3, r31 -/* 8004F620 0004C580 48 2C 63 11 */ bl Free__7CMemoryFPCv -lbl_8004F624: -/* 8004F624 0004C584 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004F628 0004C588 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8004F62C 0004C58C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8004F630 0004C590 7C 08 03 A6 */ mtlr r0 -/* 8004F634 0004C594 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004F638 0004C598 4E 80 00 20 */ blr - -.global "__nw__36TOneStatic<22CStateManagerContainer>FUlPCcPCc" -"__nw__36TOneStatic<22CStateManagerContainer>FUlPCcPCc": -/* 8004F63C 0004C59C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004F640 0004C5A0 7C 08 02 A6 */ mflr r0 -/* 8004F644 0004C5A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004F648 0004C5A8 48 00 00 5D */ bl "ReferenceCount__36TOneStatic<22CStateManagerContainer>Fv" -/* 8004F64C 0004C5AC 80 83 00 00 */ lwz r4, 0(r3) -/* 8004F650 0004C5B0 38 04 00 01 */ addi r0, r4, 1 -/* 8004F654 0004C5B4 90 03 00 00 */ stw r0, 0(r3) -/* 8004F658 0004C5B8 48 00 00 41 */ bl "GetAllocSpace__36TOneStatic<22CStateManagerContainer>Fv" -/* 8004F65C 0004C5BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004F660 0004C5C0 7C 08 03 A6 */ mtlr r0 -/* 8004F664 0004C5C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004F668 0004C5C8 4E 80 00 20 */ blr - -.global "__dl__36TOneStatic<22CStateManagerContainer>FPv" -"__dl__36TOneStatic<22CStateManagerContainer>FPv": -/* 8004F66C 0004C5CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004F670 0004C5D0 7C 08 02 A6 */ mflr r0 -/* 8004F674 0004C5D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004F678 0004C5D8 48 00 00 2D */ bl "ReferenceCount__36TOneStatic<22CStateManagerContainer>Fv" -/* 8004F67C 0004C5DC 80 83 00 00 */ lwz r4, 0(r3) -/* 8004F680 0004C5E0 38 04 FF FF */ addi r0, r4, -1 -/* 8004F684 0004C5E4 90 03 00 00 */ stw r0, 0(r3) -/* 8004F688 0004C5E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004F68C 0004C5EC 7C 08 03 A6 */ mtlr r0 -/* 8004F690 0004C5F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004F694 0004C5F4 4E 80 00 20 */ blr - -.global "GetAllocSpace__36TOneStatic<22CStateManagerContainer>Fv" -"GetAllocSpace__36TOneStatic<22CStateManagerContainer>Fv": -/* 8004F698 0004C5F8 3C 60 80 46 */ lis r3, lbl_8045C5B4@ha -/* 8004F69C 0004C5FC 38 63 C5 B4 */ addi r3, r3, lbl_8045C5B4@l -/* 8004F6A0 0004C600 4E 80 00 20 */ blr - -.global "ReferenceCount__36TOneStatic<22CStateManagerContainer>Fv" -"ReferenceCount__36TOneStatic<22CStateManagerContainer>Fv": -/* 8004F6A4 0004C604 88 0D A2 14 */ lbz r0, lbl_805A8DD4@sda21(r13) -/* 8004F6A8 0004C608 7C 00 07 75 */ extsb. r0, r0 -/* 8004F6AC 0004C60C 40 82 00 14 */ bne lbl_8004F6C0 -/* 8004F6B0 0004C610 38 60 00 00 */ li r3, 0 -/* 8004F6B4 0004C614 38 00 00 01 */ li r0, 1 -/* 8004F6B8 0004C618 90 6D A2 10 */ stw r3, lbl_805A8DD0@sda21(r13) -/* 8004F6BC 0004C61C 98 0D A2 14 */ stb r0, lbl_805A8DD4@sda21(r13) -lbl_8004F6C0: -/* 8004F6C0 0004C620 38 6D A2 10 */ addi r3, r13, lbl_805A8DD0@sda21 -/* 8004F6C4 0004C624 4E 80 00 20 */ blr - -.global "__dl__27TOneStatic<13CStateManager>FPv" -"__dl__27TOneStatic<13CStateManager>FPv": -/* 8004F6C8 0004C628 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004F6CC 0004C62C 7C 08 02 A6 */ mflr r0 -/* 8004F6D0 0004C630 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004F6D4 0004C634 4B FD 5A 45 */ bl "ReferenceCount__27TOneStatic<13CStateManager>Fv" -/* 8004F6D8 0004C638 80 83 00 00 */ lwz r4, 0(r3) -/* 8004F6DC 0004C63C 38 04 FF FF */ addi r0, r4, -1 -/* 8004F6E0 0004C640 90 03 00 00 */ stw r0, 0(r3) -/* 8004F6E4 0004C644 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004F6E8 0004C648 7C 08 03 A6 */ mtlr r0 -/* 8004F6EC 0004C64C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004F6F0 0004C650 4E 80 00 20 */ blr - -.global "__nw__20TOneStatic<7CPlayer>FUlPCcPCc" -"__nw__20TOneStatic<7CPlayer>FUlPCcPCc": -/* 8004F6F4 0004C654 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8004F6F8 0004C658 7C 08 02 A6 */ mflr r0 -/* 8004F6FC 0004C65C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004F700 0004C660 4B FC B9 1D */ bl "ReferenceCount__20TOneStatic<7CPlayer>Fv" -/* 8004F704 0004C664 80 83 00 00 */ lwz r4, 0(r3) -/* 8004F708 0004C668 38 04 00 01 */ addi r0, r4, 1 -/* 8004F70C 0004C66C 90 03 00 00 */ stw r0, 0(r3) -/* 8004F710 0004C670 48 00 00 15 */ bl "GetAllocSpace__20TOneStatic<7CPlayer>Fv" -/* 8004F714 0004C674 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8004F718 0004C678 7C 08 03 A6 */ mtlr r0 -/* 8004F71C 0004C67C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8004F720 0004C680 4E 80 00 20 */ blr - -.global "GetAllocSpace__20TOneStatic<7CPlayer>Fv" -"GetAllocSpace__20TOneStatic<7CPlayer>Fv": -/* 8004F724 0004C684 3C 60 80 47 */ lis r3, lbl_8046B97C@ha -/* 8004F728 0004C688 38 63 B9 7C */ addi r3, r3, lbl_8046B97C@l -/* 8004F72C 0004C68C 4E 80 00 20 */ blr - -.global "Max__5CMathFRCfRCf" -"Max__5CMathFRCfRCf": -/* 8004F730 0004C690 C0 23 00 00 */ lfs f1, 0(r3) -/* 8004F734 0004C694 C0 04 00 00 */ lfs f0, 0(r4) -/* 8004F738 0004C698 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8004F73C 0004C69C 4D 81 00 20 */ bgtlr -/* 8004F740 0004C6A0 7C 83 23 78 */ mr r3, r4 -/* 8004F744 0004C6A4 4E 80 00 20 */ blr - -.global "sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" -"sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter": -/* 8004F748 0004C6A8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8004F74C 0004C6AC 7C 08 02 A6 */ mflr r0 -/* 8004F750 0004C6B0 90 01 00 64 */ stw r0, 0x64(r1) -/* 8004F754 0004C6B4 BF 41 00 48 */ stmw r26, 0x48(r1) -/* 8004F758 0004C6B8 7C 7D 1B 78 */ mr r29, r3 -/* 8004F75C 0004C6BC 7C 9E 23 78 */ mr r30, r4 -/* 8004F760 0004C6C0 7C BF 2B 78 */ mr r31, r5 -/* 8004F764 0004C6C4 7C 1D F0 50 */ subf r0, r29, r30 -/* 8004F768 0004C6C8 7C 00 16 70 */ srawi r0, r0, 2 -/* 8004F76C 0004C6CC 7C A0 01 94 */ addze r5, r0 -/* 8004F770 0004C6D0 2C 05 00 01 */ cmpwi r5, 1 -/* 8004F774 0004C6D4 40 81 01 50 */ ble lbl_8004F8C4 -/* 8004F778 0004C6D8 2C 05 00 14 */ cmpwi r5, 0x14 -/* 8004F77C 0004C6DC 41 81 00 30 */ bgt lbl_8004F7AC -/* 8004F780 0004C6E0 81 1F 00 00 */ lwz r8, 0(r31) -/* 8004F784 0004C6E4 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8004F788 0004C6E8 80 FF 00 04 */ lwz r7, 4(r31) -/* 8004F78C 0004C6EC 80 DF 00 08 */ lwz r6, 8(r31) -/* 8004F790 0004C6F0 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8004F794 0004C6F4 91 01 00 38 */ stw r8, 0x38(r1) -/* 8004F798 0004C6F8 90 E1 00 3C */ stw r7, 0x3c(r1) -/* 8004F79C 0004C6FC 90 C1 00 40 */ stw r6, 0x40(r1) -/* 8004F7A0 0004C700 90 01 00 44 */ stw r0, 0x44(r1) -/* 8004F7A4 0004C704 48 00 10 51 */ bl "__insertion_sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" -/* 8004F7A8 0004C708 48 00 01 1C */ b lbl_8004F8C4 -lbl_8004F7AC: -/* 8004F7AC 0004C70C 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 8004F7B0 0004C710 80 9F 00 00 */ lwz r4, 0(r31) -/* 8004F7B4 0004C714 7C 00 2A 14 */ add r0, r0, r5 -/* 8004F7B8 0004C718 81 1F 00 04 */ lwz r8, 4(r31) -/* 8004F7BC 0004C71C 7C 05 0E 70 */ srawi r5, r0, 1 -/* 8004F7C0 0004C720 80 FF 00 08 */ lwz r7, 8(r31) -/* 8004F7C4 0004C724 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8004F7C8 0004C728 54 A5 10 3A */ slwi r5, r5, 2 -/* 8004F7CC 0004C72C 7F 9D 2A 14 */ add r28, r29, r5 -/* 8004F7D0 0004C730 3B 7E FF FC */ addi r27, r30, -4 -/* 8004F7D4 0004C734 90 81 00 28 */ stw r4, 0x28(r1) -/* 8004F7D8 0004C738 7F 84 E3 78 */ mr r4, r28 -/* 8004F7DC 0004C73C 7F 65 DB 78 */ mr r5, r27 -/* 8004F7E0 0004C740 38 C1 00 28 */ addi r6, r1, 0x28 -/* 8004F7E4 0004C744 91 01 00 2C */ stw r8, 0x2c(r1) -/* 8004F7E8 0004C748 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8004F7EC 0004C74C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8004F7F0 0004C750 48 00 15 D9 */ bl "__sort3__4rstlFRPC9CGameAreaRPC9CGameAreaRPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" -/* 8004F7F4 0004C754 83 9C 00 00 */ lwz r28, 0(r28) -/* 8004F7F8 0004C758 3B 5D 00 04 */ addi r26, r29, 4 -/* 8004F7FC 0004C75C 3B 7B FF FC */ addi r27, r27, -4 -/* 8004F800 0004C760 48 00 00 08 */ b lbl_8004F808 -lbl_8004F804: -/* 8004F804 0004C764 3B 5A 00 04 */ addi r26, r26, 4 -lbl_8004F808: -/* 8004F808 0004C768 80 9A 00 00 */ lwz r4, 0(r26) -/* 8004F80C 0004C76C 7F E3 FB 78 */ mr r3, r31 -/* 8004F810 0004C770 7F 85 E3 78 */ mr r5, r28 -/* 8004F814 0004C774 4B FF FB ED */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" -/* 8004F818 0004C778 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004F81C 0004C77C 40 82 FF E8 */ bne lbl_8004F804 -/* 8004F820 0004C780 48 00 00 08 */ b lbl_8004F828 -lbl_8004F824: -/* 8004F824 0004C784 3B 7B FF FC */ addi r27, r27, -4 -lbl_8004F828: -/* 8004F828 0004C788 80 BB 00 00 */ lwz r5, 0(r27) -/* 8004F82C 0004C78C 7F E3 FB 78 */ mr r3, r31 -/* 8004F830 0004C790 7F 84 E3 78 */ mr r4, r28 -/* 8004F834 0004C794 4B FF FB CD */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" -/* 8004F838 0004C798 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8004F83C 0004C79C 40 82 FF E8 */ bne lbl_8004F824 -/* 8004F840 0004C7A0 7C 1A D8 40 */ cmplw r26, r27 -/* 8004F844 0004C7A4 40 80 00 20 */ bge lbl_8004F864 -/* 8004F848 0004C7A8 80 7A 00 00 */ lwz r3, 0(r26) -/* 8004F84C 0004C7AC 80 1B 00 00 */ lwz r0, 0(r27) -/* 8004F850 0004C7B0 90 1A 00 00 */ stw r0, 0(r26) -/* 8004F854 0004C7B4 3B 5A 00 04 */ addi r26, r26, 4 -/* 8004F858 0004C7B8 90 7B 00 00 */ stw r3, 0(r27) -/* 8004F85C 0004C7BC 3B 7B FF FC */ addi r27, r27, -4 -/* 8004F860 0004C7C0 4B FF FF A8 */ b lbl_8004F808 -lbl_8004F864: -/* 8004F864 0004C7C4 81 1F 00 00 */ lwz r8, 0(r31) -/* 8004F868 0004C7C8 7F A3 EB 78 */ mr r3, r29 -/* 8004F86C 0004C7CC 80 FF 00 04 */ lwz r7, 4(r31) -/* 8004F870 0004C7D0 7F 44 D3 78 */ mr r4, r26 -/* 8004F874 0004C7D4 80 DF 00 08 */ lwz r6, 8(r31) -/* 8004F878 0004C7D8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8004F87C 0004C7DC 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8004F880 0004C7E0 91 01 00 18 */ stw r8, 0x18(r1) -/* 8004F884 0004C7E4 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 8004F888 0004C7E8 90 C1 00 20 */ stw r6, 0x20(r1) -/* 8004F88C 0004C7EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004F890 0004C7F0 4B FF FE B9 */ bl "sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" -/* 8004F894 0004C7F4 81 1F 00 00 */ lwz r8, 0(r31) -/* 8004F898 0004C7F8 7F 43 D3 78 */ mr r3, r26 -/* 8004F89C 0004C7FC 80 FF 00 04 */ lwz r7, 4(r31) -/* 8004F8A0 0004C800 7F C4 F3 78 */ mr r4, r30 -/* 8004F8A4 0004C804 80 DF 00 08 */ lwz r6, 8(r31) -/* 8004F8A8 0004C808 38 A1 00 08 */ addi r5, r1, 8 -/* 8004F8AC 0004C80C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8004F8B0 0004C810 91 01 00 08 */ stw r8, 8(r1) -/* 8004F8B4 0004C814 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8004F8B8 0004C818 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8004F8BC 0004C81C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8004F8C0 0004C820 4B FF FE 89 */ bl "sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" -lbl_8004F8C4: -/* 8004F8C4 0004C824 BB 41 00 48 */ lmw r26, 0x48(r1) -/* 8004F8C8 0004C828 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8004F8CC 0004C82C 7C 08 03 A6 */ mtlr r0 -/* 8004F8D0 0004C830 38 21 00 60 */ addi r1, r1, 0x60 -/* 8004F8D4 0004C834 4E 80 00 20 */ blr - -.global sub_8004f8d8 -sub_8004f8d8: -/* 8004F8D8 0004C838 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8004F8DC 0004C83C 7C 08 02 A6 */ mflr r0 -/* 8004F8E0 0004C840 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8004F8E4 0004C844 DB E1 00 A8 */ stfd f31, 0xa8(r1) -/* 8004F8E8 0004C848 93 E1 00 A4 */ stw r31, 0xa4(r1) -/* 8004F8EC 0004C84C 7C BF 2B 78 */ mr r31, r5 -/* 8004F8F0 0004C850 93 C1 00 A0 */ stw r30, 0xa0(r1) -/* 8004F8F4 0004C854 7C 9E 23 78 */ mr r30, r4 -/* 8004F8F8 0004C858 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 8004F8FC 0004C85C 93 A1 00 9C */ stw r29, 0x9c(r1) -/* 8004F900 0004C860 7C 7D 1B 78 */ mr r29, r3 -/* 8004F904 0004C864 38 84 66 67 */ addi r4, r4, 0x66666667@l -/* 8004F908 0004C868 93 81 00 98 */ stw r28, 0x98(r1) -/* 8004F90C 0004C86C 80 63 00 00 */ lwz r3, 0(r3) -/* 8004F910 0004C870 80 DE 00 00 */ lwz r6, 0(r30) -/* 8004F914 0004C874 7C 03 30 50 */ subf r0, r3, r6 -/* 8004F918 0004C878 7C 04 00 96 */ mulhw r0, r4, r0 -/* 8004F91C 0004C87C 7C 00 2E 70 */ srawi r0, r0, 5 -/* 8004F920 0004C880 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8004F924 0004C884 7C 80 22 14 */ add r4, r0, r4 -/* 8004F928 0004C888 2C 04 00 01 */ cmpwi r4, 1 -/* 8004F92C 0004C88C 40 81 01 E0 */ ble lbl_8004FB0C -/* 8004F930 0004C890 2C 04 00 14 */ cmpwi r4, 0x14 -/* 8004F934 0004C894 41 81 00 30 */ bgt lbl_8004F964 -/* 8004F938 0004C898 88 FF 00 00 */ lbz r7, 0(r31) -/* 8004F93C 0004C89C 38 61 00 34 */ addi r3, r1, 0x34 -/* 8004F940 0004C8A0 80 DE 00 00 */ lwz r6, 0(r30) -/* 8004F944 0004C8A4 38 81 00 30 */ addi r4, r1, 0x30 -/* 8004F948 0004C8A8 80 1D 00 00 */ lwz r0, 0(r29) -/* 8004F94C 0004C8AC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8004F950 0004C8B0 98 E1 00 14 */ stb r7, 0x14(r1) -/* 8004F954 0004C8B4 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8004F958 0004C8B8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8004F95C 0004C8BC 48 00 15 19 */ bl "__insertion_sort,Q24rstl17rmemory_allocator>,15CLightPredicate>__4rstlFQ24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>15CLightPredicate" -/* 8004F960 0004C8C0 48 00 01 AC */ b lbl_8004FB0C -lbl_8004F964: -/* 8004F964 0004C8C4 54 80 0F FE */ srwi r0, r4, 0x1f -/* 8004F968 0004C8C8 38 A6 FF B0 */ addi r5, r6, -80 -/* 8004F96C 0004C8CC 7C 80 22 14 */ add r4, r0, r4 -/* 8004F970 0004C8D0 88 1F 00 00 */ lbz r0, 0(r31) -/* 8004F974 0004C8D4 7C 84 0E 70 */ srawi r4, r4, 1 -/* 8004F978 0004C8D8 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 8004F97C 0004C8DC 1C 84 00 50 */ mulli r4, r4, 0x50 -/* 8004F980 0004C8E0 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8004F984 0004C8E4 98 01 00 10 */ stb r0, 0x10(r1) -/* 8004F988 0004C8E8 7F 83 22 14 */ add r28, r3, r4 -/* 8004F98C 0004C8EC 7F 84 E3 78 */ mr r4, r28 -/* 8004F990 0004C8F0 48 00 0E ED */ bl sub_8005087c -/* 8004F994 0004C8F4 7F 84 E3 78 */ mr r4, r28 -/* 8004F998 0004C8F8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8004F99C 0004C8FC 4B FE BB D5 */ bl __ct__6CLightFCR6CLight -/* 8004F9A0 0004C900 80 9D 00 00 */ lwz r4, 0(r29) -/* 8004F9A4 0004C904 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8004F9A8 0004C908 38 84 00 50 */ addi r4, r4, 0x50 -/* 8004F9AC 0004C90C 38 03 FF B0 */ addi r0, r3, -80 -/* 8004F9B0 0004C910 90 81 00 38 */ stw r4, 0x38(r1) -/* 8004F9B4 0004C914 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8004F9B8 0004C918 48 00 00 10 */ b lbl_8004F9C8 -lbl_8004F9BC: -/* 8004F9BC 0004C91C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8004F9C0 0004C920 38 03 00 50 */ addi r0, r3, 0x50 -/* 8004F9C4 0004C924 90 01 00 38 */ stw r0, 0x38(r1) -lbl_8004F9C8: -/* 8004F9C8 0004C928 83 81 00 38 */ lwz r28, 0x38(r1) -/* 8004F9CC 0004C92C 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 8004F9D0 0004C930 80 7C 00 3C */ lwz r3, 0x3c(r28) -/* 8004F9D4 0004C934 7C 03 00 00 */ cmpw r3, r0 -/* 8004F9D8 0004C938 40 81 00 0C */ ble lbl_8004F9E4 -/* 8004F9DC 0004C93C 38 00 00 01 */ li r0, 1 -/* 8004F9E0 0004C940 48 00 00 30 */ b lbl_8004FA10 -lbl_8004F9E4: -/* 8004F9E4 0004C944 40 82 00 28 */ bne lbl_8004FA0C -/* 8004F9E8 0004C948 38 61 00 40 */ addi r3, r1, 0x40 -/* 8004F9EC 0004C94C 48 2B 67 69 */ bl GetIntensity__6CLightCFv -/* 8004F9F0 0004C950 FF E0 08 90 */ fmr f31, f1 -/* 8004F9F4 0004C954 7F 83 E3 78 */ mr r3, r28 -/* 8004F9F8 0004C958 48 2B 67 5D */ bl GetIntensity__6CLightCFv -/* 8004F9FC 0004C95C FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8004FA00 0004C960 7C 00 00 26 */ mfcr r0 -/* 8004FA04 0004C964 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 8004FA08 0004C968 48 00 00 08 */ b lbl_8004FA10 -lbl_8004FA0C: -/* 8004FA0C 0004C96C 38 00 00 00 */ li r0, 0 -lbl_8004FA10: -/* 8004FA10 0004C970 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8004FA14 0004C974 40 82 FF A8 */ bne lbl_8004F9BC -/* 8004FA18 0004C978 48 00 00 10 */ b lbl_8004FA28 -lbl_8004FA1C: -/* 8004FA1C 0004C97C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8004FA20 0004C980 38 03 FF B0 */ addi r0, r3, -80 -/* 8004FA24 0004C984 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_8004FA28: -/* 8004FA28 0004C988 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8004FA2C 0004C98C 80 81 00 7C */ lwz r4, 0x7c(r1) -/* 8004FA30 0004C990 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8004FA34 0004C994 7C 04 00 00 */ cmpw r4, r0 -/* 8004FA38 0004C998 40 81 00 0C */ ble lbl_8004FA44 -/* 8004FA3C 0004C99C 38 00 00 01 */ li r0, 1 -/* 8004FA40 0004C9A0 48 00 00 2C */ b lbl_8004FA6C -lbl_8004FA44: -/* 8004FA44 0004C9A4 40 82 00 24 */ bne lbl_8004FA68 -/* 8004FA48 0004C9A8 48 2B 67 0D */ bl GetIntensity__6CLightCFv -/* 8004FA4C 0004C9AC FF E0 08 90 */ fmr f31, f1 -/* 8004FA50 0004C9B0 38 61 00 40 */ addi r3, r1, 0x40 -/* 8004FA54 0004C9B4 48 2B 67 01 */ bl GetIntensity__6CLightCFv -/* 8004FA58 0004C9B8 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8004FA5C 0004C9BC 7C 00 00 26 */ mfcr r0 -/* 8004FA60 0004C9C0 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 8004FA64 0004C9C4 48 00 00 08 */ b lbl_8004FA6C -lbl_8004FA68: -/* 8004FA68 0004C9C8 38 00 00 00 */ li r0, 0 -lbl_8004FA6C: -/* 8004FA6C 0004C9CC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8004FA70 0004C9D0 40 82 FF AC */ bne lbl_8004FA1C -/* 8004FA74 0004C9D4 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8004FA78 0004C9D8 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8004FA7C 0004C9DC 7C 03 00 40 */ cmplw r3, r0 -/* 8004FA80 0004C9E0 40 80 00 3C */ bge lbl_8004FABC -/* 8004FA84 0004C9E4 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 8004FA88 0004C9E8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8004FA8C 0004C9EC 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8004FA90 0004C9F0 38 81 00 28 */ addi r4, r1, 0x28 -/* 8004FA94 0004C9F4 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8004FA98 0004C9F8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8004FA9C 0004C9FC 48 00 00 95 */ bl sub_8004fb30 -/* 8004FAA0 0004CA00 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8004FAA4 0004CA04 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8004FAA8 0004CA08 38 84 00 50 */ addi r4, r4, 0x50 -/* 8004FAAC 0004CA0C 38 03 FF B0 */ addi r0, r3, -80 -/* 8004FAB0 0004CA10 90 81 00 38 */ stw r4, 0x38(r1) -/* 8004FAB4 0004CA14 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8004FAB8 0004CA18 4B FF FF 10 */ b lbl_8004F9C8 -lbl_8004FABC: -/* 8004FABC 0004CA1C 88 FF 00 00 */ lbz r7, 0(r31) -/* 8004FAC0 0004CA20 38 61 00 24 */ addi r3, r1, 0x24 -/* 8004FAC4 0004CA24 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 8004FAC8 0004CA28 38 81 00 20 */ addi r4, r1, 0x20 -/* 8004FACC 0004CA2C 80 1D 00 00 */ lwz r0, 0(r29) -/* 8004FAD0 0004CA30 38 A1 00 0C */ addi r5, r1, 0xc -/* 8004FAD4 0004CA34 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8004FAD8 0004CA38 90 C1 00 20 */ stw r6, 0x20(r1) -/* 8004FADC 0004CA3C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004FAE0 0004CA40 4B FF FD F9 */ bl sub_8004f8d8 -/* 8004FAE4 0004CA44 88 FF 00 00 */ lbz r7, 0(r31) -/* 8004FAE8 0004CA48 38 61 00 1C */ addi r3, r1, 0x1c -/* 8004FAEC 0004CA4C 80 DE 00 00 */ lwz r6, 0(r30) -/* 8004FAF0 0004CA50 38 81 00 18 */ addi r4, r1, 0x18 -/* 8004FAF4 0004CA54 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8004FAF8 0004CA58 38 A1 00 08 */ addi r5, r1, 8 -/* 8004FAFC 0004CA5C 98 E1 00 08 */ stb r7, 8(r1) -/* 8004FB00 0004CA60 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8004FB04 0004CA64 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8004FB08 0004CA68 4B FF FD D1 */ bl sub_8004f8d8 -lbl_8004FB0C: -/* 8004FB0C 0004CA6C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8004FB10 0004CA70 CB E1 00 A8 */ lfd f31, 0xa8(r1) -/* 8004FB14 0004CA74 83 E1 00 A4 */ lwz r31, 0xa4(r1) -/* 8004FB18 0004CA78 83 C1 00 A0 */ lwz r30, 0xa0(r1) -/* 8004FB1C 0004CA7C 83 A1 00 9C */ lwz r29, 0x9c(r1) -/* 8004FB20 0004CA80 83 81 00 98 */ lwz r28, 0x98(r1) -/* 8004FB24 0004CA84 7C 08 03 A6 */ mtlr r0 -/* 8004FB28 0004CA88 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8004FB2C 0004CA8C 4E 80 00 20 */ blr - -.global sub_8004fb30 -sub_8004fb30: -/* 8004FB30 0004CA90 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8004FB34 0004CA94 7C 08 02 A6 */ mflr r0 -/* 8004FB38 0004CA98 90 01 00 64 */ stw r0, 0x64(r1) -/* 8004FB3C 0004CA9C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8004FB40 0004CAA0 7C 9F 23 78 */ mr r31, r4 -/* 8004FB44 0004CAA4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8004FB48 0004CAA8 7C 7E 1B 78 */ mr r30, r3 -/* 8004FB4C 0004CAAC 80 83 00 00 */ lwz r4, 0(r3) -/* 8004FB50 0004CAB0 38 61 00 08 */ addi r3, r1, 8 -/* 8004FB54 0004CAB4 4B FE BA 1D */ bl __ct__6CLightFCR6CLight -/* 8004FB58 0004CAB8 80 9F 00 00 */ lwz r4, 0(r31) -/* 8004FB5C 0004CABC 80 BE 00 00 */ lwz r5, 0(r30) -/* 8004FB60 0004CAC0 80 64 00 00 */ lwz r3, 0(r4) -/* 8004FB64 0004CAC4 80 04 00 04 */ lwz r0, 4(r4) -/* 8004FB68 0004CAC8 90 65 00 00 */ stw r3, 0(r5) -/* 8004FB6C 0004CACC 90 05 00 04 */ stw r0, 4(r5) -/* 8004FB70 0004CAD0 80 04 00 08 */ lwz r0, 8(r4) -/* 8004FB74 0004CAD4 90 05 00 08 */ stw r0, 8(r5) -/* 8004FB78 0004CAD8 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8004FB7C 0004CADC 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8004FB80 0004CAE0 90 65 00 0C */ stw r3, 0xc(r5) -/* 8004FB84 0004CAE4 90 05 00 10 */ stw r0, 0x10(r5) -/* 8004FB88 0004CAE8 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8004FB8C 0004CAEC 90 05 00 14 */ stw r0, 0x14(r5) -/* 8004FB90 0004CAF0 80 04 00 18 */ lwz r0, 0x18(r4) -/* 8004FB94 0004CAF4 90 05 00 18 */ stw r0, 0x18(r5) -/* 8004FB98 0004CAF8 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 8004FB9C 0004CAFC 90 05 00 1C */ stw r0, 0x1c(r5) -/* 8004FBA0 0004CB00 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 8004FBA4 0004CB04 D0 05 00 20 */ stfs f0, 0x20(r5) -/* 8004FBA8 0004CB08 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 8004FBAC 0004CB0C D0 05 00 24 */ stfs f0, 0x24(r5) -/* 8004FBB0 0004CB10 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 8004FBB4 0004CB14 D0 05 00 28 */ stfs f0, 0x28(r5) -/* 8004FBB8 0004CB18 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 8004FBBC 0004CB1C D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 8004FBC0 0004CB20 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 8004FBC4 0004CB24 D0 05 00 30 */ stfs f0, 0x30(r5) -/* 8004FBC8 0004CB28 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 8004FBCC 0004CB2C D0 05 00 34 */ stfs f0, 0x34(r5) -/* 8004FBD0 0004CB30 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 8004FBD4 0004CB34 D0 05 00 38 */ stfs f0, 0x38(r5) -/* 8004FBD8 0004CB38 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 8004FBDC 0004CB3C 90 05 00 3C */ stw r0, 0x3c(r5) -/* 8004FBE0 0004CB40 80 04 00 40 */ lwz r0, 0x40(r4) -/* 8004FBE4 0004CB44 90 05 00 40 */ stw r0, 0x40(r5) -/* 8004FBE8 0004CB48 C0 04 00 44 */ lfs f0, 0x44(r4) -/* 8004FBEC 0004CB4C D0 05 00 44 */ stfs f0, 0x44(r5) -/* 8004FBF0 0004CB50 C0 04 00 48 */ lfs f0, 0x48(r4) -/* 8004FBF4 0004CB54 D0 05 00 48 */ stfs f0, 0x48(r5) -/* 8004FBF8 0004CB58 88 04 00 4C */ lbz r0, 0x4c(r4) -/* 8004FBFC 0004CB5C 98 05 00 4C */ stb r0, 0x4c(r5) -/* 8004FC00 0004CB60 80 9F 00 00 */ lwz r4, 0(r31) -/* 8004FC04 0004CB64 80 61 00 08 */ lwz r3, 8(r1) -/* 8004FC08 0004CB68 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8004FC0C 0004CB6C 90 64 00 00 */ stw r3, 0(r4) -/* 8004FC10 0004CB70 90 04 00 04 */ stw r0, 4(r4) -/* 8004FC14 0004CB74 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8004FC18 0004CB78 90 04 00 08 */ stw r0, 8(r4) -/* 8004FC1C 0004CB7C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8004FC20 0004CB80 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8004FC24 0004CB84 90 64 00 0C */ stw r3, 0xc(r4) -/* 8004FC28 0004CB88 90 04 00 10 */ stw r0, 0x10(r4) -/* 8004FC2C 0004CB8C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8004FC30 0004CB90 90 04 00 14 */ stw r0, 0x14(r4) -/* 8004FC34 0004CB94 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8004FC38 0004CB98 90 04 00 18 */ stw r0, 0x18(r4) -/* 8004FC3C 0004CB9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004FC40 0004CBA0 90 04 00 1C */ stw r0, 0x1c(r4) -/* 8004FC44 0004CBA4 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8004FC48 0004CBA8 D0 04 00 20 */ stfs f0, 0x20(r4) -/* 8004FC4C 0004CBAC C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8004FC50 0004CBB0 D0 04 00 24 */ stfs f0, 0x24(r4) -/* 8004FC54 0004CBB4 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8004FC58 0004CBB8 D0 04 00 28 */ stfs f0, 0x28(r4) -/* 8004FC5C 0004CBBC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8004FC60 0004CBC0 D0 04 00 2C */ stfs f0, 0x2c(r4) -/* 8004FC64 0004CBC4 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8004FC68 0004CBC8 D0 04 00 30 */ stfs f0, 0x30(r4) -/* 8004FC6C 0004CBCC C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8004FC70 0004CBD0 D0 04 00 34 */ stfs f0, 0x34(r4) -/* 8004FC74 0004CBD4 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8004FC78 0004CBD8 D0 04 00 38 */ stfs f0, 0x38(r4) -/* 8004FC7C 0004CBDC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8004FC80 0004CBE0 90 04 00 3C */ stw r0, 0x3c(r4) -/* 8004FC84 0004CBE4 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8004FC88 0004CBE8 90 04 00 40 */ stw r0, 0x40(r4) -/* 8004FC8C 0004CBEC C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8004FC90 0004CBF0 D0 04 00 44 */ stfs f0, 0x44(r4) -/* 8004FC94 0004CBF4 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8004FC98 0004CBF8 D0 04 00 48 */ stfs f0, 0x48(r4) -/* 8004FC9C 0004CBFC 88 01 00 54 */ lbz r0, 0x54(r1) -/* 8004FCA0 0004CC00 98 04 00 4C */ stb r0, 0x4c(r4) -/* 8004FCA4 0004CC04 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8004FCA8 0004CC08 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8004FCAC 0004CC0C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8004FCB0 0004CC10 7C 08 03 A6 */ mtlr r0 -/* 8004FCB4 0004CC14 38 21 00 60 */ addi r1, r1, 0x60 -/* 8004FCB8 0004CC18 4E 80 00 20 */ blr - -.global "insert_into__Q24rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>FPQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl32pair<13TGameScriptId,9TUniqueId>" -"insert_into__Q24rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>FPQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl32pair<13TGameScriptId,9TUniqueId>": -/* 8004FCBC 0004CC1C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004FCC0 0004CC20 7C 08 02 A6 */ mflr r0 -/* 8004FCC4 0004CC24 28 05 00 00 */ cmplwi r5, 0 -/* 8004FCC8 0004CC28 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004FCCC 0004CC2C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8004FCD0 0004CC30 7C 7C 1B 78 */ mr r28, r3 -/* 8004FCD4 0004CC34 7C 9D 23 78 */ mr r29, r4 -/* 8004FCD8 0004CC38 7C DE 33 78 */ mr r30, r6 -/* 8004FCDC 0004CC3C 40 82 00 88 */ bne lbl_8004FD64 -/* 8004FCE0 0004CC40 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004FCE4 0004CC44 38 60 00 18 */ li r3, 0x18 -/* 8004FCE8 0004CC48 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004FCEC 0004CC4C 38 A0 00 00 */ li r5, 0 -/* 8004FCF0 0004CC50 48 2C 5B 29 */ bl __nwa__FUlPCcPCc -/* 8004FCF4 0004CC54 28 03 00 00 */ cmplwi r3, 0 -/* 8004FCF8 0004CC58 41 82 00 30 */ beq lbl_8004FD28 -/* 8004FCFC 0004CC5C 38 00 00 00 */ li r0, 0 -/* 8004FD00 0004CC60 34 83 00 10 */ addic. r4, r3, 0x10 -/* 8004FD04 0004CC64 90 03 00 00 */ stw r0, 0(r3) -/* 8004FD08 0004CC68 90 03 00 04 */ stw r0, 4(r3) -/* 8004FD0C 0004CC6C 90 03 00 08 */ stw r0, 8(r3) -/* 8004FD10 0004CC70 90 03 00 0C */ stw r0, 0xc(r3) -/* 8004FD14 0004CC74 41 82 00 14 */ beq lbl_8004FD28 -/* 8004FD18 0004CC78 80 1E 00 00 */ lwz r0, 0(r30) -/* 8004FD1C 0004CC7C 90 04 00 00 */ stw r0, 0(r4) -/* 8004FD20 0004CC80 A0 1E 00 04 */ lhz r0, 4(r30) -/* 8004FD24 0004CC84 B0 04 00 04 */ sth r0, 4(r4) -lbl_8004FD28: -/* 8004FD28 0004CC88 90 7D 00 10 */ stw r3, 0x10(r29) -/* 8004FD2C 0004CC8C 38 1D 00 08 */ addi r0, r29, 8 -/* 8004FD30 0004CC90 80 7D 00 04 */ lwz r3, 4(r29) -/* 8004FD34 0004CC94 38 63 00 01 */ addi r3, r3, 1 -/* 8004FD38 0004CC98 90 7D 00 04 */ stw r3, 4(r29) -/* 8004FD3C 0004CC9C 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8004FD40 0004CCA0 90 7D 00 08 */ stw r3, 8(r29) -/* 8004FD44 0004CCA4 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8004FD48 0004CCA8 90 7D 00 0C */ stw r3, 0xc(r29) -/* 8004FD4C 0004CCAC 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8004FD50 0004CCB0 90 7C 00 00 */ stw r3, 0(r28) -/* 8004FD54 0004CCB4 90 1C 00 04 */ stw r0, 4(r28) -/* 8004FD58 0004CCB8 88 0D 82 9F */ lbz r0, lbl_805A6E5F@sda21(r13) -/* 8004FD5C 0004CCBC 98 1C 00 08 */ stb r0, 8(r28) -/* 8004FD60 0004CCC0 48 00 01 50 */ b lbl_8004FEB0 -lbl_8004FD64: -/* 8004FD64 0004CCC4 7C BF 2B 78 */ mr r31, r5 -/* 8004FD68 0004CCC8 3B 60 00 00 */ li r27, 0 -/* 8004FD6C 0004CCCC 48 00 01 10 */ b lbl_8004FE7C -lbl_8004FD70: -/* 8004FD70 0004CCD0 80 7E 00 00 */ lwz r3, 0(r30) -/* 8004FD74 0004CCD4 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8004FD78 0004CCD8 54 63 01 BE */ clrlwi r3, r3, 6 -/* 8004FD7C 0004CCDC 54 00 01 BE */ clrlwi r0, r0, 6 -/* 8004FD80 0004CCE0 7C 03 00 40 */ cmplw r3, r0 -/* 8004FD84 0004CCE4 40 80 00 80 */ bge lbl_8004FE04 -/* 8004FD88 0004CCE8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8004FD8C 0004CCEC 28 00 00 00 */ cmplwi r0, 0 -/* 8004FD90 0004CCF0 40 82 00 6C */ bne lbl_8004FDFC -/* 8004FD94 0004CCF4 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004FD98 0004CCF8 38 60 00 18 */ li r3, 0x18 -/* 8004FD9C 0004CCFC 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004FDA0 0004CD00 38 A0 00 00 */ li r5, 0 -/* 8004FDA4 0004CD04 48 2C 5A 75 */ bl __nwa__FUlPCcPCc -/* 8004FDA8 0004CD08 28 03 00 00 */ cmplwi r3, 0 -/* 8004FDAC 0004CD0C 41 82 00 34 */ beq lbl_8004FDE0 -/* 8004FDB0 0004CD10 38 80 00 00 */ li r4, 0 -/* 8004FDB4 0004CD14 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 8004FDB8 0004CD18 90 83 00 00 */ stw r4, 0(r3) -/* 8004FDBC 0004CD1C 38 00 00 01 */ li r0, 1 -/* 8004FDC0 0004CD20 90 83 00 04 */ stw r4, 4(r3) -/* 8004FDC4 0004CD24 93 E3 00 08 */ stw r31, 8(r3) -/* 8004FDC8 0004CD28 90 03 00 0C */ stw r0, 0xc(r3) -/* 8004FDCC 0004CD2C 41 82 00 14 */ beq lbl_8004FDE0 -/* 8004FDD0 0004CD30 80 1E 00 00 */ lwz r0, 0(r30) -/* 8004FDD4 0004CD34 90 05 00 00 */ stw r0, 0(r5) -/* 8004FDD8 0004CD38 A0 1E 00 04 */ lhz r0, 4(r30) -/* 8004FDDC 0004CD3C B0 05 00 04 */ sth r0, 4(r5) -lbl_8004FDE0: -/* 8004FDE0 0004CD40 90 7F 00 00 */ stw r3, 0(r31) -/* 8004FDE4 0004CD44 7C 7B 1B 78 */ mr r27, r3 -/* 8004FDE8 0004CD48 80 1D 00 08 */ lwz r0, 8(r29) -/* 8004FDEC 0004CD4C 7C 1F 00 40 */ cmplw r31, r0 -/* 8004FDF0 0004CD50 40 82 00 8C */ bne lbl_8004FE7C -/* 8004FDF4 0004CD54 90 7D 00 08 */ stw r3, 8(r29) -/* 8004FDF8 0004CD58 48 00 00 84 */ b lbl_8004FE7C -lbl_8004FDFC: -/* 8004FDFC 0004CD5C 7C 1F 03 78 */ mr r31, r0 -/* 8004FE00 0004CD60 48 00 00 7C */ b lbl_8004FE7C -lbl_8004FE04: -/* 8004FE04 0004CD64 80 1F 00 04 */ lwz r0, 4(r31) -/* 8004FE08 0004CD68 28 00 00 00 */ cmplwi r0, 0 -/* 8004FE0C 0004CD6C 40 82 00 6C */ bne lbl_8004FE78 -/* 8004FE10 0004CD70 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004FE14 0004CD74 38 60 00 18 */ li r3, 0x18 -/* 8004FE18 0004CD78 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004FE1C 0004CD7C 38 A0 00 00 */ li r5, 0 -/* 8004FE20 0004CD80 48 2C 59 F9 */ bl __nwa__FUlPCcPCc -/* 8004FE24 0004CD84 28 03 00 00 */ cmplwi r3, 0 -/* 8004FE28 0004CD88 41 82 00 34 */ beq lbl_8004FE5C -/* 8004FE2C 0004CD8C 38 80 00 00 */ li r4, 0 -/* 8004FE30 0004CD90 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 8004FE34 0004CD94 90 83 00 00 */ stw r4, 0(r3) -/* 8004FE38 0004CD98 38 00 00 01 */ li r0, 1 -/* 8004FE3C 0004CD9C 90 83 00 04 */ stw r4, 4(r3) -/* 8004FE40 0004CDA0 93 E3 00 08 */ stw r31, 8(r3) -/* 8004FE44 0004CDA4 90 03 00 0C */ stw r0, 0xc(r3) -/* 8004FE48 0004CDA8 41 82 00 14 */ beq lbl_8004FE5C -/* 8004FE4C 0004CDAC 80 1E 00 00 */ lwz r0, 0(r30) -/* 8004FE50 0004CDB0 90 05 00 00 */ stw r0, 0(r5) -/* 8004FE54 0004CDB4 A0 1E 00 04 */ lhz r0, 4(r30) -/* 8004FE58 0004CDB8 B0 05 00 04 */ sth r0, 4(r5) -lbl_8004FE5C: -/* 8004FE5C 0004CDBC 90 7F 00 04 */ stw r3, 4(r31) -/* 8004FE60 0004CDC0 7C 7B 1B 78 */ mr r27, r3 -/* 8004FE64 0004CDC4 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8004FE68 0004CDC8 7C 1F 00 40 */ cmplw r31, r0 -/* 8004FE6C 0004CDCC 40 82 00 10 */ bne lbl_8004FE7C -/* 8004FE70 0004CDD0 90 7D 00 0C */ stw r3, 0xc(r29) -/* 8004FE74 0004CDD4 48 00 00 08 */ b lbl_8004FE7C -lbl_8004FE78: -/* 8004FE78 0004CDD8 7C 1F 03 78 */ mr r31, r0 -lbl_8004FE7C: -/* 8004FE7C 0004CDDC 28 1B 00 00 */ cmplwi r27, 0 -/* 8004FE80 0004CDE0 41 82 FE F0 */ beq lbl_8004FD70 -/* 8004FE84 0004CDE4 80 BD 00 04 */ lwz r5, 4(r29) -/* 8004FE88 0004CDE8 7F 64 DB 78 */ mr r4, r27 -/* 8004FE8C 0004CDEC 38 7D 00 08 */ addi r3, r29, 8 -/* 8004FE90 0004CDF0 38 05 00 01 */ addi r0, r5, 1 -/* 8004FE94 0004CDF4 90 1D 00 04 */ stw r0, 4(r29) -/* 8004FE98 0004CDF8 48 2E CC 01 */ bl rbtree_rebalance__4rstlFPvPv -/* 8004FE9C 0004CDFC 93 7C 00 00 */ stw r27, 0(r28) -/* 8004FEA0 0004CE00 38 1D 00 08 */ addi r0, r29, 8 -/* 8004FEA4 0004CE04 90 1C 00 04 */ stw r0, 4(r28) -/* 8004FEA8 0004CE08 88 0D 82 A0 */ lbz r0, lbl_805A6E60@sda21(r13) -/* 8004FEAC 0004CE0C 98 1C 00 08 */ stb r0, 8(r28) -lbl_8004FEB0: -/* 8004FEB0 0004CE10 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8004FEB4 0004CE14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8004FEB8 0004CE18 7C 08 03 A6 */ mtlr r0 -/* 8004FEBC 0004CE1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8004FEC0 0004CE20 4E 80 00 20 */ blr - -.global "insert_into__Q24rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>FPQ34rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl38pair<9TEditorId,19SScriptObjectStream>" -"insert_into__Q24rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>FPQ34rstl197red_black_tree<9TEditorId,Q24rstl38pair<9TEditorId,19SScriptObjectStream>,0,Q24rstl58select1st>,Q24rstl16less<9TEditorId>,Q24rstl17rmemory_allocator>4nodeRCQ24rstl38pair<9TEditorId,19SScriptObjectStream>": -/* 8004FEC4 0004CE24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8004FEC8 0004CE28 7C 08 02 A6 */ mflr r0 -/* 8004FECC 0004CE2C 28 05 00 00 */ cmplwi r5, 0 -/* 8004FED0 0004CE30 90 01 00 24 */ stw r0, 0x24(r1) -/* 8004FED4 0004CE34 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8004FED8 0004CE38 7C 7B 1B 78 */ mr r27, r3 -/* 8004FEDC 0004CE3C 7C 9C 23 78 */ mr r28, r4 -/* 8004FEE0 0004CE40 7C DD 33 78 */ mr r29, r6 -/* 8004FEE4 0004CE44 40 82 00 98 */ bne lbl_8004FF7C -/* 8004FEE8 0004CE48 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004FEEC 0004CE4C 38 60 00 20 */ li r3, 0x20 -/* 8004FEF0 0004CE50 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004FEF4 0004CE54 38 A0 00 00 */ li r5, 0 -/* 8004FEF8 0004CE58 48 2C 59 21 */ bl __nwa__FUlPCcPCc -/* 8004FEFC 0004CE5C 28 03 00 00 */ cmplwi r3, 0 -/* 8004FF00 0004CE60 41 82 00 40 */ beq lbl_8004FF40 -/* 8004FF04 0004CE64 38 00 00 00 */ li r0, 0 -/* 8004FF08 0004CE68 34 83 00 10 */ addic. r4, r3, 0x10 -/* 8004FF0C 0004CE6C 90 03 00 00 */ stw r0, 0(r3) -/* 8004FF10 0004CE70 90 03 00 04 */ stw r0, 4(r3) -/* 8004FF14 0004CE74 90 03 00 08 */ stw r0, 8(r3) -/* 8004FF18 0004CE78 90 03 00 0C */ stw r0, 0xc(r3) -/* 8004FF1C 0004CE7C 41 82 00 24 */ beq lbl_8004FF40 -/* 8004FF20 0004CE80 80 1D 00 00 */ lwz r0, 0(r29) -/* 8004FF24 0004CE84 90 04 00 00 */ stw r0, 0(r4) -/* 8004FF28 0004CE88 80 1D 00 04 */ lwz r0, 4(r29) -/* 8004FF2C 0004CE8C 90 04 00 04 */ stw r0, 4(r4) -/* 8004FF30 0004CE90 80 1D 00 08 */ lwz r0, 8(r29) -/* 8004FF34 0004CE94 90 04 00 08 */ stw r0, 8(r4) -/* 8004FF38 0004CE98 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8004FF3C 0004CE9C 90 04 00 0C */ stw r0, 0xc(r4) -lbl_8004FF40: -/* 8004FF40 0004CEA0 90 7C 00 10 */ stw r3, 0x10(r28) -/* 8004FF44 0004CEA4 38 1C 00 08 */ addi r0, r28, 8 -/* 8004FF48 0004CEA8 80 7C 00 04 */ lwz r3, 4(r28) -/* 8004FF4C 0004CEAC 38 63 00 01 */ addi r3, r3, 1 -/* 8004FF50 0004CEB0 90 7C 00 04 */ stw r3, 4(r28) -/* 8004FF54 0004CEB4 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 8004FF58 0004CEB8 90 7C 00 08 */ stw r3, 8(r28) -/* 8004FF5C 0004CEBC 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 8004FF60 0004CEC0 90 7C 00 0C */ stw r3, 0xc(r28) -/* 8004FF64 0004CEC4 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 8004FF68 0004CEC8 90 7B 00 00 */ stw r3, 0(r27) -/* 8004FF6C 0004CECC 90 1B 00 04 */ stw r0, 4(r27) -/* 8004FF70 0004CED0 88 0D 82 9C */ lbz r0, lbl_805A6E5C@sda21(r13) -/* 8004FF74 0004CED4 98 1B 00 08 */ stb r0, 8(r27) -/* 8004FF78 0004CED8 48 00 01 A4 */ b lbl_8005011C -lbl_8004FF7C: -/* 8004FF7C 0004CEDC 7C BF 2B 78 */ mr r31, r5 -/* 8004FF80 0004CEE0 3B C0 00 00 */ li r30, 0 -/* 8004FF84 0004CEE4 48 00 01 64 */ b lbl_800500E8 -lbl_8004FF88: -/* 8004FF88 0004CEE8 80 7D 00 00 */ lwz r3, 0(r29) -/* 8004FF8C 0004CEEC 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8004FF90 0004CEF0 54 63 01 BE */ clrlwi r3, r3, 6 -/* 8004FF94 0004CEF4 54 04 01 BE */ clrlwi r4, r0, 6 -/* 8004FF98 0004CEF8 7C 80 1A 78 */ xor r0, r4, r3 -/* 8004FF9C 0004CEFC 7C 00 00 34 */ cntlzw r0, r0 -/* 8004FFA0 0004CF00 7C 80 00 30 */ slw r0, r4, r0 -/* 8004FFA4 0004CF04 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 8004FFA8 0004CF08 40 82 00 24 */ bne lbl_8004FFCC -/* 8004FFAC 0004CF0C 7C 04 18 40 */ cmplw r4, r3 -/* 8004FFB0 0004CF10 41 80 00 1C */ blt lbl_8004FFCC -/* 8004FFB4 0004CF14 93 FB 00 00 */ stw r31, 0(r27) -/* 8004FFB8 0004CF18 38 1C 00 08 */ addi r0, r28, 8 -/* 8004FFBC 0004CF1C 90 1B 00 04 */ stw r0, 4(r27) -/* 8004FFC0 0004CF20 88 0D 82 9D */ lbz r0, lbl_805A6E5D@sda21(r13) -/* 8004FFC4 0004CF24 98 1B 00 08 */ stb r0, 8(r27) -/* 8004FFC8 0004CF28 48 00 01 54 */ b lbl_8005011C -lbl_8004FFCC: -/* 8004FFCC 0004CF2C 28 00 00 00 */ cmplwi r0, 0 -/* 8004FFD0 0004CF30 41 82 00 90 */ beq lbl_80050060 -/* 8004FFD4 0004CF34 80 1F 00 00 */ lwz r0, 0(r31) -/* 8004FFD8 0004CF38 28 00 00 00 */ cmplwi r0, 0 -/* 8004FFDC 0004CF3C 40 82 00 7C */ bne lbl_80050058 -/* 8004FFE0 0004CF40 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 8004FFE4 0004CF44 38 60 00 20 */ li r3, 0x20 -/* 8004FFE8 0004CF48 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 8004FFEC 0004CF4C 38 A0 00 00 */ li r5, 0 -/* 8004FFF0 0004CF50 48 2C 58 29 */ bl __nwa__FUlPCcPCc -/* 8004FFF4 0004CF54 28 03 00 00 */ cmplwi r3, 0 -/* 8004FFF8 0004CF58 41 82 00 44 */ beq lbl_8005003C -/* 8004FFFC 0004CF5C 38 80 00 00 */ li r4, 0 -/* 80050000 0004CF60 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 80050004 0004CF64 90 83 00 00 */ stw r4, 0(r3) -/* 80050008 0004CF68 38 00 00 01 */ li r0, 1 -/* 8005000C 0004CF6C 90 83 00 04 */ stw r4, 4(r3) -/* 80050010 0004CF70 93 E3 00 08 */ stw r31, 8(r3) -/* 80050014 0004CF74 90 03 00 0C */ stw r0, 0xc(r3) -/* 80050018 0004CF78 41 82 00 24 */ beq lbl_8005003C -/* 8005001C 0004CF7C 80 1D 00 00 */ lwz r0, 0(r29) -/* 80050020 0004CF80 90 05 00 00 */ stw r0, 0(r5) -/* 80050024 0004CF84 80 1D 00 04 */ lwz r0, 4(r29) -/* 80050028 0004CF88 90 05 00 04 */ stw r0, 4(r5) -/* 8005002C 0004CF8C 80 1D 00 08 */ lwz r0, 8(r29) -/* 80050030 0004CF90 90 05 00 08 */ stw r0, 8(r5) -/* 80050034 0004CF94 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80050038 0004CF98 90 05 00 0C */ stw r0, 0xc(r5) -lbl_8005003C: -/* 8005003C 0004CF9C 90 7F 00 00 */ stw r3, 0(r31) -/* 80050040 0004CFA0 7C 7E 1B 78 */ mr r30, r3 -/* 80050044 0004CFA4 80 1C 00 08 */ lwz r0, 8(r28) -/* 80050048 0004CFA8 7C 1F 00 40 */ cmplw r31, r0 -/* 8005004C 0004CFAC 40 82 00 9C */ bne lbl_800500E8 -/* 80050050 0004CFB0 90 7C 00 08 */ stw r3, 8(r28) -/* 80050054 0004CFB4 48 00 00 94 */ b lbl_800500E8 -lbl_80050058: -/* 80050058 0004CFB8 7C 1F 03 78 */ mr r31, r0 -/* 8005005C 0004CFBC 48 00 00 8C */ b lbl_800500E8 -lbl_80050060: -/* 80050060 0004CFC0 80 1F 00 04 */ lwz r0, 4(r31) -/* 80050064 0004CFC4 28 00 00 00 */ cmplwi r0, 0 -/* 80050068 0004CFC8 40 82 00 7C */ bne lbl_800500E4 -/* 8005006C 0004CFCC 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 80050070 0004CFD0 38 60 00 20 */ li r3, 0x20 -/* 80050074 0004CFD4 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 80050078 0004CFD8 38 A0 00 00 */ li r5, 0 -/* 8005007C 0004CFDC 48 2C 57 9D */ bl __nwa__FUlPCcPCc -/* 80050080 0004CFE0 28 03 00 00 */ cmplwi r3, 0 -/* 80050084 0004CFE4 41 82 00 44 */ beq lbl_800500C8 -/* 80050088 0004CFE8 38 80 00 00 */ li r4, 0 -/* 8005008C 0004CFEC 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 80050090 0004CFF0 90 83 00 00 */ stw r4, 0(r3) -/* 80050094 0004CFF4 38 00 00 01 */ li r0, 1 -/* 80050098 0004CFF8 90 83 00 04 */ stw r4, 4(r3) -/* 8005009C 0004CFFC 93 E3 00 08 */ stw r31, 8(r3) -/* 800500A0 0004D000 90 03 00 0C */ stw r0, 0xc(r3) -/* 800500A4 0004D004 41 82 00 24 */ beq lbl_800500C8 -/* 800500A8 0004D008 80 1D 00 00 */ lwz r0, 0(r29) -/* 800500AC 0004D00C 90 05 00 00 */ stw r0, 0(r5) -/* 800500B0 0004D010 80 1D 00 04 */ lwz r0, 4(r29) -/* 800500B4 0004D014 90 05 00 04 */ stw r0, 4(r5) -/* 800500B8 0004D018 80 1D 00 08 */ lwz r0, 8(r29) -/* 800500BC 0004D01C 90 05 00 08 */ stw r0, 8(r5) -/* 800500C0 0004D020 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800500C4 0004D024 90 05 00 0C */ stw r0, 0xc(r5) -lbl_800500C8: -/* 800500C8 0004D028 90 7F 00 04 */ stw r3, 4(r31) -/* 800500CC 0004D02C 7C 7E 1B 78 */ mr r30, r3 -/* 800500D0 0004D030 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 800500D4 0004D034 7C 1F 00 40 */ cmplw r31, r0 -/* 800500D8 0004D038 40 82 00 10 */ bne lbl_800500E8 -/* 800500DC 0004D03C 90 7C 00 0C */ stw r3, 0xc(r28) -/* 800500E0 0004D040 48 00 00 08 */ b lbl_800500E8 -lbl_800500E4: -/* 800500E4 0004D044 7C 1F 03 78 */ mr r31, r0 -lbl_800500E8: -/* 800500E8 0004D048 28 1E 00 00 */ cmplwi r30, 0 -/* 800500EC 0004D04C 41 82 FE 9C */ beq lbl_8004FF88 -/* 800500F0 0004D050 80 BC 00 04 */ lwz r5, 4(r28) -/* 800500F4 0004D054 7F C4 F3 78 */ mr r4, r30 -/* 800500F8 0004D058 38 7C 00 08 */ addi r3, r28, 8 -/* 800500FC 0004D05C 38 05 00 01 */ addi r0, r5, 1 -/* 80050100 0004D060 90 1C 00 04 */ stw r0, 4(r28) -/* 80050104 0004D064 48 2E C9 95 */ bl rbtree_rebalance__4rstlFPvPv -/* 80050108 0004D068 93 DB 00 00 */ stw r30, 0(r27) -/* 8005010C 0004D06C 38 1C 00 08 */ addi r0, r28, 8 -/* 80050110 0004D070 90 1B 00 04 */ stw r0, 4(r27) -/* 80050114 0004D074 88 0D 82 9E */ lbz r0, lbl_805A6E5E@sda21(r13) -/* 80050118 0004D078 98 1B 00 08 */ stb r0, 8(r27) -lbl_8005011C: -/* 8005011C 0004D07C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80050120 0004D080 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80050124 0004D084 7C 08 03 A6 */ mtlr r0 -/* 80050128 0004D088 38 21 00 20 */ addi r1, r1, 0x20 - -.global sub_8005012c -sub_8005012c: -/* 8005012C 0004D08C 4E 80 00 20 */ blr - -.global __dt__10CWeaponMgrFv -__dt__10CWeaponMgrFv: -/* 80050130 0004D090 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80050134 0004D094 7C 08 02 A6 */ mflr r0 -/* 80050138 0004D098 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005013C 0004D09C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80050140 0004D0A0 7C 9F 23 78 */ mr r31, r4 -/* 80050144 0004D0A4 93 C1 00 08 */ stw r30, 8(r1) -/* 80050148 0004D0A8 7C 7E 1B 78 */ mr r30, r3 -/* 8005014C 0004D0AC 80 84 00 00 */ lwz r4, 0(r4) -/* 80050150 0004D0B0 28 04 00 00 */ cmplwi r4, 0 -/* 80050154 0004D0B4 41 82 00 08 */ beq lbl_8005015C -/* 80050158 0004D0B8 4B FF FF D9 */ bl __dt__10CWeaponMgrFv -lbl_8005015C: -/* 8005015C 0004D0BC 80 9F 00 04 */ lwz r4, 4(r31) -/* 80050160 0004D0C0 28 04 00 00 */ cmplwi r4, 0 -/* 80050164 0004D0C4 41 82 00 0C */ beq lbl_80050170 -/* 80050168 0004D0C8 7F C3 F3 78 */ mr r3, r30 -/* 8005016C 0004D0CC 4B FF FF C5 */ bl __dt__10CWeaponMgrFv -lbl_80050170: -/* 80050170 0004D0D0 28 1F 00 00 */ cmplwi r31, 0 -/* 80050174 0004D0D4 41 82 00 68 */ beq lbl_800501DC -/* 80050178 0004D0D8 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8005017C 0004D0DC 41 82 00 60 */ beq lbl_800501DC -/* 80050180 0004D0E0 34 BF 00 14 */ addic. r5, r31, 0x14 -/* 80050184 0004D0E4 41 82 00 58 */ beq lbl_800501DC -/* 80050188 0004D0E8 80 C5 00 00 */ lwz r6, 0(r5) -/* 8005018C 0004D0EC 38 60 00 00 */ li r3, 0 -/* 80050190 0004D0F0 2C 06 00 00 */ cmpwi r6, 0 -/* 80050194 0004D0F4 40 81 00 40 */ ble lbl_800501D4 -/* 80050198 0004D0F8 2C 06 00 08 */ cmpwi r6, 8 -/* 8005019C 0004D0FC 38 86 FF F8 */ addi r4, r6, -8 -/* 800501A0 0004D100 40 81 00 20 */ ble lbl_800501C0 -/* 800501A4 0004D104 38 04 00 07 */ addi r0, r4, 7 -/* 800501A8 0004D108 54 00 E8 FE */ srwi r0, r0, 3 -/* 800501AC 0004D10C 7C 09 03 A6 */ mtctr r0 -/* 800501B0 0004D110 2C 04 00 00 */ cmpwi r4, 0 -/* 800501B4 0004D114 40 81 00 0C */ ble lbl_800501C0 -lbl_800501B8: -/* 800501B8 0004D118 38 63 00 08 */ addi r3, r3, 8 -/* 800501BC 0004D11C 42 00 FF FC */ bdnz lbl_800501B8 -lbl_800501C0: -/* 800501C0 0004D120 7C 03 30 50 */ subf r0, r3, r6 -/* 800501C4 0004D124 7C 09 03 A6 */ mtctr r0 -/* 800501C8 0004D128 7C 03 30 00 */ cmpw r3, r6 -/* 800501CC 0004D12C 40 80 00 08 */ bge lbl_800501D4 -lbl_800501D0: -/* 800501D0 0004D130 42 00 00 00 */ bdnz lbl_800501D0 -lbl_800501D4: -/* 800501D4 0004D134 38 00 00 00 */ li r0, 0 -/* 800501D8 0004D138 90 05 00 00 */ stw r0, 0(r5) -lbl_800501DC: -/* 800501DC 0004D13C 28 1F 00 00 */ cmplwi r31, 0 -/* 800501E0 0004D140 41 82 00 0C */ beq lbl_800501EC -/* 800501E4 0004D144 7F E3 FB 78 */ mr r3, r31 -/* 800501E8 0004D148 48 2C 57 49 */ bl Free__7CMemoryFPCv -lbl_800501EC: -/* 800501EC 0004D14C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800501F0 0004D150 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800501F4 0004D154 83 C1 00 08 */ lwz r30, 8(r1) -/* 800501F8 0004D158 7C 08 03 A6 */ mtlr r0 -/* 800501FC 0004D15C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80050200 0004D160 4E 80 00 20 */ blr - -.global sub_80050204 -sub_80050204: -/* 80050204 0004D164 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80050208 0004D168 7C 08 02 A6 */ mflr r0 -/* 8005020C 0004D16C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80050210 0004D170 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80050214 0004D174 7C 9F 23 78 */ mr r31, r4 -/* 80050218 0004D178 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8005021C 0004D17C 7C 7E 1B 78 */ mr r30, r3 -/* 80050220 0004D180 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80050224 0004D184 80 03 00 08 */ lwz r0, 8(r3) -/* 80050228 0004D188 7C 1F 00 00 */ cmpw r31, r0 -/* 8005022C 0004D18C 40 81 00 98 */ ble lbl_800502C4 -/* 80050230 0004D190 1C 7F 00 50 */ mulli r3, r31, 0x50 -/* 80050234 0004D194 2C 03 00 00 */ cmpwi r3, 0 -/* 80050238 0004D198 40 82 00 0C */ bne lbl_80050244 -/* 8005023C 0004D19C 3B A0 00 00 */ li r29, 0 -/* 80050240 0004D1A0 48 00 00 18 */ b lbl_80050258 -lbl_80050244: -/* 80050244 0004D1A4 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 80050248 0004D1A8 38 A0 00 00 */ li r5, 0 -/* 8005024C 0004D1AC 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 80050250 0004D1B0 48 2C 55 C9 */ bl __nwa__FUlPCcPCc -/* 80050254 0004D1B4 7C 7D 1B 78 */ mr r29, r3 -lbl_80050258: -/* 80050258 0004D1B8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005025C 0004D1BC 7F A5 EB 78 */ mr r5, r29 -/* 80050260 0004D1C0 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80050264 0004D1C4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80050268 0004D1C8 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 8005026C 0004D1CC 38 81 00 0C */ addi r4, r1, 0xc -/* 80050270 0004D1D0 7C C6 02 14 */ add r6, r6, r0 -/* 80050274 0004D1D4 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80050278 0004D1D8 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8005027C 0004D1DC 90 C1 00 08 */ stw r6, 8(r1) -/* 80050280 0004D1E0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80050284 0004D1E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80050288 0004D1E8 48 00 00 59 */ bl sub_800502e0 -/* 8005028C 0004D1EC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80050290 0004D1F0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80050294 0004D1F4 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80050298 0004D1F8 7C 64 1B 78 */ mr r4, r3 -/* 8005029C 0004D1FC 7C 03 02 14 */ add r0, r3, r0 -/* 800502A0 0004D200 48 00 00 08 */ b lbl_800502A8 -lbl_800502A4: -/* 800502A4 0004D204 38 84 00 50 */ addi r4, r4, 0x50 -lbl_800502A8: -/* 800502A8 0004D208 7C 04 00 40 */ cmplw r4, r0 -/* 800502AC 0004D20C 40 82 FF F8 */ bne lbl_800502A4 -/* 800502B0 0004D210 28 03 00 00 */ cmplwi r3, 0 -/* 800502B4 0004D214 41 82 00 08 */ beq lbl_800502BC -/* 800502B8 0004D218 48 2C 56 79 */ bl Free__7CMemoryFPCv -lbl_800502BC: -/* 800502BC 0004D21C 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800502C0 0004D220 93 FE 00 08 */ stw r31, 8(r30) -lbl_800502C4: -/* 800502C4 0004D224 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800502C8 0004D228 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800502CC 0004D22C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800502D0 0004D230 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800502D4 0004D234 7C 08 03 A6 */ mtlr r0 -/* 800502D8 0004D238 38 21 00 30 */ addi r1, r1, 0x30 -/* 800502DC 0004D23C 4E 80 00 20 */ blr - -.global sub_800502e0 -sub_800502e0: -/* 800502E0 0004D240 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800502E4 0004D244 7C 08 02 A6 */ mflr r0 -/* 800502E8 0004D248 90 01 00 24 */ stw r0, 0x24(r1) -/* 800502EC 0004D24C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800502F0 0004D250 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800502F4 0004D254 7C BE 2B 78 */ mr r30, r5 -/* 800502F8 0004D258 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800502FC 0004D25C 7C 9D 23 78 */ mr r29, r4 -/* 80050300 0004D260 83 E3 00 00 */ lwz r31, 0(r3) -/* 80050304 0004D264 48 00 00 18 */ b lbl_8005031C -lbl_80050308: -/* 80050308 0004D268 7F C3 F3 78 */ mr r3, r30 -/* 8005030C 0004D26C 7F E4 FB 78 */ mr r4, r31 -/* 80050310 0004D270 4B FF 57 31 */ bl sub_80045a40 -/* 80050314 0004D274 3B DE 00 50 */ addi r30, r30, 0x50 -/* 80050318 0004D278 3B FF 00 50 */ addi r31, r31, 0x50 -lbl_8005031C: -/* 8005031C 0004D27C 80 1D 00 00 */ lwz r0, 0(r29) -/* 80050320 0004D280 7C 1F 00 40 */ cmplw r31, r0 -/* 80050324 0004D284 40 82 FF E4 */ bne lbl_80050308 -/* 80050328 0004D288 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005032C 0004D28C 7F C3 F3 78 */ mr r3, r30 -/* 80050330 0004D290 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80050334 0004D294 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80050338 0004D298 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8005033C 0004D29C 7C 08 03 A6 */ mtlr r0 -/* 80050340 0004D2A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80050344 0004D2A4 4E 80 00 20 */ blr - -.global "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi": -/* 80050348 0004D2A8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005034C 0004D2AC 7C 08 02 A6 */ mflr r0 -/* 80050350 0004D2B0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80050354 0004D2B4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80050358 0004D2B8 7C 9F 23 78 */ mr r31, r4 -/* 8005035C 0004D2BC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80050360 0004D2C0 7C 7E 1B 78 */ mr r30, r3 -/* 80050364 0004D2C4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80050368 0004D2C8 80 03 00 08 */ lwz r0, 8(r3) -/* 8005036C 0004D2CC 7C 1F 00 00 */ cmpw r31, r0 -/* 80050370 0004D2D0 40 81 00 A8 */ ble lbl_80050418 -/* 80050374 0004D2D4 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 80050378 0004D2D8 40 82 00 0C */ bne lbl_80050384 -/* 8005037C 0004D2DC 3B A0 00 00 */ li r29, 0 -/* 80050380 0004D2E0 48 00 00 18 */ b lbl_80050398 -lbl_80050384: -/* 80050384 0004D2E4 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 80050388 0004D2E8 38 A0 00 00 */ li r5, 0 -/* 8005038C 0004D2EC 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 80050390 0004D2F0 48 2C 54 89 */ bl __nwa__FUlPCcPCc -/* 80050394 0004D2F4 7C 7D 1B 78 */ mr r29, r3 -lbl_80050398: -/* 80050398 0004D2F8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005039C 0004D2FC 7F A4 EB 78 */ mr r4, r29 -/* 800503A0 0004D300 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800503A4 0004D304 54 00 10 3A */ slwi r0, r0, 2 -/* 800503A8 0004D308 7C 65 02 14 */ add r3, r5, r0 -/* 800503AC 0004D30C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800503B0 0004D310 90 61 00 08 */ stw r3, 8(r1) -/* 800503B4 0004D314 90 61 00 0C */ stw r3, 0xc(r1) -/* 800503B8 0004D318 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800503BC 0004D31C 48 00 00 1C */ b lbl_800503D8 -lbl_800503C0: -/* 800503C0 0004D320 28 04 00 00 */ cmplwi r4, 0 -/* 800503C4 0004D324 41 82 00 0C */ beq lbl_800503D0 -/* 800503C8 0004D328 80 05 00 00 */ lwz r0, 0(r5) -/* 800503CC 0004D32C 90 04 00 00 */ stw r0, 0(r4) -lbl_800503D0: -/* 800503D0 0004D330 38 84 00 04 */ addi r4, r4, 4 -/* 800503D4 0004D334 38 A5 00 04 */ addi r5, r5, 4 -lbl_800503D8: -/* 800503D8 0004D338 7C 05 18 40 */ cmplw r5, r3 -/* 800503DC 0004D33C 40 82 FF E4 */ bne lbl_800503C0 -/* 800503E0 0004D340 80 1E 00 04 */ lwz r0, 4(r30) -/* 800503E4 0004D344 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800503E8 0004D348 54 00 10 3A */ slwi r0, r0, 2 -/* 800503EC 0004D34C 7C 64 1B 78 */ mr r4, r3 -/* 800503F0 0004D350 7C 03 02 14 */ add r0, r3, r0 -/* 800503F4 0004D354 48 00 00 08 */ b lbl_800503FC -lbl_800503F8: -/* 800503F8 0004D358 38 84 00 04 */ addi r4, r4, 4 -lbl_800503FC: -/* 800503FC 0004D35C 7C 04 00 40 */ cmplw r4, r0 -/* 80050400 0004D360 40 82 FF F8 */ bne lbl_800503F8 -/* 80050404 0004D364 28 03 00 00 */ cmplwi r3, 0 -/* 80050408 0004D368 41 82 00 08 */ beq lbl_80050410 -/* 8005040C 0004D36C 48 2C 55 25 */ bl Free__7CMemoryFPCv -lbl_80050410: -/* 80050410 0004D370 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80050414 0004D374 93 FE 00 08 */ stw r31, 8(r30) -lbl_80050418: -/* 80050418 0004D378 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005041C 0004D37C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80050420 0004D380 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80050424 0004D384 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80050428 0004D388 7C 08 03 A6 */ mtlr r0 -/* 8005042C 0004D38C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80050430 0004D390 4E 80 00 20 */ blr - -.global "reserve__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fi": -/* 80050434 0004D394 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80050438 0004D398 7C 08 02 A6 */ mflr r0 -/* 8005043C 0004D39C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80050440 0004D3A0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80050444 0004D3A4 7C 9F 23 78 */ mr r31, r4 -/* 80050448 0004D3A8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8005044C 0004D3AC 7C 7E 1B 78 */ mr r30, r3 -/* 80050450 0004D3B0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80050454 0004D3B4 80 03 00 08 */ lwz r0, 8(r3) -/* 80050458 0004D3B8 7C 1F 00 00 */ cmpw r31, r0 -/* 8005045C 0004D3BC 40 81 00 BC */ ble lbl_80050518 -/* 80050460 0004D3C0 1C 7F 00 0C */ mulli r3, r31, 0xc -/* 80050464 0004D3C4 2C 03 00 00 */ cmpwi r3, 0 -/* 80050468 0004D3C8 40 82 00 0C */ bne lbl_80050474 -/* 8005046C 0004D3CC 3B A0 00 00 */ li r29, 0 -/* 80050470 0004D3D0 48 00 00 18 */ b lbl_80050488 -lbl_80050474: -/* 80050474 0004D3D4 3C 80 80 3D */ lis r4, lbl_803CCEE0@ha -/* 80050478 0004D3D8 38 A0 00 00 */ li r5, 0 -/* 8005047C 0004D3DC 38 84 CE E0 */ addi r4, r4, lbl_803CCEE0@l -/* 80050480 0004D3E0 48 2C 53 99 */ bl __nwa__FUlPCcPCc -/* 80050484 0004D3E4 7C 7D 1B 78 */ mr r29, r3 -lbl_80050488: -/* 80050488 0004D3E8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005048C 0004D3EC 7F A4 EB 78 */ mr r4, r29 -/* 80050490 0004D3F0 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80050494 0004D3F4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80050498 0004D3F8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8005049C 0004D3FC 7C 65 02 14 */ add r3, r5, r0 -/* 800504A0 0004D400 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800504A4 0004D404 90 61 00 08 */ stw r3, 8(r1) -/* 800504A8 0004D408 90 61 00 0C */ stw r3, 0xc(r1) -/* 800504AC 0004D40C 48 00 00 2C */ b lbl_800504D8 -lbl_800504B0: -/* 800504B0 0004D410 28 04 00 00 */ cmplwi r4, 0 -/* 800504B4 0004D414 41 82 00 1C */ beq lbl_800504D0 -/* 800504B8 0004D418 80 05 00 00 */ lwz r0, 0(r5) -/* 800504BC 0004D41C 90 04 00 00 */ stw r0, 0(r4) -/* 800504C0 0004D420 80 05 00 04 */ lwz r0, 4(r5) -/* 800504C4 0004D424 90 04 00 04 */ stw r0, 4(r4) -/* 800504C8 0004D428 80 05 00 08 */ lwz r0, 8(r5) -/* 800504CC 0004D42C 90 04 00 08 */ stw r0, 8(r4) -lbl_800504D0: -/* 800504D0 0004D430 38 84 00 0C */ addi r4, r4, 0xc -/* 800504D4 0004D434 38 A5 00 0C */ addi r5, r5, 0xc -lbl_800504D8: -/* 800504D8 0004D438 7C 05 18 40 */ cmplw r5, r3 -/* 800504DC 0004D43C 40 82 FF D4 */ bne lbl_800504B0 -/* 800504E0 0004D440 80 1E 00 04 */ lwz r0, 4(r30) -/* 800504E4 0004D444 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800504E8 0004D448 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800504EC 0004D44C 7C 64 1B 78 */ mr r4, r3 -/* 800504F0 0004D450 7C 03 02 14 */ add r0, r3, r0 -/* 800504F4 0004D454 48 00 00 08 */ b lbl_800504FC -lbl_800504F8: -/* 800504F8 0004D458 38 84 00 0C */ addi r4, r4, 0xc -lbl_800504FC: -/* 800504FC 0004D45C 7C 04 00 40 */ cmplw r4, r0 -/* 80050500 0004D460 40 82 FF F8 */ bne lbl_800504F8 -/* 80050504 0004D464 28 03 00 00 */ cmplwi r3, 0 -/* 80050508 0004D468 41 82 00 08 */ beq lbl_80050510 -/* 8005050C 0004D46C 48 2C 54 25 */ bl Free__7CMemoryFPCv -lbl_80050510: -/* 80050510 0004D470 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80050514 0004D474 93 FE 00 08 */ stw r31, 8(r30) -lbl_80050518: -/* 80050518 0004D478 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005051C 0004D47C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80050520 0004D480 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80050524 0004D484 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80050528 0004D488 7C 08 03 A6 */ mtlr r0 -/* 8005052C 0004D48C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80050530 0004D490 4E 80 00 20 */ blr - -.global sub_80050534 -sub_80050534: -/* 80050534 0004D494 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80050538 0004D498 7C 08 02 A6 */ mflr r0 -/* 8005053C 0004D49C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80050540 0004D4A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80050544 0004D4A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80050548 0004D4A8 7C 9E 23 78 */ mr r30, r4 -/* 8005054C 0004D4AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80050550 0004D4B0 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80050554 0004D4B4 41 82 00 38 */ beq lbl_8005058C -/* 80050558 0004D4B8 83 FD 00 04 */ lwz r31, 4(r29) -/* 8005055C 0004D4BC 48 00 00 14 */ b lbl_80050570 -lbl_80050560: -/* 80050560 0004D4C0 7F E3 FB 79 */ or. r3, r31, r31 -/* 80050564 0004D4C4 83 FF 00 04 */ lwz r31, 4(r31) -/* 80050568 0004D4C8 41 82 00 08 */ beq lbl_80050570 -/* 8005056C 0004D4CC 48 2C 53 C5 */ bl Free__7CMemoryFPCv -lbl_80050570: -/* 80050570 0004D4D0 80 1D 00 08 */ lwz r0, 8(r29) -/* 80050574 0004D4D4 7C 1F 00 40 */ cmplw r31, r0 -/* 80050578 0004D4D8 40 82 FF E8 */ bne lbl_80050560 -/* 8005057C 0004D4DC 7F C0 07 35 */ extsh. r0, r30 -/* 80050580 0004D4E0 40 81 00 0C */ ble lbl_8005058C -/* 80050584 0004D4E4 7F A3 EB 78 */ mr r3, r29 -/* 80050588 0004D4E8 48 2C 53 A9 */ bl Free__7CMemoryFPCv -lbl_8005058C: -/* 8005058C 0004D4EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80050590 0004D4F0 7F A3 EB 78 */ mr r3, r29 -/* 80050594 0004D4F4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80050598 0004D4F8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005059C 0004D4FC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800505A0 0004D500 7C 08 03 A6 */ mtlr r0 -/* 800505A4 0004D504 38 21 00 20 */ addi r1, r1, 0x20 -/* 800505A8 0004D508 4E 80 00 20 */ blr - -.global sub_800505ac -sub_800505ac: -/* 800505AC 0004D50C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800505B0 0004D510 7C 08 02 A6 */ mflr r0 -/* 800505B4 0004D514 90 01 00 14 */ stw r0, 0x14(r1) -/* 800505B8 0004D518 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800505BC 0004D51C 93 C1 00 08 */ stw r30, 8(r1) -/* 800505C0 0004D520 7C 7E 1B 78 */ mr r30, r3 -/* 800505C4 0004D524 80 03 00 04 */ lwz r0, 4(r3) -/* 800505C8 0004D528 83 E4 00 04 */ lwz r31, 4(r4) -/* 800505CC 0004D52C 7C 04 00 40 */ cmplw r4, r0 -/* 800505D0 0004D530 40 82 00 08 */ bne lbl_800505D8 -/* 800505D4 0004D534 93 FE 00 04 */ stw r31, 4(r30) -lbl_800505D8: -/* 800505D8 0004D538 80 04 00 04 */ lwz r0, 4(r4) -/* 800505DC 0004D53C 34 A4 00 08 */ addic. r5, r4, 8 -/* 800505E0 0004D540 80 64 00 00 */ lwz r3, 0(r4) -/* 800505E4 0004D544 90 03 00 04 */ stw r0, 4(r3) -/* 800505E8 0004D548 80 04 00 00 */ lwz r0, 0(r4) -/* 800505EC 0004D54C 80 64 00 04 */ lwz r3, 4(r4) -/* 800505F0 0004D550 90 03 00 00 */ stw r0, 0(r3) -/* 800505F4 0004D554 41 82 00 58 */ beq lbl_8005064C -/* 800505F8 0004D558 80 E5 00 00 */ lwz r7, 0(r5) -/* 800505FC 0004D55C 38 60 00 00 */ li r3, 0 -/* 80050600 0004D560 2C 07 00 00 */ cmpwi r7, 0 -/* 80050604 0004D564 40 81 00 40 */ ble lbl_80050644 -/* 80050608 0004D568 2C 07 00 08 */ cmpwi r7, 8 -/* 8005060C 0004D56C 38 C7 FF F8 */ addi r6, r7, -8 -/* 80050610 0004D570 40 81 00 20 */ ble lbl_80050630 -/* 80050614 0004D574 38 06 00 07 */ addi r0, r6, 7 -/* 80050618 0004D578 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005061C 0004D57C 7C 09 03 A6 */ mtctr r0 -/* 80050620 0004D580 2C 06 00 00 */ cmpwi r6, 0 -/* 80050624 0004D584 40 81 00 0C */ ble lbl_80050630 -lbl_80050628: -/* 80050628 0004D588 38 63 00 08 */ addi r3, r3, 8 -/* 8005062C 0004D58C 42 00 FF FC */ bdnz lbl_80050628 -lbl_80050630: -/* 80050630 0004D590 7C 03 38 50 */ subf r0, r3, r7 -/* 80050634 0004D594 7C 09 03 A6 */ mtctr r0 -/* 80050638 0004D598 7C 03 38 00 */ cmpw r3, r7 -/* 8005063C 0004D59C 40 80 00 08 */ bge lbl_80050644 -lbl_80050640: -/* 80050640 0004D5A0 42 00 00 00 */ bdnz lbl_80050640 -lbl_80050644: -/* 80050644 0004D5A4 38 00 00 00 */ li r0, 0 -/* 80050648 0004D5A8 90 05 00 00 */ stw r0, 0(r5) -lbl_8005064C: -/* 8005064C 0004D5AC 28 04 00 00 */ cmplwi r4, 0 -/* 80050650 0004D5B0 41 82 00 0C */ beq lbl_8005065C -/* 80050654 0004D5B4 7C 83 23 78 */ mr r3, r4 -/* 80050658 0004D5B8 48 2C 52 D9 */ bl Free__7CMemoryFPCv -lbl_8005065C: -/* 8005065C 0004D5BC 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80050660 0004D5C0 7F E3 FB 78 */ mr r3, r31 -/* 80050664 0004D5C4 38 04 FF FF */ addi r0, r4, -1 -/* 80050668 0004D5C8 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8005066C 0004D5CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80050670 0004D5D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80050674 0004D5D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80050678 0004D5D8 7C 08 03 A6 */ mtlr r0 -/* 8005067C 0004D5DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80050680 0004D5E0 4E 80 00 20 */ blr - -.global sub_80050684 -sub_80050684: -/* 80050684 0004D5E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80050688 0004D5E8 7C 08 02 A6 */ mflr r0 -/* 8005068C 0004D5EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80050690 0004D5F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80050694 0004D5F4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80050698 0004D5F8 7C 9E 23 78 */ mr r30, r4 -/* 8005069C 0004D5FC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800506A0 0004D600 7C 7D 1B 79 */ or. r29, r3, r3 -/* 800506A4 0004D604 41 82 00 9C */ beq lbl_80050740 -/* 800506A8 0004D608 83 FD 00 04 */ lwz r31, 4(r29) -/* 800506AC 0004D60C 48 00 00 78 */ b lbl_80050724 -lbl_800506B0: -/* 800506B0 0004D610 7F E3 FB 78 */ mr r3, r31 -/* 800506B4 0004D614 83 FF 00 04 */ lwz r31, 4(r31) -/* 800506B8 0004D618 34 A3 00 08 */ addic. r5, r3, 8 -/* 800506BC 0004D61C 41 82 00 5C */ beq lbl_80050718 -/* 800506C0 0004D620 80 E5 00 00 */ lwz r7, 0(r5) -/* 800506C4 0004D624 38 80 00 00 */ li r4, 0 -/* 800506C8 0004D628 2C 07 00 00 */ cmpwi r7, 0 -/* 800506CC 0004D62C 40 81 00 44 */ ble lbl_80050710 -/* 800506D0 0004D630 2C 07 00 08 */ cmpwi r7, 8 -/* 800506D4 0004D634 38 C7 FF F8 */ addi r6, r7, -8 -/* 800506D8 0004D638 40 81 00 20 */ ble lbl_800506F8 -/* 800506DC 0004D63C 38 06 00 07 */ addi r0, r6, 7 -/* 800506E0 0004D640 54 00 E8 FE */ srwi r0, r0, 3 -/* 800506E4 0004D644 7C 09 03 A6 */ mtctr r0 -/* 800506E8 0004D648 2C 06 00 00 */ cmpwi r6, 0 -/* 800506EC 0004D64C 40 81 00 0C */ ble lbl_800506F8 -lbl_800506F0: -/* 800506F0 0004D650 38 84 00 08 */ addi r4, r4, 8 -/* 800506F4 0004D654 42 00 FF FC */ bdnz lbl_800506F0 -lbl_800506F8: -/* 800506F8 0004D658 7C 04 38 50 */ subf r0, r4, r7 -/* 800506FC 0004D65C 7C 09 03 A6 */ mtctr r0 -/* 80050700 0004D660 7C 04 38 00 */ cmpw r4, r7 -/* 80050704 0004D664 40 80 00 0C */ bge lbl_80050710 -lbl_80050708: -/* 80050708 0004D668 38 84 00 01 */ addi r4, r4, 1 -/* 8005070C 0004D66C 42 00 FF FC */ bdnz lbl_80050708 -lbl_80050710: -/* 80050710 0004D670 38 00 00 00 */ li r0, 0 -/* 80050714 0004D674 90 05 00 00 */ stw r0, 0(r5) -lbl_80050718: -/* 80050718 0004D678 28 03 00 00 */ cmplwi r3, 0 -/* 8005071C 0004D67C 41 82 00 08 */ beq lbl_80050724 -/* 80050720 0004D680 48 2C 52 11 */ bl Free__7CMemoryFPCv -lbl_80050724: -/* 80050724 0004D684 80 1D 00 08 */ lwz r0, 8(r29) -/* 80050728 0004D688 7C 1F 00 40 */ cmplw r31, r0 -/* 8005072C 0004D68C 40 82 FF 84 */ bne lbl_800506B0 -/* 80050730 0004D690 7F C0 07 35 */ extsh. r0, r30 -/* 80050734 0004D694 40 81 00 0C */ ble lbl_80050740 -/* 80050738 0004D698 7F A3 EB 78 */ mr r3, r29 -/* 8005073C 0004D69C 48 2C 51 F5 */ bl Free__7CMemoryFPCv -lbl_80050740: -/* 80050740 0004D6A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80050744 0004D6A4 7F A3 EB 78 */ mr r3, r29 -/* 80050748 0004D6A8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005074C 0004D6AC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80050750 0004D6B0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80050754 0004D6B4 7C 08 03 A6 */ mtlr r0 -/* 80050758 0004D6B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005075C 0004D6BC 4E 80 00 20 */ blr - -.global sub_80050760 -sub_80050760: -/* 80050760 0004D6C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80050764 0004D6C4 7C 08 02 A6 */ mflr r0 -/* 80050768 0004D6C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005076C 0004D6CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80050770 0004D6D0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80050774 0004D6D4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80050778 0004D6D8 7C 9D 23 78 */ mr r29, r4 -/* 8005077C 0004D6DC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80050780 0004D6E0 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80050784 0004D6E4 41 82 00 4C */ beq lbl_800507D0 -/* 80050788 0004D6E8 83 FC 00 04 */ lwz r31, 4(r28) -/* 8005078C 0004D6EC 48 00 00 28 */ b lbl_800507B4 -lbl_80050790: -/* 80050790 0004D6F0 7F FE FB 78 */ mr r30, r31 -/* 80050794 0004D6F4 83 FF 00 04 */ lwz r31, 4(r31) -/* 80050798 0004D6F8 38 7E 00 08 */ addi r3, r30, 8 -/* 8005079C 0004D6FC 38 80 FF FF */ li r4, -1 -/* 800507A0 0004D700 48 19 65 21 */ bl __dt__Q220CActorModelParticles5CItemFv -/* 800507A4 0004D704 28 1E 00 00 */ cmplwi r30, 0 -/* 800507A8 0004D708 41 82 00 0C */ beq lbl_800507B4 -/* 800507AC 0004D70C 7F C3 F3 78 */ mr r3, r30 -/* 800507B0 0004D710 48 2C 51 81 */ bl Free__7CMemoryFPCv -lbl_800507B4: -/* 800507B4 0004D714 80 1C 00 08 */ lwz r0, 8(r28) -/* 800507B8 0004D718 7C 1F 00 40 */ cmplw r31, r0 -/* 800507BC 0004D71C 40 82 FF D4 */ bne lbl_80050790 -/* 800507C0 0004D720 7F A0 07 35 */ extsh. r0, r29 -/* 800507C4 0004D724 40 81 00 0C */ ble lbl_800507D0 -/* 800507C8 0004D728 7F 83 E3 78 */ mr r3, r28 -/* 800507CC 0004D72C 48 2C 51 65 */ bl Free__7CMemoryFPCv -lbl_800507D0: -/* 800507D0 0004D730 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800507D4 0004D734 7F 83 E3 78 */ mr r3, r28 -/* 800507D8 0004D738 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800507DC 0004D73C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800507E0 0004D740 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800507E4 0004D744 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800507E8 0004D748 7C 08 03 A6 */ mtlr r0 -/* 800507EC 0004D74C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800507F0 0004D750 4E 80 00 20 */ blr - -.global "__insertion_sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" -"__insertion_sort__4rstlFPPC9CGameAreaPPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter": -/* 800507F4 0004D754 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800507F8 0004D758 7C 08 02 A6 */ mflr r0 -/* 800507FC 0004D75C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80050800 0004D760 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80050804 0004D764 7C 79 1B 78 */ mr r25, r3 -/* 80050808 0004D768 7C 9A 23 78 */ mr r26, r4 -/* 8005080C 0004D76C 7C BB 2B 78 */ mr r27, r5 -/* 80050810 0004D770 3B F9 00 04 */ addi r31, r25, 4 -/* 80050814 0004D774 48 00 00 4C */ b lbl_80050860 -lbl_80050818: -/* 80050818 0004D778 83 DF 00 00 */ lwz r30, 0(r31) -/* 8005081C 0004D77C 7F FC FB 78 */ mr r28, r31 -/* 80050820 0004D780 3B BF FF FC */ addi r29, r31, -4 -/* 80050824 0004D784 48 00 00 14 */ b lbl_80050838 -lbl_80050828: -/* 80050828 0004D788 80 1D 00 00 */ lwz r0, 0(r29) -/* 8005082C 0004D78C 3B BD FF FC */ addi r29, r29, -4 -/* 80050830 0004D790 90 1C 00 00 */ stw r0, 0(r28) -/* 80050834 0004D794 3B 9C FF FC */ addi r28, r28, -4 -lbl_80050838: -/* 80050838 0004D798 7C 19 E0 40 */ cmplw r25, r28 -/* 8005083C 0004D79C 40 80 00 1C */ bge lbl_80050858 -/* 80050840 0004D7A0 80 BD 00 00 */ lwz r5, 0(r29) -/* 80050844 0004D7A4 7F 63 DB 78 */ mr r3, r27 -/* 80050848 0004D7A8 7F C4 F3 78 */ mr r4, r30 -/* 8005084C 0004D7AC 4B FF EB B5 */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" -/* 80050850 0004D7B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80050854 0004D7B4 40 82 FF D4 */ bne lbl_80050828 -lbl_80050858: -/* 80050858 0004D7B8 93 DC 00 00 */ stw r30, 0(r28) -/* 8005085C 0004D7BC 3B FF 00 04 */ addi r31, r31, 4 -lbl_80050860: -/* 80050860 0004D7C0 7C 1F D0 40 */ cmplw r31, r26 -/* 80050864 0004D7C4 41 80 FF B4 */ blt lbl_80050818 -/* 80050868 0004D7C8 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8005086C 0004D7CC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80050870 0004D7D0 7C 08 03 A6 */ mtlr r0 -/* 80050874 0004D7D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80050878 0004D7D8 4E 80 00 20 */ blr - -.global sub_8005087c -sub_8005087c: -/* 8005087C 0004D7DC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80050880 0004D7E0 7C 08 02 A6 */ mflr r0 -/* 80050884 0004D7E4 90 01 00 84 */ stw r0, 0x84(r1) -/* 80050888 0004D7E8 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8005088C 0004D7EC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80050890 0004D7F0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80050894 0004D7F4 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80050898 0004D7F8 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8005089C 0004D7FC 7C 7D 1B 78 */ mr r29, r3 -/* 800508A0 0004D800 7C 9E 23 78 */ mr r30, r4 -/* 800508A4 0004D804 80 84 00 3C */ lwz r4, 0x3c(r4) -/* 800508A8 0004D808 7C BF 2B 78 */ mr r31, r5 -/* 800508AC 0004D80C 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 800508B0 0004D810 7C 04 00 00 */ cmpw r4, r0 -/* 800508B4 0004D814 40 81 00 0C */ ble lbl_800508C0 -/* 800508B8 0004D818 38 00 00 01 */ li r0, 1 -/* 800508BC 0004D81C 48 00 00 2C */ b lbl_800508E8 -lbl_800508C0: -/* 800508C0 0004D820 40 82 00 24 */ bne lbl_800508E4 -/* 800508C4 0004D824 48 2B 58 91 */ bl GetIntensity__6CLightCFv -/* 800508C8 0004D828 FF E0 08 90 */ fmr f31, f1 -/* 800508CC 0004D82C 7F C3 F3 78 */ mr r3, r30 -/* 800508D0 0004D830 48 2B 58 85 */ bl GetIntensity__6CLightCFv -/* 800508D4 0004D834 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 800508D8 0004D838 7C 00 00 26 */ mfcr r0 -/* 800508DC 0004D83C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 800508E0 0004D840 48 00 00 08 */ b lbl_800508E8 -lbl_800508E4: -/* 800508E4 0004D844 38 00 00 00 */ li r0, 0 -lbl_800508E8: -/* 800508E8 0004D848 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800508EC 0004D84C 41 82 00 10 */ beq lbl_800508FC -/* 800508F0 0004D850 7F A3 EB 78 */ mr r3, r29 -/* 800508F4 0004D854 7F C4 F3 78 */ mr r4, r30 -/* 800508F8 0004D858 48 00 03 51 */ bl sub_80050c48 -lbl_800508FC: -/* 800508FC 0004D85C 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80050900 0004D860 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80050904 0004D864 7C 03 00 00 */ cmpw r3, r0 -/* 80050908 0004D868 40 81 00 0C */ ble lbl_80050914 -/* 8005090C 0004D86C 38 00 00 01 */ li r0, 1 -/* 80050910 0004D870 48 00 00 30 */ b lbl_80050940 -lbl_80050914: -/* 80050914 0004D874 40 82 00 28 */ bne lbl_8005093C -/* 80050918 0004D878 7F C3 F3 78 */ mr r3, r30 -/* 8005091C 0004D87C 48 2B 58 39 */ bl GetIntensity__6CLightCFv -/* 80050920 0004D880 FF E0 08 90 */ fmr f31, f1 -/* 80050924 0004D884 7F E3 FB 78 */ mr r3, r31 -/* 80050928 0004D888 48 2B 58 2D */ bl GetIntensity__6CLightCFv -/* 8005092C 0004D88C FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80050930 0004D890 7C 00 00 26 */ mfcr r0 -/* 80050934 0004D894 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 80050938 0004D898 48 00 00 08 */ b lbl_80050940 -lbl_8005093C: -/* 8005093C 0004D89C 38 00 00 00 */ li r0, 0 -lbl_80050940: -/* 80050940 0004D8A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80050944 0004D8A4 41 82 02 E0 */ beq lbl_80050C24 -/* 80050948 0004D8A8 7F E4 FB 78 */ mr r4, r31 -/* 8005094C 0004D8AC 38 61 00 08 */ addi r3, r1, 8 -/* 80050950 0004D8B0 4B FE AC 21 */ bl __ct__6CLightFCR6CLight -/* 80050954 0004D8B4 80 7E 00 00 */ lwz r3, 0(r30) -/* 80050958 0004D8B8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005095C 0004D8BC 90 7F 00 00 */ stw r3, 0(r31) -/* 80050960 0004D8C0 90 1F 00 04 */ stw r0, 4(r31) -/* 80050964 0004D8C4 80 1E 00 08 */ lwz r0, 8(r30) -/* 80050968 0004D8C8 90 1F 00 08 */ stw r0, 8(r31) -/* 8005096C 0004D8CC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80050970 0004D8D0 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 80050974 0004D8D4 90 7F 00 0C */ stw r3, 0xc(r31) -/* 80050978 0004D8D8 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8005097C 0004D8DC 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 80050980 0004D8E0 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80050984 0004D8E4 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 80050988 0004D8E8 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8005098C 0004D8EC 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80050990 0004D8F0 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 80050994 0004D8F4 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 80050998 0004D8F8 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 8005099C 0004D8FC C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 800509A0 0004D900 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 800509A4 0004D904 C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 800509A8 0004D908 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 800509AC 0004D90C C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 800509B0 0004D910 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 800509B4 0004D914 C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 800509B8 0004D918 D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 800509BC 0004D91C C0 1E 00 34 */ lfs f0, 0x34(r30) -/* 800509C0 0004D920 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 800509C4 0004D924 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 800509C8 0004D928 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 800509CC 0004D92C 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 800509D0 0004D930 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 800509D4 0004D934 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 800509D8 0004D938 90 1F 00 40 */ stw r0, 0x40(r31) -/* 800509DC 0004D93C C0 1E 00 44 */ lfs f0, 0x44(r30) -/* 800509E0 0004D940 D0 1F 00 44 */ stfs f0, 0x44(r31) -/* 800509E4 0004D944 C0 1E 00 48 */ lfs f0, 0x48(r30) -/* 800509E8 0004D948 D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 800509EC 0004D94C 88 1E 00 4C */ lbz r0, 0x4c(r30) -/* 800509F0 0004D950 98 1F 00 4C */ stb r0, 0x4c(r31) -/* 800509F4 0004D954 80 61 00 44 */ lwz r3, 0x44(r1) -/* 800509F8 0004D958 80 1D 00 3C */ lwz r0, 0x3c(r29) -/* 800509FC 0004D95C 7C 03 00 00 */ cmpw r3, r0 -/* 80050A00 0004D960 40 81 00 0C */ ble lbl_80050A0C -/* 80050A04 0004D964 38 00 00 01 */ li r0, 1 -/* 80050A08 0004D968 48 00 00 30 */ b lbl_80050A38 -lbl_80050A0C: -/* 80050A0C 0004D96C 40 82 00 28 */ bne lbl_80050A34 -/* 80050A10 0004D970 7F A3 EB 78 */ mr r3, r29 -/* 80050A14 0004D974 48 2B 57 41 */ bl GetIntensity__6CLightCFv -/* 80050A18 0004D978 FF E0 08 90 */ fmr f31, f1 -/* 80050A1C 0004D97C 38 61 00 08 */ addi r3, r1, 8 -/* 80050A20 0004D980 48 2B 57 35 */ bl GetIntensity__6CLightCFv -/* 80050A24 0004D984 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80050A28 0004D988 7C 00 00 26 */ mfcr r0 -/* 80050A2C 0004D98C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 80050A30 0004D990 48 00 00 08 */ b lbl_80050A38 -lbl_80050A34: -/* 80050A34 0004D994 38 00 00 00 */ li r0, 0 -lbl_80050A38: -/* 80050A38 0004D998 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80050A3C 0004D99C 41 82 01 48 */ beq lbl_80050B84 -/* 80050A40 0004D9A0 80 7D 00 00 */ lwz r3, 0(r29) -/* 80050A44 0004D9A4 80 1D 00 04 */ lwz r0, 4(r29) -/* 80050A48 0004D9A8 90 7E 00 00 */ stw r3, 0(r30) -/* 80050A4C 0004D9AC 90 1E 00 04 */ stw r0, 4(r30) -/* 80050A50 0004D9B0 80 1D 00 08 */ lwz r0, 8(r29) -/* 80050A54 0004D9B4 90 1E 00 08 */ stw r0, 8(r30) -/* 80050A58 0004D9B8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80050A5C 0004D9BC 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 80050A60 0004D9C0 90 7E 00 0C */ stw r3, 0xc(r30) -/* 80050A64 0004D9C4 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80050A68 0004D9C8 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 80050A6C 0004D9CC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80050A70 0004D9D0 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 80050A74 0004D9D4 90 1E 00 18 */ stw r0, 0x18(r30) -/* 80050A78 0004D9D8 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 80050A7C 0004D9DC 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80050A80 0004D9E0 C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 80050A84 0004D9E4 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80050A88 0004D9E8 C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 80050A8C 0004D9EC D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80050A90 0004D9F0 C0 1D 00 28 */ lfs f0, 0x28(r29) -/* 80050A94 0004D9F4 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 80050A98 0004D9F8 C0 1D 00 2C */ lfs f0, 0x2c(r29) -/* 80050A9C 0004D9FC D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 80050AA0 0004DA00 C0 1D 00 30 */ lfs f0, 0x30(r29) -/* 80050AA4 0004DA04 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 80050AA8 0004DA08 C0 1D 00 34 */ lfs f0, 0x34(r29) -/* 80050AAC 0004DA0C D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 80050AB0 0004DA10 C0 1D 00 38 */ lfs f0, 0x38(r29) -/* 80050AB4 0004DA14 D0 1E 00 38 */ stfs f0, 0x38(r30) -/* 80050AB8 0004DA18 80 1D 00 3C */ lwz r0, 0x3c(r29) -/* 80050ABC 0004DA1C 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 80050AC0 0004DA20 80 1D 00 40 */ lwz r0, 0x40(r29) -/* 80050AC4 0004DA24 90 1E 00 40 */ stw r0, 0x40(r30) -/* 80050AC8 0004DA28 C0 1D 00 44 */ lfs f0, 0x44(r29) -/* 80050ACC 0004DA2C D0 1E 00 44 */ stfs f0, 0x44(r30) -/* 80050AD0 0004DA30 C0 1D 00 48 */ lfs f0, 0x48(r29) -/* 80050AD4 0004DA34 D0 1E 00 48 */ stfs f0, 0x48(r30) -/* 80050AD8 0004DA38 88 1D 00 4C */ lbz r0, 0x4c(r29) -/* 80050ADC 0004DA3C 98 1E 00 4C */ stb r0, 0x4c(r30) -/* 80050AE0 0004DA40 80 61 00 08 */ lwz r3, 8(r1) -/* 80050AE4 0004DA44 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80050AE8 0004DA48 90 7D 00 00 */ stw r3, 0(r29) -/* 80050AEC 0004DA4C 90 1D 00 04 */ stw r0, 4(r29) -/* 80050AF0 0004DA50 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80050AF4 0004DA54 90 1D 00 08 */ stw r0, 8(r29) -/* 80050AF8 0004DA58 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80050AFC 0004DA5C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80050B00 0004DA60 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80050B04 0004DA64 90 1D 00 10 */ stw r0, 0x10(r29) -/* 80050B08 0004DA68 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80050B0C 0004DA6C 90 1D 00 14 */ stw r0, 0x14(r29) -/* 80050B10 0004DA70 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80050B14 0004DA74 90 1D 00 18 */ stw r0, 0x18(r29) -/* 80050B18 0004DA78 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80050B1C 0004DA7C 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 80050B20 0004DA80 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80050B24 0004DA84 D0 1D 00 20 */ stfs f0, 0x20(r29) -/* 80050B28 0004DA88 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80050B2C 0004DA8C D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 80050B30 0004DA90 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80050B34 0004DA94 D0 1D 00 28 */ stfs f0, 0x28(r29) -/* 80050B38 0004DA98 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80050B3C 0004DA9C D0 1D 00 2C */ stfs f0, 0x2c(r29) -/* 80050B40 0004DAA0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80050B44 0004DAA4 D0 1D 00 30 */ stfs f0, 0x30(r29) -/* 80050B48 0004DAA8 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80050B4C 0004DAAC D0 1D 00 34 */ stfs f0, 0x34(r29) -/* 80050B50 0004DAB0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80050B54 0004DAB4 D0 1D 00 38 */ stfs f0, 0x38(r29) -/* 80050B58 0004DAB8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80050B5C 0004DABC 90 1D 00 3C */ stw r0, 0x3c(r29) -/* 80050B60 0004DAC0 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80050B64 0004DAC4 90 1D 00 40 */ stw r0, 0x40(r29) -/* 80050B68 0004DAC8 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80050B6C 0004DACC D0 1D 00 44 */ stfs f0, 0x44(r29) -/* 80050B70 0004DAD0 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80050B74 0004DAD4 D0 1D 00 48 */ stfs f0, 0x48(r29) -/* 80050B78 0004DAD8 88 01 00 54 */ lbz r0, 0x54(r1) -/* 80050B7C 0004DADC 98 1D 00 4C */ stb r0, 0x4c(r29) -/* 80050B80 0004DAE0 48 00 00 A4 */ b lbl_80050C24 -lbl_80050B84: -/* 80050B84 0004DAE4 80 61 00 08 */ lwz r3, 8(r1) -/* 80050B88 0004DAE8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80050B8C 0004DAEC 90 7E 00 00 */ stw r3, 0(r30) -/* 80050B90 0004DAF0 90 1E 00 04 */ stw r0, 4(r30) -/* 80050B94 0004DAF4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80050B98 0004DAF8 90 1E 00 08 */ stw r0, 8(r30) -/* 80050B9C 0004DAFC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80050BA0 0004DB00 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80050BA4 0004DB04 90 7E 00 0C */ stw r3, 0xc(r30) -/* 80050BA8 0004DB08 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80050BAC 0004DB0C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80050BB0 0004DB10 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80050BB4 0004DB14 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80050BB8 0004DB18 90 1E 00 18 */ stw r0, 0x18(r30) -/* 80050BBC 0004DB1C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80050BC0 0004DB20 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80050BC4 0004DB24 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80050BC8 0004DB28 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80050BCC 0004DB2C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80050BD0 0004DB30 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80050BD4 0004DB34 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80050BD8 0004DB38 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 80050BDC 0004DB3C C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80050BE0 0004DB40 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 80050BE4 0004DB44 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80050BE8 0004DB48 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 80050BEC 0004DB4C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80050BF0 0004DB50 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 80050BF4 0004DB54 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80050BF8 0004DB58 D0 1E 00 38 */ stfs f0, 0x38(r30) -/* 80050BFC 0004DB5C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80050C00 0004DB60 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 80050C04 0004DB64 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80050C08 0004DB68 90 1E 00 40 */ stw r0, 0x40(r30) -/* 80050C0C 0004DB6C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80050C10 0004DB70 D0 1E 00 44 */ stfs f0, 0x44(r30) -/* 80050C14 0004DB74 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80050C18 0004DB78 D0 1E 00 48 */ stfs f0, 0x48(r30) -/* 80050C1C 0004DB7C 88 01 00 54 */ lbz r0, 0x54(r1) -/* 80050C20 0004DB80 98 1E 00 4C */ stb r0, 0x4c(r30) -lbl_80050C24: -/* 80050C24 0004DB84 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80050C28 0004DB88 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80050C2C 0004DB8C CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80050C30 0004DB90 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80050C34 0004DB94 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80050C38 0004DB98 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80050C3C 0004DB9C 7C 08 03 A6 */ mtlr r0 -/* 80050C40 0004DBA0 38 21 00 80 */ addi r1, r1, 0x80 -/* 80050C44 0004DBA4 4E 80 00 20 */ blr - -.global sub_80050c48 -sub_80050c48: -/* 80050C48 0004DBA8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80050C4C 0004DBAC 7C 08 02 A6 */ mflr r0 -/* 80050C50 0004DBB0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80050C54 0004DBB4 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80050C58 0004DBB8 7C 9F 23 78 */ mr r31, r4 -/* 80050C5C 0004DBBC 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80050C60 0004DBC0 7C 7E 1B 78 */ mr r30, r3 -/* 80050C64 0004DBC4 7F C4 F3 78 */ mr r4, r30 -/* 80050C68 0004DBC8 38 61 00 08 */ addi r3, r1, 8 -/* 80050C6C 0004DBCC 4B FE A9 05 */ bl __ct__6CLightFCR6CLight -/* 80050C70 0004DBD0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80050C74 0004DBD4 80 1F 00 04 */ lwz r0, 4(r31) -/* 80050C78 0004DBD8 90 7E 00 00 */ stw r3, 0(r30) -/* 80050C7C 0004DBDC 90 1E 00 04 */ stw r0, 4(r30) -/* 80050C80 0004DBE0 80 1F 00 08 */ lwz r0, 8(r31) -/* 80050C84 0004DBE4 90 1E 00 08 */ stw r0, 8(r30) -/* 80050C88 0004DBE8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80050C8C 0004DBEC 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80050C90 0004DBF0 90 7E 00 0C */ stw r3, 0xc(r30) -/* 80050C94 0004DBF4 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80050C98 0004DBF8 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80050C9C 0004DBFC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80050CA0 0004DC00 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80050CA4 0004DC04 90 1E 00 18 */ stw r0, 0x18(r30) -/* 80050CA8 0004DC08 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80050CAC 0004DC0C 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80050CB0 0004DC10 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 80050CB4 0004DC14 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80050CB8 0004DC18 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 80050CBC 0004DC1C D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80050CC0 0004DC20 C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 80050CC4 0004DC24 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 80050CC8 0004DC28 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 80050CCC 0004DC2C D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 80050CD0 0004DC30 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 80050CD4 0004DC34 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 80050CD8 0004DC38 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 80050CDC 0004DC3C D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 80050CE0 0004DC40 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80050CE4 0004DC44 D0 1E 00 38 */ stfs f0, 0x38(r30) -/* 80050CE8 0004DC48 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 80050CEC 0004DC4C 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 80050CF0 0004DC50 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 80050CF4 0004DC54 90 1E 00 40 */ stw r0, 0x40(r30) -/* 80050CF8 0004DC58 C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 80050CFC 0004DC5C D0 1E 00 44 */ stfs f0, 0x44(r30) -/* 80050D00 0004DC60 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 80050D04 0004DC64 D0 1E 00 48 */ stfs f0, 0x48(r30) -/* 80050D08 0004DC68 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 80050D0C 0004DC6C 98 1E 00 4C */ stb r0, 0x4c(r30) -/* 80050D10 0004DC70 80 61 00 08 */ lwz r3, 8(r1) -/* 80050D14 0004DC74 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80050D18 0004DC78 90 7F 00 00 */ stw r3, 0(r31) -/* 80050D1C 0004DC7C 90 1F 00 04 */ stw r0, 4(r31) -/* 80050D20 0004DC80 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80050D24 0004DC84 90 1F 00 08 */ stw r0, 8(r31) -/* 80050D28 0004DC88 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80050D2C 0004DC8C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80050D30 0004DC90 90 7F 00 0C */ stw r3, 0xc(r31) -/* 80050D34 0004DC94 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80050D38 0004DC98 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80050D3C 0004DC9C 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80050D40 0004DCA0 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80050D44 0004DCA4 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80050D48 0004DCA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80050D4C 0004DCAC 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 80050D50 0004DCB0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80050D54 0004DCB4 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 80050D58 0004DCB8 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80050D5C 0004DCBC D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 80050D60 0004DCC0 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80050D64 0004DCC4 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 80050D68 0004DCC8 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80050D6C 0004DCCC D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 80050D70 0004DCD0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80050D74 0004DCD4 D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 80050D78 0004DCD8 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80050D7C 0004DCDC D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 80050D80 0004DCE0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80050D84 0004DCE4 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 80050D88 0004DCE8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80050D8C 0004DCEC 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 80050D90 0004DCF0 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80050D94 0004DCF4 90 1F 00 40 */ stw r0, 0x40(r31) -/* 80050D98 0004DCF8 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80050D9C 0004DCFC D0 1F 00 44 */ stfs f0, 0x44(r31) -/* 80050DA0 0004DD00 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80050DA4 0004DD04 D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 80050DA8 0004DD08 88 01 00 54 */ lbz r0, 0x54(r1) -/* 80050DAC 0004DD0C 98 1F 00 4C */ stb r0, 0x4c(r31) -/* 80050DB0 0004DD10 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80050DB4 0004DD14 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80050DB8 0004DD18 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80050DBC 0004DD1C 7C 08 03 A6 */ mtlr r0 -/* 80050DC0 0004DD20 38 21 00 60 */ addi r1, r1, 0x60 -/* 80050DC4 0004DD24 4E 80 00 20 */ blr - -.global "__sort3__4rstlFRPC9CGameAreaRPC9CGameAreaRPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter" -"__sort3__4rstlFRPC9CGameAreaRPC9CGameAreaRPC9CGameAreaQ227@unnamed@CStateManager_cpp@11area_sorter": -/* 80050DC8 0004DD28 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80050DCC 0004DD2C 7C 08 02 A6 */ mflr r0 -/* 80050DD0 0004DD30 90 01 00 24 */ stw r0, 0x24(r1) -/* 80050DD4 0004DD34 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80050DD8 0004DD38 7C 9C 23 78 */ mr r28, r4 -/* 80050DDC 0004DD3C 7C 7B 1B 78 */ mr r27, r3 -/* 80050DE0 0004DD40 7C BD 2B 78 */ mr r29, r5 -/* 80050DE4 0004DD44 7C DE 33 78 */ mr r30, r6 -/* 80050DE8 0004DD48 7F C3 F3 78 */ mr r3, r30 -/* 80050DEC 0004DD4C 80 84 00 00 */ lwz r4, 0(r4) -/* 80050DF0 0004DD50 80 BB 00 00 */ lwz r5, 0(r27) -/* 80050DF4 0004DD54 4B FF E6 0D */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" -/* 80050DF8 0004DD58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80050DFC 0004DD5C 41 82 00 14 */ beq lbl_80050E10 -/* 80050E00 0004DD60 80 7B 00 00 */ lwz r3, 0(r27) -/* 80050E04 0004DD64 80 1C 00 00 */ lwz r0, 0(r28) -/* 80050E08 0004DD68 90 1B 00 00 */ stw r0, 0(r27) -/* 80050E0C 0004DD6C 90 7C 00 00 */ stw r3, 0(r28) -lbl_80050E10: -/* 80050E10 0004DD70 80 9D 00 00 */ lwz r4, 0(r29) -/* 80050E14 0004DD74 7F C3 F3 78 */ mr r3, r30 -/* 80050E18 0004DD78 80 BC 00 00 */ lwz r5, 0(r28) -/* 80050E1C 0004DD7C 4B FF E5 E5 */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" -/* 80050E20 0004DD80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80050E24 0004DD84 41 82 00 3C */ beq lbl_80050E60 -/* 80050E28 0004DD88 83 FD 00 00 */ lwz r31, 0(r29) -/* 80050E2C 0004DD8C 7F C3 F3 78 */ mr r3, r30 -/* 80050E30 0004DD90 80 1C 00 00 */ lwz r0, 0(r28) -/* 80050E34 0004DD94 7F E4 FB 78 */ mr r4, r31 -/* 80050E38 0004DD98 90 1D 00 00 */ stw r0, 0(r29) -/* 80050E3C 0004DD9C 80 BB 00 00 */ lwz r5, 0(r27) -/* 80050E40 0004DDA0 4B FF E5 C1 */ bl "__cl__Q227@unnamed@CStateManager_cpp@11area_sorterCFPC9CGameAreaPC9CGameArea" -/* 80050E44 0004DDA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80050E48 0004DDA8 41 82 00 14 */ beq lbl_80050E5C -/* 80050E4C 0004DDAC 80 1B 00 00 */ lwz r0, 0(r27) -/* 80050E50 0004DDB0 90 1C 00 00 */ stw r0, 0(r28) -/* 80050E54 0004DDB4 93 FB 00 00 */ stw r31, 0(r27) -/* 80050E58 0004DDB8 48 00 00 08 */ b lbl_80050E60 -lbl_80050E5C: -/* 80050E5C 0004DDBC 93 FC 00 00 */ stw r31, 0(r28) -lbl_80050E60: -/* 80050E60 0004DDC0 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80050E64 0004DDC4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80050E68 0004DDC8 7C 08 03 A6 */ mtlr r0 -/* 80050E6C 0004DDCC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80050E70 0004DDD0 4E 80 00 20 */ blr - -.global "__insertion_sort,Q24rstl17rmemory_allocator>,15CLightPredicate>__4rstlFQ24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>15CLightPredicate" -"__insertion_sort,Q24rstl17rmemory_allocator>,15CLightPredicate>__4rstlFQ24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl104pointer_iterator<6CLight,Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>15CLightPredicate": -/* 80050E74 0004DDD4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80050E78 0004DDD8 7C 08 02 A6 */ mflr r0 -/* 80050E7C 0004DDDC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80050E80 0004DDE0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80050E84 0004DDE4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80050E88 0004DDE8 BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 80050E8C 0004DDEC 7C 7B 1B 78 */ mr r27, r3 -/* 80050E90 0004DDF0 7C 9C 23 78 */ mr r28, r4 -/* 80050E94 0004DDF4 83 E3 00 00 */ lwz r31, 0(r3) -/* 80050E98 0004DDF8 3B FF 00 50 */ addi r31, r31, 0x50 -/* 80050E9C 0004DDFC 48 00 01 C0 */ b lbl_8005105C -lbl_80050EA0: -/* 80050EA0 0004DE00 7F E4 FB 78 */ mr r4, r31 -/* 80050EA4 0004DE04 38 61 00 08 */ addi r3, r1, 8 -/* 80050EA8 0004DE08 4B FE A6 C9 */ bl __ct__6CLightFCR6CLight -/* 80050EAC 0004DE0C 7F FD FB 78 */ mr r29, r31 -/* 80050EB0 0004DE10 3B DF FF B0 */ addi r30, r31, -80 -/* 80050EB4 0004DE14 48 00 00 AC */ b lbl_80050F60 -lbl_80050EB8: -/* 80050EB8 0004DE18 80 7E 00 00 */ lwz r3, 0(r30) -/* 80050EBC 0004DE1C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80050EC0 0004DE20 90 7D 00 00 */ stw r3, 0(r29) -/* 80050EC4 0004DE24 90 1D 00 04 */ stw r0, 4(r29) -/* 80050EC8 0004DE28 80 1E 00 08 */ lwz r0, 8(r30) -/* 80050ECC 0004DE2C 90 1D 00 08 */ stw r0, 8(r29) -/* 80050ED0 0004DE30 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80050ED4 0004DE34 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 80050ED8 0004DE38 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80050EDC 0004DE3C 90 1D 00 10 */ stw r0, 0x10(r29) -/* 80050EE0 0004DE40 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 80050EE4 0004DE44 90 1D 00 14 */ stw r0, 0x14(r29) -/* 80050EE8 0004DE48 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 80050EEC 0004DE4C 90 1D 00 18 */ stw r0, 0x18(r29) -/* 80050EF0 0004DE50 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80050EF4 0004DE54 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 80050EF8 0004DE58 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 80050EFC 0004DE5C D0 1D 00 20 */ stfs f0, 0x20(r29) -/* 80050F00 0004DE60 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 80050F04 0004DE64 D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 80050F08 0004DE68 C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 80050F0C 0004DE6C D0 1D 00 28 */ stfs f0, 0x28(r29) -/* 80050F10 0004DE70 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 80050F14 0004DE74 D0 1D 00 2C */ stfs f0, 0x2c(r29) -/* 80050F18 0004DE78 C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 80050F1C 0004DE7C D0 1D 00 30 */ stfs f0, 0x30(r29) -/* 80050F20 0004DE80 C0 1E 00 34 */ lfs f0, 0x34(r30) -/* 80050F24 0004DE84 D0 1D 00 34 */ stfs f0, 0x34(r29) -/* 80050F28 0004DE88 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 80050F2C 0004DE8C D0 1D 00 38 */ stfs f0, 0x38(r29) -/* 80050F30 0004DE90 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80050F34 0004DE94 90 1D 00 3C */ stw r0, 0x3c(r29) -/* 80050F38 0004DE98 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 80050F3C 0004DE9C 90 1D 00 40 */ stw r0, 0x40(r29) -/* 80050F40 0004DEA0 C0 1E 00 44 */ lfs f0, 0x44(r30) -/* 80050F44 0004DEA4 D0 1D 00 44 */ stfs f0, 0x44(r29) -/* 80050F48 0004DEA8 C0 1E 00 48 */ lfs f0, 0x48(r30) -/* 80050F4C 0004DEAC D0 1D 00 48 */ stfs f0, 0x48(r29) -/* 80050F50 0004DEB0 88 1E 00 4C */ lbz r0, 0x4c(r30) -/* 80050F54 0004DEB4 3B DE FF B0 */ addi r30, r30, -80 -/* 80050F58 0004DEB8 98 1D 00 4C */ stb r0, 0x4c(r29) -/* 80050F5C 0004DEBC 3B BD FF B0 */ addi r29, r29, -80 -lbl_80050F60: -/* 80050F60 0004DEC0 80 1B 00 00 */ lwz r0, 0(r27) -/* 80050F64 0004DEC4 7C 00 E8 40 */ cmplw r0, r29 -/* 80050F68 0004DEC8 40 80 00 50 */ bge lbl_80050FB8 -/* 80050F6C 0004DECC 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80050F70 0004DED0 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80050F74 0004DED4 7C 03 00 00 */ cmpw r3, r0 -/* 80050F78 0004DED8 40 81 00 0C */ ble lbl_80050F84 -/* 80050F7C 0004DEDC 38 00 00 01 */ li r0, 1 -/* 80050F80 0004DEE0 48 00 00 30 */ b lbl_80050FB0 -lbl_80050F84: -/* 80050F84 0004DEE4 40 82 00 28 */ bne lbl_80050FAC -/* 80050F88 0004DEE8 7F C3 F3 78 */ mr r3, r30 -/* 80050F8C 0004DEEC 48 2B 51 C9 */ bl GetIntensity__6CLightCFv -/* 80050F90 0004DEF0 FF E0 08 90 */ fmr f31, f1 -/* 80050F94 0004DEF4 38 61 00 08 */ addi r3, r1, 8 -/* 80050F98 0004DEF8 48 2B 51 BD */ bl GetIntensity__6CLightCFv -/* 80050F9C 0004DEFC FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80050FA0 0004DF00 7C 00 00 26 */ mfcr r0 -/* 80050FA4 0004DF04 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 80050FA8 0004DF08 48 00 00 08 */ b lbl_80050FB0 -lbl_80050FAC: -/* 80050FAC 0004DF0C 38 00 00 00 */ li r0, 0 -lbl_80050FB0: -/* 80050FB0 0004DF10 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80050FB4 0004DF14 40 82 FF 04 */ bne lbl_80050EB8 -lbl_80050FB8: -/* 80050FB8 0004DF18 80 61 00 08 */ lwz r3, 8(r1) -/* 80050FBC 0004DF1C 3B FF 00 50 */ addi r31, r31, 0x50 -/* 80050FC0 0004DF20 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80050FC4 0004DF24 90 7D 00 00 */ stw r3, 0(r29) -/* 80050FC8 0004DF28 90 1D 00 04 */ stw r0, 4(r29) -/* 80050FCC 0004DF2C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80050FD0 0004DF30 90 1D 00 08 */ stw r0, 8(r29) -/* 80050FD4 0004DF34 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80050FD8 0004DF38 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80050FDC 0004DF3C 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80050FE0 0004DF40 90 1D 00 10 */ stw r0, 0x10(r29) -/* 80050FE4 0004DF44 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80050FE8 0004DF48 90 1D 00 14 */ stw r0, 0x14(r29) -/* 80050FEC 0004DF4C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80050FF0 0004DF50 90 1D 00 18 */ stw r0, 0x18(r29) -/* 80050FF4 0004DF54 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80050FF8 0004DF58 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 80050FFC 0004DF5C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80051000 0004DF60 D0 1D 00 20 */ stfs f0, 0x20(r29) -/* 80051004 0004DF64 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80051008 0004DF68 D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 8005100C 0004DF6C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80051010 0004DF70 D0 1D 00 28 */ stfs f0, 0x28(r29) -/* 80051014 0004DF74 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80051018 0004DF78 D0 1D 00 2C */ stfs f0, 0x2c(r29) -/* 8005101C 0004DF7C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80051020 0004DF80 D0 1D 00 30 */ stfs f0, 0x30(r29) -/* 80051024 0004DF84 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80051028 0004DF88 D0 1D 00 34 */ stfs f0, 0x34(r29) -/* 8005102C 0004DF8C C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80051030 0004DF90 D0 1D 00 38 */ stfs f0, 0x38(r29) -/* 80051034 0004DF94 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80051038 0004DF98 90 1D 00 3C */ stw r0, 0x3c(r29) -/* 8005103C 0004DF9C 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80051040 0004DFA0 90 1D 00 40 */ stw r0, 0x40(r29) -/* 80051044 0004DFA4 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80051048 0004DFA8 D0 1D 00 44 */ stfs f0, 0x44(r29) -/* 8005104C 0004DFAC C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80051050 0004DFB0 D0 1D 00 48 */ stfs f0, 0x48(r29) -/* 80051054 0004DFB4 88 01 00 54 */ lbz r0, 0x54(r1) -/* 80051058 0004DFB8 98 1D 00 4C */ stb r0, 0x4c(r29) -lbl_8005105C: -/* 8005105C 0004DFBC 80 1C 00 00 */ lwz r0, 0(r28) -/* 80051060 0004DFC0 7C 1F 00 40 */ cmplw r31, r0 -/* 80051064 0004DFC4 41 80 FE 3C */ blt lbl_80050EA0 -/* 80051068 0004DFC8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8005106C 0004DFCC CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80051070 0004DFD0 BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 80051074 0004DFD4 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80051078 0004DFD8 7C 08 03 A6 */ mtlr r0 -/* 8005107C 0004DFDC 38 21 00 80 */ addi r1, r1, 0x80 -/* 80051080 0004DFE0 4E 80 00 20 */ blr - -.global GetAreaId__7CEntityCFv -GetAreaId__7CEntityCFv: -/* 80051084 0004DFE4 88 04 00 30 */ lbz r0, 0x30(r4) -/* 80051088 0004DFE8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8005108C 0004DFEC 41 82 00 0C */ beq lbl_80051098 -/* 80051090 0004DFF0 38 8D A3 90 */ addi r4, r13, lbl_805A8F50@sda21 -/* 80051094 0004DFF4 48 00 00 08 */ b lbl_8005109C -lbl_80051098: -/* 80051098 0004DFF8 38 84 00 04 */ addi r4, r4, 4 -lbl_8005109C: -/* 8005109C 0004DFFC 80 04 00 00 */ lwz r0, 0(r4) -/* 800510A0 0004E000 90 03 00 00 */ stw r0, 0(r3) -/* 800510A4 0004E004 4E 80 00 20 */ blr - -.global SetActive__7CEntityFb -SetActive__7CEntityFb: -/* 800510A8 0004E008 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800510AC 0004E00C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800510B0 0004E010 98 03 00 30 */ stb r0, 0x30(r3) -/* 800510B4 0004E014 4E 80 00 20 */ blr - -.global Think__7CEntityFfR13CStateManager -Think__7CEntityFfR13CStateManager: -/* 800510B8 0004E018 4E 80 00 20 */ blr - -.global PreThink__7CEntityFfR13CStateManager -PreThink__7CEntityFfR13CStateManager: -/* 800510BC 0004E01C 4E 80 00 20 */ blr - -.global SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage: -/* 800510C0 0004E020 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800510C4 0004E024 7C 08 02 A6 */ mflr r0 -/* 800510C8 0004E028 90 01 00 34 */ stw r0, 0x34(r1) -/* 800510CC 0004E02C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800510D0 0004E030 7C 7B 1B 78 */ mr r27, r3 -/* 800510D4 0004E034 7C 9C 23 78 */ mr r28, r4 -/* 800510D8 0004E038 7C BD 2B 78 */ mr r29, r5 -/* 800510DC 0004E03C 7C DE 33 78 */ mr r30, r6 -/* 800510E0 0004E040 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 800510E4 0004E044 48 00 00 4C */ b lbl_80051130 -lbl_800510E8: -/* 800510E8 0004E048 80 1F 00 00 */ lwz r0, 0(r31) -/* 800510EC 0004E04C 7C 1C 00 00 */ cmpw r28, r0 -/* 800510F0 0004E050 40 82 00 3C */ bne lbl_8005112C -/* 800510F4 0004E054 80 1F 00 04 */ lwz r0, 4(r31) -/* 800510F8 0004E058 7C 1E 00 00 */ cmpw r30, r0 -/* 800510FC 0004E05C 41 82 00 30 */ beq lbl_8005112C -/* 80051100 0004E060 80 1F 00 08 */ lwz r0, 8(r31) -/* 80051104 0004E064 7F A3 EB 78 */ mr r3, r29 -/* 80051108 0004E068 7F 87 E3 78 */ mr r7, r28 -/* 8005110C 0004E06C 38 81 00 0C */ addi r4, r1, 0xc -/* 80051110 0004E070 90 01 00 10 */ stw r0, 0x10(r1) -/* 80051114 0004E074 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80051118 0004E078 A0 1B 00 08 */ lhz r0, 8(r27) -/* 8005111C 0004E07C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80051120 0004E080 B0 01 00 08 */ sth r0, 8(r1) -/* 80051124 0004E084 80 DF 00 04 */ lwz r6, 4(r31) -/* 80051128 0004E088 4B FF 6A 15 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState -lbl_8005112C: -/* 8005112C 0004E08C 3B FF 00 0C */ addi r31, r31, 0xc -lbl_80051130: -/* 80051130 0004E090 80 1B 00 24 */ lwz r0, 0x24(r27) -/* 80051134 0004E094 80 7B 00 2C */ lwz r3, 0x2c(r27) -/* 80051138 0004E098 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005113C 0004E09C 7C 03 02 14 */ add r0, r3, r0 -/* 80051140 0004E0A0 7C 1F 00 40 */ cmplw r31, r0 -/* 80051144 0004E0A4 40 82 FF A4 */ bne lbl_800510E8 -/* 80051148 0004E0A8 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8005114C 0004E0AC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80051150 0004E0B0 7C 08 03 A6 */ mtlr r0 -/* 80051154 0004E0B4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80051158 0004E0B8 4E 80 00 20 */ blr - -.global AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8005115C 0004E0BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80051160 0004E0C0 7C 08 02 A6 */ mflr r0 -/* 80051164 0004E0C4 2C 04 00 04 */ cmpwi r4, 4 -/* 80051168 0004E0C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005116C 0004E0CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80051170 0004E0D0 7C DF 33 78 */ mr r31, r6 -/* 80051174 0004E0D4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80051178 0004E0D8 7C 7E 1B 78 */ mr r30, r3 -/* 8005117C 0004E0DC 41 82 00 58 */ beq lbl_800511D4 -/* 80051180 0004E0E0 40 80 00 10 */ bge lbl_80051190 -/* 80051184 0004E0E4 2C 04 00 01 */ cmpwi r4, 1 -/* 80051188 0004E0E8 41 82 00 14 */ beq lbl_8005119C -/* 8005118C 0004E0EC 48 00 00 D0 */ b lbl_8005125C -lbl_80051190: -/* 80051190 0004E0F0 2C 04 00 11 */ cmpwi r4, 0x11 -/* 80051194 0004E0F4 41 82 00 78 */ beq lbl_8005120C -/* 80051198 0004E0F8 48 00 00 C4 */ b lbl_8005125C -lbl_8005119C: -/* 8005119C 0004E0FC 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 800511A0 0004E100 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800511A4 0004E104 40 82 00 B8 */ bne lbl_8005125C -/* 800511A8 0004E108 81 83 00 00 */ lwz r12, 0(r3) -/* 800511AC 0004E10C 38 80 00 01 */ li r4, 1 -/* 800511B0 0004E110 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800511B4 0004E114 7D 89 03 A6 */ mtctr r12 -/* 800511B8 0004E118 4E 80 04 21 */ bctrl -/* 800511BC 0004E11C 7F C3 F3 78 */ mr r3, r30 -/* 800511C0 0004E120 7F E5 FB 78 */ mr r5, r31 -/* 800511C4 0004E124 38 80 00 00 */ li r4, 0 -/* 800511C8 0004E128 38 C0 FF FF */ li r6, -1 -/* 800511CC 0004E12C 4B FF FE F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 800511D0 0004E130 48 00 00 8C */ b lbl_8005125C -lbl_800511D4: -/* 800511D4 0004E134 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 800511D8 0004E138 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800511DC 0004E13C 41 82 00 80 */ beq lbl_8005125C -/* 800511E0 0004E140 81 83 00 00 */ lwz r12, 0(r3) -/* 800511E4 0004E144 38 80 00 00 */ li r4, 0 -/* 800511E8 0004E148 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800511EC 0004E14C 7D 89 03 A6 */ mtctr r12 -/* 800511F0 0004E150 4E 80 04 21 */ bctrl -/* 800511F4 0004E154 7F C3 F3 78 */ mr r3, r30 -/* 800511F8 0004E158 7F E5 FB 78 */ mr r5, r31 -/* 800511FC 0004E15C 38 80 00 05 */ li r4, 5 -/* 80051200 0004E160 38 C0 FF FF */ li r6, -1 -/* 80051204 0004E164 4B FF FE BD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80051208 0004E168 48 00 00 54 */ b lbl_8005125C -lbl_8005120C: -/* 8005120C 0004E16C 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80051210 0004E170 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80051214 0004E174 40 82 00 28 */ bne lbl_8005123C -/* 80051218 0004E178 A0 05 00 00 */ lhz r0, 0(r5) -/* 8005121C 0004E17C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80051220 0004E180 38 80 00 01 */ li r4, 1 -/* 80051224 0004E184 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80051228 0004E188 81 83 00 00 */ lwz r12, 0(r3) -/* 8005122C 0004E18C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80051230 0004E190 7D 89 03 A6 */ mtctr r12 -/* 80051234 0004E194 4E 80 04 21 */ bctrl -/* 80051238 0004E198 48 00 00 24 */ b lbl_8005125C -lbl_8005123C: -/* 8005123C 0004E19C A0 05 00 00 */ lhz r0, 0(r5) -/* 80051240 0004E1A0 38 A1 00 08 */ addi r5, r1, 8 -/* 80051244 0004E1A4 38 80 00 04 */ li r4, 4 -/* 80051248 0004E1A8 B0 01 00 08 */ sth r0, 8(r1) -/* 8005124C 0004E1AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80051250 0004E1B0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80051254 0004E1B4 7D 89 03 A6 */ mtctr r12 -/* 80051258 0004E1B8 4E 80 04 21 */ bctrl -lbl_8005125C: -/* 8005125C 0004E1BC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80051260 0004E1C0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051264 0004E1C4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80051268 0004E1C8 7C 08 03 A6 */ mtlr r0 -/* 8005126C 0004E1CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80051270 0004E1D0 4E 80 00 20 */ blr - -.global __dt__7CEntityFv -__dt__7CEntityFv: -/* 80051274 0004E1D4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80051278 0004E1D8 7C 08 02 A6 */ mflr r0 -/* 8005127C 0004E1DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80051280 0004E1E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80051284 0004E1E4 7C 9F 23 78 */ mr r31, r4 -/* 80051288 0004E1E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005128C 0004E1EC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80051290 0004E1F0 41 82 00 78 */ beq lbl_80051308 -/* 80051294 0004E1F4 3C 60 80 3E */ lis r3, lbl_803D9E30@ha -/* 80051298 0004E1F8 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 8005129C 0004E1FC 38 03 9E 30 */ addi r0, r3, lbl_803D9E30@l -/* 800512A0 0004E200 90 1E 00 00 */ stw r0, 0(r30) -/* 800512A4 0004E204 41 82 00 44 */ beq lbl_800512E8 -/* 800512A8 0004E208 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 800512AC 0004E20C 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 800512B0 0004E210 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800512B4 0004E214 90 61 00 0C */ stw r3, 0xc(r1) -/* 800512B8 0004E218 7C 64 1B 78 */ mr r4, r3 -/* 800512BC 0004E21C 7C 03 02 14 */ add r0, r3, r0 -/* 800512C0 0004E220 90 61 00 08 */ stw r3, 8(r1) -/* 800512C4 0004E224 90 01 00 14 */ stw r0, 0x14(r1) -/* 800512C8 0004E228 90 01 00 10 */ stw r0, 0x10(r1) -/* 800512CC 0004E22C 48 00 00 08 */ b lbl_800512D4 -lbl_800512D0: -/* 800512D0 0004E230 38 84 00 0C */ addi r4, r4, 0xc -lbl_800512D4: -/* 800512D4 0004E234 7C 04 00 40 */ cmplw r4, r0 -/* 800512D8 0004E238 40 82 FF F8 */ bne lbl_800512D0 -/* 800512DC 0004E23C 28 03 00 00 */ cmplwi r3, 0 -/* 800512E0 0004E240 41 82 00 08 */ beq lbl_800512E8 -/* 800512E4 0004E244 48 2C 46 4D */ bl Free__7CMemoryFPCv -lbl_800512E8: -/* 800512E8 0004E248 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 800512EC 0004E24C 41 82 00 0C */ beq lbl_800512F8 -/* 800512F0 0004E250 38 7E 00 10 */ addi r3, r30, 0x10 -/* 800512F4 0004E254 48 2E C7 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800512F8: -/* 800512F8 0004E258 7F E0 07 35 */ extsh. r0, r31 -/* 800512FC 0004E25C 40 81 00 0C */ ble lbl_80051308 -/* 80051300 0004E260 7F C3 F3 78 */ mr r3, r30 -/* 80051304 0004E264 48 2C 46 2D */ bl Free__7CMemoryFPCv -lbl_80051308: -/* 80051308 0004E268 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005130C 0004E26C 7F C3 F3 78 */ mr r3, r30 -/* 80051310 0004E270 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051314 0004E274 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80051318 0004E278 7C 08 03 A6 */ mtlr r0 -/* 8005131C 0004E27C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80051320 0004E280 4E 80 00 20 */ blr - -.global "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 80051324 0004E284 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80051328 0004E288 7C 08 02 A6 */ mflr r0 -/* 8005132C 0004E28C 3D 00 80 3E */ lis r8, lbl_803D9E30@ha -/* 80051330 0004E290 90 01 00 24 */ stw r0, 0x24(r1) -/* 80051334 0004E294 38 08 9E 30 */ addi r0, r8, lbl_803D9E30@l -/* 80051338 0004E298 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005133C 0004E29C 7C DF 33 78 */ mr r31, r6 -/* 80051340 0004E2A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80051344 0004E2A4 7C 7E 1B 78 */ mr r30, r3 -/* 80051348 0004E2A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005134C 0004E2AC 7C BD 2B 78 */ mr r29, r5 -/* 80051350 0004E2B0 90 03 00 00 */ stw r0, 0(r3) -/* 80051354 0004E2B4 38 7E 00 10 */ addi r3, r30, 0x10 -/* 80051358 0004E2B8 80 05 00 00 */ lwz r0, 0(r5) -/* 8005135C 0004E2BC 90 1E 00 04 */ stw r0, 4(r30) -/* 80051360 0004E2C0 A0 04 00 00 */ lhz r0, 0(r4) -/* 80051364 0004E2C4 7C E4 3B 78 */ mr r4, r7 -/* 80051368 0004E2C8 B0 1E 00 08 */ sth r0, 8(r30) -/* 8005136C 0004E2CC 80 05 00 14 */ lwz r0, 0x14(r5) -/* 80051370 0004E2D0 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80051374 0004E2D4 48 2E CD ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80051378 0004E2D8 80 1D 00 08 */ lwz r0, 8(r29) -/* 8005137C 0004E2DC 90 1E 00 24 */ stw r0, 0x24(r30) -/* 80051380 0004E2E0 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80051384 0004E2E4 90 1E 00 28 */ stw r0, 0x28(r30) -/* 80051388 0004E2E8 80 1D 00 08 */ lwz r0, 8(r29) -/* 8005138C 0004E2EC 2C 00 00 00 */ cmpwi r0, 0 -/* 80051390 0004E2F0 40 82 00 1C */ bne lbl_800513AC -/* 80051394 0004E2F4 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80051398 0004E2F8 2C 00 00 00 */ cmpwi r0, 0 -/* 8005139C 0004E2FC 40 82 00 10 */ bne lbl_800513AC -/* 800513A0 0004E300 38 00 00 00 */ li r0, 0 -/* 800513A4 0004E304 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 800513A8 0004E308 48 00 00 78 */ b lbl_80051420 -lbl_800513AC: -/* 800513AC 0004E30C 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 800513B0 0004E310 1C 60 00 0C */ mulli r3, r0, 0xc -/* 800513B4 0004E314 2C 03 00 00 */ cmpwi r3, 0 -/* 800513B8 0004E318 40 82 00 10 */ bne lbl_800513C8 -/* 800513BC 0004E31C 38 00 00 00 */ li r0, 0 -/* 800513C0 0004E320 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 800513C4 0004E324 48 00 00 18 */ b lbl_800513DC -lbl_800513C8: -/* 800513C8 0004E328 3C 80 80 3D */ lis r4, lbl_803CCF18@ha -/* 800513CC 0004E32C 38 A0 00 00 */ li r5, 0 -/* 800513D0 0004E330 38 84 CF 18 */ addi r4, r4, lbl_803CCF18@l -/* 800513D4 0004E334 48 2C 44 45 */ bl __nwa__FUlPCcPCc -/* 800513D8 0004E338 90 7E 00 2C */ stw r3, 0x2c(r30) -lbl_800513DC: -/* 800513DC 0004E33C 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 800513E0 0004E340 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 800513E4 0004E344 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 800513E8 0004E348 7C 09 03 A6 */ mtctr r0 -/* 800513EC 0004E34C 2C 00 00 00 */ cmpwi r0, 0 -/* 800513F0 0004E350 40 81 00 30 */ ble lbl_80051420 -lbl_800513F4: -/* 800513F4 0004E354 28 03 00 00 */ cmplwi r3, 0 -/* 800513F8 0004E358 41 82 00 1C */ beq lbl_80051414 -/* 800513FC 0004E35C 80 04 00 00 */ lwz r0, 0(r4) -/* 80051400 0004E360 90 03 00 00 */ stw r0, 0(r3) -/* 80051404 0004E364 80 04 00 04 */ lwz r0, 4(r4) -/* 80051408 0004E368 90 03 00 04 */ stw r0, 4(r3) -/* 8005140C 0004E36C 80 04 00 08 */ lwz r0, 8(r4) -/* 80051410 0004E370 90 03 00 08 */ stw r0, 8(r3) -lbl_80051414: -/* 80051414 0004E374 38 63 00 0C */ addi r3, r3, 0xc -/* 80051418 0004E378 38 84 00 0C */ addi r4, r4, 0xc -/* 8005141C 0004E37C 42 00 FF D8 */ bdnz lbl_800513F4 -lbl_80051420: -/* 80051420 0004E380 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80051424 0004E384 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 -/* 80051428 0004E388 38 80 00 00 */ li r4, 0 -/* 8005142C 0004E38C 7F C3 F3 78 */ mr r3, r30 -/* 80051430 0004E390 98 1E 00 30 */ stb r0, 0x30(r30) -/* 80051434 0004E394 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80051438 0004E398 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8005143C 0004E39C 98 1E 00 30 */ stb r0, 0x30(r30) -/* 80051440 0004E3A0 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80051444 0004E3A4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80051448 0004E3A8 98 1E 00 30 */ stb r0, 0x30(r30) -/* 8005144C 0004E3AC 80 BE 00 04 */ lwz r5, 4(r30) -/* 80051450 0004E3B0 80 8D A3 90 */ lwz r4, lbl_805A8F50@sda21(r13) -/* 80051454 0004E3B4 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80051458 0004E3B8 7C 85 20 50 */ subf r4, r5, r4 -/* 8005145C 0004E3BC 7C 84 00 34 */ cntlzw r4, r4 -/* 80051460 0004E3C0 50 80 FE F6 */ rlwimi r0, r4, 0x1f, 0x1b, 0x1b -/* 80051464 0004E3C4 98 1E 00 30 */ stb r0, 0x30(r30) -/* 80051468 0004E3C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005146C 0004E3CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051470 0004E3D0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80051474 0004E3D4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80051478 0004E3D8 7C 08 03 A6 */ mtlr r0 -/* 8005147C 0004E3DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80051480 0004E3E0 4E 80 00 20 */ blr - -.global "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -"__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId": -/* 80051484 0004E3E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80051488 0004E3E8 7C 08 02 A6 */ mflr r0 -/* 8005148C 0004E3EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80051490 0004E3F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80051494 0004E3F4 7C DF 33 78 */ mr r31, r6 -/* 80051498 0004E3F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005149C 0004E3FC 7C 7E 1B 78 */ mr r30, r3 -/* 800514A0 0004E400 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800514A4 0004E404 7C BD 2B 78 */ mr r29, r5 -/* 800514A8 0004E408 80 04 00 00 */ lwz r0, 0(r4) -/* 800514AC 0004E40C 90 03 00 00 */ stw r0, 0(r3) -/* 800514B0 0004E410 80 05 00 04 */ lwz r0, 4(r5) -/* 800514B4 0004E414 90 03 00 08 */ stw r0, 8(r3) -/* 800514B8 0004E418 80 05 00 08 */ lwz r0, 8(r5) -/* 800514BC 0004E41C 90 03 00 0C */ stw r0, 0xc(r3) -/* 800514C0 0004E420 80 05 00 04 */ lwz r0, 4(r5) -/* 800514C4 0004E424 2C 00 00 00 */ cmpwi r0, 0 -/* 800514C8 0004E428 40 82 00 1C */ bne lbl_800514E4 -/* 800514CC 0004E42C 80 1D 00 08 */ lwz r0, 8(r29) -/* 800514D0 0004E430 2C 00 00 00 */ cmpwi r0, 0 -/* 800514D4 0004E434 40 82 00 10 */ bne lbl_800514E4 -/* 800514D8 0004E438 38 00 00 00 */ li r0, 0 -/* 800514DC 0004E43C 90 1E 00 10 */ stw r0, 0x10(r30) -/* 800514E0 0004E440 48 00 00 78 */ b lbl_80051558 -lbl_800514E4: -/* 800514E4 0004E444 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 800514E8 0004E448 1C 60 00 0C */ mulli r3, r0, 0xc -/* 800514EC 0004E44C 2C 03 00 00 */ cmpwi r3, 0 -/* 800514F0 0004E450 40 82 00 10 */ bne lbl_80051500 -/* 800514F4 0004E454 38 00 00 00 */ li r0, 0 -/* 800514F8 0004E458 90 1E 00 10 */ stw r0, 0x10(r30) -/* 800514FC 0004E45C 48 00 00 18 */ b lbl_80051514 -lbl_80051500: -/* 80051500 0004E460 3C 80 80 3D */ lis r4, lbl_803CCF18@ha -/* 80051504 0004E464 38 A0 00 00 */ li r5, 0 -/* 80051508 0004E468 38 84 CF 18 */ addi r4, r4, lbl_803CCF18@l -/* 8005150C 0004E46C 48 2C 43 0D */ bl __nwa__FUlPCcPCc -/* 80051510 0004E470 90 7E 00 10 */ stw r3, 0x10(r30) -lbl_80051514: -/* 80051514 0004E474 80 1E 00 08 */ lwz r0, 8(r30) -/* 80051518 0004E478 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 8005151C 0004E47C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80051520 0004E480 7C 09 03 A6 */ mtctr r0 -/* 80051524 0004E484 2C 00 00 00 */ cmpwi r0, 0 -/* 80051528 0004E488 40 81 00 30 */ ble lbl_80051558 -lbl_8005152C: -/* 8005152C 0004E48C 28 03 00 00 */ cmplwi r3, 0 -/* 80051530 0004E490 41 82 00 1C */ beq lbl_8005154C -/* 80051534 0004E494 80 04 00 00 */ lwz r0, 0(r4) -/* 80051538 0004E498 90 03 00 00 */ stw r0, 0(r3) -/* 8005153C 0004E49C 80 04 00 04 */ lwz r0, 4(r4) -/* 80051540 0004E4A0 90 03 00 04 */ stw r0, 4(r3) -/* 80051544 0004E4A4 80 04 00 08 */ lwz r0, 8(r4) -/* 80051548 0004E4A8 90 03 00 08 */ stw r0, 8(r3) -lbl_8005154C: -/* 8005154C 0004E4AC 38 63 00 0C */ addi r3, r3, 0xc -/* 80051550 0004E4B0 38 84 00 0C */ addi r4, r4, 0xc -/* 80051554 0004E4B4 42 00 FF D8 */ bdnz lbl_8005152C -lbl_80051558: -/* 80051558 0004E4B8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8005155C 0004E4BC 7F C3 F3 78 */ mr r3, r30 -/* 80051560 0004E4C0 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80051564 0004E4C4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051568 0004E4C8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005156C 0004E4CC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80051570 0004E4D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80051574 0004E4D4 7C 08 03 A6 */ mtlr r0 -/* 80051578 0004E4D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005157C 0004E4DC 4E 80 00 20 */ blr - -.global __sinit_CEntity_cpp -__sinit_CEntity_cpp: -/* 80051580 0004E4E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80051584 0004E4E4 7C 08 02 A6 */ mflr r0 -/* 80051588 0004E4E8 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 8005158C 0004E4EC 3C 80 80 05 */ lis r4, "__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv"@ha -/* 80051590 0004E4F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80051594 0004E4F4 3C A0 80 47 */ lis r5, lbl_8046C3B8@ha -/* 80051598 0004E4F8 38 63 D4 10 */ addi r3, r3, lbl_8056D410@l -/* 8005159C 0004E4FC 38 00 00 00 */ li r0, 0 -/* 800515A0 0004E500 90 03 00 04 */ stw r0, 4(r3) -/* 800515A4 0004E504 38 84 86 F8 */ addi r4, r4, "__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv"@l -/* 800515A8 0004E508 38 A5 C3 B8 */ addi r5, r5, lbl_8046C3B8@l -/* 800515AC 0004E50C 90 03 00 08 */ stw r0, 8(r3) -/* 800515B0 0004E510 90 03 00 0C */ stw r0, 0xc(r3) -/* 800515B4 0004E514 48 33 80 D9 */ bl __register_global_object -/* 800515B8 0004E518 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800515BC 0004E51C 7C 08 03 A6 */ mtlr r0 -/* 800515C0 0004E520 38 21 00 10 */ addi r1, r1, 0x10 -/* 800515C4 0004E524 4E 80 00 20 */ blr - -.global __dt__17CArchMsgParmInt32Fv -__dt__17CArchMsgParmInt32Fv: -/* 800515C8 0004E528 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800515CC 0004E52C 7C 08 02 A6 */ mflr r0 -/* 800515D0 0004E530 90 01 00 14 */ stw r0, 0x14(r1) -/* 800515D4 0004E534 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800515D8 0004E538 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800515DC 0004E53C 41 82 00 30 */ beq lbl_8005160C -/* 800515E0 0004E540 3C 60 80 3E */ lis r3, lbl_803D9E50@ha -/* 800515E4 0004E544 38 03 9E 50 */ addi r0, r3, lbl_803D9E50@l -/* 800515E8 0004E548 90 1F 00 00 */ stw r0, 0(r31) -/* 800515EC 0004E54C 41 82 00 10 */ beq lbl_800515FC -/* 800515F0 0004E550 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha -/* 800515F4 0004E554 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l -/* 800515F8 0004E558 90 1F 00 00 */ stw r0, 0(r31) -lbl_800515FC: -/* 800515FC 0004E55C 7C 80 07 35 */ extsh. r0, r4 -/* 80051600 0004E560 40 81 00 0C */ ble lbl_8005160C -/* 80051604 0004E564 7F E3 FB 78 */ mr r3, r31 -/* 80051608 0004E568 48 2C 43 29 */ bl Free__7CMemoryFPCv -lbl_8005160C: -/* 8005160C 0004E56C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80051610 0004E570 7F E3 FB 78 */ mr r3, r31 -/* 80051614 0004E574 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80051618 0004E578 7C 08 03 A6 */ mtlr r0 -/* 8005161C 0004E57C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80051620 0004E580 4E 80 00 20 */ blr - -.global __ct__17CArchMsgParmInt32Fi -__ct__17CArchMsgParmInt32Fi: -/* 80051624 0004E584 3C C0 80 3E */ lis r6, lbl_803D8E9C@ha -/* 80051628 0004E588 3C A0 80 3E */ lis r5, lbl_803D9E50@ha -/* 8005162C 0004E58C 38 C6 8E 9C */ addi r6, r6, lbl_803D8E9C@l -/* 80051630 0004E590 90 C3 00 00 */ stw r6, 0(r3) -/* 80051634 0004E594 38 05 9E 50 */ addi r0, r5, lbl_803D9E50@l -/* 80051638 0004E598 90 03 00 00 */ stw r0, 0(r3) -/* 8005163C 0004E59C 90 83 00 04 */ stw r4, 4(r3) -/* 80051640 0004E5A0 4E 80 00 20 */ blr - -.global __dt__29CArchMsgParmInt32Int32VoidPtrFv -__dt__29CArchMsgParmInt32Int32VoidPtrFv: -/* 80051644 0004E5A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80051648 0004E5A8 7C 08 02 A6 */ mflr r0 -/* 8005164C 0004E5AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80051650 0004E5B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80051654 0004E5B4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80051658 0004E5B8 41 82 00 30 */ beq lbl_80051688 -/* 8005165C 0004E5BC 3C 60 80 3E */ lis r3, lbl_803D9E60@ha -/* 80051660 0004E5C0 38 03 9E 60 */ addi r0, r3, lbl_803D9E60@l -/* 80051664 0004E5C4 90 1F 00 00 */ stw r0, 0(r31) -/* 80051668 0004E5C8 41 82 00 10 */ beq lbl_80051678 -/* 8005166C 0004E5CC 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha -/* 80051670 0004E5D0 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l -/* 80051674 0004E5D4 90 1F 00 00 */ stw r0, 0(r31) -lbl_80051678: -/* 80051678 0004E5D8 7C 80 07 35 */ extsh. r0, r4 -/* 8005167C 0004E5DC 40 81 00 0C */ ble lbl_80051688 -/* 80051680 0004E5E0 7F E3 FB 78 */ mr r3, r31 -/* 80051684 0004E5E4 48 2C 42 AD */ bl Free__7CMemoryFPCv -lbl_80051688: -/* 80051688 0004E5E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005168C 0004E5EC 7F E3 FB 78 */ mr r3, r31 -/* 80051690 0004E5F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80051694 0004E5F4 7C 08 03 A6 */ mtlr r0 -/* 80051698 0004E5F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005169C 0004E5FC 4E 80 00 20 */ blr - -.global __ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv -__ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv: -/* 800516A0 0004E600 3D 00 80 3E */ lis r8, lbl_803D8E9C@ha -/* 800516A4 0004E604 3C E0 80 3E */ lis r7, lbl_803D9E60@ha -/* 800516A8 0004E608 39 08 8E 9C */ addi r8, r8, lbl_803D8E9C@l -/* 800516AC 0004E60C 91 03 00 00 */ stw r8, 0(r3) -/* 800516B0 0004E610 38 07 9E 60 */ addi r0, r7, lbl_803D9E60@l -/* 800516B4 0004E614 90 03 00 00 */ stw r0, 0(r3) -/* 800516B8 0004E618 90 83 00 04 */ stw r4, 4(r3) -/* 800516BC 0004E61C 90 A3 00 08 */ stw r5, 8(r3) -/* 800516C0 0004E620 90 C3 00 0C */ stw r6, 0xc(r3) -/* 800516C4 0004E624 4E 80 00 20 */ blr - -.global __dt__16CArchMsgParmNullFv -__dt__16CArchMsgParmNullFv: -/* 800516C8 0004E628 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800516CC 0004E62C 7C 08 02 A6 */ mflr r0 -/* 800516D0 0004E630 90 01 00 14 */ stw r0, 0x14(r1) -/* 800516D4 0004E634 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800516D8 0004E638 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800516DC 0004E63C 41 82 00 30 */ beq lbl_8005170C -/* 800516E0 0004E640 3C 60 80 3E */ lis r3, lbl_803D9E70@ha -/* 800516E4 0004E644 38 03 9E 70 */ addi r0, r3, lbl_803D9E70@l -/* 800516E8 0004E648 90 1F 00 00 */ stw r0, 0(r31) -/* 800516EC 0004E64C 41 82 00 10 */ beq lbl_800516FC -/* 800516F0 0004E650 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha -/* 800516F4 0004E654 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l -/* 800516F8 0004E658 90 1F 00 00 */ stw r0, 0(r31) -lbl_800516FC: -/* 800516FC 0004E65C 7C 80 07 35 */ extsh. r0, r4 -/* 80051700 0004E660 40 81 00 0C */ ble lbl_8005170C -/* 80051704 0004E664 7F E3 FB 78 */ mr r3, r31 -/* 80051708 0004E668 48 2C 42 29 */ bl Free__7CMemoryFPCv -lbl_8005170C: -/* 8005170C 0004E66C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80051710 0004E670 7F E3 FB 78 */ mr r3, r31 -/* 80051714 0004E674 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80051718 0004E678 7C 08 03 A6 */ mtlr r0 -/* 8005171C 0004E67C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80051720 0004E680 4E 80 00 20 */ blr - -.global __ct__16CArchMsgParmNullFv -__ct__16CArchMsgParmNullFv: -/* 80051724 0004E684 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha -/* 80051728 0004E688 3C 80 80 3E */ lis r4, lbl_803D9E70@ha -/* 8005172C 0004E68C 38 A5 8E 9C */ addi r5, r5, lbl_803D8E9C@l -/* 80051730 0004E690 90 A3 00 00 */ stw r5, 0(r3) -/* 80051734 0004E694 38 04 9E 70 */ addi r0, r4, lbl_803D9E70@l -/* 80051738 0004E698 90 03 00 00 */ stw r0, 0(r3) -/* 8005173C 0004E69C 4E 80 00 20 */ blr - -.global __dt__18CArchMsgParmReal32Fv -__dt__18CArchMsgParmReal32Fv: -/* 80051740 0004E6A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80051744 0004E6A4 7C 08 02 A6 */ mflr r0 -/* 80051748 0004E6A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005174C 0004E6AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80051750 0004E6B0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80051754 0004E6B4 41 82 00 30 */ beq lbl_80051784 -/* 80051758 0004E6B8 3C 60 80 3E */ lis r3, lbl_803D9E80@ha -/* 8005175C 0004E6BC 38 03 9E 80 */ addi r0, r3, lbl_803D9E80@l -/* 80051760 0004E6C0 90 1F 00 00 */ stw r0, 0(r31) -/* 80051764 0004E6C4 41 82 00 10 */ beq lbl_80051774 -/* 80051768 0004E6C8 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha -/* 8005176C 0004E6CC 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l -/* 80051770 0004E6D0 90 1F 00 00 */ stw r0, 0(r31) -lbl_80051774: -/* 80051774 0004E6D4 7C 80 07 35 */ extsh. r0, r4 -/* 80051778 0004E6D8 40 81 00 0C */ ble lbl_80051784 -/* 8005177C 0004E6DC 7F E3 FB 78 */ mr r3, r31 -/* 80051780 0004E6E0 48 2C 41 B1 */ bl Free__7CMemoryFPCv -lbl_80051784: -/* 80051784 0004E6E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80051788 0004E6E8 7F E3 FB 78 */ mr r3, r31 -/* 8005178C 0004E6EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80051790 0004E6F0 7C 08 03 A6 */ mtlr r0 -/* 80051794 0004E6F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80051798 0004E6F8 4E 80 00 20 */ blr - -.global __ct__18CArchMsgParmReal32Ff -__ct__18CArchMsgParmReal32Ff: -/* 8005179C 0004E6FC 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha -/* 800517A0 0004E700 3C 80 80 3E */ lis r4, lbl_803D9E80@ha -/* 800517A4 0004E704 38 A5 8E 9C */ addi r5, r5, lbl_803D8E9C@l -/* 800517A8 0004E708 90 A3 00 00 */ stw r5, 0(r3) -/* 800517AC 0004E70C 38 04 9E 80 */ addi r0, r4, lbl_803D9E80@l -/* 800517B0 0004E710 90 03 00 00 */ stw r0, 0(r3) -/* 800517B4 0004E714 D0 23 00 04 */ stfs f1, 4(r3) -/* 800517B8 0004E718 4E 80 00 20 */ blr - -.global CreateFrameEnd__7MakeMsgF14EArchMsgTargetRCi -CreateFrameEnd__7MakeMsgF14EArchMsgTargetRCi: -/* 800517BC 0004E71C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800517C0 0004E720 7C 08 02 A6 */ mflr r0 -/* 800517C4 0004E724 3C C0 80 3D */ lis r6, lbl_803CCF20@ha -/* 800517C8 0004E728 90 01 00 24 */ stw r0, 0x24(r1) -/* 800517CC 0004E72C 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l -/* 800517D0 0004E730 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800517D4 0004E734 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800517D8 0004E738 7C BE 2B 78 */ mr r30, r5 -/* 800517DC 0004E73C 38 A0 00 00 */ li r5, 0 -/* 800517E0 0004E740 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800517E4 0004E744 7C 9D 23 78 */ mr r29, r4 -/* 800517E8 0004E748 7C 04 03 78 */ mr r4, r0 -/* 800517EC 0004E74C 93 81 00 10 */ stw r28, 0x10(r1) -/* 800517F0 0004E750 7C 7C 1B 78 */ mr r28, r3 -/* 800517F4 0004E754 38 60 00 08 */ li r3, 8 -/* 800517F8 0004E758 48 2C 40 75 */ bl __nw__FUlPCcPCc -/* 800517FC 0004E75C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80051800 0004E760 41 82 00 10 */ beq lbl_80051810 -/* 80051804 0004E764 80 9E 00 00 */ lwz r4, 0(r30) -/* 80051808 0004E768 4B FF FE 1D */ bl __ct__17CArchMsgParmInt32Fi -/* 8005180C 0004E76C 7C 7F 1B 78 */ mr r31, r3 -lbl_80051810: -/* 80051810 0004E770 3C 80 80 3D */ lis r4, lbl_803CCF20@ha -/* 80051814 0004E774 38 60 00 08 */ li r3, 8 -/* 80051818 0004E778 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l -/* 8005181C 0004E77C 38 A0 00 00 */ li r5, 0 -/* 80051820 0004E780 48 2C 40 4D */ bl __nw__FUlPCcPCc -/* 80051824 0004E784 28 03 00 00 */ cmplwi r3, 0 -/* 80051828 0004E788 41 82 00 10 */ beq lbl_80051838 -/* 8005182C 0004E78C 93 E3 00 00 */ stw r31, 0(r3) -/* 80051830 0004E790 38 00 00 01 */ li r0, 1 -/* 80051834 0004E794 90 03 00 04 */ stw r0, 4(r3) -lbl_80051838: -/* 80051838 0004E798 90 61 00 08 */ stw r3, 8(r1) -/* 8005183C 0004E79C 38 00 00 0B */ li r0, 0xb -/* 80051840 0004E7A0 38 61 00 08 */ addi r3, r1, 8 -/* 80051844 0004E7A4 93 BC 00 00 */ stw r29, 0(r28) -/* 80051848 0004E7A8 90 1C 00 04 */ stw r0, 4(r28) -/* 8005184C 0004E7AC 80 01 00 08 */ lwz r0, 8(r1) -/* 80051850 0004E7B0 90 1C 00 08 */ stw r0, 8(r28) -/* 80051854 0004E7B4 80 BC 00 08 */ lwz r5, 8(r28) -/* 80051858 0004E7B8 80 85 00 04 */ lwz r4, 4(r5) -/* 8005185C 0004E7BC 38 04 00 01 */ addi r0, r4, 1 -/* 80051860 0004E7C0 90 05 00 04 */ stw r0, 4(r5) -/* 80051864 0004E7C4 4B FB 6E A9 */ bl sub_8000870c -/* 80051868 0004E7C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005186C 0004E7CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051870 0004E7D0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80051874 0004E7D4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80051878 0004E7D8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8005187C 0004E7DC 7C 08 03 A6 */ mtlr r0 -/* 80051880 0004E7E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80051884 0004E7E4 4E 80 00 20 */ blr - -.global GetParm__20CArchitectureMessageCFv -GetParm__20CArchitectureMessageCFv: -/* 80051888 0004E7E8 80 63 00 08 */ lwz r3, 8(r3) -/* 8005188C 0004E7EC 80 63 00 00 */ lwz r3, 0(r3) -/* 80051890 0004E7F0 4E 80 00 20 */ blr - -.global CreateFrameBegin__7MakeMsgF14EArchMsgTargetRCi -CreateFrameBegin__7MakeMsgF14EArchMsgTargetRCi: -/* 80051894 0004E7F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80051898 0004E7F8 7C 08 02 A6 */ mflr r0 -/* 8005189C 0004E7FC 3C C0 80 3D */ lis r6, lbl_803CCF20@ha -/* 800518A0 0004E800 90 01 00 24 */ stw r0, 0x24(r1) -/* 800518A4 0004E804 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l -/* 800518A8 0004E808 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800518AC 0004E80C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800518B0 0004E810 7C BE 2B 78 */ mr r30, r5 -/* 800518B4 0004E814 38 A0 00 00 */ li r5, 0 -/* 800518B8 0004E818 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800518BC 0004E81C 7C 9D 23 78 */ mr r29, r4 -/* 800518C0 0004E820 7C 04 03 78 */ mr r4, r0 -/* 800518C4 0004E824 93 81 00 10 */ stw r28, 0x10(r1) -/* 800518C8 0004E828 7C 7C 1B 78 */ mr r28, r3 -/* 800518CC 0004E82C 38 60 00 08 */ li r3, 8 -/* 800518D0 0004E830 48 2C 3F 9D */ bl __nw__FUlPCcPCc -/* 800518D4 0004E834 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800518D8 0004E838 41 82 00 10 */ beq lbl_800518E8 -/* 800518DC 0004E83C 80 9E 00 00 */ lwz r4, 0(r30) -/* 800518E0 0004E840 4B FF FD 45 */ bl __ct__17CArchMsgParmInt32Fi -/* 800518E4 0004E844 7C 7F 1B 78 */ mr r31, r3 -lbl_800518E8: -/* 800518E8 0004E848 3C 80 80 3D */ lis r4, lbl_803CCF20@ha -/* 800518EC 0004E84C 38 60 00 08 */ li r3, 8 -/* 800518F0 0004E850 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l -/* 800518F4 0004E854 38 A0 00 00 */ li r5, 0 -/* 800518F8 0004E858 48 2C 3F 75 */ bl __nw__FUlPCcPCc -/* 800518FC 0004E85C 28 03 00 00 */ cmplwi r3, 0 -/* 80051900 0004E860 41 82 00 10 */ beq lbl_80051910 -/* 80051904 0004E864 93 E3 00 00 */ stw r31, 0(r3) -/* 80051908 0004E868 38 00 00 01 */ li r0, 1 -/* 8005190C 0004E86C 90 03 00 04 */ stw r0, 4(r3) -lbl_80051910: -/* 80051910 0004E870 90 61 00 08 */ stw r3, 8(r1) -/* 80051914 0004E874 38 00 00 0A */ li r0, 0xa -/* 80051918 0004E878 38 61 00 08 */ addi r3, r1, 8 -/* 8005191C 0004E87C 93 BC 00 00 */ stw r29, 0(r28) -/* 80051920 0004E880 90 1C 00 04 */ stw r0, 4(r28) -/* 80051924 0004E884 80 01 00 08 */ lwz r0, 8(r1) -/* 80051928 0004E888 90 1C 00 08 */ stw r0, 8(r28) -/* 8005192C 0004E88C 80 BC 00 08 */ lwz r5, 8(r28) -/* 80051930 0004E890 80 85 00 04 */ lwz r4, 4(r5) -/* 80051934 0004E894 38 04 00 01 */ addi r0, r4, 1 -/* 80051938 0004E898 90 05 00 04 */ stw r0, 4(r5) -/* 8005193C 0004E89C 4B FB 6D D1 */ bl sub_8000870c -/* 80051940 0004E8A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80051944 0004E8A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051948 0004E8A8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005194C 0004E8AC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80051950 0004E8B0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80051954 0004E8B4 7C 08 03 A6 */ mtlr r0 -/* 80051958 0004E8B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005195C 0004E8BC 4E 80 00 20 */ blr - -.global CreateQuitGameplay__7MakeMsgF14EArchMsgTarget -CreateQuitGameplay__7MakeMsgF14EArchMsgTarget: -/* 80051960 0004E8C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80051964 0004E8C4 7C 08 02 A6 */ mflr r0 -/* 80051968 0004E8C8 3C A0 80 3D */ lis r5, lbl_803CCF20@ha -/* 8005196C 0004E8CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80051970 0004E8D0 38 05 CF 20 */ addi r0, r5, lbl_803CCF20@l -/* 80051974 0004E8D4 38 A0 00 00 */ li r5, 0 -/* 80051978 0004E8D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005197C 0004E8DC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80051980 0004E8E0 7C 9E 23 78 */ mr r30, r4 -/* 80051984 0004E8E4 7C 04 03 78 */ mr r4, r0 -/* 80051988 0004E8E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005198C 0004E8EC 7C 7D 1B 78 */ mr r29, r3 -/* 80051990 0004E8F0 38 60 00 04 */ li r3, 4 -/* 80051994 0004E8F4 48 2C 3E D9 */ bl __nw__FUlPCcPCc -/* 80051998 0004E8F8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8005199C 0004E8FC 41 82 00 0C */ beq lbl_800519A8 -/* 800519A0 0004E900 4B FF FD 85 */ bl __ct__16CArchMsgParmNullFv -/* 800519A4 0004E904 7C 7F 1B 78 */ mr r31, r3 -lbl_800519A8: -/* 800519A8 0004E908 3C 80 80 3D */ lis r4, lbl_803CCF20@ha -/* 800519AC 0004E90C 38 60 00 08 */ li r3, 8 -/* 800519B0 0004E910 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l -/* 800519B4 0004E914 38 A0 00 00 */ li r5, 0 -/* 800519B8 0004E918 48 2C 3E B5 */ bl __nw__FUlPCcPCc -/* 800519BC 0004E91C 28 03 00 00 */ cmplwi r3, 0 -/* 800519C0 0004E920 41 82 00 10 */ beq lbl_800519D0 -/* 800519C4 0004E924 93 E3 00 00 */ stw r31, 0(r3) -/* 800519C8 0004E928 38 00 00 01 */ li r0, 1 -/* 800519CC 0004E92C 90 03 00 04 */ stw r0, 4(r3) -lbl_800519D0: -/* 800519D0 0004E930 90 61 00 08 */ stw r3, 8(r1) -/* 800519D4 0004E934 38 00 00 08 */ li r0, 8 -/* 800519D8 0004E938 38 61 00 08 */ addi r3, r1, 8 -/* 800519DC 0004E93C 93 DD 00 00 */ stw r30, 0(r29) -/* 800519E0 0004E940 90 1D 00 04 */ stw r0, 4(r29) -/* 800519E4 0004E944 80 01 00 08 */ lwz r0, 8(r1) -/* 800519E8 0004E948 90 1D 00 08 */ stw r0, 8(r29) -/* 800519EC 0004E94C 80 BD 00 08 */ lwz r5, 8(r29) -/* 800519F0 0004E950 80 85 00 04 */ lwz r4, 4(r5) -/* 800519F4 0004E954 38 04 00 01 */ addi r0, r4, 1 -/* 800519F8 0004E958 90 05 00 04 */ stw r0, 4(r5) -/* 800519FC 0004E95C 4B FB 6D 11 */ bl sub_8000870c -/* 80051A00 0004E960 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80051A04 0004E964 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051A08 0004E968 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80051A0C 0004E96C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80051A10 0004E970 7C 08 03 A6 */ mtlr r0 -/* 80051A14 0004E974 38 21 00 20 */ addi r1, r1, 0x20 -/* 80051A18 0004E978 4E 80 00 20 */ blr - -.global CreateControllerStatus__7MakeMsgF14EArchMsgTargetRCsRCb -CreateControllerStatus__7MakeMsgF14EArchMsgTargetRCsRCb: -/* 80051A1C 0004E97C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80051A20 0004E980 7C 08 02 A6 */ mflr r0 -/* 80051A24 0004E984 3C E0 80 3D */ lis r7, lbl_803CCF20@ha -/* 80051A28 0004E988 90 01 00 34 */ stw r0, 0x34(r1) -/* 80051A2C 0004E98C 38 07 CF 20 */ addi r0, r7, lbl_803CCF20@l -/* 80051A30 0004E990 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80051A34 0004E994 7C 7B 1B 78 */ mr r27, r3 -/* 80051A38 0004E998 7C 9C 23 78 */ mr r28, r4 -/* 80051A3C 0004E99C 7C BD 2B 78 */ mr r29, r5 -/* 80051A40 0004E9A0 7C DE 33 78 */ mr r30, r6 -/* 80051A44 0004E9A4 7C 04 03 78 */ mr r4, r0 -/* 80051A48 0004E9A8 38 60 00 08 */ li r3, 8 -/* 80051A4C 0004E9AC 38 A0 00 00 */ li r5, 0 -/* 80051A50 0004E9B0 48 2C 3E 1D */ bl __nw__FUlPCcPCc -/* 80051A54 0004E9B4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80051A58 0004E9B8 41 82 00 14 */ beq lbl_80051A6C -/* 80051A5C 0004E9BC A8 9D 00 00 */ lha r4, 0(r29) -/* 80051A60 0004E9C0 88 BE 00 00 */ lbz r5, 0(r30) -/* 80051A64 0004E9C4 48 00 86 89 */ bl __ct__28CArchMsgParmControllerStatusFsb -/* 80051A68 0004E9C8 7C 7F 1B 78 */ mr r31, r3 -lbl_80051A6C: -/* 80051A6C 0004E9CC 3C 80 80 3D */ lis r4, lbl_803CCF20@ha -/* 80051A70 0004E9D0 38 60 00 08 */ li r3, 8 -/* 80051A74 0004E9D4 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l -/* 80051A78 0004E9D8 38 A0 00 00 */ li r5, 0 -/* 80051A7C 0004E9DC 48 2C 3D F1 */ bl __nw__FUlPCcPCc -/* 80051A80 0004E9E0 28 03 00 00 */ cmplwi r3, 0 -/* 80051A84 0004E9E4 41 82 00 10 */ beq lbl_80051A94 -/* 80051A88 0004E9E8 93 E3 00 00 */ stw r31, 0(r3) -/* 80051A8C 0004E9EC 38 00 00 01 */ li r0, 1 -/* 80051A90 0004E9F0 90 03 00 04 */ stw r0, 4(r3) -lbl_80051A94: -/* 80051A94 0004E9F4 90 61 00 08 */ stw r3, 8(r1) -/* 80051A98 0004E9F8 38 00 00 07 */ li r0, 7 -/* 80051A9C 0004E9FC 38 61 00 08 */ addi r3, r1, 8 -/* 80051AA0 0004EA00 93 9B 00 00 */ stw r28, 0(r27) -/* 80051AA4 0004EA04 90 1B 00 04 */ stw r0, 4(r27) -/* 80051AA8 0004EA08 80 01 00 08 */ lwz r0, 8(r1) -/* 80051AAC 0004EA0C 90 1B 00 08 */ stw r0, 8(r27) -/* 80051AB0 0004EA10 80 BB 00 08 */ lwz r5, 8(r27) -/* 80051AB4 0004EA14 80 85 00 04 */ lwz r4, 4(r5) -/* 80051AB8 0004EA18 38 04 00 01 */ addi r0, r4, 1 -/* 80051ABC 0004EA1C 90 05 00 04 */ stw r0, 4(r5) -/* 80051AC0 0004EA20 4B FB 6C 4D */ bl sub_8000870c -/* 80051AC4 0004EA24 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80051AC8 0004EA28 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80051ACC 0004EA2C 7C 08 03 A6 */ mtlr r0 -/* 80051AD0 0004EA30 38 21 00 30 */ addi r1, r1, 0x30 -/* 80051AD4 0004EA34 4E 80 00 20 */ blr - -.global GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage -GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage: -/* 80051AD8 0004EA38 80 63 00 08 */ lwz r3, 8(r3) -/* 80051ADC 0004EA3C 80 63 00 00 */ lwz r3, 0(r3) -/* 80051AE0 0004EA40 4E 80 00 20 */ blr - -.global GetParmUserInput__7MakeMsgFRC20CArchitectureMessage -GetParmUserInput__7MakeMsgFRC20CArchitectureMessage: -/* 80051AE4 0004EA44 80 63 00 08 */ lwz r3, 8(r3) -/* 80051AE8 0004EA48 80 63 00 00 */ lwz r3, 0(r3) -/* 80051AEC 0004EA4C 4E 80 00 20 */ blr - -.global CreateUserInput__7MakeMsgF14EArchMsgTargetRC11CFinalInput -CreateUserInput__7MakeMsgF14EArchMsgTargetRC11CFinalInput: -/* 80051AF0 0004EA50 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80051AF4 0004EA54 7C 08 02 A6 */ mflr r0 -/* 80051AF8 0004EA58 3C C0 80 3D */ lis r6, lbl_803CCF20@ha -/* 80051AFC 0004EA5C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80051B00 0004EA60 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l -/* 80051B04 0004EA64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80051B08 0004EA68 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80051B0C 0004EA6C 7C BE 2B 78 */ mr r30, r5 -/* 80051B10 0004EA70 38 A0 00 00 */ li r5, 0 -/* 80051B14 0004EA74 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80051B18 0004EA78 7C 9D 23 78 */ mr r29, r4 -/* 80051B1C 0004EA7C 7C 04 03 78 */ mr r4, r0 -/* 80051B20 0004EA80 93 81 00 10 */ stw r28, 0x10(r1) -/* 80051B24 0004EA84 7C 7C 1B 78 */ mr r28, r3 -/* 80051B28 0004EA88 38 60 00 34 */ li r3, 0x34 -/* 80051B2C 0004EA8C 48 2C 3D 41 */ bl __nw__FUlPCcPCc -/* 80051B30 0004EA90 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80051B34 0004EA94 41 82 00 10 */ beq lbl_80051B44 -/* 80051B38 0004EA98 7F C4 F3 78 */ mr r4, r30 -/* 80051B3C 0004EA9C 4B FC 9F 0D */ bl __ct__21CArchMsgParmUserInputFRC11CFinalInput -/* 80051B40 0004EAA0 7C 7F 1B 78 */ mr r31, r3 -lbl_80051B44: -/* 80051B44 0004EAA4 3C 80 80 3D */ lis r4, lbl_803CCF20@ha -/* 80051B48 0004EAA8 38 60 00 08 */ li r3, 8 -/* 80051B4C 0004EAAC 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l -/* 80051B50 0004EAB0 38 A0 00 00 */ li r5, 0 -/* 80051B54 0004EAB4 48 2C 3D 19 */ bl __nw__FUlPCcPCc -/* 80051B58 0004EAB8 28 03 00 00 */ cmplwi r3, 0 -/* 80051B5C 0004EABC 41 82 00 10 */ beq lbl_80051B6C -/* 80051B60 0004EAC0 93 E3 00 00 */ stw r31, 0(r3) -/* 80051B64 0004EAC4 38 00 00 01 */ li r0, 1 -/* 80051B68 0004EAC8 90 03 00 04 */ stw r0, 4(r3) -lbl_80051B6C: -/* 80051B6C 0004EACC 90 61 00 08 */ stw r3, 8(r1) -/* 80051B70 0004EAD0 38 00 00 05 */ li r0, 5 -/* 80051B74 0004EAD4 38 61 00 08 */ addi r3, r1, 8 -/* 80051B78 0004EAD8 93 BC 00 00 */ stw r29, 0(r28) -/* 80051B7C 0004EADC 90 1C 00 04 */ stw r0, 4(r28) -/* 80051B80 0004EAE0 80 01 00 08 */ lwz r0, 8(r1) -/* 80051B84 0004EAE4 90 1C 00 08 */ stw r0, 8(r28) -/* 80051B88 0004EAE8 80 BC 00 08 */ lwz r5, 8(r28) -/* 80051B8C 0004EAEC 80 85 00 04 */ lwz r4, 4(r5) -/* 80051B90 0004EAF0 38 04 00 01 */ addi r0, r4, 1 -/* 80051B94 0004EAF4 90 05 00 04 */ stw r0, 4(r5) -/* 80051B98 0004EAF8 4B FB 6B 75 */ bl sub_8000870c -/* 80051B9C 0004EAFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80051BA0 0004EB00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051BA4 0004EB04 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80051BA8 0004EB08 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80051BAC 0004EB0C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80051BB0 0004EB10 7C 08 03 A6 */ mtlr r0 -/* 80051BB4 0004EB14 38 21 00 20 */ addi r1, r1, 0x20 -/* 80051BB8 0004EB18 4E 80 00 20 */ blr - -.global GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage -GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage: -/* 80051BBC 0004EB1C 80 63 00 08 */ lwz r3, 8(r3) -/* 80051BC0 0004EB20 80 63 00 00 */ lwz r3, 0(r3) -/* 80051BC4 0004EB24 4E 80 00 20 */ blr - -.global CreateTimerTick__7MakeMsgF14EArchMsgTargetRCf -CreateTimerTick__7MakeMsgF14EArchMsgTargetRCf: -/* 80051BC8 0004EB28 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80051BCC 0004EB2C 7C 08 02 A6 */ mflr r0 -/* 80051BD0 0004EB30 3C C0 80 3D */ lis r6, lbl_803CCF20@ha -/* 80051BD4 0004EB34 90 01 00 24 */ stw r0, 0x24(r1) -/* 80051BD8 0004EB38 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l -/* 80051BDC 0004EB3C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80051BE0 0004EB40 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80051BE4 0004EB44 7C BE 2B 78 */ mr r30, r5 -/* 80051BE8 0004EB48 38 A0 00 00 */ li r5, 0 -/* 80051BEC 0004EB4C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80051BF0 0004EB50 7C 9D 23 78 */ mr r29, r4 -/* 80051BF4 0004EB54 7C 04 03 78 */ mr r4, r0 -/* 80051BF8 0004EB58 93 81 00 10 */ stw r28, 0x10(r1) -/* 80051BFC 0004EB5C 7C 7C 1B 78 */ mr r28, r3 -/* 80051C00 0004EB60 38 60 00 08 */ li r3, 8 -/* 80051C04 0004EB64 48 2C 3C 69 */ bl __nw__FUlPCcPCc -/* 80051C08 0004EB68 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80051C0C 0004EB6C 41 82 00 10 */ beq lbl_80051C1C -/* 80051C10 0004EB70 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80051C14 0004EB74 4B FF FB 89 */ bl __ct__18CArchMsgParmReal32Ff -/* 80051C18 0004EB78 7C 7F 1B 78 */ mr r31, r3 -lbl_80051C1C: -/* 80051C1C 0004EB7C 3C 80 80 3D */ lis r4, lbl_803CCF20@ha -/* 80051C20 0004EB80 38 60 00 08 */ li r3, 8 -/* 80051C24 0004EB84 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l -/* 80051C28 0004EB88 38 A0 00 00 */ li r5, 0 -/* 80051C2C 0004EB8C 48 2C 3C 41 */ bl __nw__FUlPCcPCc -/* 80051C30 0004EB90 28 03 00 00 */ cmplwi r3, 0 -/* 80051C34 0004EB94 41 82 00 10 */ beq lbl_80051C44 -/* 80051C38 0004EB98 93 E3 00 00 */ stw r31, 0(r3) -/* 80051C3C 0004EB9C 38 00 00 01 */ li r0, 1 -/* 80051C40 0004EBA0 90 03 00 04 */ stw r0, 4(r3) -lbl_80051C44: -/* 80051C44 0004EBA4 90 61 00 08 */ stw r3, 8(r1) -/* 80051C48 0004EBA8 38 00 00 04 */ li r0, 4 -/* 80051C4C 0004EBAC 38 61 00 08 */ addi r3, r1, 8 -/* 80051C50 0004EBB0 93 BC 00 00 */ stw r29, 0(r28) -/* 80051C54 0004EBB4 90 1C 00 04 */ stw r0, 4(r28) -/* 80051C58 0004EBB8 80 01 00 08 */ lwz r0, 8(r1) -/* 80051C5C 0004EBBC 90 1C 00 08 */ stw r0, 8(r28) -/* 80051C60 0004EBC0 80 BC 00 08 */ lwz r5, 8(r28) -/* 80051C64 0004EBC4 80 85 00 04 */ lwz r4, 4(r5) -/* 80051C68 0004EBC8 38 04 00 01 */ addi r0, r4, 1 -/* 80051C6C 0004EBCC 90 05 00 04 */ stw r0, 4(r5) -/* 80051C70 0004EBD0 4B FB 6A 9D */ bl sub_8000870c -/* 80051C74 0004EBD4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80051C78 0004EBD8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051C7C 0004EBDC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80051C80 0004EBE0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80051C84 0004EBE4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80051C88 0004EBE8 7C 08 03 A6 */ mtlr r0 -/* 80051C8C 0004EBEC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80051C90 0004EBF0 4E 80 00 20 */ blr - -.global GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage -GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage: -/* 80051C94 0004EBF4 80 63 00 08 */ lwz r3, 8(r3) -/* 80051C98 0004EBF8 80 63 00 00 */ lwz r3, 0(r3) -/* 80051C9C 0004EBFC 4E 80 00 20 */ blr - -.global GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage -GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage: -/* 80051CA0 0004EC00 80 63 00 08 */ lwz r3, 8(r3) -/* 80051CA4 0004EC04 80 63 00 00 */ lwz r3, 0(r3) -/* 80051CA8 0004EC08 4E 80 00 20 */ blr - -.global CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin -CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin: -/* 80051CAC 0004EC0C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80051CB0 0004EC10 7C 08 02 A6 */ mflr r0 -/* 80051CB4 0004EC14 3D 00 80 3D */ lis r8, lbl_803CCF20@ha -/* 80051CB8 0004EC18 90 01 00 34 */ stw r0, 0x34(r1) -/* 80051CBC 0004EC1C 38 08 CF 20 */ addi r0, r8, lbl_803CCF20@l -/* 80051CC0 0004EC20 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80051CC4 0004EC24 7C 7A 1B 78 */ mr r26, r3 -/* 80051CC8 0004EC28 7C 9B 23 78 */ mr r27, r4 -/* 80051CCC 0004EC2C 7C BC 2B 78 */ mr r28, r5 -/* 80051CD0 0004EC30 7C DD 33 78 */ mr r29, r6 -/* 80051CD4 0004EC34 7C FE 3B 78 */ mr r30, r7 -/* 80051CD8 0004EC38 7C 04 03 78 */ mr r4, r0 -/* 80051CDC 0004EC3C 38 60 00 10 */ li r3, 0x10 -/* 80051CE0 0004EC40 38 A0 00 00 */ li r5, 0 -/* 80051CE4 0004EC44 48 2C 3B 89 */ bl __nw__FUlPCcPCc -/* 80051CE8 0004EC48 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80051CEC 0004EC4C 41 82 00 18 */ beq lbl_80051D04 -/* 80051CF0 0004EC50 80 9C 00 00 */ lwz r4, 0(r28) -/* 80051CF4 0004EC54 80 BD 00 00 */ lwz r5, 0(r29) -/* 80051CF8 0004EC58 80 DE 00 00 */ lwz r6, 0(r30) -/* 80051CFC 0004EC5C 4B FF F9 A5 */ bl __ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv -/* 80051D00 0004EC60 7C 7F 1B 78 */ mr r31, r3 -lbl_80051D04: -/* 80051D04 0004EC64 3C 80 80 3D */ lis r4, lbl_803CCF20@ha -/* 80051D08 0004EC68 38 60 00 08 */ li r3, 8 -/* 80051D0C 0004EC6C 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l -/* 80051D10 0004EC70 38 A0 00 00 */ li r5, 0 -/* 80051D14 0004EC74 48 2C 3B 59 */ bl __nw__FUlPCcPCc -/* 80051D18 0004EC78 28 03 00 00 */ cmplwi r3, 0 -/* 80051D1C 0004EC7C 41 82 00 10 */ beq lbl_80051D2C -/* 80051D20 0004EC80 93 E3 00 00 */ stw r31, 0(r3) -/* 80051D24 0004EC84 38 00 00 01 */ li r0, 1 -/* 80051D28 0004EC88 90 03 00 04 */ stw r0, 4(r3) -lbl_80051D2C: -/* 80051D2C 0004EC8C 90 61 00 08 */ stw r3, 8(r1) -/* 80051D30 0004EC90 38 00 00 01 */ li r0, 1 -/* 80051D34 0004EC94 38 61 00 08 */ addi r3, r1, 8 -/* 80051D38 0004EC98 93 7A 00 00 */ stw r27, 0(r26) -/* 80051D3C 0004EC9C 90 1A 00 04 */ stw r0, 4(r26) -/* 80051D40 0004ECA0 80 01 00 08 */ lwz r0, 8(r1) -/* 80051D44 0004ECA4 90 1A 00 08 */ stw r0, 8(r26) -/* 80051D48 0004ECA8 80 BA 00 08 */ lwz r5, 8(r26) -/* 80051D4C 0004ECAC 80 85 00 04 */ lwz r4, 4(r5) -/* 80051D50 0004ECB0 38 04 00 01 */ addi r0, r4, 1 -/* 80051D54 0004ECB4 90 05 00 04 */ stw r0, 4(r5) -/* 80051D58 0004ECB8 4B FB 69 B5 */ bl sub_8000870c -/* 80051D5C 0004ECBC BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80051D60 0004ECC0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80051D64 0004ECC4 7C 08 03 A6 */ mtlr r0 -/* 80051D68 0004ECC8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80051D6C 0004ECCC 4E 80 00 20 */ blr - -.global GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage -GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage: -/* 80051D70 0004ECD0 80 63 00 08 */ lwz r3, 8(r3) -/* 80051D74 0004ECD4 80 63 00 00 */ lwz r3, 0(r3) -/* 80051D78 0004ECD8 4E 80 00 20 */ blr - -.global sub_80051d7c -sub_80051d7c: -/* 80051D7C 0004ECDC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80051D80 0004ECE0 7C 08 02 A6 */ mflr r0 -/* 80051D84 0004ECE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80051D88 0004ECE8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80051D8C 0004ECEC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80051D90 0004ECF0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80051D94 0004ECF4 7C 9D 23 78 */ mr r29, r4 -/* 80051D98 0004ECF8 93 81 00 10 */ stw r28, 0x10(r1) -/* 80051D9C 0004ECFC 7C 7C 1B 78 */ mr r28, r3 -/* 80051DA0 0004ED00 80 03 00 04 */ lwz r0, 4(r3) -/* 80051DA4 0004ED04 83 C4 00 04 */ lwz r30, 4(r4) -/* 80051DA8 0004ED08 7C 1D 00 40 */ cmplw r29, r0 -/* 80051DAC 0004ED0C 40 82 00 08 */ bne lbl_80051DB4 -/* 80051DB0 0004ED10 93 DC 00 04 */ stw r30, 4(r28) -lbl_80051DB4: -/* 80051DB4 0004ED14 80 1D 00 04 */ lwz r0, 4(r29) -/* 80051DB8 0004ED18 37 FD 00 08 */ addic. r31, r29, 8 -/* 80051DBC 0004ED1C 80 7D 00 00 */ lwz r3, 0(r29) -/* 80051DC0 0004ED20 90 03 00 04 */ stw r0, 4(r3) -/* 80051DC4 0004ED24 80 1D 00 00 */ lwz r0, 0(r29) -/* 80051DC8 0004ED28 80 7D 00 04 */ lwz r3, 4(r29) -/* 80051DCC 0004ED2C 90 03 00 00 */ stw r0, 0(r3) -/* 80051DD0 0004ED30 41 82 00 54 */ beq lbl_80051E24 -/* 80051DD4 0004ED34 34 1F 00 08 */ addic. r0, r31, 8 -/* 80051DD8 0004ED38 41 82 00 4C */ beq lbl_80051E24 -/* 80051DDC 0004ED3C 80 9F 00 08 */ lwz r4, 8(r31) -/* 80051DE0 0004ED40 80 64 00 04 */ lwz r3, 4(r4) -/* 80051DE4 0004ED44 34 03 FF FF */ addic. r0, r3, -1 -/* 80051DE8 0004ED48 90 04 00 04 */ stw r0, 4(r4) -/* 80051DEC 0004ED4C 41 81 00 38 */ bgt lbl_80051E24 -/* 80051DF0 0004ED50 80 7F 00 08 */ lwz r3, 8(r31) -/* 80051DF4 0004ED54 80 63 00 00 */ lwz r3, 0(r3) -/* 80051DF8 0004ED58 28 03 00 00 */ cmplwi r3, 0 -/* 80051DFC 0004ED5C 41 82 00 18 */ beq lbl_80051E14 -/* 80051E00 0004ED60 81 83 00 00 */ lwz r12, 0(r3) -/* 80051E04 0004ED64 38 80 00 01 */ li r4, 1 -/* 80051E08 0004ED68 81 8C 00 08 */ lwz r12, 8(r12) -/* 80051E0C 0004ED6C 7D 89 03 A6 */ mtctr r12 -/* 80051E10 0004ED70 4E 80 04 21 */ bctrl -lbl_80051E14: -/* 80051E14 0004ED74 80 7F 00 08 */ lwz r3, 8(r31) -/* 80051E18 0004ED78 28 03 00 00 */ cmplwi r3, 0 -/* 80051E1C 0004ED7C 41 82 00 08 */ beq lbl_80051E24 -/* 80051E20 0004ED80 48 2C 3B 11 */ bl Free__7CMemoryFPCv -lbl_80051E24: -/* 80051E24 0004ED84 28 1D 00 00 */ cmplwi r29, 0 -/* 80051E28 0004ED88 41 82 00 0C */ beq lbl_80051E34 -/* 80051E2C 0004ED8C 7F A3 EB 78 */ mr r3, r29 -/* 80051E30 0004ED90 48 2C 3B 01 */ bl Free__7CMemoryFPCv -lbl_80051E34: -/* 80051E34 0004ED94 80 9C 00 14 */ lwz r4, 0x14(r28) -/* 80051E38 0004ED98 7F C3 F3 78 */ mr r3, r30 -/* 80051E3C 0004ED9C 38 04 FF FF */ addi r0, r4, -1 -/* 80051E40 0004EDA0 90 1C 00 14 */ stw r0, 0x14(r28) -/* 80051E44 0004EDA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80051E48 0004EDA8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80051E4C 0004EDAC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80051E50 0004EDB0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80051E54 0004EDB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80051E58 0004EDB8 7C 08 03 A6 */ mtlr r0 -/* 80051E5C 0004EDBC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80051E60 0004EDC0 4E 80 00 20 */ blr - -.global GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv: -/* 80051E64 0004EDC4 80 04 00 00 */ lwz r0, 0(r4) -/* 80051E68 0004EDC8 90 03 00 00 */ stw r0, 0(r3) -/* 80051E6C 0004EDCC 80 83 00 00 */ lwz r4, 0(r3) -/* 80051E70 0004EDD0 80 64 00 04 */ lwz r3, 4(r4) -/* 80051E74 0004EDD4 38 03 00 01 */ addi r0, r3, 1 -/* 80051E78 0004EDD8 90 04 00 04 */ stw r0, 4(r4) -/* 80051E7C 0004EDDC 4E 80 00 20 */ blr - -.global OnIOWinMessage__13CIOWinManagerFRC20CArchitectureMessage -OnIOWinMessage__13CIOWinManagerFRC20CArchitectureMessage: -/* 80051E80 0004EDE0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80051E84 0004EDE4 7C 08 02 A6 */ mflr r0 -/* 80051E88 0004EDE8 90 01 00 44 */ stw r0, 0x44(r1) -/* 80051E8C 0004EDEC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80051E90 0004EDF0 7C 7F 1B 78 */ mr r31, r3 -/* 80051E94 0004EDF4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80051E98 0004EDF8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80051E9C 0004EDFC 93 81 00 30 */ stw r28, 0x30(r1) -/* 80051EA0 0004EE00 80 04 00 04 */ lwz r0, 4(r4) -/* 80051EA4 0004EE04 2C 00 00 02 */ cmpwi r0, 2 -/* 80051EA8 0004EE08 41 82 01 18 */ beq lbl_80051FC0 -/* 80051EAC 0004EE0C 40 80 00 14 */ bge lbl_80051EC0 -/* 80051EB0 0004EE10 2C 00 00 00 */ cmpwi r0, 0 -/* 80051EB4 0004EE14 41 82 00 18 */ beq lbl_80051ECC -/* 80051EB8 0004EE18 40 80 00 8C */ bge lbl_80051F44 -/* 80051EBC 0004EE1C 48 00 01 98 */ b lbl_80052054 -lbl_80051EC0: -/* 80051EC0 0004EE20 2C 00 00 04 */ cmpwi r0, 4 -/* 80051EC4 0004EE24 40 80 01 90 */ bge lbl_80052054 -/* 80051EC8 0004EE28 48 00 01 80 */ b lbl_80052048 -lbl_80051ECC: -/* 80051ECC 0004EE2C 7C 83 23 78 */ mr r3, r4 -/* 80051ED0 0004EE30 4B FF FE A1 */ bl GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage -/* 80051ED4 0004EE34 7C 65 1B 78 */ mr r5, r3 -/* 80051ED8 0004EE38 7F E4 FB 78 */ mr r4, r31 -/* 80051EDC 0004EE3C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80051EE0 0004EE40 38 A5 00 04 */ addi r5, r5, 4 -/* 80051EE4 0004EE44 48 00 06 05 */ bl sub_800524e8 -/* 80051EE8 0004EE48 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80051EEC 0004EE4C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80051EF0 0004EE50 90 A1 00 24 */ stw r5, 0x24(r1) -/* 80051EF4 0004EE54 80 85 00 04 */ lwz r4, 4(r5) -/* 80051EF8 0004EE58 38 04 00 01 */ addi r0, r4, 1 -/* 80051EFC 0004EE5C 90 05 00 04 */ stw r0, 4(r5) -/* 80051F00 0004EE60 4B FB 67 9D */ bl sub_8000869c -/* 80051F04 0004EE64 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 80051F08 0004EE68 80 06 00 00 */ lwz r0, 0(r6) -/* 80051F0C 0004EE6C 28 00 00 00 */ cmplwi r0, 0 -/* 80051F10 0004EE70 41 82 00 28 */ beq lbl_80051F38 -/* 80051F14 0004EE74 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80051F18 0004EE78 7F E3 FB 78 */ mr r3, r31 -/* 80051F1C 0004EE7C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80051F20 0004EE80 80 A6 00 04 */ lwz r5, 4(r6) -/* 80051F24 0004EE84 38 05 00 01 */ addi r0, r5, 1 -/* 80051F28 0004EE88 90 06 00 04 */ stw r0, 4(r6) -/* 80051F2C 0004EE8C 48 00 08 E9 */ bl "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" -/* 80051F30 0004EE90 38 61 00 14 */ addi r3, r1, 0x14 -/* 80051F34 0004EE94 4B FB 67 69 */ bl sub_8000869c -lbl_80051F38: -/* 80051F38 0004EE98 38 61 00 24 */ addi r3, r1, 0x24 -/* 80051F3C 0004EE9C 4B FB 67 61 */ bl sub_8000869c -/* 80051F40 0004EEA0 48 00 01 14 */ b lbl_80052054 -lbl_80051F44: -/* 80051F44 0004EEA4 7C 83 23 78 */ mr r3, r4 -/* 80051F48 0004EEA8 4B FF FD 59 */ bl GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage -/* 80051F4C 0004EEAC 3C 80 80 3D */ lis r4, lbl_803CCF28@ha -/* 80051F50 0004EEB0 83 C3 00 04 */ lwz r30, 4(r3) -/* 80051F54 0004EEB4 38 84 CF 28 */ addi r4, r4, lbl_803CCF28@l -/* 80051F58 0004EEB8 83 A3 00 08 */ lwz r29, 8(r3) -/* 80051F5C 0004EEBC 83 83 00 0C */ lwz r28, 0xc(r3) -/* 80051F60 0004EEC0 38 84 00 33 */ addi r4, r4, 0x33 -/* 80051F64 0004EEC4 38 60 00 08 */ li r3, 8 -/* 80051F68 0004EEC8 38 A0 00 00 */ li r5, 0 -/* 80051F6C 0004EECC 48 2C 39 01 */ bl __nw__FUlPCcPCc -/* 80051F70 0004EED0 7C 68 1B 79 */ or. r8, r3, r3 -/* 80051F74 0004EED4 41 82 00 10 */ beq lbl_80051F84 -/* 80051F78 0004EED8 93 88 00 00 */ stw r28, 0(r8) -/* 80051F7C 0004EEDC 38 00 00 01 */ li r0, 1 -/* 80051F80 0004EEE0 90 08 00 04 */ stw r0, 4(r8) -lbl_80051F84: -/* 80051F84 0004EEE4 91 01 00 20 */ stw r8, 0x20(r1) -/* 80051F88 0004EEE8 7F E3 FB 78 */ mr r3, r31 -/* 80051F8C 0004EEEC 7F C5 F3 78 */ mr r5, r30 -/* 80051F90 0004EEF0 7F A6 EB 78 */ mr r6, r29 -/* 80051F94 0004EEF4 91 01 00 10 */ stw r8, 0x10(r1) -/* 80051F98 0004EEF8 38 81 00 10 */ addi r4, r1, 0x10 -/* 80051F9C 0004EEFC 80 E8 00 04 */ lwz r7, 4(r8) -/* 80051FA0 0004EF00 38 07 00 01 */ addi r0, r7, 1 -/* 80051FA4 0004EF04 90 08 00 04 */ stw r0, 4(r8) -/* 80051FA8 0004EF08 48 00 09 A9 */ bl "AddIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>ii" -/* 80051FAC 0004EF0C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80051FB0 0004EF10 4B FB 66 ED */ bl sub_8000869c -/* 80051FB4 0004EF14 38 61 00 20 */ addi r3, r1, 0x20 -/* 80051FB8 0004EF18 4B FB 66 E5 */ bl sub_8000869c -/* 80051FBC 0004EF1C 48 00 00 98 */ b lbl_80052054 -lbl_80051FC0: -/* 80051FC0 0004EF20 7C 83 23 78 */ mr r3, r4 -/* 80051FC4 0004EF24 4B FF FC D1 */ bl GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage -/* 80051FC8 0004EF28 7C 65 1B 78 */ mr r5, r3 -/* 80051FCC 0004EF2C 7F E4 FB 78 */ mr r4, r31 -/* 80051FD0 0004EF30 83 83 00 04 */ lwz r28, 4(r3) -/* 80051FD4 0004EF34 38 61 00 0C */ addi r3, r1, 0xc -/* 80051FD8 0004EF38 83 A5 00 08 */ lwz r29, 8(r5) -/* 80051FDC 0004EF3C 38 A5 00 0C */ addi r5, r5, 0xc -/* 80051FE0 0004EF40 48 00 05 09 */ bl sub_800524e8 -/* 80051FE4 0004EF44 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 80051FE8 0004EF48 38 61 00 0C */ addi r3, r1, 0xc -/* 80051FEC 0004EF4C 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80051FF0 0004EF50 80 85 00 04 */ lwz r4, 4(r5) -/* 80051FF4 0004EF54 38 04 00 01 */ addi r0, r4, 1 -/* 80051FF8 0004EF58 90 05 00 04 */ stw r0, 4(r5) -/* 80051FFC 0004EF5C 4B FB 66 A1 */ bl sub_8000869c -/* 80052000 0004EF60 81 01 00 1C */ lwz r8, 0x1c(r1) -/* 80052004 0004EF64 80 08 00 00 */ lwz r0, 0(r8) -/* 80052008 0004EF68 28 00 00 00 */ cmplwi r0, 0 -/* 8005200C 0004EF6C 41 82 00 30 */ beq lbl_8005203C -/* 80052010 0004EF70 91 01 00 08 */ stw r8, 8(r1) -/* 80052014 0004EF74 7F E3 FB 78 */ mr r3, r31 -/* 80052018 0004EF78 7F 85 E3 78 */ mr r5, r28 -/* 8005201C 0004EF7C 7F A6 EB 78 */ mr r6, r29 -/* 80052020 0004EF80 80 E8 00 04 */ lwz r7, 4(r8) -/* 80052024 0004EF84 38 81 00 08 */ addi r4, r1, 8 -/* 80052028 0004EF88 38 07 00 01 */ addi r0, r7, 1 -/* 8005202C 0004EF8C 90 08 00 04 */ stw r0, 4(r8) -/* 80052030 0004EF90 48 00 05 D9 */ bl sub_80052608 -/* 80052034 0004EF94 38 61 00 08 */ addi r3, r1, 8 -/* 80052038 0004EF98 4B FB 66 65 */ bl sub_8000869c -lbl_8005203C: -/* 8005203C 0004EF9C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80052040 0004EFA0 4B FB 66 5D */ bl sub_8000869c -/* 80052044 0004EFA4 48 00 00 10 */ b lbl_80052054 -lbl_80052048: -/* 80052048 0004EFA8 48 00 07 4D */ bl RemoveAllIOWins__13CIOWinManagerFv -/* 8005204C 0004EFAC 38 60 00 01 */ li r3, 1 -/* 80052050 0004EFB0 48 00 00 08 */ b lbl_80052058 -lbl_80052054: -/* 80052054 0004EFB4 38 60 00 00 */ li r3, 0 -lbl_80052058: -/* 80052058 0004EFB8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8005205C 0004EFBC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80052060 0004EFC0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80052064 0004EFC4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80052068 0004EFC8 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8005206C 0004EFCC 7C 08 03 A6 */ mtlr r0 -/* 80052070 0004EFD0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80052074 0004EFD4 4E 80 00 20 */ blr - -.global Draw__13CIOWinManagerCFv -Draw__13CIOWinManagerCFv: -/* 80052078 0004EFD8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005207C 0004EFDC 7C 08 02 A6 */ mflr r0 -/* 80052080 0004EFE0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80052084 0004EFE4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80052088 0004EFE8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8005208C 0004EFEC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80052090 0004EFF0 7C 7D 1B 78 */ mr r29, r3 -/* 80052094 0004EFF4 83 C3 00 00 */ lwz r30, 0(r3) -/* 80052098 0004EFF8 48 00 00 6C */ b lbl_80052104 -lbl_8005209C: -/* 8005209C 0004EFFC 7F C4 F3 78 */ mr r4, r30 -/* 800520A0 0004F000 38 61 00 14 */ addi r3, r1, 0x14 -/* 800520A4 0004F004 4B FF FD C1 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 800520A8 0004F008 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800520AC 0004F00C 80 63 00 00 */ lwz r3, 0(r3) -/* 800520B0 0004F010 81 83 00 00 */ lwz r12, 0(r3) -/* 800520B4 0004F014 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800520B8 0004F018 7D 89 03 A6 */ mtctr r12 -/* 800520BC 0004F01C 4E 80 04 21 */ bctrl -/* 800520C0 0004F020 38 61 00 14 */ addi r3, r1, 0x14 -/* 800520C4 0004F024 4B FB 65 D9 */ bl sub_8000869c -/* 800520C8 0004F028 7F C4 F3 78 */ mr r4, r30 -/* 800520CC 0004F02C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800520D0 0004F030 4B FF FD 95 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 800520D4 0004F034 80 61 00 10 */ lwz r3, 0x10(r1) -/* 800520D8 0004F038 80 63 00 00 */ lwz r3, 0(r3) -/* 800520DC 0004F03C 81 83 00 00 */ lwz r12, 0(r3) -/* 800520E0 0004F040 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800520E4 0004F044 7D 89 03 A6 */ mtctr r12 -/* 800520E8 0004F048 4E 80 04 21 */ bctrl -/* 800520EC 0004F04C 7C 7F 1B 78 */ mr r31, r3 -/* 800520F0 0004F050 38 61 00 10 */ addi r3, r1, 0x10 -/* 800520F4 0004F054 4B FB 65 A9 */ bl sub_8000869c -/* 800520F8 0004F058 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800520FC 0004F05C 41 82 00 10 */ beq lbl_8005210C -/* 80052100 0004F060 83 DE 00 08 */ lwz r30, 8(r30) -lbl_80052104: -/* 80052104 0004F064 28 1E 00 00 */ cmplwi r30, 0 -/* 80052108 0004F068 40 82 FF 94 */ bne lbl_8005209C -lbl_8005210C: -/* 8005210C 0004F06C 83 DD 00 00 */ lwz r30, 0(r29) -/* 80052110 0004F070 48 00 00 6C */ b lbl_8005217C -lbl_80052114: -/* 80052114 0004F074 7F C4 F3 78 */ mr r4, r30 -/* 80052118 0004F078 38 61 00 0C */ addi r3, r1, 0xc -/* 8005211C 0004F07C 4B FF FD 49 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 80052120 0004F080 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80052124 0004F084 80 63 00 00 */ lwz r3, 0(r3) -/* 80052128 0004F088 81 83 00 00 */ lwz r12, 0(r3) -/* 8005212C 0004F08C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80052130 0004F090 7D 89 03 A6 */ mtctr r12 -/* 80052134 0004F094 4E 80 04 21 */ bctrl -/* 80052138 0004F098 38 61 00 0C */ addi r3, r1, 0xc -/* 8005213C 0004F09C 4B FB 65 61 */ bl sub_8000869c -/* 80052140 0004F0A0 7F C4 F3 78 */ mr r4, r30 -/* 80052144 0004F0A4 38 61 00 08 */ addi r3, r1, 8 -/* 80052148 0004F0A8 4B FF FD 1D */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 8005214C 0004F0AC 80 61 00 08 */ lwz r3, 8(r1) -/* 80052150 0004F0B0 80 63 00 00 */ lwz r3, 0(r3) -/* 80052154 0004F0B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80052158 0004F0B8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8005215C 0004F0BC 7D 89 03 A6 */ mtctr r12 -/* 80052160 0004F0C0 4E 80 04 21 */ bctrl -/* 80052164 0004F0C4 7C 7F 1B 78 */ mr r31, r3 -/* 80052168 0004F0C8 38 61 00 08 */ addi r3, r1, 8 -/* 8005216C 0004F0CC 4B FB 65 31 */ bl sub_8000869c -/* 80052170 0004F0D0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80052174 0004F0D4 41 82 00 10 */ beq lbl_80052184 -/* 80052178 0004F0D8 83 DE 00 08 */ lwz r30, 8(r30) -lbl_8005217C: -/* 8005217C 0004F0DC 28 1E 00 00 */ cmplwi r30, 0 -/* 80052180 0004F0E0 40 82 FF 94 */ bne lbl_80052114 -lbl_80052184: -/* 80052184 0004F0E4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80052188 0004F0E8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8005218C 0004F0EC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80052190 0004F0F0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80052194 0004F0F4 7C 08 03 A6 */ mtlr r0 -/* 80052198 0004F0F8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8005219C 0004F0FC 4E 80 00 20 */ blr - -.global DistributeOneMessage__13CIOWinManagerFRC20CArchitectureMessageR18CArchitectureQueue -DistributeOneMessage__13CIOWinManagerFRC20CArchitectureMessageR18CArchitectureQueue: -/* 800521A0 0004F100 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800521A4 0004F104 7C 08 02 A6 */ mflr r0 -/* 800521A8 0004F108 90 01 00 54 */ stw r0, 0x54(r1) -/* 800521AC 0004F10C BF 21 00 34 */ stmw r25, 0x34(r1) -/* 800521B0 0004F110 7C 79 1B 78 */ mr r25, r3 -/* 800521B4 0004F114 3B A1 00 28 */ addi r29, r1, 0x28 -/* 800521B8 0004F118 3B C1 00 1C */ addi r30, r1, 0x1c -/* 800521BC 0004F11C 7C 9A 23 78 */ mr r26, r4 -/* 800521C0 0004F120 7C BB 2B 78 */ mr r27, r5 -/* 800521C4 0004F124 83 83 00 04 */ lwz r28, 4(r3) -/* 800521C8 0004F128 48 00 01 A4 */ b lbl_8005236C -lbl_800521CC: -/* 800521CC 0004F12C 7F 84 E3 78 */ mr r4, r28 -/* 800521D0 0004F130 38 61 00 0C */ addi r3, r1, 0xc -/* 800521D4 0004F134 4B FF FC 91 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 800521D8 0004F138 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 800521DC 0004F13C 38 61 00 0C */ addi r3, r1, 0xc -/* 800521E0 0004F140 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800521E4 0004F144 80 85 00 04 */ lwz r4, 4(r5) -/* 800521E8 0004F148 38 04 00 01 */ addi r0, r4, 1 -/* 800521EC 0004F14C 90 05 00 04 */ stw r0, 4(r5) -/* 800521F0 0004F150 4B FB 64 AD */ bl sub_8000869c -/* 800521F4 0004F154 80 61 00 10 */ lwz r3, 0x10(r1) -/* 800521F8 0004F158 7F 44 D3 78 */ mr r4, r26 -/* 800521FC 0004F15C 38 B9 00 08 */ addi r5, r25, 8 -/* 80052200 0004F160 80 63 00 00 */ lwz r3, 0(r3) -/* 80052204 0004F164 81 83 00 00 */ lwz r12, 0(r3) -/* 80052208 0004F168 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8005220C 0004F16C 7D 89 03 A6 */ mtctr r12 -/* 80052210 0004F170 4E 80 04 21 */ bctrl -/* 80052214 0004F174 7C 7F 1B 78 */ mr r31, r3 -/* 80052218 0004F178 48 00 00 E0 */ b lbl_800522F8 -lbl_8005221C: -/* 8005221C 0004F17C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80052220 0004F180 38 99 00 08 */ addi r4, r25, 8 -/* 80052224 0004F184 48 00 01 69 */ bl sub_8005238c -/* 80052228 0004F188 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8005222C 0004F18C 28 1E 00 00 */ cmplwi r30, 0 -/* 80052230 0004F190 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80052234 0004F194 80 9E 00 00 */ lwz r4, 0(r30) -/* 80052238 0004F198 90 61 00 20 */ stw r3, 0x20(r1) -/* 8005223C 0004F19C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80052240 0004F1A0 90 9D 00 00 */ stw r4, 0(r29) -/* 80052244 0004F1A4 80 64 00 04 */ lwz r3, 4(r4) -/* 80052248 0004F1A8 38 03 00 01 */ addi r0, r3, 1 -/* 8005224C 0004F1AC 90 04 00 04 */ stw r0, 4(r4) -/* 80052250 0004F1B0 41 82 00 0C */ beq lbl_8005225C -/* 80052254 0004F1B4 7F C3 F3 78 */ mr r3, r30 -/* 80052258 0004F1B8 4B FB 64 B5 */ bl sub_8000870c -lbl_8005225C: -/* 8005225C 0004F1BC 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80052260 0004F1C0 2C 00 00 00 */ cmpwi r0, 0 -/* 80052264 0004F1C4 40 82 00 78 */ bne lbl_800522DC -/* 80052268 0004F1C8 7F 23 CB 78 */ mr r3, r25 -/* 8005226C 0004F1CC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80052270 0004F1D0 4B FF FC 11 */ bl OnIOWinMessage__13CIOWinManagerFRC20CArchitectureMessage -/* 80052274 0004F1D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80052278 0004F1D8 41 82 00 70 */ beq lbl_800522E8 -/* 8005227C 0004F1DC 83 59 00 10 */ lwz r26, 0x10(r25) -/* 80052280 0004F1E0 80 99 00 0C */ lwz r4, 0xc(r25) -/* 80052284 0004F1E4 48 00 00 10 */ b lbl_80052294 -lbl_80052288: -/* 80052288 0004F1E8 38 79 00 08 */ addi r3, r25, 8 -/* 8005228C 0004F1EC 4B FF FA F1 */ bl sub_80051d7c -/* 80052290 0004F1F0 7C 64 1B 78 */ mr r4, r3 -lbl_80052294: -/* 80052294 0004F1F4 7C 04 D0 40 */ cmplw r4, r26 -/* 80052298 0004F1F8 40 82 FF F0 */ bne lbl_80052288 -/* 8005229C 0004F1FC 83 3B 00 08 */ lwz r25, 8(r27) -/* 800522A0 0004F200 80 9B 00 04 */ lwz r4, 4(r27) -/* 800522A4 0004F204 48 00 00 10 */ b lbl_800522B4 -lbl_800522A8: -/* 800522A8 0004F208 7F 63 DB 78 */ mr r3, r27 -/* 800522AC 0004F20C 4B FF FA D1 */ bl sub_80051d7c -/* 800522B0 0004F210 7C 64 1B 78 */ mr r4, r3 -lbl_800522B4: -/* 800522B4 0004F214 7C 04 C8 40 */ cmplw r4, r25 -/* 800522B8 0004F218 40 82 FF F0 */ bne lbl_800522A8 -/* 800522BC 0004F21C 28 1D 00 00 */ cmplwi r29, 0 -/* 800522C0 0004F220 41 82 00 0C */ beq lbl_800522CC -/* 800522C4 0004F224 7F A3 EB 78 */ mr r3, r29 -/* 800522C8 0004F228 4B FB 64 45 */ bl sub_8000870c -lbl_800522CC: -/* 800522CC 0004F22C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800522D0 0004F230 4B FB 63 CD */ bl sub_8000869c -/* 800522D4 0004F234 38 60 00 01 */ li r3, 1 -/* 800522D8 0004F238 48 00 00 A0 */ b lbl_80052378 -lbl_800522DC: -/* 800522DC 0004F23C 7F 63 DB 78 */ mr r3, r27 -/* 800522E0 0004F240 38 81 00 20 */ addi r4, r1, 0x20 -/* 800522E4 0004F244 4B FB 4A 1D */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage -lbl_800522E8: -/* 800522E8 0004F248 28 1D 00 00 */ cmplwi r29, 0 -/* 800522EC 0004F24C 41 82 00 0C */ beq lbl_800522F8 -/* 800522F0 0004F250 7F A3 EB 78 */ mr r3, r29 -/* 800522F4 0004F254 4B FB 64 19 */ bl sub_8000870c -lbl_800522F8: -/* 800522F8 0004F258 80 19 00 1C */ lwz r0, 0x1c(r25) -/* 800522FC 0004F25C 2C 00 00 00 */ cmpwi r0, 0 -/* 80052300 0004F260 40 82 FF 1C */ bne lbl_8005221C -/* 80052304 0004F264 2C 1F 00 02 */ cmpwi r31, 2 -/* 80052308 0004F268 41 82 00 0C */ beq lbl_80052314 -/* 8005230C 0004F26C 2C 1F 00 03 */ cmpwi r31, 3 -/* 80052310 0004F270 40 82 00 34 */ bne lbl_80052344 -lbl_80052314: -/* 80052314 0004F274 83 9C 00 08 */ lwz r28, 8(r28) -/* 80052318 0004F278 7F 23 CB 78 */ mr r3, r25 -/* 8005231C 0004F27C 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 80052320 0004F280 38 81 00 08 */ addi r4, r1, 8 -/* 80052324 0004F284 90 C1 00 08 */ stw r6, 8(r1) -/* 80052328 0004F288 80 A6 00 04 */ lwz r5, 4(r6) -/* 8005232C 0004F28C 38 05 00 01 */ addi r0, r5, 1 -/* 80052330 0004F290 90 06 00 04 */ stw r0, 4(r6) -/* 80052334 0004F294 48 00 04 E1 */ bl "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" -/* 80052338 0004F298 38 61 00 08 */ addi r3, r1, 8 -/* 8005233C 0004F29C 4B FB 63 61 */ bl sub_8000869c -/* 80052340 0004F2A0 48 00 00 08 */ b lbl_80052348 -lbl_80052344: -/* 80052344 0004F2A4 83 9C 00 08 */ lwz r28, 8(r28) -lbl_80052348: -/* 80052348 0004F2A8 2C 1F 00 01 */ cmpwi r31, 1 -/* 8005234C 0004F2AC 41 82 00 0C */ beq lbl_80052358 -/* 80052350 0004F2B0 2C 1F 00 02 */ cmpwi r31, 2 -/* 80052354 0004F2B4 40 82 00 10 */ bne lbl_80052364 -lbl_80052358: -/* 80052358 0004F2B8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8005235C 0004F2BC 4B FB 63 41 */ bl sub_8000869c -/* 80052360 0004F2C0 48 00 00 14 */ b lbl_80052374 -lbl_80052364: -/* 80052364 0004F2C4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80052368 0004F2C8 4B FB 63 35 */ bl sub_8000869c -lbl_8005236C: -/* 8005236C 0004F2CC 28 1C 00 00 */ cmplwi r28, 0 -/* 80052370 0004F2D0 40 82 FE 5C */ bne lbl_800521CC -lbl_80052374: -/* 80052374 0004F2D4 38 60 00 00 */ li r3, 0 -lbl_80052378: -/* 80052378 0004F2D8 BB 21 00 34 */ lmw r25, 0x34(r1) -/* 8005237C 0004F2DC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80052380 0004F2E0 7C 08 03 A6 */ mtlr r0 -/* 80052384 0004F2E4 38 21 00 50 */ addi r1, r1, 0x50 -/* 80052388 0004F2E8 4E 80 00 20 */ blr - -.global sub_8005238c -sub_8005238c: -/* 8005238C 0004F2EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80052390 0004F2F0 7C 08 02 A6 */ mflr r0 -/* 80052394 0004F2F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80052398 0004F2F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005239C 0004F2FC 3B E1 00 10 */ addi r31, r1, 0x10 -/* 800523A0 0004F300 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800523A4 0004F304 7C 7E 1B 78 */ mr r30, r3 -/* 800523A8 0004F308 7C 83 23 78 */ mr r3, r4 -/* 800523AC 0004F30C 80 A4 00 04 */ lwz r5, 4(r4) -/* 800523B0 0004F310 80 05 00 08 */ lwz r0, 8(r5) -/* 800523B4 0004F314 90 01 00 08 */ stw r0, 8(r1) -/* 800523B8 0004F318 80 05 00 0C */ lwz r0, 0xc(r5) -/* 800523BC 0004F31C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800523C0 0004F320 80 C5 00 10 */ lwz r6, 0x10(r5) -/* 800523C4 0004F324 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800523C8 0004F328 80 A6 00 04 */ lwz r5, 4(r6) -/* 800523CC 0004F32C 38 05 00 01 */ addi r0, r5, 1 -/* 800523D0 0004F330 90 06 00 04 */ stw r0, 4(r6) -/* 800523D4 0004F334 80 84 00 04 */ lwz r4, 4(r4) -/* 800523D8 0004F338 4B FF F9 A5 */ bl sub_80051d7c -/* 800523DC 0004F33C 80 01 00 08 */ lwz r0, 8(r1) -/* 800523E0 0004F340 28 1F 00 00 */ cmplwi r31, 0 -/* 800523E4 0004F344 90 1E 00 00 */ stw r0, 0(r30) -/* 800523E8 0004F348 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800523EC 0004F34C 90 1E 00 04 */ stw r0, 4(r30) -/* 800523F0 0004F350 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800523F4 0004F354 90 1E 00 08 */ stw r0, 8(r30) -/* 800523F8 0004F358 80 9E 00 08 */ lwz r4, 8(r30) -/* 800523FC 0004F35C 80 64 00 04 */ lwz r3, 4(r4) -/* 80052400 0004F360 38 03 00 01 */ addi r0, r3, 1 -/* 80052404 0004F364 90 04 00 04 */ stw r0, 4(r4) -/* 80052408 0004F368 41 82 00 0C */ beq lbl_80052414 -/* 8005240C 0004F36C 7F E3 FB 78 */ mr r3, r31 -/* 80052410 0004F370 4B FB 62 FD */ bl sub_8000870c -lbl_80052414: -/* 80052414 0004F374 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80052418 0004F378 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005241C 0004F37C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80052420 0004F380 7C 08 03 A6 */ mtlr r0 -/* 80052424 0004F384 38 21 00 20 */ addi r1, r1, 0x20 -/* 80052428 0004F388 4E 80 00 20 */ blr - -.global PumpMessages__13CIOWinManagerFR18CArchitectureQueue -PumpMessages__13CIOWinManagerFR18CArchitectureQueue: -/* 8005242C 0004F38C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80052430 0004F390 7C 08 02 A6 */ mflr r0 -/* 80052434 0004F394 90 01 00 34 */ stw r0, 0x34(r1) -/* 80052438 0004F398 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8005243C 0004F39C 3B E1 00 10 */ addi r31, r1, 0x10 -/* 80052440 0004F3A0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80052444 0004F3A4 3B C1 00 1C */ addi r30, r1, 0x1c -/* 80052448 0004F3A8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8005244C 0004F3AC 7C 9D 23 78 */ mr r29, r4 -/* 80052450 0004F3B0 93 81 00 20 */ stw r28, 0x20(r1) -/* 80052454 0004F3B4 7C 7C 1B 78 */ mr r28, r3 -/* 80052458 0004F3B8 48 00 00 64 */ b lbl_800524BC -lbl_8005245C: -/* 8005245C 0004F3BC 7F A4 EB 78 */ mr r4, r29 -/* 80052460 0004F3C0 38 61 00 08 */ addi r3, r1, 8 -/* 80052464 0004F3C4 4B FF FF 29 */ bl sub_8005238c -/* 80052468 0004F3C8 80 61 00 08 */ lwz r3, 8(r1) -/* 8005246C 0004F3CC 28 1F 00 00 */ cmplwi r31, 0 -/* 80052470 0004F3D0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80052474 0004F3D4 80 81 00 10 */ lwz r4, 0x10(r1) -/* 80052478 0004F3D8 90 61 00 14 */ stw r3, 0x14(r1) -/* 8005247C 0004F3DC 90 01 00 18 */ stw r0, 0x18(r1) -/* 80052480 0004F3E0 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80052484 0004F3E4 80 64 00 04 */ lwz r3, 4(r4) -/* 80052488 0004F3E8 38 03 00 01 */ addi r0, r3, 1 -/* 8005248C 0004F3EC 90 04 00 04 */ stw r0, 4(r4) -/* 80052490 0004F3F0 41 82 00 0C */ beq lbl_8005249C -/* 80052494 0004F3F4 7F E3 FB 78 */ mr r3, r31 -/* 80052498 0004F3F8 4B FB 62 75 */ bl sub_8000870c -lbl_8005249C: -/* 8005249C 0004F3FC 7F 83 E3 78 */ mr r3, r28 -/* 800524A0 0004F400 7F A5 EB 78 */ mr r5, r29 -/* 800524A4 0004F404 38 81 00 14 */ addi r4, r1, 0x14 -/* 800524A8 0004F408 4B FF FC F9 */ bl DistributeOneMessage__13CIOWinManagerFRC20CArchitectureMessageR18CArchitectureQueue -/* 800524AC 0004F40C 28 1E 00 00 */ cmplwi r30, 0 -/* 800524B0 0004F410 41 82 00 0C */ beq lbl_800524BC -/* 800524B4 0004F414 7F C3 F3 78 */ mr r3, r30 -/* 800524B8 0004F418 4B FB 62 55 */ bl sub_8000870c -lbl_800524BC: -/* 800524BC 0004F41C 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 800524C0 0004F420 2C 00 00 00 */ cmpwi r0, 0 -/* 800524C4 0004F424 40 82 FF 98 */ bne lbl_8005245C -/* 800524C8 0004F428 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800524CC 0004F42C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800524D0 0004F430 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800524D4 0004F434 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800524D8 0004F438 83 81 00 20 */ lwz r28, 0x20(r1) -/* 800524DC 0004F43C 7C 08 03 A6 */ mtlr r0 -/* 800524E0 0004F440 38 21 00 30 */ addi r1, r1, 0x30 -/* 800524E4 0004F444 4E 80 00 20 */ blr - -.global sub_800524e8 -sub_800524e8: -/* 800524E8 0004F448 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800524EC 0004F44C 7C 08 02 A6 */ mflr r0 -/* 800524F0 0004F450 90 01 00 34 */ stw r0, 0x34(r1) -/* 800524F4 0004F454 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800524F8 0004F458 7C 9C 23 78 */ mr r28, r4 -/* 800524FC 0004F45C 7C 7B 1B 78 */ mr r27, r3 -/* 80052500 0004F460 7C BD 2B 78 */ mr r29, r5 -/* 80052504 0004F464 83 C4 00 04 */ lwz r30, 4(r4) -/* 80052508 0004F468 48 00 00 4C */ b lbl_80052554 -lbl_8005250C: -/* 8005250C 0004F46C 7F C4 F3 78 */ mr r4, r30 -/* 80052510 0004F470 38 61 00 0C */ addi r3, r1, 0xc -/* 80052514 0004F474 4B FF F9 51 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 80052518 0004F478 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8005251C 0004F47C 80 63 00 00 */ lwz r3, 0(r3) -/* 80052520 0004F480 48 00 06 7D */ bl GetName__6CIOWinCFv -/* 80052524 0004F484 7F A4 EB 78 */ mr r4, r29 -/* 80052528 0004F488 48 00 00 B9 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" -/* 8005252C 0004F48C 7C 7F 1B 78 */ mr r31, r3 -/* 80052530 0004F490 38 61 00 0C */ addi r3, r1, 0xc -/* 80052534 0004F494 4B FB 61 69 */ bl sub_8000869c -/* 80052538 0004F498 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8005253C 0004F49C 41 82 00 14 */ beq lbl_80052550 -/* 80052540 0004F4A0 7F 63 DB 78 */ mr r3, r27 -/* 80052544 0004F4A4 7F C4 F3 78 */ mr r4, r30 -/* 80052548 0004F4A8 4B FF F9 1D */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 8005254C 0004F4AC 48 00 00 80 */ b lbl_800525CC -lbl_80052550: -/* 80052550 0004F4B0 83 DE 00 08 */ lwz r30, 8(r30) -lbl_80052554: -/* 80052554 0004F4B4 28 1E 00 00 */ cmplwi r30, 0 -/* 80052558 0004F4B8 40 82 FF B4 */ bne lbl_8005250C -/* 8005255C 0004F4BC 83 DC 00 00 */ lwz r30, 0(r28) -/* 80052560 0004F4C0 48 00 00 4C */ b lbl_800525AC -lbl_80052564: -/* 80052564 0004F4C4 7F C4 F3 78 */ mr r4, r30 -/* 80052568 0004F4C8 38 61 00 08 */ addi r3, r1, 8 -/* 8005256C 0004F4CC 4B FF F8 F9 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 80052570 0004F4D0 80 61 00 08 */ lwz r3, 8(r1) -/* 80052574 0004F4D4 80 63 00 00 */ lwz r3, 0(r3) -/* 80052578 0004F4D8 48 00 06 25 */ bl GetName__6CIOWinCFv -/* 8005257C 0004F4DC 7F A4 EB 78 */ mr r4, r29 -/* 80052580 0004F4E0 48 00 00 61 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" -/* 80052584 0004F4E4 7C 7F 1B 78 */ mr r31, r3 -/* 80052588 0004F4E8 38 61 00 08 */ addi r3, r1, 8 -/* 8005258C 0004F4EC 4B FB 61 11 */ bl sub_8000869c -/* 80052590 0004F4F0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80052594 0004F4F4 41 82 00 14 */ beq lbl_800525A8 -/* 80052598 0004F4F8 7F 63 DB 78 */ mr r3, r27 -/* 8005259C 0004F4FC 7F C4 F3 78 */ mr r4, r30 -/* 800525A0 0004F500 4B FF F8 C5 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 800525A4 0004F504 48 00 00 28 */ b lbl_800525CC -lbl_800525A8: -/* 800525A8 0004F508 83 DE 00 08 */ lwz r30, 8(r30) -lbl_800525AC: -/* 800525AC 0004F50C 28 1E 00 00 */ cmplwi r30, 0 -/* 800525B0 0004F510 40 82 FF B4 */ bne lbl_80052564 -/* 800525B4 0004F514 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 -/* 800525B8 0004F518 90 1B 00 00 */ stw r0, 0(r27) -/* 800525BC 0004F51C 80 9B 00 00 */ lwz r4, 0(r27) -/* 800525C0 0004F520 80 64 00 04 */ lwz r3, 4(r4) -/* 800525C4 0004F524 38 03 00 01 */ addi r0, r3, 1 -/* 800525C8 0004F528 90 04 00 04 */ stw r0, 4(r4) -lbl_800525CC: -/* 800525CC 0004F52C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 800525D0 0004F530 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800525D4 0004F534 7C 08 03 A6 */ mtlr r0 -/* 800525D8 0004F538 38 21 00 30 */ addi r1, r1, 0x30 -/* 800525DC 0004F53C 4E 80 00 20 */ blr - -.global "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" -"find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat": -/* 800525E0 0004F540 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800525E4 0004F544 7C 08 02 A6 */ mflr r0 -/* 800525E8 0004F548 90 01 00 14 */ stw r0, 0x14(r1) -/* 800525EC 0004F54C 4B FD 81 89 */ bl sub_8002a774 -/* 800525F0 0004F550 7C 60 00 34 */ cntlzw r0, r3 -/* 800525F4 0004F554 54 03 D9 7E */ srwi r3, r0, 5 -/* 800525F8 0004F558 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800525FC 0004F55C 7C 08 03 A6 */ mtlr r0 -/* 80052600 0004F560 38 21 00 10 */ addi r1, r1, 0x10 -/* 80052604 0004F564 4E 80 00 20 */ blr - -.global sub_80052608 -sub_80052608: -/* 80052608 0004F568 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005260C 0004F56C 7C 08 02 A6 */ mflr r0 -/* 80052610 0004F570 90 01 00 34 */ stw r0, 0x34(r1) -/* 80052614 0004F574 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80052618 0004F578 7C 7E 1B 78 */ mr r30, r3 -/* 8005261C 0004F57C 7C 99 23 78 */ mr r25, r4 -/* 80052620 0004F580 7C BA 2B 78 */ mr r26, r5 -/* 80052624 0004F584 7C DF 33 78 */ mr r31, r6 -/* 80052628 0004F588 3B 80 00 00 */ li r28, 0 -/* 8005262C 0004F58C 83 63 00 04 */ lwz r27, 4(r3) -/* 80052630 0004F590 48 00 00 9C */ b lbl_800526CC -lbl_80052634: -/* 80052634 0004F594 7F 64 DB 78 */ mr r4, r27 -/* 80052638 0004F598 38 61 00 0C */ addi r3, r1, 0xc -/* 8005263C 0004F59C 4B FF F8 29 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 80052640 0004F5A0 7F 24 CB 78 */ mr r4, r25 -/* 80052644 0004F5A4 38 61 00 0C */ addi r3, r1, 0xc -/* 80052648 0004F5A8 48 00 05 25 */ bl "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" -/* 8005264C 0004F5AC 7C 7D 1B 78 */ mr r29, r3 -/* 80052650 0004F5B0 38 61 00 0C */ addi r3, r1, 0xc -/* 80052654 0004F5B4 4B FB 60 49 */ bl sub_8000869c -/* 80052658 0004F5B8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8005265C 0004F5BC 41 82 00 68 */ beq lbl_800526C4 -/* 80052660 0004F5C0 28 1C 00 00 */ cmplwi r28, 0 -/* 80052664 0004F5C4 40 82 00 10 */ bne lbl_80052674 -/* 80052668 0004F5C8 80 1B 00 08 */ lwz r0, 8(r27) -/* 8005266C 0004F5CC 90 1E 00 04 */ stw r0, 4(r30) -/* 80052670 0004F5D0 48 00 00 0C */ b lbl_8005267C -lbl_80052674: -/* 80052674 0004F5D4 80 1B 00 08 */ lwz r0, 8(r27) -/* 80052678 0004F5D8 90 1C 00 08 */ stw r0, 8(r28) -lbl_8005267C: -/* 8005267C 0004F5DC 93 5B 00 04 */ stw r26, 4(r27) -/* 80052680 0004F5E0 38 60 00 00 */ li r3, 0 -/* 80052684 0004F5E4 80 9E 00 04 */ lwz r4, 4(r30) -/* 80052688 0004F5E8 48 00 00 0C */ b lbl_80052694 -lbl_8005268C: -/* 8005268C 0004F5EC 7C 83 23 78 */ mr r3, r4 -/* 80052690 0004F5F0 80 84 00 08 */ lwz r4, 8(r4) -lbl_80052694: -/* 80052694 0004F5F4 28 04 00 00 */ cmplwi r4, 0 -/* 80052698 0004F5F8 41 82 00 10 */ beq lbl_800526A8 -/* 8005269C 0004F5FC 80 04 00 04 */ lwz r0, 4(r4) -/* 800526A0 0004F600 7C 00 D0 00 */ cmpw r0, r26 -/* 800526A4 0004F604 41 81 FF E8 */ bgt lbl_8005268C -lbl_800526A8: -/* 800526A8 0004F608 28 03 00 00 */ cmplwi r3, 0 -/* 800526AC 0004F60C 90 9B 00 08 */ stw r4, 8(r27) -/* 800526B0 0004F610 40 82 00 0C */ bne lbl_800526BC -/* 800526B4 0004F614 93 7E 00 04 */ stw r27, 4(r30) -/* 800526B8 0004F618 48 00 00 1C */ b lbl_800526D4 -lbl_800526BC: -/* 800526BC 0004F61C 93 63 00 08 */ stw r27, 8(r3) -/* 800526C0 0004F620 48 00 00 14 */ b lbl_800526D4 -lbl_800526C4: -/* 800526C4 0004F624 7F 7C DB 78 */ mr r28, r27 -/* 800526C8 0004F628 83 7B 00 08 */ lwz r27, 8(r27) -lbl_800526CC: -/* 800526CC 0004F62C 28 1B 00 00 */ cmplwi r27, 0 -/* 800526D0 0004F630 40 82 FF 64 */ bne lbl_80052634 -lbl_800526D4: -/* 800526D4 0004F634 83 7E 00 00 */ lwz r27, 0(r30) -/* 800526D8 0004F638 3B 80 00 00 */ li r28, 0 -/* 800526DC 0004F63C 48 00 00 9C */ b lbl_80052778 -lbl_800526E0: -/* 800526E0 0004F640 7F 64 DB 78 */ mr r4, r27 -/* 800526E4 0004F644 38 61 00 08 */ addi r3, r1, 8 -/* 800526E8 0004F648 4B FF F7 7D */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 800526EC 0004F64C 7F 24 CB 78 */ mr r4, r25 -/* 800526F0 0004F650 38 61 00 08 */ addi r3, r1, 8 -/* 800526F4 0004F654 48 00 04 79 */ bl "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" -/* 800526F8 0004F658 7C 7D 1B 78 */ mr r29, r3 -/* 800526FC 0004F65C 38 61 00 08 */ addi r3, r1, 8 -/* 80052700 0004F660 4B FB 5F 9D */ bl sub_8000869c -/* 80052704 0004F664 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80052708 0004F668 41 82 00 68 */ beq lbl_80052770 -/* 8005270C 0004F66C 28 1C 00 00 */ cmplwi r28, 0 -/* 80052710 0004F670 40 82 00 10 */ bne lbl_80052720 -/* 80052714 0004F674 80 1B 00 08 */ lwz r0, 8(r27) -/* 80052718 0004F678 90 1E 00 00 */ stw r0, 0(r30) -/* 8005271C 0004F67C 48 00 00 0C */ b lbl_80052728 -lbl_80052720: -/* 80052720 0004F680 80 1B 00 08 */ lwz r0, 8(r27) -/* 80052724 0004F684 90 1C 00 08 */ stw r0, 8(r28) -lbl_80052728: -/* 80052728 0004F688 93 FB 00 04 */ stw r31, 4(r27) -/* 8005272C 0004F68C 38 60 00 00 */ li r3, 0 -/* 80052730 0004F690 80 9E 00 00 */ lwz r4, 0(r30) -/* 80052734 0004F694 48 00 00 0C */ b lbl_80052740 -lbl_80052738: -/* 80052738 0004F698 7C 83 23 78 */ mr r3, r4 -/* 8005273C 0004F69C 80 84 00 08 */ lwz r4, 8(r4) -lbl_80052740: -/* 80052740 0004F6A0 28 04 00 00 */ cmplwi r4, 0 -/* 80052744 0004F6A4 41 82 00 10 */ beq lbl_80052754 -/* 80052748 0004F6A8 80 04 00 04 */ lwz r0, 4(r4) -/* 8005274C 0004F6AC 7C 00 F8 00 */ cmpw r0, r31 -/* 80052750 0004F6B0 41 81 FF E8 */ bgt lbl_80052738 -lbl_80052754: -/* 80052754 0004F6B4 28 03 00 00 */ cmplwi r3, 0 -/* 80052758 0004F6B8 90 9B 00 08 */ stw r4, 8(r27) -/* 8005275C 0004F6BC 40 82 00 0C */ bne lbl_80052768 -/* 80052760 0004F6C0 93 7E 00 00 */ stw r27, 0(r30) -/* 80052764 0004F6C4 48 00 00 1C */ b lbl_80052780 -lbl_80052768: -/* 80052768 0004F6C8 93 63 00 08 */ stw r27, 8(r3) -/* 8005276C 0004F6CC 48 00 00 14 */ b lbl_80052780 -lbl_80052770: -/* 80052770 0004F6D0 7F 7C DB 78 */ mr r28, r27 -/* 80052774 0004F6D4 83 7B 00 08 */ lwz r27, 8(r27) -lbl_80052778: -/* 80052778 0004F6D8 28 1B 00 00 */ cmplwi r27, 0 -/* 8005277C 0004F6DC 40 82 FF 64 */ bne lbl_800526E0 -lbl_80052780: -/* 80052780 0004F6E0 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80052784 0004F6E4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80052788 0004F6E8 7C 08 03 A6 */ mtlr r0 -/* 8005278C 0004F6EC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80052790 0004F6F0 4E 80 00 20 */ blr - -.global RemoveAllIOWins__13CIOWinManagerFv -RemoveAllIOWins__13CIOWinManagerFv: -/* 80052794 0004F6F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80052798 0004F6F8 7C 08 02 A6 */ mflr r0 -/* 8005279C 0004F6FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 800527A0 0004F700 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800527A4 0004F704 7C 7F 1B 78 */ mr r31, r3 -/* 800527A8 0004F708 48 00 00 20 */ b lbl_800527C8 -lbl_800527AC: -/* 800527AC 0004F70C 38 61 00 0C */ addi r3, r1, 0xc -/* 800527B0 0004F710 4B FF F6 B5 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 800527B4 0004F714 7F E3 FB 78 */ mr r3, r31 -/* 800527B8 0004F718 38 81 00 0C */ addi r4, r1, 0xc -/* 800527BC 0004F71C 48 00 00 59 */ bl "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" -/* 800527C0 0004F720 38 61 00 0C */ addi r3, r1, 0xc -/* 800527C4 0004F724 4B FB 5E D9 */ bl sub_8000869c -lbl_800527C8: -/* 800527C8 0004F728 80 9F 00 00 */ lwz r4, 0(r31) -/* 800527CC 0004F72C 28 04 00 00 */ cmplwi r4, 0 -/* 800527D0 0004F730 40 82 FF DC */ bne lbl_800527AC -/* 800527D4 0004F734 48 00 00 20 */ b lbl_800527F4 -lbl_800527D8: -/* 800527D8 0004F738 38 61 00 08 */ addi r3, r1, 8 -/* 800527DC 0004F73C 4B FF F6 89 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 800527E0 0004F740 7F E3 FB 78 */ mr r3, r31 -/* 800527E4 0004F744 38 81 00 08 */ addi r4, r1, 8 -/* 800527E8 0004F748 48 00 00 2D */ bl "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" -/* 800527EC 0004F74C 38 61 00 08 */ addi r3, r1, 8 -/* 800527F0 0004F750 4B FB 5E AD */ bl sub_8000869c -lbl_800527F4: -/* 800527F4 0004F754 80 9F 00 04 */ lwz r4, 4(r31) -/* 800527F8 0004F758 28 04 00 00 */ cmplwi r4, 0 -/* 800527FC 0004F75C 40 82 FF DC */ bne lbl_800527D8 -/* 80052800 0004F760 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80052804 0004F764 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80052808 0004F768 7C 08 03 A6 */ mtlr r0 -/* 8005280C 0004F76C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80052810 0004F770 4E 80 00 20 */ blr - -.global "RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>" -"RemoveIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>": -/* 80052814 0004F774 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80052818 0004F778 7C 08 02 A6 */ mflr r0 -/* 8005281C 0004F77C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80052820 0004F780 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80052824 0004F784 7C 7B 1B 78 */ mr r27, r3 -/* 80052828 0004F788 7C 9C 23 78 */ mr r28, r4 -/* 8005282C 0004F78C 3B A0 00 00 */ li r29, 0 -/* 80052830 0004F790 83 C3 00 04 */ lwz r30, 4(r3) -/* 80052834 0004F794 48 00 00 78 */ b lbl_800528AC -lbl_80052838: -/* 80052838 0004F798 7F C4 F3 78 */ mr r4, r30 -/* 8005283C 0004F79C 38 61 00 0C */ addi r3, r1, 0xc -/* 80052840 0004F7A0 4B FF F6 25 */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 80052844 0004F7A4 7F 84 E3 78 */ mr r4, r28 -/* 80052848 0004F7A8 38 61 00 0C */ addi r3, r1, 0xc -/* 8005284C 0004F7AC 48 00 03 21 */ bl "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" -/* 80052850 0004F7B0 7C 7F 1B 78 */ mr r31, r3 -/* 80052854 0004F7B4 38 61 00 0C */ addi r3, r1, 0xc -/* 80052858 0004F7B8 4B FB 5E 45 */ bl sub_8000869c -/* 8005285C 0004F7BC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80052860 0004F7C0 41 82 00 44 */ beq lbl_800528A4 -/* 80052864 0004F7C4 28 1D 00 00 */ cmplwi r29, 0 -/* 80052868 0004F7C8 40 82 00 10 */ bne lbl_80052878 -/* 8005286C 0004F7CC 80 1E 00 08 */ lwz r0, 8(r30) -/* 80052870 0004F7D0 90 1B 00 04 */ stw r0, 4(r27) -/* 80052874 0004F7D4 48 00 00 0C */ b lbl_80052880 -lbl_80052878: -/* 80052878 0004F7D8 80 1E 00 08 */ lwz r0, 8(r30) -/* 8005287C 0004F7DC 90 1D 00 08 */ stw r0, 8(r29) -lbl_80052880: -/* 80052880 0004F7E0 28 1E 00 00 */ cmplwi r30, 0 -/* 80052884 0004F7E4 41 82 00 30 */ beq lbl_800528B4 -/* 80052888 0004F7E8 41 82 00 10 */ beq lbl_80052898 -/* 8005288C 0004F7EC 41 82 00 0C */ beq lbl_80052898 -/* 80052890 0004F7F0 7F C3 F3 78 */ mr r3, r30 -/* 80052894 0004F7F4 4B FB 5E 09 */ bl sub_8000869c -lbl_80052898: -/* 80052898 0004F7F8 7F C3 F3 78 */ mr r3, r30 -/* 8005289C 0004F7FC 48 2C 30 95 */ bl Free__7CMemoryFPCv -/* 800528A0 0004F800 48 00 00 14 */ b lbl_800528B4 -lbl_800528A4: -/* 800528A4 0004F804 7F DD F3 78 */ mr r29, r30 -/* 800528A8 0004F808 83 DE 00 08 */ lwz r30, 8(r30) -lbl_800528AC: -/* 800528AC 0004F80C 28 1E 00 00 */ cmplwi r30, 0 -/* 800528B0 0004F810 40 82 FF 88 */ bne lbl_80052838 -lbl_800528B4: -/* 800528B4 0004F814 83 BB 00 00 */ lwz r29, 0(r27) -/* 800528B8 0004F818 3B C0 00 00 */ li r30, 0 -/* 800528BC 0004F81C 48 00 00 78 */ b lbl_80052934 -lbl_800528C0: -/* 800528C0 0004F820 7F A4 EB 78 */ mr r4, r29 -/* 800528C4 0004F824 38 61 00 08 */ addi r3, r1, 8 -/* 800528C8 0004F828 4B FF F5 9D */ bl GetIOWin__Q213CIOWinManager11IOWinPQNodeCFv -/* 800528CC 0004F82C 7F 84 E3 78 */ mr r4, r28 -/* 800528D0 0004F830 38 61 00 08 */ addi r3, r1, 8 -/* 800528D4 0004F834 48 00 02 99 */ bl "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" -/* 800528D8 0004F838 7C 7F 1B 78 */ mr r31, r3 -/* 800528DC 0004F83C 38 61 00 08 */ addi r3, r1, 8 -/* 800528E0 0004F840 4B FB 5D BD */ bl sub_8000869c -/* 800528E4 0004F844 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800528E8 0004F848 41 82 00 44 */ beq lbl_8005292C -/* 800528EC 0004F84C 28 1E 00 00 */ cmplwi r30, 0 -/* 800528F0 0004F850 40 82 00 10 */ bne lbl_80052900 -/* 800528F4 0004F854 80 1D 00 08 */ lwz r0, 8(r29) -/* 800528F8 0004F858 90 1B 00 00 */ stw r0, 0(r27) -/* 800528FC 0004F85C 48 00 00 0C */ b lbl_80052908 -lbl_80052900: -/* 80052900 0004F860 80 1D 00 08 */ lwz r0, 8(r29) -/* 80052904 0004F864 90 1E 00 08 */ stw r0, 8(r30) -lbl_80052908: -/* 80052908 0004F868 28 1D 00 00 */ cmplwi r29, 0 -/* 8005290C 0004F86C 41 82 00 30 */ beq lbl_8005293C -/* 80052910 0004F870 41 82 00 10 */ beq lbl_80052920 -/* 80052914 0004F874 41 82 00 0C */ beq lbl_80052920 -/* 80052918 0004F878 7F A3 EB 78 */ mr r3, r29 -/* 8005291C 0004F87C 4B FB 5D 81 */ bl sub_8000869c -lbl_80052920: -/* 80052920 0004F880 7F A3 EB 78 */ mr r3, r29 -/* 80052924 0004F884 48 2C 30 0D */ bl Free__7CMemoryFPCv -/* 80052928 0004F888 48 00 00 14 */ b lbl_8005293C -lbl_8005292C: -/* 8005292C 0004F88C 7F BE EB 78 */ mr r30, r29 -/* 80052930 0004F890 83 BD 00 08 */ lwz r29, 8(r29) -lbl_80052934: -/* 80052934 0004F894 28 1D 00 00 */ cmplwi r29, 0 -/* 80052938 0004F898 40 82 FF 88 */ bne lbl_800528C0 -lbl_8005293C: -/* 8005293C 0004F89C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80052940 0004F8A0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80052944 0004F8A4 7C 08 03 A6 */ mtlr r0 -/* 80052948 0004F8A8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8005294C 0004F8AC 4E 80 00 20 */ blr - -.global "AddIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>ii" -"AddIOWin__13CIOWinManagerFQ24rstl17ncrc_ptr<6CIOWin>ii": -/* 80052950 0004F8B0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80052954 0004F8B4 7C 08 02 A6 */ mflr r0 -/* 80052958 0004F8B8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005295C 0004F8BC BF 01 00 10 */ stmw r24, 0x10(r1) -/* 80052960 0004F8C0 7C 7D 1B 78 */ mr r29, r3 -/* 80052964 0004F8C4 7C 9E 23 78 */ mr r30, r4 -/* 80052968 0004F8C8 7C B9 2B 78 */ mr r25, r5 -/* 8005296C 0004F8CC 7C DF 33 78 */ mr r31, r6 -/* 80052970 0004F8D0 3B 60 00 00 */ li r27, 0 -/* 80052974 0004F8D4 83 43 00 04 */ lwz r26, 4(r3) -/* 80052978 0004F8D8 48 00 00 0C */ b lbl_80052984 -lbl_8005297C: -/* 8005297C 0004F8DC 7F 5B D3 78 */ mr r27, r26 -/* 80052980 0004F8E0 83 5A 00 08 */ lwz r26, 8(r26) -lbl_80052984: -/* 80052984 0004F8E4 28 1A 00 00 */ cmplwi r26, 0 -/* 80052988 0004F8E8 41 82 00 10 */ beq lbl_80052998 -/* 8005298C 0004F8EC 80 1A 00 04 */ lwz r0, 4(r26) -/* 80052990 0004F8F0 7C 00 C8 00 */ cmpw r0, r25 -/* 80052994 0004F8F4 41 81 FF E8 */ bgt lbl_8005297C -lbl_80052998: -/* 80052998 0004F8F8 3C 60 80 3D */ lis r3, lbl_803CCF28@ha -/* 8005299C 0004F8FC 3B 00 00 00 */ li r24, 0 -/* 800529A0 0004F900 38 83 CF 28 */ addi r4, r3, lbl_803CCF28@l -/* 800529A4 0004F904 38 60 00 0C */ li r3, 0xc -/* 800529A8 0004F908 38 84 00 33 */ addi r4, r4, 0x33 -/* 800529AC 0004F90C 38 A0 00 00 */ li r5, 0 -/* 800529B0 0004F910 48 2C 2E BD */ bl __nw__FUlPCcPCc -/* 800529B4 0004F914 7C 7C 1B 79 */ or. r28, r3, r3 -/* 800529B8 0004F918 41 82 00 30 */ beq lbl_800529E8 -/* 800529BC 0004F91C 81 1E 00 00 */ lwz r8, 0(r30) -/* 800529C0 0004F920 7F 25 CB 78 */ mr r5, r25 -/* 800529C4 0004F924 7F 46 D3 78 */ mr r6, r26 -/* 800529C8 0004F928 38 81 00 0C */ addi r4, r1, 0xc -/* 800529CC 0004F92C 91 01 00 0C */ stw r8, 0xc(r1) -/* 800529D0 0004F930 3B 00 00 01 */ li r24, 1 -/* 800529D4 0004F934 80 E8 00 04 */ lwz r7, 4(r8) -/* 800529D8 0004F938 38 07 00 01 */ addi r0, r7, 1 -/* 800529DC 0004F93C 90 08 00 04 */ stw r0, 4(r8) -/* 800529E0 0004F940 48 00 00 DD */ bl "__ct__Q213CIOWinManager11IOWinPQNodeFQ24rstl17ncrc_ptr<6CIOWin>iPQ213CIOWinManager11IOWinPQNode" -/* 800529E4 0004F944 7C 7C 1B 78 */ mr r28, r3 -lbl_800529E8: -/* 800529E8 0004F948 7F 00 07 75 */ extsb. r0, r24 -/* 800529EC 0004F94C 41 82 00 0C */ beq lbl_800529F8 -/* 800529F0 0004F950 38 61 00 0C */ addi r3, r1, 0xc -/* 800529F4 0004F954 4B FB 5C A9 */ bl sub_8000869c -lbl_800529F8: -/* 800529F8 0004F958 28 1B 00 00 */ cmplwi r27, 0 -/* 800529FC 0004F95C 40 82 00 0C */ bne lbl_80052A08 -/* 80052A00 0004F960 93 9D 00 04 */ stw r28, 4(r29) -/* 80052A04 0004F964 48 00 00 08 */ b lbl_80052A0C -lbl_80052A08: -/* 80052A08 0004F968 93 9B 00 08 */ stw r28, 8(r27) -lbl_80052A0C: -/* 80052A0C 0004F96C 83 7D 00 00 */ lwz r27, 0(r29) -/* 80052A10 0004F970 3B 40 00 00 */ li r26, 0 -/* 80052A14 0004F974 48 00 00 0C */ b lbl_80052A20 -lbl_80052A18: -/* 80052A18 0004F978 7F 7A DB 78 */ mr r26, r27 -/* 80052A1C 0004F97C 83 7B 00 08 */ lwz r27, 8(r27) -lbl_80052A20: -/* 80052A20 0004F980 28 1B 00 00 */ cmplwi r27, 0 -/* 80052A24 0004F984 41 82 00 10 */ beq lbl_80052A34 -/* 80052A28 0004F988 80 1B 00 04 */ lwz r0, 4(r27) -/* 80052A2C 0004F98C 7C 00 F8 00 */ cmpw r0, r31 -/* 80052A30 0004F990 41 81 FF E8 */ bgt lbl_80052A18 -lbl_80052A34: -/* 80052A34 0004F994 3C 60 80 3D */ lis r3, lbl_803CCF28@ha -/* 80052A38 0004F998 3B 00 00 00 */ li r24, 0 -/* 80052A3C 0004F99C 38 83 CF 28 */ addi r4, r3, lbl_803CCF28@l -/* 80052A40 0004F9A0 38 60 00 0C */ li r3, 0xc -/* 80052A44 0004F9A4 38 84 00 33 */ addi r4, r4, 0x33 -/* 80052A48 0004F9A8 38 A0 00 00 */ li r5, 0 -/* 80052A4C 0004F9AC 48 2C 2E 21 */ bl __nw__FUlPCcPCc -/* 80052A50 0004F9B0 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80052A54 0004F9B4 41 82 00 30 */ beq lbl_80052A84 -/* 80052A58 0004F9B8 81 1E 00 00 */ lwz r8, 0(r30) -/* 80052A5C 0004F9BC 7F E5 FB 78 */ mr r5, r31 -/* 80052A60 0004F9C0 7F 66 DB 78 */ mr r6, r27 -/* 80052A64 0004F9C4 38 81 00 08 */ addi r4, r1, 8 -/* 80052A68 0004F9C8 91 01 00 08 */ stw r8, 8(r1) -/* 80052A6C 0004F9CC 3B 00 00 01 */ li r24, 1 -/* 80052A70 0004F9D0 80 E8 00 04 */ lwz r7, 4(r8) -/* 80052A74 0004F9D4 38 07 00 01 */ addi r0, r7, 1 -/* 80052A78 0004F9D8 90 08 00 04 */ stw r0, 4(r8) -/* 80052A7C 0004F9DC 48 00 00 41 */ bl "__ct__Q213CIOWinManager11IOWinPQNodeFQ24rstl17ncrc_ptr<6CIOWin>iPQ213CIOWinManager11IOWinPQNode" -/* 80052A80 0004F9E0 7C 7C 1B 78 */ mr r28, r3 -lbl_80052A84: -/* 80052A84 0004F9E4 7F 00 07 75 */ extsb. r0, r24 -/* 80052A88 0004F9E8 41 82 00 0C */ beq lbl_80052A94 -/* 80052A8C 0004F9EC 38 61 00 08 */ addi r3, r1, 8 -/* 80052A90 0004F9F0 4B FB 5C 0D */ bl sub_8000869c -lbl_80052A94: -/* 80052A94 0004F9F4 28 1A 00 00 */ cmplwi r26, 0 -/* 80052A98 0004F9F8 40 82 00 0C */ bne lbl_80052AA4 -/* 80052A9C 0004F9FC 93 9D 00 00 */ stw r28, 0(r29) -/* 80052AA0 0004FA00 48 00 00 08 */ b lbl_80052AA8 -lbl_80052AA4: -/* 80052AA4 0004FA04 93 9A 00 08 */ stw r28, 8(r26) -lbl_80052AA8: -/* 80052AA8 0004FA08 BB 01 00 10 */ lmw r24, 0x10(r1) -/* 80052AAC 0004FA0C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80052AB0 0004FA10 7C 08 03 A6 */ mtlr r0 -/* 80052AB4 0004FA14 38 21 00 30 */ addi r1, r1, 0x30 -/* 80052AB8 0004FA18 4E 80 00 20 */ blr - -.global "__ct__Q213CIOWinManager11IOWinPQNodeFQ24rstl17ncrc_ptr<6CIOWin>iPQ213CIOWinManager11IOWinPQNode" -"__ct__Q213CIOWinManager11IOWinPQNodeFQ24rstl17ncrc_ptr<6CIOWin>iPQ213CIOWinManager11IOWinPQNode": -/* 80052ABC 0004FA1C 80 04 00 00 */ lwz r0, 0(r4) -/* 80052AC0 0004FA20 90 03 00 00 */ stw r0, 0(r3) -/* 80052AC4 0004FA24 80 E3 00 00 */ lwz r7, 0(r3) -/* 80052AC8 0004FA28 80 87 00 04 */ lwz r4, 4(r7) -/* 80052ACC 0004FA2C 38 04 00 01 */ addi r0, r4, 1 -/* 80052AD0 0004FA30 90 07 00 04 */ stw r0, 4(r7) -/* 80052AD4 0004FA34 90 A3 00 04 */ stw r5, 4(r3) -/* 80052AD8 0004FA38 90 C3 00 08 */ stw r6, 8(r3) -/* 80052ADC 0004FA3C 4E 80 00 20 */ blr - -.global sub_80052ae0 -sub_80052ae0: -/* 80052AE0 0004FA40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80052AE4 0004FA44 7C 08 02 A6 */ mflr r0 -/* 80052AE8 0004FA48 90 01 00 14 */ stw r0, 0x14(r1) -/* 80052AEC 0004FA4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80052AF0 0004FA50 7C 9F 23 78 */ mr r31, r4 -/* 80052AF4 0004FA54 93 C1 00 08 */ stw r30, 8(r1) -/* 80052AF8 0004FA58 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80052AFC 0004FA5C 41 82 00 2C */ beq lbl_80052B28 -/* 80052B00 0004FA60 4B FF FC 95 */ bl RemoveAllIOWins__13CIOWinManagerFv -/* 80052B04 0004FA64 34 1E 00 08 */ addic. r0, r30, 8 -/* 80052B08 0004FA68 41 82 00 10 */ beq lbl_80052B18 -/* 80052B0C 0004FA6C 38 7E 00 08 */ addi r3, r30, 8 -/* 80052B10 0004FA70 38 80 FF FF */ li r4, -1 -/* 80052B14 0004FA74 4B FB 65 95 */ bl sub_800090a8 -lbl_80052B18: -/* 80052B18 0004FA78 7F E0 07 35 */ extsh. r0, r31 -/* 80052B1C 0004FA7C 40 81 00 0C */ ble lbl_80052B28 -/* 80052B20 0004FA80 7F C3 F3 78 */ mr r3, r30 -/* 80052B24 0004FA84 48 2C 2E 0D */ bl Free__7CMemoryFPCv -lbl_80052B28: -/* 80052B28 0004FA88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80052B2C 0004FA8C 7F C3 F3 78 */ mr r3, r30 -/* 80052B30 0004FA90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80052B34 0004FA94 83 C1 00 08 */ lwz r30, 8(r1) -/* 80052B38 0004FA98 7C 08 03 A6 */ mtlr r0 -/* 80052B3C 0004FA9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80052B40 0004FAA0 4E 80 00 20 */ blr - -.global __ct__13CIOWinManagerFv -__ct__13CIOWinManagerFv: -/* 80052B44 0004FAA4 38 80 00 00 */ li r4, 0 -/* 80052B48 0004FAA8 38 03 00 14 */ addi r0, r3, 0x14 -/* 80052B4C 0004FAAC 90 83 00 00 */ stw r4, 0(r3) -/* 80052B50 0004FAB0 90 83 00 04 */ stw r4, 4(r3) -/* 80052B54 0004FAB4 90 03 00 0C */ stw r0, 0xc(r3) -/* 80052B58 0004FAB8 90 03 00 10 */ stw r0, 0x10(r3) -/* 80052B5C 0004FABC 90 03 00 14 */ stw r0, 0x14(r3) -/* 80052B60 0004FAC0 90 03 00 18 */ stw r0, 0x18(r3) -/* 80052B64 0004FAC4 90 83 00 1C */ stw r4, 0x1c(r3) -/* 80052B68 0004FAC8 4E 80 00 20 */ blr - -.global "__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>" -"__eq<6CIOWin>__4rstlFRCQ24rstl15rc_ptr<6CIOWin>RCQ24rstl15rc_ptr<6CIOWin>": -/* 80052B6C 0004FACC 80 A3 00 00 */ lwz r5, 0(r3) -/* 80052B70 0004FAD0 80 64 00 00 */ lwz r3, 0(r4) -/* 80052B74 0004FAD4 80 85 00 00 */ lwz r4, 0(r5) -/* 80052B78 0004FAD8 80 03 00 00 */ lwz r0, 0(r3) -/* 80052B7C 0004FADC 7C 04 00 50 */ subf r0, r4, r0 -/* 80052B80 0004FAE0 7C 00 00 34 */ cntlzw r0, r0 -/* 80052B84 0004FAE4 54 03 D9 7E */ srwi r3, r0, 5 -/* 80052B88 0004FAE8 4E 80 00 20 */ blr - -.global PreDraw__6CIOWinCFv -PreDraw__6CIOWinCFv: -/* 80052B8C 0004FAEC 4E 80 00 20 */ blr - -.global Draw__6CIOWinCFv -Draw__6CIOWinCFv: -/* 80052B90 0004FAF0 4E 80 00 20 */ blr - -.global GetIsContinueDraw__6CIOWinCFv -GetIsContinueDraw__6CIOWinCFv: -/* 80052B94 0004FAF4 38 60 00 01 */ li r3, 1 -/* 80052B98 0004FAF8 4E 80 00 20 */ blr - -.global GetName__6CIOWinCFv -GetName__6CIOWinCFv: -/* 80052B9C 0004FAFC 38 63 00 04 */ addi r3, r3, 4 -/* 80052BA0 0004FB00 4E 80 00 20 */ blr - -.global __dt__6CIOWinFv -__dt__6CIOWinFv: -/* 80052BA4 0004FB04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80052BA8 0004FB08 7C 08 02 A6 */ mflr r0 -/* 80052BAC 0004FB0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80052BB0 0004FB10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80052BB4 0004FB14 7C 9F 23 78 */ mr r31, r4 -/* 80052BB8 0004FB18 93 C1 00 08 */ stw r30, 8(r1) -/* 80052BBC 0004FB1C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80052BC0 0004FB20 41 82 00 30 */ beq lbl_80052BF0 -/* 80052BC4 0004FB24 3C 60 80 3E */ lis r3, lbl_803D9E90@ha -/* 80052BC8 0004FB28 34 1E 00 04 */ addic. r0, r30, 4 -/* 80052BCC 0004FB2C 38 03 9E 90 */ addi r0, r3, lbl_803D9E90@l -/* 80052BD0 0004FB30 90 1E 00 00 */ stw r0, 0(r30) -/* 80052BD4 0004FB34 41 82 00 0C */ beq lbl_80052BE0 -/* 80052BD8 0004FB38 38 7E 00 04 */ addi r3, r30, 4 -/* 80052BDC 0004FB3C 48 2E AF 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80052BE0: -/* 80052BE0 0004FB40 7F E0 07 35 */ extsh. r0, r31 -/* 80052BE4 0004FB44 40 81 00 0C */ ble lbl_80052BF0 -/* 80052BE8 0004FB48 7F C3 F3 78 */ mr r3, r30 -/* 80052BEC 0004FB4C 48 2C 2D 45 */ bl Free__7CMemoryFPCv -lbl_80052BF0: -/* 80052BF0 0004FB50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80052BF4 0004FB54 7F C3 F3 78 */ mr r3, r30 -/* 80052BF8 0004FB58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80052BFC 0004FB5C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80052C00 0004FB60 7C 08 03 A6 */ mtlr r0 -/* 80052C04 0004FB64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80052C08 0004FB68 4E 80 00 20 */ blr - -.global "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 80052C0C 0004FB6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80052C10 0004FB70 7C 08 02 A6 */ mflr r0 -/* 80052C14 0004FB74 3C A0 80 3E */ lis r5, lbl_803D9E90@ha -/* 80052C18 0004FB78 90 01 00 14 */ stw r0, 0x14(r1) -/* 80052C1C 0004FB7C 38 05 9E 90 */ addi r0, r5, lbl_803D9E90@l -/* 80052C20 0004FB80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80052C24 0004FB84 7C 7F 1B 78 */ mr r31, r3 -/* 80052C28 0004FB88 90 03 00 00 */ stw r0, 0(r3) -/* 80052C2C 0004FB8C 38 7F 00 04 */ addi r3, r31, 4 -/* 80052C30 0004FB90 48 2E B5 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80052C34 0004FB94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80052C38 0004FB98 7F E3 FB 78 */ mr r3, r31 -/* 80052C3C 0004FB9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80052C40 0004FBA0 7C 08 03 A6 */ mtlr r0 -/* 80052C44 0004FBA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80052C48 0004FBA8 4E 80 00 20 */ blr - -.global UpdateSfxEmitters__6CActorFv -UpdateSfxEmitters__6CActorFv: -/* 80052C4C 0004FBAC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80052C50 0004FBB0 7C 08 02 A6 */ mflr r0 -/* 80052C54 0004FBB4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80052C58 0004FBB8 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80052C5C 0004FBBC 7C 7A 1B 78 */ mr r26, r3 -/* 80052C60 0004FBC0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80052C64 0004FBC4 3B 60 00 00 */ li r27, 0 -/* 80052C68 0004FBC8 3B BA 00 DC */ addi r29, r26, 0xdc -/* 80052C6C 0004FBCC 3B E0 00 00 */ li r31, 0 -/* 80052C70 0004FBD0 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 80052C74 0004FBD4 83 9A 00 D8 */ lwz r28, 0xd8(r26) -/* 80052C78 0004FBD8 48 00 00 40 */ b lbl_80052CB8 -lbl_80052C7C: -/* 80052C7C 0004FBDC C0 5A 00 60 */ lfs f2, 0x60(r26) -/* 80052C80 0004FBE0 7F C5 F3 78 */ mr r5, r30 -/* 80052C84 0004FBE4 C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80052C88 0004FBE8 38 61 00 08 */ addi r3, r1, 8 -/* 80052C8C 0004FBEC C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 80052C90 0004FBF0 38 81 00 0C */ addi r4, r1, 0xc -/* 80052C94 0004FBF4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80052C98 0004FBF8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80052C9C 0004FBFC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80052CA0 0004FC00 7C 1D F8 2E */ lwzx r0, r29, r31 -/* 80052CA4 0004FC04 90 01 00 08 */ stw r0, 8(r1) -/* 80052CA8 0004FC08 88 DA 00 D4 */ lbz r6, 0xd4(r26) -/* 80052CAC 0004FC0C 48 29 72 05 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -/* 80052CB0 0004FC10 3B 7B 00 01 */ addi r27, r27, 1 -/* 80052CB4 0004FC14 3B FF 00 04 */ addi r31, r31, 4 -lbl_80052CB8: -/* 80052CB8 0004FC18 7C 1B E0 40 */ cmplw r27, r28 -/* 80052CBC 0004FC1C 41 80 FF C0 */ blt lbl_80052C7C -/* 80052CC0 0004FC20 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80052CC4 0004FC24 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80052CC8 0004FC28 7C 08 03 A6 */ mtlr r0 -/* 80052CCC 0004FC2C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80052CD0 0004FC30 4E 80 00 20 */ blr - -.global CanDrawStatic__6CActorCFv -CanDrawStatic__6CActorCFv: -/* 80052CD4 0004FC34 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80052CD8 0004FC38 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80052CDC 0004FC3C 41 82 00 48 */ beq lbl_80052D24 -/* 80052CE0 0004FC40 80 A3 00 64 */ lwz r5, 0x64(r3) -/* 80052CE4 0004FC44 38 80 00 00 */ li r4, 0 -/* 80052CE8 0004FC48 28 05 00 00 */ cmplwi r5, 0 -/* 80052CEC 0004FC4C 41 82 00 20 */ beq lbl_80052D0C -/* 80052CF0 0004FC50 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80052CF4 0004FC54 28 00 00 00 */ cmplwi r0, 0 -/* 80052CF8 0004FC58 40 82 00 10 */ bne lbl_80052D08 -/* 80052CFC 0004FC5C 88 05 00 28 */ lbz r0, 0x28(r5) -/* 80052D00 0004FC60 28 00 00 00 */ cmplwi r0, 0 -/* 80052D04 0004FC64 41 82 00 08 */ beq lbl_80052D0C -lbl_80052D08: -/* 80052D08 0004FC68 38 80 00 01 */ li r4, 1 -lbl_80052D0C: -/* 80052D0C 0004FC6C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80052D10 0004FC70 41 82 00 14 */ beq lbl_80052D24 -/* 80052D14 0004FC74 88 03 00 B4 */ lbz r0, 0xb4(r3) -/* 80052D18 0004FC78 7C 00 07 74 */ extsb r0, r0 -/* 80052D1C 0004FC7C 2C 00 00 04 */ cmpwi r0, 4 -/* 80052D20 0004FC80 40 81 00 0C */ ble lbl_80052D2C -lbl_80052D24: -/* 80052D24 0004FC84 38 60 00 00 */ li r3, 0 -/* 80052D28 0004FC88 4E 80 00 20 */ blr -lbl_80052D2C: -/* 80052D2C 0004FC8C 80 85 00 10 */ lwz r4, 0x10(r5) -/* 80052D30 0004FC90 38 60 00 00 */ li r3, 0 -/* 80052D34 0004FC94 28 04 00 00 */ cmplwi r4, 0 -/* 80052D38 0004FC98 40 82 00 14 */ bne lbl_80052D4C -/* 80052D3C 0004FC9C 88 05 00 28 */ lbz r0, 0x28(r5) -/* 80052D40 0004FCA0 28 00 00 00 */ cmplwi r0, 0 -/* 80052D44 0004FCA4 40 82 00 08 */ bne lbl_80052D4C -/* 80052D48 0004FCA8 38 60 00 01 */ li r3, 1 -lbl_80052D4C: -/* 80052D4C 0004FCAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80052D50 0004FCB0 40 82 00 0C */ bne lbl_80052D5C -/* 80052D54 0004FCB4 28 04 00 00 */ cmplwi r4, 0 -/* 80052D58 0004FCB8 41 82 00 0C */ beq lbl_80052D64 -lbl_80052D5C: -/* 80052D5C 0004FCBC 38 60 00 00 */ li r3, 0 -/* 80052D60 0004FCC0 4E 80 00 20 */ blr -lbl_80052D64: -/* 80052D64 0004FCC4 38 60 00 01 */ li r3, 1 -/* 80052D68 0004FCC8 4E 80 00 20 */ blr - -.global CreateShadow__6CActorFb -CreateShadow__6CActorFb: -/* 80052D6C 0004FCCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80052D70 0004FCD0 7C 08 02 A6 */ mflr r0 -/* 80052D74 0004FCD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80052D78 0004FCD8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80052D7C 0004FCDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80052D80 0004FCE0 7C 9F 23 78 */ mr r31, r4 -/* 80052D84 0004FCE4 93 C1 00 08 */ stw r30, 8(r1) -/* 80052D88 0004FCE8 7C 7E 1B 78 */ mr r30, r3 -/* 80052D8C 0004FCEC 41 82 00 2C */ beq lbl_80052DB8 -/* 80052D90 0004FCF0 48 00 00 4D */ bl CreateShadow__6CActorFv -/* 80052D94 0004FCF4 88 7E 00 E5 */ lbz r3, 0xe5(r30) -/* 80052D98 0004FCF8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80052D9C 0004FCFC 40 82 00 1C */ bne lbl_80052DB8 -/* 80052DA0 0004FD00 80 1E 00 94 */ lwz r0, 0x94(r30) -/* 80052DA4 0004FD04 28 00 00 00 */ cmplwi r0, 0 -/* 80052DA8 0004FD08 41 82 00 10 */ beq lbl_80052DB8 -/* 80052DAC 0004FD0C 38 00 00 01 */ li r0, 1 -/* 80052DB0 0004FD10 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 -/* 80052DB4 0004FD14 98 7E 00 E5 */ stb r3, 0xe5(r30) -lbl_80052DB8: -/* 80052DB8 0004FD18 88 1E 00 E5 */ lbz r0, 0xe5(r30) -/* 80052DBC 0004FD1C 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 -/* 80052DC0 0004FD20 98 1E 00 E5 */ stb r0, 0xe5(r30) -/* 80052DC4 0004FD24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80052DC8 0004FD28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80052DCC 0004FD2C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80052DD0 0004FD30 7C 08 03 A6 */ mtlr r0 -/* 80052DD4 0004FD34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80052DD8 0004FD38 4E 80 00 20 */ blr - -.global CreateShadow__6CActorFv -CreateShadow__6CActorFv: -/* 80052DDC 0004FD3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80052DE0 0004FD40 7C 08 02 A6 */ mflr r0 -/* 80052DE4 0004FD44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80052DE8 0004FD48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80052DEC 0004FD4C 93 C1 00 08 */ stw r30, 8(r1) -/* 80052DF0 0004FD50 7C 7E 1B 78 */ mr r30, r3 -/* 80052DF4 0004FD54 80 03 00 94 */ lwz r0, 0x94(r3) -/* 80052DF8 0004FD58 28 00 00 00 */ cmplwi r0, 0 -/* 80052DFC 0004FD5C 40 82 00 78 */ bne lbl_80052E74 -/* 80052E00 0004FD60 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 80052E04 0004FD64 38 60 00 00 */ li r3, 0 -/* 80052E08 0004FD68 28 04 00 00 */ cmplwi r4, 0 -/* 80052E0C 0004FD6C 41 82 00 20 */ beq lbl_80052E2C -/* 80052E10 0004FD70 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80052E14 0004FD74 28 00 00 00 */ cmplwi r0, 0 -/* 80052E18 0004FD78 40 82 00 10 */ bne lbl_80052E28 -/* 80052E1C 0004FD7C 88 04 00 28 */ lbz r0, 0x28(r4) -/* 80052E20 0004FD80 28 00 00 00 */ cmplwi r0, 0 -/* 80052E24 0004FD84 41 82 00 08 */ beq lbl_80052E2C -lbl_80052E28: -/* 80052E28 0004FD88 38 60 00 01 */ li r3, 1 -lbl_80052E2C: -/* 80052E2C 0004FD8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80052E30 0004FD90 41 82 00 44 */ beq lbl_80052E74 -/* 80052E34 0004FD94 3C 80 80 3D */ lis r4, lbl_803CCF68@ha -/* 80052E38 0004FD98 38 60 00 4C */ li r3, 0x4c -/* 80052E3C 0004FD9C 38 84 CF 68 */ addi r4, r4, lbl_803CCF68@l -/* 80052E40 0004FDA0 38 A0 00 00 */ li r5, 0 -/* 80052E44 0004FDA4 48 2C 2A 29 */ bl __nw__FUlPCcPCc -/* 80052E48 0004FDA8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80052E4C 0004FDAC 41 82 00 1C */ beq lbl_80052E68 -/* 80052E50 0004FDB0 C0 22 86 30 */ lfs f1, lbl_805AA350@sda21(r2) -/* 80052E54 0004FDB4 C0 62 86 34 */ lfs f3, lbl_805AA354@sda21(r2) -/* 80052E58 0004FDB8 FC 40 08 90 */ fmr f2, f1 -/* 80052E5C 0004FDBC C0 82 86 38 */ lfs f4, lbl_805AA358@sda21(r2) -/* 80052E60 0004FDC0 48 0B 34 E1 */ bl __ct__13CSimpleShadowFffff -/* 80052E64 0004FDC4 7C 7F 1B 78 */ mr r31, r3 -lbl_80052E68: -/* 80052E68 0004FDC8 80 7E 00 94 */ lwz r3, 0x94(r30) -/* 80052E6C 0004FDCC 48 2C 2A C5 */ bl Free__7CMemoryFPCv -/* 80052E70 0004FDD0 93 FE 00 94 */ stw r31, 0x94(r30) -lbl_80052E74: -/* 80052E74 0004FDD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80052E78 0004FDD8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80052E7C 0004FDDC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80052E80 0004FDE0 7C 08 03 A6 */ mtlr r0 -/* 80052E84 0004FDE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80052E88 0004FDE8 4E 80 00 20 */ blr - -.global SetTranslation__6CActorFRC9CVector3f -SetTranslation__6CActorFRC9CVector3f: -/* 80052E8C 0004FDEC C0 04 00 00 */ lfs f0, 0(r4) -/* 80052E90 0004FDF0 38 A0 00 01 */ li r5, 1 -/* 80052E94 0004FDF4 D0 03 00 40 */ stfs f0, 0x40(r3) -/* 80052E98 0004FDF8 C0 04 00 04 */ lfs f0, 4(r4) -/* 80052E9C 0004FDFC D0 03 00 50 */ stfs f0, 0x50(r3) -/* 80052EA0 0004FE00 C0 04 00 08 */ lfs f0, 8(r4) -/* 80052EA4 0004FE04 D0 03 00 60 */ stfs f0, 0x60(r3) -/* 80052EA8 0004FE08 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 80052EAC 0004FE0C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 80052EB0 0004FE10 98 03 00 E4 */ stb r0, 0xe4(r3) -/* 80052EB4 0004FE14 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 80052EB8 0004FE18 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80052EBC 0004FE1C 98 03 00 E4 */ stb r0, 0xe4(r3) -/* 80052EC0 0004FE20 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 80052EC4 0004FE24 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80052EC8 0004FE28 98 03 00 E4 */ stb r0, 0xe4(r3) -/* 80052ECC 0004FE2C 4E 80 00 20 */ blr - -.global "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 80052ED0 0004FE30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80052ED4 0004FE34 7C 08 02 A6 */ mflr r0 -/* 80052ED8 0004FE38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80052EDC 0004FE3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80052EE0 0004FE40 7C 7F 1B 78 */ mr r31, r3 -/* 80052EE4 0004FE44 80 84 00 64 */ lwz r4, 0x64(r4) -/* 80052EE8 0004FE48 48 0C 2A B9 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80052EEC 0004FE4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80052EF0 0004FE50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80052EF4 0004FE54 7C 08 03 A6 */ mtlr r0 -/* 80052EF8 0004FE58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80052EFC 0004FE5C 4E 80 00 20 */ blr - -.global "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 80052F00 0004FE60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80052F04 0004FE64 7C 08 02 A6 */ mflr r0 -/* 80052F08 0004FE68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80052F0C 0004FE6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80052F10 0004FE70 7C 7F 1B 78 */ mr r31, r3 -/* 80052F14 0004FE74 80 84 00 64 */ lwz r4, 0x64(r4) -/* 80052F18 0004FE78 48 0C 2B 55 */ bl "GetLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80052F1C 0004FE7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80052F20 0004FE80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80052F24 0004FE84 7C 08 03 A6 */ mtlr r0 -/* 80052F28 0004FE88 38 21 00 10 */ addi r1, r1, 0x10 -/* 80052F2C 0004FE8C 4E 80 00 20 */ blr - -.global ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager -ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager: -/* 80052F30 0004FE90 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80052F34 0004FE94 7C 08 02 A6 */ mflr r0 -/* 80052F38 0004FE98 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80052F3C 0004FE9C DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 80052F40 0004FEA0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80052F44 0004FEA4 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 80052F48 0004FEA8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 80052F4C 0004FEAC DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 80052F50 0004FEB0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 80052F54 0004FEB4 BE 41 00 78 */ stmw r18, 0x78(r1) -/* 80052F58 0004FEB8 C0 88 00 00 */ lfs f4, 0(r8) -/* 80052F5C 0004FEBC FF C0 18 90 */ fmr f30, f3 -/* 80052F60 0004FEC0 C0 08 00 04 */ lfs f0, 4(r8) -/* 80052F64 0004FEC4 FF E0 08 90 */ fmr f31, f1 -/* 80052F68 0004FEC8 EC 64 01 32 */ fmuls f3, f4, f4 -/* 80052F6C 0004FECC C0 88 00 08 */ lfs f4, 8(r8) -/* 80052F70 0004FED0 EC 20 00 32 */ fmuls f1, f0, f0 -/* 80052F74 0004FED4 EC 84 01 32 */ fmuls f4, f4, f4 -/* 80052F78 0004FED8 82 E1 00 E8 */ lwz r23, 0xe8(r1) -/* 80052F7C 0004FEDC EC 1E 07 B2 */ fmuls f0, f30, f30 -/* 80052F80 0004FEE0 EC 23 08 2A */ fadds f1, f3, f1 -/* 80052F84 0004FEE4 88 01 00 EF */ lbz r0, 0xef(r1) -/* 80052F88 0004FEE8 FF A0 10 90 */ fmr f29, f2 -/* 80052F8C 0004FEEC 7C 7F 1B 78 */ mr r31, r3 -/* 80052F90 0004FEF0 7C 98 23 78 */ mr r24, r4 -/* 80052F94 0004FEF4 EC 24 08 2A */ fadds f1, f4, f1 -/* 80052F98 0004FEF8 7C B2 2B 78 */ mr r18, r5 -/* 80052F9C 0004FEFC 7C D3 33 78 */ mr r19, r6 -/* 80052FA0 0004FF00 7C F4 3B 78 */ mr r20, r7 -/* 80052FA4 0004FF04 7D 35 4B 78 */ mr r21, r9 -/* 80052FA8 0004FF08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80052FAC 0004FF0C 7D 56 53 78 */ mr r22, r10 -/* 80052FB0 0004FF10 40 80 02 E4 */ bge lbl_80053294 -/* 80052FB4 0004FF14 28 00 00 00 */ cmplwi r0, 0 -/* 80052FB8 0004FF18 41 82 00 10 */ beq lbl_80052FC8 -/* 80052FBC 0004FF1C 57 03 04 3E */ clrlwi r3, r24, 0x10 -/* 80052FC0 0004FF20 48 29 59 F1 */ bl TranslateSFXID__11CSfxManagerFUs -/* 80052FC4 0004FF24 48 00 00 08 */ b lbl_80052FCC -lbl_80052FC8: -/* 80052FC8 0004FF28 57 03 04 3E */ clrlwi r3, r24, 0x10 -lbl_80052FCC: -/* 80052FCC 0004FF2C 56 40 07 39 */ rlwinm. r0, r18, 0, 0x1c, 0x1c -/* 80052FD0 0004FF30 56 44 CF FE */ rlwinm r4, r18, 0x19, 0x1f, 0x1f -/* 80052FD4 0004FF34 7C 7E 1B 78 */ mr r30, r3 -/* 80052FD8 0004FF38 57 1B 0F FE */ srwi r27, r24, 0x1f -/* 80052FDC 0004FF3C 57 1A 17 FE */ rlwinm r26, r24, 2, 0x1f, 0x1f -/* 80052FE0 0004FF40 57 19 1F FE */ rlwinm r25, r24, 3, 0x1f, 0x1f -/* 80052FE4 0004FF44 68 98 00 01 */ xori r24, r4, 1 -/* 80052FE8 0004FF48 38 A0 00 01 */ li r5, 1 -/* 80052FEC 0004FF4C 41 82 00 08 */ beq lbl_80052FF4 -/* 80052FF0 0004FF50 60 A5 00 08 */ ori r5, r5, 8 -lbl_80052FF4: -/* 80052FF4 0004FF54 C0 02 86 3C */ lfs f0, lbl_805AA35C@sda21(r2) -/* 80052FF8 0004FF58 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80052FFC 0004FF5C 38 80 00 00 */ li r4, 0 -/* 80053000 0004FF60 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 80053004 0004FF64 B0 81 00 64 */ sth r4, 0x64(r1) -/* 80053008 0004FF68 3B A1 00 4C */ addi r29, r1, 0x4c -/* 8005300C 0004FF6C 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) -/* 80053010 0004FF70 57 DC 04 3E */ clrlwi r28, r30, 0x10 -/* 80053014 0004FF74 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80053018 0004FF78 C0 B5 00 00 */ lfs f5, 0(r21) -/* 8005301C 0004FF7C D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80053020 0004FF80 C0 95 00 04 */ lfs f4, 4(r21) -/* 80053024 0004FF84 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80053028 0004FF88 C0 75 00 08 */ lfs f3, 8(r21) -/* 8005302C 0004FF8C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80053030 0004FF90 C0 23 00 04 */ lfs f1, 4(r3) -/* 80053034 0004FF94 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80053038 0004FF98 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8005303C 0004FF9C C0 03 00 08 */ lfs f0, 8(r3) -/* 80053040 0004FFA0 D3 C1 00 58 */ stfs f30, 0x58(r1) -/* 80053044 0004FFA4 D3 A1 00 5C */ stfs f29, 0x5c(r1) -/* 80053048 0004FFA8 90 A1 00 60 */ stw r5, 0x60(r1) -/* 8005304C 0004FFAC 9A 81 00 66 */ stb r20, 0x66(r1) -/* 80053050 0004FFB0 9A 61 00 67 */ stb r19, 0x67(r1) -/* 80053054 0004FFB4 98 81 00 68 */ stb r4, 0x68(r1) -/* 80053058 0004FFB8 98 01 00 69 */ stb r0, 0x69(r1) -/* 8005305C 0004FFBC D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 80053060 0004FFC0 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 80053064 0004FFC4 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 80053068 0004FFC8 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8005306C 0004FFCC D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80053070 0004FFD0 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80053074 0004FFD4 B3 C1 00 64 */ sth r30, 0x64(r1) -/* 80053078 0004FFD8 80 77 09 00 */ lwz r3, 0x900(r23) -/* 8005307C 0004FFDC 48 2B F4 61 */ bl Float__9CRandom16Fv -/* 80053080 0004FFE0 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80053084 0004FFE4 4C 40 13 82 */ cror 2, 0, 2 -/* 80053088 0004FFE8 40 82 02 0C */ bne lbl_80053294 -/* 8005308C 0004FFEC 28 1B 00 00 */ cmplwi r27, 0 -/* 80053090 0004FFF0 41 82 01 48 */ beq lbl_800531D8 -/* 80053094 0004FFF4 80 9F 00 8C */ lwz r4, 0x8c(r31) -/* 80053098 0004FFF8 A0 1F 00 88 */ lhz r0, 0x88(r31) -/* 8005309C 0004FFFC 28 04 00 00 */ cmplwi r4, 0 -/* 800530A0 00050000 90 81 00 3C */ stw r4, 0x3c(r1) -/* 800530A4 00050004 40 82 00 98 */ bne lbl_8005313C -/* 800530A8 00050008 28 1A 00 00 */ cmplwi r26, 0 -/* 800530AC 0005000C 41 82 00 34 */ beq lbl_800530E0 -/* 800530B0 00050010 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800530B4 00050014 7F C4 F3 78 */ mr r4, r30 -/* 800530B8 00050018 7E CA B3 78 */ mr r10, r22 -/* 800530BC 0005001C 38 61 00 2C */ addi r3, r1, 0x2c -/* 800530C0 00050020 38 A0 00 7F */ li r5, 0x7f -/* 800530C4 00050024 38 C0 00 40 */ li r6, 0x40 -/* 800530C8 00050028 38 E0 00 01 */ li r7, 1 -/* 800530CC 0005002C 39 20 00 01 */ li r9, 1 -/* 800530D0 00050030 48 29 6C A5 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 800530D4 00050034 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800530D8 00050038 90 01 00 38 */ stw r0, 0x38(r1) -/* 800530DC 0005003C 48 00 00 28 */ b lbl_80053104 -lbl_800530E0: -/* 800530E0 00050040 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 800530E4 00050044 7E C8 B3 78 */ mr r8, r22 -/* 800530E8 00050048 38 61 00 28 */ addi r3, r1, 0x28 -/* 800530EC 0005004C 38 81 00 40 */ addi r4, r1, 0x40 -/* 800530F0 00050050 57 05 06 3E */ clrlwi r5, r24, 0x18 -/* 800530F4 00050054 38 E0 00 01 */ li r7, 1 -/* 800530F8 00050058 48 29 6E E9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 800530FC 0005005C 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80053100 00050060 90 01 00 38 */ stw r0, 0x38(r1) -lbl_80053104: -/* 80053104 00050064 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80053108 00050068 28 00 00 00 */ cmplwi r0, 0 -/* 8005310C 0005006C 41 82 01 88 */ beq lbl_80053294 -/* 80053110 00050070 B3 9F 00 88 */ sth r28, 0x88(r31) -/* 80053114 00050074 90 1F 00 8C */ stw r0, 0x8c(r31) -/* 80053118 00050078 88 1F 00 E6 */ lbz r0, 0xe6(r31) -/* 8005311C 0005007C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80053120 00050080 41 82 01 74 */ beq lbl_80053294 -/* 80053124 00050084 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80053128 00050088 38 61 00 24 */ addi r3, r1, 0x24 -/* 8005312C 0005008C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80053130 00050090 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80053134 00050094 48 29 5D 79 */ bl PitchBend__11CSfxManagerF10CSfxHandlei -/* 80053138 00050098 48 00 01 5C */ b lbl_80053294 -lbl_8005313C: -/* 8005313C 0005009C 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 80053140 000500A0 7F 80 E3 78 */ mr r0, r28 -/* 80053144 000500A4 7C 03 00 40 */ cmplw r3, r0 -/* 80053148 000500A8 40 82 00 20 */ bne lbl_80053168 -/* 8005314C 000500AC 90 81 00 20 */ stw r4, 0x20(r1) -/* 80053150 000500B0 7F A5 EB 78 */ mr r5, r29 -/* 80053154 000500B4 7E 86 A3 78 */ mr r6, r20 -/* 80053158 000500B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005315C 000500BC 38 81 00 40 */ addi r4, r1, 0x40 -/* 80053160 000500C0 48 29 6D 51 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -/* 80053164 000500C4 48 00 01 30 */ b lbl_80053294 -lbl_80053168: -/* 80053168 000500C8 56 40 07 7B */ rlwinm. r0, r18, 0, 0x1d, 0x1d -/* 8005316C 000500CC 41 82 01 28 */ beq lbl_80053294 -/* 80053170 000500D0 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80053174 000500D4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80053178 000500D8 48 29 6D 0D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 8005317C 000500DC A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 80053180 000500E0 7E C8 B3 78 */ mr r8, r22 -/* 80053184 000500E4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80053188 000500E8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8005318C 000500EC 57 05 06 3E */ clrlwi r5, r24, 0x18 -/* 80053190 000500F0 38 E0 00 01 */ li r7, 1 -/* 80053194 000500F4 48 29 6E 4D */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 80053198 000500F8 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8005319C 000500FC 28 03 00 00 */ cmplwi r3, 0 -/* 800531A0 00050100 90 61 00 34 */ stw r3, 0x34(r1) -/* 800531A4 00050104 41 82 00 F0 */ beq lbl_80053294 -/* 800531A8 00050108 B3 9F 00 88 */ sth r28, 0x88(r31) -/* 800531AC 0005010C 90 7F 00 8C */ stw r3, 0x8c(r31) -/* 800531B0 00050110 88 1F 00 E6 */ lbz r0, 0xe6(r31) -/* 800531B4 00050114 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800531B8 00050118 41 82 00 DC */ beq lbl_80053294 -/* 800531BC 0005011C 28 03 00 00 */ cmplwi r3, 0 -/* 800531C0 00050120 41 82 00 D4 */ beq lbl_80053294 -/* 800531C4 00050124 90 61 00 14 */ stw r3, 0x14(r1) -/* 800531C8 00050128 38 61 00 14 */ addi r3, r1, 0x14 -/* 800531CC 0005012C 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 800531D0 00050130 48 29 5C DD */ bl PitchBend__11CSfxManagerF10CSfxHandlei -/* 800531D4 00050134 48 00 00 C0 */ b lbl_80053294 -lbl_800531D8: -/* 800531D8 00050138 28 1A 00 00 */ cmplwi r26, 0 -/* 800531DC 0005013C 41 82 00 34 */ beq lbl_80053210 -/* 800531E0 00050140 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800531E4 00050144 7F C4 F3 78 */ mr r4, r30 -/* 800531E8 00050148 7E CA B3 78 */ mr r10, r22 -/* 800531EC 0005014C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800531F0 00050150 57 07 06 3E */ clrlwi r7, r24, 0x18 -/* 800531F4 00050154 38 A0 00 7F */ li r5, 0x7f -/* 800531F8 00050158 38 C0 00 40 */ li r6, 0x40 -/* 800531FC 0005015C 39 20 00 00 */ li r9, 0 -/* 80053200 00050160 48 29 6B 75 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80053204 00050164 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80053208 00050168 90 01 00 30 */ stw r0, 0x30(r1) -/* 8005320C 0005016C 48 00 00 28 */ b lbl_80053234 -lbl_80053210: -/* 80053210 00050170 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 80053214 00050174 7E C8 B3 78 */ mr r8, r22 -/* 80053218 00050178 38 61 00 0C */ addi r3, r1, 0xc -/* 8005321C 0005017C 38 81 00 40 */ addi r4, r1, 0x40 -/* 80053220 00050180 57 05 06 3E */ clrlwi r5, r24, 0x18 -/* 80053224 00050184 38 E0 00 00 */ li r7, 0 -/* 80053228 00050188 48 29 6D B9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 8005322C 0005018C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80053230 00050190 90 01 00 30 */ stw r0, 0x30(r1) -lbl_80053234: -/* 80053234 00050194 28 19 00 00 */ cmplwi r25, 0 -/* 80053238 00050198 41 82 00 3C */ beq lbl_80053274 -/* 8005323C 0005019C 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 80053240 000501A0 80 81 00 30 */ lwz r4, 0x30(r1) -/* 80053244 000501A4 54 00 EE FA */ rlwinm r0, r0, 0x1d, 0x1b, 0x1d -/* 80053248 000501A8 7C 7F 02 14 */ add r3, r31, r0 -/* 8005324C 000501AC 90 83 00 DC */ stw r4, 0xdc(r3) -/* 80053250 000501B0 88 BF 00 E4 */ lbz r5, 0xe4(r31) -/* 80053254 000501B4 80 7F 00 D8 */ lwz r3, 0xd8(r31) -/* 80053258 000501B8 54 A4 DF 7E */ rlwinm r4, r5, 0x1b, 0x1d, 0x1f -/* 8005325C 000501BC 38 84 00 01 */ addi r4, r4, 1 -/* 80053260 000501C0 7C 04 1B D6 */ divw r0, r4, r3 -/* 80053264 000501C4 7C 00 19 D6 */ mullw r0, r0, r3 -/* 80053268 000501C8 7C 00 20 50 */ subf r0, r0, r4 -/* 8005326C 000501CC 50 05 2E 34 */ rlwimi r5, r0, 5, 0x18, 0x1a -/* 80053270 000501D0 98 BF 00 E4 */ stb r5, 0xe4(r31) -lbl_80053274: -/* 80053274 000501D4 88 1F 00 E6 */ lbz r0, 0xe6(r31) -/* 80053278 000501D8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8005327C 000501DC 41 82 00 18 */ beq lbl_80053294 -/* 80053280 000501E0 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80053284 000501E4 38 61 00 08 */ addi r3, r1, 8 -/* 80053288 000501E8 90 01 00 08 */ stw r0, 8(r1) -/* 8005328C 000501EC 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80053290 000501F0 48 29 5C 1D */ bl PitchBend__11CSfxManagerF10CSfxHandlei -lbl_80053294: -/* 80053294 000501F4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80053298 000501F8 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8005329C 000501FC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 800532A0 00050200 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 800532A4 00050204 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 800532A8 00050208 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 800532AC 0005020C BA 41 00 78 */ lmw r18, 0x78(r1) -/* 800532B0 00050210 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800532B4 00050214 7C 08 03 A6 */ mtlr r0 -/* 800532B8 00050218 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800532BC 0005021C 4E 80 00 20 */ blr - -.global SetInFluid__6CActorFb9TUniqueId -SetInFluid__6CActorFb9TUniqueId: -/* 800532C0 00050220 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800532C4 00050224 41 82 00 24 */ beq lbl_800532E8 -/* 800532C8 00050228 88 C3 00 E6 */ lbz r6, 0xe6(r3) -/* 800532CC 0005022C 54 C4 DF 7E */ rlwinm r4, r6, 0x1b, 0x1d, 0x1f -/* 800532D0 00050230 38 04 00 01 */ addi r0, r4, 1 -/* 800532D4 00050234 50 06 2E 34 */ rlwimi r6, r0, 5, 0x18, 0x1a -/* 800532D8 00050238 98 C3 00 E6 */ stb r6, 0xe6(r3) -/* 800532DC 0005023C A0 05 00 00 */ lhz r0, 0(r5) -/* 800532E0 00050240 B0 03 00 C4 */ sth r0, 0xc4(r3) -/* 800532E4 00050244 4E 80 00 20 */ blr -lbl_800532E8: -/* 800532E8 00050248 88 83 00 E6 */ lbz r4, 0xe6(r3) -/* 800532EC 0005024C 54 85 DF 7F */ rlwinm. r5, r4, 0x1b, 0x1d, 0x1f -/* 800532F0 00050250 4D 82 00 20 */ beqlr -/* 800532F4 00050254 38 05 FF FF */ addi r0, r5, -1 -/* 800532F8 00050258 50 04 2E 34 */ rlwimi r4, r0, 5, 0x18, 0x1a -/* 800532FC 0005025C 98 83 00 E6 */ stb r4, 0xe6(r3) -/* 80053300 00050260 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 80053304 00050264 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f -/* 80053308 00050268 4C 82 00 20 */ bnelr -/* 8005330C 0005026C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80053310 00050270 B0 03 00 C4 */ sth r0, 0xc4(r3) -/* 80053314 00050274 4E 80 00 20 */ blr - -.global GetSfxHandle__6CActorCFv -GetSfxHandle__6CActorCFv: -/* 80053318 00050278 80 04 00 8C */ lwz r0, 0x8c(r4) -/* 8005331C 0005027C 90 03 00 00 */ stw r0, 0(r3) -/* 80053320 00050280 4E 80 00 20 */ blr - -.global SetSoundEventPitchBend__6CActorFi -SetSoundEventPitchBend__6CActorFi: -/* 80053324 00050284 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80053328 00050288 7C 08 02 A6 */ mflr r0 -/* 8005332C 0005028C 38 A0 00 01 */ li r5, 1 -/* 80053330 00050290 90 01 00 14 */ stw r0, 0x14(r1) -/* 80053334 00050294 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 80053338 00050298 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 8005333C 0005029C 98 03 00 E6 */ stb r0, 0xe6(r3) -/* 80053340 000502A0 90 83 00 C0 */ stw r4, 0xc0(r3) -/* 80053344 000502A4 80 03 00 8C */ lwz r0, 0x8c(r3) -/* 80053348 000502A8 28 00 00 00 */ cmplwi r0, 0 -/* 8005334C 000502AC 41 82 00 14 */ beq lbl_80053360 -/* 80053350 000502B0 80 03 00 8C */ lwz r0, 0x8c(r3) -/* 80053354 000502B4 38 61 00 08 */ addi r3, r1, 8 -/* 80053358 000502B8 90 01 00 08 */ stw r0, 8(r1) -/* 8005335C 000502BC 48 29 5B 51 */ bl PitchBend__11CSfxManagerF10CSfxHandlei -lbl_80053360: -/* 80053360 000502C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80053364 000502C4 7C 08 03 A6 */ mtlr r0 -/* 80053368 000502C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005336C 000502CC 4E 80 00 20 */ blr - -.global SetVolume__6CActorFUc -SetVolume__6CActorFUc: -/* 80053370 000502D0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80053374 000502D4 7C 08 02 A6 */ mflr r0 -/* 80053378 000502D8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005337C 000502DC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80053380 000502E0 7C 9F 23 78 */ mr r31, r4 -/* 80053384 000502E4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80053388 000502E8 7C 7E 1B 78 */ mr r30, r3 -/* 8005338C 000502EC 80 03 00 8C */ lwz r0, 0x8c(r3) -/* 80053390 000502F0 28 00 00 00 */ cmplwi r0, 0 -/* 80053394 000502F4 90 01 00 0C */ stw r0, 0xc(r1) -/* 80053398 000502F8 41 82 00 38 */ beq lbl_800533D0 -/* 8005339C 000502FC C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800533A0 00050300 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800533A4 00050304 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 800533A8 00050308 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 800533AC 0005030C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800533B0 00050310 7F E6 FB 78 */ mr r6, r31 -/* 800533B4 00050314 38 61 00 08 */ addi r3, r1, 8 -/* 800533B8 00050318 38 81 00 10 */ addi r4, r1, 0x10 -/* 800533BC 0005031C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800533C0 00050320 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800533C4 00050324 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800533C8 00050328 90 01 00 08 */ stw r0, 8(r1) -/* 800533CC 0005032C 48 29 6A E5 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_800533D0: -/* 800533D0 00050330 9B FE 00 D4 */ stb r31, 0xd4(r30) -/* 800533D4 00050334 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800533D8 00050338 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800533DC 0005033C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800533E0 00050340 7C 08 03 A6 */ mtlr r0 -/* 800533E4 00050344 38 21 00 30 */ addi r1, r1, 0x30 -/* 800533E8 00050348 4E 80 00 20 */ blr - -.global SetMuted__6CActorFb -SetMuted__6CActorFb: -/* 800533EC 0005034C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800533F0 00050350 7C 08 02 A6 */ mflr r0 -/* 800533F4 00050354 90 01 00 14 */ stw r0, 0x14(r1) -/* 800533F8 00050358 88 03 00 E5 */ lbz r0, 0xe5(r3) -/* 800533FC 0005035C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80053400 00050360 98 03 00 E5 */ stb r0, 0xe5(r3) -/* 80053404 00050364 48 00 1E 41 */ bl RemoveEmitter__6CActorFv -/* 80053408 00050368 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005340C 0005036C 7C 08 03 A6 */ mtlr r0 -/* 80053410 00050370 38 21 00 10 */ addi r1, r1, 0x10 -/* 80053414 00050374 4E 80 00 20 */ blr - -.global MoveScannableObjectInfoToActor__6CActorFP6CActorR13CStateManager -MoveScannableObjectInfoToActor__6CActorFP6CActorR13CStateManager: -/* 80053418 00050378 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005341C 0005037C 7C 08 02 A6 */ mflr r0 -/* 80053420 00050380 90 01 00 24 */ stw r0, 0x24(r1) -/* 80053424 00050384 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80053428 00050388 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005342C 0005038C 7C BE 2B 78 */ mr r30, r5 -/* 80053430 00050390 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80053434 00050394 7C 9D 23 79 */ or. r29, r4, r4 -/* 80053438 00050398 93 81 00 10 */ stw r28, 0x10(r1) -/* 8005343C 0005039C 7C 7C 1B 78 */ mr r28, r3 -/* 80053440 000503A0 41 82 00 68 */ beq lbl_800534A8 -/* 80053444 000503A4 38 7C 00 98 */ addi r3, r28, 0x98 -/* 80053448 000503A8 38 1D 00 98 */ addi r0, r29, 0x98 -/* 8005344C 000503AC 7C 03 00 40 */ cmplw r3, r0 -/* 80053450 000503B0 41 82 00 38 */ beq lbl_80053488 -/* 80053454 000503B4 83 FD 00 98 */ lwz r31, 0x98(r29) -/* 80053458 000503B8 28 1F 00 00 */ cmplwi r31, 0 -/* 8005345C 000503BC 41 82 00 1C */ beq lbl_80053478 -/* 80053460 000503C0 41 82 00 10 */ beq lbl_80053470 -/* 80053464 000503C4 7F E3 FB 78 */ mr r3, r31 -/* 80053468 000503C8 38 80 00 00 */ li r4, 0 -/* 8005346C 000503CC 48 2E D9 D5 */ bl __dt__6CTokenFv -lbl_80053470: -/* 80053470 000503D0 7F E3 FB 78 */ mr r3, r31 -/* 80053474 000503D4 48 2C 24 BD */ bl Free__7CMemoryFPCv -lbl_80053478: -/* 80053478 000503D8 80 7C 00 98 */ lwz r3, 0x98(r28) -/* 8005347C 000503DC 38 00 00 00 */ li r0, 0 -/* 80053480 000503E0 90 7D 00 98 */ stw r3, 0x98(r29) -/* 80053484 000503E4 90 1C 00 98 */ stw r0, 0x98(r28) -lbl_80053488: -/* 80053488 000503E8 7F A3 EB 78 */ mr r3, r29 -/* 8005348C 000503EC 7F C5 F3 78 */ mr r5, r30 -/* 80053490 000503F0 38 80 00 27 */ li r4, 0x27 -/* 80053494 000503F4 48 00 0E BD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80053498 000503F8 7F 83 E3 78 */ mr r3, r28 -/* 8005349C 000503FC 7F C5 F3 78 */ mr r5, r30 -/* 800534A0 00050400 38 80 00 27 */ li r4, 0x27 -/* 800534A4 00050404 48 00 0A DD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_800534A8: -/* 800534A8 00050408 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800534AC 0005040C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800534B0 00050410 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800534B4 00050414 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800534B8 00050418 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800534BC 0005041C 7C 08 03 A6 */ mtlr r0 -/* 800534C0 00050420 38 21 00 20 */ addi r1, r1, 0x20 -/* 800534C4 00050424 4E 80 00 20 */ blr - -.global GetScannableObjectInfo__6CActorCFv -GetScannableObjectInfo__6CActorCFv: -/* 800534C8 00050428 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800534CC 0005042C 7C 08 02 A6 */ mflr r0 -/* 800534D0 00050430 90 01 00 14 */ stw r0, 0x14(r1) -/* 800534D4 00050434 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800534D8 00050438 93 C1 00 08 */ stw r30, 8(r1) -/* 800534DC 0005043C 7C 7E 1B 78 */ mr r30, r3 -/* 800534E0 00050440 83 E3 00 98 */ lwz r31, 0x98(r3) -/* 800534E4 00050444 28 1F 00 00 */ cmplwi r31, 0 -/* 800534E8 00050448 40 82 00 0C */ bne lbl_800534F4 -/* 800534EC 0005044C 38 60 00 00 */ li r3, 0 -/* 800534F0 00050450 48 00 00 68 */ b lbl_80053558 -lbl_800534F4: -/* 800534F4 00050454 80 1F 00 08 */ lwz r0, 8(r31) -/* 800534F8 00050458 28 00 00 00 */ cmplwi r0, 0 -/* 800534FC 0005045C 41 82 00 0C */ beq lbl_80053508 -/* 80053500 00050460 38 60 00 01 */ li r3, 1 -/* 80053504 00050464 48 00 00 3C */ b lbl_80053540 -lbl_80053508: -/* 80053508 00050468 88 1F 00 04 */ lbz r0, 4(r31) -/* 8005350C 0005046C 28 00 00 00 */ cmplwi r0, 0 -/* 80053510 00050470 41 82 00 2C */ beq lbl_8005353C -/* 80053514 00050474 80 7F 00 00 */ lwz r3, 0(r31) -/* 80053518 00050478 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8005351C 0005047C 28 00 00 00 */ cmplwi r0, 0 -/* 80053520 00050480 41 82 00 1C */ beq lbl_8005353C -/* 80053524 00050484 7F E3 FB 78 */ mr r3, r31 -/* 80053528 00050488 48 2E D8 E5 */ bl GetObj__6CTokenFv -/* 8005352C 0005048C 80 03 00 04 */ lwz r0, 4(r3) -/* 80053530 00050490 38 60 00 01 */ li r3, 1 -/* 80053534 00050494 90 1F 00 08 */ stw r0, 8(r31) -/* 80053538 00050498 48 00 00 08 */ b lbl_80053540 -lbl_8005353C: -/* 8005353C 0005049C 38 60 00 00 */ li r3, 0 -lbl_80053540: -/* 80053540 000504A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80053544 000504A4 41 82 00 10 */ beq lbl_80053554 -/* 80053548 000504A8 80 7E 00 98 */ lwz r3, 0x98(r30) -/* 8005354C 000504AC 80 63 00 08 */ lwz r3, 8(r3) -/* 80053550 000504B0 48 00 00 08 */ b lbl_80053558 -lbl_80053554: -/* 80053554 000504B4 38 60 00 00 */ li r3, 0 -lbl_80053558: -/* 80053558 000504B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005355C 000504BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80053560 000504C0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80053564 000504C4 7C 08 03 A6 */ mtlr r0 -/* 80053568 000504C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005356C 000504CC 4E 80 00 20 */ blr - -.global OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager -OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager: -/* 80053570 000504D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80053574 000504D4 7C 08 02 A6 */ mflr r0 -/* 80053578 000504D8 2C 04 00 01 */ cmpwi r4, 1 -/* 8005357C 000504DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80053580 000504E0 41 82 00 30 */ beq lbl_800535B0 -/* 80053584 000504E4 40 80 00 10 */ bge lbl_80053594 -/* 80053588 000504E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8005358C 000504EC 40 80 00 14 */ bge lbl_800535A0 -/* 80053590 000504F0 48 00 00 3C */ b lbl_800535CC -lbl_80053594: -/* 80053594 000504F4 2C 04 00 03 */ cmpwi r4, 3 -/* 80053598 000504F8 40 80 00 34 */ bge lbl_800535CC -/* 8005359C 000504FC 48 00 00 24 */ b lbl_800535C0 -lbl_800535A0: -/* 800535A0 00050500 38 80 00 1A */ li r4, 0x1a -/* 800535A4 00050504 38 C0 FF FF */ li r6, -1 -/* 800535A8 00050508 4B FF DB 19 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 800535AC 0005050C 48 00 00 20 */ b lbl_800535CC -lbl_800535B0: -/* 800535B0 00050510 38 80 00 1B */ li r4, 0x1b -/* 800535B4 00050514 38 C0 FF FF */ li r6, -1 -/* 800535B8 00050518 4B FF DB 09 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 800535BC 0005051C 48 00 00 10 */ b lbl_800535CC -lbl_800535C0: -/* 800535C0 00050520 38 80 00 1C */ li r4, 0x1c -/* 800535C4 00050524 38 C0 FF FF */ li r6, -1 -/* 800535C8 00050528 4B FF DA F9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_800535CC: -/* 800535CC 0005052C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800535D0 00050530 7C 08 03 A6 */ mtlr r0 -/* 800535D4 00050534 38 21 00 10 */ addi r1, r1, 0x10 -/* 800535D8 00050538 4E 80 00 20 */ blr - -.global FluidFXThink__6CActorFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager -FluidFXThink__6CActorFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: -/* 800535DC 0005053C 4E 80 00 20 */ blr - -.global GetSortingBounds__6CActorCFRC12CTransform4f -GetSortingBounds__6CActorCFRC12CTransform4f: -/* 800535E0 00050540 C0 04 00 9C */ lfs f0, 0x9c(r4) -/* 800535E4 00050544 D0 03 00 00 */ stfs f0, 0(r3) -/* 800535E8 00050548 C0 04 00 A0 */ lfs f0, 0xa0(r4) -/* 800535EC 0005054C D0 03 00 04 */ stfs f0, 4(r3) -/* 800535F0 00050550 C0 04 00 A4 */ lfs f0, 0xa4(r4) -/* 800535F4 00050554 D0 03 00 08 */ stfs f0, 8(r3) -/* 800535F8 00050558 C0 04 00 A8 */ lfs f0, 0xa8(r4) -/* 800535FC 0005055C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80053600 00050560 C0 04 00 AC */ lfs f0, 0xac(r4) -/* 80053604 00050564 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80053608 00050568 C0 04 00 B0 */ lfs f0, 0xb0(r4) -/* 8005360C 0005056C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80053610 00050570 4E 80 00 20 */ blr - -.global AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80053614 00050574 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80053618 00050578 7C 08 02 A6 */ mflr r0 -/* 8005361C 0005057C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80053620 00050580 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80053624 00050584 7C 9D 23 78 */ mr r29, r4 -/* 80053628 00050588 28 1D 00 27 */ cmplwi r29, 0x27 -/* 8005362C 0005058C 7C 7C 1B 78 */ mr r28, r3 -/* 80053630 00050590 7C BE 2B 78 */ mr r30, r5 -/* 80053634 00050594 7C DF 33 78 */ mr r31, r6 -/* 80053638 00050598 41 81 01 E4 */ bgt lbl_8005381C -/* 8005363C 0005059C 3C 80 80 3E */ lis r4, lbl_803D9F1C@ha -/* 80053640 000505A0 57 A0 10 3A */ slwi r0, r29, 2 -/* 80053644 000505A4 38 84 9F 1C */ addi r4, r4, lbl_803D9F1C@l -/* 80053648 000505A8 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8005364C 000505AC 7C 09 03 A6 */ mtctr r0 -/* 80053650 000505B0 4E 80 04 20 */ bctr -/* 80053654 000505B4 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80053658 000505B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005365C 000505BC 40 82 01 C0 */ bne lbl_8005381C -/* 80053660 000505C0 48 2B 68 81 */ bl GetSecondsMod900__9CGraphicsFv -/* 80053664 000505C4 D0 3C 00 BC */ stfs f1, 0xbc(r28) -/* 80053668 000505C8 48 00 01 B4 */ b lbl_8005381C -/* 8005366C 000505CC 48 00 1B D9 */ bl RemoveEmitter__6CActorFv -/* 80053670 000505D0 48 00 01 AC */ b lbl_8005381C -/* 80053674 000505D4 48 00 1B D1 */ bl RemoveEmitter__6CActorFv -/* 80053678 000505D8 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 8005367C 000505DC 38 60 00 00 */ li r3, 0 -/* 80053680 000505E0 28 04 00 00 */ cmplwi r4, 0 -/* 80053684 000505E4 41 82 00 20 */ beq lbl_800536A4 -/* 80053688 000505E8 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8005368C 000505EC 28 00 00 00 */ cmplwi r0, 0 -/* 80053690 000505F0 40 82 00 10 */ bne lbl_800536A0 -/* 80053694 000505F4 88 04 00 28 */ lbz r0, 0x28(r4) -/* 80053698 000505F8 28 00 00 00 */ cmplwi r0, 0 -/* 8005369C 000505FC 41 82 00 08 */ beq lbl_800536A4 -lbl_800536A0: -/* 800536A0 00050600 38 60 00 01 */ li r3, 1 -lbl_800536A4: -/* 800536A4 00050604 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800536A8 00050608 41 82 01 74 */ beq lbl_8005381C -/* 800536AC 0005060C 80 64 00 10 */ lwz r3, 0x10(r4) -/* 800536B0 00050610 28 03 00 00 */ cmplwi r3, 0 -/* 800536B4 00050614 41 82 01 68 */ beq lbl_8005381C -/* 800536B8 00050618 7F E4 FB 78 */ mr r4, r31 -/* 800536BC 0005061C 38 63 01 20 */ addi r3, r3, 0x120 -/* 800536C0 00050620 48 06 46 71 */ bl DeleteAllLights__17CParticleDatabaseCFR13CStateManager -/* 800536C4 00050624 48 00 01 58 */ b lbl_8005381C -/* 800536C8 00050628 80 1C 00 98 */ lwz r0, 0x98(r28) -/* 800536CC 0005062C 28 00 00 00 */ cmplwi r0, 0 -/* 800536D0 00050630 41 82 00 14 */ beq lbl_800536E4 -/* 800536D4 00050634 7F E5 FB 78 */ mr r5, r31 -/* 800536D8 00050638 38 80 00 27 */ li r4, 0x27 -/* 800536DC 0005063C 48 00 0C 75 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 800536E0 00050640 48 00 00 10 */ b lbl_800536F0 -lbl_800536E4: -/* 800536E4 00050644 7F E5 FB 78 */ mr r5, r31 -/* 800536E8 00050648 38 80 00 27 */ li r4, 0x27 -/* 800536EC 0005064C 48 00 08 95 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_800536F0: -/* 800536F0 00050650 80 BC 00 64 */ lwz r5, 0x64(r28) -/* 800536F4 00050654 38 60 00 00 */ li r3, 0 -/* 800536F8 00050658 28 05 00 00 */ cmplwi r5, 0 -/* 800536FC 0005065C 41 82 00 14 */ beq lbl_80053710 -/* 80053700 00050660 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80053704 00050664 28 00 00 00 */ cmplwi r0, 0 -/* 80053708 00050668 41 82 00 08 */ beq lbl_80053710 -/* 8005370C 0005066C 38 60 00 01 */ li r3, 1 -lbl_80053710: -/* 80053710 00050670 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80053714 00050674 41 82 01 08 */ beq lbl_8005381C -/* 80053718 00050678 C0 05 00 00 */ lfs f0, 0(r5) -/* 8005371C 0005067C 7F 84 E3 78 */ mr r4, r28 -/* 80053720 00050680 38 61 00 20 */ addi r3, r1, 0x20 -/* 80053724 00050684 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80053728 00050688 C0 05 00 04 */ lfs f0, 4(r5) -/* 8005372C 0005068C D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80053730 00050690 C0 05 00 08 */ lfs f0, 8(r5) -/* 80053734 00050694 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80053738 00050698 4B FF D9 4D */ bl GetAreaId__7CEntityCFv -/* 8005373C 0005069C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80053740 000506A0 7F E4 FB 78 */ mr r4, r31 -/* 80053744 000506A4 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80053748 000506A8 38 C1 00 30 */ addi r6, r1, 0x30 -/* 8005374C 000506AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80053750 000506B0 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 80053754 000506B4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80053758 000506B8 4B FD 77 15 */ bl InitializeEffects__9CAnimDataFR13CStateManager7TAreaIdRC9CVector3f -/* 8005375C 000506BC 48 00 00 C0 */ b lbl_8005381C -/* 80053760 000506C0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80053764 000506C4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80053768 000506C8 38 80 00 01 */ li r4, 1 -/* 8005376C 000506CC B0 01 00 18 */ sth r0, 0x18(r1) -/* 80053770 000506D0 4B FF FB 51 */ bl SetInFluid__6CActorFb9TUniqueId -/* 80053774 000506D4 48 00 00 A8 */ b lbl_8005381C -/* 80053778 000506D8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8005377C 000506DC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80053780 000506E0 38 80 00 00 */ li r4, 0 -/* 80053784 000506E4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80053788 000506E8 4B FF FB 39 */ bl SetInFluid__6CActorFb9TUniqueId -/* 8005378C 000506EC 48 00 00 90 */ b lbl_8005381C -/* 80053790 000506F0 83 7C 00 2C */ lwz r27, 0x2c(r28) -/* 80053794 000506F4 48 00 00 70 */ b lbl_80053804 -lbl_80053798: -/* 80053798 000506F8 80 1B 00 00 */ lwz r0, 0(r27) -/* 8005379C 000506FC 2C 00 00 1E */ cmpwi r0, 0x1e -/* 800537A0 00050700 40 82 00 60 */ bne lbl_80053800 -/* 800537A4 00050704 80 1B 00 08 */ lwz r0, 8(r27) -/* 800537A8 00050708 7F E4 FB 78 */ mr r4, r31 -/* 800537AC 0005070C 38 61 00 0C */ addi r3, r1, 0xc -/* 800537B0 00050710 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800537B4 00050714 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800537B8 00050718 4B FF 47 65 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800537BC 0005071C A0 01 00 0C */ lhz r0, 0xc(r1) -/* 800537C0 00050720 7F E3 FB 78 */ mr r3, r31 -/* 800537C4 00050724 38 81 00 10 */ addi r4, r1, 0x10 -/* 800537C8 00050728 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800537CC 0005072C 4B FF 8D A9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800537D0 00050730 7C 64 1B 78 */ mr r4, r3 -/* 800537D4 00050734 38 61 00 28 */ addi r3, r1, 0x28 -/* 800537D8 00050738 48 05 C4 B9 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800537DC 0005073C 80 83 00 04 */ lwz r4, 4(r3) -/* 800537E0 00050740 28 04 00 00 */ cmplwi r4, 0 -/* 800537E4 00050744 41 82 00 1C */ beq lbl_80053800 -/* 800537E8 00050748 A0 7C 00 C6 */ lhz r3, 0xc6(r28) -/* 800537EC 0005074C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800537F0 00050750 7C 03 00 40 */ cmplw r3, r0 -/* 800537F4 00050754 40 82 00 0C */ bne lbl_80053800 -/* 800537F8 00050758 A0 04 00 08 */ lhz r0, 8(r4) -/* 800537FC 0005075C B0 1C 00 C6 */ sth r0, 0xc6(r28) -lbl_80053800: -/* 80053800 00050760 3B 7B 00 0C */ addi r27, r27, 0xc -lbl_80053804: -/* 80053804 00050764 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 80053808 00050768 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 8005380C 0005076C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80053810 00050770 7C 03 02 14 */ add r0, r3, r0 -/* 80053814 00050774 7C 1B 00 40 */ cmplw r27, r0 -/* 80053818 00050778 40 82 FF 80 */ bne lbl_80053798 -lbl_8005381C: -/* 8005381C 0005077C A0 1E 00 00 */ lhz r0, 0(r30) -/* 80053820 00050780 7F 83 E3 78 */ mr r3, r28 -/* 80053824 00050784 7F A4 EB 78 */ mr r4, r29 -/* 80053828 00050788 7F E6 FB 78 */ mr r6, r31 -/* 8005382C 0005078C B0 01 00 08 */ sth r0, 8(r1) -/* 80053830 00050790 38 A1 00 08 */ addi r5, r1, 8 -/* 80053834 00050794 4B FF D9 29 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80053838 00050798 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 8005383C 0005079C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80053840 000507A0 7C 08 03 A6 */ mtlr r0 -/* 80053844 000507A4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80053848 000507A8 4E 80 00 20 */ blr - -.global SetActive__6CActorFb -SetActive__6CActorFb: -/* 8005384C 000507AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80053850 000507B0 7C 08 02 A6 */ mflr r0 -/* 80053854 000507B4 38 C0 00 01 */ li r6, 1 -/* 80053858 000507B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005385C 000507BC 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 80053860 000507C0 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 80053864 000507C4 98 03 00 E4 */ stb r0, 0xe4(r3) -/* 80053868 000507C8 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 8005386C 000507CC 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 80053870 000507D0 98 03 00 E4 */ stb r0, 0xe4(r3) -/* 80053874 000507D4 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 80053878 000507D8 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 8005387C 000507DC 98 03 00 E4 */ stb r0, 0xe4(r3) -/* 80053880 000507E0 88 03 00 E7 */ lbz r0, 0xe7(r3) -/* 80053884 000507E4 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80053888 000507E8 98 03 00 E7 */ stb r0, 0xe7(r3) -/* 8005388C 000507EC 4B FF D8 1D */ bl SetActive__7CEntityFb -/* 80053890 000507F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80053894 000507F4 7C 08 03 A6 */ mtlr r0 -/* 80053898 000507F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005389C 000507FC 4E 80 00 20 */ blr - -.global SetMaterialFilter__6CActorFRC15CMaterialFilter -SetMaterialFilter__6CActorFRC15CMaterialFilter: -/* 800538A0 00050800 C8 04 00 00 */ lfd f0, 0(r4) -/* 800538A4 00050804 D8 03 00 70 */ stfd f0, 0x70(r3) -/* 800538A8 00050808 C8 04 00 08 */ lfd f0, 8(r4) -/* 800538AC 0005080C D8 03 00 78 */ stfd f0, 0x78(r3) -/* 800538B0 00050810 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800538B4 00050814 90 03 00 80 */ stw r0, 0x80(r3) -/* 800538B8 00050818 4E 80 00 20 */ blr - -.global GetMaterialFilter__6CActorCFv -GetMaterialFilter__6CActorCFv: -/* 800538BC 0005081C 38 63 00 70 */ addi r3, r3, 0x70 -/* 800538C0 00050820 4E 80 00 20 */ blr - -.global sub_800538c4 -sub_800538c4: -/* 800538C4 00050824 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800538C8 00050828 7C 08 02 A6 */ mflr r0 -/* 800538CC 0005082C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800538D0 00050830 38 00 00 00 */ li r0, 0 -/* 800538D4 00050834 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800538D8 00050838 93 C1 00 08 */ stw r30, 8(r1) -/* 800538DC 0005083C 7C 7E 1B 78 */ mr r30, r3 -/* 800538E0 00050840 98 04 00 00 */ stb r0, 0(r4) -/* 800538E4 00050844 83 E4 00 04 */ lwz r31, 4(r4) -/* 800538E8 00050848 38 80 00 01 */ li r4, 1 -/* 800538EC 0005084C 80 63 00 90 */ lwz r3, 0x90(r3) -/* 800538F0 00050850 48 0B 17 E5 */ bl __dt__12CActorLightsFv -/* 800538F4 00050854 93 FE 00 90 */ stw r31, 0x90(r30) -/* 800538F8 00050858 38 60 00 01 */ li r3, 1 -/* 800538FC 0005085C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80053900 00050860 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80053904 00050864 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80053908 00050868 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005390C 0005086C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80053910 00050870 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80053914 00050874 7C 08 03 A6 */ mtlr r0 -/* 80053918 00050878 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005391C 0005087C 4E 80 00 20 */ blr - -.global SetCalculateLighting__6CActorFb -SetCalculateLighting__6CActorFb: -/* 80053920 00050880 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80053924 00050884 7C 08 02 A6 */ mflr r0 -/* 80053928 00050888 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005392C 0005088C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80053930 00050890 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80053934 00050894 7C 9E 23 78 */ mr r30, r4 -/* 80053938 00050898 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8005393C 0005089C 7C 7D 1B 78 */ mr r29, r3 -/* 80053940 000508A0 80 03 00 90 */ lwz r0, 0x90(r3) -/* 80053944 000508A4 28 00 00 00 */ cmplwi r0, 0 -/* 80053948 000508A8 40 82 00 78 */ bne lbl_800539C0 -/* 8005394C 000508AC 3C 80 80 3D */ lis r4, lbl_803CCF68@ha -/* 80053950 000508B0 38 60 02 E0 */ li r3, 0x2e0 -/* 80053954 000508B4 38 84 CF 68 */ addi r4, r4, lbl_803CCF68@l -/* 80053958 000508B8 38 A0 00 00 */ li r5, 0 -/* 8005395C 000508BC 48 2C 1F 11 */ bl __nw__FUlPCcPCc -/* 80053960 000508C0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80053964 000508C4 41 82 00 4C */ beq lbl_800539B0 -/* 80053968 000508C8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8005396C 000508CC C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) -/* 80053970 000508D0 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 80053974 000508D4 38 A1 00 08 */ addi r5, r1, 8 -/* 80053978 000508D8 81 07 00 00 */ lwz r8, 0(r7) -/* 8005397C 000508DC 38 80 00 08 */ li r4, 8 -/* 80053980 000508E0 81 67 00 04 */ lwz r11, 4(r7) -/* 80053984 000508E4 38 C0 00 04 */ li r6, 4 -/* 80053988 000508E8 80 07 00 08 */ lwz r0, 8(r7) -/* 8005398C 000508EC 38 E0 00 04 */ li r7, 4 -/* 80053990 000508F0 91 01 00 08 */ stw r8, 8(r1) -/* 80053994 000508F4 39 00 00 00 */ li r8, 0 -/* 80053998 000508F8 39 20 00 00 */ li r9, 0 -/* 8005399C 000508FC 39 40 00 00 */ li r10, 0 -/* 800539A0 00050900 91 61 00 0C */ stw r11, 0xc(r1) -/* 800539A4 00050904 90 01 00 10 */ stw r0, 0x10(r1) -/* 800539A8 00050908 48 0B 18 25 */ bl __ct__12CActorLightsFUi9CVector3fiif -/* 800539AC 0005090C 7C 7F 1B 78 */ mr r31, r3 -lbl_800539B0: -/* 800539B0 00050910 80 7D 00 90 */ lwz r3, 0x90(r29) -/* 800539B4 00050914 38 80 00 01 */ li r4, 1 -/* 800539B8 00050918 48 0B 17 1D */ bl __dt__12CActorLightsFv -/* 800539BC 0005091C 93 FD 00 90 */ stw r31, 0x90(r29) -lbl_800539C0: -/* 800539C0 00050920 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800539C4 00050924 53 C0 07 FE */ rlwimi r0, r30, 0, 0x1f, 0x1f -/* 800539C8 00050928 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800539CC 0005092C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800539D0 00050930 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800539D4 00050934 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800539D8 00050938 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800539DC 0005093C 7C 08 03 A6 */ mtlr r0 -/* 800539E0 00050940 38 21 00 30 */ addi r1, r1, 0x30 -/* 800539E4 00050944 4E 80 00 20 */ blr - -.global IsModelOpaque__6CActorCFRC13CStateManager -IsModelOpaque__6CActorCFRC13CStateManager: -/* 800539E8 00050948 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800539EC 0005094C 7C 08 02 A6 */ mflr r0 -/* 800539F0 00050950 90 01 00 14 */ stw r0, 0x14(r1) -/* 800539F4 00050954 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800539F8 00050958 7C 7F 1B 78 */ mr r31, r3 -/* 800539FC 0005095C 88 03 00 E5 */ lbz r0, 0xe5(r3) -/* 80053A00 00050960 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80053A04 00050964 41 82 00 0C */ beq lbl_80053A10 -/* 80053A08 00050968 38 60 00 00 */ li r3, 0 -/* 80053A0C 0005096C 48 00 00 70 */ b lbl_80053A7C -lbl_80053A10: -/* 80053A10 00050970 80 BF 00 64 */ lwz r5, 0x64(r31) -/* 80053A14 00050974 38 60 00 00 */ li r3, 0 -/* 80053A18 00050978 28 05 00 00 */ cmplwi r5, 0 -/* 80053A1C 0005097C 41 82 00 20 */ beq lbl_80053A3C -/* 80053A20 00050980 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80053A24 00050984 28 00 00 00 */ cmplwi r0, 0 -/* 80053A28 00050988 40 82 00 10 */ bne lbl_80053A38 -/* 80053A2C 0005098C 88 05 00 28 */ lbz r0, 0x28(r5) -/* 80053A30 00050990 28 00 00 00 */ cmplwi r0, 0 -/* 80053A34 00050994 41 82 00 08 */ beq lbl_80053A3C -lbl_80053A38: -/* 80053A38 00050998 38 60 00 01 */ li r3, 1 -lbl_80053A3C: -/* 80053A3C 0005099C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80053A40 000509A0 40 82 00 0C */ bne lbl_80053A4C -/* 80053A44 000509A4 38 60 00 01 */ li r3, 1 -/* 80053A48 000509A8 48 00 00 34 */ b lbl_80053A7C -lbl_80053A4C: -/* 80053A4C 000509AC 88 1F 00 B4 */ lbz r0, 0xb4(r31) -/* 80053A50 000509B0 7C 00 07 74 */ extsb r0, r0 -/* 80053A54 000509B4 2C 00 00 04 */ cmpwi r0, 4 -/* 80053A58 000509B8 40 81 00 0C */ ble lbl_80053A64 -/* 80053A5C 000509BC 38 60 00 00 */ li r3, 0 -/* 80053A60 000509C0 48 00 00 1C */ b lbl_80053A7C -lbl_80053A64: -/* 80053A64 000509C4 7C 83 23 78 */ mr r3, r4 -/* 80053A68 000509C8 48 0C 14 75 */ bl GetRenderingModel__10CModelDataFRC13CStateManager -/* 80053A6C 000509CC 7C 60 1B 78 */ mr r0, r3 -/* 80053A70 000509D0 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80053A74 000509D4 7C 04 03 78 */ mr r4, r0 -/* 80053A78 000509D8 48 0C 1A 05 */ bl IsDefinitelyOpaque__10CModelDataCFQ210CModelData11EWhichModel -lbl_80053A7C: -/* 80053A7C 000509DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80053A80 000509E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80053A84 000509E4 7C 08 03 A6 */ mtlr r0 -/* 80053A88 000509E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80053A8C 000509EC 4E 80 00 20 */ blr - -.global GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager -GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager: -/* 80053A90 000509F0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80053A94 000509F4 7C 08 02 A6 */ mflr r0 -/* 80053A98 000509F8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80053A9C 000509FC DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80053AA0 00050A00 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80053AA4 00050A04 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80053AA8 00050A08 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80053AAC 00050A0C DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80053AB0 00050A10 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80053AB4 00050A14 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 80053AB8 00050A18 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 80053ABC 00050A1C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80053AC0 00050A20 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80053AC4 00050A24 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80053AC8 00050A28 93 81 00 50 */ stw r28, 0x50(r1) -/* 80053ACC 00050A2C 7C BE 2B 78 */ mr r30, r5 -/* 80053AD0 00050A30 7C 7C 1B 78 */ mr r28, r3 -/* 80053AD4 00050A34 80 65 08 70 */ lwz r3, 0x870(r5) -/* 80053AD8 00050A38 7C 9D 23 78 */ mr r29, r4 -/* 80053ADC 00050A3C 7F C4 F3 78 */ mr r4, r30 -/* 80053AE0 00050A40 4B FB 80 39 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80053AE4 00050A44 7F A4 EB 78 */ mr r4, r29 -/* 80053AE8 00050A48 7C 7F 1B 78 */ mr r31, r3 -/* 80053AEC 00050A4C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80053AF0 00050A50 7F C5 F3 78 */ mr r5, r30 -/* 80053AF4 00050A54 38 61 00 40 */ addi r3, r1, 0x40 -/* 80053AF8 00050A58 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 80053AFC 00050A5C 7D 89 03 A6 */ mtctr r12 -/* 80053B00 00050A60 4E 80 04 21 */ bctrl -/* 80053B04 00050A64 C3 A1 00 40 */ lfs f29, 0x40(r1) -/* 80053B08 00050A68 38 61 00 34 */ addi r3, r1, 0x34 -/* 80053B0C 00050A6C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80053B10 00050A70 C3 E1 00 44 */ lfs f31, 0x44(r1) -/* 80053B14 00050A74 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 80053B18 00050A78 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 80053B1C 00050A7C C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 80053B20 00050A80 C3 C1 00 48 */ lfs f30, 0x48(r1) -/* 80053B24 00050A84 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 80053B28 00050A88 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80053B2C 00050A8C EC 01 F0 28 */ fsubs f0, f1, f30 -/* 80053B30 00050A90 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80053B34 00050A94 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80053B38 00050A98 48 2C 0D 81 */ bl Magnitude__9CVector3fCFv -/* 80053B3C 00050A9C C0 9D 00 A8 */ lfs f4, 0xa8(r29) -/* 80053B40 00050AA0 C0 7D 00 9C */ lfs f3, 0x9c(r29) -/* 80053B44 00050AA4 C0 5D 00 B0 */ lfs f2, 0xb0(r29) -/* 80053B48 00050AA8 C0 1D 00 A4 */ lfs f0, 0xa4(r29) -/* 80053B4C 00050AAC EC 84 18 28 */ fsubs f4, f4, f3 -/* 80053B50 00050AB0 C0 7D 00 AC */ lfs f3, 0xac(r29) -/* 80053B54 00050AB4 EC A2 00 28 */ fsubs f5, f2, f0 -/* 80053B58 00050AB8 C0 1D 00 A0 */ lfs f0, 0xa0(r29) -/* 80053B5C 00050ABC D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80053B60 00050AC0 EC 43 00 28 */ fsubs f2, f3, f0 -/* 80053B64 00050AC4 FC 05 20 40 */ fcmpo cr0, f5, f4 -/* 80053B68 00050AC8 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80053B6C 00050ACC D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80053B70 00050AD0 40 80 00 0C */ bge lbl_80053B7C -/* 80053B74 00050AD4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80053B78 00050AD8 48 00 00 08 */ b lbl_80053B80 -lbl_80053B7C: -/* 80053B7C 00050ADC 38 61 00 14 */ addi r3, r1, 0x14 -lbl_80053B80: -/* 80053B80 00050AE0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80053B84 00050AE4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80053B88 00050AE8 40 80 00 08 */ bge lbl_80053B90 -/* 80053B8C 00050AEC 38 61 00 0C */ addi r3, r1, 0xc -lbl_80053B90: -/* 80053B90 00050AF0 C0 62 86 40 */ lfs f3, lbl_805AA360@sda21(r2) -/* 80053B94 00050AF4 C0 43 00 00 */ lfs f2, 0(r3) -/* 80053B98 00050AF8 C0 02 86 44 */ lfs f0, lbl_805AA364@sda21(r2) -/* 80053B9C 00050AFC EC 63 00 B2 */ fmuls f3, f3, f2 -/* 80053BA0 00050B00 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80053BA4 00050B04 C0 5F 01 60 */ lfs f2, 0x160(r31) -/* 80053BA8 00050B08 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80053BAC 00050B0C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80053BB0 00050B10 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80053BB4 00050B14 D0 01 00 08 */ stfs f0, 8(r1) -/* 80053BB8 00050B18 40 80 00 0C */ bge lbl_80053BC4 -/* 80053BBC 00050B1C 38 61 00 08 */ addi r3, r1, 8 -/* 80053BC0 00050B20 48 00 00 08 */ b lbl_80053BC8 -lbl_80053BC4: -/* 80053BC4 00050B24 38 61 00 18 */ addi r3, r1, 0x18 -lbl_80053BC8: -/* 80053BC8 00050B28 C3 83 00 00 */ lfs f28, 0(r3) -/* 80053BCC 00050B2C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80053BD0 00050B30 38 81 00 1C */ addi r4, r1, 0x1c -/* 80053BD4 00050B34 D3 81 00 18 */ stfs f28, 0x18(r1) -/* 80053BD8 00050B38 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 80053BDC 00050B3C C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 80053BE0 00050B40 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80053BE4 00050B44 EC 5F 10 28 */ fsubs f2, f31, f2 -/* 80053BE8 00050B48 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 80053BEC 00050B4C EC 1D 00 28 */ fsubs f0, f29, f0 -/* 80053BF0 00050B50 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80053BF4 00050B54 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80053BF8 00050B58 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80053BFC 00050B5C 48 2C 0C 55 */ bl AsNormalized__9CVector3fCFv -/* 80053C00 00050B60 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80053C04 00050B64 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 80053C08 00050B68 EC 1C 00 32 */ fmuls f0, f28, f0 -/* 80053C0C 00050B6C C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80053C10 00050B70 EC 5C 00 B2 */ fmuls f2, f28, f2 -/* 80053C14 00050B74 EC 3C 00 72 */ fmuls f1, f28, f1 -/* 80053C18 00050B78 EC 1D 00 28 */ fsubs f0, f29, f0 -/* 80053C1C 00050B7C EC 5F 10 28 */ fsubs f2, f31, f2 -/* 80053C20 00050B80 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 80053C24 00050B84 D0 1C 00 00 */ stfs f0, 0(r28) -/* 80053C28 00050B88 D0 5C 00 04 */ stfs f2, 4(r28) -/* 80053C2C 00050B8C D0 3C 00 08 */ stfs f1, 8(r28) -/* 80053C30 00050B90 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80053C34 00050B94 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80053C38 00050B98 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80053C3C 00050B9C CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80053C40 00050BA0 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80053C44 00050BA4 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80053C48 00050BA8 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 80053C4C 00050BAC CB 81 00 60 */ lfd f28, 0x60(r1) -/* 80053C50 00050BB0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80053C54 00050BB4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80053C58 00050BB8 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80053C5C 00050BBC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80053C60 00050BC0 83 81 00 50 */ lwz r28, 0x50(r1) -/* 80053C64 00050BC4 7C 08 03 A6 */ mtlr r0 -/* 80053C68 00050BC8 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80053C6C 00050BCC 4E 80 00 20 */ blr - -.global GetHomingPosition__6CActorCFRC13CStateManagerf -GetHomingPosition__6CActorCFRC13CStateManagerf: -/* 80053C70 00050BD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80053C74 00050BD4 7C 08 02 A6 */ mflr r0 -/* 80053C78 00050BD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80053C7C 00050BDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80053C80 00050BE0 7C 7F 1B 78 */ mr r31, r3 -/* 80053C84 00050BE4 81 84 00 00 */ lwz r12, 0(r4) -/* 80053C88 00050BE8 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80053C8C 00050BEC 7D 89 03 A6 */ mtctr r12 -/* 80053C90 00050BF0 4E 80 04 21 */ bctrl -/* 80053C94 00050BF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80053C98 00050BF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80053C9C 00050BFC 7C 08 03 A6 */ mtlr r0 -/* 80053CA0 00050C00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80053CA4 00050C04 4E 80 00 20 */ blr - -.global GetAimPosition__6CActorCFRC13CStateManagerf -GetAimPosition__6CActorCFRC13CStateManagerf: -/* 80053CA8 00050C08 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 80053CAC 00050C0C C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80053CB0 00050C10 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80053CB4 00050C14 D0 03 00 00 */ stfs f0, 0(r3) -/* 80053CB8 00050C18 D0 23 00 04 */ stfs f1, 4(r3) -/* 80053CBC 00050C1C D0 43 00 08 */ stfs f2, 8(r3) -/* 80053CC0 00050C20 4E 80 00 20 */ blr - -.global GetOrbitPosition__6CActorCFRC13CStateManager -GetOrbitPosition__6CActorCFRC13CStateManager: -/* 80053CC4 00050C24 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 80053CC8 00050C28 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80053CCC 00050C2C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80053CD0 00050C30 D0 03 00 00 */ stfs f0, 0(r3) -/* 80053CD4 00050C34 D0 23 00 04 */ stfs f1, 4(r3) -/* 80053CD8 00050C38 D0 43 00 08 */ stfs f2, 8(r3) -/* 80053CDC 00050C3C 4E 80 00 20 */ blr - -.global GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 80053CE0 00050C40 38 60 00 0D */ li r3, 0xd -/* 80053CE4 00050C44 4E 80 00 20 */ blr - -.global RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: -/* 80053CE8 00050C48 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80053CEC 00050C4C 7C 08 02 A6 */ mflr r0 -/* 80053CF0 00050C50 90 01 00 24 */ stw r0, 0x24(r1) -/* 80053CF4 00050C54 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80053CF8 00050C58 7C 7D 1B 78 */ mr r29, r3 -/* 80053CFC 00050C5C 7C BB 2B 78 */ mr r27, r5 -/* 80053D00 00050C60 7C 85 23 78 */ mr r5, r4 -/* 80053D04 00050C64 7C DC 33 78 */ mr r28, r6 -/* 80053D08 00050C68 7C FE 3B 78 */ mr r30, r7 -/* 80053D0C 00050C6C 7D 1F 43 78 */ mr r31, r8 -/* 80053D10 00050C70 38 60 00 00 */ li r3, 0 -/* 80053D14 00050C74 38 80 00 01 */ li r4, 1 -/* 80053D18 00050C78 48 33 61 DD */ bl __shl2i -/* 80053D1C 00050C7C 80 1D 00 6C */ lwz r0, 0x6c(r29) -/* 80053D20 00050C80 7C 85 20 F8 */ nor r5, r4, r4 -/* 80053D24 00050C84 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 80053D28 00050C88 7C 63 18 F8 */ nor r3, r3, r3 -/* 80053D2C 00050C8C 7C 00 28 38 */ and r0, r0, r5 -/* 80053D30 00050C90 7F 65 DB 78 */ mr r5, r27 -/* 80053D34 00050C94 90 1D 00 6C */ stw r0, 0x6c(r29) -/* 80053D38 00050C98 7C 80 18 38 */ and r0, r4, r3 -/* 80053D3C 00050C9C 38 60 00 00 */ li r3, 0 -/* 80053D40 00050CA0 38 80 00 01 */ li r4, 1 -/* 80053D44 00050CA4 90 1D 00 68 */ stw r0, 0x68(r29) -/* 80053D48 00050CA8 48 33 61 AD */ bl __shl2i -/* 80053D4C 00050CAC 80 1D 00 6C */ lwz r0, 0x6c(r29) -/* 80053D50 00050CB0 7C 85 20 F8 */ nor r5, r4, r4 -/* 80053D54 00050CB4 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 80053D58 00050CB8 7C 63 18 F8 */ nor r3, r3, r3 -/* 80053D5C 00050CBC 7C 00 28 38 */ and r0, r0, r5 -/* 80053D60 00050CC0 7F 85 E3 78 */ mr r5, r28 -/* 80053D64 00050CC4 90 1D 00 6C */ stw r0, 0x6c(r29) -/* 80053D68 00050CC8 7C 80 18 38 */ and r0, r4, r3 -/* 80053D6C 00050CCC 38 60 00 00 */ li r3, 0 -/* 80053D70 00050CD0 38 80 00 01 */ li r4, 1 -/* 80053D74 00050CD4 90 1D 00 68 */ stw r0, 0x68(r29) -/* 80053D78 00050CD8 48 33 61 7D */ bl __shl2i -/* 80053D7C 00050CDC 80 1D 00 6C */ lwz r0, 0x6c(r29) -/* 80053D80 00050CE0 7C 85 20 F8 */ nor r5, r4, r4 -/* 80053D84 00050CE4 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 80053D88 00050CE8 7C 63 18 F8 */ nor r3, r3, r3 -/* 80053D8C 00050CEC 7C 00 28 38 */ and r0, r0, r5 -/* 80053D90 00050CF0 7F C5 F3 78 */ mr r5, r30 -/* 80053D94 00050CF4 90 1D 00 6C */ stw r0, 0x6c(r29) -/* 80053D98 00050CF8 7C 80 18 38 */ and r0, r4, r3 -/* 80053D9C 00050CFC 38 60 00 00 */ li r3, 0 -/* 80053DA0 00050D00 38 80 00 01 */ li r4, 1 -/* 80053DA4 00050D04 90 1D 00 68 */ stw r0, 0x68(r29) -/* 80053DA8 00050D08 48 33 61 4D */ bl __shl2i -/* 80053DAC 00050D0C 80 1D 00 6C */ lwz r0, 0x6c(r29) -/* 80053DB0 00050D10 7C 86 20 F8 */ nor r6, r4, r4 -/* 80053DB4 00050D14 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 80053DB8 00050D18 7C 65 18 F8 */ nor r5, r3, r3 -/* 80053DBC 00050D1C 7C 00 30 38 */ and r0, r0, r6 -/* 80053DC0 00050D20 7F E3 FB 78 */ mr r3, r31 -/* 80053DC4 00050D24 90 1D 00 6C */ stw r0, 0x6c(r29) -/* 80053DC8 00050D28 7C 80 28 38 */ and r0, r4, r5 -/* 80053DCC 00050D2C 7F A4 EB 78 */ mr r4, r29 -/* 80053DD0 00050D30 90 1D 00 68 */ stw r0, 0x68(r29) -/* 80053DD4 00050D34 4B FF 92 1D */ bl UpdateObjectInLists__13CStateManagerFR7CEntity -/* 80053DD8 00050D38 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80053DDC 00050D3C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80053DE0 00050D40 7C 08 03 A6 */ mtlr r0 -/* 80053DE4 00050D44 38 21 00 20 */ addi r1, r1, 0x20 -/* 80053DE8 00050D48 4E 80 00 20 */ blr - -.global RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: -/* 80053DEC 00050D4C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80053DF0 00050D50 7C 08 02 A6 */ mflr r0 -/* 80053DF4 00050D54 90 01 00 24 */ stw r0, 0x24(r1) -/* 80053DF8 00050D58 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80053DFC 00050D5C 7C FF 3B 78 */ mr r31, r7 -/* 80053E00 00050D60 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80053E04 00050D64 7C 7E 1B 78 */ mr r30, r3 -/* 80053E08 00050D68 38 60 00 00 */ li r3, 0 -/* 80053E0C 00050D6C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80053E10 00050D70 7C DD 33 78 */ mr r29, r6 -/* 80053E14 00050D74 93 81 00 10 */ stw r28, 0x10(r1) -/* 80053E18 00050D78 7C BC 2B 78 */ mr r28, r5 -/* 80053E1C 00050D7C 7C 85 23 78 */ mr r5, r4 -/* 80053E20 00050D80 38 80 00 01 */ li r4, 1 -/* 80053E24 00050D84 48 33 60 D1 */ bl __shl2i -/* 80053E28 00050D88 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80053E2C 00050D8C 7C 85 20 F8 */ nor r5, r4, r4 -/* 80053E30 00050D90 80 9E 00 68 */ lwz r4, 0x68(r30) -/* 80053E34 00050D94 7C 63 18 F8 */ nor r3, r3, r3 -/* 80053E38 00050D98 7C 00 28 38 */ and r0, r0, r5 -/* 80053E3C 00050D9C 7F 85 E3 78 */ mr r5, r28 -/* 80053E40 00050DA0 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80053E44 00050DA4 7C 80 18 38 */ and r0, r4, r3 -/* 80053E48 00050DA8 38 60 00 00 */ li r3, 0 -/* 80053E4C 00050DAC 38 80 00 01 */ li r4, 1 -/* 80053E50 00050DB0 90 1E 00 68 */ stw r0, 0x68(r30) -/* 80053E54 00050DB4 48 33 60 A1 */ bl __shl2i -/* 80053E58 00050DB8 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80053E5C 00050DBC 7C 85 20 F8 */ nor r5, r4, r4 -/* 80053E60 00050DC0 80 9E 00 68 */ lwz r4, 0x68(r30) -/* 80053E64 00050DC4 7C 63 18 F8 */ nor r3, r3, r3 -/* 80053E68 00050DC8 7C 00 28 38 */ and r0, r0, r5 -/* 80053E6C 00050DCC 7F A5 EB 78 */ mr r5, r29 -/* 80053E70 00050DD0 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80053E74 00050DD4 7C 80 18 38 */ and r0, r4, r3 -/* 80053E78 00050DD8 38 60 00 00 */ li r3, 0 -/* 80053E7C 00050DDC 38 80 00 01 */ li r4, 1 -/* 80053E80 00050DE0 90 1E 00 68 */ stw r0, 0x68(r30) -/* 80053E84 00050DE4 48 33 60 71 */ bl __shl2i -/* 80053E88 00050DE8 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80053E8C 00050DEC 7C 86 20 F8 */ nor r6, r4, r4 -/* 80053E90 00050DF0 80 9E 00 68 */ lwz r4, 0x68(r30) -/* 80053E94 00050DF4 7C 65 18 F8 */ nor r5, r3, r3 -/* 80053E98 00050DF8 7C 00 30 38 */ and r0, r0, r6 -/* 80053E9C 00050DFC 7F E3 FB 78 */ mr r3, r31 -/* 80053EA0 00050E00 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80053EA4 00050E04 7C 80 28 38 */ and r0, r4, r5 -/* 80053EA8 00050E08 7F C4 F3 78 */ mr r4, r30 -/* 80053EAC 00050E0C 90 1E 00 68 */ stw r0, 0x68(r30) -/* 80053EB0 00050E10 4B FF 91 41 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity -/* 80053EB4 00050E14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80053EB8 00050E18 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80053EBC 00050E1C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80053EC0 00050E20 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80053EC4 00050E24 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80053EC8 00050E28 7C 08 03 A6 */ mtlr r0 -/* 80053ECC 00050E2C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80053ED0 00050E30 4E 80 00 20 */ blr - -.global RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager: -/* 80053ED4 00050E34 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80053ED8 00050E38 7C 08 02 A6 */ mflr r0 -/* 80053EDC 00050E3C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80053EE0 00050E40 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80053EE4 00050E44 7C DF 33 78 */ mr r31, r6 -/* 80053EE8 00050E48 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80053EEC 00050E4C 7C BE 2B 78 */ mr r30, r5 -/* 80053EF0 00050E50 7C 85 23 78 */ mr r5, r4 -/* 80053EF4 00050E54 38 80 00 01 */ li r4, 1 -/* 80053EF8 00050E58 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80053EFC 00050E5C 7C 7D 1B 78 */ mr r29, r3 -/* 80053F00 00050E60 38 60 00 00 */ li r3, 0 -/* 80053F04 00050E64 48 33 5F F1 */ bl __shl2i -/* 80053F08 00050E68 80 1D 00 6C */ lwz r0, 0x6c(r29) -/* 80053F0C 00050E6C 7C 85 20 F8 */ nor r5, r4, r4 -/* 80053F10 00050E70 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 80053F14 00050E74 7C 63 18 F8 */ nor r3, r3, r3 -/* 80053F18 00050E78 7C 00 28 38 */ and r0, r0, r5 -/* 80053F1C 00050E7C 7F C5 F3 78 */ mr r5, r30 -/* 80053F20 00050E80 90 1D 00 6C */ stw r0, 0x6c(r29) -/* 80053F24 00050E84 7C 80 18 38 */ and r0, r4, r3 -/* 80053F28 00050E88 38 60 00 00 */ li r3, 0 -/* 80053F2C 00050E8C 38 80 00 01 */ li r4, 1 -/* 80053F30 00050E90 90 1D 00 68 */ stw r0, 0x68(r29) -/* 80053F34 00050E94 48 33 5F C1 */ bl __shl2i -/* 80053F38 00050E98 80 1D 00 6C */ lwz r0, 0x6c(r29) -/* 80053F3C 00050E9C 7C 86 20 F8 */ nor r6, r4, r4 -/* 80053F40 00050EA0 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 80053F44 00050EA4 7C 65 18 F8 */ nor r5, r3, r3 -/* 80053F48 00050EA8 7C 00 30 38 */ and r0, r0, r6 -/* 80053F4C 00050EAC 7F E3 FB 78 */ mr r3, r31 -/* 80053F50 00050EB0 90 1D 00 6C */ stw r0, 0x6c(r29) -/* 80053F54 00050EB4 7C 80 28 38 */ and r0, r4, r5 -/* 80053F58 00050EB8 7F A4 EB 78 */ mr r4, r29 -/* 80053F5C 00050EBC 90 1D 00 68 */ stw r0, 0x68(r29) -/* 80053F60 00050EC0 4B FF 90 91 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity -/* 80053F64 00050EC4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80053F68 00050EC8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80053F6C 00050ECC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80053F70 00050ED0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80053F74 00050ED4 7C 08 03 A6 */ mtlr r0 -/* 80053F78 00050ED8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80053F7C 00050EDC 4E 80 00 20 */ blr - -.global RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager: -/* 80053F80 00050EE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80053F84 00050EE4 7C 08 02 A6 */ mflr r0 -/* 80053F88 00050EE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80053F8C 00050EEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80053F90 00050EF0 7C BF 2B 78 */ mr r31, r5 -/* 80053F94 00050EF4 7C 85 23 78 */ mr r5, r4 -/* 80053F98 00050EF8 38 80 00 01 */ li r4, 1 -/* 80053F9C 00050EFC 93 C1 00 08 */ stw r30, 8(r1) -/* 80053FA0 00050F00 7C 7E 1B 78 */ mr r30, r3 -/* 80053FA4 00050F04 38 60 00 00 */ li r3, 0 -/* 80053FA8 00050F08 48 33 5F 4D */ bl __shl2i -/* 80053FAC 00050F0C 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80053FB0 00050F10 7C 86 20 F8 */ nor r6, r4, r4 -/* 80053FB4 00050F14 80 9E 00 68 */ lwz r4, 0x68(r30) -/* 80053FB8 00050F18 7C 65 18 F8 */ nor r5, r3, r3 -/* 80053FBC 00050F1C 7C 00 30 38 */ and r0, r0, r6 -/* 80053FC0 00050F20 7F E3 FB 78 */ mr r3, r31 -/* 80053FC4 00050F24 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80053FC8 00050F28 7C 80 28 38 */ and r0, r4, r5 -/* 80053FCC 00050F2C 7F C4 F3 78 */ mr r4, r30 -/* 80053FD0 00050F30 90 1E 00 68 */ stw r0, 0x68(r30) -/* 80053FD4 00050F34 4B FF 90 1D */ bl UpdateObjectInLists__13CStateManagerFR7CEntity -/* 80053FD8 00050F38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80053FDC 00050F3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80053FE0 00050F40 83 C1 00 08 */ lwz r30, 8(r1) -/* 80053FE4 00050F44 7C 08 03 A6 */ mtlr r0 -/* 80053FE8 00050F48 38 21 00 10 */ addi r1, r1, 0x10 -/* 80053FEC 00050F4C 4E 80 00 20 */ blr - -.global AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: -/* 80053FF0 00050F50 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80053FF4 00050F54 7C 08 02 A6 */ mflr r0 -/* 80053FF8 00050F58 90 01 00 24 */ stw r0, 0x24(r1) -/* 80053FFC 00050F5C BF 41 00 08 */ stmw r26, 8(r1) -/* 80054000 00050F60 7C 7E 1B 78 */ mr r30, r3 -/* 80054004 00050F64 7C BA 2B 78 */ mr r26, r5 -/* 80054008 00050F68 7C 85 23 78 */ mr r5, r4 -/* 8005400C 00050F6C 7C DB 33 78 */ mr r27, r6 -/* 80054010 00050F70 7C FC 3B 78 */ mr r28, r7 -/* 80054014 00050F74 7D 1D 43 78 */ mr r29, r8 -/* 80054018 00050F78 7D 3F 4B 78 */ mr r31, r9 -/* 8005401C 00050F7C 38 60 00 00 */ li r3, 0 -/* 80054020 00050F80 38 80 00 01 */ li r4, 1 -/* 80054024 00050F84 48 33 5E D1 */ bl __shl2i -/* 80054028 00050F88 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 8005402C 00050F8C 7F 45 D3 78 */ mr r5, r26 -/* 80054030 00050F90 80 DE 00 68 */ lwz r6, 0x68(r30) -/* 80054034 00050F94 7C 00 23 78 */ or r0, r0, r4 -/* 80054038 00050F98 38 80 00 01 */ li r4, 1 -/* 8005403C 00050F9C 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80054040 00050FA0 7C C0 1B 78 */ or r0, r6, r3 -/* 80054044 00050FA4 38 60 00 00 */ li r3, 0 -/* 80054048 00050FA8 90 1E 00 68 */ stw r0, 0x68(r30) -/* 8005404C 00050FAC 48 33 5E A9 */ bl __shl2i -/* 80054050 00050FB0 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80054054 00050FB4 7F 65 DB 78 */ mr r5, r27 -/* 80054058 00050FB8 80 DE 00 68 */ lwz r6, 0x68(r30) -/* 8005405C 00050FBC 7C 00 23 78 */ or r0, r0, r4 -/* 80054060 00050FC0 38 80 00 01 */ li r4, 1 -/* 80054064 00050FC4 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80054068 00050FC8 7C C0 1B 78 */ or r0, r6, r3 -/* 8005406C 00050FCC 38 60 00 00 */ li r3, 0 -/* 80054070 00050FD0 90 1E 00 68 */ stw r0, 0x68(r30) -/* 80054074 00050FD4 48 33 5E 81 */ bl __shl2i -/* 80054078 00050FD8 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 8005407C 00050FDC 7F 85 E3 78 */ mr r5, r28 -/* 80054080 00050FE0 80 DE 00 68 */ lwz r6, 0x68(r30) -/* 80054084 00050FE4 7C 00 23 78 */ or r0, r0, r4 -/* 80054088 00050FE8 38 80 00 01 */ li r4, 1 -/* 8005408C 00050FEC 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80054090 00050FF0 7C C0 1B 78 */ or r0, r6, r3 -/* 80054094 00050FF4 38 60 00 00 */ li r3, 0 -/* 80054098 00050FF8 90 1E 00 68 */ stw r0, 0x68(r30) -/* 8005409C 00050FFC 48 33 5E 59 */ bl __shl2i -/* 800540A0 00051000 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 800540A4 00051004 7F A5 EB 78 */ mr r5, r29 -/* 800540A8 00051008 80 DE 00 68 */ lwz r6, 0x68(r30) -/* 800540AC 0005100C 7C 00 23 78 */ or r0, r0, r4 -/* 800540B0 00051010 38 80 00 01 */ li r4, 1 -/* 800540B4 00051014 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 800540B8 00051018 7C C0 1B 78 */ or r0, r6, r3 -/* 800540BC 0005101C 38 60 00 00 */ li r3, 0 -/* 800540C0 00051020 90 1E 00 68 */ stw r0, 0x68(r30) -/* 800540C4 00051024 48 33 5E 31 */ bl __shl2i -/* 800540C8 00051028 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 800540CC 0005102C 80 BE 00 68 */ lwz r5, 0x68(r30) -/* 800540D0 00051030 7C 00 23 78 */ or r0, r0, r4 -/* 800540D4 00051034 7F C4 F3 78 */ mr r4, r30 -/* 800540D8 00051038 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 800540DC 0005103C 7C A0 1B 78 */ or r0, r5, r3 -/* 800540E0 00051040 7F E3 FB 78 */ mr r3, r31 -/* 800540E4 00051044 90 1E 00 68 */ stw r0, 0x68(r30) -/* 800540E8 00051048 4B FF 8F 09 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity -/* 800540EC 0005104C BB 41 00 08 */ lmw r26, 8(r1) -/* 800540F0 00051050 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800540F4 00051054 7C 08 03 A6 */ mtlr r0 -/* 800540F8 00051058 38 21 00 20 */ addi r1, r1, 0x20 -/* 800540FC 0005105C 4E 80 00 20 */ blr - -.global AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: -/* 80054100 00051060 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80054104 00051064 7C 08 02 A6 */ mflr r0 -/* 80054108 00051068 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005410C 0005106C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80054110 00051070 7C 7E 1B 78 */ mr r30, r3 -/* 80054114 00051074 7C BB 2B 78 */ mr r27, r5 -/* 80054118 00051078 7C 85 23 78 */ mr r5, r4 -/* 8005411C 0005107C 7C DC 33 78 */ mr r28, r6 -/* 80054120 00051080 7C FD 3B 78 */ mr r29, r7 -/* 80054124 00051084 7D 1F 43 78 */ mr r31, r8 -/* 80054128 00051088 38 60 00 00 */ li r3, 0 -/* 8005412C 0005108C 38 80 00 01 */ li r4, 1 -/* 80054130 00051090 48 33 5D C5 */ bl __shl2i -/* 80054134 00051094 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80054138 00051098 7F 65 DB 78 */ mr r5, r27 -/* 8005413C 0005109C 80 DE 00 68 */ lwz r6, 0x68(r30) -/* 80054140 000510A0 7C 00 23 78 */ or r0, r0, r4 -/* 80054144 000510A4 38 80 00 01 */ li r4, 1 -/* 80054148 000510A8 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 8005414C 000510AC 7C C0 1B 78 */ or r0, r6, r3 -/* 80054150 000510B0 38 60 00 00 */ li r3, 0 -/* 80054154 000510B4 90 1E 00 68 */ stw r0, 0x68(r30) -/* 80054158 000510B8 48 33 5D 9D */ bl __shl2i -/* 8005415C 000510BC 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80054160 000510C0 7F 85 E3 78 */ mr r5, r28 -/* 80054164 000510C4 80 DE 00 68 */ lwz r6, 0x68(r30) -/* 80054168 000510C8 7C 00 23 78 */ or r0, r0, r4 -/* 8005416C 000510CC 38 80 00 01 */ li r4, 1 -/* 80054170 000510D0 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80054174 000510D4 7C C0 1B 78 */ or r0, r6, r3 -/* 80054178 000510D8 38 60 00 00 */ li r3, 0 -/* 8005417C 000510DC 90 1E 00 68 */ stw r0, 0x68(r30) -/* 80054180 000510E0 48 33 5D 75 */ bl __shl2i -/* 80054184 000510E4 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80054188 000510E8 7F A5 EB 78 */ mr r5, r29 -/* 8005418C 000510EC 80 DE 00 68 */ lwz r6, 0x68(r30) -/* 80054190 000510F0 7C 00 23 78 */ or r0, r0, r4 -/* 80054194 000510F4 38 80 00 01 */ li r4, 1 -/* 80054198 000510F8 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 8005419C 000510FC 7C C0 1B 78 */ or r0, r6, r3 -/* 800541A0 00051100 38 60 00 00 */ li r3, 0 -/* 800541A4 00051104 90 1E 00 68 */ stw r0, 0x68(r30) -/* 800541A8 00051108 48 33 5D 4D */ bl __shl2i -/* 800541AC 0005110C 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 800541B0 00051110 80 BE 00 68 */ lwz r5, 0x68(r30) -/* 800541B4 00051114 7C 00 23 78 */ or r0, r0, r4 -/* 800541B8 00051118 7F C4 F3 78 */ mr r4, r30 -/* 800541BC 0005111C 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 800541C0 00051120 7C A0 1B 78 */ or r0, r5, r3 -/* 800541C4 00051124 7F E3 FB 78 */ mr r3, r31 -/* 800541C8 00051128 90 1E 00 68 */ stw r0, 0x68(r30) -/* 800541CC 0005112C 4B FF 8E 25 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity -/* 800541D0 00051130 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 800541D4 00051134 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800541D8 00051138 7C 08 03 A6 */ mtlr r0 -/* 800541DC 0005113C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800541E0 00051140 4E 80 00 20 */ blr - -.global AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager: -/* 800541E4 00051144 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800541E8 00051148 7C 08 02 A6 */ mflr r0 -/* 800541EC 0005114C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800541F0 00051150 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800541F4 00051154 7C FF 3B 78 */ mr r31, r7 -/* 800541F8 00051158 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800541FC 0005115C 7C DE 33 78 */ mr r30, r6 -/* 80054200 00051160 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80054204 00051164 7C BD 2B 78 */ mr r29, r5 -/* 80054208 00051168 7C 85 23 78 */ mr r5, r4 -/* 8005420C 0005116C 38 80 00 01 */ li r4, 1 -/* 80054210 00051170 93 81 00 10 */ stw r28, 0x10(r1) -/* 80054214 00051174 7C 7C 1B 78 */ mr r28, r3 -/* 80054218 00051178 38 60 00 00 */ li r3, 0 -/* 8005421C 0005117C 48 33 5C D9 */ bl __shl2i -/* 80054220 00051180 80 1C 00 6C */ lwz r0, 0x6c(r28) -/* 80054224 00051184 7F A5 EB 78 */ mr r5, r29 -/* 80054228 00051188 80 DC 00 68 */ lwz r6, 0x68(r28) -/* 8005422C 0005118C 7C 00 23 78 */ or r0, r0, r4 -/* 80054230 00051190 38 80 00 01 */ li r4, 1 -/* 80054234 00051194 90 1C 00 6C */ stw r0, 0x6c(r28) -/* 80054238 00051198 7C C0 1B 78 */ or r0, r6, r3 -/* 8005423C 0005119C 38 60 00 00 */ li r3, 0 -/* 80054240 000511A0 90 1C 00 68 */ stw r0, 0x68(r28) -/* 80054244 000511A4 48 33 5C B1 */ bl __shl2i -/* 80054248 000511A8 80 1C 00 6C */ lwz r0, 0x6c(r28) -/* 8005424C 000511AC 7F C5 F3 78 */ mr r5, r30 -/* 80054250 000511B0 80 DC 00 68 */ lwz r6, 0x68(r28) -/* 80054254 000511B4 7C 00 23 78 */ or r0, r0, r4 -/* 80054258 000511B8 38 80 00 01 */ li r4, 1 -/* 8005425C 000511BC 90 1C 00 6C */ stw r0, 0x6c(r28) -/* 80054260 000511C0 7C C0 1B 78 */ or r0, r6, r3 -/* 80054264 000511C4 38 60 00 00 */ li r3, 0 -/* 80054268 000511C8 90 1C 00 68 */ stw r0, 0x68(r28) -/* 8005426C 000511CC 48 33 5C 89 */ bl __shl2i -/* 80054270 000511D0 80 1C 00 6C */ lwz r0, 0x6c(r28) -/* 80054274 000511D4 80 BC 00 68 */ lwz r5, 0x68(r28) -/* 80054278 000511D8 7C 00 23 78 */ or r0, r0, r4 -/* 8005427C 000511DC 7F 84 E3 78 */ mr r4, r28 -/* 80054280 000511E0 90 1C 00 6C */ stw r0, 0x6c(r28) -/* 80054284 000511E4 7C A0 1B 78 */ or r0, r5, r3 -/* 80054288 000511E8 7F E3 FB 78 */ mr r3, r31 -/* 8005428C 000511EC 90 1C 00 68 */ stw r0, 0x68(r28) -/* 80054290 000511F0 4B FF 8D 61 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity -/* 80054294 000511F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80054298 000511F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005429C 000511FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800542A0 00051200 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800542A4 00051204 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800542A8 00051208 7C 08 03 A6 */ mtlr r0 -/* 800542AC 0005120C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800542B0 00051210 4E 80 00 20 */ blr - -.global AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager: -/* 800542B4 00051214 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800542B8 00051218 7C 08 02 A6 */ mflr r0 -/* 800542BC 0005121C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800542C0 00051220 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800542C4 00051224 7C DF 33 78 */ mr r31, r6 -/* 800542C8 00051228 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800542CC 0005122C 7C BE 2B 78 */ mr r30, r5 -/* 800542D0 00051230 7C 85 23 78 */ mr r5, r4 -/* 800542D4 00051234 38 80 00 01 */ li r4, 1 -/* 800542D8 00051238 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800542DC 0005123C 7C 7D 1B 78 */ mr r29, r3 -/* 800542E0 00051240 38 60 00 00 */ li r3, 0 -/* 800542E4 00051244 48 33 5C 11 */ bl __shl2i -/* 800542E8 00051248 80 1D 00 6C */ lwz r0, 0x6c(r29) -/* 800542EC 0005124C 7F C5 F3 78 */ mr r5, r30 -/* 800542F0 00051250 80 DD 00 68 */ lwz r6, 0x68(r29) -/* 800542F4 00051254 7C 00 23 78 */ or r0, r0, r4 -/* 800542F8 00051258 38 80 00 01 */ li r4, 1 -/* 800542FC 0005125C 90 1D 00 6C */ stw r0, 0x6c(r29) -/* 80054300 00051260 7C C0 1B 78 */ or r0, r6, r3 -/* 80054304 00051264 38 60 00 00 */ li r3, 0 -/* 80054308 00051268 90 1D 00 68 */ stw r0, 0x68(r29) -/* 8005430C 0005126C 48 33 5B E9 */ bl __shl2i -/* 80054310 00051270 80 1D 00 6C */ lwz r0, 0x6c(r29) -/* 80054314 00051274 80 BD 00 68 */ lwz r5, 0x68(r29) -/* 80054318 00051278 7C 00 23 78 */ or r0, r0, r4 -/* 8005431C 0005127C 7F A4 EB 78 */ mr r4, r29 -/* 80054320 00051280 90 1D 00 6C */ stw r0, 0x6c(r29) -/* 80054324 00051284 7C A0 1B 78 */ or r0, r5, r3 -/* 80054328 00051288 7F E3 FB 78 */ mr r3, r31 -/* 8005432C 0005128C 90 1D 00 68 */ stw r0, 0x68(r29) -/* 80054330 00051290 4B FF 8C C1 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity -/* 80054334 00051294 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80054338 00051298 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005433C 0005129C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80054340 000512A0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80054344 000512A4 7C 08 03 A6 */ mtlr r0 -/* 80054348 000512A8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005434C 000512AC 4E 80 00 20 */ blr - -.global AddMaterial__6CActorF14EMaterialTypesR13CStateManager -AddMaterial__6CActorF14EMaterialTypesR13CStateManager: -/* 80054350 000512B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80054354 000512B4 7C 08 02 A6 */ mflr r0 -/* 80054358 000512B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005435C 000512BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80054360 000512C0 7C BF 2B 78 */ mr r31, r5 -/* 80054364 000512C4 7C 85 23 78 */ mr r5, r4 -/* 80054368 000512C8 38 80 00 01 */ li r4, 1 -/* 8005436C 000512CC 93 C1 00 08 */ stw r30, 8(r1) -/* 80054370 000512D0 7C 7E 1B 78 */ mr r30, r3 -/* 80054374 000512D4 38 60 00 00 */ li r3, 0 -/* 80054378 000512D8 48 33 5B 7D */ bl __shl2i -/* 8005437C 000512DC 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80054380 000512E0 80 BE 00 68 */ lwz r5, 0x68(r30) -/* 80054384 000512E4 7C 00 23 78 */ or r0, r0, r4 -/* 80054388 000512E8 7F C4 F3 78 */ mr r4, r30 -/* 8005438C 000512EC 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80054390 000512F0 7C A0 1B 78 */ or r0, r5, r3 -/* 80054394 000512F4 7F E3 FB 78 */ mr r3, r31 -/* 80054398 000512F8 90 1E 00 68 */ stw r0, 0x68(r30) -/* 8005439C 000512FC 4B FF 8C 55 */ bl UpdateObjectInLists__13CStateManagerFR7CEntity -/* 800543A0 00051300 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800543A4 00051304 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800543A8 00051308 83 C1 00 08 */ lwz r30, 8(r1) -/* 800543AC 0005130C 7C 08 03 A6 */ mtlr r0 -/* 800543B0 00051310 38 21 00 10 */ addi r1, r1, 0x10 -/* 800543B4 00051314 4E 80 00 20 */ blr - -.global SetCallTouch__6CActorFb -SetCallTouch__6CActorFb: -/* 800543B8 00051318 88 03 00 E5 */ lbz r0, 0xe5(r3) -/* 800543BC 0005131C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 800543C0 00051320 98 03 00 E5 */ stb r0, 0xe5(r3) -/* 800543C4 00051324 4E 80 00 20 */ blr - -.global GetCallTouch__6CActorCFv -GetCallTouch__6CActorCFv: -/* 800543C8 00051328 88 03 00 E5 */ lbz r0, 0xe5(r3) -/* 800543CC 0005132C 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f -/* 800543D0 00051330 7C 03 00 D0 */ neg r0, r3 -/* 800543D4 00051334 7C 00 1B 78 */ or r0, r0, r3 -/* 800543D8 00051338 54 03 0F FE */ srwi r3, r0, 0x1f -/* 800543DC 0005133C 4E 80 00 20 */ blr - -.global SetUseInSortedLists__6CActorFb -SetUseInSortedLists__6CActorFb: -/* 800543E0 00051340 88 03 00 E5 */ lbz r0, 0xe5(r3) -/* 800543E4 00051344 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 800543E8 00051348 98 03 00 E5 */ stb r0, 0xe5(r3) -/* 800543EC 0005134C 4E 80 00 20 */ blr - -.global GetUseInSortedLists__6CActorCFv -GetUseInSortedLists__6CActorCFv: -/* 800543F0 00051350 88 03 00 E5 */ lbz r0, 0xe5(r3) -/* 800543F4 00051354 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 800543F8 00051358 7C 03 00 D0 */ neg r0, r3 -/* 800543FC 0005135C 7C 00 1B 78 */ or r0, r0, r3 -/* 80054400 00051360 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80054404 00051364 4E 80 00 20 */ blr - -.global Touch__6CActorFR6CActorR13CStateManager -Touch__6CActorFR6CActorR13CStateManager: -/* 80054408 00051368 4E 80 00 20 */ blr - -.global GetTouchBounds__6CActorCFv -GetTouchBounds__6CActorCFv: -/* 8005440C 0005136C 38 00 00 00 */ li r0, 0 -/* 80054410 00051370 98 03 00 18 */ stb r0, 0x18(r3) -/* 80054414 00051374 4E 80 00 20 */ blr - -.global GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo -GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo: -/* 80054418 00051378 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005441C 0005137C 7C 08 02 A6 */ mflr r0 -/* 80054420 00051380 90 01 00 14 */ stw r0, 0x14(r1) -/* 80054424 00051384 81 83 00 00 */ lwz r12, 0(r3) -/* 80054428 00051388 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8005442C 0005138C 7D 89 03 A6 */ mtctr r12 -/* 80054430 00051390 4E 80 04 21 */ bctrl -/* 80054434 00051394 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80054438 00051398 7C 08 03 A6 */ mtlr r0 -/* 8005443C 0005139C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80054440 000513A0 4E 80 00 20 */ blr - -.global GetDamageVulnerability__6CActorCFv -GetDamageVulnerability__6CActorCFv: -/* 80054444 000513A4 3C 60 80 57 */ lis r3, lbl_8056D578@ha -/* 80054448 000513A8 38 63 D5 78 */ addi r3, r3, lbl_8056D578@l -/* 8005444C 000513AC 4E 80 00 20 */ blr - -.global HealthInfo__6CActorFR13CStateManager -HealthInfo__6CActorFR13CStateManager: -/* 80054450 000513B0 38 60 00 00 */ li r3, 0 -/* 80054454 000513B4 4E 80 00 20 */ blr - -.global GetPitch__6CActorCFv -GetPitch__6CActorCFv: -/* 80054458 000513B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005445C 000513BC 7C 08 02 A6 */ mflr r0 -/* 80054460 000513C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80054464 000513C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80054468 000513C8 7C 7F 1B 78 */ mr r31, r3 -/* 8005446C 000513CC C0 23 00 48 */ lfs f1, 0x48(r3) -/* 80054470 000513D0 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 80054474 000513D4 EC 21 00 72 */ fmuls f1, f1, f1 -/* 80054478 000513D8 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8005447C 000513DC EC 21 00 2A */ fadds f1, f1, f0 -/* 80054480 000513E0 48 2C 10 81 */ bl SqrtF__5CMathFf -/* 80054484 000513E4 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 80054488 000513E8 FC 40 08 90 */ fmr f2, f1 -/* 8005448C 000513EC FC 20 00 50 */ fneg f1, f0 -/* 80054490 000513F0 48 34 07 DD */ bl atan2 -/* 80054494 000513F4 FC 00 08 50 */ fneg f0, f1 -/* 80054498 000513F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005449C 000513FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800544A0 00051400 FC 20 00 18 */ frsp f1, f0 -/* 800544A4 00051404 7C 08 03 A6 */ mtlr r0 -/* 800544A8 00051408 38 21 00 10 */ addi r1, r1, 0x10 -/* 800544AC 0005140C 4E 80 00 20 */ blr - -.global GetYaw__6CActorCFv -GetYaw__6CActorCFv: -/* 800544B0 00051410 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800544B4 00051414 7C 08 02 A6 */ mflr r0 -/* 800544B8 00051418 C8 22 86 48 */ lfd f1, lbl_805AA368@sda21(r2) -/* 800544BC 0005141C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800544C0 00051420 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 800544C4 00051424 C0 43 00 48 */ lfs f2, 0x48(r3) -/* 800544C8 00051428 EC 00 00 32 */ fmuls f0, f0, f0 -/* 800544CC 0005142C EC 82 00 BA */ fmadds f4, f2, f2, f0 -/* 800544D0 00051430 FC 04 08 40 */ fcmpo cr0, f4, f1 -/* 800544D4 00051434 40 81 00 58 */ ble lbl_8005452C -/* 800544D8 00051438 FC 20 20 34 */ frsqrte f1, f4 -/* 800544DC 0005143C C8 62 86 50 */ lfd f3, lbl_805AA370@sda21(r2) -/* 800544E0 00051440 C8 42 86 58 */ lfd f2, lbl_805AA378@sda21(r2) -/* 800544E4 00051444 FC 01 00 72 */ fmul f0, f1, f1 -/* 800544E8 00051448 FC 23 00 72 */ fmul f1, f3, f1 -/* 800544EC 0005144C FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 800544F0 00051450 FC 21 00 32 */ fmul f1, f1, f0 -/* 800544F4 00051454 FC 01 00 72 */ fmul f0, f1, f1 -/* 800544F8 00051458 FC 23 00 72 */ fmul f1, f3, f1 -/* 800544FC 0005145C FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 80054500 00051460 FC 21 00 32 */ fmul f1, f1, f0 -/* 80054504 00051464 FC 01 00 72 */ fmul f0, f1, f1 -/* 80054508 00051468 FC 23 00 72 */ fmul f1, f3, f1 -/* 8005450C 0005146C FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 80054510 00051470 FC 21 00 32 */ fmul f1, f1, f0 -/* 80054514 00051474 FC 01 00 72 */ fmul f0, f1, f1 -/* 80054518 00051478 FC 23 00 72 */ fmul f1, f3, f1 -/* 8005451C 0005147C FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 80054520 00051480 FC 01 00 32 */ fmul f0, f1, f0 -/* 80054524 00051484 FC 24 00 32 */ fmul f1, f4, f0 -/* 80054528 00051488 48 00 00 2C */ b lbl_80054554 -lbl_8005452C: -/* 8005452C 0005148C FC 01 20 00 */ fcmpu cr0, f1, f4 -/* 80054530 00051490 40 82 00 08 */ bne lbl_80054538 -/* 80054534 00051494 48 00 00 20 */ b lbl_80054554 -lbl_80054538: -/* 80054538 00051498 FC 04 08 00 */ fcmpu cr0, f4, f1 -/* 8005453C 0005149C 41 82 00 10 */ beq lbl_8005454C -/* 80054540 000514A0 3C 80 80 5B */ lis r4, lbl_805A8BA0@ha -/* 80054544 000514A4 C0 24 8B A0 */ lfs f1, lbl_805A8BA0@l(r4) -/* 80054548 000514A8 48 00 00 0C */ b lbl_80054554 -lbl_8005454C: -/* 8005454C 000514AC 3C 80 80 5B */ lis r4, lbl_805A8BA4@ha -/* 80054550 000514B0 C0 24 8B A4 */ lfs f1, lbl_805A8BA4@l(r4) -lbl_80054554: -/* 80054554 000514B4 FC 20 08 18 */ frsp f1, f1 -/* 80054558 000514B8 C0 02 86 60 */ lfs f0, lbl_805AA380@sda21(r2) -/* 8005455C 000514BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80054560 000514C0 40 81 00 1C */ ble lbl_8005457C -/* 80054564 000514C4 C0 23 00 38 */ lfs f1, 0x38(r3) -/* 80054568 000514C8 C0 43 00 48 */ lfs f2, 0x48(r3) -/* 8005456C 000514CC 48 34 07 01 */ bl atan2 -/* 80054570 000514D0 FC 00 08 50 */ fneg f0, f1 -/* 80054574 000514D4 FC 20 00 18 */ frsp f1, f0 -/* 80054578 000514D8 48 00 00 08 */ b lbl_80054580 -lbl_8005457C: -/* 8005457C 000514DC C0 22 86 3C */ lfs f1, lbl_805AA35C@sda21(r2) -lbl_80054580: -/* 80054580 000514E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80054584 000514E4 7C 08 03 A6 */ mtlr r0 -/* 80054588 000514E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005458C 000514EC 4E 80 00 20 */ blr - -.global RenderInternal__6CActorCFRC13CStateManager -RenderInternal__6CActorCFRC13CStateManager: -/* 80054590 000514F0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80054594 000514F4 7C 08 02 A6 */ mflr r0 -/* 80054598 000514F8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8005459C 000514FC DB E1 00 50 */ stfd f31, 0x50(r1) -/* 800545A0 00051500 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 800545A4 00051504 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 800545A8 00051508 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 800545AC 0005150C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800545B0 00051510 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800545B4 00051514 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800545B8 00051518 7C 9D 23 78 */ mr r29, r4 -/* 800545BC 0005151C 7C 7F 1B 78 */ mr r31, r3 -/* 800545C0 00051520 7F A3 EB 78 */ mr r3, r29 -/* 800545C4 00051524 48 0C 09 19 */ bl GetRenderingModel__10CModelDataFRC13CStateManager -/* 800545C8 00051528 7C 7E 1B 78 */ mr r30, r3 -/* 800545CC 0005152C 2C 1E 00 03 */ cmpwi r30, 3 -/* 800545D0 00051530 40 82 01 90 */ bne lbl_80054760 -/* 800545D4 00051534 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800545D8 00051538 88 03 00 14 */ lbz r0, 0x14(r3) -/* 800545DC 0005153C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800545E0 00051540 41 82 00 B0 */ beq lbl_80054690 -/* 800545E4 00051544 E0 3F A0 BB */ psq_l f1, 187(r31), 1, qr2 -/* 800545E8 00051548 C0 02 86 64 */ lfs f0, lbl_805AA384@sda21(r2) -/* 800545EC 0005154C C0 9F 00 D0 */ lfs f4, 0xd0(r31) -/* 800545F0 00051550 C0 42 86 30 */ lfs f2, lbl_805AA350@sda21(r2) -/* 800545F4 00051554 EC 60 00 72 */ fmuls f3, f0, f1 -/* 800545F8 00051558 FC 04 10 40 */ fcmpo cr0, f4, f2 -/* 800545FC 0005155C 4C 40 13 82 */ cror 2, 0, 2 -/* 80054600 00051560 40 82 00 10 */ bne lbl_80054610 -/* 80054604 00051564 FC 40 20 90 */ fmr f2, f4 -/* 80054608 00051568 39 20 00 00 */ li r9, 0 -/* 8005460C 0005156C 48 00 00 2C */ b lbl_80054638 -lbl_80054610: -/* 80054610 00051570 C0 02 86 68 */ lfs f0, lbl_805AA388@sda21(r2) -/* 80054614 00051574 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80054618 00051578 40 80 00 1C */ bge lbl_80054634 -/* 8005461C 0005157C EC 04 10 28 */ fsubs f0, f4, f2 -/* 80054620 00051580 C0 22 86 6C */ lfs f1, lbl_805AA38C@sda21(r2) -/* 80054624 00051584 EF E1 00 32 */ fmuls f31, f1, f0 -/* 80054628 00051588 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 -/* 8005462C 0005158C 89 21 00 0A */ lbz r9, 0xa(r1) -/* 80054630 00051590 48 00 00 08 */ b lbl_80054638 -lbl_80054634: -/* 80054634 00051594 39 20 00 FF */ li r9, 0xff -lbl_80054638: -/* 80054638 00051598 C0 02 86 6C */ lfs f0, lbl_805AA38C@sda21(r2) -/* 8005463C 0005159C EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80054640 000515A0 EF C0 00 F2 */ fmuls f30, f0, f3 -/* 80054644 000515A4 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 -/* 80054648 000515A8 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8005464C 000515AC 88 7F 00 BB */ lbz r3, 0xbb(r31) -/* 80054650 000515B0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80054654 000515B4 89 01 00 09 */ lbz r8, 9(r1) -/* 80054658 000515B8 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8005465C 000515BC 54 60 F6 BE */ rlwinm r0, r3, 0x1e, 0x1a, 0x1f -/* 80054660 000515C0 98 61 00 23 */ stb r3, 0x23(r1) -/* 80054664 000515C4 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80054668 000515C8 38 FF 00 B4 */ addi r7, r31, 0xb4 -/* 8005466C 000515CC 99 01 00 20 */ stb r8, 0x20(r1) -/* 80054670 000515D0 99 01 00 21 */ stb r8, 0x21(r1) -/* 80054674 000515D4 99 01 00 22 */ stb r8, 0x22(r1) -/* 80054678 000515D8 99 21 00 1C */ stb r9, 0x1c(r1) -/* 8005467C 000515DC 99 21 00 1D */ stb r9, 0x1d(r1) -/* 80054680 000515E0 99 21 00 1E */ stb r9, 0x1e(r1) -/* 80054684 000515E4 98 01 00 1F */ stb r0, 0x1f(r1) -/* 80054688 000515E8 48 0C 1C 19 */ bl RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags -/* 8005468C 000515EC 48 00 00 EC */ b lbl_80054778 -lbl_80054690: -/* 80054690 000515F0 C0 3D 0F 28 */ lfs f1, 0xf28(r29) -/* 80054694 000515F4 C0 02 86 70 */ lfs f0, lbl_805AA390@sda21(r2) -/* 80054698 000515F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005469C 000515FC 40 81 00 C4 */ ble lbl_80054760 -/* 800546A0 00051600 88 1F 00 B4 */ lbz r0, 0xb4(r31) -/* 800546A4 00051604 7C 00 07 75 */ extsb. r0, r0 -/* 800546A8 00051608 40 82 00 B8 */ bne lbl_80054760 -/* 800546AC 0005160C C0 1D 0F 24 */ lfs f0, 0xf24(r29) -/* 800546B0 00051610 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800546B4 00051614 EC 01 00 2A */ fadds f0, f1, f0 -/* 800546B8 00051618 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800546BC 0005161C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800546C0 00051620 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800546C4 00051624 40 80 00 0C */ bge lbl_800546D0 -/* 800546C8 00051628 38 61 00 10 */ addi r3, r1, 0x10 -/* 800546CC 0005162C 48 00 00 08 */ b lbl_800546D4 -lbl_800546D0: -/* 800546D0 00051630 38 61 00 14 */ addi r3, r1, 0x14 -lbl_800546D4: -/* 800546D4 00051634 C0 22 86 6C */ lfs f1, lbl_805AA38C@sda21(r2) -/* 800546D8 00051638 38 81 00 0C */ addi r4, r1, 0xc -/* 800546DC 0005163C C0 03 00 00 */ lfs f0, 0(r3) -/* 800546E0 00051640 38 6D 82 B0 */ addi r3, r13, lbl_805A6E70@sda21 -/* 800546E4 00051644 38 AD 82 B4 */ addi r5, r13, lbl_805A6E74@sda21 -/* 800546E8 00051648 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800546EC 0005164C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800546F0 00051650 4B FB 7B C5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800546F4 00051654 C3 C3 00 00 */ lfs f30, 0(r3) -/* 800546F8 00051658 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 800546FC 0005165C 39 60 00 FF */ li r11, 0xff -/* 80054700 00051660 88 7F 00 B4 */ lbz r3, 0xb4(r31) -/* 80054704 00051664 39 00 00 02 */ li r8, 2 -/* 80054708 00051668 88 C1 00 08 */ lbz r6, 8(r1) -/* 8005470C 0005166C 7F C4 F3 78 */ mr r4, r30 -/* 80054710 00051670 80 1F 00 B8 */ lwz r0, 0xb8(r31) -/* 80054714 00051674 38 BF 00 34 */ addi r5, r31, 0x34 -/* 80054718 00051678 98 C1 00 18 */ stb r6, 0x18(r1) -/* 8005471C 0005167C 38 E1 00 24 */ addi r7, r1, 0x24 -/* 80054720 00051680 89 5F 00 B5 */ lbz r10, 0xb5(r31) -/* 80054724 00051684 98 61 00 24 */ stb r3, 0x24(r1) -/* 80054728 00051688 A1 3F 00 B6 */ lhz r9, 0xb6(r31) -/* 8005472C 0005168C 98 C1 00 19 */ stb r6, 0x19(r1) -/* 80054730 00051690 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80054734 00051694 98 C1 00 1A */ stb r6, 0x1a(r1) -/* 80054738 00051698 80 DF 00 90 */ lwz r6, 0x90(r31) -/* 8005473C 0005169C 99 61 00 1B */ stb r11, 0x1b(r1) -/* 80054740 000516A0 90 01 00 28 */ stw r0, 0x28(r1) -/* 80054744 000516A4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80054748 000516A8 99 41 00 25 */ stb r10, 0x25(r1) -/* 8005474C 000516AC B1 21 00 26 */ sth r9, 0x26(r1) -/* 80054750 000516B0 99 01 00 24 */ stb r8, 0x24(r1) -/* 80054754 000516B4 90 01 00 28 */ stw r0, 0x28(r1) -/* 80054758 000516B8 48 0C 21 1D */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 8005475C 000516BC 48 00 00 1C */ b lbl_80054778 -lbl_80054760: -/* 80054760 000516C0 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80054764 000516C4 7F C4 F3 78 */ mr r4, r30 -/* 80054768 000516C8 80 DF 00 90 */ lwz r6, 0x90(r31) -/* 8005476C 000516CC 38 BF 00 34 */ addi r5, r31, 0x34 -/* 80054770 000516D0 38 FF 00 B4 */ addi r7, r31, 0xb4 -/* 80054774 000516D4 48 0C 21 01 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_80054778: -/* 80054778 000516D8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8005477C 000516DC CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80054780 000516E0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80054784 000516E4 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80054788 000516E8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8005478C 000516EC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80054790 000516F0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80054794 000516F4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80054798 000516F8 7C 08 03 A6 */ mtlr r0 -/* 8005479C 000516FC 38 21 00 60 */ addi r1, r1, 0x60 -/* 800547A0 00051700 4E 80 00 20 */ blr - -.global Render__6CActorCFRC13CStateManager -Render__6CActorCFRC13CStateManager: -/* 800547A4 00051704 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800547A8 00051708 7C 08 02 A6 */ mflr r0 -/* 800547AC 0005170C 90 01 00 44 */ stw r0, 0x44(r1) -/* 800547B0 00051710 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800547B4 00051714 7C 9F 23 78 */ mr r31, r4 -/* 800547B8 00051718 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800547BC 0005171C 7C 7E 1B 78 */ mr r30, r3 -/* 800547C0 00051720 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800547C4 00051724 80 83 00 64 */ lwz r4, 0x64(r3) -/* 800547C8 00051728 28 04 00 00 */ cmplwi r4, 0 -/* 800547CC 0005172C 41 82 01 44 */ beq lbl_80054910 -/* 800547D0 00051730 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 800547D4 00051734 38 60 00 00 */ li r3, 0 -/* 800547D8 00051738 28 05 00 00 */ cmplwi r5, 0 -/* 800547DC 0005173C 40 82 00 14 */ bne lbl_800547F0 -/* 800547E0 00051740 88 04 00 28 */ lbz r0, 0x28(r4) -/* 800547E4 00051744 28 00 00 00 */ cmplwi r0, 0 -/* 800547E8 00051748 40 82 00 08 */ bne lbl_800547F0 -/* 800547EC 0005174C 38 60 00 01 */ li r3, 1 -lbl_800547F0: -/* 800547F0 00051750 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800547F4 00051754 40 82 01 1C */ bne lbl_80054910 -/* 800547F8 00051758 88 1E 00 E6 */ lbz r0, 0xe6(r30) -/* 800547FC 0005175C 3B A0 00 00 */ li r29, 0 -/* 80054800 00051760 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80054804 00051764 41 82 00 18 */ beq lbl_8005481C -/* 80054808 00051768 28 04 00 00 */ cmplwi r4, 0 -/* 8005480C 0005176C 41 82 00 10 */ beq lbl_8005481C -/* 80054810 00051770 28 05 00 00 */ cmplwi r5, 0 -/* 80054814 00051774 41 82 00 08 */ beq lbl_8005481C -/* 80054818 00051778 3B A0 00 01 */ li r29, 1 -lbl_8005481C: -/* 8005481C 0005177C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80054820 00051780 41 82 00 0C */ beq lbl_8005482C -/* 80054824 00051784 38 65 01 20 */ addi r3, r5, 0x120 -/* 80054828 00051788 48 06 37 8D */ bl RenderSystemsToBeDrawnFirst__17CParticleDatabaseCFv -lbl_8005482C: -/* 8005482C 0005178C 88 1E 00 E7 */ lbz r0, 0xe7(r30) -/* 80054830 00051790 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80054834 00051794 41 82 00 C4 */ beq lbl_800548F8 -/* 80054838 00051798 88 1E 00 E5 */ lbz r0, 0xe5(r30) -/* 8005483C 0005179C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80054840 000517A0 41 82 00 10 */ beq lbl_80054850 -/* 80054844 000517A4 7F E3 FB 78 */ mr r3, r31 -/* 80054848 000517A8 7F C4 F3 78 */ mr r4, r30 -/* 8005484C 000517AC 4B FF 08 3D */ bl SetupParticleHook__13CStateManagerCFRC6CActor -lbl_80054850: -/* 80054850 000517B0 88 1E 00 E5 */ lbz r0, 0xe5(r30) -/* 80054854 000517B4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80054858 000517B8 41 82 00 14 */ beq lbl_8005486C -/* 8005485C 000517BC 7F C3 F3 78 */ mr r3, r30 -/* 80054860 000517C0 7F E4 FB 78 */ mr r4, r31 -/* 80054864 000517C4 4B FF FD 2D */ bl RenderInternal__6CActorCFRC13CStateManager -/* 80054868 000517C8 48 00 00 70 */ b lbl_800548D8 -lbl_8005486C: -/* 8005486C 000517CC 48 2B 56 75 */ bl GetSecondsMod900__9CGraphicsFv -/* 80054870 000517D0 C0 1E 00 BC */ lfs f0, 0xbc(r30) -/* 80054874 000517D4 3C 00 43 30 */ lis r0, 0x4330 -/* 80054878 000517D8 C0 62 86 74 */ lfs f3, lbl_805AA394@sda21(r2) -/* 8005487C 000517DC 38 61 00 0C */ addi r3, r1, 0xc -/* 80054880 000517E0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80054884 000517E4 90 01 00 20 */ stw r0, 0x20(r1) -/* 80054888 000517E8 C8 42 86 80 */ lfd f2, lbl_805AA3A0@sda21(r2) -/* 8005488C 000517EC 38 81 00 08 */ addi r4, r1, 8 -/* 80054890 000517F0 C0 02 86 78 */ lfs f0, lbl_805AA398@sda21(r2) -/* 80054894 000517F4 EC 24 00 F2 */ fmuls f1, f4, f3 -/* 80054898 000517F8 FC 20 08 1E */ fctiwz f1, f1 -/* 8005489C 000517FC D8 21 00 18 */ stfd f1, 0x18(r1) -/* 800548A0 00051800 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 800548A4 00051804 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800548A8 00051808 90 01 00 24 */ stw r0, 0x24(r1) -/* 800548AC 0005180C C8 21 00 20 */ lfd f1, 0x20(r1) -/* 800548B0 00051810 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800548B4 00051814 EC 01 20 3C */ fnmsubs f0, f1, f0, f4 -/* 800548B8 00051818 D0 01 00 08 */ stfs f0, 8(r1) -/* 800548BC 0005181C 48 30 3A 19 */ bl __ct__13CTimeProviderFRCf -/* 800548C0 00051820 7F C3 F3 78 */ mr r3, r30 -/* 800548C4 00051824 7F E4 FB 78 */ mr r4, r31 -/* 800548C8 00051828 4B FF FC C9 */ bl RenderInternal__6CActorCFRC13CStateManager -/* 800548CC 0005182C 38 61 00 0C */ addi r3, r1, 0xc -/* 800548D0 00051830 38 80 FF FF */ li r4, -1 -/* 800548D4 00051834 48 30 39 89 */ bl __dt__13CTimeProviderFv -lbl_800548D8: -/* 800548D8 00051838 88 1E 00 E5 */ lbz r0, 0xe5(r30) -/* 800548DC 0005183C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800548E0 00051840 41 82 00 18 */ beq lbl_800548F8 -/* 800548E4 00051844 48 2F DE 25 */ bl ClearPointGeneratorFunc__13CSkinnedModelFv -/* 800548E8 00051848 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 800548EC 0005184C 7F E4 FB 78 */ mr r4, r31 -/* 800548F0 00051850 7F C5 F3 78 */ mr r5, r30 -/* 800548F4 00051854 48 18 F5 31 */ bl Render__20CActorModelParticlesCFRC6CActor -lbl_800548F8: -/* 800548F8 00051858 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 800548FC 0005185C 41 82 00 14 */ beq lbl_80054910 -/* 80054900 00051860 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80054904 00051864 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80054908 00051868 38 63 01 20 */ addi r3, r3, 0x120 -/* 8005490C 0005186C 48 06 36 19 */ bl RenderSystemsToBeDrawnLast__17CParticleDatabaseCFv -lbl_80054910: -/* 80054910 00051870 7F C3 F3 78 */ mr r3, r30 -/* 80054914 00051874 48 00 00 B5 */ bl DrawTouchBounds__6CActorCFv -/* 80054918 00051878 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8005491C 0005187C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80054920 00051880 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80054924 00051884 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80054928 00051888 7C 08 03 A6 */ mtlr r0 -/* 8005492C 0005188C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80054930 00051890 4E 80 00 20 */ blr - -.global CanRenderUnsorted__6CActorCFRC13CStateManager -CanRenderUnsorted__6CActorCFRC13CStateManager: -/* 80054934 00051894 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80054938 00051898 7C 08 02 A6 */ mflr r0 -/* 8005493C 0005189C 38 A0 00 00 */ li r5, 0 -/* 80054940 000518A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80054944 000518A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80054948 000518A8 80 C3 00 64 */ lwz r6, 0x64(r3) -/* 8005494C 000518AC 28 06 00 00 */ cmplwi r6, 0 -/* 80054950 000518B0 41 82 00 14 */ beq lbl_80054964 -/* 80054954 000518B4 80 06 00 10 */ lwz r0, 0x10(r6) -/* 80054958 000518B8 28 00 00 00 */ cmplwi r0, 0 -/* 8005495C 000518BC 41 82 00 08 */ beq lbl_80054964 -/* 80054960 000518C0 38 A0 00 01 */ li r5, 1 -lbl_80054964: -/* 80054964 000518C4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80054968 000518C8 41 82 00 28 */ beq lbl_80054990 -/* 8005496C 000518CC 80 A6 00 10 */ lwz r5, 0x10(r6) -/* 80054970 000518D0 88 05 01 D4 */ lbz r0, 0x1d4(r5) -/* 80054974 000518D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80054978 000518D8 41 82 00 18 */ beq lbl_80054990 -/* 8005497C 000518DC 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 80054980 000518E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80054984 000518E4 41 82 00 0C */ beq lbl_80054990 -/* 80054988 000518E8 38 60 00 00 */ li r3, 0 -/* 8005498C 000518EC 48 00 00 28 */ b lbl_800549B4 -lbl_80054990: -/* 80054990 000518F0 88 03 00 E5 */ lbz r0, 0xe5(r3) -/* 80054994 000518F4 3B E0 00 00 */ li r31, 0 -/* 80054998 000518F8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8005499C 000518FC 40 82 00 10 */ bne lbl_800549AC -/* 800549A0 00051900 4B FF F0 49 */ bl IsModelOpaque__6CActorCFRC13CStateManager -/* 800549A4 00051904 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800549A8 00051908 41 82 00 08 */ beq lbl_800549B0 -lbl_800549AC: -/* 800549AC 0005190C 3B E0 00 01 */ li r31, 1 -lbl_800549B0: -/* 800549B0 00051910 7F E3 FB 78 */ mr r3, r31 -lbl_800549B4: -/* 800549B4 00051914 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800549B8 00051918 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800549BC 0005191C 7C 08 03 A6 */ mtlr r0 -/* 800549C0 00051920 38 21 00 10 */ addi r1, r1, 0x10 -/* 800549C4 00051924 4E 80 00 20 */ blr - -.global DrawTouchBounds__6CActorCFv -DrawTouchBounds__6CActorCFv: -/* 800549C8 00051928 4E 80 00 20 */ blr - -.global EnsureRendered__6CActorCFRC13CStateManager -EnsureRendered__6CActorCFRC13CStateManager: -/* 800549CC 0005192C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800549D0 00051930 7C 08 02 A6 */ mflr r0 -/* 800549D4 00051934 90 01 00 74 */ stw r0, 0x74(r1) -/* 800549D8 00051938 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800549DC 0005193C 7C 9F 23 78 */ mr r31, r4 -/* 800549E0 00051940 7F E5 FB 78 */ mr r5, r31 -/* 800549E4 00051944 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800549E8 00051948 7C 7E 1B 78 */ mr r30, r3 -/* 800549EC 0005194C 7F C4 F3 78 */ mr r4, r30 -/* 800549F0 00051950 38 61 00 2C */ addi r3, r1, 0x2c -/* 800549F4 00051954 81 9E 00 00 */ lwz r12, 0(r30) -/* 800549F8 00051958 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800549FC 0005195C 7D 89 03 A6 */ mtctr r12 -/* 80054A00 00051960 4E 80 04 21 */ bctrl -/* 80054A04 00051964 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 80054A08 00051968 C1 01 00 2C */ lfs f8, 0x2c(r1) -/* 80054A0C 0005196C 38 C3 61 D4 */ addi r6, r3, lbl_805A61D4@l -/* 80054A10 00051970 C0 E1 00 30 */ lfs f7, 0x30(r1) -/* 80054A14 00051974 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 80054A18 00051978 38 61 00 08 */ addi r3, r1, 8 -/* 80054A1C 0005197C C0 A1 00 38 */ lfs f5, 0x38(r1) -/* 80054A20 00051980 38 81 00 44 */ addi r4, r1, 0x44 -/* 80054A24 00051984 C0 81 00 3C */ lfs f4, 0x3c(r1) -/* 80054A28 00051988 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80054A2C 0005198C C0 61 00 40 */ lfs f3, 0x40(r1) -/* 80054A30 00051990 C0 46 00 04 */ lfs f2, 4(r6) -/* 80054A34 00051994 C0 26 00 14 */ lfs f1, 0x14(r6) -/* 80054A38 00051998 C0 06 00 24 */ lfs f0, 0x24(r6) -/* 80054A3C 0005199C D1 01 00 44 */ stfs f8, 0x44(r1) -/* 80054A40 000519A0 D0 E1 00 48 */ stfs f7, 0x48(r1) -/* 80054A44 000519A4 D0 C1 00 4C */ stfs f6, 0x4c(r1) -/* 80054A48 000519A8 D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 80054A4C 000519AC D0 81 00 54 */ stfs f4, 0x54(r1) -/* 80054A50 000519B0 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 80054A54 000519B4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80054A58 000519B8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80054A5C 000519BC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80054A60 000519C0 48 2E 27 7D */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f -/* 80054A64 000519C4 C0 41 00 08 */ lfs f2, 8(r1) -/* 80054A68 000519C8 7F C3 F3 78 */ mr r3, r30 -/* 80054A6C 000519CC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80054A70 000519D0 7F E4 FB 78 */ mr r4, r31 -/* 80054A74 000519D4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80054A78 000519D8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80054A7C 000519DC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80054A80 000519E0 38 C1 00 44 */ addi r6, r1, 0x44 -/* 80054A84 000519E4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80054A88 000519E8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80054A8C 000519EC 48 00 00 1D */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f -/* 80054A90 000519F0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80054A94 000519F4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80054A98 000519F8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80054A9C 000519FC 7C 08 03 A6 */ mtlr r0 -/* 80054AA0 00051A00 38 21 00 70 */ addi r1, r1, 0x70 -/* 80054AA4 00051A04 4E 80 00 20 */ blr - -.global EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f -EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f: -/* 80054AA8 00051A08 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80054AAC 00051A0C 7C 08 02 A6 */ mflr r0 -/* 80054AB0 00051A10 90 01 00 24 */ stw r0, 0x24(r1) -/* 80054AB4 00051A14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80054AB8 00051A18 7C DF 33 78 */ mr r31, r6 -/* 80054ABC 00051A1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80054AC0 00051A20 7C BE 2B 78 */ mr r30, r5 -/* 80054AC4 00051A24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80054AC8 00051A28 7C 9D 23 78 */ mr r29, r4 -/* 80054ACC 00051A2C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80054AD0 00051A30 7C 7C 1B 78 */ mr r28, r3 -/* 80054AD4 00051A34 80 03 00 64 */ lwz r0, 0x64(r3) -/* 80054AD8 00051A38 28 00 00 00 */ cmplwi r0, 0 -/* 80054ADC 00051A3C 41 82 00 28 */ beq lbl_80054B04 -/* 80054AE0 00051A40 7F A3 EB 78 */ mr r3, r29 -/* 80054AE4 00051A44 48 0C 03 F9 */ bl GetRenderingModel__10CModelDataFRC13CStateManager -/* 80054AE8 00051A48 7C 60 1B 78 */ mr r0, r3 -/* 80054AEC 00051A4C 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 80054AF0 00051A50 80 DC 00 90 */ lwz r6, 0x90(r28) -/* 80054AF4 00051A54 7C 04 03 78 */ mr r4, r0 -/* 80054AF8 00051A58 38 BC 00 34 */ addi r5, r28, 0x34 -/* 80054AFC 00051A5C 38 FC 00 B4 */ addi r7, r28, 0xb4 -/* 80054B00 00051A60 48 0C 1C 2D */ bl RenderUnsortedParts__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_80054B04: -/* 80054B04 00051A64 7F A3 EB 78 */ mr r3, r29 -/* 80054B08 00051A68 7F 84 E3 78 */ mr r4, r28 -/* 80054B0C 00051A6C 7F C5 F3 78 */ mr r5, r30 -/* 80054B10 00051A70 7F E6 FB 78 */ mr r6, r31 -/* 80054B14 00051A74 4B FE FE 5D */ bl AddDrawableActor__13CStateManagerCFRC6CActorRC9CVector3fRC6CAABox -/* 80054B18 00051A78 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80054B1C 00051A7C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80054B20 00051A80 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80054B24 00051A84 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80054B28 00051A88 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80054B2C 00051A8C 7C 08 03 A6 */ mtlr r0 -/* 80054B30 00051A90 38 21 00 20 */ addi r1, r1, 0x20 -/* 80054B34 00051A94 4E 80 00 20 */ blr - -.global AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager: -/* 80054B38 00051A98 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80054B3C 00051A9C 7C 08 02 A6 */ mflr r0 -/* 80054B40 00051AA0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80054B44 00051AA4 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80054B48 00051AA8 7C 9F 23 78 */ mr r31, r4 -/* 80054B4C 00051AAC 38 80 00 00 */ li r4, 0 -/* 80054B50 00051AB0 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80054B54 00051AB4 7C 7E 1B 78 */ mr r30, r3 -/* 80054B58 00051AB8 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80054B5C 00051ABC 7C BD 2B 78 */ mr r29, r5 -/* 80054B60 00051AC0 80 63 00 64 */ lwz r3, 0x64(r3) -/* 80054B64 00051AC4 28 03 00 00 */ cmplwi r3, 0 -/* 80054B68 00051AC8 41 82 00 20 */ beq lbl_80054B88 -/* 80054B6C 00051ACC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80054B70 00051AD0 28 00 00 00 */ cmplwi r0, 0 -/* 80054B74 00051AD4 40 82 00 10 */ bne lbl_80054B84 -/* 80054B78 00051AD8 88 03 00 28 */ lbz r0, 0x28(r3) -/* 80054B7C 00051ADC 28 00 00 00 */ cmplwi r0, 0 -/* 80054B80 00051AE0 41 82 00 08 */ beq lbl_80054B88 -lbl_80054B84: -/* 80054B84 00051AE4 38 80 00 01 */ li r4, 1 -lbl_80054B88: -/* 80054B88 00051AE8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80054B8C 00051AEC 41 82 01 38 */ beq lbl_80054CC4 -/* 80054B90 00051AF0 88 1E 00 E6 */ lbz r0, 0xe6(r30) -/* 80054B94 00051AF4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80054B98 00051AF8 41 82 00 0C */ beq lbl_80054BA4 -/* 80054B9C 00051AFC 7F E4 FB 78 */ mr r4, r31 -/* 80054BA0 00051B00 48 0C 10 E1 */ bl RenderParticles__10CModelDataCFRC14CFrustumPlanes -lbl_80054BA4: -/* 80054BA4 00051B04 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80054BA8 00051B08 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80054BAC 00051B0C 40 82 00 4C */ bne lbl_80054BF8 -/* 80054BB0 00051B10 7F C3 F3 78 */ mr r3, r30 -/* 80054BB4 00051B14 7F A4 EB 78 */ mr r4, r29 -/* 80054BB8 00051B18 81 9E 00 00 */ lwz r12, 0(r30) -/* 80054BBC 00051B1C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80054BC0 00051B20 7D 89 03 A6 */ mtctr r12 -/* 80054BC4 00051B24 4E 80 04 21 */ bctrl -/* 80054BC8 00051B28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80054BCC 00051B2C 41 82 00 20 */ beq lbl_80054BEC -/* 80054BD0 00051B30 7F C3 F3 78 */ mr r3, r30 -/* 80054BD4 00051B34 7F A4 EB 78 */ mr r4, r29 -/* 80054BD8 00051B38 81 9E 00 00 */ lwz r12, 0(r30) -/* 80054BDC 00051B3C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80054BE0 00051B40 7D 89 03 A6 */ mtctr r12 -/* 80054BE4 00051B44 4E 80 04 21 */ bctrl -/* 80054BE8 00051B48 48 00 00 10 */ b lbl_80054BF8 -lbl_80054BEC: -/* 80054BEC 00051B4C 7F C3 F3 78 */ mr r3, r30 -/* 80054BF0 00051B50 7F A4 EB 78 */ mr r4, r29 -/* 80054BF4 00051B54 4B FF FD D9 */ bl EnsureRendered__6CActorCFRC13CStateManager -lbl_80054BF8: -/* 80054BF8 00051B58 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 80054BFC 00051B5C 7F A4 EB 78 */ mr r4, r29 -/* 80054C00 00051B60 80 63 00 00 */ lwz r3, 0(r3) -/* 80054C04 00051B64 48 03 C9 55 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80054C08 00051B68 2C 03 00 01 */ cmpwi r3, 1 -/* 80054C0C 00051B6C 41 82 00 B8 */ beq lbl_80054CC4 -/* 80054C10 00051B70 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 80054C14 00051B74 7F A4 EB 78 */ mr r4, r29 -/* 80054C18 00051B78 80 63 00 00 */ lwz r3, 0(r3) -/* 80054C1C 00051B7C 48 03 C9 3D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80054C20 00051B80 2C 03 00 03 */ cmpwi r3, 3 -/* 80054C24 00051B84 41 82 00 A0 */ beq lbl_80054CC4 -/* 80054C28 00051B88 88 1E 00 E5 */ lbz r0, 0xe5(r30) -/* 80054C2C 00051B8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80054C30 00051B90 41 82 00 94 */ beq lbl_80054CC4 -/* 80054C34 00051B94 80 7E 00 94 */ lwz r3, 0x94(r30) -/* 80054C38 00051B98 48 0B 0E C9 */ bl Valid__13CSimpleShadowCFv -/* 80054C3C 00051B9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80054C40 00051BA0 41 82 00 84 */ beq lbl_80054CC4 -/* 80054C44 00051BA4 80 9E 00 94 */ lwz r4, 0x94(r30) -/* 80054C48 00051BA8 38 61 00 2C */ addi r3, r1, 0x2c -/* 80054C4C 00051BAC 48 0B 10 29 */ bl GetBounds__13CSimpleShadowCFv -/* 80054C50 00051BB0 7F E3 FB 78 */ mr r3, r31 -/* 80054C54 00051BB4 38 81 00 2C */ addi r4, r1, 0x2c -/* 80054C58 00051BB8 48 2F 05 79 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 80054C5C 00051BBC 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80054C60 00051BC0 28 00 00 01 */ cmplwi r0, 1 -/* 80054C64 00051BC4 40 82 00 60 */ bne lbl_80054CC4 -/* 80054C68 00051BC8 83 FE 00 94 */ lwz r31, 0x94(r30) -/* 80054C6C 00051BCC 7F E3 FB 78 */ mr r3, r31 -/* 80054C70 00051BD0 48 0B 10 A1 */ bl GetTransform__13CSimpleShadowCFv -/* 80054C74 00051BD4 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 80054C78 00051BD8 7F E4 FB 78 */ mr r4, r31 -/* 80054C7C 00051BDC C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 80054C80 00051BE0 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80054C84 00051BE4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80054C88 00051BE8 83 DE 00 94 */ lwz r30, 0x94(r30) -/* 80054C8C 00051BEC D0 01 00 08 */ stfs f0, 8(r1) -/* 80054C90 00051BF0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80054C94 00051BF4 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80054C98 00051BF8 48 0B 0F DD */ bl GetBounds__13CSimpleShadowCFv -/* 80054C9C 00051BFC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80054CA0 00051C00 7F C4 F3 78 */ mr r4, r30 -/* 80054CA4 00051C04 38 A1 00 08 */ addi r5, r1, 8 -/* 80054CA8 00051C08 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80054CAC 00051C0C 81 83 00 00 */ lwz r12, 0(r3) -/* 80054CB0 00051C10 38 E0 00 01 */ li r7, 1 -/* 80054CB4 00051C14 39 00 00 00 */ li r8, 0 -/* 80054CB8 00051C18 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80054CBC 00051C1C 7D 89 03 A6 */ mtctr r12 -/* 80054CC0 00051C20 4E 80 04 21 */ bctrl -lbl_80054CC4: -/* 80054CC4 00051C24 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80054CC8 00051C28 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80054CCC 00051C2C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80054CD0 00051C30 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80054CD4 00051C34 7C 08 03 A6 */ mtlr r0 -/* 80054CD8 00051C38 38 21 00 60 */ addi r1, r1, 0x60 -/* 80054CDC 00051C3C 4E 80 00 20 */ blr - -.global PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes -PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes: -/* 80054CE0 00051C40 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80054CE4 00051C44 7C 08 02 A6 */ mflr r0 -/* 80054CE8 00051C48 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80054CEC 00051C4C 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 80054CF0 00051C50 7C BF 2B 78 */ mr r31, r5 -/* 80054CF4 00051C54 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 80054CF8 00051C58 7C 9E 23 78 */ mr r30, r4 -/* 80054CFC 00051C5C 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 80054D00 00051C60 7C 7D 1B 78 */ mr r29, r3 -/* 80054D04 00051C64 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 80054D08 00051C68 80 83 00 64 */ lwz r4, 0x64(r3) -/* 80054D0C 00051C6C 38 60 00 00 */ li r3, 0 -/* 80054D10 00051C70 28 04 00 00 */ cmplwi r4, 0 -/* 80054D14 00051C74 41 82 00 20 */ beq lbl_80054D34 -/* 80054D18 00051C78 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80054D1C 00051C7C 28 00 00 00 */ cmplwi r0, 0 -/* 80054D20 00051C80 40 82 00 10 */ bne lbl_80054D30 -/* 80054D24 00051C84 88 04 00 28 */ lbz r0, 0x28(r4) -/* 80054D28 00051C88 28 00 00 00 */ cmplwi r0, 0 -/* 80054D2C 00051C8C 41 82 00 08 */ beq lbl_80054D34 -lbl_80054D30: -/* 80054D30 00051C90 38 60 00 01 */ li r3, 1 -lbl_80054D34: -/* 80054D34 00051C94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80054D38 00051C98 41 82 02 D8 */ beq lbl_80055010 -/* 80054D3C 00051C9C 7F E3 FB 78 */ mr r3, r31 -/* 80054D40 00051CA0 38 9D 00 9C */ addi r4, r29, 0x9c -/* 80054D44 00051CA4 48 2F 04 8D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 80054D48 00051CA8 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 80054D4C 00051CAC 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80054D50 00051CB0 7C 63 00 34 */ cntlzw r3, r3 -/* 80054D54 00051CB4 50 60 E7 BC */ rlwimi r0, r3, 0x1c, 0x1e, 0x1e -/* 80054D58 00051CB8 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80054D5C 00051CBC 88 7D 00 E4 */ lbz r3, 0xe4(r29) -/* 80054D60 00051CC0 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 80054D64 00051CC4 40 82 01 F4 */ bne lbl_80054F58 -/* 80054D68 00051CC8 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 80054D6C 00051CCC 3B E0 00 00 */ li r31, 0 -/* 80054D70 00051CD0 41 82 00 2C */ beq lbl_80054D9C -/* 80054D74 00051CD4 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80054D78 00051CD8 38 60 00 00 */ li r3, 0 -/* 80054D7C 00051CDC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80054D80 00051CE0 38 60 00 01 */ li r3, 1 -/* 80054D84 00051CE4 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80054D88 00051CE8 3B E0 00 01 */ li r31, 1 -/* 80054D8C 00051CEC 88 1D 00 E5 */ lbz r0, 0xe5(r29) -/* 80054D90 00051CF0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80054D94 00051CF4 98 1D 00 E5 */ stb r0, 0xe5(r29) -/* 80054D98 00051CF8 48 00 00 38 */ b lbl_80054DD0 -lbl_80054D9C: -/* 80054D9C 00051CFC 88 1D 00 E7 */ lbz r0, 0xe7(r29) -/* 80054DA0 00051D00 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80054DA4 00051D04 41 82 00 0C */ beq lbl_80054DB0 -/* 80054DA8 00051D08 3B E0 00 01 */ li r31, 1 -/* 80054DAC 00051D0C 48 00 00 24 */ b lbl_80054DD0 -lbl_80054DB0: -/* 80054DB0 00051D10 80 7D 00 90 */ lwz r3, 0x90(r29) -/* 80054DB4 00051D14 28 03 00 00 */ cmplwi r3, 0 -/* 80054DB8 00051D18 41 82 00 18 */ beq lbl_80054DD0 -/* 80054DBC 00051D1C 88 03 02 98 */ lbz r0, 0x298(r3) -/* 80054DC0 00051D20 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 80054DC4 00051D24 28 00 00 01 */ cmplwi r0, 1 -/* 80054DC8 00051D28 40 82 00 08 */ bne lbl_80054DD0 -/* 80054DCC 00051D2C 3B E0 00 01 */ li r31, 1 -lbl_80054DD0: -/* 80054DD0 00051D30 88 1D 00 E5 */ lbz r0, 0xe5(r29) -/* 80054DD4 00051D34 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80054DD8 00051D38 41 82 00 4C */ beq lbl_80054E24 -/* 80054DDC 00051D3C 88 1D 00 E5 */ lbz r0, 0xe5(r29) -/* 80054DE0 00051D40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80054DE4 00051D44 41 82 00 40 */ beq lbl_80054E24 -/* 80054DE8 00051D48 83 9D 00 94 */ lwz r28, 0x94(r29) -/* 80054DEC 00051D4C 28 1C 00 00 */ cmplwi r28, 0 -/* 80054DF0 00051D50 41 82 00 34 */ beq lbl_80054E24 -/* 80054DF4 00051D54 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 80054DF8 00051D58 38 61 00 78 */ addi r3, r1, 0x78 -/* 80054DFC 00051D5C 48 0C 07 C9 */ bl GetBounds__10CModelDataCFv -/* 80054E00 00051D60 7F 83 E3 78 */ mr r3, r28 -/* 80054E04 00051D64 7F C6 F3 78 */ mr r6, r30 -/* 80054E08 00051D68 38 81 00 78 */ addi r4, r1, 0x78 -/* 80054E0C 00051D6C 38 BD 00 34 */ addi r5, r29, 0x34 -/* 80054E10 00051D70 48 0B 10 B9 */ bl Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager -/* 80054E14 00051D74 88 1D 00 E5 */ lbz r0, 0xe5(r29) -/* 80054E18 00051D78 38 60 00 00 */ li r3, 0 -/* 80054E1C 00051D7C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80054E20 00051D80 98 1D 00 E5 */ stb r0, 0xe5(r29) -lbl_80054E24: -/* 80054E24 00051D84 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80054E28 00051D88 38 60 00 00 */ li r3, 0 -/* 80054E2C 00051D8C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80054E30 00051D90 41 82 00 14 */ beq lbl_80054E44 -/* 80054E34 00051D94 80 1D 00 90 */ lwz r0, 0x90(r29) -/* 80054E38 00051D98 28 00 00 00 */ cmplwi r0, 0 -/* 80054E3C 00051D9C 41 82 00 08 */ beq lbl_80054E44 -/* 80054E40 00051DA0 38 60 00 01 */ li r3, 1 -lbl_80054E44: -/* 80054E44 00051DA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80054E48 00051DA8 41 82 00 F4 */ beq lbl_80054F3C -/* 80054E4C 00051DAC 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 80054E50 00051DB0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80054E54 00051DB4 38 BD 00 34 */ addi r5, r29, 0x34 -/* 80054E58 00051DB8 48 0C 09 5D */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 80054E5C 00051DBC C0 A1 00 60 */ lfs f5, 0x60(r1) -/* 80054E60 00051DC0 7F C4 F3 78 */ mr r4, r30 -/* 80054E64 00051DC4 C0 81 00 64 */ lfs f4, 0x64(r1) -/* 80054E68 00051DC8 C0 61 00 68 */ lfs f3, 0x68(r1) -/* 80054E6C 00051DCC C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 80054E70 00051DD0 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 80054E74 00051DD4 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 80054E78 00051DD8 D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 80054E7C 00051DDC D0 81 00 94 */ stfs f4, 0x94(r1) -/* 80054E80 00051DE0 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 80054E84 00051DE4 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 80054E88 00051DE8 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 80054E8C 00051DEC D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80054E90 00051DF0 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80054E94 00051DF4 80 63 00 00 */ lwz r3, 0(r3) -/* 80054E98 00051DF8 48 03 C6 C1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80054E9C 00051DFC 2C 03 00 03 */ cmpwi r3, 3 -/* 80054EA0 00051E00 40 82 00 10 */ bne lbl_80054EB0 -/* 80054EA4 00051E04 80 7D 00 90 */ lwz r3, 0x90(r29) -/* 80054EA8 00051E08 48 0A E1 DD */ bl BuildConstantAmbientLighting__12CActorLightsFv -/* 80054EAC 00051E0C 48 00 00 90 */ b lbl_80054F3C -lbl_80054EB0: -/* 80054EB0 00051E10 57 E0 06 3E */ clrlwi r0, r31, 0x18 -/* 80054EB4 00051E14 28 00 00 01 */ cmplwi r0, 1 -/* 80054EB8 00051E18 40 82 00 74 */ bne lbl_80054F2C -/* 80054EBC 00051E1C 80 BD 00 04 */ lwz r5, 4(r29) -/* 80054EC0 00051E20 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80054EC4 00051E24 7C 05 00 00 */ cmpw r5, r0 -/* 80054EC8 00051E28 41 82 00 64 */ beq lbl_80054F2C -/* 80054ECC 00051E2C 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 80054ED0 00051E30 54 A4 18 38 */ slwi r4, r5, 3 -/* 80054ED4 00051E34 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80054ED8 00051E38 80 E3 00 20 */ lwz r7, 0x20(r3) -/* 80054EDC 00051E3C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80054EE0 00051E40 7C 67 22 14 */ add r3, r7, r4 -/* 80054EE4 00051E44 80 63 00 04 */ lwz r3, 4(r3) -/* 80054EE8 00051E48 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 80054EEC 00051E4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80054EF0 00051E50 41 82 00 3C */ beq lbl_80054F2C -/* 80054EF4 00051E54 38 04 00 04 */ addi r0, r4, 4 -/* 80054EF8 00051E58 90 A1 00 08 */ stw r5, 8(r1) -/* 80054EFC 00051E5C 80 7D 00 90 */ lwz r3, 0x90(r29) -/* 80054F00 00051E60 7F C4 F3 78 */ mr r4, r30 -/* 80054F04 00051E64 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80054F08 00051E68 38 C1 00 90 */ addi r6, r1, 0x90 -/* 80054F0C 00051E6C 7C A7 00 2E */ lwzx r5, r7, r0 -/* 80054F10 00051E70 48 0A EE B1 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox -/* 80054F14 00051E74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80054F18 00051E78 41 82 00 14 */ beq lbl_80054F2C -/* 80054F1C 00051E7C 88 1D 00 E7 */ lbz r0, 0xe7(r29) -/* 80054F20 00051E80 38 60 00 00 */ li r3, 0 -/* 80054F24 00051E84 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80054F28 00051E88 98 1D 00 E7 */ stb r0, 0xe7(r29) -lbl_80054F2C: -/* 80054F2C 00051E8C 80 7D 00 90 */ lwz r3, 0x90(r29) -/* 80054F30 00051E90 7F C4 F3 78 */ mr r4, r30 -/* 80054F34 00051E94 38 A1 00 90 */ addi r5, r1, 0x90 -/* 80054F38 00051E98 48 0A E7 D9 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox -lbl_80054F3C: -/* 80054F3C 00051E9C 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80054F40 00051EA0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80054F44 00051EA4 28 00 00 00 */ cmplwi r0, 0 -/* 80054F48 00051EA8 41 82 00 C8 */ beq lbl_80055010 -/* 80054F4C 00051EAC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80054F50 00051EB0 4B FD 7A B5 */ bl PreRender__9CAnimDataFv -/* 80054F54 00051EB4 48 00 00 BC */ b lbl_80055010 -lbl_80054F58: -/* 80054F58 00051EB8 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 80054F5C 00051EBC 41 82 00 24 */ beq lbl_80054F80 -/* 80054F60 00051EC0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80054F64 00051EC4 38 60 00 00 */ li r3, 0 -/* 80054F68 00051EC8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80054F6C 00051ECC 38 60 00 01 */ li r3, 1 -/* 80054F70 00051ED0 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80054F74 00051ED4 88 1D 00 E5 */ lbz r0, 0xe5(r29) -/* 80054F78 00051ED8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80054F7C 00051EDC 98 1D 00 E5 */ stb r0, 0xe5(r29) -lbl_80054F80: -/* 80054F80 00051EE0 88 1D 00 E5 */ lbz r0, 0xe5(r29) -/* 80054F84 00051EE4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80054F88 00051EE8 41 82 00 88 */ beq lbl_80055010 -/* 80054F8C 00051EEC 88 1D 00 E5 */ lbz r0, 0xe5(r29) -/* 80054F90 00051EF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80054F94 00051EF4 41 82 00 7C */ beq lbl_80055010 -/* 80054F98 00051EF8 83 9D 00 94 */ lwz r28, 0x94(r29) -/* 80054F9C 00051EFC 28 1C 00 00 */ cmplwi r28, 0 -/* 80054FA0 00051F00 41 82 00 70 */ beq lbl_80055010 -/* 80054FA4 00051F04 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 80054FA8 00051F08 38 61 00 30 */ addi r3, r1, 0x30 -/* 80054FAC 00051F0C 38 BD 00 34 */ addi r5, r29, 0x34 -/* 80054FB0 00051F10 48 0C 08 05 */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 80054FB4 00051F14 7F 84 E3 78 */ mr r4, r28 -/* 80054FB8 00051F18 38 61 00 48 */ addi r3, r1, 0x48 -/* 80054FBC 00051F1C 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80054FC0 00051F20 48 0B 0B 4D */ bl GetMaxShadowBox__13CSimpleShadowCFRC6CAABox -/* 80054FC4 00051F24 7F E3 FB 78 */ mr r3, r31 -/* 80054FC8 00051F28 38 81 00 48 */ addi r4, r1, 0x48 -/* 80054FCC 00051F2C 48 2F 02 05 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 80054FD0 00051F30 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80054FD4 00051F34 28 00 00 01 */ cmplwi r0, 1 -/* 80054FD8 00051F38 40 82 00 38 */ bne lbl_80055010 -/* 80054FDC 00051F3C 83 FD 00 94 */ lwz r31, 0x94(r29) -/* 80054FE0 00051F40 38 61 00 18 */ addi r3, r1, 0x18 -/* 80054FE4 00051F44 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 80054FE8 00051F48 48 0C 05 DD */ bl GetBounds__10CModelDataCFv -/* 80054FEC 00051F4C 7F E3 FB 78 */ mr r3, r31 -/* 80054FF0 00051F50 7F C6 F3 78 */ mr r6, r30 -/* 80054FF4 00051F54 38 81 00 18 */ addi r4, r1, 0x18 -/* 80054FF8 00051F58 38 BD 00 34 */ addi r5, r29, 0x34 -/* 80054FFC 00051F5C 48 0B 0E CD */ bl Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager -/* 80055000 00051F60 88 1D 00 E5 */ lbz r0, 0xe5(r29) -/* 80055004 00051F64 38 60 00 00 */ li r3, 0 -/* 80055008 00051F68 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8005500C 00051F6C 98 1D 00 E5 */ stb r0, 0xe5(r29) -lbl_80055010: -/* 80055010 00051F70 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80055014 00051F74 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 80055018 00051F78 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8005501C 00051F7C 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 80055020 00051F80 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 80055024 00051F84 7C 08 03 A6 */ mtlr r0 -/* 80055028 00051F88 38 21 00 C0 */ addi r1, r1, 0xc0 - -.global sub_8005502c -sub_8005502c: -/* 8005502C 00051F8C 4E 80 00 20 */ blr - -.global SetModelData__6CActorFRC10CModelData -SetModelData__6CActorFRC10CModelData: -/* 80055030 00051F90 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80055034 00051F94 7C 08 02 A6 */ mflr r0 -/* 80055038 00051F98 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005503C 00051F9C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80055040 00051FA0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80055044 00051FA4 7C 9E 23 78 */ mr r30, r4 -/* 80055048 00051FA8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005504C 00051FAC 7C 7D 1B 78 */ mr r29, r3 -/* 80055050 00051FB0 38 60 00 00 */ li r3, 0 -/* 80055054 00051FB4 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80055058 00051FB8 28 00 00 00 */ cmplwi r0, 0 -/* 8005505C 00051FBC 40 82 00 14 */ bne lbl_80055070 -/* 80055060 00051FC0 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 80055064 00051FC4 28 00 00 00 */ cmplwi r0, 0 -/* 80055068 00051FC8 40 82 00 08 */ bne lbl_80055070 -/* 8005506C 00051FCC 38 60 00 01 */ li r3, 1 -lbl_80055070: -/* 80055070 00051FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80055074 00051FD4 41 82 00 0C */ beq lbl_80055080 -/* 80055078 00051FD8 3B E0 00 00 */ li r31, 0 -/* 8005507C 00051FDC 48 00 00 2C */ b lbl_800550A8 -lbl_80055080: -/* 80055080 00051FE0 3C 80 80 3D */ lis r4, lbl_803CCF68@ha -/* 80055084 00051FE4 38 60 00 4C */ li r3, 0x4c -/* 80055088 00051FE8 38 84 CF 68 */ addi r4, r4, lbl_803CCF68@l -/* 8005508C 00051FEC 38 A0 00 00 */ li r5, 0 -/* 80055090 00051FF0 48 2C 07 DD */ bl __nw__FUlPCcPCc -/* 80055094 00051FF4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80055098 00051FF8 41 82 00 10 */ beq lbl_800550A8 -/* 8005509C 00051FFC 7F C4 F3 78 */ mr r4, r30 -/* 800550A0 00052000 4B FC 3C ED */ bl __ct__10CModelDataFRC10CModelData -/* 800550A4 00052004 7C 7F 1B 78 */ mr r31, r3 -lbl_800550A8: -/* 800550A8 00052008 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 800550AC 0005200C 38 80 00 01 */ li r4, 1 -/* 800550B0 00052010 48 0C 19 9D */ bl __dt__10CModelDataFv -/* 800550B4 00052014 93 FD 00 64 */ stw r31, 0x64(r29) -/* 800550B8 00052018 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800550BC 0005201C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800550C0 00052020 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800550C4 00052024 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800550C8 00052028 7C 08 03 A6 */ mtlr r0 -/* 800550CC 0005202C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800550D0 00052030 4E 80 00 20 */ blr - -.global CalculateRenderBounds__6CActorFv -CalculateRenderBounds__6CActorFv: -/* 800550D4 00052034 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800550D8 00052038 7C 08 02 A6 */ mflr r0 -/* 800550DC 0005203C 90 01 00 54 */ stw r0, 0x54(r1) -/* 800550E0 00052040 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800550E4 00052044 7C 7F 1B 78 */ mr r31, r3 -/* 800550E8 00052048 38 60 00 00 */ li r3, 0 -/* 800550EC 0005204C 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 800550F0 00052050 28 04 00 00 */ cmplwi r4, 0 -/* 800550F4 00052054 41 82 00 20 */ beq lbl_80055114 -/* 800550F8 00052058 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800550FC 0005205C 28 00 00 00 */ cmplwi r0, 0 -/* 80055100 00052060 40 82 00 10 */ bne lbl_80055110 -/* 80055104 00052064 88 04 00 28 */ lbz r0, 0x28(r4) -/* 80055108 00052068 28 00 00 00 */ cmplwi r0, 0 -/* 8005510C 0005206C 41 82 00 08 */ beq lbl_80055114 -lbl_80055110: -/* 80055110 00052070 38 60 00 01 */ li r3, 1 -lbl_80055114: -/* 80055114 00052074 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80055118 00052078 41 82 00 44 */ beq lbl_8005515C -/* 8005511C 0005207C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80055120 00052080 38 BF 00 34 */ addi r5, r31, 0x34 -/* 80055124 00052084 48 0C 06 91 */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 80055128 00052088 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8005512C 0005208C 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80055130 00052090 90 7F 00 9C */ stw r3, 0x9c(r31) -/* 80055134 00052094 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 80055138 00052098 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005513C 0005209C 90 1F 00 A4 */ stw r0, 0xa4(r31) -/* 80055140 000520A0 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80055144 000520A4 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80055148 000520A8 90 7F 00 A8 */ stw r3, 0xa8(r31) -/* 8005514C 000520AC 90 1F 00 AC */ stw r0, 0xac(r31) -/* 80055150 000520B0 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80055154 000520B4 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 80055158 000520B8 48 00 00 5C */ b lbl_800551B4 -lbl_8005515C: -/* 8005515C 000520BC C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80055160 000520C0 38 81 00 08 */ addi r4, r1, 8 -/* 80055164 000520C4 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80055168 000520C8 7C 85 23 78 */ mr r5, r4 -/* 8005516C 000520CC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80055170 000520D0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80055174 000520D4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80055178 000520D8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8005517C 000520DC D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80055180 000520E0 48 2E 33 89 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80055184 000520E4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80055188 000520E8 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8005518C 000520EC 90 7F 00 9C */ stw r3, 0x9c(r31) -/* 80055190 000520F0 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 80055194 000520F4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80055198 000520F8 90 1F 00 A4 */ stw r0, 0xa4(r31) -/* 8005519C 000520FC 80 61 00 20 */ lwz r3, 0x20(r1) -/* 800551A0 00052100 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800551A4 00052104 90 7F 00 A8 */ stw r3, 0xa8(r31) -/* 800551A8 00052108 90 1F 00 AC */ stw r0, 0xac(r31) -/* 800551AC 0005210C 80 01 00 28 */ lwz r0, 0x28(r1) -/* 800551B0 00052110 90 1F 00 B0 */ stw r0, 0xb0(r31) -lbl_800551B4: -/* 800551B4 00052114 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800551B8 00052118 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800551BC 0005211C 7C 08 03 A6 */ mtlr r0 -/* 800551C0 00052120 38 21 00 50 */ addi r1, r1, 0x50 -/* 800551C4 00052124 4E 80 00 20 */ blr - -.global GetAverageAnimVelocity__6CActorFi -GetAverageAnimVelocity__6CActorFi: -/* 800551C8 00052128 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800551CC 0005212C 7C 08 02 A6 */ mflr r0 -/* 800551D0 00052130 90 01 00 14 */ stw r0, 0x14(r1) -/* 800551D4 00052134 80 A3 00 64 */ lwz r5, 0x64(r3) -/* 800551D8 00052138 38 60 00 00 */ li r3, 0 -/* 800551DC 0005213C 28 05 00 00 */ cmplwi r5, 0 -/* 800551E0 00052140 41 82 00 14 */ beq lbl_800551F4 -/* 800551E4 00052144 80 05 00 10 */ lwz r0, 0x10(r5) -/* 800551E8 00052148 28 00 00 00 */ cmplwi r0, 0 -/* 800551EC 0005214C 41 82 00 08 */ beq lbl_800551F4 -/* 800551F0 00052150 38 60 00 01 */ li r3, 1 -lbl_800551F4: -/* 800551F4 00052154 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800551F8 00052158 41 82 00 10 */ beq lbl_80055208 -/* 800551FC 0005215C 80 65 00 10 */ lwz r3, 0x10(r5) -/* 80055200 00052160 4B FD 93 21 */ bl GetAverageVelocity__9CAnimDataCFi -/* 80055204 00052164 48 00 00 08 */ b lbl_8005520C -lbl_80055208: -/* 80055208 00052168 C0 22 86 3C */ lfs f1, lbl_805AA35C@sda21(r2) -lbl_8005520C: -/* 8005520C 0005216C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80055210 00052170 7C 08 03 A6 */ mtlr r0 -/* 80055214 00052174 38 21 00 10 */ addi r1, r1, 0x10 -/* 80055218 00052178 4E 80 00 20 */ blr - -.global DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 8005521C 0005217C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80055220 00052180 7C 08 02 A6 */ mflr r0 -/* 80055224 00052184 2C 06 00 02 */ cmpwi r6, 2 -/* 80055228 00052188 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005522C 0005218C 40 82 00 08 */ bne lbl_80055234 -/* 80055230 00052190 48 00 00 15 */ bl RemoveEmitter__6CActorFv -lbl_80055234: -/* 80055234 00052194 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80055238 00052198 7C 08 03 A6 */ mtlr r0 -/* 8005523C 0005219C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80055240 000521A0 4E 80 00 20 */ blr - -.global RemoveEmitter__6CActorFv -RemoveEmitter__6CActorFv: -/* 80055244 000521A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80055248 000521A8 7C 08 02 A6 */ mflr r0 -/* 8005524C 000521AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80055250 000521B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80055254 000521B4 7C 7F 1B 78 */ mr r31, r3 -/* 80055258 000521B8 80 03 00 8C */ lwz r0, 0x8c(r3) -/* 8005525C 000521BC 28 00 00 00 */ cmplwi r0, 0 -/* 80055260 000521C0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80055264 000521C4 41 82 00 24 */ beq lbl_80055288 -/* 80055268 000521C8 90 01 00 08 */ stw r0, 8(r1) -/* 8005526C 000521CC 38 61 00 08 */ addi r3, r1, 8 -/* 80055270 000521D0 48 29 4C 15 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 80055274 000521D4 3C 60 00 01 */ lis r3, 0x0000FFFF@ha -/* 80055278 000521D8 38 00 00 00 */ li r0, 0 -/* 8005527C 000521DC 38 63 FF FF */ addi r3, r3, 0x0000FFFF@l -/* 80055280 000521E0 B0 7F 00 88 */ sth r3, 0x88(r31) -/* 80055284 000521E4 90 1F 00 8C */ stw r0, 0x8c(r31) -lbl_80055288: -/* 80055288 000521E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005528C 000521EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80055290 000521F0 7C 08 03 A6 */ mtlr r0 -/* 80055294 000521F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80055298 000521F8 4E 80 00 20 */ blr - -.global UpdateAnimation__6CActorFfR13CStateManagerb -UpdateAnimation__6CActorFfR13CStateManagerb: -/* 8005529C 000521FC 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 800552A0 00052200 7C 08 02 A6 */ mflr r0 -/* 800552A4 00052204 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 800552A8 00052208 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 800552AC 0005220C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 800552B0 00052210 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 800552B4 00052214 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 800552B8 00052218 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 800552BC 0005221C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 800552C0 00052220 DB 81 00 B0 */ stfd f28, 0xb0(r1) -/* 800552C4 00052224 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 -/* 800552C8 00052228 DB 61 00 A0 */ stfd f27, 0xa0(r1) -/* 800552CC 0005222C F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 -/* 800552D0 00052230 DB 41 00 90 */ stfd f26, 0x90(r1) -/* 800552D4 00052234 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 -/* 800552D8 00052238 DB 21 00 80 */ stfd f25, 0x80(r1) -/* 800552DC 0005223C F3 21 00 88 */ psq_st f25, 136(r1), 0, qr0 -/* 800552E0 00052240 DB 01 00 70 */ stfd f24, 0x70(r1) -/* 800552E4 00052244 F3 01 00 78 */ psq_st f24, 120(r1), 0, qr0 -/* 800552E8 00052248 BF 01 00 50 */ stmw r24, 0x50(r1) -/* 800552EC 0005224C FF 00 08 90 */ fmr f24, f1 -/* 800552F0 00052250 7C 7A 1B 78 */ mr r26, r3 -/* 800552F4 00052254 7C 9B 23 78 */ mr r27, r4 -/* 800552F8 00052258 7C BC 2B 78 */ mr r28, r5 -/* 800552FC 0005225C 7C D8 33 78 */ mr r24, r6 -/* 80055300 00052260 38 61 00 10 */ addi r3, r1, 0x10 -/* 80055304 00052264 4B FF BD 81 */ bl GetAreaId__7CEntityCFv -/* 80055308 00052268 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8005530C 0005226C FC 20 C0 90 */ fmr f1, f24 -/* 80055310 00052270 7F 85 E3 78 */ mr r5, r28 -/* 80055314 00052274 38 61 00 30 */ addi r3, r1, 0x30 -/* 80055318 00052278 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005531C 0005227C 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80055320 00052280 57 07 06 3E */ clrlwi r7, r24, 0x18 -/* 80055324 00052284 80 9B 00 64 */ lwz r4, 0x64(r27) -/* 80055328 00052288 48 0C 08 0D */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb -/* 8005532C 0005228C FC 20 C0 90 */ fmr f1, f24 -/* 80055330 00052290 C3 E1 00 30 */ lfs f31, 0x30(r1) -/* 80055334 00052294 C3 C1 00 34 */ lfs f30, 0x34(r1) -/* 80055338 00052298 7F 85 E3 78 */ mr r5, r28 -/* 8005533C 0005229C C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 80055340 000522A0 38 9B 00 34 */ addi r4, r27, 0x34 -/* 80055344 000522A4 C3 81 00 3C */ lfs f28, 0x3c(r1) -/* 80055348 000522A8 C3 61 00 40 */ lfs f27, 0x40(r1) -/* 8005534C 000522AC C3 41 00 44 */ lfs f26, 0x44(r1) -/* 80055350 000522B0 C3 21 00 48 */ lfs f25, 0x48(r1) -/* 80055354 000522B4 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 80055358 000522B8 48 0C 02 35 */ bl AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager -/* 8005535C 000522BC 7F 63 DB 78 */ mr r3, r27 -/* 80055360 000522C0 4B FF D8 ED */ bl UpdateSfxEmitters__6CActorFv -/* 80055364 000522C4 80 9B 00 64 */ lwz r4, 0x64(r27) -/* 80055368 000522C8 38 60 00 00 */ li r3, 0 -/* 8005536C 000522CC 28 04 00 00 */ cmplwi r4, 0 -/* 80055370 000522D0 41 82 00 14 */ beq lbl_80055384 -/* 80055374 000522D4 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80055378 000522D8 28 00 00 00 */ cmplwi r0, 0 -/* 8005537C 000522DC 41 82 00 08 */ beq lbl_80055384 -/* 80055380 000522E0 38 60 00 01 */ li r3, 1 -lbl_80055384: -/* 80055384 000522E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80055388 000522E8 41 82 02 F8 */ beq lbl_80055680 -/* 8005538C 000522EC 8B DB 00 D4 */ lbz r30, 0xd4(r27) -/* 80055390 000522F0 7F 84 E3 78 */ mr r4, r28 -/* 80055394 000522F4 83 FB 00 04 */ lwz r31, 4(r27) -/* 80055398 000522F8 80 7C 08 70 */ lwz r3, 0x870(r28) -/* 8005539C 000522FC 4B FB 67 7D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800553A0 00052300 C0 BB 00 60 */ lfs f5, 0x60(r27) -/* 800553A4 00052304 3B A0 00 00 */ li r29, 0 -/* 800553A8 00052308 C0 9B 00 50 */ lfs f4, 0x50(r27) -/* 800553AC 0005230C 38 80 00 00 */ li r4, 0 -/* 800553B0 00052310 C0 7B 00 40 */ lfs f3, 0x40(r27) -/* 800553B4 00052314 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 800553B8 00052318 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 800553BC 0005231C D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 800553C0 00052320 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 800553C4 00052324 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 800553C8 00052328 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 800553CC 0005232C EC 42 20 28 */ fsubs f2, f2, f4 -/* 800553D0 00052330 EC 21 28 28 */ fsubs f1, f1, f5 -/* 800553D4 00052334 EC 00 18 28 */ fsubs f0, f0, f3 -/* 800553D8 00052338 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800553DC 0005233C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800553E0 00052340 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 800553E4 00052344 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 800553E8 00052348 28 03 00 00 */ cmplwi r3, 0 -/* 800553EC 0005234C 41 82 00 14 */ beq lbl_80055400 -/* 800553F0 00052350 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800553F4 00052354 28 00 00 00 */ cmplwi r0, 0 -/* 800553F8 00052358 41 82 00 08 */ beq lbl_80055400 -/* 800553FC 0005235C 38 80 00 01 */ li r4, 1 -lbl_80055400: -/* 80055400 00052360 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80055404 00052364 41 82 00 1C */ beq lbl_80055420 -/* 80055408 00052368 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8005540C 0005236C 3C 60 80 57 */ lis r3, lbl_8056C9EC@ha -/* 80055410 00052370 38 63 C9 EC */ addi r3, r3, lbl_8056C9EC@l -/* 80055414 00052374 83 A4 02 18 */ lwz r29, 0x218(r4) -/* 80055418 00052378 3B 23 00 04 */ addi r25, r3, 4 -/* 8005541C 0005237C 48 00 00 08 */ b lbl_80055424 -lbl_80055420: -/* 80055420 00052380 3B 20 00 00 */ li r25, 0 -lbl_80055424: -/* 80055424 00052384 2C 1D 00 00 */ cmpwi r29, 0 -/* 80055428 00052388 40 81 00 98 */ ble lbl_800554C0 -/* 8005542C 0005238C 28 19 00 00 */ cmplwi r25, 0 -/* 80055430 00052390 41 82 00 90 */ beq lbl_800554C0 -/* 80055434 00052394 3B 00 00 00 */ li r24, 0 -/* 80055438 00052398 48 00 00 80 */ b lbl_800554B8 -lbl_8005543C: -/* 8005543C 0005239C A0 19 00 18 */ lhz r0, 0x18(r25) -/* 80055440 000523A0 80 99 00 30 */ lwz r4, 0x30(r25) -/* 80055444 000523A4 2C 00 00 08 */ cmpwi r0, 8 -/* 80055448 000523A8 40 82 00 68 */ bne lbl_800554B0 -/* 8005544C 000523AC 88 1B 00 E5 */ lbz r0, 0xe5(r27) -/* 80055450 000523B0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80055454 000523B4 40 82 00 5C */ bne lbl_800554B0 -/* 80055458 000523B8 2C 04 FF FF */ cmpwi r4, -1 -/* 8005545C 000523BC 41 82 00 18 */ beq lbl_80055474 -/* 80055460 000523C0 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 80055464 000523C4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80055468 000523C8 80 03 02 04 */ lwz r0, 0x204(r3) -/* 8005546C 000523CC 7C 04 00 00 */ cmpw r4, r0 -/* 80055470 000523D0 40 82 00 40 */ bne lbl_800554B0 -lbl_80055474: -/* 80055474 000523D4 93 81 00 08 */ stw r28, 8(r1) -/* 80055478 000523D8 38 00 00 01 */ li r0, 1 -/* 8005547C 000523DC 7F 63 DB 78 */ mr r3, r27 -/* 80055480 000523E0 7F C7 F3 78 */ mr r7, r30 -/* 80055484 000523E4 90 01 00 0C */ stw r0, 0xc(r1) -/* 80055488 000523E8 7F EA FB 78 */ mr r10, r31 -/* 8005548C 000523EC 39 01 00 18 */ addi r8, r1, 0x18 -/* 80055490 000523F0 39 21 00 24 */ addi r9, r1, 0x24 -/* 80055494 000523F4 80 99 00 38 */ lwz r4, 0x38(r25) -/* 80055498 000523F8 38 C0 00 14 */ li r6, 0x14 -/* 8005549C 000523FC C0 39 00 2C */ lfs f1, 0x2c(r25) -/* 800554A0 00052400 80 B9 00 34 */ lwz r5, 0x34(r25) -/* 800554A4 00052404 C0 59 00 3C */ lfs f2, 0x3c(r25) -/* 800554A8 00052408 C0 79 00 40 */ lfs f3, 0x40(r25) -/* 800554AC 0005240C 4B FF DA 85 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager -lbl_800554B0: -/* 800554B0 00052410 3B 39 00 44 */ addi r25, r25, 0x44 -/* 800554B4 00052414 3B 18 00 01 */ addi r24, r24, 1 -lbl_800554B8: -/* 800554B8 00052418 7C 18 E8 00 */ cmpw r24, r29 -/* 800554BC 0005241C 41 80 FF 80 */ blt lbl_8005543C -lbl_800554C0: -/* 800554C0 00052420 80 9B 00 64 */ lwz r4, 0x64(r27) -/* 800554C4 00052424 3B A0 00 00 */ li r29, 0 -/* 800554C8 00052428 38 60 00 00 */ li r3, 0 -/* 800554CC 0005242C 28 04 00 00 */ cmplwi r4, 0 -/* 800554D0 00052430 41 82 00 14 */ beq lbl_800554E4 -/* 800554D4 00052434 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800554D8 00052438 28 00 00 00 */ cmplwi r0, 0 -/* 800554DC 0005243C 41 82 00 08 */ beq lbl_800554E4 -/* 800554E0 00052440 38 60 00 01 */ li r3, 1 -lbl_800554E4: -/* 800554E4 00052444 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800554E8 00052448 41 82 00 1C */ beq lbl_80055504 -/* 800554EC 0005244C 80 84 00 10 */ lwz r4, 0x10(r4) -/* 800554F0 00052450 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 800554F4 00052454 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l -/* 800554F8 00052458 83 A4 02 10 */ lwz r29, 0x210(r4) -/* 800554FC 0005245C 3B 23 00 04 */ addi r25, r3, 4 -/* 80055500 00052460 48 00 00 08 */ b lbl_80055508 -lbl_80055504: -/* 80055504 00052464 3B 20 00 00 */ li r25, 0 -lbl_80055508: -/* 80055508 00052468 2C 1D 00 00 */ cmpwi r29, 0 -/* 8005550C 0005246C 40 81 00 C8 */ ble lbl_800555D4 -/* 80055510 00052470 28 19 00 00 */ cmplwi r25, 0 -/* 80055514 00052474 41 82 00 C0 */ beq lbl_800555D4 -/* 80055518 00052478 3B 00 00 00 */ li r24, 0 -/* 8005551C 0005247C 48 00 00 B0 */ b lbl_800555CC -lbl_80055520: -/* 80055520 00052480 A0 B9 00 18 */ lhz r5, 0x18(r25) -/* 80055524 00052484 80 99 00 30 */ lwz r4, 0x30(r25) -/* 80055528 00052488 2C 05 00 04 */ cmpwi r5, 4 -/* 8005552C 0005248C 40 82 00 6C */ bne lbl_80055598 -/* 80055530 00052490 88 1B 00 E5 */ lbz r0, 0xe5(r27) -/* 80055534 00052494 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80055538 00052498 40 82 00 60 */ bne lbl_80055598 -/* 8005553C 0005249C 2C 04 FF FF */ cmpwi r4, -1 -/* 80055540 000524A0 41 82 00 18 */ beq lbl_80055558 -/* 80055544 000524A4 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 80055548 000524A8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8005554C 000524AC 80 03 02 04 */ lwz r0, 0x204(r3) -/* 80055550 000524B0 7C 04 00 00 */ cmpw r4, r0 -/* 80055554 000524B4 40 82 00 44 */ bne lbl_80055598 -lbl_80055558: -/* 80055558 000524B8 93 81 00 08 */ stw r28, 8(r1) -/* 8005555C 000524BC 38 00 00 01 */ li r0, 1 -/* 80055560 000524C0 C0 42 86 44 */ lfs f2, lbl_805AA364@sda21(r2) -/* 80055564 000524C4 7F 63 DB 78 */ mr r3, r27 -/* 80055568 000524C8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8005556C 000524CC 7F C7 F3 78 */ mr r7, r30 -/* 80055570 000524D0 C0 62 86 88 */ lfs f3, lbl_805AA3A8@sda21(r2) -/* 80055574 000524D4 7F EA FB 78 */ mr r10, r31 -/* 80055578 000524D8 80 99 00 38 */ lwz r4, 0x38(r25) -/* 8005557C 000524DC 39 01 00 18 */ addi r8, r1, 0x18 -/* 80055580 000524E0 C0 39 00 2C */ lfs f1, 0x2c(r25) -/* 80055584 000524E4 39 21 00 24 */ addi r9, r1, 0x24 -/* 80055588 000524E8 80 B9 00 34 */ lwz r5, 0x34(r25) -/* 8005558C 000524EC 38 C0 00 14 */ li r6, 0x14 -/* 80055590 000524F0 4B FF D9 A1 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager -/* 80055594 000524F4 48 00 00 30 */ b lbl_800555C4 -lbl_80055598: -/* 80055598 000524F8 2C 05 00 06 */ cmpwi r5, 6 -/* 8005559C 000524FC 40 82 00 28 */ bne lbl_800555C4 -/* 800555A0 00052500 7F 63 DB 78 */ mr r3, r27 -/* 800555A4 00052504 FC 20 C0 90 */ fmr f1, f24 -/* 800555A8 00052508 81 9B 00 00 */ lwz r12, 0(r27) -/* 800555AC 0005250C 7F 84 E3 78 */ mr r4, r28 -/* 800555B0 00052510 7F 25 CB 78 */ mr r5, r25 -/* 800555B4 00052514 80 D9 00 38 */ lwz r6, 0x38(r25) -/* 800555B8 00052518 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800555BC 0005251C 7D 89 03 A6 */ mtctr r12 -/* 800555C0 00052520 4E 80 04 21 */ bctrl -lbl_800555C4: -/* 800555C4 00052524 3B 39 00 4C */ addi r25, r25, 0x4c -/* 800555C8 00052528 3B 18 00 01 */ addi r24, r24, 1 -lbl_800555CC: -/* 800555CC 0005252C 7C 18 E8 00 */ cmpw r24, r29 -/* 800555D0 00052530 41 80 FF 50 */ blt lbl_80055520 -lbl_800555D4: -/* 800555D4 00052534 80 9B 00 64 */ lwz r4, 0x64(r27) -/* 800555D8 00052538 3B 00 00 00 */ li r24, 0 -/* 800555DC 0005253C 38 60 00 00 */ li r3, 0 -/* 800555E0 00052540 28 04 00 00 */ cmplwi r4, 0 -/* 800555E4 00052544 41 82 00 14 */ beq lbl_800555F8 -/* 800555E8 00052548 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800555EC 0005254C 28 00 00 00 */ cmplwi r0, 0 -/* 800555F0 00052550 41 82 00 08 */ beq lbl_800555F8 -/* 800555F4 00052554 38 60 00 01 */ li r3, 1 -lbl_800555F8: -/* 800555F8 00052558 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800555FC 0005255C 41 82 00 1C */ beq lbl_80055618 -/* 80055600 00052560 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80055604 00052564 3C 60 80 57 */ lis r3, lbl_8056C2B8@ha -/* 80055608 00052568 38 63 C2 B8 */ addi r3, r3, lbl_8056C2B8@l -/* 8005560C 0005256C 83 04 02 14 */ lwz r24, 0x214(r4) -/* 80055610 00052570 3B 23 00 04 */ addi r25, r3, 4 -/* 80055614 00052574 48 00 00 08 */ b lbl_8005561C -lbl_80055618: -/* 80055618 00052578 3B 20 00 00 */ li r25, 0 -lbl_8005561C: -/* 8005561C 0005257C 2C 18 00 00 */ cmpwi r24, 0 -/* 80055620 00052580 40 81 00 60 */ ble lbl_80055680 -/* 80055624 00052584 28 19 00 00 */ cmplwi r25, 0 -/* 80055628 00052588 41 82 00 58 */ beq lbl_80055680 -/* 8005562C 0005258C 3B A0 00 00 */ li r29, 0 -/* 80055630 00052590 48 00 00 48 */ b lbl_80055678 -lbl_80055634: -/* 80055634 00052594 80 99 00 30 */ lwz r4, 0x30(r25) -/* 80055638 00052598 2C 04 FF FF */ cmpwi r4, -1 -/* 8005563C 0005259C 41 82 00 18 */ beq lbl_80055654 -/* 80055640 000525A0 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 80055644 000525A4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80055648 000525A8 80 03 02 04 */ lwz r0, 0x204(r3) -/* 8005564C 000525AC 7C 04 00 00 */ cmpw r4, r0 -/* 80055650 000525B0 40 82 00 20 */ bne lbl_80055670 -lbl_80055654: -/* 80055654 000525B4 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 80055658 000525B8 7F 86 E3 78 */ mr r6, r28 -/* 8005565C 000525BC 38 99 00 08 */ addi r4, r25, 8 -/* 80055660 000525C0 38 A0 00 01 */ li r5, 1 -/* 80055664 000525C4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80055668 000525C8 38 63 01 20 */ addi r3, r3, 0x120 -/* 8005566C 000525CC 48 06 35 5D */ bl "SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager" -lbl_80055670: -/* 80055670 000525D0 3B 39 00 5C */ addi r25, r25, 0x5c -/* 80055674 000525D4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80055678: -/* 80055678 000525D8 7C 1D C0 00 */ cmpw r29, r24 -/* 8005567C 000525DC 41 80 FF B8 */ blt lbl_80055634 -lbl_80055680: -/* 80055680 000525E0 D3 FA 00 00 */ stfs f31, 0(r26) -/* 80055684 000525E4 D3 DA 00 04 */ stfs f30, 4(r26) -/* 80055688 000525E8 D3 BA 00 08 */ stfs f29, 8(r26) -/* 8005568C 000525EC D3 9A 00 0C */ stfs f28, 0xc(r26) -/* 80055690 000525F0 D3 7A 00 10 */ stfs f27, 0x10(r26) -/* 80055694 000525F4 D3 5A 00 14 */ stfs f26, 0x14(r26) -/* 80055698 000525F8 D3 3A 00 18 */ stfs f25, 0x18(r26) -/* 8005569C 000525FC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 800556A0 00052600 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 800556A4 00052604 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 800556A8 00052608 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 800556AC 0005260C E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 800556B0 00052610 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 800556B4 00052614 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 -/* 800556B8 00052618 CB 81 00 B0 */ lfd f28, 0xb0(r1) -/* 800556BC 0005261C E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 -/* 800556C0 00052620 CB 61 00 A0 */ lfd f27, 0xa0(r1) -/* 800556C4 00052624 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 -/* 800556C8 00052628 CB 41 00 90 */ lfd f26, 0x90(r1) -/* 800556CC 0005262C E3 21 00 88 */ psq_l f25, 136(r1), 0, qr0 -/* 800556D0 00052630 CB 21 00 80 */ lfd f25, 0x80(r1) -/* 800556D4 00052634 E3 01 00 78 */ psq_l f24, 120(r1), 0, qr0 -/* 800556D8 00052638 CB 01 00 70 */ lfd f24, 0x70(r1) -/* 800556DC 0005263C BB 01 00 50 */ lmw r24, 0x50(r1) -/* 800556E0 00052640 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 800556E4 00052644 7C 08 03 A6 */ mtlr r0 -/* 800556E8 00052648 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 800556EC 0005264C 4E 80 00 20 */ blr - -.global __dt__6CActorFv -__dt__6CActorFv: -/* 800556F0 00052650 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800556F4 00052654 7C 08 02 A6 */ mflr r0 -/* 800556F8 00052658 90 01 00 24 */ stw r0, 0x24(r1) -/* 800556FC 0005265C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80055700 00052660 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80055704 00052664 7C 9E 23 78 */ mr r30, r4 -/* 80055708 00052668 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005570C 0005266C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80055710 00052670 41 82 00 F0 */ beq lbl_80055800 -/* 80055714 00052674 3C 80 80 3E */ lis r4, lbl_803D9EB0@ha -/* 80055718 00052678 38 04 9E B0 */ addi r0, r4, lbl_803D9EB0@l -/* 8005571C 0005267C 90 1D 00 00 */ stw r0, 0(r29) -/* 80055720 00052680 4B FF FB 25 */ bl RemoveEmitter__6CActorFv -/* 80055724 00052684 34 1D 00 D8 */ addic. r0, r29, 0xd8 -/* 80055728 00052688 41 82 00 58 */ beq lbl_80055780 -/* 8005572C 0005268C 80 BD 00 D8 */ lwz r5, 0xd8(r29) -/* 80055730 00052690 38 60 00 00 */ li r3, 0 -/* 80055734 00052694 2C 05 00 00 */ cmpwi r5, 0 -/* 80055738 00052698 40 81 00 40 */ ble lbl_80055778 -/* 8005573C 0005269C 2C 05 00 08 */ cmpwi r5, 8 -/* 80055740 000526A0 38 85 FF F8 */ addi r4, r5, -8 -/* 80055744 000526A4 40 81 00 20 */ ble lbl_80055764 -/* 80055748 000526A8 38 04 00 07 */ addi r0, r4, 7 -/* 8005574C 000526AC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80055750 000526B0 7C 09 03 A6 */ mtctr r0 -/* 80055754 000526B4 2C 04 00 00 */ cmpwi r4, 0 -/* 80055758 000526B8 40 81 00 0C */ ble lbl_80055764 -lbl_8005575C: -/* 8005575C 000526BC 38 63 00 08 */ addi r3, r3, 8 -/* 80055760 000526C0 42 00 FF FC */ bdnz lbl_8005575C -lbl_80055764: -/* 80055764 000526C4 7C 03 28 50 */ subf r0, r3, r5 -/* 80055768 000526C8 7C 09 03 A6 */ mtctr r0 -/* 8005576C 000526CC 7C 03 28 00 */ cmpw r3, r5 -/* 80055770 000526D0 40 80 00 08 */ bge lbl_80055778 -lbl_80055774: -/* 80055774 000526D4 42 00 00 00 */ bdnz lbl_80055774 -lbl_80055778: -/* 80055778 000526D8 38 00 00 00 */ li r0, 0 -/* 8005577C 000526DC 90 1D 00 D8 */ stw r0, 0xd8(r29) -lbl_80055780: -/* 80055780 000526E0 34 1D 00 98 */ addic. r0, r29, 0x98 -/* 80055784 000526E4 41 82 00 28 */ beq lbl_800557AC -/* 80055788 000526E8 83 FD 00 98 */ lwz r31, 0x98(r29) -/* 8005578C 000526EC 28 1F 00 00 */ cmplwi r31, 0 -/* 80055790 000526F0 41 82 00 1C */ beq lbl_800557AC -/* 80055794 000526F4 41 82 00 10 */ beq lbl_800557A4 -/* 80055798 000526F8 7F E3 FB 78 */ mr r3, r31 -/* 8005579C 000526FC 38 80 00 00 */ li r4, 0 -/* 800557A0 00052700 48 2E B6 A1 */ bl __dt__6CTokenFv -lbl_800557A4: -/* 800557A4 00052704 7F E3 FB 78 */ mr r3, r31 -/* 800557A8 00052708 48 2C 01 89 */ bl Free__7CMemoryFPCv -lbl_800557AC: -/* 800557AC 0005270C 34 1D 00 94 */ addic. r0, r29, 0x94 -/* 800557B0 00052710 41 82 00 0C */ beq lbl_800557BC -/* 800557B4 00052714 80 7D 00 94 */ lwz r3, 0x94(r29) -/* 800557B8 00052718 48 2C 01 79 */ bl Free__7CMemoryFPCv -lbl_800557BC: -/* 800557BC 0005271C 34 1D 00 90 */ addic. r0, r29, 0x90 -/* 800557C0 00052720 41 82 00 10 */ beq lbl_800557D0 -/* 800557C4 00052724 80 7D 00 90 */ lwz r3, 0x90(r29) -/* 800557C8 00052728 38 80 00 01 */ li r4, 1 -/* 800557CC 0005272C 48 0A F9 09 */ bl __dt__12CActorLightsFv -lbl_800557D0: -/* 800557D0 00052730 34 1D 00 64 */ addic. r0, r29, 0x64 -/* 800557D4 00052734 41 82 00 10 */ beq lbl_800557E4 -/* 800557D8 00052738 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 800557DC 0005273C 38 80 00 01 */ li r4, 1 -/* 800557E0 00052740 48 0C 12 6D */ bl __dt__10CModelDataFv -lbl_800557E4: -/* 800557E4 00052744 7F A3 EB 78 */ mr r3, r29 -/* 800557E8 00052748 38 80 00 00 */ li r4, 0 -/* 800557EC 0005274C 4B FF BA 89 */ bl __dt__7CEntityFv -/* 800557F0 00052750 7F C0 07 35 */ extsh. r0, r30 -/* 800557F4 00052754 40 81 00 0C */ ble lbl_80055800 -/* 800557F8 00052758 7F A3 EB 78 */ mr r3, r29 -/* 800557FC 0005275C 48 2C 01 35 */ bl Free__7CMemoryFPCv -lbl_80055800: -/* 80055800 00052760 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80055804 00052764 7F A3 EB 78 */ mr r3, r29 -/* 80055808 00052768 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005580C 0005276C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80055810 00052770 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80055814 00052774 7C 08 03 A6 */ mtlr r0 -/* 80055818 00052778 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005581C 0005277C 4E 80 00 20 */ blr - -.global "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -"__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId": -/* 80055820 00052780 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80055824 00052784 7C 08 02 A6 */ mflr r0 -/* 80055828 00052788 90 01 00 74 */ stw r0, 0x74(r1) -/* 8005582C 0005278C BF 21 00 54 */ stmw r25, 0x54(r1) -/* 80055830 00052790 7C BA 2B 78 */ mr r26, r5 -/* 80055834 00052794 83 A1 00 78 */ lwz r29, 0x78(r1) -/* 80055838 00052798 7C 7F 1B 78 */ mr r31, r3 -/* 8005583C 0005279C 83 C1 00 7C */ lwz r30, 0x7c(r1) -/* 80055840 000527A0 7D 19 43 78 */ mr r25, r8 -/* 80055844 000527A4 7D 3B 4B 78 */ mr r27, r9 -/* 80055848 000527A8 7D 5C 53 78 */ mr r28, r10 -/* 8005584C 000527AC 7C E5 3B 78 */ mr r5, r7 -/* 80055850 000527B0 A0 04 00 00 */ lhz r0, 0(r4) -/* 80055854 000527B4 7C C4 33 78 */ mr r4, r6 -/* 80055858 000527B8 7C 87 23 78 */ mr r7, r4 -/* 8005585C 000527BC 7F 46 D3 78 */ mr r6, r26 -/* 80055860 000527C0 B0 01 00 08 */ sth r0, 8(r1) -/* 80055864 000527C4 38 81 00 08 */ addi r4, r1, 8 -/* 80055868 000527C8 4B FF BA BD */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8005586C 000527CC 3C 60 80 3E */ lis r3, lbl_803D9EB0@ha -/* 80055870 000527D0 7F 24 CB 78 */ mr r4, r25 -/* 80055874 000527D4 38 03 9E B0 */ addi r0, r3, lbl_803D9EB0@l -/* 80055878 000527D8 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8005587C 000527DC 90 1F 00 00 */ stw r0, 0(r31) -/* 80055880 000527E0 48 2B D2 F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80055884 000527E4 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 80055888 000527E8 38 60 00 00 */ li r3, 0 -/* 8005588C 000527EC 28 00 00 00 */ cmplwi r0, 0 -/* 80055890 000527F0 40 82 00 14 */ bne lbl_800558A4 -/* 80055894 000527F4 88 1B 00 28 */ lbz r0, 0x28(r27) -/* 80055898 000527F8 28 00 00 00 */ cmplwi r0, 0 -/* 8005589C 000527FC 40 82 00 08 */ bne lbl_800558A4 -/* 800558A0 00052800 38 60 00 01 */ li r3, 1 -lbl_800558A4: -/* 800558A4 00052804 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800558A8 00052808 41 82 00 0C */ beq lbl_800558B4 -/* 800558AC 0005280C 38 00 00 00 */ li r0, 0 -/* 800558B0 00052810 48 00 00 2C */ b lbl_800558DC -lbl_800558B4: -/* 800558B4 00052814 3C 80 80 3D */ lis r4, lbl_803CCF68@ha -/* 800558B8 00052818 38 60 00 4C */ li r3, 0x4c -/* 800558BC 0005281C 38 84 CF 68 */ addi r4, r4, lbl_803CCF68@l -/* 800558C0 00052820 38 A0 00 00 */ li r5, 0 -/* 800558C4 00052824 48 2B FF A9 */ bl __nw__FUlPCcPCc -/* 800558C8 00052828 7C 60 1B 79 */ or. r0, r3, r3 -/* 800558CC 0005282C 41 82 00 10 */ beq lbl_800558DC -/* 800558D0 00052830 7F 64 DB 78 */ mr r4, r27 -/* 800558D4 00052834 4B FC 34 B9 */ bl __ct__10CModelDataFRC10CModelData -/* 800558D8 00052838 7C 60 1B 78 */ mr r0, r3 -lbl_800558DC: -/* 800558DC 0005283C 90 1F 00 64 */ stw r0, 0x64(r31) -/* 800558E0 00052840 7F 84 E3 78 */ mr r4, r28 -/* 800558E4 00052844 7F A5 EB 78 */ mr r5, r29 -/* 800558E8 00052848 38 61 00 30 */ addi r3, r1, 0x30 -/* 800558EC 0005284C 48 00 04 3D */ bl MakeActorMaterialList__FRC13CMaterialListRC16CActorParameters -/* 800558F0 00052850 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800558F4 00052854 38 60 00 00 */ li r3, 0 -/* 800558F8 00052858 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 800558FC 0005285C 38 80 00 01 */ li r4, 1 -/* 80055900 00052860 90 BF 00 6C */ stw r5, 0x6c(r31) -/* 80055904 00052864 90 1F 00 68 */ stw r0, 0x68(r31) -/* 80055908 00052868 80 AD 82 A8 */ lwz r5, lbl_805A6E68@sda21(r13) -/* 8005590C 0005286C 48 33 45 E9 */ bl __shl2i -/* 80055910 00052870 90 9F 00 74 */ stw r4, 0x74(r31) -/* 80055914 00052874 38 A0 00 03 */ li r5, 3 -/* 80055918 00052878 38 80 00 00 */ li r4, 0 -/* 8005591C 0005287C 38 C0 00 00 */ li r6, 0 -/* 80055920 00052880 90 7F 00 70 */ stw r3, 0x70(r31) -/* 80055924 00052884 90 9F 00 7C */ stw r4, 0x7c(r31) -/* 80055928 00052888 90 9F 00 78 */ stw r4, 0x78(r31) -/* 8005592C 0005288C 90 BF 00 80 */ stw r5, 0x80(r31) -/* 80055930 00052890 A0 0D 82 AC */ lhz r0, lbl_805A6E6C@sda21(r13) -/* 80055934 00052894 90 A1 00 48 */ stw r5, 0x48(r1) -/* 80055938 00052898 B0 1F 00 88 */ sth r0, 0x88(r31) -/* 8005593C 0005289C 90 9F 00 8C */ stw r4, 0x8c(r31) -/* 80055940 000528A0 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 80055944 000528A4 28 00 00 00 */ cmplwi r0, 0 -/* 80055948 000528A8 40 82 00 14 */ bne lbl_8005595C -/* 8005594C 000528AC 88 1B 00 28 */ lbz r0, 0x28(r27) -/* 80055950 000528B0 28 00 00 00 */ cmplwi r0, 0 -/* 80055954 000528B4 40 82 00 08 */ bne lbl_8005595C -/* 80055958 000528B8 38 80 00 01 */ li r4, 1 -lbl_8005595C: -/* 8005595C 000528BC 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80055960 000528C0 41 82 00 0C */ beq lbl_8005596C -/* 80055964 000528C4 38 60 00 00 */ li r3, 0 -/* 80055968 000528C8 48 00 00 20 */ b lbl_80055988 -lbl_8005596C: -/* 8005596C 000528CC 7F A4 EB 78 */ mr r4, r29 -/* 80055970 000528D0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80055974 000528D4 48 0B 0A 9D */ bl MakeActorLights__16CLightParametersCFv -/* 80055978 000528D8 38 00 00 00 */ li r0, 0 -/* 8005597C 000528DC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80055980 000528E0 98 01 00 24 */ stb r0, 0x24(r1) -/* 80055984 000528E4 38 C0 00 01 */ li r6, 1 -lbl_80055988: -/* 80055988 000528E8 7C C0 07 75 */ extsb. r0, r6 -/* 8005598C 000528EC 90 7F 00 90 */ stw r3, 0x90(r31) -/* 80055990 000528F0 41 82 00 1C */ beq lbl_800559AC -/* 80055994 000528F4 88 01 00 24 */ lbz r0, 0x24(r1) -/* 80055998 000528F8 28 00 00 00 */ cmplwi r0, 0 -/* 8005599C 000528FC 41 82 00 10 */ beq lbl_800559AC -/* 800559A0 00052900 80 61 00 28 */ lwz r3, 0x28(r1) -/* 800559A4 00052904 38 80 00 01 */ li r4, 1 -/* 800559A8 00052908 48 0A F7 2D */ bl __dt__12CActorLightsFv -lbl_800559AC: -/* 800559AC 0005290C 38 A0 00 00 */ li r5, 0 -/* 800559B0 00052910 C0 22 86 30 */ lfs f1, lbl_805AA350@sda21(r2) -/* 800559B4 00052914 90 BF 00 94 */ stw r5, 0x94(r31) -/* 800559B8 00052918 3C 80 80 5A */ lis r4, lbl_805A6754@ha -/* 800559BC 0005291C FC 40 08 90 */ fmr f2, f1 -/* 800559C0 00052920 38 00 00 03 */ li r0, 3 -/* 800559C4 00052924 90 BF 00 98 */ stw r5, 0x98(r31) -/* 800559C8 00052928 FC 60 08 90 */ fmr f3, f1 -/* 800559CC 0005292C FC 80 08 90 */ fmr f4, f1 -/* 800559D0 00052930 38 61 00 20 */ addi r3, r1, 0x20 -/* 800559D4 00052934 C4 04 67 54 */ lfsu f0, lbl_805A6754@l(r4) -/* 800559D8 00052938 D0 1F 00 9C */ stfs f0, 0x9c(r31) -/* 800559DC 0005293C C0 04 00 04 */ lfs f0, 4(r4) -/* 800559E0 00052940 D0 1F 00 A0 */ stfs f0, 0xa0(r31) -/* 800559E4 00052944 C0 04 00 08 */ lfs f0, 8(r4) -/* 800559E8 00052948 D0 1F 00 A4 */ stfs f0, 0xa4(r31) -/* 800559EC 0005294C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 800559F0 00052950 D0 1F 00 A8 */ stfs f0, 0xa8(r31) -/* 800559F4 00052954 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 800559F8 00052958 D0 1F 00 AC */ stfs f0, 0xac(r31) -/* 800559FC 0005295C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80055A00 00052960 D0 1F 00 B0 */ stfs f0, 0xb0(r31) -/* 80055A04 00052964 98 A1 00 1C */ stb r5, 0x1c(r1) -/* 80055A08 00052968 98 A1 00 1D */ stb r5, 0x1d(r1) -/* 80055A0C 0005296C B0 01 00 1E */ sth r0, 0x1e(r1) -/* 80055A10 00052970 48 30 D9 DD */ bl __ct__6CColorFffff -/* 80055A14 00052974 88 01 00 1C */ lbz r0, 0x1c(r1) -/* 80055A18 00052978 38 C0 20 00 */ li r6, 0x2000 -/* 80055A1C 0005297C C0 02 86 3C */ lfs f0, lbl_805AA35C@sda21(r2) -/* 80055A20 00052980 38 A0 FF FF */ li r5, -1 -/* 80055A24 00052984 98 1F 00 B4 */ stb r0, 0xb4(r31) -/* 80055A28 00052988 35 1F 00 DC */ addic. r8, r31, 0xdc -/* 80055A2C 0005298C 88 82 CC 40 */ lbz r4, lbl_805AE960@sda21(r2) -/* 80055A30 00052990 38 60 00 02 */ li r3, 2 -/* 80055A34 00052994 88 E1 00 1D */ lbz r7, 0x1d(r1) -/* 80055A38 00052998 38 00 00 00 */ li r0, 0 -/* 80055A3C 0005299C 98 FF 00 B5 */ stb r7, 0xb5(r31) -/* 80055A40 000529A0 A0 E1 00 1E */ lhz r7, 0x1e(r1) -/* 80055A44 000529A4 B0 FF 00 B6 */ sth r7, 0xb6(r31) -/* 80055A48 000529A8 80 E1 00 20 */ lwz r7, 0x20(r1) -/* 80055A4C 000529AC 90 FF 00 B8 */ stw r7, 0xb8(r31) -/* 80055A50 000529B0 D0 1F 00 BC */ stfs f0, 0xbc(r31) -/* 80055A54 000529B4 90 DF 00 C0 */ stw r6, 0xc0(r31) -/* 80055A58 000529B8 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) -/* 80055A5C 000529BC B0 DF 00 C4 */ sth r6, 0xc4(r31) -/* 80055A60 000529C0 A0 DE 00 00 */ lhz r6, 0(r30) -/* 80055A64 000529C4 B0 DF 00 C6 */ sth r6, 0xc6(r31) -/* 80055A68 000529C8 90 BF 00 C8 */ stw r5, 0xc8(r31) -/* 80055A6C 000529CC 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 80055A70 000529D0 C0 1D 00 64 */ lfs f0, 0x64(r29) -/* 80055A74 000529D4 D0 1F 00 D0 */ stfs f0, 0xd0(r31) -/* 80055A78 000529D8 98 9F 00 D4 */ stb r4, 0xd4(r31) -/* 80055A7C 000529DC 90 7F 00 D8 */ stw r3, 0xd8(r31) -/* 80055A80 000529E0 41 82 00 08 */ beq lbl_80055A88 -/* 80055A84 000529E4 90 08 00 00 */ stw r0, 0(r8) -lbl_80055A88: -/* 80055A88 000529E8 35 08 00 04 */ addic. r8, r8, 4 -/* 80055A8C 000529EC 41 82 00 08 */ beq lbl_80055A94 -/* 80055A90 000529F0 90 08 00 00 */ stw r0, 0(r8) -lbl_80055A94: -/* 80055A94 000529F4 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055A98 000529F8 38 A0 00 00 */ li r5, 0 -/* 80055A9C 000529FC 50 A0 E8 04 */ rlwimi r0, r5, 0x1d, 0, 2 -/* 80055AA0 00052A00 38 80 00 01 */ li r4, 1 -/* 80055AA4 00052A04 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055AA8 00052A08 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055AAC 00052A0C 50 80 E0 C6 */ rlwimi r0, r4, 0x1c, 3, 3 -/* 80055AB0 00052A10 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055AB4 00052A14 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055AB8 00052A18 50 80 D9 08 */ rlwimi r0, r4, 0x1b, 4, 4 -/* 80055ABC 00052A1C 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055AC0 00052A20 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055AC4 00052A24 50 80 D1 4A */ rlwimi r0, r4, 0x1a, 5, 5 -/* 80055AC8 00052A28 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055ACC 00052A2C 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055AD0 00052A30 50 A0 C9 8C */ rlwimi r0, r5, 0x19, 6, 6 -/* 80055AD4 00052A34 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055AD8 00052A38 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055ADC 00052A3C 50 80 C1 CE */ rlwimi r0, r4, 0x18, 7, 7 -/* 80055AE0 00052A40 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055AE4 00052A44 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055AE8 00052A48 50 A0 BA 10 */ rlwimi r0, r5, 0x17, 8, 8 -/* 80055AEC 00052A4C 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055AF0 00052A50 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055AF4 00052A54 50 A0 B2 52 */ rlwimi r0, r5, 0x16, 9, 9 -/* 80055AF8 00052A58 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055AFC 00052A5C 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B00 00052A60 50 A0 AA 94 */ rlwimi r0, r5, 0x15, 0xa, 0xa -/* 80055B04 00052A64 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B08 00052A68 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B0C 00052A6C 50 80 A2 D6 */ rlwimi r0, r4, 0x14, 0xb, 0xb -/* 80055B10 00052A70 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B14 00052A74 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B18 00052A78 50 80 9B 18 */ rlwimi r0, r4, 0x13, 0xc, 0xc -/* 80055B1C 00052A7C 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B20 00052A80 88 7D 00 58 */ lbz r3, 0x58(r29) -/* 80055B24 00052A84 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B28 00052A88 50 60 5B 5A */ rlwimi r0, r3, 0xb, 0xd, 0xd -/* 80055B2C 00052A8C 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B30 00052A90 88 7D 00 58 */ lbz r3, 0x58(r29) -/* 80055B34 00052A94 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B38 00052A98 50 60 63 9C */ rlwimi r0, r3, 0xc, 0xe, 0xe -/* 80055B3C 00052A9C 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B40 00052AA0 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B44 00052AA4 50 A0 83 DE */ rlwimi r0, r5, 0x10, 0xf, 0xf -/* 80055B48 00052AA8 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B4C 00052AAC 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B50 00052AB0 50 A0 6C 24 */ rlwimi r0, r5, 0xd, 0x10, 0x12 -/* 80055B54 00052AB4 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B58 00052AB8 88 1D 00 58 */ lbz r0, 0x58(r29) -/* 80055B5C 00052ABC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80055B60 00052AC0 41 82 00 08 */ beq lbl_80055B68 -/* 80055B64 00052AC4 38 80 00 02 */ li r4, 2 -lbl_80055B68: -/* 80055B68 00052AC8 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B6C 00052ACC 50 80 5C E8 */ rlwimi r0, r4, 0xb, 0x13, 0x14 -/* 80055B70 00052AD0 38 C0 00 01 */ li r6, 1 -/* 80055B74 00052AD4 38 A0 00 00 */ li r5, 0 -/* 80055B78 00052AD8 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B7C 00052ADC 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B80 00052AE0 50 C0 55 6A */ rlwimi r0, r6, 0xa, 0x15, 0x15 -/* 80055B84 00052AE4 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B88 00052AE8 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B8C 00052AEC 50 A0 4D AC */ rlwimi r0, r5, 9, 0x16, 0x16 -/* 80055B90 00052AF0 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055B94 00052AF4 88 9D 00 54 */ lbz r4, 0x54(r29) -/* 80055B98 00052AF8 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055B9C 00052AFC 50 80 0D F4 */ rlwimi r0, r4, 1, 0x17, 0x1a -/* 80055BA0 00052B00 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055BA4 00052B04 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055BA8 00052B08 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 80055BAC 00052B0C 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055BB0 00052B10 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055BB4 00052B14 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80055BB8 00052B18 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055BBC 00052B1C 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055BC0 00052B20 53 40 17 7A */ rlwimi r0, r26, 2, 0x1d, 0x1d -/* 80055BC4 00052B24 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055BC8 00052B28 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055BCC 00052B2C 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e -/* 80055BD0 00052B30 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055BD4 00052B34 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80055BD8 00052B38 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 80055BDC 00052B3C 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80055BE0 00052B40 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80055BE4 00052B44 28 03 00 00 */ cmplwi r3, 0 -/* 80055BE8 00052B48 41 82 00 70 */ beq lbl_80055C58 -/* 80055BEC 00052B4C 80 1D 00 44 */ lwz r0, 0x44(r29) -/* 80055BF0 00052B50 28 00 00 00 */ cmplwi r0, 0 -/* 80055BF4 00052B54 41 82 00 0C */ beq lbl_80055C00 -/* 80055BF8 00052B58 38 9D 00 44 */ addi r4, r29, 0x44 -/* 80055BFC 00052B5C 48 0B F3 F5 */ bl "SetXRayModel__10CModelDataFRCQ24rstl11pair" -lbl_80055C00: -/* 80055C00 00052B60 80 1D 00 4C */ lwz r0, 0x4c(r29) -/* 80055C04 00052B64 28 00 00 00 */ cmplwi r0, 0 -/* 80055C08 00052B68 41 82 00 10 */ beq lbl_80055C18 -/* 80055C0C 00052B6C 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80055C10 00052B70 38 9D 00 4C */ addi r4, r29, 0x4c -/* 80055C14 00052B74 48 0B F6 41 */ bl "SetInfraModel__10CModelDataFRCQ24rstl11pair" -lbl_80055C18: -/* 80055C18 00052B78 88 1D 00 1C */ lbz r0, 0x1c(r29) -/* 80055C1C 00052B7C 28 00 00 00 */ cmplwi r0, 0 -/* 80055C20 00052B80 41 82 00 10 */ beq lbl_80055C30 -/* 80055C24 00052B84 80 1D 00 3C */ lwz r0, 0x3c(r29) -/* 80055C28 00052B88 2C 00 00 00 */ cmpwi r0, 0 -/* 80055C2C 00052B8C 40 82 00 10 */ bne lbl_80055C3C -lbl_80055C30: -/* 80055C30 00052B90 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 80055C34 00052B94 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80055C38 00052B98 90 03 00 18 */ stw r0, 0x18(r3) -lbl_80055C3C: -/* 80055C3C 00052B9C 88 1D 00 58 */ lbz r0, 0x58(r29) -/* 80055C40 00052BA0 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80055C44 00052BA4 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f -/* 80055C48 00052BA8 7C 04 00 34 */ cntlzw r4, r0 -/* 80055C4C 00052BAC 88 03 00 14 */ lbz r0, 0x14(r3) -/* 80055C50 00052BB0 50 80 0E 72 */ rlwimi r0, r4, 1, 0x19, 0x19 -/* 80055C54 00052BB4 98 03 00 14 */ stb r0, 0x14(r3) -lbl_80055C58: -/* 80055C58 00052BB8 83 7D 00 40 */ lwz r27, 0x40(r29) -/* 80055C5C 00052BBC 3C 1B 00 01 */ addis r0, r27, 1 -/* 80055C60 00052BC0 28 00 FF FF */ cmplwi r0, 0xffff -/* 80055C64 00052BC4 41 82 00 AC */ beq lbl_80055D10 -/* 80055C68 00052BC8 3C 60 80 3D */ lis r3, lbl_803CCF68@ha -/* 80055C6C 00052BCC 3B 20 00 00 */ li r25, 0 -/* 80055C70 00052BD0 38 83 CF 68 */ addi r4, r3, lbl_803CCF68@l -/* 80055C74 00052BD4 38 A0 00 00 */ li r5, 0 -/* 80055C78 00052BD8 38 60 00 0C */ li r3, 0xc -/* 80055C7C 00052BDC 48 2B FB F1 */ bl __nw__FUlPCcPCc -/* 80055C80 00052BE0 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80055C84 00052BE4 41 82 00 48 */ beq lbl_80055CCC -/* 80055C88 00052BE8 3C 60 53 43 */ lis r3, 0x5343414E@ha -/* 80055C8C 00052BEC 93 61 00 18 */ stw r27, 0x18(r1) -/* 80055C90 00052BF0 38 03 41 4E */ addi r0, r3, 0x5343414E@l -/* 80055C94 00052BF4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80055C98 00052BF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80055C9C 00052BFC 38 61 00 0C */ addi r3, r1, 0xc -/* 80055CA0 00052C00 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80055CA4 00052C04 81 84 00 00 */ lwz r12, 0(r4) -/* 80055CA8 00052C08 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80055CAC 00052C0C 7D 89 03 A6 */ mtctr r12 -/* 80055CB0 00052C10 4E 80 04 21 */ bctrl -/* 80055CB4 00052C14 7F 43 D3 78 */ mr r3, r26 -/* 80055CB8 00052C18 38 81 00 0C */ addi r4, r1, 0xc -/* 80055CBC 00052C1C 3B 20 00 01 */ li r25, 1 -/* 80055CC0 00052C20 48 2E B1 E9 */ bl __ct__6CTokenFRC6CToken -/* 80055CC4 00052C24 38 00 00 00 */ li r0, 0 -/* 80055CC8 00052C28 90 1A 00 08 */ stw r0, 8(r26) -lbl_80055CCC: -/* 80055CCC 00052C2C 83 7F 00 98 */ lwz r27, 0x98(r31) -/* 80055CD0 00052C30 28 1B 00 00 */ cmplwi r27, 0 -/* 80055CD4 00052C34 41 82 00 1C */ beq lbl_80055CF0 -/* 80055CD8 00052C38 41 82 00 10 */ beq lbl_80055CE8 -/* 80055CDC 00052C3C 7F 63 DB 78 */ mr r3, r27 -/* 80055CE0 00052C40 38 80 00 00 */ li r4, 0 -/* 80055CE4 00052C44 48 2E B1 5D */ bl __dt__6CTokenFv -lbl_80055CE8: -/* 80055CE8 00052C48 7F 63 DB 78 */ mr r3, r27 -/* 80055CEC 00052C4C 48 2B FC 45 */ bl Free__7CMemoryFPCv -lbl_80055CF0: -/* 80055CF0 00052C50 7F 20 07 75 */ extsb. r0, r25 -/* 80055CF4 00052C54 93 5F 00 98 */ stw r26, 0x98(r31) -/* 80055CF8 00052C58 41 82 00 10 */ beq lbl_80055D08 -/* 80055CFC 00052C5C 38 61 00 0C */ addi r3, r1, 0xc -/* 80055D00 00052C60 38 80 FF FF */ li r4, -1 -/* 80055D04 00052C64 48 2E B1 3D */ bl __dt__6CTokenFv -lbl_80055D08: -/* 80055D08 00052C68 80 7F 00 98 */ lwz r3, 0x98(r31) -/* 80055D0C 00052C6C 48 2E B0 79 */ bl Lock__6CTokenFv -lbl_80055D10: -/* 80055D10 00052C70 7F E3 FB 78 */ mr r3, r31 -/* 80055D14 00052C74 BB 21 00 54 */ lmw r25, 0x54(r1) -/* 80055D18 00052C78 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80055D1C 00052C7C 7C 08 03 A6 */ mtlr r0 -/* 80055D20 00052C80 38 21 00 70 */ addi r1, r1, 0x70 -/* 80055D24 00052C84 4E 80 00 20 */ blr - -.global MakeActorMaterialList__FRC13CMaterialListRC16CActorParameters -MakeActorMaterialList__FRC13CMaterialListRC16CActorParameters: -/* 80055D28 00052C88 88 05 00 54 */ lbz r0, 0x54(r5) -/* 80055D2C 00052C8C 80 C4 00 00 */ lwz r6, 0(r4) -/* 80055D30 00052C90 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80055D34 00052C94 80 84 00 04 */ lwz r4, 4(r4) -/* 80055D38 00052C98 41 82 00 08 */ beq lbl_80055D40 -/* 80055D3C 00052C9C 60 C6 40 00 */ ori r6, r6, 0x4000 -lbl_80055D40: -/* 80055D40 00052CA0 88 05 00 54 */ lbz r0, 0x54(r5) -/* 80055D44 00052CA4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80055D48 00052CA8 41 82 00 0C */ beq lbl_80055D54 -/* 80055D4C 00052CAC 3C 00 08 00 */ lis r0, 0x800 -/* 80055D50 00052CB0 7C 84 03 78 */ or r4, r4, r0 -lbl_80055D54: -/* 80055D54 00052CB4 90 83 00 04 */ stw r4, 4(r3) -/* 80055D58 00052CB8 90 C3 00 00 */ stw r6, 0(r3) -/* 80055D5C 00052CBC 4E 80 00 20 */ blr - -.global CyclePauseState__6CWorldFv -CyclePauseState__6CWorldFv: -/* 80055D60 00052CC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80055D64 00052CC4 7C 08 02 A6 */ mflr r0 -/* 80055D68 00052CC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80055D6C 00052CCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80055D70 00052CD0 7C 7F 1B 78 */ mr r31, r3 -/* 80055D74 00052CD4 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80055D78 00052CD8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80055D7C 00052CDC 40 82 00 18 */ bne lbl_80055D94 -/* 80055D80 00052CE0 38 80 00 01 */ li r4, 1 -/* 80055D84 00052CE4 48 00 02 71 */ bl SetLoadPauseState__6CWorldFb -/* 80055D88 00052CE8 7F E3 FB 78 */ mr r3, r31 -/* 80055D8C 00052CEC 38 80 00 00 */ li r4, 0 -/* 80055D90 00052CF0 48 00 02 65 */ bl SetLoadPauseState__6CWorldFb -lbl_80055D94: -/* 80055D94 00052CF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80055D98 00052CF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80055D9C 00052CFC 7C 08 03 A6 */ mtlr r0 -/* 80055DA0 00052D00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80055DA4 00052D04 4E 80 00 20 */ blr - -.global StopSounds__6CWorldFv -StopSounds__6CWorldFv: -/* 80055DA8 00052D08 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80055DAC 00052D0C 7C 08 02 A6 */ mflr r0 -/* 80055DB0 00052D10 90 01 00 24 */ stw r0, 0x24(r1) -/* 80055DB4 00052D14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80055DB8 00052D18 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80055DBC 00052D1C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80055DC0 00052D20 7C 7D 1B 78 */ mr r29, r3 -/* 80055DC4 00052D24 3B FD 00 CC */ addi r31, r29, 0xcc -/* 80055DC8 00052D28 7F FE FB 78 */ mr r30, r31 -/* 80055DCC 00052D2C 48 00 00 18 */ b lbl_80055DE4 -lbl_80055DD0: -/* 80055DD0 00052D30 80 1E 00 04 */ lwz r0, 4(r30) -/* 80055DD4 00052D34 38 61 00 08 */ addi r3, r1, 8 -/* 80055DD8 00052D38 90 01 00 08 */ stw r0, 8(r1) -/* 80055DDC 00052D3C 48 29 40 A9 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 80055DE0 00052D40 3B DE 00 08 */ addi r30, r30, 8 -lbl_80055DE4: -/* 80055DE4 00052D44 80 BD 00 C8 */ lwz r5, 0xc8(r29) -/* 80055DE8 00052D48 54 A0 18 38 */ slwi r0, r5, 3 -/* 80055DEC 00052D4C 7C 1F 02 14 */ add r0, r31, r0 -/* 80055DF0 00052D50 7C 1E 00 40 */ cmplw r30, r0 -/* 80055DF4 00052D54 40 82 FF DC */ bne lbl_80055DD0 -/* 80055DF8 00052D58 2C 05 00 00 */ cmpwi r5, 0 -/* 80055DFC 00052D5C 38 60 00 00 */ li r3, 0 -/* 80055E00 00052D60 40 81 00 40 */ ble lbl_80055E40 -/* 80055E04 00052D64 2C 05 00 08 */ cmpwi r5, 8 -/* 80055E08 00052D68 38 85 FF F8 */ addi r4, r5, -8 -/* 80055E0C 00052D6C 40 81 00 20 */ ble lbl_80055E2C -/* 80055E10 00052D70 38 04 00 07 */ addi r0, r4, 7 -/* 80055E14 00052D74 54 00 E8 FE */ srwi r0, r0, 3 -/* 80055E18 00052D78 7C 09 03 A6 */ mtctr r0 -/* 80055E1C 00052D7C 2C 04 00 00 */ cmpwi r4, 0 -/* 80055E20 00052D80 40 81 00 0C */ ble lbl_80055E2C -lbl_80055E24: -/* 80055E24 00052D84 38 63 00 08 */ addi r3, r3, 8 -/* 80055E28 00052D88 42 00 FF FC */ bdnz lbl_80055E24 -lbl_80055E2C: -/* 80055E2C 00052D8C 7C 03 28 50 */ subf r0, r3, r5 -/* 80055E30 00052D90 7C 09 03 A6 */ mtctr r0 -/* 80055E34 00052D94 7C 03 28 00 */ cmpw r3, r5 -/* 80055E38 00052D98 40 80 00 08 */ bge lbl_80055E40 -lbl_80055E3C: -/* 80055E3C 00052D9C 42 00 00 00 */ bdnz lbl_80055E3C -lbl_80055E40: -/* 80055E40 00052DA0 38 00 00 00 */ li r0, 0 -/* 80055E44 00052DA4 90 1D 00 C8 */ stw r0, 0xc8(r29) -/* 80055E48 00052DA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80055E4C 00052DAC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80055E50 00052DB0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80055E54 00052DB4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80055E58 00052DB8 7C 08 03 A6 */ mtlr r0 -/* 80055E5C 00052DBC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80055E60 00052DC0 4E 80 00 20 */ blr - -.global StopSound__6CWorldFs -StopSound__6CWorldFs: -/* 80055E64 00052DC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80055E68 00052DC8 7C 08 02 A6 */ mflr r0 -/* 80055E6C 00052DCC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80055E70 00052DD0 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 80055E74 00052DD4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80055E78 00052DD8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80055E7C 00052DDC 7C 7E 1B 78 */ mr r30, r3 -/* 80055E80 00052DE0 3B FE 00 CC */ addi r31, r30, 0xcc -/* 80055E84 00052DE4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80055E88 00052DE8 7F FD FB 78 */ mr r29, r31 -/* 80055E8C 00052DEC 80 63 00 C8 */ lwz r3, 0xc8(r3) -/* 80055E90 00052DF0 54 63 18 38 */ slwi r3, r3, 3 -/* 80055E94 00052DF4 7C 9F 1A 14 */ add r4, r31, r3 -/* 80055E98 00052DF8 48 00 00 80 */ b lbl_80055F18 -lbl_80055E9C: -/* 80055E9C 00052DFC A0 7D 00 00 */ lhz r3, 0(r29) -/* 80055EA0 00052E00 7C 03 00 40 */ cmplw r3, r0 -/* 80055EA4 00052E04 40 82 00 70 */ bne lbl_80055F14 -/* 80055EA8 00052E08 80 1D 00 04 */ lwz r0, 4(r29) -/* 80055EAC 00052E0C 38 61 00 08 */ addi r3, r1, 8 -/* 80055EB0 00052E10 90 01 00 08 */ stw r0, 8(r1) -/* 80055EB4 00052E14 48 29 3F D1 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 80055EB8 00052E18 7C 1D F8 40 */ cmplw r29, r31 -/* 80055EBC 00052E1C 41 80 00 64 */ blt lbl_80055F20 -/* 80055EC0 00052E20 80 1E 00 C8 */ lwz r0, 0xc8(r30) -/* 80055EC4 00052E24 54 00 18 38 */ slwi r0, r0, 3 -/* 80055EC8 00052E28 7C 1F 02 14 */ add r0, r31, r0 -/* 80055ECC 00052E2C 7C 1D 00 40 */ cmplw r29, r0 -/* 80055ED0 00052E30 40 80 00 50 */ bge lbl_80055F20 -/* 80055ED4 00052E34 7F A5 EB 78 */ mr r5, r29 -/* 80055ED8 00052E38 48 00 00 18 */ b lbl_80055EF0 -lbl_80055EDC: -/* 80055EDC 00052E3C A0 05 00 08 */ lhz r0, 8(r5) -/* 80055EE0 00052E40 B0 05 00 00 */ sth r0, 0(r5) -/* 80055EE4 00052E44 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80055EE8 00052E48 90 05 00 04 */ stw r0, 4(r5) -/* 80055EEC 00052E4C 38 A5 00 08 */ addi r5, r5, 8 -lbl_80055EF0: -/* 80055EF0 00052E50 80 9E 00 C8 */ lwz r4, 0xc8(r30) -/* 80055EF4 00052E54 54 83 18 38 */ slwi r3, r4, 3 -/* 80055EF8 00052E58 38 03 FF F8 */ addi r0, r3, -8 -/* 80055EFC 00052E5C 7C 1F 02 14 */ add r0, r31, r0 -/* 80055F00 00052E60 7C 05 00 40 */ cmplw r5, r0 -/* 80055F04 00052E64 41 80 FF D8 */ blt lbl_80055EDC -/* 80055F08 00052E68 38 04 FF FF */ addi r0, r4, -1 -/* 80055F0C 00052E6C 90 1E 00 C8 */ stw r0, 0xc8(r30) -/* 80055F10 00052E70 48 00 00 10 */ b lbl_80055F20 -lbl_80055F14: -/* 80055F14 00052E74 3B BD 00 08 */ addi r29, r29, 8 -lbl_80055F18: -/* 80055F18 00052E78 7C 1D 20 40 */ cmplw r29, r4 -/* 80055F1C 00052E7C 40 82 FF 80 */ bne lbl_80055E9C -lbl_80055F20: -/* 80055F20 00052E80 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80055F24 00052E84 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80055F28 00052E88 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80055F2C 00052E8C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80055F30 00052E90 7C 08 03 A6 */ mtlr r0 -/* 80055F34 00052E94 38 21 00 20 */ addi r1, r1, 0x20 - -.global sub_80055f38 -sub_80055f38: -/* 80055F38 00052E98 4E 80 00 20 */ blr - -.global AddGlobalSound__6CWorldFUs10CSfxHandle -AddGlobalSound__6CWorldFUs10CSfxHandle: -/* 80055F3C 00052E9C 80 03 00 C8 */ lwz r0, 0xc8(r3) -/* 80055F40 00052EA0 2C 00 00 0A */ cmpwi r0, 0xa -/* 80055F44 00052EA4 4C 80 00 20 */ bgelr -/* 80055F48 00052EA8 54 00 18 38 */ slwi r0, r0, 3 -/* 80055F4C 00052EAC 80 C5 00 00 */ lwz r6, 0(r5) -/* 80055F50 00052EB0 7C A3 02 14 */ add r5, r3, r0 -/* 80055F54 00052EB4 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 80055F58 00052EB8 34 A5 00 CC */ addic. r5, r5, 0xcc -/* 80055F5C 00052EBC 41 82 00 0C */ beq lbl_80055F68 -/* 80055F60 00052EC0 B0 05 00 00 */ sth r0, 0(r5) -/* 80055F64 00052EC4 90 C5 00 04 */ stw r6, 4(r5) -lbl_80055F68: -/* 80055F68 00052EC8 80 83 00 C8 */ lwz r4, 0xc8(r3) -/* 80055F6C 00052ECC 38 04 00 01 */ addi r0, r4, 1 -/* 80055F70 00052ED0 90 03 00 C8 */ stw r0, 0xc8(r3) -/* 80055F74 00052ED4 4E 80 00 20 */ blr - -.global IsPlayingSound__6CWorldCFUi -IsPlayingSound__6CWorldCFUi: -/* 80055F78 00052ED8 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 80055F7C 00052EDC 38 C3 00 CC */ addi r6, r3, 0xcc -/* 80055F80 00052EE0 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 80055F84 00052EE4 54 A3 18 38 */ slwi r3, r5, 3 -/* 80055F88 00052EE8 7C 86 1A 14 */ add r4, r6, r3 -/* 80055F8C 00052EEC 48 00 00 1C */ b lbl_80055FA8 -lbl_80055F90: -/* 80055F90 00052EF0 A0 66 00 00 */ lhz r3, 0(r6) -/* 80055F94 00052EF4 7C 03 00 40 */ cmplw r3, r0 -/* 80055F98 00052EF8 40 82 00 0C */ bne lbl_80055FA4 -/* 80055F9C 00052EFC 38 60 00 01 */ li r3, 1 -/* 80055FA0 00052F00 4E 80 00 20 */ blr -lbl_80055FA4: -/* 80055FA4 00052F04 38 C6 00 08 */ addi r6, r6, 8 -lbl_80055FA8: -/* 80055FA8 00052F08 7C 06 20 40 */ cmplw r6, r4 -/* 80055FAC 00052F0C 40 82 FF E4 */ bne lbl_80055F90 -/* 80055FB0 00052F10 38 60 00 00 */ li r3, 0 -/* 80055FB4 00052F14 4E 80 00 20 */ blr - -.global MoveAreaToChain3__6CWorldF7TAreaId -MoveAreaToChain3__6CWorldF7TAreaId: -/* 80055FB8 00052F18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80055FBC 00052F1C 7C 08 02 A6 */ mflr r0 -/* 80055FC0 00052F20 38 A0 00 03 */ li r5, 3 -/* 80055FC4 00052F24 90 01 00 14 */ stw r0, 0x14(r1) -/* 80055FC8 00052F28 80 04 00 00 */ lwz r0, 0(r4) -/* 80055FCC 00052F2C 80 C3 00 20 */ lwz r6, 0x20(r3) -/* 80055FD0 00052F30 54 04 18 38 */ slwi r4, r0, 3 -/* 80055FD4 00052F34 90 01 00 08 */ stw r0, 8(r1) -/* 80055FD8 00052F38 38 04 00 04 */ addi r0, r4, 4 -/* 80055FDC 00052F3C 7C 86 00 2E */ lwzx r4, r6, r0 -/* 80055FE0 00052F40 48 00 1B 55 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -/* 80055FE4 00052F44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80055FE8 00052F48 7C 08 03 A6 */ mtlr r0 -/* 80055FEC 00052F4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80055FF0 00052F50 4E 80 00 20 */ blr - -.global SetLoadPauseState__6CWorldFb -SetLoadPauseState__6CWorldFb: -/* 80055FF4 00052F54 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80055FF8 00052F58 7C 08 02 A6 */ mflr r0 -/* 80055FFC 00052F5C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80056000 00052F60 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80056004 00052F64 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80056008 00052F68 7C 9E 23 78 */ mr r30, r4 -/* 8005600C 00052F6C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80056010 00052F70 7C 7D 1B 78 */ mr r29, r3 -/* 80056014 00052F74 83 E3 00 54 */ lwz r31, 0x54(r3) -/* 80056018 00052F78 48 00 00 14 */ b lbl_8005602C -lbl_8005601C: -/* 8005601C 00052F7C 7F E3 FB 78 */ mr r3, r31 -/* 80056020 00052F80 7F C4 F3 78 */ mr r4, r30 -/* 80056024 00052F84 48 00 82 39 */ bl SetLoadPauseState__9CGameAreaFb -/* 80056028 00052F88 83 FF 01 30 */ lwz r31, 0x130(r31) -lbl_8005602C: -/* 8005602C 00052F8C 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13) -/* 80056030 00052F90 7C 00 F8 40 */ cmplw r0, r31 -/* 80056034 00052F94 40 82 FF E8 */ bne lbl_8005601C -/* 80056038 00052F98 88 1D 00 70 */ lbz r0, 0x70(r29) -/* 8005603C 00052F9C 53 C0 36 72 */ rlwimi r0, r30, 6, 0x19, 0x19 -/* 80056040 00052FA0 98 1D 00 70 */ stb r0, 0x70(r29) -/* 80056044 00052FA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80056048 00052FA8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005604C 00052FAC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80056050 00052FB0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80056054 00052FB4 7C 08 03 A6 */ mtlr r0 -/* 80056058 00052FB8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005605C 00052FBC 4E 80 00 20 */ blr - -.global sub_80056060 -sub_80056060: -/* 80056060 00052FC0 3C 05 00 01 */ addis r0, r5, 1 -/* 80056064 00052FC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80056068 00052FC8 28 00 FF FF */ cmplwi r0, 0xffff -/* 8005606C 00052FCC 39 00 FF FF */ li r8, -1 -/* 80056070 00052FD0 41 82 00 50 */ beq lbl_800560C0 -/* 80056074 00052FD4 80 04 00 18 */ lwz r0, 0x18(r4) -/* 80056078 00052FD8 39 20 00 00 */ li r9, 0 -/* 8005607C 00052FDC 38 C0 00 00 */ li r6, 0 -/* 80056080 00052FE0 7C 09 03 A6 */ mtctr r0 -/* 80056084 00052FE4 2C 00 00 00 */ cmpwi r0, 0 -/* 80056088 00052FE8 40 81 00 38 */ ble lbl_800560C0 -lbl_8005608C: -/* 8005608C 00052FEC 80 E4 00 20 */ lwz r7, 0x20(r4) -/* 80056090 00052FF0 38 06 00 04 */ addi r0, r6, 4 -/* 80056094 00052FF4 91 21 00 08 */ stw r9, 8(r1) -/* 80056098 00052FF8 7C E7 00 2E */ lwzx r7, r7, r0 -/* 8005609C 00052FFC 91 21 00 0C */ stw r9, 0xc(r1) -/* 800560A0 00053000 80 07 00 88 */ lwz r0, 0x88(r7) -/* 800560A4 00053004 7C 05 00 40 */ cmplw r5, r0 -/* 800560A8 00053008 40 82 00 0C */ bne lbl_800560B4 -/* 800560AC 0005300C 7D 28 4B 78 */ mr r8, r9 -/* 800560B0 00053010 48 00 00 10 */ b lbl_800560C0 -lbl_800560B4: -/* 800560B4 00053014 39 29 00 01 */ addi r9, r9, 1 -/* 800560B8 00053018 38 C6 00 08 */ addi r6, r6, 8 -/* 800560BC 0005301C 42 00 FF D0 */ bdnz lbl_8005608C -lbl_800560C0: -/* 800560C0 00053020 91 03 00 00 */ stw r8, 0(r3) -/* 800560C4 00053024 38 21 00 10 */ addi r1, r1, 0x10 -/* 800560C8 00053028 4E 80 00 20 */ blr - -.global IGetAreaId__6CWorldCF7TAreaId -IGetAreaId__6CWorldCF7TAreaId: -/* 800560CC 0005302C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800560D0 00053030 7C 08 02 A6 */ mflr r0 -/* 800560D4 00053034 90 01 00 14 */ stw r0, 0x14(r1) -/* 800560D8 00053038 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800560DC 0005303C 7C 7F 1B 78 */ mr r31, r3 -/* 800560E0 00053040 48 00 00 19 */ bl sub_800560f8 -/* 800560E4 00053044 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800560E8 00053048 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800560EC 0005304C 7C 08 03 A6 */ mtlr r0 -/* 800560F0 00053050 38 21 00 10 */ addi r1, r1, 0x10 -/* 800560F4 00053054 4E 80 00 20 */ blr - -.global sub_800560f8 -sub_800560f8: -/* 800560F8 00053058 3C 05 00 01 */ addis r0, r5, 1 -/* 800560FC 0005305C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80056100 00053060 28 00 FF FF */ cmplwi r0, 0xffff -/* 80056104 00053064 39 00 FF FF */ li r8, -1 -/* 80056108 00053068 41 82 00 50 */ beq lbl_80056158 -/* 8005610C 0005306C 80 04 00 18 */ lwz r0, 0x18(r4) -/* 80056110 00053070 39 20 00 00 */ li r9, 0 -/* 80056114 00053074 38 C0 00 00 */ li r6, 0 -/* 80056118 00053078 7C 09 03 A6 */ mtctr r0 -/* 8005611C 0005307C 2C 00 00 00 */ cmpwi r0, 0 -/* 80056120 00053080 40 81 00 38 */ ble lbl_80056158 -lbl_80056124: -/* 80056124 00053084 80 E4 00 20 */ lwz r7, 0x20(r4) -/* 80056128 00053088 38 06 00 04 */ addi r0, r6, 4 -/* 8005612C 0005308C 91 21 00 08 */ stw r9, 8(r1) -/* 80056130 00053090 7C E7 00 2E */ lwzx r7, r7, r0 -/* 80056134 00053094 91 21 00 0C */ stw r9, 0xc(r1) -/* 80056138 00053098 80 07 00 84 */ lwz r0, 0x84(r7) -/* 8005613C 0005309C 7C 05 00 40 */ cmplw r5, r0 -/* 80056140 000530A0 40 82 00 0C */ bne lbl_8005614C -/* 80056144 000530A4 7D 28 4B 78 */ mr r8, r9 -/* 80056148 000530A8 48 00 00 10 */ b lbl_80056158 -lbl_8005614C: -/* 8005614C 000530AC 39 29 00 01 */ addi r9, r9, 1 -/* 80056150 000530B0 38 C6 00 08 */ addi r6, r6, 8 -/* 80056154 000530B4 42 00 FF D0 */ bdnz lbl_80056124 -lbl_80056158: -/* 80056158 000530B8 91 03 00 00 */ stw r8, 0(r3) -/* 8005615C 000530BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80056160 000530C0 4E 80 00 20 */ blr - -.global AreSkyNeedsMet__6CWorldCFv -AreSkyNeedsMet__6CWorldCFv: -/* 80056164 000530C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80056168 000530C8 7C 08 02 A6 */ mflr r0 -/* 8005616C 000530CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80056170 000530D0 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80056174 000530D4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80056178 000530D8 41 82 00 44 */ beq lbl_800561BC -/* 8005617C 000530DC 88 03 00 C0 */ lbz r0, 0xc0(r3) -/* 80056180 000530E0 28 00 00 00 */ cmplwi r0, 0 -/* 80056184 000530E4 41 82 00 14 */ beq lbl_80056198 -/* 80056188 000530E8 80 63 00 BC */ lwz r3, 0xbc(r3) -/* 8005618C 000530EC 38 80 00 00 */ li r4, 0 -/* 80056190 000530F0 48 2F F4 19 */ bl IsLoaded__6CModelCFi -/* 80056194 000530F4 48 00 00 2C */ b lbl_800561C0 -lbl_80056198: -/* 80056198 000530F8 88 03 00 B0 */ lbz r0, 0xb0(r3) -/* 8005619C 000530FC 28 00 00 00 */ cmplwi r0, 0 -/* 800561A0 00053100 41 82 00 14 */ beq lbl_800561B4 -/* 800561A4 00053104 80 63 00 AC */ lwz r3, 0xac(r3) -/* 800561A8 00053108 38 80 00 00 */ li r4, 0 -/* 800561AC 0005310C 48 2F F3 FD */ bl IsLoaded__6CModelCFi -/* 800561B0 00053110 48 00 00 10 */ b lbl_800561C0 -lbl_800561B4: -/* 800561B4 00053114 38 60 00 00 */ li r3, 0 -/* 800561B8 00053118 48 00 00 08 */ b lbl_800561C0 -lbl_800561BC: -/* 800561BC 0005311C 38 60 00 01 */ li r3, 1 -lbl_800561C0: -/* 800561C0 00053120 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800561C4 00053124 7C 08 03 A6 */ mtlr r0 -/* 800561C8 00053128 38 21 00 10 */ addi r1, r1, 0x10 -/* 800561CC 0005312C 4E 80 00 20 */ blr - -.global DrawSky__6CWorldCFRC12CTransform4f -DrawSky__6CWorldCFRC12CTransform4f: -/* 800561D0 00053130 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800561D4 00053134 7C 08 02 A6 */ mflr r0 -/* 800561D8 00053138 90 01 00 24 */ stw r0, 0x24(r1) -/* 800561DC 0005313C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800561E0 00053140 7C 7F 1B 78 */ mr r31, r3 -/* 800561E4 00053144 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800561E8 00053148 7C 9E 23 78 */ mr r30, r4 -/* 800561EC 0005314C 88 03 00 B0 */ lbz r0, 0xb0(r3) -/* 800561F0 00053150 28 00 00 00 */ cmplwi r0, 0 -/* 800561F4 00053154 40 82 00 10 */ bne lbl_80056204 -/* 800561F8 00053158 88 1F 00 C0 */ lbz r0, 0xc0(r31) -/* 800561FC 0005315C 28 00 00 00 */ cmplwi r0, 0 -/* 80056200 00053160 41 82 00 D8 */ beq lbl_800562D8 -lbl_80056204: -/* 80056204 00053164 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 80056208 00053168 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8005620C 0005316C 41 82 00 CC */ beq lbl_800562D8 -/* 80056210 00053170 48 2B 67 6D */ bl DisableAllLights__9CGraphicsFv -/* 80056214 00053174 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80056218 00053178 7F C4 F3 78 */ mr r4, r30 -/* 8005621C 0005317C 81 83 00 00 */ lwz r12, 0(r3) -/* 80056220 00053180 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80056224 00053184 7D 89 03 A6 */ mtctr r12 -/* 80056228 00053188 4E 80 04 21 */ bctrl -/* 8005622C 0005318C 48 2F 3D 81 */ bl White__6CColorFv -/* 80056230 00053190 7C 64 1B 78 */ mr r4, r3 -/* 80056234 00053194 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80056238 00053198 81 83 00 00 */ lwz r12, 0(r3) -/* 8005623C 0005319C 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80056240 000531A0 7D 89 03 A6 */ mtctr r12 -/* 80056244 000531A4 4E 80 04 21 */ bctrl -/* 80056248 000531A8 C0 22 86 90 */ lfs f1, lbl_805AA3B0@sda21(r2) -/* 8005624C 000531AC C0 42 86 94 */ lfs f2, lbl_805AA3B4@sda21(r2) -/* 80056250 000531B0 48 2B 41 91 */ bl SetDepthRange__9CGraphicsFff -/* 80056254 000531B4 C0 22 86 94 */ lfs f1, lbl_805AA3B4@sda21(r2) -/* 80056258 000531B8 38 80 00 00 */ li r4, 0 -/* 8005625C 000531BC 38 00 00 03 */ li r0, 3 -/* 80056260 000531C0 98 81 00 08 */ stb r4, 8(r1) -/* 80056264 000531C4 FC 40 08 90 */ fmr f2, f1 -/* 80056268 000531C8 38 61 00 0C */ addi r3, r1, 0xc -/* 8005626C 000531CC FC 60 08 90 */ fmr f3, f1 -/* 80056270 000531D0 98 81 00 09 */ stb r4, 9(r1) -/* 80056274 000531D4 FC 80 08 90 */ fmr f4, f1 -/* 80056278 000531D8 B0 01 00 0A */ sth r0, 0xa(r1) -/* 8005627C 000531DC 48 30 D1 71 */ bl __ct__6CColorFffff -/* 80056280 000531E0 A0 61 00 0A */ lhz r3, 0xa(r1) -/* 80056284 000531E4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80056288 000531E8 88 1F 00 C0 */ lbz r0, 0xc0(r31) -/* 8005628C 000531EC 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d -/* 80056290 000531F0 88 E1 00 08 */ lbz r7, 8(r1) -/* 80056294 000531F4 60 65 00 01 */ ori r5, r3, 1 -/* 80056298 000531F8 88 C1 00 09 */ lbz r6, 9(r1) -/* 8005629C 000531FC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 800562A0 00053200 28 00 00 00 */ cmplwi r0, 0 -/* 800562A4 00053204 98 E1 00 10 */ stb r7, 0x10(r1) -/* 800562A8 00053208 98 C1 00 11 */ stb r6, 0x11(r1) -/* 800562AC 0005320C B0 A1 00 12 */ sth r5, 0x12(r1) -/* 800562B0 00053210 90 61 00 14 */ stw r3, 0x14(r1) -/* 800562B4 00053214 41 82 00 0C */ beq lbl_800562C0 -/* 800562B8 00053218 38 7F 00 B4 */ addi r3, r31, 0xb4 -/* 800562BC 0005321C 48 00 00 08 */ b lbl_800562C4 -lbl_800562C0: -/* 800562C0 00053220 38 7F 00 A4 */ addi r3, r31, 0xa4 -lbl_800562C4: -/* 800562C4 00053224 80 63 00 08 */ lwz r3, 8(r3) -/* 800562C8 00053228 48 2F F9 0D */ bl Draw__6CModelCFRC11CModelFlags -/* 800562CC 0005322C C0 22 86 98 */ lfs f1, lbl_805AA3B8@sda21(r2) -/* 800562D0 00053230 C0 42 86 94 */ lfs f2, lbl_805AA3B4@sda21(r2) -/* 800562D4 00053234 48 2B 41 0D */ bl SetDepthRange__9CGraphicsFff -lbl_800562D8: -/* 800562D8 00053238 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800562DC 0005323C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800562E0 00053240 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800562E4 00053244 7C 08 03 A6 */ mtlr r0 -/* 800562E8 00053248 38 21 00 20 */ addi r1, r1, 0x20 -/* 800562EC 0005324C 4E 80 00 20 */ blr - -.global PreRender__6CWorldFv -PreRender__6CWorldFv: -/* 800562F0 00053250 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800562F4 00053254 7C 08 02 A6 */ mflr r0 -/* 800562F8 00053258 90 01 00 14 */ stw r0, 0x14(r1) -/* 800562FC 0005325C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80056300 00053260 83 E3 00 58 */ lwz r31, 0x58(r3) -/* 80056304 00053264 48 00 00 10 */ b lbl_80056314 -lbl_80056308: -/* 80056308 00053268 7F E3 FB 78 */ mr r3, r31 -/* 8005630C 0005326C 48 00 93 49 */ bl PreRender__9CGameAreaFv -/* 80056310 00053270 83 FF 01 30 */ lwz r31, 0x130(r31) -lbl_80056314: -/* 80056314 00053274 80 0D A2 1C */ lwz r0, lbl_805A8DDC@sda21(r13) -/* 80056318 00053278 7C 00 F8 40 */ cmplw r0, r31 -/* 8005631C 0005327C 40 82 FF EC */ bne lbl_80056308 -/* 80056320 00053280 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80056324 00053284 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80056328 00053288 7C 08 03 A6 */ mtlr r0 -/* 8005632C 0005328C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80056330 00053290 4E 80 00 20 */ blr - -.global Update__6CWorldFf -Update__6CWorldFf: -/* 80056334 00053294 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80056338 00053298 7C 08 02 A6 */ mflr r0 -/* 8005633C 0005329C 90 01 00 84 */ stw r0, 0x84(r1) -/* 80056340 000532A0 38 00 00 00 */ li r0, 0 -/* 80056344 000532A4 DB E1 00 78 */ stfd f31, 0x78(r1) -/* 80056348 000532A8 FF E0 08 90 */ fmr f31, f1 -/* 8005634C 000532AC BF 41 00 60 */ stmw r26, 0x60(r1) -/* 80056350 000532B0 7C 7C 1B 78 */ mr r28, r3 -/* 80056354 000532B4 3B E0 00 00 */ li r31, 0 -/* 80056358 000532B8 3B C0 00 00 */ li r30, 0 -/* 8005635C 000532BC 3B 40 00 00 */ li r26, 0 -/* 80056360 000532C0 3B A0 FF FF */ li r29, -1 -/* 80056364 000532C4 90 03 00 C4 */ stw r0, 0xc4(r3) -/* 80056368 000532C8 83 63 00 58 */ lwz r27, 0x58(r3) -/* 8005636C 000532CC 48 00 00 8C */ b lbl_800563F8 -lbl_80056370: -/* 80056370 000532D0 FC 20 F8 90 */ fmr f1, f31 -/* 80056374 000532D4 7F 63 DB 78 */ mr r3, r27 -/* 80056378 000532D8 48 00 93 29 */ bl AliveUpdate__9CGameAreaFf -/* 8005637C 000532DC 7F 63 DB 78 */ mr r3, r27 -/* 80056380 000532E0 48 00 88 B5 */ bl DoesAreaNeedSkyNow__9CGameAreaCFv -/* 80056384 000532E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80056388 000532E8 41 82 00 54 */ beq lbl_800563DC -/* 8005638C 000532EC 80 7B 01 2C */ lwz r3, 0x12c(r27) -/* 80056390 000532F0 80 63 10 D8 */ lwz r3, 0x10d8(r3) -/* 80056394 000532F4 28 03 00 00 */ cmplwi r3, 0 -/* 80056398 000532F8 41 82 00 18 */ beq lbl_800563B0 -/* 8005639C 000532FC 80 63 00 4C */ lwz r3, 0x4c(r3) -/* 800563A0 00053300 3C 03 00 01 */ addis r0, r3, 1 -/* 800563A4 00053304 28 00 FF FF */ cmplwi r0, 0xffff -/* 800563A8 00053308 41 82 00 08 */ beq lbl_800563B0 -/* 800563AC 0005330C 7C 7D 1B 78 */ mr r29, r3 -lbl_800563B0: -/* 800563B0 00053310 88 1B 00 F0 */ lbz r0, 0xf0(r27) -/* 800563B4 00053314 3B E0 00 01 */ li r31, 1 -/* 800563B8 00053318 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800563BC 0005331C 41 82 00 10 */ beq lbl_800563CC -/* 800563C0 00053320 80 7B 01 2C */ lwz r3, 0x12c(r27) -/* 800563C4 00053324 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 800563C8 00053328 48 00 00 08 */ b lbl_800563D0 -lbl_800563CC: -/* 800563CC 0005332C 38 00 00 00 */ li r0, 0 -lbl_800563D0: -/* 800563D0 00053330 2C 00 00 01 */ cmpwi r0, 1 -/* 800563D4 00053334 40 82 00 08 */ bne lbl_800563DC -/* 800563D8 00053338 3B C0 00 01 */ li r30, 1 -lbl_800563DC: -/* 800563DC 0005333C 7F 63 DB 78 */ mr r3, r27 -/* 800563E0 00053340 48 00 88 11 */ bl DoesAreaNeedEnvFx__9CGameAreaCFv -/* 800563E4 00053344 2C 03 00 00 */ cmpwi r3, 0 -/* 800563E8 00053348 41 82 00 08 */ beq lbl_800563F0 -/* 800563EC 0005334C 90 7C 00 C4 */ stw r3, 0xc4(r28) -lbl_800563F0: -/* 800563F0 00053350 83 7B 01 30 */ lwz r27, 0x130(r27) -/* 800563F4 00053354 3B 5A 00 01 */ addi r26, r26, 1 -lbl_800563F8: -/* 800563F8 00053358 80 0D A2 1C */ lwz r0, lbl_805A8DDC@sda21(r13) -/* 800563FC 0005335C 7C 00 D8 40 */ cmplw r0, r27 -/* 80056400 00053360 40 82 FF 70 */ bne lbl_80056370 -/* 80056404 00053364 2C 1A 00 00 */ cmpwi r26, 0 -/* 80056408 00053368 41 82 04 D8 */ beq lbl_800568E0 -/* 8005640C 0005336C 3C 1D 00 01 */ addis r0, r29, 1 -/* 80056410 00053370 28 00 FF FF */ cmplwi r0, 0xffff -/* 80056414 00053374 41 82 01 C0 */ beq lbl_800565D4 -/* 80056418 00053378 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8005641C 0005337C 41 82 01 B8 */ beq lbl_800565D4 -/* 80056420 00053380 88 1C 00 70 */ lbz r0, 0x70(r28) -/* 80056424 00053384 38 60 00 01 */ li r3, 1 -/* 80056428 00053388 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8005642C 0005338C 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 80056430 00053390 98 1C 00 70 */ stb r0, 0x70(r28) -/* 80056434 00053394 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 80056438 00053398 38 61 00 08 */ addi r3, r1, 8 -/* 8005643C 0005339C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80056440 000533A0 88 9C 00 70 */ lbz r4, 0x70(r28) -/* 80056444 000533A4 53 C4 26 F6 */ rlwimi r4, r30, 4, 0x1b, 0x1b -/* 80056448 000533A8 98 9C 00 70 */ stb r4, 0x70(r28) -/* 8005644C 000533AC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80056450 000533B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80056454 000533B4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80056458 000533B8 81 84 00 00 */ lwz r12, 0(r4) -/* 8005645C 000533BC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80056460 000533C0 7D 89 03 A6 */ mtctr r12 -/* 80056464 000533C4 4E 80 04 21 */ bctrl -/* 80056468 000533C8 3B 41 00 54 */ addi r26, r1, 0x54 -/* 8005646C 000533CC 38 81 00 08 */ addi r4, r1, 8 -/* 80056470 000533D0 7F 43 D3 78 */ mr r3, r26 -/* 80056474 000533D4 48 2E AA 35 */ bl __ct__6CTokenFRC6CToken -/* 80056478 000533D8 7F 43 D3 78 */ mr r3, r26 -/* 8005647C 000533DC 48 2E A9 91 */ bl GetObj__6CTokenFv -/* 80056480 000533E0 80 03 00 04 */ lwz r0, 4(r3) -/* 80056484 000533E4 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80056488 000533E8 88 1C 00 C0 */ lbz r0, 0xc0(r28) -/* 8005648C 000533EC 28 00 00 00 */ cmplwi r0, 0 -/* 80056490 000533F0 40 82 00 34 */ bne lbl_800564C4 -/* 80056494 000533F4 37 BC 00 B4 */ addic. r29, r28, 0xb4 -/* 80056498 000533F8 41 82 00 20 */ beq lbl_800564B8 -/* 8005649C 000533FC 7F A3 EB 78 */ mr r3, r29 -/* 800564A0 00053400 7F 44 D3 78 */ mr r4, r26 -/* 800564A4 00053404 48 2E AA 05 */ bl __ct__6CTokenFRC6CToken -/* 800564A8 00053408 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 800564AC 0005340C 7F A3 EB 78 */ mr r3, r29 -/* 800564B0 00053410 90 1D 00 08 */ stw r0, 8(r29) -/* 800564B4 00053414 48 2E A8 D1 */ bl Lock__6CTokenFv -lbl_800564B8: -/* 800564B8 00053418 38 00 00 01 */ li r0, 1 -/* 800564BC 0005341C 98 1C 00 C0 */ stb r0, 0xc0(r28) -/* 800564C0 00053420 48 00 00 1C */ b lbl_800564DC -lbl_800564C4: -/* 800564C4 00053424 3B BC 00 B4 */ addi r29, r28, 0xb4 -/* 800564C8 00053428 7F 44 D3 78 */ mr r4, r26 -/* 800564CC 0005342C 7F A3 EB 78 */ mr r3, r29 -/* 800564D0 00053430 48 2E A7 F5 */ bl __as__6CTokenFRC6CToken -/* 800564D4 00053434 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 800564D8 00053438 90 1D 00 08 */ stw r0, 8(r29) -lbl_800564DC: -/* 800564DC 0005343C 38 61 00 54 */ addi r3, r1, 0x54 -/* 800564E0 00053440 38 80 00 00 */ li r4, 0 -/* 800564E4 00053444 48 2E A9 5D */ bl __dt__6CTokenFv -/* 800564E8 00053448 38 61 00 08 */ addi r3, r1, 8 -/* 800564EC 0005344C 38 80 FF FF */ li r4, -1 -/* 800564F0 00053450 48 2E A9 51 */ bl __dt__6CTokenFv -/* 800564F4 00053454 3B BC 00 A4 */ addi r29, r28, 0xa4 -/* 800564F8 00053458 38 81 00 44 */ addi r4, r1, 0x44 -/* 800564FC 0005345C 38 00 00 00 */ li r0, 0 -/* 80056500 00053460 7C 1D 20 40 */ cmplw r29, r4 -/* 80056504 00053464 98 01 00 50 */ stb r0, 0x50(r1) -/* 80056508 00053468 41 82 00 84 */ beq lbl_8005658C -/* 8005650C 0005346C 28 00 00 00 */ cmplwi r0, 0 -/* 80056510 00053470 41 82 00 50 */ beq lbl_80056560 -/* 80056514 00053474 88 1C 00 B0 */ lbz r0, 0xb0(r28) -/* 80056518 00053478 28 00 00 00 */ cmplwi r0, 0 -/* 8005651C 0005347C 40 82 00 30 */ bne lbl_8005654C -/* 80056520 00053480 37 BC 00 A4 */ addic. r29, r28, 0xa4 -/* 80056524 00053484 41 82 00 1C */ beq lbl_80056540 -/* 80056528 00053488 7F A3 EB 78 */ mr r3, r29 -/* 8005652C 0005348C 48 2E A9 7D */ bl __ct__6CTokenFRC6CToken -/* 80056530 00053490 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80056534 00053494 7F A3 EB 78 */ mr r3, r29 -/* 80056538 00053498 90 1D 00 08 */ stw r0, 8(r29) -/* 8005653C 0005349C 48 2E A8 49 */ bl Lock__6CTokenFv -lbl_80056540: -/* 80056540 000534A0 38 00 00 01 */ li r0, 1 -/* 80056544 000534A4 98 1C 00 B0 */ stb r0, 0xb0(r28) -/* 80056548 000534A8 48 00 00 44 */ b lbl_8005658C -lbl_8005654C: -/* 8005654C 000534AC 7F A3 EB 78 */ mr r3, r29 -/* 80056550 000534B0 48 2E A7 75 */ bl __as__6CTokenFRC6CToken -/* 80056554 000534B4 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80056558 000534B8 90 1D 00 08 */ stw r0, 8(r29) -/* 8005655C 000534BC 48 00 00 30 */ b lbl_8005658C -lbl_80056560: -/* 80056560 000534C0 88 1C 00 B0 */ lbz r0, 0xb0(r28) -/* 80056564 000534C4 28 00 00 00 */ cmplwi r0, 0 -/* 80056568 000534C8 41 82 00 1C */ beq lbl_80056584 -/* 8005656C 000534CC 34 7C 00 A4 */ addic. r3, r28, 0xa4 -/* 80056570 000534D0 41 82 00 14 */ beq lbl_80056584 -/* 80056574 000534D4 28 03 00 00 */ cmplwi r3, 0 -/* 80056578 000534D8 41 82 00 0C */ beq lbl_80056584 -/* 8005657C 000534DC 38 80 00 00 */ li r4, 0 -/* 80056580 000534E0 48 2E A8 C1 */ bl __dt__6CTokenFv -lbl_80056584: -/* 80056584 000534E4 38 00 00 00 */ li r0, 0 -/* 80056588 000534E8 98 1C 00 B0 */ stb r0, 0xb0(r28) -lbl_8005658C: -/* 8005658C 000534EC 88 01 00 50 */ lbz r0, 0x50(r1) -/* 80056590 000534F0 28 00 00 00 */ cmplwi r0, 0 -/* 80056594 000534F4 41 82 00 1C */ beq lbl_800565B0 -/* 80056598 000534F8 34 61 00 44 */ addic. r3, r1, 0x44 -/* 8005659C 000534FC 41 82 00 14 */ beq lbl_800565B0 -/* 800565A0 00053500 28 03 00 00 */ cmplwi r3, 0 -/* 800565A4 00053504 41 82 00 0C */ beq lbl_800565B0 -/* 800565A8 00053508 38 80 00 00 */ li r4, 0 -/* 800565AC 0005350C 48 2E A8 95 */ bl __dt__6CTokenFv -lbl_800565B0: -/* 800565B0 00053510 38 80 00 00 */ li r4, 0 -/* 800565B4 00053514 98 81 00 50 */ stb r4, 0x50(r1) -/* 800565B8 00053518 88 1C 00 A0 */ lbz r0, 0xa0(r28) -/* 800565BC 0005351C 28 00 00 00 */ cmplwi r0, 0 -/* 800565C0 00053520 41 82 03 20 */ beq lbl_800568E0 -/* 800565C4 00053524 90 9C 00 9C */ stw r4, 0x9c(r28) -/* 800565C8 00053528 38 7C 00 94 */ addi r3, r28, 0x94 -/* 800565CC 0005352C 48 2E A7 75 */ bl Unlock__6CTokenFv -/* 800565D0 00053530 48 00 03 10 */ b lbl_800568E0 -lbl_800565D4: -/* 800565D4 00053534 3B BC 00 B4 */ addi r29, r28, 0xb4 -/* 800565D8 00053538 38 81 00 34 */ addi r4, r1, 0x34 -/* 800565DC 0005353C 38 00 00 00 */ li r0, 0 -/* 800565E0 00053540 7C 1D 20 40 */ cmplw r29, r4 -/* 800565E4 00053544 98 01 00 40 */ stb r0, 0x40(r1) -/* 800565E8 00053548 41 82 00 84 */ beq lbl_8005666C -/* 800565EC 0005354C 28 00 00 00 */ cmplwi r0, 0 -/* 800565F0 00053550 41 82 00 50 */ beq lbl_80056640 -/* 800565F4 00053554 88 1C 00 C0 */ lbz r0, 0xc0(r28) -/* 800565F8 00053558 28 00 00 00 */ cmplwi r0, 0 -/* 800565FC 0005355C 40 82 00 30 */ bne lbl_8005662C -/* 80056600 00053560 37 BC 00 B4 */ addic. r29, r28, 0xb4 -/* 80056604 00053564 41 82 00 1C */ beq lbl_80056620 -/* 80056608 00053568 7F A3 EB 78 */ mr r3, r29 -/* 8005660C 0005356C 48 2E A8 9D */ bl __ct__6CTokenFRC6CToken -/* 80056610 00053570 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80056614 00053574 7F A3 EB 78 */ mr r3, r29 -/* 80056618 00053578 90 1D 00 08 */ stw r0, 8(r29) -/* 8005661C 0005357C 48 2E A7 69 */ bl Lock__6CTokenFv -lbl_80056620: -/* 80056620 00053580 38 00 00 01 */ li r0, 1 -/* 80056624 00053584 98 1C 00 C0 */ stb r0, 0xc0(r28) -/* 80056628 00053588 48 00 00 44 */ b lbl_8005666C -lbl_8005662C: -/* 8005662C 0005358C 7F A3 EB 78 */ mr r3, r29 -/* 80056630 00053590 48 2E A6 95 */ bl __as__6CTokenFRC6CToken -/* 80056634 00053594 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80056638 00053598 90 1D 00 08 */ stw r0, 8(r29) -/* 8005663C 0005359C 48 00 00 30 */ b lbl_8005666C -lbl_80056640: -/* 80056640 000535A0 88 1C 00 C0 */ lbz r0, 0xc0(r28) -/* 80056644 000535A4 28 00 00 00 */ cmplwi r0, 0 -/* 80056648 000535A8 41 82 00 1C */ beq lbl_80056664 -/* 8005664C 000535AC 34 7C 00 B4 */ addic. r3, r28, 0xb4 -/* 80056650 000535B0 41 82 00 14 */ beq lbl_80056664 -/* 80056654 000535B4 28 03 00 00 */ cmplwi r3, 0 -/* 80056658 000535B8 41 82 00 0C */ beq lbl_80056664 -/* 8005665C 000535BC 38 80 00 00 */ li r4, 0 -/* 80056660 000535C0 48 2E A7 E1 */ bl __dt__6CTokenFv -lbl_80056664: -/* 80056664 000535C4 38 00 00 00 */ li r0, 0 -/* 80056668 000535C8 98 1C 00 C0 */ stb r0, 0xc0(r28) -lbl_8005666C: -/* 8005666C 000535CC 88 01 00 40 */ lbz r0, 0x40(r1) -/* 80056670 000535D0 28 00 00 00 */ cmplwi r0, 0 -/* 80056674 000535D4 41 82 00 1C */ beq lbl_80056690 -/* 80056678 000535D8 34 61 00 34 */ addic. r3, r1, 0x34 -/* 8005667C 000535DC 41 82 00 14 */ beq lbl_80056690 -/* 80056680 000535E0 28 03 00 00 */ cmplwi r3, 0 -/* 80056684 000535E4 41 82 00 0C */ beq lbl_80056690 -/* 80056688 000535E8 38 80 00 00 */ li r4, 0 -/* 8005668C 000535EC 48 2E A7 B5 */ bl __dt__6CTokenFv -lbl_80056690: -/* 80056690 000535F0 38 60 00 00 */ li r3, 0 -/* 80056694 000535F4 98 61 00 40 */ stb r3, 0x40(r1) -/* 80056698 000535F8 88 1C 00 A0 */ lbz r0, 0xa0(r28) -/* 8005669C 000535FC 28 00 00 00 */ cmplwi r0, 0 -/* 800566A0 00053600 40 82 00 20 */ bne lbl_800566C0 -/* 800566A4 00053604 88 1C 00 70 */ lbz r0, 0x70(r28) -/* 800566A8 00053608 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800566AC 0005360C 98 1C 00 70 */ stb r0, 0x70(r28) -/* 800566B0 00053610 88 1C 00 70 */ lbz r0, 0x70(r28) -/* 800566B4 00053614 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800566B8 00053618 98 1C 00 70 */ stb r0, 0x70(r28) -/* 800566BC 0005361C 48 00 02 24 */ b lbl_800568E0 -lbl_800566C0: -/* 800566C0 00053620 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800566C4 00053624 40 82 00 F0 */ bne lbl_800567B4 -/* 800566C8 00053628 3B BC 00 A4 */ addi r29, r28, 0xa4 -/* 800566CC 0005362C 38 81 00 24 */ addi r4, r1, 0x24 -/* 800566D0 00053630 7C 1D 20 40 */ cmplw r29, r4 -/* 800566D4 00053634 98 61 00 30 */ stb r3, 0x30(r1) -/* 800566D8 00053638 41 82 00 84 */ beq lbl_8005675C -/* 800566DC 0005363C 28 03 00 00 */ cmplwi r3, 0 -/* 800566E0 00053640 41 82 00 50 */ beq lbl_80056730 -/* 800566E4 00053644 88 1C 00 B0 */ lbz r0, 0xb0(r28) -/* 800566E8 00053648 28 00 00 00 */ cmplwi r0, 0 -/* 800566EC 0005364C 40 82 00 30 */ bne lbl_8005671C -/* 800566F0 00053650 37 BC 00 A4 */ addic. r29, r28, 0xa4 -/* 800566F4 00053654 41 82 00 1C */ beq lbl_80056710 -/* 800566F8 00053658 7F A3 EB 78 */ mr r3, r29 -/* 800566FC 0005365C 48 2E A7 AD */ bl __ct__6CTokenFRC6CToken -/* 80056700 00053660 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80056704 00053664 7F A3 EB 78 */ mr r3, r29 -/* 80056708 00053668 90 1D 00 08 */ stw r0, 8(r29) -/* 8005670C 0005366C 48 2E A6 79 */ bl Lock__6CTokenFv -lbl_80056710: -/* 80056710 00053670 38 00 00 01 */ li r0, 1 -/* 80056714 00053674 98 1C 00 B0 */ stb r0, 0xb0(r28) -/* 80056718 00053678 48 00 00 44 */ b lbl_8005675C -lbl_8005671C: -/* 8005671C 0005367C 7F A3 EB 78 */ mr r3, r29 -/* 80056720 00053680 48 2E A5 A5 */ bl __as__6CTokenFRC6CToken -/* 80056724 00053684 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80056728 00053688 90 1D 00 08 */ stw r0, 8(r29) -/* 8005672C 0005368C 48 00 00 30 */ b lbl_8005675C -lbl_80056730: -/* 80056730 00053690 88 1C 00 B0 */ lbz r0, 0xb0(r28) -/* 80056734 00053694 28 00 00 00 */ cmplwi r0, 0 -/* 80056738 00053698 41 82 00 1C */ beq lbl_80056754 -/* 8005673C 0005369C 34 7C 00 A4 */ addic. r3, r28, 0xa4 -/* 80056740 000536A0 41 82 00 14 */ beq lbl_80056754 -/* 80056744 000536A4 28 03 00 00 */ cmplwi r3, 0 -/* 80056748 000536A8 41 82 00 0C */ beq lbl_80056754 -/* 8005674C 000536AC 38 80 00 00 */ li r4, 0 -/* 80056750 000536B0 48 2E A6 F1 */ bl __dt__6CTokenFv -lbl_80056754: -/* 80056754 000536B4 38 00 00 00 */ li r0, 0 -/* 80056758 000536B8 98 1C 00 B0 */ stb r0, 0xb0(r28) -lbl_8005675C: -/* 8005675C 000536BC 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80056760 000536C0 28 00 00 00 */ cmplwi r0, 0 -/* 80056764 000536C4 41 82 00 1C */ beq lbl_80056780 -/* 80056768 000536C8 34 61 00 24 */ addic. r3, r1, 0x24 -/* 8005676C 000536CC 41 82 00 14 */ beq lbl_80056780 -/* 80056770 000536D0 28 03 00 00 */ cmplwi r3, 0 -/* 80056774 000536D4 41 82 00 0C */ beq lbl_80056780 -/* 80056778 000536D8 38 80 00 00 */ li r4, 0 -/* 8005677C 000536DC 48 2E A6 C5 */ bl __dt__6CTokenFv -lbl_80056780: -/* 80056780 000536E0 38 00 00 00 */ li r0, 0 -/* 80056784 000536E4 38 7C 00 94 */ addi r3, r28, 0x94 -/* 80056788 000536E8 98 01 00 30 */ stb r0, 0x30(r1) -/* 8005678C 000536EC 90 1C 00 9C */ stw r0, 0x9c(r28) -/* 80056790 000536F0 48 2E A5 B1 */ bl Unlock__6CTokenFv -/* 80056794 000536F4 88 1C 00 70 */ lbz r0, 0x70(r28) -/* 80056798 000536F8 38 60 00 00 */ li r3, 0 -/* 8005679C 000536FC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800567A0 00053700 98 1C 00 70 */ stb r0, 0x70(r28) -/* 800567A4 00053704 88 1C 00 70 */ lbz r0, 0x70(r28) -/* 800567A8 00053708 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800567AC 0005370C 98 1C 00 70 */ stb r0, 0x70(r28) -/* 800567B0 00053710 48 00 01 30 */ b lbl_800568E0 -lbl_800567B4: -/* 800567B4 00053714 88 1C 00 B0 */ lbz r0, 0xb0(r28) -/* 800567B8 00053718 28 00 00 00 */ cmplwi r0, 0 -/* 800567BC 0005371C 40 82 01 08 */ bne lbl_800568C4 -/* 800567C0 00053720 38 7C 00 94 */ addi r3, r28, 0x94 -/* 800567C4 00053724 48 2E A5 C1 */ bl Lock__6CTokenFv -/* 800567C8 00053728 3B BC 00 94 */ addi r29, r28, 0x94 -/* 800567CC 0005372C 80 1C 00 9C */ lwz r0, 0x9c(r28) -/* 800567D0 00053730 28 00 00 00 */ cmplwi r0, 0 -/* 800567D4 00053734 41 82 00 0C */ beq lbl_800567E0 -/* 800567D8 00053738 38 60 00 01 */ li r3, 1 -/* 800567DC 0005373C 48 00 00 3C */ b lbl_80056818 -lbl_800567E0: -/* 800567E0 00053740 88 1D 00 04 */ lbz r0, 4(r29) -/* 800567E4 00053744 28 00 00 00 */ cmplwi r0, 0 -/* 800567E8 00053748 41 82 00 2C */ beq lbl_80056814 -/* 800567EC 0005374C 80 7D 00 00 */ lwz r3, 0(r29) -/* 800567F0 00053750 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800567F4 00053754 28 00 00 00 */ cmplwi r0, 0 -/* 800567F8 00053758 41 82 00 1C */ beq lbl_80056814 -/* 800567FC 0005375C 7F A3 EB 78 */ mr r3, r29 -/* 80056800 00053760 48 2E A6 0D */ bl GetObj__6CTokenFv -/* 80056804 00053764 80 03 00 04 */ lwz r0, 4(r3) -/* 80056808 00053768 38 60 00 01 */ li r3, 1 -/* 8005680C 0005376C 90 1D 00 08 */ stw r0, 8(r29) -/* 80056810 00053770 48 00 00 08 */ b lbl_80056818 -lbl_80056814: -/* 80056814 00053774 38 60 00 00 */ li r3, 0 -lbl_80056818: -/* 80056818 00053778 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005681C 0005377C 41 82 00 A8 */ beq lbl_800568C4 -/* 80056820 00053780 83 BC 00 9C */ lwz r29, 0x9c(r28) -/* 80056824 00053784 38 80 00 00 */ li r4, 0 -/* 80056828 00053788 7F A3 EB 78 */ mr r3, r29 -/* 8005682C 0005378C 48 2F EE 09 */ bl Touch__6CModelCFi -/* 80056830 00053790 7F A3 EB 78 */ mr r3, r29 -/* 80056834 00053794 38 80 00 00 */ li r4, 0 -/* 80056838 00053798 48 2F ED 71 */ bl IsLoaded__6CModelCFi -/* 8005683C 0005379C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80056840 000537A0 41 82 00 84 */ beq lbl_800568C4 -/* 80056844 000537A4 3B 41 00 18 */ addi r26, r1, 0x18 -/* 80056848 000537A8 38 9C 00 94 */ addi r4, r28, 0x94 -/* 8005684C 000537AC 7F 43 D3 78 */ mr r3, r26 -/* 80056850 000537B0 48 2E A6 59 */ bl __ct__6CTokenFRC6CToken -/* 80056854 000537B4 7F 43 D3 78 */ mr r3, r26 -/* 80056858 000537B8 48 2E A5 B5 */ bl GetObj__6CTokenFv -/* 8005685C 000537BC 80 03 00 04 */ lwz r0, 4(r3) -/* 80056860 000537C0 90 01 00 20 */ stw r0, 0x20(r1) -/* 80056864 000537C4 88 1C 00 B0 */ lbz r0, 0xb0(r28) -/* 80056868 000537C8 28 00 00 00 */ cmplwi r0, 0 -/* 8005686C 000537CC 40 82 00 34 */ bne lbl_800568A0 -/* 80056870 000537D0 37 BC 00 A4 */ addic. r29, r28, 0xa4 -/* 80056874 000537D4 41 82 00 20 */ beq lbl_80056894 -/* 80056878 000537D8 7F A3 EB 78 */ mr r3, r29 -/* 8005687C 000537DC 7F 44 D3 78 */ mr r4, r26 -/* 80056880 000537E0 48 2E A6 29 */ bl __ct__6CTokenFRC6CToken -/* 80056884 000537E4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80056888 000537E8 7F A3 EB 78 */ mr r3, r29 -/* 8005688C 000537EC 90 1D 00 08 */ stw r0, 8(r29) -/* 80056890 000537F0 48 2E A4 F5 */ bl Lock__6CTokenFv -lbl_80056894: -/* 80056894 000537F4 38 00 00 01 */ li r0, 1 -/* 80056898 000537F8 98 1C 00 B0 */ stb r0, 0xb0(r28) -/* 8005689C 000537FC 48 00 00 1C */ b lbl_800568B8 -lbl_800568A0: -/* 800568A0 00053800 3B BC 00 A4 */ addi r29, r28, 0xa4 -/* 800568A4 00053804 7F 44 D3 78 */ mr r4, r26 -/* 800568A8 00053808 7F A3 EB 78 */ mr r3, r29 -/* 800568AC 0005380C 48 2E A4 19 */ bl __as__6CTokenFRC6CToken -/* 800568B0 00053810 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800568B4 00053814 90 1D 00 08 */ stw r0, 8(r29) -lbl_800568B8: -/* 800568B8 00053818 38 61 00 18 */ addi r3, r1, 0x18 -/* 800568BC 0005381C 38 80 00 00 */ li r4, 0 -/* 800568C0 00053820 48 2E A5 81 */ bl __dt__6CTokenFv -lbl_800568C4: -/* 800568C4 00053824 88 1C 00 70 */ lbz r0, 0x70(r28) -/* 800568C8 00053828 38 60 00 01 */ li r3, 1 -/* 800568CC 0005382C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800568D0 00053830 98 1C 00 70 */ stb r0, 0x70(r28) -/* 800568D4 00053834 88 1C 00 70 */ lbz r0, 0x70(r28) -/* 800568D8 00053838 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b -/* 800568DC 0005383C 98 1C 00 70 */ stb r0, 0x70(r28) -lbl_800568E0: -/* 800568E0 00053840 CB E1 00 78 */ lfd f31, 0x78(r1) -/* 800568E4 00053844 BB 41 00 60 */ lmw r26, 0x60(r1) -/* 800568E8 00053848 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800568EC 0005384C 7C 08 03 A6 */ mtlr r0 -/* 800568F0 00053850 38 21 00 80 */ addi r1, r1, 0x80 -/* 800568F4 00053854 4E 80 00 20 */ blr - -.global TouchSky__6CWorldCFv -TouchSky__6CWorldCFv: -/* 800568F8 00053858 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800568FC 0005385C 7C 08 02 A6 */ mflr r0 -/* 80056900 00053860 90 01 00 14 */ stw r0, 0x14(r1) -/* 80056904 00053864 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80056908 00053868 7C 7F 1B 78 */ mr r31, r3 -/* 8005690C 0005386C 88 03 00 B0 */ lbz r0, 0xb0(r3) -/* 80056910 00053870 28 00 00 00 */ cmplwi r0, 0 -/* 80056914 00053874 41 82 00 10 */ beq lbl_80056924 -/* 80056918 00053878 80 7F 00 AC */ lwz r3, 0xac(r31) -/* 8005691C 0005387C 38 80 00 00 */ li r4, 0 -/* 80056920 00053880 48 2F ED 15 */ bl Touch__6CModelCFi -lbl_80056924: -/* 80056924 00053884 88 1F 00 C0 */ lbz r0, 0xc0(r31) -/* 80056928 00053888 28 00 00 00 */ cmplwi r0, 0 -/* 8005692C 0005388C 41 82 00 10 */ beq lbl_8005693C -/* 80056930 00053890 80 7F 00 BC */ lwz r3, 0xbc(r31) -/* 80056934 00053894 38 80 00 00 */ li r4, 0 -/* 80056938 00053898 48 2F EC FD */ bl Touch__6CModelCFi -lbl_8005693C: -/* 8005693C 0005389C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80056940 000538A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80056944 000538A4 7C 08 03 A6 */ mtlr r0 -/* 80056948 000538A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005694C 000538AC 4E 80 00 20 */ blr - -.global IGetAreaCount__11CDummyWorldFv -IGetAreaCount__11CDummyWorldFv: -/* 80056950 000538B0 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 80056954 000538B4 4E 80 00 20 */ blr - -.global IGetDefaultAudioTrack__11CDummyWorldCFv -IGetDefaultAudioTrack__11CDummyWorldCFv: -/* 80056958 000538B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005695C 000538BC 7C 08 02 A6 */ mflr r0 -/* 80056960 000538C0 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80056964 000538C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80056968 000538C8 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 8005696C 000538CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80056970 000538D0 7C 7F 1B 78 */ mr r31, r3 -/* 80056974 000538D4 4B FA E3 45 */ bl string_l__4rstlFPCc -/* 80056978 000538D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005697C 000538DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80056980 000538E0 7C 08 03 A6 */ mtlr r0 -/* 80056984 000538E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80056988 000538E8 4E 80 00 20 */ blr - -.global IGetAreaId__11CDummyWorldCF7TAreaId -IGetAreaId__11CDummyWorldCF7TAreaId: -/* 8005698C 000538EC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80056990 000538F0 7C 08 02 A6 */ mflr r0 -/* 80056994 000538F4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80056998 000538F8 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8005699C 000538FC 7C BD 2B 78 */ mr r29, r5 -/* 800569A0 00053900 3C 1D 00 01 */ addis r0, r29, 1 -/* 800569A4 00053904 7C 7B 1B 78 */ mr r27, r3 -/* 800569A8 00053908 28 00 FF FF */ cmplwi r0, 0xffff -/* 800569AC 0005390C 7C 9C 23 78 */ mr r28, r4 -/* 800569B0 00053910 41 82 00 5C */ beq lbl_80056A0C -/* 800569B4 00053914 83 FC 00 1C */ lwz r31, 0x1c(r28) -/* 800569B8 00053918 3B C0 00 00 */ li r30, 0 -/* 800569BC 0005391C 48 00 00 48 */ b lbl_80056A04 -lbl_800569C0: -/* 800569C0 00053920 93 C1 00 0C */ stw r30, 0xc(r1) -/* 800569C4 00053924 7F 83 E3 78 */ mr r3, r28 -/* 800569C8 00053928 38 81 00 0C */ addi r4, r1, 0xc -/* 800569CC 0005392C 81 9C 00 00 */ lwz r12, 0(r28) -/* 800569D0 00053930 93 C1 00 08 */ stw r30, 8(r1) -/* 800569D4 00053934 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800569D8 00053938 7D 89 03 A6 */ mtctr r12 -/* 800569DC 0005393C 4E 80 04 21 */ bctrl -/* 800569E0 00053940 81 83 00 00 */ lwz r12, 0(r3) -/* 800569E4 00053944 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800569E8 00053948 7D 89 03 A6 */ mtctr r12 -/* 800569EC 0005394C 4E 80 04 21 */ bctrl -/* 800569F0 00053950 7C 1D 18 40 */ cmplw r29, r3 -/* 800569F4 00053954 40 82 00 0C */ bne lbl_80056A00 -/* 800569F8 00053958 93 DB 00 00 */ stw r30, 0(r27) -/* 800569FC 0005395C 48 00 00 18 */ b lbl_80056A14 -lbl_80056A00: -/* 80056A00 00053960 3B DE 00 01 */ addi r30, r30, 1 -lbl_80056A04: -/* 80056A04 00053964 7C 1E F8 00 */ cmpw r30, r31 -/* 80056A08 00053968 41 80 FF B8 */ blt lbl_800569C0 -lbl_80056A0C: -/* 80056A0C 0005396C 38 00 FF FF */ li r0, -1 -/* 80056A10 00053970 90 1B 00 00 */ stw r0, 0(r27) -lbl_80056A14: -/* 80056A14 00053974 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80056A18 00053978 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80056A1C 0005397C 7C 08 03 A6 */ mtlr r0 -/* 80056A20 00053980 38 21 00 30 */ addi r1, r1, 0x30 -/* 80056A24 00053984 4E 80 00 20 */ blr - -.global IGetCurrentAreaId__11CDummyWorldCFv -IGetCurrentAreaId__11CDummyWorldCFv: -/* 80056A28 00053988 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 80056A2C 0005398C 90 03 00 00 */ stw r0, 0(r3) -/* 80056A30 00053990 4E 80 00 20 */ blr - -.global IGetAreaAlways__11CDummyWorldCF7TAreaId -IGetAreaAlways__11CDummyWorldCF7TAreaId: -/* 80056A34 00053994 80 04 00 00 */ lwz r0, 0(r4) -/* 80056A38 00053998 80 83 00 24 */ lwz r4, 0x24(r3) -/* 80056A3C 0005399C 54 03 18 38 */ slwi r3, r0, 3 -/* 80056A40 000539A0 38 03 00 04 */ addi r0, r3, 4 -/* 80056A44 000539A4 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80056A48 000539A8 4E 80 00 20 */ blr - -.global IMapWorld__11CDummyWorldFv -IMapWorld__11CDummyWorldFv: -/* 80056A4C 000539AC 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 80056A50 000539B0 80 63 00 08 */ lwz r3, 8(r3) -/* 80056A54 000539B4 4E 80 00 20 */ blr - -.global IGetMapWorld__11CDummyWorldCFv -IGetMapWorld__11CDummyWorldCFv: -/* 80056A58 000539B8 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 80056A5C 000539BC 80 63 00 08 */ lwz r3, 8(r3) -/* 80056A60 000539C0 4E 80 00 20 */ blr - -.global IGetStringTableAssetId__11CDummyWorldCFv -IGetStringTableAssetId__11CDummyWorldCFv: -/* 80056A64 000539C4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80056A68 000539C8 4E 80 00 20 */ blr - -.global IGetSaveWorldAssetId__11CDummyWorldCFv -IGetSaveWorldAssetId__11CDummyWorldCFv: -/* 80056A6C 000539CC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80056A70 000539D0 4E 80 00 20 */ blr - -.global IGetWorldAssetId__11CDummyWorldCFv -IGetWorldAssetId__11CDummyWorldCFv: -/* 80056A74 000539D4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80056A78 000539D8 4E 80 00 20 */ blr - -.global ICheckWorldComplete__11CDummyWorldFv -ICheckWorldComplete__11CDummyWorldFv: -/* 80056A7C 000539DC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80056A80 000539E0 7C 08 02 A6 */ mflr r0 -/* 80056A84 000539E4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80056A88 000539E8 BF 61 00 8C */ stmw r27, 0x8c(r1) -/* 80056A8C 000539EC 7C 7B 1B 78 */ mr r27, r3 -/* 80056A90 000539F0 80 03 00 08 */ lwz r0, 8(r3) -/* 80056A94 000539F4 2C 00 00 02 */ cmpwi r0, 2 -/* 80056A98 000539F8 41 82 04 54 */ beq lbl_80056EEC -/* 80056A9C 000539FC 40 80 00 14 */ bge lbl_80056AB0 -/* 80056AA0 00053A00 2C 00 00 00 */ cmpwi r0, 0 -/* 80056AA4 00053A04 41 82 00 18 */ beq lbl_80056ABC -/* 80056AA8 00053A08 40 80 03 B8 */ bge lbl_80056E60 -/* 80056AAC 00053A0C 48 00 04 6C */ b lbl_80056F18 -lbl_80056AB0: -/* 80056AB0 00053A10 2C 00 00 04 */ cmpwi r0, 4 -/* 80056AB4 00053A14 40 80 04 64 */ bge lbl_80056F18 -/* 80056AB8 00053A18 48 00 04 58 */ b lbl_80056F10 -lbl_80056ABC: -/* 80056ABC 00053A1C 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 80056AC0 00053A20 81 83 00 00 */ lwz r12, 0(r3) -/* 80056AC4 00053A24 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80056AC8 00053A28 7D 89 03 A6 */ mtctr r12 -/* 80056ACC 00053A2C 4E 80 04 21 */ bctrl -/* 80056AD0 00053A30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80056AD4 00053A34 40 82 00 0C */ bne lbl_80056AE0 -/* 80056AD8 00053A38 38 60 00 00 */ li r3, 0 -/* 80056ADC 00053A3C 48 00 04 40 */ b lbl_80056F1C -lbl_80056AE0: -/* 80056AE0 00053A40 80 9B 00 34 */ lwz r4, 0x34(r27) -/* 80056AE4 00053A44 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056AE8 00053A48 80 BB 00 38 */ lwz r5, 0x38(r27) -/* 80056AEC 00053A4C 48 2E 86 E1 */ bl __ct__15CMemoryInStreamFPCvUl -/* 80056AF0 00053A50 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056AF4 00053A54 48 2E 81 91 */ bl ReadLong__12CInputStreamFv -/* 80056AF8 00053A58 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056AFC 00053A5C 48 2E 81 89 */ bl ReadLong__12CInputStreamFv -/* 80056B00 00053A60 7C 7D 1B 78 */ mr r29, r3 -/* 80056B04 00053A64 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056B08 00053A68 48 2E 81 7D */ bl ReadLong__12CInputStreamFv -/* 80056B0C 00053A6C 28 1D 00 0F */ cmplwi r29, 0xf -/* 80056B10 00053A70 90 7B 00 10 */ stw r3, 0x10(r27) -/* 80056B14 00053A74 41 80 00 10 */ blt lbl_80056B24 -/* 80056B18 00053A78 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056B1C 00053A7C 48 2E 81 69 */ bl ReadLong__12CInputStreamFv -/* 80056B20 00053A80 90 7B 00 14 */ stw r3, 0x14(r27) -lbl_80056B24: -/* 80056B24 00053A84 28 1D 00 0C */ cmplwi r29, 0xc -/* 80056B28 00053A88 41 80 00 0C */ blt lbl_80056B34 -/* 80056B2C 00053A8C 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056B30 00053A90 48 2E 81 55 */ bl ReadLong__12CInputStreamFv -lbl_80056B34: -/* 80056B34 00053A94 28 1D 00 11 */ cmplwi r29, 0x11 -/* 80056B38 00053A98 41 80 00 54 */ blt lbl_80056B8C -/* 80056B3C 00053A9C 38 61 00 48 */ addi r3, r1, 0x48 -/* 80056B40 00053AA0 38 81 00 58 */ addi r4, r1, 0x58 -/* 80056B44 00053AA4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80056B48 00053AA8 48 00 06 91 */ bl "LoadRelays__FR12CInputStreamRQ24rstl44vector" -/* 80056B4C 00053AAC 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80056B50 00053AB0 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80056B54 00053AB4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80056B58 00053AB8 90 61 00 14 */ stw r3, 0x14(r1) -/* 80056B5C 00053ABC 7C 64 1B 78 */ mr r4, r3 -/* 80056B60 00053AC0 7C 03 02 14 */ add r0, r3, r0 -/* 80056B64 00053AC4 90 61 00 10 */ stw r3, 0x10(r1) -/* 80056B68 00053AC8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80056B6C 00053ACC 90 01 00 18 */ stw r0, 0x18(r1) -/* 80056B70 00053AD0 48 00 00 08 */ b lbl_80056B78 -lbl_80056B74: -/* 80056B74 00053AD4 38 84 00 0C */ addi r4, r4, 0xc -lbl_80056B78: -/* 80056B78 00053AD8 7C 04 00 40 */ cmplw r4, r0 -/* 80056B7C 00053ADC 40 82 FF F8 */ bne lbl_80056B74 -/* 80056B80 00053AE0 28 03 00 00 */ cmplwi r3, 0 -/* 80056B84 00053AE4 41 82 00 08 */ beq lbl_80056B8C -/* 80056B88 00053AE8 48 2B ED A9 */ bl Free__7CMemoryFPCv -lbl_80056B8C: -/* 80056B8C 00053AEC 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056B90 00053AF0 48 2E 80 F5 */ bl ReadLong__12CInputStreamFv -/* 80056B94 00053AF4 7C 7E 1B 78 */ mr r30, r3 -/* 80056B98 00053AF8 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056B9C 00053AFC 48 2E 80 E9 */ bl ReadLong__12CInputStreamFv -/* 80056BA0 00053B00 7F C4 F3 78 */ mr r4, r30 -/* 80056BA4 00053B04 38 7B 00 18 */ addi r3, r27, 0x18 -/* 80056BA8 00053B08 48 00 2D E9 */ bl sub_80059990 -/* 80056BAC 00053B0C 3C 60 80 3D */ lis r3, lbl_803CCF70@ha -/* 80056BB0 00053B10 3B 80 00 00 */ li r28, 0 -/* 80056BB4 00053B14 3B E3 CF 70 */ addi r31, r3, lbl_803CCF70@l -/* 80056BB8 00053B18 48 00 00 D4 */ b lbl_80056C8C -lbl_80056BBC: -/* 80056BBC 00053B1C 38 9F 00 01 */ addi r4, r31, 1 -/* 80056BC0 00053B20 38 60 00 64 */ li r3, 0x64 -/* 80056BC4 00053B24 38 A0 00 00 */ li r5, 0 -/* 80056BC8 00053B28 48 2B EC A5 */ bl __nw__FUlPCcPCc -/* 80056BCC 00053B2C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80056BD0 00053B30 41 82 00 18 */ beq lbl_80056BE8 -/* 80056BD4 00053B34 7F 85 E3 78 */ mr r5, r28 -/* 80056BD8 00053B38 7F A6 EB 78 */ mr r6, r29 -/* 80056BDC 00053B3C 38 81 00 58 */ addi r4, r1, 0x58 -/* 80056BE0 00053B40 48 00 77 F1 */ bl __ct__14CDummyGameAreaFR12CInputStreamii -/* 80056BE4 00053B44 7C 64 1B 78 */ mr r4, r3 -lbl_80056BE8: -/* 80056BE8 00053B48 7C 64 00 D0 */ neg r3, r4 -/* 80056BEC 00053B4C 80 1B 00 1C */ lwz r0, 0x1c(r27) -/* 80056BF0 00053B50 80 BB 00 20 */ lwz r5, 0x20(r27) -/* 80056BF4 00053B54 7C 63 23 78 */ or r3, r3, r4 -/* 80056BF8 00053B58 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80056BFC 00053B5C 90 81 00 34 */ stw r4, 0x34(r1) -/* 80056C00 00053B60 7C 00 28 00 */ cmpw r0, r5 -/* 80056C04 00053B64 98 61 00 30 */ stb r3, 0x30(r1) -/* 80056C08 00053B68 41 80 00 1C */ blt lbl_80056C24 -/* 80056C0C 00053B6C 2C 05 00 00 */ cmpwi r5, 0 -/* 80056C10 00053B70 38 7B 00 18 */ addi r3, r27, 0x18 -/* 80056C14 00053B74 38 80 00 04 */ li r4, 4 -/* 80056C18 00053B78 41 82 00 08 */ beq lbl_80056C20 -/* 80056C1C 00053B7C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80056C20: -/* 80056C20 00053B80 48 00 2D 71 */ bl sub_80059990 -lbl_80056C24: -/* 80056C24 00053B84 80 1B 00 1C */ lwz r0, 0x1c(r27) -/* 80056C28 00053B88 80 7B 00 24 */ lwz r3, 0x24(r27) -/* 80056C2C 00053B8C 54 00 18 38 */ slwi r0, r0, 3 -/* 80056C30 00053B90 7C A3 02 15 */ add. r5, r3, r0 -/* 80056C34 00053B94 41 82 00 1C */ beq lbl_80056C50 -/* 80056C38 00053B98 88 81 00 30 */ lbz r4, 0x30(r1) -/* 80056C3C 00053B9C 38 00 00 00 */ li r0, 0 -/* 80056C40 00053BA0 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80056C44 00053BA4 98 85 00 00 */ stb r4, 0(r5) -/* 80056C48 00053BA8 90 65 00 04 */ stw r3, 4(r5) -/* 80056C4C 00053BAC 98 01 00 30 */ stb r0, 0x30(r1) -lbl_80056C50: -/* 80056C50 00053BB0 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 80056C54 00053BB4 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80056C58 00053BB8 38 63 00 01 */ addi r3, r3, 1 -/* 80056C5C 00053BBC 28 00 00 00 */ cmplwi r0, 0 -/* 80056C60 00053BC0 90 7B 00 1C */ stw r3, 0x1c(r27) -/* 80056C64 00053BC4 41 82 00 24 */ beq lbl_80056C88 -/* 80056C68 00053BC8 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80056C6C 00053BCC 28 03 00 00 */ cmplwi r3, 0 -/* 80056C70 00053BD0 41 82 00 18 */ beq lbl_80056C88 -/* 80056C74 00053BD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80056C78 00053BD8 38 80 00 01 */ li r4, 1 -/* 80056C7C 00053BDC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80056C80 00053BE0 7D 89 03 A6 */ mtctr r12 -/* 80056C84 00053BE4 4E 80 04 21 */ bctrl -lbl_80056C88: -/* 80056C88 00053BE8 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80056C8C: -/* 80056C8C 00053BEC 7C 1C F0 00 */ cmpw r28, r30 -/* 80056C90 00053BF0 41 80 FF 2C */ blt lbl_80056BBC -/* 80056C94 00053BF4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056C98 00053BF8 48 2E 7F ED */ bl ReadLong__12CInputStreamFv -/* 80056C9C 00053BFC 90 7B 00 28 */ stw r3, 0x28(r27) -/* 80056CA0 00053C00 88 1B 00 04 */ lbz r0, 4(r27) -/* 80056CA4 00053C04 28 00 00 00 */ cmplwi r0, 0 -/* 80056CA8 00053C08 41 82 00 B4 */ beq lbl_80056D5C -/* 80056CAC 00053C0C 3C 60 80 3D */ lis r3, lbl_803CCF70@ha -/* 80056CB0 00053C10 3B E0 00 00 */ li r31, 0 -/* 80056CB4 00053C14 38 83 CF 70 */ addi r4, r3, lbl_803CCF70@l -/* 80056CB8 00053C18 38 60 00 0C */ li r3, 0xc -/* 80056CBC 00053C1C 38 84 00 01 */ addi r4, r4, 1 -/* 80056CC0 00053C20 38 A0 00 00 */ li r5, 0 -/* 80056CC4 00053C24 48 2B EB A9 */ bl __nw__FUlPCcPCc -/* 80056CC8 00053C28 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80056CCC 00053C2C 41 82 00 4C */ beq lbl_80056D18 -/* 80056CD0 00053C30 80 DB 00 28 */ lwz r6, 0x28(r27) -/* 80056CD4 00053C34 3C 60 4D 41 */ lis r3, 0x4D415057@ha -/* 80056CD8 00053C38 38 03 50 57 */ addi r0, r3, 0x4D415057@l -/* 80056CDC 00053C3C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80056CE0 00053C40 90 01 00 28 */ stw r0, 0x28(r1) -/* 80056CE4 00053C44 38 61 00 20 */ addi r3, r1, 0x20 -/* 80056CE8 00053C48 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80056CEC 00053C4C 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 80056CF0 00053C50 81 84 00 00 */ lwz r12, 0(r4) -/* 80056CF4 00053C54 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80056CF8 00053C58 7D 89 03 A6 */ mtctr r12 -/* 80056CFC 00053C5C 4E 80 04 21 */ bctrl -/* 80056D00 00053C60 7F 83 E3 78 */ mr r3, r28 -/* 80056D04 00053C64 38 81 00 20 */ addi r4, r1, 0x20 -/* 80056D08 00053C68 3B E0 00 01 */ li r31, 1 -/* 80056D0C 00053C6C 48 2E A1 9D */ bl __ct__6CTokenFRC6CToken -/* 80056D10 00053C70 38 00 00 00 */ li r0, 0 -/* 80056D14 00053C74 90 1C 00 08 */ stw r0, 8(r28) -lbl_80056D18: -/* 80056D18 00053C78 83 DB 00 2C */ lwz r30, 0x2c(r27) -/* 80056D1C 00053C7C 28 1E 00 00 */ cmplwi r30, 0 -/* 80056D20 00053C80 41 82 00 1C */ beq lbl_80056D3C -/* 80056D24 00053C84 41 82 00 10 */ beq lbl_80056D34 -/* 80056D28 00053C88 7F C3 F3 78 */ mr r3, r30 -/* 80056D2C 00053C8C 38 80 00 00 */ li r4, 0 -/* 80056D30 00053C90 48 2E A1 11 */ bl __dt__6CTokenFv -lbl_80056D34: -/* 80056D34 00053C94 7F C3 F3 78 */ mr r3, r30 -/* 80056D38 00053C98 48 2B EB F9 */ bl Free__7CMemoryFPCv -lbl_80056D3C: -/* 80056D3C 00053C9C 7F E0 07 75 */ extsb. r0, r31 -/* 80056D40 00053CA0 93 9B 00 2C */ stw r28, 0x2c(r27) -/* 80056D44 00053CA4 41 82 00 10 */ beq lbl_80056D54 -/* 80056D48 00053CA8 38 61 00 20 */ addi r3, r1, 0x20 -/* 80056D4C 00053CAC 38 80 FF FF */ li r4, -1 -/* 80056D50 00053CB0 48 2E A0 F1 */ bl __dt__6CTokenFv -lbl_80056D54: -/* 80056D54 00053CB4 80 7B 00 2C */ lwz r3, 0x2c(r27) -/* 80056D58 00053CB8 48 2E A0 2D */ bl Lock__6CTokenFv -lbl_80056D5C: -/* 80056D5C 00053CBC 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056D60 00053CC0 48 2E 7F AD */ bl ReadChar__12CInputStreamFv -/* 80056D64 00053CC4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056D68 00053CC8 48 2E 7F 1D */ bl ReadLong__12CInputStreamFv -/* 80056D6C 00053CCC 28 1D 00 0A */ cmplwi r29, 0xa -/* 80056D70 00053CD0 40 81 00 34 */ ble lbl_80056DA4 -/* 80056D74 00053CD4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056D78 00053CD8 48 2E 7F 0D */ bl ReadLong__12CInputStreamFv -/* 80056D7C 00053CDC 7C 7C 1B 78 */ mr r28, r3 -/* 80056D80 00053CE0 3B C0 00 00 */ li r30, 0 -/* 80056D84 00053CE4 48 00 00 18 */ b lbl_80056D9C -lbl_80056D88: -/* 80056D88 00053CE8 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056D8C 00053CEC 48 2E 7E F9 */ bl ReadLong__12CInputStreamFv -/* 80056D90 00053CF0 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056D94 00053CF4 48 2E 7E F1 */ bl ReadLong__12CInputStreamFv -/* 80056D98 00053CF8 3B DE 00 01 */ addi r30, r30, 1 -lbl_80056D9C: -/* 80056D9C 00053CFC 7C 1E E0 00 */ cmpw r30, r28 -/* 80056DA0 00053D00 41 80 FF E8 */ blt lbl_80056D88 -lbl_80056DA4: -/* 80056DA4 00053D04 28 1D 00 0C */ cmplwi r29, 0xc -/* 80056DA8 00053D08 40 81 00 1C */ ble lbl_80056DC4 -/* 80056DAC 00053D0C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80056DB0 00053D10 38 81 00 58 */ addi r4, r1, 0x58 -/* 80056DB4 00053D14 38 A1 00 08 */ addi r5, r1, 8 -/* 80056DB8 00053D18 48 2E 75 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80056DBC 00053D1C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80056DC0 00053D20 48 2E 6D 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80056DC4: -/* 80056DC4 00053D24 80 BB 00 0C */ lwz r5, 0xc(r27) -/* 80056DC8 00053D28 7F A4 EB 78 */ mr r4, r29 -/* 80056DCC 00053D2C 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056DD0 00053D30 48 00 24 4D */ bl ReadWorldLayers__12CWorldLayersFR12CInputStream -/* 80056DD4 00053D34 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 80056DD8 00053D38 28 03 00 00 */ cmplwi r3, 0 -/* 80056DDC 00053D3C 41 82 00 18 */ beq lbl_80056DF4 -/* 80056DE0 00053D40 81 83 00 00 */ lwz r12, 0(r3) -/* 80056DE4 00053D44 38 80 00 01 */ li r4, 1 -/* 80056DE8 00053D48 81 8C 00 08 */ lwz r12, 8(r12) -/* 80056DEC 00053D4C 7D 89 03 A6 */ mtctr r12 -/* 80056DF0 00053D50 4E 80 04 21 */ bctrl -lbl_80056DF4: -/* 80056DF4 00053D54 38 00 00 00 */ li r0, 0 -/* 80056DF8 00053D58 90 1B 00 30 */ stw r0, 0x30(r27) -/* 80056DFC 00053D5C 80 7B 00 34 */ lwz r3, 0x34(r27) -/* 80056E00 00053D60 48 2B EB 31 */ bl Free__7CMemoryFPCv -/* 80056E04 00053D64 38 00 00 00 */ li r0, 0 -/* 80056E08 00053D68 90 1B 00 34 */ stw r0, 0x34(r27) -/* 80056E0C 00053D6C 90 1B 00 38 */ stw r0, 0x38(r27) -/* 80056E10 00053D70 88 1B 00 04 */ lbz r0, 4(r27) -/* 80056E14 00053D74 28 00 00 00 */ cmplwi r0, 0 -/* 80056E18 00053D78 40 82 00 28 */ bne lbl_80056E40 -/* 80056E1C 00053D7C 38 00 00 03 */ li r0, 3 -/* 80056E20 00053D80 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha -/* 80056E24 00053D84 90 1B 00 08 */ stw r0, 8(r27) -/* 80056E28 00053D88 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l -/* 80056E2C 00053D8C 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056E30 00053D90 38 80 00 00 */ li r4, 0 -/* 80056E34 00053D94 90 01 00 58 */ stw r0, 0x58(r1) -/* 80056E38 00053D98 48 2E 82 75 */ bl __dt__12CInputStreamFv -/* 80056E3C 00053D9C 48 00 00 DC */ b lbl_80056F18 -lbl_80056E40: -/* 80056E40 00053DA0 38 00 00 01 */ li r0, 1 -/* 80056E44 00053DA4 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha -/* 80056E48 00053DA8 90 1B 00 08 */ stw r0, 8(r27) -/* 80056E4C 00053DAC 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l -/* 80056E50 00053DB0 38 61 00 58 */ addi r3, r1, 0x58 -/* 80056E54 00053DB4 38 80 00 00 */ li r4, 0 -/* 80056E58 00053DB8 90 01 00 58 */ stw r0, 0x58(r1) -/* 80056E5C 00053DBC 48 2E 82 51 */ bl __dt__12CInputStreamFv -lbl_80056E60: -/* 80056E60 00053DC0 83 9B 00 2C */ lwz r28, 0x2c(r27) -/* 80056E64 00053DC4 80 1C 00 08 */ lwz r0, 8(r28) -/* 80056E68 00053DC8 28 00 00 00 */ cmplwi r0, 0 -/* 80056E6C 00053DCC 41 82 00 0C */ beq lbl_80056E78 -/* 80056E70 00053DD0 38 60 00 01 */ li r3, 1 -/* 80056E74 00053DD4 48 00 00 3C */ b lbl_80056EB0 -lbl_80056E78: -/* 80056E78 00053DD8 88 1C 00 04 */ lbz r0, 4(r28) -/* 80056E7C 00053DDC 28 00 00 00 */ cmplwi r0, 0 -/* 80056E80 00053DE0 41 82 00 2C */ beq lbl_80056EAC -/* 80056E84 00053DE4 80 7C 00 00 */ lwz r3, 0(r28) -/* 80056E88 00053DE8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80056E8C 00053DEC 28 00 00 00 */ cmplwi r0, 0 -/* 80056E90 00053DF0 41 82 00 1C */ beq lbl_80056EAC -/* 80056E94 00053DF4 7F 83 E3 78 */ mr r3, r28 -/* 80056E98 00053DF8 48 2E 9F 75 */ bl GetObj__6CTokenFv -/* 80056E9C 00053DFC 80 03 00 04 */ lwz r0, 4(r3) -/* 80056EA0 00053E00 38 60 00 01 */ li r3, 1 -/* 80056EA4 00053E04 90 1C 00 08 */ stw r0, 8(r28) -/* 80056EA8 00053E08 48 00 00 08 */ b lbl_80056EB0 -lbl_80056EAC: -/* 80056EAC 00053E0C 38 60 00 00 */ li r3, 0 -lbl_80056EB0: -/* 80056EB0 00053E10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80056EB4 00053E14 40 82 00 0C */ bne lbl_80056EC0 -/* 80056EB8 00053E18 38 60 00 00 */ li r3, 0 -/* 80056EBC 00053E1C 48 00 00 60 */ b lbl_80056F1C -lbl_80056EC0: -/* 80056EC0 00053E20 7F 63 DB 78 */ mr r3, r27 -/* 80056EC4 00053E24 81 9B 00 00 */ lwz r12, 0(r27) -/* 80056EC8 00053E28 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80056ECC 00053E2C 7D 89 03 A6 */ mtctr r12 -/* 80056ED0 00053E30 4E 80 04 21 */ bctrl -/* 80056ED4 00053E34 7F 64 DB 78 */ mr r4, r27 -/* 80056ED8 00053E38 38 A0 00 00 */ li r5, 0 -/* 80056EDC 00053E3C 38 C0 27 0F */ li r6, 0x270f -/* 80056EE0 00053E40 48 04 A3 29 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii -/* 80056EE4 00053E44 38 00 00 02 */ li r0, 2 -/* 80056EE8 00053E48 90 1B 00 08 */ stw r0, 8(r27) -lbl_80056EEC: -/* 80056EEC 00053E4C 80 7B 00 2C */ lwz r3, 0x2c(r27) -/* 80056EF0 00053E50 80 63 00 08 */ lwz r3, 8(r3) -/* 80056EF4 00053E54 48 04 A2 8D */ bl IsMapAreasStreaming__9CMapWorldCFv -/* 80056EF8 00053E58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80056EFC 00053E5C 41 82 00 0C */ beq lbl_80056F08 -/* 80056F00 00053E60 38 60 00 00 */ li r3, 0 -/* 80056F04 00053E64 48 00 00 18 */ b lbl_80056F1C -lbl_80056F08: -/* 80056F08 00053E68 38 00 00 03 */ li r0, 3 -/* 80056F0C 00053E6C 90 1B 00 08 */ stw r0, 8(r27) -lbl_80056F10: -/* 80056F10 00053E70 38 60 00 01 */ li r3, 1 -/* 80056F14 00053E74 48 00 00 08 */ b lbl_80056F1C -lbl_80056F18: -/* 80056F18 00053E78 38 60 00 00 */ li r3, 0 -lbl_80056F1C: -/* 80056F1C 00053E7C BB 61 00 8C */ lmw r27, 0x8c(r1) -/* 80056F20 00053E80 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80056F24 00053E84 7C 08 03 A6 */ mtlr r0 -/* 80056F28 00053E88 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80056F2C 00053E8C 4E 80 00 20 */ blr - -.global __dt__14CDummyGameAreaFv -__dt__14CDummyGameAreaFv: -/* 80056F30 00053E90 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80056F34 00053E94 7C 08 02 A6 */ mflr r0 -/* 80056F38 00053E98 90 01 00 24 */ stw r0, 0x24(r1) -/* 80056F3C 00053E9C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80056F40 00053EA0 7C 9F 23 78 */ mr r31, r4 -/* 80056F44 00053EA4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80056F48 00053EA8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80056F4C 00053EAC 41 82 00 80 */ beq lbl_80056FCC -/* 80056F50 00053EB0 3C 80 80 3E */ lis r4, lbl_803DA208@ha -/* 80056F54 00053EB4 38 7E 00 54 */ addi r3, r30, 0x54 -/* 80056F58 00053EB8 38 04 A2 08 */ addi r0, r4, lbl_803DA208@l -/* 80056F5C 00053EBC 38 80 FF FF */ li r4, -1 -/* 80056F60 00053EC0 90 1E 00 00 */ stw r0, 0(r30) -/* 80056F64 00053EC4 48 00 00 85 */ bl sub_80056fe8 -/* 80056F68 00053EC8 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 80056F6C 00053ECC 41 82 00 44 */ beq lbl_80056FB0 -/* 80056F70 00053ED0 80 1E 00 48 */ lwz r0, 0x48(r30) -/* 80056F74 00053ED4 80 7E 00 50 */ lwz r3, 0x50(r30) -/* 80056F78 00053ED8 54 00 08 3C */ slwi r0, r0, 1 -/* 80056F7C 00053EDC 7C 03 02 14 */ add r0, r3, r0 -/* 80056F80 00053EE0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80056F84 00053EE4 7C 64 1B 78 */ mr r4, r3 -/* 80056F88 00053EE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80056F8C 00053EEC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80056F90 00053EF0 90 61 00 08 */ stw r3, 8(r1) -/* 80056F94 00053EF4 48 00 00 08 */ b lbl_80056F9C -lbl_80056F98: -/* 80056F98 00053EF8 38 84 00 02 */ addi r4, r4, 2 -lbl_80056F9C: -/* 80056F9C 00053EFC 7C 04 00 40 */ cmplw r4, r0 -/* 80056FA0 00053F00 40 82 FF F8 */ bne lbl_80056F98 -/* 80056FA4 00053F04 28 03 00 00 */ cmplwi r3, 0 -/* 80056FA8 00053F08 41 82 00 08 */ beq lbl_80056FB0 -/* 80056FAC 00053F0C 48 2B E9 85 */ bl Free__7CMemoryFPCv -lbl_80056FB0: -/* 80056FB0 00053F10 7F C3 F3 78 */ mr r3, r30 -/* 80056FB4 00053F14 38 80 00 00 */ li r4, 0 -/* 80056FB8 00053F18 48 00 CB 25 */ bl __dt__9IGameAreaFv -/* 80056FBC 00053F1C 7F E0 07 35 */ extsh. r0, r31 -/* 80056FC0 00053F20 40 81 00 0C */ ble lbl_80056FCC -/* 80056FC4 00053F24 7F C3 F3 78 */ mr r3, r30 -/* 80056FC8 00053F28 48 2B E9 69 */ bl Free__7CMemoryFPCv -lbl_80056FCC: -/* 80056FCC 00053F2C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80056FD0 00053F30 7F C3 F3 78 */ mr r3, r30 -/* 80056FD4 00053F34 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80056FD8 00053F38 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80056FDC 00053F3C 7C 08 03 A6 */ mtlr r0 -/* 80056FE0 00053F40 38 21 00 20 */ addi r1, r1, 0x20 -/* 80056FE4 00053F44 4E 80 00 20 */ blr - -.global sub_80056fe8 -sub_80056fe8: -/* 80056FE8 00053F48 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80056FEC 00053F4C 7C 08 02 A6 */ mflr r0 -/* 80056FF0 00053F50 90 01 00 24 */ stw r0, 0x24(r1) -/* 80056FF4 00053F54 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80056FF8 00053F58 7C 9F 23 78 */ mr r31, r4 -/* 80056FFC 00053F5C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80057000 00053F60 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80057004 00053F64 41 82 00 54 */ beq lbl_80057058 -/* 80057008 00053F68 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005700C 00053F6C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80057010 00053F70 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80057014 00053F74 38 81 00 0C */ addi r4, r1, 0xc -/* 80057018 00053F78 1C 00 00 4C */ mulli r0, r0, 0x4c -/* 8005701C 00053F7C 7C A5 02 14 */ add r5, r5, r0 -/* 80057020 00053F80 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80057024 00053F84 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80057028 00053F88 90 A1 00 08 */ stw r5, 8(r1) -/* 8005702C 00053F8C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80057030 00053F90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80057034 00053F94 48 00 00 41 */ bl sub_80057074 -/* 80057038 00053F98 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8005703C 00053F9C 28 03 00 00 */ cmplwi r3, 0 -/* 80057040 00053FA0 41 82 00 08 */ beq lbl_80057048 -/* 80057044 00053FA4 48 2B E8 ED */ bl Free__7CMemoryFPCv -lbl_80057048: -/* 80057048 00053FA8 7F E0 07 35 */ extsh. r0, r31 -/* 8005704C 00053FAC 40 81 00 0C */ ble lbl_80057058 -/* 80057050 00053FB0 7F C3 F3 78 */ mr r3, r30 -/* 80057054 00053FB4 48 2B E8 DD */ bl Free__7CMemoryFPCv -lbl_80057058: -/* 80057058 00053FB8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005705C 00053FBC 7F C3 F3 78 */ mr r3, r30 -/* 80057060 00053FC0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80057064 00053FC4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80057068 00053FC8 7C 08 03 A6 */ mtlr r0 -/* 8005706C 00053FCC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80057070 00053FD0 4E 80 00 20 */ blr - -.global sub_80057074 -sub_80057074: -/* 80057074 00053FD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80057078 00053FD8 7C 08 02 A6 */ mflr r0 -/* 8005707C 00053FDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80057080 00053FE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80057084 00053FE4 93 C1 00 08 */ stw r30, 8(r1) -/* 80057088 00053FE8 7C 9E 23 78 */ mr r30, r4 -/* 8005708C 00053FEC 83 E3 00 00 */ lwz r31, 0(r3) -/* 80057090 00053FF0 48 00 00 10 */ b lbl_800570A0 -lbl_80057094: -/* 80057094 00053FF4 7F E3 FB 78 */ mr r3, r31 -/* 80057098 00053FF8 48 00 00 2D */ bl sub_800570c4 -/* 8005709C 00053FFC 3B FF 00 4C */ addi r31, r31, 0x4c -lbl_800570A0: -/* 800570A0 00054000 80 1E 00 00 */ lwz r0, 0(r30) -/* 800570A4 00054004 7C 1F 00 40 */ cmplw r31, r0 -/* 800570A8 00054008 40 82 FF EC */ bne lbl_80057094 -/* 800570AC 0005400C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800570B0 00054010 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800570B4 00054014 83 C1 00 08 */ lwz r30, 8(r1) -/* 800570B8 00054018 7C 08 03 A6 */ mtlr r0 -/* 800570BC 0005401C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800570C0 00054020 4E 80 00 20 */ blr - -.global sub_800570c4 -sub_800570c4: -/* 800570C4 00054024 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800570C8 00054028 7C 08 02 A6 */ mflr r0 -/* 800570CC 0005402C 38 80 FF FF */ li r4, -1 -/* 800570D0 00054030 90 01 00 14 */ stw r0, 0x14(r1) -/* 800570D4 00054034 48 00 00 15 */ bl sub_800570e8 -/* 800570D8 00054038 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800570DC 0005403C 7C 08 03 A6 */ mtlr r0 -/* 800570E0 00054040 38 21 00 10 */ addi r1, r1, 0x10 -/* 800570E4 00054044 4E 80 00 20 */ blr - -.global sub_800570e8 -sub_800570e8: -/* 800570E8 00054048 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800570EC 0005404C 7C 08 02 A6 */ mflr r0 -/* 800570F0 00054050 90 01 00 24 */ stw r0, 0x24(r1) -/* 800570F4 00054054 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800570F8 00054058 7C 9F 23 78 */ mr r31, r4 -/* 800570FC 0005405C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80057100 00054060 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80057104 00054064 41 82 00 B8 */ beq lbl_800571BC -/* 80057108 00054068 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8005710C 0005406C 41 82 00 58 */ beq lbl_80057164 -/* 80057110 00054070 80 BE 00 14 */ lwz r5, 0x14(r30) -/* 80057114 00054074 38 60 00 00 */ li r3, 0 -/* 80057118 00054078 2C 05 00 00 */ cmpwi r5, 0 -/* 8005711C 0005407C 40 81 00 40 */ ble lbl_8005715C -/* 80057120 00054080 2C 05 00 08 */ cmpwi r5, 8 -/* 80057124 00054084 38 85 FF F8 */ addi r4, r5, -8 -/* 80057128 00054088 40 81 00 20 */ ble lbl_80057148 -/* 8005712C 0005408C 38 04 00 07 */ addi r0, r4, 7 -/* 80057130 00054090 54 00 E8 FE */ srwi r0, r0, 3 -/* 80057134 00054094 7C 09 03 A6 */ mtctr r0 -/* 80057138 00054098 2C 04 00 00 */ cmpwi r4, 0 -/* 8005713C 0005409C 40 81 00 0C */ ble lbl_80057148 -lbl_80057140: -/* 80057140 000540A0 38 63 00 08 */ addi r3, r3, 8 -/* 80057144 000540A4 42 00 FF FC */ bdnz lbl_80057140 -lbl_80057148: -/* 80057148 000540A8 7C 03 28 50 */ subf r0, r3, r5 -/* 8005714C 000540AC 7C 09 03 A6 */ mtctr r0 -/* 80057150 000540B0 7C 03 28 00 */ cmpw r3, r5 -/* 80057154 000540B4 40 80 00 08 */ bge lbl_8005715C -lbl_80057158: -/* 80057158 000540B8 42 00 00 00 */ bdnz lbl_80057158 -lbl_8005715C: -/* 8005715C 000540BC 38 00 00 00 */ li r0, 0 -/* 80057160 000540C0 90 1E 00 14 */ stw r0, 0x14(r30) -lbl_80057164: -/* 80057164 000540C4 34 1E 00 04 */ addic. r0, r30, 4 -/* 80057168 000540C8 41 82 00 44 */ beq lbl_800571AC -/* 8005716C 000540CC 80 1E 00 08 */ lwz r0, 8(r30) -/* 80057170 000540D0 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80057174 000540D4 54 00 18 38 */ slwi r0, r0, 3 -/* 80057178 000540D8 7C 03 02 14 */ add r0, r3, r0 -/* 8005717C 000540DC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80057180 000540E0 7C 64 1B 78 */ mr r4, r3 -/* 80057184 000540E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80057188 000540E8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8005718C 000540EC 90 61 00 08 */ stw r3, 8(r1) -/* 80057190 000540F0 48 00 00 08 */ b lbl_80057198 -lbl_80057194: -/* 80057194 000540F4 38 84 00 08 */ addi r4, r4, 8 -lbl_80057198: -/* 80057198 000540F8 7C 04 00 40 */ cmplw r4, r0 -/* 8005719C 000540FC 40 82 FF F8 */ bne lbl_80057194 -/* 800571A0 00054100 28 03 00 00 */ cmplwi r3, 0 -/* 800571A4 00054104 41 82 00 08 */ beq lbl_800571AC -/* 800571A8 00054108 48 2B E7 89 */ bl Free__7CMemoryFPCv -lbl_800571AC: -/* 800571AC 0005410C 7F E0 07 35 */ extsh. r0, r31 -/* 800571B0 00054110 40 81 00 0C */ ble lbl_800571BC -/* 800571B4 00054114 7F C3 F3 78 */ mr r3, r30 -/* 800571B8 00054118 48 2B E7 79 */ bl Free__7CMemoryFPCv -lbl_800571BC: -/* 800571BC 0005411C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800571C0 00054120 7F C3 F3 78 */ mr r3, r30 -/* 800571C4 00054124 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800571C8 00054128 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800571CC 0005412C 7C 08 03 A6 */ mtlr r0 -/* 800571D0 00054130 38 21 00 20 */ addi r1, r1, 0x20 -/* 800571D4 00054134 4E 80 00 20 */ blr - -.global "LoadRelays__FR12CInputStreamRQ24rstl44vector" -"LoadRelays__FR12CInputStreamRQ24rstl44vector": -/* 800571D8 00054138 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800571DC 0005413C 7C 08 02 A6 */ mflr r0 -/* 800571E0 00054140 90 01 00 34 */ stw r0, 0x34(r1) -/* 800571E4 00054144 38 00 00 00 */ li r0, 0 -/* 800571E8 00054148 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800571EC 0005414C 7C 9F 23 78 */ mr r31, r4 -/* 800571F0 00054150 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800571F4 00054154 7C 7E 1B 78 */ mr r30, r3 -/* 800571F8 00054158 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800571FC 0005415C 93 81 00 20 */ stw r28, 0x20(r1) -/* 80057200 00054160 90 03 00 04 */ stw r0, 4(r3) -/* 80057204 00054164 7F E3 FB 78 */ mr r3, r31 -/* 80057208 00054168 90 1E 00 08 */ stw r0, 8(r30) -/* 8005720C 0005416C 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80057210 00054170 48 2E 7A 75 */ bl ReadLong__12CInputStreamFv -/* 80057214 00054174 7C 7D 1B 78 */ mr r29, r3 -/* 80057218 00054178 7F C3 F3 78 */ mr r3, r30 -/* 8005721C 0005417C 7F A4 EB 78 */ mr r4, r29 -/* 80057220 00054180 48 00 23 DD */ bl "reserve__Q24rstl44vectorFi" -/* 80057224 00054184 3B 80 00 00 */ li r28, 0 -/* 80057228 00054188 48 00 00 7C */ b lbl_800572A4 -lbl_8005722C: -/* 8005722C 0005418C 7F E4 FB 78 */ mr r4, r31 -/* 80057230 00054190 38 61 00 08 */ addi r3, r1, 8 -/* 80057234 00054194 48 00 1F 81 */ bl __ct__6CRelayFR12CInputStream -/* 80057238 00054198 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005723C 0005419C 80 BE 00 08 */ lwz r5, 8(r30) -/* 80057240 000541A0 7C 00 28 00 */ cmpw r0, r5 -/* 80057244 000541A4 41 80 00 1C */ blt lbl_80057260 -/* 80057248 000541A8 2C 05 00 00 */ cmpwi r5, 0 -/* 8005724C 000541AC 7F C3 F3 78 */ mr r3, r30 -/* 80057250 000541B0 38 80 00 04 */ li r4, 4 -/* 80057254 000541B4 41 82 00 08 */ beq lbl_8005725C -/* 80057258 000541B8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005725C: -/* 8005725C 000541BC 48 00 23 A1 */ bl "reserve__Q24rstl44vectorFi" -lbl_80057260: -/* 80057260 000541C0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80057264 000541C4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80057268 000541C8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005726C 000541CC 7C 63 02 15 */ add. r3, r3, r0 -/* 80057270 000541D0 41 82 00 24 */ beq lbl_80057294 -/* 80057274 000541D4 80 01 00 08 */ lwz r0, 8(r1) -/* 80057278 000541D8 90 03 00 00 */ stw r0, 0(r3) -/* 8005727C 000541DC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80057280 000541E0 90 03 00 04 */ stw r0, 4(r3) -/* 80057284 000541E4 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 80057288 000541E8 B0 03 00 08 */ sth r0, 8(r3) -/* 8005728C 000541EC 88 01 00 12 */ lbz r0, 0x12(r1) -/* 80057290 000541F0 98 03 00 0A */ stb r0, 0xa(r3) -lbl_80057294: -/* 80057294 000541F4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80057298 000541F8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8005729C 000541FC 38 03 00 01 */ addi r0, r3, 1 -/* 800572A0 00054200 90 1E 00 04 */ stw r0, 4(r30) -lbl_800572A4: -/* 800572A4 00054204 7C 1C E8 00 */ cmpw r28, r29 -/* 800572A8 00054208 41 80 FF 84 */ blt lbl_8005722C -/* 800572AC 0005420C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800572B0 00054210 7F C3 F3 78 */ mr r3, r30 -/* 800572B4 00054214 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800572B8 00054218 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800572BC 0005421C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800572C0 00054220 83 81 00 20 */ lwz r28, 0x20(r1) -/* 800572C4 00054224 7C 08 03 A6 */ mtlr r0 -/* 800572C8 00054228 38 21 00 30 */ addi r1, r1, 0x30 -/* 800572CC 0005422C 4E 80 00 20 */ blr - -.global __dt__11CDummyWorldFv -__dt__11CDummyWorldFv: -/* 800572D0 00054230 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800572D4 00054234 7C 08 02 A6 */ mflr r0 -/* 800572D8 00054238 90 01 00 24 */ stw r0, 0x24(r1) -/* 800572DC 0005423C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800572E0 00054240 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800572E4 00054244 7C 9E 23 78 */ mr r30, r4 -/* 800572E8 00054248 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800572EC 0005424C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 800572F0 00054250 41 82 00 9C */ beq lbl_8005738C -/* 800572F4 00054254 3C 60 80 3E */ lis r3, lbl_803D9FC0@ha -/* 800572F8 00054258 34 1D 00 34 */ addic. r0, r29, 0x34 -/* 800572FC 0005425C 38 03 9F C0 */ addi r0, r3, lbl_803D9FC0@l -/* 80057300 00054260 90 1D 00 00 */ stw r0, 0(r29) -/* 80057304 00054264 41 82 00 0C */ beq lbl_80057310 -/* 80057308 00054268 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 8005730C 0005426C 48 2B E6 25 */ bl Free__7CMemoryFPCv -lbl_80057310: -/* 80057310 00054270 34 1D 00 30 */ addic. r0, r29, 0x30 -/* 80057314 00054274 41 82 00 24 */ beq lbl_80057338 -/* 80057318 00054278 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 8005731C 0005427C 28 03 00 00 */ cmplwi r3, 0 -/* 80057320 00054280 41 82 00 18 */ beq lbl_80057338 -/* 80057324 00054284 81 83 00 00 */ lwz r12, 0(r3) -/* 80057328 00054288 38 80 00 01 */ li r4, 1 -/* 8005732C 0005428C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80057330 00054290 7D 89 03 A6 */ mtctr r12 -/* 80057334 00054294 4E 80 04 21 */ bctrl -lbl_80057338: -/* 80057338 00054298 34 1D 00 2C */ addic. r0, r29, 0x2c -/* 8005733C 0005429C 41 82 00 28 */ beq lbl_80057364 -/* 80057340 000542A0 83 FD 00 2C */ lwz r31, 0x2c(r29) -/* 80057344 000542A4 28 1F 00 00 */ cmplwi r31, 0 -/* 80057348 000542A8 41 82 00 1C */ beq lbl_80057364 -/* 8005734C 000542AC 41 82 00 10 */ beq lbl_8005735C -/* 80057350 000542B0 7F E3 FB 78 */ mr r3, r31 -/* 80057354 000542B4 38 80 00 00 */ li r4, 0 -/* 80057358 000542B8 48 2E 9A E9 */ bl __dt__6CTokenFv -lbl_8005735C: -/* 8005735C 000542BC 7F E3 FB 78 */ mr r3, r31 -/* 80057360 000542C0 48 2B E5 D1 */ bl Free__7CMemoryFPCv -lbl_80057364: -/* 80057364 000542C4 38 7D 00 18 */ addi r3, r29, 0x18 -/* 80057368 000542C8 38 80 FF FF */ li r4, -1 -/* 8005736C 000542CC 48 00 00 41 */ bl sub_800573ac -/* 80057370 000542D0 7F A3 EB 78 */ mr r3, r29 -/* 80057374 000542D4 38 80 00 00 */ li r4, 0 -/* 80057378 000542D8 48 00 1D F5 */ bl __dt__6IWorldFv -/* 8005737C 000542DC 7F C0 07 35 */ extsh. r0, r30 -/* 80057380 000542E0 40 81 00 0C */ ble lbl_8005738C -/* 80057384 000542E4 7F A3 EB 78 */ mr r3, r29 -/* 80057388 000542E8 48 2B E5 A9 */ bl Free__7CMemoryFPCv -lbl_8005738C: -/* 8005738C 000542EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80057390 000542F0 7F A3 EB 78 */ mr r3, r29 -/* 80057394 000542F4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80057398 000542F8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005739C 000542FC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800573A0 00054300 7C 08 03 A6 */ mtlr r0 -/* 800573A4 00054304 38 21 00 20 */ addi r1, r1, 0x20 -/* 800573A8 00054308 4E 80 00 20 */ blr - -.global sub_800573ac -sub_800573ac: -/* 800573AC 0005430C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800573B0 00054310 7C 08 02 A6 */ mflr r0 -/* 800573B4 00054314 90 01 00 34 */ stw r0, 0x34(r1) -/* 800573B8 00054318 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800573BC 0005431C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800573C0 00054320 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800573C4 00054324 7C 9D 23 78 */ mr r29, r4 -/* 800573C8 00054328 93 81 00 20 */ stw r28, 0x20(r1) -/* 800573CC 0005432C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 800573D0 00054330 41 82 00 88 */ beq lbl_80057458 -/* 800573D4 00054334 80 1C 00 04 */ lwz r0, 4(r28) -/* 800573D8 00054338 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 800573DC 0005433C 54 00 18 38 */ slwi r0, r0, 3 -/* 800573E0 00054340 7F FE 02 14 */ add r31, r30, r0 -/* 800573E4 00054344 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800573E8 00054348 93 E1 00 08 */ stw r31, 8(r1) -/* 800573EC 0005434C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800573F0 00054350 93 C1 00 14 */ stw r30, 0x14(r1) -/* 800573F4 00054354 48 00 00 3C */ b lbl_80057430 -lbl_800573F8: -/* 800573F8 00054358 28 1E 00 00 */ cmplwi r30, 0 -/* 800573FC 0005435C 41 82 00 30 */ beq lbl_8005742C -/* 80057400 00054360 88 1E 00 00 */ lbz r0, 0(r30) -/* 80057404 00054364 28 00 00 00 */ cmplwi r0, 0 -/* 80057408 00054368 41 82 00 24 */ beq lbl_8005742C -/* 8005740C 0005436C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80057410 00054370 28 03 00 00 */ cmplwi r3, 0 -/* 80057414 00054374 41 82 00 18 */ beq lbl_8005742C -/* 80057418 00054378 81 83 00 00 */ lwz r12, 0(r3) -/* 8005741C 0005437C 38 80 00 01 */ li r4, 1 -/* 80057420 00054380 81 8C 00 08 */ lwz r12, 8(r12) -/* 80057424 00054384 7D 89 03 A6 */ mtctr r12 -/* 80057428 00054388 4E 80 04 21 */ bctrl -lbl_8005742C: -/* 8005742C 0005438C 3B DE 00 08 */ addi r30, r30, 8 -lbl_80057430: -/* 80057430 00054390 7C 1E F8 40 */ cmplw r30, r31 -/* 80057434 00054394 40 82 FF C4 */ bne lbl_800573F8 -/* 80057438 00054398 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8005743C 0005439C 28 03 00 00 */ cmplwi r3, 0 -/* 80057440 000543A0 41 82 00 08 */ beq lbl_80057448 -/* 80057444 000543A4 48 2B E4 ED */ bl Free__7CMemoryFPCv -lbl_80057448: -/* 80057448 000543A8 7F A0 07 35 */ extsh. r0, r29 -/* 8005744C 000543AC 40 81 00 0C */ ble lbl_80057458 -/* 80057450 000543B0 7F 83 E3 78 */ mr r3, r28 -/* 80057454 000543B4 48 2B E4 DD */ bl Free__7CMemoryFPCv -lbl_80057458: -/* 80057458 000543B8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005745C 000543BC 7F 83 E3 78 */ mr r3, r28 -/* 80057460 000543C0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80057464 000543C4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80057468 000543C8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8005746C 000543CC 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80057470 000543D0 7C 08 03 A6 */ mtlr r0 -/* 80057474 000543D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80057478 000543D8 4E 80 00 20 */ blr - -.global __ct__11CDummyWorldFUi -__ct__11CDummyWorldFUi: -/* 8005747C 000543DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80057480 000543E0 7C 08 02 A6 */ mflr r0 -/* 80057484 000543E4 3C C0 80 3E */ lis r6, lbl_803D9FC0@ha -/* 80057488 000543E8 3C E0 80 3E */ lis r7, lbl_803DA04C@ha -/* 8005748C 000543EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80057490 000543F0 38 07 A0 4C */ addi r0, r7, lbl_803DA04C@l -/* 80057494 000543F4 39 06 9F C0 */ addi r8, r6, lbl_803D9FC0@l -/* 80057498 000543F8 38 E0 00 00 */ li r7, 0 -/* 8005749C 000543FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800574A0 00054400 7C 7F 1B 78 */ mr r31, r3 -/* 800574A4 00054404 38 C0 FF FF */ li r6, -1 -/* 800574A8 00054408 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha -/* 800574AC 0005440C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800574B0 00054410 90 1F 00 00 */ stw r0, 0(r31) -/* 800574B4 00054414 38 03 56 4C */ addi r0, r3, 0x4D4C564C@l -/* 800574B8 00054418 91 1F 00 00 */ stw r8, 0(r31) -/* 800574BC 0005441C 98 BF 00 04 */ stb r5, 4(r31) -/* 800574C0 00054420 90 FF 00 08 */ stw r7, 8(r31) -/* 800574C4 00054424 90 9F 00 0C */ stw r4, 0xc(r31) -/* 800574C8 00054428 90 DF 00 14 */ stw r6, 0x14(r31) -/* 800574CC 0005442C 90 FF 00 1C */ stw r7, 0x1c(r31) -/* 800574D0 00054430 90 FF 00 20 */ stw r7, 0x20(r31) -/* 800574D4 00054434 90 FF 00 24 */ stw r7, 0x24(r31) -/* 800574D8 00054438 90 DF 00 28 */ stw r6, 0x28(r31) -/* 800574DC 0005443C 90 FF 00 2C */ stw r7, 0x2c(r31) -/* 800574E0 00054440 90 FF 00 30 */ stw r7, 0x30(r31) -/* 800574E4 00054444 90 FF 00 34 */ stw r7, 0x34(r31) -/* 800574E8 00054448 90 FF 00 38 */ stw r7, 0x38(r31) -/* 800574EC 0005444C 80 6D A3 90 */ lwz r3, lbl_805A8F50@sda21(r13) -/* 800574F0 00054450 90 7F 00 3C */ stw r3, 0x3c(r31) -/* 800574F4 00054454 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800574F8 00054458 90 81 00 14 */ stw r4, 0x14(r1) -/* 800574FC 0005445C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80057500 00054460 38 63 00 04 */ addi r3, r3, 4 -/* 80057504 00054464 90 01 00 10 */ stw r0, 0x10(r1) -/* 80057508 00054468 48 2E 47 49 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag -/* 8005750C 0005446C 3C A0 80 3D */ lis r5, lbl_803CCF70@ha -/* 80057510 00054470 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 80057514 00054474 90 7F 00 38 */ stw r3, 0x38(r31) -/* 80057518 00054478 38 A5 CF 70 */ addi r5, r5, lbl_803CCF70@l -/* 8005751C 0005447C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80057520 00054480 38 61 00 08 */ addi r3, r1, 8 -/* 80057524 00054484 38 A5 00 01 */ addi r5, r5, 1 -/* 80057528 00054488 38 80 FF FF */ li r4, -1 -/* 8005752C 0005448C 48 27 EE A9 */ bl __ct__10CCallStackFUiPCcPCc -/* 80057530 00054490 7C 67 1B 78 */ mr r7, r3 -/* 80057534 00054494 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80057538 00054498 38 80 00 02 */ li r4, 2 -/* 8005753C 0005449C 38 A0 00 01 */ li r5, 1 -/* 80057540 000544A0 38 C0 00 00 */ li r6, 0 -/* 80057544 000544A4 48 2B E4 51 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80057548 000544A8 7C 7E 1B 78 */ mr r30, r3 -/* 8005754C 000544AC 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80057550 000544B0 48 2B E3 E1 */ bl Free__7CMemoryFPCv -/* 80057554 000544B4 93 DF 00 34 */ stw r30, 0x34(r31) -/* 80057558 000544B8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8005755C 000544BC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80057560 000544C0 80 BF 00 34 */ lwz r5, 0x34(r31) -/* 80057564 000544C4 38 63 00 04 */ addi r3, r3, 4 -/* 80057568 000544C8 48 2E 46 11 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc -/* 8005756C 000544CC 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 80057570 000544D0 7C 7E 1B 78 */ mr r30, r3 -/* 80057574 000544D4 28 00 00 00 */ cmplwi r0, 0 -/* 80057578 000544D8 41 82 00 1C */ beq lbl_80057594 -/* 8005757C 000544DC 7C 03 03 78 */ mr r3, r0 -/* 80057580 000544E0 38 80 00 01 */ li r4, 1 -/* 80057584 000544E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80057588 000544E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8005758C 000544EC 7D 89 03 A6 */ mtctr r12 -/* 80057590 000544F0 4E 80 04 21 */ bctrl -lbl_80057594: -/* 80057594 000544F4 93 DF 00 30 */ stw r30, 0x30(r31) -/* 80057598 000544F8 7F E3 FB 78 */ mr r3, r31 -/* 8005759C 000544FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800575A0 00054500 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800575A4 00054504 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800575A8 00054508 7C 08 03 A6 */ mtlr r0 -/* 800575AC 0005450C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800575B0 00054510 4E 80 00 20 */ blr - -.global IGetGameAreas__6CWorldCFv -IGetGameAreas__6CWorldCFv: -/* 800575B4 00054514 80 63 00 18 */ lwz r3, 0x18(r3) -/* 800575B8 00054518 4E 80 00 20 */ blr - -.global IGetDefaultAudioTrack__6CWorldCFv -IGetDefaultAudioTrack__6CWorldCFv: -/* 800575BC 0005451C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800575C0 00054520 7C 08 02 A6 */ mflr r0 -/* 800575C4 00054524 38 84 00 84 */ addi r4, r4, 0x84 -/* 800575C8 00054528 90 01 00 14 */ stw r0, 0x14(r1) -/* 800575CC 0005452C 48 2E 6B 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800575D0 00054530 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800575D4 00054534 7C 08 03 A6 */ mtlr r0 -/* 800575D8 00054538 38 21 00 10 */ addi r1, r1, 0x10 -/* 800575DC 0005453C 4E 80 00 20 */ blr - -.global ICheckWorldComplete__6CWorldFv -ICheckWorldComplete__6CWorldFv: -/* 800575E0 00054540 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800575E4 00054544 7C 08 02 A6 */ mflr r0 -/* 800575E8 00054548 38 80 00 00 */ li r4, 0 -/* 800575EC 0005454C 38 C0 FF FF */ li r6, -1 -/* 800575F0 00054550 90 01 00 14 */ stw r0, 0x14(r1) -/* 800575F4 00054554 38 A1 00 08 */ addi r5, r1, 8 -/* 800575F8 00054558 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800575FC 0005455C 90 01 00 08 */ stw r0, 8(r1) -/* 80057600 00054560 48 00 0D 29 */ bl CheckWorldComplete__6CWorldFP13CStateManager7TAreaIdUi -/* 80057604 00054564 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80057608 00054568 7C 08 03 A6 */ mtlr r0 -/* 8005760C 0005456C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80057610 00054570 4E 80 00 20 */ blr - -.global IGetCurrentAreaId__6CWorldCFv -IGetCurrentAreaId__6CWorldCFv: -/* 80057614 00054574 80 04 00 68 */ lwz r0, 0x68(r4) -/* 80057618 00054578 90 03 00 00 */ stw r0, 0(r3) -/* 8005761C 0005457C 4E 80 00 20 */ blr - -.global IGetAreaAlways__6CWorldCF7TAreaId -IGetAreaAlways__6CWorldCF7TAreaId: -/* 80057620 00054580 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80057624 00054584 80 04 00 00 */ lwz r0, 0(r4) -/* 80057628 00054588 80 83 00 20 */ lwz r4, 0x20(r3) -/* 8005762C 0005458C 54 03 18 38 */ slwi r3, r0, 3 -/* 80057630 00054590 90 01 00 08 */ stw r0, 8(r1) -/* 80057634 00054594 38 03 00 04 */ addi r0, r3, 4 -/* 80057638 00054598 7C 64 00 2E */ lwzx r3, r4, r0 -/* 8005763C 0005459C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80057640 000545A0 4E 80 00 20 */ blr - -.global IMapWorld__6CWorldFv -IMapWorld__6CWorldFv: -/* 80057644 000545A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80057648 000545A8 7C 08 02 A6 */ mflr r0 -/* 8005764C 000545AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80057650 000545B0 48 00 00 4D */ bl GetMapWorld__6CWorldCFv -/* 80057654 000545B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80057658 000545B8 7C 08 03 A6 */ mtlr r0 -/* 8005765C 000545BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80057660 000545C0 4E 80 00 20 */ blr - -.global IGetMapWorld__6CWorldCFv -IGetMapWorld__6CWorldCFv: -/* 80057664 000545C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80057668 000545C8 7C 08 02 A6 */ mflr r0 -/* 8005766C 000545CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80057670 000545D0 48 00 00 2D */ bl GetMapWorld__6CWorldCFv -/* 80057674 000545D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80057678 000545D8 7C 08 03 A6 */ mtlr r0 -/* 8005767C 000545DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80057680 000545E0 4E 80 00 20 */ blr - -.global IGetSaveWorldAssetId__6CWorldCFv -IGetSaveWorldAssetId__6CWorldCFv: -/* 80057684 000545E4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80057688 000545E8 4E 80 00 20 */ blr - -.global IGetStringTableAssetId__6CWorldCFv -IGetStringTableAssetId__6CWorldCFv: -/* 8005768C 000545EC 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80057690 000545F0 4E 80 00 20 */ blr - -.global IGetWorldAssetId__6CWorldCFv -IGetWorldAssetId__6CWorldCFv: -/* 80057694 000545F4 80 63 00 08 */ lwz r3, 8(r3) -/* 80057698 000545F8 4E 80 00 20 */ blr - -.global GetMapWorld__6CWorldCFv -GetMapWorld__6CWorldCFv: -/* 8005769C 000545FC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 800576A0 00054600 80 63 00 08 */ lwz r3, 8(r3) -/* 800576A4 00054604 4E 80 00 20 */ blr - -.global UnloadSoundGroups__6CWorldFv -UnloadSoundGroups__6CWorldFv: -/* 800576A8 00054608 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800576AC 0005460C 7C 08 02 A6 */ mflr r0 -/* 800576B0 00054610 90 01 00 14 */ stw r0, 0x14(r1) -/* 800576B4 00054614 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800576B8 00054618 3B E0 00 00 */ li r31, 0 -/* 800576BC 0005461C 93 C1 00 08 */ stw r30, 8(r1) -/* 800576C0 00054620 7C 7E 1B 78 */ mr r30, r3 -/* 800576C4 00054624 48 00 00 0C */ b lbl_800576D0 -lbl_800576C8: -/* 800576C8 00054628 48 2F 42 29 */ bl SysPopGroupFromARAM__9CAudioSysFv -/* 800576CC 0005462C 3B FF 00 01 */ addi r31, r31, 1 -lbl_800576D0: -/* 800576D0 00054630 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 800576D4 00054634 7C 1F 00 40 */ cmplw r31, r0 -/* 800576D8 00054638 41 80 FF F0 */ blt lbl_800576C8 -/* 800576DC 0005463C 83 FE 00 80 */ lwz r31, 0x80(r30) -/* 800576E0 00054640 48 00 00 1C */ b lbl_800576FC -lbl_800576E4: -/* 800576E4 00054644 88 1F 00 08 */ lbz r0, 8(r31) -/* 800576E8 00054648 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800576EC 0005464C 41 82 00 0C */ beq lbl_800576F8 -/* 800576F0 00054650 38 7F 00 0C */ addi r3, r31, 0xc -/* 800576F4 00054654 48 2F 43 75 */ bl "SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_800576F8: -/* 800576F8 00054658 3B FF 00 28 */ addi r31, r31, 0x28 -lbl_800576FC: -/* 800576FC 0005465C 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 80057700 00054660 80 7E 00 80 */ lwz r3, 0x80(r30) -/* 80057704 00054664 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80057708 00054668 7C 03 02 14 */ add r0, r3, r0 -/* 8005770C 0005466C 7C 1F 00 40 */ cmplw r31, r0 -/* 80057710 00054670 40 82 FF D4 */ bne lbl_800576E4 -/* 80057714 00054674 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80057718 00054678 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005771C 0005467C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80057720 00054680 7C 08 03 A6 */ mtlr r0 -/* 80057724 00054684 38 21 00 10 */ addi r1, r1, 0x10 -/* 80057728 00054688 4E 80 00 20 */ blr - -.global LoadSoundGroup__6CWorldFUcUiRQ26CWorld15CSoundGroupData -LoadSoundGroup__6CWorldFUcUiRQ26CWorld15CSoundGroupData: -/* 8005772C 0005468C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80057730 00054690 7C 08 02 A6 */ mflr r0 -/* 80057734 00054694 90 01 00 34 */ stw r0, 0x34(r1) -/* 80057738 00054698 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8005773C 0005469C 7C DF 33 78 */ mr r31, r6 -/* 80057740 000546A0 38 C0 00 01 */ li r6, 1 -/* 80057744 000546A4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80057748 000546A8 7C BE 2B 78 */ mr r30, r5 -/* 8005774C 000546AC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80057750 000546B0 7C 9D 23 78 */ mr r29, r4 -/* 80057754 000546B4 7F C4 F3 78 */ mr r4, r30 -/* 80057758 000546B8 93 81 00 20 */ stw r28, 0x20(r1) -/* 8005775C 000546BC 7C 7C 1B 78 */ mr r28, r3 -/* 80057760 000546C0 88 1F 00 08 */ lbz r0, 8(r31) -/* 80057764 000546C4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80057768 000546C8 98 1F 00 08 */ stb r0, 8(r31) -/* 8005776C 000546CC 80 6D A0 64 */ lwz r3, gpSimplePool@sda21(r13) -/* 80057770 000546D0 48 2F 4B 41 */ bl SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi -/* 80057774 000546D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80057778 000546D8 40 82 00 70 */ bne lbl_800577E8 -/* 8005777C 000546DC 7F C3 F3 78 */ mr r3, r30 -/* 80057780 000546E0 48 2F 40 C5 */ bl SysGetGroupSetName__9CAudioSysFUi -/* 80057784 000546E4 7C 64 1B 78 */ mr r4, r3 -/* 80057788 000546E8 38 61 00 08 */ addi r3, r1, 8 -/* 8005778C 000546EC 48 2E 69 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80057790 000546F0 7F A4 EB 78 */ mr r4, r29 -/* 80057794 000546F4 38 61 00 08 */ addi r3, r1, 8 -/* 80057798 000546F8 48 2F 41 79 */ bl "SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Uc" -/* 8005779C 000546FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800577A0 00054700 41 82 00 38 */ beq lbl_800577D8 -/* 800577A4 00054704 88 1F 00 08 */ lbz r0, 8(r31) -/* 800577A8 00054708 38 60 00 01 */ li r3, 1 -/* 800577AC 0005470C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800577B0 00054710 38 7F 00 0C */ addi r3, r31, 0xc -/* 800577B4 00054714 98 1F 00 08 */ stb r0, 8(r31) -/* 800577B8 00054718 38 81 00 08 */ addi r4, r1, 8 -/* 800577BC 0005471C 48 2E 65 A1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800577C0 00054720 80 9C 00 6C */ lwz r4, 0x6c(r28) -/* 800577C4 00054724 38 61 00 08 */ addi r3, r1, 8 -/* 800577C8 00054728 38 04 00 01 */ addi r0, r4, 1 -/* 800577CC 0005472C 90 1C 00 6C */ stw r0, 0x6c(r28) -/* 800577D0 00054730 48 2F 48 15 */ bl "SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800577D4 00054734 48 00 00 0C */ b lbl_800577E0 -lbl_800577D8: -/* 800577D8 00054738 38 61 00 08 */ addi r3, r1, 8 -/* 800577DC 0005473C 48 2F 42 8D */ bl "SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_800577E0: -/* 800577E0 00054740 38 61 00 08 */ addi r3, r1, 8 -/* 800577E4 00054744 48 2E 62 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800577E8: -/* 800577E8 00054748 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800577EC 0005474C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800577F0 00054750 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800577F4 00054754 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800577F8 00054758 83 81 00 20 */ lwz r28, 0x20(r1) -/* 800577FC 0005475C 7C 08 03 A6 */ mtlr r0 -/* 80057800 00054760 38 21 00 30 */ addi r1, r1, 0x30 -/* 80057804 00054764 4E 80 00 20 */ blr - -.global LoadSoundGroups__6CWorldFv -LoadSoundGroups__6CWorldFv: -/* 80057808 00054768 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8005780C 0005476C 7C 08 02 A6 */ mflr r0 -/* 80057810 00054770 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80057814 00054774 BF 21 00 94 */ stmw r25, 0x94(r1) -/* 80057818 00054778 7C 7B 1B 78 */ mr r27, r3 -/* 8005781C 0005477C 81 83 00 00 */ lwz r12, 0(r3) -/* 80057820 00054780 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80057824 00054784 7D 89 03 A6 */ mtctr r12 -/* 80057828 00054788 4E 80 04 21 */ bctrl -/* 8005782C 0005478C 80 8D A0 88 */ lwz r4, gpTweakManager@sda21(r13) -/* 80057830 00054790 7C 65 1B 78 */ mr r5, r3 -/* 80057834 00054794 38 61 00 40 */ addi r3, r1, 0x40 -/* 80057838 00054798 48 1C 49 2D */ bl sub_8021c164 -/* 8005783C 0005479C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80057840 000547A0 80 61 00 48 */ lwz r3, 0x48(r1) -/* 80057844 000547A4 2C 00 00 00 */ cmpwi r0, 0 -/* 80057848 000547A8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8005784C 000547AC 90 61 00 58 */ stw r3, 0x58(r1) -/* 80057850 000547B0 40 82 00 18 */ bne lbl_80057868 -/* 80057854 000547B4 2C 03 00 00 */ cmpwi r3, 0 -/* 80057858 000547B8 40 82 00 10 */ bne lbl_80057868 -/* 8005785C 000547BC 38 00 00 00 */ li r0, 0 -/* 80057860 000547C0 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80057864 000547C4 48 00 00 68 */ b lbl_800578CC -lbl_80057868: -/* 80057868 000547C8 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8005786C 000547CC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 80057870 000547D0 40 82 00 10 */ bne lbl_80057880 -/* 80057874 000547D4 38 00 00 00 */ li r0, 0 -/* 80057878 000547D8 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8005787C 000547DC 48 00 00 1C */ b lbl_80057898 -lbl_80057880: -/* 80057880 000547E0 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80057884 000547E4 38 A0 00 00 */ li r5, 0 -/* 80057888 000547E8 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 8005788C 000547EC 38 84 00 01 */ addi r4, r4, 1 -/* 80057890 000547F0 48 2B DF 89 */ bl __nwa__FUlPCcPCc -/* 80057894 000547F4 90 61 00 5C */ stw r3, 0x5c(r1) -lbl_80057898: -/* 80057898 000547F8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8005789C 000547FC 80 81 00 4C */ lwz r4, 0x4c(r1) -/* 800578A0 00054800 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 800578A4 00054804 7C 09 03 A6 */ mtctr r0 -/* 800578A8 00054808 2C 00 00 00 */ cmpwi r0, 0 -/* 800578AC 0005480C 40 81 00 20 */ ble lbl_800578CC -lbl_800578B0: -/* 800578B0 00054810 28 03 00 00 */ cmplwi r3, 0 -/* 800578B4 00054814 41 82 00 0C */ beq lbl_800578C0 -/* 800578B8 00054818 80 04 00 00 */ lwz r0, 0(r4) -/* 800578BC 0005481C 90 03 00 00 */ stw r0, 0(r3) -lbl_800578C0: -/* 800578C0 00054820 38 63 00 04 */ addi r3, r3, 4 -/* 800578C4 00054824 38 84 00 04 */ addi r4, r4, 4 -/* 800578C8 00054828 42 00 FF E8 */ bdnz lbl_800578B0 -lbl_800578CC: -/* 800578CC 0005482C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800578D0 00054830 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 800578D4 00054834 54 00 10 3A */ slwi r0, r0, 2 -/* 800578D8 00054838 7C 03 02 14 */ add r0, r3, r0 -/* 800578DC 0005483C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800578E0 00054840 7C 64 1B 78 */ mr r4, r3 -/* 800578E4 00054844 90 01 00 24 */ stw r0, 0x24(r1) -/* 800578E8 00054848 90 01 00 20 */ stw r0, 0x20(r1) -/* 800578EC 0005484C 90 61 00 18 */ stw r3, 0x18(r1) -/* 800578F0 00054850 48 00 00 08 */ b lbl_800578F8 -lbl_800578F4: -/* 800578F4 00054854 38 84 00 04 */ addi r4, r4, 4 -lbl_800578F8: -/* 800578F8 00054858 7C 04 00 40 */ cmplw r4, r0 -/* 800578FC 0005485C 40 82 FF F8 */ bne lbl_800578F4 -/* 80057900 00054860 28 03 00 00 */ cmplwi r3, 0 -/* 80057904 00054864 41 82 00 08 */ beq lbl_8005790C -/* 80057908 00054868 48 2B E0 29 */ bl Free__7CMemoryFPCv -lbl_8005790C: -/* 8005790C 0005486C 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80057910 00054870 2C 04 00 00 */ cmpwi r4, 0 -/* 80057914 00054874 40 81 01 84 */ ble lbl_80057A98 -/* 80057918 00054878 80 1B 00 78 */ lwz r0, 0x78(r27) -/* 8005791C 0005487C 38 7B 00 74 */ addi r3, r27, 0x74 -/* 80057920 00054880 7C 80 22 14 */ add r4, r0, r4 -/* 80057924 00054884 48 00 1D E5 */ bl "reserve__Q24rstl61vectorFi" -/* 80057928 00054888 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8005792C 0005488C 3C 60 43 53 */ lis r3, 0x43534E47@ha -/* 80057930 00054890 83 C1 00 5C */ lwz r30, 0x5c(r1) -/* 80057934 00054894 3B A1 00 6C */ addi r29, r1, 0x6c -/* 80057938 00054898 54 00 10 3A */ slwi r0, r0, 2 -/* 8005793C 0005489C 3B 81 00 7C */ addi r28, r1, 0x7c -/* 80057940 000548A0 3B E3 4E 47 */ addi r31, r3, 0x43534E47@l -/* 80057944 000548A4 7F 5E 02 14 */ add r26, r30, r0 -/* 80057948 000548A8 48 00 01 48 */ b lbl_80057A90 -lbl_8005794C: -/* 8005794C 000548AC 80 1E 00 00 */ lwz r0, 0(r30) -/* 80057950 000548B0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80057954 000548B4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80057958 000548B8 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8005795C 000548BC 93 E1 00 30 */ stw r31, 0x30(r1) -/* 80057960 000548C0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80057964 000548C4 81 84 00 00 */ lwz r12, 0(r4) -/* 80057968 000548C8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8005796C 000548CC 7D 89 03 A6 */ mtctr r12 -/* 80057970 000548D0 4E 80 04 21 */ bctrl -/* 80057974 000548D4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80057978 000548D8 38 81 00 28 */ addi r4, r1, 0x28 -/* 8005797C 000548DC 48 2E 95 2D */ bl __ct__6CTokenFRC6CToken -/* 80057980 000548E0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80057984 000548E4 38 80 FF FF */ li r4, -1 -/* 80057988 000548E8 48 2E 94 B9 */ bl __dt__6CTokenFv -/* 8005798C 000548EC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80057990 000548F0 48 2E 94 7D */ bl GetObj__6CTokenFv -/* 80057994 000548F4 80 83 00 04 */ lwz r4, 4(r3) -/* 80057998 000548F8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8005799C 000548FC 83 24 00 04 */ lwz r25, 4(r4) -/* 800579A0 00054900 48 2E 94 6D */ bl GetObj__6CTokenFv -/* 800579A4 00054904 80 83 00 04 */ lwz r4, 4(r3) -/* 800579A8 00054908 7F 25 CB 78 */ mr r5, r25 -/* 800579AC 0005490C 38 61 00 60 */ addi r3, r1, 0x60 -/* 800579B0 00054910 A8 84 00 02 */ lha r4, 2(r4) -/* 800579B4 00054914 48 00 16 C9 */ bl __ct__Q26CWorld15CSoundGroupDataFiUi -/* 800579B8 00054918 80 1B 00 78 */ lwz r0, 0x78(r27) -/* 800579BC 0005491C 80 BB 00 7C */ lwz r5, 0x7c(r27) -/* 800579C0 00054920 7C 00 28 00 */ cmpw r0, r5 -/* 800579C4 00054924 41 80 00 1C */ blt lbl_800579E0 -/* 800579C8 00054928 2C 05 00 00 */ cmpwi r5, 0 -/* 800579CC 0005492C 38 7B 00 74 */ addi r3, r27, 0x74 -/* 800579D0 00054930 38 80 00 04 */ li r4, 4 -/* 800579D4 00054934 41 82 00 08 */ beq lbl_800579DC -/* 800579D8 00054938 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800579DC: -/* 800579DC 0005493C 48 00 1D 2D */ bl "reserve__Q24rstl61vectorFi" -lbl_800579E0: -/* 800579E0 00054940 80 1B 00 78 */ lwz r0, 0x78(r27) -/* 800579E4 00054944 80 7B 00 80 */ lwz r3, 0x80(r27) -/* 800579E8 00054948 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 800579EC 0005494C 7F 23 02 15 */ add. r25, r3, r0 -/* 800579F0 00054950 41 82 00 4C */ beq lbl_80057A3C -/* 800579F4 00054954 80 01 00 60 */ lwz r0, 0x60(r1) -/* 800579F8 00054958 7F A4 EB 78 */ mr r4, r29 -/* 800579FC 0005495C 38 79 00 0C */ addi r3, r25, 0xc -/* 80057A00 00054960 90 19 00 00 */ stw r0, 0(r25) -/* 80057A04 00054964 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80057A08 00054968 90 19 00 04 */ stw r0, 4(r25) -/* 80057A0C 0005496C 88 01 00 68 */ lbz r0, 0x68(r1) -/* 80057A10 00054970 98 19 00 08 */ stb r0, 8(r25) -/* 80057A14 00054974 48 2E 67 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80057A18 00054978 88 01 00 84 */ lbz r0, 0x84(r1) -/* 80057A1C 0005497C 98 19 00 24 */ stb r0, 0x24(r25) -/* 80057A20 00054980 88 01 00 84 */ lbz r0, 0x84(r1) -/* 80057A24 00054984 28 00 00 00 */ cmplwi r0, 0 -/* 80057A28 00054988 41 82 00 14 */ beq lbl_80057A3C -/* 80057A2C 0005498C 34 79 00 1C */ addic. r3, r25, 0x1c -/* 80057A30 00054990 41 82 00 0C */ beq lbl_80057A3C -/* 80057A34 00054994 7F 84 E3 78 */ mr r4, r28 -/* 80057A38 00054998 48 2E 94 71 */ bl __ct__6CTokenFRC6CToken -lbl_80057A3C: -/* 80057A3C 0005499C 80 7B 00 78 */ lwz r3, 0x78(r27) -/* 80057A40 000549A0 28 1C 00 00 */ cmplwi r28, 0 -/* 80057A44 000549A4 38 03 00 01 */ addi r0, r3, 1 -/* 80057A48 000549A8 90 1B 00 78 */ stw r0, 0x78(r27) -/* 80057A4C 000549AC 41 82 00 24 */ beq lbl_80057A70 -/* 80057A50 000549B0 88 01 00 84 */ lbz r0, 0x84(r1) -/* 80057A54 000549B4 28 00 00 00 */ cmplwi r0, 0 -/* 80057A58 000549B8 41 82 00 10 */ beq lbl_80057A68 -/* 80057A5C 000549BC 7F 83 E3 78 */ mr r3, r28 -/* 80057A60 000549C0 38 80 FF FF */ li r4, -1 -/* 80057A64 000549C4 48 2E 93 DD */ bl __dt__6CTokenFv -lbl_80057A68: -/* 80057A68 000549C8 38 00 00 00 */ li r0, 0 -/* 80057A6C 000549CC 98 01 00 84 */ stb r0, 0x84(r1) -lbl_80057A70: -/* 80057A70 000549D0 28 1D 00 00 */ cmplwi r29, 0 -/* 80057A74 000549D4 41 82 00 0C */ beq lbl_80057A80 -/* 80057A78 000549D8 7F A3 EB 78 */ mr r3, r29 -/* 80057A7C 000549DC 48 2E 60 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80057A80: -/* 80057A80 000549E0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80057A84 000549E4 38 80 00 00 */ li r4, 0 -/* 80057A88 000549E8 48 2E 93 B9 */ bl __dt__6CTokenFv -/* 80057A8C 000549EC 3B DE 00 04 */ addi r30, r30, 4 -lbl_80057A90: -/* 80057A90 000549F0 7C 1E D0 40 */ cmplw r30, r26 -/* 80057A94 000549F4 40 82 FE B8 */ bne lbl_8005794C -lbl_80057A98: -/* 80057A98 000549F8 83 3B 00 80 */ lwz r25, 0x80(r27) -/* 80057A9C 000549FC 48 00 00 2C */ b lbl_80057AC8 -lbl_80057AA0: -/* 80057AA0 00054A00 88 19 00 08 */ lbz r0, 8(r25) -/* 80057AA4 00054A04 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80057AA8 00054A08 40 82 00 1C */ bne lbl_80057AC4 -/* 80057AAC 00054A0C 80 19 00 00 */ lwz r0, 0(r25) -/* 80057AB0 00054A10 7F 63 DB 78 */ mr r3, r27 -/* 80057AB4 00054A14 80 B9 00 04 */ lwz r5, 4(r25) -/* 80057AB8 00054A18 7F 26 CB 78 */ mr r6, r25 -/* 80057ABC 00054A1C 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 80057AC0 00054A20 4B FF FC 6D */ bl LoadSoundGroup__6CWorldFUcUiRQ26CWorld15CSoundGroupData -lbl_80057AC4: -/* 80057AC4 00054A24 3B 39 00 28 */ addi r25, r25, 0x28 -lbl_80057AC8: -/* 80057AC8 00054A28 80 1B 00 78 */ lwz r0, 0x78(r27) -/* 80057ACC 00054A2C 80 7B 00 80 */ lwz r3, 0x80(r27) -/* 80057AD0 00054A30 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80057AD4 00054A34 7C 03 02 14 */ add r0, r3, r0 -/* 80057AD8 00054A38 7C 19 00 40 */ cmplw r25, r0 -/* 80057ADC 00054A3C 40 82 FF C4 */ bne lbl_80057AA0 -/* 80057AE0 00054A40 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80057AE4 00054A44 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 80057AE8 00054A48 54 00 10 3A */ slwi r0, r0, 2 -/* 80057AEC 00054A4C 7C 03 02 14 */ add r0, r3, r0 -/* 80057AF0 00054A50 90 61 00 0C */ stw r3, 0xc(r1) -/* 80057AF4 00054A54 7C 64 1B 78 */ mr r4, r3 -/* 80057AF8 00054A58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80057AFC 00054A5C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80057B00 00054A60 90 61 00 08 */ stw r3, 8(r1) -/* 80057B04 00054A64 48 00 00 08 */ b lbl_80057B0C -lbl_80057B08: -/* 80057B08 00054A68 38 84 00 04 */ addi r4, r4, 4 -lbl_80057B0C: -/* 80057B0C 00054A6C 7C 04 00 40 */ cmplw r4, r0 -/* 80057B10 00054A70 40 82 FF F8 */ bne lbl_80057B08 -/* 80057B14 00054A74 28 03 00 00 */ cmplwi r3, 0 -/* 80057B18 00054A78 41 82 00 08 */ beq lbl_80057B20 -/* 80057B1C 00054A7C 48 2B DE 15 */ bl Free__7CMemoryFPCv -lbl_80057B20: -/* 80057B20 00054A80 BB 21 00 94 */ lmw r25, 0x94(r1) -/* 80057B24 00054A84 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80057B28 00054A88 7C 08 03 A6 */ mtlr r0 -/* 80057B2C 00054A8C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80057B30 00054A90 4E 80 00 20 */ blr - -.global MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain: -/* 80057B34 00054A94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80057B38 00054A98 7C 08 02 A6 */ mflr r0 -/* 80057B3C 00054A9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80057B40 00054AA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80057B44 00054AA4 93 C1 00 08 */ stw r30, 8(r1) -/* 80057B48 00054AA8 7C 9E 23 78 */ mr r30, r4 -/* 80057B4C 00054AAC 80 04 01 38 */ lwz r0, 0x138(r4) -/* 80057B50 00054AB0 7C 05 00 00 */ cmpw r5, r0 -/* 80057B54 00054AB4 41 82 00 40 */ beq lbl_80057B94 -/* 80057B58 00054AB8 2C 00 FF FF */ cmpwi r0, -1 -/* 80057B5C 00054ABC 41 82 00 20 */ beq lbl_80057B7C -/* 80057B60 00054AC0 54 00 10 3A */ slwi r0, r0, 2 -/* 80057B64 00054AC4 7C 83 02 14 */ add r4, r3, r0 -/* 80057B68 00054AC8 80 04 00 4C */ lwz r0, 0x4c(r4) -/* 80057B6C 00054ACC 7C 00 F0 40 */ cmplw r0, r30 -/* 80057B70 00054AD0 40 82 00 0C */ bne lbl_80057B7C -/* 80057B74 00054AD4 80 1E 01 30 */ lwz r0, 0x130(r30) -/* 80057B78 00054AD8 90 04 00 4C */ stw r0, 0x4c(r4) -lbl_80057B7C: -/* 80057B7C 00054ADC 54 A0 10 3A */ slwi r0, r5, 2 -/* 80057B80 00054AE0 7F E3 02 14 */ add r31, r3, r0 -/* 80057B84 00054AE4 7F C3 F3 78 */ mr r3, r30 -/* 80057B88 00054AE8 80 9F 00 4C */ lwz r4, 0x4c(r31) -/* 80057B8C 00054AEC 48 00 80 05 */ bl SetChain__9CGameAreaFP9CGameAreai -/* 80057B90 00054AF0 93 DF 00 4C */ stw r30, 0x4c(r31) -lbl_80057B94: -/* 80057B94 00054AF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80057B98 00054AF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80057B9C 00054AFC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80057BA0 00054B00 7C 08 03 A6 */ mtlr r0 -/* 80057BA4 00054B04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80057BA8 00054B08 4E 80 00 20 */ blr - -.global TravelToArea__6CWorldFRC7TAreaIdR13CStateManagerb -TravelToArea__6CWorldFRC7TAreaIdR13CStateManagerb: -/* 80057BAC 00054B0C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80057BB0 00054B10 7C 08 02 A6 */ mflr r0 -/* 80057BB4 00054B14 90 01 00 44 */ stw r0, 0x44(r1) -/* 80057BB8 00054B18 BE 81 00 10 */ stmw r20, 0x10(r1) -/* 80057BBC 00054B1C 7C 75 1B 78 */ mr r21, r3 -/* 80057BC0 00054B20 7C 96 23 78 */ mr r22, r4 -/* 80057BC4 00054B24 7C B7 2B 78 */ mr r23, r5 -/* 80057BC8 00054B28 7C D8 33 78 */ mr r24, r6 -/* 80057BCC 00054B2C 80 64 00 00 */ lwz r3, 0(r4) -/* 80057BD0 00054B30 2C 03 00 00 */ cmpwi r3, 0 -/* 80057BD4 00054B34 41 80 02 68 */ blt lbl_80057E3C -/* 80057BD8 00054B38 80 15 00 18 */ lwz r0, 0x18(r21) -/* 80057BDC 00054B3C 7C 03 00 00 */ cmpw r3, r0 -/* 80057BE0 00054B40 41 80 00 08 */ blt lbl_80057BE8 -/* 80057BE4 00054B44 48 00 02 58 */ b lbl_80057E3C -lbl_80057BE8: -/* 80057BE8 00054B48 88 15 00 70 */ lbz r0, 0x70(r21) -/* 80057BEC 00054B4C 38 60 00 00 */ li r3, 0 -/* 80057BF0 00054B50 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80057BF4 00054B54 98 15 00 70 */ stb r0, 0x70(r21) -/* 80057BF8 00054B58 80 16 00 00 */ lwz r0, 0(r22) -/* 80057BFC 00054B5C 90 15 00 68 */ stw r0, 0x68(r21) -/* 80057C00 00054B60 82 95 00 4C */ lwz r20, 0x4c(r21) -/* 80057C04 00054B64 48 00 00 30 */ b lbl_80057C34 -lbl_80057C08: -/* 80057C08 00054B68 7E 83 A3 78 */ mr r3, r20 -/* 80057C0C 00054B6C 7E E4 BB 78 */ mr r4, r23 -/* 80057C10 00054B70 48 00 8D A9 */ bl Invalidate__9CGameAreaFP13CStateManager -/* 80057C14 00054B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80057C18 00054B78 41 82 00 18 */ beq lbl_80057C30 -/* 80057C1C 00054B7C 7E A3 AB 78 */ mr r3, r21 -/* 80057C20 00054B80 7E 84 A3 78 */ mr r4, r20 -/* 80057C24 00054B84 38 A0 00 01 */ li r5, 1 -/* 80057C28 00054B88 4B FF FF 0D */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -/* 80057C2C 00054B8C 48 00 00 10 */ b lbl_80057C3C -lbl_80057C30: -/* 80057C30 00054B90 82 94 01 30 */ lwz r20, 0x130(r20) -lbl_80057C34: -/* 80057C34 00054B94 28 14 00 00 */ cmplwi r20, 0 -/* 80057C38 00054B98 40 82 FF D0 */ bne lbl_80057C08 -lbl_80057C3C: -/* 80057C3C 00054B9C 82 95 00 58 */ lwz r20, 0x58(r21) -/* 80057C40 00054BA0 48 00 00 18 */ b lbl_80057C58 -lbl_80057C44: -/* 80057C44 00054BA4 7E 84 A3 78 */ mr r4, r20 -/* 80057C48 00054BA8 82 94 01 30 */ lwz r20, 0x130(r20) -/* 80057C4C 00054BAC 7E A3 AB 78 */ mr r3, r21 -/* 80057C50 00054BB0 38 A0 00 04 */ li r5, 4 -/* 80057C54 00054BB4 4B FF FE E1 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -lbl_80057C58: -/* 80057C58 00054BB8 28 14 00 00 */ cmplwi r20, 0 -/* 80057C5C 00054BBC 40 82 FF E8 */ bne lbl_80057C44 -/* 80057C60 00054BC0 82 95 00 54 */ lwz r20, 0x54(r21) -/* 80057C64 00054BC4 48 00 00 18 */ b lbl_80057C7C -lbl_80057C68: -/* 80057C68 00054BC8 7E 84 A3 78 */ mr r4, r20 -/* 80057C6C 00054BCC 82 94 01 30 */ lwz r20, 0x130(r20) -/* 80057C70 00054BD0 7E A3 AB 78 */ mr r3, r21 -/* 80057C74 00054BD4 38 A0 00 00 */ li r5, 0 -/* 80057C78 00054BD8 4B FF FE BD */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -lbl_80057C7C: -/* 80057C7C 00054BDC 28 14 00 00 */ cmplwi r20, 0 -/* 80057C80 00054BE0 40 82 FF E8 */ bne lbl_80057C68 -/* 80057C84 00054BE4 80 16 00 00 */ lwz r0, 0(r22) -/* 80057C88 00054BE8 80 95 00 20 */ lwz r4, 0x20(r21) -/* 80057C8C 00054BEC 54 03 18 38 */ slwi r3, r0, 3 -/* 80057C90 00054BF0 38 03 00 04 */ addi r0, r3, 4 -/* 80057C94 00054BF4 7F 84 00 2E */ lwzx r28, r4, r0 -/* 80057C98 00054BF8 80 1C 01 38 */ lwz r0, 0x138(r28) -/* 80057C9C 00054BFC 2C 00 00 04 */ cmpwi r0, 4 -/* 80057CA0 00054C00 41 82 00 14 */ beq lbl_80057CB4 -/* 80057CA4 00054C04 88 15 00 70 */ lbz r0, 0x70(r21) -/* 80057CA8 00054C08 38 60 00 01 */ li r3, 1 -/* 80057CAC 00054C0C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80057CB0 00054C10 98 15 00 70 */ stb r0, 0x70(r21) -lbl_80057CB4: -/* 80057CB4 00054C14 7F 83 E3 78 */ mr r3, r28 -/* 80057CB8 00054C18 7E E4 BB 78 */ mr r4, r23 -/* 80057CBC 00054C1C 48 00 93 E9 */ bl Validate__9CGameAreaFR13CStateManager -/* 80057CC0 00054C20 7E A3 AB 78 */ mr r3, r21 -/* 80057CC4 00054C24 7F 84 E3 78 */ mr r4, r28 -/* 80057CC8 00054C28 38 A0 00 03 */ li r5, 3 -/* 80057CCC 00054C2C 4B FF FE 69 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -/* 80057CD0 00054C30 7F 83 E3 78 */ mr r3, r28 -/* 80057CD4 00054C34 38 80 00 01 */ li r4, 1 -/* 80057CD8 00054C38 48 00 7A 51 */ bl SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState -/* 80057CDC 00054C3C 2C 18 00 00 */ cmpwi r24, 0 -/* 80057CE0 00054C40 3B 60 00 00 */ li r27, 0 -/* 80057CE4 00054C44 3B 40 00 00 */ li r26, 0 -/* 80057CE8 00054C48 40 82 00 C8 */ bne lbl_80057DB0 -/* 80057CEC 00054C4C 3B 20 00 00 */ li r25, 0 -/* 80057CF0 00054C50 3B A0 00 00 */ li r29, 0 -/* 80057CF4 00054C54 48 00 00 B0 */ b lbl_80057DA4 -lbl_80057CF8: -/* 80057CF8 00054C58 80 1C 00 D8 */ lwz r0, 0xd8(r28) -/* 80057CFC 00054C5C 3B 00 00 00 */ li r24, 0 -/* 80057D00 00054C60 7F E0 EA 14 */ add r31, r0, r29 -/* 80057D04 00054C64 83 DF 00 08 */ lwz r30, 8(r31) -/* 80057D08 00054C68 48 00 00 8C */ b lbl_80057D94 -lbl_80057D0C: -/* 80057D0C 00054C6C 7F E3 FB 78 */ mr r3, r31 -/* 80057D10 00054C70 7F 04 C3 78 */ mr r4, r24 -/* 80057D14 00054C74 48 00 75 A9 */ bl ShouldLoadOtherArea__Q29IGameArea4DockCFi -/* 80057D18 00054C78 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80057D1C 00054C7C 41 82 00 74 */ beq lbl_80057D90 -/* 80057D20 00054C80 7F E4 FB 78 */ mr r4, r31 -/* 80057D24 00054C84 7F 05 C3 78 */ mr r5, r24 -/* 80057D28 00054C88 38 61 00 08 */ addi r3, r1, 8 -/* 80057D2C 00054C8C 48 00 75 F9 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi -/* 80057D30 00054C90 80 01 00 08 */ lwz r0, 8(r1) -/* 80057D34 00054C94 80 95 00 20 */ lwz r4, 0x20(r21) -/* 80057D38 00054C98 54 03 18 38 */ slwi r3, r0, 3 -/* 80057D3C 00054C9C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80057D40 00054CA0 38 03 00 04 */ addi r0, r3, 4 -/* 80057D44 00054CA4 7E 84 00 2E */ lwzx r20, r4, r0 -/* 80057D48 00054CA8 88 14 00 F0 */ lbz r0, 0xf0(r20) -/* 80057D4C 00054CAC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80057D50 00054CB0 41 82 00 40 */ beq lbl_80057D90 -/* 80057D54 00054CB4 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80057D58 00054CB8 40 82 00 28 */ bne lbl_80057D80 -/* 80057D5C 00054CBC 7E A3 AB 78 */ mr r3, r21 -/* 80057D60 00054CC0 7E 84 A3 78 */ mr r4, r20 -/* 80057D64 00054CC4 7E E5 BB 78 */ mr r5, r23 -/* 80057D68 00054CC8 48 00 00 E9 */ bl ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager -/* 80057D6C 00054CCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80057D70 00054CD0 7C 7B 1B 78 */ mr r27, r3 -/* 80057D74 00054CD4 41 82 00 1C */ beq lbl_80057D90 -/* 80057D78 00054CD8 7E 9A A3 78 */ mr r26, r20 -/* 80057D7C 00054CDC 48 00 00 14 */ b lbl_80057D90 -lbl_80057D80: -/* 80057D80 00054CE0 7E A3 AB 78 */ mr r3, r21 -/* 80057D84 00054CE4 7E 84 A3 78 */ mr r4, r20 -/* 80057D88 00054CE8 7E E5 BB 78 */ mr r5, r23 -/* 80057D8C 00054CEC 48 00 00 C5 */ bl ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager -lbl_80057D90: -/* 80057D90 00054CF0 3B 18 00 01 */ addi r24, r24, 1 -lbl_80057D94: -/* 80057D94 00054CF4 7C 18 F0 00 */ cmpw r24, r30 -/* 80057D98 00054CF8 41 80 FF 74 */ blt lbl_80057D0C -/* 80057D9C 00054CFC 3B BD 00 4C */ addi r29, r29, 0x4c -/* 80057DA0 00054D00 3B 39 00 01 */ addi r25, r25, 1 -lbl_80057DA4: -/* 80057DA4 00054D04 80 1C 00 D0 */ lwz r0, 0xd0(r28) -/* 80057DA8 00054D08 7C 19 00 00 */ cmpw r25, r0 -/* 80057DAC 00054D0C 41 80 FF 4C */ blt lbl_80057CF8 -lbl_80057DB0: -/* 80057DB0 00054D10 82 95 00 5C */ lwz r20, 0x5c(r21) -/* 80057DB4 00054D14 3B 00 00 00 */ li r24, 0 -/* 80057DB8 00054D18 48 00 00 18 */ b lbl_80057DD0 -lbl_80057DBC: -/* 80057DBC 00054D1C 7E 84 A3 78 */ mr r4, r20 -/* 80057DC0 00054D20 82 94 01 30 */ lwz r20, 0x130(r20) -/* 80057DC4 00054D24 7E A3 AB 78 */ mr r3, r21 -/* 80057DC8 00054D28 38 A0 00 00 */ li r5, 0 -/* 80057DCC 00054D2C 4B FF FD 69 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -lbl_80057DD0: -/* 80057DD0 00054D30 28 14 00 00 */ cmplwi r20, 0 -/* 80057DD4 00054D34 40 82 FF E8 */ bne lbl_80057DBC -/* 80057DD8 00054D38 82 95 00 4C */ lwz r20, 0x4c(r21) -/* 80057DDC 00054D3C 48 00 00 14 */ b lbl_80057DF0 -lbl_80057DE0: -/* 80057DE0 00054D40 7E 83 A3 78 */ mr r3, r20 -/* 80057DE4 00054D44 48 00 79 C9 */ bl RemoveStaticGeometry__9CGameAreaFv -/* 80057DE8 00054D48 82 94 01 30 */ lwz r20, 0x130(r20) -/* 80057DEC 00054D4C 3B 18 00 01 */ addi r24, r24, 1 -lbl_80057DF0: -/* 80057DF0 00054D50 28 14 00 00 */ cmplwi r20, 0 -/* 80057DF4 00054D54 40 82 FF EC */ bne lbl_80057DE0 -/* 80057DF8 00054D58 2C 18 00 00 */ cmpwi r24, 0 -/* 80057DFC 00054D5C 40 82 00 24 */ bne lbl_80057E20 -/* 80057E00 00054D60 28 1A 00 00 */ cmplwi r26, 0 -/* 80057E04 00054D64 41 82 00 1C */ beq lbl_80057E20 -/* 80057E08 00054D68 88 15 00 70 */ lbz r0, 0x70(r21) -/* 80057E0C 00054D6C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80057E10 00054D70 40 82 00 10 */ bne lbl_80057E20 -/* 80057E14 00054D74 7F 43 D3 78 */ mr r3, r26 -/* 80057E18 00054D78 7E E4 BB 78 */ mr r4, r23 -/* 80057E1C 00054D7C 48 00 8F C9 */ bl StartStreamIn__9CGameAreaFR13CStateManager -lbl_80057E20: -/* 80057E20 00054D80 82 96 00 00 */ lwz r20, 0(r22) -/* 80057E24 00054D84 7E A3 AB 78 */ mr r3, r21 -/* 80057E28 00054D88 4B FF F8 75 */ bl GetMapWorld__6CWorldCFv -/* 80057E2C 00054D8C 7E A4 AB 78 */ mr r4, r21 -/* 80057E30 00054D90 7E 85 A3 78 */ mr r5, r20 -/* 80057E34 00054D94 38 C0 00 03 */ li r6, 3 -/* 80057E38 00054D98 48 04 93 D1 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii -lbl_80057E3C: -/* 80057E3C 00054D9C BA 81 00 10 */ lmw r20, 0x10(r1) -/* 80057E40 00054DA0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80057E44 00054DA4 7C 08 03 A6 */ mtlr r0 -/* 80057E48 00054DA8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80057E4C 00054DAC 4E 80 00 20 */ blr - -.global ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager -ScheduleAreaToLoad__6CWorldFP9CGameAreaR13CStateManager: -/* 80057E50 00054DB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80057E54 00054DB4 7C 08 02 A6 */ mflr r0 -/* 80057E58 00054DB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80057E5C 00054DBC 88 04 00 F0 */ lbz r0, 0xf0(r4) -/* 80057E60 00054DC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80057E64 00054DC4 40 82 00 14 */ bne lbl_80057E78 -/* 80057E68 00054DC8 38 A0 00 02 */ li r5, 2 -/* 80057E6C 00054DCC 4B FF FC C9 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -/* 80057E70 00054DD0 38 60 00 01 */ li r3, 1 -/* 80057E74 00054DD4 48 00 00 34 */ b lbl_80057EA8 -lbl_80057E78: -/* 80057E78 00054DD8 80 04 01 38 */ lwz r0, 0x138(r4) -/* 80057E7C 00054DDC 2C 00 00 03 */ cmpwi r0, 3 -/* 80057E80 00054DE0 41 82 00 24 */ beq lbl_80057EA4 -/* 80057E84 00054DE4 2C 00 00 04 */ cmpwi r0, 4 -/* 80057E88 00054DE8 41 82 00 14 */ beq lbl_80057E9C -/* 80057E8C 00054DEC 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80057E90 00054DF0 38 A0 00 01 */ li r5, 1 -/* 80057E94 00054DF4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80057E98 00054DF8 98 03 00 70 */ stb r0, 0x70(r3) -lbl_80057E9C: -/* 80057E9C 00054DFC 38 A0 00 03 */ li r5, 3 -/* 80057EA0 00054E00 4B FF FC 95 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -lbl_80057EA4: -/* 80057EA4 00054E04 38 60 00 00 */ li r3, 0 -lbl_80057EA8: -/* 80057EA8 00054E08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80057EAC 00054E0C 7C 08 03 A6 */ mtlr r0 -/* 80057EB0 00054E10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80057EB4 00054E14 4E 80 00 20 */ blr - -.global __dt__6CWorldFv -__dt__6CWorldFv: -/* 80057EB8 00054E18 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80057EBC 00054E1C 7C 08 02 A6 */ mflr r0 -/* 80057EC0 00054E20 90 01 00 34 */ stw r0, 0x34(r1) -/* 80057EC4 00054E24 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80057EC8 00054E28 7C 9F 23 78 */ mr r31, r4 -/* 80057ECC 00054E2C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80057ED0 00054E30 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80057ED4 00054E34 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80057ED8 00054E38 41 82 02 9C */ beq lbl_80058174 -/* 80057EDC 00054E3C 3C 80 80 3E */ lis r4, lbl_803DA014@ha -/* 80057EE0 00054E40 38 04 A0 14 */ addi r0, r4, lbl_803DA014@l -/* 80057EE4 00054E44 90 1E 00 00 */ stw r0, 0(r30) -/* 80057EE8 00054E48 4B FF DE C1 */ bl StopSounds__6CWorldFv -/* 80057EEC 00054E4C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80057EF0 00054E50 48 17 BA 29 */ bl WorldTransitionManager__10CGameStateFv -/* 80057EF4 00054E54 80 63 00 00 */ lwz r3, 0(r3) -/* 80057EF8 00054E58 80 63 00 00 */ lwz r3, 0(r3) -/* 80057EFC 00054E5C 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80057F00 00054E60 2C 00 00 00 */ cmpwi r0, 0 -/* 80057F04 00054E64 41 82 00 1C */ beq lbl_80057F20 -/* 80057F08 00054E68 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 80057F0C 00054E6C 80 03 01 2C */ lwz r0, 0x12c(r3) -/* 80057F10 00054E70 2C 00 00 00 */ cmpwi r0, 0 -/* 80057F14 00054E74 40 82 00 0C */ bne lbl_80057F20 -/* 80057F18 00054E78 48 30 D8 A1 */ bl StopOneShot__19CStreamAudioManagerFv -/* 80057F1C 00054E7C 48 00 00 08 */ b lbl_80057F24 -lbl_80057F20: -/* 80057F20 00054E80 48 30 D9 85 */ bl StopAll__19CStreamAudioManagerFv -lbl_80057F24: -/* 80057F24 00054E84 7F C3 F3 78 */ mr r3, r30 -/* 80057F28 00054E88 4B FF F7 81 */ bl UnloadSoundGroups__6CWorldFv -/* 80057F2C 00054E8C 48 14 5E 39 */ bl DisableAuxCallbacks__20CScriptRoomAcousticsFv -/* 80057F30 00054E90 34 1E 00 C8 */ addic. r0, r30, 0xc8 -/* 80057F34 00054E94 41 82 00 58 */ beq lbl_80057F8C -/* 80057F38 00054E98 80 BE 00 C8 */ lwz r5, 0xc8(r30) -/* 80057F3C 00054E9C 38 60 00 00 */ li r3, 0 -/* 80057F40 00054EA0 2C 05 00 00 */ cmpwi r5, 0 -/* 80057F44 00054EA4 40 81 00 40 */ ble lbl_80057F84 -/* 80057F48 00054EA8 2C 05 00 08 */ cmpwi r5, 8 -/* 80057F4C 00054EAC 38 85 FF F8 */ addi r4, r5, -8 -/* 80057F50 00054EB0 40 81 00 20 */ ble lbl_80057F70 -/* 80057F54 00054EB4 38 04 00 07 */ addi r0, r4, 7 -/* 80057F58 00054EB8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80057F5C 00054EBC 7C 09 03 A6 */ mtctr r0 -/* 80057F60 00054EC0 2C 04 00 00 */ cmpwi r4, 0 -/* 80057F64 00054EC4 40 81 00 0C */ ble lbl_80057F70 -lbl_80057F68: -/* 80057F68 00054EC8 38 63 00 08 */ addi r3, r3, 8 -/* 80057F6C 00054ECC 42 00 FF FC */ bdnz lbl_80057F68 -lbl_80057F70: -/* 80057F70 00054ED0 7C 03 28 50 */ subf r0, r3, r5 -/* 80057F74 00054ED4 7C 09 03 A6 */ mtctr r0 -/* 80057F78 00054ED8 7C 03 28 00 */ cmpw r3, r5 -/* 80057F7C 00054EDC 40 80 00 08 */ bge lbl_80057F84 -lbl_80057F80: -/* 80057F80 00054EE0 42 00 00 00 */ bdnz lbl_80057F80 -lbl_80057F84: -/* 80057F84 00054EE4 38 00 00 00 */ li r0, 0 -/* 80057F88 00054EE8 90 1E 00 C8 */ stw r0, 0xc8(r30) -lbl_80057F8C: -/* 80057F8C 00054EEC 34 1E 00 B4 */ addic. r0, r30, 0xb4 -/* 80057F90 00054EF0 41 82 00 30 */ beq lbl_80057FC0 -/* 80057F94 00054EF4 88 1E 00 C0 */ lbz r0, 0xc0(r30) -/* 80057F98 00054EF8 28 00 00 00 */ cmplwi r0, 0 -/* 80057F9C 00054EFC 41 82 00 1C */ beq lbl_80057FB8 -/* 80057FA0 00054F00 34 7E 00 B4 */ addic. r3, r30, 0xb4 -/* 80057FA4 00054F04 41 82 00 14 */ beq lbl_80057FB8 -/* 80057FA8 00054F08 28 03 00 00 */ cmplwi r3, 0 -/* 80057FAC 00054F0C 41 82 00 0C */ beq lbl_80057FB8 -/* 80057FB0 00054F10 38 80 00 00 */ li r4, 0 -/* 80057FB4 00054F14 48 2E 8E 8D */ bl __dt__6CTokenFv -lbl_80057FB8: -/* 80057FB8 00054F18 38 00 00 00 */ li r0, 0 -/* 80057FBC 00054F1C 98 1E 00 C0 */ stb r0, 0xc0(r30) -lbl_80057FC0: -/* 80057FC0 00054F20 34 1E 00 A4 */ addic. r0, r30, 0xa4 -/* 80057FC4 00054F24 41 82 00 30 */ beq lbl_80057FF4 -/* 80057FC8 00054F28 88 1E 00 B0 */ lbz r0, 0xb0(r30) -/* 80057FCC 00054F2C 28 00 00 00 */ cmplwi r0, 0 -/* 80057FD0 00054F30 41 82 00 1C */ beq lbl_80057FEC -/* 80057FD4 00054F34 34 7E 00 A4 */ addic. r3, r30, 0xa4 -/* 80057FD8 00054F38 41 82 00 14 */ beq lbl_80057FEC -/* 80057FDC 00054F3C 28 03 00 00 */ cmplwi r3, 0 -/* 80057FE0 00054F40 41 82 00 0C */ beq lbl_80057FEC -/* 80057FE4 00054F44 38 80 00 00 */ li r4, 0 -/* 80057FE8 00054F48 48 2E 8E 59 */ bl __dt__6CTokenFv -lbl_80057FEC: -/* 80057FEC 00054F4C 38 00 00 00 */ li r0, 0 -/* 80057FF0 00054F50 98 1E 00 B0 */ stb r0, 0xb0(r30) -lbl_80057FF4: -/* 80057FF4 00054F54 34 1E 00 94 */ addic. r0, r30, 0x94 -/* 80057FF8 00054F58 41 82 00 30 */ beq lbl_80058028 -/* 80057FFC 00054F5C 88 1E 00 A0 */ lbz r0, 0xa0(r30) -/* 80058000 00054F60 28 00 00 00 */ cmplwi r0, 0 -/* 80058004 00054F64 41 82 00 1C */ beq lbl_80058020 -/* 80058008 00054F68 34 7E 00 94 */ addic. r3, r30, 0x94 -/* 8005800C 00054F6C 41 82 00 14 */ beq lbl_80058020 -/* 80058010 00054F70 28 03 00 00 */ cmplwi r3, 0 -/* 80058014 00054F74 41 82 00 0C */ beq lbl_80058020 -/* 80058018 00054F78 38 80 00 00 */ li r4, 0 -/* 8005801C 00054F7C 48 2E 8E 25 */ bl __dt__6CTokenFv -lbl_80058020: -/* 80058020 00054F80 38 00 00 00 */ li r0, 0 -/* 80058024 00054F84 98 1E 00 A0 */ stb r0, 0xa0(r30) -lbl_80058028: -/* 80058028 00054F88 34 1E 00 84 */ addic. r0, r30, 0x84 -/* 8005802C 00054F8C 41 82 00 0C */ beq lbl_80058038 -/* 80058030 00054F90 38 7E 00 84 */ addi r3, r30, 0x84 -/* 80058034 00054F94 48 2E 5A AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80058038: -/* 80058038 00054F98 38 7E 00 74 */ addi r3, r30, 0x74 -/* 8005803C 00054F9C 38 80 FF FF */ li r4, -1 -/* 80058040 00054FA0 48 00 02 25 */ bl sub_80058264 -/* 80058044 00054FA4 34 1E 00 48 */ addic. r0, r30, 0x48 -/* 80058048 00054FA8 41 82 00 58 */ beq lbl_800580A0 -/* 8005804C 00054FAC 80 BE 00 48 */ lwz r5, 0x48(r30) -/* 80058050 00054FB0 38 60 00 00 */ li r3, 0 -/* 80058054 00054FB4 2C 05 00 00 */ cmpwi r5, 0 -/* 80058058 00054FB8 40 81 00 40 */ ble lbl_80058098 -/* 8005805C 00054FBC 2C 05 00 08 */ cmpwi r5, 8 -/* 80058060 00054FC0 38 85 FF F8 */ addi r4, r5, -8 -/* 80058064 00054FC4 40 81 00 20 */ ble lbl_80058084 -/* 80058068 00054FC8 38 04 00 07 */ addi r0, r4, 7 -/* 8005806C 00054FCC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80058070 00054FD0 7C 09 03 A6 */ mtctr r0 -/* 80058074 00054FD4 2C 04 00 00 */ cmpwi r4, 0 -/* 80058078 00054FD8 40 81 00 0C */ ble lbl_80058084 -lbl_8005807C: -/* 8005807C 00054FDC 38 63 00 08 */ addi r3, r3, 8 -/* 80058080 00054FE0 42 00 FF FC */ bdnz lbl_8005807C -lbl_80058084: -/* 80058084 00054FE4 7C 03 28 50 */ subf r0, r3, r5 -/* 80058088 00054FE8 7C 09 03 A6 */ mtctr r0 -/* 8005808C 00054FEC 7C 03 28 00 */ cmpw r3, r5 -/* 80058090 00054FF0 40 80 00 08 */ bge lbl_80058098 -lbl_80058094: -/* 80058094 00054FF4 42 00 00 00 */ bdnz lbl_80058094 -lbl_80058098: -/* 80058098 00054FF8 38 00 00 00 */ li r0, 0 -/* 8005809C 00054FFC 90 1E 00 48 */ stw r0, 0x48(r30) -lbl_800580A0: -/* 800580A0 00055000 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 800580A4 00055004 41 82 00 0C */ beq lbl_800580B0 -/* 800580A8 00055008 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 800580AC 0005500C 48 2B D8 85 */ bl Free__7CMemoryFPCv -lbl_800580B0: -/* 800580B0 00055010 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 800580B4 00055014 41 82 00 24 */ beq lbl_800580D8 -/* 800580B8 00055018 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 800580BC 0005501C 28 03 00 00 */ cmplwi r3, 0 -/* 800580C0 00055020 41 82 00 18 */ beq lbl_800580D8 -/* 800580C4 00055024 81 83 00 00 */ lwz r12, 0(r3) -/* 800580C8 00055028 38 80 00 01 */ li r4, 1 -/* 800580CC 0005502C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800580D0 00055030 7D 89 03 A6 */ mtctr r12 -/* 800580D4 00055034 4E 80 04 21 */ bctrl -lbl_800580D8: -/* 800580D8 00055038 34 1E 00 2C */ addic. r0, r30, 0x2c -/* 800580DC 0005503C 41 82 00 44 */ beq lbl_80058120 -/* 800580E0 00055040 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 800580E4 00055044 80 7E 00 38 */ lwz r3, 0x38(r30) -/* 800580E8 00055048 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800580EC 0005504C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800580F0 00055050 7C 64 1B 78 */ mr r4, r3 -/* 800580F4 00055054 7C 03 02 14 */ add r0, r3, r0 -/* 800580F8 00055058 90 61 00 08 */ stw r3, 8(r1) -/* 800580FC 0005505C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80058100 00055060 90 01 00 10 */ stw r0, 0x10(r1) -/* 80058104 00055064 48 00 00 08 */ b lbl_8005810C -lbl_80058108: -/* 80058108 00055068 38 84 00 0C */ addi r4, r4, 0xc -lbl_8005810C: -/* 8005810C 0005506C 7C 04 00 40 */ cmplw r4, r0 -/* 80058110 00055070 40 82 FF F8 */ bne lbl_80058108 -/* 80058114 00055074 28 03 00 00 */ cmplwi r3, 0 -/* 80058118 00055078 41 82 00 08 */ beq lbl_80058120 -/* 8005811C 0005507C 48 2B D8 15 */ bl Free__7CMemoryFPCv -lbl_80058120: -/* 80058120 00055080 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 80058124 00055084 41 82 00 28 */ beq lbl_8005814C -/* 80058128 00055088 83 BE 00 28 */ lwz r29, 0x28(r30) -/* 8005812C 0005508C 28 1D 00 00 */ cmplwi r29, 0 -/* 80058130 00055090 41 82 00 1C */ beq lbl_8005814C -/* 80058134 00055094 41 82 00 10 */ beq lbl_80058144 -/* 80058138 00055098 7F A3 EB 78 */ mr r3, r29 -/* 8005813C 0005509C 38 80 00 00 */ li r4, 0 -/* 80058140 000550A0 48 2E 8D 01 */ bl __dt__6CTokenFv -lbl_80058144: -/* 80058144 000550A4 7F A3 EB 78 */ mr r3, r29 -/* 80058148 000550A8 48 2B D7 E9 */ bl Free__7CMemoryFPCv -lbl_8005814C: -/* 8005814C 000550AC 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80058150 000550B0 38 80 FF FF */ li r4, -1 -/* 80058154 000550B4 48 00 00 41 */ bl sub_80058194 -/* 80058158 000550B8 7F C3 F3 78 */ mr r3, r30 -/* 8005815C 000550BC 38 80 00 00 */ li r4, 0 -/* 80058160 000550C0 48 00 10 0D */ bl __dt__6IWorldFv -/* 80058164 000550C4 7F E0 07 35 */ extsh. r0, r31 -/* 80058168 000550C8 40 81 00 0C */ ble lbl_80058174 -/* 8005816C 000550CC 7F C3 F3 78 */ mr r3, r30 -/* 80058170 000550D0 48 2B D7 C1 */ bl Free__7CMemoryFPCv -lbl_80058174: -/* 80058174 000550D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80058178 000550D8 7F C3 F3 78 */ mr r3, r30 -/* 8005817C 000550DC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80058180 000550E0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80058184 000550E4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80058188 000550E8 7C 08 03 A6 */ mtlr r0 -/* 8005818C 000550EC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80058190 000550F0 4E 80 00 20 */ blr - -.global sub_80058194 -sub_80058194: -/* 80058194 000550F4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80058198 000550F8 7C 08 02 A6 */ mflr r0 -/* 8005819C 000550FC 90 01 00 34 */ stw r0, 0x34(r1) -/* 800581A0 00055100 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800581A4 00055104 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800581A8 00055108 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800581AC 0005510C 7C 9D 23 78 */ mr r29, r4 -/* 800581B0 00055110 93 81 00 20 */ stw r28, 0x20(r1) -/* 800581B4 00055114 7C 7C 1B 79 */ or. r28, r3, r3 -/* 800581B8 00055118 41 82 00 88 */ beq lbl_80058240 -/* 800581BC 0005511C 80 1C 00 04 */ lwz r0, 4(r28) -/* 800581C0 00055120 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 800581C4 00055124 54 00 18 38 */ slwi r0, r0, 3 -/* 800581C8 00055128 7F FE 02 14 */ add r31, r30, r0 -/* 800581CC 0005512C 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800581D0 00055130 93 E1 00 08 */ stw r31, 8(r1) -/* 800581D4 00055134 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800581D8 00055138 93 C1 00 14 */ stw r30, 0x14(r1) -/* 800581DC 0005513C 48 00 00 3C */ b lbl_80058218 -lbl_800581E0: -/* 800581E0 00055140 28 1E 00 00 */ cmplwi r30, 0 -/* 800581E4 00055144 41 82 00 30 */ beq lbl_80058214 -/* 800581E8 00055148 88 1E 00 00 */ lbz r0, 0(r30) -/* 800581EC 0005514C 28 00 00 00 */ cmplwi r0, 0 -/* 800581F0 00055150 41 82 00 24 */ beq lbl_80058214 -/* 800581F4 00055154 80 7E 00 04 */ lwz r3, 4(r30) -/* 800581F8 00055158 28 03 00 00 */ cmplwi r3, 0 -/* 800581FC 0005515C 41 82 00 18 */ beq lbl_80058214 -/* 80058200 00055160 81 83 00 00 */ lwz r12, 0(r3) -/* 80058204 00055164 38 80 00 01 */ li r4, 1 -/* 80058208 00055168 81 8C 00 08 */ lwz r12, 8(r12) -/* 8005820C 0005516C 7D 89 03 A6 */ mtctr r12 -/* 80058210 00055170 4E 80 04 21 */ bctrl -lbl_80058214: -/* 80058214 00055174 3B DE 00 08 */ addi r30, r30, 8 -lbl_80058218: -/* 80058218 00055178 7C 1E F8 40 */ cmplw r30, r31 -/* 8005821C 0005517C 40 82 FF C4 */ bne lbl_800581E0 -/* 80058220 00055180 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80058224 00055184 28 03 00 00 */ cmplwi r3, 0 -/* 80058228 00055188 41 82 00 08 */ beq lbl_80058230 -/* 8005822C 0005518C 48 2B D7 05 */ bl Free__7CMemoryFPCv -lbl_80058230: -/* 80058230 00055190 7F A0 07 35 */ extsh. r0, r29 -/* 80058234 00055194 40 81 00 0C */ ble lbl_80058240 -/* 80058238 00055198 7F 83 E3 78 */ mr r3, r28 -/* 8005823C 0005519C 48 2B D6 F5 */ bl Free__7CMemoryFPCv -lbl_80058240: -/* 80058240 000551A0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80058244 000551A4 7F 83 E3 78 */ mr r3, r28 -/* 80058248 000551A8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8005824C 000551AC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80058250 000551B0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80058254 000551B4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80058258 000551B8 7C 08 03 A6 */ mtlr r0 -/* 8005825C 000551BC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80058260 000551C0 4E 80 00 20 */ blr - -.global sub_80058264 -sub_80058264: -/* 80058264 000551C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80058268 000551C8 7C 08 02 A6 */ mflr r0 -/* 8005826C 000551CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80058270 000551D0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80058274 000551D4 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80058278 000551D8 7C 9C 23 78 */ mr r28, r4 -/* 8005827C 000551DC 41 82 00 94 */ beq lbl_80058310 -/* 80058280 000551E0 80 1B 00 04 */ lwz r0, 4(r27) -/* 80058284 000551E4 3B E0 00 00 */ li r31, 0 -/* 80058288 000551E8 83 BB 00 0C */ lwz r29, 0xc(r27) -/* 8005828C 000551EC 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80058290 000551F0 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80058294 000551F4 7F DD 02 14 */ add r30, r29, r0 -/* 80058298 000551F8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005829C 000551FC 93 C1 00 08 */ stw r30, 8(r1) -/* 800582A0 00055200 93 C1 00 0C */ stw r30, 0xc(r1) -/* 800582A4 00055204 48 00 00 44 */ b lbl_800582E8 -lbl_800582A8: -/* 800582A8 00055208 28 1D 00 00 */ cmplwi r29, 0 -/* 800582AC 0005520C 41 82 00 38 */ beq lbl_800582E4 -/* 800582B0 00055210 34 1D 00 1C */ addic. r0, r29, 0x1c -/* 800582B4 00055214 41 82 00 20 */ beq lbl_800582D4 -/* 800582B8 00055218 88 1D 00 24 */ lbz r0, 0x24(r29) -/* 800582BC 0005521C 28 00 00 00 */ cmplwi r0, 0 -/* 800582C0 00055220 41 82 00 10 */ beq lbl_800582D0 -/* 800582C4 00055224 38 7D 00 1C */ addi r3, r29, 0x1c -/* 800582C8 00055228 38 80 FF FF */ li r4, -1 -/* 800582CC 0005522C 48 2E 8B 75 */ bl __dt__6CTokenFv -lbl_800582D0: -/* 800582D0 00055230 9B FD 00 24 */ stb r31, 0x24(r29) -lbl_800582D4: -/* 800582D4 00055234 34 1D 00 0C */ addic. r0, r29, 0xc -/* 800582D8 00055238 41 82 00 0C */ beq lbl_800582E4 -/* 800582DC 0005523C 38 7D 00 0C */ addi r3, r29, 0xc -/* 800582E0 00055240 48 2E 58 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800582E4: -/* 800582E4 00055244 3B BD 00 28 */ addi r29, r29, 0x28 -lbl_800582E8: -/* 800582E8 00055248 7C 1D F0 40 */ cmplw r29, r30 -/* 800582EC 0005524C 40 82 FF BC */ bne lbl_800582A8 -/* 800582F0 00055250 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 800582F4 00055254 28 03 00 00 */ cmplwi r3, 0 -/* 800582F8 00055258 41 82 00 08 */ beq lbl_80058300 -/* 800582FC 0005525C 48 2B D6 35 */ bl Free__7CMemoryFPCv -lbl_80058300: -/* 80058300 00055260 7F 80 07 35 */ extsh. r0, r28 -/* 80058304 00055264 40 81 00 0C */ ble lbl_80058310 -/* 80058308 00055268 7F 63 DB 78 */ mr r3, r27 -/* 8005830C 0005526C 48 2B D6 25 */ bl Free__7CMemoryFPCv -lbl_80058310: -/* 80058310 00055270 7F 63 DB 78 */ mr r3, r27 -/* 80058314 00055274 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80058318 00055278 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005831C 0005527C 7C 08 03 A6 */ mtlr r0 -/* 80058320 00055280 38 21 00 30 */ addi r1, r1, 0x30 -/* 80058324 00055284 4E 80 00 20 */ blr - -.global CheckWorldComplete__6CWorldFP13CStateManager7TAreaIdUi -CheckWorldComplete__6CWorldFP13CStateManager7TAreaIdUi: -/* 80058328 00055288 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 8005832C 0005528C 7C 08 02 A6 */ mflr r0 -/* 80058330 00055290 90 01 01 54 */ stw r0, 0x154(r1) -/* 80058334 00055294 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 80058338 00055298 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 8005833C 0005529C BF 21 01 24 */ stmw r25, 0x124(r1) -/* 80058340 000552A0 3C 06 00 01 */ addis r0, r6, 1 -/* 80058344 000552A4 7C 7F 1B 78 */ mr r31, r3 -/* 80058348 000552A8 28 00 FF FF */ cmplwi r0, 0xffff -/* 8005834C 000552AC 7C 9A 23 78 */ mr r26, r4 -/* 80058350 000552B0 41 82 00 58 */ beq lbl_800583A8 -/* 80058354 000552B4 38 80 00 00 */ li r4, 0 -/* 80058358 000552B8 38 A0 00 00 */ li r5, 0 -/* 8005835C 000552BC 90 9F 00 68 */ stw r4, 0x68(r31) -/* 80058360 000552C0 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80058364 000552C4 7C 09 03 A6 */ mtctr r0 -/* 80058368 000552C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8005836C 000552CC 40 81 00 44 */ ble lbl_800583B0 -lbl_80058370: -/* 80058370 000552D0 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80058374 000552D4 38 04 00 04 */ addi r0, r4, 4 -/* 80058378 000552D8 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8005837C 000552DC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80058380 000552E0 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 80058384 000552E4 80 03 00 84 */ lwz r0, 0x84(r3) -/* 80058388 000552E8 7C 06 00 40 */ cmplw r6, r0 -/* 8005838C 000552EC 40 82 00 0C */ bne lbl_80058398 -/* 80058390 000552F0 90 BF 00 68 */ stw r5, 0x68(r31) -/* 80058394 000552F4 48 00 00 1C */ b lbl_800583B0 -lbl_80058398: -/* 80058398 000552F8 38 A5 00 01 */ addi r5, r5, 1 -/* 8005839C 000552FC 38 84 00 08 */ addi r4, r4, 8 -/* 800583A0 00055300 42 00 FF D0 */ bdnz lbl_80058370 -/* 800583A4 00055304 48 00 00 0C */ b lbl_800583B0 -lbl_800583A8: -/* 800583A8 00055308 80 05 00 00 */ lwz r0, 0(r5) -/* 800583AC 0005530C 90 1F 00 68 */ stw r0, 0x68(r31) -lbl_800583B0: -/* 800583B0 00055310 80 1F 00 04 */ lwz r0, 4(r31) -/* 800583B4 00055314 7C 7A 00 D0 */ neg r3, r26 -/* 800583B8 00055318 7C 63 D3 78 */ or r3, r3, r26 -/* 800583BC 0005531C 2C 00 00 03 */ cmpwi r0, 3 -/* 800583C0 00055320 54 79 0F FE */ srwi r25, r3, 0x1f -/* 800583C4 00055324 41 82 07 C0 */ beq lbl_80058B84 -/* 800583C8 00055328 40 80 00 1C */ bge lbl_800583E4 -/* 800583CC 0005532C 2C 00 00 01 */ cmpwi r0, 1 -/* 800583D0 00055330 41 82 06 E4 */ beq lbl_80058AB4 -/* 800583D4 00055334 40 80 07 8C */ bge lbl_80058B60 -/* 800583D8 00055338 2C 00 00 00 */ cmpwi r0, 0 -/* 800583DC 0005533C 40 80 00 18 */ bge lbl_800583F4 -/* 800583E0 00055340 48 00 09 B0 */ b lbl_80058D90 -lbl_800583E4: -/* 800583E4 00055344 2C 00 00 05 */ cmpwi r0, 5 -/* 800583E8 00055348 41 82 09 A0 */ beq lbl_80058D88 -/* 800583EC 0005534C 40 80 09 A4 */ bge lbl_80058D90 -/* 800583F0 00055350 48 00 09 08 */ b lbl_80058CF8 -lbl_800583F4: -/* 800583F4 00055354 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 800583F8 00055358 81 83 00 00 */ lwz r12, 0(r3) -/* 800583FC 0005535C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80058400 00055360 7D 89 03 A6 */ mtctr r12 -/* 80058404 00055364 4E 80 04 21 */ bctrl -/* 80058408 00055368 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005840C 0005536C 40 82 00 0C */ bne lbl_80058418 -/* 80058410 00055370 38 60 00 00 */ li r3, 0 -/* 80058414 00055374 48 00 09 80 */ b lbl_80058D94 -lbl_80058418: -/* 80058418 00055378 80 9F 00 40 */ lwz r4, 0x40(r31) -/* 8005841C 0005537C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058420 00055380 80 BF 00 44 */ lwz r5, 0x44(r31) -/* 80058424 00055384 48 2E 6D A9 */ bl __ct__15CMemoryInStreamFPCvUl -/* 80058428 00055388 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8005842C 0005538C 48 2E 68 59 */ bl ReadLong__12CInputStreamFv -/* 80058430 00055390 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058434 00055394 48 2E 68 51 */ bl ReadLong__12CInputStreamFv -/* 80058438 00055398 7C 7E 1B 78 */ mr r30, r3 -/* 8005843C 0005539C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058440 000553A0 48 2E 68 45 */ bl ReadLong__12CInputStreamFv -/* 80058444 000553A4 28 1E 00 0F */ cmplwi r30, 0xf -/* 80058448 000553A8 90 7F 00 0C */ stw r3, 0xc(r31) -/* 8005844C 000553AC 41 80 00 10 */ blt lbl_8005845C -/* 80058450 000553B0 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058454 000553B4 48 2E 68 31 */ bl ReadLong__12CInputStreamFv -/* 80058458 000553B8 90 7F 00 10 */ stw r3, 0x10(r31) -lbl_8005845C: -/* 8005845C 000553BC 28 1E 00 0C */ cmplwi r30, 0xc -/* 80058460 000553C0 41 80 00 CC */ blt lbl_8005852C -/* 80058464 000553C4 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058468 000553C8 48 2E 68 1D */ bl ReadLong__12CInputStreamFv -/* 8005846C 000553CC 3C 03 00 01 */ addis r0, r3, 1 -/* 80058470 000553D0 28 00 FF FF */ cmplwi r0, 0xffff -/* 80058474 000553D4 41 82 00 B8 */ beq lbl_8005852C -/* 80058478 000553D8 28 19 00 00 */ cmplwi r25, 0 -/* 8005847C 000553DC 41 82 00 B0 */ beq lbl_8005852C -/* 80058480 000553E0 3C 80 43 4D */ lis r4, 0x434D444C@ha -/* 80058484 000553E4 90 61 00 64 */ stw r3, 0x64(r1) -/* 80058488 000553E8 38 04 44 4C */ addi r0, r4, 0x434D444C@l -/* 8005848C 000553EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80058490 000553F0 90 01 00 60 */ stw r0, 0x60(r1) -/* 80058494 000553F4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80058498 000553F8 38 A1 00 60 */ addi r5, r1, 0x60 -/* 8005849C 000553FC 81 84 00 00 */ lwz r12, 0(r4) -/* 800584A0 00055400 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800584A4 00055404 7D 89 03 A6 */ mtctr r12 -/* 800584A8 00055408 4E 80 04 21 */ bctrl -/* 800584AC 0005540C 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 800584B0 00055410 38 81 00 58 */ addi r4, r1, 0x58 -/* 800584B4 00055414 48 2E 89 F5 */ bl __ct__6CTokenFRC6CToken -/* 800584B8 00055418 38 00 00 00 */ li r0, 0 -/* 800584BC 0005541C 90 01 00 AC */ stw r0, 0xac(r1) -/* 800584C0 00055420 88 1F 00 A0 */ lbz r0, 0xa0(r31) -/* 800584C4 00055424 28 00 00 00 */ cmplwi r0, 0 -/* 800584C8 00055428 40 82 00 2C */ bne lbl_800584F4 -/* 800584CC 0005542C 37 3F 00 94 */ addic. r25, r31, 0x94 -/* 800584D0 00055430 41 82 00 18 */ beq lbl_800584E8 -/* 800584D4 00055434 7F 23 CB 78 */ mr r3, r25 -/* 800584D8 00055438 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 800584DC 0005543C 48 2E 89 CD */ bl __ct__6CTokenFRC6CToken -/* 800584E0 00055440 80 01 00 AC */ lwz r0, 0xac(r1) -/* 800584E4 00055444 90 19 00 08 */ stw r0, 8(r25) -lbl_800584E8: -/* 800584E8 00055448 38 00 00 01 */ li r0, 1 -/* 800584EC 0005544C 98 1F 00 A0 */ stb r0, 0xa0(r31) -/* 800584F0 00055450 48 00 00 1C */ b lbl_8005850C -lbl_800584F4: -/* 800584F4 00055454 3B 3F 00 94 */ addi r25, r31, 0x94 -/* 800584F8 00055458 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 800584FC 0005545C 7F 23 CB 78 */ mr r3, r25 -/* 80058500 00055460 48 2E 87 C5 */ bl __as__6CTokenFRC6CToken -/* 80058504 00055464 80 01 00 AC */ lwz r0, 0xac(r1) -/* 80058508 00055468 90 19 00 08 */ stw r0, 8(r25) -lbl_8005850C: -/* 8005850C 0005546C 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80058510 00055470 38 80 00 00 */ li r4, 0 -/* 80058514 00055474 48 2E 89 2D */ bl __dt__6CTokenFv -/* 80058518 00055478 38 61 00 58 */ addi r3, r1, 0x58 -/* 8005851C 0005547C 38 80 FF FF */ li r4, -1 -/* 80058520 00055480 48 2E 89 21 */ bl __dt__6CTokenFv -/* 80058524 00055484 38 7F 00 94 */ addi r3, r31, 0x94 -/* 80058528 00055488 48 2E 88 5D */ bl Lock__6CTokenFv -lbl_8005852C: -/* 8005852C 0005548C 28 1E 00 11 */ cmplwi r30, 0x11 -/* 80058530 00055490 41 80 00 60 */ blt lbl_80058590 -/* 80058534 00055494 38 61 00 94 */ addi r3, r1, 0x94 -/* 80058538 00055498 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8005853C 0005549C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80058540 000554A0 4B FF EC 99 */ bl "LoadRelays__FR12CInputStreamRQ24rstl44vector" -/* 80058544 000554A4 38 7F 00 2C */ addi r3, r31, 0x2c -/* 80058548 000554A8 38 81 00 94 */ addi r4, r1, 0x94 -/* 8005854C 000554AC 48 00 08 65 */ bl sub_80058db0 -/* 80058550 000554B0 80 01 00 98 */ lwz r0, 0x98(r1) -/* 80058554 000554B4 80 61 00 A0 */ lwz r3, 0xa0(r1) -/* 80058558 000554B8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005855C 000554BC 90 61 00 28 */ stw r3, 0x28(r1) -/* 80058560 000554C0 7C 64 1B 78 */ mr r4, r3 -/* 80058564 000554C4 7C 03 02 14 */ add r0, r3, r0 -/* 80058568 000554C8 90 61 00 24 */ stw r3, 0x24(r1) -/* 8005856C 000554CC 90 01 00 30 */ stw r0, 0x30(r1) -/* 80058570 000554D0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80058574 000554D4 48 00 00 08 */ b lbl_8005857C -lbl_80058578: -/* 80058578 000554D8 38 84 00 0C */ addi r4, r4, 0xc -lbl_8005857C: -/* 8005857C 000554DC 7C 04 00 40 */ cmplw r4, r0 -/* 80058580 000554E0 40 82 FF F8 */ bne lbl_80058578 -/* 80058584 000554E4 28 03 00 00 */ cmplwi r3, 0 -/* 80058588 000554E8 41 82 00 08 */ beq lbl_80058590 -/* 8005858C 000554EC 48 2B D3 A5 */ bl Free__7CMemoryFPCv -lbl_80058590: -/* 80058590 000554F0 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058594 000554F4 48 2E 66 F1 */ bl ReadLong__12CInputStreamFv -/* 80058598 000554F8 7C 7C 1B 78 */ mr r28, r3 -/* 8005859C 000554FC 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 800585A0 00055500 48 2E 66 E5 */ bl ReadLong__12CInputStreamFv -/* 800585A4 00055504 7F 84 E3 78 */ mr r4, r28 -/* 800585A8 00055508 38 7F 00 14 */ addi r3, r31, 0x14 -/* 800585AC 0005550C 48 00 12 C1 */ bl sub_8005986c -/* 800585B0 00055510 3C 60 80 3D */ lis r3, lbl_803CCF70@ha -/* 800585B4 00055514 3B 60 00 00 */ li r27, 0 -/* 800585B8 00055518 3B A3 CF 70 */ addi r29, r3, lbl_803CCF70@l -/* 800585BC 0005551C 48 00 00 D4 */ b lbl_80058690 -lbl_800585C0: -/* 800585C0 00055520 38 9D 00 01 */ addi r4, r29, 1 -/* 800585C4 00055524 38 60 01 3C */ li r3, 0x13c -/* 800585C8 00055528 38 A0 00 00 */ li r5, 0 -/* 800585CC 0005552C 48 2B D2 A1 */ bl __nw__FUlPCcPCc -/* 800585D0 00055530 7C 64 1B 79 */ or. r4, r3, r3 -/* 800585D4 00055534 41 82 00 18 */ beq lbl_800585EC -/* 800585D8 00055538 7F 65 DB 78 */ mr r5, r27 -/* 800585DC 0005553C 7F C6 F3 78 */ mr r6, r30 -/* 800585E0 00055540 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 800585E4 00055544 48 00 AC 81 */ bl __ct__9CGameAreaFR12CInputStreami -/* 800585E8 00055548 7C 64 1B 78 */ mr r4, r3 -lbl_800585EC: -/* 800585EC 0005554C 7C 64 00 D0 */ neg r3, r4 -/* 800585F0 00055550 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 800585F4 00055554 80 BF 00 1C */ lwz r5, 0x1c(r31) -/* 800585F8 00055558 7C 63 23 78 */ or r3, r3, r4 -/* 800585FC 0005555C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80058600 00055560 90 81 00 54 */ stw r4, 0x54(r1) -/* 80058604 00055564 7C 00 28 00 */ cmpw r0, r5 -/* 80058608 00055568 98 61 00 50 */ stb r3, 0x50(r1) -/* 8005860C 0005556C 41 80 00 1C */ blt lbl_80058628 -/* 80058610 00055570 2C 05 00 00 */ cmpwi r5, 0 -/* 80058614 00055574 38 7F 00 14 */ addi r3, r31, 0x14 -/* 80058618 00055578 38 80 00 04 */ li r4, 4 -/* 8005861C 0005557C 41 82 00 08 */ beq lbl_80058624 -/* 80058620 00055580 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80058624: -/* 80058624 00055584 48 00 12 49 */ bl sub_8005986c -lbl_80058628: -/* 80058628 00055588 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8005862C 0005558C 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80058630 00055590 54 00 18 38 */ slwi r0, r0, 3 -/* 80058634 00055594 7C A3 02 15 */ add. r5, r3, r0 -/* 80058638 00055598 41 82 00 1C */ beq lbl_80058654 -/* 8005863C 0005559C 88 81 00 50 */ lbz r4, 0x50(r1) -/* 80058640 000555A0 38 00 00 00 */ li r0, 0 -/* 80058644 000555A4 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80058648 000555A8 98 85 00 00 */ stb r4, 0(r5) -/* 8005864C 000555AC 90 65 00 04 */ stw r3, 4(r5) -/* 80058650 000555B0 98 01 00 50 */ stb r0, 0x50(r1) -lbl_80058654: -/* 80058654 000555B4 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80058658 000555B8 88 01 00 50 */ lbz r0, 0x50(r1) -/* 8005865C 000555BC 38 63 00 01 */ addi r3, r3, 1 -/* 80058660 000555C0 28 00 00 00 */ cmplwi r0, 0 -/* 80058664 000555C4 90 7F 00 18 */ stw r3, 0x18(r31) -/* 80058668 000555C8 41 82 00 24 */ beq lbl_8005868C -/* 8005866C 000555CC 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80058670 000555D0 28 03 00 00 */ cmplwi r3, 0 -/* 80058674 000555D4 41 82 00 18 */ beq lbl_8005868C -/* 80058678 000555D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8005867C 000555DC 38 80 00 01 */ li r4, 1 -/* 80058680 000555E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80058684 000555E4 7D 89 03 A6 */ mtctr r12 -/* 80058688 000555E8 4E 80 04 21 */ bctrl -lbl_8005868C: -/* 8005868C 000555EC 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80058690: -/* 80058690 000555F0 7C 1B E0 00 */ cmpw r27, r28 -/* 80058694 000555F4 41 80 FF 2C */ blt lbl_800585C0 -/* 80058698 000555F8 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 8005869C 000555FC 2C 03 00 05 */ cmpwi r3, 5 -/* 800586A0 00055600 40 80 00 40 */ bge lbl_800586E0 -/* 800586A4 00055604 54 60 10 3A */ slwi r0, r3, 2 -/* 800586A8 00055608 20 83 00 05 */ subfic r4, r3, 5 -/* 800586AC 0005560C 7C 7F 02 14 */ add r3, r31, r0 -/* 800586B0 00055610 38 00 00 00 */ li r0, 0 -/* 800586B4 00055614 7C 89 03 A6 */ mtctr r4 -/* 800586B8 00055618 2C 04 00 00 */ cmpwi r4, 0 -/* 800586BC 0005561C 38 63 00 4C */ addi r3, r3, 0x4c -/* 800586C0 00055620 40 81 00 18 */ ble lbl_800586D8 -lbl_800586C4: -/* 800586C4 00055624 28 03 00 00 */ cmplwi r3, 0 -/* 800586C8 00055628 41 82 00 08 */ beq lbl_800586D0 -/* 800586CC 0005562C 90 03 00 00 */ stw r0, 0(r3) -lbl_800586D0: -/* 800586D0 00055630 38 63 00 04 */ addi r3, r3, 4 -/* 800586D4 00055634 42 00 FF F0 */ bdnz lbl_800586C4 -lbl_800586D8: -/* 800586D8 00055638 38 00 00 05 */ li r0, 5 -/* 800586DC 0005563C 90 1F 00 48 */ stw r0, 0x48(r31) -lbl_800586E0: -/* 800586E0 00055640 3B 60 00 00 */ li r27, 0 -/* 800586E4 00055644 3B 20 00 00 */ li r25, 0 -/* 800586E8 00055648 48 00 00 24 */ b lbl_8005870C -lbl_800586EC: -/* 800586EC 0005564C 80 9F 00 20 */ lwz r4, 0x20(r31) -/* 800586F0 00055650 38 19 00 04 */ addi r0, r25, 4 -/* 800586F4 00055654 7F E3 FB 78 */ mr r3, r31 -/* 800586F8 00055658 38 A0 00 01 */ li r5, 1 -/* 800586FC 0005565C 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80058700 00055660 4B FF F4 35 */ bl MoveToChain__6CWorldFP9CGameAreaQ26CWorld6EChain -/* 80058704 00055664 3B 39 00 08 */ addi r25, r25, 8 -/* 80058708 00055668 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8005870C: -/* 8005870C 0005566C 7C 1B E0 00 */ cmpw r27, r28 -/* 80058710 00055670 41 80 FF DC */ blt lbl_800586EC -/* 80058714 00055674 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058718 00055678 48 2E 65 6D */ bl ReadLong__12CInputStreamFv -/* 8005871C 0005567C 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80058720 00055680 90 7F 00 24 */ stw r3, 0x24(r31) -/* 80058724 00055684 38 64 CF 70 */ addi r3, r4, lbl_803CCF70@l -/* 80058728 00055688 3B 20 00 00 */ li r25, 0 -/* 8005872C 0005568C 38 83 00 01 */ addi r4, r3, 1 -/* 80058730 00055690 38 60 00 0C */ li r3, 0xc -/* 80058734 00055694 38 A0 00 00 */ li r5, 0 -/* 80058738 00055698 48 2B D1 35 */ bl __nw__FUlPCcPCc -/* 8005873C 0005569C 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80058740 000556A0 41 82 00 4C */ beq lbl_8005878C -/* 80058744 000556A4 80 DF 00 24 */ lwz r6, 0x24(r31) -/* 80058748 000556A8 3C 60 4D 41 */ lis r3, 0x4D415057@ha -/* 8005874C 000556AC 38 03 50 57 */ addi r0, r3, 0x4D415057@l -/* 80058750 000556B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80058754 000556B4 90 01 00 48 */ stw r0, 0x48(r1) -/* 80058758 000556B8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8005875C 000556BC 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80058760 000556C0 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 80058764 000556C4 81 84 00 00 */ lwz r12, 0(r4) -/* 80058768 000556C8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8005876C 000556CC 7D 89 03 A6 */ mtctr r12 -/* 80058770 000556D0 4E 80 04 21 */ bctrl -/* 80058774 000556D4 7F 63 DB 78 */ mr r3, r27 -/* 80058778 000556D8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8005877C 000556DC 3B 20 00 01 */ li r25, 1 -/* 80058780 000556E0 48 2E 87 29 */ bl __ct__6CTokenFRC6CToken -/* 80058784 000556E4 38 00 00 00 */ li r0, 0 -/* 80058788 000556E8 90 1B 00 08 */ stw r0, 8(r27) -lbl_8005878C: -/* 8005878C 000556EC 83 9F 00 28 */ lwz r28, 0x28(r31) -/* 80058790 000556F0 28 1C 00 00 */ cmplwi r28, 0 -/* 80058794 000556F4 41 82 00 1C */ beq lbl_800587B0 -/* 80058798 000556F8 41 82 00 10 */ beq lbl_800587A8 -/* 8005879C 000556FC 7F 83 E3 78 */ mr r3, r28 -/* 800587A0 00055700 38 80 00 00 */ li r4, 0 -/* 800587A4 00055704 48 2E 86 9D */ bl __dt__6CTokenFv -lbl_800587A8: -/* 800587A8 00055708 7F 83 E3 78 */ mr r3, r28 -/* 800587AC 0005570C 48 2B D1 85 */ bl Free__7CMemoryFPCv -lbl_800587B0: -/* 800587B0 00055710 7F 20 07 75 */ extsb. r0, r25 -/* 800587B4 00055714 93 7F 00 28 */ stw r27, 0x28(r31) -/* 800587B8 00055718 41 82 00 10 */ beq lbl_800587C8 -/* 800587BC 0005571C 38 61 00 40 */ addi r3, r1, 0x40 -/* 800587C0 00055720 38 80 FF FF */ li r4, -1 -/* 800587C4 00055724 48 2E 86 7D */ bl __dt__6CTokenFv -lbl_800587C8: -/* 800587C8 00055728 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 800587CC 0005572C 48 2E 85 B9 */ bl Lock__6CTokenFv -/* 800587D0 00055730 28 1A 00 00 */ cmplwi r26, 0 -/* 800587D4 00055734 41 82 00 7C */ beq lbl_80058850 -/* 800587D8 00055738 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800587DC 0005573C 38 E0 00 00 */ li r7, 0 -/* 800587E0 00055740 90 E1 00 C4 */ stw r7, 0xc4(r1) -/* 800587E4 00055744 7F 43 D3 78 */ mr r3, r26 -/* 800587E8 00055748 38 81 00 34 */ addi r4, r1, 0x34 -/* 800587EC 0005574C 38 A1 00 F8 */ addi r5, r1, 0xf8 -/* 800587F0 00055750 90 E1 00 C8 */ stw r7, 0xc8(r1) -/* 800587F4 00055754 38 C1 00 C0 */ addi r6, r1, 0xc0 -/* 800587F8 00055758 90 E1 00 CC */ stw r7, 0xcc(r1) -/* 800587FC 0005575C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80058800 00055760 4B FE F9 75 */ bl LoadScriptObjects__13CStateManagerF7TAreaIdR12CInputStreamQ213CStateManager18EScriptPersistence -/* 80058804 00055764 7F 43 D3 78 */ mr r3, r26 -/* 80058808 00055768 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 8005880C 0005576C 4B FE F8 A5 */ bl "InitScriptObjects__13CStateManagerFRCQ24rstl18vector<9TEditorId>" -/* 80058810 00055770 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80058814 00055774 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 80058818 00055778 54 00 10 3A */ slwi r0, r0, 2 -/* 8005881C 0005577C 7C 03 02 14 */ add r0, r3, r0 -/* 80058820 00055780 90 61 00 18 */ stw r3, 0x18(r1) -/* 80058824 00055784 7C 64 1B 78 */ mr r4, r3 -/* 80058828 00055788 90 01 00 20 */ stw r0, 0x20(r1) -/* 8005882C 0005578C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80058830 00055790 90 61 00 14 */ stw r3, 0x14(r1) -/* 80058834 00055794 48 00 00 08 */ b lbl_8005883C -lbl_80058838: -/* 80058838 00055798 38 84 00 04 */ addi r4, r4, 4 -lbl_8005883C: -/* 8005883C 0005579C 7C 04 00 40 */ cmplw r4, r0 -/* 80058840 000557A0 40 82 FF F8 */ bne lbl_80058838 -/* 80058844 000557A4 28 03 00 00 */ cmplwi r3, 0 -/* 80058848 000557A8 41 82 00 08 */ beq lbl_80058850 -/* 8005884C 000557AC 48 2B D0 E5 */ bl Free__7CMemoryFPCv -lbl_80058850: -/* 80058850 000557B0 28 1E 00 0A */ cmplwi r30, 0xa -/* 80058854 000557B4 40 81 01 28 */ ble lbl_8005897C -/* 80058858 000557B8 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8005885C 000557BC 48 2E 64 29 */ bl ReadLong__12CInputStreamFv -/* 80058860 000557C0 7C 7C 1B 78 */ mr r28, r3 -/* 80058864 000557C4 38 7F 00 74 */ addi r3, r31, 0x74 -/* 80058868 000557C8 7F 84 E3 78 */ mr r4, r28 -/* 8005886C 000557CC 48 00 0E 9D */ bl "reserve__Q24rstl61vectorFi" -/* 80058870 000557D0 3B A1 00 DC */ addi r29, r1, 0xdc -/* 80058874 000557D4 3B 61 00 EC */ addi r27, r1, 0xec -/* 80058878 000557D8 3B 40 00 00 */ li r26, 0 -/* 8005887C 000557DC 48 00 00 F4 */ b lbl_80058970 -lbl_80058880: -/* 80058880 000557E0 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058884 000557E4 48 2E 64 01 */ bl ReadLong__12CInputStreamFv -/* 80058888 000557E8 7C 79 1B 78 */ mr r25, r3 -/* 8005888C 000557EC 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058890 000557F0 48 2E 63 F5 */ bl ReadLong__12CInputStreamFv -/* 80058894 000557F4 7C 65 1B 78 */ mr r5, r3 -/* 80058898 000557F8 7F 24 CB 78 */ mr r4, r25 -/* 8005889C 000557FC 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 800588A0 00055800 48 00 07 DD */ bl __ct__Q26CWorld15CSoundGroupDataFiUi -/* 800588A4 00055804 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 800588A8 00055808 80 BF 00 7C */ lwz r5, 0x7c(r31) -/* 800588AC 0005580C 7C 00 28 00 */ cmpw r0, r5 -/* 800588B0 00055810 41 80 00 1C */ blt lbl_800588CC -/* 800588B4 00055814 2C 05 00 00 */ cmpwi r5, 0 -/* 800588B8 00055818 38 7F 00 74 */ addi r3, r31, 0x74 -/* 800588BC 0005581C 38 80 00 04 */ li r4, 4 -/* 800588C0 00055820 41 82 00 08 */ beq lbl_800588C8 -/* 800588C4 00055824 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800588C8: -/* 800588C8 00055828 48 00 0E 41 */ bl "reserve__Q24rstl61vectorFi" -lbl_800588CC: -/* 800588CC 0005582C 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 800588D0 00055830 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 800588D4 00055834 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 800588D8 00055838 7F 23 02 15 */ add. r25, r3, r0 -/* 800588DC 0005583C 41 82 00 4C */ beq lbl_80058928 -/* 800588E0 00055840 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 800588E4 00055844 7F A4 EB 78 */ mr r4, r29 -/* 800588E8 00055848 38 79 00 0C */ addi r3, r25, 0xc -/* 800588EC 0005584C 90 19 00 00 */ stw r0, 0(r25) -/* 800588F0 00055850 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 800588F4 00055854 90 19 00 04 */ stw r0, 4(r25) -/* 800588F8 00055858 88 01 00 D8 */ lbz r0, 0xd8(r1) -/* 800588FC 0005585C 98 19 00 08 */ stb r0, 8(r25) -/* 80058900 00055860 48 2E 58 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80058904 00055864 88 01 00 F4 */ lbz r0, 0xf4(r1) -/* 80058908 00055868 98 19 00 24 */ stb r0, 0x24(r25) -/* 8005890C 0005586C 88 01 00 F4 */ lbz r0, 0xf4(r1) -/* 80058910 00055870 28 00 00 00 */ cmplwi r0, 0 -/* 80058914 00055874 41 82 00 14 */ beq lbl_80058928 -/* 80058918 00055878 34 79 00 1C */ addic. r3, r25, 0x1c -/* 8005891C 0005587C 41 82 00 0C */ beq lbl_80058928 -/* 80058920 00055880 7F 64 DB 78 */ mr r4, r27 -/* 80058924 00055884 48 2E 85 85 */ bl __ct__6CTokenFRC6CToken -lbl_80058928: -/* 80058928 00055888 80 7F 00 78 */ lwz r3, 0x78(r31) -/* 8005892C 0005588C 28 1B 00 00 */ cmplwi r27, 0 -/* 80058930 00055890 38 03 00 01 */ addi r0, r3, 1 -/* 80058934 00055894 90 1F 00 78 */ stw r0, 0x78(r31) -/* 80058938 00055898 41 82 00 24 */ beq lbl_8005895C -/* 8005893C 0005589C 88 01 00 F4 */ lbz r0, 0xf4(r1) -/* 80058940 000558A0 28 00 00 00 */ cmplwi r0, 0 -/* 80058944 000558A4 41 82 00 10 */ beq lbl_80058954 -/* 80058948 000558A8 7F 63 DB 78 */ mr r3, r27 -/* 8005894C 000558AC 38 80 FF FF */ li r4, -1 -/* 80058950 000558B0 48 2E 84 F1 */ bl __dt__6CTokenFv -lbl_80058954: -/* 80058954 000558B4 38 00 00 00 */ li r0, 0 -/* 80058958 000558B8 98 01 00 F4 */ stb r0, 0xf4(r1) -lbl_8005895C: -/* 8005895C 000558BC 28 1D 00 00 */ cmplwi r29, 0 -/* 80058960 000558C0 41 82 00 0C */ beq lbl_8005896C -/* 80058964 000558C4 7F A3 EB 78 */ mr r3, r29 -/* 80058968 000558C8 48 2E 51 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8005896C: -/* 8005896C 000558CC 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80058970: -/* 80058970 000558D0 7C 1A E0 00 */ cmpw r26, r28 -/* 80058974 000558D4 41 80 FF 0C */ blt lbl_80058880 -/* 80058978 000558D8 48 2F 1E 9D */ bl sub_8034a814 -lbl_8005897C: -/* 8005897C 000558DC 28 1E 00 0C */ cmplwi r30, 0xc -/* 80058980 000558E0 40 81 00 C8 */ ble lbl_80058A48 -/* 80058984 000558E4 38 61 00 84 */ addi r3, r1, 0x84 -/* 80058988 000558E8 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8005898C 000558EC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80058990 000558F0 48 2E 59 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80058994 000558F4 38 7F 00 84 */ addi r3, r31, 0x84 -/* 80058998 000558F8 38 81 00 84 */ addi r4, r1, 0x84 -/* 8005899C 000558FC 48 2E 53 C1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800589A0 00055900 38 61 00 84 */ addi r3, r1, 0x84 -/* 800589A4 00055904 48 2E 51 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800589A8 00055908 80 9F 00 08 */ lwz r4, 8(r31) -/* 800589AC 0005590C 38 61 00 74 */ addi r3, r1, 0x74 -/* 800589B0 00055910 48 1C 42 3D */ bl sub_8021cbec -/* 800589B4 00055914 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800589B8 00055918 38 81 00 74 */ addi r4, r1, 0x74 -/* 800589BC 0005591C 48 2E 57 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800589C0 00055920 38 61 00 74 */ addi r3, r1, 0x74 -/* 800589C4 00055924 48 2E 51 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800589C8 00055928 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) -/* 800589CC 0005592C 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 800589D0 00055930 3B 20 00 7F */ li r25, 0x7f -/* 800589D4 00055934 48 1C 46 1D */ bl "HasTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800589D8 00055938 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800589DC 0005593C 41 82 00 40 */ beq lbl_80058A1C -/* 800589E0 00055940 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) -/* 800589E4 00055944 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 800589E8 00055948 48 1C 42 BD */ bl "GetTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800589EC 0005594C 7C 64 1B 78 */ mr r4, r3 -/* 800589F0 00055950 38 7F 00 84 */ addi r3, r31, 0x84 -/* 800589F4 00055954 38 84 00 30 */ addi r4, r4, 0x30 -/* 800589F8 00055958 48 2E 53 65 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800589FC 0005595C 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) -/* 80058A00 00055960 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 80058A04 00055964 48 1C 42 A1 */ bl "GetTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80058A08 00055968 C0 22 86 9C */ lfs f1, lbl_805AA3BC@sda21(r2) -/* 80058A0C 0005596C C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80058A10 00055970 EF E1 00 32 */ fmuls f31, f1, f0 -/* 80058A14 00055974 F3 E1 C0 08 */ psq_st f31, 8(r1), 1, qr4 -/* 80058A18 00055978 8B 21 00 08 */ lbz r25, 8(r1) -lbl_80058A1C: -/* 80058A1C 0005597C 38 7F 00 84 */ addi r3, r31, 0x84 -/* 80058A20 00055980 48 1B 3C 51 */ bl IsDSPFile__20CScriptStreamedMusicFRCQ24rstl6string -/* 80058A24 00055984 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80058A28 00055988 40 82 00 18 */ bne lbl_80058A40 -/* 80058A2C 0005598C C0 22 86 A0 */ lfs f1, lbl_805AA3C0@sda21(r2) -/* 80058A30 00055990 38 7F 00 84 */ addi r3, r31, 0x84 -/* 80058A34 00055994 57 24 06 3E */ clrlwi r4, r25, 0x18 -/* 80058A38 00055998 FC 40 08 90 */ fmr f2, f1 -/* 80058A3C 0005599C 48 30 D1 7D */ bl "SetDefaultAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" -lbl_80058A40: -/* 80058A40 000559A0 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80058A44 000559A4 48 2E 50 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80058A48: -/* 80058A48 000559A8 80 BF 00 08 */ lwz r5, 8(r31) -/* 80058A4C 000559AC 7F C4 F3 78 */ mr r4, r30 -/* 80058A50 000559B0 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058A54 000559B4 48 00 07 C9 */ bl ReadWorldLayers__12CWorldLayersFR12CInputStream -/* 80058A58 000559B8 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80058A5C 000559BC 28 03 00 00 */ cmplwi r3, 0 -/* 80058A60 000559C0 41 82 00 18 */ beq lbl_80058A78 -/* 80058A64 000559C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80058A68 000559C8 38 80 00 01 */ li r4, 1 -/* 80058A6C 000559CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80058A70 000559D0 7D 89 03 A6 */ mtctr r12 -/* 80058A74 000559D4 4E 80 04 21 */ bctrl -lbl_80058A78: -/* 80058A78 000559D8 38 00 00 00 */ li r0, 0 -/* 80058A7C 000559DC 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 80058A80 000559E0 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80058A84 000559E4 48 2B CE AD */ bl Free__7CMemoryFPCv -/* 80058A88 000559E8 38 80 00 00 */ li r4, 0 -/* 80058A8C 000559EC 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha -/* 80058A90 000559F0 90 9F 00 40 */ stw r4, 0x40(r31) -/* 80058A94 000559F4 38 A0 00 01 */ li r5, 1 -/* 80058A98 000559F8 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l -/* 80058A9C 000559FC 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80058AA0 00055A00 90 9F 00 44 */ stw r4, 0x44(r31) -/* 80058AA4 00055A04 38 80 00 00 */ li r4, 0 -/* 80058AA8 00055A08 90 BF 00 04 */ stw r5, 4(r31) -/* 80058AAC 00055A0C 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 80058AB0 00055A10 48 2E 65 FD */ bl __dt__12CInputStreamFv -lbl_80058AB4: -/* 80058AB4 00055A14 83 5F 00 28 */ lwz r26, 0x28(r31) -/* 80058AB8 00055A18 80 1A 00 08 */ lwz r0, 8(r26) -/* 80058ABC 00055A1C 28 00 00 00 */ cmplwi r0, 0 -/* 80058AC0 00055A20 41 82 00 0C */ beq lbl_80058ACC -/* 80058AC4 00055A24 38 60 00 01 */ li r3, 1 -/* 80058AC8 00055A28 48 00 00 3C */ b lbl_80058B04 -lbl_80058ACC: -/* 80058ACC 00055A2C 88 1A 00 04 */ lbz r0, 4(r26) -/* 80058AD0 00055A30 28 00 00 00 */ cmplwi r0, 0 -/* 80058AD4 00055A34 41 82 00 2C */ beq lbl_80058B00 -/* 80058AD8 00055A38 80 7A 00 00 */ lwz r3, 0(r26) -/* 80058ADC 00055A3C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80058AE0 00055A40 28 00 00 00 */ cmplwi r0, 0 -/* 80058AE4 00055A44 41 82 00 1C */ beq lbl_80058B00 -/* 80058AE8 00055A48 7F 43 D3 78 */ mr r3, r26 -/* 80058AEC 00055A4C 48 2E 83 21 */ bl GetObj__6CTokenFv -/* 80058AF0 00055A50 80 03 00 04 */ lwz r0, 4(r3) -/* 80058AF4 00055A54 38 60 00 01 */ li r3, 1 -/* 80058AF8 00055A58 90 1A 00 08 */ stw r0, 8(r26) -/* 80058AFC 00055A5C 48 00 00 08 */ b lbl_80058B04 -lbl_80058B00: -/* 80058B00 00055A60 38 60 00 00 */ li r3, 0 -lbl_80058B04: -/* 80058B04 00055A64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80058B08 00055A68 40 82 00 0C */ bne lbl_80058B14 -/* 80058B0C 00055A6C 38 60 00 00 */ li r3, 0 -/* 80058B10 00055A70 48 00 02 84 */ b lbl_80058D94 -lbl_80058B14: -/* 80058B14 00055A74 83 3F 00 68 */ lwz r25, 0x68(r31) -/* 80058B18 00055A78 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80058B1C 00055A7C 7C 19 00 00 */ cmpw r25, r0 -/* 80058B20 00055A80 40 82 00 20 */ bne lbl_80058B40 -/* 80058B24 00055A84 7F E3 FB 78 */ mr r3, r31 -/* 80058B28 00055A88 4B FF EB 75 */ bl GetMapWorld__6CWorldCFv -/* 80058B2C 00055A8C 7F E4 FB 78 */ mr r4, r31 -/* 80058B30 00055A90 38 A0 00 00 */ li r5, 0 -/* 80058B34 00055A94 38 C0 27 0F */ li r6, 0x270f -/* 80058B38 00055A98 48 04 86 D1 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii -/* 80058B3C 00055A9C 48 00 00 1C */ b lbl_80058B58 -lbl_80058B40: -/* 80058B40 00055AA0 7F E3 FB 78 */ mr r3, r31 -/* 80058B44 00055AA4 4B FF EB 59 */ bl GetMapWorld__6CWorldCFv -/* 80058B48 00055AA8 7F E4 FB 78 */ mr r4, r31 -/* 80058B4C 00055AAC 7F 25 CB 78 */ mr r5, r25 -/* 80058B50 00055AB0 38 C0 00 03 */ li r6, 3 -/* 80058B54 00055AB4 48 04 86 B5 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii -lbl_80058B58: -/* 80058B58 00055AB8 38 00 00 02 */ li r0, 2 -/* 80058B5C 00055ABC 90 1F 00 04 */ stw r0, 4(r31) -lbl_80058B60: -/* 80058B60 00055AC0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80058B64 00055AC4 80 63 00 08 */ lwz r3, 8(r3) -/* 80058B68 00055AC8 48 04 86 19 */ bl IsMapAreasStreaming__9CMapWorldCFv -/* 80058B6C 00055ACC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80058B70 00055AD0 41 82 00 0C */ beq lbl_80058B7C -/* 80058B74 00055AD4 38 60 00 00 */ li r3, 0 -/* 80058B78 00055AD8 48 00 02 1C */ b lbl_80058D94 -lbl_80058B7C: -/* 80058B7C 00055ADC 38 00 00 03 */ li r0, 3 -/* 80058B80 00055AE0 90 1F 00 04 */ stw r0, 4(r31) -lbl_80058B84: -/* 80058B84 00055AE4 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 80058B88 00055AE8 38 80 00 01 */ li r4, 1 -/* 80058B8C 00055AEC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80058B90 00055AF0 38 60 00 00 */ li r3, 0 -/* 80058B94 00055AF4 98 1F 00 70 */ stb r0, 0x70(r31) -/* 80058B98 00055AF8 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 80058B9C 00055AFC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80058BA0 00055B00 98 1F 00 70 */ stb r0, 0x70(r31) -/* 80058BA4 00055B04 88 1F 00 A0 */ lbz r0, 0xa0(r31) -/* 80058BA8 00055B08 28 00 00 00 */ cmplwi r0, 0 -/* 80058BAC 00055B0C 41 82 01 0C */ beq lbl_80058CB8 -/* 80058BB0 00055B10 3B 3F 00 94 */ addi r25, r31, 0x94 -/* 80058BB4 00055B14 80 1F 00 9C */ lwz r0, 0x9c(r31) -/* 80058BB8 00055B18 28 00 00 00 */ cmplwi r0, 0 -/* 80058BBC 00055B1C 41 82 00 08 */ beq lbl_80058BC4 -/* 80058BC0 00055B20 48 00 00 3C */ b lbl_80058BFC -lbl_80058BC4: -/* 80058BC4 00055B24 88 19 00 04 */ lbz r0, 4(r25) -/* 80058BC8 00055B28 28 00 00 00 */ cmplwi r0, 0 -/* 80058BCC 00055B2C 41 82 00 2C */ beq lbl_80058BF8 -/* 80058BD0 00055B30 80 79 00 00 */ lwz r3, 0(r25) -/* 80058BD4 00055B34 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80058BD8 00055B38 28 00 00 00 */ cmplwi r0, 0 -/* 80058BDC 00055B3C 41 82 00 1C */ beq lbl_80058BF8 -/* 80058BE0 00055B40 7F 23 CB 78 */ mr r3, r25 -/* 80058BE4 00055B44 48 2E 82 29 */ bl GetObj__6CTokenFv -/* 80058BE8 00055B48 80 03 00 04 */ lwz r0, 4(r3) -/* 80058BEC 00055B4C 38 80 00 01 */ li r4, 1 -/* 80058BF0 00055B50 90 19 00 08 */ stw r0, 8(r25) -/* 80058BF4 00055B54 48 00 00 08 */ b lbl_80058BFC -lbl_80058BF8: -/* 80058BF8 00055B58 38 80 00 00 */ li r4, 0 -lbl_80058BFC: -/* 80058BFC 00055B5C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80058C00 00055B60 40 82 00 0C */ bne lbl_80058C0C -/* 80058C04 00055B64 38 60 00 00 */ li r3, 0 -/* 80058C08 00055B68 48 00 01 8C */ b lbl_80058D94 -lbl_80058C0C: -/* 80058C0C 00055B6C 83 3F 00 9C */ lwz r25, 0x9c(r31) -/* 80058C10 00055B70 38 80 00 00 */ li r4, 0 -/* 80058C14 00055B74 7F 23 CB 78 */ mr r3, r25 -/* 80058C18 00055B78 48 2F CA 1D */ bl Touch__6CModelCFi -/* 80058C1C 00055B7C 7F 23 CB 78 */ mr r3, r25 -/* 80058C20 00055B80 38 80 00 00 */ li r4, 0 -/* 80058C24 00055B84 48 2F C9 85 */ bl IsLoaded__6CModelCFi -/* 80058C28 00055B88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80058C2C 00055B8C 40 82 00 0C */ bne lbl_80058C38 -/* 80058C30 00055B90 38 60 00 00 */ li r3, 0 -/* 80058C34 00055B94 48 00 01 60 */ b lbl_80058D94 -lbl_80058C38: -/* 80058C38 00055B98 3B 21 00 68 */ addi r25, r1, 0x68 -/* 80058C3C 00055B9C 38 9F 00 94 */ addi r4, r31, 0x94 -/* 80058C40 00055BA0 7F 23 CB 78 */ mr r3, r25 -/* 80058C44 00055BA4 48 2E 82 65 */ bl __ct__6CTokenFRC6CToken -/* 80058C48 00055BA8 7F 23 CB 78 */ mr r3, r25 -/* 80058C4C 00055BAC 48 2E 81 C1 */ bl GetObj__6CTokenFv -/* 80058C50 00055BB0 80 03 00 04 */ lwz r0, 4(r3) -/* 80058C54 00055BB4 90 01 00 70 */ stw r0, 0x70(r1) -/* 80058C58 00055BB8 88 1F 00 B0 */ lbz r0, 0xb0(r31) -/* 80058C5C 00055BBC 28 00 00 00 */ cmplwi r0, 0 -/* 80058C60 00055BC0 40 82 00 34 */ bne lbl_80058C94 -/* 80058C64 00055BC4 37 3F 00 A4 */ addic. r25, r31, 0xa4 -/* 80058C68 00055BC8 41 82 00 20 */ beq lbl_80058C88 -/* 80058C6C 00055BCC 7F 23 CB 78 */ mr r3, r25 -/* 80058C70 00055BD0 38 81 00 68 */ addi r4, r1, 0x68 -/* 80058C74 00055BD4 48 2E 82 35 */ bl __ct__6CTokenFRC6CToken -/* 80058C78 00055BD8 80 01 00 70 */ lwz r0, 0x70(r1) -/* 80058C7C 00055BDC 7F 23 CB 78 */ mr r3, r25 -/* 80058C80 00055BE0 90 19 00 08 */ stw r0, 8(r25) -/* 80058C84 00055BE4 48 2E 81 01 */ bl Lock__6CTokenFv -lbl_80058C88: -/* 80058C88 00055BE8 38 00 00 01 */ li r0, 1 -/* 80058C8C 00055BEC 98 1F 00 B0 */ stb r0, 0xb0(r31) -/* 80058C90 00055BF0 48 00 00 1C */ b lbl_80058CAC -lbl_80058C94: -/* 80058C94 00055BF4 3B 3F 00 A4 */ addi r25, r31, 0xa4 -/* 80058C98 00055BF8 38 81 00 68 */ addi r4, r1, 0x68 -/* 80058C9C 00055BFC 7F 23 CB 78 */ mr r3, r25 -/* 80058CA0 00055C00 48 2E 80 25 */ bl __as__6CTokenFRC6CToken -/* 80058CA4 00055C04 80 01 00 70 */ lwz r0, 0x70(r1) -/* 80058CA8 00055C08 90 19 00 08 */ stw r0, 8(r25) -lbl_80058CAC: -/* 80058CAC 00055C0C 38 61 00 68 */ addi r3, r1, 0x68 -/* 80058CB0 00055C10 38 80 00 00 */ li r4, 0 -/* 80058CB4 00055C14 48 2E 81 8D */ bl __dt__6CTokenFv -lbl_80058CB8: -/* 80058CB8 00055C18 83 3F 00 80 */ lwz r25, 0x80(r31) -/* 80058CBC 00055C1C 48 00 00 1C */ b lbl_80058CD8 -lbl_80058CC0: -/* 80058CC0 00055C20 88 19 00 24 */ lbz r0, 0x24(r25) -/* 80058CC4 00055C24 28 00 00 00 */ cmplwi r0, 0 -/* 80058CC8 00055C28 41 82 00 0C */ beq lbl_80058CD4 -/* 80058CCC 00055C2C 38 79 00 1C */ addi r3, r25, 0x1c -/* 80058CD0 00055C30 48 2E 80 B5 */ bl Lock__6CTokenFv -lbl_80058CD4: -/* 80058CD4 00055C34 3B 39 00 28 */ addi r25, r25, 0x28 -lbl_80058CD8: -/* 80058CD8 00055C38 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 80058CDC 00055C3C 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 80058CE0 00055C40 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80058CE4 00055C44 7C 03 02 14 */ add r0, r3, r0 -/* 80058CE8 00055C48 7C 19 00 40 */ cmplw r25, r0 -/* 80058CEC 00055C4C 40 82 FF D4 */ bne lbl_80058CC0 -/* 80058CF0 00055C50 38 00 00 04 */ li r0, 4 -/* 80058CF4 00055C54 90 1F 00 04 */ stw r0, 4(r31) -lbl_80058CF8: -/* 80058CF8 00055C58 83 3F 00 80 */ lwz r25, 0x80(r31) -/* 80058CFC 00055C5C 3B 40 00 01 */ li r26, 1 -/* 80058D00 00055C60 48 00 00 50 */ b lbl_80058D50 -lbl_80058D04: -/* 80058D04 00055C64 88 19 00 24 */ lbz r0, 0x24(r25) -/* 80058D08 00055C68 28 00 00 00 */ cmplwi r0, 0 -/* 80058D0C 00055C6C 41 82 00 40 */ beq lbl_80058D4C -/* 80058D10 00055C70 80 79 00 1C */ lwz r3, 0x1c(r25) -/* 80058D14 00055C74 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80058D18 00055C78 28 00 00 00 */ cmplwi r0, 0 -/* 80058D1C 00055C7C 41 82 00 2C */ beq lbl_80058D48 -/* 80058D20 00055C80 88 19 00 08 */ lbz r0, 8(r25) -/* 80058D24 00055C84 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80058D28 00055C88 40 82 00 24 */ bne lbl_80058D4C -/* 80058D2C 00055C8C 80 19 00 00 */ lwz r0, 0(r25) -/* 80058D30 00055C90 7F E3 FB 78 */ mr r3, r31 -/* 80058D34 00055C94 80 B9 00 04 */ lwz r5, 4(r25) -/* 80058D38 00055C98 7F 26 CB 78 */ mr r6, r25 -/* 80058D3C 00055C9C 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 80058D40 00055CA0 4B FF E9 ED */ bl LoadSoundGroup__6CWorldFUcUiRQ26CWorld15CSoundGroupData -/* 80058D44 00055CA4 48 00 00 08 */ b lbl_80058D4C -lbl_80058D48: -/* 80058D48 00055CA8 3B 40 00 00 */ li r26, 0 -lbl_80058D4C: -/* 80058D4C 00055CAC 3B 39 00 28 */ addi r25, r25, 0x28 -lbl_80058D50: -/* 80058D50 00055CB0 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 80058D54 00055CB4 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 80058D58 00055CB8 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80058D5C 00055CBC 7C 03 02 14 */ add r0, r3, r0 -/* 80058D60 00055CC0 7C 19 00 40 */ cmplw r25, r0 -/* 80058D64 00055CC4 40 82 FF A0 */ bne lbl_80058D04 -/* 80058D68 00055CC8 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 80058D6C 00055CCC 40 82 00 0C */ bne lbl_80058D78 -/* 80058D70 00055CD0 38 60 00 00 */ li r3, 0 -/* 80058D74 00055CD4 48 00 00 20 */ b lbl_80058D94 -lbl_80058D78: -/* 80058D78 00055CD8 7F E3 FB 78 */ mr r3, r31 -/* 80058D7C 00055CDC 4B FF EA 8D */ bl LoadSoundGroups__6CWorldFv -/* 80058D80 00055CE0 38 00 00 05 */ li r0, 5 -/* 80058D84 00055CE4 90 1F 00 04 */ stw r0, 4(r31) -lbl_80058D88: -/* 80058D88 00055CE8 38 60 00 01 */ li r3, 1 -/* 80058D8C 00055CEC 48 00 00 08 */ b lbl_80058D94 -lbl_80058D90: -/* 80058D90 00055CF0 38 60 00 00 */ li r3, 0 -lbl_80058D94: -/* 80058D94 00055CF4 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 80058D98 00055CF8 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 80058D9C 00055CFC BB 21 01 24 */ lmw r25, 0x124(r1) -/* 80058DA0 00055D00 80 01 01 54 */ lwz r0, 0x154(r1) -/* 80058DA4 00055D04 7C 08 03 A6 */ mtlr r0 -/* 80058DA8 00055D08 38 21 01 50 */ addi r1, r1, 0x150 -/* 80058DAC 00055D0C 4E 80 00 20 */ blr - -.global sub_80058db0 -sub_80058db0: -/* 80058DB0 00055D10 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80058DB4 00055D14 7C 08 02 A6 */ mflr r0 -/* 80058DB8 00055D18 90 01 00 24 */ stw r0, 0x24(r1) -/* 80058DBC 00055D1C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80058DC0 00055D20 7C 9F 23 78 */ mr r31, r4 -/* 80058DC4 00055D24 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80058DC8 00055D28 7C 7E 1B 78 */ mr r30, r3 -/* 80058DCC 00055D2C 7C 1E F8 40 */ cmplw r30, r31 -/* 80058DD0 00055D30 40 82 00 08 */ bne lbl_80058DD8 -/* 80058DD4 00055D34 48 00 00 D0 */ b lbl_80058EA4 -lbl_80058DD8: -/* 80058DD8 00055D38 80 1E 00 04 */ lwz r0, 4(r30) -/* 80058DDC 00055D3C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80058DE0 00055D40 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80058DE4 00055D44 90 61 00 0C */ stw r3, 0xc(r1) -/* 80058DE8 00055D48 7C 03 02 14 */ add r0, r3, r0 -/* 80058DEC 00055D4C 90 61 00 08 */ stw r3, 8(r1) -/* 80058DF0 00055D50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80058DF4 00055D54 90 01 00 10 */ stw r0, 0x10(r1) -/* 80058DF8 00055D58 48 00 00 08 */ b lbl_80058E00 -lbl_80058DFC: -/* 80058DFC 00055D5C 38 63 00 0C */ addi r3, r3, 0xc -lbl_80058E00: -/* 80058E00 00055D60 7C 03 00 40 */ cmplw r3, r0 -/* 80058E04 00055D64 40 82 FF F8 */ bne lbl_80058DFC -/* 80058E08 00055D68 38 00 00 00 */ li r0, 0 -/* 80058E0C 00055D6C 90 1E 00 04 */ stw r0, 4(r30) -/* 80058E10 00055D70 80 9F 00 04 */ lwz r4, 4(r31) -/* 80058E14 00055D74 2C 04 00 00 */ cmpwi r4, 0 -/* 80058E18 00055D78 40 82 00 28 */ bne lbl_80058E40 -/* 80058E1C 00055D7C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80058E20 00055D80 28 03 00 00 */ cmplwi r3, 0 -/* 80058E24 00055D84 41 82 00 08 */ beq lbl_80058E2C -/* 80058E28 00055D88 48 2B CB 09 */ bl Free__7CMemoryFPCv -lbl_80058E2C: -/* 80058E2C 00055D8C 38 00 00 00 */ li r0, 0 -/* 80058E30 00055D90 90 1E 00 04 */ stw r0, 4(r30) -/* 80058E34 00055D94 90 1E 00 08 */ stw r0, 8(r30) -/* 80058E38 00055D98 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80058E3C 00055D9C 48 00 00 64 */ b lbl_80058EA0 -lbl_80058E40: -/* 80058E40 00055DA0 7F C3 F3 78 */ mr r3, r30 -/* 80058E44 00055DA4 48 00 07 B9 */ bl "reserve__Q24rstl44vectorFi" -/* 80058E48 00055DA8 80 1F 00 04 */ lwz r0, 4(r31) -/* 80058E4C 00055DAC 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 80058E50 00055DB0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80058E54 00055DB4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80058E58 00055DB8 7C 85 02 14 */ add r4, r5, r0 -/* 80058E5C 00055DBC 48 00 00 34 */ b lbl_80058E90 -lbl_80058E60: -/* 80058E60 00055DC0 28 03 00 00 */ cmplwi r3, 0 -/* 80058E64 00055DC4 41 82 00 24 */ beq lbl_80058E88 -/* 80058E68 00055DC8 80 05 00 00 */ lwz r0, 0(r5) -/* 80058E6C 00055DCC 90 03 00 00 */ stw r0, 0(r3) -/* 80058E70 00055DD0 80 05 00 04 */ lwz r0, 4(r5) -/* 80058E74 00055DD4 90 03 00 04 */ stw r0, 4(r3) -/* 80058E78 00055DD8 A0 05 00 08 */ lhz r0, 8(r5) -/* 80058E7C 00055DDC B0 03 00 08 */ sth r0, 8(r3) -/* 80058E80 00055DE0 88 05 00 0A */ lbz r0, 0xa(r5) -/* 80058E84 00055DE4 98 03 00 0A */ stb r0, 0xa(r3) -lbl_80058E88: -/* 80058E88 00055DE8 38 63 00 0C */ addi r3, r3, 0xc -/* 80058E8C 00055DEC 38 A5 00 0C */ addi r5, r5, 0xc -lbl_80058E90: -/* 80058E90 00055DF0 7C 05 20 40 */ cmplw r5, r4 -/* 80058E94 00055DF4 40 82 FF CC */ bne lbl_80058E60 -/* 80058E98 00055DF8 80 1F 00 04 */ lwz r0, 4(r31) -/* 80058E9C 00055DFC 90 1E 00 04 */ stw r0, 4(r30) -lbl_80058EA0: -/* 80058EA0 00055E00 7F C3 F3 78 */ mr r3, r30 -lbl_80058EA4: -/* 80058EA4 00055E04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80058EA8 00055E08 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80058EAC 00055E0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80058EB0 00055E10 7C 08 03 A6 */ mtlr r0 -/* 80058EB4 00055E14 38 21 00 20 */ addi r1, r1, 0x20 -/* 80058EB8 00055E18 4E 80 00 20 */ blr - -.global __ct__6CWorldFR12IObjectStoreR11CResFactoryUi -__ct__6CWorldFR12IObjectStoreR11CResFactoryUi: -/* 80058EBC 00055E1C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80058EC0 00055E20 7C 08 02 A6 */ mflr r0 -/* 80058EC4 00055E24 3D 00 80 3E */ lis r8, lbl_803DA04C@ha -/* 80058EC8 00055E28 3C E0 80 3E */ lis r7, lbl_803DA014@ha -/* 80058ECC 00055E2C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80058ED0 00055E30 38 07 A0 14 */ addi r0, r7, lbl_803DA014@l -/* 80058ED4 00055E34 39 08 A0 4C */ addi r8, r8, lbl_803DA04C@l -/* 80058ED8 00055E38 39 20 00 00 */ li r9, 0 -/* 80058EDC 00055E3C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80058EE0 00055E40 7C BF 2B 78 */ mr r31, r5 -/* 80058EE4 00055E44 38 E0 00 01 */ li r7, 1 -/* 80058EE8 00055E48 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 80058EEC 00055E4C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80058EF0 00055E50 7C 7E 1B 78 */ mr r30, r3 -/* 80058EF4 00055E54 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha -/* 80058EF8 00055E58 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80058EFC 00055E5C 91 1E 00 00 */ stw r8, 0(r30) -/* 80058F00 00055E60 39 00 FF FF */ li r8, -1 -/* 80058F04 00055E64 90 1E 00 00 */ stw r0, 0(r30) -/* 80058F08 00055E68 38 03 56 4C */ addi r0, r3, 0x4D4C564C@l -/* 80058F0C 00055E6C 91 3E 00 04 */ stw r9, 4(r30) -/* 80058F10 00055E70 90 DE 00 08 */ stw r6, 8(r30) -/* 80058F14 00055E74 91 1E 00 0C */ stw r8, 0xc(r30) -/* 80058F18 00055E78 91 1E 00 10 */ stw r8, 0x10(r30) -/* 80058F1C 00055E7C 91 3E 00 18 */ stw r9, 0x18(r30) -/* 80058F20 00055E80 91 3E 00 1C */ stw r9, 0x1c(r30) -/* 80058F24 00055E84 91 3E 00 20 */ stw r9, 0x20(r30) -/* 80058F28 00055E88 91 1E 00 24 */ stw r8, 0x24(r30) -/* 80058F2C 00055E8C 91 3E 00 28 */ stw r9, 0x28(r30) -/* 80058F30 00055E90 91 3E 00 30 */ stw r9, 0x30(r30) -/* 80058F34 00055E94 91 3E 00 34 */ stw r9, 0x34(r30) -/* 80058F38 00055E98 91 3E 00 38 */ stw r9, 0x38(r30) -/* 80058F3C 00055E9C 91 3E 00 3C */ stw r9, 0x3c(r30) -/* 80058F40 00055EA0 91 3E 00 40 */ stw r9, 0x40(r30) -/* 80058F44 00055EA4 91 3E 00 44 */ stw r9, 0x44(r30) -/* 80058F48 00055EA8 91 3E 00 48 */ stw r9, 0x48(r30) -/* 80058F4C 00055EAC 90 9E 00 60 */ stw r4, 0x60(r30) -/* 80058F50 00055EB0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80058F54 00055EB4 93 FE 00 64 */ stw r31, 0x64(r30) -/* 80058F58 00055EB8 80 6D A3 90 */ lwz r3, lbl_805A8F50@sda21(r13) -/* 80058F5C 00055EBC 90 7E 00 68 */ stw r3, 0x68(r30) -/* 80058F60 00055EC0 91 3E 00 6C */ stw r9, 0x6c(r30) -/* 80058F64 00055EC4 88 7E 00 70 */ lbz r3, 0x70(r30) -/* 80058F68 00055EC8 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18 -/* 80058F6C 00055ECC 98 7E 00 70 */ stb r3, 0x70(r30) -/* 80058F70 00055ED0 88 7E 00 70 */ lbz r3, 0x70(r30) -/* 80058F74 00055ED4 51 23 36 72 */ rlwimi r3, r9, 6, 0x19, 0x19 -/* 80058F78 00055ED8 98 7E 00 70 */ stb r3, 0x70(r30) -/* 80058F7C 00055EDC 88 7E 00 70 */ lbz r3, 0x70(r30) -/* 80058F80 00055EE0 51 23 2E B4 */ rlwimi r3, r9, 5, 0x1a, 0x1a -/* 80058F84 00055EE4 98 7E 00 70 */ stb r3, 0x70(r30) -/* 80058F88 00055EE8 88 7E 00 70 */ lbz r3, 0x70(r30) -/* 80058F8C 00055EEC 51 23 26 F6 */ rlwimi r3, r9, 4, 0x1b, 0x1b -/* 80058F90 00055EF0 98 7E 00 70 */ stb r3, 0x70(r30) -/* 80058F94 00055EF4 91 3E 00 78 */ stw r9, 0x78(r30) -/* 80058F98 00055EF8 91 3E 00 7C */ stw r9, 0x7c(r30) -/* 80058F9C 00055EFC 91 3E 00 80 */ stw r9, 0x80(r30) -/* 80058FA0 00055F00 90 BE 00 84 */ stw r5, 0x84(r30) -/* 80058FA4 00055F04 91 3E 00 88 */ stw r9, 0x88(r30) -/* 80058FA8 00055F08 91 3E 00 8C */ stw r9, 0x8c(r30) -/* 80058FAC 00055F0C 99 3E 00 A0 */ stb r9, 0xa0(r30) -/* 80058FB0 00055F10 99 3E 00 B0 */ stb r9, 0xb0(r30) -/* 80058FB4 00055F14 99 3E 00 C0 */ stb r9, 0xc0(r30) -/* 80058FB8 00055F18 91 3E 00 C4 */ stw r9, 0xc4(r30) -/* 80058FBC 00055F1C 91 3E 00 C8 */ stw r9, 0xc8(r30) -/* 80058FC0 00055F20 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80058FC4 00055F24 90 01 00 10 */ stw r0, 0x10(r1) -/* 80058FC8 00055F28 38 63 00 04 */ addi r3, r3, 4 -/* 80058FCC 00055F2C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80058FD0 00055F30 48 2E 2C 81 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag -/* 80058FD4 00055F34 3C A0 80 3D */ lis r5, lbl_803CCF70@ha -/* 80058FD8 00055F38 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 80058FDC 00055F3C 90 7E 00 44 */ stw r3, 0x44(r30) -/* 80058FE0 00055F40 38 A5 CF 70 */ addi r5, r5, lbl_803CCF70@l -/* 80058FE4 00055F44 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80058FE8 00055F48 38 61 00 08 */ addi r3, r1, 8 -/* 80058FEC 00055F4C 38 A5 00 01 */ addi r5, r5, 1 -/* 80058FF0 00055F50 38 80 FF FF */ li r4, -1 -/* 80058FF4 00055F54 48 27 D3 E1 */ bl __ct__10CCallStackFUiPCcPCc -/* 80058FF8 00055F58 7C 67 1B 78 */ mr r7, r3 -/* 80058FFC 00055F5C 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 80059000 00055F60 38 80 00 02 */ li r4, 2 -/* 80059004 00055F64 38 A0 00 01 */ li r5, 1 -/* 80059008 00055F68 38 C0 00 00 */ li r6, 0 -/* 8005900C 00055F6C 48 2B C9 89 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80059010 00055F70 7C 7D 1B 78 */ mr r29, r3 -/* 80059014 00055F74 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 80059018 00055F78 48 2B C9 19 */ bl Free__7CMemoryFPCv -/* 8005901C 00055F7C 93 BE 00 40 */ stw r29, 0x40(r30) -/* 80059020 00055F80 38 7F 00 04 */ addi r3, r31, 4 -/* 80059024 00055F84 38 81 00 10 */ addi r4, r1, 0x10 -/* 80059028 00055F88 80 BE 00 40 */ lwz r5, 0x40(r30) -/* 8005902C 00055F8C 48 2E 2B 4D */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc -/* 80059030 00055F90 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80059034 00055F94 7C 7F 1B 78 */ mr r31, r3 -/* 80059038 00055F98 28 00 00 00 */ cmplwi r0, 0 -/* 8005903C 00055F9C 41 82 00 1C */ beq lbl_80059058 -/* 80059040 00055FA0 7C 03 03 78 */ mr r3, r0 -/* 80059044 00055FA4 38 80 00 01 */ li r4, 1 -/* 80059048 00055FA8 81 83 00 00 */ lwz r12, 0(r3) -/* 8005904C 00055FAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80059050 00055FB0 7D 89 03 A6 */ mtctr r12 -/* 80059054 00055FB4 4E 80 04 21 */ bctrl -lbl_80059058: -/* 80059058 00055FB8 93 FE 00 3C */ stw r31, 0x3c(r30) -/* 8005905C 00055FBC 7F C3 F3 78 */ mr r3, r30 -/* 80059060 00055FC0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80059064 00055FC4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80059068 00055FC8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8005906C 00055FCC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80059070 00055FD0 7C 08 03 A6 */ mtlr r0 -/* 80059074 00055FD4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80059078 00055FD8 4E 80 00 20 */ blr - -.global __ct__Q26CWorld15CSoundGroupDataFiUi -__ct__Q26CWorld15CSoundGroupDataFiUi: -/* 8005907C 00055FDC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80059080 00055FE0 7C 08 02 A6 */ mflr r0 -/* 80059084 00055FE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80059088 00055FE8 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 8005908C 00055FEC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80059090 00055FF0 7C BF 2B 78 */ mr r31, r5 -/* 80059094 00055FF4 38 A0 00 00 */ li r5, 0 -/* 80059098 00055FF8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005909C 00055FFC 7C 7E 1B 78 */ mr r30, r3 -/* 800590A0 00056000 90 83 00 00 */ stw r4, 0(r3) -/* 800590A4 00056004 7F E3 FB 78 */ mr r3, r31 -/* 800590A8 00056008 93 FE 00 04 */ stw r31, 4(r30) -/* 800590AC 0005600C 88 9E 00 08 */ lbz r4, 8(r30) -/* 800590B0 00056010 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 -/* 800590B4 00056014 98 9E 00 08 */ stb r4, 8(r30) -/* 800590B8 00056018 88 9E 00 08 */ lbz r4, 8(r30) -/* 800590BC 0005601C 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 -/* 800590C0 00056020 98 9E 00 08 */ stb r4, 8(r30) -/* 800590C4 00056024 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800590C8 00056028 90 BE 00 10 */ stw r5, 0x10(r30) -/* 800590CC 0005602C 90 BE 00 14 */ stw r5, 0x14(r30) -/* 800590D0 00056030 98 BE 00 24 */ stb r5, 0x24(r30) -/* 800590D4 00056034 48 2F 27 71 */ bl SysGetGroupSetName__9CAudioSysFUi -/* 800590D8 00056038 48 2F 2F 81 */ bl "SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800590DC 0005603C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800590E0 00056040 40 82 00 70 */ bne lbl_80059150 -/* 800590E4 00056044 3C 60 41 47 */ lis r3, 0x41475343@ha -/* 800590E8 00056048 93 E1 00 14 */ stw r31, 0x14(r1) -/* 800590EC 0005604C 38 03 53 43 */ addi r0, r3, 0x41475343@l -/* 800590F0 00056050 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800590F4 00056054 90 01 00 10 */ stw r0, 0x10(r1) -/* 800590F8 00056058 38 61 00 08 */ addi r3, r1, 8 -/* 800590FC 0005605C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80059100 00056060 81 84 00 00 */ lwz r12, 0(r4) -/* 80059104 00056064 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80059108 00056068 7D 89 03 A6 */ mtctr r12 -/* 8005910C 0005606C 4E 80 04 21 */ bctrl -/* 80059110 00056070 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 80059114 00056074 28 00 00 00 */ cmplwi r0, 0 -/* 80059118 00056078 40 82 00 20 */ bne lbl_80059138 -/* 8005911C 0005607C 34 7E 00 1C */ addic. r3, r30, 0x1c -/* 80059120 00056080 41 82 00 0C */ beq lbl_8005912C -/* 80059124 00056084 38 81 00 08 */ addi r4, r1, 8 -/* 80059128 00056088 48 2E 7D 81 */ bl __ct__6CTokenFRC6CToken -lbl_8005912C: -/* 8005912C 0005608C 38 00 00 01 */ li r0, 1 -/* 80059130 00056090 98 1E 00 24 */ stb r0, 0x24(r30) -/* 80059134 00056094 48 00 00 10 */ b lbl_80059144 -lbl_80059138: -/* 80059138 00056098 38 7E 00 1C */ addi r3, r30, 0x1c -/* 8005913C 0005609C 38 81 00 08 */ addi r4, r1, 8 -/* 80059140 000560A0 48 2E 7B 85 */ bl __as__6CTokenFRC6CToken -lbl_80059144: -/* 80059144 000560A4 38 61 00 08 */ addi r3, r1, 8 -/* 80059148 000560A8 38 80 FF FF */ li r4, -1 -/* 8005914C 000560AC 48 2E 7C F5 */ bl __dt__6CTokenFv -lbl_80059150: -/* 80059150 000560B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80059154 000560B4 7F C3 F3 78 */ mr r3, r30 -/* 80059158 000560B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005915C 000560BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80059160 000560C0 7C 08 03 A6 */ mtlr r0 -/* 80059164 000560C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80059168 000560C8 4E 80 00 20 */ blr - -.global __dt__6IWorldFv -__dt__6IWorldFv: -/* 8005916C 000560CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80059170 000560D0 7C 08 02 A6 */ mflr r0 -/* 80059174 000560D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80059178 000560D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005917C 000560DC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80059180 000560E0 41 82 00 1C */ beq lbl_8005919C -/* 80059184 000560E4 3C A0 80 3E */ lis r5, lbl_803DA04C@ha -/* 80059188 000560E8 7C 80 07 35 */ extsh. r0, r4 -/* 8005918C 000560EC 38 05 A0 4C */ addi r0, r5, lbl_803DA04C@l -/* 80059190 000560F0 90 1F 00 00 */ stw r0, 0(r31) -/* 80059194 000560F4 40 81 00 08 */ ble lbl_8005919C -/* 80059198 000560F8 48 2B C7 99 */ bl Free__7CMemoryFPCv -lbl_8005919C: -/* 8005919C 000560FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800591A0 00056100 7F E3 FB 78 */ mr r3, r31 -/* 800591A4 00056104 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800591A8 00056108 7C 08 03 A6 */ mtlr r0 -/* 800591AC 0005610C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800591B0 00056110 4E 80 00 20 */ blr - -.global __ct__6CRelayFR12CInputStream -__ct__6CRelayFR12CInputStream: -/* 800591B4 00056114 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800591B8 00056118 7C 08 02 A6 */ mflr r0 -/* 800591BC 0005611C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800591C0 00056120 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800591C4 00056124 7C 9F 23 78 */ mr r31, r4 -/* 800591C8 00056128 93 C1 00 08 */ stw r30, 8(r1) -/* 800591CC 0005612C 7C 7E 1B 78 */ mr r30, r3 -/* 800591D0 00056130 7F E3 FB 78 */ mr r3, r31 -/* 800591D4 00056134 48 2E 5A B1 */ bl ReadLong__12CInputStreamFv -/* 800591D8 00056138 90 7E 00 00 */ stw r3, 0(r30) -/* 800591DC 0005613C 7F E3 FB 78 */ mr r3, r31 -/* 800591E0 00056140 48 2E 5A A5 */ bl ReadLong__12CInputStreamFv -/* 800591E4 00056144 90 7E 00 04 */ stw r3, 4(r30) -/* 800591E8 00056148 7F E3 FB 78 */ mr r3, r31 -/* 800591EC 0005614C 48 2E 5A C5 */ bl ReadShort__12CInputStreamFv -/* 800591F0 00056150 B0 7E 00 08 */ sth r3, 8(r30) -/* 800591F4 00056154 7F E3 FB 78 */ mr r3, r31 -/* 800591F8 00056158 48 2E 5A E5 */ bl ReadBool__12CInputStreamFv -/* 800591FC 0005615C 98 7E 00 0A */ stb r3, 0xa(r30) -/* 80059200 00056160 7F C3 F3 78 */ mr r3, r30 -/* 80059204 00056164 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80059208 00056168 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005920C 0005616C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80059210 00056170 7C 08 03 A6 */ mtlr r0 -/* 80059214 00056174 38 21 00 10 */ addi r1, r1, 0x10 -/* 80059218 00056178 4E 80 00 20 */ blr - -.global ReadWorldLayers__12CWorldLayersFR12CInputStream -ReadWorldLayers__12CWorldLayersFR12CInputStream: -/* 8005921C 0005617C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80059220 00056180 7C 08 02 A6 */ mflr r0 -/* 80059224 00056184 28 04 00 0E */ cmplwi r4, 0xe -/* 80059228 00056188 90 01 00 64 */ stw r0, 0x64(r1) -/* 8005922C 0005618C BF 41 00 48 */ stmw r26, 0x48(r1) -/* 80059230 00056190 7C 7E 1B 78 */ mr r30, r3 -/* 80059234 00056194 7C BF 2B 78 */ mr r31, r5 -/* 80059238 00056198 40 81 02 70 */ ble lbl_800594A8 -/* 8005923C 0005619C 7F C4 F3 78 */ mr r4, r30 -/* 80059240 000561A0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80059244 000561A4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80059248 000561A8 48 00 02 D9 */ bl sub_80059520 -/* 8005924C 000561AC 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80059250 000561B0 38 60 00 10 */ li r3, 0x10 -/* 80059254 000561B4 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 80059258 000561B8 38 A0 00 00 */ li r5, 0 -/* 8005925C 000561BC 38 84 00 01 */ addi r4, r4, 1 -/* 80059260 000561C0 48 2B C6 0D */ bl __nw__FUlPCcPCc -/* 80059264 000561C4 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80059268 000561C8 41 82 00 B4 */ beq lbl_8005931C -/* 8005926C 000561CC 38 00 00 00 */ li r0, 0 -/* 80059270 000561D0 7F C3 F3 78 */ mr r3, r30 -/* 80059274 000561D4 90 1D 00 04 */ stw r0, 4(r29) -/* 80059278 000561D8 90 1D 00 08 */ stw r0, 8(r29) -/* 8005927C 000561DC 90 1D 00 0C */ stw r0, 0xc(r29) -/* 80059280 000561E0 48 2E 5A 05 */ bl ReadLong__12CInputStreamFv -/* 80059284 000561E4 7C 7A 1B 78 */ mr r26, r3 -/* 80059288 000561E8 7F A3 EB 78 */ mr r3, r29 -/* 8005928C 000561EC 7F 44 D3 78 */ mr r4, r26 -/* 80059290 000561F0 48 00 09 25 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -/* 80059294 000561F4 3B 81 00 08 */ addi r28, r1, 8 -/* 80059298 000561F8 3B 60 00 00 */ li r27, 0 -/* 8005929C 000561FC 48 00 00 78 */ b lbl_80059314 -lbl_800592A0: -/* 800592A0 00056200 88 0D A2 20 */ lbz r0, lbl_805A8DE0@sda21(r13) -/* 800592A4 00056204 7F C4 F3 78 */ mr r4, r30 -/* 800592A8 00056208 7F 85 E3 78 */ mr r5, r28 -/* 800592AC 0005620C 38 61 00 28 */ addi r3, r1, 0x28 -/* 800592B0 00056210 98 01 00 08 */ stb r0, 8(r1) -/* 800592B4 00056214 48 00 02 09 */ bl sub_800594bc -/* 800592B8 00056218 80 1D 00 04 */ lwz r0, 4(r29) -/* 800592BC 0005621C 80 BD 00 08 */ lwz r5, 8(r29) -/* 800592C0 00056220 7C 00 28 00 */ cmpw r0, r5 -/* 800592C4 00056224 41 80 00 1C */ blt lbl_800592E0 -/* 800592C8 00056228 2C 05 00 00 */ cmpwi r5, 0 -/* 800592CC 0005622C 7F A3 EB 78 */ mr r3, r29 -/* 800592D0 00056230 38 80 00 04 */ li r4, 4 -/* 800592D4 00056234 41 82 00 08 */ beq lbl_800592DC -/* 800592D8 00056238 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800592DC: -/* 800592DC 0005623C 48 00 08 D9 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -lbl_800592E0: -/* 800592E0 00056240 80 1D 00 04 */ lwz r0, 4(r29) -/* 800592E4 00056244 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 800592E8 00056248 54 00 20 36 */ slwi r0, r0, 4 -/* 800592EC 0005624C 7C 63 02 15 */ add. r3, r3, r0 -/* 800592F0 00056250 41 82 00 0C */ beq lbl_800592FC -/* 800592F4 00056254 38 81 00 28 */ addi r4, r1, 0x28 -/* 800592F8 00056258 48 2E 4E 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_800592FC: -/* 800592FC 0005625C 80 9D 00 04 */ lwz r4, 4(r29) -/* 80059300 00056260 38 61 00 28 */ addi r3, r1, 0x28 -/* 80059304 00056264 38 04 00 01 */ addi r0, r4, 1 -/* 80059308 00056268 90 1D 00 04 */ stw r0, 4(r29) -/* 8005930C 0005626C 48 2E 47 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80059310 00056270 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80059314: -/* 80059314 00056274 7C 1B D0 00 */ cmpw r27, r26 -/* 80059318 00056278 41 80 FF 88 */ blt lbl_800592A0 -lbl_8005931C: -/* 8005931C 0005627C 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80059320 00056280 38 60 00 08 */ li r3, 8 -/* 80059324 00056284 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 80059328 00056288 38 A0 00 00 */ li r5, 0 -/* 8005932C 0005628C 38 84 00 01 */ addi r4, r4, 1 -/* 80059330 00056290 48 2B C5 3D */ bl __nw__FUlPCcPCc -/* 80059334 00056294 28 03 00 00 */ cmplwi r3, 0 -/* 80059338 00056298 41 82 00 10 */ beq lbl_80059348 -/* 8005933C 0005629C 93 A3 00 00 */ stw r29, 0(r3) -/* 80059340 000562A0 38 00 00 01 */ li r0, 1 -/* 80059344 000562A4 90 03 00 04 */ stw r0, 4(r3) -lbl_80059348: -/* 80059348 000562A8 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 8005934C 000562AC 90 61 00 24 */ stw r3, 0x24(r1) -/* 80059350 000562B0 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 80059354 000562B4 38 60 00 10 */ li r3, 0x10 -/* 80059358 000562B8 38 84 00 01 */ addi r4, r4, 1 -/* 8005935C 000562BC 38 A0 00 00 */ li r5, 0 -/* 80059360 000562C0 48 2B C5 0D */ bl __nw__FUlPCcPCc -/* 80059364 000562C4 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80059368 000562C8 41 82 00 98 */ beq lbl_80059400 -/* 8005936C 000562CC 38 00 00 00 */ li r0, 0 -/* 80059370 000562D0 7F C3 F3 78 */ mr r3, r30 -/* 80059374 000562D4 90 1B 00 04 */ stw r0, 4(r27) -/* 80059378 000562D8 90 1B 00 08 */ stw r0, 8(r27) -/* 8005937C 000562DC 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80059380 000562E0 48 2E 59 05 */ bl ReadLong__12CInputStreamFv -/* 80059384 000562E4 7C 7A 1B 78 */ mr r26, r3 -/* 80059388 000562E8 7F 63 DB 78 */ mr r3, r27 -/* 8005938C 000562EC 7F 44 D3 78 */ mr r4, r26 -/* 80059390 000562F0 48 00 09 19 */ bl "reserve__Q24rstl36vectorFi" -/* 80059394 000562F4 3B 80 00 00 */ li r28, 0 -/* 80059398 000562F8 48 00 00 60 */ b lbl_800593F8 -lbl_8005939C: -/* 8005939C 000562FC 7F C3 F3 78 */ mr r3, r30 -/* 800593A0 00056300 48 2E 58 E5 */ bl ReadLong__12CInputStreamFv -/* 800593A4 00056304 80 1B 00 04 */ lwz r0, 4(r27) -/* 800593A8 00056308 7C 7D 1B 78 */ mr r29, r3 -/* 800593AC 0005630C 80 BB 00 08 */ lwz r5, 8(r27) -/* 800593B0 00056310 7C 00 28 00 */ cmpw r0, r5 -/* 800593B4 00056314 41 80 00 1C */ blt lbl_800593D0 -/* 800593B8 00056318 2C 05 00 00 */ cmpwi r5, 0 -/* 800593BC 0005631C 7F 63 DB 78 */ mr r3, r27 -/* 800593C0 00056320 38 80 00 04 */ li r4, 4 -/* 800593C4 00056324 41 82 00 08 */ beq lbl_800593CC -/* 800593C8 00056328 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800593CC: -/* 800593CC 0005632C 48 00 08 DD */ bl "reserve__Q24rstl36vectorFi" -lbl_800593D0: -/* 800593D0 00056330 80 1B 00 04 */ lwz r0, 4(r27) -/* 800593D4 00056334 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 800593D8 00056338 54 00 10 3A */ slwi r0, r0, 2 -/* 800593DC 0005633C 7C 63 02 15 */ add. r3, r3, r0 -/* 800593E0 00056340 41 82 00 08 */ beq lbl_800593E8 -/* 800593E4 00056344 93 A3 00 00 */ stw r29, 0(r3) -lbl_800593E8: -/* 800593E8 00056348 80 7B 00 04 */ lwz r3, 4(r27) -/* 800593EC 0005634C 3B 9C 00 01 */ addi r28, r28, 1 -/* 800593F0 00056350 38 03 00 01 */ addi r0, r3, 1 -/* 800593F4 00056354 90 1B 00 04 */ stw r0, 4(r27) -lbl_800593F8: -/* 800593F8 00056358 7C 1C D0 00 */ cmpw r28, r26 -/* 800593FC 0005635C 41 80 FF A0 */ blt lbl_8005939C -lbl_80059400: -/* 80059400 00056360 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80059404 00056364 38 60 00 08 */ li r3, 8 -/* 80059408 00056368 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 8005940C 0005636C 38 A0 00 00 */ li r5, 0 -/* 80059410 00056370 38 84 00 01 */ addi r4, r4, 1 -/* 80059414 00056374 48 2B C4 59 */ bl __nw__FUlPCcPCc -/* 80059418 00056378 28 03 00 00 */ cmplwi r3, 0 -/* 8005941C 0005637C 41 82 00 10 */ beq lbl_8005942C -/* 80059420 00056380 93 63 00 00 */ stw r27, 0(r3) -/* 80059424 00056384 38 00 00 01 */ li r0, 1 -/* 80059428 00056388 90 03 00 04 */ stw r0, 4(r3) -lbl_8005942C: -/* 8005942C 0005638C 90 61 00 20 */ stw r3, 0x20(r1) -/* 80059430 00056390 7F E4 FB 78 */ mr r4, r31 -/* 80059434 00056394 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80059438 00056398 48 17 A5 A1 */ bl StateForWorld__10CGameStateFUi -/* 8005943C 0005639C 48 17 B8 F9 */ bl GetLayerState__11CWorldStateFv -/* 80059440 000563A0 80 63 00 00 */ lwz r3, 0(r3) -/* 80059444 000563A4 38 81 00 38 */ addi r4, r1, 0x38 -/* 80059448 000563A8 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8005944C 000563AC 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80059450 000563B0 80 63 00 00 */ lwz r3, 0(r3) -/* 80059454 000563B4 48 1D AB 75 */ bl "InitializeWorldLayers__16CWorldLayerStateFQ24rstl6vector" -/* 80059458 000563B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005945C 000563BC 48 00 0A 09 */ bl sub_80059e64 -/* 80059460 000563C0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80059464 000563C4 48 00 09 35 */ bl sub_80059d98 -/* 80059468 000563C8 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8005946C 000563CC 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80059470 000563D0 54 00 20 36 */ slwi r0, r0, 4 -/* 80059474 000563D4 7C 03 02 14 */ add r0, r3, r0 -/* 80059478 000563D8 90 61 00 14 */ stw r3, 0x14(r1) -/* 8005947C 000563DC 7C 64 1B 78 */ mr r4, r3 -/* 80059480 000563E0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80059484 000563E4 90 01 00 18 */ stw r0, 0x18(r1) -/* 80059488 000563E8 90 61 00 10 */ stw r3, 0x10(r1) -/* 8005948C 000563EC 48 00 00 08 */ b lbl_80059494 -lbl_80059490: -/* 80059490 000563F0 38 84 00 10 */ addi r4, r4, 0x10 -lbl_80059494: -/* 80059494 000563F4 7C 04 00 40 */ cmplw r4, r0 -/* 80059498 000563F8 40 82 FF F8 */ bne lbl_80059490 -/* 8005949C 000563FC 28 03 00 00 */ cmplwi r3, 0 -/* 800594A0 00056400 41 82 00 08 */ beq lbl_800594A8 -/* 800594A4 00056404 48 2B C4 8D */ bl Free__7CMemoryFPCv -lbl_800594A8: -/* 800594A8 00056408 BB 41 00 48 */ lmw r26, 0x48(r1) -/* 800594AC 0005640C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800594B0 00056410 7C 08 03 A6 */ mtlr r0 -/* 800594B4 00056414 38 21 00 60 */ addi r1, r1, 0x60 -/* 800594B8 00056418 4E 80 00 20 */ blr - -.global sub_800594bc -sub_800594bc: -/* 800594BC 0005641C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800594C0 00056420 7C 08 02 A6 */ mflr r0 -/* 800594C4 00056424 7C 85 23 78 */ mr r5, r4 -/* 800594C8 00056428 90 01 00 24 */ stw r0, 0x24(r1) -/* 800594CC 0005642C 38 81 00 08 */ addi r4, r1, 8 -/* 800594D0 00056430 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800594D4 00056434 7C 7F 1B 78 */ mr r31, r3 -/* 800594D8 00056438 88 0D A2 24 */ lbz r0, lbl_805A8DE4@sda21(r13) -/* 800594DC 0005643C 98 01 00 08 */ stb r0, 8(r1) -/* 800594E0 00056440 48 00 00 19 */ bl sub_800594f8 -/* 800594E4 00056444 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800594E8 00056448 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800594EC 0005644C 7C 08 03 A6 */ mtlr r0 -/* 800594F0 00056450 38 21 00 20 */ addi r1, r1, 0x20 -/* 800594F4 00056454 4E 80 00 20 */ blr - -.global sub_800594f8 -sub_800594f8: -/* 800594F8 00056458 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800594FC 0005645C 7C 08 02 A6 */ mflr r0 -/* 80059500 00056460 7C A4 2B 78 */ mr r4, r5 -/* 80059504 00056464 90 01 00 14 */ stw r0, 0x14(r1) -/* 80059508 00056468 38 A1 00 08 */ addi r5, r1, 8 -/* 8005950C 0005646C 48 2E 4D ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80059510 00056470 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80059514 00056474 7C 08 03 A6 */ mtlr r0 -/* 80059518 00056478 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005951C 0005647C 4E 80 00 20 */ blr - -.global sub_80059520 -sub_80059520: -/* 80059520 00056480 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80059524 00056484 7C 08 02 A6 */ mflr r0 -/* 80059528 00056488 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005952C 0005648C 38 00 00 00 */ li r0, 0 -/* 80059530 00056490 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80059534 00056494 7C 79 1B 78 */ mr r25, r3 -/* 80059538 00056498 7C 9A 23 78 */ mr r26, r4 -/* 8005953C 0005649C 90 03 00 04 */ stw r0, 4(r3) -/* 80059540 000564A0 7F 43 D3 78 */ mr r3, r26 -/* 80059544 000564A4 90 19 00 08 */ stw r0, 8(r25) -/* 80059548 000564A8 90 19 00 0C */ stw r0, 0xc(r25) -/* 8005954C 000564AC 48 2E 57 39 */ bl ReadLong__12CInputStreamFv -/* 80059550 000564B0 7C 7C 1B 78 */ mr r28, r3 -/* 80059554 000564B4 7F 23 CB 78 */ mr r3, r25 -/* 80059558 000564B8 7F 84 E3 78 */ mr r4, r28 -/* 8005955C 000564BC 48 00 05 59 */ bl sub_80059ab4 -/* 80059560 000564C0 3B 60 00 00 */ li r27, 0 -/* 80059564 000564C4 48 00 00 78 */ b lbl_800595DC -lbl_80059568: -/* 80059568 000564C8 7F 43 D3 78 */ mr r3, r26 -/* 8005956C 000564CC 48 2E 57 19 */ bl ReadLong__12CInputStreamFv -/* 80059570 000564D0 7C 7D 1B 78 */ mr r29, r3 -/* 80059574 000564D4 7F 43 D3 78 */ mr r3, r26 -/* 80059578 000564D8 48 2E 56 DD */ bl ReadLongLong__12CInputStreamFv -/* 8005957C 000564DC 80 19 00 04 */ lwz r0, 4(r25) -/* 80059580 000564E0 7C 9E 23 78 */ mr r30, r4 -/* 80059584 000564E4 80 B9 00 08 */ lwz r5, 8(r25) -/* 80059588 000564E8 7C 7F 1B 78 */ mr r31, r3 -/* 8005958C 000564EC 7C 00 28 00 */ cmpw r0, r5 -/* 80059590 000564F0 41 80 00 1C */ blt lbl_800595AC -/* 80059594 000564F4 2C 05 00 00 */ cmpwi r5, 0 -/* 80059598 000564F8 7F 23 CB 78 */ mr r3, r25 -/* 8005959C 000564FC 38 80 00 04 */ li r4, 4 -/* 800595A0 00056500 41 82 00 08 */ beq lbl_800595A8 -/* 800595A4 00056504 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800595A8: -/* 800595A8 00056508 48 00 05 0D */ bl sub_80059ab4 -lbl_800595AC: -/* 800595AC 0005650C 80 19 00 04 */ lwz r0, 4(r25) -/* 800595B0 00056510 80 79 00 0C */ lwz r3, 0xc(r25) -/* 800595B4 00056514 54 00 20 36 */ slwi r0, r0, 4 -/* 800595B8 00056518 7C 63 02 15 */ add. r3, r3, r0 -/* 800595BC 0005651C 41 82 00 10 */ beq lbl_800595CC -/* 800595C0 00056520 93 A3 00 00 */ stw r29, 0(r3) -/* 800595C4 00056524 93 C3 00 0C */ stw r30, 0xc(r3) -/* 800595C8 00056528 93 E3 00 08 */ stw r31, 8(r3) -lbl_800595CC: -/* 800595CC 0005652C 80 79 00 04 */ lwz r3, 4(r25) -/* 800595D0 00056530 3B 7B 00 01 */ addi r27, r27, 1 -/* 800595D4 00056534 38 03 00 01 */ addi r0, r3, 1 -/* 800595D8 00056538 90 19 00 04 */ stw r0, 4(r25) -lbl_800595DC: -/* 800595DC 0005653C 7C 1B E0 00 */ cmpw r27, r28 -/* 800595E0 00056540 41 80 FF 88 */ blt lbl_80059568 -/* 800595E4 00056544 7F 23 CB 78 */ mr r3, r25 -/* 800595E8 00056548 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 800595EC 0005654C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800595F0 00056550 7C 08 03 A6 */ mtlr r0 -/* 800595F4 00056554 38 21 00 30 */ addi r1, r1, 0x30 -/* 800595F8 00056558 4E 80 00 20 */ blr - -.global "reserve__Q24rstl44vectorFi" -"reserve__Q24rstl44vectorFi": -/* 800595FC 0005655C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80059600 00056560 7C 08 02 A6 */ mflr r0 -/* 80059604 00056564 90 01 00 34 */ stw r0, 0x34(r1) -/* 80059608 00056568 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8005960C 0005656C 7C 9F 23 78 */ mr r31, r4 -/* 80059610 00056570 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80059614 00056574 7C 7E 1B 78 */ mr r30, r3 -/* 80059618 00056578 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8005961C 0005657C 80 03 00 08 */ lwz r0, 8(r3) -/* 80059620 00056580 7C 1F 00 00 */ cmpw r31, r0 -/* 80059624 00056584 40 81 00 C8 */ ble lbl_800596EC -/* 80059628 00056588 1C 7F 00 0C */ mulli r3, r31, 0xc -/* 8005962C 0005658C 2C 03 00 00 */ cmpwi r3, 0 -/* 80059630 00056590 40 82 00 0C */ bne lbl_8005963C -/* 80059634 00056594 3B A0 00 00 */ li r29, 0 -/* 80059638 00056598 48 00 00 1C */ b lbl_80059654 -lbl_8005963C: -/* 8005963C 0005659C 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80059640 000565A0 38 A0 00 00 */ li r5, 0 -/* 80059644 000565A4 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 80059648 000565A8 38 84 00 01 */ addi r4, r4, 1 -/* 8005964C 000565AC 48 2B C1 CD */ bl __nwa__FUlPCcPCc -/* 80059650 000565B0 7C 7D 1B 78 */ mr r29, r3 -lbl_80059654: -/* 80059654 000565B4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80059658 000565B8 7F A4 EB 78 */ mr r4, r29 -/* 8005965C 000565BC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80059660 000565C0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80059664 000565C4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80059668 000565C8 7C 65 02 14 */ add r3, r5, r0 -/* 8005966C 000565CC 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80059670 000565D0 90 61 00 08 */ stw r3, 8(r1) -/* 80059674 000565D4 90 61 00 0C */ stw r3, 0xc(r1) -/* 80059678 000565D8 48 00 00 34 */ b lbl_800596AC -lbl_8005967C: -/* 8005967C 000565DC 28 04 00 00 */ cmplwi r4, 0 -/* 80059680 000565E0 41 82 00 24 */ beq lbl_800596A4 -/* 80059684 000565E4 80 05 00 00 */ lwz r0, 0(r5) -/* 80059688 000565E8 90 04 00 00 */ stw r0, 0(r4) -/* 8005968C 000565EC 80 05 00 04 */ lwz r0, 4(r5) -/* 80059690 000565F0 90 04 00 04 */ stw r0, 4(r4) -/* 80059694 000565F4 A0 05 00 08 */ lhz r0, 8(r5) -/* 80059698 000565F8 B0 04 00 08 */ sth r0, 8(r4) -/* 8005969C 000565FC 88 05 00 0A */ lbz r0, 0xa(r5) -/* 800596A0 00056600 98 04 00 0A */ stb r0, 0xa(r4) -lbl_800596A4: -/* 800596A4 00056604 38 84 00 0C */ addi r4, r4, 0xc -/* 800596A8 00056608 38 A5 00 0C */ addi r5, r5, 0xc -lbl_800596AC: -/* 800596AC 0005660C 7C 05 18 40 */ cmplw r5, r3 -/* 800596B0 00056610 40 82 FF CC */ bne lbl_8005967C -/* 800596B4 00056614 80 1E 00 04 */ lwz r0, 4(r30) -/* 800596B8 00056618 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800596BC 0005661C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800596C0 00056620 7C 64 1B 78 */ mr r4, r3 -/* 800596C4 00056624 7C 03 02 14 */ add r0, r3, r0 -/* 800596C8 00056628 48 00 00 08 */ b lbl_800596D0 -lbl_800596CC: -/* 800596CC 0005662C 38 84 00 0C */ addi r4, r4, 0xc -lbl_800596D0: -/* 800596D0 00056630 7C 04 00 40 */ cmplw r4, r0 -/* 800596D4 00056634 40 82 FF F8 */ bne lbl_800596CC -/* 800596D8 00056638 28 03 00 00 */ cmplwi r3, 0 -/* 800596DC 0005663C 41 82 00 08 */ beq lbl_800596E4 -/* 800596E0 00056640 48 2B C2 51 */ bl Free__7CMemoryFPCv -lbl_800596E4: -/* 800596E4 00056644 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800596E8 00056648 93 FE 00 08 */ stw r31, 8(r30) -lbl_800596EC: -/* 800596EC 0005664C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800596F0 00056650 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800596F4 00056654 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800596F8 00056658 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800596FC 0005665C 7C 08 03 A6 */ mtlr r0 -/* 80059700 00056660 38 21 00 30 */ addi r1, r1, 0x30 -/* 80059704 00056664 4E 80 00 20 */ blr - -.global "reserve__Q24rstl61vectorFi" -"reserve__Q24rstl61vectorFi": -/* 80059708 00056668 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005970C 0005666C 7C 08 02 A6 */ mflr r0 -/* 80059710 00056670 90 01 00 34 */ stw r0, 0x34(r1) -/* 80059714 00056674 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80059718 00056678 7C 9E 23 78 */ mr r30, r4 -/* 8005971C 0005667C 7C 7D 1B 78 */ mr r29, r3 -/* 80059720 00056680 80 03 00 08 */ lwz r0, 8(r3) -/* 80059724 00056684 7C 1E 00 00 */ cmpw r30, r0 -/* 80059728 00056688 40 81 01 30 */ ble lbl_80059858 -/* 8005972C 0005668C 1C 7E 00 28 */ mulli r3, r30, 0x28 -/* 80059730 00056690 2C 03 00 00 */ cmpwi r3, 0 -/* 80059734 00056694 40 82 00 0C */ bne lbl_80059740 -/* 80059738 00056698 3B E0 00 00 */ li r31, 0 -/* 8005973C 0005669C 48 00 00 1C */ b lbl_80059758 -lbl_80059740: -/* 80059740 000566A0 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80059744 000566A4 38 A0 00 00 */ li r5, 0 -/* 80059748 000566A8 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 8005974C 000566AC 38 84 00 01 */ addi r4, r4, 1 -/* 80059750 000566B0 48 2B C0 C9 */ bl __nwa__FUlPCcPCc -/* 80059754 000566B4 7C 7F 1B 78 */ mr r31, r3 -lbl_80059758: -/* 80059758 000566B8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8005975C 000566BC 7F FB FB 78 */ mr r27, r31 -/* 80059760 000566C0 83 5D 00 0C */ lwz r26, 0xc(r29) -/* 80059764 000566C4 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 80059768 000566C8 93 41 00 10 */ stw r26, 0x10(r1) -/* 8005976C 000566CC 7F 9A 02 14 */ add r28, r26, r0 -/* 80059770 000566D0 93 41 00 14 */ stw r26, 0x14(r1) -/* 80059774 000566D4 93 81 00 08 */ stw r28, 8(r1) -/* 80059778 000566D8 93 81 00 0C */ stw r28, 0xc(r1) -/* 8005977C 000566DC 48 00 00 5C */ b lbl_800597D8 -lbl_80059780: -/* 80059780 000566E0 28 1B 00 00 */ cmplwi r27, 0 -/* 80059784 000566E4 41 82 00 4C */ beq lbl_800597D0 -/* 80059788 000566E8 80 1A 00 00 */ lwz r0, 0(r26) -/* 8005978C 000566EC 38 7B 00 0C */ addi r3, r27, 0xc -/* 80059790 000566F0 38 9A 00 0C */ addi r4, r26, 0xc -/* 80059794 000566F4 90 1B 00 00 */ stw r0, 0(r27) -/* 80059798 000566F8 80 1A 00 04 */ lwz r0, 4(r26) -/* 8005979C 000566FC 90 1B 00 04 */ stw r0, 4(r27) -/* 800597A0 00056700 88 1A 00 08 */ lbz r0, 8(r26) -/* 800597A4 00056704 98 1B 00 08 */ stb r0, 8(r27) -/* 800597A8 00056708 48 2E 49 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800597AC 0005670C 88 1A 00 24 */ lbz r0, 0x24(r26) -/* 800597B0 00056710 98 1B 00 24 */ stb r0, 0x24(r27) -/* 800597B4 00056714 88 1A 00 24 */ lbz r0, 0x24(r26) -/* 800597B8 00056718 28 00 00 00 */ cmplwi r0, 0 -/* 800597BC 0005671C 41 82 00 14 */ beq lbl_800597D0 -/* 800597C0 00056720 34 7B 00 1C */ addic. r3, r27, 0x1c -/* 800597C4 00056724 38 9A 00 1C */ addi r4, r26, 0x1c -/* 800597C8 00056728 41 82 00 08 */ beq lbl_800597D0 -/* 800597CC 0005672C 48 2E 76 DD */ bl __ct__6CTokenFRC6CToken -lbl_800597D0: -/* 800597D0 00056730 3B 7B 00 28 */ addi r27, r27, 0x28 -/* 800597D4 00056734 3B 5A 00 28 */ addi r26, r26, 0x28 -lbl_800597D8: -/* 800597D8 00056738 7C 1A E0 40 */ cmplw r26, r28 -/* 800597DC 0005673C 40 82 FF A4 */ bne lbl_80059780 -/* 800597E0 00056740 80 1D 00 04 */ lwz r0, 4(r29) -/* 800597E4 00056744 3B 80 00 00 */ li r28, 0 -/* 800597E8 00056748 83 5D 00 0C */ lwz r26, 0xc(r29) -/* 800597EC 0005674C 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 800597F0 00056750 7F 7A 02 14 */ add r27, r26, r0 -/* 800597F4 00056754 48 00 00 44 */ b lbl_80059838 -lbl_800597F8: -/* 800597F8 00056758 28 1A 00 00 */ cmplwi r26, 0 -/* 800597FC 0005675C 41 82 00 38 */ beq lbl_80059834 -/* 80059800 00056760 34 1A 00 1C */ addic. r0, r26, 0x1c -/* 80059804 00056764 41 82 00 20 */ beq lbl_80059824 -/* 80059808 00056768 88 1A 00 24 */ lbz r0, 0x24(r26) -/* 8005980C 0005676C 28 00 00 00 */ cmplwi r0, 0 -/* 80059810 00056770 41 82 00 10 */ beq lbl_80059820 -/* 80059814 00056774 38 7A 00 1C */ addi r3, r26, 0x1c -/* 80059818 00056778 38 80 FF FF */ li r4, -1 -/* 8005981C 0005677C 48 2E 76 25 */ bl __dt__6CTokenFv -lbl_80059820: -/* 80059820 00056780 9B 9A 00 24 */ stb r28, 0x24(r26) -lbl_80059824: -/* 80059824 00056784 34 1A 00 0C */ addic. r0, r26, 0xc -/* 80059828 00056788 41 82 00 0C */ beq lbl_80059834 -/* 8005982C 0005678C 38 7A 00 0C */ addi r3, r26, 0xc -/* 80059830 00056790 48 2E 42 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80059834: -/* 80059834 00056794 3B 5A 00 28 */ addi r26, r26, 0x28 -lbl_80059838: -/* 80059838 00056798 7C 1A D8 40 */ cmplw r26, r27 -/* 8005983C 0005679C 40 82 FF BC */ bne lbl_800597F8 -/* 80059840 000567A0 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80059844 000567A4 28 03 00 00 */ cmplwi r3, 0 -/* 80059848 000567A8 41 82 00 08 */ beq lbl_80059850 -/* 8005984C 000567AC 48 2B C0 E5 */ bl Free__7CMemoryFPCv -lbl_80059850: -/* 80059850 000567B0 93 FD 00 0C */ stw r31, 0xc(r29) -/* 80059854 000567B4 93 DD 00 08 */ stw r30, 8(r29) -lbl_80059858: -/* 80059858 000567B8 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8005985C 000567BC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80059860 000567C0 7C 08 03 A6 */ mtlr r0 -/* 80059864 000567C4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80059868 000567C8 4E 80 00 20 */ blr - -.global sub_8005986c -sub_8005986c: -/* 8005986C 000567CC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80059870 000567D0 7C 08 02 A6 */ mflr r0 -/* 80059874 000567D4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80059878 000567D8 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8005987C 000567DC 7C 9F 23 78 */ mr r31, r4 -/* 80059880 000567E0 7C 7E 1B 78 */ mr r30, r3 -/* 80059884 000567E4 80 03 00 08 */ lwz r0, 8(r3) -/* 80059888 000567E8 7C 1F 00 00 */ cmpw r31, r0 -/* 8005988C 000567EC 40 81 00 F0 */ ble lbl_8005997C -/* 80059890 000567F0 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 80059894 000567F4 40 82 00 0C */ bne lbl_800598A0 -/* 80059898 000567F8 3B A0 00 00 */ li r29, 0 -/* 8005989C 000567FC 48 00 00 1C */ b lbl_800598B8 -lbl_800598A0: -/* 800598A0 00056800 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 800598A4 00056804 38 A0 00 00 */ li r5, 0 -/* 800598A8 00056808 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 800598AC 0005680C 38 84 00 01 */ addi r4, r4, 1 -/* 800598B0 00056810 48 2B BF 69 */ bl __nwa__FUlPCcPCc -/* 800598B4 00056814 7C 7D 1B 78 */ mr r29, r3 -lbl_800598B8: -/* 800598B8 00056818 80 7E 00 04 */ lwz r3, 4(r30) -/* 800598BC 0005681C 7F A5 EB 78 */ mr r5, r29 -/* 800598C0 00056820 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 800598C4 00056824 38 00 00 00 */ li r0, 0 -/* 800598C8 00056828 54 63 18 38 */ slwi r3, r3, 3 -/* 800598CC 0005682C 7C 86 1A 14 */ add r4, r6, r3 -/* 800598D0 00056830 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800598D4 00056834 90 81 00 08 */ stw r4, 8(r1) -/* 800598D8 00056838 90 81 00 0C */ stw r4, 0xc(r1) -/* 800598DC 0005683C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800598E0 00056840 48 00 00 28 */ b lbl_80059908 -lbl_800598E4: -/* 800598E4 00056844 28 05 00 00 */ cmplwi r5, 0 -/* 800598E8 00056848 41 82 00 18 */ beq lbl_80059900 -/* 800598EC 0005684C 88 66 00 00 */ lbz r3, 0(r6) -/* 800598F0 00056850 98 65 00 00 */ stb r3, 0(r5) -/* 800598F4 00056854 80 66 00 04 */ lwz r3, 4(r6) -/* 800598F8 00056858 90 65 00 04 */ stw r3, 4(r5) -/* 800598FC 0005685C 98 06 00 00 */ stb r0, 0(r6) -lbl_80059900: -/* 80059900 00056860 38 A5 00 08 */ addi r5, r5, 8 -/* 80059904 00056864 38 C6 00 08 */ addi r6, r6, 8 -lbl_80059908: -/* 80059908 00056868 7C 06 20 40 */ cmplw r6, r4 -/* 8005990C 0005686C 40 82 FF D8 */ bne lbl_800598E4 -/* 80059910 00056870 80 1E 00 04 */ lwz r0, 4(r30) -/* 80059914 00056874 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 80059918 00056878 54 00 18 38 */ slwi r0, r0, 3 -/* 8005991C 0005687C 7F 9B 02 14 */ add r28, r27, r0 -/* 80059920 00056880 48 00 00 3C */ b lbl_8005995C -lbl_80059924: -/* 80059924 00056884 28 1B 00 00 */ cmplwi r27, 0 -/* 80059928 00056888 41 82 00 30 */ beq lbl_80059958 -/* 8005992C 0005688C 88 1B 00 00 */ lbz r0, 0(r27) -/* 80059930 00056890 28 00 00 00 */ cmplwi r0, 0 -/* 80059934 00056894 41 82 00 24 */ beq lbl_80059958 -/* 80059938 00056898 80 7B 00 04 */ lwz r3, 4(r27) -/* 8005993C 0005689C 28 03 00 00 */ cmplwi r3, 0 -/* 80059940 000568A0 41 82 00 18 */ beq lbl_80059958 -/* 80059944 000568A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80059948 000568A8 38 80 00 01 */ li r4, 1 -/* 8005994C 000568AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80059950 000568B0 7D 89 03 A6 */ mtctr r12 -/* 80059954 000568B4 4E 80 04 21 */ bctrl -lbl_80059958: -/* 80059958 000568B8 3B 7B 00 08 */ addi r27, r27, 8 -lbl_8005995C: -/* 8005995C 000568BC 7C 1B E0 40 */ cmplw r27, r28 -/* 80059960 000568C0 40 82 FF C4 */ bne lbl_80059924 -/* 80059964 000568C4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80059968 000568C8 28 03 00 00 */ cmplwi r3, 0 -/* 8005996C 000568CC 41 82 00 08 */ beq lbl_80059974 -/* 80059970 000568D0 48 2B BF C1 */ bl Free__7CMemoryFPCv -lbl_80059974: -/* 80059974 000568D4 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80059978 000568D8 93 FE 00 08 */ stw r31, 8(r30) -lbl_8005997C: -/* 8005997C 000568DC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80059980 000568E0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80059984 000568E4 7C 08 03 A6 */ mtlr r0 -/* 80059988 000568E8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8005998C 000568EC 4E 80 00 20 */ blr - -.global sub_80059990 -sub_80059990: -/* 80059990 000568F0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80059994 000568F4 7C 08 02 A6 */ mflr r0 -/* 80059998 000568F8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005999C 000568FC BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800599A0 00056900 7C 9F 23 78 */ mr r31, r4 -/* 800599A4 00056904 7C 7E 1B 78 */ mr r30, r3 -/* 800599A8 00056908 80 03 00 08 */ lwz r0, 8(r3) -/* 800599AC 0005690C 7C 1F 00 00 */ cmpw r31, r0 -/* 800599B0 00056910 40 81 00 F0 */ ble lbl_80059AA0 -/* 800599B4 00056914 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 800599B8 00056918 40 82 00 0C */ bne lbl_800599C4 -/* 800599BC 0005691C 3B A0 00 00 */ li r29, 0 -/* 800599C0 00056920 48 00 00 1C */ b lbl_800599DC -lbl_800599C4: -/* 800599C4 00056924 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 800599C8 00056928 38 A0 00 00 */ li r5, 0 -/* 800599CC 0005692C 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 800599D0 00056930 38 84 00 01 */ addi r4, r4, 1 -/* 800599D4 00056934 48 2B BE 45 */ bl __nwa__FUlPCcPCc -/* 800599D8 00056938 7C 7D 1B 78 */ mr r29, r3 -lbl_800599DC: -/* 800599DC 0005693C 80 7E 00 04 */ lwz r3, 4(r30) -/* 800599E0 00056940 7F A5 EB 78 */ mr r5, r29 -/* 800599E4 00056944 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 800599E8 00056948 38 00 00 00 */ li r0, 0 -/* 800599EC 0005694C 54 63 18 38 */ slwi r3, r3, 3 -/* 800599F0 00056950 7C 86 1A 14 */ add r4, r6, r3 -/* 800599F4 00056954 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800599F8 00056958 90 81 00 08 */ stw r4, 8(r1) -/* 800599FC 0005695C 90 81 00 0C */ stw r4, 0xc(r1) -/* 80059A00 00056960 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80059A04 00056964 48 00 00 28 */ b lbl_80059A2C -lbl_80059A08: -/* 80059A08 00056968 28 05 00 00 */ cmplwi r5, 0 -/* 80059A0C 0005696C 41 82 00 18 */ beq lbl_80059A24 -/* 80059A10 00056970 88 66 00 00 */ lbz r3, 0(r6) -/* 80059A14 00056974 98 65 00 00 */ stb r3, 0(r5) -/* 80059A18 00056978 80 66 00 04 */ lwz r3, 4(r6) -/* 80059A1C 0005697C 90 65 00 04 */ stw r3, 4(r5) -/* 80059A20 00056980 98 06 00 00 */ stb r0, 0(r6) -lbl_80059A24: -/* 80059A24 00056984 38 A5 00 08 */ addi r5, r5, 8 -/* 80059A28 00056988 38 C6 00 08 */ addi r6, r6, 8 -lbl_80059A2C: -/* 80059A2C 0005698C 7C 06 20 40 */ cmplw r6, r4 -/* 80059A30 00056990 40 82 FF D8 */ bne lbl_80059A08 -/* 80059A34 00056994 80 1E 00 04 */ lwz r0, 4(r30) -/* 80059A38 00056998 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 80059A3C 0005699C 54 00 18 38 */ slwi r0, r0, 3 -/* 80059A40 000569A0 7F 9B 02 14 */ add r28, r27, r0 -/* 80059A44 000569A4 48 00 00 3C */ b lbl_80059A80 -lbl_80059A48: -/* 80059A48 000569A8 28 1B 00 00 */ cmplwi r27, 0 -/* 80059A4C 000569AC 41 82 00 30 */ beq lbl_80059A7C -/* 80059A50 000569B0 88 1B 00 00 */ lbz r0, 0(r27) -/* 80059A54 000569B4 28 00 00 00 */ cmplwi r0, 0 -/* 80059A58 000569B8 41 82 00 24 */ beq lbl_80059A7C -/* 80059A5C 000569BC 80 7B 00 04 */ lwz r3, 4(r27) -/* 80059A60 000569C0 28 03 00 00 */ cmplwi r3, 0 -/* 80059A64 000569C4 41 82 00 18 */ beq lbl_80059A7C -/* 80059A68 000569C8 81 83 00 00 */ lwz r12, 0(r3) -/* 80059A6C 000569CC 38 80 00 01 */ li r4, 1 -/* 80059A70 000569D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80059A74 000569D4 7D 89 03 A6 */ mtctr r12 -/* 80059A78 000569D8 4E 80 04 21 */ bctrl -lbl_80059A7C: -/* 80059A7C 000569DC 3B 7B 00 08 */ addi r27, r27, 8 -lbl_80059A80: -/* 80059A80 000569E0 7C 1B E0 40 */ cmplw r27, r28 -/* 80059A84 000569E4 40 82 FF C4 */ bne lbl_80059A48 -/* 80059A88 000569E8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80059A8C 000569EC 28 03 00 00 */ cmplwi r3, 0 -/* 80059A90 000569F0 41 82 00 08 */ beq lbl_80059A98 -/* 80059A94 000569F4 48 2B BE 9D */ bl Free__7CMemoryFPCv -lbl_80059A98: -/* 80059A98 000569F8 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80059A9C 000569FC 93 FE 00 08 */ stw r31, 8(r30) -lbl_80059AA0: -/* 80059AA0 00056A00 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80059AA4 00056A04 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80059AA8 00056A08 7C 08 03 A6 */ mtlr r0 -/* 80059AAC 00056A0C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80059AB0 00056A10 4E 80 00 20 */ blr - -.global sub_80059ab4 -sub_80059ab4: -/* 80059AB4 00056A14 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80059AB8 00056A18 7C 08 02 A6 */ mflr r0 -/* 80059ABC 00056A1C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80059AC0 00056A20 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80059AC4 00056A24 7C 9F 23 78 */ mr r31, r4 -/* 80059AC8 00056A28 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80059ACC 00056A2C 7C 7E 1B 78 */ mr r30, r3 -/* 80059AD0 00056A30 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80059AD4 00056A34 80 03 00 08 */ lwz r0, 8(r3) -/* 80059AD8 00056A38 7C 1F 00 00 */ cmpw r31, r0 -/* 80059ADC 00056A3C 40 81 00 BC */ ble lbl_80059B98 -/* 80059AE0 00056A40 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 80059AE4 00056A44 40 82 00 0C */ bne lbl_80059AF0 -/* 80059AE8 00056A48 3B A0 00 00 */ li r29, 0 -/* 80059AEC 00056A4C 48 00 00 1C */ b lbl_80059B08 -lbl_80059AF0: -/* 80059AF0 00056A50 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80059AF4 00056A54 38 A0 00 00 */ li r5, 0 -/* 80059AF8 00056A58 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 80059AFC 00056A5C 38 84 00 01 */ addi r4, r4, 1 -/* 80059B00 00056A60 48 2B BD 19 */ bl __nwa__FUlPCcPCc -/* 80059B04 00056A64 7C 7D 1B 78 */ mr r29, r3 -lbl_80059B08: -/* 80059B08 00056A68 80 1E 00 04 */ lwz r0, 4(r30) -/* 80059B0C 00056A6C 7F A5 EB 78 */ mr r5, r29 -/* 80059B10 00056A70 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80059B14 00056A74 54 00 20 36 */ slwi r0, r0, 4 -/* 80059B18 00056A78 7C 86 02 14 */ add r4, r6, r0 -/* 80059B1C 00056A7C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80059B20 00056A80 90 81 00 08 */ stw r4, 8(r1) -/* 80059B24 00056A84 90 81 00 0C */ stw r4, 0xc(r1) -/* 80059B28 00056A88 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80059B2C 00056A8C 48 00 00 2C */ b lbl_80059B58 -lbl_80059B30: -/* 80059B30 00056A90 28 05 00 00 */ cmplwi r5, 0 -/* 80059B34 00056A94 41 82 00 1C */ beq lbl_80059B50 -/* 80059B38 00056A98 80 06 00 00 */ lwz r0, 0(r6) -/* 80059B3C 00056A9C 90 05 00 00 */ stw r0, 0(r5) -/* 80059B40 00056AA0 80 06 00 08 */ lwz r0, 8(r6) -/* 80059B44 00056AA4 80 66 00 0C */ lwz r3, 0xc(r6) -/* 80059B48 00056AA8 90 65 00 0C */ stw r3, 0xc(r5) -/* 80059B4C 00056AAC 90 05 00 08 */ stw r0, 8(r5) -lbl_80059B50: -/* 80059B50 00056AB0 38 A5 00 10 */ addi r5, r5, 0x10 -/* 80059B54 00056AB4 38 C6 00 10 */ addi r6, r6, 0x10 -lbl_80059B58: -/* 80059B58 00056AB8 7C 06 20 40 */ cmplw r6, r4 -/* 80059B5C 00056ABC 40 82 FF D4 */ bne lbl_80059B30 -/* 80059B60 00056AC0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80059B64 00056AC4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80059B68 00056AC8 54 00 20 36 */ slwi r0, r0, 4 -/* 80059B6C 00056ACC 7C 64 1B 78 */ mr r4, r3 -/* 80059B70 00056AD0 7C 03 02 14 */ add r0, r3, r0 -/* 80059B74 00056AD4 48 00 00 08 */ b lbl_80059B7C -lbl_80059B78: -/* 80059B78 00056AD8 38 84 00 10 */ addi r4, r4, 0x10 -lbl_80059B7C: -/* 80059B7C 00056ADC 7C 04 00 40 */ cmplw r4, r0 -/* 80059B80 00056AE0 40 82 FF F8 */ bne lbl_80059B78 -/* 80059B84 00056AE4 28 03 00 00 */ cmplwi r3, 0 -/* 80059B88 00056AE8 41 82 00 08 */ beq lbl_80059B90 -/* 80059B8C 00056AEC 48 2B BD A5 */ bl Free__7CMemoryFPCv -lbl_80059B90: -/* 80059B90 00056AF0 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80059B94 00056AF4 93 FE 00 08 */ stw r31, 8(r30) -lbl_80059B98: -/* 80059B98 00056AF8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80059B9C 00056AFC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80059BA0 00056B00 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80059BA4 00056B04 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80059BA8 00056B08 7C 08 03 A6 */ mtlr r0 -/* 80059BAC 00056B0C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80059BB0 00056B10 4E 80 00 20 */ blr - -.global "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi": -/* 80059BB4 00056B14 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80059BB8 00056B18 7C 08 02 A6 */ mflr r0 -/* 80059BBC 00056B1C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80059BC0 00056B20 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80059BC4 00056B24 7C 9F 23 78 */ mr r31, r4 -/* 80059BC8 00056B28 7C 7E 1B 78 */ mr r30, r3 -/* 80059BCC 00056B2C 80 03 00 08 */ lwz r0, 8(r3) -/* 80059BD0 00056B30 7C 1F 00 00 */ cmpw r31, r0 -/* 80059BD4 00056B34 40 81 00 C0 */ ble lbl_80059C94 -/* 80059BD8 00056B38 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 80059BDC 00056B3C 40 82 00 0C */ bne lbl_80059BE8 -/* 80059BE0 00056B40 3B 80 00 00 */ li r28, 0 -/* 80059BE4 00056B44 48 00 00 1C */ b lbl_80059C00 -lbl_80059BE8: -/* 80059BE8 00056B48 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80059BEC 00056B4C 38 A0 00 00 */ li r5, 0 -/* 80059BF0 00056B50 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 80059BF4 00056B54 38 84 00 01 */ addi r4, r4, 1 -/* 80059BF8 00056B58 48 2B BC 21 */ bl __nwa__FUlPCcPCc -/* 80059BFC 00056B5C 7C 7C 1B 78 */ mr r28, r3 -lbl_80059C00: -/* 80059C00 00056B60 80 1E 00 04 */ lwz r0, 4(r30) -/* 80059C04 00056B64 7F 9B E3 78 */ mr r27, r28 -/* 80059C08 00056B68 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80059C0C 00056B6C 54 00 20 36 */ slwi r0, r0, 4 -/* 80059C10 00056B70 7F BA 02 14 */ add r29, r26, r0 -/* 80059C14 00056B74 93 41 00 10 */ stw r26, 0x10(r1) -/* 80059C18 00056B78 93 A1 00 08 */ stw r29, 8(r1) -/* 80059C1C 00056B7C 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80059C20 00056B80 93 41 00 14 */ stw r26, 0x14(r1) -/* 80059C24 00056B84 48 00 00 20 */ b lbl_80059C44 -lbl_80059C28: -/* 80059C28 00056B88 28 1B 00 00 */ cmplwi r27, 0 -/* 80059C2C 00056B8C 41 82 00 10 */ beq lbl_80059C3C -/* 80059C30 00056B90 7F 63 DB 78 */ mr r3, r27 -/* 80059C34 00056B94 7F 44 D3 78 */ mr r4, r26 -/* 80059C38 00056B98 48 2E 45 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_80059C3C: -/* 80059C3C 00056B9C 3B 7B 00 10 */ addi r27, r27, 0x10 -/* 80059C40 00056BA0 3B 5A 00 10 */ addi r26, r26, 0x10 -lbl_80059C44: -/* 80059C44 00056BA4 7C 1A E8 40 */ cmplw r26, r29 -/* 80059C48 00056BA8 40 82 FF E0 */ bne lbl_80059C28 -/* 80059C4C 00056BAC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80059C50 00056BB0 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80059C54 00056BB4 54 00 20 36 */ slwi r0, r0, 4 -/* 80059C58 00056BB8 7F 7A 02 14 */ add r27, r26, r0 -/* 80059C5C 00056BBC 48 00 00 18 */ b lbl_80059C74 -lbl_80059C60: -/* 80059C60 00056BC0 28 1A 00 00 */ cmplwi r26, 0 -/* 80059C64 00056BC4 41 82 00 0C */ beq lbl_80059C70 -/* 80059C68 00056BC8 7F 43 D3 78 */ mr r3, r26 -/* 80059C6C 00056BCC 48 2E 3E 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80059C70: -/* 80059C70 00056BD0 3B 5A 00 10 */ addi r26, r26, 0x10 -lbl_80059C74: -/* 80059C74 00056BD4 7C 1A D8 40 */ cmplw r26, r27 -/* 80059C78 00056BD8 40 82 FF E8 */ bne lbl_80059C60 -/* 80059C7C 00056BDC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80059C80 00056BE0 28 03 00 00 */ cmplwi r3, 0 -/* 80059C84 00056BE4 41 82 00 08 */ beq lbl_80059C8C -/* 80059C88 00056BE8 48 2B BC A9 */ bl Free__7CMemoryFPCv -lbl_80059C8C: -/* 80059C8C 00056BEC 93 9E 00 0C */ stw r28, 0xc(r30) -/* 80059C90 00056BF0 93 FE 00 08 */ stw r31, 8(r30) -lbl_80059C94: -/* 80059C94 00056BF4 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80059C98 00056BF8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80059C9C 00056BFC 7C 08 03 A6 */ mtlr r0 -/* 80059CA0 00056C00 38 21 00 30 */ addi r1, r1, 0x30 -/* 80059CA4 00056C04 4E 80 00 20 */ blr - -.global "reserve__Q24rstl36vectorFi" -"reserve__Q24rstl36vectorFi": -/* 80059CA8 00056C08 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80059CAC 00056C0C 7C 08 02 A6 */ mflr r0 -/* 80059CB0 00056C10 90 01 00 34 */ stw r0, 0x34(r1) -/* 80059CB4 00056C14 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80059CB8 00056C18 7C 9F 23 78 */ mr r31, r4 -/* 80059CBC 00056C1C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80059CC0 00056C20 7C 7E 1B 78 */ mr r30, r3 -/* 80059CC4 00056C24 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80059CC8 00056C28 80 03 00 08 */ lwz r0, 8(r3) -/* 80059CCC 00056C2C 7C 1F 00 00 */ cmpw r31, r0 -/* 80059CD0 00056C30 40 81 00 AC */ ble lbl_80059D7C -/* 80059CD4 00056C34 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 80059CD8 00056C38 40 82 00 0C */ bne lbl_80059CE4 -/* 80059CDC 00056C3C 3B A0 00 00 */ li r29, 0 -/* 80059CE0 00056C40 48 00 00 1C */ b lbl_80059CFC -lbl_80059CE4: -/* 80059CE4 00056C44 3C 80 80 3D */ lis r4, lbl_803CCF70@ha -/* 80059CE8 00056C48 38 A0 00 00 */ li r5, 0 -/* 80059CEC 00056C4C 38 84 CF 70 */ addi r4, r4, lbl_803CCF70@l -/* 80059CF0 00056C50 38 84 00 01 */ addi r4, r4, 1 -/* 80059CF4 00056C54 48 2B BB 25 */ bl __nwa__FUlPCcPCc -/* 80059CF8 00056C58 7C 7D 1B 78 */ mr r29, r3 -lbl_80059CFC: -/* 80059CFC 00056C5C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80059D00 00056C60 7F A4 EB 78 */ mr r4, r29 -/* 80059D04 00056C64 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80059D08 00056C68 54 00 10 3A */ slwi r0, r0, 2 -/* 80059D0C 00056C6C 7C 65 02 14 */ add r3, r5, r0 -/* 80059D10 00056C70 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80059D14 00056C74 90 61 00 08 */ stw r3, 8(r1) -/* 80059D18 00056C78 90 61 00 0C */ stw r3, 0xc(r1) -/* 80059D1C 00056C7C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80059D20 00056C80 48 00 00 1C */ b lbl_80059D3C -lbl_80059D24: -/* 80059D24 00056C84 28 04 00 00 */ cmplwi r4, 0 -/* 80059D28 00056C88 41 82 00 0C */ beq lbl_80059D34 -/* 80059D2C 00056C8C 80 05 00 00 */ lwz r0, 0(r5) -/* 80059D30 00056C90 90 04 00 00 */ stw r0, 0(r4) -lbl_80059D34: -/* 80059D34 00056C94 38 84 00 04 */ addi r4, r4, 4 -/* 80059D38 00056C98 38 A5 00 04 */ addi r5, r5, 4 -lbl_80059D3C: -/* 80059D3C 00056C9C 7C 05 18 40 */ cmplw r5, r3 -/* 80059D40 00056CA0 40 82 FF E4 */ bne lbl_80059D24 -/* 80059D44 00056CA4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80059D48 00056CA8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80059D4C 00056CAC 54 00 10 3A */ slwi r0, r0, 2 -/* 80059D50 00056CB0 7C 64 1B 78 */ mr r4, r3 -/* 80059D54 00056CB4 7C 03 02 14 */ add r0, r3, r0 -/* 80059D58 00056CB8 48 00 00 08 */ b lbl_80059D60 -lbl_80059D5C: -/* 80059D5C 00056CBC 38 84 00 04 */ addi r4, r4, 4 -lbl_80059D60: -/* 80059D60 00056CC0 7C 04 00 40 */ cmplw r4, r0 -/* 80059D64 00056CC4 40 82 FF F8 */ bne lbl_80059D5C -/* 80059D68 00056CC8 28 03 00 00 */ cmplwi r3, 0 -/* 80059D6C 00056CCC 41 82 00 08 */ beq lbl_80059D74 -/* 80059D70 00056CD0 48 2B BB C1 */ bl Free__7CMemoryFPCv -lbl_80059D74: -/* 80059D74 00056CD4 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80059D78 00056CD8 93 FE 00 08 */ stw r31, 8(r30) -lbl_80059D7C: -/* 80059D7C 00056CDC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80059D80 00056CE0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80059D84 00056CE4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80059D88 00056CE8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80059D8C 00056CEC 7C 08 03 A6 */ mtlr r0 -/* 80059D90 00056CF0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80059D94 00056CF4 4E 80 00 20 */ blr - -.global sub_80059d98 -sub_80059d98: -/* 80059D98 00056CF8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80059D9C 00056CFC 7C 08 02 A6 */ mflr r0 -/* 80059DA0 00056D00 90 01 00 34 */ stw r0, 0x34(r1) -/* 80059DA4 00056D04 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80059DA8 00056D08 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80059DAC 00056D0C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80059DB0 00056D10 93 81 00 20 */ stw r28, 0x20(r1) -/* 80059DB4 00056D14 7C 7C 1B 78 */ mr r28, r3 -/* 80059DB8 00056D18 80 83 00 00 */ lwz r4, 0(r3) -/* 80059DBC 00056D1C 80 64 00 04 */ lwz r3, 4(r4) -/* 80059DC0 00056D20 34 03 FF FF */ addic. r0, r3, -1 -/* 80059DC4 00056D24 90 04 00 04 */ stw r0, 4(r4) -/* 80059DC8 00056D28 41 81 00 7C */ bgt lbl_80059E44 -/* 80059DCC 00056D2C 80 7C 00 00 */ lwz r3, 0(r28) -/* 80059DD0 00056D30 83 A3 00 00 */ lwz r29, 0(r3) -/* 80059DD4 00056D34 28 1D 00 00 */ cmplwi r29, 0 -/* 80059DD8 00056D38 41 82 00 5C */ beq lbl_80059E34 -/* 80059DDC 00056D3C 80 1D 00 04 */ lwz r0, 4(r29) -/* 80059DE0 00056D40 83 DD 00 0C */ lwz r30, 0xc(r29) -/* 80059DE4 00056D44 54 00 20 36 */ slwi r0, r0, 4 -/* 80059DE8 00056D48 7F FE 02 14 */ add r31, r30, r0 -/* 80059DEC 00056D4C 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80059DF0 00056D50 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80059DF4 00056D54 93 E1 00 10 */ stw r31, 0x10(r1) -/* 80059DF8 00056D58 93 C1 00 08 */ stw r30, 8(r1) -/* 80059DFC 00056D5C 48 00 00 18 */ b lbl_80059E14 -lbl_80059E00: -/* 80059E00 00056D60 28 1E 00 00 */ cmplwi r30, 0 -/* 80059E04 00056D64 41 82 00 0C */ beq lbl_80059E10 -/* 80059E08 00056D68 7F C3 F3 78 */ mr r3, r30 -/* 80059E0C 00056D6C 48 2E 3C D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80059E10: -/* 80059E10 00056D70 3B DE 00 10 */ addi r30, r30, 0x10 -lbl_80059E14: -/* 80059E14 00056D74 7C 1E F8 40 */ cmplw r30, r31 -/* 80059E18 00056D78 40 82 FF E8 */ bne lbl_80059E00 -/* 80059E1C 00056D7C 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80059E20 00056D80 28 03 00 00 */ cmplwi r3, 0 -/* 80059E24 00056D84 41 82 00 08 */ beq lbl_80059E2C -/* 80059E28 00056D88 48 2B BB 09 */ bl Free__7CMemoryFPCv -lbl_80059E2C: -/* 80059E2C 00056D8C 7F A3 EB 78 */ mr r3, r29 -/* 80059E30 00056D90 48 2B BB 01 */ bl Free__7CMemoryFPCv -lbl_80059E34: -/* 80059E34 00056D94 80 7C 00 00 */ lwz r3, 0(r28) -/* 80059E38 00056D98 28 03 00 00 */ cmplwi r3, 0 -/* 80059E3C 00056D9C 41 82 00 08 */ beq lbl_80059E44 -/* 80059E40 00056DA0 48 2B BA F1 */ bl Free__7CMemoryFPCv -lbl_80059E44: -/* 80059E44 00056DA4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80059E48 00056DA8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80059E4C 00056DAC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80059E50 00056DB0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80059E54 00056DB4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80059E58 00056DB8 7C 08 03 A6 */ mtlr r0 -/* 80059E5C 00056DBC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80059E60 00056DC0 4E 80 00 20 */ blr - -.global sub_80059e64 -sub_80059e64: -/* 80059E64 00056DC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80059E68 00056DC8 7C 08 02 A6 */ mflr r0 -/* 80059E6C 00056DCC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80059E70 00056DD0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80059E74 00056DD4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80059E78 00056DD8 7C 7E 1B 78 */ mr r30, r3 -/* 80059E7C 00056DDC 80 83 00 00 */ lwz r4, 0(r3) -/* 80059E80 00056DE0 80 64 00 04 */ lwz r3, 4(r4) -/* 80059E84 00056DE4 34 03 FF FF */ addic. r0, r3, -1 -/* 80059E88 00056DE8 90 04 00 04 */ stw r0, 4(r4) -/* 80059E8C 00056DEC 41 81 00 6C */ bgt lbl_80059EF8 -/* 80059E90 00056DF0 80 7E 00 00 */ lwz r3, 0(r30) -/* 80059E94 00056DF4 83 E3 00 00 */ lwz r31, 0(r3) -/* 80059E98 00056DF8 28 1F 00 00 */ cmplwi r31, 0 -/* 80059E9C 00056DFC 41 82 00 4C */ beq lbl_80059EE8 -/* 80059EA0 00056E00 80 1F 00 04 */ lwz r0, 4(r31) -/* 80059EA4 00056E04 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80059EA8 00056E08 54 00 10 3A */ slwi r0, r0, 2 -/* 80059EAC 00056E0C 7C 03 02 14 */ add r0, r3, r0 -/* 80059EB0 00056E10 90 61 00 0C */ stw r3, 0xc(r1) -/* 80059EB4 00056E14 7C 64 1B 78 */ mr r4, r3 -/* 80059EB8 00056E18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80059EBC 00056E1C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80059EC0 00056E20 90 61 00 08 */ stw r3, 8(r1) -/* 80059EC4 00056E24 48 00 00 08 */ b lbl_80059ECC -lbl_80059EC8: -/* 80059EC8 00056E28 38 84 00 04 */ addi r4, r4, 4 -lbl_80059ECC: -/* 80059ECC 00056E2C 7C 04 00 40 */ cmplw r4, r0 -/* 80059ED0 00056E30 40 82 FF F8 */ bne lbl_80059EC8 -/* 80059ED4 00056E34 28 03 00 00 */ cmplwi r3, 0 -/* 80059ED8 00056E38 41 82 00 08 */ beq lbl_80059EE0 -/* 80059EDC 00056E3C 48 2B BA 55 */ bl Free__7CMemoryFPCv -lbl_80059EE0: -/* 80059EE0 00056E40 7F E3 FB 78 */ mr r3, r31 -/* 80059EE4 00056E44 48 2B BA 4D */ bl Free__7CMemoryFPCv -lbl_80059EE8: -/* 80059EE8 00056E48 80 7E 00 00 */ lwz r3, 0(r30) -/* 80059EEC 00056E4C 28 03 00 00 */ cmplwi r3, 0 -/* 80059EF0 00056E50 41 82 00 08 */ beq lbl_80059EF8 -/* 80059EF4 00056E54 48 2B BA 3D */ bl Free__7CMemoryFPCv -lbl_80059EF8: -/* 80059EF8 00056E58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80059EFC 00056E5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80059F00 00056E60 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80059F04 00056E64 7C 08 03 A6 */ mtlr r0 -/* 80059F08 00056E68 38 21 00 20 */ addi r1, r1, 0x20 -/* 80059F0C 00056E6C 4E 80 00 20 */ blr - -.global __sinit_CWorld_cpp -__sinit_CWorld_cpp: -/* 80059F10 00056E70 38 00 00 00 */ li r0, 0 -/* 80059F14 00056E74 90 0D A2 18 */ stw r0, lbl_805A8DD8@sda21(r13) -/* 80059F18 00056E78 90 0D A2 1C */ stw r0, lbl_805A8DDC@sda21(r13) -/* 80059F1C 00056E7C 4E 80 00 20 */ blr - -.global __ct__14CTweakParticleFR12CInputStream -__ct__14CTweakParticleFR12CInputStream: -/* 80059F20 00056E80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80059F24 00056E84 7C 08 02 A6 */ mflr r0 -/* 80059F28 00056E88 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha -/* 80059F2C 00056E8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80059F30 00056E90 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l -/* 80059F34 00056E94 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80059F38 00056E98 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80059F3C 00056E9C 7C 9F 23 78 */ mr r31, r4 -/* 80059F40 00056EA0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80059F44 00056EA4 7C 7E 1B 78 */ mr r30, r3 -/* 80059F48 00056EA8 3C 60 80 3E */ lis r3, lbl_803DA088@ha -/* 80059F4C 00056EAC 90 1E 00 00 */ stw r0, 0(r30) -/* 80059F50 00056EB0 38 03 A0 88 */ addi r0, r3, lbl_803DA088@l -/* 80059F54 00056EB4 38 7E 00 04 */ addi r3, r30, 4 -/* 80059F58 00056EB8 90 1E 00 00 */ stw r0, 0(r30) -/* 80059F5C 00056EBC 48 2E 43 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80059F60 00056EC0 7F E4 FB 78 */ mr r4, r31 -/* 80059F64 00056EC4 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80059F68 00056EC8 38 A1 00 0C */ addi r5, r1, 0xc -/* 80059F6C 00056ECC 48 2E 43 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80059F70 00056ED0 7F E4 FB 78 */ mr r4, r31 -/* 80059F74 00056ED4 38 7E 00 24 */ addi r3, r30, 0x24 -/* 80059F78 00056ED8 38 A1 00 08 */ addi r5, r1, 8 -/* 80059F7C 00056EDC 48 2E 43 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80059F80 00056EE0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80059F84 00056EE4 7F C3 F3 78 */ mr r3, r30 -/* 80059F88 00056EE8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80059F8C 00056EEC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80059F90 00056EF0 7C 08 03 A6 */ mtlr r0 -/* 80059F94 00056EF4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80059F98 00056EF8 4E 80 00 20 */ blr - -.global __dt__14CTweakParticleFv -__dt__14CTweakParticleFv: -/* 80059F9C 00056EFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80059FA0 00056F00 7C 08 02 A6 */ mflr r0 -/* 80059FA4 00056F04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80059FA8 00056F08 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80059FAC 00056F0C 7C 9F 23 78 */ mr r31, r4 -/* 80059FB0 00056F10 93 C1 00 08 */ stw r30, 8(r1) -/* 80059FB4 00056F14 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80059FB8 00056F18 41 82 00 64 */ beq lbl_8005A01C -/* 80059FBC 00056F1C 3C 60 80 3E */ lis r3, lbl_803DA088@ha -/* 80059FC0 00056F20 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 80059FC4 00056F24 38 03 A0 88 */ addi r0, r3, lbl_803DA088@l -/* 80059FC8 00056F28 90 1E 00 00 */ stw r0, 0(r30) -/* 80059FCC 00056F2C 41 82 00 0C */ beq lbl_80059FD8 -/* 80059FD0 00056F30 38 7E 00 24 */ addi r3, r30, 0x24 -/* 80059FD4 00056F34 48 2E 3B 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80059FD8: -/* 80059FD8 00056F38 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80059FDC 00056F3C 41 82 00 0C */ beq lbl_80059FE8 -/* 80059FE0 00056F40 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80059FE4 00056F44 48 2E 3A FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80059FE8: -/* 80059FE8 00056F48 34 1E 00 04 */ addic. r0, r30, 4 -/* 80059FEC 00056F4C 41 82 00 0C */ beq lbl_80059FF8 -/* 80059FF0 00056F50 38 7E 00 04 */ addi r3, r30, 4 -/* 80059FF4 00056F54 48 2E 3A ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80059FF8: -/* 80059FF8 00056F58 28 1E 00 00 */ cmplwi r30, 0 -/* 80059FFC 00056F5C 41 82 00 10 */ beq lbl_8005A00C -/* 8005A000 00056F60 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 8005A004 00056F64 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 8005A008 00056F68 90 1E 00 00 */ stw r0, 0(r30) -lbl_8005A00C: -/* 8005A00C 00056F6C 7F E0 07 35 */ extsh. r0, r31 -/* 8005A010 00056F70 40 81 00 0C */ ble lbl_8005A01C -/* 8005A014 00056F74 7F C3 F3 78 */ mr r3, r30 -/* 8005A018 00056F78 48 00 00 21 */ bl "__dl__28TOneStatic<14CTweakParticle>FPv" -lbl_8005A01C: -/* 8005A01C 00056F7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005A020 00056F80 7F C3 F3 78 */ mr r3, r30 -/* 8005A024 00056F84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005A028 00056F88 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005A02C 00056F8C 7C 08 03 A6 */ mtlr r0 -/* 8005A030 00056F90 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005A034 00056F94 4E 80 00 20 */ blr - -.global "__dl__28TOneStatic<14CTweakParticle>FPv" -"__dl__28TOneStatic<14CTweakParticle>FPv": -/* 8005A038 00056F98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005A03C 00056F9C 7C 08 02 A6 */ mflr r0 -/* 8005A040 00056FA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005A044 00056FA4 4B FD D0 81 */ bl "ReferenceCount__28TOneStatic<14CTweakParticle>Fv" -/* 8005A048 00056FA8 80 83 00 00 */ lwz r4, 0(r3) -/* 8005A04C 00056FAC 38 04 FF FF */ addi r0, r4, -1 -/* 8005A050 00056FB0 90 03 00 00 */ stw r0, 0(r3) -/* 8005A054 00056FB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005A058 00056FB8 7C 08 03 A6 */ mtlr r0 -/* 8005A05C 00056FBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005A060 00056FC0 4E 80 00 20 */ blr - -.global "Clamp__5CMathFRCiRCiRCi" -"Clamp__5CMathFRCiRCiRCi": -/* 8005A064 00056FC4 80 03 00 00 */ lwz r0, 0(r3) -/* 8005A068 00056FC8 80 C4 00 00 */ lwz r6, 0(r4) -/* 8005A06C 00056FCC 7C 00 30 00 */ cmpw r0, r6 -/* 8005A070 00056FD0 4D 81 00 20 */ bgtlr -/* 8005A074 00056FD4 80 05 00 00 */ lwz r0, 0(r5) -/* 8005A078 00056FD8 7C 00 30 00 */ cmpw r0, r6 -/* 8005A07C 00056FDC 40 80 00 0C */ bge lbl_8005A088 -/* 8005A080 00056FE0 7C A3 2B 78 */ mr r3, r5 -/* 8005A084 00056FE4 4E 80 00 20 */ blr -lbl_8005A088: -/* 8005A088 00056FE8 7C 83 23 78 */ mr r3, r4 -/* 8005A08C 00056FEC 4E 80 00 20 */ blr - -.global sub_8005a090 -sub_8005a090: -/* 8005A090 00056FF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005A094 00056FF4 7C 08 02 A6 */ mflr r0 -/* 8005A098 00056FF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005A09C 00056FFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005A0A0 00057000 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8005A0A4 00057004 41 82 00 30 */ beq lbl_8005A0D4 -/* 8005A0A8 00057008 3C 60 80 3E */ lis r3, lbl_803DA098@ha -/* 8005A0AC 0005700C 38 03 A0 98 */ addi r0, r3, lbl_803DA098@l -/* 8005A0B0 00057010 90 1F 00 00 */ stw r0, 0(r31) -/* 8005A0B4 00057014 41 82 00 10 */ beq lbl_8005A0C4 -/* 8005A0B8 00057018 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha -/* 8005A0BC 0005701C 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l -/* 8005A0C0 00057020 90 1F 00 00 */ stw r0, 0(r31) -lbl_8005A0C4: -/* 8005A0C4 00057024 7C 80 07 35 */ extsh. r0, r4 -/* 8005A0C8 00057028 40 81 00 0C */ ble lbl_8005A0D4 -/* 8005A0CC 0005702C 7F E3 FB 78 */ mr r3, r31 -/* 8005A0D0 00057030 48 2B B8 61 */ bl Free__7CMemoryFPCv -lbl_8005A0D4: -/* 8005A0D4 00057034 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005A0D8 00057038 7F E3 FB 78 */ mr r3, r31 -/* 8005A0DC 0005703C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005A0E0 00057040 7C 08 03 A6 */ mtlr r0 -/* 8005A0E4 00057044 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005A0E8 00057048 4E 80 00 20 */ blr - -.global __ct__28CArchMsgParmControllerStatusFsb -__ct__28CArchMsgParmControllerStatusFsb: -/* 8005A0EC 0005704C 3C E0 80 3E */ lis r7, lbl_803D8E9C@ha -/* 8005A0F0 00057050 3C C0 80 3E */ lis r6, lbl_803DA098@ha -/* 8005A0F4 00057054 38 E7 8E 9C */ addi r7, r7, lbl_803D8E9C@l -/* 8005A0F8 00057058 90 E3 00 00 */ stw r7, 0(r3) -/* 8005A0FC 0005705C 38 06 A0 98 */ addi r0, r6, lbl_803DA098@l -/* 8005A100 00057060 90 03 00 00 */ stw r0, 0(r3) -/* 8005A104 00057064 B0 83 00 04 */ sth r4, 4(r3) -/* 8005A108 00057068 98 A3 00 06 */ stb r5, 6(r3) -/* 8005A10C 0005706C 4E 80 00 20 */ blr - -.global sub_8005a110 -sub_8005a110: -/* 8005A110 00057070 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005A114 00057074 7C 08 02 A6 */ mflr r0 -/* 8005A118 00057078 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005A11C 0005707C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005A120 00057080 7C 9F 23 78 */ mr r31, r4 -/* 8005A124 00057084 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005A128 00057088 7C 7E 1B 78 */ mr r30, r3 -/* 8005A12C 0005708C 80 04 0F 34 */ lwz r0, 0xf34(r4) -/* 8005A130 00057090 2C 00 00 00 */ cmpwi r0, 0 -/* 8005A134 00057094 40 82 00 48 */ bne lbl_8005A17C -/* 8005A138 00057098 88 1E 00 F4 */ lbz r0, 0xf4(r30) -/* 8005A13C 0005709C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005A140 000570A0 41 82 00 3C */ beq lbl_8005A17C -/* 8005A144 000570A4 38 00 00 01 */ li r0, 1 -/* 8005A148 000570A8 38 60 00 01 */ li r3, 1 -/* 8005A14C 000570AC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) -/* 8005A150 000570B0 48 2E B6 99 */ bl SetRenderModelBlack__10CCubeModelFb -/* 8005A154 000570B4 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8005A158 000570B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8005A15C 000570BC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8005A160 000570C0 7D 89 03 A6 */ mtctr r12 -/* 8005A164 000570C4 4E 80 04 21 */ bctrl -/* 8005A168 000570C8 38 60 00 00 */ li r3, 0 -/* 8005A16C 000570CC 48 2E B6 7D */ bl SetRenderModelBlack__10CCubeModelFb -/* 8005A170 000570D0 38 00 00 00 */ li r0, 0 -/* 8005A174 000570D4 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) -/* 8005A178 000570D8 48 00 00 64 */ b lbl_8005A1DC -lbl_8005A17C: -/* 8005A17C 000570DC 88 1E 00 F4 */ lbz r0, 0xf4(r30) -/* 8005A180 000570E0 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 8005A184 000570E4 7C 00 00 34 */ cntlzw r0, r0 -/* 8005A188 000570E8 54 00 D9 7E */ srwi r0, r0, 5 -/* 8005A18C 000570EC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) -/* 8005A190 000570F0 48 2E FE 25 */ bl Black__6CColorFv -/* 8005A194 000570F4 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2) -/* 8005A198 000570F8 7C 64 1B 78 */ mr r4, r3 -/* 8005A19C 000570FC C0 42 86 AC */ lfs f2, lbl_805AA3CC@sda21(r2) -/* 8005A1A0 00057100 38 60 00 02 */ li r3, 2 -/* 8005A1A4 00057104 48 2B 00 E5 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor -/* 8005A1A8 00057108 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8005A1AC 0005710C 81 83 00 00 */ lwz r12, 0(r3) -/* 8005A1B0 00057110 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8005A1B4 00057114 7D 89 03 A6 */ mtctr r12 -/* 8005A1B8 00057118 4E 80 04 21 */ bctrl -/* 8005A1BC 0005711C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005A1C0 00057120 7F E3 FB 78 */ mr r3, r31 -/* 8005A1C4 00057124 38 81 00 0C */ addi r4, r1, 0xc -/* 8005A1C8 00057128 90 01 00 08 */ stw r0, 8(r1) -/* 8005A1CC 0005712C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8005A1D0 00057130 4B FE CB B1 */ bl SetupFogForArea__13CStateManagerCF7TAreaId -/* 8005A1D4 00057134 38 00 00 00 */ li r0, 0 -/* 8005A1D8 00057138 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) -lbl_8005A1DC: -/* 8005A1DC 0005713C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005A1E0 00057140 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005A1E4 00057144 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005A1E8 00057148 7C 08 03 A6 */ mtlr r0 -/* 8005A1EC 0005714C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005A1F0 00057150 4E 80 00 20 */ blr - -.global sub_8005a1f4 -sub_8005a1f4: -/* 8005A1F4 00057154 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8005A1F8 00057158 7C 08 02 A6 */ mflr r0 -/* 8005A1FC 0005715C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8005A200 00057160 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8005A204 00057164 7C 7F 1B 78 */ mr r31, r3 -/* 8005A208 00057168 38 61 00 2C */ addi r3, r1, 0x2c -/* 8005A20C 0005716C 80 9F 00 E8 */ lwz r4, 0xe8(r31) -/* 8005A210 00057170 81 84 00 00 */ lwz r12, 0(r4) -/* 8005A214 00057174 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8005A218 00057178 7D 89 03 A6 */ mtctr r12 -/* 8005A21C 0005717C 4E 80 04 21 */ bctrl -/* 8005A220 00057180 88 01 00 44 */ lbz r0, 0x44(r1) -/* 8005A224 00057184 28 00 00 00 */ cmplwi r0, 0 -/* 8005A228 00057188 98 01 00 60 */ stb r0, 0x60(r1) -/* 8005A22C 0005718C 41 82 00 3C */ beq lbl_8005A268 -/* 8005A230 00057190 34 61 00 48 */ addic. r3, r1, 0x48 -/* 8005A234 00057194 41 82 00 34 */ beq lbl_8005A268 -/* 8005A238 00057198 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8005A23C 0005719C D0 03 00 00 */ stfs f0, 0(r3) -/* 8005A240 000571A0 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8005A244 000571A4 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005A248 000571A8 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8005A24C 000571AC D0 03 00 08 */ stfs f0, 8(r3) -/* 8005A250 000571B0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8005A254 000571B4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8005A258 000571B8 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8005A25C 000571BC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8005A260 000571C0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8005A264 000571C4 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8005A268: -/* 8005A268 000571C8 88 01 00 60 */ lbz r0, 0x60(r1) -/* 8005A26C 000571CC 38 60 00 00 */ li r3, 0 -/* 8005A270 000571D0 98 61 00 44 */ stb r3, 0x44(r1) -/* 8005A274 000571D4 28 00 00 00 */ cmplwi r0, 0 -/* 8005A278 000571D8 41 82 00 48 */ beq lbl_8005A2C0 -/* 8005A27C 000571DC 80 81 00 48 */ lwz r4, 0x48(r1) -/* 8005A280 000571E0 38 60 00 01 */ li r3, 1 -/* 8005A284 000571E4 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8005A288 000571E8 90 9F 00 9C */ stw r4, 0x9c(r31) -/* 8005A28C 000571EC 80 81 00 50 */ lwz r4, 0x50(r1) -/* 8005A290 000571F0 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 8005A294 000571F4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8005A298 000571F8 90 9F 00 A4 */ stw r4, 0xa4(r31) -/* 8005A29C 000571FC 80 81 00 58 */ lwz r4, 0x58(r1) -/* 8005A2A0 00057200 90 1F 00 A8 */ stw r0, 0xa8(r31) -/* 8005A2A4 00057204 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8005A2A8 00057208 90 9F 00 AC */ stw r4, 0xac(r31) -/* 8005A2AC 0005720C 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 8005A2B0 00057210 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 8005A2B4 00057214 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8005A2B8 00057218 98 1F 00 F4 */ stb r0, 0xf4(r31) -/* 8005A2BC 0005721C 48 00 00 68 */ b lbl_8005A324 -lbl_8005A2C0: -/* 8005A2C0 00057220 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 8005A2C4 00057224 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8005A2C8 00057228 38 81 00 08 */ addi r4, r1, 8 -/* 8005A2CC 0005722C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8005A2D0 00057230 98 1F 00 F4 */ stb r0, 0xf4(r31) -/* 8005A2D4 00057234 7C 85 23 78 */ mr r5, r4 -/* 8005A2D8 00057238 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8005A2DC 0005723C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8005A2E0 00057240 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8005A2E4 00057244 D0 01 00 08 */ stfs f0, 8(r1) -/* 8005A2E8 00057248 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8005A2EC 0005724C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8005A2F0 00057250 48 2D E2 19 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8005A2F4 00057254 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8005A2F8 00057258 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8005A2FC 0005725C 90 7F 00 9C */ stw r3, 0x9c(r31) -/* 8005A300 00057260 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 8005A304 00057264 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8005A308 00057268 90 1F 00 A4 */ stw r0, 0xa4(r31) -/* 8005A30C 0005726C 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8005A310 00057270 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005A314 00057274 90 7F 00 A8 */ stw r3, 0xa8(r31) -/* 8005A318 00057278 90 1F 00 AC */ stw r0, 0xac(r31) -/* 8005A31C 0005727C 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8005A320 00057280 90 1F 00 B0 */ stw r0, 0xb0(r31) -lbl_8005A324: -/* 8005A324 00057284 38 00 00 00 */ li r0, 0 -/* 8005A328 00057288 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8005A32C 0005728C 98 01 00 60 */ stb r0, 0x60(r1) -/* 8005A330 00057290 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8005A334 00057294 7C 08 03 A6 */ mtlr r0 -/* 8005A338 00057298 38 21 00 70 */ addi r1, r1, 0x70 -/* 8005A33C 0005729C 4E 80 00 20 */ blr - -.global sub_8005a340 -sub_8005a340: -/* 8005A340 000572A0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8005A344 000572A4 7C 08 02 A6 */ mflr r0 -/* 8005A348 000572A8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8005A34C 000572AC BE E1 00 AC */ stmw r23, 0xac(r1) -/* 8005A350 000572B0 7C 9D 23 78 */ mr r29, r4 -/* 8005A354 000572B4 2C 1D 00 22 */ cmpwi r29, 0x22 -/* 8005A358 000572B8 7C 7C 1B 78 */ mr r28, r3 -/* 8005A35C 000572BC 7C BE 2B 78 */ mr r30, r5 -/* 8005A360 000572C0 7C DF 33 78 */ mr r31, r6 -/* 8005A364 000572C4 41 82 01 44 */ beq lbl_8005A4A8 -/* 8005A368 000572C8 40 80 01 6C */ bge lbl_8005A4D4 -/* 8005A36C 000572CC 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 8005A370 000572D0 40 80 00 08 */ bge lbl_8005A378 -/* 8005A374 000572D4 48 00 01 60 */ b lbl_8005A4D4 -lbl_8005A378: -/* 8005A378 000572D8 80 7C 00 E8 */ lwz r3, 0xe8(r28) -/* 8005A37C 000572DC 81 83 00 00 */ lwz r12, 0(r3) -/* 8005A380 000572E0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8005A384 000572E4 7D 89 03 A6 */ mtctr r12 -/* 8005A388 000572E8 4E 80 04 21 */ bctrl -/* 8005A38C 000572EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005A390 000572F0 41 82 01 44 */ beq lbl_8005A4D4 -/* 8005A394 000572F4 7F E4 FB 78 */ mr r4, r31 -/* 8005A398 000572F8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8005A39C 000572FC 4B FF 2D 41 */ bl AllocateUniqueId__13CStateManagerFv -/* 8005A3A0 00057300 A0 01 00 2C */ lhz r0, 0x2c(r1) -/* 8005A3A4 00057304 3C 60 80 3D */ lis r3, lbl_803CCF78@ha -/* 8005A3A8 00057308 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l -/* 8005A3AC 0005730C 3B 60 00 00 */ li r27, 0 -/* 8005A3B0 00057310 B0 1C 00 EC */ sth r0, 0xec(r28) -/* 8005A3B4 00057314 3A E0 00 00 */ li r23, 0 -/* 8005A3B8 00057318 38 60 01 48 */ li r3, 0x148 -/* 8005A3BC 0005731C 38 A0 00 00 */ li r5, 0 -/* 8005A3C0 00057320 83 1C 00 F0 */ lwz r24, 0xf0(r28) -/* 8005A3C4 00057324 48 2B B4 A9 */ bl __nw__FUlPCcPCc -/* 8005A3C8 00057328 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8005A3CC 0005732C 41 82 00 AC */ beq lbl_8005A478 -/* 8005A3D0 00057330 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8005A3D4 00057334 3C 60 80 3D */ lis r3, lbl_803CCF78@ha -/* 8005A3D8 00057338 83 3C 00 E8 */ lwz r25, 0xe8(r28) -/* 8005A3DC 0005733C 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l -/* 8005A3E0 00057340 B0 01 00 24 */ sth r0, 0x24(r1) -/* 8005A3E4 00057344 38 61 00 48 */ addi r3, r1, 0x48 -/* 8005A3E8 00057348 38 84 00 07 */ addi r4, r4, 7 -/* 8005A3EC 0005734C B0 01 00 28 */ sth r0, 0x28(r1) -/* 8005A3F0 00057350 4B FA A8 C9 */ bl string_l__4rstlFPCc -/* 8005A3F4 00057354 38 61 00 38 */ addi r3, r1, 0x38 -/* 8005A3F8 00057358 38 81 00 48 */ addi r4, r1, 0x48 -/* 8005A3FC 0005735C 38 BC 00 10 */ addi r5, r28, 0x10 -/* 8005A400 00057360 3B 60 00 01 */ li r27, 1 -/* 8005A404 00057364 4B FA A8 59 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8005A408 00057368 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 8005A40C 0005736C 7F 24 CB 78 */ mr r4, r25 -/* 8005A410 00057370 80 BC 00 04 */ lwz r5, 4(r28) -/* 8005A414 00057374 38 61 00 58 */ addi r3, r1, 0x58 -/* 8005A418 00057378 54 19 CF FE */ rlwinm r25, r0, 0x19, 0x1f, 0x1f -/* 8005A41C 0005737C 3A E0 00 01 */ li r23, 1 -/* 8005A420 00057380 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8005A424 00057384 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 8005A428 00057388 90 A1 00 30 */ stw r5, 0x30(r1) -/* 8005A42C 0005738C B0 01 00 20 */ sth r0, 0x20(r1) -/* 8005A430 00057390 81 84 00 00 */ lwz r12, 0(r4) -/* 8005A434 00057394 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8005A438 00057398 7D 89 03 A6 */ mtctr r12 -/* 8005A43C 0005739C 4E 80 04 21 */ bctrl -/* 8005A440 000573A0 93 01 00 08 */ stw r24, 8(r1) -/* 8005A444 000573A4 38 00 00 01 */ li r0, 1 -/* 8005A448 000573A8 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2) -/* 8005A44C 000573AC 7F 43 D3 78 */ mr r3, r26 -/* 8005A450 000573B0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8005A454 000573B4 7F 26 CB 78 */ mr r6, r25 -/* 8005A458 000573B8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8005A45C 000573BC 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8005A460 000573C0 38 E1 00 38 */ addi r7, r1, 0x38 -/* 8005A464 000573C4 39 1C 00 34 */ addi r8, r28, 0x34 -/* 8005A468 000573C8 39 21 00 28 */ addi r9, r1, 0x28 -/* 8005A46C 000573CC 39 41 00 58 */ addi r10, r1, 0x58 -/* 8005A470 000573D0 48 05 B3 B5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" -/* 8005A474 000573D4 7C 7A 1B 78 */ mr r26, r3 -lbl_8005A478: -/* 8005A478 000573D8 7F E3 FB 78 */ mr r3, r31 -/* 8005A47C 000573DC 7F 44 D3 78 */ mr r4, r26 -/* 8005A480 000573E0 4B FF 28 75 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8005A484 000573E4 7E E0 07 75 */ extsb. r0, r23 -/* 8005A488 000573E8 41 82 00 0C */ beq lbl_8005A494 -/* 8005A48C 000573EC 38 61 00 38 */ addi r3, r1, 0x38 -/* 8005A490 000573F0 48 2E 36 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8005A494: -/* 8005A494 000573F4 7F 60 07 75 */ extsb. r0, r27 -/* 8005A498 000573F8 41 82 00 3C */ beq lbl_8005A4D4 -/* 8005A49C 000573FC 38 61 00 48 */ addi r3, r1, 0x48 -/* 8005A4A0 00057400 48 2E 36 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8005A4A4 00057404 48 00 00 30 */ b lbl_8005A4D4 -lbl_8005A4A8: -/* 8005A4A8 00057408 A0 7C 00 EC */ lhz r3, 0xec(r28) -/* 8005A4AC 0005740C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8005A4B0 00057410 7C 03 00 40 */ cmplw r3, r0 -/* 8005A4B4 00057414 41 82 00 20 */ beq lbl_8005A4D4 -/* 8005A4B8 00057418 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 8005A4BC 0005741C 7F E3 FB 78 */ mr r3, r31 -/* 8005A4C0 00057420 38 81 00 1C */ addi r4, r1, 0x1c -/* 8005A4C4 00057424 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8005A4C8 00057428 4B FF 1D A5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8005A4CC 0005742C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8005A4D0 00057430 B0 1C 00 EC */ sth r0, 0xec(r28) -lbl_8005A4D4: -/* 8005A4D4 00057434 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8005A4D8 00057438 7F 83 E3 78 */ mr r3, r28 -/* 8005A4DC 0005743C 7F A4 EB 78 */ mr r4, r29 -/* 8005A4E0 00057440 7F E6 FB 78 */ mr r6, r31 -/* 8005A4E4 00057444 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8005A4E8 00057448 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8005A4EC 0005744C 4B FF 91 29 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8005A4F0 00057450 A0 7C 00 EC */ lhz r3, 0xec(r28) -/* 8005A4F4 00057454 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8005A4F8 00057458 7C 03 00 40 */ cmplw r3, r0 -/* 8005A4FC 0005745C 41 82 00 28 */ beq lbl_8005A524 -/* 8005A500 00057460 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8005A504 00057464 7F E3 FB 78 */ mr r3, r31 -/* 8005A508 00057468 7F A6 EB 78 */ mr r6, r29 -/* 8005A50C 0005746C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8005A510 00057470 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8005A514 00057474 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8005A518 00057478 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 8005A51C 0005747C B0 01 00 14 */ sth r0, 0x14(r1) -/* 8005A520 00057480 4B FE 99 35 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId -lbl_8005A524: -/* 8005A524 00057484 BA E1 00 AC */ lmw r23, 0xac(r1) -/* 8005A528 00057488 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8005A52C 0005748C 7C 08 03 A6 */ mtlr r0 -/* 8005A530 00057490 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8005A534 00057494 4E 80 00 20 */ blr - -.global Accept__10CExplosionFR8IVisitor -Accept__10CExplosionFR8IVisitor: -/* 8005A538 00057498 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005A53C 0005749C 7C 08 02 A6 */ mflr r0 -/* 8005A540 000574A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005A544 000574A4 7C 60 1B 78 */ mr r0, r3 -/* 8005A548 000574A8 7C 83 23 78 */ mr r3, r4 -/* 8005A54C 000574AC 81 84 00 00 */ lwz r12, 0(r4) -/* 8005A550 000574B0 7C 04 03 78 */ mr r4, r0 -/* 8005A554 000574B4 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8005A558 000574B8 7D 89 03 A6 */ mtctr r12 -/* 8005A55C 000574BC 4E 80 04 21 */ bctrl -/* 8005A560 000574C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005A564 000574C4 7C 08 03 A6 */ mtlr r0 -/* 8005A568 000574C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005A56C 000574CC 4E 80 00 20 */ blr - -.global sub_8005a570 -sub_8005a570: -/* 8005A570 000574D0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8005A574 000574D4 7C 08 02 A6 */ mflr r0 -/* 8005A578 000574D8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8005A57C 000574DC DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8005A580 000574E0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8005A584 000574E4 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8005A588 000574E8 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8005A58C 000574EC 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8005A590 000574F0 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 8005A594 000574F4 FF E0 08 90 */ fmr f31, f1 -/* 8005A598 000574F8 7C 7D 1B 78 */ mr r29, r3 -/* 8005A59C 000574FC 7C 9E 23 78 */ mr r30, r4 -/* 8005A5A0 00057500 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8005A5A4 00057504 41 82 00 6C */ beq lbl_8005A610 -/* 8005A5A8 00057508 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 8005A5AC 0005750C 38 81 00 24 */ addi r4, r1, 0x24 -/* 8005A5B0 00057510 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 8005A5B4 00057514 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 8005A5B8 00057518 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8005A5BC 0005751C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8005A5C0 00057520 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8005A5C4 00057524 80 7D 00 E8 */ lwz r3, 0xe8(r29) -/* 8005A5C8 00057528 81 83 00 00 */ lwz r12, 0(r3) -/* 8005A5CC 0005752C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8005A5D0 00057530 7D 89 03 A6 */ mtctr r12 -/* 8005A5D4 00057534 4E 80 04 21 */ bctrl -/* 8005A5D8 00057538 83 FD 00 E8 */ lwz r31, 0xe8(r29) -/* 8005A5DC 0005753C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8005A5E0 00057540 38 9D 00 34 */ addi r4, r29, 0x34 -/* 8005A5E4 00057544 48 2B 86 5D */ bl GetRotation__12CTransform4fCFv -/* 8005A5E8 00057548 7F E3 FB 78 */ mr r3, r31 -/* 8005A5EC 0005754C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8005A5F0 00057550 81 9F 00 00 */ lwz r12, 0(r31) -/* 8005A5F4 00057554 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8005A5F8 00057558 7D 89 03 A6 */ mtctr r12 -/* 8005A5FC 0005755C 4E 80 04 21 */ bctrl -/* 8005A600 00057560 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8005A604 00057564 38 60 00 00 */ li r3, 0 -/* 8005A608 00057568 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8005A60C 0005756C 98 1D 00 E4 */ stb r0, 0xe4(r29) -lbl_8005A610: -/* 8005A610 00057570 80 7D 00 E8 */ lwz r3, 0xe8(r29) -/* 8005A614 00057574 FC 20 F8 90 */ fmr f1, f31 -/* 8005A618 00057578 81 83 00 00 */ lwz r12, 0(r3) -/* 8005A61C 0005757C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8005A620 00057580 7D 89 03 A6 */ mtctr r12 -/* 8005A624 00057584 4E 80 04 21 */ bctrl -/* 8005A628 00057588 A0 7D 00 EC */ lhz r3, 0xec(r29) -/* 8005A62C 0005758C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8005A630 00057590 7C 03 00 40 */ cmplw r3, r0 -/* 8005A634 00057594 41 82 00 60 */ beq lbl_8005A694 -/* 8005A638 00057598 A0 1D 00 EC */ lhz r0, 0xec(r29) -/* 8005A63C 0005759C 7F C3 F3 78 */ mr r3, r30 -/* 8005A640 000575A0 38 81 00 18 */ addi r4, r1, 0x18 -/* 8005A644 000575A4 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8005A648 000575A8 4B FF 1F 2D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8005A64C 000575AC 7C 64 1B 78 */ mr r4, r3 -/* 8005A650 000575B0 38 61 00 1C */ addi r3, r1, 0x1c -/* 8005A654 000575B4 48 05 34 31 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 8005A658 000575B8 83 E3 00 04 */ lwz r31, 4(r3) -/* 8005A65C 000575BC 28 1F 00 00 */ cmplwi r31, 0 -/* 8005A660 000575C0 41 82 00 34 */ beq lbl_8005A694 -/* 8005A664 000575C4 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 8005A668 000575C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005A66C 000575CC 41 82 00 28 */ beq lbl_8005A694 -/* 8005A670 000575D0 80 9D 00 E8 */ lwz r4, 0xe8(r29) -/* 8005A674 000575D4 38 61 00 60 */ addi r3, r1, 0x60 -/* 8005A678 000575D8 81 84 00 00 */ lwz r12, 0(r4) -/* 8005A67C 000575DC 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8005A680 000575E0 7D 89 03 A6 */ mtctr r12 -/* 8005A684 000575E4 4E 80 04 21 */ bctrl -/* 8005A688 000575E8 7F E3 FB 78 */ mr r3, r31 -/* 8005A68C 000575EC 38 81 00 60 */ addi r4, r1, 0x60 -/* 8005A690 000575F0 48 05 B0 B5 */ bl SetLight__10CGameLightFRC6CLight -lbl_8005A694: -/* 8005A694 000575F4 C0 3D 00 F8 */ lfs f1, 0xf8(r29) -/* 8005A698 000575F8 C0 02 86 B0 */ lfs f0, lbl_805AA3D0@sda21(r2) -/* 8005A69C 000575FC EC 21 F8 2A */ fadds f1, f1, f31 -/* 8005A6A0 00057600 D0 3D 00 F8 */ stfs f1, 0xf8(r29) -/* 8005A6A4 00057604 C0 3D 00 F8 */ lfs f1, 0xf8(r29) -/* 8005A6A8 00057608 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005A6AC 0005760C 40 81 00 20 */ ble lbl_8005A6CC -/* 8005A6B0 00057610 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8005A6B4 00057614 7F C3 F3 78 */ mr r3, r30 -/* 8005A6B8 00057618 38 81 00 14 */ addi r4, r1, 0x14 -/* 8005A6BC 0005761C B0 01 00 10 */ sth r0, 0x10(r1) -/* 8005A6C0 00057620 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8005A6C4 00057624 4B FF 1B A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8005A6C8 00057628 48 00 00 38 */ b lbl_8005A700 -lbl_8005A6CC: -/* 8005A6CC 0005762C 80 7D 00 E8 */ lwz r3, 0xe8(r29) -/* 8005A6D0 00057630 81 83 00 00 */ lwz r12, 0(r3) -/* 8005A6D4 00057634 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8005A6D8 00057638 7D 89 03 A6 */ mtctr r12 -/* 8005A6DC 0005763C 4E 80 04 21 */ bctrl -/* 8005A6E0 00057640 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005A6E4 00057644 41 82 00 1C */ beq lbl_8005A700 -/* 8005A6E8 00057648 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8005A6EC 0005764C 7F C3 F3 78 */ mr r3, r30 -/* 8005A6F0 00057650 38 81 00 0C */ addi r4, r1, 0xc -/* 8005A6F4 00057654 B0 01 00 08 */ sth r0, 8(r1) -/* 8005A6F8 00057658 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8005A6FC 0005765C 4B FF 1B 71 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_8005A700: -/* 8005A700 00057660 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8005A704 00057664 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8005A708 00057668 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8005A70C 0005766C 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8005A710 00057670 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8005A714 00057674 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8005A718 00057678 7C 08 03 A6 */ mtlr r0 -/* 8005A71C 0005767C 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8005A720 00057680 4E 80 00 20 */ blr - -.global sub_8005a724 -sub_8005a724: -/* 8005A724 00057684 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005A728 00057688 7C 08 02 A6 */ mflr r0 -/* 8005A72C 0005768C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005A730 00057690 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005A734 00057694 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005A738 00057698 7C BE 2B 78 */ mr r30, r5 -/* 8005A73C 0005769C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005A740 000576A0 7C 7D 1B 78 */ mr r29, r3 -/* 8005A744 000576A4 4B FF A5 9D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes -/* 8005A748 000576A8 88 1D 00 F4 */ lbz r0, 0xf4(r29) -/* 8005A74C 000576AC 3B E0 00 00 */ li r31, 0 -/* 8005A750 000576B0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8005A754 000576B4 41 82 00 18 */ beq lbl_8005A76C -/* 8005A758 000576B8 7F C3 F3 78 */ mr r3, r30 -/* 8005A75C 000576BC 38 9D 00 9C */ addi r4, r29, 0x9c -/* 8005A760 000576C0 48 2E AA 71 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 8005A764 000576C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005A768 000576C8 40 82 00 08 */ bne lbl_8005A770 -lbl_8005A76C: -/* 8005A76C 000576CC 3B E0 00 01 */ li r31, 1 -lbl_8005A770: -/* 8005A770 000576D0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8005A774 000576D4 53 E0 0F BC */ rlwimi r0, r31, 1, 0x1e, 0x1e -/* 8005A778 000576D8 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8005A77C 000576DC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005A780 000576E0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005A784 000576E4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005A788 000576E8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8005A78C 000576EC 7C 08 03 A6 */ mtlr r0 -/* 8005A790 000576F0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005A794 000576F4 4E 80 00 20 */ blr - -.global sub_8005a798 -sub_8005a798: -/* 8005A798 000576F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005A79C 000576FC 7C 08 02 A6 */ mflr r0 -/* 8005A7A0 00057700 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005A7A4 00057704 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005A7A8 00057708 7C BF 2B 78 */ mr r31, r5 -/* 8005A7AC 0005770C 93 C1 00 08 */ stw r30, 8(r1) -/* 8005A7B0 00057710 7C 7E 1B 78 */ mr r30, r3 -/* 8005A7B4 00057714 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 8005A7B8 00057718 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8005A7BC 0005771C 40 82 00 68 */ bne lbl_8005A824 -/* 8005A7C0 00057720 88 1E 00 F4 */ lbz r0, 0xf4(r30) -/* 8005A7C4 00057724 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005A7C8 00057728 41 82 00 10 */ beq lbl_8005A7D8 -/* 8005A7CC 0005772C 80 1F 0F 34 */ lwz r0, 0xf34(r31) -/* 8005A7D0 00057730 2C 00 00 00 */ cmpwi r0, 0 -/* 8005A7D4 00057734 41 82 00 28 */ beq lbl_8005A7FC -lbl_8005A7D8: -/* 8005A7D8 00057738 88 1E 00 F4 */ lbz r0, 0xf4(r30) -/* 8005A7DC 0005773C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8005A7E0 00057740 41 82 00 2C */ beq lbl_8005A80C -/* 8005A7E4 00057744 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8005A7E8 00057748 7F E4 FB 78 */ mr r4, r31 -/* 8005A7EC 0005774C 80 63 00 00 */ lwz r3, 0(r3) -/* 8005A7F0 00057750 48 03 6D 69 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8005A7F4 00057754 2C 03 00 01 */ cmpwi r3, 1 -/* 8005A7F8 00057758 40 82 00 14 */ bne lbl_8005A80C -lbl_8005A7FC: -/* 8005A7FC 0005775C 7F C3 F3 78 */ mr r3, r30 -/* 8005A800 00057760 7F E4 FB 78 */ mr r4, r31 -/* 8005A804 00057764 4B FF A1 C9 */ bl EnsureRendered__6CActorCFRC13CStateManager -/* 8005A808 00057768 48 00 00 1C */ b lbl_8005A824 -lbl_8005A80C: -/* 8005A80C 0005776C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8005A810 00057770 80 9E 00 E8 */ lwz r4, 0xe8(r30) -/* 8005A814 00057774 81 83 00 00 */ lwz r12, 0(r3) -/* 8005A818 00057778 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8005A81C 0005777C 7D 89 03 A6 */ mtctr r12 -/* 8005A820 00057780 4E 80 04 21 */ bctrl -lbl_8005A824: -/* 8005A824 00057784 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005A828 00057788 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005A82C 0005778C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005A830 00057790 7C 08 03 A6 */ mtlr r0 -/* 8005A834 00057794 38 21 00 10 */ addi r1, r1, 0x10 - -.global sub_8005a838 -sub_8005a838: -/* 8005A838 00057798 4E 80 00 20 */ blr - -.global __dt__10CExplosionFv -__dt__10CExplosionFv: -/* 8005A83C 0005779C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005A840 000577A0 7C 08 02 A6 */ mflr r0 -/* 8005A844 000577A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005A848 000577A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005A84C 000577AC 7C 9F 23 78 */ mr r31, r4 -/* 8005A850 000577B0 93 C1 00 08 */ stw r30, 8(r1) -/* 8005A854 000577B4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8005A858 000577B8 41 82 00 68 */ beq lbl_8005A8C0 -/* 8005A85C 000577BC 3C 60 80 3E */ lis r3, lbl_803DA0A8@ha -/* 8005A860 000577C0 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 8005A864 000577C4 38 03 A0 A8 */ addi r0, r3, lbl_803DA0A8@l -/* 8005A868 000577C8 90 1E 00 00 */ stw r0, 0(r30) -/* 8005A86C 000577CC 41 82 00 24 */ beq lbl_8005A890 -/* 8005A870 000577D0 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8005A874 000577D4 28 03 00 00 */ cmplwi r3, 0 -/* 8005A878 000577D8 41 82 00 18 */ beq lbl_8005A890 -/* 8005A87C 000577DC 81 83 00 00 */ lwz r12, 0(r3) -/* 8005A880 000577E0 38 80 00 01 */ li r4, 1 -/* 8005A884 000577E4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8005A888 000577E8 7D 89 03 A6 */ mtctr r12 -/* 8005A88C 000577EC 4E 80 04 21 */ bctrl -lbl_8005A890: -/* 8005A890 000577F0 28 1E 00 00 */ cmplwi r30, 0 -/* 8005A894 000577F4 41 82 00 1C */ beq lbl_8005A8B0 -/* 8005A898 000577F8 3C 80 80 3E */ lis r4, lbl_803DA118@ha -/* 8005A89C 000577FC 7F C3 F3 78 */ mr r3, r30 -/* 8005A8A0 00057800 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l -/* 8005A8A4 00057804 38 80 00 00 */ li r4, 0 -/* 8005A8A8 00057808 90 1E 00 00 */ stw r0, 0(r30) -/* 8005A8AC 0005780C 4B FF AE 45 */ bl __dt__6CActorFv -lbl_8005A8B0: -/* 8005A8B0 00057810 7F E0 07 35 */ extsh. r0, r31 -/* 8005A8B4 00057814 40 81 00 0C */ ble lbl_8005A8C0 -/* 8005A8B8 00057818 7F C3 F3 78 */ mr r3, r30 -/* 8005A8BC 0005781C 48 2B B0 75 */ bl Free__7CMemoryFPCv -lbl_8005A8C0: -/* 8005A8C0 00057820 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005A8C4 00057824 7F C3 F3 78 */ mr r3, r30 -/* 8005A8C8 00057828 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005A8CC 0005782C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005A8D0 00057830 7C 08 03 A6 */ mtlr r0 -/* 8005A8D4 00057834 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005A8D8 00057838 4E 80 00 20 */ blr - -.global "__ct__10CExplosionFRC31TLockedToken<20CElectricDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" -"__ct__10CExplosionFRC31TLockedToken<20CElectricDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor": -/* 8005A8DC 0005783C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8005A8E0 00057840 7C 08 02 A6 */ mflr r0 -/* 8005A8E4 00057844 90 01 00 84 */ stw r0, 0x84(r1) -/* 8005A8E8 00057848 BF 01 00 60 */ stmw r24, 0x60(r1) -/* 8005A8EC 0005784C 7C 9B 23 78 */ mr r27, r4 -/* 8005A8F0 00057850 7D 3C 4B 78 */ mr r28, r9 -/* 8005A8F4 00057854 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8005A8F8 00057858 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8005A8FC 0005785C 7C 7A 1B 78 */ mr r26, r3 -/* 8005A900 00057860 7D 5D 53 78 */ mr r29, r10 -/* 8005A904 00057864 38 81 00 08 */ addi r4, r1, 8 -/* 8005A908 00057868 A0 05 00 00 */ lhz r0, 0(r5) -/* 8005A90C 0005786C 7C E5 3B 78 */ mr r5, r7 -/* 8005A910 00057870 7D 07 43 78 */ mr r7, r8 -/* 8005A914 00057874 7F 88 E3 78 */ mr r8, r28 -/* 8005A918 00057878 B0 01 00 08 */ sth r0, 8(r1) -/* 8005A91C 0005787C 48 00 04 35 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f" -/* 8005A920 00057880 3C 80 80 3E */ lis r4, lbl_803DA0A8@ha -/* 8005A924 00057884 3C 60 80 3D */ lis r3, lbl_803CCF78@ha -/* 8005A928 00057888 38 04 A0 A8 */ addi r0, r4, lbl_803DA0A8@l -/* 8005A92C 0005788C 3B 00 00 00 */ li r24, 0 -/* 8005A930 00057890 90 1A 00 00 */ stw r0, 0(r26) -/* 8005A934 00057894 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l -/* 8005A938 00057898 38 60 04 58 */ li r3, 0x458 -/* 8005A93C 0005789C 38 A0 00 00 */ li r5, 0 -/* 8005A940 000578A0 48 2B AF 2D */ bl __nw__FUlPCcPCc -/* 8005A944 000578A4 7C 79 1B 79 */ or. r25, r3, r3 -/* 8005A948 000578A8 41 82 00 24 */ beq lbl_8005A96C -/* 8005A94C 000578AC 7F 64 DB 78 */ mr r4, r27 -/* 8005A950 000578B0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8005A954 000578B4 48 2E 65 55 */ bl __ct__6CTokenFRC6CToken -/* 8005A958 000578B8 7F 23 CB 78 */ mr r3, r25 -/* 8005A95C 000578BC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8005A960 000578C0 3B 00 00 01 */ li r24, 1 -/* 8005A964 000578C4 48 30 78 0D */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 8005A968 000578C8 7C 79 1B 78 */ mr r25, r3 -lbl_8005A96C: -/* 8005A96C 000578CC 7F 00 07 75 */ extsb. r0, r24 -/* 8005A970 000578D0 93 3A 00 E8 */ stw r25, 0xe8(r26) -/* 8005A974 000578D4 41 82 00 10 */ beq lbl_8005A984 -/* 8005A978 000578D8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8005A97C 000578DC 38 80 00 00 */ li r4, 0 -/* 8005A980 000578E0 48 2E 64 C1 */ bl __dt__6CTokenFv -lbl_8005A984: -/* 8005A984 000578E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8005A988 000578E8 7F 64 DB 78 */ mr r4, r27 -/* 8005A98C 000578EC 38 61 00 0C */ addi r3, r1, 0xc -/* 8005A990 000578F0 B0 1A 00 EC */ sth r0, 0xec(r26) -/* 8005A994 000578F4 48 2E 65 15 */ bl __ct__6CTokenFRC6CToken -/* 8005A998 000578F8 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8005A99C 000578FC 38 61 00 0C */ addi r3, r1, 0xc -/* 8005A9A0 00057900 38 80 FF FF */ li r4, -1 -/* 8005A9A4 00057904 80 05 00 08 */ lwz r0, 8(r5) -/* 8005A9A8 00057908 90 1A 00 F0 */ stw r0, 0xf0(r26) -/* 8005A9AC 0005790C 48 2E 64 95 */ bl __dt__6CTokenFv -/* 8005A9B0 00057910 88 7A 00 F4 */ lbz r3, 0xf4(r26) -/* 8005A9B4 00057914 53 A3 2E 30 */ rlwimi r3, r29, 5, 0x18, 0x18 -/* 8005A9B8 00057918 57 A0 07 FF */ clrlwi. r0, r29, 0x1f -/* 8005A9BC 0005791C 38 A0 00 01 */ li r5, 1 -/* 8005A9C0 00057920 98 7A 00 F4 */ stb r3, 0xf4(r26) -/* 8005A9C4 00057924 88 1A 00 F4 */ lbz r0, 0xf4(r26) -/* 8005A9C8 00057928 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8005A9CC 0005792C 98 1A 00 F4 */ stb r0, 0xf4(r26) -/* 8005A9D0 00057930 38 00 00 02 */ li r0, 2 -/* 8005A9D4 00057934 88 7A 00 F4 */ lbz r3, 0xf4(r26) -/* 8005A9D8 00057938 53 A3 16 B4 */ rlwimi r3, r29, 2, 0x1a, 0x1a -/* 8005A9DC 0005793C 98 7A 00 F4 */ stb r3, 0xf4(r26) -/* 8005A9E0 00057940 41 82 00 08 */ beq lbl_8005A9E8 -/* 8005A9E4 00057944 7C A0 2B 78 */ mr r0, r5 -lbl_8005A9E8: -/* 8005A9E8 00057948 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 8005A9EC 0005794C 88 1A 00 E6 */ lbz r0, 0xe6(r26) -/* 8005A9F0 00057950 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c -/* 8005A9F4 00057954 38 81 00 1C */ addi r4, r1, 0x1c -/* 8005A9F8 00057958 98 1A 00 E6 */ stb r0, 0xe6(r26) -/* 8005A9FC 0005795C C0 5C 00 2C */ lfs f2, 0x2c(r28) -/* 8005AA00 00057960 C0 3C 00 1C */ lfs f1, 0x1c(r28) -/* 8005AA04 00057964 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 8005AA08 00057968 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8005AA0C 0005796C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8005AA10 00057970 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8005AA14 00057974 80 7A 00 E8 */ lwz r3, 0xe8(r26) -/* 8005AA18 00057978 81 83 00 00 */ lwz r12, 0(r3) -/* 8005AA1C 0005797C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8005AA20 00057980 7D 89 03 A6 */ mtctr r12 -/* 8005AA24 00057984 4E 80 04 21 */ bctrl -/* 8005AA28 00057988 83 3A 00 E8 */ lwz r25, 0xe8(r26) -/* 8005AA2C 0005798C 7F 84 E3 78 */ mr r4, r28 -/* 8005AA30 00057990 38 61 00 28 */ addi r3, r1, 0x28 -/* 8005AA34 00057994 48 2B 82 0D */ bl GetRotation__12CTransform4fCFv -/* 8005AA38 00057998 7F 23 CB 78 */ mr r3, r25 -/* 8005AA3C 0005799C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8005AA40 000579A0 81 99 00 00 */ lwz r12, 0(r25) -/* 8005AA44 000579A4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8005AA48 000579A8 7D 89 03 A6 */ mtctr r12 -/* 8005AA4C 000579AC 4E 80 04 21 */ bctrl -/* 8005AA50 000579B0 80 7A 00 E8 */ lwz r3, 0xe8(r26) -/* 8005AA54 000579B4 7F C4 F3 78 */ mr r4, r30 -/* 8005AA58 000579B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8005AA5C 000579BC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8005AA60 000579C0 7D 89 03 A6 */ mtctr r12 -/* 8005AA64 000579C4 4E 80 04 21 */ bctrl -/* 8005AA68 000579C8 80 7A 00 E8 */ lwz r3, 0xe8(r26) -/* 8005AA6C 000579CC 7F E4 FB 78 */ mr r4, r31 -/* 8005AA70 000579D0 81 83 00 00 */ lwz r12, 0(r3) -/* 8005AA74 000579D4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8005AA78 000579D8 7D 89 03 A6 */ mtctr r12 -/* 8005AA7C 000579DC 4E 80 04 21 */ bctrl -/* 8005AA80 000579E0 7F 43 D3 78 */ mr r3, r26 -/* 8005AA84 000579E4 BB 01 00 60 */ lmw r24, 0x60(r1) -/* 8005AA88 000579E8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8005AA8C 000579EC 7C 08 03 A6 */ mtlr r0 -/* 8005AA90 000579F0 38 21 00 80 */ addi r1, r1, 0x80 -/* 8005AA94 000579F4 4E 80 00 20 */ blr - -.global __dt__7CEffectFv -__dt__7CEffectFv: -/* 8005AA98 000579F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005AA9C 000579FC 7C 08 02 A6 */ mflr r0 -/* 8005AAA0 00057A00 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005AAA4 00057A04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005AAA8 00057A08 7C 9F 23 78 */ mr r31, r4 -/* 8005AAAC 00057A0C 93 C1 00 08 */ stw r30, 8(r1) -/* 8005AAB0 00057A10 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8005AAB4 00057A14 41 82 00 28 */ beq lbl_8005AADC -/* 8005AAB8 00057A18 3C A0 80 3E */ lis r5, lbl_803DA118@ha -/* 8005AABC 00057A1C 38 80 00 00 */ li r4, 0 -/* 8005AAC0 00057A20 38 05 A1 18 */ addi r0, r5, lbl_803DA118@l -/* 8005AAC4 00057A24 90 1E 00 00 */ stw r0, 0(r30) -/* 8005AAC8 00057A28 4B FF AC 29 */ bl __dt__6CActorFv -/* 8005AACC 00057A2C 7F E0 07 35 */ extsh. r0, r31 -/* 8005AAD0 00057A30 40 81 00 0C */ ble lbl_8005AADC -/* 8005AAD4 00057A34 7F C3 F3 78 */ mr r3, r30 -/* 8005AAD8 00057A38 48 2B AE 59 */ bl Free__7CMemoryFPCv -lbl_8005AADC: -/* 8005AADC 00057A3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005AAE0 00057A40 7F C3 F3 78 */ mr r3, r30 -/* 8005AAE4 00057A44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005AAE8 00057A48 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005AAEC 00057A4C 7C 08 03 A6 */ mtlr r0 -/* 8005AAF0 00057A50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005AAF4 00057A54 4E 80 00 20 */ blr - -.global "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" -"__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor": -/* 8005AAF8 00057A58 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8005AAFC 00057A5C 7C 08 02 A6 */ mflr r0 -/* 8005AB00 00057A60 90 01 00 84 */ stw r0, 0x84(r1) -/* 8005AB04 00057A64 BF 01 00 60 */ stmw r24, 0x60(r1) -/* 8005AB08 00057A68 7C 9B 23 78 */ mr r27, r4 -/* 8005AB0C 00057A6C 7D 3C 4B 78 */ mr r28, r9 -/* 8005AB10 00057A70 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8005AB14 00057A74 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8005AB18 00057A78 7C 7A 1B 78 */ mr r26, r3 -/* 8005AB1C 00057A7C 7D 5D 53 78 */ mr r29, r10 -/* 8005AB20 00057A80 38 81 00 08 */ addi r4, r1, 8 -/* 8005AB24 00057A84 A0 05 00 00 */ lhz r0, 0(r5) -/* 8005AB28 00057A88 7C E5 3B 78 */ mr r5, r7 -/* 8005AB2C 00057A8C 7D 07 43 78 */ mr r7, r8 -/* 8005AB30 00057A90 7F 88 E3 78 */ mr r8, r28 -/* 8005AB34 00057A94 B0 01 00 08 */ sth r0, 8(r1) -/* 8005AB38 00057A98 48 00 02 19 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f" -/* 8005AB3C 00057A9C 3C 80 80 3E */ lis r4, lbl_803DA0A8@ha -/* 8005AB40 00057AA0 3C 60 80 3D */ lis r3, lbl_803CCF78@ha -/* 8005AB44 00057AA4 38 04 A0 A8 */ addi r0, r4, lbl_803DA0A8@l -/* 8005AB48 00057AA8 3B 00 00 00 */ li r24, 0 -/* 8005AB4C 00057AAC 90 1A 00 00 */ stw r0, 0(r26) -/* 8005AB50 00057AB0 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l -/* 8005AB54 00057AB4 38 60 03 40 */ li r3, 0x340 -/* 8005AB58 00057AB8 38 A0 00 00 */ li r5, 0 -/* 8005AB5C 00057ABC 48 2B AD 11 */ bl __nw__FUlPCcPCc -/* 8005AB60 00057AC0 7C 79 1B 79 */ or. r25, r3, r3 -/* 8005AB64 00057AC4 41 82 00 38 */ beq lbl_8005AB9C -/* 8005AB68 00057AC8 7F 64 DB 78 */ mr r4, r27 -/* 8005AB6C 00057ACC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8005AB70 00057AD0 48 2E 63 39 */ bl __ct__6CTokenFRC6CToken -/* 8005AB74 00057AD4 57 A0 07 BD */ rlwinm. r0, r29, 0, 0x1e, 0x1e -/* 8005AB78 00057AD8 7F 23 CB 78 */ mr r3, r25 -/* 8005AB7C 00057ADC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8005AB80 00057AE0 3B 00 00 01 */ li r24, 1 -/* 8005AB84 00057AE4 38 A0 00 00 */ li r5, 0 -/* 8005AB88 00057AE8 38 C0 00 01 */ li r6, 1 -/* 8005AB8C 00057AEC 41 82 00 08 */ beq lbl_8005AB94 -/* 8005AB90 00057AF0 38 C0 00 02 */ li r6, 2 -lbl_8005AB94: -/* 8005AB94 00057AF4 48 2C 48 4D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8005AB98 00057AF8 7C 79 1B 78 */ mr r25, r3 -lbl_8005AB9C: -/* 8005AB9C 00057AFC 7F 00 07 75 */ extsb. r0, r24 -/* 8005ABA0 00057B00 93 3A 00 E8 */ stw r25, 0xe8(r26) -/* 8005ABA4 00057B04 41 82 00 10 */ beq lbl_8005ABB4 -/* 8005ABA8 00057B08 38 61 00 14 */ addi r3, r1, 0x14 -/* 8005ABAC 00057B0C 38 80 00 00 */ li r4, 0 -/* 8005ABB0 00057B10 48 2E 62 91 */ bl __dt__6CTokenFv -lbl_8005ABB4: -/* 8005ABB4 00057B14 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8005ABB8 00057B18 7F 64 DB 78 */ mr r4, r27 -/* 8005ABBC 00057B1C 38 61 00 0C */ addi r3, r1, 0xc -/* 8005ABC0 00057B20 B0 1A 00 EC */ sth r0, 0xec(r26) -/* 8005ABC4 00057B24 48 2E 62 E5 */ bl __ct__6CTokenFRC6CToken -/* 8005ABC8 00057B28 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8005ABCC 00057B2C 38 61 00 0C */ addi r3, r1, 0xc -/* 8005ABD0 00057B30 38 80 FF FF */ li r4, -1 -/* 8005ABD4 00057B34 80 05 00 08 */ lwz r0, 8(r5) -/* 8005ABD8 00057B38 90 1A 00 F0 */ stw r0, 0xf0(r26) -/* 8005ABDC 00057B3C 48 2E 62 65 */ bl __dt__6CTokenFv -/* 8005ABE0 00057B40 88 7A 00 F4 */ lbz r3, 0xf4(r26) -/* 8005ABE4 00057B44 53 A3 2E 30 */ rlwimi r3, r29, 5, 0x18, 0x18 -/* 8005ABE8 00057B48 57 A0 07 FF */ clrlwi. r0, r29, 0x1f -/* 8005ABEC 00057B4C 38 A0 00 01 */ li r5, 1 -/* 8005ABF0 00057B50 98 7A 00 F4 */ stb r3, 0xf4(r26) -/* 8005ABF4 00057B54 38 00 00 02 */ li r0, 2 -/* 8005ABF8 00057B58 C0 02 86 A8 */ lfs f0, lbl_805AA3C8@sda21(r2) -/* 8005ABFC 00057B5C 88 7A 00 F4 */ lbz r3, 0xf4(r26) -/* 8005AC00 00057B60 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19 -/* 8005AC04 00057B64 98 7A 00 F4 */ stb r3, 0xf4(r26) -/* 8005AC08 00057B68 88 7A 00 F4 */ lbz r3, 0xf4(r26) -/* 8005AC0C 00057B6C 53 A3 16 B4 */ rlwimi r3, r29, 2, 0x1a, 0x1a -/* 8005AC10 00057B70 98 7A 00 F4 */ stb r3, 0xf4(r26) -/* 8005AC14 00057B74 D0 1A 00 F8 */ stfs f0, 0xf8(r26) -/* 8005AC18 00057B78 41 82 00 08 */ beq lbl_8005AC20 -/* 8005AC1C 00057B7C 7C A0 2B 78 */ mr r0, r5 -lbl_8005AC20: -/* 8005AC20 00057B80 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 8005AC24 00057B84 88 1A 00 E6 */ lbz r0, 0xe6(r26) -/* 8005AC28 00057B88 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c -/* 8005AC2C 00057B8C 38 81 00 1C */ addi r4, r1, 0x1c -/* 8005AC30 00057B90 98 1A 00 E6 */ stb r0, 0xe6(r26) -/* 8005AC34 00057B94 C0 5C 00 2C */ lfs f2, 0x2c(r28) -/* 8005AC38 00057B98 C0 3C 00 1C */ lfs f1, 0x1c(r28) -/* 8005AC3C 00057B9C C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 8005AC40 00057BA0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8005AC44 00057BA4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8005AC48 00057BA8 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8005AC4C 00057BAC 80 7A 00 E8 */ lwz r3, 0xe8(r26) -/* 8005AC50 00057BB0 81 83 00 00 */ lwz r12, 0(r3) -/* 8005AC54 00057BB4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8005AC58 00057BB8 7D 89 03 A6 */ mtctr r12 -/* 8005AC5C 00057BBC 4E 80 04 21 */ bctrl -/* 8005AC60 00057BC0 83 3A 00 E8 */ lwz r25, 0xe8(r26) -/* 8005AC64 00057BC4 7F 84 E3 78 */ mr r4, r28 -/* 8005AC68 00057BC8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8005AC6C 00057BCC 48 2B 7F D5 */ bl GetRotation__12CTransform4fCFv -/* 8005AC70 00057BD0 7F 23 CB 78 */ mr r3, r25 -/* 8005AC74 00057BD4 38 81 00 28 */ addi r4, r1, 0x28 -/* 8005AC78 00057BD8 81 99 00 00 */ lwz r12, 0(r25) -/* 8005AC7C 00057BDC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8005AC80 00057BE0 7D 89 03 A6 */ mtctr r12 -/* 8005AC84 00057BE4 4E 80 04 21 */ bctrl -/* 8005AC88 00057BE8 80 7A 00 E8 */ lwz r3, 0xe8(r26) -/* 8005AC8C 00057BEC 7F C4 F3 78 */ mr r4, r30 -/* 8005AC90 00057BF0 81 83 00 00 */ lwz r12, 0(r3) -/* 8005AC94 00057BF4 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8005AC98 00057BF8 7D 89 03 A6 */ mtctr r12 -/* 8005AC9C 00057BFC 4E 80 04 21 */ bctrl -/* 8005ACA0 00057C00 80 7A 00 E8 */ lwz r3, 0xe8(r26) -/* 8005ACA4 00057C04 7F E4 FB 78 */ mr r4, r31 -/* 8005ACA8 00057C08 81 83 00 00 */ lwz r12, 0(r3) -/* 8005ACAC 00057C0C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8005ACB0 00057C10 7D 89 03 A6 */ mtctr r12 -/* 8005ACB4 00057C14 4E 80 04 21 */ bctrl -/* 8005ACB8 00057C18 7F 43 D3 78 */ mr r3, r26 -/* 8005ACBC 00057C1C BB 01 00 60 */ lmw r24, 0x60(r1) -/* 8005ACC0 00057C20 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8005ACC4 00057C24 7C 08 03 A6 */ mtlr r0 -/* 8005ACC8 00057C28 38 21 00 80 */ addi r1, r1, 0x80 -/* 8005ACCC 00057C2C 4E 80 00 20 */ blr - -.global __dt__12CParticleGenFv -__dt__12CParticleGenFv: -/* 8005ACD0 00057C30 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005ACD4 00057C34 7C 08 02 A6 */ mflr r0 -/* 8005ACD8 00057C38 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005ACDC 00057C3C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005ACE0 00057C40 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005ACE4 00057C44 7C 9E 23 78 */ mr r30, r4 -/* 8005ACE8 00057C48 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005ACEC 00057C4C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8005ACF0 00057C50 41 82 00 38 */ beq lbl_8005AD28 -/* 8005ACF4 00057C54 83 FD 00 04 */ lwz r31, 4(r29) -/* 8005ACF8 00057C58 48 00 00 14 */ b lbl_8005AD0C -lbl_8005ACFC: -/* 8005ACFC 00057C5C 7F E3 FB 79 */ or. r3, r31, r31 -/* 8005AD00 00057C60 83 FF 00 04 */ lwz r31, 4(r31) -/* 8005AD04 00057C64 41 82 00 08 */ beq lbl_8005AD0C -/* 8005AD08 00057C68 48 2B AC 29 */ bl Free__7CMemoryFPCv -lbl_8005AD0C: -/* 8005AD0C 00057C6C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8005AD10 00057C70 7C 1F 00 40 */ cmplw r31, r0 -/* 8005AD14 00057C74 40 82 FF E8 */ bne lbl_8005ACFC -/* 8005AD18 00057C78 7F C0 07 35 */ extsh. r0, r30 -/* 8005AD1C 00057C7C 40 81 00 0C */ ble lbl_8005AD28 -/* 8005AD20 00057C80 7F A3 EB 78 */ mr r3, r29 -/* 8005AD24 00057C84 48 2B AC 0D */ bl Free__7CMemoryFPCv -lbl_8005AD28: -/* 8005AD28 00057C88 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005AD2C 00057C8C 7F A3 EB 78 */ mr r3, r29 -/* 8005AD30 00057C90 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005AD34 00057C94 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005AD38 00057C98 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8005AD3C 00057C9C 7C 08 03 A6 */ mtlr r0 -/* 8005AD40 00057CA0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005AD44 00057CA4 4E 80 00 20 */ blr - -.global nullsub_83 -nullsub_83: -/* 8005AD48 00057CA8 4E 80 00 20 */ blr - -.global nullsub_84 -nullsub_84: -/* 8005AD4C 00057CAC 4E 80 00 20 */ blr - -.global "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f" -"__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f": -/* 8005AD50 00057CB0 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8005AD54 00057CB4 7C 08 02 A6 */ mflr r0 -/* 8005AD58 00057CB8 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8005AD5C 00057CBC BF 41 00 D8 */ stmw r26, 0xd8(r1) -/* 8005AD60 00057CC0 7C 7F 1B 78 */ mr r31, r3 -/* 8005AD64 00057CC4 7C 9A 23 78 */ mr r26, r4 -/* 8005AD68 00057CC8 7C BB 2B 78 */ mr r27, r5 -/* 8005AD6C 00057CCC 7C DC 33 78 */ mr r28, r6 -/* 8005AD70 00057CD0 7C FD 3B 78 */ mr r29, r7 -/* 8005AD74 00057CD4 7D 1E 43 78 */ mr r30, r8 -/* 8005AD78 00057CD8 38 61 00 88 */ addi r3, r1, 0x88 -/* 8005AD7C 00057CDC 4B FD FA 29 */ bl CModelDataNull__10CModelDataFv -/* 8005AD80 00057CE0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005AD84 00057CE4 4B FC 00 B5 */ bl None__16CActorParametersFv -/* 8005AD88 00057CE8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8005AD8C 00057CEC 38 00 00 00 */ li r0, 0 -/* 8005AD90 00057CF0 80 AD 82 B8 */ lwz r5, lbl_805A6E78@sda21(r13) -/* 8005AD94 00057CF4 38 60 00 00 */ li r3, 0 -/* 8005AD98 00057CF8 B0 81 00 10 */ sth r4, 0x10(r1) -/* 8005AD9C 00057CFC 38 80 00 01 */ li r4, 1 -/* 8005ADA0 00057D00 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8005ADA4 00057D04 90 01 00 18 */ stw r0, 0x18(r1) -/* 8005ADA8 00057D08 48 32 F1 4D */ bl __shl2i -/* 8005ADAC 00057D0C 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8005ADB0 00057D10 39 61 00 20 */ addi r11, r1, 0x20 -/* 8005ADB4 00057D14 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8005ADB8 00057D18 38 01 00 10 */ addi r0, r1, 0x10 -/* 8005ADBC 00057D1C 7C A3 1B 78 */ or r3, r5, r3 -/* 8005ADC0 00057D20 A1 3A 00 00 */ lhz r9, 0(r26) -/* 8005ADC4 00057D24 7C C4 23 78 */ or r4, r6, r4 -/* 8005ADC8 00057D28 90 61 00 18 */ stw r3, 0x18(r1) -/* 8005ADCC 00057D2C 7F E3 FB 78 */ mr r3, r31 -/* 8005ADD0 00057D30 7F 85 E3 78 */ mr r5, r28 -/* 8005ADD4 00057D34 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8005ADD8 00057D38 7F A6 EB 78 */ mr r6, r29 -/* 8005ADDC 00057D3C 7F 67 DB 78 */ mr r7, r27 -/* 8005ADE0 00057D40 7F C8 F3 78 */ mr r8, r30 -/* 8005ADE4 00057D44 B1 21 00 14 */ sth r9, 0x14(r1) -/* 8005ADE8 00057D48 38 81 00 14 */ addi r4, r1, 0x14 -/* 8005ADEC 00057D4C 39 21 00 88 */ addi r9, r1, 0x88 -/* 8005ADF0 00057D50 39 41 00 18 */ addi r10, r1, 0x18 -/* 8005ADF4 00057D54 91 61 00 08 */ stw r11, 8(r1) -/* 8005ADF8 00057D58 90 01 00 0C */ stw r0, 0xc(r1) -/* 8005ADFC 00057D5C 4B FF AA 25 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8005AE00 00057D60 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005AE04 00057D64 38 80 FF FF */ li r4, -1 -/* 8005AE08 00057D68 48 0A B8 01 */ bl __dt__16CActorParametersFv -/* 8005AE0C 00057D6C 38 61 00 88 */ addi r3, r1, 0x88 -/* 8005AE10 00057D70 38 80 FF FF */ li r4, -1 -/* 8005AE14 00057D74 48 0B BC 39 */ bl __dt__10CModelDataFv -/* 8005AE18 00057D78 3C 80 80 3E */ lis r4, lbl_803DA118@ha -/* 8005AE1C 00057D7C 7F E3 FB 78 */ mr r3, r31 -/* 8005AE20 00057D80 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l -/* 8005AE24 00057D84 90 1F 00 00 */ stw r0, 0(r31) -/* 8005AE28 00057D88 BB 41 00 D8 */ lmw r26, 0xd8(r1) -/* 8005AE2C 00057D8C 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8005AE30 00057D90 7C 08 03 A6 */ mtlr r0 -/* 8005AE34 00057D94 38 21 00 F0 */ addi r1, r1, 0xf0 - -.global sub_8005ae38 -sub_8005ae38: -/* 8005AE38 00057D98 4E 80 00 20 */ blr - -.global UpdatePerspective__11CGameCameraFf -UpdatePerspective__11CGameCameraFf: -/* 8005AE3C 00057D9C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005AE40 00057DA0 7C 08 02 A6 */ mflr r0 -/* 8005AE44 00057DA4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005AE48 00057DA8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8005AE4C 00057DAC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8005AE50 00057DB0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005AE54 00057DB4 7C 7F 1B 78 */ mr r31, r3 -/* 8005AE58 00057DB8 C0 42 86 B8 */ lfs f2, lbl_805AA3D8@sda21(r2) -/* 8005AE5C 00057DBC C0 03 01 74 */ lfs f0, 0x174(r3) -/* 8005AE60 00057DC0 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8005AE64 00057DC4 40 81 00 10 */ ble lbl_8005AE74 -/* 8005AE68 00057DC8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8005AE6C 00057DCC D0 1F 01 74 */ stfs f0, 0x174(r31) -/* 8005AE70 00057DD0 48 00 00 8C */ b lbl_8005AEFC -lbl_8005AE74: -/* 8005AE74 00057DD4 C0 1F 01 78 */ lfs f0, 0x178(r31) -/* 8005AE78 00057DD8 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8005AE7C 00057DDC 40 81 00 80 */ ble lbl_8005AEFC -/* 8005AE80 00057DE0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8005AE84 00057DE4 D0 1F 01 78 */ stfs f0, 0x178(r31) -/* 8005AE88 00057DE8 C0 3F 01 78 */ lfs f1, 0x178(r31) -/* 8005AE8C 00057DEC FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 8005AE90 00057DF0 4C 40 13 82 */ cror 2, 0, 2 -/* 8005AE94 00057DF4 40 82 00 20 */ bne lbl_8005AEB4 -/* 8005AE98 00057DF8 C0 1F 01 84 */ lfs f0, 0x184(r31) -/* 8005AE9C 00057DFC 38 60 00 01 */ li r3, 1 -/* 8005AEA0 00057E00 D0 1F 01 5C */ stfs f0, 0x15c(r31) -/* 8005AEA4 00057E04 88 1F 01 70 */ lbz r0, 0x170(r31) -/* 8005AEA8 00057E08 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8005AEAC 00057E0C 98 1F 01 70 */ stb r0, 0x170(r31) -/* 8005AEB0 00057E10 48 00 00 4C */ b lbl_8005AEFC -lbl_8005AEB4: -/* 8005AEB4 00057E14 C0 1F 01 7C */ lfs f0, 0x17c(r31) -/* 8005AEB8 00057E18 38 81 00 08 */ addi r4, r1, 8 -/* 8005AEBC 00057E1C C0 5F 01 80 */ lfs f2, 0x180(r31) -/* 8005AEC0 00057E20 38 6D 82 D0 */ addi r3, r13, lbl_805A6E90@sda21 -/* 8005AEC4 00057E24 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8005AEC8 00057E28 C0 3F 01 84 */ lfs f1, 0x184(r31) -/* 8005AECC 00057E2C 38 AD 82 D4 */ addi r5, r13, lbl_805A6E94@sda21 -/* 8005AED0 00057E30 EF E2 08 28 */ fsubs f31, f2, f1 -/* 8005AED4 00057E34 D0 01 00 08 */ stfs f0, 8(r1) -/* 8005AED8 00057E38 4B FB 13 DD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8005AEDC 00057E3C C0 23 00 00 */ lfs f1, 0(r3) -/* 8005AEE0 00057E40 38 60 00 01 */ li r3, 1 -/* 8005AEE4 00057E44 C0 1F 01 84 */ lfs f0, 0x184(r31) -/* 8005AEE8 00057E48 EC 1F 00 7A */ fmadds f0, f31, f1, f0 -/* 8005AEEC 00057E4C D0 1F 01 5C */ stfs f0, 0x15c(r31) -/* 8005AEF0 00057E50 88 1F 01 70 */ lbz r0, 0x170(r31) -/* 8005AEF4 00057E54 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8005AEF8 00057E58 98 1F 01 70 */ stb r0, 0x170(r31) -lbl_8005AEFC: -/* 8005AEFC 00057E5C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8005AF00 00057E60 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005AF04 00057E64 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8005AF08 00057E68 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005AF0C 00057E6C 7C 08 03 A6 */ mtlr r0 -/* 8005AF10 00057E70 38 21 00 30 */ addi r1, r1, 0x30 -/* 8005AF14 00057E74 4E 80 00 20 */ blr - -.global SetFovInterpolation__11CGameCameraFffff -SetFovInterpolation__11CGameCameraFffff: -/* 8005AF18 00057E78 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005AF1C 00057E7C FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8005AF20 00057E80 4C 40 13 82 */ cror 2, 0, 2 -/* 8005AF24 00057E84 40 82 00 28 */ bne lbl_8005AF4C -/* 8005AF28 00057E88 D0 43 01 5C */ stfs f2, 0x15c(r3) -/* 8005AF2C 00057E8C 38 80 00 01 */ li r4, 1 -/* 8005AF30 00057E90 88 03 01 70 */ lbz r0, 0x170(r3) -/* 8005AF34 00057E94 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8005AF38 00057E98 98 03 01 70 */ stb r0, 0x170(r3) -/* 8005AF3C 00057E9C D0 43 01 84 */ stfs f2, 0x184(r3) -/* 8005AF40 00057EA0 D0 03 01 78 */ stfs f0, 0x178(r3) -/* 8005AF44 00057EA4 D0 03 01 74 */ stfs f0, 0x174(r3) -/* 8005AF48 00057EA8 4E 80 00 20 */ blr -lbl_8005AF4C: -/* 8005AF4C 00057EAC FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8005AF50 00057EB0 40 80 00 0C */ bge lbl_8005AF5C -/* 8005AF54 00057EB4 D0 03 01 74 */ stfs f0, 0x174(r3) -/* 8005AF58 00057EB8 48 00 00 08 */ b lbl_8005AF60 -lbl_8005AF5C: -/* 8005AF5C 00057EBC D0 83 01 74 */ stfs f4, 0x174(r3) -lbl_8005AF60: -/* 8005AF60 00057EC0 D0 63 01 7C */ stfs f3, 0x17c(r3) -/* 8005AF64 00057EC4 38 80 00 01 */ li r4, 1 -/* 8005AF68 00057EC8 D0 63 01 78 */ stfs f3, 0x178(r3) -/* 8005AF6C 00057ECC D0 23 01 80 */ stfs f1, 0x180(r3) -/* 8005AF70 00057ED0 D0 43 01 84 */ stfs f2, 0x184(r3) -/* 8005AF74 00057ED4 D0 23 01 5C */ stfs f1, 0x15c(r3) -/* 8005AF78 00057ED8 88 03 01 70 */ lbz r0, 0x170(r3) -/* 8005AF7C 00057EDC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8005AF80 00057EE0 98 03 01 70 */ stb r0, 0x170(r3) -/* 8005AF84 00057EE4 4E 80 00 20 */ blr - -.global SkipFovInterpolation__11CGameCameraFv -SkipFovInterpolation__11CGameCameraFv: -/* 8005AF88 00057EE8 C0 23 01 78 */ lfs f1, 0x178(r3) -/* 8005AF8C 00057EEC C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005AF90 00057EF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005AF94 00057EF4 40 81 00 1C */ ble lbl_8005AFB0 -/* 8005AF98 00057EF8 C0 03 01 84 */ lfs f0, 0x184(r3) -/* 8005AF9C 00057EFC 38 80 00 01 */ li r4, 1 -/* 8005AFA0 00057F00 D0 03 01 5C */ stfs f0, 0x15c(r3) -/* 8005AFA4 00057F04 88 03 01 70 */ lbz r0, 0x170(r3) -/* 8005AFA8 00057F08 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8005AFAC 00057F0C 98 03 01 70 */ stb r0, 0x170(r3) -lbl_8005AFB0: -/* 8005AFB0 00057F10 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005AFB4 00057F14 D0 03 01 78 */ stfs f0, 0x178(r3) -/* 8005AFB8 00057F18 D0 03 01 74 */ stfs f0, 0x174(r3) -/* 8005AFBC 00057F1C 4E 80 00 20 */ blr - -.global ValidateCameraTransform__11CGameCameraFRC12CTransform4fRC12CTransform4f -ValidateCameraTransform__11CGameCameraFRC12CTransform4fRC12CTransform4f: -/* 8005AFC0 00057F20 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 8005AFC4 00057F24 7C 08 02 A6 */ mflr r0 -/* 8005AFC8 00057F28 90 01 01 84 */ stw r0, 0x184(r1) -/* 8005AFCC 00057F2C 93 E1 01 7C */ stw r31, 0x17c(r1) -/* 8005AFD0 00057F30 7C DF 33 78 */ mr r31, r6 -/* 8005AFD4 00057F34 93 C1 01 78 */ stw r30, 0x178(r1) -/* 8005AFD8 00057F38 7C BE 2B 78 */ mr r30, r5 -/* 8005AFDC 00057F3C 7F C4 F3 78 */ mr r4, r30 -/* 8005AFE0 00057F40 93 A1 01 74 */ stw r29, 0x174(r1) -/* 8005AFE4 00057F44 7C 7D 1B 78 */ mr r29, r3 -/* 8005AFE8 00057F48 38 61 01 40 */ addi r3, r1, 0x140 -/* 8005AFEC 00057F4C 48 2B 7B 89 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8005AFF0 00057F50 C0 5E 00 20 */ lfs f2, 0x20(r30) -/* 8005AFF4 00057F54 38 61 00 88 */ addi r3, r1, 0x88 -/* 8005AFF8 00057F58 C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 8005AFFC 00057F5C C0 1E 00 00 */ lfs f0, 0(r30) -/* 8005B000 00057F60 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 8005B004 00057F64 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8005B008 00057F68 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8005B00C 00057F6C 48 2B 98 AD */ bl Magnitude__9CVector3fCFv -/* 8005B010 00057F70 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) -/* 8005B014 00057F74 C8 02 86 C0 */ lfd f0, lbl_805AA3E0@sda21(r2) -/* 8005B018 00057F78 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8005B01C 00057F7C FC 20 0A 10 */ fabs f1, f1 -/* 8005B020 00057F80 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005B024 00057F84 40 80 00 74 */ bge lbl_8005B098 -/* 8005B028 00057F88 C0 5E 00 24 */ lfs f2, 0x24(r30) -/* 8005B02C 00057F8C 38 61 00 7C */ addi r3, r1, 0x7c -/* 8005B030 00057F90 C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 8005B034 00057F94 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8005B038 00057F98 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 8005B03C 00057F9C D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8005B040 00057FA0 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8005B044 00057FA4 48 2B 98 75 */ bl Magnitude__9CVector3fCFv -/* 8005B048 00057FA8 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) -/* 8005B04C 00057FAC C8 02 86 C0 */ lfd f0, lbl_805AA3E0@sda21(r2) -/* 8005B050 00057FB0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8005B054 00057FB4 FC 20 0A 10 */ fabs f1, f1 -/* 8005B058 00057FB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005B05C 00057FBC 40 80 00 3C */ bge lbl_8005B098 -/* 8005B060 00057FC0 C0 5E 00 28 */ lfs f2, 0x28(r30) -/* 8005B064 00057FC4 38 61 00 70 */ addi r3, r1, 0x70 -/* 8005B068 00057FC8 C0 3E 00 18 */ lfs f1, 0x18(r30) -/* 8005B06C 00057FCC C0 1E 00 08 */ lfs f0, 8(r30) -/* 8005B070 00057FD0 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 8005B074 00057FD4 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8005B078 00057FD8 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 8005B07C 00057FDC 48 2B 98 3D */ bl Magnitude__9CVector3fCFv -/* 8005B080 00057FE0 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) -/* 8005B084 00057FE4 C8 02 86 C0 */ lfd f0, lbl_805AA3E0@sda21(r2) -/* 8005B088 00057FE8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8005B08C 00057FEC FC 20 0A 10 */ fabs f1, f1 -/* 8005B090 00057FF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005B094 00057FF4 41 80 00 0C */ blt lbl_8005B0A0 -lbl_8005B098: -/* 8005B098 00057FF8 38 61 01 40 */ addi r3, r1, 0x140 -/* 8005B09C 00057FFC 48 2B 83 09 */ bl Orthonormalize__12CTransform4fFv -lbl_8005B0A0: -/* 8005B0A0 00058000 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8005B0A4 00058004 C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 8005B0A8 00058008 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l -/* 8005B0AC 0005800C C0 7E 00 04 */ lfs f3, 4(r30) -/* 8005B0B0 00058010 C0 03 00 04 */ lfs f0, 4(r3) -/* 8005B0B4 00058014 C0 43 00 00 */ lfs f2, 0(r3) -/* 8005B0B8 00058018 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8005B0BC 0005801C C0 BE 00 24 */ lfs f5, 0x24(r30) -/* 8005B0C0 00058020 C0 83 00 08 */ lfs f4, 8(r3) -/* 8005B0C4 00058024 C8 02 86 C8 */ lfd f0, lbl_805AA3E8@sda21(r2) -/* 8005B0C8 00058028 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 8005B0CC 0005802C EC 45 09 3A */ fmadds f2, f5, f4, f1 -/* 8005B0D0 00058030 FC 20 12 10 */ fabs f1, f2 -/* 8005B0D4 00058034 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005B0D8 00058038 40 81 00 14 */ ble lbl_8005B0EC -/* 8005B0DC 0005803C C0 02 86 D0 */ lfs f0, lbl_805AA3F0@sda21(r2) -/* 8005B0E0 00058040 C0 22 86 BC */ lfs f1, lbl_805AA3DC@sda21(r2) -/* 8005B0E4 00058044 FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 8005B0E8 00058048 EC 41 00 32 */ fmuls f2, f1, f0 -lbl_8005B0EC: -/* 8005B0EC 0005804C FC 20 12 10 */ fabs f1, f2 -/* 8005B0F0 00058050 C0 02 86 D4 */ lfs f0, lbl_805AA3F4@sda21(r2) -/* 8005B0F4 00058054 FC 20 08 18 */ frsp f1, f1 -/* 8005B0F8 00058058 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005B0FC 0005805C 40 81 00 10 */ ble lbl_8005B10C -/* 8005B100 00058060 7F E4 FB 78 */ mr r4, r31 -/* 8005B104 00058064 38 61 01 40 */ addi r3, r1, 0x140 -/* 8005B108 00058068 48 2B 7A 39 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_8005B10C: -/* 8005B10C 0005806C C0 21 01 68 */ lfs f1, 0x168(r1) -/* 8005B110 00058070 C0 02 86 D8 */ lfs f0, lbl_805AA3F8@sda21(r2) -/* 8005B114 00058074 C0 61 01 48 */ lfs f3, 0x148(r1) -/* 8005B118 00058078 C0 41 01 58 */ lfs f2, 0x158(r1) -/* 8005B11C 0005807C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005B120 00058080 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 8005B124 00058084 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 8005B128 00058088 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 8005B12C 0005808C 40 80 00 88 */ bge lbl_8005B1B4 -/* 8005B130 00058090 C0 62 86 DC */ lfs f3, lbl_805AA3FC@sda21(r2) -/* 8005B134 00058094 38 61 00 48 */ addi r3, r1, 0x48 -/* 8005B138 00058098 C0 41 01 44 */ lfs f2, 0x144(r1) -/* 8005B13C 0005809C 38 81 00 3C */ addi r4, r1, 0x3c -/* 8005B140 000580A0 C0 21 01 54 */ lfs f1, 0x154(r1) -/* 8005B144 000580A4 C0 01 01 64 */ lfs f0, 0x164(r1) -/* 8005B148 000580A8 D0 61 00 08 */ stfs f3, 8(r1) -/* 8005B14C 000580AC D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8005B150 000580B0 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8005B154 000580B4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8005B158 000580B8 48 2B 8C 79 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8005B15C 000580BC 7C 64 1B 78 */ mr r4, r3 -/* 8005B160 000580C0 38 61 00 54 */ addi r3, r1, 0x54 -/* 8005B164 000580C4 38 A1 00 08 */ addi r5, r1, 8 -/* 8005B168 000580C8 48 2B 61 8D */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 8005B16C 000580CC C0 61 00 54 */ lfs f3, 0x54(r1) -/* 8005B170 000580D0 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 8005B174 000580D4 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 8005B178 000580D8 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 8005B17C 000580DC C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 8005B180 000580E0 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8005B184 000580E4 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 8005B188 000580E8 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 8005B18C 000580EC D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 8005B190 000580F0 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 8005B194 000580F4 48 2B 6E 25 */ bl BuildTransform4f__11CQuaternionCFv -/* 8005B198 000580F8 38 61 01 10 */ addi r3, r1, 0x110 -/* 8005B19C 000580FC 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 8005B1A0 00058100 38 A1 01 40 */ addi r5, r1, 0x140 -/* 8005B1A4 00058104 48 2B 77 AD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8005B1A8 00058108 38 61 01 40 */ addi r3, r1, 0x140 -/* 8005B1AC 0005810C 38 81 01 10 */ addi r4, r1, 0x110 -/* 8005B1B0 00058110 48 2B 79 91 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_8005B1B4: -/* 8005B1B4 00058114 C0 21 01 60 */ lfs f1, 0x160(r1) -/* 8005B1B8 00058118 C0 A2 86 B8 */ lfs f5, lbl_805AA3D8@sda21(r2) -/* 8005B1BC 0005811C C0 61 01 40 */ lfs f3, 0x140(r1) -/* 8005B1C0 00058120 EC 01 28 28 */ fsubs f0, f1, f5 -/* 8005B1C4 00058124 C0 41 01 50 */ lfs f2, 0x150(r1) -/* 8005B1C8 00058128 C0 82 86 E0 */ lfs f4, lbl_805AA400@sda21(r2) -/* 8005B1CC 0005812C D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8005B1D0 00058130 FC 00 02 10 */ fabs f0, f0 -/* 8005B1D4 00058134 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8005B1D8 00058138 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 8005B1DC 0005813C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8005B1E0 00058140 41 80 00 B4 */ blt lbl_8005B294 -/* 8005B1E4 00058144 C0 21 01 68 */ lfs f1, 0x168(r1) -/* 8005B1E8 00058148 C0 61 01 48 */ lfs f3, 0x148(r1) -/* 8005B1EC 0005814C EC 01 28 28 */ fsubs f0, f1, f5 -/* 8005B1F0 00058150 C0 41 01 58 */ lfs f2, 0x158(r1) -/* 8005B1F4 00058154 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8005B1F8 00058158 FC 00 02 10 */ fabs f0, f0 -/* 8005B1FC 0005815C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8005B200 00058160 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8005B204 00058164 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 8005B208 00058168 41 80 00 8C */ blt lbl_8005B294 -/* 8005B20C 0005816C C0 01 01 64 */ lfs f0, 0x164(r1) -/* 8005B210 00058170 38 61 00 94 */ addi r3, r1, 0x94 -/* 8005B214 00058174 C0 21 01 54 */ lfs f1, 0x154(r1) -/* 8005B218 00058178 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8005B21C 0005817C C0 01 01 44 */ lfs f0, 0x144(r1) -/* 8005B220 00058180 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8005B224 00058184 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8005B228 00058188 D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 8005B22C 0005818C 48 2B 94 CD */ bl CanBeNormalized__9CVector3fCFv -/* 8005B230 00058190 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005B234 00058194 41 82 00 54 */ beq lbl_8005B288 -/* 8005B238 00058198 C0 41 01 44 */ lfs f2, 0x144(r1) -/* 8005B23C 0005819C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8005B240 000581A0 C0 21 01 54 */ lfs f1, 0x154(r1) -/* 8005B244 000581A4 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8005B248 000581A8 C0 01 01 64 */ lfs f0, 0x164(r1) -/* 8005B24C 000581AC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8005B250 000581B0 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8005B254 000581B4 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8005B258 000581B8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8005B25C 000581BC 48 2B 8B 75 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8005B260 000581C0 3C A0 80 5A */ lis r5, lbl_805A66F4@ha -/* 8005B264 000581C4 7C 64 1B 78 */ mr r4, r3 -/* 8005B268 000581C8 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l -/* 8005B26C 000581CC 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8005B270 000581D0 38 A1 00 0C */ addi r5, r1, 0xc -/* 8005B274 000581D4 48 2B 88 9D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8005B278 000581D8 38 61 01 40 */ addi r3, r1, 0x140 -/* 8005B27C 000581DC 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 8005B280 000581E0 48 2B 78 C1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8005B284 000581E4 48 00 00 10 */ b lbl_8005B294 -lbl_8005B288: -/* 8005B288 000581E8 7F E4 FB 78 */ mr r4, r31 -/* 8005B28C 000581EC 38 61 01 40 */ addi r3, r1, 0x140 -/* 8005B290 000581F0 48 2B 78 B1 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_8005B294: -/* 8005B294 000581F4 C0 5E 00 2C */ lfs f2, 0x2c(r30) -/* 8005B298 000581F8 7F A3 EB 78 */ mr r3, r29 -/* 8005B29C 000581FC C0 3E 00 1C */ lfs f1, 0x1c(r30) -/* 8005B2A0 00058200 38 81 01 40 */ addi r4, r1, 0x140 -/* 8005B2A4 00058204 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8005B2A8 00058208 D0 21 01 5C */ stfs f1, 0x15c(r1) -/* 8005B2AC 0005820C D0 01 01 4C */ stfs f0, 0x14c(r1) -/* 8005B2B0 00058210 D0 41 01 6C */ stfs f2, 0x16c(r1) -/* 8005B2B4 00058214 48 2B 78 C1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8005B2B8 00058218 80 01 01 84 */ lwz r0, 0x184(r1) -/* 8005B2BC 0005821C 83 E1 01 7C */ lwz r31, 0x17c(r1) -/* 8005B2C0 00058220 83 C1 01 78 */ lwz r30, 0x178(r1) -/* 8005B2C4 00058224 83 A1 01 74 */ lwz r29, 0x174(r1) -/* 8005B2C8 00058228 7C 08 03 A6 */ mtlr r0 -/* 8005B2CC 0005822C 38 21 01 80 */ addi r1, r1, 0x180 -/* 8005B2D0 00058230 4E 80 00 20 */ blr - -.global Accept__11CGameCameraFR8IVisitor -Accept__11CGameCameraFR8IVisitor: -/* 8005B2D4 00058234 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005B2D8 00058238 7C 08 02 A6 */ mflr r0 -/* 8005B2DC 0005823C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005B2E0 00058240 7C 60 1B 78 */ mr r0, r3 -/* 8005B2E4 00058244 7C 83 23 78 */ mr r3, r4 -/* 8005B2E8 00058248 81 84 00 00 */ lwz r12, 0(r4) -/* 8005B2EC 0005824C 7C 04 03 78 */ mr r4, r0 -/* 8005B2F0 00058250 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8005B2F4 00058254 7D 89 03 A6 */ mtctr r12 -/* 8005B2F8 00058258 4E 80 04 21 */ bctrl -/* 8005B2FC 0005825C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005B300 00058260 7C 08 03 A6 */ mtlr r0 -/* 8005B304 00058264 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005B308 00058268 4E 80 00 20 */ blr - -.global SetActive__11CGameCameraFb -SetActive__11CGameCameraFb: -/* 8005B30C 0005826C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005B310 00058270 7C 08 02 A6 */ mflr r0 -/* 8005B314 00058274 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005B318 00058278 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005B31C 0005827C 7C 7F 1B 78 */ mr r31, r3 -/* 8005B320 00058280 4B FF 85 2D */ bl SetActive__6CActorFb -/* 8005B324 00058284 88 1F 00 E7 */ lbz r0, 0xe7(r31) -/* 8005B328 00058288 38 60 00 00 */ li r3, 0 -/* 8005B32C 0005828C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8005B330 00058290 98 1F 00 E7 */ stb r0, 0xe7(r31) -/* 8005B334 00058294 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005B338 00058298 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005B33C 0005829C 7C 08 03 A6 */ mtlr r0 -/* 8005B340 000582A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005B344 000582A4 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8005B348 000582A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005B34C 000582AC 7C 08 02 A6 */ mflr r0 -/* 8005B350 000582B0 2C 04 00 26 */ cmpwi r4, 0x26 -/* 8005B354 000582B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005B358 000582B8 41 82 00 58 */ beq lbl_8005B3B0 -/* 8005B35C 000582BC 40 80 00 10 */ bge lbl_8005B36C -/* 8005B360 000582C0 2C 04 00 25 */ cmpwi r4, 0x25 -/* 8005B364 000582C4 40 80 00 14 */ bge lbl_8005B378 -/* 8005B368 000582C8 48 00 00 48 */ b lbl_8005B3B0 -lbl_8005B36C: -/* 8005B36C 000582CC 2C 04 00 28 */ cmpwi r4, 0x28 -/* 8005B370 000582D0 40 80 00 40 */ bge lbl_8005B3B0 -/* 8005B374 000582D4 48 00 00 20 */ b lbl_8005B394 -lbl_8005B378: -/* 8005B378 000582D8 A0 05 00 00 */ lhz r0, 0(r5) -/* 8005B37C 000582DC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8005B380 000582E0 38 80 00 01 */ li r4, 1 -/* 8005B384 000582E4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8005B388 000582E8 80 66 08 70 */ lwz r3, 0x870(r6) -/* 8005B38C 000582EC 4B FB 01 91 */ bl SetInsideFluid__14CCameraManagerFb9TUniqueId -/* 8005B390 000582F0 48 00 00 30 */ b lbl_8005B3C0 -lbl_8005B394: -/* 8005B394 000582F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8005B398 000582F8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8005B39C 000582FC 38 80 00 00 */ li r4, 0 -/* 8005B3A0 00058300 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8005B3A4 00058304 80 66 08 70 */ lwz r3, 0x870(r6) -/* 8005B3A8 00058308 4B FB 01 75 */ bl SetInsideFluid__14CCameraManagerFb9TUniqueId -/* 8005B3AC 0005830C 48 00 00 14 */ b lbl_8005B3C0 -lbl_8005B3B0: -/* 8005B3B0 00058310 A0 05 00 00 */ lhz r0, 0(r5) -/* 8005B3B4 00058314 38 A1 00 08 */ addi r5, r1, 8 -/* 8005B3B8 00058318 B0 01 00 08 */ sth r0, 8(r1) -/* 8005B3BC 0005831C 4B FF 82 59 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -lbl_8005B3C0: -/* 8005B3C0 00058320 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005B3C4 00058324 7C 08 03 A6 */ mtlr r0 -/* 8005B3C8 00058328 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005B3CC 0005832C 4E 80 00 20 */ blr - -.global FindClosestLengthOnSpline__13CCameraSplineCFf9CVector3f -FindClosestLengthOnSpline__13CCameraSplineCFf9CVector3f: -/* 8005B3D0 00058330 94 21 FE 10 */ stwu r1, -0x1f0(r1) -/* 8005B3D4 00058334 7C 08 02 A6 */ mflr r0 -/* 8005B3D8 00058338 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 8005B3DC 0005833C DB E1 01 E0 */ stfd f31, 0x1e0(r1) -/* 8005B3E0 00058340 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 -/* 8005B3E4 00058344 DB C1 01 D0 */ stfd f30, 0x1d0(r1) -/* 8005B3E8 00058348 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 -/* 8005B3EC 0005834C DB A1 01 C0 */ stfd f29, 0x1c0(r1) -/* 8005B3F0 00058350 F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 -/* 8005B3F4 00058354 DB 81 01 B0 */ stfd f28, 0x1b0(r1) -/* 8005B3F8 00058358 F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 -/* 8005B3FC 0005835C DB 61 01 A0 */ stfd f27, 0x1a0(r1) -/* 8005B400 00058360 F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 -/* 8005B404 00058364 DB 41 01 90 */ stfd f26, 0x190(r1) -/* 8005B408 00058368 F3 41 01 98 */ psq_st f26, 408(r1), 0, qr0 -/* 8005B40C 0005836C DB 21 01 80 */ stfd f25, 0x180(r1) -/* 8005B410 00058370 F3 21 01 88 */ psq_st f25, 392(r1), 0, qr0 -/* 8005B414 00058374 DB 01 01 70 */ stfd f24, 0x170(r1) -/* 8005B418 00058378 F3 01 01 78 */ psq_st f24, 376(r1), 0, qr0 -/* 8005B41C 0005837C DA E1 01 60 */ stfd f23, 0x160(r1) -/* 8005B420 00058380 F2 E1 01 68 */ psq_st f23, 360(r1), 0, qr0 -/* 8005B424 00058384 DA C1 01 50 */ stfd f22, 0x150(r1) -/* 8005B428 00058388 F2 C1 01 58 */ psq_st f22, 344(r1), 0, qr0 -/* 8005B42C 0005838C DA A1 01 40 */ stfd f21, 0x140(r1) -/* 8005B430 00058390 F2 A1 01 48 */ psq_st f21, 328(r1), 0, qr0 -/* 8005B434 00058394 DA 81 01 30 */ stfd f20, 0x130(r1) -/* 8005B438 00058398 F2 81 01 38 */ psq_st f20, 312(r1), 0, qr0 -/* 8005B43C 0005839C DA 61 01 20 */ stfd f19, 0x120(r1) -/* 8005B440 000583A0 F2 61 01 28 */ psq_st f19, 296(r1), 0, qr0 -/* 8005B444 000583A4 DA 41 01 10 */ stfd f18, 0x110(r1) -/* 8005B448 000583A8 F2 41 01 18 */ psq_st f18, 280(r1), 0, qr0 -/* 8005B44C 000583AC DA 21 01 00 */ stfd f17, 0x100(r1) -/* 8005B450 000583B0 F2 21 01 08 */ psq_st f17, 264(r1), 0, qr0 -/* 8005B454 000583B4 DA 01 00 F0 */ stfd f16, 0xf0(r1) -/* 8005B458 000583B8 F2 01 00 F8 */ psq_st f16, 248(r1), 0, qr0 -/* 8005B45C 000583BC D9 E1 00 E0 */ stfd f15, 0xe0(r1) -/* 8005B460 000583C0 F1 E1 00 E8 */ psq_st f15, 232(r1), 0, qr0 -/* 8005B464 000583C4 BF 41 00 C8 */ stmw r26, 0xc8(r1) -/* 8005B468 000583C8 7C 7A 1B 78 */ mr r26, r3 -/* 8005B46C 000583CC C3 62 86 E4 */ lfs f27, lbl_805AA404@sda21(r2) -/* 8005B470 000583D0 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8005B474 000583D4 FF 20 08 90 */ fmr f25, f1 -/* 8005B478 000583D8 80 63 00 08 */ lwz r3, 8(r3) -/* 8005B47C 000583DC FF 40 D8 90 */ fmr f26, f27 -/* 8005B480 000583E0 28 00 00 00 */ cmplwi r0, 0 -/* 8005B484 000583E4 C3 82 86 D0 */ lfs f28, lbl_805AA3F0@sda21(r2) -/* 8005B488 000583E8 7C 9B 23 78 */ mr r27, r4 -/* 8005B48C 000583EC 3B A3 FF FF */ addi r29, r3, -1 -/* 8005B490 000583F0 41 82 00 08 */ beq lbl_8005B498 -/* 8005B494 000583F4 3B BD 00 01 */ addi r29, r29, 1 -lbl_8005B498: -/* 8005B498 000583F8 3B E0 00 00 */ li r31, 0 -/* 8005B49C 000583FC C3 02 86 B8 */ lfs f24, lbl_805AA3D8@sda21(r2) -/* 8005B4A0 00058400 7F FE FB 78 */ mr r30, r31 -/* 8005B4A4 00058404 3B 80 00 00 */ li r28, 0 -/* 8005B4A8 00058408 48 00 05 20 */ b lbl_8005B9C8 -lbl_8005B4AC: -/* 8005B4AC 0005840C 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8005B4B0 00058410 88 1A 00 48 */ lbz r0, 0x48(r26) -/* 8005B4B4 00058414 7C 64 FA 14 */ add r3, r4, r31 -/* 8005B4B8 00058418 28 00 00 00 */ cmplwi r0, 0 -/* 8005B4BC 0005841C C2 C3 00 00 */ lfs f22, 0(r3) -/* 8005B4C0 00058420 C2 E3 00 04 */ lfs f23, 4(r3) -/* 8005B4C4 00058424 C2 A3 00 08 */ lfs f21, 8(r3) -/* 8005B4C8 00058428 40 82 00 20 */ bne lbl_8005B4E8 -/* 8005B4CC 0005842C 38 1C 00 01 */ addi r0, r28, 1 -/* 8005B4D0 00058430 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005B4D4 00058434 7C 64 02 14 */ add r3, r4, r0 -/* 8005B4D8 00058438 C2 83 00 00 */ lfs f20, 0(r3) -/* 8005B4DC 0005843C C2 63 00 04 */ lfs f19, 4(r3) -/* 8005B4E0 00058440 C2 43 00 08 */ lfs f18, 8(r3) -/* 8005B4E4 00058444 48 00 00 3C */ b lbl_8005B520 -lbl_8005B4E8: -/* 8005B4E8 00058448 80 7A 00 08 */ lwz r3, 8(r26) -/* 8005B4EC 0005844C 38 03 FF FF */ addi r0, r3, -1 -/* 8005B4F0 00058450 7C 1C 00 00 */ cmpw r28, r0 -/* 8005B4F4 00058454 40 82 00 14 */ bne lbl_8005B508 -/* 8005B4F8 00058458 C2 84 00 00 */ lfs f20, 0(r4) -/* 8005B4FC 0005845C C2 64 00 04 */ lfs f19, 4(r4) -/* 8005B500 00058460 C2 44 00 08 */ lfs f18, 8(r4) -/* 8005B504 00058464 48 00 00 1C */ b lbl_8005B520 -lbl_8005B508: -/* 8005B508 00058468 38 1C 00 01 */ addi r0, r28, 1 -/* 8005B50C 0005846C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005B510 00058470 7C 64 02 14 */ add r3, r4, r0 -/* 8005B514 00058474 C2 83 00 00 */ lfs f20, 0(r3) -/* 8005B518 00058478 C2 63 00 04 */ lfs f19, 4(r3) -/* 8005B51C 0005847C C2 43 00 08 */ lfs f18, 8(r3) -lbl_8005B520: -/* 8005B520 00058480 EE 34 B0 28 */ fsubs f17, f20, f22 -/* 8005B524 00058484 2C 1C 00 00 */ cmpwi r28, 0 -/* 8005B528 00058488 EE 13 B8 28 */ fsubs f16, f19, f23 -/* 8005B52C 0005848C ED F2 A8 28 */ fsubs f15, f18, f21 -/* 8005B530 00058490 EF F6 A0 28 */ fsubs f31, f22, f20 -/* 8005B534 00058494 D2 21 00 80 */ stfs f17, 0x80(r1) -/* 8005B538 00058498 EF D7 98 28 */ fsubs f30, f23, f19 -/* 8005B53C 0005849C EF B5 90 28 */ fsubs f29, f21, f18 -/* 8005B540 000584A0 D2 01 00 84 */ stfs f16, 0x84(r1) -/* 8005B544 000584A4 D1 E1 00 88 */ stfs f15, 0x88(r1) -/* 8005B548 000584A8 D3 E1 00 74 */ stfs f31, 0x74(r1) -/* 8005B54C 000584AC D3 C1 00 78 */ stfs f30, 0x78(r1) -/* 8005B550 000584B0 D3 A1 00 7C */ stfs f29, 0x7c(r1) -/* 8005B554 000584B4 41 82 00 48 */ beq lbl_8005B59C -/* 8005B558 000584B8 38 1C FF FF */ addi r0, r28, -1 -/* 8005B55C 000584BC 80 7A 00 10 */ lwz r3, 0x10(r26) -/* 8005B560 000584C0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005B564 000584C4 7C 63 02 14 */ add r3, r3, r0 -/* 8005B568 000584C8 C0 43 00 04 */ lfs f2, 4(r3) -/* 8005B56C 000584CC C0 23 00 08 */ lfs f1, 8(r3) -/* 8005B570 000584D0 C0 03 00 00 */ lfs f0, 0(r3) -/* 8005B574 000584D4 EC 57 10 28 */ fsubs f2, f23, f2 -/* 8005B578 000584D8 EC 35 08 28 */ fsubs f1, f21, f1 -/* 8005B57C 000584DC EC 16 00 28 */ fsubs f0, f22, f0 -/* 8005B580 000584E0 EC 42 80 2A */ fadds f2, f2, f16 -/* 8005B584 000584E4 EC 21 78 2A */ fadds f1, f1, f15 -/* 8005B588 000584E8 EC 00 88 2A */ fadds f0, f0, f17 -/* 8005B58C 000584EC D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8005B590 000584F0 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8005B594 000584F4 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8005B598 000584F8 48 00 00 84 */ b lbl_8005B61C -lbl_8005B59C: -/* 8005B59C 000584FC 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8005B5A0 00058500 88 1A 00 48 */ lbz r0, 0x48(r26) -/* 8005B5A4 00058504 C0 A4 00 00 */ lfs f5, 0(r4) -/* 8005B5A8 00058508 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8005B5AC 0005850C 28 00 00 00 */ cmplwi r0, 0 -/* 8005B5B0 00058510 C0 64 00 04 */ lfs f3, 4(r4) -/* 8005B5B4 00058514 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 8005B5B8 00058518 EC 85 00 28 */ fsubs f4, f5, f0 -/* 8005B5BC 0005851C C0 24 00 08 */ lfs f1, 8(r4) -/* 8005B5C0 00058520 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8005B5C4 00058524 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8005B5C8 00058528 EC 85 20 2A */ fadds f4, f5, f4 -/* 8005B5CC 0005852C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8005B5D0 00058530 EC 63 10 2A */ fadds f3, f3, f2 -/* 8005B5D4 00058534 EC 01 00 2A */ fadds f0, f1, f0 -/* 8005B5D8 00058538 41 82 00 20 */ beq lbl_8005B5F8 -/* 8005B5DC 0005853C 80 7A 00 08 */ lwz r3, 8(r26) -/* 8005B5E0 00058540 38 03 FF FF */ addi r0, r3, -1 -/* 8005B5E4 00058544 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005B5E8 00058548 7C 64 02 14 */ add r3, r4, r0 -/* 8005B5EC 0005854C C0 83 00 00 */ lfs f4, 0(r3) -/* 8005B5F0 00058550 C0 63 00 04 */ lfs f3, 4(r3) -/* 8005B5F4 00058554 C0 03 00 08 */ lfs f0, 8(r3) -lbl_8005B5F8: -/* 8005B5F8 00058558 EC 56 20 28 */ fsubs f2, f22, f4 -/* 8005B5FC 0005855C EC 37 18 28 */ fsubs f1, f23, f3 -/* 8005B600 00058560 EC 15 00 28 */ fsubs f0, f21, f0 -/* 8005B604 00058564 EC 42 88 2A */ fadds f2, f2, f17 -/* 8005B608 00058568 EC 21 80 2A */ fadds f1, f1, f16 -/* 8005B60C 0005856C EC 00 78 2A */ fadds f0, f0, f15 -/* 8005B610 00058570 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 8005B614 00058574 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 8005B618 00058578 D0 01 00 88 */ stfs f0, 0x88(r1) -lbl_8005B61C: -/* 8005B61C 0005857C 38 61 00 80 */ addi r3, r1, 0x80 -/* 8005B620 00058580 48 2B 92 D9 */ bl Normalize__9CVector3fFv -/* 8005B624 00058584 80 7A 00 08 */ lwz r3, 8(r26) -/* 8005B628 00058588 38 03 FF FE */ addi r0, r3, -2 -/* 8005B62C 0005858C 7C 1C 00 00 */ cmpw r28, r0 -/* 8005B630 00058590 40 80 00 48 */ bge lbl_8005B678 -/* 8005B634 00058594 38 1C 00 02 */ addi r0, r28, 2 -/* 8005B638 00058598 80 7A 00 10 */ lwz r3, 0x10(r26) -/* 8005B63C 0005859C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005B640 000585A0 7C 63 02 14 */ add r3, r3, r0 -/* 8005B644 000585A4 C0 43 00 04 */ lfs f2, 4(r3) -/* 8005B648 000585A8 C0 23 00 08 */ lfs f1, 8(r3) -/* 8005B64C 000585AC C0 03 00 00 */ lfs f0, 0(r3) -/* 8005B650 000585B0 EC 53 10 28 */ fsubs f2, f19, f2 -/* 8005B654 000585B4 EC 32 08 28 */ fsubs f1, f18, f1 -/* 8005B658 000585B8 EC 14 00 28 */ fsubs f0, f20, f0 -/* 8005B65C 000585BC EC 42 F0 2A */ fadds f2, f2, f30 -/* 8005B660 000585C0 EC 21 E8 2A */ fadds f1, f1, f29 -/* 8005B664 000585C4 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8005B668 000585C8 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 8005B66C 000585CC D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8005B670 000585D0 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 8005B674 000585D4 48 00 00 A4 */ b lbl_8005B718 -lbl_8005B678: -/* 8005B678 000585D8 88 1A 00 48 */ lbz r0, 0x48(r26) -/* 8005B67C 000585DC 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8005B680 000585E0 28 00 00 00 */ cmplwi r0, 0 -/* 8005B684 000585E4 41 82 00 30 */ beq lbl_8005B6B4 -/* 8005B688 000585E8 38 1D FF FF */ addi r0, r29, -1 -/* 8005B68C 000585EC 7C 1C 00 00 */ cmpw r28, r0 -/* 8005B690 000585F0 40 82 00 14 */ bne lbl_8005B6A4 -/* 8005B694 000585F4 C0 84 00 0C */ lfs f4, 0xc(r4) -/* 8005B698 000585F8 C0 64 00 10 */ lfs f3, 0x10(r4) -/* 8005B69C 000585FC C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8005B6A0 00058600 48 00 00 54 */ b lbl_8005B6F4 -lbl_8005B6A4: -/* 8005B6A4 00058604 C0 84 00 00 */ lfs f4, 0(r4) -/* 8005B6A8 00058608 C0 64 00 04 */ lfs f3, 4(r4) -/* 8005B6AC 0005860C C0 04 00 08 */ lfs f0, 8(r4) -/* 8005B6B0 00058610 48 00 00 44 */ b lbl_8005B6F4 -lbl_8005B6B4: -/* 8005B6B4 00058614 38 1C 00 01 */ addi r0, r28, 1 -/* 8005B6B8 00058618 7C 64 FA 14 */ add r3, r4, r31 -/* 8005B6BC 0005861C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005B6C0 00058620 C0 83 00 00 */ lfs f4, 0(r3) -/* 8005B6C4 00058624 C0 43 00 04 */ lfs f2, 4(r3) -/* 8005B6C8 00058628 C0 03 00 08 */ lfs f0, 8(r3) -/* 8005B6CC 0005862C 7C 64 02 14 */ add r3, r4, r0 -/* 8005B6D0 00058630 C0 A3 00 00 */ lfs f5, 0(r3) -/* 8005B6D4 00058634 C0 63 00 04 */ lfs f3, 4(r3) -/* 8005B6D8 00058638 C0 23 00 08 */ lfs f1, 8(r3) -/* 8005B6DC 0005863C EC 85 20 28 */ fsubs f4, f5, f4 -/* 8005B6E0 00058640 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8005B6E4 00058644 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8005B6E8 00058648 EC 85 20 2A */ fadds f4, f5, f4 -/* 8005B6EC 0005864C EC 63 10 2A */ fadds f3, f3, f2 -/* 8005B6F0 00058650 EC 01 00 2A */ fadds f0, f1, f0 -lbl_8005B6F4: -/* 8005B6F4 00058654 EC 54 20 28 */ fsubs f2, f20, f4 -/* 8005B6F8 00058658 EC 33 18 28 */ fsubs f1, f19, f3 -/* 8005B6FC 0005865C EC 12 00 28 */ fsubs f0, f18, f0 -/* 8005B700 00058660 EC 42 F8 2A */ fadds f2, f2, f31 -/* 8005B704 00058664 EC 21 F0 2A */ fadds f1, f1, f30 -/* 8005B708 00058668 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8005B70C 0005866C D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8005B710 00058670 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 8005B714 00058674 D0 01 00 7C */ stfs f0, 0x7c(r1) -lbl_8005B718: -/* 8005B718 00058678 38 61 00 74 */ addi r3, r1, 0x74 -/* 8005B71C 0005867C 48 2B 91 DD */ bl Normalize__9CVector3fFv -/* 8005B720 00058680 C0 1B 00 04 */ lfs f0, 4(r27) -/* 8005B724 00058684 38 61 00 50 */ addi r3, r1, 0x50 -/* 8005B728 00058688 C0 3B 00 00 */ lfs f1, 0(r27) -/* 8005B72C 0005868C 38 81 00 44 */ addi r4, r1, 0x44 -/* 8005B730 00058690 EC A0 B8 28 */ fsubs f5, f0, f23 -/* 8005B734 00058694 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 8005B738 00058698 EC 61 B0 28 */ fsubs f3, f1, f22 -/* 8005B73C 0005869C C0 5B 00 08 */ lfs f2, 8(r27) -/* 8005B740 000586A0 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 8005B744 000586A4 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8005B748 000586A8 EC 82 A8 28 */ fsubs f4, f2, f21 -/* 8005B74C 000586AC C0 41 00 88 */ lfs f2, 0x88(r1) -/* 8005B750 000586B0 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 8005B754 000586B4 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 8005B758 000586B8 D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 8005B75C 000586BC EE E4 00 BA */ fmadds f23, f4, f2, f0 -/* 8005B760 000586C0 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 8005B764 000586C4 D2 21 00 38 */ stfs f17, 0x38(r1) -/* 8005B768 000586C8 D2 01 00 3C */ stfs f16, 0x3c(r1) -/* 8005B76C 000586CC D1 E1 00 40 */ stfs f15, 0x40(r1) -/* 8005B770 000586D0 D2 21 00 44 */ stfs f17, 0x44(r1) -/* 8005B774 000586D4 D2 01 00 48 */ stfs f16, 0x48(r1) -/* 8005B778 000586D8 D1 E1 00 4C */ stfs f15, 0x4c(r1) -/* 8005B77C 000586DC 48 2B 90 D5 */ bl AsNormalized__9CVector3fCFv -/* 8005B780 000586E0 C0 1B 00 04 */ lfs f0, 4(r27) -/* 8005B784 000586E4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005B788 000586E8 C0 3B 00 00 */ lfs f1, 0(r27) -/* 8005B78C 000586EC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8005B790 000586F0 EC E0 98 28 */ fsubs f7, f0, f19 -/* 8005B794 000586F4 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8005B798 000586F8 C0 81 00 84 */ lfs f4, 0x84(r1) -/* 8005B79C 000586FC EC 41 A0 28 */ fsubs f2, f1, f20 -/* 8005B7A0 00058700 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 8005B7A4 00058704 EC 07 00 32 */ fmuls f0, f7, f0 -/* 8005B7A8 00058708 C0 7B 00 08 */ lfs f3, 8(r27) -/* 8005B7AC 0005870C EC 84 00 72 */ fmuls f4, f4, f1 -/* 8005B7B0 00058710 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 8005B7B4 00058714 EC C3 90 28 */ fsubs f6, f3, f18 -/* 8005B7B8 00058718 C0 A1 00 80 */ lfs f5, 0x80(r1) -/* 8005B7BC 0005871C C0 61 00 50 */ lfs f3, 0x50(r1) -/* 8005B7C0 00058720 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8005B7C4 00058724 C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 8005B7C8 00058728 EC 65 20 FA */ fmadds f3, f5, f3, f4 -/* 8005B7CC 0005872C C0 81 00 88 */ lfs f4, 0x88(r1) -/* 8005B7D0 00058730 EE C6 00 7A */ fmadds f22, f6, f1, f0 -/* 8005B7D4 00058734 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8005B7D8 00058738 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8005B7DC 0005873C ED E4 18 3A */ fmadds f15, f4, f0, f3 -/* 8005B7E0 00058740 D0 E1 00 30 */ stfs f7, 0x30(r1) -/* 8005B7E4 00058744 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 8005B7E8 00058748 D3 E1 00 08 */ stfs f31, 8(r1) -/* 8005B7EC 0005874C D3 C1 00 0C */ stfs f30, 0xc(r1) -/* 8005B7F0 00058750 D3 A1 00 10 */ stfs f29, 0x10(r1) -/* 8005B7F4 00058754 D3 E1 00 14 */ stfs f31, 0x14(r1) -/* 8005B7F8 00058758 D3 C1 00 18 */ stfs f30, 0x18(r1) -/* 8005B7FC 0005875C D3 A1 00 1C */ stfs f29, 0x1c(r1) -/* 8005B800 00058760 48 2B 90 51 */ bl AsNormalized__9CVector3fCFv -/* 8005B804 00058764 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 8005B808 00058768 EC B7 78 24 */ fdivs f5, f23, f15 -/* 8005B80C 0005876C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8005B810 00058770 88 1A 00 48 */ lbz r0, 0x48(r26) -/* 8005B814 00058774 C0 61 00 74 */ lfs f3, 0x74(r1) -/* 8005B818 00058778 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8005B81C 0005877C 28 00 00 00 */ cmplwi r0, 0 -/* 8005B820 00058780 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8005B824 00058784 C0 81 00 7C */ lfs f4, 0x7c(r1) -/* 8005B828 00058788 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8005B82C 0005878C EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 8005B830 00058790 EC 04 00 7A */ fmadds f0, f4, f1, f0 -/* 8005B834 00058794 EC 16 00 24 */ fdivs f0, f22, f0 -/* 8005B838 00058798 EC 05 00 2A */ fadds f0, f5, f0 -/* 8005B83C 0005879C EC 45 00 24 */ fdivs f2, f5, f0 -/* 8005B840 000587A0 40 82 00 3C */ bne lbl_8005B87C -/* 8005B844 000587A4 2C 1C 00 00 */ cmpwi r28, 0 -/* 8005B848 000587A8 40 82 00 14 */ bne lbl_8005B85C -/* 8005B84C 000587AC C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005B850 000587B0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8005B854 000587B4 40 80 00 08 */ bge lbl_8005B85C -/* 8005B858 000587B8 FC 40 00 90 */ fmr f2, f0 -lbl_8005B85C: -/* 8005B85C 000587BC 80 7A 00 08 */ lwz r3, 8(r26) -/* 8005B860 000587C0 38 03 FF FE */ addi r0, r3, -2 -/* 8005B864 000587C4 7C 1C 00 00 */ cmpw r28, r0 -/* 8005B868 000587C8 40 82 00 14 */ bne lbl_8005B87C -/* 8005B86C 000587CC C0 02 86 BC */ lfs f0, lbl_805AA3DC@sda21(r2) -/* 8005B870 000587D0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8005B874 000587D4 40 81 00 08 */ ble lbl_8005B87C -/* 8005B878 000587D8 FC 40 00 90 */ fmr f2, f0 -lbl_8005B87C: -/* 8005B87C 000587DC FC 02 C0 40 */ fcmpo cr0, f2, f24 -/* 8005B880 000587E0 4C 41 13 82 */ cror 2, 1, 2 -/* 8005B884 000587E4 40 82 01 38 */ bne lbl_8005B9BC -/* 8005B888 000587E8 C0 02 86 BC */ lfs f0, lbl_805AA3DC@sda21(r2) -/* 8005B88C 000587EC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8005B890 000587F0 4C 40 13 82 */ cror 2, 0, 2 -/* 8005B894 000587F4 40 82 01 28 */ bne lbl_8005B9BC -/* 8005B898 000587F8 80 7A 00 08 */ lwz r3, 8(r26) -/* 8005B89C 000587FC 38 03 FF FF */ addi r0, r3, -1 -/* 8005B8A0 00058800 7C 1C 00 00 */ cmpw r28, r0 -/* 8005B8A4 00058804 40 82 00 18 */ bne lbl_8005B8BC -/* 8005B8A8 00058808 80 7A 00 30 */ lwz r3, 0x30(r26) -/* 8005B8AC 0005880C C0 3A 00 44 */ lfs f1, 0x44(r26) -/* 8005B8B0 00058810 7C 03 F4 2E */ lfsx f0, r3, r30 -/* 8005B8B4 00058814 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8005B8B8 00058818 48 00 00 1C */ b lbl_8005B8D4 -lbl_8005B8BC: -/* 8005B8BC 0005881C 38 1C 00 01 */ addi r0, r28, 1 -/* 8005B8C0 00058820 80 7A 00 30 */ lwz r3, 0x30(r26) -/* 8005B8C4 00058824 54 00 10 3A */ slwi r0, r0, 2 -/* 8005B8C8 00058828 7C 23 04 2E */ lfsx f1, r3, r0 -/* 8005B8CC 0005882C 7C 03 F4 2E */ lfsx f0, r3, r30 -/* 8005B8D0 00058830 EC 21 00 28 */ fsubs f1, f1, f0 -lbl_8005B8D4: -/* 8005B8D4 00058834 80 BA 00 30 */ lwz r5, 0x30(r26) -/* 8005B8D8 00058838 7F 44 D3 78 */ mr r4, r26 -/* 8005B8DC 0005883C 38 61 00 8C */ addi r3, r1, 0x8c -/* 8005B8E0 00058840 7C 05 F4 2E */ lfsx f0, r5, r30 -/* 8005B8E4 00058844 ED E2 00 7A */ fmadds f15, f2, f1, f0 -/* 8005B8E8 00058848 FC 20 78 90 */ fmr f1, f15 -/* 8005B8EC 0005884C 48 00 01 95 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf -/* 8005B8F0 00058850 C0 3B 00 04 */ lfs f1, 4(r27) -/* 8005B8F4 00058854 38 61 00 68 */ addi r3, r1, 0x68 -/* 8005B8F8 00058858 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 8005B8FC 0005885C C0 7B 00 08 */ lfs f3, 8(r27) -/* 8005B900 00058860 C0 41 00 B8 */ lfs f2, 0xb8(r1) -/* 8005B904 00058864 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8005B908 00058868 C0 3B 00 00 */ lfs f1, 0(r27) -/* 8005B90C 0005886C C0 01 00 98 */ lfs f0, 0x98(r1) -/* 8005B910 00058870 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8005B914 00058874 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 8005B918 00058878 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8005B91C 0005887C C2 02 86 B8 */ lfs f16, lbl_805AA3D8@sda21(r2) -/* 8005B920 00058880 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8005B924 00058884 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8005B928 00058888 48 2B 8D D1 */ bl CanBeNormalized__9CVector3fCFv -/* 8005B92C 0005888C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005B930 00058890 41 82 00 10 */ beq lbl_8005B940 -/* 8005B934 00058894 38 61 00 68 */ addi r3, r1, 0x68 -/* 8005B938 00058898 48 2B 8F 81 */ bl Magnitude__9CVector3fCFv -/* 8005B93C 0005889C FE 00 08 90 */ fmr f16, f1 -lbl_8005B940: -/* 8005B940 000588A0 EC 0F C8 28 */ fsubs f0, f15, f25 -/* 8005B944 000588A4 88 1A 00 48 */ lbz r0, 0x48(r26) -/* 8005B948 000588A8 28 00 00 00 */ cmplwi r0, 0 -/* 8005B94C 000588AC FC 00 02 10 */ fabs f0, f0 -/* 8005B950 000588B0 FC 20 00 18 */ frsp f1, f0 -/* 8005B954 000588B4 FC 60 08 90 */ fmr f3, f1 -/* 8005B958 000588B8 41 82 00 18 */ beq lbl_8005B970 -/* 8005B95C 000588BC C0 1A 00 44 */ lfs f0, 0x44(r26) -/* 8005B960 000588C0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8005B964 000588C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005B968 000588C8 40 81 00 08 */ ble lbl_8005B970 -/* 8005B96C 000588CC FC 60 00 90 */ fmr f3, f0 -lbl_8005B970: -/* 8005B970 000588D0 EC 50 D0 28 */ fsubs f2, f16, f26 -/* 8005B974 000588D4 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) -/* 8005B978 000588D8 C0 02 86 E0 */ lfs f0, lbl_805AA400@sda21(r2) -/* 8005B97C 000588DC FC 40 12 10 */ fabs f2, f2 -/* 8005B980 000588E0 FC 40 10 18 */ frsp f2, f2 -/* 8005B984 000588E4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8005B988 000588E8 FC 20 0A 10 */ fabs f1, f1 -/* 8005B98C 000588EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005B990 000588F0 40 80 00 18 */ bge lbl_8005B9A8 -/* 8005B994 000588F4 FC 03 D8 40 */ fcmpo cr0, f3, f27 -/* 8005B998 000588F8 40 80 00 24 */ bge lbl_8005B9BC -/* 8005B99C 000588FC FF 80 78 90 */ fmr f28, f15 -/* 8005B9A0 00058900 FF 60 18 90 */ fmr f27, f3 -/* 8005B9A4 00058904 48 00 00 18 */ b lbl_8005B9BC -lbl_8005B9A8: -/* 8005B9A8 00058908 FC 10 D0 40 */ fcmpo cr0, f16, f26 -/* 8005B9AC 0005890C 40 80 00 10 */ bge lbl_8005B9BC -/* 8005B9B0 00058910 FF 80 78 90 */ fmr f28, f15 -/* 8005B9B4 00058914 FF 60 18 90 */ fmr f27, f3 -/* 8005B9B8 00058918 FF 40 80 90 */ fmr f26, f16 -lbl_8005B9BC: -/* 8005B9BC 0005891C 3B FF 00 0C */ addi r31, r31, 0xc -/* 8005B9C0 00058920 3B DE 00 04 */ addi r30, r30, 4 -/* 8005B9C4 00058924 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8005B9C8: -/* 8005B9C8 00058928 7C 1C E8 00 */ cmpw r28, r29 -/* 8005B9CC 0005892C 41 80 FA E0 */ blt lbl_8005B4AC -/* 8005B9D0 00058930 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005B9D4 00058934 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 8005B9D8 00058938 40 80 00 08 */ bge lbl_8005B9E0 -/* 8005B9DC 0005893C FF 80 00 90 */ fmr f28, f0 -lbl_8005B9E0: -/* 8005B9E0 00058940 FC 20 E0 90 */ fmr f1, f28 -/* 8005B9E4 00058944 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 -/* 8005B9E8 00058948 CB E1 01 E0 */ lfd f31, 0x1e0(r1) -/* 8005B9EC 0005894C E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 -/* 8005B9F0 00058950 CB C1 01 D0 */ lfd f30, 0x1d0(r1) -/* 8005B9F4 00058954 E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 -/* 8005B9F8 00058958 CB A1 01 C0 */ lfd f29, 0x1c0(r1) -/* 8005B9FC 0005895C E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 -/* 8005BA00 00058960 CB 81 01 B0 */ lfd f28, 0x1b0(r1) -/* 8005BA04 00058964 E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 -/* 8005BA08 00058968 CB 61 01 A0 */ lfd f27, 0x1a0(r1) -/* 8005BA0C 0005896C E3 41 01 98 */ psq_l f26, 408(r1), 0, qr0 -/* 8005BA10 00058970 CB 41 01 90 */ lfd f26, 0x190(r1) -/* 8005BA14 00058974 E3 21 01 88 */ psq_l f25, 392(r1), 0, qr0 -/* 8005BA18 00058978 CB 21 01 80 */ lfd f25, 0x180(r1) -/* 8005BA1C 0005897C E3 01 01 78 */ psq_l f24, 376(r1), 0, qr0 -/* 8005BA20 00058980 CB 01 01 70 */ lfd f24, 0x170(r1) -/* 8005BA24 00058984 E2 E1 01 68 */ psq_l f23, 360(r1), 0, qr0 -/* 8005BA28 00058988 CA E1 01 60 */ lfd f23, 0x160(r1) -/* 8005BA2C 0005898C E2 C1 01 58 */ psq_l f22, 344(r1), 0, qr0 -/* 8005BA30 00058990 CA C1 01 50 */ lfd f22, 0x150(r1) -/* 8005BA34 00058994 E2 A1 01 48 */ psq_l f21, 328(r1), 0, qr0 -/* 8005BA38 00058998 CA A1 01 40 */ lfd f21, 0x140(r1) -/* 8005BA3C 0005899C E2 81 01 38 */ psq_l f20, 312(r1), 0, qr0 -/* 8005BA40 000589A0 CA 81 01 30 */ lfd f20, 0x130(r1) -/* 8005BA44 000589A4 E2 61 01 28 */ psq_l f19, 296(r1), 0, qr0 -/* 8005BA48 000589A8 CA 61 01 20 */ lfd f19, 0x120(r1) -/* 8005BA4C 000589AC E2 41 01 18 */ psq_l f18, 280(r1), 0, qr0 -/* 8005BA50 000589B0 CA 41 01 10 */ lfd f18, 0x110(r1) -/* 8005BA54 000589B4 E2 21 01 08 */ psq_l f17, 264(r1), 0, qr0 -/* 8005BA58 000589B8 CA 21 01 00 */ lfd f17, 0x100(r1) -/* 8005BA5C 000589BC E2 01 00 F8 */ psq_l f16, 248(r1), 0, qr0 -/* 8005BA60 000589C0 CA 01 00 F0 */ lfd f16, 0xf0(r1) -/* 8005BA64 000589C4 E1 E1 00 E8 */ psq_l f15, 232(r1), 0, qr0 -/* 8005BA68 000589C8 C9 E1 00 E0 */ lfd f15, 0xe0(r1) -/* 8005BA6C 000589CC BB 41 00 C8 */ lmw r26, 0xc8(r1) -/* 8005BA70 000589D0 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 8005BA74 000589D4 7C 08 03 A6 */ mtlr r0 -/* 8005BA78 000589D8 38 21 01 F0 */ addi r1, r1, 0x1f0 -/* 8005BA7C 000589DC 4E 80 00 20 */ blr - -.global GetInterpolatedSplinePointByLength__13CCameraSplineCFf -GetInterpolatedSplinePointByLength__13CCameraSplineCFf: -/* 8005BA80 000589E0 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 8005BA84 000589E4 7C 08 02 A6 */ mflr r0 -/* 8005BA88 000589E8 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 8005BA8C 000589EC DB E1 01 B0 */ stfd f31, 0x1b0(r1) -/* 8005BA90 000589F0 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 -/* 8005BA94 000589F4 93 E1 01 AC */ stw r31, 0x1ac(r1) -/* 8005BA98 000589F8 93 C1 01 A8 */ stw r30, 0x1a8(r1) -/* 8005BA9C 000589FC 93 A1 01 A4 */ stw r29, 0x1a4(r1) -/* 8005BAA0 00058A00 80 A4 00 08 */ lwz r5, 8(r4) -/* 8005BAA4 00058A04 7C 9E 23 78 */ mr r30, r4 -/* 8005BAA8 00058A08 7C 7D 1B 78 */ mr r29, r3 -/* 8005BAAC 00058A0C 2C 05 00 00 */ cmpwi r5, 0 -/* 8005BAB0 00058A10 40 81 04 EC */ ble lbl_8005BF9C -/* 8005BAB4 00058A14 38 05 FF FF */ addi r0, r5, -1 -/* 8005BAB8 00058A18 3B E0 00 00 */ li r31, 0 -/* 8005BABC 00058A1C 38 C0 00 01 */ li r6, 1 -/* 8005BAC0 00058A20 38 80 00 04 */ li r4, 4 -/* 8005BAC4 00058A24 7C 09 03 A6 */ mtctr r0 -/* 8005BAC8 00058A28 2C 05 00 01 */ cmpwi r5, 1 -/* 8005BACC 00058A2C 40 81 00 28 */ ble lbl_8005BAF4 -lbl_8005BAD0: -/* 8005BAD0 00058A30 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8005BAD4 00058A34 7C 03 24 2E */ lfsx f0, r3, r4 -/* 8005BAD8 00058A38 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8005BADC 00058A3C 40 81 00 0C */ ble lbl_8005BAE8 -/* 8005BAE0 00058A40 3B E6 FF FF */ addi r31, r6, -1 -/* 8005BAE4 00058A44 48 00 00 10 */ b lbl_8005BAF4 -lbl_8005BAE8: -/* 8005BAE8 00058A48 38 84 00 04 */ addi r4, r4, 4 -/* 8005BAEC 00058A4C 38 C6 00 01 */ addi r6, r6, 1 -/* 8005BAF0 00058A50 42 00 FF E0 */ bdnz lbl_8005BAD0 -lbl_8005BAF4: -/* 8005BAF4 00058A54 7C 06 28 00 */ cmpw r6, r5 -/* 8005BAF8 00058A58 40 82 00 08 */ bne lbl_8005BB00 -/* 8005BAFC 00058A5C 3B E6 FF FF */ addi r31, r6, -1 -lbl_8005BB00: -/* 8005BB00 00058A60 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005BB04 00058A64 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005BB08 00058A68 40 80 00 08 */ bge lbl_8005BB10 -/* 8005BB0C 00058A6C 3B E0 00 00 */ li r31, 0 -lbl_8005BB10: -/* 8005BB10 00058A70 C0 5E 00 44 */ lfs f2, 0x44(r30) -/* 8005BB14 00058A74 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 8005BB18 00058A78 4C 41 13 82 */ cror 2, 1, 2 -/* 8005BB1C 00058A7C 40 82 00 24 */ bne lbl_8005BB40 -/* 8005BB20 00058A80 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 8005BB24 00058A84 28 00 00 00 */ cmplwi r0, 0 -/* 8005BB28 00058A88 41 82 00 10 */ beq lbl_8005BB38 -/* 8005BB2C 00058A8C EC 21 10 28 */ fsubs f1, f1, f2 -/* 8005BB30 00058A90 3B E0 00 00 */ li r31, 0 -/* 8005BB34 00058A94 48 00 00 0C */ b lbl_8005BB40 -lbl_8005BB38: -/* 8005BB38 00058A98 3B E5 FF FE */ addi r31, r5, -2 -/* 8005BB3C 00058A9C FC 20 10 90 */ fmr f1, f2 -lbl_8005BB40: -/* 8005BB40 00058AA0 38 05 FF FF */ addi r0, r5, -1 -/* 8005BB44 00058AA4 7C 1F 00 00 */ cmpw r31, r0 -/* 8005BB48 00058AA8 40 82 00 3C */ bne lbl_8005BB84 -/* 8005BB4C 00058AAC 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 8005BB50 00058AB0 28 00 00 00 */ cmplwi r0, 0 -/* 8005BB54 00058AB4 41 82 00 18 */ beq lbl_8005BB6C -/* 8005BB58 00058AB8 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8005BB5C 00058ABC 57 E0 10 3A */ slwi r0, r31, 2 -/* 8005BB60 00058AC0 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8005BB64 00058AC4 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8005BB68 00058AC8 48 00 00 38 */ b lbl_8005BBA0 -lbl_8005BB6C: -/* 8005BB6C 00058ACC 38 05 FF FE */ addi r0, r5, -2 -/* 8005BB70 00058AD0 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8005BB74 00058AD4 54 00 10 3A */ slwi r0, r0, 2 -/* 8005BB78 00058AD8 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8005BB7C 00058ADC EC 42 00 28 */ fsubs f2, f2, f0 -/* 8005BB80 00058AE0 48 00 00 20 */ b lbl_8005BBA0 -lbl_8005BB84: -/* 8005BB84 00058AE4 38 1F 00 01 */ addi r0, r31, 1 -/* 8005BB88 00058AE8 80 9E 00 30 */ lwz r4, 0x30(r30) -/* 8005BB8C 00058AEC 57 E3 10 3A */ slwi r3, r31, 2 -/* 8005BB90 00058AF0 54 00 10 3A */ slwi r0, r0, 2 -/* 8005BB94 00058AF4 7C 04 1C 2E */ lfsx f0, r4, r3 -/* 8005BB98 00058AF8 7C 44 04 2E */ lfsx f2, r4, r0 -/* 8005BB9C 00058AFC EC 42 00 28 */ fsubs f2, f2, f0 -lbl_8005BBA0: -/* 8005BBA0 00058B00 80 BE 00 30 */ lwz r5, 0x30(r30) -/* 8005BBA4 00058B04 57 E0 10 3A */ slwi r0, r31, 2 -/* 8005BBA8 00058B08 38 81 00 0C */ addi r4, r1, 0xc -/* 8005BBAC 00058B0C 38 6D 82 C8 */ addi r3, r13, lbl_805A6E88@sda21 -/* 8005BBB0 00058B10 7C 05 04 2E */ lfsx f0, r5, r0 -/* 8005BBB4 00058B14 38 AD 82 CC */ addi r5, r13, lbl_805A6E8C@sda21 -/* 8005BBB8 00058B18 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8005BBBC 00058B1C EC 00 10 24 */ fdivs f0, f0, f2 -/* 8005BBC0 00058B20 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8005BBC4 00058B24 4B FB 06 F1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8005BBC8 00058B28 C3 E3 00 00 */ lfs f31, 0(r3) -/* 8005BBCC 00058B2C 38 00 00 00 */ li r0, 0 -/* 8005BBD0 00058B30 7F C3 F3 78 */ mr r3, r30 -/* 8005BBD4 00058B34 7F E4 FB 78 */ mr r4, r31 -/* 8005BBD8 00058B38 90 01 01 6C */ stw r0, 0x16c(r1) -/* 8005BBDC 00058B3C 38 A1 01 6C */ addi r5, r1, 0x16c -/* 8005BBE0 00058B40 38 C1 01 38 */ addi r6, r1, 0x138 -/* 8005BBE4 00058B44 90 01 01 38 */ stw r0, 0x138(r1) -/* 8005BBE8 00058B48 48 00 0C 21 */ bl "GetSurroundingPoints__13CCameraSplineFiRQ24rstl27reserved_vector<9CVector3f>RQ24rstl27reserved_vector<9CVector3f>" -/* 8005BBEC 00058B4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005BBF0 00058B50 41 82 03 08 */ beq lbl_8005BEF8 -/* 8005BBF4 00058B54 C0 21 01 4C */ lfs f1, 0x14c(r1) -/* 8005BBF8 00058B58 3B C1 01 54 */ addi r30, r1, 0x154 -/* 8005BBFC 00058B5C C0 01 01 58 */ lfs f0, 0x158(r1) -/* 8005BC00 00058B60 3B E1 01 48 */ addi r31, r1, 0x148 -/* 8005BC04 00058B64 C0 41 01 48 */ lfs f2, 0x148(r1) -/* 8005BC08 00058B68 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8005BC0C 00058B6C C0 21 01 54 */ lfs f1, 0x154(r1) -/* 8005BC10 00058B70 C0 81 01 50 */ lfs f4, 0x150(r1) -/* 8005BC14 00058B74 C0 61 01 5C */ lfs f3, 0x15c(r1) -/* 8005BC18 00058B78 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8005BC1C 00058B7C C8 02 86 C8 */ lfd f0, lbl_805AA3E8@sda21(r2) -/* 8005BC20 00058B80 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 8005BC24 00058B84 FC 40 0A 10 */ fabs f2, f1 -/* 8005BC28 00058B88 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8005BC2C 00058B8C 40 81 00 14 */ ble lbl_8005BC40 -/* 8005BC30 00058B90 C0 02 86 D0 */ lfs f0, lbl_805AA3F0@sda21(r2) -/* 8005BC34 00058B94 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) -/* 8005BC38 00058B98 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 8005BC3C 00058B9C EC 22 00 32 */ fmuls f1, f2, f0 -lbl_8005BC40: -/* 8005BC40 00058BA0 C0 02 86 E8 */ lfs f0, lbl_805AA408@sda21(r2) -/* 8005BC44 00058BA4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005BC48 00058BA8 4C 41 13 82 */ cror 2, 1, 2 -/* 8005BC4C 00058BAC 40 82 01 14 */ bne lbl_8005BD60 -/* 8005BC50 00058BB0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8005BC54 00058BB4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8005BC58 00058BB8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8005BC5C 00058BBC 7F C5 F3 78 */ mr r5, r30 -/* 8005BC60 00058BC0 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8005BC64 00058BC4 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8005BC68 00058BC8 48 2B 7E A9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8005BC6C 00058BCC 38 61 01 08 */ addi r3, r1, 0x108 -/* 8005BC70 00058BD0 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 8005BC74 00058BD4 48 2B 6F 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8005BC78 00058BD8 FC 20 F8 90 */ fmr f1, f31 -/* 8005BC7C 00058BDC 38 81 01 70 */ addi r4, r1, 0x170 -/* 8005BC80 00058BE0 38 E4 00 24 */ addi r7, r4, 0x24 -/* 8005BC84 00058BE4 38 61 00 50 */ addi r3, r1, 0x50 -/* 8005BC88 00058BE8 38 A4 00 0C */ addi r5, r4, 0xc -/* 8005BC8C 00058BEC 38 C4 00 18 */ addi r6, r4, 0x18 -/* 8005BC90 00058BF0 48 2B 94 35 */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8005BC94 00058BF4 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 8005BC98 00058BF8 7F A3 EB 78 */ mr r3, r29 -/* 8005BC9C 00058BFC C0 21 00 54 */ lfs f1, 0x54(r1) -/* 8005BCA0 00058C00 38 81 01 08 */ addi r4, r1, 0x108 -/* 8005BCA4 00058C04 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8005BCA8 00058C08 D0 41 01 14 */ stfs f2, 0x114(r1) -/* 8005BCAC 00058C0C D0 21 01 24 */ stfs f1, 0x124(r1) -/* 8005BCB0 00058C10 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 8005BCB4 00058C14 48 2B 6E C1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8005BCB8 00058C18 80 A1 01 38 */ lwz r5, 0x138(r1) -/* 8005BCBC 00058C1C 38 60 00 00 */ li r3, 0 -/* 8005BCC0 00058C20 2C 05 00 00 */ cmpwi r5, 0 -/* 8005BCC4 00058C24 40 81 00 40 */ ble lbl_8005BD04 -/* 8005BCC8 00058C28 2C 05 00 08 */ cmpwi r5, 8 -/* 8005BCCC 00058C2C 38 85 FF F8 */ addi r4, r5, -8 -/* 8005BCD0 00058C30 40 81 00 20 */ ble lbl_8005BCF0 -/* 8005BCD4 00058C34 38 04 00 07 */ addi r0, r4, 7 -/* 8005BCD8 00058C38 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005BCDC 00058C3C 7C 09 03 A6 */ mtctr r0 -/* 8005BCE0 00058C40 2C 04 00 00 */ cmpwi r4, 0 -/* 8005BCE4 00058C44 40 81 00 0C */ ble lbl_8005BCF0 -lbl_8005BCE8: -/* 8005BCE8 00058C48 38 63 00 08 */ addi r3, r3, 8 -/* 8005BCEC 00058C4C 42 00 FF FC */ bdnz lbl_8005BCE8 -lbl_8005BCF0: -/* 8005BCF0 00058C50 7C 03 28 50 */ subf r0, r3, r5 -/* 8005BCF4 00058C54 7C 09 03 A6 */ mtctr r0 -/* 8005BCF8 00058C58 7C 03 28 00 */ cmpw r3, r5 -/* 8005BCFC 00058C5C 40 80 00 08 */ bge lbl_8005BD04 -lbl_8005BD00: -/* 8005BD00 00058C60 42 00 00 00 */ bdnz lbl_8005BD00 -lbl_8005BD04: -/* 8005BD04 00058C64 80 A1 01 6C */ lwz r5, 0x16c(r1) -/* 8005BD08 00058C68 38 60 00 00 */ li r3, 0 -/* 8005BD0C 00058C6C 90 61 01 38 */ stw r3, 0x138(r1) -/* 8005BD10 00058C70 2C 05 00 00 */ cmpwi r5, 0 -/* 8005BD14 00058C74 40 81 00 40 */ ble lbl_8005BD54 -/* 8005BD18 00058C78 2C 05 00 08 */ cmpwi r5, 8 -/* 8005BD1C 00058C7C 38 85 FF F8 */ addi r4, r5, -8 -/* 8005BD20 00058C80 40 81 00 20 */ ble lbl_8005BD40 -/* 8005BD24 00058C84 38 04 00 07 */ addi r0, r4, 7 -/* 8005BD28 00058C88 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005BD2C 00058C8C 7C 09 03 A6 */ mtctr r0 -/* 8005BD30 00058C90 2C 04 00 00 */ cmpwi r4, 0 -/* 8005BD34 00058C94 40 81 00 0C */ ble lbl_8005BD40 -lbl_8005BD38: -/* 8005BD38 00058C98 38 63 00 08 */ addi r3, r3, 8 -/* 8005BD3C 00058C9C 42 00 FF FC */ bdnz lbl_8005BD38 -lbl_8005BD40: -/* 8005BD40 00058CA0 7C 03 28 50 */ subf r0, r3, r5 -/* 8005BD44 00058CA4 7C 09 03 A6 */ mtctr r0 -/* 8005BD48 00058CA8 7C 03 28 00 */ cmpw r3, r5 -/* 8005BD4C 00058CAC 40 80 00 08 */ bge lbl_8005BD54 -lbl_8005BD50: -/* 8005BD50 00058CB0 42 00 00 00 */ bdnz lbl_8005BD50 -lbl_8005BD54: -/* 8005BD54 00058CB4 38 00 00 00 */ li r0, 0 -/* 8005BD58 00058CB8 90 01 01 6C */ stw r0, 0x16c(r1) -/* 8005BD5C 00058CBC 48 00 02 50 */ b lbl_8005BFAC -lbl_8005BD60: -/* 8005BD60 00058CC0 48 33 8E CD */ bl acos -/* 8005BD64 00058CC4 FC 00 08 18 */ frsp f0, f1 -/* 8005BD68 00058CC8 7F C4 F3 78 */ mr r4, r30 -/* 8005BD6C 00058CCC 38 61 00 28 */ addi r3, r1, 0x28 -/* 8005BD70 00058CD0 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8005BD74 00058CD4 D0 01 00 08 */ stfs f0, 8(r1) -/* 8005BD78 00058CD8 48 2B 80 59 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8005BD7C 00058CDC 7C 7E 1B 78 */ mr r30, r3 -/* 8005BD80 00058CE0 7F E4 FB 78 */ mr r4, r31 -/* 8005BD84 00058CE4 38 61 00 34 */ addi r3, r1, 0x34 -/* 8005BD88 00058CE8 48 2B 80 49 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8005BD8C 00058CEC 7C 64 1B 78 */ mr r4, r3 -/* 8005BD90 00058CF0 7F C5 F3 78 */ mr r5, r30 -/* 8005BD94 00058CF4 38 61 00 40 */ addi r3, r1, 0x40 -/* 8005BD98 00058CF8 38 C1 00 08 */ addi r6, r1, 8 -/* 8005BD9C 00058CFC 48 2B 58 F9 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 8005BDA0 00058D00 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 8005BDA4 00058D04 7F E5 FB 78 */ mr r5, r31 -/* 8005BDA8 00058D08 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8005BDAC 00058D0C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8005BDB0 00058D10 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8005BDB4 00058D14 38 81 00 68 */ addi r4, r1, 0x68 -/* 8005BDB8 00058D18 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8005BDBC 00058D1C D0 61 00 68 */ stfs f3, 0x68(r1) -/* 8005BDC0 00058D20 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8005BDC4 00058D24 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 8005BDC8 00058D28 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8005BDCC 00058D2C 48 2B 54 99 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 8005BDD0 00058D30 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8005BDD4 00058D34 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8005BDD8 00058D38 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8005BDDC 00058D3C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8005BDE0 00058D40 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8005BDE4 00058D44 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8005BDE8 00058D48 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 8005BDEC 00058D4C 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8005BDF0 00058D50 38 61 00 78 */ addi r3, r1, 0x78 -/* 8005BDF4 00058D54 38 A1 00 5C */ addi r5, r1, 0x5c -/* 8005BDF8 00058D58 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8005BDFC 00058D5C D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8005BE00 00058D60 48 2B 7D 11 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8005BE04 00058D64 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8005BE08 00058D68 38 81 00 78 */ addi r4, r1, 0x78 -/* 8005BE0C 00058D6C 48 2B 6D 69 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8005BE10 00058D70 FC 20 F8 90 */ fmr f1, f31 -/* 8005BE14 00058D74 38 81 01 70 */ addi r4, r1, 0x170 -/* 8005BE18 00058D78 38 E4 00 24 */ addi r7, r4, 0x24 -/* 8005BE1C 00058D7C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8005BE20 00058D80 38 A4 00 0C */ addi r5, r4, 0xc -/* 8005BE24 00058D84 38 C4 00 18 */ addi r6, r4, 0x18 -/* 8005BE28 00058D88 48 2B 92 9D */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8005BE2C 00058D8C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8005BE30 00058D90 7F A3 EB 78 */ mr r3, r29 -/* 8005BE34 00058D94 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8005BE38 00058D98 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8005BE3C 00058D9C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8005BE40 00058DA0 D0 41 00 E4 */ stfs f2, 0xe4(r1) -/* 8005BE44 00058DA4 D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 8005BE48 00058DA8 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 8005BE4C 00058DAC 48 2B 6D 29 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8005BE50 00058DB0 80 A1 01 38 */ lwz r5, 0x138(r1) -/* 8005BE54 00058DB4 38 60 00 00 */ li r3, 0 -/* 8005BE58 00058DB8 2C 05 00 00 */ cmpwi r5, 0 -/* 8005BE5C 00058DBC 40 81 00 40 */ ble lbl_8005BE9C -/* 8005BE60 00058DC0 2C 05 00 08 */ cmpwi r5, 8 -/* 8005BE64 00058DC4 38 85 FF F8 */ addi r4, r5, -8 -/* 8005BE68 00058DC8 40 81 00 20 */ ble lbl_8005BE88 -/* 8005BE6C 00058DCC 38 04 00 07 */ addi r0, r4, 7 -/* 8005BE70 00058DD0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005BE74 00058DD4 7C 09 03 A6 */ mtctr r0 -/* 8005BE78 00058DD8 2C 04 00 00 */ cmpwi r4, 0 -/* 8005BE7C 00058DDC 40 81 00 0C */ ble lbl_8005BE88 -lbl_8005BE80: -/* 8005BE80 00058DE0 38 63 00 08 */ addi r3, r3, 8 -/* 8005BE84 00058DE4 42 00 FF FC */ bdnz lbl_8005BE80 -lbl_8005BE88: -/* 8005BE88 00058DE8 7C 03 28 50 */ subf r0, r3, r5 -/* 8005BE8C 00058DEC 7C 09 03 A6 */ mtctr r0 -/* 8005BE90 00058DF0 7C 03 28 00 */ cmpw r3, r5 -/* 8005BE94 00058DF4 40 80 00 08 */ bge lbl_8005BE9C -lbl_8005BE98: -/* 8005BE98 00058DF8 42 00 00 00 */ bdnz lbl_8005BE98 -lbl_8005BE9C: -/* 8005BE9C 00058DFC 80 A1 01 6C */ lwz r5, 0x16c(r1) -/* 8005BEA0 00058E00 38 60 00 00 */ li r3, 0 -/* 8005BEA4 00058E04 90 61 01 38 */ stw r3, 0x138(r1) -/* 8005BEA8 00058E08 2C 05 00 00 */ cmpwi r5, 0 -/* 8005BEAC 00058E0C 40 81 00 40 */ ble lbl_8005BEEC -/* 8005BEB0 00058E10 2C 05 00 08 */ cmpwi r5, 8 -/* 8005BEB4 00058E14 38 85 FF F8 */ addi r4, r5, -8 -/* 8005BEB8 00058E18 40 81 00 20 */ ble lbl_8005BED8 -/* 8005BEBC 00058E1C 38 04 00 07 */ addi r0, r4, 7 -/* 8005BEC0 00058E20 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005BEC4 00058E24 7C 09 03 A6 */ mtctr r0 -/* 8005BEC8 00058E28 2C 04 00 00 */ cmpwi r4, 0 -/* 8005BECC 00058E2C 40 81 00 0C */ ble lbl_8005BED8 -lbl_8005BED0: -/* 8005BED0 00058E30 38 63 00 08 */ addi r3, r3, 8 -/* 8005BED4 00058E34 42 00 FF FC */ bdnz lbl_8005BED0 -lbl_8005BED8: -/* 8005BED8 00058E38 7C 03 28 50 */ subf r0, r3, r5 -/* 8005BEDC 00058E3C 7C 09 03 A6 */ mtctr r0 -/* 8005BEE0 00058E40 7C 03 28 00 */ cmpw r3, r5 -/* 8005BEE4 00058E44 40 80 00 08 */ bge lbl_8005BEEC -lbl_8005BEE8: -/* 8005BEE8 00058E48 42 00 00 00 */ bdnz lbl_8005BEE8 -lbl_8005BEEC: -/* 8005BEEC 00058E4C 38 00 00 00 */ li r0, 0 -/* 8005BEF0 00058E50 90 01 01 6C */ stw r0, 0x16c(r1) -/* 8005BEF4 00058E54 48 00 00 B8 */ b lbl_8005BFAC -lbl_8005BEF8: -/* 8005BEF8 00058E58 80 A1 01 38 */ lwz r5, 0x138(r1) -/* 8005BEFC 00058E5C 38 60 00 00 */ li r3, 0 -/* 8005BF00 00058E60 2C 05 00 00 */ cmpwi r5, 0 -/* 8005BF04 00058E64 40 81 00 40 */ ble lbl_8005BF44 -/* 8005BF08 00058E68 2C 05 00 08 */ cmpwi r5, 8 -/* 8005BF0C 00058E6C 38 85 FF F8 */ addi r4, r5, -8 -/* 8005BF10 00058E70 40 81 00 20 */ ble lbl_8005BF30 -/* 8005BF14 00058E74 38 04 00 07 */ addi r0, r4, 7 -/* 8005BF18 00058E78 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005BF1C 00058E7C 7C 09 03 A6 */ mtctr r0 -/* 8005BF20 00058E80 2C 04 00 00 */ cmpwi r4, 0 -/* 8005BF24 00058E84 40 81 00 0C */ ble lbl_8005BF30 -lbl_8005BF28: -/* 8005BF28 00058E88 38 63 00 08 */ addi r3, r3, 8 -/* 8005BF2C 00058E8C 42 00 FF FC */ bdnz lbl_8005BF28 -lbl_8005BF30: -/* 8005BF30 00058E90 7C 03 28 50 */ subf r0, r3, r5 -/* 8005BF34 00058E94 7C 09 03 A6 */ mtctr r0 -/* 8005BF38 00058E98 7C 03 28 00 */ cmpw r3, r5 -/* 8005BF3C 00058E9C 40 80 00 08 */ bge lbl_8005BF44 -lbl_8005BF40: -/* 8005BF40 00058EA0 42 00 00 00 */ bdnz lbl_8005BF40 -lbl_8005BF44: -/* 8005BF44 00058EA4 80 A1 01 6C */ lwz r5, 0x16c(r1) -/* 8005BF48 00058EA8 38 60 00 00 */ li r3, 0 -/* 8005BF4C 00058EAC 90 61 01 38 */ stw r3, 0x138(r1) -/* 8005BF50 00058EB0 2C 05 00 00 */ cmpwi r5, 0 -/* 8005BF54 00058EB4 40 81 00 40 */ ble lbl_8005BF94 -/* 8005BF58 00058EB8 2C 05 00 08 */ cmpwi r5, 8 -/* 8005BF5C 00058EBC 38 85 FF F8 */ addi r4, r5, -8 -/* 8005BF60 00058EC0 40 81 00 20 */ ble lbl_8005BF80 -/* 8005BF64 00058EC4 38 04 00 07 */ addi r0, r4, 7 -/* 8005BF68 00058EC8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005BF6C 00058ECC 7C 09 03 A6 */ mtctr r0 -/* 8005BF70 00058ED0 2C 04 00 00 */ cmpwi r4, 0 -/* 8005BF74 00058ED4 40 81 00 0C */ ble lbl_8005BF80 -lbl_8005BF78: -/* 8005BF78 00058ED8 38 63 00 08 */ addi r3, r3, 8 -/* 8005BF7C 00058EDC 42 00 FF FC */ bdnz lbl_8005BF78 -lbl_8005BF80: -/* 8005BF80 00058EE0 7C 03 28 50 */ subf r0, r3, r5 -/* 8005BF84 00058EE4 7C 09 03 A6 */ mtctr r0 -/* 8005BF88 00058EE8 7C 03 28 00 */ cmpw r3, r5 -/* 8005BF8C 00058EEC 40 80 00 08 */ bge lbl_8005BF94 -lbl_8005BF90: -/* 8005BF90 00058EF0 42 00 00 00 */ bdnz lbl_8005BF90 -lbl_8005BF94: -/* 8005BF94 00058EF4 38 00 00 00 */ li r0, 0 -/* 8005BF98 00058EF8 90 01 01 6C */ stw r0, 0x16c(r1) -lbl_8005BF9C: -/* 8005BF9C 00058EFC 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8005BFA0 00058F00 7F A3 EB 78 */ mr r3, r29 -/* 8005BFA4 00058F04 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8005BFA8 00058F08 48 2B 6B CD */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8005BFAC: -/* 8005BFAC 00058F0C E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 -/* 8005BFB0 00058F10 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 8005BFB4 00058F14 CB E1 01 B0 */ lfd f31, 0x1b0(r1) -/* 8005BFB8 00058F18 83 E1 01 AC */ lwz r31, 0x1ac(r1) -/* 8005BFBC 00058F1C 83 C1 01 A8 */ lwz r30, 0x1a8(r1) -/* 8005BFC0 00058F20 83 A1 01 A4 */ lwz r29, 0x1a4(r1) -/* 8005BFC4 00058F24 7C 08 03 A6 */ mtlr r0 -/* 8005BFC8 00058F28 38 21 01 C0 */ addi r1, r1, 0x1c0 -/* 8005BFCC 00058F2C 4E 80 00 20 */ blr - -.global GetInterpolatedSplinePointByTime__13CCameraSplineCFff -GetInterpolatedSplinePointByTime__13CCameraSplineCFff: -/* 8005BFD0 00058F30 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8005BFD4 00058F34 7C 08 02 A6 */ mflr r0 -/* 8005BFD8 00058F38 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8005BFDC 00058F3C DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8005BFE0 00058F40 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8005BFE4 00058F44 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8005BFE8 00058F48 80 C4 00 08 */ lwz r6, 8(r4) -/* 8005BFEC 00058F4C 7C 7F 1B 78 */ mr r31, r3 -/* 8005BFF0 00058F50 2C 06 00 00 */ cmpwi r6, 0 -/* 8005BFF4 00058F54 40 81 01 FC */ ble lbl_8005C1F0 -/* 8005BFF8 00058F58 38 A6 FF FF */ addi r5, r6, -1 -/* 8005BFFC 00058F5C 3C 00 43 30 */ lis r0, 0x4330 -/* 8005C000 00058F60 6C A3 80 00 */ xoris r3, r5, 0x8000 -/* 8005C004 00058F64 90 01 00 70 */ stw r0, 0x70(r1) -/* 8005C008 00058F68 C8 62 86 F0 */ lfd f3, lbl_805AA410@sda21(r2) -/* 8005C00C 00058F6C 90 61 00 74 */ stw r3, 0x74(r1) -/* 8005C010 00058F70 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 8005C014 00058F74 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8005C018 00058F78 EC 62 00 24 */ fdivs f3, f2, f0 -/* 8005C01C 00058F7C EC 01 18 24 */ fdivs f0, f1, f3 -/* 8005C020 00058F80 FC 00 00 1E */ fctiwz f0, f0 -/* 8005C024 00058F84 D8 01 00 78 */ stfd f0, 0x78(r1) -/* 8005C028 00058F88 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 8005C02C 00058F8C 7C 00 30 00 */ cmpw r0, r6 -/* 8005C030 00058F90 7C 06 03 78 */ mr r6, r0 -/* 8005C034 00058F94 41 80 00 08 */ blt lbl_8005C03C -/* 8005C038 00058F98 7C A6 2B 78 */ mr r6, r5 -lbl_8005C03C: -/* 8005C03C 00058F9C 6C C0 80 00 */ xoris r0, r6, 0x8000 -/* 8005C040 00058FA0 3C A0 43 30 */ lis r5, 0x4330 -/* 8005C044 00058FA4 90 01 00 84 */ stw r0, 0x84(r1) -/* 8005C048 00058FA8 38 00 00 00 */ li r0, 0 -/* 8005C04C 00058FAC C8 42 86 F0 */ lfd f2, lbl_805AA410@sda21(r2) -/* 8005C050 00058FB0 7C 83 23 78 */ mr r3, r4 -/* 8005C054 00058FB4 90 A1 00 80 */ stw r5, 0x80(r1) -/* 8005C058 00058FB8 7C C4 33 78 */ mr r4, r6 -/* 8005C05C 00058FBC 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8005C060 00058FC0 38 C1 00 08 */ addi r6, r1, 8 -/* 8005C064 00058FC4 C8 01 00 80 */ lfd f0, 0x80(r1) -/* 8005C068 00058FC8 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8005C06C 00058FCC EC 00 10 28 */ fsubs f0, f0, f2 -/* 8005C070 00058FD0 90 01 00 08 */ stw r0, 8(r1) -/* 8005C074 00058FD4 EC 00 08 FC */ fnmsubs f0, f0, f3, f1 -/* 8005C078 00058FD8 EF E0 18 24 */ fdivs f31, f0, f3 -/* 8005C07C 00058FDC 48 00 07 8D */ bl "GetSurroundingPoints__13CCameraSplineFiRQ24rstl27reserved_vector<9CVector3f>RQ24rstl27reserved_vector<9CVector3f>" -/* 8005C080 00058FE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005C084 00058FE4 41 82 00 C8 */ beq lbl_8005C14C -/* 8005C088 00058FE8 FC 20 F8 90 */ fmr f1, f31 -/* 8005C08C 00058FEC 38 81 00 40 */ addi r4, r1, 0x40 -/* 8005C090 00058FF0 38 E4 00 24 */ addi r7, r4, 0x24 -/* 8005C094 00058FF4 7F E3 FB 78 */ mr r3, r31 -/* 8005C098 00058FF8 38 A4 00 0C */ addi r5, r4, 0xc -/* 8005C09C 00058FFC 38 C4 00 18 */ addi r6, r4, 0x18 -/* 8005C0A0 00059000 48 2B 90 25 */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8005C0A4 00059004 80 A1 00 08 */ lwz r5, 8(r1) -/* 8005C0A8 00059008 38 60 00 00 */ li r3, 0 -/* 8005C0AC 0005900C 2C 05 00 00 */ cmpwi r5, 0 -/* 8005C0B0 00059010 40 81 00 40 */ ble lbl_8005C0F0 -/* 8005C0B4 00059014 2C 05 00 08 */ cmpwi r5, 8 -/* 8005C0B8 00059018 38 85 FF F8 */ addi r4, r5, -8 -/* 8005C0BC 0005901C 40 81 00 20 */ ble lbl_8005C0DC -/* 8005C0C0 00059020 38 04 00 07 */ addi r0, r4, 7 -/* 8005C0C4 00059024 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005C0C8 00059028 7C 09 03 A6 */ mtctr r0 -/* 8005C0CC 0005902C 2C 04 00 00 */ cmpwi r4, 0 -/* 8005C0D0 00059030 40 81 00 0C */ ble lbl_8005C0DC -lbl_8005C0D4: -/* 8005C0D4 00059034 38 63 00 08 */ addi r3, r3, 8 -/* 8005C0D8 00059038 42 00 FF FC */ bdnz lbl_8005C0D4 -lbl_8005C0DC: -/* 8005C0DC 0005903C 7C 03 28 50 */ subf r0, r3, r5 -/* 8005C0E0 00059040 7C 09 03 A6 */ mtctr r0 -/* 8005C0E4 00059044 7C 03 28 00 */ cmpw r3, r5 -/* 8005C0E8 00059048 40 80 00 08 */ bge lbl_8005C0F0 -lbl_8005C0EC: -/* 8005C0EC 0005904C 42 00 00 00 */ bdnz lbl_8005C0EC -lbl_8005C0F0: -/* 8005C0F0 00059050 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 8005C0F4 00059054 38 60 00 00 */ li r3, 0 -/* 8005C0F8 00059058 90 61 00 08 */ stw r3, 8(r1) -/* 8005C0FC 0005905C 2C 05 00 00 */ cmpwi r5, 0 -/* 8005C100 00059060 40 81 00 40 */ ble lbl_8005C140 -/* 8005C104 00059064 2C 05 00 08 */ cmpwi r5, 8 -/* 8005C108 00059068 38 85 FF F8 */ addi r4, r5, -8 -/* 8005C10C 0005906C 40 81 00 20 */ ble lbl_8005C12C -/* 8005C110 00059070 38 04 00 07 */ addi r0, r4, 7 -/* 8005C114 00059074 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005C118 00059078 7C 09 03 A6 */ mtctr r0 -/* 8005C11C 0005907C 2C 04 00 00 */ cmpwi r4, 0 -/* 8005C120 00059080 40 81 00 0C */ ble lbl_8005C12C -lbl_8005C124: -/* 8005C124 00059084 38 63 00 08 */ addi r3, r3, 8 -/* 8005C128 00059088 42 00 FF FC */ bdnz lbl_8005C124 -lbl_8005C12C: -/* 8005C12C 0005908C 7C 03 28 50 */ subf r0, r3, r5 -/* 8005C130 00059090 7C 09 03 A6 */ mtctr r0 -/* 8005C134 00059094 7C 03 28 00 */ cmpw r3, r5 -/* 8005C138 00059098 40 80 00 08 */ bge lbl_8005C140 -lbl_8005C13C: -/* 8005C13C 0005909C 42 00 00 00 */ bdnz lbl_8005C13C -lbl_8005C140: -/* 8005C140 000590A0 38 00 00 00 */ li r0, 0 -/* 8005C144 000590A4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8005C148 000590A8 48 00 00 C4 */ b lbl_8005C20C -lbl_8005C14C: -/* 8005C14C 000590AC 80 A1 00 08 */ lwz r5, 8(r1) -/* 8005C150 000590B0 38 60 00 00 */ li r3, 0 -/* 8005C154 000590B4 2C 05 00 00 */ cmpwi r5, 0 -/* 8005C158 000590B8 40 81 00 40 */ ble lbl_8005C198 -/* 8005C15C 000590BC 2C 05 00 08 */ cmpwi r5, 8 -/* 8005C160 000590C0 38 85 FF F8 */ addi r4, r5, -8 -/* 8005C164 000590C4 40 81 00 20 */ ble lbl_8005C184 -/* 8005C168 000590C8 38 04 00 07 */ addi r0, r4, 7 -/* 8005C16C 000590CC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005C170 000590D0 7C 09 03 A6 */ mtctr r0 -/* 8005C174 000590D4 2C 04 00 00 */ cmpwi r4, 0 -/* 8005C178 000590D8 40 81 00 0C */ ble lbl_8005C184 -lbl_8005C17C: -/* 8005C17C 000590DC 38 63 00 08 */ addi r3, r3, 8 -/* 8005C180 000590E0 42 00 FF FC */ bdnz lbl_8005C17C -lbl_8005C184: -/* 8005C184 000590E4 7C 03 28 50 */ subf r0, r3, r5 -/* 8005C188 000590E8 7C 09 03 A6 */ mtctr r0 -/* 8005C18C 000590EC 7C 03 28 00 */ cmpw r3, r5 -/* 8005C190 000590F0 40 80 00 08 */ bge lbl_8005C198 -lbl_8005C194: -/* 8005C194 000590F4 42 00 00 00 */ bdnz lbl_8005C194 -lbl_8005C198: -/* 8005C198 000590F8 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 8005C19C 000590FC 38 60 00 00 */ li r3, 0 -/* 8005C1A0 00059100 90 61 00 08 */ stw r3, 8(r1) -/* 8005C1A4 00059104 2C 05 00 00 */ cmpwi r5, 0 -/* 8005C1A8 00059108 40 81 00 40 */ ble lbl_8005C1E8 -/* 8005C1AC 0005910C 2C 05 00 08 */ cmpwi r5, 8 -/* 8005C1B0 00059110 38 85 FF F8 */ addi r4, r5, -8 -/* 8005C1B4 00059114 40 81 00 20 */ ble lbl_8005C1D4 -/* 8005C1B8 00059118 38 04 00 07 */ addi r0, r4, 7 -/* 8005C1BC 0005911C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8005C1C0 00059120 7C 09 03 A6 */ mtctr r0 -/* 8005C1C4 00059124 2C 04 00 00 */ cmpwi r4, 0 -/* 8005C1C8 00059128 40 81 00 0C */ ble lbl_8005C1D4 -lbl_8005C1CC: -/* 8005C1CC 0005912C 38 63 00 08 */ addi r3, r3, 8 -/* 8005C1D0 00059130 42 00 FF FC */ bdnz lbl_8005C1CC -lbl_8005C1D4: -/* 8005C1D4 00059134 7C 03 28 50 */ subf r0, r3, r5 -/* 8005C1D8 00059138 7C 09 03 A6 */ mtctr r0 -/* 8005C1DC 0005913C 7C 03 28 00 */ cmpw r3, r5 -/* 8005C1E0 00059140 40 80 00 08 */ bge lbl_8005C1E8 -lbl_8005C1E4: -/* 8005C1E4 00059144 42 00 00 00 */ bdnz lbl_8005C1E4 -lbl_8005C1E8: -/* 8005C1E8 00059148 38 00 00 00 */ li r0, 0 -/* 8005C1EC 0005914C 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_8005C1F0: -/* 8005C1F0 00059150 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8005C1F4 00059154 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8005C1F8 00059158 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8005C1FC 0005915C C0 03 00 04 */ lfs f0, 4(r3) -/* 8005C200 00059160 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8005C204 00059164 C0 03 00 08 */ lfs f0, 8(r3) -/* 8005C208 00059168 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_8005C20C: -/* 8005C20C 0005916C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8005C210 00059170 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8005C214 00059174 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8005C218 00059178 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8005C21C 0005917C 7C 08 03 A6 */ mtlr r0 -/* 8005C220 00059180 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8005C224 00059184 4E 80 00 20 */ blr - -.global ValidateLength__13CCameraSplineCFf -ValidateLength__13CCameraSplineCFf: -/* 8005C228 00059188 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005C22C 0005918C 7C 08 02 A6 */ mflr r0 -/* 8005C230 00059190 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005C234 00059194 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8005C238 00059198 D0 21 00 08 */ stfs f1, 8(r1) -/* 8005C23C 0005919C 28 00 00 00 */ cmplwi r0, 0 -/* 8005C240 000591A0 41 82 00 50 */ beq lbl_8005C290 -/* 8005C244 000591A4 48 00 00 10 */ b lbl_8005C254 -lbl_8005C248: -/* 8005C248 000591A8 C0 01 00 08 */ lfs f0, 8(r1) -/* 8005C24C 000591AC EC 00 08 28 */ fsubs f0, f0, f1 -/* 8005C250 000591B0 D0 01 00 08 */ stfs f0, 8(r1) -lbl_8005C254: -/* 8005C254 000591B4 C0 01 00 08 */ lfs f0, 8(r1) -/* 8005C258 000591B8 C0 23 00 44 */ lfs f1, 0x44(r3) -/* 8005C25C 000591BC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8005C260 000591C0 4C 41 13 82 */ cror 2, 1, 2 -/* 8005C264 000591C4 41 82 FF E4 */ beq lbl_8005C248 -/* 8005C268 000591C8 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005C26C 000591CC 48 00 00 14 */ b lbl_8005C280 -lbl_8005C270: -/* 8005C270 000591D0 C0 41 00 08 */ lfs f2, 8(r1) -/* 8005C274 000591D4 C0 23 00 44 */ lfs f1, 0x44(r3) -/* 8005C278 000591D8 EC 22 08 2A */ fadds f1, f2, f1 -/* 8005C27C 000591DC D0 21 00 08 */ stfs f1, 8(r1) -lbl_8005C280: -/* 8005C280 000591E0 C0 21 00 08 */ lfs f1, 8(r1) -/* 8005C284 000591E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005C288 000591E8 41 80 FF E8 */ blt lbl_8005C270 -/* 8005C28C 000591EC 48 00 00 1C */ b lbl_8005C2A8 -lbl_8005C290: -/* 8005C290 000591F0 38 81 00 08 */ addi r4, r1, 8 -/* 8005C294 000591F4 38 A3 00 44 */ addi r5, r3, 0x44 -/* 8005C298 000591F8 38 6D 82 C4 */ addi r3, r13, lbl_805A6E84@sda21 -/* 8005C29C 000591FC 4B FB 00 19 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8005C2A0 00059200 C0 03 00 00 */ lfs f0, 0(r3) -/* 8005C2A4 00059204 D0 01 00 08 */ stfs f0, 8(r1) -lbl_8005C2A8: -/* 8005C2A8 00059208 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005C2AC 0005920C C0 21 00 08 */ lfs f1, 8(r1) -/* 8005C2B0 00059210 7C 08 03 A6 */ mtlr r0 -/* 8005C2B4 00059214 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005C2B8 00059218 4E 80 00 20 */ blr - -.global CalculateSplineLength__13CCameraSplineFv -CalculateSplineLength__13CCameraSplineFv: -/* 8005C2BC 0005921C 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8005C2C0 00059220 7C 08 02 A6 */ mflr r0 -/* 8005C2C4 00059224 90 01 01 24 */ stw r0, 0x124(r1) -/* 8005C2C8 00059228 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 8005C2CC 0005922C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 8005C2D0 00059230 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 8005C2D4 00059234 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 8005C2D8 00059238 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 8005C2DC 0005923C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 8005C2E0 00059240 DB 81 00 E0 */ stfd f28, 0xe0(r1) -/* 8005C2E4 00059244 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 -/* 8005C2E8 00059248 DB 61 00 D0 */ stfd f27, 0xd0(r1) -/* 8005C2EC 0005924C F3 61 00 D8 */ psq_st f27, 216(r1), 0, qr0 -/* 8005C2F0 00059250 DB 41 00 C0 */ stfd f26, 0xc0(r1) -/* 8005C2F4 00059254 F3 41 00 C8 */ psq_st f26, 200(r1), 0, qr0 -/* 8005C2F8 00059258 DB 21 00 B0 */ stfd f25, 0xb0(r1) -/* 8005C2FC 0005925C F3 21 00 B8 */ psq_st f25, 184(r1), 0, qr0 -/* 8005C300 00059260 DB 01 00 A0 */ stfd f24, 0xa0(r1) -/* 8005C304 00059264 F3 01 00 A8 */ psq_st f24, 168(r1), 0, qr0 -/* 8005C308 00059268 DA E1 00 90 */ stfd f23, 0x90(r1) -/* 8005C30C 0005926C F2 E1 00 98 */ psq_st f23, 152(r1), 0, qr0 -/* 8005C310 00059270 DA C1 00 80 */ stfd f22, 0x80(r1) -/* 8005C314 00059274 F2 C1 00 88 */ psq_st f22, 136(r1), 0, qr0 -/* 8005C318 00059278 DA A1 00 70 */ stfd f21, 0x70(r1) -/* 8005C31C 0005927C F2 A1 00 78 */ psq_st f21, 120(r1), 0, qr0 -/* 8005C320 00059280 DA 81 00 60 */ stfd f20, 0x60(r1) -/* 8005C324 00059284 F2 81 00 68 */ psq_st f20, 104(r1), 0, qr0 -/* 8005C328 00059288 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8005C32C 0005928C 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8005C330 00059290 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8005C334 00059294 80 03 00 28 */ lwz r0, 0x28(r3) -/* 8005C338 00059298 7C 7F 1B 78 */ mr r31, r3 -/* 8005C33C 0005929C 80 63 00 30 */ lwz r3, 0x30(r3) -/* 8005C340 000592A0 54 00 10 3A */ slwi r0, r0, 2 -/* 8005C344 000592A4 C3 E2 86 B8 */ lfs f31, lbl_805AA3D8@sda21(r2) -/* 8005C348 000592A8 7C 03 02 14 */ add r0, r3, r0 -/* 8005C34C 000592AC 90 61 00 0C */ stw r3, 0xc(r1) -/* 8005C350 000592B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005C354 000592B4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8005C358 000592B8 90 61 00 08 */ stw r3, 8(r1) -/* 8005C35C 000592BC 48 00 00 08 */ b lbl_8005C364 -lbl_8005C360: -/* 8005C360 000592C0 38 63 00 04 */ addi r3, r3, 4 -lbl_8005C364: -/* 8005C364 000592C4 7C 03 00 40 */ cmplw r3, r0 -/* 8005C368 000592C8 40 82 FF F8 */ bne lbl_8005C360 -/* 8005C36C 000592CC 38 00 00 00 */ li r0, 0 -/* 8005C370 000592D0 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8005C374 000592D4 80 7F 00 08 */ lwz r3, 8(r31) -/* 8005C378 000592D8 2C 03 00 00 */ cmpwi r3, 0 -/* 8005C37C 000592DC 40 81 01 F8 */ ble lbl_8005C574 -/* 8005C380 000592E0 38 03 FF FF */ addi r0, r3, -1 -/* 8005C384 000592E4 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8005C388 000592E8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8005C38C 000592EC 3F C0 43 30 */ lis r30, 0x4330 -/* 8005C390 000592F0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8005C394 000592F4 3B A0 00 00 */ li r29, 0 -/* 8005C398 000592F8 CB A2 86 F0 */ lfd f29, lbl_805AA410@sda21(r2) -/* 8005C39C 000592FC 93 C1 00 40 */ stw r30, 0x40(r1) -/* 8005C3A0 00059300 C0 22 86 BC */ lfs f1, lbl_805AA3DC@sda21(r2) -/* 8005C3A4 00059304 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 8005C3A8 00059308 C3 83 00 00 */ lfs f28, 0(r3) -/* 8005C3AC 0005930C EC 00 E8 28 */ fsubs f0, f0, f29 -/* 8005C3B0 00059310 C3 63 00 04 */ lfs f27, 4(r3) -/* 8005C3B4 00059314 C3 43 00 08 */ lfs f26, 8(r3) -/* 8005C3B8 00059318 C3 C2 86 F8 */ lfs f30, lbl_805AA418@sda21(r2) -/* 8005C3BC 0005931C EE C1 00 24 */ fdivs f22, f1, f0 -/* 8005C3C0 00059320 48 00 00 E4 */ b lbl_8005C4A4 -lbl_8005C3C4: -/* 8005C3C4 00059324 6F A3 80 00 */ xoris r3, r29, 0x8000 -/* 8005C3C8 00059328 93 C1 00 40 */ stw r30, 0x40(r1) -/* 8005C3CC 0005932C 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8005C3D0 00059330 90 61 00 44 */ stw r3, 0x44(r1) -/* 8005C3D4 00059334 80 BF 00 2C */ lwz r5, 0x2c(r31) -/* 8005C3D8 00059338 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 8005C3DC 0005933C 7C 00 28 00 */ cmpw r0, r5 -/* 8005C3E0 00059340 C2 82 86 B8 */ lfs f20, lbl_805AA3D8@sda21(r2) -/* 8005C3E4 00059344 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 8005C3E8 00059348 EE A0 05 B2 */ fmuls f21, f0, f22 -/* 8005C3EC 0005934C 41 80 00 1C */ blt lbl_8005C408 -/* 8005C3F0 00059350 2C 05 00 00 */ cmpwi r5, 0 -/* 8005C3F4 00059354 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8005C3F8 00059358 38 80 00 04 */ li r4, 4 -/* 8005C3FC 0005935C 41 82 00 08 */ beq lbl_8005C404 -/* 8005C400 00059360 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005C404: -/* 8005C404 00059364 48 00 19 F5 */ bl "reserve__Q24rstl36vectorFi" -lbl_8005C408: -/* 8005C408 00059368 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8005C40C 0005936C 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8005C410 00059370 54 00 10 3A */ slwi r0, r0, 2 -/* 8005C414 00059374 7C 63 02 15 */ add. r3, r3, r0 -/* 8005C418 00059378 41 82 00 08 */ beq lbl_8005C420 -/* 8005C41C 0005937C D3 E3 00 00 */ stfs f31, 0(r3) -lbl_8005C420: -/* 8005C420 00059380 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8005C424 00059384 38 03 00 01 */ addi r0, r3, 1 -/* 8005C428 00059388 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8005C42C 0005938C 48 00 00 68 */ b lbl_8005C494 -lbl_8005C430: -/* 8005C430 00059390 EE 96 A7 BA */ fmadds f20, f22, f30, f20 -/* 8005C434 00059394 C0 42 86 BC */ lfs f2, lbl_805AA3DC@sda21(r2) -/* 8005C438 00059398 7F E4 FB 78 */ mr r4, r31 -/* 8005C43C 0005939C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8005C440 000593A0 EC 35 A0 2A */ fadds f1, f21, f20 -/* 8005C444 000593A4 4B FF FB 8D */ bl GetInterpolatedSplinePointByTime__13CCameraSplineCFff -/* 8005C448 000593A8 C2 E1 00 18 */ lfs f23, 0x18(r1) -/* 8005C44C 000593AC 38 61 00 30 */ addi r3, r1, 0x30 -/* 8005C450 000593B0 C3 21 00 1C */ lfs f25, 0x1c(r1) -/* 8005C454 000593B4 C3 01 00 20 */ lfs f24, 0x20(r1) -/* 8005C458 000593B8 EC 57 E0 28 */ fsubs f2, f23, f28 -/* 8005C45C 000593BC EC 39 D8 28 */ fsubs f1, f25, f27 -/* 8005C460 000593C0 EC 18 D0 28 */ fsubs f0, f24, f26 -/* 8005C464 000593C4 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8005C468 000593C8 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8005C46C 000593CC D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8005C470 000593D0 48 2B 82 89 */ bl CanBeNormalized__9CVector3fCFv -/* 8005C474 000593D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005C478 000593D8 41 82 00 1C */ beq lbl_8005C494 -/* 8005C47C 000593DC 38 61 00 30 */ addi r3, r1, 0x30 -/* 8005C480 000593E0 48 2B 84 39 */ bl Magnitude__9CVector3fCFv -/* 8005C484 000593E4 FF 80 B8 90 */ fmr f28, f23 -/* 8005C488 000593E8 FF 60 C8 90 */ fmr f27, f25 -/* 8005C48C 000593EC FF 40 C0 90 */ fmr f26, f24 -/* 8005C490 000593F0 EF FF 08 2A */ fadds f31, f31, f1 -lbl_8005C494: -/* 8005C494 000593F4 FC 14 B0 40 */ fcmpo cr0, f20, f22 -/* 8005C498 000593F8 4C 40 13 82 */ cror 2, 0, 2 -/* 8005C49C 000593FC 41 82 FF 94 */ beq lbl_8005C430 -/* 8005C4A0 00059400 3B BD 00 01 */ addi r29, r29, 1 -lbl_8005C4A4: -/* 8005C4A4 00059404 80 7F 00 08 */ lwz r3, 8(r31) -/* 8005C4A8 00059408 38 03 FF FF */ addi r0, r3, -1 -/* 8005C4AC 0005940C 7C 1D 00 00 */ cmpw r29, r0 -/* 8005C4B0 00059410 41 80 FF 14 */ blt lbl_8005C3C4 -/* 8005C4B4 00059414 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8005C4B8 00059418 80 BF 00 2C */ lwz r5, 0x2c(r31) -/* 8005C4BC 0005941C 7C 00 28 00 */ cmpw r0, r5 -/* 8005C4C0 00059420 41 80 00 1C */ blt lbl_8005C4DC -/* 8005C4C4 00059424 2C 05 00 00 */ cmpwi r5, 0 -/* 8005C4C8 00059428 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8005C4CC 0005942C 38 80 00 04 */ li r4, 4 -/* 8005C4D0 00059430 41 82 00 08 */ beq lbl_8005C4D8 -/* 8005C4D4 00059434 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005C4D8: -/* 8005C4D8 00059438 48 00 19 21 */ bl "reserve__Q24rstl36vectorFi" -lbl_8005C4DC: -/* 8005C4DC 0005943C 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8005C4E0 00059440 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8005C4E4 00059444 54 00 10 3A */ slwi r0, r0, 2 -/* 8005C4E8 00059448 7C 63 02 15 */ add. r3, r3, r0 -/* 8005C4EC 0005944C 41 82 00 08 */ beq lbl_8005C4F4 -/* 8005C4F0 00059450 D3 E3 00 00 */ stfs f31, 0(r3) -lbl_8005C4F4: -/* 8005C4F4 00059454 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8005C4F8 00059458 38 03 00 01 */ addi r0, r3, 1 -/* 8005C4FC 0005945C 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8005C500 00059460 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 8005C504 00059464 28 00 00 00 */ cmplwi r0, 0 -/* 8005C508 00059468 41 82 00 64 */ beq lbl_8005C56C -/* 8005C50C 0005946C 80 9F 00 08 */ lwz r4, 8(r31) -/* 8005C510 00059470 38 61 00 24 */ addi r3, r1, 0x24 -/* 8005C514 00059474 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 8005C518 00059478 38 04 FF FF */ addi r0, r4, -1 -/* 8005C51C 0005947C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005C520 00059480 C0 A5 00 04 */ lfs f5, 4(r5) -/* 8005C524 00059484 C0 65 00 08 */ lfs f3, 8(r5) -/* 8005C528 00059488 C0 25 00 00 */ lfs f1, 0(r5) -/* 8005C52C 0005948C 7C 85 02 14 */ add r4, r5, r0 -/* 8005C530 00059490 C0 84 00 04 */ lfs f4, 4(r4) -/* 8005C534 00059494 C0 44 00 08 */ lfs f2, 8(r4) -/* 8005C538 00059498 C0 04 00 00 */ lfs f0, 0(r4) -/* 8005C53C 0005949C EC 85 20 28 */ fsubs f4, f5, f4 -/* 8005C540 000594A0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8005C544 000594A4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8005C548 000594A8 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 8005C54C 000594AC D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8005C550 000594B0 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8005C554 000594B4 48 2B 81 A5 */ bl CanBeNormalized__9CVector3fCFv -/* 8005C558 000594B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005C55C 000594BC 41 82 00 10 */ beq lbl_8005C56C -/* 8005C560 000594C0 38 61 00 24 */ addi r3, r1, 0x24 -/* 8005C564 000594C4 48 2B 83 55 */ bl Magnitude__9CVector3fCFv -/* 8005C568 000594C8 EF FF 08 2A */ fadds f31, f31, f1 -lbl_8005C56C: -/* 8005C56C 000594CC FC 20 F8 90 */ fmr f1, f31 -/* 8005C570 000594D0 48 00 00 08 */ b lbl_8005C578 -lbl_8005C574: -/* 8005C574 000594D4 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) -lbl_8005C578: -/* 8005C578 000594D8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 8005C57C 000594DC CB E1 01 10 */ lfd f31, 0x110(r1) -/* 8005C580 000594E0 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 8005C584 000594E4 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 8005C588 000594E8 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 8005C58C 000594EC CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 8005C590 000594F0 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 -/* 8005C594 000594F4 CB 81 00 E0 */ lfd f28, 0xe0(r1) -/* 8005C598 000594F8 E3 61 00 D8 */ psq_l f27, 216(r1), 0, qr0 -/* 8005C59C 000594FC CB 61 00 D0 */ lfd f27, 0xd0(r1) -/* 8005C5A0 00059500 E3 41 00 C8 */ psq_l f26, 200(r1), 0, qr0 -/* 8005C5A4 00059504 CB 41 00 C0 */ lfd f26, 0xc0(r1) -/* 8005C5A8 00059508 E3 21 00 B8 */ psq_l f25, 184(r1), 0, qr0 -/* 8005C5AC 0005950C CB 21 00 B0 */ lfd f25, 0xb0(r1) -/* 8005C5B0 00059510 E3 01 00 A8 */ psq_l f24, 168(r1), 0, qr0 -/* 8005C5B4 00059514 CB 01 00 A0 */ lfd f24, 0xa0(r1) -/* 8005C5B8 00059518 E2 E1 00 98 */ psq_l f23, 152(r1), 0, qr0 -/* 8005C5BC 0005951C CA E1 00 90 */ lfd f23, 0x90(r1) -/* 8005C5C0 00059520 E2 C1 00 88 */ psq_l f22, 136(r1), 0, qr0 -/* 8005C5C4 00059524 CA C1 00 80 */ lfd f22, 0x80(r1) -/* 8005C5C8 00059528 E2 A1 00 78 */ psq_l f21, 120(r1), 0, qr0 -/* 8005C5CC 0005952C CA A1 00 70 */ lfd f21, 0x70(r1) -/* 8005C5D0 00059530 E2 81 00 68 */ psq_l f20, 104(r1), 0, qr0 -/* 8005C5D4 00059534 CA 81 00 60 */ lfd f20, 0x60(r1) -/* 8005C5D8 00059538 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8005C5DC 0005953C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8005C5E0 00059540 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8005C5E4 00059544 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8005C5E8 00059548 7C 08 03 A6 */ mtlr r0 -/* 8005C5EC 0005954C 38 21 01 20 */ addi r1, r1, 0x120 -/* 8005C5F0 00059550 4E 80 00 20 */ blr - -.global ClampLength__13CCameraSplineCFRC9CVector3fbRC15CMaterialFilterRC13CStateManager -ClampLength__13CCameraSplineCFRC9CVector3fbRC15CMaterialFilterRC13CStateManager: -/* 8005C5F4 00059554 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8005C5F8 00059558 7C 08 02 A6 */ mflr r0 -/* 8005C5FC 0005955C 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8005C600 00059560 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8005C604 00059564 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8005C608 00059568 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 8005C60C 0005956C F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 8005C610 00059570 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 8005C614 00059574 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 8005C618 00059578 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8005C61C 0005957C 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8005C620 00059580 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8005C624 00059584 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 8005C628 00059588 7C 7C 1B 78 */ mr r28, r3 -/* 8005C62C 0005958C 7C BF 2B 78 */ mr r31, r5 -/* 8005C630 00059590 80 63 00 08 */ lwz r3, 8(r3) -/* 8005C634 00059594 7C DD 33 78 */ mr r29, r6 -/* 8005C638 00059598 7C FE 3B 78 */ mr r30, r7 -/* 8005C63C 0005959C 2C 03 00 00 */ cmpwi r3, 0 -/* 8005C640 000595A0 40 82 00 0C */ bne lbl_8005C64C -/* 8005C644 000595A4 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) -/* 8005C648 000595A8 48 00 01 88 */ b lbl_8005C7D0 -lbl_8005C64C: -/* 8005C64C 000595AC 88 1C 00 48 */ lbz r0, 0x48(r28) -/* 8005C650 000595B0 28 00 00 00 */ cmplwi r0, 0 -/* 8005C654 000595B4 41 82 00 0C */ beq lbl_8005C660 -/* 8005C658 000595B8 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) -/* 8005C65C 000595BC 48 00 01 74 */ b lbl_8005C7D0 -lbl_8005C660: -/* 8005C660 000595C0 80 BC 00 10 */ lwz r5, 0x10(r28) -/* 8005C664 000595C4 38 03 FF FF */ addi r0, r3, -1 -/* 8005C668 000595C8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005C66C 000595CC C0 64 00 04 */ lfs f3, 4(r4) -/* 8005C670 000595D0 C0 25 00 00 */ lfs f1, 0(r5) -/* 8005C674 000595D4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8005C678 000595D8 C0 04 00 00 */ lfs f0, 0(r4) -/* 8005C67C 000595DC D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8005C680 000595E0 7C C5 02 14 */ add r6, r5, r0 -/* 8005C684 000595E4 C0 44 00 08 */ lfs f2, 8(r4) -/* 8005C688 000595E8 C0 85 00 04 */ lfs f4, 4(r5) -/* 8005C68C 000595EC EC 20 08 28 */ fsubs f1, f0, f1 -/* 8005C690 000595F0 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 8005C694 000595F4 EC C3 20 28 */ fsubs f6, f3, f4 -/* 8005C698 000595F8 C0 85 00 08 */ lfs f4, 8(r5) -/* 8005C69C 000595FC D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 8005C6A0 00059600 EC A2 20 28 */ fsubs f5, f2, f4 -/* 8005C6A4 00059604 C0 86 00 00 */ lfs f4, 0(r6) -/* 8005C6A8 00059608 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 8005C6AC 0005960C EC 00 20 28 */ fsubs f0, f0, f4 -/* 8005C6B0 00059610 C0 86 00 04 */ lfs f4, 4(r6) -/* 8005C6B4 00059614 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 8005C6B8 00059618 EC 83 20 28 */ fsubs f4, f3, f4 -/* 8005C6BC 0005961C C0 66 00 08 */ lfs f3, 8(r6) -/* 8005C6C0 00059620 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8005C6C4 00059624 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 8005C6C8 00059628 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8005C6CC 0005962C D0 C1 00 30 */ stfs f6, 0x30(r1) -/* 8005C6D0 00059630 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 8005C6D4 00059634 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8005C6D8 00059638 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 8005C6DC 0005963C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8005C6E0 00059640 48 2B 81 D9 */ bl Magnitude__9CVector3fCFv -/* 8005C6E4 00059644 FF A0 08 90 */ fmr f29, f1 -/* 8005C6E8 00059648 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005C6EC 0005964C 48 2B 81 CD */ bl Magnitude__9CVector3fCFv -/* 8005C6F0 00059650 FF C0 08 90 */ fmr f30, f1 -/* 8005C6F4 00059654 38 61 00 2C */ addi r3, r1, 0x2c -/* 8005C6F8 00059658 48 2B 80 01 */ bl CanBeNormalized__9CVector3fCFv -/* 8005C6FC 0005965C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005C700 00059660 40 82 00 0C */ bne lbl_8005C70C -/* 8005C704 00059664 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) -/* 8005C708 00059668 48 00 00 C8 */ b lbl_8005C7D0 -lbl_8005C70C: -/* 8005C70C 0005966C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005C710 00059670 48 2B 7F E9 */ bl CanBeNormalized__9CVector3fCFv -/* 8005C714 00059674 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005C718 00059678 40 82 00 0C */ bne lbl_8005C724 -/* 8005C71C 0005967C C0 3C 00 44 */ lfs f1, 0x44(r28) -/* 8005C720 00059680 48 00 00 B0 */ b lbl_8005C7D0 -lbl_8005C724: -/* 8005C724 00059684 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8005C728 00059688 41 82 00 94 */ beq lbl_8005C7BC -/* 8005C72C 0005968C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8005C730 00059690 48 2B 81 89 */ bl Magnitude__9CVector3fCFv -/* 8005C734 00059694 FF E0 08 90 */ fmr f31, f1 -/* 8005C738 00059698 38 61 00 14 */ addi r3, r1, 0x14 -/* 8005C73C 0005969C 38 81 00 2C */ addi r4, r1, 0x2c -/* 8005C740 000596A0 48 2B 81 11 */ bl AsNormalized__9CVector3fCFv -/* 8005C744 000596A4 FC 20 F8 90 */ fmr f1, f31 -/* 8005C748 000596A8 7F C4 F3 78 */ mr r4, r30 -/* 8005C74C 000596AC 7F A7 EB 78 */ mr r7, r29 -/* 8005C750 000596B0 38 61 00 80 */ addi r3, r1, 0x80 -/* 8005C754 000596B4 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8005C758 000596B8 38 C1 00 14 */ addi r6, r1, 0x14 -/* 8005C75C 000596BC 4B FF 08 3D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8005C760 000596C0 8B E1 00 A0 */ lbz r31, 0xa0(r1) -/* 8005C764 000596C4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005C768 000596C8 48 2B 81 51 */ bl Magnitude__9CVector3fCFv -/* 8005C76C 000596CC FF E0 08 90 */ fmr f31, f1 -/* 8005C770 000596D0 38 61 00 08 */ addi r3, r1, 8 -/* 8005C774 000596D4 38 81 00 20 */ addi r4, r1, 0x20 -/* 8005C778 000596D8 48 2B 80 D9 */ bl AsNormalized__9CVector3fCFv -/* 8005C77C 000596DC FC 20 F8 90 */ fmr f1, f31 -/* 8005C780 000596E0 7F C4 F3 78 */ mr r4, r30 -/* 8005C784 000596E4 7F A7 EB 78 */ mr r7, r29 -/* 8005C788 000596E8 38 61 00 50 */ addi r3, r1, 0x50 -/* 8005C78C 000596EC 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8005C790 000596F0 38 C1 00 08 */ addi r6, r1, 8 -/* 8005C794 000596F4 4B FF 08 05 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8005C798 000596F8 28 1F 00 00 */ cmplwi r31, 0 -/* 8005C79C 000596FC 88 01 00 70 */ lbz r0, 0x70(r1) -/* 8005C7A0 00059700 41 82 00 0C */ beq lbl_8005C7AC -/* 8005C7A4 00059704 C0 3C 00 44 */ lfs f1, 0x44(r28) -/* 8005C7A8 00059708 48 00 00 28 */ b lbl_8005C7D0 -lbl_8005C7AC: -/* 8005C7AC 0005970C 28 00 00 00 */ cmplwi r0, 0 -/* 8005C7B0 00059710 41 82 00 0C */ beq lbl_8005C7BC -/* 8005C7B4 00059714 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) -/* 8005C7B8 00059718 48 00 00 18 */ b lbl_8005C7D0 -lbl_8005C7BC: -/* 8005C7BC 0005971C FC 1D F0 40 */ fcmpo cr0, f29, f30 -/* 8005C7C0 00059720 40 80 00 0C */ bge lbl_8005C7CC -/* 8005C7C4 00059724 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) -/* 8005C7C8 00059728 48 00 00 08 */ b lbl_8005C7D0 -lbl_8005C7CC: -/* 8005C7CC 0005972C C0 3C 00 44 */ lfs f1, 0x44(r28) -lbl_8005C7D0: -/* 8005C7D0 00059730 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8005C7D4 00059734 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 8005C7D8 00059738 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 8005C7DC 0005973C CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 8005C7E0 00059740 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 8005C7E4 00059744 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 8005C7E8 00059748 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8005C7EC 0005974C 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8005C7F0 00059750 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8005C7F4 00059754 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8005C7F8 00059758 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 8005C7FC 0005975C 7C 08 03 A6 */ mtlr r0 -/* 8005C800 00059760 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8005C804 00059764 4E 80 00 20 */ blr - -.global "GetSurroundingPoints__13CCameraSplineFiRQ24rstl27reserved_vector<9CVector3f>RQ24rstl27reserved_vector<9CVector3f>" -"GetSurroundingPoints__13CCameraSplineFiRQ24rstl27reserved_vector<9CVector3f>RQ24rstl27reserved_vector<9CVector3f>": -/* 8005C808 00059768 80 E3 00 08 */ lwz r7, 8(r3) -/* 8005C80C 0005976C 2C 07 00 03 */ cmpwi r7, 3 -/* 8005C810 00059770 40 81 00 14 */ ble lbl_8005C824 -/* 8005C814 00059774 2C 04 00 00 */ cmpwi r4, 0 -/* 8005C818 00059778 41 80 00 0C */ blt lbl_8005C824 -/* 8005C81C 0005977C 7C 04 38 00 */ cmpw r4, r7 -/* 8005C820 00059780 41 80 00 0C */ blt lbl_8005C82C -lbl_8005C824: -/* 8005C824 00059784 38 60 00 00 */ li r3, 0 -/* 8005C828 00059788 4E 80 00 20 */ blr -lbl_8005C82C: -/* 8005C82C 0005978C 2C 04 00 00 */ cmpwi r4, 0 -/* 8005C830 00059790 40 81 00 90 */ ble lbl_8005C8C0 -/* 8005C834 00059794 80 05 00 00 */ lwz r0, 0(r5) -/* 8005C838 00059798 39 04 FF FF */ addi r8, r4, -1 -/* 8005C83C 0005979C 1D 48 00 0C */ mulli r10, r8, 0xc -/* 8005C840 000597A0 81 03 00 10 */ lwz r8, 0x10(r3) -/* 8005C844 000597A4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005C848 000597A8 7D 28 52 14 */ add r9, r8, r10 -/* 8005C84C 000597AC 7D 05 02 14 */ add r8, r5, r0 -/* 8005C850 000597B0 35 08 00 04 */ addic. r8, r8, 4 -/* 8005C854 000597B4 41 82 00 1C */ beq lbl_8005C870 -/* 8005C858 000597B8 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005C85C 000597BC D0 08 00 00 */ stfs f0, 0(r8) -/* 8005C860 000597C0 C0 09 00 04 */ lfs f0, 4(r9) -/* 8005C864 000597C4 D0 08 00 04 */ stfs f0, 4(r8) -/* 8005C868 000597C8 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005C86C 000597CC D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005C870: -/* 8005C870 000597D0 81 05 00 00 */ lwz r8, 0(r5) -/* 8005C874 000597D4 38 08 00 01 */ addi r0, r8, 1 -/* 8005C878 000597D8 90 05 00 00 */ stw r0, 0(r5) -/* 8005C87C 000597DC 80 06 00 00 */ lwz r0, 0(r6) -/* 8005C880 000597E0 81 03 00 40 */ lwz r8, 0x40(r3) -/* 8005C884 000597E4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005C888 000597E8 7D 28 52 14 */ add r9, r8, r10 -/* 8005C88C 000597EC 7D 06 02 14 */ add r8, r6, r0 -/* 8005C890 000597F0 35 08 00 04 */ addic. r8, r8, 4 -/* 8005C894 000597F4 41 82 00 1C */ beq lbl_8005C8B0 -/* 8005C898 000597F8 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005C89C 000597FC D0 08 00 00 */ stfs f0, 0(r8) -/* 8005C8A0 00059800 C0 09 00 04 */ lfs f0, 4(r9) -/* 8005C8A4 00059804 D0 08 00 04 */ stfs f0, 4(r8) -/* 8005C8A8 00059808 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005C8AC 0005980C D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005C8B0: -/* 8005C8B0 00059810 81 06 00 00 */ lwz r8, 0(r6) -/* 8005C8B4 00059814 38 08 00 01 */ addi r0, r8, 1 -/* 8005C8B8 00059818 90 06 00 00 */ stw r0, 0(r6) -/* 8005C8BC 0005981C 48 00 01 38 */ b lbl_8005C9F4 -lbl_8005C8C0: -/* 8005C8C0 00059820 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8005C8C4 00059824 28 00 00 00 */ cmplwi r0, 0 -/* 8005C8C8 00059828 41 82 00 90 */ beq lbl_8005C958 -/* 8005C8CC 0005982C 80 05 00 00 */ lwz r0, 0(r5) -/* 8005C8D0 00059830 39 07 FF FF */ addi r8, r7, -1 -/* 8005C8D4 00059834 1D 48 00 0C */ mulli r10, r8, 0xc -/* 8005C8D8 00059838 81 03 00 10 */ lwz r8, 0x10(r3) -/* 8005C8DC 0005983C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005C8E0 00059840 7D 28 52 14 */ add r9, r8, r10 -/* 8005C8E4 00059844 7D 05 02 14 */ add r8, r5, r0 -/* 8005C8E8 00059848 35 08 00 04 */ addic. r8, r8, 4 -/* 8005C8EC 0005984C 41 82 00 1C */ beq lbl_8005C908 -/* 8005C8F0 00059850 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005C8F4 00059854 D0 08 00 00 */ stfs f0, 0(r8) -/* 8005C8F8 00059858 C0 09 00 04 */ lfs f0, 4(r9) -/* 8005C8FC 0005985C D0 08 00 04 */ stfs f0, 4(r8) -/* 8005C900 00059860 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005C904 00059864 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005C908: -/* 8005C908 00059868 81 05 00 00 */ lwz r8, 0(r5) -/* 8005C90C 0005986C 38 08 00 01 */ addi r0, r8, 1 -/* 8005C910 00059870 90 05 00 00 */ stw r0, 0(r5) -/* 8005C914 00059874 80 06 00 00 */ lwz r0, 0(r6) -/* 8005C918 00059878 81 03 00 40 */ lwz r8, 0x40(r3) -/* 8005C91C 0005987C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005C920 00059880 7D 28 52 14 */ add r9, r8, r10 -/* 8005C924 00059884 7D 06 02 14 */ add r8, r6, r0 -/* 8005C928 00059888 35 08 00 04 */ addic. r8, r8, 4 -/* 8005C92C 0005988C 41 82 00 1C */ beq lbl_8005C948 -/* 8005C930 00059890 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005C934 00059894 D0 08 00 00 */ stfs f0, 0(r8) -/* 8005C938 00059898 C0 09 00 04 */ lfs f0, 4(r9) -/* 8005C93C 0005989C D0 08 00 04 */ stfs f0, 4(r8) -/* 8005C940 000598A0 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005C944 000598A4 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005C948: -/* 8005C948 000598A8 81 06 00 00 */ lwz r8, 0(r6) -/* 8005C94C 000598AC 38 08 00 01 */ addi r0, r8, 1 -/* 8005C950 000598B0 90 06 00 00 */ stw r0, 0(r6) -/* 8005C954 000598B4 48 00 00 A0 */ b lbl_8005C9F4 -lbl_8005C958: -/* 8005C958 000598B8 81 23 00 10 */ lwz r9, 0x10(r3) -/* 8005C95C 000598BC 80 05 00 00 */ lwz r0, 0(r5) -/* 8005C960 000598C0 C0 A9 00 00 */ lfs f5, 0(r9) -/* 8005C964 000598C4 C0 09 00 0C */ lfs f0, 0xc(r9) -/* 8005C968 000598C8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005C96C 000598CC C0 69 00 04 */ lfs f3, 4(r9) -/* 8005C970 000598D0 C0 49 00 10 */ lfs f2, 0x10(r9) -/* 8005C974 000598D4 EC 80 28 28 */ fsubs f4, f0, f5 -/* 8005C978 000598D8 7D 05 02 14 */ add r8, r5, r0 -/* 8005C97C 000598DC C0 29 00 08 */ lfs f1, 8(r9) -/* 8005C980 000598E0 C0 09 00 14 */ lfs f0, 0x14(r9) -/* 8005C984 000598E4 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8005C988 000598E8 EC 85 20 28 */ fsubs f4, f5, f4 -/* 8005C98C 000598EC EC 00 08 28 */ fsubs f0, f0, f1 -/* 8005C990 000598F0 35 08 00 04 */ addic. r8, r8, 4 -/* 8005C994 000598F4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8005C998 000598F8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8005C99C 000598FC 41 82 00 10 */ beq lbl_8005C9AC -/* 8005C9A0 00059900 D0 88 00 00 */ stfs f4, 0(r8) -/* 8005C9A4 00059904 D0 48 00 04 */ stfs f2, 4(r8) -/* 8005C9A8 00059908 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005C9AC: -/* 8005C9AC 0005990C 81 05 00 00 */ lwz r8, 0(r5) -/* 8005C9B0 00059910 38 08 00 01 */ addi r0, r8, 1 -/* 8005C9B4 00059914 90 05 00 00 */ stw r0, 0(r5) -/* 8005C9B8 00059918 80 06 00 00 */ lwz r0, 0(r6) -/* 8005C9BC 0005991C 81 23 00 40 */ lwz r9, 0x40(r3) -/* 8005C9C0 00059920 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005C9C4 00059924 7D 06 02 14 */ add r8, r6, r0 -/* 8005C9C8 00059928 35 08 00 04 */ addic. r8, r8, 4 -/* 8005C9CC 0005992C 41 82 00 1C */ beq lbl_8005C9E8 -/* 8005C9D0 00059930 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005C9D4 00059934 D0 08 00 00 */ stfs f0, 0(r8) -/* 8005C9D8 00059938 C0 09 00 04 */ lfs f0, 4(r9) -/* 8005C9DC 0005993C D0 08 00 04 */ stfs f0, 4(r8) -/* 8005C9E0 00059940 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005C9E4 00059944 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005C9E8: -/* 8005C9E8 00059948 81 06 00 00 */ lwz r8, 0(r6) -/* 8005C9EC 0005994C 38 08 00 01 */ addi r0, r8, 1 -/* 8005C9F0 00059950 90 06 00 00 */ stw r0, 0(r6) -lbl_8005C9F4: -/* 8005C9F4 00059954 80 05 00 00 */ lwz r0, 0(r5) -/* 8005C9F8 00059958 1D 44 00 0C */ mulli r10, r4, 0xc -/* 8005C9FC 0005995C 81 03 00 10 */ lwz r8, 0x10(r3) -/* 8005CA00 00059960 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CA04 00059964 7D 28 52 14 */ add r9, r8, r10 -/* 8005CA08 00059968 7D 05 02 14 */ add r8, r5, r0 -/* 8005CA0C 0005996C 35 08 00 04 */ addic. r8, r8, 4 -/* 8005CA10 00059970 41 82 00 1C */ beq lbl_8005CA2C -/* 8005CA14 00059974 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005CA18 00059978 D0 08 00 00 */ stfs f0, 0(r8) -/* 8005CA1C 0005997C C0 09 00 04 */ lfs f0, 4(r9) -/* 8005CA20 00059980 D0 08 00 04 */ stfs f0, 4(r8) -/* 8005CA24 00059984 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005CA28 00059988 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005CA2C: -/* 8005CA2C 0005998C 81 05 00 00 */ lwz r8, 0(r5) -/* 8005CA30 00059990 38 08 00 01 */ addi r0, r8, 1 -/* 8005CA34 00059994 90 05 00 00 */ stw r0, 0(r5) -/* 8005CA38 00059998 80 06 00 00 */ lwz r0, 0(r6) -/* 8005CA3C 0005999C 81 03 00 40 */ lwz r8, 0x40(r3) -/* 8005CA40 000599A0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CA44 000599A4 7D 28 52 14 */ add r9, r8, r10 -/* 8005CA48 000599A8 7D 06 02 14 */ add r8, r6, r0 -/* 8005CA4C 000599AC 35 08 00 04 */ addic. r8, r8, 4 -/* 8005CA50 000599B0 41 82 00 1C */ beq lbl_8005CA6C -/* 8005CA54 000599B4 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005CA58 000599B8 D0 08 00 00 */ stfs f0, 0(r8) -/* 8005CA5C 000599BC C0 09 00 04 */ lfs f0, 4(r9) -/* 8005CA60 000599C0 D0 08 00 04 */ stfs f0, 4(r8) -/* 8005CA64 000599C4 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005CA68 000599C8 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005CA6C: -/* 8005CA6C 000599CC 81 26 00 00 */ lwz r9, 0(r6) -/* 8005CA70 000599D0 39 04 00 01 */ addi r8, r4, 1 -/* 8005CA74 000599D4 7C 08 38 00 */ cmpw r8, r7 -/* 8005CA78 000599D8 38 09 00 01 */ addi r0, r9, 1 -/* 8005CA7C 000599DC 90 06 00 00 */ stw r0, 0(r6) -/* 8005CA80 000599E0 41 80 01 58 */ blt lbl_8005CBD8 -/* 8005CA84 000599E4 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8005CA88 000599E8 28 00 00 00 */ cmplwi r0, 0 -/* 8005CA8C 000599EC 41 82 00 90 */ beq lbl_8005CB1C -/* 8005CA90 000599F0 80 05 00 00 */ lwz r0, 0(r5) -/* 8005CA94 000599F4 7D 07 40 50 */ subf r8, r7, r8 -/* 8005CA98 000599F8 1D 48 00 0C */ mulli r10, r8, 0xc -/* 8005CA9C 000599FC 81 03 00 10 */ lwz r8, 0x10(r3) -/* 8005CAA0 00059A00 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CAA4 00059A04 7D 28 52 14 */ add r9, r8, r10 -/* 8005CAA8 00059A08 7D 05 02 14 */ add r8, r5, r0 -/* 8005CAAC 00059A0C 35 08 00 04 */ addic. r8, r8, 4 -/* 8005CAB0 00059A10 41 82 00 1C */ beq lbl_8005CACC -/* 8005CAB4 00059A14 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005CAB8 00059A18 D0 08 00 00 */ stfs f0, 0(r8) -/* 8005CABC 00059A1C C0 09 00 04 */ lfs f0, 4(r9) -/* 8005CAC0 00059A20 D0 08 00 04 */ stfs f0, 4(r8) -/* 8005CAC4 00059A24 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005CAC8 00059A28 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005CACC: -/* 8005CACC 00059A2C 81 05 00 00 */ lwz r8, 0(r5) -/* 8005CAD0 00059A30 38 08 00 01 */ addi r0, r8, 1 -/* 8005CAD4 00059A34 90 05 00 00 */ stw r0, 0(r5) -/* 8005CAD8 00059A38 80 06 00 00 */ lwz r0, 0(r6) -/* 8005CADC 00059A3C 81 03 00 40 */ lwz r8, 0x40(r3) -/* 8005CAE0 00059A40 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CAE4 00059A44 7D 28 52 14 */ add r9, r8, r10 -/* 8005CAE8 00059A48 7D 06 02 14 */ add r8, r6, r0 -/* 8005CAEC 00059A4C 35 08 00 04 */ addic. r8, r8, 4 -/* 8005CAF0 00059A50 41 82 00 1C */ beq lbl_8005CB0C -/* 8005CAF4 00059A54 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005CAF8 00059A58 D0 08 00 00 */ stfs f0, 0(r8) -/* 8005CAFC 00059A5C C0 09 00 04 */ lfs f0, 4(r9) -/* 8005CB00 00059A60 D0 08 00 04 */ stfs f0, 4(r8) -/* 8005CB04 00059A64 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005CB08 00059A68 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005CB0C: -/* 8005CB0C 00059A6C 81 06 00 00 */ lwz r8, 0(r6) -/* 8005CB10 00059A70 38 08 00 01 */ addi r0, r8, 1 -/* 8005CB14 00059A74 90 06 00 00 */ stw r0, 0(r6) -/* 8005CB18 00059A78 48 00 01 44 */ b lbl_8005CC5C -lbl_8005CB1C: -/* 8005CB1C 00059A7C 38 07 FF FF */ addi r0, r7, -1 -/* 8005CB20 00059A80 39 07 FF FE */ addi r8, r7, -2 -/* 8005CB24 00059A84 1D 60 00 0C */ mulli r11, r0, 0xc -/* 8005CB28 00059A88 81 23 00 10 */ lwz r9, 0x10(r3) -/* 8005CB2C 00059A8C 80 05 00 00 */ lwz r0, 0(r5) -/* 8005CB30 00059A90 7D 49 5A 14 */ add r10, r9, r11 -/* 8005CB34 00059A94 1D 08 00 0C */ mulli r8, r8, 0xc -/* 8005CB38 00059A98 C0 AA 00 00 */ lfs f5, 0(r10) -/* 8005CB3C 00059A9C C0 6A 00 04 */ lfs f3, 4(r10) -/* 8005CB40 00059AA0 C0 2A 00 08 */ lfs f1, 8(r10) -/* 8005CB44 00059AA4 7D 09 42 14 */ add r8, r9, r8 -/* 8005CB48 00059AA8 C0 88 00 00 */ lfs f4, 0(r8) -/* 8005CB4C 00059AAC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CB50 00059AB0 C0 48 00 04 */ lfs f2, 4(r8) -/* 8005CB54 00059AB4 C0 08 00 08 */ lfs f0, 8(r8) -/* 8005CB58 00059AB8 EC 84 28 28 */ fsubs f4, f4, f5 -/* 8005CB5C 00059ABC EC 42 18 28 */ fsubs f2, f2, f3 -/* 8005CB60 00059AC0 7D 05 02 14 */ add r8, r5, r0 -/* 8005CB64 00059AC4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8005CB68 00059AC8 35 08 00 04 */ addic. r8, r8, 4 -/* 8005CB6C 00059ACC EC 85 20 28 */ fsubs f4, f5, f4 -/* 8005CB70 00059AD0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8005CB74 00059AD4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8005CB78 00059AD8 41 82 00 10 */ beq lbl_8005CB88 -/* 8005CB7C 00059ADC D0 88 00 00 */ stfs f4, 0(r8) -/* 8005CB80 00059AE0 D0 48 00 04 */ stfs f2, 4(r8) -/* 8005CB84 00059AE4 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005CB88: -/* 8005CB88 00059AE8 81 05 00 00 */ lwz r8, 0(r5) -/* 8005CB8C 00059AEC 38 08 00 01 */ addi r0, r8, 1 -/* 8005CB90 00059AF0 90 05 00 00 */ stw r0, 0(r5) -/* 8005CB94 00059AF4 80 06 00 00 */ lwz r0, 0(r6) -/* 8005CB98 00059AF8 81 03 00 40 */ lwz r8, 0x40(r3) -/* 8005CB9C 00059AFC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CBA0 00059B00 7D 28 5A 14 */ add r9, r8, r11 -/* 8005CBA4 00059B04 7D 06 02 14 */ add r8, r6, r0 -/* 8005CBA8 00059B08 35 08 00 04 */ addic. r8, r8, 4 -/* 8005CBAC 00059B0C 41 82 00 1C */ beq lbl_8005CBC8 -/* 8005CBB0 00059B10 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005CBB4 00059B14 D0 08 00 00 */ stfs f0, 0(r8) -/* 8005CBB8 00059B18 C0 09 00 04 */ lfs f0, 4(r9) -/* 8005CBBC 00059B1C D0 08 00 04 */ stfs f0, 4(r8) -/* 8005CBC0 00059B20 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005CBC4 00059B24 D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005CBC8: -/* 8005CBC8 00059B28 81 06 00 00 */ lwz r8, 0(r6) -/* 8005CBCC 00059B2C 38 08 00 01 */ addi r0, r8, 1 -/* 8005CBD0 00059B30 90 06 00 00 */ stw r0, 0(r6) -/* 8005CBD4 00059B34 48 00 00 88 */ b lbl_8005CC5C -lbl_8005CBD8: -/* 8005CBD8 00059B38 80 05 00 00 */ lwz r0, 0(r5) -/* 8005CBDC 00059B3C 1D 48 00 0C */ mulli r10, r8, 0xc -/* 8005CBE0 00059B40 81 03 00 10 */ lwz r8, 0x10(r3) -/* 8005CBE4 00059B44 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CBE8 00059B48 7D 28 52 14 */ add r9, r8, r10 -/* 8005CBEC 00059B4C 7D 05 02 14 */ add r8, r5, r0 -/* 8005CBF0 00059B50 35 08 00 04 */ addic. r8, r8, 4 -/* 8005CBF4 00059B54 41 82 00 1C */ beq lbl_8005CC10 -/* 8005CBF8 00059B58 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005CBFC 00059B5C D0 08 00 00 */ stfs f0, 0(r8) -/* 8005CC00 00059B60 C0 09 00 04 */ lfs f0, 4(r9) -/* 8005CC04 00059B64 D0 08 00 04 */ stfs f0, 4(r8) -/* 8005CC08 00059B68 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005CC0C 00059B6C D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005CC10: -/* 8005CC10 00059B70 81 05 00 00 */ lwz r8, 0(r5) -/* 8005CC14 00059B74 38 08 00 01 */ addi r0, r8, 1 -/* 8005CC18 00059B78 90 05 00 00 */ stw r0, 0(r5) -/* 8005CC1C 00059B7C 80 06 00 00 */ lwz r0, 0(r6) -/* 8005CC20 00059B80 81 03 00 40 */ lwz r8, 0x40(r3) -/* 8005CC24 00059B84 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CC28 00059B88 7D 28 52 14 */ add r9, r8, r10 -/* 8005CC2C 00059B8C 7D 06 02 14 */ add r8, r6, r0 -/* 8005CC30 00059B90 35 08 00 04 */ addic. r8, r8, 4 -/* 8005CC34 00059B94 41 82 00 1C */ beq lbl_8005CC50 -/* 8005CC38 00059B98 C0 09 00 00 */ lfs f0, 0(r9) -/* 8005CC3C 00059B9C D0 08 00 00 */ stfs f0, 0(r8) -/* 8005CC40 00059BA0 C0 09 00 04 */ lfs f0, 4(r9) -/* 8005CC44 00059BA4 D0 08 00 04 */ stfs f0, 4(r8) -/* 8005CC48 00059BA8 C0 09 00 08 */ lfs f0, 8(r9) -/* 8005CC4C 00059BAC D0 08 00 08 */ stfs f0, 8(r8) -lbl_8005CC50: -/* 8005CC50 00059BB0 81 06 00 00 */ lwz r8, 0(r6) -/* 8005CC54 00059BB4 38 08 00 01 */ addi r0, r8, 1 -/* 8005CC58 00059BB8 90 06 00 00 */ stw r0, 0(r6) -lbl_8005CC5C: -/* 8005CC5C 00059BBC 38 84 00 02 */ addi r4, r4, 2 -/* 8005CC60 00059BC0 7C 04 38 00 */ cmpw r4, r7 -/* 8005CC64 00059BC4 41 80 01 58 */ blt lbl_8005CDBC -/* 8005CC68 00059BC8 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8005CC6C 00059BCC 28 00 00 00 */ cmplwi r0, 0 -/* 8005CC70 00059BD0 41 82 00 90 */ beq lbl_8005CD00 -/* 8005CC74 00059BD4 80 05 00 00 */ lwz r0, 0(r5) -/* 8005CC78 00059BD8 7C 87 20 50 */ subf r4, r7, r4 -/* 8005CC7C 00059BDC 1D 04 00 0C */ mulli r8, r4, 0xc -/* 8005CC80 00059BE0 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8005CC84 00059BE4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CC88 00059BE8 7C E4 42 14 */ add r7, r4, r8 -/* 8005CC8C 00059BEC 7C 85 02 14 */ add r4, r5, r0 -/* 8005CC90 00059BF0 34 84 00 04 */ addic. r4, r4, 4 -/* 8005CC94 00059BF4 41 82 00 1C */ beq lbl_8005CCB0 -/* 8005CC98 00059BF8 C0 07 00 00 */ lfs f0, 0(r7) -/* 8005CC9C 00059BFC D0 04 00 00 */ stfs f0, 0(r4) -/* 8005CCA0 00059C00 C0 07 00 04 */ lfs f0, 4(r7) -/* 8005CCA4 00059C04 D0 04 00 04 */ stfs f0, 4(r4) -/* 8005CCA8 00059C08 C0 07 00 08 */ lfs f0, 8(r7) -/* 8005CCAC 00059C0C D0 04 00 08 */ stfs f0, 8(r4) -lbl_8005CCB0: -/* 8005CCB0 00059C10 80 85 00 00 */ lwz r4, 0(r5) -/* 8005CCB4 00059C14 38 04 00 01 */ addi r0, r4, 1 -/* 8005CCB8 00059C18 90 05 00 00 */ stw r0, 0(r5) -/* 8005CCBC 00059C1C 80 06 00 00 */ lwz r0, 0(r6) -/* 8005CCC0 00059C20 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8005CCC4 00059C24 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CCC8 00059C28 7C 83 42 14 */ add r4, r3, r8 -/* 8005CCCC 00059C2C 7C 66 02 14 */ add r3, r6, r0 -/* 8005CCD0 00059C30 34 63 00 04 */ addic. r3, r3, 4 -/* 8005CCD4 00059C34 41 82 00 1C */ beq lbl_8005CCF0 -/* 8005CCD8 00059C38 C0 04 00 00 */ lfs f0, 0(r4) -/* 8005CCDC 00059C3C D0 03 00 00 */ stfs f0, 0(r3) -/* 8005CCE0 00059C40 C0 04 00 04 */ lfs f0, 4(r4) -/* 8005CCE4 00059C44 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005CCE8 00059C48 C0 04 00 08 */ lfs f0, 8(r4) -/* 8005CCEC 00059C4C D0 03 00 08 */ stfs f0, 8(r3) -lbl_8005CCF0: -/* 8005CCF0 00059C50 80 66 00 00 */ lwz r3, 0(r6) -/* 8005CCF4 00059C54 38 03 00 01 */ addi r0, r3, 1 -/* 8005CCF8 00059C58 90 06 00 00 */ stw r0, 0(r6) -/* 8005CCFC 00059C5C 48 00 01 44 */ b lbl_8005CE40 -lbl_8005CD00: -/* 8005CD00 00059C60 38 07 FF FF */ addi r0, r7, -1 -/* 8005CD04 00059C64 38 87 FF FE */ addi r4, r7, -2 -/* 8005CD08 00059C68 1D 20 00 0C */ mulli r9, r0, 0xc -/* 8005CD0C 00059C6C 80 E3 00 10 */ lwz r7, 0x10(r3) -/* 8005CD10 00059C70 80 05 00 00 */ lwz r0, 0(r5) -/* 8005CD14 00059C74 7D 07 4A 14 */ add r8, r7, r9 -/* 8005CD18 00059C78 1C 84 00 0C */ mulli r4, r4, 0xc -/* 8005CD1C 00059C7C C0 A8 00 00 */ lfs f5, 0(r8) -/* 8005CD20 00059C80 C0 68 00 04 */ lfs f3, 4(r8) -/* 8005CD24 00059C84 C0 28 00 08 */ lfs f1, 8(r8) -/* 8005CD28 00059C88 7C 87 22 14 */ add r4, r7, r4 -/* 8005CD2C 00059C8C C0 84 00 00 */ lfs f4, 0(r4) -/* 8005CD30 00059C90 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CD34 00059C94 C0 44 00 04 */ lfs f2, 4(r4) -/* 8005CD38 00059C98 C0 04 00 08 */ lfs f0, 8(r4) -/* 8005CD3C 00059C9C EC 84 28 28 */ fsubs f4, f4, f5 -/* 8005CD40 00059CA0 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8005CD44 00059CA4 7C 85 02 14 */ add r4, r5, r0 -/* 8005CD48 00059CA8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8005CD4C 00059CAC 34 84 00 04 */ addic. r4, r4, 4 -/* 8005CD50 00059CB0 EC 85 20 28 */ fsubs f4, f5, f4 -/* 8005CD54 00059CB4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8005CD58 00059CB8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8005CD5C 00059CBC 41 82 00 10 */ beq lbl_8005CD6C -/* 8005CD60 00059CC0 D0 84 00 00 */ stfs f4, 0(r4) -/* 8005CD64 00059CC4 D0 44 00 04 */ stfs f2, 4(r4) -/* 8005CD68 00059CC8 D0 04 00 08 */ stfs f0, 8(r4) -lbl_8005CD6C: -/* 8005CD6C 00059CCC 80 85 00 00 */ lwz r4, 0(r5) -/* 8005CD70 00059CD0 38 04 00 01 */ addi r0, r4, 1 -/* 8005CD74 00059CD4 90 05 00 00 */ stw r0, 0(r5) -/* 8005CD78 00059CD8 80 06 00 00 */ lwz r0, 0(r6) -/* 8005CD7C 00059CDC 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8005CD80 00059CE0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CD84 00059CE4 7C 83 4A 14 */ add r4, r3, r9 -/* 8005CD88 00059CE8 7C 66 02 14 */ add r3, r6, r0 -/* 8005CD8C 00059CEC 34 63 00 04 */ addic. r3, r3, 4 -/* 8005CD90 00059CF0 41 82 00 1C */ beq lbl_8005CDAC -/* 8005CD94 00059CF4 C0 04 00 00 */ lfs f0, 0(r4) -/* 8005CD98 00059CF8 D0 03 00 00 */ stfs f0, 0(r3) -/* 8005CD9C 00059CFC C0 04 00 04 */ lfs f0, 4(r4) -/* 8005CDA0 00059D00 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005CDA4 00059D04 C0 04 00 08 */ lfs f0, 8(r4) -/* 8005CDA8 00059D08 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8005CDAC: -/* 8005CDAC 00059D0C 80 66 00 00 */ lwz r3, 0(r6) -/* 8005CDB0 00059D10 38 03 00 01 */ addi r0, r3, 1 -/* 8005CDB4 00059D14 90 06 00 00 */ stw r0, 0(r6) -/* 8005CDB8 00059D18 48 00 00 88 */ b lbl_8005CE40 -lbl_8005CDBC: -/* 8005CDBC 00059D1C 80 05 00 00 */ lwz r0, 0(r5) -/* 8005CDC0 00059D20 1D 04 00 0C */ mulli r8, r4, 0xc -/* 8005CDC4 00059D24 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8005CDC8 00059D28 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CDCC 00059D2C 7C E4 42 14 */ add r7, r4, r8 -/* 8005CDD0 00059D30 7C 85 02 14 */ add r4, r5, r0 -/* 8005CDD4 00059D34 34 84 00 04 */ addic. r4, r4, 4 -/* 8005CDD8 00059D38 41 82 00 1C */ beq lbl_8005CDF4 -/* 8005CDDC 00059D3C C0 07 00 00 */ lfs f0, 0(r7) -/* 8005CDE0 00059D40 D0 04 00 00 */ stfs f0, 0(r4) -/* 8005CDE4 00059D44 C0 07 00 04 */ lfs f0, 4(r7) -/* 8005CDE8 00059D48 D0 04 00 04 */ stfs f0, 4(r4) -/* 8005CDEC 00059D4C C0 07 00 08 */ lfs f0, 8(r7) -/* 8005CDF0 00059D50 D0 04 00 08 */ stfs f0, 8(r4) -lbl_8005CDF4: -/* 8005CDF4 00059D54 80 85 00 00 */ lwz r4, 0(r5) -/* 8005CDF8 00059D58 38 04 00 01 */ addi r0, r4, 1 -/* 8005CDFC 00059D5C 90 05 00 00 */ stw r0, 0(r5) -/* 8005CE00 00059D60 80 06 00 00 */ lwz r0, 0(r6) -/* 8005CE04 00059D64 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8005CE08 00059D68 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CE0C 00059D6C 7C 83 42 14 */ add r4, r3, r8 -/* 8005CE10 00059D70 7C 66 02 14 */ add r3, r6, r0 -/* 8005CE14 00059D74 34 63 00 04 */ addic. r3, r3, 4 -/* 8005CE18 00059D78 41 82 00 1C */ beq lbl_8005CE34 -/* 8005CE1C 00059D7C C0 04 00 00 */ lfs f0, 0(r4) -/* 8005CE20 00059D80 D0 03 00 00 */ stfs f0, 0(r3) -/* 8005CE24 00059D84 C0 04 00 04 */ lfs f0, 4(r4) -/* 8005CE28 00059D88 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005CE2C 00059D8C C0 04 00 08 */ lfs f0, 8(r4) -/* 8005CE30 00059D90 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8005CE34: -/* 8005CE34 00059D94 80 66 00 00 */ lwz r3, 0(r6) -/* 8005CE38 00059D98 38 03 00 01 */ addi r0, r3, 1 -/* 8005CE3C 00059D9C 90 06 00 00 */ stw r0, 0(r6) -lbl_8005CE40: -/* 8005CE40 00059DA0 38 60 00 01 */ li r3, 1 -/* 8005CE44 00059DA4 4E 80 00 20 */ blr - -.global Reset__13CCameraSplineFi -Reset__13CCameraSplineFi: -/* 8005CE48 00059DA8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8005CE4C 00059DAC 7C 08 02 A6 */ mflr r0 -/* 8005CE50 00059DB0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8005CE54 00059DB4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8005CE58 00059DB8 7C 9F 23 78 */ mr r31, r4 -/* 8005CE5C 00059DBC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8005CE60 00059DC0 7C 7E 1B 78 */ mr r30, r3 -/* 8005CE64 00059DC4 80 03 00 08 */ lwz r0, 8(r3) -/* 8005CE68 00059DC8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8005CE6C 00059DCC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CE70 00059DD0 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8005CE74 00059DD4 7C 03 02 14 */ add r0, r3, r0 -/* 8005CE78 00059DD8 90 61 00 28 */ stw r3, 0x28(r1) -/* 8005CE7C 00059DDC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005CE80 00059DE0 90 01 00 30 */ stw r0, 0x30(r1) -/* 8005CE84 00059DE4 48 00 00 08 */ b lbl_8005CE8C -lbl_8005CE88: -/* 8005CE88 00059DE8 38 63 00 0C */ addi r3, r3, 0xc -lbl_8005CE8C: -/* 8005CE8C 00059DEC 7C 03 00 40 */ cmplw r3, r0 -/* 8005CE90 00059DF0 40 82 FF F8 */ bne lbl_8005CE88 -/* 8005CE94 00059DF4 38 00 00 00 */ li r0, 0 -/* 8005CE98 00059DF8 90 1E 00 08 */ stw r0, 8(r30) -/* 8005CE9C 00059DFC 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 8005CEA0 00059E00 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8005CEA4 00059E04 54 00 10 3A */ slwi r0, r0, 2 -/* 8005CEA8 00059E08 7C 03 02 14 */ add r0, r3, r0 -/* 8005CEAC 00059E0C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8005CEB0 00059E10 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005CEB4 00059E14 90 01 00 20 */ stw r0, 0x20(r1) -/* 8005CEB8 00059E18 90 61 00 18 */ stw r3, 0x18(r1) -/* 8005CEBC 00059E1C 48 00 00 08 */ b lbl_8005CEC4 -lbl_8005CEC0: -/* 8005CEC0 00059E20 38 63 00 04 */ addi r3, r3, 4 -lbl_8005CEC4: -/* 8005CEC4 00059E24 7C 03 00 40 */ cmplw r3, r0 -/* 8005CEC8 00059E28 40 82 FF F8 */ bne lbl_8005CEC0 -/* 8005CECC 00059E2C 38 00 00 00 */ li r0, 0 -/* 8005CED0 00059E30 90 1E 00 28 */ stw r0, 0x28(r30) -/* 8005CED4 00059E34 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 8005CED8 00059E38 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 8005CEDC 00059E3C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CEE0 00059E40 90 61 00 0C */ stw r3, 0xc(r1) -/* 8005CEE4 00059E44 7C 03 02 14 */ add r0, r3, r0 -/* 8005CEE8 00059E48 90 61 00 08 */ stw r3, 8(r1) -/* 8005CEEC 00059E4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005CEF0 00059E50 90 01 00 10 */ stw r0, 0x10(r1) -/* 8005CEF4 00059E54 48 00 00 08 */ b lbl_8005CEFC -lbl_8005CEF8: -/* 8005CEF8 00059E58 38 63 00 0C */ addi r3, r3, 0xc -lbl_8005CEFC: -/* 8005CEFC 00059E5C 7C 03 00 40 */ cmplw r3, r0 -/* 8005CF00 00059E60 40 82 FF F8 */ bne lbl_8005CEF8 -/* 8005CF04 00059E64 38 00 00 00 */ li r0, 0 -/* 8005CF08 00059E68 28 1F 00 00 */ cmplwi r31, 0 -/* 8005CF0C 00059E6C 90 1E 00 38 */ stw r0, 0x38(r30) -/* 8005CF10 00059E70 41 82 00 28 */ beq lbl_8005CF38 -/* 8005CF14 00059E74 7F E4 FB 78 */ mr r4, r31 -/* 8005CF18 00059E78 38 7E 00 04 */ addi r3, r30, 4 -/* 8005CF1C 00059E7C 48 00 0D DD */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 8005CF20 00059E80 7F E4 FB 78 */ mr r4, r31 -/* 8005CF24 00059E84 38 7E 00 24 */ addi r3, r30, 0x24 -/* 8005CF28 00059E88 48 00 0E D1 */ bl "reserve__Q24rstl36vectorFi" -/* 8005CF2C 00059E8C 7F E4 FB 78 */ mr r4, r31 -/* 8005CF30 00059E90 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8005CF34 00059E94 48 00 0D C5 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_8005CF38: -/* 8005CF38 00059E98 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8005CF3C 00059E9C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8005CF40 00059EA0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8005CF44 00059EA4 7C 08 03 A6 */ mtlr r0 -/* 8005CF48 00059EA8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8005CF4C 00059EAC 4E 80 00 20 */ blr - -.global AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f: -/* 8005CF50 00059EB0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005CF54 00059EB4 7C 08 02 A6 */ mflr r0 -/* 8005CF58 00059EB8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005CF5C 00059EBC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005CF60 00059EC0 7C 7F 1B 78 */ mr r31, r3 -/* 8005CF64 00059EC4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005CF68 00059EC8 7C BE 2B 78 */ mr r30, r5 -/* 8005CF6C 00059ECC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005CF70 00059ED0 7C 9D 23 78 */ mr r29, r4 -/* 8005CF74 00059ED4 80 03 00 08 */ lwz r0, 8(r3) -/* 8005CF78 00059ED8 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 8005CF7C 00059EDC 7C 00 28 00 */ cmpw r0, r5 -/* 8005CF80 00059EE0 41 80 00 1C */ blt lbl_8005CF9C -/* 8005CF84 00059EE4 2C 05 00 00 */ cmpwi r5, 0 -/* 8005CF88 00059EE8 38 7F 00 04 */ addi r3, r31, 4 -/* 8005CF8C 00059EEC 38 80 00 04 */ li r4, 4 -/* 8005CF90 00059EF0 41 82 00 08 */ beq lbl_8005CF98 -/* 8005CF94 00059EF4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005CF98: -/* 8005CF98 00059EF8 48 00 0D 61 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_8005CF9C: -/* 8005CF9C 00059EFC 80 1F 00 08 */ lwz r0, 8(r31) -/* 8005CFA0 00059F00 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8005CFA4 00059F04 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005CFA8 00059F08 7C 63 02 15 */ add. r3, r3, r0 -/* 8005CFAC 00059F0C 41 82 00 1C */ beq lbl_8005CFC8 -/* 8005CFB0 00059F10 C0 1D 00 00 */ lfs f0, 0(r29) -/* 8005CFB4 00059F14 D0 03 00 00 */ stfs f0, 0(r3) -/* 8005CFB8 00059F18 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8005CFBC 00059F1C D0 03 00 04 */ stfs f0, 4(r3) -/* 8005CFC0 00059F20 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8005CFC4 00059F24 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8005CFC8: -/* 8005CFC8 00059F28 80 7F 00 08 */ lwz r3, 8(r31) -/* 8005CFCC 00059F2C 38 03 00 01 */ addi r0, r3, 1 -/* 8005CFD0 00059F30 90 1F 00 08 */ stw r0, 8(r31) -/* 8005CFD4 00059F34 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8005CFD8 00059F38 80 BF 00 3C */ lwz r5, 0x3c(r31) -/* 8005CFDC 00059F3C 7C 00 28 00 */ cmpw r0, r5 -/* 8005CFE0 00059F40 41 80 00 1C */ blt lbl_8005CFFC -/* 8005CFE4 00059F44 2C 05 00 00 */ cmpwi r5, 0 -/* 8005CFE8 00059F48 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8005CFEC 00059F4C 38 80 00 04 */ li r4, 4 -/* 8005CFF0 00059F50 41 82 00 08 */ beq lbl_8005CFF8 -/* 8005CFF4 00059F54 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005CFF8: -/* 8005CFF8 00059F58 48 00 0D 01 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_8005CFFC: -/* 8005CFFC 00059F5C 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8005D000 00059F60 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 8005D004 00059F64 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005D008 00059F68 7C 63 02 15 */ add. r3, r3, r0 -/* 8005D00C 00059F6C 41 82 00 1C */ beq lbl_8005D028 -/* 8005D010 00059F70 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8005D014 00059F74 D0 03 00 00 */ stfs f0, 0(r3) -/* 8005D018 00059F78 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8005D01C 00059F7C D0 03 00 04 */ stfs f0, 4(r3) -/* 8005D020 00059F80 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8005D024 00059F84 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8005D028: -/* 8005D028 00059F88 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8005D02C 00059F8C 38 03 00 01 */ addi r0, r3, 1 -/* 8005D030 00059F90 90 1F 00 38 */ stw r0, 0x38(r31) -/* 8005D034 00059F94 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005D038 00059F98 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005D03C 00059F9C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8005D040 00059FA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005D044 00059FA4 7C 08 03 A6 */ mtlr r0 -/* 8005D048 00059FA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005D04C 00059FAC 4E 80 00 20 */ blr - -.global SetKnotPosition__13CCameraSplineFiRC9CVector3f -SetKnotPosition__13CCameraSplineFiRC9CVector3f: -/* 8005D050 00059FB0 80 03 00 08 */ lwz r0, 8(r3) -/* 8005D054 00059FB4 7C 04 00 00 */ cmpw r4, r0 -/* 8005D058 00059FB8 4C 80 00 20 */ bgelr -/* 8005D05C 00059FBC 1C 04 00 0C */ mulli r0, r4, 0xc -/* 8005D060 00059FC0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8005D064 00059FC4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8005D068 00059FC8 7C 63 02 14 */ add r3, r3, r0 -/* 8005D06C 00059FCC D0 03 00 00 */ stfs f0, 0(r3) -/* 8005D070 00059FD0 C0 05 00 04 */ lfs f0, 4(r5) -/* 8005D074 00059FD4 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005D078 00059FD8 C0 05 00 08 */ lfs f0, 8(r5) -/* 8005D07C 00059FDC D0 03 00 08 */ stfs f0, 8(r3) -/* 8005D080 00059FE0 4E 80 00 20 */ blr - -.global GetKnotPosition__11CBallCameraCFi -GetKnotPosition__11CBallCameraCFi: -/* 8005D084 00059FE4 80 04 00 08 */ lwz r0, 8(r4) -/* 8005D088 00059FE8 7C 05 00 00 */ cmpw r5, r0 -/* 8005D08C 00059FEC 40 80 00 2C */ bge lbl_8005D0B8 -/* 8005D090 00059FF0 1C 05 00 0C */ mulli r0, r5, 0xc -/* 8005D094 00059FF4 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8005D098 00059FF8 7C 84 02 14 */ add r4, r4, r0 -/* 8005D09C 00059FFC C0 04 00 00 */ lfs f0, 0(r4) -/* 8005D0A0 0005A000 D0 03 00 00 */ stfs f0, 0(r3) -/* 8005D0A4 0005A004 C0 04 00 04 */ lfs f0, 4(r4) -/* 8005D0A8 0005A008 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005D0AC 0005A00C C0 04 00 08 */ lfs f0, 8(r4) -/* 8005D0B0 0005A010 D0 03 00 08 */ stfs f0, 8(r3) -/* 8005D0B4 0005A014 4E 80 00 20 */ blr -lbl_8005D0B8: -/* 8005D0B8 0005A018 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8005D0BC 0005A01C C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) -/* 8005D0C0 0005A020 D0 03 00 00 */ stfs f0, 0(r3) -/* 8005D0C4 0005A024 C0 04 00 04 */ lfs f0, 4(r4) -/* 8005D0C8 0005A028 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005D0CC 0005A02C C0 04 00 08 */ lfs f0, 8(r4) -/* 8005D0D0 0005A030 D0 03 00 08 */ stfs f0, 8(r3) -/* 8005D0D4 0005A034 4E 80 00 20 */ blr - -.global GetKnotT__13CCameraSplineCFi -GetKnotT__13CCameraSplineCFi: -/* 8005D0D8 0005A038 80 03 00 08 */ lwz r0, 8(r3) -/* 8005D0DC 0005A03C 7C 04 00 00 */ cmpw r4, r0 -/* 8005D0E0 0005A040 40 80 00 14 */ bge lbl_8005D0F4 -/* 8005D0E4 0005A044 80 63 00 30 */ lwz r3, 0x30(r3) -/* 8005D0E8 0005A048 54 80 10 3A */ slwi r0, r4, 2 -/* 8005D0EC 0005A04C 7C 23 04 2E */ lfsx f1, r3, r0 -/* 8005D0F0 0005A050 4E 80 00 20 */ blr -lbl_8005D0F4: -/* 8005D0F4 0005A054 C0 22 86 B8 */ lfs f1, lbl_805AA3D8@sda21(r2) -/* 8005D0F8 0005A058 4E 80 00 20 */ blr - -.global "CalculateKnots__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager" -"CalculateKnots__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager": -/* 8005D0FC 0005A05C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8005D100 0005A060 7C 08 02 A6 */ mflr r0 -/* 8005D104 0005A064 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8005D108 0005A068 BF 41 00 D8 */ stmw r26, 0xd8(r1) -/* 8005D10C 0005A06C 7C 7B 1B 78 */ mr r27, r3 -/* 8005D110 0005A070 7C DC 33 78 */ mr r28, r6 -/* 8005D114 0005A074 3B E0 00 00 */ li r31, 0 -/* 8005D118 0005A078 80 05 00 04 */ lwz r0, 4(r5) -/* 8005D11C 0005A07C 80 85 00 0C */ lwz r4, 0xc(r5) -/* 8005D120 0005A080 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005D124 0005A084 7C 64 02 14 */ add r3, r4, r0 -/* 8005D128 0005A088 48 00 00 24 */ b lbl_8005D14C -lbl_8005D12C: -/* 8005D12C 0005A08C 80 04 00 00 */ lwz r0, 0(r4) -/* 8005D130 0005A090 2C 00 00 0F */ cmpwi r0, 0xf -/* 8005D134 0005A094 40 82 00 14 */ bne lbl_8005D148 -/* 8005D138 0005A098 80 04 00 04 */ lwz r0, 4(r4) -/* 8005D13C 0005A09C 2C 00 00 06 */ cmpwi r0, 6 -/* 8005D140 0005A0A0 40 82 00 08 */ bne lbl_8005D148 -/* 8005D144 0005A0A4 7C 9F 23 78 */ mr r31, r4 -lbl_8005D148: -/* 8005D148 0005A0A8 38 84 00 0C */ addi r4, r4, 0xc -lbl_8005D14C: -/* 8005D14C 0005A0AC 7C 04 18 40 */ cmplw r4, r3 -/* 8005D150 0005A0B0 40 82 FF DC */ bne lbl_8005D12C -/* 8005D154 0005A0B4 28 1F 00 00 */ cmplwi r31, 0 -/* 8005D158 0005A0B8 41 82 03 44 */ beq lbl_8005D49C -/* 8005D15C 0005A0BC 80 1F 00 08 */ lwz r0, 8(r31) -/* 8005D160 0005A0C0 7F 84 E3 78 */ mr r4, r28 -/* 8005D164 0005A0C4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005D168 0005A0C8 38 A1 00 74 */ addi r5, r1, 0x74 -/* 8005D16C 0005A0CC 90 01 00 74 */ stw r0, 0x74(r1) -/* 8005D170 0005A0D0 4B FE AD AD */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8005D174 0005A0D4 A0 01 00 20 */ lhz r0, 0x20(r1) -/* 8005D178 0005A0D8 7F 83 E3 78 */ mr r3, r28 -/* 8005D17C 0005A0DC 38 81 00 24 */ addi r4, r1, 0x24 -/* 8005D180 0005A0E0 B0 01 00 24 */ sth r0, 0x24(r1) -/* 8005D184 0005A0E4 4B FE F3 F1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8005D188 0005A0E8 7C 64 1B 78 */ mr r4, r3 -/* 8005D18C 0005A0EC 38 61 00 90 */ addi r3, r1, 0x90 -/* 8005D190 0005A0F0 48 04 DC 15 */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" -/* 8005D194 0005A0F4 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8005D198 0005A0F8 3B A0 00 00 */ li r29, 0 -/* 8005D19C 0005A0FC 80 9B 00 20 */ lwz r4, 0x20(r27) -/* 8005D1A0 0005A100 54 00 08 3C */ slwi r0, r0, 1 -/* 8005D1A4 0005A104 83 C3 00 04 */ lwz r30, 4(r3) -/* 8005D1A8 0005A108 7C 04 02 14 */ add r0, r4, r0 -/* 8005D1AC 0005A10C 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8005D1B0 0005A110 90 01 00 44 */ stw r0, 0x44(r1) -/* 8005D1B4 0005A114 90 01 00 40 */ stw r0, 0x40(r1) -/* 8005D1B8 0005A118 90 81 00 38 */ stw r4, 0x38(r1) -/* 8005D1BC 0005A11C 48 00 00 08 */ b lbl_8005D1C4 -lbl_8005D1C0: -/* 8005D1C0 0005A120 38 84 00 02 */ addi r4, r4, 2 -lbl_8005D1C4: -/* 8005D1C4 0005A124 7C 04 00 40 */ cmplw r4, r0 -/* 8005D1C8 0005A128 40 82 FF F8 */ bne lbl_8005D1C0 -/* 8005D1CC 0005A12C 38 00 00 00 */ li r0, 0 -/* 8005D1D0 0005A130 38 7B 00 14 */ addi r3, r27, 0x14 -/* 8005D1D4 0005A134 90 1B 00 18 */ stw r0, 0x18(r27) -/* 8005D1D8 0005A138 38 80 00 04 */ li r4, 4 -/* 8005D1DC 0005A13C 4B FA F2 2D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 8005D1E0 0005A140 48 00 01 00 */ b lbl_8005D2E0 -lbl_8005D1E4: -/* 8005D1E4 0005A144 80 DB 00 18 */ lwz r6, 0x18(r27) -/* 8005D1E8 0005A148 80 1B 00 20 */ lwz r0, 0x20(r27) -/* 8005D1EC 0005A14C 54 C4 08 3C */ slwi r4, r6, 1 -/* 8005D1F0 0005A150 A0 FE 00 08 */ lhz r7, 8(r30) -/* 8005D1F4 0005A154 7C A0 22 14 */ add r5, r0, r4 -/* 8005D1F8 0005A158 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8005D1FC 0005A15C 90 A1 00 60 */ stw r5, 0x60(r1) -/* 8005D200 0005A160 90 01 00 70 */ stw r0, 0x70(r1) -/* 8005D204 0005A164 90 A1 00 64 */ stw r5, 0x64(r1) -/* 8005D208 0005A168 90 A1 00 68 */ stw r5, 0x68(r1) -/* 8005D20C 0005A16C 48 00 00 10 */ b lbl_8005D21C -lbl_8005D210: -/* 8005D210 0005A170 80 61 00 70 */ lwz r3, 0x70(r1) -/* 8005D214 0005A174 38 03 00 02 */ addi r0, r3, 2 -/* 8005D218 0005A178 90 01 00 70 */ stw r0, 0x70(r1) -lbl_8005D21C: -/* 8005D21C 0005A17C 80 61 00 70 */ lwz r3, 0x70(r1) -/* 8005D220 0005A180 7C 03 28 40 */ cmplw r3, r5 -/* 8005D224 0005A184 41 82 00 10 */ beq lbl_8005D234 -/* 8005D228 0005A188 A0 03 00 00 */ lhz r0, 0(r3) -/* 8005D22C 0005A18C 7C 00 38 40 */ cmplw r0, r7 -/* 8005D230 0005A190 40 82 FF E0 */ bne lbl_8005D210 -lbl_8005D234: -/* 8005D234 0005A194 80 61 00 70 */ lwz r3, 0x70(r1) -/* 8005D238 0005A198 80 01 00 60 */ lwz r0, 0x60(r1) -/* 8005D23C 0005A19C 7C 03 00 40 */ cmplw r3, r0 -/* 8005D240 0005A1A0 40 82 00 A8 */ bne lbl_8005D2E8 -/* 8005D244 0005A1A4 80 1B 00 1C */ lwz r0, 0x1c(r27) -/* 8005D248 0005A1A8 7C 06 00 00 */ cmpw r6, r0 -/* 8005D24C 0005A1AC 40 82 00 0C */ bne lbl_8005D258 -/* 8005D250 0005A1B0 38 7B 00 14 */ addi r3, r27, 0x14 -/* 8005D254 0005A1B4 4B FA F1 B5 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_8005D258: -/* 8005D258 0005A1B8 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8005D25C 0005A1BC 80 BB 00 1C */ lwz r5, 0x1c(r27) -/* 8005D260 0005A1C0 A3 5E 00 08 */ lhz r26, 8(r30) -/* 8005D264 0005A1C4 7C 00 28 00 */ cmpw r0, r5 -/* 8005D268 0005A1C8 41 80 00 1C */ blt lbl_8005D284 -/* 8005D26C 0005A1CC 2C 05 00 00 */ cmpwi r5, 0 -/* 8005D270 0005A1D0 38 7B 00 14 */ addi r3, r27, 0x14 -/* 8005D274 0005A1D4 38 80 00 04 */ li r4, 4 -/* 8005D278 0005A1D8 41 82 00 08 */ beq lbl_8005D280 -/* 8005D27C 0005A1DC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005D280: -/* 8005D280 0005A1E0 4B FA F1 89 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_8005D284: -/* 8005D284 0005A1E4 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8005D288 0005A1E8 80 7B 00 20 */ lwz r3, 0x20(r27) -/* 8005D28C 0005A1EC 54 00 08 3C */ slwi r0, r0, 1 -/* 8005D290 0005A1F0 7C 63 02 15 */ add. r3, r3, r0 -/* 8005D294 0005A1F4 41 82 00 08 */ beq lbl_8005D29C -/* 8005D298 0005A1F8 B3 43 00 00 */ sth r26, 0(r3) -lbl_8005D29C: -/* 8005D29C 0005A1FC 80 DB 00 18 */ lwz r6, 0x18(r27) -/* 8005D2A0 0005A200 7F C4 F3 78 */ mr r4, r30 -/* 8005D2A4 0005A204 7F 85 E3 78 */ mr r5, r28 -/* 8005D2A8 0005A208 38 61 00 18 */ addi r3, r1, 0x18 -/* 8005D2AC 0005A20C 38 06 00 01 */ addi r0, r6, 1 -/* 8005D2B0 0005A210 3B BD 00 01 */ addi r29, r29, 1 -/* 8005D2B4 0005A214 90 1B 00 18 */ stw r0, 0x18(r27) -/* 8005D2B8 0005A218 48 05 7F 51 */ bl GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager -/* 8005D2BC 0005A21C A0 01 00 18 */ lhz r0, 0x18(r1) -/* 8005D2C0 0005A220 7F 83 E3 78 */ mr r3, r28 -/* 8005D2C4 0005A224 38 81 00 1C */ addi r4, r1, 0x1c -/* 8005D2C8 0005A228 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8005D2CC 0005A22C 4B FE F2 A9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8005D2D0 0005A230 7C 64 1B 78 */ mr r4, r3 -/* 8005D2D4 0005A234 38 61 00 88 */ addi r3, r1, 0x88 -/* 8005D2D8 0005A238 48 04 DA CD */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" -/* 8005D2DC 0005A23C 83 C3 00 04 */ lwz r30, 4(r3) -lbl_8005D2E0: -/* 8005D2E0 0005A240 28 1E 00 00 */ cmplwi r30, 0 -/* 8005D2E4 0005A244 40 82 FF 00 */ bne lbl_8005D1E4 -lbl_8005D2E8: -/* 8005D2E8 0005A248 7F 63 DB 78 */ mr r3, r27 -/* 8005D2EC 0005A24C 7F A4 EB 78 */ mr r4, r29 -/* 8005D2F0 0005A250 4B FF FB 59 */ bl Reset__13CCameraSplineFi -/* 8005D2F4 0005A254 38 00 00 00 */ li r0, 0 -/* 8005D2F8 0005A258 38 7B 00 14 */ addi r3, r27, 0x14 -/* 8005D2FC 0005A25C 90 01 00 CC */ stw r0, 0xcc(r1) -/* 8005D300 0005A260 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8005D304 0005A264 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 8005D308 0005A268 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8005D30C 0005A26C 48 00 01 A5 */ bl sub_8005d4b0 -/* 8005D310 0005A270 80 01 00 CC */ lwz r0, 0xcc(r1) -/* 8005D314 0005A274 80 61 00 D4 */ lwz r3, 0xd4(r1) -/* 8005D318 0005A278 54 00 08 3C */ slwi r0, r0, 1 -/* 8005D31C 0005A27C 7C 03 02 14 */ add r0, r3, r0 -/* 8005D320 0005A280 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8005D324 0005A284 7C 64 1B 78 */ mr r4, r3 -/* 8005D328 0005A288 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005D32C 0005A28C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8005D330 0005A290 90 61 00 28 */ stw r3, 0x28(r1) -/* 8005D334 0005A294 48 00 00 08 */ b lbl_8005D33C -lbl_8005D338: -/* 8005D338 0005A298 38 84 00 02 */ addi r4, r4, 2 -lbl_8005D33C: -/* 8005D33C 0005A29C 7C 04 00 40 */ cmplw r4, r0 -/* 8005D340 0005A2A0 40 82 FF F8 */ bne lbl_8005D338 -/* 8005D344 0005A2A4 28 03 00 00 */ cmplwi r3, 0 -/* 8005D348 0005A2A8 41 82 00 08 */ beq lbl_8005D350 -/* 8005D34C 0005A2AC 48 2B 85 E5 */ bl Free__7CMemoryFPCv -lbl_8005D350: -/* 8005D350 0005A2B0 80 1F 00 08 */ lwz r0, 8(r31) -/* 8005D354 0005A2B4 7F 84 E3 78 */ mr r4, r28 -/* 8005D358 0005A2B8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8005D35C 0005A2BC 38 A1 00 5C */ addi r5, r1, 0x5c -/* 8005D360 0005A2C0 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8005D364 0005A2C4 4B FE AB B9 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8005D368 0005A2C8 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8005D36C 0005A2CC 7F 83 E3 78 */ mr r3, r28 -/* 8005D370 0005A2D0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8005D374 0005A2D4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8005D378 0005A2D8 4B FE F1 FD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8005D37C 0005A2DC 7C 64 1B 78 */ mr r4, r3 -/* 8005D380 0005A2E0 38 61 00 80 */ addi r3, r1, 0x80 -/* 8005D384 0005A2E4 48 04 DA 21 */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" -/* 8005D388 0005A2E8 83 E3 00 04 */ lwz r31, 4(r3) -/* 8005D38C 0005A2EC 48 00 01 08 */ b lbl_8005D494 -lbl_8005D390: -/* 8005D390 0005A2F0 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8005D394 0005A2F4 80 7B 00 20 */ lwz r3, 0x20(r27) -/* 8005D398 0005A2F8 54 00 08 3C */ slwi r0, r0, 1 -/* 8005D39C 0005A2FC A0 BF 00 08 */ lhz r5, 8(r31) -/* 8005D3A0 0005A300 7C 83 02 14 */ add r4, r3, r0 -/* 8005D3A4 0005A304 90 61 00 54 */ stw r3, 0x54(r1) -/* 8005D3A8 0005A308 90 81 00 48 */ stw r4, 0x48(r1) -/* 8005D3AC 0005A30C 90 61 00 58 */ stw r3, 0x58(r1) -/* 8005D3B0 0005A310 90 81 00 4C */ stw r4, 0x4c(r1) -/* 8005D3B4 0005A314 90 81 00 50 */ stw r4, 0x50(r1) -/* 8005D3B8 0005A318 48 00 00 10 */ b lbl_8005D3C8 -lbl_8005D3BC: -/* 8005D3BC 0005A31C 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8005D3C0 0005A320 38 03 00 02 */ addi r0, r3, 2 -/* 8005D3C4 0005A324 90 01 00 58 */ stw r0, 0x58(r1) -lbl_8005D3C8: -/* 8005D3C8 0005A328 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8005D3CC 0005A32C 7C 03 20 40 */ cmplw r3, r4 -/* 8005D3D0 0005A330 41 82 00 10 */ beq lbl_8005D3E0 -/* 8005D3D4 0005A334 A0 03 00 00 */ lhz r0, 0(r3) -/* 8005D3D8 0005A338 7C 00 28 40 */ cmplw r0, r5 -/* 8005D3DC 0005A33C 40 82 FF E0 */ bne lbl_8005D3BC -lbl_8005D3E0: -/* 8005D3E0 0005A340 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8005D3E4 0005A344 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8005D3E8 0005A348 7C 03 00 40 */ cmplw r3, r0 -/* 8005D3EC 0005A34C 40 82 00 B0 */ bne lbl_8005D49C -/* 8005D3F0 0005A350 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 8005D3F4 0005A354 7F 63 DB 78 */ mr r3, r27 -/* 8005D3F8 0005A358 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 8005D3FC 0005A35C 38 81 00 BC */ addi r4, r1, 0xbc -/* 8005D400 0005A360 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8005D404 0005A364 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 8005D408 0005A368 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8005D40C 0005A36C D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8005D410 0005A370 80 C1 00 9C */ lwz r6, 0x9c(r1) -/* 8005D414 0005A374 D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 8005D418 0005A378 80 E1 00 98 */ lwz r7, 0x98(r1) -/* 8005D41C 0005A37C 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 8005D420 0005A380 90 E1 00 A4 */ stw r7, 0xa4(r1) -/* 8005D424 0005A384 90 C1 00 A8 */ stw r6, 0xa8(r1) -/* 8005D428 0005A388 90 01 00 AC */ stw r0, 0xac(r1) -/* 8005D42C 0005A38C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8005D430 0005A390 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8005D434 0005A394 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8005D438 0005A398 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 8005D43C 0005A39C D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8005D440 0005A3A0 80 C1 00 B4 */ lwz r6, 0xb4(r1) -/* 8005D444 0005A3A4 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 8005D448 0005A3A8 80 E1 00 B0 */ lwz r7, 0xb0(r1) -/* 8005D44C 0005A3AC 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8005D450 0005A3B0 90 E1 00 BC */ stw r7, 0xbc(r1) -/* 8005D454 0005A3B4 90 C1 00 C0 */ stw r6, 0xc0(r1) -/* 8005D458 0005A3B8 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8005D45C 0005A3BC 4B FF FA F5 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -/* 8005D460 0005A3C0 7F E4 FB 78 */ mr r4, r31 -/* 8005D464 0005A3C4 7F 85 E3 78 */ mr r5, r28 -/* 8005D468 0005A3C8 38 61 00 08 */ addi r3, r1, 8 -/* 8005D46C 0005A3CC 48 05 7D 9D */ bl GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager -/* 8005D470 0005A3D0 A0 01 00 08 */ lhz r0, 8(r1) -/* 8005D474 0005A3D4 7F 83 E3 78 */ mr r3, r28 -/* 8005D478 0005A3D8 38 81 00 0C */ addi r4, r1, 0xc -/* 8005D47C 0005A3DC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8005D480 0005A3E0 4B FE F0 F5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8005D484 0005A3E4 7C 64 1B 78 */ mr r4, r3 -/* 8005D488 0005A3E8 38 61 00 78 */ addi r3, r1, 0x78 -/* 8005D48C 0005A3EC 48 04 D9 19 */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" -/* 8005D490 0005A3F0 83 E3 00 04 */ lwz r31, 4(r3) -lbl_8005D494: -/* 8005D494 0005A3F4 28 1F 00 00 */ cmplwi r31, 0 -/* 8005D498 0005A3F8 40 82 FE F8 */ bne lbl_8005D390 -lbl_8005D49C: -/* 8005D49C 0005A3FC BB 41 00 D8 */ lmw r26, 0xd8(r1) -/* 8005D4A0 0005A400 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8005D4A4 0005A404 7C 08 03 A6 */ mtlr r0 -/* 8005D4A8 0005A408 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8005D4AC 0005A40C 4E 80 00 20 */ blr - -.global sub_8005d4b0 -sub_8005d4b0: -/* 8005D4B0 0005A410 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005D4B4 0005A414 7C 08 02 A6 */ mflr r0 -/* 8005D4B8 0005A418 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005D4BC 0005A41C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005D4C0 0005A420 7C 7F 1B 78 */ mr r31, r3 -/* 8005D4C4 0005A424 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005D4C8 0005A428 7C 9E 23 78 */ mr r30, r4 -/* 8005D4CC 0005A42C 7C 1F F0 40 */ cmplw r31, r30 -/* 8005D4D0 0005A430 40 82 00 08 */ bne lbl_8005D4D8 -/* 8005D4D4 0005A434 48 00 00 B8 */ b lbl_8005D58C -lbl_8005D4D8: -/* 8005D4D8 0005A438 80 1F 00 04 */ lwz r0, 4(r31) -/* 8005D4DC 0005A43C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8005D4E0 0005A440 54 00 08 3C */ slwi r0, r0, 1 -/* 8005D4E4 0005A444 7C 03 02 14 */ add r0, r3, r0 -/* 8005D4E8 0005A448 90 61 00 0C */ stw r3, 0xc(r1) -/* 8005D4EC 0005A44C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005D4F0 0005A450 90 01 00 10 */ stw r0, 0x10(r1) -/* 8005D4F4 0005A454 90 61 00 08 */ stw r3, 8(r1) -/* 8005D4F8 0005A458 48 00 00 08 */ b lbl_8005D500 -lbl_8005D4FC: -/* 8005D4FC 0005A45C 38 63 00 02 */ addi r3, r3, 2 -lbl_8005D500: -/* 8005D500 0005A460 7C 03 00 40 */ cmplw r3, r0 -/* 8005D504 0005A464 40 82 FF F8 */ bne lbl_8005D4FC -/* 8005D508 0005A468 38 00 00 00 */ li r0, 0 -/* 8005D50C 0005A46C 90 1F 00 04 */ stw r0, 4(r31) -/* 8005D510 0005A470 80 9E 00 04 */ lwz r4, 4(r30) -/* 8005D514 0005A474 2C 04 00 00 */ cmpwi r4, 0 -/* 8005D518 0005A478 40 82 00 28 */ bne lbl_8005D540 -/* 8005D51C 0005A47C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8005D520 0005A480 28 03 00 00 */ cmplwi r3, 0 -/* 8005D524 0005A484 41 82 00 08 */ beq lbl_8005D52C -/* 8005D528 0005A488 48 2B 84 09 */ bl Free__7CMemoryFPCv -lbl_8005D52C: -/* 8005D52C 0005A48C 38 00 00 00 */ li r0, 0 -/* 8005D530 0005A490 90 1F 00 04 */ stw r0, 4(r31) -/* 8005D534 0005A494 90 1F 00 08 */ stw r0, 8(r31) -/* 8005D538 0005A498 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8005D53C 0005A49C 48 00 00 4C */ b lbl_8005D588 -lbl_8005D540: -/* 8005D540 0005A4A0 7F E3 FB 78 */ mr r3, r31 -/* 8005D544 0005A4A4 4B FA EE C5 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 8005D548 0005A4A8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005D54C 0005A4AC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8005D550 0005A4B0 54 00 08 3C */ slwi r0, r0, 1 -/* 8005D554 0005A4B4 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8005D558 0005A4B8 7C 85 02 14 */ add r4, r5, r0 -/* 8005D55C 0005A4BC 48 00 00 1C */ b lbl_8005D578 -lbl_8005D560: -/* 8005D560 0005A4C0 28 03 00 00 */ cmplwi r3, 0 -/* 8005D564 0005A4C4 41 82 00 0C */ beq lbl_8005D570 -/* 8005D568 0005A4C8 A0 05 00 00 */ lhz r0, 0(r5) -/* 8005D56C 0005A4CC B0 03 00 00 */ sth r0, 0(r3) -lbl_8005D570: -/* 8005D570 0005A4D0 38 63 00 02 */ addi r3, r3, 2 -/* 8005D574 0005A4D4 38 A5 00 02 */ addi r5, r5, 2 -lbl_8005D578: -/* 8005D578 0005A4D8 7C 05 20 40 */ cmplw r5, r4 -/* 8005D57C 0005A4DC 40 82 FF E4 */ bne lbl_8005D560 -/* 8005D580 0005A4E0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005D584 0005A4E4 90 1F 00 04 */ stw r0, 4(r31) -lbl_8005D588: -/* 8005D588 0005A4E8 7F E3 FB 78 */ mr r3, r31 -lbl_8005D58C: -/* 8005D58C 0005A4EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005D590 0005A4F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005D594 0005A4F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005D598 0005A4F8 7C 08 03 A6 */ mtlr r0 -/* 8005D59C 0005A4FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005D5A0 0005A500 4E 80 00 20 */ blr - -.global "Initialise__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager" -"Initialise__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager": -/* 8005D5A4 0005A504 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005D5A8 0005A508 7C 08 02 A6 */ mflr r0 -/* 8005D5AC 0005A50C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005D5B0 0005A510 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005D5B4 0005A514 7C 7F 1B 78 */ mr r31, r3 -/* 8005D5B8 0005A518 A0 04 00 00 */ lhz r0, 0(r4) -/* 8005D5BC 0005A51C 38 81 00 08 */ addi r4, r1, 8 -/* 8005D5C0 0005A520 B0 01 00 08 */ sth r0, 8(r1) -/* 8005D5C4 0005A524 4B FF FB 39 */ bl "CalculateKnots__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager" -/* 8005D5C8 0005A528 7F E3 FB 78 */ mr r3, r31 -/* 8005D5CC 0005A52C 4B FF EC F1 */ bl CalculateSplineLength__13CCameraSplineFv -/* 8005D5D0 0005A530 D0 3F 00 44 */ stfs f1, 0x44(r31) -/* 8005D5D4 0005A534 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005D5D8 0005A538 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005D5DC 0005A53C 7C 08 03 A6 */ mtlr r0 -/* 8005D5E0 0005A540 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005D5E4 0005A544 4E 80 00 20 */ blr - -.global __dt__13CCameraSplineFv -__dt__13CCameraSplineFv: -/* 8005D5E8 0005A548 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8005D5EC 0005A54C 7C 08 02 A6 */ mflr r0 -/* 8005D5F0 0005A550 90 01 00 54 */ stw r0, 0x54(r1) -/* 8005D5F4 0005A554 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8005D5F8 0005A558 7C 9F 23 78 */ mr r31, r4 -/* 8005D5FC 0005A55C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8005D600 0005A560 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8005D604 0005A564 41 82 01 40 */ beq lbl_8005D744 -/* 8005D608 0005A568 3C 60 80 3E */ lis r3, lbl_803DA188@ha -/* 8005D60C 0005A56C 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 8005D610 0005A570 38 03 A1 88 */ addi r0, r3, lbl_803DA188@l -/* 8005D614 0005A574 90 1E 00 00 */ stw r0, 0(r30) -/* 8005D618 0005A578 41 82 00 44 */ beq lbl_8005D65C -/* 8005D61C 0005A57C 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 8005D620 0005A580 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 8005D624 0005A584 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005D628 0005A588 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8005D62C 0005A58C 7C 64 1B 78 */ mr r4, r3 -/* 8005D630 0005A590 7C 03 02 14 */ add r0, r3, r0 -/* 8005D634 0005A594 90 61 00 38 */ stw r3, 0x38(r1) -/* 8005D638 0005A598 90 01 00 44 */ stw r0, 0x44(r1) -/* 8005D63C 0005A59C 90 01 00 40 */ stw r0, 0x40(r1) -/* 8005D640 0005A5A0 48 00 00 08 */ b lbl_8005D648 -lbl_8005D644: -/* 8005D644 0005A5A4 38 84 00 0C */ addi r4, r4, 0xc -lbl_8005D648: -/* 8005D648 0005A5A8 7C 04 00 40 */ cmplw r4, r0 -/* 8005D64C 0005A5AC 40 82 FF F8 */ bne lbl_8005D644 -/* 8005D650 0005A5B0 28 03 00 00 */ cmplwi r3, 0 -/* 8005D654 0005A5B4 41 82 00 08 */ beq lbl_8005D65C -/* 8005D658 0005A5B8 48 2B 82 D9 */ bl Free__7CMemoryFPCv -lbl_8005D65C: -/* 8005D65C 0005A5BC 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 8005D660 0005A5C0 41 82 00 44 */ beq lbl_8005D6A4 -/* 8005D664 0005A5C4 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 8005D668 0005A5C8 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8005D66C 0005A5CC 54 00 10 3A */ slwi r0, r0, 2 -/* 8005D670 0005A5D0 7C 03 02 14 */ add r0, r3, r0 -/* 8005D674 0005A5D4 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8005D678 0005A5D8 7C 64 1B 78 */ mr r4, r3 -/* 8005D67C 0005A5DC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005D680 0005A5E0 90 01 00 30 */ stw r0, 0x30(r1) -/* 8005D684 0005A5E4 90 61 00 28 */ stw r3, 0x28(r1) -/* 8005D688 0005A5E8 48 00 00 08 */ b lbl_8005D690 -lbl_8005D68C: -/* 8005D68C 0005A5EC 38 84 00 04 */ addi r4, r4, 4 -lbl_8005D690: -/* 8005D690 0005A5F0 7C 04 00 40 */ cmplw r4, r0 -/* 8005D694 0005A5F4 40 82 FF F8 */ bne lbl_8005D68C -/* 8005D698 0005A5F8 28 03 00 00 */ cmplwi r3, 0 -/* 8005D69C 0005A5FC 41 82 00 08 */ beq lbl_8005D6A4 -/* 8005D6A0 0005A600 48 2B 82 91 */ bl Free__7CMemoryFPCv -lbl_8005D6A4: -/* 8005D6A4 0005A604 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8005D6A8 0005A608 41 82 00 44 */ beq lbl_8005D6EC -/* 8005D6AC 0005A60C 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 8005D6B0 0005A610 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 8005D6B4 0005A614 54 00 08 3C */ slwi r0, r0, 1 -/* 8005D6B8 0005A618 7C 03 02 14 */ add r0, r3, r0 -/* 8005D6BC 0005A61C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8005D6C0 0005A620 7C 64 1B 78 */ mr r4, r3 -/* 8005D6C4 0005A624 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005D6C8 0005A628 90 01 00 20 */ stw r0, 0x20(r1) -/* 8005D6CC 0005A62C 90 61 00 18 */ stw r3, 0x18(r1) -/* 8005D6D0 0005A630 48 00 00 08 */ b lbl_8005D6D8 -lbl_8005D6D4: -/* 8005D6D4 0005A634 38 84 00 02 */ addi r4, r4, 2 -lbl_8005D6D8: -/* 8005D6D8 0005A638 7C 04 00 40 */ cmplw r4, r0 -/* 8005D6DC 0005A63C 40 82 FF F8 */ bne lbl_8005D6D4 -/* 8005D6E0 0005A640 28 03 00 00 */ cmplwi r3, 0 -/* 8005D6E4 0005A644 41 82 00 08 */ beq lbl_8005D6EC -/* 8005D6E8 0005A648 48 2B 82 49 */ bl Free__7CMemoryFPCv -lbl_8005D6EC: -/* 8005D6EC 0005A64C 34 1E 00 04 */ addic. r0, r30, 4 -/* 8005D6F0 0005A650 41 82 00 44 */ beq lbl_8005D734 -/* 8005D6F4 0005A654 80 1E 00 08 */ lwz r0, 8(r30) -/* 8005D6F8 0005A658 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8005D6FC 0005A65C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005D700 0005A660 90 61 00 0C */ stw r3, 0xc(r1) -/* 8005D704 0005A664 7C 64 1B 78 */ mr r4, r3 -/* 8005D708 0005A668 7C 03 02 14 */ add r0, r3, r0 -/* 8005D70C 0005A66C 90 61 00 08 */ stw r3, 8(r1) -/* 8005D710 0005A670 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005D714 0005A674 90 01 00 10 */ stw r0, 0x10(r1) -/* 8005D718 0005A678 48 00 00 08 */ b lbl_8005D720 -lbl_8005D71C: -/* 8005D71C 0005A67C 38 84 00 0C */ addi r4, r4, 0xc -lbl_8005D720: -/* 8005D720 0005A680 7C 04 00 40 */ cmplw r4, r0 -/* 8005D724 0005A684 40 82 FF F8 */ bne lbl_8005D71C -/* 8005D728 0005A688 28 03 00 00 */ cmplwi r3, 0 -/* 8005D72C 0005A68C 41 82 00 08 */ beq lbl_8005D734 -/* 8005D730 0005A690 48 2B 82 01 */ bl Free__7CMemoryFPCv -lbl_8005D734: -/* 8005D734 0005A694 7F E0 07 35 */ extsh. r0, r31 -/* 8005D738 0005A698 40 81 00 0C */ ble lbl_8005D744 -/* 8005D73C 0005A69C 7F C3 F3 78 */ mr r3, r30 -/* 8005D740 0005A6A0 48 2B 81 F1 */ bl Free__7CMemoryFPCv -lbl_8005D744: -/* 8005D744 0005A6A4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8005D748 0005A6A8 7F C3 F3 78 */ mr r3, r30 -/* 8005D74C 0005A6AC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8005D750 0005A6B0 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8005D754 0005A6B4 7C 08 03 A6 */ mtlr r0 -/* 8005D758 0005A6B8 38 21 00 50 */ addi r1, r1, 0x50 -/* 8005D75C 0005A6BC 4E 80 00 20 */ blr - -.global __ct__13CCameraSplineFb -__ct__13CCameraSplineFb: -/* 8005D760 0005A6C0 3C A0 80 3E */ lis r5, lbl_803DA188@ha -/* 8005D764 0005A6C4 38 00 00 00 */ li r0, 0 -/* 8005D768 0005A6C8 38 A5 A1 88 */ addi r5, r5, lbl_803DA188@l -/* 8005D76C 0005A6CC C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005D770 0005A6D0 90 A3 00 00 */ stw r5, 0(r3) -/* 8005D774 0005A6D4 90 03 00 08 */ stw r0, 8(r3) -/* 8005D778 0005A6D8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8005D77C 0005A6DC 90 03 00 10 */ stw r0, 0x10(r3) -/* 8005D780 0005A6E0 90 03 00 18 */ stw r0, 0x18(r3) -/* 8005D784 0005A6E4 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8005D788 0005A6E8 90 03 00 20 */ stw r0, 0x20(r3) -/* 8005D78C 0005A6EC 90 03 00 28 */ stw r0, 0x28(r3) -/* 8005D790 0005A6F0 90 03 00 2C */ stw r0, 0x2c(r3) -/* 8005D794 0005A6F4 90 03 00 30 */ stw r0, 0x30(r3) -/* 8005D798 0005A6F8 90 03 00 38 */ stw r0, 0x38(r3) -/* 8005D79C 0005A6FC 90 03 00 3C */ stw r0, 0x3c(r3) -/* 8005D7A0 0005A700 90 03 00 40 */ stw r0, 0x40(r3) -/* 8005D7A4 0005A704 D0 03 00 44 */ stfs f0, 0x44(r3) -/* 8005D7A8 0005A708 98 83 00 48 */ stb r4, 0x48(r3) -/* 8005D7AC 0005A70C 4E 80 00 20 */ blr - -.global Reset__13CCameraSpringFv -Reset__13CCameraSpringFv: -/* 8005D7B0 0005A710 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005D7B4 0005A714 7C 08 02 A6 */ mflr r0 -/* 8005D7B8 0005A718 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005D7BC 0005A71C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005D7C0 0005A720 7C 7F 1B 78 */ mr r31, r3 -/* 8005D7C4 0005A724 C0 23 00 00 */ lfs f1, 0(r3) -/* 8005D7C8 0005A728 48 2B 7D 39 */ bl SqrtF__5CMathFf -/* 8005D7CC 0005A72C C0 42 86 FC */ lfs f2, lbl_805AA41C@sda21(r2) -/* 8005D7D0 0005A730 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005D7D4 0005A734 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8005D7D8 0005A738 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8005D7DC 0005A73C D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8005D7E0 0005A740 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005D7E4 0005A744 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005D7E8 0005A748 7C 08 03 A6 */ mtlr r0 -/* 8005D7EC 0005A74C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005D7F0 0005A750 4E 80 00 20 */ blr - -.global ApplyDistanceSpringNoMax__13CCameraSpringFfff -ApplyDistanceSpringNoMax__13CCameraSpringFfff: -/* 8005D7F4 0005A754 C0 E3 00 10 */ lfs f7, 0x10(r3) -/* 8005D7F8 0005A758 EC 81 10 28 */ fsubs f4, f1, f2 -/* 8005D7FC 0005A75C C0 03 00 04 */ lfs f0, 4(r3) -/* 8005D800 0005A760 C0 A3 00 00 */ lfs f5, 0(r3) -/* 8005D804 0005A764 EC C7 00 F2 */ fmuls f6, f7, f3 -/* 8005D808 0005A768 EC 00 01 F2 */ fmuls f0, f0, f7 -/* 8005D80C 0005A76C C1 03 00 0C */ lfs f8, 0xc(r3) -/* 8005D810 0005A770 EC 48 11 BA */ fmadds f2, f8, f6, f2 -/* 8005D814 0005A774 EC 05 01 38 */ fmsubs f0, f5, f4, f0 -/* 8005D818 0005A778 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8005D81C 0005A77C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8005D820 0005A780 EC 08 38 3A */ fmadds f0, f8, f0, f7 -/* 8005D824 0005A784 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8005D828 0005A788 40 80 00 08 */ bge lbl_8005D830 -/* 8005D82C 0005A78C FC 40 08 90 */ fmr f2, f1 -lbl_8005D830: -/* 8005D830 0005A790 FC 20 10 90 */ fmr f1, f2 -/* 8005D834 0005A794 4E 80 00 20 */ blr - -.global ApplyDistanceSpring__13CCameraSpringFfff -ApplyDistanceSpring__13CCameraSpringFfff: -/* 8005D838 0005A798 C0 E3 00 10 */ lfs f7, 0x10(r3) -/* 8005D83C 0005A79C EC 81 10 28 */ fsubs f4, f1, f2 -/* 8005D840 0005A7A0 C0 03 00 04 */ lfs f0, 4(r3) -/* 8005D844 0005A7A4 C0 A3 00 00 */ lfs f5, 0(r3) -/* 8005D848 0005A7A8 EC C7 00 F2 */ fmuls f6, f7, f3 -/* 8005D84C 0005A7AC EC 00 01 F2 */ fmuls f0, f0, f7 -/* 8005D850 0005A7B0 C1 03 00 0C */ lfs f8, 0xc(r3) -/* 8005D854 0005A7B4 EC C8 11 BA */ fmadds f6, f8, f6, f2 -/* 8005D858 0005A7B8 EC 05 01 38 */ fmsubs f0, f5, f4, f0 -/* 8005D85C 0005A7BC FC 06 08 40 */ fcmpo cr0, f6, f1 -/* 8005D860 0005A7C0 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8005D864 0005A7C4 EC 08 38 3A */ fmadds f0, f8, f0, f7 -/* 8005D868 0005A7C8 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8005D86C 0005A7CC 40 80 00 08 */ bge lbl_8005D874 -/* 8005D870 0005A7D0 FC C0 08 90 */ fmr f6, f1 -lbl_8005D874: -/* 8005D874 0005A7D4 EC 06 08 28 */ fsubs f0, f6, f1 -/* 8005D878 0005A7D8 C0 43 00 08 */ lfs f2, 8(r3) -/* 8005D87C 0005A7DC FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8005D880 0005A7E0 40 81 00 08 */ ble lbl_8005D888 -/* 8005D884 0005A7E4 EC C1 10 2A */ fadds f6, f1, f2 -lbl_8005D888: -/* 8005D888 0005A7E8 FC 20 30 90 */ fmr f1, f6 -/* 8005D88C 0005A7EC 4E 80 00 20 */ blr - -.global ConvertToScreenSpace__11CGameCameraCFRC9CVector3f -ConvertToScreenSpace__11CGameCameraCFRC9CVector3f: -/* 8005D890 0005A7F0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8005D894 0005A7F4 7C 08 02 A6 */ mflr r0 -/* 8005D898 0005A7F8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8005D89C 0005A7FC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8005D8A0 0005A800 7C 9F 23 78 */ mr r31, r4 -/* 8005D8A4 0005A804 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8005D8A8 0005A808 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8005D8AC 0005A80C 7C 7E 1B 78 */ mr r30, r3 -/* 8005D8B0 0005A810 38 61 00 14 */ addi r3, r1, 0x14 -/* 8005D8B4 0005A814 C0 25 00 08 */ lfs f1, 8(r5) -/* 8005D8B8 0005A818 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 8005D8BC 0005A81C C0 65 00 04 */ lfs f3, 4(r5) -/* 8005D8C0 0005A820 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8005D8C4 0005A824 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 8005D8C8 0005A828 C0 25 00 00 */ lfs f1, 0(r5) -/* 8005D8CC 0005A82C 38 A1 00 08 */ addi r5, r1, 8 -/* 8005D8D0 0005A830 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8005D8D4 0005A834 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8005D8D8 0005A838 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8005D8DC 0005A83C D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8005D8E0 0005A840 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8005D8E4 0005A844 D0 01 00 08 */ stfs f0, 8(r1) -/* 8005D8E8 0005A848 48 2B 51 3D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 8005D8EC 0005A84C C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8005D8F0 0005A850 38 00 00 00 */ li r0, 0 -/* 8005D8F4 0005A854 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005D8F8 0005A858 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8005D8FC 0005A85C C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8005D900 0005A860 FC 00 18 00 */ fcmpu cr0, f0, f3 -/* 8005D904 0005A864 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8005D908 0005A868 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8005D90C 0005A86C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8005D910 0005A870 40 82 00 14 */ bne lbl_8005D924 -/* 8005D914 0005A874 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 8005D918 0005A878 40 82 00 0C */ bne lbl_8005D924 -/* 8005D91C 0005A87C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 8005D920 0005A880 41 82 00 08 */ beq lbl_8005D928 -lbl_8005D924: -/* 8005D924 0005A884 38 00 00 01 */ li r0, 1 -lbl_8005D928: -/* 8005D928 0005A888 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8005D92C 0005A88C 41 82 00 20 */ beq lbl_8005D94C -/* 8005D930 0005A890 7F E3 FB 78 */ mr r3, r31 -/* 8005D934 0005A894 48 00 00 45 */ bl GetPerspectiveMatrix__11CGameCameraCFv -/* 8005D938 0005A898 7C 64 1B 78 */ mr r4, r3 -/* 8005D93C 0005A89C 7F C3 F3 78 */ mr r3, r30 -/* 8005D940 0005A8A0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8005D944 0005A8A4 48 2B 2E 0D */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f -/* 8005D948 0005A8A8 48 00 00 18 */ b lbl_8005D960 -lbl_8005D94C: -/* 8005D94C 0005A8AC C0 22 86 D0 */ lfs f1, lbl_805AA3F0@sda21(r2) -/* 8005D950 0005A8B0 C0 02 86 BC */ lfs f0, lbl_805AA3DC@sda21(r2) -/* 8005D954 0005A8B4 D0 3E 00 00 */ stfs f1, 0(r30) -/* 8005D958 0005A8B8 D0 3E 00 04 */ stfs f1, 4(r30) -/* 8005D95C 0005A8BC D0 1E 00 08 */ stfs f0, 8(r30) -lbl_8005D960: -/* 8005D960 0005A8C0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8005D964 0005A8C4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8005D968 0005A8C8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8005D96C 0005A8CC 7C 08 03 A6 */ mtlr r0 -/* 8005D970 0005A8D0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8005D974 0005A8D4 4E 80 00 20 */ blr - -.global GetPerspectiveMatrix__11CGameCameraCFv -GetPerspectiveMatrix__11CGameCameraCFv: -/* 8005D978 0005A8D8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8005D97C 0005A8DC 7C 08 02 A6 */ mflr r0 -/* 8005D980 0005A8E0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8005D984 0005A8E4 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8005D988 0005A8E8 7C 7F 1B 78 */ mr r31, r3 -/* 8005D98C 0005A8EC 88 03 01 70 */ lbz r0, 0x170(r3) -/* 8005D990 0005A8F0 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 8005D994 0005A8F4 28 00 00 01 */ cmplwi r0, 1 -/* 8005D998 0005A8F8 40 82 00 AC */ bne lbl_8005DA44 -/* 8005D99C 0005A8FC C0 3F 01 5C */ lfs f1, 0x15c(r31) -/* 8005D9A0 0005A900 38 61 00 08 */ addi r3, r1, 8 -/* 8005D9A4 0005A904 C0 5F 01 68 */ lfs f2, 0x168(r31) -/* 8005D9A8 0005A908 C0 7F 01 60 */ lfs f3, 0x160(r31) -/* 8005D9AC 0005A90C C0 9F 01 64 */ lfs f4, 0x164(r31) -/* 8005D9B0 0005A910 48 2A E7 D9 */ bl CalculatePerspectiveMatrix__9CGraphicsFffff -/* 8005D9B4 0005A914 C0 21 00 08 */ lfs f1, 8(r1) -/* 8005D9B8 0005A918 38 60 00 00 */ li r3, 0 -/* 8005D9BC 0005A91C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8005D9C0 0005A920 D0 3F 00 EC */ stfs f1, 0xec(r31) -/* 8005D9C4 0005A924 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8005D9C8 0005A928 D0 1F 00 F0 */ stfs f0, 0xf0(r31) -/* 8005D9CC 0005A92C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8005D9D0 0005A930 D0 3F 00 F4 */ stfs f1, 0xf4(r31) -/* 8005D9D4 0005A934 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8005D9D8 0005A938 D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 8005D9DC 0005A93C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8005D9E0 0005A940 D0 3F 00 FC */ stfs f1, 0xfc(r31) -/* 8005D9E4 0005A944 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8005D9E8 0005A948 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 8005D9EC 0005A94C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8005D9F0 0005A950 D0 3F 01 04 */ stfs f1, 0x104(r31) -/* 8005D9F4 0005A954 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8005D9F8 0005A958 D0 1F 01 08 */ stfs f0, 0x108(r31) -/* 8005D9FC 0005A95C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8005DA00 0005A960 D0 3F 01 0C */ stfs f1, 0x10c(r31) -/* 8005DA04 0005A964 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8005DA08 0005A968 D0 1F 01 10 */ stfs f0, 0x110(r31) -/* 8005DA0C 0005A96C C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8005DA10 0005A970 D0 3F 01 14 */ stfs f1, 0x114(r31) -/* 8005DA14 0005A974 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8005DA18 0005A978 D0 1F 01 18 */ stfs f0, 0x118(r31) -/* 8005DA1C 0005A97C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8005DA20 0005A980 D0 3F 01 1C */ stfs f1, 0x11c(r31) -/* 8005DA24 0005A984 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 8005DA28 0005A988 D0 1F 01 20 */ stfs f0, 0x120(r31) -/* 8005DA2C 0005A98C C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8005DA30 0005A990 D0 3F 01 24 */ stfs f1, 0x124(r31) -/* 8005DA34 0005A994 D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 8005DA38 0005A998 88 1F 01 70 */ lbz r0, 0x170(r31) -/* 8005DA3C 0005A99C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8005DA40 0005A9A0 98 1F 01 70 */ stb r0, 0x170(r31) -lbl_8005DA44: -/* 8005DA44 0005A9A4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8005DA48 0005A9A8 38 7F 00 EC */ addi r3, r31, 0xec -/* 8005DA4C 0005A9AC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8005DA50 0005A9B0 7C 08 03 A6 */ mtlr r0 -/* 8005DA54 0005A9B4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8005DA58 0005A9B8 4E 80 00 20 */ blr - -.global __dt__11CGameCameraFv -__dt__11CGameCameraFv: -/* 8005DA5C 0005A9BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005DA60 0005A9C0 7C 08 02 A6 */ mflr r0 -/* 8005DA64 0005A9C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005DA68 0005A9C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005DA6C 0005A9CC 7C 9F 23 78 */ mr r31, r4 -/* 8005DA70 0005A9D0 93 C1 00 08 */ stw r30, 8(r1) -/* 8005DA74 0005A9D4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8005DA78 0005A9D8 41 82 00 28 */ beq lbl_8005DAA0 -/* 8005DA7C 0005A9DC 3C A0 80 3E */ lis r5, lbl_803DA194@ha -/* 8005DA80 0005A9E0 38 80 00 00 */ li r4, 0 -/* 8005DA84 0005A9E4 38 05 A1 94 */ addi r0, r5, lbl_803DA194@l -/* 8005DA88 0005A9E8 90 1E 00 00 */ stw r0, 0(r30) -/* 8005DA8C 0005A9EC 4B FF 7C 65 */ bl __dt__6CActorFv -/* 8005DA90 0005A9F0 7F E0 07 35 */ extsh. r0, r31 -/* 8005DA94 0005A9F4 40 81 00 0C */ ble lbl_8005DAA0 -/* 8005DA98 0005A9F8 7F C3 F3 78 */ mr r3, r30 -/* 8005DA9C 0005A9FC 48 2B 7E 95 */ bl Free__7CMemoryFPCv -lbl_8005DAA0: -/* 8005DAA0 0005AA00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005DAA4 0005AA04 7F C3 F3 78 */ mr r3, r30 -/* 8005DAA8 0005AA08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005DAAC 0005AA0C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005DAB0 0005AA10 7C 08 03 A6 */ mtlr r0 -/* 8005DAB4 0005AA14 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005DAB8 0005AA18 4E 80 00 20 */ blr - -.global "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" -"__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi": -/* 8005DABC 0005AA1C 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8005DAC0 0005AA20 7C 08 02 A6 */ mflr r0 -/* 8005DAC4 0005AA24 90 01 01 44 */ stw r0, 0x144(r1) -/* 8005DAC8 0005AA28 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8005DACC 0005AA2C F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 8005DAD0 0005AA30 DB C1 01 20 */ stfd f30, 0x120(r1) -/* 8005DAD4 0005AA34 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 8005DAD8 0005AA38 DB A1 01 10 */ stfd f29, 0x110(r1) -/* 8005DADC 0005AA3C F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 8005DAE0 0005AA40 DB 81 01 00 */ stfd f28, 0x100(r1) -/* 8005DAE4 0005AA44 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 8005DAE8 0005AA48 BE E1 00 DC */ stmw r23, 0xdc(r1) -/* 8005DAEC 0005AA4C FF 80 08 90 */ fmr f28, f1 -/* 8005DAF0 0005AA50 7C 78 1B 78 */ mr r24, r3 -/* 8005DAF4 0005AA54 FF A0 10 90 */ fmr f29, f2 -/* 8005DAF8 0005AA58 83 E1 01 48 */ lwz r31, 0x148(r1) -/* 8005DAFC 0005AA5C FF C0 18 90 */ fmr f30, f3 -/* 8005DB00 0005AA60 7C 97 23 78 */ mr r23, r4 -/* 8005DB04 0005AA64 FF E0 20 90 */ fmr f31, f4 -/* 8005DB08 0005AA68 7C B9 2B 78 */ mr r25, r5 -/* 8005DB0C 0005AA6C 7C DA 33 78 */ mr r26, r6 -/* 8005DB10 0005AA70 7C FB 3B 78 */ mr r27, r7 -/* 8005DB14 0005AA74 7D 1C 43 78 */ mr r28, r8 -/* 8005DB18 0005AA78 7D 3D 4B 78 */ mr r29, r9 -/* 8005DB1C 0005AA7C 7D 5E 53 78 */ mr r30, r10 -/* 8005DB20 0005AA80 38 61 00 88 */ addi r3, r1, 0x88 -/* 8005DB24 0005AA84 4B FD CC 81 */ bl CModelDataNull__10CModelDataFv -/* 8005DB28 0005AA88 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005DB2C 0005AA8C 4B FB D3 0D */ bl None__16CActorParametersFv -/* 8005DB30 0005AA90 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8005DB34 0005AA94 38 00 00 00 */ li r0, 0 -/* 8005DB38 0005AA98 80 AD 82 C0 */ lwz r5, lbl_805A6E80@sda21(r13) -/* 8005DB3C 0005AA9C 38 60 00 00 */ li r3, 0 -/* 8005DB40 0005AAA0 B0 81 00 10 */ sth r4, 0x10(r1) -/* 8005DB44 0005AAA4 38 80 00 01 */ li r4, 1 -/* 8005DB48 0005AAA8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8005DB4C 0005AAAC 90 01 00 18 */ stw r0, 0x18(r1) -/* 8005DB50 0005AAB0 48 32 C3 A5 */ bl __shl2i -/* 8005DB54 0005AAB4 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8005DB58 0005AAB8 39 61 00 20 */ addi r11, r1, 0x20 -/* 8005DB5C 0005AABC 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8005DB60 0005AAC0 38 01 00 10 */ addi r0, r1, 0x10 -/* 8005DB64 0005AAC4 7C A3 1B 78 */ or r3, r5, r3 -/* 8005DB68 0005AAC8 A1 37 00 00 */ lhz r9, 0(r23) -/* 8005DB6C 0005AACC 7C C4 23 78 */ or r4, r6, r4 -/* 8005DB70 0005AAD0 90 61 00 18 */ stw r3, 0x18(r1) -/* 8005DB74 0005AAD4 7F 03 C3 78 */ mr r3, r24 -/* 8005DB78 0005AAD8 7F 25 CB 78 */ mr r5, r25 -/* 8005DB7C 0005AADC 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8005DB80 0005AAE0 7F 46 D3 78 */ mr r6, r26 -/* 8005DB84 0005AAE4 7F 67 DB 78 */ mr r7, r27 -/* 8005DB88 0005AAE8 7F 88 E3 78 */ mr r8, r28 -/* 8005DB8C 0005AAEC B1 21 00 14 */ sth r9, 0x14(r1) -/* 8005DB90 0005AAF0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8005DB94 0005AAF4 39 21 00 88 */ addi r9, r1, 0x88 -/* 8005DB98 0005AAF8 39 41 00 18 */ addi r10, r1, 0x18 -/* 8005DB9C 0005AAFC 91 61 00 08 */ stw r11, 8(r1) -/* 8005DBA0 0005AB00 90 01 00 0C */ stw r0, 0xc(r1) -/* 8005DBA4 0005AB04 4B FF 7C 7D */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8005DBA8 0005AB08 38 61 00 20 */ addi r3, r1, 0x20 -/* 8005DBAC 0005AB0C 38 80 FF FF */ li r4, -1 -/* 8005DBB0 0005AB10 48 0A 8A 59 */ bl __dt__16CActorParametersFv -/* 8005DBB4 0005AB14 38 61 00 88 */ addi r3, r1, 0x88 -/* 8005DBB8 0005AB18 38 80 FF FF */ li r4, -1 -/* 8005DBBC 0005AB1C 48 0B 8E 91 */ bl __dt__10CModelDataFv -/* 8005DBC0 0005AB20 3C 80 80 3E */ lis r4, lbl_803DA194@ha -/* 8005DBC4 0005AB24 3C 60 80 5A */ lis r3, lbl_805A6620@ha -/* 8005DBC8 0005AB28 38 04 A1 94 */ addi r0, r4, lbl_803DA194@l -/* 8005DBCC 0005AB2C 7F 84 E3 78 */ mr r4, r28 -/* 8005DBD0 0005AB30 90 18 00 00 */ stw r0, 0(r24) -/* 8005DBD4 0005AB34 38 A3 66 20 */ addi r5, r3, lbl_805A6620@l -/* 8005DBD8 0005AB38 38 78 01 2C */ addi r3, r24, 0x12c -/* 8005DBDC 0005AB3C A0 1D 00 00 */ lhz r0, 0(r29) -/* 8005DBE0 0005AB40 B0 18 00 E8 */ sth r0, 0xe8(r24) -/* 8005DBE4 0005AB44 C0 05 00 00 */ lfs f0, 0(r5) -/* 8005DBE8 0005AB48 D0 18 00 EC */ stfs f0, 0xec(r24) -/* 8005DBEC 0005AB4C C0 05 00 04 */ lfs f0, 4(r5) -/* 8005DBF0 0005AB50 D0 18 00 F0 */ stfs f0, 0xf0(r24) -/* 8005DBF4 0005AB54 C0 05 00 08 */ lfs f0, 8(r5) -/* 8005DBF8 0005AB58 D0 18 00 F4 */ stfs f0, 0xf4(r24) -/* 8005DBFC 0005AB5C C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8005DC00 0005AB60 D0 18 00 F8 */ stfs f0, 0xf8(r24) -/* 8005DC04 0005AB64 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8005DC08 0005AB68 D0 18 00 FC */ stfs f0, 0xfc(r24) -/* 8005DC0C 0005AB6C C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8005DC10 0005AB70 D0 18 01 00 */ stfs f0, 0x100(r24) -/* 8005DC14 0005AB74 C0 05 00 18 */ lfs f0, 0x18(r5) -/* 8005DC18 0005AB78 D0 18 01 04 */ stfs f0, 0x104(r24) -/* 8005DC1C 0005AB7C C0 05 00 1C */ lfs f0, 0x1c(r5) -/* 8005DC20 0005AB80 D0 18 01 08 */ stfs f0, 0x108(r24) -/* 8005DC24 0005AB84 C0 05 00 20 */ lfs f0, 0x20(r5) -/* 8005DC28 0005AB88 D0 18 01 0C */ stfs f0, 0x10c(r24) -/* 8005DC2C 0005AB8C C0 05 00 24 */ lfs f0, 0x24(r5) -/* 8005DC30 0005AB90 D0 18 01 10 */ stfs f0, 0x110(r24) -/* 8005DC34 0005AB94 C0 05 00 28 */ lfs f0, 0x28(r5) -/* 8005DC38 0005AB98 D0 18 01 14 */ stfs f0, 0x114(r24) -/* 8005DC3C 0005AB9C C0 05 00 2C */ lfs f0, 0x2c(r5) -/* 8005DC40 0005ABA0 D0 18 01 18 */ stfs f0, 0x118(r24) -/* 8005DC44 0005ABA4 C0 05 00 30 */ lfs f0, 0x30(r5) -/* 8005DC48 0005ABA8 D0 18 01 1C */ stfs f0, 0x11c(r24) -/* 8005DC4C 0005ABAC C0 05 00 34 */ lfs f0, 0x34(r5) -/* 8005DC50 0005ABB0 D0 18 01 20 */ stfs f0, 0x120(r24) -/* 8005DC54 0005ABB4 C0 05 00 38 */ lfs f0, 0x38(r5) -/* 8005DC58 0005ABB8 D0 18 01 24 */ stfs f0, 0x124(r24) -/* 8005DC5C 0005ABBC C0 05 00 3C */ lfs f0, 0x3c(r5) -/* 8005DC60 0005ABC0 D0 18 01 28 */ stfs f0, 0x128(r24) -/* 8005DC64 0005ABC4 48 2B 4F 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8005DC68 0005ABC8 D3 98 01 5C */ stfs f28, 0x15c(r24) -/* 8005DC6C 0005ABCC 38 C0 00 01 */ li r6, 1 -/* 8005DC70 0005ABD0 C0 02 86 B8 */ lfs f0, lbl_805AA3D8@sda21(r2) -/* 8005DC74 0005ABD4 38 80 00 00 */ li r4, 0 -/* 8005DC78 0005ABD8 D3 B8 01 60 */ stfs f29, 0x160(r24) -/* 8005DC7C 0005ABDC 7F 03 C3 78 */ mr r3, r24 -/* 8005DC80 0005ABE0 D3 D8 01 64 */ stfs f30, 0x164(r24) -/* 8005DC84 0005ABE4 D3 F8 01 68 */ stfs f31, 0x168(r24) -/* 8005DC88 0005ABE8 93 F8 01 6C */ stw r31, 0x16c(r24) -/* 8005DC8C 0005ABEC 88 18 01 70 */ lbz r0, 0x170(r24) -/* 8005DC90 0005ABF0 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 8005DC94 0005ABF4 98 18 01 70 */ stb r0, 0x170(r24) -/* 8005DC98 0005ABF8 88 18 01 70 */ lbz r0, 0x170(r24) -/* 8005DC9C 0005ABFC 53 C0 36 72 */ rlwimi r0, r30, 6, 0x19, 0x19 -/* 8005DCA0 0005AC00 98 18 01 70 */ stb r0, 0x170(r24) -/* 8005DCA4 0005AC04 D0 18 01 74 */ stfs f0, 0x174(r24) -/* 8005DCA8 0005AC08 D0 18 01 78 */ stfs f0, 0x178(r24) -/* 8005DCAC 0005AC0C D0 18 01 7C */ stfs f0, 0x17c(r24) -/* 8005DCB0 0005AC10 D3 98 01 80 */ stfs f28, 0x180(r24) -/* 8005DCB4 0005AC14 D3 98 01 84 */ stfs f28, 0x184(r24) -/* 8005DCB8 0005AC18 88 18 00 E7 */ lbz r0, 0xe7(r24) -/* 8005DCBC 0005AC1C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8005DCC0 0005AC20 98 18 00 E7 */ stb r0, 0xe7(r24) -/* 8005DCC4 0005AC24 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 8005DCC8 0005AC28 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 8005DCCC 0005AC2C E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 8005DCD0 0005AC30 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 8005DCD4 0005AC34 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 8005DCD8 0005AC38 CB A1 01 10 */ lfd f29, 0x110(r1) -/* 8005DCDC 0005AC3C E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 8005DCE0 0005AC40 CB 81 01 00 */ lfd f28, 0x100(r1) -/* 8005DCE4 0005AC44 BA E1 00 DC */ lmw r23, 0xdc(r1) -/* 8005DCE8 0005AC48 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8005DCEC 0005AC4C 7C 08 03 A6 */ mtlr r0 -/* 8005DCF0 0005AC50 38 21 01 40 */ addi r1, r1, 0x140 -/* 8005DCF4 0005AC54 4E 80 00 20 */ blr - -.global "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi": -/* 8005DCF8 0005AC58 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005DCFC 0005AC5C 7C 08 02 A6 */ mflr r0 -/* 8005DD00 0005AC60 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005DD04 0005AC64 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8005DD08 0005AC68 7C 9F 23 78 */ mr r31, r4 -/* 8005DD0C 0005AC6C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8005DD10 0005AC70 7C 7E 1B 78 */ mr r30, r3 -/* 8005DD14 0005AC74 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8005DD18 0005AC78 80 03 00 08 */ lwz r0, 8(r3) -/* 8005DD1C 0005AC7C 7C 1F 00 00 */ cmpw r31, r0 -/* 8005DD20 0005AC80 40 81 00 BC */ ble lbl_8005DDDC -/* 8005DD24 0005AC84 1C 7F 00 0C */ mulli r3, r31, 0xc -/* 8005DD28 0005AC88 2C 03 00 00 */ cmpwi r3, 0 -/* 8005DD2C 0005AC8C 40 82 00 0C */ bne lbl_8005DD38 -/* 8005DD30 0005AC90 3B A0 00 00 */ li r29, 0 -/* 8005DD34 0005AC94 48 00 00 18 */ b lbl_8005DD4C -lbl_8005DD38: -/* 8005DD38 0005AC98 3C 80 80 3D */ lis r4, lbl_803CCF90@ha -/* 8005DD3C 0005AC9C 38 A0 00 00 */ li r5, 0 -/* 8005DD40 0005ACA0 38 84 CF 90 */ addi r4, r4, lbl_803CCF90@l -/* 8005DD44 0005ACA4 48 2B 7A D5 */ bl __nwa__FUlPCcPCc -/* 8005DD48 0005ACA8 7C 7D 1B 78 */ mr r29, r3 -lbl_8005DD4C: -/* 8005DD4C 0005ACAC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005DD50 0005ACB0 7F A3 EB 78 */ mr r3, r29 -/* 8005DD54 0005ACB4 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8005DD58 0005ACB8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005DD5C 0005ACBC 90 81 00 10 */ stw r4, 0x10(r1) -/* 8005DD60 0005ACC0 7C 04 02 14 */ add r0, r4, r0 -/* 8005DD64 0005ACC4 90 81 00 14 */ stw r4, 0x14(r1) -/* 8005DD68 0005ACC8 90 01 00 08 */ stw r0, 8(r1) -/* 8005DD6C 0005ACCC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8005DD70 0005ACD0 48 00 00 2C */ b lbl_8005DD9C -lbl_8005DD74: -/* 8005DD74 0005ACD4 28 03 00 00 */ cmplwi r3, 0 -/* 8005DD78 0005ACD8 41 82 00 1C */ beq lbl_8005DD94 -/* 8005DD7C 0005ACDC C0 04 00 00 */ lfs f0, 0(r4) -/* 8005DD80 0005ACE0 D0 03 00 00 */ stfs f0, 0(r3) -/* 8005DD84 0005ACE4 C0 04 00 04 */ lfs f0, 4(r4) -/* 8005DD88 0005ACE8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005DD8C 0005ACEC C0 04 00 08 */ lfs f0, 8(r4) -/* 8005DD90 0005ACF0 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8005DD94: -/* 8005DD94 0005ACF4 38 63 00 0C */ addi r3, r3, 0xc -/* 8005DD98 0005ACF8 38 84 00 0C */ addi r4, r4, 0xc -lbl_8005DD9C: -/* 8005DD9C 0005ACFC 7C 04 00 40 */ cmplw r4, r0 -/* 8005DDA0 0005AD00 40 82 FF D4 */ bne lbl_8005DD74 -/* 8005DDA4 0005AD04 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005DDA8 0005AD08 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8005DDAC 0005AD0C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005DDB0 0005AD10 7C 64 1B 78 */ mr r4, r3 -/* 8005DDB4 0005AD14 7C 03 02 14 */ add r0, r3, r0 -/* 8005DDB8 0005AD18 48 00 00 08 */ b lbl_8005DDC0 -lbl_8005DDBC: -/* 8005DDBC 0005AD1C 38 84 00 0C */ addi r4, r4, 0xc -lbl_8005DDC0: -/* 8005DDC0 0005AD20 7C 04 00 40 */ cmplw r4, r0 -/* 8005DDC4 0005AD24 40 82 FF F8 */ bne lbl_8005DDBC -/* 8005DDC8 0005AD28 28 03 00 00 */ cmplwi r3, 0 -/* 8005DDCC 0005AD2C 41 82 00 08 */ beq lbl_8005DDD4 -/* 8005DDD0 0005AD30 48 2B 7B 61 */ bl Free__7CMemoryFPCv -lbl_8005DDD4: -/* 8005DDD4 0005AD34 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8005DDD8 0005AD38 93 FE 00 08 */ stw r31, 8(r30) -lbl_8005DDDC: -/* 8005DDDC 0005AD3C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005DDE0 0005AD40 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8005DDE4 0005AD44 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8005DDE8 0005AD48 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8005DDEC 0005AD4C 7C 08 03 A6 */ mtlr r0 -/* 8005DDF0 0005AD50 38 21 00 30 */ addi r1, r1, 0x30 -/* 8005DDF4 0005AD54 4E 80 00 20 */ blr - -.global "reserve__Q24rstl36vectorFi" -"reserve__Q24rstl36vectorFi": -/* 8005DDF8 0005AD58 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005DDFC 0005AD5C 7C 08 02 A6 */ mflr r0 -/* 8005DE00 0005AD60 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005DE04 0005AD64 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8005DE08 0005AD68 7C 9F 23 78 */ mr r31, r4 -/* 8005DE0C 0005AD6C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8005DE10 0005AD70 7C 7E 1B 78 */ mr r30, r3 -/* 8005DE14 0005AD74 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8005DE18 0005AD78 80 03 00 08 */ lwz r0, 8(r3) -/* 8005DE1C 0005AD7C 7C 1F 00 00 */ cmpw r31, r0 -/* 8005DE20 0005AD80 40 81 00 A8 */ ble lbl_8005DEC8 -/* 8005DE24 0005AD84 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 8005DE28 0005AD88 40 82 00 0C */ bne lbl_8005DE34 -/* 8005DE2C 0005AD8C 3B A0 00 00 */ li r29, 0 -/* 8005DE30 0005AD90 48 00 00 18 */ b lbl_8005DE48 -lbl_8005DE34: -/* 8005DE34 0005AD94 3C 80 80 3D */ lis r4, lbl_803CCF90@ha -/* 8005DE38 0005AD98 38 A0 00 00 */ li r5, 0 -/* 8005DE3C 0005AD9C 38 84 CF 90 */ addi r4, r4, lbl_803CCF90@l -/* 8005DE40 0005ADA0 48 2B 79 D9 */ bl __nwa__FUlPCcPCc -/* 8005DE44 0005ADA4 7C 7D 1B 78 */ mr r29, r3 -lbl_8005DE48: -/* 8005DE48 0005ADA8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005DE4C 0005ADAC 7F A3 EB 78 */ mr r3, r29 -/* 8005DE50 0005ADB0 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8005DE54 0005ADB4 54 00 10 3A */ slwi r0, r0, 2 -/* 8005DE58 0005ADB8 7C 04 02 14 */ add r0, r4, r0 -/* 8005DE5C 0005ADBC 90 81 00 10 */ stw r4, 0x10(r1) -/* 8005DE60 0005ADC0 90 01 00 08 */ stw r0, 8(r1) -/* 8005DE64 0005ADC4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8005DE68 0005ADC8 90 81 00 14 */ stw r4, 0x14(r1) -/* 8005DE6C 0005ADCC 48 00 00 1C */ b lbl_8005DE88 -lbl_8005DE70: -/* 8005DE70 0005ADD0 28 03 00 00 */ cmplwi r3, 0 -/* 8005DE74 0005ADD4 41 82 00 0C */ beq lbl_8005DE80 -/* 8005DE78 0005ADD8 C0 04 00 00 */ lfs f0, 0(r4) -/* 8005DE7C 0005ADDC D0 03 00 00 */ stfs f0, 0(r3) -lbl_8005DE80: -/* 8005DE80 0005ADE0 38 63 00 04 */ addi r3, r3, 4 -/* 8005DE84 0005ADE4 38 84 00 04 */ addi r4, r4, 4 -lbl_8005DE88: -/* 8005DE88 0005ADE8 7C 04 00 40 */ cmplw r4, r0 -/* 8005DE8C 0005ADEC 40 82 FF E4 */ bne lbl_8005DE70 -/* 8005DE90 0005ADF0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005DE94 0005ADF4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8005DE98 0005ADF8 54 00 10 3A */ slwi r0, r0, 2 -/* 8005DE9C 0005ADFC 7C 64 1B 78 */ mr r4, r3 -/* 8005DEA0 0005AE00 7C 03 02 14 */ add r0, r3, r0 -/* 8005DEA4 0005AE04 48 00 00 08 */ b lbl_8005DEAC -lbl_8005DEA8: -/* 8005DEA8 0005AE08 38 84 00 04 */ addi r4, r4, 4 -lbl_8005DEAC: -/* 8005DEAC 0005AE0C 7C 04 00 40 */ cmplw r4, r0 -/* 8005DEB0 0005AE10 40 82 FF F8 */ bne lbl_8005DEA8 -/* 8005DEB4 0005AE14 28 03 00 00 */ cmplwi r3, 0 -/* 8005DEB8 0005AE18 41 82 00 08 */ beq lbl_8005DEC0 -/* 8005DEBC 0005AE1C 48 2B 7A 75 */ bl Free__7CMemoryFPCv -lbl_8005DEC0: -/* 8005DEC0 0005AE20 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8005DEC4 0005AE24 93 FE 00 08 */ stw r31, 8(r30) -lbl_8005DEC8: -/* 8005DEC8 0005AE28 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005DECC 0005AE2C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8005DED0 0005AE30 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8005DED4 0005AE34 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8005DED8 0005AE38 7C 08 03 A6 */ mtlr r0 -/* 8005DEDC 0005AE3C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8005DEE0 0005AE40 4E 80 00 20 */ blr - -.global sub_8005dee4 -sub_8005dee4: -/* 8005DEE4 0005AE44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005DEE8 0005AE48 7C 08 02 A6 */ mflr r0 -/* 8005DEEC 0005AE4C 38 80 FF FF */ li r4, -1 -/* 8005DEF0 0005AE50 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005DEF4 0005AE54 4B FF 91 F5 */ bl sub_800570e8 -/* 8005DEF8 0005AE58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005DEFC 0005AE5C 7C 08 03 A6 */ mtlr r0 -/* 8005DF00 0005AE60 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005DF04 0005AE64 4E 80 00 20 */ blr - -.global Get2ndPVSLightFeature__9CGameAreaFUi -Get2ndPVSLightFeature__9CGameAreaFUi: -/* 8005DF08 0005AE68 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005DF0C 0005AE6C 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 8005DF10 0005AE70 80 63 00 A0 */ lwz r3, 0xa0(r3) -/* 8005DF14 0005AE74 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8005DF18 0005AE78 41 82 00 0C */ beq lbl_8005DF24 -/* 8005DF1C 0005AE7C 28 03 00 00 */ cmplwi r3, 0 -/* 8005DF20 0005AE80 40 82 00 0C */ bne lbl_8005DF2C -lbl_8005DF24: -/* 8005DF24 0005AE84 38 60 FF FF */ li r3, -1 -/* 8005DF28 0005AE88 4E 80 00 20 */ blr -lbl_8005DF2C: -/* 8005DF2C 0005AE8C 80 03 00 00 */ lwz r0, 0(r3) -/* 8005DF30 0005AE90 7C 60 22 14 */ add r3, r0, r4 -/* 8005DF34 0005AE94 4E 80 00 20 */ blr - -.global Get1stPVSLightFeature__9CGameAreaFUi -Get1stPVSLightFeature__9CGameAreaFUi: -/* 8005DF38 0005AE98 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005DF3C 0005AE9C 80 63 00 A0 */ lwz r3, 0xa0(r3) -/* 8005DF40 0005AEA0 28 03 00 00 */ cmplwi r3, 0 -/* 8005DF44 0005AEA4 40 82 00 0C */ bne lbl_8005DF50 -/* 8005DF48 0005AEA8 38 60 FF FF */ li r3, -1 -/* 8005DF4C 0005AEAC 4E 80 00 20 */ blr -lbl_8005DF50: -/* 8005DF50 0005AEB0 80 03 00 08 */ lwz r0, 8(r3) -/* 8005DF54 0005AEB4 80 A3 00 00 */ lwz r5, 0(r3) -/* 8005DF58 0005AEB8 7C 60 22 14 */ add r3, r0, r4 -/* 8005DF5C 0005AEBC 7C 65 1A 14 */ add r3, r5, r3 -/* 8005DF60 0005AEC0 4E 80 00 20 */ blr - -.global LookupPVSUniqueID__9CGameAreaF9TUniqueId -LookupPVSUniqueID__9CGameAreaF9TUniqueId: -/* 8005DF64 0005AEC4 A0 05 00 00 */ lhz r0, 0(r5) -/* 8005DF68 0005AEC8 80 84 01 2C */ lwz r4, 0x12c(r4) -/* 8005DF6C 0005AECC 54 00 15 3A */ rlwinm r0, r0, 2, 0x14, 0x1d -/* 8005DF70 0005AED0 7C 84 02 14 */ add r4, r4, r0 -/* 8005DF74 0005AED4 A0 04 00 AA */ lhz r0, 0xaa(r4) -/* 8005DF78 0005AED8 B0 03 00 00 */ sth r0, 0(r3) -/* 8005DF7C 0005AEDC 4E 80 00 20 */ blr - -.global LookupPVSID__9CGameAreaF9TUniqueId -LookupPVSID__9CGameAreaF9TUniqueId: -/* 8005DF80 0005AEE0 A0 04 00 00 */ lhz r0, 0(r4) -/* 8005DF84 0005AEE4 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005DF88 0005AEE8 54 00 15 3A */ rlwinm r0, r0, 2, 0x14, 0x1d -/* 8005DF8C 0005AEEC 7C 63 02 14 */ add r3, r3, r0 -/* 8005DF90 0005AEF0 A0 63 00 A8 */ lhz r3, 0xa8(r3) -/* 8005DF94 0005AEF4 4E 80 00 20 */ blr - -.global UpdateWeaponWorldLighting__9CGameAreaFf -UpdateWeaponWorldLighting__9CGameAreaFf: -/* 8005DF98 0005AEF8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005DF9C 0005AEFC 7C 08 02 A6 */ mflr r0 -/* 8005DFA0 0005AF00 C0 62 87 00 */ lfs f3, lbl_805AA420@sda21(r2) -/* 8005DFA4 0005AF04 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005DFA8 0005AF08 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8005DFAC 0005AF0C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8005DFB0 0005AF10 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8005DFB4 0005AF14 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005DFB8 0005AF18 C0 84 11 28 */ lfs f4, 0x1128(r4) -/* 8005DFBC 0005AF1C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8005DFC0 0005AF20 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005DFC4 0005AF24 C0 04 11 2C */ lfs f0, 0x112c(r4) -/* 8005DFC8 0005AF28 FC 03 00 00 */ fcmpu cr0, f3, f0 -/* 8005DFCC 0005AF2C 41 82 00 4C */ beq lbl_8005E018 -/* 8005DFD0 0005AF30 C0 44 11 30 */ lfs f2, 0x1130(r4) -/* 8005DFD4 0005AF34 EC A1 00 32 */ fmuls f5, f1, f0 -/* 8005DFD8 0005AF38 EC 02 20 28 */ fsubs f0, f2, f4 -/* 8005DFDC 0005AF3C FC 00 02 10 */ fabs f0, f0 -/* 8005DFE0 0005AF40 FC 00 00 18 */ frsp f0, f0 -/* 8005DFE4 0005AF44 FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 8005DFE8 0005AF48 40 80 00 14 */ bge lbl_8005DFFC -/* 8005DFEC 0005AF4C D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8005DFF0 0005AF50 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005DFF4 0005AF54 D0 64 11 34 */ stfs f3, 0x1134(r4) -/* 8005DFF8 0005AF58 48 00 00 20 */ b lbl_8005E018 -lbl_8005DFFC: -/* 8005DFFC 0005AF5C FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 8005E000 0005AF60 40 80 00 10 */ bge lbl_8005E010 -/* 8005E004 0005AF64 EC 04 28 28 */ fsubs f0, f4, f5 -/* 8005E008 0005AF68 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8005E00C 0005AF6C 48 00 00 0C */ b lbl_8005E018 -lbl_8005E010: -/* 8005E010 0005AF70 EC 04 28 2A */ fadds f0, f4, f5 -/* 8005E014 0005AF74 D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_8005E018: -/* 8005E018 0005AF78 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005E01C 0005AF7C C0 A2 87 00 */ lfs f5, lbl_805AA420@sda21(r2) -/* 8005E020 0005AF80 C0 04 11 34 */ lfs f0, 0x1134(r4) -/* 8005E024 0005AF84 FC 05 00 00 */ fcmpu cr0, f5, f0 -/* 8005E028 0005AF88 41 82 00 A4 */ beq lbl_8005E0CC -/* 8005E02C 0005AF8C C0 84 11 28 */ lfs f4, 0x1128(r4) -/* 8005E030 0005AF90 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8005E034 0005AF94 D0 81 00 08 */ stfs f4, 8(r1) -/* 8005E038 0005AF98 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005E03C 0005AF9C C0 44 11 38 */ lfs f2, 0x1138(r4) -/* 8005E040 0005AFA0 C0 64 11 34 */ lfs f3, 0x1134(r4) -/* 8005E044 0005AFA4 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8005E048 0005AFA8 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 8005E04C 0005AFAC FC 00 02 10 */ fabs f0, f0 -/* 8005E050 0005AFB0 FC 00 00 18 */ frsp f0, f0 -/* 8005E054 0005AFB4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8005E058 0005AFB8 40 80 00 14 */ bge lbl_8005E06C -/* 8005E05C 0005AFBC D0 41 00 08 */ stfs f2, 8(r1) -/* 8005E060 0005AFC0 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005E064 0005AFC4 D0 A4 11 34 */ stfs f5, 0x1134(r4) -/* 8005E068 0005AFC8 48 00 00 20 */ b lbl_8005E088 -lbl_8005E06C: -/* 8005E06C 0005AFCC FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 8005E070 0005AFD0 40 80 00 10 */ bge lbl_8005E080 -/* 8005E074 0005AFD4 EC 04 08 28 */ fsubs f0, f4, f1 -/* 8005E078 0005AFD8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8005E07C 0005AFDC 48 00 00 0C */ b lbl_8005E088 -lbl_8005E080: -/* 8005E080 0005AFE0 EC 04 08 2A */ fadds f0, f4, f1 -/* 8005E084 0005AFE4 D0 01 00 08 */ stfs f0, 8(r1) -lbl_8005E088: -/* 8005E088 0005AFE8 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005E08C 0005AFEC C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) -/* 8005E090 0005AFF0 C0 04 11 2C */ lfs f0, 0x112c(r4) -/* 8005E094 0005AFF4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8005E098 0005AFF8 41 82 00 2C */ beq lbl_8005E0C4 -/* 8005E09C 0005AFFC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8005E0A0 0005B000 C0 01 00 08 */ lfs f0, 8(r1) -/* 8005E0A4 0005B004 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005E0A8 0005B008 40 80 00 0C */ bge lbl_8005E0B4 -/* 8005E0AC 0005B00C 38 81 00 0C */ addi r4, r1, 0xc -/* 8005E0B0 0005B010 48 00 00 08 */ b lbl_8005E0B8 -lbl_8005E0B4: -/* 8005E0B4 0005B014 38 81 00 08 */ addi r4, r1, 8 -lbl_8005E0B8: -/* 8005E0B8 0005B018 C0 04 00 00 */ lfs f0, 0(r4) -/* 8005E0BC 0005B01C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8005E0C0 0005B020 48 00 00 0C */ b lbl_8005E0CC -lbl_8005E0C4: -/* 8005E0C4 0005B024 C0 01 00 08 */ lfs f0, 8(r1) -/* 8005E0C8 0005B028 D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_8005E0CC: -/* 8005E0CC 0005B02C 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005E0D0 0005B030 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8005E0D4 0005B034 C0 24 11 28 */ lfs f1, 0x1128(r4) -/* 8005E0D8 0005B038 C0 02 87 04 */ lfs f0, lbl_805AA424@sda21(r2) -/* 8005E0DC 0005B03C EC 21 10 28 */ fsubs f1, f1, f2 -/* 8005E0E0 0005B040 FC 20 0A 10 */ fabs f1, f1 -/* 8005E0E4 0005B044 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8005E0E8 0005B048 41 80 00 70 */ blt lbl_8005E158 -/* 8005E0EC 0005B04C D0 44 11 28 */ stfs f2, 0x1128(r4) -/* 8005E0F0 0005B050 3B E0 00 01 */ li r31, 1 -/* 8005E0F4 0005B054 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005E0F8 0005B058 83 C3 10 C0 */ lwz r30, 0x10c0(r3) -/* 8005E0FC 0005B05C AB BE 20 08 */ lha r29, 0x2008(r30) -/* 8005E100 0005B060 48 00 00 50 */ b lbl_8005E150 -lbl_8005E104: -/* 8005E104 0005B064 7F C3 F3 78 */ mr r3, r30 -/* 8005E108 0005B068 7F A4 EB 78 */ mr r4, r29 -/* 8005E10C 0005B06C 4B FB 1C 09 */ bl __vc__11CObjectListFi -/* 8005E110 0005B070 7C 64 1B 78 */ mr r4, r3 -/* 8005E114 0005B074 38 61 00 10 */ addi r3, r1, 0x10 -/* 8005E118 0005B078 48 05 1B 79 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8005E11C 0005B07C 80 63 00 04 */ lwz r3, 4(r3) -/* 8005E120 0005B080 28 03 00 00 */ cmplwi r3, 0 -/* 8005E124 0005B084 41 82 00 10 */ beq lbl_8005E134 -/* 8005E128 0005B088 88 03 00 E7 */ lbz r0, 0xe7(r3) -/* 8005E12C 0005B08C 53 E0 1F 38 */ rlwimi r0, r31, 3, 0x1c, 0x1c -/* 8005E130 0005B090 98 03 00 E7 */ stb r0, 0xe7(r3) -lbl_8005E134: -/* 8005E134 0005B094 2C 1D FF FF */ cmpwi r29, -1 -/* 8005E138 0005B098 41 82 00 14 */ beq lbl_8005E14C -/* 8005E13C 0005B09C 57 A3 18 38 */ slwi r3, r29, 3 -/* 8005E140 0005B0A0 38 03 00 08 */ addi r0, r3, 8 -/* 8005E144 0005B0A4 7F BE 02 AE */ lhax r29, r30, r0 -/* 8005E148 0005B0A8 48 00 00 08 */ b lbl_8005E150 -lbl_8005E14C: -/* 8005E14C 0005B0AC 3B A0 FF FF */ li r29, -1 -lbl_8005E150: -/* 8005E150 0005B0B0 2C 1D FF FF */ cmpwi r29, -1 -/* 8005E154 0005B0B4 40 82 FF B0 */ bne lbl_8005E104 -lbl_8005E158: -/* 8005E158 0005B0B8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005E15C 0005B0BC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8005E160 0005B0C0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8005E164 0005B0C4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8005E168 0005B0C8 7C 08 03 A6 */ mtlr r0 -/* 8005E16C 0005B0CC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8005E170 0005B0D0 4E 80 00 20 */ blr - -.global UpdateThermalVisor__9CGameAreaFf -UpdateThermalVisor__9CGameAreaFf: -/* 8005E174 0005B0D4 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005E178 0005B0D8 C0 42 87 00 */ lfs f2, lbl_805AA420@sda21(r2) -/* 8005E17C 0005B0DC C0 04 11 20 */ lfs f0, 0x1120(r4) -/* 8005E180 0005B0E0 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 8005E184 0005B0E4 4D 82 00 20 */ beqlr -/* 8005E188 0005B0E8 C0 64 11 1C */ lfs f3, 0x111c(r4) -/* 8005E18C 0005B0EC EC 81 00 32 */ fmuls f4, f1, f0 -/* 8005E190 0005B0F0 C0 24 11 24 */ lfs f1, 0x1124(r4) -/* 8005E194 0005B0F4 EC 01 18 28 */ fsubs f0, f1, f3 -/* 8005E198 0005B0F8 FC 00 02 10 */ fabs f0, f0 -/* 8005E19C 0005B0FC FC 00 00 18 */ frsp f0, f0 -/* 8005E1A0 0005B100 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 8005E1A4 0005B104 40 80 00 10 */ bge lbl_8005E1B4 -/* 8005E1A8 0005B108 FC 60 08 90 */ fmr f3, f1 -/* 8005E1AC 0005B10C D0 44 11 20 */ stfs f2, 0x1120(r4) -/* 8005E1B0 0005B110 48 00 00 18 */ b lbl_8005E1C8 -lbl_8005E1B4: -/* 8005E1B4 0005B114 FC 01 18 40 */ fcmpo cr0, f1, f3 -/* 8005E1B8 0005B118 40 80 00 0C */ bge lbl_8005E1C4 -/* 8005E1BC 0005B11C EC 63 20 28 */ fsubs f3, f3, f4 -/* 8005E1C0 0005B120 48 00 00 08 */ b lbl_8005E1C8 -lbl_8005E1C4: -/* 8005E1C4 0005B124 EC 63 20 2A */ fadds f3, f3, f4 -lbl_8005E1C8: -/* 8005E1C8 0005B128 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005E1CC 0005B12C D0 63 11 1C */ stfs f3, 0x111c(r3) -/* 8005E1D0 0005B130 4E 80 00 20 */ blr - -.global SetWeaponWorldLighting__9CGameAreaFff -SetWeaponWorldLighting__9CGameAreaFff: -/* 8005E1D4 0005B134 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005E1D8 0005B138 D0 24 11 34 */ stfs f1, 0x1134(r4) -/* 8005E1DC 0005B13C 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005E1E0 0005B140 D0 43 11 38 */ stfs f2, 0x1138(r3) -/* 8005E1E4 0005B144 4E 80 00 20 */ blr - -.global sub_8005e1e8 -sub_8005e1e8: -/* 8005E1E8 0005B148 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005E1EC 0005B14C D0 24 11 2C */ stfs f1, 0x112c(r4) -/* 8005E1F0 0005B150 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005E1F4 0005B154 D0 43 11 30 */ stfs f2, 0x1130(r3) -/* 8005E1F8 0005B158 4E 80 00 20 */ blr - -.global sub_8005e1fc -sub_8005e1fc: -/* 8005E1FC 0005B15C 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005E200 0005B160 D0 24 11 20 */ stfs f1, 0x1120(r4) -/* 8005E204 0005B164 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005E208 0005B168 D0 43 11 24 */ stfs f2, 0x1124(r3) -/* 8005E20C 0005B16C 4E 80 00 20 */ blr - -.global sub_8005e210 -sub_8005e210: -/* 8005E210 0005B170 80 A3 01 2C */ lwz r5, 0x12c(r3) -/* 8005E214 0005B174 28 04 00 00 */ cmplwi r4, 0 -/* 8005E218 0005B178 90 85 10 D8 */ stw r4, 0x10d8(r5) -/* 8005E21C 0005B17C 4D 82 00 20 */ beqlr -/* 8005E220 0005B180 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8005E224 0005B184 80 A3 01 2C */ lwz r5, 0x12c(r3) -/* 8005E228 0005B188 D0 05 11 1C */ stfs f0, 0x111c(r5) -/* 8005E22C 0005B18C C0 04 00 48 */ lfs f0, 0x48(r4) -/* 8005E230 0005B190 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005E234 0005B194 D0 03 11 28 */ stfs f0, 0x1128(r3) -/* 8005E238 0005B198 4E 80 00 20 */ blr - -.global GetXRayFogDistance__9CGameAreaFv -GetXRayFogDistance__9CGameAreaFv: -/* 8005E23C 0005B19C 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005E240 0005B1A0 80 63 10 D8 */ lwz r3, 0x10d8(r3) -/* 8005E244 0005B1A4 28 03 00 00 */ cmplwi r3, 0 -/* 8005E248 0005B1A8 41 82 00 0C */ beq lbl_8005E254 -/* 8005E24C 0005B1AC C0 23 00 44 */ lfs f1, 0x44(r3) -/* 8005E250 0005B1B0 4E 80 00 20 */ blr -lbl_8005E254: -/* 8005E254 0005B1B4 C0 22 87 08 */ lfs f1, lbl_805AA428@sda21(r2) -/* 8005E258 0005B1B8 4E 80 00 20 */ blr - -.global SetLoadPauseState__9CGameAreaFb -SetLoadPauseState__9CGameAreaFb: -/* 8005E25C 0005B1BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005E260 0005B1C0 7C 08 02 A6 */ mflr r0 -/* 8005E264 0005B1C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005E268 0005B1C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005E26C 0005B1CC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005E270 0005B1D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005E274 0005B1D4 7C 7D 1B 78 */ mr r29, r3 -/* 8005E278 0005B1D8 88 63 00 F0 */ lbz r3, 0xf0(r3) -/* 8005E27C 0005B1DC 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8005E280 0005B1E0 40 82 00 50 */ bne lbl_8005E2D0 -/* 8005E284 0005B1E4 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 8005E288 0005B1E8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8005E28C 0005B1EC 98 7D 00 F0 */ stb r3, 0xf0(r29) -/* 8005E290 0005B1F0 41 82 00 40 */ beq lbl_8005E2D0 -/* 8005E294 0005B1F4 3B C0 00 00 */ li r30, 0 -/* 8005E298 0005B1F8 3B E0 00 00 */ li r31, 0 -/* 8005E29C 0005B1FC 48 00 00 28 */ b lbl_8005E2C4 -lbl_8005E2A0: -/* 8005E2A0 0005B200 80 1D 00 E8 */ lwz r0, 0xe8(r29) -/* 8005E2A4 0005B204 7C 60 FA 14 */ add r3, r0, r31 -/* 8005E2A8 0005B208 80 83 00 00 */ lwz r4, 0(r3) -/* 8005E2AC 0005B20C 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8005E2B0 0005B210 28 00 00 00 */ cmplwi r0, 0 -/* 8005E2B4 0005B214 40 82 00 08 */ bne lbl_8005E2BC -/* 8005E2B8 0005B218 48 2E 2A 89 */ bl Unlock__6CTokenFv -lbl_8005E2BC: -/* 8005E2BC 0005B21C 3B FF 00 08 */ addi r31, r31, 8 -/* 8005E2C0 0005B220 3B DE 00 01 */ addi r30, r30, 1 -lbl_8005E2C4: -/* 8005E2C4 0005B224 80 1D 00 E0 */ lwz r0, 0xe0(r29) -/* 8005E2C8 0005B228 7C 1E 00 00 */ cmpw r30, r0 -/* 8005E2CC 0005B22C 41 80 FF D4 */ blt lbl_8005E2A0 -lbl_8005E2D0: -/* 8005E2D0 0005B230 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005E2D4 0005B234 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005E2D8 0005B238 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005E2DC 0005B23C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8005E2E0 0005B240 7C 08 03 A6 */ mtlr r0 -/* 8005E2E4 0005B244 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005E2E8 0005B248 4E 80 00 20 */ blr - -.global GetLayerScriptBuffer__9CGameAreaFi -GetLayerScriptBuffer__9CGameAreaFi: -/* 8005E2EC 0005B24C 88 04 00 F0 */ lbz r0, 0xf0(r4) -/* 8005E2F0 0005B250 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005E2F4 0005B254 41 82 00 34 */ beq lbl_8005E328 -/* 8005E2F8 0005B258 80 84 01 2C */ lwz r4, 0x12c(r4) -/* 8005E2FC 0005B25C 80 05 00 00 */ lwz r0, 0(r5) -/* 8005E300 0005B260 80 A4 11 18 */ lwz r5, 0x1118(r4) -/* 8005E304 0005B264 54 00 18 38 */ slwi r0, r0, 3 -/* 8005E308 0005B268 80 84 10 CC */ lwz r4, 0x10cc(r4) -/* 8005E30C 0005B26C 7C A5 02 14 */ add r5, r5, r0 -/* 8005E310 0005B270 80 05 00 00 */ lwz r0, 0(r5) -/* 8005E314 0005B274 7C 04 02 14 */ add r0, r4, r0 -/* 8005E318 0005B278 90 03 00 00 */ stw r0, 0(r3) -/* 8005E31C 0005B27C 80 05 00 04 */ lwz r0, 4(r5) -/* 8005E320 0005B280 90 03 00 04 */ stw r0, 4(r3) -/* 8005E324 0005B284 4E 80 00 20 */ blr -lbl_8005E328: -/* 8005E328 0005B288 38 00 00 00 */ li r0, 0 -/* 8005E32C 0005B28C 90 03 00 00 */ stw r0, 0(r3) -/* 8005E330 0005B290 80 0D 82 E8 */ lwz r0, lbl_805A6EA8@sda21(r13) -/* 8005E334 0005B294 90 03 00 04 */ stw r0, 4(r3) -/* 8005E338 0005B298 4E 80 00 20 */ blr - -.global IsFinishedOccluding__9CGameAreaCFv -IsFinishedOccluding__9CGameAreaCFv: -/* 8005E33C 0005B29C 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005E340 0005B2A0 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 8005E344 0005B2A4 2C 00 00 00 */ cmpwi r0, 0 -/* 8005E348 0005B2A8 40 82 00 10 */ bne lbl_8005E358 -/* 8005E34C 0005B2AC 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 8005E350 0005B2B0 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 8005E354 0005B2B4 4E 80 00 20 */ blr -lbl_8005E358: -/* 8005E358 0005B2B8 38 60 00 01 */ li r3, 1 -/* 8005E35C 0005B2BC 4E 80 00 20 */ blr - -.global IGetScriptingMemoryAlways__14CDummyGameAreaCFv -IGetScriptingMemoryAlways__14CDummyGameAreaCFv: -/* 8005E360 0005B2C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005E364 0005B2C4 7C 08 02 A6 */ mflr r0 -/* 8005E368 0005B2C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005E36C 0005B2CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005E370 0005B2D0 7C 7F 1B 78 */ mr r31, r3 -/* 8005E374 0005B2D4 48 00 46 51 */ bl GetScriptingMemoryAlways__FRC9IGameArea -/* 8005E378 0005B2D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005E37C 0005B2DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005E380 0005B2E0 7C 08 03 A6 */ mtlr r0 -/* 8005E384 0005B2E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005E388 0005B2E8 4E 80 00 20 */ blr - -.global IGetAreaId__14CDummyGameAreaCFv -IGetAreaId__14CDummyGameAreaCFv: -/* 8005E38C 0005B2EC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8005E390 0005B2F0 4E 80 00 20 */ blr - -.global IGetAreaAssetID__14CDummyGameAreaCFv -IGetAreaAssetID__14CDummyGameAreaCFv: -/* 8005E394 0005B2F4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8005E398 0005B2F8 4E 80 00 20 */ blr - -.global IIsActive__14CDummyGameAreaCFv -IIsActive__14CDummyGameAreaCFv: -/* 8005E39C 0005B2FC 38 60 00 01 */ li r3, 1 -/* 8005E3A0 0005B300 4E 80 00 20 */ blr - -.global IGetAttachedAreaId__14CDummyGameAreaCFi -IGetAttachedAreaId__14CDummyGameAreaCFi: -/* 8005E3A4 0005B304 80 84 00 50 */ lwz r4, 0x50(r4) -/* 8005E3A8 0005B308 54 A0 08 3C */ slwi r0, r5, 1 -/* 8005E3AC 0005B30C 7C 04 02 2E */ lhzx r0, r4, r0 -/* 8005E3B0 0005B310 90 03 00 00 */ stw r0, 0(r3) -/* 8005E3B4 0005B314 4E 80 00 20 */ blr - -.global IGetNumAttachedAreas__14CDummyGameAreaCFv -IGetNumAttachedAreas__14CDummyGameAreaCFv: -/* 8005E3B8 0005B318 80 63 00 48 */ lwz r3, 0x48(r3) -/* 8005E3BC 0005B31C 4E 80 00 20 */ blr - -.global IGetStringTableAssetId__14CDummyGameAreaCFv -IGetStringTableAssetId__14CDummyGameAreaCFv: -/* 8005E3C0 0005B320 80 63 00 08 */ lwz r3, 8(r3) -/* 8005E3C4 0005B324 4E 80 00 20 */ blr - -.global IGetTM__14CDummyGameAreaCFv -IGetTM__14CDummyGameAreaCFv: -/* 8005E3C8 0005B328 38 63 00 14 */ addi r3, r3, 0x14 -/* 8005E3CC 0005B32C 4E 80 00 20 */ blr - -.global __ct__14CDummyGameAreaFR12CInputStreamii -__ct__14CDummyGameAreaFR12CInputStreamii: -/* 8005E3D0 0005B330 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8005E3D4 0005B334 7C 08 02 A6 */ mflr r0 -/* 8005E3D8 0005B338 3C E0 80 3E */ lis r7, lbl_803DA26C@ha -/* 8005E3DC 0005B33C 90 01 01 44 */ stw r0, 0x144(r1) -/* 8005E3E0 0005B340 38 07 A2 6C */ addi r0, r7, lbl_803DA26C@l -/* 8005E3E4 0005B344 38 E0 FF FF */ li r7, -1 -/* 8005E3E8 0005B348 BF 41 01 28 */ stmw r26, 0x128(r1) -/* 8005E3EC 0005B34C 7C 7D 1B 78 */ mr r29, r3 -/* 8005E3F0 0005B350 3C 60 80 3E */ lis r3, lbl_803DA208@ha -/* 8005E3F4 0005B354 7C 9E 23 78 */ mr r30, r4 -/* 8005E3F8 0005B358 7C DF 33 78 */ mr r31, r6 -/* 8005E3FC 0005B35C 90 1D 00 00 */ stw r0, 0(r29) -/* 8005E400 0005B360 38 03 A2 08 */ addi r0, r3, lbl_803DA208@l -/* 8005E404 0005B364 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8005E408 0005B368 90 1D 00 00 */ stw r0, 0(r29) -/* 8005E40C 0005B36C 38 03 66 70 */ addi r0, r3, skIdentity4f@l -/* 8005E410 0005B370 7C 04 03 78 */ mr r4, r0 -/* 8005E414 0005B374 38 7D 00 14 */ addi r3, r29, 0x14 -/* 8005E418 0005B378 90 BD 00 04 */ stw r5, 4(r29) -/* 8005E41C 0005B37C 90 FD 00 08 */ stw r7, 8(r29) -/* 8005E420 0005B380 48 2B 47 55 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8005E424 0005B384 38 00 00 00 */ li r0, 0 -/* 8005E428 0005B388 7F C3 F3 78 */ mr r3, r30 -/* 8005E42C 0005B38C 90 1D 00 48 */ stw r0, 0x48(r29) -/* 8005E430 0005B390 90 1D 00 4C */ stw r0, 0x4c(r29) -/* 8005E434 0005B394 90 1D 00 50 */ stw r0, 0x50(r29) -/* 8005E438 0005B398 90 1D 00 58 */ stw r0, 0x58(r29) -/* 8005E43C 0005B39C 90 1D 00 5C */ stw r0, 0x5c(r29) -/* 8005E440 0005B3A0 90 1D 00 60 */ stw r0, 0x60(r29) -/* 8005E444 0005B3A4 48 2E 08 41 */ bl ReadLong__12CInputStreamFv -/* 8005E448 0005B3A8 90 7D 00 08 */ stw r3, 8(r29) -/* 8005E44C 0005B3AC 7F C4 F3 78 */ mr r4, r30 -/* 8005E450 0005B3B0 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8005E454 0005B3B4 48 2B 4E 89 */ bl __ct__12CTransform4fFR12CInputStream -/* 8005E458 0005B3B8 7C 64 1B 78 */ mr r4, r3 -/* 8005E45C 0005B3BC 38 7D 00 14 */ addi r3, r29, 0x14 -/* 8005E460 0005B3C0 48 2B 46 E1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8005E464 0005B3C4 7F C4 F3 78 */ mr r4, r30 -/* 8005E468 0005B3C8 38 61 00 90 */ addi r3, r1, 0x90 -/* 8005E46C 0005B3CC 48 2D A0 D1 */ bl __ct__6CAABoxFR12CInputStream -/* 8005E470 0005B3D0 7F C3 F3 78 */ mr r3, r30 -/* 8005E474 0005B3D4 48 2E 08 11 */ bl ReadLong__12CInputStreamFv -/* 8005E478 0005B3D8 2C 1F 00 0F */ cmpwi r31, 0xf -/* 8005E47C 0005B3DC 90 7D 00 0C */ stw r3, 0xc(r29) -/* 8005E480 0005B3E0 40 81 00 10 */ ble lbl_8005E490 -/* 8005E484 0005B3E4 7F C3 F3 78 */ mr r3, r30 -/* 8005E488 0005B3E8 48 2E 07 FD */ bl ReadLong__12CInputStreamFv -/* 8005E48C 0005B3EC 90 7D 00 10 */ stw r3, 0x10(r29) -lbl_8005E490: -/* 8005E490 0005B3F0 38 00 00 00 */ li r0, 0 -/* 8005E494 0005B3F4 7F C3 F3 78 */ mr r3, r30 -/* 8005E498 0005B3F8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8005E49C 0005B3FC 90 01 00 58 */ stw r0, 0x58(r1) -/* 8005E4A0 0005B400 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8005E4A4 0005B404 48 2E 07 E1 */ bl ReadLong__12CInputStreamFv -/* 8005E4A8 0005B408 7C 7A 1B 78 */ mr r26, r3 -/* 8005E4AC 0005B40C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8005E4B0 0005B410 7F 44 D3 78 */ mr r4, r26 -/* 8005E4B4 0005B414 48 00 5E 4D */ bl "reserve__Q24rstl37vectorFi" -/* 8005E4B8 0005B418 3B 60 00 00 */ li r27, 0 -/* 8005E4BC 0005B41C 48 00 00 60 */ b lbl_8005E51C -lbl_8005E4C0: -/* 8005E4C0 0005B420 7F C3 F3 78 */ mr r3, r30 -/* 8005E4C4 0005B424 48 2E 07 ED */ bl ReadShort__12CInputStreamFv -/* 8005E4C8 0005B428 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8005E4CC 0005B42C 7C 7C 1B 78 */ mr r28, r3 -/* 8005E4D0 0005B430 80 A1 00 58 */ lwz r5, 0x58(r1) -/* 8005E4D4 0005B434 7C 00 28 00 */ cmpw r0, r5 -/* 8005E4D8 0005B438 41 80 00 1C */ blt lbl_8005E4F4 -/* 8005E4DC 0005B43C 2C 05 00 00 */ cmpwi r5, 0 -/* 8005E4E0 0005B440 38 61 00 50 */ addi r3, r1, 0x50 -/* 8005E4E4 0005B444 38 80 00 04 */ li r4, 4 -/* 8005E4E8 0005B448 41 82 00 08 */ beq lbl_8005E4F0 -/* 8005E4EC 0005B44C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005E4F0: -/* 8005E4F0 0005B450 48 00 5E 11 */ bl "reserve__Q24rstl37vectorFi" -lbl_8005E4F4: -/* 8005E4F4 0005B454 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8005E4F8 0005B458 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8005E4FC 0005B45C 54 00 08 3C */ slwi r0, r0, 1 -/* 8005E500 0005B460 7C 63 02 15 */ add. r3, r3, r0 -/* 8005E504 0005B464 41 82 00 08 */ beq lbl_8005E50C -/* 8005E508 0005B468 B3 83 00 00 */ sth r28, 0(r3) -lbl_8005E50C: -/* 8005E50C 0005B46C 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8005E510 0005B470 3B 7B 00 01 */ addi r27, r27, 1 -/* 8005E514 0005B474 38 03 00 01 */ addi r0, r3, 1 -/* 8005E518 0005B478 90 01 00 54 */ stw r0, 0x54(r1) -lbl_8005E51C: -/* 8005E51C 0005B47C 7C 1B D0 00 */ cmpw r27, r26 -/* 8005E520 0005B480 41 80 FF A0 */ blt lbl_8005E4C0 -/* 8005E524 0005B484 38 7D 00 44 */ addi r3, r29, 0x44 -/* 8005E528 0005B488 38 81 00 50 */ addi r4, r1, 0x50 -/* 8005E52C 0005B48C 48 00 04 DD */ bl sub_8005ea08 -/* 8005E530 0005B490 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8005E534 0005B494 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8005E538 0005B498 54 00 08 3C */ slwi r0, r0, 1 -/* 8005E53C 0005B49C 7C 03 02 14 */ add r0, r3, r0 -/* 8005E540 0005B4A0 90 61 00 44 */ stw r3, 0x44(r1) -/* 8005E544 0005B4A4 7C 64 1B 78 */ mr r4, r3 -/* 8005E548 0005B4A8 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8005E54C 0005B4AC 90 01 00 48 */ stw r0, 0x48(r1) -/* 8005E550 0005B4B0 90 61 00 40 */ stw r3, 0x40(r1) -/* 8005E554 0005B4B4 48 00 00 08 */ b lbl_8005E55C -lbl_8005E558: -/* 8005E558 0005B4B8 38 84 00 02 */ addi r4, r4, 2 -lbl_8005E55C: -/* 8005E55C 0005B4BC 7C 04 00 40 */ cmplw r4, r0 -/* 8005E560 0005B4C0 40 82 FF F8 */ bne lbl_8005E558 -/* 8005E564 0005B4C4 28 03 00 00 */ cmplwi r3, 0 -/* 8005E568 0005B4C8 41 82 00 08 */ beq lbl_8005E570 -/* 8005E56C 0005B4CC 48 2B 73 C5 */ bl Free__7CMemoryFPCv -lbl_8005E570: -/* 8005E570 0005B4D0 7F C4 F3 78 */ mr r4, r30 -/* 8005E574 0005B4D4 38 61 00 80 */ addi r3, r1, 0x80 -/* 8005E578 0005B4D8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8005E57C 0005B4DC 48 00 03 B9 */ bl ReadDependencyList__9CGameArea -/* 8005E580 0005B4E0 7F C4 F3 78 */ mr r4, r30 -/* 8005E584 0005B4E4 38 61 00 70 */ addi r3, r1, 0x70 -/* 8005E588 0005B4E8 38 A1 00 08 */ addi r5, r1, 8 -/* 8005E58C 0005B4EC 48 00 03 A9 */ bl ReadDependencyList__9CGameArea -/* 8005E590 0005B4F0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8005E594 0005B4F4 80 61 00 7C */ lwz r3, 0x7c(r1) -/* 8005E598 0005B4F8 54 00 18 38 */ slwi r0, r0, 3 -/* 8005E59C 0005B4FC 7C 03 02 14 */ add r0, r3, r0 -/* 8005E5A0 0005B500 90 61 00 34 */ stw r3, 0x34(r1) -/* 8005E5A4 0005B504 7C 64 1B 78 */ mr r4, r3 -/* 8005E5A8 0005B508 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8005E5AC 0005B50C 90 01 00 38 */ stw r0, 0x38(r1) -/* 8005E5B0 0005B510 90 61 00 30 */ stw r3, 0x30(r1) -/* 8005E5B4 0005B514 48 00 00 08 */ b lbl_8005E5BC -lbl_8005E5B8: -/* 8005E5B8 0005B518 38 84 00 08 */ addi r4, r4, 8 -lbl_8005E5BC: -/* 8005E5BC 0005B51C 7C 04 00 40 */ cmplw r4, r0 -/* 8005E5C0 0005B520 40 82 FF F8 */ bne lbl_8005E5B8 -/* 8005E5C4 0005B524 28 03 00 00 */ cmplwi r3, 0 -/* 8005E5C8 0005B528 41 82 00 08 */ beq lbl_8005E5D0 -/* 8005E5CC 0005B52C 48 2B 73 65 */ bl Free__7CMemoryFPCv -lbl_8005E5D0: -/* 8005E5D0 0005B530 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8005E5D4 0005B534 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 8005E5D8 0005B538 54 00 18 38 */ slwi r0, r0, 3 -/* 8005E5DC 0005B53C 7C 03 02 14 */ add r0, r3, r0 -/* 8005E5E0 0005B540 90 61 00 24 */ stw r3, 0x24(r1) -/* 8005E5E4 0005B544 7C 64 1B 78 */ mr r4, r3 -/* 8005E5E8 0005B548 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8005E5EC 0005B54C 90 01 00 28 */ stw r0, 0x28(r1) -/* 8005E5F0 0005B550 90 61 00 20 */ stw r3, 0x20(r1) -/* 8005E5F4 0005B554 48 00 00 08 */ b lbl_8005E5FC -lbl_8005E5F8: -/* 8005E5F8 0005B558 38 84 00 08 */ addi r4, r4, 8 -lbl_8005E5FC: -/* 8005E5FC 0005B55C 7C 04 00 40 */ cmplw r4, r0 -/* 8005E600 0005B560 40 82 FF F8 */ bne lbl_8005E5F8 -/* 8005E604 0005B564 28 03 00 00 */ cmplwi r3, 0 -/* 8005E608 0005B568 41 82 00 08 */ beq lbl_8005E610 -/* 8005E60C 0005B56C 48 2B 73 25 */ bl Free__7CMemoryFPCv -lbl_8005E610: -/* 8005E610 0005B570 2C 1F 00 0D */ cmpwi r31, 0xd -/* 8005E614 0005B574 40 81 00 D8 */ ble lbl_8005E6EC -/* 8005E618 0005B578 38 00 00 00 */ li r0, 0 -/* 8005E61C 0005B57C 7F C3 F3 78 */ mr r3, r30 -/* 8005E620 0005B580 90 01 00 64 */ stw r0, 0x64(r1) -/* 8005E624 0005B584 90 01 00 68 */ stw r0, 0x68(r1) -/* 8005E628 0005B588 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8005E62C 0005B58C 48 2E 06 59 */ bl ReadLong__12CInputStreamFv -/* 8005E630 0005B590 7C 7A 1B 78 */ mr r26, r3 -/* 8005E634 0005B594 38 61 00 60 */ addi r3, r1, 0x60 -/* 8005E638 0005B598 7F 44 D3 78 */ mr r4, r26 -/* 8005E63C 0005B59C 48 00 54 E9 */ bl "reserve__Q24rstl37vectorFi" -/* 8005E640 0005B5A0 3B 60 00 00 */ li r27, 0 -/* 8005E644 0005B5A4 48 00 00 60 */ b lbl_8005E6A4 -lbl_8005E648: -/* 8005E648 0005B5A8 7F C3 F3 78 */ mr r3, r30 -/* 8005E64C 0005B5AC 48 2E 06 39 */ bl ReadLong__12CInputStreamFv -/* 8005E650 0005B5B0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8005E654 0005B5B4 7C 7F 1B 78 */ mr r31, r3 -/* 8005E658 0005B5B8 80 A1 00 68 */ lwz r5, 0x68(r1) -/* 8005E65C 0005B5BC 7C 00 28 00 */ cmpw r0, r5 -/* 8005E660 0005B5C0 41 80 00 1C */ blt lbl_8005E67C -/* 8005E664 0005B5C4 2C 05 00 00 */ cmpwi r5, 0 -/* 8005E668 0005B5C8 38 61 00 60 */ addi r3, r1, 0x60 -/* 8005E66C 0005B5CC 38 80 00 04 */ li r4, 4 -/* 8005E670 0005B5D0 41 82 00 08 */ beq lbl_8005E678 -/* 8005E674 0005B5D4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005E678: -/* 8005E678 0005B5D8 48 00 54 AD */ bl "reserve__Q24rstl37vectorFi" -lbl_8005E67C: -/* 8005E67C 0005B5DC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8005E680 0005B5E0 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 8005E684 0005B5E4 54 00 10 3A */ slwi r0, r0, 2 -/* 8005E688 0005B5E8 7C 63 02 15 */ add. r3, r3, r0 -/* 8005E68C 0005B5EC 41 82 00 08 */ beq lbl_8005E694 -/* 8005E690 0005B5F0 93 E3 00 00 */ stw r31, 0(r3) -lbl_8005E694: -/* 8005E694 0005B5F4 80 61 00 64 */ lwz r3, 0x64(r1) -/* 8005E698 0005B5F8 3B 7B 00 01 */ addi r27, r27, 1 -/* 8005E69C 0005B5FC 38 03 00 01 */ addi r0, r3, 1 -/* 8005E6A0 0005B600 90 01 00 64 */ stw r0, 0x64(r1) -lbl_8005E6A4: -/* 8005E6A4 0005B604 7C 1B D0 00 */ cmpw r27, r26 -/* 8005E6A8 0005B608 41 80 FF A0 */ blt lbl_8005E648 -/* 8005E6AC 0005B60C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8005E6B0 0005B610 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 8005E6B4 0005B614 54 00 10 3A */ slwi r0, r0, 2 -/* 8005E6B8 0005B618 7C 03 02 14 */ add r0, r3, r0 -/* 8005E6BC 0005B61C 90 61 00 14 */ stw r3, 0x14(r1) -/* 8005E6C0 0005B620 7C 64 1B 78 */ mr r4, r3 -/* 8005E6C4 0005B624 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8005E6C8 0005B628 90 01 00 18 */ stw r0, 0x18(r1) -/* 8005E6CC 0005B62C 90 61 00 10 */ stw r3, 0x10(r1) -/* 8005E6D0 0005B630 48 00 00 08 */ b lbl_8005E6D8 -lbl_8005E6D4: -/* 8005E6D4 0005B634 38 84 00 04 */ addi r4, r4, 4 -lbl_8005E6D8: -/* 8005E6D8 0005B638 7C 04 00 40 */ cmplw r4, r0 -/* 8005E6DC 0005B63C 40 82 FF F8 */ bne lbl_8005E6D4 -/* 8005E6E0 0005B640 28 03 00 00 */ cmplwi r3, 0 -/* 8005E6E4 0005B644 41 82 00 08 */ beq lbl_8005E6EC -/* 8005E6E8 0005B648 48 2B 72 49 */ bl Free__7CMemoryFPCv -lbl_8005E6EC: -/* 8005E6EC 0005B64C 7F C3 F3 78 */ mr r3, r30 -/* 8005E6F0 0005B650 48 2E 05 95 */ bl ReadLong__12CInputStreamFv -/* 8005E6F4 0005B654 7C 7A 1B 78 */ mr r26, r3 -/* 8005E6F8 0005B658 38 7D 00 54 */ addi r3, r29, 0x54 -/* 8005E6FC 0005B65C 7F 44 D3 78 */ mr r4, r26 -/* 8005E700 0005B660 48 00 5C ED */ bl sub_800643ec -/* 8005E704 0005B664 3B 60 00 00 */ li r27, 0 -/* 8005E708 0005B668 48 00 00 30 */ b lbl_8005E738 -lbl_8005E70C: -/* 8005E70C 0005B66C 7F C4 F3 78 */ mr r4, r30 -/* 8005E710 0005B670 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8005E714 0005B674 38 BD 00 14 */ addi r5, r29, 0x14 -/* 8005E718 0005B678 48 00 0C 69 */ bl __ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f -/* 8005E71C 0005B67C 38 7D 00 54 */ addi r3, r29, 0x54 -/* 8005E720 0005B680 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8005E724 0005B684 48 00 00 35 */ bl sub_8005e758 -/* 8005E728 0005B688 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8005E72C 0005B68C 38 80 FF FF */ li r4, -1 -/* 8005E730 0005B690 4B FF 89 B9 */ bl sub_800570e8 -/* 8005E734 0005B694 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8005E738: -/* 8005E738 0005B698 7C 1B D0 00 */ cmpw r27, r26 -/* 8005E73C 0005B69C 41 80 FF D0 */ blt lbl_8005E70C -/* 8005E740 0005B6A0 7F A3 EB 78 */ mr r3, r29 -/* 8005E744 0005B6A4 BB 41 01 28 */ lmw r26, 0x128(r1) -/* 8005E748 0005B6A8 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8005E74C 0005B6AC 7C 08 03 A6 */ mtlr r0 -/* 8005E750 0005B6B0 38 21 01 40 */ addi r1, r1, 0x140 -/* 8005E754 0005B6B4 4E 80 00 20 */ blr - -.global sub_8005e758 -sub_8005e758: -/* 8005E758 0005B6B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005E75C 0005B6BC 7C 08 02 A6 */ mflr r0 -/* 8005E760 0005B6C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005E764 0005B6C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005E768 0005B6C8 7C 9F 23 78 */ mr r31, r4 -/* 8005E76C 0005B6CC 93 C1 00 08 */ stw r30, 8(r1) -/* 8005E770 0005B6D0 7C 7E 1B 78 */ mr r30, r3 -/* 8005E774 0005B6D4 80 03 00 04 */ lwz r0, 4(r3) -/* 8005E778 0005B6D8 80 A3 00 08 */ lwz r5, 8(r3) -/* 8005E77C 0005B6DC 7C 00 28 00 */ cmpw r0, r5 -/* 8005E780 0005B6E0 41 80 00 18 */ blt lbl_8005E798 -/* 8005E784 0005B6E4 2C 05 00 00 */ cmpwi r5, 0 -/* 8005E788 0005B6E8 38 80 00 04 */ li r4, 4 -/* 8005E78C 0005B6EC 41 82 00 08 */ beq lbl_8005E794 -/* 8005E790 0005B6F0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005E794: -/* 8005E794 0005B6F4 48 00 5C 59 */ bl sub_800643ec -lbl_8005E798: -/* 8005E798 0005B6F8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005E79C 0005B6FC 7F E4 FB 78 */ mr r4, r31 -/* 8005E7A0 0005B700 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8005E7A4 0005B704 1C 00 00 4C */ mulli r0, r0, 0x4c -/* 8005E7A8 0005B708 7C 63 02 14 */ add r3, r3, r0 -/* 8005E7AC 0005B70C 48 00 00 29 */ bl sub_8005e7d4 -/* 8005E7B0 0005B710 80 7E 00 04 */ lwz r3, 4(r30) -/* 8005E7B4 0005B714 38 03 00 01 */ addi r0, r3, 1 -/* 8005E7B8 0005B718 90 1E 00 04 */ stw r0, 4(r30) -/* 8005E7BC 0005B71C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005E7C0 0005B720 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005E7C4 0005B724 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005E7C8 0005B728 7C 08 03 A6 */ mtlr r0 -/* 8005E7CC 0005B72C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005E7D0 0005B730 4E 80 00 20 */ blr - -.global sub_8005e7d4 -sub_8005e7d4: -/* 8005E7D4 0005B734 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005E7D8 0005B738 7C 08 02 A6 */ mflr r0 -/* 8005E7DC 0005B73C 28 03 00 00 */ cmplwi r3, 0 -/* 8005E7E0 0005B740 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005E7E4 0005B744 41 82 00 08 */ beq lbl_8005E7EC -/* 8005E7E8 0005B748 48 00 00 15 */ bl sub_8005e7fc -lbl_8005E7EC: -/* 8005E7EC 0005B74C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005E7F0 0005B750 7C 08 03 A6 */ mtlr r0 -/* 8005E7F4 0005B754 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005E7F8 0005B758 4E 80 00 20 */ blr - -.global sub_8005e7fc -sub_8005e7fc: -/* 8005E7FC 0005B75C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005E800 0005B760 7C 08 02 A6 */ mflr r0 -/* 8005E804 0005B764 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005E808 0005B768 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005E80C 0005B76C 7C 9F 23 78 */ mr r31, r4 -/* 8005E810 0005B770 93 C1 00 08 */ stw r30, 8(r1) -/* 8005E814 0005B774 7C 7E 1B 78 */ mr r30, r3 -/* 8005E818 0005B778 80 04 00 00 */ lwz r0, 0(r4) -/* 8005E81C 0005B77C 90 03 00 00 */ stw r0, 0(r3) -/* 8005E820 0005B780 80 04 00 08 */ lwz r0, 8(r4) -/* 8005E824 0005B784 90 03 00 08 */ stw r0, 8(r3) -/* 8005E828 0005B788 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8005E82C 0005B78C 90 03 00 0C */ stw r0, 0xc(r3) -/* 8005E830 0005B790 80 04 00 08 */ lwz r0, 8(r4) -/* 8005E834 0005B794 2C 00 00 00 */ cmpwi r0, 0 -/* 8005E838 0005B798 40 82 00 1C */ bne lbl_8005E854 -/* 8005E83C 0005B79C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8005E840 0005B7A0 2C 00 00 00 */ cmpwi r0, 0 -/* 8005E844 0005B7A4 40 82 00 10 */ bne lbl_8005E854 -/* 8005E848 0005B7A8 38 00 00 00 */ li r0, 0 -/* 8005E84C 0005B7AC 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8005E850 0005B7B0 48 00 00 74 */ b lbl_8005E8C4 -lbl_8005E854: -/* 8005E854 0005B7B4 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8005E858 0005B7B8 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 8005E85C 0005B7BC 40 82 00 10 */ bne lbl_8005E86C -/* 8005E860 0005B7C0 38 00 00 00 */ li r0, 0 -/* 8005E864 0005B7C4 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8005E868 0005B7C8 48 00 00 18 */ b lbl_8005E880 -lbl_8005E86C: -/* 8005E86C 0005B7CC 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 8005E870 0005B7D0 38 A0 00 00 */ li r5, 0 -/* 8005E874 0005B7D4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 8005E878 0005B7D8 48 2B 6F A1 */ bl __nwa__FUlPCcPCc -/* 8005E87C 0005B7DC 90 7E 00 10 */ stw r3, 0x10(r30) -lbl_8005E880: -/* 8005E880 0005B7E0 80 1E 00 08 */ lwz r0, 8(r30) -/* 8005E884 0005B7E4 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8005E888 0005B7E8 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8005E88C 0005B7EC 7C 09 03 A6 */ mtctr r0 -/* 8005E890 0005B7F0 2C 00 00 00 */ cmpwi r0, 0 -/* 8005E894 0005B7F4 40 81 00 30 */ ble lbl_8005E8C4 -lbl_8005E898: -/* 8005E898 0005B7F8 28 03 00 00 */ cmplwi r3, 0 -/* 8005E89C 0005B7FC 41 82 00 1C */ beq lbl_8005E8B8 -/* 8005E8A0 0005B800 80 04 00 00 */ lwz r0, 0(r4) -/* 8005E8A4 0005B804 90 03 00 00 */ stw r0, 0(r3) -/* 8005E8A8 0005B808 A8 04 00 04 */ lha r0, 4(r4) -/* 8005E8AC 0005B80C B0 03 00 04 */ sth r0, 4(r3) -/* 8005E8B0 0005B810 A8 04 00 06 */ lha r0, 6(r4) -/* 8005E8B4 0005B814 B0 03 00 06 */ sth r0, 6(r3) -lbl_8005E8B8: -/* 8005E8B8 0005B818 38 63 00 08 */ addi r3, r3, 8 -/* 8005E8BC 0005B81C 38 84 00 08 */ addi r4, r4, 8 -/* 8005E8C0 0005B820 42 00 FF D8 */ bdnz lbl_8005E898 -lbl_8005E8C4: -/* 8005E8C4 0005B824 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8005E8C8 0005B828 38 9F 00 18 */ addi r4, r31, 0x18 -/* 8005E8CC 0005B82C 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8005E8D0 0005B830 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8005E8D4 0005B834 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8005E8D8 0005B838 7C 09 03 A6 */ mtctr r0 -/* 8005E8DC 0005B83C 2C 00 00 00 */ cmpwi r0, 0 -/* 8005E8E0 0005B840 40 81 00 30 */ ble lbl_8005E910 -lbl_8005E8E4: -/* 8005E8E4 0005B844 28 03 00 00 */ cmplwi r3, 0 -/* 8005E8E8 0005B848 41 82 00 1C */ beq lbl_8005E904 -/* 8005E8EC 0005B84C C0 04 00 00 */ lfs f0, 0(r4) -/* 8005E8F0 0005B850 D0 03 00 00 */ stfs f0, 0(r3) -/* 8005E8F4 0005B854 C0 04 00 04 */ lfs f0, 4(r4) -/* 8005E8F8 0005B858 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005E8FC 0005B85C C0 04 00 08 */ lfs f0, 8(r4) -/* 8005E900 0005B860 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8005E904: -/* 8005E904 0005B864 38 63 00 0C */ addi r3, r3, 0xc -/* 8005E908 0005B868 38 84 00 0C */ addi r4, r4, 0xc -/* 8005E90C 0005B86C 42 00 FF D8 */ bdnz lbl_8005E8E4 -lbl_8005E910: -/* 8005E910 0005B870 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 8005E914 0005B874 7F C3 F3 78 */ mr r3, r30 -/* 8005E918 0005B878 98 1E 00 48 */ stb r0, 0x48(r30) -/* 8005E91C 0005B87C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005E920 0005B880 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005E924 0005B884 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005E928 0005B888 7C 08 03 A6 */ mtlr r0 -/* 8005E92C 0005B88C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005E930 0005B890 4E 80 00 20 */ blr - -.global ReadDependencyList__9CGameArea -ReadDependencyList__9CGameArea: -/* 8005E934 0005B894 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005E938 0005B898 7C 08 02 A6 */ mflr r0 -/* 8005E93C 0005B89C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005E940 0005B8A0 38 00 00 00 */ li r0, 0 -/* 8005E944 0005B8A4 BF 41 00 08 */ stmw r26, 8(r1) -/* 8005E948 0005B8A8 7C 7A 1B 78 */ mr r26, r3 -/* 8005E94C 0005B8AC 7C 9B 23 78 */ mr r27, r4 -/* 8005E950 0005B8B0 90 03 00 04 */ stw r0, 4(r3) -/* 8005E954 0005B8B4 7F 63 DB 78 */ mr r3, r27 -/* 8005E958 0005B8B8 90 1A 00 08 */ stw r0, 8(r26) -/* 8005E95C 0005B8BC 90 1A 00 0C */ stw r0, 0xc(r26) -/* 8005E960 0005B8C0 48 2E 03 25 */ bl ReadLong__12CInputStreamFv -/* 8005E964 0005B8C4 7C 7D 1B 78 */ mr r29, r3 -/* 8005E968 0005B8C8 7F 43 D3 78 */ mr r3, r26 -/* 8005E96C 0005B8CC 7F A4 EB 78 */ mr r4, r29 -/* 8005E970 0005B8D0 4B FA A0 DD */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" -/* 8005E974 0005B8D4 3B 80 00 00 */ li r28, 0 -/* 8005E978 0005B8D8 48 00 00 70 */ b lbl_8005E9E8 -lbl_8005E97C: -/* 8005E97C 0005B8DC 7F 63 DB 78 */ mr r3, r27 -/* 8005E980 0005B8E0 48 2E 03 05 */ bl ReadLong__12CInputStreamFv -/* 8005E984 0005B8E4 7C 7E 1B 78 */ mr r30, r3 -/* 8005E988 0005B8E8 7F 63 DB 78 */ mr r3, r27 -/* 8005E98C 0005B8EC 48 2E 02 F9 */ bl ReadLong__12CInputStreamFv -/* 8005E990 0005B8F0 80 1A 00 04 */ lwz r0, 4(r26) -/* 8005E994 0005B8F4 7C 7F 1B 78 */ mr r31, r3 -/* 8005E998 0005B8F8 80 BA 00 08 */ lwz r5, 8(r26) -/* 8005E99C 0005B8FC 7C 00 28 00 */ cmpw r0, r5 -/* 8005E9A0 0005B900 41 80 00 1C */ blt lbl_8005E9BC -/* 8005E9A4 0005B904 2C 05 00 00 */ cmpwi r5, 0 -/* 8005E9A8 0005B908 7F 43 D3 78 */ mr r3, r26 -/* 8005E9AC 0005B90C 38 80 00 04 */ li r4, 4 -/* 8005E9B0 0005B910 41 82 00 08 */ beq lbl_8005E9B8 -/* 8005E9B4 0005B914 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8005E9B8: -/* 8005E9B8 0005B918 4B FA A0 95 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" -lbl_8005E9BC: -/* 8005E9BC 0005B91C 80 1A 00 04 */ lwz r0, 4(r26) -/* 8005E9C0 0005B920 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 8005E9C4 0005B924 54 00 18 38 */ slwi r0, r0, 3 -/* 8005E9C8 0005B928 7C 63 02 15 */ add. r3, r3, r0 -/* 8005E9CC 0005B92C 41 82 00 0C */ beq lbl_8005E9D8 -/* 8005E9D0 0005B930 93 C3 00 00 */ stw r30, 0(r3) -/* 8005E9D4 0005B934 93 E3 00 04 */ stw r31, 4(r3) -lbl_8005E9D8: -/* 8005E9D8 0005B938 80 7A 00 04 */ lwz r3, 4(r26) -/* 8005E9DC 0005B93C 3B 9C 00 01 */ addi r28, r28, 1 -/* 8005E9E0 0005B940 38 03 00 01 */ addi r0, r3, 1 -/* 8005E9E4 0005B944 90 1A 00 04 */ stw r0, 4(r26) -lbl_8005E9E8: -/* 8005E9E8 0005B948 7C 1C E8 00 */ cmpw r28, r29 -/* 8005E9EC 0005B94C 41 80 FF 90 */ blt lbl_8005E97C -/* 8005E9F0 0005B950 7F 43 D3 78 */ mr r3, r26 -/* 8005E9F4 0005B954 BB 41 00 08 */ lmw r26, 8(r1) -/* 8005E9F8 0005B958 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005E9FC 0005B95C 7C 08 03 A6 */ mtlr r0 -/* 8005EA00 0005B960 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005EA04 0005B964 4E 80 00 20 */ blr - -.global sub_8005ea08 -sub_8005ea08: -/* 8005EA08 0005B968 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005EA0C 0005B96C 7C 08 02 A6 */ mflr r0 -/* 8005EA10 0005B970 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005EA14 0005B974 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005EA18 0005B978 7C 7F 1B 78 */ mr r31, r3 -/* 8005EA1C 0005B97C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005EA20 0005B980 7C 9E 23 78 */ mr r30, r4 -/* 8005EA24 0005B984 7C 1F F0 40 */ cmplw r31, r30 -/* 8005EA28 0005B988 40 82 00 08 */ bne lbl_8005EA30 -/* 8005EA2C 0005B98C 48 00 00 B8 */ b lbl_8005EAE4 -lbl_8005EA30: -/* 8005EA30 0005B990 80 1F 00 04 */ lwz r0, 4(r31) -/* 8005EA34 0005B994 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8005EA38 0005B998 54 00 08 3C */ slwi r0, r0, 1 -/* 8005EA3C 0005B99C 7C 03 02 14 */ add r0, r3, r0 -/* 8005EA40 0005B9A0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8005EA44 0005B9A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005EA48 0005B9A8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8005EA4C 0005B9AC 90 61 00 08 */ stw r3, 8(r1) -/* 8005EA50 0005B9B0 48 00 00 08 */ b lbl_8005EA58 -lbl_8005EA54: -/* 8005EA54 0005B9B4 38 63 00 02 */ addi r3, r3, 2 -lbl_8005EA58: -/* 8005EA58 0005B9B8 7C 03 00 40 */ cmplw r3, r0 -/* 8005EA5C 0005B9BC 40 82 FF F8 */ bne lbl_8005EA54 -/* 8005EA60 0005B9C0 38 00 00 00 */ li r0, 0 -/* 8005EA64 0005B9C4 90 1F 00 04 */ stw r0, 4(r31) -/* 8005EA68 0005B9C8 80 9E 00 04 */ lwz r4, 4(r30) -/* 8005EA6C 0005B9CC 2C 04 00 00 */ cmpwi r4, 0 -/* 8005EA70 0005B9D0 40 82 00 28 */ bne lbl_8005EA98 -/* 8005EA74 0005B9D4 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8005EA78 0005B9D8 28 03 00 00 */ cmplwi r3, 0 -/* 8005EA7C 0005B9DC 41 82 00 08 */ beq lbl_8005EA84 -/* 8005EA80 0005B9E0 48 2B 6E B1 */ bl Free__7CMemoryFPCv -lbl_8005EA84: -/* 8005EA84 0005B9E4 38 00 00 00 */ li r0, 0 -/* 8005EA88 0005B9E8 90 1F 00 04 */ stw r0, 4(r31) -/* 8005EA8C 0005B9EC 90 1F 00 08 */ stw r0, 8(r31) -/* 8005EA90 0005B9F0 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8005EA94 0005B9F4 48 00 00 4C */ b lbl_8005EAE0 -lbl_8005EA98: -/* 8005EA98 0005B9F8 7F E3 FB 78 */ mr r3, r31 -/* 8005EA9C 0005B9FC 48 00 58 65 */ bl "reserve__Q24rstl37vectorFi" -/* 8005EAA0 0005BA00 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005EAA4 0005BA04 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8005EAA8 0005BA08 54 00 08 3C */ slwi r0, r0, 1 -/* 8005EAAC 0005BA0C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8005EAB0 0005BA10 7C 85 02 14 */ add r4, r5, r0 -/* 8005EAB4 0005BA14 48 00 00 1C */ b lbl_8005EAD0 -lbl_8005EAB8: -/* 8005EAB8 0005BA18 28 03 00 00 */ cmplwi r3, 0 -/* 8005EABC 0005BA1C 41 82 00 0C */ beq lbl_8005EAC8 -/* 8005EAC0 0005BA20 A0 05 00 00 */ lhz r0, 0(r5) -/* 8005EAC4 0005BA24 B0 03 00 00 */ sth r0, 0(r3) -lbl_8005EAC8: -/* 8005EAC8 0005BA28 38 63 00 02 */ addi r3, r3, 2 -/* 8005EACC 0005BA2C 38 A5 00 02 */ addi r5, r5, 2 -lbl_8005EAD0: -/* 8005EAD0 0005BA30 7C 05 20 40 */ cmplw r5, r4 -/* 8005EAD4 0005BA34 40 82 FF E4 */ bne lbl_8005EAB8 -/* 8005EAD8 0005BA38 80 1E 00 04 */ lwz r0, 4(r30) -/* 8005EADC 0005BA3C 90 1F 00 04 */ stw r0, 4(r31) -lbl_8005EAE0: -/* 8005EAE0 0005BA40 7F E3 FB 78 */ mr r3, r31 -lbl_8005EAE4: -/* 8005EAE4 0005BA44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005EAE8 0005BA48 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005EAEC 0005BA4C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005EAF0 0005BA50 7C 08 03 A6 */ mtlr r0 -/* 8005EAF4 0005BA54 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005EAF8 0005BA58 4E 80 00 20 */ blr - -.global IGetScriptingMemoryAlways__9CGameAreaCFv -IGetScriptingMemoryAlways__9CGameAreaCFv: -/* 8005EAFC 0005BA5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005EB00 0005BA60 7C 08 02 A6 */ mflr r0 -/* 8005EB04 0005BA64 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005EB08 0005BA68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005EB0C 0005BA6C 7C 7F 1B 78 */ mr r31, r3 -/* 8005EB10 0005BA70 48 00 3E B5 */ bl GetScriptingMemoryAlways__FRC9IGameArea -/* 8005EB14 0005BA74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005EB18 0005BA78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005EB1C 0005BA7C 7C 08 03 A6 */ mtlr r0 -/* 8005EB20 0005BA80 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005EB24 0005BA84 4E 80 00 20 */ blr - -.global IGetAreaId__9CGameAreaCFv -IGetAreaId__9CGameAreaCFv: -/* 8005EB28 0005BA88 80 63 00 88 */ lwz r3, 0x88(r3) -/* 8005EB2C 0005BA8C 4E 80 00 20 */ blr - -.global IGetAreaAssetID__9CGameAreaCFv -IGetAreaAssetID__9CGameAreaCFv: -/* 8005EB30 0005BA90 80 63 00 84 */ lwz r3, 0x84(r3) -/* 8005EB34 0005BA94 4E 80 00 20 */ blr - -.global IIsActive__9CGameAreaCFv -IIsActive__9CGameAreaCFv: -/* 8005EB38 0005BA98 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8005EB3C 0005BA9C 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f -/* 8005EB40 0005BAA0 4E 80 00 20 */ blr - -.global IGetAttachedAreaId__9CGameAreaCFi -IGetAttachedAreaId__9CGameAreaCFi: -/* 8005EB44 0005BAA4 80 84 00 98 */ lwz r4, 0x98(r4) -/* 8005EB48 0005BAA8 54 A0 08 3C */ slwi r0, r5, 1 -/* 8005EB4C 0005BAAC 7C 04 02 2E */ lhzx r0, r4, r0 -/* 8005EB50 0005BAB0 90 03 00 00 */ stw r0, 0(r3) -/* 8005EB54 0005BAB4 4E 80 00 20 */ blr - -.global IGetNumAttachedAreas__9CGameAreaCFv -IGetNumAttachedAreas__9CGameAreaCFv: -/* 8005EB58 0005BAB8 80 63 00 90 */ lwz r3, 0x90(r3) -/* 8005EB5C 0005BABC 4E 80 00 20 */ blr - -.global IGetStringTableAssetId__9CGameAreaCFv -IGetStringTableAssetId__9CGameAreaCFv: -/* 8005EB60 0005BAC0 80 63 00 08 */ lwz r3, 8(r3) -/* 8005EB64 0005BAC4 4E 80 00 20 */ blr - -.global IGetTM__9CGameAreaCFv -IGetTM__9CGameAreaCFv: -/* 8005EB68 0005BAC8 38 63 00 0C */ addi r3, r3, 0xc -/* 8005EB6C 0005BACC 4E 80 00 20 */ blr - -.global TryTakingOutOfARAM__9CGameAreaFv -TryTakingOutOfARAM__9CGameAreaFv: -/* 8005EB70 0005BAD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005EB74 0005BAD4 7C 08 02 A6 */ mflr r0 -/* 8005EB78 0005BAD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005EB7C 0005BADC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005EB80 0005BAE0 93 C1 00 08 */ stw r30, 8(r1) -/* 8005EB84 0005BAE4 7C 7E 1B 78 */ mr r30, r3 -/* 8005EB88 0005BAE8 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005EB8C 0005BAEC 80 04 10 DC */ lwz r0, 0x10dc(r4) -/* 8005EB90 0005BAF0 2C 00 00 00 */ cmpwi r0, 0 -/* 8005EB94 0005BAF4 40 82 00 14 */ bne lbl_8005EBA8 -/* 8005EB98 0005BAF8 88 04 11 08 */ lbz r0, 0x1108(r4) -/* 8005EB9C 0005BAFC 38 60 00 01 */ li r3, 1 -/* 8005EBA0 0005BB00 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8005EBA4 0005BB04 98 04 11 08 */ stb r0, 0x1108(r4) -lbl_8005EBA8: -/* 8005EBA8 0005BB08 7F C3 F3 78 */ mr r3, r30 -/* 8005EBAC 0005BB0C 3B E0 00 00 */ li r31, 0 -/* 8005EBB0 0005BB10 38 80 00 01 */ li r4, 1 -/* 8005EBB4 0005BB14 48 00 0E 61 */ bl TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer -/* 8005EBB8 0005BB18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005EBBC 0005BB1C 41 82 00 18 */ beq lbl_8005EBD4 -/* 8005EBC0 0005BB20 7F C3 F3 78 */ mr r3, r30 -/* 8005EBC4 0005BB24 48 00 1B 09 */ bl ReloadAllUnloadedTextures__9CGameAreaFv -/* 8005EBC8 0005BB28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005EBCC 0005BB2C 41 82 00 08 */ beq lbl_8005EBD4 -/* 8005EBD0 0005BB30 3B E0 00 01 */ li r31, 1 -lbl_8005EBD4: -/* 8005EBD4 0005BB34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005EBD8 0005BB38 7F E3 FB 78 */ mr r3, r31 -/* 8005EBDC 0005BB3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005EBE0 0005BB40 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005EBE4 0005BB44 7C 08 03 A6 */ mtlr r0 -/* 8005EBE8 0005BB48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005EBEC 0005BB4C 4E 80 00 20 */ blr - -.global DoesAreaNeedEnvFx__9CGameAreaCFv -DoesAreaNeedEnvFx__9CGameAreaCFv: -/* 8005EBF0 0005BB50 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005EBF4 0005BB54 28 03 00 00 */ cmplwi r3, 0 -/* 8005EBF8 0005BB58 40 82 00 0C */ bne lbl_8005EC04 -/* 8005EBFC 0005BB5C 38 60 00 00 */ li r3, 0 -/* 8005EC00 0005BB60 4E 80 00 20 */ blr -lbl_8005EC04: -/* 8005EC04 0005BB64 80 83 10 D8 */ lwz r4, 0x10d8(r3) -/* 8005EC08 0005BB68 28 04 00 00 */ cmplwi r4, 0 -/* 8005EC0C 0005BB6C 40 82 00 0C */ bne lbl_8005EC18 -/* 8005EC10 0005BB70 38 60 00 00 */ li r3, 0 -/* 8005EC14 0005BB74 4E 80 00 20 */ blr -lbl_8005EC18: -/* 8005EC18 0005BB78 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 8005EC1C 0005BB7C 2C 00 00 01 */ cmpwi r0, 1 -/* 8005EC20 0005BB80 41 82 00 0C */ beq lbl_8005EC2C -/* 8005EC24 0005BB84 38 60 00 00 */ li r3, 0 -/* 8005EC28 0005BB88 4E 80 00 20 */ blr -lbl_8005EC2C: -/* 8005EC2C 0005BB8C 80 64 00 38 */ lwz r3, 0x38(r4) -/* 8005EC30 0005BB90 4E 80 00 20 */ blr - -.global DoesAreaNeedSkyNow__9CGameAreaCFv -DoesAreaNeedSkyNow__9CGameAreaCFv: -/* 8005EC34 0005BB94 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005EC38 0005BB98 28 03 00 00 */ cmplwi r3, 0 -/* 8005EC3C 0005BB9C 40 82 00 0C */ bne lbl_8005EC48 -/* 8005EC40 0005BBA0 38 60 00 00 */ li r3, 0 -/* 8005EC44 0005BBA4 4E 80 00 20 */ blr -lbl_8005EC48: -/* 8005EC48 0005BBA8 80 63 10 D8 */ lwz r3, 0x10d8(r3) -/* 8005EC4C 0005BBAC 28 03 00 00 */ cmplwi r3, 0 -/* 8005EC50 0005BBB0 41 82 00 10 */ beq lbl_8005EC60 -/* 8005EC54 0005BBB4 88 03 00 34 */ lbz r0, 0x34(r3) -/* 8005EC58 0005BBB8 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 8005EC5C 0005BBBC 4E 80 00 20 */ blr -lbl_8005EC60: -/* 8005EC60 0005BBC0 38 60 00 00 */ li r3, 0 -/* 8005EC64 0005BBC4 4E 80 00 20 */ blr - -.global SetCurrent__Q29CGameArea8CAreaFogCFv -SetCurrent__Q29CGameArea8CAreaFogCFv: -/* 8005EC68 0005BBC8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8005EC6C 0005BBCC 7C 08 02 A6 */ mflr r0 -/* 8005EC70 0005BBD0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8005EC74 0005BBD4 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8005EC78 0005BBD8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8005EC7C 0005BBDC DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8005EC80 0005BBE0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8005EC84 0005BBE4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005EC88 0005BBE8 7C 7F 1B 78 */ mr r31, r3 -/* 8005EC8C 0005BBEC C0 82 87 08 */ lfs f4, lbl_805AA428@sda21(r2) -/* 8005EC90 0005BBF0 C3 E3 00 08 */ lfs f31, 8(r3) -/* 8005EC94 0005BBF4 38 61 00 08 */ addi r3, r1, 8 -/* 8005EC98 0005BBF8 C3 DF 00 04 */ lfs f30, 4(r31) -/* 8005EC9C 0005BBFC C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8005ECA0 0005BC00 C0 5F 00 20 */ lfs f2, 0x20(r31) -/* 8005ECA4 0005BC04 C0 7F 00 24 */ lfs f3, 0x24(r31) -/* 8005ECA8 0005BC08 48 30 47 45 */ bl __ct__6CColorFffff -/* 8005ECAC 0005BC0C 7C 65 1B 78 */ mr r5, r3 -/* 8005ECB0 0005BC10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8005ECB4 0005BC14 FC 20 F0 90 */ fmr f1, f30 -/* 8005ECB8 0005BC18 80 9F 00 00 */ lwz r4, 0(r31) -/* 8005ECBC 0005BC1C 81 83 00 00 */ lwz r12, 0(r3) -/* 8005ECC0 0005BC20 FC 40 F8 90 */ fmr f2, f31 -/* 8005ECC4 0005BC24 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 8005ECC8 0005BC28 7D 89 03 A6 */ mtctr r12 -/* 8005ECCC 0005BC2C 4E 80 04 21 */ bctrl -/* 8005ECD0 0005BC30 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8005ECD4 0005BC34 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8005ECD8 0005BC38 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8005ECDC 0005BC3C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8005ECE0 0005BC40 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8005ECE4 0005BC44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005ECE8 0005BC48 7C 08 03 A6 */ mtlr r0 -/* 8005ECEC 0005BC4C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8005ECF0 0005BC50 4E 80 00 20 */ blr - -.global Update__Q29CGameArea8CAreaFogFf -Update__Q29CGameArea8CAreaFogFf: -/* 8005ECF4 0005BC54 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8005ECF8 0005BC58 7C 08 02 A6 */ mflr r0 -/* 8005ECFC 0005BC5C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8005ED00 0005BC60 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8005ED04 0005BC64 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8005ED08 0005BC68 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8005ED0C 0005BC6C 7C 7F 1B 78 */ mr r31, r3 -/* 8005ED10 0005BC70 FF E0 08 90 */ fmr f31, f1 -/* 8005ED14 0005BC74 80 03 00 00 */ lwz r0, 0(r3) -/* 8005ED18 0005BC78 2C 00 00 00 */ cmpwi r0, 0 -/* 8005ED1C 0005BC7C 41 82 01 DC */ beq lbl_8005EEF8 -/* 8005ED20 0005BC80 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 8005ED24 0005BC84 C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) -/* 8005ED28 0005BC88 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8005ED2C 0005BC8C 41 81 00 24 */ bgt lbl_8005ED50 -/* 8005ED30 0005BC90 FC 40 08 90 */ fmr f2, f1 -/* 8005ED34 0005BC94 38 61 00 18 */ addi r3, r1, 0x18 -/* 8005ED38 0005BC98 48 2B 54 C9 */ bl __ct__9CVector2fFff -/* 8005ED3C 0005BC9C 7C 64 1B 78 */ mr r4, r3 -/* 8005ED40 0005BCA0 38 7F 00 14 */ addi r3, r31, 0x14 -/* 8005ED44 0005BCA4 48 2B 51 C5 */ bl __eq__FRC9CVector2fRC9CVector2f -/* 8005ED48 0005BCA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005ED4C 0005BCAC 40 82 01 AC */ bne lbl_8005EEF8 -lbl_8005ED50: -/* 8005ED50 0005BCB0 3C 60 80 3D */ lis r3, lbl_803D0004@ha -/* 8005ED54 0005BCB4 84 03 CF 98 */ lwzu r0, -0x3068(r3) -/* 8005ED58 0005BCB8 C0 5F 00 34 */ lfs f2, 0x34(r31) -/* 8005ED5C 0005BCBC 38 E1 00 5C */ addi r7, r1, 0x5c -/* 8005ED60 0005BCC0 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8005ED64 0005BCC4 39 01 00 48 */ addi r8, r1, 0x48 -/* 8005ED68 0005BCC8 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8005ED6C 0005BCCC ED 82 07 F2 */ fmuls f12, f2, f31 -/* 8005ED70 0005BCD0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8005ED74 0005BCD4 ED 7F 00 72 */ fmuls f11, f31, f1 -/* 8005ED78 0005BCD8 80 C3 00 04 */ lwz r6, lbl_803D0004@l(r3) -/* 8005ED7C 0005BCDC ED 5F 00 32 */ fmuls f10, f31, f0 -/* 8005ED80 0005BCE0 80 A3 00 08 */ lwz r5, 8(r3) -/* 8005ED84 0005BCE4 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8005ED88 0005BCE8 38 00 00 05 */ li r0, 5 -/* 8005ED8C 0005BCEC 90 C1 00 24 */ stw r6, 0x24(r1) -/* 8005ED90 0005BCF0 38 C1 00 34 */ addi r6, r1, 0x34 -/* 8005ED94 0005BCF4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8005ED98 0005BCF8 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8005ED9C 0005BCFC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8005EDA0 0005BD00 C1 3F 00 1C */ lfs f9, 0x1c(r31) -/* 8005EDA4 0005BD04 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8005EDA8 0005BD08 38 80 00 00 */ li r4, 0 -/* 8005EDAC 0005BD0C C1 1F 00 28 */ lfs f8, 0x28(r31) -/* 8005EDB0 0005BD10 C0 FF 00 20 */ lfs f7, 0x20(r31) -/* 8005EDB4 0005BD14 C0 DF 00 2C */ lfs f6, 0x2c(r31) -/* 8005EDB8 0005BD18 90 61 00 30 */ stw r3, 0x30(r1) -/* 8005EDBC 0005BD1C C0 BF 00 24 */ lfs f5, 0x24(r31) -/* 8005EDC0 0005BD20 C0 9F 00 30 */ lfs f4, 0x30(r31) -/* 8005EDC4 0005BD24 C0 7F 00 04 */ lfs f3, 4(r31) -/* 8005EDC8 0005BD28 C0 5F 00 08 */ lfs f2, 8(r31) -/* 8005EDCC 0005BD2C C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 8005EDD0 0005BD30 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8005EDD4 0005BD34 D1 81 00 20 */ stfs f12, 0x20(r1) -/* 8005EDD8 0005BD38 D1 81 00 24 */ stfs f12, 0x24(r1) -/* 8005EDDC 0005BD3C D1 81 00 28 */ stfs f12, 0x28(r1) -/* 8005EDE0 0005BD40 D1 61 00 2C */ stfs f11, 0x2c(r1) -/* 8005EDE4 0005BD44 D1 41 00 30 */ stfs f10, 0x30(r1) -/* 8005EDE8 0005BD48 D1 21 00 5C */ stfs f9, 0x5c(r1) -/* 8005EDEC 0005BD4C D1 01 00 48 */ stfs f8, 0x48(r1) -/* 8005EDF0 0005BD50 D0 E1 00 60 */ stfs f7, 0x60(r1) -/* 8005EDF4 0005BD54 D0 C1 00 4C */ stfs f6, 0x4c(r1) -/* 8005EDF8 0005BD58 D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 8005EDFC 0005BD5C D0 81 00 50 */ stfs f4, 0x50(r1) -/* 8005EE00 0005BD60 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 8005EE04 0005BD64 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8005EE08 0005BD68 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8005EE0C 0005BD6C D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8005EE10 0005BD70 7C 09 03 A6 */ mtctr r0 -lbl_8005EE14: -/* 8005EE14 0005BD74 C0 48 00 00 */ lfs f2, 0(r8) -/* 8005EE18 0005BD78 C0 27 00 00 */ lfs f1, 0(r7) -/* 8005EE1C 0005BD7C C0 85 00 00 */ lfs f4, 0(r5) -/* 8005EE20 0005BD80 EC 62 08 28 */ fsubs f3, f2, f1 -/* 8005EE24 0005BD84 FC 00 1A 10 */ fabs f0, f3 -/* 8005EE28 0005BD88 FC 00 00 18 */ frsp f0, f0 -/* 8005EE2C 0005BD8C FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 8005EE30 0005BD90 4C 40 13 82 */ cror 2, 0, 2 -/* 8005EE34 0005BD94 40 82 00 10 */ bne lbl_8005EE44 -/* 8005EE38 0005BD98 D0 46 00 00 */ stfs f2, 0(r6) -/* 8005EE3C 0005BD9C 38 84 00 01 */ addi r4, r4, 1 -/* 8005EE40 0005BDA0 48 00 00 14 */ b lbl_8005EE54 -lbl_8005EE44: -/* 8005EE44 0005BDA4 FC 00 20 50 */ fneg f0, f4 -/* 8005EE48 0005BDA8 FC 03 01 2E */ fsel f0, f3, f4, f0 -/* 8005EE4C 0005BDAC EC 01 00 2A */ fadds f0, f1, f0 -/* 8005EE50 0005BDB0 D0 06 00 00 */ stfs f0, 0(r6) -lbl_8005EE54: -/* 8005EE54 0005BDB4 38 E7 00 04 */ addi r7, r7, 4 -/* 8005EE58 0005BDB8 39 08 00 04 */ addi r8, r8, 4 -/* 8005EE5C 0005BDBC 38 A5 00 04 */ addi r5, r5, 4 -/* 8005EE60 0005BDC0 38 C6 00 04 */ addi r6, r6, 4 -/* 8005EE64 0005BDC4 42 00 FF B0 */ bdnz lbl_8005EE14 -/* 8005EE68 0005BDC8 2C 04 00 05 */ cmpwi r4, 5 -/* 8005EE6C 0005BDCC 40 82 00 40 */ bne lbl_8005EEAC -/* 8005EE70 0005BDD0 C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) -/* 8005EE74 0005BDD4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8005EE78 0005BDD8 FC 40 08 90 */ fmr f2, f1 -/* 8005EE7C 0005BDDC D0 3F 00 34 */ stfs f1, 0x34(r31) -/* 8005EE80 0005BDE0 48 2B 53 81 */ bl __ct__9CVector2fFff -/* 8005EE84 0005BDE4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8005EE88 0005BDE8 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 8005EE8C 0005BDEC D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8005EE90 0005BDF0 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8005EE94 0005BDF4 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8005EE98 0005BDF8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8005EE9C 0005BDFC D0 5F 00 18 */ stfs f2, 0x18(r31) -/* 8005EEA0 0005BE00 40 82 00 0C */ bne lbl_8005EEAC -/* 8005EEA4 0005BE04 38 00 00 00 */ li r0, 0 -/* 8005EEA8 0005BE08 90 1F 00 00 */ stw r0, 0(r31) -lbl_8005EEAC: -/* 8005EEAC 0005BE0C C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8005EEB0 0005BE10 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 8005EEB4 0005BE14 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8005EEB8 0005BE18 40 81 00 08 */ ble lbl_8005EEC0 -/* 8005EEBC 0005BE1C D0 21 00 40 */ stfs f1, 0x40(r1) -lbl_8005EEC0: -/* 8005EEC0 0005BE20 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8005EEC4 0005BE24 38 61 00 08 */ addi r3, r1, 8 -/* 8005EEC8 0005BE28 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8005EECC 0005BE2C D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8005EED0 0005BE30 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8005EED4 0005BE34 D0 3F 00 20 */ stfs f1, 0x20(r31) -/* 8005EED8 0005BE38 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 8005EEDC 0005BE3C D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 8005EEE0 0005BE40 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8005EEE4 0005BE44 48 2B 53 1D */ bl __ct__9CVector2fFff -/* 8005EEE8 0005BE48 C0 01 00 08 */ lfs f0, 8(r1) -/* 8005EEEC 0005BE4C D0 1F 00 04 */ stfs f0, 4(r31) -/* 8005EEF0 0005BE50 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8005EEF4 0005BE54 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_8005EEF8: -/* 8005EEF8 0005BE58 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8005EEFC 0005BE5C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8005EF00 0005BE60 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8005EF04 0005BE64 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8005EF08 0005BE68 7C 08 03 A6 */ mtlr r0 -/* 8005EF0C 0005BE6C 38 21 00 90 */ addi r1, r1, 0x90 -/* 8005EF10 0005BE70 4E 80 00 20 */ blr - -.global UpdateFog__9CGameAreaFf -UpdateFog__9CGameAreaFf: -/* 8005EF14 0005BE74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005EF18 0005BE78 7C 08 02 A6 */ mflr r0 -/* 8005EF1C 0005BE7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005EF20 0005BE80 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005EF24 0005BE84 80 63 10 C4 */ lwz r3, 0x10c4(r3) -/* 8005EF28 0005BE88 28 03 00 00 */ cmplwi r3, 0 -/* 8005EF2C 0005BE8C 41 82 00 08 */ beq lbl_8005EF34 -/* 8005EF30 0005BE90 4B FF FD C5 */ bl Update__Q29CGameArea8CAreaFogFf -lbl_8005EF34: -/* 8005EF34 0005BE94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005EF38 0005BE98 7C 08 03 A6 */ mtlr r0 -/* 8005EF3C 0005BE9C 38 21 00 10 */ addi r1, r1, 0x10 - -.global sub_8005ef40 -sub_8005ef40: -/* 8005EF40 0005BEA0 4E 80 00 20 */ blr - -.global RollFogOut__Q29CGameArea8CAreaFogFffRC6CColor -RollFogOut__Q29CGameArea8CAreaFogFffRC6CColor: -/* 8005EF44 0005BEA4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005EF48 0005BEA8 7C 08 02 A6 */ mflr r0 -/* 8005EF4C 0005BEAC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005EF50 0005BEB0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8005EF54 0005BEB4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8005EF58 0005BEB8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005EF5C 0005BEBC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005EF60 0005BEC0 C0 02 87 10 */ lfs f0, lbl_805AA430@sda21(r2) -/* 8005EF64 0005BEC4 FF E0 10 90 */ fmr f31, f2 -/* 8005EF68 0005BEC8 7C 7E 1B 78 */ mr r30, r3 -/* 8005EF6C 0005BECC 7C 9F 23 78 */ mr r31, r4 -/* 8005EF70 0005BED0 EC 40 00 72 */ fmuls f2, f0, f1 -/* 8005EF74 0005BED4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8005EF78 0005BED8 48 2B 52 89 */ bl __ct__9CVector2fFff -/* 8005EF7C 0005BEDC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8005EF80 0005BEE0 38 61 00 08 */ addi r3, r1, 8 -/* 8005EF84 0005BEE4 C0 22 87 14 */ lfs f1, lbl_805AA434@sda21(r2) -/* 8005EF88 0005BEE8 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 8005EF8C 0005BEEC FC 40 08 90 */ fmr f2, f1 -/* 8005EF90 0005BEF0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8005EF94 0005BEF4 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8005EF98 0005BEF8 48 2B 52 69 */ bl __ct__9CVector2fFff -/* 8005EF9C 0005BEFC C0 01 00 08 */ lfs f0, 8(r1) -/* 8005EFA0 0005BF00 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8005EFA4 0005BF04 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8005EFA8 0005BF08 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8005EFAC 0005BF0C D3 FE 00 34 */ stfs f31, 0x34(r30) -/* 8005EFB0 0005BF10 E0 7F A0 02 */ psq_l f3, 2(r31), 1, qr2 -/* 8005EFB4 0005BF14 E0 3F A0 01 */ psq_l f1, 1(r31), 1, qr2 -/* 8005EFB8 0005BF18 E0 5F A0 00 */ psq_l f2, 0(r31), 1, qr2 -/* 8005EFBC 0005BF1C C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2) -/* 8005EFC0 0005BF20 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8005EFC4 0005BF24 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8005EFC8 0005BF28 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8005EFCC 0005BF2C D0 5E 00 28 */ stfs f2, 0x28(r30) -/* 8005EFD0 0005BF30 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 8005EFD4 0005BF34 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 8005EFD8 0005BF38 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8005EFDC 0005BF3C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005EFE0 0005BF40 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8005EFE4 0005BF44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005EFE8 0005BF48 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005EFEC 0005BF4C 7C 08 03 A6 */ mtlr r0 -/* 8005EFF0 0005BF50 38 21 00 30 */ addi r1, r1, 0x30 -/* 8005EFF4 0005BF54 4E 80 00 20 */ blr - -.global FadeFog__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2ffRC9CVector2f -FadeFog__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2ffRC9CVector2f: -/* 8005EFF8 0005BF58 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8005EFFC 0005BF5C 7C 08 02 A6 */ mflr r0 -/* 8005F000 0005BF60 90 01 00 34 */ stw r0, 0x34(r1) -/* 8005F004 0005BF64 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8005F008 0005BF68 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8005F00C 0005BF6C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8005F010 0005BF70 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8005F014 0005BF74 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8005F018 0005BF78 7C 7D 1B 78 */ mr r29, r3 -/* 8005F01C 0005BF7C FF E0 08 90 */ fmr f31, f1 -/* 8005F020 0005BF80 80 03 00 00 */ lwz r0, 0(r3) -/* 8005F024 0005BF84 7C DE 33 78 */ mr r30, r6 -/* 8005F028 0005BF88 7C FF 3B 78 */ mr r31, r7 -/* 8005F02C 0005BF8C 2C 00 00 00 */ cmpwi r0, 0 -/* 8005F030 0005BF90 40 82 00 7C */ bne lbl_8005F0AC -/* 8005F034 0005BF94 90 9D 00 00 */ stw r4, 0(r29) -/* 8005F038 0005BF98 E0 65 A0 02 */ psq_l f3, 2(r5), 1, qr2 -/* 8005F03C 0005BF9C E0 25 A0 01 */ psq_l f1, 1(r5), 1, qr2 -/* 8005F040 0005BFA0 E0 45 A0 00 */ psq_l f2, 0(r5), 1, qr2 -/* 8005F044 0005BFA4 38 61 00 08 */ addi r3, r1, 8 -/* 8005F048 0005BFA8 C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2) -/* 8005F04C 0005BFAC EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8005F050 0005BFB0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8005F054 0005BFB4 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8005F058 0005BFB8 D0 5D 00 28 */ stfs f2, 0x28(r29) -/* 8005F05C 0005BFBC D0 3D 00 2C */ stfs f1, 0x2c(r29) -/* 8005F060 0005BFC0 D0 1D 00 30 */ stfs f0, 0x30(r29) -/* 8005F064 0005BFC4 C0 1D 00 28 */ lfs f0, 0x28(r29) -/* 8005F068 0005BFC8 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 8005F06C 0005BFCC C0 1D 00 2C */ lfs f0, 0x2c(r29) -/* 8005F070 0005BFD0 D0 1D 00 20 */ stfs f0, 0x20(r29) -/* 8005F074 0005BFD4 C0 1D 00 30 */ lfs f0, 0x30(r29) -/* 8005F078 0005BFD8 D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 8005F07C 0005BFDC C0 3E 00 04 */ lfs f1, 4(r30) -/* 8005F080 0005BFE0 FC 40 08 90 */ fmr f2, f1 -/* 8005F084 0005BFE4 48 2B 51 7D */ bl __ct__9CVector2fFff -/* 8005F088 0005BFE8 C0 01 00 08 */ lfs f0, 8(r1) -/* 8005F08C 0005BFEC D0 1D 00 04 */ stfs f0, 4(r29) -/* 8005F090 0005BFF0 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8005F094 0005BFF4 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8005F098 0005BFF8 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8005F09C 0005BFFC D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8005F0A0 0005C000 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8005F0A4 0005C004 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 8005F0A8 0005C008 48 00 00 40 */ b lbl_8005F0E8 -lbl_8005F0AC: -/* 8005F0AC 0005C00C 90 9D 00 00 */ stw r4, 0(r29) -/* 8005F0B0 0005C010 E0 65 A0 02 */ psq_l f3, 2(r5), 1, qr2 -/* 8005F0B4 0005C014 E0 25 A0 01 */ psq_l f1, 1(r5), 1, qr2 -/* 8005F0B8 0005C018 E0 45 A0 00 */ psq_l f2, 0(r5), 1, qr2 -/* 8005F0BC 0005C01C C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2) -/* 8005F0C0 0005C020 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8005F0C4 0005C024 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8005F0C8 0005C028 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8005F0CC 0005C02C D0 5D 00 28 */ stfs f2, 0x28(r29) -/* 8005F0D0 0005C030 D0 3D 00 2C */ stfs f1, 0x2c(r29) -/* 8005F0D4 0005C034 D0 1D 00 30 */ stfs f0, 0x30(r29) -/* 8005F0D8 0005C038 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8005F0DC 0005C03C D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8005F0E0 0005C040 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8005F0E4 0005C044 D0 1D 00 10 */ stfs f0, 0x10(r29) -lbl_8005F0E8: -/* 8005F0E8 0005C048 D3 FD 00 34 */ stfs f31, 0x34(r29) -/* 8005F0EC 0005C04C C0 1F 00 00 */ lfs f0, 0(r31) -/* 8005F0F0 0005C050 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 8005F0F4 0005C054 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8005F0F8 0005C058 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 8005F0FC 0005C05C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8005F100 0005C060 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8005F104 0005C064 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8005F108 0005C068 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8005F10C 0005C06C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8005F110 0005C070 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8005F114 0005C074 7C 08 03 A6 */ mtlr r0 -/* 8005F118 0005C078 38 21 00 30 */ addi r1, r1, 0x30 -/* 8005F11C 0005C07C 4E 80 00 20 */ blr - -.global SetFogExplicit__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2f -SetFogExplicit__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2f: -/* 8005F120 0005C080 90 83 00 00 */ stw r4, 0(r3) -/* 8005F124 0005C084 E0 65 A0 02 */ psq_l f3, 2(r5), 1, qr2 -/* 8005F128 0005C088 E0 25 A0 01 */ psq_l f1, 1(r5), 1, qr2 -/* 8005F12C 0005C08C E0 45 A0 00 */ psq_l f2, 0(r5), 1, qr2 -/* 8005F130 0005C090 C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2) -/* 8005F134 0005C094 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8005F138 0005C098 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8005F13C 0005C09C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8005F140 0005C0A0 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 8005F144 0005C0A4 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 8005F148 0005C0A8 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8005F14C 0005C0AC C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8005F150 0005C0B0 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8005F154 0005C0B4 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 8005F158 0005C0B8 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8005F15C 0005C0BC C0 03 00 30 */ lfs f0, 0x30(r3) -/* 8005F160 0005C0C0 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8005F164 0005C0C4 C0 06 00 00 */ lfs f0, 0(r6) -/* 8005F168 0005C0C8 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8005F16C 0005C0CC C0 06 00 04 */ lfs f0, 4(r6) -/* 8005F170 0005C0D0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8005F174 0005C0D4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8005F178 0005C0D8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005F17C 0005C0DC C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8005F180 0005C0E0 D0 03 00 08 */ stfs f0, 8(r3) -/* 8005F184 0005C0E4 4E 80 00 20 */ blr - -.global IsFogDisabled__Q29CGameArea8CAreaFogCFv -IsFogDisabled__Q29CGameArea8CAreaFogCFv: -/* 8005F188 0005C0E8 80 03 00 00 */ lwz r0, 0(r3) -/* 8005F18C 0005C0EC 7C 00 00 34 */ cntlzw r0, r0 -/* 8005F190 0005C0F0 54 03 D9 7E */ srwi r3, r0, 5 -/* 8005F194 0005C0F4 4E 80 00 20 */ blr - -.global DisableFog__Q29CGameArea8CAreaFogFv -DisableFog__Q29CGameArea8CAreaFogFv: -/* 8005F198 0005C0F8 38 00 00 00 */ li r0, 0 -/* 8005F19C 0005C0FC 90 03 00 00 */ stw r0, 0(r3) -/* 8005F1A0 0005C100 4E 80 00 20 */ blr - -.global __ct__Q29CGameArea8CAreaFogFv -__ct__Q29CGameArea8CAreaFogFv: -/* 8005F1A4 0005C104 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005F1A8 0005C108 7C 08 02 A6 */ mflr r0 -/* 8005F1AC 0005C10C C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) -/* 8005F1B0 0005C110 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005F1B4 0005C114 38 00 00 00 */ li r0, 0 -/* 8005F1B8 0005C118 C0 42 87 18 */ lfs f2, lbl_805AA438@sda21(r2) -/* 8005F1BC 0005C11C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005F1C0 0005C120 7C 7F 1B 78 */ mr r31, r3 -/* 8005F1C4 0005C124 90 03 00 00 */ stw r0, 0(r3) -/* 8005F1C8 0005C128 38 7F 00 04 */ addi r3, r31, 4 -/* 8005F1CC 0005C12C 48 2B 50 35 */ bl __ct__9CVector2fFff -/* 8005F1D0 0005C130 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8005F1D4 0005C134 38 7F 00 14 */ addi r3, r31, 0x14 -/* 8005F1D8 0005C138 C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) -/* 8005F1DC 0005C13C D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8005F1E0 0005C140 FC 40 08 90 */ fmr f2, f1 -/* 8005F1E4 0005C144 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8005F1E8 0005C148 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8005F1EC 0005C14C 48 2B 50 15 */ bl __ct__9CVector2fFff -/* 8005F1F0 0005C150 C0 22 87 1C */ lfs f1, lbl_805AA43C@sda21(r2) -/* 8005F1F4 0005C154 7F E3 FB 78 */ mr r3, r31 -/* 8005F1F8 0005C158 C0 02 87 00 */ lfs f0, lbl_805AA420@sda21(r2) -/* 8005F1FC 0005C15C D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 8005F200 0005C160 D0 3F 00 20 */ stfs f1, 0x20(r31) -/* 8005F204 0005C164 D0 3F 00 24 */ stfs f1, 0x24(r31) -/* 8005F208 0005C168 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8005F20C 0005C16C D0 3F 00 28 */ stfs f1, 0x28(r31) -/* 8005F210 0005C170 C0 3F 00 20 */ lfs f1, 0x20(r31) -/* 8005F214 0005C174 D0 3F 00 2C */ stfs f1, 0x2c(r31) -/* 8005F218 0005C178 C0 3F 00 24 */ lfs f1, 0x24(r31) -/* 8005F21C 0005C17C D0 3F 00 30 */ stfs f1, 0x30(r31) -/* 8005F220 0005C180 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 8005F224 0005C184 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005F228 0005C188 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005F22C 0005C18C 7C 08 03 A6 */ mtlr r0 -/* 8005F230 0005C190 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005F234 0005C194 4E 80 00 20 */ blr - -.global IsQualified__Q29CGameArea15CAreaObjectListFRC7CEntity -IsQualified__Q29CGameArea15CAreaObjectListFRC7CEntity: -/* 8005F238 0005C198 80 63 20 0C */ lwz r3, 0x200c(r3) -/* 8005F23C 0005C19C 80 04 00 04 */ lwz r0, 4(r4) -/* 8005F240 0005C1A0 7C 03 00 50 */ subf r0, r3, r0 -/* 8005F244 0005C1A4 7C 00 00 34 */ cntlzw r0, r0 -/* 8005F248 0005C1A8 54 03 DE 3E */ rlwinm r3, r0, 0x1b, 0x18, 0x1f -/* 8005F24C 0005C1AC 4E 80 00 20 */ blr - -.global GetShouldLoadOther__Q29IGameArea4DockCFi -GetShouldLoadOther__Q29IGameArea4DockCFi: -/* 8005F250 0005C1B0 80 03 00 08 */ lwz r0, 8(r3) -/* 8005F254 0005C1B4 7C 04 00 00 */ cmpw r4, r0 -/* 8005F258 0005C1B8 40 80 00 30 */ bge lbl_8005F288 -/* 8005F25C 0005C1BC 54 84 18 38 */ slwi r4, r4, 3 -/* 8005F260 0005C1C0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8005F264 0005C1C4 38 04 00 06 */ addi r0, r4, 6 -/* 8005F268 0005C1C8 7C 03 00 AE */ lbzx r0, r3, r0 -/* 8005F26C 0005C1CC 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1 -/* 8005F270 0005C1D0 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8005F274 0005C1D4 7C 03 07 74 */ extsb r3, r0 -/* 8005F278 0005C1D8 7C 03 00 D0 */ neg r0, r3 -/* 8005F27C 0005C1DC 7C 00 1B 78 */ or r0, r0, r3 -/* 8005F280 0005C1E0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8005F284 0005C1E4 4E 80 00 20 */ blr -lbl_8005F288: -/* 8005F288 0005C1E8 38 60 00 00 */ li r3, 0 -/* 8005F28C 0005C1EC 4E 80 00 20 */ blr - -.global SetShouldLoadOther__Q29IGameArea4DockFib -SetShouldLoadOther__Q29IGameArea4DockFib: -/* 8005F290 0005C1F0 80 03 00 08 */ lwz r0, 8(r3) -/* 8005F294 0005C1F4 7C 04 00 00 */ cmpw r4, r0 -/* 8005F298 0005C1F8 4C 80 00 20 */ bgelr -/* 8005F29C 0005C1FC 54 84 18 38 */ slwi r4, r4, 3 -/* 8005F2A0 0005C200 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 8005F2A4 0005C204 38 64 00 06 */ addi r3, r4, 6 -/* 8005F2A8 0005C208 7C A4 07 74 */ extsb r4, r5 -/* 8005F2AC 0005C20C 7C 06 18 AE */ lbzx r0, r6, r3 -/* 8005F2B0 0005C210 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8005F2B4 0005C214 7C 06 19 AE */ stbx r0, r6, r3 -/* 8005F2B8 0005C218 4E 80 00 20 */ blr - -.global ShouldLoadOtherArea__Q29IGameArea4DockCFi -ShouldLoadOtherArea__Q29IGameArea4DockCFi: -/* 8005F2BC 0005C21C 80 03 00 08 */ lwz r0, 8(r3) -/* 8005F2C0 0005C220 2C 00 00 00 */ cmpwi r0, 0 -/* 8005F2C4 0005C224 40 82 00 0C */ bne lbl_8005F2D0 -/* 8005F2C8 0005C228 38 60 00 00 */ li r3, 0 -/* 8005F2CC 0005C22C 4E 80 00 20 */ blr -lbl_8005F2D0: -/* 8005F2D0 0005C230 54 84 18 38 */ slwi r4, r4, 3 -/* 8005F2D4 0005C234 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8005F2D8 0005C238 38 04 00 06 */ addi r0, r4, 6 -/* 8005F2DC 0005C23C 7C 03 00 AE */ lbzx r0, r3, r0 -/* 8005F2E0 0005C240 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1 -/* 8005F2E4 0005C244 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8005F2E8 0005C248 7C 03 07 74 */ extsb r3, r0 -/* 8005F2EC 0005C24C 7C 03 00 D0 */ neg r0, r3 -/* 8005F2F0 0005C250 7C 00 1B 78 */ or r0, r0, r3 -/* 8005F2F4 0005C254 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8005F2F8 0005C258 4E 80 00 20 */ blr - -.global GetOtherDockNumber__Q29IGameArea4DockCFi -GetOtherDockNumber__Q29IGameArea4DockCFi: -/* 8005F2FC 0005C25C 80 03 00 08 */ lwz r0, 8(r3) -/* 8005F300 0005C260 2C 00 00 00 */ cmpwi r0, 0 -/* 8005F304 0005C264 40 82 00 0C */ bne lbl_8005F310 -/* 8005F308 0005C268 38 60 FF FF */ li r3, -1 -/* 8005F30C 0005C26C 4E 80 00 20 */ blr -lbl_8005F310: -/* 8005F310 0005C270 54 84 18 38 */ slwi r4, r4, 3 -/* 8005F314 0005C274 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8005F318 0005C278 38 04 00 04 */ addi r0, r4, 4 -/* 8005F31C 0005C27C 7C 63 02 AE */ lhax r3, r3, r0 -/* 8005F320 0005C280 4E 80 00 20 */ blr - -.global GetConnectedAreaId__Q29IGameArea4DockCFi -GetConnectedAreaId__Q29IGameArea4DockCFi: -/* 8005F324 0005C284 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005F328 0005C288 80 04 00 08 */ lwz r0, 8(r4) -/* 8005F32C 0005C28C 2C 00 00 00 */ cmpwi r0, 0 -/* 8005F330 0005C290 40 82 00 14 */ bne lbl_8005F344 -/* 8005F334 0005C294 38 00 FF FF */ li r0, -1 -/* 8005F338 0005C298 38 81 00 08 */ addi r4, r1, 8 -/* 8005F33C 0005C29C 90 01 00 08 */ stw r0, 8(r1) -/* 8005F340 0005C2A0 48 00 00 10 */ b lbl_8005F350 -lbl_8005F344: -/* 8005F344 0005C2A4 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8005F348 0005C2A8 54 A0 18 38 */ slwi r0, r5, 3 -/* 8005F34C 0005C2AC 7C 84 02 14 */ add r4, r4, r0 -lbl_8005F350: -/* 8005F350 0005C2B0 80 04 00 00 */ lwz r0, 0(r4) -/* 8005F354 0005C2B4 90 03 00 00 */ stw r0, 0(r3) -/* 8005F358 0005C2B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005F35C 0005C2BC 4E 80 00 20 */ blr - -.global SetReferenceCount__Q29IGameArea4DockFi -SetReferenceCount__Q29IGameArea4DockFi: -/* 8005F360 0005C2C0 90 83 00 00 */ stw r4, 0(r3) -/* 8005F364 0005C2C4 38 00 00 01 */ li r0, 1 -/* 8005F368 0005C2C8 98 03 00 48 */ stb r0, 0x48(r3) -/* 8005F36C 0005C2CC 4E 80 00 20 */ blr - -.global GetReferenceCount__Q29IGameArea4DockCFv -GetReferenceCount__Q29IGameArea4DockCFv: -/* 8005F370 0005C2D0 80 63 00 00 */ lwz r3, 0(r3) -/* 8005F374 0005C2D4 4E 80 00 20 */ blr - -.global IsReferenced__Q29IGameArea4DockCFv -IsReferenced__Q29IGameArea4DockCFv: -/* 8005F378 0005C2D8 88 63 00 48 */ lbz r3, 0x48(r3) -/* 8005F37C 0005C2DC 4E 80 00 20 */ blr - -.global __ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f -__ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f: -/* 8005F380 0005C2E0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8005F384 0005C2E4 7C 08 02 A6 */ mflr r0 -/* 8005F388 0005C2E8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8005F38C 0005C2EC 38 00 00 00 */ li r0, 0 -/* 8005F390 0005C2F0 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 8005F394 0005C2F4 7C 7B 1B 78 */ mr r27, r3 -/* 8005F398 0005C2F8 7C 9C 23 78 */ mr r28, r4 -/* 8005F39C 0005C2FC 7C BD 2B 78 */ mr r29, r5 -/* 8005F3A0 0005C300 90 03 00 00 */ stw r0, 0(r3) -/* 8005F3A4 0005C304 90 03 00 08 */ stw r0, 8(r3) -/* 8005F3A8 0005C308 7F 83 E3 78 */ mr r3, r28 -/* 8005F3AC 0005C30C 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8005F3B0 0005C310 90 1B 00 10 */ stw r0, 0x10(r27) -/* 8005F3B4 0005C314 90 1B 00 14 */ stw r0, 0x14(r27) -/* 8005F3B8 0005C318 98 1B 00 48 */ stb r0, 0x48(r27) -/* 8005F3BC 0005C31C 48 2D F8 C9 */ bl ReadLong__12CInputStreamFv -/* 8005F3C0 0005C320 7C 7F 1B 78 */ mr r31, r3 -/* 8005F3C4 0005C324 38 7B 00 04 */ addi r3, r27, 4 -/* 8005F3C8 0005C328 7F E4 FB 78 */ mr r4, r31 -/* 8005F3CC 0005C32C 48 00 4A B5 */ bl "reserve__Q24rstl68vectorFi" -/* 8005F3D0 0005C330 3B C0 00 00 */ li r30, 0 -/* 8005F3D4 0005C334 48 00 00 94 */ b lbl_8005F468 -lbl_8005F3D8: -/* 8005F3D8 0005C338 7F 83 E3 78 */ mr r3, r28 -/* 8005F3DC 0005C33C 48 2D F8 A9 */ bl ReadLong__12CInputStreamFv -/* 8005F3E0 0005C340 7C 7A 1B 78 */ mr r26, r3 -/* 8005F3E4 0005C344 7F 83 E3 78 */ mr r3, r28 -/* 8005F3E8 0005C348 48 2D F8 9D */ bl ReadLong__12CInputStreamFv -/* 8005F3EC 0005C34C 80 1B 00 08 */ lwz r0, 8(r27) -/* 8005F3F0 0005C350 38 A0 00 00 */ li r5, 0 -/* 8005F3F4 0005C354 80 DB 00 0C */ lwz r6, 0xc(r27) -/* 8005F3F8 0005C358 A8 81 00 0E */ lha r4, 0xe(r1) -/* 8005F3FC 0005C35C 50 A4 7C 20 */ rlwimi r4, r5, 0xf, 0x10, 0x10 -/* 8005F400 0005C360 7C 00 30 00 */ cmpw r0, r6 -/* 8005F404 0005C364 93 41 00 08 */ stw r26, 8(r1) -/* 8005F408 0005C368 B0 61 00 0C */ sth r3, 0xc(r1) -/* 8005F40C 0005C36C B0 81 00 0E */ sth r4, 0xe(r1) -/* 8005F410 0005C370 41 80 00 1C */ blt lbl_8005F42C -/* 8005F414 0005C374 2C 06 00 00 */ cmpwi r6, 0 -/* 8005F418 0005C378 38 7B 00 04 */ addi r3, r27, 4 -/* 8005F41C 0005C37C 38 80 00 04 */ li r4, 4 -/* 8005F420 0005C380 41 82 00 08 */ beq lbl_8005F428 -/* 8005F424 0005C384 54 C4 08 3C */ slwi r4, r6, 1 -lbl_8005F428: -/* 8005F428 0005C388 48 00 4A 59 */ bl "reserve__Q24rstl68vectorFi" -lbl_8005F42C: -/* 8005F42C 0005C38C 80 1B 00 08 */ lwz r0, 8(r27) -/* 8005F430 0005C390 80 7B 00 10 */ lwz r3, 0x10(r27) -/* 8005F434 0005C394 54 00 18 38 */ slwi r0, r0, 3 -/* 8005F438 0005C398 7C 83 02 15 */ add. r4, r3, r0 -/* 8005F43C 0005C39C 41 82 00 1C */ beq lbl_8005F458 -/* 8005F440 0005C3A0 80 01 00 08 */ lwz r0, 8(r1) -/* 8005F444 0005C3A4 A8 61 00 0C */ lha r3, 0xc(r1) -/* 8005F448 0005C3A8 90 04 00 00 */ stw r0, 0(r4) -/* 8005F44C 0005C3AC A8 01 00 0E */ lha r0, 0xe(r1) -/* 8005F450 0005C3B0 B0 64 00 04 */ sth r3, 4(r4) -/* 8005F454 0005C3B4 B0 04 00 06 */ sth r0, 6(r4) -lbl_8005F458: -/* 8005F458 0005C3B8 80 7B 00 08 */ lwz r3, 8(r27) -/* 8005F45C 0005C3BC 3B DE 00 01 */ addi r30, r30, 1 -/* 8005F460 0005C3C0 38 03 00 01 */ addi r0, r3, 1 -/* 8005F464 0005C3C4 90 1B 00 08 */ stw r0, 8(r27) -lbl_8005F468: -/* 8005F468 0005C3C8 7C 1E F8 00 */ cmpw r30, r31 -/* 8005F46C 0005C3CC 41 80 FF 6C */ blt lbl_8005F3D8 -/* 8005F470 0005C3D0 7F 83 E3 78 */ mr r3, r28 -/* 8005F474 0005C3D4 48 2D F8 11 */ bl ReadLong__12CInputStreamFv -/* 8005F478 0005C3D8 7C 7E 1B 78 */ mr r30, r3 -/* 8005F47C 0005C3DC 3B 5B 00 14 */ addi r26, r27, 0x14 -/* 8005F480 0005C3E0 3B E0 00 00 */ li r31, 0 -/* 8005F484 0005C3E4 48 00 00 5C */ b lbl_8005F4E0 -lbl_8005F488: -/* 8005F488 0005C3E8 7F 84 E3 78 */ mr r4, r28 -/* 8005F48C 0005C3EC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8005F490 0005C3F0 48 2B 56 FD */ bl __ct__9CVector3fFR12CInputStream -/* 8005F494 0005C3F4 7C 65 1B 78 */ mr r5, r3 -/* 8005F498 0005C3F8 7F A4 EB 78 */ mr r4, r29 -/* 8005F49C 0005C3FC 38 61 00 1C */ addi r3, r1, 0x1c -/* 8005F4A0 0005C400 48 2B 36 49 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8005F4A4 0005C404 80 1A 00 00 */ lwz r0, 0(r26) -/* 8005F4A8 0005C408 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005F4AC 0005C40C 7C 7A 02 14 */ add r3, r26, r0 -/* 8005F4B0 0005C410 34 63 00 04 */ addic. r3, r3, 4 -/* 8005F4B4 0005C414 41 82 00 1C */ beq lbl_8005F4D0 -/* 8005F4B8 0005C418 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8005F4BC 0005C41C D0 03 00 00 */ stfs f0, 0(r3) -/* 8005F4C0 0005C420 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8005F4C4 0005C424 D0 03 00 04 */ stfs f0, 4(r3) -/* 8005F4C8 0005C428 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8005F4CC 0005C42C D0 03 00 08 */ stfs f0, 8(r3) -lbl_8005F4D0: -/* 8005F4D0 0005C430 80 7B 00 14 */ lwz r3, 0x14(r27) -/* 8005F4D4 0005C434 3B FF 00 01 */ addi r31, r31, 1 -/* 8005F4D8 0005C438 38 03 00 01 */ addi r0, r3, 1 -/* 8005F4DC 0005C43C 90 1B 00 14 */ stw r0, 0x14(r27) -lbl_8005F4E0: -/* 8005F4E0 0005C440 7C 1F F0 00 */ cmpw r31, r30 -/* 8005F4E4 0005C444 41 80 FF A4 */ blt lbl_8005F488 -/* 8005F4E8 0005C448 7F 63 DB 78 */ mr r3, r27 -/* 8005F4EC 0005C44C BB 41 00 28 */ lmw r26, 0x28(r1) -/* 8005F4F0 0005C450 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8005F4F4 0005C454 7C 08 03 A6 */ mtlr r0 -/* 8005F4F8 0005C458 38 21 00 40 */ addi r1, r1, 0x40 -/* 8005F4FC 0005C45C 4E 80 00 20 */ blr - -.global OtherAreaOcclusionChanged__9CGameAreaFv -OtherAreaOcclusionChanged__9CGameAreaFv: -/* 8005F500 0005C460 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005F504 0005C464 7C 08 02 A6 */ mflr r0 -/* 8005F508 0005C468 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005F50C 0005C46C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005F510 0005C470 93 C1 00 08 */ stw r30, 8(r1) -/* 8005F514 0005C474 7C 7E 1B 78 */ mr r30, r3 -/* 8005F518 0005C478 80 83 01 2C */ lwz r4, 0x12c(r3) -/* 8005F51C 0005C47C 80 04 10 E0 */ lwz r0, 0x10e0(r4) -/* 8005F520 0005C480 2C 00 00 03 */ cmpwi r0, 3 -/* 8005F524 0005C484 40 82 00 4C */ bne lbl_8005F570 -/* 8005F528 0005C488 80 04 10 DC */ lwz r0, 0x10dc(r4) -/* 8005F52C 0005C48C 2C 00 00 00 */ cmpwi r0, 0 -/* 8005F530 0005C490 40 82 00 40 */ bne lbl_8005F570 -/* 8005F534 0005C494 48 00 10 D1 */ bl UnloadAllloadedTextures__9CGameAreaFv -/* 8005F538 0005C498 7C 7F 1B 78 */ mr r31, r3 -/* 8005F53C 0005C49C 7F C3 F3 78 */ mr r3, r30 -/* 8005F540 0005C4A0 48 00 03 81 */ bl TransferTokensToARAM__9CGameAreaFv -/* 8005F544 0005C4A4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8005F548 0005C4A8 38 80 00 00 */ li r4, 0 -/* 8005F54C 0005C4AC 41 82 00 10 */ beq lbl_8005F55C -/* 8005F550 0005C4B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005F554 0005C4B4 41 82 00 08 */ beq lbl_8005F55C -/* 8005F558 0005C4B8 38 80 00 01 */ li r4, 1 -lbl_8005F55C: -/* 8005F55C 0005C4BC 80 7E 01 2C */ lwz r3, 0x12c(r30) -/* 8005F560 0005C4C0 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 8005F564 0005C4C4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8005F568 0005C4C8 98 03 11 08 */ stb r0, 0x1108(r3) -/* 8005F56C 0005C4CC 48 00 00 18 */ b lbl_8005F584 -lbl_8005F570: -/* 8005F570 0005C4D0 80 04 10 DC */ lwz r0, 0x10dc(r4) -/* 8005F574 0005C4D4 2C 00 00 01 */ cmpwi r0, 1 -/* 8005F578 0005C4D8 40 82 00 0C */ bne lbl_8005F584 -/* 8005F57C 0005C4DC 7F C3 F3 78 */ mr r3, r30 -/* 8005F580 0005C4E0 48 00 11 4D */ bl ReloadAllUnloadedTextures__9CGameAreaFv -lbl_8005F584: -/* 8005F584 0005C4E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005F588 0005C4E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005F58C 0005C4EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005F590 0005C4F0 7C 08 03 A6 */ mtlr r0 -/* 8005F594 0005C4F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005F598 0005C4F8 4E 80 00 20 */ blr - -.global PingOcclusionState__9CGameAreaFv -PingOcclusionState__9CGameAreaFv: -/* 8005F59C 0005C4FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005F5A0 0005C500 7C 08 02 A6 */ mflr r0 -/* 8005F5A4 0005C504 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005F5A8 0005C508 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005F5AC 0005C50C 93 C1 00 08 */ stw r30, 8(r1) -/* 8005F5B0 0005C510 7C 7E 1B 78 */ mr r30, r3 -/* 8005F5B4 0005C514 80 A3 01 2C */ lwz r5, 0x12c(r3) -/* 8005F5B8 0005C518 80 05 10 DC */ lwz r0, 0x10dc(r5) -/* 8005F5BC 0005C51C 2C 00 00 00 */ cmpwi r0, 0 -/* 8005F5C0 0005C520 40 82 00 68 */ bne lbl_8005F628 -/* 8005F5C4 0005C524 80 85 10 E0 */ lwz r4, 0x10e0(r5) -/* 8005F5C8 0005C528 2C 04 00 02 */ cmpwi r4, 2 -/* 8005F5CC 0005C52C 40 80 00 10 */ bge lbl_8005F5DC -/* 8005F5D0 0005C530 38 04 00 01 */ addi r0, r4, 1 -/* 8005F5D4 0005C534 90 05 10 E0 */ stw r0, 0x10e0(r5) -/* 8005F5D8 0005C538 48 00 00 64 */ b lbl_8005F63C -lbl_8005F5DC: -/* 8005F5DC 0005C53C 38 00 00 03 */ li r0, 3 -/* 8005F5E0 0005C540 90 05 10 E0 */ stw r0, 0x10e0(r5) -/* 8005F5E4 0005C544 80 9E 01 2C */ lwz r4, 0x12c(r30) -/* 8005F5E8 0005C548 88 04 11 08 */ lbz r0, 0x1108(r4) -/* 8005F5EC 0005C54C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8005F5F0 0005C550 40 82 00 38 */ bne lbl_8005F628 -/* 8005F5F4 0005C554 48 00 10 11 */ bl UnloadAllloadedTextures__9CGameAreaFv -/* 8005F5F8 0005C558 7C 7F 1B 78 */ mr r31, r3 -/* 8005F5FC 0005C55C 7F C3 F3 78 */ mr r3, r30 -/* 8005F600 0005C560 48 00 02 C1 */ bl TransferTokensToARAM__9CGameAreaFv -/* 8005F604 0005C564 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8005F608 0005C568 41 82 00 20 */ beq lbl_8005F628 -/* 8005F60C 0005C56C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005F610 0005C570 41 82 00 18 */ beq lbl_8005F628 -/* 8005F614 0005C574 80 7E 01 2C */ lwz r3, 0x12c(r30) -/* 8005F618 0005C578 38 80 00 01 */ li r4, 1 -/* 8005F61C 0005C57C 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 8005F620 0005C580 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8005F624 0005C584 98 03 11 08 */ stb r0, 0x1108(r3) -lbl_8005F628: -/* 8005F628 0005C588 80 7E 01 2C */ lwz r3, 0x12c(r30) -/* 8005F62C 0005C58C 38 80 00 01 */ li r4, 1 -/* 8005F630 0005C590 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 8005F634 0005C594 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8005F638 0005C598 98 03 11 08 */ stb r0, 0x1108(r3) -lbl_8005F63C: -/* 8005F63C 0005C59C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005F640 0005C5A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005F644 0005C5A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8005F648 0005C5A8 7C 08 03 A6 */ mtlr r0 -/* 8005F64C 0005C5AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005F650 0005C5B0 4E 80 00 20 */ blr - -.global PreRender__9CGameAreaFv -PreRender__9CGameAreaFv: -/* 8005F654 0005C5B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005F658 0005C5B8 7C 08 02 A6 */ mflr r0 -/* 8005F65C 0005C5BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005F660 0005C5C0 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8005F664 0005C5C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005F668 0005C5C8 41 82 00 28 */ beq lbl_8005F690 -/* 8005F66C 0005C5CC 80 A3 01 2C */ lwz r5, 0x12c(r3) -/* 8005F670 0005C5D0 88 85 11 08 */ lbz r4, 0x1108(r5) -/* 8005F674 0005C5D4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f -/* 8005F678 0005C5D8 41 82 00 14 */ beq lbl_8005F68C -/* 8005F67C 0005C5DC 38 00 00 00 */ li r0, 0 -/* 8005F680 0005C5E0 50 04 1F 38 */ rlwimi r4, r0, 3, 0x1c, 0x1c -/* 8005F684 0005C5E4 98 85 11 08 */ stb r4, 0x1108(r5) -/* 8005F688 0005C5E8 48 00 00 08 */ b lbl_8005F690 -lbl_8005F68C: -/* 8005F68C 0005C5EC 4B FF FF 11 */ bl PingOcclusionState__9CGameAreaFv -lbl_8005F690: -/* 8005F690 0005C5F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005F694 0005C5F4 7C 08 03 A6 */ mtlr r0 -/* 8005F698 0005C5F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005F69C 0005C5FC 4E 80 00 20 */ blr - -.global AliveUpdate__9CGameAreaFf -AliveUpdate__9CGameAreaFf: -/* 8005F6A0 0005C600 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8005F6A4 0005C604 7C 08 02 A6 */ mflr r0 -/* 8005F6A8 0005C608 90 01 00 24 */ stw r0, 0x24(r1) -/* 8005F6AC 0005C60C DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8005F6B0 0005C610 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8005F6B4 0005C614 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005F6B8 0005C618 7C 7F 1B 78 */ mr r31, r3 -/* 8005F6BC 0005C61C FF E0 08 90 */ fmr f31, f1 -/* 8005F6C0 0005C620 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005F6C4 0005C624 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 8005F6C8 0005C628 2C 00 00 00 */ cmpwi r0, 0 -/* 8005F6CC 0005C62C 40 82 00 14 */ bne lbl_8005F6E0 -/* 8005F6D0 0005C630 C0 03 10 E4 */ lfs f0, 0x10e4(r3) -/* 8005F6D4 0005C634 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8005F6D8 0005C638 D0 03 10 E4 */ stfs f0, 0x10e4(r3) -/* 8005F6DC 0005C63C 48 00 00 0C */ b lbl_8005F6E8 -lbl_8005F6E0: -/* 8005F6E0 0005C640 C0 02 87 00 */ lfs f0, lbl_805AA420@sda21(r2) -/* 8005F6E4 0005C644 D0 03 10 E4 */ stfs f0, 0x10e4(r3) -lbl_8005F6E8: -/* 8005F6E8 0005C648 FC 20 F8 90 */ fmr f1, f31 -/* 8005F6EC 0005C64C 7F E3 FB 78 */ mr r3, r31 -/* 8005F6F0 0005C650 4B FF F8 25 */ bl UpdateFog__9CGameAreaFf -/* 8005F6F4 0005C654 FC 20 F8 90 */ fmr f1, f31 -/* 8005F6F8 0005C658 7F E3 FB 78 */ mr r3, r31 -/* 8005F6FC 0005C65C 4B FF EA 79 */ bl UpdateThermalVisor__9CGameAreaFf -/* 8005F700 0005C660 FC 20 F8 90 */ fmr f1, f31 -/* 8005F704 0005C664 7F E3 FB 78 */ mr r3, r31 -/* 8005F708 0005C668 4B FF E8 91 */ bl UpdateWeaponWorldLighting__9CGameAreaFf -/* 8005F70C 0005C66C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8005F710 0005C670 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8005F714 0005C674 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8005F718 0005C678 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005F71C 0005C67C 7C 08 03 A6 */ mtlr r0 -/* 8005F720 0005C680 38 21 00 20 */ addi r1, r1, 0x20 -/* 8005F724 0005C684 4E 80 00 20 */ blr - -.global SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState -SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState: -/* 8005F728 0005C688 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005F72C 0005C68C 7C 08 02 A6 */ mflr r0 -/* 8005F730 0005C690 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005F734 0005C694 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005F738 0005C698 7C 7F 1B 78 */ mr r31, r3 -/* 8005F73C 0005C69C 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8005F740 0005C6A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005F744 0005C6A4 41 82 00 54 */ beq lbl_8005F798 -/* 8005F748 0005C6A8 80 DF 01 2C */ lwz r6, 0x12c(r31) -/* 8005F74C 0005C6AC 80 06 10 DC */ lwz r0, 0x10dc(r6) -/* 8005F750 0005C6B0 7C 04 00 00 */ cmpw r4, r0 -/* 8005F754 0005C6B4 41 82 00 44 */ beq lbl_8005F798 -/* 8005F758 0005C6B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8005F75C 0005C6BC 40 82 00 30 */ bne lbl_8005F78C -/* 8005F760 0005C6C0 88 06 11 08 */ lbz r0, 0x1108(r6) -/* 8005F764 0005C6C4 38 80 00 01 */ li r4, 1 -/* 8005F768 0005C6C8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8005F76C 0005C6CC 38 A0 00 00 */ li r5, 0 -/* 8005F770 0005C6D0 98 06 11 08 */ stb r0, 0x1108(r6) -/* 8005F774 0005C6D4 80 9F 01 2C */ lwz r4, 0x12c(r31) -/* 8005F778 0005C6D8 88 04 11 08 */ lbz r0, 0x1108(r4) -/* 8005F77C 0005C6DC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8005F780 0005C6E0 98 04 11 08 */ stb r0, 0x1108(r4) -/* 8005F784 0005C6E4 48 00 00 29 */ bl RemoveStaticGeometry__9CGameAreaFv -/* 8005F788 0005C6E8 48 00 00 10 */ b lbl_8005F798 -lbl_8005F78C: -/* 8005F78C 0005C6EC 48 00 0F 41 */ bl ReloadAllUnloadedTextures__9CGameAreaFv -/* 8005F790 0005C6F0 7F E3 FB 78 */ mr r3, r31 -/* 8005F794 0005C6F4 48 00 00 89 */ bl AddStaticGeometry__9CGameAreaFv -lbl_8005F798: -/* 8005F798 0005C6F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005F79C 0005C6FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005F7A0 0005C700 7C 08 03 A6 */ mtlr r0 -/* 8005F7A4 0005C704 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005F7A8 0005C708 4E 80 00 20 */ blr - -.global RemoveStaticGeometry__9CGameAreaFv -RemoveStaticGeometry__9CGameAreaFv: -/* 8005F7AC 0005C70C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005F7B0 0005C710 7C 08 02 A6 */ mflr r0 -/* 8005F7B4 0005C714 7C 64 1B 78 */ mr r4, r3 -/* 8005F7B8 0005C718 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005F7BC 0005C71C 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8005F7C0 0005C720 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005F7C4 0005C724 41 82 00 48 */ beq lbl_8005F80C -/* 8005F7C8 0005C728 80 64 01 2C */ lwz r3, 0x12c(r4) -/* 8005F7CC 0005C72C 28 03 00 00 */ cmplwi r3, 0 -/* 8005F7D0 0005C730 41 82 00 3C */ beq lbl_8005F80C -/* 8005F7D4 0005C734 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 8005F7D8 0005C738 2C 00 00 00 */ cmpwi r0, 0 -/* 8005F7DC 0005C73C 41 82 00 30 */ beq lbl_8005F80C -/* 8005F7E0 0005C740 38 00 00 00 */ li r0, 0 -/* 8005F7E4 0005C744 90 03 10 E0 */ stw r0, 0x10e0(r3) -/* 8005F7E8 0005C748 80 64 01 2C */ lwz r3, 0x12c(r4) -/* 8005F7EC 0005C74C 90 03 10 DC */ stw r0, 0x10dc(r3) -/* 8005F7F0 0005C750 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8005F7F4 0005C754 80 84 01 2C */ lwz r4, 0x12c(r4) -/* 8005F7F8 0005C758 81 83 00 00 */ lwz r12, 0(r3) -/* 8005F7FC 0005C75C 38 84 00 4C */ addi r4, r4, 0x4c -/* 8005F800 0005C760 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8005F804 0005C764 7D 89 03 A6 */ mtctr r12 -/* 8005F808 0005C768 4E 80 04 21 */ bctrl -lbl_8005F80C: -/* 8005F80C 0005C76C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005F810 0005C770 7C 08 03 A6 */ mtlr r0 -/* 8005F814 0005C774 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005F818 0005C778 4E 80 00 20 */ blr - -.global AddStaticGeometry__9CGameAreaFv -AddStaticGeometry__9CGameAreaFv: -/* 8005F81C 0005C77C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8005F820 0005C780 7C 08 02 A6 */ mflr r0 -/* 8005F824 0005C784 90 01 00 14 */ stw r0, 0x14(r1) -/* 8005F828 0005C788 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8005F82C 0005C78C 7C 7F 1B 78 */ mr r31, r3 -/* 8005F830 0005C790 80 A3 01 2C */ lwz r5, 0x12c(r3) -/* 8005F834 0005C794 80 05 10 DC */ lwz r0, 0x10dc(r5) -/* 8005F838 0005C798 2C 00 00 01 */ cmpwi r0, 1 -/* 8005F83C 0005C79C 41 82 00 70 */ beq lbl_8005F8AC -/* 8005F840 0005C7A0 38 80 00 00 */ li r4, 0 -/* 8005F844 0005C7A4 38 00 00 01 */ li r0, 1 -/* 8005F848 0005C7A8 90 85 10 E0 */ stw r4, 0x10e0(r5) -/* 8005F84C 0005C7AC 38 80 00 00 */ li r4, 0 -/* 8005F850 0005C7B0 80 BF 01 2C */ lwz r5, 0x12c(r31) -/* 8005F854 0005C7B4 90 05 10 DC */ stw r0, 0x10dc(r5) -/* 8005F858 0005C7B8 48 00 01 BD */ bl TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer -/* 8005F85C 0005C7BC 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 8005F860 0005C7C0 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 8005F864 0005C7C4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8005F868 0005C7C8 40 82 00 0C */ bne lbl_8005F874 -/* 8005F86C 0005C7CC 7F E3 FB 78 */ mr r3, r31 -/* 8005F870 0005C7D0 48 00 2C D9 */ bl FillInStaticGeometry__9CGameAreaFv -lbl_8005F874: -/* 8005F874 0005C7D4 80 9F 01 2C */ lwz r4, 0x12c(r31) -/* 8005F878 0005C7D8 80 DF 00 04 */ lwz r6, 4(r31) -/* 8005F87C 0005C7DC 88 04 00 48 */ lbz r0, 0x48(r4) -/* 8005F880 0005C7E0 28 00 00 00 */ cmplwi r0, 0 -/* 8005F884 0005C7E4 41 82 00 0C */ beq lbl_8005F890 -/* 8005F888 0005C7E8 38 A4 00 0C */ addi r5, r4, 0xc -/* 8005F88C 0005C7EC 48 00 00 08 */ b lbl_8005F894 -lbl_8005F890: -/* 8005F890 0005C7F0 38 A0 00 00 */ li r5, 0 -lbl_8005F894: -/* 8005F894 0005C7F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8005F898 0005C7F8 38 84 00 4C */ addi r4, r4, 0x4c -/* 8005F89C 0005C7FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8005F8A0 0005C800 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8005F8A4 0005C804 7D 89 03 A6 */ mtctr r12 -/* 8005F8A8 0005C808 4E 80 04 21 */ bctrl -lbl_8005F8AC: -/* 8005F8AC 0005C80C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8005F8B0 0005C810 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8005F8B4 0005C814 7C 08 03 A6 */ mtlr r0 -/* 8005F8B8 0005C818 38 21 00 10 */ addi r1, r1, 0x10 -/* 8005F8BC 0005C81C 4E 80 00 20 */ blr - -.global TransferTokensToARAM__9CGameAreaFv -TransferTokensToARAM__9CGameAreaFv: -/* 8005F8C0 0005C820 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8005F8C4 0005C824 7C 08 02 A6 */ mflr r0 -/* 8005F8C8 0005C828 90 01 00 44 */ stw r0, 0x44(r1) -/* 8005F8CC 0005C82C 38 00 00 00 */ li r0, 0 -/* 8005F8D0 0005C830 BE E1 00 1C */ stmw r23, 0x1c(r1) -/* 8005F8D4 0005C834 7C 7B 1B 78 */ mr r27, r3 -/* 8005F8D8 0005C838 3B E1 00 08 */ addi r31, r1, 8 -/* 8005F8DC 0005C83C 3B 80 00 01 */ li r28, 1 -/* 8005F8E0 0005C840 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005F8E4 0005C844 80 83 10 E8 */ lwz r4, 0x10e8(r3) -/* 8005F8E8 0005C848 83 C3 10 FC */ lwz r30, 0x10fc(r3) -/* 8005F8EC 0005C84C 1F A4 00 0C */ mulli r29, r4, 0xc -/* 8005F8F0 0005C850 98 01 00 08 */ stb r0, 8(r1) -/* 8005F8F4 0005C854 90 01 00 0C */ stw r0, 0xc(r1) -/* 8005F8F8 0005C858 48 00 00 B4 */ b lbl_8005F9AC -lbl_8005F8FC: -/* 8005F8FC 0005C85C 7F B8 EB 78 */ mr r24, r29 -/* 8005F900 0005C860 3A E0 00 00 */ li r23, 0 -/* 8005F904 0005C864 3B 40 00 00 */ li r26, 0 -/* 8005F908 0005C868 48 00 00 48 */ b lbl_8005F950 -lbl_8005F90C: -/* 8005F90C 0005C86C 80 1B 01 1C */ lwz r0, 0x11c(r27) -/* 8005F910 0005C870 7F 20 C2 14 */ add r25, r0, r24 -/* 8005F914 0005C874 7C 1F C8 40 */ cmplw r31, r25 -/* 8005F918 0005C878 41 82 00 2C */ beq lbl_8005F944 -/* 8005F91C 0005C87C 88 19 00 00 */ lbz r0, 0(r25) -/* 8005F920 0005C880 28 00 00 00 */ cmplwi r0, 0 -/* 8005F924 0005C884 41 82 00 0C */ beq lbl_8005F930 -/* 8005F928 0005C888 80 79 00 04 */ lwz r3, 4(r25) -/* 8005F92C 0005C88C 48 2B 60 05 */ bl Free__7CMemoryFPCv -lbl_8005F930: -/* 8005F930 0005C890 88 01 00 08 */ lbz r0, 8(r1) -/* 8005F934 0005C894 98 19 00 00 */ stb r0, 0(r25) -/* 8005F938 0005C898 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8005F93C 0005C89C 90 19 00 04 */ stw r0, 4(r25) -/* 8005F940 0005C8A0 9B 41 00 08 */ stb r26, 8(r1) -lbl_8005F944: -/* 8005F944 0005C8A4 3B 18 00 0C */ addi r24, r24, 0xc -/* 8005F948 0005C8A8 3B BD 00 0C */ addi r29, r29, 0xc -/* 8005F94C 0005C8AC 3A F7 00 01 */ addi r23, r23, 1 -lbl_8005F950: -/* 8005F950 0005C8B0 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 8005F954 0005C8B4 7C 17 00 00 */ cmpw r23, r0 -/* 8005F958 0005C8B8 41 80 FF B4 */ blt lbl_8005F90C -/* 8005F95C 0005C8BC 82 FE 00 00 */ lwz r23, 0(r30) -/* 8005F960 0005C8C0 7F C3 F3 78 */ mr r3, r30 -/* 8005F964 0005C8C4 48 2F 8D 15 */ bl LoadToARAM__10CARAMTokenFv -/* 8005F968 0005C8C8 2C 17 00 01 */ cmpwi r23, 1 -/* 8005F96C 0005C8CC 40 82 00 24 */ bne lbl_8005F990 -/* 8005F970 0005C8D0 80 1E 00 00 */ lwz r0, 0(r30) -/* 8005F974 0005C8D4 2C 00 00 01 */ cmpwi r0, 1 -/* 8005F978 0005C8D8 41 82 00 18 */ beq lbl_8005F990 -/* 8005F97C 0005C8DC 80 9B 01 2C */ lwz r4, 0x12c(r27) -/* 8005F980 0005C8E0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8005F984 0005C8E4 80 64 11 00 */ lwz r3, 0x1100(r4) -/* 8005F988 0005C8E8 7C 03 02 14 */ add r0, r3, r0 -/* 8005F98C 0005C8EC 90 04 11 00 */ stw r0, 0x1100(r4) -lbl_8005F990: -/* 8005F990 0005C8F0 80 1E 00 00 */ lwz r0, 0(r30) -/* 8005F994 0005C8F4 2C 00 00 02 */ cmpwi r0, 2 -/* 8005F998 0005C8F8 41 80 00 10 */ blt lbl_8005F9A8 -/* 8005F99C 0005C8FC 2C 00 00 05 */ cmpwi r0, 5 -/* 8005F9A0 0005C900 41 81 00 08 */ bgt lbl_8005F9A8 -/* 8005F9A4 0005C904 3B 80 00 00 */ li r28, 0 -lbl_8005F9A8: -/* 8005F9A8 0005C908 3B DE 00 24 */ addi r30, r30, 0x24 -lbl_8005F9AC: -/* 8005F9AC 0005C90C 80 BB 01 2C */ lwz r5, 0x12c(r27) -/* 8005F9B0 0005C910 80 05 10 F4 */ lwz r0, 0x10f4(r5) -/* 8005F9B4 0005C914 80 65 10 FC */ lwz r3, 0x10fc(r5) -/* 8005F9B8 0005C918 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8005F9BC 0005C91C 7C 03 02 14 */ add r0, r3, r0 -/* 8005F9C0 0005C920 7C 1E 00 40 */ cmplw r30, r0 -/* 8005F9C4 0005C924 40 82 FF 38 */ bne lbl_8005F8FC -/* 8005F9C8 0005C928 88 05 11 08 */ lbz r0, 0x1108(r5) -/* 8005F9CC 0005C92C 38 80 00 00 */ li r4, 0 -/* 8005F9D0 0005C930 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8005F9D4 0005C934 98 05 11 08 */ stb r0, 0x1108(r5) -/* 8005F9D8 0005C938 80 7B 01 2C */ lwz r3, 0x12c(r27) -/* 8005F9DC 0005C93C 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 8005F9E0 0005C940 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8005F9E4 0005C944 98 03 11 08 */ stb r0, 0x1108(r3) -/* 8005F9E8 0005C948 88 01 00 08 */ lbz r0, 8(r1) -/* 8005F9EC 0005C94C 28 00 00 00 */ cmplwi r0, 0 -/* 8005F9F0 0005C950 41 82 00 0C */ beq lbl_8005F9FC -/* 8005F9F4 0005C954 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8005F9F8 0005C958 48 2B 5F 39 */ bl Free__7CMemoryFPCv -lbl_8005F9FC: -/* 8005F9FC 0005C95C 7F 83 E3 78 */ mr r3, r28 -/* 8005FA00 0005C960 BA E1 00 1C */ lmw r23, 0x1c(r1) -/* 8005FA04 0005C964 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8005FA08 0005C968 7C 08 03 A6 */ mtlr r0 -/* 8005FA0C 0005C96C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8005FA10 0005C970 4E 80 00 20 */ blr - -.global TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer -TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer: -/* 8005FA14 0005C974 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8005FA18 0005C978 7C 08 02 A6 */ mflr r0 -/* 8005FA1C 0005C97C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8005FA20 0005C980 BE A1 00 14 */ stmw r21, 0x14(r1) -/* 8005FA24 0005C984 7C 77 1B 78 */ mr r23, r3 -/* 8005FA28 0005C988 7C 98 23 78 */ mr r24, r4 -/* 8005FA2C 0005C98C 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8005FA30 0005C990 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 8005FA34 0005C994 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005FA38 0005C998 41 82 00 0C */ beq lbl_8005FA44 -/* 8005FA3C 0005C99C 38 60 00 01 */ li r3, 1 -/* 8005FA40 0005C9A0 48 00 01 3C */ b lbl_8005FB7C -lbl_8005FA44: -/* 8005FA44 0005C9A4 80 03 10 E8 */ lwz r0, 0x10e8(r3) -/* 8005FA48 0005C9A8 3B 60 00 01 */ li r27, 1 -/* 8005FA4C 0005C9AC 83 C3 10 FC */ lwz r30, 0x10fc(r3) -/* 8005FA50 0005C9B0 1F 80 00 0C */ mulli r28, r0, 0xc -/* 8005FA54 0005C9B4 48 00 00 FC */ b lbl_8005FB50 -lbl_8005FA58: -/* 8005FA58 0005C9B8 80 1E 00 00 */ lwz r0, 0(r30) -/* 8005FA5C 0005C9BC 2C 00 00 01 */ cmpwi r0, 1 -/* 8005FA60 0005C9C0 41 82 00 14 */ beq lbl_8005FA74 -/* 8005FA64 0005C9C4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8005FA68 0005C9C8 80 04 11 00 */ lwz r0, 0x1100(r4) -/* 8005FA6C 0005C9CC 7C 03 00 50 */ subf r0, r3, r0 -/* 8005FA70 0005C9D0 90 04 11 00 */ stw r0, 0x1100(r4) -lbl_8005FA74: -/* 8005FA74 0005C9D4 2C 18 00 01 */ cmpwi r24, 1 -/* 8005FA78 0005C9D8 40 82 00 1C */ bne lbl_8005FA94 -/* 8005FA7C 0005C9DC 7F C3 F3 78 */ mr r3, r30 -/* 8005FA80 0005C9E0 48 2F 8C ED */ bl LoadToMRAM__10CARAMTokenFv -/* 8005FA84 0005C9E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8005FA88 0005C9E8 40 82 00 0C */ bne lbl_8005FA94 -/* 8005FA8C 0005C9EC 3B 60 00 00 */ li r27, 0 -/* 8005FA90 0005C9F0 48 00 00 BC */ b lbl_8005FB4C -lbl_8005FA94: -/* 8005FA94 0005C9F4 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8005FA98 0005C9F8 41 82 00 B4 */ beq lbl_8005FB4C -/* 8005FA9C 0005C9FC 7F C3 F3 78 */ mr r3, r30 -/* 8005FAA0 0005CA00 48 2F 88 95 */ bl GetMRAMSafe__10CARAMTokenFv -/* 8005FAA4 0005CA04 7C 7F 1B 78 */ mr r31, r3 -/* 8005FAA8 0005CA08 7F 9D E3 78 */ mr r29, r28 -/* 8005FAAC 0005CA0C 3A C1 00 08 */ addi r22, r1, 8 -/* 8005FAB0 0005CA10 3B 40 00 00 */ li r26, 0 -/* 8005FAB4 0005CA14 3B 20 00 00 */ li r25, 0 -/* 8005FAB8 0005CA18 48 00 00 88 */ b lbl_8005FB40 -lbl_8005FABC: -/* 8005FABC 0005CA1C 7C 9F D2 14 */ add r4, r31, r26 -/* 8005FAC0 0005CA20 38 00 00 00 */ li r0, 0 -/* 8005FAC4 0005CA24 7C 64 00 D0 */ neg r3, r4 -/* 8005FAC8 0005CA28 90 81 00 0C */ stw r4, 0xc(r1) -/* 8005FACC 0005CA2C 7C 63 23 78 */ or r3, r3, r4 -/* 8005FAD0 0005CA30 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8005FAD4 0005CA34 98 61 00 08 */ stb r3, 8(r1) -/* 8005FAD8 0005CA38 98 01 00 08 */ stb r0, 8(r1) -/* 8005FADC 0005CA3C 80 17 01 1C */ lwz r0, 0x11c(r23) -/* 8005FAE0 0005CA40 7E A0 EA 14 */ add r21, r0, r29 -/* 8005FAE4 0005CA44 80 15 00 08 */ lwz r0, 8(r21) -/* 8005FAE8 0005CA48 7C 16 A8 40 */ cmplw r22, r21 -/* 8005FAEC 0005CA4C 7F 5A 02 14 */ add r26, r26, r0 -/* 8005FAF0 0005CA50 41 82 00 30 */ beq lbl_8005FB20 -/* 8005FAF4 0005CA54 88 15 00 00 */ lbz r0, 0(r21) -/* 8005FAF8 0005CA58 28 00 00 00 */ cmplwi r0, 0 -/* 8005FAFC 0005CA5C 41 82 00 0C */ beq lbl_8005FB08 -/* 8005FB00 0005CA60 80 75 00 04 */ lwz r3, 4(r21) -/* 8005FB04 0005CA64 48 2B 5E 2D */ bl Free__7CMemoryFPCv -lbl_8005FB08: -/* 8005FB08 0005CA68 88 61 00 08 */ lbz r3, 8(r1) -/* 8005FB0C 0005CA6C 38 00 00 00 */ li r0, 0 -/* 8005FB10 0005CA70 98 75 00 00 */ stb r3, 0(r21) -/* 8005FB14 0005CA74 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8005FB18 0005CA78 90 75 00 04 */ stw r3, 4(r21) -/* 8005FB1C 0005CA7C 98 01 00 08 */ stb r0, 8(r1) -lbl_8005FB20: -/* 8005FB20 0005CA80 88 01 00 08 */ lbz r0, 8(r1) -/* 8005FB24 0005CA84 3B BD 00 0C */ addi r29, r29, 0xc -/* 8005FB28 0005CA88 3B 9C 00 0C */ addi r28, r28, 0xc -/* 8005FB2C 0005CA8C 28 00 00 00 */ cmplwi r0, 0 -/* 8005FB30 0005CA90 41 82 00 0C */ beq lbl_8005FB3C -/* 8005FB34 0005CA94 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8005FB38 0005CA98 48 2B 5D F9 */ bl Free__7CMemoryFPCv -lbl_8005FB3C: -/* 8005FB3C 0005CA9C 3B 39 00 01 */ addi r25, r25, 1 -lbl_8005FB40: -/* 8005FB40 0005CAA0 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 8005FB44 0005CAA4 7C 19 00 00 */ cmpw r25, r0 -/* 8005FB48 0005CAA8 41 80 FF 74 */ blt lbl_8005FABC -lbl_8005FB4C: -/* 8005FB4C 0005CAAC 3B DE 00 24 */ addi r30, r30, 0x24 -lbl_8005FB50: -/* 8005FB50 0005CAB0 80 97 01 2C */ lwz r4, 0x12c(r23) -/* 8005FB54 0005CAB4 80 04 10 F4 */ lwz r0, 0x10f4(r4) -/* 8005FB58 0005CAB8 80 64 10 FC */ lwz r3, 0x10fc(r4) -/* 8005FB5C 0005CABC 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8005FB60 0005CAC0 7C 03 02 14 */ add r0, r3, r0 -/* 8005FB64 0005CAC4 7C 1E 00 40 */ cmplw r30, r0 -/* 8005FB68 0005CAC8 40 82 FE F0 */ bne lbl_8005FA58 -/* 8005FB6C 0005CACC 88 04 11 08 */ lbz r0, 0x1108(r4) -/* 8005FB70 0005CAD0 53 60 3E 30 */ rlwimi r0, r27, 7, 0x18, 0x18 -/* 8005FB74 0005CAD4 7F 63 DB 78 */ mr r3, r27 -/* 8005FB78 0005CAD8 98 04 11 08 */ stb r0, 0x1108(r4) -lbl_8005FB7C: -/* 8005FB7C 0005CADC BA A1 00 14 */ lmw r21, 0x14(r1) -/* 8005FB80 0005CAE0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8005FB84 0005CAE4 7C 08 03 A6 */ mtlr r0 -/* 8005FB88 0005CAE8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8005FB8C 0005CAEC 4E 80 00 20 */ blr - -.global SetChain__9CGameAreaFP9CGameAreai -SetChain__9CGameAreaFP9CGameAreai: -/* 8005FB90 0005CAF0 80 03 01 38 */ lwz r0, 0x138(r3) -/* 8005FB94 0005CAF4 7C 00 28 00 */ cmpw r0, r5 -/* 8005FB98 0005CAF8 40 82 00 0C */ bne lbl_8005FBA4 -/* 8005FB9C 0005CAFC 7C 03 03 78 */ mr r3, r0 -/* 8005FBA0 0005CB00 4E 80 00 20 */ blr -lbl_8005FBA4: -/* 8005FBA4 0005CB04 80 C3 01 34 */ lwz r6, 0x134(r3) -/* 8005FBA8 0005CB08 28 06 00 00 */ cmplwi r6, 0 -/* 8005FBAC 0005CB0C 41 82 00 0C */ beq lbl_8005FBB8 -/* 8005FBB0 0005CB10 80 03 01 30 */ lwz r0, 0x130(r3) -/* 8005FBB4 0005CB14 90 06 01 30 */ stw r0, 0x130(r6) -lbl_8005FBB8: -/* 8005FBB8 0005CB18 80 C3 01 30 */ lwz r6, 0x130(r3) -/* 8005FBBC 0005CB1C 28 06 00 00 */ cmplwi r6, 0 -/* 8005FBC0 0005CB20 41 82 00 0C */ beq lbl_8005FBCC -/* 8005FBC4 0005CB24 80 03 01 34 */ lwz r0, 0x134(r3) -/* 8005FBC8 0005CB28 90 06 01 34 */ stw r0, 0x134(r6) -lbl_8005FBCC: -/* 8005FBCC 0005CB2C 38 00 00 00 */ li r0, 0 -/* 8005FBD0 0005CB30 28 04 00 00 */ cmplwi r4, 0 -/* 8005FBD4 0005CB34 90 03 01 34 */ stw r0, 0x134(r3) -/* 8005FBD8 0005CB38 90 83 01 30 */ stw r4, 0x130(r3) -/* 8005FBDC 0005CB3C 41 82 00 08 */ beq lbl_8005FBE4 -/* 8005FBE0 0005CB40 90 64 01 34 */ stw r3, 0x134(r4) -lbl_8005FBE4: -/* 8005FBE4 0005CB44 80 03 01 38 */ lwz r0, 0x138(r3) -/* 8005FBE8 0005CB48 90 A3 01 38 */ stw r5, 0x138(r3) -/* 8005FBEC 0005CB4C 7C 03 03 78 */ mr r3, r0 -/* 8005FBF0 0005CB50 4E 80 00 20 */ blr - -.global StartStreamingMainArea__9CGameAreaFv -StartStreamingMainArea__9CGameAreaFv: -/* 8005FBF4 0005CB54 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8005FBF8 0005CB58 7C 08 02 A6 */ mflr r0 -/* 8005FBFC 0005CB5C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8005FC00 0005CB60 BE E1 00 4C */ stmw r23, 0x4c(r1) -/* 8005FC04 0005CB64 7C 7E 1B 78 */ mr r30, r3 -/* 8005FC08 0005CB68 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8005FC0C 0005CB6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8005FC10 0005CB70 41 82 00 0C */ beq lbl_8005FC1C -/* 8005FC14 0005CB74 38 60 00 00 */ li r3, 0 -/* 8005FC18 0005CB78 48 00 04 A4 */ b lbl_800600BC -lbl_8005FC1C: -/* 8005FC1C 0005CB7C 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 8005FC20 0005CB80 2C 00 00 02 */ cmpwi r0, 2 -/* 8005FC24 0005CB84 41 82 00 C4 */ beq lbl_8005FCE8 -/* 8005FC28 0005CB88 40 80 00 14 */ bge lbl_8005FC3C -/* 8005FC2C 0005CB8C 2C 00 00 00 */ cmpwi r0, 0 -/* 8005FC30 0005CB90 41 82 00 1C */ beq lbl_8005FC4C -/* 8005FC34 0005CB94 40 80 00 6C */ bge lbl_8005FCA0 -/* 8005FC38 0005CB98 48 00 04 80 */ b lbl_800600B8 -lbl_8005FC3C: -/* 8005FC3C 0005CB9C 2C 00 00 04 */ cmpwi r0, 4 -/* 8005FC40 0005CBA0 41 82 04 60 */ beq lbl_800600A0 -/* 8005FC44 0005CBA4 40 80 04 74 */ bge lbl_800600B8 -/* 8005FC48 0005CBA8 48 00 00 F0 */ b lbl_8005FD38 -lbl_8005FC4C: -/* 8005FC4C 0005CBAC 38 7E 01 10 */ addi r3, r30, 0x110 -/* 8005FC50 0005CBB0 38 80 00 02 */ li r4, 2 -/* 8005FC54 0005CBB4 48 00 49 1D */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" -/* 8005FC58 0005CBB8 7F C3 F3 78 */ mr r3, r30 -/* 8005FC5C 0005CBBC 38 80 00 00 */ li r4, 0 -/* 8005FC60 0005CBC0 38 A0 00 60 */ li r5, 0x60 -/* 8005FC64 0005CBC4 48 00 0B 39 */ bl AllocNewAreaData__9CGameAreaFii -/* 8005FC68 0005CBC8 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 8005FC6C 0005CBCC 38 60 11 40 */ li r3, 0x1140 -/* 8005FC70 0005CBD0 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 8005FC74 0005CBD4 38 A0 00 00 */ li r5, 0 -/* 8005FC78 0005CBD8 48 2B 5B F5 */ bl __nw__FUlPCcPCc -/* 8005FC7C 0005CBDC 7C 64 1B 79 */ or. r4, r3, r3 -/* 8005FC80 0005CBE0 41 82 00 0C */ beq lbl_8005FC8C -/* 8005FC84 0005CBE4 48 00 3B 6D */ bl __ct__Q29CGameArea16CPostConstructedFv -/* 8005FC88 0005CBE8 7C 64 1B 78 */ mr r4, r3 -lbl_8005FC8C: -/* 8005FC8C 0005CBEC 38 7E 01 2C */ addi r3, r30, 0x12c -/* 8005FC90 0005CBF0 48 00 04 41 */ bl sub_800600d0 -/* 8005FC94 0005CBF4 38 00 00 01 */ li r0, 1 -/* 8005FC98 0005CBF8 90 1E 00 F4 */ stw r0, 0xf4(r30) -/* 8005FC9C 0005CBFC 48 00 04 1C */ b lbl_800600B8 -lbl_8005FCA0: -/* 8005FCA0 0005CC00 48 00 10 E1 */ bl CullDeadAreaRequests__9CGameAreaFv -/* 8005FCA4 0005CC04 80 1E 01 0C */ lwz r0, 0x10c(r30) -/* 8005FCA8 0005CC08 2C 00 00 00 */ cmpwi r0, 0 -/* 8005FCAC 0005CC0C 40 82 04 0C */ bne lbl_800600B8 -/* 8005FCB0 0005CC10 7F C3 F3 78 */ mr r3, r30 -/* 8005FCB4 0005CC14 48 00 3D E9 */ bl VerifyHeader__9CGameAreaCFv -/* 8005FCB8 0005CC18 7F C3 F3 78 */ mr r3, r30 -/* 8005FCBC 0005CC1C 48 00 0A D1 */ bl GetNumPartSizes__9CGameAreaCFv -/* 8005FCC0 0005CC20 80 BE 01 1C */ lwz r5, 0x11c(r30) -/* 8005FCC4 0005CC24 54 64 10 3A */ slwi r4, r3, 2 -/* 8005FCC8 0005CC28 38 04 00 1F */ addi r0, r4, 0x1f -/* 8005FCCC 0005CC2C 7F C3 F3 78 */ mr r3, r30 -/* 8005FCD0 0005CC30 80 85 00 08 */ lwz r4, 8(r5) -/* 8005FCD4 0005CC34 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a -/* 8005FCD8 0005CC38 48 00 0A C5 */ bl AllocNewAreaData__9CGameAreaFii -/* 8005FCDC 0005CC3C 38 00 00 02 */ li r0, 2 -/* 8005FCE0 0005CC40 90 1E 00 F4 */ stw r0, 0xf4(r30) -/* 8005FCE4 0005CC44 48 00 03 D4 */ b lbl_800600B8 -lbl_8005FCE8: -/* 8005FCE8 0005CC48 48 00 10 99 */ bl CullDeadAreaRequests__9CGameAreaFv -/* 8005FCEC 0005CC4C 80 1E 01 0C */ lwz r0, 0x10c(r30) -/* 8005FCF0 0005CC50 2C 00 00 00 */ cmpwi r0, 0 -/* 8005FCF4 0005CC54 40 82 03 C4 */ bne lbl_800600B8 -/* 8005FCF8 0005CC58 7F C3 F3 78 */ mr r3, r30 -/* 8005FCFC 0005CC5C 48 00 0A 91 */ bl GetNumPartSizes__9CGameAreaCFv -/* 8005FD00 0005CC60 7C 64 1B 78 */ mr r4, r3 -/* 8005FD04 0005CC64 38 7E 01 10 */ addi r3, r30, 0x110 -/* 8005FD08 0005CC68 38 84 00 02 */ addi r4, r4, 2 -/* 8005FD0C 0005CC6C 48 00 48 65 */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" -/* 8005FD10 0005CC70 80 9E 01 1C */ lwz r4, 0x11c(r30) -/* 8005FD14 0005CC74 38 60 00 00 */ li r3, 0 -/* 8005FD18 0005CC78 38 00 00 03 */ li r0, 3 -/* 8005FD1C 0005CC7C 80 A4 00 08 */ lwz r5, 8(r4) -/* 8005FD20 0005CC80 80 84 00 14 */ lwz r4, 0x14(r4) -/* 8005FD24 0005CC84 90 7E 01 24 */ stw r3, 0x124(r30) -/* 8005FD28 0005CC88 7C A5 22 14 */ add r5, r5, r4 -/* 8005FD2C 0005CC8C 90 BE 01 28 */ stw r5, 0x128(r30) -/* 8005FD30 0005CC90 90 1E 00 F4 */ stw r0, 0xf4(r30) -/* 8005FD34 0005CC94 48 00 03 84 */ b lbl_800600B8 -lbl_8005FD38: -/* 8005FD38 0005CC98 48 00 10 49 */ bl CullDeadAreaRequests__9CGameAreaFv -/* 8005FD3C 0005CC9C 83 BE 01 24 */ lwz r29, 0x124(r30) -/* 8005FD40 0005CCA0 7F C3 F3 78 */ mr r3, r30 -/* 8005FD44 0005CCA4 3B 60 00 00 */ li r27, 0 -/* 8005FD48 0005CCA8 48 00 0A 45 */ bl GetNumPartSizes__9CGameAreaCFv -/* 8005FD4C 0005CCAC 80 BE 01 1C */ lwz r5, 0x11c(r30) -/* 8005FD50 0005CCB0 7C 7C 1B 78 */ mr r28, r3 -/* 8005FD54 0005CCB4 3C 80 4D 52 */ lis r4, 0x4D524541@ha -/* 8005FD58 0005CCB8 57 A3 10 3A */ slwi r3, r29, 2 -/* 8005FD5C 0005CCBC 83 25 00 10 */ lwz r25, 0x10(r5) -/* 8005FD60 0005CCC0 38 84 45 41 */ addi r4, r4, 0x4D524541@l -/* 8005FD64 0005CCC4 80 BE 00 84 */ lwz r5, 0x84(r30) -/* 8005FD68 0005CCC8 7C 1D E0 50 */ subf r0, r29, r28 -/* 8005FD6C 0005CCCC 7F 59 1A 14 */ add r26, r25, r3 -/* 8005FD70 0005CCD0 7F BF EB 78 */ mr r31, r29 -/* 8005FD74 0005CCD4 7F 46 D3 78 */ mr r6, r26 -/* 8005FD78 0005CCD8 90 81 00 28 */ stw r4, 0x28(r1) -/* 8005FD7C 0005CCDC 3C 60 00 01 */ lis r3, 1 -/* 8005FD80 0005CCE0 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8005FD84 0005CCE4 7C 09 03 A6 */ mtctr r0 -/* 8005FD88 0005CCE8 7C 1D E0 00 */ cmpw r29, r28 -/* 8005FD8C 0005CCEC 40 80 00 2C */ bge lbl_8005FDB8 -lbl_8005FD90: -/* 8005FD90 0005CCF0 7C 1F E8 00 */ cmpw r31, r29 -/* 8005FD94 0005CCF4 80 86 00 00 */ lwz r4, 0(r6) -/* 8005FD98 0005CCF8 41 82 00 10 */ beq lbl_8005FDA8 -/* 8005FD9C 0005CCFC 7C 04 DA 14 */ add r0, r4, r27 -/* 8005FDA0 0005CD00 7C 00 18 00 */ cmpw r0, r3 -/* 8005FDA4 0005CD04 41 81 00 14 */ bgt lbl_8005FDB8 -lbl_8005FDA8: -/* 8005FDA8 0005CD08 7F 7B 22 14 */ add r27, r27, r4 -/* 8005FDAC 0005CD0C 38 C6 00 04 */ addi r6, r6, 4 -/* 8005FDB0 0005CD10 3B FF 00 01 */ addi r31, r31, 1 -/* 8005FDB4 0005CD14 42 00 FF DC */ bdnz lbl_8005FD90 -lbl_8005FDB8: -/* 8005FDB8 0005CD18 3C 60 80 3D */ lis r3, lbl_803CCFAC@ha -/* 8005FDBC 0005CD1C 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8005FDC0 0005CD20 38 A3 CF AC */ addi r5, r3, lbl_803CCFAC@l -/* 8005FDC4 0005CD24 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8005FDC8 0005CD28 38 61 00 10 */ addi r3, r1, 0x10 -/* 8005FDCC 0005CD2C 38 80 FF FF */ li r4, -1 -/* 8005FDD0 0005CD30 48 27 66 05 */ bl __ct__10CCallStackFUiPCcPCc -/* 8005FDD4 0005CD34 7C 67 1B 78 */ mr r7, r3 -/* 8005FDD8 0005CD38 7F 63 DB 78 */ mr r3, r27 -/* 8005FDDC 0005CD3C 38 80 00 02 */ li r4, 2 -/* 8005FDE0 0005CD40 38 A0 00 01 */ li r5, 1 -/* 8005FDE4 0005CD44 38 C0 00 00 */ li r6, 0 -/* 8005FDE8 0005CD48 48 2B 5B AD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8005FDEC 0005CD4C 7C 03 00 D0 */ neg r0, r3 -/* 8005FDF0 0005CD50 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13) -/* 8005FDF4 0005CD54 7C 00 1B 78 */ or r0, r0, r3 -/* 8005FDF8 0005CD58 80 BE 01 28 */ lwz r5, 0x128(r30) -/* 8005FDFC 0005CD5C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8005FE00 0005CD60 90 61 00 24 */ stw r3, 0x24(r1) -/* 8005FE04 0005CD64 7C 67 1B 78 */ mr r7, r3 -/* 8005FE08 0005CD68 38 64 00 04 */ addi r3, r4, 4 -/* 8005FE0C 0005CD6C 98 01 00 20 */ stb r0, 0x20(r1) -/* 8005FE10 0005CD70 7F 66 DB 78 */ mr r6, r27 -/* 8005FE14 0005CD74 38 81 00 28 */ addi r4, r1, 0x28 -/* 8005FE18 0005CD78 48 2D BC E5 */ bl LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc -/* 8005FE1C 0005CD7C 7C 03 00 D0 */ neg r0, r3 -/* 8005FE20 0005CD80 82 FE 01 00 */ lwz r23, 0x100(r30) -/* 8005FE24 0005CD84 7C 00 1B 78 */ or r0, r0, r3 -/* 8005FE28 0005CD88 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 8005FE2C 0005CD8C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8005FE30 0005CD90 90 61 00 0C */ stw r3, 0xc(r1) -/* 8005FE34 0005CD94 83 17 00 00 */ lwz r24, 0(r23) -/* 8005FE38 0005CD98 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 8005FE3C 0005CD9C 98 01 00 08 */ stb r0, 8(r1) -/* 8005FE40 0005CDA0 38 60 00 10 */ li r3, 0x10 -/* 8005FE44 0005CDA4 38 A0 00 00 */ li r5, 0 -/* 8005FE48 0005CDA8 48 2B 59 D1 */ bl __nwa__FUlPCcPCc -/* 8005FE4C 0005CDAC 28 03 00 00 */ cmplwi r3, 0 -/* 8005FE50 0005CDB0 41 82 00 0C */ beq lbl_8005FE5C -/* 8005FE54 0005CDB4 93 03 00 00 */ stw r24, 0(r3) -/* 8005FE58 0005CDB8 92 E3 00 04 */ stw r23, 4(r3) -lbl_8005FE5C: -/* 8005FE5C 0005CDBC 34 C3 00 08 */ addic. r6, r3, 8 -/* 8005FE60 0005CDC0 41 82 00 1C */ beq lbl_8005FE7C -/* 8005FE64 0005CDC4 88 A1 00 08 */ lbz r5, 8(r1) -/* 8005FE68 0005CDC8 38 00 00 00 */ li r0, 0 -/* 8005FE6C 0005CDCC 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8005FE70 0005CDD0 98 A6 00 00 */ stb r5, 0(r6) -/* 8005FE74 0005CDD4 90 86 00 04 */ stw r4, 4(r6) -/* 8005FE78 0005CDD8 98 01 00 08 */ stb r0, 8(r1) -lbl_8005FE7C: -/* 8005FE7C 0005CDDC 80 1E 00 FC */ lwz r0, 0xfc(r30) -/* 8005FE80 0005CDE0 7C 17 00 40 */ cmplw r23, r0 -/* 8005FE84 0005CDE4 40 82 00 08 */ bne lbl_8005FE8C -/* 8005FE88 0005CDE8 90 7E 00 FC */ stw r3, 0xfc(r30) -lbl_8005FE8C: -/* 8005FE8C 0005CDEC 80 83 00 00 */ lwz r4, 0(r3) -/* 8005FE90 0005CDF0 88 01 00 08 */ lbz r0, 8(r1) -/* 8005FE94 0005CDF4 90 64 00 04 */ stw r3, 4(r4) -/* 8005FE98 0005CDF8 28 00 00 00 */ cmplwi r0, 0 -/* 8005FE9C 0005CDFC 80 83 00 04 */ lwz r4, 4(r3) -/* 8005FEA0 0005CE00 90 64 00 00 */ stw r3, 0(r4) -/* 8005FEA4 0005CE04 80 7E 01 0C */ lwz r3, 0x10c(r30) -/* 8005FEA8 0005CE08 38 03 00 01 */ addi r0, r3, 1 -/* 8005FEAC 0005CE0C 90 1E 01 0C */ stw r0, 0x10c(r30) -/* 8005FEB0 0005CE10 41 82 00 24 */ beq lbl_8005FED4 -/* 8005FEB4 0005CE14 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8005FEB8 0005CE18 28 03 00 00 */ cmplwi r3, 0 -/* 8005FEBC 0005CE1C 41 82 00 18 */ beq lbl_8005FED4 -/* 8005FEC0 0005CE20 81 83 00 00 */ lwz r12, 0(r3) -/* 8005FEC4 0005CE24 38 80 00 01 */ li r4, 1 -/* 8005FEC8 0005CE28 81 8C 00 08 */ lwz r12, 8(r12) -/* 8005FECC 0005CE2C 7D 89 03 A6 */ mtctr r12 -/* 8005FED0 0005CE30 4E 80 04 21 */ bctrl -lbl_8005FED4: -/* 8005FED4 0005CE34 80 1E 01 28 */ lwz r0, 0x128(r30) -/* 8005FED8 0005CE38 38 60 00 00 */ li r3, 0 -/* 8005FEDC 0005CE3C 88 A1 00 20 */ lbz r5, 0x20(r1) -/* 8005FEE0 0005CE40 7C 00 DA 14 */ add r0, r0, r27 -/* 8005FEE4 0005CE44 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8005FEE8 0005CE48 90 1E 01 28 */ stw r0, 0x128(r30) -/* 8005FEEC 0005CE4C 80 1E 01 14 */ lwz r0, 0x114(r30) -/* 8005FEF0 0005CE50 80 DA 00 00 */ lwz r6, 0(r26) -/* 8005FEF4 0005CE54 80 FE 01 18 */ lwz r7, 0x118(r30) -/* 8005FEF8 0005CE58 98 A1 00 3C */ stb r5, 0x3c(r1) -/* 8005FEFC 0005CE5C 7C D8 33 78 */ mr r24, r6 -/* 8005FF00 0005CE60 7C 00 38 00 */ cmpw r0, r7 -/* 8005FF04 0005CE64 90 81 00 40 */ stw r4, 0x40(r1) -/* 8005FF08 0005CE68 98 61 00 20 */ stb r3, 0x20(r1) -/* 8005FF0C 0005CE6C 90 C1 00 44 */ stw r6, 0x44(r1) -/* 8005FF10 0005CE70 41 80 00 1C */ blt lbl_8005FF2C -/* 8005FF14 0005CE74 2C 07 00 00 */ cmpwi r7, 0 -/* 8005FF18 0005CE78 38 7E 01 10 */ addi r3, r30, 0x110 -/* 8005FF1C 0005CE7C 38 80 00 04 */ li r4, 4 -/* 8005FF20 0005CE80 41 82 00 08 */ beq lbl_8005FF28 -/* 8005FF24 0005CE84 54 E4 08 3C */ slwi r4, r7, 1 -lbl_8005FF28: -/* 8005FF28 0005CE88 48 00 46 49 */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" -lbl_8005FF2C: -/* 8005FF2C 0005CE8C 80 1E 01 14 */ lwz r0, 0x114(r30) -/* 8005FF30 0005CE90 80 7E 01 1C */ lwz r3, 0x11c(r30) -/* 8005FF34 0005CE94 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005FF38 0005CE98 7C A3 02 15 */ add. r5, r3, r0 -/* 8005FF3C 0005CE9C 41 82 00 24 */ beq lbl_8005FF60 -/* 8005FF40 0005CEA0 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 8005FF44 0005CEA4 38 60 00 00 */ li r3, 0 -/* 8005FF48 0005CEA8 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8005FF4C 0005CEAC 98 05 00 00 */ stb r0, 0(r5) -/* 8005FF50 0005CEB0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8005FF54 0005CEB4 90 85 00 04 */ stw r4, 4(r5) -/* 8005FF58 0005CEB8 98 61 00 3C */ stb r3, 0x3c(r1) -/* 8005FF5C 0005CEBC 90 05 00 08 */ stw r0, 8(r5) -lbl_8005FF60: -/* 8005FF60 0005CEC0 80 7E 01 14 */ lwz r3, 0x114(r30) -/* 8005FF64 0005CEC4 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 8005FF68 0005CEC8 38 63 00 01 */ addi r3, r3, 1 -/* 8005FF6C 0005CECC 28 00 00 00 */ cmplwi r0, 0 -/* 8005FF70 0005CED0 90 7E 01 14 */ stw r3, 0x114(r30) -/* 8005FF74 0005CED4 41 82 00 0C */ beq lbl_8005FF80 -/* 8005FF78 0005CED8 80 61 00 40 */ lwz r3, 0x40(r1) -/* 8005FF7C 0005CEDC 48 2B 59 B5 */ bl Free__7CMemoryFPCv -lbl_8005FF80: -/* 8005FF80 0005CEE0 3A FD 00 01 */ addi r23, r29, 1 -/* 8005FF84 0005CEE4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8005FF88 0005CEE8 56 E0 10 3A */ slwi r0, r23, 2 -/* 8005FF8C 0005CEEC 7F 59 02 14 */ add r26, r25, r0 -/* 8005FF90 0005CEF0 48 00 00 D4 */ b lbl_80060064 -lbl_8005FF94: -/* 8005FF94 0005CEF4 7C BD C2 14 */ add r5, r29, r24 -/* 8005FF98 0005CEF8 38 60 00 00 */ li r3, 0 -/* 8005FF9C 0005CEFC 7C 05 00 D0 */ neg r0, r5 -/* 8005FFA0 0005CF00 83 7A 00 00 */ lwz r27, 0(r26) -/* 8005FFA4 0005CF04 7C 04 2B 78 */ or r4, r0, r5 -/* 8005FFA8 0005CF08 80 1E 01 14 */ lwz r0, 0x114(r30) -/* 8005FFAC 0005CF0C 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8005FFB0 0005CF10 80 DE 01 18 */ lwz r6, 0x118(r30) -/* 8005FFB4 0005CF14 98 81 00 18 */ stb r4, 0x18(r1) -/* 8005FFB8 0005CF18 7C 00 30 00 */ cmpw r0, r6 -/* 8005FFBC 0005CF1C 98 61 00 18 */ stb r3, 0x18(r1) -/* 8005FFC0 0005CF20 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8005FFC4 0005CF24 98 61 00 30 */ stb r3, 0x30(r1) -/* 8005FFC8 0005CF28 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8005FFCC 0005CF2C 98 61 00 18 */ stb r3, 0x18(r1) -/* 8005FFD0 0005CF30 93 61 00 38 */ stw r27, 0x38(r1) -/* 8005FFD4 0005CF34 41 80 00 1C */ blt lbl_8005FFF0 -/* 8005FFD8 0005CF38 2C 06 00 00 */ cmpwi r6, 0 -/* 8005FFDC 0005CF3C 38 7E 01 10 */ addi r3, r30, 0x110 -/* 8005FFE0 0005CF40 38 80 00 04 */ li r4, 4 -/* 8005FFE4 0005CF44 41 82 00 08 */ beq lbl_8005FFEC -/* 8005FFE8 0005CF48 54 C4 08 3C */ slwi r4, r6, 1 -lbl_8005FFEC: -/* 8005FFEC 0005CF4C 48 00 45 85 */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" -lbl_8005FFF0: -/* 8005FFF0 0005CF50 80 1E 01 14 */ lwz r0, 0x114(r30) -/* 8005FFF4 0005CF54 80 7E 01 1C */ lwz r3, 0x11c(r30) -/* 8005FFF8 0005CF58 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8005FFFC 0005CF5C 7C A3 02 15 */ add. r5, r3, r0 -/* 80060000 0005CF60 41 82 00 24 */ beq lbl_80060024 -/* 80060004 0005CF64 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80060008 0005CF68 38 60 00 00 */ li r3, 0 -/* 8006000C 0005CF6C 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80060010 0005CF70 98 05 00 00 */ stb r0, 0(r5) -/* 80060014 0005CF74 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80060018 0005CF78 90 85 00 04 */ stw r4, 4(r5) -/* 8006001C 0005CF7C 98 61 00 30 */ stb r3, 0x30(r1) -/* 80060020 0005CF80 90 05 00 08 */ stw r0, 8(r5) -lbl_80060024: -/* 80060024 0005CF84 80 7E 01 14 */ lwz r3, 0x114(r30) -/* 80060028 0005CF88 88 01 00 30 */ lbz r0, 0x30(r1) -/* 8006002C 0005CF8C 38 63 00 01 */ addi r3, r3, 1 -/* 80060030 0005CF90 28 00 00 00 */ cmplwi r0, 0 -/* 80060034 0005CF94 90 7E 01 14 */ stw r3, 0x114(r30) -/* 80060038 0005CF98 41 82 00 0C */ beq lbl_80060044 -/* 8006003C 0005CF9C 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80060040 0005CFA0 48 2B 58 F1 */ bl Free__7CMemoryFPCv -lbl_80060044: -/* 80060044 0005CFA4 88 01 00 18 */ lbz r0, 0x18(r1) -/* 80060048 0005CFA8 7F 18 DA 14 */ add r24, r24, r27 -/* 8006004C 0005CFAC 28 00 00 00 */ cmplwi r0, 0 -/* 80060050 0005CFB0 41 82 00 0C */ beq lbl_8006005C -/* 80060054 0005CFB4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80060058 0005CFB8 48 2B 58 D9 */ bl Free__7CMemoryFPCv -lbl_8006005C: -/* 8006005C 0005CFBC 3B 5A 00 04 */ addi r26, r26, 4 -/* 80060060 0005CFC0 3A F7 00 01 */ addi r23, r23, 1 -lbl_80060064: -/* 80060064 0005CFC4 7C 17 F8 00 */ cmpw r23, r31 -/* 80060068 0005CFC8 41 80 FF 2C */ blt lbl_8005FF94 -/* 8006006C 0005CFCC 7C 1F E0 00 */ cmpw r31, r28 -/* 80060070 0005CFD0 93 FE 01 24 */ stw r31, 0x124(r30) -/* 80060074 0005CFD4 40 82 00 14 */ bne lbl_80060088 -/* 80060078 0005CFD8 80 7E 01 28 */ lwz r3, 0x128(r30) -/* 8006007C 0005CFDC 38 00 00 04 */ li r0, 4 -/* 80060080 0005CFE0 90 7E 01 20 */ stw r3, 0x120(r30) -/* 80060084 0005CFE4 90 1E 00 F4 */ stw r0, 0xf4(r30) -lbl_80060088: -/* 80060088 0005CFE8 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8006008C 0005CFEC 28 00 00 00 */ cmplwi r0, 0 -/* 80060090 0005CFF0 41 82 00 28 */ beq lbl_800600B8 -/* 80060094 0005CFF4 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80060098 0005CFF8 48 2B 58 99 */ bl Free__7CMemoryFPCv -/* 8006009C 0005CFFC 48 00 00 1C */ b lbl_800600B8 -lbl_800600A0: -/* 800600A0 0005D000 48 00 0C E1 */ bl CullDeadAreaRequests__9CGameAreaFv -/* 800600A4 0005D004 80 1E 01 0C */ lwz r0, 0x10c(r30) -/* 800600A8 0005D008 2C 00 00 00 */ cmpwi r0, 0 -/* 800600AC 0005D00C 40 82 00 0C */ bne lbl_800600B8 -/* 800600B0 0005D010 38 60 00 00 */ li r3, 0 -/* 800600B4 0005D014 48 00 00 08 */ b lbl_800600BC -lbl_800600B8: -/* 800600B8 0005D018 38 60 00 01 */ li r3, 1 -lbl_800600BC: -/* 800600BC 0005D01C BA E1 00 4C */ lmw r23, 0x4c(r1) -/* 800600C0 0005D020 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800600C4 0005D024 7C 08 03 A6 */ mtlr r0 -/* 800600C8 0005D028 38 21 00 70 */ addi r1, r1, 0x70 -/* 800600CC 0005D02C 4E 80 00 20 */ blr - -.global sub_800600d0 -sub_800600d0: -/* 800600D0 0005D030 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800600D4 0005D034 7C 08 02 A6 */ mflr r0 -/* 800600D8 0005D038 90 01 00 14 */ stw r0, 0x14(r1) -/* 800600DC 0005D03C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800600E0 0005D040 7C 9F 23 78 */ mr r31, r4 -/* 800600E4 0005D044 38 80 00 01 */ li r4, 1 -/* 800600E8 0005D048 93 C1 00 08 */ stw r30, 8(r1) -/* 800600EC 0005D04C 7C 7E 1B 78 */ mr r30, r3 -/* 800600F0 0005D050 80 63 00 00 */ lwz r3, 0(r3) -/* 800600F4 0005D054 48 00 00 25 */ bl __dt__Q29CGameArea16CPostConstructedFv -/* 800600F8 0005D058 93 FE 00 00 */ stw r31, 0(r30) -/* 800600FC 0005D05C 7F C3 F3 78 */ mr r3, r30 -/* 80060100 0005D060 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80060104 0005D064 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80060108 0005D068 83 C1 00 08 */ lwz r30, 8(r1) -/* 8006010C 0005D06C 7C 08 03 A6 */ mtlr r0 -/* 80060110 0005D070 38 21 00 10 */ addi r1, r1, 0x10 -/* 80060114 0005D074 4E 80 00 20 */ blr - -.global __dt__Q29CGameArea16CPostConstructedFv -__dt__Q29CGameArea16CPostConstructedFv: -/* 80060118 0005D078 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8006011C 0005D07C 7C 08 02 A6 */ mflr r0 -/* 80060120 0005D080 90 01 00 84 */ stw r0, 0x84(r1) -/* 80060124 0005D084 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80060128 0005D088 7C 9F 23 78 */ mr r31, r4 -/* 8006012C 0005D08C 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80060130 0005D090 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80060134 0005D094 93 A1 00 74 */ stw r29, 0x74(r1) -/* 80060138 0005D098 93 81 00 70 */ stw r28, 0x70(r1) -/* 8006013C 0005D09C 41 82 03 5C */ beq lbl_80060498 -/* 80060140 0005D0A0 34 1E 11 0C */ addic. r0, r30, 0x110c -/* 80060144 0005D0A4 41 82 00 44 */ beq lbl_80060188 -/* 80060148 0005D0A8 80 1E 11 10 */ lwz r0, 0x1110(r30) -/* 8006014C 0005D0AC 80 7E 11 18 */ lwz r3, 0x1118(r30) -/* 80060150 0005D0B0 54 00 18 38 */ slwi r0, r0, 3 -/* 80060154 0005D0B4 7C 03 02 14 */ add r0, r3, r0 -/* 80060158 0005D0B8 90 61 00 5C */ stw r3, 0x5c(r1) -/* 8006015C 0005D0BC 7C 64 1B 78 */ mr r4, r3 -/* 80060160 0005D0C0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80060164 0005D0C4 90 01 00 60 */ stw r0, 0x60(r1) -/* 80060168 0005D0C8 90 61 00 58 */ stw r3, 0x58(r1) -/* 8006016C 0005D0CC 48 00 00 08 */ b lbl_80060174 -lbl_80060170: -/* 80060170 0005D0D0 38 84 00 08 */ addi r4, r4, 8 -lbl_80060174: -/* 80060174 0005D0D4 7C 04 00 40 */ cmplw r4, r0 -/* 80060178 0005D0D8 40 82 FF F8 */ bne lbl_80060170 -/* 8006017C 0005D0DC 28 03 00 00 */ cmplwi r3, 0 -/* 80060180 0005D0E0 41 82 00 08 */ beq lbl_80060188 -/* 80060184 0005D0E4 48 2B 57 AD */ bl Free__7CMemoryFPCv -lbl_80060188: -/* 80060188 0005D0E8 34 1E 10 F0 */ addic. r0, r30, 0x10f0 -/* 8006018C 0005D0EC 41 82 00 58 */ beq lbl_800601E4 -/* 80060190 0005D0F0 80 1E 10 F4 */ lwz r0, 0x10f4(r30) -/* 80060194 0005D0F4 83 9E 10 FC */ lwz r28, 0x10fc(r30) -/* 80060198 0005D0F8 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8006019C 0005D0FC 93 81 00 4C */ stw r28, 0x4c(r1) -/* 800601A0 0005D100 7F BC 02 14 */ add r29, r28, r0 -/* 800601A4 0005D104 93 81 00 48 */ stw r28, 0x48(r1) -/* 800601A8 0005D108 93 A1 00 54 */ stw r29, 0x54(r1) -/* 800601AC 0005D10C 93 A1 00 50 */ stw r29, 0x50(r1) -/* 800601B0 0005D110 48 00 00 1C */ b lbl_800601CC -lbl_800601B4: -/* 800601B4 0005D114 28 1C 00 00 */ cmplwi r28, 0 -/* 800601B8 0005D118 41 82 00 10 */ beq lbl_800601C8 -/* 800601BC 0005D11C 7F 83 E3 78 */ mr r3, r28 -/* 800601C0 0005D120 38 80 FF FF */ li r4, -1 -/* 800601C4 0005D124 48 2F 87 81 */ bl __dt__10CARAMTokenFv -lbl_800601C8: -/* 800601C8 0005D128 3B 9C 00 24 */ addi r28, r28, 0x24 -lbl_800601CC: -/* 800601CC 0005D12C 7C 1C E8 40 */ cmplw r28, r29 -/* 800601D0 0005D130 40 82 FF E4 */ bne lbl_800601B4 -/* 800601D4 0005D134 80 7E 10 FC */ lwz r3, 0x10fc(r30) -/* 800601D8 0005D138 28 03 00 00 */ cmplwi r3, 0 -/* 800601DC 0005D13C 41 82 00 08 */ beq lbl_800601E4 -/* 800601E0 0005D140 48 2B 57 51 */ bl Free__7CMemoryFPCv -lbl_800601E4: -/* 800601E4 0005D144 34 1E 10 C8 */ addic. r0, r30, 0x10c8 -/* 800601E8 0005D148 41 82 00 18 */ beq lbl_80060200 -/* 800601EC 0005D14C 88 1E 10 C8 */ lbz r0, 0x10c8(r30) -/* 800601F0 0005D150 28 00 00 00 */ cmplwi r0, 0 -/* 800601F4 0005D154 41 82 00 0C */ beq lbl_80060200 -/* 800601F8 0005D158 80 7E 10 CC */ lwz r3, 0x10cc(r30) -/* 800601FC 0005D15C 48 2B 57 35 */ bl Free__7CMemoryFPCv -lbl_80060200: -/* 80060200 0005D160 34 1E 10 C4 */ addic. r0, r30, 0x10c4 -/* 80060204 0005D164 41 82 00 0C */ beq lbl_80060210 -/* 80060208 0005D168 80 7E 10 C4 */ lwz r3, 0x10c4(r30) -/* 8006020C 0005D16C 48 2B 57 25 */ bl Free__7CMemoryFPCv -lbl_80060210: -/* 80060210 0005D170 34 1E 10 C0 */ addic. r0, r30, 0x10c0 -/* 80060214 0005D174 41 82 00 0C */ beq lbl_80060220 -/* 80060218 0005D178 80 7E 10 C0 */ lwz r3, 0x10c0(r30) -/* 8006021C 0005D17C 48 2B 57 15 */ bl Free__7CMemoryFPCv -lbl_80060220: -/* 80060220 0005D180 34 1E 10 AC */ addic. r0, r30, 0x10ac -/* 80060224 0005D184 41 82 00 30 */ beq lbl_80060254 -/* 80060228 0005D188 88 1E 10 B8 */ lbz r0, 0x10b8(r30) -/* 8006022C 0005D18C 28 00 00 00 */ cmplwi r0, 0 -/* 80060230 0005D190 41 82 00 1C */ beq lbl_8006024C -/* 80060234 0005D194 34 7E 10 AC */ addic. r3, r30, 0x10ac -/* 80060238 0005D198 41 82 00 14 */ beq lbl_8006024C -/* 8006023C 0005D19C 28 03 00 00 */ cmplwi r3, 0 -/* 80060240 0005D1A0 41 82 00 0C */ beq lbl_8006024C -/* 80060244 0005D1A4 38 80 00 00 */ li r4, 0 -/* 80060248 0005D1A8 48 2E 0B F9 */ bl __dt__6CTokenFv -lbl_8006024C: -/* 8006024C 0005D1AC 38 00 00 00 */ li r0, 0 -/* 80060250 0005D1B0 98 1E 10 B8 */ stb r0, 0x10b8(r30) -lbl_80060254: -/* 80060254 0005D1B4 34 1E 00 A4 */ addic. r0, r30, 0xa4 -/* 80060258 0005D1B8 41 82 00 58 */ beq lbl_800602B0 -/* 8006025C 0005D1BC 80 BE 00 A4 */ lwz r5, 0xa4(r30) -/* 80060260 0005D1C0 38 60 00 00 */ li r3, 0 -/* 80060264 0005D1C4 2C 05 00 00 */ cmpwi r5, 0 -/* 80060268 0005D1C8 40 81 00 40 */ ble lbl_800602A8 -/* 8006026C 0005D1CC 2C 05 00 08 */ cmpwi r5, 8 -/* 80060270 0005D1D0 38 85 FF F8 */ addi r4, r5, -8 -/* 80060274 0005D1D4 40 81 00 20 */ ble lbl_80060294 -/* 80060278 0005D1D8 38 04 00 07 */ addi r0, r4, 7 -/* 8006027C 0005D1DC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80060280 0005D1E0 7C 09 03 A6 */ mtctr r0 -/* 80060284 0005D1E4 2C 04 00 00 */ cmpwi r4, 0 -/* 80060288 0005D1E8 40 81 00 0C */ ble lbl_80060294 -lbl_8006028C: -/* 8006028C 0005D1EC 38 63 00 08 */ addi r3, r3, 8 -/* 80060290 0005D1F0 42 00 FF FC */ bdnz lbl_8006028C -lbl_80060294: -/* 80060294 0005D1F4 7C 03 28 50 */ subf r0, r3, r5 -/* 80060298 0005D1F8 7C 09 03 A6 */ mtctr r0 -/* 8006029C 0005D1FC 7C 03 28 00 */ cmpw r3, r5 -/* 800602A0 0005D200 40 80 00 08 */ bge lbl_800602A8 -lbl_800602A4: -/* 800602A4 0005D204 42 00 00 00 */ bdnz lbl_800602A4 -lbl_800602A8: -/* 800602A8 0005D208 38 00 00 00 */ li r0, 0 -/* 800602AC 0005D20C 90 1E 00 A4 */ stw r0, 0xa4(r30) -lbl_800602B0: -/* 800602B0 0005D210 34 1E 00 A0 */ addic. r0, r30, 0xa0 -/* 800602B4 0005D214 41 82 00 3C */ beq lbl_800602F0 -/* 800602B8 0005D218 83 BE 00 A0 */ lwz r29, 0xa0(r30) -/* 800602BC 0005D21C 28 1D 00 00 */ cmplwi r29, 0 -/* 800602C0 0005D220 41 82 00 30 */ beq lbl_800602F0 -/* 800602C4 0005D224 34 1D 00 20 */ addic. r0, r29, 0x20 -/* 800602C8 0005D228 41 82 00 20 */ beq lbl_800602E8 -/* 800602CC 0005D22C 34 1D 00 40 */ addic. r0, r29, 0x40 -/* 800602D0 0005D230 41 82 00 18 */ beq lbl_800602E8 -/* 800602D4 0005D234 88 1D 00 40 */ lbz r0, 0x40(r29) -/* 800602D8 0005D238 28 00 00 00 */ cmplwi r0, 0 -/* 800602DC 0005D23C 41 82 00 0C */ beq lbl_800602E8 -/* 800602E0 0005D240 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 800602E4 0005D244 48 2B 56 4D */ bl Free__7CMemoryFPCv -lbl_800602E8: -/* 800602E8 0005D248 7F A3 EB 78 */ mr r3, r29 -/* 800602EC 0005D24C 48 2B 56 45 */ bl Free__7CMemoryFPCv -lbl_800602F0: -/* 800602F0 0005D250 34 1E 00 90 */ addic. r0, r30, 0x90 -/* 800602F4 0005D254 41 82 00 44 */ beq lbl_80060338 -/* 800602F8 0005D258 80 1E 00 94 */ lwz r0, 0x94(r30) -/* 800602FC 0005D25C 80 7E 00 9C */ lwz r3, 0x9c(r30) -/* 80060300 0005D260 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80060304 0005D264 90 61 00 3C */ stw r3, 0x3c(r1) -/* 80060308 0005D268 7C 64 1B 78 */ mr r4, r3 -/* 8006030C 0005D26C 7C 03 02 14 */ add r0, r3, r0 -/* 80060310 0005D270 90 61 00 38 */ stw r3, 0x38(r1) -/* 80060314 0005D274 90 01 00 44 */ stw r0, 0x44(r1) -/* 80060318 0005D278 90 01 00 40 */ stw r0, 0x40(r1) -/* 8006031C 0005D27C 48 00 00 08 */ b lbl_80060324 -lbl_80060320: -/* 80060320 0005D280 38 84 00 50 */ addi r4, r4, 0x50 -lbl_80060324: -/* 80060324 0005D284 7C 04 00 40 */ cmplw r4, r0 -/* 80060328 0005D288 40 82 FF F8 */ bne lbl_80060320 -/* 8006032C 0005D28C 28 03 00 00 */ cmplwi r3, 0 -/* 80060330 0005D290 41 82 00 08 */ beq lbl_80060338 -/* 80060334 0005D294 48 2B 55 FD */ bl Free__7CMemoryFPCv -lbl_80060338: -/* 80060338 0005D298 34 1E 00 80 */ addic. r0, r30, 0x80 -/* 8006033C 0005D29C 41 82 00 44 */ beq lbl_80060380 -/* 80060340 0005D2A0 80 1E 00 84 */ lwz r0, 0x84(r30) -/* 80060344 0005D2A4 80 7E 00 8C */ lwz r3, 0x8c(r30) -/* 80060348 0005D2A8 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 8006034C 0005D2AC 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80060350 0005D2B0 7C 64 1B 78 */ mr r4, r3 -/* 80060354 0005D2B4 7C 03 02 14 */ add r0, r3, r0 -/* 80060358 0005D2B8 90 61 00 28 */ stw r3, 0x28(r1) -/* 8006035C 0005D2BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80060360 0005D2C0 90 01 00 30 */ stw r0, 0x30(r1) -/* 80060364 0005D2C4 48 00 00 08 */ b lbl_8006036C -lbl_80060368: -/* 80060368 0005D2C8 38 84 00 44 */ addi r4, r4, 0x44 -lbl_8006036C: -/* 8006036C 0005D2CC 7C 04 00 40 */ cmplw r4, r0 -/* 80060370 0005D2D0 40 82 FF F8 */ bne lbl_80060368 -/* 80060374 0005D2D4 28 03 00 00 */ cmplwi r3, 0 -/* 80060378 0005D2D8 41 82 00 08 */ beq lbl_80060380 -/* 8006037C 0005D2DC 48 2B 55 B5 */ bl Free__7CMemoryFPCv -lbl_80060380: -/* 80060380 0005D2E0 34 1E 00 70 */ addic. r0, r30, 0x70 -/* 80060384 0005D2E4 41 82 00 44 */ beq lbl_800603C8 -/* 80060388 0005D2E8 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 8006038C 0005D2EC 80 7E 00 7C */ lwz r3, 0x7c(r30) -/* 80060390 0005D2F0 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80060394 0005D2F4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80060398 0005D2F8 7C 64 1B 78 */ mr r4, r3 -/* 8006039C 0005D2FC 7C 03 02 14 */ add r0, r3, r0 -/* 800603A0 0005D300 90 61 00 18 */ stw r3, 0x18(r1) -/* 800603A4 0005D304 90 01 00 24 */ stw r0, 0x24(r1) -/* 800603A8 0005D308 90 01 00 20 */ stw r0, 0x20(r1) -/* 800603AC 0005D30C 48 00 00 08 */ b lbl_800603B4 -lbl_800603B0: -/* 800603B0 0005D310 38 84 00 50 */ addi r4, r4, 0x50 -lbl_800603B4: -/* 800603B4 0005D314 7C 04 00 40 */ cmplw r4, r0 -/* 800603B8 0005D318 40 82 FF F8 */ bne lbl_800603B0 -/* 800603BC 0005D31C 28 03 00 00 */ cmplwi r3, 0 -/* 800603C0 0005D320 41 82 00 08 */ beq lbl_800603C8 -/* 800603C4 0005D324 48 2B 55 6D */ bl Free__7CMemoryFPCv -lbl_800603C8: -/* 800603C8 0005D328 34 1E 00 60 */ addic. r0, r30, 0x60 -/* 800603CC 0005D32C 41 82 00 44 */ beq lbl_80060410 -/* 800603D0 0005D330 80 1E 00 64 */ lwz r0, 0x64(r30) -/* 800603D4 0005D334 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 800603D8 0005D338 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 800603DC 0005D33C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800603E0 0005D340 7C 64 1B 78 */ mr r4, r3 -/* 800603E4 0005D344 7C 03 02 14 */ add r0, r3, r0 -/* 800603E8 0005D348 90 61 00 08 */ stw r3, 8(r1) -/* 800603EC 0005D34C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800603F0 0005D350 90 01 00 10 */ stw r0, 0x10(r1) -/* 800603F4 0005D354 48 00 00 08 */ b lbl_800603FC -lbl_800603F8: -/* 800603F8 0005D358 38 84 00 44 */ addi r4, r4, 0x44 -lbl_800603FC: -/* 800603FC 0005D35C 7C 04 00 40 */ cmplw r4, r0 -/* 80060400 0005D360 40 82 FF F8 */ bne lbl_800603F8 -/* 80060404 0005D364 28 03 00 00 */ cmplwi r3, 0 -/* 80060408 0005D368 41 82 00 08 */ beq lbl_80060410 -/* 8006040C 0005D36C 48 2B 55 25 */ bl Free__7CMemoryFPCv -lbl_80060410: -/* 80060410 0005D370 34 1E 00 5C */ addic. r0, r30, 0x5c -/* 80060414 0005D374 41 82 00 0C */ beq lbl_80060420 -/* 80060418 0005D378 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 8006041C 0005D37C 48 2B 55 15 */ bl Free__7CMemoryFPCv -lbl_80060420: -/* 80060420 0005D380 38 7E 00 4C */ addi r3, r30, 0x4c -/* 80060424 0005D384 38 80 FF FF */ li r4, -1 -/* 80060428 0005D388 48 00 00 95 */ bl sub_800604bc -/* 8006042C 0005D38C 34 1E 00 0C */ addic. r0, r30, 0xc -/* 80060430 0005D390 41 82 00 3C */ beq lbl_8006046C -/* 80060434 0005D394 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 80060438 0005D398 28 00 00 00 */ cmplwi r0, 0 -/* 8006043C 0005D39C 41 82 00 28 */ beq lbl_80060464 -/* 80060440 0005D3A0 34 7E 00 0C */ addic. r3, r30, 0xc -/* 80060444 0005D3A4 41 82 00 20 */ beq lbl_80060464 -/* 80060448 0005D3A8 28 03 00 00 */ cmplwi r3, 0 -/* 8006044C 0005D3AC 41 82 00 18 */ beq lbl_80060464 -/* 80060450 0005D3B0 88 03 00 00 */ lbz r0, 0(r3) -/* 80060454 0005D3B4 28 00 00 00 */ cmplwi r0, 0 -/* 80060458 0005D3B8 41 82 00 0C */ beq lbl_80060464 -/* 8006045C 0005D3BC 80 63 00 04 */ lwz r3, 4(r3) -/* 80060460 0005D3C0 48 2B 54 D1 */ bl Free__7CMemoryFPCv -lbl_80060464: -/* 80060464 0005D3C4 38 00 00 00 */ li r0, 0 -/* 80060468 0005D3C8 98 1E 00 48 */ stb r0, 0x48(r30) -lbl_8006046C: -/* 8006046C 0005D3CC 28 1E 00 00 */ cmplwi r30, 0 -/* 80060470 0005D3D0 41 82 00 18 */ beq lbl_80060488 -/* 80060474 0005D3D4 88 1E 00 00 */ lbz r0, 0(r30) -/* 80060478 0005D3D8 28 00 00 00 */ cmplwi r0, 0 -/* 8006047C 0005D3DC 41 82 00 0C */ beq lbl_80060488 -/* 80060480 0005D3E0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80060484 0005D3E4 48 2B 54 AD */ bl Free__7CMemoryFPCv -lbl_80060488: -/* 80060488 0005D3E8 7F E0 07 35 */ extsh. r0, r31 -/* 8006048C 0005D3EC 40 81 00 0C */ ble lbl_80060498 -/* 80060490 0005D3F0 7F C3 F3 78 */ mr r3, r30 -/* 80060494 0005D3F4 48 2B 54 9D */ bl Free__7CMemoryFPCv -lbl_80060498: -/* 80060498 0005D3F8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8006049C 0005D3FC 7F C3 F3 78 */ mr r3, r30 -/* 800604A0 0005D400 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 800604A4 0005D404 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 800604A8 0005D408 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 800604AC 0005D40C 83 81 00 70 */ lwz r28, 0x70(r1) -/* 800604B0 0005D410 7C 08 03 A6 */ mtlr r0 -/* 800604B4 0005D414 38 21 00 80 */ addi r1, r1, 0x80 -/* 800604B8 0005D418 4E 80 00 20 */ blr - -.global sub_800604bc -sub_800604bc: -/* 800604BC 0005D41C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800604C0 0005D420 7C 08 02 A6 */ mflr r0 -/* 800604C4 0005D424 90 01 00 24 */ stw r0, 0x24(r1) -/* 800604C8 0005D428 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800604CC 0005D42C 7C 9F 23 78 */ mr r31, r4 -/* 800604D0 0005D430 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800604D4 0005D434 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800604D8 0005D438 41 82 00 54 */ beq lbl_8006052C -/* 800604DC 0005D43C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800604E0 0005D440 38 61 00 14 */ addi r3, r1, 0x14 -/* 800604E4 0005D444 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800604E8 0005D448 38 81 00 0C */ addi r4, r1, 0xc -/* 800604EC 0005D44C 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 800604F0 0005D450 7C A5 02 14 */ add r5, r5, r0 -/* 800604F4 0005D454 90 A1 00 0C */ stw r5, 0xc(r1) -/* 800604F8 0005D458 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 800604FC 0005D45C 90 A1 00 08 */ stw r5, 8(r1) -/* 80060500 0005D460 90 01 00 10 */ stw r0, 0x10(r1) -/* 80060504 0005D464 90 01 00 14 */ stw r0, 0x14(r1) -/* 80060508 0005D468 48 00 00 41 */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" -/* 8006050C 0005D46C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80060510 0005D470 28 03 00 00 */ cmplwi r3, 0 -/* 80060514 0005D474 41 82 00 08 */ beq lbl_8006051C -/* 80060518 0005D478 48 2B 54 19 */ bl Free__7CMemoryFPCv -lbl_8006051C: -/* 8006051C 0005D47C 7F E0 07 35 */ extsh. r0, r31 -/* 80060520 0005D480 40 81 00 0C */ ble lbl_8006052C -/* 80060524 0005D484 7F C3 F3 78 */ mr r3, r30 -/* 80060528 0005D488 48 2B 54 09 */ bl Free__7CMemoryFPCv -lbl_8006052C: -/* 8006052C 0005D48C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80060530 0005D490 7F C3 F3 78 */ mr r3, r30 -/* 80060534 0005D494 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80060538 0005D498 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8006053C 0005D49C 7C 08 03 A6 */ mtlr r0 -/* 80060540 0005D4A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80060544 0005D4A4 4E 80 00 20 */ blr - -.global "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" -"destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": -/* 80060548 0005D4A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006054C 0005D4AC 7C 08 02 A6 */ mflr r0 -/* 80060550 0005D4B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80060554 0005D4B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80060558 0005D4B8 93 C1 00 08 */ stw r30, 8(r1) -/* 8006055C 0005D4BC 7C 9E 23 78 */ mr r30, r4 -/* 80060560 0005D4C0 83 E3 00 00 */ lwz r31, 0(r3) -/* 80060564 0005D4C4 48 00 00 10 */ b lbl_80060574 -lbl_80060568: -/* 80060568 0005D4C8 7F E3 FB 78 */ mr r3, r31 -/* 8006056C 0005D4CC 48 00 00 2D */ bl __dt__21CMetroidModelInstanceFv -/* 80060570 0005D4D0 3B FF 00 74 */ addi r31, r31, 0x74 -lbl_80060574: -/* 80060574 0005D4D4 80 1E 00 00 */ lwz r0, 0(r30) -/* 80060578 0005D4D8 7C 1F 00 40 */ cmplw r31, r0 -/* 8006057C 0005D4DC 40 82 FF EC */ bne lbl_80060568 -/* 80060580 0005D4E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80060584 0005D4E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80060588 0005D4E8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8006058C 0005D4EC 7C 08 03 A6 */ mtlr r0 -/* 80060590 0005D4F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80060594 0005D4F4 4E 80 00 20 */ blr - -.global __dt__21CMetroidModelInstanceFv -__dt__21CMetroidModelInstanceFv: -/* 80060598 0005D4F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006059C 0005D4FC 7C 08 02 A6 */ mflr r0 -/* 800605A0 0005D500 28 03 00 00 */ cmplwi r3, 0 -/* 800605A4 0005D504 90 01 00 24 */ stw r0, 0x24(r1) -/* 800605A8 0005D508 41 82 00 4C */ beq lbl_800605F4 -/* 800605AC 0005D50C 34 03 00 50 */ addic. r0, r3, 0x50 -/* 800605B0 0005D510 41 82 00 44 */ beq lbl_800605F4 -/* 800605B4 0005D514 80 03 00 54 */ lwz r0, 0x54(r3) -/* 800605B8 0005D518 80 63 00 5C */ lwz r3, 0x5c(r3) -/* 800605BC 0005D51C 54 00 10 3A */ slwi r0, r0, 2 -/* 800605C0 0005D520 7C 03 02 14 */ add r0, r3, r0 -/* 800605C4 0005D524 90 61 00 0C */ stw r3, 0xc(r1) -/* 800605C8 0005D528 7C 64 1B 78 */ mr r4, r3 -/* 800605CC 0005D52C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800605D0 0005D530 90 01 00 10 */ stw r0, 0x10(r1) -/* 800605D4 0005D534 90 61 00 08 */ stw r3, 8(r1) -/* 800605D8 0005D538 48 00 00 08 */ b lbl_800605E0 -lbl_800605DC: -/* 800605DC 0005D53C 38 84 00 04 */ addi r4, r4, 4 -lbl_800605E0: -/* 800605E0 0005D540 7C 04 00 40 */ cmplw r4, r0 -/* 800605E4 0005D544 40 82 FF F8 */ bne lbl_800605DC -/* 800605E8 0005D548 28 03 00 00 */ cmplwi r3, 0 -/* 800605EC 0005D54C 41 82 00 08 */ beq lbl_800605F4 -/* 800605F0 0005D550 48 2B 53 41 */ bl Free__7CMemoryFPCv -lbl_800605F4: -/* 800605F4 0005D554 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800605F8 0005D558 7C 08 03 A6 */ mtlr r0 -/* 800605FC 0005D55C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80060600 0005D560 4E 80 00 20 */ blr - -.global UnloadAllloadedTextures__9CGameAreaFv -UnloadAllloadedTextures__9CGameAreaFv: -/* 80060604 0005D564 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80060608 0005D568 7C 08 02 A6 */ mflr r0 -/* 8006060C 0005D56C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80060610 0005D570 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80060614 0005D574 7C 7B 1B 78 */ mr r27, r3 -/* 80060618 0005D578 3B A0 00 01 */ li r29, 1 -/* 8006061C 0005D57C 3B 80 00 00 */ li r28, 0 -/* 80060620 0005D580 3B C0 00 00 */ li r30, 0 -/* 80060624 0005D584 48 00 00 84 */ b lbl_800606A8 -lbl_80060628: -/* 80060628 0005D588 80 1B 00 E8 */ lwz r0, 0xe8(r27) -/* 8006062C 0005D58C 7C 80 F2 14 */ add r4, r0, r30 -/* 80060630 0005D590 80 A4 00 00 */ lwz r5, 0(r4) -/* 80060634 0005D594 80 65 00 04 */ lwz r3, 4(r5) -/* 80060638 0005D598 3C 03 AB A8 */ addis r0, r3, 0xaba8 -/* 8006063C 0005D59C 28 00 54 52 */ cmplwi r0, 0x5452 -/* 80060640 0005D5A0 40 82 00 60 */ bne lbl_800606A0 -/* 80060644 0005D5A4 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80060648 0005D5A8 28 00 00 00 */ cmplwi r0, 0 -/* 8006064C 0005D5AC 41 82 00 54 */ beq lbl_800606A0 -/* 80060650 0005D5B0 88 04 00 04 */ lbz r0, 4(r4) -/* 80060654 0005D5B4 28 00 00 00 */ cmplwi r0, 0 -/* 80060658 0005D5B8 41 82 00 48 */ beq lbl_800606A0 -/* 8006065C 0005D5BC 38 61 00 08 */ addi r3, r1, 8 -/* 80060660 0005D5C0 48 2E 08 49 */ bl __ct__6CTokenFRC6CToken -/* 80060664 0005D5C4 38 61 00 08 */ addi r3, r1, 8 -/* 80060668 0005D5C8 48 2E 07 A5 */ bl GetObj__6CTokenFv -/* 8006066C 0005D5CC 83 E3 00 04 */ lwz r31, 4(r3) -/* 80060670 0005D5D0 7F E3 FB 78 */ mr r3, r31 -/* 80060674 0005D5D4 48 2A DB 45 */ bl MakeSwappable__8CTextureCFv -/* 80060678 0005D5D8 7F E3 FB 78 */ mr r3, r31 -/* 8006067C 0005D5DC 48 2A E5 05 */ bl LoadToARAM__8CTextureCFv -/* 80060680 0005D5E0 7F E3 FB 78 */ mr r3, r31 -/* 80060684 0005D5E4 48 2A E4 C9 */ bl IsARAMTransferInProgress__8CTextureCFv -/* 80060688 0005D5E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8006068C 0005D5EC 41 82 00 08 */ beq lbl_80060694 -/* 80060690 0005D5F0 3B A0 00 00 */ li r29, 0 -lbl_80060694: -/* 80060694 0005D5F4 38 61 00 08 */ addi r3, r1, 8 -/* 80060698 0005D5F8 38 80 00 00 */ li r4, 0 -/* 8006069C 0005D5FC 48 2E 07 A5 */ bl __dt__6CTokenFv -lbl_800606A0: -/* 800606A0 0005D600 3B DE 00 08 */ addi r30, r30, 8 -/* 800606A4 0005D604 3B 9C 00 01 */ addi r28, r28, 1 -lbl_800606A8: -/* 800606A8 0005D608 80 1B 00 E0 */ lwz r0, 0xe0(r27) -/* 800606AC 0005D60C 7C 1C 00 00 */ cmpw r28, r0 -/* 800606B0 0005D610 41 80 FF 78 */ blt lbl_80060628 -/* 800606B4 0005D614 7F A3 EB 78 */ mr r3, r29 -/* 800606B8 0005D618 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 800606BC 0005D61C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800606C0 0005D620 7C 08 03 A6 */ mtlr r0 -/* 800606C4 0005D624 38 21 00 30 */ addi r1, r1, 0x30 -/* 800606C8 0005D628 4E 80 00 20 */ blr - -.global ReloadAllUnloadedTextures__9CGameAreaFv -ReloadAllUnloadedTextures__9CGameAreaFv: -/* 800606CC 0005D62C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800606D0 0005D630 7C 08 02 A6 */ mflr r0 -/* 800606D4 0005D634 90 01 00 34 */ stw r0, 0x34(r1) -/* 800606D8 0005D638 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800606DC 0005D63C 7C 7B 1B 78 */ mr r27, r3 -/* 800606E0 0005D640 3B A0 00 01 */ li r29, 1 -/* 800606E4 0005D644 3B 80 00 00 */ li r28, 0 -/* 800606E8 0005D648 3B C0 00 00 */ li r30, 0 -/* 800606EC 0005D64C 48 00 00 7C */ b lbl_80060768 -lbl_800606F0: -/* 800606F0 0005D650 80 1B 00 E8 */ lwz r0, 0xe8(r27) -/* 800606F4 0005D654 7C 80 F2 14 */ add r4, r0, r30 -/* 800606F8 0005D658 80 A4 00 00 */ lwz r5, 0(r4) -/* 800606FC 0005D65C 80 65 00 04 */ lwz r3, 4(r5) -/* 80060700 0005D660 3C 03 AB A8 */ addis r0, r3, 0xaba8 -/* 80060704 0005D664 28 00 54 52 */ cmplwi r0, 0x5452 -/* 80060708 0005D668 40 82 00 58 */ bne lbl_80060760 -/* 8006070C 0005D66C 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80060710 0005D670 28 00 00 00 */ cmplwi r0, 0 -/* 80060714 0005D674 41 82 00 4C */ beq lbl_80060760 -/* 80060718 0005D678 88 04 00 04 */ lbz r0, 4(r4) -/* 8006071C 0005D67C 28 00 00 00 */ cmplwi r0, 0 -/* 80060720 0005D680 41 82 00 40 */ beq lbl_80060760 -/* 80060724 0005D684 38 61 00 08 */ addi r3, r1, 8 -/* 80060728 0005D688 48 2E 07 81 */ bl __ct__6CTokenFRC6CToken -/* 8006072C 0005D68C 38 61 00 08 */ addi r3, r1, 8 -/* 80060730 0005D690 48 2E 06 DD */ bl GetObj__6CTokenFv -/* 80060734 0005D694 83 E3 00 04 */ lwz r31, 4(r3) -/* 80060738 0005D698 7F E3 FB 78 */ mr r3, r31 -/* 8006073C 0005D69C 48 2A DA 7D */ bl MakeSwappable__8CTextureCFv -/* 80060740 0005D6A0 7F E3 FB 78 */ mr r3, r31 -/* 80060744 0005D6A4 48 2A E4 E5 */ bl LoadToMRAM__8CTextureCFv -/* 80060748 0005D6A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8006074C 0005D6AC 40 82 00 08 */ bne lbl_80060754 -/* 80060750 0005D6B0 3B A0 00 00 */ li r29, 0 -lbl_80060754: -/* 80060754 0005D6B4 38 61 00 08 */ addi r3, r1, 8 -/* 80060758 0005D6B8 38 80 00 00 */ li r4, 0 -/* 8006075C 0005D6BC 48 2E 06 E5 */ bl __dt__6CTokenFv -lbl_80060760: -/* 80060760 0005D6C0 3B DE 00 08 */ addi r30, r30, 8 -/* 80060764 0005D6C4 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80060768: -/* 80060768 0005D6C8 80 1B 00 E0 */ lwz r0, 0xe0(r27) -/* 8006076C 0005D6CC 7C 1C 00 00 */ cmpw r28, r0 -/* 80060770 0005D6D0 41 80 FF 80 */ blt lbl_800606F0 -/* 80060774 0005D6D4 7F A3 EB 78 */ mr r3, r29 -/* 80060778 0005D6D8 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8006077C 0005D6DC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80060780 0005D6E0 7C 08 03 A6 */ mtlr r0 -/* 80060784 0005D6E4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80060788 0005D6E8 4E 80 00 20 */ blr - -.global GetNumPartSizes__9CGameAreaCFv -GetNumPartSizes__9CGameAreaCFv: -/* 8006078C 0005D6EC 80 63 01 1C */ lwz r3, 0x11c(r3) -/* 80060790 0005D6F0 80 63 00 04 */ lwz r3, 4(r3) -/* 80060794 0005D6F4 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 80060798 0005D6F8 4E 80 00 20 */ blr - -.global AllocNewAreaData__9CGameAreaFii -AllocNewAreaData__9CGameAreaFii: -/* 8006079C 0005D6FC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800607A0 0005D700 7C 08 02 A6 */ mflr r0 -/* 800607A4 0005D704 3C C0 80 3D */ lis r6, lbl_803D6AA8@ha -/* 800607A8 0005D708 3C E0 80 3D */ lis r7, lbl_803CCFAC@ha -/* 800607AC 0005D70C 90 01 00 54 */ stw r0, 0x54(r1) -/* 800607B0 0005D710 38 07 CF AC */ addi r0, r7, lbl_803CCFAC@l -/* 800607B4 0005D714 38 C6 6A A8 */ addi r6, r6, lbl_803D6AA8@l -/* 800607B8 0005D718 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800607BC 0005D71C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800607C0 0005D720 7C BE 2B 78 */ mr r30, r5 -/* 800607C4 0005D724 7C 05 03 78 */ mr r5, r0 -/* 800607C8 0005D728 93 A1 00 44 */ stw r29, 0x44(r1) -/* 800607CC 0005D72C 7C 9D 23 78 */ mr r29, r4 -/* 800607D0 0005D730 38 80 FF FF */ li r4, -1 -/* 800607D4 0005D734 93 81 00 40 */ stw r28, 0x40(r1) -/* 800607D8 0005D738 7C 7C 1B 78 */ mr r28, r3 -/* 800607DC 0005D73C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800607E0 0005D740 48 27 5B F5 */ bl __ct__10CCallStackFUiPCcPCc -/* 800607E4 0005D744 7C 67 1B 78 */ mr r7, r3 -/* 800607E8 0005D748 7F C3 F3 78 */ mr r3, r30 -/* 800607EC 0005D74C 38 80 00 02 */ li r4, 2 -/* 800607F0 0005D750 38 A0 00 01 */ li r5, 1 -/* 800607F4 0005D754 38 C0 00 00 */ li r6, 0 -/* 800607F8 0005D758 48 2B 51 9D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 800607FC 0005D75C 7C 7F 1B 78 */ mr r31, r3 -/* 80060800 0005D760 38 00 00 00 */ li r0, 0 -/* 80060804 0005D764 7C 9F 00 D0 */ neg r4, r31 -/* 80060808 0005D768 93 C1 00 30 */ stw r30, 0x30(r1) -/* 8006080C 0005D76C 7C 84 FB 78 */ or r4, r4, r31 -/* 80060810 0005D770 54 84 0F FE */ srwi r4, r4, 0x1f -/* 80060814 0005D774 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80060818 0005D778 98 81 00 10 */ stb r4, 0x10(r1) -/* 8006081C 0005D77C 98 81 00 28 */ stb r4, 0x28(r1) -/* 80060820 0005D780 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80060824 0005D784 98 01 00 10 */ stb r0, 0x10(r1) -/* 80060828 0005D788 48 00 00 08 */ b lbl_80060830 -/* 8006082C 0005D78C 48 2B 51 05 */ bl Free__7CMemoryFPCv -lbl_80060830: -/* 80060830 0005D790 80 1C 01 14 */ lwz r0, 0x114(r28) -/* 80060834 0005D794 80 BC 01 18 */ lwz r5, 0x118(r28) -/* 80060838 0005D798 7C 00 28 00 */ cmpw r0, r5 -/* 8006083C 0005D79C 41 80 00 1C */ blt lbl_80060858 -/* 80060840 0005D7A0 2C 05 00 00 */ cmpwi r5, 0 -/* 80060844 0005D7A4 38 7C 01 10 */ addi r3, r28, 0x110 -/* 80060848 0005D7A8 38 80 00 04 */ li r4, 4 -/* 8006084C 0005D7AC 41 82 00 08 */ beq lbl_80060854 -/* 80060850 0005D7B0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80060854: -/* 80060854 0005D7B4 48 00 3D 1D */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" -lbl_80060858: -/* 80060858 0005D7B8 80 1C 01 14 */ lwz r0, 0x114(r28) -/* 8006085C 0005D7BC 80 7C 01 1C */ lwz r3, 0x11c(r28) -/* 80060860 0005D7C0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80060864 0005D7C4 7C A3 02 15 */ add. r5, r3, r0 -/* 80060868 0005D7C8 41 82 00 24 */ beq lbl_8006088C -/* 8006086C 0005D7CC 88 01 00 28 */ lbz r0, 0x28(r1) -/* 80060870 0005D7D0 38 60 00 00 */ li r3, 0 -/* 80060874 0005D7D4 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80060878 0005D7D8 98 05 00 00 */ stb r0, 0(r5) -/* 8006087C 0005D7DC 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80060880 0005D7E0 90 85 00 04 */ stw r4, 4(r5) -/* 80060884 0005D7E4 98 61 00 28 */ stb r3, 0x28(r1) -/* 80060888 0005D7E8 90 05 00 08 */ stw r0, 8(r5) -lbl_8006088C: -/* 8006088C 0005D7EC 80 9C 01 14 */ lwz r4, 0x114(r28) -/* 80060890 0005D7F0 3C 60 4D 52 */ lis r3, 0x4D524541@ha -/* 80060894 0005D7F4 38 03 45 41 */ addi r0, r3, 0x4D524541@l -/* 80060898 0005D7F8 7F A5 EB 78 */ mr r5, r29 -/* 8006089C 0005D7FC 38 64 00 01 */ addi r3, r4, 1 -/* 800608A0 0005D800 7F C6 F3 78 */ mr r6, r30 -/* 800608A4 0005D804 90 7C 01 14 */ stw r3, 0x114(r28) -/* 800608A8 0005D808 7F E7 FB 78 */ mr r7, r31 -/* 800608AC 0005D80C 38 81 00 20 */ addi r4, r1, 0x20 -/* 800608B0 0005D810 81 1C 00 84 */ lwz r8, 0x84(r28) -/* 800608B4 0005D814 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800608B8 0005D818 90 01 00 20 */ stw r0, 0x20(r1) -/* 800608BC 0005D81C 38 63 00 04 */ addi r3, r3, 4 -/* 800608C0 0005D820 91 01 00 24 */ stw r8, 0x24(r1) -/* 800608C4 0005D824 48 2D B2 39 */ bl LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc -/* 800608C8 0005D828 7C 03 00 D0 */ neg r0, r3 -/* 800608CC 0005D82C 83 BC 01 00 */ lwz r29, 0x100(r28) -/* 800608D0 0005D830 7C 00 1B 78 */ or r0, r0, r3 -/* 800608D4 0005D834 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 800608D8 0005D838 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800608DC 0005D83C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800608E0 0005D840 83 DD 00 00 */ lwz r30, 0(r29) -/* 800608E4 0005D844 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 800608E8 0005D848 98 01 00 08 */ stb r0, 8(r1) -/* 800608EC 0005D84C 38 60 00 10 */ li r3, 0x10 -/* 800608F0 0005D850 38 A0 00 00 */ li r5, 0 -/* 800608F4 0005D854 48 2B 4F 25 */ bl __nwa__FUlPCcPCc -/* 800608F8 0005D858 28 03 00 00 */ cmplwi r3, 0 -/* 800608FC 0005D85C 41 82 00 0C */ beq lbl_80060908 -/* 80060900 0005D860 93 C3 00 00 */ stw r30, 0(r3) -/* 80060904 0005D864 93 A3 00 04 */ stw r29, 4(r3) -lbl_80060908: -/* 80060908 0005D868 34 C3 00 08 */ addic. r6, r3, 8 -/* 8006090C 0005D86C 41 82 00 1C */ beq lbl_80060928 -/* 80060910 0005D870 88 A1 00 08 */ lbz r5, 8(r1) -/* 80060914 0005D874 38 00 00 00 */ li r0, 0 -/* 80060918 0005D878 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8006091C 0005D87C 98 A6 00 00 */ stb r5, 0(r6) -/* 80060920 0005D880 90 86 00 04 */ stw r4, 4(r6) -/* 80060924 0005D884 98 01 00 08 */ stb r0, 8(r1) -lbl_80060928: -/* 80060928 0005D888 80 1C 00 FC */ lwz r0, 0xfc(r28) -/* 8006092C 0005D88C 7C 1D 00 40 */ cmplw r29, r0 -/* 80060930 0005D890 40 82 00 08 */ bne lbl_80060938 -/* 80060934 0005D894 90 7C 00 FC */ stw r3, 0xfc(r28) -lbl_80060938: -/* 80060938 0005D898 80 83 00 00 */ lwz r4, 0(r3) -/* 8006093C 0005D89C 88 01 00 08 */ lbz r0, 8(r1) -/* 80060940 0005D8A0 90 64 00 04 */ stw r3, 4(r4) -/* 80060944 0005D8A4 28 00 00 00 */ cmplwi r0, 0 -/* 80060948 0005D8A8 80 83 00 04 */ lwz r4, 4(r3) -/* 8006094C 0005D8AC 90 64 00 00 */ stw r3, 0(r4) -/* 80060950 0005D8B0 80 7C 01 0C */ lwz r3, 0x10c(r28) -/* 80060954 0005D8B4 38 03 00 01 */ addi r0, r3, 1 -/* 80060958 0005D8B8 90 1C 01 0C */ stw r0, 0x10c(r28) -/* 8006095C 0005D8BC 41 82 00 24 */ beq lbl_80060980 -/* 80060960 0005D8C0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80060964 0005D8C4 28 03 00 00 */ cmplwi r3, 0 -/* 80060968 0005D8C8 41 82 00 18 */ beq lbl_80060980 -/* 8006096C 0005D8CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80060970 0005D8D0 38 80 00 01 */ li r4, 1 -/* 80060974 0005D8D4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80060978 0005D8D8 7D 89 03 A6 */ mtctr r12 -/* 8006097C 0005D8DC 4E 80 04 21 */ bctrl -lbl_80060980: -/* 80060980 0005D8E0 88 01 00 28 */ lbz r0, 0x28(r1) -/* 80060984 0005D8E4 28 00 00 00 */ cmplwi r0, 0 -/* 80060988 0005D8E8 41 82 00 0C */ beq lbl_80060994 -/* 8006098C 0005D8EC 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80060990 0005D8F0 48 2B 4F A1 */ bl Free__7CMemoryFPCv -lbl_80060994: -/* 80060994 0005D8F4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80060998 0005D8F8 7F E3 FB 78 */ mr r3, r31 -/* 8006099C 0005D8FC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800609A0 0005D900 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800609A4 0005D904 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 800609A8 0005D908 83 81 00 40 */ lwz r28, 0x40(r1) -/* 800609AC 0005D90C 7C 08 03 A6 */ mtlr r0 -/* 800609B0 0005D910 38 21 00 50 */ addi r1, r1, 0x50 -/* 800609B4 0005D914 4E 80 00 20 */ blr - -.global Invalidate__9CGameAreaFP13CStateManager -Invalidate__9CGameAreaFP13CStateManager: -/* 800609B8 0005D918 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800609BC 0005D91C 7C 08 02 A6 */ mflr r0 -/* 800609C0 0005D920 90 01 00 34 */ stw r0, 0x34(r1) -/* 800609C4 0005D924 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800609C8 0005D928 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800609CC 0005D92C 7C 9E 23 78 */ mr r30, r4 -/* 800609D0 0005D930 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800609D4 0005D934 7C 7D 1B 78 */ mr r29, r3 -/* 800609D8 0005D938 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 800609DC 0005D93C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800609E0 0005D940 40 82 00 9C */ bne lbl_80060A7C -/* 800609E4 0005D944 48 00 25 0D */ bl ClearTokenList__9CGameAreaFv -/* 800609E8 0005D948 83 FD 00 FC */ lwz r31, 0xfc(r29) -/* 800609EC 0005D94C 48 00 00 4C */ b lbl_80060A38 -lbl_800609F0: -/* 800609F0 0005D950 7F FE FB 78 */ mr r30, r31 -/* 800609F4 0005D954 83 FF 00 04 */ lwz r31, 4(r31) -/* 800609F8 0005D958 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800609FC 0005D95C 81 83 00 00 */ lwz r12, 0(r3) -/* 80060A00 0005D960 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80060A04 0005D964 7D 89 03 A6 */ mtctr r12 -/* 80060A08 0005D968 4E 80 04 21 */ bctrl -/* 80060A0C 0005D96C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80060A10 0005D970 40 82 00 1C */ bne lbl_80060A2C -/* 80060A14 0005D974 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80060A18 0005D978 81 83 00 00 */ lwz r12, 0(r3) -/* 80060A1C 0005D97C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80060A20 0005D980 7D 89 03 A6 */ mtctr r12 -/* 80060A24 0005D984 4E 80 04 21 */ bctrl -/* 80060A28 0005D988 48 00 00 10 */ b lbl_80060A38 -lbl_80060A2C: -/* 80060A2C 0005D98C 7F C4 F3 78 */ mr r4, r30 -/* 80060A30 0005D990 38 7D 00 F8 */ addi r3, r29, 0xf8 -/* 80060A34 0005D994 48 00 3C 55 */ bl "pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv" -lbl_80060A38: -/* 80060A38 0005D998 80 1D 01 00 */ lwz r0, 0x100(r29) -/* 80060A3C 0005D99C 7C 1F 00 40 */ cmplw r31, r0 -/* 80060A40 0005D9A0 40 82 FF B0 */ bne lbl_800609F0 -/* 80060A44 0005D9A4 80 1D 01 0C */ lwz r0, 0x10c(r29) -/* 80060A48 0005D9A8 2C 00 00 00 */ cmpwi r0, 0 -/* 80060A4C 0005D9AC 41 82 00 0C */ beq lbl_80060A58 -/* 80060A50 0005D9B0 38 60 00 00 */ li r3, 0 -/* 80060A54 0005D9B4 48 00 00 D4 */ b lbl_80060B28 -lbl_80060A58: -/* 80060A58 0005D9B8 38 7D 01 2C */ addi r3, r29, 0x12c -/* 80060A5C 0005D9BC 38 80 00 00 */ li r4, 0 -/* 80060A60 0005D9C0 4B FF F6 71 */ bl sub_800600d0 -/* 80060A64 0005D9C4 38 00 00 00 */ li r0, 0 -/* 80060A68 0005D9C8 7F A3 EB 78 */ mr r3, r29 -/* 80060A6C 0005D9CC 90 1D 00 F4 */ stw r0, 0xf4(r29) -/* 80060A70 0005D9D0 48 00 00 D5 */ bl sub_80060b44 -/* 80060A74 0005D9D4 38 60 00 01 */ li r3, 1 -/* 80060A78 0005D9D8 48 00 00 B0 */ b lbl_80060B28 -lbl_80060A7C: -/* 80060A7C 0005D9DC 28 1E 00 00 */ cmplwi r30, 0 -/* 80060A80 0005D9E0 41 82 00 1C */ beq lbl_80060A9C -/* 80060A84 0005D9E4 80 1D 00 04 */ lwz r0, 4(r29) -/* 80060A88 0005D9E8 7F C3 F3 78 */ mr r3, r30 -/* 80060A8C 0005D9EC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80060A90 0005D9F0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80060A94 0005D9F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80060A98 0005D9F8 4B FE BB 41 */ bl PrepareAreaUnload__13CStateManagerF7TAreaId -lbl_80060A9C: -/* 80060A9C 0005D9FC 7F A3 EB 78 */ mr r3, r29 -/* 80060AA0 0005DA00 48 00 2F 45 */ bl GetPostConstructedSize__9CGameAreaCFv -/* 80060AA4 0005DA04 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) -/* 80060AA8 0005DA08 7C 03 00 50 */ subf r0, r3, r0 -/* 80060AAC 0005DA0C 7F A3 EB 78 */ mr r3, r29 -/* 80060AB0 0005DA10 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) -/* 80060AB4 0005DA14 4B FF EC F9 */ bl RemoveStaticGeometry__9CGameAreaFv -/* 80060AB8 0005DA18 38 7D 01 2C */ addi r3, r29, 0x12c -/* 80060ABC 0005DA1C 38 80 00 00 */ li r4, 0 -/* 80060AC0 0005DA20 4B FF F6 11 */ bl sub_800600d0 -/* 80060AC4 0005DA24 88 1D 00 F0 */ lbz r0, 0xf0(r29) -/* 80060AC8 0005DA28 38 80 00 00 */ li r4, 0 -/* 80060ACC 0005DA2C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80060AD0 0005DA30 7F A3 EB 78 */ mr r3, r29 -/* 80060AD4 0005DA34 98 1D 00 F0 */ stb r0, 0xf0(r29) -/* 80060AD8 0005DA38 88 1D 00 F0 */ lbz r0, 0xf0(r29) -/* 80060ADC 0005DA3C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80060AE0 0005DA40 98 1D 00 F0 */ stb r0, 0xf0(r29) -/* 80060AE4 0005DA44 90 9D 00 F4 */ stw r4, 0xf4(r29) -/* 80060AE8 0005DA48 48 00 02 99 */ bl CullDeadAreaRequests__9CGameAreaFv -/* 80060AEC 0005DA4C 7F A3 EB 78 */ mr r3, r29 -/* 80060AF0 0005DA50 48 00 00 55 */ bl sub_80060b44 -/* 80060AF4 0005DA54 38 00 00 00 */ li r0, 0 -/* 80060AF8 0005DA58 7F A3 EB 78 */ mr r3, r29 -/* 80060AFC 0005DA5C 90 1D 01 20 */ stw r0, 0x120(r29) -/* 80060B00 0005DA60 48 00 23 F1 */ bl ClearTokenList__9CGameAreaFv -/* 80060B04 0005DA64 28 1E 00 00 */ cmplwi r30, 0 -/* 80060B08 0005DA68 41 82 00 1C */ beq lbl_80060B24 -/* 80060B0C 0005DA6C 80 1D 00 04 */ lwz r0, 4(r29) -/* 80060B10 0005DA70 7F C3 F3 78 */ mr r3, r30 -/* 80060B14 0005DA74 38 81 00 0C */ addi r4, r1, 0xc -/* 80060B18 0005DA78 90 01 00 08 */ stw r0, 8(r1) -/* 80060B1C 0005DA7C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80060B20 0005DA80 4B FE BA B5 */ bl AreaUnloaded__13CStateManagerF7TAreaId -lbl_80060B24: -/* 80060B24 0005DA84 38 60 00 01 */ li r3, 1 -lbl_80060B28: -/* 80060B28 0005DA88 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80060B2C 0005DA8C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80060B30 0005DA90 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80060B34 0005DA94 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80060B38 0005DA98 7C 08 03 A6 */ mtlr r0 -/* 80060B3C 0005DA9C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80060B40 0005DAA0 4E 80 00 20 */ blr - -.global sub_80060b44 -sub_80060b44: -/* 80060B44 0005DAA4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80060B48 0005DAA8 7C 08 02 A6 */ mflr r0 -/* 80060B4C 0005DAAC 38 63 01 10 */ addi r3, r3, 0x110 -/* 80060B50 0005DAB0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80060B54 0005DAB4 38 00 00 00 */ li r0, 0 -/* 80060B58 0005DAB8 38 81 00 08 */ addi r4, r1, 8 -/* 80060B5C 0005DABC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80060B60 0005DAC0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80060B64 0005DAC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80060B68 0005DAC8 48 00 00 21 */ bl sub_80060b88 -/* 80060B6C 0005DACC 38 61 00 08 */ addi r3, r1, 8 -/* 80060B70 0005DAD0 38 80 FF FF */ li r4, -1 -/* 80060B74 0005DAD4 48 00 01 51 */ bl sub_80060cc4 -/* 80060B78 0005DAD8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80060B7C 0005DADC 7C 08 03 A6 */ mtlr r0 -/* 80060B80 0005DAE0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80060B84 0005DAE4 4E 80 00 20 */ blr - -.global sub_80060b88 -sub_80060b88: -/* 80060B88 0005DAE8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80060B8C 0005DAEC 7C 08 02 A6 */ mflr r0 -/* 80060B90 0005DAF0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80060B94 0005DAF4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80060B98 0005DAF8 7C 9F 23 78 */ mr r31, r4 -/* 80060B9C 0005DAFC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80060BA0 0005DB00 7C 7E 1B 78 */ mr r30, r3 -/* 80060BA4 0005DB04 7C 1E F8 40 */ cmplw r30, r31 -/* 80060BA8 0005DB08 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80060BAC 0005DB0C 93 81 00 20 */ stw r28, 0x20(r1) -/* 80060BB0 0005DB10 40 82 00 08 */ bne lbl_80060BB8 -/* 80060BB4 0005DB14 48 00 00 F0 */ b lbl_80060CA4 -lbl_80060BB8: -/* 80060BB8 0005DB18 80 1E 00 04 */ lwz r0, 4(r30) -/* 80060BBC 0005DB1C 83 9E 00 0C */ lwz r28, 0xc(r30) -/* 80060BC0 0005DB20 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80060BC4 0005DB24 93 81 00 0C */ stw r28, 0xc(r1) -/* 80060BC8 0005DB28 7F BC 02 14 */ add r29, r28, r0 -/* 80060BCC 0005DB2C 93 81 00 08 */ stw r28, 8(r1) -/* 80060BD0 0005DB30 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80060BD4 0005DB34 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80060BD8 0005DB38 48 00 00 28 */ b lbl_80060C00 -lbl_80060BDC: -/* 80060BDC 0005DB3C 28 1C 00 00 */ cmplwi r28, 0 -/* 80060BE0 0005DB40 41 82 00 1C */ beq lbl_80060BFC -/* 80060BE4 0005DB44 41 82 00 18 */ beq lbl_80060BFC -/* 80060BE8 0005DB48 88 1C 00 00 */ lbz r0, 0(r28) -/* 80060BEC 0005DB4C 28 00 00 00 */ cmplwi r0, 0 -/* 80060BF0 0005DB50 41 82 00 0C */ beq lbl_80060BFC -/* 80060BF4 0005DB54 80 7C 00 04 */ lwz r3, 4(r28) -/* 80060BF8 0005DB58 48 2B 4D 39 */ bl Free__7CMemoryFPCv -lbl_80060BFC: -/* 80060BFC 0005DB5C 3B 9C 00 0C */ addi r28, r28, 0xc -lbl_80060C00: -/* 80060C00 0005DB60 7C 1C E8 40 */ cmplw r28, r29 -/* 80060C04 0005DB64 40 82 FF D8 */ bne lbl_80060BDC -/* 80060C08 0005DB68 38 00 00 00 */ li r0, 0 -/* 80060C0C 0005DB6C 90 1E 00 04 */ stw r0, 4(r30) -/* 80060C10 0005DB70 80 9F 00 04 */ lwz r4, 4(r31) -/* 80060C14 0005DB74 2C 04 00 00 */ cmpwi r4, 0 -/* 80060C18 0005DB78 40 82 00 28 */ bne lbl_80060C40 -/* 80060C1C 0005DB7C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80060C20 0005DB80 28 03 00 00 */ cmplwi r3, 0 -/* 80060C24 0005DB84 41 82 00 08 */ beq lbl_80060C2C -/* 80060C28 0005DB88 48 2B 4D 09 */ bl Free__7CMemoryFPCv -lbl_80060C2C: -/* 80060C2C 0005DB8C 38 00 00 00 */ li r0, 0 -/* 80060C30 0005DB90 90 1E 00 04 */ stw r0, 4(r30) -/* 80060C34 0005DB94 90 1E 00 08 */ stw r0, 8(r30) -/* 80060C38 0005DB98 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80060C3C 0005DB9C 48 00 00 64 */ b lbl_80060CA0 -lbl_80060C40: -/* 80060C40 0005DBA0 7F C3 F3 78 */ mr r3, r30 -/* 80060C44 0005DBA4 48 00 39 2D */ bl "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" -/* 80060C48 0005DBA8 80 1F 00 04 */ lwz r0, 4(r31) -/* 80060C4C 0005DBAC 38 60 00 00 */ li r3, 0 -/* 80060C50 0005DBB0 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 80060C54 0005DBB4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80060C58 0005DBB8 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80060C5C 0005DBBC 7C A6 02 14 */ add r5, r6, r0 -/* 80060C60 0005DBC0 48 00 00 30 */ b lbl_80060C90 -lbl_80060C64: -/* 80060C64 0005DBC4 28 04 00 00 */ cmplwi r4, 0 -/* 80060C68 0005DBC8 41 82 00 20 */ beq lbl_80060C88 -/* 80060C6C 0005DBCC 88 06 00 00 */ lbz r0, 0(r6) -/* 80060C70 0005DBD0 98 04 00 00 */ stb r0, 0(r4) -/* 80060C74 0005DBD4 80 06 00 04 */ lwz r0, 4(r6) -/* 80060C78 0005DBD8 90 04 00 04 */ stw r0, 4(r4) -/* 80060C7C 0005DBDC 98 66 00 00 */ stb r3, 0(r6) -/* 80060C80 0005DBE0 80 06 00 08 */ lwz r0, 8(r6) -/* 80060C84 0005DBE4 90 04 00 08 */ stw r0, 8(r4) -lbl_80060C88: -/* 80060C88 0005DBE8 38 84 00 0C */ addi r4, r4, 0xc -/* 80060C8C 0005DBEC 38 C6 00 0C */ addi r6, r6, 0xc -lbl_80060C90: -/* 80060C90 0005DBF0 7C 06 28 40 */ cmplw r6, r5 -/* 80060C94 0005DBF4 40 82 FF D0 */ bne lbl_80060C64 -/* 80060C98 0005DBF8 80 1F 00 04 */ lwz r0, 4(r31) -/* 80060C9C 0005DBFC 90 1E 00 04 */ stw r0, 4(r30) -lbl_80060CA0: -/* 80060CA0 0005DC00 7F C3 F3 78 */ mr r3, r30 -lbl_80060CA4: -/* 80060CA4 0005DC04 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80060CA8 0005DC08 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80060CAC 0005DC0C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80060CB0 0005DC10 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80060CB4 0005DC14 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80060CB8 0005DC18 7C 08 03 A6 */ mtlr r0 -/* 80060CBC 0005DC1C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80060CC0 0005DC20 4E 80 00 20 */ blr - -.global sub_80060cc4 -sub_80060cc4: -/* 80060CC4 0005DC24 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80060CC8 0005DC28 7C 08 02 A6 */ mflr r0 -/* 80060CCC 0005DC2C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80060CD0 0005DC30 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80060CD4 0005DC34 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80060CD8 0005DC38 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80060CDC 0005DC3C 7C 9D 23 78 */ mr r29, r4 -/* 80060CE0 0005DC40 93 81 00 20 */ stw r28, 0x20(r1) -/* 80060CE4 0005DC44 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80060CE8 0005DC48 41 82 00 74 */ beq lbl_80060D5C -/* 80060CEC 0005DC4C 80 1C 00 04 */ lwz r0, 4(r28) -/* 80060CF0 0005DC50 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 80060CF4 0005DC54 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80060CF8 0005DC58 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80060CFC 0005DC5C 7F FE 02 14 */ add r31, r30, r0 -/* 80060D00 0005DC60 93 C1 00 14 */ stw r30, 0x14(r1) -/* 80060D04 0005DC64 93 E1 00 08 */ stw r31, 8(r1) -/* 80060D08 0005DC68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80060D0C 0005DC6C 48 00 00 28 */ b lbl_80060D34 -lbl_80060D10: -/* 80060D10 0005DC70 28 1E 00 00 */ cmplwi r30, 0 -/* 80060D14 0005DC74 41 82 00 1C */ beq lbl_80060D30 -/* 80060D18 0005DC78 41 82 00 18 */ beq lbl_80060D30 -/* 80060D1C 0005DC7C 88 1E 00 00 */ lbz r0, 0(r30) -/* 80060D20 0005DC80 28 00 00 00 */ cmplwi r0, 0 -/* 80060D24 0005DC84 41 82 00 0C */ beq lbl_80060D30 -/* 80060D28 0005DC88 80 7E 00 04 */ lwz r3, 4(r30) -/* 80060D2C 0005DC8C 48 2B 4C 05 */ bl Free__7CMemoryFPCv -lbl_80060D30: -/* 80060D30 0005DC90 3B DE 00 0C */ addi r30, r30, 0xc -lbl_80060D34: -/* 80060D34 0005DC94 7C 1E F8 40 */ cmplw r30, r31 -/* 80060D38 0005DC98 40 82 FF D8 */ bne lbl_80060D10 -/* 80060D3C 0005DC9C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80060D40 0005DCA0 28 03 00 00 */ cmplwi r3, 0 -/* 80060D44 0005DCA4 41 82 00 08 */ beq lbl_80060D4C -/* 80060D48 0005DCA8 48 2B 4B E9 */ bl Free__7CMemoryFPCv -lbl_80060D4C: -/* 80060D4C 0005DCAC 7F A0 07 35 */ extsh. r0, r29 -/* 80060D50 0005DCB0 40 81 00 0C */ ble lbl_80060D5C -/* 80060D54 0005DCB4 7F 83 E3 78 */ mr r3, r28 -/* 80060D58 0005DCB8 48 2B 4B D9 */ bl Free__7CMemoryFPCv -lbl_80060D5C: -/* 80060D5C 0005DCBC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80060D60 0005DCC0 7F 83 E3 78 */ mr r3, r28 -/* 80060D64 0005DCC4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80060D68 0005DCC8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80060D6C 0005DCCC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80060D70 0005DCD0 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80060D74 0005DCD4 7C 08 03 A6 */ mtlr r0 -/* 80060D78 0005DCD8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80060D7C 0005DCDC 4E 80 00 20 */ blr - -.global CullDeadAreaRequests__9CGameAreaFv -CullDeadAreaRequests__9CGameAreaFv: -/* 80060D80 0005DCE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80060D84 0005DCE4 7C 08 02 A6 */ mflr r0 -/* 80060D88 0005DCE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80060D8C 0005DCEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80060D90 0005DCF0 7C 7F 1B 78 */ mr r31, r3 -/* 80060D94 0005DCF4 48 00 00 10 */ b lbl_80060DA4 -lbl_80060D98: -/* 80060D98 0005DCF8 80 9F 00 FC */ lwz r4, 0xfc(r31) -/* 80060D9C 0005DCFC 38 7F 00 F8 */ addi r3, r31, 0xf8 -/* 80060DA0 0005DD00 48 00 38 E9 */ bl "pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv" -lbl_80060DA4: -/* 80060DA4 0005DD04 80 1F 01 0C */ lwz r0, 0x10c(r31) -/* 80060DA8 0005DD08 2C 00 00 00 */ cmpwi r0, 0 -/* 80060DAC 0005DD0C 41 82 00 24 */ beq lbl_80060DD0 -/* 80060DB0 0005DD10 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 80060DB4 0005DD14 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80060DB8 0005DD18 81 83 00 00 */ lwz r12, 0(r3) -/* 80060DBC 0005DD1C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80060DC0 0005DD20 7D 89 03 A6 */ mtctr r12 -/* 80060DC4 0005DD24 4E 80 04 21 */ bctrl -/* 80060DC8 0005DD28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80060DCC 0005DD2C 40 82 FF CC */ bne lbl_80060D98 -lbl_80060DD0: -/* 80060DD0 0005DD30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80060DD4 0005DD34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80060DD8 0005DD38 7C 08 03 A6 */ mtlr r0 -/* 80060DDC 0005DD3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80060DE0 0005DD40 4E 80 00 20 */ blr - -.global StartStreamIn__9CGameAreaFR13CStateManager -StartStreamIn__9CGameAreaFR13CStateManager: -/* 80060DE4 0005DD44 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80060DE8 0005DD48 7C 08 02 A6 */ mflr r0 -/* 80060DEC 0005DD4C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80060DF0 0005DD50 BF 21 00 24 */ stmw r25, 0x24(r1) -/* 80060DF4 0005DD54 7C 7A 1B 78 */ mr r26, r3 -/* 80060DF8 0005DD58 7C 9B 23 78 */ mr r27, r4 -/* 80060DFC 0005DD5C 88 A3 00 F0 */ lbz r5, 0xf0(r3) -/* 80060E00 0005DD60 80 C4 0B 3C */ lwz r6, 0xb3c(r4) -/* 80060E04 0005DD64 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f -/* 80060E08 0005DD68 20 C6 00 02 */ subfic r6, r6, 2 -/* 80060E0C 0005DD6C 7C C6 00 34 */ cntlzw r6, r6 -/* 80060E10 0005DD70 54 DF D9 7E */ srwi r31, r6, 5 -/* 80060E14 0005DD74 40 82 01 38 */ bne lbl_80060F4C -/* 80060E18 0005DD78 54 A0 E7 FF */ rlwinm. r0, r5, 0x1c, 0x1f, 0x1f -/* 80060E1C 0005DD7C 40 82 01 30 */ bne lbl_80060F4C -/* 80060E20 0005DD80 48 00 1F 65 */ bl VerifyTokenList__9CGameAreaFv -/* 80060E24 0005DD84 88 1A 00 F0 */ lbz r0, 0xf0(r26) -/* 80060E28 0005DD88 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80060E2C 0005DD8C 40 82 00 EC */ bne lbl_80060F18 -/* 80060E30 0005DD90 3B A0 00 00 */ li r29, 0 -/* 80060E34 0005DD94 3B 80 00 00 */ li r28, 0 -/* 80060E38 0005DD98 3B C0 00 00 */ li r30, 0 -/* 80060E3C 0005DD9C 48 00 00 B0 */ b lbl_80060EEC -lbl_80060E40: -/* 80060E40 0005DDA0 80 1A 00 E8 */ lwz r0, 0xe8(r26) -/* 80060E44 0005DDA4 7F 20 F2 14 */ add r25, r0, r30 -/* 80060E48 0005DDA8 80 79 00 00 */ lwz r3, 0(r25) -/* 80060E4C 0005DDAC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80060E50 0005DDB0 28 00 00 00 */ cmplwi r0, 0 -/* 80060E54 0005DDB4 41 82 00 60 */ beq lbl_80060EB4 -/* 80060E58 0005DDB8 7F 23 CB 78 */ mr r3, r25 -/* 80060E5C 0005DDBC 48 2D FF 29 */ bl Lock__6CTokenFv -/* 80060E60 0005DDC0 80 79 00 00 */ lwz r3, 0(r25) -/* 80060E64 0005DDC4 80 63 00 04 */ lwz r3, 4(r3) -/* 80060E68 0005DDC8 3C 03 AB A8 */ addis r0, r3, 0xaba8 -/* 80060E6C 0005DDCC 28 00 54 52 */ cmplwi r0, 0x5452 -/* 80060E70 0005DDD0 40 82 00 74 */ bne lbl_80060EE4 -/* 80060E74 0005DDD4 7F 24 CB 78 */ mr r4, r25 -/* 80060E78 0005DDD8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80060E7C 0005DDDC 48 2E 00 2D */ bl __ct__6CTokenFRC6CToken -/* 80060E80 0005DDE0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80060E84 0005DDE4 48 2D FF 89 */ bl GetObj__6CTokenFv -/* 80060E88 0005DDE8 83 23 00 04 */ lwz r25, 4(r3) -/* 80060E8C 0005DDEC 7F 23 CB 78 */ mr r3, r25 -/* 80060E90 0005DDF0 48 2A D3 29 */ bl MakeSwappable__8CTextureCFv -/* 80060E94 0005DDF4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80060E98 0005DDF8 41 82 00 0C */ beq lbl_80060EA4 -/* 80060E9C 0005DDFC 7F 23 CB 78 */ mr r3, r25 -/* 80060EA0 0005DE00 48 2A DC E1 */ bl LoadToARAM__8CTextureCFv -lbl_80060EA4: -/* 80060EA4 0005DE04 38 61 00 10 */ addi r3, r1, 0x10 -/* 80060EA8 0005DE08 38 80 00 00 */ li r4, 0 -/* 80060EAC 0005DE0C 48 2D FF 95 */ bl __dt__6CTokenFv -/* 80060EB0 0005DE10 48 00 00 34 */ b lbl_80060EE4 -lbl_80060EB4: -/* 80060EB4 0005DE14 80 BA 00 84 */ lwz r5, 0x84(r26) -/* 80060EB8 0005DE18 3C 60 4D 52 */ lis r3, 0x4D524541@ha -/* 80060EBC 0005DE1C 38 03 45 41 */ addi r0, r3, 0x4D524541@l -/* 80060EC0 0005DE20 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80060EC4 0005DE24 90 01 00 08 */ stw r0, 8(r1) -/* 80060EC8 0005DE28 38 81 00 08 */ addi r4, r1, 8 -/* 80060ECC 0005DE2C 38 63 00 04 */ addi r3, r3, 4 -/* 80060ED0 0005DE30 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80060ED4 0005DE34 48 2D B0 A5 */ bl FindResource__10CResLoaderCFRC10SObjectTag -/* 80060ED8 0005DE38 7F 23 CB 78 */ mr r3, r25 -/* 80060EDC 0005DE3C 48 2D FE A9 */ bl Lock__6CTokenFv -/* 80060EE0 0005DE40 3B BD 00 01 */ addi r29, r29, 1 -lbl_80060EE4: -/* 80060EE4 0005DE44 3B DE 00 08 */ addi r30, r30, 8 -/* 80060EE8 0005DE48 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80060EEC: -/* 80060EEC 0005DE4C 80 1A 00 E0 */ lwz r0, 0xe0(r26) -/* 80060EF0 0005DE50 7C 1C 00 00 */ cmpw r28, r0 -/* 80060EF4 0005DE54 41 80 FF 4C */ blt lbl_80060E40 -/* 80060EF8 0005DE58 2C 1D 00 00 */ cmpwi r29, 0 -/* 80060EFC 0005DE5C 40 82 00 50 */ bne lbl_80060F4C -/* 80060F00 0005DE60 88 1A 00 F0 */ lbz r0, 0xf0(r26) -/* 80060F04 0005DE64 38 60 00 01 */ li r3, 1 -/* 80060F08 0005DE68 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80060F0C 0005DE6C 98 1A 00 F0 */ stb r0, 0xf0(r26) -/* 80060F10 0005DE70 48 00 00 08 */ b lbl_80060F18 -/* 80060F14 0005DE74 48 00 00 38 */ b lbl_80060F4C -lbl_80060F18: -/* 80060F18 0005DE78 7F 43 D3 78 */ mr r3, r26 -/* 80060F1C 0005DE7C 4B FF EC D9 */ bl StartStreamingMainArea__9CGameAreaFv -/* 80060F20 0005DE80 80 1A 00 F4 */ lwz r0, 0xf4(r26) -/* 80060F24 0005DE84 2C 00 00 04 */ cmpwi r0, 4 -/* 80060F28 0005DE88 40 82 00 24 */ bne lbl_80060F4C -/* 80060F2C 0005DE8C 7F 43 D3 78 */ mr r3, r26 -/* 80060F30 0005DE90 4B FF FE 51 */ bl CullDeadAreaRequests__9CGameAreaFv -/* 80060F34 0005DE94 80 1A 01 0C */ lwz r0, 0x10c(r26) -/* 80060F38 0005DE98 2C 00 00 00 */ cmpwi r0, 0 -/* 80060F3C 0005DE9C 40 82 00 10 */ bne lbl_80060F4C -/* 80060F40 0005DEA0 7F 43 D3 78 */ mr r3, r26 -/* 80060F44 0005DEA4 7F 64 DB 78 */ mr r4, r27 -/* 80060F48 0005DEA8 48 00 01 5D */ bl Validate__9CGameAreaFR13CStateManager -lbl_80060F4C: -/* 80060F4C 0005DEAC BB 21 00 24 */ lmw r25, 0x24(r1) -/* 80060F50 0005DEB0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80060F54 0005DEB4 7C 08 03 A6 */ mtlr r0 -/* 80060F58 0005DEB8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80060F5C 0005DEBC 4E 80 00 20 */ blr - -.global LoadScriptObjects__9CGameAreaFR13CStateManager -LoadScriptObjects__9CGameAreaFR13CStateManager: -/* 80060F60 0005DEC0 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80060F64 0005DEC4 7C 08 02 A6 */ mflr r0 -/* 80060F68 0005DEC8 90 01 00 94 */ stw r0, 0x94(r1) -/* 80060F6C 0005DECC 38 00 00 00 */ li r0, 0 -/* 80060F70 0005DED0 BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 80060F74 0005DED4 7C 9C 23 78 */ mr r28, r4 -/* 80060F78 0005DED8 7C 7B 1B 78 */ mr r27, r3 -/* 80060F7C 0005DEDC 38 81 00 2C */ addi r4, r1, 0x2c -/* 80060F80 0005DEE0 90 01 00 40 */ stw r0, 0x40(r1) -/* 80060F84 0005DEE4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80060F88 0005DEE8 90 01 00 48 */ stw r0, 0x48(r1) -/* 80060F8C 0005DEEC 80 7C 08 C8 */ lwz r3, 0x8c8(r28) -/* 80060F90 0005DEF0 80 1B 00 04 */ lwz r0, 4(r27) -/* 80060F94 0005DEF4 83 C3 00 00 */ lwz r30, 0(r3) -/* 80060F98 0005DEF8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80060F9C 0005DEFC 7F C3 F3 78 */ mr r3, r30 -/* 80060FA0 0005DF00 48 1D 30 15 */ bl GetAreaLayerCount__16CWorldLayerStateFi -/* 80060FA4 0005DF04 7C 7F 1B 78 */ mr r31, r3 -/* 80060FA8 0005DF08 3B A0 00 00 */ li r29, 0 -/* 80060FAC 0005DF0C 48 00 00 90 */ b lbl_8006103C -lbl_80060FB0: -/* 80060FB0 0005DF10 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80060FB4 0005DF14 7F C3 F3 78 */ mr r3, r30 -/* 80060FB8 0005DF18 38 81 00 28 */ addi r4, r1, 0x28 -/* 80060FBC 0005DF1C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80060FC0 0005DF20 80 1B 00 04 */ lwz r0, 4(r27) -/* 80060FC4 0005DF24 93 A1 00 30 */ stw r29, 0x30(r1) -/* 80060FC8 0005DF28 90 01 00 28 */ stw r0, 0x28(r1) -/* 80060FCC 0005DF2C 48 1D 32 A5 */ bl IsLayerActive__16CWorldLayerStateFii -/* 80060FD0 0005DF30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80060FD4 0005DF34 41 82 00 64 */ beq lbl_80061038 -/* 80060FD8 0005DF38 7F A0 EB 78 */ mr r0, r29 -/* 80060FDC 0005DF3C 7F 64 DB 78 */ mr r4, r27 -/* 80060FE0 0005DF40 90 01 00 20 */ stw r0, 0x20(r1) -/* 80060FE4 0005DF44 38 61 00 34 */ addi r3, r1, 0x34 -/* 80060FE8 0005DF48 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80060FEC 0005DF4C 4B FF D3 01 */ bl GetLayerScriptBuffer__9CGameAreaFi -/* 80060FF0 0005DF50 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80060FF4 0005DF54 38 61 00 4C */ addi r3, r1, 0x4c -/* 80060FF8 0005DF58 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 80060FFC 0005DF5C 48 2D E1 D1 */ bl __ct__15CMemoryInStreamFPCvUl -/* 80061000 0005DF60 80 1B 00 04 */ lwz r0, 4(r27) -/* 80061004 0005DF64 7F 83 E3 78 */ mr r3, r28 -/* 80061008 0005DF68 38 81 00 1C */ addi r4, r1, 0x1c -/* 8006100C 0005DF6C 38 A1 00 4C */ addi r5, r1, 0x4c -/* 80061010 0005DF70 90 01 00 18 */ stw r0, 0x18(r1) -/* 80061014 0005DF74 38 C1 00 3C */ addi r6, r1, 0x3c -/* 80061018 0005DF78 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8006101C 0005DF7C 4B FE 71 59 */ bl LoadScriptObjects__13CStateManagerF7TAreaIdR12CInputStreamQ213CStateManager18EScriptPersistence -/* 80061020 0005DF80 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 80061024 0005DF84 38 61 00 4C */ addi r3, r1, 0x4c -/* 80061028 0005DF88 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 8006102C 0005DF8C 38 80 00 00 */ li r4, 0 -/* 80061030 0005DF90 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80061034 0005DF94 48 2D E0 79 */ bl __dt__12CInputStreamFv -lbl_80061038: -/* 80061038 0005DF98 3B BD 00 01 */ addi r29, r29, 1 -lbl_8006103C: -/* 8006103C 0005DF9C 7C 1D F8 00 */ cmpw r29, r31 -/* 80061040 0005DFA0 41 80 FF 70 */ blt lbl_80060FB0 -/* 80061044 0005DFA4 7F 83 E3 78 */ mr r3, r28 -/* 80061048 0005DFA8 38 81 00 3C */ addi r4, r1, 0x3c -/* 8006104C 0005DFAC 4B FE 70 65 */ bl "InitScriptObjects__13CStateManagerFRCQ24rstl18vector<9TEditorId>" -/* 80061050 0005DFB0 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80061054 0005DFB4 80 61 00 48 */ lwz r3, 0x48(r1) -/* 80061058 0005DFB8 54 00 10 3A */ slwi r0, r0, 2 -/* 8006105C 0005DFBC 7C 03 02 14 */ add r0, r3, r0 -/* 80061060 0005DFC0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80061064 0005DFC4 7C 64 1B 78 */ mr r4, r3 -/* 80061068 0005DFC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006106C 0005DFCC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80061070 0005DFD0 90 61 00 08 */ stw r3, 8(r1) -/* 80061074 0005DFD4 48 00 00 08 */ b lbl_8006107C -lbl_80061078: -/* 80061078 0005DFD8 38 84 00 04 */ addi r4, r4, 4 -lbl_8006107C: -/* 8006107C 0005DFDC 7C 04 00 40 */ cmplw r4, r0 -/* 80061080 0005DFE0 40 82 FF F8 */ bne lbl_80061078 -/* 80061084 0005DFE4 28 03 00 00 */ cmplwi r3, 0 -/* 80061088 0005DFE8 41 82 00 08 */ beq lbl_80061090 -/* 8006108C 0005DFEC 48 2B 48 A5 */ bl Free__7CMemoryFPCv -lbl_80061090: -/* 80061090 0005DFF0 BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 80061094 0005DFF4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80061098 0005DFF8 7C 08 03 A6 */ mtlr r0 -/* 8006109C 0005DFFC 38 21 00 90 */ addi r1, r1, 0x90 -/* 800610A0 0005E000 4E 80 00 20 */ blr - -.global Validate__9CGameAreaFR13CStateManager -Validate__9CGameAreaFR13CStateManager: -/* 800610A4 0005E004 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800610A8 0005E008 7C 08 02 A6 */ mflr r0 -/* 800610AC 0005E00C 90 01 00 44 */ stw r0, 0x44(r1) -/* 800610B0 0005E010 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800610B4 0005E014 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800610B8 0005E018 7C 9E 23 78 */ mr r30, r4 -/* 800610BC 0005E01C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800610C0 0005E020 7C 7D 1B 78 */ mr r29, r3 -/* 800610C4 0005E024 93 81 00 30 */ stw r28, 0x30(r1) -/* 800610C8 0005E028 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 800610CC 0005E02C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800610D0 0005E030 40 82 02 00 */ bne lbl_800612D0 -lbl_800610D4: -/* 800610D4 0005E034 7F A3 EB 78 */ mr r3, r29 -/* 800610D8 0005E038 4B FF EB 1D */ bl StartStreamingMainArea__9CGameAreaFv -/* 800610DC 0005E03C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800610E0 0005E040 40 82 FF F4 */ bne lbl_800610D4 -/* 800610E4 0005E044 83 FD 00 FC */ lwz r31, 0xfc(r29) -/* 800610E8 0005E048 48 00 00 24 */ b lbl_8006110C -lbl_800610EC: -/* 800610EC 0005E04C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800610F0 0005E050 28 03 00 00 */ cmplwi r3, 0 -/* 800610F4 0005E054 41 82 00 14 */ beq lbl_80061108 -/* 800610F8 0005E058 81 83 00 00 */ lwz r12, 0(r3) -/* 800610FC 0005E05C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80061100 0005E060 7D 89 03 A6 */ mtctr r12 -/* 80061104 0005E064 4E 80 04 21 */ bctrl -lbl_80061108: -/* 80061108 0005E068 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8006110C: -/* 8006110C 0005E06C 80 1D 01 00 */ lwz r0, 0x100(r29) -/* 80061110 0005E070 7C 1F 00 40 */ cmplw r31, r0 -/* 80061114 0005E074 40 82 FF D8 */ bne lbl_800610EC -/* 80061118 0005E078 80 1D 00 E0 */ lwz r0, 0xe0(r29) -/* 8006111C 0005E07C 2C 00 00 00 */ cmpwi r0, 0 -/* 80061120 0005E080 40 82 00 74 */ bne lbl_80061194 -/* 80061124 0005E084 7F A3 EB 78 */ mr r3, r29 -/* 80061128 0005E088 7F C4 F3 78 */ mr r4, r30 -/* 8006112C 0005E08C 48 00 1C 59 */ bl VerifyTokenList__9CGameAreaFv -/* 80061130 0005E090 83 FD 00 E8 */ lwz r31, 0xe8(r29) -/* 80061134 0005E094 48 00 00 10 */ b lbl_80061144 -lbl_80061138: -/* 80061138 0005E098 7F E3 FB 78 */ mr r3, r31 -/* 8006113C 0005E09C 48 2D FC 49 */ bl Lock__6CTokenFv -/* 80061140 0005E0A0 3B FF 00 08 */ addi r31, r31, 8 -lbl_80061144: -/* 80061144 0005E0A4 80 1D 00 E0 */ lwz r0, 0xe0(r29) -/* 80061148 0005E0A8 83 9D 00 E8 */ lwz r28, 0xe8(r29) -/* 8006114C 0005E0AC 54 00 18 38 */ slwi r0, r0, 3 -/* 80061150 0005E0B0 7C 1C 02 14 */ add r0, r28, r0 -/* 80061154 0005E0B4 7C 1F 00 40 */ cmplw r31, r0 -/* 80061158 0005E0B8 40 82 FF E0 */ bne lbl_80061138 -/* 8006115C 0005E0BC 48 00 00 10 */ b lbl_8006116C -lbl_80061160: -/* 80061160 0005E0C0 7F 83 E3 78 */ mr r3, r28 -/* 80061164 0005E0C4 48 2D FC A9 */ bl GetObj__6CTokenFv -/* 80061168 0005E0C8 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8006116C: -/* 8006116C 0005E0CC 80 1D 00 E0 */ lwz r0, 0xe0(r29) -/* 80061170 0005E0D0 80 7D 00 E8 */ lwz r3, 0xe8(r29) -/* 80061174 0005E0D4 54 00 18 38 */ slwi r0, r0, 3 -/* 80061178 0005E0D8 7C 03 02 14 */ add r0, r3, r0 -/* 8006117C 0005E0DC 7C 1C 00 40 */ cmplw r28, r0 -/* 80061180 0005E0E0 40 82 FF E0 */ bne lbl_80061160 -/* 80061184 0005E0E4 88 1D 00 F0 */ lbz r0, 0xf0(r29) -/* 80061188 0005E0E8 38 60 00 01 */ li r3, 1 -/* 8006118C 0005E0EC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80061190 0005E0F0 98 1D 00 F0 */ stb r0, 0xf0(r29) -lbl_80061194: -/* 80061194 0005E0F4 83 FD 01 00 */ lwz r31, 0x100(r29) -/* 80061198 0005E0F8 80 9D 00 FC */ lwz r4, 0xfc(r29) -/* 8006119C 0005E0FC 48 00 00 10 */ b lbl_800611AC -lbl_800611A0: -/* 800611A0 0005E100 38 7D 00 F8 */ addi r3, r29, 0xf8 -/* 800611A4 0005E104 48 00 34 E5 */ bl "pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv" -/* 800611A8 0005E108 7C 64 1B 78 */ mr r4, r3 -lbl_800611AC: -/* 800611AC 0005E10C 7C 04 F8 40 */ cmplw r4, r31 -/* 800611B0 0005E110 40 82 FF F0 */ bne lbl_800611A0 -/* 800611B4 0005E114 38 00 00 00 */ li r0, 0 -/* 800611B8 0005E118 7F A3 EB 78 */ mr r3, r29 -/* 800611BC 0005E11C 90 1D 00 F4 */ stw r0, 0xf4(r29) -/* 800611C0 0005E120 48 00 01 31 */ bl PostConstructArea__9CGameAreaFv -/* 800611C4 0005E124 80 7D 00 04 */ lwz r3, 4(r29) -/* 800611C8 0005E128 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800611CC 0005E12C 7C 03 00 00 */ cmpw r3, r0 -/* 800611D0 0005E130 41 82 00 18 */ beq lbl_800611E8 -/* 800611D4 0005E134 80 1D 00 04 */ lwz r0, 4(r29) -/* 800611D8 0005E138 38 81 00 28 */ addi r4, r1, 0x28 -/* 800611DC 0005E13C 90 01 00 28 */ stw r0, 0x28(r1) -/* 800611E0 0005E140 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 800611E4 0005E144 4B FF 4D D5 */ bl MoveAreaToChain3__6CWorldF7TAreaId -lbl_800611E8: -/* 800611E8 0005E148 7F A3 EB 78 */ mr r3, r29 -/* 800611EC 0005E14C 7F C4 F3 78 */ mr r4, r30 -/* 800611F0 0005E150 4B FF FD 71 */ bl LoadScriptObjects__9CGameAreaFR13CStateManager -/* 800611F4 0005E154 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 800611F8 0005E158 80 03 00 A0 */ lwz r0, 0xa0(r3) -/* 800611FC 0005E15C 28 00 00 00 */ cmplwi r0, 0 -/* 80061200 0005E160 41 82 00 A8 */ beq lbl_800612A8 -/* 80061204 0005E164 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 80061208 0005E168 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8006120C 0005E16C 41 82 00 9C */ beq lbl_800612A8 -/* 80061210 0005E170 3B E0 00 00 */ li r31, 0 -/* 80061214 0005E174 48 00 00 80 */ b lbl_80061294 -lbl_80061218: -/* 80061218 0005E178 80 64 00 A0 */ lwz r3, 0xa0(r4) -/* 8006121C 0005E17C 7F E4 FB 78 */ mr r4, r31 -/* 80061220 0005E180 48 24 D1 C5 */ bl GetEntityIdByIndex__13CPVSVisOctreeFi -/* 80061224 0005E184 80 1D 00 04 */ lwz r0, 4(r29) -/* 80061228 0005E188 7F C4 F3 78 */ mr r4, r30 -/* 8006122C 0005E18C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80061230 0005E190 54 00 80 1E */ slwi r0, r0, 0x10 -/* 80061234 0005E194 7C 60 03 78 */ or r0, r3, r0 -/* 80061238 0005E198 38 61 00 0C */ addi r3, r1, 0xc -/* 8006123C 0005E19C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80061240 0005E1A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80061244 0005E1A4 4B FE 6C D9 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80061248 0005E1A8 A0 C1 00 0C */ lhz r6, 0xc(r1) -/* 8006124C 0005E1AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80061250 0005E1B0 B0 C1 00 10 */ sth r6, 0x10(r1) -/* 80061254 0005E1B4 7C 06 00 40 */ cmplw r6, r0 -/* 80061258 0005E1B8 41 82 00 38 */ beq lbl_80061290 -/* 8006125C 0005E1BC 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80061260 0005E1C0 54 C0 15 3A */ rlwinm r0, r6, 2, 0x14, 0x1d -/* 80061264 0005E1C4 B0 C1 00 08 */ sth r6, 8(r1) -/* 80061268 0005E1C8 80 83 00 A0 */ lwz r4, 0xa0(r3) -/* 8006126C 0005E1CC 7C A3 02 14 */ add r5, r3, r0 -/* 80061270 0005E1D0 B0 C1 00 1E */ sth r6, 0x1e(r1) -/* 80061274 0005E1D4 80 64 00 0C */ lwz r3, 0xc(r4) -/* 80061278 0005E1D8 80 04 00 00 */ lwz r0, 0(r4) -/* 8006127C 0005E1DC 7C 03 00 50 */ subf r0, r3, r0 -/* 80061280 0005E1E0 7C 1F 02 14 */ add r0, r31, r0 -/* 80061284 0005E1E4 B0 05 00 A8 */ sth r0, 0xa8(r5) -/* 80061288 0005E1E8 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8006128C 0005E1EC B0 C5 00 AA */ sth r6, 0xaa(r5) -lbl_80061290: -/* 80061290 0005E1F0 3B FF 00 01 */ addi r31, r31, 1 -lbl_80061294: -/* 80061294 0005E1F4 80 9D 01 2C */ lwz r4, 0x12c(r29) -/* 80061298 0005E1F8 80 64 00 A0 */ lwz r3, 0xa0(r4) -/* 8006129C 0005E1FC 80 03 00 0C */ lwz r0, 0xc(r3) -/* 800612A0 0005E200 7C 1F 00 00 */ cmpw r31, r0 -/* 800612A4 0005E204 41 80 FF 74 */ blt lbl_80061218 -lbl_800612A8: -/* 800612A8 0005E208 88 1D 00 F0 */ lbz r0, 0xf0(r29) -/* 800612AC 0005E20C 38 60 00 01 */ li r3, 1 -/* 800612B0 0005E210 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800612B4 0005E214 7F C3 F3 78 */ mr r3, r30 -/* 800612B8 0005E218 98 1D 00 F0 */ stb r0, 0xf0(r29) -/* 800612BC 0005E21C 38 81 00 18 */ addi r4, r1, 0x18 -/* 800612C0 0005E220 80 1D 00 04 */ lwz r0, 4(r29) -/* 800612C4 0005E224 90 01 00 14 */ stw r0, 0x14(r1) -/* 800612C8 0005E228 90 01 00 18 */ stw r0, 0x18(r1) -/* 800612CC 0005E22C 4B FE B3 CD */ bl AreaLoaded__13CStateManagerF7TAreaId -lbl_800612D0: -/* 800612D0 0005E230 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800612D4 0005E234 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800612D8 0005E238 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800612DC 0005E23C 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800612E0 0005E240 83 81 00 30 */ lwz r28, 0x30(r1) -/* 800612E4 0005E244 7C 08 03 A6 */ mtlr r0 -/* 800612E8 0005E248 38 21 00 40 */ addi r1, r1, 0x40 -/* 800612EC 0005E24C 4E 80 00 20 */ blr - -.global PostConstructArea__9CGameAreaFv -PostConstructArea__9CGameAreaFv: -/* 800612F0 0005E250 94 21 FC C0 */ stwu r1, -0x340(r1) -/* 800612F4 0005E254 7C 08 02 A6 */ mflr r0 -/* 800612F8 0005E258 90 01 03 44 */ stw r0, 0x344(r1) -/* 800612FC 0005E25C BE C1 03 18 */ stmw r22, 0x318(r1) -/* 80061300 0005E260 7C 7F 1B 78 */ mr r31, r3 -/* 80061304 0005E264 48 00 27 99 */ bl VerifyHeader__9CGameAreaCFv -/* 80061308 0005E268 83 5F 01 1C */ lwz r26, 0x11c(r31) -/* 8006130C 0005E26C 7C 7E 1B 78 */ mr r30, r3 -/* 80061310 0005E270 3B 7F 00 0C */ addi r27, r31, 0xc -/* 80061314 0005E274 3B 80 00 00 */ li r28, 0 -/* 80061318 0005E278 83 3A 00 04 */ lwz r25, 4(r26) -/* 8006131C 0005E27C 3B 19 00 08 */ addi r24, r25, 8 -lbl_80061320: -/* 80061320 0005E280 80 D8 00 00 */ lwz r6, 0(r24) -/* 80061324 0005E284 7F 63 DB 78 */ mr r3, r27 -/* 80061328 0005E288 80 B8 00 04 */ lwz r5, 4(r24) -/* 8006132C 0005E28C 38 81 00 AC */ addi r4, r1, 0xac -/* 80061330 0005E290 80 18 00 08 */ lwz r0, 8(r24) -/* 80061334 0005E294 90 C1 00 84 */ stw r6, 0x84(r1) -/* 80061338 0005E298 C0 22 87 20 */ lfs f1, lbl_805AA440@sda21(r2) -/* 8006133C 0005E29C 90 A1 00 88 */ stw r5, 0x88(r1) -/* 80061340 0005E2A0 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80061344 0005E2A4 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80061348 0005E2A8 C0 61 00 88 */ lfs f3, 0x88(r1) -/* 8006134C 0005E2AC C0 41 00 8C */ lfs f2, 0x8c(r1) -/* 80061350 0005E2B0 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 80061354 0005E2B4 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 80061358 0005E2B8 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 8006135C 0005E2BC 48 2A EC 09 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80061360 0005E2C0 3B 9C 00 01 */ addi r28, r28, 1 -/* 80061364 0005E2C4 3B 7B 00 10 */ addi r27, r27, 0x10 -/* 80061368 0005E2C8 2C 1C 00 03 */ cmpwi r28, 3 -/* 8006136C 0005E2CC 3B 18 00 10 */ addi r24, r24, 0x10 -/* 80061370 0005E2D0 41 80 FF B0 */ blt lbl_80061320 -/* 80061374 0005E2D4 C0 39 00 14 */ lfs f1, 0x14(r25) -/* 80061378 0005E2D8 38 61 00 60 */ addi r3, r1, 0x60 -/* 8006137C 0005E2DC C0 59 00 24 */ lfs f2, 0x24(r25) -/* 80061380 0005E2E0 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 80061384 0005E2E4 C0 19 00 34 */ lfs f0, 0x34(r25) -/* 80061388 0005E2E8 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 8006138C 0005E2EC C0 22 87 20 */ lfs f1, lbl_805AA440@sda21(r2) -/* 80061390 0005E2F0 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80061394 0005E2F4 80 C1 00 6C */ lwz r6, 0x6c(r1) -/* 80061398 0005E2F8 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8006139C 0005E2FC 80 A1 00 70 */ lwz r5, 0x70(r1) -/* 800613A0 0005E300 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800613A4 0005E304 90 C1 00 78 */ stw r6, 0x78(r1) -/* 800613A8 0005E308 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 800613AC 0005E30C C0 61 00 78 */ lfs f3, 0x78(r1) -/* 800613B0 0005E310 90 01 00 80 */ stw r0, 0x80(r1) -/* 800613B4 0005E314 C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 800613B8 0005E318 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 800613BC 0005E31C D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 800613C0 0005E320 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 800613C4 0005E324 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 800613C8 0005E328 C0 7F 00 38 */ lfs f3, 0x38(r31) -/* 800613CC 0005E32C C0 5F 00 28 */ lfs f2, 0x28(r31) -/* 800613D0 0005E330 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 800613D4 0005E334 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800613D8 0005E338 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 800613DC 0005E33C D0 61 00 68 */ stfs f3, 0x68(r1) -/* 800613E0 0005E340 48 2A EB 85 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 800613E4 0005E344 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 800613E8 0005E348 38 1A 00 18 */ addi r0, r26, 0x18 -/* 800613EC 0005E34C 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha -/* 800613F0 0005E350 83 B9 00 38 */ lwz r29, 0x38(r25) -/* 800613F4 0005E354 7C 03 00 50 */ subf r0, r3, r0 -/* 800613F8 0005E358 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 800613FC 0005E35C 38 A4 AA AB */ addi r5, r4, 0x2AAAAAAB@l -/* 80061400 0005E360 7F A4 EB 78 */ mr r4, r29 -/* 80061404 0005E364 7C 05 00 96 */ mulhw r0, r5, r0 -/* 80061408 0005E368 3B 5A 00 24 */ addi r26, r26, 0x24 -/* 8006140C 0005E36C 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80061410 0005E370 54 05 0F FE */ srwi r5, r0, 0x1f -/* 80061414 0005E374 7F 80 2A 14 */ add r28, r0, r5 -/* 80061418 0005E378 93 83 10 EC */ stw r28, 0x10ec(r3) -/* 8006141C 0005E37C 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061420 0005E380 38 63 00 4C */ addi r3, r3, 0x4c -/* 80061424 0005E384 48 00 28 D9 */ bl sub_80063cfc -/* 80061428 0005E388 2C 1D 00 00 */ cmpwi r29, 0 -/* 8006142C 0005E38C 38 60 00 00 */ li r3, 0 -/* 80061430 0005E390 40 81 00 F4 */ ble lbl_80061524 -/* 80061434 0005E394 2C 1D 00 08 */ cmpwi r29, 8 -/* 80061438 0005E398 38 9D FF F8 */ addi r4, r29, -8 -/* 8006143C 0005E39C 40 81 00 C0 */ ble lbl_800614FC -/* 80061440 0005E3A0 38 04 00 07 */ addi r0, r4, 7 -/* 80061444 0005E3A4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80061448 0005E3A8 7C 09 03 A6 */ mtctr r0 -/* 8006144C 0005E3AC 2C 04 00 00 */ cmpwi r4, 0 -/* 80061450 0005E3B0 40 81 00 AC */ ble lbl_800614FC -lbl_80061454: -/* 80061454 0005E3B4 80 9A 00 4C */ lwz r4, 0x4c(r26) -/* 80061458 0005E3B8 3B 5A 00 54 */ addi r26, r26, 0x54 -/* 8006145C 0005E3BC 38 63 00 08 */ addi r3, r3, 8 -/* 80061460 0005E3C0 80 04 00 00 */ lwz r0, 0(r4) -/* 80061464 0005E3C4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80061468 0005E3C8 7F 5A 02 14 */ add r26, r26, r0 -/* 8006146C 0005E3CC 80 9A 00 4C */ lwz r4, 0x4c(r26) -/* 80061470 0005E3D0 3B 5A 00 54 */ addi r26, r26, 0x54 -/* 80061474 0005E3D4 80 04 00 00 */ lwz r0, 0(r4) -/* 80061478 0005E3D8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8006147C 0005E3DC 7F 5A 02 14 */ add r26, r26, r0 -/* 80061480 0005E3E0 80 9A 00 4C */ lwz r4, 0x4c(r26) -/* 80061484 0005E3E4 3B 5A 00 54 */ addi r26, r26, 0x54 -/* 80061488 0005E3E8 80 04 00 00 */ lwz r0, 0(r4) -/* 8006148C 0005E3EC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80061490 0005E3F0 7F 5A 02 14 */ add r26, r26, r0 -/* 80061494 0005E3F4 80 9A 00 4C */ lwz r4, 0x4c(r26) -/* 80061498 0005E3F8 3B 5A 00 54 */ addi r26, r26, 0x54 -/* 8006149C 0005E3FC 80 04 00 00 */ lwz r0, 0(r4) -/* 800614A0 0005E400 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800614A4 0005E404 7F 5A 02 14 */ add r26, r26, r0 -/* 800614A8 0005E408 80 9A 00 4C */ lwz r4, 0x4c(r26) -/* 800614AC 0005E40C 3B 5A 00 54 */ addi r26, r26, 0x54 -/* 800614B0 0005E410 80 04 00 00 */ lwz r0, 0(r4) -/* 800614B4 0005E414 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800614B8 0005E418 7F 5A 02 14 */ add r26, r26, r0 -/* 800614BC 0005E41C 80 9A 00 4C */ lwz r4, 0x4c(r26) -/* 800614C0 0005E420 3B 5A 00 54 */ addi r26, r26, 0x54 -/* 800614C4 0005E424 80 04 00 00 */ lwz r0, 0(r4) -/* 800614C8 0005E428 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800614CC 0005E42C 7F 5A 02 14 */ add r26, r26, r0 -/* 800614D0 0005E430 80 9A 00 4C */ lwz r4, 0x4c(r26) -/* 800614D4 0005E434 3B 5A 00 54 */ addi r26, r26, 0x54 -/* 800614D8 0005E438 80 04 00 00 */ lwz r0, 0(r4) -/* 800614DC 0005E43C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800614E0 0005E440 7F 5A 02 14 */ add r26, r26, r0 -/* 800614E4 0005E444 80 9A 00 4C */ lwz r4, 0x4c(r26) -/* 800614E8 0005E448 3B 5A 00 54 */ addi r26, r26, 0x54 -/* 800614EC 0005E44C 80 04 00 00 */ lwz r0, 0(r4) -/* 800614F0 0005E450 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800614F4 0005E454 7F 5A 02 14 */ add r26, r26, r0 -/* 800614F8 0005E458 42 00 FF 5C */ bdnz lbl_80061454 -lbl_800614FC: -/* 800614FC 0005E45C 7C 03 E8 50 */ subf r0, r3, r29 -/* 80061500 0005E460 7C 09 03 A6 */ mtctr r0 -/* 80061504 0005E464 7C 03 E8 00 */ cmpw r3, r29 -/* 80061508 0005E468 40 80 00 1C */ bge lbl_80061524 -lbl_8006150C: -/* 8006150C 0005E46C 80 7A 00 4C */ lwz r3, 0x4c(r26) -/* 80061510 0005E470 3B 5A 00 54 */ addi r26, r26, 0x54 -/* 80061514 0005E474 80 03 00 00 */ lwz r0, 0(r3) -/* 80061518 0005E478 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8006151C 0005E47C 7F 5A 02 14 */ add r26, r26, r0 -/* 80061520 0005E480 42 00 FF EC */ bdnz lbl_8006150C -lbl_80061524: -/* 80061524 0005E484 80 1F 01 1C */ lwz r0, 0x11c(r31) -/* 80061528 0005E488 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha -/* 8006152C 0005E48C 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l -/* 80061530 0005E490 2C 1E 00 0F */ cmpwi r30, 0xf -/* 80061534 0005E494 7C 00 D0 50 */ subf r0, r0, r26 -/* 80061538 0005E498 7C 03 00 96 */ mulhw r0, r3, r0 -/* 8006153C 0005E49C 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80061540 0005E4A0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80061544 0005E4A4 7F 60 1A 14 */ add r27, r0, r3 -/* 80061548 0005E4A8 41 80 00 78 */ blt lbl_800615C0 -/* 8006154C 0005E4AC 80 19 00 5C */ lwz r0, 0x5c(r25) -/* 80061550 0005E4B0 2C 00 FF FF */ cmpwi r0, -1 -/* 80061554 0005E4B4 41 82 00 6C */ beq lbl_800615C0 -/* 80061558 0005E4B8 80 DA 00 04 */ lwz r6, 4(r26) -/* 8006155C 0005E4BC 38 00 00 00 */ li r0, 0 -/* 80061560 0005E4C0 38 61 00 FC */ addi r3, r1, 0xfc -/* 80061564 0005E4C4 38 81 00 4C */ addi r4, r1, 0x4c -/* 80061568 0005E4C8 7C A6 00 D0 */ neg r5, r6 -/* 8006156C 0005E4CC 90 C1 00 50 */ stw r6, 0x50(r1) -/* 80061570 0005E4D0 7C A5 33 78 */ or r5, r5, r6 -/* 80061574 0005E4D4 54 A5 0F FE */ srwi r5, r5, 0x1f -/* 80061578 0005E4D8 98 A1 00 4C */ stb r5, 0x4c(r1) -/* 8006157C 0005E4DC 98 01 00 4C */ stb r0, 0x4c(r1) -/* 80061580 0005E4E0 48 24 D6 C9 */ bl sub_802aec48 -/* 80061584 0005E4E4 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061588 0005E4E8 38 81 00 FC */ addi r4, r1, 0xfc -/* 8006158C 0005E4EC 38 63 00 0C */ addi r3, r3, 0xc -/* 80061590 0005E4F0 48 00 0E 19 */ bl sub_800623a8 -/* 80061594 0005E4F4 88 01 00 FC */ lbz r0, 0xfc(r1) -/* 80061598 0005E4F8 28 00 00 00 */ cmplwi r0, 0 -/* 8006159C 0005E4FC 41 82 00 0C */ beq lbl_800615A8 -/* 800615A0 0005E500 80 61 01 00 */ lwz r3, 0x100(r1) -/* 800615A4 0005E504 48 2B 43 8D */ bl Free__7CMemoryFPCv -lbl_800615A8: -/* 800615A8 0005E508 88 01 00 4C */ lbz r0, 0x4c(r1) -/* 800615AC 0005E50C 3B 5A 00 0C */ addi r26, r26, 0xc -/* 800615B0 0005E510 28 00 00 00 */ cmplwi r0, 0 -/* 800615B4 0005E514 41 82 00 0C */ beq lbl_800615C0 -/* 800615B8 0005E518 80 61 00 50 */ lwz r3, 0x50(r1) -/* 800615BC 0005E51C 48 2B 43 75 */ bl Free__7CMemoryFPCv -lbl_800615C0: -/* 800615C0 0005E520 80 9A 00 04 */ lwz r4, 4(r26) -/* 800615C4 0005E524 38 01 00 44 */ addi r0, r1, 0x44 -/* 800615C8 0005E528 7C 64 00 D0 */ neg r3, r4 -/* 800615CC 0005E52C 90 81 00 48 */ stw r4, 0x48(r1) -/* 800615D0 0005E530 7C 63 23 78 */ or r3, r3, r4 -/* 800615D4 0005E534 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800615D8 0005E538 98 61 00 44 */ stb r3, 0x44(r1) -/* 800615DC 0005E53C 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 800615E0 0005E540 3B 23 10 C8 */ addi r25, r3, 0x10c8 -/* 800615E4 0005E544 7C 00 C8 40 */ cmplw r0, r25 -/* 800615E8 0005E548 41 82 00 30 */ beq lbl_80061618 -/* 800615EC 0005E54C 88 19 00 00 */ lbz r0, 0(r25) -/* 800615F0 0005E550 28 00 00 00 */ cmplwi r0, 0 -/* 800615F4 0005E554 41 82 00 0C */ beq lbl_80061600 -/* 800615F8 0005E558 80 79 00 04 */ lwz r3, 4(r25) -/* 800615FC 0005E55C 48 2B 43 35 */ bl Free__7CMemoryFPCv -lbl_80061600: -/* 80061600 0005E560 88 61 00 44 */ lbz r3, 0x44(r1) -/* 80061604 0005E564 38 00 00 00 */ li r0, 0 -/* 80061608 0005E568 98 79 00 00 */ stb r3, 0(r25) -/* 8006160C 0005E56C 80 61 00 48 */ lwz r3, 0x48(r1) -/* 80061610 0005E570 90 79 00 04 */ stw r3, 4(r25) -/* 80061614 0005E574 98 01 00 44 */ stb r0, 0x44(r1) -lbl_80061618: -/* 80061618 0005E578 88 01 00 44 */ lbz r0, 0x44(r1) -/* 8006161C 0005E57C 28 00 00 00 */ cmplwi r0, 0 -/* 80061620 0005E580 41 82 00 0C */ beq lbl_8006162C -/* 80061624 0005E584 80 61 00 48 */ lwz r3, 0x48(r1) -/* 80061628 0005E588 48 2B 43 09 */ bl Free__7CMemoryFPCv -lbl_8006162C: -/* 8006162C 0005E58C 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061630 0005E590 38 00 00 00 */ li r0, 0 -/* 80061634 0005E594 98 03 10 C8 */ stb r0, 0x10c8(r3) -/* 80061638 0005E598 80 1A 00 08 */ lwz r0, 8(r26) -/* 8006163C 0005E59C 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061640 0005E5A0 90 03 10 D0 */ stw r0, 0x10d0(r3) -/* 80061644 0005E5A4 80 7A 00 10 */ lwz r3, 0x10(r26) -/* 80061648 0005E5A8 38 63 00 01 */ addi r3, r3, 1 -/* 8006164C 0005E5AC 48 00 00 08 */ b lbl_80061654 -lbl_80061650: -/* 80061650 0005E5B0 38 63 00 01 */ addi r3, r3, 1 -lbl_80061654: -/* 80061654 0005E5B4 54 60 07 BF */ clrlwi. r0, r3, 0x1e -/* 80061658 0005E5B8 40 82 FF F8 */ bne lbl_80061650 -/* 8006165C 0005E5BC 83 A3 00 00 */ lwz r29, 0(r3) -/* 80061660 0005E5C0 38 00 00 00 */ li r0, 0 -/* 80061664 0005E5C4 38 63 00 04 */ addi r3, r3, 4 -/* 80061668 0005E5C8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8006166C 0005E5CC 90 01 00 20 */ stw r0, 0x20(r1) -/* 80061670 0005E5D0 7F A4 EB 78 */ mr r4, r29 -/* 80061674 0005E5D4 38 C1 00 08 */ addi r6, r1, 8 -/* 80061678 0005E5D8 98 01 00 08 */ stb r0, 8(r1) -/* 8006167C 0005E5DC 48 24 14 AD */ bl MakeFromMemory__12CAreaOctTreeFPvUiPP12CAreaOctTreePb -/* 80061680 0005E5E0 80 81 00 20 */ lwz r4, 0x20(r1) -/* 80061684 0005E5E4 38 01 00 3C */ addi r0, r1, 0x3c -/* 80061688 0005E5E8 7C 64 00 D0 */ neg r3, r4 -/* 8006168C 0005E5EC 90 81 00 40 */ stw r4, 0x40(r1) -/* 80061690 0005E5F0 7C 63 23 78 */ or r3, r3, r4 -/* 80061694 0005E5F4 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80061698 0005E5F8 98 61 00 3C */ stb r3, 0x3c(r1) -/* 8006169C 0005E5FC 83 3F 01 2C */ lwz r25, 0x12c(r31) -/* 800616A0 0005E600 7C 00 C8 40 */ cmplw r0, r25 -/* 800616A4 0005E604 41 82 00 30 */ beq lbl_800616D4 -/* 800616A8 0005E608 88 19 00 00 */ lbz r0, 0(r25) -/* 800616AC 0005E60C 28 00 00 00 */ cmplwi r0, 0 -/* 800616B0 0005E610 41 82 00 0C */ beq lbl_800616BC -/* 800616B4 0005E614 80 79 00 04 */ lwz r3, 4(r25) -/* 800616B8 0005E618 48 2B 42 79 */ bl Free__7CMemoryFPCv -lbl_800616BC: -/* 800616BC 0005E61C 88 61 00 3C */ lbz r3, 0x3c(r1) -/* 800616C0 0005E620 38 00 00 00 */ li r0, 0 -/* 800616C4 0005E624 98 79 00 00 */ stb r3, 0(r25) -/* 800616C8 0005E628 80 61 00 40 */ lwz r3, 0x40(r1) -/* 800616CC 0005E62C 90 79 00 04 */ stw r3, 4(r25) -/* 800616D0 0005E630 98 01 00 3C */ stb r0, 0x3c(r1) -lbl_800616D4: -/* 800616D4 0005E634 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 800616D8 0005E638 28 00 00 00 */ cmplwi r0, 0 -/* 800616DC 0005E63C 41 82 00 0C */ beq lbl_800616E8 -/* 800616E0 0005E640 80 61 00 40 */ lwz r3, 0x40(r1) -/* 800616E4 0005E644 48 2B 42 4D */ bl Free__7CMemoryFPCv -lbl_800616E8: -/* 800616E8 0005E648 88 01 00 08 */ lbz r0, 8(r1) -/* 800616EC 0005E64C 28 00 00 00 */ cmplwi r0, 0 -/* 800616F0 0005E650 40 82 00 10 */ bne lbl_80061700 -/* 800616F4 0005E654 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 800616F8 0005E658 38 00 00 00 */ li r0, 0 -/* 800616FC 0005E65C 98 03 00 00 */ stb r0, 0(r3) -lbl_80061700: -/* 80061700 0005E660 80 9F 01 2C */ lwz r4, 0x12c(r31) -/* 80061704 0005E664 38 61 01 C8 */ addi r3, r1, 0x1c8 -/* 80061708 0005E668 93 A4 00 08 */ stw r29, 8(r4) -/* 8006170C 0005E66C 80 9A 00 1C */ lwz r4, 0x1c(r26) -/* 80061710 0005E670 80 BA 00 20 */ lwz r5, 0x20(r26) -/* 80061714 0005E674 3B 5A 00 18 */ addi r26, r26, 0x18 -/* 80061718 0005E678 48 2D DA B5 */ bl __ct__15CMemoryInStreamFPCvUl -/* 8006171C 0005E67C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80061720 0005E680 38 60 00 01 */ li r3, 1 -/* 80061724 0005E684 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80061728 0005E688 38 A0 00 00 */ li r5, 0 -/* 8006172C 0005E68C 48 2B 41 41 */ bl __nw__FUlPCcPCc -/* 80061730 0005E690 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80061734 0005E694 41 82 00 14 */ beq lbl_80061748 -/* 80061738 0005E698 38 81 01 C8 */ addi r4, r1, 0x1c8 -/* 8006173C 0005E69C 38 BF 00 0C */ addi r5, r31, 0xc -/* 80061740 0005E6A0 48 24 11 E1 */ bl sub_802a2920 -/* 80061744 0005E6A4 7C 7D 1B 78 */ mr r29, r3 -lbl_80061748: -/* 80061748 0005E6A8 83 3F 01 2C */ lwz r25, 0x12c(r31) -/* 8006174C 0005E6AC 80 79 00 5C */ lwz r3, 0x5c(r25) -/* 80061750 0005E6B0 48 2B 41 E1 */ bl Free__7CMemoryFPCv -/* 80061754 0005E6B4 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha -/* 80061758 0005E6B8 93 B9 00 5C */ stw r29, 0x5c(r25) -/* 8006175C 0005E6BC 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l -/* 80061760 0005E6C0 38 61 01 C8 */ addi r3, r1, 0x1c8 -/* 80061764 0005E6C4 90 01 01 C8 */ stw r0, 0x1c8(r1) -/* 80061768 0005E6C8 38 80 00 00 */ li r4, 0 -/* 8006176C 0005E6CC 48 2D D9 41 */ bl __dt__12CInputStreamFv -/* 80061770 0005E6D0 2C 1E 00 06 */ cmpwi r30, 6 -/* 80061774 0005E6D4 40 81 01 9C */ ble lbl_80061910 -/* 80061778 0005E6D8 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8006177C 0005E6DC 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 80061780 0005E6E0 80 BA 00 14 */ lwz r5, 0x14(r26) -/* 80061784 0005E6E4 3B 5A 00 0C */ addi r26, r26, 0xc -/* 80061788 0005E6E8 48 2D DA 45 */ bl __ct__15CMemoryInStreamFPCvUl -/* 8006178C 0005E6EC 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 80061790 0005E6F0 48 2D D4 F5 */ bl ReadLong__12CInputStreamFv -/* 80061794 0005E6F4 3C 80 BA BF */ lis r4, 0xBABEDEAD@ha -/* 80061798 0005E6F8 38 04 DE AD */ addi r0, r4, 0xBABEDEAD@l -/* 8006179C 0005E6FC 7C 03 00 50 */ subf r0, r3, r0 -/* 800617A0 0005E700 7C 04 00 34 */ cntlzw r4, r0 -/* 800617A4 0005E704 54 80 DE 3F */ rlwinm. r0, r4, 0x1b, 0x18, 0x1f -/* 800617A8 0005E708 54 97 D9 7E */ srwi r23, r4, 5 -/* 800617AC 0005E70C 41 82 00 14 */ beq lbl_800617C0 -/* 800617B0 0005E710 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 800617B4 0005E714 48 2D D4 D1 */ bl ReadLong__12CInputStreamFv -/* 800617B8 0005E718 7C 79 1B 78 */ mr r25, r3 -/* 800617BC 0005E71C 48 00 00 08 */ b lbl_800617C4 -lbl_800617C0: -/* 800617C0 0005E720 7C 79 1B 78 */ mr r25, r3 -lbl_800617C4: -/* 800617C4 0005E724 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 800617C8 0005E728 7F 24 CB 78 */ mr r4, r25 -/* 800617CC 0005E72C 38 63 00 60 */ addi r3, r3, 0x60 -/* 800617D0 0005E730 48 00 27 AD */ bl sub_80063f7c -/* 800617D4 0005E734 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 800617D8 0005E738 7F 24 CB 78 */ mr r4, r25 -/* 800617DC 0005E73C 38 63 00 70 */ addi r3, r3, 0x70 -/* 800617E0 0005E740 4B FE EA 25 */ bl sub_80050204 -/* 800617E4 0005E744 3A C0 00 00 */ li r22, 0 -/* 800617E8 0005E748 3B 00 00 00 */ li r24, 0 -/* 800617EC 0005E74C 48 00 00 48 */ b lbl_80061834 -lbl_800617F0: -/* 800617F0 0005E750 83 BF 01 2C */ lwz r29, 0x12c(r31) -/* 800617F4 0005E754 38 61 02 D0 */ addi r3, r1, 0x2d0 -/* 800617F8 0005E758 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 800617FC 0005E75C 48 24 60 91 */ bl __ct__11CWorldLightFR12CInputStream -/* 80061800 0005E760 7C 64 1B 78 */ mr r4, r3 -/* 80061804 0005E764 38 7D 00 60 */ addi r3, r29, 0x60 -/* 80061808 0005E768 48 00 0A A1 */ bl sub_800622a8 -/* 8006180C 0005E76C 83 BF 01 2C */ lwz r29, 0x12c(r31) -/* 80061810 0005E770 38 61 02 80 */ addi r3, r1, 0x280 -/* 80061814 0005E774 80 1D 00 6C */ lwz r0, 0x6c(r29) -/* 80061818 0005E778 7C 80 C2 14 */ add r4, r0, r24 -/* 8006181C 0005E77C 48 24 5D E1 */ bl GetAsCGraphicsLight__11CWorldLightCFv -/* 80061820 0005E780 38 7D 00 70 */ addi r3, r29, 0x70 -/* 80061824 0005E784 38 81 02 80 */ addi r4, r1, 0x280 -/* 80061828 0005E788 4B FE 41 9D */ bl sub_800459c4 -/* 8006182C 0005E78C 3B 18 00 44 */ addi r24, r24, 0x44 -/* 80061830 0005E790 3A D6 00 01 */ addi r22, r22, 1 -lbl_80061834: -/* 80061834 0005E794 7C 16 C8 00 */ cmpw r22, r25 -/* 80061838 0005E798 41 80 FF B8 */ blt lbl_800617F0 -/* 8006183C 0005E79C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 80061840 0005E7A0 41 82 00 8C */ beq lbl_800618CC -/* 80061844 0005E7A4 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 80061848 0005E7A8 48 2D D4 3D */ bl ReadLong__12CInputStreamFv -/* 8006184C 0005E7AC 7C 79 1B 79 */ or. r25, r3, r3 -/* 80061850 0005E7B0 41 82 00 7C */ beq lbl_800618CC -/* 80061854 0005E7B4 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061858 0005E7B8 7F 24 CB 78 */ mr r4, r25 -/* 8006185C 0005E7BC 38 63 00 80 */ addi r3, r3, 0x80 -/* 80061860 0005E7C0 48 00 27 1D */ bl sub_80063f7c -/* 80061864 0005E7C4 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061868 0005E7C8 7F 24 CB 78 */ mr r4, r25 -/* 8006186C 0005E7CC 38 63 00 90 */ addi r3, r3, 0x90 -/* 80061870 0005E7D0 4B FE E9 95 */ bl sub_80050204 -/* 80061874 0005E7D4 3A C0 00 00 */ li r22, 0 -/* 80061878 0005E7D8 3B 00 00 00 */ li r24, 0 -/* 8006187C 0005E7DC 48 00 00 48 */ b lbl_800618C4 -lbl_80061880: -/* 80061880 0005E7E0 83 BF 01 2C */ lwz r29, 0x12c(r31) -/* 80061884 0005E7E4 38 61 02 3C */ addi r3, r1, 0x23c -/* 80061888 0005E7E8 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 8006188C 0005E7EC 48 24 60 01 */ bl __ct__11CWorldLightFR12CInputStream -/* 80061890 0005E7F0 7C 64 1B 78 */ mr r4, r3 -/* 80061894 0005E7F4 38 7D 00 80 */ addi r3, r29, 0x80 -/* 80061898 0005E7F8 48 00 0A 11 */ bl sub_800622a8 -/* 8006189C 0005E7FC 83 BF 01 2C */ lwz r29, 0x12c(r31) -/* 800618A0 0005E800 38 61 01 EC */ addi r3, r1, 0x1ec -/* 800618A4 0005E804 80 1D 00 8C */ lwz r0, 0x8c(r29) -/* 800618A8 0005E808 7C 80 C2 14 */ add r4, r0, r24 -/* 800618AC 0005E80C 48 24 5D 51 */ bl GetAsCGraphicsLight__11CWorldLightCFv -/* 800618B0 0005E810 38 7D 00 90 */ addi r3, r29, 0x90 -/* 800618B4 0005E814 38 81 01 EC */ addi r4, r1, 0x1ec -/* 800618B8 0005E818 4B FE 41 0D */ bl sub_800459c4 -/* 800618BC 0005E81C 3B 18 00 44 */ addi r24, r24, 0x44 -/* 800618C0 0005E820 3A D6 00 01 */ addi r22, r22, 1 -lbl_800618C4: -/* 800618C4 0005E824 7C 16 C8 00 */ cmpw r22, r25 -/* 800618C8 0005E828 41 80 FF B8 */ blt lbl_80061880 -lbl_800618CC: -/* 800618CC 0005E82C 80 9F 01 2C */ lwz r4, 0x12c(r31) -/* 800618D0 0005E830 80 04 00 84 */ lwz r0, 0x84(r4) -/* 800618D4 0005E834 2C 00 00 00 */ cmpwi r0, 0 -/* 800618D8 0005E838 40 82 00 20 */ bne lbl_800618F8 -/* 800618DC 0005E83C 38 64 00 80 */ addi r3, r4, 0x80 -/* 800618E0 0005E840 38 84 00 60 */ addi r4, r4, 0x60 -/* 800618E4 0005E844 48 00 08 45 */ bl sub_80062128 -/* 800618E8 0005E848 80 9F 01 2C */ lwz r4, 0x12c(r31) -/* 800618EC 0005E84C 38 64 00 90 */ addi r3, r4, 0x90 -/* 800618F0 0005E850 38 84 00 70 */ addi r4, r4, 0x70 -/* 800618F4 0005E854 4B FE 41 75 */ bl sub_80045a68 -lbl_800618F8: -/* 800618F8 0005E858 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 800618FC 0005E85C 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 80061900 0005E860 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80061904 0005E864 38 80 00 00 */ li r4, 0 -/* 80061908 0005E868 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 8006190C 0005E86C 48 2D D7 A1 */ bl __dt__12CInputStreamFv -lbl_80061910: -/* 80061910 0005E870 2C 1E 00 07 */ cmpwi r30, 7 -/* 80061914 0005E874 40 81 01 44 */ ble lbl_80061A58 -/* 80061918 0005E878 82 DA 00 14 */ lwz r22, 0x14(r26) -/* 8006191C 0005E87C 3B 5A 00 0C */ addi r26, r26, 0xc -/* 80061920 0005E880 2C 16 00 40 */ cmpwi r22, 0x40 -/* 80061924 0005E884 40 81 01 34 */ ble lbl_80061A58 -/* 80061928 0005E888 82 FA 00 04 */ lwz r23, 4(r26) -/* 8006192C 0005E88C 7E C5 B3 78 */ mr r5, r22 -/* 80061930 0005E890 38 61 01 80 */ addi r3, r1, 0x180 -/* 80061934 0005E894 7E E4 BB 78 */ mr r4, r23 -/* 80061938 0005E898 48 2D D8 95 */ bl __ct__15CMemoryInStreamFPCvUl -/* 8006193C 0005E89C 38 61 01 80 */ addi r3, r1, 0x180 -/* 80061940 0005E8A0 48 2D D3 45 */ bl ReadLong__12CInputStreamFv -/* 80061944 0005E8A4 3C 03 A9 B7 */ addis r0, r3, 0xa9b7 -/* 80061948 0005E8A8 28 00 53 49 */ cmplwi r0, 0x5349 -/* 8006194C 0005E8AC 40 82 00 F4 */ bne lbl_80061A40 -/* 80061950 0005E8B0 38 61 01 80 */ addi r3, r1, 0x180 -/* 80061954 0005E8B4 48 2D D3 31 */ bl ReadLong__12CInputStreamFv -/* 80061958 0005E8B8 80 9F 01 2C */ lwz r4, 0x12c(r31) -/* 8006195C 0005E8BC 90 64 10 A8 */ stw r3, 0x10a8(r4) -/* 80061960 0005E8C0 83 1F 01 2C */ lwz r24, 0x12c(r31) -/* 80061964 0005E8C4 80 18 10 A8 */ lwz r0, 0x10a8(r24) -/* 80061968 0005E8C8 2C 00 00 02 */ cmpwi r0, 2 -/* 8006196C 0005E8CC 40 82 00 D4 */ bne lbl_80061A40 -/* 80061970 0005E8D0 38 61 01 80 */ addi r3, r1, 0x180 -/* 80061974 0005E8D4 48 2D D3 69 */ bl ReadBool__12CInputStreamFv -/* 80061978 0005E8D8 88 18 11 08 */ lbz r0, 0x1108(r24) -/* 8006197C 0005E8DC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80061980 0005E8E0 38 61 01 80 */ addi r3, r1, 0x180 -/* 80061984 0005E8E4 98 18 11 08 */ stb r0, 0x1108(r24) -/* 80061988 0005E8E8 83 3F 01 2C */ lwz r25, 0x12c(r31) -/* 8006198C 0005E8EC 48 2D D3 51 */ bl ReadBool__12CInputStreamFv -/* 80061990 0005E8F0 88 19 11 08 */ lbz r0, 0x1108(r25) -/* 80061994 0005E8F4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80061998 0005E8F8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8006199C 0005E8FC 98 19 11 08 */ stb r0, 0x1108(r25) -/* 800619A0 0005E900 80 01 01 98 */ lwz r0, 0x198(r1) -/* 800619A4 0005E904 7C 97 02 14 */ add r4, r23, r0 -/* 800619A8 0005E908 7C A0 B0 50 */ subf r5, r0, r22 -/* 800619AC 0005E90C 48 24 CA E1 */ bl __ct__11CPVSAreaSetFPCci -/* 800619B0 0005E910 38 00 00 00 */ li r0, 0 -/* 800619B4 0005E914 83 01 00 38 */ lwz r24, 0x38(r1) -/* 800619B8 0005E918 98 01 00 34 */ stb r0, 0x34(r1) -/* 800619BC 0005E91C 83 3F 01 2C */ lwz r25, 0x12c(r31) -/* 800619C0 0005E920 83 B9 00 A0 */ lwz r29, 0xa0(r25) -/* 800619C4 0005E924 28 1D 00 00 */ cmplwi r29, 0 -/* 800619C8 0005E928 41 82 00 30 */ beq lbl_800619F8 -/* 800619CC 0005E92C 34 1D 00 20 */ addic. r0, r29, 0x20 -/* 800619D0 0005E930 41 82 00 20 */ beq lbl_800619F0 -/* 800619D4 0005E934 34 1D 00 40 */ addic. r0, r29, 0x40 -/* 800619D8 0005E938 41 82 00 18 */ beq lbl_800619F0 -/* 800619DC 0005E93C 88 1D 00 40 */ lbz r0, 0x40(r29) -/* 800619E0 0005E940 28 00 00 00 */ cmplwi r0, 0 -/* 800619E4 0005E944 41 82 00 0C */ beq lbl_800619F0 -/* 800619E8 0005E948 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 800619EC 0005E94C 48 2B 3F 45 */ bl Free__7CMemoryFPCv -lbl_800619F0: -/* 800619F0 0005E950 7F A3 EB 78 */ mr r3, r29 -/* 800619F4 0005E954 48 2B 3F 3D */ bl Free__7CMemoryFPCv -lbl_800619F8: -/* 800619F8 0005E958 93 19 00 A0 */ stw r24, 0xa0(r25) -/* 800619FC 0005E95C 88 01 00 34 */ lbz r0, 0x34(r1) -/* 80061A00 0005E960 28 00 00 00 */ cmplwi r0, 0 -/* 80061A04 0005E964 41 82 00 3C */ beq lbl_80061A40 -/* 80061A08 0005E968 83 21 00 38 */ lwz r25, 0x38(r1) -/* 80061A0C 0005E96C 28 19 00 00 */ cmplwi r25, 0 -/* 80061A10 0005E970 41 82 00 30 */ beq lbl_80061A40 -/* 80061A14 0005E974 34 19 00 20 */ addic. r0, r25, 0x20 -/* 80061A18 0005E978 41 82 00 20 */ beq lbl_80061A38 -/* 80061A1C 0005E97C 34 19 00 40 */ addic. r0, r25, 0x40 -/* 80061A20 0005E980 41 82 00 18 */ beq lbl_80061A38 -/* 80061A24 0005E984 88 19 00 40 */ lbz r0, 0x40(r25) -/* 80061A28 0005E988 28 00 00 00 */ cmplwi r0, 0 -/* 80061A2C 0005E98C 41 82 00 0C */ beq lbl_80061A38 -/* 80061A30 0005E990 80 79 00 44 */ lwz r3, 0x44(r25) -/* 80061A34 0005E994 48 2B 3E FD */ bl Free__7CMemoryFPCv -lbl_80061A38: -/* 80061A38 0005E998 7F 23 CB 78 */ mr r3, r25 -/* 80061A3C 0005E99C 48 2B 3E F5 */ bl Free__7CMemoryFPCv -lbl_80061A40: -/* 80061A40 0005E9A0 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 80061A44 0005E9A4 38 61 01 80 */ addi r3, r1, 0x180 -/* 80061A48 0005E9A8 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80061A4C 0005E9AC 38 80 00 00 */ li r4, 0 -/* 80061A50 0005E9B0 90 01 01 80 */ stw r0, 0x180(r1) -/* 80061A54 0005E9B4 48 2D D6 59 */ bl __dt__12CInputStreamFv -lbl_80061A58: -/* 80061A58 0005E9B8 2C 1E 00 09 */ cmpwi r30, 9 -/* 80061A5C 0005E9BC 40 81 01 20 */ ble lbl_80061B7C -/* 80061A60 0005E9C0 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 80061A64 0005E9C4 38 61 01 5C */ addi r3, r1, 0x15c -/* 80061A68 0005E9C8 80 BA 00 14 */ lwz r5, 0x14(r26) -/* 80061A6C 0005E9CC 48 2D D7 61 */ bl __ct__15CMemoryInStreamFPCvUl -/* 80061A70 0005E9D0 38 61 01 5C */ addi r3, r1, 0x15c -/* 80061A74 0005E9D4 48 2D D2 11 */ bl ReadLong__12CInputStreamFv -/* 80061A78 0005E9D8 3C 03 00 01 */ addis r0, r3, 1 -/* 80061A7C 0005E9DC 28 00 FF FF */ cmplwi r0, 0xffff -/* 80061A80 0005E9E0 41 82 00 E4 */ beq lbl_80061B64 -/* 80061A84 0005E9E4 3C 80 50 41 */ lis r4, 0x50415448@ha -/* 80061A88 0005E9E8 90 61 00 30 */ stw r3, 0x30(r1) -/* 80061A8C 0005E9EC 38 04 54 48 */ addi r0, r4, 0x50415448@l -/* 80061A90 0005E9F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80061A94 0005E9F4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80061A98 0005E9F8 38 61 00 24 */ addi r3, r1, 0x24 -/* 80061A9C 0005E9FC 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80061AA0 0005EA00 81 84 00 00 */ lwz r12, 0(r4) -/* 80061AA4 0005EA04 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80061AA8 0005EA08 7D 89 03 A6 */ mtctr r12 -/* 80061AAC 0005EA0C 4E 80 04 21 */ bctrl -/* 80061AB0 0005EA10 3A C1 00 54 */ addi r22, r1, 0x54 -/* 80061AB4 0005EA14 38 81 00 24 */ addi r4, r1, 0x24 -/* 80061AB8 0005EA18 7E C3 B3 78 */ mr r3, r22 -/* 80061ABC 0005EA1C 48 2D F3 ED */ bl __ct__6CTokenFRC6CToken -/* 80061AC0 0005EA20 7E C3 B3 78 */ mr r3, r22 -/* 80061AC4 0005EA24 48 2D F3 49 */ bl GetObj__6CTokenFv -/* 80061AC8 0005EA28 80 03 00 04 */ lwz r0, 4(r3) -/* 80061ACC 0005EA2C 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80061AD0 0005EA30 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061AD4 0005EA34 3B 23 10 AC */ addi r25, r3, 0x10ac -/* 80061AD8 0005EA38 88 03 10 B8 */ lbz r0, 0x10b8(r3) -/* 80061ADC 0005EA3C 28 00 00 00 */ cmplwi r0, 0 -/* 80061AE0 0005EA40 40 82 00 38 */ bne lbl_80061B18 -/* 80061AE4 0005EA44 28 19 00 00 */ cmplwi r25, 0 -/* 80061AE8 0005EA48 41 82 00 24 */ beq lbl_80061B0C -/* 80061AEC 0005EA4C 7F 36 CB 78 */ mr r22, r25 -/* 80061AF0 0005EA50 7F 23 CB 78 */ mr r3, r25 -/* 80061AF4 0005EA54 38 81 00 54 */ addi r4, r1, 0x54 -/* 80061AF8 0005EA58 48 2D F3 B1 */ bl __ct__6CTokenFRC6CToken -/* 80061AFC 0005EA5C 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80061B00 0005EA60 7E C3 B3 78 */ mr r3, r22 -/* 80061B04 0005EA64 90 16 00 08 */ stw r0, 8(r22) -/* 80061B08 0005EA68 48 2D F2 7D */ bl Lock__6CTokenFv -lbl_80061B0C: -/* 80061B0C 0005EA6C 38 00 00 01 */ li r0, 1 -/* 80061B10 0005EA70 98 19 00 0C */ stb r0, 0xc(r25) -/* 80061B14 0005EA74 48 00 00 18 */ b lbl_80061B2C -lbl_80061B18: -/* 80061B18 0005EA78 7F 23 CB 78 */ mr r3, r25 -/* 80061B1C 0005EA7C 7E C4 B3 78 */ mr r4, r22 -/* 80061B20 0005EA80 48 2D F1 A5 */ bl __as__6CTokenFRC6CToken -/* 80061B24 0005EA84 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80061B28 0005EA88 90 19 00 08 */ stw r0, 8(r25) -lbl_80061B2C: -/* 80061B2C 0005EA8C 38 61 00 54 */ addi r3, r1, 0x54 -/* 80061B30 0005EA90 38 80 00 00 */ li r4, 0 -/* 80061B34 0005EA94 48 2D F3 0D */ bl __dt__6CTokenFv -/* 80061B38 0005EA98 38 61 00 24 */ addi r3, r1, 0x24 -/* 80061B3C 0005EA9C 38 80 FF FF */ li r4, -1 -/* 80061B40 0005EAA0 48 2D F3 01 */ bl __dt__6CTokenFv -/* 80061B44 0005EAA4 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061B48 0005EAA8 38 9F 00 0C */ addi r4, r31, 0xc -/* 80061B4C 0005EAAC 80 03 10 B4 */ lwz r0, 0x10b4(r3) -/* 80061B50 0005EAB0 90 03 10 BC */ stw r0, 0x10bc(r3) -/* 80061B54 0005EAB4 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061B58 0005EAB8 80 63 10 BC */ lwz r3, 0x10bc(r3) -/* 80061B5C 0005EABC 38 63 01 88 */ addi r3, r3, 0x188 -/* 80061B60 0005EAC0 48 2B 0F E1 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_80061B64: -/* 80061B64 0005EAC4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 80061B68 0005EAC8 38 61 01 5C */ addi r3, r1, 0x15c -/* 80061B6C 0005EACC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80061B70 0005EAD0 38 80 00 00 */ li r4, 0 -/* 80061B74 0005EAD4 90 01 01 5C */ stw r0, 0x15c(r1) -/* 80061B78 0005EAD8 48 2D D5 35 */ bl __dt__12CInputStreamFv -lbl_80061B7C: -/* 80061B7C 0005EADC 80 7F 01 14 */ lwz r3, 0x114(r31) -/* 80061B80 0005EAE0 7F 99 E3 78 */ mr r25, r28 -/* 80061B84 0005EAE4 1C 9C 00 0C */ mulli r4, r28, 0xc -/* 80061B88 0005EAE8 7C 1C 18 50 */ subf r0, r28, r3 -/* 80061B8C 0005EAEC 7C 09 03 A6 */ mtctr r0 -/* 80061B90 0005EAF0 7C 1C 18 00 */ cmpw r28, r3 -/* 80061B94 0005EAF4 40 80 00 20 */ bge lbl_80061BB4 -lbl_80061B98: -/* 80061B98 0005EAF8 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 80061B9C 0005EAFC 7C 03 20 AE */ lbzx r0, r3, r4 -/* 80061BA0 0005EB00 28 00 00 00 */ cmplwi r0, 0 -/* 80061BA4 0005EB04 40 82 00 10 */ bne lbl_80061BB4 -/* 80061BA8 0005EB08 38 84 00 0C */ addi r4, r4, 0xc -/* 80061BAC 0005EB0C 3B 39 00 01 */ addi r25, r25, 1 -/* 80061BB0 0005EB10 42 00 FF E8 */ bdnz lbl_80061B98 -lbl_80061BB4: -/* 80061BB4 0005EB14 7C 19 D8 50 */ subf r0, r25, r27 -/* 80061BB8 0005EB18 7F 7A DB 78 */ mr r26, r27 -/* 80061BBC 0005EB1C 1C 9B 00 0C */ mulli r4, r27, 0xc -/* 80061BC0 0005EB20 7C 09 03 A6 */ mtctr r0 -/* 80061BC4 0005EB24 7C 1B C8 00 */ cmpw r27, r25 -/* 80061BC8 0005EB28 40 81 00 20 */ ble lbl_80061BE8 -lbl_80061BCC: -/* 80061BCC 0005EB2C 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 80061BD0 0005EB30 7C 03 20 AE */ lbzx r0, r3, r4 -/* 80061BD4 0005EB34 28 00 00 00 */ cmplwi r0, 0 -/* 80061BD8 0005EB38 40 82 00 10 */ bne lbl_80061BE8 -/* 80061BDC 0005EB3C 38 84 FF F4 */ addi r4, r4, -12 -/* 80061BE0 0005EB40 3B 5A FF FF */ addi r26, r26, -1 -/* 80061BE4 0005EB44 42 00 FF E8 */ bdnz lbl_80061BCC -lbl_80061BE8: -/* 80061BE8 0005EB48 7C 19 D0 00 */ cmpw r25, r26 -/* 80061BEC 0005EB4C 40 80 02 00 */ bge lbl_80061DEC -/* 80061BF0 0005EB50 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061BF4 0005EB54 1C B9 00 0C */ mulli r5, r25, 0xc -/* 80061BF8 0005EB58 7C 19 D0 50 */ subf r0, r25, r26 -/* 80061BFC 0005EB5C 93 23 10 E8 */ stw r25, 0x10e8(r3) -/* 80061C00 0005EB60 38 80 00 00 */ li r4, 0 -/* 80061C04 0005EB64 7C 09 03 A6 */ mtctr r0 -/* 80061C08 0005EB68 40 80 00 20 */ bge lbl_80061C28 -lbl_80061C0C: -/* 80061C0C 0005EB6C 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 80061C10 0005EB70 7C 03 28 AE */ lbzx r0, r3, r5 -/* 80061C14 0005EB74 28 00 00 00 */ cmplwi r0, 0 -/* 80061C18 0005EB78 41 82 00 08 */ beq lbl_80061C20 -/* 80061C1C 0005EB7C 38 84 00 01 */ addi r4, r4, 1 -lbl_80061C20: -/* 80061C20 0005EB80 38 A5 00 0C */ addi r5, r5, 0xc -/* 80061C24 0005EB84 42 00 FF E8 */ bdnz lbl_80061C0C -lbl_80061C28: -/* 80061C28 0005EB88 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061C2C 0005EB8C 38 63 10 F0 */ addi r3, r3, 0x10f0 -/* 80061C30 0005EB90 48 00 24 DD */ bl sub_8006410c -/* 80061C34 0005EB94 1F 99 00 0C */ mulli r28, r25, 0xc -/* 80061C38 0005EB98 48 00 01 74 */ b lbl_80061DAC -lbl_80061C3C: -/* 80061C3C 0005EB9C 80 DF 01 1C */ lwz r6, 0x11c(r31) -/* 80061C40 0005EBA0 7F 36 CB 78 */ mr r22, r25 -/* 80061C44 0005EBA4 3B 39 00 01 */ addi r25, r25, 1 -/* 80061C48 0005EBA8 7C 66 E2 14 */ add r3, r6, r28 -/* 80061C4C 0005EBAC 3B 9C 00 0C */ addi r28, r28, 0xc -/* 80061C50 0005EBB0 1C 99 00 0C */ mulli r4, r25, 0xc -/* 80061C54 0005EBB4 83 63 00 08 */ lwz r27, 8(r3) -/* 80061C58 0005EBB8 48 00 00 18 */ b lbl_80061C70 -lbl_80061C5C: -/* 80061C5C 0005EBBC 80 03 00 08 */ lwz r0, 8(r3) -/* 80061C60 0005EBC0 38 84 00 0C */ addi r4, r4, 0xc -/* 80061C64 0005EBC4 3B 39 00 01 */ addi r25, r25, 1 -/* 80061C68 0005EBC8 3B 9C 00 0C */ addi r28, r28, 0xc -/* 80061C6C 0005EBCC 7F 7B 02 14 */ add r27, r27, r0 -lbl_80061C70: -/* 80061C70 0005EBD0 7C 19 D0 00 */ cmpw r25, r26 -/* 80061C74 0005EBD4 40 80 00 14 */ bge lbl_80061C88 -/* 80061C78 0005EBD8 7C 66 22 14 */ add r3, r6, r4 -/* 80061C7C 0005EBDC 88 03 00 00 */ lbz r0, 0(r3) -/* 80061C80 0005EBE0 28 00 00 00 */ cmplwi r0, 0 -/* 80061C84 0005EBE4 41 82 FF D8 */ beq lbl_80061C5C -lbl_80061C88: -/* 80061C88 0005EBE8 1C 96 00 0C */ mulli r4, r22, 0xc -/* 80061C8C 0005EBEC 38 00 00 00 */ li r0, 0 -/* 80061C90 0005EBF0 7F 65 DB 78 */ mr r5, r27 -/* 80061C94 0005EBF4 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80061C98 0005EBF8 7C 86 22 14 */ add r4, r6, r4 -/* 80061C9C 0005EBFC 38 C0 00 01 */ li r6, 1 -/* 80061CA0 0005EC00 98 04 00 00 */ stb r0, 0(r4) -/* 80061CA4 0005EC04 80 84 00 04 */ lwz r4, 4(r4) -/* 80061CA8 0005EC08 48 2F 6D A5 */ bl __ct__10CARAMTokenFPvUi -/* 80061CAC 0005EC0C 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 80061CB0 0005EC10 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80061CB4 0005EC14 48 2F 6D 19 */ bl __ct__10CARAMTokenFRC10CARAMToken -/* 80061CB8 0005EC18 7C 16 C8 50 */ subf r0, r22, r25 -/* 80061CBC 0005EC1C 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 80061CC0 0005EC20 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061CC4 0005EC24 3B A3 10 F0 */ addi r29, r3, 0x10f0 -/* 80061CC8 0005EC28 80 03 10 F4 */ lwz r0, 0x10f4(r3) -/* 80061CCC 0005EC2C 80 A3 10 F8 */ lwz r5, 0x10f8(r3) -/* 80061CD0 0005EC30 7C 00 28 00 */ cmpw r0, r5 -/* 80061CD4 0005EC34 41 80 00 1C */ blt lbl_80061CF0 -/* 80061CD8 0005EC38 2C 05 00 00 */ cmpwi r5, 0 -/* 80061CDC 0005EC3C 7F A3 EB 78 */ mr r3, r29 -/* 80061CE0 0005EC40 38 80 00 04 */ li r4, 4 -/* 80061CE4 0005EC44 41 82 00 08 */ beq lbl_80061CEC -/* 80061CE8 0005EC48 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80061CEC: -/* 80061CEC 0005EC4C 48 00 24 21 */ bl sub_8006410c -lbl_80061CF0: -/* 80061CF0 0005EC50 80 1D 00 04 */ lwz r0, 4(r29) -/* 80061CF4 0005EC54 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80061CF8 0005EC58 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80061CFC 0005EC5C 7F C3 02 15 */ add. r30, r3, r0 -/* 80061D00 0005EC60 41 82 00 18 */ beq lbl_80061D18 -/* 80061D04 0005EC64 7F C3 F3 78 */ mr r3, r30 -/* 80061D08 0005EC68 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 80061D0C 0005EC6C 48 2F 6C C1 */ bl __ct__10CARAMTokenFRC10CARAMToken -/* 80061D10 0005EC70 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 80061D14 0005EC74 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_80061D18: -/* 80061D18 0005EC78 80 BD 00 04 */ lwz r5, 4(r29) -/* 80061D1C 0005EC7C 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 80061D20 0005EC80 38 80 FF FF */ li r4, -1 -/* 80061D24 0005EC84 38 05 00 01 */ addi r0, r5, 1 -/* 80061D28 0005EC88 90 1D 00 04 */ stw r0, 4(r29) -/* 80061D2C 0005EC8C 48 2F 6C 19 */ bl __dt__10CARAMTokenFv -/* 80061D30 0005EC90 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80061D34 0005EC94 38 80 FF FF */ li r4, -1 -/* 80061D38 0005EC98 48 2F 6C 0D */ bl __dt__10CARAMTokenFv -/* 80061D3C 0005EC9C 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061D40 0005ECA0 80 03 11 04 */ lwz r0, 0x1104(r3) -/* 80061D44 0005ECA4 7C 00 DA 14 */ add r0, r0, r27 -/* 80061D48 0005ECA8 90 03 11 04 */ stw r0, 0x1104(r3) -/* 80061D4C 0005ECAC 88 1F 00 F0 */ lbz r0, 0xf0(r31) -/* 80061D50 0005ECB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80061D54 0005ECB4 41 82 00 10 */ beq lbl_80061D64 -/* 80061D58 0005ECB8 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061D5C 0005ECBC 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 80061D60 0005ECC0 48 00 00 08 */ b lbl_80061D68 -lbl_80061D64: -/* 80061D64 0005ECC4 38 00 00 00 */ li r0, 0 -lbl_80061D68: -/* 80061D68 0005ECC8 2C 00 00 00 */ cmpwi r0, 0 -/* 80061D6C 0005ECCC 40 82 00 40 */ bne lbl_80061DAC -/* 80061D70 0005ECD0 80 9F 01 2C */ lwz r4, 0x12c(r31) -/* 80061D74 0005ECD4 80 64 10 F4 */ lwz r3, 0x10f4(r4) -/* 80061D78 0005ECD8 80 84 10 FC */ lwz r4, 0x10fc(r4) -/* 80061D7C 0005ECDC 38 03 FF FF */ addi r0, r3, -1 -/* 80061D80 0005ECE0 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80061D84 0005ECE4 7F 04 02 14 */ add r24, r4, r0 -/* 80061D88 0005ECE8 7F 03 C3 78 */ mr r3, r24 -/* 80061D8C 0005ECEC 48 2F 68 ED */ bl LoadToARAM__10CARAMTokenFv -/* 80061D90 0005ECF0 80 18 00 00 */ lwz r0, 0(r24) -/* 80061D94 0005ECF4 2C 00 00 01 */ cmpwi r0, 1 -/* 80061D98 0005ECF8 41 82 00 14 */ beq lbl_80061DAC -/* 80061D9C 0005ECFC 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061DA0 0005ED00 80 03 11 00 */ lwz r0, 0x1100(r3) -/* 80061DA4 0005ED04 7C 00 DA 14 */ add r0, r0, r27 -/* 80061DA8 0005ED08 90 03 11 00 */ stw r0, 0x1100(r3) -lbl_80061DAC: -/* 80061DAC 0005ED0C 7C 19 D0 00 */ cmpw r25, r26 -/* 80061DB0 0005ED10 41 80 FE 8C */ blt lbl_80061C3C -/* 80061DB4 0005ED14 88 1F 00 F0 */ lbz r0, 0xf0(r31) -/* 80061DB8 0005ED18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80061DBC 0005ED1C 41 82 00 10 */ beq lbl_80061DCC -/* 80061DC0 0005ED20 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061DC4 0005ED24 80 83 10 DC */ lwz r4, 0x10dc(r3) -/* 80061DC8 0005ED28 48 00 00 08 */ b lbl_80061DD0 -lbl_80061DCC: -/* 80061DCC 0005ED2C 38 80 00 00 */ li r4, 0 -lbl_80061DD0: -/* 80061DD0 0005ED30 7C 04 00 D0 */ neg r0, r4 -/* 80061DD4 0005ED34 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061DD8 0005ED38 7C 00 23 78 */ or r0, r0, r4 -/* 80061DDC 0005ED3C 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80061DE0 0005ED40 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 80061DE4 0005ED44 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80061DE8 0005ED48 98 03 11 08 */ stb r0, 0x1108(r3) -lbl_80061DEC: -/* 80061DEC 0005ED4C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80061DF0 0005ED50 38 60 20 10 */ li r3, 0x2010 -/* 80061DF4 0005ED54 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80061DF8 0005ED58 38 A0 00 00 */ li r5, 0 -/* 80061DFC 0005ED5C 48 2B 3A 71 */ bl __nw__FUlPCcPCc -/* 80061E00 0005ED60 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80061E04 0005ED64 41 82 00 28 */ beq lbl_80061E2C -/* 80061E08 0005ED68 80 1F 00 04 */ lwz r0, 4(r31) -/* 80061E0C 0005ED6C 38 80 FF FF */ li r4, -1 -/* 80061E10 0005ED70 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80061E14 0005ED74 4B FA E2 25 */ bl __ct__11CObjectListF15EGameObjectList -/* 80061E18 0005ED78 3C 60 80 3E */ lis r3, lbl_803DA260@ha -/* 80061E1C 0005ED7C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80061E20 0005ED80 38 63 A2 60 */ addi r3, r3, lbl_803DA260@l -/* 80061E24 0005ED84 90 7A 00 00 */ stw r3, 0(r26) -/* 80061E28 0005ED88 90 1A 20 0C */ stw r0, 0x200c(r26) -lbl_80061E2C: -/* 80061E2C 0005ED8C 83 3F 01 2C */ lwz r25, 0x12c(r31) -/* 80061E30 0005ED90 80 79 10 C0 */ lwz r3, 0x10c0(r25) -/* 80061E34 0005ED94 48 2B 3A FD */ bl Free__7CMemoryFPCv -/* 80061E38 0005ED98 3C 60 80 3D */ lis r3, lbl_803CCFAC@ha -/* 80061E3C 0005ED9C 93 59 10 C0 */ stw r26, 0x10c0(r25) -/* 80061E40 0005EDA0 38 83 CF AC */ addi r4, r3, lbl_803CCFAC@l -/* 80061E44 0005EDA4 38 A0 00 00 */ li r5, 0 -/* 80061E48 0005EDA8 38 60 00 38 */ li r3, 0x38 -/* 80061E4C 0005EDAC 48 2B 3A 21 */ bl __nw__FUlPCcPCc -/* 80061E50 0005EDB0 7C 78 1B 79 */ or. r24, r3, r3 -/* 80061E54 0005EDB4 41 82 00 0C */ beq lbl_80061E60 -/* 80061E58 0005EDB8 4B FF D3 4D */ bl __ct__Q29CGameArea8CAreaFogFv -/* 80061E5C 0005EDBC 7C 78 1B 78 */ mr r24, r3 -lbl_80061E60: -/* 80061E60 0005EDC0 83 3F 01 2C */ lwz r25, 0x12c(r31) -/* 80061E64 0005EDC4 80 79 10 C4 */ lwz r3, 0x10c4(r25) -/* 80061E68 0005EDC8 48 2B 3A C9 */ bl Free__7CMemoryFPCv -/* 80061E6C 0005EDCC 93 19 10 C4 */ stw r24, 0x10c4(r25) -/* 80061E70 0005EDD0 38 80 00 01 */ li r4, 1 -/* 80061E74 0005EDD4 7F E3 FB 78 */ mr r3, r31 -/* 80061E78 0005EDD8 88 1F 00 F0 */ lbz r0, 0xf0(r31) -/* 80061E7C 0005EDDC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80061E80 0005EDE0 98 1F 00 F0 */ stb r0, 0xf0(r31) -/* 80061E84 0005EDE4 48 00 1B 61 */ bl GetPostConstructedSize__9CGameAreaCFv -/* 80061E88 0005EDE8 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) -/* 80061E8C 0005EDEC 7C 00 1A 14 */ add r0, r0, r3 -/* 80061E90 0005EDF0 38 61 01 38 */ addi r3, r1, 0x138 -/* 80061E94 0005EDF4 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) -/* 80061E98 0005EDF8 88 1F 00 F0 */ lbz r0, 0xf0(r31) -/* 80061E9C 0005EDFC 80 BF 01 2C */ lwz r5, 0x12c(r31) -/* 80061EA0 0005EE00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80061EA4 0005EE04 80 85 10 CC */ lwz r4, 0x10cc(r5) -/* 80061EA8 0005EE08 41 82 00 0C */ beq lbl_80061EB4 -/* 80061EAC 0005EE0C 80 A5 10 D0 */ lwz r5, 0x10d0(r5) -/* 80061EB0 0005EE10 48 00 00 08 */ b lbl_80061EB8 -lbl_80061EB4: -/* 80061EB4 0005EE14 38 A0 00 00 */ li r5, 0 -lbl_80061EB8: -/* 80061EB8 0005EE18 48 2D D3 15 */ bl __ct__15CMemoryInStreamFPCvUl -/* 80061EBC 0005EE1C 38 61 01 38 */ addi r3, r1, 0x138 -/* 80061EC0 0005EE20 48 2D CD C5 */ bl ReadLong__12CInputStreamFv -/* 80061EC4 0005EE24 3C 03 AC BD */ addis r0, r3, 0xacbd -/* 80061EC8 0005EE28 28 00 4C 59 */ cmplwi r0, 0x4c59 -/* 80061ECC 0005EE2C 40 82 01 A8 */ bne lbl_80062074 -/* 80061ED0 0005EE30 38 61 01 38 */ addi r3, r1, 0x138 -/* 80061ED4 0005EE34 48 2D CD B1 */ bl ReadLong__12CInputStreamFv -/* 80061ED8 0005EE38 38 61 01 38 */ addi r3, r1, 0x138 -/* 80061EDC 0005EE3C 48 2D CD A9 */ bl ReadLong__12CInputStreamFv -/* 80061EE0 0005EE40 38 00 00 00 */ li r0, 0 -/* 80061EE4 0005EE44 7C 7B 1B 78 */ mr r27, r3 -/* 80061EE8 0005EE48 90 01 00 94 */ stw r0, 0x94(r1) -/* 80061EEC 0005EE4C 38 61 00 90 */ addi r3, r1, 0x90 -/* 80061EF0 0005EE50 7F 64 DB 78 */ mr r4, r27 -/* 80061EF4 0005EE54 90 01 00 98 */ stw r0, 0x98(r1) -/* 80061EF8 0005EE58 90 01 00 9C */ stw r0, 0x9c(r1) -/* 80061EFC 0005EE5C 4B FF 7D AD */ bl "reserve__Q24rstl36vectorFi" -/* 80061F00 0005EE60 3A C0 00 00 */ li r22, 0 -/* 80061F04 0005EE64 48 00 00 60 */ b lbl_80061F64 -lbl_80061F08: -/* 80061F08 0005EE68 38 61 01 38 */ addi r3, r1, 0x138 -/* 80061F0C 0005EE6C 48 2D CD 79 */ bl ReadLong__12CInputStreamFv -/* 80061F10 0005EE70 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80061F14 0005EE74 7C 79 1B 78 */ mr r25, r3 -/* 80061F18 0005EE78 80 A1 00 98 */ lwz r5, 0x98(r1) -/* 80061F1C 0005EE7C 7C 00 28 00 */ cmpw r0, r5 -/* 80061F20 0005EE80 41 80 00 1C */ blt lbl_80061F3C -/* 80061F24 0005EE84 2C 05 00 00 */ cmpwi r5, 0 -/* 80061F28 0005EE88 38 61 00 90 */ addi r3, r1, 0x90 -/* 80061F2C 0005EE8C 38 80 00 04 */ li r4, 4 -/* 80061F30 0005EE90 41 82 00 08 */ beq lbl_80061F38 -/* 80061F34 0005EE94 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80061F38: -/* 80061F38 0005EE98 4B FF 7D 71 */ bl "reserve__Q24rstl36vectorFi" -lbl_80061F3C: -/* 80061F3C 0005EE9C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80061F40 0005EEA0 80 61 00 9C */ lwz r3, 0x9c(r1) -/* 80061F44 0005EEA4 54 00 10 3A */ slwi r0, r0, 2 -/* 80061F48 0005EEA8 7C 63 02 15 */ add. r3, r3, r0 -/* 80061F4C 0005EEAC 41 82 00 08 */ beq lbl_80061F54 -/* 80061F50 0005EEB0 93 23 00 00 */ stw r25, 0(r3) -lbl_80061F54: -/* 80061F54 0005EEB4 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80061F58 0005EEB8 3A D6 00 01 */ addi r22, r22, 1 -/* 80061F5C 0005EEBC 38 03 00 01 */ addi r0, r3, 1 -/* 80061F60 0005EEC0 90 01 00 94 */ stw r0, 0x94(r1) -lbl_80061F64: -/* 80061F64 0005EEC4 7C 16 D8 00 */ cmpw r22, r27 -/* 80061F68 0005EEC8 41 80 FF A0 */ blt lbl_80061F08 -/* 80061F6C 0005EECC 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061F70 0005EED0 38 1B 00 03 */ addi r0, r27, 3 -/* 80061F74 0005EED4 7F 64 DB 78 */ mr r4, r27 -/* 80061F78 0005EED8 54 19 10 3A */ slwi r25, r0, 2 -/* 80061F7C 0005EEDC 38 63 11 0C */ addi r3, r3, 0x110c -/* 80061F80 0005EEE0 48 00 22 8D */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" -/* 80061F84 0005EEE4 3B 80 00 00 */ li r28, 0 -/* 80061F88 0005EEE8 3B 40 00 00 */ li r26, 0 -/* 80061F8C 0005EEEC 48 00 00 9C */ b lbl_80062028 -lbl_80061F90: -/* 80061F90 0005EEF0 2C 1C 00 00 */ cmpwi r28, 0 -/* 80061F94 0005EEF4 40 82 00 0C */ bne lbl_80061FA0 -/* 80061F98 0005EEF8 7F 38 CB 78 */ mr r24, r25 -/* 80061F9C 0005EEFC 48 00 00 24 */ b lbl_80061FC0 -lbl_80061FA0: -/* 80061FA0 0005EF00 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061FA4 0005EF04 38 1C FF FF */ addi r0, r28, -1 -/* 80061FA8 0005EF08 54 00 18 38 */ slwi r0, r0, 3 -/* 80061FAC 0005EF0C 80 63 11 18 */ lwz r3, 0x1118(r3) -/* 80061FB0 0005EF10 7C 83 02 14 */ add r4, r3, r0 -/* 80061FB4 0005EF14 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80061FB8 0005EF18 80 04 00 04 */ lwz r0, 4(r4) -/* 80061FBC 0005EF1C 7F 03 02 14 */ add r24, r3, r0 -lbl_80061FC0: -/* 80061FC0 0005EF20 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80061FC4 0005EF24 80 81 00 9C */ lwz r4, 0x9c(r1) -/* 80061FC8 0005EF28 3B A3 11 0C */ addi r29, r3, 0x110c -/* 80061FCC 0005EF2C 80 03 11 10 */ lwz r0, 0x1110(r3) -/* 80061FD0 0005EF30 80 A3 11 14 */ lwz r5, 0x1114(r3) -/* 80061FD4 0005EF34 7F C4 D0 2E */ lwzx r30, r4, r26 -/* 80061FD8 0005EF38 7C 00 28 00 */ cmpw r0, r5 -/* 80061FDC 0005EF3C 41 80 00 1C */ blt lbl_80061FF8 -/* 80061FE0 0005EF40 2C 05 00 00 */ cmpwi r5, 0 -/* 80061FE4 0005EF44 7F A3 EB 78 */ mr r3, r29 -/* 80061FE8 0005EF48 38 80 00 04 */ li r4, 4 -/* 80061FEC 0005EF4C 41 82 00 08 */ beq lbl_80061FF4 -/* 80061FF0 0005EF50 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80061FF4: -/* 80061FF4 0005EF54 48 00 22 19 */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" -lbl_80061FF8: -/* 80061FF8 0005EF58 80 1D 00 04 */ lwz r0, 4(r29) -/* 80061FFC 0005EF5C 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80062000 0005EF60 54 00 18 38 */ slwi r0, r0, 3 -/* 80062004 0005EF64 7C 63 02 15 */ add. r3, r3, r0 -/* 80062008 0005EF68 41 82 00 0C */ beq lbl_80062014 -/* 8006200C 0005EF6C 93 03 00 00 */ stw r24, 0(r3) -/* 80062010 0005EF70 93 C3 00 04 */ stw r30, 4(r3) -lbl_80062014: -/* 80062014 0005EF74 80 7D 00 04 */ lwz r3, 4(r29) -/* 80062018 0005EF78 3B 5A 00 04 */ addi r26, r26, 4 -/* 8006201C 0005EF7C 3B 9C 00 01 */ addi r28, r28, 1 -/* 80062020 0005EF80 38 03 00 01 */ addi r0, r3, 1 -/* 80062024 0005EF84 90 1D 00 04 */ stw r0, 4(r29) -lbl_80062028: -/* 80062028 0005EF88 7C 1C D8 00 */ cmpw r28, r27 -/* 8006202C 0005EF8C 41 80 FF 64 */ blt lbl_80061F90 -/* 80062030 0005EF90 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80062034 0005EF94 80 61 00 9C */ lwz r3, 0x9c(r1) -/* 80062038 0005EF98 54 00 10 3A */ slwi r0, r0, 2 -/* 8006203C 0005EF9C 7C 03 02 14 */ add r0, r3, r0 -/* 80062040 0005EFA0 90 61 00 10 */ stw r3, 0x10(r1) -/* 80062044 0005EFA4 7C 64 1B 78 */ mr r4, r3 -/* 80062048 0005EFA8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8006204C 0005EFAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80062050 0005EFB0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80062054 0005EFB4 48 00 00 08 */ b lbl_8006205C -lbl_80062058: -/* 80062058 0005EFB8 38 84 00 04 */ addi r4, r4, 4 -lbl_8006205C: -/* 8006205C 0005EFBC 7C 04 00 40 */ cmplw r4, r0 -/* 80062060 0005EFC0 40 82 FF F8 */ bne lbl_80062058 -/* 80062064 0005EFC4 28 03 00 00 */ cmplwi r3, 0 -/* 80062068 0005EFC8 41 82 00 94 */ beq lbl_800620FC -/* 8006206C 0005EFCC 48 2B 38 C5 */ bl Free__7CMemoryFPCv -/* 80062070 0005EFD0 48 00 00 8C */ b lbl_800620FC -lbl_80062074: -/* 80062074 0005EFD4 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80062078 0005EFD8 38 80 00 01 */ li r4, 1 -/* 8006207C 0005EFDC 38 63 11 0C */ addi r3, r3, 0x110c -/* 80062080 0005EFE0 48 00 21 8D */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" -/* 80062084 0005EFE4 88 1F 00 F0 */ lbz r0, 0xf0(r31) -/* 80062088 0005EFE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8006208C 0005EFEC 41 82 00 10 */ beq lbl_8006209C -/* 80062090 0005EFF0 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 80062094 0005EFF4 83 03 10 D0 */ lwz r24, 0x10d0(r3) -/* 80062098 0005EFF8 48 00 00 08 */ b lbl_800620A0 -lbl_8006209C: -/* 8006209C 0005EFFC 3B 00 00 00 */ li r24, 0 -lbl_800620A0: -/* 800620A0 0005F000 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 800620A4 0005F004 83 4D 82 E4 */ lwz r26, lbl_805A6EA4@sda21(r13) -/* 800620A8 0005F008 3B 23 11 0C */ addi r25, r3, 0x110c -/* 800620AC 0005F00C 80 03 11 10 */ lwz r0, 0x1110(r3) -/* 800620B0 0005F010 80 A3 11 14 */ lwz r5, 0x1114(r3) -/* 800620B4 0005F014 7C 00 28 00 */ cmpw r0, r5 -/* 800620B8 0005F018 41 80 00 1C */ blt lbl_800620D4 -/* 800620BC 0005F01C 2C 05 00 00 */ cmpwi r5, 0 -/* 800620C0 0005F020 7F 23 CB 78 */ mr r3, r25 -/* 800620C4 0005F024 38 80 00 04 */ li r4, 4 -/* 800620C8 0005F028 41 82 00 08 */ beq lbl_800620D0 -/* 800620CC 0005F02C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800620D0: -/* 800620D0 0005F030 48 00 21 3D */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" -lbl_800620D4: -/* 800620D4 0005F034 80 19 00 04 */ lwz r0, 4(r25) -/* 800620D8 0005F038 80 79 00 0C */ lwz r3, 0xc(r25) -/* 800620DC 0005F03C 54 00 18 38 */ slwi r0, r0, 3 -/* 800620E0 0005F040 7C 63 02 15 */ add. r3, r3, r0 -/* 800620E4 0005F044 41 82 00 0C */ beq lbl_800620F0 -/* 800620E8 0005F048 93 43 00 00 */ stw r26, 0(r3) -/* 800620EC 0005F04C 93 03 00 04 */ stw r24, 4(r3) -lbl_800620F0: -/* 800620F0 0005F050 80 79 00 04 */ lwz r3, 4(r25) -/* 800620F4 0005F054 38 03 00 01 */ addi r0, r3, 1 -/* 800620F8 0005F058 90 19 00 04 */ stw r0, 4(r25) -lbl_800620FC: -/* 800620FC 0005F05C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 80062100 0005F060 38 61 01 38 */ addi r3, r1, 0x138 -/* 80062104 0005F064 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80062108 0005F068 38 80 00 00 */ li r4, 0 -/* 8006210C 0005F06C 90 01 01 38 */ stw r0, 0x138(r1) -/* 80062110 0005F070 48 2D CF 9D */ bl __dt__12CInputStreamFv -/* 80062114 0005F074 BA C1 03 18 */ lmw r22, 0x318(r1) -/* 80062118 0005F078 80 01 03 44 */ lwz r0, 0x344(r1) -/* 8006211C 0005F07C 7C 08 03 A6 */ mtlr r0 -/* 80062120 0005F080 38 21 03 40 */ addi r1, r1, 0x340 -/* 80062124 0005F084 4E 80 00 20 */ blr - -.global sub_80062128 -sub_80062128: -/* 80062128 0005F088 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006212C 0005F08C 7C 08 02 A6 */ mflr r0 -/* 80062130 0005F090 90 01 00 24 */ stw r0, 0x24(r1) -/* 80062134 0005F094 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80062138 0005F098 7C 9F 23 78 */ mr r31, r4 -/* 8006213C 0005F09C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80062140 0005F0A0 7C 7E 1B 78 */ mr r30, r3 -/* 80062144 0005F0A4 7C 1E F8 40 */ cmplw r30, r31 -/* 80062148 0005F0A8 40 82 00 08 */ bne lbl_80062150 -/* 8006214C 0005F0AC 48 00 00 98 */ b lbl_800621E4 -lbl_80062150: -/* 80062150 0005F0B0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80062154 0005F0B4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80062158 0005F0B8 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 8006215C 0005F0BC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80062160 0005F0C0 7C 03 02 14 */ add r0, r3, r0 -/* 80062164 0005F0C4 90 61 00 08 */ stw r3, 8(r1) -/* 80062168 0005F0C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006216C 0005F0CC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80062170 0005F0D0 48 00 00 08 */ b lbl_80062178 -lbl_80062174: -/* 80062174 0005F0D4 38 63 00 44 */ addi r3, r3, 0x44 -lbl_80062178: -/* 80062178 0005F0D8 7C 03 00 40 */ cmplw r3, r0 -/* 8006217C 0005F0DC 40 82 FF F8 */ bne lbl_80062174 -/* 80062180 0005F0E0 38 00 00 00 */ li r0, 0 -/* 80062184 0005F0E4 90 1E 00 04 */ stw r0, 4(r30) -/* 80062188 0005F0E8 80 9F 00 04 */ lwz r4, 4(r31) -/* 8006218C 0005F0EC 2C 04 00 00 */ cmpwi r4, 0 -/* 80062190 0005F0F0 40 82 00 28 */ bne lbl_800621B8 -/* 80062194 0005F0F4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80062198 0005F0F8 28 03 00 00 */ cmplwi r3, 0 -/* 8006219C 0005F0FC 41 82 00 08 */ beq lbl_800621A4 -/* 800621A0 0005F100 48 2B 37 91 */ bl Free__7CMemoryFPCv -lbl_800621A4: -/* 800621A4 0005F104 38 00 00 00 */ li r0, 0 -/* 800621A8 0005F108 90 1E 00 04 */ stw r0, 4(r30) -/* 800621AC 0005F10C 90 1E 00 08 */ stw r0, 8(r30) -/* 800621B0 0005F110 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800621B4 0005F114 48 00 00 2C */ b lbl_800621E0 -lbl_800621B8: -/* 800621B8 0005F118 7F C3 F3 78 */ mr r3, r30 -/* 800621BC 0005F11C 48 00 1D C1 */ bl sub_80063f7c -/* 800621C0 0005F120 80 1F 00 04 */ lwz r0, 4(r31) -/* 800621C4 0005F124 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800621C8 0005F128 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 800621CC 0005F12C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800621D0 0005F130 7C 83 02 14 */ add r4, r3, r0 -/* 800621D4 0005F134 48 00 00 29 */ bl sub_800621fc -/* 800621D8 0005F138 80 1F 00 04 */ lwz r0, 4(r31) -/* 800621DC 0005F13C 90 1E 00 04 */ stw r0, 4(r30) -lbl_800621E0: -/* 800621E0 0005F140 7F C3 F3 78 */ mr r3, r30 -lbl_800621E4: -/* 800621E4 0005F144 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800621E8 0005F148 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800621EC 0005F14C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800621F0 0005F150 7C 08 03 A6 */ mtlr r0 -/* 800621F4 0005F154 38 21 00 20 */ addi r1, r1, 0x20 -/* 800621F8 0005F158 4E 80 00 20 */ blr - -.global sub_800621fc -sub_800621fc: -/* 800621FC 0005F15C 48 00 00 9C */ b lbl_80062298 -lbl_80062200: -/* 80062200 0005F160 28 05 00 00 */ cmplwi r5, 0 -/* 80062204 0005F164 41 82 00 8C */ beq lbl_80062290 -/* 80062208 0005F168 80 03 00 00 */ lwz r0, 0(r3) -/* 8006220C 0005F16C 90 05 00 00 */ stw r0, 0(r5) -/* 80062210 0005F170 C0 03 00 04 */ lfs f0, 4(r3) -/* 80062214 0005F174 D0 05 00 04 */ stfs f0, 4(r5) -/* 80062218 0005F178 C0 03 00 08 */ lfs f0, 8(r3) -/* 8006221C 0005F17C D0 05 00 08 */ stfs f0, 8(r5) -/* 80062220 0005F180 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80062224 0005F184 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 80062228 0005F188 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8006222C 0005F18C D0 05 00 10 */ stfs f0, 0x10(r5) -/* 80062230 0005F190 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80062234 0005F194 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 80062238 0005F198 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8006223C 0005F19C D0 05 00 18 */ stfs f0, 0x18(r5) -/* 80062240 0005F1A0 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80062244 0005F1A4 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 80062248 0005F1A8 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 8006224C 0005F1AC D0 05 00 20 */ stfs f0, 0x20(r5) -/* 80062250 0005F1B0 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 80062254 0005F1B4 D0 05 00 24 */ stfs f0, 0x24(r5) -/* 80062258 0005F1B8 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8006225C 0005F1BC D0 05 00 28 */ stfs f0, 0x28(r5) -/* 80062260 0005F1C0 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80062264 0005F1C4 D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 80062268 0005F1C8 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 8006226C 0005F1CC D0 05 00 30 */ stfs f0, 0x30(r5) -/* 80062270 0005F1D0 88 03 00 34 */ lbz r0, 0x34(r3) -/* 80062274 0005F1D4 98 05 00 34 */ stb r0, 0x34(r5) -/* 80062278 0005F1D8 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 8006227C 0005F1DC D0 05 00 38 */ stfs f0, 0x38(r5) -/* 80062280 0005F1E0 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 80062284 0005F1E4 90 05 00 3C */ stw r0, 0x3c(r5) -/* 80062288 0005F1E8 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8006228C 0005F1EC D0 05 00 40 */ stfs f0, 0x40(r5) -lbl_80062290: -/* 80062290 0005F1F0 38 A5 00 44 */ addi r5, r5, 0x44 -/* 80062294 0005F1F4 38 63 00 44 */ addi r3, r3, 0x44 -lbl_80062298: -/* 80062298 0005F1F8 7C 03 20 40 */ cmplw r3, r4 -/* 8006229C 0005F1FC 40 82 FF 64 */ bne lbl_80062200 -/* 800622A0 0005F200 7C A3 2B 78 */ mr r3, r5 -/* 800622A4 0005F204 4E 80 00 20 */ blr - -.global sub_800622a8 -sub_800622a8: -/* 800622A8 0005F208 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800622AC 0005F20C 7C 08 02 A6 */ mflr r0 -/* 800622B0 0005F210 90 01 00 14 */ stw r0, 0x14(r1) -/* 800622B4 0005F214 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800622B8 0005F218 7C 9F 23 78 */ mr r31, r4 -/* 800622BC 0005F21C 93 C1 00 08 */ stw r30, 8(r1) -/* 800622C0 0005F220 7C 7E 1B 78 */ mr r30, r3 -/* 800622C4 0005F224 80 03 00 04 */ lwz r0, 4(r3) -/* 800622C8 0005F228 80 A3 00 08 */ lwz r5, 8(r3) -/* 800622CC 0005F22C 7C 00 28 00 */ cmpw r0, r5 -/* 800622D0 0005F230 41 80 00 18 */ blt lbl_800622E8 -/* 800622D4 0005F234 2C 05 00 00 */ cmpwi r5, 0 -/* 800622D8 0005F238 38 80 00 04 */ li r4, 4 -/* 800622DC 0005F23C 41 82 00 08 */ beq lbl_800622E4 -/* 800622E0 0005F240 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800622E4: -/* 800622E4 0005F244 48 00 1C 99 */ bl sub_80063f7c -lbl_800622E8: -/* 800622E8 0005F248 80 1E 00 04 */ lwz r0, 4(r30) -/* 800622EC 0005F24C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800622F0 0005F250 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 800622F4 0005F254 7C 63 02 15 */ add. r3, r3, r0 -/* 800622F8 0005F258 41 82 00 8C */ beq lbl_80062384 -/* 800622FC 0005F25C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80062300 0005F260 90 03 00 00 */ stw r0, 0(r3) -/* 80062304 0005F264 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80062308 0005F268 D0 03 00 04 */ stfs f0, 4(r3) -/* 8006230C 0005F26C C0 1F 00 08 */ lfs f0, 8(r31) -/* 80062310 0005F270 D0 03 00 08 */ stfs f0, 8(r3) -/* 80062314 0005F274 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80062318 0005F278 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8006231C 0005F27C C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 80062320 0005F280 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80062324 0005F284 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 80062328 0005F288 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8006232C 0005F28C C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 80062330 0005F290 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80062334 0005F294 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 80062338 0005F298 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8006233C 0005F29C C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 80062340 0005F2A0 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80062344 0005F2A4 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 80062348 0005F2A8 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8006234C 0005F2AC C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 80062350 0005F2B0 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80062354 0005F2B4 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 80062358 0005F2B8 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8006235C 0005F2BC C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 80062360 0005F2C0 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 80062364 0005F2C4 88 1F 00 34 */ lbz r0, 0x34(r31) -/* 80062368 0005F2C8 98 03 00 34 */ stb r0, 0x34(r3) -/* 8006236C 0005F2CC C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80062370 0005F2D0 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 80062374 0005F2D4 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 80062378 0005F2D8 90 03 00 3C */ stw r0, 0x3c(r3) -/* 8006237C 0005F2DC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80062380 0005F2E0 D0 03 00 40 */ stfs f0, 0x40(r3) -lbl_80062384: -/* 80062384 0005F2E4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80062388 0005F2E8 38 03 00 01 */ addi r0, r3, 1 -/* 8006238C 0005F2EC 90 1E 00 04 */ stw r0, 4(r30) -/* 80062390 0005F2F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80062394 0005F2F4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80062398 0005F2F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006239C 0005F2FC 7C 08 03 A6 */ mtlr r0 -/* 800623A0 0005F300 38 21 00 10 */ addi r1, r1, 0x10 -/* 800623A4 0005F304 4E 80 00 20 */ blr - -.global sub_800623a8 -sub_800623a8: -/* 800623A8 0005F308 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800623AC 0005F30C 7C 08 02 A6 */ mflr r0 -/* 800623B0 0005F310 90 01 00 14 */ stw r0, 0x14(r1) -/* 800623B4 0005F314 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800623B8 0005F318 7C 7F 1B 78 */ mr r31, r3 -/* 800623BC 0005F31C 48 00 00 1D */ bl sub_800623d8 -/* 800623C0 0005F320 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800623C4 0005F324 7F E3 FB 78 */ mr r3, r31 -/* 800623C8 0005F328 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800623CC 0005F32C 7C 08 03 A6 */ mtlr r0 -/* 800623D0 0005F330 38 21 00 10 */ addi r1, r1, 0x10 -/* 800623D4 0005F334 4E 80 00 20 */ blr - -.global sub_800623d8 -sub_800623d8: -/* 800623D8 0005F338 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800623DC 0005F33C 7C 08 02 A6 */ mflr r0 -/* 800623E0 0005F340 90 01 00 14 */ stw r0, 0x14(r1) -/* 800623E4 0005F344 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800623E8 0005F348 7C 9F 23 78 */ mr r31, r4 -/* 800623EC 0005F34C 93 C1 00 08 */ stw r30, 8(r1) -/* 800623F0 0005F350 7C 7E 1B 78 */ mr r30, r3 -/* 800623F4 0005F354 88 03 00 3C */ lbz r0, 0x3c(r3) -/* 800623F8 0005F358 28 00 00 00 */ cmplwi r0, 0 -/* 800623FC 0005F35C 40 82 00 98 */ bne lbl_80062494 -/* 80062400 0005F360 28 1E 00 00 */ cmplwi r30, 0 -/* 80062404 0005F364 41 82 00 84 */ beq lbl_80062488 -/* 80062408 0005F368 88 7F 00 00 */ lbz r3, 0(r31) -/* 8006240C 0005F36C 38 00 00 00 */ li r0, 0 -/* 80062410 0005F370 98 7E 00 00 */ stb r3, 0(r30) -/* 80062414 0005F374 80 7F 00 04 */ lwz r3, 4(r31) -/* 80062418 0005F378 90 7E 00 04 */ stw r3, 4(r30) -/* 8006241C 0005F37C 98 1F 00 00 */ stb r0, 0(r31) -/* 80062420 0005F380 80 1F 00 08 */ lwz r0, 8(r31) -/* 80062424 0005F384 90 1E 00 08 */ stw r0, 8(r30) -/* 80062428 0005F388 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8006242C 0005F38C 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80062430 0005F390 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80062434 0005F394 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80062438 0005F398 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8006243C 0005F39C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80062440 0005F3A0 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 80062444 0005F3A4 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 80062448 0005F3A8 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8006244C 0005F3AC D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80062450 0005F3B0 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 80062454 0005F3B4 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80062458 0005F3B8 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8006245C 0005F3BC D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80062460 0005F3C0 C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 80062464 0005F3C4 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 80062468 0005F3C8 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 8006246C 0005F3CC D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 80062470 0005F3D0 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 80062474 0005F3D4 90 1E 00 30 */ stw r0, 0x30(r30) -/* 80062478 0005F3D8 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 8006247C 0005F3DC 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80062480 0005F3E0 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 80062484 0005F3E4 90 1E 00 38 */ stw r0, 0x38(r30) -lbl_80062488: -/* 80062488 0005F3E8 38 00 00 01 */ li r0, 1 -/* 8006248C 0005F3EC 98 1E 00 3C */ stb r0, 0x3c(r30) -/* 80062490 0005F3F0 48 00 00 A0 */ b lbl_80062530 -lbl_80062494: -/* 80062494 0005F3F4 7C 1F F0 40 */ cmplw r31, r30 -/* 80062498 0005F3F8 41 82 00 30 */ beq lbl_800624C8 -/* 8006249C 0005F3FC 88 1E 00 00 */ lbz r0, 0(r30) -/* 800624A0 0005F400 28 00 00 00 */ cmplwi r0, 0 -/* 800624A4 0005F404 41 82 00 0C */ beq lbl_800624B0 -/* 800624A8 0005F408 80 7E 00 04 */ lwz r3, 4(r30) -/* 800624AC 0005F40C 48 2B 34 85 */ bl Free__7CMemoryFPCv -lbl_800624B0: -/* 800624B0 0005F410 88 7F 00 00 */ lbz r3, 0(r31) -/* 800624B4 0005F414 38 00 00 00 */ li r0, 0 -/* 800624B8 0005F418 98 7E 00 00 */ stb r3, 0(r30) -/* 800624BC 0005F41C 80 7F 00 04 */ lwz r3, 4(r31) -/* 800624C0 0005F420 90 7E 00 04 */ stw r3, 4(r30) -/* 800624C4 0005F424 98 1F 00 00 */ stb r0, 0(r31) -lbl_800624C8: -/* 800624C8 0005F428 80 1F 00 08 */ lwz r0, 8(r31) -/* 800624CC 0005F42C 90 1E 00 08 */ stw r0, 8(r30) -/* 800624D0 0005F430 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 800624D4 0005F434 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800624D8 0005F438 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 800624DC 0005F43C 90 1E 00 10 */ stw r0, 0x10(r30) -/* 800624E0 0005F440 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 800624E4 0005F444 90 1E 00 14 */ stw r0, 0x14(r30) -/* 800624E8 0005F448 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 800624EC 0005F44C 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 800624F0 0005F450 90 7E 00 18 */ stw r3, 0x18(r30) -/* 800624F4 0005F454 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 800624F8 0005F458 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 800624FC 0005F45C 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80062500 0005F460 90 7E 00 20 */ stw r3, 0x20(r30) -/* 80062504 0005F464 90 1E 00 24 */ stw r0, 0x24(r30) -/* 80062508 0005F468 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8006250C 0005F46C 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80062510 0005F470 90 7E 00 28 */ stw r3, 0x28(r30) -/* 80062514 0005F474 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 80062518 0005F478 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 8006251C 0005F47C 90 1E 00 30 */ stw r0, 0x30(r30) -/* 80062520 0005F480 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80062524 0005F484 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80062528 0005F488 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8006252C 0005F48C 90 1E 00 38 */ stw r0, 0x38(r30) -lbl_80062530: -/* 80062530 0005F490 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80062534 0005F494 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80062538 0005F498 83 C1 00 08 */ lwz r30, 8(r1) -/* 8006253C 0005F49C 7C 08 03 A6 */ mtlr r0 -/* 80062540 0005F4A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80062544 0005F4A4 4E 80 00 20 */ blr - -.global FillInStaticGeometry__9CGameAreaFv -FillInStaticGeometry__9CGameAreaFv: -/* 80062548 0005F4A8 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8006254C 0005F4AC 7C 08 02 A6 */ mflr r0 -/* 80062550 0005F4B0 90 01 01 04 */ stw r0, 0x104(r1) -/* 80062554 0005F4B4 BE 41 00 C8 */ stmw r18, 0xc8(r1) -/* 80062558 0005F4B8 7C 72 1B 78 */ mr r18, r3 -/* 8006255C 0005F4BC 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 80062560 0005F4C0 82 72 01 1C */ lwz r19, 0x11c(r18) -/* 80062564 0005F4C4 80 03 10 EC */ lwz r0, 0x10ec(r3) -/* 80062568 0005F4C8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8006256C 0005F4CC 7E 73 02 14 */ add r19, r19, r0 -/* 80062570 0005F4D0 80 13 00 04 */ lwz r0, 4(r19) -/* 80062574 0005F4D4 90 03 10 D4 */ stw r0, 0x10d4(r3) -/* 80062578 0005F4D8 80 72 01 2C */ lwz r3, 0x12c(r18) -/* 8006257C 0005F4DC 38 63 00 4C */ addi r3, r3, 0x4c -/* 80062580 0005F4E0 48 00 03 E5 */ bl "clear__Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>Fv" -/* 80062584 0005F4E4 80 72 01 2C */ lwz r3, 0x12c(r18) -/* 80062588 0005F4E8 38 00 00 00 */ li r0, 0 -/* 8006258C 0005F4EC 3B 61 00 A0 */ addi r27, r1, 0xa0 -/* 80062590 0005F4F0 3B 93 00 0C */ addi r28, r19, 0xc -/* 80062594 0005F4F4 83 A3 00 54 */ lwz r29, 0x54(r3) -/* 80062598 0005F4F8 3B 40 00 00 */ li r26, 0 -/* 8006259C 0005F4FC 90 01 00 44 */ stw r0, 0x44(r1) -/* 800625A0 0005F500 90 01 00 48 */ stw r0, 0x48(r1) -/* 800625A4 0005F504 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800625A8 0005F508 48 00 01 68 */ b lbl_80062710 -lbl_800625AC: -/* 800625AC 0005F50C 80 7C 00 4C */ lwz r3, 0x4c(r28) -/* 800625B0 0005F510 83 3C 00 04 */ lwz r25, 4(r28) -/* 800625B4 0005F514 83 C3 00 00 */ lwz r30, 0(r3) -/* 800625B8 0005F518 83 1C 00 10 */ lwz r24, 0x10(r28) -/* 800625BC 0005F51C 28 1E 00 00 */ cmplwi r30, 0 -/* 800625C0 0005F520 82 FC 00 1C */ lwz r23, 0x1c(r28) -/* 800625C4 0005F524 82 DC 00 28 */ lwz r22, 0x28(r28) -/* 800625C8 0005F528 82 BC 00 34 */ lwz r21, 0x34(r28) -/* 800625CC 0005F52C 82 9C 00 40 */ lwz r20, 0x40(r28) -/* 800625D0 0005F530 3B 9C 00 54 */ addi r28, r28, 0x54 -/* 800625D4 0005F534 41 82 01 38 */ beq lbl_8006270C -/* 800625D8 0005F538 7F C4 F3 78 */ mr r4, r30 -/* 800625DC 0005F53C 38 61 00 40 */ addi r3, r1, 0x40 -/* 800625E0 0005F540 48 00 16 31 */ bl sub_80063c10 -/* 800625E4 0005F544 3A 60 00 00 */ li r19, 0 -/* 800625E8 0005F548 48 00 00 5C */ b lbl_80062644 -lbl_800625EC: -/* 800625EC 0005F54C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800625F0 0005F550 80 A1 00 48 */ lwz r5, 0x48(r1) -/* 800625F4 0005F554 83 FC 00 04 */ lwz r31, 4(r28) -/* 800625F8 0005F558 7C 00 28 00 */ cmpw r0, r5 -/* 800625FC 0005F55C 41 80 00 1C */ blt lbl_80062618 -/* 80062600 0005F560 2C 05 00 00 */ cmpwi r5, 0 -/* 80062604 0005F564 38 61 00 40 */ addi r3, r1, 0x40 -/* 80062608 0005F568 38 80 00 04 */ li r4, 4 -/* 8006260C 0005F56C 41 82 00 08 */ beq lbl_80062614 -/* 80062610 0005F570 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80062614: -/* 80062614 0005F574 48 00 15 FD */ bl sub_80063c10 -lbl_80062618: -/* 80062618 0005F578 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8006261C 0005F57C 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80062620 0005F580 54 00 10 3A */ slwi r0, r0, 2 -/* 80062624 0005F584 7C 63 02 15 */ add. r3, r3, r0 -/* 80062628 0005F588 41 82 00 08 */ beq lbl_80062630 -/* 8006262C 0005F58C 93 E3 00 00 */ stw r31, 0(r3) -lbl_80062630: -/* 80062630 0005F590 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80062634 0005F594 3B 9C 00 0C */ addi r28, r28, 0xc -/* 80062638 0005F598 3A 73 00 01 */ addi r19, r19, 1 -/* 8006263C 0005F59C 38 03 00 01 */ addi r0, r3, 1 -/* 80062640 0005F5A0 90 01 00 44 */ stw r0, 0x44(r1) -lbl_80062644: -/* 80062644 0005F5A4 7C 13 F0 40 */ cmplw r19, r30 -/* 80062648 0005F5A8 41 80 FF A4 */ blt lbl_800625EC -/* 8006264C 0005F5AC 38 01 00 40 */ addi r0, r1, 0x40 -/* 80062650 0005F5B0 7F 24 CB 78 */ mr r4, r25 -/* 80062654 0005F5B4 90 01 00 08 */ stw r0, 8(r1) -/* 80062658 0005F5B8 7F 06 C3 78 */ mr r6, r24 -/* 8006265C 0005F5BC 7E E7 BB 78 */ mr r7, r23 -/* 80062660 0005F5C0 7E C8 B3 78 */ mr r8, r22 -/* 80062664 0005F5C4 80 B2 01 2C */ lwz r5, 0x12c(r18) -/* 80062668 0005F5C8 7E A9 AB 78 */ mr r9, r21 -/* 8006266C 0005F5CC 7E 8A A3 78 */ mr r10, r20 -/* 80062670 0005F5D0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80062674 0005F5D4 80 A5 10 D4 */ lwz r5, 0x10d4(r5) -/* 80062678 0005F5D8 48 24 01 01 */ bl "__ct__21CMetroidModelInstanceFPCvPCvPCvPCvPCvPCvPCvRCQ24rstl37vector" -/* 8006267C 0005F5DC 80 72 01 2C */ lwz r3, 0x12c(r18) -/* 80062680 0005F5E0 38 81 00 50 */ addi r4, r1, 0x50 -/* 80062684 0005F5E4 38 63 00 4C */ addi r3, r3, 0x4c -/* 80062688 0005F5E8 48 00 00 F9 */ bl sub_80062780 -/* 8006268C 0005F5EC 28 1B 00 00 */ cmplwi r27, 0 -/* 80062690 0005F5F0 41 82 00 44 */ beq lbl_800626D4 -/* 80062694 0005F5F4 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80062698 0005F5F8 80 61 00 AC */ lwz r3, 0xac(r1) -/* 8006269C 0005F5FC 54 00 10 3A */ slwi r0, r0, 2 -/* 800626A0 0005F600 7C 03 02 14 */ add r0, r3, r0 -/* 800626A4 0005F604 90 61 00 14 */ stw r3, 0x14(r1) -/* 800626A8 0005F608 7C 64 1B 78 */ mr r4, r3 -/* 800626AC 0005F60C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800626B0 0005F610 90 01 00 18 */ stw r0, 0x18(r1) -/* 800626B4 0005F614 90 61 00 10 */ stw r3, 0x10(r1) -/* 800626B8 0005F618 48 00 00 08 */ b lbl_800626C0 -lbl_800626BC: -/* 800626BC 0005F61C 38 84 00 04 */ addi r4, r4, 4 -lbl_800626C0: -/* 800626C0 0005F620 7C 04 00 40 */ cmplw r4, r0 -/* 800626C4 0005F624 40 82 FF F8 */ bne lbl_800626BC -/* 800626C8 0005F628 28 03 00 00 */ cmplwi r3, 0 -/* 800626CC 0005F62C 41 82 00 08 */ beq lbl_800626D4 -/* 800626D0 0005F630 48 2B 32 61 */ bl Free__7CMemoryFPCv -lbl_800626D4: -/* 800626D4 0005F634 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800626D8 0005F638 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 800626DC 0005F63C 54 00 10 3A */ slwi r0, r0, 2 -/* 800626E0 0005F640 7C 03 02 14 */ add r0, r3, r0 -/* 800626E4 0005F644 90 61 00 34 */ stw r3, 0x34(r1) -/* 800626E8 0005F648 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800626EC 0005F64C 90 01 00 38 */ stw r0, 0x38(r1) -/* 800626F0 0005F650 90 61 00 30 */ stw r3, 0x30(r1) -/* 800626F4 0005F654 48 00 00 08 */ b lbl_800626FC -lbl_800626F8: -/* 800626F8 0005F658 38 63 00 04 */ addi r3, r3, 4 -lbl_800626FC: -/* 800626FC 0005F65C 7C 03 00 40 */ cmplw r3, r0 -/* 80062700 0005F660 40 82 FF F8 */ bne lbl_800626F8 -/* 80062704 0005F664 38 00 00 00 */ li r0, 0 -/* 80062708 0005F668 90 01 00 44 */ stw r0, 0x44(r1) -lbl_8006270C: -/* 8006270C 0005F66C 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80062710: -/* 80062710 0005F670 7C 1A E8 00 */ cmpw r26, r29 -/* 80062714 0005F674 41 80 FE 98 */ blt lbl_800625AC -/* 80062718 0005F678 80 72 01 2C */ lwz r3, 0x12c(r18) -/* 8006271C 0005F67C 38 80 00 01 */ li r4, 1 -/* 80062720 0005F680 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 80062724 0005F684 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80062728 0005F688 98 03 11 08 */ stb r0, 0x1108(r3) -/* 8006272C 0005F68C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80062730 0005F690 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80062734 0005F694 54 00 10 3A */ slwi r0, r0, 2 -/* 80062738 0005F698 7C 03 02 14 */ add r0, r3, r0 -/* 8006273C 0005F69C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80062740 0005F6A0 7C 64 1B 78 */ mr r4, r3 -/* 80062744 0005F6A4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80062748 0005F6A8 90 01 00 28 */ stw r0, 0x28(r1) -/* 8006274C 0005F6AC 90 61 00 20 */ stw r3, 0x20(r1) -/* 80062750 0005F6B0 48 00 00 08 */ b lbl_80062758 -lbl_80062754: -/* 80062754 0005F6B4 38 84 00 04 */ addi r4, r4, 4 -lbl_80062758: -/* 80062758 0005F6B8 7C 04 00 40 */ cmplw r4, r0 -/* 8006275C 0005F6BC 40 82 FF F8 */ bne lbl_80062754 -/* 80062760 0005F6C0 28 03 00 00 */ cmplwi r3, 0 -/* 80062764 0005F6C4 41 82 00 08 */ beq lbl_8006276C -/* 80062768 0005F6C8 48 2B 31 C9 */ bl Free__7CMemoryFPCv -lbl_8006276C: -/* 8006276C 0005F6CC BA 41 00 C8 */ lmw r18, 0xc8(r1) -/* 80062770 0005F6D0 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80062774 0005F6D4 7C 08 03 A6 */ mtlr r0 -/* 80062778 0005F6D8 38 21 01 00 */ addi r1, r1, 0x100 -/* 8006277C 0005F6DC 4E 80 00 20 */ blr - -.global sub_80062780 -sub_80062780: -/* 80062780 0005F6E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80062784 0005F6E4 7C 08 02 A6 */ mflr r0 -/* 80062788 0005F6E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006278C 0005F6EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80062790 0005F6F0 7C 9F 23 78 */ mr r31, r4 -/* 80062794 0005F6F4 93 C1 00 08 */ stw r30, 8(r1) -/* 80062798 0005F6F8 7C 7E 1B 78 */ mr r30, r3 -/* 8006279C 0005F6FC 80 03 00 04 */ lwz r0, 4(r3) -/* 800627A0 0005F700 80 A3 00 08 */ lwz r5, 8(r3) -/* 800627A4 0005F704 7C 00 28 00 */ cmpw r0, r5 -/* 800627A8 0005F708 41 80 00 18 */ blt lbl_800627C0 -/* 800627AC 0005F70C 2C 05 00 00 */ cmpwi r5, 0 -/* 800627B0 0005F710 38 80 00 04 */ li r4, 4 -/* 800627B4 0005F714 41 82 00 08 */ beq lbl_800627BC -/* 800627B8 0005F718 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800627BC: -/* 800627BC 0005F71C 48 00 15 41 */ bl sub_80063cfc -lbl_800627C0: -/* 800627C0 0005F720 80 1E 00 04 */ lwz r0, 4(r30) -/* 800627C4 0005F724 7F E4 FB 78 */ mr r4, r31 -/* 800627C8 0005F728 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800627CC 0005F72C 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 800627D0 0005F730 7C 63 02 14 */ add r3, r3, r0 -/* 800627D4 0005F734 48 00 00 29 */ bl sub_800627fc -/* 800627D8 0005F738 80 7E 00 04 */ lwz r3, 4(r30) -/* 800627DC 0005F73C 38 03 00 01 */ addi r0, r3, 1 -/* 800627E0 0005F740 90 1E 00 04 */ stw r0, 4(r30) -/* 800627E4 0005F744 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800627E8 0005F748 83 C1 00 08 */ lwz r30, 8(r1) -/* 800627EC 0005F74C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800627F0 0005F750 7C 08 03 A6 */ mtlr r0 -/* 800627F4 0005F754 38 21 00 10 */ addi r1, r1, 0x10 -/* 800627F8 0005F758 4E 80 00 20 */ blr - -.global sub_800627fc -sub_800627fc: -/* 800627FC 0005F75C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80062800 0005F760 7C 08 02 A6 */ mflr r0 -/* 80062804 0005F764 28 03 00 00 */ cmplwi r3, 0 -/* 80062808 0005F768 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006280C 0005F76C 41 82 00 08 */ beq lbl_80062814 -/* 80062810 0005F770 48 00 00 15 */ bl sub_80062824 -lbl_80062814: -/* 80062814 0005F774 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80062818 0005F778 7C 08 03 A6 */ mtlr r0 -/* 8006281C 0005F77C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80062820 0005F780 4E 80 00 20 */ blr - -.global sub_80062824 -sub_80062824: -/* 80062824 0005F784 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80062828 0005F788 7C 08 02 A6 */ mflr r0 -/* 8006282C 0005F78C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80062830 0005F790 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80062834 0005F794 7C 9F 23 78 */ mr r31, r4 -/* 80062838 0005F798 93 C1 00 08 */ stw r30, 8(r1) -/* 8006283C 0005F79C 7C 7E 1B 78 */ mr r30, r3 -/* 80062840 0005F7A0 38 7E 00 04 */ addi r3, r30, 4 -/* 80062844 0005F7A4 80 04 00 00 */ lwz r0, 0(r4) -/* 80062848 0005F7A8 38 9F 00 04 */ addi r4, r31, 4 -/* 8006284C 0005F7AC 90 1E 00 00 */ stw r0, 0(r30) -/* 80062850 0005F7B0 48 2B 03 25 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80062854 0005F7B4 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 80062858 0005F7B8 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 8006285C 0005F7BC C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80062860 0005F7C0 D0 1E 00 38 */ stfs f0, 0x38(r30) -/* 80062864 0005F7C4 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 80062868 0005F7C8 D0 1E 00 3C */ stfs f0, 0x3c(r30) -/* 8006286C 0005F7CC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80062870 0005F7D0 D0 1E 00 40 */ stfs f0, 0x40(r30) -/* 80062874 0005F7D4 C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 80062878 0005F7D8 D0 1E 00 44 */ stfs f0, 0x44(r30) -/* 8006287C 0005F7DC C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 80062880 0005F7E0 D0 1E 00 48 */ stfs f0, 0x48(r30) -/* 80062884 0005F7E4 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 80062888 0005F7E8 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 8006288C 0005F7EC 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 80062890 0005F7F0 90 1E 00 54 */ stw r0, 0x54(r30) -/* 80062894 0005F7F4 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 80062898 0005F7F8 90 1E 00 58 */ stw r0, 0x58(r30) -/* 8006289C 0005F7FC 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 800628A0 0005F800 2C 00 00 00 */ cmpwi r0, 0 -/* 800628A4 0005F804 40 82 00 1C */ bne lbl_800628C0 -/* 800628A8 0005F808 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 800628AC 0005F80C 2C 00 00 00 */ cmpwi r0, 0 -/* 800628B0 0005F810 40 82 00 10 */ bne lbl_800628C0 -/* 800628B4 0005F814 38 00 00 00 */ li r0, 0 -/* 800628B8 0005F818 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 800628BC 0005F81C 48 00 00 64 */ b lbl_80062920 -lbl_800628C0: -/* 800628C0 0005F820 80 1E 00 58 */ lwz r0, 0x58(r30) -/* 800628C4 0005F824 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 800628C8 0005F828 40 82 00 10 */ bne lbl_800628D8 -/* 800628CC 0005F82C 38 00 00 00 */ li r0, 0 -/* 800628D0 0005F830 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 800628D4 0005F834 48 00 00 18 */ b lbl_800628EC -lbl_800628D8: -/* 800628D8 0005F838 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 800628DC 0005F83C 38 A0 00 00 */ li r5, 0 -/* 800628E0 0005F840 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 800628E4 0005F844 48 2B 2F 35 */ bl __nwa__FUlPCcPCc -/* 800628E8 0005F848 90 7E 00 5C */ stw r3, 0x5c(r30) -lbl_800628EC: -/* 800628EC 0005F84C 80 1E 00 54 */ lwz r0, 0x54(r30) -/* 800628F0 0005F850 80 9F 00 5C */ lwz r4, 0x5c(r31) -/* 800628F4 0005F854 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 800628F8 0005F858 7C 09 03 A6 */ mtctr r0 -/* 800628FC 0005F85C 2C 00 00 00 */ cmpwi r0, 0 -/* 80062900 0005F860 40 81 00 20 */ ble lbl_80062920 -lbl_80062904: -/* 80062904 0005F864 28 03 00 00 */ cmplwi r3, 0 -/* 80062908 0005F868 41 82 00 0C */ beq lbl_80062914 -/* 8006290C 0005F86C 80 04 00 00 */ lwz r0, 0(r4) -/* 80062910 0005F870 90 03 00 00 */ stw r0, 0(r3) -lbl_80062914: -/* 80062914 0005F874 38 63 00 04 */ addi r3, r3, 4 -/* 80062918 0005F878 38 84 00 04 */ addi r4, r4, 4 -/* 8006291C 0005F87C 42 00 FF E8 */ bdnz lbl_80062904 -lbl_80062920: -/* 80062920 0005F880 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80062924 0005F884 7F C3 F3 78 */ mr r3, r30 -/* 80062928 0005F888 90 1E 00 60 */ stw r0, 0x60(r30) -/* 8006292C 0005F88C 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 80062930 0005F890 90 1E 00 64 */ stw r0, 0x64(r30) -/* 80062934 0005F894 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 80062938 0005F898 90 1E 00 68 */ stw r0, 0x68(r30) -/* 8006293C 0005F89C 80 1F 00 6C */ lwz r0, 0x6c(r31) -/* 80062940 0005F8A0 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80062944 0005F8A4 80 1F 00 70 */ lwz r0, 0x70(r31) -/* 80062948 0005F8A8 90 1E 00 70 */ stw r0, 0x70(r30) -/* 8006294C 0005F8AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80062950 0005F8B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80062954 0005F8B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80062958 0005F8B8 7C 08 03 A6 */ mtlr r0 -/* 8006295C 0005F8BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80062960 0005F8C0 4E 80 00 20 */ blr - -.global "clear__Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>Fv" -"clear__Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>Fv": -/* 80062964 0005F8C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80062968 0005F8C8 7C 08 02 A6 */ mflr r0 -/* 8006296C 0005F8CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80062970 0005F8D0 38 81 00 0C */ addi r4, r1, 0xc -/* 80062974 0005F8D4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80062978 0005F8D8 7C 7F 1B 78 */ mr r31, r3 -/* 8006297C 0005F8DC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80062980 0005F8E0 80 1F 00 04 */ lwz r0, 4(r31) -/* 80062984 0005F8E4 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 80062988 0005F8E8 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 8006298C 0005F8EC 7C A5 02 14 */ add r5, r5, r0 -/* 80062990 0005F8F0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80062994 0005F8F4 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80062998 0005F8F8 90 A1 00 08 */ stw r5, 8(r1) -/* 8006299C 0005F8FC 90 01 00 10 */ stw r0, 0x10(r1) -/* 800629A0 0005F900 90 01 00 14 */ stw r0, 0x14(r1) -/* 800629A4 0005F904 4B FF DB A5 */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" -/* 800629A8 0005F908 38 00 00 00 */ li r0, 0 -/* 800629AC 0005F90C 90 1F 00 04 */ stw r0, 4(r31) -/* 800629B0 0005F910 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800629B4 0005F914 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800629B8 0005F918 7C 08 03 A6 */ mtlr r0 -/* 800629BC 0005F91C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800629C0 0005F920 4E 80 00 20 */ blr - -.global GetScriptingMemoryAlways__FRC9IGameArea -GetScriptingMemoryAlways__FRC9IGameArea: -/* 800629C4 0005F924 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800629C8 0005F928 7C 08 02 A6 */ mflr r0 -/* 800629CC 0005F92C 90 01 00 74 */ stw r0, 0x74(r1) -/* 800629D0 0005F930 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 800629D4 0005F934 7C 7D 1B 78 */ mr r29, r3 -/* 800629D8 0005F938 7C 83 23 78 */ mr r3, r4 -/* 800629DC 0005F93C 81 84 00 00 */ lwz r12, 0(r4) -/* 800629E0 0005F940 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800629E4 0005F944 7D 89 03 A6 */ mtctr r12 -/* 800629E8 0005F948 4E 80 04 21 */ bctrl -/* 800629EC 0005F94C 3C A0 4D 52 */ lis r5, 0x4D524541@ha -/* 800629F0 0005F950 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 800629F4 0005F954 38 05 45 41 */ addi r0, r5, 0x4D524541@l -/* 800629F8 0005F958 90 61 00 40 */ stw r3, 0x40(r1) -/* 800629FC 0005F95C 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80062A00 0005F960 38 60 00 60 */ li r3, 0x60 -/* 80062A04 0005F964 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80062A08 0005F968 38 A0 00 00 */ li r5, 0 -/* 80062A0C 0005F96C 48 2B 2E 0D */ bl __nwa__FUlPCcPCc -/* 80062A10 0005F970 7C 03 00 D0 */ neg r0, r3 -/* 80062A14 0005F974 7C 7B 1B 78 */ mr r27, r3 -/* 80062A18 0005F978 7C 00 1B 78 */ or r0, r0, r3 -/* 80062A1C 0005F97C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) -/* 80062A20 0005F980 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80062A24 0005F984 90 61 00 38 */ stw r3, 0x38(r1) -/* 80062A28 0005F988 38 65 00 04 */ addi r3, r5, 4 -/* 80062A2C 0005F98C 38 81 00 3C */ addi r4, r1, 0x3c -/* 80062A30 0005F990 98 01 00 34 */ stb r0, 0x34(r1) -/* 80062A34 0005F994 7F 67 DB 78 */ mr r7, r27 -/* 80062A38 0005F998 38 A0 00 00 */ li r5, 0 -/* 80062A3C 0005F99C 38 C0 00 60 */ li r6, 0x60 -/* 80062A40 0005F9A0 48 2D 8C 71 */ bl LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc -/* 80062A44 0005F9A4 28 03 00 00 */ cmplwi r3, 0 -/* 80062A48 0005F9A8 90 61 00 20 */ stw r3, 0x20(r1) -/* 80062A4C 0005F9AC 41 82 02 C8 */ beq lbl_80062D14 -/* 80062A50 0005F9B0 80 7B 00 00 */ lwz r3, 0(r27) -/* 80062A54 0005F9B4 80 9B 00 04 */ lwz r4, 4(r27) -/* 80062A58 0005F9B8 3C 03 21 53 */ addis r0, r3, 0x2153 -/* 80062A5C 0005F9BC 28 00 BE EF */ cmplwi r0, 0xbeef -/* 80062A60 0005F9C0 40 82 02 B4 */ bne lbl_80062D14 -/* 80062A64 0005F9C4 2C 04 00 0C */ cmpwi r4, 0xc -/* 80062A68 0005F9C8 41 80 02 AC */ blt lbl_80062D14 -/* 80062A6C 0005F9CC 2C 04 00 0F */ cmpwi r4, 0xf -/* 80062A70 0005F9D0 41 81 02 A4 */ bgt lbl_80062D14 -/* 80062A74 0005F9D4 83 9B 00 3C */ lwz r28, 0x3c(r27) -/* 80062A78 0005F9D8 38 81 00 3C */ addi r4, r1, 0x3c -/* 80062A7C 0005F9DC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80062A80 0005F9E0 38 A0 00 60 */ li r5, 0x60 -/* 80062A84 0005F9E4 57 86 10 3A */ slwi r6, r28, 2 -/* 80062A88 0005F9E8 83 FB 00 44 */ lwz r31, 0x44(r27) -/* 80062A8C 0005F9EC 38 06 00 1F */ addi r0, r6, 0x1f -/* 80062A90 0005F9F0 38 63 00 04 */ addi r3, r3, 4 -/* 80062A94 0005F9F4 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a -/* 80062A98 0005F9F8 38 E0 00 00 */ li r7, 0 -/* 80062A9C 0005F9FC 7F 66 DB 78 */ mr r6, r27 -/* 80062AA0 0005FA00 48 2D 8C 11 */ bl LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc -/* 80062AA4 0005FA04 38 00 00 00 */ li r0, 0 -/* 80062AA8 0005FA08 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80062AAC 0005FA0C 7F 84 E3 78 */ mr r4, r28 -/* 80062AB0 0005FA10 38 61 00 44 */ addi r3, r1, 0x44 -/* 80062AB4 0005FA14 90 01 00 48 */ stw r0, 0x48(r1) -/* 80062AB8 0005FA18 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80062ABC 0005FA1C 90 01 00 50 */ stw r0, 0x50(r1) -/* 80062AC0 0005FA20 4B FF 71 E9 */ bl "reserve__Q24rstl36vectorFi" -/* 80062AC4 0005FA24 3B 40 00 00 */ li r26, 0 -/* 80062AC8 0005FA28 48 00 00 60 */ b lbl_80062B28 -lbl_80062ACC: -/* 80062ACC 0005FA2C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80062AD0 0005FA30 48 2D C1 B5 */ bl ReadLong__12CInputStreamFv -/* 80062AD4 0005FA34 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80062AD8 0005FA38 7C 7E 1B 78 */ mr r30, r3 -/* 80062ADC 0005FA3C 80 A1 00 4C */ lwz r5, 0x4c(r1) -/* 80062AE0 0005FA40 7C 00 28 00 */ cmpw r0, r5 -/* 80062AE4 0005FA44 41 80 00 1C */ blt lbl_80062B00 -/* 80062AE8 0005FA48 2C 05 00 00 */ cmpwi r5, 0 -/* 80062AEC 0005FA4C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80062AF0 0005FA50 38 80 00 04 */ li r4, 4 -/* 80062AF4 0005FA54 41 82 00 08 */ beq lbl_80062AFC -/* 80062AF8 0005FA58 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80062AFC: -/* 80062AFC 0005FA5C 4B FF 71 AD */ bl "reserve__Q24rstl36vectorFi" -lbl_80062B00: -/* 80062B00 0005FA60 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80062B04 0005FA64 80 61 00 50 */ lwz r3, 0x50(r1) -/* 80062B08 0005FA68 54 00 10 3A */ slwi r0, r0, 2 -/* 80062B0C 0005FA6C 7C 63 02 15 */ add. r3, r3, r0 -/* 80062B10 0005FA70 41 82 00 08 */ beq lbl_80062B18 -/* 80062B14 0005FA74 93 C3 00 00 */ stw r30, 0(r3) -lbl_80062B18: -/* 80062B18 0005FA78 80 61 00 48 */ lwz r3, 0x48(r1) -/* 80062B1C 0005FA7C 3B 5A 00 01 */ addi r26, r26, 1 -/* 80062B20 0005FA80 38 03 00 01 */ addi r0, r3, 1 -/* 80062B24 0005FA84 90 01 00 48 */ stw r0, 0x48(r1) -lbl_80062B28: -/* 80062B28 0005FA88 7C 1A E0 00 */ cmpw r26, r28 -/* 80062B2C 0005FA8C 41 80 FF A0 */ blt lbl_80062ACC -/* 80062B30 0005FA90 2C 1F 00 00 */ cmpwi r31, 0 -/* 80062B34 0005FA94 3B DB 00 60 */ addi r30, r27, 0x60 -/* 80062B38 0005FA98 38 A0 00 00 */ li r5, 0 -/* 80062B3C 0005FA9C 40 81 00 A0 */ ble lbl_80062BDC -/* 80062B40 0005FAA0 2C 1F 00 08 */ cmpwi r31, 8 -/* 80062B44 0005FAA4 38 7F FF F8 */ addi r3, r31, -8 -/* 80062B48 0005FAA8 40 81 00 68 */ ble lbl_80062BB0 -/* 80062B4C 0005FAAC 38 03 00 07 */ addi r0, r3, 7 -/* 80062B50 0005FAB0 80 81 00 50 */ lwz r4, 0x50(r1) -/* 80062B54 0005FAB4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80062B58 0005FAB8 7C 09 03 A6 */ mtctr r0 -/* 80062B5C 0005FABC 2C 03 00 00 */ cmpwi r3, 0 -/* 80062B60 0005FAC0 40 81 00 50 */ ble lbl_80062BB0 -lbl_80062B64: -/* 80062B64 0005FAC4 80 64 00 00 */ lwz r3, 0(r4) -/* 80062B68 0005FAC8 38 A5 00 08 */ addi r5, r5, 8 -/* 80062B6C 0005FACC 80 04 00 04 */ lwz r0, 4(r4) -/* 80062B70 0005FAD0 7F DE 1A 14 */ add r30, r30, r3 -/* 80062B74 0005FAD4 80 64 00 08 */ lwz r3, 8(r4) -/* 80062B78 0005FAD8 7F DE 02 14 */ add r30, r30, r0 -/* 80062B7C 0005FADC 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80062B80 0005FAE0 7F DE 1A 14 */ add r30, r30, r3 -/* 80062B84 0005FAE4 80 64 00 10 */ lwz r3, 0x10(r4) -/* 80062B88 0005FAE8 7F DE 02 14 */ add r30, r30, r0 -/* 80062B8C 0005FAEC 80 04 00 14 */ lwz r0, 0x14(r4) -/* 80062B90 0005FAF0 7F DE 1A 14 */ add r30, r30, r3 -/* 80062B94 0005FAF4 80 64 00 18 */ lwz r3, 0x18(r4) -/* 80062B98 0005FAF8 7F DE 02 14 */ add r30, r30, r0 -/* 80062B9C 0005FAFC 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 80062BA0 0005FB00 7F DE 1A 14 */ add r30, r30, r3 -/* 80062BA4 0005FB04 38 84 00 20 */ addi r4, r4, 0x20 -/* 80062BA8 0005FB08 7F DE 02 14 */ add r30, r30, r0 -/* 80062BAC 0005FB0C 42 00 FF B8 */ bdnz lbl_80062B64 -lbl_80062BB0: -/* 80062BB0 0005FB10 80 81 00 50 */ lwz r4, 0x50(r1) -/* 80062BB4 0005FB14 54 A3 10 3A */ slwi r3, r5, 2 -/* 80062BB8 0005FB18 7C 05 F8 50 */ subf r0, r5, r31 -/* 80062BBC 0005FB1C 7C 64 1A 14 */ add r3, r4, r3 -/* 80062BC0 0005FB20 7C 09 03 A6 */ mtctr r0 -/* 80062BC4 0005FB24 7C 05 F8 00 */ cmpw r5, r31 -/* 80062BC8 0005FB28 40 80 00 14 */ bge lbl_80062BDC -lbl_80062BCC: -/* 80062BCC 0005FB2C 80 03 00 00 */ lwz r0, 0(r3) -/* 80062BD0 0005FB30 38 63 00 04 */ addi r3, r3, 4 -/* 80062BD4 0005FB34 7F DE 02 14 */ add r30, r30, r0 -/* 80062BD8 0005FB38 42 00 FF F4 */ bdnz lbl_80062BCC -lbl_80062BDC: -/* 80062BDC 0005FB3C 80 81 00 50 */ lwz r4, 0x50(r1) -/* 80062BE0 0005FB40 57 E0 10 3A */ slwi r0, r31, 2 -/* 80062BE4 0005FB44 3C 60 80 3D */ lis r3, lbl_803CCFAC@ha -/* 80062BE8 0005FB48 38 A0 00 00 */ li r5, 0 -/* 80062BEC 0005FB4C 7F 44 00 2E */ lwzx r26, r4, r0 -/* 80062BF0 0005FB50 38 83 CF AC */ addi r4, r3, lbl_803CCFAC@l -/* 80062BF4 0005FB54 7F 43 D3 78 */ mr r3, r26 -/* 80062BF8 0005FB58 48 2B 2C 21 */ bl __nwa__FUlPCcPCc -/* 80062BFC 0005FB5C 7C 03 00 D0 */ neg r0, r3 -/* 80062C00 0005FB60 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13) -/* 80062C04 0005FB64 7C 00 1B 78 */ or r0, r0, r3 -/* 80062C08 0005FB68 90 61 00 30 */ stw r3, 0x30(r1) -/* 80062C0C 0005FB6C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80062C10 0005FB70 7C 67 1B 78 */ mr r7, r3 -/* 80062C14 0005FB74 98 01 00 2C */ stb r0, 0x2c(r1) -/* 80062C18 0005FB78 38 64 00 04 */ addi r3, r4, 4 -/* 80062C1C 0005FB7C 7F C5 F3 78 */ mr r5, r30 -/* 80062C20 0005FB80 7F 46 D3 78 */ mr r6, r26 -/* 80062C24 0005FB84 38 81 00 3C */ addi r4, r1, 0x3c -/* 80062C28 0005FB88 48 2D 8A 89 */ bl LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc -/* 80062C2C 0005FB8C 88 A1 00 2C */ lbz r5, 0x2c(r1) -/* 80062C30 0005FB90 38 00 00 00 */ li r0, 0 -/* 80062C34 0005FB94 80 81 00 30 */ lwz r4, 0x30(r1) -/* 80062C38 0005FB98 28 03 00 00 */ cmplwi r3, 0 -/* 80062C3C 0005FB9C 98 BD 00 00 */ stb r5, 0(r29) -/* 80062C40 0005FBA0 90 9D 00 04 */ stw r4, 4(r29) -/* 80062C44 0005FBA4 90 61 00 18 */ stw r3, 0x18(r1) -/* 80062C48 0005FBA8 98 01 00 2C */ stb r0, 0x2c(r1) -/* 80062C4C 0005FBAC 93 5D 00 08 */ stw r26, 8(r29) -/* 80062C50 0005FBB0 41 82 00 18 */ beq lbl_80062C68 -/* 80062C54 0005FBB4 81 83 00 00 */ lwz r12, 0(r3) -/* 80062C58 0005FBB8 38 80 00 01 */ li r4, 1 -/* 80062C5C 0005FBBC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80062C60 0005FBC0 7D 89 03 A6 */ mtctr r12 -/* 80062C64 0005FBC4 4E 80 04 21 */ bctrl -lbl_80062C68: -/* 80062C68 0005FBC8 88 01 00 2C */ lbz r0, 0x2c(r1) -/* 80062C6C 0005FBCC 28 00 00 00 */ cmplwi r0, 0 -/* 80062C70 0005FBD0 41 82 00 0C */ beq lbl_80062C7C -/* 80062C74 0005FBD4 80 61 00 30 */ lwz r3, 0x30(r1) -/* 80062C78 0005FBD8 48 2B 2C B9 */ bl Free__7CMemoryFPCv -lbl_80062C7C: -/* 80062C7C 0005FBDC 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80062C80 0005FBE0 80 61 00 50 */ lwz r3, 0x50(r1) -/* 80062C84 0005FBE4 54 00 10 3A */ slwi r0, r0, 2 -/* 80062C88 0005FBE8 7C 03 02 14 */ add r0, r3, r0 -/* 80062C8C 0005FBEC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80062C90 0005FBF0 7C 64 1B 78 */ mr r4, r3 -/* 80062C94 0005FBF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80062C98 0005FBF8 90 01 00 10 */ stw r0, 0x10(r1) -/* 80062C9C 0005FBFC 90 61 00 08 */ stw r3, 8(r1) -/* 80062CA0 0005FC00 48 00 00 08 */ b lbl_80062CA8 -lbl_80062CA4: -/* 80062CA4 0005FC04 38 84 00 04 */ addi r4, r4, 4 -lbl_80062CA8: -/* 80062CA8 0005FC08 7C 04 00 40 */ cmplw r4, r0 -/* 80062CAC 0005FC0C 40 82 FF F8 */ bne lbl_80062CA4 -/* 80062CB0 0005FC10 28 03 00 00 */ cmplwi r3, 0 -/* 80062CB4 0005FC14 41 82 00 08 */ beq lbl_80062CBC -/* 80062CB8 0005FC18 48 2B 2C 79 */ bl Free__7CMemoryFPCv -lbl_80062CBC: -/* 80062CBC 0005FC1C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80062CC0 0005FC20 28 03 00 00 */ cmplwi r3, 0 -/* 80062CC4 0005FC24 41 82 00 18 */ beq lbl_80062CDC -/* 80062CC8 0005FC28 81 83 00 00 */ lwz r12, 0(r3) -/* 80062CCC 0005FC2C 38 80 00 01 */ li r4, 1 -/* 80062CD0 0005FC30 81 8C 00 08 */ lwz r12, 8(r12) -/* 80062CD4 0005FC34 7D 89 03 A6 */ mtctr r12 -/* 80062CD8 0005FC38 4E 80 04 21 */ bctrl -lbl_80062CDC: -/* 80062CDC 0005FC3C 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80062CE0 0005FC40 28 03 00 00 */ cmplwi r3, 0 -/* 80062CE4 0005FC44 41 82 00 18 */ beq lbl_80062CFC -/* 80062CE8 0005FC48 81 83 00 00 */ lwz r12, 0(r3) -/* 80062CEC 0005FC4C 38 80 00 01 */ li r4, 1 -/* 80062CF0 0005FC50 81 8C 00 08 */ lwz r12, 8(r12) -/* 80062CF4 0005FC54 7D 89 03 A6 */ mtctr r12 -/* 80062CF8 0005FC58 4E 80 04 21 */ bctrl -lbl_80062CFC: -/* 80062CFC 0005FC5C 88 01 00 34 */ lbz r0, 0x34(r1) -/* 80062D00 0005FC60 28 00 00 00 */ cmplwi r0, 0 -/* 80062D04 0005FC64 41 82 00 6C */ beq lbl_80062D70 -/* 80062D08 0005FC68 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80062D0C 0005FC6C 48 2B 2C 25 */ bl Free__7CMemoryFPCv -/* 80062D10 0005FC70 48 00 00 60 */ b lbl_80062D70 -lbl_80062D14: -/* 80062D14 0005FC74 38 60 00 00 */ li r3, 0 -/* 80062D18 0005FC78 98 7D 00 00 */ stb r3, 0(r29) -/* 80062D1C 0005FC7C 90 7D 00 04 */ stw r3, 4(r29) -/* 80062D20 0005FC80 98 61 00 24 */ stb r3, 0x24(r1) -/* 80062D24 0005FC84 80 0D 82 E0 */ lwz r0, lbl_805A6EA0@sda21(r13) -/* 80062D28 0005FC88 90 61 00 28 */ stw r3, 0x28(r1) -/* 80062D2C 0005FC8C 98 61 00 24 */ stb r3, 0x24(r1) -/* 80062D30 0005FC90 90 1D 00 08 */ stw r0, 8(r29) -/* 80062D34 0005FC94 48 00 00 08 */ b lbl_80062D3C -/* 80062D38 0005FC98 48 2B 2B F9 */ bl Free__7CMemoryFPCv -lbl_80062D3C: -/* 80062D3C 0005FC9C 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80062D40 0005FCA0 28 03 00 00 */ cmplwi r3, 0 -/* 80062D44 0005FCA4 41 82 00 18 */ beq lbl_80062D5C -/* 80062D48 0005FCA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80062D4C 0005FCAC 38 80 00 01 */ li r4, 1 -/* 80062D50 0005FCB0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80062D54 0005FCB4 7D 89 03 A6 */ mtctr r12 -/* 80062D58 0005FCB8 4E 80 04 21 */ bctrl -lbl_80062D5C: -/* 80062D5C 0005FCBC 88 01 00 34 */ lbz r0, 0x34(r1) -/* 80062D60 0005FCC0 28 00 00 00 */ cmplwi r0, 0 -/* 80062D64 0005FCC4 41 82 00 0C */ beq lbl_80062D70 -/* 80062D68 0005FCC8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80062D6C 0005FCCC 48 2B 2B C5 */ bl Free__7CMemoryFPCv -lbl_80062D70: -/* 80062D70 0005FCD0 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 80062D74 0005FCD4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80062D78 0005FCD8 7C 08 03 A6 */ mtlr r0 -/* 80062D7C 0005FCDC 38 21 00 70 */ addi r1, r1, 0x70 -/* 80062D80 0005FCE0 4E 80 00 20 */ blr - -.global VerifyTokenList__9CGameAreaFv -VerifyTokenList__9CGameAreaFv: -/* 80062D84 0005FCE4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80062D88 0005FCE8 7C 08 02 A6 */ mflr r0 -/* 80062D8C 0005FCEC 90 01 00 54 */ stw r0, 0x54(r1) -/* 80062D90 0005FCF0 BF 21 00 34 */ stmw r25, 0x34(r1) -/* 80062D94 0005FCF4 7C 7A 1B 78 */ mr r26, r3 -/* 80062D98 0005FCF8 7C 99 23 78 */ mr r25, r4 -/* 80062D9C 0005FCFC 80 03 00 E0 */ lwz r0, 0xe0(r3) -/* 80062DA0 0005FD00 2C 00 00 00 */ cmpwi r0, 0 -/* 80062DA4 0005FD04 40 82 01 38 */ bne lbl_80062EDC -/* 80062DA8 0005FD08 48 00 01 49 */ bl ClearTokenList__9CGameAreaFv -/* 80062DAC 0005FD0C 80 1A 00 B0 */ lwz r0, 0xb0(r26) -/* 80062DB0 0005FD10 80 79 08 C8 */ lwz r3, 0x8c8(r25) -/* 80062DB4 0005FD14 2C 00 00 00 */ cmpwi r0, 0 -/* 80062DB8 0005FD18 83 E3 00 00 */ lwz r31, 0(r3) -/* 80062DBC 0005FD1C 41 82 01 20 */ beq lbl_80062EDC -/* 80062DC0 0005FD20 80 7A 00 C0 */ lwz r3, 0xc0(r26) -/* 80062DC4 0005FD24 3B A3 FF FF */ addi r29, r3, -1 -/* 80062DC8 0005FD28 57 BE 10 3A */ slwi r30, r29, 2 -/* 80062DCC 0005FD2C 48 00 01 08 */ b lbl_80062ED4 -lbl_80062DD0: -/* 80062DD0 0005FD30 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80062DD4 0005FD34 7F E3 FB 78 */ mr r3, r31 -/* 80062DD8 0005FD38 38 81 00 10 */ addi r4, r1, 0x10 -/* 80062DDC 0005FD3C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80062DE0 0005FD40 80 1A 00 04 */ lwz r0, 4(r26) -/* 80062DE4 0005FD44 93 A1 00 08 */ stw r29, 8(r1) -/* 80062DE8 0005FD48 90 01 00 10 */ stw r0, 0x10(r1) -/* 80062DEC 0005FD4C 48 1D 14 85 */ bl IsLayerActive__16CWorldLayerStateFii -/* 80062DF0 0005FD50 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80062DF4 0005FD54 41 82 00 D8 */ beq lbl_80062ECC -/* 80062DF8 0005FD58 80 1A 00 C0 */ lwz r0, 0xc0(r26) -/* 80062DFC 0005FD5C 38 7D 00 01 */ addi r3, r29, 1 -/* 80062E00 0005FD60 80 9A 00 C8 */ lwz r4, 0xc8(r26) -/* 80062E04 0005FD64 7C 03 00 00 */ cmpw r3, r0 -/* 80062E08 0005FD68 7C A4 F0 2E */ lwzx r5, r4, r30 -/* 80062E0C 0005FD6C 40 80 00 10 */ bge lbl_80062E1C -/* 80062E10 0005FD70 54 60 10 3A */ slwi r0, r3, 2 -/* 80062E14 0005FD74 7F 84 00 2E */ lwzx r28, r4, r0 -/* 80062E18 0005FD78 48 00 00 08 */ b lbl_80062E20 -lbl_80062E1C: -/* 80062E1C 0005FD7C 83 9A 00 B0 */ lwz r28, 0xb0(r26) -lbl_80062E20: -/* 80062E20 0005FD80 7C BB 2B 78 */ mr r27, r5 -/* 80062E24 0005FD84 54 B9 18 38 */ slwi r25, r5, 3 -/* 80062E28 0005FD88 48 00 00 9C */ b lbl_80062EC4 -lbl_80062E2C: -/* 80062E2C 0005FD8C 80 1A 00 B8 */ lwz r0, 0xb8(r26) -/* 80062E30 0005FD90 38 61 00 14 */ addi r3, r1, 0x14 -/* 80062E34 0005FD94 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80062E38 0005FD98 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80062E3C 0005FD9C 7C C0 CA 14 */ add r6, r0, r25 -/* 80062E40 0005FDA0 80 E6 00 00 */ lwz r7, 0(r6) -/* 80062E44 0005FDA4 80 06 00 04 */ lwz r0, 4(r6) -/* 80062E48 0005FDA8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80062E4C 0005FDAC 90 E1 00 20 */ stw r7, 0x20(r1) -/* 80062E50 0005FDB0 81 84 00 00 */ lwz r12, 0(r4) -/* 80062E54 0005FDB4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80062E58 0005FDB8 7D 89 03 A6 */ mtctr r12 -/* 80062E5C 0005FDBC 4E 80 04 21 */ bctrl -/* 80062E60 0005FDC0 80 1A 00 E0 */ lwz r0, 0xe0(r26) -/* 80062E64 0005FDC4 80 BA 00 E4 */ lwz r5, 0xe4(r26) -/* 80062E68 0005FDC8 7C 00 28 00 */ cmpw r0, r5 -/* 80062E6C 0005FDCC 41 80 00 1C */ blt lbl_80062E88 -/* 80062E70 0005FDD0 2C 05 00 00 */ cmpwi r5, 0 -/* 80062E74 0005FDD4 38 7A 00 DC */ addi r3, r26, 0xdc -/* 80062E78 0005FDD8 38 80 00 04 */ li r4, 4 -/* 80062E7C 0005FDDC 41 82 00 08 */ beq lbl_80062E84 -/* 80062E80 0005FDE0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80062E84: -/* 80062E84 0005FDE4 4B FA 5A D9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_80062E88: -/* 80062E88 0005FDE8 80 1A 00 E0 */ lwz r0, 0xe0(r26) -/* 80062E8C 0005FDEC 80 7A 00 E8 */ lwz r3, 0xe8(r26) -/* 80062E90 0005FDF0 54 00 18 38 */ slwi r0, r0, 3 -/* 80062E94 0005FDF4 7C 63 02 15 */ add. r3, r3, r0 -/* 80062E98 0005FDF8 41 82 00 0C */ beq lbl_80062EA4 -/* 80062E9C 0005FDFC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80062EA0 0005FE00 48 2D E0 09 */ bl __ct__6CTokenFRC6CToken -lbl_80062EA4: -/* 80062EA4 0005FE04 80 BA 00 E0 */ lwz r5, 0xe0(r26) -/* 80062EA8 0005FE08 38 61 00 14 */ addi r3, r1, 0x14 -/* 80062EAC 0005FE0C 38 80 FF FF */ li r4, -1 -/* 80062EB0 0005FE10 38 05 00 01 */ addi r0, r5, 1 -/* 80062EB4 0005FE14 90 1A 00 E0 */ stw r0, 0xe0(r26) -/* 80062EB8 0005FE18 48 2D DF 89 */ bl __dt__6CTokenFv -/* 80062EBC 0005FE1C 3B 39 00 08 */ addi r25, r25, 8 -/* 80062EC0 0005FE20 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80062EC4: -/* 80062EC4 0005FE24 7C 1B E0 00 */ cmpw r27, r28 -/* 80062EC8 0005FE28 41 80 FF 64 */ blt lbl_80062E2C -lbl_80062ECC: -/* 80062ECC 0005FE2C 3B DE FF FC */ addi r30, r30, -4 -/* 80062ED0 0005FE30 3B BD FF FF */ addi r29, r29, -1 -lbl_80062ED4: -/* 80062ED4 0005FE34 2C 1D 00 00 */ cmpwi r29, 0 -/* 80062ED8 0005FE38 40 80 FE F8 */ bge lbl_80062DD0 -lbl_80062EDC: -/* 80062EDC 0005FE3C BB 21 00 34 */ lmw r25, 0x34(r1) -/* 80062EE0 0005FE40 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80062EE4 0005FE44 7C 08 03 A6 */ mtlr r0 -/* 80062EE8 0005FE48 38 21 00 50 */ addi r1, r1, 0x50 -/* 80062EEC 0005FE4C 4E 80 00 20 */ blr - -.global ClearTokenList__9CGameAreaFv -ClearTokenList__9CGameAreaFv: -/* 80062EF0 0005FE50 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80062EF4 0005FE54 7C 08 02 A6 */ mflr r0 -/* 80062EF8 0005FE58 90 01 00 34 */ stw r0, 0x34(r1) -/* 80062EFC 0005FE5C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80062F00 0005FE60 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80062F04 0005FE64 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80062F08 0005FE68 7C 7D 1B 78 */ mr r29, r3 -/* 80062F0C 0005FE6C 80 03 00 E4 */ lwz r0, 0xe4(r3) -/* 80062F10 0005FE70 2C 00 00 00 */ cmpwi r0, 0 -/* 80062F14 0005FE74 40 82 00 14 */ bne lbl_80062F28 -/* 80062F18 0005FE78 80 9D 00 B0 */ lwz r4, 0xb0(r29) -/* 80062F1C 0005FE7C 38 7D 00 DC */ addi r3, r29, 0xdc -/* 80062F20 0005FE80 4B FA 5A 3D */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 80062F24 0005FE84 48 00 00 48 */ b lbl_80062F6C -lbl_80062F28: -/* 80062F28 0005FE88 80 1D 00 E0 */ lwz r0, 0xe0(r29) -/* 80062F2C 0005FE8C 83 DD 00 E8 */ lwz r30, 0xe8(r29) -/* 80062F30 0005FE90 54 00 18 38 */ slwi r0, r0, 3 -/* 80062F34 0005FE94 7F FE 02 14 */ add r31, r30, r0 -/* 80062F38 0005FE98 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80062F3C 0005FE9C 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80062F40 0005FEA0 93 E1 00 10 */ stw r31, 0x10(r1) -/* 80062F44 0005FEA4 93 C1 00 08 */ stw r30, 8(r1) -/* 80062F48 0005FEA8 48 00 00 14 */ b lbl_80062F5C -lbl_80062F4C: -/* 80062F4C 0005FEAC 7F C3 F3 78 */ mr r3, r30 -/* 80062F50 0005FEB0 38 80 FF FF */ li r4, -1 -/* 80062F54 0005FEB4 48 2D DE ED */ bl __dt__6CTokenFv -/* 80062F58 0005FEB8 3B DE 00 08 */ addi r30, r30, 8 -lbl_80062F5C: -/* 80062F5C 0005FEBC 7C 1E F8 40 */ cmplw r30, r31 -/* 80062F60 0005FEC0 40 82 FF EC */ bne lbl_80062F4C -/* 80062F64 0005FEC4 38 00 00 00 */ li r0, 0 -/* 80062F68 0005FEC8 90 1D 00 E0 */ stw r0, 0xe0(r29) -lbl_80062F6C: -/* 80062F6C 0005FECC 88 1D 00 F0 */ lbz r0, 0xf0(r29) -/* 80062F70 0005FED0 38 60 00 00 */ li r3, 0 -/* 80062F74 0005FED4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80062F78 0005FED8 98 1D 00 F0 */ stb r0, 0xf0(r29) -/* 80062F7C 0005FEDC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80062F80 0005FEE0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80062F84 0005FEE4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80062F88 0005FEE8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80062F8C 0005FEEC 7C 08 03 A6 */ mtlr r0 -/* 80062F90 0005FEF0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80062F94 0005FEF4 4E 80 00 20 */ blr - -.global __dt__9CGameAreaFv -__dt__9CGameAreaFv: -/* 80062F98 0005FEF8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80062F9C 0005FEFC 7C 08 02 A6 */ mflr r0 -/* 80062FA0 0005FF00 90 01 00 74 */ stw r0, 0x74(r1) -/* 80062FA4 0005FF04 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80062FA8 0005FF08 7C 9F 23 78 */ mr r31, r4 -/* 80062FAC 0005FF0C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80062FB0 0005FF10 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80062FB4 0005FF14 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80062FB8 0005FF18 93 81 00 60 */ stw r28, 0x60(r1) -/* 80062FBC 0005FF1C 41 82 02 2C */ beq lbl_800631E8 -/* 80062FC0 0005FF20 3C 80 80 3E */ lis r4, lbl_803DA234@ha -/* 80062FC4 0005FF24 38 04 A2 34 */ addi r0, r4, lbl_803DA234@l -/* 80062FC8 0005FF28 90 1E 00 00 */ stw r0, 0(r30) -/* 80062FCC 0005FF2C 88 1E 00 F0 */ lbz r0, 0xf0(r30) -/* 80062FD0 0005FF30 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80062FD4 0005FF34 41 82 00 14 */ beq lbl_80062FE8 -/* 80062FD8 0005FF38 48 00 0A 0D */ bl GetPostConstructedSize__9CGameAreaCFv -/* 80062FDC 0005FF3C 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) -/* 80062FE0 0005FF40 7C 03 00 50 */ subf r0, r3, r0 -/* 80062FE4 0005FF44 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) -lbl_80062FE8: -/* 80062FE8 0005FF48 7F C3 F3 78 */ mr r3, r30 -/* 80062FEC 0005FF4C 48 00 0A 79 */ bl GetPreConstructedSize__9CGameAreaCFv -/* 80062FF0 0005FF50 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) -/* 80062FF4 0005FF54 7C 03 00 50 */ subf r0, r3, r0 -/* 80062FF8 0005FF58 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) -/* 80062FFC 0005FF5C 88 1E 00 F0 */ lbz r0, 0xf0(r30) -/* 80063000 0005FF60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80063004 0005FF64 41 82 00 10 */ beq lbl_80063014 -/* 80063008 0005FF68 7F C3 F3 78 */ mr r3, r30 -/* 8006300C 0005FF6C 4B FF C7 A1 */ bl RemoveStaticGeometry__9CGameAreaFv -/* 80063010 0005FF70 48 00 00 18 */ b lbl_80063028 -lbl_80063014: -/* 80063014 0005FF74 7F C3 F3 78 */ mr r3, r30 -/* 80063018 0005FF78 38 80 00 00 */ li r4, 0 -/* 8006301C 0005FF7C 4B FF D9 9D */ bl Invalidate__9CGameAreaFP13CStateManager -/* 80063020 0005FF80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80063024 0005FF84 41 82 FF F0 */ beq lbl_80063014 -lbl_80063028: -/* 80063028 0005FF88 38 7E 01 2C */ addi r3, r30, 0x12c -/* 8006302C 0005FF8C 38 80 FF FF */ li r4, -1 -/* 80063030 0005FF90 48 00 01 DD */ bl sub_8006320c -/* 80063034 0005FF94 38 7E 01 10 */ addi r3, r30, 0x110 -/* 80063038 0005FF98 38 80 FF FF */ li r4, -1 -/* 8006303C 0005FF9C 4B FF DC 89 */ bl sub_80060cc4 -/* 80063040 0005FFA0 38 7E 00 F8 */ addi r3, r30, 0xf8 -/* 80063044 0005FFA4 38 80 FF FF */ li r4, -1 -/* 80063048 0005FFA8 48 00 16 FD */ bl sub_80064744 -/* 8006304C 0005FFAC 34 1E 00 DC */ addic. r0, r30, 0xdc -/* 80063050 0005FFB0 41 82 00 50 */ beq lbl_800630A0 -/* 80063054 0005FFB4 80 1E 00 E0 */ lwz r0, 0xe0(r30) -/* 80063058 0005FFB8 83 9E 00 E8 */ lwz r28, 0xe8(r30) -/* 8006305C 0005FFBC 54 00 18 38 */ slwi r0, r0, 3 -/* 80063060 0005FFC0 7F BC 02 14 */ add r29, r28, r0 -/* 80063064 0005FFC4 93 81 00 4C */ stw r28, 0x4c(r1) -/* 80063068 0005FFC8 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8006306C 0005FFCC 93 A1 00 50 */ stw r29, 0x50(r1) -/* 80063070 0005FFD0 93 81 00 48 */ stw r28, 0x48(r1) -/* 80063074 0005FFD4 48 00 00 14 */ b lbl_80063088 -lbl_80063078: -/* 80063078 0005FFD8 7F 83 E3 78 */ mr r3, r28 -/* 8006307C 0005FFDC 38 80 FF FF */ li r4, -1 -/* 80063080 0005FFE0 48 2D DD C1 */ bl __dt__6CTokenFv -/* 80063084 0005FFE4 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80063088: -/* 80063088 0005FFE8 7C 1C E8 40 */ cmplw r28, r29 -/* 8006308C 0005FFEC 40 82 FF EC */ bne lbl_80063078 -/* 80063090 0005FFF0 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 80063094 0005FFF4 28 03 00 00 */ cmplwi r3, 0 -/* 80063098 0005FFF8 41 82 00 08 */ beq lbl_800630A0 -/* 8006309C 0005FFFC 48 2B 28 95 */ bl Free__7CMemoryFPCv -lbl_800630A0: -/* 800630A0 00060000 38 7E 00 CC */ addi r3, r30, 0xcc -/* 800630A4 00060004 38 80 FF FF */ li r4, -1 -/* 800630A8 00060008 4B FF 3F 41 */ bl sub_80056fe8 -/* 800630AC 0006000C 34 1E 00 BC */ addic. r0, r30, 0xbc -/* 800630B0 00060010 41 82 00 44 */ beq lbl_800630F4 -/* 800630B4 00060014 80 1E 00 C0 */ lwz r0, 0xc0(r30) -/* 800630B8 00060018 80 7E 00 C8 */ lwz r3, 0xc8(r30) -/* 800630BC 0006001C 54 00 10 3A */ slwi r0, r0, 2 -/* 800630C0 00060020 7C 03 02 14 */ add r0, r3, r0 -/* 800630C4 00060024 90 61 00 3C */ stw r3, 0x3c(r1) -/* 800630C8 00060028 7C 64 1B 78 */ mr r4, r3 -/* 800630CC 0006002C 90 01 00 44 */ stw r0, 0x44(r1) -/* 800630D0 00060030 90 01 00 40 */ stw r0, 0x40(r1) -/* 800630D4 00060034 90 61 00 38 */ stw r3, 0x38(r1) -/* 800630D8 00060038 48 00 00 08 */ b lbl_800630E0 -lbl_800630DC: -/* 800630DC 0006003C 38 84 00 04 */ addi r4, r4, 4 -lbl_800630E0: -/* 800630E0 00060040 7C 04 00 40 */ cmplw r4, r0 -/* 800630E4 00060044 40 82 FF F8 */ bne lbl_800630DC -/* 800630E8 00060048 28 03 00 00 */ cmplwi r3, 0 -/* 800630EC 0006004C 41 82 00 08 */ beq lbl_800630F4 -/* 800630F0 00060050 48 2B 28 41 */ bl Free__7CMemoryFPCv -lbl_800630F4: -/* 800630F4 00060054 34 1E 00 AC */ addic. r0, r30, 0xac -/* 800630F8 00060058 41 82 00 44 */ beq lbl_8006313C -/* 800630FC 0006005C 80 1E 00 B0 */ lwz r0, 0xb0(r30) -/* 80063100 00060060 80 7E 00 B8 */ lwz r3, 0xb8(r30) -/* 80063104 00060064 54 00 18 38 */ slwi r0, r0, 3 -/* 80063108 00060068 7C 03 02 14 */ add r0, r3, r0 -/* 8006310C 0006006C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80063110 00060070 7C 64 1B 78 */ mr r4, r3 -/* 80063114 00060074 90 01 00 34 */ stw r0, 0x34(r1) -/* 80063118 00060078 90 01 00 30 */ stw r0, 0x30(r1) -/* 8006311C 0006007C 90 61 00 28 */ stw r3, 0x28(r1) -/* 80063120 00060080 48 00 00 08 */ b lbl_80063128 -lbl_80063124: -/* 80063124 00060084 38 84 00 08 */ addi r4, r4, 8 -lbl_80063128: -/* 80063128 00060088 7C 04 00 40 */ cmplw r4, r0 -/* 8006312C 0006008C 40 82 FF F8 */ bne lbl_80063124 -/* 80063130 00060090 28 03 00 00 */ cmplwi r3, 0 -/* 80063134 00060094 41 82 00 08 */ beq lbl_8006313C -/* 80063138 00060098 48 2B 27 F9 */ bl Free__7CMemoryFPCv -lbl_8006313C: -/* 8006313C 0006009C 34 1E 00 9C */ addic. r0, r30, 0x9c -/* 80063140 000600A0 41 82 00 44 */ beq lbl_80063184 -/* 80063144 000600A4 80 1E 00 A0 */ lwz r0, 0xa0(r30) -/* 80063148 000600A8 80 7E 00 A8 */ lwz r3, 0xa8(r30) -/* 8006314C 000600AC 54 00 18 38 */ slwi r0, r0, 3 -/* 80063150 000600B0 7C 03 02 14 */ add r0, r3, r0 -/* 80063154 000600B4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80063158 000600B8 7C 64 1B 78 */ mr r4, r3 -/* 8006315C 000600BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80063160 000600C0 90 01 00 20 */ stw r0, 0x20(r1) -/* 80063164 000600C4 90 61 00 18 */ stw r3, 0x18(r1) -/* 80063168 000600C8 48 00 00 08 */ b lbl_80063170 -lbl_8006316C: -/* 8006316C 000600CC 38 84 00 08 */ addi r4, r4, 8 -lbl_80063170: -/* 80063170 000600D0 7C 04 00 40 */ cmplw r4, r0 -/* 80063174 000600D4 40 82 FF F8 */ bne lbl_8006316C -/* 80063178 000600D8 28 03 00 00 */ cmplwi r3, 0 -/* 8006317C 000600DC 41 82 00 08 */ beq lbl_80063184 -/* 80063180 000600E0 48 2B 27 B1 */ bl Free__7CMemoryFPCv -lbl_80063184: -/* 80063184 000600E4 34 1E 00 8C */ addic. r0, r30, 0x8c -/* 80063188 000600E8 41 82 00 44 */ beq lbl_800631CC -/* 8006318C 000600EC 80 1E 00 90 */ lwz r0, 0x90(r30) -/* 80063190 000600F0 80 7E 00 98 */ lwz r3, 0x98(r30) -/* 80063194 000600F4 54 00 08 3C */ slwi r0, r0, 1 -/* 80063198 000600F8 7C 03 02 14 */ add r0, r3, r0 -/* 8006319C 000600FC 90 61 00 0C */ stw r3, 0xc(r1) -/* 800631A0 00060100 7C 64 1B 78 */ mr r4, r3 -/* 800631A4 00060104 90 01 00 14 */ stw r0, 0x14(r1) -/* 800631A8 00060108 90 01 00 10 */ stw r0, 0x10(r1) -/* 800631AC 0006010C 90 61 00 08 */ stw r3, 8(r1) -/* 800631B0 00060110 48 00 00 08 */ b lbl_800631B8 -lbl_800631B4: -/* 800631B4 00060114 38 84 00 02 */ addi r4, r4, 2 -lbl_800631B8: -/* 800631B8 00060118 7C 04 00 40 */ cmplw r4, r0 -/* 800631BC 0006011C 40 82 FF F8 */ bne lbl_800631B4 -/* 800631C0 00060120 28 03 00 00 */ cmplwi r3, 0 -/* 800631C4 00060124 41 82 00 08 */ beq lbl_800631CC -/* 800631C8 00060128 48 2B 27 69 */ bl Free__7CMemoryFPCv -lbl_800631CC: -/* 800631CC 0006012C 7F C3 F3 78 */ mr r3, r30 -/* 800631D0 00060130 38 80 00 00 */ li r4, 0 -/* 800631D4 00060134 48 00 09 09 */ bl __dt__9IGameAreaFv -/* 800631D8 00060138 7F E0 07 35 */ extsh. r0, r31 -/* 800631DC 0006013C 40 81 00 0C */ ble lbl_800631E8 -/* 800631E0 00060140 7F C3 F3 78 */ mr r3, r30 -/* 800631E4 00060144 48 2B 27 4D */ bl Free__7CMemoryFPCv -lbl_800631E8: -/* 800631E8 00060148 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800631EC 0006014C 7F C3 F3 78 */ mr r3, r30 -/* 800631F0 00060150 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800631F4 00060154 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800631F8 00060158 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 800631FC 0006015C 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80063200 00060160 7C 08 03 A6 */ mtlr r0 -/* 80063204 00060164 38 21 00 70 */ addi r1, r1, 0x70 -/* 80063208 00060168 4E 80 00 20 */ blr - -.global sub_8006320c -sub_8006320c: -/* 8006320C 0006016C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80063210 00060170 7C 08 02 A6 */ mflr r0 -/* 80063214 00060174 90 01 00 14 */ stw r0, 0x14(r1) -/* 80063218 00060178 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006321C 0006017C 7C 9F 23 78 */ mr r31, r4 -/* 80063220 00060180 93 C1 00 08 */ stw r30, 8(r1) -/* 80063224 00060184 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80063228 00060188 41 82 00 20 */ beq lbl_80063248 -/* 8006322C 0006018C 80 7E 00 00 */ lwz r3, 0(r30) -/* 80063230 00060190 38 80 00 01 */ li r4, 1 -/* 80063234 00060194 4B FF CE E5 */ bl __dt__Q29CGameArea16CPostConstructedFv -/* 80063238 00060198 7F E0 07 35 */ extsh. r0, r31 -/* 8006323C 0006019C 40 81 00 0C */ ble lbl_80063248 -/* 80063240 000601A0 7F C3 F3 78 */ mr r3, r30 -/* 80063244 000601A4 48 2B 26 ED */ bl Free__7CMemoryFPCv -lbl_80063248: -/* 80063248 000601A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006324C 000601AC 7F C3 F3 78 */ mr r3, r30 -/* 80063250 000601B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80063254 000601B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80063258 000601B8 7C 08 03 A6 */ mtlr r0 -/* 8006325C 000601BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80063260 000601C0 4E 80 00 20 */ blr - -.global __ct__9CGameAreaFR12CInputStreami -__ct__9CGameAreaFR12CInputStreami: -/* 80063264 000601C4 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 80063268 000601C8 7C 08 02 A6 */ mflr r0 -/* 8006326C 000601CC 3D 00 80 3E */ lis r8, lbl_803DA26C@ha -/* 80063270 000601D0 3C E0 80 3E */ lis r7, lbl_803DA234@ha -/* 80063274 000601D4 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 80063278 000601D8 38 07 A2 34 */ addi r0, r7, lbl_803DA234@l -/* 8006327C 000601DC BF 41 00 D8 */ stmw r26, 0xd8(r1) -/* 80063280 000601E0 7C 7D 1B 78 */ mr r29, r3 -/* 80063284 000601E4 38 68 A2 6C */ addi r3, r8, lbl_803DA26C@l -/* 80063288 000601E8 7C 9E 23 78 */ mr r30, r4 -/* 8006328C 000601EC 7C DF 33 78 */ mr r31, r6 -/* 80063290 000601F0 90 7D 00 00 */ stw r3, 0(r29) -/* 80063294 000601F4 7F C3 F3 78 */ mr r3, r30 -/* 80063298 000601F8 90 1D 00 00 */ stw r0, 0(r29) -/* 8006329C 000601FC 90 BD 00 04 */ stw r5, 4(r29) -/* 800632A0 00060200 48 2D B9 E5 */ bl ReadLong__12CInputStreamFv -/* 800632A4 00060204 90 7D 00 08 */ stw r3, 8(r29) -/* 800632A8 00060208 7F C4 F3 78 */ mr r4, r30 -/* 800632AC 0006020C 38 7D 00 0C */ addi r3, r29, 0xc -/* 800632B0 00060210 48 2B 00 2D */ bl __ct__12CTransform4fFR12CInputStream -/* 800632B4 00060214 38 61 00 58 */ addi r3, r1, 0x58 -/* 800632B8 00060218 38 9D 00 0C */ addi r4, r29, 0xc -/* 800632BC 0006021C 48 2A F4 25 */ bl GetInverse__12CTransform4fCFv -/* 800632C0 00060220 38 7D 00 3C */ addi r3, r29, 0x3c -/* 800632C4 00060224 38 81 00 58 */ addi r4, r1, 0x58 -/* 800632C8 00060228 48 2A F8 AD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800632CC 0006022C 7F C4 F3 78 */ mr r4, r30 -/* 800632D0 00060230 38 7D 00 6C */ addi r3, r29, 0x6c -/* 800632D4 00060234 48 2D 52 69 */ bl __ct__6CAABoxFR12CInputStream -/* 800632D8 00060238 7F C3 F3 78 */ mr r3, r30 -/* 800632DC 0006023C 48 2D B9 A9 */ bl ReadLong__12CInputStreamFv -/* 800632E0 00060240 2C 1F 00 0F */ cmpwi r31, 0xf -/* 800632E4 00060244 90 7D 00 84 */ stw r3, 0x84(r29) -/* 800632E8 00060248 40 81 00 10 */ ble lbl_800632F8 -/* 800632EC 0006024C 7F C3 F3 78 */ mr r3, r30 -/* 800632F0 00060250 48 2D B9 95 */ bl ReadLong__12CInputStreamFv -/* 800632F4 00060254 48 00 00 08 */ b lbl_800632FC -lbl_800632F8: -/* 800632F8 00060258 38 60 FF FF */ li r3, -1 -lbl_800632FC: -/* 800632FC 0006025C 90 7D 00 88 */ stw r3, 0x88(r29) -/* 80063300 00060260 38 00 00 00 */ li r0, 0 -/* 80063304 00060264 7F C3 F3 78 */ mr r3, r30 -/* 80063308 00060268 90 1D 00 90 */ stw r0, 0x90(r29) -/* 8006330C 0006026C 90 1D 00 94 */ stw r0, 0x94(r29) -/* 80063310 00060270 90 1D 00 98 */ stw r0, 0x98(r29) -/* 80063314 00060274 48 2D B9 71 */ bl ReadLong__12CInputStreamFv -/* 80063318 00060278 7C 7A 1B 78 */ mr r26, r3 -/* 8006331C 0006027C 38 7D 00 8C */ addi r3, r29, 0x8c -/* 80063320 00060280 7F 44 D3 78 */ mr r4, r26 -/* 80063324 00060284 48 00 0F DD */ bl "reserve__Q24rstl37vectorFi" -/* 80063328 00060288 3B 60 00 00 */ li r27, 0 -/* 8006332C 0006028C 48 00 00 60 */ b lbl_8006338C -lbl_80063330: -/* 80063330 00060290 7F C3 F3 78 */ mr r3, r30 -/* 80063334 00060294 48 2D B9 7D */ bl ReadShort__12CInputStreamFv -/* 80063338 00060298 80 1D 00 90 */ lwz r0, 0x90(r29) -/* 8006333C 0006029C 7C 7C 1B 78 */ mr r28, r3 -/* 80063340 000602A0 80 BD 00 94 */ lwz r5, 0x94(r29) -/* 80063344 000602A4 7C 00 28 00 */ cmpw r0, r5 -/* 80063348 000602A8 41 80 00 1C */ blt lbl_80063364 -/* 8006334C 000602AC 2C 05 00 00 */ cmpwi r5, 0 -/* 80063350 000602B0 38 7D 00 8C */ addi r3, r29, 0x8c -/* 80063354 000602B4 38 80 00 04 */ li r4, 4 -/* 80063358 000602B8 41 82 00 08 */ beq lbl_80063360 -/* 8006335C 000602BC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80063360: -/* 80063360 000602C0 48 00 0F A1 */ bl "reserve__Q24rstl37vectorFi" -lbl_80063364: -/* 80063364 000602C4 80 1D 00 90 */ lwz r0, 0x90(r29) -/* 80063368 000602C8 80 7D 00 98 */ lwz r3, 0x98(r29) -/* 8006336C 000602CC 54 00 08 3C */ slwi r0, r0, 1 -/* 80063370 000602D0 7C 63 02 15 */ add. r3, r3, r0 -/* 80063374 000602D4 41 82 00 08 */ beq lbl_8006337C -/* 80063378 000602D8 B3 83 00 00 */ sth r28, 0(r3) -lbl_8006337C: -/* 8006337C 000602DC 80 7D 00 90 */ lwz r3, 0x90(r29) -/* 80063380 000602E0 3B 7B 00 01 */ addi r27, r27, 1 -/* 80063384 000602E4 38 03 00 01 */ addi r0, r3, 1 -/* 80063388 000602E8 90 1D 00 90 */ stw r0, 0x90(r29) -lbl_8006338C: -/* 8006338C 000602EC 7C 1B D0 00 */ cmpw r27, r26 -/* 80063390 000602F0 41 80 FF A0 */ blt lbl_80063330 -/* 80063394 000602F4 7F C4 F3 78 */ mr r4, r30 -/* 80063398 000602F8 38 7D 00 9C */ addi r3, r29, 0x9c -/* 8006339C 000602FC 38 A1 00 0C */ addi r5, r1, 0xc -/* 800633A0 00060300 4B FF B5 95 */ bl ReadDependencyList__9CGameArea -/* 800633A4 00060304 7F C4 F3 78 */ mr r4, r30 -/* 800633A8 00060308 38 7D 00 AC */ addi r3, r29, 0xac -/* 800633AC 0006030C 38 A1 00 08 */ addi r5, r1, 8 -/* 800633B0 00060310 4B FF B5 85 */ bl ReadDependencyList__9CGameArea -/* 800633B4 00060314 39 20 00 00 */ li r9, 0 -/* 800633B8 00060318 39 00 00 01 */ li r8, 1 -/* 800633BC 0006031C 91 3D 00 C0 */ stw r9, 0xc0(r29) -/* 800633C0 00060320 38 DD 01 04 */ addi r6, r29, 0x104 -/* 800633C4 00060324 38 00 FF FF */ li r0, -1 -/* 800633C8 00060328 38 61 00 40 */ addi r3, r1, 0x40 -/* 800633CC 0006032C 91 3D 00 C4 */ stw r9, 0xc4(r29) -/* 800633D0 00060330 38 9D 00 6C */ addi r4, r29, 0x6c -/* 800633D4 00060334 38 BD 00 0C */ addi r5, r29, 0xc -/* 800633D8 00060338 91 3D 00 C8 */ stw r9, 0xc8(r29) -/* 800633DC 0006033C 91 3D 00 D0 */ stw r9, 0xd0(r29) -/* 800633E0 00060340 91 3D 00 D4 */ stw r9, 0xd4(r29) -/* 800633E4 00060344 91 3D 00 D8 */ stw r9, 0xd8(r29) -/* 800633E8 00060348 91 3D 00 E0 */ stw r9, 0xe0(r29) -/* 800633EC 0006034C 91 3D 00 E4 */ stw r9, 0xe4(r29) -/* 800633F0 00060350 91 3D 00 E8 */ stw r9, 0xe8(r29) -/* 800633F4 00060354 91 3D 00 EC */ stw r9, 0xec(r29) -/* 800633F8 00060358 88 FD 00 F0 */ lbz r7, 0xf0(r29) -/* 800633FC 0006035C 51 27 3E 30 */ rlwimi r7, r9, 7, 0x18, 0x18 -/* 80063400 00060360 98 FD 00 F0 */ stb r7, 0xf0(r29) -/* 80063404 00060364 88 FD 00 F0 */ lbz r7, 0xf0(r29) -/* 80063408 00060368 51 07 36 72 */ rlwimi r7, r8, 6, 0x19, 0x19 -/* 8006340C 0006036C 98 FD 00 F0 */ stb r7, 0xf0(r29) -/* 80063410 00060370 88 FD 00 F0 */ lbz r7, 0xf0(r29) -/* 80063414 00060374 51 27 2E B4 */ rlwimi r7, r9, 5, 0x1a, 0x1a -/* 80063418 00060378 98 FD 00 F0 */ stb r7, 0xf0(r29) -/* 8006341C 0006037C 88 FD 00 F0 */ lbz r7, 0xf0(r29) -/* 80063420 00060380 51 27 26 F6 */ rlwimi r7, r9, 4, 0x1b, 0x1b -/* 80063424 00060384 98 FD 00 F0 */ stb r7, 0xf0(r29) -/* 80063428 00060388 88 FD 00 F0 */ lbz r7, 0xf0(r29) -/* 8006342C 0006038C 51 27 1F 38 */ rlwimi r7, r9, 3, 0x1c, 0x1c -/* 80063430 00060390 98 FD 00 F0 */ stb r7, 0xf0(r29) -/* 80063434 00060394 91 3D 00 F4 */ stw r9, 0xf4(r29) -/* 80063438 00060398 90 DD 00 FC */ stw r6, 0xfc(r29) -/* 8006343C 0006039C 90 DD 01 00 */ stw r6, 0x100(r29) -/* 80063440 000603A0 90 DD 01 04 */ stw r6, 0x104(r29) -/* 80063444 000603A4 90 DD 01 08 */ stw r6, 0x108(r29) -/* 80063448 000603A8 91 3D 01 0C */ stw r9, 0x10c(r29) -/* 8006344C 000603AC 91 3D 01 14 */ stw r9, 0x114(r29) -/* 80063450 000603B0 91 3D 01 18 */ stw r9, 0x118(r29) -/* 80063454 000603B4 91 3D 01 1C */ stw r9, 0x11c(r29) -/* 80063458 000603B8 91 3D 01 20 */ stw r9, 0x120(r29) -/* 8006345C 000603BC 91 3D 01 24 */ stw r9, 0x124(r29) -/* 80063460 000603C0 91 3D 01 28 */ stw r9, 0x128(r29) -/* 80063464 000603C4 91 3D 01 2C */ stw r9, 0x12c(r29) -/* 80063468 000603C8 91 3D 01 30 */ stw r9, 0x130(r29) -/* 8006346C 000603CC 91 3D 01 34 */ stw r9, 0x134(r29) -/* 80063470 000603D0 90 1D 01 38 */ stw r0, 0x138(r29) -/* 80063474 000603D4 48 2D 44 89 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 80063478 000603D8 80 61 00 40 */ lwz r3, 0x40(r1) -/* 8006347C 000603DC 2C 1F 00 0D */ cmpwi r31, 0xd -/* 80063480 000603E0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80063484 000603E4 90 7D 00 6C */ stw r3, 0x6c(r29) -/* 80063488 000603E8 90 1D 00 70 */ stw r0, 0x70(r29) -/* 8006348C 000603EC 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80063490 000603F0 90 1D 00 74 */ stw r0, 0x74(r29) -/* 80063494 000603F4 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80063498 000603F8 80 01 00 50 */ lwz r0, 0x50(r1) -/* 8006349C 000603FC 90 7D 00 78 */ stw r3, 0x78(r29) -/* 800634A0 00060400 90 1D 00 7C */ stw r0, 0x7c(r29) -/* 800634A4 00060404 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800634A8 00060408 90 1D 00 80 */ stw r0, 0x80(r29) -/* 800634AC 0006040C 40 81 00 E8 */ ble lbl_80063594 -/* 800634B0 00060410 38 00 00 00 */ li r0, 0 -/* 800634B4 00060414 7F C3 F3 78 */ mr r3, r30 -/* 800634B8 00060418 90 01 00 34 */ stw r0, 0x34(r1) -/* 800634BC 0006041C 90 01 00 38 */ stw r0, 0x38(r1) -/* 800634C0 00060420 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800634C4 00060424 48 2D B7 C1 */ bl ReadLong__12CInputStreamFv -/* 800634C8 00060428 7C 7A 1B 78 */ mr r26, r3 -/* 800634CC 0006042C 38 61 00 30 */ addi r3, r1, 0x30 -/* 800634D0 00060430 7F 44 D3 78 */ mr r4, r26 -/* 800634D4 00060434 48 00 06 51 */ bl "reserve__Q24rstl37vectorFi" -/* 800634D8 00060438 3B 60 00 00 */ li r27, 0 -/* 800634DC 0006043C 48 00 00 60 */ b lbl_8006353C -lbl_800634E0: -/* 800634E0 00060440 7F C3 F3 78 */ mr r3, r30 -/* 800634E4 00060444 48 2D B7 A1 */ bl ReadLong__12CInputStreamFv -/* 800634E8 00060448 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800634EC 0006044C 7C 7F 1B 78 */ mr r31, r3 -/* 800634F0 00060450 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 800634F4 00060454 7C 00 28 00 */ cmpw r0, r5 -/* 800634F8 00060458 41 80 00 1C */ blt lbl_80063514 -/* 800634FC 0006045C 2C 05 00 00 */ cmpwi r5, 0 -/* 80063500 00060460 38 61 00 30 */ addi r3, r1, 0x30 -/* 80063504 00060464 38 80 00 04 */ li r4, 4 -/* 80063508 00060468 41 82 00 08 */ beq lbl_80063510 -/* 8006350C 0006046C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80063510: -/* 80063510 00060470 48 00 06 15 */ bl "reserve__Q24rstl37vectorFi" -lbl_80063514: -/* 80063514 00060474 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80063518 00060478 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8006351C 0006047C 54 00 10 3A */ slwi r0, r0, 2 -/* 80063520 00060480 7C 63 02 15 */ add. r3, r3, r0 -/* 80063524 00060484 41 82 00 08 */ beq lbl_8006352C -/* 80063528 00060488 93 E3 00 00 */ stw r31, 0(r3) -lbl_8006352C: -/* 8006352C 0006048C 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80063530 00060490 3B 7B 00 01 */ addi r27, r27, 1 -/* 80063534 00060494 38 03 00 01 */ addi r0, r3, 1 -/* 80063538 00060498 90 01 00 34 */ stw r0, 0x34(r1) -lbl_8006353C: -/* 8006353C 0006049C 7C 1B D0 00 */ cmpw r27, r26 -/* 80063540 000604A0 41 80 FF A0 */ blt lbl_800634E0 -/* 80063544 000604A4 38 7D 00 BC */ addi r3, r29, 0xbc -/* 80063548 000604A8 38 81 00 30 */ addi r4, r1, 0x30 -/* 8006354C 000604AC 48 00 01 B1 */ bl "clear__Q24rstl37vectorFv" -/* 80063550 000604B0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80063554 000604B4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80063558 000604B8 54 00 10 3A */ slwi r0, r0, 2 -/* 8006355C 000604BC 7C 03 02 14 */ add r0, r3, r0 -/* 80063560 000604C0 90 61 00 14 */ stw r3, 0x14(r1) -/* 80063564 000604C4 7C 64 1B 78 */ mr r4, r3 -/* 80063568 000604C8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8006356C 000604CC 90 01 00 18 */ stw r0, 0x18(r1) -/* 80063570 000604D0 90 61 00 10 */ stw r3, 0x10(r1) -/* 80063574 000604D4 48 00 00 08 */ b lbl_8006357C -lbl_80063578: -/* 80063578 000604D8 38 84 00 04 */ addi r4, r4, 4 -lbl_8006357C: -/* 8006357C 000604DC 7C 04 00 40 */ cmplw r4, r0 -/* 80063580 000604E0 40 82 FF F8 */ bne lbl_80063578 -/* 80063584 000604E4 28 03 00 00 */ cmplwi r3, 0 -/* 80063588 000604E8 41 82 00 68 */ beq lbl_800635F0 -/* 8006358C 000604EC 48 2B 23 A5 */ bl Free__7CMemoryFPCv -/* 80063590 000604F0 48 00 00 60 */ b lbl_800635F0 -lbl_80063594: -/* 80063594 000604F4 38 7D 00 BC */ addi r3, r29, 0xbc -/* 80063598 000604F8 38 80 00 01 */ li r4, 1 -/* 8006359C 000604FC 48 00 05 89 */ bl "reserve__Q24rstl37vectorFi" -/* 800635A0 00060500 80 1D 00 C0 */ lwz r0, 0xc0(r29) -/* 800635A4 00060504 80 BD 00 C4 */ lwz r5, 0xc4(r29) -/* 800635A8 00060508 7C 00 28 00 */ cmpw r0, r5 -/* 800635AC 0006050C 41 80 00 1C */ blt lbl_800635C8 -/* 800635B0 00060510 2C 05 00 00 */ cmpwi r5, 0 -/* 800635B4 00060514 38 7D 00 BC */ addi r3, r29, 0xbc -/* 800635B8 00060518 38 80 00 04 */ li r4, 4 -/* 800635BC 0006051C 41 82 00 08 */ beq lbl_800635C4 -/* 800635C0 00060520 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800635C4: -/* 800635C4 00060524 48 00 05 61 */ bl "reserve__Q24rstl37vectorFi" -lbl_800635C8: -/* 800635C8 00060528 80 1D 00 C0 */ lwz r0, 0xc0(r29) -/* 800635CC 0006052C 80 7D 00 C8 */ lwz r3, 0xc8(r29) -/* 800635D0 00060530 54 00 10 3A */ slwi r0, r0, 2 -/* 800635D4 00060534 7C 63 02 15 */ add. r3, r3, r0 -/* 800635D8 00060538 41 82 00 0C */ beq lbl_800635E4 -/* 800635DC 0006053C 80 0D 82 DC */ lwz r0, lbl_805A6E9C@sda21(r13) -/* 800635E0 00060540 90 03 00 00 */ stw r0, 0(r3) -lbl_800635E4: -/* 800635E4 00060544 80 7D 00 C0 */ lwz r3, 0xc0(r29) -/* 800635E8 00060548 38 03 00 01 */ addi r0, r3, 1 -/* 800635EC 0006054C 90 1D 00 C0 */ stw r0, 0xc0(r29) -lbl_800635F0: -/* 800635F0 00060550 7F C3 F3 78 */ mr r3, r30 -/* 800635F4 00060554 48 2D B6 91 */ bl ReadLong__12CInputStreamFv -/* 800635F8 00060558 7C 7A 1B 78 */ mr r26, r3 -/* 800635FC 0006055C 38 7D 00 CC */ addi r3, r29, 0xcc -/* 80063600 00060560 7F 44 D3 78 */ mr r4, r26 -/* 80063604 00060564 48 00 0D E9 */ bl sub_800643ec -/* 80063608 00060568 3B 60 00 00 */ li r27, 0 -/* 8006360C 0006056C 48 00 00 30 */ b lbl_8006363C -lbl_80063610: -/* 80063610 00060570 7F C4 F3 78 */ mr r4, r30 -/* 80063614 00060574 38 61 00 88 */ addi r3, r1, 0x88 -/* 80063618 00060578 38 BD 00 0C */ addi r5, r29, 0xc -/* 8006361C 0006057C 4B FF BD 65 */ bl __ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f -/* 80063620 00060580 38 7D 00 CC */ addi r3, r29, 0xcc -/* 80063624 00060584 38 81 00 88 */ addi r4, r1, 0x88 -/* 80063628 00060588 4B FF B1 31 */ bl sub_8005e758 -/* 8006362C 0006058C 38 61 00 88 */ addi r3, r1, 0x88 -/* 80063630 00060590 38 80 FF FF */ li r4, -1 -/* 80063634 00060594 4B FF 3A B5 */ bl sub_800570e8 -/* 80063638 00060598 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8006363C: -/* 8006363C 0006059C 7C 1B D0 00 */ cmpw r27, r26 -/* 80063640 000605A0 41 80 FF D0 */ blt lbl_80063610 -/* 80063644 000605A4 7F A3 EB 78 */ mr r3, r29 -/* 80063648 000605A8 4B FF F8 A9 */ bl ClearTokenList__9CGameAreaFv -/* 8006364C 000605AC 3B 60 00 00 */ li r27, 0 -/* 80063650 000605B0 3B 40 00 00 */ li r26, 0 -/* 80063654 000605B4 48 00 00 40 */ b lbl_80063694 -lbl_80063658: -/* 80063658 000605B8 80 1D 00 B8 */ lwz r0, 0xb8(r29) -/* 8006365C 000605BC 38 81 00 28 */ addi r4, r1, 0x28 -/* 80063660 000605C0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80063664 000605C4 7C C0 D2 14 */ add r6, r0, r26 -/* 80063668 000605C8 80 A6 00 00 */ lwz r5, 0(r6) -/* 8006366C 000605CC 38 63 00 04 */ addi r3, r3, 4 -/* 80063670 000605D0 80 06 00 04 */ lwz r0, 4(r6) -/* 80063674 000605D4 90 01 00 28 */ stw r0, 0x28(r1) -/* 80063678 000605D8 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8006367C 000605DC 48 2D 85 D5 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag -/* 80063680 000605E0 80 1D 00 EC */ lwz r0, 0xec(r29) -/* 80063684 000605E4 3B 5A 00 08 */ addi r26, r26, 8 -/* 80063688 000605E8 3B 7B 00 01 */ addi r27, r27, 1 -/* 8006368C 000605EC 7C 00 1A 14 */ add r0, r0, r3 -/* 80063690 000605F0 90 1D 00 EC */ stw r0, 0xec(r29) -lbl_80063694: -/* 80063694 000605F4 80 1D 00 E0 */ lwz r0, 0xe0(r29) -/* 80063698 000605F8 7C 1B 00 00 */ cmpw r27, r0 -/* 8006369C 000605FC 41 80 FF BC */ blt lbl_80063658 -/* 800636A0 00060600 80 BD 00 84 */ lwz r5, 0x84(r29) -/* 800636A4 00060604 3C 60 4D 52 */ lis r3, 0x4D524541@ha -/* 800636A8 00060608 38 03 45 41 */ addi r0, r3, 0x4D524541@l -/* 800636AC 0006060C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800636B0 00060610 90 01 00 20 */ stw r0, 0x20(r1) -/* 800636B4 00060614 38 81 00 20 */ addi r4, r1, 0x20 -/* 800636B8 00060618 38 63 00 04 */ addi r3, r3, 4 -/* 800636BC 0006061C 90 A1 00 24 */ stw r5, 0x24(r1) -/* 800636C0 00060620 48 2D 85 91 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag -/* 800636C4 00060624 80 1D 00 EC */ lwz r0, 0xec(r29) -/* 800636C8 00060628 7C 00 1A 14 */ add r0, r0, r3 -/* 800636CC 0006062C 7F A3 EB 78 */ mr r3, r29 -/* 800636D0 00060630 90 1D 00 EC */ stw r0, 0xec(r29) -/* 800636D4 00060634 48 00 03 91 */ bl GetPreConstructedSize__9CGameAreaCFv -/* 800636D8 00060638 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) -/* 800636DC 0006063C 7C 00 1A 14 */ add r0, r0, r3 -/* 800636E0 00060640 7F A3 EB 78 */ mr r3, r29 -/* 800636E4 00060644 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) -/* 800636E8 00060648 BB 41 00 D8 */ lmw r26, 0xd8(r1) -/* 800636EC 0006064C 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 800636F0 00060650 7C 08 03 A6 */ mtlr r0 -/* 800636F4 00060654 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 800636F8 00060658 4E 80 00 20 */ blr - -.global "clear__Q24rstl37vectorFv" -"clear__Q24rstl37vectorFv": -/* 800636FC 0006065C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80063700 00060660 7C 08 02 A6 */ mflr r0 -/* 80063704 00060664 90 01 00 24 */ stw r0, 0x24(r1) -/* 80063708 00060668 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8006370C 0006066C 7C 7F 1B 78 */ mr r31, r3 -/* 80063710 00060670 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80063714 00060674 7C 9E 23 78 */ mr r30, r4 -/* 80063718 00060678 7C 1F F0 40 */ cmplw r31, r30 -/* 8006371C 0006067C 40 82 00 08 */ bne lbl_80063724 -/* 80063720 00060680 48 00 00 B8 */ b lbl_800637D8 -lbl_80063724: -/* 80063724 00060684 80 1F 00 04 */ lwz r0, 4(r31) -/* 80063728 00060688 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8006372C 0006068C 54 00 10 3A */ slwi r0, r0, 2 -/* 80063730 00060690 7C 03 02 14 */ add r0, r3, r0 -/* 80063734 00060694 90 61 00 0C */ stw r3, 0xc(r1) -/* 80063738 00060698 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006373C 0006069C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80063740 000606A0 90 61 00 08 */ stw r3, 8(r1) -/* 80063744 000606A4 48 00 00 08 */ b lbl_8006374C -lbl_80063748: -/* 80063748 000606A8 38 63 00 04 */ addi r3, r3, 4 -lbl_8006374C: -/* 8006374C 000606AC 7C 03 00 40 */ cmplw r3, r0 -/* 80063750 000606B0 40 82 FF F8 */ bne lbl_80063748 -/* 80063754 000606B4 38 00 00 00 */ li r0, 0 -/* 80063758 000606B8 90 1F 00 04 */ stw r0, 4(r31) -/* 8006375C 000606BC 80 9E 00 04 */ lwz r4, 4(r30) -/* 80063760 000606C0 2C 04 00 00 */ cmpwi r4, 0 -/* 80063764 000606C4 40 82 00 28 */ bne lbl_8006378C -/* 80063768 000606C8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8006376C 000606CC 28 03 00 00 */ cmplwi r3, 0 -/* 80063770 000606D0 41 82 00 08 */ beq lbl_80063778 -/* 80063774 000606D4 48 2B 21 BD */ bl Free__7CMemoryFPCv -lbl_80063778: -/* 80063778 000606D8 38 00 00 00 */ li r0, 0 -/* 8006377C 000606DC 90 1F 00 04 */ stw r0, 4(r31) -/* 80063780 000606E0 90 1F 00 08 */ stw r0, 8(r31) -/* 80063784 000606E4 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80063788 000606E8 48 00 00 4C */ b lbl_800637D4 -lbl_8006378C: -/* 8006378C 000606EC 7F E3 FB 78 */ mr r3, r31 -/* 80063790 000606F0 48 00 03 95 */ bl "reserve__Q24rstl37vectorFi" -/* 80063794 000606F4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80063798 000606F8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8006379C 000606FC 54 00 10 3A */ slwi r0, r0, 2 -/* 800637A0 00060700 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800637A4 00060704 7C 85 02 14 */ add r4, r5, r0 -/* 800637A8 00060708 48 00 00 1C */ b lbl_800637C4 -lbl_800637AC: -/* 800637AC 0006070C 28 03 00 00 */ cmplwi r3, 0 -/* 800637B0 00060710 41 82 00 0C */ beq lbl_800637BC -/* 800637B4 00060714 80 05 00 00 */ lwz r0, 0(r5) -/* 800637B8 00060718 90 03 00 00 */ stw r0, 0(r3) -lbl_800637BC: -/* 800637BC 0006071C 38 63 00 04 */ addi r3, r3, 4 -/* 800637C0 00060720 38 A5 00 04 */ addi r5, r5, 4 -lbl_800637C4: -/* 800637C4 00060724 7C 05 20 40 */ cmplw r5, r4 -/* 800637C8 00060728 40 82 FF E4 */ bne lbl_800637AC -/* 800637CC 0006072C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800637D0 00060730 90 1F 00 04 */ stw r0, 4(r31) -lbl_800637D4: -/* 800637D4 00060734 7F E3 FB 78 */ mr r3, r31 -lbl_800637D8: -/* 800637D8 00060738 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800637DC 0006073C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800637E0 00060740 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800637E4 00060744 7C 08 03 A6 */ mtlr r0 -/* 800637E8 00060748 38 21 00 20 */ addi r1, r1, 0x20 -/* 800637EC 0006074C 4E 80 00 20 */ blr - -.global __ct__Q29CGameArea16CPostConstructedFv -__ct__Q29CGameArea16CPostConstructedFv: -/* 800637F0 00060750 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800637F4 00060754 38 E0 00 00 */ li r7, 0 -/* 800637F8 00060758 3C 80 00 01 */ lis r4, 0x0000FFFF@ha -/* 800637FC 0006075C 38 C0 04 00 */ li r6, 0x400 -/* 80063800 00060760 98 E3 00 00 */ stb r7, 0(r3) -/* 80063804 00060764 38 A4 FF FF */ addi r5, r4, 0x0000FFFF@l -/* 80063808 00060768 38 00 00 80 */ li r0, 0x80 -/* 8006380C 0006076C 39 03 00 A8 */ addi r8, r3, 0xa8 -/* 80063810 00060770 90 E3 00 04 */ stw r7, 4(r3) -/* 80063814 00060774 90 E3 00 08 */ stw r7, 8(r3) -/* 80063818 00060778 98 E3 00 48 */ stb r7, 0x48(r3) -/* 8006381C 0006077C 90 E3 00 50 */ stw r7, 0x50(r3) -/* 80063820 00060780 90 E3 00 54 */ stw r7, 0x54(r3) -/* 80063824 00060784 90 E3 00 58 */ stw r7, 0x58(r3) -/* 80063828 00060788 90 E3 00 5C */ stw r7, 0x5c(r3) -/* 8006382C 0006078C 90 E3 00 64 */ stw r7, 0x64(r3) -/* 80063830 00060790 90 E3 00 68 */ stw r7, 0x68(r3) -/* 80063834 00060794 90 E3 00 6C */ stw r7, 0x6c(r3) -/* 80063838 00060798 90 E3 00 74 */ stw r7, 0x74(r3) -/* 8006383C 0006079C 90 E3 00 78 */ stw r7, 0x78(r3) -/* 80063840 000607A0 90 E3 00 7C */ stw r7, 0x7c(r3) -/* 80063844 000607A4 90 E3 00 84 */ stw r7, 0x84(r3) -/* 80063848 000607A8 90 E3 00 88 */ stw r7, 0x88(r3) -/* 8006384C 000607AC 90 E3 00 8C */ stw r7, 0x8c(r3) -/* 80063850 000607B0 90 E3 00 94 */ stw r7, 0x94(r3) -/* 80063854 000607B4 90 E3 00 98 */ stw r7, 0x98(r3) -/* 80063858 000607B8 90 E3 00 9C */ stw r7, 0x9c(r3) -/* 8006385C 000607BC 90 E3 00 A0 */ stw r7, 0xa0(r3) -/* 80063860 000607C0 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 80063864 000607C4 B0 81 00 08 */ sth r4, 8(r1) -/* 80063868 000607C8 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 8006386C 000607CC 90 C3 00 A4 */ stw r6, 0xa4(r3) -/* 80063870 000607D0 7C 09 03 A6 */ mtctr r0 -lbl_80063874: -/* 80063874 000607D4 28 08 00 00 */ cmplwi r8, 0 -/* 80063878 000607D8 41 82 00 0C */ beq lbl_80063884 -/* 8006387C 000607DC B0 A8 00 00 */ sth r5, 0(r8) -/* 80063880 000607E0 B0 88 00 02 */ sth r4, 2(r8) -lbl_80063884: -/* 80063884 000607E4 35 08 00 04 */ addic. r8, r8, 4 -/* 80063888 000607E8 41 82 00 0C */ beq lbl_80063894 -/* 8006388C 000607EC B0 A8 00 00 */ sth r5, 0(r8) -/* 80063890 000607F0 B0 88 00 02 */ sth r4, 2(r8) -lbl_80063894: -/* 80063894 000607F4 35 08 00 04 */ addic. r8, r8, 4 -/* 80063898 000607F8 41 82 00 0C */ beq lbl_800638A4 -/* 8006389C 000607FC B0 A8 00 00 */ sth r5, 0(r8) -/* 800638A0 00060800 B0 88 00 02 */ sth r4, 2(r8) -lbl_800638A4: -/* 800638A4 00060804 35 08 00 04 */ addic. r8, r8, 4 -/* 800638A8 00060808 41 82 00 0C */ beq lbl_800638B4 -/* 800638AC 0006080C B0 A8 00 00 */ sth r5, 0(r8) -/* 800638B0 00060810 B0 88 00 02 */ sth r4, 2(r8) -lbl_800638B4: -/* 800638B4 00060814 35 08 00 04 */ addic. r8, r8, 4 -/* 800638B8 00060818 41 82 00 0C */ beq lbl_800638C4 -/* 800638BC 0006081C B0 A8 00 00 */ sth r5, 0(r8) -/* 800638C0 00060820 B0 88 00 02 */ sth r4, 2(r8) -lbl_800638C4: -/* 800638C4 00060824 35 08 00 04 */ addic. r8, r8, 4 -/* 800638C8 00060828 41 82 00 0C */ beq lbl_800638D4 -/* 800638CC 0006082C B0 A8 00 00 */ sth r5, 0(r8) -/* 800638D0 00060830 B0 88 00 02 */ sth r4, 2(r8) -lbl_800638D4: -/* 800638D4 00060834 35 08 00 04 */ addic. r8, r8, 4 -/* 800638D8 00060838 41 82 00 0C */ beq lbl_800638E4 -/* 800638DC 0006083C B0 A8 00 00 */ sth r5, 0(r8) -/* 800638E0 00060840 B0 88 00 02 */ sth r4, 2(r8) -lbl_800638E4: -/* 800638E4 00060844 35 08 00 04 */ addic. r8, r8, 4 -/* 800638E8 00060848 41 82 00 0C */ beq lbl_800638F4 -/* 800638EC 0006084C B0 A8 00 00 */ sth r5, 0(r8) -/* 800638F0 00060850 B0 88 00 02 */ sth r4, 2(r8) -lbl_800638F4: -/* 800638F4 00060854 38 E7 00 07 */ addi r7, r7, 7 -/* 800638F8 00060858 39 08 00 04 */ addi r8, r8, 4 -/* 800638FC 0006085C 42 00 FF 78 */ bdnz lbl_80063874 -/* 80063900 00060860 38 80 00 00 */ li r4, 0 -/* 80063904 00060864 38 00 FF FF */ li r0, -1 -/* 80063908 00060868 90 83 10 A8 */ stw r4, 0x10a8(r3) -/* 8006390C 0006086C C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2) -/* 80063910 00060870 98 83 10 B8 */ stb r4, 0x10b8(r3) -/* 80063914 00060874 C0 02 87 08 */ lfs f0, lbl_805AA428@sda21(r2) -/* 80063918 00060878 90 83 10 BC */ stw r4, 0x10bc(r3) -/* 8006391C 0006087C 90 83 10 C0 */ stw r4, 0x10c0(r3) -/* 80063920 00060880 90 83 10 C4 */ stw r4, 0x10c4(r3) -/* 80063924 00060884 98 83 10 C8 */ stb r4, 0x10c8(r3) -/* 80063928 00060888 90 83 10 CC */ stw r4, 0x10cc(r3) -/* 8006392C 0006088C 90 83 10 D0 */ stw r4, 0x10d0(r3) -/* 80063930 00060890 90 83 10 D4 */ stw r4, 0x10d4(r3) -/* 80063934 00060894 90 83 10 D8 */ stw r4, 0x10d8(r3) -/* 80063938 00060898 90 83 10 DC */ stw r4, 0x10dc(r3) -/* 8006393C 0006089C 90 83 10 E0 */ stw r4, 0x10e0(r3) -/* 80063940 000608A0 C0 4D 82 D8 */ lfs f2, lbl_805A6E98@sda21(r13) -/* 80063944 000608A4 D0 43 10 E4 */ stfs f2, 0x10e4(r3) -/* 80063948 000608A8 90 03 10 E8 */ stw r0, 0x10e8(r3) -/* 8006394C 000608AC 90 83 10 EC */ stw r4, 0x10ec(r3) -/* 80063950 000608B0 90 83 10 F4 */ stw r4, 0x10f4(r3) -/* 80063954 000608B4 90 83 10 F8 */ stw r4, 0x10f8(r3) -/* 80063958 000608B8 90 83 10 FC */ stw r4, 0x10fc(r3) -/* 8006395C 000608BC 90 83 11 00 */ stw r4, 0x1100(r3) -/* 80063960 000608C0 90 83 11 04 */ stw r4, 0x1104(r3) -/* 80063964 000608C4 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 80063968 000608C8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8006396C 000608CC 98 03 11 08 */ stb r0, 0x1108(r3) -/* 80063970 000608D0 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 80063974 000608D4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80063978 000608D8 98 03 11 08 */ stb r0, 0x1108(r3) -/* 8006397C 000608DC 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 80063980 000608E0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80063984 000608E4 98 03 11 08 */ stb r0, 0x1108(r3) -/* 80063988 000608E8 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 8006398C 000608EC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80063990 000608F0 98 03 11 08 */ stb r0, 0x1108(r3) -/* 80063994 000608F4 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 80063998 000608F8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8006399C 000608FC 98 03 11 08 */ stb r0, 0x1108(r3) -/* 800639A0 00060900 88 03 11 08 */ lbz r0, 0x1108(r3) -/* 800639A4 00060904 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 800639A8 00060908 98 03 11 08 */ stb r0, 0x1108(r3) -/* 800639AC 0006090C 90 83 11 10 */ stw r4, 0x1110(r3) -/* 800639B0 00060910 90 83 11 14 */ stw r4, 0x1114(r3) -/* 800639B4 00060914 90 83 11 18 */ stw r4, 0x1118(r3) -/* 800639B8 00060918 D0 23 11 1C */ stfs f1, 0x111c(r3) -/* 800639BC 0006091C D0 23 11 20 */ stfs f1, 0x1120(r3) -/* 800639C0 00060920 D0 23 11 24 */ stfs f1, 0x1124(r3) -/* 800639C4 00060924 D0 03 11 28 */ stfs f0, 0x1128(r3) -/* 800639C8 00060928 D0 23 11 2C */ stfs f1, 0x112c(r3) -/* 800639CC 0006092C D0 03 11 30 */ stfs f0, 0x1130(r3) -/* 800639D0 00060930 D0 23 11 34 */ stfs f1, 0x1134(r3) -/* 800639D4 00060934 D0 03 11 38 */ stfs f0, 0x1138(r3) -/* 800639D8 00060938 90 83 11 3C */ stw r4, 0x113c(r3) -/* 800639DC 0006093C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800639E0 00060940 4E 80 00 20 */ blr - -.global GetPostConstructedSize__9CGameAreaCFv -GetPostConstructedSize__9CGameAreaCFv: -/* 800639E4 00060944 80 E3 01 2C */ lwz r7, 0x12c(r3) -/* 800639E8 00060948 39 00 00 00 */ li r8, 0 -/* 800639EC 0006094C 80 A7 00 58 */ lwz r5, 0x58(r7) -/* 800639F0 00060950 48 00 00 14 */ b lbl_80063A04 -lbl_800639F4: -/* 800639F4 00060954 80 05 00 54 */ lwz r0, 0x54(r5) -/* 800639F8 00060958 38 A5 00 74 */ addi r5, r5, 0x74 -/* 800639FC 0006095C 54 00 10 3A */ slwi r0, r0, 2 -/* 80063A00 00060960 7D 08 02 14 */ add r8, r8, r0 -lbl_80063A04: -/* 80063A04 00060964 80 07 00 50 */ lwz r0, 0x50(r7) -/* 80063A08 00060968 80 87 00 58 */ lwz r4, 0x58(r7) -/* 80063A0C 0006096C 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 80063A10 00060970 7C 04 02 14 */ add r0, r4, r0 -/* 80063A14 00060974 7C 05 00 40 */ cmplw r5, r0 -/* 80063A18 00060978 40 82 FF DC */ bne lbl_800639F4 -/* 80063A1C 0006097C 80 87 00 50 */ lwz r4, 0x50(r7) -/* 80063A20 00060980 80 07 00 64 */ lwz r0, 0x64(r7) -/* 80063A24 00060984 80 C7 00 84 */ lwz r6, 0x84(r7) -/* 80063A28 00060988 1C 84 00 74 */ mulli r4, r4, 0x74 -/* 80063A2C 0006098C 80 A7 11 04 */ lwz r5, 0x1104(r7) -/* 80063A30 00060990 80 63 01 20 */ lwz r3, 0x120(r3) -/* 80063A34 00060994 80 E7 11 10 */ lwz r7, 0x1110(r7) -/* 80063A38 00060998 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 80063A3C 0006099C 7C 65 18 50 */ subf r3, r5, r3 -/* 80063A40 000609A0 54 E5 18 38 */ slwi r5, r7, 3 -/* 80063A44 000609A4 7C 63 22 14 */ add r3, r3, r4 -/* 80063A48 000609A8 1C 86 00 44 */ mulli r4, r6, 0x44 -/* 80063A4C 000609AC 7C 03 02 14 */ add r0, r3, r0 -/* 80063A50 000609B0 7C 00 22 14 */ add r0, r0, r4 -/* 80063A54 000609B4 7C 60 2A 14 */ add r3, r0, r5 -/* 80063A58 000609B8 38 63 20 10 */ addi r3, r3, 0x2010 -/* 80063A5C 000609BC 7C 68 1A 14 */ add r3, r8, r3 -/* 80063A60 000609C0 4E 80 00 20 */ blr - -.global GetPreConstructedSize__9CGameAreaCFv -GetPreConstructedSize__9CGameAreaCFv: -/* 80063A64 000609C4 80 83 00 A0 */ lwz r4, 0xa0(r3) -/* 80063A68 000609C8 80 03 00 B0 */ lwz r0, 0xb0(r3) -/* 80063A6C 000609CC 80 A3 00 90 */ lwz r5, 0x90(r3) -/* 80063A70 000609D0 7C 04 02 14 */ add r0, r4, r0 -/* 80063A74 000609D4 80 C3 00 C0 */ lwz r6, 0xc0(r3) -/* 80063A78 000609D8 54 A4 08 3C */ slwi r4, r5, 1 -/* 80063A7C 000609DC 80 A3 00 E4 */ lwz r5, 0xe4(r3) -/* 80063A80 000609E0 54 00 18 38 */ slwi r0, r0, 3 -/* 80063A84 000609E4 54 C3 10 3A */ slwi r3, r6, 2 -/* 80063A88 000609E8 7C 04 02 14 */ add r0, r4, r0 -/* 80063A8C 000609EC 7C 00 1A 14 */ add r0, r0, r3 -/* 80063A90 000609F0 7C 60 2A 14 */ add r3, r0, r5 -/* 80063A94 000609F4 38 63 01 44 */ addi r3, r3, 0x144 -/* 80063A98 000609F8 4E 80 00 20 */ blr - -.global VerifyHeader__9CGameAreaCFv -VerifyHeader__9CGameAreaCFv: -/* 80063A9C 000609FC 80 03 01 14 */ lwz r0, 0x114(r3) -/* 80063AA0 00060A00 2C 00 00 00 */ cmpwi r0, 0 -/* 80063AA4 00060A04 41 82 00 30 */ beq lbl_80063AD4 -/* 80063AA8 00060A08 80 63 01 1C */ lwz r3, 0x11c(r3) -/* 80063AAC 00060A0C 80 83 00 04 */ lwz r4, 4(r3) -/* 80063AB0 00060A10 80 64 00 00 */ lwz r3, 0(r4) -/* 80063AB4 00060A14 3C 03 21 53 */ addis r0, r3, 0x2153 -/* 80063AB8 00060A18 28 00 BE EF */ cmplwi r0, 0xbeef -/* 80063ABC 00060A1C 40 82 00 18 */ bne lbl_80063AD4 -/* 80063AC0 00060A20 80 64 00 04 */ lwz r3, 4(r4) -/* 80063AC4 00060A24 2C 03 00 0C */ cmpwi r3, 0xc -/* 80063AC8 00060A28 41 80 00 0C */ blt lbl_80063AD4 -/* 80063ACC 00060A2C 2C 03 00 0F */ cmpwi r3, 0xf -/* 80063AD0 00060A30 4C 81 00 20 */ blelr -lbl_80063AD4: -/* 80063AD4 00060A34 38 60 00 00 */ li r3, 0 -/* 80063AD8 00060A38 4E 80 00 20 */ blr - -.global __dt__9IGameAreaFv -__dt__9IGameAreaFv: -/* 80063ADC 00060A3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80063AE0 00060A40 7C 08 02 A6 */ mflr r0 -/* 80063AE4 00060A44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80063AE8 00060A48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80063AEC 00060A4C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80063AF0 00060A50 41 82 00 1C */ beq lbl_80063B0C -/* 80063AF4 00060A54 3C A0 80 3E */ lis r5, lbl_803DA26C@ha -/* 80063AF8 00060A58 7C 80 07 35 */ extsh. r0, r4 -/* 80063AFC 00060A5C 38 05 A2 6C */ addi r0, r5, lbl_803DA26C@l -/* 80063B00 00060A60 90 1F 00 00 */ stw r0, 0(r31) -/* 80063B04 00060A64 40 81 00 08 */ ble lbl_80063B0C -/* 80063B08 00060A68 48 2B 1E 29 */ bl Free__7CMemoryFPCv -lbl_80063B0C: -/* 80063B0C 00060A6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80063B10 00060A70 7F E3 FB 78 */ mr r3, r31 -/* 80063B14 00060A74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80063B18 00060A78 7C 08 03 A6 */ mtlr r0 -/* 80063B1C 00060A7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80063B20 00060A80 4E 80 00 20 */ blr - -.global "reserve__Q24rstl37vectorFi" -"reserve__Q24rstl37vectorFi": -/* 80063B24 00060A84 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80063B28 00060A88 7C 08 02 A6 */ mflr r0 -/* 80063B2C 00060A8C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80063B30 00060A90 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80063B34 00060A94 7C 9F 23 78 */ mr r31, r4 -/* 80063B38 00060A98 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80063B3C 00060A9C 7C 7E 1B 78 */ mr r30, r3 -/* 80063B40 00060AA0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80063B44 00060AA4 80 03 00 08 */ lwz r0, 8(r3) -/* 80063B48 00060AA8 7C 1F 00 00 */ cmpw r31, r0 -/* 80063B4C 00060AAC 40 81 00 A8 */ ble lbl_80063BF4 -/* 80063B50 00060AB0 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 80063B54 00060AB4 40 82 00 0C */ bne lbl_80063B60 -/* 80063B58 00060AB8 3B A0 00 00 */ li r29, 0 -/* 80063B5C 00060ABC 48 00 00 18 */ b lbl_80063B74 -lbl_80063B60: -/* 80063B60 00060AC0 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80063B64 00060AC4 38 A0 00 00 */ li r5, 0 -/* 80063B68 00060AC8 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80063B6C 00060ACC 48 2B 1C AD */ bl __nwa__FUlPCcPCc -/* 80063B70 00060AD0 7C 7D 1B 78 */ mr r29, r3 -lbl_80063B74: -/* 80063B74 00060AD4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80063B78 00060AD8 7F A4 EB 78 */ mr r4, r29 -/* 80063B7C 00060ADC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80063B80 00060AE0 54 00 10 3A */ slwi r0, r0, 2 -/* 80063B84 00060AE4 7C 65 02 14 */ add r3, r5, r0 -/* 80063B88 00060AE8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80063B8C 00060AEC 90 61 00 08 */ stw r3, 8(r1) -/* 80063B90 00060AF0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80063B94 00060AF4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80063B98 00060AF8 48 00 00 1C */ b lbl_80063BB4 -lbl_80063B9C: -/* 80063B9C 00060AFC 28 04 00 00 */ cmplwi r4, 0 -/* 80063BA0 00060B00 41 82 00 0C */ beq lbl_80063BAC -/* 80063BA4 00060B04 80 05 00 00 */ lwz r0, 0(r5) -/* 80063BA8 00060B08 90 04 00 00 */ stw r0, 0(r4) -lbl_80063BAC: -/* 80063BAC 00060B0C 38 84 00 04 */ addi r4, r4, 4 -/* 80063BB0 00060B10 38 A5 00 04 */ addi r5, r5, 4 -lbl_80063BB4: -/* 80063BB4 00060B14 7C 05 18 40 */ cmplw r5, r3 -/* 80063BB8 00060B18 40 82 FF E4 */ bne lbl_80063B9C -/* 80063BBC 00060B1C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80063BC0 00060B20 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80063BC4 00060B24 54 00 10 3A */ slwi r0, r0, 2 -/* 80063BC8 00060B28 7C 64 1B 78 */ mr r4, r3 -/* 80063BCC 00060B2C 7C 03 02 14 */ add r0, r3, r0 -/* 80063BD0 00060B30 48 00 00 08 */ b lbl_80063BD8 -lbl_80063BD4: -/* 80063BD4 00060B34 38 84 00 04 */ addi r4, r4, 4 -lbl_80063BD8: -/* 80063BD8 00060B38 7C 04 00 40 */ cmplw r4, r0 -/* 80063BDC 00060B3C 40 82 FF F8 */ bne lbl_80063BD4 -/* 80063BE0 00060B40 28 03 00 00 */ cmplwi r3, 0 -/* 80063BE4 00060B44 41 82 00 08 */ beq lbl_80063BEC -/* 80063BE8 00060B48 48 2B 1D 49 */ bl Free__7CMemoryFPCv -lbl_80063BEC: -/* 80063BEC 00060B4C 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80063BF0 00060B50 93 FE 00 08 */ stw r31, 8(r30) -lbl_80063BF4: -/* 80063BF4 00060B54 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80063BF8 00060B58 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80063BFC 00060B5C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80063C00 00060B60 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80063C04 00060B64 7C 08 03 A6 */ mtlr r0 -/* 80063C08 00060B68 38 21 00 30 */ addi r1, r1, 0x30 -/* 80063C0C 00060B6C 4E 80 00 20 */ blr - -.global sub_80063c10 -sub_80063c10: -/* 80063C10 00060B70 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80063C14 00060B74 7C 08 02 A6 */ mflr r0 -/* 80063C18 00060B78 90 01 00 34 */ stw r0, 0x34(r1) -/* 80063C1C 00060B7C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80063C20 00060B80 7C 9F 23 78 */ mr r31, r4 -/* 80063C24 00060B84 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80063C28 00060B88 7C 7E 1B 78 */ mr r30, r3 -/* 80063C2C 00060B8C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80063C30 00060B90 80 03 00 08 */ lwz r0, 8(r3) -/* 80063C34 00060B94 7C 1F 00 00 */ cmpw r31, r0 -/* 80063C38 00060B98 40 81 00 A8 */ ble lbl_80063CE0 -/* 80063C3C 00060B9C 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 80063C40 00060BA0 40 82 00 0C */ bne lbl_80063C4C -/* 80063C44 00060BA4 3B A0 00 00 */ li r29, 0 -/* 80063C48 00060BA8 48 00 00 18 */ b lbl_80063C60 -lbl_80063C4C: -/* 80063C4C 00060BAC 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80063C50 00060BB0 38 A0 00 00 */ li r5, 0 -/* 80063C54 00060BB4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80063C58 00060BB8 48 2B 1B C1 */ bl __nwa__FUlPCcPCc -/* 80063C5C 00060BBC 7C 7D 1B 78 */ mr r29, r3 -lbl_80063C60: -/* 80063C60 00060BC0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80063C64 00060BC4 7F A4 EB 78 */ mr r4, r29 -/* 80063C68 00060BC8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80063C6C 00060BCC 54 00 10 3A */ slwi r0, r0, 2 -/* 80063C70 00060BD0 7C 65 02 14 */ add r3, r5, r0 -/* 80063C74 00060BD4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80063C78 00060BD8 90 61 00 08 */ stw r3, 8(r1) -/* 80063C7C 00060BDC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80063C80 00060BE0 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80063C84 00060BE4 48 00 00 1C */ b lbl_80063CA0 -lbl_80063C88: -/* 80063C88 00060BE8 28 04 00 00 */ cmplwi r4, 0 -/* 80063C8C 00060BEC 41 82 00 0C */ beq lbl_80063C98 -/* 80063C90 00060BF0 80 05 00 00 */ lwz r0, 0(r5) -/* 80063C94 00060BF4 90 04 00 00 */ stw r0, 0(r4) -lbl_80063C98: -/* 80063C98 00060BF8 38 84 00 04 */ addi r4, r4, 4 -/* 80063C9C 00060BFC 38 A5 00 04 */ addi r5, r5, 4 -lbl_80063CA0: -/* 80063CA0 00060C00 7C 05 18 40 */ cmplw r5, r3 -/* 80063CA4 00060C04 40 82 FF E4 */ bne lbl_80063C88 -/* 80063CA8 00060C08 80 1E 00 04 */ lwz r0, 4(r30) -/* 80063CAC 00060C0C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80063CB0 00060C10 54 00 10 3A */ slwi r0, r0, 2 -/* 80063CB4 00060C14 7C 64 1B 78 */ mr r4, r3 -/* 80063CB8 00060C18 7C 03 02 14 */ add r0, r3, r0 -/* 80063CBC 00060C1C 48 00 00 08 */ b lbl_80063CC4 -lbl_80063CC0: -/* 80063CC0 00060C20 38 84 00 04 */ addi r4, r4, 4 -lbl_80063CC4: -/* 80063CC4 00060C24 7C 04 00 40 */ cmplw r4, r0 -/* 80063CC8 00060C28 40 82 FF F8 */ bne lbl_80063CC0 -/* 80063CCC 00060C2C 28 03 00 00 */ cmplwi r3, 0 -/* 80063CD0 00060C30 41 82 00 08 */ beq lbl_80063CD8 -/* 80063CD4 00060C34 48 2B 1C 5D */ bl Free__7CMemoryFPCv -lbl_80063CD8: -/* 80063CD8 00060C38 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80063CDC 00060C3C 93 FE 00 08 */ stw r31, 8(r30) -lbl_80063CE0: -/* 80063CE0 00060C40 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80063CE4 00060C44 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80063CE8 00060C48 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80063CEC 00060C4C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80063CF0 00060C50 7C 08 03 A6 */ mtlr r0 -/* 80063CF4 00060C54 38 21 00 30 */ addi r1, r1, 0x30 -/* 80063CF8 00060C58 4E 80 00 20 */ blr - -.global sub_80063cfc -sub_80063cfc: -/* 80063CFC 00060C5C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80063D00 00060C60 7C 08 02 A6 */ mflr r0 -/* 80063D04 00060C64 90 01 00 34 */ stw r0, 0x34(r1) -/* 80063D08 00060C68 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80063D0C 00060C6C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80063D10 00060C70 7C 9E 23 78 */ mr r30, r4 -/* 80063D14 00060C74 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80063D18 00060C78 7C 7D 1B 78 */ mr r29, r3 -/* 80063D1C 00060C7C 80 03 00 08 */ lwz r0, 8(r3) -/* 80063D20 00060C80 7C 1E 00 00 */ cmpw r30, r0 -/* 80063D24 00060C84 40 81 00 8C */ ble lbl_80063DB0 -/* 80063D28 00060C88 1C 7E 00 74 */ mulli r3, r30, 0x74 -/* 80063D2C 00060C8C 2C 03 00 00 */ cmpwi r3, 0 -/* 80063D30 00060C90 40 82 00 0C */ bne lbl_80063D3C -/* 80063D34 00060C94 3B E0 00 00 */ li r31, 0 -/* 80063D38 00060C98 48 00 00 18 */ b lbl_80063D50 -lbl_80063D3C: -/* 80063D3C 00060C9C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80063D40 00060CA0 38 A0 00 00 */ li r5, 0 -/* 80063D44 00060CA4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80063D48 00060CA8 48 2B 1A D1 */ bl __nwa__FUlPCcPCc -/* 80063D4C 00060CAC 7C 7F 1B 78 */ mr r31, r3 -lbl_80063D50: -/* 80063D50 00060CB0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80063D54 00060CB4 7F E5 FB 78 */ mr r5, r31 -/* 80063D58 00060CB8 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 80063D5C 00060CBC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80063D60 00060CC0 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 80063D64 00060CC4 38 81 00 0C */ addi r4, r1, 0xc -/* 80063D68 00060CC8 7C C6 02 14 */ add r6, r6, r0 -/* 80063D6C 00060CCC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80063D70 00060CD0 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80063D74 00060CD4 90 C1 00 08 */ stw r6, 8(r1) -/* 80063D78 00060CD8 90 01 00 10 */ stw r0, 0x10(r1) -/* 80063D7C 00060CDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80063D80 00060CE0 48 00 00 99 */ bl sub_80063e18 -/* 80063D84 00060CE4 80 1D 00 04 */ lwz r0, 4(r29) -/* 80063D88 00060CE8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80063D8C 00060CEC 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 80063D90 00060CF0 7C 83 02 14 */ add r4, r3, r0 -/* 80063D94 00060CF4 48 00 00 39 */ bl sub_80063dcc -/* 80063D98 00060CF8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80063D9C 00060CFC 28 03 00 00 */ cmplwi r3, 0 -/* 80063DA0 00060D00 41 82 00 08 */ beq lbl_80063DA8 -/* 80063DA4 00060D04 48 2B 1B 8D */ bl Free__7CMemoryFPCv -lbl_80063DA8: -/* 80063DA8 00060D08 93 FD 00 0C */ stw r31, 0xc(r29) -/* 80063DAC 00060D0C 93 DD 00 08 */ stw r30, 8(r29) -lbl_80063DB0: -/* 80063DB0 00060D10 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80063DB4 00060D14 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80063DB8 00060D18 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80063DBC 00060D1C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80063DC0 00060D20 7C 08 03 A6 */ mtlr r0 -/* 80063DC4 00060D24 38 21 00 30 */ addi r1, r1, 0x30 -/* 80063DC8 00060D28 4E 80 00 20 */ blr - -.global sub_80063dcc -sub_80063dcc: -/* 80063DCC 00060D2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80063DD0 00060D30 7C 08 02 A6 */ mflr r0 -/* 80063DD4 00060D34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80063DD8 00060D38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80063DDC 00060D3C 7C 7F 1B 78 */ mr r31, r3 -/* 80063DE0 00060D40 93 C1 00 08 */ stw r30, 8(r1) -/* 80063DE4 00060D44 7C 9E 23 78 */ mr r30, r4 -/* 80063DE8 00060D48 48 00 00 10 */ b lbl_80063DF8 -lbl_80063DEC: -/* 80063DEC 00060D4C 7F E3 FB 78 */ mr r3, r31 -/* 80063DF0 00060D50 4B FF C7 A9 */ bl __dt__21CMetroidModelInstanceFv -/* 80063DF4 00060D54 3B FF 00 74 */ addi r31, r31, 0x74 -lbl_80063DF8: -/* 80063DF8 00060D58 7C 1F F0 40 */ cmplw r31, r30 -/* 80063DFC 00060D5C 40 82 FF F0 */ bne lbl_80063DEC -/* 80063E00 00060D60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80063E04 00060D64 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80063E08 00060D68 83 C1 00 08 */ lwz r30, 8(r1) -/* 80063E0C 00060D6C 7C 08 03 A6 */ mtlr r0 -/* 80063E10 00060D70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80063E14 00060D74 4E 80 00 20 */ blr - -.global sub_80063e18 -sub_80063e18: -/* 80063E18 00060D78 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80063E1C 00060D7C 7C 08 02 A6 */ mflr r0 -/* 80063E20 00060D80 90 01 00 24 */ stw r0, 0x24(r1) -/* 80063E24 00060D84 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80063E28 00060D88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80063E2C 00060D8C 7C BE 2B 78 */ mr r30, r5 -/* 80063E30 00060D90 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80063E34 00060D94 7C 9D 23 78 */ mr r29, r4 -/* 80063E38 00060D98 83 E3 00 00 */ lwz r31, 0(r3) -/* 80063E3C 00060D9C 48 00 00 18 */ b lbl_80063E54 -lbl_80063E40: -/* 80063E40 00060DA0 7F C3 F3 78 */ mr r3, r30 -/* 80063E44 00060DA4 7F E4 FB 78 */ mr r4, r31 -/* 80063E48 00060DA8 4B FF E9 B5 */ bl sub_800627fc -/* 80063E4C 00060DAC 3B DE 00 74 */ addi r30, r30, 0x74 -/* 80063E50 00060DB0 3B FF 00 74 */ addi r31, r31, 0x74 -lbl_80063E54: -/* 80063E54 00060DB4 80 1D 00 00 */ lwz r0, 0(r29) -/* 80063E58 00060DB8 7C 1F 00 40 */ cmplw r31, r0 -/* 80063E5C 00060DBC 40 82 FF E4 */ bne lbl_80063E40 -/* 80063E60 00060DC0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80063E64 00060DC4 7F C3 F3 78 */ mr r3, r30 -/* 80063E68 00060DC8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80063E6C 00060DCC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80063E70 00060DD0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80063E74 00060DD4 7C 08 03 A6 */ mtlr r0 -/* 80063E78 00060DD8 38 21 00 20 */ addi r1, r1, 0x20 - -.global sub_80063e7c -sub_80063e7c: -/* 80063E7C 00060DDC 4E 80 00 20 */ blr - -.global "reserve__Q24rstl68vectorFi" -"reserve__Q24rstl68vectorFi": -/* 80063E80 00060DE0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80063E84 00060DE4 7C 08 02 A6 */ mflr r0 -/* 80063E88 00060DE8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80063E8C 00060DEC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80063E90 00060DF0 7C 9F 23 78 */ mr r31, r4 -/* 80063E94 00060DF4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80063E98 00060DF8 7C 7E 1B 78 */ mr r30, r3 -/* 80063E9C 00060DFC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80063EA0 00060E00 80 03 00 08 */ lwz r0, 8(r3) -/* 80063EA4 00060E04 7C 1F 00 00 */ cmpw r31, r0 -/* 80063EA8 00060E08 40 81 00 B8 */ ble lbl_80063F60 -/* 80063EAC 00060E0C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 80063EB0 00060E10 40 82 00 0C */ bne lbl_80063EBC -/* 80063EB4 00060E14 3B A0 00 00 */ li r29, 0 -/* 80063EB8 00060E18 48 00 00 18 */ b lbl_80063ED0 -lbl_80063EBC: -/* 80063EBC 00060E1C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80063EC0 00060E20 38 A0 00 00 */ li r5, 0 -/* 80063EC4 00060E24 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80063EC8 00060E28 48 2B 19 51 */ bl __nwa__FUlPCcPCc -/* 80063ECC 00060E2C 7C 7D 1B 78 */ mr r29, r3 -lbl_80063ED0: -/* 80063ED0 00060E30 80 1E 00 04 */ lwz r0, 4(r30) -/* 80063ED4 00060E34 7F A4 EB 78 */ mr r4, r29 -/* 80063ED8 00060E38 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80063EDC 00060E3C 54 00 18 38 */ slwi r0, r0, 3 -/* 80063EE0 00060E40 7C 65 02 14 */ add r3, r5, r0 -/* 80063EE4 00060E44 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80063EE8 00060E48 90 61 00 08 */ stw r3, 8(r1) -/* 80063EEC 00060E4C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80063EF0 00060E50 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80063EF4 00060E54 48 00 00 2C */ b lbl_80063F20 -lbl_80063EF8: -/* 80063EF8 00060E58 28 04 00 00 */ cmplwi r4, 0 -/* 80063EFC 00060E5C 41 82 00 1C */ beq lbl_80063F18 -/* 80063F00 00060E60 80 05 00 00 */ lwz r0, 0(r5) -/* 80063F04 00060E64 90 04 00 00 */ stw r0, 0(r4) -/* 80063F08 00060E68 A8 05 00 04 */ lha r0, 4(r5) -/* 80063F0C 00060E6C B0 04 00 04 */ sth r0, 4(r4) -/* 80063F10 00060E70 A8 05 00 06 */ lha r0, 6(r5) -/* 80063F14 00060E74 B0 04 00 06 */ sth r0, 6(r4) -lbl_80063F18: -/* 80063F18 00060E78 38 84 00 08 */ addi r4, r4, 8 -/* 80063F1C 00060E7C 38 A5 00 08 */ addi r5, r5, 8 -lbl_80063F20: -/* 80063F20 00060E80 7C 05 18 40 */ cmplw r5, r3 -/* 80063F24 00060E84 40 82 FF D4 */ bne lbl_80063EF8 -/* 80063F28 00060E88 80 1E 00 04 */ lwz r0, 4(r30) -/* 80063F2C 00060E8C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80063F30 00060E90 54 00 18 38 */ slwi r0, r0, 3 -/* 80063F34 00060E94 7C 64 1B 78 */ mr r4, r3 -/* 80063F38 00060E98 7C 03 02 14 */ add r0, r3, r0 -/* 80063F3C 00060E9C 48 00 00 08 */ b lbl_80063F44 -lbl_80063F40: -/* 80063F40 00060EA0 38 84 00 08 */ addi r4, r4, 8 -lbl_80063F44: -/* 80063F44 00060EA4 7C 04 00 40 */ cmplw r4, r0 -/* 80063F48 00060EA8 40 82 FF F8 */ bne lbl_80063F40 -/* 80063F4C 00060EAC 28 03 00 00 */ cmplwi r3, 0 -/* 80063F50 00060EB0 41 82 00 08 */ beq lbl_80063F58 -/* 80063F54 00060EB4 48 2B 19 DD */ bl Free__7CMemoryFPCv -lbl_80063F58: -/* 80063F58 00060EB8 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80063F5C 00060EBC 93 FE 00 08 */ stw r31, 8(r30) -lbl_80063F60: -/* 80063F60 00060EC0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80063F64 00060EC4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80063F68 00060EC8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80063F6C 00060ECC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80063F70 00060ED0 7C 08 03 A6 */ mtlr r0 -/* 80063F74 00060ED4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80063F78 00060ED8 4E 80 00 20 */ blr - -.global sub_80063f7c -sub_80063f7c: -/* 80063F7C 00060EDC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80063F80 00060EE0 7C 08 02 A6 */ mflr r0 -/* 80063F84 00060EE4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80063F88 00060EE8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80063F8C 00060EEC 7C 9F 23 78 */ mr r31, r4 -/* 80063F90 00060EF0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80063F94 00060EF4 7C 7E 1B 78 */ mr r30, r3 -/* 80063F98 00060EF8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80063F9C 00060EFC 80 03 00 08 */ lwz r0, 8(r3) -/* 80063FA0 00060F00 7C 1F 00 00 */ cmpw r31, r0 -/* 80063FA4 00060F04 40 81 00 98 */ ble lbl_8006403C -/* 80063FA8 00060F08 1C 7F 00 44 */ mulli r3, r31, 0x44 -/* 80063FAC 00060F0C 2C 03 00 00 */ cmpwi r3, 0 -/* 80063FB0 00060F10 40 82 00 0C */ bne lbl_80063FBC -/* 80063FB4 00060F14 3B A0 00 00 */ li r29, 0 -/* 80063FB8 00060F18 48 00 00 18 */ b lbl_80063FD0 -lbl_80063FBC: -/* 80063FBC 00060F1C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80063FC0 00060F20 38 A0 00 00 */ li r5, 0 -/* 80063FC4 00060F24 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80063FC8 00060F28 48 2B 18 51 */ bl __nwa__FUlPCcPCc -/* 80063FCC 00060F2C 7C 7D 1B 78 */ mr r29, r3 -lbl_80063FD0: -/* 80063FD0 00060F30 80 1E 00 04 */ lwz r0, 4(r30) -/* 80063FD4 00060F34 7F A5 EB 78 */ mr r5, r29 -/* 80063FD8 00060F38 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80063FDC 00060F3C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80063FE0 00060F40 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 80063FE4 00060F44 38 81 00 0C */ addi r4, r1, 0xc -/* 80063FE8 00060F48 7C C6 02 14 */ add r6, r6, r0 -/* 80063FEC 00060F4C 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80063FF0 00060F50 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80063FF4 00060F54 90 C1 00 08 */ stw r6, 8(r1) -/* 80063FF8 00060F58 90 01 00 10 */ stw r0, 0x10(r1) -/* 80063FFC 00060F5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80064000 00060F60 48 00 00 59 */ bl sub_80064058 -/* 80064004 00060F64 80 1E 00 04 */ lwz r0, 4(r30) -/* 80064008 00060F68 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8006400C 00060F6C 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 80064010 00060F70 7C 64 1B 78 */ mr r4, r3 -/* 80064014 00060F74 7C 03 02 14 */ add r0, r3, r0 -/* 80064018 00060F78 48 00 00 08 */ b lbl_80064020 -lbl_8006401C: -/* 8006401C 00060F7C 38 84 00 44 */ addi r4, r4, 0x44 -lbl_80064020: -/* 80064020 00060F80 7C 04 00 40 */ cmplw r4, r0 -/* 80064024 00060F84 40 82 FF F8 */ bne lbl_8006401C -/* 80064028 00060F88 28 03 00 00 */ cmplwi r3, 0 -/* 8006402C 00060F8C 41 82 00 08 */ beq lbl_80064034 -/* 80064030 00060F90 48 2B 19 01 */ bl Free__7CMemoryFPCv -lbl_80064034: -/* 80064034 00060F94 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80064038 00060F98 93 FE 00 08 */ stw r31, 8(r30) -lbl_8006403C: -/* 8006403C 00060F9C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80064040 00060FA0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80064044 00060FA4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80064048 00060FA8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8006404C 00060FAC 7C 08 03 A6 */ mtlr r0 -/* 80064050 00060FB0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80064054 00060FB4 4E 80 00 20 */ blr - -.global sub_80064058 -sub_80064058: -/* 80064058 00060FB8 80 63 00 00 */ lwz r3, 0(r3) -/* 8006405C 00060FBC 48 00 00 9C */ b lbl_800640F8 -lbl_80064060: -/* 80064060 00060FC0 28 05 00 00 */ cmplwi r5, 0 -/* 80064064 00060FC4 41 82 00 8C */ beq lbl_800640F0 -/* 80064068 00060FC8 80 03 00 00 */ lwz r0, 0(r3) -/* 8006406C 00060FCC 90 05 00 00 */ stw r0, 0(r5) -/* 80064070 00060FD0 C0 03 00 04 */ lfs f0, 4(r3) -/* 80064074 00060FD4 D0 05 00 04 */ stfs f0, 4(r5) -/* 80064078 00060FD8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8006407C 00060FDC D0 05 00 08 */ stfs f0, 8(r5) -/* 80064080 00060FE0 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80064084 00060FE4 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 80064088 00060FE8 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8006408C 00060FEC D0 05 00 10 */ stfs f0, 0x10(r5) -/* 80064090 00060FF0 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80064094 00060FF4 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 80064098 00060FF8 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8006409C 00060FFC D0 05 00 18 */ stfs f0, 0x18(r5) -/* 800640A0 00061000 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 800640A4 00061004 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 800640A8 00061008 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 800640AC 0006100C D0 05 00 20 */ stfs f0, 0x20(r5) -/* 800640B0 00061010 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 800640B4 00061014 D0 05 00 24 */ stfs f0, 0x24(r5) -/* 800640B8 00061018 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 800640BC 0006101C D0 05 00 28 */ stfs f0, 0x28(r5) -/* 800640C0 00061020 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 800640C4 00061024 D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 800640C8 00061028 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 800640CC 0006102C D0 05 00 30 */ stfs f0, 0x30(r5) -/* 800640D0 00061030 88 03 00 34 */ lbz r0, 0x34(r3) -/* 800640D4 00061034 98 05 00 34 */ stb r0, 0x34(r5) -/* 800640D8 00061038 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 800640DC 0006103C D0 05 00 38 */ stfs f0, 0x38(r5) -/* 800640E0 00061040 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 800640E4 00061044 90 05 00 3C */ stw r0, 0x3c(r5) -/* 800640E8 00061048 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 800640EC 0006104C D0 05 00 40 */ stfs f0, 0x40(r5) -lbl_800640F0: -/* 800640F0 00061050 38 A5 00 44 */ addi r5, r5, 0x44 -/* 800640F4 00061054 38 63 00 44 */ addi r3, r3, 0x44 -lbl_800640F8: -/* 800640F8 00061058 80 04 00 00 */ lwz r0, 0(r4) -/* 800640FC 0006105C 7C 03 00 40 */ cmplw r3, r0 -/* 80064100 00061060 40 82 FF 60 */ bne lbl_80064060 -/* 80064104 00061064 7C A3 2B 78 */ mr r3, r5 -/* 80064108 00061068 4E 80 00 20 */ blr - -.global sub_8006410c -sub_8006410c: -/* 8006410C 0006106C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80064110 00061070 7C 08 02 A6 */ mflr r0 -/* 80064114 00061074 90 01 00 34 */ stw r0, 0x34(r1) -/* 80064118 00061078 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8006411C 0006107C 7C 9F 23 78 */ mr r31, r4 -/* 80064120 00061080 7C 7E 1B 78 */ mr r30, r3 -/* 80064124 00061084 80 03 00 08 */ lwz r0, 8(r3) -/* 80064128 00061088 7C 1F 00 00 */ cmpw r31, r0 -/* 8006412C 0006108C 40 81 00 CC */ ble lbl_800641F8 -/* 80064130 00061090 1C 7F 00 24 */ mulli r3, r31, 0x24 -/* 80064134 00061094 2C 03 00 00 */ cmpwi r3, 0 -/* 80064138 00061098 40 82 00 0C */ bne lbl_80064144 -/* 8006413C 0006109C 3B 80 00 00 */ li r28, 0 -/* 80064140 000610A0 48 00 00 18 */ b lbl_80064158 -lbl_80064144: -/* 80064144 000610A4 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80064148 000610A8 38 A0 00 00 */ li r5, 0 -/* 8006414C 000610AC 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80064150 000610B0 48 2B 16 C9 */ bl __nwa__FUlPCcPCc -/* 80064154 000610B4 7C 7C 1B 78 */ mr r28, r3 -lbl_80064158: -/* 80064158 000610B8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006415C 000610BC 7F 9B E3 78 */ mr r27, r28 -/* 80064160 000610C0 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80064164 000610C4 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80064168 000610C8 93 41 00 10 */ stw r26, 0x10(r1) -/* 8006416C 000610CC 7F BA 02 14 */ add r29, r26, r0 -/* 80064170 000610D0 93 41 00 14 */ stw r26, 0x14(r1) -/* 80064174 000610D4 93 A1 00 08 */ stw r29, 8(r1) -/* 80064178 000610D8 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8006417C 000610DC 48 00 00 28 */ b lbl_800641A4 -lbl_80064180: -/* 80064180 000610E0 28 1B 00 00 */ cmplwi r27, 0 -/* 80064184 000610E4 41 82 00 18 */ beq lbl_8006419C -/* 80064188 000610E8 7F 63 DB 78 */ mr r3, r27 -/* 8006418C 000610EC 7F 44 D3 78 */ mr r4, r26 -/* 80064190 000610F0 48 2F 48 3D */ bl __ct__10CARAMTokenFRC10CARAMToken -/* 80064194 000610F4 80 1A 00 20 */ lwz r0, 0x20(r26) -/* 80064198 000610F8 90 1B 00 20 */ stw r0, 0x20(r27) -lbl_8006419C: -/* 8006419C 000610FC 3B 7B 00 24 */ addi r27, r27, 0x24 -/* 800641A0 00061100 3B 5A 00 24 */ addi r26, r26, 0x24 -lbl_800641A4: -/* 800641A4 00061104 7C 1A E8 40 */ cmplw r26, r29 -/* 800641A8 00061108 40 82 FF D8 */ bne lbl_80064180 -/* 800641AC 0006110C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800641B0 00061110 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 800641B4 00061114 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 800641B8 00061118 7F 7A 02 14 */ add r27, r26, r0 -/* 800641BC 0006111C 48 00 00 1C */ b lbl_800641D8 -lbl_800641C0: -/* 800641C0 00061120 28 1A 00 00 */ cmplwi r26, 0 -/* 800641C4 00061124 41 82 00 10 */ beq lbl_800641D4 -/* 800641C8 00061128 7F 43 D3 78 */ mr r3, r26 -/* 800641CC 0006112C 38 80 FF FF */ li r4, -1 -/* 800641D0 00061130 48 2F 47 75 */ bl __dt__10CARAMTokenFv -lbl_800641D4: -/* 800641D4 00061134 3B 5A 00 24 */ addi r26, r26, 0x24 -lbl_800641D8: -/* 800641D8 00061138 7C 1A D8 40 */ cmplw r26, r27 -/* 800641DC 0006113C 40 82 FF E4 */ bne lbl_800641C0 -/* 800641E0 00061140 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800641E4 00061144 28 03 00 00 */ cmplwi r3, 0 -/* 800641E8 00061148 41 82 00 08 */ beq lbl_800641F0 -/* 800641EC 0006114C 48 2B 17 45 */ bl Free__7CMemoryFPCv -lbl_800641F0: -/* 800641F0 00061150 93 9E 00 0C */ stw r28, 0xc(r30) -/* 800641F4 00061154 93 FE 00 08 */ stw r31, 8(r30) -lbl_800641F8: -/* 800641F8 00061158 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800641FC 0006115C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80064200 00061160 7C 08 03 A6 */ mtlr r0 -/* 80064204 00061164 38 21 00 30 */ addi r1, r1, 0x30 -/* 80064208 00061168 4E 80 00 20 */ blr - -.global "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi": -/* 8006420C 0006116C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80064210 00061170 7C 08 02 A6 */ mflr r0 -/* 80064214 00061174 90 01 00 34 */ stw r0, 0x34(r1) -/* 80064218 00061178 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8006421C 0006117C 7C 9F 23 78 */ mr r31, r4 -/* 80064220 00061180 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80064224 00061184 7C 7E 1B 78 */ mr r30, r3 -/* 80064228 00061188 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8006422C 0006118C 80 03 00 08 */ lwz r0, 8(r3) -/* 80064230 00061190 7C 1F 00 00 */ cmpw r31, r0 -/* 80064234 00061194 40 81 00 B0 */ ble lbl_800642E4 -/* 80064238 00061198 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 8006423C 0006119C 40 82 00 0C */ bne lbl_80064248 -/* 80064240 000611A0 3B A0 00 00 */ li r29, 0 -/* 80064244 000611A4 48 00 00 18 */ b lbl_8006425C -lbl_80064248: -/* 80064248 000611A8 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 8006424C 000611AC 38 A0 00 00 */ li r5, 0 -/* 80064250 000611B0 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80064254 000611B4 48 2B 15 C5 */ bl __nwa__FUlPCcPCc -/* 80064258 000611B8 7C 7D 1B 78 */ mr r29, r3 -lbl_8006425C: -/* 8006425C 000611BC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80064260 000611C0 7F A4 EB 78 */ mr r4, r29 -/* 80064264 000611C4 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80064268 000611C8 54 00 18 38 */ slwi r0, r0, 3 -/* 8006426C 000611CC 7C 65 02 14 */ add r3, r5, r0 -/* 80064270 000611D0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80064274 000611D4 90 61 00 08 */ stw r3, 8(r1) -/* 80064278 000611D8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8006427C 000611DC 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80064280 000611E0 48 00 00 24 */ b lbl_800642A4 -lbl_80064284: -/* 80064284 000611E4 28 04 00 00 */ cmplwi r4, 0 -/* 80064288 000611E8 41 82 00 14 */ beq lbl_8006429C -/* 8006428C 000611EC 80 05 00 00 */ lwz r0, 0(r5) -/* 80064290 000611F0 90 04 00 00 */ stw r0, 0(r4) -/* 80064294 000611F4 80 05 00 04 */ lwz r0, 4(r5) -/* 80064298 000611F8 90 04 00 04 */ stw r0, 4(r4) -lbl_8006429C: -/* 8006429C 000611FC 38 84 00 08 */ addi r4, r4, 8 -/* 800642A0 00061200 38 A5 00 08 */ addi r5, r5, 8 -lbl_800642A4: -/* 800642A4 00061204 7C 05 18 40 */ cmplw r5, r3 -/* 800642A8 00061208 40 82 FF DC */ bne lbl_80064284 -/* 800642AC 0006120C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800642B0 00061210 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800642B4 00061214 54 00 18 38 */ slwi r0, r0, 3 -/* 800642B8 00061218 7C 64 1B 78 */ mr r4, r3 -/* 800642BC 0006121C 7C 03 02 14 */ add r0, r3, r0 -/* 800642C0 00061220 48 00 00 08 */ b lbl_800642C8 -lbl_800642C4: -/* 800642C4 00061224 38 84 00 08 */ addi r4, r4, 8 -lbl_800642C8: -/* 800642C8 00061228 7C 04 00 40 */ cmplw r4, r0 -/* 800642CC 0006122C 40 82 FF F8 */ bne lbl_800642C4 -/* 800642D0 00061230 28 03 00 00 */ cmplwi r3, 0 -/* 800642D4 00061234 41 82 00 08 */ beq lbl_800642DC -/* 800642D8 00061238 48 2B 16 59 */ bl Free__7CMemoryFPCv -lbl_800642DC: -/* 800642DC 0006123C 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800642E0 00061240 93 FE 00 08 */ stw r31, 8(r30) -lbl_800642E4: -/* 800642E4 00061244 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800642E8 00061248 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800642EC 0006124C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800642F0 00061250 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800642F4 00061254 7C 08 03 A6 */ mtlr r0 -/* 800642F8 00061258 38 21 00 30 */ addi r1, r1, 0x30 -/* 800642FC 0006125C 4E 80 00 20 */ blr - -.global "reserve__Q24rstl37vectorFi" -"reserve__Q24rstl37vectorFi": -/* 80064300 00061260 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80064304 00061264 7C 08 02 A6 */ mflr r0 -/* 80064308 00061268 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006430C 0006126C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80064310 00061270 7C 9F 23 78 */ mr r31, r4 -/* 80064314 00061274 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80064318 00061278 7C 7E 1B 78 */ mr r30, r3 -/* 8006431C 0006127C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80064320 00061280 80 03 00 08 */ lwz r0, 8(r3) -/* 80064324 00061284 7C 1F 00 00 */ cmpw r31, r0 -/* 80064328 00061288 40 81 00 A8 */ ble lbl_800643D0 -/* 8006432C 0006128C 57 E3 08 3D */ rlwinm. r3, r31, 1, 0, 0x1e -/* 80064330 00061290 40 82 00 0C */ bne lbl_8006433C -/* 80064334 00061294 3B A0 00 00 */ li r29, 0 -/* 80064338 00061298 48 00 00 18 */ b lbl_80064350 -lbl_8006433C: -/* 8006433C 0006129C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80064340 000612A0 38 A0 00 00 */ li r5, 0 -/* 80064344 000612A4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80064348 000612A8 48 2B 14 D1 */ bl __nwa__FUlPCcPCc -/* 8006434C 000612AC 7C 7D 1B 78 */ mr r29, r3 -lbl_80064350: -/* 80064350 000612B0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80064354 000612B4 7F A4 EB 78 */ mr r4, r29 -/* 80064358 000612B8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8006435C 000612BC 54 00 08 3C */ slwi r0, r0, 1 -/* 80064360 000612C0 7C 65 02 14 */ add r3, r5, r0 -/* 80064364 000612C4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80064368 000612C8 90 61 00 08 */ stw r3, 8(r1) -/* 8006436C 000612CC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80064370 000612D0 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80064374 000612D4 48 00 00 1C */ b lbl_80064390 -lbl_80064378: -/* 80064378 000612D8 28 04 00 00 */ cmplwi r4, 0 -/* 8006437C 000612DC 41 82 00 0C */ beq lbl_80064388 -/* 80064380 000612E0 A0 05 00 00 */ lhz r0, 0(r5) -/* 80064384 000612E4 B0 04 00 00 */ sth r0, 0(r4) -lbl_80064388: -/* 80064388 000612E8 38 84 00 02 */ addi r4, r4, 2 -/* 8006438C 000612EC 38 A5 00 02 */ addi r5, r5, 2 -lbl_80064390: -/* 80064390 000612F0 7C 05 18 40 */ cmplw r5, r3 -/* 80064394 000612F4 40 82 FF E4 */ bne lbl_80064378 -/* 80064398 000612F8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006439C 000612FC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800643A0 00061300 54 00 08 3C */ slwi r0, r0, 1 -/* 800643A4 00061304 7C 64 1B 78 */ mr r4, r3 -/* 800643A8 00061308 7C 03 02 14 */ add r0, r3, r0 -/* 800643AC 0006130C 48 00 00 08 */ b lbl_800643B4 -lbl_800643B0: -/* 800643B0 00061310 38 84 00 02 */ addi r4, r4, 2 -lbl_800643B4: -/* 800643B4 00061314 7C 04 00 40 */ cmplw r4, r0 -/* 800643B8 00061318 40 82 FF F8 */ bne lbl_800643B0 -/* 800643BC 0006131C 28 03 00 00 */ cmplwi r3, 0 -/* 800643C0 00061320 41 82 00 08 */ beq lbl_800643C8 -/* 800643C4 00061324 48 2B 15 6D */ bl Free__7CMemoryFPCv -lbl_800643C8: -/* 800643C8 00061328 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800643CC 0006132C 93 FE 00 08 */ stw r31, 8(r30) -lbl_800643D0: -/* 800643D0 00061330 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800643D4 00061334 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800643D8 00061338 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800643DC 0006133C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800643E0 00061340 7C 08 03 A6 */ mtlr r0 -/* 800643E4 00061344 38 21 00 30 */ addi r1, r1, 0x30 -/* 800643E8 00061348 4E 80 00 20 */ blr - -.global sub_800643ec -sub_800643ec: -/* 800643EC 0006134C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800643F0 00061350 7C 08 02 A6 */ mflr r0 -/* 800643F4 00061354 90 01 00 34 */ stw r0, 0x34(r1) -/* 800643F8 00061358 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800643FC 0006135C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80064400 00061360 7C 9E 23 78 */ mr r30, r4 -/* 80064404 00061364 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80064408 00061368 7C 7D 1B 78 */ mr r29, r3 -/* 8006440C 0006136C 80 03 00 08 */ lwz r0, 8(r3) -/* 80064410 00061370 7C 1E 00 00 */ cmpw r30, r0 -/* 80064414 00061374 40 81 00 8C */ ble lbl_800644A0 -/* 80064418 00061378 1C 7E 00 4C */ mulli r3, r30, 0x4c -/* 8006441C 0006137C 2C 03 00 00 */ cmpwi r3, 0 -/* 80064420 00061380 40 82 00 0C */ bne lbl_8006442C -/* 80064424 00061384 3B E0 00 00 */ li r31, 0 -/* 80064428 00061388 48 00 00 18 */ b lbl_80064440 -lbl_8006442C: -/* 8006442C 0006138C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 80064430 00061390 38 A0 00 00 */ li r5, 0 -/* 80064434 00061394 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 80064438 00061398 48 2B 13 E1 */ bl __nwa__FUlPCcPCc -/* 8006443C 0006139C 7C 7F 1B 78 */ mr r31, r3 -lbl_80064440: -/* 80064440 000613A0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80064444 000613A4 7F E5 FB 78 */ mr r5, r31 -/* 80064448 000613A8 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 8006444C 000613AC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80064450 000613B0 1C 00 00 4C */ mulli r0, r0, 0x4c -/* 80064454 000613B4 38 81 00 0C */ addi r4, r1, 0xc -/* 80064458 000613B8 7C C6 02 14 */ add r6, r6, r0 -/* 8006445C 000613BC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80064460 000613C0 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80064464 000613C4 90 C1 00 08 */ stw r6, 8(r1) -/* 80064468 000613C8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8006446C 000613CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80064470 000613D0 48 00 00 99 */ bl sub_80064508 -/* 80064474 000613D4 80 1D 00 04 */ lwz r0, 4(r29) -/* 80064478 000613D8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8006447C 000613DC 1C 00 00 4C */ mulli r0, r0, 0x4c -/* 80064480 000613E0 7C 83 02 14 */ add r4, r3, r0 -/* 80064484 000613E4 48 00 00 39 */ bl sub_800644bc -/* 80064488 000613E8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8006448C 000613EC 28 03 00 00 */ cmplwi r3, 0 -/* 80064490 000613F0 41 82 00 08 */ beq lbl_80064498 -/* 80064494 000613F4 48 2B 14 9D */ bl Free__7CMemoryFPCv -lbl_80064498: -/* 80064498 000613F8 93 FD 00 0C */ stw r31, 0xc(r29) -/* 8006449C 000613FC 93 DD 00 08 */ stw r30, 8(r29) -lbl_800644A0: -/* 800644A0 00061400 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800644A4 00061404 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800644A8 00061408 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800644AC 0006140C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800644B0 00061410 7C 08 03 A6 */ mtlr r0 -/* 800644B4 00061414 38 21 00 30 */ addi r1, r1, 0x30 -/* 800644B8 00061418 4E 80 00 20 */ blr - -.global sub_800644bc -sub_800644bc: -/* 800644BC 0006141C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800644C0 00061420 7C 08 02 A6 */ mflr r0 -/* 800644C4 00061424 90 01 00 14 */ stw r0, 0x14(r1) -/* 800644C8 00061428 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800644CC 0006142C 7C 7F 1B 78 */ mr r31, r3 -/* 800644D0 00061430 93 C1 00 08 */ stw r30, 8(r1) -/* 800644D4 00061434 7C 9E 23 78 */ mr r30, r4 -/* 800644D8 00061438 48 00 00 10 */ b lbl_800644E8 -lbl_800644DC: -/* 800644DC 0006143C 7F E3 FB 78 */ mr r3, r31 -/* 800644E0 00061440 4B FF 9A 05 */ bl sub_8005dee4 -/* 800644E4 00061444 3B FF 00 4C */ addi r31, r31, 0x4c -lbl_800644E8: -/* 800644E8 00061448 7C 1F F0 40 */ cmplw r31, r30 -/* 800644EC 0006144C 40 82 FF F0 */ bne lbl_800644DC -/* 800644F0 00061450 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800644F4 00061454 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800644F8 00061458 83 C1 00 08 */ lwz r30, 8(r1) -/* 800644FC 0006145C 7C 08 03 A6 */ mtlr r0 -/* 80064500 00061460 38 21 00 10 */ addi r1, r1, 0x10 -/* 80064504 00061464 4E 80 00 20 */ blr - -.global sub_80064508 -sub_80064508: -/* 80064508 00061468 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006450C 0006146C 7C 08 02 A6 */ mflr r0 -/* 80064510 00061470 90 01 00 24 */ stw r0, 0x24(r1) -/* 80064514 00061474 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80064518 00061478 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8006451C 0006147C 7C BE 2B 78 */ mr r30, r5 -/* 80064520 00061480 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80064524 00061484 7C 9D 23 78 */ mr r29, r4 -/* 80064528 00061488 83 E3 00 00 */ lwz r31, 0(r3) -/* 8006452C 0006148C 48 00 00 18 */ b lbl_80064544 -lbl_80064530: -/* 80064530 00061490 7F C3 F3 78 */ mr r3, r30 -/* 80064534 00061494 7F E4 FB 78 */ mr r4, r31 -/* 80064538 00061498 4B FF A2 9D */ bl sub_8005e7d4 -/* 8006453C 0006149C 3B DE 00 4C */ addi r30, r30, 0x4c -/* 80064540 000614A0 3B FF 00 4C */ addi r31, r31, 0x4c -lbl_80064544: -/* 80064544 000614A4 80 1D 00 00 */ lwz r0, 0(r29) -/* 80064548 000614A8 7C 1F 00 40 */ cmplw r31, r0 -/* 8006454C 000614AC 40 82 FF E4 */ bne lbl_80064530 -/* 80064550 000614B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80064554 000614B4 7F C3 F3 78 */ mr r3, r30 -/* 80064558 000614B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8006455C 000614BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80064560 000614C0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80064564 000614C4 7C 08 03 A6 */ mtlr r0 -/* 80064568 000614C8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8006456C 000614CC 4E 80 00 20 */ blr - -.global "reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl72vector,i>,Q24rstl17rmemory_allocator>Fi": -/* 80064570 000614D0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80064574 000614D4 7C 08 02 A6 */ mflr r0 -/* 80064578 000614D8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006457C 000614DC BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80064580 000614E0 7C 9F 23 78 */ mr r31, r4 -/* 80064584 000614E4 7C 7E 1B 78 */ mr r30, r3 -/* 80064588 000614E8 80 03 00 08 */ lwz r0, 8(r3) -/* 8006458C 000614EC 7C 1F 00 00 */ cmpw r31, r0 -/* 80064590 000614F0 40 81 00 E4 */ ble lbl_80064674 -/* 80064594 000614F4 1C 7F 00 0C */ mulli r3, r31, 0xc -/* 80064598 000614F8 2C 03 00 00 */ cmpwi r3, 0 -/* 8006459C 000614FC 40 82 00 0C */ bne lbl_800645A8 -/* 800645A0 00061500 3B A0 00 00 */ li r29, 0 -/* 800645A4 00061504 48 00 00 18 */ b lbl_800645BC -lbl_800645A8: -/* 800645A8 00061508 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha -/* 800645AC 0006150C 38 A0 00 00 */ li r5, 0 -/* 800645B0 00061510 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l -/* 800645B4 00061514 48 2B 12 65 */ bl __nwa__FUlPCcPCc -/* 800645B8 00061518 7C 7D 1B 78 */ mr r29, r3 -lbl_800645BC: -/* 800645BC 0006151C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800645C0 00061520 7F A5 EB 78 */ mr r5, r29 -/* 800645C4 00061524 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 800645C8 00061528 38 60 00 00 */ li r3, 0 -/* 800645CC 0006152C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800645D0 00061530 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800645D4 00061534 7C 86 02 14 */ add r4, r6, r0 -/* 800645D8 00061538 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800645DC 0006153C 90 81 00 08 */ stw r4, 8(r1) -/* 800645E0 00061540 90 81 00 0C */ stw r4, 0xc(r1) -/* 800645E4 00061544 48 00 00 30 */ b lbl_80064614 -lbl_800645E8: -/* 800645E8 00061548 28 05 00 00 */ cmplwi r5, 0 -/* 800645EC 0006154C 41 82 00 20 */ beq lbl_8006460C -/* 800645F0 00061550 88 06 00 00 */ lbz r0, 0(r6) -/* 800645F4 00061554 98 05 00 00 */ stb r0, 0(r5) -/* 800645F8 00061558 80 06 00 04 */ lwz r0, 4(r6) -/* 800645FC 0006155C 90 05 00 04 */ stw r0, 4(r5) -/* 80064600 00061560 98 66 00 00 */ stb r3, 0(r6) -/* 80064604 00061564 80 06 00 08 */ lwz r0, 8(r6) -/* 80064608 00061568 90 05 00 08 */ stw r0, 8(r5) -lbl_8006460C: -/* 8006460C 0006156C 38 A5 00 0C */ addi r5, r5, 0xc -/* 80064610 00061570 38 C6 00 0C */ addi r6, r6, 0xc -lbl_80064614: -/* 80064614 00061574 7C 06 20 40 */ cmplw r6, r4 -/* 80064618 00061578 40 82 FF D0 */ bne lbl_800645E8 -/* 8006461C 0006157C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80064620 00061580 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 80064624 00061584 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80064628 00061588 7F 9B 02 14 */ add r28, r27, r0 -/* 8006462C 0006158C 48 00 00 28 */ b lbl_80064654 -lbl_80064630: -/* 80064630 00061590 28 1B 00 00 */ cmplwi r27, 0 -/* 80064634 00061594 41 82 00 1C */ beq lbl_80064650 -/* 80064638 00061598 41 82 00 18 */ beq lbl_80064650 -/* 8006463C 0006159C 88 1B 00 00 */ lbz r0, 0(r27) -/* 80064640 000615A0 28 00 00 00 */ cmplwi r0, 0 -/* 80064644 000615A4 41 82 00 0C */ beq lbl_80064650 -/* 80064648 000615A8 80 7B 00 04 */ lwz r3, 4(r27) -/* 8006464C 000615AC 48 2B 12 E5 */ bl Free__7CMemoryFPCv -lbl_80064650: -/* 80064650 000615B0 3B 7B 00 0C */ addi r27, r27, 0xc -lbl_80064654: -/* 80064654 000615B4 7C 1B E0 40 */ cmplw r27, r28 -/* 80064658 000615B8 40 82 FF D8 */ bne lbl_80064630 -/* 8006465C 000615BC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80064660 000615C0 28 03 00 00 */ cmplwi r3, 0 -/* 80064664 000615C4 41 82 00 08 */ beq lbl_8006466C -/* 80064668 000615C8 48 2B 12 C9 */ bl Free__7CMemoryFPCv -lbl_8006466C: -/* 8006466C 000615CC 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80064670 000615D0 93 FE 00 08 */ stw r31, 8(r30) -lbl_80064674: -/* 80064674 000615D4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80064678 000615D8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006467C 000615DC 7C 08 03 A6 */ mtlr r0 -/* 80064680 000615E0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80064684 000615E4 4E 80 00 20 */ blr - -.global "pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv" -"pop_front__Q24rstl65list,Q24rstl17rmemory_allocator>Fv": -/* 80064688 000615E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006468C 000615EC 7C 08 02 A6 */ mflr r0 -/* 80064690 000615F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80064694 000615F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80064698 000615F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8006469C 000615FC 7C 9E 23 78 */ mr r30, r4 -/* 800646A0 00061600 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800646A4 00061604 7C 7D 1B 78 */ mr r29, r3 -/* 800646A8 00061608 80 03 00 04 */ lwz r0, 4(r3) -/* 800646AC 0006160C 83 E4 00 04 */ lwz r31, 4(r4) -/* 800646B0 00061610 7C 1E 00 40 */ cmplw r30, r0 -/* 800646B4 00061614 40 82 00 08 */ bne lbl_800646BC -/* 800646B8 00061618 93 FD 00 04 */ stw r31, 4(r29) -lbl_800646BC: -/* 800646BC 0006161C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800646C0 00061620 34 9E 00 08 */ addic. r4, r30, 8 -/* 800646C4 00061624 80 7E 00 00 */ lwz r3, 0(r30) -/* 800646C8 00061628 90 03 00 04 */ stw r0, 4(r3) -/* 800646CC 0006162C 80 1E 00 00 */ lwz r0, 0(r30) -/* 800646D0 00061630 80 7E 00 04 */ lwz r3, 4(r30) -/* 800646D4 00061634 90 03 00 00 */ stw r0, 0(r3) -/* 800646D8 00061638 41 82 00 30 */ beq lbl_80064708 -/* 800646DC 0006163C 88 04 00 00 */ lbz r0, 0(r4) -/* 800646E0 00061640 28 00 00 00 */ cmplwi r0, 0 -/* 800646E4 00061644 41 82 00 24 */ beq lbl_80064708 -/* 800646E8 00061648 80 64 00 04 */ lwz r3, 4(r4) -/* 800646EC 0006164C 28 03 00 00 */ cmplwi r3, 0 -/* 800646F0 00061650 41 82 00 18 */ beq lbl_80064708 -/* 800646F4 00061654 81 83 00 00 */ lwz r12, 0(r3) -/* 800646F8 00061658 38 80 00 01 */ li r4, 1 -/* 800646FC 0006165C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80064700 00061660 7D 89 03 A6 */ mtctr r12 -/* 80064704 00061664 4E 80 04 21 */ bctrl -lbl_80064708: -/* 80064708 00061668 28 1E 00 00 */ cmplwi r30, 0 -/* 8006470C 0006166C 41 82 00 0C */ beq lbl_80064718 -/* 80064710 00061670 7F C3 F3 78 */ mr r3, r30 -/* 80064714 00061674 48 2B 12 1D */ bl Free__7CMemoryFPCv -lbl_80064718: -/* 80064718 00061678 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 8006471C 0006167C 7F E3 FB 78 */ mr r3, r31 -/* 80064720 00061680 38 04 FF FF */ addi r0, r4, -1 -/* 80064724 00061684 90 1D 00 14 */ stw r0, 0x14(r29) -/* 80064728 00061688 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8006472C 0006168C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80064730 00061690 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80064734 00061694 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80064738 00061698 7C 08 03 A6 */ mtlr r0 -/* 8006473C 0006169C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80064740 000616A0 4E 80 00 20 */ blr - -.global sub_80064744 -sub_80064744: -/* 80064744 000616A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80064748 000616A8 7C 08 02 A6 */ mflr r0 -/* 8006474C 000616AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80064750 000616B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80064754 000616B4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80064758 000616B8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8006475C 000616BC 7C 9D 23 78 */ mr r29, r4 -/* 80064760 000616C0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80064764 000616C4 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80064768 000616C8 41 82 00 74 */ beq lbl_800647DC -/* 8006476C 000616CC 83 FC 00 04 */ lwz r31, 4(r28) -/* 80064770 000616D0 48 00 00 50 */ b lbl_800647C0 -lbl_80064774: -/* 80064774 000616D4 7F FE FB 78 */ mr r30, r31 -/* 80064778 000616D8 83 FF 00 04 */ lwz r31, 4(r31) -/* 8006477C 000616DC 34 7E 00 08 */ addic. r3, r30, 8 -/* 80064780 000616E0 41 82 00 30 */ beq lbl_800647B0 -/* 80064784 000616E4 88 03 00 00 */ lbz r0, 0(r3) -/* 80064788 000616E8 28 00 00 00 */ cmplwi r0, 0 -/* 8006478C 000616EC 41 82 00 24 */ beq lbl_800647B0 -/* 80064790 000616F0 80 63 00 04 */ lwz r3, 4(r3) -/* 80064794 000616F4 28 03 00 00 */ cmplwi r3, 0 -/* 80064798 000616F8 41 82 00 18 */ beq lbl_800647B0 -/* 8006479C 000616FC 81 83 00 00 */ lwz r12, 0(r3) -/* 800647A0 00061700 38 80 00 01 */ li r4, 1 -/* 800647A4 00061704 81 8C 00 08 */ lwz r12, 8(r12) -/* 800647A8 00061708 7D 89 03 A6 */ mtctr r12 -/* 800647AC 0006170C 4E 80 04 21 */ bctrl -lbl_800647B0: -/* 800647B0 00061710 28 1E 00 00 */ cmplwi r30, 0 -/* 800647B4 00061714 41 82 00 0C */ beq lbl_800647C0 -/* 800647B8 00061718 7F C3 F3 78 */ mr r3, r30 -/* 800647BC 0006171C 48 2B 11 75 */ bl Free__7CMemoryFPCv -lbl_800647C0: -/* 800647C0 00061720 80 1C 00 08 */ lwz r0, 8(r28) -/* 800647C4 00061724 7C 1F 00 40 */ cmplw r31, r0 -/* 800647C8 00061728 40 82 FF AC */ bne lbl_80064774 -/* 800647CC 0006172C 7F A0 07 35 */ extsh. r0, r29 -/* 800647D0 00061730 40 81 00 0C */ ble lbl_800647DC -/* 800647D4 00061734 7F 83 E3 78 */ mr r3, r28 -/* 800647D8 00061738 48 2B 11 59 */ bl Free__7CMemoryFPCv -lbl_800647DC: -/* 800647DC 0006173C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800647E0 00061740 7F 83 E3 78 */ mr r3, r28 -/* 800647E4 00061744 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800647E8 00061748 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800647EC 0006174C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800647F0 00061750 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800647F4 00061754 7C 08 03 A6 */ mtlr r0 -/* 800647F8 00061758 38 21 00 20 */ addi r1, r1, 0x20 -/* 800647FC 0006175C 4E 80 00 20 */ blr - -.global "SetMessage__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" -"SetMessage__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms": -/* 80064800 00061760 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80064804 00061764 7C 08 02 A6 */ mflr r0 -/* 80064808 00061768 90 01 00 44 */ stw r0, 0x44(r1) -/* 8006480C 0006176C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80064810 00061770 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80064814 00061774 7C BE 2B 78 */ mr r30, r5 -/* 80064818 00061778 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8006481C 0006177C 7C 7D 1B 78 */ mr r29, r3 -/* 80064820 00061780 93 81 00 30 */ stw r28, 0x30(r1) -/* 80064824 00061784 7C 9C 23 78 */ mr r28, r4 -/* 80064828 00061788 80 63 05 98 */ lwz r3, 0x598(r3) -/* 8006482C 0006178C 81 83 00 00 */ lwz r12, 0(r3) -/* 80064830 00061790 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80064834 00061794 7D 89 03 A6 */ mtctr r12 -/* 80064838 00061798 4E 80 04 21 */ bctrl -/* 8006483C 0006179C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80064840 000617A0 7C 7F 1B 78 */ mr r31, r3 -/* 80064844 000617A4 41 82 00 10 */ beq lbl_80064854 -/* 80064848 000617A8 88 1E 00 06 */ lbz r0, 6(r30) -/* 8006484C 000617AC 28 00 00 00 */ cmplwi r0, 0 -/* 80064850 000617B0 41 82 01 D4 */ beq lbl_80064A24 -lbl_80064854: -/* 80064854 000617B4 88 1E 00 05 */ lbz r0, 5(r30) -/* 80064858 000617B8 28 00 00 00 */ cmplwi r0, 0 -/* 8006485C 000617BC 41 82 00 48 */ beq lbl_800648A4 -/* 80064860 000617C0 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 80064864 000617C4 D0 1D 05 58 */ stfs f0, 0x558(r29) -/* 80064868 000617C8 88 1E 00 06 */ lbz r0, 6(r30) -/* 8006486C 000617CC 28 00 00 00 */ cmplwi r0, 0 -/* 80064870 000617D0 41 82 01 B4 */ beq lbl_80064A24 -/* 80064874 000617D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80064878 000617D8 41 82 01 AC */ beq lbl_80064A24 -/* 8006487C 000617DC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80064880 000617E0 38 61 00 0C */ addi r3, r1, 0xc -/* 80064884 000617E4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80064888 000617E8 38 80 05 A9 */ li r4, 0x5a9 -/* 8006488C 000617EC 38 A0 00 7F */ li r5, 0x7f -/* 80064890 000617F0 38 C0 00 40 */ li r6, 0x40 -/* 80064894 000617F4 38 E0 00 00 */ li r7, 0 -/* 80064898 000617F8 39 20 00 00 */ li r9, 0 -/* 8006489C 000617FC 48 28 54 D9 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 800648A0 00061800 48 00 01 84 */ b lbl_80064A24 -lbl_800648A4: -/* 800648A4 00061804 48 2E 57 09 */ bl White__6CColorFv -/* 800648A8 00061808 7C 64 1B 78 */ mr r4, r3 -/* 800648AC 0006180C 80 7D 05 98 */ lwz r3, 0x598(r29) -/* 800648B0 00061810 48 26 5F BD */ bl SetColor__10CGuiWidgetFRC6CColor -/* 800648B4 00061814 80 7D 05 98 */ lwz r3, 0x598(r29) -/* 800648B8 00061818 38 80 00 00 */ li r4, 0 -/* 800648BC 0006181C 38 A0 00 01 */ li r5, 1 -/* 800648C0 00061820 48 26 5E 29 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -/* 800648C4 00061824 88 1E 00 06 */ lbz r0, 6(r30) -/* 800648C8 00061828 28 00 00 00 */ cmplwi r0, 0 -/* 800648CC 0006182C 41 82 00 0C */ beq lbl_800648D8 -/* 800648D0 00061830 80 7D 05 98 */ lwz r3, 0x598(r29) -/* 800648D4 00061834 48 00 00 08 */ b lbl_800648DC -lbl_800648D8: -/* 800648D8 00061838 80 7D 05 9C */ lwz r3, 0x59c(r29) -lbl_800648DC: -/* 800648DC 0006183C 38 80 00 01 */ li r4, 1 -/* 800648E0 00061840 38 A0 00 01 */ li r5, 1 -/* 800648E4 00061844 48 26 5E 05 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -/* 800648E8 00061848 80 7D 05 9C */ lwz r3, 0x59c(r29) -/* 800648EC 0006184C 38 80 00 01 */ li r4, 1 -/* 800648F0 00061850 C0 22 87 2C */ lfs f1, lbl_805AA44C@sda21(r2) -/* 800648F4 00061854 C0 42 87 30 */ lfs f2, lbl_805AA450@sda21(r2) -/* 800648F8 00061858 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 800648FC 0006185C 48 26 38 1D */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff -/* 80064900 00061860 88 1E 00 04 */ lbz r0, 4(r30) -/* 80064904 00061864 28 00 00 00 */ cmplwi r0, 0 -/* 80064908 00061868 41 82 00 2C */ beq lbl_80064934 -/* 8006490C 0006186C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80064910 00061870 7F 84 E3 78 */ mr r4, r28 -/* 80064914 00061874 38 A0 00 00 */ li r5, 0 -/* 80064918 00061878 D0 1D 05 5C */ stfs f0, 0x55c(r29) -/* 8006491C 0006187C 80 7D 05 9C */ lwz r3, 0x59c(r29) -/* 80064920 00061880 D0 03 01 10 */ stfs f0, 0x110(r3) -/* 80064924 00061884 80 7D 05 9C */ lwz r3, 0x59c(r29) -/* 80064928 00061888 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8006492C 0006188C 48 26 4F 59 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80064930 00061890 48 00 00 6C */ b lbl_8006499C -lbl_80064934: -/* 80064934 00061894 80 7D 05 9C */ lwz r3, 0x59c(r29) -/* 80064938 00061898 80 03 00 DC */ lwz r0, 0xdc(r3) -/* 8006493C 0006189C 2C 00 00 00 */ cmpwi r0, 0 -/* 80064940 000618A0 40 82 00 20 */ bne lbl_80064960 -/* 80064944 000618A4 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80064948 000618A8 7F 84 E3 78 */ mr r4, r28 -/* 8006494C 000618AC D0 1D 05 5C */ stfs f0, 0x55c(r29) -/* 80064950 000618B0 80 7D 05 9C */ lwz r3, 0x59c(r29) -/* 80064954 000618B4 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80064958 000618B8 48 26 4E 29 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring -/* 8006495C 000618BC 48 00 00 40 */ b lbl_8006499C -lbl_80064960: -/* 80064960 000618C0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80064964 000618C4 38 8D 83 90 */ addi r4, r13, lbl_805A6F50@sda21 -/* 80064968 000618C8 4B FB 10 89 */ bl wstring_l__4rstlFPCw -/* 8006496C 000618CC 7F 85 E3 78 */ mr r5, r28 -/* 80064970 000618D0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80064974 000618D4 38 81 00 20 */ addi r4, r1, 0x20 -/* 80064978 000618D8 4B FB B6 ED */ bl sub_80020064 -/* 8006497C 000618DC 80 7D 05 9C */ lwz r3, 0x59c(r29) -/* 80064980 000618E0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80064984 000618E4 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80064988 000618E8 48 26 4D F9 */ bl AddText__15CGuiTextSupportFQ24rstl7wstring -/* 8006498C 000618EC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80064990 000618F0 48 2D 87 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80064994 000618F4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80064998 000618F8 48 2D 87 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8006499C: -/* 8006499C 000618FC 48 2E 56 11 */ bl White__6CColorFv -/* 800649A0 00061900 7C 64 1B 78 */ mr r4, r3 -/* 800649A4 00061904 80 7D 05 9C */ lwz r3, 0x59c(r29) -/* 800649A8 00061908 48 26 5E C5 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 800649AC 0006190C 48 2E 56 01 */ bl White__6CColorFv -/* 800649B0 00061910 7C 64 1B 78 */ mr r4, r3 -/* 800649B4 00061914 80 7D 05 98 */ lwz r3, 0x598(r29) -/* 800649B8 00061918 48 26 5E B5 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 800649BC 0006191C C0 1E 00 00 */ lfs f0, 0(r30) -/* 800649C0 00061920 D0 1D 05 58 */ stfs f0, 0x558(r29) -/* 800649C4 00061924 88 1E 00 06 */ lbz r0, 6(r30) -/* 800649C8 00061928 28 00 00 00 */ cmplwi r0, 0 -/* 800649CC 0006192C 41 82 00 40 */ beq lbl_80064A0C -/* 800649D0 00061930 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800649D4 00061934 40 82 00 50 */ bne lbl_80064A24 -/* 800649D8 00061938 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 800649DC 0006193C 38 61 00 08 */ addi r3, r1, 8 -/* 800649E0 00061940 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800649E4 00061944 38 80 05 A3 */ li r4, 0x5a3 -/* 800649E8 00061948 D0 1D 05 84 */ stfs f0, 0x584(r29) -/* 800649EC 0006194C 38 A0 00 7F */ li r5, 0x7f -/* 800649F0 00061950 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800649F4 00061954 38 C0 00 40 */ li r6, 0x40 -/* 800649F8 00061958 D0 1D 05 60 */ stfs f0, 0x560(r29) -/* 800649FC 0006195C 38 E0 00 00 */ li r7, 0 -/* 80064A00 00061960 39 20 00 00 */ li r9, 0 -/* 80064A04 00061964 48 28 53 71 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80064A08 00061968 48 00 00 1C */ b lbl_80064A24 -lbl_80064A0C: -/* 80064A0C 0006196C 83 BD 05 98 */ lwz r29, 0x598(r29) -/* 80064A10 00061970 38 9D 00 74 */ addi r4, r29, 0x74 -/* 80064A14 00061974 38 7D 00 04 */ addi r3, r29, 4 -/* 80064A18 00061978 48 2A E1 29 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80064A1C 0006197C 7F A3 EB 78 */ mr r3, r29 -/* 80064A20 00061980 48 25 FD C9 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_80064A24: -/* 80064A24 00061984 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80064A28 00061988 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80064A2C 0006198C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80064A30 00061990 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80064A34 00061994 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80064A38 00061998 7C 08 03 A6 */ mtlr r0 -/* 80064A3C 0006199C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80064A40 000619A0 4E 80 00 20 */ blr - -.global GetIsVisible__10CGuiWidgetCFv -GetIsVisible__10CGuiWidgetCFv: -/* 80064A44 000619A4 88 03 00 B6 */ lbz r0, 0xb6(r3) -/* 80064A48 000619A8 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f -/* 80064A4C 000619AC 4E 80 00 20 */ blr - -.global UpdateCameraDebugSettings__9CSamusHudFv -UpdateCameraDebugSettings__9CSamusHudFv: -/* 80064A50 000619B0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80064A54 000619B4 7C 08 02 A6 */ mflr r0 -/* 80064A58 000619B8 90 01 00 64 */ stw r0, 0x64(r1) -/* 80064A5C 000619BC DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80064A60 000619C0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80064A64 000619C4 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80064A68 000619C8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80064A6C 000619CC DB A1 00 30 */ stfd f29, 0x30(r1) -/* 80064A70 000619D0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80064A74 000619D4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80064A78 000619D8 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) -/* 80064A7C 000619DC 7C 7F 1B 78 */ mr r31, r3 -/* 80064A80 000619E0 80 63 02 A0 */ lwz r3, 0x2a0(r3) -/* 80064A84 000619E4 80 A6 00 A8 */ lwz r5, 0xa8(r6) -/* 80064A88 000619E8 80 86 00 AC */ lwz r4, 0xac(r6) -/* 80064A8C 000619EC 28 03 00 00 */ cmplwi r3, 0 -/* 80064A90 000619F0 80 06 00 B0 */ lwz r0, 0xb0(r6) -/* 80064A94 000619F4 54 A5 10 3A */ slwi r5, r5, 2 -/* 80064A98 000619F8 54 84 10 3A */ slwi r4, r4, 2 -/* 80064A9C 000619FC 54 00 10 3A */ slwi r0, r0, 2 -/* 80064AA0 00061A00 7C DF 2A 14 */ add r6, r31, r5 -/* 80064AA4 00061A04 7C BF 22 14 */ add r5, r31, r4 -/* 80064AA8 00061A08 C3 E6 05 EC */ lfs f31, 0x5ec(r6) -/* 80064AAC 00061A0C 7C 9F 02 14 */ add r4, r31, r0 -/* 80064AB0 00061A10 C3 C5 06 2C */ lfs f30, 0x62c(r5) -/* 80064AB4 00061A14 C3 A4 07 2C */ lfs f29, 0x72c(r4) -/* 80064AB8 00061A18 41 82 00 14 */ beq lbl_80064ACC -/* 80064ABC 00061A1C FC 20 F8 90 */ fmr f1, f31 -/* 80064AC0 00061A20 FC 40 F0 90 */ fmr f2, f30 -/* 80064AC4 00061A24 FC 60 E8 90 */ fmr f3, f29 -/* 80064AC8 00061A28 48 12 C1 59 */ bl UpdateCameraDebugSettings__19CHudHelmetInterfaceFfff -lbl_80064ACC: -/* 80064ACC 00061A2C 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 80064AD0 00061A30 28 03 00 00 */ cmplwi r3, 0 -/* 80064AD4 00061A34 41 82 00 20 */ beq lbl_80064AF4 -/* 80064AD8 00061A38 81 83 00 00 */ lwz r12, 0(r3) -/* 80064ADC 00061A3C FC 20 F8 90 */ fmr f1, f31 -/* 80064AE0 00061A40 FC 40 F0 90 */ fmr f2, f30 -/* 80064AE4 00061A44 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80064AE8 00061A48 FC 60 E8 90 */ fmr f3, f29 -/* 80064AEC 00061A4C 7D 89 03 A6 */ mtctr r12 -/* 80064AF0 00061A50 4E 80 04 21 */ bctrl -lbl_80064AF4: -/* 80064AF4 00061A54 80 7F 02 74 */ lwz r3, 0x274(r31) -/* 80064AF8 00061A58 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80064AFC 00061A5C 81 03 00 14 */ lwz r8, 0x14(r3) -/* 80064B00 00061A60 80 08 00 BC */ lwz r0, 0xbc(r8) -/* 80064B04 00061A64 80 E8 00 C0 */ lwz r7, 0xc0(r8) -/* 80064B08 00061A68 90 01 00 08 */ stw r0, 8(r1) -/* 80064B0C 00061A6C 80 C8 00 C4 */ lwz r6, 0xc4(r8) -/* 80064B10 00061A70 D3 E1 00 08 */ stfs f31, 8(r1) -/* 80064B14 00061A74 80 A8 00 C8 */ lwz r5, 0xc8(r8) -/* 80064B18 00061A78 80 88 00 CC */ lwz r4, 0xcc(r8) -/* 80064B1C 00061A7C 80 68 00 D0 */ lwz r3, 0xd0(r8) -/* 80064B20 00061A80 80 01 00 08 */ lwz r0, 8(r1) -/* 80064B24 00061A84 90 E1 00 0C */ stw r7, 0xc(r1) -/* 80064B28 00061A88 90 08 00 BC */ stw r0, 0xbc(r8) -/* 80064B2C 00061A8C 90 E8 00 C0 */ stw r7, 0xc0(r8) -/* 80064B30 00061A90 90 C8 00 C4 */ stw r6, 0xc4(r8) -/* 80064B34 00061A94 90 A8 00 C8 */ stw r5, 0xc8(r8) -/* 80064B38 00061A98 90 88 00 CC */ stw r4, 0xcc(r8) -/* 80064B3C 00061A9C 90 68 00 D0 */ stw r3, 0xd0(r8) -/* 80064B40 00061AA0 D0 1F 03 10 */ stfs f0, 0x310(r31) -/* 80064B44 00061AA4 D3 DF 03 14 */ stfs f30, 0x314(r31) -/* 80064B48 00061AA8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80064B4C 00061AAC 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80064B50 00061AB0 90 81 00 18 */ stw r4, 0x18(r1) -/* 80064B54 00061AB4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80064B58 00061AB8 D3 BF 03 18 */ stfs f29, 0x318(r31) -/* 80064B5C 00061ABC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80064B60 00061AC0 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80064B64 00061AC4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80064B68 00061AC8 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80064B6C 00061ACC E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80064B70 00061AD0 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80064B74 00061AD4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80064B78 00061AD8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80064B7C 00061ADC 7C 08 03 A6 */ mtlr r0 -/* 80064B80 00061AE0 38 21 00 60 */ addi r1, r1, 0x60 -/* 80064B84 00061AE4 4E 80 00 20 */ blr - -.global ApplyClassicLag__9CSamusHudFRC13CUnitVector3fR11CQuaternionRC13CStateManagerfb -ApplyClassicLag__9CSamusHudFRC13CUnitVector3fR11CQuaternionRC13CStateManagerfb: -/* 80064B88 00061AE8 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 80064B8C 00061AEC 7C 08 02 A6 */ mflr r0 -/* 80064B90 00061AF0 90 01 01 84 */ stw r0, 0x184(r1) -/* 80064B94 00061AF4 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 80064B98 00061AF8 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 80064B9C 00061AFC DB C1 01 60 */ stfd f30, 0x160(r1) -/* 80064BA0 00061B00 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 80064BA4 00061B04 DB A1 01 50 */ stfd f29, 0x150(r1) -/* 80064BA8 00061B08 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 80064BAC 00061B0C DB 81 01 40 */ stfd f28, 0x140(r1) -/* 80064BB0 00061B10 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 80064BB4 00061B14 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 80064BB8 00061B18 93 C1 01 38 */ stw r30, 0x138(r1) -/* 80064BBC 00061B1C 93 A1 01 34 */ stw r29, 0x134(r1) -/* 80064BC0 00061B20 93 81 01 30 */ stw r28, 0x130(r1) -/* 80064BC4 00061B24 3C C0 80 5A */ lis r6, lbl_805A6724@ha -/* 80064BC8 00061B28 C0 C2 87 38 */ lfs f6, lbl_805AA458@sda21(r2) -/* 80064BCC 00061B2C 3B C6 67 24 */ addi r30, r6, lbl_805A6724@l -/* 80064BD0 00061B30 C0 44 00 00 */ lfs f2, 0(r4) -/* 80064BD4 00061B34 C0 BE 00 00 */ lfs f5, 0(r30) -/* 80064BD8 00061B38 7C 7C 1B 78 */ mr r28, r3 -/* 80064BDC 00061B3C C0 9E 00 04 */ lfs f4, 4(r30) -/* 80064BE0 00061B40 FF E0 08 90 */ fmr f31, f1 -/* 80064BE4 00061B44 C0 7E 00 08 */ lfs f3, 8(r30) -/* 80064BE8 00061B48 7C BF 2B 78 */ mr r31, r5 -/* 80064BEC 00061B4C C0 24 00 04 */ lfs f1, 4(r4) -/* 80064BF0 00061B50 7C FD 3B 78 */ mr r29, r7 -/* 80064BF4 00061B54 C0 04 00 08 */ lfs f0, 8(r4) -/* 80064BF8 00061B58 D0 C1 00 14 */ stfs f6, 0x14(r1) -/* 80064BFC 00061B5C 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80064C00 00061B60 38 81 00 AC */ addi r4, r1, 0xac -/* 80064C04 00061B64 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 80064C08 00061B68 D0 A1 00 A0 */ stfs f5, 0xa0(r1) -/* 80064C0C 00061B6C 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80064C10 00061B70 D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 80064C14 00061B74 D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 80064C18 00061B78 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 80064C1C 00061B7C D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 80064C20 00061B80 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80064C24 00061B84 48 2A CA 71 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 80064C28 00061B88 C0 61 00 B8 */ lfs f3, 0xb8(r1) -/* 80064C2C 00061B8C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80064C30 00061B90 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 80064C34 00061B94 C0 21 00 C0 */ lfs f1, 0xc0(r1) -/* 80064C38 00061B98 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 80064C3C 00061B9C D0 61 00 D8 */ stfs f3, 0xd8(r1) -/* 80064C40 00061BA0 D0 41 00 DC */ stfs f2, 0xdc(r1) -/* 80064C44 00061BA4 D0 21 00 E0 */ stfs f1, 0xe0(r1) -/* 80064C48 00061BA8 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 80064C4C 00061BAC 41 82 00 60 */ beq lbl_80064CAC -/* 80064C50 00061BB0 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 80064C54 00061BB4 C0 62 87 38 */ lfs f3, lbl_805AA458@sda21(r2) -/* 80064C58 00061BB8 C0 43 67 24 */ lfs f2, lbl_805A6724@l(r3) -/* 80064C5C 00061BBC 38 61 00 88 */ addi r3, r1, 0x88 -/* 80064C60 00061BC0 C0 3E 00 04 */ lfs f1, 4(r30) -/* 80064C64 00061BC4 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 80064C68 00061BC8 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80064C6C 00061BCC 38 BC 02 F8 */ addi r5, r28, 0x2f8 -/* 80064C70 00061BD0 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80064C74 00061BD4 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 80064C78 00061BD8 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 80064C7C 00061BDC D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 80064C80 00061BE0 48 2A C5 E5 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80064C84 00061BE4 38 61 00 7C */ addi r3, r1, 0x7c -/* 80064C88 00061BE8 38 81 00 88 */ addi r4, r1, 0x88 -/* 80064C8C 00061BEC 48 2A F1 45 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80064C90 00061BF0 7C 64 1B 78 */ mr r4, r3 -/* 80064C94 00061BF4 38 61 00 6C */ addi r3, r1, 0x6c -/* 80064C98 00061BF8 38 A1 00 94 */ addi r5, r1, 0x94 -/* 80064C9C 00061BFC 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80064CA0 00061C00 48 2A C9 F5 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 80064CA4 00061C04 38 C1 00 6C */ addi r6, r1, 0x6c -/* 80064CA8 00061C08 48 00 00 5C */ b lbl_80064D04 -lbl_80064CAC: -/* 80064CAC 00061C0C 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 80064CB0 00061C10 C0 62 87 38 */ lfs f3, lbl_805AA458@sda21(r2) -/* 80064CB4 00061C14 C0 43 67 24 */ lfs f2, lbl_805A6724@l(r3) -/* 80064CB8 00061C18 38 61 00 60 */ addi r3, r1, 0x60 -/* 80064CBC 00061C1C C0 3E 00 04 */ lfs f1, 4(r30) -/* 80064CC0 00061C20 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 80064CC4 00061C24 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80064CC8 00061C28 38 BC 02 F8 */ addi r5, r28, 0x2f8 -/* 80064CCC 00061C2C D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80064CD0 00061C30 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80064CD4 00061C34 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80064CD8 00061C38 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80064CDC 00061C3C 48 2A C5 89 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80064CE0 00061C40 38 61 00 54 */ addi r3, r1, 0x54 -/* 80064CE4 00061C44 38 81 00 60 */ addi r4, r1, 0x60 -/* 80064CE8 00061C48 48 2A F0 E9 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80064CEC 00061C4C 7C 65 1B 78 */ mr r5, r3 -/* 80064CF0 00061C50 38 61 00 38 */ addi r3, r1, 0x38 -/* 80064CF4 00061C54 38 81 00 48 */ addi r4, r1, 0x48 -/* 80064CF8 00061C58 38 C1 00 0C */ addi r6, r1, 0xc -/* 80064CFC 00061C5C 48 2A C9 99 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 80064D00 00061C60 38 C1 00 38 */ addi r6, r1, 0x38 -lbl_80064D04: -/* 80064D04 00061C64 C0 06 00 00 */ lfs f0, 0(r6) -/* 80064D08 00061C68 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80064D0C 00061C6C 7C 85 23 78 */ mr r5, r4 -/* 80064D10 00061C70 38 61 00 18 */ addi r3, r1, 0x18 -/* 80064D14 00061C74 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 80064D18 00061C78 C0 06 00 04 */ lfs f0, 4(r6) -/* 80064D1C 00061C7C D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 80064D20 00061C80 C0 06 00 08 */ lfs f0, 8(r6) -/* 80064D24 00061C84 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 80064D28 00061C88 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 80064D2C 00061C8C D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 80064D30 00061C90 48 2A C4 71 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80064D34 00061C94 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80064D38 00061C98 38 61 01 0C */ addi r3, r1, 0x10c -/* 80064D3C 00061C9C 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80064D40 00061CA0 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80064D44 00061CA4 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 80064D48 00061CA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80064D4C 00061CAC D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 80064D50 00061CB0 90 C1 00 CC */ stw r6, 0xcc(r1) -/* 80064D54 00061CB4 90 A1 00 D0 */ stw r5, 0xd0(r1) -/* 80064D58 00061CB8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80064D5C 00061CBC 48 2A D3 31 */ bl BuildTransform__11CQuaternionCFv -/* 80064D60 00061CC0 C3 81 01 28 */ lfs f28, 0x128(r1) -/* 80064D64 00061CC4 7F E4 FB 78 */ mr r4, r31 -/* 80064D68 00061CC8 C3 A1 01 1C */ lfs f29, 0x11c(r1) -/* 80064D6C 00061CCC 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80064D70 00061CD0 C3 C1 01 10 */ lfs f30, 0x110(r1) -/* 80064D74 00061CD4 48 2A D3 19 */ bl BuildTransform__11CQuaternionCFv -/* 80064D78 00061CD8 C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 80064D7C 00061CDC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80064D80 00061CE0 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80064D84 00061CE4 C0 21 00 EC */ lfs f1, 0xec(r1) -/* 80064D88 00061CE8 C0 63 01 38 */ lfs f3, 0x138(r3) -/* 80064D8C 00061CEC C0 41 01 04 */ lfs f2, 0x104(r1) -/* 80064D90 00061CF0 EC 21 07 BA */ fmadds f1, f1, f30, f0 -/* 80064D94 00061CF4 C0 82 87 3C */ lfs f4, lbl_805AA45C@sda21(r2) -/* 80064D98 00061CF8 EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 80064D9C 00061CFC C8 02 87 40 */ lfd f0, lbl_805AA460@sda21(r2) -/* 80064DA0 00061D00 EC 22 0F 3A */ fmadds f1, f2, f28, f1 -/* 80064DA4 00061D04 EF C4 00 F2 */ fmuls f30, f4, f3 -/* 80064DA8 00061D08 FC 40 0A 10 */ fabs f2, f1 -/* 80064DAC 00061D0C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80064DB0 00061D10 40 81 00 14 */ ble lbl_80064DC4 -/* 80064DB4 00061D14 C0 02 87 48 */ lfs f0, lbl_805AA468@sda21(r2) -/* 80064DB8 00061D18 C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) -/* 80064DBC 00061D1C FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 80064DC0 00061D20 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_80064DC4: -/* 80064DC4 00061D24 48 32 FE 69 */ bl acos -/* 80064DC8 00061D28 FC 40 08 18 */ frsp f2, f1 -/* 80064DCC 00061D2C C0 22 87 4C */ lfs f1, lbl_805AA46C@sda21(r2) -/* 80064DD0 00061D30 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80064DD4 00061D34 EC 21 07 F2 */ fmuls f1, f1, f31 -/* 80064DD8 00061D38 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80064DDC 00061D3C 40 81 00 08 */ ble lbl_80064DE4 -/* 80064DE0 00061D40 EC 1E 10 24 */ fdivs f0, f30, f2 -lbl_80064DE4: -/* 80064DE4 00061D44 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80064DE8 00061D48 38 81 00 08 */ addi r4, r1, 8 -/* 80064DEC 00061D4C 38 6D 83 88 */ addi r3, r13, lbl_805A6F48@sda21 -/* 80064DF0 00061D50 38 AD 83 8C */ addi r5, r13, lbl_805A6F4C@sda21 -/* 80064DF4 00061D54 D0 01 00 08 */ stfs f0, 8(r1) -/* 80064DF8 00061D58 4B FA 74 BD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80064DFC 00061D5C C0 23 00 00 */ lfs f1, 0(r3) -/* 80064E00 00061D60 7F E4 FB 78 */ mr r4, r31 -/* 80064E04 00061D64 38 61 00 28 */ addi r3, r1, 0x28 -/* 80064E08 00061D68 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 80064E0C 00061D6C 48 2A C7 AD */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf -/* 80064E10 00061D70 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80064E14 00061D74 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80064E18 00061D78 80 61 00 30 */ lwz r3, 0x30(r1) -/* 80064E1C 00061D7C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80064E20 00061D80 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 80064E24 00061D84 90 81 00 CC */ stw r4, 0xcc(r1) -/* 80064E28 00061D88 90 61 00 D0 */ stw r3, 0xd0(r1) -/* 80064E2C 00061D8C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80064E30 00061D90 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80064E34 00061D94 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 80064E38 00061D98 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 80064E3C 00061D9C 90 7F 00 04 */ stw r3, 4(r31) -/* 80064E40 00061DA0 90 1F 00 08 */ stw r0, 8(r31) -/* 80064E44 00061DA4 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80064E48 00061DA8 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80064E4C 00061DAC E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 80064E50 00061DB0 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 80064E54 00061DB4 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 80064E58 00061DB8 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 80064E5C 00061DBC E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 80064E60 00061DC0 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 80064E64 00061DC4 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 80064E68 00061DC8 CB 81 01 40 */ lfd f28, 0x140(r1) -/* 80064E6C 00061DCC 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 80064E70 00061DD0 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 80064E74 00061DD4 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 80064E78 00061DD8 80 01 01 84 */ lwz r0, 0x184(r1) -/* 80064E7C 00061DDC 83 81 01 30 */ lwz r28, 0x130(r1) -/* 80064E80 00061DE0 7C 08 03 A6 */ mtlr r0 -/* 80064E84 00061DE4 38 21 01 80 */ addi r1, r1, 0x180 -/* 80064E88 00061DE8 4E 80 00 20 */ blr - -.global UpdateHudLag__9CSamusHudFfRC13CStateManager -UpdateHudLag__9CSamusHudFfRC13CStateManager: -/* 80064E8C 00061DEC 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 80064E90 00061DF0 7C 08 02 A6 */ mflr r0 -/* 80064E94 00061DF4 90 01 02 04 */ stw r0, 0x204(r1) -/* 80064E98 00061DF8 DB E1 01 F0 */ stfd f31, 0x1f0(r1) -/* 80064E9C 00061DFC F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 -/* 80064EA0 00061E00 93 E1 01 EC */ stw r31, 0x1ec(r1) -/* 80064EA4 00061E04 93 C1 01 E8 */ stw r30, 0x1e8(r1) -/* 80064EA8 00061E08 7C 7E 1B 78 */ mr r30, r3 -/* 80064EAC 00061E0C FF E0 08 90 */ fmr f31, f1 -/* 80064EB0 00061E10 80 03 02 9C */ lwz r0, 0x29c(r3) -/* 80064EB4 00061E14 7C 9F 23 78 */ mr r31, r4 -/* 80064EB8 00061E18 28 00 00 00 */ cmplwi r0, 0 -/* 80064EBC 00061E1C 41 82 00 20 */ beq lbl_80064EDC -/* 80064EC0 00061E20 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80064EC4 00061E24 4B FE F5 ED */ bl GetYaw__6CActorCFv -/* 80064EC8 00061E28 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 80064ECC 00061E2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80064ED0 00061E30 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80064ED4 00061E34 7D 89 03 A6 */ mtctr r12 -/* 80064ED8 00061E38 4E 80 04 21 */ bctrl -lbl_80064EDC: -/* 80064EDC 00061E3C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80064EE0 00061E40 88 03 01 E4 */ lbz r0, 0x1e4(r3) -/* 80064EE4 00061E44 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80064EE8 00061E48 40 82 01 18 */ bne lbl_80065000 -/* 80064EEC 00061E4C 80 7E 02 A0 */ lwz r3, 0x2a0(r30) -/* 80064EF0 00061E50 28 03 00 00 */ cmplwi r3, 0 -/* 80064EF4 00061E54 41 82 00 20 */ beq lbl_80064F14 -/* 80064EF8 00061E58 3C 80 80 5A */ lis r4, lbl_805A65FC@ha -/* 80064EFC 00061E5C 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l -/* 80064F00 00061E60 48 12 BC 89 */ bl SetHudLagRotation__19CHudHelmetInterfaceFRC9CMatrix3f -/* 80064F04 00061E64 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80064F08 00061E68 80 7E 02 A0 */ lwz r3, 0x2a0(r30) -/* 80064F0C 00061E6C 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 80064F10 00061E70 48 12 BC 4D */ bl SetHudLagOffset__19CHudHelmetInterfaceFRC9CVector3f -lbl_80064F14: -/* 80064F14 00061E74 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 80064F18 00061E78 28 03 00 00 */ cmplwi r3, 0 -/* 80064F1C 00061E7C 41 82 00 54 */ beq lbl_80064F70 -/* 80064F20 00061E80 81 83 00 00 */ lwz r12, 0(r3) -/* 80064F24 00061E84 3C 80 80 5A */ lis r4, lbl_805A65FC@ha -/* 80064F28 00061E88 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l -/* 80064F2C 00061E8C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80064F30 00061E90 7D 89 03 A6 */ mtctr r12 -/* 80064F34 00061E94 4E 80 04 21 */ bctrl -/* 80064F38 00061E98 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 80064F3C 00061E9C 3C 80 80 5A */ lis r4, lbl_805A6660@ha -/* 80064F40 00061EA0 38 84 66 60 */ addi r4, r4, lbl_805A6660@l -/* 80064F44 00061EA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80064F48 00061EA8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80064F4C 00061EAC 7D 89 03 A6 */ mtctr r12 -/* 80064F50 00061EB0 4E 80 04 21 */ bctrl -/* 80064F54 00061EB4 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 80064F58 00061EB8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80064F5C 00061EBC 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 80064F60 00061EC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80064F64 00061EC4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80064F68 00061EC8 7D 89 03 A6 */ mtctr r12 -/* 80064F6C 00061ECC 4E 80 04 21 */ bctrl -lbl_80064F70: -/* 80064F70 00061ED0 80 9E 05 88 */ lwz r4, 0x588(r30) -/* 80064F74 00061ED4 38 61 00 78 */ addi r3, r1, 0x78 -/* 80064F78 00061ED8 48 26 02 C1 */ bl GetWorldPosition__10CGuiObjectCFv -/* 80064F7C 00061EDC 3C 80 80 5A */ lis r4, lbl_805A65FC@ha -/* 80064F80 00061EE0 38 61 01 88 */ addi r3, r1, 0x188 -/* 80064F84 00061EE4 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l -/* 80064F88 00061EE8 38 A1 00 78 */ addi r5, r1, 0x78 -/* 80064F8C 00061EEC 48 2A E2 ED */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80064F90 00061EF0 83 FE 05 88 */ lwz r31, 0x588(r30) -/* 80064F94 00061EF4 38 81 01 88 */ addi r4, r1, 0x188 -/* 80064F98 00061EF8 38 7F 00 74 */ addi r3, r31, 0x74 -/* 80064F9C 00061EFC 48 2A DB A5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80064FA0 00061F00 7F E3 FB 78 */ mr r3, r31 -/* 80064FA4 00061F04 48 26 56 C1 */ bl ReapplyXform__10CGuiWidgetFv -/* 80064FA8 00061F08 80 BE 02 74 */ lwz r5, 0x274(r30) -/* 80064FAC 00061F0C 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 80064FB0 00061F10 38 83 66 60 */ addi r4, r3, lbl_805A6660@l -/* 80064FB4 00061F14 38 DE 03 10 */ addi r6, r30, 0x310 -/* 80064FB8 00061F18 83 E5 00 14 */ lwz r31, 0x14(r5) -/* 80064FBC 00061F1C 38 61 01 58 */ addi r3, r1, 0x158 -/* 80064FC0 00061F20 38 BE 03 04 */ addi r5, r30, 0x304 -/* 80064FC4 00061F24 48 00 85 DD */ bl BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f -/* 80064FC8 00061F28 7F E3 FB 78 */ mr r3, r31 -/* 80064FCC 00061F2C 38 81 01 58 */ addi r4, r1, 0x158 -/* 80064FD0 00061F30 48 25 F7 69 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f -/* 80064FD4 00061F34 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 80064FD8 00061F38 38 83 66 60 */ addi r4, r3, lbl_805A6660@l -/* 80064FDC 00061F3C C0 04 00 00 */ lfs f0, 0(r4) -/* 80064FE0 00061F40 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80064FE4 00061F44 80 64 00 04 */ lwz r3, 4(r4) -/* 80064FE8 00061F48 80 04 00 08 */ lwz r0, 8(r4) -/* 80064FEC 00061F4C 90 7E 00 0C */ stw r3, 0xc(r30) -/* 80064FF0 00061F50 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80064FF4 00061F54 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80064FF8 00061F58 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80064FFC 00061F5C 48 00 02 EC */ b lbl_800652E8 -lbl_80065000: -/* 80065000 00061F60 C0 1E 02 F8 */ lfs f0, 0x2f8(r30) -/* 80065004 00061F64 7F E4 FB 78 */ mr r4, r31 -/* 80065008 00061F68 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8006500C 00061F6C D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 80065010 00061F70 C0 1E 02 FC */ lfs f0, 0x2fc(r30) -/* 80065014 00061F74 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80065018 00061F78 C0 1E 03 00 */ lfs f0, 0x300(r30) -/* 8006501C 00061F7C D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 80065020 00061F80 4B FA 6A F9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80065024 00061F84 7C 64 1B 78 */ mr r4, r3 -/* 80065028 00061F88 38 61 00 0C */ addi r3, r1, 0xc -/* 8006502C 00061F8C 48 04 94 49 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" -/* 80065030 00061F90 80 83 00 04 */ lwz r4, 4(r3) -/* 80065034 00061F94 28 04 00 00 */ cmplwi r4, 0 -/* 80065038 00061F98 41 82 00 34 */ beq lbl_8006506C -/* 8006503C 00061F9C 38 61 01 34 */ addi r3, r1, 0x134 -/* 80065040 00061FA0 38 84 00 34 */ addi r4, r4, 0x34 -/* 80065044 00061FA4 48 2A E0 B1 */ bl BuildMatrix3f__12CTransform4fCFv -/* 80065048 00061FA8 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 8006504C 00061FAC 38 81 01 34 */ addi r4, r1, 0x134 -/* 80065050 00061FB0 48 2A AF D5 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 80065054 00061FB4 C0 41 01 D4 */ lfs f2, 0x1d4(r1) -/* 80065058 00061FB8 C0 21 01 C8 */ lfs f1, 0x1c8(r1) -/* 8006505C 00061FBC C0 01 01 BC */ lfs f0, 0x1bc(r1) -/* 80065060 00061FC0 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 80065064 00061FC4 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 80065068 00061FC8 D0 41 00 B8 */ stfs f2, 0xb8(r1) -lbl_8006506C: -/* 8006506C 00061FCC FC 20 F8 90 */ fmr f1, f31 -/* 80065070 00061FD0 7F C3 F3 78 */ mr r3, r30 -/* 80065074 00061FD4 7F E6 FB 78 */ mr r6, r31 -/* 80065078 00061FD8 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 8006507C 00061FDC 38 BE 03 1C */ addi r5, r30, 0x31c -/* 80065080 00061FE0 38 E0 00 00 */ li r7, 0 -/* 80065084 00061FE4 4B FF FB 05 */ bl ApplyClassicLag__9CSamusHudFRC13CUnitVector3fR11CQuaternionRC13CStateManagerfb -/* 80065088 00061FE8 FC 20 F8 90 */ fmr f1, f31 -/* 8006508C 00061FEC 7F C3 F3 78 */ mr r3, r30 -/* 80065090 00061FF0 7F E6 FB 78 */ mr r6, r31 -/* 80065094 00061FF4 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 80065098 00061FF8 38 BE 03 2C */ addi r5, r30, 0x32c -/* 8006509C 00061FFC 38 E0 00 01 */ li r7, 1 -/* 800650A0 00062000 4B FF FA E9 */ bl ApplyClassicLag__9CSamusHudFRC13CUnitVector3fR11CQuaternionRC13CStateManagerfb -/* 800650A4 00062004 C0 02 87 38 */ lfs f0, lbl_805AA458@sda21(r2) -/* 800650A8 00062008 38 61 00 5C */ addi r3, r1, 0x5c -/* 800650AC 0006200C 38 9E 02 F8 */ addi r4, r30, 0x2f8 -/* 800650B0 00062010 D0 01 00 08 */ stfs f0, 8(r1) -/* 800650B4 00062014 48 2A ED 1D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 800650B8 00062018 7C 64 1B 78 */ mr r4, r3 -/* 800650BC 0006201C 38 61 00 68 */ addi r3, r1, 0x68 -/* 800650C0 00062020 38 A1 00 B0 */ addi r5, r1, 0xb0 -/* 800650C4 00062024 38 C1 00 08 */ addi r6, r1, 8 -/* 800650C8 00062028 48 2A C5 CD */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 800650CC 0006202C C0 61 00 68 */ lfs f3, 0x68(r1) -/* 800650D0 00062030 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 800650D4 00062034 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 800650D8 00062038 7C 85 23 78 */ mr r5, r4 -/* 800650DC 0006203C C0 21 00 70 */ lfs f1, 0x70(r1) -/* 800650E0 00062040 38 61 00 24 */ addi r3, r1, 0x24 -/* 800650E4 00062044 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 800650E8 00062048 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 800650EC 0006204C D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 800650F0 00062050 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 800650F4 00062054 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 800650F8 00062058 48 2A C0 A9 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 800650FC 0006205C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80065100 00062060 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 80065104 00062064 80 E1 00 28 */ lwz r7, 0x28(r1) -/* 80065108 00062068 7C 85 23 78 */ mr r5, r4 -/* 8006510C 0006206C 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 80065110 00062070 38 61 00 14 */ addi r3, r1, 0x14 -/* 80065114 00062074 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80065118 00062078 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8006511C 0006207C 90 E1 00 A4 */ stw r7, 0xa4(r1) -/* 80065120 00062080 90 C1 00 A8 */ stw r6, 0xa8(r1) -/* 80065124 00062084 90 01 00 AC */ stw r0, 0xac(r1) -/* 80065128 00062088 48 2A C0 79 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8006512C 0006208C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80065130 00062090 38 61 00 50 */ addi r3, r1, 0x50 -/* 80065134 00062094 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80065138 00062098 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8006513C 0006209C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80065140 000620A0 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 80065144 000620A4 90 A1 00 A4 */ stw r5, 0xa4(r1) -/* 80065148 000620A8 90 81 00 A8 */ stw r4, 0xa8(r1) -/* 8006514C 000620AC 90 01 00 AC */ stw r0, 0xac(r1) -/* 80065150 000620B0 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80065154 000620B4 80 81 00 A4 */ lwz r4, 0xa4(r1) -/* 80065158 000620B8 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 8006515C 000620BC 90 9E 00 0C */ stw r4, 0xc(r30) -/* 80065160 000620C0 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80065164 000620C4 80 01 00 AC */ lwz r0, 0xac(r1) -/* 80065168 000620C8 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8006516C 000620CC 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80065170 000620D0 80 84 07 6C */ lwz r4, 0x76c(r4) -/* 80065174 000620D4 48 08 4B 75 */ bl GetHelmetBobTranslation__16CPlayerCameraBobCFv -/* 80065178 000620D8 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8006517C 000620DC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80065180 000620E0 C0 5E 04 20 */ lfs f2, 0x420(r30) -/* 80065184 000620E4 38 9E 04 4C */ addi r4, r30, 0x44c -/* 80065188 000620E8 C0 A5 01 DC */ lfs f5, 0x1dc(r5) -/* 8006518C 000620EC 38 BE 03 1C */ addi r5, r30, 0x31c -/* 80065190 000620F0 C0 3E 04 24 */ lfs f1, 0x424(r30) -/* 80065194 000620F4 C0 1E 04 1C */ lfs f0, 0x41c(r30) -/* 80065198 000620F8 EC 65 00 B2 */ fmuls f3, f5, f2 -/* 8006519C 000620FC C0 82 87 34 */ lfs f4, lbl_805AA454@sda21(r2) -/* 800651A0 00062100 EC 25 00 72 */ fmuls f1, f5, f1 -/* 800651A4 00062104 EC 05 00 32 */ fmuls f0, f5, f0 -/* 800651A8 00062108 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 800651AC 0006210C EC 64 18 2A */ fadds f3, f4, f3 -/* 800651B0 00062110 EC 22 08 2A */ fadds f1, f2, f1 -/* 800651B4 00062114 EC 04 00 2A */ fadds f0, f4, f0 -/* 800651B8 00062118 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 800651BC 0006211C D0 01 00 94 */ stfs f0, 0x94(r1) -/* 800651C0 00062120 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 800651C4 00062124 48 2A BF DD */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 800651C8 00062128 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 800651CC 0006212C C0 41 00 44 */ lfs f2, 0x44(r1) -/* 800651D0 00062130 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 800651D4 00062134 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800651D8 00062138 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 800651DC 0006213C D0 41 00 88 */ stfs f2, 0x88(r1) -/* 800651E0 00062140 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 800651E4 00062144 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 800651E8 00062148 83 FE 02 A0 */ lwz r31, 0x2a0(r30) -/* 800651EC 0006214C 28 1F 00 00 */ cmplwi r31, 0 -/* 800651F0 00062150 41 82 00 28 */ beq lbl_80065218 -/* 800651F4 00062154 38 61 01 10 */ addi r3, r1, 0x110 -/* 800651F8 00062158 38 81 00 84 */ addi r4, r1, 0x84 -/* 800651FC 0006215C 48 2A CE 91 */ bl BuildTransform__11CQuaternionCFv -/* 80065200 00062160 7F E3 FB 78 */ mr r3, r31 -/* 80065204 00062164 38 81 01 10 */ addi r4, r1, 0x110 -/* 80065208 00062168 48 12 B9 81 */ bl SetHudLagRotation__19CHudHelmetInterfaceFRC9CMatrix3f -/* 8006520C 0006216C 80 7E 02 A0 */ lwz r3, 0x2a0(r30) -/* 80065210 00062170 38 81 00 94 */ addi r4, r1, 0x94 -/* 80065214 00062174 48 12 B9 49 */ bl SetHudLagOffset__19CHudHelmetInterfaceFRC9CVector3f -lbl_80065218: -/* 80065218 00062178 83 FE 02 9C */ lwz r31, 0x29c(r30) -/* 8006521C 0006217C 28 1F 00 00 */ cmplwi r31, 0 -/* 80065220 00062180 41 82 00 58 */ beq lbl_80065278 -/* 80065224 00062184 38 61 00 EC */ addi r3, r1, 0xec -/* 80065228 00062188 38 9E 03 2C */ addi r4, r30, 0x32c -/* 8006522C 0006218C 48 2A CE 61 */ bl BuildTransform__11CQuaternionCFv -/* 80065230 00062190 7F E3 FB 78 */ mr r3, r31 -/* 80065234 00062194 38 81 00 EC */ addi r4, r1, 0xec -/* 80065238 00062198 81 9F 00 00 */ lwz r12, 0(r31) -/* 8006523C 0006219C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80065240 000621A0 7D 89 03 A6 */ mtctr r12 -/* 80065244 000621A4 4E 80 04 21 */ bctrl -/* 80065248 000621A8 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 8006524C 000621AC 38 81 00 84 */ addi r4, r1, 0x84 -/* 80065250 000621B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80065254 000621B4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80065258 000621B8 7D 89 03 A6 */ mtctr r12 -/* 8006525C 000621BC 4E 80 04 21 */ bctrl -/* 80065260 000621C0 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 80065264 000621C4 38 81 00 94 */ addi r4, r1, 0x94 -/* 80065268 000621C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8006526C 000621CC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80065270 000621D0 7D 89 03 A6 */ mtctr r12 -/* 80065274 000621D4 4E 80 04 21 */ bctrl -lbl_80065278: -/* 80065278 000621D8 C0 3E 03 08 */ lfs f1, 0x308(r30) -/* 8006527C 000621DC 38 61 00 BC */ addi r3, r1, 0xbc -/* 80065280 000621E0 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 80065284 000621E4 38 81 00 84 */ addi r4, r1, 0x84 -/* 80065288 000621E8 C0 7E 03 0C */ lfs f3, 0x30c(r30) -/* 8006528C 000621EC 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80065290 000621F0 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 80065294 000621F4 EC 81 00 2A */ fadds f4, f1, f0 -/* 80065298 000621F8 C0 3E 03 04 */ lfs f1, 0x304(r30) -/* 8006529C 000621FC 38 DE 03 10 */ addi r6, r30, 0x310 -/* 800652A0 00062200 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 800652A4 00062204 EC 43 10 2A */ fadds f2, f3, f2 -/* 800652A8 00062208 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 800652AC 0006220C EC 01 00 2A */ fadds f0, f1, f0 -/* 800652B0 00062210 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800652B4 00062214 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800652B8 00062218 80 FE 02 74 */ lwz r7, 0x274(r30) -/* 800652BC 0006221C 83 E7 00 14 */ lwz r31, 0x14(r7) -/* 800652C0 00062220 48 00 82 E1 */ bl BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f -/* 800652C4 00062224 7F E3 FB 78 */ mr r3, r31 -/* 800652C8 00062228 38 81 00 BC */ addi r4, r1, 0xbc -/* 800652CC 0006222C 48 25 F4 6D */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f -/* 800652D0 00062230 C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 800652D4 00062234 D0 1E 02 F8 */ stfs f0, 0x2f8(r30) -/* 800652D8 00062238 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 800652DC 0006223C D0 1E 02 FC */ stfs f0, 0x2fc(r30) -/* 800652E0 00062240 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 800652E4 00062244 D0 1E 03 00 */ stfs f0, 0x300(r30) -lbl_800652E8: -/* 800652E8 00062248 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 -/* 800652EC 0006224C 80 01 02 04 */ lwz r0, 0x204(r1) -/* 800652F0 00062250 CB E1 01 F0 */ lfd f31, 0x1f0(r1) -/* 800652F4 00062254 83 E1 01 EC */ lwz r31, 0x1ec(r1) -/* 800652F8 00062258 83 C1 01 E8 */ lwz r30, 0x1e8(r1) -/* 800652FC 0006225C 7C 08 03 A6 */ mtlr r0 -/* 80065300 00062260 38 21 02 00 */ addi r1, r1, 0x200 -/* 80065304 00062264 4E 80 00 20 */ blr - -.global SetReticuleTransform__17CHudDecoInterfaceFRC9CMatrix3f -SetReticuleTransform__17CHudDecoInterfaceFRC9CMatrix3f: -/* 80065308 00062268 4E 80 00 20 */ blr - -.global SetDecoRotation__17IHudDecoInterfaceFf -SetDecoRotation__17IHudDecoInterfaceFf: -/* 8006530C 0006226C 4E 80 00 20 */ blr - -.global ShowDamage__9CSamusHudF9CVector3fffRC13CStateManager -ShowDamage__9CSamusHudF9CVector3fffRC13CStateManager: -/* 80065310 00062270 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80065314 00062274 7C 08 02 A6 */ mflr r0 -/* 80065318 00062278 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8006531C 0006227C DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80065320 00062280 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80065324 00062284 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 80065328 00062288 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 8006532C 0006228C BF 41 00 88 */ stmw r26, 0x88(r1) -/* 80065330 00062290 FF C0 08 90 */ fmr f30, f1 -/* 80065334 00062294 7C 7E 1B 78 */ mr r30, r3 -/* 80065338 00062298 FF E0 10 90 */ fmr f31, f2 -/* 8006533C 0006229C 7C 9F 23 78 */ mr r31, r4 -/* 80065340 000622A0 7C BA 2B 78 */ mr r26, r5 -/* 80065344 000622A4 48 00 02 19 */ bl GetRelativeDirection__9CSamusHudCFRC9CVector3fRC13CStateManager -/* 80065348 000622A8 7C 7D 1B 78 */ mr r29, r3 -/* 8006534C 000622AC 80 7A 08 70 */ lwz r3, 0x870(r26) -/* 80065350 000622B0 7F 44 D3 78 */ mr r4, r26 -/* 80065354 000622B4 4B FA 67 C5 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80065358 000622B8 7C 64 1B 78 */ mr r4, r3 -/* 8006535C 000622BC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80065360 000622C0 48 04 91 15 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" -/* 80065364 000622C4 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80065368 000622C8 83 63 00 04 */ lwz r27, 4(r3) -/* 8006536C 000622CC C0 24 00 48 */ lfs f1, 0x48(r4) -/* 80065370 000622D0 C0 04 00 44 */ lfs f0, 0x44(r4) -/* 80065374 000622D4 EC 01 07 BA */ fmadds f0, f1, f30, f0 -/* 80065378 000622D8 D0 1E 04 04 */ stfs f0, 0x404(r30) -/* 8006537C 000622DC 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80065380 000622E0 C0 02 87 50 */ lfs f0, lbl_805AA470@sda21(r2) -/* 80065384 000622E4 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 80065388 000622E8 C0 23 00 4C */ lfs f1, 0x4c(r3) -/* 8006538C 000622EC EC 22 0F BA */ fmadds f1, f2, f30, f1 -/* 80065390 000622F0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80065394 000622F4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80065398 000622F8 40 80 00 0C */ bge lbl_800653A4 -/* 8006539C 000622FC 38 61 00 0C */ addi r3, r1, 0xc -/* 800653A0 00062300 48 00 00 08 */ b lbl_800653A8 -lbl_800653A4: -/* 800653A4 00062304 38 62 87 50 */ addi r3, r2, lbl_805AA470@sda21 -lbl_800653A8: -/* 800653A8 00062308 C0 03 00 00 */ lfs f0, 0(r3) -/* 800653AC 0006230C D0 1E 03 FC */ stfs f0, 0x3fc(r30) -/* 800653B0 00062310 C0 1E 03 FC */ lfs f0, 0x3fc(r30) -/* 800653B4 00062314 D0 1E 04 00 */ stfs f0, 0x400(r30) -/* 800653B8 00062318 83 9E 03 D4 */ lwz r28, 0x3d4(r30) -/* 800653BC 0006231C 28 1C 00 00 */ cmplwi r28, 0 -/* 800653C0 00062320 41 82 00 20 */ beq lbl_800653E0 -/* 800653C4 00062324 1C 1D 00 30 */ mulli r0, r29, 0x30 -/* 800653C8 00062328 80 9E 03 E4 */ lwz r4, 0x3e4(r30) -/* 800653CC 0006232C 38 7C 00 04 */ addi r3, r28, 4 -/* 800653D0 00062330 7C 84 02 14 */ add r4, r4, r0 -/* 800653D4 00062334 48 2A D7 6D */ bl __as__12CTransform4fFRC12CTransform4f -/* 800653D8 00062338 7F 83 E3 78 */ mr r3, r28 -/* 800653DC 0006233C 48 25 F4 0D */ bl RecalculateTransforms__10CGuiObjectFv -lbl_800653E0: -/* 800653E0 00062340 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 800653E4 00062344 C0 23 01 BC */ lfs f1, 0x1bc(r3) -/* 800653E8 00062348 C0 03 01 B8 */ lfs f0, 0x1b8(r3) -/* 800653EC 0006234C EC 01 07 BA */ fmadds f0, f1, f30, f0 -/* 800653F0 00062350 D0 1E 03 F8 */ stfs f0, 0x3f8(r30) -/* 800653F4 00062354 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 800653F8 00062358 C0 23 01 C4 */ lfs f1, 0x1c4(r3) -/* 800653FC 0006235C C0 03 01 C0 */ lfs f0, 0x1c0(r3) -/* 80065400 00062360 EC 01 07 BA */ fmadds f0, f1, f30, f0 -/* 80065404 00062364 D0 1E 03 F0 */ stfs f0, 0x3f0(r30) -/* 80065408 00062368 C0 1E 03 F0 */ lfs f0, 0x3f0(r30) -/* 8006540C 0006236C D0 1E 03 F4 */ stfs f0, 0x3f4(r30) -/* 80065410 00062370 80 1E 03 A4 */ lwz r0, 0x3a4(r30) -/* 80065414 00062374 28 00 00 00 */ cmplwi r0, 0 -/* 80065418 00062378 40 82 00 64 */ bne lbl_8006547C -/* 8006541C 0006237C 81 7A 08 4C */ lwz r11, 0x84c(r26) -/* 80065420 00062380 38 61 00 08 */ addi r3, r1, 8 -/* 80065424 00062384 A9 22 C5 F8 */ lha r9, lbl_805AE318@sda21(r2) -/* 80065428 00062388 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8006542C 0006238C C0 4B 00 58 */ lfs f2, 0x58(r11) -/* 80065430 00062390 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80065434 00062394 C0 2B 00 48 */ lfs f1, 0x48(r11) -/* 80065438 00062398 38 80 05 69 */ li r4, 0x569 -/* 8006543C 0006239C C0 0B 00 38 */ lfs f0, 0x38(r11) -/* 80065440 000623A0 38 E0 00 00 */ li r7, 0 -/* 80065444 000623A4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80065448 000623A8 39 00 00 01 */ li r8, 1 -/* 8006544C 000623AC D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80065450 000623B0 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80065454 000623B4 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80065458 000623B8 C0 4B 00 60 */ lfs f2, 0x60(r11) -/* 8006545C 000623BC C0 2B 00 50 */ lfs f1, 0x50(r11) -/* 80065460 000623C0 C0 0B 00 40 */ lfs f0, 0x40(r11) -/* 80065464 000623C4 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80065468 000623C8 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8006546C 000623CC D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80065470 000623D0 48 28 4E 41 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 80065474 000623D4 80 01 00 08 */ lwz r0, 8(r1) -/* 80065478 000623D8 90 1E 03 A4 */ stw r0, 0x3a4(r30) -lbl_8006547C: -/* 8006547C 000623DC 28 1B 00 00 */ cmplwi r27, 0 -/* 80065480 000623E0 41 82 00 B8 */ beq lbl_80065538 -/* 80065484 000623E4 38 61 00 54 */ addi r3, r1, 0x54 -/* 80065488 000623E8 38 9B 00 34 */ addi r4, r27, 0x34 -/* 8006548C 000623EC 48 2A D8 11 */ bl GetQuickInverse__12CTransform4fCFv -/* 80065490 000623F0 7F E5 FB 78 */ mr r5, r31 -/* 80065494 000623F4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80065498 000623F8 38 81 00 54 */ addi r4, r1, 0x54 -/* 8006549C 000623FC 48 2A D6 4D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800654A0 00062400 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 800654A4 00062404 38 61 00 18 */ addi r3, r1, 0x18 -/* 800654A8 00062408 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 800654AC 0006240C 38 81 00 48 */ addi r4, r1, 0x48 -/* 800654B0 00062410 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800654B4 00062414 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 800654B8 00062418 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 800654BC 0006241C D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 800654C0 00062420 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800654C4 00062424 C0 25 00 88 */ lfs f1, 0x88(r5) -/* 800654C8 00062428 C0 05 00 84 */ lfs f0, 0x84(r5) -/* 800654CC 0006242C EC 1F 00 7A */ fmadds f0, f31, f1, f0 -/* 800654D0 00062430 D0 1E 04 18 */ stfs f0, 0x418(r30) -/* 800654D4 00062434 C0 1E 04 18 */ lfs f0, 0x418(r30) -/* 800654D8 00062438 D0 1E 04 14 */ stfs f0, 0x414(r30) -/* 800654DC 0006243C 48 2A F3 75 */ bl AsNormalized__9CVector3fCFv -/* 800654E0 00062440 C0 62 87 48 */ lfs f3, lbl_805AA468@sda21(r2) -/* 800654E4 00062444 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800654E8 00062448 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 800654EC 0006244C C0 21 00 20 */ lfs f1, 0x20(r1) -/* 800654F0 00062450 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800654F4 00062454 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800654F8 00062458 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800654FC 0006245C D0 1E 04 08 */ stfs f0, 0x408(r30) -/* 80065500 00062460 D0 5E 04 0C */ stfs f2, 0x40c(r30) -/* 80065504 00062464 D0 3E 04 10 */ stfs f1, 0x410(r30) -/* 80065508 00062468 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 8006550C 0006246C C0 23 00 98 */ lfs f1, 0x98(r3) -/* 80065510 00062470 C0 03 00 94 */ lfs f0, 0x94(r3) -/* 80065514 00062474 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 80065518 00062478 D0 1E 04 64 */ stfs f0, 0x464(r30) -/* 8006551C 0006247C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80065520 00062480 C0 23 00 A0 */ lfs f1, 0xa0(r3) -/* 80065524 00062484 C0 03 00 9C */ lfs f0, 0x9c(r3) -/* 80065528 00062488 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 8006552C 0006248C D0 1E 04 5C */ stfs f0, 0x45c(r30) -/* 80065530 00062490 C0 1E 04 5C */ lfs f0, 0x45c(r30) -/* 80065534 00062494 D0 1E 04 60 */ stfs f0, 0x460(r30) -lbl_80065538: -/* 80065538 00062498 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8006553C 0006249C CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 80065540 000624A0 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 80065544 000624A4 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 80065548 000624A8 BB 41 00 88 */ lmw r26, 0x88(r1) -/* 8006554C 000624AC 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80065550 000624B0 7C 08 03 A6 */ mtlr r0 -/* 80065554 000624B4 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80065558 000624B8 4E 80 00 20 */ blr - -.global GetRelativeDirection__9CSamusHudCFRC9CVector3fRC13CStateManager -GetRelativeDirection__9CSamusHudCFRC9CVector3fRC13CStateManager: -/* 8006555C 000624BC 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80065560 000624C0 7C 08 02 A6 */ mflr r0 -/* 80065564 000624C4 90 01 01 24 */ stw r0, 0x124(r1) -/* 80065568 000624C8 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 8006556C 000624CC F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 80065570 000624D0 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 80065574 000624D4 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 80065578 000624D8 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 8006557C 000624DC F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 80065580 000624E0 DB 81 00 E0 */ stfd f28, 0xe0(r1) -/* 80065584 000624E4 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 -/* 80065588 000624E8 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 8006558C 000624EC 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80065590 000624F0 80 65 08 70 */ lwz r3, 0x870(r5) -/* 80065594 000624F4 7C 9E 23 78 */ mr r30, r4 -/* 80065598 000624F8 7C A4 2B 78 */ mr r4, r5 -/* 8006559C 000624FC 4B FA 65 7D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800655A0 00062500 7C 64 1B 78 */ mr r4, r3 -/* 800655A4 00062504 38 61 00 0C */ addi r3, r1, 0xc -/* 800655A8 00062508 48 04 8E CD */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" -/* 800655AC 0006250C 83 E3 00 04 */ lwz r31, 4(r3) -/* 800655B0 00062510 28 1F 00 00 */ cmplwi r31, 0 -/* 800655B4 00062514 40 82 00 0C */ bne lbl_800655C0 -/* 800655B8 00062518 38 60 00 00 */ li r3, 0 -/* 800655BC 0006251C 48 00 02 AC */ b lbl_80065868 -lbl_800655C0: -/* 800655C0 00062520 C0 3E 00 08 */ lfs f1, 8(r30) -/* 800655C4 00062524 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800655C8 00062528 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 800655CC 0006252C 38 61 00 98 */ addi r3, r1, 0x98 -/* 800655D0 00062530 C0 7E 00 04 */ lfs f3, 4(r30) -/* 800655D4 00062534 38 A1 00 64 */ addi r5, r1, 0x64 -/* 800655D8 00062538 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800655DC 0006253C C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 800655E0 00062540 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800655E4 00062544 C0 3E 00 00 */ lfs f1, 0(r30) -/* 800655E8 00062548 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800655EC 0006254C D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 800655F0 00062550 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800655F4 00062554 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 800655F8 00062558 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 800655FC 0006255C 48 2A D4 29 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80065600 00062560 C0 61 00 98 */ lfs f3, 0x98(r1) -/* 80065604 00062564 38 00 00 00 */ li r0, 0 -/* 80065608 00062568 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8006560C 0006256C C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 80065610 00062570 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 80065614 00062574 FC 03 00 00 */ fcmpu cr0, f3, f0 -/* 80065618 00062578 D0 61 00 C0 */ stfs f3, 0xc0(r1) -/* 8006561C 0006257C D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 80065620 00062580 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 80065624 00062584 40 82 00 20 */ bne lbl_80065644 -/* 80065628 00062588 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8006562C 0006258C FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 80065630 00062590 40 82 00 14 */ bne lbl_80065644 -/* 80065634 00062594 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80065638 00062598 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8006563C 0006259C 40 82 00 08 */ bne lbl_80065644 -/* 80065640 000625A0 38 00 00 01 */ li r0, 1 -lbl_80065644: -/* 80065644 000625A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80065648 000625A8 41 82 00 0C */ beq lbl_80065654 -/* 8006564C 000625AC 38 60 00 00 */ li r3, 0 -/* 80065650 000625B0 48 00 02 18 */ b lbl_80065868 -lbl_80065654: -/* 80065654 000625B4 C0 42 87 3C */ lfs f2, lbl_805AA45C@sda21(r2) -/* 80065658 000625B8 C0 3F 01 5C */ lfs f1, 0x15c(r31) -/* 8006565C 000625BC C0 02 87 54 */ lfs f0, lbl_805AA474@sda21(r2) -/* 80065660 000625C0 EC 62 00 72 */ fmuls f3, f2, f1 -/* 80065664 000625C4 C0 5F 01 68 */ lfs f2, 0x168(r31) -/* 80065668 000625C8 C0 22 87 38 */ lfs f1, lbl_805AA458@sda21(r2) -/* 8006566C 000625CC EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80065670 000625D0 EF A3 00 B2 */ fmuls f29, f3, f2 -/* 80065674 000625D4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80065678 000625D8 48 32 ED 79 */ bl cos -/* 8006567C 000625DC C0 02 87 54 */ lfs f0, lbl_805AA474@sda21(r2) -/* 80065680 000625E0 FF C0 08 18 */ frsp f30, f1 -/* 80065684 000625E4 C0 22 87 38 */ lfs f1, lbl_805AA458@sda21(r2) -/* 80065688 000625E8 EC 00 07 72 */ fmuls f0, f0, f29 -/* 8006568C 000625EC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80065690 000625F0 48 32 ED 61 */ bl cos -/* 80065694 000625F4 FF A0 08 18 */ frsp f29, f1 -/* 80065698 000625F8 C0 21 00 C0 */ lfs f1, 0xc0(r1) -/* 8006569C 000625FC C0 41 00 C4 */ lfs f2, 0xc4(r1) -/* 800656A0 00062600 38 61 00 34 */ addi r3, r1, 0x34 -/* 800656A4 00062604 48 2A EB 5D */ bl __ct__9CVector2fFff -/* 800656A8 00062608 7C 64 1B 78 */ mr r4, r3 -/* 800656AC 0006260C 38 61 00 3C */ addi r3, r1, 0x3c -/* 800656B0 00062610 48 2A E9 D1 */ bl AsNormalized__9CVector2fCFv -/* 800656B4 00062614 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 800656B8 00062618 38 61 00 54 */ addi r3, r1, 0x54 -/* 800656BC 0006261C C0 01 00 40 */ lfs f0, 0x40(r1) -/* 800656C0 00062620 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 800656C4 00062624 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 800656C8 00062628 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800656CC 0006262C C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) -/* 800656D0 00062630 48 2A EB 31 */ bl __ct__9CVector2fFff -/* 800656D4 00062634 C0 21 00 C4 */ lfs f1, 0xc4(r1) -/* 800656D8 00062638 38 61 00 24 */ addi r3, r1, 0x24 -/* 800656DC 0006263C C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 800656E0 00062640 48 2A EB 21 */ bl __ct__9CVector2fFff -/* 800656E4 00062644 7C 64 1B 78 */ mr r4, r3 -/* 800656E8 00062648 38 61 00 2C */ addi r3, r1, 0x2c -/* 800656EC 0006264C 48 2A E9 95 */ bl AsNormalized__9CVector2fCFv -/* 800656F0 00062650 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 800656F4 00062654 38 61 00 44 */ addi r3, r1, 0x44 -/* 800656F8 00062658 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800656FC 0006265C D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80065700 00062660 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 80065704 00062664 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80065708 00062668 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) -/* 8006570C 0006266C 48 2A EA F5 */ bl __ct__9CVector2fFff -/* 80065710 00062670 38 61 00 5C */ addi r3, r1, 0x5c -/* 80065714 00062674 38 81 00 54 */ addi r4, r1, 0x54 -/* 80065718 00062678 48 2A E8 91 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 8006571C 0006267C FF E0 08 90 */ fmr f31, f1 -/* 80065720 00062680 38 61 00 4C */ addi r3, r1, 0x4c -/* 80065724 00062684 38 81 00 44 */ addi r4, r1, 0x44 -/* 80065728 00062688 48 2A E8 81 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 8006572C 0006268C FC 1F E8 40 */ fcmpo cr0, f31, f29 -/* 80065730 00062690 40 81 00 14 */ ble lbl_80065744 -/* 80065734 00062694 FC 01 F0 40 */ fcmpo cr0, f1, f30 -/* 80065738 00062698 40 81 00 0C */ ble lbl_80065744 -/* 8006573C 0006269C 38 60 00 00 */ li r3, 0 -/* 80065740 000626A0 48 00 01 28 */ b lbl_80065868 -lbl_80065744: -/* 80065744 000626A4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80065748 000626A8 38 81 00 54 */ addi r4, r1, 0x54 -/* 8006574C 000626AC 38 AD 83 80 */ addi r5, r13, lbl_805A6F40@sda21 -/* 80065750 000626B0 48 2A E7 85 */ bl __ml__FRC9CVector2fRCf -/* 80065754 000626B4 38 61 00 5C */ addi r3, r1, 0x5c -/* 80065758 000626B8 38 81 00 1C */ addi r4, r1, 0x1c -/* 8006575C 000626BC 48 2A E8 4D */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 80065760 000626C0 FF E0 08 90 */ fmr f31, f1 -/* 80065764 000626C4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80065768 000626C8 38 81 00 44 */ addi r4, r1, 0x44 -/* 8006576C 000626CC 38 AD 83 84 */ addi r5, r13, lbl_805A6F44@sda21 -/* 80065770 000626D0 48 2A E7 65 */ bl __ml__FRC9CVector2fRCf -/* 80065774 000626D4 38 61 00 4C */ addi r3, r1, 0x4c -/* 80065778 000626D8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8006577C 000626DC 48 2A E8 2D */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 80065780 000626E0 FC 1F E8 40 */ fcmpo cr0, f31, f29 -/* 80065784 000626E4 40 81 00 14 */ ble lbl_80065798 -/* 80065788 000626E8 FC 01 F0 40 */ fcmpo cr0, f1, f30 -/* 8006578C 000626EC 40 81 00 0C */ ble lbl_80065798 -/* 80065790 000626F0 38 60 00 01 */ li r3, 1 -/* 80065794 000626F4 48 00 00 D4 */ b lbl_80065868 -lbl_80065798: -/* 80065798 000626F8 38 61 00 8C */ addi r3, r1, 0x8c -/* 8006579C 000626FC 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 800657A0 00062700 48 2A F0 B1 */ bl AsNormalized__9CVector3fCFv -/* 800657A4 00062704 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) -/* 800657A8 00062708 38 61 00 7C */ addi r3, r1, 0x7c -/* 800657AC 0006270C C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 800657B0 00062710 38 81 00 08 */ addi r4, r1, 8 -/* 800657B4 00062714 C0 02 87 58 */ lfs f0, lbl_805AA478@sda21(r2) -/* 800657B8 00062718 3B E0 FF FF */ li r31, -1 -/* 800657BC 0006271C D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 800657C0 00062720 C3 A1 00 8C */ lfs f29, 0x8c(r1) -/* 800657C4 00062724 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 800657C8 00062728 C3 C1 00 90 */ lfs f30, 0x90(r1) -/* 800657CC 0006272C D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 800657D0 00062730 C3 E1 00 94 */ lfs f31, 0x94(r1) -/* 800657D4 00062734 D0 01 00 08 */ stfs f0, 8(r1) -/* 800657D8 00062738 C3 82 87 48 */ lfs f28, lbl_805AA468@sda21(r2) -/* 800657DC 0006273C 48 2A B9 55 */ bl YRotation__11CQuaternionFRC9CRelAngle -/* 800657E0 00062740 C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 800657E4 00062744 3B C0 00 00 */ li r30, 0 -/* 800657E8 00062748 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 800657EC 0006274C C0 21 00 84 */ lfs f1, 0x84(r1) -/* 800657F0 00062750 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 800657F4 00062754 D0 61 00 A4 */ stfs f3, 0xa4(r1) -/* 800657F8 00062758 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 800657FC 0006275C D0 21 00 AC */ stfs f1, 0xac(r1) -/* 80065800 00062760 D0 01 00 B0 */ stfs f0, 0xb0(r1) -lbl_80065804: -/* 80065804 00062764 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 80065808 00062768 38 1E 00 02 */ addi r0, r30, 2 -/* 8006580C 0006276C C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 80065810 00062770 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 80065814 00062774 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 80065818 00062778 EC 1D 00 7A */ fmadds f0, f29, f1, f0 -/* 8006581C 0006277C EC 1F 00 BA */ fmadds f0, f31, f2, f0 -/* 80065820 00062780 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 80065824 00062784 40 81 00 0C */ ble lbl_80065830 -/* 80065828 00062788 FF 80 00 90 */ fmr f28, f0 -/* 8006582C 0006278C 7C 1F 03 78 */ mr r31, r0 -lbl_80065830: -/* 80065830 00062790 38 61 00 70 */ addi r3, r1, 0x70 -/* 80065834 00062794 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 80065838 00062798 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 8006583C 0006279C 48 2A BA 29 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80065840 000627A0 C0 41 00 70 */ lfs f2, 0x70(r1) -/* 80065844 000627A4 3B DE 00 01 */ addi r30, r30, 1 -/* 80065848 000627A8 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 8006584C 000627AC 2C 1E 00 08 */ cmpwi r30, 8 -/* 80065850 000627B0 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 80065854 000627B4 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 80065858 000627B8 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 8006585C 000627BC D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 80065860 000627C0 41 80 FF A4 */ blt lbl_80065804 -/* 80065864 000627C4 7F E3 FB 78 */ mr r3, r31 -lbl_80065868: -/* 80065868 000627C8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 8006586C 000627CC CB E1 01 10 */ lfd f31, 0x110(r1) -/* 80065870 000627D0 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 80065874 000627D4 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 80065878 000627D8 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 8006587C 000627DC CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 80065880 000627E0 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 -/* 80065884 000627E4 CB 81 00 E0 */ lfd f28, 0xe0(r1) -/* 80065888 000627E8 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 8006588C 000627EC 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80065890 000627F0 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 80065894 000627F4 7C 08 03 A6 */ mtlr r0 -/* 80065898 000627F8 38 21 01 20 */ addi r1, r1, 0x120 -/* 8006589C 000627FC 4E 80 00 20 */ blr - -.global GetDesiredHudState__9CSamusHudCFRC13CStateManager -GetDesiredHudState__9CSamusHudCFRC13CStateManager: -/* 800658A0 00062800 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 800658A4 00062804 80 63 02 F8 */ lwz r3, 0x2f8(r3) -/* 800658A8 00062808 38 03 FF FF */ addi r0, r3, -1 -/* 800658AC 0006280C 28 00 00 01 */ cmplwi r0, 1 -/* 800658B0 00062810 40 81 00 0C */ ble lbl_800658BC -/* 800658B4 00062814 2C 03 00 03 */ cmpwi r3, 3 -/* 800658B8 00062818 40 82 00 0C */ bne lbl_800658C4 -lbl_800658BC: -/* 800658BC 0006281C 38 60 00 04 */ li r3, 4 -/* 800658C0 00062820 4E 80 00 20 */ blr -lbl_800658C4: -/* 800658C4 00062824 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 800658C8 00062828 80 63 00 00 */ lwz r3, 0(r3) -/* 800658CC 0006282C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 800658D0 00062830 2C 00 00 02 */ cmpwi r0, 2 -/* 800658D4 00062834 41 82 00 34 */ beq lbl_80065908 -/* 800658D8 00062838 40 80 00 14 */ bge lbl_800658EC -/* 800658DC 0006283C 2C 00 00 00 */ cmpwi r0, 0 -/* 800658E0 00062840 41 82 00 18 */ beq lbl_800658F8 -/* 800658E4 00062844 40 80 00 1C */ bge lbl_80065900 -/* 800658E8 00062848 48 00 00 30 */ b lbl_80065918 -lbl_800658EC: -/* 800658EC 0006284C 2C 00 00 04 */ cmpwi r0, 4 -/* 800658F0 00062850 40 80 00 28 */ bge lbl_80065918 -/* 800658F4 00062854 48 00 00 1C */ b lbl_80065910 -lbl_800658F8: -/* 800658F8 00062858 38 60 00 00 */ li r3, 0 -/* 800658FC 0006285C 4E 80 00 20 */ blr -lbl_80065900: -/* 80065900 00062860 38 60 00 01 */ li r3, 1 -/* 80065904 00062864 4E 80 00 20 */ blr -lbl_80065908: -/* 80065908 00062868 38 60 00 03 */ li r3, 3 -/* 8006590C 0006286C 4E 80 00 20 */ blr -lbl_80065910: -/* 80065910 00062870 38 60 00 02 */ li r3, 2 -/* 80065914 00062874 4E 80 00 20 */ blr -lbl_80065918: -/* 80065918 00062878 38 60 00 05 */ li r3, 5 -/* 8006591C 0006287C 4E 80 00 20 */ blr - -.global GetTargetingManager__9CSamusHudCFv -GetTargetingManager__9CSamusHudCFv: -/* 80065920 00062880 38 63 00 08 */ addi r3, r3, 8 -/* 80065924 00062884 4E 80 00 20 */ blr - -.global ProcessControllerInput__9CSamusHudFRC11CFinalInput -ProcessControllerInput__9CSamusHudFRC11CFinalInput: -/* 80065928 00062888 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006592C 0006288C 7C 08 02 A6 */ mflr r0 -/* 80065930 00062890 90 01 00 14 */ stw r0, 0x14(r1) -/* 80065934 00062894 80 63 02 9C */ lwz r3, 0x29c(r3) -/* 80065938 00062898 28 03 00 00 */ cmplwi r3, 0 -/* 8006593C 0006289C 41 82 00 14 */ beq lbl_80065950 -/* 80065940 000628A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80065944 000628A4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80065948 000628A8 7D 89 03 A6 */ mtctr r12 -/* 8006594C 000628AC 4E 80 04 21 */ bctrl -lbl_80065950: -/* 80065950 000628B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80065954 000628B4 7C 08 03 A6 */ mtlr r0 -/* 80065958 000628B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006595C 000628BC 4E 80 00 20 */ blr - -.global ProcessInput__17IHudDecoInterfaceFRC11CFinalInput -ProcessInput__17IHudDecoInterfaceFRC11CFinalInput: -/* 80065960 000628C0 4E 80 00 20 */ blr - -.global Draw__9CSamusHudCFRC13CStateManagerfUibb -Draw__9CSamusHudCFRC13CStateManagerfUibb: -/* 80065964 000628C4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80065968 000628C8 7C 08 02 A6 */ mflr r0 -/* 8006596C 000628CC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80065970 000628D0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80065974 000628D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80065978 000628D8 BE A1 00 44 */ stmw r21, 0x44(r1) -/* 8006597C 000628DC 7C 7F 1B 78 */ mr r31, r3 -/* 80065980 000628E0 FF E0 08 90 */ fmr f31, f1 -/* 80065984 000628E4 80 03 02 BC */ lwz r0, 0x2bc(r3) -/* 80065988 000628E8 7C 9C 23 78 */ mr r28, r4 -/* 8006598C 000628EC 7C B8 2B 78 */ mr r24, r5 -/* 80065990 000628F0 7C D7 33 78 */ mr r23, r6 -/* 80065994 000628F4 2C 00 00 05 */ cmpwi r0, 5 -/* 80065998 000628F8 7C F5 3B 78 */ mr r21, r7 -/* 8006599C 000628FC 41 82 04 04 */ beq lbl_80065DA0 -/* 800659A0 00062900 80 9C 08 4C */ lwz r4, 0x84c(r28) -/* 800659A4 00062904 38 7F 03 A8 */ addi r3, r31, 0x3a8 -/* 800659A8 00062908 83 24 02 F8 */ lwz r25, 0x2f8(r4) -/* 800659AC 0006290C 48 08 68 E5 */ bl Draw__17CCameraFilterPassCFv -/* 800659B0 00062910 2C 19 00 00 */ cmpwi r25, 0 -/* 800659B4 00062914 40 82 00 30 */ bne lbl_800659E4 -/* 800659B8 00062918 7F E3 FB 78 */ mr r3, r31 -/* 800659BC 0006291C 7F 84 E3 78 */ mr r4, r28 -/* 800659C0 00062920 48 00 08 31 */ bl DrawAttachedEnemyEffect__9CSamusHudCFRC13CStateManager -/* 800659C4 00062924 38 7F 05 1C */ addi r3, r31, 0x51c -/* 800659C8 00062928 48 08 68 C9 */ bl Draw__17CCameraFilterPassCFv -/* 800659CC 0006292C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 800659D0 00062930 41 82 00 14 */ beq lbl_800659E4 -/* 800659D4 00062934 7F 84 E3 78 */ mr r4, r28 -/* 800659D8 00062938 38 7F 00 08 */ addi r3, r31, 8 -/* 800659DC 0006293C 38 A0 00 00 */ li r5, 0 -/* 800659E0 00062940 48 05 71 ED */ bl Draw__17CTargetingManagerCFRC13CStateManager -lbl_800659E4: -/* 800659E4 00062944 48 31 F9 C5 */ bl OSGetTime -/* 800659E8 00062948 38 00 00 00 */ li r0, 0 -/* 800659EC 0006294C 28 18 00 00 */ cmplwi r24, 0 -/* 800659F0 00062950 90 1F 07 BC */ stw r0, 0x7bc(r31) -/* 800659F4 00062954 7C 9B 23 78 */ mr r27, r4 -/* 800659F8 00062958 7C 7A 1B 78 */ mr r26, r3 -/* 800659FC 0006295C 3B A0 00 00 */ li r29, 0 -/* 80065A00 00062960 90 1F 07 B8 */ stw r0, 0x7b8(r31) -/* 80065A04 00062964 3B 20 00 00 */ li r25, 0 -/* 80065A08 00062968 90 1F 07 CC */ stw r0, 0x7cc(r31) -/* 80065A0C 0006296C 90 1F 07 C8 */ stw r0, 0x7c8(r31) -/* 80065A10 00062970 90 1F 07 DC */ stw r0, 0x7dc(r31) -/* 80065A14 00062974 90 1F 07 D8 */ stw r0, 0x7d8(r31) -/* 80065A18 00062978 90 1F 07 EC */ stw r0, 0x7ec(r31) -/* 80065A1C 0006297C 90 1F 07 E8 */ stw r0, 0x7e8(r31) -/* 80065A20 00062980 90 1F 07 FC */ stw r0, 0x7fc(r31) -/* 80065A24 00062984 90 1F 07 F8 */ stw r0, 0x7f8(r31) -/* 80065A28 00062988 90 1F 08 0C */ stw r0, 0x80c(r31) -/* 80065A2C 0006298C 90 1F 08 08 */ stw r0, 0x808(r31) -/* 80065A30 00062990 90 1F 08 1C */ stw r0, 0x81c(r31) -/* 80065A34 00062994 90 1F 08 18 */ stw r0, 0x818(r31) -/* 80065A38 00062998 90 1F 08 2C */ stw r0, 0x82c(r31) -/* 80065A3C 0006299C 90 1F 08 28 */ stw r0, 0x828(r31) -/* 80065A40 000629A0 90 1F 08 3C */ stw r0, 0x83c(r31) -/* 80065A44 000629A4 90 1F 08 38 */ stw r0, 0x838(r31) -/* 80065A48 000629A8 90 1F 08 4C */ stw r0, 0x84c(r31) -/* 80065A4C 000629AC 90 1F 08 48 */ stw r0, 0x848(r31) -/* 80065A50 000629B0 90 1F 08 5C */ stw r0, 0x85c(r31) -/* 80065A54 000629B4 90 1F 08 58 */ stw r0, 0x858(r31) -/* 80065A58 000629B8 90 1F 08 6C */ stw r0, 0x86c(r31) -/* 80065A5C 000629BC 90 1F 08 68 */ stw r0, 0x868(r31) -/* 80065A60 000629C0 90 1F 08 7C */ stw r0, 0x87c(r31) -/* 80065A64 000629C4 90 1F 08 78 */ stw r0, 0x878(r31) -/* 80065A68 000629C8 90 1F 08 8C */ stw r0, 0x88c(r31) -/* 80065A6C 000629CC 90 1F 08 88 */ stw r0, 0x888(r31) -/* 80065A70 000629D0 90 1F 08 9C */ stw r0, 0x89c(r31) -/* 80065A74 000629D4 90 1F 08 98 */ stw r0, 0x898(r31) -/* 80065A78 000629D8 41 82 01 E0 */ beq lbl_80065C58 -/* 80065A7C 000629DC 48 31 F9 2D */ bl OSGetTime -/* 80065A80 000629E0 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha -/* 80065A84 000629E4 7C 9B 20 10 */ subfc r4, r27, r4 -/* 80065A88 000629E8 3B C5 FD 30 */ addi r30, r5, mData__10CStopwatch@l -/* 80065A8C 000629EC 7C 7A 19 10 */ subfe r3, r26, r3 -/* 80065A90 000629F0 80 BE 00 08 */ lwz r5, 8(r30) -/* 80065A94 000629F4 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80065A98 000629F8 48 32 41 35 */ bl __div2i -/* 80065A9C 000629FC 7C 9D 23 78 */ mr r29, r4 -/* 80065AA0 00062A00 28 18 00 05 */ cmplwi r24, 5 -/* 80065AA4 00062A04 93 BF 08 6C */ stw r29, 0x86c(r31) -/* 80065AA8 00062A08 7C 79 1B 78 */ mr r25, r3 -/* 80065AAC 00062A0C 93 3F 08 68 */ stw r25, 0x868(r31) -/* 80065AB0 00062A10 40 80 01 A8 */ bge lbl_80065C58 -/* 80065AB4 00062A14 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 80065AB8 00062A18 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80065ABC 00062A1C 40 80 00 24 */ bge lbl_80065AE0 -/* 80065AC0 00062A20 48 2E 44 ED */ bl White__6CColorFv -/* 80065AC4 00062A24 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 80065AC8 00062A28 7C 65 1B 78 */ mr r5, r3 -/* 80065ACC 00062A2C 38 60 00 08 */ li r3, 8 -/* 80065AD0 00062A30 38 80 00 08 */ li r4, 8 -/* 80065AD4 00062A34 EC 20 F8 28 */ fsubs f1, f0, f31 -/* 80065AD8 00062A38 38 C0 00 00 */ li r6, 0 -/* 80065ADC 00062A3C 48 08 66 6D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_80065AE0: -/* 80065AE0 00062A40 80 7F 02 88 */ lwz r3, 0x288(r31) -/* 80065AE4 00062A44 28 03 00 00 */ cmplwi r3, 0 -/* 80065AE8 00062A48 41 82 01 20 */ beq lbl_80065C08 -/* 80065AEC 00062A4C 80 9C 08 4C */ lwz r4, 0x84c(r28) -/* 80065AF0 00062A50 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80065AF4 00062A54 C0 44 09 F4 */ lfs f2, 0x9f4(r4) -/* 80065AF8 00062A58 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80065AFC 00062A5C 40 81 00 A4 */ ble lbl_80065BA0 -/* 80065B00 00062A60 80 04 02 F8 */ lwz r0, 0x2f8(r4) -/* 80065B04 00062A64 2C 00 00 00 */ cmpwi r0, 0 -/* 80065B08 00062A68 41 82 00 64 */ beq lbl_80065B6C -/* 80065B0C 00062A6C C0 02 80 F0 */ lfs f0, lbl_805A9E10@sda21(r2) -/* 80065B10 00062A70 38 81 00 08 */ addi r4, r1, 8 -/* 80065B14 00062A74 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 80065B18 00062A78 38 6D 83 78 */ addi r3, r13, lbl_805A6F38@sda21 -/* 80065B1C 00062A7C EC 02 00 24 */ fdivs f0, f2, f0 -/* 80065B20 00062A80 38 AD 83 7C */ addi r5, r13, lbl_805A6F3C@sda21 -/* 80065B24 00062A84 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80065B28 00062A88 D0 01 00 08 */ stfs f0, 8(r1) -/* 80065B2C 00062A8C 4B FA 67 89 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80065B30 00062A90 C0 23 00 00 */ lfs f1, 0(r3) -/* 80065B34 00062A94 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80065B38 00062A98 C0 1F 02 C8 */ lfs f0, 0x2c8(r31) -/* 80065B3C 00062A9C 38 81 00 2C */ addi r4, r1, 0x2c -/* 80065B40 00062AA0 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 80065B44 00062AA4 EC 60 00 72 */ fmuls f3, f0, f1 -/* 80065B48 00062AA8 C0 23 00 04 */ lfs f1, 4(r3) -/* 80065B4C 00062AAC C0 03 00 08 */ lfs f0, 8(r3) -/* 80065B50 00062AB0 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80065B54 00062AB4 80 7F 02 88 */ lwz r3, 0x288(r31) -/* 80065B58 00062AB8 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 80065B5C 00062ABC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80065B60 00062AC0 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80065B64 00062AC4 48 25 CB D1 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -/* 80065B68 00062AC8 48 00 00 68 */ b lbl_80065BD0 -lbl_80065B6C: -/* 80065B6C 00062ACC 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80065B70 00062AD0 C0 7F 02 C8 */ lfs f3, 0x2c8(r31) -/* 80065B74 00062AD4 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 80065B78 00062AD8 C0 45 00 00 */ lfs f2, 0(r5) -/* 80065B7C 00062ADC 38 81 00 1C */ addi r4, r1, 0x1c -/* 80065B80 00062AE0 C0 25 00 04 */ lfs f1, 4(r5) -/* 80065B84 00062AE4 C0 05 00 08 */ lfs f0, 8(r5) -/* 80065B88 00062AE8 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80065B8C 00062AEC D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80065B90 00062AF0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80065B94 00062AF4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80065B98 00062AF8 48 25 CB 9D */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -/* 80065B9C 00062AFC 48 00 00 34 */ b lbl_80065BD0 -lbl_80065BA0: -/* 80065BA0 00062B00 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80065BA4 00062B04 C0 7F 02 C8 */ lfs f3, 0x2c8(r31) -/* 80065BA8 00062B08 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 80065BAC 00062B0C C0 45 00 00 */ lfs f2, 0(r5) -/* 80065BB0 00062B10 38 81 00 0C */ addi r4, r1, 0xc -/* 80065BB4 00062B14 C0 25 00 04 */ lfs f1, 4(r5) -/* 80065BB8 00062B18 C0 05 00 08 */ lfs f0, 8(r5) -/* 80065BBC 00062B1C D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80065BC0 00062B20 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80065BC4 00062B24 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80065BC8 00062B28 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80065BCC 00062B2C 48 25 CB 69 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -lbl_80065BD0: -/* 80065BD0 00062B30 7F B6 EB 78 */ mr r22, r29 -/* 80065BD4 00062B34 7F 35 CB 78 */ mr r21, r25 -/* 80065BD8 00062B38 48 31 F7 D1 */ bl OSGetTime -/* 80065BDC 00062B3C 7C 9B 20 10 */ subfc r4, r27, r4 -/* 80065BE0 00062B40 80 BE 00 08 */ lwz r5, 8(r30) -/* 80065BE4 00062B44 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80065BE8 00062B48 7C 7A 19 10 */ subfe r3, r26, r3 -/* 80065BEC 00062B4C 48 32 3F E1 */ bl __div2i -/* 80065BF0 00062B50 7C 9D 23 78 */ mr r29, r4 -/* 80065BF4 00062B54 7C 79 1B 78 */ mr r25, r3 -/* 80065BF8 00062B58 7C 16 E8 10 */ subfc r0, r22, r29 -/* 80065BFC 00062B5C 90 1F 08 0C */ stw r0, 0x80c(r31) -/* 80065C00 00062B60 7C 15 C9 10 */ subfe r0, r21, r25 -/* 80065C04 00062B64 90 1F 08 08 */ stw r0, 0x808(r31) -lbl_80065C08: -/* 80065C08 00062B68 80 7F 02 74 */ lwz r3, 0x274(r31) -/* 80065C0C 00062B6C 28 03 00 00 */ cmplwi r3, 0 -/* 80065C10 00062B70 41 82 00 48 */ beq lbl_80065C58 -/* 80065C14 00062B74 3C 80 80 5A */ lis r4, lbl_8059FD08@ha -/* 80065C18 00062B78 38 84 FD 08 */ addi r4, r4, lbl_8059FD08@l -/* 80065C1C 00062B7C 48 25 CB 19 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -/* 80065C20 00062B80 7F B5 EB 78 */ mr r21, r29 -/* 80065C24 00062B84 7F 36 CB 78 */ mr r22, r25 -/* 80065C28 00062B88 48 31 F7 81 */ bl OSGetTime -/* 80065C2C 00062B8C 7C 9B 20 10 */ subfc r4, r27, r4 -/* 80065C30 00062B90 80 BE 00 08 */ lwz r5, 8(r30) -/* 80065C34 00062B94 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80065C38 00062B98 7C 7A 19 10 */ subfe r3, r26, r3 -/* 80065C3C 00062B9C 48 32 3F 91 */ bl __div2i -/* 80065C40 00062BA0 7C 9D 23 78 */ mr r29, r4 -/* 80065C44 00062BA4 7C 79 1B 78 */ mr r25, r3 -/* 80065C48 00062BA8 7C 15 E8 10 */ subfc r0, r21, r29 -/* 80065C4C 00062BAC 90 1F 08 1C */ stw r0, 0x81c(r31) -/* 80065C50 00062BB0 7C 16 C9 10 */ subfe r0, r22, r25 -/* 80065C54 00062BB4 90 1F 08 18 */ stw r0, 0x818(r31) -lbl_80065C58: -/* 80065C58 00062BB8 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 80065C5C 00062BBC 28 03 00 00 */ cmplwi r3, 0 -/* 80065C60 00062BC0 41 82 00 60 */ beq lbl_80065CC0 -/* 80065C64 00062BC4 80 1F 02 CC */ lwz r0, 0x2cc(r31) -/* 80065C68 00062BC8 2C 00 00 00 */ cmpwi r0, 0 -/* 80065C6C 00062BCC 40 82 00 54 */ bne lbl_80065CC0 -/* 80065C70 00062BD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80065C74 00062BD4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80065C78 00062BD8 7D 89 03 A6 */ mtctr r12 -/* 80065C7C 00062BDC 4E 80 04 21 */ bctrl -/* 80065C80 00062BE0 7F B6 EB 78 */ mr r22, r29 -/* 80065C84 00062BE4 7F 3E CB 78 */ mr r30, r25 -/* 80065C88 00062BE8 48 31 F7 21 */ bl OSGetTime -/* 80065C8C 00062BEC 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha -/* 80065C90 00062BF0 7C 9B 20 10 */ subfc r4, r27, r4 -/* 80065C94 00062BF4 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l -/* 80065C98 00062BF8 7C 7A 19 10 */ subfe r3, r26, r3 -/* 80065C9C 00062BFC 80 A6 00 08 */ lwz r5, 8(r6) -/* 80065CA0 00062C00 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 80065CA4 00062C04 48 32 3F 29 */ bl __div2i -/* 80065CA8 00062C08 7C 9D 23 78 */ mr r29, r4 -/* 80065CAC 00062C0C 7C 79 1B 78 */ mr r25, r3 -/* 80065CB0 00062C10 7C 16 E8 10 */ subfc r0, r22, r29 -/* 80065CB4 00062C14 90 1F 08 7C */ stw r0, 0x87c(r31) -/* 80065CB8 00062C18 7C 1E C9 10 */ subfe r0, r30, r25 -/* 80065CBC 00062C1C 90 1F 08 78 */ stw r0, 0x878(r31) -lbl_80065CC0: -/* 80065CC0 00062C20 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80065CC4 00062C24 38 00 00 00 */ li r0, 0 -/* 80065CC8 00062C28 2C 03 00 00 */ cmpwi r3, 0 -/* 80065CCC 00062C2C 41 80 00 10 */ blt lbl_80065CDC -/* 80065CD0 00062C30 2C 03 00 03 */ cmpwi r3, 3 -/* 80065CD4 00062C34 41 81 00 08 */ bgt lbl_80065CDC -/* 80065CD8 00062C38 38 00 00 01 */ li r0, 1 -lbl_80065CDC: -/* 80065CDC 00062C3C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80065CE0 00062C40 41 82 00 98 */ beq lbl_80065D78 -/* 80065CE4 00062C44 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 80065CE8 00062C48 41 82 00 74 */ beq lbl_80065D5C -/* 80065CEC 00062C4C 28 18 00 00 */ cmplwi r24, 0 -/* 80065CF0 00062C50 41 82 00 6C */ beq lbl_80065D5C -/* 80065CF4 00062C54 28 18 00 05 */ cmplwi r24, 5 -/* 80065CF8 00062C58 40 80 00 64 */ bge lbl_80065D5C -/* 80065CFC 00062C5C 80 7C 08 B8 */ lwz r3, 0x8b8(r28) -/* 80065D00 00062C60 80 63 00 00 */ lwz r3, 0(r3) -/* 80065D04 00062C64 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80065D08 00062C68 2C 00 00 00 */ cmpwi r0, 0 -/* 80065D0C 00062C6C 40 82 00 0C */ bne lbl_80065D18 -/* 80065D10 00062C70 48 02 BB 55 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 80065D14 00062C74 48 00 00 08 */ b lbl_80065D1C -lbl_80065D18: -/* 80065D18 00062C78 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -lbl_80065D1C: -/* 80065D1C 00062C7C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80065D20 00062C80 80 7F 02 AC */ lwz r3, 0x2ac(r31) -/* 80065D24 00062C84 7F 84 E3 78 */ mr r4, r28 -/* 80065D28 00062C88 48 12 C4 AD */ bl Draw__18CHudRadarInterfaceCFRC13CStateManagerf -/* 80065D2C 00062C8C 48 31 F6 7D */ bl OSGetTime -/* 80065D30 00062C90 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha -/* 80065D34 00062C94 7C 9B 20 10 */ subfc r4, r27, r4 -/* 80065D38 00062C98 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l -/* 80065D3C 00062C9C 7C 7A 19 10 */ subfe r3, r26, r3 -/* 80065D40 00062CA0 80 A6 00 08 */ lwz r5, 8(r6) -/* 80065D44 00062CA4 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 80065D48 00062CA8 48 32 3E 85 */ bl __div2i -/* 80065D4C 00062CAC 7C 1D 20 10 */ subfc r0, r29, r4 -/* 80065D50 00062CB0 90 1F 07 BC */ stw r0, 0x7bc(r31) -/* 80065D54 00062CB4 7C 19 19 10 */ subfe r0, r25, r3 -/* 80065D58 00062CB8 90 1F 07 B8 */ stw r0, 0x7b8(r31) -lbl_80065D5C: -/* 80065D5C 00062CBC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80065D60 00062CC0 38 80 00 01 */ li r4, 1 -/* 80065D64 00062CC4 38 A0 00 01 */ li r5, 1 -/* 80065D68 00062CC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80065D6C 00062CCC 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80065D70 00062CD0 7D 89 03 A6 */ mtctr r12 -/* 80065D74 00062CD4 4E 80 04 21 */ bctrl -lbl_80065D78: -/* 80065D78 00062CD8 48 31 F6 31 */ bl OSGetTime -/* 80065D7C 00062CDC 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha -/* 80065D80 00062CE0 7C 9B 20 10 */ subfc r4, r27, r4 -/* 80065D84 00062CE4 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l -/* 80065D88 00062CE8 7C 7A 19 10 */ subfe r3, r26, r3 -/* 80065D8C 00062CEC 80 A6 00 08 */ lwz r5, 8(r6) -/* 80065D90 00062CF0 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 80065D94 00062CF4 48 32 3E 39 */ bl __div2i -/* 80065D98 00062CF8 90 9F 08 9C */ stw r4, 0x89c(r31) -/* 80065D9C 00062CFC 90 7F 08 98 */ stw r3, 0x898(r31) -lbl_80065DA0: -/* 80065DA0 00062D00 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80065DA4 00062D04 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80065DA8 00062D08 BA A1 00 44 */ lmw r21, 0x44(r1) -/* 80065DAC 00062D0C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80065DB0 00062D10 7C 08 03 A6 */ mtlr r0 -/* 80065DB4 00062D14 38 21 00 80 */ addi r1, r1, 0x80 -/* 80065DB8 00062D18 4E 80 00 20 */ blr - -.global Draw__17IHudDecoInterfaceCFv -Draw__17IHudDecoInterfaceCFv: -/* 80065DBC 00062D1C 4E 80 00 20 */ blr - -.global DrawHelmet__9CSamusHudFRC13CStateManagerf -DrawHelmet__9CSamusHudFRC13CStateManagerf: -/* 80065DC0 00062D20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80065DC4 00062D24 7C 08 02 A6 */ mflr r0 -/* 80065DC8 00062D28 90 01 00 24 */ stw r0, 0x24(r1) -/* 80065DCC 00062D2C 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80065DD0 00062D30 80 03 02 64 */ lwz r0, 0x264(r3) -/* 80065DD4 00062D34 80 84 02 F8 */ lwz r4, 0x2f8(r4) -/* 80065DD8 00062D38 28 00 00 00 */ cmplwi r0, 0 -/* 80065DDC 00062D3C 7C 80 00 34 */ cntlzw r0, r4 -/* 80065DE0 00062D40 54 00 D9 7E */ srwi r0, r0, 5 -/* 80065DE4 00062D44 41 82 00 74 */ beq lbl_80065E58 -/* 80065DE8 00062D48 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80065DEC 00062D4C 41 82 00 6C */ beq lbl_80065E58 -/* 80065DF0 00062D50 80 03 02 BC */ lwz r0, 0x2bc(r3) -/* 80065DF4 00062D54 2C 00 00 04 */ cmpwi r0, 4 -/* 80065DF8 00062D58 41 82 00 60 */ beq lbl_80065E58 -/* 80065DFC 00062D5C 80 03 02 C4 */ lwz r0, 0x2c4(r3) -/* 80065E00 00062D60 38 80 00 00 */ li r4, 0 -/* 80065E04 00062D64 2C 00 00 03 */ cmpwi r0, 3 -/* 80065E08 00062D68 40 82 00 14 */ bne lbl_80065E1C -/* 80065E0C 00062D6C 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80065E10 00062D70 2C 00 00 04 */ cmpwi r0, 4 -/* 80065E14 00062D74 40 82 00 08 */ bne lbl_80065E1C -/* 80065E18 00062D78 38 80 00 01 */ li r4, 1 -lbl_80065E1C: -/* 80065E1C 00062D7C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80065E20 00062D80 41 82 00 0C */ beq lbl_80065E2C -/* 80065E24 00062D84 C0 63 02 C8 */ lfs f3, 0x2c8(r3) -/* 80065E28 00062D88 48 00 00 08 */ b lbl_80065E30 -lbl_80065E2C: -/* 80065E2C 00062D8C C0 62 87 28 */ lfs f3, lbl_805AA448@sda21(r2) -lbl_80065E30: -/* 80065E30 00062D90 C0 02 87 5C */ lfs f0, lbl_805AA47C@sda21(r2) -/* 80065E34 00062D94 38 81 00 08 */ addi r4, r1, 8 -/* 80065E38 00062D98 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) -/* 80065E3C 00062D9C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80065E40 00062DA0 D0 61 00 08 */ stfs f3, 8(r1) -/* 80065E44 00062DA4 80 63 02 64 */ lwz r3, 0x264(r3) -/* 80065E48 00062DA8 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80065E4C 00062DAC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80065E50 00062DB0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80065E54 00062DB4 48 25 C8 E1 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -lbl_80065E58: -/* 80065E58 00062DB8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80065E5C 00062DBC 7C 08 03 A6 */ mtlr r0 -/* 80065E60 00062DC0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80065E64 00062DC4 4E 80 00 20 */ blr - -.global LeaveFirstPerson__9CSamusHudFRC13CStateManager -LeaveFirstPerson__9CSamusHudFRC13CStateManager: -/* 80065E68 00062DC8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80065E6C 00062DCC 7C 08 02 A6 */ mflr r0 -/* 80065E70 00062DD0 38 80 00 00 */ li r4, 0 -/* 80065E74 00062DD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80065E78 00062DD8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80065E7C 00062DDC 7C 7F 1B 78 */ mr r31, r3 -/* 80065E80 00062DE0 38 61 00 0C */ addi r3, r1, 0xc -/* 80065E84 00062DE4 80 1F 05 08 */ lwz r0, 0x508(r31) -/* 80065E88 00062DE8 90 01 00 0C */ stw r0, 0xc(r1) -/* 80065E8C 00062DEC 48 28 3D CD */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 80065E90 00062DF0 80 1F 05 0C */ lwz r0, 0x50c(r31) -/* 80065E94 00062DF4 38 61 00 08 */ addi r3, r1, 8 -/* 80065E98 00062DF8 38 80 00 00 */ li r4, 0 -/* 80065E9C 00062DFC 90 01 00 08 */ stw r0, 8(r1) -/* 80065EA0 00062E00 48 28 3D B9 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 80065EA4 00062E04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80065EA8 00062E08 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80065EAC 00062E0C 7C 08 03 A6 */ mtlr r0 -/* 80065EB0 00062E10 38 21 00 20 */ addi r1, r1, 0x20 -/* 80065EB4 00062E14 4E 80 00 20 */ blr - -.global EnterFirstPerson__9CSamusHudFRC13CStateManager -EnterFirstPerson__9CSamusHudFRC13CStateManager: -/* 80065EB8 00062E18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80065EBC 00062E1C 7C 08 02 A6 */ mflr r0 -/* 80065EC0 00062E20 38 80 00 7F */ li r4, 0x7f -/* 80065EC4 00062E24 90 01 00 24 */ stw r0, 0x24(r1) -/* 80065EC8 00062E28 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80065ECC 00062E2C 7C 7F 1B 78 */ mr r31, r3 -/* 80065ED0 00062E30 38 61 00 0C */ addi r3, r1, 0xc -/* 80065ED4 00062E34 80 1F 05 08 */ lwz r0, 0x508(r31) -/* 80065ED8 00062E38 90 01 00 0C */ stw r0, 0xc(r1) -/* 80065EDC 00062E3C 48 28 3D 7D */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 80065EE0 00062E40 80 1F 05 0C */ lwz r0, 0x50c(r31) -/* 80065EE4 00062E44 38 61 00 08 */ addi r3, r1, 8 -/* 80065EE8 00062E48 38 80 00 7F */ li r4, 0x7f -/* 80065EEC 00062E4C 90 01 00 08 */ stw r0, 8(r1) -/* 80065EF0 00062E50 48 28 3D 69 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 80065EF4 00062E54 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80065EF8 00062E58 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80065EFC 00062E5C 7C 08 03 A6 */ mtlr r0 -/* 80065F00 00062E60 38 21 00 20 */ addi r1, r1, 0x20 -/* 80065F04 00062E64 4E 80 00 20 */ blr - -.global BuildPlayerHasBeams__9CSamusHudCFRC13CStateManager -BuildPlayerHasBeams__9CSamusHudCFRC13CStateManager: -/* 80065F08 00062E68 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80065F0C 00062E6C 7C 08 02 A6 */ mflr r0 -/* 80065F10 00062E70 90 01 00 24 */ stw r0, 0x24(r1) -/* 80065F14 00062E74 38 00 00 00 */ li r0, 0 -/* 80065F18 00062E78 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80065F1C 00062E7C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80065F20 00062E80 7C 7E 1B 78 */ mr r30, r3 -/* 80065F24 00062E84 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80065F28 00062E88 80 85 08 B8 */ lwz r4, 0x8b8(r5) -/* 80065F2C 00062E8C 90 01 00 08 */ stw r0, 8(r1) -/* 80065F30 00062E90 83 A4 00 00 */ lwz r29, 0(r4) -/* 80065F34 00062E94 38 80 00 00 */ li r4, 0 -/* 80065F38 00062E98 7F A3 EB 78 */ mr r3, r29 -/* 80065F3C 00062E9C 48 02 BB 85 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80065F40 00062EA0 80 01 00 08 */ lwz r0, 8(r1) -/* 80065F44 00062EA4 3B E1 00 0C */ addi r31, r1, 0xc -/* 80065F48 00062EA8 7C 9F 02 15 */ add. r4, r31, r0 -/* 80065F4C 00062EAC 41 82 00 08 */ beq lbl_80065F54 -/* 80065F50 00062EB0 98 64 00 00 */ stb r3, 0(r4) -lbl_80065F54: -/* 80065F54 00062EB4 80 A1 00 08 */ lwz r5, 8(r1) -/* 80065F58 00062EB8 7F A3 EB 78 */ mr r3, r29 -/* 80065F5C 00062EBC 38 80 00 01 */ li r4, 1 -/* 80065F60 00062EC0 38 05 00 01 */ addi r0, r5, 1 -/* 80065F64 00062EC4 90 01 00 08 */ stw r0, 8(r1) -/* 80065F68 00062EC8 48 02 BB 59 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80065F6C 00062ECC 80 01 00 08 */ lwz r0, 8(r1) -/* 80065F70 00062ED0 7C 9F 02 15 */ add. r4, r31, r0 -/* 80065F74 00062ED4 41 82 00 08 */ beq lbl_80065F7C -/* 80065F78 00062ED8 98 64 00 00 */ stb r3, 0(r4) -lbl_80065F7C: -/* 80065F7C 00062EDC 80 A1 00 08 */ lwz r5, 8(r1) -/* 80065F80 00062EE0 7F A3 EB 78 */ mr r3, r29 -/* 80065F84 00062EE4 38 80 00 02 */ li r4, 2 -/* 80065F88 00062EE8 38 05 00 01 */ addi r0, r5, 1 -/* 80065F8C 00062EEC 90 01 00 08 */ stw r0, 8(r1) -/* 80065F90 00062EF0 48 02 BB 31 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80065F94 00062EF4 80 01 00 08 */ lwz r0, 8(r1) -/* 80065F98 00062EF8 7C 9F 02 15 */ add. r4, r31, r0 -/* 80065F9C 00062EFC 41 82 00 08 */ beq lbl_80065FA4 -/* 80065FA0 00062F00 98 64 00 00 */ stb r3, 0(r4) -lbl_80065FA4: -/* 80065FA4 00062F04 80 A1 00 08 */ lwz r5, 8(r1) -/* 80065FA8 00062F08 7F A3 EB 78 */ mr r3, r29 -/* 80065FAC 00062F0C 38 80 00 03 */ li r4, 3 -/* 80065FB0 00062F10 38 05 00 01 */ addi r0, r5, 1 -/* 80065FB4 00062F14 90 01 00 08 */ stw r0, 8(r1) -/* 80065FB8 00062F18 48 02 BB 09 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80065FBC 00062F1C 80 01 00 08 */ lwz r0, 8(r1) -/* 80065FC0 00062F20 7C 9F 02 15 */ add. r4, r31, r0 -/* 80065FC4 00062F24 41 82 00 08 */ beq lbl_80065FCC -/* 80065FC8 00062F28 98 64 00 00 */ stb r3, 0(r4) -lbl_80065FCC: -/* 80065FCC 00062F2C 80 61 00 08 */ lwz r3, 8(r1) -/* 80065FD0 00062F30 38 9E 00 04 */ addi r4, r30, 4 -/* 80065FD4 00062F34 38 03 00 01 */ addi r0, r3, 1 -/* 80065FD8 00062F38 90 1E 00 00 */ stw r0, 0(r30) -/* 80065FDC 00062F3C 80 7E 00 00 */ lwz r3, 0(r30) -/* 80065FE0 00062F40 90 01 00 08 */ stw r0, 8(r1) -/* 80065FE4 00062F44 7C 69 03 A6 */ mtctr r3 -/* 80065FE8 00062F48 2C 03 00 00 */ cmpwi r3, 0 -/* 80065FEC 00062F4C 40 81 00 20 */ ble lbl_8006600C -lbl_80065FF0: -/* 80065FF0 00062F50 28 04 00 00 */ cmplwi r4, 0 -/* 80065FF4 00062F54 41 82 00 0C */ beq lbl_80066000 -/* 80065FF8 00062F58 88 1F 00 00 */ lbz r0, 0(r31) -/* 80065FFC 00062F5C 98 04 00 00 */ stb r0, 0(r4) -lbl_80066000: -/* 80066000 00062F60 38 84 00 01 */ addi r4, r4, 1 -/* 80066004 00062F64 3B FF 00 01 */ addi r31, r31, 1 -/* 80066008 00062F68 42 00 FF E8 */ bdnz lbl_80065FF0 -lbl_8006600C: -/* 8006600C 00062F6C 80 A1 00 08 */ lwz r5, 8(r1) -/* 80066010 00062F70 38 60 00 00 */ li r3, 0 -/* 80066014 00062F74 2C 05 00 00 */ cmpwi r5, 0 -/* 80066018 00062F78 40 81 00 40 */ ble lbl_80066058 -/* 8006601C 00062F7C 2C 05 00 08 */ cmpwi r5, 8 -/* 80066020 00062F80 38 85 FF F8 */ addi r4, r5, -8 -/* 80066024 00062F84 40 81 00 20 */ ble lbl_80066044 -/* 80066028 00062F88 38 04 00 07 */ addi r0, r4, 7 -/* 8006602C 00062F8C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80066030 00062F90 7C 09 03 A6 */ mtctr r0 -/* 80066034 00062F94 2C 04 00 00 */ cmpwi r4, 0 -/* 80066038 00062F98 40 81 00 0C */ ble lbl_80066044 -lbl_8006603C: -/* 8006603C 00062F9C 38 63 00 08 */ addi r3, r3, 8 -/* 80066040 00062FA0 42 00 FF FC */ bdnz lbl_8006603C -lbl_80066044: -/* 80066044 00062FA4 7C 03 28 50 */ subf r0, r3, r5 -/* 80066048 00062FA8 7C 09 03 A6 */ mtctr r0 -/* 8006604C 00062FAC 7C 03 28 00 */ cmpw r3, r5 -/* 80066050 00062FB0 40 80 00 08 */ bge lbl_80066058 -lbl_80066054: -/* 80066054 00062FB4 42 00 00 00 */ bdnz lbl_80066054 -lbl_80066058: -/* 80066058 00062FB8 38 00 00 00 */ li r0, 0 -/* 8006605C 00062FBC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80066060 00062FC0 90 01 00 08 */ stw r0, 8(r1) -/* 80066064 00062FC4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80066068 00062FC8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8006606C 00062FCC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80066070 00062FD0 7C 08 03 A6 */ mtlr r0 -/* 80066074 00062FD4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80066078 00062FD8 4E 80 00 20 */ blr - -.global BuildPlayerHasVisors__9CSamusHudCFRC13CStateManager -BuildPlayerHasVisors__9CSamusHudCFRC13CStateManager: -/* 8006607C 00062FDC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80066080 00062FE0 7C 08 02 A6 */ mflr r0 -/* 80066084 00062FE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80066088 00062FE8 38 00 00 00 */ li r0, 0 -/* 8006608C 00062FEC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80066090 00062FF0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80066094 00062FF4 7C 7E 1B 78 */ mr r30, r3 -/* 80066098 00062FF8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8006609C 00062FFC 80 85 08 B8 */ lwz r4, 0x8b8(r5) -/* 800660A0 00063000 90 01 00 08 */ stw r0, 8(r1) -/* 800660A4 00063004 83 A4 00 00 */ lwz r29, 0(r4) -/* 800660A8 00063008 38 80 00 11 */ li r4, 0x11 -/* 800660AC 0006300C 7F A3 EB 78 */ mr r3, r29 -/* 800660B0 00063010 48 02 BA 11 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800660B4 00063014 80 01 00 08 */ lwz r0, 8(r1) -/* 800660B8 00063018 3B E1 00 0C */ addi r31, r1, 0xc -/* 800660BC 0006301C 7C 9F 02 15 */ add. r4, r31, r0 -/* 800660C0 00063020 41 82 00 08 */ beq lbl_800660C8 -/* 800660C4 00063024 98 64 00 00 */ stb r3, 0(r4) -lbl_800660C8: -/* 800660C8 00063028 80 A1 00 08 */ lwz r5, 8(r1) -/* 800660CC 0006302C 7F A3 EB 78 */ mr r3, r29 -/* 800660D0 00063030 38 80 00 0D */ li r4, 0xd -/* 800660D4 00063034 38 05 00 01 */ addi r0, r5, 1 -/* 800660D8 00063038 90 01 00 08 */ stw r0, 8(r1) -/* 800660DC 0006303C 48 02 B9 E5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800660E0 00063040 80 01 00 08 */ lwz r0, 8(r1) -/* 800660E4 00063044 7C 9F 02 15 */ add. r4, r31, r0 -/* 800660E8 00063048 41 82 00 08 */ beq lbl_800660F0 -/* 800660EC 0006304C 98 64 00 00 */ stb r3, 0(r4) -lbl_800660F0: -/* 800660F0 00063050 80 A1 00 08 */ lwz r5, 8(r1) -/* 800660F4 00063054 7F A3 EB 78 */ mr r3, r29 -/* 800660F8 00063058 38 80 00 05 */ li r4, 5 -/* 800660FC 0006305C 38 05 00 01 */ addi r0, r5, 1 -/* 80066100 00063060 90 01 00 08 */ stw r0, 8(r1) -/* 80066104 00063064 48 02 B9 BD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80066108 00063068 80 01 00 08 */ lwz r0, 8(r1) -/* 8006610C 0006306C 7C 9F 02 15 */ add. r4, r31, r0 -/* 80066110 00063070 41 82 00 08 */ beq lbl_80066118 -/* 80066114 00063074 98 64 00 00 */ stb r3, 0(r4) -lbl_80066118: -/* 80066118 00063078 80 A1 00 08 */ lwz r5, 8(r1) -/* 8006611C 0006307C 7F A3 EB 78 */ mr r3, r29 -/* 80066120 00063080 38 80 00 09 */ li r4, 9 -/* 80066124 00063084 38 05 00 01 */ addi r0, r5, 1 -/* 80066128 00063088 90 01 00 08 */ stw r0, 8(r1) -/* 8006612C 0006308C 48 02 B9 95 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80066130 00063090 80 01 00 08 */ lwz r0, 8(r1) -/* 80066134 00063094 7C 9F 02 15 */ add. r4, r31, r0 -/* 80066138 00063098 41 82 00 08 */ beq lbl_80066140 -/* 8006613C 0006309C 98 64 00 00 */ stb r3, 0(r4) -lbl_80066140: -/* 80066140 000630A0 80 61 00 08 */ lwz r3, 8(r1) -/* 80066144 000630A4 38 9E 00 04 */ addi r4, r30, 4 -/* 80066148 000630A8 38 03 00 01 */ addi r0, r3, 1 -/* 8006614C 000630AC 90 1E 00 00 */ stw r0, 0(r30) -/* 80066150 000630B0 80 7E 00 00 */ lwz r3, 0(r30) -/* 80066154 000630B4 90 01 00 08 */ stw r0, 8(r1) -/* 80066158 000630B8 7C 69 03 A6 */ mtctr r3 -/* 8006615C 000630BC 2C 03 00 00 */ cmpwi r3, 0 -/* 80066160 000630C0 40 81 00 20 */ ble lbl_80066180 -lbl_80066164: -/* 80066164 000630C4 28 04 00 00 */ cmplwi r4, 0 -/* 80066168 000630C8 41 82 00 0C */ beq lbl_80066174 -/* 8006616C 000630CC 88 1F 00 00 */ lbz r0, 0(r31) -/* 80066170 000630D0 98 04 00 00 */ stb r0, 0(r4) -lbl_80066174: -/* 80066174 000630D4 38 84 00 01 */ addi r4, r4, 1 -/* 80066178 000630D8 3B FF 00 01 */ addi r31, r31, 1 -/* 8006617C 000630DC 42 00 FF E8 */ bdnz lbl_80066164 -lbl_80066180: -/* 80066180 000630E0 80 A1 00 08 */ lwz r5, 8(r1) -/* 80066184 000630E4 38 60 00 00 */ li r3, 0 -/* 80066188 000630E8 2C 05 00 00 */ cmpwi r5, 0 -/* 8006618C 000630EC 40 81 00 40 */ ble lbl_800661CC -/* 80066190 000630F0 2C 05 00 08 */ cmpwi r5, 8 -/* 80066194 000630F4 38 85 FF F8 */ addi r4, r5, -8 -/* 80066198 000630F8 40 81 00 20 */ ble lbl_800661B8 -/* 8006619C 000630FC 38 04 00 07 */ addi r0, r4, 7 -/* 800661A0 00063100 54 00 E8 FE */ srwi r0, r0, 3 -/* 800661A4 00063104 7C 09 03 A6 */ mtctr r0 -/* 800661A8 00063108 2C 04 00 00 */ cmpwi r4, 0 -/* 800661AC 0006310C 40 81 00 0C */ ble lbl_800661B8 -lbl_800661B0: -/* 800661B0 00063110 38 63 00 08 */ addi r3, r3, 8 -/* 800661B4 00063114 42 00 FF FC */ bdnz lbl_800661B0 -lbl_800661B8: -/* 800661B8 00063118 7C 03 28 50 */ subf r0, r3, r5 -/* 800661BC 0006311C 7C 09 03 A6 */ mtctr r0 -/* 800661C0 00063120 7C 03 28 00 */ cmpw r3, r5 -/* 800661C4 00063124 40 80 00 08 */ bge lbl_800661CC -lbl_800661C8: -/* 800661C8 00063128 42 00 00 00 */ bdnz lbl_800661C8 -lbl_800661CC: -/* 800661CC 0006312C 38 00 00 00 */ li r0, 0 -/* 800661D0 00063130 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800661D4 00063134 90 01 00 08 */ stw r0, 8(r1) -/* 800661D8 00063138 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800661DC 0006313C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800661E0 00063140 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800661E4 00063144 7C 08 03 A6 */ mtlr r0 -/* 800661E8 00063148 38 21 00 20 */ addi r1, r1, 0x20 -/* 800661EC 0006314C 4E 80 00 20 */ blr - -.global DrawAttachedEnemyEffect__9CSamusHudCFRC13CStateManager -DrawAttachedEnemyEffect__9CSamusHudCFRC13CStateManager: -/* 800661F0 00063150 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800661F4 00063154 7C 08 02 A6 */ mflr r0 -/* 800661F8 00063158 90 01 00 44 */ stw r0, 0x44(r1) -/* 800661FC 0006315C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80066200 00063160 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80066204 00063164 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80066208 00063168 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8006620C 0006316C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80066210 00063170 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 80066214 00063174 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80066218 00063178 C0 23 02 84 */ lfs f1, 0x284(r3) -/* 8006621C 0006317C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066220 00063180 40 81 00 E4 */ ble lbl_80066304 -/* 80066224 00063184 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80066228 00063188 C0 02 87 60 */ lfs f0, lbl_805AA480@sda21(r2) -/* 8006622C 0006318C C3 C3 01 C8 */ lfs f30, 0x1c8(r3) -/* 80066230 00063190 88 03 01 CC */ lbz r0, 0x1cc(r3) -/* 80066234 00063194 EC 40 07 B2 */ fmuls f2, f0, f30 -/* 80066238 00063198 83 ED A1 3C */ lwz r31, gpTweakGuiColors@sda21(r13) -/* 8006623C 0006319C 28 00 00 00 */ cmplwi r0, 0 -/* 80066240 000631A0 41 82 00 2C */ beq lbl_8006626C -/* 80066244 000631A4 C0 02 87 38 */ lfs f0, lbl_805AA458@sda21(r2) -/* 80066248 000631A8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8006624C 000631AC EC 00 F0 24 */ fdivs f0, f0, f30 -/* 80066250 000631B0 EC 22 00 2A */ fadds f1, f2, f0 -/* 80066254 000631B4 48 2A EB 9D */ bl FastSinR__5CMathFf -/* 80066258 000631B8 C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) -/* 8006625C 000631BC C0 02 87 3C */ lfs f0, lbl_805AA45C@sda21(r2) -/* 80066260 000631C0 EC 22 08 2A */ fadds f1, f2, f1 -/* 80066264 000631C4 EC 40 00 72 */ fmuls f2, f0, f1 -/* 80066268 000631C8 48 00 00 3C */ b lbl_800662A4 -lbl_8006626C: -/* 8006626C 000631CC FC 40 F0 90 */ fmr f2, f30 -/* 80066270 000631D0 48 32 EA 3D */ bl fmod -/* 80066274 000631D4 FC 20 08 18 */ frsp f1, f1 -/* 80066278 000631D8 C0 02 87 3C */ lfs f0, lbl_805AA45C@sda21(r2) -/* 8006627C 000631DC EC 40 07 B2 */ fmuls f2, f0, f30 -/* 80066280 000631E0 FC 00 0A 10 */ fabs f0, f1 -/* 80066284 000631E4 FC 00 00 18 */ frsp f0, f0 -/* 80066288 000631E8 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8006628C 000631EC 40 80 00 0C */ bge lbl_80066298 -/* 80066290 000631F0 EC 00 10 24 */ fdivs f0, f0, f2 -/* 80066294 000631F4 48 00 00 0C */ b lbl_800662A0 -lbl_80066298: -/* 80066298 000631F8 EC 1E 00 28 */ fsubs f0, f30, f0 -/* 8006629C 000631FC EC 00 10 24 */ fdivs f0, f0, f2 -lbl_800662A0: -/* 800662A0 00063200 FC 40 00 90 */ fmr f2, f0 -lbl_800662A4: -/* 800662A4 00063204 88 7F 00 E3 */ lbz r3, 0xe3(r31) -/* 800662A8 00063208 3C 00 43 30 */ lis r0, 0x4330 -/* 800662AC 0006320C 90 01 00 10 */ stw r0, 0x10(r1) -/* 800662B0 00063210 C8 22 87 68 */ lfd f1, lbl_805AA488@sda21(r2) -/* 800662B4 00063214 90 61 00 14 */ stw r3, 0x14(r1) -/* 800662B8 00063218 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 800662BC 0006321C EC 00 08 28 */ fsubs f0, f0, f1 -/* 800662C0 00063220 EF E2 00 32 */ fmuls f31, f2, f0 -/* 800662C4 00063224 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800662C8 00063228 38 60 00 05 */ li r3, 5 -/* 800662CC 0006322C 80 BF 00 E0 */ lwz r5, 0xe0(r31) -/* 800662D0 00063230 88 01 00 08 */ lbz r0, 8(r1) -/* 800662D4 00063234 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 800662D8 00063238 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 800662DC 0006323C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800662E0 00063240 88 04 01 CD */ lbz r0, 0x1cd(r4) -/* 800662E4 00063244 28 00 00 00 */ cmplwi r0, 0 -/* 800662E8 00063248 41 82 00 08 */ beq lbl_800662F0 -/* 800662EC 0006324C 38 60 00 03 */ li r3, 3 -lbl_800662F0: -/* 800662F0 00063250 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 800662F4 00063254 38 A1 00 0C */ addi r5, r1, 0xc -/* 800662F8 00063258 38 80 00 00 */ li r4, 0 -/* 800662FC 0006325C 38 C0 00 00 */ li r6, 0 -/* 80066300 00063260 48 08 5E 49 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_80066304: -/* 80066304 00063264 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80066308 00063268 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8006630C 0006326C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80066310 00063270 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80066314 00063274 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80066318 00063278 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8006631C 0006327C 7C 08 03 A6 */ mtlr r0 -/* 80066320 00063280 38 21 00 40 */ addi r1, r1, 0x40 -/* 80066324 00063284 4E 80 00 20 */ blr - -.global Touch__9CSamusHudCFv -Touch__9CSamusHudCFv: -/* 80066328 00063288 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006632C 0006328C 7C 08 02 A6 */ mflr r0 -/* 80066330 00063290 90 01 00 14 */ stw r0, 0x14(r1) -/* 80066334 00063294 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80066338 00063298 7C 7F 1B 78 */ mr r31, r3 -/* 8006633C 0006329C 80 63 02 64 */ lwz r3, 0x264(r3) -/* 80066340 000632A0 28 03 00 00 */ cmplwi r3, 0 -/* 80066344 000632A4 41 82 00 08 */ beq lbl_8006634C -/* 80066348 000632A8 48 25 C2 A9 */ bl Touch__9CGuiFrameCFv -lbl_8006634C: -/* 8006634C 000632AC 80 7F 02 74 */ lwz r3, 0x274(r31) -/* 80066350 000632B0 28 03 00 00 */ cmplwi r3, 0 -/* 80066354 000632B4 41 82 00 08 */ beq lbl_8006635C -/* 80066358 000632B8 48 25 C2 99 */ bl Touch__9CGuiFrameCFv -lbl_8006635C: -/* 8006635C 000632BC 80 7F 02 88 */ lwz r3, 0x288(r31) -/* 80066360 000632C0 28 03 00 00 */ cmplwi r3, 0 -/* 80066364 000632C4 41 82 00 08 */ beq lbl_8006636C -/* 80066368 000632C8 48 25 C2 89 */ bl Touch__9CGuiFrameCFv -lbl_8006636C: -/* 8006636C 000632CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80066370 000632D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80066374 000632D4 7C 08 03 A6 */ mtlr r0 -/* 80066378 000632D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006637C 000632DC 4E 80 00 20 */ blr - -.global Update__9CSamusHudFfRC13CStateManagerUibb -Update__9CSamusHudFfRC13CStateManagerUibb: -/* 80066380 000632E0 94 21 FE 60 */ stwu r1, -0x1a0(r1) -/* 80066384 000632E4 7C 08 02 A6 */ mflr r0 -/* 80066388 000632E8 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 8006638C 000632EC DB E1 01 90 */ stfd f31, 0x190(r1) -/* 80066390 000632F0 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 -/* 80066394 000632F4 DB C1 01 80 */ stfd f30, 0x180(r1) -/* 80066398 000632F8 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 -/* 8006639C 000632FC DB A1 01 70 */ stfd f29, 0x170(r1) -/* 800663A0 00063300 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 -/* 800663A4 00063304 DB 81 01 60 */ stfd f28, 0x160(r1) -/* 800663A8 00063308 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 -/* 800663AC 0006330C DB 61 01 50 */ stfd f27, 0x150(r1) -/* 800663B0 00063310 F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 -/* 800663B4 00063314 DB 41 01 40 */ stfd f26, 0x140(r1) -/* 800663B8 00063318 F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 -/* 800663BC 0006331C BF 21 01 24 */ stmw r25, 0x124(r1) -/* 800663C0 00063320 7C BB 2B 78 */ mr r27, r5 -/* 800663C4 00063324 FF 80 08 90 */ fmr f28, f1 -/* 800663C8 00063328 7C 1B 00 D0 */ neg r0, r27 -/* 800663CC 0006332C 7C 7F 1B 78 */ mr r31, r3 -/* 800663D0 00063330 7C 00 DB 78 */ or r0, r0, r27 -/* 800663D4 00063334 7C 9E 23 78 */ mr r30, r4 -/* 800663D8 00063338 7C FC 3B 78 */ mr r28, r7 -/* 800663DC 0006333C 54 1D 0F FE */ srwi r29, r0, 0x1f -/* 800663E0 00063340 48 00 0C ED */ bl UpdateStateTransition__9CSamusHudFfRC13CStateManager -/* 800663E4 00063344 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 800663E8 00063348 3B 40 00 00 */ li r26, 0 -/* 800663EC 0006334C 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 800663F0 00063350 2C 00 00 00 */ cmpwi r0, 0 -/* 800663F4 00063354 40 82 00 18 */ bne lbl_8006640C -/* 800663F8 00063358 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 800663FC 0006335C 4B FA 45 05 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 80066400 00063360 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80066404 00063364 40 82 00 08 */ bne lbl_8006640C -/* 80066408 00063368 3B 40 00 01 */ li r26, 1 -lbl_8006640C: -/* 8006640C 0006336C 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 80066410 00063370 57 43 06 3E */ clrlwi r3, r26, 0x18 -/* 80066414 00063374 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f -/* 80066418 00063378 7C 03 00 40 */ cmplw r3, r0 -/* 8006641C 0006337C 41 82 00 34 */ beq lbl_80066450 -/* 80066420 00063380 28 03 00 00 */ cmplwi r3, 0 -/* 80066424 00063384 41 82 00 14 */ beq lbl_80066438 -/* 80066428 00063388 7F E3 FB 78 */ mr r3, r31 -/* 8006642C 0006338C 7F C4 F3 78 */ mr r4, r30 -/* 80066430 00063390 4B FF FA 89 */ bl EnterFirstPerson__9CSamusHudFRC13CStateManager -/* 80066434 00063394 48 00 00 10 */ b lbl_80066444 -lbl_80066438: -/* 80066438 00063398 7F E3 FB 78 */ mr r3, r31 -/* 8006643C 0006339C 7F C4 F3 78 */ mr r4, r30 -/* 80066440 000633A0 4B FF FA 29 */ bl LeaveFirstPerson__9CSamusHudFRC13CStateManager -lbl_80066444: -/* 80066444 000633A4 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 80066448 000633A8 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a -/* 8006644C 000633AC 98 1F 02 E0 */ stb r0, 0x2e0(r31) -lbl_80066450: -/* 80066450 000633B0 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 80066454 000633B4 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 80066458 000633B8 80 85 02 F8 */ lwz r4, 0x2f8(r5) -/* 8006645C 000633BC 2C 04 00 02 */ cmpwi r4, 2 -/* 80066460 000633C0 20 64 00 01 */ subfic r3, r4, 1 -/* 80066464 000633C4 38 04 FF FF */ addi r0, r4, -1 -/* 80066468 000633C8 7C 60 03 78 */ or r0, r3, r0 -/* 8006646C 000633CC 54 1A 0F FE */ srwi r26, r0, 0x1f -/* 80066470 000633D0 41 82 00 30 */ beq lbl_800664A0 -/* 80066474 000633D4 40 80 00 14 */ bge lbl_80066488 -/* 80066478 000633D8 2C 04 00 00 */ cmpwi r4, 0 -/* 8006647C 000633DC 41 82 00 98 */ beq lbl_80066514 -/* 80066480 000633E0 40 80 00 14 */ bge lbl_80066494 -/* 80066484 000633E4 48 00 00 90 */ b lbl_80066514 -lbl_80066488: -/* 80066488 000633E8 2C 04 00 04 */ cmpwi r4, 4 -/* 8006648C 000633EC 40 80 00 88 */ bge lbl_80066514 -/* 80066490 000633F0 48 00 00 4C */ b lbl_800664DC -lbl_80066494: -/* 80066494 000633F4 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 80066498 000633F8 48 00 00 7C */ b lbl_80066514 -/* 8006649C 000633FC 48 00 00 78 */ b lbl_80066514 -lbl_800664A0: -/* 800664A0 00063400 C0 45 05 78 */ lfs f2, 0x578(r5) -/* 800664A4 00063404 FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 800664A8 00063408 40 82 00 0C */ bne lbl_800664B4 -/* 800664AC 0006340C FC 00 08 90 */ fmr f0, f1 -/* 800664B0 00063410 48 00 00 24 */ b lbl_800664D4 -lbl_800664B4: -/* 800664B4 00063414 C0 05 05 74 */ lfs f0, 0x574(r5) -/* 800664B8 00063418 38 81 00 18 */ addi r4, r1, 0x18 -/* 800664BC 0006341C 38 6D 82 F0 */ addi r3, r13, lbl_805A6EB0@sda21 -/* 800664C0 00063420 38 AD 82 F4 */ addi r5, r13, lbl_805A6EB4@sda21 -/* 800664C4 00063424 EC 00 10 24 */ fdivs f0, f0, f2 -/* 800664C8 00063428 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800664CC 0006342C 4B FA 5D E9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800664D0 00063430 C0 03 00 00 */ lfs f0, 0(r3) -lbl_800664D4: -/* 800664D4 00063434 FC 20 00 90 */ fmr f1, f0 -/* 800664D8 00063438 48 00 00 3C */ b lbl_80066514 -lbl_800664DC: -/* 800664DC 0006343C C0 45 05 78 */ lfs f2, 0x578(r5) -/* 800664E0 00063440 FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 800664E4 00063444 40 82 00 08 */ bne lbl_800664EC -/* 800664E8 00063448 48 00 00 24 */ b lbl_8006650C -lbl_800664EC: -/* 800664EC 0006344C C0 05 05 74 */ lfs f0, 0x574(r5) -/* 800664F0 00063450 38 81 00 14 */ addi r4, r1, 0x14 -/* 800664F4 00063454 38 6D 82 F0 */ addi r3, r13, lbl_805A6EB0@sda21 -/* 800664F8 00063458 38 AD 82 F4 */ addi r5, r13, lbl_805A6EB4@sda21 -/* 800664FC 0006345C EC 00 10 24 */ fdivs f0, f0, f2 -/* 80066500 00063460 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80066504 00063464 4B FA 5D B1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80066508 00063468 C0 23 00 00 */ lfs f1, 0(r3) -lbl_8006650C: -/* 8006650C 0006346C C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 80066510 00063470 EC 20 08 28 */ fsubs f1, f0, f1 -lbl_80066514: -/* 80066514 00063474 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80066518 00063478 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 8006651C 0006347C C0 43 02 54 */ lfs f2, 0x254(r3) -/* 80066520 00063480 EC 01 00 BC */ fnmsubs f0, f1, f2, f0 -/* 80066524 00063484 D0 1F 05 04 */ stfs f0, 0x504(r31) -/* 80066528 00063488 80 7F 02 B0 */ lwz r3, 0x2b0(r31) -/* 8006652C 0006348C 28 03 00 00 */ cmplwi r3, 0 -/* 80066530 00063490 41 82 00 08 */ beq lbl_80066538 -/* 80066534 00063494 48 16 70 79 */ bl SetBallModeFactor__17CHudBallInterfaceFf -lbl_80066538: -/* 80066538 00063498 28 1A 00 00 */ cmplwi r26, 0 -/* 8006653C 0006349C 3B 40 00 00 */ li r26, 0 -/* 80066540 000634A0 3B 20 00 00 */ li r25, 0 -/* 80066544 000634A4 38 00 00 00 */ li r0, 0 -/* 80066548 000634A8 41 82 00 40 */ beq lbl_80066588 -/* 8006654C 000634AC 2C 1B 00 03 */ cmpwi r27, 3 -/* 80066550 000634B0 41 82 00 30 */ beq lbl_80066580 -/* 80066554 000634B4 40 80 00 10 */ bge lbl_80066564 -/* 80066558 000634B8 2C 1B 00 02 */ cmpwi r27, 2 -/* 8006655C 000634BC 40 80 00 28 */ bge lbl_80066584 -/* 80066560 000634C0 48 00 00 28 */ b lbl_80066588 -lbl_80066564: -/* 80066564 000634C4 2C 1B 00 05 */ cmpwi r27, 5 -/* 80066568 000634C8 41 82 00 0C */ beq lbl_80066574 -/* 8006656C 000634CC 40 80 00 1C */ bge lbl_80066588 -/* 80066570 000634D0 48 00 00 0C */ b lbl_8006657C -lbl_80066574: -/* 80066574 000634D4 3B 40 00 01 */ li r26, 1 -/* 80066578 000634D8 48 00 00 10 */ b lbl_80066588 -lbl_8006657C: -/* 8006657C 000634DC 3B 20 00 01 */ li r25, 1 -lbl_80066580: -/* 80066580 000634E0 3B 40 00 01 */ li r26, 1 -lbl_80066584: -/* 80066584 000634E4 38 00 00 01 */ li r0, 1 -lbl_80066588: -/* 80066588 000634E8 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8006658C 000634EC 28 03 00 00 */ cmplwi r3, 0 -/* 80066590 000634F0 41 82 00 18 */ beq lbl_800665A8 -/* 80066594 000634F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80066598 000634F8 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 8006659C 000634FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 800665A0 00063500 7D 89 03 A6 */ mtctr r12 -/* 800665A4 00063504 4E 80 04 21 */ bctrl -lbl_800665A8: -/* 800665A8 00063508 80 7F 02 A0 */ lwz r3, 0x2a0(r31) -/* 800665AC 0006350C 28 03 00 00 */ cmplwi r3, 0 -/* 800665B0 00063510 41 82 00 10 */ beq lbl_800665C0 -/* 800665B4 00063514 57 44 06 3E */ clrlwi r4, r26, 0x18 -/* 800665B8 00063518 57 25 06 3E */ clrlwi r5, r25, 0x18 -/* 800665BC 0006351C 48 12 A8 4D */ bl SetIsVisibleDebug__19CHudHelmetInterfaceFbb -lbl_800665C0: -/* 800665C0 00063520 80 7F 05 90 */ lwz r3, 0x590(r31) -/* 800665C4 00063524 38 80 00 00 */ li r4, 0 -/* 800665C8 00063528 48 26 40 65 */ bl SetIsVisible__10CGuiWidgetFb -/* 800665CC 0006352C FC 20 E0 90 */ fmr f1, f28 -/* 800665D0 00063530 7F E3 FB 78 */ mr r3, r31 -/* 800665D4 00063534 7F C4 F3 78 */ mr r4, r30 -/* 800665D8 00063538 48 00 42 79 */ bl UpdateEnergyLow__9CSamusHudFfRC13CStateManager -/* 800665DC 0006353C 38 00 00 00 */ li r0, 0 -/* 800665E0 00063540 90 1F 07 B4 */ stw r0, 0x7b4(r31) -/* 800665E4 00063544 90 1F 07 B0 */ stw r0, 0x7b0(r31) -/* 800665E8 00063548 90 1F 07 C4 */ stw r0, 0x7c4(r31) -/* 800665EC 0006354C 90 1F 07 C0 */ stw r0, 0x7c0(r31) -/* 800665F0 00063550 90 1F 07 D4 */ stw r0, 0x7d4(r31) -/* 800665F4 00063554 90 1F 07 D0 */ stw r0, 0x7d0(r31) -/* 800665F8 00063558 90 1F 07 E4 */ stw r0, 0x7e4(r31) -/* 800665FC 0006355C 90 1F 07 E0 */ stw r0, 0x7e0(r31) -/* 80066600 00063560 90 1F 07 F4 */ stw r0, 0x7f4(r31) -/* 80066604 00063564 90 1F 07 F0 */ stw r0, 0x7f0(r31) -/* 80066608 00063568 90 1F 08 04 */ stw r0, 0x804(r31) -/* 8006660C 0006356C 90 1F 08 00 */ stw r0, 0x800(r31) -/* 80066610 00063570 90 1F 08 14 */ stw r0, 0x814(r31) -/* 80066614 00063574 90 1F 08 10 */ stw r0, 0x810(r31) -/* 80066618 00063578 90 1F 08 24 */ stw r0, 0x824(r31) -/* 8006661C 0006357C 90 1F 08 20 */ stw r0, 0x820(r31) -/* 80066620 00063580 90 1F 08 34 */ stw r0, 0x834(r31) -/* 80066624 00063584 90 1F 08 30 */ stw r0, 0x830(r31) -/* 80066628 00063588 90 1F 08 44 */ stw r0, 0x844(r31) -/* 8006662C 0006358C 90 1F 08 40 */ stw r0, 0x840(r31) -/* 80066630 00063590 90 1F 08 54 */ stw r0, 0x854(r31) -/* 80066634 00063594 90 1F 08 50 */ stw r0, 0x850(r31) -/* 80066638 00063598 90 1F 08 64 */ stw r0, 0x864(r31) -/* 8006663C 0006359C 90 1F 08 60 */ stw r0, 0x860(r31) -/* 80066640 000635A0 90 1F 08 74 */ stw r0, 0x874(r31) -/* 80066644 000635A4 90 1F 08 70 */ stw r0, 0x870(r31) -/* 80066648 000635A8 90 1F 08 84 */ stw r0, 0x884(r31) -/* 8006664C 000635AC 90 1F 08 80 */ stw r0, 0x880(r31) -/* 80066650 000635B0 90 1F 08 94 */ stw r0, 0x894(r31) -/* 80066654 000635B4 90 1F 08 90 */ stw r0, 0x890(r31) -/* 80066658 000635B8 80 7F 02 AC */ lwz r3, 0x2ac(r31) -/* 8006665C 000635BC 28 03 00 00 */ cmplwi r3, 0 -/* 80066660 000635C0 41 82 00 10 */ beq lbl_80066670 -/* 80066664 000635C4 FC 20 E0 90 */ fmr f1, f28 -/* 80066668 000635C8 7F C4 F3 78 */ mr r4, r30 -/* 8006666C 000635CC 48 12 C1 B5 */ bl Update__18CHudRadarInterfaceFfRC13CStateManager -lbl_80066670: -/* 80066670 000635D0 FC 20 E0 90 */ fmr f1, f28 -/* 80066674 000635D4 7F E3 FB 78 */ mr r3, r31 -/* 80066678 000635D8 7F C4 F3 78 */ mr r4, r30 -/* 8006667C 000635DC 4B FF E8 11 */ bl UpdateHudLag__9CSamusHudFfRC13CStateManager -/* 80066680 000635E0 FC 20 E0 90 */ fmr f1, f28 -/* 80066684 000635E4 7F E3 FB 78 */ mr r3, r31 -/* 80066688 000635E8 7F C4 F3 78 */ mr r4, r30 -/* 8006668C 000635EC 48 00 1B 65 */ bl UpdateHudDynamicLights__9CSamusHudFfRC13CStateManager -/* 80066690 000635F0 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80066694 000635F4 41 82 00 14 */ beq lbl_800666A8 -/* 80066698 000635F8 FC 20 E0 90 */ fmr f1, f28 -/* 8006669C 000635FC 7F C4 F3 78 */ mr r4, r30 -/* 800666A0 00063600 38 7F 00 08 */ addi r3, r31, 8 -/* 800666A4 00063604 48 05 66 C1 */ bl Update__17CTargetingManagerFfRC13CStateManager -lbl_800666A8: -/* 800666A8 00063608 FC 20 E0 90 */ fmr f1, f28 -/* 800666AC 0006360C 7F E3 FB 78 */ mr r3, r31 -/* 800666B0 00063610 7F C4 F3 78 */ mr r4, r30 -/* 800666B4 00063614 7F 65 DB 78 */ mr r5, r27 -/* 800666B8 00063618 48 00 11 65 */ bl UpdateHudDamage__9CSamusHudFfRC13CStateManagerUi -/* 800666BC 0006361C FC 20 E0 90 */ fmr f1, f28 -/* 800666C0 00063620 7F E3 FB 78 */ mr r3, r31 -/* 800666C4 00063624 7F C4 F3 78 */ mr r4, r30 -/* 800666C8 00063628 48 00 2E ED */ bl UpdateStaticInterference__9CSamusHudFfRC13CStateManager -/* 800666CC 0006362C 28 1D 00 00 */ cmplwi r29, 0 -/* 800666D0 00063630 41 82 01 44 */ beq lbl_80066814 -/* 800666D4 00063634 80 1F 02 BC */ lwz r0, 0x2bc(r31) -/* 800666D8 00063638 2C 00 00 05 */ cmpwi r0, 5 -/* 800666DC 0006363C 41 82 00 28 */ beq lbl_80066704 -/* 800666E0 00063640 FC 20 E0 90 */ fmr f1, f28 -/* 800666E4 00063644 7F E3 FB 78 */ mr r3, r31 -/* 800666E8 00063648 7F C4 F3 78 */ mr r4, r30 -/* 800666EC 0006364C 38 A0 00 00 */ li r5, 0 -/* 800666F0 00063650 48 00 2A C9 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb -/* 800666F4 00063654 FC 20 E0 90 */ fmr f1, f28 -/* 800666F8 00063658 7F E3 FB 78 */ mr r3, r31 -/* 800666FC 0006365C 7F C4 F3 78 */ mr r4, r30 -/* 80066700 00063660 48 00 30 75 */ bl UpdateFreeLook__9CSamusHudFfRC13CStateManager -lbl_80066704: -/* 80066704 00063664 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80066708 00063668 2C 03 00 04 */ cmpwi r3, 4 -/* 8006670C 0006366C 40 82 00 18 */ bne lbl_80066724 -/* 80066710 00063670 7F E3 FB 78 */ mr r3, r31 -/* 80066714 00063674 7F C4 F3 78 */ mr r4, r30 -/* 80066718 00063678 38 A0 00 00 */ li r5, 0 -/* 8006671C 0006367C 48 00 28 A9 */ bl UpdateBallMode__9CSamusHudFRC13CStateManagerb -/* 80066720 00063680 48 00 00 58 */ b lbl_80066778 -lbl_80066724: -/* 80066724 00063684 2C 03 00 00 */ cmpwi r3, 0 -/* 80066728 00063688 38 00 00 00 */ li r0, 0 -/* 8006672C 0006368C 41 80 00 10 */ blt lbl_8006673C -/* 80066730 00063690 2C 03 00 03 */ cmpwi r3, 3 -/* 80066734 00063694 41 81 00 08 */ bgt lbl_8006673C -/* 80066738 00063698 38 00 00 01 */ li r0, 1 -lbl_8006673C: -/* 8006673C 0006369C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80066740 000636A0 41 82 00 38 */ beq lbl_80066778 -/* 80066744 000636A4 FC 20 E0 90 */ fmr f1, f28 -/* 80066748 000636A8 7F E3 FB 78 */ mr r3, r31 -/* 8006674C 000636AC 7F C4 F3 78 */ mr r4, r30 -/* 80066750 000636B0 48 00 4F 65 */ bl UpdateThreatAssessment__9CSamusHudFfRC13CStateManager -/* 80066754 000636B4 FC 20 E0 90 */ fmr f1, f28 -/* 80066758 000636B8 7F E3 FB 78 */ mr r3, r31 -/* 8006675C 000636BC 7F C4 F3 78 */ mr r4, r30 -/* 80066760 000636C0 38 A0 00 00 */ li r5, 0 -/* 80066764 000636C4 48 00 29 31 */ bl UpdateMissile__9CSamusHudFfRC13CStateManagerb -/* 80066768 000636C8 FC 20 E0 90 */ fmr f1, f28 -/* 8006676C 000636CC 7F E3 FB 78 */ mr r3, r31 -/* 80066770 000636D0 7F C4 F3 78 */ mr r4, r30 -/* 80066774 000636D4 48 00 2F A9 */ bl UpdateVideoBands__9CSamusHudFfRC13CStateManager -lbl_80066778: -/* 80066778 000636D8 FC 20 E0 90 */ fmr f1, f28 -/* 8006677C 000636DC 7F E3 FB 78 */ mr r3, r31 -/* 80066780 000636E0 7F C4 F3 78 */ mr r4, r30 -/* 80066784 000636E4 48 00 33 F5 */ bl UpdateVisorAndBeamMenus__9CSamusHudFfRC13CStateManager -/* 80066788 000636E8 83 5E 08 4C */ lwz r26, 0x84c(r30) -/* 8006678C 000636EC 7F 43 D3 78 */ mr r3, r26 -/* 80066790 000636F0 4B FA BD A5 */ bl WasDamaged__7CPlayerCFv -/* 80066794 000636F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80066798 000636F8 41 82 00 7C */ beq lbl_80066814 -/* 8006679C 000636FC 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 800667A0 00063700 2C 00 00 00 */ cmpwi r0, 0 -/* 800667A4 00063704 40 82 00 70 */ bne lbl_80066814 -/* 800667A8 00063708 7F 44 D3 78 */ mr r4, r26 -/* 800667AC 0006370C 38 61 00 80 */ addi r3, r1, 0x80 -/* 800667B0 00063710 4B FA BD 59 */ bl GetDamageLocationWR__7CPlayerCFv -/* 800667B4 00063714 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 800667B8 00063718 7F 43 D3 78 */ mr r3, r26 -/* 800667BC 0006371C C0 21 00 84 */ lfs f1, 0x84(r1) -/* 800667C0 00063720 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 800667C4 00063724 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 800667C8 00063728 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 800667CC 0006372C D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 800667D0 00063730 4B FA BD 5D */ bl GetDamageAmount__7CPlayerCFv -/* 800667D4 00063734 FF 60 08 90 */ fmr f27, f1 -/* 800667D8 00063738 7F 43 D3 78 */ mr r3, r26 -/* 800667DC 0006373C 4B FA BD 49 */ bl GetPrevDamageAmount__7CPlayerCFv -/* 800667E0 00063740 FC 00 08 90 */ fmr f0, f1 -/* 800667E4 00063744 80 81 00 9C */ lwz r4, 0x9c(r1) -/* 800667E8 00063748 80 C1 00 A0 */ lwz r6, 0xa0(r1) -/* 800667EC 0006374C FC 20 D8 90 */ fmr f1, f27 -/* 800667F0 00063750 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 800667F4 00063754 7F E3 FB 78 */ mr r3, r31 -/* 800667F8 00063758 90 81 00 74 */ stw r4, 0x74(r1) -/* 800667FC 0006375C FC 40 00 90 */ fmr f2, f0 -/* 80066800 00063760 7F C5 F3 78 */ mr r5, r30 -/* 80066804 00063764 38 81 00 74 */ addi r4, r1, 0x74 -/* 80066808 00063768 90 C1 00 78 */ stw r6, 0x78(r1) -/* 8006680C 0006376C 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80066810 00063770 4B FF EB 01 */ bl ShowDamage__9CSamusHudF9CVector3fffRC13CStateManager -lbl_80066814: -/* 80066814 00063774 80 1F 05 54 */ lwz r0, 0x554(r31) -/* 80066818 00063778 C3 5F 05 84 */ lfs f26, 0x584(r31) -/* 8006681C 0006377C 2C 00 00 00 */ cmpwi r0, 0 -/* 80066820 00063780 40 82 00 28 */ bne lbl_80066848 -/* 80066824 00063784 C0 42 87 70 */ lfs f2, lbl_805AA490@sda21(r2) -/* 80066828 00063788 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 8006682C 0006378C EC 22 D7 3A */ fmadds f1, f2, f28, f26 -/* 80066830 00063790 D0 3F 05 84 */ stfs f1, 0x584(r31) -/* 80066834 00063794 C0 3F 05 84 */ lfs f1, 0x584(r31) -/* 80066838 00063798 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8006683C 0006379C 40 81 00 0C */ ble lbl_80066848 -/* 80066840 000637A0 EC 01 10 28 */ fsubs f0, f1, f2 -/* 80066844 000637A4 D0 1F 05 84 */ stfs f0, 0x584(r31) -lbl_80066848: -/* 80066848 000637A8 C0 1F 05 84 */ lfs f0, 0x584(r31) -/* 8006684C 000637AC FF 60 02 10 */ fabs f27, f0 -/* 80066850 000637B0 48 2E 37 5D */ bl White__6CColorFv -/* 80066854 000637B4 FC 00 D8 18 */ frsp f0, f27 -/* 80066858 000637B8 C0 22 87 74 */ lfs f1, lbl_805AA494@sda21(r2) -/* 8006685C 000637BC EF E1 00 32 */ fmuls f31, f1, f0 -/* 80066860 000637C0 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 -/* 80066864 000637C4 38 81 00 44 */ addi r4, r1, 0x44 -/* 80066868 000637C8 80 63 00 00 */ lwz r3, 0(r3) -/* 8006686C 000637CC 88 01 00 0A */ lbz r0, 0xa(r1) -/* 80066870 000637D0 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 80066874 000637D4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80066878 000637D8 80 7F 05 A0 */ lwz r3, 0x5a0(r31) -/* 8006687C 000637DC 48 26 3F F1 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80066880 000637E0 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 80066884 000637E4 3B 60 00 00 */ li r27, 0 -/* 80066888 000637E8 4B FA 40 79 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 8006688C 000637EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80066890 000637F0 40 82 00 60 */ bne lbl_800668F0 -/* 80066894 000637F4 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 80066898 000637F8 FC 1A 08 40 */ fcmpo cr0, f26, f1 -/* 8006689C 000637FC 40 80 00 54 */ bge lbl_800668F0 -/* 800668A0 00063800 C0 1F 05 84 */ lfs f0, 0x584(r31) -/* 800668A4 00063804 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800668A8 00063808 4C 41 13 82 */ cror 2, 1, 2 -/* 800668AC 0006380C 40 82 00 44 */ bne lbl_800668F0 -/* 800668B0 00063810 80 7F 05 98 */ lwz r3, 0x598(r31) -/* 800668B4 00063814 81 83 00 00 */ lwz r12, 0(r3) -/* 800668B8 00063818 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800668BC 0006381C 7D 89 03 A6 */ mtctr r12 -/* 800668C0 00063820 4E 80 04 21 */ bctrl -/* 800668C4 00063824 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800668C8 00063828 41 82 00 28 */ beq lbl_800668F0 -/* 800668CC 0006382C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 800668D0 00063830 C0 3F 05 58 */ lfs f1, 0x558(r31) -/* 800668D4 00063834 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800668D8 00063838 41 82 00 14 */ beq lbl_800668EC -/* 800668DC 0006383C C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 800668E0 00063840 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800668E4 00063844 4C 41 13 82 */ cror 2, 1, 2 -/* 800668E8 00063848 40 82 00 08 */ bne lbl_800668F0 -lbl_800668EC: -/* 800668EC 0006384C 3B 60 00 01 */ li r27, 1 -lbl_800668F0: -/* 800668F0 00063850 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 800668F4 00063854 41 82 00 28 */ beq lbl_8006691C -/* 800668F8 00063858 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800668FC 0006385C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80066900 00063860 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80066904 00063864 38 80 05 A2 */ li r4, 0x5a2 -/* 80066908 00063868 38 A0 00 7F */ li r5, 0x7f -/* 8006690C 0006386C 38 C0 00 40 */ li r6, 0x40 -/* 80066910 00063870 38 E0 00 00 */ li r7, 0 -/* 80066914 00063874 39 20 00 00 */ li r9, 0 -/* 80066918 00063878 48 28 34 5D */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8006691C: -/* 8006691C 0006387C 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 80066920 00063880 28 03 00 00 */ cmplwi r3, 0 -/* 80066924 00063884 40 82 00 0C */ bne lbl_80066930 -/* 80066928 00063888 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 8006692C 0006388C 48 00 00 14 */ b lbl_80066940 -lbl_80066930: -/* 80066930 00063890 81 83 00 00 */ lwz r12, 0(r3) -/* 80066934 00063894 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80066938 00063898 7D 89 03 A6 */ mtctr r12 -/* 8006693C 0006389C 4E 80 04 21 */ bctrl -lbl_80066940: -/* 80066940 000638A0 C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) -/* 80066944 000638A4 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80066948 000638A8 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 8006694C 000638AC D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 80066950 000638B0 C0 3F 05 58 */ lfs f1, 0x558(r31) -/* 80066954 000638B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066958 000638B8 40 81 00 28 */ ble lbl_80066980 -/* 8006695C 000638BC C0 0D 83 50 */ lfs f0, lbl_805A6F10@sda21(r13) -/* 80066960 000638C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066964 000638C4 40 80 00 0C */ bge lbl_80066970 -/* 80066968 000638C8 38 7F 05 58 */ addi r3, r31, 0x558 -/* 8006696C 000638CC 48 00 00 08 */ b lbl_80066974 -lbl_80066970: -/* 80066970 000638D0 38 6D 83 50 */ addi r3, r13, lbl_805A6F10@sda21 -lbl_80066974: -/* 80066974 000638D4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80066978 000638D8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8006697C 000638DC 48 00 00 44 */ b lbl_800669C0 -lbl_80066980: -/* 80066980 000638E0 80 7F 05 9C */ lwz r3, 0x59c(r31) -/* 80066984 000638E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80066988 000638E8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8006698C 000638EC 7D 89 03 A6 */ mtctr r12 -/* 80066990 000638F0 4E 80 04 21 */ bctrl -/* 80066994 000638F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80066998 000638F8 40 82 00 28 */ bne lbl_800669C0 -/* 8006699C 000638FC 80 7F 05 98 */ lwz r3, 0x598(r31) -/* 800669A0 00063900 81 83 00 00 */ lwz r12, 0(r3) -/* 800669A4 00063904 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800669A8 00063908 7D 89 03 A6 */ mtctr r12 -/* 800669AC 0006390C 4E 80 04 21 */ bctrl -/* 800669B0 00063910 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800669B4 00063914 40 82 00 0C */ bne lbl_800669C0 -/* 800669B8 00063918 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 800669BC 0006391C D0 01 00 4C */ stfs f0, 0x4c(r1) -lbl_800669C0: -/* 800669C0 00063920 80 7F 02 B4 */ lwz r3, 0x2b4(r31) -/* 800669C4 00063924 28 03 00 00 */ cmplwi r3, 0 -/* 800669C8 00063928 41 82 00 14 */ beq lbl_800669DC -/* 800669CC 0006392C C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 800669D0 00063930 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800669D4 00063934 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800669D8 00063938 48 12 8A A5 */ bl SetAlpha__23CHudBossEnergyInterfaceFf -lbl_800669DC: -/* 800669DC 0006393C 80 7F 05 50 */ lwz r3, 0x550(r31) -/* 800669E0 00063940 28 03 00 00 */ cmplwi r3, 0 -/* 800669E4 00063944 41 82 00 78 */ beq lbl_80066A5C -/* 800669E8 00063948 80 83 00 00 */ lwz r4, 0(r3) -/* 800669EC 0006394C 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800669F0 00063950 28 00 00 00 */ cmplwi r0, 0 -/* 800669F4 00063954 41 82 00 68 */ beq lbl_80066A5C -/* 800669F8 00063958 48 2D A4 15 */ bl GetObj__6CTokenFv -/* 800669FC 0006395C 80 63 00 04 */ lwz r3, 4(r3) -/* 80066A00 00063960 80 9F 05 54 */ lwz r4, 0x554(r31) -/* 80066A04 00063964 48 2E FC F9 */ bl GetString__12CStringTableCFi -/* 80066A08 00063968 7C 64 1B 78 */ mr r4, r3 -/* 80066A0C 0006396C 38 61 00 64 */ addi r3, r1, 0x64 -/* 80066A10 00063970 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80066A14 00063974 38 A0 FF FF */ li r5, -1 -/* 80066A18 00063978 48 2D 6D A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80066A1C 0006397C 7F E3 FB 78 */ mr r3, r31 -/* 80066A20 00063980 38 81 00 64 */ addi r4, r1, 0x64 -/* 80066A24 00063984 38 BF 05 48 */ addi r5, r31, 0x548 -/* 80066A28 00063988 4B FF DD D9 */ bl "SetMessage__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" -/* 80066A2C 0006398C 38 61 00 64 */ addi r3, r1, 0x64 -/* 80066A30 00063990 48 2D 67 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80066A34 00063994 83 7F 05 50 */ lwz r27, 0x550(r31) -/* 80066A38 00063998 28 1B 00 00 */ cmplwi r27, 0 -/* 80066A3C 0006399C 41 82 00 18 */ beq lbl_80066A54 -/* 80066A40 000639A0 7F 63 DB 78 */ mr r3, r27 -/* 80066A44 000639A4 38 80 00 00 */ li r4, 0 -/* 80066A48 000639A8 48 2D A3 F9 */ bl __dt__6CTokenFv -/* 80066A4C 000639AC 7F 63 DB 78 */ mr r3, r27 -/* 80066A50 000639B0 48 2A EE E1 */ bl Free__7CMemoryFPCv -lbl_80066A54: -/* 80066A54 000639B4 38 00 00 00 */ li r0, 0 -/* 80066A58 000639B8 90 1F 05 50 */ stw r0, 0x550(r31) -lbl_80066A5C: -/* 80066A5C 000639BC C0 3F 05 58 */ lfs f1, 0x558(r31) -/* 80066A60 000639C0 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80066A64 000639C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066A68 000639C8 40 81 00 60 */ ble lbl_80066AC8 -/* 80066A6C 000639CC EC 21 E0 28 */ fsubs f1, f1, f28 -/* 80066A70 000639D0 C0 0D 83 54 */ lfs f0, lbl_805A6F14@sda21(r13) -/* 80066A74 000639D4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80066A78 000639D8 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80066A7C 000639DC 40 80 00 0C */ bge lbl_80066A88 -/* 80066A80 000639E0 38 61 00 3C */ addi r3, r1, 0x3c -/* 80066A84 000639E4 48 00 00 08 */ b lbl_80066A8C -lbl_80066A88: -/* 80066A88 000639E8 38 6D 83 54 */ addi r3, r13, lbl_805A6F14@sda21 -lbl_80066A8C: -/* 80066A8C 000639EC C0 03 00 00 */ lfs f0, 0(r3) -/* 80066A90 000639F0 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 80066A94 000639F4 D0 1F 05 58 */ stfs f0, 0x558(r31) -/* 80066A98 000639F8 C0 1F 05 58 */ lfs f0, 0x558(r31) -/* 80066A9C 000639FC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80066AA0 00063A00 40 82 00 28 */ bne lbl_80066AC8 -/* 80066AA4 00063A04 80 7F 05 9C */ lwz r3, 0x59c(r31) -/* 80066AA8 00063A08 38 80 00 00 */ li r4, 0 -/* 80066AAC 00063A0C C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) -/* 80066AB0 00063A10 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80066AB4 00063A14 48 26 16 65 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff -/* 80066AB8 00063A18 80 7F 05 98 */ lwz r3, 0x598(r31) -/* 80066ABC 00063A1C 38 80 00 00 */ li r4, 0 -/* 80066AC0 00063A20 38 A0 00 01 */ li r5, 1 -/* 80066AC4 00063A24 48 26 3C 25 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -lbl_80066AC8: -/* 80066AC8 00063A28 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80066ACC 00063A2C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80066AD0 00063A30 C3 E2 87 28 */ lfs f31, lbl_805AA448@sda21(r2) -/* 80066AD4 00063A34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066AD8 00063A38 40 80 00 0C */ bge lbl_80066AE4 -/* 80066ADC 00063A3C 38 81 00 50 */ addi r4, r1, 0x50 -/* 80066AE0 00063A40 48 00 00 08 */ b lbl_80066AE8 -lbl_80066AE4: -/* 80066AE4 00063A44 38 81 00 4C */ addi r4, r1, 0x4c -lbl_80066AE8: -/* 80066AE8 00063A48 80 7F 05 98 */ lwz r3, 0x598(r31) -/* 80066AEC 00063A4C C3 44 00 00 */ lfs f26, 0(r4) -/* 80066AF0 00063A50 81 83 00 00 */ lwz r12, 0(r3) -/* 80066AF4 00063A54 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80066AF8 00063A58 7D 89 03 A6 */ mtctr r12 -/* 80066AFC 00063A5C 4E 80 04 21 */ bctrl -/* 80066B00 00063A60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80066B04 00063A64 41 82 00 0C */ beq lbl_80066B10 -/* 80066B08 00063A68 83 5F 05 98 */ lwz r26, 0x598(r31) -/* 80066B0C 00063A6C 48 00 00 08 */ b lbl_80066B14 -lbl_80066B10: -/* 80066B10 00063A70 83 5F 05 9C */ lwz r26, 0x59c(r31) -lbl_80066B14: -/* 80066B14 00063A74 48 2E 34 99 */ bl White__6CColorFv -/* 80066B18 00063A78 C0 02 87 74 */ lfs f0, lbl_805AA494@sda21(r2) -/* 80066B1C 00063A7C EF C0 06 B2 */ fmuls f30, f0, f26 -/* 80066B20 00063A80 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 -/* 80066B24 00063A84 38 81 00 38 */ addi r4, r1, 0x38 -/* 80066B28 00063A88 80 A3 00 00 */ lwz r5, 0(r3) -/* 80066B2C 00063A8C 7F 43 D3 78 */ mr r3, r26 -/* 80066B30 00063A90 88 01 00 09 */ lbz r0, 9(r1) -/* 80066B34 00063A94 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 80066B38 00063A98 90 01 00 38 */ stw r0, 0x38(r1) -/* 80066B3C 00063A9C 48 26 3D 31 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80066B40 00063AA0 80 1F 05 98 */ lwz r0, 0x598(r31) -/* 80066B44 00063AA4 7C 1A 00 40 */ cmplw r26, r0 -/* 80066B48 00063AA8 40 82 01 48 */ bne lbl_80066C90 -/* 80066B4C 00063AAC C0 3F 05 58 */ lfs f1, 0x558(r31) -/* 80066B50 00063AB0 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80066B54 00063AB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066B58 00063AB8 40 81 00 28 */ ble lbl_80066B80 -/* 80066B5C 00063ABC C0 0D 83 58 */ lfs f0, lbl_805A6F18@sda21(r13) -/* 80066B60 00063AC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066B64 00063AC4 40 80 00 0C */ bge lbl_80066B70 -/* 80066B68 00063AC8 38 7F 05 58 */ addi r3, r31, 0x558 -/* 80066B6C 00063ACC 48 00 00 08 */ b lbl_80066B74 -lbl_80066B70: -/* 80066B70 00063AD0 38 6D 83 58 */ addi r3, r13, lbl_805A6F18@sda21 -lbl_80066B74: -/* 80066B74 00063AD4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80066B78 00063AD8 D0 1F 05 60 */ stfs f0, 0x560(r31) -/* 80066B7C 00063ADC 48 00 00 30 */ b lbl_80066BAC -lbl_80066B80: -/* 80066B80 00063AE0 C0 3F 05 60 */ lfs f1, 0x560(r31) -/* 80066B84 00063AE4 C0 0D 83 5C */ lfs f0, lbl_805A6F1C@sda21(r13) -/* 80066B88 00063AE8 EC 21 E0 2A */ fadds f1, f1, f28 -/* 80066B8C 00063AEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066B90 00063AF0 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80066B94 00063AF4 40 80 00 0C */ bge lbl_80066BA0 -/* 80066B98 00063AF8 38 61 00 34 */ addi r3, r1, 0x34 -/* 80066B9C 00063AFC 48 00 00 08 */ b lbl_80066BA4 -lbl_80066BA0: -/* 80066BA0 00063B00 38 6D 83 5C */ addi r3, r13, lbl_805A6F1C@sda21 -lbl_80066BA4: -/* 80066BA4 00063B04 C0 03 00 00 */ lfs f0, 0(r3) -/* 80066BA8 00063B08 D0 1F 05 60 */ stfs f0, 0x560(r31) -lbl_80066BAC: -/* 80066BAC 00063B0C C0 5F 05 60 */ lfs f2, 0x560(r31) -/* 80066BB0 00063B10 C0 02 87 78 */ lfs f0, lbl_805AA498@sda21(r2) -/* 80066BB4 00063B14 C0 22 87 7C */ lfs f1, lbl_805AA49C@sda21(r2) -/* 80066BB8 00063B18 EC 42 00 28 */ fsubs f2, f2, f0 -/* 80066BBC 00063B1C C0 0D 83 60 */ lfs f0, lbl_805A6F20@sda21(r13) -/* 80066BC0 00063B20 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80066BC4 00063B24 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80066BC8 00063B28 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80066BCC 00063B2C 40 80 00 0C */ bge lbl_80066BD8 -/* 80066BD0 00063B30 38 61 00 30 */ addi r3, r1, 0x30 -/* 80066BD4 00063B34 48 00 00 08 */ b lbl_80066BDC -lbl_80066BD8: -/* 80066BD8 00063B38 38 6D 83 60 */ addi r3, r13, lbl_805A6F20@sda21 -lbl_80066BDC: -/* 80066BDC 00063B3C C0 43 00 00 */ lfs f2, 0(r3) -/* 80066BE0 00063B40 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) -/* 80066BE4 00063B44 FC 04 10 00 */ fcmpu cr0, f4, f2 -/* 80066BE8 00063B48 41 82 00 64 */ beq lbl_80066C4C -/* 80066BEC 00063B4C C0 22 87 80 */ lfs f1, lbl_805AA4A0@sda21(r2) -/* 80066BF0 00063B50 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80066BF4 00063B54 40 80 00 0C */ bge lbl_80066C00 -/* 80066BF8 00063B58 EF E2 08 24 */ fdivs f31, f2, f1 -/* 80066BFC 00063B5C 48 00 00 50 */ b lbl_80066C4C -lbl_80066C00: -/* 80066C00 00063B60 C0 02 87 84 */ lfs f0, lbl_805AA4A4@sda21(r2) -/* 80066C04 00063B64 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80066C08 00063B68 40 80 00 24 */ bge lbl_80066C2C -/* 80066C0C 00063B6C EC 42 08 28 */ fsubs f2, f2, f1 -/* 80066C10 00063B70 C0 22 87 90 */ lfs f1, lbl_805AA4B0@sda21(r2) -/* 80066C14 00063B74 C0 62 87 8C */ lfs f3, lbl_805AA4AC@sda21(r2) -/* 80066C18 00063B78 C0 02 87 88 */ lfs f0, lbl_805AA4A8@sda21(r2) -/* 80066C1C 00063B7C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80066C20 00063B80 EC 24 08 28 */ fsubs f1, f4, f1 -/* 80066C24 00063B84 EF E3 00 7A */ fmadds f31, f3, f1, f0 -/* 80066C28 00063B88 48 00 00 24 */ b lbl_80066C4C -lbl_80066C2C: -/* 80066C2C 00063B8C EC 42 08 28 */ fsubs f2, f2, f1 -/* 80066C30 00063B90 C0 02 87 90 */ lfs f0, lbl_805AA4B0@sda21(r2) -/* 80066C34 00063B94 C0 22 87 94 */ lfs f1, lbl_805AA4B4@sda21(r2) -/* 80066C38 00063B98 C0 62 87 8C */ lfs f3, lbl_805AA4AC@sda21(r2) -/* 80066C3C 00063B9C EC 42 00 28 */ fsubs f2, f2, f0 -/* 80066C40 00063BA0 C0 02 87 88 */ lfs f0, lbl_805AA4A8@sda21(r2) -/* 80066C44 00063BA4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80066C48 00063BA8 EF E3 00 7A */ fmadds f31, f3, f1, f0 -lbl_80066C4C: -/* 80066C4C 00063BAC C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) -/* 80066C50 00063BB0 FC 20 F8 90 */ fmr f1, f31 -/* 80066C54 00063BB4 80 9F 05 98 */ lwz r4, 0x598(r31) -/* 80066C58 00063BB8 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80066C5C 00063BBC FC 60 10 90 */ fmr f3, f2 -/* 80066C60 00063BC0 3B 44 00 74 */ addi r26, r4, 0x74 -/* 80066C64 00063BC4 48 2A C5 A5 */ bl Scale__12CTransform4fFfff -/* 80066C68 00063BC8 7F 44 D3 78 */ mr r4, r26 -/* 80066C6C 00063BCC 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 80066C70 00063BD0 38 A1 00 A8 */ addi r5, r1, 0xa8 -/* 80066C74 00063BD4 48 2A BC DD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80066C78 00063BD8 83 7F 05 98 */ lwz r27, 0x598(r31) -/* 80066C7C 00063BDC 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 80066C80 00063BE0 38 7B 00 04 */ addi r3, r27, 4 -/* 80066C84 00063BE4 48 2A BE BD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80066C88 00063BE8 7F 63 DB 78 */ mr r3, r27 -/* 80066C8C 00063BEC 48 25 DB 5D */ bl RecalculateTransforms__10CGuiObjectFv -lbl_80066C90: -/* 80066C90 00063BF0 80 7F 05 9C */ lwz r3, 0x59c(r31) -/* 80066C94 00063BF4 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80066C98 00063BF8 48 26 13 7D */ bl GetNumCharactersPrinted__15CGuiTextSupportCFv -/* 80066C9C 00063BFC 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80066CA0 00063C00 C0 1F 05 5C */ lfs f0, 0x55c(r31) -/* 80066CA4 00063C04 C0 43 02 78 */ lfs f2, 0x278(r3) -/* 80066CA8 00063C08 EC 00 10 2A */ fadds f0, f0, f2 -/* 80066CAC 00063C0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066CB0 00063C10 4C 41 13 82 */ cror 2, 1, 2 -/* 80066CB4 00063C14 40 82 00 54 */ bne lbl_80066D08 -/* 80066CB8 00063C18 D0 1F 05 5C */ stfs f0, 0x55c(r31) -/* 80066CBC 00063C1C 80 7F 05 98 */ lwz r3, 0x598(r31) -/* 80066CC0 00063C20 81 83 00 00 */ lwz r12, 0(r3) -/* 80066CC4 00063C24 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80066CC8 00063C28 7D 89 03 A6 */ mtctr r12 -/* 80066CCC 00063C2C 4E 80 04 21 */ bctrl -/* 80066CD0 00063C30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80066CD4 00063C34 41 82 00 10 */ beq lbl_80066CE4 -/* 80066CD8 00063C38 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 80066CDC 00063C3C FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 80066CE0 00063C40 40 82 00 28 */ bne lbl_80066D08 -lbl_80066CE4: -/* 80066CE4 00063C44 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80066CE8 00063C48 38 61 00 2C */ addi r3, r1, 0x2c -/* 80066CEC 00063C4C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80066CF0 00063C50 38 80 05 8A */ li r4, 0x58a -/* 80066CF4 00063C54 38 A0 00 7F */ li r5, 0x7f -/* 80066CF8 00063C58 38 C0 00 40 */ li r6, 0x40 -/* 80066CFC 00063C5C 38 E0 00 00 */ li r7, 0 -/* 80066D00 00063C60 39 20 00 00 */ li r9, 0 -/* 80066D04 00063C64 48 28 30 71 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_80066D08: -/* 80066D08 00063C68 7F C3 F3 78 */ mr r3, r30 -/* 80066D0C 00063C6C 4B FD E3 69 */ bl GetEscapeSequenceTimer__13CStateManagerCFv -/* 80066D10 00063C70 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80066D14 00063C74 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066D18 00063C78 40 81 01 58 */ ble lbl_80066E70 -/* 80066D1C 00063C7C C0 02 87 98 */ lfs f0, lbl_805AA4B8@sda21(r2) -/* 80066D20 00063C80 FC 40 08 1E */ fctiwz f2, f1 -/* 80066D24 00063C84 3C 80 88 89 */ lis r4, 0x88888889@ha -/* 80066D28 00063C88 3C 60 51 EC */ lis r3, 0x51EB851F@ha -/* 80066D2C 00063C8C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80066D30 00063C90 3C A0 80 3D */ lis r5, lbl_803CD0C0@ha -/* 80066D34 00063C94 D8 41 01 08 */ stfd f2, 0x108(r1) -/* 80066D38 00063C98 38 C5 D0 C0 */ addi r6, r5, lbl_803CD0C0@l -/* 80066D3C 00063C9C 38 A4 88 89 */ addi r5, r4, 0x88888889@l -/* 80066D40 00063CA0 FC 00 00 1E */ fctiwz f0, f0 -/* 80066D44 00063CA4 81 41 01 0C */ lwz r10, 0x10c(r1) -/* 80066D48 00063CA8 38 03 85 1F */ addi r0, r3, 0x51EB851F@l -/* 80066D4C 00063CAC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80066D50 00063CB0 38 86 01 2C */ addi r4, r6, 0x12c -/* 80066D54 00063CB4 D8 01 01 10 */ stfd f0, 0x110(r1) -/* 80066D58 00063CB8 7C A5 50 96 */ mulhw r5, r5, r10 -/* 80066D5C 00063CBC 80 E1 01 14 */ lwz r7, 0x114(r1) -/* 80066D60 00063CC0 7C C5 52 14 */ add r6, r5, r10 -/* 80066D64 00063CC4 7C C5 2E 70 */ srawi r5, r6, 5 -/* 80066D68 00063CC8 7C C6 2E 70 */ srawi r6, r6, 5 -/* 80066D6C 00063CCC 7C 00 38 96 */ mulhw r0, r0, r7 -/* 80066D70 00063CD0 54 A9 0F FE */ srwi r9, r5, 0x1f -/* 80066D74 00063CD4 54 C8 0F FE */ srwi r8, r6, 0x1f -/* 80066D78 00063CD8 7C A5 4A 14 */ add r5, r5, r9 -/* 80066D7C 00063CDC 7D 06 42 14 */ add r8, r6, r8 -/* 80066D80 00063CE0 7C 00 2E 70 */ srawi r0, r0, 5 -/* 80066D84 00063CE4 54 06 0F FE */ srwi r6, r0, 0x1f -/* 80066D88 00063CE8 7C 00 32 14 */ add r0, r0, r6 -/* 80066D8C 00063CEC 1C C8 00 3C */ mulli r6, r8, 0x3c -/* 80066D90 00063CF0 1C 00 00 64 */ mulli r0, r0, 0x64 -/* 80066D94 00063CF4 7C C6 50 50 */ subf r6, r6, r10 -/* 80066D98 00063CF8 7C E0 38 50 */ subf r7, r0, r7 -/* 80066D9C 00063CFC 4C C6 31 82 */ crclr 6 -/* 80066DA0 00063D00 48 32 6F 3D */ bl sprintf -/* 80066DA4 00063D04 38 61 00 54 */ addi r3, r1, 0x54 -/* 80066DA8 00063D08 38 81 00 8C */ addi r4, r1, 0x8c -/* 80066DAC 00063D0C 38 C1 00 0C */ addi r6, r1, 0xc -/* 80066DB0 00063D10 38 A0 FF FF */ li r5, -1 -/* 80066DB4 00063D14 48 2D 73 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80066DB8 00063D18 80 7F 05 94 */ lwz r3, 0x594(r31) -/* 80066DBC 00063D1C 38 81 00 54 */ addi r4, r1, 0x54 -/* 80066DC0 00063D20 38 A0 00 00 */ li r5, 0 -/* 80066DC4 00063D24 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80066DC8 00063D28 48 26 2D 41 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80066DCC 00063D2C 38 61 00 54 */ addi r3, r1, 0x54 -/* 80066DD0 00063D30 48 2D 6D 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80066DD4 00063D34 80 7F 05 94 */ lwz r3, 0x594(r31) -/* 80066DD8 00063D38 38 80 00 01 */ li r4, 1 -/* 80066DDC 00063D3C 48 26 38 51 */ bl SetIsVisible__10CGuiWidgetFb -/* 80066DE0 00063D40 C0 3F 05 58 */ lfs f1, 0x558(r31) -/* 80066DE4 00063D44 C0 0D 83 64 */ lfs f0, lbl_805A6F24@sda21(r13) -/* 80066DE8 00063D48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066DEC 00063D4C 40 80 00 0C */ bge lbl_80066DF8 -/* 80066DF0 00063D50 38 7F 05 58 */ addi r3, r31, 0x558 -/* 80066DF4 00063D54 48 00 00 08 */ b lbl_80066DFC -lbl_80066DF8: -/* 80066DF8 00063D58 38 6D 83 64 */ addi r3, r13, lbl_805A6F24@sda21 -lbl_80066DFC: -/* 80066DFC 00063D5C C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) -/* 80066E00 00063D60 C0 23 00 00 */ lfs f1, 0(r3) -/* 80066E04 00063D64 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80066E08 00063D68 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80066E0C 00063D6C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066E10 00063D70 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80066E14 00063D74 40 80 00 0C */ bge lbl_80066E20 -/* 80066E18 00063D78 38 61 00 28 */ addi r3, r1, 0x28 -/* 80066E1C 00063D7C 48 00 00 08 */ b lbl_80066E24 -lbl_80066E20: -/* 80066E20 00063D80 38 61 00 50 */ addi r3, r1, 0x50 -lbl_80066E24: -/* 80066E24 00063D84 C0 03 00 00 */ lfs f0, 0(r3) -/* 80066E28 00063D88 38 81 00 48 */ addi r4, r1, 0x48 -/* 80066E2C 00063D8C 38 6D 83 68 */ addi r3, r13, lbl_805A6F28@sda21 -/* 80066E30 00063D90 38 AD 83 6C */ addi r5, r13, lbl_805A6F2C@sda21 -/* 80066E34 00063D94 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80066E38 00063D98 4B FA 54 7D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80066E3C 00063D9C C3 C3 00 00 */ lfs f30, 0(r3) -/* 80066E40 00063DA0 48 2E 31 6D */ bl White__6CColorFv -/* 80066E44 00063DA4 C0 02 87 74 */ lfs f0, lbl_805AA494@sda21(r2) -/* 80066E48 00063DA8 EF A0 07 B2 */ fmuls f29, f0, f30 -/* 80066E4C 00063DAC F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 -/* 80066E50 00063DB0 38 81 00 24 */ addi r4, r1, 0x24 -/* 80066E54 00063DB4 80 63 00 00 */ lwz r3, 0(r3) -/* 80066E58 00063DB8 88 01 00 08 */ lbz r0, 8(r1) -/* 80066E5C 00063DBC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 80066E60 00063DC0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80066E64 00063DC4 80 7F 05 94 */ lwz r3, 0x594(r31) -/* 80066E68 00063DC8 48 26 3A 05 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80066E6C 00063DCC 48 00 00 10 */ b lbl_80066E7C -lbl_80066E70: -/* 80066E70 00063DD0 80 7F 05 94 */ lwz r3, 0x594(r31) -/* 80066E74 00063DD4 38 80 00 00 */ li r4, 0 -/* 80066E78 00063DD8 48 26 37 B5 */ bl SetIsVisible__10CGuiWidgetFb -lbl_80066E7C: -/* 80066E7C 00063DDC FC 20 E0 90 */ fmr f1, f28 -/* 80066E80 00063DE0 80 7F 02 74 */ lwz r3, 0x274(r31) -/* 80066E84 00063DE4 48 25 B8 81 */ bl Update__9CGuiFrameFf -/* 80066E88 00063DE8 80 7F 02 88 */ lwz r3, 0x288(r31) -/* 80066E8C 00063DEC 28 03 00 00 */ cmplwi r3, 0 -/* 80066E90 00063DF0 41 82 00 0C */ beq lbl_80066E9C -/* 80066E94 00063DF4 FC 20 E0 90 */ fmr f1, f28 -/* 80066E98 00063DF8 48 25 B8 6D */ bl Update__9CGuiFrameFf -lbl_80066E9C: -/* 80066E9C 00063DFC 80 7F 02 B4 */ lwz r3, 0x2b4(r31) -/* 80066EA0 00063E00 28 03 00 00 */ cmplwi r3, 0 -/* 80066EA4 00063E04 41 82 00 0C */ beq lbl_80066EB0 -/* 80066EA8 00063E08 FC 20 E0 90 */ fmr f1, f28 -/* 80066EAC 00063E0C 48 12 84 B9 */ bl Update__23CHudBossEnergyInterfaceFf -lbl_80066EB0: -/* 80066EB0 00063E10 80 7F 02 8C */ lwz r3, 0x28c(r31) -/* 80066EB4 00063E14 28 03 00 00 */ cmplwi r3, 0 -/* 80066EB8 00063E18 41 82 00 10 */ beq lbl_80066EC8 -/* 80066EBC 00063E1C FC 20 E0 90 */ fmr f1, f28 -/* 80066EC0 00063E20 C0 5F 05 80 */ lfs f2, 0x580(r31) -/* 80066EC4 00063E24 48 12 87 5D */ bl Update__19CHudEnergyInterfaceFff -lbl_80066EC8: -/* 80066EC8 00063E28 80 7F 02 90 */ lwz r3, 0x290(r31) -/* 80066ECC 00063E2C 28 03 00 00 */ cmplwi r3, 0 -/* 80066ED0 00063E30 41 82 00 18 */ beq lbl_80066EE8 -/* 80066ED4 00063E34 81 83 00 00 */ lwz r12, 0(r3) -/* 80066ED8 00063E38 FC 20 E0 90 */ fmr f1, f28 -/* 80066EDC 00063E3C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80066EE0 00063E40 7D 89 03 A6 */ mtctr r12 -/* 80066EE4 00063E44 4E 80 04 21 */ bctrl -lbl_80066EE8: -/* 80066EE8 00063E48 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 80066EEC 00063E4C 28 03 00 00 */ cmplwi r3, 0 -/* 80066EF0 00063E50 41 82 00 10 */ beq lbl_80066F00 -/* 80066EF4 00063E54 FC 20 E0 90 */ fmr f1, f28 -/* 80066EF8 00063E58 7F C4 F3 78 */ mr r4, r30 -/* 80066EFC 00063E5C 48 12 A0 DD */ bl Update__20CHudMissileInterfaceFfRC13CStateManager -lbl_80066F00: -/* 80066F00 00063E60 80 7F 02 98 */ lwz r3, 0x298(r31) -/* 80066F04 00063E64 28 03 00 00 */ cmplwi r3, 0 -/* 80066F08 00063E68 41 82 00 18 */ beq lbl_80066F20 -/* 80066F0C 00063E6C 81 83 00 00 */ lwz r12, 0(r3) -/* 80066F10 00063E70 FC 20 E0 90 */ fmr f1, f28 -/* 80066F14 00063E74 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80066F18 00063E78 7D 89 03 A6 */ mtctr r12 -/* 80066F1C 00063E7C 4E 80 04 21 */ bctrl -lbl_80066F20: -/* 80066F20 00063E80 80 7F 02 A0 */ lwz r3, 0x2a0(r31) -/* 80066F24 00063E84 28 03 00 00 */ cmplwi r3, 0 -/* 80066F28 00063E88 41 82 00 0C */ beq lbl_80066F34 -/* 80066F2C 00063E8C FC 20 E0 90 */ fmr f1, f28 -/* 80066F30 00063E90 48 12 9B 95 */ bl Update__19CHudHelmetInterfaceFf -lbl_80066F34: -/* 80066F34 00063E94 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80066F38 00063E98 80 9E 08 B8 */ lwz r4, 0x8b8(r30) -/* 80066F3C 00063E9C 80 03 03 A8 */ lwz r0, 0x3a8(r3) -/* 80066F40 00063EA0 80 64 00 00 */ lwz r3, 0(r4) -/* 80066F44 00063EA4 2C 00 00 00 */ cmpwi r0, 0 -/* 80066F48 00063EA8 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80066F4C 00063EAC 80 A3 00 18 */ lwz r5, 0x18(r3) -/* 80066F50 00063EB0 40 82 00 38 */ bne lbl_80066F88 -/* 80066F54 00063EB4 C0 42 87 70 */ lfs f2, lbl_805AA490@sda21(r2) -/* 80066F58 00063EB8 C0 3F 02 F0 */ lfs f1, 0x2f0(r31) -/* 80066F5C 00063EBC C0 0D 83 70 */ lfs f0, lbl_805A6F30@sda21(r13) -/* 80066F60 00063EC0 EC 22 0F 3A */ fmadds f1, f2, f28, f1 -/* 80066F64 00063EC4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80066F68 00063EC8 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80066F6C 00063ECC 40 80 00 0C */ bge lbl_80066F78 -/* 80066F70 00063ED0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80066F74 00063ED4 48 00 00 08 */ b lbl_80066F7C -lbl_80066F78: -/* 80066F78 00063ED8 38 8D 83 70 */ addi r4, r13, lbl_805A6F30@sda21 -lbl_80066F7C: -/* 80066F7C 00063EDC C0 04 00 00 */ lfs f0, 0(r4) -/* 80066F80 00063EE0 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) -/* 80066F84 00063EE4 48 00 00 34 */ b lbl_80066FB8 -lbl_80066F88: -/* 80066F88 00063EE8 C0 42 87 70 */ lfs f2, lbl_805AA490@sda21(r2) -/* 80066F8C 00063EEC C0 3F 02 F0 */ lfs f1, 0x2f0(r31) -/* 80066F90 00063EF0 C0 0D 83 74 */ lfs f0, lbl_805A6F34@sda21(r13) -/* 80066F94 00063EF4 EC 22 0F 3C */ fnmsubs f1, f2, f28, f1 -/* 80066F98 00063EF8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80066F9C 00063EFC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80066FA0 00063F00 40 80 00 0C */ bge lbl_80066FAC -/* 80066FA4 00063F04 38 81 00 1C */ addi r4, r1, 0x1c -/* 80066FA8 00063F08 48 00 00 08 */ b lbl_80066FB0 -lbl_80066FAC: -/* 80066FAC 00063F0C 38 8D 83 74 */ addi r4, r13, lbl_805A6F34@sda21 -lbl_80066FB0: -/* 80066FB0 00063F10 C0 04 00 00 */ lfs f0, 0(r4) -/* 80066FB4 00063F14 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) -lbl_80066FB8: -/* 80066FB8 00063F18 2C 00 00 02 */ cmpwi r0, 2 -/* 80066FBC 00063F1C C3 42 87 34 */ lfs f26, lbl_805AA454@sda21(r2) -/* 80066FC0 00063F20 41 82 00 1C */ beq lbl_80066FDC -/* 80066FC4 00063F24 2C 05 00 02 */ cmpwi r5, 2 -/* 80066FC8 00063F28 40 82 00 10 */ bne lbl_80066FD8 -/* 80066FCC 00063F2C 48 02 A8 99 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 80066FD0 00063F30 FF 40 08 90 */ fmr f26, f1 -/* 80066FD4 00063F34 48 00 00 08 */ b lbl_80066FDC -lbl_80066FD8: -/* 80066FD8 00063F38 C3 42 87 28 */ lfs f26, lbl_805AA448@sda21(r2) -lbl_80066FDC: -/* 80066FDC 00063F3C 80 7F 02 A4 */ lwz r3, 0x2a4(r31) -/* 80066FE0 00063F40 28 03 00 00 */ cmplwi r3, 0 -/* 80066FE4 00063F44 41 82 00 34 */ beq lbl_80067018 -/* 80066FE8 00063F48 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80066FEC 00063F4C 88 04 01 E4 */ lbz r0, 0x1e4(r4) -/* 80066FF0 00063F50 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80066FF4 00063F54 41 82 00 0C */ beq lbl_80067000 -/* 80066FF8 00063F58 FC 20 D0 90 */ fmr f1, f26 -/* 80066FFC 00063F5C 48 00 00 08 */ b lbl_80067004 -lbl_80067000: -/* 80067000 00063F60 C0 3F 02 F0 */ lfs f1, 0x2f0(r31) -lbl_80067004: -/* 80067004 00063F64 48 12 D2 D5 */ bl UpdateHudAlpha__17CHudVisorBeamMenuFf -/* 80067008 00063F68 FC 20 E0 90 */ fmr f1, f28 -/* 8006700C 00063F6C 80 7F 02 A4 */ lwz r3, 0x2a4(r31) -/* 80067010 00063F70 38 80 00 00 */ li r4, 0 -/* 80067014 00063F74 48 12 CA 4D */ bl Update__17CHudVisorBeamMenuFfb -lbl_80067018: -/* 80067018 00063F78 80 7F 02 A8 */ lwz r3, 0x2a8(r31) -/* 8006701C 00063F7C 28 03 00 00 */ cmplwi r3, 0 -/* 80067020 00063F80 41 82 00 34 */ beq lbl_80067054 -/* 80067024 00063F84 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80067028 00063F88 88 04 01 E4 */ lbz r0, 0x1e4(r4) -/* 8006702C 00063F8C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80067030 00063F90 41 82 00 0C */ beq lbl_8006703C -/* 80067034 00063F94 C0 3F 02 F0 */ lfs f1, 0x2f0(r31) -/* 80067038 00063F98 48 00 00 08 */ b lbl_80067040 -lbl_8006703C: -/* 8006703C 00063F9C FC 20 D0 90 */ fmr f1, f26 -lbl_80067040: -/* 80067040 00063FA0 48 12 D2 99 */ bl UpdateHudAlpha__17CHudVisorBeamMenuFf -/* 80067044 00063FA4 FC 20 E0 90 */ fmr f1, f28 -/* 80067048 00063FA8 80 7F 02 A8 */ lwz r3, 0x2a8(r31) -/* 8006704C 00063FAC 38 80 00 00 */ li r4, 0 -/* 80067050 00063FB0 48 12 CA 11 */ bl Update__17CHudVisorBeamMenuFfb -lbl_80067054: -/* 80067054 00063FB4 7F E3 FB 78 */ mr r3, r31 -/* 80067058 00063FB8 4B FF D9 F9 */ bl UpdateCameraDebugSettings__9CSamusHudFv -/* 8006705C 00063FBC 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 80067060 00063FC0 28 03 00 00 */ cmplwi r3, 0 -/* 80067064 00063FC4 41 82 00 1C */ beq lbl_80067080 -/* 80067068 00063FC8 81 83 00 00 */ lwz r12, 0(r3) -/* 8006706C 00063FCC FC 20 E0 90 */ fmr f1, f28 -/* 80067070 00063FD0 7F C4 F3 78 */ mr r4, r30 -/* 80067074 00063FD4 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80067078 00063FD8 7D 89 03 A6 */ mtctr r12 -/* 8006707C 00063FDC 4E 80 04 21 */ bctrl -lbl_80067080: -/* 80067080 00063FE0 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 -/* 80067084 00063FE4 CB E1 01 90 */ lfd f31, 0x190(r1) -/* 80067088 00063FE8 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 -/* 8006708C 00063FEC CB C1 01 80 */ lfd f30, 0x180(r1) -/* 80067090 00063FF0 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 -/* 80067094 00063FF4 CB A1 01 70 */ lfd f29, 0x170(r1) -/* 80067098 00063FF8 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 -/* 8006709C 00063FFC CB 81 01 60 */ lfd f28, 0x160(r1) -/* 800670A0 00064000 E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 -/* 800670A4 00064004 CB 61 01 50 */ lfd f27, 0x150(r1) -/* 800670A8 00064008 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 -/* 800670AC 0006400C CB 41 01 40 */ lfd f26, 0x140(r1) -/* 800670B0 00064010 BB 21 01 24 */ lmw r25, 0x124(r1) -/* 800670B4 00064014 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 800670B8 00064018 7C 08 03 A6 */ mtlr r0 -/* 800670BC 0006401C 38 21 01 A0 */ addi r1, r1, 0x1a0 -/* 800670C0 00064020 4E 80 00 20 */ blr - -.global GetMessageTextAlpha__17IHudDecoInterfaceCFv -GetMessageTextAlpha__17IHudDecoInterfaceCFv: -/* 800670C4 00064024 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 800670C8 00064028 4E 80 00 20 */ blr - -.global UpdateStateTransition__9CSamusHudFfRC13CStateManager -UpdateStateTransition__9CSamusHudFfRC13CStateManager: -/* 800670CC 0006402C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800670D0 00064030 7C 08 02 A6 */ mflr r0 -/* 800670D4 00064034 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800670D8 00064038 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 800670DC 0006403C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 800670E0 00064040 93 E1 00 AC */ stw r31, 0xac(r1) -/* 800670E4 00064044 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 800670E8 00064048 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 800670EC 0006404C 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 800670F0 00064050 7C 7D 1B 78 */ mr r29, r3 -/* 800670F4 00064054 3C A0 80 3D */ lis r5, lbl_803CCFB8@ha -/* 800670F8 00064058 80 03 02 CC */ lwz r0, 0x2cc(r3) -/* 800670FC 0006405C FF E0 08 90 */ fmr f31, f1 -/* 80067100 00064060 7C 9E 23 78 */ mr r30, r4 -/* 80067104 00064064 3B E5 CF B8 */ addi r31, r5, lbl_803CCFB8@l -/* 80067108 00064068 2C 00 00 00 */ cmpwi r0, 0 -/* 8006710C 0006406C 40 82 00 54 */ bne lbl_80067160 -/* 80067110 00064070 4B FF E7 91 */ bl GetDesiredHudState__9CSamusHudCFRC13CStateManager -/* 80067114 00064074 80 1D 02 C0 */ lwz r0, 0x2c0(r29) -/* 80067118 00064078 7C 03 00 00 */ cmpw r3, r0 -/* 8006711C 0006407C 41 82 00 44 */ beq lbl_80067160 -/* 80067120 00064080 2C 03 00 04 */ cmpwi r3, 4 -/* 80067124 00064084 90 7D 02 C0 */ stw r3, 0x2c0(r29) -/* 80067128 00064088 38 60 00 00 */ li r3, 0 -/* 8006712C 0006408C 41 82 00 10 */ beq lbl_8006713C -/* 80067130 00064090 80 1D 02 BC */ lwz r0, 0x2bc(r29) -/* 80067134 00064094 2C 00 00 04 */ cmpwi r0, 4 -/* 80067138 00064098 40 82 00 08 */ bne lbl_80067140 -lbl_8006713C: -/* 8006713C 0006409C 38 60 00 01 */ li r3, 1 -lbl_80067140: -/* 80067140 000640A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80067144 000640A4 41 82 00 0C */ beq lbl_80067150 -/* 80067148 000640A8 C0 02 87 9C */ lfs f0, lbl_805AA4BC@sda21(r2) -/* 8006714C 000640AC 48 00 00 08 */ b lbl_80067154 -lbl_80067150: -/* 80067150 000640B0 C0 1D 02 C8 */ lfs f0, 0x2c8(r29) -lbl_80067154: -/* 80067154 000640B4 D0 1D 02 C8 */ stfs f0, 0x2c8(r29) -/* 80067158 000640B8 38 00 00 01 */ li r0, 1 -/* 8006715C 000640BC 90 1D 02 C4 */ stw r0, 0x2c4(r29) -lbl_80067160: -/* 80067160 000640C0 80 1D 02 C4 */ lwz r0, 0x2c4(r29) -/* 80067164 000640C4 2C 00 00 02 */ cmpwi r0, 2 -/* 80067168 000640C8 41 82 05 7C */ beq lbl_800676E4 -/* 8006716C 000640CC 40 80 00 14 */ bge lbl_80067180 -/* 80067170 000640D0 2C 00 00 00 */ cmpwi r0, 0 -/* 80067174 000640D4 41 82 06 80 */ beq lbl_800677F4 -/* 80067178 000640D8 40 80 00 14 */ bge lbl_8006718C -/* 8006717C 000640DC 48 00 06 78 */ b lbl_800677F4 -lbl_80067180: -/* 80067180 000640E0 2C 00 00 04 */ cmpwi r0, 4 -/* 80067184 000640E4 40 80 06 70 */ bge lbl_800677F4 -/* 80067188 000640E8 48 00 06 24 */ b lbl_800677AC -lbl_8006718C: -/* 8006718C 000640EC 80 7D 02 CC */ lwz r3, 0x2cc(r29) -/* 80067190 000640F0 2C 03 00 00 */ cmpwi r3, 0 -/* 80067194 000640F4 40 82 00 58 */ bne lbl_800671EC -/* 80067198 000640F8 C0 42 87 A0 */ lfs f2, lbl_805AA4C0@sda21(r2) -/* 8006719C 000640FC C0 3D 02 C8 */ lfs f1, 0x2c8(r29) -/* 800671A0 00064100 C0 0D 83 48 */ lfs f0, lbl_805A6F08@sda21(r13) -/* 800671A4 00064104 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 -/* 800671A8 00064108 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800671AC 0006410C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800671B0 00064110 40 80 00 0C */ bge lbl_800671BC -/* 800671B4 00064114 38 6D 83 48 */ addi r3, r13, lbl_805A6F08@sda21 -/* 800671B8 00064118 48 00 00 08 */ b lbl_800671C0 -lbl_800671BC: -/* 800671BC 0006411C 38 61 00 0C */ addi r3, r1, 0xc -lbl_800671C0: -/* 800671C0 00064120 C0 03 00 00 */ lfs f0, 0(r3) -/* 800671C4 00064124 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 800671C8 00064128 D0 1D 02 C8 */ stfs f0, 0x2c8(r29) -/* 800671CC 0006412C C0 1D 02 C8 */ lfs f0, 0x2c8(r29) -/* 800671D0 00064130 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800671D4 00064134 40 82 05 04 */ bne lbl_800676D8 -/* 800671D8 00064138 38 60 00 02 */ li r3, 2 -/* 800671DC 0006413C 38 00 00 00 */ li r0, 0 -/* 800671E0 00064140 90 7D 02 CC */ stw r3, 0x2cc(r29) -/* 800671E4 00064144 90 1D 02 88 */ stw r0, 0x288(r29) -/* 800671E8 00064148 48 00 04 F0 */ b lbl_800676D8 -lbl_800671EC: -/* 800671EC 0006414C 38 03 FF FF */ addi r0, r3, -1 -/* 800671F0 00064150 90 1D 02 CC */ stw r0, 0x2cc(r29) -/* 800671F4 00064154 80 1D 02 CC */ lwz r0, 0x2cc(r29) -/* 800671F8 00064158 2C 00 00 00 */ cmpwi r0, 0 -/* 800671FC 0006415C 40 82 04 DC */ bne lbl_800676D8 -/* 80067200 00064160 7F A3 EB 78 */ mr r3, r29 -/* 80067204 00064164 48 00 4A A1 */ bl UninitializeFrameGlueMutable__9CSamusHudFv -/* 80067208 00064168 3B 9D 02 78 */ addi r28, r29, 0x278 -/* 8006720C 0006416C 38 81 00 84 */ addi r4, r1, 0x84 -/* 80067210 00064170 38 00 00 00 */ li r0, 0 -/* 80067214 00064174 7C 1C 20 40 */ cmplw r28, r4 -/* 80067218 00064178 98 01 00 90 */ stb r0, 0x90(r1) -/* 8006721C 0006417C 41 82 00 7C */ beq lbl_80067298 -/* 80067220 00064180 28 00 00 00 */ cmplwi r0, 0 -/* 80067224 00064184 41 82 00 48 */ beq lbl_8006726C -/* 80067228 00064188 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 8006722C 0006418C 28 00 00 00 */ cmplwi r0, 0 -/* 80067230 00064190 40 82 00 28 */ bne lbl_80067258 -/* 80067234 00064194 37 9D 02 78 */ addic. r28, r29, 0x278 -/* 80067238 00064198 41 82 00 14 */ beq lbl_8006724C -/* 8006723C 0006419C 7F 83 E3 78 */ mr r3, r28 -/* 80067240 000641A0 48 2D 9C 69 */ bl __ct__6CTokenFRC6CToken -/* 80067244 000641A4 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 80067248 000641A8 90 1C 00 08 */ stw r0, 8(r28) -lbl_8006724C: -/* 8006724C 000641AC 38 00 00 01 */ li r0, 1 -/* 80067250 000641B0 98 1D 02 84 */ stb r0, 0x284(r29) -/* 80067254 000641B4 48 00 00 44 */ b lbl_80067298 -lbl_80067258: -/* 80067258 000641B8 7F 83 E3 78 */ mr r3, r28 -/* 8006725C 000641BC 48 2D 9A 69 */ bl __as__6CTokenFRC6CToken -/* 80067260 000641C0 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 80067264 000641C4 90 1C 00 08 */ stw r0, 8(r28) -/* 80067268 000641C8 48 00 00 30 */ b lbl_80067298 -lbl_8006726C: -/* 8006726C 000641CC 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 80067270 000641D0 28 00 00 00 */ cmplwi r0, 0 -/* 80067274 000641D4 41 82 00 1C */ beq lbl_80067290 -/* 80067278 000641D8 34 7D 02 78 */ addic. r3, r29, 0x278 -/* 8006727C 000641DC 41 82 00 14 */ beq lbl_80067290 -/* 80067280 000641E0 28 03 00 00 */ cmplwi r3, 0 -/* 80067284 000641E4 41 82 00 0C */ beq lbl_80067290 -/* 80067288 000641E8 38 80 00 00 */ li r4, 0 -/* 8006728C 000641EC 48 2D 9B B5 */ bl __dt__6CTokenFv -lbl_80067290: -/* 80067290 000641F0 38 00 00 00 */ li r0, 0 -/* 80067294 000641F4 98 1D 02 84 */ stb r0, 0x284(r29) -lbl_80067298: -/* 80067298 000641F8 88 01 00 90 */ lbz r0, 0x90(r1) -/* 8006729C 000641FC 28 00 00 00 */ cmplwi r0, 0 -/* 800672A0 00064200 41 82 00 1C */ beq lbl_800672BC -/* 800672A4 00064204 34 61 00 84 */ addic. r3, r1, 0x84 -/* 800672A8 00064208 41 82 00 14 */ beq lbl_800672BC -/* 800672AC 0006420C 28 03 00 00 */ cmplwi r3, 0 -/* 800672B0 00064210 41 82 00 0C */ beq lbl_800672BC -/* 800672B4 00064214 38 80 00 00 */ li r4, 0 -/* 800672B8 00064218 48 2D 9B 89 */ bl __dt__6CTokenFv -lbl_800672BC: -/* 800672BC 0006421C 38 00 00 00 */ li r0, 0 -/* 800672C0 00064220 98 01 00 90 */ stb r0, 0x90(r1) -/* 800672C4 00064224 80 1D 02 C0 */ lwz r0, 0x2c0(r29) -/* 800672C8 00064228 2C 00 00 02 */ cmpwi r0, 2 -/* 800672CC 0006422C 41 82 00 28 */ beq lbl_800672F4 -/* 800672D0 00064230 40 80 00 14 */ bge lbl_800672E4 -/* 800672D4 00064234 2C 00 00 00 */ cmpwi r0, 0 -/* 800672D8 00064238 41 82 00 BC */ beq lbl_80067394 -/* 800672DC 0006423C 40 80 01 F8 */ bge lbl_800674D4 -/* 800672E0 00064240 48 00 03 34 */ b lbl_80067614 -lbl_800672E4: -/* 800672E4 00064244 2C 00 00 04 */ cmpwi r0, 4 -/* 800672E8 00064248 41 82 02 8C */ beq lbl_80067574 -/* 800672EC 0006424C 40 80 03 28 */ bge lbl_80067614 -/* 800672F0 00064250 48 00 01 44 */ b lbl_80067434 -lbl_800672F4: -/* 800672F4 00064254 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800672F8 00064258 38 61 00 30 */ addi r3, r1, 0x30 -/* 800672FC 0006425C 38 BF 00 4C */ addi r5, r31, 0x4c -/* 80067300 00064260 81 84 00 00 */ lwz r12, 0(r4) -/* 80067304 00064264 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80067308 00064268 7D 89 03 A6 */ mtctr r12 -/* 8006730C 0006426C 4E 80 04 21 */ bctrl -/* 80067310 00064270 38 61 00 78 */ addi r3, r1, 0x78 -/* 80067314 00064274 38 81 00 30 */ addi r4, r1, 0x30 -/* 80067318 00064278 48 2D 9B 91 */ bl __ct__6CTokenFRC6CToken -/* 8006731C 0006427C 38 00 00 00 */ li r0, 0 -/* 80067320 00064280 90 01 00 80 */ stw r0, 0x80(r1) -/* 80067324 00064284 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 80067328 00064288 28 00 00 00 */ cmplwi r0, 0 -/* 8006732C 0006428C 40 82 00 2C */ bne lbl_80067358 -/* 80067330 00064290 37 9D 02 78 */ addic. r28, r29, 0x278 -/* 80067334 00064294 41 82 00 18 */ beq lbl_8006734C -/* 80067338 00064298 7F 83 E3 78 */ mr r3, r28 -/* 8006733C 0006429C 38 81 00 78 */ addi r4, r1, 0x78 -/* 80067340 000642A0 48 2D 9B 69 */ bl __ct__6CTokenFRC6CToken -/* 80067344 000642A4 80 01 00 80 */ lwz r0, 0x80(r1) -/* 80067348 000642A8 90 1C 00 08 */ stw r0, 8(r28) -lbl_8006734C: -/* 8006734C 000642AC 38 00 00 01 */ li r0, 1 -/* 80067350 000642B0 98 1D 02 84 */ stb r0, 0x284(r29) -/* 80067354 000642B4 48 00 00 1C */ b lbl_80067370 -lbl_80067358: -/* 80067358 000642B8 3B 9D 02 78 */ addi r28, r29, 0x278 -/* 8006735C 000642BC 38 81 00 78 */ addi r4, r1, 0x78 -/* 80067360 000642C0 7F 83 E3 78 */ mr r3, r28 -/* 80067364 000642C4 48 2D 99 61 */ bl __as__6CTokenFRC6CToken -/* 80067368 000642C8 80 01 00 80 */ lwz r0, 0x80(r1) -/* 8006736C 000642CC 90 1C 00 08 */ stw r0, 8(r28) -lbl_80067370: -/* 80067370 000642D0 38 61 00 78 */ addi r3, r1, 0x78 -/* 80067374 000642D4 38 80 00 00 */ li r4, 0 -/* 80067378 000642D8 48 2D 9A C9 */ bl __dt__6CTokenFv -/* 8006737C 000642DC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80067380 000642E0 38 80 FF FF */ li r4, -1 -/* 80067384 000642E4 48 2D 9A BD */ bl __dt__6CTokenFv -/* 80067388 000642E8 38 7D 02 78 */ addi r3, r29, 0x278 -/* 8006738C 000642EC 48 2D 99 F9 */ bl Lock__6CTokenFv -/* 80067390 000642F0 48 00 03 40 */ b lbl_800676D0 -lbl_80067394: -/* 80067394 000642F4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80067398 000642F8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8006739C 000642FC 38 BF 00 1C */ addi r5, r31, 0x1c -/* 800673A0 00064300 81 84 00 00 */ lwz r12, 0(r4) -/* 800673A4 00064304 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800673A8 00064308 7D 89 03 A6 */ mtctr r12 -/* 800673AC 0006430C 4E 80 04 21 */ bctrl -/* 800673B0 00064310 38 61 00 6C */ addi r3, r1, 0x6c -/* 800673B4 00064314 38 81 00 28 */ addi r4, r1, 0x28 -/* 800673B8 00064318 48 2D 9A F1 */ bl __ct__6CTokenFRC6CToken -/* 800673BC 0006431C 38 00 00 00 */ li r0, 0 -/* 800673C0 00064320 90 01 00 74 */ stw r0, 0x74(r1) -/* 800673C4 00064324 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 800673C8 00064328 28 00 00 00 */ cmplwi r0, 0 -/* 800673CC 0006432C 40 82 00 2C */ bne lbl_800673F8 -/* 800673D0 00064330 37 9D 02 78 */ addic. r28, r29, 0x278 -/* 800673D4 00064334 41 82 00 18 */ beq lbl_800673EC -/* 800673D8 00064338 7F 83 E3 78 */ mr r3, r28 -/* 800673DC 0006433C 38 81 00 6C */ addi r4, r1, 0x6c -/* 800673E0 00064340 48 2D 9A C9 */ bl __ct__6CTokenFRC6CToken -/* 800673E4 00064344 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800673E8 00064348 90 1C 00 08 */ stw r0, 8(r28) -lbl_800673EC: -/* 800673EC 0006434C 38 00 00 01 */ li r0, 1 -/* 800673F0 00064350 98 1D 02 84 */ stb r0, 0x284(r29) -/* 800673F4 00064354 48 00 00 1C */ b lbl_80067410 -lbl_800673F8: -/* 800673F8 00064358 3B 9D 02 78 */ addi r28, r29, 0x278 -/* 800673FC 0006435C 38 81 00 6C */ addi r4, r1, 0x6c -/* 80067400 00064360 7F 83 E3 78 */ mr r3, r28 -/* 80067404 00064364 48 2D 98 C1 */ bl __as__6CTokenFRC6CToken -/* 80067408 00064368 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8006740C 0006436C 90 1C 00 08 */ stw r0, 8(r28) -lbl_80067410: -/* 80067410 00064370 38 61 00 6C */ addi r3, r1, 0x6c -/* 80067414 00064374 38 80 00 00 */ li r4, 0 -/* 80067418 00064378 48 2D 9A 29 */ bl __dt__6CTokenFv -/* 8006741C 0006437C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80067420 00064380 38 80 FF FF */ li r4, -1 -/* 80067424 00064384 48 2D 9A 1D */ bl __dt__6CTokenFv -/* 80067428 00064388 38 7D 02 78 */ addi r3, r29, 0x278 -/* 8006742C 0006438C 48 2D 99 59 */ bl Lock__6CTokenFv -/* 80067430 00064390 48 00 02 A0 */ b lbl_800676D0 -lbl_80067434: -/* 80067434 00064394 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80067438 00064398 38 61 00 20 */ addi r3, r1, 0x20 -/* 8006743C 0006439C 38 BF 00 3C */ addi r5, r31, 0x3c -/* 80067440 000643A0 81 84 00 00 */ lwz r12, 0(r4) -/* 80067444 000643A4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80067448 000643A8 7D 89 03 A6 */ mtctr r12 -/* 8006744C 000643AC 4E 80 04 21 */ bctrl -/* 80067450 000643B0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80067454 000643B4 38 81 00 20 */ addi r4, r1, 0x20 -/* 80067458 000643B8 48 2D 9A 51 */ bl __ct__6CTokenFRC6CToken -/* 8006745C 000643BC 38 00 00 00 */ li r0, 0 -/* 80067460 000643C0 90 01 00 68 */ stw r0, 0x68(r1) -/* 80067464 000643C4 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 80067468 000643C8 28 00 00 00 */ cmplwi r0, 0 -/* 8006746C 000643CC 40 82 00 2C */ bne lbl_80067498 -/* 80067470 000643D0 37 9D 02 78 */ addic. r28, r29, 0x278 -/* 80067474 000643D4 41 82 00 18 */ beq lbl_8006748C -/* 80067478 000643D8 7F 83 E3 78 */ mr r3, r28 -/* 8006747C 000643DC 38 81 00 60 */ addi r4, r1, 0x60 -/* 80067480 000643E0 48 2D 9A 29 */ bl __ct__6CTokenFRC6CToken -/* 80067484 000643E4 80 01 00 68 */ lwz r0, 0x68(r1) -/* 80067488 000643E8 90 1C 00 08 */ stw r0, 8(r28) -lbl_8006748C: -/* 8006748C 000643EC 38 00 00 01 */ li r0, 1 -/* 80067490 000643F0 98 1D 02 84 */ stb r0, 0x284(r29) -/* 80067494 000643F4 48 00 00 1C */ b lbl_800674B0 -lbl_80067498: -/* 80067498 000643F8 3B 9D 02 78 */ addi r28, r29, 0x278 -/* 8006749C 000643FC 38 81 00 60 */ addi r4, r1, 0x60 -/* 800674A0 00064400 7F 83 E3 78 */ mr r3, r28 -/* 800674A4 00064404 48 2D 98 21 */ bl __as__6CTokenFRC6CToken -/* 800674A8 00064408 80 01 00 68 */ lwz r0, 0x68(r1) -/* 800674AC 0006440C 90 1C 00 08 */ stw r0, 8(r28) -lbl_800674B0: -/* 800674B0 00064410 38 61 00 60 */ addi r3, r1, 0x60 -/* 800674B4 00064414 38 80 00 00 */ li r4, 0 -/* 800674B8 00064418 48 2D 99 89 */ bl __dt__6CTokenFv -/* 800674BC 0006441C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800674C0 00064420 38 80 FF FF */ li r4, -1 -/* 800674C4 00064424 48 2D 99 7D */ bl __dt__6CTokenFv -/* 800674C8 00064428 38 7D 02 78 */ addi r3, r29, 0x278 -/* 800674CC 0006442C 48 2D 98 B9 */ bl Lock__6CTokenFv -/* 800674D0 00064430 48 00 02 00 */ b lbl_800676D0 -lbl_800674D4: -/* 800674D4 00064434 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800674D8 00064438 38 61 00 18 */ addi r3, r1, 0x18 -/* 800674DC 0006443C 38 BF 00 2C */ addi r5, r31, 0x2c -/* 800674E0 00064440 81 84 00 00 */ lwz r12, 0(r4) -/* 800674E4 00064444 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800674E8 00064448 7D 89 03 A6 */ mtctr r12 -/* 800674EC 0006444C 4E 80 04 21 */ bctrl -/* 800674F0 00064450 38 61 00 54 */ addi r3, r1, 0x54 -/* 800674F4 00064454 38 81 00 18 */ addi r4, r1, 0x18 -/* 800674F8 00064458 48 2D 99 B1 */ bl __ct__6CTokenFRC6CToken -/* 800674FC 0006445C 38 00 00 00 */ li r0, 0 -/* 80067500 00064460 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80067504 00064464 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 80067508 00064468 28 00 00 00 */ cmplwi r0, 0 -/* 8006750C 0006446C 40 82 00 2C */ bne lbl_80067538 -/* 80067510 00064470 37 9D 02 78 */ addic. r28, r29, 0x278 -/* 80067514 00064474 41 82 00 18 */ beq lbl_8006752C -/* 80067518 00064478 7F 83 E3 78 */ mr r3, r28 -/* 8006751C 0006447C 38 81 00 54 */ addi r4, r1, 0x54 -/* 80067520 00064480 48 2D 99 89 */ bl __ct__6CTokenFRC6CToken -/* 80067524 00064484 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80067528 00064488 90 1C 00 08 */ stw r0, 8(r28) -lbl_8006752C: -/* 8006752C 0006448C 38 00 00 01 */ li r0, 1 -/* 80067530 00064490 98 1D 02 84 */ stb r0, 0x284(r29) -/* 80067534 00064494 48 00 00 1C */ b lbl_80067550 -lbl_80067538: -/* 80067538 00064498 3B 9D 02 78 */ addi r28, r29, 0x278 -/* 8006753C 0006449C 38 81 00 54 */ addi r4, r1, 0x54 -/* 80067540 000644A0 7F 83 E3 78 */ mr r3, r28 -/* 80067544 000644A4 48 2D 97 81 */ bl __as__6CTokenFRC6CToken -/* 80067548 000644A8 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8006754C 000644AC 90 1C 00 08 */ stw r0, 8(r28) -lbl_80067550: -/* 80067550 000644B0 38 61 00 54 */ addi r3, r1, 0x54 -/* 80067554 000644B4 38 80 00 00 */ li r4, 0 -/* 80067558 000644B8 48 2D 98 E9 */ bl __dt__6CTokenFv -/* 8006755C 000644BC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80067560 000644C0 38 80 FF FF */ li r4, -1 -/* 80067564 000644C4 48 2D 98 DD */ bl __dt__6CTokenFv -/* 80067568 000644C8 38 7D 02 78 */ addi r3, r29, 0x278 -/* 8006756C 000644CC 48 2D 98 19 */ bl Lock__6CTokenFv -/* 80067570 000644D0 48 00 01 60 */ b lbl_800676D0 -lbl_80067574: -/* 80067574 000644D4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80067578 000644D8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8006757C 000644DC 38 BF 00 5C */ addi r5, r31, 0x5c -/* 80067580 000644E0 81 84 00 00 */ lwz r12, 0(r4) -/* 80067584 000644E4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80067588 000644E8 7D 89 03 A6 */ mtctr r12 -/* 8006758C 000644EC 4E 80 04 21 */ bctrl -/* 80067590 000644F0 38 61 00 48 */ addi r3, r1, 0x48 -/* 80067594 000644F4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80067598 000644F8 48 2D 99 11 */ bl __ct__6CTokenFRC6CToken -/* 8006759C 000644FC 38 00 00 00 */ li r0, 0 -/* 800675A0 00064500 90 01 00 50 */ stw r0, 0x50(r1) -/* 800675A4 00064504 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 800675A8 00064508 28 00 00 00 */ cmplwi r0, 0 -/* 800675AC 0006450C 40 82 00 2C */ bne lbl_800675D8 -/* 800675B0 00064510 37 9D 02 78 */ addic. r28, r29, 0x278 -/* 800675B4 00064514 41 82 00 18 */ beq lbl_800675CC -/* 800675B8 00064518 7F 83 E3 78 */ mr r3, r28 -/* 800675BC 0006451C 38 81 00 48 */ addi r4, r1, 0x48 -/* 800675C0 00064520 48 2D 98 E9 */ bl __ct__6CTokenFRC6CToken -/* 800675C4 00064524 80 01 00 50 */ lwz r0, 0x50(r1) -/* 800675C8 00064528 90 1C 00 08 */ stw r0, 8(r28) -lbl_800675CC: -/* 800675CC 0006452C 38 00 00 01 */ li r0, 1 -/* 800675D0 00064530 98 1D 02 84 */ stb r0, 0x284(r29) -/* 800675D4 00064534 48 00 00 1C */ b lbl_800675F0 -lbl_800675D8: -/* 800675D8 00064538 3B 9D 02 78 */ addi r28, r29, 0x278 -/* 800675DC 0006453C 38 81 00 48 */ addi r4, r1, 0x48 -/* 800675E0 00064540 7F 83 E3 78 */ mr r3, r28 -/* 800675E4 00064544 48 2D 96 E1 */ bl __as__6CTokenFRC6CToken -/* 800675E8 00064548 80 01 00 50 */ lwz r0, 0x50(r1) -/* 800675EC 0006454C 90 1C 00 08 */ stw r0, 8(r28) -lbl_800675F0: -/* 800675F0 00064550 38 61 00 48 */ addi r3, r1, 0x48 -/* 800675F4 00064554 38 80 00 00 */ li r4, 0 -/* 800675F8 00064558 48 2D 98 49 */ bl __dt__6CTokenFv -/* 800675FC 0006455C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80067600 00064560 38 80 FF FF */ li r4, -1 -/* 80067604 00064564 48 2D 98 3D */ bl __dt__6CTokenFv -/* 80067608 00064568 38 7D 02 78 */ addi r3, r29, 0x278 -/* 8006760C 0006456C 48 2D 97 79 */ bl Lock__6CTokenFv -/* 80067610 00064570 48 00 00 C0 */ b lbl_800676D0 -lbl_80067614: -/* 80067614 00064574 3B FD 02 78 */ addi r31, r29, 0x278 -/* 80067618 00064578 38 81 00 38 */ addi r4, r1, 0x38 -/* 8006761C 0006457C 38 00 00 00 */ li r0, 0 -/* 80067620 00064580 7C 1F 20 40 */ cmplw r31, r4 -/* 80067624 00064584 98 01 00 44 */ stb r0, 0x44(r1) -/* 80067628 00064588 41 82 00 7C */ beq lbl_800676A4 -/* 8006762C 0006458C 28 00 00 00 */ cmplwi r0, 0 -/* 80067630 00064590 41 82 00 48 */ beq lbl_80067678 -/* 80067634 00064594 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 80067638 00064598 28 00 00 00 */ cmplwi r0, 0 -/* 8006763C 0006459C 40 82 00 28 */ bne lbl_80067664 -/* 80067640 000645A0 37 9D 02 78 */ addic. r28, r29, 0x278 -/* 80067644 000645A4 41 82 00 14 */ beq lbl_80067658 -/* 80067648 000645A8 7F 83 E3 78 */ mr r3, r28 -/* 8006764C 000645AC 48 2D 98 5D */ bl __ct__6CTokenFRC6CToken -/* 80067650 000645B0 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80067654 000645B4 90 1C 00 08 */ stw r0, 8(r28) -lbl_80067658: -/* 80067658 000645B8 38 00 00 01 */ li r0, 1 -/* 8006765C 000645BC 98 1D 02 84 */ stb r0, 0x284(r29) -/* 80067660 000645C0 48 00 00 44 */ b lbl_800676A4 -lbl_80067664: -/* 80067664 000645C4 7F E3 FB 78 */ mr r3, r31 -/* 80067668 000645C8 48 2D 96 5D */ bl __as__6CTokenFRC6CToken -/* 8006766C 000645CC 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80067670 000645D0 90 1F 00 08 */ stw r0, 8(r31) -/* 80067674 000645D4 48 00 00 30 */ b lbl_800676A4 -lbl_80067678: -/* 80067678 000645D8 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 8006767C 000645DC 28 00 00 00 */ cmplwi r0, 0 -/* 80067680 000645E0 41 82 00 1C */ beq lbl_8006769C -/* 80067684 000645E4 34 7D 02 78 */ addic. r3, r29, 0x278 -/* 80067688 000645E8 41 82 00 14 */ beq lbl_8006769C -/* 8006768C 000645EC 28 03 00 00 */ cmplwi r3, 0 -/* 80067690 000645F0 41 82 00 0C */ beq lbl_8006769C -/* 80067694 000645F4 38 80 00 00 */ li r4, 0 -/* 80067698 000645F8 48 2D 97 A9 */ bl __dt__6CTokenFv -lbl_8006769C: -/* 8006769C 000645FC 38 00 00 00 */ li r0, 0 -/* 800676A0 00064600 98 1D 02 84 */ stb r0, 0x284(r29) -lbl_800676A4: -/* 800676A4 00064604 88 01 00 44 */ lbz r0, 0x44(r1) -/* 800676A8 00064608 28 00 00 00 */ cmplwi r0, 0 -/* 800676AC 0006460C 41 82 00 1C */ beq lbl_800676C8 -/* 800676B0 00064610 34 61 00 38 */ addic. r3, r1, 0x38 -/* 800676B4 00064614 41 82 00 14 */ beq lbl_800676C8 -/* 800676B8 00064618 28 03 00 00 */ cmplwi r3, 0 -/* 800676BC 0006461C 41 82 00 0C */ beq lbl_800676C8 -/* 800676C0 00064620 38 80 00 00 */ li r4, 0 -/* 800676C4 00064624 48 2D 97 7D */ bl __dt__6CTokenFv -lbl_800676C8: -/* 800676C8 00064628 38 00 00 00 */ li r0, 0 -/* 800676CC 0006462C 98 01 00 44 */ stb r0, 0x44(r1) -lbl_800676D0: -/* 800676D0 00064630 38 00 00 02 */ li r0, 2 -/* 800676D4 00064634 90 1D 02 C4 */ stw r0, 0x2c4(r29) -lbl_800676D8: -/* 800676D8 00064638 80 1D 02 C4 */ lwz r0, 0x2c4(r29) -/* 800676DC 0006463C 2C 00 00 02 */ cmpwi r0, 2 -/* 800676E0 00064640 40 82 01 14 */ bne lbl_800677F4 -lbl_800676E4: -/* 800676E4 00064644 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 800676E8 00064648 28 00 00 00 */ cmplwi r0, 0 -/* 800676EC 0006464C 41 82 00 A4 */ beq lbl_80067790 -/* 800676F0 00064650 3B 9D 02 78 */ addi r28, r29, 0x278 -/* 800676F4 00064654 80 1D 02 80 */ lwz r0, 0x280(r29) -/* 800676F8 00064658 28 00 00 00 */ cmplwi r0, 0 -/* 800676FC 0006465C 41 82 00 0C */ beq lbl_80067708 -/* 80067700 00064660 38 60 00 01 */ li r3, 1 -/* 80067704 00064664 48 00 00 3C */ b lbl_80067740 -lbl_80067708: -/* 80067708 00064668 88 1C 00 04 */ lbz r0, 4(r28) -/* 8006770C 0006466C 28 00 00 00 */ cmplwi r0, 0 -/* 80067710 00064670 41 82 00 2C */ beq lbl_8006773C -/* 80067714 00064674 80 7C 00 00 */ lwz r3, 0(r28) -/* 80067718 00064678 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8006771C 0006467C 28 00 00 00 */ cmplwi r0, 0 -/* 80067720 00064680 41 82 00 1C */ beq lbl_8006773C -/* 80067724 00064684 7F 83 E3 78 */ mr r3, r28 -/* 80067728 00064688 48 2D 96 E5 */ bl GetObj__6CTokenFv -/* 8006772C 0006468C 80 03 00 04 */ lwz r0, 4(r3) -/* 80067730 00064690 38 60 00 01 */ li r3, 1 -/* 80067734 00064694 90 1C 00 08 */ stw r0, 8(r28) -/* 80067738 00064698 48 00 00 08 */ b lbl_80067740 -lbl_8006773C: -/* 8006773C 0006469C 38 60 00 00 */ li r3, 0 -lbl_80067740: -/* 80067740 000646A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80067744 000646A4 41 82 00 B0 */ beq lbl_800677F4 -/* 80067748 000646A8 80 7D 02 80 */ lwz r3, 0x280(r29) -/* 8006774C 000646AC 48 25 AE 05 */ bl GetIsFinishedLoading__9CGuiFrameCFv -/* 80067750 000646B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80067754 000646B4 41 82 00 A0 */ beq lbl_800677F4 -/* 80067758 000646B8 80 1D 02 80 */ lwz r0, 0x280(r29) -/* 8006775C 000646BC 7F A3 EB 78 */ mr r3, r29 -/* 80067760 000646C0 7F C4 F3 78 */ mr r4, r30 -/* 80067764 000646C4 90 1D 02 88 */ stw r0, 0x288(r29) -/* 80067768 000646C8 80 1D 02 BC */ lwz r0, 0x2bc(r29) -/* 8006776C 000646CC 90 1D 02 B8 */ stw r0, 0x2b8(r29) -/* 80067770 000646D0 80 1D 02 C0 */ lwz r0, 0x2c0(r29) -/* 80067774 000646D4 90 1D 02 BC */ stw r0, 0x2bc(r29) -/* 80067778 000646D8 48 00 46 CD */ bl InitializeFrameGlueMutable__9CSamusHudFRC13CStateManager -/* 8006777C 000646DC 38 00 00 03 */ li r0, 3 -/* 80067780 000646E0 7F A3 EB 78 */ mr r3, r29 -/* 80067784 000646E4 90 1D 02 C4 */ stw r0, 0x2c4(r29) -/* 80067788 000646E8 4B FF D2 C9 */ bl UpdateCameraDebugSettings__9CSamusHudFv -/* 8006778C 000646EC 48 00 00 68 */ b lbl_800677F4 -lbl_80067790: -/* 80067790 000646F0 80 7D 02 BC */ lwz r3, 0x2bc(r29) -/* 80067794 000646F4 38 00 00 00 */ li r0, 0 -/* 80067798 000646F8 90 7D 02 B8 */ stw r3, 0x2b8(r29) -/* 8006779C 000646FC 80 7D 02 C0 */ lwz r3, 0x2c0(r29) -/* 800677A0 00064700 90 7D 02 BC */ stw r3, 0x2bc(r29) -/* 800677A4 00064704 90 1D 02 C4 */ stw r0, 0x2c4(r29) -/* 800677A8 00064708 48 00 00 4C */ b lbl_800677F4 -lbl_800677AC: -/* 800677AC 0006470C C0 42 87 A0 */ lfs f2, lbl_805AA4C0@sda21(r2) -/* 800677B0 00064710 C0 3D 02 C8 */ lfs f1, 0x2c8(r29) -/* 800677B4 00064714 C0 0D 83 4C */ lfs f0, lbl_805A6F0C@sda21(r13) -/* 800677B8 00064718 EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 800677BC 0006471C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800677C0 00064720 D0 21 00 08 */ stfs f1, 8(r1) -/* 800677C4 00064724 40 80 00 0C */ bge lbl_800677D0 -/* 800677C8 00064728 38 6D 83 4C */ addi r3, r13, lbl_805A6F0C@sda21 -/* 800677CC 0006472C 48 00 00 08 */ b lbl_800677D4 -lbl_800677D0: -/* 800677D0 00064730 38 61 00 08 */ addi r3, r1, 8 -lbl_800677D4: -/* 800677D4 00064734 C0 03 00 00 */ lfs f0, 0(r3) -/* 800677D8 00064738 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 800677DC 0006473C D0 1D 02 C8 */ stfs f0, 0x2c8(r29) -/* 800677E0 00064740 C0 1D 02 C8 */ lfs f0, 0x2c8(r29) -/* 800677E4 00064744 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800677E8 00064748 40 82 00 0C */ bne lbl_800677F4 -/* 800677EC 0006474C 38 00 00 00 */ li r0, 0 -/* 800677F0 00064750 90 1D 02 C4 */ stw r0, 0x2c4(r29) -lbl_800677F4: -/* 800677F4 00064754 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 800677F8 00064758 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800677FC 0006475C CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 80067800 00064760 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80067804 00064764 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80067808 00064768 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 8006780C 0006476C 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 80067810 00064770 7C 08 03 A6 */ mtlr r0 -/* 80067814 00064774 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80067818 00064778 4E 80 00 20 */ blr - -.global UpdateHudDamage__9CSamusHudFfRC13CStateManagerUi -UpdateHudDamage__9CSamusHudFfRC13CStateManagerUi: -/* 8006781C 0006477C 94 21 FE 60 */ stwu r1, -0x1a0(r1) -/* 80067820 00064780 7C 08 02 A6 */ mflr r0 -/* 80067824 00064784 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 80067828 00064788 DB E1 01 90 */ stfd f31, 0x190(r1) -/* 8006782C 0006478C F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 -/* 80067830 00064790 DB C1 01 80 */ stfd f30, 0x180(r1) -/* 80067834 00064794 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 -/* 80067838 00064798 DB A1 01 70 */ stfd f29, 0x170(r1) -/* 8006783C 0006479C F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 -/* 80067840 000647A0 DB 81 01 60 */ stfd f28, 0x160(r1) -/* 80067844 000647A4 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 -/* 80067848 000647A8 DB 61 01 50 */ stfd f27, 0x150(r1) -/* 8006784C 000647AC F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 -/* 80067850 000647B0 BF 21 01 34 */ stmw r25, 0x134(r1) -/* 80067854 000647B4 FF 80 08 90 */ fmr f28, f1 -/* 80067858 000647B8 7C 9E 23 78 */ mr r30, r4 -/* 8006785C 000647BC 7C 7D 1B 78 */ mr r29, r3 -/* 80067860 000647C0 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 80067864 000647C4 4B FA AC D1 */ bl WasDamaged__7CPlayerCFv -/* 80067868 000647C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8006786C 000647CC 41 82 00 20 */ beq lbl_8006788C -/* 80067870 000647D0 80 1E 09 04 */ lwz r0, 0x904(r30) -/* 80067874 000647D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80067878 000647D8 40 82 00 14 */ bne lbl_8006788C -/* 8006787C 000647DC C0 1D 03 E8 */ lfs f0, 0x3e8(r29) -/* 80067880 000647E0 EC 00 E0 2A */ fadds f0, f0, f28 -/* 80067884 000647E4 D0 1D 03 E8 */ stfs f0, 0x3e8(r29) -/* 80067888 000647E8 48 00 00 0C */ b lbl_80067894 -lbl_8006788C: -/* 8006788C 000647EC C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80067890 000647F0 D0 1D 03 E8 */ stfs f0, 0x3e8(r29) -lbl_80067894: -/* 80067894 000647F4 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80067898 000647F8 C0 3D 03 E8 */ lfs f1, 0x3e8(r29) -/* 8006789C 000647FC C3 63 01 D0 */ lfs f27, 0x1d0(r3) -/* 800678A0 00064800 FC 40 D8 90 */ fmr f2, f27 -/* 800678A4 00064804 48 32 D4 09 */ bl fmod -/* 800678A8 00064808 FC 20 08 18 */ frsp f1, f1 -/* 800678AC 0006480C C0 02 87 3C */ lfs f0, lbl_805AA45C@sda21(r2) -/* 800678B0 00064810 EC 40 06 F2 */ fmuls f2, f0, f27 -/* 800678B4 00064814 FC 00 0A 10 */ fabs f0, f1 -/* 800678B8 00064818 FC 00 00 18 */ frsp f0, f0 -/* 800678BC 0006481C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 800678C0 00064820 40 80 00 0C */ bge lbl_800678CC -/* 800678C4 00064824 EC 00 10 24 */ fdivs f0, f0, f2 -/* 800678C8 00064828 48 00 00 0C */ b lbl_800678D4 -lbl_800678CC: -/* 800678CC 0006482C EC 1B 00 28 */ fsubs f0, f27, f0 -/* 800678D0 00064830 EC 00 10 24 */ fdivs f0, f0, f2 -lbl_800678D4: -/* 800678D4 00064834 D0 1D 03 EC */ stfs f0, 0x3ec(r29) -/* 800678D8 00064838 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 800678DC 0006483C 4B FA AC 51 */ bl GetDamageAmount__7CPlayerCFv -/* 800678E0 00064840 FC 40 08 18 */ frsp f2, f1 -/* 800678E4 00064844 C0 02 87 A4 */ lfs f0, lbl_805AA4C4@sda21(r2) -/* 800678E8 00064848 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800678EC 0006484C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800678F0 00064850 40 80 00 0C */ bge lbl_800678FC -/* 800678F4 00064854 38 61 00 3C */ addi r3, r1, 0x3c -/* 800678F8 00064858 48 00 00 08 */ b lbl_80067900 -lbl_800678FC: -/* 800678FC 0006485C 38 62 87 A4 */ addi r3, r2, lbl_805AA4C4@sda21 -lbl_80067900: -/* 80067900 00064860 C0 3D 03 EC */ lfs f1, 0x3ec(r29) -/* 80067904 00064864 38 81 00 40 */ addi r4, r1, 0x40 -/* 80067908 00064868 C0 03 00 00 */ lfs f0, 0(r3) -/* 8006790C 0006486C 38 6D 83 24 */ addi r3, r13, lbl_805A6EE4@sda21 -/* 80067910 00064870 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) -/* 80067914 00064874 38 AD 83 28 */ addi r5, r13, lbl_805A6EE8@sda21 -/* 80067918 00064878 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8006791C 0006487C C0 26 01 D4 */ lfs f1, 0x1d4(r6) -/* 80067920 00064880 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80067924 00064884 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80067928 00064888 4B FA 49 8D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8006792C 0006488C C0 03 00 00 */ lfs f0, 0(r3) -/* 80067930 00064890 D0 1D 03 EC */ stfs f0, 0x3ec(r29) -/* 80067934 00064894 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 80067938 00064898 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8006793C 0006489C 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80067940 000648A0 E0 21 A0 5C */ psq_l f1, 92(r1), 1, qr2 -/* 80067944 000648A4 E0 41 A0 5F */ psq_l f2, 95(r1), 1, qr2 -/* 80067948 000648A8 E0 61 A0 5D */ psq_l f3, 93(r1), 1, qr2 -/* 8006794C 000648AC E0 E1 A0 5F */ psq_l f7, 95(r1), 1, qr2 -/* 80067950 000648B0 E1 01 A0 5E */ psq_l f8, 94(r1), 1, qr2 -/* 80067954 000648B4 E1 21 A0 5F */ psq_l f9, 95(r1), 1, qr2 -/* 80067958 000648B8 38 61 00 58 */ addi r3, r1, 0x58 -/* 8006795C 000648BC C0 02 87 A8 */ lfs f0, lbl_805AA4C8@sda21(r2) -/* 80067960 000648C0 C1 5D 03 EC */ lfs f10, 0x3ec(r29) -/* 80067964 000648C4 EC C0 00 72 */ fmuls f6, f0, f1 -/* 80067968 000648C8 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) -/* 8006796C 000648CC EC 20 00 B2 */ fmuls f1, f0, f2 -/* 80067970 000648D0 EC A0 00 F2 */ fmuls f5, f0, f3 -/* 80067974 000648D4 EC 40 01 F2 */ fmuls f2, f0, f7 -/* 80067978 000648D8 EC 60 02 32 */ fmuls f3, f0, f8 -/* 8006797C 000648DC EC 00 02 72 */ fmuls f0, f0, f9 -/* 80067980 000648E0 EC 26 50 7A */ fmadds f1, f6, f1, f10 -/* 80067984 000648E4 EC 45 50 BA */ fmadds f2, f5, f2, f10 -/* 80067988 000648E8 EC 63 50 3A */ fmadds f3, f3, f0, f10 -/* 8006798C 000648EC 48 2F BA 61 */ bl __ct__6CColorFffff -/* 80067990 000648F0 80 7D 03 D4 */ lwz r3, 0x3d4(r29) -/* 80067994 000648F4 28 03 00 00 */ cmplwi r3, 0 -/* 80067998 000648F8 41 82 00 0C */ beq lbl_800679A4 -/* 8006799C 000648FC 80 01 00 58 */ lwz r0, 0x58(r1) -/* 800679A0 00064900 90 03 00 DC */ stw r0, 0xdc(r3) -lbl_800679A4: -/* 800679A4 00064904 C0 3D 03 F4 */ lfs f1, 0x3f4(r29) -/* 800679A8 00064908 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 800679AC 0006490C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800679B0 00064910 40 81 00 54 */ ble lbl_80067A04 -/* 800679B4 00064914 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 800679B8 00064918 C0 0D 83 2C */ lfs f0, lbl_805A6EEC@sda21(r13) -/* 800679BC 0006491C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800679C0 00064920 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800679C4 00064924 40 80 00 0C */ bge lbl_800679D0 -/* 800679C8 00064928 38 61 00 38 */ addi r3, r1, 0x38 -/* 800679CC 0006492C 48 00 00 08 */ b lbl_800679D4 -lbl_800679D0: -/* 800679D0 00064930 38 6D 83 2C */ addi r3, r13, lbl_805A6EEC@sda21 -lbl_800679D4: -/* 800679D4 00064934 C0 03 00 00 */ lfs f0, 0(r3) -/* 800679D8 00064938 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 800679DC 0006493C D0 1D 03 F4 */ stfs f0, 0x3f4(r29) -/* 800679E0 00064940 C0 1D 03 F4 */ lfs f0, 0x3f4(r29) -/* 800679E4 00064944 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800679E8 00064948 40 82 00 1C */ bne lbl_80067A04 -/* 800679EC 0006494C 80 1D 03 A4 */ lwz r0, 0x3a4(r29) -/* 800679F0 00064950 38 61 00 34 */ addi r3, r1, 0x34 -/* 800679F4 00064954 90 01 00 34 */ stw r0, 0x34(r1) -/* 800679F8 00064958 48 28 24 8D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 800679FC 0006495C 38 00 00 00 */ li r0, 0 -/* 80067A00 00064960 90 1D 03 A4 */ stw r0, 0x3a4(r29) -lbl_80067A04: -/* 80067A04 00064964 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80067A08 00064968 C0 5D 03 F0 */ lfs f2, 0x3f0(r29) -/* 80067A0C 0006496C C0 03 01 B4 */ lfs f0, 0x1b4(r3) -/* 80067A10 00064970 C0 3D 03 F4 */ lfs f1, 0x3f4(r29) -/* 80067A14 00064974 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80067A18 00064978 83 2D A1 3C */ lwz r25, gpTweakGuiColors@sda21(r13) -/* 80067A1C 0006497C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80067A20 00064980 40 81 00 14 */ ble lbl_80067A34 -/* 80067A24 00064984 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80067A28 00064988 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80067A2C 0006498C EC 01 00 24 */ fdivs f0, f1, f0 -/* 80067A30 00064990 48 00 00 08 */ b lbl_80067A38 -lbl_80067A34: -/* 80067A34 00064994 EC 01 00 24 */ fdivs f0, f1, f0 -lbl_80067A38: -/* 80067A38 00064998 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80067A3C 0006499C FC 20 00 18 */ frsp f1, f0 -/* 80067A40 000649A0 38 81 00 54 */ addi r4, r1, 0x54 -/* 80067A44 000649A4 38 6D 83 30 */ addi r3, r13, lbl_805A6EF0@sda21 -/* 80067A48 000649A8 C0 1D 03 F8 */ lfs f0, 0x3f8(r29) -/* 80067A4C 000649AC 38 AD 83 34 */ addi r5, r13, lbl_805A6EF4@sda21 -/* 80067A50 000649B0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80067A54 000649B4 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80067A58 000649B8 4B FA 48 5D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80067A5C 000649BC C0 23 00 00 */ lfs f1, 0(r3) -/* 80067A60 000649C0 3C A0 43 30 */ lis r5, 0x4330 -/* 80067A64 000649C4 90 A1 01 20 */ stw r5, 0x120(r1) -/* 80067A68 000649C8 C8 42 87 68 */ lfd f2, lbl_805AA488@sda21(r2) -/* 80067A6C 000649CC D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80067A70 000649D0 88 19 00 C7 */ lbz r0, 0xc7(r25) -/* 80067A74 000649D4 90 01 01 24 */ stw r0, 0x124(r1) -/* 80067A78 000649D8 C8 01 01 20 */ lfd f0, 0x120(r1) -/* 80067A7C 000649DC EC 00 10 28 */ fsubs f0, f0, f2 -/* 80067A80 000649E0 EF E1 00 32 */ fmuls f31, f1, f0 -/* 80067A84 000649E4 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 -/* 80067A88 000649E8 80 79 00 C4 */ lwz r3, 0xc4(r25) -/* 80067A8C 000649EC 88 01 00 0A */ lbz r0, 0xa(r1) -/* 80067A90 000649F0 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 80067A94 000649F4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80067A98 000649F8 90 01 00 50 */ stw r0, 0x50(r1) -/* 80067A9C 000649FC 88 04 00 E7 */ lbz r0, 0xe7(r4) -/* 80067AA0 00064A00 90 A1 01 28 */ stw r5, 0x128(r1) -/* 80067AA4 00064A04 C0 3D 03 EC */ lfs f1, 0x3ec(r29) -/* 80067AA8 00064A08 90 01 01 2C */ stw r0, 0x12c(r1) -/* 80067AAC 00064A0C C8 01 01 28 */ lfd f0, 0x128(r1) -/* 80067AB0 00064A10 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80067AB4 00064A14 EF C1 00 32 */ fmuls f30, f1, f0 -/* 80067AB8 00064A18 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 -/* 80067ABC 00064A1C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80067AC0 00064A20 80 C4 00 E4 */ lwz r6, 0xe4(r4) -/* 80067AC4 00064A24 38 81 00 50 */ addi r4, r1, 0x50 -/* 80067AC8 00064A28 88 01 00 09 */ lbz r0, 9(r1) -/* 80067ACC 00064A2C 38 A1 00 4C */ addi r5, r1, 0x4c -/* 80067AD0 00064A30 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 80067AD4 00064A34 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80067AD8 00064A38 48 2F B5 D9 */ bl Add__6CColorFRC6CColorRC6CColor -/* 80067ADC 00064A3C 80 81 00 30 */ lwz r4, 0x30(r1) -/* 80067AE0 00064A40 90 81 00 48 */ stw r4, 0x48(r1) -/* 80067AE4 00064A44 88 A1 00 4B */ lbz r5, 0x4b(r1) -/* 80067AE8 00064A48 28 05 00 00 */ cmplwi r5, 0 -/* 80067AEC 00064A4C 41 82 00 64 */ beq lbl_80067B50 -/* 80067AF0 00064A50 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80067AF4 00064A54 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 80067AF8 00064A58 2C 00 00 00 */ cmpwi r0, 0 -/* 80067AFC 00064A5C 41 82 00 34 */ beq lbl_80067B30 -/* 80067B00 00064A60 3C 00 43 30 */ lis r0, 0x4330 -/* 80067B04 00064A64 90 A1 01 2C */ stw r5, 0x12c(r1) -/* 80067B08 00064A68 C8 22 87 68 */ lfd f1, lbl_805AA488@sda21(r2) -/* 80067B0C 00064A6C 90 01 01 28 */ stw r0, 0x128(r1) -/* 80067B10 00064A70 C0 42 87 78 */ lfs f2, lbl_805AA498@sda21(r2) -/* 80067B14 00064A74 C8 01 01 28 */ lfd f0, 0x128(r1) -/* 80067B18 00064A78 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80067B1C 00064A7C EF A2 00 32 */ fmuls f29, f2, f0 -/* 80067B20 00064A80 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 -/* 80067B24 00064A84 88 01 00 08 */ lbz r0, 8(r1) -/* 80067B28 00064A88 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 -/* 80067B2C 00064A8C 90 01 00 48 */ stw r0, 0x48(r1) -lbl_80067B30: -/* 80067B30 00064A90 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 80067B34 00064A94 38 7D 03 A8 */ addi r3, r29, 0x3a8 -/* 80067B38 00064A98 38 C1 00 48 */ addi r6, r1, 0x48 -/* 80067B3C 00064A9C 38 80 00 03 */ li r4, 3 -/* 80067B40 00064AA0 38 A0 00 00 */ li r5, 0 -/* 80067B44 00064AA4 38 E0 FF FF */ li r7, -1 -/* 80067B48 00064AA8 48 08 58 59 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -/* 80067B4C 00064AAC 48 00 00 10 */ b lbl_80067B5C -lbl_80067B50: -/* 80067B50 00064AB0 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 80067B54 00064AB4 38 7D 03 A8 */ addi r3, r29, 0x3a8 -/* 80067B58 00064AB8 48 08 58 11 */ bl DisableFilter__17CCameraFilterPassFf -lbl_80067B5C: -/* 80067B5C 00064ABC 80 1D 03 A4 */ lwz r0, 0x3a4(r29) -/* 80067B60 00064AC0 28 00 00 00 */ cmplwi r0, 0 -/* 80067B64 00064AC4 41 82 00 54 */ beq lbl_80067BB8 -/* 80067B68 00064AC8 80 FE 08 4C */ lwz r7, 0x84c(r30) -/* 80067B6C 00064ACC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80067B70 00064AD0 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 80067B74 00064AD4 38 A1 00 9C */ addi r5, r1, 0x9c -/* 80067B78 00064AD8 C0 47 00 58 */ lfs f2, 0x58(r7) -/* 80067B7C 00064ADC 38 C0 00 7F */ li r6, 0x7f -/* 80067B80 00064AE0 C0 27 00 48 */ lfs f1, 0x48(r7) -/* 80067B84 00064AE4 C0 07 00 38 */ lfs f0, 0x38(r7) -/* 80067B88 00064AE8 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 80067B8C 00064AEC D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 80067B90 00064AF0 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 80067B94 00064AF4 C0 47 00 60 */ lfs f2, 0x60(r7) -/* 80067B98 00064AF8 C0 27 00 50 */ lfs f1, 0x50(r7) -/* 80067B9C 00064AFC C0 07 00 40 */ lfs f0, 0x40(r7) -/* 80067BA0 00064B00 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 80067BA4 00064B04 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 80067BA8 00064B08 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 80067BAC 00064B0C 80 1D 03 A4 */ lwz r0, 0x3a4(r29) -/* 80067BB0 00064B10 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80067BB4 00064B14 48 28 22 FD */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_80067BB8: -/* 80067BB8 00064B18 C0 3D 04 00 */ lfs f1, 0x400(r29) -/* 80067BBC 00064B1C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80067BC0 00064B20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80067BC4 00064B24 40 81 01 18 */ ble lbl_80067CDC -/* 80067BC8 00064B28 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 80067BCC 00064B2C C0 0D 83 38 */ lfs f0, lbl_805A6EF8@sda21(r13) -/* 80067BD0 00064B30 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80067BD4 00064B34 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80067BD8 00064B38 40 80 00 0C */ bge lbl_80067BE4 -/* 80067BDC 00064B3C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80067BE0 00064B40 48 00 00 08 */ b lbl_80067BE8 -lbl_80067BE4: -/* 80067BE4 00064B44 38 6D 83 38 */ addi r3, r13, lbl_805A6EF8@sda21 -lbl_80067BE8: -/* 80067BE8 00064B48 C0 03 00 00 */ lfs f0, 0(r3) -/* 80067BEC 00064B4C D0 1D 04 00 */ stfs f0, 0x400(r29) -/* 80067BF0 00064B50 C0 3D 04 00 */ lfs f1, 0x400(r29) -/* 80067BF4 00064B54 C0 1D 03 FC */ lfs f0, 0x3fc(r29) -/* 80067BF8 00064B58 80 7D 02 8C */ lwz r3, 0x28c(r29) -/* 80067BFC 00064B5C EF 61 00 24 */ fdivs f27, f1, f0 -/* 80067C00 00064B60 28 03 00 00 */ cmplwi r3, 0 -/* 80067C04 00064B64 41 82 00 0C */ beq lbl_80067C10 -/* 80067C08 00064B68 FC 20 D8 90 */ fmr f1, f27 -/* 80067C0C 00064B6C 48 12 7E 49 */ bl SetFlashMagnitude__19CHudEnergyInterfaceFf -lbl_80067C10: -/* 80067C10 00064B70 C0 3D 04 04 */ lfs f1, 0x404(r29) -/* 80067C14 00064B74 C0 0D 83 3C */ lfs f0, lbl_805A6EFC@sda21(r13) -/* 80067C18 00064B78 EC 3B 00 72 */ fmuls f1, f27, f1 -/* 80067C1C 00064B7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80067C20 00064B80 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80067C24 00064B84 40 80 00 0C */ bge lbl_80067C30 -/* 80067C28 00064B88 38 61 00 24 */ addi r3, r1, 0x24 -/* 80067C2C 00064B8C 48 00 00 08 */ b lbl_80067C34 -lbl_80067C30: -/* 80067C30 00064B90 38 6D 83 3C */ addi r3, r13, lbl_805A6EFC@sda21 -lbl_80067C34: -/* 80067C34 00064B94 C3 63 00 00 */ lfs f27, 0(r3) -/* 80067C38 00064B98 80 7D 02 A0 */ lwz r3, 0x2a0(r29) -/* 80067C3C 00064B9C FC 20 D8 90 */ fmr f1, f27 -/* 80067C40 00064BA0 48 12 8F 85 */ bl AddHelmetLightValue__19CHudHelmetInterfaceFf -/* 80067C44 00064BA4 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 80067C48 00064BA8 28 03 00 00 */ cmplwi r3, 0 -/* 80067C4C 00064BAC 41 82 00 90 */ beq lbl_80067CDC -/* 80067C50 00064BB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80067C54 00064BB4 FC 20 D8 90 */ fmr f1, f27 -/* 80067C58 00064BB8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80067C5C 00064BBC 7D 89 03 A6 */ mtctr r12 -/* 80067C60 00064BC0 4E 80 04 21 */ bctrl -/* 80067C64 00064BC4 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80067C68 00064BC8 FC 1B 00 40 */ fcmpo cr0, f27, f0 -/* 80067C6C 00064BCC 40 81 00 58 */ ble lbl_80067CC4 -/* 80067C70 00064BD0 FC 20 D8 90 */ fmr f1, f27 -/* 80067C74 00064BD4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80067C78 00064BD8 FC 40 D8 90 */ fmr f2, f27 -/* 80067C7C 00064BDC FC 60 D8 90 */ fmr f3, f27 -/* 80067C80 00064BE0 FC 80 D8 90 */ fmr f4, f27 -/* 80067C84 00064BE4 48 2F B7 69 */ bl __ct__6CColorFffff -/* 80067C88 00064BE8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80067C8C 00064BEC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80067C90 00064BF0 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80067C94 00064BF4 38 84 00 40 */ addi r4, r4, 0x40 -/* 80067C98 00064BF8 48 2F B4 E1 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80067C9C 00064BFC 80 7D 03 D4 */ lwz r3, 0x3d4(r29) -/* 80067CA0 00064C00 38 81 00 20 */ addi r4, r1, 0x20 -/* 80067CA4 00064C04 48 26 2B C9 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80067CA8 00064C08 80 7D 03 D4 */ lwz r3, 0x3d4(r29) -/* 80067CAC 00064C0C 38 80 00 01 */ li r4, 1 -/* 80067CB0 00064C10 81 83 00 00 */ lwz r12, 0(r3) -/* 80067CB4 00064C14 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80067CB8 00064C18 7D 89 03 A6 */ mtctr r12 -/* 80067CBC 00064C1C 4E 80 04 21 */ bctrl -/* 80067CC0 00064C20 48 00 00 1C */ b lbl_80067CDC -lbl_80067CC4: -/* 80067CC4 00064C24 80 7D 03 D4 */ lwz r3, 0x3d4(r29) -/* 80067CC8 00064C28 38 80 00 00 */ li r4, 0 -/* 80067CCC 00064C2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80067CD0 00064C30 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80067CD4 00064C34 7D 89 03 A6 */ mtctr r12 -/* 80067CD8 00064C38 4E 80 04 21 */ bctrl -lbl_80067CDC: -/* 80067CDC 00064C3C C0 3D 04 14 */ lfs f1, 0x414(r29) -/* 80067CE0 00064C40 38 00 00 00 */ li r0, 0 -/* 80067CE4 00064C44 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80067CE8 00064C48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80067CEC 00064C4C 40 81 00 58 */ ble lbl_80067D44 -/* 80067CF0 00064C50 C0 02 87 AC */ lfs f0, lbl_805AA4CC@sda21(r2) -/* 80067CF4 00064C54 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80067CF8 00064C58 EC 20 07 32 */ fmuls f1, f0, f28 -/* 80067CFC 00064C5C C0 5D 04 18 */ lfs f2, 0x418(r29) -/* 80067D00 00064C60 C0 03 00 90 */ lfs f0, 0x90(r3) -/* 80067D04 00064C64 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80067D08 00064C68 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80067D0C 00064C6C D0 1D 04 18 */ stfs f0, 0x418(r29) -/* 80067D10 00064C70 C0 5D 04 14 */ lfs f2, 0x414(r29) -/* 80067D14 00064C74 C0 3D 04 18 */ lfs f1, 0x418(r29) -/* 80067D18 00064C78 C0 0D 83 40 */ lfs f0, lbl_805A6F00@sda21(r13) -/* 80067D1C 00064C7C EC 22 08 2A */ fadds f1, f2, f1 -/* 80067D20 00064C80 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80067D24 00064C84 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80067D28 00064C88 40 80 00 0C */ bge lbl_80067D34 -/* 80067D2C 00064C8C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80067D30 00064C90 48 00 00 08 */ b lbl_80067D38 -lbl_80067D34: -/* 80067D34 00064C94 38 6D 83 40 */ addi r3, r13, lbl_805A6F00@sda21 -lbl_80067D38: -/* 80067D38 00064C98 C0 03 00 00 */ lfs f0, 0(r3) -/* 80067D3C 00064C9C 38 00 00 01 */ li r0, 1 -/* 80067D40 00064CA0 D0 1D 04 14 */ stfs f0, 0x414(r29) -lbl_80067D44: -/* 80067D44 00064CA4 C0 3D 04 60 */ lfs f1, 0x460(r29) -/* 80067D48 00064CA8 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80067D4C 00064CAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80067D50 00064CB0 40 81 02 74 */ ble lbl_80067FC4 -/* 80067D54 00064CB4 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 80067D58 00064CB8 C0 0D 83 44 */ lfs f0, lbl_805A6F04@sda21(r13) -/* 80067D5C 00064CBC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80067D60 00064CC0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80067D64 00064CC4 40 80 00 0C */ bge lbl_80067D70 -/* 80067D68 00064CC8 38 61 00 18 */ addi r3, r1, 0x18 -/* 80067D6C 00064CCC 48 00 00 08 */ b lbl_80067D74 -lbl_80067D70: -/* 80067D70 00064CD0 38 6D 83 44 */ addi r3, r13, lbl_805A6F04@sda21 -lbl_80067D74: -/* 80067D74 00064CD4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80067D78 00064CD8 D0 1D 04 60 */ stfs f0, 0x460(r29) -/* 80067D7C 00064CDC C0 3D 04 60 */ lfs f1, 0x460(r29) -/* 80067D80 00064CE0 C0 1D 04 5C */ lfs f0, 0x45c(r29) -/* 80067D84 00064CE4 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80067D88 00064CE8 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80067D8C 00064CEC C0 1D 04 64 */ lfs f0, 0x464(r29) -/* 80067D90 00064CF0 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80067D94 00064CF4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80067D98 00064CF8 C4 03 00 A4 */ lfsu f0, 0xa4(r3) -/* 80067D9C 00064CFC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80067DA0 00064D00 40 80 00 08 */ bge lbl_80067DA8 -/* 80067DA4 00064D04 48 00 00 08 */ b lbl_80067DAC -lbl_80067DA8: -/* 80067DA8 00064D08 38 61 00 14 */ addi r3, r1, 0x14 -lbl_80067DAC: -/* 80067DAC 00064D0C C3 A3 00 00 */ lfs f29, 0(r3) -/* 80067DB0 00064D10 48 32 80 CD */ bl rand -/* 80067DB4 00064D14 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80067DB8 00064D18 3C 00 43 30 */ lis r0, 0x4330 -/* 80067DBC 00064D1C 90 61 01 2C */ stw r3, 0x12c(r1) -/* 80067DC0 00064D20 38 61 00 8C */ addi r3, r1, 0x8c -/* 80067DC4 00064D24 C8 42 87 B8 */ lfd f2, lbl_805AA4D8@sda21(r2) -/* 80067DC8 00064D28 38 81 00 10 */ addi r4, r1, 0x10 -/* 80067DCC 00064D2C 90 01 01 28 */ stw r0, 0x128(r1) -/* 80067DD0 00064D30 C0 02 87 B4 */ lfs f0, lbl_805AA4D4@sda21(r2) -/* 80067DD4 00064D34 C8 21 01 28 */ lfd f1, 0x128(r1) -/* 80067DD8 00064D38 C0 62 87 B0 */ lfs f3, lbl_805AA4D0@sda21(r2) -/* 80067DDC 00064D3C EC 21 10 28 */ fsubs f1, f1, f2 -/* 80067DE0 00064D40 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80067DE4 00064D44 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80067DE8 00064D48 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80067DEC 00064D4C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80067DF0 00064D50 48 2A 93 79 */ bl XRotation__11CQuaternionFRC9CRelAngle -/* 80067DF4 00064D54 C0 61 00 8C */ lfs f3, 0x8c(r1) -/* 80067DF8 00064D58 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 80067DFC 00064D5C C0 21 00 94 */ lfs f1, 0x94(r1) -/* 80067E00 00064D60 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 80067E04 00064D64 D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 80067E08 00064D68 D0 41 00 C8 */ stfs f2, 0xc8(r1) -/* 80067E0C 00064D6C D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 80067E10 00064D70 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 80067E14 00064D74 48 32 80 69 */ bl rand -/* 80067E18 00064D78 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80067E1C 00064D7C 3C 00 43 30 */ lis r0, 0x4330 -/* 80067E20 00064D80 90 61 01 24 */ stw r3, 0x124(r1) -/* 80067E24 00064D84 38 61 00 7C */ addi r3, r1, 0x7c -/* 80067E28 00064D88 C8 42 87 B8 */ lfd f2, lbl_805AA4D8@sda21(r2) -/* 80067E2C 00064D8C 38 81 00 0C */ addi r4, r1, 0xc -/* 80067E30 00064D90 90 01 01 20 */ stw r0, 0x120(r1) -/* 80067E34 00064D94 C0 02 87 B4 */ lfs f0, lbl_805AA4D4@sda21(r2) -/* 80067E38 00064D98 C8 21 01 20 */ lfd f1, 0x120(r1) -/* 80067E3C 00064D9C C0 62 87 B0 */ lfs f3, lbl_805AA4D0@sda21(r2) -/* 80067E40 00064DA0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80067E44 00064DA4 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80067E48 00064DA8 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80067E4C 00064DAC EC 03 00 32 */ fmuls f0, f3, f0 -/* 80067E50 00064DB0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80067E54 00064DB4 48 2A 92 A5 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 80067E58 00064DB8 C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 80067E5C 00064DBC 38 61 00 6C */ addi r3, r1, 0x6c -/* 80067E60 00064DC0 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 80067E64 00064DC4 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 80067E68 00064DC8 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80067E6C 00064DCC 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 80067E70 00064DD0 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 80067E74 00064DD4 D0 61 00 B4 */ stfs f3, 0xb4(r1) -/* 80067E78 00064DD8 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 80067E7C 00064DDC D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 80067E80 00064DE0 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 80067E84 00064DE4 48 2A 93 1D */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80067E88 00064DE8 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80067E8C 00064DEC 3C 80 38 E4 */ lis r4, 0x38E38E39@ha -/* 80067E90 00064DF0 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 80067E94 00064DF4 3C E0 80 5A */ lis r7, lbl_805A6718@ha -/* 80067E98 00064DF8 D0 1D 04 4C */ stfs f0, 0x44c(r29) -/* 80067E9C 00064DFC 3C C0 80 5A */ lis r6, lbl_805A6724@ha -/* 80067EA0 00064E00 3C A0 80 5A */ lis r5, lbl_805A66F4@ha -/* 80067EA4 00064E04 CB E2 87 B8 */ lfd f31, lbl_805AA4D8@sda21(r2) -/* 80067EA8 00064E08 81 01 00 70 */ lwz r8, 0x70(r1) -/* 80067EAC 00064E0C 3B E4 8E 39 */ addi r31, r4, 0x38E38E39@l -/* 80067EB0 00064E10 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80067EB4 00064E14 3B 43 55 56 */ addi r26, r3, 0x55555556@l -/* 80067EB8 00064E18 C3 C2 87 B4 */ lfs f30, lbl_805AA4D4@sda21(r2) -/* 80067EBC 00064E1C 3B 61 00 F8 */ addi r27, r1, 0xf8 -/* 80067EC0 00064E20 91 1D 04 50 */ stw r8, 0x450(r29) -/* 80067EC4 00064E24 3B C0 00 00 */ li r30, 0 -/* 80067EC8 00064E28 C3 82 87 3C */ lfs f28, lbl_805AA45C@sda21(r2) -/* 80067ECC 00064E2C 3F 80 43 30 */ lis r28, 0x4330 -/* 80067ED0 00064E30 90 1D 04 54 */ stw r0, 0x454(r29) -/* 80067ED4 00064E34 80 01 00 78 */ lwz r0, 0x78(r1) -/* 80067ED8 00064E38 90 1D 04 58 */ stw r0, 0x458(r29) -/* 80067EDC 00064E3C C5 07 67 18 */ lfsu f8, lbl_805A6718@l(r7) -/* 80067EE0 00064E40 C4 A6 67 24 */ lfsu f5, lbl_805A6724@l(r6) -/* 80067EE4 00064E44 C4 45 66 F4 */ lfsu f2, lbl_805A66F4@l(r5) -/* 80067EE8 00064E48 C0 E7 00 04 */ lfs f7, 4(r7) -/* 80067EEC 00064E4C C0 C7 00 08 */ lfs f6, 8(r7) -/* 80067EF0 00064E50 C0 86 00 04 */ lfs f4, 4(r6) -/* 80067EF4 00064E54 C0 66 00 08 */ lfs f3, 8(r6) -/* 80067EF8 00064E58 C0 25 00 04 */ lfs f1, 4(r5) -/* 80067EFC 00064E5C C0 05 00 08 */ lfs f0, 8(r5) -/* 80067F00 00064E60 D1 01 00 F8 */ stfs f8, 0xf8(r1) -/* 80067F04 00064E64 D0 E1 00 FC */ stfs f7, 0xfc(r1) -/* 80067F08 00064E68 D0 C1 01 00 */ stfs f6, 0x100(r1) -/* 80067F0C 00064E6C D0 A1 01 04 */ stfs f5, 0x104(r1) -/* 80067F10 00064E70 D0 81 01 08 */ stfs f4, 0x108(r1) -/* 80067F14 00064E74 D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 80067F18 00064E78 D0 41 01 10 */ stfs f2, 0x110(r1) -/* 80067F1C 00064E7C D0 21 01 14 */ stfs f1, 0x114(r1) -/* 80067F20 00064E80 D0 01 01 18 */ stfs f0, 0x118(r1) -lbl_80067F24: -/* 80067F24 00064E84 48 32 7F 59 */ bl rand -/* 80067F28 00064E88 7C 79 1B 78 */ mr r25, r3 -/* 80067F2C 00064E8C 48 32 7F 51 */ bl rand -/* 80067F30 00064E90 6F 20 80 00 */ xoris r0, r25, 0x8000 -/* 80067F34 00064E94 3B DE 00 01 */ addi r30, r30, 1 -/* 80067F38 00064E98 90 01 01 2C */ stw r0, 0x12c(r1) -/* 80067F3C 00064E9C 7C 1F 18 96 */ mulhw r0, r31, r3 -/* 80067F40 00064EA0 2C 1E 00 04 */ cmpwi r30, 4 -/* 80067F44 00064EA4 93 81 01 28 */ stw r28, 0x128(r1) -/* 80067F48 00064EA8 C8 01 01 28 */ lfd f0, 0x128(r1) -/* 80067F4C 00064EAC 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80067F50 00064EB0 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80067F54 00064EB4 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80067F58 00064EB8 7C 00 22 14 */ add r0, r0, r4 -/* 80067F5C 00064EBC 1C 00 00 09 */ mulli r0, r0, 9 -/* 80067F60 00064EC0 EC 00 F0 24 */ fdivs f0, f0, f30 -/* 80067F64 00064EC4 7C A0 18 50 */ subf r5, r0, r3 -/* 80067F68 00064EC8 7C 7A 28 96 */ mulhw r3, r26, r5 -/* 80067F6C 00064ECC 54 60 0F FE */ srwi r0, r3, 0x1f -/* 80067F70 00064ED0 7C 83 02 14 */ add r4, r3, r0 -/* 80067F74 00064ED4 1C 04 00 03 */ mulli r0, r4, 3 -/* 80067F78 00064ED8 7C 00 28 50 */ subf r0, r0, r5 -/* 80067F7C 00064EDC EC 00 E0 28 */ fsubs f0, f0, f28 -/* 80067F80 00064EE0 1C 60 00 0C */ mulli r3, r0, 0xc -/* 80067F84 00064EE4 54 80 10 3A */ slwi r0, r4, 2 -/* 80067F88 00064EE8 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80067F8C 00064EEC 7C 03 02 14 */ add r0, r3, r0 -/* 80067F90 00064EF0 7C 3B 04 2E */ lfsx f1, r27, r0 -/* 80067F94 00064EF4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80067F98 00064EF8 7C 1B 05 2E */ stfsx f0, r27, r0 -/* 80067F9C 00064EFC 41 80 FF 88 */ blt lbl_80067F24 -/* 80067FA0 00064F00 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80067FA4 00064F04 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 80067FA8 00064F08 38 A1 01 04 */ addi r5, r1, 0x104 -/* 80067FAC 00064F0C 38 C1 01 10 */ addi r6, r1, 0x110 -/* 80067FB0 00064F10 48 2A 86 CD */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80067FB4 00064F14 7C 64 1B 78 */ mr r4, r3 -/* 80067FB8 00064F18 38 7D 04 28 */ addi r3, r29, 0x428 -/* 80067FBC 00064F1C 48 2A 80 3D */ bl __as__9CMatrix3fFRC9CMatrix3f -/* 80067FC0 00064F20 38 00 00 01 */ li r0, 1 -lbl_80067FC4: -/* 80067FC4 00064F24 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80067FC8 00064F28 41 82 00 98 */ beq lbl_80068060 -/* 80067FCC 00064F2C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80067FD0 00064F30 C0 1D 04 14 */ lfs f0, 0x414(r29) -/* 80067FD4 00064F34 C4 23 00 8C */ lfsu f1, 0x8c(r3) -/* 80067FD8 00064F38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80067FDC 00064F3C 40 80 00 08 */ bge lbl_80067FE4 -/* 80067FE0 00064F40 48 00 00 08 */ b lbl_80067FE8 -lbl_80067FE4: -/* 80067FE4 00064F44 38 7D 04 14 */ addi r3, r29, 0x414 -lbl_80067FE8: -/* 80067FE8 00064F48 C0 63 00 00 */ lfs f3, 0(r3) -/* 80067FEC 00064F4C C0 1D 04 08 */ lfs f0, 0x408(r29) -/* 80067FF0 00064F50 C0 5D 04 0C */ lfs f2, 0x40c(r29) -/* 80067FF4 00064F54 C0 3D 04 10 */ lfs f1, 0x410(r29) -/* 80067FF8 00064F58 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80067FFC 00064F5C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80068000 00064F60 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80068004 00064F64 D0 1D 04 1C */ stfs f0, 0x41c(r29) -/* 80068008 00064F68 D0 5D 04 20 */ stfs f2, 0x420(r29) -/* 8006800C 00064F6C D0 3D 04 24 */ stfs f1, 0x424(r29) -/* 80068010 00064F70 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 80068014 00064F74 28 03 00 00 */ cmplwi r3, 0 -/* 80068018 00064F78 41 82 00 48 */ beq lbl_80068060 -/* 8006801C 00064F7C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 80068020 00064F80 38 9D 04 28 */ addi r4, r29, 0x428 -/* 80068024 00064F84 C0 5D 04 20 */ lfs f2, 0x420(r29) -/* 80068028 00064F88 C0 65 01 D8 */ lfs f3, 0x1d8(r5) -/* 8006802C 00064F8C 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80068030 00064F90 C0 3D 04 24 */ lfs f1, 0x424(r29) -/* 80068034 00064F94 C0 1D 04 1C */ lfs f0, 0x41c(r29) -/* 80068038 00064F98 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8006803C 00064F9C EC 23 00 72 */ fmuls f1, f3, f1 -/* 80068040 00064FA0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80068044 00064FA4 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80068048 00064FA8 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8006804C 00064FAC D0 21 00 68 */ stfs f1, 0x68(r1) -/* 80068050 00064FB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80068054 00064FB4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80068058 00064FB8 7D 89 03 A6 */ mtctr r12 -/* 8006805C 00064FBC 4E 80 04 21 */ bctrl -lbl_80068060: -/* 80068060 00064FC0 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 -/* 80068064 00064FC4 CB E1 01 90 */ lfd f31, 0x190(r1) -/* 80068068 00064FC8 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 -/* 8006806C 00064FCC CB C1 01 80 */ lfd f30, 0x180(r1) -/* 80068070 00064FD0 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 -/* 80068074 00064FD4 CB A1 01 70 */ lfd f29, 0x170(r1) -/* 80068078 00064FD8 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 -/* 8006807C 00064FDC CB 81 01 60 */ lfd f28, 0x160(r1) -/* 80068080 00064FE0 E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 -/* 80068084 00064FE4 CB 61 01 50 */ lfd f27, 0x150(r1) -/* 80068088 00064FE8 BB 21 01 34 */ lmw r25, 0x134(r1) -/* 8006808C 00064FEC 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 80068090 00064FF0 7C 08 03 A6 */ mtlr r0 -/* 80068094 00064FF4 38 21 01 A0 */ addi r1, r1, 0x1a0 -/* 80068098 00064FF8 4E 80 00 20 */ blr - -.global SetFrameColorValue__17IHudDecoInterfaceFf -SetFrameColorValue__17IHudDecoInterfaceFf: -/* 8006809C 00064FFC 4E 80 00 20 */ blr - -.global GetVisorHudLightColor__9CSamusHudFRC6CColorRC13CStateManager -GetVisorHudLightColor__9CSamusHudFRC6CColorRC13CStateManager: -/* 800680A0 00065000 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800680A4 00065004 7C 08 02 A6 */ mflr r0 -/* 800680A8 00065008 90 01 00 54 */ stw r0, 0x54(r1) -/* 800680AC 0006500C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 800680B0 00065010 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 800680B4 00065014 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800680B8 00065018 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800680BC 0006501C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800680C0 00065020 80 86 08 B8 */ lwz r4, 0x8b8(r6) -/* 800680C4 00065024 7C 7D 1B 78 */ mr r29, r3 -/* 800680C8 00065028 7C BE 2B 78 */ mr r30, r5 -/* 800680CC 0006502C 80 64 00 00 */ lwz r3, 0(r4) -/* 800680D0 00065030 83 E3 00 14 */ lwz r31, 0x14(r3) -/* 800680D4 00065034 48 02 97 91 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 800680D8 00065038 80 1E 00 00 */ lwz r0, 0(r30) -/* 800680DC 0006503C 2C 1F 00 02 */ cmpwi r31, 2 -/* 800680E0 00065040 FF E0 08 90 */ fmr f31, f1 -/* 800680E4 00065044 90 01 00 20 */ stw r0, 0x20(r1) -/* 800680E8 00065048 41 82 00 24 */ beq lbl_8006810C -/* 800680EC 0006504C 40 80 00 14 */ bge lbl_80068100 -/* 800680F0 00065050 2C 1F 00 00 */ cmpwi r31, 0 -/* 800680F4 00065054 41 82 00 D0 */ beq lbl_800681C4 -/* 800680F8 00065058 40 80 00 7C */ bge lbl_80068174 -/* 800680FC 0006505C 48 00 00 C8 */ b lbl_800681C4 -lbl_80068100: -/* 80068100 00065060 2C 1F 00 04 */ cmpwi r31, 4 -/* 80068104 00065064 40 80 00 C0 */ bge lbl_800681C4 -/* 80068108 00065068 48 00 00 44 */ b lbl_8006814C -lbl_8006810C: -/* 8006810C 0006506C 48 2E 1E A1 */ bl White__6CColorFv -/* 80068110 00065070 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) -/* 80068114 00065074 FC 20 F8 90 */ fmr f1, f31 -/* 80068118 00065078 7C 64 1B 78 */ mr r4, r3 -/* 8006811C 0006507C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80068120 00065080 38 A5 00 D4 */ addi r5, r5, 0xd4 -/* 80068124 00065084 48 2F B1 89 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80068128 00065088 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006812C 0006508C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80068130 00065090 38 81 00 20 */ addi r4, r1, 0x20 -/* 80068134 00065094 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80068138 00065098 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8006813C 0006509C 48 2F B0 3D */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80068140 000650A0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80068144 000650A4 90 01 00 20 */ stw r0, 0x20(r1) -/* 80068148 000650A8 48 00 00 7C */ b lbl_800681C4 -lbl_8006814C: -/* 8006814C 000650AC 80 CD A1 3C */ lwz r6, gpTweakGuiColors@sda21(r13) -/* 80068150 000650B0 38 61 00 0C */ addi r3, r1, 0xc -/* 80068154 000650B4 38 81 00 20 */ addi r4, r1, 0x20 -/* 80068158 000650B8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8006815C 000650BC 80 06 00 DC */ lwz r0, 0xdc(r6) -/* 80068160 000650C0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80068164 000650C4 48 2F B0 15 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80068168 000650C8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006816C 000650CC 90 01 00 20 */ stw r0, 0x20(r1) -/* 80068170 000650D0 48 00 00 54 */ b lbl_800681C4 -lbl_80068174: -/* 80068174 000650D4 E0 A1 A0 22 */ psq_l f5, 34(r1), 1, qr2 -/* 80068178 000650D8 E0 41 A0 20 */ psq_l f2, 32(r1), 1, qr2 -/* 8006817C 000650DC E0 01 A0 21 */ psq_l f0, 33(r1), 1, qr2 -/* 80068180 000650E0 38 61 00 08 */ addi r3, r1, 8 -/* 80068184 000650E4 C0 82 87 A8 */ lfs f4, lbl_805AA4C8@sda21(r2) -/* 80068188 000650E8 C0 22 87 C0 */ lfs f1, lbl_805AA4E0@sda21(r2) -/* 8006818C 000650EC EC 04 00 32 */ fmuls f0, f4, f0 -/* 80068190 000650F0 C0 62 87 94 */ lfs f3, lbl_805AA4B4@sda21(r2) -/* 80068194 000650F4 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80068198 000650F8 C0 C2 87 2C */ lfs f6, lbl_805AA44C@sda21(r2) -/* 8006819C 000650FC EC A4 01 72 */ fmuls f5, f4, f5 -/* 800681A0 00065100 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) -/* 800681A4 00065104 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800681A8 00065108 EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 800681AC 0006510C EC 26 01 7A */ fmadds f1, f6, f5, f0 -/* 800681B0 00065110 FC 40 08 90 */ fmr f2, f1 -/* 800681B4 00065114 FC 60 08 90 */ fmr f3, f1 -/* 800681B8 00065118 48 2F B2 35 */ bl __ct__6CColorFffff -/* 800681BC 0006511C 80 01 00 08 */ lwz r0, 8(r1) -/* 800681C0 00065120 90 01 00 20 */ stw r0, 0x20(r1) -lbl_800681C4: -/* 800681C4 00065124 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800681C8 00065128 90 1D 00 00 */ stw r0, 0(r29) -/* 800681CC 0006512C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 800681D0 00065130 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800681D4 00065134 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 800681D8 00065138 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800681DC 0006513C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800681E0 00065140 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800681E4 00065144 7C 08 03 A6 */ mtlr r0 -/* 800681E8 00065148 38 21 00 50 */ addi r1, r1, 0x50 -/* 800681EC 0006514C 4E 80 00 20 */ blr - -.global UpdateHudDynamicLights__9CSamusHudFfRC13CStateManager -UpdateHudDynamicLights__9CSamusHudFfRC13CStateManager: -/* 800681F0 00065150 94 21 FB D0 */ stwu r1, -0x430(r1) -/* 800681F4 00065154 7C 08 02 A6 */ mflr r0 -/* 800681F8 00065158 90 01 04 34 */ stw r0, 0x434(r1) -/* 800681FC 0006515C DB E1 04 20 */ stfd f31, 0x420(r1) -/* 80068200 00065160 F3 E1 04 28 */ psq_st f31, 1064(r1), 0, qr0 -/* 80068204 00065164 DB C1 04 10 */ stfd f30, 0x410(r1) -/* 80068208 00065168 F3 C1 04 18 */ psq_st f30, 1048(r1), 0, qr0 -/* 8006820C 0006516C DB A1 04 00 */ stfd f29, 0x400(r1) -/* 80068210 00065170 F3 A1 04 08 */ psq_st f29, 1032(r1), 0, qr0 -/* 80068214 00065174 DB 81 03 F0 */ stfd f28, 0x3f0(r1) -/* 80068218 00065178 F3 81 03 F8 */ psq_st f28, 1016(r1), 0, qr0 -/* 8006821C 0006517C DB 61 03 E0 */ stfd f27, 0x3e0(r1) -/* 80068220 00065180 F3 61 03 E8 */ psq_st f27, 1000(r1), 0, qr0 -/* 80068224 00065184 DB 41 03 D0 */ stfd f26, 0x3d0(r1) -/* 80068228 00065188 F3 41 03 D8 */ psq_st f26, 984(r1), 0, qr0 -/* 8006822C 0006518C DB 21 03 C0 */ stfd f25, 0x3c0(r1) -/* 80068230 00065190 F3 21 03 C8 */ psq_st f25, 968(r1), 0, qr0 -/* 80068234 00065194 DB 01 03 B0 */ stfd f24, 0x3b0(r1) -/* 80068238 00065198 F3 01 03 B8 */ psq_st f24, 952(r1), 0, qr0 -/* 8006823C 0006519C DA E1 03 A0 */ stfd f23, 0x3a0(r1) -/* 80068240 000651A0 F2 E1 03 A8 */ psq_st f23, 936(r1), 0, qr0 -/* 80068244 000651A4 DA C1 03 90 */ stfd f22, 0x390(r1) -/* 80068248 000651A8 F2 C1 03 98 */ psq_st f22, 920(r1), 0, qr0 -/* 8006824C 000651AC DA A1 03 80 */ stfd f21, 0x380(r1) -/* 80068250 000651B0 F2 A1 03 88 */ psq_st f21, 904(r1), 0, qr0 -/* 80068254 000651B4 BE 61 03 4C */ stmw r19, 0x34c(r1) -/* 80068258 000651B8 FF 20 08 90 */ fmr f25, f1 -/* 8006825C 000651BC 7C 9F 23 78 */ mr r31, r4 -/* 80068260 000651C0 7C 7E 1B 78 */ mr r30, r3 -/* 80068264 000651C4 80 64 08 70 */ lwz r3, 0x870(r4) -/* 80068268 000651C8 4B FA 38 B1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8006826C 000651CC 7C 64 1B 78 */ mr r4, r3 -/* 80068270 000651D0 38 61 00 98 */ addi r3, r1, 0x98 -/* 80068274 000651D4 48 04 62 01 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" -/* 80068278 000651D8 83 63 00 04 */ lwz r27, 4(r3) -/* 8006827C 000651DC 28 1B 00 00 */ cmplwi r27, 0 -/* 80068280 000651E0 41 82 0B 4C */ beq lbl_80068DCC -/* 80068284 000651E4 C3 7B 00 60 */ lfs f27, 0x60(r27) -/* 80068288 000651E8 38 61 01 8C */ addi r3, r1, 0x18c -/* 8006828C 000651EC C0 A2 87 C8 */ lfs f5, lbl_805AA4E8@sda21(r2) -/* 80068290 000651F0 38 81 01 10 */ addi r4, r1, 0x110 -/* 80068294 000651F4 C3 9B 00 50 */ lfs f28, 0x50(r27) -/* 80068298 000651F8 38 A1 01 04 */ addi r5, r1, 0x104 -/* 8006829C 000651FC C3 BB 00 40 */ lfs f29, 0x40(r27) -/* 800682A0 00065200 EC 7B 28 2A */ fadds f3, f27, f5 -/* 800682A4 00065204 EC 9C 28 2A */ fadds f4, f28, f5 -/* 800682A8 00065208 C3 DB 00 38 */ lfs f30, 0x38(r27) -/* 800682AC 0006520C EC 1D 28 2A */ fadds f0, f29, f5 -/* 800682B0 00065210 C3 FB 00 48 */ lfs f31, 0x48(r27) -/* 800682B4 00065214 C3 5B 00 58 */ lfs f26, 0x58(r27) -/* 800682B8 00065218 EC 5D 28 28 */ fsubs f2, f29, f5 -/* 800682BC 0006521C EC 3C 28 28 */ fsubs f1, f28, f5 -/* 800682C0 00065220 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 800682C4 00065224 EC 1B 28 28 */ fsubs f0, f27, f5 -/* 800682C8 00065228 D0 81 01 08 */ stfs f4, 0x108(r1) -/* 800682CC 0006522C D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 800682D0 00065230 D0 41 01 10 */ stfs f2, 0x110(r1) -/* 800682D4 00065234 D0 21 01 14 */ stfs f1, 0x114(r1) -/* 800682D8 00065238 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 800682DC 0006523C 48 2D 02 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800682E0 00065240 83 9E 03 3C */ lwz r28, 0x33c(r30) -/* 800682E4 00065244 38 60 00 00 */ li r3, 0 -/* 800682E8 00065248 88 1C 02 98 */ lbz r0, 0x298(r28) -/* 800682EC 0006524C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800682F0 00065250 98 1C 02 98 */ stb r0, 0x298(r28) -/* 800682F4 00065254 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 800682F8 00065258 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800682FC 0006525C 80 A3 00 04 */ lwz r5, 4(r3) -/* 80068300 00065260 7C 05 00 00 */ cmpw r5, r0 -/* 80068304 00065264 90 A1 00 8C */ stw r5, 0x8c(r1) -/* 80068308 00065268 41 82 0A C4 */ beq lbl_80068DCC -/* 8006830C 0006526C 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 80068310 00065270 54 A3 18 38 */ slwi r3, r5, 3 -/* 80068314 00065274 38 03 00 04 */ addi r0, r3, 4 -/* 80068318 00065278 90 A1 00 74 */ stw r5, 0x74(r1) -/* 8006831C 0006527C 80 A4 00 20 */ lwz r5, 0x20(r4) -/* 80068320 00065280 7F 83 E3 78 */ mr r3, r28 -/* 80068324 00065284 7F E4 FB 78 */ mr r4, r31 -/* 80068328 00065288 38 C1 01 8C */ addi r6, r1, 0x18c -/* 8006832C 0006528C 7C A5 00 2E */ lwzx r5, r5, r0 -/* 80068330 00065290 48 09 BA 91 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox -/* 80068334 00065294 3A BE 03 44 */ addi r21, r30, 0x344 -/* 80068338 00065298 C2 A2 87 34 */ lfs f21, lbl_805AA454@sda21(r2) -/* 8006833C 0006529C 3A 80 00 00 */ li r20, 0 -/* 80068340 000652A0 7E B3 AB 78 */ mr r19, r21 -lbl_80068344: -/* 80068344 000652A4 C0 53 00 04 */ lfs f2, 4(r19) -/* 80068348 000652A8 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8006834C 000652AC C0 33 00 08 */ lfs f1, 8(r19) -/* 80068350 000652B0 38 81 00 EC */ addi r4, r1, 0xec -/* 80068354 000652B4 C0 13 00 00 */ lfs f0, 0(r19) -/* 80068358 000652B8 EC 42 E0 28 */ fsubs f2, f2, f28 -/* 8006835C 000652BC EC 21 D8 28 */ fsubs f1, f1, f27 -/* 80068360 000652C0 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 80068364 000652C4 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 80068368 000652C8 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 8006836C 000652CC D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 80068370 000652D0 48 2A C4 E1 */ bl AsNormalized__9CVector3fCFv -/* 80068374 000652D4 C0 13 00 1C */ lfs f0, 0x1c(r19) -/* 80068378 000652D8 C0 41 00 F8 */ lfs f2, 0xf8(r1) -/* 8006837C 000652DC FC 00 A8 40 */ fcmpo cr0, f0, f21 -/* 80068380 000652E0 C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 80068384 000652E4 C0 61 01 00 */ lfs f3, 0x100(r1) -/* 80068388 000652E8 40 81 00 48 */ ble lbl_800683D0 -/* 8006838C 000652EC EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80068390 000652F0 C0 02 87 CC */ lfs f0, lbl_805AA4EC@sda21(r2) -/* 80068394 000652F4 EC 3E 08 BA */ fmadds f1, f30, f2, f1 -/* 80068398 000652F8 EC 3A 08 FA */ fmadds f1, f26, f3, f1 -/* 8006839C 000652FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800683A0 00065300 4C 40 13 82 */ cror 2, 0, 2 -/* 800683A4 00065304 41 82 00 1C */ beq lbl_800683C0 -/* 800683A8 00065308 7F C3 F3 78 */ mr r3, r30 -/* 800683AC 0006530C 7E 64 9B 78 */ mr r4, r19 -/* 800683B0 00065310 7F 85 E3 78 */ mr r5, r28 -/* 800683B4 00065314 48 00 0B 51 */ bl IsCachedLightInAreaLights__9CSamusHudCFRCQ29CSamusHud15SCachedHudLightRC12CActorLights -/* 800683B8 00065318 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800683BC 0006531C 40 82 00 14 */ bne lbl_800683D0 -lbl_800683C0: -/* 800683C0 00065320 C0 33 00 1C */ lfs f1, 0x1c(r19) -/* 800683C4 00065324 C0 02 87 48 */ lfs f0, lbl_805AA468@sda21(r2) -/* 800683C8 00065328 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800683CC 0006532C D0 13 00 1C */ stfs f0, 0x1c(r19) -lbl_800683D0: -/* 800683D0 00065330 3A 94 00 01 */ addi r20, r20, 1 -/* 800683D4 00065334 3A 73 00 20 */ addi r19, r19, 0x20 -/* 800683D8 00065338 2C 14 00 03 */ cmpwi r20, 3 -/* 800683DC 0006533C 41 80 FF 68 */ blt lbl_80068344 -/* 800683E0 00065340 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 800683E4 00065344 3A C0 00 00 */ li r22, 0 -/* 800683E8 00065348 C0 35 00 1C */ lfs f1, 0x1c(r21) -/* 800683EC 0006534C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800683F0 00065350 4C 40 13 82 */ cror 2, 0, 2 -/* 800683F4 00065354 40 82 00 08 */ bne lbl_800683FC -/* 800683F8 00065358 3A C0 00 01 */ li r22, 1 -lbl_800683FC: -/* 800683FC 0006535C C0 35 00 3C */ lfs f1, 0x3c(r21) -/* 80068400 00065360 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80068404 00065364 4C 40 13 82 */ cror 2, 0, 2 -/* 80068408 00065368 40 82 00 08 */ bne lbl_80068410 -/* 8006840C 0006536C 3A D6 00 01 */ addi r22, r22, 1 -lbl_80068410: -/* 80068410 00065370 C0 35 00 5C */ lfs f1, 0x5c(r21) -/* 80068414 00065374 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80068418 00065378 4C 40 13 82 */ cror 2, 0, 2 -/* 8006841C 0006537C 40 82 00 08 */ bne lbl_80068424 -/* 80068420 00065380 3A D6 00 01 */ addi r22, r22, 1 -lbl_80068424: -/* 80068424 00065384 3A E0 00 00 */ li r23, 0 -/* 80068428 00065388 3A D6 FF FF */ addi r22, r22, -1 -/* 8006842C 0006538C 48 00 01 18 */ b lbl_80068544 -lbl_80068430: -/* 80068430 00065390 2C 16 00 01 */ cmpwi r22, 1 -/* 80068434 00065394 41 80 01 1C */ blt lbl_80068550 -/* 80068438 00065398 7F 83 E3 78 */ mr r3, r28 -/* 8006843C 0006539C 7E E4 BB 78 */ mr r4, r23 -/* 80068440 000653A0 48 09 CC 25 */ bl GetLight__12CActorLightsCFUi -/* 80068444 000653A4 7C 60 1B 78 */ mr r0, r3 -/* 80068448 000653A8 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 8006844C 000653AC 7C 13 03 78 */ mr r19, r0 -/* 80068450 000653B0 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 80068454 000653B4 C0 53 00 04 */ lfs f2, 4(r19) -/* 80068458 000653B8 C0 33 00 08 */ lfs f1, 8(r19) -/* 8006845C 000653BC C0 13 00 00 */ lfs f0, 0(r19) -/* 80068460 000653C0 EC 42 E0 28 */ fsubs f2, f2, f28 -/* 80068464 000653C4 EC 21 D8 28 */ fsubs f1, f1, f27 -/* 80068468 000653C8 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 8006846C 000653CC D0 41 00 D8 */ stfs f2, 0xd8(r1) -/* 80068470 000653D0 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 80068474 000653D4 D0 21 00 DC */ stfs f1, 0xdc(r1) -/* 80068478 000653D8 48 2A C3 D9 */ bl AsNormalized__9CVector3fCFv -/* 8006847C 000653DC C2 A1 00 E0 */ lfs f21, 0xe0(r1) -/* 80068480 000653E0 7F C3 F3 78 */ mr r3, r30 -/* 80068484 000653E4 C2 C1 00 E4 */ lfs f22, 0xe4(r1) -/* 80068488 000653E8 7E 64 9B 78 */ mr r4, r19 -/* 8006848C 000653EC C2 E1 00 E8 */ lfs f23, 0xe8(r1) -/* 80068490 000653F0 48 00 09 F1 */ bl IsAreaLightInCachedLights__9CSamusHudCFRC6CLight -/* 80068494 000653F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80068498 000653F8 40 82 00 A8 */ bne lbl_80068540 -/* 8006849C 000653FC EC 3F 05 B2 */ fmuls f1, f31, f22 -/* 800684A0 00065400 C0 02 87 CC */ lfs f0, lbl_805AA4EC@sda21(r2) -/* 800684A4 00065404 EC 3E 0D 7A */ fmadds f1, f30, f21, f1 -/* 800684A8 00065408 EC 3A 0D FA */ fmadds f1, f26, f23, f1 -/* 800684AC 0006540C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800684B0 00065410 40 81 00 90 */ ble lbl_80068540 -/* 800684B4 00065414 7F C3 F3 78 */ mr r3, r30 -/* 800684B8 00065418 7E 64 9B 78 */ mr r4, r19 -/* 800684BC 0006541C 48 00 09 7D */ bl FindEmptyHudLightSlot__9CSamusHudCFRC6CLight -/* 800684C0 00065420 2C 03 FF FF */ cmpwi r3, -1 -/* 800684C4 00065424 41 82 00 7C */ beq lbl_80068540 -/* 800684C8 00065428 C0 33 00 00 */ lfs f1, 0(r19) -/* 800684CC 0006542C 54 60 28 34 */ slwi r0, r3, 5 -/* 800684D0 00065430 C0 13 00 04 */ lfs f0, 4(r19) -/* 800684D4 00065434 7C B5 02 14 */ add r5, r21, r0 -/* 800684D8 00065438 D0 21 01 6C */ stfs f1, 0x16c(r1) -/* 800684DC 0006543C 3A D6 FF FF */ addi r22, r22, -1 -/* 800684E0 00065440 C0 33 00 2C */ lfs f1, 0x2c(r19) -/* 800684E4 00065444 D0 01 01 70 */ stfs f0, 0x170(r1) -/* 800684E8 00065448 C0 53 00 28 */ lfs f2, 0x28(r19) -/* 800684EC 0006544C C0 73 00 24 */ lfs f3, 0x24(r19) -/* 800684F0 00065450 C0 13 00 08 */ lfs f0, 8(r19) -/* 800684F4 00065454 80 93 00 18 */ lwz r4, 0x18(r19) -/* 800684F8 00065458 80 01 01 6C */ lwz r0, 0x16c(r1) -/* 800684FC 0006545C D0 01 01 74 */ stfs f0, 0x174(r1) -/* 80068500 00065460 80 61 01 70 */ lwz r3, 0x170(r1) -/* 80068504 00065464 90 05 00 00 */ stw r0, 0(r5) -/* 80068508 00065468 80 01 01 74 */ lwz r0, 0x174(r1) -/* 8006850C 0006546C 90 65 00 04 */ stw r3, 4(r5) -/* 80068510 00065470 C0 02 87 D0 */ lfs f0, lbl_805AA4F0@sda21(r2) -/* 80068514 00065474 90 05 00 08 */ stw r0, 8(r5) -/* 80068518 00065478 90 85 00 0C */ stw r4, 0xc(r5) -/* 8006851C 0006547C D0 65 00 10 */ stfs f3, 0x10(r5) -/* 80068520 00065480 D0 45 00 14 */ stfs f2, 0x14(r5) -/* 80068524 00065484 D0 25 00 18 */ stfs f1, 0x18(r5) -/* 80068528 00065488 90 81 01 78 */ stw r4, 0x178(r1) -/* 8006852C 0006548C D0 61 01 7C */ stfs f3, 0x17c(r1) -/* 80068530 00065490 D0 41 01 80 */ stfs f2, 0x180(r1) -/* 80068534 00065494 D0 21 01 84 */ stfs f1, 0x184(r1) -/* 80068538 00065498 D0 01 01 88 */ stfs f0, 0x188(r1) -/* 8006853C 0006549C D0 05 00 1C */ stfs f0, 0x1c(r5) -lbl_80068540: -/* 80068540 000654A0 3A F7 00 01 */ addi r23, r23, 1 -lbl_80068544: -/* 80068544 000654A4 80 1C 00 00 */ lwz r0, 0(r28) -/* 80068548 000654A8 7C 17 00 40 */ cmplw r23, r0 -/* 8006854C 000654AC 41 80 FE E4 */ blt lbl_80068430 -lbl_80068550: -/* 80068550 000654B0 C0 02 87 70 */ lfs f0, lbl_805AA490@sda21(r2) -/* 80068554 000654B4 38 00 00 03 */ li r0, 3 -/* 80068558 000654B8 7E A4 AB 78 */ mr r4, r21 -/* 8006855C 000654BC C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) -/* 80068560 000654C0 EC 60 06 72 */ fmuls f3, f0, f25 -/* 80068564 000654C4 7C 09 03 A6 */ mtctr r0 -lbl_80068568: -/* 80068568 000654C8 C0 24 00 1C */ lfs f1, 0x1c(r4) -/* 8006856C 000654CC FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80068570 000654D0 40 80 00 30 */ bge lbl_800685A0 -/* 80068574 000654D4 EC 21 18 2A */ fadds f1, f1, f3 -/* 80068578 000654D8 C0 0D 83 08 */ lfs f0, lbl_805A6EC8@sda21(r13) -/* 8006857C 000654DC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80068580 000654E0 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80068584 000654E4 40 80 00 0C */ bge lbl_80068590 -/* 80068588 000654E8 38 6D 83 08 */ addi r3, r13, lbl_805A6EC8@sda21 -/* 8006858C 000654EC 48 00 00 08 */ b lbl_80068594 -lbl_80068590: -/* 80068590 000654F0 38 61 00 70 */ addi r3, r1, 0x70 -lbl_80068594: -/* 80068594 000654F4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80068598 000654F8 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8006859C 000654FC 48 00 00 40 */ b lbl_800685DC -lbl_800685A0: -/* 800685A0 00065500 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 800685A4 00065504 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800685A8 00065508 40 80 00 34 */ bge lbl_800685DC -/* 800685AC 0006550C FC 02 08 00 */ fcmpu cr0, f2, f1 -/* 800685B0 00065510 41 82 00 2C */ beq lbl_800685DC -/* 800685B4 00065514 EC 21 18 2A */ fadds f1, f1, f3 -/* 800685B8 00065518 C0 0D 83 0C */ lfs f0, lbl_805A6ECC@sda21(r13) -/* 800685BC 0006551C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800685C0 00065520 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 800685C4 00065524 40 80 00 0C */ bge lbl_800685D0 -/* 800685C8 00065528 38 6D 83 0C */ addi r3, r13, lbl_805A6ECC@sda21 -/* 800685CC 0006552C 48 00 00 08 */ b lbl_800685D4 -lbl_800685D0: -/* 800685D0 00065530 38 61 00 6C */ addi r3, r1, 0x6c -lbl_800685D4: -/* 800685D4 00065534 C0 03 00 00 */ lfs f0, 0(r3) -/* 800685D8 00065538 D0 04 00 1C */ stfs f0, 0x1c(r4) -lbl_800685DC: -/* 800685DC 0006553C 38 84 00 20 */ addi r4, r4, 0x20 -/* 800685E0 00065540 42 00 FF 88 */ bdnz lbl_80068568 -/* 800685E4 00065544 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 800685E8 00065548 80 63 00 00 */ lwz r3, 0(r3) -/* 800685EC 0006554C 82 63 00 14 */ lwz r19, 0x14(r3) -/* 800685F0 00065550 48 02 92 75 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 800685F4 00065554 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) -/* 800685F8 00065558 38 81 01 5C */ addi r4, r1, 0x15c -/* 800685FC 0006555C FE A0 08 90 */ fmr f21, f1 -/* 80068600 00065560 56 76 10 3A */ slwi r22, r19, 2 -/* 80068604 00065564 80 06 02 94 */ lwz r0, 0x294(r6) -/* 80068608 00065568 7C 85 23 78 */ mr r5, r4 -/* 8006860C 0006556C 38 61 00 68 */ addi r3, r1, 0x68 -/* 80068610 00065570 90 01 01 5C */ stw r0, 0x15c(r1) -/* 80068614 00065574 7C A5 B2 14 */ add r5, r5, r22 -/* 80068618 00065578 80 06 02 98 */ lwz r0, 0x298(r6) -/* 8006861C 0006557C 90 01 01 60 */ stw r0, 0x160(r1) -/* 80068620 00065580 80 06 02 9C */ lwz r0, 0x29c(r6) -/* 80068624 00065584 90 01 01 64 */ stw r0, 0x164(r1) -/* 80068628 00065588 80 06 02 A0 */ lwz r0, 0x2a0(r6) -/* 8006862C 0006558C 90 01 01 68 */ stw r0, 0x168(r1) -/* 80068630 00065590 80 06 02 A4 */ lwz r0, 0x2a4(r6) -/* 80068634 00065594 90 01 01 4C */ stw r0, 0x14c(r1) -/* 80068638 00065598 80 06 02 A8 */ lwz r0, 0x2a8(r6) -/* 8006863C 0006559C 90 01 01 50 */ stw r0, 0x150(r1) -/* 80068640 000655A0 80 06 02 AC */ lwz r0, 0x2ac(r6) -/* 80068644 000655A4 90 01 01 54 */ stw r0, 0x154(r1) -/* 80068648 000655A8 80 06 02 B0 */ lwz r0, 0x2b0(r6) -/* 8006864C 000655AC 90 01 01 58 */ stw r0, 0x158(r1) -/* 80068650 000655B0 48 2F AC 5D */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80068654 000655B4 80 01 00 68 */ lwz r0, 0x68(r1) -/* 80068658 000655B8 38 81 01 4C */ addi r4, r1, 0x14c -/* 8006865C 000655BC FC 20 A8 90 */ fmr f1, f21 -/* 80068660 000655C0 7C 85 23 78 */ mr r5, r4 -/* 80068664 000655C4 90 01 00 88 */ stw r0, 0x88(r1) -/* 80068668 000655C8 38 61 00 64 */ addi r3, r1, 0x64 -/* 8006866C 000655CC 7C A5 B2 14 */ add r5, r5, r22 -/* 80068670 000655D0 48 2F AC 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80068674 000655D4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80068678 000655D8 3B 3E 05 DC */ addi r25, r30, 0x5dc -/* 8006867C 000655DC 3C A0 80 5A */ lis r5, lbl_805A6724@ha -/* 80068680 000655E0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80068684 000655E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80068688 000655E8 90 01 00 84 */ stw r0, 0x84(r1) -/* 8006868C 000655EC C3 42 87 34 */ lfs f26, lbl_805AA454@sda21(r2) -/* 80068690 000655F0 7F 36 CB 78 */ mr r22, r25 -/* 80068694 000655F4 C3 C2 87 28 */ lfs f30, lbl_805AA448@sda21(r2) -/* 80068698 000655F8 3B A5 67 24 */ addi r29, r5, lbl_805A6724@l -/* 8006869C 000655FC C3 E2 87 48 */ lfs f31, lbl_805AA468@sda21(r2) -/* 800686A0 00065600 3A E4 66 A0 */ addi r23, r4, skZero3f@l -/* 800686A4 00065604 C2 A2 87 2C */ lfs f21, lbl_805AA44C@sda21(r2) -/* 800686A8 00065608 3B 03 66 F4 */ addi r24, r3, lbl_805A66F4@l -/* 800686AC 0006560C C2 C2 87 A8 */ lfs f22, lbl_805AA4C8@sda21(r2) -/* 800686B0 00065610 3B 40 00 00 */ li r26, 0 -/* 800686B4 00065614 C2 E2 87 94 */ lfs f23, lbl_805AA4B4@sda21(r2) -/* 800686B8 00065618 3A 80 00 00 */ li r20, 0 -/* 800686BC 0006561C C3 02 87 C0 */ lfs f24, lbl_805AA4E0@sda21(r2) -/* 800686C0 00065620 48 00 02 60 */ b lbl_80068920 -lbl_800686C4: -/* 800686C4 00065624 C0 55 00 04 */ lfs f2, 4(r21) -/* 800686C8 00065628 38 61 02 04 */ addi r3, r1, 0x204 -/* 800686CC 0006562C C0 35 00 08 */ lfs f1, 8(r21) -/* 800686D0 00065630 38 9B 00 34 */ addi r4, r27, 0x34 -/* 800686D4 00065634 C0 15 00 00 */ lfs f0, 0(r21) -/* 800686D8 00065638 EC 5C 10 28 */ fsubs f2, f28, f2 -/* 800686DC 0006563C 82 76 00 00 */ lwz r19, 0(r22) -/* 800686E0 00065640 EC 3B 08 28 */ fsubs f1, f27, f1 -/* 800686E4 00065644 EC 1D 00 28 */ fsubs f0, f29, f0 -/* 800686E8 00065648 D0 41 01 44 */ stfs f2, 0x144(r1) -/* 800686EC 0006564C D0 01 01 40 */ stfs f0, 0x140(r1) -/* 800686F0 00065650 D0 21 01 48 */ stfs f1, 0x148(r1) -/* 800686F4 00065654 48 2A AA 01 */ bl BuildMatrix3f__12CTransform4fCFv -/* 800686F8 00065658 C1 01 02 24 */ lfs f8, 0x224(r1) -/* 800686FC 0006565C 38 61 00 BC */ addi r3, r1, 0xbc -/* 80068700 00065660 C0 E1 02 18 */ lfs f7, 0x218(r1) -/* 80068704 00065664 38 81 01 40 */ addi r4, r1, 0x140 -/* 80068708 00065668 C0 C1 02 0C */ lfs f6, 0x20c(r1) -/* 8006870C 0006566C C0 A1 02 20 */ lfs f5, 0x220(r1) -/* 80068710 00065670 C0 81 02 14 */ lfs f4, 0x214(r1) -/* 80068714 00065674 C0 61 02 08 */ lfs f3, 0x208(r1) -/* 80068718 00065678 C0 41 02 1C */ lfs f2, 0x21c(r1) -/* 8006871C 0006567C C0 21 02 10 */ lfs f1, 0x210(r1) -/* 80068720 00065680 C0 01 02 04 */ lfs f0, 0x204(r1) -/* 80068724 00065684 D0 21 02 2C */ stfs f1, 0x22c(r1) -/* 80068728 00065688 D0 01 02 28 */ stfs f0, 0x228(r1) -/* 8006872C 0006568C D0 41 02 30 */ stfs f2, 0x230(r1) -/* 80068730 00065690 D0 61 02 34 */ stfs f3, 0x234(r1) -/* 80068734 00065694 D0 81 02 38 */ stfs f4, 0x238(r1) -/* 80068738 00065698 D0 A1 02 3C */ stfs f5, 0x23c(r1) -/* 8006873C 0006569C D0 C1 02 40 */ stfs f6, 0x240(r1) -/* 80068740 000656A0 D0 E1 02 44 */ stfs f7, 0x244(r1) -/* 80068744 000656A4 D1 01 02 48 */ stfs f8, 0x248(r1) -/* 80068748 000656A8 48 2A C1 09 */ bl AsNormalized__9CVector3fCFv -/* 8006874C 000656AC 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80068750 000656B0 38 81 02 28 */ addi r4, r1, 0x228 -/* 80068754 000656B4 38 A1 00 BC */ addi r5, r1, 0xbc -/* 80068758 000656B8 48 2A 7B 3D */ bl __ml__9CMatrix3fCFRC9CVector3f -/* 8006875C 000656BC C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 80068760 000656C0 38 61 01 40 */ addi r3, r1, 0x140 -/* 80068764 000656C4 C0 21 00 CC */ lfs f1, 0xcc(r1) -/* 80068768 000656C8 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 8006876C 000656CC D0 41 01 34 */ stfs f2, 0x134(r1) -/* 80068770 000656D0 D0 21 01 38 */ stfs f1, 0x138(r1) -/* 80068774 000656D4 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 80068778 000656D8 48 2A C1 41 */ bl Magnitude__9CVector3fCFv -/* 8006877C 000656DC FC 40 08 18 */ frsp f2, f1 -/* 80068780 000656E0 C0 02 87 C4 */ lfs f0, lbl_805AA4E4@sda21(r2) -/* 80068784 000656E4 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80068788 000656E8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8006878C 000656EC 40 80 00 0C */ bge lbl_80068798 -/* 80068790 000656F0 38 62 87 C4 */ addi r3, r2, lbl_805AA4E4@sda21 -/* 80068794 000656F4 48 00 00 08 */ b lbl_8006879C -lbl_80068798: -/* 80068798 000656F8 38 61 00 60 */ addi r3, r1, 0x60 -lbl_8006879C: -/* 8006879C 000656FC 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 800687A0 00065700 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 800687A4 00065704 C0 24 02 BC */ lfs f1, 0x2bc(r4) -/* 800687A8 00065708 C0 A3 00 00 */ lfs f5, 0(r3) -/* 800687AC 0006570C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800687B0 00065710 C0 44 02 C0 */ lfs f2, 0x2c0(r4) -/* 800687B4 00065714 C0 35 00 18 */ lfs f1, 0x18(r21) -/* 800687B8 00065718 C0 64 02 B8 */ lfs f3, 0x2b8(r4) -/* 800687BC 0006571C EC 82 00 72 */ fmuls f4, f2, f1 -/* 800687C0 00065720 C0 55 00 10 */ lfs f2, 0x10(r21) -/* 800687C4 00065724 EC 25 00 32 */ fmuls f1, f5, f0 -/* 800687C8 00065728 C0 0D 83 10 */ lfs f0, lbl_805A6ED0@sda21(r13) -/* 800687CC 0006572C EC 85 01 32 */ fmuls f4, f5, f4 -/* 800687D0 00065730 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 800687D4 00065734 EC 25 09 3A */ fmadds f1, f5, f4, f1 -/* 800687D8 00065738 EC 3E 08 24 */ fdivs f1, f30, f1 -/* 800687DC 0006573C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800687E0 00065740 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 800687E4 00065744 40 80 00 0C */ bge lbl_800687F0 -/* 800687E8 00065748 38 61 00 5C */ addi r3, r1, 0x5c -/* 800687EC 0006574C 48 00 00 08 */ b lbl_800687F4 -lbl_800687F0: -/* 800687F0 00065750 38 6D 83 10 */ addi r3, r13, lbl_805A6ED0@sda21 -lbl_800687F4: -/* 800687F4 00065754 C3 23 00 00 */ lfs f25, 0(r3) -/* 800687F8 00065758 7E E4 BB 78 */ mr r4, r23 -/* 800687FC 0006575C 7F 06 C3 78 */ mr r6, r24 -/* 80068800 00065760 38 61 01 D4 */ addi r3, r1, 0x1d4 -/* 80068804 00065764 38 A1 01 34 */ addi r5, r1, 0x134 -/* 80068808 00065768 48 2A B3 09 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8006880C 0006576C 7E 63 9B 78 */ mr r3, r19 -/* 80068810 00065770 38 81 01 D4 */ addi r4, r1, 0x1d4 -/* 80068814 00065774 48 25 BF 25 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f -/* 80068818 00065778 C0 15 00 1C */ lfs f0, 0x1c(r21) -/* 8006881C 0006577C 38 61 00 54 */ addi r3, r1, 0x54 -/* 80068820 00065780 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) -/* 80068824 00065784 FC 00 02 10 */ fabs f0, f0 -/* 80068828 00065788 FC 00 00 18 */ frsp f0, f0 -/* 8006882C 0006578C EF 39 00 32 */ fmuls f25, f25, f0 -/* 80068830 00065790 FC 20 C8 90 */ fmr f1, f25 -/* 80068834 00065794 FC 40 C8 90 */ fmr f2, f25 -/* 80068838 00065798 FC 60 C8 90 */ fmr f3, f25 -/* 8006883C 0006579C 48 2F AB B1 */ bl __ct__6CColorFffff -/* 80068840 000657A0 7C 65 1B 78 */ mr r5, r3 -/* 80068844 000657A4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80068848 000657A8 38 95 00 0C */ addi r4, r21, 0xc -/* 8006884C 000657AC 48 2F A9 2D */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80068850 000657B0 80 01 00 58 */ lwz r0, 0x58(r1) -/* 80068854 000657B4 7F C4 F3 78 */ mr r4, r30 -/* 80068858 000657B8 7F E6 FB 78 */ mr r6, r31 -/* 8006885C 000657BC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80068860 000657C0 90 01 00 80 */ stw r0, 0x80(r1) -/* 80068864 000657C4 38 A1 00 80 */ addi r5, r1, 0x80 -/* 80068868 000657C8 4B FF F8 39 */ bl GetVisorHudLightColor__9CSamusHudFRC6CColorRC13CStateManager -/* 8006886C 000657CC 80 01 00 50 */ lwz r0, 0x50(r1) -/* 80068870 000657D0 7E 63 9B 78 */ mr r3, r19 -/* 80068874 000657D4 38 81 00 80 */ addi r4, r1, 0x80 -/* 80068878 000657D8 90 01 00 80 */ stw r0, 0x80(r1) -/* 8006887C 000657DC 48 26 1F F1 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80068880 000657E0 38 61 00 48 */ addi r3, r1, 0x48 -/* 80068884 000657E4 38 81 00 80 */ addi r4, r1, 0x80 -/* 80068888 000657E8 38 A1 00 84 */ addi r5, r1, 0x84 -/* 8006888C 000657EC 48 2F A8 ED */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80068890 000657F0 38 61 00 4C */ addi r3, r1, 0x4c -/* 80068894 000657F4 38 81 00 88 */ addi r4, r1, 0x88 -/* 80068898 000657F8 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8006889C 000657FC 48 2F A8 15 */ bl Add__6CColorFRC6CColorRC6CColor -/* 800688A0 00065800 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 800688A4 00065804 90 01 00 88 */ stw r0, 0x88(r1) -/* 800688A8 00065808 E0 01 A0 82 */ psq_l f0, 130(r1), 1, qr2 -/* 800688AC 0006580C E0 21 A0 80 */ psq_l f1, 128(r1), 1, qr2 -/* 800688B0 00065810 E0 81 A0 81 */ psq_l f4, 129(r1), 1, qr2 -/* 800688B4 00065814 EC 56 00 32 */ fmuls f2, f22, f0 -/* 800688B8 00065818 C0 61 01 38 */ lfs f3, 0x138(r1) -/* 800688BC 0006581C EC 36 00 72 */ fmuls f1, f22, f1 -/* 800688C0 00065820 C0 A1 01 34 */ lfs f5, 0x134(r1) -/* 800688C4 00065824 EC 16 01 32 */ fmuls f0, f22, f4 -/* 800688C8 00065828 C0 E1 01 3C */ lfs f7, 0x13c(r1) -/* 800688CC 0006582C EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 800688D0 00065830 C0 9D 00 04 */ lfs f4, 4(r29) -/* 800688D4 00065834 EC 18 00 32 */ fmuls f0, f24, f0 -/* 800688D8 00065838 C0 DD 00 00 */ lfs f6, 0(r29) -/* 800688DC 0006583C EC BF 01 72 */ fmuls f5, f31, f5 -/* 800688E0 00065840 C1 1D 00 08 */ lfs f8, 8(r29) -/* 800688E4 00065844 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 800688E8 00065848 EC 17 00 7A */ fmadds f0, f23, f1, f0 -/* 800688EC 0006584C EC 9F 01 F2 */ fmuls f4, f31, f7 -/* 800688F0 00065850 EC 26 19 7A */ fmadds f1, f6, f5, f3 -/* 800688F4 00065854 EC 15 00 BA */ fmadds f0, f21, f2, f0 -/* 800688F8 00065858 EC 28 09 3A */ fmadds f1, f8, f4, f1 -/* 800688FC 0006585C EC 39 00 72 */ fmuls f1, f25, f1 -/* 80068900 00065860 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80068904 00065864 FC 00 D0 40 */ fcmpo cr0, f0, f26 -/* 80068908 00065868 40 81 00 0C */ ble lbl_80068914 -/* 8006890C 0006586C FF 40 00 90 */ fmr f26, f0 -/* 80068910 00065870 7E 9A A3 78 */ mr r26, r20 -lbl_80068914: -/* 80068914 00065874 3A B5 00 20 */ addi r21, r21, 0x20 -/* 80068918 00065878 3A D6 00 04 */ addi r22, r22, 4 -/* 8006891C 0006587C 3A 94 00 01 */ addi r20, r20, 1 -lbl_80068920: -/* 80068920 00065880 80 1E 03 40 */ lwz r0, 0x340(r30) -/* 80068924 00065884 7C 14 00 00 */ cmpw r20, r0 -/* 80068928 00065888 41 80 FD 9C */ blt lbl_800686C4 -/* 8006892C 0006588C 82 FF 08 30 */ lwz r23, 0x830(r31) -/* 80068930 00065890 48 2E 16 85 */ bl Black__6CColorFv -/* 80068934 00065894 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80068938 00065898 7C 65 1B 78 */ mr r5, r3 -/* 8006893C 0006589C 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 80068940 000658A0 38 61 02 9C */ addi r3, r1, 0x29c -/* 80068944 000658A4 48 29 DA F1 */ bl BuildPoint__6CLightFRC9CVector3fRC6CColor -/* 80068948 000658A8 38 61 02 EC */ addi r3, r1, 0x2ec -/* 8006894C 000658AC 38 81 02 9C */ addi r4, r1, 0x29c -/* 80068950 000658B0 4B FD 2C 21 */ bl __ct__6CLightFCR6CLight -/* 80068954 000658B4 AA 77 20 08 */ lha r19, 0x2008(r23) -/* 80068958 000658B8 3A A1 03 04 */ addi r21, r1, 0x304 -/* 8006895C 000658BC 48 00 01 78 */ b lbl_80068AD4 -lbl_80068960: -/* 80068960 000658C0 7E E3 BB 78 */ mr r3, r23 -/* 80068964 000658C4 7E 64 9B 78 */ mr r4, r19 -/* 80068968 000658C8 4B FA 73 75 */ bl __vc__11CObjectListCFi -/* 8006896C 000658CC 28 03 00 00 */ cmplwi r3, 0 -/* 80068970 000658D0 41 82 01 48 */ beq lbl_80068AB8 -/* 80068974 000658D4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80068978 000658D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8006897C 000658DC 41 82 01 3C */ beq lbl_80068AB8 -/* 80068980 000658E0 7C 74 1B 78 */ mr r20, r3 -/* 80068984 000658E4 7F E3 FB 78 */ mr r3, r31 -/* 80068988 000658E8 A0 14 00 E8 */ lhz r0, 0xe8(r20) -/* 8006898C 000658EC 38 81 00 0C */ addi r4, r1, 0xc -/* 80068990 000658F0 B0 01 00 08 */ sth r0, 8(r1) -/* 80068994 000658F4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80068998 000658F8 4B FE 3C 0D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8006899C 000658FC 7C 64 1B 78 */ mr r4, r3 -/* 800689A0 00065900 38 61 00 90 */ addi r3, r1, 0x90 -/* 800689A4 00065904 48 04 4D 69 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 800689A8 00065908 80 03 00 04 */ lwz r0, 4(r3) -/* 800689AC 0006590C 28 00 00 00 */ cmplwi r0, 0 -/* 800689B0 00065910 40 82 01 08 */ bne lbl_80068AB8 -/* 800689B4 00065914 7E 84 A3 78 */ mr r4, r20 -/* 800689B8 00065918 38 61 02 4C */ addi r3, r1, 0x24c -/* 800689BC 0006591C 48 04 CC ED */ bl GetLight__10CGameLightCFv -/* 800689C0 00065920 3A 81 02 4C */ addi r20, r1, 0x24c -/* 800689C4 00065924 38 61 02 EC */ addi r3, r1, 0x2ec -/* 800689C8 00065928 48 29 D7 8D */ bl GetIntensity__6CLightCFv -/* 800689CC 0006592C FF 20 08 90 */ fmr f25, f1 -/* 800689D0 00065930 7E 83 A3 78 */ mr r3, r20 -/* 800689D4 00065934 48 29 D7 81 */ bl GetIntensity__6CLightCFv -/* 800689D8 00065938 FC 01 C8 40 */ fcmpo cr0, f1, f25 -/* 800689DC 0006593C 40 81 00 DC */ ble lbl_80068AB8 -/* 800689E0 00065940 7E 83 A3 78 */ mr r3, r20 -/* 800689E4 00065944 48 29 D8 F1 */ bl GetRadius__6CLightCFv -/* 800689E8 00065948 C0 61 02 4C */ lfs f3, 0x24c(r1) -/* 800689EC 0006594C 38 61 01 8C */ addi r3, r1, 0x18c -/* 800689F0 00065950 C0 41 02 50 */ lfs f2, 0x250(r1) -/* 800689F4 00065954 38 81 00 AC */ addi r4, r1, 0xac -/* 800689F8 00065958 C0 01 02 54 */ lfs f0, 0x254(r1) -/* 800689FC 0006595C D0 61 00 AC */ stfs f3, 0xac(r1) -/* 80068A00 00065960 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 80068A04 00065964 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80068A08 00065968 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 80068A0C 0006596C 48 26 9F C1 */ bl AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere -/* 80068A10 00065970 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80068A14 00065974 41 82 00 A4 */ beq lbl_80068AB8 -/* 80068A18 00065978 81 81 02 4C */ lwz r12, 0x24c(r1) -/* 80068A1C 0006597C 81 61 02 50 */ lwz r11, 0x250(r1) -/* 80068A20 00065980 81 41 02 54 */ lwz r10, 0x254(r1) -/* 80068A24 00065984 81 21 02 58 */ lwz r9, 0x258(r1) -/* 80068A28 00065988 81 01 02 5C */ lwz r8, 0x25c(r1) -/* 80068A2C 0006598C 80 E1 02 60 */ lwz r7, 0x260(r1) -/* 80068A30 00065990 80 C1 02 64 */ lwz r6, 0x264(r1) -/* 80068A34 00065994 80 A1 02 68 */ lwz r5, 0x268(r1) -/* 80068A38 00065998 C1 01 02 6C */ lfs f8, 0x26c(r1) -/* 80068A3C 0006599C C0 E1 02 70 */ lfs f7, 0x270(r1) -/* 80068A40 000659A0 C0 C1 02 74 */ lfs f6, 0x274(r1) -/* 80068A44 000659A4 C0 A1 02 78 */ lfs f5, 0x278(r1) -/* 80068A48 000659A8 C0 81 02 7C */ lfs f4, 0x27c(r1) -/* 80068A4C 000659AC C0 61 02 80 */ lfs f3, 0x280(r1) -/* 80068A50 000659B0 C0 41 02 84 */ lfs f2, 0x284(r1) -/* 80068A54 000659B4 80 81 02 88 */ lwz r4, 0x288(r1) -/* 80068A58 000659B8 80 61 02 8C */ lwz r3, 0x28c(r1) -/* 80068A5C 000659BC C0 21 02 90 */ lfs f1, 0x290(r1) -/* 80068A60 000659C0 C0 01 02 94 */ lfs f0, 0x294(r1) -/* 80068A64 000659C4 88 01 02 98 */ lbz r0, 0x298(r1) -/* 80068A68 000659C8 91 81 02 EC */ stw r12, 0x2ec(r1) -/* 80068A6C 000659CC 91 61 02 F0 */ stw r11, 0x2f0(r1) -/* 80068A70 000659D0 91 41 02 F4 */ stw r10, 0x2f4(r1) -/* 80068A74 000659D4 91 21 02 F8 */ stw r9, 0x2f8(r1) -/* 80068A78 000659D8 91 01 02 FC */ stw r8, 0x2fc(r1) -/* 80068A7C 000659DC 90 E1 03 00 */ stw r7, 0x300(r1) -/* 80068A80 000659E0 90 C1 03 04 */ stw r6, 0x304(r1) -/* 80068A84 000659E4 90 A1 03 08 */ stw r5, 0x308(r1) -/* 80068A88 000659E8 D1 01 03 0C */ stfs f8, 0x30c(r1) -/* 80068A8C 000659EC D0 E1 03 10 */ stfs f7, 0x310(r1) -/* 80068A90 000659F0 D0 C1 03 14 */ stfs f6, 0x314(r1) -/* 80068A94 000659F4 D0 A1 03 18 */ stfs f5, 0x318(r1) -/* 80068A98 000659F8 D0 81 03 1C */ stfs f4, 0x31c(r1) -/* 80068A9C 000659FC D0 61 03 20 */ stfs f3, 0x320(r1) -/* 80068AA0 00065A00 D0 41 03 24 */ stfs f2, 0x324(r1) -/* 80068AA4 00065A04 90 81 03 28 */ stw r4, 0x328(r1) -/* 80068AA8 00065A08 90 61 03 2C */ stw r3, 0x32c(r1) -/* 80068AAC 00065A0C D0 21 03 30 */ stfs f1, 0x330(r1) -/* 80068AB0 00065A10 D0 01 03 34 */ stfs f0, 0x334(r1) -/* 80068AB4 00065A14 98 01 03 38 */ stb r0, 0x338(r1) -lbl_80068AB8: -/* 80068AB8 00065A18 2C 13 FF FF */ cmpwi r19, -1 -/* 80068ABC 00065A1C 41 82 00 14 */ beq lbl_80068AD0 -/* 80068AC0 00065A20 56 63 18 38 */ slwi r3, r19, 3 -/* 80068AC4 00065A24 38 03 00 08 */ addi r0, r3, 8 -/* 80068AC8 00065A28 7E 77 02 AE */ lhax r19, r23, r0 -/* 80068ACC 00065A2C 48 00 00 08 */ b lbl_80068AD4 -lbl_80068AD0: -/* 80068AD0 00065A30 3A 60 FF FF */ li r19, -1 -lbl_80068AD4: -/* 80068AD4 00065A34 2C 13 FF FF */ cmpwi r19, -1 -/* 80068AD8 00065A38 40 82 FE 88 */ bne lbl_80068960 -/* 80068ADC 00065A3C 38 61 02 EC */ addi r3, r1, 0x2ec -/* 80068AE0 00065A40 48 29 D6 75 */ bl GetIntensity__6CLightCFv -/* 80068AE4 00065A44 C0 02 87 9C */ lfs f0, lbl_805AA4BC@sda21(r2) -/* 80068AE8 00065A48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80068AEC 00065A4C 40 81 01 BC */ ble lbl_80068CA8 -/* 80068AF0 00065A50 C0 41 02 EC */ lfs f2, 0x2ec(r1) -/* 80068AF4 00065A54 38 61 01 28 */ addi r3, r1, 0x128 -/* 80068AF8 00065A58 C0 21 02 F0 */ lfs f1, 0x2f0(r1) -/* 80068AFC 00065A5C C0 01 02 F4 */ lfs f0, 0x2f4(r1) -/* 80068B00 00065A60 EC 5D 10 28 */ fsubs f2, f29, f2 -/* 80068B04 00065A64 EC 3C 08 28 */ fsubs f1, f28, f1 -/* 80068B08 00065A68 EC 1B 00 28 */ fsubs f0, f27, f0 -/* 80068B0C 00065A6C D0 41 01 28 */ stfs f2, 0x128(r1) -/* 80068B10 00065A70 D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 80068B14 00065A74 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 80068B18 00065A78 48 2A BD A1 */ bl Magnitude__9CVector3fCFv -/* 80068B1C 00065A7C FC 40 08 18 */ frsp f2, f1 -/* 80068B20 00065A80 C0 02 87 C4 */ lfs f0, lbl_805AA4E4@sda21(r2) -/* 80068B24 00065A84 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80068B28 00065A88 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80068B2C 00065A8C 40 80 00 0C */ bge lbl_80068B38 -/* 80068B30 00065A90 38 62 87 C4 */ addi r3, r2, lbl_805AA4E4@sda21 -/* 80068B34 00065A94 48 00 00 08 */ b lbl_80068B3C -lbl_80068B38: -/* 80068B38 00065A98 38 61 00 44 */ addi r3, r1, 0x44 -lbl_80068B3C: -/* 80068B3C 00065A9C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80068B40 00065AA0 C0 01 03 14 */ lfs f0, 0x314(r1) -/* 80068B44 00065AA4 C0 24 02 BC */ lfs f1, 0x2bc(r4) -/* 80068B48 00065AA8 C0 C3 00 00 */ lfs f6, 0(r3) -/* 80068B4C 00065AAC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80068B50 00065AB0 C0 44 02 C0 */ lfs f2, 0x2c0(r4) -/* 80068B54 00065AB4 C0 21 03 18 */ lfs f1, 0x318(r1) -/* 80068B58 00065AB8 C0 64 02 B8 */ lfs f3, 0x2b8(r4) -/* 80068B5C 00065ABC EC 82 00 72 */ fmuls f4, f2, f1 -/* 80068B60 00065AC0 C0 41 03 10 */ lfs f2, 0x310(r1) -/* 80068B64 00065AC4 EC 26 00 32 */ fmuls f1, f6, f0 -/* 80068B68 00065AC8 C0 A2 87 28 */ lfs f5, lbl_805AA448@sda21(r2) -/* 80068B6C 00065ACC C0 0D 83 14 */ lfs f0, lbl_805A6ED4@sda21(r13) -/* 80068B70 00065AD0 EC 86 01 32 */ fmuls f4, f6, f4 -/* 80068B74 00065AD4 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 80068B78 00065AD8 EC 26 09 3A */ fmadds f1, f6, f4, f1 -/* 80068B7C 00065ADC EC 25 08 24 */ fdivs f1, f5, f1 -/* 80068B80 00065AE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80068B84 00065AE4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80068B88 00065AE8 40 80 00 0C */ bge lbl_80068B94 -/* 80068B8C 00065AEC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80068B90 00065AF0 48 00 00 08 */ b lbl_80068B98 -lbl_80068B94: -/* 80068B94 00065AF4 38 6D 83 14 */ addi r3, r13, lbl_805A6ED4@sda21 -lbl_80068B98: -/* 80068B98 00065AF8 C0 23 00 00 */ lfs f1, 0(r3) -/* 80068B9C 00065AFC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80068BA0 00065B00 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) -/* 80068BA4 00065B04 FC 40 08 90 */ fmr f2, f1 -/* 80068BA8 00065B08 FC 60 08 90 */ fmr f3, f1 -/* 80068BAC 00065B0C 48 2F A8 41 */ bl __ct__6CColorFffff -/* 80068BB0 00065B10 7C 65 1B 78 */ mr r5, r3 -/* 80068BB4 00065B14 7E A4 AB 78 */ mr r4, r21 -/* 80068BB8 00065B18 38 61 00 3C */ addi r3, r1, 0x3c -/* 80068BBC 00065B1C 48 2F A5 BD */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80068BC0 00065B20 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80068BC4 00065B24 7F C4 F3 78 */ mr r4, r30 -/* 80068BC8 00065B28 7F E6 FB 78 */ mr r6, r31 -/* 80068BCC 00065B2C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80068BD0 00065B30 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80068BD4 00065B34 38 A1 00 7C */ addi r5, r1, 0x7c -/* 80068BD8 00065B38 4B FF F4 C9 */ bl GetVisorHudLightColor__9CSamusHudFRC6CColorRC13CStateManager -/* 80068BDC 00065B3C 80 01 03 08 */ lwz r0, 0x308(r1) -/* 80068BE0 00065B40 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80068BE4 00065B44 2C 00 00 00 */ cmpwi r0, 0 -/* 80068BE8 00065B48 90 61 00 7C */ stw r3, 0x7c(r1) -/* 80068BEC 00065B4C 40 82 00 A4 */ bne lbl_80068C90 -/* 80068BF0 00065B50 C0 9B 00 48 */ lfs f4, 0x48(r27) -/* 80068BF4 00065B54 C0 01 02 FC */ lfs f0, 0x2fc(r1) -/* 80068BF8 00065B58 C0 7B 00 38 */ lfs f3, 0x38(r27) -/* 80068BFC 00065B5C EC 04 00 32 */ fmuls f0, f4, f0 -/* 80068C00 00065B60 C0 21 02 F8 */ lfs f1, 0x2f8(r1) -/* 80068C04 00065B64 C0 BB 00 58 */ lfs f5, 0x58(r27) -/* 80068C08 00065B68 C0 41 03 00 */ lfs f2, 0x300(r1) -/* 80068C0C 00065B6C EC 23 00 7A */ fmadds f1, f3, f1, f0 -/* 80068C10 00065B70 C0 0D 83 18 */ lfs f0, lbl_805A6ED8@sda21(r13) -/* 80068C14 00065B74 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 80068C18 00065B78 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 80068C1C 00065B7C D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 80068C20 00065B80 D0 A1 00 A8 */ stfs f5, 0xa8(r1) -/* 80068C24 00065B84 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80068C28 00065B88 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80068C2C 00065B8C 40 80 00 0C */ bge lbl_80068C38 -/* 80068C30 00065B90 38 61 00 30 */ addi r3, r1, 0x30 -/* 80068C34 00065B94 48 00 00 08 */ b lbl_80068C3C -lbl_80068C38: -/* 80068C38 00065B98 38 6D 83 18 */ addi r3, r13, lbl_805A6ED8@sda21 -lbl_80068C3C: -/* 80068C3C 00065B9C C0 23 00 00 */ lfs f1, 0(r3) -/* 80068C40 00065BA0 48 2A C7 75 */ bl ArcSineR__5CMathFf -/* 80068C44 00065BA4 C0 02 87 D4 */ lfs f0, lbl_805AA4F4@sda21(r2) -/* 80068C48 00065BA8 38 81 00 2C */ addi r4, r1, 0x2c -/* 80068C4C 00065BAC 38 6D 83 1C */ addi r3, r13, lbl_805A6EDC@sda21 -/* 80068C50 00065BB0 38 AD 83 20 */ addi r5, r13, lbl_805A6EE0@sda21 -/* 80068C54 00065BB4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80068C58 00065BB8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80068C5C 00065BBC 4B FA 36 59 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80068C60 00065BC0 C0 23 00 00 */ lfs f1, 0(r3) -/* 80068C64 00065BC4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80068C68 00065BC8 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) -/* 80068C6C 00065BCC FC 40 08 90 */ fmr f2, f1 -/* 80068C70 00065BD0 FC 60 08 90 */ fmr f3, f1 -/* 80068C74 00065BD4 48 2F A7 79 */ bl __ct__6CColorFffff -/* 80068C78 00065BD8 7C 65 1B 78 */ mr r5, r3 -/* 80068C7C 00065BDC 38 61 00 28 */ addi r3, r1, 0x28 -/* 80068C80 00065BE0 38 81 00 7C */ addi r4, r1, 0x7c -/* 80068C84 00065BE4 48 2F A4 F5 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80068C88 00065BE8 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80068C8C 00065BEC 90 01 00 7C */ stw r0, 0x7c(r1) -lbl_80068C90: -/* 80068C90 00065BF0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80068C94 00065BF4 38 81 00 88 */ addi r4, r1, 0x88 -/* 80068C98 00065BF8 38 A1 00 7C */ addi r5, r1, 0x7c -/* 80068C9C 00065BFC 48 2F A4 15 */ bl Add__6CColorFRC6CColorRC6CColor -/* 80068CA0 00065C00 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80068CA4 00065C04 90 01 00 88 */ stw r0, 0x88(r1) -lbl_80068CA8: -/* 80068CA8 00065C08 38 80 00 40 */ li r4, 0x40 -/* 80068CAC 00065C0C 38 00 00 FF */ li r0, 0xff -/* 80068CB0 00065C10 98 81 00 78 */ stb r4, 0x78(r1) -/* 80068CB4 00065C14 38 61 00 14 */ addi r3, r1, 0x14 -/* 80068CB8 00065C18 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) -/* 80068CBC 00065C1C 98 81 00 79 */ stb r4, 0x79(r1) -/* 80068CC0 00065C20 98 81 00 7A */ stb r4, 0x7a(r1) -/* 80068CC4 00065C24 98 01 00 7B */ stb r0, 0x7b(r1) -/* 80068CC8 00065C28 C0 3C 02 88 */ lfs f1, 0x288(r28) -/* 80068CCC 00065C2C C0 5C 02 8C */ lfs f2, 0x28c(r28) -/* 80068CD0 00065C30 C0 7C 02 90 */ lfs f3, 0x290(r28) -/* 80068CD4 00065C34 48 2F A7 19 */ bl __ct__6CColorFffff -/* 80068CD8 00065C38 38 61 00 18 */ addi r3, r1, 0x18 -/* 80068CDC 00065C3C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80068CE0 00065C40 38 A1 00 78 */ addi r5, r1, 0x78 -/* 80068CE4 00065C44 48 2F A4 95 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80068CE8 00065C48 38 61 00 1C */ addi r3, r1, 0x1c -/* 80068CEC 00065C4C 38 81 00 88 */ addi r4, r1, 0x88 -/* 80068CF0 00065C50 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80068CF4 00065C54 48 2F A3 BD */ bl Add__6CColorFRC6CColorRC6CColor -/* 80068CF8 00065C58 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80068CFC 00065C5C 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 80068D00 00065C60 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l -/* 80068D04 00065C64 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80068D08 00065C68 90 01 00 88 */ stw r0, 0x88(r1) -/* 80068D0C 00065C6C 57 40 10 3A */ slwi r0, r26, 2 -/* 80068D10 00065C70 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80068D14 00065C74 C0 62 87 48 */ lfs f3, lbl_805AA468@sda21(r2) -/* 80068D18 00065C78 7E 79 00 2E */ lwzx r19, r25, r0 -/* 80068D1C 00065C7C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80068D20 00065C80 C0 FD 00 04 */ lfs f7, 4(r29) -/* 80068D24 00065C84 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 80068D28 00065C88 C0 13 00 48 */ lfs f0, 0x48(r19) -/* 80068D2C 00065C8C 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 80068D30 00065C90 C0 33 00 38 */ lfs f1, 0x38(r19) -/* 80068D34 00065C94 38 A1 01 1C */ addi r5, r1, 0x11c -/* 80068D38 00065C98 EC A3 00 32 */ fmuls f5, f3, f0 -/* 80068D3C 00065C9C C0 53 00 58 */ lfs f2, 0x58(r19) -/* 80068D40 00065CA0 EC C3 00 72 */ fmuls f6, f3, f1 -/* 80068D44 00065CA4 C1 27 00 00 */ lfs f9, 0(r7) -/* 80068D48 00065CA8 EC 83 00 B2 */ fmuls f4, f3, f2 -/* 80068D4C 00065CAC C0 02 87 70 */ lfs f0, lbl_805AA490@sda21(r2) -/* 80068D50 00065CB0 EC 27 01 72 */ fmuls f1, f7, f5 -/* 80068D54 00065CB4 C1 1D 00 08 */ lfs f8, 8(r29) -/* 80068D58 00065CB8 EC 40 02 72 */ fmuls f2, f0, f9 -/* 80068D5C 00065CBC EC 69 09 BA */ fmadds f3, f9, f6, f1 -/* 80068D60 00065CC0 EC 20 01 F2 */ fmuls f1, f0, f7 -/* 80068D64 00065CC4 EC 00 02 32 */ fmuls f0, f0, f8 -/* 80068D68 00065CC8 EC 68 19 3A */ fmadds f3, f8, f4, f3 -/* 80068D6C 00065CCC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80068D70 00065CD0 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80068D74 00065CD4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80068D78 00065CD8 EC 42 30 28 */ fsubs f2, f2, f6 -/* 80068D7C 00065CDC EC 21 28 28 */ fsubs f1, f1, f5 -/* 80068D80 00065CE0 EC 00 20 28 */ fsubs f0, f0, f4 -/* 80068D84 00065CE4 D0 41 01 1C */ stfs f2, 0x11c(r1) -/* 80068D88 00065CE8 D0 21 01 20 */ stfs f1, 0x120(r1) -/* 80068D8C 00065CEC D0 01 01 24 */ stfs f0, 0x124(r1) -/* 80068D90 00065CF0 82 99 00 0C */ lwz r20, 0xc(r25) -/* 80068D94 00065CF4 48 2A AD 7D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80068D98 00065CF8 7E 83 A3 78 */ mr r3, r20 -/* 80068D9C 00065CFC 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 80068DA0 00065D00 48 25 B9 99 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f -/* 80068DA4 00065D04 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80068DA8 00065D08 38 61 00 10 */ addi r3, r1, 0x10 -/* 80068DAC 00065D0C 38 B3 00 A4 */ addi r5, r19, 0xa4 -/* 80068DB0 00065D10 38 84 02 B4 */ addi r4, r4, 0x2b4 -/* 80068DB4 00065D14 48 2F A3 C5 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80068DB8 00065D18 7E 83 A3 78 */ mr r3, r20 -/* 80068DBC 00065D1C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80068DC0 00065D20 48 26 1A AD */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80068DC4 00065D24 80 01 00 88 */ lwz r0, 0x88(r1) -/* 80068DC8 00065D28 90 14 00 DC */ stw r0, 0xdc(r20) -lbl_80068DCC: -/* 80068DCC 00065D2C E3 E1 04 28 */ psq_l f31, 1064(r1), 0, qr0 -/* 80068DD0 00065D30 CB E1 04 20 */ lfd f31, 0x420(r1) -/* 80068DD4 00065D34 E3 C1 04 18 */ psq_l f30, 1048(r1), 0, qr0 -/* 80068DD8 00065D38 CB C1 04 10 */ lfd f30, 0x410(r1) -/* 80068DDC 00065D3C E3 A1 04 08 */ psq_l f29, 1032(r1), 0, qr0 -/* 80068DE0 00065D40 CB A1 04 00 */ lfd f29, 0x400(r1) -/* 80068DE4 00065D44 E3 81 03 F8 */ psq_l f28, 1016(r1), 0, qr0 -/* 80068DE8 00065D48 CB 81 03 F0 */ lfd f28, 0x3f0(r1) -/* 80068DEC 00065D4C E3 61 03 E8 */ psq_l f27, 1000(r1), 0, qr0 -/* 80068DF0 00065D50 CB 61 03 E0 */ lfd f27, 0x3e0(r1) -/* 80068DF4 00065D54 E3 41 03 D8 */ psq_l f26, 984(r1), 0, qr0 -/* 80068DF8 00065D58 CB 41 03 D0 */ lfd f26, 0x3d0(r1) -/* 80068DFC 00065D5C E3 21 03 C8 */ psq_l f25, 968(r1), 0, qr0 -/* 80068E00 00065D60 CB 21 03 C0 */ lfd f25, 0x3c0(r1) -/* 80068E04 00065D64 E3 01 03 B8 */ psq_l f24, 952(r1), 0, qr0 -/* 80068E08 00065D68 CB 01 03 B0 */ lfd f24, 0x3b0(r1) -/* 80068E0C 00065D6C E2 E1 03 A8 */ psq_l f23, 936(r1), 0, qr0 -/* 80068E10 00065D70 CA E1 03 A0 */ lfd f23, 0x3a0(r1) -/* 80068E14 00065D74 E2 C1 03 98 */ psq_l f22, 920(r1), 0, qr0 -/* 80068E18 00065D78 CA C1 03 90 */ lfd f22, 0x390(r1) -/* 80068E1C 00065D7C E2 A1 03 88 */ psq_l f21, 904(r1), 0, qr0 -/* 80068E20 00065D80 CA A1 03 80 */ lfd f21, 0x380(r1) -/* 80068E24 00065D84 BA 61 03 4C */ lmw r19, 0x34c(r1) -/* 80068E28 00065D88 80 01 04 34 */ lwz r0, 0x434(r1) -/* 80068E2C 00065D8C 7C 08 03 A6 */ mtlr r0 -/* 80068E30 00065D90 38 21 04 30 */ addi r1, r1, 0x430 -/* 80068E34 00065D94 4E 80 00 20 */ blr - -.global FindEmptyHudLightSlot__9CSamusHudCFRC6CLight -FindEmptyHudLightSlot__9CSamusHudCFRC6CLight: -/* 80068E38 00065D98 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 80068E3C 00065D9C C0 03 03 60 */ lfs f0, 0x360(r3) -/* 80068E40 00065DA0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80068E44 00065DA4 40 82 00 0C */ bne lbl_80068E50 -/* 80068E48 00065DA8 38 60 00 00 */ li r3, 0 -/* 80068E4C 00065DAC 4E 80 00 20 */ blr -lbl_80068E50: -/* 80068E50 00065DB0 C0 03 03 80 */ lfs f0, 0x380(r3) -/* 80068E54 00065DB4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80068E58 00065DB8 40 82 00 0C */ bne lbl_80068E64 -/* 80068E5C 00065DBC 38 60 00 01 */ li r3, 1 -/* 80068E60 00065DC0 4E 80 00 20 */ blr -lbl_80068E64: -/* 80068E64 00065DC4 C0 03 03 A0 */ lfs f0, 0x3a0(r3) -/* 80068E68 00065DC8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80068E6C 00065DCC 40 82 00 0C */ bne lbl_80068E78 -/* 80068E70 00065DD0 38 60 00 02 */ li r3, 2 -/* 80068E74 00065DD4 4E 80 00 20 */ blr -lbl_80068E78: -/* 80068E78 00065DD8 38 60 FF FF */ li r3, -1 -/* 80068E7C 00065DDC 4E 80 00 20 */ blr - -.global IsAreaLightInCachedLights__9CSamusHudCFRC6CLight -IsAreaLightInCachedLights__9CSamusHudCFRC6CLight: -/* 80068E80 00065DE0 38 00 00 03 */ li r0, 3 -/* 80068E84 00065DE4 38 A3 03 44 */ addi r5, r3, 0x344 -/* 80068E88 00065DE8 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) -/* 80068E8C 00065DEC 7C 09 03 A6 */ mtctr r0 -lbl_80068E90: -/* 80068E90 00065DF0 C0 05 00 1C */ lfs f0, 0x1c(r5) -/* 80068E94 00065DF4 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 80068E98 00065DF8 41 82 00 5C */ beq lbl_80068EF4 -/* 80068E9C 00065DFC 80 64 00 18 */ lwz r3, 0x18(r4) -/* 80068EA0 00065E00 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80068EA4 00065E04 7C 03 00 40 */ cmplw r3, r0 -/* 80068EA8 00065E08 40 82 00 4C */ bne lbl_80068EF4 -/* 80068EAC 00065E0C C0 24 00 00 */ lfs f1, 0(r4) -/* 80068EB0 00065E10 38 00 00 00 */ li r0, 0 -/* 80068EB4 00065E14 C0 05 00 00 */ lfs f0, 0(r5) -/* 80068EB8 00065E18 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80068EBC 00065E1C 40 82 00 28 */ bne lbl_80068EE4 -/* 80068EC0 00065E20 C0 24 00 04 */ lfs f1, 4(r4) -/* 80068EC4 00065E24 C0 05 00 04 */ lfs f0, 4(r5) -/* 80068EC8 00065E28 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80068ECC 00065E2C 40 82 00 18 */ bne lbl_80068EE4 -/* 80068ED0 00065E30 C0 24 00 08 */ lfs f1, 8(r4) -/* 80068ED4 00065E34 C0 05 00 08 */ lfs f0, 8(r5) -/* 80068ED8 00065E38 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80068EDC 00065E3C 40 82 00 08 */ bne lbl_80068EE4 -/* 80068EE0 00065E40 38 00 00 01 */ li r0, 1 -lbl_80068EE4: -/* 80068EE4 00065E44 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80068EE8 00065E48 41 82 00 0C */ beq lbl_80068EF4 -/* 80068EEC 00065E4C 38 60 00 01 */ li r3, 1 -/* 80068EF0 00065E50 4E 80 00 20 */ blr -lbl_80068EF4: -/* 80068EF4 00065E54 38 A5 00 20 */ addi r5, r5, 0x20 -/* 80068EF8 00065E58 42 00 FF 98 */ bdnz lbl_80068E90 -/* 80068EFC 00065E5C 38 60 00 00 */ li r3, 0 -/* 80068F00 00065E60 4E 80 00 20 */ blr - -.global IsCachedLightInAreaLights__9CSamusHudCFRCQ29CSamusHud15SCachedHudLightRC12CActorLights -IsCachedLightInAreaLights__9CSamusHudCFRCQ29CSamusHud15SCachedHudLightRC12CActorLights: -/* 80068F04 00065E64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80068F08 00065E68 7C 08 02 A6 */ mflr r0 -/* 80068F0C 00065E6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80068F10 00065E70 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80068F14 00065E74 3B E0 00 00 */ li r31, 0 -/* 80068F18 00065E78 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80068F1C 00065E7C 7C BE 2B 78 */ mr r30, r5 -/* 80068F20 00065E80 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80068F24 00065E84 7C 9D 23 78 */ mr r29, r4 -/* 80068F28 00065E88 48 00 00 6C */ b lbl_80068F94 -lbl_80068F2C: -/* 80068F2C 00065E8C 7F C3 F3 78 */ mr r3, r30 -/* 80068F30 00065E90 7F E4 FB 78 */ mr r4, r31 -/* 80068F34 00065E94 48 09 C1 31 */ bl GetLight__12CActorLightsCFUi -/* 80068F38 00065E98 80 83 00 18 */ lwz r4, 0x18(r3) -/* 80068F3C 00065E9C 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80068F40 00065EA0 7C 04 00 40 */ cmplw r4, r0 -/* 80068F44 00065EA4 40 82 00 4C */ bne lbl_80068F90 -/* 80068F48 00065EA8 C0 23 00 00 */ lfs f1, 0(r3) -/* 80068F4C 00065EAC 38 00 00 00 */ li r0, 0 -/* 80068F50 00065EB0 C0 1D 00 00 */ lfs f0, 0(r29) -/* 80068F54 00065EB4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80068F58 00065EB8 40 82 00 28 */ bne lbl_80068F80 -/* 80068F5C 00065EBC C0 23 00 04 */ lfs f1, 4(r3) -/* 80068F60 00065EC0 C0 1D 00 04 */ lfs f0, 4(r29) -/* 80068F64 00065EC4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80068F68 00065EC8 40 82 00 18 */ bne lbl_80068F80 -/* 80068F6C 00065ECC C0 23 00 08 */ lfs f1, 8(r3) -/* 80068F70 00065ED0 C0 1D 00 08 */ lfs f0, 8(r29) -/* 80068F74 00065ED4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80068F78 00065ED8 40 82 00 08 */ bne lbl_80068F80 -/* 80068F7C 00065EDC 38 00 00 01 */ li r0, 1 -lbl_80068F80: -/* 80068F80 00065EE0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80068F84 00065EE4 41 82 00 0C */ beq lbl_80068F90 -/* 80068F88 00065EE8 38 60 00 01 */ li r3, 1 -/* 80068F8C 00065EEC 48 00 00 18 */ b lbl_80068FA4 -lbl_80068F90: -/* 80068F90 00065EF0 3B FF 00 01 */ addi r31, r31, 1 -lbl_80068F94: -/* 80068F94 00065EF4 80 1E 00 00 */ lwz r0, 0(r30) -/* 80068F98 00065EF8 7C 1F 00 40 */ cmplw r31, r0 -/* 80068F9C 00065EFC 41 80 FF 90 */ blt lbl_80068F2C -/* 80068FA0 00065F00 38 60 00 00 */ li r3, 0 -lbl_80068FA4: -/* 80068FA4 00065F04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80068FA8 00065F08 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80068FAC 00065F0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80068FB0 00065F10 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80068FB4 00065F14 7C 08 03 A6 */ mtlr r0 -/* 80068FB8 00065F18 38 21 00 20 */ addi r1, r1, 0x20 -/* 80068FBC 00065F1C 4E 80 00 20 */ blr - -.global OnNewInGameGuiState__9CSamusHudF15EInGameGuiStateR13CStateManager -OnNewInGameGuiState__9CSamusHudF15EInGameGuiStateR13CStateManager: -/* 80068FC0 00065F20 4E 80 00 20 */ blr - -.global UpdateBallMode__9CSamusHudFRC13CStateManagerb -UpdateBallMode__9CSamusHudFRC13CStateManagerb: -/* 80068FC4 00065F24 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80068FC8 00065F28 7C 08 02 A6 */ mflr r0 -/* 80068FCC 00065F2C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80068FD0 00065F30 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80068FD4 00065F34 7C 7E 1B 78 */ mr r30, r3 -/* 80068FD8 00065F38 7C 9F 23 78 */ mr r31, r4 -/* 80068FDC 00065F3C 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 80068FE0 00065F40 28 00 00 00 */ cmplwi r0, 0 -/* 80068FE4 00065F44 41 82 00 9C */ beq lbl_80069080 -/* 80068FE8 00065F48 80 BF 08 B8 */ lwz r5, 0x8b8(r31) -/* 80068FEC 00065F4C 38 80 00 07 */ li r4, 7 -/* 80068FF0 00065F50 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80068FF4 00065F54 83 A5 00 00 */ lwz r29, 0(r5) -/* 80068FF8 00065F58 83 83 04 90 */ lwz r28, 0x490(r3) -/* 80068FFC 00065F5C 7F A3 EB 78 */ mr r3, r29 -/* 80069000 00065F60 48 02 8B 1D */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80069004 00065F64 7C 60 1B 78 */ mr r0, r3 -/* 80069008 00065F68 7F A3 EB 78 */ mr r3, r29 -/* 8006900C 00065F6C 7C 1A 03 78 */ mr r26, r0 -/* 80069010 00065F70 38 80 00 07 */ li r4, 7 -/* 80069014 00065F74 48 02 8A E1 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80069018 00065F78 88 1C 08 35 */ lbz r0, 0x835(r28) -/* 8006901C 00065F7C 7C 79 1B 78 */ mr r25, r3 -/* 80069020 00065F80 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80069024 00065F84 41 82 00 0C */ beq lbl_80069030 -/* 80069028 00065F88 83 7C 03 08 */ lwz r27, 0x308(r28) -/* 8006902C 00065F8C 48 00 00 08 */ b lbl_80069034 -lbl_80069030: -/* 80069030 00065F90 3B 60 00 00 */ li r27, 0 -lbl_80069034: -/* 80069034 00065F94 7F A3 EB 78 */ mr r3, r29 -/* 80069038 00065F98 38 80 00 06 */ li r4, 6 -/* 8006903C 00065F9C 48 02 8A 85 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80069040 00065FA0 88 1C 08 35 */ lbz r0, 0x835(r28) -/* 80069044 00065FA4 7C 67 1B 78 */ mr r7, r3 -/* 80069048 00065FA8 39 00 00 00 */ li r8, 0 -/* 8006904C 00065FAC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80069050 00065FB0 41 82 00 18 */ beq lbl_80069068 -/* 80069054 00065FB4 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80069058 00065FB8 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8006905C 00065FBC 2C 00 00 01 */ cmpwi r0, 1 -/* 80069060 00065FC0 40 82 00 08 */ bne lbl_80069068 -/* 80069064 00065FC4 39 00 00 01 */ li r8, 1 -lbl_80069068: -/* 80069068 00065FC8 80 7E 02 B0 */ lwz r3, 0x2b0(r30) -/* 8006906C 00065FCC 7F 44 D3 78 */ mr r4, r26 -/* 80069070 00065FD0 7F 25 CB 78 */ mr r5, r25 -/* 80069074 00065FD4 7F 66 DB 78 */ mr r6, r27 -/* 80069078 00065FD8 39 20 00 00 */ li r9, 0 -/* 8006907C 00065FDC 48 16 45 BD */ bl SetBombParams__17CHudBallInterfaceFiiibbb -lbl_80069080: -/* 80069080 00065FE0 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80069084 00065FE4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80069088 00065FE8 7C 08 03 A6 */ mtlr r0 -/* 8006908C 00065FEC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80069090 00065FF0 4E 80 00 20 */ blr - -.global UpdateMissile__9CSamusHudFfRC13CStateManagerb -UpdateMissile__9CSamusHudFfRC13CStateManagerb: -/* 80069094 00065FF4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80069098 00065FF8 7C 08 02 A6 */ mflr r0 -/* 8006909C 00065FFC 90 01 00 34 */ stw r0, 0x34(r1) -/* 800690A0 00066000 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 800690A4 00066004 7C 7B 1B 78 */ mr r27, r3 -/* 800690A8 00066008 7C 9C 23 78 */ mr r28, r4 -/* 800690AC 0006600C 7C B9 2B 78 */ mr r25, r5 -/* 800690B0 00066010 80 C4 08 4C */ lwz r6, 0x84c(r4) -/* 800690B4 00066014 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 800690B8 00066018 38 80 00 04 */ li r4, 4 -/* 800690BC 0006601C 83 46 04 90 */ lwz r26, 0x490(r6) -/* 800690C0 00066020 83 A3 00 00 */ lwz r29, 0(r3) -/* 800690C4 00066024 83 FA 03 1C */ lwz r31, 0x31c(r26) -/* 800690C8 00066028 7F A3 EB 78 */ mr r3, r29 -/* 800690CC 0006602C 48 02 8A 51 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800690D0 00066030 7C 60 1B 78 */ mr r0, r3 -/* 800690D4 00066034 7F A3 EB 78 */ mr r3, r29 -/* 800690D8 00066038 7C 1E 03 78 */ mr r30, r0 -/* 800690DC 0006603C 38 80 00 04 */ li r4, 4 -/* 800690E0 00066040 48 02 8A 15 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800690E4 00066044 88 1A 08 34 */ lbz r0, 0x834(r26) -/* 800690E8 00066048 7C 7D 1B 78 */ mr r29, r3 -/* 800690EC 0006604C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800690F0 00066050 41 82 00 0C */ beq lbl_800690FC -/* 800690F4 00066054 C0 3A 03 40 */ lfs f1, 0x340(r26) -/* 800690F8 00066058 48 00 00 08 */ b lbl_80069100 -lbl_800690FC: -/* 800690FC 0006605C C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -lbl_80069100: -/* 80069100 00066060 80 7B 02 94 */ lwz r3, 0x294(r27) -/* 80069104 00066064 28 03 00 00 */ cmplwi r3, 0 -/* 80069108 00066068 41 82 00 08 */ beq lbl_80069110 -/* 8006910C 0006606C 48 12 87 D9 */ bl SetChargeBeamFactor__20CHudMissileInterfaceFf -lbl_80069110: -/* 80069110 00066070 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 80069114 00066074 40 82 00 28 */ bne lbl_8006913C -/* 80069118 00066078 80 1B 02 D8 */ lwz r0, 0x2d8(r27) -/* 8006911C 0006607C 7C 1E 00 00 */ cmpw r30, r0 -/* 80069120 00066080 40 82 00 1C */ bne lbl_8006913C -/* 80069124 00066084 80 1B 02 EC */ lwz r0, 0x2ec(r27) -/* 80069128 00066088 7C 1F 00 00 */ cmpw r31, r0 -/* 8006912C 0006608C 40 82 00 10 */ bne lbl_8006913C -/* 80069130 00066090 80 1B 02 DC */ lwz r0, 0x2dc(r27) -/* 80069134 00066094 7C 1D 00 00 */ cmpw r29, r0 -/* 80069138 00066098 41 82 00 6C */ beq lbl_800691A4 -lbl_8006913C: -/* 8006913C 0006609C 80 7B 02 94 */ lwz r3, 0x294(r27) -/* 80069140 000660A0 28 03 00 00 */ cmplwi r3, 0 -/* 80069144 000660A4 41 82 00 54 */ beq lbl_80069198 -/* 80069148 000660A8 80 1B 02 DC */ lwz r0, 0x2dc(r27) -/* 8006914C 000660AC 7C 00 E8 00 */ cmpw r0, r29 -/* 80069150 000660B0 41 82 00 0C */ beq lbl_8006915C -/* 80069154 000660B4 7F A4 EB 78 */ mr r4, r29 -/* 80069158 000660B8 48 12 88 95 */ bl SetMissileCapacity__20CHudMissileInterfaceFf -lbl_8006915C: -/* 8006915C 000660BC 80 1B 02 D8 */ lwz r0, 0x2d8(r27) -/* 80069160 000660C0 7C 00 F0 00 */ cmpw r0, r30 -/* 80069164 000660C4 41 82 00 14 */ beq lbl_80069178 -/* 80069168 000660C8 80 7B 02 94 */ lwz r3, 0x294(r27) -/* 8006916C 000660CC 7F C4 F3 78 */ mr r4, r30 -/* 80069170 000660D0 7F 85 E3 78 */ mr r5, r28 -/* 80069174 000660D4 48 12 87 79 */ bl SetNumMissiles__20CHudMissileInterfaceFiRC13CStateManager -lbl_80069178: -/* 80069178 000660D8 80 1B 02 EC */ lwz r0, 0x2ec(r27) -/* 8006917C 000660DC 7C 00 F8 00 */ cmpw r0, r31 -/* 80069180 000660E0 41 82 00 18 */ beq lbl_80069198 -/* 80069184 000660E4 20 1F 00 01 */ subfic r0, r31, 1 -/* 80069188 000660E8 80 7B 02 94 */ lwz r3, 0x294(r27) -/* 8006918C 000660EC 7C 00 00 34 */ cntlzw r0, r0 -/* 80069190 000660F0 54 04 D9 7E */ srwi r4, r0, 5 -/* 80069194 000660F4 48 12 87 41 */ bl SetIsMissilesActive__20CHudMissileInterfaceFb -lbl_80069198: -/* 80069198 000660F8 93 DB 02 D8 */ stw r30, 0x2d8(r27) -/* 8006919C 000660FC 93 FB 02 EC */ stw r31, 0x2ec(r27) -/* 800691A0 00066100 93 BB 02 DC */ stw r29, 0x2dc(r27) -lbl_800691A4: -/* 800691A4 00066104 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 800691A8 00066108 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800691AC 0006610C 7C 08 03 A6 */ mtlr r0 -/* 800691B0 00066110 38 21 00 30 */ addi r1, r1, 0x30 -/* 800691B4 00066114 4E 80 00 20 */ blr - -.global UpdateEnergy__9CSamusHudFfRC13CStateManagerb -UpdateEnergy__9CSamusHudFfRC13CStateManagerb: -/* 800691B8 00066118 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 800691BC 0006611C 7C 08 02 A6 */ mflr r0 -/* 800691C0 00066120 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 800691C4 00066124 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 800691C8 00066128 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 800691CC 0006612C DB C1 00 80 */ stfd f30, 0x80(r1) -/* 800691D0 00066130 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 800691D4 00066134 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 800691D8 00066138 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 800691DC 0006613C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800691E0 00066140 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800691E4 00066144 93 A1 00 64 */ stw r29, 0x64(r1) -/* 800691E8 00066148 93 81 00 60 */ stw r28, 0x60(r1) -/* 800691EC 0006614C 7C 9E 23 78 */ mr r30, r4 -/* 800691F0 00066150 7C 7D 1B 78 */ mr r29, r3 -/* 800691F4 00066154 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 800691F8 00066158 7C BC 2B 78 */ mr r28, r5 -/* 800691FC 0006615C 80 63 00 00 */ lwz r3, 0(r3) -/* 80069200 00066160 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80069204 00066164 48 2A C0 4D */ bl CeilingF__5CMathFf -/* 80069208 00066168 FC 00 08 18 */ frsp f0, f1 -/* 8006920C 0006616C C0 4D 83 04 */ lfs f2, lbl_805A6EC4@sda21(r13) -/* 80069210 00066170 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80069214 00066174 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80069218 00066178 40 80 00 0C */ bge lbl_80069224 -/* 8006921C 0006617C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80069220 00066180 48 00 00 08 */ b lbl_80069228 -lbl_80069224: -/* 80069224 00066184 38 AD 83 04 */ addi r5, r13, lbl_805A6EC4@sda21 -lbl_80069228: -/* 80069228 00066188 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 8006922C 0006618C 38 80 00 18 */ li r4, 0x18 -/* 80069230 00066190 C3 E5 00 00 */ lfs f31, 0(r5) -/* 80069234 00066194 80 63 00 00 */ lwz r3, 0(r3) -/* 80069238 00066198 48 02 88 BD */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8006923C 0006619C 7C 60 1B 78 */ mr r0, r3 -/* 80069240 000661A0 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80069244 000661A4 7C 1F 03 78 */ mr r31, r0 -/* 80069248 000661A8 7F C4 F3 78 */ mr r4, r30 -/* 8006924C 000661AC 4B FA 78 65 */ bl IsEnergyLow__7CPlayerCFRC13CStateManager -/* 80069250 000661B0 88 9D 02 E0 */ lbz r4, 0x2e0(r29) -/* 80069254 000661B4 50 64 26 F6 */ rlwimi r4, r3, 4, 0x1b, 0x1b -/* 80069258 000661B8 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8006925C 000661BC 98 9D 02 E0 */ stb r4, 0x2e0(r29) -/* 80069260 000661C0 40 82 00 1C */ bne lbl_8006927C -/* 80069264 000661C4 C0 1D 02 D0 */ lfs f0, 0x2d0(r29) -/* 80069268 000661C8 FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 8006926C 000661CC 40 82 00 10 */ bne lbl_8006927C -/* 80069270 000661D0 80 1D 02 D4 */ lwz r0, 0x2d4(r29) -/* 80069274 000661D4 7C 1F 00 00 */ cmpw r31, r0 -/* 80069278 000661D8 41 82 00 CC */ beq lbl_80069344 -lbl_8006927C: -/* 8006927C 000661DC FF C0 F8 90 */ fmr f30, f31 -/* 80069280 000661E0 3B 80 00 00 */ li r28, 0 -/* 80069284 000661E4 48 00 00 10 */ b lbl_80069294 -lbl_80069288: -/* 80069288 000661E8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8006928C 000661EC 48 02 85 99 */ bl GetEnergyTankCapacity__12CPlayerStateFv -/* 80069290 000661F0 EF DE 08 28 */ fsubs f30, f30, f1 -lbl_80069294: -/* 80069294 000661F4 48 02 85 99 */ bl GetBaseHealthCapacity__12CPlayerStateFv -/* 80069298 000661F8 FC 1E 08 40 */ fcmpo cr0, f30, f1 -/* 8006929C 000661FC 41 81 FF EC */ bgt lbl_80069288 -/* 800692A0 00066200 80 1D 02 BC */ lwz r0, 0x2bc(r29) -/* 800692A4 00066204 2C 00 00 05 */ cmpwi r0, 5 -/* 800692A8 00066208 41 82 00 9C */ beq lbl_80069344 -/* 800692AC 0006620C 80 1D 02 8C */ lwz r0, 0x28c(r29) -/* 800692B0 00066210 28 00 00 00 */ cmplwi r0, 0 -/* 800692B4 00066214 41 82 00 58 */ beq lbl_8006930C -/* 800692B8 00066218 C3 BD 02 D0 */ lfs f29, 0x2d0(r29) -/* 800692BC 0006621C 48 00 00 0C */ b lbl_800692C8 -lbl_800692C0: -/* 800692C0 00066220 48 02 85 65 */ bl GetEnergyTankCapacity__12CPlayerStateFv -/* 800692C4 00066224 EF BD 08 28 */ fsubs f29, f29, f1 -lbl_800692C8: -/* 800692C8 00066228 48 02 85 65 */ bl GetBaseHealthCapacity__12CPlayerStateFv -/* 800692CC 0006622C FC 1D 08 40 */ fcmpo cr0, f29, f1 -/* 800692D0 00066230 41 81 FF F0 */ bgt lbl_800692C0 -/* 800692D4 00066234 FC 1D F0 40 */ fcmpo cr0, f29, f30 -/* 800692D8 00066238 80 7D 02 8C */ lwz r3, 0x28c(r29) -/* 800692DC 0006623C FC 20 F0 90 */ fmr f1, f30 -/* 800692E0 00066240 7C 00 00 26 */ mfcr r0 -/* 800692E4 00066244 C0 1D 02 D0 */ lfs f0, 0x2d0(r29) -/* 800692E8 00066248 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f -/* 800692EC 0006624C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 800692F0 00066250 7C 00 00 26 */ mfcr r0 -/* 800692F4 00066254 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 800692F8 00066258 7C 85 00 50 */ subf r4, r5, r0 -/* 800692FC 0006625C 7C 00 28 50 */ subf r0, r0, r5 -/* 80069300 00066260 7C 80 03 78 */ or r0, r4, r0 -/* 80069304 00066264 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80069308 00066268 48 12 67 E1 */ bl SetCurrEnergy__19CHudEnergyInterfaceFf -lbl_8006930C: -/* 8006930C 0006626C D3 FD 02 D0 */ stfs f31, 0x2d0(r29) -/* 80069310 00066270 80 7D 02 8C */ lwz r3, 0x28c(r29) -/* 80069314 00066274 28 03 00 00 */ cmplwi r3, 0 -/* 80069318 00066278 41 82 00 28 */ beq lbl_80069340 -/* 8006931C 0006627C 7F E4 FB 78 */ mr r4, r31 -/* 80069320 00066280 48 12 67 A1 */ bl SetNumTotalEnergyTanks__19CHudEnergyInterfaceFi -/* 80069324 00066284 80 7D 02 8C */ lwz r3, 0x28c(r29) -/* 80069328 00066288 7F 84 E3 78 */ mr r4, r28 -/* 8006932C 0006628C 48 12 67 6D */ bl SetNumFilledEnergyTanks__19CHudEnergyInterfaceFi -/* 80069330 00066290 88 1D 02 E0 */ lbz r0, 0x2e0(r29) -/* 80069334 00066294 80 7D 02 8C */ lwz r3, 0x28c(r29) -/* 80069338 00066298 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f -/* 8006933C 0006629C 48 12 65 F5 */ bl SetEnergyLow__19CHudEnergyInterfaceFb -lbl_80069340: -/* 80069340 000662A0 93 FD 02 D4 */ stw r31, 0x2d4(r29) -lbl_80069344: -/* 80069344 000662A4 80 1D 02 B4 */ lwz r0, 0x2b4(r29) -/* 80069348 000662A8 28 00 00 00 */ cmplwi r0, 0 -/* 8006934C 000662AC 41 82 01 14 */ beq lbl_80069460 -/* 80069350 000662B0 A0 1E 0F 18 */ lhz r0, 0xf18(r30) -/* 80069354 000662B4 7F C3 F3 78 */ mr r3, r30 -/* 80069358 000662B8 38 81 00 08 */ addi r4, r1, 8 -/* 8006935C 000662BC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80069360 000662C0 B0 01 00 08 */ sth r0, 8(r1) -/* 80069364 000662C4 4B FE 32 41 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80069368 000662C8 7C 64 1B 78 */ mr r4, r3 -/* 8006936C 000662CC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80069370 000662D0 48 04 69 21 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80069374 000662D4 80 63 00 04 */ lwz r3, 4(r3) -/* 80069378 000662D8 28 03 00 00 */ cmplwi r3, 0 -/* 8006937C 000662DC 41 82 00 B4 */ beq lbl_80069430 -/* 80069380 000662E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80069384 000662E4 7F C4 F3 78 */ mr r4, r30 -/* 80069388 000662E8 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8006938C 000662EC 7D 89 03 A6 */ mtctr r12 -/* 80069390 000662F0 4E 80 04 21 */ bctrl -/* 80069394 000662F4 28 03 00 00 */ cmplwi r3, 0 -/* 80069398 000662F8 41 82 00 64 */ beq lbl_800693FC -/* 8006939C 000662FC C0 23 00 00 */ lfs f1, 0(r3) -/* 800693A0 00066300 48 2A BE B1 */ bl CeilingF__5CMathFf -/* 800693A4 00066304 FF A0 08 90 */ fmr f29, f1 -/* 800693A8 00066308 C3 FE 0F 1C */ lfs f31, 0xf1c(r30) -/* 800693AC 0006630C 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) -/* 800693B0 00066310 80 9E 0F 20 */ lwz r4, 0xf20(r30) -/* 800693B4 00066314 48 2E D3 49 */ bl GetString__12CStringTableCFi -/* 800693B8 00066318 7C 64 1B 78 */ mr r4, r3 -/* 800693BC 0006631C 38 61 00 3C */ addi r3, r1, 0x3c -/* 800693C0 00066320 4B FA C6 31 */ bl wstring_l__4rstlFPCw -/* 800693C4 00066324 38 61 00 4C */ addi r3, r1, 0x4c -/* 800693C8 00066328 38 81 00 3C */ addi r4, r1, 0x3c -/* 800693CC 0006632C 48 2D 43 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800693D0 00066330 38 61 00 3C */ addi r3, r1, 0x3c -/* 800693D4 00066334 48 2D 3D 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800693D8 00066338 FC 20 E8 90 */ fmr f1, f29 -/* 800693DC 0006633C 80 7D 02 B4 */ lwz r3, 0x2b4(r29) -/* 800693E0 00066340 FC 40 F8 90 */ fmr f2, f31 -/* 800693E4 00066344 38 A1 00 4C */ addi r5, r1, 0x4c -/* 800693E8 00066348 38 80 00 01 */ li r4, 1 -/* 800693EC 0006634C 48 12 60 99 */ bl "SetBossParams__23CHudBossEnergyInterfaceFbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800693F0 00066350 38 61 00 4C */ addi r3, r1, 0x4c -/* 800693F4 00066354 48 2D 3D 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800693F8 00066358 48 00 00 68 */ b lbl_80069460 -lbl_800693FC: -/* 800693FC 0006635C 38 8D 83 90 */ addi r4, r13, lbl_805A6F50@sda21 -/* 80069400 00066360 38 61 00 2C */ addi r3, r1, 0x2c -/* 80069404 00066364 38 84 00 04 */ addi r4, r4, 4 -/* 80069408 00066368 4B FA C5 E9 */ bl wstring_l__4rstlFPCw -/* 8006940C 0006636C C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 80069410 00066370 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80069414 00066374 80 7D 02 B4 */ lwz r3, 0x2b4(r29) -/* 80069418 00066378 38 80 00 00 */ li r4, 0 -/* 8006941C 0006637C FC 40 08 90 */ fmr f2, f1 -/* 80069420 00066380 48 12 60 65 */ bl "SetBossParams__23CHudBossEnergyInterfaceFbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80069424 00066384 38 61 00 2C */ addi r3, r1, 0x2c -/* 80069428 00066388 48 2D 3D 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8006942C 0006638C 48 00 00 34 */ b lbl_80069460 -lbl_80069430: -/* 80069430 00066390 38 8D 83 90 */ addi r4, r13, lbl_805A6F50@sda21 -/* 80069434 00066394 38 61 00 1C */ addi r3, r1, 0x1c -/* 80069438 00066398 38 84 00 04 */ addi r4, r4, 4 -/* 8006943C 0006639C 4B FA C5 B5 */ bl wstring_l__4rstlFPCw -/* 80069440 000663A0 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 80069444 000663A4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80069448 000663A8 80 7D 02 B4 */ lwz r3, 0x2b4(r29) -/* 8006944C 000663AC 38 80 00 00 */ li r4, 0 -/* 80069450 000663B0 FC 40 08 90 */ fmr f2, f1 -/* 80069454 000663B4 48 12 60 31 */ bl "SetBossParams__23CHudBossEnergyInterfaceFbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80069458 000663B8 38 61 00 1C */ addi r3, r1, 0x1c -/* 8006945C 000663BC 48 2D 3C D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80069460: -/* 80069460 000663C0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80069464 000663C4 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80069468 000663C8 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8006946C 000663CC CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80069470 000663D0 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80069474 000663D4 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80069478 000663D8 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8006947C 000663DC 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80069480 000663E0 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80069484 000663E4 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80069488 000663E8 83 81 00 60 */ lwz r28, 0x60(r1) -/* 8006948C 000663EC 7C 08 03 A6 */ mtlr r0 -/* 80069490 000663F0 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80069494 000663F4 4E 80 00 20 */ blr - -.global UpdateStaticSfx__9CSamusHudFR10CSfxHandleRfUsfff -UpdateStaticSfx__9CSamusHudFR10CSfxHandleRfUsfff: -/* 80069498 000663F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006949C 000663FC 7C 08 02 A6 */ mflr r0 -/* 800694A0 00066400 FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 800694A4 00066404 90 01 00 24 */ stw r0, 0x24(r1) -/* 800694A8 00066408 38 00 00 00 */ li r0, 0 -/* 800694AC 0006640C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800694B0 00066410 7C 9F 23 78 */ mr r31, r4 -/* 800694B4 00066414 40 81 00 14 */ ble lbl_800694C8 -/* 800694B8 00066418 C0 03 05 10 */ lfs f0, 0x510(r3) -/* 800694BC 0006641C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 800694C0 00066420 4C 40 13 82 */ cror 2, 0, 2 -/* 800694C4 00066424 41 82 00 1C */ beq lbl_800694E0 -lbl_800694C8: -/* 800694C8 00066428 FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 800694CC 0006642C 4C 40 13 82 */ cror 2, 0, 2 -/* 800694D0 00066430 40 82 00 14 */ bne lbl_800694E4 -/* 800694D4 00066434 C0 03 05 10 */ lfs f0, 0x510(r3) -/* 800694D8 00066438 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 800694DC 0006643C 40 81 00 08 */ ble lbl_800694E4 -lbl_800694E0: -/* 800694E0 00066440 38 00 00 01 */ li r0, 1 -lbl_800694E4: -/* 800694E4 00066444 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800694E8 00066448 41 82 00 10 */ beq lbl_800694F8 -/* 800694EC 0006644C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 800694F0 00066450 D0 05 00 00 */ stfs f0, 0(r5) -/* 800694F4 00066454 48 00 00 AC */ b lbl_800695A0 -lbl_800694F8: -/* 800694F8 00066458 C0 45 00 00 */ lfs f2, 0(r5) -/* 800694FC 0006645C C0 02 87 2C */ lfs f0, lbl_805AA44C@sda21(r2) -/* 80069500 00066460 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80069504 00066464 40 80 00 9C */ bge lbl_800695A0 -/* 80069508 00066468 EC 22 08 2A */ fadds f1, f2, f1 -/* 8006950C 0006646C C0 02 87 D8 */ lfs f0, lbl_805AA4F8@sda21(r2) -/* 80069510 00066470 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80069514 00066474 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80069518 00066478 40 80 00 0C */ bge lbl_80069524 -/* 8006951C 0006647C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80069520 00066480 48 00 00 08 */ b lbl_80069528 -lbl_80069524: -/* 80069524 00066484 38 82 87 D8 */ addi r4, r2, lbl_805AA4F8@sda21 -lbl_80069528: -/* 80069528 00066488 C0 04 00 00 */ lfs f0, 0(r4) -/* 8006952C 0006648C C0 22 87 2C */ lfs f1, lbl_805AA44C@sda21(r2) -/* 80069530 00066490 D0 05 00 00 */ stfs f0, 0(r5) -/* 80069534 00066494 C0 05 00 00 */ lfs f0, 0(r5) -/* 80069538 00066498 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8006953C 0006649C 40 82 00 64 */ bne lbl_800695A0 -/* 80069540 000664A0 C0 03 05 10 */ lfs f0, 0x510(r3) -/* 80069544 000664A4 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80069548 000664A8 40 81 00 40 */ ble lbl_80069588 -/* 8006954C 000664AC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80069550 000664B0 28 00 00 00 */ cmplwi r0, 0 -/* 80069554 000664B4 40 82 00 4C */ bne lbl_800695A0 -/* 80069558 000664B8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8006955C 000664BC 54 C4 04 3E */ clrlwi r4, r6, 0x10 -/* 80069560 000664C0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80069564 000664C4 38 61 00 0C */ addi r3, r1, 0xc -/* 80069568 000664C8 38 A0 00 7F */ li r5, 0x7f -/* 8006956C 000664CC 38 C0 00 40 */ li r6, 0x40 -/* 80069570 000664D0 38 E0 00 00 */ li r7, 0 -/* 80069574 000664D4 39 20 00 01 */ li r9, 1 -/* 80069578 000664D8 48 28 07 FD */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8006957C 000664DC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80069580 000664E0 90 1F 00 00 */ stw r0, 0(r31) -/* 80069584 000664E4 48 00 00 1C */ b lbl_800695A0 -lbl_80069588: -/* 80069588 000664E8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8006958C 000664EC 38 61 00 08 */ addi r3, r1, 8 -/* 80069590 000664F0 90 01 00 08 */ stw r0, 8(r1) -/* 80069594 000664F4 48 28 07 B5 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 80069598 000664F8 38 00 00 00 */ li r0, 0 -/* 8006959C 000664FC 90 1F 00 00 */ stw r0, 0(r31) -lbl_800695A0: -/* 800695A0 00066500 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800695A4 00066504 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800695A8 00066508 7C 08 03 A6 */ mtlr r0 -/* 800695AC 0006650C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800695B0 00066510 4E 80 00 20 */ blr - -.global UpdateStaticInterference__9CSamusHudFfRC13CStateManager -UpdateStaticInterference__9CSamusHudFfRC13CStateManager: -/* 800695B4 00066514 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800695B8 00066518 7C 08 02 A6 */ mflr r0 -/* 800695BC 0006651C 90 01 00 64 */ stw r0, 0x64(r1) -/* 800695C0 00066520 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 800695C4 00066524 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 800695C8 00066528 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 800695CC 0006652C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 800695D0 00066530 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 800695D4 00066534 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 800695D8 00066538 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800695DC 0006653C 80 84 08 B8 */ lwz r4, 0x8b8(r4) -/* 800695E0 00066540 FF A0 08 90 */ fmr f29, f1 -/* 800695E4 00066544 7C 7F 1B 78 */ mr r31, r3 -/* 800695E8 00066548 80 64 00 00 */ lwz r3, 0(r4) -/* 800695EC 0006654C 38 63 01 88 */ addi r3, r3, 0x188 -/* 800695F0 00066550 48 15 73 35 */ bl GetTotalInterference__19CStaticInterferenceCFv -/* 800695F4 00066554 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800695F8 00066558 C0 1F 05 10 */ lfs f0, 0x510(r31) -/* 800695FC 0006655C FF C0 00 90 */ fmr f30, f0 -/* 80069600 00066560 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80069604 00066564 40 80 00 2C */ bge lbl_80069630 -/* 80069608 00066568 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8006960C 0006656C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80069610 00066570 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80069614 00066574 40 80 00 0C */ bge lbl_80069620 -/* 80069618 00066578 38 61 00 10 */ addi r3, r1, 0x10 -/* 8006961C 0006657C 48 00 00 08 */ b lbl_80069624 -lbl_80069620: -/* 80069620 00066580 38 61 00 18 */ addi r3, r1, 0x18 -lbl_80069624: -/* 80069624 00066584 C0 03 00 00 */ lfs f0, 0(r3) -/* 80069628 00066588 D0 1F 05 10 */ stfs f0, 0x510(r31) -/* 8006962C 0006658C 48 00 00 2C */ b lbl_80069658 -lbl_80069630: -/* 80069630 00066590 40 81 00 28 */ ble lbl_80069658 -/* 80069634 00066594 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 80069638 00066598 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8006963C 0006659C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80069640 000665A0 40 80 00 0C */ bge lbl_8006964C -/* 80069644 000665A4 38 61 00 0C */ addi r3, r1, 0xc -/* 80069648 000665A8 48 00 00 08 */ b lbl_80069650 -lbl_8006964C: -/* 8006964C 000665AC 38 61 00 18 */ addi r3, r1, 0x18 -lbl_80069650: -/* 80069650 000665B0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80069654 000665B4 D0 1F 05 10 */ stfs f0, 0x510(r31) -lbl_80069658: -/* 80069658 000665B8 FC 20 E8 90 */ fmr f1, f29 -/* 8006965C 000665BC C0 62 87 2C */ lfs f3, lbl_805AA44C@sda21(r2) -/* 80069660 000665C0 FC 40 F0 90 */ fmr f2, f30 -/* 80069664 000665C4 7F E3 FB 78 */ mr r3, r31 -/* 80069668 000665C8 38 9F 05 08 */ addi r4, r31, 0x508 -/* 8006966C 000665CC 38 BF 05 14 */ addi r5, r31, 0x514 -/* 80069670 000665D0 38 C0 05 7A */ li r6, 0x57a -/* 80069674 000665D4 4B FF FE 25 */ bl UpdateStaticSfx__9CSamusHudFR10CSfxHandleRfUsfff -/* 80069678 000665D8 FC 20 E8 90 */ fmr f1, f29 -/* 8006967C 000665DC C0 62 87 3C */ lfs f3, lbl_805AA45C@sda21(r2) -/* 80069680 000665E0 FC 40 F0 90 */ fmr f2, f30 -/* 80069684 000665E4 7F E3 FB 78 */ mr r3, r31 -/* 80069688 000665E8 38 9F 05 0C */ addi r4, r31, 0x50c -/* 8006968C 000665EC 38 BF 05 18 */ addi r5, r31, 0x518 -/* 80069690 000665F0 38 C0 05 7B */ li r6, 0x57b -/* 80069694 000665F4 4B FF FE 05 */ bl UpdateStaticSfx__9CSamusHudFR10CSfxHandleRfUsfff -/* 80069698 000665F8 C3 DF 05 10 */ lfs f30, 0x510(r31) -/* 8006969C 000665FC C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 800696A0 00066600 FC 1E 08 40 */ fcmpo cr0, f30, f1 -/* 800696A4 00066604 40 81 00 44 */ ble lbl_800696E8 -/* 800696A8 00066608 48 2E 09 05 */ bl White__6CColorFv -/* 800696AC 0006660C C0 02 87 74 */ lfs f0, lbl_805AA494@sda21(r2) -/* 800696B0 00066610 EF E0 07 B2 */ fmuls f31, f0, f30 -/* 800696B4 00066614 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800696B8 00066618 38 C1 00 14 */ addi r6, r1, 0x14 -/* 800696BC 0006661C 80 E3 00 00 */ lwz r7, 0(r3) -/* 800696C0 00066620 38 7F 05 1C */ addi r3, r31, 0x51c -/* 800696C4 00066624 88 01 00 08 */ lbz r0, 8(r1) -/* 800696C8 00066628 38 80 00 05 */ li r4, 5 -/* 800696CC 0006662C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 -/* 800696D0 00066630 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 800696D4 00066634 90 01 00 14 */ stw r0, 0x14(r1) -/* 800696D8 00066638 38 A0 00 07 */ li r5, 7 -/* 800696DC 0006663C 38 E0 FF FF */ li r7, -1 -/* 800696E0 00066640 48 08 3C C1 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -/* 800696E4 00066644 48 00 00 0C */ b lbl_800696F0 -lbl_800696E8: -/* 800696E8 00066648 38 7F 05 1C */ addi r3, r31, 0x51c -/* 800696EC 0006664C 48 08 3C 7D */ bl DisableFilter__17CCameraFilterPassFf -lbl_800696F0: -/* 800696F0 00066650 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 800696F4 00066654 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 800696F8 00066658 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 800696FC 0006665C CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80069700 00066660 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80069704 00066664 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80069708 00066668 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8006970C 0006666C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80069710 00066670 7C 08 03 A6 */ mtlr r0 -/* 80069714 00066674 38 21 00 60 */ addi r1, r1, 0x60 -/* 80069718 00066678 4E 80 00 20 */ blr - -.global UpdateVideoBands__9CSamusHudFfRC13CStateManager -UpdateVideoBands__9CSamusHudFfRC13CStateManager: -/* 8006971C 0006667C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80069720 00066680 7C 08 02 A6 */ mflr r0 -/* 80069724 00066684 90 01 00 14 */ stw r0, 0x14(r1) -/* 80069728 00066688 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006972C 0006668C 3B E3 05 A8 */ addi r31, r3, 0x5a8 -/* 80069730 00066690 93 C1 00 08 */ stw r30, 8(r1) -/* 80069734 00066694 3B C0 00 00 */ li r30, 0 -lbl_80069738: -/* 80069738 00066698 80 7F 00 00 */ lwz r3, 0(r31) -/* 8006973C 0006669C 28 03 00 00 */ cmplwi r3, 0 -/* 80069740 000666A0 41 82 00 0C */ beq lbl_8006974C -/* 80069744 000666A4 38 80 00 00 */ li r4, 0 -/* 80069748 000666A8 48 26 0E E5 */ bl SetIsVisible__10CGuiWidgetFb -lbl_8006974C: -/* 8006974C 000666AC 3B DE 00 01 */ addi r30, r30, 1 -/* 80069750 000666B0 3B FF 00 0C */ addi r31, r31, 0xc -/* 80069754 000666B4 2C 1E 00 04 */ cmpwi r30, 4 -/* 80069758 000666B8 41 80 FF E0 */ blt lbl_80069738 -/* 8006975C 000666BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80069760 000666C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80069764 000666C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80069768 000666C8 7C 08 03 A6 */ mtlr r0 -/* 8006976C 000666CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80069770 000666D0 4E 80 00 20 */ blr - -.global UpdateFreeLook__9CSamusHudFfRC13CStateManager -UpdateFreeLook__9CSamusHudFfRC13CStateManager: -/* 80069774 000666D4 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80069778 000666D8 7C 08 02 A6 */ mflr r0 -/* 8006977C 000666DC 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80069780 000666E0 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80069784 000666E4 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80069788 000666E8 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 8006978C 000666EC FF E0 08 90 */ fmr f31, f1 -/* 80069790 000666F0 7C 9C 23 78 */ mr r28, r4 -/* 80069794 000666F4 7C 7B 1B 78 */ mr r27, r3 -/* 80069798 000666F8 80 64 08 70 */ lwz r3, 0x870(r4) -/* 8006979C 000666FC 4B FA 23 7D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800697A0 00066700 7C 64 1B 78 */ mr r4, r3 -/* 800697A4 00066704 38 61 00 20 */ addi r3, r1, 0x20 -/* 800697A8 00066708 48 04 4C CD */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" -/* 800697AC 0006670C 80 9C 08 4C */ lwz r4, 0x84c(r28) -/* 800697B0 00066710 3B E0 00 00 */ li r31, 0 -/* 800697B4 00066714 83 A3 00 04 */ lwz r29, 4(r3) -/* 800697B8 00066718 88 04 03 DC */ lbz r0, 0x3dc(r4) -/* 800697BC 0006671C 28 00 00 00 */ cmplwi r0, 0 -/* 800697C0 00066720 41 82 00 10 */ beq lbl_800697D0 -/* 800697C4 00066724 28 1D 00 00 */ cmplwi r29, 0 -/* 800697C8 00066728 41 82 00 08 */ beq lbl_800697D0 -/* 800697CC 0006672C 3B E0 00 01 */ li r31, 1 -lbl_800697D0: -/* 800697D0 00066730 88 7B 02 E0 */ lbz r3, 0x2e0(r27) -/* 800697D4 00066734 57 E0 06 3E */ clrlwi r0, r31, 0x18 -/* 800697D8 00066738 8B C4 03 DE */ lbz r30, 0x3de(r4) -/* 800697DC 0006673C 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f -/* 800697E0 00066740 7C 03 00 40 */ cmplw r3, r0 -/* 800697E4 00066744 41 82 00 64 */ beq lbl_80069848 -/* 800697E8 00066748 28 00 00 00 */ cmplwi r0, 0 -/* 800697EC 0006674C 41 82 00 2C */ beq lbl_80069818 -/* 800697F0 00066750 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800697F4 00066754 38 61 00 1C */ addi r3, r1, 0x1c -/* 800697F8 00066758 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800697FC 0006675C 38 80 05 70 */ li r4, 0x570 -/* 80069800 00066760 38 A0 00 7F */ li r5, 0x7f -/* 80069804 00066764 38 C0 00 40 */ li r6, 0x40 -/* 80069808 00066768 38 E0 00 00 */ li r7, 0 -/* 8006980C 0006676C 39 20 00 00 */ li r9, 0 -/* 80069810 00066770 48 28 05 65 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80069814 00066774 48 00 00 28 */ b lbl_8006983C -lbl_80069818: -/* 80069818 00066778 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8006981C 0006677C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80069820 00066780 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80069824 00066784 38 80 05 6E */ li r4, 0x56e -/* 80069828 00066788 38 A0 00 7F */ li r5, 0x7f -/* 8006982C 0006678C 38 C0 00 40 */ li r6, 0x40 -/* 80069830 00066790 38 E0 00 00 */ li r7, 0 -/* 80069834 00066794 39 20 00 00 */ li r9, 0 -/* 80069838 00066798 48 28 05 3D */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8006983C: -/* 8006983C 0006679C 88 1B 02 E0 */ lbz r0, 0x2e0(r27) -/* 80069840 000667A0 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 -/* 80069844 000667A4 98 1B 02 E0 */ stb r0, 0x2e0(r27) -lbl_80069848: -/* 80069848 000667A8 C0 02 87 E0 */ lfs f0, lbl_805AA500@sda21(r2) -/* 8006984C 000667AC 28 1D 00 00 */ cmplwi r29, 0 -/* 80069850 000667B0 C0 22 87 AC */ lfs f1, lbl_805AA4CC@sda21(r2) -/* 80069854 000667B4 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80069858 000667B8 C1 1B 05 74 */ lfs f8, 0x574(r27) -/* 8006985C 000667BC EC E1 00 32 */ fmuls f7, f1, f0 -/* 80069860 000667C0 40 82 00 0C */ bne lbl_8006986C -/* 80069864 000667C4 38 7B 05 68 */ addi r3, r27, 0x568 -/* 80069868 000667C8 48 00 00 20 */ b lbl_80069888 -lbl_8006986C: -/* 8006986C 000667CC C0 5D 00 58 */ lfs f2, 0x58(r29) -/* 80069870 000667D0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80069874 000667D4 C0 3D 00 48 */ lfs f1, 0x48(r29) -/* 80069878 000667D8 C0 1D 00 38 */ lfs f0, 0x38(r29) -/* 8006987C 000667DC D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80069880 000667E0 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80069884 000667E4 D0 41 00 3C */ stfs f2, 0x3c(r1) -lbl_80069888: -/* 80069888 000667E8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8006988C 000667EC C0 83 00 00 */ lfs f4, 0(r3) -/* 80069890 000667F0 C0 A3 00 04 */ lfs f5, 4(r3) -/* 80069894 000667F4 7F E0 FB 78 */ mr r0, r31 -/* 80069898 000667F8 C0 C3 00 08 */ lfs f6, 8(r3) -/* 8006989C 000667FC 41 82 00 08 */ beq lbl_800698A4 -/* 800698A0 00066800 7F C0 F3 78 */ mr r0, r30 -lbl_800698A4: -/* 800698A4 00066804 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800698A8 00066808 41 82 00 40 */ beq lbl_800698E8 -/* 800698AC 0006680C C0 1B 05 6C */ lfs f0, 0x56c(r27) -/* 800698B0 00066810 C0 5B 05 68 */ lfs f2, 0x568(r27) -/* 800698B4 00066814 EC 25 00 32 */ fmuls f1, f5, f0 -/* 800698B8 00066818 C0 7B 05 70 */ lfs f3, 0x570(r27) -/* 800698BC 0006681C C8 02 87 40 */ lfd f0, lbl_805AA460@sda21(r2) -/* 800698C0 00066820 EC 24 08 BA */ fmadds f1, f4, f2, f1 -/* 800698C4 00066824 EC 46 08 FA */ fmadds f2, f6, f3, f1 -/* 800698C8 00066828 FC 20 12 10 */ fabs f1, f2 -/* 800698CC 0006682C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800698D0 00066830 40 81 00 1C */ ble lbl_800698EC -/* 800698D4 00066834 C0 02 87 48 */ lfs f0, lbl_805AA468@sda21(r2) -/* 800698D8 00066838 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 800698DC 0006683C FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 800698E0 00066840 EC 41 00 32 */ fmuls f2, f1, f0 -/* 800698E4 00066844 48 00 00 08 */ b lbl_800698EC -lbl_800698E8: -/* 800698E8 00066848 C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) -lbl_800698EC: -/* 800698EC 0006684C D0 5B 05 74 */ stfs f2, 0x574(r27) -/* 800698F0 00066850 FC 08 38 40 */ fcmpo cr0, f8, f7 -/* 800698F4 00066854 38 00 00 00 */ li r0, 0 -/* 800698F8 00066858 D0 9B 05 68 */ stfs f4, 0x568(r27) -/* 800698FC 0006685C D0 BB 05 6C */ stfs f5, 0x56c(r27) -/* 80069900 00066860 D0 DB 05 70 */ stfs f6, 0x570(r27) -/* 80069904 00066864 4C 41 13 82 */ cror 2, 1, 2 -/* 80069908 00066868 40 82 00 10 */ bne lbl_80069918 -/* 8006990C 0006686C C0 1B 05 74 */ lfs f0, 0x574(r27) -/* 80069910 00066870 FC 00 38 40 */ fcmpo cr0, f0, f7 -/* 80069914 00066874 41 80 00 1C */ blt lbl_80069930 -lbl_80069918: -/* 80069918 00066878 FC 08 38 40 */ fcmpo cr0, f8, f7 -/* 8006991C 0006687C 40 80 00 18 */ bge lbl_80069934 -/* 80069920 00066880 C0 1B 05 74 */ lfs f0, 0x574(r27) -/* 80069924 00066884 FC 00 38 40 */ fcmpo cr0, f0, f7 -/* 80069928 00066888 4C 41 13 82 */ cror 2, 1, 2 -/* 8006992C 0006688C 40 82 00 08 */ bne lbl_80069934 -lbl_80069930: -/* 80069930 00066890 38 00 00 01 */ li r0, 1 -lbl_80069934: -/* 80069934 00066894 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80069938 00066898 41 82 00 10 */ beq lbl_80069948 -/* 8006993C 0006689C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80069940 000668A0 D0 1B 05 78 */ stfs f0, 0x578(r27) -/* 80069944 000668A4 48 00 00 AC */ b lbl_800699F0 -lbl_80069948: -/* 80069948 000668A8 C0 3B 05 78 */ lfs f1, 0x578(r27) -/* 8006994C 000668AC C0 02 87 E4 */ lfs f0, lbl_805AA504@sda21(r2) -/* 80069950 000668B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80069954 000668B4 40 80 00 9C */ bge lbl_800699F0 -/* 80069958 000668B8 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8006995C 000668BC C0 02 87 DC */ lfs f0, lbl_805AA4FC@sda21(r2) -/* 80069960 000668C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80069964 000668C4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80069968 000668C8 40 80 00 0C */ bge lbl_80069974 -/* 8006996C 000668CC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80069970 000668D0 48 00 00 08 */ b lbl_80069978 -lbl_80069974: -/* 80069974 000668D4 38 62 87 DC */ addi r3, r2, lbl_805AA4FC@sda21 -lbl_80069978: -/* 80069978 000668D8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8006997C 000668DC C0 22 87 E4 */ lfs f1, lbl_805AA504@sda21(r2) -/* 80069980 000668E0 D0 1B 05 78 */ stfs f0, 0x578(r27) -/* 80069984 000668E4 C0 1B 05 78 */ lfs f0, 0x578(r27) -/* 80069988 000668E8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8006998C 000668EC 40 82 00 64 */ bne lbl_800699F0 -/* 80069990 000668F0 C0 1B 05 74 */ lfs f0, 0x574(r27) -/* 80069994 000668F4 FC 00 38 40 */ fcmpo cr0, f0, f7 -/* 80069998 000668F8 40 80 00 40 */ bge lbl_800699D8 -/* 8006999C 000668FC 80 1B 05 64 */ lwz r0, 0x564(r27) -/* 800699A0 00066900 28 00 00 00 */ cmplwi r0, 0 -/* 800699A4 00066904 40 82 00 4C */ bne lbl_800699F0 -/* 800699A8 00066908 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800699AC 0006690C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800699B0 00066910 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800699B4 00066914 38 80 05 72 */ li r4, 0x572 -/* 800699B8 00066918 38 A0 00 7F */ li r5, 0x7f -/* 800699BC 0006691C 38 C0 00 40 */ li r6, 0x40 -/* 800699C0 00066920 38 E0 00 01 */ li r7, 1 -/* 800699C4 00066924 39 20 00 01 */ li r9, 1 -/* 800699C8 00066928 48 28 03 AD */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 800699CC 0006692C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800699D0 00066930 90 1B 05 64 */ stw r0, 0x564(r27) -/* 800699D4 00066934 48 00 00 1C */ b lbl_800699F0 -lbl_800699D8: -/* 800699D8 00066938 80 1B 05 64 */ lwz r0, 0x564(r27) -/* 800699DC 0006693C 38 61 00 0C */ addi r3, r1, 0xc -/* 800699E0 00066940 90 01 00 0C */ stw r0, 0xc(r1) -/* 800699E4 00066944 48 28 03 65 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 800699E8 00066948 38 00 00 00 */ li r0, 0 -/* 800699EC 0006694C 90 1B 05 64 */ stw r0, 0x564(r27) -lbl_800699F0: -/* 800699F0 00066950 28 1D 00 00 */ cmplwi r29, 0 -/* 800699F4 00066954 41 82 01 68 */ beq lbl_80069B5C -/* 800699F8 00066958 38 61 00 58 */ addi r3, r1, 0x58 -/* 800699FC 0006695C 38 9D 00 34 */ addi r4, r29, 0x34 -/* 80069A00 00066960 48 2A 96 F5 */ bl BuildMatrix3f__12CTransform4fCFv -/* 80069A04 00066964 38 61 00 7C */ addi r3, r1, 0x7c -/* 80069A08 00066968 38 81 00 58 */ addi r4, r1, 0x58 -/* 80069A0C 0006696C 48 2A 66 19 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 80069A10 00066970 C0 41 00 98 */ lfs f2, 0x98(r1) -/* 80069A14 00066974 38 61 00 4C */ addi r3, r1, 0x4c -/* 80069A18 00066978 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 80069A1C 0006697C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80069A20 00066980 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80069A24 00066984 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80069A28 00066988 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80069A2C 0006698C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80069A30 00066990 48 2A A3 A1 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80069A34 00066994 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 80069A38 00066998 38 61 00 40 */ addi r3, r1, 0x40 -/* 80069A3C 0006699C C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80069A40 000669A0 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80069A44 000669A4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80069A48 000669A8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80069A4C 000669AC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80069A50 000669B0 48 2A AE A9 */ bl Normalize__9CVector3fFv -/* 80069A54 000669B4 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80069A58 000669B8 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80069A5C 000669BC C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 80069A60 000669C0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80069A64 000669C4 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80069A68 000669C8 C0 81 00 54 */ lfs f4, 0x54(r1) -/* 80069A6C 000669CC C0 61 00 48 */ lfs f3, 0x48(r1) -/* 80069A70 000669D0 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80069A74 000669D4 C8 02 87 40 */ lfd f0, lbl_805AA460@sda21(r2) -/* 80069A78 000669D8 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80069A7C 000669DC FC 40 0A 10 */ fabs f2, f1 -/* 80069A80 000669E0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80069A84 000669E4 40 81 00 14 */ ble lbl_80069A98 -/* 80069A88 000669E8 C0 02 87 48 */ lfs f0, lbl_805AA468@sda21(r2) -/* 80069A8C 000669EC C0 42 87 28 */ lfs f2, lbl_805AA448@sda21(r2) -/* 80069A90 000669F0 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 80069A94 000669F4 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_80069A98: -/* 80069A98 000669F8 48 32 B1 95 */ bl acos -/* 80069A9C 000669FC FC 40 08 18 */ frsp f2, f1 -/* 80069AA0 00066A00 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 80069AA4 00066A04 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 80069AA8 00066A08 FC 40 12 10 */ fabs f2, f2 -/* 80069AAC 00066A0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80069AB0 00066A10 FC 00 10 18 */ frsp f0, f2 -/* 80069AB4 00066A14 FF E0 00 90 */ fmr f31, f0 -/* 80069AB8 00066A18 40 80 00 08 */ bge lbl_80069AC0 -/* 80069ABC 00066A1C FF E0 00 50 */ fneg f31, f0 -lbl_80069AC0: -/* 80069AC0 00066A20 80 7B 02 98 */ lwz r3, 0x298(r27) -/* 80069AC4 00066A24 28 03 00 00 */ cmplwi r3, 0 -/* 80069AC8 00066A28 41 82 00 3C */ beq lbl_80069B04 -/* 80069ACC 00066A2C 80 9C 08 4C */ lwz r4, 0x84c(r28) -/* 80069AD0 00066A30 FC 20 F8 90 */ fmr f1, f31 -/* 80069AD4 00066A34 81 83 00 00 */ lwz r12, 0(r3) -/* 80069AD8 00066A38 7F C5 F3 78 */ mr r5, r30 -/* 80069ADC 00066A3C A0 E4 03 10 */ lhz r7, 0x310(r4) -/* 80069AE0 00066A40 7F E4 FB 78 */ mr r4, r31 -/* 80069AE4 00066A44 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80069AE8 00066A48 81 8C 00 08 */ lwz r12, 8(r12) -/* 80069AEC 00066A4C 7C C7 00 50 */ subf r6, r7, r0 -/* 80069AF0 00066A50 7C 00 38 50 */ subf r0, r0, r7 -/* 80069AF4 00066A54 7C C0 03 78 */ or r0, r6, r0 -/* 80069AF8 00066A58 54 06 0F FE */ srwi r6, r0, 0x1f -/* 80069AFC 00066A5C 7D 89 03 A6 */ mtctr r12 -/* 80069B00 00066A60 4E 80 04 21 */ bctrl -lbl_80069B04: -/* 80069B04 00066A64 80 1B 05 64 */ lwz r0, 0x564(r27) -/* 80069B08 00066A68 28 00 00 00 */ cmplwi r0, 0 -/* 80069B0C 00066A6C 41 82 00 50 */ beq lbl_80069B5C -/* 80069B10 00066A70 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80069B14 00066A74 C0 02 87 E8 */ lfs f0, lbl_805AA508@sda21(r2) -/* 80069B18 00066A78 C0 23 01 2C */ lfs f1, 0x12c(r3) -/* 80069B1C 00066A7C 88 03 01 30 */ lbz r0, 0x130(r3) -/* 80069B20 00066A80 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80069B24 00066A84 28 00 00 00 */ cmplwi r0, 0 -/* 80069B28 00066A88 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80069B2C 00066A8C 40 82 00 0C */ bne lbl_80069B38 -/* 80069B30 00066A90 FC 00 0A 10 */ fabs f0, f1 -/* 80069B34 00066A94 FC 20 00 18 */ frsp f1, f0 -lbl_80069B38: -/* 80069B38 00066A98 C0 02 87 EC */ lfs f0, lbl_805AA50C@sda21(r2) -/* 80069B3C 00066A9C 38 61 00 08 */ addi r3, r1, 8 -/* 80069B40 00066AA0 80 1B 05 64 */ lwz r0, 0x564(r27) -/* 80069B44 00066AA4 EC 00 08 2A */ fadds f0, f0, f1 -/* 80069B48 00066AA8 90 01 00 08 */ stw r0, 8(r1) -/* 80069B4C 00066AAC FC 00 00 1E */ fctiwz f0, f0 -/* 80069B50 00066AB0 D8 01 00 A0 */ stfd f0, 0xa0(r1) -/* 80069B54 00066AB4 80 81 00 A4 */ lwz r4, 0xa4(r1) -/* 80069B58 00066AB8 48 27 F3 55 */ bl PitchBend__11CSfxManagerF10CSfxHandlei -lbl_80069B5C: -/* 80069B5C 00066ABC E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80069B60 00066AC0 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80069B64 00066AC4 BB 61 00 AC */ lmw r27, 0xac(r1) -/* 80069B68 00066AC8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80069B6C 00066ACC 7C 08 03 A6 */ mtlr r0 -/* 80069B70 00066AD0 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80069B74 00066AD4 4E 80 00 20 */ blr - -.global UpdateVisorAndBeamMenus__9CSamusHudFfRC13CStateManager -UpdateVisorAndBeamMenus__9CSamusHudFfRC13CStateManager: -/* 80069B78 00066AD8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80069B7C 00066ADC 7C 08 02 A6 */ mflr r0 -/* 80069B80 00066AE0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80069B84 00066AE4 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80069B88 00066AE8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80069B8C 00066AEC DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80069B90 00066AF0 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80069B94 00066AF4 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 80069B98 00066AF8 7C 9F 23 78 */ mr r31, r4 -/* 80069B9C 00066AFC 7C 7E 1B 78 */ mr r30, r3 -/* 80069BA0 00066B00 80 C4 08 4C */ lwz r6, 0x84c(r4) -/* 80069BA4 00066B04 38 81 00 08 */ addi r4, r1, 8 -/* 80069BA8 00066B08 38 6D 82 FC */ addi r3, r13, lbl_805A6EBC@sda21 -/* 80069BAC 00066B0C 38 AD 83 00 */ addi r5, r13, lbl_805A6EC0@sda21 -/* 80069BB0 00066B10 80 C6 04 90 */ lwz r6, 0x490(r6) -/* 80069BB4 00066B14 83 A6 03 10 */ lwz r29, 0x310(r6) -/* 80069BB8 00066B18 83 86 03 14 */ lwz r28, 0x314(r6) -/* 80069BBC 00066B1C C0 06 06 90 */ lfs f0, 0x690(r6) -/* 80069BC0 00066B20 D0 01 00 08 */ stfs f0, 8(r1) -/* 80069BC4 00066B24 4B FA 26 F1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80069BC8 00066B28 80 9F 08 B8 */ lwz r4, 0x8b8(r31) -/* 80069BCC 00066B2C C3 E3 00 00 */ lfs f31, 0(r3) -/* 80069BD0 00066B30 80 64 00 00 */ lwz r3, 0(r4) -/* 80069BD4 00066B34 83 63 00 14 */ lwz r27, 0x14(r3) -/* 80069BD8 00066B38 83 43 00 18 */ lwz r26, 0x18(r3) -/* 80069BDC 00066B3C 48 02 7C 89 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 80069BE0 00066B40 80 7E 02 A8 */ lwz r3, 0x2a8(r30) -/* 80069BE4 00066B44 FF C0 08 90 */ fmr f30, f1 -/* 80069BE8 00066B48 28 03 00 00 */ cmplwi r3, 0 -/* 80069BEC 00066B4C 41 82 00 84 */ beq lbl_80069C70 -/* 80069BF0 00066B50 FC 20 F8 90 */ fmr f1, f31 -/* 80069BF4 00066B54 7F A4 EB 78 */ mr r4, r29 -/* 80069BF8 00066B58 7F 85 E3 78 */ mr r5, r28 -/* 80069BFC 00066B5C 48 12 A7 F5 */ bl SetSelection__17CHudVisorBeamMenuFiif -/* 80069C00 00066B60 7F C4 F3 78 */ mr r4, r30 -/* 80069C04 00066B64 7F E5 FB 78 */ mr r5, r31 -/* 80069C08 00066B68 38 61 00 14 */ addi r3, r1, 0x14 -/* 80069C0C 00066B6C 4B FF C2 FD */ bl BuildPlayerHasBeams__9CSamusHudCFRC13CStateManager -/* 80069C10 00066B70 80 7E 02 A8 */ lwz r3, 0x2a8(r30) -/* 80069C14 00066B74 38 81 00 14 */ addi r4, r1, 0x14 -/* 80069C18 00066B78 48 12 A7 5D */ bl "SetPlayerHas__17CHudVisorBeamMenuFRCQ24rstl20reserved_vector" -/* 80069C1C 00066B7C 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 80069C20 00066B80 38 60 00 00 */ li r3, 0 -/* 80069C24 00066B84 2C 05 00 00 */ cmpwi r5, 0 -/* 80069C28 00066B88 40 81 00 40 */ ble lbl_80069C68 -/* 80069C2C 00066B8C 2C 05 00 08 */ cmpwi r5, 8 -/* 80069C30 00066B90 38 85 FF F8 */ addi r4, r5, -8 -/* 80069C34 00066B94 40 81 00 20 */ ble lbl_80069C54 -/* 80069C38 00066B98 38 04 00 07 */ addi r0, r4, 7 -/* 80069C3C 00066B9C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80069C40 00066BA0 7C 09 03 A6 */ mtctr r0 -/* 80069C44 00066BA4 2C 04 00 00 */ cmpwi r4, 0 -/* 80069C48 00066BA8 40 81 00 0C */ ble lbl_80069C54 -lbl_80069C4C: -/* 80069C4C 00066BAC 38 63 00 08 */ addi r3, r3, 8 -/* 80069C50 00066BB0 42 00 FF FC */ bdnz lbl_80069C4C -lbl_80069C54: -/* 80069C54 00066BB4 7C 03 28 50 */ subf r0, r3, r5 -/* 80069C58 00066BB8 7C 09 03 A6 */ mtctr r0 -/* 80069C5C 00066BBC 7C 03 28 00 */ cmpw r3, r5 -/* 80069C60 00066BC0 40 80 00 08 */ bge lbl_80069C68 -lbl_80069C64: -/* 80069C64 00066BC4 42 00 00 00 */ bdnz lbl_80069C64 -lbl_80069C68: -/* 80069C68 00066BC8 38 00 00 00 */ li r0, 0 -/* 80069C6C 00066BCC 90 01 00 14 */ stw r0, 0x14(r1) -lbl_80069C70: -/* 80069C70 00066BD0 80 7E 02 A4 */ lwz r3, 0x2a4(r30) -/* 80069C74 00066BD4 28 03 00 00 */ cmplwi r3, 0 -/* 80069C78 00066BD8 41 82 00 84 */ beq lbl_80069CFC -/* 80069C7C 00066BDC FC 20 F0 90 */ fmr f1, f30 -/* 80069C80 00066BE0 7F 64 DB 78 */ mr r4, r27 -/* 80069C84 00066BE4 7F 45 D3 78 */ mr r5, r26 -/* 80069C88 00066BE8 48 12 A7 69 */ bl SetSelection__17CHudVisorBeamMenuFiif -/* 80069C8C 00066BEC 7F C4 F3 78 */ mr r4, r30 -/* 80069C90 00066BF0 7F E5 FB 78 */ mr r5, r31 -/* 80069C94 00066BF4 38 61 00 0C */ addi r3, r1, 0xc -/* 80069C98 00066BF8 4B FF C3 E5 */ bl BuildPlayerHasVisors__9CSamusHudCFRC13CStateManager -/* 80069C9C 00066BFC 80 7E 02 A4 */ lwz r3, 0x2a4(r30) -/* 80069CA0 00066C00 38 81 00 0C */ addi r4, r1, 0xc -/* 80069CA4 00066C04 48 12 A6 D1 */ bl "SetPlayerHas__17CHudVisorBeamMenuFRCQ24rstl20reserved_vector" -/* 80069CA8 00066C08 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 80069CAC 00066C0C 38 60 00 00 */ li r3, 0 -/* 80069CB0 00066C10 2C 05 00 00 */ cmpwi r5, 0 -/* 80069CB4 00066C14 40 81 00 40 */ ble lbl_80069CF4 -/* 80069CB8 00066C18 2C 05 00 08 */ cmpwi r5, 8 -/* 80069CBC 00066C1C 38 85 FF F8 */ addi r4, r5, -8 -/* 80069CC0 00066C20 40 81 00 20 */ ble lbl_80069CE0 -/* 80069CC4 00066C24 38 04 00 07 */ addi r0, r4, 7 -/* 80069CC8 00066C28 54 00 E8 FE */ srwi r0, r0, 3 -/* 80069CCC 00066C2C 7C 09 03 A6 */ mtctr r0 -/* 80069CD0 00066C30 2C 04 00 00 */ cmpwi r4, 0 -/* 80069CD4 00066C34 40 81 00 0C */ ble lbl_80069CE0 -lbl_80069CD8: -/* 80069CD8 00066C38 38 63 00 08 */ addi r3, r3, 8 -/* 80069CDC 00066C3C 42 00 FF FC */ bdnz lbl_80069CD8 -lbl_80069CE0: -/* 80069CE0 00066C40 7C 03 28 50 */ subf r0, r3, r5 -/* 80069CE4 00066C44 7C 09 03 A6 */ mtctr r0 -/* 80069CE8 00066C48 7C 03 28 00 */ cmpw r3, r5 -/* 80069CEC 00066C4C 40 80 00 08 */ bge lbl_80069CF4 -lbl_80069CF0: -/* 80069CF0 00066C50 42 00 00 00 */ bdnz lbl_80069CF0 -lbl_80069CF4: -/* 80069CF4 00066C54 38 00 00 00 */ li r0, 0 -/* 80069CF8 00066C58 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80069CFC: -/* 80069CFC 00066C5C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80069D00 00066C60 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80069D04 00066C64 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80069D08 00066C68 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80069D0C 00066C6C BB 41 00 28 */ lmw r26, 0x28(r1) -/* 80069D10 00066C70 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80069D14 00066C74 7C 08 03 A6 */ mtlr r0 -/* 80069D18 00066C78 38 21 00 60 */ addi r1, r1, 0x60 -/* 80069D1C 00066C7C 4E 80 00 20 */ blr - -.global CheckLoadComplete__9CSamusHudFRC13CStateManager -CheckLoadComplete__9CSamusHudFRC13CStateManager: -/* 80069D20 00066C80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80069D24 00066C84 7C 08 02 A6 */ mflr r0 -/* 80069D28 00066C88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80069D2C 00066C8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80069D30 00066C90 7C 9F 23 78 */ mr r31, r4 -/* 80069D34 00066C94 93 C1 00 08 */ stw r30, 8(r1) -/* 80069D38 00066C98 7C 7E 1B 78 */ mr r30, r3 -/* 80069D3C 00066C9C 80 03 00 04 */ lwz r0, 4(r3) -/* 80069D40 00066CA0 2C 00 00 02 */ cmpwi r0, 2 -/* 80069D44 00066CA4 41 82 00 78 */ beq lbl_80069DBC -/* 80069D48 00066CA8 40 80 00 14 */ bge lbl_80069D5C -/* 80069D4C 00066CAC 2C 00 00 00 */ cmpwi r0, 0 -/* 80069D50 00066CB0 41 82 00 18 */ beq lbl_80069D68 -/* 80069D54 00066CB4 40 80 00 38 */ bge lbl_80069D8C -/* 80069D58 00066CB8 48 00 00 A0 */ b lbl_80069DF8 -lbl_80069D5C: -/* 80069D5C 00066CBC 2C 00 00 04 */ cmpwi r0, 4 -/* 80069D60 00066CC0 40 80 00 98 */ bge lbl_80069DF8 -/* 80069D64 00066CC4 48 00 00 8C */ b lbl_80069DF0 -lbl_80069D68: -/* 80069D68 00066CC8 38 7E 00 08 */ addi r3, r30, 8 -/* 80069D6C 00066CCC 48 05 30 4D */ bl CheckLoadComplete__17CTargetingManagerFv -/* 80069D70 00066CD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80069D74 00066CD4 41 82 00 10 */ beq lbl_80069D84 -/* 80069D78 00066CD8 38 00 00 01 */ li r0, 1 -/* 80069D7C 00066CDC 90 1E 00 04 */ stw r0, 4(r30) -/* 80069D80 00066CE0 48 00 00 0C */ b lbl_80069D8C -lbl_80069D84: -/* 80069D84 00066CE4 38 60 00 00 */ li r3, 0 -/* 80069D88 00066CE8 48 00 00 74 */ b lbl_80069DFC -lbl_80069D8C: -/* 80069D8C 00066CEC C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 80069D90 00066CF0 7F C3 F3 78 */ mr r3, r30 -/* 80069D94 00066CF4 7F E4 FB 78 */ mr r4, r31 -/* 80069D98 00066CF8 4B FF D3 35 */ bl UpdateStateTransition__9CSamusHudFfRC13CStateManager -/* 80069D9C 00066CFC 80 7E 02 BC */ lwz r3, 0x2bc(r30) -/* 80069DA0 00066D00 80 1E 02 C0 */ lwz r0, 0x2c0(r30) -/* 80069DA4 00066D04 7C 03 00 00 */ cmpw r3, r0 -/* 80069DA8 00066D08 41 82 00 0C */ beq lbl_80069DB4 -/* 80069DAC 00066D0C 38 60 00 00 */ li r3, 0 -/* 80069DB0 00066D10 48 00 00 4C */ b lbl_80069DFC -lbl_80069DB4: -/* 80069DB4 00066D14 38 00 00 02 */ li r0, 2 -/* 80069DB8 00066D18 90 1E 00 04 */ stw r0, 4(r30) -lbl_80069DBC: -/* 80069DBC 00066D1C 80 7E 02 64 */ lwz r3, 0x264(r30) -/* 80069DC0 00066D20 48 25 87 91 */ bl GetIsFinishedLoading__9CGuiFrameCFv -/* 80069DC4 00066D24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80069DC8 00066D28 41 82 00 20 */ beq lbl_80069DE8 -/* 80069DCC 00066D2C 80 7E 02 74 */ lwz r3, 0x274(r30) -/* 80069DD0 00066D30 48 25 87 81 */ bl GetIsFinishedLoading__9CGuiFrameCFv -/* 80069DD4 00066D34 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80069DD8 00066D38 41 82 00 10 */ beq lbl_80069DE8 -/* 80069DDC 00066D3C 38 00 00 03 */ li r0, 3 -/* 80069DE0 00066D40 90 1E 00 04 */ stw r0, 4(r30) -/* 80069DE4 00066D44 48 00 00 0C */ b lbl_80069DF0 -lbl_80069DE8: -/* 80069DE8 00066D48 38 60 00 00 */ li r3, 0 -/* 80069DEC 00066D4C 48 00 00 10 */ b lbl_80069DFC -lbl_80069DF0: -/* 80069DF0 00066D50 38 60 00 01 */ li r3, 1 -/* 80069DF4 00066D54 48 00 00 08 */ b lbl_80069DFC -lbl_80069DF8: -/* 80069DF8 00066D58 38 60 00 00 */ li r3, 0 -lbl_80069DFC: -/* 80069DFC 00066D5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80069E00 00066D60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80069E04 00066D64 83 C1 00 08 */ lwz r30, 8(r1) -/* 80069E08 00066D68 7C 08 03 A6 */ mtlr r0 -/* 80069E0C 00066D6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80069E10 00066D70 4E 80 00 20 */ blr - -.global __dt__9CSamusHudFv -__dt__9CSamusHudFv: -/* 80069E14 00066D74 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80069E18 00066D78 7C 08 02 A6 */ mflr r0 -/* 80069E1C 00066D7C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80069E20 00066D80 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80069E24 00066D84 7C 9F 23 78 */ mr r31, r4 -/* 80069E28 00066D88 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80069E2C 00066D8C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80069E30 00066D90 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80069E34 00066D94 41 82 06 28 */ beq lbl_8006A45C -/* 80069E38 00066D98 3C 60 80 3E */ lis r3, lbl_803DA298@ha -/* 80069E3C 00066D9C 38 03 A2 98 */ addi r0, r3, lbl_803DA298@l -/* 80069E40 00066DA0 90 1E 00 00 */ stw r0, 0(r30) -/* 80069E44 00066DA4 80 1E 03 A4 */ lwz r0, 0x3a4(r30) -/* 80069E48 00066DA8 28 00 00 00 */ cmplwi r0, 0 -/* 80069E4C 00066DAC 41 82 00 14 */ beq lbl_80069E60 -/* 80069E50 00066DB0 80 1E 03 A4 */ lwz r0, 0x3a4(r30) -/* 80069E54 00066DB4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80069E58 00066DB8 90 01 00 18 */ stw r0, 0x18(r1) -/* 80069E5C 00066DBC 48 28 00 29 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -lbl_80069E60: -/* 80069E60 00066DC0 38 60 00 00 */ li r3, 0 -/* 80069E64 00066DC4 34 1E 07 AC */ addic. r0, r30, 0x7ac -/* 80069E68 00066DC8 90 6D A2 28 */ stw r3, lbl_805A8DE8@sda21(r13) -/* 80069E6C 00066DCC 41 82 00 54 */ beq lbl_80069EC0 -/* 80069E70 00066DD0 80 BE 07 AC */ lwz r5, 0x7ac(r30) -/* 80069E74 00066DD4 2C 05 00 00 */ cmpwi r5, 0 -/* 80069E78 00066DD8 40 81 00 40 */ ble lbl_80069EB8 -/* 80069E7C 00066DDC 2C 05 00 08 */ cmpwi r5, 8 -/* 80069E80 00066DE0 38 85 FF F8 */ addi r4, r5, -8 -/* 80069E84 00066DE4 40 81 00 20 */ ble lbl_80069EA4 -/* 80069E88 00066DE8 38 04 00 07 */ addi r0, r4, 7 -/* 80069E8C 00066DEC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80069E90 00066DF0 7C 09 03 A6 */ mtctr r0 -/* 80069E94 00066DF4 2C 04 00 00 */ cmpwi r4, 0 -/* 80069E98 00066DF8 40 81 00 0C */ ble lbl_80069EA4 -lbl_80069E9C: -/* 80069E9C 00066DFC 38 63 00 08 */ addi r3, r3, 8 -/* 80069EA0 00066E00 42 00 FF FC */ bdnz lbl_80069E9C -lbl_80069EA4: -/* 80069EA4 00066E04 7C 03 28 50 */ subf r0, r3, r5 -/* 80069EA8 00066E08 7C 09 03 A6 */ mtctr r0 -/* 80069EAC 00066E0C 7C 03 28 00 */ cmpw r3, r5 -/* 80069EB0 00066E10 40 80 00 08 */ bge lbl_80069EB8 -lbl_80069EB4: -/* 80069EB4 00066E14 42 00 00 00 */ bdnz lbl_80069EB4 -lbl_80069EB8: -/* 80069EB8 00066E18 38 00 00 00 */ li r0, 0 -/* 80069EBC 00066E1C 90 1E 07 AC */ stw r0, 0x7ac(r30) -lbl_80069EC0: -/* 80069EC0 00066E20 34 1E 05 D8 */ addic. r0, r30, 0x5d8 -/* 80069EC4 00066E24 41 82 00 58 */ beq lbl_80069F1C -/* 80069EC8 00066E28 80 BE 05 D8 */ lwz r5, 0x5d8(r30) -/* 80069ECC 00066E2C 38 60 00 00 */ li r3, 0 -/* 80069ED0 00066E30 2C 05 00 00 */ cmpwi r5, 0 -/* 80069ED4 00066E34 40 81 00 40 */ ble lbl_80069F14 -/* 80069ED8 00066E38 2C 05 00 08 */ cmpwi r5, 8 -/* 80069EDC 00066E3C 38 85 FF F8 */ addi r4, r5, -8 -/* 80069EE0 00066E40 40 81 00 20 */ ble lbl_80069F00 -/* 80069EE4 00066E44 38 04 00 07 */ addi r0, r4, 7 -/* 80069EE8 00066E48 54 00 E8 FE */ srwi r0, r0, 3 -/* 80069EEC 00066E4C 7C 09 03 A6 */ mtctr r0 -/* 80069EF0 00066E50 2C 04 00 00 */ cmpwi r4, 0 -/* 80069EF4 00066E54 40 81 00 0C */ ble lbl_80069F00 -lbl_80069EF8: -/* 80069EF8 00066E58 38 63 00 08 */ addi r3, r3, 8 -/* 80069EFC 00066E5C 42 00 FF FC */ bdnz lbl_80069EF8 -lbl_80069F00: -/* 80069F00 00066E60 7C 03 28 50 */ subf r0, r3, r5 -/* 80069F04 00066E64 7C 09 03 A6 */ mtctr r0 -/* 80069F08 00066E68 7C 03 28 00 */ cmpw r3, r5 -/* 80069F0C 00066E6C 40 80 00 08 */ bge lbl_80069F14 -lbl_80069F10: -/* 80069F10 00066E70 42 00 00 00 */ bdnz lbl_80069F10 -lbl_80069F14: -/* 80069F14 00066E74 38 00 00 00 */ li r0, 0 -/* 80069F18 00066E78 90 1E 05 D8 */ stw r0, 0x5d8(r30) -lbl_80069F1C: -/* 80069F1C 00066E7C 34 1E 05 A4 */ addic. r0, r30, 0x5a4 -/* 80069F20 00066E80 41 82 00 58 */ beq lbl_80069F78 -/* 80069F24 00066E84 80 BE 05 A4 */ lwz r5, 0x5a4(r30) -/* 80069F28 00066E88 38 60 00 00 */ li r3, 0 -/* 80069F2C 00066E8C 2C 05 00 00 */ cmpwi r5, 0 -/* 80069F30 00066E90 40 81 00 40 */ ble lbl_80069F70 -/* 80069F34 00066E94 2C 05 00 08 */ cmpwi r5, 8 -/* 80069F38 00066E98 38 85 FF F8 */ addi r4, r5, -8 -/* 80069F3C 00066E9C 40 81 00 20 */ ble lbl_80069F5C -/* 80069F40 00066EA0 38 04 00 07 */ addi r0, r4, 7 -/* 80069F44 00066EA4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80069F48 00066EA8 7C 09 03 A6 */ mtctr r0 -/* 80069F4C 00066EAC 2C 04 00 00 */ cmpwi r4, 0 -/* 80069F50 00066EB0 40 81 00 0C */ ble lbl_80069F5C -lbl_80069F54: -/* 80069F54 00066EB4 38 63 00 08 */ addi r3, r3, 8 -/* 80069F58 00066EB8 42 00 FF FC */ bdnz lbl_80069F54 -lbl_80069F5C: -/* 80069F5C 00066EBC 7C 03 28 50 */ subf r0, r3, r5 -/* 80069F60 00066EC0 7C 09 03 A6 */ mtctr r0 -/* 80069F64 00066EC4 7C 03 28 00 */ cmpw r3, r5 -/* 80069F68 00066EC8 40 80 00 08 */ bge lbl_80069F70 -lbl_80069F6C: -/* 80069F6C 00066ECC 42 00 00 00 */ bdnz lbl_80069F6C -lbl_80069F70: -/* 80069F70 00066ED0 38 00 00 00 */ li r0, 0 -/* 80069F74 00066ED4 90 1E 05 A4 */ stw r0, 0x5a4(r30) -lbl_80069F78: -/* 80069F78 00066ED8 34 1E 05 50 */ addic. r0, r30, 0x550 -/* 80069F7C 00066EDC 41 82 00 24 */ beq lbl_80069FA0 -/* 80069F80 00066EE0 83 BE 05 50 */ lwz r29, 0x550(r30) -/* 80069F84 00066EE4 28 1D 00 00 */ cmplwi r29, 0 -/* 80069F88 00066EE8 41 82 00 18 */ beq lbl_80069FA0 -/* 80069F8C 00066EEC 7F A3 EB 78 */ mr r3, r29 -/* 80069F90 00066EF0 38 80 00 00 */ li r4, 0 -/* 80069F94 00066EF4 48 2D 6E AD */ bl __dt__6CTokenFv -/* 80069F98 00066EF8 7F A3 EB 78 */ mr r3, r29 -/* 80069F9C 00066EFC 48 2A B9 95 */ bl Free__7CMemoryFPCv -lbl_80069FA0: -/* 80069FA0 00066F00 34 1E 05 1C */ addic. r0, r30, 0x51c -/* 80069FA4 00066F04 41 82 00 3C */ beq lbl_80069FE0 -/* 80069FA8 00066F08 34 1E 05 40 */ addic. r0, r30, 0x540 -/* 80069FAC 00066F0C 41 82 00 34 */ beq lbl_80069FE0 -/* 80069FB0 00066F10 88 1E 05 40 */ lbz r0, 0x540(r30) -/* 80069FB4 00066F14 28 00 00 00 */ cmplwi r0, 0 -/* 80069FB8 00066F18 41 82 00 28 */ beq lbl_80069FE0 -/* 80069FBC 00066F1C 83 BE 05 44 */ lwz r29, 0x544(r30) -/* 80069FC0 00066F20 28 1D 00 00 */ cmplwi r29, 0 -/* 80069FC4 00066F24 41 82 00 1C */ beq lbl_80069FE0 -/* 80069FC8 00066F28 41 82 00 10 */ beq lbl_80069FD8 -/* 80069FCC 00066F2C 7F A3 EB 78 */ mr r3, r29 -/* 80069FD0 00066F30 38 80 00 00 */ li r4, 0 -/* 80069FD4 00066F34 48 2D 6E 6D */ bl __dt__6CTokenFv -lbl_80069FD8: -/* 80069FD8 00066F38 7F A3 EB 78 */ mr r3, r29 -/* 80069FDC 00066F3C 48 2A B9 55 */ bl Free__7CMemoryFPCv -lbl_80069FE0: -/* 80069FE0 00066F40 34 1E 04 6C */ addic. r0, r30, 0x46c -/* 80069FE4 00066F44 41 82 00 58 */ beq lbl_8006A03C -/* 80069FE8 00066F48 80 BE 04 6C */ lwz r5, 0x46c(r30) -/* 80069FEC 00066F4C 38 60 00 00 */ li r3, 0 -/* 80069FF0 00066F50 2C 05 00 00 */ cmpwi r5, 0 -/* 80069FF4 00066F54 40 81 00 40 */ ble lbl_8006A034 -/* 80069FF8 00066F58 2C 05 00 08 */ cmpwi r5, 8 -/* 80069FFC 00066F5C 38 85 FF F8 */ addi r4, r5, -8 -/* 8006A000 00066F60 40 81 00 20 */ ble lbl_8006A020 -/* 8006A004 00066F64 38 04 00 07 */ addi r0, r4, 7 -/* 8006A008 00066F68 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006A00C 00066F6C 7C 09 03 A6 */ mtctr r0 -/* 8006A010 00066F70 2C 04 00 00 */ cmpwi r4, 0 -/* 8006A014 00066F74 40 81 00 0C */ ble lbl_8006A020 -lbl_8006A018: -/* 8006A018 00066F78 38 63 00 08 */ addi r3, r3, 8 -/* 8006A01C 00066F7C 42 00 FF FC */ bdnz lbl_8006A018 -lbl_8006A020: -/* 8006A020 00066F80 7C 03 28 50 */ subf r0, r3, r5 -/* 8006A024 00066F84 7C 09 03 A6 */ mtctr r0 -/* 8006A028 00066F88 7C 03 28 00 */ cmpw r3, r5 -/* 8006A02C 00066F8C 40 80 00 08 */ bge lbl_8006A034 -lbl_8006A030: -/* 8006A030 00066F90 42 00 00 00 */ bdnz lbl_8006A030 -lbl_8006A034: -/* 8006A034 00066F94 38 00 00 00 */ li r0, 0 -/* 8006A038 00066F98 90 1E 04 6C */ stw r0, 0x46c(r30) -lbl_8006A03C: -/* 8006A03C 00066F9C 34 1E 03 D8 */ addic. r0, r30, 0x3d8 -/* 8006A040 00066FA0 41 82 00 44 */ beq lbl_8006A084 -/* 8006A044 00066FA4 80 1E 03 DC */ lwz r0, 0x3dc(r30) -/* 8006A048 00066FA8 80 7E 03 E4 */ lwz r3, 0x3e4(r30) -/* 8006A04C 00066FAC 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006A050 00066FB0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8006A054 00066FB4 7C 64 1B 78 */ mr r4, r3 -/* 8006A058 00066FB8 7C 03 02 14 */ add r0, r3, r0 -/* 8006A05C 00066FBC 90 61 00 08 */ stw r3, 8(r1) -/* 8006A060 00066FC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006A064 00066FC4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8006A068 00066FC8 48 00 00 08 */ b lbl_8006A070 -lbl_8006A06C: -/* 8006A06C 00066FCC 38 84 00 30 */ addi r4, r4, 0x30 -lbl_8006A070: -/* 8006A070 00066FD0 7C 04 00 40 */ cmplw r4, r0 -/* 8006A074 00066FD4 40 82 FF F8 */ bne lbl_8006A06C -/* 8006A078 00066FD8 28 03 00 00 */ cmplwi r3, 0 -/* 8006A07C 00066FDC 41 82 00 08 */ beq lbl_8006A084 -/* 8006A080 00066FE0 48 2A B8 B1 */ bl Free__7CMemoryFPCv -lbl_8006A084: -/* 8006A084 00066FE4 34 1E 03 A8 */ addic. r0, r30, 0x3a8 -/* 8006A088 00066FE8 41 82 00 3C */ beq lbl_8006A0C4 -/* 8006A08C 00066FEC 34 1E 03 CC */ addic. r0, r30, 0x3cc -/* 8006A090 00066FF0 41 82 00 34 */ beq lbl_8006A0C4 -/* 8006A094 00066FF4 88 1E 03 CC */ lbz r0, 0x3cc(r30) -/* 8006A098 00066FF8 28 00 00 00 */ cmplwi r0, 0 -/* 8006A09C 00066FFC 41 82 00 28 */ beq lbl_8006A0C4 -/* 8006A0A0 00067000 83 BE 03 D0 */ lwz r29, 0x3d0(r30) -/* 8006A0A4 00067004 28 1D 00 00 */ cmplwi r29, 0 -/* 8006A0A8 00067008 41 82 00 1C */ beq lbl_8006A0C4 -/* 8006A0AC 0006700C 41 82 00 10 */ beq lbl_8006A0BC -/* 8006A0B0 00067010 7F A3 EB 78 */ mr r3, r29 -/* 8006A0B4 00067014 38 80 00 00 */ li r4, 0 -/* 8006A0B8 00067018 48 2D 6D 89 */ bl __dt__6CTokenFv -lbl_8006A0BC: -/* 8006A0BC 0006701C 7F A3 EB 78 */ mr r3, r29 -/* 8006A0C0 00067020 48 2A B8 71 */ bl Free__7CMemoryFPCv -lbl_8006A0C4: -/* 8006A0C4 00067024 34 1E 03 40 */ addic. r0, r30, 0x340 -/* 8006A0C8 00067028 41 82 00 58 */ beq lbl_8006A120 -/* 8006A0CC 0006702C 80 BE 03 40 */ lwz r5, 0x340(r30) -/* 8006A0D0 00067030 38 60 00 00 */ li r3, 0 -/* 8006A0D4 00067034 2C 05 00 00 */ cmpwi r5, 0 -/* 8006A0D8 00067038 40 81 00 40 */ ble lbl_8006A118 -/* 8006A0DC 0006703C 2C 05 00 08 */ cmpwi r5, 8 -/* 8006A0E0 00067040 38 85 FF F8 */ addi r4, r5, -8 -/* 8006A0E4 00067044 40 81 00 20 */ ble lbl_8006A104 -/* 8006A0E8 00067048 38 04 00 07 */ addi r0, r4, 7 -/* 8006A0EC 0006704C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006A0F0 00067050 7C 09 03 A6 */ mtctr r0 -/* 8006A0F4 00067054 2C 04 00 00 */ cmpwi r4, 0 -/* 8006A0F8 00067058 40 81 00 0C */ ble lbl_8006A104 -lbl_8006A0FC: -/* 8006A0FC 0006705C 38 63 00 08 */ addi r3, r3, 8 -/* 8006A100 00067060 42 00 FF FC */ bdnz lbl_8006A0FC -lbl_8006A104: -/* 8006A104 00067064 7C 03 28 50 */ subf r0, r3, r5 -/* 8006A108 00067068 7C 09 03 A6 */ mtctr r0 -/* 8006A10C 0006706C 7C 03 28 00 */ cmpw r3, r5 -/* 8006A110 00067070 40 80 00 08 */ bge lbl_8006A118 -lbl_8006A114: -/* 8006A114 00067074 42 00 00 00 */ bdnz lbl_8006A114 -lbl_8006A118: -/* 8006A118 00067078 38 00 00 00 */ li r0, 0 -/* 8006A11C 0006707C 90 1E 03 40 */ stw r0, 0x340(r30) -lbl_8006A120: -/* 8006A120 00067080 34 1E 03 3C */ addic. r0, r30, 0x33c -/* 8006A124 00067084 41 82 00 10 */ beq lbl_8006A134 -/* 8006A128 00067088 80 7E 03 3C */ lwz r3, 0x33c(r30) -/* 8006A12C 0006708C 38 80 00 01 */ li r4, 1 -/* 8006A130 00067090 48 09 AF A5 */ bl __dt__12CActorLightsFv -lbl_8006A134: -/* 8006A134 00067094 34 1E 02 B4 */ addic. r0, r30, 0x2b4 -/* 8006A138 00067098 41 82 00 0C */ beq lbl_8006A144 -/* 8006A13C 0006709C 80 7E 02 B4 */ lwz r3, 0x2b4(r30) -/* 8006A140 000670A0 48 2A B7 F1 */ bl Free__7CMemoryFPCv -lbl_8006A144: -/* 8006A144 000670A4 34 1E 02 B0 */ addic. r0, r30, 0x2b0 -/* 8006A148 000670A8 41 82 00 CC */ beq lbl_8006A214 -/* 8006A14C 000670AC 80 7E 02 B0 */ lwz r3, 0x2b0(r30) -/* 8006A150 000670B0 28 03 00 00 */ cmplwi r3, 0 -/* 8006A154 000670B4 41 82 00 C0 */ beq lbl_8006A214 -/* 8006A158 000670B8 34 03 00 24 */ addic. r0, r3, 0x24 -/* 8006A15C 000670BC 41 82 00 58 */ beq lbl_8006A1B4 -/* 8006A160 000670C0 80 C3 00 24 */ lwz r6, 0x24(r3) -/* 8006A164 000670C4 38 80 00 00 */ li r4, 0 -/* 8006A168 000670C8 2C 06 00 00 */ cmpwi r6, 0 -/* 8006A16C 000670CC 40 81 00 40 */ ble lbl_8006A1AC -/* 8006A170 000670D0 2C 06 00 08 */ cmpwi r6, 8 -/* 8006A174 000670D4 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006A178 000670D8 40 81 00 20 */ ble lbl_8006A198 -/* 8006A17C 000670DC 38 05 00 07 */ addi r0, r5, 7 -/* 8006A180 000670E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006A184 000670E4 7C 09 03 A6 */ mtctr r0 -/* 8006A188 000670E8 2C 05 00 00 */ cmpwi r5, 0 -/* 8006A18C 000670EC 40 81 00 0C */ ble lbl_8006A198 -lbl_8006A190: -/* 8006A190 000670F0 38 84 00 08 */ addi r4, r4, 8 -/* 8006A194 000670F4 42 00 FF FC */ bdnz lbl_8006A190 -lbl_8006A198: -/* 8006A198 000670F8 7C 04 30 50 */ subf r0, r4, r6 -/* 8006A19C 000670FC 7C 09 03 A6 */ mtctr r0 -/* 8006A1A0 00067100 7C 04 30 00 */ cmpw r4, r6 -/* 8006A1A4 00067104 40 80 00 08 */ bge lbl_8006A1AC -lbl_8006A1A8: -/* 8006A1A8 00067108 42 00 00 00 */ bdnz lbl_8006A1A8 -lbl_8006A1AC: -/* 8006A1AC 0006710C 38 00 00 00 */ li r0, 0 -/* 8006A1B0 00067110 90 03 00 24 */ stw r0, 0x24(r3) -lbl_8006A1B4: -/* 8006A1B4 00067114 34 03 00 14 */ addic. r0, r3, 0x14 -/* 8006A1B8 00067118 41 82 00 58 */ beq lbl_8006A210 -/* 8006A1BC 0006711C 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 8006A1C0 00067120 38 80 00 00 */ li r4, 0 -/* 8006A1C4 00067124 2C 06 00 00 */ cmpwi r6, 0 -/* 8006A1C8 00067128 40 81 00 40 */ ble lbl_8006A208 -/* 8006A1CC 0006712C 2C 06 00 08 */ cmpwi r6, 8 -/* 8006A1D0 00067130 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006A1D4 00067134 40 81 00 20 */ ble lbl_8006A1F4 -/* 8006A1D8 00067138 38 05 00 07 */ addi r0, r5, 7 -/* 8006A1DC 0006713C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006A1E0 00067140 7C 09 03 A6 */ mtctr r0 -/* 8006A1E4 00067144 2C 05 00 00 */ cmpwi r5, 0 -/* 8006A1E8 00067148 40 81 00 0C */ ble lbl_8006A1F4 -lbl_8006A1EC: -/* 8006A1EC 0006714C 38 84 00 08 */ addi r4, r4, 8 -/* 8006A1F0 00067150 42 00 FF FC */ bdnz lbl_8006A1EC -lbl_8006A1F4: -/* 8006A1F4 00067154 7C 04 30 50 */ subf r0, r4, r6 -/* 8006A1F8 00067158 7C 09 03 A6 */ mtctr r0 -/* 8006A1FC 0006715C 7C 04 30 00 */ cmpw r4, r6 -/* 8006A200 00067160 40 80 00 08 */ bge lbl_8006A208 -lbl_8006A204: -/* 8006A204 00067164 42 00 00 00 */ bdnz lbl_8006A204 -lbl_8006A208: -/* 8006A208 00067168 38 00 00 00 */ li r0, 0 -/* 8006A20C 0006716C 90 03 00 14 */ stw r0, 0x14(r3) -lbl_8006A210: -/* 8006A210 00067170 48 2A B7 21 */ bl Free__7CMemoryFPCv -lbl_8006A214: -/* 8006A214 00067174 34 1E 02 AC */ addic. r0, r30, 0x2ac -/* 8006A218 00067178 41 82 00 2C */ beq lbl_8006A244 -/* 8006A21C 0006717C 83 BE 02 AC */ lwz r29, 0x2ac(r30) -/* 8006A220 00067180 28 1D 00 00 */ cmplwi r29, 0 -/* 8006A224 00067184 41 82 00 20 */ beq lbl_8006A244 -/* 8006A228 00067188 41 82 00 14 */ beq lbl_8006A23C -/* 8006A22C 0006718C 41 82 00 10 */ beq lbl_8006A23C -/* 8006A230 00067190 7F A3 EB 78 */ mr r3, r29 -/* 8006A234 00067194 38 80 00 00 */ li r4, 0 -/* 8006A238 00067198 48 2D 6C 09 */ bl __dt__6CTokenFv -lbl_8006A23C: -/* 8006A23C 0006719C 7F A3 EB 78 */ mr r3, r29 -/* 8006A240 000671A0 48 2A B6 F1 */ bl Free__7CMemoryFPCv -lbl_8006A244: -/* 8006A244 000671A4 34 1E 02 A8 */ addic. r0, r30, 0x2a8 -/* 8006A248 000671A8 41 82 00 70 */ beq lbl_8006A2B8 -/* 8006A24C 000671AC 80 7E 02 A8 */ lwz r3, 0x2a8(r30) -/* 8006A250 000671B0 28 03 00 00 */ cmplwi r3, 0 -/* 8006A254 000671B4 41 82 00 64 */ beq lbl_8006A2B8 -/* 8006A258 000671B8 34 03 00 28 */ addic. r0, r3, 0x28 -/* 8006A25C 000671BC 41 82 00 58 */ beq lbl_8006A2B4 -/* 8006A260 000671C0 80 C3 00 28 */ lwz r6, 0x28(r3) -/* 8006A264 000671C4 38 80 00 00 */ li r4, 0 -/* 8006A268 000671C8 2C 06 00 00 */ cmpwi r6, 0 -/* 8006A26C 000671CC 40 81 00 40 */ ble lbl_8006A2AC -/* 8006A270 000671D0 2C 06 00 08 */ cmpwi r6, 8 -/* 8006A274 000671D4 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006A278 000671D8 40 81 00 20 */ ble lbl_8006A298 -/* 8006A27C 000671DC 38 05 00 07 */ addi r0, r5, 7 -/* 8006A280 000671E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006A284 000671E4 7C 09 03 A6 */ mtctr r0 -/* 8006A288 000671E8 2C 05 00 00 */ cmpwi r5, 0 -/* 8006A28C 000671EC 40 81 00 0C */ ble lbl_8006A298 -lbl_8006A290: -/* 8006A290 000671F0 38 84 00 08 */ addi r4, r4, 8 -/* 8006A294 000671F4 42 00 FF FC */ bdnz lbl_8006A290 -lbl_8006A298: -/* 8006A298 000671F8 7C 04 30 50 */ subf r0, r4, r6 -/* 8006A29C 000671FC 7C 09 03 A6 */ mtctr r0 -/* 8006A2A0 00067200 7C 04 30 00 */ cmpw r4, r6 -/* 8006A2A4 00067204 40 80 00 08 */ bge lbl_8006A2AC -lbl_8006A2A8: -/* 8006A2A8 00067208 42 00 00 00 */ bdnz lbl_8006A2A8 -lbl_8006A2AC: -/* 8006A2AC 0006720C 38 00 00 00 */ li r0, 0 -/* 8006A2B0 00067210 90 03 00 28 */ stw r0, 0x28(r3) -lbl_8006A2B4: -/* 8006A2B4 00067214 48 2A B6 7D */ bl Free__7CMemoryFPCv -lbl_8006A2B8: -/* 8006A2B8 00067218 34 1E 02 A4 */ addic. r0, r30, 0x2a4 -/* 8006A2BC 0006721C 41 82 00 70 */ beq lbl_8006A32C -/* 8006A2C0 00067220 80 7E 02 A4 */ lwz r3, 0x2a4(r30) -/* 8006A2C4 00067224 28 03 00 00 */ cmplwi r3, 0 -/* 8006A2C8 00067228 41 82 00 64 */ beq lbl_8006A32C -/* 8006A2CC 0006722C 34 03 00 28 */ addic. r0, r3, 0x28 -/* 8006A2D0 00067230 41 82 00 58 */ beq lbl_8006A328 -/* 8006A2D4 00067234 80 C3 00 28 */ lwz r6, 0x28(r3) -/* 8006A2D8 00067238 38 80 00 00 */ li r4, 0 -/* 8006A2DC 0006723C 2C 06 00 00 */ cmpwi r6, 0 -/* 8006A2E0 00067240 40 81 00 40 */ ble lbl_8006A320 -/* 8006A2E4 00067244 2C 06 00 08 */ cmpwi r6, 8 -/* 8006A2E8 00067248 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006A2EC 0006724C 40 81 00 20 */ ble lbl_8006A30C -/* 8006A2F0 00067250 38 05 00 07 */ addi r0, r5, 7 -/* 8006A2F4 00067254 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006A2F8 00067258 7C 09 03 A6 */ mtctr r0 -/* 8006A2FC 0006725C 2C 05 00 00 */ cmpwi r5, 0 -/* 8006A300 00067260 40 81 00 0C */ ble lbl_8006A30C -lbl_8006A304: -/* 8006A304 00067264 38 84 00 08 */ addi r4, r4, 8 -/* 8006A308 00067268 42 00 FF FC */ bdnz lbl_8006A304 -lbl_8006A30C: -/* 8006A30C 0006726C 7C 04 30 50 */ subf r0, r4, r6 -/* 8006A310 00067270 7C 09 03 A6 */ mtctr r0 -/* 8006A314 00067274 7C 04 30 00 */ cmpw r4, r6 -/* 8006A318 00067278 40 80 00 08 */ bge lbl_8006A320 -lbl_8006A31C: -/* 8006A31C 0006727C 42 00 00 00 */ bdnz lbl_8006A31C -lbl_8006A320: -/* 8006A320 00067280 38 00 00 00 */ li r0, 0 -/* 8006A324 00067284 90 03 00 28 */ stw r0, 0x28(r3) -lbl_8006A328: -/* 8006A328 00067288 48 2A B6 09 */ bl Free__7CMemoryFPCv -lbl_8006A32C: -/* 8006A32C 0006728C 34 1E 02 A0 */ addic. r0, r30, 0x2a0 -/* 8006A330 00067290 41 82 00 0C */ beq lbl_8006A33C -/* 8006A334 00067294 80 7E 02 A0 */ lwz r3, 0x2a0(r30) -/* 8006A338 00067298 48 2A B5 F9 */ bl Free__7CMemoryFPCv -lbl_8006A33C: -/* 8006A33C 0006729C 34 1E 02 9C */ addic. r0, r30, 0x29c -/* 8006A340 000672A0 41 82 00 24 */ beq lbl_8006A364 -/* 8006A344 000672A4 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 8006A348 000672A8 28 03 00 00 */ cmplwi r3, 0 -/* 8006A34C 000672AC 41 82 00 18 */ beq lbl_8006A364 -/* 8006A350 000672B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8006A354 000672B4 38 80 00 01 */ li r4, 1 -/* 8006A358 000672B8 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8006A35C 000672BC 7D 89 03 A6 */ mtctr r12 -/* 8006A360 000672C0 4E 80 04 21 */ bctrl -lbl_8006A364: -/* 8006A364 000672C4 34 1E 02 98 */ addic. r0, r30, 0x298 -/* 8006A368 000672C8 41 82 00 24 */ beq lbl_8006A38C -/* 8006A36C 000672CC 80 7E 02 98 */ lwz r3, 0x298(r30) -/* 8006A370 000672D0 28 03 00 00 */ cmplwi r3, 0 -/* 8006A374 000672D4 41 82 00 18 */ beq lbl_8006A38C -/* 8006A378 000672D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8006A37C 000672DC 38 80 00 01 */ li r4, 1 -/* 8006A380 000672E0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006A384 000672E4 7D 89 03 A6 */ mtctr r12 -/* 8006A388 000672E8 4E 80 04 21 */ bctrl -lbl_8006A38C: -/* 8006A38C 000672EC 34 1E 02 94 */ addic. r0, r30, 0x294 -/* 8006A390 000672F0 41 82 00 0C */ beq lbl_8006A39C -/* 8006A394 000672F4 80 7E 02 94 */ lwz r3, 0x294(r30) -/* 8006A398 000672F8 48 2A B5 99 */ bl Free__7CMemoryFPCv -lbl_8006A39C: -/* 8006A39C 000672FC 34 1E 02 90 */ addic. r0, r30, 0x290 -/* 8006A3A0 00067300 41 82 00 24 */ beq lbl_8006A3C4 -/* 8006A3A4 00067304 80 7E 02 90 */ lwz r3, 0x290(r30) -/* 8006A3A8 00067308 28 03 00 00 */ cmplwi r3, 0 -/* 8006A3AC 0006730C 41 82 00 18 */ beq lbl_8006A3C4 -/* 8006A3B0 00067310 81 83 00 00 */ lwz r12, 0(r3) -/* 8006A3B4 00067314 38 80 00 01 */ li r4, 1 -/* 8006A3B8 00067318 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006A3BC 0006731C 7D 89 03 A6 */ mtctr r12 -/* 8006A3C0 00067320 4E 80 04 21 */ bctrl -lbl_8006A3C4: -/* 8006A3C4 00067324 34 1E 02 8C */ addic. r0, r30, 0x28c -/* 8006A3C8 00067328 41 82 00 0C */ beq lbl_8006A3D4 -/* 8006A3CC 0006732C 80 7E 02 8C */ lwz r3, 0x28c(r30) -/* 8006A3D0 00067330 48 2A B5 61 */ bl Free__7CMemoryFPCv -lbl_8006A3D4: -/* 8006A3D4 00067334 34 1E 02 78 */ addic. r0, r30, 0x278 -/* 8006A3D8 00067338 41 82 00 30 */ beq lbl_8006A408 -/* 8006A3DC 0006733C 88 1E 02 84 */ lbz r0, 0x284(r30) -/* 8006A3E0 00067340 28 00 00 00 */ cmplwi r0, 0 -/* 8006A3E4 00067344 41 82 00 1C */ beq lbl_8006A400 -/* 8006A3E8 00067348 34 7E 02 78 */ addic. r3, r30, 0x278 -/* 8006A3EC 0006734C 41 82 00 14 */ beq lbl_8006A400 -/* 8006A3F0 00067350 28 03 00 00 */ cmplwi r3, 0 -/* 8006A3F4 00067354 41 82 00 0C */ beq lbl_8006A400 -/* 8006A3F8 00067358 38 80 00 00 */ li r4, 0 -/* 8006A3FC 0006735C 48 2D 6A 45 */ bl __dt__6CTokenFv -lbl_8006A400: -/* 8006A400 00067360 38 00 00 00 */ li r0, 0 -/* 8006A404 00067364 98 1E 02 84 */ stb r0, 0x284(r30) -lbl_8006A408: -/* 8006A408 00067368 34 1E 02 68 */ addic. r0, r30, 0x268 -/* 8006A40C 0006736C 41 82 00 18 */ beq lbl_8006A424 -/* 8006A410 00067370 34 1E 02 68 */ addic. r0, r30, 0x268 -/* 8006A414 00067374 41 82 00 10 */ beq lbl_8006A424 -/* 8006A418 00067378 38 7E 02 68 */ addi r3, r30, 0x268 -/* 8006A41C 0006737C 38 80 00 00 */ li r4, 0 -/* 8006A420 00067380 48 2D 6A 21 */ bl __dt__6CTokenFv -lbl_8006A424: -/* 8006A424 00067384 34 1E 02 58 */ addic. r0, r30, 0x258 -/* 8006A428 00067388 41 82 00 18 */ beq lbl_8006A440 -/* 8006A42C 0006738C 34 1E 02 58 */ addic. r0, r30, 0x258 -/* 8006A430 00067390 41 82 00 10 */ beq lbl_8006A440 -/* 8006A434 00067394 38 7E 02 58 */ addi r3, r30, 0x258 -/* 8006A438 00067398 38 80 00 00 */ li r4, 0 -/* 8006A43C 0006739C 48 2D 6A 05 */ bl __dt__6CTokenFv -lbl_8006A440: -/* 8006A440 000673A0 38 7E 00 08 */ addi r3, r30, 8 -/* 8006A444 000673A4 38 80 FF FF */ li r4, -1 -/* 8006A448 000673A8 48 00 00 35 */ bl sub_8006a47c -/* 8006A44C 000673AC 7F E0 07 35 */ extsh. r0, r31 -/* 8006A450 000673B0 40 81 00 0C */ ble lbl_8006A45C -/* 8006A454 000673B4 7F C3 F3 78 */ mr r3, r30 -/* 8006A458 000673B8 48 2A B4 D9 */ bl Free__7CMemoryFPCv -lbl_8006A45C: -/* 8006A45C 000673BC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006A460 000673C0 7F C3 F3 78 */ mr r3, r30 -/* 8006A464 000673C4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8006A468 000673C8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8006A46C 000673CC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8006A470 000673D0 7C 08 03 A6 */ mtlr r0 -/* 8006A474 000673D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006A478 000673D8 4E 80 00 20 */ blr - -.global sub_8006a47c -sub_8006a47c: -/* 8006A47C 000673DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006A480 000673E0 7C 08 02 A6 */ mflr r0 -/* 8006A484 000673E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006A488 000673E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006A48C 000673EC 7C 9F 23 78 */ mr r31, r4 -/* 8006A490 000673F0 93 C1 00 08 */ stw r30, 8(r1) -/* 8006A494 000673F4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8006A498 000673F8 41 82 00 40 */ beq lbl_8006A4D8 -/* 8006A49C 000673FC 34 1E 02 1C */ addic. r0, r30, 0x21c -/* 8006A4A0 00067400 41 82 00 1C */ beq lbl_8006A4BC -/* 8006A4A4 00067404 34 7E 02 44 */ addic. r3, r30, 0x244 -/* 8006A4A8 00067408 41 82 00 14 */ beq lbl_8006A4BC -/* 8006A4AC 0006740C 28 03 00 00 */ cmplwi r3, 0 -/* 8006A4B0 00067410 41 82 00 0C */ beq lbl_8006A4BC -/* 8006A4B4 00067414 38 80 00 00 */ li r4, 0 -/* 8006A4B8 00067418 48 2D 69 89 */ bl __dt__6CTokenFv -lbl_8006A4BC: -/* 8006A4BC 0006741C 7F C3 F3 78 */ mr r3, r30 -/* 8006A4C0 00067420 38 80 FF FF */ li r4, -1 -/* 8006A4C4 00067424 48 00 00 31 */ bl sub_8006a4f4 -/* 8006A4C8 00067428 7F E0 07 35 */ extsh. r0, r31 -/* 8006A4CC 0006742C 40 81 00 0C */ ble lbl_8006A4D8 -/* 8006A4D0 00067430 7F C3 F3 78 */ mr r3, r30 -/* 8006A4D4 00067434 48 2A B4 5D */ bl Free__7CMemoryFPCv -lbl_8006A4D8: -/* 8006A4D8 00067438 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006A4DC 0006743C 7F C3 F3 78 */ mr r3, r30 -/* 8006A4E0 00067440 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8006A4E4 00067444 83 C1 00 08 */ lwz r30, 8(r1) -/* 8006A4E8 00067448 7C 08 03 A6 */ mtlr r0 -/* 8006A4EC 0006744C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006A4F0 00067450 4E 80 00 20 */ blr - -.global sub_8006a4f4 -sub_8006a4f4: -/* 8006A4F4 00067454 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006A4F8 00067458 7C 08 02 A6 */ mflr r0 -/* 8006A4FC 0006745C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006A500 00067460 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006A504 00067464 7C 9F 23 78 */ mr r31, r4 -/* 8006A508 00067468 93 C1 00 08 */ stw r30, 8(r1) -/* 8006A50C 0006746C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8006A510 00067470 41 82 01 94 */ beq lbl_8006A6A4 -/* 8006A514 00067474 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 8006A518 00067478 38 80 FF FF */ li r4, -1 -/* 8006A51C 0006747C 48 00 01 A5 */ bl sub_8006a6c0 -/* 8006A520 00067480 34 1E 00 C4 */ addic. r0, r30, 0xc4 -/* 8006A524 00067484 41 82 00 20 */ beq lbl_8006A544 -/* 8006A528 00067488 34 1E 00 C4 */ addic. r0, r30, 0xc4 -/* 8006A52C 0006748C 41 82 00 18 */ beq lbl_8006A544 -/* 8006A530 00067490 34 1E 00 C4 */ addic. r0, r30, 0xc4 -/* 8006A534 00067494 41 82 00 10 */ beq lbl_8006A544 -/* 8006A538 00067498 38 7E 00 C4 */ addi r3, r30, 0xc4 -/* 8006A53C 0006749C 38 80 00 00 */ li r4, 0 -/* 8006A540 000674A0 48 2D 69 01 */ bl __dt__6CTokenFv -lbl_8006A544: -/* 8006A544 000674A4 34 1E 00 B8 */ addic. r0, r30, 0xb8 -/* 8006A548 000674A8 41 82 00 18 */ beq lbl_8006A560 -/* 8006A54C 000674AC 34 1E 00 B8 */ addic. r0, r30, 0xb8 -/* 8006A550 000674B0 41 82 00 10 */ beq lbl_8006A560 -/* 8006A554 000674B4 38 7E 00 B8 */ addi r3, r30, 0xb8 -/* 8006A558 000674B8 38 80 00 00 */ li r4, 0 -/* 8006A55C 000674BC 48 2D 68 E5 */ bl __dt__6CTokenFv -lbl_8006A560: -/* 8006A560 000674C0 34 1E 00 AC */ addic. r0, r30, 0xac -/* 8006A564 000674C4 41 82 00 18 */ beq lbl_8006A57C -/* 8006A568 000674C8 34 1E 00 AC */ addic. r0, r30, 0xac -/* 8006A56C 000674CC 41 82 00 10 */ beq lbl_8006A57C -/* 8006A570 000674D0 38 7E 00 AC */ addi r3, r30, 0xac -/* 8006A574 000674D4 38 80 00 00 */ li r4, 0 -/* 8006A578 000674D8 48 2D 68 C9 */ bl __dt__6CTokenFv -lbl_8006A57C: -/* 8006A57C 000674DC 34 1E 00 A0 */ addic. r0, r30, 0xa0 -/* 8006A580 000674E0 41 82 00 18 */ beq lbl_8006A598 -/* 8006A584 000674E4 34 1E 00 A0 */ addic. r0, r30, 0xa0 -/* 8006A588 000674E8 41 82 00 10 */ beq lbl_8006A598 -/* 8006A58C 000674EC 38 7E 00 A0 */ addi r3, r30, 0xa0 -/* 8006A590 000674F0 38 80 00 00 */ li r4, 0 -/* 8006A594 000674F4 48 2D 68 AD */ bl __dt__6CTokenFv -lbl_8006A598: -/* 8006A598 000674F8 34 1E 00 94 */ addic. r0, r30, 0x94 -/* 8006A59C 000674FC 41 82 00 18 */ beq lbl_8006A5B4 -/* 8006A5A0 00067500 34 1E 00 94 */ addic. r0, r30, 0x94 -/* 8006A5A4 00067504 41 82 00 10 */ beq lbl_8006A5B4 -/* 8006A5A8 00067508 38 7E 00 94 */ addi r3, r30, 0x94 -/* 8006A5AC 0006750C 38 80 00 00 */ li r4, 0 -/* 8006A5B0 00067510 48 2D 68 91 */ bl __dt__6CTokenFv -lbl_8006A5B4: -/* 8006A5B4 00067514 34 1E 00 88 */ addic. r0, r30, 0x88 -/* 8006A5B8 00067518 41 82 00 18 */ beq lbl_8006A5D0 -/* 8006A5BC 0006751C 34 1E 00 88 */ addic. r0, r30, 0x88 -/* 8006A5C0 00067520 41 82 00 10 */ beq lbl_8006A5D0 -/* 8006A5C4 00067524 38 7E 00 88 */ addi r3, r30, 0x88 -/* 8006A5C8 00067528 38 80 00 00 */ li r4, 0 -/* 8006A5CC 0006752C 48 2D 68 75 */ bl __dt__6CTokenFv -lbl_8006A5D0: -/* 8006A5D0 00067530 34 1E 00 7C */ addic. r0, r30, 0x7c -/* 8006A5D4 00067534 41 82 00 18 */ beq lbl_8006A5EC -/* 8006A5D8 00067538 34 1E 00 7C */ addic. r0, r30, 0x7c -/* 8006A5DC 0006753C 41 82 00 10 */ beq lbl_8006A5EC -/* 8006A5E0 00067540 38 7E 00 7C */ addi r3, r30, 0x7c -/* 8006A5E4 00067544 38 80 00 00 */ li r4, 0 -/* 8006A5E8 00067548 48 2D 68 59 */ bl __dt__6CTokenFv -lbl_8006A5EC: -/* 8006A5EC 0006754C 34 1E 00 70 */ addic. r0, r30, 0x70 -/* 8006A5F0 00067550 41 82 00 18 */ beq lbl_8006A608 -/* 8006A5F4 00067554 34 1E 00 70 */ addic. r0, r30, 0x70 -/* 8006A5F8 00067558 41 82 00 10 */ beq lbl_8006A608 -/* 8006A5FC 0006755C 38 7E 00 70 */ addi r3, r30, 0x70 -/* 8006A600 00067560 38 80 00 00 */ li r4, 0 -/* 8006A604 00067564 48 2D 68 3D */ bl __dt__6CTokenFv -lbl_8006A608: -/* 8006A608 00067568 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 8006A60C 0006756C 41 82 00 18 */ beq lbl_8006A624 -/* 8006A610 00067570 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 8006A614 00067574 41 82 00 10 */ beq lbl_8006A624 -/* 8006A618 00067578 38 7E 00 64 */ addi r3, r30, 0x64 -/* 8006A61C 0006757C 38 80 00 00 */ li r4, 0 -/* 8006A620 00067580 48 2D 68 21 */ bl __dt__6CTokenFv -lbl_8006A624: -/* 8006A624 00067584 34 1E 00 58 */ addic. r0, r30, 0x58 -/* 8006A628 00067588 41 82 00 18 */ beq lbl_8006A640 -/* 8006A62C 0006758C 34 1E 00 58 */ addic. r0, r30, 0x58 -/* 8006A630 00067590 41 82 00 10 */ beq lbl_8006A640 -/* 8006A634 00067594 38 7E 00 58 */ addi r3, r30, 0x58 -/* 8006A638 00067598 38 80 00 00 */ li r4, 0 -/* 8006A63C 0006759C 48 2D 68 05 */ bl __dt__6CTokenFv -lbl_8006A640: -/* 8006A640 000675A0 34 1E 00 4C */ addic. r0, r30, 0x4c -/* 8006A644 000675A4 41 82 00 18 */ beq lbl_8006A65C -/* 8006A648 000675A8 34 1E 00 4C */ addic. r0, r30, 0x4c -/* 8006A64C 000675AC 41 82 00 10 */ beq lbl_8006A65C -/* 8006A650 000675B0 38 7E 00 4C */ addi r3, r30, 0x4c -/* 8006A654 000675B4 38 80 00 00 */ li r4, 0 -/* 8006A658 000675B8 48 2D 67 E9 */ bl __dt__6CTokenFv -lbl_8006A65C: -/* 8006A65C 000675BC 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 8006A660 000675C0 41 82 00 18 */ beq lbl_8006A678 -/* 8006A664 000675C4 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 8006A668 000675C8 41 82 00 10 */ beq lbl_8006A678 -/* 8006A66C 000675CC 38 7E 00 40 */ addi r3, r30, 0x40 -/* 8006A670 000675D0 38 80 00 00 */ li r4, 0 -/* 8006A674 000675D4 48 2D 67 CD */ bl __dt__6CTokenFv -lbl_8006A678: -/* 8006A678 000675D8 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 8006A67C 000675DC 41 82 00 18 */ beq lbl_8006A694 -/* 8006A680 000675E0 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 8006A684 000675E4 41 82 00 10 */ beq lbl_8006A694 -/* 8006A688 000675E8 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8006A68C 000675EC 38 80 00 00 */ li r4, 0 -/* 8006A690 000675F0 48 2D 67 B1 */ bl __dt__6CTokenFv -lbl_8006A694: -/* 8006A694 000675F4 7F E0 07 35 */ extsh. r0, r31 -/* 8006A698 000675F8 40 81 00 0C */ ble lbl_8006A6A4 -/* 8006A69C 000675FC 7F C3 F3 78 */ mr r3, r30 -/* 8006A6A0 00067600 48 2A B2 91 */ bl Free__7CMemoryFPCv -lbl_8006A6A4: -/* 8006A6A4 00067604 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006A6A8 00067608 7F C3 F3 78 */ mr r3, r30 -/* 8006A6AC 0006760C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8006A6B0 00067610 83 C1 00 08 */ lwz r30, 8(r1) -/* 8006A6B4 00067614 7C 08 03 A6 */ mtlr r0 -/* 8006A6B8 00067618 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006A6BC 0006761C 4E 80 00 20 */ blr - -.global sub_8006a6c0 -sub_8006a6c0: -/* 8006A6C0 00067620 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006A6C4 00067624 7C 08 02 A6 */ mflr r0 -/* 8006A6C8 00067628 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006A6CC 0006762C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8006A6D0 00067630 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8006A6D4 00067634 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8006A6D8 00067638 7C 9D 23 78 */ mr r29, r4 -/* 8006A6DC 0006763C 93 81 00 20 */ stw r28, 0x20(r1) -/* 8006A6E0 00067640 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8006A6E4 00067644 41 82 00 70 */ beq lbl_8006A754 -/* 8006A6E8 00067648 80 1C 00 04 */ lwz r0, 4(r28) -/* 8006A6EC 0006764C 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 8006A6F0 00067650 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 8006A6F4 00067654 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8006A6F8 00067658 7F FE 02 14 */ add r31, r30, r0 -/* 8006A6FC 0006765C 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8006A700 00067660 93 E1 00 08 */ stw r31, 8(r1) -/* 8006A704 00067664 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006A708 00067668 48 00 00 24 */ b lbl_8006A72C -lbl_8006A70C: -/* 8006A70C 0006766C 28 1E 00 00 */ cmplwi r30, 0 -/* 8006A710 00067670 41 82 00 18 */ beq lbl_8006A728 -/* 8006A714 00067674 41 82 00 14 */ beq lbl_8006A728 -/* 8006A718 00067678 41 82 00 10 */ beq lbl_8006A728 -/* 8006A71C 0006767C 7F C3 F3 78 */ mr r3, r30 -/* 8006A720 00067680 38 80 00 00 */ li r4, 0 -/* 8006A724 00067684 48 2D 67 1D */ bl __dt__6CTokenFv -lbl_8006A728: -/* 8006A728 00067688 3B DE 00 1C */ addi r30, r30, 0x1c -lbl_8006A72C: -/* 8006A72C 0006768C 7C 1E F8 40 */ cmplw r30, r31 -/* 8006A730 00067690 40 82 FF DC */ bne lbl_8006A70C -/* 8006A734 00067694 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8006A738 00067698 28 03 00 00 */ cmplwi r3, 0 -/* 8006A73C 0006769C 41 82 00 08 */ beq lbl_8006A744 -/* 8006A740 000676A0 48 2A B1 F1 */ bl Free__7CMemoryFPCv -lbl_8006A744: -/* 8006A744 000676A4 7F A0 07 35 */ extsh. r0, r29 -/* 8006A748 000676A8 40 81 00 0C */ ble lbl_8006A754 -/* 8006A74C 000676AC 7F 83 E3 78 */ mr r3, r28 -/* 8006A750 000676B0 48 2A B1 E1 */ bl Free__7CMemoryFPCv -lbl_8006A754: -/* 8006A754 000676B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006A758 000676B8 7F 83 E3 78 */ mr r3, r28 -/* 8006A75C 000676BC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8006A760 000676C0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8006A764 000676C4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8006A768 000676C8 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8006A76C 000676CC 7C 08 03 A6 */ mtlr r0 -/* 8006A770 000676D0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006A774 000676D4 4E 80 00 20 */ blr - -.global __dt__19IHudThreatInterfaceFv -__dt__19IHudThreatInterfaceFv: -/* 8006A778 000676D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006A77C 000676DC 7C 08 02 A6 */ mflr r0 -/* 8006A780 000676E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006A784 000676E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006A788 000676E8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8006A78C 000676EC 41 82 00 1C */ beq lbl_8006A7A8 -/* 8006A790 000676F0 3C A0 80 3E */ lis r5, lbl_803DA304@ha -/* 8006A794 000676F4 7C 80 07 35 */ extsh. r0, r4 -/* 8006A798 000676F8 38 05 A3 04 */ addi r0, r5, lbl_803DA304@l -/* 8006A79C 000676FC 90 1F 00 00 */ stw r0, 0(r31) -/* 8006A7A0 00067700 40 81 00 08 */ ble lbl_8006A7A8 -/* 8006A7A4 00067704 48 2A B1 8D */ bl Free__7CMemoryFPCv -lbl_8006A7A8: -/* 8006A7A8 00067708 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006A7AC 0006770C 7F E3 FB 78 */ mr r3, r31 -/* 8006A7B0 00067710 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8006A7B4 00067714 7C 08 03 A6 */ mtlr r0 -/* 8006A7B8 00067718 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006A7BC 0006771C 4E 80 00 20 */ blr - -.global __dt__21IHudFreeLookInterfaceFv -__dt__21IHudFreeLookInterfaceFv: -/* 8006A7C0 00067720 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006A7C4 00067724 7C 08 02 A6 */ mflr r0 -/* 8006A7C8 00067728 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006A7CC 0006772C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006A7D0 00067730 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8006A7D4 00067734 41 82 00 1C */ beq lbl_8006A7F0 -/* 8006A7D8 00067738 3C A0 80 3E */ lis r5, lbl_803DA2E8@ha -/* 8006A7DC 0006773C 7C 80 07 35 */ extsh. r0, r4 -/* 8006A7E0 00067740 38 05 A2 E8 */ addi r0, r5, lbl_803DA2E8@l -/* 8006A7E4 00067744 90 1F 00 00 */ stw r0, 0(r31) -/* 8006A7E8 00067748 40 81 00 08 */ ble lbl_8006A7F0 -/* 8006A7EC 0006774C 48 2A B1 45 */ bl Free__7CMemoryFPCv -lbl_8006A7F0: -/* 8006A7F0 00067750 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006A7F4 00067754 7F E3 FB 78 */ mr r3, r31 -/* 8006A7F8 00067758 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8006A7FC 0006775C 7C 08 03 A6 */ mtlr r0 -/* 8006A800 00067760 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006A804 00067764 4E 80 00 20 */ blr - -.global __dt__17IHudDecoInterfaceFv -__dt__17IHudDecoInterfaceFv: -/* 8006A808 00067768 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006A80C 0006776C 7C 08 02 A6 */ mflr r0 -/* 8006A810 00067770 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006A814 00067774 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006A818 00067778 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8006A81C 0006777C 41 82 00 1C */ beq lbl_8006A838 -/* 8006A820 00067780 3C A0 80 3E */ lis r5, lbl_803DA2A4@ha -/* 8006A824 00067784 7C 80 07 35 */ extsh. r0, r4 -/* 8006A828 00067788 38 05 A2 A4 */ addi r0, r5, lbl_803DA2A4@l -/* 8006A82C 0006778C 90 1F 00 00 */ stw r0, 0(r31) -/* 8006A830 00067790 40 81 00 08 */ ble lbl_8006A838 -/* 8006A834 00067794 48 2A B0 FD */ bl Free__7CMemoryFPCv -lbl_8006A838: -/* 8006A838 00067798 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006A83C 0006779C 7F E3 FB 78 */ mr r3, r31 -/* 8006A840 000677A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8006A844 000677A4 7C 08 03 A6 */ mtlr r0 -/* 8006A848 000677A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006A84C 000677AC 4E 80 00 20 */ blr - -.global UpdateEnergyLow__9CSamusHudFfRC13CStateManager -UpdateEnergyLow__9CSamusHudFfRC13CStateManager: -/* 8006A850 000677B0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8006A854 000677B4 7C 08 02 A6 */ mflr r0 -/* 8006A858 000677B8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8006A85C 000677BC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8006A860 000677C0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8006A864 000677C4 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8006A868 000677C8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8006A86C 000677CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8006A870 000677D0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8006A874 000677D4 FF C0 08 90 */ fmr f30, f1 -/* 8006A878 000677D8 7C 7E 1B 78 */ mr r30, r3 -/* 8006A87C 000677DC 80 64 08 70 */ lwz r3, 0x870(r4) -/* 8006A880 000677E0 4B FA 12 99 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8006A884 000677E4 7C 64 1B 78 */ mr r4, r3 -/* 8006A888 000677E8 38 61 00 0C */ addi r3, r1, 0xc -/* 8006A88C 000677EC 48 04 4E A5 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" -/* 8006A890 000677F0 80 63 00 04 */ lwz r3, 4(r3) -/* 8006A894 000677F4 C3 FE 05 7C */ lfs f31, 0x57c(r30) -/* 8006A898 000677F8 7C 03 00 D0 */ neg r0, r3 -/* 8006A89C 000677FC C8 42 87 F0 */ lfd f2, lbl_805AA510@sda21(r2) -/* 8006A8A0 00067800 7C 00 1B 78 */ or r0, r0, r3 -/* 8006A8A4 00067804 EC 3F F0 2A */ fadds f1, f31, f30 -/* 8006A8A8 00067808 54 1F 0F FE */ srwi r31, r0, 0x1f -/* 8006A8AC 0006780C 48 32 A4 01 */ bl fmod -/* 8006A8B0 00067810 FC 00 08 18 */ frsp f0, f1 -/* 8006A8B4 00067814 C0 22 87 7C */ lfs f1, lbl_805AA49C@sda21(r2) -/* 8006A8B8 00067818 D0 1E 05 7C */ stfs f0, 0x57c(r30) -/* 8006A8BC 0006781C C0 5E 05 7C */ lfs f2, 0x57c(r30) -/* 8006A8C0 00067820 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8006A8C4 00067824 40 80 00 0C */ bge lbl_8006A8D0 -/* 8006A8C8 00067828 EC 02 08 24 */ fdivs f0, f2, f1 -/* 8006A8CC 0006782C 48 00 00 10 */ b lbl_8006A8DC -lbl_8006A8D0: -/* 8006A8D0 00067830 C0 02 87 3C */ lfs f0, lbl_805AA45C@sda21(r2) -/* 8006A8D4 00067834 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8006A8D8 00067838 EC 00 08 24 */ fdivs f0, f0, f1 -lbl_8006A8DC: -/* 8006A8DC 0006783C 28 1F 00 00 */ cmplwi r31, 0 -/* 8006A8E0 00067840 D0 1E 05 80 */ stfs f0, 0x580(r30) -/* 8006A8E4 00067844 40 82 00 40 */ bne lbl_8006A924 -/* 8006A8E8 00067848 88 1E 02 E0 */ lbz r0, 0x2e0(r30) -/* 8006A8EC 0006784C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8006A8F0 00067850 41 82 00 34 */ beq lbl_8006A924 -/* 8006A8F4 00067854 C0 1E 05 7C */ lfs f0, 0x57c(r30) -/* 8006A8F8 00067858 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8006A8FC 0006785C 40 80 00 28 */ bge lbl_8006A924 -/* 8006A900 00067860 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8006A904 00067864 38 61 00 08 */ addi r3, r1, 8 -/* 8006A908 00067868 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8006A90C 0006786C 38 80 05 7D */ li r4, 0x57d -/* 8006A910 00067870 38 A0 00 7F */ li r5, 0x7f -/* 8006A914 00067874 38 C0 00 40 */ li r6, 0x40 -/* 8006A918 00067878 38 E0 00 00 */ li r7, 0 -/* 8006A91C 0006787C 39 20 00 00 */ li r9, 0 -/* 8006A920 00067880 48 27 F4 55 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8006A924: -/* 8006A924 00067884 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8006A928 00067888 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8006A92C 0006788C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8006A930 00067890 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8006A934 00067894 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8006A938 00067898 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8006A93C 0006789C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8006A940 000678A0 7C 08 03 A6 */ mtlr r0 -/* 8006A944 000678A4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8006A948 000678A8 4E 80 00 20 */ blr - -.global __ct__9CSamusHudFRC13CStateManager -__ct__9CSamusHudFRC13CStateManager: -/* 8006A94C 000678AC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8006A950 000678B0 7C 08 02 A6 */ mflr r0 -/* 8006A954 000678B4 3C A0 80 3E */ lis r5, lbl_803DA298@ha -/* 8006A958 000678B8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8006A95C 000678BC 38 00 00 00 */ li r0, 0 -/* 8006A960 000678C0 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 8006A964 000678C4 7C 7F 1B 78 */ mr r31, r3 -/* 8006A968 000678C8 38 65 A2 98 */ addi r3, r5, lbl_803DA298@l -/* 8006A96C 000678CC 7C 9E 23 78 */ mr r30, r4 -/* 8006A970 000678D0 90 7F 00 00 */ stw r3, 0(r31) -/* 8006A974 000678D4 38 7F 00 08 */ addi r3, r31, 8 -/* 8006A978 000678D8 90 1F 00 04 */ stw r0, 4(r31) -/* 8006A97C 000678DC 48 05 24 95 */ bl __ct__17CTargetingManagerFRC13CStateManager -/* 8006A980 000678E0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8006A984 000678E4 3C 60 80 3D */ lis r3, lbl_803CCFC8@ha -/* 8006A988 000678E8 38 A3 CF C8 */ addi r5, r3, lbl_803CCFC8@l -/* 8006A98C 000678EC 81 84 00 00 */ lwz r12, 0(r4) -/* 8006A990 000678F0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8006A994 000678F4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8006A998 000678F8 7D 89 03 A6 */ mtctr r12 -/* 8006A99C 000678FC 4E 80 04 21 */ bctrl -/* 8006A9A0 00067900 3B 5F 02 58 */ addi r26, r31, 0x258 -/* 8006A9A4 00067904 38 81 00 20 */ addi r4, r1, 0x20 -/* 8006A9A8 00067908 7F 43 D3 78 */ mr r3, r26 -/* 8006A9AC 0006790C 48 2D 64 FD */ bl __ct__6CTokenFRC6CToken -/* 8006A9B0 00067910 7F 43 D3 78 */ mr r3, r26 -/* 8006A9B4 00067914 48 2D 64 59 */ bl GetObj__6CTokenFv -/* 8006A9B8 00067918 80 03 00 04 */ lwz r0, 4(r3) -/* 8006A9BC 0006791C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8006A9C0 00067920 38 80 FF FF */ li r4, -1 -/* 8006A9C4 00067924 90 1A 00 08 */ stw r0, 8(r26) -/* 8006A9C8 00067928 48 2D 64 79 */ bl __dt__6CTokenFv -/* 8006A9CC 0006792C 38 00 00 00 */ li r0, 0 -/* 8006A9D0 00067930 3C 60 80 3D */ lis r3, lbl_803CCFB8@ha -/* 8006A9D4 00067934 90 1F 02 64 */ stw r0, 0x264(r31) -/* 8006A9D8 00067938 38 A3 CF B8 */ addi r5, r3, lbl_803CCFB8@l -/* 8006A9DC 0006793C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8006A9E0 00067940 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8006A9E4 00067944 81 84 00 00 */ lwz r12, 0(r4) -/* 8006A9E8 00067948 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8006A9EC 0006794C 7D 89 03 A6 */ mtctr r12 -/* 8006A9F0 00067950 4E 80 04 21 */ bctrl -/* 8006A9F4 00067954 3B 5F 02 68 */ addi r26, r31, 0x268 -/* 8006A9F8 00067958 38 81 00 18 */ addi r4, r1, 0x18 -/* 8006A9FC 0006795C 7F 43 D3 78 */ mr r3, r26 -/* 8006AA00 00067960 48 2D 64 A9 */ bl __ct__6CTokenFRC6CToken -/* 8006AA04 00067964 7F 43 D3 78 */ mr r3, r26 -/* 8006AA08 00067968 48 2D 64 05 */ bl GetObj__6CTokenFv -/* 8006AA0C 0006796C 80 03 00 04 */ lwz r0, 4(r3) -/* 8006AA10 00067970 38 61 00 18 */ addi r3, r1, 0x18 -/* 8006AA14 00067974 38 80 FF FF */ li r4, -1 -/* 8006AA18 00067978 90 1A 00 08 */ stw r0, 8(r26) -/* 8006AA1C 0006797C 48 2D 64 25 */ bl __dt__6CTokenFv -/* 8006AA20 00067980 38 A0 00 00 */ li r5, 0 -/* 8006AA24 00067984 38 00 00 05 */ li r0, 5 -/* 8006AA28 00067988 90 BF 02 74 */ stw r5, 0x274(r31) -/* 8006AA2C 0006798C 38 60 00 01 */ li r3, 1 -/* 8006AA30 00067990 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 8006AA34 00067994 7F C4 F3 78 */ mr r4, r30 -/* 8006AA38 00067998 98 BF 02 84 */ stb r5, 0x284(r31) -/* 8006AA3C 0006799C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 8006AA40 000679A0 90 BF 02 88 */ stw r5, 0x288(r31) -/* 8006AA44 000679A4 90 BF 02 8C */ stw r5, 0x28c(r31) -/* 8006AA48 000679A8 90 BF 02 90 */ stw r5, 0x290(r31) -/* 8006AA4C 000679AC 90 BF 02 94 */ stw r5, 0x294(r31) -/* 8006AA50 000679B0 90 BF 02 98 */ stw r5, 0x298(r31) -/* 8006AA54 000679B4 90 BF 02 9C */ stw r5, 0x29c(r31) -/* 8006AA58 000679B8 90 BF 02 A0 */ stw r5, 0x2a0(r31) -/* 8006AA5C 000679BC 90 BF 02 A4 */ stw r5, 0x2a4(r31) -/* 8006AA60 000679C0 90 BF 02 A8 */ stw r5, 0x2a8(r31) -/* 8006AA64 000679C4 90 BF 02 AC */ stw r5, 0x2ac(r31) -/* 8006AA68 000679C8 90 BF 02 B0 */ stw r5, 0x2b0(r31) -/* 8006AA6C 000679CC 90 BF 02 B4 */ stw r5, 0x2b4(r31) -/* 8006AA70 000679D0 90 1F 02 B8 */ stw r0, 0x2b8(r31) -/* 8006AA74 000679D4 90 1F 02 BC */ stw r0, 0x2bc(r31) -/* 8006AA78 000679D8 90 1F 02 C0 */ stw r0, 0x2c0(r31) -/* 8006AA7C 000679DC 90 BF 02 C4 */ stw r5, 0x2c4(r31) -/* 8006AA80 000679E0 D0 3F 02 C8 */ stfs f1, 0x2c8(r31) -/* 8006AA84 000679E4 90 BF 02 CC */ stw r5, 0x2cc(r31) -/* 8006AA88 000679E8 D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 8006AA8C 000679EC 90 BF 02 D4 */ stw r5, 0x2d4(r31) -/* 8006AA90 000679F0 90 BF 02 D8 */ stw r5, 0x2d8(r31) -/* 8006AA94 000679F4 90 BF 02 DC */ stw r5, 0x2dc(r31) -/* 8006AA98 000679F8 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006AA9C 000679FC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8006AAA0 00067A00 98 1F 02 E0 */ stb r0, 0x2e0(r31) -/* 8006AAA4 00067A04 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006AAA8 00067A08 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8006AAAC 00067A0C 98 1F 02 E0 */ stb r0, 0x2e0(r31) -/* 8006AAB0 00067A10 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006AAB4 00067A14 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8006AAB8 00067A18 98 1F 02 E0 */ stb r0, 0x2e0(r31) -/* 8006AABC 00067A1C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8006AAC0 00067A20 4B FA 5F F1 */ bl IsEnergyLow__7CPlayerCFRC13CStateManager -/* 8006AAC4 00067A24 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006AAC8 00067A28 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8006AACC 00067A2C 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8006AAD0 00067A30 3C 80 80 5A */ lis r4, lbl_805A6660@ha -/* 8006AAD4 00067A34 98 1F 02 E0 */ stb r0, 0x2e0(r31) -/* 8006AAD8 00067A38 38 00 00 00 */ li r0, 0 -/* 8006AADC 00067A3C 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006AAE0 00067A40 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 8006AAE4 00067A44 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8006AAE8 00067A48 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l -/* 8006AAEC 00067A4C 3B 85 66 A0 */ addi r28, r5, skZero3f@l -/* 8006AAF0 00067A50 3B A4 66 60 */ addi r29, r4, lbl_805A6660@l -/* 8006AAF4 00067A54 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8006AAF8 00067A58 38 83 01 3B */ addi r4, r3, 0x13b -/* 8006AAFC 00067A5C 38 60 02 E0 */ li r3, 0x2e0 -/* 8006AB00 00067A60 38 A0 00 00 */ li r5, 0 -/* 8006AB04 00067A64 90 1F 02 EC */ stw r0, 0x2ec(r31) -/* 8006AB08 00067A68 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) -/* 8006AB0C 00067A6C 80 DE 08 70 */ lwz r6, 0x870(r30) -/* 8006AB10 00067A70 80 C6 00 7C */ lwz r6, 0x7c(r6) -/* 8006AB14 00067A74 C0 46 00 58 */ lfs f2, 0x58(r6) -/* 8006AB18 00067A78 C0 26 00 48 */ lfs f1, 0x48(r6) -/* 8006AB1C 00067A7C C0 06 00 38 */ lfs f0, 0x38(r6) -/* 8006AB20 00067A80 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) -/* 8006AB24 00067A84 D0 3F 02 FC */ stfs f1, 0x2fc(r31) -/* 8006AB28 00067A88 D0 5F 03 00 */ stfs f2, 0x300(r31) -/* 8006AB2C 00067A8C C0 1C 00 00 */ lfs f0, 0(r28) -/* 8006AB30 00067A90 D0 1F 03 04 */ stfs f0, 0x304(r31) -/* 8006AB34 00067A94 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8006AB38 00067A98 D0 1F 03 08 */ stfs f0, 0x308(r31) -/* 8006AB3C 00067A9C C0 1C 00 08 */ lfs f0, 8(r28) -/* 8006AB40 00067AA0 D0 1F 03 0C */ stfs f0, 0x30c(r31) -/* 8006AB44 00067AA4 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8006AB48 00067AA8 D0 1F 03 10 */ stfs f0, 0x310(r31) -/* 8006AB4C 00067AAC C0 1C 00 04 */ lfs f0, 4(r28) -/* 8006AB50 00067AB0 D0 1F 03 14 */ stfs f0, 0x314(r31) -/* 8006AB54 00067AB4 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8006AB58 00067AB8 D0 1F 03 18 */ stfs f0, 0x318(r31) -/* 8006AB5C 00067ABC C0 1D 00 00 */ lfs f0, 0(r29) -/* 8006AB60 00067AC0 D0 1F 03 1C */ stfs f0, 0x31c(r31) -/* 8006AB64 00067AC4 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8006AB68 00067AC8 D0 1F 03 20 */ stfs f0, 0x320(r31) -/* 8006AB6C 00067ACC C0 1D 00 08 */ lfs f0, 8(r29) -/* 8006AB70 00067AD0 D0 1F 03 24 */ stfs f0, 0x324(r31) -/* 8006AB74 00067AD4 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 8006AB78 00067AD8 D0 1F 03 28 */ stfs f0, 0x328(r31) -/* 8006AB7C 00067ADC C0 1D 00 00 */ lfs f0, 0(r29) -/* 8006AB80 00067AE0 D0 1F 03 2C */ stfs f0, 0x32c(r31) -/* 8006AB84 00067AE4 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8006AB88 00067AE8 D0 1F 03 30 */ stfs f0, 0x330(r31) -/* 8006AB8C 00067AEC C0 1D 00 08 */ lfs f0, 8(r29) -/* 8006AB90 00067AF0 D0 1F 03 34 */ stfs f0, 0x334(r31) -/* 8006AB94 00067AF4 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 8006AB98 00067AF8 D0 1F 03 38 */ stfs f0, 0x338(r31) -/* 8006AB9C 00067AFC 48 2A AC D1 */ bl __nw__FUlPCcPCc -/* 8006ABA0 00067B00 7C 60 1B 79 */ or. r0, r3, r3 -/* 8006ABA4 00067B04 41 82 00 4C */ beq lbl_8006ABF0 -/* 8006ABA8 00067B08 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8006ABAC 00067B0C C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) -/* 8006ABB0 00067B10 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 8006ABB4 00067B14 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8006ABB8 00067B18 81 07 00 00 */ lwz r8, 0(r7) -/* 8006ABBC 00067B1C 38 80 00 08 */ li r4, 8 -/* 8006ABC0 00067B20 81 67 00 04 */ lwz r11, 4(r7) -/* 8006ABC4 00067B24 38 C0 00 04 */ li r6, 4 -/* 8006ABC8 00067B28 80 07 00 08 */ lwz r0, 8(r7) -/* 8006ABCC 00067B2C 38 E0 00 01 */ li r7, 1 -/* 8006ABD0 00067B30 91 01 00 34 */ stw r8, 0x34(r1) -/* 8006ABD4 00067B34 39 00 00 01 */ li r8, 1 -/* 8006ABD8 00067B38 39 20 00 00 */ li r9, 0 -/* 8006ABDC 00067B3C 39 40 00 00 */ li r10, 0 -/* 8006ABE0 00067B40 91 61 00 38 */ stw r11, 0x38(r1) -/* 8006ABE4 00067B44 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8006ABE8 00067B48 48 09 A5 E5 */ bl __ct__12CActorLightsFUi9CVector3fiif -/* 8006ABEC 00067B4C 7C 60 1B 78 */ mr r0, r3 -lbl_8006ABF0: -/* 8006ABF0 00067B50 90 1F 03 3C */ stw r0, 0x33c(r31) -/* 8006ABF4 00067B54 48 2D F3 B9 */ bl White__6CColorFv -/* 8006ABF8 00067B58 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8006ABFC 00067B5C C0 5C 00 04 */ lfs f2, 4(r28) -/* 8006AC00 00067B60 C0 24 66 A0 */ lfs f1, skZero3f@l(r4) -/* 8006AC04 00067B64 34 BF 03 44 */ addic. r5, r31, 0x344 -/* 8006AC08 00067B68 C0 7C 00 08 */ lfs f3, 8(r28) -/* 8006AC0C 00067B6C 38 00 00 03 */ li r0, 3 -/* 8006AC10 00067B70 80 63 00 00 */ lwz r3, 0(r3) -/* 8006AC14 00067B74 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 8006AC18 00067B78 90 1F 03 40 */ stw r0, 0x340(r31) -/* 8006AC1C 00067B7C 41 82 00 24 */ beq lbl_8006AC40 -/* 8006AC20 00067B80 D0 25 00 00 */ stfs f1, 0(r5) -/* 8006AC24 00067B84 D0 45 00 04 */ stfs f2, 4(r5) -/* 8006AC28 00067B88 D0 65 00 08 */ stfs f3, 8(r5) -/* 8006AC2C 00067B8C 90 65 00 0C */ stw r3, 0xc(r5) -/* 8006AC30 00067B90 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 8006AC34 00067B94 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8006AC38 00067B98 D0 05 00 18 */ stfs f0, 0x18(r5) -/* 8006AC3C 00067B9C D0 05 00 1C */ stfs f0, 0x1c(r5) -lbl_8006AC40: -/* 8006AC40 00067BA0 34 A5 00 20 */ addic. r5, r5, 0x20 -/* 8006AC44 00067BA4 41 82 00 24 */ beq lbl_8006AC68 -/* 8006AC48 00067BA8 D0 25 00 00 */ stfs f1, 0(r5) -/* 8006AC4C 00067BAC D0 45 00 04 */ stfs f2, 4(r5) -/* 8006AC50 00067BB0 D0 65 00 08 */ stfs f3, 8(r5) -/* 8006AC54 00067BB4 90 65 00 0C */ stw r3, 0xc(r5) -/* 8006AC58 00067BB8 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 8006AC5C 00067BBC D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8006AC60 00067BC0 D0 05 00 18 */ stfs f0, 0x18(r5) -/* 8006AC64 00067BC4 D0 05 00 1C */ stfs f0, 0x1c(r5) -lbl_8006AC68: -/* 8006AC68 00067BC8 34 A5 00 20 */ addic. r5, r5, 0x20 -/* 8006AC6C 00067BCC 41 82 00 24 */ beq lbl_8006AC90 -/* 8006AC70 00067BD0 D0 25 00 00 */ stfs f1, 0(r5) -/* 8006AC74 00067BD4 D0 45 00 04 */ stfs f2, 4(r5) -/* 8006AC78 00067BD8 D0 65 00 08 */ stfs f3, 8(r5) -/* 8006AC7C 00067BDC 90 65 00 0C */ stw r3, 0xc(r5) -/* 8006AC80 00067BE0 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 8006AC84 00067BE4 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8006AC88 00067BE8 D0 05 00 18 */ stfs f0, 0x18(r5) -/* 8006AC8C 00067BEC D0 05 00 1C */ stfs f0, 0x1c(r5) -lbl_8006AC90: -/* 8006AC90 00067BF0 38 00 00 00 */ li r0, 0 -/* 8006AC94 00067BF4 38 7F 03 A8 */ addi r3, r31, 0x3a8 -/* 8006AC98 00067BF8 90 1F 03 A4 */ stw r0, 0x3a4(r31) -/* 8006AC9C 00067BFC 48 08 2A F1 */ bl __ct__17CCameraFilterPassFv -/* 8006ACA0 00067C00 38 00 00 00 */ li r0, 0 -/* 8006ACA4 00067C04 3C 60 80 5A */ lis r3, lbl_805A65FC@ha -/* 8006ACA8 00067C08 90 1F 03 D4 */ stw r0, 0x3d4(r31) -/* 8006ACAC 00067C0C 38 83 65 FC */ addi r4, r3, lbl_805A65FC@l -/* 8006ACB0 00067C10 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 8006ACB4 00067C14 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8006ACB8 00067C18 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006ACBC 00067C1C 38 7F 04 28 */ addi r3, r31, 0x428 -/* 8006ACC0 00067C20 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 8006ACC4 00067C24 90 1F 03 E0 */ stw r0, 0x3e0(r31) -/* 8006ACC8 00067C28 90 1F 03 E4 */ stw r0, 0x3e4(r31) -/* 8006ACCC 00067C2C D0 3F 03 E8 */ stfs f1, 0x3e8(r31) -/* 8006ACD0 00067C30 D0 3F 03 EC */ stfs f1, 0x3ec(r31) -/* 8006ACD4 00067C34 D0 1F 03 F0 */ stfs f0, 0x3f0(r31) -/* 8006ACD8 00067C38 D0 3F 03 F4 */ stfs f1, 0x3f4(r31) -/* 8006ACDC 00067C3C D0 3F 03 F8 */ stfs f1, 0x3f8(r31) -/* 8006ACE0 00067C40 D0 3F 03 FC */ stfs f1, 0x3fc(r31) -/* 8006ACE4 00067C44 D0 3F 04 00 */ stfs f1, 0x400(r31) -/* 8006ACE8 00067C48 D0 3F 04 04 */ stfs f1, 0x404(r31) -/* 8006ACEC 00067C4C C4 05 66 A0 */ lfsu f0, skZero3f@l(r5) -/* 8006ACF0 00067C50 D0 1F 04 08 */ stfs f0, 0x408(r31) -/* 8006ACF4 00067C54 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8006ACF8 00067C58 D0 1F 04 0C */ stfs f0, 0x40c(r31) -/* 8006ACFC 00067C5C C0 1C 00 08 */ lfs f0, 8(r28) -/* 8006AD00 00067C60 D0 1F 04 10 */ stfs f0, 0x410(r31) -/* 8006AD04 00067C64 D0 3F 04 14 */ stfs f1, 0x414(r31) -/* 8006AD08 00067C68 D0 3F 04 18 */ stfs f1, 0x418(r31) -/* 8006AD0C 00067C6C C0 05 00 00 */ lfs f0, 0(r5) -/* 8006AD10 00067C70 D0 1F 04 1C */ stfs f0, 0x41c(r31) -/* 8006AD14 00067C74 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8006AD18 00067C78 D0 1F 04 20 */ stfs f0, 0x420(r31) -/* 8006AD1C 00067C7C C0 1C 00 08 */ lfs f0, 8(r28) -/* 8006AD20 00067C80 D0 1F 04 24 */ stfs f0, 0x424(r31) -/* 8006AD24 00067C84 48 2A 53 01 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8006AD28 00067C88 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 8006AD2C 00067C8C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 8006AD30 00067C90 38 83 66 60 */ addi r4, r3, lbl_805A6660@l -/* 8006AD34 00067C94 3B 60 00 00 */ li r27, 0 -/* 8006AD38 00067C98 C0 24 00 00 */ lfs f1, 0(r4) -/* 8006AD3C 00067C9C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8006AD40 00067CA0 38 00 00 03 */ li r0, 3 -/* 8006AD44 00067CA4 3B 9F 04 70 */ addi r28, r31, 0x470 -/* 8006AD48 00067CA8 D0 3F 04 4C */ stfs f1, 0x44c(r31) -/* 8006AD4C 00067CAC 3B 43 66 70 */ addi r26, r3, skIdentity4f@l -/* 8006AD50 00067CB0 C0 3D 00 04 */ lfs f1, 4(r29) -/* 8006AD54 00067CB4 D0 3F 04 50 */ stfs f1, 0x450(r31) -/* 8006AD58 00067CB8 C0 3D 00 08 */ lfs f1, 8(r29) -/* 8006AD5C 00067CBC D0 3F 04 54 */ stfs f1, 0x454(r31) -/* 8006AD60 00067CC0 C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8006AD64 00067CC4 D0 3F 04 58 */ stfs f1, 0x458(r31) -/* 8006AD68 00067CC8 D0 1F 04 5C */ stfs f0, 0x45c(r31) -/* 8006AD6C 00067CCC D0 1F 04 60 */ stfs f0, 0x460(r31) -/* 8006AD70 00067CD0 D0 1F 04 64 */ stfs f0, 0x464(r31) -/* 8006AD74 00067CD4 93 7F 04 68 */ stw r27, 0x468(r31) -/* 8006AD78 00067CD8 90 1F 04 6C */ stw r0, 0x46c(r31) -lbl_8006AD7C: -/* 8006AD7C 00067CDC 28 1C 00 00 */ cmplwi r28, 0 -/* 8006AD80 00067CE0 41 82 00 10 */ beq lbl_8006AD90 -/* 8006AD84 00067CE4 7F 83 E3 78 */ mr r3, r28 -/* 8006AD88 00067CE8 7F 44 D3 78 */ mr r4, r26 -/* 8006AD8C 00067CEC 48 2A 7D E9 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006AD90: -/* 8006AD90 00067CF0 3B 7B 00 01 */ addi r27, r27, 1 -/* 8006AD94 00067CF4 3B 9C 00 30 */ addi r28, r28, 0x30 -/* 8006AD98 00067CF8 2C 1B 00 03 */ cmpwi r27, 3 -/* 8006AD9C 00067CFC 41 80 FF E0 */ blt lbl_8006AD7C -/* 8006ADA0 00067D00 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 8006ADA4 00067D04 38 00 00 00 */ li r0, 0 -/* 8006ADA8 00067D08 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 8006ADAC 00067D0C 38 7F 05 1C */ addi r3, r31, 0x51c -/* 8006ADB0 00067D10 D0 3F 05 00 */ stfs f1, 0x500(r31) -/* 8006ADB4 00067D14 D0 3F 05 04 */ stfs f1, 0x504(r31) -/* 8006ADB8 00067D18 90 1F 05 08 */ stw r0, 0x508(r31) -/* 8006ADBC 00067D1C 90 1F 05 0C */ stw r0, 0x50c(r31) -/* 8006ADC0 00067D20 D0 1F 05 10 */ stfs f0, 0x510(r31) -/* 8006ADC4 00067D24 D0 1F 05 14 */ stfs f0, 0x514(r31) -/* 8006ADC8 00067D28 D0 1F 05 18 */ stfs f0, 0x518(r31) -/* 8006ADCC 00067D2C 48 08 29 C1 */ bl __ct__17CCameraFilterPassFv -/* 8006ADD0 00067D30 C0 42 87 34 */ lfs f2, lbl_805AA454@sda21(r2) -/* 8006ADD4 00067D34 38 80 00 00 */ li r4, 0 -/* 8006ADD8 00067D38 C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 8006ADDC 00067D3C 3C 60 80 47 */ lis r3, lbl_80470004@ha -/* 8006ADE0 00067D40 D0 5F 05 48 */ stfs f2, 0x548(r31) -/* 8006ADE4 00067D44 34 DF 05 A8 */ addic. r6, r31, 0x5a8 -/* 8006ADE8 00067D48 38 00 00 04 */ li r0, 4 -/* 8006ADEC 00067D4C 98 9F 05 4C */ stb r4, 0x54c(r31) -/* 8006ADF0 00067D50 98 9F 05 4D */ stb r4, 0x54d(r31) -/* 8006ADF4 00067D54 98 9F 05 4E */ stb r4, 0x54e(r31) -/* 8006ADF8 00067D58 90 9F 05 50 */ stw r4, 0x550(r31) -/* 8006ADFC 00067D5C 90 9F 05 54 */ stw r4, 0x554(r31) -/* 8006AE00 00067D60 D0 5F 05 58 */ stfs f2, 0x558(r31) -/* 8006AE04 00067D64 D0 5F 05 5C */ stfs f2, 0x55c(r31) -/* 8006AE08 00067D68 D0 5F 05 60 */ stfs f2, 0x560(r31) -/* 8006AE0C 00067D6C 90 9F 05 64 */ stw r4, 0x564(r31) -/* 8006AE10 00067D70 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 8006AE14 00067D74 80 84 00 7C */ lwz r4, 0x7c(r4) -/* 8006AE18 00067D78 C0 84 00 58 */ lfs f4, 0x58(r4) -/* 8006AE1C 00067D7C C0 64 00 48 */ lfs f3, 0x48(r4) -/* 8006AE20 00067D80 C0 24 00 38 */ lfs f1, 0x38(r4) -/* 8006AE24 00067D84 D0 3F 05 68 */ stfs f1, 0x568(r31) -/* 8006AE28 00067D88 D0 7F 05 6C */ stfs f3, 0x56c(r31) -/* 8006AE2C 00067D8C D0 9F 05 70 */ stfs f4, 0x570(r31) -/* 8006AE30 00067D90 D0 1F 05 74 */ stfs f0, 0x574(r31) -/* 8006AE34 00067D94 D0 5F 05 78 */ stfs f2, 0x578(r31) -/* 8006AE38 00067D98 D0 5F 05 7C */ stfs f2, 0x57c(r31) -/* 8006AE3C 00067D9C D0 5F 05 80 */ stfs f2, 0x580(r31) -/* 8006AE40 00067DA0 D0 5F 05 84 */ stfs f2, 0x584(r31) -/* 8006AE44 00067DA4 84 A3 C3 D4 */ lwzu r5, -0x3c2c(r3) -/* 8006AE48 00067DA8 80 83 00 04 */ lwz r4, lbl_80470004@l(r3) -/* 8006AE4C 00067DAC 80 63 00 08 */ lwz r3, 8(r3) -/* 8006AE50 00067DB0 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8006AE54 00067DB4 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8006AE58 00067DB8 90 61 00 30 */ stw r3, 0x30(r1) -/* 8006AE5C 00067DBC 90 1F 05 A4 */ stw r0, 0x5a4(r31) -/* 8006AE60 00067DC0 41 82 00 10 */ beq lbl_8006AE70 -/* 8006AE64 00067DC4 90 A6 00 00 */ stw r5, 0(r6) -/* 8006AE68 00067DC8 90 86 00 04 */ stw r4, 4(r6) -/* 8006AE6C 00067DCC 90 66 00 08 */ stw r3, 8(r6) -lbl_8006AE70: -/* 8006AE70 00067DD0 34 C6 00 0C */ addic. r6, r6, 0xc -/* 8006AE74 00067DD4 41 82 00 10 */ beq lbl_8006AE84 -/* 8006AE78 00067DD8 90 A6 00 00 */ stw r5, 0(r6) -/* 8006AE7C 00067DDC 90 86 00 04 */ stw r4, 4(r6) -/* 8006AE80 00067DE0 90 66 00 08 */ stw r3, 8(r6) -lbl_8006AE84: -/* 8006AE84 00067DE4 34 C6 00 0C */ addic. r6, r6, 0xc -/* 8006AE88 00067DE8 41 82 00 10 */ beq lbl_8006AE98 -/* 8006AE8C 00067DEC 90 A6 00 00 */ stw r5, 0(r6) -/* 8006AE90 00067DF0 90 86 00 04 */ stw r4, 4(r6) -/* 8006AE94 00067DF4 90 66 00 08 */ stw r3, 8(r6) -lbl_8006AE98: -/* 8006AE98 00067DF8 34 C6 00 0C */ addic. r6, r6, 0xc -/* 8006AE9C 00067DFC 41 82 00 10 */ beq lbl_8006AEAC -/* 8006AEA0 00067E00 90 A6 00 00 */ stw r5, 0(r6) -/* 8006AEA4 00067E04 90 86 00 04 */ stw r4, 4(r6) -/* 8006AEA8 00067E08 90 66 00 08 */ stw r3, 8(r6) -lbl_8006AEAC: -/* 8006AEAC 00067E0C 38 00 00 04 */ li r0, 4 -/* 8006AEB0 00067E10 34 7F 05 DC */ addic. r3, r31, 0x5dc -/* 8006AEB4 00067E14 90 1F 05 D8 */ stw r0, 0x5d8(r31) -/* 8006AEB8 00067E18 38 00 00 00 */ li r0, 0 -/* 8006AEBC 00067E1C 41 82 00 08 */ beq lbl_8006AEC4 -/* 8006AEC0 00067E20 90 03 00 00 */ stw r0, 0(r3) -lbl_8006AEC4: -/* 8006AEC4 00067E24 34 63 00 04 */ addic. r3, r3, 4 -/* 8006AEC8 00067E28 41 82 00 08 */ beq lbl_8006AED0 -/* 8006AECC 00067E2C 90 03 00 00 */ stw r0, 0(r3) -lbl_8006AED0: -/* 8006AED0 00067E30 34 63 00 04 */ addic. r3, r3, 4 -/* 8006AED4 00067E34 41 82 00 08 */ beq lbl_8006AEDC -/* 8006AED8 00067E38 90 03 00 00 */ stw r0, 0(r3) -lbl_8006AEDC: -/* 8006AEDC 00067E3C 34 63 00 04 */ addic. r3, r3, 4 -/* 8006AEE0 00067E40 41 82 00 08 */ beq lbl_8006AEE8 -/* 8006AEE4 00067E44 90 03 00 00 */ stw r0, 0(r3) -lbl_8006AEE8: -/* 8006AEE8 00067E48 38 E0 00 00 */ li r7, 0 -/* 8006AEEC 00067E4C 38 60 00 0F */ li r3, 0xf -/* 8006AEF0 00067E50 38 00 00 03 */ li r0, 3 -/* 8006AEF4 00067E54 90 7F 07 AC */ stw r3, 0x7ac(r31) -/* 8006AEF8 00067E58 7C E6 3B 78 */ mr r6, r7 -/* 8006AEFC 00067E5C 7C E5 3B 78 */ mr r5, r7 -/* 8006AF00 00067E60 7C E4 3B 78 */ mr r4, r7 -/* 8006AF04 00067E64 7C E3 3B 78 */ mr r3, r7 -/* 8006AF08 00067E68 39 1F 07 B0 */ addi r8, r31, 0x7b0 -/* 8006AF0C 00067E6C 7C 09 03 A6 */ mtctr r0 -lbl_8006AF10: -/* 8006AF10 00067E70 28 08 00 00 */ cmplwi r8, 0 -/* 8006AF14 00067E74 41 82 00 14 */ beq lbl_8006AF28 -/* 8006AF18 00067E78 90 C8 00 04 */ stw r6, 4(r8) -/* 8006AF1C 00067E7C 90 A8 00 00 */ stw r5, 0(r8) -/* 8006AF20 00067E80 90 88 00 0C */ stw r4, 0xc(r8) -/* 8006AF24 00067E84 90 68 00 08 */ stw r3, 8(r8) -lbl_8006AF28: -/* 8006AF28 00067E88 35 08 00 10 */ addic. r8, r8, 0x10 -/* 8006AF2C 00067E8C 41 82 00 14 */ beq lbl_8006AF40 -/* 8006AF30 00067E90 90 C8 00 04 */ stw r6, 4(r8) -/* 8006AF34 00067E94 90 A8 00 00 */ stw r5, 0(r8) -/* 8006AF38 00067E98 90 88 00 0C */ stw r4, 0xc(r8) -/* 8006AF3C 00067E9C 90 68 00 08 */ stw r3, 8(r8) -lbl_8006AF40: -/* 8006AF40 00067EA0 35 08 00 10 */ addic. r8, r8, 0x10 -/* 8006AF44 00067EA4 41 82 00 14 */ beq lbl_8006AF58 -/* 8006AF48 00067EA8 90 C8 00 04 */ stw r6, 4(r8) -/* 8006AF4C 00067EAC 90 A8 00 00 */ stw r5, 0(r8) -/* 8006AF50 00067EB0 90 88 00 0C */ stw r4, 0xc(r8) -/* 8006AF54 00067EB4 90 68 00 08 */ stw r3, 8(r8) -lbl_8006AF58: -/* 8006AF58 00067EB8 35 08 00 10 */ addic. r8, r8, 0x10 -/* 8006AF5C 00067EBC 41 82 00 14 */ beq lbl_8006AF70 -/* 8006AF60 00067EC0 90 C8 00 04 */ stw r6, 4(r8) -/* 8006AF64 00067EC4 90 A8 00 00 */ stw r5, 0(r8) -/* 8006AF68 00067EC8 90 88 00 0C */ stw r4, 0xc(r8) -/* 8006AF6C 00067ECC 90 68 00 08 */ stw r3, 8(r8) -lbl_8006AF70: -/* 8006AF70 00067ED0 35 08 00 10 */ addic. r8, r8, 0x10 -/* 8006AF74 00067ED4 41 82 00 14 */ beq lbl_8006AF88 -/* 8006AF78 00067ED8 90 C8 00 04 */ stw r6, 4(r8) -/* 8006AF7C 00067EDC 90 A8 00 00 */ stw r5, 0(r8) -/* 8006AF80 00067EE0 90 88 00 0C */ stw r4, 0xc(r8) -/* 8006AF84 00067EE4 90 68 00 08 */ stw r3, 8(r8) -lbl_8006AF88: -/* 8006AF88 00067EE8 38 E7 00 04 */ addi r7, r7, 4 -/* 8006AF8C 00067EEC 39 08 00 10 */ addi r8, r8, 0x10 -/* 8006AF90 00067EF0 42 00 FF 80 */ bdnz lbl_8006AF10 -/* 8006AF94 00067EF4 C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 8006AF98 00067EF8 7F E3 FB 78 */ mr r3, r31 -/* 8006AF9C 00067EFC 7F C4 F3 78 */ mr r4, r30 -/* 8006AFA0 00067F00 4B FF C1 2D */ bl UpdateStateTransition__9CSamusHudFfRC13CStateManager -/* 8006AFA4 00067F04 38 00 00 02 */ li r0, 2 -/* 8006AFA8 00067F08 93 ED A2 28 */ stw r31, lbl_805A8DE8@sda21(r13) -/* 8006AFAC 00067F0C C0 C2 87 A0 */ lfs f6, lbl_805AA4C0@sda21(r2) -/* 8006AFB0 00067F10 38 80 00 00 */ li r4, 0 -/* 8006AFB4 00067F14 C8 A2 87 B8 */ lfd f5, lbl_805AA4D8@sda21(r2) -/* 8006AFB8 00067F18 38 60 00 00 */ li r3, 0 -/* 8006AFBC 00067F1C C0 82 87 30 */ lfs f4, lbl_805AA450@sda21(r2) -/* 8006AFC0 00067F20 3F A0 43 30 */ lis r29, 0x4330 -/* 8006AFC4 00067F24 7C 09 03 A6 */ mtctr r0 -lbl_8006AFC8: -/* 8006AFC8 00067F28 6C 85 80 00 */ xoris r5, r4, 0x8000 -/* 8006AFCC 00067F2C 38 04 00 01 */ addi r0, r4, 1 -/* 8006AFD0 00067F30 90 A1 00 44 */ stw r5, 0x44(r1) -/* 8006AFD4 00067F34 6C 07 80 00 */ xoris r7, r0, 0x8000 -/* 8006AFD8 00067F38 38 A4 00 02 */ addi r5, r4, 2 -/* 8006AFDC 00067F3C 38 04 00 03 */ addi r0, r4, 3 -/* 8006AFE0 00067F40 93 A1 00 40 */ stw r29, 0x40(r1) -/* 8006AFE4 00067F44 6C A8 80 00 */ xoris r8, r5, 0x8000 -/* 8006AFE8 00067F48 6C 06 80 00 */ xoris r6, r0, 0x8000 -/* 8006AFEC 00067F4C 38 04 00 04 */ addi r0, r4, 4 -/* 8006AFF0 00067F50 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 8006AFF4 00067F54 6C 0B 80 00 */ xoris r11, r0, 0x8000 -/* 8006AFF8 00067F58 90 E1 00 4C */ stw r7, 0x4c(r1) -/* 8006AFFC 00067F5C 38 04 00 05 */ addi r0, r4, 5 -/* 8006B000 00067F60 EC 20 28 28 */ fsubs f1, f0, f5 -/* 8006B004 00067F64 6C 09 80 00 */ xoris r9, r0, 0x8000 -/* 8006B008 00067F68 93 A1 00 48 */ stw r29, 0x48(r1) -/* 8006B00C 00067F6C 38 A4 00 06 */ addi r5, r4, 6 -/* 8006B010 00067F70 6C A7 80 00 */ xoris r7, r5, 0x8000 -/* 8006B014 00067F74 38 04 00 07 */ addi r0, r4, 7 -/* 8006B018 00067F78 91 01 00 54 */ stw r8, 0x54(r1) -/* 8006B01C 00067F7C EC 66 20 7A */ fmadds f3, f6, f1, f4 -/* 8006B020 00067F80 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 8006B024 00067F84 6C 05 80 00 */ xoris r5, r0, 0x8000 -/* 8006B028 00067F88 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 8006B02C 00067F8C 3B 83 05 EC */ addi r28, r3, 0x5ec -/* 8006B030 00067F90 EC 20 28 28 */ fsubs f1, f0, f5 -/* 8006B034 00067F94 93 A1 00 50 */ stw r29, 0x50(r1) -/* 8006B038 00067F98 3B 63 05 F0 */ addi r27, r3, 0x5f0 -/* 8006B03C 00067F9C 3B 43 05 F4 */ addi r26, r3, 0x5f4 -/* 8006B040 00067FA0 39 83 05 F8 */ addi r12, r3, 0x5f8 -/* 8006B044 00067FA4 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 8006B048 00067FA8 EC 46 20 7A */ fmadds f2, f6, f1, f4 -/* 8006B04C 00067FAC 7C 7F E5 2E */ stfsx f3, r31, r28 -/* 8006B050 00067FB0 EC 20 28 28 */ fsubs f1, f0, f5 -/* 8006B054 00067FB4 39 43 05 FC */ addi r10, r3, 0x5fc -/* 8006B058 00067FB8 93 A1 00 58 */ stw r29, 0x58(r1) -/* 8006B05C 00067FBC 39 03 06 00 */ addi r8, r3, 0x600 -/* 8006B060 00067FC0 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 8006B064 00067FC4 EC 26 20 7A */ fmadds f1, f6, f1, f4 -/* 8006B068 00067FC8 7C 5F DD 2E */ stfsx f2, r31, r27 -/* 8006B06C 00067FCC 38 C3 06 04 */ addi r6, r3, 0x604 -/* 8006B070 00067FD0 EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B074 00067FD4 38 03 06 08 */ addi r0, r3, 0x608 -/* 8006B078 00067FD8 91 61 00 64 */ stw r11, 0x64(r1) -/* 8006B07C 00067FDC 38 63 00 20 */ addi r3, r3, 0x20 -/* 8006B080 00067FE0 38 84 00 08 */ addi r4, r4, 8 -/* 8006B084 00067FE4 93 A1 00 60 */ stw r29, 0x60(r1) -/* 8006B088 00067FE8 EC 46 20 3A */ fmadds f2, f6, f0, f4 -/* 8006B08C 00067FEC C8 01 00 60 */ lfd f0, 0x60(r1) -/* 8006B090 00067FF0 7C 3F D5 2E */ stfsx f1, r31, r26 -/* 8006B094 00067FF4 EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B098 00067FF8 91 21 00 6C */ stw r9, 0x6c(r1) -/* 8006B09C 00067FFC 93 A1 00 68 */ stw r29, 0x68(r1) -/* 8006B0A0 00068000 EC 26 20 3A */ fmadds f1, f6, f0, f4 -/* 8006B0A4 00068004 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8006B0A8 00068008 7C 5F 65 2E */ stfsx f2, r31, r12 -/* 8006B0AC 0006800C EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B0B0 00068010 90 E1 00 74 */ stw r7, 0x74(r1) -/* 8006B0B4 00068014 93 A1 00 70 */ stw r29, 0x70(r1) -/* 8006B0B8 00068018 EC 46 20 3A */ fmadds f2, f6, f0, f4 -/* 8006B0BC 0006801C C8 01 00 70 */ lfd f0, 0x70(r1) -/* 8006B0C0 00068020 7C 3F 55 2E */ stfsx f1, r31, r10 -/* 8006B0C4 00068024 EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B0C8 00068028 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 8006B0CC 0006802C 93 A1 00 78 */ stw r29, 0x78(r1) -/* 8006B0D0 00068030 EC 26 20 3A */ fmadds f1, f6, f0, f4 -/* 8006B0D4 00068034 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 8006B0D8 00068038 7C 5F 45 2E */ stfsx f2, r31, r8 -/* 8006B0DC 0006803C EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B0E0 00068040 7C 3F 35 2E */ stfsx f1, r31, r6 -/* 8006B0E4 00068044 EC 06 20 3A */ fmadds f0, f6, f0, f4 -/* 8006B0E8 00068048 7C 1F 05 2E */ stfsx f0, r31, r0 -/* 8006B0EC 0006804C 42 00 FE DC */ bdnz lbl_8006AFC8 -/* 8006B0F0 00068050 38 00 00 08 */ li r0, 8 -/* 8006B0F4 00068054 C0 A2 87 F8 */ lfs f5, lbl_805AA518@sda21(r2) -/* 8006B0F8 00068058 C8 82 87 B8 */ lfd f4, lbl_805AA4D8@sda21(r2) -/* 8006B0FC 0006805C 38 80 00 00 */ li r4, 0 -/* 8006B100 00068060 38 60 00 00 */ li r3, 0 -/* 8006B104 00068064 3F A0 43 30 */ lis r29, 0x4330 -/* 8006B108 00068068 7C 09 03 A6 */ mtctr r0 -lbl_8006B10C: -/* 8006B10C 0006806C 6C 85 80 00 */ xoris r5, r4, 0x8000 -/* 8006B110 00068070 38 04 00 01 */ addi r0, r4, 1 -/* 8006B114 00068074 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 8006B118 00068078 6C 07 80 00 */ xoris r7, r0, 0x8000 -/* 8006B11C 0006807C 38 A4 00 02 */ addi r5, r4, 2 -/* 8006B120 00068080 38 04 00 03 */ addi r0, r4, 3 -/* 8006B124 00068084 93 A1 00 78 */ stw r29, 0x78(r1) -/* 8006B128 00068088 6C A8 80 00 */ xoris r8, r5, 0x8000 -/* 8006B12C 0006808C 6C 06 80 00 */ xoris r6, r0, 0x8000 -/* 8006B130 00068090 38 04 00 04 */ addi r0, r4, 4 -/* 8006B134 00068094 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 8006B138 00068098 6C 0B 80 00 */ xoris r11, r0, 0x8000 -/* 8006B13C 0006809C 90 E1 00 74 */ stw r7, 0x74(r1) -/* 8006B140 000680A0 38 04 00 05 */ addi r0, r4, 5 -/* 8006B144 000680A4 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8006B148 000680A8 6C 09 80 00 */ xoris r9, r0, 0x8000 -/* 8006B14C 000680AC 93 A1 00 70 */ stw r29, 0x70(r1) -/* 8006B150 000680B0 38 A4 00 06 */ addi r5, r4, 6 -/* 8006B154 000680B4 6C A7 80 00 */ xoris r7, r5, 0x8000 -/* 8006B158 000680B8 38 04 00 07 */ addi r0, r4, 7 -/* 8006B15C 000680BC 91 01 00 6C */ stw r8, 0x6c(r1) -/* 8006B160 000680C0 EC 65 00 72 */ fmuls f3, f5, f1 -/* 8006B164 000680C4 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 8006B168 000680C8 6C 05 80 00 */ xoris r5, r0, 0x8000 -/* 8006B16C 000680CC 90 C1 00 64 */ stw r6, 0x64(r1) -/* 8006B170 000680D0 3B 83 06 2C */ addi r28, r3, 0x62c -/* 8006B174 000680D4 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8006B178 000680D8 93 A1 00 68 */ stw r29, 0x68(r1) -/* 8006B17C 000680DC 3B 63 06 30 */ addi r27, r3, 0x630 -/* 8006B180 000680E0 3B 43 06 34 */ addi r26, r3, 0x634 -/* 8006B184 000680E4 39 83 06 38 */ addi r12, r3, 0x638 -/* 8006B188 000680E8 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8006B18C 000680EC EC 45 00 72 */ fmuls f2, f5, f1 -/* 8006B190 000680F0 7C 7F E5 2E */ stfsx f3, r31, r28 -/* 8006B194 000680F4 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8006B198 000680F8 39 43 06 3C */ addi r10, r3, 0x63c -/* 8006B19C 000680FC 93 A1 00 60 */ stw r29, 0x60(r1) -/* 8006B1A0 00068100 39 03 06 40 */ addi r8, r3, 0x640 -/* 8006B1A4 00068104 C8 01 00 60 */ lfd f0, 0x60(r1) -/* 8006B1A8 00068108 EC 25 00 72 */ fmuls f1, f5, f1 -/* 8006B1AC 0006810C 7C 5F DD 2E */ stfsx f2, r31, r27 -/* 8006B1B0 00068110 38 C3 06 44 */ addi r6, r3, 0x644 -/* 8006B1B4 00068114 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8006B1B8 00068118 38 03 06 48 */ addi r0, r3, 0x648 -/* 8006B1BC 0006811C 91 61 00 5C */ stw r11, 0x5c(r1) -/* 8006B1C0 00068120 38 63 00 20 */ addi r3, r3, 0x20 -/* 8006B1C4 00068124 38 84 00 08 */ addi r4, r4, 8 -/* 8006B1C8 00068128 93 A1 00 58 */ stw r29, 0x58(r1) -/* 8006B1CC 0006812C EC 45 00 32 */ fmuls f2, f5, f0 -/* 8006B1D0 00068130 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 8006B1D4 00068134 7C 3F D5 2E */ stfsx f1, r31, r26 -/* 8006B1D8 00068138 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8006B1DC 0006813C 91 21 00 54 */ stw r9, 0x54(r1) -/* 8006B1E0 00068140 93 A1 00 50 */ stw r29, 0x50(r1) -/* 8006B1E4 00068144 EC 25 00 32 */ fmuls f1, f5, f0 -/* 8006B1E8 00068148 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 8006B1EC 0006814C 7C 5F 65 2E */ stfsx f2, r31, r12 -/* 8006B1F0 00068150 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8006B1F4 00068154 90 E1 00 4C */ stw r7, 0x4c(r1) -/* 8006B1F8 00068158 93 A1 00 48 */ stw r29, 0x48(r1) -/* 8006B1FC 0006815C EC 45 00 32 */ fmuls f2, f5, f0 -/* 8006B200 00068160 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 8006B204 00068164 7C 3F 55 2E */ stfsx f1, r31, r10 -/* 8006B208 00068168 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8006B20C 0006816C 90 A1 00 44 */ stw r5, 0x44(r1) -/* 8006B210 00068170 93 A1 00 40 */ stw r29, 0x40(r1) -/* 8006B214 00068174 EC 25 00 32 */ fmuls f1, f5, f0 -/* 8006B218 00068178 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 8006B21C 0006817C 7C 5F 45 2E */ stfsx f2, r31, r8 -/* 8006B220 00068180 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8006B224 00068184 7C 3F 35 2E */ stfsx f1, r31, r6 -/* 8006B228 00068188 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8006B22C 0006818C 7C 1F 05 2E */ stfsx f0, r31, r0 -/* 8006B230 00068190 42 00 FE DC */ bdnz lbl_8006B10C -/* 8006B234 00068194 38 00 00 04 */ li r0, 4 -/* 8006B238 00068198 C0 C2 87 3C */ lfs f6, lbl_805AA45C@sda21(r2) -/* 8006B23C 0006819C C8 A2 87 B8 */ lfd f5, lbl_805AA4D8@sda21(r2) -/* 8006B240 000681A0 38 80 00 00 */ li r4, 0 -/* 8006B244 000681A4 C0 82 87 FC */ lfs f4, lbl_805AA51C@sda21(r2) -/* 8006B248 000681A8 38 60 00 00 */ li r3, 0 -/* 8006B24C 000681AC 3F 40 43 30 */ lis r26, 0x4330 -/* 8006B250 000681B0 7C 09 03 A6 */ mtctr r0 -lbl_8006B254: -/* 8006B254 000681B4 6C 85 80 00 */ xoris r5, r4, 0x8000 -/* 8006B258 000681B8 38 04 00 01 */ addi r0, r4, 1 -/* 8006B25C 000681BC 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 8006B260 000681C0 6C 07 80 00 */ xoris r7, r0, 0x8000 -/* 8006B264 000681C4 38 A4 00 02 */ addi r5, r4, 2 -/* 8006B268 000681C8 38 04 00 03 */ addi r0, r4, 3 -/* 8006B26C 000681CC 93 41 00 78 */ stw r26, 0x78(r1) -/* 8006B270 000681D0 6C A8 80 00 */ xoris r8, r5, 0x8000 -/* 8006B274 000681D4 6C 06 80 00 */ xoris r6, r0, 0x8000 -/* 8006B278 000681D8 38 04 00 04 */ addi r0, r4, 4 -/* 8006B27C 000681DC C8 01 00 78 */ lfd f0, 0x78(r1) -/* 8006B280 000681E0 6C 0B 80 00 */ xoris r11, r0, 0x8000 -/* 8006B284 000681E4 90 E1 00 74 */ stw r7, 0x74(r1) -/* 8006B288 000681E8 38 04 00 05 */ addi r0, r4, 5 -/* 8006B28C 000681EC EC 20 28 28 */ fsubs f1, f0, f5 -/* 8006B290 000681F0 6C 09 80 00 */ xoris r9, r0, 0x8000 -/* 8006B294 000681F4 93 41 00 70 */ stw r26, 0x70(r1) -/* 8006B298 000681F8 38 A4 00 06 */ addi r5, r4, 6 -/* 8006B29C 000681FC 6C A7 80 00 */ xoris r7, r5, 0x8000 -/* 8006B2A0 00068200 38 04 00 07 */ addi r0, r4, 7 -/* 8006B2A4 00068204 91 01 00 6C */ stw r8, 0x6c(r1) -/* 8006B2A8 00068208 EC 66 20 7A */ fmadds f3, f6, f1, f4 -/* 8006B2AC 0006820C C8 01 00 70 */ lfd f0, 0x70(r1) -/* 8006B2B0 00068210 6C 05 80 00 */ xoris r5, r0, 0x8000 -/* 8006B2B4 00068214 90 C1 00 64 */ stw r6, 0x64(r1) -/* 8006B2B8 00068218 3B 63 07 2C */ addi r27, r3, 0x72c -/* 8006B2BC 0006821C EC 20 28 28 */ fsubs f1, f0, f5 -/* 8006B2C0 00068220 93 41 00 68 */ stw r26, 0x68(r1) -/* 8006B2C4 00068224 3B A3 07 30 */ addi r29, r3, 0x730 -/* 8006B2C8 00068228 3B 83 07 34 */ addi r28, r3, 0x734 -/* 8006B2CC 0006822C 39 83 07 38 */ addi r12, r3, 0x738 -/* 8006B2D0 00068230 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8006B2D4 00068234 EC 46 20 7A */ fmadds f2, f6, f1, f4 -/* 8006B2D8 00068238 7C 7F DD 2E */ stfsx f3, r31, r27 -/* 8006B2DC 0006823C EC 20 28 28 */ fsubs f1, f0, f5 -/* 8006B2E0 00068240 39 43 07 3C */ addi r10, r3, 0x73c -/* 8006B2E4 00068244 93 41 00 60 */ stw r26, 0x60(r1) -/* 8006B2E8 00068248 39 03 07 40 */ addi r8, r3, 0x740 -/* 8006B2EC 0006824C C8 01 00 60 */ lfd f0, 0x60(r1) -/* 8006B2F0 00068250 EC 26 20 7A */ fmadds f1, f6, f1, f4 -/* 8006B2F4 00068254 7C 5F ED 2E */ stfsx f2, r31, r29 -/* 8006B2F8 00068258 38 C3 07 44 */ addi r6, r3, 0x744 -/* 8006B2FC 0006825C EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B300 00068260 38 03 07 48 */ addi r0, r3, 0x748 -/* 8006B304 00068264 91 61 00 5C */ stw r11, 0x5c(r1) -/* 8006B308 00068268 38 63 00 20 */ addi r3, r3, 0x20 -/* 8006B30C 0006826C 38 84 00 08 */ addi r4, r4, 8 -/* 8006B310 00068270 93 41 00 58 */ stw r26, 0x58(r1) -/* 8006B314 00068274 EC 46 20 3A */ fmadds f2, f6, f0, f4 -/* 8006B318 00068278 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 8006B31C 0006827C 7C 3F E5 2E */ stfsx f1, r31, r28 -/* 8006B320 00068280 EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B324 00068284 91 21 00 54 */ stw r9, 0x54(r1) -/* 8006B328 00068288 93 41 00 50 */ stw r26, 0x50(r1) -/* 8006B32C 0006828C EC 26 20 3A */ fmadds f1, f6, f0, f4 -/* 8006B330 00068290 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 8006B334 00068294 7C 5F 65 2E */ stfsx f2, r31, r12 -/* 8006B338 00068298 EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B33C 0006829C 90 E1 00 4C */ stw r7, 0x4c(r1) -/* 8006B340 000682A0 93 41 00 48 */ stw r26, 0x48(r1) -/* 8006B344 000682A4 EC 46 20 3A */ fmadds f2, f6, f0, f4 -/* 8006B348 000682A8 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 8006B34C 000682AC 7C 3F 55 2E */ stfsx f1, r31, r10 -/* 8006B350 000682B0 EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B354 000682B4 90 A1 00 44 */ stw r5, 0x44(r1) -/* 8006B358 000682B8 93 41 00 40 */ stw r26, 0x40(r1) -/* 8006B35C 000682BC EC 26 20 3A */ fmadds f1, f6, f0, f4 -/* 8006B360 000682C0 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 8006B364 000682C4 7C 5F 45 2E */ stfsx f2, r31, r8 -/* 8006B368 000682C8 EC 00 28 28 */ fsubs f0, f0, f5 -/* 8006B36C 000682CC 7C 3F 35 2E */ stfsx f1, r31, r6 -/* 8006B370 000682D0 EC 06 20 3A */ fmadds f0, f6, f0, f4 -/* 8006B374 000682D4 7C 1F 05 2E */ stfsx f0, r31, r0 -/* 8006B378 000682D8 42 00 FE DC */ bdnz lbl_8006B254 -/* 8006B37C 000682DC 80 1F 02 60 */ lwz r0, 0x260(r31) -/* 8006B380 000682E0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006B384 000682E4 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006B388 000682E8 38 60 00 54 */ li r3, 0x54 -/* 8006B38C 000682EC 90 1F 02 64 */ stw r0, 0x264(r31) -/* 8006B390 000682F0 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006B394 000682F4 38 A0 00 00 */ li r5, 0 -/* 8006B398 000682F8 80 1F 02 70 */ lwz r0, 0x270(r31) -/* 8006B39C 000682FC 90 1F 02 74 */ stw r0, 0x274(r31) -/* 8006B3A0 00068300 48 2A A4 CD */ bl __nw__FUlPCcPCc -/* 8006B3A4 00068304 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8006B3A8 00068308 41 82 00 10 */ beq lbl_8006B3B8 -/* 8006B3AC 0006830C 80 9F 02 64 */ lwz r4, 0x264(r31) -/* 8006B3B0 00068310 48 12 5A 91 */ bl __ct__19CHudHelmetInterfaceFR9CGuiFrame -/* 8006B3B4 00068314 7C 7A 1B 78 */ mr r26, r3 -lbl_8006B3B8: -/* 8006B3B8 00068318 80 7F 02 A0 */ lwz r3, 0x2a0(r31) -/* 8006B3BC 0006831C 48 2A A5 75 */ bl Free__7CMemoryFPCv -/* 8006B3C0 00068320 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006B3C4 00068324 93 5F 02 A0 */ stw r26, 0x2a0(r31) -/* 8006B3C8 00068328 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l -/* 8006B3CC 0006832C 3B 60 00 00 */ li r27, 0 -/* 8006B3D0 00068330 38 83 01 3B */ addi r4, r3, 0x13b -/* 8006B3D4 00068334 38 60 00 84 */ li r3, 0x84 -/* 8006B3D8 00068338 38 A0 00 00 */ li r5, 0 -/* 8006B3DC 0006833C 48 2A A4 91 */ bl __nw__FUlPCcPCc -/* 8006B3E0 00068340 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8006B3E4 00068344 41 82 00 30 */ beq lbl_8006B414 -/* 8006B3E8 00068348 7F E4 FB 78 */ mr r4, r31 -/* 8006B3EC 0006834C 7F C5 F3 78 */ mr r5, r30 -/* 8006B3F0 00068350 38 61 00 10 */ addi r3, r1, 0x10 -/* 8006B3F4 00068354 4B FF AC 89 */ bl BuildPlayerHasVisors__9CSamusHudCFRC13CStateManager -/* 8006B3F8 00068358 80 9F 02 74 */ lwz r4, 0x274(r31) -/* 8006B3FC 0006835C 7F 43 D3 78 */ mr r3, r26 -/* 8006B400 00068360 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8006B404 00068364 3B 60 00 01 */ li r27, 1 -/* 8006B408 00068368 38 A0 00 00 */ li r5, 0 -/* 8006B40C 0006836C 48 12 91 65 */ bl "__ct__17CHudVisorBeamMenuFR9CGuiFrameQ217CHudVisorBeamMenu14EVisorBeamMenuRCQ24rstl20reserved_vector" -/* 8006B410 00068370 7C 7A 1B 78 */ mr r26, r3 -lbl_8006B414: -/* 8006B414 00068374 80 7F 02 A4 */ lwz r3, 0x2a4(r31) -/* 8006B418 00068378 28 03 00 00 */ cmplwi r3, 0 -/* 8006B41C 0006837C 41 82 00 64 */ beq lbl_8006B480 -/* 8006B420 00068380 34 03 00 28 */ addic. r0, r3, 0x28 -/* 8006B424 00068384 41 82 00 58 */ beq lbl_8006B47C -/* 8006B428 00068388 80 C3 00 28 */ lwz r6, 0x28(r3) -/* 8006B42C 0006838C 38 80 00 00 */ li r4, 0 -/* 8006B430 00068390 2C 06 00 00 */ cmpwi r6, 0 -/* 8006B434 00068394 40 81 00 40 */ ble lbl_8006B474 -/* 8006B438 00068398 2C 06 00 08 */ cmpwi r6, 8 -/* 8006B43C 0006839C 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006B440 000683A0 40 81 00 20 */ ble lbl_8006B460 -/* 8006B444 000683A4 38 05 00 07 */ addi r0, r5, 7 -/* 8006B448 000683A8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006B44C 000683AC 7C 09 03 A6 */ mtctr r0 -/* 8006B450 000683B0 2C 05 00 00 */ cmpwi r5, 0 -/* 8006B454 000683B4 40 81 00 0C */ ble lbl_8006B460 -lbl_8006B458: -/* 8006B458 000683B8 38 84 00 08 */ addi r4, r4, 8 -/* 8006B45C 000683BC 42 00 FF FC */ bdnz lbl_8006B458 -lbl_8006B460: -/* 8006B460 000683C0 7C 04 30 50 */ subf r0, r4, r6 -/* 8006B464 000683C4 7C 09 03 A6 */ mtctr r0 -/* 8006B468 000683C8 7C 04 30 00 */ cmpw r4, r6 -/* 8006B46C 000683CC 40 80 00 08 */ bge lbl_8006B474 -lbl_8006B470: -/* 8006B470 000683D0 42 00 00 00 */ bdnz lbl_8006B470 -lbl_8006B474: -/* 8006B474 000683D4 38 00 00 00 */ li r0, 0 -/* 8006B478 000683D8 90 03 00 28 */ stw r0, 0x28(r3) -lbl_8006B47C: -/* 8006B47C 000683DC 48 2A A4 B5 */ bl Free__7CMemoryFPCv -lbl_8006B480: -/* 8006B480 000683E0 7F 60 07 75 */ extsb. r0, r27 -/* 8006B484 000683E4 93 5F 02 A4 */ stw r26, 0x2a4(r31) -/* 8006B488 000683E8 41 82 00 58 */ beq lbl_8006B4E0 -/* 8006B48C 000683EC 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8006B490 000683F0 38 60 00 00 */ li r3, 0 -/* 8006B494 000683F4 2C 05 00 00 */ cmpwi r5, 0 -/* 8006B498 000683F8 40 81 00 40 */ ble lbl_8006B4D8 -/* 8006B49C 000683FC 2C 05 00 08 */ cmpwi r5, 8 -/* 8006B4A0 00068400 38 85 FF F8 */ addi r4, r5, -8 -/* 8006B4A4 00068404 40 81 00 20 */ ble lbl_8006B4C4 -/* 8006B4A8 00068408 38 04 00 07 */ addi r0, r4, 7 -/* 8006B4AC 0006840C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006B4B0 00068410 7C 09 03 A6 */ mtctr r0 -/* 8006B4B4 00068414 2C 04 00 00 */ cmpwi r4, 0 -/* 8006B4B8 00068418 40 81 00 0C */ ble lbl_8006B4C4 -lbl_8006B4BC: -/* 8006B4BC 0006841C 38 63 00 08 */ addi r3, r3, 8 -/* 8006B4C0 00068420 42 00 FF FC */ bdnz lbl_8006B4BC -lbl_8006B4C4: -/* 8006B4C4 00068424 7C 03 28 50 */ subf r0, r3, r5 -/* 8006B4C8 00068428 7C 09 03 A6 */ mtctr r0 -/* 8006B4CC 0006842C 7C 03 28 00 */ cmpw r3, r5 -/* 8006B4D0 00068430 40 80 00 08 */ bge lbl_8006B4D8 -lbl_8006B4D4: -/* 8006B4D4 00068434 42 00 00 00 */ bdnz lbl_8006B4D4 -lbl_8006B4D8: -/* 8006B4D8 00068438 38 00 00 00 */ li r0, 0 -/* 8006B4DC 0006843C 90 01 00 10 */ stw r0, 0x10(r1) -lbl_8006B4E0: -/* 8006B4E0 00068440 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006B4E4 00068444 3B 60 00 00 */ li r27, 0 -/* 8006B4E8 00068448 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006B4EC 0006844C 38 60 00 84 */ li r3, 0x84 -/* 8006B4F0 00068450 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006B4F4 00068454 38 A0 00 00 */ li r5, 0 -/* 8006B4F8 00068458 48 2A A3 75 */ bl __nw__FUlPCcPCc -/* 8006B4FC 0006845C 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8006B500 00068460 41 82 00 30 */ beq lbl_8006B530 -/* 8006B504 00068464 7F E4 FB 78 */ mr r4, r31 -/* 8006B508 00068468 7F C5 F3 78 */ mr r5, r30 -/* 8006B50C 0006846C 38 61 00 08 */ addi r3, r1, 8 -/* 8006B510 00068470 4B FF A9 F9 */ bl BuildPlayerHasBeams__9CSamusHudCFRC13CStateManager -/* 8006B514 00068474 80 9F 02 74 */ lwz r4, 0x274(r31) -/* 8006B518 00068478 7F 43 D3 78 */ mr r3, r26 -/* 8006B51C 0006847C 38 C1 00 08 */ addi r6, r1, 8 -/* 8006B520 00068480 3B 60 00 01 */ li r27, 1 -/* 8006B524 00068484 38 A0 00 01 */ li r5, 1 -/* 8006B528 00068488 48 12 90 49 */ bl "__ct__17CHudVisorBeamMenuFR9CGuiFrameQ217CHudVisorBeamMenu14EVisorBeamMenuRCQ24rstl20reserved_vector" -/* 8006B52C 0006848C 7C 7A 1B 78 */ mr r26, r3 -lbl_8006B530: -/* 8006B530 00068490 80 7F 02 A8 */ lwz r3, 0x2a8(r31) -/* 8006B534 00068494 28 03 00 00 */ cmplwi r3, 0 -/* 8006B538 00068498 41 82 00 64 */ beq lbl_8006B59C -/* 8006B53C 0006849C 34 03 00 28 */ addic. r0, r3, 0x28 -/* 8006B540 000684A0 41 82 00 58 */ beq lbl_8006B598 -/* 8006B544 000684A4 80 C3 00 28 */ lwz r6, 0x28(r3) -/* 8006B548 000684A8 38 80 00 00 */ li r4, 0 -/* 8006B54C 000684AC 2C 06 00 00 */ cmpwi r6, 0 -/* 8006B550 000684B0 40 81 00 40 */ ble lbl_8006B590 -/* 8006B554 000684B4 2C 06 00 08 */ cmpwi r6, 8 -/* 8006B558 000684B8 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006B55C 000684BC 40 81 00 20 */ ble lbl_8006B57C -/* 8006B560 000684C0 38 05 00 07 */ addi r0, r5, 7 -/* 8006B564 000684C4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006B568 000684C8 7C 09 03 A6 */ mtctr r0 -/* 8006B56C 000684CC 2C 05 00 00 */ cmpwi r5, 0 -/* 8006B570 000684D0 40 81 00 0C */ ble lbl_8006B57C -lbl_8006B574: -/* 8006B574 000684D4 38 84 00 08 */ addi r4, r4, 8 -/* 8006B578 000684D8 42 00 FF FC */ bdnz lbl_8006B574 -lbl_8006B57C: -/* 8006B57C 000684DC 7C 04 30 50 */ subf r0, r4, r6 -/* 8006B580 000684E0 7C 09 03 A6 */ mtctr r0 -/* 8006B584 000684E4 7C 04 30 00 */ cmpw r4, r6 -/* 8006B588 000684E8 40 80 00 08 */ bge lbl_8006B590 -lbl_8006B58C: -/* 8006B58C 000684EC 42 00 00 00 */ bdnz lbl_8006B58C -lbl_8006B590: -/* 8006B590 000684F0 38 00 00 00 */ li r0, 0 -/* 8006B594 000684F4 90 03 00 28 */ stw r0, 0x28(r3) -lbl_8006B598: -/* 8006B598 000684F8 48 2A A3 99 */ bl Free__7CMemoryFPCv -lbl_8006B59C: -/* 8006B59C 000684FC 7F 60 07 75 */ extsb. r0, r27 -/* 8006B5A0 00068500 93 5F 02 A8 */ stw r26, 0x2a8(r31) -/* 8006B5A4 00068504 41 82 00 58 */ beq lbl_8006B5FC -/* 8006B5A8 00068508 80 A1 00 08 */ lwz r5, 8(r1) -/* 8006B5AC 0006850C 38 60 00 00 */ li r3, 0 -/* 8006B5B0 00068510 2C 05 00 00 */ cmpwi r5, 0 -/* 8006B5B4 00068514 40 81 00 40 */ ble lbl_8006B5F4 -/* 8006B5B8 00068518 2C 05 00 08 */ cmpwi r5, 8 -/* 8006B5BC 0006851C 38 85 FF F8 */ addi r4, r5, -8 -/* 8006B5C0 00068520 40 81 00 20 */ ble lbl_8006B5E0 -/* 8006B5C4 00068524 38 04 00 07 */ addi r0, r4, 7 -/* 8006B5C8 00068528 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006B5CC 0006852C 7C 09 03 A6 */ mtctr r0 -/* 8006B5D0 00068530 2C 04 00 00 */ cmpwi r4, 0 -/* 8006B5D4 00068534 40 81 00 0C */ ble lbl_8006B5E0 -lbl_8006B5D8: -/* 8006B5D8 00068538 38 63 00 08 */ addi r3, r3, 8 -/* 8006B5DC 0006853C 42 00 FF FC */ bdnz lbl_8006B5D8 -lbl_8006B5E0: -/* 8006B5E0 00068540 7C 03 28 50 */ subf r0, r3, r5 -/* 8006B5E4 00068544 7C 09 03 A6 */ mtctr r0 -/* 8006B5E8 00068548 7C 03 28 00 */ cmpw r3, r5 -/* 8006B5EC 0006854C 40 80 00 08 */ bge lbl_8006B5F4 -lbl_8006B5F0: -/* 8006B5F0 00068550 42 00 00 00 */ bdnz lbl_8006B5F0 -lbl_8006B5F4: -/* 8006B5F4 00068554 38 00 00 00 */ li r0, 0 -/* 8006B5F8 00068558 90 01 00 08 */ stw r0, 8(r1) -lbl_8006B5FC: -/* 8006B5FC 0006855C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006B600 00068560 38 60 00 48 */ li r3, 0x48 -/* 8006B604 00068564 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006B608 00068568 38 A0 00 00 */ li r5, 0 -/* 8006B60C 0006856C 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006B610 00068570 48 2A A2 5D */ bl __nw__FUlPCcPCc -/* 8006B614 00068574 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8006B618 00068578 41 82 00 14 */ beq lbl_8006B62C -/* 8006B61C 0006857C 80 9F 02 74 */ lwz r4, 0x274(r31) -/* 8006B620 00068580 7F C5 F3 78 */ mr r5, r30 -/* 8006B624 00068584 48 12 73 B9 */ bl __ct__18CHudRadarInterfaceFR9CGuiFrameRC13CStateManager -/* 8006B628 00068588 7C 7B 1B 78 */ mr r27, r3 -lbl_8006B62C: -/* 8006B62C 0006858C 83 5F 02 AC */ lwz r26, 0x2ac(r31) -/* 8006B630 00068590 28 1A 00 00 */ cmplwi r26, 0 -/* 8006B634 00068594 41 82 00 20 */ beq lbl_8006B654 -/* 8006B638 00068598 41 82 00 14 */ beq lbl_8006B64C -/* 8006B63C 0006859C 41 82 00 10 */ beq lbl_8006B64C -/* 8006B640 000685A0 7F 43 D3 78 */ mr r3, r26 -/* 8006B644 000685A4 38 80 00 00 */ li r4, 0 -/* 8006B648 000685A8 48 2D 57 F9 */ bl __dt__6CTokenFv -lbl_8006B64C: -/* 8006B64C 000685AC 7F 43 D3 78 */ mr r3, r26 -/* 8006B650 000685B0 48 2A A2 E1 */ bl Free__7CMemoryFPCv -lbl_8006B654: -/* 8006B654 000685B4 93 7F 02 AC */ stw r27, 0x2ac(r31) -/* 8006B658 000685B8 7F E3 FB 78 */ mr r3, r31 -/* 8006B65C 000685BC 7F C4 F3 78 */ mr r4, r30 -/* 8006B660 000685C0 48 00 1C 11 */ bl InitializeFrameGluePermanent__9CSamusHudFRC13CStateManager -/* 8006B664 000685C4 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 8006B668 000685C8 7F E3 FB 78 */ mr r3, r31 -/* 8006B66C 000685CC 7F C4 F3 78 */ mr r4, r30 -/* 8006B670 000685D0 38 A0 00 01 */ li r5, 1 -/* 8006B674 000685D4 4B FF DB 45 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb -/* 8006B678 000685D8 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 8006B67C 000685DC 7F E3 FB 78 */ mr r3, r31 -/* 8006B680 000685E0 7F C4 F3 78 */ mr r4, r30 -/* 8006B684 000685E4 38 A0 00 01 */ li r5, 1 -/* 8006B688 000685E8 4B FF DA 0D */ bl UpdateMissile__9CSamusHudFfRC13CStateManagerb -/* 8006B68C 000685EC 7F E3 FB 78 */ mr r3, r31 -/* 8006B690 000685F0 7F C4 F3 78 */ mr r4, r30 -/* 8006B694 000685F4 38 A0 00 01 */ li r5, 1 -/* 8006B698 000685F8 4B FF D9 2D */ bl UpdateBallMode__9CSamusHudFRC13CStateManagerb -/* 8006B69C 000685FC 7F E3 FB 78 */ mr r3, r31 -/* 8006B6A0 00068600 BB 41 00 88 */ lmw r26, 0x88(r1) -/* 8006B6A4 00068604 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8006B6A8 00068608 7C 08 03 A6 */ mtlr r0 -/* 8006B6AC 0006860C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8006B6B0 00068610 4E 80 00 20 */ blr - -.global UpdateThreatAssessment__9CSamusHudFfRC13CStateManager -UpdateThreatAssessment__9CSamusHudFfRC13CStateManager: -/* 8006B6B4 00068614 94 21 F6 80 */ stwu r1, -0x980(r1) -/* 8006B6B8 00068618 7C 08 02 A6 */ mflr r0 -/* 8006B6BC 0006861C 90 01 09 84 */ stw r0, 0x984(r1) -/* 8006B6C0 00068620 DB E1 09 70 */ stfd f31, 0x970(r1) -/* 8006B6C4 00068624 F3 E1 09 78 */ psq_st f31, -1672(r1), 0, qr0 -/* 8006B6C8 00068628 DB C1 09 60 */ stfd f30, 0x960(r1) -/* 8006B6CC 0006862C F3 C1 09 68 */ psq_st f30, -1688(r1), 0, qr0 -/* 8006B6D0 00068630 DB A1 09 50 */ stfd f29, 0x950(r1) -/* 8006B6D4 00068634 F3 A1 09 58 */ psq_st f29, -1704(r1), 0, qr0 -/* 8006B6D8 00068638 DB 81 09 40 */ stfd f28, 0x940(r1) -/* 8006B6DC 0006863C F3 81 09 48 */ psq_st f28, -1720(r1), 0, qr0 -/* 8006B6E0 00068640 93 E1 09 3C */ stw r31, 0x93c(r1) -/* 8006B6E4 00068644 93 C1 09 38 */ stw r30, 0x938(r1) -/* 8006B6E8 00068648 93 A1 09 34 */ stw r29, 0x934(r1) -/* 8006B6EC 0006864C 93 81 09 30 */ stw r28, 0x930(r1) -/* 8006B6F0 00068650 80 AD 82 F8 */ lwz r5, lbl_805A6EB8@sda21(r13) -/* 8006B6F4 00068654 7C 7C 1B 78 */ mr r28, r3 -/* 8006B6F8 00068658 7C 9D 23 78 */ mr r29, r4 -/* 8006B6FC 0006865C 38 60 00 00 */ li r3, 0 -/* 8006B700 00068660 38 80 00 01 */ li r4, 1 -/* 8006B704 00068664 48 31 E7 F1 */ bl __shl2i -/* 8006B708 00068668 38 C0 00 01 */ li r6, 1 -/* 8006B70C 0006866C 38 00 00 00 */ li r0, 0 -/* 8006B710 00068670 90 61 01 08 */ stw r3, 0x108(r1) -/* 8006B714 00068674 3C 60 80 5A */ lis r3, lbl_805A6784@ha -/* 8006B718 00068678 38 A3 67 84 */ addi r5, r3, lbl_805A6784@l -/* 8006B71C 0006867C 80 FD 08 4C */ lwz r7, 0x84c(r29) -/* 8006B720 00068680 90 81 01 0C */ stw r4, 0x10c(r1) -/* 8006B724 00068684 38 61 00 50 */ addi r3, r1, 0x50 -/* 8006B728 00068688 C0 A5 00 00 */ lfs f5, 0(r5) -/* 8006B72C 0006868C 7C E4 3B 78 */ mr r4, r7 -/* 8006B730 00068690 90 01 01 14 */ stw r0, 0x114(r1) -/* 8006B734 00068694 C0 85 00 04 */ lfs f4, 4(r5) -/* 8006B738 00068698 90 01 01 10 */ stw r0, 0x110(r1) -/* 8006B73C 0006869C C0 65 00 08 */ lfs f3, 8(r5) -/* 8006B740 000686A0 90 C1 01 18 */ stw r6, 0x118(r1) -/* 8006B744 000686A4 C0 45 00 0C */ lfs f2, 0xc(r5) -/* 8006B748 000686A8 C3 A7 00 60 */ lfs f29, 0x60(r7) -/* 8006B74C 000686AC C3 C7 00 50 */ lfs f30, 0x50(r7) -/* 8006B750 000686B0 C3 E7 00 40 */ lfs f31, 0x40(r7) -/* 8006B754 000686B4 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8006B758 000686B8 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8006B75C 000686BC D0 A1 00 F0 */ stfs f5, 0xf0(r1) -/* 8006B760 000686C0 D0 81 00 F4 */ stfs f4, 0xf4(r1) -/* 8006B764 000686C4 D0 61 00 F8 */ stfs f3, 0xf8(r1) -/* 8006B768 000686C8 D0 41 00 FC */ stfs f2, 0xfc(r1) -/* 8006B76C 000686CC D0 21 01 00 */ stfs f1, 0x100(r1) -/* 8006B770 000686D0 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 8006B774 000686D4 81 87 00 00 */ lwz r12, 0(r7) -/* 8006B778 000686D8 90 C1 00 80 */ stw r6, 0x80(r1) -/* 8006B77C 000686DC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8006B780 000686E0 7D 89 03 A6 */ mtctr r12 -/* 8006B784 000686E4 4E 80 04 21 */ bctrl -/* 8006B788 000686E8 88 01 00 68 */ lbz r0, 0x68(r1) -/* 8006B78C 000686EC 28 00 00 00 */ cmplwi r0, 0 -/* 8006B790 000686F0 98 01 00 EC */ stb r0, 0xec(r1) -/* 8006B794 000686F4 41 82 00 3C */ beq lbl_8006B7D0 -/* 8006B798 000686F8 34 61 00 D4 */ addic. r3, r1, 0xd4 -/* 8006B79C 000686FC 41 82 00 34 */ beq lbl_8006B7D0 -/* 8006B7A0 00068700 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8006B7A4 00068704 D0 03 00 00 */ stfs f0, 0(r3) -/* 8006B7A8 00068708 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8006B7AC 0006870C D0 03 00 04 */ stfs f0, 4(r3) -/* 8006B7B0 00068710 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8006B7B4 00068714 D0 03 00 08 */ stfs f0, 8(r3) -/* 8006B7B8 00068718 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8006B7BC 0006871C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8006B7C0 00068720 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8006B7C4 00068724 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8006B7C8 00068728 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8006B7CC 0006872C D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8006B7D0: -/* 8006B7D0 00068730 88 01 00 EC */ lbz r0, 0xec(r1) -/* 8006B7D4 00068734 38 60 00 00 */ li r3, 0 -/* 8006B7D8 00068738 98 61 00 68 */ stb r3, 0x68(r1) -/* 8006B7DC 0006873C 28 00 00 00 */ cmplwi r0, 0 -/* 8006B7E0 00068740 41 82 00 34 */ beq lbl_8006B814 -/* 8006B7E4 00068744 80 E1 00 D4 */ lwz r7, 0xd4(r1) -/* 8006B7E8 00068748 80 C1 00 D8 */ lwz r6, 0xd8(r1) -/* 8006B7EC 0006874C 80 A1 00 DC */ lwz r5, 0xdc(r1) -/* 8006B7F0 00068750 80 81 00 E0 */ lwz r4, 0xe0(r1) -/* 8006B7F4 00068754 80 61 00 E4 */ lwz r3, 0xe4(r1) -/* 8006B7F8 00068758 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 8006B7FC 0006875C 90 E1 00 F0 */ stw r7, 0xf0(r1) -/* 8006B800 00068760 90 C1 00 F4 */ stw r6, 0xf4(r1) -/* 8006B804 00068764 90 A1 00 F8 */ stw r5, 0xf8(r1) -/* 8006B808 00068768 90 81 00 FC */ stw r4, 0xfc(r1) -/* 8006B80C 0006876C 90 61 01 00 */ stw r3, 0x100(r1) -/* 8006B810 00068770 90 01 01 04 */ stw r0, 0x104(r1) -lbl_8006B814: -/* 8006B814 00068774 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 8006B818 00068778 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8006B81C 0006877C 38 C3 67 54 */ addi r6, r3, lbl_805A6754@l -/* 8006B820 00068780 38 61 00 BC */ addi r3, r1, 0xbc -/* 8006B824 00068784 C0 A6 00 00 */ lfs f5, 0(r6) -/* 8006B828 00068788 38 81 00 28 */ addi r4, r1, 0x28 -/* 8006B82C 0006878C C0 86 00 04 */ lfs f4, 4(r6) -/* 8006B830 00068790 C0 66 00 08 */ lfs f3, 8(r6) -/* 8006B834 00068794 C0 46 00 0C */ lfs f2, 0xc(r6) -/* 8006B838 00068798 C0 26 00 10 */ lfs f1, 0x10(r6) -/* 8006B83C 0006879C C0 06 00 14 */ lfs f0, 0x14(r6) -/* 8006B840 000687A0 D0 A1 00 BC */ stfs f5, 0xbc(r1) -/* 8006B844 000687A4 D0 81 00 C0 */ stfs f4, 0xc0(r1) -/* 8006B848 000687A8 D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 8006B84C 000687AC D0 41 00 C8 */ stfs f2, 0xc8(r1) -/* 8006B850 000687B0 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 8006B854 000687B4 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 8006B858 000687B8 C3 85 00 E4 */ lfs f28, 0xe4(r5) -/* 8006B85C 000687BC FC 00 E0 50 */ fneg f0, f28 -/* 8006B860 000687C0 EC 5F 00 2A */ fadds f2, f31, f0 -/* 8006B864 000687C4 EC 3E 00 2A */ fadds f1, f30, f0 -/* 8006B868 000687C8 EC 1D 00 2A */ fadds f0, f29, f0 -/* 8006B86C 000687CC D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8006B870 000687D0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8006B874 000687D4 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8006B878 000687D8 48 2C C2 91 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8006B87C 000687DC EC 5F E0 2A */ fadds f2, f31, f28 -/* 8006B880 000687E0 38 61 00 BC */ addi r3, r1, 0xbc -/* 8006B884 000687E4 EC 3E E0 2A */ fadds f1, f30, f28 -/* 8006B888 000687E8 38 81 00 1C */ addi r4, r1, 0x1c -/* 8006B88C 000687EC EC 1D E0 2A */ fadds f0, f29, f28 -/* 8006B890 000687F0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8006B894 000687F4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8006B898 000687F8 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8006B89C 000687FC 48 2C C2 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8006B8A0 00068800 38 00 00 00 */ li r0, 0 -/* 8006B8A4 00068804 7F A3 EB 78 */ mr r3, r29 -/* 8006B8A8 00068808 90 01 01 20 */ stw r0, 0x120(r1) -/* 8006B8AC 0006880C 38 81 01 20 */ addi r4, r1, 0x120 -/* 8006B8B0 00068810 38 A1 00 BC */ addi r5, r1, 0xbc -/* 8006B8B4 00068814 38 C1 01 08 */ addi r6, r1, 0x108 -/* 8006B8B8 00068818 38 E0 00 00 */ li r7, 0 -/* 8006B8BC 0006881C 4B FE 0E 65 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8006B8C0 00068820 C0 02 88 00 */ lfs f0, lbl_805AA520@sda21(r2) -/* 8006B8C4 00068824 3B E1 01 24 */ addi r31, r1, 0x124 -/* 8006B8C8 00068828 7F FE FB 78 */ mr r30, r31 -/* 8006B8CC 0006882C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8006B8D0 00068830 48 00 01 14 */ b lbl_8006B9E4 -lbl_8006B8D4: -/* 8006B8D4 00068834 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8006B8D8 00068838 7F A3 EB 78 */ mr r3, r29 -/* 8006B8DC 0006883C 38 81 00 08 */ addi r4, r1, 8 -/* 8006B8E0 00068840 B0 01 00 08 */ sth r0, 8(r1) -/* 8006B8E4 00068844 4B FE 0C C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8006B8E8 00068848 7C 64 1B 78 */ mr r4, r3 -/* 8006B8EC 0006884C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8006B8F0 00068850 48 03 B5 F9 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" -/* 8006B8F4 00068854 80 83 00 04 */ lwz r4, 4(r3) -/* 8006B8F8 00068858 28 04 00 00 */ cmplwi r4, 0 -/* 8006B8FC 0006885C 41 82 00 E4 */ beq lbl_8006B9E0 -/* 8006B900 00068860 80 04 01 2C */ lwz r0, 0x12c(r4) -/* 8006B904 00068864 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8006B908 00068868 41 82 00 D8 */ beq lbl_8006B9E0 -/* 8006B90C 0006886C C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 8006B910 00068870 C0 04 01 08 */ lfs f0, 0x108(r4) -/* 8006B914 00068874 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8006B918 00068878 41 82 00 C8 */ beq lbl_8006B9E0 -/* 8006B91C 0006887C 81 84 00 00 */ lwz r12, 0(r4) -/* 8006B920 00068880 38 61 00 34 */ addi r3, r1, 0x34 -/* 8006B924 00068884 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8006B928 00068888 7D 89 03 A6 */ mtctr r12 -/* 8006B92C 0006888C 4E 80 04 21 */ bctrl -/* 8006B930 00068890 88 01 00 4C */ lbz r0, 0x4c(r1) -/* 8006B934 00068894 28 00 00 00 */ cmplwi r0, 0 -/* 8006B938 00068898 98 01 00 B8 */ stb r0, 0xb8(r1) -/* 8006B93C 0006889C 41 82 00 3C */ beq lbl_8006B978 -/* 8006B940 000688A0 34 61 00 A0 */ addic. r3, r1, 0xa0 -/* 8006B944 000688A4 41 82 00 34 */ beq lbl_8006B978 -/* 8006B948 000688A8 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8006B94C 000688AC D0 03 00 00 */ stfs f0, 0(r3) -/* 8006B950 000688B0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8006B954 000688B4 D0 03 00 04 */ stfs f0, 4(r3) -/* 8006B958 000688B8 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8006B95C 000688BC D0 03 00 08 */ stfs f0, 8(r3) -/* 8006B960 000688C0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8006B964 000688C4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8006B968 000688C8 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8006B96C 000688CC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8006B970 000688D0 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8006B974 000688D4 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8006B978: -/* 8006B978 000688D8 88 01 00 B8 */ lbz r0, 0xb8(r1) -/* 8006B97C 000688DC 38 60 00 00 */ li r3, 0 -/* 8006B980 000688E0 98 61 00 4C */ stb r3, 0x4c(r1) -/* 8006B984 000688E4 28 00 00 00 */ cmplwi r0, 0 -/* 8006B988 000688E8 41 82 00 50 */ beq lbl_8006B9D8 -/* 8006B98C 000688EC C0 A1 00 A0 */ lfs f5, 0xa0(r1) -/* 8006B990 000688F0 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8006B994 000688F4 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 8006B998 000688F8 38 81 00 88 */ addi r4, r1, 0x88 -/* 8006B99C 000688FC C0 61 00 A8 */ lfs f3, 0xa8(r1) -/* 8006B9A0 00068900 C0 41 00 AC */ lfs f2, 0xac(r1) -/* 8006B9A4 00068904 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 8006B9A8 00068908 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 8006B9AC 0006890C D0 A1 00 88 */ stfs f5, 0x88(r1) -/* 8006B9B0 00068910 D0 81 00 8C */ stfs f4, 0x8c(r1) -/* 8006B9B4 00068914 D0 61 00 90 */ stfs f3, 0x90(r1) -/* 8006B9B8 00068918 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8006B9BC 0006891C D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8006B9C0 00068920 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8006B9C4 00068924 48 2C B8 99 */ bl DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox -/* 8006B9C8 00068928 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8006B9CC 0006892C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8006B9D0 00068930 40 80 00 08 */ bge lbl_8006B9D8 -/* 8006B9D4 00068934 D0 21 00 10 */ stfs f1, 0x10(r1) -lbl_8006B9D8: -/* 8006B9D8 00068938 38 00 00 00 */ li r0, 0 -/* 8006B9DC 0006893C 98 01 00 B8 */ stb r0, 0xb8(r1) -lbl_8006B9E0: -/* 8006B9E0 00068940 3B DE 00 02 */ addi r30, r30, 2 -lbl_8006B9E4: -/* 8006B9E4 00068944 80 01 01 20 */ lwz r0, 0x120(r1) -/* 8006B9E8 00068948 54 00 08 3C */ slwi r0, r0, 1 -/* 8006B9EC 0006894C 7C 1F 02 14 */ add r0, r31, r0 -/* 8006B9F0 00068950 7C 1E 00 40 */ cmplw r30, r0 -/* 8006B9F4 00068954 40 82 FE E0 */ bne lbl_8006B8D4 -/* 8006B9F8 00068958 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8006B9FC 0006895C C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 8006BA00 00068960 C0 23 0A 1C */ lfs f1, 0xa1c(r3) -/* 8006BA04 00068964 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8006BA08 00068968 40 81 00 3C */ ble lbl_8006BA44 -/* 8006BA0C 0006896C C0 02 87 28 */ lfs f0, lbl_805AA448@sda21(r2) -/* 8006BA10 00068970 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 8006BA14 00068974 EC 20 08 28 */ fsubs f1, f0, f1 -/* 8006BA18 00068978 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8006BA1C 0006897C C0 43 00 E4 */ lfs f2, 0xe4(r3) -/* 8006BA20 00068980 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8006BA24 00068984 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8006BA28 00068988 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8006BA2C 0006898C 40 80 00 0C */ bge lbl_8006BA38 -/* 8006BA30 00068990 38 61 00 0C */ addi r3, r1, 0xc -/* 8006BA34 00068994 48 00 00 08 */ b lbl_8006BA3C -lbl_8006BA38: -/* 8006BA38 00068998 38 61 00 10 */ addi r3, r1, 0x10 -lbl_8006BA3C: -/* 8006BA3C 0006899C C0 03 00 00 */ lfs f0, 0(r3) -/* 8006BA40 000689A0 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_8006BA44: -/* 8006BA44 000689A4 88 1D 0F 94 */ lbz r0, 0xf94(r29) -/* 8006BA48 000689A8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8006BA4C 000689AC 41 82 00 0C */ beq lbl_8006BA58 -/* 8006BA50 000689B0 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 8006BA54 000689B4 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_8006BA58: -/* 8006BA58 000689B8 80 7C 02 90 */ lwz r3, 0x290(r28) -/* 8006BA5C 000689BC 28 03 00 00 */ cmplwi r3, 0 -/* 8006BA60 000689C0 41 82 00 18 */ beq lbl_8006BA78 -/* 8006BA64 000689C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8006BA68 000689C8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8006BA6C 000689CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8006BA70 000689D0 7D 89 03 A6 */ mtctr r12 -/* 8006BA74 000689D4 4E 80 04 21 */ bctrl -lbl_8006BA78: -/* 8006BA78 000689D8 80 A1 01 20 */ lwz r5, 0x120(r1) -/* 8006BA7C 000689DC 38 60 00 00 */ li r3, 0 -/* 8006BA80 000689E0 2C 05 00 00 */ cmpwi r5, 0 -/* 8006BA84 000689E4 40 81 00 40 */ ble lbl_8006BAC4 -/* 8006BA88 000689E8 2C 05 00 08 */ cmpwi r5, 8 -/* 8006BA8C 000689EC 38 85 FF F8 */ addi r4, r5, -8 -/* 8006BA90 000689F0 40 81 00 20 */ ble lbl_8006BAB0 -/* 8006BA94 000689F4 38 04 00 07 */ addi r0, r4, 7 -/* 8006BA98 000689F8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006BA9C 000689FC 7C 09 03 A6 */ mtctr r0 -/* 8006BAA0 00068A00 2C 04 00 00 */ cmpwi r4, 0 -/* 8006BAA4 00068A04 40 81 00 0C */ ble lbl_8006BAB0 -lbl_8006BAA8: -/* 8006BAA8 00068A08 38 63 00 08 */ addi r3, r3, 8 -/* 8006BAAC 00068A0C 42 00 FF FC */ bdnz lbl_8006BAA8 -lbl_8006BAB0: -/* 8006BAB0 00068A10 7C 03 28 50 */ subf r0, r3, r5 -/* 8006BAB4 00068A14 7C 09 03 A6 */ mtctr r0 -/* 8006BAB8 00068A18 7C 03 28 00 */ cmpw r3, r5 -/* 8006BABC 00068A1C 40 80 00 08 */ bge lbl_8006BAC4 -lbl_8006BAC0: -/* 8006BAC0 00068A20 42 00 00 00 */ bdnz lbl_8006BAC0 -lbl_8006BAC4: -/* 8006BAC4 00068A24 38 00 00 00 */ li r0, 0 -/* 8006BAC8 00068A28 90 01 01 20 */ stw r0, 0x120(r1) -/* 8006BACC 00068A2C 98 01 00 EC */ stb r0, 0xec(r1) -/* 8006BAD0 00068A30 E3 E1 09 78 */ psq_l f31, -1672(r1), 0, qr0 -/* 8006BAD4 00068A34 CB E1 09 70 */ lfd f31, 0x970(r1) -/* 8006BAD8 00068A38 E3 C1 09 68 */ psq_l f30, -1688(r1), 0, qr0 -/* 8006BADC 00068A3C CB C1 09 60 */ lfd f30, 0x960(r1) -/* 8006BAE0 00068A40 E3 A1 09 58 */ psq_l f29, -1704(r1), 0, qr0 -/* 8006BAE4 00068A44 CB A1 09 50 */ lfd f29, 0x950(r1) -/* 8006BAE8 00068A48 E3 81 09 48 */ psq_l f28, -1720(r1), 0, qr0 -/* 8006BAEC 00068A4C CB 81 09 40 */ lfd f28, 0x940(r1) -/* 8006BAF0 00068A50 83 E1 09 3C */ lwz r31, 0x93c(r1) -/* 8006BAF4 00068A54 83 C1 09 38 */ lwz r30, 0x938(r1) -/* 8006BAF8 00068A58 83 A1 09 34 */ lwz r29, 0x934(r1) -/* 8006BAFC 00068A5C 80 01 09 84 */ lwz r0, 0x984(r1) -/* 8006BB00 00068A60 83 81 09 30 */ lwz r28, 0x930(r1) -/* 8006BB04 00068A64 7C 08 03 A6 */ mtlr r0 -/* 8006BB08 00068A68 38 21 09 80 */ addi r1, r1, 0x980 -/* 8006BB0C 00068A6C 4E 80 00 20 */ blr - -.global _DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo -_DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo: -/* 8006BB10 00068A70 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006BB14 00068A74 7C 08 02 A6 */ mflr r0 -/* 8006BB18 00068A78 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006BB1C 00068A7C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8006BB20 00068A80 7C 7C 1B 78 */ mr r28, r3 -/* 8006BB24 00068A84 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006BB28 00068A88 7C BD 2B 78 */ mr r29, r5 -/* 8006BB2C 00068A8C 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l -/* 8006BB30 00068A90 7C 9E 23 78 */ mr r30, r4 -/* 8006BB34 00068A94 38 83 01 3B */ addi r4, r3, 0x13b -/* 8006BB38 00068A98 3B 60 00 00 */ li r27, 0 -/* 8006BB3C 00068A9C 38 60 00 08 */ li r3, 8 -/* 8006BB40 00068AA0 38 A0 00 00 */ li r5, 0 -/* 8006BB44 00068AA4 C0 06 00 00 */ lfs f0, 0(r6) -/* 8006BB48 00068AA8 D0 1C 05 48 */ stfs f0, 0x548(r28) -/* 8006BB4C 00068AAC 88 06 00 04 */ lbz r0, 4(r6) -/* 8006BB50 00068AB0 98 1C 05 4C */ stb r0, 0x54c(r28) -/* 8006BB54 00068AB4 88 06 00 05 */ lbz r0, 5(r6) -/* 8006BB58 00068AB8 98 1C 05 4D */ stb r0, 0x54d(r28) -/* 8006BB5C 00068ABC 88 06 00 06 */ lbz r0, 6(r6) -/* 8006BB60 00068AC0 98 1C 05 4E */ stb r0, 0x54e(r28) -/* 8006BB64 00068AC4 48 2A 9D 09 */ bl __nw__FUlPCcPCc -/* 8006BB68 00068AC8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8006BB6C 00068ACC 41 82 00 40 */ beq lbl_8006BBAC -/* 8006BB70 00068AD0 3C 60 53 54 */ lis r3, 0x53545247@ha -/* 8006BB74 00068AD4 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8006BB78 00068AD8 38 03 52 47 */ addi r0, r3, 0x53545247@l -/* 8006BB7C 00068ADC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8006BB80 00068AE0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8006BB84 00068AE4 38 61 00 08 */ addi r3, r1, 8 -/* 8006BB88 00068AE8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8006BB8C 00068AEC 81 84 00 00 */ lwz r12, 0(r4) -/* 8006BB90 00068AF0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8006BB94 00068AF4 7D 89 03 A6 */ mtctr r12 -/* 8006BB98 00068AF8 4E 80 04 21 */ bctrl -/* 8006BB9C 00068AFC 7F E3 FB 78 */ mr r3, r31 -/* 8006BBA0 00068B00 38 81 00 08 */ addi r4, r1, 8 -/* 8006BBA4 00068B04 3B 60 00 01 */ li r27, 1 -/* 8006BBA8 00068B08 48 2D 53 01 */ bl __ct__6CTokenFRC6CToken -lbl_8006BBAC: -/* 8006BBAC 00068B0C 83 DC 05 50 */ lwz r30, 0x550(r28) -/* 8006BBB0 00068B10 28 1E 00 00 */ cmplwi r30, 0 -/* 8006BBB4 00068B14 41 82 00 18 */ beq lbl_8006BBCC -/* 8006BBB8 00068B18 7F C3 F3 78 */ mr r3, r30 -/* 8006BBBC 00068B1C 38 80 00 00 */ li r4, 0 -/* 8006BBC0 00068B20 48 2D 52 81 */ bl __dt__6CTokenFv -/* 8006BBC4 00068B24 7F C3 F3 78 */ mr r3, r30 -/* 8006BBC8 00068B28 48 2A 9D 69 */ bl Free__7CMemoryFPCv -lbl_8006BBCC: -/* 8006BBCC 00068B2C 7F 60 07 75 */ extsb. r0, r27 -/* 8006BBD0 00068B30 93 FC 05 50 */ stw r31, 0x550(r28) -/* 8006BBD4 00068B34 41 82 00 10 */ beq lbl_8006BBE4 -/* 8006BBD8 00068B38 38 61 00 08 */ addi r3, r1, 8 -/* 8006BBDC 00068B3C 38 80 FF FF */ li r4, -1 -/* 8006BBE0 00068B40 48 2D 52 61 */ bl __dt__6CTokenFv -lbl_8006BBE4: -/* 8006BBE4 00068B44 80 7C 05 50 */ lwz r3, 0x550(r28) -/* 8006BBE8 00068B48 48 2D 51 9D */ bl Lock__6CTokenFv -/* 8006BBEC 00068B4C 93 BC 05 54 */ stw r29, 0x554(r28) -/* 8006BBF0 00068B50 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8006BBF4 00068B54 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006BBF8 00068B58 7C 08 03 A6 */ mtlr r0 -/* 8006BBFC 00068B5C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006BC00 00068B60 4E 80 00 20 */ blr - -.global "InternalDisplayHudMemo__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" -"InternalDisplayHudMemo__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms": -/* 8006BC04 00068B64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006BC08 00068B68 7C 08 02 A6 */ mflr r0 -/* 8006BC0C 00068B6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006BC10 00068B70 4B FF 8B F1 */ bl "SetMessage__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" -/* 8006BC14 00068B74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006BC18 00068B78 7C 08 03 A6 */ mtlr r0 -/* 8006BC1C 00068B7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006BC20 00068B80 4E 80 00 20 */ blr - -.global DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo -DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo: -/* 8006BC24 00068B84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006BC28 00068B88 7C 08 02 A6 */ mflr r0 -/* 8006BC2C 00068B8C 7C 68 1B 78 */ mr r8, r3 -/* 8006BC30 00068B90 7C 87 23 78 */ mr r7, r4 -/* 8006BC34 00068B94 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006BC38 00068B98 7C A6 2B 78 */ mr r6, r5 -/* 8006BC3C 00068B9C 80 0D A2 28 */ lwz r0, lbl_805A8DE8@sda21(r13) -/* 8006BC40 00068BA0 28 00 00 00 */ cmplwi r0, 0 -/* 8006BC44 00068BA4 41 82 00 14 */ beq lbl_8006BC58 -/* 8006BC48 00068BA8 7C 03 03 78 */ mr r3, r0 -/* 8006BC4C 00068BAC 7D 04 43 78 */ mr r4, r8 -/* 8006BC50 00068BB0 7C E5 3B 78 */ mr r5, r7 -/* 8006BC54 00068BB4 4B FF FE BD */ bl _DeferHintMemo__9CSamusHudFUiUiRC12SHudMemoInfo -lbl_8006BC58: -/* 8006BC58 00068BB8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006BC5C 00068BBC 7C 08 03 A6 */ mtlr r0 -/* 8006BC60 00068BC0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006BC64 00068BC4 4E 80 00 20 */ blr - -.global DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo -DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo: -/* 8006BC68 00068BC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006BC6C 00068BCC 7C 08 02 A6 */ mflr r0 -/* 8006BC70 00068BD0 7C 66 1B 78 */ mr r6, r3 -/* 8006BC74 00068BD4 7C 85 23 78 */ mr r5, r4 -/* 8006BC78 00068BD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006BC7C 00068BDC 80 0D A2 28 */ lwz r0, lbl_805A8DE8@sda21(r13) -/* 8006BC80 00068BE0 28 00 00 00 */ cmplwi r0, 0 -/* 8006BC84 00068BE4 41 82 00 10 */ beq lbl_8006BC94 -/* 8006BC88 00068BE8 7C 03 03 78 */ mr r3, r0 -/* 8006BC8C 00068BEC 7C C4 33 78 */ mr r4, r6 -/* 8006BC90 00068BF0 4B FF FF 75 */ bl "InternalDisplayHudMemo__9CSamusHudFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC13CHUDMemoParms" -lbl_8006BC94: -/* 8006BC94 00068BF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006BC98 00068BF8 7C 08 03 A6 */ mtlr r0 -/* 8006BC9C 00068BFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006BCA0 00068C00 4E 80 00 20 */ blr - -.global UninitializeFrameGlueMutable__9CSamusHudFv -UninitializeFrameGlueMutable__9CSamusHudFv: -/* 8006BCA4 00068C04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006BCA8 00068C08 7C 08 02 A6 */ mflr r0 -/* 8006BCAC 00068C0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006BCB0 00068C10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006BCB4 00068C14 7C 7F 1B 78 */ mr r31, r3 -/* 8006BCB8 00068C18 80 63 02 B4 */ lwz r3, 0x2b4(r3) -/* 8006BCBC 00068C1C 48 2A 9C 75 */ bl Free__7CMemoryFPCv -/* 8006BCC0 00068C20 38 00 00 00 */ li r0, 0 -/* 8006BCC4 00068C24 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8006BCC8 00068C28 80 7F 02 8C */ lwz r3, 0x28c(r31) -/* 8006BCCC 00068C2C 48 2A 9C 65 */ bl Free__7CMemoryFPCv -/* 8006BCD0 00068C30 38 00 00 00 */ li r0, 0 -/* 8006BCD4 00068C34 90 1F 02 8C */ stw r0, 0x28c(r31) -/* 8006BCD8 00068C38 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8006BCDC 00068C3C 28 03 00 00 */ cmplwi r3, 0 -/* 8006BCE0 00068C40 41 82 00 18 */ beq lbl_8006BCF8 -/* 8006BCE4 00068C44 81 83 00 00 */ lwz r12, 0(r3) -/* 8006BCE8 00068C48 38 80 00 01 */ li r4, 1 -/* 8006BCEC 00068C4C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8006BCF0 00068C50 7D 89 03 A6 */ mtctr r12 -/* 8006BCF4 00068C54 4E 80 04 21 */ bctrl -lbl_8006BCF8: -/* 8006BCF8 00068C58 38 00 00 00 */ li r0, 0 -/* 8006BCFC 00068C5C 90 1F 02 9C */ stw r0, 0x29c(r31) -/* 8006BD00 00068C60 80 7F 02 90 */ lwz r3, 0x290(r31) -/* 8006BD04 00068C64 28 03 00 00 */ cmplwi r3, 0 -/* 8006BD08 00068C68 41 82 00 18 */ beq lbl_8006BD20 -/* 8006BD0C 00068C6C 81 83 00 00 */ lwz r12, 0(r3) -/* 8006BD10 00068C70 38 80 00 01 */ li r4, 1 -/* 8006BD14 00068C74 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006BD18 00068C78 7D 89 03 A6 */ mtctr r12 -/* 8006BD1C 00068C7C 4E 80 04 21 */ bctrl -lbl_8006BD20: -/* 8006BD20 00068C80 38 00 00 00 */ li r0, 0 -/* 8006BD24 00068C84 90 1F 02 90 */ stw r0, 0x290(r31) -/* 8006BD28 00068C88 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 8006BD2C 00068C8C 48 2A 9C 05 */ bl Free__7CMemoryFPCv -/* 8006BD30 00068C90 38 00 00 00 */ li r0, 0 -/* 8006BD34 00068C94 90 1F 02 94 */ stw r0, 0x294(r31) -/* 8006BD38 00068C98 80 7F 02 98 */ lwz r3, 0x298(r31) -/* 8006BD3C 00068C9C 28 03 00 00 */ cmplwi r3, 0 -/* 8006BD40 00068CA0 41 82 00 18 */ beq lbl_8006BD58 -/* 8006BD44 00068CA4 81 83 00 00 */ lwz r12, 0(r3) -/* 8006BD48 00068CA8 38 80 00 01 */ li r4, 1 -/* 8006BD4C 00068CAC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006BD50 00068CB0 7D 89 03 A6 */ mtctr r12 -/* 8006BD54 00068CB4 4E 80 04 21 */ bctrl -lbl_8006BD58: -/* 8006BD58 00068CB8 38 80 00 00 */ li r4, 0 -/* 8006BD5C 00068CBC 90 9F 02 98 */ stw r4, 0x298(r31) -/* 8006BD60 00068CC0 80 7F 02 B0 */ lwz r3, 0x2b0(r31) -/* 8006BD64 00068CC4 28 03 00 00 */ cmplwi r3, 0 -/* 8006BD68 00068CC8 41 82 00 BC */ beq lbl_8006BE24 -/* 8006BD6C 00068CCC 34 03 00 24 */ addic. r0, r3, 0x24 -/* 8006BD70 00068CD0 41 82 00 54 */ beq lbl_8006BDC4 -/* 8006BD74 00068CD4 80 C3 00 24 */ lwz r6, 0x24(r3) -/* 8006BD78 00068CD8 2C 06 00 00 */ cmpwi r6, 0 -/* 8006BD7C 00068CDC 40 81 00 40 */ ble lbl_8006BDBC -/* 8006BD80 00068CE0 2C 06 00 08 */ cmpwi r6, 8 -/* 8006BD84 00068CE4 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006BD88 00068CE8 40 81 00 20 */ ble lbl_8006BDA8 -/* 8006BD8C 00068CEC 38 05 00 07 */ addi r0, r5, 7 -/* 8006BD90 00068CF0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006BD94 00068CF4 7C 09 03 A6 */ mtctr r0 -/* 8006BD98 00068CF8 2C 05 00 00 */ cmpwi r5, 0 -/* 8006BD9C 00068CFC 40 81 00 0C */ ble lbl_8006BDA8 -lbl_8006BDA0: -/* 8006BDA0 00068D00 38 84 00 08 */ addi r4, r4, 8 -/* 8006BDA4 00068D04 42 00 FF FC */ bdnz lbl_8006BDA0 -lbl_8006BDA8: -/* 8006BDA8 00068D08 7C 04 30 50 */ subf r0, r4, r6 -/* 8006BDAC 00068D0C 7C 09 03 A6 */ mtctr r0 -/* 8006BDB0 00068D10 7C 04 30 00 */ cmpw r4, r6 -/* 8006BDB4 00068D14 40 80 00 08 */ bge lbl_8006BDBC -lbl_8006BDB8: -/* 8006BDB8 00068D18 42 00 00 00 */ bdnz lbl_8006BDB8 -lbl_8006BDBC: -/* 8006BDBC 00068D1C 38 00 00 00 */ li r0, 0 -/* 8006BDC0 00068D20 90 03 00 24 */ stw r0, 0x24(r3) -lbl_8006BDC4: -/* 8006BDC4 00068D24 34 03 00 14 */ addic. r0, r3, 0x14 -/* 8006BDC8 00068D28 41 82 00 58 */ beq lbl_8006BE20 -/* 8006BDCC 00068D2C 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 8006BDD0 00068D30 38 80 00 00 */ li r4, 0 -/* 8006BDD4 00068D34 2C 06 00 00 */ cmpwi r6, 0 -/* 8006BDD8 00068D38 40 81 00 40 */ ble lbl_8006BE18 -/* 8006BDDC 00068D3C 2C 06 00 08 */ cmpwi r6, 8 -/* 8006BDE0 00068D40 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006BDE4 00068D44 40 81 00 20 */ ble lbl_8006BE04 -/* 8006BDE8 00068D48 38 05 00 07 */ addi r0, r5, 7 -/* 8006BDEC 00068D4C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006BDF0 00068D50 7C 09 03 A6 */ mtctr r0 -/* 8006BDF4 00068D54 2C 05 00 00 */ cmpwi r5, 0 -/* 8006BDF8 00068D58 40 81 00 0C */ ble lbl_8006BE04 -lbl_8006BDFC: -/* 8006BDFC 00068D5C 38 84 00 08 */ addi r4, r4, 8 -/* 8006BE00 00068D60 42 00 FF FC */ bdnz lbl_8006BDFC -lbl_8006BE04: -/* 8006BE04 00068D64 7C 04 30 50 */ subf r0, r4, r6 -/* 8006BE08 00068D68 7C 09 03 A6 */ mtctr r0 -/* 8006BE0C 00068D6C 7C 04 30 00 */ cmpw r4, r6 -/* 8006BE10 00068D70 40 80 00 08 */ bge lbl_8006BE18 -lbl_8006BE14: -/* 8006BE14 00068D74 42 00 00 00 */ bdnz lbl_8006BE14 -lbl_8006BE18: -/* 8006BE18 00068D78 38 00 00 00 */ li r0, 0 -/* 8006BE1C 00068D7C 90 03 00 14 */ stw r0, 0x14(r3) -lbl_8006BE20: -/* 8006BE20 00068D80 48 2A 9B 11 */ bl Free__7CMemoryFPCv -lbl_8006BE24: -/* 8006BE24 00068D84 38 00 00 00 */ li r0, 0 -/* 8006BE28 00068D88 90 1F 02 B0 */ stw r0, 0x2b0(r31) -/* 8006BE2C 00068D8C 90 1F 03 D4 */ stw r0, 0x3d4(r31) -/* 8006BE30 00068D90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8006BE34 00068D94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006BE38 00068D98 7C 08 03 A6 */ mtlr r0 -/* 8006BE3C 00068D9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006BE40 00068DA0 4E 80 00 20 */ blr - -.global InitializeFrameGlueMutable__9CSamusHudFRC13CStateManager -InitializeFrameGlueMutable__9CSamusHudFRC13CStateManager: -/* 8006BE44 00068DA4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8006BE48 00068DA8 7C 08 02 A6 */ mflr r0 -/* 8006BE4C 00068DAC 90 01 00 64 */ stw r0, 0x64(r1) -/* 8006BE50 00068DB0 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8006BE54 00068DB4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8006BE58 00068DB8 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8006BE5C 00068DBC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 8006BE60 00068DC0 BE E1 00 1C */ stmw r23, 0x1c(r1) -/* 8006BE64 00068DC4 7C 7F 1B 78 */ mr r31, r3 -/* 8006BE68 00068DC8 7C 9D 23 78 */ mr r29, r4 -/* 8006BE6C 00068DCC 48 02 59 B9 */ bl GetEnergyTankCapacity__12CPlayerStateFv -/* 8006BE70 00068DD0 FC 40 08 90 */ fmr f2, f1 -/* 8006BE74 00068DD4 C0 3F 02 D0 */ lfs f1, 0x2d0(r31) -/* 8006BE78 00068DD8 48 32 8E 35 */ bl fmod -/* 8006BE7C 00068DDC FF E0 08 18 */ frsp f31, f1 -/* 8006BE80 00068DE0 48 02 59 A5 */ bl GetEnergyTankCapacity__12CPlayerStateFv -/* 8006BE84 00068DE4 C0 1F 02 D0 */ lfs f0, 0x2d0(r31) -/* 8006BE88 00068DE8 80 FD 08 4C */ lwz r7, 0x84c(r29) -/* 8006BE8C 00068DEC EC 00 08 24 */ fdivs f0, f0, f1 -/* 8006BE90 00068DF0 80 67 04 90 */ lwz r3, 0x490(r7) -/* 8006BE94 00068DF4 88 03 08 34 */ lbz r0, 0x834(r3) -/* 8006BE98 00068DF8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8006BE9C 00068DFC FC 00 00 1E */ fctiwz f0, f0 -/* 8006BEA0 00068E00 D8 01 00 08 */ stfd f0, 8(r1) -/* 8006BEA4 00068E04 83 C1 00 0C */ lwz r30, 0xc(r1) -/* 8006BEA8 00068E08 41 82 00 0C */ beq lbl_8006BEB4 -/* 8006BEAC 00068E0C C3 C3 03 40 */ lfs f30, 0x340(r3) -/* 8006BEB0 00068E10 48 00 00 08 */ b lbl_8006BEB8 -lbl_8006BEB4: -/* 8006BEB4 00068E14 C3 C2 87 34 */ lfs f30, lbl_805AA454@sda21(r2) -lbl_8006BEB8: -/* 8006BEB8 00068E18 80 63 03 1C */ lwz r3, 0x31c(r3) -/* 8006BEBC 00068E1C 80 1F 02 BC */ lwz r0, 0x2bc(r31) -/* 8006BEC0 00068E20 20 83 00 01 */ subfic r4, r3, 1 -/* 8006BEC4 00068E24 A0 A7 03 10 */ lhz r5, 0x310(r7) -/* 8006BEC8 00068E28 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 8006BECC 00068E2C 7C 86 00 34 */ cntlzw r6, r4 -/* 8006BED0 00068E30 2C 00 00 03 */ cmpwi r0, 3 -/* 8006BED4 00068E34 7C 85 18 50 */ subf r4, r5, r3 -/* 8006BED8 00068E38 7C 63 28 50 */ subf r3, r3, r5 -/* 8006BEDC 00068E3C 7C 83 1B 78 */ or r3, r4, r3 -/* 8006BEE0 00068E40 54 DB D9 7E */ srwi r27, r6, 5 -/* 8006BEE4 00068E44 54 7C 0F FE */ srwi r28, r3, 0x1f -/* 8006BEE8 00068E48 41 82 05 90 */ beq lbl_8006C478 -/* 8006BEEC 00068E4C 40 80 00 1C */ bge lbl_8006BF08 -/* 8006BEF0 00068E50 2C 00 00 01 */ cmpwi r0, 1 -/* 8006BEF4 00068E54 41 82 06 F0 */ beq lbl_8006C5E4 -/* 8006BEF8 00068E58 40 80 09 04 */ bge lbl_8006C7FC -/* 8006BEFC 00068E5C 2C 00 00 00 */ cmpwi r0, 0 -/* 8006BF00 00068E60 40 80 00 18 */ bge lbl_8006BF18 -/* 8006BF04 00068E64 48 00 0B 1C */ b lbl_8006CA20 -lbl_8006BF08: -/* 8006BF08 00068E68 2C 00 00 05 */ cmpwi r0, 5 -/* 8006BF0C 00068E6C 41 82 0B 0C */ beq lbl_8006CA18 -/* 8006BF10 00068E70 40 80 0B 10 */ bge lbl_8006CA20 -/* 8006BF14 00068E74 48 00 02 B4 */ b lbl_8006C1C8 -lbl_8006BF18: -/* 8006BF18 00068E78 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006BF1C 00068E7C 38 60 00 20 */ li r3, 0x20 -/* 8006BF20 00068E80 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006BF24 00068E84 38 A0 00 00 */ li r5, 0 -/* 8006BF28 00068E88 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006BF2C 00068E8C 48 2A 99 41 */ bl __nw__FUlPCcPCc -/* 8006BF30 00068E90 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8006BF34 00068E94 41 82 00 10 */ beq lbl_8006BF44 -/* 8006BF38 00068E98 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006BF3C 00068E9C 48 12 36 05 */ bl __ct__23CHudBossEnergyInterfaceFR9CGuiFrame -/* 8006BF40 00068EA0 7C 7A 1B 78 */ mr r26, r3 -lbl_8006BF44: -/* 8006BF44 00068EA4 80 7F 02 B4 */ lwz r3, 0x2b4(r31) -/* 8006BF48 00068EA8 48 2A 99 E9 */ bl Free__7CMemoryFPCv -/* 8006BF4C 00068EAC 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006BF50 00068EB0 93 5F 02 B4 */ stw r26, 0x2b4(r31) -/* 8006BF54 00068EB4 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006BF58 00068EB8 38 60 00 30 */ li r3, 0x30 -/* 8006BF5C 00068EBC 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006BF60 00068EC0 38 A0 00 00 */ li r5, 0 -/* 8006BF64 00068EC4 48 2A 99 09 */ bl __nw__FUlPCcPCc -/* 8006BF68 00068EC8 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8006BF6C 00068ECC 41 82 00 28 */ beq lbl_8006BF94 -/* 8006BF70 00068ED0 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006BF74 00068ED4 FC 20 F8 90 */ fmr f1, f31 -/* 8006BF78 00068ED8 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006BF7C 00068EDC 7F C6 F3 78 */ mr r6, r30 -/* 8006BF80 00068EE0 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 8006BF84 00068EE4 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f -/* 8006BF88 00068EE8 39 00 00 00 */ li r8, 0 -/* 8006BF8C 00068EEC 48 12 3B A9 */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi -/* 8006BF90 00068EF0 7C 7A 1B 78 */ mr r26, r3 -lbl_8006BF94: -/* 8006BF94 00068EF4 80 7F 02 8C */ lwz r3, 0x28c(r31) -/* 8006BF98 00068EF8 48 2A 99 99 */ bl Free__7CMemoryFPCv -/* 8006BF9C 00068EFC 93 5F 02 8C */ stw r26, 0x28c(r31) -/* 8006BFA0 00068F00 80 7F 02 90 */ lwz r3, 0x290(r31) -/* 8006BFA4 00068F04 28 03 00 00 */ cmplwi r3, 0 -/* 8006BFA8 00068F08 40 82 00 60 */ bne lbl_8006C008 -/* 8006BFAC 00068F0C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006BFB0 00068F10 38 60 00 74 */ li r3, 0x74 -/* 8006BFB4 00068F14 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006BFB8 00068F18 38 A0 00 00 */ li r5, 0 -/* 8006BFBC 00068F1C 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006BFC0 00068F20 48 2A 98 AD */ bl __nw__FUlPCcPCc -/* 8006BFC4 00068F24 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8006BFC8 00068F28 41 82 00 18 */ beq lbl_8006BFE0 -/* 8006BFCC 00068F2C 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006BFD0 00068F30 38 A0 00 00 */ li r5, 0 -/* 8006BFD4 00068F34 C0 22 88 00 */ lfs f1, lbl_805AA520@sda21(r2) -/* 8006BFD8 00068F38 48 12 73 F5 */ bl __ct__19CHudThreatInterfaceFR9CGuiFramef -/* 8006BFDC 00068F3C 7C 7A 1B 78 */ mr r26, r3 -lbl_8006BFE0: -/* 8006BFE0 00068F40 80 7F 02 90 */ lwz r3, 0x290(r31) -/* 8006BFE4 00068F44 28 03 00 00 */ cmplwi r3, 0 -/* 8006BFE8 00068F48 41 82 00 18 */ beq lbl_8006C000 -/* 8006BFEC 00068F4C 81 83 00 00 */ lwz r12, 0(r3) -/* 8006BFF0 00068F50 38 80 00 01 */ li r4, 1 -/* 8006BFF4 00068F54 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006BFF8 00068F58 7D 89 03 A6 */ mtctr r12 -/* 8006BFFC 00068F5C 4E 80 04 21 */ bctrl -lbl_8006C000: -/* 8006C000 00068F60 93 5F 02 90 */ stw r26, 0x290(r31) -/* 8006C004 00068F64 48 00 00 18 */ b lbl_8006C01C -lbl_8006C008: -/* 8006C008 00068F68 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C00C 00068F6C 38 80 00 01 */ li r4, 1 -/* 8006C010 00068F70 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8006C014 00068F74 7D 89 03 A6 */ mtctr r12 -/* 8006C018 00068F78 4E 80 04 21 */ bctrl -lbl_8006C01C: -/* 8006C01C 00068F7C 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 8006C020 00068F80 28 03 00 00 */ cmplwi r3, 0 -/* 8006C024 00068F84 40 82 00 58 */ bne lbl_8006C07C -/* 8006C028 00068F88 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006C02C 00068F8C 38 60 00 78 */ li r3, 0x78 -/* 8006C030 00068F90 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006C034 00068F94 38 A0 00 00 */ li r5, 0 -/* 8006C038 00068F98 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C03C 00068F9C 48 2A 98 31 */ bl __nw__FUlPCcPCc -/* 8006C040 00068FA0 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8006C044 00068FA4 41 82 00 28 */ beq lbl_8006C06C -/* 8006C048 00068FA8 FC 20 F0 90 */ fmr f1, f30 -/* 8006C04C 00068FAC 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C050 00068FB0 80 BF 02 DC */ lwz r5, 0x2dc(r31) -/* 8006C054 00068FB4 7F 67 DB 78 */ mr r7, r27 -/* 8006C058 00068FB8 80 DF 02 D8 */ lwz r6, 0x2d8(r31) -/* 8006C05C 00068FBC 7F A9 EB 78 */ mr r9, r29 -/* 8006C060 00068FC0 39 00 00 00 */ li r8, 0 -/* 8006C064 00068FC4 48 12 59 91 */ bl __ct__20CHudMissileInterfaceFR9CGuiFrameiifbUiRC13CStateManager -/* 8006C068 00068FC8 7C 7A 1B 78 */ mr r26, r3 -lbl_8006C06C: -/* 8006C06C 00068FCC 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 8006C070 00068FD0 48 2A 98 C1 */ bl Free__7CMemoryFPCv -/* 8006C074 00068FD4 93 5F 02 94 */ stw r26, 0x294(r31) -/* 8006C078 00068FD8 48 00 00 10 */ b lbl_8006C088 -lbl_8006C07C: -/* 8006C07C 00068FDC 7F A5 EB 78 */ mr r5, r29 -/* 8006C080 00068FE0 38 80 00 01 */ li r4, 1 -/* 8006C084 00068FE4 48 12 58 21 */ bl SetIsVisibleGame__20CHudMissileInterfaceFbRC13CStateManager -lbl_8006C088: -/* 8006C088 00068FE8 80 7F 02 98 */ lwz r3, 0x298(r31) -/* 8006C08C 00068FEC 28 03 00 00 */ cmplwi r3, 0 -/* 8006C090 00068FF0 40 82 00 6C */ bne lbl_8006C0FC -/* 8006C094 00068FF4 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006C098 00068FF8 38 60 00 90 */ li r3, 0x90 -/* 8006C09C 00068FFC 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006C0A0 00069000 38 A0 00 00 */ li r5, 0 -/* 8006C0A4 00069004 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C0A8 00069008 48 2A 97 C5 */ bl __nw__FUlPCcPCc -/* 8006C0AC 0006900C 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8006C0B0 00069010 41 82 00 24 */ beq lbl_8006C0D4 -/* 8006C0B4 00069014 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006C0B8 00069018 7F 88 E3 78 */ mr r8, r28 -/* 8006C0BC 0006901C 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C0C0 00069020 38 A0 00 00 */ li r5, 0 -/* 8006C0C4 00069024 54 06 CF FE */ rlwinm r6, r0, 0x19, 0x1f, 0x1f -/* 8006C0C8 00069028 54 07 D7 FE */ rlwinm r7, r0, 0x1a, 0x1f, 0x1f -/* 8006C0CC 0006902C 48 12 43 D1 */ bl __ct__21CHudFreeLookInterfaceFR9CGuiFrame8EHudTypebbb -/* 8006C0D0 00069030 7C 7A 1B 78 */ mr r26, r3 -lbl_8006C0D4: -/* 8006C0D4 00069034 80 7F 02 98 */ lwz r3, 0x298(r31) -/* 8006C0D8 00069038 28 03 00 00 */ cmplwi r3, 0 -/* 8006C0DC 0006903C 41 82 00 18 */ beq lbl_8006C0F4 -/* 8006C0E0 00069040 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C0E4 00069044 38 80 00 01 */ li r4, 1 -/* 8006C0E8 00069048 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006C0EC 0006904C 7D 89 03 A6 */ mtctr r12 -/* 8006C0F0 00069050 4E 80 04 21 */ bctrl -lbl_8006C0F4: -/* 8006C0F4 00069054 93 5F 02 98 */ stw r26, 0x298(r31) -/* 8006C0F8 00069058 48 00 00 18 */ b lbl_8006C110 -lbl_8006C0FC: -/* 8006C0FC 0006905C 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C100 00069060 38 80 00 01 */ li r4, 1 -/* 8006C104 00069064 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8006C108 00069068 7D 89 03 A6 */ mtctr r12 -/* 8006C10C 0006906C 4E 80 04 21 */ bctrl -lbl_8006C110: -/* 8006C110 00069070 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8006C114 00069074 28 03 00 00 */ cmplwi r3, 0 -/* 8006C118 00069078 40 82 00 58 */ bne lbl_8006C170 -/* 8006C11C 0006907C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006C120 00069080 38 60 00 80 */ li r3, 0x80 -/* 8006C124 00069084 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006C128 00069088 38 A0 00 00 */ li r5, 0 -/* 8006C12C 0006908C 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C130 00069090 48 2A 97 3D */ bl __nw__FUlPCcPCc -/* 8006C134 00069094 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8006C138 00069098 41 82 00 10 */ beq lbl_8006C148 -/* 8006C13C 0006909C 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C140 000690A0 48 12 AF 41 */ bl __ct__23CHudDecoInterfaceCombatFR9CGuiFrame -/* 8006C144 000690A4 7C 7A 1B 78 */ mr r26, r3 -lbl_8006C148: -/* 8006C148 000690A8 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8006C14C 000690AC 28 03 00 00 */ cmplwi r3, 0 -/* 8006C150 000690B0 41 82 00 18 */ beq lbl_8006C168 -/* 8006C154 000690B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C158 000690B8 38 80 00 01 */ li r4, 1 -/* 8006C15C 000690BC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8006C160 000690C0 7D 89 03 A6 */ mtctr r12 -/* 8006C164 000690C4 4E 80 04 21 */ bctrl -lbl_8006C168: -/* 8006C168 000690C8 93 5F 02 9C */ stw r26, 0x29c(r31) -/* 8006C16C 000690CC 48 00 00 18 */ b lbl_8006C184 -lbl_8006C170: -/* 8006C170 000690D0 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C174 000690D4 38 80 00 01 */ li r4, 1 -/* 8006C178 000690D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8006C17C 000690DC 7D 89 03 A6 */ mtctr r12 -/* 8006C180 000690E0 4E 80 04 21 */ bctrl -lbl_8006C184: -/* 8006C184 000690E4 80 7F 02 AC */ lwz r3, 0x2ac(r31) -/* 8006C188 000690E8 38 80 00 01 */ li r4, 1 -/* 8006C18C 000690EC 48 12 68 01 */ bl SetIsVisibleGame__18CHudRadarInterfaceFb -/* 8006C190 000690F0 80 7F 02 A4 */ lwz r3, 0x2a4(r31) -/* 8006C194 000690F4 38 80 00 01 */ li r4, 1 -/* 8006C198 000690F8 48 12 78 49 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb -/* 8006C19C 000690FC 80 7F 02 A8 */ lwz r3, 0x2a8(r31) -/* 8006C1A0 00069100 38 80 00 01 */ li r4, 1 -/* 8006C1A4 00069104 48 12 78 3D */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb -/* 8006C1A8 00069108 7F E3 FB 78 */ mr r3, r31 -/* 8006C1AC 0006910C 48 00 08 99 */ bl InitializeDamageLight__9CSamusHudFv -/* 8006C1B0 00069110 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 8006C1B4 00069114 7F E3 FB 78 */ mr r3, r31 -/* 8006C1B8 00069118 7F A4 EB 78 */ mr r4, r29 -/* 8006C1BC 0006911C 38 A0 00 01 */ li r5, 1 -/* 8006C1C0 00069120 4B FF CF F9 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb -/* 8006C1C4 00069124 48 00 08 5C */ b lbl_8006CA20 -lbl_8006C1C8: -/* 8006C1C8 00069128 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 8006C1CC 0006912C 38 80 00 07 */ li r4, 7 -/* 8006C1D0 00069130 83 27 04 90 */ lwz r25, 0x490(r7) -/* 8006C1D4 00069134 83 63 00 00 */ lwz r27, 0(r3) -/* 8006C1D8 00069138 7F 63 DB 78 */ mr r3, r27 -/* 8006C1DC 0006913C 48 02 59 41 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8006C1E0 00069140 7C 60 1B 78 */ mr r0, r3 -/* 8006C1E4 00069144 7F 63 DB 78 */ mr r3, r27 -/* 8006C1E8 00069148 7C 1C 03 78 */ mr r28, r0 -/* 8006C1EC 0006914C 38 80 00 07 */ li r4, 7 -/* 8006C1F0 00069150 48 02 59 05 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8006C1F4 00069154 88 19 08 35 */ lbz r0, 0x835(r25) -/* 8006C1F8 00069158 7C 7A 1B 78 */ mr r26, r3 -/* 8006C1FC 0006915C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8006C200 00069160 41 82 00 0C */ beq lbl_8006C20C -/* 8006C204 00069164 83 19 03 08 */ lwz r24, 0x308(r25) -/* 8006C208 00069168 48 00 00 08 */ b lbl_8006C210 -lbl_8006C20C: -/* 8006C20C 0006916C 3B 00 00 00 */ li r24, 0 -lbl_8006C210: -/* 8006C210 00069170 7F 63 DB 78 */ mr r3, r27 -/* 8006C214 00069174 38 80 00 06 */ li r4, 6 -/* 8006C218 00069178 48 02 58 A9 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8006C21C 0006917C 88 19 08 35 */ lbz r0, 0x835(r25) -/* 8006C220 00069180 7C 77 1B 78 */ mr r23, r3 -/* 8006C224 00069184 3B 20 00 00 */ li r25, 0 -/* 8006C228 00069188 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8006C22C 0006918C 41 82 00 18 */ beq lbl_8006C244 -/* 8006C230 00069190 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8006C234 00069194 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8006C238 00069198 2C 00 00 01 */ cmpwi r0, 1 -/* 8006C23C 0006919C 40 82 00 08 */ bne lbl_8006C244 -/* 8006C240 000691A0 3B 20 00 01 */ li r25, 1 -lbl_8006C244: -/* 8006C244 000691A4 80 7F 02 B4 */ lwz r3, 0x2b4(r31) -/* 8006C248 000691A8 48 2A 96 E9 */ bl Free__7CMemoryFPCv -/* 8006C24C 000691AC 38 00 00 00 */ li r0, 0 -/* 8006C250 000691B0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C254 000691B4 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l -/* 8006C258 000691B8 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8006C25C 000691BC 38 83 01 3B */ addi r4, r3, 0x13b -/* 8006C260 000691C0 38 60 00 50 */ li r3, 0x50 -/* 8006C264 000691C4 38 A0 00 00 */ li r5, 0 -/* 8006C268 000691C8 48 2A 96 05 */ bl __nw__FUlPCcPCc -/* 8006C26C 000691CC 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8006C270 000691D0 41 82 00 24 */ beq lbl_8006C294 -/* 8006C274 000691D4 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C278 000691D8 7F 85 E3 78 */ mr r5, r28 -/* 8006C27C 000691DC 7F 46 D3 78 */ mr r6, r26 -/* 8006C280 000691E0 7F 07 C3 78 */ mr r7, r24 -/* 8006C284 000691E4 7F 28 CB 78 */ mr r8, r25 -/* 8006C288 000691E8 7E E9 BB 78 */ mr r9, r23 -/* 8006C28C 000691EC 48 16 15 35 */ bl __ct__17CHudBallInterfaceFR9CGuiFrameiiibb -/* 8006C290 000691F0 7C 7B 1B 78 */ mr r27, r3 -lbl_8006C294: -/* 8006C294 000691F4 80 7F 02 B0 */ lwz r3, 0x2b0(r31) -/* 8006C298 000691F8 28 03 00 00 */ cmplwi r3, 0 -/* 8006C29C 000691FC 41 82 00 C0 */ beq lbl_8006C35C -/* 8006C2A0 00069200 34 03 00 24 */ addic. r0, r3, 0x24 -/* 8006C2A4 00069204 41 82 00 58 */ beq lbl_8006C2FC -/* 8006C2A8 00069208 80 C3 00 24 */ lwz r6, 0x24(r3) -/* 8006C2AC 0006920C 38 80 00 00 */ li r4, 0 -/* 8006C2B0 00069210 2C 06 00 00 */ cmpwi r6, 0 -/* 8006C2B4 00069214 40 81 00 40 */ ble lbl_8006C2F4 -/* 8006C2B8 00069218 2C 06 00 08 */ cmpwi r6, 8 -/* 8006C2BC 0006921C 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006C2C0 00069220 40 81 00 20 */ ble lbl_8006C2E0 -/* 8006C2C4 00069224 38 05 00 07 */ addi r0, r5, 7 -/* 8006C2C8 00069228 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006C2CC 0006922C 7C 09 03 A6 */ mtctr r0 -/* 8006C2D0 00069230 2C 05 00 00 */ cmpwi r5, 0 -/* 8006C2D4 00069234 40 81 00 0C */ ble lbl_8006C2E0 -lbl_8006C2D8: -/* 8006C2D8 00069238 38 84 00 08 */ addi r4, r4, 8 -/* 8006C2DC 0006923C 42 00 FF FC */ bdnz lbl_8006C2D8 -lbl_8006C2E0: -/* 8006C2E0 00069240 7C 04 30 50 */ subf r0, r4, r6 -/* 8006C2E4 00069244 7C 09 03 A6 */ mtctr r0 -/* 8006C2E8 00069248 7C 04 30 00 */ cmpw r4, r6 -/* 8006C2EC 0006924C 40 80 00 08 */ bge lbl_8006C2F4 -lbl_8006C2F0: -/* 8006C2F0 00069250 42 00 00 00 */ bdnz lbl_8006C2F0 -lbl_8006C2F4: -/* 8006C2F4 00069254 38 00 00 00 */ li r0, 0 -/* 8006C2F8 00069258 90 03 00 24 */ stw r0, 0x24(r3) -lbl_8006C2FC: -/* 8006C2FC 0006925C 34 03 00 14 */ addic. r0, r3, 0x14 -/* 8006C300 00069260 41 82 00 58 */ beq lbl_8006C358 -/* 8006C304 00069264 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 8006C308 00069268 38 80 00 00 */ li r4, 0 -/* 8006C30C 0006926C 2C 06 00 00 */ cmpwi r6, 0 -/* 8006C310 00069270 40 81 00 40 */ ble lbl_8006C350 -/* 8006C314 00069274 2C 06 00 08 */ cmpwi r6, 8 -/* 8006C318 00069278 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006C31C 0006927C 40 81 00 20 */ ble lbl_8006C33C -/* 8006C320 00069280 38 05 00 07 */ addi r0, r5, 7 -/* 8006C324 00069284 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006C328 00069288 7C 09 03 A6 */ mtctr r0 -/* 8006C32C 0006928C 2C 05 00 00 */ cmpwi r5, 0 -/* 8006C330 00069290 40 81 00 0C */ ble lbl_8006C33C -lbl_8006C334: -/* 8006C334 00069294 38 84 00 08 */ addi r4, r4, 8 -/* 8006C338 00069298 42 00 FF FC */ bdnz lbl_8006C334 -lbl_8006C33C: -/* 8006C33C 0006929C 7C 04 30 50 */ subf r0, r4, r6 -/* 8006C340 000692A0 7C 09 03 A6 */ mtctr r0 -/* 8006C344 000692A4 7C 04 30 00 */ cmpw r4, r6 -/* 8006C348 000692A8 40 80 00 08 */ bge lbl_8006C350 -lbl_8006C34C: -/* 8006C34C 000692AC 42 00 00 00 */ bdnz lbl_8006C34C -lbl_8006C350: -/* 8006C350 000692B0 38 00 00 00 */ li r0, 0 -/* 8006C354 000692B4 90 03 00 14 */ stw r0, 0x14(r3) -lbl_8006C358: -/* 8006C358 000692B8 48 2A 95 D9 */ bl Free__7CMemoryFPCv -lbl_8006C35C: -/* 8006C35C 000692BC 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C360 000692C0 93 7F 02 B0 */ stw r27, 0x2b0(r31) -/* 8006C364 000692C4 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C368 000692C8 38 60 00 30 */ li r3, 0x30 -/* 8006C36C 000692CC 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C370 000692D0 38 A0 00 00 */ li r5, 0 -/* 8006C374 000692D4 48 2A 94 F9 */ bl __nw__FUlPCcPCc -/* 8006C378 000692D8 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C37C 000692DC 41 82 00 28 */ beq lbl_8006C3A4 -/* 8006C380 000692E0 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006C384 000692E4 FC 20 F8 90 */ fmr f1, f31 -/* 8006C388 000692E8 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C38C 000692EC 7F C6 F3 78 */ mr r6, r30 -/* 8006C390 000692F0 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 8006C394 000692F4 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f -/* 8006C398 000692F8 39 00 00 04 */ li r8, 4 -/* 8006C39C 000692FC 48 12 37 99 */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi -/* 8006C3A0 00069300 7C 78 1B 78 */ mr r24, r3 -lbl_8006C3A4: -/* 8006C3A4 00069304 80 7F 02 8C */ lwz r3, 0x28c(r31) -/* 8006C3A8 00069308 48 2A 95 89 */ bl Free__7CMemoryFPCv -/* 8006C3AC 0006930C 93 1F 02 8C */ stw r24, 0x28c(r31) -/* 8006C3B0 00069310 80 7F 02 90 */ lwz r3, 0x290(r31) -/* 8006C3B4 00069314 28 03 00 00 */ cmplwi r3, 0 -/* 8006C3B8 00069318 41 82 00 18 */ beq lbl_8006C3D0 -/* 8006C3BC 0006931C 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C3C0 00069320 38 80 00 01 */ li r4, 1 -/* 8006C3C4 00069324 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006C3C8 00069328 7D 89 03 A6 */ mtctr r12 -/* 8006C3CC 0006932C 4E 80 04 21 */ bctrl -lbl_8006C3D0: -/* 8006C3D0 00069330 38 00 00 00 */ li r0, 0 -/* 8006C3D4 00069334 90 1F 02 90 */ stw r0, 0x290(r31) -/* 8006C3D8 00069338 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 8006C3DC 0006933C 48 2A 95 55 */ bl Free__7CMemoryFPCv -/* 8006C3E0 00069340 38 00 00 00 */ li r0, 0 -/* 8006C3E4 00069344 90 1F 02 94 */ stw r0, 0x294(r31) -/* 8006C3E8 00069348 80 7F 02 98 */ lwz r3, 0x298(r31) -/* 8006C3EC 0006934C 28 03 00 00 */ cmplwi r3, 0 -/* 8006C3F0 00069350 41 82 00 18 */ beq lbl_8006C408 -/* 8006C3F4 00069354 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C3F8 00069358 38 80 00 01 */ li r4, 1 -/* 8006C3FC 0006935C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006C400 00069360 7D 89 03 A6 */ mtctr r12 -/* 8006C404 00069364 4E 80 04 21 */ bctrl -lbl_8006C408: -/* 8006C408 00069368 38 00 00 00 */ li r0, 0 -/* 8006C40C 0006936C 90 1F 02 98 */ stw r0, 0x298(r31) -/* 8006C410 00069370 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8006C414 00069374 28 03 00 00 */ cmplwi r3, 0 -/* 8006C418 00069378 41 82 00 18 */ beq lbl_8006C430 -/* 8006C41C 0006937C 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C420 00069380 38 80 00 01 */ li r4, 1 -/* 8006C424 00069384 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8006C428 00069388 7D 89 03 A6 */ mtctr r12 -/* 8006C42C 0006938C 4E 80 04 21 */ bctrl -lbl_8006C430: -/* 8006C430 00069390 38 00 00 00 */ li r0, 0 -/* 8006C434 00069394 38 80 00 00 */ li r4, 0 -/* 8006C438 00069398 90 1F 02 9C */ stw r0, 0x29c(r31) -/* 8006C43C 0006939C 90 1F 03 D4 */ stw r0, 0x3d4(r31) -/* 8006C440 000693A0 80 7F 02 AC */ lwz r3, 0x2ac(r31) -/* 8006C444 000693A4 48 12 65 49 */ bl SetIsVisibleGame__18CHudRadarInterfaceFb -/* 8006C448 000693A8 80 7F 02 A4 */ lwz r3, 0x2a4(r31) -/* 8006C44C 000693AC 38 80 00 00 */ li r4, 0 -/* 8006C450 000693B0 48 12 75 91 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb -/* 8006C454 000693B4 80 7F 02 A8 */ lwz r3, 0x2a8(r31) -/* 8006C458 000693B8 38 80 00 00 */ li r4, 0 -/* 8006C45C 000693BC 48 12 75 85 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb -/* 8006C460 000693C0 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 8006C464 000693C4 7F E3 FB 78 */ mr r3, r31 -/* 8006C468 000693C8 7F A4 EB 78 */ mr r4, r29 -/* 8006C46C 000693CC 38 A0 00 01 */ li r5, 1 -/* 8006C470 000693D0 4B FF CD 49 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb -/* 8006C474 000693D4 48 00 05 AC */ b lbl_8006CA20 -lbl_8006C478: -/* 8006C478 000693D8 80 7F 02 B4 */ lwz r3, 0x2b4(r31) -/* 8006C47C 000693DC 48 2A 94 B5 */ bl Free__7CMemoryFPCv -/* 8006C480 000693E0 38 00 00 00 */ li r0, 0 -/* 8006C484 000693E4 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C488 000693E8 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l -/* 8006C48C 000693EC 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8006C490 000693F0 38 83 01 3B */ addi r4, r3, 0x13b -/* 8006C494 000693F4 38 60 00 30 */ li r3, 0x30 -/* 8006C498 000693F8 38 A0 00 00 */ li r5, 0 -/* 8006C49C 000693FC 48 2A 93 D1 */ bl __nw__FUlPCcPCc -/* 8006C4A0 00069400 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C4A4 00069404 41 82 00 28 */ beq lbl_8006C4CC -/* 8006C4A8 00069408 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006C4AC 0006940C FC 20 F8 90 */ fmr f1, f31 -/* 8006C4B0 00069410 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C4B4 00069414 7F C6 F3 78 */ mr r6, r30 -/* 8006C4B8 00069418 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 8006C4BC 0006941C 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f -/* 8006C4C0 00069420 39 00 00 01 */ li r8, 1 -/* 8006C4C4 00069424 48 12 36 71 */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi -/* 8006C4C8 00069428 7C 78 1B 78 */ mr r24, r3 -lbl_8006C4CC: -/* 8006C4CC 0006942C 80 7F 02 8C */ lwz r3, 0x28c(r31) -/* 8006C4D0 00069430 48 2A 94 61 */ bl Free__7CMemoryFPCv -/* 8006C4D4 00069434 93 1F 02 8C */ stw r24, 0x28c(r31) -/* 8006C4D8 00069438 80 7F 02 90 */ lwz r3, 0x290(r31) -/* 8006C4DC 0006943C 28 03 00 00 */ cmplwi r3, 0 -/* 8006C4E0 00069440 41 82 00 18 */ beq lbl_8006C4F8 -/* 8006C4E4 00069444 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C4E8 00069448 38 80 00 01 */ li r4, 1 -/* 8006C4EC 0006944C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006C4F0 00069450 7D 89 03 A6 */ mtctr r12 -/* 8006C4F4 00069454 4E 80 04 21 */ bctrl -lbl_8006C4F8: -/* 8006C4F8 00069458 38 00 00 00 */ li r0, 0 -/* 8006C4FC 0006945C 90 1F 02 90 */ stw r0, 0x290(r31) -/* 8006C500 00069460 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 8006C504 00069464 48 2A 94 2D */ bl Free__7CMemoryFPCv -/* 8006C508 00069468 38 00 00 00 */ li r0, 0 -/* 8006C50C 0006946C 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C510 00069470 38 63 D0 C0 */ addi r3, r3, lbl_803CD0C0@l -/* 8006C514 00069474 90 1F 02 94 */ stw r0, 0x294(r31) -/* 8006C518 00069478 38 83 01 3B */ addi r4, r3, 0x13b -/* 8006C51C 0006947C 38 60 00 90 */ li r3, 0x90 -/* 8006C520 00069480 38 A0 00 00 */ li r5, 0 -/* 8006C524 00069484 48 2A 93 49 */ bl __nw__FUlPCcPCc -/* 8006C528 00069488 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C52C 0006948C 41 82 00 24 */ beq lbl_8006C550 -/* 8006C530 00069490 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006C534 00069494 7F 88 E3 78 */ mr r8, r28 -/* 8006C538 00069498 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C53C 0006949C 38 A0 00 01 */ li r5, 1 -/* 8006C540 000694A0 54 06 CF FE */ rlwinm r6, r0, 0x19, 0x1f, 0x1f -/* 8006C544 000694A4 54 07 D7 FE */ rlwinm r7, r0, 0x1a, 0x1f, 0x1f -/* 8006C548 000694A8 48 12 3F 55 */ bl __ct__21CHudFreeLookInterfaceFR9CGuiFrame8EHudTypebbb -/* 8006C54C 000694AC 7C 78 1B 78 */ mr r24, r3 -lbl_8006C550: -/* 8006C550 000694B0 80 7F 02 98 */ lwz r3, 0x298(r31) -/* 8006C554 000694B4 28 03 00 00 */ cmplwi r3, 0 -/* 8006C558 000694B8 41 82 00 18 */ beq lbl_8006C570 -/* 8006C55C 000694BC 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C560 000694C0 38 80 00 01 */ li r4, 1 -/* 8006C564 000694C4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006C568 000694C8 7D 89 03 A6 */ mtctr r12 -/* 8006C56C 000694CC 4E 80 04 21 */ bctrl -lbl_8006C570: -/* 8006C570 000694D0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C574 000694D4 93 1F 02 98 */ stw r24, 0x298(r31) -/* 8006C578 000694D8 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C57C 000694DC 38 60 02 78 */ li r3, 0x278 -/* 8006C580 000694E0 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C584 000694E4 38 A0 00 00 */ li r5, 0 -/* 8006C588 000694E8 48 2A 92 E5 */ bl __nw__FUlPCcPCc -/* 8006C58C 000694EC 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C590 000694F0 41 82 00 10 */ beq lbl_8006C5A0 -/* 8006C594 000694F4 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C598 000694F8 48 12 99 8D */ bl __ct__21CHudDecoInterfaceScanFR9CGuiFrame -/* 8006C59C 000694FC 7C 78 1B 78 */ mr r24, r3 -lbl_8006C5A0: -/* 8006C5A0 00069500 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8006C5A4 00069504 28 03 00 00 */ cmplwi r3, 0 -/* 8006C5A8 00069508 41 82 00 18 */ beq lbl_8006C5C0 -/* 8006C5AC 0006950C 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C5B0 00069510 38 80 00 01 */ li r4, 1 -/* 8006C5B4 00069514 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8006C5B8 00069518 7D 89 03 A6 */ mtctr r12 -/* 8006C5BC 0006951C 4E 80 04 21 */ bctrl -lbl_8006C5C0: -/* 8006C5C0 00069520 93 1F 02 9C */ stw r24, 0x29c(r31) -/* 8006C5C4 00069524 7F E3 FB 78 */ mr r3, r31 -/* 8006C5C8 00069528 48 00 04 7D */ bl InitializeDamageLight__9CSamusHudFv -/* 8006C5CC 0006952C C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 8006C5D0 00069530 7F E3 FB 78 */ mr r3, r31 -/* 8006C5D4 00069534 7F A4 EB 78 */ mr r4, r29 -/* 8006C5D8 00069538 38 A0 00 01 */ li r5, 1 -/* 8006C5DC 0006953C 4B FF CB DD */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb -/* 8006C5E0 00069540 48 00 04 40 */ b lbl_8006CA20 -lbl_8006C5E4: -/* 8006C5E4 00069544 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006C5E8 00069548 38 60 00 20 */ li r3, 0x20 -/* 8006C5EC 0006954C 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006C5F0 00069550 38 A0 00 00 */ li r5, 0 -/* 8006C5F4 00069554 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C5F8 00069558 48 2A 92 75 */ bl __nw__FUlPCcPCc -/* 8006C5FC 0006955C 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C600 00069560 41 82 00 10 */ beq lbl_8006C610 -/* 8006C604 00069564 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C608 00069568 48 12 2F 39 */ bl __ct__23CHudBossEnergyInterfaceFR9CGuiFrame -/* 8006C60C 0006956C 7C 78 1B 78 */ mr r24, r3 -lbl_8006C610: -/* 8006C610 00069570 80 7F 02 B4 */ lwz r3, 0x2b4(r31) -/* 8006C614 00069574 48 2A 93 1D */ bl Free__7CMemoryFPCv -/* 8006C618 00069578 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C61C 0006957C 93 1F 02 B4 */ stw r24, 0x2b4(r31) -/* 8006C620 00069580 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C624 00069584 38 60 00 30 */ li r3, 0x30 -/* 8006C628 00069588 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C62C 0006958C 38 A0 00 00 */ li r5, 0 -/* 8006C630 00069590 48 2A 92 3D */ bl __nw__FUlPCcPCc -/* 8006C634 00069594 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C638 00069598 41 82 00 28 */ beq lbl_8006C660 -/* 8006C63C 0006959C 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006C640 000695A0 FC 20 F8 90 */ fmr f1, f31 -/* 8006C644 000695A4 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C648 000695A8 7F C6 F3 78 */ mr r6, r30 -/* 8006C64C 000695AC 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 8006C650 000695B0 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f -/* 8006C654 000695B4 39 00 00 02 */ li r8, 2 -/* 8006C658 000695B8 48 12 34 DD */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi -/* 8006C65C 000695BC 7C 78 1B 78 */ mr r24, r3 -lbl_8006C660: -/* 8006C660 000695C0 80 7F 02 8C */ lwz r3, 0x28c(r31) -/* 8006C664 000695C4 48 2A 92 CD */ bl Free__7CMemoryFPCv -/* 8006C668 000695C8 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C66C 000695CC 93 1F 02 8C */ stw r24, 0x28c(r31) -/* 8006C670 000695D0 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C674 000695D4 38 60 00 74 */ li r3, 0x74 -/* 8006C678 000695D8 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C67C 000695DC 38 A0 00 00 */ li r5, 0 -/* 8006C680 000695E0 48 2A 91 ED */ bl __nw__FUlPCcPCc -/* 8006C684 000695E4 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C688 000695E8 41 82 00 18 */ beq lbl_8006C6A0 -/* 8006C68C 000695EC 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C690 000695F0 38 A0 00 02 */ li r5, 2 -/* 8006C694 000695F4 C0 22 88 00 */ lfs f1, lbl_805AA520@sda21(r2) -/* 8006C698 000695F8 48 12 6D 35 */ bl __ct__19CHudThreatInterfaceFR9CGuiFramef -/* 8006C69C 000695FC 7C 78 1B 78 */ mr r24, r3 -lbl_8006C6A0: -/* 8006C6A0 00069600 80 7F 02 90 */ lwz r3, 0x290(r31) -/* 8006C6A4 00069604 28 03 00 00 */ cmplwi r3, 0 -/* 8006C6A8 00069608 41 82 00 18 */ beq lbl_8006C6C0 -/* 8006C6AC 0006960C 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C6B0 00069610 38 80 00 01 */ li r4, 1 -/* 8006C6B4 00069614 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006C6B8 00069618 7D 89 03 A6 */ mtctr r12 -/* 8006C6BC 0006961C 4E 80 04 21 */ bctrl -lbl_8006C6C0: -/* 8006C6C0 00069620 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C6C4 00069624 93 1F 02 90 */ stw r24, 0x290(r31) -/* 8006C6C8 00069628 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C6CC 0006962C 38 60 00 78 */ li r3, 0x78 -/* 8006C6D0 00069630 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C6D4 00069634 38 A0 00 00 */ li r5, 0 -/* 8006C6D8 00069638 48 2A 91 95 */ bl __nw__FUlPCcPCc -/* 8006C6DC 0006963C 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C6E0 00069640 41 82 00 28 */ beq lbl_8006C708 -/* 8006C6E4 00069644 FC 20 F0 90 */ fmr f1, f30 -/* 8006C6E8 00069648 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C6EC 0006964C 80 BF 02 DC */ lwz r5, 0x2dc(r31) -/* 8006C6F0 00069650 7F 67 DB 78 */ mr r7, r27 -/* 8006C6F4 00069654 80 DF 02 D8 */ lwz r6, 0x2d8(r31) -/* 8006C6F8 00069658 7F A9 EB 78 */ mr r9, r29 -/* 8006C6FC 0006965C 39 00 00 02 */ li r8, 2 -/* 8006C700 00069660 48 12 52 F5 */ bl __ct__20CHudMissileInterfaceFR9CGuiFrameiifbUiRC13CStateManager -/* 8006C704 00069664 7C 78 1B 78 */ mr r24, r3 -lbl_8006C708: -/* 8006C708 00069668 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 8006C70C 0006966C 48 2A 92 25 */ bl Free__7CMemoryFPCv -/* 8006C710 00069670 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C714 00069674 93 1F 02 94 */ stw r24, 0x294(r31) -/* 8006C718 00069678 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C71C 0006967C 38 60 00 34 */ li r3, 0x34 -/* 8006C720 00069680 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C724 00069684 38 A0 00 00 */ li r5, 0 -/* 8006C728 00069688 48 2A 91 45 */ bl __nw__FUlPCcPCc -/* 8006C72C 0006968C 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C730 00069690 41 82 00 20 */ beq lbl_8006C750 -/* 8006C734 00069694 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006C738 00069698 7F 87 E3 78 */ mr r7, r28 -/* 8006C73C 0006969C 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C740 000696A0 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f -/* 8006C744 000696A4 54 06 D7 FE */ rlwinm r6, r0, 0x1a, 0x1f, 0x1f -/* 8006C748 000696A8 48 12 41 B9 */ bl __ct__25CHudFreeLookInterfaceXRayFR9CGuiFramebbUi -/* 8006C74C 000696AC 7C 78 1B 78 */ mr r24, r3 -lbl_8006C750: -/* 8006C750 000696B0 80 7F 02 98 */ lwz r3, 0x298(r31) -/* 8006C754 000696B4 28 03 00 00 */ cmplwi r3, 0 -/* 8006C758 000696B8 41 82 00 18 */ beq lbl_8006C770 -/* 8006C75C 000696BC 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C760 000696C0 38 80 00 01 */ li r4, 1 -/* 8006C764 000696C4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006C768 000696C8 7D 89 03 A6 */ mtctr r12 -/* 8006C76C 000696CC 4E 80 04 21 */ bctrl -lbl_8006C770: -/* 8006C770 000696D0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C774 000696D4 93 1F 02 98 */ stw r24, 0x298(r31) -/* 8006C778 000696D8 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C77C 000696DC 38 60 00 B0 */ li r3, 0xb0 -/* 8006C780 000696E0 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C784 000696E4 38 A0 00 00 */ li r5, 0 -/* 8006C788 000696E8 48 2A 90 E5 */ bl __nw__FUlPCcPCc -/* 8006C78C 000696EC 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C790 000696F0 41 82 00 10 */ beq lbl_8006C7A0 -/* 8006C794 000696F4 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C798 000696F8 48 12 A2 85 */ bl __ct__21CHudDecoInterfaceXRayFR9CGuiFrame -/* 8006C79C 000696FC 7C 78 1B 78 */ mr r24, r3 -lbl_8006C7A0: -/* 8006C7A0 00069700 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8006C7A4 00069704 28 03 00 00 */ cmplwi r3, 0 -/* 8006C7A8 00069708 41 82 00 18 */ beq lbl_8006C7C0 -/* 8006C7AC 0006970C 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C7B0 00069710 38 80 00 01 */ li r4, 1 -/* 8006C7B4 00069714 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8006C7B8 00069718 7D 89 03 A6 */ mtctr r12 -/* 8006C7BC 0006971C 4E 80 04 21 */ bctrl -lbl_8006C7C0: -/* 8006C7C0 00069720 93 1F 02 9C */ stw r24, 0x29c(r31) -/* 8006C7C4 00069724 7F E3 FB 78 */ mr r3, r31 -/* 8006C7C8 00069728 48 00 02 7D */ bl InitializeDamageLight__9CSamusHudFv -/* 8006C7CC 0006972C 80 7F 02 A4 */ lwz r3, 0x2a4(r31) -/* 8006C7D0 00069730 38 80 00 01 */ li r4, 1 -/* 8006C7D4 00069734 48 12 72 0D */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb -/* 8006C7D8 00069738 80 7F 02 A8 */ lwz r3, 0x2a8(r31) -/* 8006C7DC 0006973C 38 80 00 01 */ li r4, 1 -/* 8006C7E0 00069740 48 12 72 01 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb -/* 8006C7E4 00069744 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 8006C7E8 00069748 7F E3 FB 78 */ mr r3, r31 -/* 8006C7EC 0006974C 7F A4 EB 78 */ mr r4, r29 -/* 8006C7F0 00069750 38 A0 00 01 */ li r5, 1 -/* 8006C7F4 00069754 4B FF C9 C5 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb -/* 8006C7F8 00069758 48 00 02 28 */ b lbl_8006CA20 -lbl_8006C7FC: -/* 8006C7FC 0006975C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006C800 00069760 38 60 00 20 */ li r3, 0x20 -/* 8006C804 00069764 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006C808 00069768 38 A0 00 00 */ li r5, 0 -/* 8006C80C 0006976C 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C810 00069770 48 2A 90 5D */ bl __nw__FUlPCcPCc -/* 8006C814 00069774 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C818 00069778 41 82 00 10 */ beq lbl_8006C828 -/* 8006C81C 0006977C 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C820 00069780 48 12 2D 21 */ bl __ct__23CHudBossEnergyInterfaceFR9CGuiFrame -/* 8006C824 00069784 7C 78 1B 78 */ mr r24, r3 -lbl_8006C828: -/* 8006C828 00069788 80 7F 02 B4 */ lwz r3, 0x2b4(r31) -/* 8006C82C 0006978C 48 2A 91 05 */ bl Free__7CMemoryFPCv -/* 8006C830 00069790 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C834 00069794 93 1F 02 B4 */ stw r24, 0x2b4(r31) -/* 8006C838 00069798 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C83C 0006979C 38 60 00 30 */ li r3, 0x30 -/* 8006C840 000697A0 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C844 000697A4 38 A0 00 00 */ li r5, 0 -/* 8006C848 000697A8 48 2A 90 25 */ bl __nw__FUlPCcPCc -/* 8006C84C 000697AC 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C850 000697B0 41 82 00 28 */ beq lbl_8006C878 -/* 8006C854 000697B4 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006C858 000697B8 FC 20 F8 90 */ fmr f1, f31 -/* 8006C85C 000697BC 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C860 000697C0 7F C6 F3 78 */ mr r6, r30 -/* 8006C864 000697C4 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 8006C868 000697C8 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f -/* 8006C86C 000697CC 39 00 00 03 */ li r8, 3 -/* 8006C870 000697D0 48 12 32 C5 */ bl __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi -/* 8006C874 000697D4 7C 78 1B 78 */ mr r24, r3 -lbl_8006C878: -/* 8006C878 000697D8 80 7F 02 8C */ lwz r3, 0x28c(r31) -/* 8006C87C 000697DC 48 2A 90 B5 */ bl Free__7CMemoryFPCv -/* 8006C880 000697E0 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C884 000697E4 93 1F 02 8C */ stw r24, 0x28c(r31) -/* 8006C888 000697E8 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C88C 000697EC 38 60 00 74 */ li r3, 0x74 -/* 8006C890 000697F0 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C894 000697F4 38 A0 00 00 */ li r5, 0 -/* 8006C898 000697F8 48 2A 8F D5 */ bl __nw__FUlPCcPCc -/* 8006C89C 000697FC 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C8A0 00069800 41 82 00 18 */ beq lbl_8006C8B8 -/* 8006C8A4 00069804 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C8A8 00069808 38 A0 00 03 */ li r5, 3 -/* 8006C8AC 0006980C C0 22 88 00 */ lfs f1, lbl_805AA520@sda21(r2) -/* 8006C8B0 00069810 48 12 6B 1D */ bl __ct__19CHudThreatInterfaceFR9CGuiFramef -/* 8006C8B4 00069814 7C 78 1B 78 */ mr r24, r3 -lbl_8006C8B8: -/* 8006C8B8 00069818 80 7F 02 90 */ lwz r3, 0x290(r31) -/* 8006C8BC 0006981C 28 03 00 00 */ cmplwi r3, 0 -/* 8006C8C0 00069820 41 82 00 18 */ beq lbl_8006C8D8 -/* 8006C8C4 00069824 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C8C8 00069828 38 80 00 01 */ li r4, 1 -/* 8006C8CC 0006982C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006C8D0 00069830 7D 89 03 A6 */ mtctr r12 -/* 8006C8D4 00069834 4E 80 04 21 */ bctrl -lbl_8006C8D8: -/* 8006C8D8 00069838 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C8DC 0006983C 93 1F 02 90 */ stw r24, 0x290(r31) -/* 8006C8E0 00069840 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C8E4 00069844 38 60 00 78 */ li r3, 0x78 -/* 8006C8E8 00069848 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C8EC 0006984C 38 A0 00 00 */ li r5, 0 -/* 8006C8F0 00069850 48 2A 8F 7D */ bl __nw__FUlPCcPCc -/* 8006C8F4 00069854 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C8F8 00069858 41 82 00 28 */ beq lbl_8006C920 -/* 8006C8FC 0006985C FC 20 F0 90 */ fmr f1, f30 -/* 8006C900 00069860 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C904 00069864 80 BF 02 DC */ lwz r5, 0x2dc(r31) -/* 8006C908 00069868 7F 67 DB 78 */ mr r7, r27 -/* 8006C90C 0006986C 80 DF 02 D8 */ lwz r6, 0x2d8(r31) -/* 8006C910 00069870 7F A9 EB 78 */ mr r9, r29 -/* 8006C914 00069874 39 00 00 03 */ li r8, 3 -/* 8006C918 00069878 48 12 50 DD */ bl __ct__20CHudMissileInterfaceFR9CGuiFrameiifbUiRC13CStateManager -/* 8006C91C 0006987C 7C 78 1B 78 */ mr r24, r3 -lbl_8006C920: -/* 8006C920 00069880 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 8006C924 00069884 48 2A 90 0D */ bl Free__7CMemoryFPCv -/* 8006C928 00069888 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C92C 0006988C 93 1F 02 94 */ stw r24, 0x294(r31) -/* 8006C930 00069890 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C934 00069894 38 60 00 90 */ li r3, 0x90 -/* 8006C938 00069898 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C93C 0006989C 38 A0 00 00 */ li r5, 0 -/* 8006C940 000698A0 48 2A 8F 2D */ bl __nw__FUlPCcPCc -/* 8006C944 000698A4 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C948 000698A8 41 82 00 24 */ beq lbl_8006C96C -/* 8006C94C 000698AC 88 1F 02 E0 */ lbz r0, 0x2e0(r31) -/* 8006C950 000698B0 7F 88 E3 78 */ mr r8, r28 -/* 8006C954 000698B4 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C958 000698B8 38 A0 00 03 */ li r5, 3 -/* 8006C95C 000698BC 54 06 CF FE */ rlwinm r6, r0, 0x19, 0x1f, 0x1f -/* 8006C960 000698C0 54 07 D7 FE */ rlwinm r7, r0, 0x1a, 0x1f, 0x1f -/* 8006C964 000698C4 48 12 3B 39 */ bl __ct__21CHudFreeLookInterfaceFR9CGuiFrame8EHudTypebbb -/* 8006C968 000698C8 7C 78 1B 78 */ mr r24, r3 -lbl_8006C96C: -/* 8006C96C 000698CC 80 7F 02 98 */ lwz r3, 0x298(r31) -/* 8006C970 000698D0 28 03 00 00 */ cmplwi r3, 0 -/* 8006C974 000698D4 41 82 00 18 */ beq lbl_8006C98C -/* 8006C978 000698D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C97C 000698DC 38 80 00 01 */ li r4, 1 -/* 8006C980 000698E0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8006C984 000698E4 7D 89 03 A6 */ mtctr r12 -/* 8006C988 000698E8 4E 80 04 21 */ bctrl -lbl_8006C98C: -/* 8006C98C 000698EC 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006C990 000698F0 93 1F 02 98 */ stw r24, 0x298(r31) -/* 8006C994 000698F4 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006C998 000698F8 38 60 00 94 */ li r3, 0x94 -/* 8006C99C 000698FC 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006C9A0 00069900 38 A0 00 00 */ li r5, 0 -/* 8006C9A4 00069904 48 2A 8E C9 */ bl __nw__FUlPCcPCc -/* 8006C9A8 00069908 7C 78 1B 79 */ or. r24, r3, r3 -/* 8006C9AC 0006990C 41 82 00 10 */ beq lbl_8006C9BC -/* 8006C9B0 00069910 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006C9B4 00069914 48 12 84 21 */ bl __ct__24CHudDecoInterfaceThermalFR9CGuiFrame -/* 8006C9B8 00069918 7C 78 1B 78 */ mr r24, r3 -lbl_8006C9BC: -/* 8006C9BC 0006991C 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8006C9C0 00069920 28 03 00 00 */ cmplwi r3, 0 -/* 8006C9C4 00069924 41 82 00 18 */ beq lbl_8006C9DC -/* 8006C9C8 00069928 81 83 00 00 */ lwz r12, 0(r3) -/* 8006C9CC 0006992C 38 80 00 01 */ li r4, 1 -/* 8006C9D0 00069930 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8006C9D4 00069934 7D 89 03 A6 */ mtctr r12 -/* 8006C9D8 00069938 4E 80 04 21 */ bctrl -lbl_8006C9DC: -/* 8006C9DC 0006993C 93 1F 02 9C */ stw r24, 0x29c(r31) -/* 8006C9E0 00069940 7F E3 FB 78 */ mr r3, r31 -/* 8006C9E4 00069944 48 00 00 61 */ bl InitializeDamageLight__9CSamusHudFv -/* 8006C9E8 00069948 80 7F 02 A4 */ lwz r3, 0x2a4(r31) -/* 8006C9EC 0006994C 38 80 00 01 */ li r4, 1 -/* 8006C9F0 00069950 48 12 6F F1 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb -/* 8006C9F4 00069954 80 7F 02 A8 */ lwz r3, 0x2a8(r31) -/* 8006C9F8 00069958 38 80 00 01 */ li r4, 1 -/* 8006C9FC 0006995C 48 12 6F E5 */ bl SetIsVisibleGame__17CHudVisorBeamMenuFb -/* 8006CA00 00069960 C0 22 87 34 */ lfs f1, lbl_805AA454@sda21(r2) -/* 8006CA04 00069964 7F E3 FB 78 */ mr r3, r31 -/* 8006CA08 00069968 7F A4 EB 78 */ mr r4, r29 -/* 8006CA0C 0006996C 38 A0 00 01 */ li r5, 1 -/* 8006CA10 00069970 4B FF C7 A9 */ bl UpdateEnergy__9CSamusHudFfRC13CStateManagerb -/* 8006CA14 00069974 48 00 00 0C */ b lbl_8006CA20 -lbl_8006CA18: -/* 8006CA18 00069978 7F E3 FB 78 */ mr r3, r31 -/* 8006CA1C 0006997C 4B FF F2 89 */ bl UninitializeFrameGlueMutable__9CSamusHudFv -lbl_8006CA20: -/* 8006CA20 00069980 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8006CA24 00069984 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8006CA28 00069988 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 8006CA2C 0006998C CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8006CA30 00069990 BA E1 00 1C */ lmw r23, 0x1c(r1) -/* 8006CA34 00069994 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8006CA38 00069998 7C 08 03 A6 */ mtlr r0 -/* 8006CA3C 0006999C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8006CA40 000699A0 4E 80 00 20 */ blr - -.global InitializeDamageLight__9CSamusHudFv -InitializeDamageLight__9CSamusHudFv: -/* 8006CA44 000699A4 94 21 F9 30 */ stwu r1, -0x6d0(r1) -/* 8006CA48 000699A8 7C 08 02 A6 */ mflr r0 -/* 8006CA4C 000699AC 90 01 06 D4 */ stw r0, 0x6d4(r1) -/* 8006CA50 000699B0 DB E1 06 C0 */ stfd f31, 0x6c0(r1) -/* 8006CA54 000699B4 F3 E1 06 C8 */ psq_st f31, 1736(r1), 0, qr0 -/* 8006CA58 000699B8 DB C1 06 B0 */ stfd f30, 0x6b0(r1) -/* 8006CA5C 000699BC F3 C1 06 B8 */ psq_st f30, 1720(r1), 0, qr0 -/* 8006CA60 000699C0 DB A1 06 A0 */ stfd f29, 0x6a0(r1) -/* 8006CA64 000699C4 F3 A1 06 A8 */ psq_st f29, 1704(r1), 0, qr0 -/* 8006CA68 000699C8 DB 81 06 90 */ stfd f28, 0x690(r1) -/* 8006CA6C 000699CC F3 81 06 98 */ psq_st f28, 1688(r1), 0, qr0 -/* 8006CA70 000699D0 93 E1 06 8C */ stw r31, 0x68c(r1) -/* 8006CA74 000699D4 93 C1 06 88 */ stw r30, 0x688(r1) -/* 8006CA78 000699D8 93 A1 06 84 */ stw r29, 0x684(r1) -/* 8006CA7C 000699DC 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006CA80 000699E0 7C 7F 1B 78 */ mr r31, r3 -/* 8006CA84 000699E4 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006CA88 000699E8 38 61 00 70 */ addi r3, r1, 0x70 -/* 8006CA8C 000699EC 38 84 01 42 */ addi r4, r4, 0x142 -/* 8006CA90 000699F0 4B F9 82 29 */ bl string_l__4rstlFPCc -/* 8006CA94 000699F4 80 7F 02 88 */ lwz r3, 0x288(r31) -/* 8006CA98 000699F8 38 81 00 70 */ addi r4, r1, 0x70 -/* 8006CA9C 000699FC 38 63 00 18 */ addi r3, r3, 0x18 -/* 8006CAA0 00069A00 48 25 E5 5D */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8006CAA4 00069A04 7C 7D 1B 78 */ mr r29, r3 -/* 8006CAA8 00069A08 38 61 00 70 */ addi r3, r1, 0x70 -/* 8006CAAC 00069A0C 48 2D 10 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8006CAB0 00069A10 3C 80 80 3D */ lis r4, lbl_803CD024@ha -/* 8006CAB4 00069A14 38 61 00 60 */ addi r3, r1, 0x60 -/* 8006CAB8 00069A18 38 84 D0 24 */ addi r4, r4, lbl_803CD024@l -/* 8006CABC 00069A1C 4B F9 81 FD */ bl string_l__4rstlFPCc -/* 8006CAC0 00069A20 80 7F 02 88 */ lwz r3, 0x288(r31) -/* 8006CAC4 00069A24 38 81 00 60 */ addi r4, r1, 0x60 -/* 8006CAC8 00069A28 48 25 57 0D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8006CACC 00069A2C 7C 7E 1B 78 */ mr r30, r3 -/* 8006CAD0 00069A30 38 61 00 60 */ addi r3, r1, 0x60 -/* 8006CAD4 00069A34 48 2D 10 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8006CAD8 00069A38 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 8006CADC 00069A3C 38 80 00 02 */ li r4, 2 -/* 8006CAE0 00069A40 38 00 00 00 */ li r0, 0 -/* 8006CAE4 00069A44 7F A6 EB 78 */ mr r6, r29 -/* 8006CAE8 00069A48 38 A3 00 40 */ addi r5, r3, 0x40 -/* 8006CAEC 00069A4C 38 61 00 80 */ addi r3, r1, 0x80 -/* 8006CAF0 00069A50 90 A1 00 08 */ stw r5, 8(r1) -/* 8006CAF4 00069A54 38 A0 00 00 */ li r5, 0 -/* 8006CAF8 00069A58 39 00 00 01 */ li r8, 1 -/* 8006CAFC 00069A5C 39 20 00 01 */ li r9, 1 -/* 8006CB00 00069A60 90 81 00 0C */ stw r4, 0xc(r1) -/* 8006CB04 00069A64 39 40 00 00 */ li r10, 0 -/* 8006CB08 00069A68 90 01 00 10 */ stw r0, 0x10(r1) -/* 8006CB0C 00069A6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006CB10 00069A70 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 8006CB14 00069A74 A8 FE 00 70 */ lha r7, 0x70(r30) -/* 8006CB18 00069A78 48 25 E4 19 */ bl __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb -/* 8006CB1C 00069A7C 48 2D D4 91 */ bl White__6CColorFv -/* 8006CB20 00069A80 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8006CB24 00069A84 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8006CB28 00069A88 3C C0 80 5A */ lis r6, lbl_805A6724@ha -/* 8006CB2C 00069A8C C0 25 00 54 */ lfs f1, 0x54(r5) -/* 8006CB30 00069A90 38 A6 67 24 */ addi r5, r6, lbl_805A6724@l -/* 8006CB34 00069A94 7C 66 1B 78 */ mr r6, r3 -/* 8006CB38 00069A98 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8006CB3C 00069A9C 38 61 05 D8 */ addi r3, r1, 0x5d8 -/* 8006CB40 00069AA0 48 29 98 BD */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf -/* 8006CB44 00069AA4 38 61 06 28 */ addi r3, r1, 0x628 -/* 8006CB48 00069AA8 38 81 05 D8 */ addi r4, r1, 0x5d8 -/* 8006CB4C 00069AAC 4B FC EA 25 */ bl __ct__6CLightFCR6CLight -/* 8006CB50 00069AB0 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006CB54 00069AB4 38 60 00 E0 */ li r3, 0xe0 -/* 8006CB58 00069AB8 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006CB5C 00069ABC 38 A0 00 00 */ li r5, 0 -/* 8006CB60 00069AC0 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006CB64 00069AC4 48 2A 8D 09 */ bl __nw__FUlPCcPCc -/* 8006CB68 00069AC8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8006CB6C 00069ACC 41 82 00 14 */ beq lbl_8006CB80 -/* 8006CB70 00069AD0 38 81 00 80 */ addi r4, r1, 0x80 -/* 8006CB74 00069AD4 38 A1 06 28 */ addi r5, r1, 0x628 -/* 8006CB78 00069AD8 48 25 70 B1 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight -/* 8006CB7C 00069ADC 7C 60 1B 78 */ mr r0, r3 -lbl_8006CB80: -/* 8006CB80 00069AE0 90 1F 03 D4 */ stw r0, 0x3d4(r31) -/* 8006CB84 00069AE4 48 2D D4 29 */ bl White__6CColorFv -/* 8006CB88 00069AE8 7C 64 1B 78 */ mr r4, r3 -/* 8006CB8C 00069AEC 80 7F 03 D4 */ lwz r3, 0x3d4(r31) -/* 8006CB90 00069AF0 48 25 DC DD */ bl SetColor__10CGuiWidgetFRC6CColor -/* 8006CB94 00069AF4 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 8006CB98 00069AF8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8006CB9C 00069AFC 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8006CBA0 00069B00 E0 21 A0 5C */ psq_l f1, 92(r1), 1, qr2 -/* 8006CBA4 00069B04 E0 41 A0 5F */ psq_l f2, 95(r1), 1, qr2 -/* 8006CBA8 00069B08 E0 61 A0 5D */ psq_l f3, 93(r1), 1, qr2 -/* 8006CBAC 00069B0C E0 E1 A0 5F */ psq_l f7, 95(r1), 1, qr2 -/* 8006CBB0 00069B10 E1 01 A0 5E */ psq_l f8, 94(r1), 1, qr2 -/* 8006CBB4 00069B14 E1 21 A0 5F */ psq_l f9, 95(r1), 1, qr2 -/* 8006CBB8 00069B18 38 61 00 58 */ addi r3, r1, 0x58 -/* 8006CBBC 00069B1C C0 02 87 A8 */ lfs f0, lbl_805AA4C8@sda21(r2) -/* 8006CBC0 00069B20 C0 82 87 28 */ lfs f4, lbl_805AA448@sda21(r2) -/* 8006CBC4 00069B24 EC C0 00 72 */ fmuls f6, f0, f1 -/* 8006CBC8 00069B28 EC 20 00 B2 */ fmuls f1, f0, f2 -/* 8006CBCC 00069B2C EC A0 00 F2 */ fmuls f5, f0, f3 -/* 8006CBD0 00069B30 EC 40 01 F2 */ fmuls f2, f0, f7 -/* 8006CBD4 00069B34 EC 60 02 32 */ fmuls f3, f0, f8 -/* 8006CBD8 00069B38 EC 00 02 72 */ fmuls f0, f0, f9 -/* 8006CBDC 00069B3C EC 26 00 72 */ fmuls f1, f6, f1 -/* 8006CBE0 00069B40 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 8006CBE4 00069B44 EC 63 00 32 */ fmuls f3, f3, f0 -/* 8006CBE8 00069B48 48 2F 68 05 */ bl __ct__6CColorFffff -/* 8006CBEC 00069B4C 80 C1 00 58 */ lwz r6, 0x58(r1) -/* 8006CBF0 00069B50 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8006CBF4 00069B54 80 BF 03 D4 */ lwz r5, 0x3d4(r31) -/* 8006CBF8 00069B58 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8006CBFC 00069B5C C0 22 87 28 */ lfs f1, lbl_805AA448@sda21(r2) -/* 8006CC00 00069B60 38 00 00 04 */ li r0, 4 -/* 8006CC04 00069B64 90 C5 00 DC */ stw r6, 0xdc(r5) -/* 8006CC08 00069B68 C0 02 87 34 */ lfs f0, lbl_805AA454@sda21(r2) -/* 8006CC0C 00069B6C 80 7F 03 D4 */ lwz r3, 0x3d4(r31) -/* 8006CC10 00069B70 D0 23 00 C0 */ stfs f1, 0xc0(r3) -/* 8006CC14 00069B74 80 7F 03 D4 */ lwz r3, 0x3d4(r31) -/* 8006CC18 00069B78 D0 03 00 C4 */ stfs f0, 0xc4(r3) -/* 8006CC1C 00069B7C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8006CC20 00069B80 80 7F 03 D4 */ lwz r3, 0x3d4(r31) -/* 8006CC24 00069B84 C0 05 00 58 */ lfs f0, 0x58(r5) -/* 8006CC28 00069B88 D0 03 00 CC */ stfs f0, 0xcc(r3) -/* 8006CC2C 00069B8C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8006CC30 00069B90 80 7F 03 D4 */ lwz r3, 0x3d4(r31) -/* 8006CC34 00069B94 C0 05 00 5C */ lfs f0, 0x5c(r5) -/* 8006CC38 00069B98 D0 03 00 D0 */ stfs f0, 0xd0(r3) -/* 8006CC3C 00069B9C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8006CC40 00069BA0 80 7F 03 D4 */ lwz r3, 0x3d4(r31) -/* 8006CC44 00069BA4 C0 05 00 60 */ lfs f0, 0x60(r5) -/* 8006CC48 00069BA8 D0 03 00 D4 */ stfs f0, 0xd4(r3) -/* 8006CC4C 00069BAC 80 7F 03 D4 */ lwz r3, 0x3d4(r31) -/* 8006CC50 00069BB0 90 03 00 D8 */ stw r0, 0xd8(r3) -/* 8006CC54 00069BB4 83 DF 03 D4 */ lwz r30, 0x3d4(r31) -/* 8006CC58 00069BB8 38 7E 00 04 */ addi r3, r30, 4 -/* 8006CC5C 00069BBC 48 2A 5E E5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8006CC60 00069BC0 7F C3 F3 78 */ mr r3, r30 -/* 8006CC64 00069BC4 48 25 7B 85 */ bl RecalculateTransforms__10CGuiObjectFv -/* 8006CC68 00069BC8 80 7F 02 88 */ lwz r3, 0x288(r31) -/* 8006CC6C 00069BCC A8 81 00 88 */ lha r4, 0x88(r1) -/* 8006CC70 00069BD0 48 25 55 41 */ bl FindWidget__9CGuiFrameCFs -/* 8006CC74 00069BD4 80 9F 03 D4 */ lwz r4, 0x3d4(r31) -/* 8006CC78 00069BD8 38 A0 00 00 */ li r5, 0 -/* 8006CC7C 00069BDC 38 C0 00 01 */ li r6, 1 -/* 8006CC80 00069BE0 48 25 DA 49 */ bl AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb -/* 8006CC84 00069BE4 80 7F 02 88 */ lwz r3, 0x288(r31) -/* 8006CC88 00069BE8 80 9F 03 D4 */ lwz r4, 0x3d4(r31) -/* 8006CC8C 00069BEC 48 25 58 B1 */ bl AddLight__9CGuiFrameFP9CGuiLight -/* 8006CC90 00069BF0 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8006CC94 00069BF4 38 61 05 78 */ addi r3, r1, 0x578 -/* 8006CC98 00069BF8 C3 A5 00 7C */ lfs f29, 0x7c(r5) -/* 8006CC9C 00069BFC 38 85 00 64 */ addi r4, r5, 0x64 -/* 8006CCA0 00069C00 C3 85 00 80 */ lfs f28, 0x80(r5) -/* 8006CCA4 00069C04 48 2A 64 9D */ bl Translate__12CTransform4fFRC9CVector3f -/* 8006CCA8 00069C08 38 61 05 A8 */ addi r3, r1, 0x5a8 -/* 8006CCAC 00069C0C 38 81 05 78 */ addi r4, r1, 0x578 -/* 8006CCB0 00069C10 48 2A 5E C5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8006CCB4 00069C14 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CCB8 00069C18 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006CCBC 00069C1C 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006CCC0 00069C20 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8006CCC4 00069C24 7C 03 02 14 */ add r0, r3, r0 -/* 8006CCC8 00069C28 90 61 00 18 */ stw r3, 0x18(r1) -/* 8006CCCC 00069C2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006CCD0 00069C30 90 01 00 20 */ stw r0, 0x20(r1) -/* 8006CCD4 00069C34 48 00 00 08 */ b lbl_8006CCDC -lbl_8006CCD8: -/* 8006CCD8 00069C38 38 63 00 30 */ addi r3, r3, 0x30 -lbl_8006CCDC: -/* 8006CCDC 00069C3C 7C 03 00 40 */ cmplw r3, r0 -/* 8006CCE0 00069C40 40 82 FF F8 */ bne lbl_8006CCD8 -/* 8006CCE4 00069C44 38 00 00 00 */ li r0, 0 -/* 8006CCE8 00069C48 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006CCEC 00069C4C 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006CCF0 00069C50 38 80 00 0A */ li r4, 0xa -/* 8006CCF4 00069C54 48 00 0A 0D */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -/* 8006CCF8 00069C58 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CCFC 00069C5C 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006CD00 00069C60 7C 00 28 00 */ cmpw r0, r5 -/* 8006CD04 00069C64 41 80 00 1C */ blt lbl_8006CD20 -/* 8006CD08 00069C68 2C 05 00 00 */ cmpwi r5, 0 -/* 8006CD0C 00069C6C 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006CD10 00069C70 38 80 00 04 */ li r4, 4 -/* 8006CD14 00069C74 41 82 00 08 */ beq lbl_8006CD1C -/* 8006CD18 00069C78 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006CD1C: -/* 8006CD1C 00069C7C 48 00 09 E5 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006CD20: -/* 8006CD20 00069C80 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CD24 00069C84 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006CD28 00069C88 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006CD2C 00069C8C 7C 63 02 15 */ add. r3, r3, r0 -/* 8006CD30 00069C90 41 82 00 0C */ beq lbl_8006CD3C -/* 8006CD34 00069C94 38 81 05 A8 */ addi r4, r1, 0x5a8 -/* 8006CD38 00069C98 48 2A 5E 3D */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006CD3C: -/* 8006CD3C 00069C9C 80 9F 03 DC */ lwz r4, 0x3dc(r31) -/* 8006CD40 00069CA0 38 61 05 18 */ addi r3, r1, 0x518 -/* 8006CD44 00069CA4 38 04 00 01 */ addi r0, r4, 1 -/* 8006CD48 00069CA8 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006CD4C 00069CAC 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 8006CD50 00069CB0 38 84 00 70 */ addi r4, r4, 0x70 -/* 8006CD54 00069CB4 48 2A 63 ED */ bl Translate__12CTransform4fFRC9CVector3f -/* 8006CD58 00069CB8 38 61 05 48 */ addi r3, r1, 0x548 -/* 8006CD5C 00069CBC 38 81 05 18 */ addi r4, r1, 0x518 -/* 8006CD60 00069CC0 38 A1 05 A8 */ addi r5, r1, 0x5a8 -/* 8006CD64 00069CC4 48 2A 5B ED */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006CD68 00069CC8 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CD6C 00069CCC 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006CD70 00069CD0 7C 00 28 00 */ cmpw r0, r5 -/* 8006CD74 00069CD4 41 80 00 1C */ blt lbl_8006CD90 -/* 8006CD78 00069CD8 2C 05 00 00 */ cmpwi r5, 0 -/* 8006CD7C 00069CDC 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006CD80 00069CE0 38 80 00 04 */ li r4, 4 -/* 8006CD84 00069CE4 41 82 00 08 */ beq lbl_8006CD8C -/* 8006CD88 00069CE8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006CD8C: -/* 8006CD8C 00069CEC 48 00 09 75 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006CD90: -/* 8006CD90 00069CF0 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CD94 00069CF4 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006CD98 00069CF8 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006CD9C 00069CFC 7C 63 02 15 */ add. r3, r3, r0 -/* 8006CDA0 00069D00 41 82 00 0C */ beq lbl_8006CDAC -/* 8006CDA4 00069D04 38 81 05 48 */ addi r4, r1, 0x548 -/* 8006CDA8 00069D08 48 2A 5D CD */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006CDAC: -/* 8006CDAC 00069D0C 80 BF 03 DC */ lwz r5, 0x3dc(r31) -/* 8006CDB0 00069D10 38 61 04 B8 */ addi r3, r1, 0x4b8 -/* 8006CDB4 00069D14 C0 02 88 04 */ lfs f0, lbl_805AA524@sda21(r2) -/* 8006CDB8 00069D18 38 81 00 54 */ addi r4, r1, 0x54 -/* 8006CDBC 00069D1C 38 05 00 01 */ addi r0, r5, 1 -/* 8006CDC0 00069D20 EF E0 07 72 */ fmuls f31, f0, f29 -/* 8006CDC4 00069D24 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006CDC8 00069D28 D3 E1 00 54 */ stfs f31, 0x54(r1) -/* 8006CDCC 00069D2C 48 2A 6B 75 */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8006CDD0 00069D30 38 61 04 E8 */ addi r3, r1, 0x4e8 -/* 8006CDD4 00069D34 38 81 04 B8 */ addi r4, r1, 0x4b8 -/* 8006CDD8 00069D38 38 A1 05 A8 */ addi r5, r1, 0x5a8 -/* 8006CDDC 00069D3C 48 2A 5B 75 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006CDE0 00069D40 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CDE4 00069D44 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006CDE8 00069D48 7C 00 28 00 */ cmpw r0, r5 -/* 8006CDEC 00069D4C 41 80 00 1C */ blt lbl_8006CE08 -/* 8006CDF0 00069D50 2C 05 00 00 */ cmpwi r5, 0 -/* 8006CDF4 00069D54 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006CDF8 00069D58 38 80 00 04 */ li r4, 4 -/* 8006CDFC 00069D5C 41 82 00 08 */ beq lbl_8006CE04 -/* 8006CE00 00069D60 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006CE04: -/* 8006CE04 00069D64 48 00 08 FD */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006CE08: -/* 8006CE08 00069D68 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CE0C 00069D6C 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006CE10 00069D70 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006CE14 00069D74 7C 63 02 15 */ add. r3, r3, r0 -/* 8006CE18 00069D78 41 82 00 0C */ beq lbl_8006CE24 -/* 8006CE1C 00069D7C 38 81 04 E8 */ addi r4, r1, 0x4e8 -/* 8006CE20 00069D80 48 2A 5D 55 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006CE24: -/* 8006CE24 00069D84 FC 00 E0 50 */ fneg f0, f28 -/* 8006CE28 00069D88 80 9F 03 DC */ lwz r4, 0x3dc(r31) -/* 8006CE2C 00069D8C C0 22 88 04 */ lfs f1, lbl_805AA524@sda21(r2) -/* 8006CE30 00069D90 38 61 03 F8 */ addi r3, r1, 0x3f8 -/* 8006CE34 00069D94 38 04 00 01 */ addi r0, r4, 1 -/* 8006CE38 00069D98 38 81 00 4C */ addi r4, r1, 0x4c -/* 8006CE3C 00069D9C 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006CE40 00069DA0 EF C1 00 32 */ fmuls f30, f1, f0 -/* 8006CE44 00069DA4 D3 E1 00 50 */ stfs f31, 0x50(r1) -/* 8006CE48 00069DA8 D3 C1 00 4C */ stfs f30, 0x4c(r1) -/* 8006CE4C 00069DAC 48 2A 69 C5 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8006CE50 00069DB0 38 61 04 28 */ addi r3, r1, 0x428 -/* 8006CE54 00069DB4 38 81 00 50 */ addi r4, r1, 0x50 -/* 8006CE58 00069DB8 48 2A 6A E9 */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8006CE5C 00069DBC 38 61 04 58 */ addi r3, r1, 0x458 -/* 8006CE60 00069DC0 38 81 04 28 */ addi r4, r1, 0x428 -/* 8006CE64 00069DC4 38 A1 03 F8 */ addi r5, r1, 0x3f8 -/* 8006CE68 00069DC8 48 2A 5A E9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006CE6C 00069DCC 38 61 04 88 */ addi r3, r1, 0x488 -/* 8006CE70 00069DD0 38 81 04 58 */ addi r4, r1, 0x458 -/* 8006CE74 00069DD4 38 A1 05 A8 */ addi r5, r1, 0x5a8 -/* 8006CE78 00069DD8 48 2A 5A D9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006CE7C 00069DDC 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CE80 00069DE0 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006CE84 00069DE4 7C 00 28 00 */ cmpw r0, r5 -/* 8006CE88 00069DE8 41 80 00 1C */ blt lbl_8006CEA4 -/* 8006CE8C 00069DEC 2C 05 00 00 */ cmpwi r5, 0 -/* 8006CE90 00069DF0 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006CE94 00069DF4 38 80 00 04 */ li r4, 4 -/* 8006CE98 00069DF8 41 82 00 08 */ beq lbl_8006CEA0 -/* 8006CE9C 00069DFC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006CEA0: -/* 8006CEA0 00069E00 48 00 08 61 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006CEA4: -/* 8006CEA4 00069E04 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CEA8 00069E08 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006CEAC 00069E0C 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006CEB0 00069E10 7C 63 02 15 */ add. r3, r3, r0 -/* 8006CEB4 00069E14 41 82 00 0C */ beq lbl_8006CEC0 -/* 8006CEB8 00069E18 38 81 04 88 */ addi r4, r1, 0x488 -/* 8006CEBC 00069E1C 48 2A 5C B9 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006CEC0: -/* 8006CEC0 00069E20 80 BF 03 DC */ lwz r5, 0x3dc(r31) -/* 8006CEC4 00069E24 38 61 03 98 */ addi r3, r1, 0x398 -/* 8006CEC8 00069E28 38 81 00 48 */ addi r4, r1, 0x48 -/* 8006CECC 00069E2C 38 05 00 01 */ addi r0, r5, 1 -/* 8006CED0 00069E30 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006CED4 00069E34 D3 C1 00 48 */ stfs f30, 0x48(r1) -/* 8006CED8 00069E38 48 2A 69 39 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8006CEDC 00069E3C 38 61 03 C8 */ addi r3, r1, 0x3c8 -/* 8006CEE0 00069E40 38 81 03 98 */ addi r4, r1, 0x398 -/* 8006CEE4 00069E44 38 A1 05 A8 */ addi r5, r1, 0x5a8 -/* 8006CEE8 00069E48 48 2A 5A 69 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006CEEC 00069E4C 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CEF0 00069E50 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006CEF4 00069E54 7C 00 28 00 */ cmpw r0, r5 -/* 8006CEF8 00069E58 41 80 00 1C */ blt lbl_8006CF14 -/* 8006CEFC 00069E5C 2C 05 00 00 */ cmpwi r5, 0 -/* 8006CF00 00069E60 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006CF04 00069E64 38 80 00 04 */ li r4, 4 -/* 8006CF08 00069E68 41 82 00 08 */ beq lbl_8006CF10 -/* 8006CF0C 00069E6C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006CF10: -/* 8006CF10 00069E70 48 00 07 F1 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006CF14: -/* 8006CF14 00069E74 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CF18 00069E78 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006CF1C 00069E7C 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006CF20 00069E80 7C 63 02 15 */ add. r3, r3, r0 -/* 8006CF24 00069E84 41 82 00 0C */ beq lbl_8006CF30 -/* 8006CF28 00069E88 38 81 03 C8 */ addi r4, r1, 0x3c8 -/* 8006CF2C 00069E8C 48 2A 5C 49 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006CF30: -/* 8006CF30 00069E90 FC 00 E8 50 */ fneg f0, f29 -/* 8006CF34 00069E94 80 9F 03 DC */ lwz r4, 0x3dc(r31) -/* 8006CF38 00069E98 C0 22 88 04 */ lfs f1, lbl_805AA524@sda21(r2) -/* 8006CF3C 00069E9C 38 61 02 D8 */ addi r3, r1, 0x2d8 -/* 8006CF40 00069EA0 38 04 00 01 */ addi r0, r4, 1 -/* 8006CF44 00069EA4 38 81 00 40 */ addi r4, r1, 0x40 -/* 8006CF48 00069EA8 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006CF4C 00069EAC EF A1 00 32 */ fmuls f29, f1, f0 -/* 8006CF50 00069EB0 D3 C1 00 40 */ stfs f30, 0x40(r1) -/* 8006CF54 00069EB4 D3 A1 00 44 */ stfs f29, 0x44(r1) -/* 8006CF58 00069EB8 48 2A 68 B9 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8006CF5C 00069EBC 38 61 03 08 */ addi r3, r1, 0x308 -/* 8006CF60 00069EC0 38 81 00 44 */ addi r4, r1, 0x44 -/* 8006CF64 00069EC4 48 2A 69 DD */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8006CF68 00069EC8 38 61 03 38 */ addi r3, r1, 0x338 -/* 8006CF6C 00069ECC 38 81 03 08 */ addi r4, r1, 0x308 -/* 8006CF70 00069ED0 38 A1 02 D8 */ addi r5, r1, 0x2d8 -/* 8006CF74 00069ED4 48 2A 59 DD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006CF78 00069ED8 38 61 03 68 */ addi r3, r1, 0x368 -/* 8006CF7C 00069EDC 38 81 03 38 */ addi r4, r1, 0x338 -/* 8006CF80 00069EE0 38 A1 05 A8 */ addi r5, r1, 0x5a8 -/* 8006CF84 00069EE4 48 2A 59 CD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006CF88 00069EE8 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CF8C 00069EEC 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006CF90 00069EF0 7C 00 28 00 */ cmpw r0, r5 -/* 8006CF94 00069EF4 41 80 00 1C */ blt lbl_8006CFB0 -/* 8006CF98 00069EF8 2C 05 00 00 */ cmpwi r5, 0 -/* 8006CF9C 00069EFC 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006CFA0 00069F00 38 80 00 04 */ li r4, 4 -/* 8006CFA4 00069F04 41 82 00 08 */ beq lbl_8006CFAC -/* 8006CFA8 00069F08 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006CFAC: -/* 8006CFAC 00069F0C 48 00 07 55 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006CFB0: -/* 8006CFB0 00069F10 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CFB4 00069F14 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006CFB8 00069F18 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006CFBC 00069F1C 7C 63 02 15 */ add. r3, r3, r0 -/* 8006CFC0 00069F20 41 82 00 0C */ beq lbl_8006CFCC -/* 8006CFC4 00069F24 38 81 03 68 */ addi r4, r1, 0x368 -/* 8006CFC8 00069F28 48 2A 5B AD */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006CFCC: -/* 8006CFCC 00069F2C 80 BF 03 DC */ lwz r5, 0x3dc(r31) -/* 8006CFD0 00069F30 38 61 02 78 */ addi r3, r1, 0x278 -/* 8006CFD4 00069F34 38 81 00 3C */ addi r4, r1, 0x3c -/* 8006CFD8 00069F38 38 05 00 01 */ addi r0, r5, 1 -/* 8006CFDC 00069F3C 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006CFE0 00069F40 D3 A1 00 3C */ stfs f29, 0x3c(r1) -/* 8006CFE4 00069F44 48 2A 69 5D */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8006CFE8 00069F48 38 61 02 A8 */ addi r3, r1, 0x2a8 -/* 8006CFEC 00069F4C 38 81 02 78 */ addi r4, r1, 0x278 -/* 8006CFF0 00069F50 38 A1 05 A8 */ addi r5, r1, 0x5a8 -/* 8006CFF4 00069F54 48 2A 59 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006CFF8 00069F58 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006CFFC 00069F5C 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006D000 00069F60 7C 00 28 00 */ cmpw r0, r5 -/* 8006D004 00069F64 41 80 00 1C */ blt lbl_8006D020 -/* 8006D008 00069F68 2C 05 00 00 */ cmpwi r5, 0 -/* 8006D00C 00069F6C 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006D010 00069F70 38 80 00 04 */ li r4, 4 -/* 8006D014 00069F74 41 82 00 08 */ beq lbl_8006D01C -/* 8006D018 00069F78 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006D01C: -/* 8006D01C 00069F7C 48 00 06 E5 */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006D020: -/* 8006D020 00069F80 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006D024 00069F84 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006D028 00069F88 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006D02C 00069F8C 7C 63 02 15 */ add. r3, r3, r0 -/* 8006D030 00069F90 41 82 00 0C */ beq lbl_8006D03C -/* 8006D034 00069F94 38 81 02 A8 */ addi r4, r1, 0x2a8 -/* 8006D038 00069F98 48 2A 5B 3D */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006D03C: -/* 8006D03C 00069F9C 80 BF 03 DC */ lwz r5, 0x3dc(r31) -/* 8006D040 00069FA0 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 8006D044 00069FA4 C0 02 88 04 */ lfs f0, lbl_805AA524@sda21(r2) -/* 8006D048 00069FA8 38 81 00 34 */ addi r4, r1, 0x34 -/* 8006D04C 00069FAC 38 05 00 01 */ addi r0, r5, 1 -/* 8006D050 00069FB0 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006D054 00069FB4 EF C0 07 32 */ fmuls f30, f0, f28 -/* 8006D058 00069FB8 D3 A1 00 38 */ stfs f29, 0x38(r1) -/* 8006D05C 00069FBC D3 C1 00 34 */ stfs f30, 0x34(r1) -/* 8006D060 00069FC0 48 2A 67 B1 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8006D064 00069FC4 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 8006D068 00069FC8 38 81 00 38 */ addi r4, r1, 0x38 -/* 8006D06C 00069FCC 48 2A 68 D5 */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8006D070 00069FD0 38 61 02 18 */ addi r3, r1, 0x218 -/* 8006D074 00069FD4 38 81 01 E8 */ addi r4, r1, 0x1e8 -/* 8006D078 00069FD8 38 A1 01 B8 */ addi r5, r1, 0x1b8 -/* 8006D07C 00069FDC 48 2A 58 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006D080 00069FE0 38 61 02 48 */ addi r3, r1, 0x248 -/* 8006D084 00069FE4 38 81 02 18 */ addi r4, r1, 0x218 -/* 8006D088 00069FE8 38 A1 05 A8 */ addi r5, r1, 0x5a8 -/* 8006D08C 00069FEC 48 2A 58 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006D090 00069FF0 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006D094 00069FF4 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006D098 00069FF8 7C 00 28 00 */ cmpw r0, r5 -/* 8006D09C 00069FFC 41 80 00 1C */ blt lbl_8006D0B8 -/* 8006D0A0 0006A000 2C 05 00 00 */ cmpwi r5, 0 -/* 8006D0A4 0006A004 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006D0A8 0006A008 38 80 00 04 */ li r4, 4 -/* 8006D0AC 0006A00C 41 82 00 08 */ beq lbl_8006D0B4 -/* 8006D0B0 0006A010 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006D0B4: -/* 8006D0B4 0006A014 48 00 06 4D */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006D0B8: -/* 8006D0B8 0006A018 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006D0BC 0006A01C 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006D0C0 0006A020 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006D0C4 0006A024 7C 63 02 15 */ add. r3, r3, r0 -/* 8006D0C8 0006A028 41 82 00 0C */ beq lbl_8006D0D4 -/* 8006D0CC 0006A02C 38 81 02 48 */ addi r4, r1, 0x248 -/* 8006D0D0 0006A030 48 2A 5A A5 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006D0D4: -/* 8006D0D4 0006A034 80 BF 03 DC */ lwz r5, 0x3dc(r31) -/* 8006D0D8 0006A038 38 61 01 58 */ addi r3, r1, 0x158 -/* 8006D0DC 0006A03C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8006D0E0 0006A040 38 05 00 01 */ addi r0, r5, 1 -/* 8006D0E4 0006A044 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006D0E8 0006A048 D3 C1 00 30 */ stfs f30, 0x30(r1) -/* 8006D0EC 0006A04C 48 2A 67 25 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8006D0F0 0006A050 38 61 01 88 */ addi r3, r1, 0x188 -/* 8006D0F4 0006A054 38 81 01 58 */ addi r4, r1, 0x158 -/* 8006D0F8 0006A058 38 A1 05 A8 */ addi r5, r1, 0x5a8 -/* 8006D0FC 0006A05C 48 2A 58 55 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006D100 0006A060 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006D104 0006A064 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006D108 0006A068 7C 00 28 00 */ cmpw r0, r5 -/* 8006D10C 0006A06C 41 80 00 1C */ blt lbl_8006D128 -/* 8006D110 0006A070 2C 05 00 00 */ cmpwi r5, 0 -/* 8006D114 0006A074 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006D118 0006A078 38 80 00 04 */ li r4, 4 -/* 8006D11C 0006A07C 41 82 00 08 */ beq lbl_8006D124 -/* 8006D120 0006A080 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006D124: -/* 8006D124 0006A084 48 00 05 DD */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006D128: -/* 8006D128 0006A088 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006D12C 0006A08C 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006D130 0006A090 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006D134 0006A094 7C 63 02 15 */ add. r3, r3, r0 -/* 8006D138 0006A098 41 82 00 0C */ beq lbl_8006D144 -/* 8006D13C 0006A09C 38 81 01 88 */ addi r4, r1, 0x188 -/* 8006D140 0006A0A0 48 2A 5A 35 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006D144: -/* 8006D144 0006A0A4 80 BF 03 DC */ lwz r5, 0x3dc(r31) -/* 8006D148 0006A0A8 38 61 00 98 */ addi r3, r1, 0x98 -/* 8006D14C 0006A0AC 38 81 00 28 */ addi r4, r1, 0x28 -/* 8006D150 0006A0B0 38 05 00 01 */ addi r0, r5, 1 -/* 8006D154 0006A0B4 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006D158 0006A0B8 D3 C1 00 28 */ stfs f30, 0x28(r1) -/* 8006D15C 0006A0BC D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 8006D160 0006A0C0 48 2A 66 B1 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8006D164 0006A0C4 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8006D168 0006A0C8 38 81 00 2C */ addi r4, r1, 0x2c -/* 8006D16C 0006A0CC 48 2A 67 D5 */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8006D170 0006A0D0 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8006D174 0006A0D4 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8006D178 0006A0D8 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8006D17C 0006A0DC 48 2A 57 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006D180 0006A0E0 38 61 01 28 */ addi r3, r1, 0x128 -/* 8006D184 0006A0E4 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8006D188 0006A0E8 38 A1 05 A8 */ addi r5, r1, 0x5a8 -/* 8006D18C 0006A0EC 48 2A 57 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8006D190 0006A0F0 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006D194 0006A0F4 80 BF 03 E0 */ lwz r5, 0x3e0(r31) -/* 8006D198 0006A0F8 7C 00 28 00 */ cmpw r0, r5 -/* 8006D19C 0006A0FC 41 80 00 1C */ blt lbl_8006D1B8 -/* 8006D1A0 0006A100 2C 05 00 00 */ cmpwi r5, 0 -/* 8006D1A4 0006A104 38 7F 03 D8 */ addi r3, r31, 0x3d8 -/* 8006D1A8 0006A108 38 80 00 04 */ li r4, 4 -/* 8006D1AC 0006A10C 41 82 00 08 */ beq lbl_8006D1B4 -/* 8006D1B0 0006A110 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006D1B4: -/* 8006D1B4 0006A114 48 00 05 4D */ bl "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -lbl_8006D1B8: -/* 8006D1B8 0006A118 80 1F 03 DC */ lwz r0, 0x3dc(r31) -/* 8006D1BC 0006A11C 80 7F 03 E4 */ lwz r3, 0x3e4(r31) -/* 8006D1C0 0006A120 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006D1C4 0006A124 7C 63 02 15 */ add. r3, r3, r0 -/* 8006D1C8 0006A128 41 82 00 0C */ beq lbl_8006D1D4 -/* 8006D1CC 0006A12C 38 81 01 28 */ addi r4, r1, 0x128 -/* 8006D1D0 0006A130 48 2A 59 A5 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006D1D4: -/* 8006D1D4 0006A134 80 7F 03 DC */ lwz r3, 0x3dc(r31) -/* 8006D1D8 0006A138 38 03 00 01 */ addi r0, r3, 1 -/* 8006D1DC 0006A13C 90 1F 03 DC */ stw r0, 0x3dc(r31) -/* 8006D1E0 0006A140 E3 E1 06 C8 */ psq_l f31, 1736(r1), 0, qr0 -/* 8006D1E4 0006A144 CB E1 06 C0 */ lfd f31, 0x6c0(r1) -/* 8006D1E8 0006A148 E3 C1 06 B8 */ psq_l f30, 1720(r1), 0, qr0 -/* 8006D1EC 0006A14C CB C1 06 B0 */ lfd f30, 0x6b0(r1) -/* 8006D1F0 0006A150 E3 A1 06 A8 */ psq_l f29, 1704(r1), 0, qr0 -/* 8006D1F4 0006A154 CB A1 06 A0 */ lfd f29, 0x6a0(r1) -/* 8006D1F8 0006A158 E3 81 06 98 */ psq_l f28, 1688(r1), 0, qr0 -/* 8006D1FC 0006A15C CB 81 06 90 */ lfd f28, 0x690(r1) -/* 8006D200 0006A160 83 E1 06 8C */ lwz r31, 0x68c(r1) -/* 8006D204 0006A164 83 C1 06 88 */ lwz r30, 0x688(r1) -/* 8006D208 0006A168 80 01 06 D4 */ lwz r0, 0x6d4(r1) -/* 8006D20C 0006A16C 83 A1 06 84 */ lwz r29, 0x684(r1) -/* 8006D210 0006A170 7C 08 03 A6 */ mtlr r0 -/* 8006D214 0006A174 38 21 06 D0 */ addi r1, r1, 0x6d0 -/* 8006D218 0006A178 4E 80 00 20 */ blr - -.global RefreshHudOptions__9CSamusHudFv -RefreshHudOptions__9CSamusHudFv: -/* 8006D21C 0006A17C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006D220 0006A180 7C 08 02 A6 */ mflr r0 -/* 8006D224 0006A184 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006D228 0006A188 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006D22C 0006A18C 7C 7F 1B 78 */ mr r31, r3 -/* 8006D230 0006A190 80 63 02 9C */ lwz r3, 0x29c(r3) -/* 8006D234 0006A194 28 03 00 00 */ cmplwi r3, 0 -/* 8006D238 0006A198 41 82 00 14 */ beq lbl_8006D24C -/* 8006D23C 0006A19C 81 83 00 00 */ lwz r12, 0(r3) -/* 8006D240 0006A1A0 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8006D244 0006A1A4 7D 89 03 A6 */ mtctr r12 -/* 8006D248 0006A1A8 4E 80 04 21 */ bctrl -lbl_8006D24C: -/* 8006D24C 0006A1AC 80 7F 02 A0 */ lwz r3, 0x2a0(r31) -/* 8006D250 0006A1B0 28 03 00 00 */ cmplwi r3, 0 -/* 8006D254 0006A1B4 41 82 00 08 */ beq lbl_8006D25C -/* 8006D258 0006A1B8 48 12 3B 2D */ bl UpdateHelmetAlpha__19CHudHelmetInterfaceFv -lbl_8006D25C: -/* 8006D25C 0006A1BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006D260 0006A1C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8006D264 0006A1C4 7C 08 03 A6 */ mtlr r0 -/* 8006D268 0006A1C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006D26C 0006A1CC 4E 80 00 20 */ blr - -.global InitializeFrameGluePermanent__9CSamusHudFRC13CStateManager -InitializeFrameGluePermanent__9CSamusHudFRC13CStateManager: -/* 8006D270 0006A1D0 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8006D274 0006A1D4 7C 08 02 A6 */ mflr r0 -/* 8006D278 0006A1D8 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8006D27C 0006A1DC DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8006D280 0006A1E0 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8006D284 0006A1E4 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8006D288 0006A1E8 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8006D28C 0006A1EC DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8006D290 0006A1F0 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8006D294 0006A1F4 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8006D298 0006A1F8 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 8006D29C 0006A1FC DB 61 00 60 */ stfd f27, 0x60(r1) -/* 8006D2A0 0006A200 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 8006D2A4 0006A204 DB 41 00 50 */ stfd f26, 0x50(r1) -/* 8006D2A8 0006A208 F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 -/* 8006D2AC 0006A20C BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8006D2B0 0006A210 7C 7E 1B 78 */ mr r30, r3 -/* 8006D2B4 0006A214 3C 60 80 3D */ lis r3, lbl_803CCFB8@ha -/* 8006D2B8 0006A218 3B E3 CF B8 */ addi r31, r3, lbl_803CCFB8@l -/* 8006D2BC 0006A21C 80 7E 02 74 */ lwz r3, 0x274(r30) -/* 8006D2C0 0006A220 38 9F 00 6C */ addi r4, r31, 0x6c -/* 8006D2C4 0006A224 48 25 4E 91 */ bl FindWidget__9CGuiFrameCFPCc -/* 8006D2C8 0006A228 90 7E 05 88 */ stw r3, 0x588(r30) -/* 8006D2CC 0006A22C 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006D2D0 0006A230 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006D2D4 0006A234 80 7E 02 64 */ lwz r3, 0x264(r30) -/* 8006D2D8 0006A238 38 84 01 52 */ addi r4, r4, 0x152 -/* 8006D2DC 0006A23C 48 25 4E 79 */ bl FindWidget__9CGuiFrameCFPCc -/* 8006D2E0 0006A240 90 7E 05 8C */ stw r3, 0x58c(r30) -/* 8006D2E4 0006A244 38 9F 00 80 */ addi r4, r31, 0x80 -/* 8006D2E8 0006A248 80 7E 02 74 */ lwz r3, 0x274(r30) -/* 8006D2EC 0006A24C 48 25 4E 69 */ bl FindWidget__9CGuiFrameCFPCc -/* 8006D2F0 0006A250 90 7E 05 90 */ stw r3, 0x590(r30) -/* 8006D2F4 0006A254 38 9F 00 94 */ addi r4, r31, 0x94 -/* 8006D2F8 0006A258 80 7E 02 74 */ lwz r3, 0x274(r30) -/* 8006D2FC 0006A25C 48 25 4E 59 */ bl FindWidget__9CGuiFrameCFPCc -/* 8006D300 0006A260 90 7E 05 94 */ stw r3, 0x594(r30) -/* 8006D304 0006A264 80 7E 05 94 */ lwz r3, 0x594(r30) -/* 8006D308 0006A268 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 8006D30C 0006A26C 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8006D310 0006A270 38 84 01 80 */ addi r4, r4, 0x180 -/* 8006D314 0006A274 48 25 C3 55 */ bl SetFontColor__15CGuiTextSupportFRC6CColor -/* 8006D318 0006A278 80 7E 05 94 */ lwz r3, 0x594(r30) -/* 8006D31C 0006A27C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 8006D320 0006A280 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8006D324 0006A284 38 84 01 84 */ addi r4, r4, 0x184 -/* 8006D328 0006A288 48 25 C2 F1 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor -/* 8006D32C 0006A28C 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006D330 0006A290 80 7E 02 74 */ lwz r3, 0x274(r30) -/* 8006D334 0006A294 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006D338 0006A298 38 84 01 63 */ addi r4, r4, 0x163 -/* 8006D33C 0006A29C 48 25 4E 19 */ bl FindWidget__9CGuiFrameCFPCc -/* 8006D340 0006A2A0 90 7E 05 98 */ stw r3, 0x598(r30) -/* 8006D344 0006A2A4 80 7E 05 98 */ lwz r3, 0x598(r30) -/* 8006D348 0006A2A8 48 25 79 E9 */ bl GetChildObject__10CGuiObjectFv -/* 8006D34C 0006A2AC 3B 80 00 00 */ li r28, 0 -/* 8006D350 0006A2B0 48 00 00 14 */ b lbl_8006D364 -lbl_8006D354: -/* 8006D354 0006A2B4 88 03 00 B6 */ lbz r0, 0xb6(r3) -/* 8006D358 0006A2B8 53 80 07 FE */ rlwimi r0, r28, 0, 0x1f, 0x1f -/* 8006D35C 0006A2BC 98 03 00 B6 */ stb r0, 0xb6(r3) -/* 8006D360 0006A2C0 48 25 79 C1 */ bl GetNextSibling__10CGuiObjectFv -lbl_8006D364: -/* 8006D364 0006A2C4 28 03 00 00 */ cmplwi r3, 0 -/* 8006D368 0006A2C8 40 82 FF EC */ bne lbl_8006D354 -/* 8006D36C 0006A2CC 80 7E 02 74 */ lwz r3, 0x274(r30) -/* 8006D370 0006A2D0 38 9F 00 B8 */ addi r4, r31, 0xb8 -/* 8006D374 0006A2D4 48 25 4D E1 */ bl FindWidget__9CGuiFrameCFPCc -/* 8006D378 0006A2D8 90 7E 05 9C */ stw r3, 0x59c(r30) -/* 8006D37C 0006A2DC 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006D380 0006A2E0 38 83 D0 C0 */ addi r4, r3, lbl_803CD0C0@l -/* 8006D384 0006A2E4 80 7E 02 74 */ lwz r3, 0x274(r30) -/* 8006D388 0006A2E8 38 84 01 76 */ addi r4, r4, 0x176 -/* 8006D38C 0006A2EC 48 25 4D C9 */ bl FindWidget__9CGuiFrameCFPCc -/* 8006D390 0006A2F0 3B 7E 05 DC */ addi r27, r30, 0x5dc -/* 8006D394 0006A2F4 90 7E 05 A0 */ stw r3, 0x5a0(r30) -/* 8006D398 0006A2F8 7F 7C DB 78 */ mr r28, r27 -/* 8006D39C 0006A2FC 3B A0 00 00 */ li r29, 0 -lbl_8006D3A0: -/* 8006D3A0 0006A300 80 7E 02 64 */ lwz r3, 0x264(r30) -/* 8006D3A4 0006A304 7F A4 EB 78 */ mr r4, r29 -/* 8006D3A8 0006A308 48 25 4D 9D */ bl GetFrameLight__9CGuiFrameFi -/* 8006D3AC 0006A30C 3B BD 00 01 */ addi r29, r29, 1 -/* 8006D3B0 0006A310 90 7C 00 00 */ stw r3, 0(r28) -/* 8006D3B4 0006A314 2C 1D 00 04 */ cmpwi r29, 4 -/* 8006D3B8 0006A318 3B 9C 00 04 */ addi r28, r28, 4 -/* 8006D3BC 0006A31C 41 80 FF E4 */ blt lbl_8006D3A0 -/* 8006D3C0 0006A320 48 2D CB F5 */ bl Black__6CColorFv -/* 8006D3C4 0006A324 7C 64 1B 78 */ mr r4, r3 -/* 8006D3C8 0006A328 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 8006D3CC 0006A32C 48 25 D4 A1 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 8006D3D0 0006A330 3C 60 80 3D */ lis r3, lbl_803CD0C0@ha -/* 8006D3D4 0006A334 CB 42 87 B8 */ lfd f26, lbl_805AA4D8@sda21(r2) -/* 8006D3D8 0006A338 C3 62 87 AC */ lfs f27, lbl_805AA4CC@sda21(r2) -/* 8006D3DC 0006A33C 3B 7E 05 A8 */ addi r27, r30, 0x5a8 -/* 8006D3E0 0006A340 C3 82 87 B4 */ lfs f28, lbl_805AA4D4@sda21(r2) -/* 8006D3E4 0006A344 3B 83 D0 C0 */ addi r28, r3, lbl_803CD0C0@l -/* 8006D3E8 0006A348 C3 A2 88 08 */ lfs f29, lbl_805AA528@sda21(r2) -/* 8006D3EC 0006A34C 3B 40 00 00 */ li r26, 0 -/* 8006D3F0 0006A350 C3 C2 88 10 */ lfs f30, lbl_805AA530@sda21(r2) -/* 8006D3F4 0006A354 3F A0 43 30 */ lis r29, 0x4330 -/* 8006D3F8 0006A358 C3 E2 88 0C */ lfs f31, lbl_805AA52C@sda21(r2) -lbl_8006D3FC: -/* 8006D3FC 0006A35C 7F 45 D3 78 */ mr r5, r26 -/* 8006D400 0006A360 38 7C 01 84 */ addi r3, r28, 0x184 -/* 8006D404 0006A364 38 9F 00 A8 */ addi r4, r31, 0xa8 -/* 8006D408 0006A368 4C C6 31 82 */ crclr 6 -/* 8006D40C 0006A36C 48 26 8D A5 */ bl Stringize__7CBasicsFPCce -/* 8006D410 0006A370 7C 64 1B 78 */ mr r4, r3 -/* 8006D414 0006A374 38 61 00 18 */ addi r3, r1, 0x18 -/* 8006D418 0006A378 38 C1 00 08 */ addi r6, r1, 8 -/* 8006D41C 0006A37C 38 A0 FF FF */ li r5, -1 -/* 8006D420 0006A380 48 2D 0D 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8006D424 0006A384 80 7E 02 74 */ lwz r3, 0x274(r30) -/* 8006D428 0006A388 38 81 00 18 */ addi r4, r1, 0x18 -/* 8006D42C 0006A38C 48 25 4D A9 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8006D430 0006A390 90 7B 00 00 */ stw r3, 0(r27) -/* 8006D434 0006A394 38 61 00 18 */ addi r3, r1, 0x18 -/* 8006D438 0006A398 48 2D 06 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8006D43C 0006A39C 48 32 2A 41 */ bl rand -/* 8006D440 0006A3A0 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8006D444 0006A3A4 93 A1 00 28 */ stw r29, 0x28(r1) -/* 8006D448 0006A3A8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8006D44C 0006A3AC C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8006D450 0006A3B0 EC 00 D0 28 */ fsubs f0, f0, f26 -/* 8006D454 0006A3B4 EC 1B 00 32 */ fmuls f0, f27, f0 -/* 8006D458 0006A3B8 EC 00 E0 24 */ fdivs f0, f0, f28 -/* 8006D45C 0006A3BC EC 1D 00 2A */ fadds f0, f29, f0 -/* 8006D460 0006A3C0 D0 1B 00 04 */ stfs f0, 4(r27) -/* 8006D464 0006A3C4 48 32 2A 19 */ bl rand -/* 8006D468 0006A3C8 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8006D46C 0006A3CC 3B 5A 00 01 */ addi r26, r26, 1 -/* 8006D470 0006A3D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006D474 0006A3D4 2C 1A 00 04 */ cmpwi r26, 4 -/* 8006D478 0006A3D8 93 A1 00 30 */ stw r29, 0x30(r1) -/* 8006D47C 0006A3DC C8 01 00 30 */ lfd f0, 0x30(r1) -/* 8006D480 0006A3E0 EC 00 D0 28 */ fsubs f0, f0, f26 -/* 8006D484 0006A3E4 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 8006D488 0006A3E8 EC 00 E0 24 */ fdivs f0, f0, f28 -/* 8006D48C 0006A3EC EC 1F 00 2A */ fadds f0, f31, f0 -/* 8006D490 0006A3F0 D0 1B 00 08 */ stfs f0, 8(r27) -/* 8006D494 0006A3F4 3B 7B 00 0C */ addi r27, r27, 0xc -/* 8006D498 0006A3F8 41 80 FF 64 */ blt lbl_8006D3FC -/* 8006D49C 0006A3FC 80 7E 05 9C */ lwz r3, 0x59c(r30) -/* 8006D4A0 0006A400 38 C0 00 00 */ li r6, 0 -/* 8006D4A4 0006A404 38 80 00 00 */ li r4, 0 -/* 8006D4A8 0006A408 38 A0 00 01 */ li r5, 1 -/* 8006D4AC 0006A40C 88 03 00 B6 */ lbz r0, 0xb6(r3) -/* 8006D4B0 0006A410 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 8006D4B4 0006A414 98 03 00 B6 */ stb r0, 0xb6(r3) -/* 8006D4B8 0006A418 80 7E 05 98 */ lwz r3, 0x598(r30) -/* 8006D4BC 0006A41C 48 25 D2 2D */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -/* 8006D4C0 0006A420 80 7E 05 9C */ lwz r3, 0x59c(r30) -/* 8006D4C4 0006A424 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 8006D4C8 0006A428 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8006D4CC 0006A42C 38 84 00 14 */ addi r4, r4, 0x14 -/* 8006D4D0 0006A430 48 25 C1 99 */ bl SetFontColor__15CGuiTextSupportFRC6CColor -/* 8006D4D4 0006A434 80 7E 05 9C */ lwz r3, 0x59c(r30) -/* 8006D4D8 0006A438 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 8006D4DC 0006A43C 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8006D4E0 0006A440 38 84 00 18 */ addi r4, r4, 0x18 -/* 8006D4E4 0006A444 48 25 C1 35 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor -/* 8006D4E8 0006A448 80 7E 05 9C */ lwz r3, 0x59c(r30) -/* 8006D4EC 0006A44C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 8006D4F0 0006A450 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8006D4F4 0006A454 38 84 01 E8 */ addi r4, r4, 0x1e8 -/* 8006D4F8 0006A458 48 25 C0 E5 */ bl "SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>" -/* 8006D4FC 0006A45C 80 9E 05 90 */ lwz r4, 0x590(r30) -/* 8006D500 0006A460 38 A0 00 01 */ li r5, 1 -/* 8006D504 0006A464 38 61 00 0C */ addi r3, r1, 0xc -/* 8006D508 0006A468 88 04 00 B7 */ lbz r0, 0xb7(r4) -/* 8006D50C 0006A46C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8006D510 0006A470 98 04 00 B7 */ stb r0, 0xb7(r4) -/* 8006D514 0006A474 80 9E 05 88 */ lwz r4, 0x588(r30) -/* 8006D518 0006A478 C0 44 00 A0 */ lfs f2, 0xa0(r4) -/* 8006D51C 0006A47C C0 24 00 90 */ lfs f1, 0x90(r4) -/* 8006D520 0006A480 C0 04 00 80 */ lfs f0, 0x80(r4) -/* 8006D524 0006A484 D0 1E 03 04 */ stfs f0, 0x304(r30) -/* 8006D528 0006A488 D0 3E 03 08 */ stfs f1, 0x308(r30) -/* 8006D52C 0006A48C D0 5E 03 0C */ stfs f2, 0x30c(r30) -/* 8006D530 0006A490 80 9E 02 74 */ lwz r4, 0x274(r30) -/* 8006D534 0006A494 80 84 00 14 */ lwz r4, 0x14(r4) -/* 8006D538 0006A498 48 25 7C E5 */ bl GetLocalPosition__10CGuiObjectCFv -/* 8006D53C 0006A49C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8006D540 0006A4A0 7F C3 F3 78 */ mr r3, r30 -/* 8006D544 0006A4A4 D0 1E 03 10 */ stfs f0, 0x310(r30) -/* 8006D548 0006A4A8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8006D54C 0006A4AC D0 1E 03 14 */ stfs f0, 0x314(r30) -/* 8006D550 0006A4B0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8006D554 0006A4B4 D0 1E 03 18 */ stfs f0, 0x318(r30) -/* 8006D558 0006A4B8 4B FF FC C5 */ bl RefreshHudOptions__9CSamusHudFv -/* 8006D55C 0006A4BC E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8006D560 0006A4C0 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8006D564 0006A4C4 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8006D568 0006A4C8 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8006D56C 0006A4CC E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8006D570 0006A4D0 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8006D574 0006A4D4 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 8006D578 0006A4D8 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 8006D57C 0006A4DC E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 8006D580 0006A4E0 CB 61 00 60 */ lfd f27, 0x60(r1) -/* 8006D584 0006A4E4 E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 -/* 8006D588 0006A4E8 CB 41 00 50 */ lfd f26, 0x50(r1) -/* 8006D58C 0006A4EC BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8006D590 0006A4F0 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8006D594 0006A4F4 7C 08 03 A6 */ mtlr r0 -/* 8006D598 0006A4F8 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8006D59C 0006A4FC 4E 80 00 20 */ blr - -.global BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f -BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f: -/* 8006D5A0 0006A500 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8006D5A4 0006A504 7C 08 02 A6 */ mflr r0 -/* 8006D5A8 0006A508 90 01 00 94 */ stw r0, 0x94(r1) -/* 8006D5AC 0006A50C 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8006D5B0 0006A510 7C BF 2B 78 */ mr r31, r5 -/* 8006D5B4 0006A514 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8006D5B8 0006A518 7C 9E 23 78 */ mr r30, r4 -/* 8006D5BC 0006A51C 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8006D5C0 0006A520 7C 7D 1B 78 */ mr r29, r3 -/* 8006D5C4 0006A524 38 61 00 40 */ addi r3, r1, 0x40 -/* 8006D5C8 0006A528 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8006D5CC 0006A52C C0 24 00 08 */ lfs f1, 8(r4) -/* 8006D5D0 0006A530 FD 40 00 50 */ fneg f10, f0 -/* 8006D5D4 0006A534 C0 04 00 04 */ lfs f0, 4(r4) -/* 8006D5D8 0006A538 FD 20 08 50 */ fneg f9, f1 -/* 8006D5DC 0006A53C C0 64 00 00 */ lfs f3, 0(r4) -/* 8006D5E0 0006A540 FC 80 00 50 */ fneg f4, f0 -/* 8006D5E4 0006A544 C0 26 00 04 */ lfs f1, 4(r6) -/* 8006D5E8 0006A548 C0 05 00 04 */ lfs f0, 4(r5) -/* 8006D5EC 0006A54C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8006D5F0 0006A550 C0 A6 00 08 */ lfs f5, 8(r6) -/* 8006D5F4 0006A554 FC 40 20 18 */ frsp f2, f4 -/* 8006D5F8 0006A558 ED 01 00 28 */ fsubs f8, f1, f0 -/* 8006D5FC 0006A55C C0 05 00 08 */ lfs f0, 8(r5) -/* 8006D600 0006A560 C0 C6 00 00 */ lfs f6, 0(r6) -/* 8006D604 0006A564 FC 20 48 18 */ frsp f1, f9 -/* 8006D608 0006A568 EC E5 00 28 */ fsubs f7, f5, f0 -/* 8006D60C 0006A56C C0 A5 00 00 */ lfs f5, 0(r5) -/* 8006D610 0006A570 FC 00 50 18 */ frsp f0, f10 -/* 8006D614 0006A574 D1 01 00 50 */ stfs f8, 0x50(r1) -/* 8006D618 0006A578 EC A6 28 28 */ fsubs f5, f6, f5 -/* 8006D61C 0006A57C 38 A1 00 4C */ addi r5, r1, 0x4c -/* 8006D620 0006A580 D0 E1 00 54 */ stfs f7, 0x54(r1) -/* 8006D624 0006A584 D0 81 00 08 */ stfs f4, 8(r1) -/* 8006D628 0006A588 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 8006D62C 0006A58C D1 21 00 0C */ stfs f9, 0xc(r1) -/* 8006D630 0006A590 D1 41 00 10 */ stfs f10, 0x10(r1) -/* 8006D634 0006A594 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8006D638 0006A598 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8006D63C 0006A59C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8006D640 0006A5A0 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8006D644 0006A5A4 48 2A 3C 21 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 8006D648 0006A5A8 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8006D64C 0006A5AC 38 61 00 58 */ addi r3, r1, 0x58 -/* 8006D650 0006A5B0 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8006D654 0006A5B4 38 81 00 20 */ addi r4, r1, 0x20 -/* 8006D658 0006A5B8 FD 80 00 50 */ fneg f12, f0 -/* 8006D65C 0006A5BC C0 1E 00 04 */ lfs f0, 4(r30) -/* 8006D660 0006A5C0 FD 60 08 50 */ fneg f11, f1 -/* 8006D664 0006A5C4 C1 41 00 40 */ lfs f10, 0x40(r1) -/* 8006D668 0006A5C8 FC 80 00 50 */ fneg f4, f0 -/* 8006D66C 0006A5CC C1 21 00 44 */ lfs f9, 0x44(r1) -/* 8006D670 0006A5D0 C1 01 00 48 */ lfs f8, 0x48(r1) -/* 8006D674 0006A5D4 FC 20 58 18 */ frsp f1, f11 -/* 8006D678 0006A5D8 C0 FF 00 00 */ lfs f7, 0(r31) -/* 8006D67C 0006A5DC FC 40 20 18 */ frsp f2, f4 -/* 8006D680 0006A5E0 C0 DF 00 04 */ lfs f6, 4(r31) -/* 8006D684 0006A5E4 FC 00 60 18 */ frsp f0, f12 -/* 8006D688 0006A5E8 C0 BF 00 08 */ lfs f5, 8(r31) -/* 8006D68C 0006A5EC C0 7E 00 00 */ lfs f3, 0(r30) -/* 8006D690 0006A5F0 EC EA 38 2A */ fadds f7, f10, f7 -/* 8006D694 0006A5F4 D1 41 00 4C */ stfs f10, 0x4c(r1) -/* 8006D698 0006A5F8 EC C9 30 2A */ fadds f6, f9, f6 -/* 8006D69C 0006A5FC EC A8 28 2A */ fadds f5, f8, f5 -/* 8006D6A0 0006A600 D1 21 00 50 */ stfs f9, 0x50(r1) -/* 8006D6A4 0006A604 D1 01 00 54 */ stfs f8, 0x54(r1) -/* 8006D6A8 0006A608 D0 E1 00 4C */ stfs f7, 0x4c(r1) -/* 8006D6AC 0006A60C D0 C1 00 50 */ stfs f6, 0x50(r1) -/* 8006D6B0 0006A610 D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 8006D6B4 0006A614 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8006D6B8 0006A618 D1 61 00 18 */ stfs f11, 0x18(r1) -/* 8006D6BC 0006A61C D1 81 00 1C */ stfs f12, 0x1c(r1) -/* 8006D6C0 0006A620 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8006D6C4 0006A624 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8006D6C8 0006A628 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8006D6CC 0006A62C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8006D6D0 0006A630 48 2A 49 BD */ bl BuildTransform__11CQuaternionCFv -/* 8006D6D4 0006A634 7F A3 EB 78 */ mr r3, r29 -/* 8006D6D8 0006A638 38 81 00 58 */ addi r4, r1, 0x58 -/* 8006D6DC 0006A63C 38 A1 00 4C */ addi r5, r1, 0x4c -/* 8006D6E0 0006A640 48 2A 5B 99 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 8006D6E4 0006A644 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8006D6E8 0006A648 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8006D6EC 0006A64C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8006D6F0 0006A650 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8006D6F4 0006A654 7C 08 03 A6 */ mtlr r0 -/* 8006D6F8 0006A658 38 21 00 90 */ addi r1, r1, 0x90 -/* 8006D6FC 0006A65C 4E 80 00 20 */ blr - -.global "reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl49vector<12CTransform4f,Q24rstl17rmemory_allocator>Fi": -/* 8006D700 0006A660 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006D704 0006A664 7C 08 02 A6 */ mflr r0 -/* 8006D708 0006A668 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006D70C 0006A66C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8006D710 0006A670 7C 9F 23 78 */ mr r31, r4 -/* 8006D714 0006A674 7C 7E 1B 78 */ mr r30, r3 -/* 8006D718 0006A678 80 03 00 08 */ lwz r0, 8(r3) -/* 8006D71C 0006A67C 7C 1F 00 00 */ cmpw r31, r0 -/* 8006D720 0006A680 40 81 00 B4 */ ble lbl_8006D7D4 -/* 8006D724 0006A684 1C 7F 00 30 */ mulli r3, r31, 0x30 -/* 8006D728 0006A688 2C 03 00 00 */ cmpwi r3, 0 -/* 8006D72C 0006A68C 40 82 00 0C */ bne lbl_8006D738 -/* 8006D730 0006A690 3B 80 00 00 */ li r28, 0 -/* 8006D734 0006A694 48 00 00 1C */ b lbl_8006D750 -lbl_8006D738: -/* 8006D738 0006A698 3C 80 80 3D */ lis r4, lbl_803CD0C0@ha -/* 8006D73C 0006A69C 38 A0 00 00 */ li r5, 0 -/* 8006D740 0006A6A0 38 84 D0 C0 */ addi r4, r4, lbl_803CD0C0@l -/* 8006D744 0006A6A4 38 84 01 3B */ addi r4, r4, 0x13b -/* 8006D748 0006A6A8 48 2A 80 D1 */ bl __nwa__FUlPCcPCc -/* 8006D74C 0006A6AC 7C 7C 1B 78 */ mr r28, r3 -lbl_8006D750: -/* 8006D750 0006A6B0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006D754 0006A6B4 7F 9B E3 78 */ mr r27, r28 -/* 8006D758 0006A6B8 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 8006D75C 0006A6BC 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006D760 0006A6C0 93 41 00 10 */ stw r26, 0x10(r1) -/* 8006D764 0006A6C4 7F BA 02 14 */ add r29, r26, r0 -/* 8006D768 0006A6C8 93 41 00 14 */ stw r26, 0x14(r1) -/* 8006D76C 0006A6CC 93 A1 00 08 */ stw r29, 8(r1) -/* 8006D770 0006A6D0 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8006D774 0006A6D4 48 00 00 20 */ b lbl_8006D794 -lbl_8006D778: -/* 8006D778 0006A6D8 28 1B 00 00 */ cmplwi r27, 0 -/* 8006D77C 0006A6DC 41 82 00 10 */ beq lbl_8006D78C -/* 8006D780 0006A6E0 7F 63 DB 78 */ mr r3, r27 -/* 8006D784 0006A6E4 7F 44 D3 78 */ mr r4, r26 -/* 8006D788 0006A6E8 48 2A 53 ED */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_8006D78C: -/* 8006D78C 0006A6EC 3B 7B 00 30 */ addi r27, r27, 0x30 -/* 8006D790 0006A6F0 3B 5A 00 30 */ addi r26, r26, 0x30 -lbl_8006D794: -/* 8006D794 0006A6F4 7C 1A E8 40 */ cmplw r26, r29 -/* 8006D798 0006A6F8 40 82 FF E0 */ bne lbl_8006D778 -/* 8006D79C 0006A6FC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006D7A0 0006A700 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8006D7A4 0006A704 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8006D7A8 0006A708 7C 64 1B 78 */ mr r4, r3 -/* 8006D7AC 0006A70C 7C 03 02 14 */ add r0, r3, r0 -/* 8006D7B0 0006A710 48 00 00 08 */ b lbl_8006D7B8 -lbl_8006D7B4: -/* 8006D7B4 0006A714 38 84 00 30 */ addi r4, r4, 0x30 -lbl_8006D7B8: -/* 8006D7B8 0006A718 7C 04 00 40 */ cmplw r4, r0 -/* 8006D7BC 0006A71C 40 82 FF F8 */ bne lbl_8006D7B4 -/* 8006D7C0 0006A720 28 03 00 00 */ cmplwi r3, 0 -/* 8006D7C4 0006A724 41 82 00 08 */ beq lbl_8006D7CC -/* 8006D7C8 0006A728 48 2A 81 69 */ bl Free__7CMemoryFPCv -lbl_8006D7CC: -/* 8006D7CC 0006A72C 93 9E 00 0C */ stw r28, 0xc(r30) -/* 8006D7D0 0006A730 93 FE 00 08 */ stw r31, 8(r30) -lbl_8006D7D4: -/* 8006D7D4 0006A734 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8006D7D8 0006A738 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006D7DC 0006A73C 7C 08 03 A6 */ mtlr r0 -/* 8006D7E0 0006A740 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006D7E4 0006A744 4E 80 00 20 */ blr - -.global __sinit_CSamusHud_cpp -__sinit_CSamusHud_cpp: -/* 8006D7E8 0006A748 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8006D7EC 0006A74C C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) -/* 8006D7F0 0006A750 3C 60 80 47 */ lis r3, lbl_8046C3C8@ha -/* 8006D7F4 0006A754 C0 24 00 04 */ lfs f1, 4(r4) -/* 8006D7F8 0006A758 D4 43 C3 C8 */ stfsu f2, lbl_8046C3C8@l(r3) -/* 8006D7FC 0006A75C C0 04 00 08 */ lfs f0, 8(r4) -/* 8006D800 0006A760 D0 23 00 04 */ stfs f1, 4(r3) -/* 8006D804 0006A764 D0 03 00 08 */ stfs f0, 8(r3) -/* 8006D808 0006A768 4E 80 00 20 */ blr - -.global "GetUniquePrimitivesFromMetaAnim__22CAnimationDatabaseGameCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetUniquePrimitivesFromMetaAnim__22CAnimationDatabaseGameCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8006D80C 0006A76C 4E 80 00 20 */ blr - -.global "GetAllUniquePrimitives__22CAnimationDatabaseGameCFRQ24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>" -"GetAllUniquePrimitives__22CAnimationDatabaseGameCFRQ24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>": -/* 8006D810 0006A770 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8006D814 0006A774 7C 08 02 A6 */ mflr r0 -/* 8006D818 0006A778 90 01 00 74 */ stw r0, 0x74(r1) -/* 8006D81C 0006A77C 88 A1 00 08 */ lbz r5, 8(r1) -/* 8006D820 0006A780 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 8006D824 0006A784 3B E0 00 00 */ li r31, 0 -/* 8006D828 0006A788 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8006D82C 0006A78C 7C 7A 1B 78 */ mr r26, r3 -/* 8006D830 0006A790 7C 9B 23 78 */ mr r27, r4 -/* 8006D834 0006A794 3B C1 00 40 */ addi r30, r1, 0x40 -/* 8006D838 0006A798 3B 80 00 00 */ li r28, 0 -/* 8006D83C 0006A79C 98 A1 00 38 */ stb r5, 0x38(r1) -/* 8006D840 0006A7A0 83 A3 00 14 */ lwz r29, 0x14(r3) -/* 8006D844 0006A7A4 98 01 00 39 */ stb r0, 0x39(r1) -/* 8006D848 0006A7A8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8006D84C 0006A7AC 93 E1 00 40 */ stw r31, 0x40(r1) -/* 8006D850 0006A7B0 93 E1 00 44 */ stw r31, 0x44(r1) -/* 8006D854 0006A7B4 93 E1 00 48 */ stw r31, 0x48(r1) -/* 8006D858 0006A7B8 48 00 00 2C */ b lbl_8006D884 -lbl_8006D85C: -/* 8006D85C 0006A7BC 80 7A 00 1C */ lwz r3, 0x1c(r26) -/* 8006D860 0006A7C0 38 81 00 38 */ addi r4, r1, 0x38 -/* 8006D864 0006A7C4 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 8006D868 0006A7C8 80 63 00 00 */ lwz r3, 0(r3) -/* 8006D86C 0006A7CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8006D870 0006A7D0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8006D874 0006A7D4 7D 89 03 A6 */ mtctr r12 -/* 8006D878 0006A7D8 4E 80 04 21 */ bctrl -/* 8006D87C 0006A7DC 3B 9C 00 01 */ addi r28, r28, 1 -/* 8006D880 0006A7E0 3B FF 00 04 */ addi r31, r31, 4 -lbl_8006D884: -/* 8006D884 0006A7E4 7C 1C E8 40 */ cmplw r28, r29 -/* 8006D888 0006A7E8 41 80 FF D4 */ blt lbl_8006D85C -/* 8006D88C 0006A7EC 80 9B 00 04 */ lwz r4, 4(r27) -/* 8006D890 0006A7F0 7F 63 DB 78 */ mr r3, r27 -/* 8006D894 0006A7F4 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8006D898 0006A7F8 7C 84 02 14 */ add r4, r4, r0 -/* 8006D89C 0006A7FC 48 00 06 99 */ bl "reserve__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>Fi" -/* 8006D8A0 0006A800 81 01 00 40 */ lwz r8, 0x40(r1) -/* 8006D8A4 0006A804 39 20 00 00 */ li r9, 0 -/* 8006D8A8 0006A808 91 21 00 20 */ stw r9, 0x20(r1) -/* 8006D8AC 0006A80C 7F 63 DB 78 */ mr r3, r27 -/* 8006D8B0 0006A810 38 81 00 14 */ addi r4, r1, 0x14 -/* 8006D8B4 0006A814 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8006D8B8 0006A818 93 C1 00 24 */ stw r30, 0x24(r1) -/* 8006D8BC 0006A81C 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8006D8C0 0006A820 91 01 00 30 */ stw r8, 0x30(r1) -/* 8006D8C4 0006A824 93 C1 00 34 */ stw r30, 0x34(r1) -/* 8006D8C8 0006A828 80 1B 00 04 */ lwz r0, 4(r27) -/* 8006D8CC 0006A82C 80 FB 00 0C */ lwz r7, 0xc(r27) -/* 8006D8D0 0006A830 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 8006D8D4 0006A834 91 21 00 18 */ stw r9, 0x18(r1) -/* 8006D8D8 0006A838 93 C1 00 1C */ stw r30, 0x1c(r1) -/* 8006D8DC 0006A83C 7C 07 02 14 */ add r0, r7, r0 -/* 8006D8E0 0006A840 91 01 00 28 */ stw r8, 0x28(r1) -/* 8006D8E4 0006A844 93 C1 00 2C */ stw r30, 0x2c(r1) -/* 8006D8E8 0006A848 90 01 00 10 */ stw r0, 0x10(r1) -/* 8006D8EC 0006A84C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006D8F0 0006A850 48 00 00 41 */ bl sub_8006d930 -/* 8006D8F4 0006A854 80 81 00 48 */ lwz r4, 0x48(r1) -/* 8006D8F8 0006A858 28 04 00 00 */ cmplwi r4, 0 -/* 8006D8FC 0006A85C 41 82 00 0C */ beq lbl_8006D908 -/* 8006D900 0006A860 38 61 00 38 */ addi r3, r1, 0x38 -/* 8006D904 0006A864 4B FC 39 A5 */ bl sub_800312a8 -lbl_8006D908: -/* 8006D908 0006A868 38 00 00 00 */ li r0, 0 -/* 8006D90C 0006A86C 90 01 00 48 */ stw r0, 0x48(r1) -/* 8006D910 0006A870 90 01 00 40 */ stw r0, 0x40(r1) -/* 8006D914 0006A874 90 01 00 44 */ stw r0, 0x44(r1) -/* 8006D918 0006A878 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8006D91C 0006A87C BB 41 00 58 */ lmw r26, 0x58(r1) -/* 8006D920 0006A880 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8006D924 0006A884 7C 08 03 A6 */ mtlr r0 -/* 8006D928 0006A888 38 21 00 70 */ addi r1, r1, 0x70 -/* 8006D92C 0006A88C 4E 80 00 20 */ blr - -.global sub_8006d930 -sub_8006d930: -/* 8006D930 0006A890 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006D934 0006A894 7C 08 02 A6 */ mflr r0 -/* 8006D938 0006A898 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006D93C 0006A89C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8006D940 0006A8A0 7C 7F 1B 78 */ mr r31, r3 -/* 8006D944 0006A8A4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8006D948 0006A8A8 81 25 00 00 */ lwz r9, 0(r5) -/* 8006D94C 0006A8AC 81 05 00 04 */ lwz r8, 4(r5) -/* 8006D950 0006A8B0 80 04 00 00 */ lwz r0, 0(r4) -/* 8006D954 0006A8B4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8006D958 0006A8B8 80 E6 00 00 */ lwz r7, 0(r6) -/* 8006D95C 0006A8BC 80 A6 00 04 */ lwz r5, 4(r6) -/* 8006D960 0006A8C0 91 21 00 0C */ stw r9, 0xc(r1) -/* 8006D964 0006A8C4 91 01 00 10 */ stw r8, 0x10(r1) -/* 8006D968 0006A8C8 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8006D96C 0006A8CC 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8006D970 0006A8D0 91 21 00 1C */ stw r9, 0x1c(r1) -/* 8006D974 0006A8D4 91 01 00 20 */ stw r8, 0x20(r1) -/* 8006D978 0006A8D8 90 01 00 08 */ stw r0, 8(r1) -/* 8006D97C 0006A8DC 48 00 04 DD */ bl "distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator" -/* 8006D980 0006A8E0 7C 65 1B 78 */ mr r5, r3 -/* 8006D984 0006A8E4 7F E3 FB 78 */ mr r3, r31 -/* 8006D988 0006A8E8 38 81 00 08 */ addi r4, r1, 8 -/* 8006D98C 0006A8EC 38 C1 00 0C */ addi r6, r1, 0xc -/* 8006D990 0006A8F0 48 00 00 19 */ bl "insert_into,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>FQ24rstl114pointer_iterator<10CPrimitive,Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator" -/* 8006D994 0006A8F4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006D998 0006A8F8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8006D99C 0006A8FC 7C 08 03 A6 */ mtlr r0 -/* 8006D9A0 0006A900 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006D9A4 0006A904 4E 80 00 20 */ blr - -.global "insert_into,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>FQ24rstl114pointer_iterator<10CPrimitive,Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator" -"insert_into,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>FQ24rstl114pointer_iterator<10CPrimitive,Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator": -/* 8006D9A8 0006A908 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8006D9AC 0006A90C 7C 08 02 A6 */ mflr r0 -/* 8006D9B0 0006A910 90 01 00 44 */ stw r0, 0x44(r1) -/* 8006D9B4 0006A914 BE 81 00 10 */ stmw r20, 0x10(r1) -/* 8006D9B8 0006A918 7C BF 2B 78 */ mr r31, r5 -/* 8006D9BC 0006A91C 7C 7E 1B 78 */ mr r30, r3 -/* 8006D9C0 0006A920 7C 94 23 78 */ mr r20, r4 -/* 8006D9C4 0006A924 80 A3 00 04 */ lwz r5, 4(r3) -/* 8006D9C8 0006A928 80 63 00 08 */ lwz r3, 8(r3) -/* 8006D9CC 0006A92C 7C E5 FA 14 */ add r7, r5, r31 -/* 8006D9D0 0006A930 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8006D9D4 0006A934 7C 07 18 00 */ cmpw r7, r3 -/* 8006D9D8 0006A938 83 66 00 00 */ lwz r27, 0(r6) -/* 8006D9DC 0006A93C 83 46 00 04 */ lwz r26, 4(r6) -/* 8006D9E0 0006A940 7C 97 23 78 */ mr r23, r4 -/* 8006D9E4 0006A944 41 81 01 08 */ bgt lbl_8006DAEC -/* 8006D9E8 0006A948 80 14 00 00 */ lwz r0, 0(r20) -/* 8006D9EC 0006A94C 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha -/* 8006D9F0 0006A950 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l -/* 8006D9F4 0006A954 7C 04 00 50 */ subf r0, r4, r0 -/* 8006D9F8 0006A958 7C 03 00 96 */ mulhw r0, r3, r0 -/* 8006D9FC 0006A95C 7C 00 16 70 */ srawi r0, r0, 2 -/* 8006DA00 0006A960 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8006DA04 0006A964 7E 80 1A 14 */ add r20, r0, r3 -/* 8006DA08 0006A968 7C 74 28 50 */ subf r3, r20, r5 -/* 8006DA0C 0006A96C 3A E3 FF FF */ addi r23, r3, -1 -/* 8006DA10 0006A970 1C 74 00 18 */ mulli r3, r20, 0x18 -/* 8006DA14 0006A974 1C 1F 00 18 */ mulli r0, r31, 0x18 -/* 8006DA18 0006A978 7F 04 1A 14 */ add r24, r4, r3 -/* 8006DA1C 0006A97C 1C 77 00 18 */ mulli r3, r23, 0x18 -/* 8006DA20 0006A980 7E A0 1A 14 */ add r21, r0, r3 -/* 8006DA24 0006A984 7E B8 AA 14 */ add r21, r24, r21 -/* 8006DA28 0006A988 7E D8 1A 14 */ add r22, r24, r3 -/* 8006DA2C 0006A98C 48 00 00 5C */ b lbl_8006DA88 -lbl_8006DA30: -/* 8006DA30 0006A990 7C 14 BA 14 */ add r0, r20, r23 -/* 8006DA34 0006A994 28 15 00 00 */ cmplwi r21, 0 -/* 8006DA38 0006A998 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 8006DA3C 0006A99C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8006DA40 0006A9A0 7C A3 02 14 */ add r5, r3, r0 -/* 8006DA44 0006A9A4 41 82 00 20 */ beq lbl_8006DA64 -/* 8006DA48 0006A9A8 80 05 00 00 */ lwz r0, 0(r5) -/* 8006DA4C 0006A9AC 38 75 00 08 */ addi r3, r21, 8 -/* 8006DA50 0006A9B0 38 85 00 08 */ addi r4, r5, 8 -/* 8006DA54 0006A9B4 90 15 00 00 */ stw r0, 0(r21) -/* 8006DA58 0006A9B8 80 05 00 04 */ lwz r0, 4(r5) -/* 8006DA5C 0006A9BC 90 15 00 04 */ stw r0, 4(r21) -/* 8006DA60 0006A9C0 48 2D 07 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8006DA64: -/* 8006DA64 0006A9C4 28 16 00 00 */ cmplwi r22, 0 -/* 8006DA68 0006A9C8 41 82 00 14 */ beq lbl_8006DA7C -/* 8006DA6C 0006A9CC 34 16 00 08 */ addic. r0, r22, 8 -/* 8006DA70 0006A9D0 41 82 00 0C */ beq lbl_8006DA7C -/* 8006DA74 0006A9D4 38 76 00 08 */ addi r3, r22, 8 -/* 8006DA78 0006A9D8 48 2D 00 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8006DA7C: -/* 8006DA7C 0006A9DC 3A B5 FF E8 */ addi r21, r21, -24 -/* 8006DA80 0006A9E0 3A D6 FF E8 */ addi r22, r22, -24 -/* 8006DA84 0006A9E4 3A F7 FF FF */ addi r23, r23, -1 -lbl_8006DA88: -/* 8006DA88 0006A9E8 2C 17 00 00 */ cmpwi r23, 0 -/* 8006DA8C 0006A9EC 40 80 FF A4 */ bge lbl_8006DA30 -/* 8006DA90 0006A9F0 3A 80 00 00 */ li r20, 0 -/* 8006DA94 0006A9F4 48 00 00 40 */ b lbl_8006DAD4 -lbl_8006DA98: -/* 8006DA98 0006A9F8 28 18 00 00 */ cmplwi r24, 0 -/* 8006DA9C 0006A9FC 41 82 00 20 */ beq lbl_8006DABC -/* 8006DAA0 0006AA00 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 8006DAA4 0006AA04 38 78 00 08 */ addi r3, r24, 8 -/* 8006DAA8 0006AA08 38 9B 00 18 */ addi r4, r27, 0x18 -/* 8006DAAC 0006AA0C 90 18 00 00 */ stw r0, 0(r24) -/* 8006DAB0 0006AA10 80 1B 00 14 */ lwz r0, 0x14(r27) -/* 8006DAB4 0006AA14 90 18 00 04 */ stw r0, 4(r24) -/* 8006DAB8 0006AA18 48 2D 06 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8006DABC: -/* 8006DABC 0006AA1C 7F 43 D3 78 */ mr r3, r26 -/* 8006DAC0 0006AA20 7F 64 DB 78 */ mr r4, r27 -/* 8006DAC4 0006AA24 48 2C EB 1D */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8006DAC8 0006AA28 7C 7B 1B 78 */ mr r27, r3 -/* 8006DACC 0006AA2C 3A 94 00 01 */ addi r20, r20, 1 -/* 8006DAD0 0006AA30 3B 18 00 18 */ addi r24, r24, 0x18 -lbl_8006DAD4: -/* 8006DAD4 0006AA34 7C 14 F8 00 */ cmpw r20, r31 -/* 8006DAD8 0006AA38 41 80 FF C0 */ blt lbl_8006DA98 -/* 8006DADC 0006AA3C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006DAE0 0006AA40 7C 00 FA 14 */ add r0, r0, r31 -/* 8006DAE4 0006AA44 90 1E 00 04 */ stw r0, 4(r30) -/* 8006DAE8 0006AA48 48 00 01 D4 */ b lbl_8006DCBC -lbl_8006DAEC: -/* 8006DAEC 0006AA4C 2C 03 00 00 */ cmpwi r3, 0 -/* 8006DAF0 0006AA50 38 00 00 04 */ li r0, 4 -/* 8006DAF4 0006AA54 41 82 00 08 */ beq lbl_8006DAFC -/* 8006DAF8 0006AA58 54 60 08 3C */ slwi r0, r3, 1 -lbl_8006DAFC: -/* 8006DAFC 0006AA5C 7C 16 03 78 */ mr r22, r0 -/* 8006DB00 0006AA60 48 00 00 08 */ b lbl_8006DB08 -lbl_8006DB04: -/* 8006DB04 0006AA64 56 D6 08 3C */ slwi r22, r22, 1 -lbl_8006DB08: -/* 8006DB08 0006AA68 7C 16 38 00 */ cmpw r22, r7 -/* 8006DB0C 0006AA6C 41 80 FF F8 */ blt lbl_8006DB04 -/* 8006DB10 0006AA70 1C 76 00 18 */ mulli r3, r22, 0x18 -/* 8006DB14 0006AA74 2C 03 00 00 */ cmpwi r3, 0 -/* 8006DB18 0006AA78 40 82 00 0C */ bne lbl_8006DB24 -/* 8006DB1C 0006AA7C 3B A0 00 00 */ li r29, 0 -/* 8006DB20 0006AA80 48 00 00 18 */ b lbl_8006DB38 -lbl_8006DB24: -/* 8006DB24 0006AA84 3C 80 80 3D */ lis r4, lbl_803CD250@ha -/* 8006DB28 0006AA88 38 A0 00 00 */ li r5, 0 -/* 8006DB2C 0006AA8C 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l -/* 8006DB30 0006AA90 48 2A 7C E9 */ bl __nwa__FUlPCcPCc -/* 8006DB34 0006AA94 7C 7D 1B 78 */ mr r29, r3 -lbl_8006DB38: -/* 8006DB38 0006AA98 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8006DB3C 0006AA9C 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha -/* 8006DB40 0006AAA0 80 14 00 00 */ lwz r0, 0(r20) -/* 8006DB44 0006AAA4 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l -/* 8006DB48 0006AAA8 7F B8 EB 78 */ mr r24, r29 -/* 8006DB4C 0006AAAC 3A A0 00 00 */ li r21, 0 -/* 8006DB50 0006AAB0 7C 04 00 50 */ subf r0, r4, r0 -/* 8006DB54 0006AAB4 3A 80 00 00 */ li r20, 0 -/* 8006DB58 0006AAB8 7C 03 00 96 */ mulhw r0, r3, r0 -/* 8006DB5C 0006AABC 3B 20 00 00 */ li r25, 0 -/* 8006DB60 0006AAC0 7C 00 16 70 */ srawi r0, r0, 2 -/* 8006DB64 0006AAC4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8006DB68 0006AAC8 7F 80 1A 14 */ add r28, r0, r3 -/* 8006DB6C 0006AACC 48 00 00 40 */ b lbl_8006DBAC -lbl_8006DB70: -/* 8006DB70 0006AAD0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8006DB74 0006AAD4 28 18 00 00 */ cmplwi r24, 0 -/* 8006DB78 0006AAD8 7C A0 CA 14 */ add r5, r0, r25 -/* 8006DB7C 0006AADC 41 82 00 20 */ beq lbl_8006DB9C -/* 8006DB80 0006AAE0 80 05 00 00 */ lwz r0, 0(r5) -/* 8006DB84 0006AAE4 38 78 00 08 */ addi r3, r24, 8 -/* 8006DB88 0006AAE8 38 85 00 08 */ addi r4, r5, 8 -/* 8006DB8C 0006AAEC 90 18 00 00 */ stw r0, 0(r24) -/* 8006DB90 0006AAF0 80 05 00 04 */ lwz r0, 4(r5) -/* 8006DB94 0006AAF4 90 18 00 04 */ stw r0, 4(r24) -/* 8006DB98 0006AAF8 48 2D 05 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8006DB9C: -/* 8006DB9C 0006AAFC 3B 18 00 18 */ addi r24, r24, 0x18 -/* 8006DBA0 0006AB00 3A B5 00 01 */ addi r21, r21, 1 -/* 8006DBA4 0006AB04 3B 39 00 18 */ addi r25, r25, 0x18 -/* 8006DBA8 0006AB08 3A 94 00 01 */ addi r20, r20, 1 -lbl_8006DBAC: -/* 8006DBAC 0006AB0C 7C 14 E0 00 */ cmpw r20, r28 -/* 8006DBB0 0006AB10 41 80 FF C0 */ blt lbl_8006DB70 -/* 8006DBB4 0006AB14 1C 15 00 18 */ mulli r0, r21, 0x18 -/* 8006DBB8 0006AB18 3B 00 00 00 */ li r24, 0 -/* 8006DBBC 0006AB1C 7E 9D 02 14 */ add r20, r29, r0 -/* 8006DBC0 0006AB20 48 00 00 44 */ b lbl_8006DC04 -lbl_8006DBC4: -/* 8006DBC4 0006AB24 28 14 00 00 */ cmplwi r20, 0 -/* 8006DBC8 0006AB28 41 82 00 20 */ beq lbl_8006DBE8 -/* 8006DBCC 0006AB2C 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 8006DBD0 0006AB30 38 74 00 08 */ addi r3, r20, 8 -/* 8006DBD4 0006AB34 38 9B 00 18 */ addi r4, r27, 0x18 -/* 8006DBD8 0006AB38 90 14 00 00 */ stw r0, 0(r20) -/* 8006DBDC 0006AB3C 80 1B 00 14 */ lwz r0, 0x14(r27) -/* 8006DBE0 0006AB40 90 14 00 04 */ stw r0, 4(r20) -/* 8006DBE4 0006AB44 48 2D 05 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8006DBE8: -/* 8006DBE8 0006AB48 7F 43 D3 78 */ mr r3, r26 -/* 8006DBEC 0006AB4C 7F 64 DB 78 */ mr r4, r27 -/* 8006DBF0 0006AB50 48 2C E9 F1 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8006DBF4 0006AB54 7C 7B 1B 78 */ mr r27, r3 -/* 8006DBF8 0006AB58 3A B5 00 01 */ addi r21, r21, 1 -/* 8006DBFC 0006AB5C 3B 18 00 01 */ addi r24, r24, 1 -/* 8006DC00 0006AB60 3A 94 00 18 */ addi r20, r20, 0x18 -lbl_8006DC04: -/* 8006DC04 0006AB64 7C 18 F8 00 */ cmpw r24, r31 -/* 8006DC08 0006AB68 41 80 FF BC */ blt lbl_8006DBC4 -/* 8006DC0C 0006AB6C 1C 15 00 18 */ mulli r0, r21, 0x18 -/* 8006DC10 0006AB70 7F 98 E3 78 */ mr r24, r28 -/* 8006DC14 0006AB74 1E 9C 00 18 */ mulli r20, r28, 0x18 -/* 8006DC18 0006AB78 7E BD 02 14 */ add r21, r29, r0 -/* 8006DC1C 0006AB7C 48 00 00 3C */ b lbl_8006DC58 -lbl_8006DC20: -/* 8006DC20 0006AB80 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8006DC24 0006AB84 28 15 00 00 */ cmplwi r21, 0 -/* 8006DC28 0006AB88 7C A0 A2 14 */ add r5, r0, r20 -/* 8006DC2C 0006AB8C 41 82 00 20 */ beq lbl_8006DC4C -/* 8006DC30 0006AB90 80 05 00 00 */ lwz r0, 0(r5) -/* 8006DC34 0006AB94 38 75 00 08 */ addi r3, r21, 8 -/* 8006DC38 0006AB98 38 85 00 08 */ addi r4, r5, 8 -/* 8006DC3C 0006AB9C 90 15 00 00 */ stw r0, 0(r21) -/* 8006DC40 0006ABA0 80 05 00 04 */ lwz r0, 4(r5) -/* 8006DC44 0006ABA4 90 15 00 04 */ stw r0, 4(r21) -/* 8006DC48 0006ABA8 48 2D 05 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8006DC4C: -/* 8006DC4C 0006ABAC 3A B5 00 18 */ addi r21, r21, 0x18 -/* 8006DC50 0006ABB0 3A 94 00 18 */ addi r20, r20, 0x18 -/* 8006DC54 0006ABB4 3B 18 00 01 */ addi r24, r24, 1 -lbl_8006DC58: -/* 8006DC58 0006ABB8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006DC5C 0006ABBC 7C 18 00 00 */ cmpw r24, r0 -/* 8006DC60 0006ABC0 41 80 FF C0 */ blt lbl_8006DC20 -/* 8006DC64 0006ABC4 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 8006DC68 0006ABC8 7E F4 BB 78 */ mr r20, r23 -/* 8006DC6C 0006ABCC 7E B7 02 14 */ add r21, r23, r0 -/* 8006DC70 0006ABD0 48 00 00 20 */ b lbl_8006DC90 -lbl_8006DC74: -/* 8006DC74 0006ABD4 28 14 00 00 */ cmplwi r20, 0 -/* 8006DC78 0006ABD8 41 82 00 14 */ beq lbl_8006DC8C -/* 8006DC7C 0006ABDC 34 14 00 08 */ addic. r0, r20, 8 -/* 8006DC80 0006ABE0 41 82 00 0C */ beq lbl_8006DC8C -/* 8006DC84 0006ABE4 38 74 00 08 */ addi r3, r20, 8 -/* 8006DC88 0006ABE8 48 2C FE 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8006DC8C: -/* 8006DC8C 0006ABEC 3A 94 00 18 */ addi r20, r20, 0x18 -lbl_8006DC90: -/* 8006DC90 0006ABF0 7C 14 A8 40 */ cmplw r20, r21 -/* 8006DC94 0006ABF4 40 82 FF E0 */ bne lbl_8006DC74 -/* 8006DC98 0006ABF8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8006DC9C 0006ABFC 28 03 00 00 */ cmplwi r3, 0 -/* 8006DCA0 0006AC00 41 82 00 08 */ beq lbl_8006DCA8 -/* 8006DCA4 0006AC04 48 2A 7C 8D */ bl Free__7CMemoryFPCv -lbl_8006DCA8: -/* 8006DCA8 0006AC08 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8006DCAC 0006AC0C 92 DE 00 08 */ stw r22, 8(r30) -/* 8006DCB0 0006AC10 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006DCB4 0006AC14 7C 00 FA 14 */ add r0, r0, r31 -/* 8006DCB8 0006AC18 90 1E 00 04 */ stw r0, 4(r30) -lbl_8006DCBC: -/* 8006DCBC 0006AC1C BA 81 00 10 */ lmw r20, 0x10(r1) -/* 8006DCC0 0006AC20 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8006DCC4 0006AC24 7C 08 03 A6 */ mtlr r0 -/* 8006DCC8 0006AC28 38 21 00 40 */ addi r1, r1, 0x40 -/* 8006DCCC 0006AC2C 4E 80 00 20 */ blr - -.global GetMetaAnim__22CAnimationDatabaseGameCFUi -GetMetaAnim__22CAnimationDatabaseGameCFUi: -/* 8006DCD0 0006AC30 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 8006DCD4 0006AC34 54 80 10 3A */ slwi r0, r4, 2 -/* 8006DCD8 0006AC38 7C 63 02 14 */ add r3, r3, r0 -/* 8006DCDC 0006AC3C 4E 80 00 20 */ blr - -.global GetNumMetaAnims__22CAnimationDatabaseGameCFv -GetNumMetaAnims__22CAnimationDatabaseGameCFv: -/* 8006DCE0 0006AC40 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8006DCE4 0006AC44 4E 80 00 20 */ blr - -.global GetMetaAnimName__22CAnimationDatabaseGameCFUi -GetMetaAnimName__22CAnimationDatabaseGameCFUi: -/* 8006DCE8 0006AC48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006DCEC 0006AC4C 7C 08 02 A6 */ mflr r0 -/* 8006DCF0 0006AC50 3C 80 80 3D */ lis r4, lbl_803CD250@ha -/* 8006DCF4 0006AC54 38 A0 FF FF */ li r5, -1 -/* 8006DCF8 0006AC58 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l -/* 8006DCFC 0006AC5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006DD00 0006AC60 38 C1 00 08 */ addi r6, r1, 8 -/* 8006DD04 0006AC64 38 84 00 07 */ addi r4, r4, 7 -/* 8006DD08 0006AC68 48 2D 04 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8006DD0C 0006AC6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006DD10 0006AC70 7C 08 03 A6 */ mtlr r0 -/* 8006DD14 0006AC74 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006DD18 0006AC78 4E 80 00 20 */ blr - -.global "__ct__22CAnimationDatabaseGameFRCQ24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>" -"__ct__22CAnimationDatabaseGameFRCQ24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>": -/* 8006DD1C 0006AC7C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006DD20 0006AC80 7C 08 02 A6 */ mflr r0 -/* 8006DD24 0006AC84 3C A0 80 3E */ lis r5, lbl_803D9BE0@ha -/* 8006DD28 0006AC88 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006DD2C 0006AC8C 38 00 00 00 */ li r0, 0 -/* 8006DD30 0006AC90 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8006DD34 0006AC94 7C 7F 1B 78 */ mr r31, r3 -/* 8006DD38 0006AC98 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8006DD3C 0006AC9C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8006DD40 0006ACA0 7C 9D 23 78 */ mr r29, r4 -/* 8006DD44 0006ACA4 98 01 00 10 */ stb r0, 0x10(r1) -/* 8006DD48 0006ACA8 38 05 9B E0 */ addi r0, r5, lbl_803D9BE0@l -/* 8006DD4C 0006ACAC 90 03 00 00 */ stw r0, 0(r3) -/* 8006DD50 0006ACB0 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8006DD54 0006ACB4 98 03 00 0C */ stb r0, 0xc(r3) -/* 8006DD58 0006ACB8 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8006DD5C 0006ACBC 28 00 00 00 */ cmplwi r0, 0 -/* 8006DD60 0006ACC0 41 82 00 14 */ beq lbl_8006DD74 -/* 8006DD64 0006ACC4 34 7F 00 04 */ addic. r3, r31, 4 -/* 8006DD68 0006ACC8 38 81 00 08 */ addi r4, r1, 8 -/* 8006DD6C 0006ACCC 41 82 00 08 */ beq lbl_8006DD74 -/* 8006DD70 0006ACD0 48 2D 31 39 */ bl __ct__6CTokenFRC6CToken -lbl_8006DD74: -/* 8006DD74 0006ACD4 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8006DD78 0006ACD8 28 00 00 00 */ cmplwi r0, 0 -/* 8006DD7C 0006ACDC 41 82 00 14 */ beq lbl_8006DD90 -/* 8006DD80 0006ACE0 34 61 00 08 */ addic. r3, r1, 8 -/* 8006DD84 0006ACE4 41 82 00 0C */ beq lbl_8006DD90 -/* 8006DD88 0006ACE8 38 80 00 00 */ li r4, 0 -/* 8006DD8C 0006ACEC 48 2D 30 B5 */ bl __dt__6CTokenFv -lbl_8006DD90: -/* 8006DD90 0006ACF0 38 80 00 00 */ li r4, 0 -/* 8006DD94 0006ACF4 3C 60 80 3E */ lis r3, lbl_803DA320@ha -/* 8006DD98 0006ACF8 98 81 00 10 */ stb r4, 0x10(r1) -/* 8006DD9C 0006ACFC 38 03 A3 20 */ addi r0, r3, lbl_803DA320@l -/* 8006DDA0 0006AD00 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8006DDA4 0006AD04 90 1F 00 00 */ stw r0, 0(r31) -/* 8006DDA8 0006AD08 90 9F 00 14 */ stw r4, 0x14(r31) -/* 8006DDAC 0006AD0C 90 9F 00 18 */ stw r4, 0x18(r31) -/* 8006DDB0 0006AD10 90 9F 00 1C */ stw r4, 0x1c(r31) -/* 8006DDB4 0006AD14 80 9D 00 04 */ lwz r4, 4(r29) -/* 8006DDB8 0006AD18 83 BD 00 0C */ lwz r29, 0xc(r29) -/* 8006DDBC 0006AD1C 1C 04 00 14 */ mulli r0, r4, 0x14 -/* 8006DDC0 0006AD20 7F DD 02 14 */ add r30, r29, r0 -/* 8006DDC4 0006AD24 48 00 02 7D */ bl "reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi" -/* 8006DDC8 0006AD28 48 00 00 68 */ b lbl_8006DE30 -lbl_8006DDCC: -/* 8006DDCC 0006AD2C 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8006DDD0 0006AD30 80 BF 00 18 */ lwz r5, 0x18(r31) -/* 8006DDD4 0006AD34 7C 00 28 00 */ cmpw r0, r5 -/* 8006DDD8 0006AD38 41 80 00 1C */ blt lbl_8006DDF4 -/* 8006DDDC 0006AD3C 2C 05 00 00 */ cmpwi r5, 0 -/* 8006DDE0 0006AD40 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8006DDE4 0006AD44 38 80 00 04 */ li r4, 4 -/* 8006DDE8 0006AD48 41 82 00 08 */ beq lbl_8006DDF0 -/* 8006DDEC 0006AD4C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006DDF0: -/* 8006DDF0 0006AD50 48 00 02 51 */ bl "reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi" -lbl_8006DDF4: -/* 8006DDF4 0006AD54 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8006DDF8 0006AD58 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 8006DDFC 0006AD5C 54 00 10 3A */ slwi r0, r0, 2 -/* 8006DE00 0006AD60 7C 63 02 15 */ add. r3, r3, r0 -/* 8006DE04 0006AD64 41 82 00 1C */ beq lbl_8006DE20 -/* 8006DE08 0006AD68 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8006DE0C 0006AD6C 90 03 00 00 */ stw r0, 0(r3) -/* 8006DE10 0006AD70 80 83 00 00 */ lwz r4, 0(r3) -/* 8006DE14 0006AD74 80 64 00 04 */ lwz r3, 4(r4) -/* 8006DE18 0006AD78 38 03 00 01 */ addi r0, r3, 1 -/* 8006DE1C 0006AD7C 90 04 00 04 */ stw r0, 4(r4) -lbl_8006DE20: -/* 8006DE20 0006AD80 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 8006DE24 0006AD84 3B BD 00 14 */ addi r29, r29, 0x14 -/* 8006DE28 0006AD88 38 03 00 01 */ addi r0, r3, 1 -/* 8006DE2C 0006AD8C 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_8006DE30: -/* 8006DE30 0006AD90 7C 1D F0 40 */ cmplw r29, r30 -/* 8006DE34 0006AD94 40 82 FF 98 */ bne lbl_8006DDCC -/* 8006DE38 0006AD98 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006DE3C 0006AD9C 7F E3 FB 78 */ mr r3, r31 -/* 8006DE40 0006ADA0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8006DE44 0006ADA4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8006DE48 0006ADA8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8006DE4C 0006ADAC 7C 08 03 A6 */ mtlr r0 -/* 8006DE50 0006ADB0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006DE54 0006ADB4 4E 80 00 20 */ blr - -.global "distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator" -"distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator": -/* 8006DE58 0006ADB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006DE5C 0006ADBC 7C 08 02 A6 */ mflr r0 -/* 8006DE60 0006ADC0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006DE64 0006ADC4 38 A1 00 0C */ addi r5, r1, 0xc -/* 8006DE68 0006ADC8 89 21 00 08 */ lbz r9, 8(r1) -/* 8006DE6C 0006ADCC 81 04 00 00 */ lwz r8, 0(r4) -/* 8006DE70 0006ADD0 80 E4 00 04 */ lwz r7, 4(r4) -/* 8006DE74 0006ADD4 38 81 00 10 */ addi r4, r1, 0x10 -/* 8006DE78 0006ADD8 80 C3 00 00 */ lwz r6, 0(r3) -/* 8006DE7C 0006ADDC 80 03 00 04 */ lwz r0, 4(r3) -/* 8006DE80 0006ADE0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8006DE84 0006ADE4 99 21 00 0C */ stb r9, 0xc(r1) -/* 8006DE88 0006ADE8 91 01 00 10 */ stw r8, 0x10(r1) -/* 8006DE8C 0006ADEC 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8006DE90 0006ADF0 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8006DE94 0006ADF4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8006DE98 0006ADF8 48 00 00 15 */ bl "__distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ24rstl20forward_iterator_tag" -/* 8006DE9C 0006ADFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8006DEA0 0006AE00 7C 08 03 A6 */ mtlr r0 -/* 8006DEA4 0006AE04 38 21 00 20 */ addi r1, r1, 0x20 -/* 8006DEA8 0006AE08 4E 80 00 20 */ blr - -.global "__distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ24rstl20forward_iterator_tag" -"__distance,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ24rstl20forward_iterator_tag": -/* 8006DEAC 0006AE0C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006DEB0 0006AE10 7C 08 02 A6 */ mflr r0 -/* 8006DEB4 0006AE14 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006DEB8 0006AE18 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8006DEBC 0006AE1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8006DEC0 0006AE20 3B C0 00 00 */ li r30, 0 -/* 8006DEC4 0006AE24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8006DEC8 0006AE28 7C 9D 23 78 */ mr r29, r4 -/* 8006DECC 0006AE2C 80 A3 00 00 */ lwz r5, 0(r3) -/* 8006DED0 0006AE30 83 E3 00 04 */ lwz r31, 4(r3) -/* 8006DED4 0006AE34 48 00 00 18 */ b lbl_8006DEEC -lbl_8006DED8: -/* 8006DED8 0006AE38 7F E3 FB 78 */ mr r3, r31 -/* 8006DEDC 0006AE3C 7C A4 2B 78 */ mr r4, r5 -/* 8006DEE0 0006AE40 3B DE 00 01 */ addi r30, r30, 1 -/* 8006DEE4 0006AE44 48 2C E6 FD */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8006DEE8 0006AE48 7C 65 1B 78 */ mr r5, r3 -lbl_8006DEEC: -/* 8006DEEC 0006AE4C 80 1D 00 00 */ lwz r0, 0(r29) -/* 8006DEF0 0006AE50 38 60 00 00 */ li r3, 0 -/* 8006DEF4 0006AE54 7C 05 00 40 */ cmplw r5, r0 -/* 8006DEF8 0006AE58 40 82 00 10 */ bne lbl_8006DF08 -/* 8006DEFC 0006AE5C 80 1D 00 04 */ lwz r0, 4(r29) -/* 8006DF00 0006AE60 7C 1F 00 40 */ cmplw r31, r0 -/* 8006DF04 0006AE64 41 82 00 08 */ beq lbl_8006DF0C -lbl_8006DF08: -/* 8006DF08 0006AE68 38 60 00 01 */ li r3, 1 -lbl_8006DF0C: -/* 8006DF0C 0006AE6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8006DF10 0006AE70 40 82 FF C8 */ bne lbl_8006DED8 -/* 8006DF14 0006AE74 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8006DF18 0006AE78 7F C3 F3 78 */ mr r3, r30 -/* 8006DF1C 0006AE7C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8006DF20 0006AE80 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8006DF24 0006AE84 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8006DF28 0006AE88 7C 08 03 A6 */ mtlr r0 -/* 8006DF2C 0006AE8C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8006DF30 0006AE90 4E 80 00 20 */ blr - -.global "reserve__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>Fi": -/* 8006DF34 0006AE94 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006DF38 0006AE98 7C 08 02 A6 */ mflr r0 -/* 8006DF3C 0006AE9C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006DF40 0006AEA0 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8006DF44 0006AEA4 7C 9F 23 78 */ mr r31, r4 -/* 8006DF48 0006AEA8 7C 7E 1B 78 */ mr r30, r3 -/* 8006DF4C 0006AEAC 80 03 00 08 */ lwz r0, 8(r3) -/* 8006DF50 0006AEB0 7C 1F 00 00 */ cmpw r31, r0 -/* 8006DF54 0006AEB4 40 81 00 D8 */ ble lbl_8006E02C -/* 8006DF58 0006AEB8 1C 7F 00 18 */ mulli r3, r31, 0x18 -/* 8006DF5C 0006AEBC 2C 03 00 00 */ cmpwi r3, 0 -/* 8006DF60 0006AEC0 40 82 00 0C */ bne lbl_8006DF6C -/* 8006DF64 0006AEC4 3B 80 00 00 */ li r28, 0 -/* 8006DF68 0006AEC8 48 00 00 18 */ b lbl_8006DF80 -lbl_8006DF6C: -/* 8006DF6C 0006AECC 3C 80 80 3D */ lis r4, lbl_803CD250@ha -/* 8006DF70 0006AED0 38 A0 00 00 */ li r5, 0 -/* 8006DF74 0006AED4 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l -/* 8006DF78 0006AED8 48 2A 78 A1 */ bl __nwa__FUlPCcPCc -/* 8006DF7C 0006AEDC 7C 7C 1B 78 */ mr r28, r3 -lbl_8006DF80: -/* 8006DF80 0006AEE0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006DF84 0006AEE4 7F 9B E3 78 */ mr r27, r28 -/* 8006DF88 0006AEE8 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 8006DF8C 0006AEEC 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 8006DF90 0006AEF0 93 41 00 10 */ stw r26, 0x10(r1) -/* 8006DF94 0006AEF4 7F BA 02 14 */ add r29, r26, r0 -/* 8006DF98 0006AEF8 93 41 00 14 */ stw r26, 0x14(r1) -/* 8006DF9C 0006AEFC 93 A1 00 08 */ stw r29, 8(r1) -/* 8006DFA0 0006AF00 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8006DFA4 0006AF04 48 00 00 30 */ b lbl_8006DFD4 -lbl_8006DFA8: -/* 8006DFA8 0006AF08 28 1B 00 00 */ cmplwi r27, 0 -/* 8006DFAC 0006AF0C 41 82 00 20 */ beq lbl_8006DFCC -/* 8006DFB0 0006AF10 80 1A 00 00 */ lwz r0, 0(r26) -/* 8006DFB4 0006AF14 38 7B 00 08 */ addi r3, r27, 8 -/* 8006DFB8 0006AF18 38 9A 00 08 */ addi r4, r26, 8 -/* 8006DFBC 0006AF1C 90 1B 00 00 */ stw r0, 0(r27) -/* 8006DFC0 0006AF20 80 1A 00 04 */ lwz r0, 4(r26) -/* 8006DFC4 0006AF24 90 1B 00 04 */ stw r0, 4(r27) -/* 8006DFC8 0006AF28 48 2D 01 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8006DFCC: -/* 8006DFCC 0006AF2C 3B 7B 00 18 */ addi r27, r27, 0x18 -/* 8006DFD0 0006AF30 3B 5A 00 18 */ addi r26, r26, 0x18 -lbl_8006DFD4: -/* 8006DFD4 0006AF34 7C 1A E8 40 */ cmplw r26, r29 -/* 8006DFD8 0006AF38 40 82 FF D0 */ bne lbl_8006DFA8 -/* 8006DFDC 0006AF3C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006DFE0 0006AF40 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 8006DFE4 0006AF44 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 8006DFE8 0006AF48 7F 7A 02 14 */ add r27, r26, r0 -/* 8006DFEC 0006AF4C 48 00 00 20 */ b lbl_8006E00C -lbl_8006DFF0: -/* 8006DFF0 0006AF50 28 1A 00 00 */ cmplwi r26, 0 -/* 8006DFF4 0006AF54 41 82 00 14 */ beq lbl_8006E008 -/* 8006DFF8 0006AF58 34 1A 00 08 */ addic. r0, r26, 8 -/* 8006DFFC 0006AF5C 41 82 00 0C */ beq lbl_8006E008 -/* 8006E000 0006AF60 38 7A 00 08 */ addi r3, r26, 8 -/* 8006E004 0006AF64 48 2C FA DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8006E008: -/* 8006E008 0006AF68 3B 5A 00 18 */ addi r26, r26, 0x18 -lbl_8006E00C: -/* 8006E00C 0006AF6C 7C 1A D8 40 */ cmplw r26, r27 -/* 8006E010 0006AF70 40 82 FF E0 */ bne lbl_8006DFF0 -/* 8006E014 0006AF74 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8006E018 0006AF78 28 03 00 00 */ cmplwi r3, 0 -/* 8006E01C 0006AF7C 41 82 00 08 */ beq lbl_8006E024 -/* 8006E020 0006AF80 48 2A 79 11 */ bl Free__7CMemoryFPCv -lbl_8006E024: -/* 8006E024 0006AF84 93 9E 00 0C */ stw r28, 0xc(r30) -/* 8006E028 0006AF88 93 FE 00 08 */ stw r31, 8(r30) -lbl_8006E02C: -/* 8006E02C 0006AF8C BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8006E030 0006AF90 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006E034 0006AF94 7C 08 03 A6 */ mtlr r0 -/* 8006E038 0006AF98 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006E03C 0006AF9C 4E 80 00 20 */ blr - -.global "reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi": -/* 8006E040 0006AFA0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006E044 0006AFA4 7C 08 02 A6 */ mflr r0 -/* 8006E048 0006AFA8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006E04C 0006AFAC BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8006E050 0006AFB0 7C 9F 23 78 */ mr r31, r4 -/* 8006E054 0006AFB4 7C 7E 1B 78 */ mr r30, r3 -/* 8006E058 0006AFB8 80 03 00 08 */ lwz r0, 8(r3) -/* 8006E05C 0006AFBC 7C 1F 00 00 */ cmpw r31, r0 -/* 8006E060 0006AFC0 40 81 00 C8 */ ble lbl_8006E128 -/* 8006E064 0006AFC4 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 8006E068 0006AFC8 40 82 00 0C */ bne lbl_8006E074 -/* 8006E06C 0006AFCC 3B A0 00 00 */ li r29, 0 -/* 8006E070 0006AFD0 48 00 00 18 */ b lbl_8006E088 -lbl_8006E074: -/* 8006E074 0006AFD4 3C 80 80 3D */ lis r4, lbl_803CD250@ha -/* 8006E078 0006AFD8 38 A0 00 00 */ li r5, 0 -/* 8006E07C 0006AFDC 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l -/* 8006E080 0006AFE0 48 2A 77 99 */ bl __nwa__FUlPCcPCc -/* 8006E084 0006AFE4 7C 7D 1B 78 */ mr r29, r3 -lbl_8006E088: -/* 8006E088 0006AFE8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006E08C 0006AFEC 7F A6 EB 78 */ mr r6, r29 -/* 8006E090 0006AFF0 80 FE 00 0C */ lwz r7, 0xc(r30) -/* 8006E094 0006AFF4 54 00 10 3A */ slwi r0, r0, 2 -/* 8006E098 0006AFF8 7C A7 02 14 */ add r5, r7, r0 -/* 8006E09C 0006AFFC 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8006E0A0 0006B000 90 A1 00 08 */ stw r5, 8(r1) -/* 8006E0A4 0006B004 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8006E0A8 0006B008 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8006E0AC 0006B00C 48 00 00 2C */ b lbl_8006E0D8 -lbl_8006E0B0: -/* 8006E0B0 0006B010 28 06 00 00 */ cmplwi r6, 0 -/* 8006E0B4 0006B014 41 82 00 1C */ beq lbl_8006E0D0 -/* 8006E0B8 0006B018 80 07 00 00 */ lwz r0, 0(r7) -/* 8006E0BC 0006B01C 90 06 00 00 */ stw r0, 0(r6) -/* 8006E0C0 0006B020 80 86 00 00 */ lwz r4, 0(r6) -/* 8006E0C4 0006B024 80 64 00 04 */ lwz r3, 4(r4) -/* 8006E0C8 0006B028 38 03 00 01 */ addi r0, r3, 1 -/* 8006E0CC 0006B02C 90 04 00 04 */ stw r0, 4(r4) -lbl_8006E0D0: -/* 8006E0D0 0006B030 38 C6 00 04 */ addi r6, r6, 4 -/* 8006E0D4 0006B034 38 E7 00 04 */ addi r7, r7, 4 -lbl_8006E0D8: -/* 8006E0D8 0006B038 7C 07 28 40 */ cmplw r7, r5 -/* 8006E0DC 0006B03C 40 82 FF D4 */ bne lbl_8006E0B0 -/* 8006E0E0 0006B040 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006E0E4 0006B044 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 8006E0E8 0006B048 54 00 10 3A */ slwi r0, r0, 2 -/* 8006E0EC 0006B04C 7F 9B 02 14 */ add r28, r27, r0 -/* 8006E0F0 0006B050 48 00 00 18 */ b lbl_8006E108 -lbl_8006E0F4: -/* 8006E0F4 0006B054 28 1B 00 00 */ cmplwi r27, 0 -/* 8006E0F8 0006B058 41 82 00 0C */ beq lbl_8006E104 -/* 8006E0FC 0006B05C 7F 63 DB 78 */ mr r3, r27 -/* 8006E100 0006B060 4B FC 2E 31 */ bl sub_80030f30 -lbl_8006E104: -/* 8006E104 0006B064 3B 7B 00 04 */ addi r27, r27, 4 -lbl_8006E108: -/* 8006E108 0006B068 7C 1B E0 40 */ cmplw r27, r28 -/* 8006E10C 0006B06C 40 82 FF E8 */ bne lbl_8006E0F4 -/* 8006E110 0006B070 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8006E114 0006B074 28 03 00 00 */ cmplwi r3, 0 -/* 8006E118 0006B078 41 82 00 08 */ beq lbl_8006E120 -/* 8006E11C 0006B07C 48 2A 78 15 */ bl Free__7CMemoryFPCv -lbl_8006E120: -/* 8006E120 0006B080 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8006E124 0006B084 93 FE 00 08 */ stw r31, 8(r30) -lbl_8006E128: -/* 8006E128 0006B088 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8006E12C 0006B08C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006E130 0006B090 7C 08 03 A6 */ mtlr r0 -/* 8006E134 0006B094 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006E138 0006B098 4E 80 00 20 */ blr - -.global GetMetaTrans__23CTransitionDatabaseGameCFUiUi -GetMetaTrans__23CTransitionDatabaseGameCFUiUi: -/* 8006E13C 0006B09C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8006E140 0006B0A0 7C 08 02 A6 */ mflr r0 -/* 8006E144 0006B0A4 90 01 00 74 */ stw r0, 0x74(r1) -/* 8006E148 0006B0A8 38 C1 00 5C */ addi r6, r1, 0x5c -/* 8006E14C 0006B0AC 38 E1 00 10 */ addi r7, r1, 0x10 -/* 8006E150 0006B0B0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8006E154 0006B0B4 7C 7F 1B 78 */ mr r31, r3 -/* 8006E158 0006B0B8 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8006E15C 0006B0BC 38 61 00 38 */ addi r3, r1, 0x38 -/* 8006E160 0006B0C0 89 2D A2 38 */ lbz r9, lbl_805A8DF8@sda21(r13) -/* 8006E164 0006B0C4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8006E168 0006B0C8 81 1F 00 20 */ lwz r8, 0x20(r31) -/* 8006E16C 0006B0CC 90 81 00 5C */ stw r4, 0x5c(r1) -/* 8006E170 0006B0D0 38 81 00 3C */ addi r4, r1, 0x3c -/* 8006E174 0006B0D4 7C 08 02 14 */ add r0, r8, r0 -/* 8006E178 0006B0D8 90 A1 00 08 */ stw r5, 8(r1) -/* 8006E17C 0006B0DC 90 A1 00 60 */ stw r5, 0x60(r1) -/* 8006E180 0006B0E0 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8006E184 0006B0E4 99 21 00 20 */ stb r9, 0x20(r1) -/* 8006E188 0006B0E8 99 21 00 18 */ stb r9, 0x18(r1) -/* 8006E18C 0006B0EC 90 01 00 58 */ stw r0, 0x58(r1) -/* 8006E190 0006B0F0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8006E194 0006B0F4 91 01 00 50 */ stw r8, 0x50(r1) -/* 8006E198 0006B0F8 99 21 00 10 */ stb r9, 0x10(r1) -/* 8006E19C 0006B0FC 90 01 00 40 */ stw r0, 0x40(r1) -/* 8006E1A0 0006B100 91 01 00 3C */ stw r8, 0x3c(r1) -/* 8006E1A4 0006B104 48 00 0A 69 */ bl "lower_bound,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl11pair,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20r" -/* 8006E1A8 0006B108 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8006E1AC 0006B10C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8006E1B0 0006B110 90 81 00 34 */ stw r4, 0x34(r1) -/* 8006E1B4 0006B114 7C 64 00 50 */ subf r3, r4, r0 -/* 8006E1B8 0006B118 7C 00 20 50 */ subf r0, r0, r4 -/* 8006E1BC 0006B11C 7C 60 03 78 */ or r0, r3, r0 -/* 8006E1C0 0006B120 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 8006E1C4 0006B124 41 82 00 4C */ beq lbl_8006E210 -/* 8006E1C8 0006B128 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8006E1CC 0006B12C 80 64 00 00 */ lwz r3, 0(r4) -/* 8006E1D0 0006B130 7C 00 18 40 */ cmplw r0, r3 -/* 8006E1D4 0006B134 40 82 00 20 */ bne lbl_8006E1F4 -/* 8006E1D8 0006B138 80 01 00 60 */ lwz r0, 0x60(r1) -/* 8006E1DC 0006B13C 80 64 00 04 */ lwz r3, 4(r4) -/* 8006E1E0 0006B140 7C 60 02 78 */ xor r0, r3, r0 -/* 8006E1E4 0006B144 7C 00 00 34 */ cntlzw r0, r0 -/* 8006E1E8 0006B148 7C 60 00 30 */ slw r0, r3, r0 -/* 8006E1EC 0006B14C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8006E1F0 0006B150 48 00 00 14 */ b lbl_8006E204 -lbl_8006E1F4: -/* 8006E1F4 0006B154 7C 60 02 78 */ xor r0, r3, r0 -/* 8006E1F8 0006B158 7C 00 00 34 */ cntlzw r0, r0 -/* 8006E1FC 0006B15C 7C 60 00 30 */ slw r0, r3, r0 -/* 8006E200 0006B160 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8006E204: -/* 8006E204 0006B164 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8006E208 0006B168 7C 00 00 34 */ cntlzw r0, r0 -/* 8006E20C 0006B16C 54 00 D9 7E */ srwi r0, r0, 5 -lbl_8006E210: -/* 8006E210 0006B170 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8006E214 0006B174 38 81 00 54 */ addi r4, r1, 0x54 -/* 8006E218 0006B178 41 82 00 08 */ beq lbl_8006E220 -/* 8006E21C 0006B17C 38 81 00 34 */ addi r4, r1, 0x34 -lbl_8006E220: -/* 8006E220 0006B180 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8006E224 0006B184 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8006E228 0006B188 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8006E22C 0006B18C 80 84 00 00 */ lwz r4, 0(r4) -/* 8006E230 0006B190 7C 03 02 14 */ add r0, r3, r0 -/* 8006E234 0006B194 7C 04 00 40 */ cmplw r4, r0 -/* 8006E238 0006B198 41 82 00 0C */ beq lbl_8006E244 -/* 8006E23C 0006B19C 38 64 00 08 */ addi r3, r4, 8 -/* 8006E240 0006B1A0 48 00 00 B4 */ b lbl_8006E2F4 -lbl_8006E244: -/* 8006E244 0006B1A4 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8006E248 0006B1A8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8006E24C 0006B1AC 81 1F 00 30 */ lwz r8, 0x30(r31) -/* 8006E250 0006B1B0 38 81 00 2C */ addi r4, r1, 0x2c -/* 8006E254 0006B1B4 89 2D A2 3C */ lbz r9, lbl_805A8DFC@sda21(r13) -/* 8006E258 0006B1B8 54 00 18 38 */ slwi r0, r0, 3 -/* 8006E25C 0006B1BC 7C 08 02 14 */ add r0, r8, r0 -/* 8006E260 0006B1C0 91 01 00 44 */ stw r8, 0x44(r1) -/* 8006E264 0006B1C4 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8006E268 0006B1C8 38 C1 00 08 */ addi r6, r1, 8 -/* 8006E26C 0006B1CC 99 21 00 1C */ stb r9, 0x1c(r1) -/* 8006E270 0006B1D0 38 E1 00 0C */ addi r7, r1, 0xc -/* 8006E274 0006B1D4 99 21 00 14 */ stb r9, 0x14(r1) -/* 8006E278 0006B1D8 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8006E27C 0006B1DC 90 01 00 48 */ stw r0, 0x48(r1) -/* 8006E280 0006B1E0 99 21 00 0C */ stb r9, 0xc(r1) -/* 8006E284 0006B1E4 90 01 00 30 */ stw r0, 0x30(r1) -/* 8006E288 0006B1E8 91 01 00 2C */ stw r8, 0x2c(r1) -/* 8006E28C 0006B1EC 48 00 0A 75 */ bl "lower_bound>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl124pair_sorter_finder>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rst" -/* 8006E290 0006B1F0 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8006E294 0006B1F4 38 80 00 00 */ li r4, 0 -/* 8006E298 0006B1F8 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8006E29C 0006B1FC 90 A1 00 24 */ stw r5, 0x24(r1) -/* 8006E2A0 0006B200 7C 05 00 40 */ cmplw r5, r0 -/* 8006E2A4 0006B204 41 82 00 18 */ beq lbl_8006E2BC -/* 8006E2A8 0006B208 80 61 00 08 */ lwz r3, 8(r1) -/* 8006E2AC 0006B20C 80 05 00 00 */ lwz r0, 0(r5) -/* 8006E2B0 0006B210 7C 03 00 40 */ cmplw r3, r0 -/* 8006E2B4 0006B214 41 80 00 08 */ blt lbl_8006E2BC -/* 8006E2B8 0006B218 38 80 00 01 */ li r4, 1 -lbl_8006E2BC: -/* 8006E2BC 0006B21C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8006E2C0 0006B220 38 81 00 48 */ addi r4, r1, 0x48 -/* 8006E2C4 0006B224 41 82 00 08 */ beq lbl_8006E2CC -/* 8006E2C8 0006B228 38 81 00 24 */ addi r4, r1, 0x24 -lbl_8006E2CC: -/* 8006E2CC 0006B22C 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8006E2D0 0006B230 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8006E2D4 0006B234 54 00 18 38 */ slwi r0, r0, 3 -/* 8006E2D8 0006B238 80 84 00 00 */ lwz r4, 0(r4) -/* 8006E2DC 0006B23C 7C 03 02 14 */ add r0, r3, r0 -/* 8006E2E0 0006B240 7C 04 00 40 */ cmplw r4, r0 -/* 8006E2E4 0006B244 41 82 00 0C */ beq lbl_8006E2F0 -/* 8006E2E8 0006B248 38 64 00 04 */ addi r3, r4, 4 -/* 8006E2EC 0006B24C 48 00 00 08 */ b lbl_8006E2F4 -lbl_8006E2F0: -/* 8006E2F0 0006B250 38 7F 00 10 */ addi r3, r31, 0x10 -lbl_8006E2F4: -/* 8006E2F4 0006B254 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8006E2F8 0006B258 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8006E2FC 0006B25C 7C 08 03 A6 */ mtlr r0 -/* 8006E300 0006B260 38 21 00 70 */ addi r1, r1, 0x70 -/* 8006E304 0006B264 4E 80 00 20 */ blr - -.global "__ct__23CTransitionDatabaseGameFRCQ24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>RCQ24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>RCQ24rstl20rc_ptr<10IMetaTrans>" -"__ct__23CTransitionDatabaseGameFRCQ24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>RCQ24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>RCQ24rstl20rc_ptr<10IMetaTrans>": -/* 8006E308 0006B268 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8006E30C 0006B26C 7C 08 02 A6 */ mflr r0 -/* 8006E310 0006B270 3C E0 80 3E */ lis r7, lbl_803D9C08@ha -/* 8006E314 0006B274 90 01 00 84 */ stw r0, 0x84(r1) -/* 8006E318 0006B278 38 00 00 00 */ li r0, 0 -/* 8006E31C 0006B27C BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 8006E320 0006B280 7C 7F 1B 78 */ mr r31, r3 -/* 8006E324 0006B284 7C 9C 23 78 */ mr r28, r4 -/* 8006E328 0006B288 7C BB 2B 78 */ mr r27, r5 -/* 8006E32C 0006B28C 7C DD 33 78 */ mr r29, r6 -/* 8006E330 0006B290 98 01 00 50 */ stb r0, 0x50(r1) -/* 8006E334 0006B294 38 07 9C 08 */ addi r0, r7, lbl_803D9C08@l -/* 8006E338 0006B298 90 03 00 00 */ stw r0, 0(r3) -/* 8006E33C 0006B29C 88 01 00 50 */ lbz r0, 0x50(r1) -/* 8006E340 0006B2A0 98 03 00 0C */ stb r0, 0xc(r3) -/* 8006E344 0006B2A4 88 01 00 50 */ lbz r0, 0x50(r1) -/* 8006E348 0006B2A8 28 00 00 00 */ cmplwi r0, 0 -/* 8006E34C 0006B2AC 41 82 00 14 */ beq lbl_8006E360 -/* 8006E350 0006B2B0 34 7F 00 04 */ addic. r3, r31, 4 -/* 8006E354 0006B2B4 38 81 00 48 */ addi r4, r1, 0x48 -/* 8006E358 0006B2B8 41 82 00 08 */ beq lbl_8006E360 -/* 8006E35C 0006B2BC 48 2D 2B 4D */ bl __ct__6CTokenFRC6CToken -lbl_8006E360: -/* 8006E360 0006B2C0 88 01 00 50 */ lbz r0, 0x50(r1) -/* 8006E364 0006B2C4 28 00 00 00 */ cmplwi r0, 0 -/* 8006E368 0006B2C8 41 82 00 14 */ beq lbl_8006E37C -/* 8006E36C 0006B2CC 34 61 00 48 */ addic. r3, r1, 0x48 -/* 8006E370 0006B2D0 41 82 00 0C */ beq lbl_8006E37C -/* 8006E374 0006B2D4 38 80 00 00 */ li r4, 0 -/* 8006E378 0006B2D8 48 2D 2A C9 */ bl __dt__6CTokenFv -lbl_8006E37C: -/* 8006E37C 0006B2DC 38 C0 00 00 */ li r6, 0 -/* 8006E380 0006B2E0 3C 60 80 3E */ lis r3, lbl_803DA340@ha -/* 8006E384 0006B2E4 98 C1 00 50 */ stb r6, 0x50(r1) -/* 8006E388 0006B2E8 38 03 A3 40 */ addi r0, r3, lbl_803DA340@l -/* 8006E38C 0006B2EC 38 7F 00 14 */ addi r3, r31, 0x14 -/* 8006E390 0006B2F0 90 1F 00 00 */ stw r0, 0(r31) -/* 8006E394 0006B2F4 80 1D 00 00 */ lwz r0, 0(r29) -/* 8006E398 0006B2F8 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8006E39C 0006B2FC 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 8006E3A0 0006B300 80 85 00 04 */ lwz r4, 4(r5) -/* 8006E3A4 0006B304 38 04 00 01 */ addi r0, r4, 1 -/* 8006E3A8 0006B308 90 05 00 04 */ stw r0, 4(r5) -/* 8006E3AC 0006B30C 90 DF 00 18 */ stw r6, 0x18(r31) -/* 8006E3B0 0006B310 90 DF 00 1C */ stw r6, 0x1c(r31) -/* 8006E3B4 0006B314 90 DF 00 20 */ stw r6, 0x20(r31) -/* 8006E3B8 0006B318 90 DF 00 28 */ stw r6, 0x28(r31) -/* 8006E3BC 0006B31C 90 DF 00 2C */ stw r6, 0x2c(r31) -/* 8006E3C0 0006B320 90 DF 00 30 */ stw r6, 0x30(r31) -/* 8006E3C4 0006B324 80 9C 00 04 */ lwz r4, 4(r28) -/* 8006E3C8 0006B328 83 9C 00 0C */ lwz r28, 0xc(r28) -/* 8006E3CC 0006B32C 54 80 20 36 */ slwi r0, r4, 4 -/* 8006E3D0 0006B330 7F DC 02 14 */ add r30, r28, r0 -/* 8006E3D4 0006B334 48 00 09 ED */ bl "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi" -/* 8006E3D8 0006B338 3B A1 00 5C */ addi r29, r1, 0x5c -/* 8006E3DC 0006B33C 48 00 00 AC */ b lbl_8006E488 -lbl_8006E3E0: -/* 8006E3E0 0006B340 80 7C 00 08 */ lwz r3, 8(r28) -/* 8006E3E4 0006B344 80 1C 00 04 */ lwz r0, 4(r28) -/* 8006E3E8 0006B348 90 01 00 54 */ stw r0, 0x54(r1) -/* 8006E3EC 0006B34C 90 61 00 58 */ stw r3, 0x58(r1) -/* 8006E3F0 0006B350 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 8006E3F4 0006B354 90 81 00 5C */ stw r4, 0x5c(r1) -/* 8006E3F8 0006B358 80 64 00 04 */ lwz r3, 4(r4) -/* 8006E3FC 0006B35C 38 03 00 01 */ addi r0, r3, 1 -/* 8006E400 0006B360 90 04 00 04 */ stw r0, 4(r4) -/* 8006E404 0006B364 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8006E408 0006B368 80 BF 00 1C */ lwz r5, 0x1c(r31) -/* 8006E40C 0006B36C 7C 00 28 00 */ cmpw r0, r5 -/* 8006E410 0006B370 41 80 00 1C */ blt lbl_8006E42C -/* 8006E414 0006B374 2C 05 00 00 */ cmpwi r5, 0 -/* 8006E418 0006B378 38 7F 00 14 */ addi r3, r31, 0x14 -/* 8006E41C 0006B37C 38 80 00 04 */ li r4, 4 -/* 8006E420 0006B380 41 82 00 08 */ beq lbl_8006E428 -/* 8006E424 0006B384 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006E428: -/* 8006E428 0006B388 48 00 09 99 */ bl "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi" -lbl_8006E42C: -/* 8006E42C 0006B38C 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8006E430 0006B390 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8006E434 0006B394 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8006E438 0006B398 7C 63 02 15 */ add. r3, r3, r0 -/* 8006E43C 0006B39C 41 82 00 2C */ beq lbl_8006E468 -/* 8006E440 0006B3A0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8006E444 0006B3A4 90 03 00 00 */ stw r0, 0(r3) -/* 8006E448 0006B3A8 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8006E44C 0006B3AC 90 03 00 04 */ stw r0, 4(r3) -/* 8006E450 0006B3B0 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8006E454 0006B3B4 90 03 00 08 */ stw r0, 8(r3) -/* 8006E458 0006B3B8 80 83 00 08 */ lwz r4, 8(r3) -/* 8006E45C 0006B3BC 80 64 00 04 */ lwz r3, 4(r4) -/* 8006E460 0006B3C0 38 03 00 01 */ addi r0, r3, 1 -/* 8006E464 0006B3C4 90 04 00 04 */ stw r0, 4(r4) -lbl_8006E468: -/* 8006E468 0006B3C8 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8006E46C 0006B3CC 28 1D 00 00 */ cmplwi r29, 0 -/* 8006E470 0006B3D0 3B 9C 00 10 */ addi r28, r28, 0x10 -/* 8006E474 0006B3D4 38 03 00 01 */ addi r0, r3, 1 -/* 8006E478 0006B3D8 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8006E47C 0006B3DC 41 82 00 0C */ beq lbl_8006E488 -/* 8006E480 0006B3E0 7F A3 EB 78 */ mr r3, r29 -/* 8006E484 0006B3E4 4B FC 5E 11 */ bl __dt__17CMetaTransFactoryFv -lbl_8006E488: -/* 8006E488 0006B3E8 7C 1C F0 40 */ cmplw r28, r30 -/* 8006E48C 0006B3EC 40 82 FF 54 */ bne lbl_8006E3E0 -/* 8006E490 0006B3F0 88 ED A2 30 */ lbz r7, lbl_805A8DF0@sda21(r13) -/* 8006E494 0006B3F4 38 61 00 30 */ addi r3, r1, 0x30 -/* 8006E498 0006B3F8 38 81 00 38 */ addi r4, r1, 0x38 -/* 8006E49C 0006B3FC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8006E4A0 0006B400 98 E1 00 10 */ stb r7, 0x10(r1) -/* 8006E4A4 0006B404 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8006E4A8 0006B408 80 DF 00 20 */ lwz r6, 0x20(r31) -/* 8006E4AC 0006B40C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8006E4B0 0006B410 98 E1 00 1C */ stb r7, 0x1c(r1) -/* 8006E4B4 0006B414 98 E1 00 14 */ stb r7, 0x14(r1) -/* 8006E4B8 0006B418 7C C6 02 14 */ add r6, r6, r0 -/* 8006E4BC 0006B41C 90 C1 00 38 */ stw r6, 0x38(r1) -/* 8006E4C0 0006B420 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 8006E4C4 0006B424 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 8006E4C8 0006B428 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006E4CC 0006B42C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8006E4D0 0006B430 48 00 01 21 */ bl sub_8006e5f0 -/* 8006E4D4 0006B434 80 9B 00 04 */ lwz r4, 4(r27) -/* 8006E4D8 0006B438 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8006E4DC 0006B43C 83 9B 00 0C */ lwz r28, 0xc(r27) -/* 8006E4E0 0006B440 54 80 18 38 */ slwi r0, r4, 3 -/* 8006E4E4 0006B444 7F DC 02 14 */ add r30, r28, r0 -/* 8006E4E8 0006B448 48 00 09 F1 */ bl "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi" -/* 8006E4EC 0006B44C 3B A1 00 44 */ addi r29, r1, 0x44 -/* 8006E4F0 0006B450 48 00 00 9C */ b lbl_8006E58C -lbl_8006E4F4: -/* 8006E4F4 0006B454 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006E4F8 0006B458 90 01 00 40 */ stw r0, 0x40(r1) -/* 8006E4FC 0006B45C 80 9C 00 04 */ lwz r4, 4(r28) -/* 8006E500 0006B460 90 81 00 44 */ stw r4, 0x44(r1) -/* 8006E504 0006B464 80 64 00 04 */ lwz r3, 4(r4) -/* 8006E508 0006B468 38 03 00 01 */ addi r0, r3, 1 -/* 8006E50C 0006B46C 90 04 00 04 */ stw r0, 4(r4) -/* 8006E510 0006B470 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8006E514 0006B474 80 BF 00 2C */ lwz r5, 0x2c(r31) -/* 8006E518 0006B478 7C 00 28 00 */ cmpw r0, r5 -/* 8006E51C 0006B47C 41 80 00 1C */ blt lbl_8006E538 -/* 8006E520 0006B480 2C 05 00 00 */ cmpwi r5, 0 -/* 8006E524 0006B484 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8006E528 0006B488 38 80 00 04 */ li r4, 4 -/* 8006E52C 0006B48C 41 82 00 08 */ beq lbl_8006E534 -/* 8006E530 0006B490 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8006E534: -/* 8006E534 0006B494 48 00 09 A5 */ bl "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi" -lbl_8006E538: -/* 8006E538 0006B498 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8006E53C 0006B49C 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8006E540 0006B4A0 54 00 18 38 */ slwi r0, r0, 3 -/* 8006E544 0006B4A4 7C 63 02 15 */ add. r3, r3, r0 -/* 8006E548 0006B4A8 41 82 00 24 */ beq lbl_8006E56C -/* 8006E54C 0006B4AC 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8006E550 0006B4B0 90 03 00 00 */ stw r0, 0(r3) -/* 8006E554 0006B4B4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8006E558 0006B4B8 90 03 00 04 */ stw r0, 4(r3) -/* 8006E55C 0006B4BC 80 83 00 04 */ lwz r4, 4(r3) -/* 8006E560 0006B4C0 80 64 00 04 */ lwz r3, 4(r4) -/* 8006E564 0006B4C4 38 03 00 01 */ addi r0, r3, 1 -/* 8006E568 0006B4C8 90 04 00 04 */ stw r0, 4(r4) -lbl_8006E56C: -/* 8006E56C 0006B4CC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8006E570 0006B4D0 28 1D 00 00 */ cmplwi r29, 0 -/* 8006E574 0006B4D4 3B 9C 00 08 */ addi r28, r28, 8 -/* 8006E578 0006B4D8 38 03 00 01 */ addi r0, r3, 1 -/* 8006E57C 0006B4DC 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8006E580 0006B4E0 41 82 00 0C */ beq lbl_8006E58C -/* 8006E584 0006B4E4 7F A3 EB 78 */ mr r3, r29 -/* 8006E588 0006B4E8 4B FC 5D 0D */ bl __dt__17CMetaTransFactoryFv -lbl_8006E58C: -/* 8006E58C 0006B4EC 7C 1C F0 40 */ cmplw r28, r30 -/* 8006E590 0006B4F0 40 82 FF 64 */ bne lbl_8006E4F4 -/* 8006E594 0006B4F4 88 ED A2 34 */ lbz r7, lbl_805A8DF4@sda21(r13) -/* 8006E598 0006B4F8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8006E59C 0006B4FC 38 81 00 28 */ addi r4, r1, 0x28 -/* 8006E5A0 0006B500 38 A1 00 08 */ addi r5, r1, 8 -/* 8006E5A4 0006B504 98 E1 00 08 */ stb r7, 8(r1) -/* 8006E5A8 0006B508 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8006E5AC 0006B50C 80 DF 00 30 */ lwz r6, 0x30(r31) -/* 8006E5B0 0006B510 54 00 18 38 */ slwi r0, r0, 3 -/* 8006E5B4 0006B514 98 E1 00 18 */ stb r7, 0x18(r1) -/* 8006E5B8 0006B518 7C C6 02 14 */ add r6, r6, r0 -/* 8006E5BC 0006B51C 90 C1 00 28 */ stw r6, 0x28(r1) -/* 8006E5C0 0006B520 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 8006E5C4 0006B524 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8006E5C8 0006B528 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 8006E5CC 0006B52C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006E5D0 0006B530 90 01 00 20 */ stw r0, 0x20(r1) -/* 8006E5D4 0006B534 48 00 03 79 */ bl sub_8006e94c -/* 8006E5D8 0006B538 7F E3 FB 78 */ mr r3, r31 -/* 8006E5DC 0006B53C BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 8006E5E0 0006B540 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8006E5E4 0006B544 7C 08 03 A6 */ mtlr r0 -/* 8006E5E8 0006B548 38 21 00 80 */ addi r1, r1, 0x80 -/* 8006E5EC 0006B54C 4E 80 00 20 */ blr - -.global sub_8006e5f0 -sub_8006e5f0: -/* 8006E5F0 0006B550 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8006E5F4 0006B554 7C 08 02 A6 */ mflr r0 -/* 8006E5F8 0006B558 90 01 00 74 */ stw r0, 0x74(r1) -/* 8006E5FC 0006B55C BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 8006E600 0006B560 7C 9D 23 78 */ mr r29, r4 -/* 8006E604 0006B564 7C 7C 1B 78 */ mr r28, r3 -/* 8006E608 0006B568 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha -/* 8006E60C 0006B56C 38 84 AA AB */ addi r4, r4, 0x2AAAAAAB@l -/* 8006E610 0006B570 7C BE 2B 78 */ mr r30, r5 -/* 8006E614 0006B574 80 63 00 00 */ lwz r3, 0(r3) -/* 8006E618 0006B578 80 DD 00 00 */ lwz r6, 0(r29) -/* 8006E61C 0006B57C 7C 03 30 50 */ subf r0, r3, r6 -/* 8006E620 0006B580 7C 04 00 96 */ mulhw r0, r4, r0 -/* 8006E624 0006B584 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8006E628 0006B588 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8006E62C 0006B58C 7C 80 22 14 */ add r4, r0, r4 -/* 8006E630 0006B590 2C 04 00 01 */ cmpwi r4, 1 -/* 8006E634 0006B594 40 81 01 FC */ ble lbl_8006E830 -/* 8006E638 0006B598 2C 04 00 14 */ cmpwi r4, 0x14 -/* 8006E63C 0006B59C 41 81 00 30 */ bgt lbl_8006E66C -/* 8006E640 0006B5A0 88 FE 00 00 */ lbz r7, 0(r30) -/* 8006E644 0006B5A4 38 61 00 34 */ addi r3, r1, 0x34 -/* 8006E648 0006B5A8 80 DD 00 00 */ lwz r6, 0(r29) -/* 8006E64C 0006B5AC 38 81 00 30 */ addi r4, r1, 0x30 -/* 8006E650 0006B5B0 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006E654 0006B5B4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8006E658 0006B5B8 98 E1 00 14 */ stb r7, 0x14(r1) -/* 8006E65C 0006B5BC 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8006E660 0006B5C0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006E664 0006B5C4 48 00 11 8D */ bl "__insertion_sort,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl221pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl" -/* 8006E668 0006B5C8 48 00 01 C8 */ b lbl_8006E830 -lbl_8006E66C: -/* 8006E66C 0006B5CC 54 80 0F FE */ srwi r0, r4, 0x1f -/* 8006E670 0006B5D0 38 A6 FF F4 */ addi r5, r6, -12 -/* 8006E674 0006B5D4 7C 80 22 14 */ add r4, r0, r4 -/* 8006E678 0006B5D8 88 1E 00 00 */ lbz r0, 0(r30) -/* 8006E67C 0006B5DC 7C 84 0E 70 */ srawi r4, r4, 1 -/* 8006E680 0006B5E0 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 8006E684 0006B5E4 1C 84 00 0C */ mulli r4, r4, 0xc -/* 8006E688 0006B5E8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8006E68C 0006B5EC 98 01 00 10 */ stb r0, 0x10(r1) -/* 8006E690 0006B5F0 7F 63 22 14 */ add r27, r3, r4 -/* 8006E694 0006B5F4 7F 64 DB 78 */ mr r4, r27 -/* 8006E698 0006B5F8 48 00 0C F5 */ bl sub_8006f38c -/* 8006E69C 0006B5FC 80 1B 00 00 */ lwz r0, 0(r27) -/* 8006E6A0 0006B600 3B E1 00 48 */ addi r31, r1, 0x48 -/* 8006E6A4 0006B604 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8006E6A8 0006B608 90 01 00 40 */ stw r0, 0x40(r1) -/* 8006E6AC 0006B60C 38 03 FF F4 */ addi r0, r3, -12 -/* 8006E6B0 0006B610 80 7B 00 04 */ lwz r3, 4(r27) -/* 8006E6B4 0006B614 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8006E6B8 0006B618 90 61 00 44 */ stw r3, 0x44(r1) -/* 8006E6BC 0006B61C 80 9B 00 08 */ lwz r4, 8(r27) -/* 8006E6C0 0006B620 90 81 00 48 */ stw r4, 0x48(r1) -/* 8006E6C4 0006B624 80 64 00 04 */ lwz r3, 4(r4) -/* 8006E6C8 0006B628 38 03 00 01 */ addi r0, r3, 1 -/* 8006E6CC 0006B62C 90 04 00 04 */ stw r0, 4(r4) -/* 8006E6D0 0006B630 80 7C 00 00 */ lwz r3, 0(r28) -/* 8006E6D4 0006B634 38 03 00 0C */ addi r0, r3, 0xc -/* 8006E6D8 0006B638 90 01 00 38 */ stw r0, 0x38(r1) -lbl_8006E6DC: -/* 8006E6DC 0006B63C 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8006E6E0 0006B640 80 81 00 44 */ lwz r4, 0x44(r1) -/* 8006E6E4 0006B644 48 00 00 10 */ b lbl_8006E6F4 -lbl_8006E6E8: -/* 8006E6E8 0006B648 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8006E6EC 0006B64C 38 63 00 0C */ addi r3, r3, 0xc -/* 8006E6F0 0006B650 90 61 00 38 */ stw r3, 0x38(r1) -lbl_8006E6F4: -/* 8006E6F4 0006B654 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8006E6F8 0006B658 80 A3 00 00 */ lwz r5, 0(r3) -/* 8006E6FC 0006B65C 7C 05 00 40 */ cmplw r5, r0 -/* 8006E700 0006B660 40 82 00 1C */ bne lbl_8006E71C -/* 8006E704 0006B664 80 63 00 04 */ lwz r3, 4(r3) -/* 8006E708 0006B668 7C 83 1A 78 */ xor r3, r4, r3 -/* 8006E70C 0006B66C 7C 63 00 34 */ cntlzw r3, r3 -/* 8006E710 0006B670 7C 83 18 30 */ slw r3, r4, r3 -/* 8006E714 0006B674 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8006E718 0006B678 48 00 00 14 */ b lbl_8006E72C -lbl_8006E71C: -/* 8006E71C 0006B67C 7C 03 2A 78 */ xor r3, r0, r5 -/* 8006E720 0006B680 7C 63 00 34 */ cntlzw r3, r3 -/* 8006E724 0006B684 7C 03 18 30 */ slw r3, r0, r3 -/* 8006E728 0006B688 54 63 0F FE */ srwi r3, r3, 0x1f -lbl_8006E72C: -/* 8006E72C 0006B68C 54 63 06 3F */ clrlwi. r3, r3, 0x18 -/* 8006E730 0006B690 40 82 FF B8 */ bne lbl_8006E6E8 -/* 8006E734 0006B694 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 8006E738 0006B698 48 00 00 10 */ b lbl_8006E748 -lbl_8006E73C: -/* 8006E73C 0006B69C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8006E740 0006B6A0 38 63 FF F4 */ addi r3, r3, -12 -/* 8006E744 0006B6A4 90 61 00 3C */ stw r3, 0x3c(r1) -lbl_8006E748: -/* 8006E748 0006B6A8 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8006E74C 0006B6AC 80 83 00 00 */ lwz r4, 0(r3) -/* 8006E750 0006B6B0 7C 00 20 40 */ cmplw r0, r4 -/* 8006E754 0006B6B4 40 82 00 1C */ bne lbl_8006E770 -/* 8006E758 0006B6B8 80 83 00 04 */ lwz r4, 4(r3) -/* 8006E75C 0006B6BC 7C 83 2A 78 */ xor r3, r4, r5 -/* 8006E760 0006B6C0 7C 63 00 34 */ cntlzw r3, r3 -/* 8006E764 0006B6C4 7C 83 18 30 */ slw r3, r4, r3 -/* 8006E768 0006B6C8 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8006E76C 0006B6CC 48 00 00 14 */ b lbl_8006E780 -lbl_8006E770: -/* 8006E770 0006B6D0 7C 83 02 78 */ xor r3, r4, r0 -/* 8006E774 0006B6D4 7C 63 00 34 */ cntlzw r3, r3 -/* 8006E778 0006B6D8 7C 83 18 30 */ slw r3, r4, r3 -/* 8006E77C 0006B6DC 54 63 0F FE */ srwi r3, r3, 0x1f -lbl_8006E780: -/* 8006E780 0006B6E0 54 63 06 3F */ clrlwi. r3, r3, 0x18 -/* 8006E784 0006B6E4 40 82 FF B8 */ bne lbl_8006E73C -/* 8006E788 0006B6E8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8006E78C 0006B6EC 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8006E790 0006B6F0 7C 03 00 40 */ cmplw r3, r0 -/* 8006E794 0006B6F4 40 80 00 3C */ bge lbl_8006E7D0 -/* 8006E798 0006B6F8 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 8006E79C 0006B6FC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8006E7A0 0006B700 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8006E7A4 0006B704 38 81 00 28 */ addi r4, r1, 0x28 -/* 8006E7A8 0006B708 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8006E7AC 0006B70C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8006E7B0 0006B710 48 00 00 95 */ bl sub_8006e844 -/* 8006E7B4 0006B714 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8006E7B8 0006B718 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8006E7BC 0006B71C 38 84 00 0C */ addi r4, r4, 0xc -/* 8006E7C0 0006B720 38 03 FF F4 */ addi r0, r3, -12 -/* 8006E7C4 0006B724 90 81 00 38 */ stw r4, 0x38(r1) -/* 8006E7C8 0006B728 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8006E7CC 0006B72C 4B FF FF 10 */ b lbl_8006E6DC -lbl_8006E7D0: -/* 8006E7D0 0006B730 88 FE 00 00 */ lbz r7, 0(r30) -/* 8006E7D4 0006B734 38 61 00 24 */ addi r3, r1, 0x24 -/* 8006E7D8 0006B738 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 8006E7DC 0006B73C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8006E7E0 0006B740 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006E7E4 0006B744 38 A1 00 0C */ addi r5, r1, 0xc -/* 8006E7E8 0006B748 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8006E7EC 0006B74C 90 C1 00 20 */ stw r6, 0x20(r1) -/* 8006E7F0 0006B750 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006E7F4 0006B754 4B FF FD FD */ bl sub_8006e5f0 -/* 8006E7F8 0006B758 88 FE 00 00 */ lbz r7, 0(r30) -/* 8006E7FC 0006B75C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8006E800 0006B760 80 DD 00 00 */ lwz r6, 0(r29) -/* 8006E804 0006B764 38 81 00 18 */ addi r4, r1, 0x18 -/* 8006E808 0006B768 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8006E80C 0006B76C 38 A1 00 08 */ addi r5, r1, 8 -/* 8006E810 0006B770 98 E1 00 08 */ stb r7, 8(r1) -/* 8006E814 0006B774 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8006E818 0006B778 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8006E81C 0006B77C 4B FF FD D5 */ bl sub_8006e5f0 -/* 8006E820 0006B780 28 1F 00 00 */ cmplwi r31, 0 -/* 8006E824 0006B784 41 82 00 0C */ beq lbl_8006E830 -/* 8006E828 0006B788 7F E3 FB 78 */ mr r3, r31 -/* 8006E82C 0006B78C 4B FC 5A 69 */ bl __dt__17CMetaTransFactoryFv -lbl_8006E830: -/* 8006E830 0006B790 BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 8006E834 0006B794 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8006E838 0006B798 7C 08 03 A6 */ mtlr r0 -/* 8006E83C 0006B79C 38 21 00 70 */ addi r1, r1, 0x70 -/* 8006E840 0006B7A0 4E 80 00 20 */ blr - -.global sub_8006e844 -sub_8006e844: -/* 8006E844 0006B7A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006E848 0006B7A8 7C 08 02 A6 */ mflr r0 -/* 8006E84C 0006B7AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006E850 0006B7B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8006E854 0006B7B4 3B E1 00 10 */ addi r31, r1, 0x10 -/* 8006E858 0006B7B8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8006E85C 0006B7BC 7C 9E 23 78 */ mr r30, r4 -/* 8006E860 0006B7C0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8006E864 0006B7C4 93 81 00 20 */ stw r28, 0x20(r1) -/* 8006E868 0006B7C8 80 A3 00 00 */ lwz r5, 0(r3) -/* 8006E86C 0006B7CC 80 05 00 00 */ lwz r0, 0(r5) -/* 8006E870 0006B7D0 90 01 00 08 */ stw r0, 8(r1) -/* 8006E874 0006B7D4 80 05 00 04 */ lwz r0, 4(r5) -/* 8006E878 0006B7D8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8006E87C 0006B7DC 80 A5 00 08 */ lwz r5, 8(r5) -/* 8006E880 0006B7E0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8006E884 0006B7E4 80 85 00 04 */ lwz r4, 4(r5) -/* 8006E888 0006B7E8 38 04 00 01 */ addi r0, r4, 1 -/* 8006E88C 0006B7EC 90 05 00 04 */ stw r0, 4(r5) -/* 8006E890 0006B7F0 83 BE 00 00 */ lwz r29, 0(r30) -/* 8006E894 0006B7F4 83 83 00 00 */ lwz r28, 0(r3) -/* 8006E898 0006B7F8 80 7D 00 00 */ lwz r3, 0(r29) -/* 8006E89C 0006B7FC 80 1D 00 04 */ lwz r0, 4(r29) -/* 8006E8A0 0006B800 90 7C 00 00 */ stw r3, 0(r28) -/* 8006E8A4 0006B804 90 1C 00 04 */ stw r0, 4(r28) -/* 8006E8A8 0006B808 80 7C 00 08 */ lwz r3, 8(r28) -/* 8006E8AC 0006B80C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8006E8B0 0006B810 7C 03 00 40 */ cmplw r3, r0 -/* 8006E8B4 0006B814 41 82 00 24 */ beq lbl_8006E8D8 -/* 8006E8B8 0006B818 38 7C 00 08 */ addi r3, r28, 8 -/* 8006E8BC 0006B81C 4B FC 59 D9 */ bl __dt__17CMetaTransFactoryFv -/* 8006E8C0 0006B820 80 1D 00 08 */ lwz r0, 8(r29) -/* 8006E8C4 0006B824 90 1C 00 08 */ stw r0, 8(r28) -/* 8006E8C8 0006B828 80 9C 00 08 */ lwz r4, 8(r28) -/* 8006E8CC 0006B82C 80 64 00 04 */ lwz r3, 4(r4) -/* 8006E8D0 0006B830 38 03 00 01 */ addi r0, r3, 1 -/* 8006E8D4 0006B834 90 04 00 04 */ stw r0, 4(r4) -lbl_8006E8D8: -/* 8006E8D8 0006B838 83 9E 00 00 */ lwz r28, 0(r30) -/* 8006E8DC 0006B83C 80 61 00 08 */ lwz r3, 8(r1) -/* 8006E8E0 0006B840 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006E8E4 0006B844 90 7C 00 00 */ stw r3, 0(r28) -/* 8006E8E8 0006B848 90 1C 00 04 */ stw r0, 4(r28) -/* 8006E8EC 0006B84C 80 7C 00 08 */ lwz r3, 8(r28) -/* 8006E8F0 0006B850 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006E8F4 0006B854 7C 03 00 40 */ cmplw r3, r0 -/* 8006E8F8 0006B858 41 82 00 24 */ beq lbl_8006E91C -/* 8006E8FC 0006B85C 38 7C 00 08 */ addi r3, r28, 8 -/* 8006E900 0006B860 4B FC 59 95 */ bl __dt__17CMetaTransFactoryFv -/* 8006E904 0006B864 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006E908 0006B868 90 1C 00 08 */ stw r0, 8(r28) -/* 8006E90C 0006B86C 80 9C 00 08 */ lwz r4, 8(r28) -/* 8006E910 0006B870 80 64 00 04 */ lwz r3, 4(r4) -/* 8006E914 0006B874 38 03 00 01 */ addi r0, r3, 1 -/* 8006E918 0006B878 90 04 00 04 */ stw r0, 4(r4) -lbl_8006E91C: -/* 8006E91C 0006B87C 28 1F 00 00 */ cmplwi r31, 0 -/* 8006E920 0006B880 41 82 00 0C */ beq lbl_8006E92C -/* 8006E924 0006B884 7F E3 FB 78 */ mr r3, r31 -/* 8006E928 0006B888 4B FC 59 6D */ bl __dt__17CMetaTransFactoryFv -lbl_8006E92C: -/* 8006E92C 0006B88C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006E930 0006B890 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8006E934 0006B894 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8006E938 0006B898 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8006E93C 0006B89C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8006E940 0006B8A0 7C 08 03 A6 */ mtlr r0 -/* 8006E944 0006B8A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006E948 0006B8A8 4E 80 00 20 */ blr - -.global sub_8006e94c -sub_8006e94c: -/* 8006E94C 0006B8AC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8006E950 0006B8B0 7C 08 02 A6 */ mflr r0 -/* 8006E954 0006B8B4 90 01 00 64 */ stw r0, 0x64(r1) -/* 8006E958 0006B8B8 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 8006E95C 0006B8BC 7C 7C 1B 78 */ mr r28, r3 -/* 8006E960 0006B8C0 7C BE 2B 78 */ mr r30, r5 -/* 8006E964 0006B8C4 7C 9D 23 78 */ mr r29, r4 -/* 8006E968 0006B8C8 80 63 00 00 */ lwz r3, 0(r3) -/* 8006E96C 0006B8CC 80 A4 00 00 */ lwz r5, 0(r4) -/* 8006E970 0006B8D0 7C 03 28 50 */ subf r0, r3, r5 -/* 8006E974 0006B8D4 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8006E978 0006B8D8 7C 80 01 94 */ addze r4, r0 -/* 8006E97C 0006B8DC 2C 04 00 01 */ cmpwi r4, 1 -/* 8006E980 0006B8E0 40 81 01 88 */ ble lbl_8006EB08 -/* 8006E984 0006B8E4 2C 04 00 14 */ cmpwi r4, 0x14 -/* 8006E988 0006B8E8 41 81 00 30 */ bgt lbl_8006E9B8 -/* 8006E98C 0006B8EC 88 FE 00 00 */ lbz r7, 0(r30) -/* 8006E990 0006B8F0 38 61 00 34 */ addi r3, r1, 0x34 -/* 8006E994 0006B8F4 80 DD 00 00 */ lwz r6, 0(r29) -/* 8006E998 0006B8F8 38 81 00 30 */ addi r4, r1, 0x30 -/* 8006E99C 0006B8FC 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006E9A0 0006B900 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8006E9A4 0006B904 98 E1 00 14 */ stb r7, 0x14(r1) -/* 8006E9A8 0006B908 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8006E9AC 0006B90C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006E9B0 0006B910 48 00 0D 29 */ bl sub_8006f6d8 -/* 8006E9B4 0006B914 48 00 01 54 */ b lbl_8006EB08 -lbl_8006E9B8: -/* 8006E9B8 0006B918 54 80 0F FE */ srwi r0, r4, 0x1f -/* 8006E9BC 0006B91C 38 A5 FF F8 */ addi r5, r5, -8 -/* 8006E9C0 0006B920 7C 80 22 14 */ add r4, r0, r4 -/* 8006E9C4 0006B924 88 1E 00 00 */ lbz r0, 0(r30) -/* 8006E9C8 0006B928 7C 84 0E 70 */ srawi r4, r4, 1 -/* 8006E9CC 0006B92C 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 8006E9D0 0006B930 54 84 18 38 */ slwi r4, r4, 3 -/* 8006E9D4 0006B934 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8006E9D8 0006B938 7F 63 22 14 */ add r27, r3, r4 -/* 8006E9DC 0006B93C 98 01 00 10 */ stb r0, 0x10(r1) -/* 8006E9E0 0006B940 7F 64 DB 78 */ mr r4, r27 -/* 8006E9E4 0006B944 48 00 07 49 */ bl sub_8006f12c -/* 8006E9E8 0006B948 80 1B 00 00 */ lwz r0, 0(r27) -/* 8006E9EC 0006B94C 3B E1 00 44 */ addi r31, r1, 0x44 -/* 8006E9F0 0006B950 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8006E9F4 0006B954 90 01 00 40 */ stw r0, 0x40(r1) -/* 8006E9F8 0006B958 38 03 FF F8 */ addi r0, r3, -8 -/* 8006E9FC 0006B95C 80 9B 00 04 */ lwz r4, 4(r27) -/* 8006EA00 0006B960 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8006EA04 0006B964 90 81 00 44 */ stw r4, 0x44(r1) -/* 8006EA08 0006B968 80 64 00 04 */ lwz r3, 4(r4) -/* 8006EA0C 0006B96C 38 03 00 01 */ addi r0, r3, 1 -/* 8006EA10 0006B970 90 04 00 04 */ stw r0, 4(r4) -/* 8006EA14 0006B974 80 7C 00 00 */ lwz r3, 0(r28) -/* 8006EA18 0006B978 38 03 00 08 */ addi r0, r3, 8 -/* 8006EA1C 0006B97C 90 01 00 38 */ stw r0, 0x38(r1) -lbl_8006EA20: -/* 8006EA20 0006B980 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8006EA24 0006B984 48 00 00 10 */ b lbl_8006EA34 -lbl_8006EA28: -/* 8006EA28 0006B988 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8006EA2C 0006B98C 38 03 00 08 */ addi r0, r3, 8 -/* 8006EA30 0006B990 90 01 00 38 */ stw r0, 0x38(r1) -lbl_8006EA34: -/* 8006EA34 0006B994 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8006EA38 0006B998 80 03 00 00 */ lwz r0, 0(r3) -/* 8006EA3C 0006B99C 7C 00 20 40 */ cmplw r0, r4 -/* 8006EA40 0006B9A0 41 80 FF E8 */ blt lbl_8006EA28 -/* 8006EA44 0006B9A4 48 00 00 10 */ b lbl_8006EA54 -lbl_8006EA48: -/* 8006EA48 0006B9A8 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8006EA4C 0006B9AC 38 03 FF F8 */ addi r0, r3, -8 -/* 8006EA50 0006B9B0 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_8006EA54: -/* 8006EA54 0006B9B4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8006EA58 0006B9B8 80 03 00 00 */ lwz r0, 0(r3) -/* 8006EA5C 0006B9BC 7C 04 00 40 */ cmplw r4, r0 -/* 8006EA60 0006B9C0 41 80 FF E8 */ blt lbl_8006EA48 -/* 8006EA64 0006B9C4 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8006EA68 0006B9C8 7C 00 18 40 */ cmplw r0, r3 -/* 8006EA6C 0006B9CC 40 80 00 3C */ bge lbl_8006EAA8 -/* 8006EA70 0006B9D0 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 8006EA74 0006B9D4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8006EA78 0006B9D8 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8006EA7C 0006B9DC 38 81 00 28 */ addi r4, r1, 0x28 -/* 8006EA80 0006B9E0 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8006EA84 0006B9E4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8006EA88 0006B9E8 48 00 00 95 */ bl sub_8006eb1c -/* 8006EA8C 0006B9EC 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8006EA90 0006B9F0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8006EA94 0006B9F4 38 84 00 08 */ addi r4, r4, 8 -/* 8006EA98 0006B9F8 38 03 FF F8 */ addi r0, r3, -8 -/* 8006EA9C 0006B9FC 90 81 00 38 */ stw r4, 0x38(r1) -/* 8006EAA0 0006BA00 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8006EAA4 0006BA04 4B FF FF 7C */ b lbl_8006EA20 -lbl_8006EAA8: -/* 8006EAA8 0006BA08 88 FE 00 00 */ lbz r7, 0(r30) -/* 8006EAAC 0006BA0C 38 61 00 24 */ addi r3, r1, 0x24 -/* 8006EAB0 0006BA10 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 8006EAB4 0006BA14 38 81 00 20 */ addi r4, r1, 0x20 -/* 8006EAB8 0006BA18 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006EABC 0006BA1C 38 A1 00 0C */ addi r5, r1, 0xc -/* 8006EAC0 0006BA20 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8006EAC4 0006BA24 90 C1 00 20 */ stw r6, 0x20(r1) -/* 8006EAC8 0006BA28 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006EACC 0006BA2C 4B FF FE 81 */ bl sub_8006e94c -/* 8006EAD0 0006BA30 88 FE 00 00 */ lbz r7, 0(r30) -/* 8006EAD4 0006BA34 38 61 00 1C */ addi r3, r1, 0x1c -/* 8006EAD8 0006BA38 80 DD 00 00 */ lwz r6, 0(r29) -/* 8006EADC 0006BA3C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8006EAE0 0006BA40 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8006EAE4 0006BA44 38 A1 00 08 */ addi r5, r1, 8 -/* 8006EAE8 0006BA48 98 E1 00 08 */ stb r7, 8(r1) -/* 8006EAEC 0006BA4C 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8006EAF0 0006BA50 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8006EAF4 0006BA54 4B FF FE 59 */ bl sub_8006e94c -/* 8006EAF8 0006BA58 28 1F 00 00 */ cmplwi r31, 0 -/* 8006EAFC 0006BA5C 41 82 00 0C */ beq lbl_8006EB08 -/* 8006EB00 0006BA60 7F E3 FB 78 */ mr r3, r31 -/* 8006EB04 0006BA64 4B FC 57 91 */ bl __dt__17CMetaTransFactoryFv -lbl_8006EB08: -/* 8006EB08 0006BA68 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 8006EB0C 0006BA6C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8006EB10 0006BA70 7C 08 03 A6 */ mtlr r0 -/* 8006EB14 0006BA74 38 21 00 60 */ addi r1, r1, 0x60 -/* 8006EB18 0006BA78 4E 80 00 20 */ blr - -.global sub_8006eb1c -sub_8006eb1c: -/* 8006EB1C 0006BA7C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006EB20 0006BA80 7C 08 02 A6 */ mflr r0 -/* 8006EB24 0006BA84 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006EB28 0006BA88 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8006EB2C 0006BA8C 3B E1 00 0C */ addi r31, r1, 0xc -/* 8006EB30 0006BA90 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8006EB34 0006BA94 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8006EB38 0006BA98 93 81 00 10 */ stw r28, 0x10(r1) -/* 8006EB3C 0006BA9C 7C 9C 23 78 */ mr r28, r4 -/* 8006EB40 0006BAA0 80 A3 00 00 */ lwz r5, 0(r3) -/* 8006EB44 0006BAA4 80 05 00 00 */ lwz r0, 0(r5) -/* 8006EB48 0006BAA8 90 01 00 08 */ stw r0, 8(r1) -/* 8006EB4C 0006BAAC 80 A5 00 04 */ lwz r5, 4(r5) -/* 8006EB50 0006BAB0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8006EB54 0006BAB4 80 85 00 04 */ lwz r4, 4(r5) -/* 8006EB58 0006BAB8 38 04 00 01 */ addi r0, r4, 1 -/* 8006EB5C 0006BABC 90 05 00 04 */ stw r0, 4(r5) -/* 8006EB60 0006BAC0 83 DC 00 00 */ lwz r30, 0(r28) -/* 8006EB64 0006BAC4 83 A3 00 00 */ lwz r29, 0(r3) -/* 8006EB68 0006BAC8 80 1E 00 00 */ lwz r0, 0(r30) -/* 8006EB6C 0006BACC 90 1D 00 00 */ stw r0, 0(r29) -/* 8006EB70 0006BAD0 80 7D 00 04 */ lwz r3, 4(r29) -/* 8006EB74 0006BAD4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006EB78 0006BAD8 7C 03 00 40 */ cmplw r3, r0 -/* 8006EB7C 0006BADC 41 82 00 24 */ beq lbl_8006EBA0 -/* 8006EB80 0006BAE0 38 7D 00 04 */ addi r3, r29, 4 -/* 8006EB84 0006BAE4 4B FC 57 11 */ bl __dt__17CMetaTransFactoryFv -/* 8006EB88 0006BAE8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006EB8C 0006BAEC 90 1D 00 04 */ stw r0, 4(r29) -/* 8006EB90 0006BAF0 80 9D 00 04 */ lwz r4, 4(r29) -/* 8006EB94 0006BAF4 80 64 00 04 */ lwz r3, 4(r4) -/* 8006EB98 0006BAF8 38 03 00 01 */ addi r0, r3, 1 -/* 8006EB9C 0006BAFC 90 04 00 04 */ stw r0, 4(r4) -lbl_8006EBA0: -/* 8006EBA0 0006BB00 83 BC 00 00 */ lwz r29, 0(r28) -/* 8006EBA4 0006BB04 80 01 00 08 */ lwz r0, 8(r1) -/* 8006EBA8 0006BB08 90 1D 00 00 */ stw r0, 0(r29) -/* 8006EBAC 0006BB0C 80 7D 00 04 */ lwz r3, 4(r29) -/* 8006EBB0 0006BB10 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006EBB4 0006BB14 7C 03 00 40 */ cmplw r3, r0 -/* 8006EBB8 0006BB18 41 82 00 24 */ beq lbl_8006EBDC -/* 8006EBBC 0006BB1C 38 7D 00 04 */ addi r3, r29, 4 -/* 8006EBC0 0006BB20 4B FC 56 D5 */ bl __dt__17CMetaTransFactoryFv -/* 8006EBC4 0006BB24 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006EBC8 0006BB28 90 1D 00 04 */ stw r0, 4(r29) -/* 8006EBCC 0006BB2C 80 9D 00 04 */ lwz r4, 4(r29) -/* 8006EBD0 0006BB30 80 64 00 04 */ lwz r3, 4(r4) -/* 8006EBD4 0006BB34 38 03 00 01 */ addi r0, r3, 1 -/* 8006EBD8 0006BB38 90 04 00 04 */ stw r0, 4(r4) -lbl_8006EBDC: -/* 8006EBDC 0006BB3C 28 1F 00 00 */ cmplwi r31, 0 -/* 8006EBE0 0006BB40 41 82 00 0C */ beq lbl_8006EBEC -/* 8006EBE4 0006BB44 7F E3 FB 78 */ mr r3, r31 -/* 8006EBE8 0006BB48 4B FC 56 AD */ bl __dt__17CMetaTransFactoryFv -lbl_8006EBEC: -/* 8006EBEC 0006BB4C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8006EBF0 0006BB50 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8006EBF4 0006BB54 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8006EBF8 0006BB58 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8006EBFC 0006BB5C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8006EC00 0006BB60 7C 08 03 A6 */ mtlr r0 -/* 8006EC04 0006BB64 38 21 00 20 */ addi r1, r1, 0x20 -/* 8006EC08 0006BB68 4E 80 00 20 */ blr - -.global "lower_bound,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl11pair,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20r" -"lower_bound,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl11pair,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20r": -/* 8006EC0C 0006BB6C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006EC10 0006BB70 7C 08 02 A6 */ mflr r0 -/* 8006EC14 0006BB74 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006EC18 0006BB78 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8006EC1C 0006BB7C 7C 9C 23 78 */ mr r28, r4 -/* 8006EC20 0006BB80 7C 7B 1B 78 */ mr r27, r3 -/* 8006EC24 0006BB84 7C DD 33 78 */ mr r29, r6 -/* 8006EC28 0006BB88 38 61 00 0C */ addi r3, r1, 0xc -/* 8006EC2C 0006BB8C 80 85 00 00 */ lwz r4, 0(r5) -/* 8006EC30 0006BB90 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006EC34 0006BB94 90 81 00 08 */ stw r4, 8(r1) -/* 8006EC38 0006BB98 38 81 00 08 */ addi r4, r1, 8 -/* 8006EC3C 0006BB9C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8006EC40 0006BBA0 48 00 04 25 */ bl "distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_po" -/* 8006EC44 0006BBA4 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006EC48 0006BBA8 7C 7F 1B 78 */ mr r31, r3 -/* 8006EC4C 0006BBAC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8006EC50 0006BBB0 48 00 00 8C */ b lbl_8006ECDC -lbl_8006EC54: -/* 8006EC54 0006BBB4 57 E3 0F FE */ srwi r3, r31, 0x1f -/* 8006EC58 0006BBB8 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006EC5C 0006BBBC 7C 83 FA 14 */ add r4, r3, r31 -/* 8006EC60 0006BBC0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8006EC64 0006BBC4 7C 9E 0E 70 */ srawi r30, r4, 1 -/* 8006EC68 0006BBC8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8006EC6C 0006BBCC 7F C4 F3 78 */ mr r4, r30 -/* 8006EC70 0006BBD0 48 00 03 75 */ bl "advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -/* 8006EC74 0006BBD4 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8006EC78 0006BBD8 80 7D 00 00 */ lwz r3, 0(r29) -/* 8006EC7C 0006BBDC 80 04 00 00 */ lwz r0, 0(r4) -/* 8006EC80 0006BBE0 7C 00 18 40 */ cmplw r0, r3 -/* 8006EC84 0006BBE4 40 82 00 20 */ bne lbl_8006ECA4 -/* 8006EC88 0006BBE8 80 04 00 04 */ lwz r0, 4(r4) -/* 8006EC8C 0006BBEC 80 7D 00 04 */ lwz r3, 4(r29) -/* 8006EC90 0006BBF0 7C 60 02 78 */ xor r0, r3, r0 -/* 8006EC94 0006BBF4 7C 00 00 34 */ cntlzw r0, r0 -/* 8006EC98 0006BBF8 7C 60 00 30 */ slw r0, r3, r0 -/* 8006EC9C 0006BBFC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8006ECA0 0006BC00 48 00 00 14 */ b lbl_8006ECB4 -lbl_8006ECA4: -/* 8006ECA4 0006BC04 7C 60 02 78 */ xor r0, r3, r0 -/* 8006ECA8 0006BC08 7C 00 00 34 */ cntlzw r0, r0 -/* 8006ECAC 0006BC0C 7C 60 00 30 */ slw r0, r3, r0 -/* 8006ECB0 0006BC10 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8006ECB4: -/* 8006ECB4 0006BC14 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8006ECB8 0006BC18 41 82 00 20 */ beq lbl_8006ECD8 -/* 8006ECBC 0006BC1C 90 9C 00 00 */ stw r4, 0(r28) -/* 8006ECC0 0006BC20 7C 7E F8 50 */ subf r3, r30, r31 -/* 8006ECC4 0006BC24 3B E3 FF FF */ addi r31, r3, -1 -/* 8006ECC8 0006BC28 80 7C 00 00 */ lwz r3, 0(r28) -/* 8006ECCC 0006BC2C 38 03 00 0C */ addi r0, r3, 0xc -/* 8006ECD0 0006BC30 90 1C 00 00 */ stw r0, 0(r28) -/* 8006ECD4 0006BC34 48 00 00 08 */ b lbl_8006ECDC -lbl_8006ECD8: -/* 8006ECD8 0006BC38 7F DF F3 78 */ mr r31, r30 -lbl_8006ECDC: -/* 8006ECDC 0006BC3C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8006ECE0 0006BC40 41 81 FF 74 */ bgt lbl_8006EC54 -/* 8006ECE4 0006BC44 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006ECE8 0006BC48 90 1B 00 00 */ stw r0, 0(r27) -/* 8006ECEC 0006BC4C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8006ECF0 0006BC50 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006ECF4 0006BC54 7C 08 03 A6 */ mtlr r0 -/* 8006ECF8 0006BC58 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006ECFC 0006BC5C 4E 80 00 20 */ blr - -.global "lower_bound>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl124pair_sorter_finder>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rst" -"lower_bound>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl124pair_sorter_finder>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rst": -/* 8006ED00 0006BC60 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006ED04 0006BC64 7C 08 02 A6 */ mflr r0 -/* 8006ED08 0006BC68 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006ED0C 0006BC6C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8006ED10 0006BC70 7C 9F 23 78 */ mr r31, r4 -/* 8006ED14 0006BC74 7C 7E 1B 78 */ mr r30, r3 -/* 8006ED18 0006BC78 7C DB 33 78 */ mr r27, r6 -/* 8006ED1C 0006BC7C 38 61 00 0C */ addi r3, r1, 0xc -/* 8006ED20 0006BC80 80 85 00 00 */ lwz r4, 0(r5) -/* 8006ED24 0006BC84 80 1F 00 00 */ lwz r0, 0(r31) -/* 8006ED28 0006BC88 90 81 00 08 */ stw r4, 8(r1) -/* 8006ED2C 0006BC8C 38 81 00 08 */ addi r4, r1, 8 -/* 8006ED30 0006BC90 90 01 00 0C */ stw r0, 0xc(r1) -/* 8006ED34 0006BC94 48 00 03 75 */ bl "distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82ve" -/* 8006ED38 0006BC98 80 1F 00 00 */ lwz r0, 0(r31) -/* 8006ED3C 0006BC9C 7C 7D 1B 78 */ mr r29, r3 -/* 8006ED40 0006BCA0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8006ED44 0006BCA4 48 00 00 58 */ b lbl_8006ED9C -lbl_8006ED48: -/* 8006ED48 0006BCA8 57 A3 0F FE */ srwi r3, r29, 0x1f -/* 8006ED4C 0006BCAC 80 1F 00 00 */ lwz r0, 0(r31) -/* 8006ED50 0006BCB0 7C 83 EA 14 */ add r4, r3, r29 -/* 8006ED54 0006BCB4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8006ED58 0006BCB8 7C 9C 0E 70 */ srawi r28, r4, 1 -/* 8006ED5C 0006BCBC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8006ED60 0006BCC0 7F 84 E3 78 */ mr r4, r28 -/* 8006ED64 0006BCC4 48 00 02 AD */ bl "advance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -/* 8006ED68 0006BCC8 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8006ED6C 0006BCCC 80 1B 00 00 */ lwz r0, 0(r27) -/* 8006ED70 0006BCD0 80 64 00 00 */ lwz r3, 0(r4) -/* 8006ED74 0006BCD4 7C 03 00 40 */ cmplw r3, r0 -/* 8006ED78 0006BCD8 40 80 00 20 */ bge lbl_8006ED98 -/* 8006ED7C 0006BCDC 90 9F 00 00 */ stw r4, 0(r31) -/* 8006ED80 0006BCE0 7C 7C E8 50 */ subf r3, r28, r29 -/* 8006ED84 0006BCE4 3B A3 FF FF */ addi r29, r3, -1 -/* 8006ED88 0006BCE8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8006ED8C 0006BCEC 38 03 00 08 */ addi r0, r3, 8 -/* 8006ED90 0006BCF0 90 1F 00 00 */ stw r0, 0(r31) -/* 8006ED94 0006BCF4 48 00 00 08 */ b lbl_8006ED9C -lbl_8006ED98: -/* 8006ED98 0006BCF8 7F 9D E3 78 */ mr r29, r28 -lbl_8006ED9C: -/* 8006ED9C 0006BCFC 2C 1D 00 00 */ cmpwi r29, 0 -/* 8006EDA0 0006BD00 41 81 FF A8 */ bgt lbl_8006ED48 -/* 8006EDA4 0006BD04 80 1F 00 00 */ lwz r0, 0(r31) -/* 8006EDA8 0006BD08 90 1E 00 00 */ stw r0, 0(r30) -/* 8006EDAC 0006BD0C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8006EDB0 0006BD10 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006EDB4 0006BD14 7C 08 03 A6 */ mtlr r0 -/* 8006EDB8 0006BD18 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006EDBC 0006BD1C 4E 80 00 20 */ blr - -.global "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi": -/* 8006EDC0 0006BD20 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006EDC4 0006BD24 7C 08 02 A6 */ mflr r0 -/* 8006EDC8 0006BD28 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006EDCC 0006BD2C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8006EDD0 0006BD30 7C 9E 23 78 */ mr r30, r4 -/* 8006EDD4 0006BD34 7C 7D 1B 78 */ mr r29, r3 -/* 8006EDD8 0006BD38 80 03 00 08 */ lwz r0, 8(r3) -/* 8006EDDC 0006BD3C 7C 1E 00 00 */ cmpw r30, r0 -/* 8006EDE0 0006BD40 40 81 00 E4 */ ble lbl_8006EEC4 -/* 8006EDE4 0006BD44 1C 7E 00 0C */ mulli r3, r30, 0xc -/* 8006EDE8 0006BD48 2C 03 00 00 */ cmpwi r3, 0 -/* 8006EDEC 0006BD4C 40 82 00 0C */ bne lbl_8006EDF8 -/* 8006EDF0 0006BD50 3B E0 00 00 */ li r31, 0 -/* 8006EDF4 0006BD54 48 00 00 18 */ b lbl_8006EE0C -lbl_8006EDF8: -/* 8006EDF8 0006BD58 3C 80 80 3D */ lis r4, lbl_803CD288@ha -/* 8006EDFC 0006BD5C 38 A0 00 00 */ li r5, 0 -/* 8006EE00 0006BD60 38 84 D2 88 */ addi r4, r4, lbl_803CD288@l -/* 8006EE04 0006BD64 48 2A 6A 15 */ bl __nwa__FUlPCcPCc -/* 8006EE08 0006BD68 7C 7F 1B 78 */ mr r31, r3 -lbl_8006EE0C: -/* 8006EE0C 0006BD6C 80 1D 00 04 */ lwz r0, 4(r29) -/* 8006EE10 0006BD70 7F E6 FB 78 */ mr r6, r31 -/* 8006EE14 0006BD74 80 FD 00 0C */ lwz r7, 0xc(r29) -/* 8006EE18 0006BD78 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8006EE1C 0006BD7C 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8006EE20 0006BD80 7C A7 02 14 */ add r5, r7, r0 -/* 8006EE24 0006BD84 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8006EE28 0006BD88 90 A1 00 08 */ stw r5, 8(r1) -/* 8006EE2C 0006BD8C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8006EE30 0006BD90 48 00 00 3C */ b lbl_8006EE6C -lbl_8006EE34: -/* 8006EE34 0006BD94 28 06 00 00 */ cmplwi r6, 0 -/* 8006EE38 0006BD98 41 82 00 2C */ beq lbl_8006EE64 -/* 8006EE3C 0006BD9C 80 07 00 00 */ lwz r0, 0(r7) -/* 8006EE40 0006BDA0 90 06 00 00 */ stw r0, 0(r6) -/* 8006EE44 0006BDA4 80 07 00 04 */ lwz r0, 4(r7) -/* 8006EE48 0006BDA8 90 06 00 04 */ stw r0, 4(r6) -/* 8006EE4C 0006BDAC 80 07 00 08 */ lwz r0, 8(r7) -/* 8006EE50 0006BDB0 90 06 00 08 */ stw r0, 8(r6) -/* 8006EE54 0006BDB4 80 86 00 08 */ lwz r4, 8(r6) -/* 8006EE58 0006BDB8 80 64 00 04 */ lwz r3, 4(r4) -/* 8006EE5C 0006BDBC 38 03 00 01 */ addi r0, r3, 1 -/* 8006EE60 0006BDC0 90 04 00 04 */ stw r0, 4(r4) -lbl_8006EE64: -/* 8006EE64 0006BDC4 38 C6 00 0C */ addi r6, r6, 0xc -/* 8006EE68 0006BDC8 38 E7 00 0C */ addi r7, r7, 0xc -lbl_8006EE6C: -/* 8006EE6C 0006BDCC 7C 07 28 40 */ cmplw r7, r5 -/* 8006EE70 0006BDD0 40 82 FF C4 */ bne lbl_8006EE34 -/* 8006EE74 0006BDD4 80 1D 00 04 */ lwz r0, 4(r29) -/* 8006EE78 0006BDD8 83 7D 00 0C */ lwz r27, 0xc(r29) -/* 8006EE7C 0006BDDC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8006EE80 0006BDE0 7F 9B 02 14 */ add r28, r27, r0 -/* 8006EE84 0006BDE4 48 00 00 20 */ b lbl_8006EEA4 -lbl_8006EE88: -/* 8006EE88 0006BDE8 28 1B 00 00 */ cmplwi r27, 0 -/* 8006EE8C 0006BDEC 41 82 00 14 */ beq lbl_8006EEA0 -/* 8006EE90 0006BDF0 34 1B 00 08 */ addic. r0, r27, 8 -/* 8006EE94 0006BDF4 41 82 00 0C */ beq lbl_8006EEA0 -/* 8006EE98 0006BDF8 38 7B 00 08 */ addi r3, r27, 8 -/* 8006EE9C 0006BDFC 4B FC 53 F9 */ bl __dt__17CMetaTransFactoryFv -lbl_8006EEA0: -/* 8006EEA0 0006BE00 3B 7B 00 0C */ addi r27, r27, 0xc -lbl_8006EEA4: -/* 8006EEA4 0006BE04 7C 1B E0 40 */ cmplw r27, r28 -/* 8006EEA8 0006BE08 40 82 FF E0 */ bne lbl_8006EE88 -/* 8006EEAC 0006BE0C 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8006EEB0 0006BE10 28 03 00 00 */ cmplwi r3, 0 -/* 8006EEB4 0006BE14 41 82 00 08 */ beq lbl_8006EEBC -/* 8006EEB8 0006BE18 48 2A 6A 79 */ bl Free__7CMemoryFPCv -lbl_8006EEBC: -/* 8006EEBC 0006BE1C 93 FD 00 0C */ stw r31, 0xc(r29) -/* 8006EEC0 0006BE20 93 DD 00 08 */ stw r30, 8(r29) -lbl_8006EEC4: -/* 8006EEC4 0006BE24 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8006EEC8 0006BE28 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006EECC 0006BE2C 7C 08 03 A6 */ mtlr r0 -/* 8006EED0 0006BE30 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006EED4 0006BE34 4E 80 00 20 */ blr - -.global "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi": -/* 8006EED8 0006BE38 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006EEDC 0006BE3C 7C 08 02 A6 */ mflr r0 -/* 8006EEE0 0006BE40 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006EEE4 0006BE44 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8006EEE8 0006BE48 7C 9F 23 78 */ mr r31, r4 -/* 8006EEEC 0006BE4C 7C 7E 1B 78 */ mr r30, r3 -/* 8006EEF0 0006BE50 80 03 00 08 */ lwz r0, 8(r3) -/* 8006EEF4 0006BE54 7C 1F 00 00 */ cmpw r31, r0 -/* 8006EEF8 0006BE58 40 81 00 D8 */ ble lbl_8006EFD0 -/* 8006EEFC 0006BE5C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 8006EF00 0006BE60 40 82 00 0C */ bne lbl_8006EF0C -/* 8006EF04 0006BE64 3B A0 00 00 */ li r29, 0 -/* 8006EF08 0006BE68 48 00 00 18 */ b lbl_8006EF20 -lbl_8006EF0C: -/* 8006EF0C 0006BE6C 3C 80 80 3D */ lis r4, lbl_803CD288@ha -/* 8006EF10 0006BE70 38 A0 00 00 */ li r5, 0 -/* 8006EF14 0006BE74 38 84 D2 88 */ addi r4, r4, lbl_803CD288@l -/* 8006EF18 0006BE78 48 2A 69 01 */ bl __nwa__FUlPCcPCc -/* 8006EF1C 0006BE7C 7C 7D 1B 78 */ mr r29, r3 -lbl_8006EF20: -/* 8006EF20 0006BE80 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006EF24 0006BE84 7F A6 EB 78 */ mr r6, r29 -/* 8006EF28 0006BE88 80 FE 00 0C */ lwz r7, 0xc(r30) -/* 8006EF2C 0006BE8C 54 00 18 38 */ slwi r0, r0, 3 -/* 8006EF30 0006BE90 7C A7 02 14 */ add r5, r7, r0 -/* 8006EF34 0006BE94 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8006EF38 0006BE98 90 A1 00 08 */ stw r5, 8(r1) -/* 8006EF3C 0006BE9C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8006EF40 0006BEA0 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8006EF44 0006BEA4 48 00 00 34 */ b lbl_8006EF78 -lbl_8006EF48: -/* 8006EF48 0006BEA8 28 06 00 00 */ cmplwi r6, 0 -/* 8006EF4C 0006BEAC 41 82 00 24 */ beq lbl_8006EF70 -/* 8006EF50 0006BEB0 80 07 00 00 */ lwz r0, 0(r7) -/* 8006EF54 0006BEB4 90 06 00 00 */ stw r0, 0(r6) -/* 8006EF58 0006BEB8 80 07 00 04 */ lwz r0, 4(r7) -/* 8006EF5C 0006BEBC 90 06 00 04 */ stw r0, 4(r6) -/* 8006EF60 0006BEC0 80 86 00 04 */ lwz r4, 4(r6) -/* 8006EF64 0006BEC4 80 64 00 04 */ lwz r3, 4(r4) -/* 8006EF68 0006BEC8 38 03 00 01 */ addi r0, r3, 1 -/* 8006EF6C 0006BECC 90 04 00 04 */ stw r0, 4(r4) -lbl_8006EF70: -/* 8006EF70 0006BED0 38 C6 00 08 */ addi r6, r6, 8 -/* 8006EF74 0006BED4 38 E7 00 08 */ addi r7, r7, 8 -lbl_8006EF78: -/* 8006EF78 0006BED8 7C 07 28 40 */ cmplw r7, r5 -/* 8006EF7C 0006BEDC 40 82 FF CC */ bne lbl_8006EF48 -/* 8006EF80 0006BEE0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006EF84 0006BEE4 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 8006EF88 0006BEE8 54 00 18 38 */ slwi r0, r0, 3 -/* 8006EF8C 0006BEEC 7F 9B 02 14 */ add r28, r27, r0 -/* 8006EF90 0006BEF0 48 00 00 20 */ b lbl_8006EFB0 -lbl_8006EF94: -/* 8006EF94 0006BEF4 28 1B 00 00 */ cmplwi r27, 0 -/* 8006EF98 0006BEF8 41 82 00 14 */ beq lbl_8006EFAC -/* 8006EF9C 0006BEFC 34 1B 00 04 */ addic. r0, r27, 4 -/* 8006EFA0 0006BF00 41 82 00 0C */ beq lbl_8006EFAC -/* 8006EFA4 0006BF04 38 7B 00 04 */ addi r3, r27, 4 -/* 8006EFA8 0006BF08 4B FC 52 ED */ bl __dt__17CMetaTransFactoryFv -lbl_8006EFAC: -/* 8006EFAC 0006BF0C 3B 7B 00 08 */ addi r27, r27, 8 -lbl_8006EFB0: -/* 8006EFB0 0006BF10 7C 1B E0 40 */ cmplw r27, r28 -/* 8006EFB4 0006BF14 40 82 FF E0 */ bne lbl_8006EF94 -/* 8006EFB8 0006BF18 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8006EFBC 0006BF1C 28 03 00 00 */ cmplwi r3, 0 -/* 8006EFC0 0006BF20 41 82 00 08 */ beq lbl_8006EFC8 -/* 8006EFC4 0006BF24 48 2A 69 6D */ bl Free__7CMemoryFPCv -lbl_8006EFC8: -/* 8006EFC8 0006BF28 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8006EFCC 0006BF2C 93 FE 00 08 */ stw r31, 8(r30) -lbl_8006EFD0: -/* 8006EFD0 0006BF30 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8006EFD4 0006BF34 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006EFD8 0006BF38 7C 08 03 A6 */ mtlr r0 -/* 8006EFDC 0006BF3C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006EFE0 0006BF40 4E 80 00 20 */ blr - -.global "advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -"advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": -/* 8006EFE4 0006BF44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006EFE8 0006BF48 7C 08 02 A6 */ mflr r0 -/* 8006EFEC 0006BF4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006EFF0 0006BF50 38 A1 00 0C */ addi r5, r1, 0xc -/* 8006EFF4 0006BF54 88 01 00 08 */ lbz r0, 8(r1) -/* 8006EFF8 0006BF58 98 01 00 0C */ stb r0, 0xc(r1) -/* 8006EFFC 0006BF5C 48 00 00 55 */ bl "__advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26rand" -/* 8006F000 0006BF60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006F004 0006BF64 7C 08 03 A6 */ mtlr r0 -/* 8006F008 0006BF68 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006F00C 0006BF6C 4E 80 00 20 */ blr - -.global "advance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -"advance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": -/* 8006F010 0006BF70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006F014 0006BF74 7C 08 02 A6 */ mflr r0 -/* 8006F018 0006BF78 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006F01C 0006BF7C 38 A1 00 0C */ addi r5, r1, 0xc -/* 8006F020 0006BF80 88 01 00 08 */ lbz r0, 8(r1) -/* 8006F024 0006BF84 98 01 00 0C */ stb r0, 0xc(r1) -/* 8006F028 0006BF88 48 00 00 15 */ bl sub_8006f03c -/* 8006F02C 0006BF8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006F030 0006BF90 7C 08 03 A6 */ mtlr r0 -/* 8006F034 0006BF94 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006F038 0006BF98 4E 80 00 20 */ blr - -.global sub_8006f03c -sub_8006f03c: -/* 8006F03C 0006BF9C 80 A3 00 00 */ lwz r5, 0(r3) -/* 8006F040 0006BFA0 54 80 18 38 */ slwi r0, r4, 3 -/* 8006F044 0006BFA4 7C 05 02 14 */ add r0, r5, r0 -/* 8006F048 0006BFA8 90 03 00 00 */ stw r0, 0(r3) -/* 8006F04C 0006BFAC 4E 80 00 20 */ blr - -.global "__advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26rand" -"__advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26rand": -/* 8006F050 0006BFB0 1C 04 00 0C */ mulli r0, r4, 0xc -/* 8006F054 0006BFB4 80 83 00 00 */ lwz r4, 0(r3) -/* 8006F058 0006BFB8 7C 04 02 14 */ add r0, r4, r0 -/* 8006F05C 0006BFBC 90 03 00 00 */ stw r0, 0(r3) -/* 8006F060 0006BFC0 4E 80 00 20 */ blr - -.global "distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_po" -"distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_po": -/* 8006F064 0006BFC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006F068 0006BFC8 7C 08 02 A6 */ mflr r0 -/* 8006F06C 0006BFCC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006F070 0006BFD0 38 A1 00 0C */ addi r5, r1, 0xc -/* 8006F074 0006BFD4 88 E1 00 08 */ lbz r7, 8(r1) -/* 8006F078 0006BFD8 80 C4 00 00 */ lwz r6, 0(r4) -/* 8006F07C 0006BFDC 38 81 00 10 */ addi r4, r1, 0x10 -/* 8006F080 0006BFE0 80 03 00 00 */ lwz r0, 0(r3) -/* 8006F084 0006BFE4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8006F088 0006BFE8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8006F08C 0006BFEC 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8006F090 0006BFF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006F094 0006BFF4 48 00 00 59 */ bl "__distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_" -/* 8006F098 0006BFF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8006F09C 0006BFFC 7C 08 03 A6 */ mtlr r0 -/* 8006F0A0 0006C000 38 21 00 20 */ addi r1, r1, 0x20 -/* 8006F0A4 0006C004 4E 80 00 20 */ blr - -.global "distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82ve" -"distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82ve": -/* 8006F0A8 0006C008 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006F0AC 0006C00C 7C 08 02 A6 */ mflr r0 -/* 8006F0B0 0006C010 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006F0B4 0006C014 38 A1 00 0C */ addi r5, r1, 0xc -/* 8006F0B8 0006C018 88 E1 00 08 */ lbz r7, 8(r1) -/* 8006F0BC 0006C01C 80 C4 00 00 */ lwz r6, 0(r4) -/* 8006F0C0 0006C020 38 81 00 10 */ addi r4, r1, 0x10 -/* 8006F0C4 0006C024 80 03 00 00 */ lwz r0, 0(r3) -/* 8006F0C8 0006C028 38 61 00 14 */ addi r3, r1, 0x14 -/* 8006F0CC 0006C02C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8006F0D0 0006C030 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8006F0D4 0006C034 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006F0D8 0006C038 48 00 00 3D */ bl "__distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82" -/* 8006F0DC 0006C03C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8006F0E0 0006C040 7C 08 03 A6 */ mtlr r0 -/* 8006F0E4 0006C044 38 21 00 20 */ addi r1, r1, 0x20 -/* 8006F0E8 0006C048 4E 80 00 20 */ blr - -.global "__distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_" -"__distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_": -/* 8006F0EC 0006C04C 80 A3 00 00 */ lwz r5, 0(r3) -/* 8006F0F0 0006C050 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha -/* 8006F0F4 0006C054 80 04 00 00 */ lwz r0, 0(r4) -/* 8006F0F8 0006C058 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l -/* 8006F0FC 0006C05C 7C 05 00 50 */ subf r0, r5, r0 -/* 8006F100 0006C060 7C 03 00 96 */ mulhw r0, r3, r0 -/* 8006F104 0006C064 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8006F108 0006C068 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8006F10C 0006C06C 7C 60 1A 14 */ add r3, r0, r3 -/* 8006F110 0006C070 4E 80 00 20 */ blr - -.global "__distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82" -"__distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82": -/* 8006F114 0006C074 80 63 00 00 */ lwz r3, 0(r3) -/* 8006F118 0006C078 80 04 00 00 */ lwz r0, 0(r4) -/* 8006F11C 0006C07C 7C 03 00 50 */ subf r0, r3, r0 -/* 8006F120 0006C080 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8006F124 0006C084 7C 60 01 94 */ addze r3, r0 -/* 8006F128 0006C088 4E 80 00 20 */ blr - -.global sub_8006f12c -sub_8006f12c: -/* 8006F12C 0006C08C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006F130 0006C090 7C 08 02 A6 */ mflr r0 -/* 8006F134 0006C094 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006F138 0006C098 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8006F13C 0006C09C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8006F140 0006C0A0 7C 9E 23 78 */ mr r30, r4 -/* 8006F144 0006C0A4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8006F148 0006C0A8 7C 7D 1B 78 */ mr r29, r3 -/* 8006F14C 0006C0AC 93 81 00 10 */ stw r28, 0x10(r1) -/* 8006F150 0006C0B0 7C BC 2B 78 */ mr r28, r5 -/* 8006F154 0006C0B4 80 C4 00 00 */ lwz r6, 0(r4) -/* 8006F158 0006C0B8 80 03 00 00 */ lwz r0, 0(r3) -/* 8006F15C 0006C0BC 7C 06 00 40 */ cmplw r6, r0 -/* 8006F160 0006C0C0 40 80 00 08 */ bge lbl_8006F168 -/* 8006F164 0006C0C4 48 00 01 4D */ bl sub_8006f2b0 -lbl_8006F168: -/* 8006F168 0006C0C8 80 7C 00 00 */ lwz r3, 0(r28) -/* 8006F16C 0006C0CC 80 1E 00 00 */ lwz r0, 0(r30) -/* 8006F170 0006C0D0 7C 03 00 40 */ cmplw r3, r0 -/* 8006F174 0006C0D4 40 80 01 1C */ bge lbl_8006F290 -/* 8006F178 0006C0D8 90 61 00 08 */ stw r3, 8(r1) -/* 8006F17C 0006C0DC 3B E1 00 0C */ addi r31, r1, 0xc -/* 8006F180 0006C0E0 80 9C 00 04 */ lwz r4, 4(r28) -/* 8006F184 0006C0E4 90 81 00 0C */ stw r4, 0xc(r1) -/* 8006F188 0006C0E8 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F18C 0006C0EC 38 03 00 01 */ addi r0, r3, 1 -/* 8006F190 0006C0F0 90 04 00 04 */ stw r0, 4(r4) -/* 8006F194 0006C0F4 80 1E 00 00 */ lwz r0, 0(r30) -/* 8006F198 0006C0F8 90 1C 00 00 */ stw r0, 0(r28) -/* 8006F19C 0006C0FC 80 7C 00 04 */ lwz r3, 4(r28) -/* 8006F1A0 0006C100 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F1A4 0006C104 7C 03 00 40 */ cmplw r3, r0 -/* 8006F1A8 0006C108 41 82 00 24 */ beq lbl_8006F1CC -/* 8006F1AC 0006C10C 38 7C 00 04 */ addi r3, r28, 4 -/* 8006F1B0 0006C110 4B FC 50 E5 */ bl __dt__17CMetaTransFactoryFv -/* 8006F1B4 0006C114 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F1B8 0006C118 90 1C 00 04 */ stw r0, 4(r28) -/* 8006F1BC 0006C11C 80 9C 00 04 */ lwz r4, 4(r28) -/* 8006F1C0 0006C120 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F1C4 0006C124 38 03 00 01 */ addi r0, r3, 1 -/* 8006F1C8 0006C128 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F1CC: -/* 8006F1CC 0006C12C 80 61 00 08 */ lwz r3, 8(r1) -/* 8006F1D0 0006C130 80 1D 00 00 */ lwz r0, 0(r29) -/* 8006F1D4 0006C134 7C 03 00 40 */ cmplw r3, r0 -/* 8006F1D8 0006C138 40 80 00 74 */ bge lbl_8006F24C -/* 8006F1DC 0006C13C 90 1E 00 00 */ stw r0, 0(r30) -/* 8006F1E0 0006C140 80 7E 00 04 */ lwz r3, 4(r30) -/* 8006F1E4 0006C144 80 1D 00 04 */ lwz r0, 4(r29) -/* 8006F1E8 0006C148 7C 03 00 40 */ cmplw r3, r0 -/* 8006F1EC 0006C14C 41 82 00 24 */ beq lbl_8006F210 -/* 8006F1F0 0006C150 38 7E 00 04 */ addi r3, r30, 4 -/* 8006F1F4 0006C154 4B FC 50 A1 */ bl __dt__17CMetaTransFactoryFv -/* 8006F1F8 0006C158 80 1D 00 04 */ lwz r0, 4(r29) -/* 8006F1FC 0006C15C 90 1E 00 04 */ stw r0, 4(r30) -/* 8006F200 0006C160 80 9E 00 04 */ lwz r4, 4(r30) -/* 8006F204 0006C164 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F208 0006C168 38 03 00 01 */ addi r0, r3, 1 -/* 8006F20C 0006C16C 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F210: -/* 8006F210 0006C170 80 01 00 08 */ lwz r0, 8(r1) -/* 8006F214 0006C174 90 1D 00 00 */ stw r0, 0(r29) -/* 8006F218 0006C178 80 7D 00 04 */ lwz r3, 4(r29) -/* 8006F21C 0006C17C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F220 0006C180 7C 03 00 40 */ cmplw r3, r0 -/* 8006F224 0006C184 41 82 00 5C */ beq lbl_8006F280 -/* 8006F228 0006C188 38 7D 00 04 */ addi r3, r29, 4 -/* 8006F22C 0006C18C 4B FC 50 69 */ bl __dt__17CMetaTransFactoryFv -/* 8006F230 0006C190 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F234 0006C194 90 1D 00 04 */ stw r0, 4(r29) -/* 8006F238 0006C198 80 9D 00 04 */ lwz r4, 4(r29) -/* 8006F23C 0006C19C 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F240 0006C1A0 38 03 00 01 */ addi r0, r3, 1 -/* 8006F244 0006C1A4 90 04 00 04 */ stw r0, 4(r4) -/* 8006F248 0006C1A8 48 00 00 38 */ b lbl_8006F280 -lbl_8006F24C: -/* 8006F24C 0006C1AC 90 7E 00 00 */ stw r3, 0(r30) -/* 8006F250 0006C1B0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8006F254 0006C1B4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F258 0006C1B8 7C 03 00 40 */ cmplw r3, r0 -/* 8006F25C 0006C1BC 41 82 00 24 */ beq lbl_8006F280 -/* 8006F260 0006C1C0 38 7E 00 04 */ addi r3, r30, 4 -/* 8006F264 0006C1C4 4B FC 50 31 */ bl __dt__17CMetaTransFactoryFv -/* 8006F268 0006C1C8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F26C 0006C1CC 90 1E 00 04 */ stw r0, 4(r30) -/* 8006F270 0006C1D0 80 9E 00 04 */ lwz r4, 4(r30) -/* 8006F274 0006C1D4 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F278 0006C1D8 38 03 00 01 */ addi r0, r3, 1 -/* 8006F27C 0006C1DC 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F280: -/* 8006F280 0006C1E0 28 1F 00 00 */ cmplwi r31, 0 -/* 8006F284 0006C1E4 41 82 00 0C */ beq lbl_8006F290 -/* 8006F288 0006C1E8 7F E3 FB 78 */ mr r3, r31 -/* 8006F28C 0006C1EC 4B FC 50 09 */ bl __dt__17CMetaTransFactoryFv -lbl_8006F290: -/* 8006F290 0006C1F0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8006F294 0006C1F4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8006F298 0006C1F8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8006F29C 0006C1FC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8006F2A0 0006C200 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8006F2A4 0006C204 7C 08 03 A6 */ mtlr r0 -/* 8006F2A8 0006C208 38 21 00 20 */ addi r1, r1, 0x20 -/* 8006F2AC 0006C20C 4E 80 00 20 */ blr - -.global sub_8006f2b0 -sub_8006f2b0: -/* 8006F2B0 0006C210 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8006F2B4 0006C214 7C 08 02 A6 */ mflr r0 -/* 8006F2B8 0006C218 90 01 00 24 */ stw r0, 0x24(r1) -/* 8006F2BC 0006C21C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8006F2C0 0006C220 3B E1 00 0C */ addi r31, r1, 0xc -/* 8006F2C4 0006C224 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8006F2C8 0006C228 7C 9E 23 78 */ mr r30, r4 -/* 8006F2CC 0006C22C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8006F2D0 0006C230 7C 7D 1B 78 */ mr r29, r3 -/* 8006F2D4 0006C234 80 03 00 00 */ lwz r0, 0(r3) -/* 8006F2D8 0006C238 90 01 00 08 */ stw r0, 8(r1) -/* 8006F2DC 0006C23C 80 83 00 04 */ lwz r4, 4(r3) -/* 8006F2E0 0006C240 90 81 00 0C */ stw r4, 0xc(r1) -/* 8006F2E4 0006C244 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F2E8 0006C248 38 03 00 01 */ addi r0, r3, 1 -/* 8006F2EC 0006C24C 90 04 00 04 */ stw r0, 4(r4) -/* 8006F2F0 0006C250 80 1E 00 00 */ lwz r0, 0(r30) -/* 8006F2F4 0006C254 90 1D 00 00 */ stw r0, 0(r29) -/* 8006F2F8 0006C258 80 7D 00 04 */ lwz r3, 4(r29) -/* 8006F2FC 0006C25C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F300 0006C260 7C 03 00 40 */ cmplw r3, r0 -/* 8006F304 0006C264 41 82 00 24 */ beq lbl_8006F328 -/* 8006F308 0006C268 38 7D 00 04 */ addi r3, r29, 4 -/* 8006F30C 0006C26C 4B FC 4F 89 */ bl __dt__17CMetaTransFactoryFv -/* 8006F310 0006C270 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F314 0006C274 90 1D 00 04 */ stw r0, 4(r29) -/* 8006F318 0006C278 80 9D 00 04 */ lwz r4, 4(r29) -/* 8006F31C 0006C27C 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F320 0006C280 38 03 00 01 */ addi r0, r3, 1 -/* 8006F324 0006C284 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F328: -/* 8006F328 0006C288 80 01 00 08 */ lwz r0, 8(r1) -/* 8006F32C 0006C28C 90 1E 00 00 */ stw r0, 0(r30) -/* 8006F330 0006C290 80 7E 00 04 */ lwz r3, 4(r30) -/* 8006F334 0006C294 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F338 0006C298 7C 03 00 40 */ cmplw r3, r0 -/* 8006F33C 0006C29C 41 82 00 24 */ beq lbl_8006F360 -/* 8006F340 0006C2A0 38 7E 00 04 */ addi r3, r30, 4 -/* 8006F344 0006C2A4 4B FC 4F 51 */ bl __dt__17CMetaTransFactoryFv -/* 8006F348 0006C2A8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F34C 0006C2AC 90 1E 00 04 */ stw r0, 4(r30) -/* 8006F350 0006C2B0 80 9E 00 04 */ lwz r4, 4(r30) -/* 8006F354 0006C2B4 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F358 0006C2B8 38 03 00 01 */ addi r0, r3, 1 -/* 8006F35C 0006C2BC 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F360: -/* 8006F360 0006C2C0 28 1F 00 00 */ cmplwi r31, 0 -/* 8006F364 0006C2C4 41 82 00 0C */ beq lbl_8006F370 -/* 8006F368 0006C2C8 7F E3 FB 78 */ mr r3, r31 -/* 8006F36C 0006C2CC 4B FC 4F 29 */ bl __dt__17CMetaTransFactoryFv -lbl_8006F370: -/* 8006F370 0006C2D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8006F374 0006C2D4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8006F378 0006C2D8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8006F37C 0006C2DC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8006F380 0006C2E0 7C 08 03 A6 */ mtlr r0 -/* 8006F384 0006C2E4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8006F388 0006C2E8 4E 80 00 20 */ blr - -.global sub_8006f38c -sub_8006f38c: -/* 8006F38C 0006C2EC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006F390 0006C2F0 7C 08 02 A6 */ mflr r0 -/* 8006F394 0006C2F4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006F398 0006C2F8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8006F39C 0006C2FC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8006F3A0 0006C300 7C BE 2B 78 */ mr r30, r5 -/* 8006F3A4 0006C304 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8006F3A8 0006C308 7C 9D 23 78 */ mr r29, r4 -/* 8006F3AC 0006C30C 93 81 00 20 */ stw r28, 0x20(r1) -/* 8006F3B0 0006C310 7C 7C 1B 78 */ mr r28, r3 -/* 8006F3B4 0006C314 80 04 00 00 */ lwz r0, 0(r4) -/* 8006F3B8 0006C318 80 63 00 00 */ lwz r3, 0(r3) -/* 8006F3BC 0006C31C 7C 00 18 40 */ cmplw r0, r3 -/* 8006F3C0 0006C320 40 82 00 20 */ bne lbl_8006F3E0 -/* 8006F3C4 0006C324 80 1D 00 04 */ lwz r0, 4(r29) -/* 8006F3C8 0006C328 80 7C 00 04 */ lwz r3, 4(r28) -/* 8006F3CC 0006C32C 7C 60 02 78 */ xor r0, r3, r0 -/* 8006F3D0 0006C330 7C 00 00 34 */ cntlzw r0, r0 -/* 8006F3D4 0006C334 7C 60 00 30 */ slw r0, r3, r0 -/* 8006F3D8 0006C338 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8006F3DC 0006C33C 48 00 00 14 */ b lbl_8006F3F0 -lbl_8006F3E0: -/* 8006F3E0 0006C340 7C 60 02 78 */ xor r0, r3, r0 -/* 8006F3E4 0006C344 7C 00 00 34 */ cntlzw r0, r0 -/* 8006F3E8 0006C348 7C 60 00 30 */ slw r0, r3, r0 -/* 8006F3EC 0006C34C 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8006F3F0: -/* 8006F3F0 0006C350 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8006F3F4 0006C354 41 82 00 10 */ beq lbl_8006F404 -/* 8006F3F8 0006C358 7F 83 E3 78 */ mr r3, r28 -/* 8006F3FC 0006C35C 7F A4 EB 78 */ mr r4, r29 -/* 8006F400 0006C360 48 00 01 E5 */ bl sub_8006f5e4 -lbl_8006F404: -/* 8006F404 0006C364 80 9E 00 00 */ lwz r4, 0(r30) -/* 8006F408 0006C368 80 7D 00 00 */ lwz r3, 0(r29) -/* 8006F40C 0006C36C 7C 04 18 40 */ cmplw r4, r3 -/* 8006F410 0006C370 40 82 00 20 */ bne lbl_8006F430 -/* 8006F414 0006C374 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F418 0006C378 80 7D 00 04 */ lwz r3, 4(r29) -/* 8006F41C 0006C37C 7C 60 02 78 */ xor r0, r3, r0 -/* 8006F420 0006C380 7C 00 00 34 */ cntlzw r0, r0 -/* 8006F424 0006C384 7C 60 00 30 */ slw r0, r3, r0 -/* 8006F428 0006C388 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8006F42C 0006C38C 48 00 00 14 */ b lbl_8006F440 -lbl_8006F430: -/* 8006F430 0006C390 7C 60 22 78 */ xor r0, r3, r4 -/* 8006F434 0006C394 7C 00 00 34 */ cntlzw r0, r0 -/* 8006F438 0006C398 7C 60 00 30 */ slw r0, r3, r0 -/* 8006F43C 0006C39C 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8006F440: -/* 8006F440 0006C3A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8006F444 0006C3A4 41 82 01 80 */ beq lbl_8006F5C4 -/* 8006F448 0006C3A8 90 81 00 08 */ stw r4, 8(r1) -/* 8006F44C 0006C3AC 3B E1 00 10 */ addi r31, r1, 0x10 -/* 8006F450 0006C3B0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F454 0006C3B4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8006F458 0006C3B8 80 9E 00 08 */ lwz r4, 8(r30) -/* 8006F45C 0006C3BC 90 81 00 10 */ stw r4, 0x10(r1) -/* 8006F460 0006C3C0 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F464 0006C3C4 38 03 00 01 */ addi r0, r3, 1 -/* 8006F468 0006C3C8 90 04 00 04 */ stw r0, 4(r4) -/* 8006F46C 0006C3CC 80 7D 00 00 */ lwz r3, 0(r29) -/* 8006F470 0006C3D0 80 1D 00 04 */ lwz r0, 4(r29) -/* 8006F474 0006C3D4 90 7E 00 00 */ stw r3, 0(r30) -/* 8006F478 0006C3D8 90 1E 00 04 */ stw r0, 4(r30) -/* 8006F47C 0006C3DC 80 7E 00 08 */ lwz r3, 8(r30) -/* 8006F480 0006C3E0 80 1D 00 08 */ lwz r0, 8(r29) -/* 8006F484 0006C3E4 7C 03 00 40 */ cmplw r3, r0 -/* 8006F488 0006C3E8 41 82 00 24 */ beq lbl_8006F4AC -/* 8006F48C 0006C3EC 38 7E 00 08 */ addi r3, r30, 8 -/* 8006F490 0006C3F0 4B FC 4E 05 */ bl __dt__17CMetaTransFactoryFv -/* 8006F494 0006C3F4 80 1D 00 08 */ lwz r0, 8(r29) -/* 8006F498 0006C3F8 90 1E 00 08 */ stw r0, 8(r30) -/* 8006F49C 0006C3FC 80 9E 00 08 */ lwz r4, 8(r30) -/* 8006F4A0 0006C400 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F4A4 0006C404 38 03 00 01 */ addi r0, r3, 1 -/* 8006F4A8 0006C408 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F4AC: -/* 8006F4AC 0006C40C 80 01 00 08 */ lwz r0, 8(r1) -/* 8006F4B0 0006C410 80 7C 00 00 */ lwz r3, 0(r28) -/* 8006F4B4 0006C414 7C 00 18 40 */ cmplw r0, r3 -/* 8006F4B8 0006C418 40 82 00 20 */ bne lbl_8006F4D8 -/* 8006F4BC 0006C41C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F4C0 0006C420 80 7C 00 04 */ lwz r3, 4(r28) -/* 8006F4C4 0006C424 7C 60 02 78 */ xor r0, r3, r0 -/* 8006F4C8 0006C428 7C 00 00 34 */ cntlzw r0, r0 -/* 8006F4CC 0006C42C 7C 60 00 30 */ slw r0, r3, r0 -/* 8006F4D0 0006C430 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8006F4D4 0006C434 48 00 00 14 */ b lbl_8006F4E8 -lbl_8006F4D8: -/* 8006F4D8 0006C438 7C 60 02 78 */ xor r0, r3, r0 -/* 8006F4DC 0006C43C 7C 00 00 34 */ cntlzw r0, r0 -/* 8006F4E0 0006C440 7C 60 00 30 */ slw r0, r3, r0 -/* 8006F4E4 0006C444 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8006F4E8: -/* 8006F4E8 0006C448 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8006F4EC 0006C44C 41 82 00 88 */ beq lbl_8006F574 -/* 8006F4F0 0006C450 80 7C 00 00 */ lwz r3, 0(r28) -/* 8006F4F4 0006C454 80 1C 00 04 */ lwz r0, 4(r28) -/* 8006F4F8 0006C458 90 7D 00 00 */ stw r3, 0(r29) -/* 8006F4FC 0006C45C 90 1D 00 04 */ stw r0, 4(r29) -/* 8006F500 0006C460 80 7D 00 08 */ lwz r3, 8(r29) -/* 8006F504 0006C464 80 1C 00 08 */ lwz r0, 8(r28) -/* 8006F508 0006C468 7C 03 00 40 */ cmplw r3, r0 -/* 8006F50C 0006C46C 41 82 00 24 */ beq lbl_8006F530 -/* 8006F510 0006C470 38 7D 00 08 */ addi r3, r29, 8 -/* 8006F514 0006C474 4B FC 4D 81 */ bl __dt__17CMetaTransFactoryFv -/* 8006F518 0006C478 80 1C 00 08 */ lwz r0, 8(r28) -/* 8006F51C 0006C47C 90 1D 00 08 */ stw r0, 8(r29) -/* 8006F520 0006C480 80 9D 00 08 */ lwz r4, 8(r29) -/* 8006F524 0006C484 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F528 0006C488 38 03 00 01 */ addi r0, r3, 1 -/* 8006F52C 0006C48C 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F530: -/* 8006F530 0006C490 80 61 00 08 */ lwz r3, 8(r1) -/* 8006F534 0006C494 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F538 0006C498 90 7C 00 00 */ stw r3, 0(r28) -/* 8006F53C 0006C49C 90 1C 00 04 */ stw r0, 4(r28) -/* 8006F540 0006C4A0 80 7C 00 08 */ lwz r3, 8(r28) -/* 8006F544 0006C4A4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006F548 0006C4A8 7C 03 00 40 */ cmplw r3, r0 -/* 8006F54C 0006C4AC 41 82 00 68 */ beq lbl_8006F5B4 -/* 8006F550 0006C4B0 38 7C 00 08 */ addi r3, r28, 8 -/* 8006F554 0006C4B4 4B FC 4D 41 */ bl __dt__17CMetaTransFactoryFv -/* 8006F558 0006C4B8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006F55C 0006C4BC 90 1C 00 08 */ stw r0, 8(r28) -/* 8006F560 0006C4C0 80 9C 00 08 */ lwz r4, 8(r28) -/* 8006F564 0006C4C4 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F568 0006C4C8 38 03 00 01 */ addi r0, r3, 1 -/* 8006F56C 0006C4CC 90 04 00 04 */ stw r0, 4(r4) -/* 8006F570 0006C4D0 48 00 00 44 */ b lbl_8006F5B4 -lbl_8006F574: -/* 8006F574 0006C4D4 80 61 00 08 */ lwz r3, 8(r1) -/* 8006F578 0006C4D8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F57C 0006C4DC 90 7D 00 00 */ stw r3, 0(r29) -/* 8006F580 0006C4E0 90 1D 00 04 */ stw r0, 4(r29) -/* 8006F584 0006C4E4 80 7D 00 08 */ lwz r3, 8(r29) -/* 8006F588 0006C4E8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006F58C 0006C4EC 7C 03 00 40 */ cmplw r3, r0 -/* 8006F590 0006C4F0 41 82 00 24 */ beq lbl_8006F5B4 -/* 8006F594 0006C4F4 38 7D 00 08 */ addi r3, r29, 8 -/* 8006F598 0006C4F8 4B FC 4C FD */ bl __dt__17CMetaTransFactoryFv -/* 8006F59C 0006C4FC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006F5A0 0006C500 90 1D 00 08 */ stw r0, 8(r29) -/* 8006F5A4 0006C504 80 9D 00 08 */ lwz r4, 8(r29) -/* 8006F5A8 0006C508 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F5AC 0006C50C 38 03 00 01 */ addi r0, r3, 1 -/* 8006F5B0 0006C510 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F5B4: -/* 8006F5B4 0006C514 28 1F 00 00 */ cmplwi r31, 0 -/* 8006F5B8 0006C518 41 82 00 0C */ beq lbl_8006F5C4 -/* 8006F5BC 0006C51C 7F E3 FB 78 */ mr r3, r31 -/* 8006F5C0 0006C520 4B FC 4C D5 */ bl __dt__17CMetaTransFactoryFv -lbl_8006F5C4: -/* 8006F5C4 0006C524 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006F5C8 0006C528 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8006F5CC 0006C52C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8006F5D0 0006C530 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8006F5D4 0006C534 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8006F5D8 0006C538 7C 08 03 A6 */ mtlr r0 -/* 8006F5DC 0006C53C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006F5E0 0006C540 4E 80 00 20 */ blr - -.global sub_8006f5e4 -sub_8006f5e4: -/* 8006F5E4 0006C544 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006F5E8 0006C548 7C 08 02 A6 */ mflr r0 -/* 8006F5EC 0006C54C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006F5F0 0006C550 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8006F5F4 0006C554 3B E1 00 10 */ addi r31, r1, 0x10 -/* 8006F5F8 0006C558 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8006F5FC 0006C55C 7C 9E 23 78 */ mr r30, r4 -/* 8006F600 0006C560 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8006F604 0006C564 7C 7D 1B 78 */ mr r29, r3 -/* 8006F608 0006C568 80 03 00 00 */ lwz r0, 0(r3) -/* 8006F60C 0006C56C 90 01 00 08 */ stw r0, 8(r1) -/* 8006F610 0006C570 80 03 00 04 */ lwz r0, 4(r3) -/* 8006F614 0006C574 90 01 00 0C */ stw r0, 0xc(r1) -/* 8006F618 0006C578 80 83 00 08 */ lwz r4, 8(r3) -/* 8006F61C 0006C57C 90 81 00 10 */ stw r4, 0x10(r1) -/* 8006F620 0006C580 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F624 0006C584 38 03 00 01 */ addi r0, r3, 1 -/* 8006F628 0006C588 90 04 00 04 */ stw r0, 4(r4) -/* 8006F62C 0006C58C 80 7E 00 00 */ lwz r3, 0(r30) -/* 8006F630 0006C590 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F634 0006C594 90 7D 00 00 */ stw r3, 0(r29) -/* 8006F638 0006C598 90 1D 00 04 */ stw r0, 4(r29) -/* 8006F63C 0006C59C 80 7D 00 08 */ lwz r3, 8(r29) -/* 8006F640 0006C5A0 80 1E 00 08 */ lwz r0, 8(r30) -/* 8006F644 0006C5A4 7C 03 00 40 */ cmplw r3, r0 -/* 8006F648 0006C5A8 41 82 00 24 */ beq lbl_8006F66C -/* 8006F64C 0006C5AC 38 7D 00 08 */ addi r3, r29, 8 -/* 8006F650 0006C5B0 4B FC 4C 45 */ bl __dt__17CMetaTransFactoryFv -/* 8006F654 0006C5B4 80 1E 00 08 */ lwz r0, 8(r30) -/* 8006F658 0006C5B8 90 1D 00 08 */ stw r0, 8(r29) -/* 8006F65C 0006C5BC 80 9D 00 08 */ lwz r4, 8(r29) -/* 8006F660 0006C5C0 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F664 0006C5C4 38 03 00 01 */ addi r0, r3, 1 -/* 8006F668 0006C5C8 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F66C: -/* 8006F66C 0006C5CC 80 61 00 08 */ lwz r3, 8(r1) -/* 8006F670 0006C5D0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F674 0006C5D4 90 7E 00 00 */ stw r3, 0(r30) -/* 8006F678 0006C5D8 90 1E 00 04 */ stw r0, 4(r30) -/* 8006F67C 0006C5DC 80 7E 00 08 */ lwz r3, 8(r30) -/* 8006F680 0006C5E0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006F684 0006C5E4 7C 03 00 40 */ cmplw r3, r0 -/* 8006F688 0006C5E8 41 82 00 24 */ beq lbl_8006F6AC -/* 8006F68C 0006C5EC 38 7E 00 08 */ addi r3, r30, 8 -/* 8006F690 0006C5F0 4B FC 4C 05 */ bl __dt__17CMetaTransFactoryFv -/* 8006F694 0006C5F4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006F698 0006C5F8 90 1E 00 08 */ stw r0, 8(r30) -/* 8006F69C 0006C5FC 80 9E 00 08 */ lwz r4, 8(r30) -/* 8006F6A0 0006C600 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F6A4 0006C604 38 03 00 01 */ addi r0, r3, 1 -/* 8006F6A8 0006C608 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F6AC: -/* 8006F6AC 0006C60C 28 1F 00 00 */ cmplwi r31, 0 -/* 8006F6B0 0006C610 41 82 00 0C */ beq lbl_8006F6BC -/* 8006F6B4 0006C614 7F E3 FB 78 */ mr r3, r31 -/* 8006F6B8 0006C618 4B FC 4B DD */ bl __dt__17CMetaTransFactoryFv -lbl_8006F6BC: -/* 8006F6BC 0006C61C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006F6C0 0006C620 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8006F6C4 0006C624 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8006F6C8 0006C628 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8006F6CC 0006C62C 7C 08 03 A6 */ mtlr r0 -/* 8006F6D0 0006C630 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006F6D4 0006C634 4E 80 00 20 */ blr - -.global sub_8006f6d8 -sub_8006f6d8: -/* 8006F6D8 0006C638 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006F6DC 0006C63C 7C 08 02 A6 */ mflr r0 -/* 8006F6E0 0006C640 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006F6E4 0006C644 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8006F6E8 0006C648 7C 7A 1B 78 */ mr r26, r3 -/* 8006F6EC 0006C64C 7C 9B 23 78 */ mr r27, r4 -/* 8006F6F0 0006C650 3B 81 00 0C */ addi r28, r1, 0xc -/* 8006F6F4 0006C654 83 E3 00 00 */ lwz r31, 0(r3) -/* 8006F6F8 0006C658 3B FF 00 08 */ addi r31, r31, 8 -/* 8006F6FC 0006C65C 48 00 00 D4 */ b lbl_8006F7D0 -lbl_8006F700: -/* 8006F700 0006C660 80 1F 00 00 */ lwz r0, 0(r31) -/* 8006F704 0006C664 7F FD FB 78 */ mr r29, r31 -/* 8006F708 0006C668 3B DF FF F8 */ addi r30, r31, -8 -/* 8006F70C 0006C66C 90 01 00 08 */ stw r0, 8(r1) -/* 8006F710 0006C670 80 9F 00 04 */ lwz r4, 4(r31) -/* 8006F714 0006C674 90 81 00 0C */ stw r4, 0xc(r1) -/* 8006F718 0006C678 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F71C 0006C67C 38 03 00 01 */ addi r0, r3, 1 -/* 8006F720 0006C680 90 04 00 04 */ stw r0, 4(r4) -/* 8006F724 0006C684 48 00 00 44 */ b lbl_8006F768 -lbl_8006F728: -/* 8006F728 0006C688 80 1E 00 00 */ lwz r0, 0(r30) -/* 8006F72C 0006C68C 90 1D 00 00 */ stw r0, 0(r29) -/* 8006F730 0006C690 80 7D 00 04 */ lwz r3, 4(r29) -/* 8006F734 0006C694 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F738 0006C698 7C 03 00 40 */ cmplw r3, r0 -/* 8006F73C 0006C69C 41 82 00 24 */ beq lbl_8006F760 -/* 8006F740 0006C6A0 38 7D 00 04 */ addi r3, r29, 4 -/* 8006F744 0006C6A4 4B FC 4B 51 */ bl __dt__17CMetaTransFactoryFv -/* 8006F748 0006C6A8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F74C 0006C6AC 90 1D 00 04 */ stw r0, 4(r29) -/* 8006F750 0006C6B0 80 9D 00 04 */ lwz r4, 4(r29) -/* 8006F754 0006C6B4 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F758 0006C6B8 38 03 00 01 */ addi r0, r3, 1 -/* 8006F75C 0006C6BC 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F760: -/* 8006F760 0006C6C0 3B BD FF F8 */ addi r29, r29, -8 -/* 8006F764 0006C6C4 3B DE FF F8 */ addi r30, r30, -8 -lbl_8006F768: -/* 8006F768 0006C6C8 80 1A 00 00 */ lwz r0, 0(r26) -/* 8006F76C 0006C6CC 7C 00 E8 40 */ cmplw r0, r29 -/* 8006F770 0006C6D0 40 80 00 14 */ bge lbl_8006F784 -/* 8006F774 0006C6D4 80 61 00 08 */ lwz r3, 8(r1) -/* 8006F778 0006C6D8 80 1E 00 00 */ lwz r0, 0(r30) -/* 8006F77C 0006C6DC 7C 03 00 40 */ cmplw r3, r0 -/* 8006F780 0006C6E0 41 80 FF A8 */ blt lbl_8006F728 -lbl_8006F784: -/* 8006F784 0006C6E4 80 01 00 08 */ lwz r0, 8(r1) -/* 8006F788 0006C6E8 90 1D 00 00 */ stw r0, 0(r29) -/* 8006F78C 0006C6EC 80 7D 00 04 */ lwz r3, 4(r29) -/* 8006F790 0006C6F0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F794 0006C6F4 7C 03 00 40 */ cmplw r3, r0 -/* 8006F798 0006C6F8 41 82 00 24 */ beq lbl_8006F7BC -/* 8006F79C 0006C6FC 38 7D 00 04 */ addi r3, r29, 4 -/* 8006F7A0 0006C700 4B FC 4A F5 */ bl __dt__17CMetaTransFactoryFv -/* 8006F7A4 0006C704 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F7A8 0006C708 90 1D 00 04 */ stw r0, 4(r29) -/* 8006F7AC 0006C70C 80 9D 00 04 */ lwz r4, 4(r29) -/* 8006F7B0 0006C710 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F7B4 0006C714 38 03 00 01 */ addi r0, r3, 1 -/* 8006F7B8 0006C718 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F7BC: -/* 8006F7BC 0006C71C 28 1C 00 00 */ cmplwi r28, 0 -/* 8006F7C0 0006C720 41 82 00 0C */ beq lbl_8006F7CC -/* 8006F7C4 0006C724 7F 83 E3 78 */ mr r3, r28 -/* 8006F7C8 0006C728 4B FC 4A CD */ bl __dt__17CMetaTransFactoryFv -lbl_8006F7CC: -/* 8006F7CC 0006C72C 3B FF 00 08 */ addi r31, r31, 8 -lbl_8006F7D0: -/* 8006F7D0 0006C730 80 1B 00 00 */ lwz r0, 0(r27) -/* 8006F7D4 0006C734 7C 1F 00 40 */ cmplw r31, r0 -/* 8006F7D8 0006C738 41 80 FF 28 */ blt lbl_8006F700 -/* 8006F7DC 0006C73C BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8006F7E0 0006C740 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006F7E4 0006C744 7C 08 03 A6 */ mtlr r0 -/* 8006F7E8 0006C748 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006F7EC 0006C74C 4E 80 00 20 */ blr - -.global "__insertion_sort,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl221pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl" -"__insertion_sort,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl221pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl": -/* 8006F7F0 0006C750 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006F7F4 0006C754 7C 08 02 A6 */ mflr r0 -/* 8006F7F8 0006C758 90 01 00 34 */ stw r0, 0x34(r1) -/* 8006F7FC 0006C75C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8006F800 0006C760 7C 7A 1B 78 */ mr r26, r3 -/* 8006F804 0006C764 7C 9B 23 78 */ mr r27, r4 -/* 8006F808 0006C768 3B 81 00 10 */ addi r28, r1, 0x10 -/* 8006F80C 0006C76C 83 E3 00 00 */ lwz r31, 0(r3) -/* 8006F810 0006C770 3B FF 00 0C */ addi r31, r31, 0xc -/* 8006F814 0006C774 48 00 01 20 */ b lbl_8006F934 -lbl_8006F818: -/* 8006F818 0006C778 80 1F 00 00 */ lwz r0, 0(r31) -/* 8006F81C 0006C77C 7F FD FB 78 */ mr r29, r31 -/* 8006F820 0006C780 3B DF FF F4 */ addi r30, r31, -12 -/* 8006F824 0006C784 90 01 00 08 */ stw r0, 8(r1) -/* 8006F828 0006C788 80 1F 00 04 */ lwz r0, 4(r31) -/* 8006F82C 0006C78C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8006F830 0006C790 80 9F 00 08 */ lwz r4, 8(r31) -/* 8006F834 0006C794 90 81 00 10 */ stw r4, 0x10(r1) -/* 8006F838 0006C798 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F83C 0006C79C 38 03 00 01 */ addi r0, r3, 1 -/* 8006F840 0006C7A0 90 04 00 04 */ stw r0, 4(r4) -/* 8006F844 0006C7A4 48 00 00 4C */ b lbl_8006F890 -lbl_8006F848: -/* 8006F848 0006C7A8 80 7E 00 00 */ lwz r3, 0(r30) -/* 8006F84C 0006C7AC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8006F850 0006C7B0 90 7D 00 00 */ stw r3, 0(r29) -/* 8006F854 0006C7B4 90 1D 00 04 */ stw r0, 4(r29) -/* 8006F858 0006C7B8 80 7D 00 08 */ lwz r3, 8(r29) -/* 8006F85C 0006C7BC 80 1E 00 08 */ lwz r0, 8(r30) -/* 8006F860 0006C7C0 7C 03 00 40 */ cmplw r3, r0 -/* 8006F864 0006C7C4 41 82 00 24 */ beq lbl_8006F888 -/* 8006F868 0006C7C8 38 7D 00 08 */ addi r3, r29, 8 -/* 8006F86C 0006C7CC 4B FC 4A 29 */ bl __dt__17CMetaTransFactoryFv -/* 8006F870 0006C7D0 80 1E 00 08 */ lwz r0, 8(r30) -/* 8006F874 0006C7D4 90 1D 00 08 */ stw r0, 8(r29) -/* 8006F878 0006C7D8 80 9D 00 08 */ lwz r4, 8(r29) -/* 8006F87C 0006C7DC 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F880 0006C7E0 38 03 00 01 */ addi r0, r3, 1 -/* 8006F884 0006C7E4 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F888: -/* 8006F888 0006C7E8 3B BD FF F4 */ addi r29, r29, -12 -/* 8006F88C 0006C7EC 3B DE FF F4 */ addi r30, r30, -12 -lbl_8006F890: -/* 8006F890 0006C7F0 80 1A 00 00 */ lwz r0, 0(r26) -/* 8006F894 0006C7F4 7C 00 E8 40 */ cmplw r0, r29 -/* 8006F898 0006C7F8 40 80 00 48 */ bge lbl_8006F8E0 -/* 8006F89C 0006C7FC 80 01 00 08 */ lwz r0, 8(r1) -/* 8006F8A0 0006C800 80 7E 00 00 */ lwz r3, 0(r30) -/* 8006F8A4 0006C804 7C 00 18 40 */ cmplw r0, r3 -/* 8006F8A8 0006C808 40 82 00 20 */ bne lbl_8006F8C8 -/* 8006F8AC 0006C80C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F8B0 0006C810 80 7E 00 04 */ lwz r3, 4(r30) -/* 8006F8B4 0006C814 7C 60 02 78 */ xor r0, r3, r0 -/* 8006F8B8 0006C818 7C 00 00 34 */ cntlzw r0, r0 -/* 8006F8BC 0006C81C 7C 60 00 30 */ slw r0, r3, r0 -/* 8006F8C0 0006C820 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8006F8C4 0006C824 48 00 00 14 */ b lbl_8006F8D8 -lbl_8006F8C8: -/* 8006F8C8 0006C828 7C 60 02 78 */ xor r0, r3, r0 -/* 8006F8CC 0006C82C 7C 00 00 34 */ cntlzw r0, r0 -/* 8006F8D0 0006C830 7C 60 00 30 */ slw r0, r3, r0 -/* 8006F8D4 0006C834 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8006F8D8: -/* 8006F8D8 0006C838 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8006F8DC 0006C83C 40 82 FF 6C */ bne lbl_8006F848 -lbl_8006F8E0: -/* 8006F8E0 0006C840 80 61 00 08 */ lwz r3, 8(r1) -/* 8006F8E4 0006C844 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8006F8E8 0006C848 90 7D 00 00 */ stw r3, 0(r29) -/* 8006F8EC 0006C84C 90 1D 00 04 */ stw r0, 4(r29) -/* 8006F8F0 0006C850 80 7D 00 08 */ lwz r3, 8(r29) -/* 8006F8F4 0006C854 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006F8F8 0006C858 7C 03 00 40 */ cmplw r3, r0 -/* 8006F8FC 0006C85C 41 82 00 24 */ beq lbl_8006F920 -/* 8006F900 0006C860 38 7D 00 08 */ addi r3, r29, 8 -/* 8006F904 0006C864 4B FC 49 91 */ bl __dt__17CMetaTransFactoryFv -/* 8006F908 0006C868 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8006F90C 0006C86C 90 1D 00 08 */ stw r0, 8(r29) -/* 8006F910 0006C870 80 9D 00 08 */ lwz r4, 8(r29) -/* 8006F914 0006C874 80 64 00 04 */ lwz r3, 4(r4) -/* 8006F918 0006C878 38 03 00 01 */ addi r0, r3, 1 -/* 8006F91C 0006C87C 90 04 00 04 */ stw r0, 4(r4) -lbl_8006F920: -/* 8006F920 0006C880 28 1C 00 00 */ cmplwi r28, 0 -/* 8006F924 0006C884 41 82 00 0C */ beq lbl_8006F930 -/* 8006F928 0006C888 7F 83 E3 78 */ mr r3, r28 -/* 8006F92C 0006C88C 4B FC 49 69 */ bl __dt__17CMetaTransFactoryFv -lbl_8006F930: -/* 8006F930 0006C890 3B FF 00 0C */ addi r31, r31, 0xc -lbl_8006F934: -/* 8006F934 0006C894 80 1B 00 00 */ lwz r0, 0(r27) -/* 8006F938 0006C898 7C 1F 00 40 */ cmplw r31, r0 -/* 8006F93C 0006C89C 41 80 FE DC */ blt lbl_8006F818 -/* 8006F940 0006C8A0 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8006F944 0006C8A4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8006F948 0006C8A8 7C 08 03 A6 */ mtlr r0 -/* 8006F94C 0006C8AC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006F950 0006C8B0 4E 80 00 20 */ blr - -.global GetMapping__19CTweakPlayerControlCFQ213ControlMapper9ECommands -GetMapping__19CTweakPlayerControlCFQ213ControlMapper9ECommands: -/* 8006F954 0006C8B4 2C 04 00 00 */ cmpwi r4, 0 -/* 8006F958 0006C8B8 41 80 00 0C */ blt lbl_8006F964 -/* 8006F95C 0006C8BC 2C 04 00 42 */ cmpwi r4, 0x42 -/* 8006F960 0006C8C0 40 81 00 0C */ ble lbl_8006F96C -lbl_8006F964: -/* 8006F964 0006C8C4 80 63 00 08 */ lwz r3, 8(r3) -/* 8006F968 0006C8C8 4E 80 00 20 */ blr -lbl_8006F96C: -/* 8006F96C 0006C8CC 54 80 10 3A */ slwi r0, r4, 2 -/* 8006F970 0006C8D0 7C 63 02 14 */ add r3, r3, r0 -/* 8006F974 0006C8D4 80 63 00 08 */ lwz r3, 8(r3) -/* 8006F978 0006C8D8 4E 80 00 20 */ blr - -.global __ct__19CTweakPlayerControlFR12CInputStream -__ct__19CTweakPlayerControlFR12CInputStream: -/* 8006F97C 0006C8DC 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8006F980 0006C8E0 7C 08 02 A6 */ mflr r0 -/* 8006F984 0006C8E4 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha -/* 8006F988 0006C8E8 90 01 01 24 */ stw r0, 0x124(r1) -/* 8006F98C 0006C8EC 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l -/* 8006F990 0006C8F0 93 E1 01 1C */ stw r31, 0x11c(r1) -/* 8006F994 0006C8F4 7C 7F 1B 78 */ mr r31, r3 -/* 8006F998 0006C8F8 3C 60 80 3E */ lis r3, lbl_803DA350@ha -/* 8006F99C 0006C8FC 90 1F 00 00 */ stw r0, 0(r31) -/* 8006F9A0 0006C900 38 03 A3 50 */ addi r0, r3, lbl_803DA350@l -/* 8006F9A4 0006C904 38 61 00 08 */ addi r3, r1, 8 -/* 8006F9A8 0006C908 90 1F 00 00 */ stw r0, 0(r31) -/* 8006F9AC 0006C90C 48 00 00 AD */ bl LoadMappings__FR12CInputStream -/* 8006F9B0 0006C910 80 01 00 08 */ lwz r0, 8(r1) -/* 8006F9B4 0006C914 38 9F 00 08 */ addi r4, r31, 8 -/* 8006F9B8 0006C918 38 61 00 0C */ addi r3, r1, 0xc -/* 8006F9BC 0006C91C 90 1F 00 04 */ stw r0, 4(r31) -/* 8006F9C0 0006C920 80 1F 00 04 */ lwz r0, 4(r31) -/* 8006F9C4 0006C924 7C 09 03 A6 */ mtctr r0 -/* 8006F9C8 0006C928 2C 00 00 00 */ cmpwi r0, 0 -/* 8006F9CC 0006C92C 40 81 00 20 */ ble lbl_8006F9EC -lbl_8006F9D0: -/* 8006F9D0 0006C930 28 04 00 00 */ cmplwi r4, 0 -/* 8006F9D4 0006C934 41 82 00 0C */ beq lbl_8006F9E0 -/* 8006F9D8 0006C938 80 03 00 00 */ lwz r0, 0(r3) -/* 8006F9DC 0006C93C 90 04 00 00 */ stw r0, 0(r4) -lbl_8006F9E0: -/* 8006F9E0 0006C940 38 84 00 04 */ addi r4, r4, 4 -/* 8006F9E4 0006C944 38 63 00 04 */ addi r3, r3, 4 -/* 8006F9E8 0006C948 42 00 FF E8 */ bdnz lbl_8006F9D0 -lbl_8006F9EC: -/* 8006F9EC 0006C94C 80 A1 00 08 */ lwz r5, 8(r1) -/* 8006F9F0 0006C950 38 60 00 00 */ li r3, 0 -/* 8006F9F4 0006C954 2C 05 00 00 */ cmpwi r5, 0 -/* 8006F9F8 0006C958 40 81 00 40 */ ble lbl_8006FA38 -/* 8006F9FC 0006C95C 2C 05 00 08 */ cmpwi r5, 8 -/* 8006FA00 0006C960 38 85 FF F8 */ addi r4, r5, -8 -/* 8006FA04 0006C964 40 81 00 20 */ ble lbl_8006FA24 -/* 8006FA08 0006C968 38 04 00 07 */ addi r0, r4, 7 -/* 8006FA0C 0006C96C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006FA10 0006C970 7C 09 03 A6 */ mtctr r0 -/* 8006FA14 0006C974 2C 04 00 00 */ cmpwi r4, 0 -/* 8006FA18 0006C978 40 81 00 0C */ ble lbl_8006FA24 -lbl_8006FA1C: -/* 8006FA1C 0006C97C 38 63 00 08 */ addi r3, r3, 8 -/* 8006FA20 0006C980 42 00 FF FC */ bdnz lbl_8006FA1C -lbl_8006FA24: -/* 8006FA24 0006C984 7C 03 28 50 */ subf r0, r3, r5 -/* 8006FA28 0006C988 7C 09 03 A6 */ mtctr r0 -/* 8006FA2C 0006C98C 7C 03 28 00 */ cmpw r3, r5 -/* 8006FA30 0006C990 40 80 00 08 */ bge lbl_8006FA38 -lbl_8006FA34: -/* 8006FA34 0006C994 42 00 00 00 */ bdnz lbl_8006FA34 -lbl_8006FA38: -/* 8006FA38 0006C998 38 00 00 00 */ li r0, 0 -/* 8006FA3C 0006C99C 7F E3 FB 78 */ mr r3, r31 -/* 8006FA40 0006C9A0 90 01 00 08 */ stw r0, 8(r1) -/* 8006FA44 0006C9A4 83 E1 01 1C */ lwz r31, 0x11c(r1) -/* 8006FA48 0006C9A8 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8006FA4C 0006C9AC 7C 08 03 A6 */ mtlr r0 -/* 8006FA50 0006C9B0 38 21 01 20 */ addi r1, r1, 0x120 -/* 8006FA54 0006C9B4 4E 80 00 20 */ blr - -.global LoadMappings__FR12CInputStream -LoadMappings__FR12CInputStream: -/* 8006FA58 0006C9B8 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8006FA5C 0006C9BC 7C 08 02 A6 */ mflr r0 -/* 8006FA60 0006C9C0 90 01 01 34 */ stw r0, 0x134(r1) -/* 8006FA64 0006C9C4 38 00 00 00 */ li r0, 0 -/* 8006FA68 0006C9C8 93 E1 01 2C */ stw r31, 0x12c(r1) -/* 8006FA6C 0006C9CC 3B E1 00 0C */ addi r31, r1, 0xc -/* 8006FA70 0006C9D0 93 C1 01 28 */ stw r30, 0x128(r1) -/* 8006FA74 0006C9D4 3B C0 00 00 */ li r30, 0 -/* 8006FA78 0006C9D8 93 A1 01 24 */ stw r29, 0x124(r1) -/* 8006FA7C 0006C9DC 7C 9D 23 78 */ mr r29, r4 -/* 8006FA80 0006C9E0 93 81 01 20 */ stw r28, 0x120(r1) -/* 8006FA84 0006C9E4 7C 7C 1B 78 */ mr r28, r3 -/* 8006FA88 0006C9E8 90 01 00 08 */ stw r0, 8(r1) -lbl_8006FA8C: -/* 8006FA8C 0006C9EC 7F A3 EB 78 */ mr r3, r29 -/* 8006FA90 0006C9F0 48 2C F1 F5 */ bl ReadLong__12CInputStreamFv -/* 8006FA94 0006C9F4 80 01 00 08 */ lwz r0, 8(r1) -/* 8006FA98 0006C9F8 54 00 10 3A */ slwi r0, r0, 2 -/* 8006FA9C 0006C9FC 7C 9F 02 15 */ add. r4, r31, r0 -/* 8006FAA0 0006CA00 41 82 00 08 */ beq lbl_8006FAA8 -/* 8006FAA4 0006CA04 90 64 00 00 */ stw r3, 0(r4) -lbl_8006FAA8: -/* 8006FAA8 0006CA08 80 61 00 08 */ lwz r3, 8(r1) -/* 8006FAAC 0006CA0C 3B DE 00 01 */ addi r30, r30, 1 -/* 8006FAB0 0006CA10 2C 1E 00 43 */ cmpwi r30, 0x43 -/* 8006FAB4 0006CA14 38 03 00 01 */ addi r0, r3, 1 -/* 8006FAB8 0006CA18 90 01 00 08 */ stw r0, 8(r1) -/* 8006FABC 0006CA1C 41 80 FF D0 */ blt lbl_8006FA8C -/* 8006FAC0 0006CA20 90 1C 00 00 */ stw r0, 0(r28) -/* 8006FAC4 0006CA24 38 7C 00 04 */ addi r3, r28, 4 -/* 8006FAC8 0006CA28 80 1C 00 00 */ lwz r0, 0(r28) -/* 8006FACC 0006CA2C 7C 09 03 A6 */ mtctr r0 -/* 8006FAD0 0006CA30 2C 00 00 00 */ cmpwi r0, 0 -/* 8006FAD4 0006CA34 40 81 00 20 */ ble lbl_8006FAF4 -lbl_8006FAD8: -/* 8006FAD8 0006CA38 28 03 00 00 */ cmplwi r3, 0 -/* 8006FADC 0006CA3C 41 82 00 0C */ beq lbl_8006FAE8 -/* 8006FAE0 0006CA40 80 1F 00 00 */ lwz r0, 0(r31) -/* 8006FAE4 0006CA44 90 03 00 00 */ stw r0, 0(r3) -lbl_8006FAE8: -/* 8006FAE8 0006CA48 38 63 00 04 */ addi r3, r3, 4 -/* 8006FAEC 0006CA4C 3B FF 00 04 */ addi r31, r31, 4 -/* 8006FAF0 0006CA50 42 00 FF E8 */ bdnz lbl_8006FAD8 -lbl_8006FAF4: -/* 8006FAF4 0006CA54 80 A1 00 08 */ lwz r5, 8(r1) -/* 8006FAF8 0006CA58 38 60 00 00 */ li r3, 0 -/* 8006FAFC 0006CA5C 2C 05 00 00 */ cmpwi r5, 0 -/* 8006FB00 0006CA60 40 81 00 40 */ ble lbl_8006FB40 -/* 8006FB04 0006CA64 2C 05 00 08 */ cmpwi r5, 8 -/* 8006FB08 0006CA68 38 85 FF F8 */ addi r4, r5, -8 -/* 8006FB0C 0006CA6C 40 81 00 20 */ ble lbl_8006FB2C -/* 8006FB10 0006CA70 38 04 00 07 */ addi r0, r4, 7 -/* 8006FB14 0006CA74 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006FB18 0006CA78 7C 09 03 A6 */ mtctr r0 -/* 8006FB1C 0006CA7C 2C 04 00 00 */ cmpwi r4, 0 -/* 8006FB20 0006CA80 40 81 00 0C */ ble lbl_8006FB2C -lbl_8006FB24: -/* 8006FB24 0006CA84 38 63 00 08 */ addi r3, r3, 8 -/* 8006FB28 0006CA88 42 00 FF FC */ bdnz lbl_8006FB24 -lbl_8006FB2C: -/* 8006FB2C 0006CA8C 7C 03 28 50 */ subf r0, r3, r5 -/* 8006FB30 0006CA90 7C 09 03 A6 */ mtctr r0 -/* 8006FB34 0006CA94 7C 03 28 00 */ cmpw r3, r5 -/* 8006FB38 0006CA98 40 80 00 08 */ bge lbl_8006FB40 -lbl_8006FB3C: -/* 8006FB3C 0006CA9C 42 00 00 00 */ bdnz lbl_8006FB3C -lbl_8006FB40: -/* 8006FB40 0006CAA0 38 00 00 00 */ li r0, 0 -/* 8006FB44 0006CAA4 83 E1 01 2C */ lwz r31, 0x12c(r1) -/* 8006FB48 0006CAA8 90 01 00 08 */ stw r0, 8(r1) -/* 8006FB4C 0006CAAC 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8006FB50 0006CAB0 83 C1 01 28 */ lwz r30, 0x128(r1) -/* 8006FB54 0006CAB4 83 A1 01 24 */ lwz r29, 0x124(r1) -/* 8006FB58 0006CAB8 83 81 01 20 */ lwz r28, 0x120(r1) -/* 8006FB5C 0006CABC 7C 08 03 A6 */ mtlr r0 -/* 8006FB60 0006CAC0 38 21 01 30 */ addi r1, r1, 0x130 -/* 8006FB64 0006CAC4 4E 80 00 20 */ blr - -.global __dt__19CTweakPlayerControlFv -__dt__19CTweakPlayerControlFv: -/* 8006FB68 0006CAC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8006FB6C 0006CACC 7C 08 02 A6 */ mflr r0 -/* 8006FB70 0006CAD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8006FB74 0006CAD4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8006FB78 0006CAD8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8006FB7C 0006CADC 41 82 00 90 */ beq lbl_8006FC0C -/* 8006FB80 0006CAE0 3C 60 80 3E */ lis r3, lbl_803DA350@ha -/* 8006FB84 0006CAE4 34 1F 00 04 */ addic. r0, r31, 4 -/* 8006FB88 0006CAE8 38 03 A3 50 */ addi r0, r3, lbl_803DA350@l -/* 8006FB8C 0006CAEC 90 1F 00 00 */ stw r0, 0(r31) -/* 8006FB90 0006CAF0 41 82 00 58 */ beq lbl_8006FBE8 -/* 8006FB94 0006CAF4 80 DF 00 04 */ lwz r6, 4(r31) -/* 8006FB98 0006CAF8 38 60 00 00 */ li r3, 0 -/* 8006FB9C 0006CAFC 2C 06 00 00 */ cmpwi r6, 0 -/* 8006FBA0 0006CB00 40 81 00 40 */ ble lbl_8006FBE0 -/* 8006FBA4 0006CB04 2C 06 00 08 */ cmpwi r6, 8 -/* 8006FBA8 0006CB08 38 A6 FF F8 */ addi r5, r6, -8 -/* 8006FBAC 0006CB0C 40 81 00 20 */ ble lbl_8006FBCC -/* 8006FBB0 0006CB10 38 05 00 07 */ addi r0, r5, 7 -/* 8006FBB4 0006CB14 54 00 E8 FE */ srwi r0, r0, 3 -/* 8006FBB8 0006CB18 7C 09 03 A6 */ mtctr r0 -/* 8006FBBC 0006CB1C 2C 05 00 00 */ cmpwi r5, 0 -/* 8006FBC0 0006CB20 40 81 00 0C */ ble lbl_8006FBCC -lbl_8006FBC4: -/* 8006FBC4 0006CB24 38 63 00 08 */ addi r3, r3, 8 -/* 8006FBC8 0006CB28 42 00 FF FC */ bdnz lbl_8006FBC4 -lbl_8006FBCC: -/* 8006FBCC 0006CB2C 7C 03 30 50 */ subf r0, r3, r6 -/* 8006FBD0 0006CB30 7C 09 03 A6 */ mtctr r0 -/* 8006FBD4 0006CB34 7C 03 30 00 */ cmpw r3, r6 -/* 8006FBD8 0006CB38 40 80 00 08 */ bge lbl_8006FBE0 -lbl_8006FBDC: -/* 8006FBDC 0006CB3C 42 00 00 00 */ bdnz lbl_8006FBDC -lbl_8006FBE0: -/* 8006FBE0 0006CB40 38 00 00 00 */ li r0, 0 -/* 8006FBE4 0006CB44 90 1F 00 04 */ stw r0, 4(r31) -lbl_8006FBE8: -/* 8006FBE8 0006CB48 28 1F 00 00 */ cmplwi r31, 0 -/* 8006FBEC 0006CB4C 41 82 00 10 */ beq lbl_8006FBFC -/* 8006FBF0 0006CB50 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 8006FBF4 0006CB54 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 8006FBF8 0006CB58 90 1F 00 00 */ stw r0, 0(r31) -lbl_8006FBFC: -/* 8006FBFC 0006CB5C 7C 80 07 35 */ extsh. r0, r4 -/* 8006FC00 0006CB60 40 81 00 0C */ ble lbl_8006FC0C -/* 8006FC04 0006CB64 7F E3 FB 78 */ mr r3, r31 -/* 8006FC08 0006CB68 48 2A 5D 29 */ bl Free__7CMemoryFPCv -lbl_8006FC0C: -/* 8006FC0C 0006CB6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8006FC10 0006CB70 7F E3 FB 78 */ mr r3, r31 -/* 8006FC14 0006CB74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8006FC18 0006CB78 7C 08 03 A6 */ mtlr r0 -/* 8006FC1C 0006CB7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8006FC20 0006CB80 4E 80 00 20 */ blr - -.global GetRichochetDamage__15CTweakPlayerGunCF11EWeaponType -GetRichochetDamage__15CTweakPlayerGunCF11EWeaponType: -/* 8006FC24 0006CB84 28 04 00 08 */ cmplwi r4, 8 -/* 8006FC28 0006CB88 41 81 00 4C */ bgt lbl_8006FC74 -/* 8006FC2C 0006CB8C 3C A0 80 3E */ lis r5, lbl_803DA360@ha -/* 8006FC30 0006CB90 54 80 10 3A */ slwi r0, r4, 2 -/* 8006FC34 0006CB94 38 85 A3 60 */ addi r4, r5, lbl_803DA360@l -/* 8006FC38 0006CB98 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8006FC3C 0006CB9C 7C 09 03 A6 */ mtctr r0 -/* 8006FC40 0006CBA0 4E 80 04 20 */ bctr -/* 8006FC44 0006CBA4 C0 23 02 84 */ lfs f1, 0x284(r3) -/* 8006FC48 0006CBA8 4E 80 00 20 */ blr -/* 8006FC4C 0006CBAC C0 23 02 88 */ lfs f1, 0x288(r3) -/* 8006FC50 0006CBB0 4E 80 00 20 */ blr -/* 8006FC54 0006CBB4 C0 23 02 8C */ lfs f1, 0x28c(r3) -/* 8006FC58 0006CBB8 4E 80 00 20 */ blr -/* 8006FC5C 0006CBBC C0 23 02 90 */ lfs f1, 0x290(r3) -/* 8006FC60 0006CBC0 4E 80 00 20 */ blr -/* 8006FC64 0006CBC4 C0 23 02 94 */ lfs f1, 0x294(r3) -/* 8006FC68 0006CBC8 4E 80 00 20 */ blr -/* 8006FC6C 0006CBCC C0 23 02 98 */ lfs f1, 0x298(r3) -/* 8006FC70 0006CBD0 4E 80 00 20 */ blr -lbl_8006FC74: -/* 8006FC74 0006CBD4 C0 22 88 18 */ lfs f1, lbl_805AA538@sda21(r2) -/* 8006FC78 0006CBD8 4E 80 00 20 */ blr - -.global GetBeamInfo__15CTweakPlayerGunCFi -GetBeamInfo__15CTweakPlayerGunCFi: -/* 8006FC7C 0006CBDC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8006FC80 0006CBE0 3C A0 80 3D */ lis r5, lbl_803CD2A4@ha -/* 8006FC84 0006CBE4 39 25 D2 A4 */ addi r9, r5, lbl_803CD2A4@l -/* 8006FC88 0006CBE8 2C 04 00 00 */ cmpwi r4, 0 -/* 8006FC8C 0006CBEC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8006FC90 0006CBF0 39 03 00 A8 */ addi r8, r3, 0xa8 -/* 8006FC94 0006CBF4 38 E3 00 E4 */ addi r7, r3, 0xe4 -/* 8006FC98 0006CBF8 38 C3 01 20 */ addi r6, r3, 0x120 -/* 8006FC9C 0006CBFC 83 E9 00 00 */ lwz r31, 0(r9) -/* 8006FCA0 0006CC00 38 A3 01 5C */ addi r5, r3, 0x15c -/* 8006FCA4 0006CC04 81 89 00 04 */ lwz r12, 4(r9) -/* 8006FCA8 0006CC08 38 03 01 98 */ addi r0, r3, 0x198 -/* 8006FCAC 0006CC0C 81 69 00 08 */ lwz r11, 8(r9) -/* 8006FCB0 0006CC10 81 49 00 0C */ lwz r10, 0xc(r9) -/* 8006FCB4 0006CC14 81 29 00 10 */ lwz r9, 0x10(r9) -/* 8006FCB8 0006CC18 93 E1 00 08 */ stw r31, 8(r1) -/* 8006FCBC 0006CC1C 91 81 00 0C */ stw r12, 0xc(r1) -/* 8006FCC0 0006CC20 91 61 00 10 */ stw r11, 0x10(r1) -/* 8006FCC4 0006CC24 91 41 00 14 */ stw r10, 0x14(r1) -/* 8006FCC8 0006CC28 91 21 00 18 */ stw r9, 0x18(r1) -/* 8006FCCC 0006CC2C 91 01 00 08 */ stw r8, 8(r1) -/* 8006FCD0 0006CC30 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8006FCD4 0006CC34 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8006FCD8 0006CC38 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8006FCDC 0006CC3C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8006FCE0 0006CC40 41 80 00 0C */ blt lbl_8006FCEC -/* 8006FCE4 0006CC44 2C 04 00 05 */ cmpwi r4, 5 -/* 8006FCE8 0006CC48 40 81 00 0C */ ble lbl_8006FCF4 -lbl_8006FCEC: -/* 8006FCEC 0006CC4C 38 63 00 A8 */ addi r3, r3, 0xa8 -/* 8006FCF0 0006CC50 48 00 00 10 */ b lbl_8006FD00 -lbl_8006FCF4: -/* 8006FCF4 0006CC54 54 80 10 3A */ slwi r0, r4, 2 -/* 8006FCF8 0006CC58 38 61 00 08 */ addi r3, r1, 8 -/* 8006FCFC 0006CC5C 7C 63 00 2E */ lwzx r3, r3, r0 -lbl_8006FD00: -/* 8006FD00 0006CC60 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8006FD04 0006CC64 38 21 00 30 */ addi r1, r1, 0x30 -/* 8006FD08 0006CC68 4E 80 00 20 */ blr - -.global sub_8006fd0c -sub_8006fd0c: -/* 8006FD0C 0006CC6C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8006FD10 0006CC70 7C 08 02 A6 */ mflr r0 -/* 8006FD14 0006CC74 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8006FD18 0006CC78 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8006FD1C 0006CC7C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8006FD20 0006CC80 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 8006FD24 0006CC84 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 8006FD28 0006CC88 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 8006FD2C 0006CC8C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 8006FD30 0006CC90 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 8006FD34 0006CC94 3C A0 80 3D */ lis r5, lbl_803CD290@ha -/* 8006FD38 0006CC98 39 03 00 A8 */ addi r8, r3, 0xa8 -/* 8006FD3C 0006CC9C 3B 65 D2 90 */ addi r27, r5, lbl_803CD290@l -/* 8006FD40 0006CCA0 38 E3 00 E4 */ addi r7, r3, 0xe4 -/* 8006FD44 0006CCA4 81 9B 00 00 */ lwz r12, 0(r27) -/* 8006FD48 0006CCA8 38 C3 01 20 */ addi r6, r3, 0x120 -/* 8006FD4C 0006CCAC 81 7B 00 04 */ lwz r11, 4(r27) -/* 8006FD50 0006CCB0 38 A3 01 5C */ addi r5, r3, 0x15c -/* 8006FD54 0006CCB4 81 5B 00 08 */ lwz r10, 8(r27) -/* 8006FD58 0006CCB8 38 03 01 98 */ addi r0, r3, 0x198 -/* 8006FD5C 0006CCBC 81 3B 00 0C */ lwz r9, 0xc(r27) -/* 8006FD60 0006CCC0 7C 9C 23 78 */ mr r28, r4 -/* 8006FD64 0006CCC4 80 7B 00 10 */ lwz r3, 0x10(r27) -/* 8006FD68 0006CCC8 3B E1 00 88 */ addi r31, r1, 0x88 -/* 8006FD6C 0006CCCC 91 81 00 88 */ stw r12, 0x88(r1) -/* 8006FD70 0006CCD0 3B C0 00 00 */ li r30, 0 -/* 8006FD74 0006CCD4 91 61 00 8C */ stw r11, 0x8c(r1) -/* 8006FD78 0006CCD8 91 41 00 90 */ stw r10, 0x90(r1) -/* 8006FD7C 0006CCDC 91 21 00 94 */ stw r9, 0x94(r1) -/* 8006FD80 0006CCE0 90 61 00 98 */ stw r3, 0x98(r1) -/* 8006FD84 0006CCE4 91 01 00 88 */ stw r8, 0x88(r1) -/* 8006FD88 0006CCE8 90 E1 00 8C */ stw r7, 0x8c(r1) -/* 8006FD8C 0006CCEC 90 C1 00 90 */ stw r6, 0x90(r1) -/* 8006FD90 0006CCF0 90 A1 00 94 */ stw r5, 0x94(r1) -/* 8006FD94 0006CCF4 90 01 00 98 */ stw r0, 0x98(r1) -lbl_8006FD98: -/* 8006FD98 0006CCF8 83 BF 00 00 */ lwz r29, 0(r31) -/* 8006FD9C 0006CCFC 7F 83 E3 78 */ mr r3, r28 -/* 8006FDA0 0006CD00 48 2C EE 89 */ bl ReadFloat__12CInputStreamFv -/* 8006FDA4 0006CD04 D0 3D 00 00 */ stfs f1, 0(r29) -/* 8006FDA8 0006CD08 7F 83 E3 78 */ mr r3, r28 -/* 8006FDAC 0006CD0C 48 2C EE D9 */ bl ReadLong__12CInputStreamFv -/* 8006FDB0 0006CD10 7C 7B 1B 78 */ mr r27, r3 -/* 8006FDB4 0006CD14 7F 83 E3 78 */ mr r3, r28 -/* 8006FDB8 0006CD18 48 2C EE 71 */ bl ReadFloat__12CInputStreamFv -/* 8006FDBC 0006CD1C FF E0 08 90 */ fmr f31, f1 -/* 8006FDC0 0006CD20 7F 83 E3 78 */ mr r3, r28 -/* 8006FDC4 0006CD24 48 2C EE 65 */ bl ReadFloat__12CInputStreamFv -/* 8006FDC8 0006CD28 FF C0 08 90 */ fmr f30, f1 -/* 8006FDCC 0006CD2C 7F 83 E3 78 */ mr r3, r28 -/* 8006FDD0 0006CD30 48 2C EE 59 */ bl ReadFloat__12CInputStreamFv -/* 8006FDD4 0006CD34 FF A0 08 90 */ fmr f29, f1 -/* 8006FDD8 0006CD38 7F 83 E3 78 */ mr r3, r28 -/* 8006FDDC 0006CD3C 48 2C EE 4D */ bl ReadFloat__12CInputStreamFv -/* 8006FDE0 0006CD40 88 E1 00 14 */ lbz r7, 0x14(r1) -/* 8006FDE4 0006CD44 38 00 00 00 */ li r0, 0 -/* 8006FDE8 0006CD48 50 07 3E 30 */ rlwimi r7, r0, 7, 0x18, 0x18 -/* 8006FDEC 0006CD4C FC 80 F8 18 */ frsp f4, f31 -/* 8006FDF0 0006CD50 54 E6 06 3E */ clrlwi r6, r7, 0x18 -/* 8006FDF4 0006CD54 88 81 00 4C */ lbz r4, 0x4c(r1) -/* 8006FDF8 0006CD58 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 -/* 8006FDFC 0006CD5C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 8006FE00 0006CD60 54 C5 06 3E */ clrlwi r5, r6, 0x18 -/* 8006FE04 0006CD64 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a -/* 8006FE08 0006CD68 FC 60 F0 18 */ frsp f3, f30 -/* 8006FE0C 0006CD6C 98 A1 00 70 */ stb r5, 0x70(r1) -/* 8006FE10 0006CD70 FC 40 E8 18 */ frsp f2, f29 -/* 8006FE14 0006CD74 FC 00 08 18 */ frsp f0, f1 -/* 8006FE18 0006CD78 7F 83 E3 78 */ mr r3, r28 -/* 8006FE1C 0006CD7C 93 7D 00 04 */ stw r27, 4(r29) -/* 8006FE20 0006CD80 80 01 00 70 */ lwz r0, 0x70(r1) -/* 8006FE24 0006CD84 98 E1 00 14 */ stb r7, 0x14(r1) -/* 8006FE28 0006CD88 90 1D 00 08 */ stw r0, 8(r29) -/* 8006FE2C 0006CD8C D0 9D 00 0C */ stfs f4, 0xc(r29) -/* 8006FE30 0006CD90 D0 7D 00 10 */ stfs f3, 0x10(r29) -/* 8006FE34 0006CD94 D0 5D 00 14 */ stfs f2, 0x14(r29) -/* 8006FE38 0006CD98 98 C1 00 14 */ stb r6, 0x14(r1) -/* 8006FE3C 0006CD9C D0 81 00 40 */ stfs f4, 0x40(r1) -/* 8006FE40 0006CDA0 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 8006FE44 0006CDA4 93 61 00 10 */ stw r27, 0x10(r1) -/* 8006FE48 0006CDA8 98 A1 00 14 */ stb r5, 0x14(r1) -/* 8006FE4C 0006CDAC 93 61 00 34 */ stw r27, 0x34(r1) -/* 8006FE50 0006CDB0 98 A1 00 38 */ stb r5, 0x38(r1) -/* 8006FE54 0006CDB4 D3 E1 00 3C */ stfs f31, 0x3c(r1) -/* 8006FE58 0006CDB8 D3 A1 00 44 */ stfs f29, 0x44(r1) -/* 8006FE5C 0006CDBC D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8006FE60 0006CDC0 98 81 00 4C */ stb r4, 0x4c(r1) -/* 8006FE64 0006CDC4 D3 C1 00 40 */ stfs f30, 0x40(r1) -/* 8006FE68 0006CDC8 93 61 00 6C */ stw r27, 0x6c(r1) -/* 8006FE6C 0006CDCC D0 81 00 74 */ stfs f4, 0x74(r1) -/* 8006FE70 0006CDD0 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 8006FE74 0006CDD4 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 8006FE78 0006CDD8 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8006FE7C 0006CDDC 98 81 00 84 */ stb r4, 0x84(r1) -/* 8006FE80 0006CDE0 98 9D 00 1C */ stb r4, 0x1c(r29) -/* 8006FE84 0006CDE4 48 2C EE 01 */ bl ReadLong__12CInputStreamFv -/* 8006FE88 0006CDE8 7C 7B 1B 78 */ mr r27, r3 -/* 8006FE8C 0006CDEC 7F 83 E3 78 */ mr r3, r28 -/* 8006FE90 0006CDF0 48 2C ED 99 */ bl ReadFloat__12CInputStreamFv -/* 8006FE94 0006CDF4 FF A0 08 90 */ fmr f29, f1 -/* 8006FE98 0006CDF8 7F 83 E3 78 */ mr r3, r28 -/* 8006FE9C 0006CDFC 48 2C ED 8D */ bl ReadFloat__12CInputStreamFv -/* 8006FEA0 0006CE00 FF C0 08 90 */ fmr f30, f1 -/* 8006FEA4 0006CE04 7F 83 E3 78 */ mr r3, r28 -/* 8006FEA8 0006CE08 48 2C ED 81 */ bl ReadFloat__12CInputStreamFv -/* 8006FEAC 0006CE0C FF E0 08 90 */ fmr f31, f1 -/* 8006FEB0 0006CE10 7F 83 E3 78 */ mr r3, r28 -/* 8006FEB4 0006CE14 48 2C ED 75 */ bl ReadFloat__12CInputStreamFv -/* 8006FEB8 0006CE18 88 C1 00 0C */ lbz r6, 0xc(r1) -/* 8006FEBC 0006CE1C 38 00 00 01 */ li r0, 1 -/* 8006FEC0 0006CE20 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 -/* 8006FEC4 0006CE24 FC 80 E8 18 */ frsp f4, f29 -/* 8006FEC8 0006CE28 38 00 00 00 */ li r0, 0 -/* 8006FECC 0006CE2C 88 61 00 30 */ lbz r3, 0x30(r1) -/* 8006FED0 0006CE30 54 C5 06 3E */ clrlwi r5, r6, 0x18 -/* 8006FED4 0006CE34 FC 60 F0 18 */ frsp f3, f30 -/* 8006FED8 0006CE38 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 -/* 8006FEDC 0006CE3C 54 A4 06 3E */ clrlwi r4, r5, 0x18 -/* 8006FEE0 0006CE40 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 8006FEE4 0006CE44 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a -/* 8006FEE8 0006CE48 93 7D 00 20 */ stw r27, 0x20(r29) -/* 8006FEEC 0006CE4C FC 40 F8 18 */ frsp f2, f31 -/* 8006FEF0 0006CE50 3B DE 00 01 */ addi r30, r30, 1 -/* 8006FEF4 0006CE54 98 81 00 54 */ stb r4, 0x54(r1) -/* 8006FEF8 0006CE58 FC 00 08 18 */ frsp f0, f1 -/* 8006FEFC 0006CE5C 2C 1E 00 05 */ cmpwi r30, 5 -/* 8006FF00 0006CE60 3B FF 00 04 */ addi r31, r31, 4 -/* 8006FF04 0006CE64 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8006FF08 0006CE68 98 C1 00 0C */ stb r6, 0xc(r1) -/* 8006FF0C 0006CE6C 90 1D 00 24 */ stw r0, 0x24(r29) -/* 8006FF10 0006CE70 D0 9D 00 28 */ stfs f4, 0x28(r29) -/* 8006FF14 0006CE74 D0 7D 00 2C */ stfs f3, 0x2c(r29) -/* 8006FF18 0006CE78 D0 5D 00 30 */ stfs f2, 0x30(r29) -/* 8006FF1C 0006CE7C 98 A1 00 0C */ stb r5, 0xc(r1) -/* 8006FF20 0006CE80 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 8006FF24 0006CE84 D0 1D 00 34 */ stfs f0, 0x34(r29) -/* 8006FF28 0006CE88 93 61 00 08 */ stw r27, 8(r1) -/* 8006FF2C 0006CE8C 98 81 00 0C */ stb r4, 0xc(r1) -/* 8006FF30 0006CE90 93 61 00 18 */ stw r27, 0x18(r1) -/* 8006FF34 0006CE94 98 81 00 1C */ stb r4, 0x1c(r1) -/* 8006FF38 0006CE98 D3 A1 00 20 */ stfs f29, 0x20(r1) -/* 8006FF3C 0006CE9C D3 E1 00 28 */ stfs f31, 0x28(r1) -/* 8006FF40 0006CEA0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8006FF44 0006CEA4 98 61 00 30 */ stb r3, 0x30(r1) -/* 8006FF48 0006CEA8 D3 C1 00 24 */ stfs f30, 0x24(r1) -/* 8006FF4C 0006CEAC 93 61 00 50 */ stw r27, 0x50(r1) -/* 8006FF50 0006CEB0 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8006FF54 0006CEB4 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 8006FF58 0006CEB8 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 8006FF5C 0006CEBC D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8006FF60 0006CEC0 98 61 00 68 */ stb r3, 0x68(r1) -/* 8006FF64 0006CEC4 98 7D 00 38 */ stb r3, 0x38(r29) -/* 8006FF68 0006CEC8 41 80 FE 30 */ blt lbl_8006FD98 -/* 8006FF6C 0006CECC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8006FF70 0006CED0 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 8006FF74 0006CED4 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 8006FF78 0006CED8 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 8006FF7C 0006CEDC E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 8006FF80 0006CEE0 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 8006FF84 0006CEE4 BB 61 00 AC */ lmw r27, 0xac(r1) -/* 8006FF88 0006CEE8 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8006FF8C 0006CEEC 7C 08 03 A6 */ mtlr r0 -/* 8006FF90 0006CEF0 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8006FF94 0006CEF4 4E 80 00 20 */ blr - -.global __ct__15CTweakPlayerGunFR12CInputStream -__ct__15CTweakPlayerGunFR12CInputStream: -/* 8006FF98 0006CEF8 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 8006FF9C 0006CEFC 7C 08 02 A6 */ mflr r0 -/* 8006FFA0 0006CF00 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 8006FFA4 0006CF04 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 8006FFA8 0006CF08 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 8006FFAC 0006CF0C DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 8006FFB0 0006CF10 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 8006FFB4 0006CF14 DB A1 01 A0 */ stfd f29, 0x1a0(r1) -/* 8006FFB8 0006CF18 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 -/* 8006FFBC 0006CF1C BF 41 01 88 */ stmw r26, 0x188(r1) -/* 8006FFC0 0006CF20 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha -/* 8006FFC4 0006CF24 3C A0 80 3E */ lis r5, lbl_803DA384@ha -/* 8006FFC8 0006CF28 7C 7E 1B 78 */ mr r30, r3 -/* 8006FFCC 0006CF2C 7C 9F 23 78 */ mr r31, r4 -/* 8006FFD0 0006CF30 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l -/* 8006FFD4 0006CF34 38 05 A3 84 */ addi r0, r5, lbl_803DA384@l -/* 8006FFD8 0006CF38 90 7E 00 00 */ stw r3, 0(r30) -/* 8006FFDC 0006CF3C 7F E3 FB 78 */ mr r3, r31 -/* 8006FFE0 0006CF40 90 1E 00 00 */ stw r0, 0(r30) -/* 8006FFE4 0006CF44 48 2C EC 45 */ bl ReadFloat__12CInputStreamFv -/* 8006FFE8 0006CF48 D0 3E 00 04 */ stfs f1, 4(r30) -/* 8006FFEC 0006CF4C 7F E3 FB 78 */ mr r3, r31 -/* 8006FFF0 0006CF50 48 2C EC 39 */ bl ReadFloat__12CInputStreamFv -/* 8006FFF4 0006CF54 D0 3E 00 08 */ stfs f1, 8(r30) -/* 8006FFF8 0006CF58 7F E3 FB 78 */ mr r3, r31 -/* 8006FFFC 0006CF5C 48 2C EC 2D */ bl ReadFloat__12CInputStreamFv -/* 80070000 0006CF60 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 80070004 0006CF64 7F E3 FB 78 */ mr r3, r31 -/* 80070008 0006CF68 48 2C EC 21 */ bl ReadFloat__12CInputStreamFv -/* 8007000C 0006CF6C D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 80070010 0006CF70 7F E3 FB 78 */ mr r3, r31 -/* 80070014 0006CF74 48 2C EC 15 */ bl ReadFloat__12CInputStreamFv -/* 80070018 0006CF78 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 8007001C 0006CF7C 7F E3 FB 78 */ mr r3, r31 -/* 80070020 0006CF80 48 2C EC 09 */ bl ReadFloat__12CInputStreamFv -/* 80070024 0006CF84 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 80070028 0006CF88 7F E3 FB 78 */ mr r3, r31 -/* 8007002C 0006CF8C 48 2C EB FD */ bl ReadFloat__12CInputStreamFv -/* 80070030 0006CF90 D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 80070034 0006CF94 7F E3 FB 78 */ mr r3, r31 -/* 80070038 0006CF98 48 2C EB F1 */ bl ReadFloat__12CInputStreamFv -/* 8007003C 0006CF9C D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 80070040 0006CFA0 7F E3 FB 78 */ mr r3, r31 -/* 80070044 0006CFA4 48 2C EB E5 */ bl ReadFloat__12CInputStreamFv -/* 80070048 0006CFA8 D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 8007004C 0006CFAC 7F E3 FB 78 */ mr r3, r31 -/* 80070050 0006CFB0 48 2C EB D9 */ bl ReadFloat__12CInputStreamFv -/* 80070054 0006CFB4 D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 80070058 0006CFB8 7F E3 FB 78 */ mr r3, r31 -/* 8007005C 0006CFBC 48 2C EB CD */ bl ReadFloat__12CInputStreamFv -/* 80070060 0006CFC0 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 80070064 0006CFC4 7F E3 FB 78 */ mr r3, r31 -/* 80070068 0006CFC8 48 2C EB C1 */ bl ReadFloat__12CInputStreamFv -/* 8007006C 0006CFCC D0 3E 00 30 */ stfs f1, 0x30(r30) -/* 80070070 0006CFD0 7F E3 FB 78 */ mr r3, r31 -/* 80070074 0006CFD4 48 2C EB B5 */ bl ReadFloat__12CInputStreamFv -/* 80070078 0006CFD8 D0 3E 00 34 */ stfs f1, 0x34(r30) -/* 8007007C 0006CFDC 7F E3 FB 78 */ mr r3, r31 -/* 80070080 0006CFE0 48 2C EB A9 */ bl ReadFloat__12CInputStreamFv -/* 80070084 0006CFE4 D0 3E 00 38 */ stfs f1, 0x38(r30) -/* 80070088 0006CFE8 7F E3 FB 78 */ mr r3, r31 -/* 8007008C 0006CFEC 48 2C EB 9D */ bl ReadFloat__12CInputStreamFv -/* 80070090 0006CFF0 D0 3E 00 3C */ stfs f1, 0x3c(r30) -/* 80070094 0006CFF4 7F E3 FB 78 */ mr r3, r31 -/* 80070098 0006CFF8 48 2C EB 91 */ bl ReadFloat__12CInputStreamFv -/* 8007009C 0006CFFC D0 3E 00 40 */ stfs f1, 0x40(r30) -/* 800700A0 0006D000 7F E3 FB 78 */ mr r3, r31 -/* 800700A4 0006D004 48 2C EB 85 */ bl ReadFloat__12CInputStreamFv -/* 800700A8 0006D008 C0 02 88 1C */ lfs f0, lbl_805AA53C@sda21(r2) -/* 800700AC 0006D00C 7F E3 FB 78 */ mr r3, r31 -/* 800700B0 0006D010 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800700B4 0006D014 D0 1E 00 44 */ stfs f0, 0x44(r30) -/* 800700B8 0006D018 48 2C EB 71 */ bl ReadFloat__12CInputStreamFv -/* 800700BC 0006D01C D0 3E 00 48 */ stfs f1, 0x48(r30) -/* 800700C0 0006D020 7F E4 FB 78 */ mr r4, r31 -/* 800700C4 0006D024 38 7E 00 4C */ addi r3, r30, 0x4c -/* 800700C8 0006D028 48 2A 4A C5 */ bl __ct__9CVector3fFR12CInputStream -/* 800700CC 0006D02C 7F E4 FB 78 */ mr r4, r31 -/* 800700D0 0006D030 38 7E 00 58 */ addi r3, r30, 0x58 -/* 800700D4 0006D034 48 2A 4A B9 */ bl __ct__9CVector3fFR12CInputStream -/* 800700D8 0006D038 7F E4 FB 78 */ mr r4, r31 -/* 800700DC 0006D03C 38 7E 00 64 */ addi r3, r30, 0x64 -/* 800700E0 0006D040 48 2A 4A AD */ bl __ct__9CVector3fFR12CInputStream -/* 800700E4 0006D044 7F E3 FB 78 */ mr r3, r31 -/* 800700E8 0006D048 48 2C EB 9D */ bl ReadLong__12CInputStreamFv -/* 800700EC 0006D04C 7C 7B 1B 78 */ mr r27, r3 -/* 800700F0 0006D050 7F E3 FB 78 */ mr r3, r31 -/* 800700F4 0006D054 48 2C EB 35 */ bl ReadFloat__12CInputStreamFv -/* 800700F8 0006D058 FF E0 08 90 */ fmr f31, f1 -/* 800700FC 0006D05C 7F E3 FB 78 */ mr r3, r31 -/* 80070100 0006D060 48 2C EB 29 */ bl ReadFloat__12CInputStreamFv -/* 80070104 0006D064 FF C0 08 90 */ fmr f30, f1 -/* 80070108 0006D068 7F E3 FB 78 */ mr r3, r31 -/* 8007010C 0006D06C 48 2C EB 1D */ bl ReadFloat__12CInputStreamFv -/* 80070110 0006D070 FF A0 08 90 */ fmr f29, f1 -/* 80070114 0006D074 7F E3 FB 78 */ mr r3, r31 -/* 80070118 0006D078 48 2C EB 11 */ bl ReadFloat__12CInputStreamFv -/* 8007011C 0006D07C 88 C1 00 7C */ lbz r6, 0x7c(r1) -/* 80070120 0006D080 38 E0 00 00 */ li r7, 0 -/* 80070124 0006D084 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 -/* 80070128 0006D088 FC 80 F8 18 */ frsp f4, f31 -/* 8007012C 0006D08C 54 C5 06 3E */ clrlwi r5, r6, 0x18 -/* 80070130 0006D090 93 7E 00 70 */ stw r27, 0x70(r30) -/* 80070134 0006D094 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19 -/* 80070138 0006D098 FC 60 F0 18 */ frsp f3, f30 -/* 8007013C 0006D09C 54 A4 06 3E */ clrlwi r4, r5, 0x18 -/* 80070140 0006D0A0 50 E4 2E B4 */ rlwimi r4, r7, 5, 0x1a, 0x1a -/* 80070144 0006D0A4 FC 40 E8 18 */ frsp f2, f29 -/* 80070148 0006D0A8 98 9E 00 74 */ stb r4, 0x74(r30) -/* 8007014C 0006D0AC FC 00 08 18 */ frsp f0, f1 -/* 80070150 0006D0B0 88 01 00 EC */ lbz r0, 0xec(r1) -/* 80070154 0006D0B4 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 80070158 0006D0B8 D0 9E 00 78 */ stfs f4, 0x78(r30) -/* 8007015C 0006D0BC 7F E3 FB 78 */ mr r3, r31 -/* 80070160 0006D0C0 D0 7E 00 7C */ stfs f3, 0x7c(r30) -/* 80070164 0006D0C4 98 C1 00 7C */ stb r6, 0x7c(r1) -/* 80070168 0006D0C8 D0 5E 00 80 */ stfs f2, 0x80(r30) -/* 8007016C 0006D0CC 98 A1 00 7C */ stb r5, 0x7c(r1) -/* 80070170 0006D0D0 D0 81 00 E0 */ stfs f4, 0xe0(r1) -/* 80070174 0006D0D4 D0 1E 00 84 */ stfs f0, 0x84(r30) -/* 80070178 0006D0D8 93 61 00 78 */ stw r27, 0x78(r1) -/* 8007017C 0006D0DC 98 81 00 7C */ stb r4, 0x7c(r1) -/* 80070180 0006D0E0 93 61 00 D4 */ stw r27, 0xd4(r1) -/* 80070184 0006D0E4 98 81 00 D8 */ stb r4, 0xd8(r1) -/* 80070188 0006D0E8 D3 E1 00 DC */ stfs f31, 0xdc(r1) -/* 8007018C 0006D0EC D3 A1 00 E4 */ stfs f29, 0xe4(r1) -/* 80070190 0006D0F0 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 80070194 0006D0F4 98 01 00 EC */ stb r0, 0xec(r1) -/* 80070198 0006D0F8 D3 C1 00 E0 */ stfs f30, 0xe0(r1) -/* 8007019C 0006D0FC 93 61 01 60 */ stw r27, 0x160(r1) -/* 800701A0 0006D100 98 81 01 64 */ stb r4, 0x164(r1) -/* 800701A4 0006D104 D0 81 01 68 */ stfs f4, 0x168(r1) -/* 800701A8 0006D108 D0 61 01 6C */ stfs f3, 0x16c(r1) -/* 800701AC 0006D10C D0 41 01 70 */ stfs f2, 0x170(r1) -/* 800701B0 0006D110 D0 01 01 74 */ stfs f0, 0x174(r1) -/* 800701B4 0006D114 98 01 01 78 */ stb r0, 0x178(r1) -/* 800701B8 0006D118 98 1E 00 88 */ stb r0, 0x88(r30) -/* 800701BC 0006D11C 48 2C EA C9 */ bl ReadLong__12CInputStreamFv -/* 800701C0 0006D120 7C 7B 1B 78 */ mr r27, r3 -/* 800701C4 0006D124 7F E3 FB 78 */ mr r3, r31 -/* 800701C8 0006D128 48 2C EA 61 */ bl ReadFloat__12CInputStreamFv -/* 800701CC 0006D12C FF E0 08 90 */ fmr f31, f1 -/* 800701D0 0006D130 7F E3 FB 78 */ mr r3, r31 -/* 800701D4 0006D134 48 2C EA 55 */ bl ReadFloat__12CInputStreamFv -/* 800701D8 0006D138 FF C0 08 90 */ fmr f30, f1 -/* 800701DC 0006D13C 7F E3 FB 78 */ mr r3, r31 -/* 800701E0 0006D140 48 2C EA 49 */ bl ReadFloat__12CInputStreamFv -/* 800701E4 0006D144 FF A0 08 90 */ fmr f29, f1 -/* 800701E8 0006D148 7F E3 FB 78 */ mr r3, r31 -/* 800701EC 0006D14C 48 2C EA 3D */ bl ReadFloat__12CInputStreamFv -/* 800701F0 0006D150 89 41 00 74 */ lbz r10, 0x74(r1) -/* 800701F4 0006D154 38 80 00 00 */ li r4, 0 -/* 800701F8 0006D158 50 8A 3E 30 */ rlwimi r10, r4, 7, 0x18, 0x18 -/* 800701FC 0006D15C FC C0 F8 18 */ frsp f6, f31 -/* 80070200 0006D160 55 49 06 3E */ clrlwi r9, r10, 0x18 -/* 80070204 0006D164 93 7E 00 8C */ stw r27, 0x8c(r30) -/* 80070208 0006D168 50 89 36 72 */ rlwimi r9, r4, 6, 0x19, 0x19 -/* 8007020C 0006D16C FC A0 F0 18 */ frsp f5, f30 -/* 80070210 0006D170 55 28 06 3E */ clrlwi r8, r9, 0x18 -/* 80070214 0006D174 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a -/* 80070218 0006D178 FC 80 E8 18 */ frsp f4, f29 -/* 8007021C 0006D17C 99 1E 00 90 */ stb r8, 0x90(r30) -/* 80070220 0006D180 FC 60 08 18 */ frsp f3, f1 -/* 80070224 0006D184 88 E1 00 D0 */ lbz r7, 0xd0(r1) -/* 80070228 0006D188 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 -/* 8007022C 0006D18C D0 DE 00 94 */ stfs f6, 0x94(r30) -/* 80070230 0006D190 88 61 00 6C */ lbz r3, 0x6c(r1) -/* 80070234 0006D194 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 80070238 0006D198 D0 BE 00 98 */ stfs f5, 0x98(r30) -/* 8007023C 0006D19C 38 00 FF FF */ li r0, -1 -/* 80070240 0006D1A0 54 66 06 3E */ clrlwi r6, r3, 0x18 -/* 80070244 0006D1A4 C0 42 88 20 */ lfs f2, lbl_805AA540@sda21(r2) -/* 80070248 0006D1A8 D0 9E 00 9C */ stfs f4, 0x9c(r30) -/* 8007024C 0006D1AC 50 86 36 72 */ rlwimi r6, r4, 6, 0x19, 0x19 -/* 80070250 0006D1B0 54 C5 06 3E */ clrlwi r5, r6, 0x18 -/* 80070254 0006D1B4 D0 7E 00 A0 */ stfs f3, 0xa0(r30) -/* 80070258 0006D1B8 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a -/* 8007025C 0006D1BC 98 FE 00 A4 */ stb r7, 0xa4(r30) -/* 80070260 0006D1C0 90 1E 00 AC */ stw r0, 0xac(r30) -/* 80070264 0006D1C4 98 BE 00 B0 */ stb r5, 0xb0(r30) -/* 80070268 0006D1C8 D0 5E 00 B4 */ stfs f2, 0xb4(r30) -/* 8007026C 0006D1CC C0 1E 00 B4 */ lfs f0, 0xb4(r30) -/* 80070270 0006D1D0 99 41 00 74 */ stb r10, 0x74(r1) -/* 80070274 0006D1D4 D0 1E 00 B8 */ stfs f0, 0xb8(r30) -/* 80070278 0006D1D8 D0 5E 00 BC */ stfs f2, 0xbc(r30) -/* 8007027C 0006D1DC 98 61 00 6C */ stb r3, 0x6c(r1) -/* 80070280 0006D1E0 D0 5E 00 C0 */ stfs f2, 0xc0(r30) -/* 80070284 0006D1E4 99 21 00 74 */ stb r9, 0x74(r1) -/* 80070288 0006D1E8 88 7E 00 C4 */ lbz r3, 0xc4(r30) -/* 8007028C 0006D1EC 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 80070290 0006D1F0 D0 C1 00 C4 */ stfs f6, 0xc4(r1) -/* 80070294 0006D1F4 98 C1 00 6C */ stb r6, 0x6c(r1) -/* 80070298 0006D1F8 93 61 00 70 */ stw r27, 0x70(r1) -/* 8007029C 0006D1FC 99 01 00 74 */ stb r8, 0x74(r1) -/* 800702A0 0006D200 93 61 00 B8 */ stw r27, 0xb8(r1) -/* 800702A4 0006D204 99 01 00 BC */ stb r8, 0xbc(r1) -/* 800702A8 0006D208 D3 E1 00 C0 */ stfs f31, 0xc0(r1) -/* 800702AC 0006D20C D3 A1 00 C8 */ stfs f29, 0xc8(r1) -/* 800702B0 0006D210 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 800702B4 0006D214 98 E1 00 D0 */ stb r7, 0xd0(r1) -/* 800702B8 0006D218 D3 C1 00 C4 */ stfs f30, 0xc4(r1) -/* 800702BC 0006D21C 93 61 01 44 */ stw r27, 0x144(r1) -/* 800702C0 0006D220 99 01 01 48 */ stb r8, 0x148(r1) -/* 800702C4 0006D224 D0 C1 01 4C */ stfs f6, 0x14c(r1) -/* 800702C8 0006D228 D0 A1 01 50 */ stfs f5, 0x150(r1) -/* 800702CC 0006D22C D0 81 01 54 */ stfs f4, 0x154(r1) -/* 800702D0 0006D230 D0 61 01 58 */ stfs f3, 0x158(r1) -/* 800702D4 0006D234 98 E1 01 5C */ stb r7, 0x15c(r1) -/* 800702D8 0006D238 90 01 00 68 */ stw r0, 0x68(r1) -/* 800702DC 0006D23C 98 A1 00 6C */ stb r5, 0x6c(r1) -/* 800702E0 0006D240 98 7E 00 C4 */ stb r3, 0xc4(r30) -/* 800702E4 0006D244 89 61 00 64 */ lbz r11, 0x64(r1) -/* 800702E8 0006D248 50 8B 3E 30 */ rlwimi r11, r4, 7, 0x18, 0x18 -/* 800702EC 0006D24C 89 41 00 5C */ lbz r10, 0x5c(r1) -/* 800702F0 0006D250 50 8A 3E 30 */ rlwimi r10, r4, 7, 0x18, 0x18 -/* 800702F4 0006D254 55 7B 06 3E */ clrlwi r27, r11, 0x18 -/* 800702F8 0006D258 90 1E 00 C8 */ stw r0, 0xc8(r30) -/* 800702FC 0006D25C 50 9B 36 72 */ rlwimi r27, r4, 6, 0x19, 0x19 -/* 80070300 0006D260 55 49 06 3E */ clrlwi r9, r10, 0x18 -/* 80070304 0006D264 57 6C 06 3E */ clrlwi r12, r27, 0x18 -/* 80070308 0006D268 99 61 00 64 */ stb r11, 0x64(r1) -/* 8007030C 0006D26C 50 8C 2E B4 */ rlwimi r12, r4, 5, 0x1a, 0x1a -/* 80070310 0006D270 50 89 36 72 */ rlwimi r9, r4, 6, 0x19, 0x19 -/* 80070314 0006D274 99 9E 00 CC */ stb r12, 0xcc(r30) -/* 80070318 0006D278 55 28 06 3E */ clrlwi r8, r9, 0x18 -/* 8007031C 0006D27C 88 E1 00 54 */ lbz r7, 0x54(r1) -/* 80070320 0006D280 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 -/* 80070324 0006D284 D0 5E 00 D0 */ stfs f2, 0xd0(r30) -/* 80070328 0006D288 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a -/* 8007032C 0006D28C 54 E5 06 3E */ clrlwi r5, r7, 0x18 -/* 80070330 0006D290 88 61 00 4C */ lbz r3, 0x4c(r1) -/* 80070334 0006D294 C0 1E 00 D0 */ lfs f0, 0xd0(r30) -/* 80070338 0006D298 50 85 36 72 */ rlwimi r5, r4, 6, 0x19, 0x19 -/* 8007033C 0006D29C 98 E1 00 54 */ stb r7, 0x54(r1) -/* 80070340 0006D2A0 54 A6 06 3E */ clrlwi r6, r5, 0x18 -/* 80070344 0006D2A4 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 80070348 0006D2A8 D0 1E 00 D4 */ stfs f0, 0xd4(r30) -/* 8007034C 0006D2AC 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a -/* 80070350 0006D2B0 D0 5E 00 D8 */ stfs f2, 0xd8(r30) -/* 80070354 0006D2B4 D0 5E 00 DC */ stfs f2, 0xdc(r30) -/* 80070358 0006D2B8 89 7E 00 E0 */ lbz r11, 0xe0(r30) -/* 8007035C 0006D2BC 50 8B 3E 30 */ rlwimi r11, r4, 7, 0x18, 0x18 -/* 80070360 0006D2C0 99 41 00 5C */ stb r10, 0x5c(r1) -/* 80070364 0006D2C4 99 7E 00 E0 */ stb r11, 0xe0(r30) -/* 80070368 0006D2C8 90 1E 00 E8 */ stw r0, 0xe8(r30) -/* 8007036C 0006D2CC 99 1E 00 EC */ stb r8, 0xec(r30) -/* 80070370 0006D2D0 D0 5E 00 F0 */ stfs f2, 0xf0(r30) -/* 80070374 0006D2D4 C0 1E 00 F0 */ lfs f0, 0xf0(r30) -/* 80070378 0006D2D8 9B 61 00 64 */ stb r27, 0x64(r1) -/* 8007037C 0006D2DC D0 1E 00 F4 */ stfs f0, 0xf4(r30) -/* 80070380 0006D2E0 D0 5E 00 F8 */ stfs f2, 0xf8(r30) -/* 80070384 0006D2E4 D0 5E 00 FC */ stfs f2, 0xfc(r30) -/* 80070388 0006D2E8 88 FE 01 00 */ lbz r7, 0x100(r30) -/* 8007038C 0006D2EC 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 -/* 80070390 0006D2F0 99 21 00 5C */ stb r9, 0x5c(r1) -/* 80070394 0006D2F4 98 FE 01 00 */ stb r7, 0x100(r30) -/* 80070398 0006D2F8 90 1E 01 04 */ stw r0, 0x104(r30) -/* 8007039C 0006D2FC 98 DE 01 08 */ stb r6, 0x108(r30) -/* 800703A0 0006D300 D0 5E 01 0C */ stfs f2, 0x10c(r30) -/* 800703A4 0006D304 C0 1E 01 0C */ lfs f0, 0x10c(r30) -/* 800703A8 0006D308 98 A1 00 54 */ stb r5, 0x54(r1) -/* 800703AC 0006D30C D0 1E 01 10 */ stfs f0, 0x110(r30) -/* 800703B0 0006D310 D0 5E 01 14 */ stfs f2, 0x114(r30) -/* 800703B4 0006D314 D0 5E 01 18 */ stfs f2, 0x118(r30) -/* 800703B8 0006D318 88 BE 01 1C */ lbz r5, 0x11c(r30) -/* 800703BC 0006D31C 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18 -/* 800703C0 0006D320 90 01 00 60 */ stw r0, 0x60(r1) -/* 800703C4 0006D324 99 81 00 64 */ stb r12, 0x64(r1) -/* 800703C8 0006D328 90 01 00 58 */ stw r0, 0x58(r1) -/* 800703CC 0006D32C 99 01 00 5C */ stb r8, 0x5c(r1) -/* 800703D0 0006D330 90 01 00 50 */ stw r0, 0x50(r1) -/* 800703D4 0006D334 98 C1 00 54 */ stb r6, 0x54(r1) -/* 800703D8 0006D338 98 BE 01 1C */ stb r5, 0x11c(r30) -/* 800703DC 0006D33C 90 01 00 48 */ stw r0, 0x48(r1) -/* 800703E0 0006D340 98 61 00 4C */ stb r3, 0x4c(r1) -/* 800703E4 0006D344 54 7B 06 3E */ clrlwi r27, r3, 0x18 -/* 800703E8 0006D348 90 1E 01 24 */ stw r0, 0x124(r30) -/* 800703EC 0006D34C 50 9B 36 72 */ rlwimi r27, r4, 6, 0x19, 0x19 -/* 800703F0 0006D350 89 81 00 44 */ lbz r12, 0x44(r1) -/* 800703F4 0006D354 57 7C 06 3E */ clrlwi r28, r27, 0x18 -/* 800703F8 0006D358 50 8C 3E 30 */ rlwimi r12, r4, 7, 0x18, 0x18 -/* 800703FC 0006D35C 50 9C 2E B4 */ rlwimi r28, r4, 5, 0x1a, 0x1a -/* 80070400 0006D360 89 21 00 3C */ lbz r9, 0x3c(r1) -/* 80070404 0006D364 9B 9E 01 28 */ stb r28, 0x128(r30) -/* 80070408 0006D368 50 89 3E 30 */ rlwimi r9, r4, 7, 0x18, 0x18 -/* 8007040C 0006D36C 55 8B 06 3E */ clrlwi r11, r12, 0x18 -/* 80070410 0006D370 88 C1 00 34 */ lbz r6, 0x34(r1) -/* 80070414 0006D374 D0 5E 01 2C */ stfs f2, 0x12c(r30) -/* 80070418 0006D378 50 86 3E 30 */ rlwimi r6, r4, 7, 0x18, 0x18 -/* 8007041C 0006D37C 50 8B 36 72 */ rlwimi r11, r4, 6, 0x19, 0x19 -/* 80070420 0006D380 55 28 06 3E */ clrlwi r8, r9, 0x18 -/* 80070424 0006D384 C0 1E 01 2C */ lfs f0, 0x12c(r30) -/* 80070428 0006D388 55 6A 06 3E */ clrlwi r10, r11, 0x18 -/* 8007042C 0006D38C 50 88 36 72 */ rlwimi r8, r4, 6, 0x19, 0x19 -/* 80070430 0006D390 99 21 00 3C */ stb r9, 0x3c(r1) -/* 80070434 0006D394 55 07 06 3E */ clrlwi r7, r8, 0x18 -/* 80070438 0006D398 54 C3 06 3E */ clrlwi r3, r6, 0x18 -/* 8007043C 0006D39C D0 1E 01 30 */ stfs f0, 0x130(r30) -/* 80070440 0006D3A0 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 80070444 0006D3A4 54 65 06 3E */ clrlwi r5, r3, 0x18 -/* 80070448 0006D3A8 50 8A 2E B4 */ rlwimi r10, r4, 5, 0x1a, 0x1a -/* 8007044C 0006D3AC D0 5E 01 34 */ stfs f2, 0x134(r30) -/* 80070450 0006D3B0 50 87 2E B4 */ rlwimi r7, r4, 5, 0x1a, 0x1a -/* 80070454 0006D3B4 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a -/* 80070458 0006D3B8 D0 5E 01 38 */ stfs f2, 0x138(r30) -/* 8007045C 0006D3BC 8B BE 01 3C */ lbz r29, 0x13c(r30) -/* 80070460 0006D3C0 50 9D 3E 30 */ rlwimi r29, r4, 7, 0x18, 0x18 -/* 80070464 0006D3C4 99 81 00 44 */ stb r12, 0x44(r1) -/* 80070468 0006D3C8 9B BE 01 3C */ stb r29, 0x13c(r30) -/* 8007046C 0006D3CC 90 1E 01 40 */ stw r0, 0x140(r30) -/* 80070470 0006D3D0 99 5E 01 44 */ stb r10, 0x144(r30) -/* 80070474 0006D3D4 D0 5E 01 48 */ stfs f2, 0x148(r30) -/* 80070478 0006D3D8 C0 1E 01 48 */ lfs f0, 0x148(r30) -/* 8007047C 0006D3DC 98 C1 00 34 */ stb r6, 0x34(r1) -/* 80070480 0006D3E0 D0 1E 01 4C */ stfs f0, 0x14c(r30) -/* 80070484 0006D3E4 D0 5E 01 50 */ stfs f2, 0x150(r30) -/* 80070488 0006D3E8 D0 5E 01 54 */ stfs f2, 0x154(r30) -/* 8007048C 0006D3EC 89 3E 01 58 */ lbz r9, 0x158(r30) -/* 80070490 0006D3F0 50 89 3E 30 */ rlwimi r9, r4, 7, 0x18, 0x18 -/* 80070494 0006D3F4 9B 61 00 4C */ stb r27, 0x4c(r1) -/* 80070498 0006D3F8 99 3E 01 58 */ stb r9, 0x158(r30) -/* 8007049C 0006D3FC 90 1E 01 60 */ stw r0, 0x160(r30) -/* 800704A0 0006D400 98 FE 01 64 */ stb r7, 0x164(r30) -/* 800704A4 0006D404 D0 5E 01 68 */ stfs f2, 0x168(r30) -/* 800704A8 0006D408 C0 1E 01 68 */ lfs f0, 0x168(r30) -/* 800704AC 0006D40C 99 61 00 44 */ stb r11, 0x44(r1) -/* 800704B0 0006D410 D0 1E 01 6C */ stfs f0, 0x16c(r30) -/* 800704B4 0006D414 D0 5E 01 70 */ stfs f2, 0x170(r30) -/* 800704B8 0006D418 D0 5E 01 74 */ stfs f2, 0x174(r30) -/* 800704BC 0006D41C 88 DE 01 78 */ lbz r6, 0x178(r30) -/* 800704C0 0006D420 50 86 3E 30 */ rlwimi r6, r4, 7, 0x18, 0x18 -/* 800704C4 0006D424 99 01 00 3C */ stb r8, 0x3c(r1) -/* 800704C8 0006D428 98 61 00 34 */ stb r3, 0x34(r1) -/* 800704CC 0006D42C 9B 81 00 4C */ stb r28, 0x4c(r1) -/* 800704D0 0006D430 90 01 00 40 */ stw r0, 0x40(r1) -/* 800704D4 0006D434 99 41 00 44 */ stb r10, 0x44(r1) -/* 800704D8 0006D438 90 01 00 38 */ stw r0, 0x38(r1) -/* 800704DC 0006D43C 98 E1 00 3C */ stb r7, 0x3c(r1) -/* 800704E0 0006D440 98 DE 01 78 */ stb r6, 0x178(r30) -/* 800704E4 0006D444 90 01 00 30 */ stw r0, 0x30(r1) -/* 800704E8 0006D448 98 A1 00 34 */ stb r5, 0x34(r1) -/* 800704EC 0006D44C 90 1E 01 7C */ stw r0, 0x17c(r30) -/* 800704F0 0006D450 7F E3 FB 78 */ mr r3, r31 -/* 800704F4 0006D454 89 41 00 2C */ lbz r10, 0x2c(r1) -/* 800704F8 0006D458 50 8A 3E 30 */ rlwimi r10, r4, 7, 0x18, 0x18 -/* 800704FC 0006D45C 98 BE 01 80 */ stb r5, 0x180(r30) -/* 80070500 0006D460 55 49 06 3E */ clrlwi r9, r10, 0x18 -/* 80070504 0006D464 88 E1 00 24 */ lbz r7, 0x24(r1) -/* 80070508 0006D468 D0 5E 01 84 */ stfs f2, 0x184(r30) -/* 8007050C 0006D46C 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 -/* 80070510 0006D470 50 89 36 72 */ rlwimi r9, r4, 6, 0x19, 0x19 -/* 80070514 0006D474 C0 1E 01 84 */ lfs f0, 0x184(r30) -/* 80070518 0006D478 55 28 06 3E */ clrlwi r8, r9, 0x18 -/* 8007051C 0006D47C 54 E5 06 3E */ clrlwi r5, r7, 0x18 -/* 80070520 0006D480 99 41 00 2C */ stb r10, 0x2c(r1) -/* 80070524 0006D484 50 85 36 72 */ rlwimi r5, r4, 6, 0x19, 0x19 -/* 80070528 0006D488 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a -/* 8007052C 0006D48C D0 1E 01 88 */ stfs f0, 0x188(r30) -/* 80070530 0006D490 54 A6 06 3E */ clrlwi r6, r5, 0x18 -/* 80070534 0006D494 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a -/* 80070538 0006D498 D0 5E 01 8C */ stfs f2, 0x18c(r30) -/* 8007053C 0006D49C D0 5E 01 90 */ stfs f2, 0x190(r30) -/* 80070540 0006D4A0 89 7E 01 94 */ lbz r11, 0x194(r30) -/* 80070544 0006D4A4 50 8B 3E 30 */ rlwimi r11, r4, 7, 0x18, 0x18 -/* 80070548 0006D4A8 98 E1 00 24 */ stb r7, 0x24(r1) -/* 8007054C 0006D4AC 99 7E 01 94 */ stb r11, 0x194(r30) -/* 80070550 0006D4B0 90 1E 01 9C */ stw r0, 0x19c(r30) -/* 80070554 0006D4B4 99 1E 01 A0 */ stb r8, 0x1a0(r30) -/* 80070558 0006D4B8 D0 5E 01 A4 */ stfs f2, 0x1a4(r30) -/* 8007055C 0006D4BC C0 1E 01 A4 */ lfs f0, 0x1a4(r30) -/* 80070560 0006D4C0 99 21 00 2C */ stb r9, 0x2c(r1) -/* 80070564 0006D4C4 D0 1E 01 A8 */ stfs f0, 0x1a8(r30) -/* 80070568 0006D4C8 D0 5E 01 AC */ stfs f2, 0x1ac(r30) -/* 8007056C 0006D4CC D0 5E 01 B0 */ stfs f2, 0x1b0(r30) -/* 80070570 0006D4D0 88 FE 01 B4 */ lbz r7, 0x1b4(r30) -/* 80070574 0006D4D4 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18 -/* 80070578 0006D4D8 98 A1 00 24 */ stb r5, 0x24(r1) -/* 8007057C 0006D4DC 98 FE 01 B4 */ stb r7, 0x1b4(r30) -/* 80070580 0006D4E0 90 1E 01 B8 */ stw r0, 0x1b8(r30) -/* 80070584 0006D4E4 98 DE 01 BC */ stb r6, 0x1bc(r30) -/* 80070588 0006D4E8 D0 5E 01 C0 */ stfs f2, 0x1c0(r30) -/* 8007058C 0006D4EC C0 1E 01 C0 */ lfs f0, 0x1c0(r30) -/* 80070590 0006D4F0 90 01 00 28 */ stw r0, 0x28(r1) -/* 80070594 0006D4F4 D0 1E 01 C4 */ stfs f0, 0x1c4(r30) -/* 80070598 0006D4F8 D0 5E 01 C8 */ stfs f2, 0x1c8(r30) -/* 8007059C 0006D4FC D0 5E 01 CC */ stfs f2, 0x1cc(r30) -/* 800705A0 0006D500 88 BE 01 D0 */ lbz r5, 0x1d0(r30) -/* 800705A4 0006D504 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18 -/* 800705A8 0006D508 99 01 00 2C */ stb r8, 0x2c(r1) -/* 800705AC 0006D50C 90 01 00 20 */ stw r0, 0x20(r1) -/* 800705B0 0006D510 98 C1 00 24 */ stb r6, 0x24(r1) -/* 800705B4 0006D514 98 BE 01 D0 */ stb r5, 0x1d0(r30) -/* 800705B8 0006D518 48 2C E6 CD */ bl ReadLong__12CInputStreamFv -/* 800705BC 0006D51C 7C 7D 1B 78 */ mr r29, r3 -/* 800705C0 0006D520 7F E3 FB 78 */ mr r3, r31 -/* 800705C4 0006D524 48 2C E6 65 */ bl ReadFloat__12CInputStreamFv -/* 800705C8 0006D528 FF E0 08 90 */ fmr f31, f1 -/* 800705CC 0006D52C 7F E3 FB 78 */ mr r3, r31 -/* 800705D0 0006D530 48 2C E6 59 */ bl ReadFloat__12CInputStreamFv -/* 800705D4 0006D534 FF C0 08 90 */ fmr f30, f1 -/* 800705D8 0006D538 7F E3 FB 78 */ mr r3, r31 -/* 800705DC 0006D53C 48 2C E6 4D */ bl ReadFloat__12CInputStreamFv -/* 800705E0 0006D540 FF A0 08 90 */ fmr f29, f1 -/* 800705E4 0006D544 7F E3 FB 78 */ mr r3, r31 -/* 800705E8 0006D548 48 2C E6 41 */ bl ReadFloat__12CInputStreamFv -/* 800705EC 0006D54C 88 01 00 1C */ lbz r0, 0x1c(r1) -/* 800705F0 0006D550 39 60 00 00 */ li r11, 0 -/* 800705F4 0006D554 51 60 3E 30 */ rlwimi r0, r11, 7, 0x18, 0x18 -/* 800705F8 0006D558 C0 02 88 20 */ lfs f0, lbl_805AA540@sda21(r2) -/* 800705FC 0006D55C 54 0A 06 3E */ clrlwi r10, r0, 0x18 -/* 80070600 0006D560 93 BE 01 D4 */ stw r29, 0x1d4(r30) -/* 80070604 0006D564 FC A0 F8 18 */ frsp f5, f31 -/* 80070608 0006D568 51 6A 36 72 */ rlwimi r10, r11, 6, 0x19, 0x19 -/* 8007060C 0006D56C 55 49 06 3E */ clrlwi r9, r10, 0x18 -/* 80070610 0006D570 98 01 00 1C */ stb r0, 0x1c(r1) -/* 80070614 0006D574 51 69 2E B4 */ rlwimi r9, r11, 5, 0x1a, 0x1a -/* 80070618 0006D578 FC 80 F0 18 */ frsp f4, f30 -/* 8007061C 0006D57C 99 3E 01 D8 */ stb r9, 0x1d8(r30) -/* 80070620 0006D580 FC 60 E8 18 */ frsp f3, f29 -/* 80070624 0006D584 38 E0 FF FF */ li r7, -1 -/* 80070628 0006D588 FC 40 08 18 */ frsp f2, f1 -/* 8007062C 0006D58C D0 BE 01 DC */ stfs f5, 0x1dc(r30) -/* 80070630 0006D590 35 9E 01 F4 */ addic. r12, r30, 0x1f4 -/* 80070634 0006D594 88 81 00 14 */ lbz r4, 0x14(r1) -/* 80070638 0006D598 51 64 3E 30 */ rlwimi r4, r11, 7, 0x18, 0x18 -/* 8007063C 0006D59C D0 9E 01 E0 */ stfs f4, 0x1e0(r30) -/* 80070640 0006D5A0 89 01 00 B4 */ lbz r8, 0xb4(r1) -/* 80070644 0006D5A4 51 68 3E 30 */ rlwimi r8, r11, 7, 0x18, 0x18 -/* 80070648 0006D5A8 D0 7E 01 E4 */ stfs f3, 0x1e4(r30) -/* 8007064C 0006D5AC 54 86 06 3E */ clrlwi r6, r4, 0x18 -/* 80070650 0006D5B0 51 66 36 72 */ rlwimi r6, r11, 6, 0x19, 0x19 -/* 80070654 0006D5B4 88 61 01 24 */ lbz r3, 0x124(r1) -/* 80070658 0006D5B8 D0 5E 01 E8 */ stfs f2, 0x1e8(r30) -/* 8007065C 0006D5BC 51 63 3E 30 */ rlwimi r3, r11, 7, 0x18, 0x18 -/* 80070660 0006D5C0 54 C5 06 3E */ clrlwi r5, r6, 0x18 -/* 80070664 0006D5C4 FC C0 00 18 */ frsp f6, f0 -/* 80070668 0006D5C8 51 65 2E B4 */ rlwimi r5, r11, 5, 0x1a, 0x1a -/* 8007066C 0006D5CC 98 81 00 14 */ stb r4, 0x14(r1) -/* 80070670 0006D5D0 38 00 00 05 */ li r0, 5 -/* 80070674 0006D5D4 54 6B 06 3E */ clrlwi r11, r3, 0x18 -/* 80070678 0006D5D8 99 41 00 1C */ stb r10, 0x1c(r1) -/* 8007067C 0006D5DC 54 A4 06 3E */ clrlwi r4, r5, 0x18 -/* 80070680 0006D5E0 D0 A1 00 A8 */ stfs f5, 0xa8(r1) -/* 80070684 0006D5E4 99 1E 01 EC */ stb r8, 0x1ec(r30) -/* 80070688 0006D5E8 98 C1 00 14 */ stb r6, 0x14(r1) -/* 8007068C 0006D5EC 93 A1 00 18 */ stw r29, 0x18(r1) -/* 80070690 0006D5F0 99 21 00 1C */ stb r9, 0x1c(r1) -/* 80070694 0006D5F4 93 A1 00 9C */ stw r29, 0x9c(r1) -/* 80070698 0006D5F8 99 21 00 A0 */ stb r9, 0xa0(r1) -/* 8007069C 0006D5FC D3 E1 00 A4 */ stfs f31, 0xa4(r1) -/* 800706A0 0006D600 D3 A1 00 AC */ stfs f29, 0xac(r1) -/* 800706A4 0006D604 D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 800706A8 0006D608 99 01 00 B4 */ stb r8, 0xb4(r1) -/* 800706AC 0006D60C D3 C1 00 A8 */ stfs f30, 0xa8(r1) -/* 800706B0 0006D610 93 A1 01 28 */ stw r29, 0x128(r1) -/* 800706B4 0006D614 99 21 01 2C */ stb r9, 0x12c(r1) -/* 800706B8 0006D618 D0 A1 01 30 */ stfs f5, 0x130(r1) -/* 800706BC 0006D61C D0 81 01 34 */ stfs f4, 0x134(r1) -/* 800706C0 0006D620 D0 61 01 38 */ stfs f3, 0x138(r1) -/* 800706C4 0006D624 D0 41 01 3C */ stfs f2, 0x13c(r1) -/* 800706C8 0006D628 99 01 01 40 */ stb r8, 0x140(r1) -/* 800706CC 0006D62C 90 E1 00 10 */ stw r7, 0x10(r1) -/* 800706D0 0006D630 98 A1 00 14 */ stb r5, 0x14(r1) -/* 800706D4 0006D634 90 E1 01 0C */ stw r7, 0x10c(r1) -/* 800706D8 0006D638 98 A1 01 10 */ stb r5, 0x110(r1) -/* 800706DC 0006D63C D0 01 01 14 */ stfs f0, 0x114(r1) -/* 800706E0 0006D640 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 800706E4 0006D644 D0 01 01 1C */ stfs f0, 0x11c(r1) -/* 800706E8 0006D648 D0 01 01 20 */ stfs f0, 0x120(r1) -/* 800706EC 0006D64C 98 61 01 24 */ stb r3, 0x124(r1) -/* 800706F0 0006D650 90 1E 01 F0 */ stw r0, 0x1f0(r30) -/* 800706F4 0006D654 41 82 00 20 */ beq lbl_80070714 -/* 800706F8 0006D658 90 EC 00 00 */ stw r7, 0(r12) -/* 800706FC 0006D65C 98 8C 00 04 */ stb r4, 4(r12) -/* 80070700 0006D660 D0 0C 00 08 */ stfs f0, 8(r12) -/* 80070704 0006D664 D0 CC 00 0C */ stfs f6, 0xc(r12) -/* 80070708 0006D668 D0 0C 00 10 */ stfs f0, 0x10(r12) -/* 8007070C 0006D66C D0 0C 00 14 */ stfs f0, 0x14(r12) -/* 80070710 0006D670 99 6C 00 18 */ stb r11, 0x18(r12) -lbl_80070714: -/* 80070714 0006D674 35 8C 00 1C */ addic. r12, r12, 0x1c -/* 80070718 0006D678 41 82 00 20 */ beq lbl_80070738 -/* 8007071C 0006D67C 90 EC 00 00 */ stw r7, 0(r12) -/* 80070720 0006D680 98 8C 00 04 */ stb r4, 4(r12) -/* 80070724 0006D684 D0 0C 00 08 */ stfs f0, 8(r12) -/* 80070728 0006D688 D0 CC 00 0C */ stfs f6, 0xc(r12) -/* 8007072C 0006D68C D0 0C 00 10 */ stfs f0, 0x10(r12) -/* 80070730 0006D690 D0 0C 00 14 */ stfs f0, 0x14(r12) -/* 80070734 0006D694 99 6C 00 18 */ stb r11, 0x18(r12) -lbl_80070738: -/* 80070738 0006D698 35 8C 00 1C */ addic. r12, r12, 0x1c -/* 8007073C 0006D69C 41 82 00 20 */ beq lbl_8007075C -/* 80070740 0006D6A0 90 EC 00 00 */ stw r7, 0(r12) -/* 80070744 0006D6A4 98 8C 00 04 */ stb r4, 4(r12) -/* 80070748 0006D6A8 D0 0C 00 08 */ stfs f0, 8(r12) -/* 8007074C 0006D6AC D0 CC 00 0C */ stfs f6, 0xc(r12) -/* 80070750 0006D6B0 D0 0C 00 10 */ stfs f0, 0x10(r12) -/* 80070754 0006D6B4 D0 0C 00 14 */ stfs f0, 0x14(r12) -/* 80070758 0006D6B8 99 6C 00 18 */ stb r11, 0x18(r12) -lbl_8007075C: -/* 8007075C 0006D6BC 35 8C 00 1C */ addic. r12, r12, 0x1c -/* 80070760 0006D6C0 41 82 00 20 */ beq lbl_80070780 -/* 80070764 0006D6C4 90 EC 00 00 */ stw r7, 0(r12) -/* 80070768 0006D6C8 98 8C 00 04 */ stb r4, 4(r12) -/* 8007076C 0006D6CC D0 0C 00 08 */ stfs f0, 8(r12) -/* 80070770 0006D6D0 D0 CC 00 0C */ stfs f6, 0xc(r12) -/* 80070774 0006D6D4 D0 0C 00 10 */ stfs f0, 0x10(r12) -/* 80070778 0006D6D8 D0 0C 00 14 */ stfs f0, 0x14(r12) -/* 8007077C 0006D6DC 99 6C 00 18 */ stb r11, 0x18(r12) -lbl_80070780: -/* 80070780 0006D6E0 35 8C 00 1C */ addic. r12, r12, 0x1c -/* 80070784 0006D6E4 41 82 00 20 */ beq lbl_800707A4 -/* 80070788 0006D6E8 90 EC 00 00 */ stw r7, 0(r12) -/* 8007078C 0006D6EC 98 8C 00 04 */ stb r4, 4(r12) -/* 80070790 0006D6F0 D0 0C 00 08 */ stfs f0, 8(r12) -/* 80070794 0006D6F4 D0 CC 00 0C */ stfs f6, 0xc(r12) -/* 80070798 0006D6F8 D0 0C 00 10 */ stfs f0, 0x10(r12) -/* 8007079C 0006D6FC D0 0C 00 14 */ stfs f0, 0x14(r12) -/* 800707A0 0006D700 99 6C 00 18 */ stb r11, 0x18(r12) -lbl_800707A4: -/* 800707A4 0006D704 38 00 00 05 */ li r0, 5 -/* 800707A8 0006D708 34 7E 02 84 */ addic. r3, r30, 0x284 -/* 800707AC 0006D70C 90 1E 02 80 */ stw r0, 0x280(r30) -/* 800707B0 0006D710 41 82 00 0C */ beq lbl_800707BC -/* 800707B4 0006D714 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) -/* 800707B8 0006D718 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800707BC: -/* 800707BC 0006D71C 34 63 00 04 */ addic. r3, r3, 4 -/* 800707C0 0006D720 41 82 00 0C */ beq lbl_800707CC -/* 800707C4 0006D724 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) -/* 800707C8 0006D728 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800707CC: -/* 800707CC 0006D72C 34 63 00 04 */ addic. r3, r3, 4 -/* 800707D0 0006D730 41 82 00 0C */ beq lbl_800707DC -/* 800707D4 0006D734 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) -/* 800707D8 0006D738 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800707DC: -/* 800707DC 0006D73C 34 63 00 04 */ addic. r3, r3, 4 -/* 800707E0 0006D740 41 82 00 0C */ beq lbl_800707EC -/* 800707E4 0006D744 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) -/* 800707E8 0006D748 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800707EC: -/* 800707EC 0006D74C 34 63 00 04 */ addic. r3, r3, 4 -/* 800707F0 0006D750 41 82 00 0C */ beq lbl_800707FC -/* 800707F4 0006D754 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13) -/* 800707F8 0006D758 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800707FC: -/* 800707FC 0006D75C 7F C3 F3 78 */ mr r3, r30 -/* 80070800 0006D760 7F E4 FB 78 */ mr r4, r31 -/* 80070804 0006D764 4B FF F5 09 */ bl sub_8006fd0c -/* 80070808 0006D768 3B 40 00 00 */ li r26, 0 -/* 8007080C 0006D76C 3B 80 00 00 */ li r28, 0 -lbl_80070810: -/* 80070810 0006D770 7F E3 FB 78 */ mr r3, r31 -/* 80070814 0006D774 48 2C E4 71 */ bl ReadLong__12CInputStreamFv -/* 80070818 0006D778 7C 7D 1B 78 */ mr r29, r3 -/* 8007081C 0006D77C 7F E3 FB 78 */ mr r3, r31 -/* 80070820 0006D780 48 2C E4 09 */ bl ReadFloat__12CInputStreamFv -/* 80070824 0006D784 FF A0 08 90 */ fmr f29, f1 -/* 80070828 0006D788 7F E3 FB 78 */ mr r3, r31 -/* 8007082C 0006D78C 48 2C E3 FD */ bl ReadFloat__12CInputStreamFv -/* 80070830 0006D790 FF C0 08 90 */ fmr f30, f1 -/* 80070834 0006D794 7F E3 FB 78 */ mr r3, r31 -/* 80070838 0006D798 48 2C E3 F1 */ bl ReadFloat__12CInputStreamFv -/* 8007083C 0006D79C FF E0 08 90 */ fmr f31, f1 -/* 80070840 0006D7A0 7F E3 FB 78 */ mr r3, r31 -/* 80070844 0006D7A4 48 2C E3 E5 */ bl ReadFloat__12CInputStreamFv -/* 80070848 0006D7A8 88 A1 00 0C */ lbz r5, 0xc(r1) -/* 8007084C 0006D7AC 3B 60 00 00 */ li r27, 0 -/* 80070850 0006D7B0 53 65 3E 30 */ rlwimi r5, r27, 7, 0x18, 0x18 -/* 80070854 0006D7B4 38 00 00 01 */ li r0, 1 -/* 80070858 0006D7B8 54 A4 06 3E */ clrlwi r4, r5, 0x18 -/* 8007085C 0006D7BC 7C DE E2 14 */ add r6, r30, r28 -/* 80070860 0006D7C0 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 80070864 0006D7C4 FC 80 E8 18 */ frsp f4, f29 -/* 80070868 0006D7C8 54 83 06 3E */ clrlwi r3, r4, 0x18 -/* 8007086C 0006D7CC FC 60 F0 18 */ frsp f3, f30 -/* 80070870 0006D7D0 53 63 2E B4 */ rlwimi r3, r27, 5, 0x1a, 0x1a -/* 80070874 0006D7D4 FC 40 F8 18 */ frsp f2, f31 -/* 80070878 0006D7D8 98 61 00 F4 */ stb r3, 0xf4(r1) -/* 8007087C 0006D7DC FC 00 08 18 */ frsp f0, f1 -/* 80070880 0006D7E0 3B 5A 00 01 */ addi r26, r26, 1 -/* 80070884 0006D7E4 93 A6 01 F4 */ stw r29, 0x1f4(r6) -/* 80070888 0006D7E8 2C 1A 00 05 */ cmpwi r26, 5 -/* 8007088C 0006D7EC 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80070890 0006D7F0 3B 9C 00 1C */ addi r28, r28, 0x1c -/* 80070894 0006D7F4 90 06 01 F8 */ stw r0, 0x1f8(r6) -/* 80070898 0006D7F8 88 01 00 98 */ lbz r0, 0x98(r1) -/* 8007089C 0006D7FC 53 60 3E 30 */ rlwimi r0, r27, 7, 0x18, 0x18 -/* 800708A0 0006D800 D0 86 01 FC */ stfs f4, 0x1fc(r6) -/* 800708A4 0006D804 D0 66 02 00 */ stfs f3, 0x200(r6) -/* 800708A8 0006D808 98 A1 00 0C */ stb r5, 0xc(r1) -/* 800708AC 0006D80C D0 46 02 04 */ stfs f2, 0x204(r6) -/* 800708B0 0006D810 98 81 00 0C */ stb r4, 0xc(r1) -/* 800708B4 0006D814 D0 81 00 8C */ stfs f4, 0x8c(r1) -/* 800708B8 0006D818 D0 06 02 08 */ stfs f0, 0x208(r6) -/* 800708BC 0006D81C 93 A1 00 08 */ stw r29, 8(r1) -/* 800708C0 0006D820 98 61 00 0C */ stb r3, 0xc(r1) -/* 800708C4 0006D824 93 A1 00 80 */ stw r29, 0x80(r1) -/* 800708C8 0006D828 98 61 00 84 */ stb r3, 0x84(r1) -/* 800708CC 0006D82C D3 A1 00 88 */ stfs f29, 0x88(r1) -/* 800708D0 0006D830 D3 E1 00 90 */ stfs f31, 0x90(r1) -/* 800708D4 0006D834 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 800708D8 0006D838 98 01 00 98 */ stb r0, 0x98(r1) -/* 800708DC 0006D83C D3 C1 00 8C */ stfs f30, 0x8c(r1) -/* 800708E0 0006D840 93 A1 00 F0 */ stw r29, 0xf0(r1) -/* 800708E4 0006D844 D0 81 00 F8 */ stfs f4, 0xf8(r1) -/* 800708E8 0006D848 D0 61 00 FC */ stfs f3, 0xfc(r1) -/* 800708EC 0006D84C D0 41 01 00 */ stfs f2, 0x100(r1) -/* 800708F0 0006D850 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 800708F4 0006D854 98 01 01 08 */ stb r0, 0x108(r1) -/* 800708F8 0006D858 98 06 02 0C */ stb r0, 0x20c(r6) -/* 800708FC 0006D85C 41 80 FF 14 */ blt lbl_80070810 -/* 80070900 0006D860 7F 7C DB 78 */ mr r28, r27 -lbl_80070904: -/* 80070904 0006D864 7F E3 FB 78 */ mr r3, r31 -/* 80070908 0006D868 48 2C E3 21 */ bl ReadFloat__12CInputStreamFv -/* 8007090C 0006D86C 3B 7B 00 01 */ addi r27, r27, 1 -/* 80070910 0006D870 7C 7E E2 14 */ add r3, r30, r28 -/* 80070914 0006D874 2C 1B 00 05 */ cmpwi r27, 5 -/* 80070918 0006D878 D0 23 02 84 */ stfs f1, 0x284(r3) -/* 8007091C 0006D87C 3B 9C 00 04 */ addi r28, r28, 4 -/* 80070920 0006D880 41 80 FF E4 */ blt lbl_80070904 -/* 80070924 0006D884 7F C3 F3 78 */ mr r3, r30 -/* 80070928 0006D888 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 8007092C 0006D88C CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 80070930 0006D890 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 80070934 0006D894 CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 80070938 0006D898 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 -/* 8007093C 0006D89C CB A1 01 A0 */ lfd f29, 0x1a0(r1) -/* 80070940 0006D8A0 BB 41 01 88 */ lmw r26, 0x188(r1) -/* 80070944 0006D8A4 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 80070948 0006D8A8 7C 08 03 A6 */ mtlr r0 -/* 8007094C 0006D8AC 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 80070950 0006D8B0 4E 80 00 20 */ blr - -.global __dt__15CTweakPlayerGunFv -__dt__15CTweakPlayerGunFv: -/* 80070954 0006D8B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80070958 0006D8B8 7C 08 02 A6 */ mflr r0 -/* 8007095C 0006D8BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80070960 0006D8C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80070964 0006D8C4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80070968 0006D8C8 41 82 00 EC */ beq lbl_80070A54 -/* 8007096C 0006D8CC 3C 60 80 3E */ lis r3, lbl_803DA384@ha -/* 80070970 0006D8D0 34 1F 02 80 */ addic. r0, r31, 0x280 -/* 80070974 0006D8D4 38 03 A3 84 */ addi r0, r3, lbl_803DA384@l -/* 80070978 0006D8D8 90 1F 00 00 */ stw r0, 0(r31) -/* 8007097C 0006D8DC 41 82 00 58 */ beq lbl_800709D4 -/* 80070980 0006D8E0 80 DF 02 80 */ lwz r6, 0x280(r31) -/* 80070984 0006D8E4 38 60 00 00 */ li r3, 0 -/* 80070988 0006D8E8 2C 06 00 00 */ cmpwi r6, 0 -/* 8007098C 0006D8EC 40 81 00 40 */ ble lbl_800709CC -/* 80070990 0006D8F0 2C 06 00 08 */ cmpwi r6, 8 -/* 80070994 0006D8F4 38 A6 FF F8 */ addi r5, r6, -8 -/* 80070998 0006D8F8 40 81 00 20 */ ble lbl_800709B8 -/* 8007099C 0006D8FC 38 05 00 07 */ addi r0, r5, 7 -/* 800709A0 0006D900 54 00 E8 FE */ srwi r0, r0, 3 -/* 800709A4 0006D904 7C 09 03 A6 */ mtctr r0 -/* 800709A8 0006D908 2C 05 00 00 */ cmpwi r5, 0 -/* 800709AC 0006D90C 40 81 00 0C */ ble lbl_800709B8 -lbl_800709B0: -/* 800709B0 0006D910 38 63 00 08 */ addi r3, r3, 8 -/* 800709B4 0006D914 42 00 FF FC */ bdnz lbl_800709B0 -lbl_800709B8: -/* 800709B8 0006D918 7C 03 30 50 */ subf r0, r3, r6 -/* 800709BC 0006D91C 7C 09 03 A6 */ mtctr r0 -/* 800709C0 0006D920 7C 03 30 00 */ cmpw r3, r6 -/* 800709C4 0006D924 40 80 00 08 */ bge lbl_800709CC -lbl_800709C8: -/* 800709C8 0006D928 42 00 00 00 */ bdnz lbl_800709C8 -lbl_800709CC: -/* 800709CC 0006D92C 38 00 00 00 */ li r0, 0 -/* 800709D0 0006D930 90 1F 02 80 */ stw r0, 0x280(r31) -lbl_800709D4: -/* 800709D4 0006D934 34 1F 01 F0 */ addic. r0, r31, 0x1f0 -/* 800709D8 0006D938 41 82 00 58 */ beq lbl_80070A30 -/* 800709DC 0006D93C 80 DF 01 F0 */ lwz r6, 0x1f0(r31) -/* 800709E0 0006D940 38 60 00 00 */ li r3, 0 -/* 800709E4 0006D944 2C 06 00 00 */ cmpwi r6, 0 -/* 800709E8 0006D948 40 81 00 40 */ ble lbl_80070A28 -/* 800709EC 0006D94C 2C 06 00 08 */ cmpwi r6, 8 -/* 800709F0 0006D950 38 A6 FF F8 */ addi r5, r6, -8 -/* 800709F4 0006D954 40 81 00 20 */ ble lbl_80070A14 -/* 800709F8 0006D958 38 05 00 07 */ addi r0, r5, 7 -/* 800709FC 0006D95C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80070A00 0006D960 7C 09 03 A6 */ mtctr r0 -/* 80070A04 0006D964 2C 05 00 00 */ cmpwi r5, 0 -/* 80070A08 0006D968 40 81 00 0C */ ble lbl_80070A14 -lbl_80070A0C: -/* 80070A0C 0006D96C 38 63 00 08 */ addi r3, r3, 8 -/* 80070A10 0006D970 42 00 FF FC */ bdnz lbl_80070A0C -lbl_80070A14: -/* 80070A14 0006D974 7C 03 30 50 */ subf r0, r3, r6 -/* 80070A18 0006D978 7C 09 03 A6 */ mtctr r0 -/* 80070A1C 0006D97C 7C 03 30 00 */ cmpw r3, r6 -/* 80070A20 0006D980 40 80 00 08 */ bge lbl_80070A28 -lbl_80070A24: -/* 80070A24 0006D984 42 00 00 00 */ bdnz lbl_80070A24 -lbl_80070A28: -/* 80070A28 0006D988 38 00 00 00 */ li r0, 0 -/* 80070A2C 0006D98C 90 1F 01 F0 */ stw r0, 0x1f0(r31) -lbl_80070A30: -/* 80070A30 0006D990 28 1F 00 00 */ cmplwi r31, 0 -/* 80070A34 0006D994 41 82 00 10 */ beq lbl_80070A44 -/* 80070A38 0006D998 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 80070A3C 0006D99C 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 80070A40 0006D9A0 90 1F 00 00 */ stw r0, 0(r31) -lbl_80070A44: -/* 80070A44 0006D9A4 7C 80 07 35 */ extsh. r0, r4 -/* 80070A48 0006D9A8 40 81 00 0C */ ble lbl_80070A54 -/* 80070A4C 0006D9AC 7F E3 FB 78 */ mr r3, r31 -/* 80070A50 0006D9B0 48 00 00 1D */ bl "__dl__29TOneStatic<15CTweakPlayerGun>FPv" -lbl_80070A54: -/* 80070A54 0006D9B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80070A58 0006D9B8 7F E3 FB 78 */ mr r3, r31 -/* 80070A5C 0006D9BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80070A60 0006D9C0 7C 08 03 A6 */ mtlr r0 -/* 80070A64 0006D9C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80070A68 0006D9C8 4E 80 00 20 */ blr - -.global "__dl__29TOneStatic<15CTweakPlayerGun>FPv" -"__dl__29TOneStatic<15CTweakPlayerGun>FPv": -/* 80070A6C 0006D9CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80070A70 0006D9D0 7C 08 02 A6 */ mflr r0 -/* 80070A74 0006D9D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80070A78 0006D9D8 4B FC 65 ED */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv" -/* 80070A7C 0006D9DC 80 83 00 00 */ lwz r4, 0(r3) -/* 80070A80 0006D9E0 38 04 FF FF */ addi r0, r4, -1 -/* 80070A84 0006D9E4 90 03 00 00 */ stw r0, 0(r3) -/* 80070A88 0006D9E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80070A8C 0006D9EC 7C 08 03 A6 */ mtlr r0 -/* 80070A90 0006D9F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80070A94 0006D9F4 4E 80 00 20 */ blr - -.global GetCameraYBias__16CPauseScreenBaseCFv -GetCameraYBias__16CPauseScreenBaseCFv: -/* 80070A98 0006D9F8 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) -/* 80070A9C 0006D9FC 4E 80 00 20 */ blr - -.global IsRightLogDynamic__16CPauseScreenBaseCFv -IsRightLogDynamic__16CPauseScreenBaseCFv: -/* 80070AA0 0006DA00 38 60 00 00 */ li r3, 0 -/* 80070AA4 0006DA04 4E 80 00 20 */ blr - -.global UpdateRightLogColors__16CPauseScreenBaseFbRC6CColor -UpdateRightLogColors__16CPauseScreenBaseFbRC6CColor: -/* 80070AA8 0006DA08 4E 80 00 20 */ blr - -.global UpdateRightLogHighlight__16CPauseScreenBaseFbiRC6CColorRC6CColor -UpdateRightLogHighlight__16CPauseScreenBaseFbiRC6CColorRC6CColor: -/* 80070AAC 0006DA0C 4E 80 00 20 */ blr - -.global ShouldExitPauseScreen__16CPauseScreenBaseCFv -ShouldExitPauseScreen__16CPauseScreenBaseCFv: -/* 80070AB0 0006DA10 88 03 01 98 */ lbz r0, 0x198(r3) -/* 80070AB4 0006DA14 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f -/* 80070AB8 0006DA18 4E 80 00 20 */ blr - -.global InputDisabled__16CPauseScreenBaseCFv -InputDisabled__16CPauseScreenBaseCFv: -/* 80070ABC 0006DA1C 38 60 00 00 */ li r3, 0 -/* 80070AC0 0006DA20 4E 80 00 20 */ blr - -.global TransitioningAway__16CPauseScreenBaseFv -TransitioningAway__16CPauseScreenBaseFv: -/* 80070AC4 0006DA24 4E 80 00 20 */ blr - -.global OnRightTableCancel__16CPauseScreenBaseFP14CGuiTableGroup -OnRightTableCancel__16CPauseScreenBaseFP14CGuiTableGroup: -/* 80070AC8 0006DA28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80070ACC 0006DA2C 7C 08 02 A6 */ mflr r0 -/* 80070AD0 0006DA30 38 80 00 00 */ li r4, 0 -/* 80070AD4 0006DA34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80070AD8 0006DA38 48 00 03 3D */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode -/* 80070ADC 0006DA3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80070AE0 0006DA40 7C 08 03 A6 */ mtlr r0 -/* 80070AE4 0006DA44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80070AE8 0006DA48 4E 80 00 20 */ blr - -.global nullsub_63 -nullsub_63: -/* 80070AEC 0006DA4C 4E 80 00 20 */ blr - -.global SetRightTableSelection__16CPauseScreenBaseFii -SetRightTableSelection__16CPauseScreenBaseFii: -/* 80070AF0 0006DA50 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80070AF4 0006DA54 7C 08 02 A6 */ mflr r0 -/* 80070AF8 0006DA58 90 01 00 34 */ stw r0, 0x34(r1) -/* 80070AFC 0006DA5C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80070B00 0006DA60 7C BF 2B 78 */ mr r31, r5 -/* 80070B04 0006DA64 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80070B08 0006DA68 7C 9E 23 78 */ mr r30, r4 -/* 80070B0C 0006DA6C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80070B10 0006DA70 7C 7D 1B 78 */ mr r29, r3 -/* 80070B14 0006DA74 93 81 00 20 */ stw r28, 0x20(r1) -/* 80070B18 0006DA78 81 83 00 00 */ lwz r12, 0(r3) -/* 80070B1C 0006DA7C 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80070B20 0006DA80 7D 89 03 A6 */ mtctr r12 -/* 80070B24 0006DA84 4E 80 04 21 */ bctrl -/* 80070B28 0006DA88 83 9D 00 1C */ lwz r28, 0x1c(r29) -/* 80070B2C 0006DA8C 38 63 FF FF */ addi r3, r3, -1 -/* 80070B30 0006DA90 7C 1E F8 50 */ subf r0, r30, r31 -/* 80070B34 0006DA94 38 81 00 10 */ addi r4, r1, 0x10 -/* 80070B38 0006DA98 90 61 00 0C */ stw r3, 0xc(r1) -/* 80070B3C 0006DA9C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80070B40 0006DAA0 38 6D 83 C8 */ addi r3, r13, lbl_805A6F88@sda21 -/* 80070B44 0006DAA4 80 DD 00 1C */ lwz r6, 0x1c(r29) -/* 80070B48 0006DAA8 7C 06 02 14 */ add r0, r6, r0 -/* 80070B4C 0006DAAC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80070B50 0006DAB0 4B FE 95 15 */ bl "Clamp__5CMathFRCiRCiRCi" -/* 80070B54 0006DAB4 80 03 00 00 */ lwz r0, 0(r3) -/* 80070B58 0006DAB8 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 80070B5C 0006DABC 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 80070B60 0006DAC0 7C 1C 00 00 */ cmpw r28, r0 -/* 80070B64 0006DAC4 41 82 00 28 */ beq lbl_80070B8C -/* 80070B68 0006DAC8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80070B6C 0006DACC 38 61 00 08 */ addi r3, r1, 8 -/* 80070B70 0006DAD0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80070B74 0006DAD4 38 80 05 9C */ li r4, 0x59c -/* 80070B78 0006DAD8 38 A0 00 7F */ li r5, 0x7f -/* 80070B7C 0006DADC 38 C0 00 40 */ li r6, 0x40 -/* 80070B80 0006DAE0 38 E0 00 00 */ li r7, 0 -/* 80070B84 0006DAE4 39 20 00 00 */ li r9, 0 -/* 80070B88 0006DAE8 48 27 91 ED */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_80070B8C: -/* 80070B8C 0006DAEC 80 7D 00 1C */ lwz r3, 0x1c(r29) -/* 80070B90 0006DAF0 80 9D 00 18 */ lwz r4, 0x18(r29) -/* 80070B94 0006DAF4 7C 03 20 00 */ cmpw r3, r4 -/* 80070B98 0006DAF8 40 80 00 0C */ bge lbl_80070BA4 -/* 80070B9C 0006DAFC 90 7D 00 18 */ stw r3, 0x18(r29) -/* 80070BA0 0006DB00 48 00 00 18 */ b lbl_80070BB8 -lbl_80070BA4: -/* 80070BA4 0006DB04 38 04 00 05 */ addi r0, r4, 5 -/* 80070BA8 0006DB08 7C 03 00 00 */ cmpw r3, r0 -/* 80070BAC 0006DB0C 41 80 00 0C */ blt lbl_80070BB8 -/* 80070BB0 0006DB10 38 03 FF FC */ addi r0, r3, -4 -/* 80070BB4 0006DB14 90 1D 00 18 */ stw r0, 0x18(r29) -lbl_80070BB8: -/* 80070BB8 0006DB18 80 DD 00 84 */ lwz r6, 0x84(r29) -/* 80070BBC 0006DB1C 7F A3 EB 78 */ mr r3, r29 -/* 80070BC0 0006DB20 80 9D 00 1C */ lwz r4, 0x1c(r29) -/* 80070BC4 0006DB24 80 BD 00 18 */ lwz r5, 0x18(r29) -/* 80070BC8 0006DB28 80 06 00 C4 */ lwz r0, 0xc4(r6) -/* 80070BCC 0006DB2C 38 84 00 01 */ addi r4, r4, 1 -/* 80070BD0 0006DB30 7C 85 20 50 */ subf r4, r5, r4 -/* 80070BD4 0006DB34 90 06 00 C8 */ stw r0, 0xc8(r6) -/* 80070BD8 0006DB38 90 86 00 C4 */ stw r4, 0xc4(r6) -/* 80070BDC 0006DB3C 80 9D 00 84 */ lwz r4, 0x84(r29) -/* 80070BE0 0006DB40 48 00 05 05 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 80070BE4 0006DB44 7F A3 EB 78 */ mr r3, r29 -/* 80070BE8 0006DB48 7F C4 F3 78 */ mr r4, r30 -/* 80070BEC 0006DB4C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80070BF0 0006DB50 7F E5 FB 78 */ mr r5, r31 -/* 80070BF4 0006DB54 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80070BF8 0006DB58 7D 89 03 A6 */ mtctr r12 -/* 80070BFC 0006DB5C 4E 80 04 21 */ bctrl -/* 80070C00 0006DB60 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80070C04 0006DB64 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80070C08 0006DB68 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80070C0C 0006DB6C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80070C10 0006DB70 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80070C14 0006DB74 7C 08 03 A6 */ mtlr r0 -/* 80070C18 0006DB78 38 21 00 30 */ addi r1, r1, 0x30 -/* 80070C1C 0006DB7C 4E 80 00 20 */ blr - -.global OnTableSelectionChange__16CPauseScreenBaseFP14CGuiTableGroupi -OnTableSelectionChange__16CPauseScreenBaseFP14CGuiTableGroupi: -/* 80070C20 0006DB80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80070C24 0006DB84 7C 08 02 A6 */ mflr r0 -/* 80070C28 0006DB88 90 01 00 24 */ stw r0, 0x24(r1) -/* 80070C2C 0006DB8C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80070C30 0006DB90 7C BF 2B 78 */ mr r31, r5 -/* 80070C34 0006DB94 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80070C38 0006DB98 7C 9E 23 78 */ mr r30, r4 -/* 80070C3C 0006DB9C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80070C40 0006DBA0 7C 7D 1B 78 */ mr r29, r3 -/* 80070C44 0006DBA4 48 00 04 A1 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 80070C48 0006DBA8 80 1D 00 70 */ lwz r0, 0x70(r29) -/* 80070C4C 0006DBAC 7C 1E 00 40 */ cmplw r30, r0 -/* 80070C50 0006DBB0 40 82 00 40 */ bne lbl_80070C90 -/* 80070C54 0006DBB4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80070C58 0006DBB8 38 61 00 08 */ addi r3, r1, 8 -/* 80070C5C 0006DBBC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80070C60 0006DBC0 38 80 05 9C */ li r4, 0x59c -/* 80070C64 0006DBC4 38 A0 00 7F */ li r5, 0x7f -/* 80070C68 0006DBC8 38 C0 00 40 */ li r6, 0x40 -/* 80070C6C 0006DBCC 38 E0 00 00 */ li r7, 0 -/* 80070C70 0006DBD0 39 20 00 00 */ li r9, 0 -/* 80070C74 0006DBD4 48 27 91 01 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80070C78 0006DBD8 7F A3 EB 78 */ mr r3, r29 -/* 80070C7C 0006DBDC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80070C80 0006DBE0 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80070C84 0006DBE4 7D 89 03 A6 */ mtctr r12 -/* 80070C88 0006DBE8 4E 80 04 21 */ bctrl -/* 80070C8C 0006DBEC 48 00 00 18 */ b lbl_80070CA4 -lbl_80070C90: -/* 80070C90 0006DBF0 80 BD 00 84 */ lwz r5, 0x84(r29) -/* 80070C94 0006DBF4 7F A3 EB 78 */ mr r3, r29 -/* 80070C98 0006DBF8 7F E4 FB 78 */ mr r4, r31 -/* 80070C9C 0006DBFC 80 A5 00 C4 */ lwz r5, 0xc4(r5) -/* 80070CA0 0006DC00 4B FF FE 51 */ bl SetRightTableSelection__16CPauseScreenBaseFii -lbl_80070CA4: -/* 80070CA4 0006DC04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80070CA8 0006DC08 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80070CAC 0006DC0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80070CB0 0006DC10 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80070CB4 0006DC14 7C 08 03 A6 */ mtlr r0 -/* 80070CB8 0006DC18 38 21 00 20 */ addi r1, r1, 0x20 -/* 80070CBC 0006DC1C 4E 80 00 20 */ blr - -.global OnRightTableAdvance__16CPauseScreenBaseFP14CGuiTableGroup -OnRightTableAdvance__16CPauseScreenBaseFP14CGuiTableGroup: -/* 80070CC0 0006DC20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80070CC4 0006DC24 7C 08 02 A6 */ mflr r0 -/* 80070CC8 0006DC28 90 01 00 24 */ stw r0, 0x24(r1) -/* 80070CCC 0006DC2C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80070CD0 0006DC30 7C 7F 1B 78 */ mr r31, r3 -/* 80070CD4 0006DC34 81 83 00 00 */ lwz r12, 0(r3) -/* 80070CD8 0006DC38 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80070CDC 0006DC3C 7D 89 03 A6 */ mtctr r12 -/* 80070CE0 0006DC40 4E 80 04 21 */ bctrl -/* 80070CE4 0006DC44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80070CE8 0006DC48 41 82 00 40 */ beq lbl_80070D28 -/* 80070CEC 0006DC4C 88 1F 01 98 */ lbz r0, 0x198(r31) -/* 80070CF0 0006DC50 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80070CF4 0006DC54 40 82 00 34 */ bne lbl_80070D28 -/* 80070CF8 0006DC58 7F E3 FB 78 */ mr r3, r31 -/* 80070CFC 0006DC5C 38 80 00 02 */ li r4, 2 -/* 80070D00 0006DC60 48 00 01 15 */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode -/* 80070D04 0006DC64 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80070D08 0006DC68 38 61 00 08 */ addi r3, r1, 8 -/* 80070D0C 0006DC6C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80070D10 0006DC70 38 80 05 98 */ li r4, 0x598 -/* 80070D14 0006DC74 38 A0 00 7F */ li r5, 0x7f -/* 80070D18 0006DC78 38 C0 00 40 */ li r6, 0x40 -/* 80070D1C 0006DC7C 38 E0 00 00 */ li r7, 0 -/* 80070D20 0006DC80 39 20 00 00 */ li r9, 0 -/* 80070D24 0006DC84 48 27 90 51 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_80070D28: -/* 80070D28 0006DC88 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80070D2C 0006DC8C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80070D30 0006DC90 7C 08 03 A6 */ mtlr r0 -/* 80070D34 0006DC94 38 21 00 20 */ addi r1, r1, 0x20 -/* 80070D38 0006DC98 4E 80 00 20 */ blr - -.global ShouldRightTableAdvance__16CPauseScreenBaseFv -ShouldRightTableAdvance__16CPauseScreenBaseFv: -/* 80070D3C 0006DC9C 38 60 00 01 */ li r3, 1 -/* 80070D40 0006DCA0 4E 80 00 20 */ blr - -.global OnLeftTableAdvance__16CPauseScreenBaseFP14CGuiTableGroup -OnLeftTableAdvance__16CPauseScreenBaseFP14CGuiTableGroup: -/* 80070D44 0006DCA4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80070D48 0006DCA8 7C 08 02 A6 */ mflr r0 -/* 80070D4C 0006DCAC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80070D50 0006DCB0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80070D54 0006DCB4 7C 7F 1B 78 */ mr r31, r3 -/* 80070D58 0006DCB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80070D5C 0006DCBC 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80070D60 0006DCC0 7D 89 03 A6 */ mtctr r12 -/* 80070D64 0006DCC4 4E 80 04 21 */ bctrl -/* 80070D68 0006DCC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80070D6C 0006DCCC 41 82 00 44 */ beq lbl_80070DB0 -/* 80070D70 0006DCD0 7F E3 FB 78 */ mr r3, r31 -/* 80070D74 0006DCD4 38 80 00 01 */ li r4, 1 -/* 80070D78 0006DCD8 48 00 00 9D */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode -/* 80070D7C 0006DCDC 88 1F 01 98 */ lbz r0, 0x198(r31) -/* 80070D80 0006DCE0 38 60 00 01 */ li r3, 1 -/* 80070D84 0006DCE4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80070D88 0006DCE8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80070D8C 0006DCEC 98 1F 01 98 */ stb r0, 0x198(r31) -/* 80070D90 0006DCF0 38 61 00 08 */ addi r3, r1, 8 -/* 80070D94 0006DCF4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80070D98 0006DCF8 38 80 05 98 */ li r4, 0x598 -/* 80070D9C 0006DCFC 38 A0 00 7F */ li r5, 0x7f -/* 80070DA0 0006DD00 38 C0 00 40 */ li r6, 0x40 -/* 80070DA4 0006DD04 38 E0 00 00 */ li r7, 0 -/* 80070DA8 0006DD08 39 20 00 00 */ li r9, 0 -/* 80070DAC 0006DD0C 48 27 8F C9 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_80070DB0: -/* 80070DB0 0006DD10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80070DB4 0006DD14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80070DB8 0006DD18 7C 08 03 A6 */ mtlr r0 -/* 80070DBC 0006DD1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80070DC0 0006DD20 4E 80 00 20 */ blr - -.global ShouldLeftTableAdvance__16CPauseScreenBaseFv -ShouldLeftTableAdvance__16CPauseScreenBaseFv: -/* 80070DC4 0006DD24 38 60 00 01 */ li r3, 1 -/* 80070DC8 0006DD28 4E 80 00 20 */ blr - -.global UpdateRightTable__16CPauseScreenBaseFv -UpdateRightTable__16CPauseScreenBaseFv: -/* 80070DCC 0006DD2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80070DD0 0006DD30 7C 08 02 A6 */ mflr r0 -/* 80070DD4 0006DD34 38 80 00 00 */ li r4, 0 -/* 80070DD8 0006DD38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80070DDC 0006DD3C 38 00 00 01 */ li r0, 1 -/* 80070DE0 0006DD40 90 83 00 18 */ stw r4, 0x18(r3) -/* 80070DE4 0006DD44 90 83 00 1C */ stw r4, 0x1c(r3) -/* 80070DE8 0006DD48 80 A3 00 84 */ lwz r5, 0x84(r3) -/* 80070DEC 0006DD4C 80 85 00 C4 */ lwz r4, 0xc4(r5) -/* 80070DF0 0006DD50 90 85 00 C8 */ stw r4, 0xc8(r5) -/* 80070DF4 0006DD54 90 05 00 C4 */ stw r0, 0xc4(r5) -/* 80070DF8 0006DD58 80 83 00 84 */ lwz r4, 0x84(r3) -/* 80070DFC 0006DD5C 48 00 02 E9 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 80070E00 0006DD60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80070E04 0006DD64 7C 08 03 A6 */ mtlr r0 -/* 80070E08 0006DD68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80070E0C 0006DD6C 4E 80 00 20 */ blr - -.global ChangedMode__16CPauseScreenBaseQ216CPauseScreenBase5EMode -ChangedMode__16CPauseScreenBaseQ216CPauseScreenBase5EMode: -/* 80070E10 0006DD70 4E 80 00 20 */ blr - -.global ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode -ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode: -/* 80070E14 0006DD74 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80070E18 0006DD78 7C 08 02 A6 */ mflr r0 -/* 80070E1C 0006DD7C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80070E20 0006DD80 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80070E24 0006DD84 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80070E28 0006DD88 7C 9E 23 78 */ mr r30, r4 -/* 80070E2C 0006DD8C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80070E30 0006DD90 7C 7D 1B 78 */ mr r29, r3 -/* 80070E34 0006DD94 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80070E38 0006DD98 7C 1E 00 00 */ cmpw r30, r0 -/* 80070E3C 0006DD9C 41 82 02 8C */ beq lbl_800710C8 -/* 80070E40 0006DDA0 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 80070E44 0006DDA4 7C 1F 03 78 */ mr r31, r0 -/* 80070E48 0006DDA8 C0 02 88 34 */ lfs f0, lbl_805AA554@sda21(r2) -/* 80070E4C 0006DDAC 80 63 01 BC */ lwz r3, 0x1bc(r3) -/* 80070E50 0006DDB0 90 61 00 18 */ stw r3, 0x18(r1) -/* 80070E54 0006DDB4 F0 01 A0 08 */ psq_st f0, 8(r1), 1, qr2 -/* 80070E58 0006DDB8 88 01 00 08 */ lbz r0, 8(r1) -/* 80070E5C 0006DDBC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 80070E60 0006DDC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80070E64 0006DDC4 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 80070E68 0006DDC8 2C 00 00 01 */ cmpwi r0, 1 -/* 80070E6C 0006DDCC 41 82 00 40 */ beq lbl_80070EAC -/* 80070E70 0006DDD0 40 80 00 14 */ bge lbl_80070E84 -/* 80070E74 0006DDD4 2C 00 FF FF */ cmpwi r0, -1 -/* 80070E78 0006DDD8 41 82 00 34 */ beq lbl_80070EAC -/* 80070E7C 0006DDDC 40 80 00 14 */ bge lbl_80070E90 -/* 80070E80 0006DDE0 48 00 00 AC */ b lbl_80070F2C -lbl_80070E84: -/* 80070E84 0006DDE4 2C 00 00 03 */ cmpwi r0, 3 -/* 80070E88 0006DDE8 40 80 00 A4 */ bge lbl_80070F2C -/* 80070E8C 0006DDEC 48 00 00 7C */ b lbl_80070F08 -lbl_80070E90: -/* 80070E90 0006DDF0 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 80070E94 0006DDF4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80070E98 0006DDF8 48 25 99 D5 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80070E9C 0006DDFC 80 7D 00 70 */ lwz r3, 0x70(r29) -/* 80070EA0 0006DE00 38 80 00 00 */ li r4, 0 -/* 80070EA4 0006DE04 48 25 97 41 */ bl SetIsActive__10CGuiWidgetFb -/* 80070EA8 0006DE08 48 00 00 84 */ b lbl_80070F2C -lbl_80070EAC: -/* 80070EAC 0006DE0C 7F A3 EB 78 */ mr r3, r29 -/* 80070EB0 0006DE10 81 9D 00 00 */ lwz r12, 0(r29) -/* 80070EB4 0006DE14 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 80070EB8 0006DE18 7D 89 03 A6 */ mtctr r12 -/* 80070EBC 0006DE1C 4E 80 04 21 */ bctrl -/* 80070EC0 0006DE20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80070EC4 0006DE24 41 82 00 28 */ beq lbl_80070EEC -/* 80070EC8 0006DE28 7F A3 EB 78 */ mr r3, r29 -/* 80070ECC 0006DE2C 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80070ED0 0006DE30 81 9D 00 00 */ lwz r12, 0(r29) -/* 80070ED4 0006DE34 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80070ED8 0006DE38 38 80 00 00 */ li r4, 0 -/* 80070EDC 0006DE3C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80070EE0 0006DE40 7D 89 03 A6 */ mtctr r12 -/* 80070EE4 0006DE44 4E 80 04 21 */ bctrl -/* 80070EE8 0006DE48 48 00 00 10 */ b lbl_80070EF8 -lbl_80070EEC: -/* 80070EEC 0006DE4C 80 7D 00 80 */ lwz r3, 0x80(r29) -/* 80070EF0 0006DE50 38 81 00 14 */ addi r4, r1, 0x14 -/* 80070EF4 0006DE54 48 25 99 79 */ bl SetColor__10CGuiWidgetFRC6CColor -lbl_80070EF8: -/* 80070EF8 0006DE58 80 7D 00 84 */ lwz r3, 0x84(r29) -/* 80070EFC 0006DE5C 38 80 00 00 */ li r4, 0 -/* 80070F00 0006DE60 48 25 96 E5 */ bl SetIsActive__10CGuiWidgetFb -/* 80070F04 0006DE64 48 00 00 28 */ b lbl_80070F2C -lbl_80070F08: -/* 80070F08 0006DE68 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80070F0C 0006DE6C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80070F10 0006DE70 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80070F14 0006DE74 38 80 05 97 */ li r4, 0x597 -/* 80070F18 0006DE78 38 A0 00 7F */ li r5, 0x7f -/* 80070F1C 0006DE7C 38 C0 00 40 */ li r6, 0x40 -/* 80070F20 0006DE80 38 E0 00 00 */ li r7, 0 -/* 80070F24 0006DE84 39 20 00 00 */ li r9, 0 -/* 80070F28 0006DE88 48 27 8E 4D */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_80070F2C: -/* 80070F2C 0006DE8C 93 DD 00 10 */ stw r30, 0x10(r29) -/* 80070F30 0006DE90 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 80070F34 0006DE94 2C 00 00 01 */ cmpwi r0, 1 -/* 80070F38 0006DE98 41 82 00 A0 */ beq lbl_80070FD8 -/* 80070F3C 0006DE9C 40 80 00 10 */ bge lbl_80070F4C -/* 80070F40 0006DEA0 2C 00 00 00 */ cmpwi r0, 0 -/* 80070F44 0006DEA4 40 80 00 14 */ bge lbl_80070F58 -/* 80070F48 0006DEA8 48 00 01 68 */ b lbl_800710B0 -lbl_80070F4C: -/* 80070F4C 0006DEAC 2C 00 00 03 */ cmpwi r0, 3 -/* 80070F50 0006DEB0 40 80 01 60 */ bge lbl_800710B0 -/* 80070F54 0006DEB4 48 00 00 EC */ b lbl_80071040 -lbl_80070F58: -/* 80070F58 0006DEB8 2C 1F 00 01 */ cmpwi r31, 1 -/* 80070F5C 0006DEBC 40 82 00 28 */ bne lbl_80070F84 -/* 80070F60 0006DEC0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80070F64 0006DEC4 38 61 00 0C */ addi r3, r1, 0xc -/* 80070F68 0006DEC8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80070F6C 0006DECC 38 80 05 97 */ li r4, 0x597 -/* 80070F70 0006DED0 38 A0 00 7F */ li r5, 0x7f -/* 80070F74 0006DED4 38 C0 00 40 */ li r6, 0x40 -/* 80070F78 0006DED8 38 E0 00 00 */ li r7, 0 -/* 80070F7C 0006DEDC 39 20 00 00 */ li r9, 0 -/* 80070F80 0006DEE0 48 27 8D F5 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_80070F84: -/* 80070F84 0006DEE4 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 80070F88 0006DEE8 38 81 00 18 */ addi r4, r1, 0x18 -/* 80070F8C 0006DEEC 48 25 98 E1 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80070F90 0006DEF0 80 7D 00 70 */ lwz r3, 0x70(r29) -/* 80070F94 0006DEF4 38 80 00 01 */ li r4, 1 -/* 80070F98 0006DEF8 48 25 96 4D */ bl SetIsActive__10CGuiWidgetFb -/* 80070F9C 0006DEFC 80 9D 00 70 */ lwz r4, 0x70(r29) -/* 80070FA0 0006DF00 7F A3 EB 78 */ mr r3, r29 -/* 80070FA4 0006DF04 48 00 01 41 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 80070FA8 0006DF08 38 80 00 00 */ li r4, 0 -/* 80070FAC 0006DF0C 38 00 00 01 */ li r0, 1 -/* 80070FB0 0006DF10 90 9D 00 18 */ stw r4, 0x18(r29) -/* 80070FB4 0006DF14 7F A3 EB 78 */ mr r3, r29 -/* 80070FB8 0006DF18 90 9D 00 1C */ stw r4, 0x1c(r29) -/* 80070FBC 0006DF1C 80 BD 00 84 */ lwz r5, 0x84(r29) -/* 80070FC0 0006DF20 80 85 00 C4 */ lwz r4, 0xc4(r5) -/* 80070FC4 0006DF24 90 85 00 C8 */ stw r4, 0xc8(r5) -/* 80070FC8 0006DF28 90 05 00 C4 */ stw r0, 0xc4(r5) -/* 80070FCC 0006DF2C 80 9D 00 84 */ lwz r4, 0x84(r29) -/* 80070FD0 0006DF30 48 00 01 15 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 80070FD4 0006DF34 48 00 00 DC */ b lbl_800710B0 -lbl_80070FD8: -/* 80070FD8 0006DF38 7F A3 EB 78 */ mr r3, r29 -/* 80070FDC 0006DF3C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80070FE0 0006DF40 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 80070FE4 0006DF44 7D 89 03 A6 */ mtctr r12 -/* 80070FE8 0006DF48 4E 80 04 21 */ bctrl -/* 80070FEC 0006DF4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80070FF0 0006DF50 41 82 00 28 */ beq lbl_80071018 -/* 80070FF4 0006DF54 7F A3 EB 78 */ mr r3, r29 -/* 80070FF8 0006DF58 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80070FFC 0006DF5C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80071000 0006DF60 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80071004 0006DF64 38 80 00 01 */ li r4, 1 -/* 80071008 0006DF68 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8007100C 0006DF6C 7D 89 03 A6 */ mtctr r12 -/* 80071010 0006DF70 4E 80 04 21 */ bctrl -/* 80071014 0006DF74 48 00 00 10 */ b lbl_80071024 -lbl_80071018: -/* 80071018 0006DF78 80 7D 00 80 */ lwz r3, 0x80(r29) -/* 8007101C 0006DF7C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80071020 0006DF80 48 25 98 4D */ bl SetColor__10CGuiWidgetFRC6CColor -lbl_80071024: -/* 80071024 0006DF84 80 7D 00 84 */ lwz r3, 0x84(r29) -/* 80071028 0006DF88 38 80 00 01 */ li r4, 1 -/* 8007102C 0006DF8C 48 25 95 B9 */ bl SetIsActive__10CGuiWidgetFb -/* 80071030 0006DF90 80 9D 00 84 */ lwz r4, 0x84(r29) -/* 80071034 0006DF94 7F A3 EB 78 */ mr r3, r29 -/* 80071038 0006DF98 48 00 00 AD */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 8007103C 0006DF9C 48 00 00 74 */ b lbl_800710B0 -lbl_80071040: -/* 80071040 0006DFA0 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 80071044 0006DFA4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80071048 0006DFA8 48 25 98 25 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 8007104C 0006DFAC 7F A3 EB 78 */ mr r3, r29 -/* 80071050 0006DFB0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80071054 0006DFB4 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 80071058 0006DFB8 7D 89 03 A6 */ mtctr r12 -/* 8007105C 0006DFBC 4E 80 04 21 */ bctrl -/* 80071060 0006DFC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80071064 0006DFC4 41 82 00 28 */ beq lbl_8007108C -/* 80071068 0006DFC8 7F A3 EB 78 */ mr r3, r29 -/* 8007106C 0006DFCC 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80071070 0006DFD0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80071074 0006DFD4 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80071078 0006DFD8 38 80 00 00 */ li r4, 0 -/* 8007107C 0006DFDC 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80071080 0006DFE0 7D 89 03 A6 */ mtctr r12 -/* 80071084 0006DFE4 4E 80 04 21 */ bctrl -/* 80071088 0006DFE8 48 00 00 10 */ b lbl_80071098 -lbl_8007108C: -/* 8007108C 0006DFEC 80 7D 00 80 */ lwz r3, 0x80(r29) -/* 80071090 0006DFF0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80071094 0006DFF4 48 25 97 D9 */ bl SetColor__10CGuiWidgetFRC6CColor -lbl_80071098: -/* 80071098 0006DFF8 80 7D 00 70 */ lwz r3, 0x70(r29) -/* 8007109C 0006DFFC 38 80 00 00 */ li r4, 0 -/* 800710A0 0006E000 48 25 95 45 */ bl SetIsActive__10CGuiWidgetFb -/* 800710A4 0006E004 80 7D 00 84 */ lwz r3, 0x84(r29) -/* 800710A8 0006E008 38 80 00 00 */ li r4, 0 -/* 800710AC 0006E00C 48 25 95 39 */ bl SetIsActive__10CGuiWidgetFb -lbl_800710B0: -/* 800710B0 0006E010 7F A3 EB 78 */ mr r3, r29 -/* 800710B4 0006E014 7F E4 FB 78 */ mr r4, r31 -/* 800710B8 0006E018 81 9D 00 00 */ lwz r12, 0(r29) -/* 800710BC 0006E01C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800710C0 0006E020 7D 89 03 A6 */ mtctr r12 -/* 800710C4 0006E024 4E 80 04 21 */ bctrl -lbl_800710C8: -/* 800710C8 0006E028 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800710CC 0006E02C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800710D0 0006E030 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800710D4 0006E034 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800710D8 0006E038 7C 08 03 A6 */ mtlr r0 -/* 800710DC 0006E03C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800710E0 0006E040 4E 80 00 20 */ blr - -.global UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup: -/* 800710E4 0006E044 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 800710E8 0006E048 7C 08 02 A6 */ mflr r0 -/* 800710EC 0006E04C 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 800710F0 0006E050 BF 61 00 DC */ stmw r27, 0xdc(r1) -/* 800710F4 0006E054 7C 9B 23 79 */ or. r27, r4, r4 -/* 800710F8 0006E058 7C 7E 1B 78 */ mr r30, r3 -/* 800710FC 0006E05C 41 82 02 4C */ beq lbl_80071348 -/* 80071100 0006E060 38 60 00 FF */ li r3, 0xff -/* 80071104 0006E064 38 80 FF FF */ li r4, -1 -/* 80071108 0006E068 38 00 00 7F */ li r0, 0x7f -/* 8007110C 0006E06C 90 81 00 0C */ stw r4, 0xc(r1) -/* 80071110 0006E070 3B E0 00 01 */ li r31, 1 -/* 80071114 0006E074 98 61 00 08 */ stb r3, 8(r1) -/* 80071118 0006E078 98 61 00 09 */ stb r3, 9(r1) -/* 8007111C 0006E07C 98 61 00 0A */ stb r3, 0xa(r1) -/* 80071120 0006E080 98 01 00 0B */ stb r0, 0xb(r1) -/* 80071124 0006E084 80 1E 00 84 */ lwz r0, 0x84(r30) -/* 80071128 0006E088 7C 1B 00 40 */ cmplw r27, r0 -/* 8007112C 0006E08C 40 82 00 14 */ bne lbl_80071140 -/* 80071130 0006E090 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 80071134 0006E094 2C 00 00 01 */ cmpwi r0, 1 -/* 80071138 0006E098 41 82 00 08 */ beq lbl_80071140 -/* 8007113C 0006E09C 3B E0 00 00 */ li r31, 0 -lbl_80071140: -/* 80071140 0006E0A0 7F 63 DB 78 */ mr r3, r27 -/* 80071144 0006E0A4 38 81 00 0C */ addi r4, r1, 0xc -/* 80071148 0006E0A8 38 A1 00 08 */ addi r5, r1, 8 -/* 8007114C 0006E0AC 48 25 54 B1 */ bl SetColors__14CGuiTableGroupCFRC6CColorRC6CColor -/* 80071150 0006E0B0 80 1E 00 84 */ lwz r0, 0x84(r30) -/* 80071154 0006E0B4 7C 1B 00 40 */ cmplw r27, r0 -/* 80071158 0006E0B8 40 82 01 4C */ bne lbl_800712A4 -/* 8007115C 0006E0BC 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 80071160 0006E0C0 80 DE 00 1C */ lwz r6, 0x1c(r30) -/* 80071164 0006E0C4 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80071168 0006E0C8 38 04 66 67 */ addi r0, r4, 0x66666667@l -/* 8007116C 0006E0CC 7C A0 30 96 */ mulhw r5, r0, r6 -/* 80071170 0006E0D0 3C 00 43 30 */ lis r0, 0x4330 -/* 80071174 0006E0D4 7C 83 30 50 */ subf r4, r3, r6 -/* 80071178 0006E0D8 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) -/* 8007117C 0006E0DC 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 80071180 0006E0E0 38 61 00 70 */ addi r3, r1, 0x70 -/* 80071184 0006E0E4 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 80071188 0006E0E8 7C A4 0E 70 */ srawi r4, r5, 1 -/* 8007118C 0006E0EC 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80071190 0006E0F0 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80071194 0006E0F4 7C 04 02 14 */ add r0, r4, r0 -/* 80071198 0006E0F8 C8 62 88 38 */ lfd f3, lbl_805AA558@sda21(r2) -/* 8007119C 0006E0FC C8 01 00 D0 */ lfd f0, 0xd0(r1) -/* 800711A0 0006E100 1C 00 00 05 */ mulli r0, r0, 5 -/* 800711A4 0006E104 80 9E 00 8C */ lwz r4, 0x8c(r30) -/* 800711A8 0006E108 FC 40 08 90 */ fmr f2, f1 -/* 800711AC 0006E10C EC 00 18 28 */ fsubs f0, f0, f3 -/* 800711B0 0006E110 C0 7E 00 38 */ lfs f3, 0x38(r30) -/* 800711B4 0006E114 7F 80 30 50 */ subf r28, r0, r6 -/* 800711B8 0006E118 3B A4 00 74 */ addi r29, r4, 0x74 -/* 800711BC 0006E11C EC 63 00 32 */ fmuls f3, f3, f0 -/* 800711C0 0006E120 48 2A 1F C9 */ bl Translate__12CTransform4fFfff -/* 800711C4 0006E124 7F A4 EB 78 */ mr r4, r29 -/* 800711C8 0006E128 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800711CC 0006E12C 38 A1 00 70 */ addi r5, r1, 0x70 -/* 800711D0 0006E130 48 2A 17 81 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800711D4 0006E134 83 BE 00 8C */ lwz r29, 0x8c(r30) -/* 800711D8 0006E138 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 800711DC 0006E13C 38 7D 00 04 */ addi r3, r29, 4 -/* 800711E0 0006E140 48 2A 19 61 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800711E4 0006E144 7F A3 EB 78 */ mr r3, r29 -/* 800711E8 0006E148 48 25 36 01 */ bl RecalculateTransforms__10CGuiObjectFv -/* 800711EC 0006E14C 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 800711F0 0006E150 38 A0 00 01 */ li r5, 1 -/* 800711F4 0006E154 80 7E 00 8C */ lwz r3, 0x8c(r30) -/* 800711F8 0006E158 20 00 00 01 */ subfic r0, r0, 1 -/* 800711FC 0006E15C 7C 00 00 34 */ cntlzw r0, r0 -/* 80071200 0006E160 54 04 D9 7E */ srwi r4, r0, 5 -/* 80071204 0006E164 48 25 94 E5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -/* 80071208 0006E168 7F C3 F3 78 */ mr r3, r30 -/* 8007120C 0006E16C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80071210 0006E170 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 80071214 0006E174 7D 89 03 A6 */ mtctr r12 -/* 80071218 0006E178 4E 80 04 21 */ bctrl -/* 8007121C 0006E17C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80071220 0006E180 41 82 00 2C */ beq lbl_8007124C -/* 80071224 0006E184 7F C3 F3 78 */ mr r3, r30 -/* 80071228 0006E188 7F E4 FB 78 */ mr r4, r31 -/* 8007122C 0006E18C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80071230 0006E190 7F 85 E3 78 */ mr r5, r28 -/* 80071234 0006E194 38 C1 00 0C */ addi r6, r1, 0xc -/* 80071238 0006E198 38 E1 00 08 */ addi r7, r1, 8 -/* 8007123C 0006E19C 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 80071240 0006E1A0 7D 89 03 A6 */ mtctr r12 -/* 80071244 0006E1A4 4E 80 04 21 */ bctrl -/* 80071248 0006E1A8 48 00 01 00 */ b lbl_80071348 -lbl_8007124C: -/* 8007124C 0006E1AC 3B BE 01 48 */ addi r29, r30, 0x148 -/* 80071250 0006E1B0 57 FF 06 3E */ clrlwi r31, r31, 0x18 -/* 80071254 0006E1B4 3B 60 00 00 */ li r27, 0 -/* 80071258 0006E1B8 48 00 00 3C */ b lbl_80071294 -lbl_8007125C: -/* 8007125C 0006E1BC 7C 1B E0 00 */ cmpw r27, r28 -/* 80071260 0006E1C0 80 7D 00 00 */ lwz r3, 0(r29) -/* 80071264 0006E1C4 38 00 00 00 */ li r0, 0 -/* 80071268 0006E1C8 40 82 00 10 */ bne lbl_80071278 -/* 8007126C 0006E1CC 28 1F 00 00 */ cmplwi r31, 0 -/* 80071270 0006E1D0 41 82 00 08 */ beq lbl_80071278 -/* 80071274 0006E1D4 38 00 00 01 */ li r0, 1 -lbl_80071278: -/* 80071278 0006E1D8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8007127C 0006E1DC 38 81 00 08 */ addi r4, r1, 8 -/* 80071280 0006E1E0 41 82 00 08 */ beq lbl_80071288 -/* 80071284 0006E1E4 38 81 00 0C */ addi r4, r1, 0xc -lbl_80071288: -/* 80071288 0006E1E8 48 25 95 E5 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 8007128C 0006E1EC 3B BD 00 04 */ addi r29, r29, 4 -/* 80071290 0006E1F0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80071294: -/* 80071294 0006E1F4 80 1E 01 44 */ lwz r0, 0x144(r30) -/* 80071298 0006E1F8 7C 1B 00 00 */ cmpw r27, r0 -/* 8007129C 0006E1FC 41 80 FF C0 */ blt lbl_8007125C -/* 800712A0 0006E200 48 00 00 A8 */ b lbl_80071348 -lbl_800712A4: -/* 800712A4 0006E204 80 9E 00 70 */ lwz r4, 0x70(r30) -/* 800712A8 0006E208 3C 00 43 30 */ lis r0, 0x4330 -/* 800712AC 0006E20C C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) -/* 800712B0 0006E210 38 61 00 10 */ addi r3, r1, 0x10 -/* 800712B4 0006E214 83 E4 00 C4 */ lwz r31, 0xc4(r4) -/* 800712B8 0006E218 80 BE 00 78 */ lwz r5, 0x78(r30) -/* 800712BC 0006E21C FC 40 08 90 */ fmr f2, f1 -/* 800712C0 0006E220 6F E4 80 00 */ xoris r4, r31, 0x8000 -/* 800712C4 0006E224 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 800712C8 0006E228 C8 62 88 38 */ lfd f3, lbl_805AA558@sda21(r2) -/* 800712CC 0006E22C 3B A5 00 74 */ addi r29, r5, 0x74 -/* 800712D0 0006E230 90 81 00 D4 */ stw r4, 0xd4(r1) -/* 800712D4 0006E234 C0 9E 00 38 */ lfs f4, 0x38(r30) -/* 800712D8 0006E238 C8 01 00 D0 */ lfd f0, 0xd0(r1) -/* 800712DC 0006E23C EC 00 18 28 */ fsubs f0, f0, f3 -/* 800712E0 0006E240 EC 64 00 32 */ fmuls f3, f4, f0 -/* 800712E4 0006E244 48 2A 1E A5 */ bl Translate__12CTransform4fFfff -/* 800712E8 0006E248 7F A4 EB 78 */ mr r4, r29 -/* 800712EC 0006E24C 38 61 00 40 */ addi r3, r1, 0x40 -/* 800712F0 0006E250 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800712F4 0006E254 48 2A 16 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800712F8 0006E258 83 BE 00 78 */ lwz r29, 0x78(r30) -/* 800712FC 0006E25C 38 81 00 40 */ addi r4, r1, 0x40 -/* 80071300 0006E260 38 7D 00 04 */ addi r3, r29, 4 -/* 80071304 0006E264 48 2A 18 3D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80071308 0006E268 7F A3 EB 78 */ mr r3, r29 -/* 8007130C 0006E26C 48 25 34 DD */ bl RecalculateTransforms__10CGuiObjectFv -/* 80071310 0006E270 3B BE 00 C4 */ addi r29, r30, 0xc4 -/* 80071314 0006E274 3B 60 00 00 */ li r27, 0 -/* 80071318 0006E278 48 00 00 24 */ b lbl_8007133C -lbl_8007131C: -/* 8007131C 0006E27C 7C 1B F8 00 */ cmpw r27, r31 -/* 80071320 0006E280 80 7D 00 00 */ lwz r3, 0(r29) -/* 80071324 0006E284 38 81 00 08 */ addi r4, r1, 8 -/* 80071328 0006E288 40 82 00 08 */ bne lbl_80071330 -/* 8007132C 0006E28C 38 81 00 0C */ addi r4, r1, 0xc -lbl_80071330: -/* 80071330 0006E290 48 25 95 3D */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80071334 0006E294 3B BD 00 04 */ addi r29, r29, 4 -/* 80071338 0006E298 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8007133C: -/* 8007133C 0006E29C 80 1E 00 C0 */ lwz r0, 0xc0(r30) -/* 80071340 0006E2A0 7C 1B 00 00 */ cmpw r27, r0 -/* 80071344 0006E2A4 41 80 FF D8 */ blt lbl_8007131C -lbl_80071348: -/* 80071348 0006E2A8 BB 61 00 DC */ lmw r27, 0xdc(r1) -/* 8007134C 0006E2AC 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80071350 0006E2B0 7C 08 03 A6 */ mtlr r0 -/* 80071354 0006E2B4 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 80071358 0006E2B8 4E 80 00 20 */ blr - -.global ProcessInput__16CPauseScreenBaseFRC11CFinalInput -ProcessInput__16CPauseScreenBaseFRC11CFinalInput: -/* 8007135C 0006E2BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80071360 0006E2C0 7C 08 02 A6 */ mflr r0 -/* 80071364 0006E2C4 38 A0 00 00 */ li r5, 0 -/* 80071368 0006E2C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007136C 0006E2CC 88 03 01 98 */ lbz r0, 0x198(r3) -/* 80071370 0006E2D0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80071374 0006E2D4 98 03 01 98 */ stb r0, 0x198(r3) -/* 80071378 0006E2D8 80 63 00 08 */ lwz r3, 8(r3) -/* 8007137C 0006E2DC 48 25 12 DD */ bl ProcessUserInput__9CGuiFrameFRC11CFinalInput -/* 80071380 0006E2E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80071384 0006E2E4 7C 08 03 A6 */ mtlr r0 -/* 80071388 0006E2E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007138C 0006E2EC 4E 80 00 20 */ blr - -.global Draw__16CPauseScreenBaseCFfff -Draw__16CPauseScreenBaseCFfff: -/* 80071390 0006E2F0 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80071394 0006E2F4 7C 08 02 A6 */ mflr r0 -/* 80071398 0006E2F8 90 01 00 84 */ stw r0, 0x84(r1) -/* 8007139C 0006E2FC DB E1 00 70 */ stfd f31, 0x70(r1) -/* 800713A0 0006E300 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 800713A4 0006E304 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 800713A8 0006E308 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 800713AC 0006E30C DB A1 00 50 */ stfd f29, 0x50(r1) -/* 800713B0 0006E310 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 800713B4 0006E314 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 800713B8 0006E318 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 800713BC 0006E31C DB 61 00 30 */ stfd f27, 0x30(r1) -/* 800713C0 0006E320 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 -/* 800713C4 0006E324 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800713C8 0006E328 7C 7F 1B 78 */ mr r31, r3 -/* 800713CC 0006E32C FF 60 10 90 */ fmr f27, f2 -/* 800713D0 0006E330 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 800713D4 0006E334 FF 80 18 90 */ fmr f28, f3 -/* 800713D8 0006E338 EF E1 00 32 */ fmuls f31, f1, f0 -/* 800713DC 0006E33C 48 2D 8B D1 */ bl White__6CColorFv -/* 800713E0 0006E340 C0 02 88 40 */ lfs f0, lbl_805AA560@sda21(r2) -/* 800713E4 0006E344 EF C0 07 F2 */ fmuls f30, f0, f31 -/* 800713E8 0006E348 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 -/* 800713EC 0006E34C 38 81 00 10 */ addi r4, r1, 0x10 -/* 800713F0 0006E350 80 A3 00 00 */ lwz r5, 0(r3) -/* 800713F4 0006E354 88 01 00 09 */ lbz r0, 9(r1) -/* 800713F8 0006E358 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 800713FC 0006E35C 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 80071400 0006E360 90 01 00 10 */ stw r0, 0x10(r1) -/* 80071404 0006E364 48 25 94 69 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80071408 0006E368 48 2D 8B A5 */ bl White__6CColorFv -/* 8007140C 0006E36C C0 02 88 40 */ lfs f0, lbl_805AA560@sda21(r2) -/* 80071410 0006E370 EF A0 06 F2 */ fmuls f29, f0, f27 -/* 80071414 0006E374 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 -/* 80071418 0006E378 38 81 00 0C */ addi r4, r1, 0xc -/* 8007141C 0006E37C 80 A3 00 00 */ lwz r5, 0(r3) -/* 80071420 0006E380 88 01 00 08 */ lbz r0, 8(r1) -/* 80071424 0006E384 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 80071428 0006E388 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8007142C 0006E38C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80071430 0006E390 48 25 94 3D */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80071434 0006E394 C0 02 88 48 */ lfs f0, lbl_805AA568@sda21(r2) -/* 80071438 0006E398 38 81 00 14 */ addi r4, r1, 0x14 -/* 8007143C 0006E39C C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) -/* 80071440 0006E3A0 EC 00 07 32 */ fmuls f0, f0, f28 -/* 80071444 0006E3A4 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) -/* 80071448 0006E3A8 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8007144C 0006E3AC 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071450 0006E3B0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80071454 0006E3B4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80071458 0006E3B8 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8007145C 0006E3BC 48 25 12 D9 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -/* 80071460 0006E3C0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80071464 0006E3C4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80071468 0006E3C8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8007146C 0006E3CC CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80071470 0006E3D0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80071474 0006E3D4 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80071478 0006E3D8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 8007147C 0006E3DC CB 81 00 40 */ lfd f28, 0x40(r1) -/* 80071480 0006E3E0 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 -/* 80071484 0006E3E4 CB 61 00 30 */ lfd f27, 0x30(r1) -/* 80071488 0006E3E8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8007148C 0006E3EC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80071490 0006E3F0 7C 08 03 A6 */ mtlr r0 -/* 80071494 0006E3F4 38 21 00 80 */ addi r1, r1, 0x80 -/* 80071498 0006E3F8 4E 80 00 20 */ blr - -.global Touch__16CPauseScreenBaseFv -Touch__16CPauseScreenBaseFv: -/* 8007149C 0006E3FC 4E 80 00 20 */ blr - -.global Update__16CPauseScreenBaseFfR9CRandom16R18CArchitectureQueue -Update__16CPauseScreenBaseFfR9CRandom16R18CArchitectureQueue: -/* 800714A0 0006E400 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800714A4 0006E404 7C 08 02 A6 */ mflr r0 -/* 800714A8 0006E408 90 01 00 84 */ stw r0, 0x84(r1) -/* 800714AC 0006E40C DB E1 00 70 */ stfd f31, 0x70(r1) -/* 800714B0 0006E410 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 800714B4 0006E414 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 800714B8 0006E418 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 800714BC 0006E41C DB A1 00 50 */ stfd f29, 0x50(r1) -/* 800714C0 0006E420 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 800714C4 0006E424 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 800714C8 0006E428 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 800714CC 0006E42C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800714D0 0006E430 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800714D4 0006E434 7C 7F 1B 78 */ mr r31, r3 -/* 800714D8 0006E438 38 60 00 01 */ li r3, 1 -/* 800714DC 0006E43C 88 1F 01 98 */ lbz r0, 0x198(r31) -/* 800714E0 0006E440 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800714E4 0006E444 FF 80 08 90 */ fmr f28, f1 -/* 800714E8 0006E448 98 1F 01 98 */ stb r0, 0x198(r31) -/* 800714EC 0006E44C 80 7F 00 08 */ lwz r3, 8(r31) -/* 800714F0 0006E450 48 25 12 15 */ bl Update__9CGuiFrameFf -/* 800714F4 0006E454 C0 42 88 4C */ lfs f2, lbl_805AA56C@sda21(r2) -/* 800714F8 0006E458 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 800714FC 0006E45C C0 0D 83 A4 */ lfs f0, lbl_805A6F64@sda21(r13) -/* 80071500 0006E460 EC 22 0F 3A */ fmadds f1, f2, f28, f1 -/* 80071504 0006E464 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80071508 0006E468 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8007150C 0006E46C 40 80 00 0C */ bge lbl_80071518 -/* 80071510 0006E470 38 61 00 2C */ addi r3, r1, 0x2c -/* 80071514 0006E474 48 00 00 08 */ b lbl_8007151C -lbl_80071518: -/* 80071518 0006E478 38 6D 83 A4 */ addi r3, r13, lbl_805A6F64@sda21 -lbl_8007151C: -/* 8007151C 0006E47C C0 03 00 00 */ lfs f0, 0(r3) -/* 80071520 0006E480 7F E3 FB 78 */ mr r3, r31 -/* 80071524 0006E484 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80071528 0006E488 81 9F 00 00 */ lwz r12, 0(r31) -/* 8007152C 0006E48C 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80071530 0006E490 7D 89 03 A6 */ mtctr r12 -/* 80071534 0006E494 4E 80 04 21 */ bctrl -/* 80071538 0006E498 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8007153C 0006E49C 38 A0 00 00 */ li r5, 0 -/* 80071540 0006E4A0 2C 04 00 01 */ cmpwi r4, 1 -/* 80071544 0006E4A4 40 82 00 14 */ bne lbl_80071558 -/* 80071548 0006E4A8 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8007154C 0006E4AC 2C 00 00 00 */ cmpwi r0, 0 -/* 80071550 0006E4B0 40 81 00 08 */ ble lbl_80071558 -/* 80071554 0006E4B4 38 A0 00 01 */ li r5, 1 -lbl_80071558: -/* 80071558 0006E4B8 2C 04 00 01 */ cmpwi r4, 1 -/* 8007155C 0006E4BC 3B C0 00 00 */ li r30, 0 -/* 80071560 0006E4C0 40 82 00 18 */ bne lbl_80071578 -/* 80071564 0006E4C4 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 80071568 0006E4C8 38 04 00 05 */ addi r0, r4, 5 -/* 8007156C 0006E4CC 7C 00 18 00 */ cmpw r0, r3 -/* 80071570 0006E4D0 40 80 00 08 */ bge lbl_80071578 -/* 80071574 0006E4D4 3B C0 00 01 */ li r30, 1 -lbl_80071578: -/* 80071578 0006E4D8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8007157C 0006E4DC 41 82 00 10 */ beq lbl_8007158C -/* 80071580 0006E4E0 48 29 89 61 */ bl GetSecondsMod900__9CGraphicsFv -/* 80071584 0006E4E4 FF 80 08 90 */ fmr f28, f1 -/* 80071588 0006E4E8 48 00 00 08 */ b lbl_80071590 -lbl_8007158C: -/* 8007158C 0006E4EC C3 82 88 30 */ lfs f28, lbl_805AA550@sda21(r2) -lbl_80071590: -/* 80071590 0006E4F0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80071594 0006E4F4 41 82 00 10 */ beq lbl_800715A4 -/* 80071598 0006E4F8 48 29 89 49 */ bl GetSecondsMod900__9CGraphicsFv -/* 8007159C 0006E4FC FF A0 08 90 */ fmr f29, f1 -/* 800715A0 0006E500 48 00 00 08 */ b lbl_800715A8 -lbl_800715A4: -/* 800715A4 0006E504 C3 A2 88 30 */ lfs f29, lbl_805AA550@sda21(r2) -lbl_800715A8: -/* 800715A8 0006E508 C0 22 88 54 */ lfs f1, lbl_805AA574@sda21(r2) -/* 800715AC 0006E50C C0 02 88 58 */ lfs f0, lbl_805AA578@sda21(r2) -/* 800715B0 0006E510 EC 21 07 38 */ fmsubs f1, f1, f28, f0 -/* 800715B4 0006E514 48 2A 38 3D */ bl FastSinR__5CMathFf -/* 800715B8 0006E518 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) -/* 800715BC 0006E51C 38 81 00 28 */ addi r4, r1, 0x28 -/* 800715C0 0006E520 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) -/* 800715C4 0006E524 38 6D 83 A8 */ addi r3, r13, lbl_805A6F68@sda21 -/* 800715C8 0006E528 EC 22 08 2A */ fadds f1, f2, f1 -/* 800715CC 0006E52C 38 AD 83 AC */ addi r5, r13, lbl_805A6F6C@sda21 -/* 800715D0 0006E530 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800715D4 0006E534 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800715D8 0006E538 4B F9 AC DD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800715DC 0006E53C C0 22 88 54 */ lfs f1, lbl_805AA574@sda21(r2) -/* 800715E0 0006E540 C0 02 88 58 */ lfs f0, lbl_805AA578@sda21(r2) -/* 800715E4 0006E544 C3 83 00 00 */ lfs f28, 0(r3) -/* 800715E8 0006E548 EC 21 07 78 */ fmsubs f1, f1, f29, f0 -/* 800715EC 0006E54C 48 2A 38 05 */ bl FastSinR__5CMathFf -/* 800715F0 0006E550 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) -/* 800715F4 0006E554 38 81 00 24 */ addi r4, r1, 0x24 -/* 800715F8 0006E558 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) -/* 800715FC 0006E55C 38 6D 83 B0 */ addi r3, r13, lbl_805A6F70@sda21 -/* 80071600 0006E560 EC 22 08 2A */ fadds f1, f2, f1 -/* 80071604 0006E564 38 AD 83 B4 */ addi r5, r13, lbl_805A6F74@sda21 -/* 80071608 0006E568 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8007160C 0006E56C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80071610 0006E570 4B F9 AC A5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80071614 0006E574 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80071618 0006E578 C3 E2 88 5C */ lfs f31, lbl_805AA57C@sda21(r2) -/* 8007161C 0006E57C 38 A4 01 BC */ addi r5, r4, 0x1bc -/* 80071620 0006E580 C3 A3 00 00 */ lfs f29, 0(r3) -/* 80071624 0006E584 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 80071628 0006E588 FC 20 E0 90 */ fmr f1, f28 -/* 8007162C 0006E58C 80 C4 01 BC */ lwz r6, 0x1bc(r4) -/* 80071630 0006E590 38 61 00 20 */ addi r3, r1, 0x20 -/* 80071634 0006E594 88 01 00 09 */ lbz r0, 9(r1) -/* 80071638 0006E598 38 81 00 34 */ addi r4, r1, 0x34 -/* 8007163C 0006E59C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 80071640 0006E5A0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80071644 0006E5A4 48 2F 1C 69 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80071648 0006E5A8 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 8007164C 0006E5AC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80071650 0006E5B0 48 25 92 1D */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80071654 0006E5B4 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) -/* 80071658 0006E5B8 FC 20 E8 90 */ fmr f1, f29 -/* 8007165C 0006E5BC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80071660 0006E5C0 38 81 00 34 */ addi r4, r1, 0x34 -/* 80071664 0006E5C4 38 A5 01 BC */ addi r5, r5, 0x1bc -/* 80071668 0006E5C8 48 2F 1C 45 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8007166C 0006E5CC 80 7F 00 A4 */ lwz r3, 0xa4(r31) -/* 80071670 0006E5D0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80071674 0006E5D4 48 25 91 F9 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80071678 0006E5D8 88 1F 01 98 */ lbz r0, 0x198(r31) -/* 8007167C 0006E5DC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80071680 0006E5E0 41 82 00 10 */ beq lbl_80071690 -/* 80071684 0006E5E4 48 29 88 5D */ bl GetSecondsMod900__9CGraphicsFv -/* 80071688 0006E5E8 FF A0 08 90 */ fmr f29, f1 -/* 8007168C 0006E5EC 48 00 00 08 */ b lbl_80071694 -lbl_80071690: -/* 80071690 0006E5F0 C3 A2 88 30 */ lfs f29, lbl_805AA550@sda21(r2) -lbl_80071694: -/* 80071694 0006E5F4 88 1F 01 98 */ lbz r0, 0x198(r31) -/* 80071698 0006E5F8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8007169C 0006E5FC 41 82 00 10 */ beq lbl_800716AC -/* 800716A0 0006E600 48 29 88 41 */ bl GetSecondsMod900__9CGraphicsFv -/* 800716A4 0006E604 FF E0 08 90 */ fmr f31, f1 -/* 800716A8 0006E608 48 00 00 08 */ b lbl_800716B0 -lbl_800716AC: -/* 800716AC 0006E60C C3 E2 88 30 */ lfs f31, lbl_805AA550@sda21(r2) -lbl_800716B0: -/* 800716B0 0006E610 C0 22 88 54 */ lfs f1, lbl_805AA574@sda21(r2) -/* 800716B4 0006E614 C0 02 88 58 */ lfs f0, lbl_805AA578@sda21(r2) -/* 800716B8 0006E618 EC 21 07 78 */ fmsubs f1, f1, f29, f0 -/* 800716BC 0006E61C 48 2A 37 35 */ bl FastSinR__5CMathFf -/* 800716C0 0006E620 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) -/* 800716C4 0006E624 38 81 00 18 */ addi r4, r1, 0x18 -/* 800716C8 0006E628 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) -/* 800716CC 0006E62C 38 6D 83 B8 */ addi r3, r13, lbl_805A6F78@sda21 -/* 800716D0 0006E630 EC 22 08 2A */ fadds f1, f2, f1 -/* 800716D4 0006E634 38 AD 83 BC */ addi r5, r13, lbl_805A6F7C@sda21 -/* 800716D8 0006E638 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800716DC 0006E63C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800716E0 0006E640 4B F9 AB D5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800716E4 0006E644 C0 22 88 54 */ lfs f1, lbl_805AA574@sda21(r2) -/* 800716E8 0006E648 C0 02 88 58 */ lfs f0, lbl_805AA578@sda21(r2) -/* 800716EC 0006E64C C3 83 00 00 */ lfs f28, 0(r3) -/* 800716F0 0006E650 EC 21 07 F8 */ fmsubs f1, f1, f31, f0 -/* 800716F4 0006E654 48 2A 36 FD */ bl FastSinR__5CMathFf -/* 800716F8 0006E658 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) -/* 800716FC 0006E65C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80071700 0006E660 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) -/* 80071704 0006E664 38 6D 83 C0 */ addi r3, r13, lbl_805A6F80@sda21 -/* 80071708 0006E668 EC 22 08 2A */ fadds f1, f2, f1 -/* 8007170C 0006E66C 38 AD 83 C4 */ addi r5, r13, lbl_805A6F84@sda21 -/* 80071710 0006E670 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80071714 0006E674 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80071718 0006E678 4B F9 AB 9D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8007171C 0006E67C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80071720 0006E680 C3 C2 88 5C */ lfs f30, lbl_805AA57C@sda21(r2) -/* 80071724 0006E684 38 A4 01 BC */ addi r5, r4, 0x1bc -/* 80071728 0006E688 C3 A3 00 00 */ lfs f29, 0(r3) -/* 8007172C 0006E68C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 80071730 0006E690 FC 20 E0 90 */ fmr f1, f28 -/* 80071734 0006E694 80 C4 01 BC */ lwz r6, 0x1bc(r4) -/* 80071738 0006E698 38 61 00 10 */ addi r3, r1, 0x10 -/* 8007173C 0006E69C 88 01 00 08 */ lbz r0, 8(r1) -/* 80071740 0006E6A0 38 81 00 30 */ addi r4, r1, 0x30 -/* 80071744 0006E6A4 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 80071748 0006E6A8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8007174C 0006E6AC 48 2F 1B 61 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80071750 0006E6B0 80 7F 00 90 */ lwz r3, 0x90(r31) -/* 80071754 0006E6B4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80071758 0006E6B8 48 25 91 15 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 8007175C 0006E6BC 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) -/* 80071760 0006E6C0 FC 20 E8 90 */ fmr f1, f29 -/* 80071764 0006E6C4 38 61 00 0C */ addi r3, r1, 0xc -/* 80071768 0006E6C8 38 81 00 30 */ addi r4, r1, 0x30 -/* 8007176C 0006E6CC 38 A5 01 BC */ addi r5, r5, 0x1bc -/* 80071770 0006E6D0 48 2F 1B 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80071774 0006E6D4 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 80071778 0006E6D8 38 81 00 0C */ addi r4, r1, 0xc -/* 8007177C 0006E6DC 48 25 90 F1 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80071780 0006E6E0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80071784 0006E6E4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80071788 0006E6E8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8007178C 0006E6EC CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80071790 0006E6F0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80071794 0006E6F4 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80071798 0006E6F8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 8007179C 0006E6FC CB 81 00 40 */ lfd f28, 0x40(r1) -/* 800717A0 0006E700 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800717A4 0006E704 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800717A8 0006E708 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800717AC 0006E70C 7C 08 03 A6 */ mtlr r0 -/* 800717B0 0006E710 38 21 00 80 */ addi r1, r1, 0x80 -/* 800717B4 0006E714 4E 80 00 20 */ blr - -.global IsReady__16CPauseScreenBaseFv -IsReady__16CPauseScreenBaseFv: -/* 800717B8 0006E718 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800717BC 0006E71C 7C 08 02 A6 */ mflr r0 -/* 800717C0 0006E720 90 01 00 14 */ stw r0, 0x14(r1) -/* 800717C4 0006E724 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800717C8 0006E728 7C 7F 1B 78 */ mr r31, r3 -/* 800717CC 0006E72C 88 03 01 98 */ lbz r0, 0x198(r3) -/* 800717D0 0006E730 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800717D4 0006E734 41 82 00 0C */ beq lbl_800717E0 -/* 800717D8 0006E738 38 60 00 01 */ li r3, 1 -/* 800717DC 0006E73C 48 00 00 78 */ b lbl_80071854 -lbl_800717E0: -/* 800717E0 0006E740 81 83 00 00 */ lwz r12, 0(r3) -/* 800717E4 0006E744 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 800717E8 0006E748 7D 89 03 A6 */ mtctr r12 -/* 800717EC 0006E74C 4E 80 04 21 */ bctrl -/* 800717F0 0006E750 88 1F 01 98 */ lbz r0, 0x198(r31) -/* 800717F4 0006E754 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800717F8 0006E758 98 1F 01 98 */ stb r0, 0x198(r31) -/* 800717FC 0006E75C 88 1F 01 98 */ lbz r0, 0x198(r31) -/* 80071800 0006E760 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80071804 0006E764 41 82 00 4C */ beq lbl_80071850 -/* 80071808 0006E768 7F E3 FB 78 */ mr r3, r31 -/* 8007180C 0006E76C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80071810 0006E770 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80071814 0006E774 7D 89 03 A6 */ mtctr r12 -/* 80071818 0006E778 4E 80 04 21 */ bctrl -/* 8007181C 0006E77C 7F E3 FB 78 */ mr r3, r31 -/* 80071820 0006E780 38 80 00 00 */ li r4, 0 -/* 80071824 0006E784 4B FF F5 F1 */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode -/* 80071828 0006E788 80 9F 00 70 */ lwz r4, 0x70(r31) -/* 8007182C 0006E78C 7F E3 FB 78 */ mr r3, r31 -/* 80071830 0006E790 4B FF F8 B5 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 80071834 0006E794 7F E3 FB 78 */ mr r3, r31 -/* 80071838 0006E798 81 9F 00 00 */ lwz r12, 0(r31) -/* 8007183C 0006E79C 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80071840 0006E7A0 7D 89 03 A6 */ mtctr r12 -/* 80071844 0006E7A4 4E 80 04 21 */ bctrl -/* 80071848 0006E7A8 38 60 00 01 */ li r3, 1 -/* 8007184C 0006E7AC 48 00 00 08 */ b lbl_80071854 -lbl_80071850: -/* 80071850 0006E7B0 38 60 00 00 */ li r3, 0 -lbl_80071854: -/* 80071854 0006E7B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80071858 0006E7B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007185C 0006E7BC 7C 08 03 A6 */ mtlr r0 -/* 80071860 0006E7C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80071864 0006E7C4 4E 80 00 20 */ blr - -.global InitializeFrameGlue__16CPauseScreenBaseFv -InitializeFrameGlue__16CPauseScreenBaseFv: -/* 80071868 0006E7C8 94 21 FD 70 */ stwu r1, -0x290(r1) -/* 8007186C 0006E7CC 7C 08 02 A6 */ mflr r0 -/* 80071870 0006E7D0 90 01 02 94 */ stw r0, 0x294(r1) -/* 80071874 0006E7D4 DB E1 02 80 */ stfd f31, 0x280(r1) -/* 80071878 0006E7D8 F3 E1 02 88 */ psq_st f31, 648(r1), 0, qr0 -/* 8007187C 0006E7DC DB C1 02 70 */ stfd f30, 0x270(r1) -/* 80071880 0006E7E0 F3 C1 02 78 */ psq_st f30, 632(r1), 0, qr0 -/* 80071884 0006E7E4 DB A1 02 60 */ stfd f29, 0x260(r1) -/* 80071888 0006E7E8 F3 A1 02 68 */ psq_st f29, 616(r1), 0, qr0 -/* 8007188C 0006E7EC DB 81 02 50 */ stfd f28, 0x250(r1) -/* 80071890 0006E7F0 F3 81 02 58 */ psq_st f28, 600(r1), 0, qr0 -/* 80071894 0006E7F4 BF 21 02 34 */ stmw r25, 0x234(r1) -/* 80071898 0006E7F8 7C 7F 1B 78 */ mr r31, r3 -/* 8007189C 0006E7FC 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800718A0 0006E800 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 800718A4 0006E804 3C A0 80 3E */ lis r5, lbl_803DA390@ha -/* 800718A8 0006E808 80 7F 00 08 */ lwz r3, 8(r31) -/* 800718AC 0006E80C 3B C5 A3 90 */ addi r30, r5, lbl_803DA390@l -/* 800718B0 0006E810 48 25 08 A5 */ bl FindWidget__9CGuiFrameCFPCc -/* 800718B4 0006E814 90 7F 00 60 */ stw r3, 0x60(r31) -/* 800718B8 0006E818 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800718BC 0006E81C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 800718C0 0006E820 80 7F 00 08 */ lwz r3, 8(r31) -/* 800718C4 0006E824 38 84 00 11 */ addi r4, r4, 0x11 -/* 800718C8 0006E828 48 25 08 8D */ bl FindWidget__9CGuiFrameCFPCc -/* 800718CC 0006E82C 90 7F 00 64 */ stw r3, 0x64(r31) -/* 800718D0 0006E830 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800718D4 0006E834 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 800718D8 0006E838 80 7F 00 08 */ lwz r3, 8(r31) -/* 800718DC 0006E83C 38 84 00 24 */ addi r4, r4, 0x24 -/* 800718E0 0006E840 48 25 08 75 */ bl FindWidget__9CGuiFrameCFPCc -/* 800718E4 0006E844 90 7F 00 68 */ stw r3, 0x68(r31) -/* 800718E8 0006E848 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800718EC 0006E84C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 800718F0 0006E850 80 7F 00 08 */ lwz r3, 8(r31) -/* 800718F4 0006E854 38 84 00 38 */ addi r4, r4, 0x38 -/* 800718F8 0006E858 48 25 08 5D */ bl FindWidget__9CGuiFrameCFPCc -/* 800718FC 0006E85C 90 7F 00 6C */ stw r3, 0x6c(r31) -/* 80071900 0006E860 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071904 0006E864 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071908 0006E868 80 7F 00 08 */ lwz r3, 8(r31) -/* 8007190C 0006E86C 38 84 00 4B */ addi r4, r4, 0x4b -/* 80071910 0006E870 48 25 08 45 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071914 0006E874 90 7F 00 70 */ stw r3, 0x70(r31) -/* 80071918 0006E878 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 8007191C 0006E87C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071920 0006E880 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071924 0006E884 38 84 00 5E */ addi r4, r4, 0x5e -/* 80071928 0006E888 48 25 08 2D */ bl FindWidget__9CGuiFrameCFPCc -/* 8007192C 0006E88C 90 7F 00 74 */ stw r3, 0x74(r31) -/* 80071930 0006E890 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071934 0006E894 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071938 0006E898 80 7F 00 08 */ lwz r3, 8(r31) -/* 8007193C 0006E89C 38 84 00 74 */ addi r4, r4, 0x74 -/* 80071940 0006E8A0 48 25 08 15 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071944 0006E8A4 90 7F 00 78 */ stw r3, 0x78(r31) -/* 80071948 0006E8A8 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 8007194C 0006E8AC 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071950 0006E8B0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071954 0006E8B4 38 84 00 88 */ addi r4, r4, 0x88 -/* 80071958 0006E8B8 48 25 07 FD */ bl FindWidget__9CGuiFrameCFPCc -/* 8007195C 0006E8BC 90 7F 00 7C */ stw r3, 0x7c(r31) -/* 80071960 0006E8C0 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071964 0006E8C4 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071968 0006E8C8 80 7F 00 08 */ lwz r3, 8(r31) -/* 8007196C 0006E8CC 38 84 00 9D */ addi r4, r4, 0x9d -/* 80071970 0006E8D0 48 25 07 E5 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071974 0006E8D4 90 7F 00 80 */ stw r3, 0x80(r31) -/* 80071978 0006E8D8 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 8007197C 0006E8DC 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071980 0006E8E0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071984 0006E8E4 38 84 00 B1 */ addi r4, r4, 0xb1 -/* 80071988 0006E8E8 48 25 07 CD */ bl FindWidget__9CGuiFrameCFPCc -/* 8007198C 0006E8EC 90 7F 00 84 */ stw r3, 0x84(r31) -/* 80071990 0006E8F0 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071994 0006E8F4 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071998 0006E8F8 80 7F 00 08 */ lwz r3, 8(r31) -/* 8007199C 0006E8FC 38 84 00 C5 */ addi r4, r4, 0xc5 -/* 800719A0 0006E900 48 25 07 B5 */ bl FindWidget__9CGuiFrameCFPCc -/* 800719A4 0006E904 90 7F 00 88 */ stw r3, 0x88(r31) -/* 800719A8 0006E908 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800719AC 0006E90C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 800719B0 0006E910 80 7F 00 08 */ lwz r3, 8(r31) -/* 800719B4 0006E914 38 84 00 DC */ addi r4, r4, 0xdc -/* 800719B8 0006E918 48 25 07 9D */ bl FindWidget__9CGuiFrameCFPCc -/* 800719BC 0006E91C 90 7F 00 8C */ stw r3, 0x8c(r31) -/* 800719C0 0006E920 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800719C4 0006E924 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 800719C8 0006E928 80 7F 00 08 */ lwz r3, 8(r31) -/* 800719CC 0006E92C 38 84 00 F1 */ addi r4, r4, 0xf1 -/* 800719D0 0006E930 48 25 07 85 */ bl FindWidget__9CGuiFrameCFPCc -/* 800719D4 0006E934 90 7F 00 90 */ stw r3, 0x90(r31) -/* 800719D8 0006E938 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800719DC 0006E93C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 800719E0 0006E940 80 7F 00 08 */ lwz r3, 8(r31) -/* 800719E4 0006E944 38 84 01 04 */ addi r4, r4, 0x104 -/* 800719E8 0006E948 48 25 07 6D */ bl FindWidget__9CGuiFrameCFPCc -/* 800719EC 0006E94C 90 7F 00 94 */ stw r3, 0x94(r31) -/* 800719F0 0006E950 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800719F4 0006E954 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 800719F8 0006E958 80 7F 00 08 */ lwz r3, 8(r31) -/* 800719FC 0006E95C 38 84 01 1A */ addi r4, r4, 0x11a -/* 80071A00 0006E960 48 25 07 55 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071A04 0006E964 90 7F 00 98 */ stw r3, 0x98(r31) -/* 80071A08 0006E968 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071A0C 0006E96C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071A10 0006E970 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071A14 0006E974 38 84 01 2D */ addi r4, r4, 0x12d -/* 80071A18 0006E978 48 25 07 3D */ bl FindWidget__9CGuiFrameCFPCc -/* 80071A1C 0006E97C 90 7F 00 9C */ stw r3, 0x9c(r31) -/* 80071A20 0006E980 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071A24 0006E984 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071A28 0006E988 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071A2C 0006E98C 38 84 01 42 */ addi r4, r4, 0x142 -/* 80071A30 0006E990 48 25 07 25 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071A34 0006E994 90 7F 00 A0 */ stw r3, 0xa0(r31) -/* 80071A38 0006E998 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071A3C 0006E99C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071A40 0006E9A0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071A44 0006E9A4 38 84 01 56 */ addi r4, r4, 0x156 -/* 80071A48 0006E9A8 48 25 07 0D */ bl FindWidget__9CGuiFrameCFPCc -/* 80071A4C 0006E9AC 90 7F 00 A4 */ stw r3, 0xa4(r31) -/* 80071A50 0006E9B0 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071A54 0006E9B4 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071A58 0006E9B8 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071A5C 0006E9BC 38 84 01 6C */ addi r4, r4, 0x16c -/* 80071A60 0006E9C0 48 25 06 F5 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071A64 0006E9C4 90 7F 01 78 */ stw r3, 0x178(r31) -/* 80071A68 0006E9C8 80 7F 01 78 */ lwz r3, 0x178(r31) -/* 80071A6C 0006E9CC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80071A70 0006E9D0 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80071A74 0006E9D4 38 84 01 BC */ addi r4, r4, 0x1bc -/* 80071A78 0006E9D8 48 25 7B F1 */ bl SetFontColor__15CGuiTextSupportFRC6CColor -/* 80071A7C 0006E9DC 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80071A80 0006E9E0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071A84 0006E9E4 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l -/* 80071A88 0006E9E8 38 84 01 7B */ addi r4, r4, 0x17b -/* 80071A8C 0006E9EC 48 25 06 C9 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071A90 0006E9F0 90 7F 01 74 */ stw r3, 0x174(r31) -/* 80071A94 0006E9F4 38 80 00 01 */ li r4, 1 -/* 80071A98 0006E9F8 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80071A9C 0006E9FC 48 25 8B 91 */ bl SetIsVisible__10CGuiWidgetFb -/* 80071AA0 0006EA00 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80071AA4 0006EA04 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80071AA8 0006EA08 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80071AAC 0006EA0C 38 84 01 BC */ addi r4, r4, 0x1bc -/* 80071AB0 0006EA10 48 25 7B B9 */ bl SetFontColor__15CGuiTextSupportFRC6CColor -/* 80071AB4 0006EA14 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80071AB8 0006EA18 38 80 00 00 */ li r4, 0 -/* 80071ABC 0006EA1C 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80071AC0 0006EA20 48 25 63 49 */ bl SetPage__15CGuiTextSupportFi -/* 80071AC4 0006EA24 38 61 00 FC */ addi r3, r1, 0xfc -/* 80071AC8 0006EA28 38 8D 83 CC */ addi r4, r13, lbl_805A6F8C@sda21 -/* 80071ACC 0006EA2C 4B FA 3F 25 */ bl wstring_l__4rstlFPCw -/* 80071AD0 0006EA30 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80071AD4 0006EA34 38 81 00 FC */ addi r4, r1, 0xfc -/* 80071AD8 0006EA38 38 A0 00 00 */ li r5, 0 -/* 80071ADC 0006EA3C 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80071AE0 0006EA40 48 25 7D A5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80071AE4 0006EA44 38 61 00 FC */ addi r3, r1, 0xfc -/* 80071AE8 0006EA48 48 2C B6 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80071AEC 0006EA4C 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80071AF0 0006EA50 38 80 00 00 */ li r4, 0 -/* 80071AF4 0006EA54 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80071AF8 0006EA58 48 25 7B F1 */ bl SetJustification__15CGuiTextSupportF14EJustification -/* 80071AFC 0006EA5C 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80071B00 0006EA60 38 80 00 00 */ li r4, 0 -/* 80071B04 0006EA64 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80071B08 0006EA68 48 25 7B B1 */ bl SetVerticalJustification__15CGuiTextSupportF22EVerticalJustification -/* 80071B0C 0006EA6C 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80071B10 0006EA70 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80071B14 0006EA74 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80071B18 0006EA78 38 84 01 E8 */ addi r4, r4, 0x1e8 -/* 80071B1C 0006EA7C 48 25 7A C1 */ bl "SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>" -/* 80071B20 0006EA80 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80071B24 0006EA84 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071B28 0006EA88 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l -/* 80071B2C 0006EA8C 38 84 01 89 */ addi r4, r4, 0x189 -/* 80071B30 0006EA90 48 25 06 25 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071B34 0006EA94 90 7F 01 80 */ stw r3, 0x180(r31) -/* 80071B38 0006EA98 38 80 00 00 */ li r4, 0 -/* 80071B3C 0006EA9C 38 A0 00 01 */ li r5, 1 -/* 80071B40 0006EAA0 80 7F 01 80 */ lwz r3, 0x180(r31) -/* 80071B44 0006EAA4 48 25 8B A5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -/* 80071B48 0006EAA8 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80071B4C 0006EAAC 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071B50 0006EAB0 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l -/* 80071B54 0006EAB4 38 84 01 9A */ addi r4, r4, 0x19a -/* 80071B58 0006EAB8 48 25 05 FD */ bl FindWidget__9CGuiFrameCFPCc -/* 80071B5C 0006EABC 90 7F 01 7C */ stw r3, 0x17c(r31) -/* 80071B60 0006EAC0 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071B64 0006EAC4 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071B68 0006EAC8 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071B6C 0006EACC 38 84 01 AA */ addi r4, r4, 0x1aa -/* 80071B70 0006EAD0 48 25 05 E5 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071B74 0006EAD4 90 7F 01 84 */ stw r3, 0x184(r31) -/* 80071B78 0006EAD8 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071B7C 0006EADC 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071B80 0006EAE0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071B84 0006EAE4 38 84 01 B9 */ addi r4, r4, 0x1b9 -/* 80071B88 0006EAE8 48 25 05 CD */ bl FindWidget__9CGuiFrameCFPCc -/* 80071B8C 0006EAEC 90 7F 01 88 */ stw r3, 0x188(r31) -/* 80071B90 0006EAF0 3C 60 80 3D */ lis r3, lbl_803CD2C8@ha -/* 80071B94 0006EAF4 38 A3 D2 C8 */ addi r5, r3, lbl_803CD2C8@l -/* 80071B98 0006EAF8 38 00 00 00 */ li r0, 0 -/* 80071B9C 0006EAFC 81 65 00 00 */ lwz r11, 0(r5) -/* 80071BA0 0006EB00 38 CD A9 1A */ addi r6, r13, lbl_805A94DA@sda21 -/* 80071BA4 0006EB04 81 45 00 04 */ lwz r10, 4(r5) -/* 80071BA8 0006EB08 38 61 01 0C */ addi r3, r1, 0x10c -/* 80071BAC 0006EB0C 81 25 00 08 */ lwz r9, 8(r5) -/* 80071BB0 0006EB10 38 80 00 20 */ li r4, 0x20 -/* 80071BB4 0006EB14 81 05 00 0C */ lwz r8, 0xc(r5) -/* 80071BB8 0006EB18 38 A0 00 01 */ li r5, 1 -/* 80071BBC 0006EB1C 80 E2 88 2C */ lwz r7, lbl_805AA54C@sda21(r2) -/* 80071BC0 0006EB20 91 61 01 1C */ stw r11, 0x11c(r1) -/* 80071BC4 0006EB24 91 41 01 20 */ stw r10, 0x120(r1) -/* 80071BC8 0006EB28 91 21 01 24 */ stw r9, 0x124(r1) -/* 80071BCC 0006EB2C 91 01 01 28 */ stw r8, 0x128(r1) -/* 80071BD0 0006EB30 90 E1 00 18 */ stw r7, 0x18(r1) -/* 80071BD4 0006EB34 90 C1 01 0C */ stw r6, 0x10c(r1) -/* 80071BD8 0006EB38 90 01 01 10 */ stw r0, 0x110(r1) -/* 80071BDC 0006EB3C 90 01 01 14 */ stw r0, 0x114(r1) -/* 80071BE0 0006EB40 48 2C B3 95 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 80071BE4 0006EB44 38 61 01 0C */ addi r3, r1, 0x10c -/* 80071BE8 0006EB48 38 81 01 1C */ addi r4, r1, 0x11c -/* 80071BEC 0006EB4C 38 A0 FF FF */ li r5, -1 -/* 80071BF0 0006EB50 48 2C B6 0D */ bl sub_8033d1fc -/* 80071BF4 0006EB54 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80071BF8 0006EB58 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80071BFC 0006EB5C 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l -/* 80071C00 0006EB60 80 83 00 BC */ lwz r4, 0xbc(r3) -/* 80071C04 0006EB64 38 65 01 C8 */ addi r3, r5, 0x1c8 -/* 80071C08 0006EB68 4C C6 31 82 */ crclr 6 -/* 80071C0C 0006EB6C 48 26 45 A5 */ bl Stringize__7CBasicsFPCce -/* 80071C10 0006EB70 7C 64 1B 78 */ mr r4, r3 -/* 80071C14 0006EB74 38 61 00 EC */ addi r3, r1, 0xec -/* 80071C18 0006EB78 38 C1 00 0C */ addi r6, r1, 0xc -/* 80071C1C 0006EB7C 38 A0 FF FF */ li r5, -1 -/* 80071C20 0006EB80 48 2C C5 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80071C24 0006EB84 38 61 00 DC */ addi r3, r1, 0xdc -/* 80071C28 0006EB88 38 81 00 EC */ addi r4, r1, 0xec -/* 80071C2C 0006EB8C 48 2C CA F5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80071C30 0006EB90 38 61 01 0C */ addi r3, r1, 0x10c -/* 80071C34 0006EB94 38 81 00 DC */ addi r4, r1, 0xdc -/* 80071C38 0006EB98 48 2C BA 15 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80071C3C 0006EB9C 38 61 00 DC */ addi r3, r1, 0xdc -/* 80071C40 0006EBA0 48 2C B4 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80071C44 0006EBA4 38 61 00 EC */ addi r3, r1, 0xec -/* 80071C48 0006EBA8 48 2C BE 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80071C4C 0006EBAC 38 61 01 0C */ addi r3, r1, 0x10c -/* 80071C50 0006EBB0 38 81 00 18 */ addi r4, r1, 0x18 -/* 80071C54 0006EBB4 38 A0 FF FF */ li r5, -1 -/* 80071C58 0006EBB8 48 2C B8 8D */ bl sub_8033d4e4 -/* 80071C5C 0006EBBC 80 7F 01 84 */ lwz r3, 0x184(r31) -/* 80071C60 0006EBC0 38 81 01 0C */ addi r4, r1, 0x10c -/* 80071C64 0006EBC4 38 A0 00 00 */ li r5, 0 -/* 80071C68 0006EBC8 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80071C6C 0006EBCC 48 25 7C 19 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80071C70 0006EBD0 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80071C74 0006EBD4 38 80 00 63 */ li r4, 0x63 -/* 80071C78 0006EBD8 48 2E 4A 85 */ bl GetString__12CStringTableCFi -/* 80071C7C 0006EBDC 7C 64 1B 78 */ mr r4, r3 -/* 80071C80 0006EBE0 38 61 00 CC */ addi r3, r1, 0xcc -/* 80071C84 0006EBE4 4B FA 3D 6D */ bl wstring_l__4rstlFPCw -/* 80071C88 0006EBE8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80071C8C 0006EBEC 38 81 00 CC */ addi r4, r1, 0xcc -/* 80071C90 0006EBF0 38 A0 00 00 */ li r5, 0 -/* 80071C94 0006EBF4 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80071C98 0006EBF8 48 25 7B ED */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80071C9C 0006EBFC 38 61 00 CC */ addi r3, r1, 0xcc -/* 80071CA0 0006EC00 48 2C B4 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80071CA4 0006EC04 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80071CA8 0006EC08 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80071CAC 0006EC0C 38 84 01 BC */ addi r4, r4, 0x1bc -/* 80071CB0 0006EC10 48 25 8B BD */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80071CB4 0006EC14 38 61 01 0C */ addi r3, r1, 0x10c -/* 80071CB8 0006EC18 48 2C B4 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80071CBC 0006EC1C 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80071CC0 0006EC20 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071CC4 0006EC24 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l -/* 80071CC8 0006EC28 38 84 01 CE */ addi r4, r4, 0x1ce -/* 80071CCC 0006EC2C 48 25 04 89 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071CD0 0006EC30 90 7F 01 8C */ stw r3, 0x18c(r31) -/* 80071CD4 0006EC34 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071CD8 0006EC38 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071CDC 0006EC3C 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071CE0 0006EC40 38 84 01 E1 */ addi r4, r4, 0x1e1 -/* 80071CE4 0006EC44 48 25 04 71 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071CE8 0006EC48 90 7F 01 90 */ stw r3, 0x190(r31) -/* 80071CEC 0006EC4C 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071CF0 0006EC50 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80071CF4 0006EC54 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071CF8 0006EC58 38 84 01 F3 */ addi r4, r4, 0x1f3 -/* 80071CFC 0006EC5C 48 25 04 59 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071D00 0006EC60 90 7F 01 94 */ stw r3, 0x194(r31) -/* 80071D04 0006EC64 38 80 00 00 */ li r4, 0 -/* 80071D08 0006EC68 80 7F 00 84 */ lwz r3, 0x84(r31) -/* 80071D0C 0006EC6C 81 83 00 00 */ lwz r12, 0(r3) -/* 80071D10 0006EC70 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80071D14 0006EC74 7D 89 03 A6 */ mtctr r12 -/* 80071D18 0006EC78 4E 80 04 21 */ bctrl -/* 80071D1C 0006EC7C C0 43 00 A0 */ lfs f2, 0xa0(r3) -/* 80071D20 0006EC80 38 80 00 01 */ li r4, 1 -/* 80071D24 0006EC84 C0 23 00 90 */ lfs f1, 0x90(r3) -/* 80071D28 0006EC88 C0 03 00 80 */ lfs f0, 0x80(r3) -/* 80071D2C 0006EC8C D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 80071D30 0006EC90 D0 3F 00 30 */ stfs f1, 0x30(r31) -/* 80071D34 0006EC94 D0 5F 00 34 */ stfs f2, 0x34(r31) -/* 80071D38 0006EC98 80 7F 00 84 */ lwz r3, 0x84(r31) -/* 80071D3C 0006EC9C 81 83 00 00 */ lwz r12, 0(r3) -/* 80071D40 0006ECA0 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80071D44 0006ECA4 7D 89 03 A6 */ mtctr r12 -/* 80071D48 0006ECA8 4E 80 04 21 */ bctrl -/* 80071D4C 0006ECAC C0 63 00 A0 */ lfs f3, 0xa0(r3) -/* 80071D50 0006ECB0 3B 40 00 00 */ li r26, 0 -/* 80071D54 0006ECB4 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 80071D58 0006ECB8 3B 20 00 01 */ li r25, 1 -/* 80071D5C 0006ECBC C0 43 00 90 */ lfs f2, 0x90(r3) -/* 80071D60 0006ECC0 C0 23 00 80 */ lfs f1, 0x80(r3) -/* 80071D64 0006ECC4 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80071D68 0006ECC8 D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 80071D6C 0006ECCC D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 80071D70 0006ECD0 80 7F 01 8C */ lwz r3, 0x18c(r31) -/* 80071D74 0006ECD4 D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 80071D78 0006ECD8 C0 43 00 A0 */ lfs f2, 0xa0(r3) -/* 80071D7C 0006ECDC C0 23 00 90 */ lfs f1, 0x90(r3) -/* 80071D80 0006ECE0 C0 03 00 80 */ lfs f0, 0x80(r3) -/* 80071D84 0006ECE4 D0 61 00 C8 */ stfs f3, 0xc8(r1) -/* 80071D88 0006ECE8 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 80071D8C 0006ECEC D0 3F 00 40 */ stfs f1, 0x40(r31) -/* 80071D90 0006ECF0 D0 5F 00 44 */ stfs f2, 0x44(r31) -/* 80071D94 0006ECF4 80 7F 01 90 */ lwz r3, 0x190(r31) -/* 80071D98 0006ECF8 C0 43 00 A0 */ lfs f2, 0xa0(r3) -/* 80071D9C 0006ECFC C0 23 00 90 */ lfs f1, 0x90(r3) -/* 80071DA0 0006ED00 C0 03 00 80 */ lfs f0, 0x80(r3) -/* 80071DA4 0006ED04 D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 80071DA8 0006ED08 D0 3F 00 4C */ stfs f1, 0x4c(r31) -/* 80071DAC 0006ED0C D0 5F 00 50 */ stfs f2, 0x50(r31) -/* 80071DB0 0006ED10 80 7F 01 94 */ lwz r3, 0x194(r31) -/* 80071DB4 0006ED14 C0 43 00 A0 */ lfs f2, 0xa0(r3) -/* 80071DB8 0006ED18 C0 23 00 90 */ lfs f1, 0x90(r3) -/* 80071DBC 0006ED1C C0 03 00 80 */ lfs f0, 0x80(r3) -/* 80071DC0 0006ED20 D0 1F 00 54 */ stfs f0, 0x54(r31) -/* 80071DC4 0006ED24 D0 3F 00 58 */ stfs f1, 0x58(r31) -/* 80071DC8 0006ED28 D0 5F 00 5C */ stfs f2, 0x5c(r31) -lbl_80071DCC: -/* 80071DCC 0006ED2C 80 7F 00 70 */ lwz r3, 0x70(r31) -/* 80071DD0 0006ED30 7F 44 D3 78 */ mr r4, r26 -/* 80071DD4 0006ED34 81 83 00 00 */ lwz r12, 0(r3) -/* 80071DD8 0006ED38 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80071DDC 0006ED3C 7D 89 03 A6 */ mtctr r12 -/* 80071DE0 0006ED40 4E 80 04 21 */ bctrl -/* 80071DE4 0006ED44 88 03 00 B6 */ lbz r0, 0xb6(r3) -/* 80071DE8 0006ED48 3B 5A 00 01 */ addi r26, r26, 1 -/* 80071DEC 0006ED4C 53 20 26 F6 */ rlwimi r0, r25, 4, 0x1b, 0x1b -/* 80071DF0 0006ED50 2C 1A 00 05 */ cmpwi r26, 5 -/* 80071DF4 0006ED54 98 03 00 B6 */ stb r0, 0xb6(r3) -/* 80071DF8 0006ED58 41 80 FF D4 */ blt lbl_80071DCC -/* 80071DFC 0006ED5C C3 82 88 30 */ lfs f28, lbl_805AA550@sda21(r2) -/* 80071E00 0006ED60 3B 60 00 00 */ li r27, 0 -/* 80071E04 0006ED64 CB A2 88 38 */ lfd f29, lbl_805AA558@sda21(r2) -/* 80071E08 0006ED68 3F 20 43 30 */ lis r25, 0x4330 -/* 80071E0C 0006ED6C 48 00 00 90 */ b lbl_80071E9C -lbl_80071E10: -/* 80071E10 0006ED70 81 83 00 00 */ lwz r12, 0(r3) -/* 80071E14 0006ED74 7F 64 DB 78 */ mr r4, r27 -/* 80071E18 0006ED78 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80071E1C 0006ED7C 7D 89 03 A6 */ mtctr r12 -/* 80071E20 0006ED80 4E 80 04 21 */ bctrl -/* 80071E24 0006ED84 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 80071E28 0006ED88 C0 3F 00 30 */ lfs f1, 0x30(r31) -/* 80071E2C 0006ED8C 90 01 02 24 */ stw r0, 0x224(r1) -/* 80071E30 0006ED90 7C 7A 1B 78 */ mr r26, r3 -/* 80071E34 0006ED94 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 80071E38 0006ED98 EC 81 E0 2A */ fadds f4, f1, f28 -/* 80071E3C 0006ED9C 93 21 02 20 */ stw r25, 0x220(r1) -/* 80071E40 0006EDA0 38 61 01 EC */ addi r3, r1, 0x1ec -/* 80071E44 0006EDA4 EC 00 E0 2A */ fadds f0, f0, f28 -/* 80071E48 0006EDA8 C0 5F 00 38 */ lfs f2, 0x38(r31) -/* 80071E4C 0006EDAC C8 21 02 20 */ lfd f1, 0x220(r1) -/* 80071E50 0006EDB0 C0 7F 00 34 */ lfs f3, 0x34(r31) -/* 80071E54 0006EDB4 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 80071E58 0006EDB8 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80071E5C 0006EDBC D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80071E60 0006EDC0 EC 02 00 72 */ fmuls f0, f2, f1 -/* 80071E64 0006EDC4 D0 81 00 B8 */ stfs f4, 0xb8(r1) -/* 80071E68 0006EDC8 EC 03 00 2A */ fadds f0, f3, f0 -/* 80071E6C 0006EDCC D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 80071E70 0006EDD0 48 2A 12 D1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80071E74 0006EDD4 38 7A 00 04 */ addi r3, r26, 4 -/* 80071E78 0006EDD8 38 81 01 EC */ addi r4, r1, 0x1ec -/* 80071E7C 0006EDDC 48 2A 0C C5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80071E80 0006EDE0 7F 43 D3 78 */ mr r3, r26 -/* 80071E84 0006EDE4 48 25 29 65 */ bl RecalculateTransforms__10CGuiObjectFv -/* 80071E88 0006EDE8 88 1A 00 B6 */ lbz r0, 0xb6(r26) -/* 80071E8C 0006EDEC 38 60 00 01 */ li r3, 1 -/* 80071E90 0006EDF0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80071E94 0006EDF4 3B 7B 00 01 */ addi r27, r27, 1 -/* 80071E98 0006EDF8 98 1A 00 B6 */ stb r0, 0xb6(r26) -lbl_80071E9C: -/* 80071E9C 0006EDFC 80 7F 00 84 */ lwz r3, 0x84(r31) -/* 80071EA0 0006EE00 80 03 00 C0 */ lwz r0, 0xc0(r3) -/* 80071EA4 0006EE04 7C 1B 00 00 */ cmpw r27, r0 -/* 80071EA8 0006EE08 41 80 FF 68 */ blt lbl_80071E10 -/* 80071EAC 0006EE0C 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071EB0 0006EE10 3B BF 00 DC */ addi r29, r31, 0xdc -/* 80071EB4 0006EE14 3B 9F 01 48 */ addi r28, r31, 0x148 -/* 80071EB8 0006EE18 3B 60 00 00 */ li r27, 0 -/* 80071EBC 0006EE1C 3B 43 D2 D8 */ addi r26, r3, lbl_803CD2D8@l -lbl_80071EC0: -/* 80071EC0 0006EE20 38 7A 02 05 */ addi r3, r26, 0x205 -/* 80071EC4 0006EE24 38 9B 00 01 */ addi r4, r27, 1 -/* 80071EC8 0006EE28 4C C6 31 82 */ crclr 6 -/* 80071ECC 0006EE2C 48 26 42 E5 */ bl Stringize__7CBasicsFPCce -/* 80071ED0 0006EE30 7C 64 1B 78 */ mr r4, r3 -/* 80071ED4 0006EE34 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071ED8 0006EE38 48 25 02 7D */ bl FindWidget__9CGuiFrameCFPCc -/* 80071EDC 0006EE3C 7C 79 1B 78 */ mr r25, r3 -/* 80071EE0 0006EE40 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80071EE4 0006EE44 38 8D 83 CC */ addi r4, r13, lbl_805A6F8C@sda21 -/* 80071EE8 0006EE48 4B FA 3B 09 */ bl wstring_l__4rstlFPCw -/* 80071EEC 0006EE4C 38 79 00 D4 */ addi r3, r25, 0xd4 -/* 80071EF0 0006EE50 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 80071EF4 0006EE54 38 A0 00 00 */ li r5, 0 -/* 80071EF8 0006EE58 48 25 79 8D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80071EFC 0006EE5C 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80071F00 0006EE60 48 2C B2 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80071F04 0006EE64 80 1F 00 D8 */ lwz r0, 0xd8(r31) -/* 80071F08 0006EE68 54 00 10 3A */ slwi r0, r0, 2 -/* 80071F0C 0006EE6C 7C 7D 02 15 */ add. r3, r29, r0 -/* 80071F10 0006EE70 41 82 00 08 */ beq lbl_80071F18 -/* 80071F14 0006EE74 93 23 00 00 */ stw r25, 0(r3) -lbl_80071F18: -/* 80071F18 0006EE78 80 BF 00 D8 */ lwz r5, 0xd8(r31) -/* 80071F1C 0006EE7C 38 7A 02 16 */ addi r3, r26, 0x216 -/* 80071F20 0006EE80 38 9B 00 01 */ addi r4, r27, 1 -/* 80071F24 0006EE84 38 05 00 01 */ addi r0, r5, 1 -/* 80071F28 0006EE88 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 80071F2C 0006EE8C 4C C6 31 82 */ crclr 6 -/* 80071F30 0006EE90 48 26 42 81 */ bl Stringize__7CBasicsFPCce -/* 80071F34 0006EE94 7C 64 1B 78 */ mr r4, r3 -/* 80071F38 0006EE98 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071F3C 0006EE9C 48 25 02 19 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071F40 0006EEA0 80 1F 01 44 */ lwz r0, 0x144(r31) -/* 80071F44 0006EEA4 54 00 10 3A */ slwi r0, r0, 2 -/* 80071F48 0006EEA8 7C 9C 02 15 */ add. r4, r28, r0 -/* 80071F4C 0006EEAC 41 82 00 08 */ beq lbl_80071F54 -/* 80071F50 0006EEB0 90 64 00 00 */ stw r3, 0(r4) -lbl_80071F54: -/* 80071F54 0006EEB4 80 7F 01 44 */ lwz r3, 0x144(r31) -/* 80071F58 0006EEB8 3B 7B 00 01 */ addi r27, r27, 1 -/* 80071F5C 0006EEBC 2C 1B 00 05 */ cmpwi r27, 5 -/* 80071F60 0006EEC0 38 03 00 01 */ addi r0, r3, 1 -/* 80071F64 0006EEC4 90 1F 01 44 */ stw r0, 0x144(r31) -/* 80071F68 0006EEC8 41 80 FF 58 */ blt lbl_80071EC0 -/* 80071F6C 0006EECC 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071F70 0006EED0 3B 5F 01 60 */ addi r26, r31, 0x160 -/* 80071F74 0006EED4 3B 23 D2 D8 */ addi r25, r3, lbl_803CD2D8@l -/* 80071F78 0006EED8 3B 60 00 00 */ li r27, 0 -lbl_80071F7C: -/* 80071F7C 0006EEDC 38 79 02 24 */ addi r3, r25, 0x224 -/* 80071F80 0006EEE0 38 9B 00 01 */ addi r4, r27, 1 -/* 80071F84 0006EEE4 4C C6 31 82 */ crclr 6 -/* 80071F88 0006EEE8 48 26 42 29 */ bl Stringize__7CBasicsFPCce -/* 80071F8C 0006EEEC 7C 64 1B 78 */ mr r4, r3 -/* 80071F90 0006EEF0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071F94 0006EEF4 48 25 01 C1 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071F98 0006EEF8 80 1F 01 5C */ lwz r0, 0x15c(r31) -/* 80071F9C 0006EEFC 54 00 10 3A */ slwi r0, r0, 2 -/* 80071FA0 0006EF00 7C 9A 02 15 */ add. r4, r26, r0 -/* 80071FA4 0006EF04 41 82 00 08 */ beq lbl_80071FAC -/* 80071FA8 0006EF08 90 64 00 00 */ stw r3, 0(r4) -lbl_80071FAC: -/* 80071FAC 0006EF0C 80 7F 01 5C */ lwz r3, 0x15c(r31) -/* 80071FB0 0006EF10 3B 7B 00 01 */ addi r27, r27, 1 -/* 80071FB4 0006EF14 2C 1B 00 05 */ cmpwi r27, 5 -/* 80071FB8 0006EF18 38 03 00 01 */ addi r0, r3, 1 -/* 80071FBC 0006EF1C 90 1F 01 5C */ stw r0, 0x15c(r31) -/* 80071FC0 0006EF20 41 80 FF BC */ blt lbl_80071F7C -/* 80071FC4 0006EF24 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80071FC8 0006EF28 3B 9F 00 AC */ addi r28, r31, 0xac -/* 80071FCC 0006EF2C 3B BF 00 C4 */ addi r29, r31, 0xc4 -/* 80071FD0 0006EF30 3B 60 00 00 */ li r27, 0 -/* 80071FD4 0006EF34 3B 23 D2 D8 */ addi r25, r3, lbl_803CD2D8@l -lbl_80071FD8: -/* 80071FD8 0006EF38 7F 64 DB 78 */ mr r4, r27 -/* 80071FDC 0006EF3C 38 79 02 3B */ addi r3, r25, 0x23b -/* 80071FE0 0006EF40 4C C6 31 82 */ crclr 6 -/* 80071FE4 0006EF44 48 26 41 CD */ bl Stringize__7CBasicsFPCce -/* 80071FE8 0006EF48 7C 64 1B 78 */ mr r4, r3 -/* 80071FEC 0006EF4C 80 7F 00 08 */ lwz r3, 8(r31) -/* 80071FF0 0006EF50 48 25 01 65 */ bl FindWidget__9CGuiFrameCFPCc -/* 80071FF4 0006EF54 7C 7A 1B 78 */ mr r26, r3 -/* 80071FF8 0006EF58 38 61 00 94 */ addi r3, r1, 0x94 -/* 80071FFC 0006EF5C 38 8D 83 CC */ addi r4, r13, lbl_805A6F8C@sda21 -/* 80072000 0006EF60 4B FA 39 F1 */ bl wstring_l__4rstlFPCw -/* 80072004 0006EF64 38 7A 00 D4 */ addi r3, r26, 0xd4 -/* 80072008 0006EF68 38 81 00 94 */ addi r4, r1, 0x94 -/* 8007200C 0006EF6C 38 A0 00 00 */ li r5, 0 -/* 80072010 0006EF70 48 25 78 75 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80072014 0006EF74 38 61 00 94 */ addi r3, r1, 0x94 -/* 80072018 0006EF78 48 2C B1 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8007201C 0006EF7C 80 1F 00 A8 */ lwz r0, 0xa8(r31) -/* 80072020 0006EF80 54 00 10 3A */ slwi r0, r0, 2 -/* 80072024 0006EF84 7C 7C 02 15 */ add. r3, r28, r0 -/* 80072028 0006EF88 41 82 00 08 */ beq lbl_80072030 -/* 8007202C 0006EF8C 93 43 00 00 */ stw r26, 0(r3) -lbl_80072030: -/* 80072030 0006EF90 80 BF 00 A8 */ lwz r5, 0xa8(r31) -/* 80072034 0006EF94 7F 64 DB 78 */ mr r4, r27 -/* 80072038 0006EF98 38 79 02 4F */ addi r3, r25, 0x24f -/* 8007203C 0006EF9C 38 05 00 01 */ addi r0, r5, 1 -/* 80072040 0006EFA0 90 1F 00 A8 */ stw r0, 0xa8(r31) -/* 80072044 0006EFA4 4C C6 31 82 */ crclr 6 -/* 80072048 0006EFA8 48 26 41 69 */ bl Stringize__7CBasicsFPCce -/* 8007204C 0006EFAC 7C 64 1B 78 */ mr r4, r3 -/* 80072050 0006EFB0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80072054 0006EFB4 48 25 01 01 */ bl FindWidget__9CGuiFrameCFPCc -/* 80072058 0006EFB8 80 1F 00 C0 */ lwz r0, 0xc0(r31) -/* 8007205C 0006EFBC 54 00 10 3A */ slwi r0, r0, 2 -/* 80072060 0006EFC0 7C 9D 02 15 */ add. r4, r29, r0 -/* 80072064 0006EFC4 41 82 00 08 */ beq lbl_8007206C -/* 80072068 0006EFC8 90 64 00 00 */ stw r3, 0(r4) -lbl_8007206C: -/* 8007206C 0006EFCC 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80072070 0006EFD0 3B 7B 00 01 */ addi r27, r27, 1 -/* 80072074 0006EFD4 2C 1B 00 05 */ cmpwi r27, 5 -/* 80072078 0006EFD8 38 03 00 01 */ addi r0, r3, 1 -/* 8007207C 0006EFDC 90 1F 00 C0 */ stw r0, 0xc0(r31) -/* 80072080 0006EFE0 41 80 FF 58 */ blt lbl_80071FD8 -/* 80072084 0006EFE4 3B 40 00 00 */ li r26, 0 -/* 80072088 0006EFE8 3B 3F 00 F4 */ addi r25, r31, 0xf4 -lbl_8007208C: -/* 8007208C 0006EFEC 7F 43 D3 78 */ mr r3, r26 -/* 80072090 0006EFF0 48 0F 7E E1 */ bl GetImagePaneName__16CPauseScreenBaseFUi -/* 80072094 0006EFF4 7C 64 1B 78 */ mr r4, r3 -/* 80072098 0006EFF8 80 7F 00 08 */ lwz r3, 8(r31) -/* 8007209C 0006EFFC 48 25 00 B9 */ bl FindWidget__9CGuiFrameCFPCc -/* 800720A0 0006F000 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 800720A4 0006F004 54 00 10 3A */ slwi r0, r0, 2 -/* 800720A8 0006F008 7C 99 02 15 */ add. r4, r25, r0 -/* 800720AC 0006F00C 41 82 00 08 */ beq lbl_800720B4 -/* 800720B0 0006F010 90 64 00 00 */ stw r3, 0(r4) -lbl_800720B4: -/* 800720B4 0006F014 80 7F 00 F0 */ lwz r3, 0xf0(r31) -/* 800720B8 0006F018 3B 5A 00 01 */ addi r26, r26, 1 -/* 800720BC 0006F01C 2C 1A 00 14 */ cmpwi r26, 0x14 -/* 800720C0 0006F020 38 03 00 01 */ addi r0, r3, 1 -/* 800720C4 0006F024 90 1F 00 F0 */ stw r0, 0xf0(r31) -/* 800720C8 0006F028 41 80 FF C4 */ blt lbl_8007208C -/* 800720CC 0006F02C 80 FF 00 70 */ lwz r7, 0x70(r31) -/* 800720D0 0006F030 38 60 00 00 */ li r3, 0 -/* 800720D4 0006F034 38 00 00 01 */ li r0, 1 -/* 800720D8 0006F038 38 80 00 00 */ li r4, 0 -/* 800720DC 0006F03C 80 C7 00 C4 */ lwz r6, 0xc4(r7) -/* 800720E0 0006F040 38 A0 00 01 */ li r5, 1 -/* 800720E4 0006F044 90 C7 00 C8 */ stw r6, 0xc8(r7) -/* 800720E8 0006F048 90 67 00 C4 */ stw r3, 0xc4(r7) -/* 800720EC 0006F04C 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 800720F0 0006F050 80 66 00 C4 */ lwz r3, 0xc4(r6) -/* 800720F4 0006F054 90 66 00 C8 */ stw r3, 0xc8(r6) -/* 800720F8 0006F058 90 06 00 C4 */ stw r0, 0xc4(r6) -/* 800720FC 0006F05C 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 80072100 0006F060 48 25 85 E9 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -/* 80072104 0006F064 80 7F 00 88 */ lwz r3, 0x88(r31) -/* 80072108 0006F068 38 80 00 00 */ li r4, 0 -/* 8007210C 0006F06C 38 A0 00 01 */ li r5, 1 -/* 80072110 0006F070 48 25 85 D9 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -/* 80072114 0006F074 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80072118 0006F078 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 8007211C 0006F07C 38 84 01 BC */ addi r4, r4, 0x1bc -/* 80072120 0006F080 48 25 87 4D */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80072124 0006F084 7F E3 FB 78 */ mr r3, r31 -/* 80072128 0006F088 81 9F 00 00 */ lwz r12, 0(r31) -/* 8007212C 0006F08C 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 80072130 0006F090 7D 89 03 A6 */ mtctr r12 -/* 80072134 0006F094 4E 80 04 21 */ bctrl -/* 80072138 0006F098 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007213C 0006F09C 41 82 00 44 */ beq lbl_80072180 -/* 80072140 0006F0A0 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 80072144 0006F0A4 C3 E2 88 34 */ lfs f31, lbl_805AA554@sda21(r2) -/* 80072148 0006F0A8 38 A3 01 BC */ addi r5, r3, 0x1bc -/* 8007214C 0006F0AC F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 80072150 0006F0B0 7F E3 FB 78 */ mr r3, r31 -/* 80072154 0006F0B4 80 E5 00 00 */ lwz r7, 0(r5) -/* 80072158 0006F0B8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8007215C 0006F0BC 88 01 00 09 */ lbz r0, 9(r1) -/* 80072160 0006F0C0 38 80 00 00 */ li r4, 0 -/* 80072164 0006F0C4 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 -/* 80072168 0006F0C8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8007216C 0006F0CC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80072170 0006F0D0 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80072174 0006F0D4 7D 89 03 A6 */ mtctr r12 -/* 80072178 0006F0D8 4E 80 04 21 */ bctrl -/* 8007217C 0006F0DC 48 00 00 14 */ b lbl_80072190 -lbl_80072180: -/* 80072180 0006F0E0 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80072184 0006F0E4 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 80072188 0006F0E8 38 84 01 BC */ addi r4, r4, 0x1bc -/* 8007218C 0006F0EC 48 25 86 E1 */ bl SetColor__10CGuiWidgetFRC6CColor -lbl_80072190: -/* 80072190 0006F0F0 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80072194 0006F0F4 48 25 2B 9D */ bl GetChildObject__10CGuiObjectFv -/* 80072198 0006F0F8 7C 79 1B 78 */ mr r25, r3 -/* 8007219C 0006F0FC 48 00 00 20 */ b lbl_800721BC -lbl_800721A0: -/* 800721A0 0006F100 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 800721A4 0006F104 7F 23 CB 78 */ mr r3, r25 -/* 800721A8 0006F108 38 84 01 BC */ addi r4, r4, 0x1bc -/* 800721AC 0006F10C 48 25 86 C1 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 800721B0 0006F110 7F 23 CB 78 */ mr r3, r25 -/* 800721B4 0006F114 48 25 2B 6D */ bl GetNextSibling__10CGuiObjectFv -/* 800721B8 0006F118 7C 79 1B 78 */ mr r25, r3 -lbl_800721BC: -/* 800721BC 0006F11C 28 19 00 00 */ cmplwi r25, 0 -/* 800721C0 0006F120 40 82 FF E0 */ bne lbl_800721A0 -/* 800721C4 0006F124 C3 C2 88 5C */ lfs f30, lbl_805AA57C@sda21(r2) -/* 800721C8 0006F128 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 800721CC 0006F12C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 800721D0 0006F130 38 81 00 14 */ addi r4, r1, 0x14 -/* 800721D4 0006F134 80 63 01 BC */ lwz r3, 0x1bc(r3) -/* 800721D8 0006F138 88 01 00 08 */ lbz r0, 8(r1) -/* 800721DC 0006F13C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 800721E0 0006F140 90 01 00 14 */ stw r0, 0x14(r1) -/* 800721E4 0006F144 80 7F 00 98 */ lwz r3, 0x98(r31) -/* 800721E8 0006F148 48 25 86 85 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 800721EC 0006F14C 80 7F 00 9C */ lwz r3, 0x9c(r31) -/* 800721F0 0006F150 38 81 00 14 */ addi r4, r1, 0x14 -/* 800721F4 0006F154 48 25 86 79 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 800721F8 0006F158 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 800721FC 0006F15C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80072200 0006F160 48 25 86 6D */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80072204 0006F164 80 7F 00 A4 */ lwz r3, 0xa4(r31) -/* 80072208 0006F168 38 81 00 14 */ addi r4, r1, 0x14 -/* 8007220C 0006F16C 48 25 86 61 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80072210 0006F170 80 7F 00 90 */ lwz r3, 0x90(r31) -/* 80072214 0006F174 38 81 00 14 */ addi r4, r1, 0x14 -/* 80072218 0006F178 48 25 86 55 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 8007221C 0006F17C 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 80072220 0006F180 38 81 00 14 */ addi r4, r1, 0x14 -/* 80072224 0006F184 48 25 86 49 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80072228 0006F188 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 8007222C 0006F18C 80 7F 01 8C */ lwz r3, 0x18c(r31) -/* 80072230 0006F190 38 84 01 BC */ addi r4, r4, 0x1bc -/* 80072234 0006F194 48 25 86 39 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80072238 0006F198 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 8007223C 0006F19C 80 7F 01 90 */ lwz r3, 0x190(r31) -/* 80072240 0006F1A0 38 84 01 BC */ addi r4, r4, 0x1bc -/* 80072244 0006F1A4 48 25 86 29 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80072248 0006F1A8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 8007224C 0006F1AC 80 7F 01 94 */ lwz r3, 0x194(r31) -/* 80072250 0006F1B0 38 84 01 BC */ addi r4, r4, 0x1bc -/* 80072254 0006F1B4 48 25 86 19 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80072258 0006F1B8 80 9F 01 90 */ lwz r4, 0x190(r31) -/* 8007225C 0006F1BC 7F E3 FB 78 */ mr r3, r31 -/* 80072260 0006F1C0 4B FF EE 85 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 80072264 0006F1C4 80 9F 01 94 */ lwz r4, 0x194(r31) -/* 80072268 0006F1C8 7F E3 FB 78 */ mr r3, r31 -/* 8007226C 0006F1CC 4B FF EE 79 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 80072270 0006F1D0 80 9F 00 70 */ lwz r4, 0x70(r31) -/* 80072274 0006F1D4 7F E3 FB 78 */ mr r3, r31 -/* 80072278 0006F1D8 4B FF EE 6D */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 8007227C 0006F1DC 80 9F 00 84 */ lwz r4, 0x84(r31) -/* 80072280 0006F1E0 7F E3 FB 78 */ mr r3, r31 -/* 80072284 0006F1E4 4B FF EE 61 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup -/* 80072288 0006F1E8 80 7F 01 8C */ lwz r3, 0x18c(r31) -/* 8007228C 0006F1EC 38 80 00 00 */ li r4, 0 -/* 80072290 0006F1F0 38 A0 00 01 */ li r5, 1 -/* 80072294 0006F1F4 48 25 84 55 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -/* 80072298 0006F1F8 80 7F 01 90 */ lwz r3, 0x190(r31) -/* 8007229C 0006F1FC 38 80 00 00 */ li r4, 0 -/* 800722A0 0006F200 48 25 83 8D */ bl SetIsVisible__10CGuiWidgetFb -/* 800722A4 0006F204 80 7F 01 94 */ lwz r3, 0x194(r31) -/* 800722A8 0006F208 38 80 00 00 */ li r4, 0 -/* 800722AC 0006F20C 48 25 83 81 */ bl SetIsVisible__10CGuiWidgetFb -/* 800722B0 0006F210 80 BF 01 90 */ lwz r5, 0x190(r31) -/* 800722B4 0006F214 38 00 00 00 */ li r0, 0 -/* 800722B8 0006F218 38 61 00 4C */ addi r3, r1, 0x4c -/* 800722BC 0006F21C 38 81 00 88 */ addi r4, r1, 0x88 -/* 800722C0 0006F220 98 05 00 D1 */ stb r0, 0xd1(r5) -/* 800722C4 0006F224 38 A0 00 0C */ li r5, 0xc -/* 800722C8 0006F228 80 DF 01 94 */ lwz r6, 0x194(r31) -/* 800722CC 0006F22C 98 06 00 D1 */ stb r0, 0xd1(r6) -/* 800722D0 0006F230 80 FE 00 00 */ lwz r7, 0(r30) -/* 800722D4 0006F234 80 DE 00 04 */ lwz r6, 4(r30) -/* 800722D8 0006F238 80 1E 00 08 */ lwz r0, 8(r30) -/* 800722DC 0006F23C 90 E1 00 88 */ stw r7, 0x88(r1) -/* 800722E0 0006F240 90 C1 00 8C */ stw r6, 0x8c(r1) -/* 800722E4 0006F244 90 01 00 90 */ stw r0, 0x90(r1) -/* 800722E8 0006F248 4B F9 11 A9 */ bl memcpy -/* 800722EC 0006F24C 3C 60 80 07 */ lis r3, sub_80072578@ha -/* 800722F0 0006F250 93 E1 01 D8 */ stw r31, 0x1d8(r1) -/* 800722F4 0006F254 38 03 25 78 */ addi r0, r3, sub_80072578@l -/* 800722F8 0006F258 38 61 01 DC */ addi r3, r1, 0x1dc -/* 800722FC 0006F25C 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 80072300 0006F260 38 81 00 4C */ addi r4, r1, 0x4c -/* 80072304 0006F264 38 A0 00 0C */ li r5, 0xc -/* 80072308 0006F268 4B F9 11 89 */ bl memcpy -/* 8007230C 0006F26C 80 7F 00 70 */ lwz r3, 0x70(r31) -/* 80072310 0006F270 38 81 01 D4 */ addi r4, r1, 0x1d4 -/* 80072314 0006F274 48 25 45 45 */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" -/* 80072318 0006F278 80 FE 00 0C */ lwz r7, 0xc(r30) -/* 8007231C 0006F27C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80072320 0006F280 80 DE 00 10 */ lwz r6, 0x10(r30) -/* 80072324 0006F284 38 81 00 7C */ addi r4, r1, 0x7c -/* 80072328 0006F288 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8007232C 0006F28C 38 A0 00 0C */ li r5, 0xc -/* 80072330 0006F290 90 E1 00 7C */ stw r7, 0x7c(r1) -/* 80072334 0006F294 90 C1 00 80 */ stw r6, 0x80(r1) -/* 80072338 0006F298 90 01 00 84 */ stw r0, 0x84(r1) -/* 8007233C 0006F29C 4B F9 11 55 */ bl memcpy -/* 80072340 0006F2A0 3C 60 80 07 */ lis r3, sub_80072514@ha -/* 80072344 0006F2A4 93 E1 01 C0 */ stw r31, 0x1c0(r1) -/* 80072348 0006F2A8 38 03 25 14 */ addi r0, r3, sub_80072514@l -/* 8007234C 0006F2AC 38 61 01 C4 */ addi r3, r1, 0x1c4 -/* 80072350 0006F2B0 90 01 01 BC */ stw r0, 0x1bc(r1) -/* 80072354 0006F2B4 38 81 00 40 */ addi r4, r1, 0x40 -/* 80072358 0006F2B8 38 A0 00 0C */ li r5, 0xc -/* 8007235C 0006F2BC 4B F9 11 35 */ bl memcpy -/* 80072360 0006F2C0 80 7F 00 70 */ lwz r3, 0x70(r31) -/* 80072364 0006F2C4 38 81 01 BC */ addi r4, r1, 0x1bc -/* 80072368 0006F2C8 48 25 44 89 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" -/* 8007236C 0006F2CC 80 FE 00 18 */ lwz r7, 0x18(r30) -/* 80072370 0006F2D0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80072374 0006F2D4 80 DE 00 1C */ lwz r6, 0x1c(r30) -/* 80072378 0006F2D8 38 81 00 70 */ addi r4, r1, 0x70 -/* 8007237C 0006F2DC 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 80072380 0006F2E0 38 A0 00 0C */ li r5, 0xc -/* 80072384 0006F2E4 90 E1 00 70 */ stw r7, 0x70(r1) -/* 80072388 0006F2E8 90 C1 00 74 */ stw r6, 0x74(r1) -/* 8007238C 0006F2EC 90 01 00 78 */ stw r0, 0x78(r1) -/* 80072390 0006F2F0 4B F9 11 01 */ bl memcpy -/* 80072394 0006F2F4 3C 60 80 07 */ lis r3, sub_80072578@ha -/* 80072398 0006F2F8 93 E1 01 A8 */ stw r31, 0x1a8(r1) -/* 8007239C 0006F2FC 38 03 25 78 */ addi r0, r3, sub_80072578@l -/* 800723A0 0006F300 38 61 01 AC */ addi r3, r1, 0x1ac -/* 800723A4 0006F304 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 800723A8 0006F308 38 81 00 34 */ addi r4, r1, 0x34 -/* 800723AC 0006F30C 38 A0 00 0C */ li r5, 0xc -/* 800723B0 0006F310 4B F9 10 E1 */ bl memcpy -/* 800723B4 0006F314 80 7F 00 84 */ lwz r3, 0x84(r31) -/* 800723B8 0006F318 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 800723BC 0006F31C 48 25 44 9D */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" -/* 800723C0 0006F320 80 FE 00 24 */ lwz r7, 0x24(r30) -/* 800723C4 0006F324 38 61 00 28 */ addi r3, r1, 0x28 -/* 800723C8 0006F328 80 DE 00 28 */ lwz r6, 0x28(r30) -/* 800723CC 0006F32C 38 81 00 64 */ addi r4, r1, 0x64 -/* 800723D0 0006F330 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 800723D4 0006F334 38 A0 00 0C */ li r5, 0xc -/* 800723D8 0006F338 90 E1 00 64 */ stw r7, 0x64(r1) -/* 800723DC 0006F33C 90 C1 00 68 */ stw r6, 0x68(r1) -/* 800723E0 0006F340 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800723E4 0006F344 4B F9 10 AD */ bl memcpy -/* 800723E8 0006F348 3C 60 80 07 */ lis r3, sub_80072514@ha -/* 800723EC 0006F34C 93 E1 01 90 */ stw r31, 0x190(r1) -/* 800723F0 0006F350 38 03 25 14 */ addi r0, r3, sub_80072514@l -/* 800723F4 0006F354 38 61 01 94 */ addi r3, r1, 0x194 -/* 800723F8 0006F358 90 01 01 8C */ stw r0, 0x18c(r1) -/* 800723FC 0006F35C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80072400 0006F360 38 A0 00 0C */ li r5, 0xc -/* 80072404 0006F364 4B F9 10 8D */ bl memcpy -/* 80072408 0006F368 80 7F 00 84 */ lwz r3, 0x84(r31) -/* 8007240C 0006F36C 38 81 01 8C */ addi r4, r1, 0x18c -/* 80072410 0006F370 48 25 43 E1 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" -/* 80072414 0006F374 80 FE 00 30 */ lwz r7, 0x30(r30) -/* 80072418 0006F378 38 61 00 1C */ addi r3, r1, 0x1c -/* 8007241C 0006F37C 80 DE 00 34 */ lwz r6, 0x34(r30) -/* 80072420 0006F380 38 81 00 58 */ addi r4, r1, 0x58 -/* 80072424 0006F384 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 80072428 0006F388 38 A0 00 0C */ li r5, 0xc -/* 8007242C 0006F38C 90 E1 00 58 */ stw r7, 0x58(r1) -/* 80072430 0006F390 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 80072434 0006F394 90 01 00 60 */ stw r0, 0x60(r1) -/* 80072438 0006F398 4B F9 10 59 */ bl memcpy -/* 8007243C 0006F39C 3C 60 80 07 */ lis r3, sub_80072578@ha -/* 80072440 0006F3A0 93 E1 01 78 */ stw r31, 0x178(r1) -/* 80072444 0006F3A4 38 03 25 78 */ addi r0, r3, sub_80072578@l -/* 80072448 0006F3A8 38 61 01 7C */ addi r3, r1, 0x17c -/* 8007244C 0006F3AC 90 01 01 74 */ stw r0, 0x174(r1) -/* 80072450 0006F3B0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80072454 0006F3B4 38 A0 00 0C */ li r5, 0xc -/* 80072458 0006F3B8 4B F9 10 39 */ bl memcpy -/* 8007245C 0006F3BC 80 7F 00 84 */ lwz r3, 0x84(r31) -/* 80072460 0006F3C0 38 81 01 74 */ addi r4, r1, 0x174 -/* 80072464 0006F3C4 48 25 43 C1 */ bl "SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1" -/* 80072468 0006F3C8 38 00 00 00 */ li r0, 0 -/* 8007246C 0006F3CC 38 61 01 64 */ addi r3, r1, 0x164 -/* 80072470 0006F3D0 90 01 01 5C */ stw r0, 0x15c(r1) -/* 80072474 0006F3D4 38 80 00 00 */ li r4, 0 -/* 80072478 0006F3D8 38 A0 00 10 */ li r5, 0x10 -/* 8007247C 0006F3DC 90 01 01 60 */ stw r0, 0x160(r1) -/* 80072480 0006F3E0 4B F9 0F 29 */ bl memset -/* 80072484 0006F3E4 80 7F 01 8C */ lwz r3, 0x18c(r31) -/* 80072488 0006F3E8 38 81 01 5C */ addi r4, r1, 0x15c -/* 8007248C 0006F3EC 48 25 37 D5 */ bl "SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2" -/* 80072490 0006F3F0 38 00 00 00 */ li r0, 0 -/* 80072494 0006F3F4 38 61 01 4C */ addi r3, r1, 0x14c -/* 80072498 0006F3F8 90 01 01 44 */ stw r0, 0x144(r1) -/* 8007249C 0006F3FC 38 80 00 00 */ li r4, 0 -/* 800724A0 0006F400 38 A0 00 10 */ li r5, 0x10 -/* 800724A4 0006F404 90 01 01 48 */ stw r0, 0x148(r1) -/* 800724A8 0006F408 4B F9 0F 01 */ bl memset -/* 800724AC 0006F40C 80 7F 01 90 */ lwz r3, 0x190(r31) -/* 800724B0 0006F410 38 81 01 44 */ addi r4, r1, 0x144 -/* 800724B4 0006F414 48 25 43 3D */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" -/* 800724B8 0006F418 38 00 00 00 */ li r0, 0 -/* 800724BC 0006F41C 38 61 01 34 */ addi r3, r1, 0x134 -/* 800724C0 0006F420 90 01 01 2C */ stw r0, 0x12c(r1) -/* 800724C4 0006F424 38 80 00 00 */ li r4, 0 -/* 800724C8 0006F428 38 A0 00 10 */ li r5, 0x10 -/* 800724CC 0006F42C 90 01 01 30 */ stw r0, 0x130(r1) -/* 800724D0 0006F430 4B F9 0E D9 */ bl memset -/* 800724D4 0006F434 80 7F 01 94 */ lwz r3, 0x194(r31) -/* 800724D8 0006F438 38 81 01 2C */ addi r4, r1, 0x12c -/* 800724DC 0006F43C 48 25 43 15 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" -/* 800724E0 0006F440 E3 E1 02 88 */ psq_l f31, 648(r1), 0, qr0 -/* 800724E4 0006F444 CB E1 02 80 */ lfd f31, 0x280(r1) -/* 800724E8 0006F448 E3 C1 02 78 */ psq_l f30, 632(r1), 0, qr0 -/* 800724EC 0006F44C CB C1 02 70 */ lfd f30, 0x270(r1) -/* 800724F0 0006F450 E3 A1 02 68 */ psq_l f29, 616(r1), 0, qr0 -/* 800724F4 0006F454 CB A1 02 60 */ lfd f29, 0x260(r1) -/* 800724F8 0006F458 E3 81 02 58 */ psq_l f28, 600(r1), 0, qr0 -/* 800724FC 0006F45C CB 81 02 50 */ lfd f28, 0x250(r1) -/* 80072500 0006F460 BB 21 02 34 */ lmw r25, 0x234(r1) -/* 80072504 0006F464 80 01 02 94 */ lwz r0, 0x294(r1) -/* 80072508 0006F468 7C 08 03 A6 */ mtlr r0 -/* 8007250C 0006F46C 38 21 02 90 */ addi r1, r1, 0x290 -/* 80072510 0006F470 4E 80 00 20 */ blr - -.global sub_80072514 -sub_80072514: -/* 80072514 0006F474 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80072518 0006F478 7C 08 02 A6 */ mflr r0 -/* 8007251C 0006F47C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80072520 0006F480 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80072524 0006F484 7C DF 33 78 */ mr r31, r6 -/* 80072528 0006F488 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8007252C 0006F48C 7C BE 2B 78 */ mr r30, r5 -/* 80072530 0006F490 38 A0 00 0C */ li r5, 0xc -/* 80072534 0006F494 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80072538 0006F498 7C 7D 1B 78 */ mr r29, r3 -/* 8007253C 0006F49C 38 61 00 08 */ addi r3, r1, 8 -/* 80072540 0006F4A0 4B F9 0F 51 */ bl memcpy -/* 80072544 0006F4A4 7F A3 EB 78 */ mr r3, r29 -/* 80072548 0006F4A8 7F C4 F3 78 */ mr r4, r30 -/* 8007254C 0006F4AC 7F E5 FB 78 */ mr r5, r31 -/* 80072550 0006F4B0 39 81 00 08 */ addi r12, r1, 8 -/* 80072554 0006F4B4 48 31 73 D9 */ bl __ptmf_scall -/* 80072558 0006F4B8 60 00 00 00 */ nop -/* 8007255C 0006F4BC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80072560 0006F4C0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80072564 0006F4C4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80072568 0006F4C8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8007256C 0006F4CC 7C 08 03 A6 */ mtlr r0 -/* 80072570 0006F4D0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80072574 0006F4D4 4E 80 00 20 */ blr - -.global sub_80072578 -sub_80072578: -/* 80072578 0006F4D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007257C 0006F4DC 7C 08 02 A6 */ mflr r0 -/* 80072580 0006F4E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80072584 0006F4E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80072588 0006F4E8 7C BF 2B 78 */ mr r31, r5 -/* 8007258C 0006F4EC 38 A0 00 0C */ li r5, 0xc -/* 80072590 0006F4F0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80072594 0006F4F4 7C 7E 1B 78 */ mr r30, r3 -/* 80072598 0006F4F8 38 61 00 08 */ addi r3, r1, 8 -/* 8007259C 0006F4FC 4B F9 0E F5 */ bl memcpy -/* 800725A0 0006F500 7F C3 F3 78 */ mr r3, r30 -/* 800725A4 0006F504 7F E4 FB 78 */ mr r4, r31 -/* 800725A8 0006F508 39 81 00 08 */ addi r12, r1, 8 -/* 800725AC 0006F50C 48 31 73 81 */ bl __ptmf_scall -/* 800725B0 0006F510 60 00 00 00 */ nop -/* 800725B4 0006F514 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800725B8 0006F518 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800725BC 0006F51C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800725C0 0006F520 7C 08 03 A6 */ mtlr r0 -/* 800725C4 0006F524 38 21 00 20 */ addi r1, r1, 0x20 -/* 800725C8 0006F528 4E 80 00 20 */ blr - -.global __dt__16CPauseScreenBaseFv -__dt__16CPauseScreenBaseFv: -/* 800725CC 0006F52C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800725D0 0006F530 7C 08 02 A6 */ mflr r0 -/* 800725D4 0006F534 90 01 00 14 */ stw r0, 0x14(r1) -/* 800725D8 0006F538 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800725DC 0006F53C 7C 9F 23 78 */ mr r31, r4 -/* 800725E0 0006F540 93 C1 00 08 */ stw r30, 8(r1) -/* 800725E4 0006F544 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800725E8 0006F548 41 82 02 4C */ beq lbl_80072834 -/* 800725EC 0006F54C 3C 60 80 3E */ lis r3, lbl_803DA3CC@ha -/* 800725F0 0006F550 38 03 A3 CC */ addi r0, r3, lbl_803DA3CC@l -/* 800725F4 0006F554 90 1E 00 00 */ stw r0, 0(r30) -/* 800725F8 0006F558 48 2F A7 05 */ bl sub_8036ccfc -/* 800725FC 0006F55C 34 1E 01 5C */ addic. r0, r30, 0x15c -/* 80072600 0006F560 41 82 00 58 */ beq lbl_80072658 -/* 80072604 0006F564 80 BE 01 5C */ lwz r5, 0x15c(r30) -/* 80072608 0006F568 38 60 00 00 */ li r3, 0 -/* 8007260C 0006F56C 2C 05 00 00 */ cmpwi r5, 0 -/* 80072610 0006F570 40 81 00 40 */ ble lbl_80072650 -/* 80072614 0006F574 2C 05 00 08 */ cmpwi r5, 8 -/* 80072618 0006F578 38 85 FF F8 */ addi r4, r5, -8 -/* 8007261C 0006F57C 40 81 00 20 */ ble lbl_8007263C -/* 80072620 0006F580 38 04 00 07 */ addi r0, r4, 7 -/* 80072624 0006F584 54 00 E8 FE */ srwi r0, r0, 3 -/* 80072628 0006F588 7C 09 03 A6 */ mtctr r0 -/* 8007262C 0006F58C 2C 04 00 00 */ cmpwi r4, 0 -/* 80072630 0006F590 40 81 00 0C */ ble lbl_8007263C -lbl_80072634: -/* 80072634 0006F594 38 63 00 08 */ addi r3, r3, 8 -/* 80072638 0006F598 42 00 FF FC */ bdnz lbl_80072634 -lbl_8007263C: -/* 8007263C 0006F59C 7C 03 28 50 */ subf r0, r3, r5 -/* 80072640 0006F5A0 7C 09 03 A6 */ mtctr r0 -/* 80072644 0006F5A4 7C 03 28 00 */ cmpw r3, r5 -/* 80072648 0006F5A8 40 80 00 08 */ bge lbl_80072650 -lbl_8007264C: -/* 8007264C 0006F5AC 42 00 00 00 */ bdnz lbl_8007264C -lbl_80072650: -/* 80072650 0006F5B0 38 00 00 00 */ li r0, 0 -/* 80072654 0006F5B4 90 1E 01 5C */ stw r0, 0x15c(r30) -lbl_80072658: -/* 80072658 0006F5B8 34 1E 01 44 */ addic. r0, r30, 0x144 -/* 8007265C 0006F5BC 41 82 00 58 */ beq lbl_800726B4 -/* 80072660 0006F5C0 80 BE 01 44 */ lwz r5, 0x144(r30) -/* 80072664 0006F5C4 38 60 00 00 */ li r3, 0 -/* 80072668 0006F5C8 2C 05 00 00 */ cmpwi r5, 0 -/* 8007266C 0006F5CC 40 81 00 40 */ ble lbl_800726AC -/* 80072670 0006F5D0 2C 05 00 08 */ cmpwi r5, 8 -/* 80072674 0006F5D4 38 85 FF F8 */ addi r4, r5, -8 -/* 80072678 0006F5D8 40 81 00 20 */ ble lbl_80072698 -/* 8007267C 0006F5DC 38 04 00 07 */ addi r0, r4, 7 -/* 80072680 0006F5E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80072684 0006F5E4 7C 09 03 A6 */ mtctr r0 -/* 80072688 0006F5E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8007268C 0006F5EC 40 81 00 0C */ ble lbl_80072698 -lbl_80072690: -/* 80072690 0006F5F0 38 63 00 08 */ addi r3, r3, 8 -/* 80072694 0006F5F4 42 00 FF FC */ bdnz lbl_80072690 -lbl_80072698: -/* 80072698 0006F5F8 7C 03 28 50 */ subf r0, r3, r5 -/* 8007269C 0006F5FC 7C 09 03 A6 */ mtctr r0 -/* 800726A0 0006F600 7C 03 28 00 */ cmpw r3, r5 -/* 800726A4 0006F604 40 80 00 08 */ bge lbl_800726AC -lbl_800726A8: -/* 800726A8 0006F608 42 00 00 00 */ bdnz lbl_800726A8 -lbl_800726AC: -/* 800726AC 0006F60C 38 00 00 00 */ li r0, 0 -/* 800726B0 0006F610 90 1E 01 44 */ stw r0, 0x144(r30) -lbl_800726B4: -/* 800726B4 0006F614 34 1E 00 F0 */ addic. r0, r30, 0xf0 -/* 800726B8 0006F618 41 82 00 58 */ beq lbl_80072710 -/* 800726BC 0006F61C 80 BE 00 F0 */ lwz r5, 0xf0(r30) -/* 800726C0 0006F620 38 60 00 00 */ li r3, 0 -/* 800726C4 0006F624 2C 05 00 00 */ cmpwi r5, 0 -/* 800726C8 0006F628 40 81 00 40 */ ble lbl_80072708 -/* 800726CC 0006F62C 2C 05 00 08 */ cmpwi r5, 8 -/* 800726D0 0006F630 38 85 FF F8 */ addi r4, r5, -8 -/* 800726D4 0006F634 40 81 00 20 */ ble lbl_800726F4 -/* 800726D8 0006F638 38 04 00 07 */ addi r0, r4, 7 -/* 800726DC 0006F63C 54 00 E8 FE */ srwi r0, r0, 3 -/* 800726E0 0006F640 7C 09 03 A6 */ mtctr r0 -/* 800726E4 0006F644 2C 04 00 00 */ cmpwi r4, 0 -/* 800726E8 0006F648 40 81 00 0C */ ble lbl_800726F4 -lbl_800726EC: -/* 800726EC 0006F64C 38 63 00 08 */ addi r3, r3, 8 -/* 800726F0 0006F650 42 00 FF FC */ bdnz lbl_800726EC -lbl_800726F4: -/* 800726F4 0006F654 7C 03 28 50 */ subf r0, r3, r5 -/* 800726F8 0006F658 7C 09 03 A6 */ mtctr r0 -/* 800726FC 0006F65C 7C 03 28 00 */ cmpw r3, r5 -/* 80072700 0006F660 40 80 00 08 */ bge lbl_80072708 -lbl_80072704: -/* 80072704 0006F664 42 00 00 00 */ bdnz lbl_80072704 -lbl_80072708: -/* 80072708 0006F668 38 00 00 00 */ li r0, 0 -/* 8007270C 0006F66C 90 1E 00 F0 */ stw r0, 0xf0(r30) -lbl_80072710: -/* 80072710 0006F670 34 1E 00 D8 */ addic. r0, r30, 0xd8 -/* 80072714 0006F674 41 82 00 58 */ beq lbl_8007276C -/* 80072718 0006F678 80 BE 00 D8 */ lwz r5, 0xd8(r30) -/* 8007271C 0006F67C 38 60 00 00 */ li r3, 0 -/* 80072720 0006F680 2C 05 00 00 */ cmpwi r5, 0 -/* 80072724 0006F684 40 81 00 40 */ ble lbl_80072764 -/* 80072728 0006F688 2C 05 00 08 */ cmpwi r5, 8 -/* 8007272C 0006F68C 38 85 FF F8 */ addi r4, r5, -8 -/* 80072730 0006F690 40 81 00 20 */ ble lbl_80072750 -/* 80072734 0006F694 38 04 00 07 */ addi r0, r4, 7 -/* 80072738 0006F698 54 00 E8 FE */ srwi r0, r0, 3 -/* 8007273C 0006F69C 7C 09 03 A6 */ mtctr r0 -/* 80072740 0006F6A0 2C 04 00 00 */ cmpwi r4, 0 -/* 80072744 0006F6A4 40 81 00 0C */ ble lbl_80072750 -lbl_80072748: -/* 80072748 0006F6A8 38 63 00 08 */ addi r3, r3, 8 -/* 8007274C 0006F6AC 42 00 FF FC */ bdnz lbl_80072748 -lbl_80072750: -/* 80072750 0006F6B0 7C 03 28 50 */ subf r0, r3, r5 -/* 80072754 0006F6B4 7C 09 03 A6 */ mtctr r0 -/* 80072758 0006F6B8 7C 03 28 00 */ cmpw r3, r5 -/* 8007275C 0006F6BC 40 80 00 08 */ bge lbl_80072764 -lbl_80072760: -/* 80072760 0006F6C0 42 00 00 00 */ bdnz lbl_80072760 -lbl_80072764: -/* 80072764 0006F6C4 38 00 00 00 */ li r0, 0 -/* 80072768 0006F6C8 90 1E 00 D8 */ stw r0, 0xd8(r30) -lbl_8007276C: -/* 8007276C 0006F6CC 34 1E 00 C0 */ addic. r0, r30, 0xc0 -/* 80072770 0006F6D0 41 82 00 58 */ beq lbl_800727C8 -/* 80072774 0006F6D4 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 80072778 0006F6D8 38 60 00 00 */ li r3, 0 -/* 8007277C 0006F6DC 2C 05 00 00 */ cmpwi r5, 0 -/* 80072780 0006F6E0 40 81 00 40 */ ble lbl_800727C0 -/* 80072784 0006F6E4 2C 05 00 08 */ cmpwi r5, 8 -/* 80072788 0006F6E8 38 85 FF F8 */ addi r4, r5, -8 -/* 8007278C 0006F6EC 40 81 00 20 */ ble lbl_800727AC -/* 80072790 0006F6F0 38 04 00 07 */ addi r0, r4, 7 -/* 80072794 0006F6F4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80072798 0006F6F8 7C 09 03 A6 */ mtctr r0 -/* 8007279C 0006F6FC 2C 04 00 00 */ cmpwi r4, 0 -/* 800727A0 0006F700 40 81 00 0C */ ble lbl_800727AC -lbl_800727A4: -/* 800727A4 0006F704 38 63 00 08 */ addi r3, r3, 8 -/* 800727A8 0006F708 42 00 FF FC */ bdnz lbl_800727A4 -lbl_800727AC: -/* 800727AC 0006F70C 7C 03 28 50 */ subf r0, r3, r5 -/* 800727B0 0006F710 7C 09 03 A6 */ mtctr r0 -/* 800727B4 0006F714 7C 03 28 00 */ cmpw r3, r5 -/* 800727B8 0006F718 40 80 00 08 */ bge lbl_800727C0 -lbl_800727BC: -/* 800727BC 0006F71C 42 00 00 00 */ bdnz lbl_800727BC -lbl_800727C0: -/* 800727C0 0006F720 38 00 00 00 */ li r0, 0 -/* 800727C4 0006F724 90 1E 00 C0 */ stw r0, 0xc0(r30) -lbl_800727C8: -/* 800727C8 0006F728 34 1E 00 A8 */ addic. r0, r30, 0xa8 -/* 800727CC 0006F72C 41 82 00 58 */ beq lbl_80072824 -/* 800727D0 0006F730 80 BE 00 A8 */ lwz r5, 0xa8(r30) -/* 800727D4 0006F734 38 60 00 00 */ li r3, 0 -/* 800727D8 0006F738 2C 05 00 00 */ cmpwi r5, 0 -/* 800727DC 0006F73C 40 81 00 40 */ ble lbl_8007281C -/* 800727E0 0006F740 2C 05 00 08 */ cmpwi r5, 8 -/* 800727E4 0006F744 38 85 FF F8 */ addi r4, r5, -8 -/* 800727E8 0006F748 40 81 00 20 */ ble lbl_80072808 -/* 800727EC 0006F74C 38 04 00 07 */ addi r0, r4, 7 -/* 800727F0 0006F750 54 00 E8 FE */ srwi r0, r0, 3 -/* 800727F4 0006F754 7C 09 03 A6 */ mtctr r0 -/* 800727F8 0006F758 2C 04 00 00 */ cmpwi r4, 0 -/* 800727FC 0006F75C 40 81 00 0C */ ble lbl_80072808 -lbl_80072800: -/* 80072800 0006F760 38 63 00 08 */ addi r3, r3, 8 -/* 80072804 0006F764 42 00 FF FC */ bdnz lbl_80072800 -lbl_80072808: -/* 80072808 0006F768 7C 03 28 50 */ subf r0, r3, r5 -/* 8007280C 0006F76C 7C 09 03 A6 */ mtctr r0 -/* 80072810 0006F770 7C 03 28 00 */ cmpw r3, r5 -/* 80072814 0006F774 40 80 00 08 */ bge lbl_8007281C -lbl_80072818: -/* 80072818 0006F778 42 00 00 00 */ bdnz lbl_80072818 -lbl_8007281C: -/* 8007281C 0006F77C 38 00 00 00 */ li r0, 0 -/* 80072820 0006F780 90 1E 00 A8 */ stw r0, 0xa8(r30) -lbl_80072824: -/* 80072824 0006F784 7F E0 07 35 */ extsh. r0, r31 -/* 80072828 0006F788 40 81 00 0C */ ble lbl_80072834 -/* 8007282C 0006F78C 7F C3 F3 78 */ mr r3, r30 -/* 80072830 0006F790 48 2A 31 01 */ bl Free__7CMemoryFPCv -lbl_80072834: -/* 80072834 0006F794 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80072838 0006F798 7F C3 F3 78 */ mr r3, r30 -/* 8007283C 0006F79C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80072840 0006F7A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80072844 0006F7A4 7C 08 03 A6 */ mtlr r0 -/* 80072848 0006F7A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007284C 0006F7AC 4E 80 00 20 */ blr - -.global __ct__16CPauseScreenBaseFRC13CStateManagerRC9CGuiFrameRC12CStringTable -__ct__16CPauseScreenBaseFRC13CStateManagerRC9CGuiFrameRC12CStringTable: -/* 80072850 0006F7B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80072854 0006F7B4 7C 08 02 A6 */ mflr r0 -/* 80072858 0006F7B8 3D 00 80 3E */ lis r8, lbl_803DA3CC@ha -/* 8007285C 0006F7BC C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) -/* 80072860 0006F7C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80072864 0006F7C4 39 08 A3 CC */ addi r8, r8, lbl_803DA3CC@l -/* 80072868 0006F7C8 38 00 FF FF */ li r0, -1 -/* 8007286C 0006F7CC 3C E0 80 5A */ lis r7, skZero3f@ha -/* 80072870 0006F7D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80072874 0006F7D4 7C 7F 1B 78 */ mr r31, r3 -/* 80072878 0006F7D8 91 03 00 00 */ stw r8, 0(r3) -/* 8007287C 0006F7DC 39 00 00 00 */ li r8, 0 -/* 80072880 0006F7E0 90 83 00 04 */ stw r4, 4(r3) -/* 80072884 0006F7E4 90 A3 00 08 */ stw r5, 8(r3) -/* 80072888 0006F7E8 90 C3 00 0C */ stw r6, 0xc(r3) -/* 8007288C 0006F7EC 90 03 00 10 */ stw r0, 0x10(r3) -/* 80072890 0006F7F0 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 80072894 0006F7F4 91 03 00 18 */ stw r8, 0x18(r3) -/* 80072898 0006F7F8 91 03 00 1C */ stw r8, 0x1c(r3) -/* 8007289C 0006F7FC C4 07 66 A0 */ lfsu f0, skZero3f@l(r7) -/* 800728A0 0006F800 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 800728A4 0006F804 C0 07 00 04 */ lfs f0, 4(r7) -/* 800728A8 0006F808 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 800728AC 0006F80C C0 07 00 08 */ lfs f0, 8(r7) -/* 800728B0 0006F810 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 800728B4 0006F814 C0 07 00 00 */ lfs f0, 0(r7) -/* 800728B8 0006F818 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 800728BC 0006F81C C0 07 00 04 */ lfs f0, 4(r7) -/* 800728C0 0006F820 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 800728C4 0006F824 C0 07 00 08 */ lfs f0, 8(r7) -/* 800728C8 0006F828 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 800728CC 0006F82C D0 23 00 38 */ stfs f1, 0x38(r3) -/* 800728D0 0006F830 C0 07 00 00 */ lfs f0, 0(r7) -/* 800728D4 0006F834 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 800728D8 0006F838 C0 07 00 04 */ lfs f0, 4(r7) -/* 800728DC 0006F83C D0 03 00 40 */ stfs f0, 0x40(r3) -/* 800728E0 0006F840 C0 07 00 08 */ lfs f0, 8(r7) -/* 800728E4 0006F844 D0 03 00 44 */ stfs f0, 0x44(r3) -/* 800728E8 0006F848 C0 07 00 00 */ lfs f0, 0(r7) -/* 800728EC 0006F84C D0 03 00 48 */ stfs f0, 0x48(r3) -/* 800728F0 0006F850 C0 07 00 04 */ lfs f0, 4(r7) -/* 800728F4 0006F854 D0 03 00 4C */ stfs f0, 0x4c(r3) -/* 800728F8 0006F858 C0 07 00 08 */ lfs f0, 8(r7) -/* 800728FC 0006F85C D0 03 00 50 */ stfs f0, 0x50(r3) -/* 80072900 0006F860 C0 07 00 00 */ lfs f0, 0(r7) -/* 80072904 0006F864 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 80072908 0006F868 C0 07 00 04 */ lfs f0, 4(r7) -/* 8007290C 0006F86C D0 03 00 58 */ stfs f0, 0x58(r3) -/* 80072910 0006F870 C0 07 00 08 */ lfs f0, 8(r7) -/* 80072914 0006F874 D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 80072918 0006F878 91 03 00 68 */ stw r8, 0x68(r3) -/* 8007291C 0006F87C 91 03 00 6C */ stw r8, 0x6c(r3) -/* 80072920 0006F880 91 03 00 70 */ stw r8, 0x70(r3) -/* 80072924 0006F884 91 03 00 74 */ stw r8, 0x74(r3) -/* 80072928 0006F888 91 03 00 78 */ stw r8, 0x78(r3) -/* 8007292C 0006F88C 91 03 00 7C */ stw r8, 0x7c(r3) -/* 80072930 0006F890 91 03 00 80 */ stw r8, 0x80(r3) -/* 80072934 0006F894 91 03 00 84 */ stw r8, 0x84(r3) -/* 80072938 0006F898 91 03 00 88 */ stw r8, 0x88(r3) -/* 8007293C 0006F89C 91 03 00 8C */ stw r8, 0x8c(r3) -/* 80072940 0006F8A0 91 03 00 A8 */ stw r8, 0xa8(r3) -/* 80072944 0006F8A4 91 03 00 C0 */ stw r8, 0xc0(r3) -/* 80072948 0006F8A8 91 03 00 D8 */ stw r8, 0xd8(r3) -/* 8007294C 0006F8AC 91 03 00 F0 */ stw r8, 0xf0(r3) -/* 80072950 0006F8B0 91 03 01 44 */ stw r8, 0x144(r3) -/* 80072954 0006F8B4 91 03 01 5C */ stw r8, 0x15c(r3) -/* 80072958 0006F8B8 91 03 01 74 */ stw r8, 0x174(r3) -/* 8007295C 0006F8BC 91 03 01 78 */ stw r8, 0x178(r3) -/* 80072960 0006F8C0 91 03 01 80 */ stw r8, 0x180(r3) -/* 80072964 0006F8C4 91 03 01 84 */ stw r8, 0x184(r3) -/* 80072968 0006F8C8 91 03 01 88 */ stw r8, 0x188(r3) -/* 8007296C 0006F8CC 91 03 01 8C */ stw r8, 0x18c(r3) -/* 80072970 0006F8D0 91 03 01 90 */ stw r8, 0x190(r3) -/* 80072974 0006F8D4 91 03 01 94 */ stw r8, 0x194(r3) -/* 80072978 0006F8D8 88 03 01 98 */ lbz r0, 0x198(r3) -/* 8007297C 0006F8DC 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 -/* 80072980 0006F8E0 98 03 01 98 */ stb r0, 0x198(r3) -/* 80072984 0006F8E4 88 03 01 98 */ lbz r0, 0x198(r3) -/* 80072988 0006F8E8 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 -/* 8007298C 0006F8EC 98 03 01 98 */ stb r0, 0x198(r3) -/* 80072990 0006F8F0 88 03 01 98 */ lbz r0, 0x198(r3) -/* 80072994 0006F8F4 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a -/* 80072998 0006F8F8 98 03 01 98 */ stb r0, 0x198(r3) -/* 8007299C 0006F8FC 88 03 01 98 */ lbz r0, 0x198(r3) -/* 800729A0 0006F900 51 00 26 F6 */ rlwimi r0, r8, 4, 0x1b, 0x1b -/* 800729A4 0006F904 98 03 01 98 */ stb r0, 0x198(r3) -/* 800729A8 0006F908 88 03 01 98 */ lbz r0, 0x198(r3) -/* 800729AC 0006F90C 51 00 1F 38 */ rlwimi r0, r8, 3, 0x1c, 0x1c -/* 800729B0 0006F910 98 03 01 98 */ stb r0, 0x198(r3) -/* 800729B4 0006F914 88 03 01 98 */ lbz r0, 0x198(r3) -/* 800729B8 0006F918 51 00 17 7A */ rlwimi r0, r8, 2, 0x1d, 0x1d -/* 800729BC 0006F91C 98 03 01 98 */ stb r0, 0x198(r3) -/* 800729C0 0006F920 4B FF EE A9 */ bl InitializeFrameGlue__16CPauseScreenBaseFv -/* 800729C4 0006F924 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800729C8 0006F928 7F E3 FB 78 */ mr r3, r31 -/* 800729CC 0006F92C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800729D0 0006F930 7C 08 03 A6 */ mtlr r0 -/* 800729D4 0006F934 38 21 00 10 */ addi r1, r1, 0x10 -/* 800729D8 0006F938 4E 80 00 20 */ blr - -.global GetHelmetCamYOff__12CPauseScreenCFv -GetHelmetCamYOff__12CPauseScreenCFv: -/* 800729DC 0006F93C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800729E0 0006F940 7C 08 02 A6 */ mflr r0 -/* 800729E4 0006F944 90 01 00 14 */ stw r0, 0x14(r1) -/* 800729E8 0006F948 80 03 00 78 */ lwz r0, 0x78(r3) -/* 800729EC 0006F94C 54 00 18 38 */ slwi r0, r0, 3 -/* 800729F0 0006F950 7C 63 02 14 */ add r3, r3, r0 -/* 800729F4 0006F954 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800729F8 0006F958 28 03 00 00 */ cmplwi r3, 0 -/* 800729FC 0006F95C 40 82 00 0C */ bne lbl_80072A08 -/* 80072A00 0006F960 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) -/* 80072A04 0006F964 48 00 00 14 */ b lbl_80072A18 -lbl_80072A08: -/* 80072A08 0006F968 81 83 00 00 */ lwz r12, 0(r3) -/* 80072A0C 0006F96C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80072A10 0006F970 7D 89 03 A6 */ mtctr r12 -/* 80072A14 0006F974 4E 80 04 21 */ bctrl -lbl_80072A18: -/* 80072A18 0006F978 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80072A1C 0006F97C 7C 08 03 A6 */ mtlr r0 -/* 80072A20 0006F980 38 21 00 10 */ addi r1, r1, 0x10 -/* 80072A24 0006F984 4E 80 00 20 */ blr - -.global ShouldSwitchToInGame__12CPauseScreenCFv -ShouldSwitchToInGame__12CPauseScreenCFv: -/* 80072A28 0006F988 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80072A2C 0006F98C 7C 08 02 A6 */ mflr r0 -/* 80072A30 0006F990 90 01 00 14 */ stw r0, 0x14(r1) -/* 80072A34 0006F994 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80072A38 0006F998 3B E0 00 00 */ li r31, 0 -/* 80072A3C 0006F99C 93 C1 00 08 */ stw r30, 8(r1) -/* 80072A40 0006F9A0 7C 7E 1B 78 */ mr r30, r3 -/* 80072A44 0006F9A4 48 00 00 A5 */ bl IsLoaded__12CPauseScreenCFv -/* 80072A48 0006F9A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80072A4C 0006F9AC 41 82 00 20 */ beq lbl_80072A6C -/* 80072A50 0006F9B0 80 1E 00 08 */ lwz r0, 8(r30) -/* 80072A54 0006F9B4 2C 00 00 03 */ cmpwi r0, 3 -/* 80072A58 0006F9B8 40 82 00 14 */ bne lbl_80072A6C -/* 80072A5C 0006F9BC 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80072A60 0006F9C0 2C 00 00 03 */ cmpwi r0, 3 -/* 80072A64 0006F9C4 40 82 00 08 */ bne lbl_80072A6C -/* 80072A68 0006F9C8 3B E0 00 01 */ li r31, 1 -lbl_80072A6C: -/* 80072A6C 0006F9CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80072A70 0006F9D0 7F E3 FB 78 */ mr r3, r31 -/* 80072A74 0006F9D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80072A78 0006F9D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80072A7C 0006F9DC 7C 08 03 A6 */ mtlr r0 -/* 80072A80 0006F9E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80072A84 0006F9E4 4E 80 00 20 */ blr - -.global ShouldSwitchToMapScreen__12CPauseScreenCFv -ShouldSwitchToMapScreen__12CPauseScreenCFv: -/* 80072A88 0006F9E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80072A8C 0006F9EC 7C 08 02 A6 */ mflr r0 -/* 80072A90 0006F9F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80072A94 0006F9F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80072A98 0006F9F8 3B E0 00 00 */ li r31, 0 -/* 80072A9C 0006F9FC 93 C1 00 08 */ stw r30, 8(r1) -/* 80072AA0 0006FA00 7C 7E 1B 78 */ mr r30, r3 -/* 80072AA4 0006FA04 48 00 00 45 */ bl IsLoaded__12CPauseScreenCFv -/* 80072AA8 0006FA08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80072AAC 0006FA0C 41 82 00 20 */ beq lbl_80072ACC -/* 80072AB0 0006FA10 80 1E 00 08 */ lwz r0, 8(r30) -/* 80072AB4 0006FA14 2C 00 00 04 */ cmpwi r0, 4 -/* 80072AB8 0006FA18 40 82 00 14 */ bne lbl_80072ACC -/* 80072ABC 0006FA1C 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80072AC0 0006FA20 2C 00 00 04 */ cmpwi r0, 4 -/* 80072AC4 0006FA24 40 82 00 08 */ bne lbl_80072ACC -/* 80072AC8 0006FA28 3B E0 00 01 */ li r31, 1 -lbl_80072ACC: -/* 80072ACC 0006FA2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80072AD0 0006FA30 7F E3 FB 78 */ mr r3, r31 -/* 80072AD4 0006FA34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80072AD8 0006FA38 83 C1 00 08 */ lwz r30, 8(r1) -/* 80072ADC 0006FA3C 7C 08 03 A6 */ mtlr r0 -/* 80072AE0 0006FA40 38 21 00 10 */ addi r1, r1, 0x10 -/* 80072AE4 0006FA44 4E 80 00 20 */ blr - -.global IsLoaded__12CPauseScreenCFv -IsLoaded__12CPauseScreenCFv: -/* 80072AE8 0006FA48 88 63 00 90 */ lbz r3, 0x90(r3) -/* 80072AEC 0006FA4C 4E 80 00 20 */ blr - -.global InputEnabled__12CPauseScreenCFv -InputEnabled__12CPauseScreenCFv: -/* 80072AF0 0006FA50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80072AF4 0006FA54 7C 08 02 A6 */ mflr r0 -/* 80072AF8 0006FA58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80072AFC 0006FA5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80072B00 0006FA60 93 C1 00 08 */ stw r30, 8(r1) -/* 80072B04 0006FA64 7C 7E 1B 78 */ mr r30, r3 -/* 80072B08 0006FA68 80 63 00 08 */ lwz r3, 8(r3) -/* 80072B0C 0006FA6C 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80072B10 0006FA70 7C 03 00 00 */ cmpw r3, r0 -/* 80072B14 0006FA74 41 82 00 0C */ beq lbl_80072B20 -/* 80072B18 0006FA78 38 60 00 00 */ li r3, 0 -/* 80072B1C 0006FA7C 48 00 00 80 */ b lbl_80072B9C -lbl_80072B20: -/* 80072B20 0006FA80 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 80072B24 0006FA84 3B FE 00 80 */ addi r31, r30, 0x80 -/* 80072B28 0006FA88 54 00 18 38 */ slwi r0, r0, 3 -/* 80072B2C 0006FA8C 7C 7F 02 14 */ add r3, r31, r0 -/* 80072B30 0006FA90 80 63 00 04 */ lwz r3, 4(r3) -/* 80072B34 0006FA94 28 03 00 00 */ cmplwi r3, 0 -/* 80072B38 0006FA98 41 82 00 24 */ beq lbl_80072B5C -/* 80072B3C 0006FA9C 81 83 00 00 */ lwz r12, 0(r3) -/* 80072B40 0006FAA0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80072B44 0006FAA4 7D 89 03 A6 */ mtctr r12 -/* 80072B48 0006FAA8 4E 80 04 21 */ bctrl -/* 80072B4C 0006FAAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80072B50 0006FAB0 41 82 00 0C */ beq lbl_80072B5C -/* 80072B54 0006FAB4 38 60 00 00 */ li r3, 0 -/* 80072B58 0006FAB8 48 00 00 44 */ b lbl_80072B9C -lbl_80072B5C: -/* 80072B5C 0006FABC 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 80072B60 0006FAC0 20 00 00 01 */ subfic r0, r0, 1 -/* 80072B64 0006FAC4 54 03 18 38 */ slwi r3, r0, 3 -/* 80072B68 0006FAC8 38 03 00 04 */ addi r0, r3, 4 -/* 80072B6C 0006FACC 7C 7F 00 2E */ lwzx r3, r31, r0 -/* 80072B70 0006FAD0 28 03 00 00 */ cmplwi r3, 0 -/* 80072B74 0006FAD4 41 82 00 24 */ beq lbl_80072B98 -/* 80072B78 0006FAD8 81 83 00 00 */ lwz r12, 0(r3) -/* 80072B7C 0006FADC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80072B80 0006FAE0 7D 89 03 A6 */ mtctr r12 -/* 80072B84 0006FAE4 4E 80 04 21 */ bctrl -/* 80072B88 0006FAE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80072B8C 0006FAEC 41 82 00 0C */ beq lbl_80072B98 -/* 80072B90 0006FAF0 38 60 00 00 */ li r3, 0 -/* 80072B94 0006FAF4 48 00 00 08 */ b lbl_80072B9C -lbl_80072B98: -/* 80072B98 0006FAF8 38 60 00 01 */ li r3, 1 -lbl_80072B9C: -/* 80072B9C 0006FAFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80072BA0 0006FB00 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80072BA4 0006FB04 83 C1 00 08 */ lwz r30, 8(r1) -/* 80072BA8 0006FB08 7C 08 03 A6 */ mtlr r0 -/* 80072BAC 0006FB0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80072BB0 0006FB10 4E 80 00 20 */ blr - -.global ProcessControllerInput__12CPauseScreenFRC13CStateManagerRC11CFinalInput -ProcessControllerInput__12CPauseScreenFRC13CStateManagerRC11CFinalInput: -/* 80072BB4 0006FB14 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80072BB8 0006FB18 7C 08 02 A6 */ mflr r0 -/* 80072BBC 0006FB1C 90 01 01 14 */ stw r0, 0x114(r1) -/* 80072BC0 0006FB20 BF 41 00 F8 */ stmw r26, 0xf8(r1) -/* 80072BC4 0006FB24 7C 7F 1B 78 */ mr r31, r3 -/* 80072BC8 0006FB28 7C 9D 23 78 */ mr r29, r4 -/* 80072BCC 0006FB2C 7C BC 2B 78 */ mr r28, r5 -/* 80072BD0 0006FB30 4B FF FF 19 */ bl IsLoaded__12CPauseScreenCFv -/* 80072BD4 0006FB34 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80072BD8 0006FB38 41 82 05 C4 */ beq lbl_8007319C -/* 80072BDC 0006FB3C 80 7F 00 08 */ lwz r3, 8(r31) -/* 80072BE0 0006FB40 38 80 00 01 */ li r4, 1 -/* 80072BE4 0006FB44 38 63 FF FD */ addi r3, r3, -3 -/* 80072BE8 0006FB48 20 03 00 01 */ subfic r0, r3, 1 -/* 80072BEC 0006FB4C 7C 83 1B 38 */ orc r3, r4, r3 -/* 80072BF0 0006FB50 54 00 F8 7E */ srwi r0, r0, 1 -/* 80072BF4 0006FB54 7C 00 18 50 */ subf r0, r0, r3 -/* 80072BF8 0006FB58 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 80072BFC 0006FB5C 40 82 00 08 */ bne lbl_80072C04 -/* 80072C00 0006FB60 38 80 00 00 */ li r4, 0 -lbl_80072C04: -/* 80072C04 0006FB64 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80072C08 0006FB68 40 82 05 94 */ bne lbl_8007319C -/* 80072C0C 0006FB6C 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 80072C10 0006FB70 3B 5F 00 80 */ addi r26, r31, 0x80 -/* 80072C14 0006FB74 3B 60 00 00 */ li r27, 0 -/* 80072C18 0006FB78 54 00 18 38 */ slwi r0, r0, 3 -/* 80072C1C 0006FB7C 7C 7A 02 14 */ add r3, r26, r0 -/* 80072C20 0006FB80 80 63 00 04 */ lwz r3, 4(r3) -/* 80072C24 0006FB84 28 03 00 00 */ cmplwi r3, 0 -/* 80072C28 0006FB88 41 82 00 28 */ beq lbl_80072C50 -/* 80072C2C 0006FB8C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80072C30 0006FB90 2C 00 00 00 */ cmpwi r0, 0 -/* 80072C34 0006FB94 40 82 00 08 */ bne lbl_80072C3C -/* 80072C38 0006FB98 3B 60 00 01 */ li r27, 1 -lbl_80072C3C: -/* 80072C3C 0006FB9C 81 83 00 00 */ lwz r12, 0(r3) -/* 80072C40 0006FBA0 7F 84 E3 78 */ mr r4, r28 -/* 80072C44 0006FBA4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80072C48 0006FBA8 7D 89 03 A6 */ mtctr r12 -/* 80072C4C 0006FBAC 4E 80 04 21 */ bctrl -lbl_80072C50: -/* 80072C50 0006FBB0 7F E3 FB 78 */ mr r3, r31 -/* 80072C54 0006FBB4 4B FF FE 9D */ bl InputEnabled__12CPauseScreenCFv -/* 80072C58 0006FBB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80072C5C 0006FBBC 41 82 01 84 */ beq lbl_80072DE0 -/* 80072C60 0006FBC0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80072C64 0006FBC4 3B C0 00 01 */ li r30, 1 -/* 80072C68 0006FBC8 38 63 FF FD */ addi r3, r3, -3 -/* 80072C6C 0006FBCC 20 03 00 01 */ subfic r0, r3, 1 -/* 80072C70 0006FBD0 7F C3 1B 38 */ orc r3, r30, r3 -/* 80072C74 0006FBD4 54 00 F8 7E */ srwi r0, r0, 1 -/* 80072C78 0006FBD8 7C 00 18 50 */ subf r0, r0, r3 -/* 80072C7C 0006FBDC 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 80072C80 0006FBE0 40 82 00 08 */ bne lbl_80072C88 -/* 80072C84 0006FBE4 3B C0 00 00 */ li r30, 0 -lbl_80072C88: -/* 80072C88 0006FBE8 88 1C 00 2E */ lbz r0, 0x2e(r28) -/* 80072C8C 0006FBEC 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80072C90 0006FBF0 40 82 00 3C */ bne lbl_80072CCC -/* 80072C94 0006FBF4 88 1C 00 2D */ lbz r0, 0x2d(r28) -/* 80072C98 0006FBF8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80072C9C 0006FBFC 41 82 00 0C */ beq lbl_80072CA8 -/* 80072CA0 0006FC00 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80072CA4 0006FC04 40 82 00 28 */ bne lbl_80072CCC -lbl_80072CA8: -/* 80072CA8 0006FC08 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 80072CAC 0006FC0C 54 00 18 38 */ slwi r0, r0, 3 -/* 80072CB0 0006FC10 7C 7A 02 14 */ add r3, r26, r0 -/* 80072CB4 0006FC14 80 63 00 04 */ lwz r3, 4(r3) -/* 80072CB8 0006FC18 28 03 00 00 */ cmplwi r3, 0 -/* 80072CBC 0006FC1C 41 82 00 50 */ beq lbl_80072D0C -/* 80072CC0 0006FC20 4B FF DD F1 */ bl ShouldExitPauseScreen__16CPauseScreenBaseCFv -/* 80072CC4 0006FC24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80072CC8 0006FC28 41 82 00 44 */ beq lbl_80072D0C -lbl_80072CCC: -/* 80072CCC 0006FC2C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80072CD0 0006FC30 38 61 00 24 */ addi r3, r1, 0x24 -/* 80072CD4 0006FC34 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80072CD8 0006FC38 38 80 05 9A */ li r4, 0x59a -/* 80072CDC 0006FC3C 38 A0 00 7F */ li r5, 0x7f -/* 80072CE0 0006FC40 38 C0 00 40 */ li r6, 0x40 -/* 80072CE4 0006FC44 38 E0 00 00 */ li r7, 0 -/* 80072CE8 0006FC48 39 20 00 00 */ li r9, 0 -/* 80072CEC 0006FC4C 48 27 70 89 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80072CF0 0006FC50 C0 22 88 50 */ lfs f1, lbl_805AA570@sda21(r2) -/* 80072CF4 0006FC54 7F E3 FB 78 */ mr r3, r31 -/* 80072CF8 0006FC58 7F A4 EB 78 */ mr r4, r29 -/* 80072CFC 0006FC5C 38 A0 00 03 */ li r5, 3 -/* 80072D00 0006FC60 38 C0 00 02 */ li r6, 2 -/* 80072D04 0006FC64 48 00 09 F9 */ bl StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni -/* 80072D08 0006FC68 48 00 00 D8 */ b lbl_80072DE0 -lbl_80072D0C: -/* 80072D0C 0006FC6C 7F 84 E3 78 */ mr r4, r28 -/* 80072D10 0006FC70 38 60 00 41 */ li r3, 0x41 -/* 80072D14 0006FC74 4B F9 9A BD */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80072D18 0006FC78 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80072D1C 0006FC7C 41 82 00 5C */ beq lbl_80072D78 -/* 80072D20 0006FC80 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80072D24 0006FC84 38 61 00 20 */ addi r3, r1, 0x20 -/* 80072D28 0006FC88 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80072D2C 0006FC8C 38 80 05 99 */ li r4, 0x599 -/* 80072D30 0006FC90 38 A0 00 7F */ li r5, 0x7f -/* 80072D34 0006FC94 38 C0 00 40 */ li r6, 0x40 -/* 80072D38 0006FC98 38 E0 00 00 */ li r7, 0 -/* 80072D3C 0006FC9C 39 20 00 00 */ li r9, 0 -/* 80072D40 0006FCA0 48 27 70 35 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80072D44 0006FCA4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80072D48 0006FCA8 3B 40 00 00 */ li r26, 0 -/* 80072D4C 0006FCAC 41 82 00 08 */ beq lbl_80072D54 -/* 80072D50 0006FCB0 3B 40 00 02 */ li r26, 2 -lbl_80072D54: -/* 80072D54 0006FCB4 80 7F 00 08 */ lwz r3, 8(r31) -/* 80072D58 0006FCB8 48 00 15 85 */ bl GetPreviousSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen -/* 80072D5C 0006FCBC C0 22 88 50 */ lfs f1, lbl_805AA570@sda21(r2) -/* 80072D60 0006FCC0 7C 65 1B 78 */ mr r5, r3 -/* 80072D64 0006FCC4 7F E3 FB 78 */ mr r3, r31 -/* 80072D68 0006FCC8 7F A4 EB 78 */ mr r4, r29 -/* 80072D6C 0006FCCC 7F 46 D3 78 */ mr r6, r26 -/* 80072D70 0006FCD0 48 00 09 8D */ bl StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni -/* 80072D74 0006FCD4 48 00 00 6C */ b lbl_80072DE0 -lbl_80072D78: -/* 80072D78 0006FCD8 7F 84 E3 78 */ mr r4, r28 -/* 80072D7C 0006FCDC 38 60 00 42 */ li r3, 0x42 -/* 80072D80 0006FCE0 4B F9 9A 51 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80072D84 0006FCE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80072D88 0006FCE8 41 82 00 58 */ beq lbl_80072DE0 -/* 80072D8C 0006FCEC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80072D90 0006FCF0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80072D94 0006FCF4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80072D98 0006FCF8 38 80 05 99 */ li r4, 0x599 -/* 80072D9C 0006FCFC 38 A0 00 7F */ li r5, 0x7f -/* 80072DA0 0006FD00 38 C0 00 40 */ li r6, 0x40 -/* 80072DA4 0006FD04 38 E0 00 00 */ li r7, 0 -/* 80072DA8 0006FD08 39 20 00 00 */ li r9, 0 -/* 80072DAC 0006FD0C 48 27 6F C9 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80072DB0 0006FD10 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80072DB4 0006FD14 3B 40 00 01 */ li r26, 1 -/* 80072DB8 0006FD18 41 82 00 08 */ beq lbl_80072DC0 -/* 80072DBC 0006FD1C 3B 40 00 02 */ li r26, 2 -lbl_80072DC0: -/* 80072DC0 0006FD20 80 7F 00 08 */ lwz r3, 8(r31) -/* 80072DC4 0006FD24 48 00 14 E5 */ bl GetNextSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen -/* 80072DC8 0006FD28 C0 22 88 50 */ lfs f1, lbl_805AA570@sda21(r2) -/* 80072DCC 0006FD2C 7C 65 1B 78 */ mr r5, r3 -/* 80072DD0 0006FD30 7F E3 FB 78 */ mr r3, r31 -/* 80072DD4 0006FD34 7F A4 EB 78 */ mr r4, r29 -/* 80072DD8 0006FD38 7F 46 D3 78 */ mr r6, r26 -/* 80072DDC 0006FD3C 48 00 09 21 */ bl StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni -lbl_80072DE0: -/* 80072DE0 0006FD40 C0 22 CC 2C */ lfs f1, lbl_805AE94C@sda21(r2) -/* 80072DE4 0006FD44 C0 1C 00 18 */ lfs f0, 0x18(r28) -/* 80072DE8 0006FD48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80072DEC 0006FD4C 40 80 00 0C */ bge lbl_80072DF8 -/* 80072DF0 0006FD50 38 00 00 01 */ li r0, 1 -/* 80072DF4 0006FD54 48 00 00 08 */ b lbl_80072DFC -lbl_80072DF8: -/* 80072DF8 0006FD58 38 00 00 00 */ li r0, 0 -lbl_80072DFC: -/* 80072DFC 0006FD5C C0 1C 00 1C */ lfs f0, 0x1c(r28) -/* 80072E00 0006FD60 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 80072E04 0006FD64 7C 03 00 D0 */ neg r0, r3 -/* 80072E08 0006FD68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80072E0C 0006FD6C 7C 00 1B 78 */ or r0, r0, r3 -/* 80072E10 0006FD70 54 1E 0F FE */ srwi r30, r0, 0x1f -/* 80072E14 0006FD74 40 80 00 0C */ bge lbl_80072E20 -/* 80072E18 0006FD78 3B A0 00 01 */ li r29, 1 -/* 80072E1C 0006FD7C 48 00 00 08 */ b lbl_80072E24 -lbl_80072E20: -/* 80072E20 0006FD80 3B A0 00 00 */ li r29, 0 -lbl_80072E24: -/* 80072E24 0006FD84 88 1C 00 2C */ lbz r0, 0x2c(r28) -/* 80072E28 0006FD88 3C 60 80 3D */ lis r3, lbl_803CD2B8@ha -/* 80072E2C 0006FD8C 38 A3 D2 B8 */ addi r5, r3, lbl_803CD2B8@l -/* 80072E30 0006FD90 88 7C 00 2D */ lbz r3, 0x2d(r28) -/* 80072E34 0006FD94 54 1A CF FE */ rlwinm r26, r0, 0x19, 0x1f, 0x1f -/* 80072E38 0006FD98 54 0B D7 FE */ rlwinm r11, r0, 0x1a, 0x1f, 0x1f -/* 80072E3C 0006FD9C 38 00 00 00 */ li r0, 0 -/* 80072E40 0006FDA0 54 7C E7 FE */ rlwinm r28, r3, 0x1c, 0x1f, 0x1f -/* 80072E44 0006FDA4 80 85 00 00 */ lwz r4, 0(r5) -/* 80072E48 0006FDA8 7F 7C 00 D0 */ neg r27, r28 -/* 80072E4C 0006FDAC 80 65 00 04 */ lwz r3, 4(r5) -/* 80072E50 0006FDB0 7D 9A 00 D0 */ neg r12, r26 -/* 80072E54 0006FDB4 81 25 00 08 */ lwz r9, 8(r5) -/* 80072E58 0006FDB8 7D 4B 00 D0 */ neg r10, r11 -/* 80072E5C 0006FDBC 81 05 00 0C */ lwz r8, 0xc(r5) -/* 80072E60 0006FDC0 38 CD A9 1A */ addi r6, r13, lbl_805A94DA@sda21 -/* 80072E64 0006FDC4 80 E2 88 28 */ lwz r7, lbl_805AA548@sda21(r2) -/* 80072E68 0006FDC8 7F 7B E3 78 */ or r27, r27, r28 -/* 80072E6C 0006FDCC 7D 8C D3 78 */ or r12, r12, r26 -/* 80072E70 0006FDD0 7D 45 5B 78 */ or r5, r10, r11 -/* 80072E74 0006FDD4 90 81 00 DC */ stw r4, 0xdc(r1) -/* 80072E78 0006FDD8 57 7C 0F FE */ srwi r28, r27, 0x1f -/* 80072E7C 0006FDDC 55 9B 0F FE */ srwi r27, r12, 0x1f -/* 80072E80 0006FDE0 54 BA 0F FE */ srwi r26, r5, 0x1f -/* 80072E84 0006FDE4 90 61 00 E0 */ stw r3, 0xe0(r1) -/* 80072E88 0006FDE8 38 61 00 CC */ addi r3, r1, 0xcc -/* 80072E8C 0006FDEC 38 80 01 00 */ li r4, 0x100 -/* 80072E90 0006FDF0 38 A0 00 01 */ li r5, 1 -/* 80072E94 0006FDF4 91 21 00 E4 */ stw r9, 0xe4(r1) -/* 80072E98 0006FDF8 91 01 00 E8 */ stw r8, 0xe8(r1) -/* 80072E9C 0006FDFC 90 E1 00 28 */ stw r7, 0x28(r1) -/* 80072EA0 0006FE00 90 C1 00 CC */ stw r6, 0xcc(r1) -/* 80072EA4 0006FE04 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 80072EA8 0006FE08 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80072EAC 0006FE0C 48 2C A0 C9 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 80072EB0 0006FE10 38 61 00 CC */ addi r3, r1, 0xcc -/* 80072EB4 0006FE14 38 81 00 DC */ addi r4, r1, 0xdc -/* 80072EB8 0006FE18 38 A0 FF FF */ li r5, -1 -/* 80072EBC 0006FE1C 48 2C A6 29 */ bl sub_8033d4e4 -/* 80072EC0 0006FE20 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80072EC4 0006FE24 57 C0 10 3A */ slwi r0, r30, 2 -/* 80072EC8 0006FE28 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80072ECC 0006FE2C 7C 63 02 14 */ add r3, r3, r0 -/* 80072ED0 0006FE30 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l -/* 80072ED4 0006FE34 80 83 00 74 */ lwz r4, 0x74(r3) -/* 80072ED8 0006FE38 38 65 01 C8 */ addi r3, r5, 0x1c8 -/* 80072EDC 0006FE3C 4C C6 31 82 */ crclr 6 -/* 80072EE0 0006FE40 48 26 32 D1 */ bl Stringize__7CBasicsFPCce -/* 80072EE4 0006FE44 7C 64 1B 78 */ mr r4, r3 -/* 80072EE8 0006FE48 38 61 00 BC */ addi r3, r1, 0xbc -/* 80072EEC 0006FE4C 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80072EF0 0006FE50 38 A0 FF FF */ li r5, -1 -/* 80072EF4 0006FE54 48 2C B2 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80072EF8 0006FE58 38 61 00 AC */ addi r3, r1, 0xac -/* 80072EFC 0006FE5C 38 81 00 BC */ addi r4, r1, 0xbc -/* 80072F00 0006FE60 48 2C B8 21 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80072F04 0006FE64 38 61 00 CC */ addi r3, r1, 0xcc -/* 80072F08 0006FE68 38 81 00 AC */ addi r4, r1, 0xac -/* 80072F0C 0006FE6C 48 2C A7 41 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80072F10 0006FE70 38 61 00 AC */ addi r3, r1, 0xac -/* 80072F14 0006FE74 48 2C A2 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80072F18 0006FE78 38 61 00 BC */ addi r3, r1, 0xbc -/* 80072F1C 0006FE7C 48 2C AB C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80072F20 0006FE80 38 61 00 CC */ addi r3, r1, 0xcc -/* 80072F24 0006FE84 38 81 00 28 */ addi r4, r1, 0x28 -/* 80072F28 0006FE88 38 A0 FF FF */ li r5, -1 -/* 80072F2C 0006FE8C 48 2C A5 B9 */ bl sub_8033d4e4 -/* 80072F30 0006FE90 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80072F34 0006FE94 38 81 00 CC */ addi r4, r1, 0xcc -/* 80072F38 0006FE98 38 A0 00 00 */ li r5, 0 -/* 80072F3C 0006FE9C 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80072F40 0006FEA0 48 25 69 45 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80072F44 0006FEA4 38 61 00 CC */ addi r3, r1, 0xcc -/* 80072F48 0006FEA8 38 81 00 DC */ addi r4, r1, 0xdc -/* 80072F4C 0006FEAC 38 A0 FF FF */ li r5, -1 -/* 80072F50 0006FEB0 48 2C A2 AD */ bl sub_8033d1fc -/* 80072F54 0006FEB4 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80072F58 0006FEB8 57 A0 10 3A */ slwi r0, r29, 2 -/* 80072F5C 0006FEBC 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80072F60 0006FEC0 7C 63 02 14 */ add r3, r3, r0 -/* 80072F64 0006FEC4 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l -/* 80072F68 0006FEC8 80 83 00 80 */ lwz r4, 0x80(r3) -/* 80072F6C 0006FECC 38 65 01 C8 */ addi r3, r5, 0x1c8 -/* 80072F70 0006FED0 4C C6 31 82 */ crclr 6 -/* 80072F74 0006FED4 48 26 32 3D */ bl Stringize__7CBasicsFPCce -/* 80072F78 0006FED8 7C 64 1B 78 */ mr r4, r3 -/* 80072F7C 0006FEDC 38 61 00 9C */ addi r3, r1, 0x9c -/* 80072F80 0006FEE0 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80072F84 0006FEE4 38 A0 FF FF */ li r5, -1 -/* 80072F88 0006FEE8 48 2C B2 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80072F8C 0006FEEC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80072F90 0006FEF0 38 81 00 9C */ addi r4, r1, 0x9c -/* 80072F94 0006FEF4 48 2C B7 8D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80072F98 0006FEF8 38 61 00 CC */ addi r3, r1, 0xcc -/* 80072F9C 0006FEFC 38 81 00 8C */ addi r4, r1, 0x8c -/* 80072FA0 0006FF00 48 2C A6 AD */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80072FA4 0006FF04 38 61 00 8C */ addi r3, r1, 0x8c -/* 80072FA8 0006FF08 48 2C A1 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80072FAC 0006FF0C 38 61 00 9C */ addi r3, r1, 0x9c -/* 80072FB0 0006FF10 48 2C AB 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80072FB4 0006FF14 38 61 00 CC */ addi r3, r1, 0xcc -/* 80072FB8 0006FF18 38 81 00 28 */ addi r4, r1, 0x28 -/* 80072FBC 0006FF1C 38 A0 FF FF */ li r5, -1 -/* 80072FC0 0006FF20 48 2C A5 25 */ bl sub_8033d4e4 -/* 80072FC4 0006FF24 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80072FC8 0006FF28 38 81 00 CC */ addi r4, r1, 0xcc -/* 80072FCC 0006FF2C 38 A0 00 00 */ li r5, 0 -/* 80072FD0 0006FF30 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80072FD4 0006FF34 48 25 68 B1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80072FD8 0006FF38 38 61 00 CC */ addi r3, r1, 0xcc -/* 80072FDC 0006FF3C 38 81 00 DC */ addi r4, r1, 0xdc -/* 80072FE0 0006FF40 38 A0 FF FF */ li r5, -1 -/* 80072FE4 0006FF44 48 2C A2 19 */ bl sub_8033d1fc -/* 80072FE8 0006FF48 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80072FEC 0006FF4C 57 80 10 3A */ slwi r0, r28, 2 -/* 80072FF0 0006FF50 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80072FF4 0006FF54 7C 63 02 14 */ add r3, r3, r0 -/* 80072FF8 0006FF58 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l -/* 80072FFC 0006FF5C 80 83 00 8C */ lwz r4, 0x8c(r3) -/* 80073000 0006FF60 38 65 01 C8 */ addi r3, r5, 0x1c8 -/* 80073004 0006FF64 4C C6 31 82 */ crclr 6 -/* 80073008 0006FF68 48 26 31 A9 */ bl Stringize__7CBasicsFPCce -/* 8007300C 0006FF6C 7C 64 1B 78 */ mr r4, r3 -/* 80073010 0006FF70 38 61 00 7C */ addi r3, r1, 0x7c -/* 80073014 0006FF74 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80073018 0006FF78 38 A0 FF FF */ li r5, -1 -/* 8007301C 0006FF7C 48 2C B1 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80073020 0006FF80 38 61 00 6C */ addi r3, r1, 0x6c -/* 80073024 0006FF84 38 81 00 7C */ addi r4, r1, 0x7c -/* 80073028 0006FF88 48 2C B6 F9 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8007302C 0006FF8C 38 61 00 CC */ addi r3, r1, 0xcc -/* 80073030 0006FF90 38 81 00 6C */ addi r4, r1, 0x6c -/* 80073034 0006FF94 48 2C A6 19 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80073038 0006FF98 38 61 00 6C */ addi r3, r1, 0x6c -/* 8007303C 0006FF9C 48 2C A0 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80073040 0006FFA0 38 61 00 7C */ addi r3, r1, 0x7c -/* 80073044 0006FFA4 48 2C AA 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80073048 0006FFA8 38 61 00 CC */ addi r3, r1, 0xcc -/* 8007304C 0006FFAC 38 81 00 28 */ addi r4, r1, 0x28 -/* 80073050 0006FFB0 38 A0 FF FF */ li r5, -1 -/* 80073054 0006FFB4 48 2C A4 91 */ bl sub_8033d4e4 -/* 80073058 0006FFB8 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 8007305C 0006FFBC 38 81 00 CC */ addi r4, r1, 0xcc -/* 80073060 0006FFC0 38 A0 00 00 */ li r5, 0 -/* 80073064 0006FFC4 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80073068 0006FFC8 48 25 68 1D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8007306C 0006FFCC 38 61 00 CC */ addi r3, r1, 0xcc -/* 80073070 0006FFD0 38 81 00 DC */ addi r4, r1, 0xdc -/* 80073074 0006FFD4 38 A0 FF FF */ li r5, -1 -/* 80073078 0006FFD8 48 2C A1 85 */ bl sub_8033d1fc -/* 8007307C 0006FFDC 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80073080 0006FFE0 57 60 10 3A */ slwi r0, r27, 2 -/* 80073084 0006FFE4 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80073088 0006FFE8 7C 63 02 14 */ add r3, r3, r0 -/* 8007308C 0006FFEC 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l -/* 80073090 0006FFF0 80 83 00 98 */ lwz r4, 0x98(r3) -/* 80073094 0006FFF4 38 65 01 C8 */ addi r3, r5, 0x1c8 -/* 80073098 0006FFF8 4C C6 31 82 */ crclr 6 -/* 8007309C 0006FFFC 48 26 31 15 */ bl Stringize__7CBasicsFPCce -/* 800730A0 00070000 7C 64 1B 78 */ mr r4, r3 -/* 800730A4 00070004 38 61 00 5C */ addi r3, r1, 0x5c -/* 800730A8 00070008 38 C1 00 0C */ addi r6, r1, 0xc -/* 800730AC 0007000C 38 A0 FF FF */ li r5, -1 -/* 800730B0 00070010 48 2C B0 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 800730B4 00070014 38 61 00 4C */ addi r3, r1, 0x4c -/* 800730B8 00070018 38 81 00 5C */ addi r4, r1, 0x5c -/* 800730BC 0007001C 48 2C B6 65 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800730C0 00070020 38 61 00 CC */ addi r3, r1, 0xcc -/* 800730C4 00070024 38 81 00 4C */ addi r4, r1, 0x4c -/* 800730C8 00070028 48 2C A5 85 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800730CC 0007002C 38 61 00 4C */ addi r3, r1, 0x4c -/* 800730D0 00070030 48 2C A0 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800730D4 00070034 38 61 00 5C */ addi r3, r1, 0x5c -/* 800730D8 00070038 48 2C AA 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800730DC 0007003C 38 61 00 CC */ addi r3, r1, 0xcc -/* 800730E0 00070040 38 81 00 28 */ addi r4, r1, 0x28 -/* 800730E4 00070044 38 A0 FF FF */ li r5, -1 -/* 800730E8 00070048 48 2C A3 FD */ bl sub_8033d4e4 -/* 800730EC 0007004C 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 800730F0 00070050 38 81 00 CC */ addi r4, r1, 0xcc -/* 800730F4 00070054 38 A0 00 00 */ li r5, 0 -/* 800730F8 00070058 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 800730FC 0007005C 48 25 67 89 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80073100 00070060 38 61 00 CC */ addi r3, r1, 0xcc -/* 80073104 00070064 38 81 00 DC */ addi r4, r1, 0xdc -/* 80073108 00070068 38 A0 FF FF */ li r5, -1 -/* 8007310C 0007006C 48 2C A0 F1 */ bl sub_8033d1fc -/* 80073110 00070070 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80073114 00070074 57 40 10 3A */ slwi r0, r26, 2 -/* 80073118 00070078 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 8007311C 0007007C 7C 63 02 14 */ add r3, r3, r0 -/* 80073120 00070080 38 A4 D2 D8 */ addi r5, r4, lbl_803CD2D8@l -/* 80073124 00070084 80 83 00 A4 */ lwz r4, 0xa4(r3) -/* 80073128 00070088 38 65 01 C8 */ addi r3, r5, 0x1c8 -/* 8007312C 0007008C 4C C6 31 82 */ crclr 6 -/* 80073130 00070090 48 26 30 81 */ bl Stringize__7CBasicsFPCce -/* 80073134 00070094 7C 64 1B 78 */ mr r4, r3 -/* 80073138 00070098 38 61 00 3C */ addi r3, r1, 0x3c -/* 8007313C 0007009C 38 C1 00 08 */ addi r6, r1, 8 -/* 80073140 000700A0 38 A0 FF FF */ li r5, -1 -/* 80073144 000700A4 48 2C B0 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80073148 000700A8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8007314C 000700AC 38 81 00 3C */ addi r4, r1, 0x3c -/* 80073150 000700B0 48 2C B5 D1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80073154 000700B4 38 61 00 CC */ addi r3, r1, 0xcc -/* 80073158 000700B8 38 81 00 2C */ addi r4, r1, 0x2c -/* 8007315C 000700BC 48 2C A4 F1 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80073160 000700C0 38 61 00 2C */ addi r3, r1, 0x2c -/* 80073164 000700C4 48 2C 9F D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80073168 000700C8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8007316C 000700CC 48 2C A9 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80073170 000700D0 38 61 00 CC */ addi r3, r1, 0xcc -/* 80073174 000700D4 38 81 00 28 */ addi r4, r1, 0x28 -/* 80073178 000700D8 38 A0 FF FF */ li r5, -1 -/* 8007317C 000700DC 48 2C A3 69 */ bl sub_8033d4e4 -/* 80073180 000700E0 80 7F 00 4C */ lwz r3, 0x4c(r31) -/* 80073184 000700E4 38 81 00 CC */ addi r4, r1, 0xcc -/* 80073188 000700E8 38 A0 00 00 */ li r5, 0 -/* 8007318C 000700EC 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80073190 000700F0 48 25 66 F5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80073194 000700F4 38 61 00 CC */ addi r3, r1, 0xcc -/* 80073198 000700F8 48 2C 9F 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8007319C: -/* 8007319C 000700FC BB 41 00 F8 */ lmw r26, 0xf8(r1) -/* 800731A0 00070100 80 01 01 14 */ lwz r0, 0x114(r1) -/* 800731A4 00070104 7C 08 03 A6 */ mtlr r0 -/* 800731A8 00070108 38 21 01 10 */ addi r1, r1, 0x110 -/* 800731AC 0007010C 4E 80 00 20 */ blr - -.global Draw__12CPauseScreenFv -Draw__12CPauseScreenFv: -/* 800731B0 00070110 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800731B4 00070114 7C 08 02 A6 */ mflr r0 -/* 800731B8 00070118 90 01 00 44 */ stw r0, 0x44(r1) -/* 800731BC 0007011C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 800731C0 00070120 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 800731C4 00070124 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800731C8 00070128 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800731CC 0007012C 7C 7F 1B 78 */ mr r31, r3 -/* 800731D0 00070130 4B FF F9 19 */ bl IsLoaded__12CPauseScreenCFv -/* 800731D4 00070134 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800731D8 00070138 41 82 01 38 */ beq lbl_80073310 -/* 800731DC 0007013C C0 02 88 30 */ lfs f0, lbl_805AA550@sda21(r2) -/* 800731E0 00070140 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 800731E4 00070144 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800731E8 00070148 40 82 00 0C */ bne lbl_800731F4 -/* 800731EC 0007014C C0 22 88 44 */ lfs f1, lbl_805AA564@sda21(r2) -/* 800731F0 00070150 48 00 00 0C */ b lbl_800731FC -lbl_800731F4: -/* 800731F4 00070154 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) -/* 800731F8 00070158 EC 21 00 24 */ fdivs f1, f1, f0 -lbl_800731FC: -/* 800731FC 0007015C 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 80073200 00070160 C0 42 88 30 */ lfs f2, lbl_805AA550@sda21(r2) -/* 80073204 00070164 54 00 18 38 */ slwi r0, r0, 3 -/* 80073208 00070168 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8007320C 0007016C 7F DF 02 14 */ add r30, r31, r0 -/* 80073210 00070170 FF E0 10 90 */ fmr f31, f2 -/* 80073214 00070174 80 7E 00 84 */ lwz r3, 0x84(r30) -/* 80073218 00070178 28 03 00 00 */ cmplwi r3, 0 -/* 8007321C 0007017C 41 82 00 CC */ beq lbl_800732E8 -/* 80073220 00070180 88 03 01 98 */ lbz r0, 0x198(r3) -/* 80073224 00070184 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80073228 00070188 41 82 00 C0 */ beq lbl_800732E8 -/* 8007322C 0007018C C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80073230 00070190 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80073234 00070194 D0 01 00 08 */ stfs f0, 8(r1) -/* 80073238 00070198 40 80 00 0C */ bge lbl_80073244 -/* 8007323C 0007019C 38 81 00 0C */ addi r4, r1, 0xc -/* 80073240 000701A0 48 00 00 08 */ b lbl_80073248 -lbl_80073244: -/* 80073244 000701A4 38 81 00 08 */ addi r4, r1, 8 -lbl_80073248: -/* 80073248 000701A8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8007324C 000701AC 38 A0 00 01 */ li r5, 1 -/* 80073250 000701B0 C0 04 00 00 */ lfs f0, 0(r4) -/* 80073254 000701B4 38 63 FF FD */ addi r3, r3, -3 -/* 80073258 000701B8 20 03 00 01 */ subfic r0, r3, 1 -/* 8007325C 000701BC 7C A3 1B 38 */ orc r3, r5, r3 -/* 80073260 000701C0 54 00 F8 7E */ srwi r0, r0, 1 -/* 80073264 000701C4 7C 00 18 50 */ subf r0, r0, r3 -/* 80073268 000701C8 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 8007326C 000701CC 40 82 00 08 */ bne lbl_80073274 -/* 80073270 000701D0 38 A0 00 00 */ li r5, 0 -lbl_80073274: -/* 80073274 000701D4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80073278 000701D8 41 82 00 0C */ beq lbl_80073284 -/* 8007327C 000701DC FC 40 08 90 */ fmr f2, f1 -/* 80073280 000701E0 48 00 00 1C */ b lbl_8007329C -lbl_80073284: -/* 80073284 000701E4 88 1F 00 91 */ lbz r0, 0x91(r31) -/* 80073288 000701E8 28 00 00 00 */ cmplwi r0, 0 -/* 8007328C 000701EC 41 82 00 0C */ beq lbl_80073298 -/* 80073290 000701F0 FC 40 00 90 */ fmr f2, f0 -/* 80073294 000701F4 48 00 00 08 */ b lbl_8007329C -lbl_80073298: -/* 80073298 000701F8 C0 42 88 44 */ lfs f2, lbl_805AA564@sda21(r2) -lbl_8007329C: -/* 8007329C 000701FC 80 9F 00 08 */ lwz r4, 8(r31) -/* 800732A0 00070200 FF E0 10 90 */ fmr f31, f2 -/* 800732A4 00070204 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 800732A8 00070208 80 7E 00 84 */ lwz r3, 0x84(r30) -/* 800732AC 0007020C 7C 04 00 00 */ cmpw r4, r0 -/* 800732B0 00070210 41 82 00 08 */ beq lbl_800732B8 -/* 800732B4 00070214 48 00 00 08 */ b lbl_800732BC -lbl_800732B8: -/* 800732B8 00070218 C0 22 88 44 */ lfs f1, lbl_805AA564@sda21(r2) -lbl_800732BC: -/* 800732BC 0007021C 81 83 00 00 */ lwz r12, 0(r3) -/* 800732C0 00070220 C0 62 88 30 */ lfs f3, lbl_805AA550@sda21(r2) -/* 800732C4 00070224 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800732C8 00070228 7D 89 03 A6 */ mtctr r12 -/* 800732CC 0007022C 4E 80 04 21 */ bctrl -/* 800732D0 00070230 80 7E 00 84 */ lwz r3, 0x84(r30) -/* 800732D4 00070234 81 83 00 00 */ lwz r12, 0(r3) -/* 800732D8 00070238 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800732DC 0007023C 7D 89 03 A6 */ mtctr r12 -/* 800732E0 00070240 4E 80 04 21 */ bctrl -/* 800732E4 00070244 FC 40 08 90 */ fmr f2, f1 -lbl_800732E8: -/* 800732E8 00070248 C0 02 88 48 */ lfs f0, lbl_805AA568@sda21(r2) -/* 800732EC 0007024C 38 81 00 10 */ addi r4, r1, 0x10 -/* 800732F0 00070250 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) -/* 800732F4 00070254 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 800732F8 00070258 D3 E1 00 10 */ stfs f31, 0x10(r1) -/* 800732FC 0007025C 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80073300 00070260 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80073304 00070264 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80073308 00070268 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8007330C 0007026C 48 24 F4 29 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -lbl_80073310: -/* 80073310 00070270 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80073314 00070274 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80073318 00070278 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8007331C 0007027C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80073320 00070280 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80073324 00070284 7C 08 03 A6 */ mtlr r0 -/* 80073328 00070288 38 21 00 40 */ addi r1, r1, 0x40 -/* 8007332C 0007028C 4E 80 00 20 */ blr - -.global TransitionComplete__12CPauseScreenFv -TransitionComplete__12CPauseScreenFv: -/* 80073330 00070290 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80073334 00070294 7C 08 02 A6 */ mflr r0 -/* 80073338 00070298 38 80 00 00 */ li r4, 0 -/* 8007333C 0007029C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80073340 000702A0 38 01 00 10 */ addi r0, r1, 0x10 -/* 80073344 000702A4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80073348 000702A8 7C 7F 1B 78 */ mr r31, r3 -/* 8007334C 000702AC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80073350 000702B0 98 81 00 10 */ stb r4, 0x10(r1) -/* 80073354 000702B4 90 81 00 14 */ stw r4, 0x14(r1) -/* 80073358 000702B8 80 63 00 78 */ lwz r3, 0x78(r3) -/* 8007335C 000702BC 54 63 18 38 */ slwi r3, r3, 3 -/* 80073360 000702C0 7F DF 1A 14 */ add r30, r31, r3 -/* 80073364 000702C4 3B DE 00 80 */ addi r30, r30, 0x80 -/* 80073368 000702C8 7C 00 F0 40 */ cmplw r0, r30 -/* 8007336C 000702CC 41 82 00 48 */ beq lbl_800733B4 -/* 80073370 000702D0 88 1E 00 00 */ lbz r0, 0(r30) -/* 80073374 000702D4 28 00 00 00 */ cmplwi r0, 0 -/* 80073378 000702D8 41 82 00 24 */ beq lbl_8007339C -/* 8007337C 000702DC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80073380 000702E0 28 03 00 00 */ cmplwi r3, 0 -/* 80073384 000702E4 41 82 00 18 */ beq lbl_8007339C -/* 80073388 000702E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8007338C 000702EC 38 80 00 01 */ li r4, 1 -/* 80073390 000702F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80073394 000702F4 7D 89 03 A6 */ mtctr r12 -/* 80073398 000702F8 4E 80 04 21 */ bctrl -lbl_8007339C: -/* 8007339C 000702FC 88 61 00 10 */ lbz r3, 0x10(r1) -/* 800733A0 00070300 38 00 00 00 */ li r0, 0 -/* 800733A4 00070304 98 7E 00 00 */ stb r3, 0(r30) -/* 800733A8 00070308 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800733AC 0007030C 90 7E 00 04 */ stw r3, 4(r30) -/* 800733B0 00070310 98 01 00 10 */ stb r0, 0x10(r1) -lbl_800733B4: -/* 800733B4 00070314 88 01 00 10 */ lbz r0, 0x10(r1) -/* 800733B8 00070318 28 00 00 00 */ cmplwi r0, 0 -/* 800733BC 0007031C 41 82 00 24 */ beq lbl_800733E0 -/* 800733C0 00070320 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800733C4 00070324 28 03 00 00 */ cmplwi r3, 0 -/* 800733C8 00070328 41 82 00 18 */ beq lbl_800733E0 -/* 800733CC 0007032C 81 83 00 00 */ lwz r12, 0(r3) -/* 800733D0 00070330 38 80 00 01 */ li r4, 1 -/* 800733D4 00070334 81 8C 00 08 */ lwz r12, 8(r12) -/* 800733D8 00070338 7D 89 03 A6 */ mtctr r12 -/* 800733DC 0007033C 4E 80 04 21 */ bctrl -lbl_800733E0: -/* 800733E0 00070340 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 800733E4 00070344 20 00 00 01 */ subfic r0, r0, 1 -/* 800733E8 00070348 90 1F 00 78 */ stw r0, 0x78(r31) -/* 800733EC 0007034C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 800733F0 00070350 90 1F 00 08 */ stw r0, 8(r31) -/* 800733F4 00070354 83 DF 00 1C */ lwz r30, 0x1c(r31) -/* 800733F8 00070358 80 7F 00 08 */ lwz r3, 8(r31) -/* 800733FC 0007035C 48 00 0E E1 */ bl GetPreviousSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen -/* 80073400 00070360 7C 64 1B 78 */ mr r4, r3 -/* 80073404 00070364 7F C3 F3 78 */ mr r3, r30 -/* 80073408 00070368 38 84 00 06 */ addi r4, r4, 6 -/* 8007340C 0007036C 48 2E 32 F1 */ bl GetString__12CStringTableCFi -/* 80073410 00070370 7C 64 1B 78 */ mr r4, r3 -/* 80073414 00070374 38 61 00 28 */ addi r3, r1, 0x28 -/* 80073418 00070378 38 C1 00 0C */ addi r6, r1, 0xc -/* 8007341C 0007037C 38 A0 FF FF */ li r5, -1 -/* 80073420 00070380 48 2C A3 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80073424 00070384 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80073428 00070388 38 81 00 28 */ addi r4, r1, 0x28 -/* 8007342C 0007038C 38 A0 00 00 */ li r5, 0 -/* 80073430 00070390 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80073434 00070394 48 25 64 51 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80073438 00070398 38 61 00 28 */ addi r3, r1, 0x28 -/* 8007343C 0007039C 48 2C 9C F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80073440 000703A0 83 DF 00 1C */ lwz r30, 0x1c(r31) -/* 80073444 000703A4 80 7F 00 08 */ lwz r3, 8(r31) -/* 80073448 000703A8 48 00 0E 61 */ bl GetNextSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen -/* 8007344C 000703AC 7C 64 1B 78 */ mr r4, r3 -/* 80073450 000703B0 7F C3 F3 78 */ mr r3, r30 -/* 80073454 000703B4 38 84 00 06 */ addi r4, r4, 6 -/* 80073458 000703B8 48 2E 32 A5 */ bl GetString__12CStringTableCFi -/* 8007345C 000703BC 7C 64 1B 78 */ mr r4, r3 -/* 80073460 000703C0 38 61 00 18 */ addi r3, r1, 0x18 -/* 80073464 000703C4 38 C1 00 08 */ addi r6, r1, 8 -/* 80073468 000703C8 38 A0 FF FF */ li r5, -1 -/* 8007346C 000703CC 48 2C A3 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80073470 000703D0 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 80073474 000703D4 38 81 00 18 */ addi r4, r1, 0x18 -/* 80073478 000703D8 38 A0 00 00 */ li r5, 0 -/* 8007347C 000703DC 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80073480 000703E0 48 25 64 05 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80073484 000703E4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80073488 000703E8 48 2C 9C AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8007348C 000703EC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80073490 000703F0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80073494 000703F4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80073498 000703F8 7C 08 03 A6 */ mtlr r0 -/* 8007349C 000703FC 38 21 00 40 */ addi r1, r1, 0x40 -/* 800734A0 00070400 4E 80 00 20 */ blr - -.global PreDraw__12CPauseScreenFv -PreDraw__12CPauseScreenFv: -/* 800734A4 00070404 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800734A8 00070408 7C 08 02 A6 */ mflr r0 -/* 800734AC 0007040C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800734B0 00070410 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800734B4 00070414 7C 7F 1B 78 */ mr r31, r3 -/* 800734B8 00070418 4B FF F6 31 */ bl IsLoaded__12CPauseScreenCFv -/* 800734BC 0007041C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800734C0 00070420 41 82 00 38 */ beq lbl_800734F8 -/* 800734C4 00070424 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 800734C8 00070428 54 00 18 38 */ slwi r0, r0, 3 -/* 800734CC 0007042C 7C 7F 02 14 */ add r3, r31, r0 -/* 800734D0 00070430 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800734D4 00070434 28 03 00 00 */ cmplwi r3, 0 -/* 800734D8 00070438 41 82 00 20 */ beq lbl_800734F8 -/* 800734DC 0007043C 88 03 01 98 */ lbz r0, 0x198(r3) -/* 800734E0 00070440 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 800734E4 00070444 41 82 00 14 */ beq lbl_800734F8 -/* 800734E8 00070448 81 83 00 00 */ lwz r12, 0(r3) -/* 800734EC 0007044C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800734F0 00070450 7D 89 03 A6 */ mtctr r12 -/* 800734F4 00070454 4E 80 04 21 */ bctrl -lbl_800734F8: -/* 800734F8 00070458 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800734FC 0007045C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80073500 00070460 7C 08 03 A6 */ mtlr r0 -/* 80073504 00070464 38 21 00 10 */ addi r1, r1, 0x10 -/* 80073508 00070468 4E 80 00 20 */ blr - -.global Update__12CPauseScreenFfRC13CStateManagerR9CRandom16R18CArchitectureQueue -Update__12CPauseScreenFfRC13CStateManagerR9CRandom16R18CArchitectureQueue: -/* 8007350C 0007046C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80073510 00070470 7C 08 02 A6 */ mflr r0 -/* 80073514 00070474 90 01 00 74 */ stw r0, 0x74(r1) -/* 80073518 00070478 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8007351C 0007047C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80073520 00070480 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80073524 00070484 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80073528 00070488 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8007352C 0007048C F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80073530 00070490 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80073534 00070494 FF A0 08 90 */ fmr f29, f1 -/* 80073538 00070498 7C 7C 1B 78 */ mr r28, r3 -/* 8007353C 0007049C 7C BD 2B 78 */ mr r29, r5 -/* 80073540 000704A0 7C DE 33 78 */ mr r30, r6 -/* 80073544 000704A4 48 00 04 19 */ bl CheckLoadComplete__12CPauseScreenFRC13CStateManager -/* 80073548 000704A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007354C 000704AC 41 82 01 84 */ beq lbl_800736D0 -/* 80073550 000704B0 80 BC 00 78 */ lwz r5, 0x78(r28) -/* 80073554 000704B4 3B FC 00 80 */ addi r31, r28, 0x80 -/* 80073558 000704B8 80 7C 00 08 */ lwz r3, 8(r28) -/* 8007355C 000704BC 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 80073560 000704C0 20 85 00 01 */ subfic r4, r5, 1 -/* 80073564 000704C4 54 A5 18 38 */ slwi r5, r5, 3 -/* 80073568 000704C8 54 84 18 38 */ slwi r4, r4, 3 -/* 8007356C 000704CC 7C 03 00 00 */ cmpw r3, r0 -/* 80073570 000704D0 7C 7F 2A 14 */ add r3, r31, r5 -/* 80073574 000704D4 7F 7F 22 14 */ add r27, r31, r4 -/* 80073578 000704D8 41 82 00 84 */ beq lbl_800735FC -/* 8007357C 000704DC C0 3C 00 10 */ lfs f1, 0x10(r28) -/* 80073580 000704E0 C0 0D 83 A0 */ lfs f0, lbl_805A6F60@sda21(r13) -/* 80073584 000704E4 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80073588 000704E8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8007358C 000704EC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80073590 000704F0 40 80 00 0C */ bge lbl_8007359C -/* 80073594 000704F4 38 81 00 1C */ addi r4, r1, 0x1c -/* 80073598 000704F8 48 00 00 08 */ b lbl_800735A0 -lbl_8007359C: -/* 8007359C 000704FC 38 8D 83 A0 */ addi r4, r13, lbl_805A6F60@sda21 -lbl_800735A0: -/* 800735A0 00070500 C0 04 00 00 */ lfs f0, 0(r4) -/* 800735A4 00070504 D0 1C 00 10 */ stfs f0, 0x10(r28) -/* 800735A8 00070508 80 63 00 04 */ lwz r3, 4(r3) -/* 800735AC 0007050C 28 03 00 00 */ cmplwi r3, 0 -/* 800735B0 00070510 41 82 00 1C */ beq lbl_800735CC -/* 800735B4 00070514 81 83 00 00 */ lwz r12, 0(r3) -/* 800735B8 00070518 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800735BC 0007051C 7D 89 03 A6 */ mtctr r12 -/* 800735C0 00070520 4E 80 04 21 */ bctrl -/* 800735C4 00070524 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800735C8 00070528 40 82 00 34 */ bne lbl_800735FC -lbl_800735CC: -/* 800735CC 0007052C 80 7B 00 04 */ lwz r3, 4(r27) -/* 800735D0 00070530 28 03 00 00 */ cmplwi r3, 0 -/* 800735D4 00070534 41 82 00 10 */ beq lbl_800735E4 -/* 800735D8 00070538 4B FF E1 E1 */ bl IsReady__16CPauseScreenBaseFv -/* 800735DC 0007053C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800735E0 00070540 41 82 00 1C */ beq lbl_800735FC -lbl_800735E4: -/* 800735E4 00070544 C0 22 88 30 */ lfs f1, lbl_805AA550@sda21(r2) -/* 800735E8 00070548 C0 1C 00 10 */ lfs f0, 0x10(r28) -/* 800735EC 0007054C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800735F0 00070550 40 82 00 0C */ bne lbl_800735FC -/* 800735F4 00070554 7F 83 E3 78 */ mr r3, r28 -/* 800735F8 00070558 4B FF FD 39 */ bl TransitionComplete__12CPauseScreenFv -lbl_800735FC: -/* 800735FC 0007055C 80 1C 00 78 */ lwz r0, 0x78(r28) -/* 80073600 00070560 54 00 18 38 */ slwi r0, r0, 3 -/* 80073604 00070564 7F 7F 02 14 */ add r27, r31, r0 -/* 80073608 00070568 80 7B 00 04 */ lwz r3, 4(r27) -/* 8007360C 0007056C 28 03 00 00 */ cmplwi r3, 0 -/* 80073610 00070570 41 82 00 C0 */ beq lbl_800736D0 -/* 80073614 00070574 81 83 00 00 */ lwz r12, 0(r3) -/* 80073618 00070578 FC 20 E8 90 */ fmr f1, f29 -/* 8007361C 0007057C 7F A4 EB 78 */ mr r4, r29 -/* 80073620 00070580 7F C5 F3 78 */ mr r5, r30 -/* 80073624 00070584 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80073628 00070588 7D 89 03 A6 */ mtctr r12 -/* 8007362C 0007058C 4E 80 04 21 */ bctrl -/* 80073630 00070590 C0 3C 00 10 */ lfs f1, 0x10(r28) -/* 80073634 00070594 C0 02 88 50 */ lfs f0, lbl_805AA570@sda21(r2) -/* 80073638 00070598 80 7C 00 08 */ lwz r3, 8(r28) -/* 8007363C 0007059C EC 01 00 24 */ fdivs f0, f1, f0 -/* 80073640 000705A0 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 80073644 000705A4 7C 03 00 00 */ cmpw r3, r0 -/* 80073648 000705A8 41 82 00 08 */ beq lbl_80073650 -/* 8007364C 000705AC 48 00 00 08 */ b lbl_80073654 -lbl_80073650: -/* 80073650 000705B0 C0 02 88 44 */ lfs f0, lbl_805AA564@sda21(r2) -lbl_80073654: -/* 80073654 000705B4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80073658 000705B8 80 7B 00 04 */ lwz r3, 4(r27) -/* 8007365C 000705BC C0 23 00 14 */ lfs f1, 0x14(r3) -/* 80073660 000705C0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80073664 000705C4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80073668 000705C8 40 80 00 0C */ bge lbl_80073674 -/* 8007366C 000705CC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80073670 000705D0 48 00 00 08 */ b lbl_80073678 -lbl_80073674: -/* 80073674 000705D4 38 61 00 18 */ addi r3, r1, 0x18 -lbl_80073678: -/* 80073678 000705D8 C3 A3 00 00 */ lfs f29, 0(r3) -/* 8007367C 000705DC 48 2D 69 31 */ bl White__6CColorFv -/* 80073680 000705E0 C0 02 88 40 */ lfs f0, lbl_805AA560@sda21(r2) -/* 80073684 000705E4 EF C0 07 72 */ fmuls f30, f0, f29 -/* 80073688 000705E8 FF E0 F0 90 */ fmr f31, f30 -/* 8007368C 000705EC F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 80073690 000705F0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80073694 000705F4 80 63 00 00 */ lwz r3, 0(r3) -/* 80073698 000705F8 88 01 00 09 */ lbz r0, 9(r1) -/* 8007369C 000705FC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 800736A0 00070600 90 01 00 10 */ stw r0, 0x10(r1) -/* 800736A4 00070604 80 7C 00 40 */ lwz r3, 0x40(r28) -/* 800736A8 00070608 48 25 71 C5 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 800736AC 0007060C 48 2D 69 01 */ bl White__6CColorFv -/* 800736B0 00070610 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 800736B4 00070614 38 81 00 0C */ addi r4, r1, 0xc -/* 800736B8 00070618 80 63 00 00 */ lwz r3, 0(r3) -/* 800736BC 0007061C 88 01 00 08 */ lbz r0, 8(r1) -/* 800736C0 00070620 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 800736C4 00070624 90 01 00 0C */ stw r0, 0xc(r1) -/* 800736C8 00070628 80 7C 00 44 */ lwz r3, 0x44(r28) -/* 800736CC 0007062C 48 25 71 A1 */ bl SetColor__10CGuiWidgetFRC6CColor -lbl_800736D0: -/* 800736D0 00070630 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 800736D4 00070634 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 800736D8 00070638 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 800736DC 0007063C CB C1 00 50 */ lfd f30, 0x50(r1) -/* 800736E0 00070640 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 800736E4 00070644 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 800736E8 00070648 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 800736EC 0007064C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800736F0 00070650 7C 08 03 A6 */ mtlr r0 -/* 800736F4 00070654 38 21 00 70 */ addi r1, r1, 0x70 -/* 800736F8 00070658 4E 80 00 20 */ blr - -.global StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni -StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni: -/* 800736FC 0007065C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80073700 00070660 7C 08 02 A6 */ mflr r0 -/* 80073704 00070664 90 01 00 24 */ stw r0, 0x24(r1) -/* 80073708 00070668 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007370C 0007066C 7C 7F 1B 78 */ mr r31, r3 -/* 80073710 00070670 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80073714 00070674 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80073718 00070678 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8007371C 0007067C 7C 05 00 00 */ cmpw r5, r0 -/* 80073720 00070680 41 82 00 F4 */ beq lbl_80073814 -/* 80073724 00070684 90 BF 00 0C */ stw r5, 0xc(r31) -/* 80073728 00070688 39 1F 00 80 */ addi r8, r31, 0x80 -/* 8007372C 0007068C 7C 85 23 78 */ mr r5, r4 -/* 80073730 00070690 90 DF 00 04 */ stw r6, 4(r31) -/* 80073734 00070694 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 80073738 00070698 80 DF 00 78 */ lwz r6, 0x78(r31) -/* 8007373C 0007069C 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80073740 000706A0 20 06 00 01 */ subfic r0, r6, 1 -/* 80073744 000706A4 54 C7 18 38 */ slwi r7, r6, 3 -/* 80073748 000706A8 54 00 18 38 */ slwi r0, r0, 3 -/* 8007374C 000706AC 7C DF 02 14 */ add r6, r31, r0 -/* 80073750 000706B0 7F C8 3A 14 */ add r30, r8, r7 -/* 80073754 000706B4 80 C6 00 6C */ lwz r6, 0x6c(r6) -/* 80073758 000706B8 7F A8 02 14 */ add r29, r8, r0 -/* 8007375C 000706BC 48 00 00 D5 */ bl BuildPauseSubScreen__12CPauseScreenFQ212CPauseScreen10ESubScreenRC13CStateManagerRC9CGuiFrame -/* 80073760 000706C0 7C 83 00 D0 */ neg r4, r3 -/* 80073764 000706C4 38 01 00 08 */ addi r0, r1, 8 -/* 80073768 000706C8 7C 84 1B 78 */ or r4, r4, r3 -/* 8007376C 000706CC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80073770 000706D0 54 83 0F FE */ srwi r3, r4, 0x1f -/* 80073774 000706D4 7C 00 E8 40 */ cmplw r0, r29 -/* 80073778 000706D8 98 61 00 08 */ stb r3, 8(r1) -/* 8007377C 000706DC 41 82 00 48 */ beq lbl_800737C4 -/* 80073780 000706E0 88 1D 00 00 */ lbz r0, 0(r29) -/* 80073784 000706E4 28 00 00 00 */ cmplwi r0, 0 -/* 80073788 000706E8 41 82 00 24 */ beq lbl_800737AC -/* 8007378C 000706EC 80 7D 00 04 */ lwz r3, 4(r29) -/* 80073790 000706F0 28 03 00 00 */ cmplwi r3, 0 -/* 80073794 000706F4 41 82 00 18 */ beq lbl_800737AC -/* 80073798 000706F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8007379C 000706FC 38 80 00 01 */ li r4, 1 -/* 800737A0 00070700 81 8C 00 08 */ lwz r12, 8(r12) -/* 800737A4 00070704 7D 89 03 A6 */ mtctr r12 -/* 800737A8 00070708 4E 80 04 21 */ bctrl -lbl_800737AC: -/* 800737AC 0007070C 88 61 00 08 */ lbz r3, 8(r1) -/* 800737B0 00070710 38 00 00 00 */ li r0, 0 -/* 800737B4 00070714 98 7D 00 00 */ stb r3, 0(r29) -/* 800737B8 00070718 80 61 00 0C */ lwz r3, 0xc(r1) -/* 800737BC 0007071C 90 7D 00 04 */ stw r3, 4(r29) -/* 800737C0 00070720 98 01 00 08 */ stb r0, 8(r1) -lbl_800737C4: -/* 800737C4 00070724 88 01 00 08 */ lbz r0, 8(r1) -/* 800737C8 00070728 28 00 00 00 */ cmplwi r0, 0 -/* 800737CC 0007072C 41 82 00 24 */ beq lbl_800737F0 -/* 800737D0 00070730 80 61 00 0C */ lwz r3, 0xc(r1) -/* 800737D4 00070734 28 03 00 00 */ cmplwi r3, 0 -/* 800737D8 00070738 41 82 00 18 */ beq lbl_800737F0 -/* 800737DC 0007073C 81 83 00 00 */ lwz r12, 0(r3) -/* 800737E0 00070740 38 80 00 01 */ li r4, 1 -/* 800737E4 00070744 81 8C 00 08 */ lwz r12, 8(r12) -/* 800737E8 00070748 7D 89 03 A6 */ mtctr r12 -/* 800737EC 0007074C 4E 80 04 21 */ bctrl -lbl_800737F0: -/* 800737F0 00070750 80 7E 00 04 */ lwz r3, 4(r30) -/* 800737F4 00070754 28 03 00 00 */ cmplwi r3, 0 -/* 800737F8 00070758 41 82 00 14 */ beq lbl_8007380C -/* 800737FC 0007075C 81 83 00 00 */ lwz r12, 0(r3) -/* 80073800 00070760 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80073804 00070764 7D 89 03 A6 */ mtctr r12 -/* 80073808 00070768 4E 80 04 21 */ bctrl -lbl_8007380C: -/* 8007380C 0007076C 38 00 00 00 */ li r0, 0 -/* 80073810 00070770 98 1F 00 91 */ stb r0, 0x91(r31) -lbl_80073814: -/* 80073814 00070774 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80073818 00070778 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007381C 0007077C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80073820 00070780 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80073824 00070784 7C 08 03 A6 */ mtlr r0 -/* 80073828 00070788 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007382C 0007078C 4E 80 00 20 */ blr - -.global BuildPauseSubScreen__12CPauseScreenFQ212CPauseScreen10ESubScreenRC13CStateManagerRC9CGuiFrame -BuildPauseSubScreen__12CPauseScreenFQ212CPauseScreen10ESubScreenRC13CStateManagerRC9CGuiFrame: -/* 80073830 00070790 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80073834 00070794 7C 08 02 A6 */ mflr r0 -/* 80073838 00070798 2C 04 00 02 */ cmpwi r4, 2 -/* 8007383C 0007079C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80073840 000707A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80073844 000707A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80073848 000707A8 7C DE 33 78 */ mr r30, r6 -/* 8007384C 000707AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80073850 000707B0 7C BD 2B 78 */ mr r29, r5 -/* 80073854 000707B4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80073858 000707B8 7C 7C 1B 78 */ mr r28, r3 -/* 8007385C 000707BC 83 E3 00 1C */ lwz r31, 0x1c(r3) -/* 80073860 000707C0 41 82 00 94 */ beq lbl_800738F4 -/* 80073864 000707C4 40 80 00 D4 */ bge lbl_80073938 -/* 80073868 000707C8 2C 04 00 00 */ cmpwi r4, 0 -/* 8007386C 000707CC 41 82 00 10 */ beq lbl_8007387C -/* 80073870 000707D0 40 80 00 48 */ bge lbl_800738B8 -/* 80073874 000707D4 48 00 00 C4 */ b lbl_80073938 -/* 80073878 000707D8 48 00 00 C0 */ b lbl_80073938 -lbl_8007387C: -/* 8007387C 000707DC 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80073880 000707E0 38 60 02 64 */ li r3, 0x264 -/* 80073884 000707E4 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l -/* 80073888 000707E8 38 A0 00 00 */ li r5, 0 -/* 8007388C 000707EC 38 84 02 60 */ addi r4, r4, 0x260 -/* 80073890 000707F0 48 2A 1F DD */ bl __nw__FUlPCcPCc -/* 80073894 000707F4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80073898 000707F8 41 82 00 18 */ beq lbl_800738B0 -/* 8007389C 000707FC 7F A4 EB 78 */ mr r4, r29 -/* 800738A0 00070800 7F C5 F3 78 */ mr r5, r30 -/* 800738A4 00070804 7F E6 FB 78 */ mr r6, r31 -/* 800738A8 00070808 48 1D 43 05 */ bl __ct__14CLogBookScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable -/* 800738AC 0007080C 7C 60 1B 78 */ mr r0, r3 -lbl_800738B0: -/* 800738B0 00070810 7C 03 03 78 */ mr r3, r0 -/* 800738B4 00070814 48 00 00 88 */ b lbl_8007393C -lbl_800738B8: -/* 800738B8 00070818 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 800738BC 0007081C 38 60 02 A4 */ li r3, 0x2a4 -/* 800738C0 00070820 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l -/* 800738C4 00070824 38 A0 00 00 */ li r5, 0 -/* 800738C8 00070828 38 84 02 60 */ addi r4, r4, 0x260 -/* 800738CC 0007082C 48 2A 1F A1 */ bl __nw__FUlPCcPCc -/* 800738D0 00070830 7C 60 1B 79 */ or. r0, r3, r3 -/* 800738D4 00070834 41 82 00 18 */ beq lbl_800738EC -/* 800738D8 00070838 7F A4 EB 78 */ mr r4, r29 -/* 800738DC 0007083C 7F C5 F3 78 */ mr r5, r30 -/* 800738E0 00070840 7F E6 FB 78 */ mr r6, r31 -/* 800738E4 00070844 48 1D 06 4D */ bl __ct__14COptionsScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable -/* 800738E8 00070848 7C 60 1B 78 */ mr r0, r3 -lbl_800738EC: -/* 800738EC 0007084C 7C 03 03 78 */ mr r3, r0 -/* 800738F0 00070850 48 00 00 4C */ b lbl_8007393C -lbl_800738F4: -/* 800738F4 00070854 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 800738F8 00070858 38 60 01 B0 */ li r3, 0x1b0 -/* 800738FC 0007085C 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l -/* 80073900 00070860 38 A0 00 00 */ li r5, 0 -/* 80073904 00070864 38 84 02 60 */ addi r4, r4, 0x260 -/* 80073908 00070868 48 2A 1F 65 */ bl __nw__FUlPCcPCc -/* 8007390C 0007086C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80073910 00070870 41 82 00 20 */ beq lbl_80073930 -/* 80073914 00070874 80 FC 00 20 */ lwz r7, 0x20(r28) -/* 80073918 00070878 7F A4 EB 78 */ mr r4, r29 -/* 8007391C 0007087C 81 1C 00 24 */ lwz r8, 0x24(r28) -/* 80073920 00070880 7F C5 F3 78 */ mr r5, r30 -/* 80073924 00070884 7F E6 FB 78 */ mr r6, r31 -/* 80073928 00070888 48 19 3B F5 */ bl __ct__16CInventoryScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTableRC16CDependencyGroupRC16CDependencyGroup -/* 8007392C 0007088C 7C 60 1B 78 */ mr r0, r3 -lbl_80073930: -/* 80073930 00070890 7C 03 03 78 */ mr r3, r0 -/* 80073934 00070894 48 00 00 08 */ b lbl_8007393C -lbl_80073938: -/* 80073938 00070898 38 60 00 00 */ li r3, 0 -lbl_8007393C: -/* 8007393C 0007089C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80073940 000708A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80073944 000708A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80073948 000708A8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8007394C 000708AC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80073950 000708B0 7C 08 03 A6 */ mtlr r0 -/* 80073954 000708B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80073958 000708B8 4E 80 00 20 */ blr - -.global CheckLoadComplete__12CPauseScreenFRC13CStateManager -CheckLoadComplete__12CPauseScreenFRC13CStateManager: -/* 8007395C 000708BC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80073960 000708C0 7C 08 02 A6 */ mflr r0 -/* 80073964 000708C4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80073968 000708C8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8007396C 000708CC 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80073970 000708D0 7C 9E 23 78 */ mr r30, r4 -/* 80073974 000708D4 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80073978 000708D8 7C 7D 1B 78 */ mr r29, r3 -/* 8007397C 000708DC 88 03 00 90 */ lbz r0, 0x90(r3) -/* 80073980 000708E0 28 00 00 00 */ cmplwi r0, 0 -/* 80073984 000708E4 41 82 00 0C */ beq lbl_80073990 -/* 80073988 000708E8 38 60 00 01 */ li r3, 1 -/* 8007398C 000708EC 48 00 02 DC */ b lbl_80073C68 -lbl_80073990: -/* 80073990 000708F0 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 80073994 000708F4 28 00 00 00 */ cmplwi r0, 0 -/* 80073998 000708F8 41 82 00 0C */ beq lbl_800739A4 -/* 8007399C 000708FC 38 60 00 01 */ li r3, 1 -/* 800739A0 00070900 48 00 00 3C */ b lbl_800739DC -lbl_800739A4: -/* 800739A4 00070904 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 800739A8 00070908 28 00 00 00 */ cmplwi r0, 0 -/* 800739AC 0007090C 41 82 00 2C */ beq lbl_800739D8 -/* 800739B0 00070910 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 800739B4 00070914 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800739B8 00070918 28 00 00 00 */ cmplwi r0, 0 -/* 800739BC 0007091C 41 82 00 1C */ beq lbl_800739D8 -/* 800739C0 00070920 38 7D 00 14 */ addi r3, r29, 0x14 -/* 800739C4 00070924 48 2C D4 49 */ bl GetObj__6CTokenFv -/* 800739C8 00070928 80 03 00 04 */ lwz r0, 4(r3) -/* 800739CC 0007092C 38 60 00 01 */ li r3, 1 -/* 800739D0 00070930 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 800739D4 00070934 48 00 00 08 */ b lbl_800739DC -lbl_800739D8: -/* 800739D8 00070938 38 60 00 00 */ li r3, 0 -lbl_800739DC: -/* 800739DC 0007093C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800739E0 00070940 40 82 00 0C */ bne lbl_800739EC -/* 800739E4 00070944 38 60 00 00 */ li r3, 0 -/* 800739E8 00070948 48 00 02 80 */ b lbl_80073C68 -lbl_800739EC: -/* 800739EC 0007094C 80 1D 00 34 */ lwz r0, 0x34(r29) -/* 800739F0 00070950 28 00 00 00 */ cmplwi r0, 0 -/* 800739F4 00070954 40 82 00 88 */ bne lbl_80073A7C -/* 800739F8 00070958 80 1D 00 30 */ lwz r0, 0x30(r29) -/* 800739FC 0007095C 28 00 00 00 */ cmplwi r0, 0 -/* 80073A00 00070960 41 82 00 0C */ beq lbl_80073A0C -/* 80073A04 00070964 38 60 00 01 */ li r3, 1 -/* 80073A08 00070968 48 00 00 3C */ b lbl_80073A44 -lbl_80073A0C: -/* 80073A0C 0007096C 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 80073A10 00070970 28 00 00 00 */ cmplwi r0, 0 -/* 80073A14 00070974 41 82 00 2C */ beq lbl_80073A40 -/* 80073A18 00070978 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80073A1C 0007097C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80073A20 00070980 28 00 00 00 */ cmplwi r0, 0 -/* 80073A24 00070984 41 82 00 1C */ beq lbl_80073A40 -/* 80073A28 00070988 38 7D 00 28 */ addi r3, r29, 0x28 -/* 80073A2C 0007098C 48 2C D3 E1 */ bl GetObj__6CTokenFv -/* 80073A30 00070990 80 03 00 04 */ lwz r0, 4(r3) -/* 80073A34 00070994 38 60 00 01 */ li r3, 1 -/* 80073A38 00070998 90 1D 00 30 */ stw r0, 0x30(r29) -/* 80073A3C 0007099C 48 00 00 08 */ b lbl_80073A44 -lbl_80073A40: -/* 80073A40 000709A0 38 60 00 00 */ li r3, 0 -lbl_80073A44: -/* 80073A44 000709A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80073A48 000709A8 40 82 00 0C */ bne lbl_80073A54 -/* 80073A4C 000709AC 38 60 00 00 */ li r3, 0 -/* 80073A50 000709B0 48 00 02 18 */ b lbl_80073C68 -lbl_80073A54: -/* 80073A54 000709B4 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 80073A58 000709B8 48 24 EA F9 */ bl GetIsFinishedLoading__9CGuiFrameCFv -/* 80073A5C 000709BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80073A60 000709C0 40 82 00 0C */ bne lbl_80073A6C -/* 80073A64 000709C4 38 60 00 00 */ li r3, 0 -/* 80073A68 000709C8 48 00 02 00 */ b lbl_80073C68 -lbl_80073A6C: -/* 80073A6C 000709CC 80 1D 00 30 */ lwz r0, 0x30(r29) -/* 80073A70 000709D0 7F A3 EB 78 */ mr r3, r29 -/* 80073A74 000709D4 90 1D 00 34 */ stw r0, 0x34(r29) -/* 80073A78 000709D8 48 00 02 0D */ bl InitializeFrameGlue__12CPauseScreenFv -lbl_80073A7C: -/* 80073A7C 000709DC 80 7D 00 60 */ lwz r3, 0x60(r29) -/* 80073A80 000709E0 28 03 00 00 */ cmplwi r3, 0 -/* 80073A84 000709E4 41 82 01 90 */ beq lbl_80073C14 -/* 80073A88 000709E8 81 83 00 00 */ lwz r12, 0(r3) -/* 80073A8C 000709EC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80073A90 000709F0 7D 89 03 A6 */ mtctr r12 -/* 80073A94 000709F4 4E 80 04 21 */ bctrl -/* 80073A98 000709F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80073A9C 000709FC 41 82 01 70 */ beq lbl_80073C0C -/* 80073AA0 00070A00 80 9D 00 5C */ lwz r4, 0x5c(r29) -/* 80073AA4 00070A04 38 61 00 3C */ addi r3, r1, 0x3c -/* 80073AA8 00070A08 80 BD 00 58 */ lwz r5, 0x58(r29) -/* 80073AAC 00070A0C 48 2C B7 21 */ bl __ct__15CMemoryInStreamFPCvUl -/* 80073AB0 00070A10 80 7D 00 54 */ lwz r3, 0x54(r29) -/* 80073AB4 00070A14 38 A1 00 3C */ addi r5, r1, 0x3c -/* 80073AB8 00070A18 80 8D A0 70 */ lwz r4, gGuiSystem@sda21(r13) -/* 80073ABC 00070A1C 80 CD A0 64 */ lwz r6, gpSimplePool@sda21(r13) -/* 80073AC0 00070A20 48 24 EE FD */ bl CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami -/* 80073AC4 00070A24 80 1D 00 64 */ lwz r0, 0x64(r29) -/* 80073AC8 00070A28 7C 83 00 D0 */ neg r4, r3 -/* 80073ACC 00070A2C 7C 84 1B 78 */ or r4, r4, r3 -/* 80073AD0 00070A30 3B FD 00 68 */ addi r31, r29, 0x68 -/* 80073AD4 00070A34 54 00 18 38 */ slwi r0, r0, 3 -/* 80073AD8 00070A38 90 61 00 14 */ stw r3, 0x14(r1) -/* 80073ADC 00070A3C 54 84 0F FE */ srwi r4, r4, 0x1f -/* 80073AE0 00070A40 7C BF 02 15 */ add. r5, r31, r0 -/* 80073AE4 00070A44 98 81 00 10 */ stb r4, 0x10(r1) -/* 80073AE8 00070A48 41 82 00 14 */ beq lbl_80073AFC -/* 80073AEC 00070A4C 98 85 00 00 */ stb r4, 0(r5) -/* 80073AF0 00070A50 38 00 00 00 */ li r0, 0 -/* 80073AF4 00070A54 90 65 00 04 */ stw r3, 4(r5) -/* 80073AF8 00070A58 98 01 00 10 */ stb r0, 0x10(r1) -lbl_80073AFC: -/* 80073AFC 00070A5C 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80073B00 00070A60 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80073B04 00070A64 38 63 00 01 */ addi r3, r3, 1 -/* 80073B08 00070A68 28 00 00 00 */ cmplwi r0, 0 -/* 80073B0C 00070A6C 90 7D 00 64 */ stw r3, 0x64(r29) -/* 80073B10 00070A70 41 82 00 10 */ beq lbl_80073B20 -/* 80073B14 00070A74 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80073B18 00070A78 38 80 00 01 */ li r4, 1 -/* 80073B1C 00070A7C 48 24 EF 61 */ bl __dt__9CGuiFrameFv -lbl_80073B20: -/* 80073B20 00070A80 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 80073B24 00070A84 38 61 00 3C */ addi r3, r1, 0x3c -/* 80073B28 00070A88 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80073B2C 00070A8C 38 80 00 00 */ li r4, 0 -/* 80073B30 00070A90 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80073B34 00070A94 48 2C B5 79 */ bl __dt__12CInputStreamFv -/* 80073B38 00070A98 80 9D 00 5C */ lwz r4, 0x5c(r29) -/* 80073B3C 00070A9C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80073B40 00070AA0 80 BD 00 58 */ lwz r5, 0x58(r29) -/* 80073B44 00070AA4 48 2C B6 89 */ bl __ct__15CMemoryInStreamFPCvUl -/* 80073B48 00070AA8 80 7D 00 54 */ lwz r3, 0x54(r29) -/* 80073B4C 00070AAC 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80073B50 00070AB0 80 8D A0 70 */ lwz r4, gGuiSystem@sda21(r13) -/* 80073B54 00070AB4 80 CD A0 64 */ lwz r6, gpSimplePool@sda21(r13) -/* 80073B58 00070AB8 48 24 EE 65 */ bl CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami -/* 80073B5C 00070ABC 80 1D 00 64 */ lwz r0, 0x64(r29) -/* 80073B60 00070AC0 7C 83 00 D0 */ neg r4, r3 -/* 80073B64 00070AC4 7C 84 1B 78 */ or r4, r4, r3 -/* 80073B68 00070AC8 90 61 00 0C */ stw r3, 0xc(r1) -/* 80073B6C 00070ACC 54 00 18 38 */ slwi r0, r0, 3 -/* 80073B70 00070AD0 54 84 0F FE */ srwi r4, r4, 0x1f -/* 80073B74 00070AD4 7C BF 02 15 */ add. r5, r31, r0 -/* 80073B78 00070AD8 98 81 00 08 */ stb r4, 8(r1) -/* 80073B7C 00070ADC 41 82 00 14 */ beq lbl_80073B90 -/* 80073B80 00070AE0 98 85 00 00 */ stb r4, 0(r5) -/* 80073B84 00070AE4 38 00 00 00 */ li r0, 0 -/* 80073B88 00070AE8 90 65 00 04 */ stw r3, 4(r5) -/* 80073B8C 00070AEC 98 01 00 08 */ stb r0, 8(r1) -lbl_80073B90: -/* 80073B90 00070AF0 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80073B94 00070AF4 88 01 00 08 */ lbz r0, 8(r1) -/* 80073B98 00070AF8 38 63 00 01 */ addi r3, r3, 1 -/* 80073B9C 00070AFC 28 00 00 00 */ cmplwi r0, 0 -/* 80073BA0 00070B00 90 7D 00 64 */ stw r3, 0x64(r29) -/* 80073BA4 00070B04 41 82 00 10 */ beq lbl_80073BB4 -/* 80073BA8 00070B08 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80073BAC 00070B0C 38 80 00 01 */ li r4, 1 -/* 80073BB0 00070B10 48 24 EE CD */ bl __dt__9CGuiFrameFv -lbl_80073BB4: -/* 80073BB4 00070B14 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 80073BB8 00070B18 38 61 00 18 */ addi r3, r1, 0x18 -/* 80073BBC 00070B1C 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80073BC0 00070B20 38 80 00 00 */ li r4, 0 -/* 80073BC4 00070B24 90 01 00 18 */ stw r0, 0x18(r1) -/* 80073BC8 00070B28 48 2C B4 E5 */ bl __dt__12CInputStreamFv -/* 80073BCC 00070B2C 80 7D 00 60 */ lwz r3, 0x60(r29) -/* 80073BD0 00070B30 28 03 00 00 */ cmplwi r3, 0 -/* 80073BD4 00070B34 41 82 00 18 */ beq lbl_80073BEC -/* 80073BD8 00070B38 81 83 00 00 */ lwz r12, 0(r3) -/* 80073BDC 00070B3C 38 80 00 01 */ li r4, 1 -/* 80073BE0 00070B40 81 8C 00 08 */ lwz r12, 8(r12) -/* 80073BE4 00070B44 7D 89 03 A6 */ mtctr r12 -/* 80073BE8 00070B48 4E 80 04 21 */ bctrl -lbl_80073BEC: -/* 80073BEC 00070B4C 38 00 00 00 */ li r0, 0 -/* 80073BF0 00070B50 90 1D 00 60 */ stw r0, 0x60(r29) -/* 80073BF4 00070B54 80 7D 00 5C */ lwz r3, 0x5c(r29) -/* 80073BF8 00070B58 48 2A 1D 39 */ bl Free__7CMemoryFPCv -/* 80073BFC 00070B5C 38 00 00 00 */ li r0, 0 -/* 80073C00 00070B60 90 1D 00 5C */ stw r0, 0x5c(r29) -/* 80073C04 00070B64 90 1D 00 58 */ stw r0, 0x58(r29) -/* 80073C08 00070B68 48 00 00 0C */ b lbl_80073C14 -lbl_80073C0C: -/* 80073C0C 00070B6C 38 60 00 00 */ li r3, 0 -/* 80073C10 00070B70 48 00 00 58 */ b lbl_80073C68 -lbl_80073C14: -/* 80073C14 00070B74 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 80073C18 00070B78 48 24 E9 39 */ bl GetIsFinishedLoading__9CGuiFrameCFv -/* 80073C1C 00070B7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80073C20 00070B80 41 82 00 14 */ beq lbl_80073C34 -/* 80073C24 00070B84 80 7D 00 74 */ lwz r3, 0x74(r29) -/* 80073C28 00070B88 48 24 E9 29 */ bl GetIsFinishedLoading__9CGuiFrameCFv -/* 80073C2C 00070B8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80073C30 00070B90 40 82 00 0C */ bne lbl_80073C3C -lbl_80073C34: -/* 80073C34 00070B94 38 60 00 00 */ li r3, 0 -/* 80073C38 00070B98 48 00 00 30 */ b lbl_80073C68 -lbl_80073C3C: -/* 80073C3C 00070B9C 38 00 00 01 */ li r0, 1 -/* 80073C40 00070BA0 C0 22 88 60 */ lfs f1, lbl_805AA580@sda21(r2) -/* 80073C44 00070BA4 98 1D 00 90 */ stb r0, 0x90(r29) -/* 80073C48 00070BA8 7F A3 EB 78 */ mr r3, r29 -/* 80073C4C 00070BAC 7F C4 F3 78 */ mr r4, r30 -/* 80073C50 00070BB0 38 C0 00 02 */ li r6, 2 -/* 80073C54 00070BB4 80 BD 00 00 */ lwz r5, 0(r29) -/* 80073C58 00070BB8 4B FF FA A5 */ bl StartTransition__12CPauseScreenFfRC13CStateManagerQ212CPauseScreen10ESubScreeni -/* 80073C5C 00070BBC 38 00 00 01 */ li r0, 1 -/* 80073C60 00070BC0 38 60 00 01 */ li r3, 1 -/* 80073C64 00070BC4 98 1D 00 91 */ stb r0, 0x91(r29) -lbl_80073C68: -/* 80073C68 00070BC8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80073C6C 00070BCC 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80073C70 00070BD0 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80073C74 00070BD4 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80073C78 00070BD8 7C 08 03 A6 */ mtlr r0 -/* 80073C7C 00070BDC 38 21 00 70 */ addi r1, r1, 0x70 -/* 80073C80 00070BE0 4E 80 00 20 */ blr - -.global InitializeFrameGlue__12CPauseScreenFv -InitializeFrameGlue__12CPauseScreenFv: -/* 80073C84 00070BE4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80073C88 00070BE8 7C 08 02 A6 */ mflr r0 -/* 80073C8C 00070BEC 90 01 00 64 */ stw r0, 0x64(r1) -/* 80073C90 00070BF0 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80073C94 00070BF4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80073C98 00070BF8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80073C9C 00070BFC 7C 7F 1B 78 */ mr r31, r3 -/* 80073CA0 00070C00 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80073CA4 00070C04 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80073CA8 00070C08 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80073CAC 00070C0C 38 84 02 67 */ addi r4, r4, 0x267 -/* 80073CB0 00070C10 48 24 E4 A5 */ bl FindWidget__9CGuiFrameCFPCc -/* 80073CB4 00070C14 90 7F 00 38 */ stw r3, 0x38(r31) -/* 80073CB8 00070C18 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80073CBC 00070C1C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80073CC0 00070C20 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80073CC4 00070C24 38 84 02 73 */ addi r4, r4, 0x273 -/* 80073CC8 00070C28 48 24 E4 8D */ bl FindWidget__9CGuiFrameCFPCc -/* 80073CCC 00070C2C 90 7F 00 3C */ stw r3, 0x3c(r31) -/* 80073CD0 00070C30 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80073CD4 00070C34 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80073CD8 00070C38 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80073CDC 00070C3C 38 84 02 7E */ addi r4, r4, 0x27e -/* 80073CE0 00070C40 48 24 E4 75 */ bl FindWidget__9CGuiFrameCFPCc -/* 80073CE4 00070C44 90 7F 00 40 */ stw r3, 0x40(r31) -/* 80073CE8 00070C48 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80073CEC 00070C4C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80073CF0 00070C50 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80073CF4 00070C54 38 84 02 89 */ addi r4, r4, 0x289 -/* 80073CF8 00070C58 48 24 E4 5D */ bl FindWidget__9CGuiFrameCFPCc -/* 80073CFC 00070C5C 90 7F 00 44 */ stw r3, 0x44(r31) -/* 80073D00 00070C60 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80073D04 00070C64 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80073D08 00070C68 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80073D0C 00070C6C 38 84 02 94 */ addi r4, r4, 0x294 -/* 80073D10 00070C70 48 24 E4 45 */ bl FindWidget__9CGuiFrameCFPCc -/* 80073D14 00070C74 90 7F 00 48 */ stw r3, 0x48(r31) -/* 80073D18 00070C78 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80073D1C 00070C7C 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80073D20 00070C80 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80073D24 00070C84 38 84 02 A4 */ addi r4, r4, 0x2a4 -/* 80073D28 00070C88 48 24 E4 2D */ bl FindWidget__9CGuiFrameCFPCc -/* 80073D2C 00070C8C 90 7F 00 4C */ stw r3, 0x4c(r31) -/* 80073D30 00070C90 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80073D34 00070C94 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80073D38 00070C98 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80073D3C 00070C9C 38 84 02 B2 */ addi r4, r4, 0x2b2 -/* 80073D40 00070CA0 48 24 E4 15 */ bl FindWidget__9CGuiFrameCFPCc -/* 80073D44 00070CA4 90 7F 00 50 */ stw r3, 0x50(r31) -/* 80073D48 00070CA8 38 80 00 07 */ li r4, 7 -/* 80073D4C 00070CAC 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80073D50 00070CB0 48 2E 29 AD */ bl GetString__12CStringTableCFi -/* 80073D54 00070CB4 7C 64 1B 78 */ mr r4, r3 -/* 80073D58 00070CB8 38 61 00 30 */ addi r3, r1, 0x30 -/* 80073D5C 00070CBC 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80073D60 00070CC0 38 A0 FF FF */ li r5, -1 -/* 80073D64 00070CC4 48 2C 9A 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80073D68 00070CC8 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80073D6C 00070CCC 38 81 00 30 */ addi r4, r1, 0x30 -/* 80073D70 00070CD0 38 A0 00 00 */ li r5, 0 -/* 80073D74 00070CD4 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80073D78 00070CD8 48 25 5B 0D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80073D7C 00070CDC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80073D80 00070CE0 48 2C 93 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80073D84 00070CE4 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80073D88 00070CE8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80073D8C 00070CEC 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80073D90 00070CF0 38 84 01 BC */ addi r4, r4, 0x1bc -/* 80073D94 00070CF4 48 25 58 D5 */ bl SetFontColor__15CGuiTextSupportFRC6CColor -/* 80073D98 00070CF8 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80073D9C 00070CFC 38 80 00 06 */ li r4, 6 -/* 80073DA0 00070D00 48 2E 29 5D */ bl GetString__12CStringTableCFi -/* 80073DA4 00070D04 7C 64 1B 78 */ mr r4, r3 -/* 80073DA8 00070D08 38 61 00 20 */ addi r3, r1, 0x20 -/* 80073DAC 00070D0C 38 C1 00 0C */ addi r6, r1, 0xc -/* 80073DB0 00070D10 38 A0 FF FF */ li r5, -1 -/* 80073DB4 00070D14 48 2C 9A 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80073DB8 00070D18 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 80073DBC 00070D1C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80073DC0 00070D20 38 A0 00 00 */ li r5, 0 -/* 80073DC4 00070D24 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80073DC8 00070D28 48 25 5A BD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80073DCC 00070D2C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80073DD0 00070D30 48 2C 93 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80073DD4 00070D34 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 80073DD8 00070D38 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80073DDC 00070D3C 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80073DE0 00070D40 38 84 01 BC */ addi r4, r4, 0x1bc -/* 80073DE4 00070D44 48 25 58 85 */ bl SetFontColor__15CGuiTextSupportFRC6CColor -/* 80073DE8 00070D48 38 00 00 00 */ li r0, 0 -/* 80073DEC 00070D4C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80073DF0 00070D50 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80073DF4 00070D54 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80073DF8 00070D58 48 25 6A 75 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80073DFC 00070D5C 38 00 00 00 */ li r0, 0 -/* 80073E00 00070D60 38 81 00 18 */ addi r4, r1, 0x18 -/* 80073E04 00070D64 90 01 00 18 */ stw r0, 0x18(r1) -/* 80073E08 00070D68 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 80073E0C 00070D6C 48 25 6A 61 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80073E10 00070D70 3C 80 80 3D */ lis r4, lbl_803CD2D8@ha -/* 80073E14 00070D74 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80073E18 00070D78 38 84 D2 D8 */ addi r4, r4, lbl_803CD2D8@l -/* 80073E1C 00070D7C 38 84 02 C0 */ addi r4, r4, 0x2c0 -/* 80073E20 00070D80 48 24 E3 35 */ bl FindWidget__9CGuiFrameCFPCc -/* 80073E24 00070D84 28 03 00 00 */ cmplwi r3, 0 -/* 80073E28 00070D88 41 82 00 48 */ beq lbl_80073E70 -/* 80073E2C 00070D8C 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) -/* 80073E30 00070D90 3C 00 43 30 */ lis r0, 0x4330 -/* 80073E34 00070D94 90 01 00 40 */ stw r0, 0x40(r1) -/* 80073E38 00070D98 88 05 01 BF */ lbz r0, 0x1bf(r5) -/* 80073E3C 00070D9C C8 22 88 68 */ lfd f1, lbl_805AA588@sda21(r2) -/* 80073E40 00070DA0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80073E44 00070DA4 C0 42 88 64 */ lfs f2, lbl_805AA584@sda21(r2) -/* 80073E48 00070DA8 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 80073E4C 00070DAC EC 00 08 28 */ fsubs f0, f0, f1 -/* 80073E50 00070DB0 EF E2 00 32 */ fmuls f31, f2, f0 -/* 80073E54 00070DB4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80073E58 00070DB8 38 81 00 14 */ addi r4, r1, 0x14 -/* 80073E5C 00070DBC 80 A5 01 BC */ lwz r5, 0x1bc(r5) -/* 80073E60 00070DC0 88 01 00 08 */ lbz r0, 8(r1) -/* 80073E64 00070DC4 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 80073E68 00070DC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80073E6C 00070DCC 48 25 6A 01 */ bl SetColor__10CGuiWidgetFRC6CColor -lbl_80073E70: -/* 80073E70 00070DD0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80073E74 00070DD4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80073E78 00070DD8 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80073E7C 00070DDC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80073E80 00070DE0 7C 08 03 A6 */ mtlr r0 -/* 80073E84 00070DE4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80073E88 00070DE8 4E 80 00 20 */ blr - -.global __dt__12CPauseScreenFv -__dt__12CPauseScreenFv: -/* 80073E8C 00070DEC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80073E90 00070DF0 7C 08 02 A6 */ mflr r0 -/* 80073E94 00070DF4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80073E98 00070DF8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80073E9C 00070DFC 7C 9F 23 78 */ mr r31, r4 -/* 80073EA0 00070E00 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80073EA4 00070E04 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80073EA8 00070E08 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80073EAC 00070E0C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80073EB0 00070E10 41 82 01 3C */ beq lbl_80073FEC -/* 80073EB4 00070E14 48 2F 8E 49 */ bl sub_8036ccfc -/* 80073EB8 00070E18 34 1E 00 7C */ addic. r0, r30, 0x7c -/* 80073EBC 00070E1C 41 82 00 60 */ beq lbl_80073F1C -/* 80073EC0 00070E20 3B 9E 00 80 */ addi r28, r30, 0x80 -/* 80073EC4 00070E24 3B A0 00 00 */ li r29, 0 -/* 80073EC8 00070E28 48 00 00 40 */ b lbl_80073F08 -lbl_80073ECC: -/* 80073ECC 00070E2C 28 1C 00 00 */ cmplwi r28, 0 -/* 80073ED0 00070E30 41 82 00 30 */ beq lbl_80073F00 -/* 80073ED4 00070E34 88 1C 00 00 */ lbz r0, 0(r28) -/* 80073ED8 00070E38 28 00 00 00 */ cmplwi r0, 0 -/* 80073EDC 00070E3C 41 82 00 24 */ beq lbl_80073F00 -/* 80073EE0 00070E40 80 7C 00 04 */ lwz r3, 4(r28) -/* 80073EE4 00070E44 28 03 00 00 */ cmplwi r3, 0 -/* 80073EE8 00070E48 41 82 00 18 */ beq lbl_80073F00 -/* 80073EEC 00070E4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80073EF0 00070E50 38 80 00 01 */ li r4, 1 -/* 80073EF4 00070E54 81 8C 00 08 */ lwz r12, 8(r12) -/* 80073EF8 00070E58 7D 89 03 A6 */ mtctr r12 -/* 80073EFC 00070E5C 4E 80 04 21 */ bctrl -lbl_80073F00: -/* 80073F00 00070E60 3B 9C 00 08 */ addi r28, r28, 8 -/* 80073F04 00070E64 3B BD 00 01 */ addi r29, r29, 1 -lbl_80073F08: -/* 80073F08 00070E68 80 1E 00 7C */ lwz r0, 0x7c(r30) -/* 80073F0C 00070E6C 7C 1D 00 00 */ cmpw r29, r0 -/* 80073F10 00070E70 41 80 FF BC */ blt lbl_80073ECC -/* 80073F14 00070E74 38 00 00 00 */ li r0, 0 -/* 80073F18 00070E78 90 1E 00 7C */ stw r0, 0x7c(r30) -lbl_80073F1C: -/* 80073F1C 00070E7C 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 80073F20 00070E80 41 82 00 4C */ beq lbl_80073F6C -/* 80073F24 00070E84 3B 9E 00 68 */ addi r28, r30, 0x68 -/* 80073F28 00070E88 3B A0 00 00 */ li r29, 0 -/* 80073F2C 00070E8C 48 00 00 2C */ b lbl_80073F58 -lbl_80073F30: -/* 80073F30 00070E90 28 1C 00 00 */ cmplwi r28, 0 -/* 80073F34 00070E94 41 82 00 1C */ beq lbl_80073F50 -/* 80073F38 00070E98 88 1C 00 00 */ lbz r0, 0(r28) -/* 80073F3C 00070E9C 28 00 00 00 */ cmplwi r0, 0 -/* 80073F40 00070EA0 41 82 00 10 */ beq lbl_80073F50 -/* 80073F44 00070EA4 80 7C 00 04 */ lwz r3, 4(r28) -/* 80073F48 00070EA8 38 80 00 01 */ li r4, 1 -/* 80073F4C 00070EAC 48 24 EB 31 */ bl __dt__9CGuiFrameFv -lbl_80073F50: -/* 80073F50 00070EB0 3B 9C 00 08 */ addi r28, r28, 8 -/* 80073F54 00070EB4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80073F58: -/* 80073F58 00070EB8 80 1E 00 64 */ lwz r0, 0x64(r30) -/* 80073F5C 00070EBC 7C 1D 00 00 */ cmpw r29, r0 -/* 80073F60 00070EC0 41 80 FF D0 */ blt lbl_80073F30 -/* 80073F64 00070EC4 38 00 00 00 */ li r0, 0 -/* 80073F68 00070EC8 90 1E 00 64 */ stw r0, 0x64(r30) -lbl_80073F6C: -/* 80073F6C 00070ECC 34 1E 00 60 */ addic. r0, r30, 0x60 -/* 80073F70 00070ED0 41 82 00 24 */ beq lbl_80073F94 -/* 80073F74 00070ED4 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 80073F78 00070ED8 28 03 00 00 */ cmplwi r3, 0 -/* 80073F7C 00070EDC 41 82 00 18 */ beq lbl_80073F94 -/* 80073F80 00070EE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80073F84 00070EE4 38 80 00 01 */ li r4, 1 -/* 80073F88 00070EE8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80073F8C 00070EEC 7D 89 03 A6 */ mtctr r12 -/* 80073F90 00070EF0 4E 80 04 21 */ bctrl -lbl_80073F94: -/* 80073F94 00070EF4 34 1E 00 5C */ addic. r0, r30, 0x5c -/* 80073F98 00070EF8 41 82 00 0C */ beq lbl_80073FA4 -/* 80073F9C 00070EFC 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 80073FA0 00070F00 48 2A 19 91 */ bl Free__7CMemoryFPCv -lbl_80073FA4: -/* 80073FA4 00070F04 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 80073FA8 00070F08 41 82 00 18 */ beq lbl_80073FC0 -/* 80073FAC 00070F0C 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 80073FB0 00070F10 41 82 00 10 */ beq lbl_80073FC0 -/* 80073FB4 00070F14 38 7E 00 28 */ addi r3, r30, 0x28 -/* 80073FB8 00070F18 38 80 00 00 */ li r4, 0 -/* 80073FBC 00070F1C 48 2C CE 85 */ bl __dt__6CTokenFv -lbl_80073FC0: -/* 80073FC0 00070F20 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80073FC4 00070F24 41 82 00 18 */ beq lbl_80073FDC -/* 80073FC8 00070F28 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80073FCC 00070F2C 41 82 00 10 */ beq lbl_80073FDC -/* 80073FD0 00070F30 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80073FD4 00070F34 38 80 00 00 */ li r4, 0 -/* 80073FD8 00070F38 48 2C CE 69 */ bl __dt__6CTokenFv -lbl_80073FDC: -/* 80073FDC 00070F3C 7F E0 07 35 */ extsh. r0, r31 -/* 80073FE0 00070F40 40 81 00 0C */ ble lbl_80073FEC -/* 80073FE4 00070F44 7F C3 F3 78 */ mr r3, r30 -/* 80073FE8 00070F48 48 2A 19 49 */ bl Free__7CMemoryFPCv -lbl_80073FEC: -/* 80073FEC 00070F4C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80073FF0 00070F50 7F C3 F3 78 */ mr r3, r30 -/* 80073FF4 00070F54 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80073FF8 00070F58 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80073FFC 00070F5C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80074000 00070F60 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80074004 00070F64 7C 08 03 A6 */ mtlr r0 -/* 80074008 00070F68 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007400C 00070F6C 4E 80 00 20 */ blr - -.global __ct__12CPauseScreenFiRC16CDependencyGroupRC16CDependencyGroup -__ct__12CPauseScreenFiRC16CDependencyGroupRC16CDependencyGroup: -/* 80074010 00070F70 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80074014 00070F74 7C 08 02 A6 */ mflr r0 -/* 80074018 00070F78 C0 02 88 30 */ lfs f0, lbl_805AA550@sda21(r2) -/* 8007401C 00070F7C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80074020 00070F80 38 00 00 03 */ li r0, 3 -/* 80074024 00070F84 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80074028 00070F88 7C 7F 1B 78 */ mr r31, r3 -/* 8007402C 00070F8C 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 80074030 00070F90 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80074034 00070F94 7C DE 33 78 */ mr r30, r6 -/* 80074038 00070F98 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8007403C 00070F9C 7C BD 2B 78 */ mr r29, r5 -/* 80074040 00070FA0 93 81 00 40 */ stw r28, 0x40(r1) -/* 80074044 00070FA4 90 9F 00 00 */ stw r4, 0(r31) -/* 80074048 00070FA8 38 80 00 02 */ li r4, 2 -/* 8007404C 00070FAC 90 9F 00 04 */ stw r4, 4(r31) -/* 80074050 00070FB0 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 80074054 00070FB4 38 A4 02 D0 */ addi r5, r4, 0x2d0 -/* 80074058 00070FB8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8007405C 00070FBC 90 1F 00 08 */ stw r0, 8(r31) -/* 80074060 00070FC0 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80074064 00070FC4 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80074068 00070FC8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8007406C 00070FCC 81 84 00 00 */ lwz r12, 0(r4) -/* 80074070 00070FD0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80074074 00070FD4 7D 89 03 A6 */ mtctr r12 -/* 80074078 00070FD8 4E 80 04 21 */ bctrl -/* 8007407C 00070FDC 3B 9F 00 14 */ addi r28, r31, 0x14 -/* 80074080 00070FE0 38 81 00 34 */ addi r4, r1, 0x34 -/* 80074084 00070FE4 7F 83 E3 78 */ mr r3, r28 -/* 80074088 00070FE8 48 2C CE 21 */ bl __ct__6CTokenFRC6CToken -/* 8007408C 00070FEC 38 00 00 00 */ li r0, 0 -/* 80074090 00070FF0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80074094 00070FF4 90 1C 00 08 */ stw r0, 8(r28) -/* 80074098 00070FF8 38 80 FF FF */ li r4, -1 -/* 8007409C 00070FFC 48 2C CD A5 */ bl __dt__6CTokenFv -/* 800740A0 00071000 93 BF 00 20 */ stw r29, 0x20(r31) -/* 800740A4 00071004 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800740A8 00071008 38 83 D2 D8 */ addi r4, r3, lbl_803CD2D8@l -/* 800740AC 0007100C 38 61 00 2C */ addi r3, r1, 0x2c -/* 800740B0 00071010 93 DF 00 24 */ stw r30, 0x24(r31) -/* 800740B4 00071014 38 A4 02 E1 */ addi r5, r4, 0x2e1 -/* 800740B8 00071018 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800740BC 0007101C 81 84 00 00 */ lwz r12, 0(r4) -/* 800740C0 00071020 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800740C4 00071024 7D 89 03 A6 */ mtctr r12 -/* 800740C8 00071028 4E 80 04 21 */ bctrl -/* 800740CC 0007102C 3B 9F 00 28 */ addi r28, r31, 0x28 -/* 800740D0 00071030 38 81 00 2C */ addi r4, r1, 0x2c -/* 800740D4 00071034 7F 83 E3 78 */ mr r3, r28 -/* 800740D8 00071038 48 2C CD D1 */ bl __ct__6CTokenFRC6CToken -/* 800740DC 0007103C 38 00 00 00 */ li r0, 0 -/* 800740E0 00071040 38 61 00 2C */ addi r3, r1, 0x2c -/* 800740E4 00071044 90 1C 00 08 */ stw r0, 8(r28) -/* 800740E8 00071048 38 80 FF FF */ li r4, -1 -/* 800740EC 0007104C 48 2C CD 55 */ bl __dt__6CTokenFv -/* 800740F0 00071050 38 00 00 00 */ li r0, 0 -/* 800740F4 00071054 3C 60 80 3D */ lis r3, lbl_803CD2D8@ha -/* 800740F8 00071058 90 1F 00 34 */ stw r0, 0x34(r31) -/* 800740FC 0007105C 38 63 D2 D8 */ addi r3, r3, lbl_803CD2D8@l -/* 80074100 00071060 38 83 02 FE */ addi r4, r3, 0x2fe -/* 80074104 00071064 90 1F 00 38 */ stw r0, 0x38(r31) -/* 80074108 00071068 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 8007410C 0007106C 90 1F 00 40 */ stw r0, 0x40(r31) -/* 80074110 00071070 90 1F 00 44 */ stw r0, 0x44(r31) -/* 80074114 00071074 90 1F 00 48 */ stw r0, 0x48(r31) -/* 80074118 00071078 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 8007411C 0007107C 90 1F 00 50 */ stw r0, 0x50(r31) -/* 80074120 00071080 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80074124 00071084 81 83 00 00 */ lwz r12, 0(r3) -/* 80074128 00071088 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8007412C 0007108C 7D 89 03 A6 */ mtctr r12 -/* 80074130 00071090 4E 80 04 21 */ bctrl -/* 80074134 00071094 80 A3 00 04 */ lwz r5, 4(r3) -/* 80074138 00071098 3C 60 46 52 */ lis r3, 0x46524D45@ha -/* 8007413C 0007109C 38 03 4D 45 */ addi r0, r3, 0x46524D45@l -/* 80074140 000710A0 38 81 00 24 */ addi r4, r1, 0x24 -/* 80074144 000710A4 90 BF 00 54 */ stw r5, 0x54(r31) -/* 80074148 000710A8 80 BF 00 54 */ lwz r5, 0x54(r31) -/* 8007414C 000710AC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80074150 000710B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80074154 000710B4 38 63 00 04 */ addi r3, r3, 4 -/* 80074158 000710B8 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8007415C 000710BC 48 2C 7A F5 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag -/* 80074160 000710C0 3C A0 80 3D */ lis r5, lbl_803CD2D8@ha -/* 80074164 000710C4 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 80074168 000710C8 90 7F 00 58 */ stw r3, 0x58(r31) -/* 8007416C 000710CC 38 A5 D2 D8 */ addi r5, r5, lbl_803CD2D8@l -/* 80074170 000710D0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80074174 000710D4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80074178 000710D8 38 A5 02 60 */ addi r5, r5, 0x260 -/* 8007417C 000710DC 38 80 FF FF */ li r4, -1 -/* 80074180 000710E0 48 26 22 55 */ bl __ct__10CCallStackFUiPCcPCc -/* 80074184 000710E4 7C 67 1B 78 */ mr r7, r3 -/* 80074188 000710E8 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 8007418C 000710EC 38 80 00 02 */ li r4, 2 -/* 80074190 000710F0 38 A0 00 01 */ li r5, 1 -/* 80074194 000710F4 38 C0 00 00 */ li r6, 0 -/* 80074198 000710F8 48 2A 17 FD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8007419C 000710FC 90 7F 00 5C */ stw r3, 0x5c(r31) -/* 800741A0 00071100 3C 60 46 52 */ lis r3, 0x46524D45@ha -/* 800741A4 00071104 38 03 4D 45 */ addi r0, r3, 0x46524D45@l -/* 800741A8 00071108 38 81 00 14 */ addi r4, r1, 0x14 -/* 800741AC 0007110C 80 BF 00 5C */ lwz r5, 0x5c(r31) -/* 800741B0 00071110 80 DF 00 54 */ lwz r6, 0x54(r31) -/* 800741B4 00071114 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800741B8 00071118 90 01 00 14 */ stw r0, 0x14(r1) -/* 800741BC 0007111C 38 63 00 04 */ addi r3, r3, 4 -/* 800741C0 00071120 90 C1 00 18 */ stw r6, 0x18(r1) -/* 800741C4 00071124 48 2C 79 B5 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc -/* 800741C8 00071128 90 7F 00 60 */ stw r3, 0x60(r31) -/* 800741CC 0007112C 38 60 00 00 */ li r3, 0 -/* 800741D0 00071130 34 9F 00 80 */ addic. r4, r31, 0x80 -/* 800741D4 00071134 38 00 00 02 */ li r0, 2 -/* 800741D8 00071138 90 7F 00 64 */ stw r3, 0x64(r31) -/* 800741DC 0007113C 90 7F 00 78 */ stw r3, 0x78(r31) -/* 800741E0 00071140 98 61 00 0C */ stb r3, 0xc(r1) -/* 800741E4 00071144 90 61 00 10 */ stw r3, 0x10(r1) -/* 800741E8 00071148 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 800741EC 0007114C 41 82 00 10 */ beq lbl_800741FC -/* 800741F0 00071150 98 64 00 00 */ stb r3, 0(r4) -/* 800741F4 00071154 98 61 00 0C */ stb r3, 0xc(r1) -/* 800741F8 00071158 90 64 00 04 */ stw r3, 4(r4) -lbl_800741FC: -/* 800741FC 0007115C 34 84 00 08 */ addic. r4, r4, 8 -/* 80074200 00071160 41 82 00 14 */ beq lbl_80074214 -/* 80074204 00071164 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80074208 00071168 98 04 00 00 */ stb r0, 0(r4) -/* 8007420C 0007116C 90 64 00 04 */ stw r3, 4(r4) -/* 80074210 00071170 98 61 00 0C */ stb r3, 0xc(r1) -lbl_80074214: -/* 80074214 00071174 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80074218 00071178 28 00 00 00 */ cmplwi r0, 0 -/* 8007421C 0007117C 41 82 00 24 */ beq lbl_80074240 -/* 80074220 00071180 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80074224 00071184 28 03 00 00 */ cmplwi r3, 0 -/* 80074228 00071188 41 82 00 18 */ beq lbl_80074240 -/* 8007422C 0007118C 81 83 00 00 */ lwz r12, 0(r3) -/* 80074230 00071190 38 80 00 01 */ li r4, 1 -/* 80074234 00071194 81 8C 00 08 */ lwz r12, 8(r12) -/* 80074238 00071198 7D 89 03 A6 */ mtctr r12 -/* 8007423C 0007119C 4E 80 04 21 */ bctrl -lbl_80074240: -/* 80074240 000711A0 38 60 00 00 */ li r3, 0 -/* 80074244 000711A4 38 00 00 01 */ li r0, 1 -/* 80074248 000711A8 98 7F 00 90 */ stb r3, 0x90(r31) -/* 8007424C 000711AC 38 7F 00 14 */ addi r3, r31, 0x14 -/* 80074250 000711B0 98 1F 00 91 */ stb r0, 0x91(r31) -/* 80074254 000711B4 48 2C CB 31 */ bl Lock__6CTokenFv -/* 80074258 000711B8 38 7F 00 28 */ addi r3, r31, 0x28 -/* 8007425C 000711BC 48 2C CB 29 */ bl Lock__6CTokenFv -/* 80074260 000711C0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80074264 000711C4 38 61 00 08 */ addi r3, r1, 8 -/* 80074268 000711C8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8007426C 000711CC 38 80 05 9B */ li r4, 0x59b -/* 80074270 000711D0 38 A0 00 7F */ li r5, 0x7f -/* 80074274 000711D4 38 C0 00 40 */ li r6, 0x40 -/* 80074278 000711D8 38 E0 00 00 */ li r7, 0 -/* 8007427C 000711DC 39 20 00 00 */ li r9, 0 -/* 80074280 000711E0 48 27 5A F5 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80074284 000711E4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80074288 000711E8 7F E3 FB 78 */ mr r3, r31 -/* 8007428C 000711EC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80074290 000711F0 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80074294 000711F4 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80074298 000711F8 83 81 00 40 */ lwz r28, 0x40(r1) -/* 8007429C 000711FC 7C 08 03 A6 */ mtlr r0 -/* 800742A0 00071200 38 21 00 50 */ addi r1, r1, 0x50 -/* 800742A4 00071204 4E 80 00 20 */ blr - -.global GetNextSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen -GetNextSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen: -/* 800742A8 00071208 2C 03 00 02 */ cmpwi r3, 2 -/* 800742AC 0007120C 40 82 00 0C */ bne lbl_800742B8 -/* 800742B0 00071210 38 60 00 00 */ li r3, 0 -/* 800742B4 00071214 4E 80 00 20 */ blr -lbl_800742B8: -/* 800742B8 00071218 2C 03 00 01 */ cmpwi r3, 1 -/* 800742BC 0007121C 40 82 00 0C */ bne lbl_800742C8 -/* 800742C0 00071220 38 60 00 02 */ li r3, 2 -/* 800742C4 00071224 4E 80 00 20 */ blr -lbl_800742C8: -/* 800742C8 00071228 2C 03 00 00 */ cmpwi r3, 0 -/* 800742CC 0007122C 38 60 00 03 */ li r3, 3 -/* 800742D0 00071230 4C 82 00 20 */ bnelr -/* 800742D4 00071234 38 60 00 01 */ li r3, 1 -/* 800742D8 00071238 4E 80 00 20 */ blr - -.global GetPreviousSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen -GetPreviousSubscreen__12CPauseScreenFQ212CPauseScreen10ESubScreen: -/* 800742DC 0007123C 2C 03 00 02 */ cmpwi r3, 2 -/* 800742E0 00071240 40 82 00 0C */ bne lbl_800742EC -/* 800742E4 00071244 38 60 00 01 */ li r3, 1 -/* 800742E8 00071248 4E 80 00 20 */ blr -lbl_800742EC: -/* 800742EC 0007124C 2C 03 00 01 */ cmpwi r3, 1 -/* 800742F0 00071250 40 82 00 0C */ bne lbl_800742FC -/* 800742F4 00071254 38 60 00 00 */ li r3, 0 -/* 800742F8 00071258 4E 80 00 20 */ blr -lbl_800742FC: -/* 800742FC 0007125C 2C 03 00 00 */ cmpwi r3, 0 -/* 80074300 00071260 38 60 00 03 */ li r3, 3 -/* 80074304 00071264 4C 82 00 20 */ bnelr -/* 80074308 00071268 38 60 00 02 */ li r3, 2 -/* 8007430C 0007126C 4E 80 00 20 */ blr - -.global FaceReflectionOrthoHeightDebugValueToActualValue__9CTweakGuiFf -FaceReflectionOrthoHeightDebugValueToActualValue__9CTweakGuiFf: -/* 80074310 00071270 C0 42 88 74 */ lfs f2, lbl_805AA594@sda21(r2) -/* 80074314 00071274 C0 02 88 70 */ lfs f0, lbl_805AA590@sda21(r2) -/* 80074318 00071278 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8007431C 0007127C 4E 80 00 20 */ blr - -.global FaceReflectionOrthoWidthDebugValueToActualValue__9CTweakGuiFf -FaceReflectionOrthoWidthDebugValueToActualValue__9CTweakGuiFf: -/* 80074320 00071280 C0 42 88 74 */ lfs f2, lbl_805AA594@sda21(r2) -/* 80074324 00071284 C0 02 88 70 */ lfs f0, lbl_805AA590@sda21(r2) -/* 80074328 00071288 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8007432C 0007128C 4E 80 00 20 */ blr - -.global FaceReflectionAspectDebugValueToActualValue__9CTweakGuiFf -FaceReflectionAspectDebugValueToActualValue__9CTweakGuiFf: -/* 80074330 00071290 C0 42 88 7C */ lfs f2, lbl_805AA59C@sda21(r2) -/* 80074334 00071294 C0 02 88 78 */ lfs f0, lbl_805AA598@sda21(r2) -/* 80074338 00071298 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8007433C 0007129C 4E 80 00 20 */ blr - -.global FaceReflectionHeightDebugValueToActualValue__9CTweakGuiFf -FaceReflectionHeightDebugValueToActualValue__9CTweakGuiFf: -/* 80074340 000712A0 C0 42 88 80 */ lfs f2, lbl_805AA5A0@sda21(r2) -/* 80074344 000712A4 C0 02 88 7C */ lfs f0, lbl_805AA59C@sda21(r2) -/* 80074348 000712A8 EC 22 00 78 */ fmsubs f1, f2, f1, f0 -/* 8007434C 000712AC 4E 80 00 20 */ blr - -.global FaceReflectionDistanceDebugValueToActualValue__9CTweakGuiFf -FaceReflectionDistanceDebugValueToActualValue__9CTweakGuiFf: -/* 80074350 000712B0 C0 42 88 88 */ lfs f2, lbl_805AA5A8@sda21(r2) -/* 80074354 000712B4 C0 02 88 84 */ lfs f0, lbl_805AA5A4@sda21(r2) -/* 80074358 000712B8 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8007435C 000712BC 4E 80 00 20 */ blr - -.global __ct__9CTweakGuiFR12CInputStream -__ct__9CTweakGuiFR12CInputStream: -/* 80074360 000712C0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80074364 000712C4 7C 08 02 A6 */ mflr r0 -/* 80074368 000712C8 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha -/* 8007436C 000712CC 3C A0 80 3E */ lis r5, lbl_803DA440@ha -/* 80074370 000712D0 90 01 00 74 */ stw r0, 0x74(r1) -/* 80074374 000712D4 38 05 A4 40 */ addi r0, r5, lbl_803DA440@l -/* 80074378 000712D8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8007437C 000712DC 7C 9F 23 78 */ mr r31, r4 -/* 80074380 000712E0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80074384 000712E4 7C 7E 1B 78 */ mr r30, r3 -/* 80074388 000712E8 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l -/* 8007438C 000712EC 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80074390 000712F0 93 81 00 60 */ stw r28, 0x60(r1) -/* 80074394 000712F4 90 7E 00 00 */ stw r3, 0(r30) -/* 80074398 000712F8 7F E3 FB 78 */ mr r3, r31 -/* 8007439C 000712FC 90 1E 00 00 */ stw r0, 0(r30) -/* 800743A0 00071300 48 2C A9 3D */ bl ReadBool__12CInputStreamFv -/* 800743A4 00071304 98 7E 00 04 */ stb r3, 4(r30) -/* 800743A8 00071308 7F E3 FB 78 */ mr r3, r31 -/* 800743AC 0007130C 48 2C A8 7D */ bl ReadFloat__12CInputStreamFv -/* 800743B0 00071310 D0 3E 00 08 */ stfs f1, 8(r30) -/* 800743B4 00071314 7F E3 FB 78 */ mr r3, r31 -/* 800743B8 00071318 48 2C A8 71 */ bl ReadFloat__12CInputStreamFv -/* 800743BC 0007131C D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 800743C0 00071320 7F E3 FB 78 */ mr r3, r31 -/* 800743C4 00071324 48 2C A8 65 */ bl ReadFloat__12CInputStreamFv -/* 800743C8 00071328 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 800743CC 0007132C 7F E3 FB 78 */ mr r3, r31 -/* 800743D0 00071330 48 2C A8 59 */ bl ReadFloat__12CInputStreamFv -/* 800743D4 00071334 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 800743D8 00071338 7F E3 FB 78 */ mr r3, r31 -/* 800743DC 0007133C 48 2C A8 4D */ bl ReadFloat__12CInputStreamFv -/* 800743E0 00071340 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 800743E4 00071344 7F E3 FB 78 */ mr r3, r31 -/* 800743E8 00071348 48 2C A8 41 */ bl ReadFloat__12CInputStreamFv -/* 800743EC 0007134C D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 800743F0 00071350 7F E3 FB 78 */ mr r3, r31 -/* 800743F4 00071354 48 2C A8 35 */ bl ReadFloat__12CInputStreamFv -/* 800743F8 00071358 D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 800743FC 0007135C 7F E3 FB 78 */ mr r3, r31 -/* 80074400 00071360 48 2C A8 29 */ bl ReadFloat__12CInputStreamFv -/* 80074404 00071364 D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 80074408 00071368 7F E3 FB 78 */ mr r3, r31 -/* 8007440C 0007136C 48 2C A8 1D */ bl ReadFloat__12CInputStreamFv -/* 80074410 00071370 D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 80074414 00071374 38 00 00 00 */ li r0, 0 -/* 80074418 00071378 7F E3 FB 78 */ mr r3, r31 -/* 8007441C 0007137C 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 80074420 00071380 48 2C A8 09 */ bl ReadFloat__12CInputStreamFv -/* 80074424 00071384 D0 3E 00 30 */ stfs f1, 0x30(r30) -/* 80074428 00071388 7F E3 FB 78 */ mr r3, r31 -/* 8007442C 0007138C 48 2C A7 FD */ bl ReadFloat__12CInputStreamFv -/* 80074430 00071390 D0 3E 00 34 */ stfs f1, 0x34(r30) -/* 80074434 00071394 7F E3 FB 78 */ mr r3, r31 -/* 80074438 00071398 48 2C A7 F1 */ bl ReadFloat__12CInputStreamFv -/* 8007443C 0007139C D0 3E 00 38 */ stfs f1, 0x38(r30) -/* 80074440 000713A0 7F E3 FB 78 */ mr r3, r31 -/* 80074444 000713A4 48 2C A7 E5 */ bl ReadFloat__12CInputStreamFv -/* 80074448 000713A8 D0 3E 00 3C */ stfs f1, 0x3c(r30) -/* 8007444C 000713AC 7F E3 FB 78 */ mr r3, r31 -/* 80074450 000713B0 48 2C A8 8D */ bl ReadBool__12CInputStreamFv -/* 80074454 000713B4 98 7E 00 40 */ stb r3, 0x40(r30) -/* 80074458 000713B8 7F E3 FB 78 */ mr r3, r31 -/* 8007445C 000713BC 48 2C A7 CD */ bl ReadFloat__12CInputStreamFv -/* 80074460 000713C0 D0 3E 00 44 */ stfs f1, 0x44(r30) -/* 80074464 000713C4 7F E3 FB 78 */ mr r3, r31 -/* 80074468 000713C8 48 2C A7 C1 */ bl ReadFloat__12CInputStreamFv -/* 8007446C 000713CC D0 3E 00 48 */ stfs f1, 0x48(r30) -/* 80074470 000713D0 7F E3 FB 78 */ mr r3, r31 -/* 80074474 000713D4 48 2C A7 B5 */ bl ReadFloat__12CInputStreamFv -/* 80074478 000713D8 D0 3E 00 4C */ stfs f1, 0x4c(r30) -/* 8007447C 000713DC 7F E3 FB 78 */ mr r3, r31 -/* 80074480 000713E0 48 2C A7 A9 */ bl ReadFloat__12CInputStreamFv -/* 80074484 000713E4 D0 3E 00 50 */ stfs f1, 0x50(r30) -/* 80074488 000713E8 7F E3 FB 78 */ mr r3, r31 -/* 8007448C 000713EC 48 2C A7 9D */ bl ReadFloat__12CInputStreamFv -/* 80074490 000713F0 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 80074494 000713F4 7F E3 FB 78 */ mr r3, r31 -/* 80074498 000713F8 48 2C A7 91 */ bl ReadFloat__12CInputStreamFv -/* 8007449C 000713FC D0 3E 00 58 */ stfs f1, 0x58(r30) -/* 800744A0 00071400 7F E3 FB 78 */ mr r3, r31 -/* 800744A4 00071404 48 2C A7 85 */ bl ReadFloat__12CInputStreamFv -/* 800744A8 00071408 D0 3E 00 5C */ stfs f1, 0x5c(r30) -/* 800744AC 0007140C 7F E3 FB 78 */ mr r3, r31 -/* 800744B0 00071410 48 2C A7 79 */ bl ReadFloat__12CInputStreamFv -/* 800744B4 00071414 D0 3E 00 60 */ stfs f1, 0x60(r30) -/* 800744B8 00071418 7F E4 FB 78 */ mr r4, r31 -/* 800744BC 0007141C 38 7E 00 64 */ addi r3, r30, 0x64 -/* 800744C0 00071420 48 2A 06 CD */ bl __ct__9CVector3fFR12CInputStream -/* 800744C4 00071424 7F E4 FB 78 */ mr r4, r31 -/* 800744C8 00071428 38 7E 00 70 */ addi r3, r30, 0x70 -/* 800744CC 0007142C 48 2A 06 C1 */ bl __ct__9CVector3fFR12CInputStream -/* 800744D0 00071430 7F E3 FB 78 */ mr r3, r31 -/* 800744D4 00071434 48 2C A7 55 */ bl ReadFloat__12CInputStreamFv -/* 800744D8 00071438 D0 3E 00 7C */ stfs f1, 0x7c(r30) -/* 800744DC 0007143C 7F E3 FB 78 */ mr r3, r31 -/* 800744E0 00071440 48 2C A7 49 */ bl ReadFloat__12CInputStreamFv -/* 800744E4 00071444 D0 3E 00 80 */ stfs f1, 0x80(r30) -/* 800744E8 00071448 7F E3 FB 78 */ mr r3, r31 -/* 800744EC 0007144C 48 2C A7 3D */ bl ReadFloat__12CInputStreamFv -/* 800744F0 00071450 D0 3E 00 84 */ stfs f1, 0x84(r30) -/* 800744F4 00071454 7F E3 FB 78 */ mr r3, r31 -/* 800744F8 00071458 48 2C A7 31 */ bl ReadFloat__12CInputStreamFv -/* 800744FC 0007145C D0 3E 00 88 */ stfs f1, 0x88(r30) -/* 80074500 00071460 7F E3 FB 78 */ mr r3, r31 -/* 80074504 00071464 48 2C A7 25 */ bl ReadFloat__12CInputStreamFv -/* 80074508 00071468 D0 3E 00 8C */ stfs f1, 0x8c(r30) -/* 8007450C 0007146C 7F E3 FB 78 */ mr r3, r31 -/* 80074510 00071470 48 2C A7 19 */ bl ReadFloat__12CInputStreamFv -/* 80074514 00071474 D0 3E 00 90 */ stfs f1, 0x90(r30) -/* 80074518 00071478 7F E3 FB 78 */ mr r3, r31 -/* 8007451C 0007147C 48 2C A7 0D */ bl ReadFloat__12CInputStreamFv -/* 80074520 00071480 D0 3E 00 94 */ stfs f1, 0x94(r30) -/* 80074524 00071484 7F E3 FB 78 */ mr r3, r31 -/* 80074528 00071488 48 2C A7 01 */ bl ReadFloat__12CInputStreamFv -/* 8007452C 0007148C D0 3E 00 98 */ stfs f1, 0x98(r30) -/* 80074530 00071490 7F E3 FB 78 */ mr r3, r31 -/* 80074534 00071494 48 2C A6 F5 */ bl ReadFloat__12CInputStreamFv -/* 80074538 00071498 D0 3E 00 9C */ stfs f1, 0x9c(r30) -/* 8007453C 0007149C 7F E3 FB 78 */ mr r3, r31 -/* 80074540 000714A0 48 2C A6 E9 */ bl ReadFloat__12CInputStreamFv -/* 80074544 000714A4 D0 3E 00 A0 */ stfs f1, 0xa0(r30) -/* 80074548 000714A8 7F E3 FB 78 */ mr r3, r31 -/* 8007454C 000714AC 48 2C A6 DD */ bl ReadFloat__12CInputStreamFv -/* 80074550 000714B0 D0 3E 00 A4 */ stfs f1, 0xa4(r30) -/* 80074554 000714B4 7F E3 FB 78 */ mr r3, r31 -/* 80074558 000714B8 48 2C A7 2D */ bl ReadLong__12CInputStreamFv -/* 8007455C 000714BC 90 7E 00 A8 */ stw r3, 0xa8(r30) -/* 80074560 000714C0 7F E3 FB 78 */ mr r3, r31 -/* 80074564 000714C4 48 2C A7 21 */ bl ReadLong__12CInputStreamFv -/* 80074568 000714C8 90 7E 00 AC */ stw r3, 0xac(r30) -/* 8007456C 000714CC 7F E3 FB 78 */ mr r3, r31 -/* 80074570 000714D0 48 2C A7 15 */ bl ReadLong__12CInputStreamFv -/* 80074574 000714D4 90 7E 00 B0 */ stw r3, 0xb0(r30) -/* 80074578 000714D8 7F E3 FB 78 */ mr r3, r31 -/* 8007457C 000714DC 48 2C A6 AD */ bl ReadFloat__12CInputStreamFv -/* 80074580 000714E0 D0 3E 00 B4 */ stfs f1, 0xb4(r30) -/* 80074584 000714E4 7F E3 FB 78 */ mr r3, r31 -/* 80074588 000714E8 48 2C A6 A1 */ bl ReadFloat__12CInputStreamFv -/* 8007458C 000714EC D0 3E 00 B8 */ stfs f1, 0xb8(r30) -/* 80074590 000714F0 7F E3 FB 78 */ mr r3, r31 -/* 80074594 000714F4 48 2C A6 95 */ bl ReadFloat__12CInputStreamFv -/* 80074598 000714F8 D0 3E 00 BC */ stfs f1, 0xbc(r30) -/* 8007459C 000714FC 7F E3 FB 78 */ mr r3, r31 -/* 800745A0 00071500 48 2C A6 89 */ bl ReadFloat__12CInputStreamFv -/* 800745A4 00071504 D0 3E 00 C0 */ stfs f1, 0xc0(r30) -/* 800745A8 00071508 7F E3 FB 78 */ mr r3, r31 -/* 800745AC 0007150C 48 2C A6 7D */ bl ReadFloat__12CInputStreamFv -/* 800745B0 00071510 D0 3E 00 C4 */ stfs f1, 0xc4(r30) -/* 800745B4 00071514 7F E3 FB 78 */ mr r3, r31 -/* 800745B8 00071518 48 2C A6 71 */ bl ReadFloat__12CInputStreamFv -/* 800745BC 0007151C D0 3E 00 C8 */ stfs f1, 0xc8(r30) -/* 800745C0 00071520 7F E3 FB 78 */ mr r3, r31 -/* 800745C4 00071524 48 2C A6 65 */ bl ReadFloat__12CInputStreamFv -/* 800745C8 00071528 D0 3E 00 CC */ stfs f1, 0xcc(r30) -/* 800745CC 0007152C 7F E3 FB 78 */ mr r3, r31 -/* 800745D0 00071530 48 2C A6 59 */ bl ReadFloat__12CInputStreamFv -/* 800745D4 00071534 D0 3E 00 D0 */ stfs f1, 0xd0(r30) -/* 800745D8 00071538 7F E3 FB 78 */ mr r3, r31 -/* 800745DC 0007153C 48 2C A6 A9 */ bl ReadLong__12CInputStreamFv -/* 800745E0 00071540 90 7E 00 D4 */ stw r3, 0xd4(r30) -/* 800745E4 00071544 7F E3 FB 78 */ mr r3, r31 -/* 800745E8 00071548 48 2C A6 41 */ bl ReadFloat__12CInputStreamFv -/* 800745EC 0007154C C0 02 88 90 */ lfs f0, lbl_805AA5B0@sda21(r2) -/* 800745F0 00071550 7F E3 FB 78 */ mr r3, r31 -/* 800745F4 00071554 C0 42 88 8C */ lfs f2, lbl_805AA5AC@sda21(r2) -/* 800745F8 00071558 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800745FC 0007155C EC 02 00 32 */ fmuls f0, f2, f0 -/* 80074600 00071560 D0 1E 00 D8 */ stfs f0, 0xd8(r30) -/* 80074604 00071564 48 2C A6 25 */ bl ReadFloat__12CInputStreamFv -/* 80074608 00071568 C0 02 88 90 */ lfs f0, lbl_805AA5B0@sda21(r2) -/* 8007460C 0007156C 7F E3 FB 78 */ mr r3, r31 -/* 80074610 00071570 C0 42 88 8C */ lfs f2, lbl_805AA5AC@sda21(r2) -/* 80074614 00071574 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80074618 00071578 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8007461C 0007157C D0 1E 00 DC */ stfs f0, 0xdc(r30) -/* 80074620 00071580 48 2C A6 09 */ bl ReadFloat__12CInputStreamFv -/* 80074624 00071584 D0 3E 00 E0 */ stfs f1, 0xe0(r30) -/* 80074628 00071588 7F E3 FB 78 */ mr r3, r31 -/* 8007462C 0007158C 48 2C A5 FD */ bl ReadFloat__12CInputStreamFv -/* 80074630 00071590 D0 3E 00 E4 */ stfs f1, 0xe4(r30) -/* 80074634 00071594 7F E3 FB 78 */ mr r3, r31 -/* 80074638 00071598 48 2C A5 F1 */ bl ReadFloat__12CInputStreamFv -/* 8007463C 0007159C D0 3E 00 E8 */ stfs f1, 0xe8(r30) -/* 80074640 000715A0 7F E3 FB 78 */ mr r3, r31 -/* 80074644 000715A4 48 2C A5 E5 */ bl ReadFloat__12CInputStreamFv -/* 80074648 000715A8 D0 3E 00 EC */ stfs f1, 0xec(r30) -/* 8007464C 000715AC 7F E3 FB 78 */ mr r3, r31 -/* 80074650 000715B0 48 2C A5 D9 */ bl ReadFloat__12CInputStreamFv -/* 80074654 000715B4 D0 3E 00 F0 */ stfs f1, 0xf0(r30) -/* 80074658 000715B8 7F E3 FB 78 */ mr r3, r31 -/* 8007465C 000715BC 48 2C A5 CD */ bl ReadFloat__12CInputStreamFv -/* 80074660 000715C0 D0 3E 00 F4 */ stfs f1, 0xf4(r30) -/* 80074664 000715C4 7F E3 FB 78 */ mr r3, r31 -/* 80074668 000715C8 48 2C A6 1D */ bl ReadLong__12CInputStreamFv -/* 8007466C 000715CC 90 7E 00 F8 */ stw r3, 0xf8(r30) -/* 80074670 000715D0 7F E3 FB 78 */ mr r3, r31 -/* 80074674 000715D4 48 2C A6 11 */ bl ReadLong__12CInputStreamFv -/* 80074678 000715D8 90 7E 00 FC */ stw r3, 0xfc(r30) -/* 8007467C 000715DC 7F E3 FB 78 */ mr r3, r31 -/* 80074680 000715E0 48 2C A6 05 */ bl ReadLong__12CInputStreamFv -/* 80074684 000715E4 90 7E 01 00 */ stw r3, 0x100(r30) -/* 80074688 000715E8 7F E3 FB 78 */ mr r3, r31 -/* 8007468C 000715EC 48 2C A5 F9 */ bl ReadLong__12CInputStreamFv -/* 80074690 000715F0 90 7E 01 04 */ stw r3, 0x104(r30) -/* 80074694 000715F4 7F E3 FB 78 */ mr r3, r31 -/* 80074698 000715F8 48 2C A5 ED */ bl ReadLong__12CInputStreamFv -/* 8007469C 000715FC 90 7E 01 08 */ stw r3, 0x108(r30) -/* 800746A0 00071600 7F E3 FB 78 */ mr r3, r31 -/* 800746A4 00071604 48 2C A5 E1 */ bl ReadLong__12CInputStreamFv -/* 800746A8 00071608 90 7E 01 0C */ stw r3, 0x10c(r30) -/* 800746AC 0007160C 7F E3 FB 78 */ mr r3, r31 -/* 800746B0 00071610 48 2C A5 79 */ bl ReadFloat__12CInputStreamFv -/* 800746B4 00071614 D0 3E 01 10 */ stfs f1, 0x110(r30) -/* 800746B8 00071618 7F E3 FB 78 */ mr r3, r31 -/* 800746BC 0007161C 48 2C A5 6D */ bl ReadFloat__12CInputStreamFv -/* 800746C0 00071620 D0 3E 01 14 */ stfs f1, 0x114(r30) -/* 800746C4 00071624 7F E3 FB 78 */ mr r3, r31 -/* 800746C8 00071628 48 2C A5 61 */ bl ReadFloat__12CInputStreamFv -/* 800746CC 0007162C D0 3E 01 18 */ stfs f1, 0x118(r30) -/* 800746D0 00071630 7F E3 FB 78 */ mr r3, r31 -/* 800746D4 00071634 48 2C A5 55 */ bl ReadFloat__12CInputStreamFv -/* 800746D8 00071638 D0 3E 01 1C */ stfs f1, 0x11c(r30) -/* 800746DC 0007163C 7F E3 FB 78 */ mr r3, r31 -/* 800746E0 00071640 48 2C A5 49 */ bl ReadFloat__12CInputStreamFv -/* 800746E4 00071644 D0 3E 01 20 */ stfs f1, 0x120(r30) -/* 800746E8 00071648 7F E3 FB 78 */ mr r3, r31 -/* 800746EC 0007164C 48 2C A5 3D */ bl ReadFloat__12CInputStreamFv -/* 800746F0 00071650 D0 3E 01 24 */ stfs f1, 0x124(r30) -/* 800746F4 00071654 7F E3 FB 78 */ mr r3, r31 -/* 800746F8 00071658 48 2C A5 31 */ bl ReadFloat__12CInputStreamFv -/* 800746FC 0007165C D0 3E 01 28 */ stfs f1, 0x128(r30) -/* 80074700 00071660 7F E3 FB 78 */ mr r3, r31 -/* 80074704 00071664 48 2C A5 25 */ bl ReadFloat__12CInputStreamFv -/* 80074708 00071668 D0 3E 01 2C */ stfs f1, 0x12c(r30) -/* 8007470C 0007166C 7F E3 FB 78 */ mr r3, r31 -/* 80074710 00071670 48 2C A5 CD */ bl ReadBool__12CInputStreamFv -/* 80074714 00071674 98 7E 01 30 */ stb r3, 0x130(r30) -/* 80074718 00071678 7F E3 FB 78 */ mr r3, r31 -/* 8007471C 0007167C 48 2C A5 0D */ bl ReadFloat__12CInputStreamFv -/* 80074720 00071680 D0 3E 01 34 */ stfs f1, 0x134(r30) -/* 80074724 00071684 7F E3 FB 78 */ mr r3, r31 -/* 80074728 00071688 48 2C A5 01 */ bl ReadFloat__12CInputStreamFv -/* 8007472C 0007168C D0 3E 01 38 */ stfs f1, 0x138(r30) -/* 80074730 00071690 7F E3 FB 78 */ mr r3, r31 -/* 80074734 00071694 48 2C A5 51 */ bl ReadLong__12CInputStreamFv -/* 80074738 00071698 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8007473C 0007169C 3C 00 43 30 */ lis r0, 0x4330 -/* 80074740 000716A0 90 61 00 3C */ stw r3, 0x3c(r1) -/* 80074744 000716A4 7F E3 FB 78 */ mr r3, r31 -/* 80074748 000716A8 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) -/* 8007474C 000716AC 90 01 00 38 */ stw r0, 0x38(r1) -/* 80074750 000716B0 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 80074754 000716B4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80074758 000716B8 D0 1E 01 3C */ stfs f0, 0x13c(r30) -/* 8007475C 000716BC 48 2C A5 29 */ bl ReadLong__12CInputStreamFv -/* 80074760 000716C0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80074764 000716C4 3C 00 43 30 */ lis r0, 0x4330 -/* 80074768 000716C8 90 61 00 44 */ stw r3, 0x44(r1) -/* 8007476C 000716CC 7F E3 FB 78 */ mr r3, r31 -/* 80074770 000716D0 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) -/* 80074774 000716D4 90 01 00 40 */ stw r0, 0x40(r1) -/* 80074778 000716D8 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 8007477C 000716DC EC 00 08 28 */ fsubs f0, f0, f1 -/* 80074780 000716E0 D0 1E 01 40 */ stfs f0, 0x140(r30) -/* 80074784 000716E4 48 2C A5 01 */ bl ReadLong__12CInputStreamFv -/* 80074788 000716E8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8007478C 000716EC 3C 00 43 30 */ lis r0, 0x4330 -/* 80074790 000716F0 90 61 00 4C */ stw r3, 0x4c(r1) -/* 80074794 000716F4 7F E3 FB 78 */ mr r3, r31 -/* 80074798 000716F8 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) -/* 8007479C 000716FC 90 01 00 48 */ stw r0, 0x48(r1) -/* 800747A0 00071700 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 800747A4 00071704 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800747A8 00071708 D0 1E 01 44 */ stfs f0, 0x144(r30) -/* 800747AC 0007170C 48 2C A4 D9 */ bl ReadLong__12CInputStreamFv -/* 800747B0 00071710 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 800747B4 00071714 3C 00 43 30 */ lis r0, 0x4330 -/* 800747B8 00071718 90 61 00 54 */ stw r3, 0x54(r1) -/* 800747BC 0007171C 7F E3 FB 78 */ mr r3, r31 -/* 800747C0 00071720 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) -/* 800747C4 00071724 90 01 00 50 */ stw r0, 0x50(r1) -/* 800747C8 00071728 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 800747CC 0007172C EC 00 08 28 */ fsubs f0, f0, f1 -/* 800747D0 00071730 D0 1E 01 48 */ stfs f0, 0x148(r30) -/* 800747D4 00071734 48 2C A4 B1 */ bl ReadLong__12CInputStreamFv -/* 800747D8 00071738 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 800747DC 0007173C 3C 00 43 30 */ lis r0, 0x4330 -/* 800747E0 00071740 90 61 00 5C */ stw r3, 0x5c(r1) -/* 800747E4 00071744 7F E4 FB 78 */ mr r4, r31 -/* 800747E8 00071748 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2) -/* 800747EC 0007174C 38 7E 01 50 */ addi r3, r30, 0x150 -/* 800747F0 00071750 90 01 00 58 */ stw r0, 0x58(r1) -/* 800747F4 00071754 38 A1 00 30 */ addi r5, r1, 0x30 -/* 800747F8 00071758 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 800747FC 0007175C EC 00 08 28 */ fsubs f0, f0, f1 -/* 80074800 00071760 D0 1E 01 4C */ stfs f0, 0x14c(r30) -/* 80074804 00071764 48 2C 9A F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074808 00071768 7F E4 FB 78 */ mr r4, r31 -/* 8007480C 0007176C 38 7E 01 60 */ addi r3, r30, 0x160 -/* 80074810 00071770 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80074814 00071774 48 2C 9A E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074818 00071778 7F E4 FB 78 */ mr r4, r31 -/* 8007481C 0007177C 38 7E 01 70 */ addi r3, r30, 0x170 -/* 80074820 00071780 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80074824 00071784 48 2C 9A D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074828 00071788 7F E4 FB 78 */ mr r4, r31 -/* 8007482C 0007178C 38 7E 01 80 */ addi r3, r30, 0x180 -/* 80074830 00071790 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80074834 00071794 48 2C 9A C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074838 00071798 7F E4 FB 78 */ mr r4, r31 -/* 8007483C 0007179C 38 7E 01 90 */ addi r3, r30, 0x190 -/* 80074840 000717A0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80074844 000717A4 48 2C 9A B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074848 000717A8 7F E3 FB 78 */ mr r3, r31 -/* 8007484C 000717AC 48 2C A3 DD */ bl ReadFloat__12CInputStreamFv -/* 80074850 000717B0 D0 3E 01 A0 */ stfs f1, 0x1a0(r30) -/* 80074854 000717B4 7F E3 FB 78 */ mr r3, r31 -/* 80074858 000717B8 48 2C A3 D1 */ bl ReadFloat__12CInputStreamFv -/* 8007485C 000717BC D0 3E 01 A4 */ stfs f1, 0x1a4(r30) -/* 80074860 000717C0 7F E3 FB 78 */ mr r3, r31 -/* 80074864 000717C4 48 2C A3 C5 */ bl ReadFloat__12CInputStreamFv -/* 80074868 000717C8 D0 3E 01 A8 */ stfs f1, 0x1a8(r30) -/* 8007486C 000717CC 7F E3 FB 78 */ mr r3, r31 -/* 80074870 000717D0 48 2C A3 B9 */ bl ReadFloat__12CInputStreamFv -/* 80074874 000717D4 D0 3E 01 AC */ stfs f1, 0x1ac(r30) -/* 80074878 000717D8 7F E3 FB 78 */ mr r3, r31 -/* 8007487C 000717DC 48 2C A3 AD */ bl ReadFloat__12CInputStreamFv -/* 80074880 000717E0 D0 3E 01 B0 */ stfs f1, 0x1b0(r30) -/* 80074884 000717E4 7F E3 FB 78 */ mr r3, r31 -/* 80074888 000717E8 48 2C A3 A1 */ bl ReadFloat__12CInputStreamFv -/* 8007488C 000717EC D0 3E 01 B4 */ stfs f1, 0x1b4(r30) -/* 80074890 000717F0 7F E3 FB 78 */ mr r3, r31 -/* 80074894 000717F4 48 2C A3 95 */ bl ReadFloat__12CInputStreamFv -/* 80074898 000717F8 D0 3E 01 B8 */ stfs f1, 0x1b8(r30) -/* 8007489C 000717FC 7F E3 FB 78 */ mr r3, r31 -/* 800748A0 00071800 48 2C A3 89 */ bl ReadFloat__12CInputStreamFv -/* 800748A4 00071804 D0 3E 01 BC */ stfs f1, 0x1bc(r30) -/* 800748A8 00071808 7F E3 FB 78 */ mr r3, r31 -/* 800748AC 0007180C 48 2C A3 7D */ bl ReadFloat__12CInputStreamFv -/* 800748B0 00071810 D0 3E 01 C0 */ stfs f1, 0x1c0(r30) -/* 800748B4 00071814 7F E3 FB 78 */ mr r3, r31 -/* 800748B8 00071818 48 2C A3 71 */ bl ReadFloat__12CInputStreamFv -/* 800748BC 0007181C D0 3E 01 C4 */ stfs f1, 0x1c4(r30) -/* 800748C0 00071820 7F E3 FB 78 */ mr r3, r31 -/* 800748C4 00071824 48 2C A3 65 */ bl ReadFloat__12CInputStreamFv -/* 800748C8 00071828 D0 3E 01 C8 */ stfs f1, 0x1c8(r30) -/* 800748CC 0007182C 7F E3 FB 78 */ mr r3, r31 -/* 800748D0 00071830 48 2C A4 0D */ bl ReadBool__12CInputStreamFv -/* 800748D4 00071834 98 7E 01 CC */ stb r3, 0x1cc(r30) -/* 800748D8 00071838 7F E3 FB 78 */ mr r3, r31 -/* 800748DC 0007183C 48 2C A4 01 */ bl ReadBool__12CInputStreamFv -/* 800748E0 00071840 98 7E 01 CD */ stb r3, 0x1cd(r30) -/* 800748E4 00071844 7F E3 FB 78 */ mr r3, r31 -/* 800748E8 00071848 48 2C A3 41 */ bl ReadFloat__12CInputStreamFv -/* 800748EC 0007184C D0 3E 01 D0 */ stfs f1, 0x1d0(r30) -/* 800748F0 00071850 7F E3 FB 78 */ mr r3, r31 -/* 800748F4 00071854 48 2C A3 35 */ bl ReadFloat__12CInputStreamFv -/* 800748F8 00071858 D0 3E 01 D4 */ stfs f1, 0x1d4(r30) -/* 800748FC 0007185C 7F E3 FB 78 */ mr r3, r31 -/* 80074900 00071860 48 2C A3 29 */ bl ReadFloat__12CInputStreamFv -/* 80074904 00071864 D0 3E 01 D8 */ stfs f1, 0x1d8(r30) -/* 80074908 00071868 7F E3 FB 78 */ mr r3, r31 -/* 8007490C 0007186C 48 2C A3 1D */ bl ReadFloat__12CInputStreamFv -/* 80074910 00071870 D0 3E 01 DC */ stfs f1, 0x1dc(r30) -/* 80074914 00071874 7F E3 FB 78 */ mr r3, r31 -/* 80074918 00071878 48 2C A3 11 */ bl ReadFloat__12CInputStreamFv -/* 8007491C 0007187C D0 3E 01 E0 */ stfs f1, 0x1e0(r30) -/* 80074920 00071880 7F E3 FB 78 */ mr r3, r31 -/* 80074924 00071884 48 2C A3 05 */ bl ReadFloat__12CInputStreamFv -/* 80074928 00071888 D0 3E 01 E4 */ stfs f1, 0x1e4(r30) -/* 8007492C 0007188C 7F E3 FB 78 */ mr r3, r31 -/* 80074930 00071890 48 2C A2 F9 */ bl ReadFloat__12CInputStreamFv -/* 80074934 00071894 D0 3E 01 E8 */ stfs f1, 0x1e8(r30) -/* 80074938 00071898 7F E3 FB 78 */ mr r3, r31 -/* 8007493C 0007189C 48 2C A2 ED */ bl ReadFloat__12CInputStreamFv -/* 80074940 000718A0 D0 3E 01 EC */ stfs f1, 0x1ec(r30) -/* 80074944 000718A4 7F E3 FB 78 */ mr r3, r31 -/* 80074948 000718A8 48 2C A2 E1 */ bl ReadFloat__12CInputStreamFv -/* 8007494C 000718AC D0 3E 01 F0 */ stfs f1, 0x1f0(r30) -/* 80074950 000718B0 7F E3 FB 78 */ mr r3, r31 -/* 80074954 000718B4 48 2C A2 D5 */ bl ReadFloat__12CInputStreamFv -/* 80074958 000718B8 D0 3E 01 F4 */ stfs f1, 0x1f4(r30) -/* 8007495C 000718BC 7F E3 FB 78 */ mr r3, r31 -/* 80074960 000718C0 48 2C A2 C9 */ bl ReadFloat__12CInputStreamFv -/* 80074964 000718C4 D0 3E 01 F8 */ stfs f1, 0x1f8(r30) -/* 80074968 000718C8 7F E3 FB 78 */ mr r3, r31 -/* 8007496C 000718CC 48 2C A2 BD */ bl ReadFloat__12CInputStreamFv -/* 80074970 000718D0 D0 3E 01 FC */ stfs f1, 0x1fc(r30) -/* 80074974 000718D4 38 7E 02 00 */ addi r3, r30, 0x200 -/* 80074978 000718D8 C0 62 88 94 */ lfs f3, lbl_805AA5B4@sda21(r2) -/* 8007497C 000718DC C0 3E 01 F4 */ lfs f1, 0x1f4(r30) -/* 80074980 000718E0 C0 5E 01 F8 */ lfs f2, 0x1f8(r30) -/* 80074984 000718E4 C0 1E 01 FC */ lfs f0, 0x1fc(r30) -/* 80074988 000718E8 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8007498C 000718EC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80074990 000718F0 C0 82 88 78 */ lfs f4, lbl_805AA598@sda21(r2) -/* 80074994 000718F4 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80074998 000718F8 48 2E EA 55 */ bl __ct__6CColorFffff -/* 8007499C 000718FC C0 22 88 98 */ lfs f1, lbl_805AA5B8@sda21(r2) -/* 800749A0 00071900 7F E3 FB 78 */ mr r3, r31 -/* 800749A4 00071904 C0 02 88 9C */ lfs f0, lbl_805AA5BC@sda21(r2) -/* 800749A8 00071908 D0 3E 02 04 */ stfs f1, 0x204(r30) -/* 800749AC 0007190C D0 1E 02 08 */ stfs f0, 0x208(r30) -/* 800749B0 00071910 48 2C A2 79 */ bl ReadFloat__12CInputStreamFv -/* 800749B4 00071914 D0 3E 02 0C */ stfs f1, 0x20c(r30) -/* 800749B8 00071918 7F E3 FB 78 */ mr r3, r31 -/* 800749BC 0007191C 48 2C A2 6D */ bl ReadFloat__12CInputStreamFv -/* 800749C0 00071920 C0 02 88 90 */ lfs f0, lbl_805AA5B0@sda21(r2) -/* 800749C4 00071924 7F E3 FB 78 */ mr r3, r31 -/* 800749C8 00071928 C0 42 88 8C */ lfs f2, lbl_805AA5AC@sda21(r2) -/* 800749CC 0007192C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800749D0 00071930 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800749D4 00071934 D0 1E 02 10 */ stfs f0, 0x210(r30) -/* 800749D8 00071938 48 2C A2 51 */ bl ReadFloat__12CInputStreamFv -/* 800749DC 0007193C D0 3E 02 14 */ stfs f1, 0x214(r30) -/* 800749E0 00071940 7F E3 FB 78 */ mr r3, r31 -/* 800749E4 00071944 48 2C A2 45 */ bl ReadFloat__12CInputStreamFv -/* 800749E8 00071948 D0 3E 02 18 */ stfs f1, 0x218(r30) -/* 800749EC 0007194C 7F E3 FB 78 */ mr r3, r31 -/* 800749F0 00071950 48 2C A2 39 */ bl ReadFloat__12CInputStreamFv -/* 800749F4 00071954 D0 3E 02 1C */ stfs f1, 0x21c(r30) -/* 800749F8 00071958 7F E3 FB 78 */ mr r3, r31 -/* 800749FC 0007195C 48 2C A2 2D */ bl ReadFloat__12CInputStreamFv -/* 80074A00 00071960 D0 3E 02 20 */ stfs f1, 0x220(r30) -/* 80074A04 00071964 7F E3 FB 78 */ mr r3, r31 -/* 80074A08 00071968 48 2C A2 21 */ bl ReadFloat__12CInputStreamFv -/* 80074A0C 0007196C D0 3E 02 24 */ stfs f1, 0x224(r30) -/* 80074A10 00071970 7F E3 FB 78 */ mr r3, r31 -/* 80074A14 00071974 C0 3E 02 20 */ lfs f1, 0x220(r30) -/* 80074A18 00071978 C0 1E 02 24 */ lfs f0, 0x224(r30) -/* 80074A1C 0007197C EC 01 00 2A */ fadds f0, f1, f0 -/* 80074A20 00071980 D0 1E 02 28 */ stfs f0, 0x228(r30) -/* 80074A24 00071984 48 2C A2 05 */ bl ReadFloat__12CInputStreamFv -/* 80074A28 00071988 D0 3E 02 2C */ stfs f1, 0x22c(r30) -/* 80074A2C 0007198C 7F E3 FB 78 */ mr r3, r31 -/* 80074A30 00071990 48 2C A1 F9 */ bl ReadFloat__12CInputStreamFv -/* 80074A34 00071994 D0 3E 02 30 */ stfs f1, 0x230(r30) -/* 80074A38 00071998 7F E3 FB 78 */ mr r3, r31 -/* 80074A3C 0007199C 48 2C A1 ED */ bl ReadFloat__12CInputStreamFv -/* 80074A40 000719A0 D0 3E 02 34 */ stfs f1, 0x234(r30) -/* 80074A44 000719A4 7F E3 FB 78 */ mr r3, r31 -/* 80074A48 000719A8 48 2C A1 E1 */ bl ReadFloat__12CInputStreamFv -/* 80074A4C 000719AC D0 3E 02 38 */ stfs f1, 0x238(r30) -/* 80074A50 000719B0 7F E3 FB 78 */ mr r3, r31 -/* 80074A54 000719B4 48 2C A1 D5 */ bl ReadFloat__12CInputStreamFv -/* 80074A58 000719B8 D0 3E 02 3C */ stfs f1, 0x23c(r30) -/* 80074A5C 000719BC 7F E3 FB 78 */ mr r3, r31 -/* 80074A60 000719C0 48 2C A1 C9 */ bl ReadFloat__12CInputStreamFv -/* 80074A64 000719C4 D0 3E 02 40 */ stfs f1, 0x240(r30) -/* 80074A68 000719C8 7F E3 FB 78 */ mr r3, r31 -/* 80074A6C 000719CC 48 2C A1 BD */ bl ReadFloat__12CInputStreamFv -/* 80074A70 000719D0 D0 3E 02 44 */ stfs f1, 0x244(r30) -/* 80074A74 000719D4 7F E3 FB 78 */ mr r3, r31 -/* 80074A78 000719D8 48 2C A1 B1 */ bl ReadFloat__12CInputStreamFv -/* 80074A7C 000719DC D0 3E 02 48 */ stfs f1, 0x248(r30) -/* 80074A80 000719E0 7F E3 FB 78 */ mr r3, r31 -/* 80074A84 000719E4 48 2C A1 A5 */ bl ReadFloat__12CInputStreamFv -/* 80074A88 000719E8 D0 3E 02 4C */ stfs f1, 0x24c(r30) -/* 80074A8C 000719EC 7F E3 FB 78 */ mr r3, r31 -/* 80074A90 000719F0 48 2C A1 99 */ bl ReadFloat__12CInputStreamFv -/* 80074A94 000719F4 D0 3E 02 50 */ stfs f1, 0x250(r30) -/* 80074A98 000719F8 7F E3 FB 78 */ mr r3, r31 -/* 80074A9C 000719FC 48 2C A1 8D */ bl ReadFloat__12CInputStreamFv -/* 80074AA0 00071A00 D0 3E 02 54 */ stfs f1, 0x254(r30) -/* 80074AA4 00071A04 7F E3 FB 78 */ mr r3, r31 -/* 80074AA8 00071A08 48 2C A1 81 */ bl ReadFloat__12CInputStreamFv -/* 80074AAC 00071A0C D0 3E 02 58 */ stfs f1, 0x258(r30) -/* 80074AB0 00071A10 7F E3 FB 78 */ mr r3, r31 -/* 80074AB4 00071A14 48 2C A1 75 */ bl ReadFloat__12CInputStreamFv -/* 80074AB8 00071A18 D0 3E 02 5C */ stfs f1, 0x25c(r30) -/* 80074ABC 00071A1C 7F E3 FB 78 */ mr r3, r31 -/* 80074AC0 00071A20 48 2C A1 69 */ bl ReadFloat__12CInputStreamFv -/* 80074AC4 00071A24 D0 3E 02 60 */ stfs f1, 0x260(r30) -/* 80074AC8 00071A28 7F E3 FB 78 */ mr r3, r31 -/* 80074ACC 00071A2C 48 2C A1 5D */ bl ReadFloat__12CInputStreamFv -/* 80074AD0 00071A30 D0 3E 02 64 */ stfs f1, 0x264(r30) -/* 80074AD4 00071A34 7F E3 FB 78 */ mr r3, r31 -/* 80074AD8 00071A38 48 2C A1 51 */ bl ReadFloat__12CInputStreamFv -/* 80074ADC 00071A3C D0 3E 02 68 */ stfs f1, 0x268(r30) -/* 80074AE0 00071A40 7F E3 FB 78 */ mr r3, r31 -/* 80074AE4 00071A44 48 2C A1 45 */ bl ReadFloat__12CInputStreamFv -/* 80074AE8 00071A48 D0 3E 02 6C */ stfs f1, 0x26c(r30) -/* 80074AEC 00071A4C 7F E3 FB 78 */ mr r3, r31 -/* 80074AF0 00071A50 48 2C A1 39 */ bl ReadFloat__12CInputStreamFv -/* 80074AF4 00071A54 D0 3E 02 70 */ stfs f1, 0x270(r30) -/* 80074AF8 00071A58 7F E3 FB 78 */ mr r3, r31 -/* 80074AFC 00071A5C 48 2C A1 E1 */ bl ReadBool__12CInputStreamFv -/* 80074B00 00071A60 98 7E 02 74 */ stb r3, 0x274(r30) -/* 80074B04 00071A64 38 00 00 01 */ li r0, 1 -/* 80074B08 00071A68 7F E3 FB 78 */ mr r3, r31 -/* 80074B0C 00071A6C 98 1E 02 75 */ stb r0, 0x275(r30) -/* 80074B10 00071A70 48 2C A1 19 */ bl ReadFloat__12CInputStreamFv -/* 80074B14 00071A74 D0 3E 02 78 */ stfs f1, 0x278(r30) -/* 80074B18 00071A78 7F E3 FB 78 */ mr r3, r31 -/* 80074B1C 00071A7C 48 2C A1 69 */ bl ReadLong__12CInputStreamFv -/* 80074B20 00071A80 2C 03 00 02 */ cmpwi r3, 2 -/* 80074B24 00071A84 41 82 00 34 */ beq lbl_80074B58 -/* 80074B28 00071A88 40 80 00 14 */ bge lbl_80074B3C -/* 80074B2C 00071A8C 2C 03 00 00 */ cmpwi r3, 0 -/* 80074B30 00071A90 41 82 00 18 */ beq lbl_80074B48 -/* 80074B34 00071A94 40 80 00 1C */ bge lbl_80074B50 -/* 80074B38 00071A98 48 00 00 30 */ b lbl_80074B68 -lbl_80074B3C: -/* 80074B3C 00071A9C 2C 03 00 04 */ cmpwi r3, 4 -/* 80074B40 00071AA0 40 80 00 28 */ bge lbl_80074B68 -/* 80074B44 00071AA4 48 00 00 1C */ b lbl_80074B60 -lbl_80074B48: -/* 80074B48 00071AA8 38 00 00 00 */ li r0, 0 -/* 80074B4C 00071AAC 48 00 00 20 */ b lbl_80074B6C -lbl_80074B50: -/* 80074B50 00071AB0 38 00 00 02 */ li r0, 2 -/* 80074B54 00071AB4 48 00 00 18 */ b lbl_80074B6C -lbl_80074B58: -/* 80074B58 00071AB8 38 00 00 04 */ li r0, 4 -/* 80074B5C 00071ABC 48 00 00 10 */ b lbl_80074B6C -lbl_80074B60: -/* 80074B60 00071AC0 38 00 00 05 */ li r0, 5 -/* 80074B64 00071AC4 48 00 00 08 */ b lbl_80074B6C -lbl_80074B68: -/* 80074B68 00071AC8 38 00 00 00 */ li r0, 0 -lbl_80074B6C: -/* 80074B6C 00071ACC 90 1E 02 7C */ stw r0, 0x27c(r30) -/* 80074B70 00071AD0 7F E3 FB 78 */ mr r3, r31 -/* 80074B74 00071AD4 48 2C A0 B5 */ bl ReadFloat__12CInputStreamFv -/* 80074B78 00071AD8 D0 3E 02 80 */ stfs f1, 0x280(r30) -/* 80074B7C 00071ADC 7F E3 FB 78 */ mr r3, r31 -/* 80074B80 00071AE0 48 2C A0 A9 */ bl ReadFloat__12CInputStreamFv -/* 80074B84 00071AE4 D0 3E 02 84 */ stfs f1, 0x284(r30) -/* 80074B88 00071AE8 7F E4 FB 78 */ mr r4, r31 -/* 80074B8C 00071AEC 38 7E 02 88 */ addi r3, r30, 0x288 -/* 80074B90 00071AF0 48 2E E8 BD */ bl __ct__6CColorFR12CInputStream -/* 80074B94 00071AF4 7F E3 FB 78 */ mr r3, r31 -/* 80074B98 00071AF8 48 2C A0 91 */ bl ReadFloat__12CInputStreamFv -/* 80074B9C 00071AFC D0 3E 02 8C */ stfs f1, 0x28c(r30) -/* 80074BA0 00071B00 7F E4 FB 78 */ mr r4, r31 -/* 80074BA4 00071B04 38 7E 02 90 */ addi r3, r30, 0x290 -/* 80074BA8 00071B08 48 2E E8 A5 */ bl __ct__6CColorFR12CInputStream -/* 80074BAC 00071B0C 7F E4 FB 78 */ mr r4, r31 -/* 80074BB0 00071B10 38 7E 02 94 */ addi r3, r30, 0x294 -/* 80074BB4 00071B14 48 2E E8 99 */ bl __ct__6CColorFR12CInputStream -/* 80074BB8 00071B18 7F E4 FB 78 */ mr r4, r31 -/* 80074BBC 00071B1C 38 7E 02 98 */ addi r3, r30, 0x298 -/* 80074BC0 00071B20 48 2E E8 8D */ bl __ct__6CColorFR12CInputStream -/* 80074BC4 00071B24 7F E4 FB 78 */ mr r4, r31 -/* 80074BC8 00071B28 38 7E 02 9C */ addi r3, r30, 0x29c -/* 80074BCC 00071B2C 48 2E E8 81 */ bl __ct__6CColorFR12CInputStream -/* 80074BD0 00071B30 7F E4 FB 78 */ mr r4, r31 -/* 80074BD4 00071B34 38 7E 02 A0 */ addi r3, r30, 0x2a0 -/* 80074BD8 00071B38 48 2E E8 75 */ bl __ct__6CColorFR12CInputStream -/* 80074BDC 00071B3C 7F E4 FB 78 */ mr r4, r31 -/* 80074BE0 00071B40 38 7E 02 A4 */ addi r3, r30, 0x2a4 -/* 80074BE4 00071B44 48 2E E8 69 */ bl __ct__6CColorFR12CInputStream -/* 80074BE8 00071B48 7F E4 FB 78 */ mr r4, r31 -/* 80074BEC 00071B4C 38 7E 02 A8 */ addi r3, r30, 0x2a8 -/* 80074BF0 00071B50 48 2E E8 5D */ bl __ct__6CColorFR12CInputStream -/* 80074BF4 00071B54 7F E4 FB 78 */ mr r4, r31 -/* 80074BF8 00071B58 38 7E 02 AC */ addi r3, r30, 0x2ac -/* 80074BFC 00071B5C 48 2E E8 51 */ bl __ct__6CColorFR12CInputStream -/* 80074C00 00071B60 7F E4 FB 78 */ mr r4, r31 -/* 80074C04 00071B64 38 7E 02 B0 */ addi r3, r30, 0x2b0 -/* 80074C08 00071B68 48 2E E8 45 */ bl __ct__6CColorFR12CInputStream -/* 80074C0C 00071B6C 7F E4 FB 78 */ mr r4, r31 -/* 80074C10 00071B70 38 7E 02 B4 */ addi r3, r30, 0x2b4 -/* 80074C14 00071B74 48 2E E8 39 */ bl __ct__6CColorFR12CInputStream -/* 80074C18 00071B78 7F E3 FB 78 */ mr r3, r31 -/* 80074C1C 00071B7C 48 2C A0 0D */ bl ReadFloat__12CInputStreamFv -/* 80074C20 00071B80 D0 3E 02 B8 */ stfs f1, 0x2b8(r30) -/* 80074C24 00071B84 7F E3 FB 78 */ mr r3, r31 -/* 80074C28 00071B88 48 2C A0 01 */ bl ReadFloat__12CInputStreamFv -/* 80074C2C 00071B8C D0 3E 02 BC */ stfs f1, 0x2bc(r30) -/* 80074C30 00071B90 7F E3 FB 78 */ mr r3, r31 -/* 80074C34 00071B94 48 2C 9F F5 */ bl ReadFloat__12CInputStreamFv -/* 80074C38 00071B98 D0 3E 02 C0 */ stfs f1, 0x2c0(r30) -/* 80074C3C 00071B9C 7F E3 FB 78 */ mr r3, r31 -/* 80074C40 00071BA0 48 2C A0 45 */ bl ReadLong__12CInputStreamFv -/* 80074C44 00071BA4 3B A0 00 00 */ li r29, 0 -/* 80074C48 00071BA8 90 7E 02 C4 */ stw r3, 0x2c4(r30) -/* 80074C4C 00071BAC 7F BC EB 78 */ mr r28, r29 -/* 80074C50 00071BB0 48 00 00 24 */ b lbl_80074C74 -lbl_80074C54: -/* 80074C54 00071BB4 7F E3 FB 78 */ mr r3, r31 -/* 80074C58 00071BB8 48 2C 9F D1 */ bl ReadFloat__12CInputStreamFv -/* 80074C5C 00071BBC 7C 7E E2 14 */ add r3, r30, r28 -/* 80074C60 00071BC0 34 63 02 C8 */ addic. r3, r3, 0x2c8 -/* 80074C64 00071BC4 41 82 00 08 */ beq lbl_80074C6C -/* 80074C68 00071BC8 D0 23 00 00 */ stfs f1, 0(r3) -lbl_80074C6C: -/* 80074C6C 00071BCC 3B 9C 00 04 */ addi r28, r28, 4 -/* 80074C70 00071BD0 3B BD 00 01 */ addi r29, r29, 1 -lbl_80074C74: -/* 80074C74 00071BD4 80 1E 02 C4 */ lwz r0, 0x2c4(r30) -/* 80074C78 00071BD8 7C 1D 00 00 */ cmpw r29, r0 -/* 80074C7C 00071BDC 41 80 FF D8 */ blt lbl_80074C54 -/* 80074C80 00071BE0 7F E4 FB 78 */ mr r4, r31 -/* 80074C84 00071BE4 38 7E 02 D0 */ addi r3, r30, 0x2d0 -/* 80074C88 00071BE8 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80074C8C 00071BEC 48 2C 96 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074C90 00071BF0 7F E4 FB 78 */ mr r4, r31 -/* 80074C94 00071BF4 38 7E 02 E0 */ addi r3, r30, 0x2e0 -/* 80074C98 00071BF8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80074C9C 00071BFC 48 2C 96 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074CA0 00071C00 7F E4 FB 78 */ mr r4, r31 -/* 80074CA4 00071C04 38 7E 02 F0 */ addi r3, r30, 0x2f0 -/* 80074CA8 00071C08 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80074CAC 00071C0C 48 2C 96 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074CB0 00071C10 7F E4 FB 78 */ mr r4, r31 -/* 80074CB4 00071C14 38 7E 03 00 */ addi r3, r30, 0x300 -/* 80074CB8 00071C18 48 2E E7 95 */ bl __ct__6CColorFR12CInputStream -/* 80074CBC 00071C1C 7F E4 FB 78 */ mr r4, r31 -/* 80074CC0 00071C20 38 7E 03 04 */ addi r3, r30, 0x304 -/* 80074CC4 00071C24 48 2E E7 89 */ bl __ct__6CColorFR12CInputStream -/* 80074CC8 00071C28 7F E3 FB 78 */ mr r3, r31 -/* 80074CCC 00071C2C 48 2C 9F 5D */ bl ReadFloat__12CInputStreamFv -/* 80074CD0 00071C30 D0 3E 03 08 */ stfs f1, 0x308(r30) -/* 80074CD4 00071C34 7F E3 FB 78 */ mr r3, r31 -/* 80074CD8 00071C38 48 2C 9F 51 */ bl ReadFloat__12CInputStreamFv -/* 80074CDC 00071C3C D0 3E 03 0C */ stfs f1, 0x30c(r30) -/* 80074CE0 00071C40 7F E3 FB 78 */ mr r3, r31 -/* 80074CE4 00071C44 48 2C 9F 45 */ bl ReadFloat__12CInputStreamFv -/* 80074CE8 00071C48 D0 3E 03 10 */ stfs f1, 0x310(r30) -/* 80074CEC 00071C4C 7F E4 FB 78 */ mr r4, r31 -/* 80074CF0 00071C50 38 7E 03 14 */ addi r3, r30, 0x314 -/* 80074CF4 00071C54 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80074CF8 00071C58 48 2C 96 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074CFC 00071C5C 7F E4 FB 78 */ mr r4, r31 -/* 80074D00 00071C60 38 7E 03 24 */ addi r3, r30, 0x324 -/* 80074D04 00071C64 38 A1 00 0C */ addi r5, r1, 0xc -/* 80074D08 00071C68 48 2C 95 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074D0C 00071C6C 7F E4 FB 78 */ mr r4, r31 -/* 80074D10 00071C70 38 7E 03 34 */ addi r3, r30, 0x334 -/* 80074D14 00071C74 38 A1 00 08 */ addi r5, r1, 8 -/* 80074D18 00071C78 48 2C 95 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80074D1C 00071C7C 7F E4 FB 78 */ mr r4, r31 -/* 80074D20 00071C80 38 7E 03 44 */ addi r3, r30, 0x344 -/* 80074D24 00071C84 48 2E E7 29 */ bl __ct__6CColorFR12CInputStream -/* 80074D28 00071C88 7F E4 FB 78 */ mr r4, r31 -/* 80074D2C 00071C8C 38 7E 03 48 */ addi r3, r30, 0x348 -/* 80074D30 00071C90 48 2E E7 1D */ bl __ct__6CColorFR12CInputStream -/* 80074D34 00071C94 7F E4 FB 78 */ mr r4, r31 -/* 80074D38 00071C98 38 7E 03 4C */ addi r3, r30, 0x34c -/* 80074D3C 00071C9C 48 2E E7 11 */ bl __ct__6CColorFR12CInputStream -/* 80074D40 00071CA0 7F E4 FB 78 */ mr r4, r31 -/* 80074D44 00071CA4 38 7E 03 50 */ addi r3, r30, 0x350 -/* 80074D48 00071CA8 48 2E E7 05 */ bl __ct__6CColorFR12CInputStream -/* 80074D4C 00071CAC 7F E4 FB 78 */ mr r4, r31 -/* 80074D50 00071CB0 38 7E 03 54 */ addi r3, r30, 0x354 -/* 80074D54 00071CB4 48 2E E6 F9 */ bl __ct__6CColorFR12CInputStream -/* 80074D58 00071CB8 7F E4 FB 78 */ mr r4, r31 -/* 80074D5C 00071CBC 38 7E 03 58 */ addi r3, r30, 0x358 -/* 80074D60 00071CC0 48 2E E6 ED */ bl __ct__6CColorFR12CInputStream -/* 80074D64 00071CC4 7F E3 FB 78 */ mr r3, r31 -/* 80074D68 00071CC8 48 2C 9E C1 */ bl ReadFloat__12CInputStreamFv -/* 80074D6C 00071CCC D0 3E 03 5C */ stfs f1, 0x35c(r30) -/* 80074D70 00071CD0 7F E3 FB 78 */ mr r3, r31 -/* 80074D74 00071CD4 48 2C 9E B5 */ bl ReadFloat__12CInputStreamFv -/* 80074D78 00071CD8 D0 3E 03 60 */ stfs f1, 0x360(r30) -/* 80074D7C 00071CDC 7F E3 FB 78 */ mr r3, r31 -/* 80074D80 00071CE0 48 2C 9E A9 */ bl ReadFloat__12CInputStreamFv -/* 80074D84 00071CE4 D0 3E 03 64 */ stfs f1, 0x364(r30) -/* 80074D88 00071CE8 7F C3 F3 78 */ mr r3, r30 -/* 80074D8C 00071CEC C0 02 88 A0 */ lfs f0, lbl_805AA5C0@sda21(r2) -/* 80074D90 00071CF0 C0 3E 00 84 */ lfs f1, 0x84(r30) -/* 80074D94 00071CF4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80074D98 00071CF8 D0 1E 00 84 */ stfs f0, 0x84(r30) -/* 80074D9C 00071CFC 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80074DA0 00071D00 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80074DA4 00071D04 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80074DA8 00071D08 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80074DAC 00071D0C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80074DB0 00071D10 7C 08 03 A6 */ mtlr r0 -/* 80074DB4 00071D14 38 21 00 70 */ addi r1, r1, 0x70 -/* 80074DB8 00071D18 4E 80 00 20 */ blr - -.global __dt__9CTweakGuiFv -__dt__9CTweakGuiFv: -/* 80074DBC 00071D1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80074DC0 00071D20 7C 08 02 A6 */ mflr r0 -/* 80074DC4 00071D24 90 01 00 14 */ stw r0, 0x14(r1) -/* 80074DC8 00071D28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80074DCC 00071D2C 7C 9F 23 78 */ mr r31, r4 -/* 80074DD0 00071D30 93 C1 00 08 */ stw r30, 8(r1) -/* 80074DD4 00071D34 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80074DD8 00071D38 41 82 01 40 */ beq lbl_80074F18 -/* 80074DDC 00071D3C 3C 60 80 3E */ lis r3, lbl_803DA440@ha -/* 80074DE0 00071D40 34 1E 03 34 */ addic. r0, r30, 0x334 -/* 80074DE4 00071D44 38 03 A4 40 */ addi r0, r3, lbl_803DA440@l -/* 80074DE8 00071D48 90 1E 00 00 */ stw r0, 0(r30) -/* 80074DEC 00071D4C 41 82 00 0C */ beq lbl_80074DF8 -/* 80074DF0 00071D50 38 7E 03 34 */ addi r3, r30, 0x334 -/* 80074DF4 00071D54 48 2C 8C ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074DF8: -/* 80074DF8 00071D58 34 1E 03 24 */ addic. r0, r30, 0x324 -/* 80074DFC 00071D5C 41 82 00 0C */ beq lbl_80074E08 -/* 80074E00 00071D60 38 7E 03 24 */ addi r3, r30, 0x324 -/* 80074E04 00071D64 48 2C 8C DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074E08: -/* 80074E08 00071D68 34 1E 03 14 */ addic. r0, r30, 0x314 -/* 80074E0C 00071D6C 41 82 00 0C */ beq lbl_80074E18 -/* 80074E10 00071D70 38 7E 03 14 */ addi r3, r30, 0x314 -/* 80074E14 00071D74 48 2C 8C CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074E18: -/* 80074E18 00071D78 34 1E 02 F0 */ addic. r0, r30, 0x2f0 -/* 80074E1C 00071D7C 41 82 00 0C */ beq lbl_80074E28 -/* 80074E20 00071D80 38 7E 02 F0 */ addi r3, r30, 0x2f0 -/* 80074E24 00071D84 48 2C 8C BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074E28: -/* 80074E28 00071D88 34 1E 02 E0 */ addic. r0, r30, 0x2e0 -/* 80074E2C 00071D8C 41 82 00 0C */ beq lbl_80074E38 -/* 80074E30 00071D90 38 7E 02 E0 */ addi r3, r30, 0x2e0 -/* 80074E34 00071D94 48 2C 8C AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074E38: -/* 80074E38 00071D98 34 1E 02 D0 */ addic. r0, r30, 0x2d0 -/* 80074E3C 00071D9C 41 82 00 0C */ beq lbl_80074E48 -/* 80074E40 00071DA0 38 7E 02 D0 */ addi r3, r30, 0x2d0 -/* 80074E44 00071DA4 48 2C 8C 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074E48: -/* 80074E48 00071DA8 34 1E 02 C4 */ addic. r0, r30, 0x2c4 -/* 80074E4C 00071DAC 41 82 00 58 */ beq lbl_80074EA4 -/* 80074E50 00071DB0 80 BE 02 C4 */ lwz r5, 0x2c4(r30) -/* 80074E54 00071DB4 38 60 00 00 */ li r3, 0 -/* 80074E58 00071DB8 2C 05 00 00 */ cmpwi r5, 0 -/* 80074E5C 00071DBC 40 81 00 40 */ ble lbl_80074E9C -/* 80074E60 00071DC0 2C 05 00 08 */ cmpwi r5, 8 -/* 80074E64 00071DC4 38 85 FF F8 */ addi r4, r5, -8 -/* 80074E68 00071DC8 40 81 00 20 */ ble lbl_80074E88 -/* 80074E6C 00071DCC 38 04 00 07 */ addi r0, r4, 7 -/* 80074E70 00071DD0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80074E74 00071DD4 7C 09 03 A6 */ mtctr r0 -/* 80074E78 00071DD8 2C 04 00 00 */ cmpwi r4, 0 -/* 80074E7C 00071DDC 40 81 00 0C */ ble lbl_80074E88 -lbl_80074E80: -/* 80074E80 00071DE0 38 63 00 08 */ addi r3, r3, 8 -/* 80074E84 00071DE4 42 00 FF FC */ bdnz lbl_80074E80 -lbl_80074E88: -/* 80074E88 00071DE8 7C 03 28 50 */ subf r0, r3, r5 -/* 80074E8C 00071DEC 7C 09 03 A6 */ mtctr r0 -/* 80074E90 00071DF0 7C 03 28 00 */ cmpw r3, r5 -/* 80074E94 00071DF4 40 80 00 08 */ bge lbl_80074E9C -lbl_80074E98: -/* 80074E98 00071DF8 42 00 00 00 */ bdnz lbl_80074E98 -lbl_80074E9C: -/* 80074E9C 00071DFC 38 00 00 00 */ li r0, 0 -/* 80074EA0 00071E00 90 1E 02 C4 */ stw r0, 0x2c4(r30) -lbl_80074EA4: -/* 80074EA4 00071E04 34 1E 01 90 */ addic. r0, r30, 0x190 -/* 80074EA8 00071E08 41 82 00 0C */ beq lbl_80074EB4 -/* 80074EAC 00071E0C 38 7E 01 90 */ addi r3, r30, 0x190 -/* 80074EB0 00071E10 48 2C 8C 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074EB4: -/* 80074EB4 00071E14 34 1E 01 80 */ addic. r0, r30, 0x180 -/* 80074EB8 00071E18 41 82 00 0C */ beq lbl_80074EC4 -/* 80074EBC 00071E1C 38 7E 01 80 */ addi r3, r30, 0x180 -/* 80074EC0 00071E20 48 2C 8C 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074EC4: -/* 80074EC4 00071E24 34 1E 01 70 */ addic. r0, r30, 0x170 -/* 80074EC8 00071E28 41 82 00 0C */ beq lbl_80074ED4 -/* 80074ECC 00071E2C 38 7E 01 70 */ addi r3, r30, 0x170 -/* 80074ED0 00071E30 48 2C 8C 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074ED4: -/* 80074ED4 00071E34 34 1E 01 60 */ addic. r0, r30, 0x160 -/* 80074ED8 00071E38 41 82 00 0C */ beq lbl_80074EE4 -/* 80074EDC 00071E3C 38 7E 01 60 */ addi r3, r30, 0x160 -/* 80074EE0 00071E40 48 2C 8C 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074EE4: -/* 80074EE4 00071E44 34 1E 01 50 */ addic. r0, r30, 0x150 -/* 80074EE8 00071E48 41 82 00 0C */ beq lbl_80074EF4 -/* 80074EEC 00071E4C 38 7E 01 50 */ addi r3, r30, 0x150 -/* 80074EF0 00071E50 48 2C 8B F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80074EF4: -/* 80074EF4 00071E54 28 1E 00 00 */ cmplwi r30, 0 -/* 80074EF8 00071E58 41 82 00 10 */ beq lbl_80074F08 -/* 80074EFC 00071E5C 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 80074F00 00071E60 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 80074F04 00071E64 90 1E 00 00 */ stw r0, 0(r30) -lbl_80074F08: -/* 80074F08 00071E68 7F E0 07 35 */ extsh. r0, r31 -/* 80074F0C 00071E6C 40 81 00 0C */ ble lbl_80074F18 -/* 80074F10 00071E70 7F C3 F3 78 */ mr r3, r30 -/* 80074F14 00071E74 48 00 00 21 */ bl "__dl__22TOneStatic<9CTweakGui>FPv" -lbl_80074F18: -/* 80074F18 00071E78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80074F1C 00071E7C 7F C3 F3 78 */ mr r3, r30 -/* 80074F20 00071E80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80074F24 00071E84 83 C1 00 08 */ lwz r30, 8(r1) -/* 80074F28 00071E88 7C 08 03 A6 */ mtlr r0 -/* 80074F2C 00071E8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80074F30 00071E90 4E 80 00 20 */ blr - -.global "__dl__22TOneStatic<9CTweakGui>FPv" -"__dl__22TOneStatic<9CTweakGui>FPv": -/* 80074F34 00071E94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80074F38 00071E98 7C 08 02 A6 */ mflr r0 -/* 80074F3C 00071E9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80074F40 00071EA0 4B FC 20 C5 */ bl "ReferenceCount__22TOneStatic<9CTweakGui>Fv" -/* 80074F44 00071EA4 80 83 00 00 */ lwz r4, 0(r3) -/* 80074F48 00071EA8 38 04 FF FF */ addi r0, r4, -1 -/* 80074F4C 00071EAC 90 03 00 00 */ stw r0, 0(r3) -/* 80074F50 00071EB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80074F54 00071EB4 7C 08 03 A6 */ mtlr r0 -/* 80074F58 00071EB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80074F5C 00071EBC 4E 80 00 20 */ blr - -.global GetSortingBounds__12CScriptActorCFRC12CTransform4f -GetSortingBounds__12CScriptActorCFRC12CTransform4f: -/* 80074F60 00071EC0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80074F64 00071EC4 7C 08 02 A6 */ mflr r0 -/* 80074F68 00071EC8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80074F6C 00071ECC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80074F70 00071ED0 7C BF 2B 78 */ mr r31, r5 -/* 80074F74 00071ED4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80074F78 00071ED8 7C 9E 23 78 */ mr r30, r4 -/* 80074F7C 00071EDC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80074F80 00071EE0 7C 7D 1B 78 */ mr r29, r3 -/* 80074F84 00071EE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80074F88 00071EE8 A0 84 02 E0 */ lhz r4, 0x2e0(r4) -/* 80074F8C 00071EEC 7C 04 00 40 */ cmplw r4, r0 -/* 80074F90 00071EF0 41 82 00 28 */ beq lbl_80074FB8 -/* 80074F94 00071EF4 B0 81 00 08 */ sth r4, 8(r1) -/* 80074F98 00071EF8 7F E3 FB 78 */ mr r3, r31 -/* 80074F9C 00071EFC 38 81 00 08 */ addi r4, r1, 8 -/* 80074FA0 00071F00 4B FD 76 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80074FA4 00071F04 7C 64 1B 79 */ or. r4, r3, r3 -/* 80074FA8 00071F08 41 82 00 10 */ beq lbl_80074FB8 -/* 80074FAC 00071F0C 7F A3 EB 78 */ mr r3, r29 -/* 80074FB0 00071F10 48 00 17 1D */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80074FB4 00071F14 48 00 00 14 */ b lbl_80074FC8 -lbl_80074FB8: -/* 80074FB8 00071F18 7F A3 EB 78 */ mr r3, r29 -/* 80074FBC 00071F1C 7F C4 F3 78 */ mr r4, r30 -/* 80074FC0 00071F20 7F E5 FB 78 */ mr r5, r31 -/* 80074FC4 00071F24 4B FD E6 1D */ bl GetSortingBounds__6CActorCFRC12CTransform4f -lbl_80074FC8: -/* 80074FC8 00071F28 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80074FCC 00071F2C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80074FD0 00071F30 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80074FD4 00071F34 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80074FD8 00071F38 7C 08 03 A6 */ mtlr r0 -/* 80074FDC 00071F3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80074FE0 00071F40 4E 80 00 20 */ blr - -.global GetCollisionResponseType__12CScriptActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__12CScriptActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 80074FE4 00071F44 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80074FE8 00071F48 7C 08 02 A6 */ mflr r0 -/* 80074FEC 00071F4C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80074FF0 00071F50 BF 41 00 08 */ stmw r26, 8(r1) -/* 80074FF4 00071F54 7C 7A 1B 78 */ mr r26, r3 -/* 80074FF8 00071F58 7C 9B 23 78 */ mr r27, r4 -/* 80074FFC 00071F5C 7C BC 2B 78 */ mr r28, r5 -/* 80075000 00071F60 7C DD 33 78 */ mr r29, r6 -/* 80075004 00071F64 7C FE 3B 78 */ mr r30, r7 -/* 80075008 00071F68 81 83 00 00 */ lwz r12, 0(r3) -/* 8007500C 00071F6C 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80075010 00071F70 7D 89 03 A6 */ mtctr r12 -/* 80075014 00071F74 4E 80 04 21 */ bctrl -/* 80075018 00071F78 7F A4 EB 78 */ mr r4, r29 -/* 8007501C 00071F7C 7C 7F 1B 78 */ mr r31, r3 -/* 80075020 00071F80 38 A0 00 00 */ li r5, 0 -/* 80075024 00071F84 48 08 D4 99 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode -/* 80075028 00071F88 2C 03 00 02 */ cmpwi r3, 2 -/* 8007502C 00071F8C 40 82 00 2C */ bne lbl_80075058 -/* 80075030 00071F90 7F E3 FB 78 */ mr r3, r31 -/* 80075034 00071F94 7F A4 EB 78 */ mr r4, r29 -/* 80075038 00071F98 48 08 D4 59 */ bl GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode -/* 8007503C 00071F9C 2C 03 00 04 */ cmpwi r3, 4 -/* 80075040 00071FA0 40 80 00 18 */ bge lbl_80075058 -/* 80075044 00071FA4 2C 03 00 01 */ cmpwi r3, 1 -/* 80075048 00071FA8 40 80 00 08 */ bge lbl_80075050 -/* 8007504C 00071FAC 48 00 00 0C */ b lbl_80075058 -lbl_80075050: -/* 80075050 00071FB0 38 60 00 0F */ li r3, 0xf -/* 80075054 00071FB4 48 00 00 1C */ b lbl_80075070 -lbl_80075058: -/* 80075058 00071FB8 7F 43 D3 78 */ mr r3, r26 -/* 8007505C 00071FBC 7F 64 DB 78 */ mr r4, r27 -/* 80075060 00071FC0 7F 85 E3 78 */ mr r5, r28 -/* 80075064 00071FC4 7F A6 EB 78 */ mr r6, r29 -/* 80075068 00071FC8 7F C7 F3 78 */ mr r7, r30 -/* 8007506C 00071FCC 4B FD EC 75 */ bl GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei -lbl_80075070: -/* 80075070 00071FD0 BB 41 00 08 */ lmw r26, 8(r1) -/* 80075074 00071FD4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80075078 00071FD8 7C 08 03 A6 */ mtlr r0 -/* 8007507C 00071FDC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80075080 00071FE0 4E 80 00 20 */ blr - -.global Accept__12CScriptActorFR8IVisitor -Accept__12CScriptActorFR8IVisitor: -/* 80075084 00071FE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80075088 00071FE8 7C 08 02 A6 */ mflr r0 -/* 8007508C 00071FEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80075090 00071FF0 7C 60 1B 78 */ mr r0, r3 -/* 80075094 00071FF4 7C 83 23 78 */ mr r3, r4 -/* 80075098 00071FF8 81 84 00 00 */ lwz r12, 0(r4) -/* 8007509C 00071FFC 7C 04 03 78 */ mr r4, r0 -/* 800750A0 00072000 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 800750A4 00072004 7D 89 03 A6 */ mtctr r12 -/* 800750A8 00072008 4E 80 04 21 */ bctrl -/* 800750AC 0007200C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800750B0 00072010 7C 08 03 A6 */ mtlr r0 -/* 800750B4 00072014 38 21 00 10 */ addi r1, r1, 0x10 -/* 800750B8 00072018 4E 80 00 20 */ blr - -.global PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes -PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes: -/* 800750BC 0007201C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800750C0 00072020 7C 08 02 A6 */ mflr r0 -/* 800750C4 00072024 90 01 00 44 */ stw r0, 0x44(r1) -/* 800750C8 00072028 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 800750CC 0007202C 7C 7C 1B 78 */ mr r28, r3 -/* 800750D0 00072030 7C 9D 23 78 */ mr r29, r4 -/* 800750D4 00072034 4B FD FC 0D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes -/* 800750D8 00072038 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 800750DC 0007203C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800750E0 00072040 41 82 00 38 */ beq lbl_80075118 -/* 800750E4 00072044 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 800750E8 00072048 7F A4 EB 78 */ mr r4, r29 -/* 800750EC 0007204C 4B F9 6A 2D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800750F0 00072050 7C 64 1B 78 */ mr r4, r3 -/* 800750F4 00072054 38 61 00 0C */ addi r3, r1, 0xc -/* 800750F8 00072058 48 03 A6 39 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" -/* 800750FC 0007205C 80 03 00 04 */ lwz r0, 4(r3) -/* 80075100 00072060 28 00 00 00 */ cmplwi r0, 0 -/* 80075104 00072064 41 82 00 14 */ beq lbl_80075118 -/* 80075108 00072068 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 8007510C 0007206C 38 60 00 00 */ li r3, 0 -/* 80075110 00072070 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80075114 00072074 98 1C 00 E4 */ stb r0, 0xe4(r28) -lbl_80075118: -/* 80075118 00072078 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 8007511C 0007207C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80075120 00072080 40 82 01 A8 */ bne lbl_800752C8 -/* 80075124 00072084 88 7C 02 E2 */ lbz r3, 0x2e2(r28) -/* 80075128 00072088 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 8007512C 0007208C 41 82 01 9C */ beq lbl_800752C8 -/* 80075130 00072090 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80075134 00072094 41 82 01 30 */ beq lbl_80075264 -/* 80075138 00072098 C0 22 88 B0 */ lfs f1, lbl_805AA5D0@sda21(r2) -/* 8007513C 0007209C 38 A0 00 05 */ li r5, 5 -/* 80075140 000720A0 C0 9C 02 DC */ lfs f4, 0x2dc(r28) -/* 80075144 000720A4 38 80 00 00 */ li r4, 0 -/* 80075148 000720A8 38 00 00 03 */ li r0, 3 -/* 8007514C 000720AC FC 40 08 90 */ fmr f2, f1 -/* 80075150 000720B0 FC 60 08 90 */ fmr f3, f1 -/* 80075154 000720B4 98 A1 00 1C */ stb r5, 0x1c(r1) -/* 80075158 000720B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8007515C 000720BC 98 81 00 1D */ stb r4, 0x1d(r1) -/* 80075160 000720C0 B0 01 00 1E */ sth r0, 0x1e(r1) -/* 80075164 000720C4 48 2E E2 89 */ bl __ct__6CColorFffff -/* 80075168 000720C8 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 8007516C 000720CC 7F A4 EB 78 */ mr r4, r29 -/* 80075170 000720D0 8B 61 00 1C */ lbz r27, 0x1c(r1) -/* 80075174 000720D4 8B 41 00 1D */ lbz r26, 0x1d(r1) -/* 80075178 000720D8 A3 E1 00 1E */ lhz r31, 0x1e(r1) -/* 8007517C 000720DC 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 80075180 000720E0 80 63 00 00 */ lwz r3, 0(r3) -/* 80075184 000720E4 48 01 C3 D5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80075188 000720E8 2C 03 00 01 */ cmpwi r3, 1 -/* 8007518C 000720EC 40 82 00 28 */ bne lbl_800751B4 -/* 80075190 000720F0 9B 7C 00 B4 */ stb r27, 0xb4(r28) -/* 80075194 000720F4 38 60 00 01 */ li r3, 1 -/* 80075198 000720F8 9B 5C 00 B5 */ stb r26, 0xb5(r28) -/* 8007519C 000720FC B3 FC 00 B6 */ sth r31, 0xb6(r28) -/* 800751A0 00072100 93 DC 00 B8 */ stw r30, 0xb8(r28) -/* 800751A4 00072104 88 1C 02 E2 */ lbz r0, 0x2e2(r28) -/* 800751A8 00072108 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800751AC 0007210C 98 1C 02 E2 */ stb r0, 0x2e2(r28) -/* 800751B0 00072110 48 00 00 B4 */ b lbl_80075264 -lbl_800751B4: -/* 800751B4 00072114 88 7C 02 E2 */ lbz r3, 0x2e2(r28) -/* 800751B8 00072118 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 800751BC 0007211C 41 82 00 A8 */ beq lbl_80075264 -/* 800751C0 00072120 38 80 00 00 */ li r4, 0 -/* 800751C4 00072124 7F 60 07 74 */ extsb r0, r27 -/* 800751C8 00072128 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c -/* 800751CC 0007212C 98 7C 02 E2 */ stb r3, 0x2e2(r28) -/* 800751D0 00072130 88 7C 00 B4 */ lbz r3, 0xb4(r28) -/* 800751D4 00072134 7C 63 07 74 */ extsb r3, r3 -/* 800751D8 00072138 7C 03 00 00 */ cmpw r3, r0 -/* 800751DC 0007213C 40 82 00 34 */ bne lbl_80075210 -/* 800751E0 00072140 88 7C 00 B5 */ lbz r3, 0xb5(r28) -/* 800751E4 00072144 7F 40 07 74 */ extsb r0, r26 -/* 800751E8 00072148 7C 63 07 74 */ extsb r3, r3 -/* 800751EC 0007214C 7C 03 00 00 */ cmpw r3, r0 -/* 800751F0 00072150 40 82 00 20 */ bne lbl_80075210 -/* 800751F4 00072154 A0 1C 00 B6 */ lhz r0, 0xb6(r28) -/* 800751F8 00072158 7C 00 F8 40 */ cmplw r0, r31 -/* 800751FC 0007215C 40 82 00 14 */ bne lbl_80075210 -/* 80075200 00072160 80 1C 00 B8 */ lwz r0, 0xb8(r28) -/* 80075204 00072164 7C 00 F0 40 */ cmplw r0, r30 -/* 80075208 00072168 40 82 00 08 */ bne lbl_80075210 -/* 8007520C 0007216C 38 80 00 01 */ li r4, 1 -lbl_80075210: -/* 80075210 00072170 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80075214 00072174 41 82 00 50 */ beq lbl_80075264 -/* 80075218 00072178 C0 22 88 B0 */ lfs f1, lbl_805AA5D0@sda21(r2) -/* 8007521C 0007217C 38 80 00 00 */ li r4, 0 -/* 80075220 00072180 38 00 00 03 */ li r0, 3 -/* 80075224 00072184 98 81 00 14 */ stb r4, 0x14(r1) -/* 80075228 00072188 FC 40 08 90 */ fmr f2, f1 -/* 8007522C 0007218C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80075230 00072190 FC 60 08 90 */ fmr f3, f1 -/* 80075234 00072194 98 81 00 15 */ stb r4, 0x15(r1) -/* 80075238 00072198 FC 80 08 90 */ fmr f4, f1 -/* 8007523C 0007219C B0 01 00 16 */ sth r0, 0x16(r1) -/* 80075240 000721A0 48 2E E1 AD */ bl __ct__6CColorFffff -/* 80075244 000721A4 88 01 00 14 */ lbz r0, 0x14(r1) -/* 80075248 000721A8 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 8007524C 000721AC 88 01 00 15 */ lbz r0, 0x15(r1) -/* 80075250 000721B0 98 1C 00 B5 */ stb r0, 0xb5(r28) -/* 80075254 000721B4 A0 01 00 16 */ lhz r0, 0x16(r1) -/* 80075258 000721B8 B0 1C 00 B6 */ sth r0, 0xb6(r28) -/* 8007525C 000721BC 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80075260 000721C0 90 1C 00 B8 */ stw r0, 0xb8(r28) -lbl_80075264: -/* 80075264 000721C4 88 1C 02 E2 */ lbz r0, 0x2e2(r28) -/* 80075268 000721C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8007526C 000721CC 41 82 00 4C */ beq lbl_800752B8 -/* 80075270 000721D0 88 1C 00 E6 */ lbz r0, 0xe6(r28) -/* 80075274 000721D4 54 00 EF BE */ rlwinm r0, r0, 0x1d, 0x1e, 0x1f -/* 80075278 000721D8 2C 00 00 02 */ cmpwi r0, 2 -/* 8007527C 000721DC 40 82 00 3C */ bne lbl_800752B8 -/* 80075280 000721E0 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 80075284 000721E4 7F A4 EB 78 */ mr r4, r29 -/* 80075288 000721E8 80 63 00 00 */ lwz r3, 0(r3) -/* 8007528C 000721EC 48 01 C2 CD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80075290 000721F0 2C 03 00 03 */ cmpwi r3, 3 -/* 80075294 000721F4 40 82 00 14 */ bne lbl_800752A8 -/* 80075298 000721F8 A0 1C 00 B6 */ lhz r0, 0xb6(r28) -/* 8007529C 000721FC 54 04 04 3A */ rlwinm r4, r0, 0, 0x10, 0x1d -/* 800752A0 00072200 B0 9C 00 B6 */ sth r4, 0xb6(r28) -/* 800752A4 00072204 48 00 00 14 */ b lbl_800752B8 -lbl_800752A8: -/* 800752A8 00072208 A0 1C 00 B6 */ lhz r0, 0xb6(r28) -/* 800752AC 0007220C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d -/* 800752B0 00072210 60 63 00 03 */ ori r3, r3, 3 -/* 800752B4 00072214 B0 7C 00 B6 */ sth r3, 0xb6(r28) -lbl_800752B8: -/* 800752B8 00072218 80 BC 02 D8 */ lwz r5, 0x2d8(r28) -/* 800752BC 0007221C 2C 05 00 00 */ cmpwi r5, 0 -/* 800752C0 00072220 41 82 00 08 */ beq lbl_800752C8 -/* 800752C4 00072224 98 BC 00 B5 */ stb r5, 0xb5(r28) -lbl_800752C8: -/* 800752C8 00072228 A0 1C 02 E0 */ lhz r0, 0x2e0(r28) -/* 800752CC 0007222C 7F A3 EB 78 */ mr r3, r29 -/* 800752D0 00072230 38 81 00 08 */ addi r4, r1, 8 -/* 800752D4 00072234 B0 01 00 08 */ sth r0, 8(r1) -/* 800752D8 00072238 4B FD 72 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800752DC 0007223C 28 03 00 00 */ cmplwi r3, 0 -/* 800752E0 00072240 40 82 00 0C */ bne lbl_800752EC -/* 800752E4 00072244 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800752E8 00072248 B0 1C 02 E0 */ sth r0, 0x2e0(r28) -lbl_800752EC: -/* 800752EC 0007224C BB 41 00 28 */ lmw r26, 0x28(r1) -/* 800752F0 00072250 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800752F4 00072254 7C 08 03 A6 */ mtlr r0 -/* 800752F8 00072258 38 21 00 40 */ addi r1, r1, 0x40 -/* 800752FC 0007225C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80075300 00072260 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80075304 00072264 7C 08 02 A6 */ mflr r0 -/* 80075308 00072268 90 01 00 84 */ stw r0, 0x84(r1) -/* 8007530C 0007226C BE E1 00 5C */ stmw r23, 0x5c(r1) -/* 80075310 00072270 7C 9C 23 78 */ mr r28, r4 -/* 80075314 00072274 2C 1C 00 0A */ cmpwi r28, 0xa -/* 80075318 00072278 7C 7B 1B 78 */ mr r27, r3 -/* 8007531C 0007227C 7C BD 2B 78 */ mr r29, r5 -/* 80075320 00072280 7C DE 33 78 */ mr r30, r6 -/* 80075324 00072284 41 82 01 24 */ beq lbl_80075448 -/* 80075328 00072288 40 80 00 28 */ bge lbl_80075350 -/* 8007532C 0007228C 2C 1C 00 06 */ cmpwi r28, 6 -/* 80075330 00072290 41 82 01 AC */ beq lbl_800754DC -/* 80075334 00072294 40 80 00 10 */ bge lbl_80075344 -/* 80075338 00072298 2C 1C 00 05 */ cmpwi r28, 5 -/* 8007533C 0007229C 40 80 01 80 */ bge lbl_800754BC -/* 80075340 000722A0 48 00 01 9C */ b lbl_800754DC -lbl_80075344: -/* 80075344 000722A4 2C 1C 00 08 */ cmpwi r28, 8 -/* 80075348 000722A8 40 80 01 94 */ bge lbl_800754DC -/* 8007534C 000722AC 48 00 01 20 */ b lbl_8007546C -lbl_80075350: -/* 80075350 000722B0 2C 1C 00 23 */ cmpwi r28, 0x23 -/* 80075354 000722B4 41 82 00 08 */ beq lbl_8007535C -/* 80075358 000722B8 48 00 01 84 */ b lbl_800754DC -lbl_8007535C: -/* 8007535C 000722BC 83 FB 00 2C */ lwz r31, 0x2c(r27) -/* 80075360 000722C0 48 00 00 B0 */ b lbl_80075410 -lbl_80075364: -/* 80075364 000722C4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80075368 000722C8 2C 00 00 20 */ cmpwi r0, 0x20 -/* 8007536C 000722CC 40 82 00 A0 */ bne lbl_8007540C -/* 80075370 000722D0 80 1F 00 04 */ lwz r0, 4(r31) -/* 80075374 000722D4 2C 00 00 01 */ cmpwi r0, 1 -/* 80075378 000722D8 40 82 00 94 */ bne lbl_8007540C -/* 8007537C 000722DC 80 1F 00 08 */ lwz r0, 8(r31) -/* 80075380 000722E0 7F C4 F3 78 */ mr r4, r30 -/* 80075384 000722E4 38 61 00 3C */ addi r3, r1, 0x3c -/* 80075388 000722E8 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8007538C 000722EC 90 01 00 30 */ stw r0, 0x30(r1) -/* 80075390 000722F0 4B FD 2C 39 */ bl GetIdListForScript__13CStateManagerCF9TEditorId -/* 80075394 000722F4 83 41 00 40 */ lwz r26, 0x40(r1) -/* 80075398 000722F8 83 21 00 44 */ lwz r25, 0x44(r1) -/* 8007539C 000722FC 83 01 00 48 */ lwz r24, 0x48(r1) -/* 800753A0 00072300 82 E1 00 3C */ lwz r23, 0x3c(r1) -/* 800753A4 00072304 48 00 00 48 */ b lbl_800753EC -lbl_800753A8: -/* 800753A8 00072308 A0 17 00 14 */ lhz r0, 0x14(r23) -/* 800753AC 0007230C 7F C3 F3 78 */ mr r3, r30 -/* 800753B0 00072310 38 81 00 2C */ addi r4, r1, 0x2c -/* 800753B4 00072314 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 800753B8 00072318 4B FD 71 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800753BC 0007231C 7C 64 1B 78 */ mr r4, r3 -/* 800753C0 00072320 38 61 00 34 */ addi r3, r1, 0x34 -/* 800753C4 00072324 48 03 1B 25 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" -/* 800753C8 00072328 80 03 00 04 */ lwz r0, 4(r3) -/* 800753CC 0007232C 28 00 00 00 */ cmplwi r0, 0 -/* 800753D0 00072330 41 82 00 0C */ beq lbl_800753DC -/* 800753D4 00072334 A0 17 00 14 */ lhz r0, 0x14(r23) -/* 800753D8 00072338 B0 1B 02 E0 */ sth r0, 0x2e0(r27) -lbl_800753DC: -/* 800753DC 0007233C 7F 43 D3 78 */ mr r3, r26 -/* 800753E0 00072340 7E E4 BB 78 */ mr r4, r23 -/* 800753E4 00072344 48 2C 71 FD */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800753E8 00072348 7C 77 1B 78 */ mr r23, r3 -lbl_800753EC: -/* 800753EC 0007234C 7C 17 C8 40 */ cmplw r23, r25 -/* 800753F0 00072350 38 00 00 00 */ li r0, 0 -/* 800753F4 00072354 40 82 00 0C */ bne lbl_80075400 -/* 800753F8 00072358 7C 1A C0 40 */ cmplw r26, r24 -/* 800753FC 0007235C 41 82 00 08 */ beq lbl_80075404 -lbl_80075400: -/* 80075400 00072360 38 00 00 01 */ li r0, 1 -lbl_80075404: -/* 80075404 00072364 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80075408 00072368 40 82 FF A0 */ bne lbl_800753A8 -lbl_8007540C: -/* 8007540C 0007236C 3B FF 00 0C */ addi r31, r31, 0xc -lbl_80075410: -/* 80075410 00072370 80 1B 00 24 */ lwz r0, 0x24(r27) -/* 80075414 00072374 80 7B 00 2C */ lwz r3, 0x2c(r27) -/* 80075418 00072378 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8007541C 0007237C 7C 03 02 14 */ add r0, r3, r0 -/* 80075420 00072380 7C 1F 00 40 */ cmplw r31, r0 -/* 80075424 00072384 40 82 FF 40 */ bne lbl_80075364 -/* 80075428 00072388 88 1B 02 E2 */ lbz r0, 0x2e2(r27) -/* 8007542C 0007238C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80075430 00072390 41 82 00 AC */ beq lbl_800754DC -/* 80075434 00072394 7F 63 DB 78 */ mr r3, r27 -/* 80075438 00072398 7F C5 F3 78 */ mr r5, r30 -/* 8007543C 0007239C 38 80 00 36 */ li r4, 0x36 -/* 80075440 000723A0 4B FD EF 11 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80075444 000723A4 48 00 00 98 */ b lbl_800754DC -lbl_80075448: -/* 80075448 000723A8 88 1B 02 E2 */ lbz r0, 0x2e2(r27) -/* 8007544C 000723AC 38 60 00 00 */ li r3, 0 -/* 80075450 000723B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80075454 000723B4 98 1B 02 E2 */ stb r0, 0x2e2(r27) -/* 80075458 000723B8 C0 1B 02 58 */ lfs f0, 0x258(r27) -/* 8007545C 000723BC D0 1B 02 60 */ stfs f0, 0x260(r27) -/* 80075460 000723C0 C0 1B 02 5C */ lfs f0, 0x25c(r27) -/* 80075464 000723C4 D0 1B 02 64 */ stfs f0, 0x264(r27) -/* 80075468 000723C8 48 00 00 74 */ b lbl_800754DC -lbl_8007546C: -/* 8007546C 000723CC 88 1B 00 30 */ lbz r0, 0x30(r27) -/* 80075470 000723D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80075474 000723D4 40 82 00 68 */ bne lbl_800754DC -/* 80075478 000723D8 A0 1B 00 08 */ lhz r0, 8(r27) -/* 8007547C 000723DC 7F C3 F3 78 */ mr r3, r30 -/* 80075480 000723E0 7F 64 DB 78 */ mr r4, r27 -/* 80075484 000723E4 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80075488 000723E8 B0 01 00 24 */ sth r0, 0x24(r1) -/* 8007548C 000723EC 38 C0 00 01 */ li r6, 1 -/* 80075490 000723F0 B0 01 00 28 */ sth r0, 0x28(r1) -/* 80075494 000723F4 4B FC EA 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80075498 000723F8 A0 1B 00 08 */ lhz r0, 8(r27) -/* 8007549C 000723FC 7F C4 F3 78 */ mr r4, r30 -/* 800754A0 00072400 38 61 00 20 */ addi r3, r1, 0x20 -/* 800754A4 00072404 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800754A8 00072408 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 800754AC 0007240C B0 01 00 18 */ sth r0, 0x18(r1) -/* 800754B0 00072410 C0 3B 02 D0 */ lfs f1, 0x2d0(r27) -/* 800754B4 00072414 48 18 C4 F5 */ bl FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf -/* 800754B8 00072418 48 00 00 24 */ b lbl_800754DC -lbl_800754BC: -/* 800754BC 0007241C A0 1B 00 08 */ lhz r0, 8(r27) -/* 800754C0 00072420 7F C4 F3 78 */ mr r4, r30 -/* 800754C4 00072424 38 61 00 14 */ addi r3, r1, 0x14 -/* 800754C8 00072428 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800754CC 0007242C B0 01 00 10 */ sth r0, 0x10(r1) -/* 800754D0 00072430 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800754D4 00072434 C0 3B 02 D4 */ lfs f1, 0x2d4(r27) -/* 800754D8 00072438 48 18 C2 A1 */ bl FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf -lbl_800754DC: -/* 800754DC 0007243C A0 1D 00 00 */ lhz r0, 0(r29) -/* 800754E0 00072440 7F 63 DB 78 */ mr r3, r27 -/* 800754E4 00072444 7F 84 E3 78 */ mr r4, r28 -/* 800754E8 00072448 7F C6 F3 78 */ mr r6, r30 -/* 800754EC 0007244C B0 01 00 08 */ sth r0, 8(r1) -/* 800754F0 00072450 38 A1 00 08 */ addi r5, r1, 8 -/* 800754F4 00072454 4B FD E1 21 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800754F8 00072458 BA E1 00 5C */ lmw r23, 0x5c(r1) -/* 800754FC 0007245C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80075500 00072460 7C 08 03 A6 */ mtlr r0 -/* 80075504 00072464 38 21 00 80 */ addi r1, r1, 0x80 -/* 80075508 00072468 4E 80 00 20 */ blr - -.global Think__12CScriptActorFfR13CStateManager -Think__12CScriptActorFfR13CStateManager: -/* 8007550C 0007246C 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80075510 00072470 7C 08 02 A6 */ mflr r0 -/* 80075514 00072474 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80075518 00072478 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8007551C 0007247C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80075520 00072480 BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 80075524 00072484 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80075528 00072488 FF E0 08 90 */ fmr f31, f1 -/* 8007552C 0007248C 7C 7E 1B 78 */ mr r30, r3 -/* 80075530 00072490 7C 9F 23 78 */ mr r31, r4 -/* 80075534 00072494 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80075538 00072498 41 82 02 34 */ beq lbl_8007576C -/* 8007553C 0007249C 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 80075540 000724A0 38 60 00 00 */ li r3, 0 -/* 80075544 000724A4 28 04 00 00 */ cmplwi r4, 0 -/* 80075548 000724A8 41 82 00 14 */ beq lbl_8007555C -/* 8007554C 000724AC 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80075550 000724B0 28 00 00 00 */ cmplwi r0, 0 -/* 80075554 000724B4 41 82 00 08 */ beq lbl_8007555C -/* 80075558 000724B8 38 60 00 01 */ li r3, 1 -lbl_8007555C: -/* 8007555C 000724BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80075560 000724C0 41 82 01 B0 */ beq lbl_80075710 -/* 80075564 000724C4 3C 80 80 3D */ lis r4, lbl_803CD5E8@ha -/* 80075568 000724C8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8007556C 000724CC 38 84 D5 E8 */ addi r4, r4, lbl_803CD5E8@l -/* 80075570 000724D0 4B F8 F7 49 */ bl string_l__4rstlFPCc -/* 80075574 000724D4 C0 02 88 B4 */ lfs f0, lbl_805AA5D4@sda21(r2) -/* 80075578 000724D8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8007557C 000724DC 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80075580 000724E0 EC 3F 00 28 */ fsubs f1, f31, f0 -/* 80075584 000724E4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80075588 000724E8 4B FB 6E 65 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8007558C 000724EC 7C 7C 1B 78 */ mr r28, r3 -/* 80075590 000724F0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80075594 000724F4 48 2C 85 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80075598 000724F8 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8007559C 000724FC 48 09 FF 71 */ bl GetIsLoop__10CModelDataCFv -/* 800755A0 00072500 FC 20 F8 90 */ fmr f1, f31 -/* 800755A4 00072504 7C 7D 1B 78 */ mr r29, r3 -/* 800755A8 00072508 7F C4 F3 78 */ mr r4, r30 -/* 800755AC 0007250C 7F E5 FB 78 */ mr r5, r31 -/* 800755B0 00072510 38 61 00 3C */ addi r3, r1, 0x3c -/* 800755B4 00072514 38 C0 00 01 */ li r6, 1 -/* 800755B8 00072518 4B FD FC E5 */ bl UpdateAnimation__6CActorFfR13CStateManagerb -/* 800755BC 0007251C C0 C1 00 3C */ lfs f6, 0x3c(r1) -/* 800755C0 00072520 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 800755C4 00072524 C0 A1 00 40 */ lfs f5, 0x40(r1) -/* 800755C8 00072528 3B 61 00 64 */ addi r27, r1, 0x64 -/* 800755CC 0007252C C0 81 00 44 */ lfs f4, 0x44(r1) -/* 800755D0 00072530 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 800755D4 00072534 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 800755D8 00072538 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 800755DC 0007253C C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800755E0 00072540 D0 C1 00 58 */ stfs f6, 0x58(r1) -/* 800755E4 00072544 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 800755E8 00072548 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 800755EC 0007254C D0 61 00 64 */ stfs f3, 0x64(r1) -/* 800755F0 00072550 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 800755F4 00072554 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 800755F8 00072558 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 800755FC 0007255C 40 82 00 0C */ bne lbl_80075608 -/* 80075600 00072560 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80075604 00072564 41 82 00 CC */ beq lbl_800756D0 -lbl_80075608: -/* 80075608 00072568 88 1E 02 E2 */ lbz r0, 0x2e2(r30) -/* 8007560C 0007256C 38 60 00 01 */ li r3, 1 -/* 80075610 00072570 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80075614 00072574 98 1E 02 E2 */ stb r0, 0x2e2(r30) -/* 80075618 00072578 88 1E 02 E2 */ lbz r0, 0x2e2(r30) -/* 8007561C 0007257C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80075620 00072580 41 82 00 90 */ beq lbl_800756B0 -/* 80075624 00072584 38 61 00 14 */ addi r3, r1, 0x14 -/* 80075628 00072588 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8007562C 0007258C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80075630 00072590 48 29 D3 F5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80075634 00072594 C0 A1 00 14 */ lfs f5, 0x14(r1) -/* 80075638 00072598 38 61 00 08 */ addi r3, r1, 8 -/* 8007563C 0007259C C0 81 00 18 */ lfs f4, 0x18(r1) -/* 80075640 000725A0 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80075644 000725A4 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80075648 000725A8 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8007564C 000725AC D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 80075650 000725B0 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80075654 000725B4 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 80075658 000725B8 80 DE 00 64 */ lwz r6, 0x64(r30) -/* 8007565C 000725BC C0 46 00 08 */ lfs f2, 8(r6) -/* 80075660 000725C0 C0 26 00 04 */ lfs f1, 4(r6) -/* 80075664 000725C4 C0 06 00 00 */ lfs f0, 0(r6) -/* 80075668 000725C8 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8007566C 000725CC EC 21 01 32 */ fmuls f1, f1, f4 -/* 80075670 000725D0 EC 00 01 72 */ fmuls f0, f0, f5 -/* 80075674 000725D4 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80075678 000725D8 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8007567C 000725DC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80075680 000725E0 48 29 D4 01 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 80075684 000725E4 C0 61 00 08 */ lfs f3, 8(r1) -/* 80075688 000725E8 FC 20 F8 90 */ fmr f1, f31 -/* 8007568C 000725EC C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80075690 000725F0 7F C3 F3 78 */ mr r3, r30 -/* 80075694 000725F4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80075698 000725F8 38 81 00 30 */ addi r4, r1, 0x30 -/* 8007569C 000725FC D0 61 00 30 */ stfs f3, 0x30(r1) -/* 800756A0 00072600 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800756A4 00072604 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800756A8 00072608 48 0A 57 D1 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff -/* 800756AC 0007260C 48 00 00 14 */ b lbl_800756C0 -lbl_800756B0: -/* 800756B0 00072610 FC 20 F8 90 */ fmr f1, f31 -/* 800756B4 00072614 7F C3 F3 78 */ mr r3, r30 -/* 800756B8 00072618 38 81 00 58 */ addi r4, r1, 0x58 -/* 800756BC 0007261C 48 0A 57 BD */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff -lbl_800756C0: -/* 800756C0 00072620 FC 20 F8 90 */ fmr f1, f31 -/* 800756C4 00072624 7F C3 F3 78 */ mr r3, r30 -/* 800756C8 00072628 7F 64 DB 78 */ mr r4, r27 -/* 800756CC 0007262C 48 0A 57 49 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf -lbl_800756D0: -/* 800756D0 00072630 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 800756D4 00072634 40 82 00 3C */ bne lbl_80075710 -/* 800756D8 00072638 88 1E 02 E2 */ lbz r0, 0x2e2(r30) -/* 800756DC 0007263C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800756E0 00072640 41 82 00 30 */ beq lbl_80075710 -/* 800756E4 00072644 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 800756E8 00072648 40 82 00 28 */ bne lbl_80075710 -/* 800756EC 0007264C 7F C3 F3 78 */ mr r3, r30 -/* 800756F0 00072650 7F E5 FB 78 */ mr r5, r31 -/* 800756F4 00072654 38 80 00 07 */ li r4, 7 -/* 800756F8 00072658 38 C0 FF FF */ li r6, -1 -/* 800756FC 0007265C 4B FD B9 C5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80075700 00072660 88 1E 02 E2 */ lbz r0, 0x2e2(r30) -/* 80075704 00072664 38 60 00 00 */ li r3, 0 -/* 80075708 00072668 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8007570C 0007266C 98 1E 02 E2 */ stb r0, 0x2e2(r30) -lbl_80075710: -/* 80075710 00072670 88 1E 02 E2 */ lbz r0, 0x2e2(r30) -/* 80075714 00072674 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80075718 00072678 40 82 00 54 */ bne lbl_8007576C -/* 8007571C 0007267C 7F C3 F3 78 */ mr r3, r30 -/* 80075720 00072680 7F E4 FB 78 */ mr r4, r31 -/* 80075724 00072684 81 9E 00 00 */ lwz r12, 0(r30) -/* 80075728 00072688 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8007572C 0007268C 7D 89 03 A6 */ mtctr r12 -/* 80075730 00072690 4E 80 04 21 */ bctrl -/* 80075734 00072694 C0 23 00 00 */ lfs f1, 0(r3) -/* 80075738 00072698 C0 02 88 B8 */ lfs f0, lbl_805AA5D8@sda21(r2) -/* 8007573C 0007269C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80075740 000726A0 4C 40 13 82 */ cror 2, 0, 2 -/* 80075744 000726A4 40 82 00 28 */ bne lbl_8007576C -/* 80075748 000726A8 88 1E 02 E2 */ lbz r0, 0x2e2(r30) -/* 8007574C 000726AC 38 60 00 01 */ li r3, 1 -/* 80075750 000726B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80075754 000726B4 7F C3 F3 78 */ mr r3, r30 -/* 80075758 000726B8 98 1E 02 E2 */ stb r0, 0x2e2(r30) -/* 8007575C 000726BC 7F E5 FB 78 */ mr r5, r31 -/* 80075760 000726C0 38 80 00 0E */ li r4, 0xe -/* 80075764 000726C4 38 C0 FF FF */ li r6, -1 -/* 80075768 000726C8 4B FD B9 59 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_8007576C: -/* 8007576C 000726CC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80075770 000726D0 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80075774 000726D4 BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 80075778 000726D8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8007577C 000726DC 7C 08 03 A6 */ mtlr r0 -/* 80075780 000726E0 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80075784 000726E4 4E 80 00 20 */ blr - -.global GetTouchBounds__12CScriptActorCFv -GetTouchBounds__12CScriptActorCFv: -/* 80075788 000726E8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007578C 000726EC 7C 08 02 A6 */ mflr r0 -/* 80075790 000726F0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80075794 000726F4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80075798 000726F8 7C 7F 1B 78 */ mr r31, r3 -/* 8007579C 000726FC 88 04 00 30 */ lbz r0, 0x30(r4) -/* 800757A0 00072700 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800757A4 00072704 41 82 00 78 */ beq lbl_8007581C -/* 800757A8 00072708 80 04 00 68 */ lwz r0, 0x68(r4) -/* 800757AC 0007270C 38 A0 00 00 */ li r5, 0 -/* 800757B0 00072710 80 C4 00 6C */ lwz r6, 0x6c(r4) -/* 800757B4 00072714 3C 60 00 08 */ lis r3, 8 -/* 800757B8 00072718 7C 00 28 38 */ and r0, r0, r5 -/* 800757BC 0007271C 7C C3 18 38 */ and r3, r6, r3 -/* 800757C0 00072720 7C 63 2A 78 */ xor r3, r3, r5 -/* 800757C4 00072724 7C 00 2A 78 */ xor r0, r0, r5 -/* 800757C8 00072728 7C 60 03 79 */ or. r0, r3, r0 -/* 800757CC 0007272C 41 82 00 50 */ beq lbl_8007581C -/* 800757D0 00072730 38 61 00 08 */ addi r3, r1, 8 -/* 800757D4 00072734 48 0A 51 59 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 800757D8 00072738 38 00 00 01 */ li r0, 1 -/* 800757DC 0007273C 28 1F 00 00 */ cmplwi r31, 0 -/* 800757E0 00072740 98 1F 00 18 */ stb r0, 0x18(r31) -/* 800757E4 00072744 41 82 00 40 */ beq lbl_80075824 -/* 800757E8 00072748 C0 01 00 08 */ lfs f0, 8(r1) -/* 800757EC 0007274C D0 1F 00 00 */ stfs f0, 0(r31) -/* 800757F0 00072750 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800757F4 00072754 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800757F8 00072758 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800757FC 0007275C D0 1F 00 08 */ stfs f0, 8(r31) -/* 80075800 00072760 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80075804 00072764 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80075808 00072768 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8007580C 0007276C D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80075810 00072770 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80075814 00072774 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80075818 00072778 48 00 00 0C */ b lbl_80075824 -lbl_8007581C: -/* 8007581C 0007277C 38 00 00 00 */ li r0, 0 -/* 80075820 00072780 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_80075824: -/* 80075824 00072784 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80075828 00072788 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007582C 0007278C 7C 08 03 A6 */ mtlr r0 -/* 80075830 00072790 38 21 00 30 */ addi r1, r1, 0x30 -/* 80075834 00072794 4E 80 00 20 */ blr - -.global Touch__12CScriptActorFR6CActorR13CStateManager -Touch__12CScriptActorFR6CActorR13CStateManager: -/* 80075838 00072798 4E 80 00 20 */ blr - -.global GetDamageVulnerability__12CScriptActorCFv -GetDamageVulnerability__12CScriptActorCFv: -/* 8007583C 0007279C 38 63 02 68 */ addi r3, r3, 0x268 -/* 80075840 000727A0 4E 80 00 20 */ blr - -.global GetHealthInfo__12CScriptActorCFRC13CStateManager -GetHealthInfo__12CScriptActorCFRC13CStateManager: -/* 80075844 000727A4 38 63 02 60 */ addi r3, r3, 0x260 -/* 80075848 000727A8 4E 80 00 20 */ blr - -.global __dt__12CScriptActorFv -__dt__12CScriptActorFv: -/* 8007584C 000727AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80075850 000727B0 7C 08 02 A6 */ mflr r0 -/* 80075854 000727B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80075858 000727B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007585C 000727BC 7C 9F 23 78 */ mr r31, r4 -/* 80075860 000727C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80075864 000727C4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80075868 000727C8 41 82 00 28 */ beq lbl_80075890 -/* 8007586C 000727CC 3C A0 80 3E */ lis r5, lbl_803DA450@ha -/* 80075870 000727D0 38 80 00 00 */ li r4, 0 -/* 80075874 000727D4 38 05 A4 50 */ addi r0, r5, lbl_803DA450@l -/* 80075878 000727D8 90 1E 00 00 */ stw r0, 0(r30) -/* 8007587C 000727DC 48 0A 6B 99 */ bl __dt__13CPhysicsActorFv -/* 80075880 000727E0 7F E0 07 35 */ extsh. r0, r31 -/* 80075884 000727E4 40 81 00 0C */ ble lbl_80075890 -/* 80075888 000727E8 7F C3 F3 78 */ mr r3, r30 -/* 8007588C 000727EC 48 2A 00 A5 */ bl Free__7CMemoryFPCv -lbl_80075890: -/* 80075890 000727F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80075894 000727F4 7F C3 F3 78 */ mr r3, r30 -/* 80075898 000727F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007589C 000727FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 800758A0 00072800 7C 08 03 A6 */ mtlr r0 -/* 800758A4 00072804 38 21 00 10 */ addi r1, r1, 0x10 -/* 800758A8 00072808 4E 80 00 20 */ blr - -.global "__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb" -"__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb": -/* 800758AC 0007280C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 800758B0 00072810 7C 08 02 A6 */ mflr r0 -/* 800758B4 00072814 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 800758B8 00072818 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 800758BC 0007281C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 800758C0 00072820 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 800758C4 00072824 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 800758C8 00072828 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 800758CC 0007282C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 800758D0 00072830 BD C1 00 58 */ stmw r14, 0x58(r1) -/* 800758D4 00072834 FF A0 08 90 */ fmr f29, f1 -/* 800758D8 00072838 82 E1 00 D8 */ lwz r23, 0xd8(r1) -/* 800758DC 0007283C FF C0 10 90 */ fmr f30, f2 -/* 800758E0 00072840 83 01 00 DC */ lwz r24, 0xdc(r1) -/* 800758E4 00072844 FF E0 18 90 */ fmr f31, f3 -/* 800758E8 00072848 83 21 00 E0 */ lwz r25, 0xe0(r1) -/* 800758EC 0007284C 8B 41 00 EB */ lbz r26, 0xeb(r1) -/* 800758F0 00072850 7C 6F 1B 78 */ mr r15, r3 -/* 800758F4 00072854 83 61 00 EC */ lwz r27, 0xec(r1) -/* 800758F8 00072858 7C 90 23 78 */ mr r16, r4 -/* 800758FC 0007285C 8B 81 00 F3 */ lbz r28, 0xf3(r1) -/* 80075900 00072860 7C B1 2B 78 */ mr r17, r5 -/* 80075904 00072864 8B A1 00 F7 */ lbz r29, 0xf7(r1) -/* 80075908 00072868 7C D2 33 78 */ mr r18, r6 -/* 8007590C 0007286C 8B C1 00 FB */ lbz r30, 0xfb(r1) -/* 80075910 00072870 7C F3 3B 78 */ mr r19, r7 -/* 80075914 00072874 89 C1 00 FF */ lbz r14, 0xff(r1) -/* 80075918 00072878 7D 14 43 78 */ mr r20, r8 -/* 8007591C 0007287C 7D 35 4B 78 */ mr r21, r9 -/* 80075920 00072880 7D 56 53 78 */ mr r22, r10 -/* 80075924 00072884 4B FA 5C 11 */ bl Identity__10CAxisAngleFv -/* 80075928 00072888 7C 7F 1B 78 */ mr r31, r3 -/* 8007592C 0007288C 4B FA 5C 09 */ bl Identity__10CAxisAngleFv -/* 80075930 00072890 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80075934 00072894 C4 64 66 A0 */ lfsu f3, skZero3f@l(r4) -/* 80075938 00072898 A1 70 00 00 */ lhz r11, 0(r16) -/* 8007593C 0007289C 38 01 00 1C */ addi r0, r1, 0x1c -/* 80075940 000728A0 C0 84 00 04 */ lfs f4, 4(r4) -/* 80075944 000728A4 7F 45 D3 78 */ mr r5, r26 -/* 80075948 000728A8 C0 A4 00 08 */ lfs f5, 8(r4) -/* 8007594C 000728AC 7E 26 8B 78 */ mr r6, r17 -/* 80075950 000728B0 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80075954 000728B4 7E 47 93 78 */ mr r7, r18 -/* 80075958 000728B8 C0 22 88 BC */ lfs f1, lbl_805AA5DC@sda21(r2) -/* 8007595C 000728BC 7E 68 9B 78 */ mr r8, r19 -/* 80075960 000728C0 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 80075964 000728C4 7E 89 A3 78 */ mr r9, r20 -/* 80075968 000728C8 C0 42 88 C0 */ lfs f2, lbl_805AA5E0@sda21(r2) -/* 8007596C 000728CC 7E CA B3 78 */ mr r10, r22 -/* 80075970 000728D0 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80075974 000728D4 38 81 00 18 */ addi r4, r1, 0x18 -/* 80075978 000728D8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8007597C 000728DC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80075980 000728E0 C0 03 00 04 */ lfs f0, 4(r3) -/* 80075984 000728E4 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80075988 000728E8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8007598C 000728EC 7D E3 7B 78 */ mr r3, r15 -/* 80075990 000728F0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80075994 000728F4 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80075998 000728F8 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 8007599C 000728FC D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 800759A0 00072900 C0 1F 00 00 */ lfs f0, 0(r31) -/* 800759A4 00072904 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800759A8 00072908 C0 1F 00 04 */ lfs f0, 4(r31) -/* 800759AC 0007290C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800759B0 00072910 C0 1F 00 08 */ lfs f0, 8(r31) -/* 800759B4 00072914 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800759B8 00072918 D3 A1 00 4C */ stfs f29, 0x4c(r1) -/* 800759BC 0007291C B1 61 00 18 */ sth r11, 0x18(r1) -/* 800759C0 00072920 92 A1 00 08 */ stw r21, 8(r1) -/* 800759C4 00072924 90 01 00 0C */ stw r0, 0xc(r1) -/* 800759C8 00072928 93 21 00 10 */ stw r25, 0x10(r1) -/* 800759CC 0007292C 48 0A 6A E5 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" -/* 800759D0 00072930 3C 60 80 3E */ lis r3, lbl_803DA450@ha -/* 800759D4 00072934 C0 02 88 B0 */ lfs f0, lbl_805AA5D0@sda21(r2) -/* 800759D8 00072938 38 03 A4 50 */ addi r0, r3, lbl_803DA450@l -/* 800759DC 0007293C 38 80 00 00 */ li r4, 0 -/* 800759E0 00072940 90 0F 00 00 */ stw r0, 0(r15) -/* 800759E4 00072944 EC 3F 00 28 */ fsubs f1, f31, f0 -/* 800759E8 00072948 C8 02 88 C8 */ lfd f0, lbl_805AA5E8@sda21(r2) -/* 800759EC 0007294C 38 60 00 01 */ li r3, 1 -/* 800759F0 00072950 C0 57 00 00 */ lfs f2, 0(r23) -/* 800759F4 00072954 FC 60 0A 10 */ fabs f3, f1 -/* 800759F8 00072958 D0 4F 02 58 */ stfs f2, 0x258(r15) -/* 800759FC 0007295C C0 37 00 04 */ lfs f1, 4(r23) -/* 80075A00 00072960 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80075A04 00072964 D0 2F 02 5C */ stfs f1, 0x25c(r15) -/* 80075A08 00072968 C0 17 00 00 */ lfs f0, 0(r23) -/* 80075A0C 0007296C D0 0F 02 60 */ stfs f0, 0x260(r15) -/* 80075A10 00072970 C0 17 00 04 */ lfs f0, 4(r23) -/* 80075A14 00072974 D0 0F 02 64 */ stfs f0, 0x264(r15) -/* 80075A18 00072978 80 B8 00 00 */ lwz r5, 0(r24) -/* 80075A1C 0007297C 80 18 00 04 */ lwz r0, 4(r24) -/* 80075A20 00072980 90 AF 02 68 */ stw r5, 0x268(r15) -/* 80075A24 00072984 90 0F 02 6C */ stw r0, 0x26c(r15) -/* 80075A28 00072988 80 B8 00 08 */ lwz r5, 8(r24) -/* 80075A2C 0007298C 80 18 00 0C */ lwz r0, 0xc(r24) -/* 80075A30 00072990 90 AF 02 70 */ stw r5, 0x270(r15) -/* 80075A34 00072994 90 0F 02 74 */ stw r0, 0x274(r15) -/* 80075A38 00072998 80 B8 00 10 */ lwz r5, 0x10(r24) -/* 80075A3C 0007299C 80 18 00 14 */ lwz r0, 0x14(r24) -/* 80075A40 000729A0 90 AF 02 78 */ stw r5, 0x278(r15) -/* 80075A44 000729A4 90 0F 02 7C */ stw r0, 0x27c(r15) -/* 80075A48 000729A8 80 B8 00 18 */ lwz r5, 0x18(r24) -/* 80075A4C 000729AC 80 18 00 1C */ lwz r0, 0x1c(r24) -/* 80075A50 000729B0 90 AF 02 80 */ stw r5, 0x280(r15) -/* 80075A54 000729B4 90 0F 02 84 */ stw r0, 0x284(r15) -/* 80075A58 000729B8 80 B8 00 20 */ lwz r5, 0x20(r24) -/* 80075A5C 000729BC 80 18 00 24 */ lwz r0, 0x24(r24) -/* 80075A60 000729C0 90 AF 02 88 */ stw r5, 0x288(r15) -/* 80075A64 000729C4 90 0F 02 8C */ stw r0, 0x28c(r15) -/* 80075A68 000729C8 80 B8 00 28 */ lwz r5, 0x28(r24) -/* 80075A6C 000729CC 80 18 00 2C */ lwz r0, 0x2c(r24) -/* 80075A70 000729D0 90 AF 02 90 */ stw r5, 0x290(r15) -/* 80075A74 000729D4 90 0F 02 94 */ stw r0, 0x294(r15) -/* 80075A78 000729D8 80 B8 00 30 */ lwz r5, 0x30(r24) -/* 80075A7C 000729DC 80 18 00 34 */ lwz r0, 0x34(r24) -/* 80075A80 000729E0 90 AF 02 98 */ stw r5, 0x298(r15) -/* 80075A84 000729E4 90 0F 02 9C */ stw r0, 0x29c(r15) -/* 80075A88 000729E8 80 18 00 38 */ lwz r0, 0x38(r24) -/* 80075A8C 000729EC 90 0F 02 A0 */ stw r0, 0x2a0(r15) -/* 80075A90 000729F0 80 B8 00 3C */ lwz r5, 0x3c(r24) -/* 80075A94 000729F4 80 18 00 40 */ lwz r0, 0x40(r24) -/* 80075A98 000729F8 90 AF 02 A4 */ stw r5, 0x2a4(r15) -/* 80075A9C 000729FC 90 0F 02 A8 */ stw r0, 0x2a8(r15) -/* 80075AA0 00072A00 80 B8 00 44 */ lwz r5, 0x44(r24) -/* 80075AA4 00072A04 80 18 00 48 */ lwz r0, 0x48(r24) -/* 80075AA8 00072A08 90 AF 02 AC */ stw r5, 0x2ac(r15) -/* 80075AAC 00072A0C 90 0F 02 B0 */ stw r0, 0x2b0(r15) -/* 80075AB0 00072A10 80 B8 00 4C */ lwz r5, 0x4c(r24) -/* 80075AB4 00072A14 80 18 00 50 */ lwz r0, 0x50(r24) -/* 80075AB8 00072A18 90 AF 02 B4 */ stw r5, 0x2b4(r15) -/* 80075ABC 00072A1C 90 0F 02 B8 */ stw r0, 0x2b8(r15) -/* 80075AC0 00072A20 80 B8 00 54 */ lwz r5, 0x54(r24) -/* 80075AC4 00072A24 80 18 00 58 */ lwz r0, 0x58(r24) -/* 80075AC8 00072A28 90 AF 02 BC */ stw r5, 0x2bc(r15) -/* 80075ACC 00072A2C 90 0F 02 C0 */ stw r0, 0x2c0(r15) -/* 80075AD0 00072A30 80 18 00 5C */ lwz r0, 0x5c(r24) -/* 80075AD4 00072A34 90 0F 02 C4 */ stw r0, 0x2c4(r15) -/* 80075AD8 00072A38 80 18 00 60 */ lwz r0, 0x60(r24) -/* 80075ADC 00072A3C 90 0F 02 C8 */ stw r0, 0x2c8(r15) -/* 80075AE0 00072A40 80 18 00 64 */ lwz r0, 0x64(r24) -/* 80075AE4 00072A44 90 0F 02 CC */ stw r0, 0x2cc(r15) -/* 80075AE8 00072A48 C0 19 00 5C */ lfs f0, 0x5c(r25) -/* 80075AEC 00072A4C D0 0F 02 D0 */ stfs f0, 0x2d0(r15) -/* 80075AF0 00072A50 C0 19 00 60 */ lfs f0, 0x60(r25) -/* 80075AF4 00072A54 D0 0F 02 D4 */ stfs f0, 0x2d4(r15) -/* 80075AF8 00072A58 93 6F 02 D8 */ stw r27, 0x2d8(r15) -/* 80075AFC 00072A5C D3 EF 02 DC */ stfs f31, 0x2dc(r15) -/* 80075B00 00072A60 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80075B04 00072A64 B0 0F 02 E0 */ sth r0, 0x2e0(r15) -/* 80075B08 00072A68 88 0F 02 E2 */ lbz r0, 0x2e2(r15) -/* 80075B0C 00072A6C 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18 -/* 80075B10 00072A70 98 0F 02 E2 */ stb r0, 0x2e2(r15) -/* 80075B14 00072A74 88 0F 02 E2 */ lbz r0, 0x2e2(r15) -/* 80075B18 00072A78 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80075B1C 00072A7C 98 0F 02 E2 */ stb r0, 0x2e2(r15) -/* 80075B20 00072A80 88 0F 02 E2 */ lbz r0, 0x2e2(r15) -/* 80075B24 00072A84 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80075B28 00072A88 98 0F 02 E2 */ stb r0, 0x2e2(r15) -/* 80075B2C 00072A8C 7C 00 00 26 */ mfcr r0 -/* 80075B30 00072A90 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80075B34 00072A94 7C 03 00 34 */ cntlzw r3, r0 -/* 80075B38 00072A98 88 0F 02 E2 */ lbz r0, 0x2e2(r15) -/* 80075B3C 00072A9C 50 60 FE F6 */ rlwimi r0, r3, 0x1f, 0x1b, 0x1b -/* 80075B40 00072AA0 98 0F 02 E2 */ stb r0, 0x2e2(r15) -/* 80075B44 00072AA4 88 0F 02 E2 */ lbz r0, 0x2e2(r15) -/* 80075B48 00072AA8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80075B4C 00072AAC 98 0F 02 E2 */ stb r0, 0x2e2(r15) -/* 80075B50 00072AB0 88 6F 02 E2 */ lbz r3, 0x2e2(r15) -/* 80075B54 00072AB4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80075B58 00072AB8 40 82 00 18 */ bne lbl_80075B70 -/* 80075B5C 00072ABC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80075B60 00072AC0 40 82 00 10 */ bne lbl_80075B70 -/* 80075B64 00072AC4 80 0F 02 D8 */ lwz r0, 0x2d8(r15) -/* 80075B68 00072AC8 2C 00 00 00 */ cmpwi r0, 0 -/* 80075B6C 00072ACC 41 82 00 08 */ beq lbl_80075B74 -lbl_80075B70: -/* 80075B70 00072AD0 38 80 00 01 */ li r4, 1 -lbl_80075B74: -/* 80075B74 00072AD4 88 0F 02 E2 */ lbz r0, 0x2e2(r15) -/* 80075B78 00072AD8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80075B7C 00072ADC 38 80 00 00 */ li r4, 0 -/* 80075B80 00072AE0 7D E3 7B 78 */ mr r3, r15 -/* 80075B84 00072AE4 98 0F 02 E2 */ stb r0, 0x2e2(r15) -/* 80075B88 00072AE8 88 0F 02 E2 */ lbz r0, 0x2e2(r15) -/* 80075B8C 00072AEC 53 C0 0F BC */ rlwimi r0, r30, 1, 0x1e, 0x1e -/* 80075B90 00072AF0 98 0F 02 E2 */ stb r0, 0x2e2(r15) -/* 80075B94 00072AF4 88 0F 02 E2 */ lbz r0, 0x2e2(r15) -/* 80075B98 00072AF8 51 C0 07 FE */ rlwimi r0, r14, 0, 0x1f, 0x1f -/* 80075B9C 00072AFC 98 0F 02 E2 */ stb r0, 0x2e2(r15) -/* 80075BA0 00072B00 88 0F 02 E3 */ lbz r0, 0x2e3(r15) -/* 80075BA4 00072B04 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80075BA8 00072B08 98 0F 02 E3 */ stb r0, 0x2e3(r15) -/* 80075BAC 00072B0C 80 AF 00 64 */ lwz r5, 0x64(r15) -/* 80075BB0 00072B10 28 05 00 00 */ cmplwi r5, 0 -/* 80075BB4 00072B14 41 82 00 20 */ beq lbl_80075BD4 -/* 80075BB8 00072B18 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80075BBC 00072B1C 28 00 00 00 */ cmplwi r0, 0 -/* 80075BC0 00072B20 40 82 00 10 */ bne lbl_80075BD0 -/* 80075BC4 00072B24 88 05 00 28 */ lbz r0, 0x28(r5) -/* 80075BC8 00072B28 28 00 00 00 */ cmplwi r0, 0 -/* 80075BCC 00072B2C 41 82 00 08 */ beq lbl_80075BD4 -lbl_80075BD0: -/* 80075BD0 00072B30 38 80 00 01 */ li r4, 1 -lbl_80075BD4: -/* 80075BD4 00072B34 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80075BD8 00072B38 41 82 00 44 */ beq lbl_80075C1C -/* 80075BDC 00072B3C 28 1D 00 00 */ cmplwi r29, 0 -/* 80075BE0 00072B40 41 82 00 0C */ beq lbl_80075BEC -/* 80075BE4 00072B44 38 80 00 01 */ li r4, 1 -/* 80075BE8 00072B48 4B FD D1 85 */ bl CreateShadow__6CActorFb -lbl_80075BEC: -/* 80075BEC 00072B4C 80 6F 00 64 */ lwz r3, 0x64(r15) -/* 80075BF0 00072B50 38 80 00 00 */ li r4, 0 -/* 80075BF4 00072B54 28 03 00 00 */ cmplwi r3, 0 -/* 80075BF8 00072B58 41 82 00 14 */ beq lbl_80075C0C -/* 80075BFC 00072B5C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80075C00 00072B60 28 00 00 00 */ cmplwi r0, 0 -/* 80075C04 00072B64 41 82 00 08 */ beq lbl_80075C0C -/* 80075C08 00072B68 38 80 00 01 */ li r4, 1 -lbl_80075C0C: -/* 80075C0C 00072B6C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80075C10 00072B70 41 82 00 0C */ beq lbl_80075C1C -/* 80075C14 00072B74 88 81 00 E7 */ lbz r4, 0xe7(r1) -/* 80075C18 00072B78 48 09 F9 49 */ bl EnableLooping__10CModelDataFb -lbl_80075C1C: -/* 80075C1C 00072B7C C0 22 88 B8 */ lfs f1, lbl_805AA5D8@sda21(r2) -/* 80075C20 00072B80 FC 00 F0 50 */ fneg f0, f30 -/* 80075C24 00072B84 7D E3 7B 78 */ mr r3, r15 -/* 80075C28 00072B88 D0 2F 01 50 */ stfs f1, 0x150(r15) -/* 80075C2C 00072B8C D0 2F 01 54 */ stfs f1, 0x154(r15) -/* 80075C30 00072B90 D0 0F 01 58 */ stfs f0, 0x158(r15) -/* 80075C34 00072B94 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80075C38 00072B98 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80075C3C 00072B9C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80075C40 00072BA0 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80075C44 00072BA4 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 80075C48 00072BA8 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 80075C4C 00072BAC B9 C1 00 58 */ lmw r14, 0x58(r1) -/* 80075C50 00072BB0 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80075C54 00072BB4 7C 08 03 A6 */ mtlr r0 -/* 80075C58 00072BB8 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80075C5C 00072BBC 4E 80 00 20 */ blr - -.global InhabitantRejected__14CScriptTriggerFR6CActorR13CStateManager -InhabitantRejected__14CScriptTriggerFR6CActorR13CStateManager: -/* 80075C60 00072BC0 4E 80 00 20 */ blr - -.global InhabitantExited__14CScriptTriggerFR6CActorR13CStateManager -InhabitantExited__14CScriptTriggerFR6CActorR13CStateManager: -/* 80075C64 00072BC4 4E 80 00 20 */ blr - -.global InhabitantIdle__14CScriptTriggerFR6CActorR13CStateManager -InhabitantIdle__14CScriptTriggerFR6CActorR13CStateManager: -/* 80075C68 00072BC8 4E 80 00 20 */ blr - -.global InhabitantAdded__14CScriptTriggerFR6CActorR13CStateManager -InhabitantAdded__14CScriptTriggerFR6CActorR13CStateManager: -/* 80075C6C 00072BCC 4E 80 00 20 */ blr - -.global Accept__14CScriptTriggerFR8IVisitor -Accept__14CScriptTriggerFR8IVisitor: -/* 80075C70 00072BD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80075C74 00072BD4 7C 08 02 A6 */ mflr r0 -/* 80075C78 00072BD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80075C7C 00072BDC 7C 60 1B 78 */ mr r0, r3 -/* 80075C80 00072BE0 7C 83 23 78 */ mr r3, r4 -/* 80075C84 00072BE4 81 84 00 00 */ lwz r12, 0(r4) -/* 80075C88 00072BE8 7C 04 03 78 */ mr r4, r0 -/* 80075C8C 00072BEC 81 8C 00 CC */ lwz r12, 0xcc(r12) -/* 80075C90 00072BF0 7D 89 03 A6 */ mtctr r12 -/* 80075C94 00072BF4 4E 80 04 21 */ bctrl -/* 80075C98 00072BF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80075C9C 00072BFC 7C 08 03 A6 */ mtlr r0 -/* 80075CA0 00072C00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80075CA4 00072C04 4E 80 00 20 */ blr - -.global FindObject__14CScriptTriggerF9TUniqueId -FindObject__14CScriptTriggerF9TUniqueId: -/* 80075CA8 00072C08 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80075CAC 00072C0C 7C 08 02 A6 */ mflr r0 -/* 80075CB0 00072C10 90 01 00 24 */ stw r0, 0x24(r1) -/* 80075CB4 00072C14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80075CB8 00072C18 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80075CBC 00072C1C 7C 9E 23 78 */ mr r30, r4 -/* 80075CC0 00072C20 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80075CC4 00072C24 7C 7D 1B 78 */ mr r29, r3 -/* 80075CC8 00072C28 48 00 00 5D */ bl GetInhabitants__14CScriptTriggerCFv -/* 80075CCC 00072C2C 83 E3 00 04 */ lwz r31, 4(r3) -/* 80075CD0 00072C30 48 00 00 20 */ b lbl_80075CF0 -lbl_80075CD4: -/* 80075CD4 00072C34 A0 7F 00 08 */ lhz r3, 8(r31) -/* 80075CD8 00072C38 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80075CDC 00072C3C 7C 03 00 40 */ cmplw r3, r0 -/* 80075CE0 00072C40 40 82 00 0C */ bne lbl_80075CEC -/* 80075CE4 00072C44 38 7F 00 08 */ addi r3, r31, 8 -/* 80075CE8 00072C48 48 00 00 20 */ b lbl_80075D08 -lbl_80075CEC: -/* 80075CEC 00072C4C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80075CF0: -/* 80075CF0 00072C50 7F A3 EB 78 */ mr r3, r29 -/* 80075CF4 00072C54 48 00 00 31 */ bl GetInhabitants__14CScriptTriggerCFv -/* 80075CF8 00072C58 80 03 00 08 */ lwz r0, 8(r3) -/* 80075CFC 00072C5C 7C 1F 00 40 */ cmplw r31, r0 -/* 80075D00 00072C60 40 82 FF D4 */ bne lbl_80075CD4 -/* 80075D04 00072C64 38 60 00 00 */ li r3, 0 -lbl_80075D08: -/* 80075D08 00072C68 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80075D0C 00072C6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80075D10 00072C70 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80075D14 00072C74 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80075D18 00072C78 7C 08 03 A6 */ mtlr r0 -/* 80075D1C 00072C7C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80075D20 00072C80 4E 80 00 20 */ blr - -.global GetInhabitants__14CScriptTriggerCFv -GetInhabitants__14CScriptTriggerCFv: -/* 80075D24 00072C84 38 63 00 E8 */ addi r3, r3, 0xe8 -/* 80075D28 00072C88 4E 80 00 20 */ blr - -.global UpdateInhabitants__14CScriptTriggerFR13CStateManager -UpdateInhabitants__14CScriptTriggerFR13CStateManager: -/* 80075D2C 00072C8C 94 21 FE 50 */ stwu r1, -0x1b0(r1) -/* 80075D30 00072C90 7C 08 02 A6 */ mflr r0 -/* 80075D34 00072C94 90 01 01 B4 */ stw r0, 0x1b4(r1) -/* 80075D38 00072C98 DB E1 01 A0 */ stfd f31, 0x1a0(r1) -/* 80075D3C 00072C9C F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 -/* 80075D40 00072CA0 DB C1 01 90 */ stfd f30, 0x190(r1) -/* 80075D44 00072CA4 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 -/* 80075D48 00072CA8 BF 01 01 70 */ stmw r24, 0x170(r1) -/* 80075D4C 00072CAC 38 00 00 00 */ li r0, 0 -/* 80075D50 00072CB0 7C 7D 1B 78 */ mr r29, r3 -/* 80075D54 00072CB4 98 01 01 68 */ stb r0, 0x168(r1) -/* 80075D58 00072CB8 FF E0 08 90 */ fmr f31, f1 -/* 80075D5C 00072CBC 7C 9E 23 78 */ mr r30, r4 -/* 80075D60 00072CC0 3B 80 00 00 */ li r28, 0 -/* 80075D64 00072CC4 83 23 00 EC */ lwz r25, 0xec(r3) -/* 80075D68 00072CC8 3B E0 00 00 */ li r31, 0 -/* 80075D6C 00072CCC 48 00 05 74 */ b lbl_800762E0 -lbl_80075D70: -/* 80075D70 00072CD0 A0 19 00 08 */ lhz r0, 8(r25) -/* 80075D74 00072CD4 7F C3 F3 78 */ mr r3, r30 -/* 80075D78 00072CD8 83 79 00 04 */ lwz r27, 4(r25) -/* 80075D7C 00072CDC 38 81 00 40 */ addi r4, r1, 0x40 -/* 80075D80 00072CE0 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 80075D84 00072CE4 B0 01 00 40 */ sth r0, 0x40(r1) -/* 80075D88 00072CE8 4B FD 67 ED */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80075D8C 00072CEC 7C 64 1B 78 */ mr r4, r3 -/* 80075D90 00072CF0 38 61 00 54 */ addi r3, r1, 0x54 -/* 80075D94 00072CF4 48 03 9E FD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80075D98 00072CF8 83 43 00 04 */ lwz r26, 4(r3) -/* 80075D9C 00072CFC 28 1A 00 00 */ cmplwi r26, 0 -/* 80075DA0 00072D00 41 82 04 C4 */ beq lbl_80076264 -/* 80075DA4 00072D04 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 80075DA8 00072D08 3B 00 00 01 */ li r24, 1 -/* 80075DAC 00072D0C A0 79 00 08 */ lhz r3, 8(r25) -/* 80075DB0 00072D10 A0 04 00 08 */ lhz r0, 8(r4) -/* 80075DB4 00072D14 7C 03 00 40 */ cmplw r3, r0 -/* 80075DB8 00072D18 40 82 00 C8 */ bne lbl_80075E80 -/* 80075DBC 00072D1C 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80075DC0 00072D20 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 80075DC4 00072D24 40 82 00 30 */ bne lbl_80075DF4 -/* 80075DC8 00072D28 80 84 02 F8 */ lwz r4, 0x2f8(r4) -/* 80075DCC 00072D2C 2C 04 00 01 */ cmpwi r4, 1 -/* 80075DD0 00072D30 40 82 00 10 */ bne lbl_80075DE0 -/* 80075DD4 00072D34 54 60 03 DF */ rlwinm. r0, r3, 0, 0xf, 0xf -/* 80075DD8 00072D38 41 82 00 08 */ beq lbl_80075DE0 -/* 80075DDC 00072D3C 3B 00 00 00 */ li r24, 0 -lbl_80075DE0: -/* 80075DE0 00072D40 2C 04 00 00 */ cmpwi r4, 0 -/* 80075DE4 00072D44 40 82 00 10 */ bne lbl_80075DF4 -/* 80075DE8 00072D48 54 60 04 E7 */ rlwinm. r0, r3, 0, 0x13, 0x13 -/* 80075DEC 00072D4C 41 82 00 08 */ beq lbl_80075DF4 -/* 80075DF0 00072D50 3B 00 00 00 */ li r24, 0 -lbl_80075DF4: -/* 80075DF4 00072D54 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80075DF8 00072D58 40 82 00 88 */ bne lbl_80075E80 -/* 80075DFC 00072D5C 7F 24 CB 78 */ mr r4, r25 -/* 80075E00 00072D60 38 7D 00 E8 */ addi r3, r29, 0xe8 -/* 80075E04 00072D64 48 00 11 75 */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" -/* 80075E08 00072D68 88 7D 01 48 */ lbz r3, 0x148(r29) -/* 80075E0C 00072D6C 3B E0 00 01 */ li r31, 1 -/* 80075E10 00072D70 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80075E14 00072D74 41 82 00 50 */ beq lbl_80075E64 -/* 80075E18 00072D78 38 00 00 00 */ li r0, 0 -/* 80075E1C 00072D7C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 80075E20 00072D80 98 7D 01 48 */ stb r3, 0x148(r29) -/* 80075E24 00072D84 88 1D 01 48 */ lbz r0, 0x148(r29) -/* 80075E28 00072D88 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80075E2C 00072D8C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80075E30 00072D90 41 82 00 18 */ beq lbl_80075E48 -/* 80075E34 00072D94 4B F9 BB 11 */ bl DecrementPhazon__7CPlayerFv -/* 80075E38 00072D98 88 1D 01 48 */ lbz r0, 0x148(r29) -/* 80075E3C 00072D9C 38 60 00 00 */ li r3, 0 -/* 80075E40 00072DA0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80075E44 00072DA4 98 1D 01 48 */ stb r0, 0x148(r29) -lbl_80075E48: -/* 80075E48 00072DA8 A0 7E 0F 74 */ lhz r3, 0xf74(r30) -/* 80075E4C 00072DAC A0 1D 00 08 */ lhz r0, 8(r29) -/* 80075E50 00072DB0 7C 03 00 40 */ cmplw r3, r0 -/* 80075E54 00072DB4 40 82 00 10 */ bne lbl_80075E64 -/* 80075E58 00072DB8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80075E5C 00072DBC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80075E60 00072DC0 B0 1E 0F 74 */ sth r0, 0xf74(r30) -lbl_80075E64: -/* 80075E64 00072DC4 7F A3 EB 78 */ mr r3, r29 -/* 80075E68 00072DC8 7F 44 D3 78 */ mr r4, r26 -/* 80075E6C 00072DCC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80075E70 00072DD0 7F C5 F3 78 */ mr r5, r30 -/* 80075E74 00072DD4 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80075E78 00072DD8 7D 89 03 A6 */ mtctr r12 -/* 80075E7C 00072DDC 4E 80 04 21 */ bctrl -lbl_80075E80: -/* 80075E80 00072DE0 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80075E84 00072DE4 41 82 04 58 */ beq lbl_800762DC -/* 80075E88 00072DE8 7F A4 EB 78 */ mr r4, r29 -/* 80075E8C 00072DEC 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80075E90 00072DF0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80075E94 00072DF4 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80075E98 00072DF8 7D 89 03 A6 */ mtctr r12 -/* 80075E9C 00072DFC 4E 80 04 21 */ bctrl -/* 80075EA0 00072E00 88 01 01 10 */ lbz r0, 0x110(r1) -/* 80075EA4 00072E04 28 00 00 00 */ cmplwi r0, 0 -/* 80075EA8 00072E08 98 01 01 48 */ stb r0, 0x148(r1) -/* 80075EAC 00072E0C 41 82 00 3C */ beq lbl_80075EE8 -/* 80075EB0 00072E10 34 61 01 30 */ addic. r3, r1, 0x130 -/* 80075EB4 00072E14 41 82 00 34 */ beq lbl_80075EE8 -/* 80075EB8 00072E18 C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 80075EBC 00072E1C D0 03 00 00 */ stfs f0, 0(r3) -/* 80075EC0 00072E20 C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 80075EC4 00072E24 D0 03 00 04 */ stfs f0, 4(r3) -/* 80075EC8 00072E28 C0 01 01 00 */ lfs f0, 0x100(r1) -/* 80075ECC 00072E2C D0 03 00 08 */ stfs f0, 8(r3) -/* 80075ED0 00072E30 C0 01 01 04 */ lfs f0, 0x104(r1) -/* 80075ED4 00072E34 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80075ED8 00072E38 C0 01 01 08 */ lfs f0, 0x108(r1) -/* 80075EDC 00072E3C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80075EE0 00072E40 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 80075EE4 00072E44 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80075EE8: -/* 80075EE8 00072E48 38 00 00 00 */ li r0, 0 -/* 80075EEC 00072E4C 7F 44 D3 78 */ mr r4, r26 -/* 80075EF0 00072E50 98 01 01 10 */ stb r0, 0x110(r1) -/* 80075EF4 00072E54 38 61 00 DC */ addi r3, r1, 0xdc -/* 80075EF8 00072E58 81 9A 00 00 */ lwz r12, 0(r26) -/* 80075EFC 00072E5C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80075F00 00072E60 7D 89 03 A6 */ mtctr r12 -/* 80075F04 00072E64 4E 80 04 21 */ bctrl -/* 80075F08 00072E68 88 01 00 F4 */ lbz r0, 0xf4(r1) -/* 80075F0C 00072E6C 28 00 00 00 */ cmplwi r0, 0 -/* 80075F10 00072E70 98 01 01 2C */ stb r0, 0x12c(r1) -/* 80075F14 00072E74 41 82 00 3C */ beq lbl_80075F50 -/* 80075F18 00072E78 34 61 01 14 */ addic. r3, r1, 0x114 -/* 80075F1C 00072E7C 41 82 00 34 */ beq lbl_80075F50 -/* 80075F20 00072E80 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 80075F24 00072E84 D0 03 00 00 */ stfs f0, 0(r3) -/* 80075F28 00072E88 C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 80075F2C 00072E8C D0 03 00 04 */ stfs f0, 4(r3) -/* 80075F30 00072E90 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 80075F34 00072E94 D0 03 00 08 */ stfs f0, 8(r3) -/* 80075F38 00072E98 C0 01 00 E8 */ lfs f0, 0xe8(r1) -/* 80075F3C 00072E9C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80075F40 00072EA0 C0 01 00 EC */ lfs f0, 0xec(r1) -/* 80075F44 00072EA4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80075F48 00072EA8 C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 80075F4C 00072EAC D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80075F50: -/* 80075F50 00072EB0 88 01 01 48 */ lbz r0, 0x148(r1) -/* 80075F54 00072EB4 38 60 00 00 */ li r3, 0 -/* 80075F58 00072EB8 98 61 00 F4 */ stb r3, 0xf4(r1) -/* 80075F5C 00072EBC 28 00 00 00 */ cmplwi r0, 0 -/* 80075F60 00072EC0 41 82 02 5C */ beq lbl_800761BC -/* 80075F64 00072EC4 88 01 01 2C */ lbz r0, 0x12c(r1) -/* 80075F68 00072EC8 28 00 00 00 */ cmplwi r0, 0 -/* 80075F6C 00072ECC 41 82 02 50 */ beq lbl_800761BC -/* 80075F70 00072ED0 38 61 01 30 */ addi r3, r1, 0x130 -/* 80075F74 00072ED4 38 81 01 14 */ addi r4, r1, 0x114 -/* 80075F78 00072ED8 48 2C 1C 0D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 80075F7C 00072EDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80075F80 00072EE0 41 82 02 3C */ beq lbl_800761BC -/* 80075F84 00072EE4 7F A3 EB 78 */ mr r3, r29 -/* 80075F88 00072EE8 7F 44 D3 78 */ mr r4, r26 -/* 80075F8C 00072EEC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80075F90 00072EF0 7F C5 F3 78 */ mr r5, r30 -/* 80075F94 00072EF4 3B 80 00 01 */ li r28, 1 -/* 80075F98 00072EF8 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 80075F9C 00072EFC 7D 89 03 A6 */ mtctr r12 -/* 80075FA0 00072F00 4E 80 04 21 */ bctrl -/* 80075FA4 00072F04 7F 43 D3 78 */ mr r3, r26 -/* 80075FA8 00072F08 7F C4 F3 78 */ mr r4, r30 -/* 80075FAC 00072F0C 81 9A 00 00 */ lwz r12, 0(r26) -/* 80075FB0 00072F10 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80075FB4 00072F14 7D 89 03 A6 */ mtctr r12 -/* 80075FB8 00072F18 4E 80 04 21 */ bctrl -/* 80075FBC 00072F1C 28 03 00 00 */ cmplwi r3, 0 -/* 80075FC0 00072F20 41 82 01 34 */ beq lbl_800760F4 -/* 80075FC4 00072F24 C0 3D 01 08 */ lfs f1, 0x108(r29) -/* 80075FC8 00072F28 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) -/* 80075FCC 00072F2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80075FD0 00072F30 40 81 01 24 */ ble lbl_800760F4 -/* 80075FD4 00072F34 88 01 01 68 */ lbz r0, 0x168(r1) -/* 80075FD8 00072F38 28 00 00 00 */ cmplwi r0, 0 -/* 80075FDC 00072F3C 40 82 00 A4 */ bne lbl_80076080 -/* 80075FE0 00072F40 FC 20 F8 90 */ fmr f1, f31 -/* 80075FE4 00072F44 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80075FE8 00072F48 38 9D 01 00 */ addi r4, r29, 0x100 -/* 80075FEC 00072F4C 48 04 D4 5D */ bl __ct__11CDamageInfoFRC11CDamageInfof -/* 80075FF0 00072F50 88 01 01 68 */ lbz r0, 0x168(r1) -/* 80075FF4 00072F54 28 00 00 00 */ cmplwi r0, 0 -/* 80075FF8 00072F58 40 82 00 50 */ bne lbl_80076048 -/* 80075FFC 00072F5C 34 61 01 4C */ addic. r3, r1, 0x14c -/* 80076000 00072F60 41 82 00 3C */ beq lbl_8007603C -/* 80076004 00072F64 80 01 00 C0 */ lwz r0, 0xc0(r1) -/* 80076008 00072F68 90 03 00 00 */ stw r0, 0(r3) -/* 8007600C 00072F6C 88 01 00 C4 */ lbz r0, 0xc4(r1) -/* 80076010 00072F70 98 03 00 04 */ stb r0, 4(r3) -/* 80076014 00072F74 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 80076018 00072F78 D0 03 00 08 */ stfs f0, 8(r3) -/* 8007601C 00072F7C C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 80076020 00072F80 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80076024 00072F84 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 80076028 00072F88 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8007602C 00072F8C C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 80076030 00072F90 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80076034 00072F94 88 01 00 D8 */ lbz r0, 0xd8(r1) -/* 80076038 00072F98 98 03 00 18 */ stb r0, 0x18(r3) -lbl_8007603C: -/* 8007603C 00072F9C 38 00 00 01 */ li r0, 1 -/* 80076040 00072FA0 98 01 01 68 */ stb r0, 0x168(r1) -/* 80076044 00072FA4 48 00 00 3C */ b lbl_80076080 -lbl_80076048: -/* 80076048 00072FA8 80 81 00 C0 */ lwz r4, 0xc0(r1) -/* 8007604C 00072FAC 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 80076050 00072FB0 C0 61 00 C8 */ lfs f3, 0xc8(r1) -/* 80076054 00072FB4 C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 80076058 00072FB8 C0 21 00 D0 */ lfs f1, 0xd0(r1) -/* 8007605C 00072FBC C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 80076060 00072FC0 88 01 00 D8 */ lbz r0, 0xd8(r1) -/* 80076064 00072FC4 90 81 01 4C */ stw r4, 0x14c(r1) -/* 80076068 00072FC8 90 61 01 50 */ stw r3, 0x150(r1) -/* 8007606C 00072FCC D0 61 01 54 */ stfs f3, 0x154(r1) -/* 80076070 00072FD0 D0 41 01 58 */ stfs f2, 0x158(r1) -/* 80076074 00072FD4 D0 21 01 5C */ stfs f1, 0x15c(r1) -/* 80076078 00072FD8 D0 01 01 60 */ stfs f0, 0x160(r1) -/* 8007607C 00072FDC 98 01 01 64 */ stb r0, 0x164(r1) -lbl_80076080: -/* 80076080 00072FE0 80 AD 83 D0 */ lwz r5, lbl_805A6F90@sda21(r13) -/* 80076084 00072FE4 38 60 00 00 */ li r3, 0 -/* 80076088 00072FE8 38 80 00 01 */ li r4, 1 -/* 8007608C 00072FEC 48 31 3E 69 */ bl __shl2i -/* 80076090 00072FF0 39 40 00 00 */ li r10, 0 -/* 80076094 00072FF4 38 00 00 03 */ li r0, 3 -/* 80076098 00072FF8 90 81 00 AC */ stw r4, 0xac(r1) -/* 8007609C 00072FFC 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800760A0 00073000 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 800760A4 00073004 38 A1 00 30 */ addi r5, r1, 0x30 -/* 800760A8 00073008 90 61 00 A8 */ stw r3, 0xa8(r1) -/* 800760AC 0007300C 38 81 00 38 */ addi r4, r1, 0x38 -/* 800760B0 00073010 7F C3 F3 78 */ mr r3, r30 -/* 800760B4 00073014 38 C1 00 28 */ addi r6, r1, 0x28 -/* 800760B8 00073018 91 41 00 B4 */ stw r10, 0xb4(r1) -/* 800760BC 0007301C 38 E1 01 4C */ addi r7, r1, 0x14c -/* 800760C0 00073020 39 01 00 A8 */ addi r8, r1, 0xa8 -/* 800760C4 00073024 91 41 00 B0 */ stw r10, 0xb0(r1) -/* 800760C8 00073028 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 800760CC 0007302C A0 1D 00 08 */ lhz r0, 8(r29) -/* 800760D0 00073030 B0 01 00 28 */ sth r0, 0x28(r1) -/* 800760D4 00073034 A1 5A 00 08 */ lhz r10, 8(r26) -/* 800760D8 00073038 B0 01 00 24 */ sth r0, 0x24(r1) -/* 800760DC 0007303C B1 41 00 30 */ sth r10, 0x30(r1) -/* 800760E0 00073040 A0 1D 00 08 */ lhz r0, 8(r29) -/* 800760E4 00073044 B1 41 00 2C */ sth r10, 0x2c(r1) -/* 800760E8 00073048 B0 01 00 34 */ sth r0, 0x34(r1) -/* 800760EC 0007304C B0 01 00 38 */ sth r0, 0x38(r1) -/* 800760F0 00073050 4B FD 3F B1 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_800760F4: -/* 800760F4 00073054 C0 3D 01 28 */ lfs f1, 0x128(r29) -/* 800760F8 00073058 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) -/* 800760FC 0007305C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80076100 00073060 40 81 01 54 */ ble lbl_80076254 -/* 80076104 00073064 7F 44 D3 78 */ mr r4, r26 -/* 80076108 00073068 38 61 00 4C */ addi r3, r1, 0x4c -/* 8007610C 0007306C 48 03 65 D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80076110 00073070 83 03 00 04 */ lwz r24, 4(r3) -/* 80076114 00073074 28 18 00 00 */ cmplwi r24, 0 -/* 80076118 00073078 41 82 01 3C */ beq lbl_80076254 -/* 8007611C 0007307C 80 1D 01 2C */ lwz r0, 0x12c(r29) -/* 80076120 00073080 C0 62 88 D4 */ lfs f3, lbl_805AA5F4@sda21(r2) -/* 80076124 00073084 54 00 04 21 */ rlwinm. r0, r0, 0, 0x10, 0x10 -/* 80076128 00073088 41 82 00 2C */ beq lbl_80076154 -/* 8007612C 0007308C 38 61 01 14 */ addi r3, r1, 0x114 -/* 80076130 00073090 48 2C 15 21 */ bl GetVolume__6CAABoxCFv -/* 80076134 00073094 FF C0 08 90 */ fmr f30, f1 -/* 80076138 00073098 38 61 00 8C */ addi r3, r1, 0x8c -/* 8007613C 0007309C 38 81 01 30 */ addi r4, r1, 0x130 -/* 80076140 000730A0 38 A1 01 14 */ addi r5, r1, 0x114 -/* 80076144 000730A4 48 2C 15 E1 */ bl GetBooleanIntersection__6CAABoxCFRC6CAABox -/* 80076148 000730A8 38 61 00 8C */ addi r3, r1, 0x8c -/* 8007614C 000730AC 48 2C 15 05 */ bl GetVolume__6CAABoxCFv -/* 80076150 000730B0 EC 61 F0 24 */ fdivs f3, f1, f30 -lbl_80076154: -/* 80076154 000730B4 C0 5D 01 20 */ lfs f2, 0x120(r29) -/* 80076158 000730B8 C0 3D 01 24 */ lfs f1, 0x124(r29) -/* 8007615C 000730BC C0 1D 01 1C */ lfs f0, 0x11c(r29) -/* 80076160 000730C0 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80076164 000730C4 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80076168 000730C8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8007616C 000730CC D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 80076170 000730D0 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80076174 000730D4 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80076178 000730D8 80 1D 01 2C */ lwz r0, 0x12c(r29) -/* 8007617C 000730DC 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12 -/* 80076180 000730E0 41 82 00 24 */ beq lbl_800761A4 -/* 80076184 000730E4 4B FA 53 B1 */ bl Identity__10CAxisAngleFv -/* 80076188 000730E8 7C 65 1B 78 */ mr r5, r3 -/* 8007618C 000730EC 7F 03 C3 78 */ mr r3, r24 -/* 80076190 000730F0 38 81 00 68 */ addi r4, r1, 0x68 -/* 80076194 000730F4 48 0A 62 05 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 80076198 000730F8 7F 03 C3 78 */ mr r3, r24 -/* 8007619C 000730FC 48 0A 4F E1 */ bl UseCollisionImpulses__13CPhysicsActorFv -/* 800761A0 00073100 48 00 00 B4 */ b lbl_80076254 -lbl_800761A4: -/* 800761A4 00073104 4B FA 53 91 */ bl Identity__10CAxisAngleFv -/* 800761A8 00073108 7C 65 1B 78 */ mr r5, r3 -/* 800761AC 0007310C 7F 03 C3 78 */ mr r3, r24 -/* 800761B0 00073110 38 81 00 68 */ addi r4, r1, 0x68 -/* 800761B4 00073114 48 0A 61 11 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800761B8 00073118 48 00 00 9C */ b lbl_80076254 -lbl_800761BC: -/* 800761BC 0007311C 7F 24 CB 78 */ mr r4, r25 -/* 800761C0 00073120 38 7D 00 E8 */ addi r3, r29, 0xe8 -/* 800761C4 00073124 48 00 0D B5 */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" -/* 800761C8 00073128 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 800761CC 0007312C 3B E0 00 01 */ li r31, 1 -/* 800761D0 00073130 A0 99 00 08 */ lhz r4, 8(r25) -/* 800761D4 00073134 A0 03 00 08 */ lhz r0, 8(r3) -/* 800761D8 00073138 7C 04 00 40 */ cmplw r4, r0 -/* 800761DC 0007313C 40 82 00 5C */ bne lbl_80076238 -/* 800761E0 00073140 88 7D 01 48 */ lbz r3, 0x148(r29) -/* 800761E4 00073144 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 800761E8 00073148 41 82 00 50 */ beq lbl_80076238 -/* 800761EC 0007314C 38 00 00 00 */ li r0, 0 -/* 800761F0 00073150 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 800761F4 00073154 98 7D 01 48 */ stb r3, 0x148(r29) -/* 800761F8 00073158 88 1D 01 48 */ lbz r0, 0x148(r29) -/* 800761FC 0007315C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80076200 00073160 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80076204 00073164 41 82 00 18 */ beq lbl_8007621C -/* 80076208 00073168 4B F9 B7 3D */ bl DecrementPhazon__7CPlayerFv -/* 8007620C 0007316C 88 1D 01 48 */ lbz r0, 0x148(r29) -/* 80076210 00073170 38 60 00 00 */ li r3, 0 -/* 80076214 00073174 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80076218 00073178 98 1D 01 48 */ stb r0, 0x148(r29) -lbl_8007621C: -/* 8007621C 0007317C A0 7E 0F 74 */ lhz r3, 0xf74(r30) -/* 80076220 00073180 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80076224 00073184 7C 03 00 40 */ cmplw r3, r0 -/* 80076228 00073188 40 82 00 10 */ bne lbl_80076238 -/* 8007622C 0007318C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80076230 00073190 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80076234 00073194 B0 1E 0F 74 */ sth r0, 0xf74(r30) -lbl_80076238: -/* 80076238 00073198 7F A3 EB 78 */ mr r3, r29 -/* 8007623C 0007319C 7F 44 D3 78 */ mr r4, r26 -/* 80076240 000731A0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80076244 000731A4 7F C5 F3 78 */ mr r5, r30 -/* 80076248 000731A8 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8007624C 000731AC 7D 89 03 A6 */ mtctr r12 -/* 80076250 000731B0 4E 80 04 21 */ bctrl -lbl_80076254: -/* 80076254 000731B4 38 00 00 00 */ li r0, 0 -/* 80076258 000731B8 98 01 01 2C */ stb r0, 0x12c(r1) -/* 8007625C 000731BC 98 01 01 48 */ stb r0, 0x148(r1) -/* 80076260 000731C0 48 00 00 7C */ b lbl_800762DC -lbl_80076264: -/* 80076264 000731C4 7F 24 CB 78 */ mr r4, r25 -/* 80076268 000731C8 38 7D 00 E8 */ addi r3, r29, 0xe8 -/* 8007626C 000731CC 48 00 0D 0D */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" -/* 80076270 000731D0 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80076274 000731D4 A0 99 00 08 */ lhz r4, 8(r25) -/* 80076278 000731D8 A0 03 00 08 */ lhz r0, 8(r3) -/* 8007627C 000731DC 7C 04 00 40 */ cmplw r4, r0 -/* 80076280 000731E0 40 82 00 5C */ bne lbl_800762DC -/* 80076284 000731E4 88 7D 01 48 */ lbz r3, 0x148(r29) -/* 80076288 000731E8 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 8007628C 000731EC 41 82 00 50 */ beq lbl_800762DC -/* 80076290 000731F0 38 00 00 00 */ li r0, 0 -/* 80076294 000731F4 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 80076298 000731F8 98 7D 01 48 */ stb r3, 0x148(r29) -/* 8007629C 000731FC 88 1D 01 48 */ lbz r0, 0x148(r29) -/* 800762A0 00073200 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 800762A4 00073204 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800762A8 00073208 41 82 00 18 */ beq lbl_800762C0 -/* 800762AC 0007320C 4B F9 B6 99 */ bl DecrementPhazon__7CPlayerFv -/* 800762B0 00073210 88 1D 01 48 */ lbz r0, 0x148(r29) -/* 800762B4 00073214 38 60 00 00 */ li r3, 0 -/* 800762B8 00073218 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800762BC 0007321C 98 1D 01 48 */ stb r0, 0x148(r29) -lbl_800762C0: -/* 800762C0 00073220 A0 7E 0F 74 */ lhz r3, 0xf74(r30) -/* 800762C4 00073224 A0 1D 00 08 */ lhz r0, 8(r29) -/* 800762C8 00073228 7C 03 00 40 */ cmplw r3, r0 -/* 800762CC 0007322C 40 82 00 10 */ bne lbl_800762DC -/* 800762D0 00073230 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800762D4 00073234 B0 01 00 08 */ sth r0, 8(r1) -/* 800762D8 00073238 B0 1E 0F 74 */ sth r0, 0xf74(r30) -lbl_800762DC: -/* 800762DC 0007323C 7F 79 DB 78 */ mr r25, r27 -lbl_800762E0: -/* 800762E0 00073240 80 1D 00 F0 */ lwz r0, 0xf0(r29) -/* 800762E4 00073244 7C 19 00 40 */ cmplw r25, r0 -/* 800762E8 00073248 40 82 FA 88 */ bne lbl_80075D70 -/* 800762EC 0007324C 80 1D 01 2C */ lwz r0, 0x12c(r29) -/* 800762F0 00073250 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 -/* 800762F4 00073254 40 82 00 10 */ bne lbl_80076304 -/* 800762F8 00073258 88 1D 01 48 */ lbz r0, 0x148(r29) -/* 800762FC 0007325C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80076300 00073260 41 82 01 14 */ beq lbl_80076414 -lbl_80076304: -/* 80076304 00073264 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 80076308 00073268 7F C4 F3 78 */ mr r4, r30 -/* 8007630C 0007326C 4B F9 58 55 */ bl GetCurrentCamera__14CCameraManagerFR13CStateManager -/* 80076310 00073270 7C 78 1B 78 */ mr r24, r3 -/* 80076314 00073274 7F A4 EB 78 */ mr r4, r29 -/* 80076318 00073278 C0 58 00 60 */ lfs f2, 0x60(r24) -/* 8007631C 0007327C 38 61 00 74 */ addi r3, r1, 0x74 -/* 80076320 00073280 C0 38 00 50 */ lfs f1, 0x50(r24) -/* 80076324 00073284 C0 18 00 40 */ lfs f0, 0x40(r24) -/* 80076328 00073288 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8007632C 0007328C D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80076330 00073290 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80076334 00073294 48 00 03 99 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80076338 00073298 38 61 00 74 */ addi r3, r1, 0x74 -/* 8007633C 0007329C 38 81 00 5C */ addi r4, r1, 0x5c -/* 80076340 000732A0 48 2C 11 F5 */ bl PointInside__6CAABoxCFRC9CVector3f -/* 80076344 000732A4 88 9D 01 48 */ lbz r4, 0x148(r29) -/* 80076348 000732A8 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 8007634C 000732AC 41 82 00 78 */ beq lbl_800763C4 -/* 80076350 000732B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80076354 000732B4 40 82 00 40 */ bne lbl_80076394 -/* 80076358 000732B8 38 00 00 00 */ li r0, 0 -/* 8007635C 000732BC 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 80076360 000732C0 98 9D 01 48 */ stb r4, 0x148(r29) -/* 80076364 000732C4 80 1D 01 2C */ lwz r0, 0x12c(r29) -/* 80076368 000732C8 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 -/* 8007636C 000732CC 41 82 00 A8 */ beq lbl_80076414 -/* 80076370 000732D0 7F A3 EB 78 */ mr r3, r29 -/* 80076374 000732D4 7F 04 C3 78 */ mr r4, r24 -/* 80076378 000732D8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8007637C 000732DC 7F C5 F3 78 */ mr r5, r30 -/* 80076380 000732E0 3B E0 00 01 */ li r31, 1 -/* 80076384 000732E4 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80076388 000732E8 7D 89 03 A6 */ mtctr r12 -/* 8007638C 000732EC 4E 80 04 21 */ bctrl -/* 80076390 000732F0 48 00 00 84 */ b lbl_80076414 -lbl_80076394: -/* 80076394 000732F4 80 1D 01 2C */ lwz r0, 0x12c(r29) -/* 80076398 000732F8 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 -/* 8007639C 000732FC 41 82 00 78 */ beq lbl_80076414 -/* 800763A0 00073300 7F A3 EB 78 */ mr r3, r29 -/* 800763A4 00073304 7F 04 C3 78 */ mr r4, r24 -/* 800763A8 00073308 81 9D 00 00 */ lwz r12, 0(r29) -/* 800763AC 0007330C 7F C5 F3 78 */ mr r5, r30 -/* 800763B0 00073310 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 800763B4 00073314 7D 89 03 A6 */ mtctr r12 -/* 800763B8 00073318 4E 80 04 21 */ bctrl -/* 800763BC 0007331C 3B 80 00 01 */ li r28, 1 -/* 800763C0 00073320 48 00 00 54 */ b lbl_80076414 -lbl_800763C4: -/* 800763C4 00073324 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800763C8 00073328 41 82 00 4C */ beq lbl_80076414 -/* 800763CC 0007332C 38 00 00 01 */ li r0, 1 -/* 800763D0 00073330 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 800763D4 00073334 98 9D 01 48 */ stb r4, 0x148(r29) -/* 800763D8 00073338 80 1D 01 2C */ lwz r0, 0x12c(r29) -/* 800763DC 0007333C 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 -/* 800763E0 00073340 41 82 00 34 */ beq lbl_80076414 -/* 800763E4 00073344 7F A3 EB 78 */ mr r3, r29 -/* 800763E8 00073348 7F 04 C3 78 */ mr r4, r24 -/* 800763EC 0007334C 81 9D 00 00 */ lwz r12, 0(r29) -/* 800763F0 00073350 7F C5 F3 78 */ mr r5, r30 -/* 800763F4 00073354 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 800763F8 00073358 7D 89 03 A6 */ mtctr r12 -/* 800763FC 0007335C 4E 80 04 21 */ bctrl -/* 80076400 00073360 7F A3 EB 78 */ mr r3, r29 -/* 80076404 00073364 7F C5 F3 78 */ mr r5, r30 -/* 80076408 00073368 38 80 00 03 */ li r4, 3 -/* 8007640C 0007336C 38 C0 FF FF */ li r6, -1 -/* 80076410 00073370 4B FD AC B1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_80076414: -/* 80076414 00073374 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80076418 00073378 41 82 00 18 */ beq lbl_80076430 -/* 8007641C 0007337C 7F A3 EB 78 */ mr r3, r29 -/* 80076420 00073380 7F C5 F3 78 */ mr r5, r30 -/* 80076424 00073384 38 80 00 06 */ li r4, 6 -/* 80076428 00073388 38 C0 FF FF */ li r6, -1 -/* 8007642C 0007338C 4B FD AC 95 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_80076430: -/* 80076430 00073390 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80076434 00073394 41 82 00 6C */ beq lbl_800764A0 -/* 80076438 00073398 7F A3 EB 78 */ mr r3, r29 -/* 8007643C 0007339C 7F C5 F3 78 */ mr r5, r30 -/* 80076440 000733A0 38 80 00 04 */ li r4, 4 -/* 80076444 000733A4 38 C0 FF FF */ li r6, -1 -/* 80076448 000733A8 4B FD AC 79 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8007644C 000733AC 88 1D 01 48 */ lbz r0, 0x148(r29) -/* 80076450 000733B0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80076454 000733B4 41 82 00 4C */ beq lbl_800764A0 -/* 80076458 000733B8 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8007645C 000733BC 7F C4 F3 78 */ mr r4, r30 -/* 80076460 000733C0 38 61 00 44 */ addi r3, r1, 0x44 -/* 80076464 000733C4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80076468 000733C8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8007646C 000733CC B0 01 00 18 */ sth r0, 0x18(r1) -/* 80076470 000733D0 4B FD 1A 51 */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId -/* 80076474 000733D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80076478 000733D8 7F C3 F3 78 */ mr r3, r30 -/* 8007647C 000733DC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80076480 000733E0 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80076484 000733E4 90 01 00 48 */ stw r0, 0x48(r1) -/* 80076488 000733E8 38 C0 00 04 */ li r6, 4 -/* 8007648C 000733EC 38 E0 00 04 */ li r7, 4 -/* 80076490 000733F0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80076494 000733F4 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80076498 000733F8 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8007649C 000733FC 4B FD 16 A1 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState -lbl_800764A0: -/* 800764A0 00073400 38 00 00 00 */ li r0, 0 -/* 800764A4 00073404 98 01 01 68 */ stb r0, 0x168(r1) -/* 800764A8 00073408 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 -/* 800764AC 0007340C CB E1 01 A0 */ lfd f31, 0x1a0(r1) -/* 800764B0 00073410 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 -/* 800764B4 00073414 CB C1 01 90 */ lfd f30, 0x190(r1) -/* 800764B8 00073418 BB 01 01 70 */ lmw r24, 0x170(r1) -/* 800764BC 0007341C 80 01 01 B4 */ lwz r0, 0x1b4(r1) -/* 800764C0 00073420 7C 08 03 A6 */ mtlr r0 -/* 800764C4 00073424 38 21 01 B0 */ addi r1, r1, 0x1b0 -/* 800764C8 00073428 4E 80 00 20 */ blr - -.global Think__14CScriptTriggerFfR13CStateManager -Think__14CScriptTriggerFfR13CStateManager: -/* 800764CC 0007342C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800764D0 00073430 7C 08 02 A6 */ mflr r0 -/* 800764D4 00073434 90 01 00 14 */ stw r0, 0x14(r1) -/* 800764D8 00073438 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800764DC 0007343C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800764E0 00073440 41 82 00 08 */ beq lbl_800764E8 -/* 800764E4 00073444 4B FF F8 49 */ bl UpdateInhabitants__14CScriptTriggerFR13CStateManager -lbl_800764E8: -/* 800764E8 00073448 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800764EC 0007344C 7C 08 03 A6 */ mtlr r0 -/* 800764F0 00073450 38 21 00 10 */ addi r1, r1, 0x10 -/* 800764F4 00073454 4E 80 00 20 */ blr - -.global AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800764F8 00073458 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800764FC 0007345C 7C 08 02 A6 */ mflr r0 -/* 80076500 00073460 90 01 00 34 */ stw r0, 0x34(r1) -/* 80076504 00073464 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80076508 00073468 7C 7C 1B 78 */ mr r28, r3 -/* 8007650C 0007346C 7C 9D 23 78 */ mr r29, r4 -/* 80076510 00073470 7C BE 2B 78 */ mr r30, r5 -/* 80076514 00073474 7C DF 33 78 */ mr r31, r6 -/* 80076518 00073478 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8007651C 0007347C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80076520 00073480 41 82 00 F4 */ beq lbl_80076614 -/* 80076524 00073484 2C 1D 00 04 */ cmpwi r29, 4 -/* 80076528 00073488 40 82 00 8C */ bne lbl_800765B4 -/* 8007652C 0007348C 83 7C 00 F0 */ lwz r27, 0xf0(r28) -/* 80076530 00073490 80 9C 00 EC */ lwz r4, 0xec(r28) -/* 80076534 00073494 48 00 00 10 */ b lbl_80076544 -lbl_80076538: -/* 80076538 00073498 38 7C 00 E8 */ addi r3, r28, 0xe8 -/* 8007653C 0007349C 48 00 0A 3D */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" -/* 80076540 000734A0 7C 64 1B 78 */ mr r4, r3 -lbl_80076544: -/* 80076544 000734A4 7C 04 D8 40 */ cmplw r4, r27 -/* 80076548 000734A8 40 82 FF F0 */ bne lbl_80076538 -/* 8007654C 000734AC 88 1C 01 48 */ lbz r0, 0x148(r28) -/* 80076550 000734B0 38 80 00 00 */ li r4, 0 -/* 80076554 000734B4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80076558 000734B8 98 1C 01 48 */ stb r0, 0x148(r28) -/* 8007655C 000734BC 88 7C 01 48 */ lbz r3, 0x148(r28) -/* 80076560 000734C0 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80076564 000734C4 41 82 00 B0 */ beq lbl_80076614 -/* 80076568 000734C8 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c -/* 8007656C 000734CC 98 7C 01 48 */ stb r3, 0x148(r28) -/* 80076570 000734D0 88 1C 01 48 */ lbz r0, 0x148(r28) -/* 80076574 000734D4 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80076578 000734D8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8007657C 000734DC 41 82 00 18 */ beq lbl_80076594 -/* 80076580 000734E0 4B F9 B3 C5 */ bl DecrementPhazon__7CPlayerFv -/* 80076584 000734E4 88 1C 01 48 */ lbz r0, 0x148(r28) -/* 80076588 000734E8 38 60 00 00 */ li r3, 0 -/* 8007658C 000734EC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80076590 000734F0 98 1C 01 48 */ stb r0, 0x148(r28) -lbl_80076594: -/* 80076594 000734F4 A0 7F 0F 74 */ lhz r3, 0xf74(r31) -/* 80076598 000734F8 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8007659C 000734FC 7C 03 00 40 */ cmplw r3, r0 -/* 800765A0 00073500 40 82 00 74 */ bne lbl_80076614 -/* 800765A4 00073504 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800765A8 00073508 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800765AC 0007350C B0 1F 0F 74 */ sth r0, 0xf74(r31) -/* 800765B0 00073510 48 00 00 64 */ b lbl_80076614 -lbl_800765B4: -/* 800765B4 00073514 2C 1D 00 22 */ cmpwi r29, 0x22 -/* 800765B8 00073518 40 82 00 5C */ bne lbl_80076614 -/* 800765BC 0007351C 88 7C 01 48 */ lbz r3, 0x148(r28) -/* 800765C0 00073520 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 800765C4 00073524 41 82 00 50 */ beq lbl_80076614 -/* 800765C8 00073528 38 00 00 00 */ li r0, 0 -/* 800765CC 0007352C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 800765D0 00073530 98 7C 01 48 */ stb r3, 0x148(r28) -/* 800765D4 00073534 88 1C 01 48 */ lbz r0, 0x148(r28) -/* 800765D8 00073538 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 800765DC 0007353C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800765E0 00073540 41 82 00 18 */ beq lbl_800765F8 -/* 800765E4 00073544 4B F9 B3 61 */ bl DecrementPhazon__7CPlayerFv -/* 800765E8 00073548 88 1C 01 48 */ lbz r0, 0x148(r28) -/* 800765EC 0007354C 38 60 00 00 */ li r3, 0 -/* 800765F0 00073550 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800765F4 00073554 98 1C 01 48 */ stb r0, 0x148(r28) -lbl_800765F8: -/* 800765F8 00073558 A0 7F 0F 74 */ lhz r3, 0xf74(r31) -/* 800765FC 0007355C A0 1C 00 08 */ lhz r0, 8(r28) -/* 80076600 00073560 7C 03 00 40 */ cmplw r3, r0 -/* 80076604 00073564 40 82 00 10 */ bne lbl_80076614 -/* 80076608 00073568 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007660C 0007356C B0 01 00 08 */ sth r0, 8(r1) -/* 80076610 00073570 B0 1F 0F 74 */ sth r0, 0xf74(r31) -lbl_80076614: -/* 80076614 00073574 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80076618 00073578 7F 83 E3 78 */ mr r3, r28 -/* 8007661C 0007357C 7F A4 EB 78 */ mr r4, r29 -/* 80076620 00073580 7F E6 FB 78 */ mr r6, r31 -/* 80076624 00073584 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80076628 00073588 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8007662C 0007358C 4B FD CF E9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80076630 00073590 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80076634 00073594 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80076638 00073598 7C 08 03 A6 */ mtlr r0 -/* 8007663C 0007359C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80076640 000735A0 4E 80 00 20 */ blr - -.global GetTouchBounds__14CScriptTriggerCFv -GetTouchBounds__14CScriptTriggerCFv: -/* 80076644 000735A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80076648 000735A8 7C 08 02 A6 */ mflr r0 -/* 8007664C 000735AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80076650 000735B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80076654 000735B4 7C 7F 1B 78 */ mr r31, r3 -/* 80076658 000735B8 88 04 00 30 */ lbz r0, 0x30(r4) -/* 8007665C 000735BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80076660 000735C0 41 82 00 50 */ beq lbl_800766B0 -/* 80076664 000735C4 38 61 00 08 */ addi r3, r1, 8 -/* 80076668 000735C8 48 00 00 65 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 8007666C 000735CC 38 00 00 01 */ li r0, 1 -/* 80076670 000735D0 28 1F 00 00 */ cmplwi r31, 0 -/* 80076674 000735D4 98 1F 00 18 */ stb r0, 0x18(r31) -/* 80076678 000735D8 41 82 00 40 */ beq lbl_800766B8 -/* 8007667C 000735DC C0 01 00 08 */ lfs f0, 8(r1) -/* 80076680 000735E0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80076684 000735E4 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80076688 000735E8 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8007668C 000735EC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80076690 000735F0 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80076694 000735F4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80076698 000735F8 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8007669C 000735FC C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800766A0 00073600 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 800766A4 00073604 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800766A8 00073608 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 800766AC 0007360C 48 00 00 0C */ b lbl_800766B8 -lbl_800766B0: -/* 800766B0 00073610 38 00 00 00 */ li r0, 0 -/* 800766B4 00073614 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_800766B8: -/* 800766B8 00073618 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800766BC 0007361C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800766C0 00073620 7C 08 03 A6 */ mtlr r0 -/* 800766C4 00073624 38 21 00 30 */ addi r1, r1, 0x30 -/* 800766C8 00073628 4E 80 00 20 */ blr - -.global GetTriggerBoundsWR__14CScriptTriggerCFv -GetTriggerBoundsWR__14CScriptTriggerCFv: -/* 800766CC 0007362C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800766D0 00073630 7C 08 02 A6 */ mflr r0 -/* 800766D4 00073634 90 01 00 24 */ stw r0, 0x24(r1) -/* 800766D8 00073638 38 A1 00 08 */ addi r5, r1, 8 -/* 800766DC 0007363C C0 24 01 40 */ lfs f1, 0x140(r4) -/* 800766E0 00073640 C0 64 00 50 */ lfs f3, 0x50(r4) -/* 800766E4 00073644 C0 04 01 34 */ lfs f0, 0x134(r4) -/* 800766E8 00073648 EC C1 18 2A */ fadds f6, f1, f3 -/* 800766EC 0007364C C0 44 01 44 */ lfs f2, 0x144(r4) -/* 800766F0 00073650 EC 80 18 2A */ fadds f4, f0, f3 -/* 800766F4 00073654 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 800766F8 00073658 C0 04 01 38 */ lfs f0, 0x138(r4) -/* 800766FC 0007365C EC A2 08 2A */ fadds f5, f2, f1 -/* 80076700 00073660 EC 60 08 2A */ fadds f3, f0, f1 -/* 80076704 00073664 C0 24 01 3C */ lfs f1, 0x13c(r4) -/* 80076708 00073668 C0 44 00 40 */ lfs f2, 0x40(r4) -/* 8007670C 0007366C C0 04 01 30 */ lfs f0, 0x130(r4) -/* 80076710 00073670 38 81 00 14 */ addi r4, r1, 0x14 -/* 80076714 00073674 EC 21 10 2A */ fadds f1, f1, f2 -/* 80076718 00073678 EC 00 10 2A */ fadds f0, f0, f2 -/* 8007671C 0007367C D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 80076720 00073680 D0 21 00 08 */ stfs f1, 8(r1) -/* 80076724 00073684 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 80076728 00073688 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8007672C 0007368C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80076730 00073690 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80076734 00073694 48 2C 1D D5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80076738 00073698 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007673C 0007369C 7C 08 03 A6 */ mtlr r0 -/* 80076740 000736A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80076744 000736A4 4E 80 00 20 */ blr - -.global Touch__14CScriptTriggerFR6CActorR13CStateManager -Touch__14CScriptTriggerFR6CActorR13CStateManager: -/* 80076748 000736A8 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8007674C 000736AC 7C 08 02 A6 */ mflr r0 -/* 80076750 000736B0 90 01 01 04 */ stw r0, 0x104(r1) -/* 80076754 000736B4 BF 21 00 E4 */ stmw r25, 0xe4(r1) -/* 80076758 000736B8 7C 7B 1B 78 */ mr r27, r3 -/* 8007675C 000736BC 7C 9C 23 78 */ mr r28, r4 -/* 80076760 000736C0 7C BD 2B 78 */ mr r29, r5 -/* 80076764 000736C4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80076768 000736C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8007676C 000736CC 41 82 05 00 */ beq lbl_80076C6C -/* 80076770 000736D0 80 9C 00 68 */ lwz r4, 0x68(r28) -/* 80076774 000736D4 38 00 00 04 */ li r0, 4 -/* 80076778 000736D8 80 DC 00 6C */ lwz r6, 0x6c(r28) -/* 8007677C 000736DC 38 A0 00 00 */ li r5, 0 -/* 80076780 000736E0 7C 80 00 38 */ and r0, r4, r0 -/* 80076784 000736E4 7C C4 28 38 */ and r4, r6, r5 -/* 80076788 000736E8 7C 84 2A 78 */ xor r4, r4, r5 -/* 8007678C 000736EC 7C 00 2A 78 */ xor r0, r0, r5 -/* 80076790 000736F0 7C 80 03 79 */ or. r0, r4, r0 -/* 80076794 000736F4 40 82 04 D8 */ bne lbl_80076C6C -/* 80076798 000736F8 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8007679C 000736FC 38 81 00 5C */ addi r4, r1, 0x5c -/* 800767A0 00073700 B0 01 00 58 */ sth r0, 0x58(r1) -/* 800767A4 00073704 B0 01 00 5C */ sth r0, 0x5c(r1) -/* 800767A8 00073708 4B FF F5 01 */ bl FindObject__14CScriptTriggerF9TUniqueId -/* 800767AC 0007370C 28 03 00 00 */ cmplwi r3, 0 -/* 800767B0 00073710 40 82 04 BC */ bne lbl_80076C6C -/* 800767B4 00073714 7F 84 E3 78 */ mr r4, r28 -/* 800767B8 00073718 38 61 00 80 */ addi r3, r1, 0x80 -/* 800767BC 0007371C 3B E0 00 00 */ li r31, 0 -/* 800767C0 00073720 48 03 5C 41 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -/* 800767C4 00073724 83 C3 00 04 */ lwz r30, 4(r3) -/* 800767C8 00073728 28 1E 00 00 */ cmplwi r30, 0 -/* 800767CC 0007372C 41 82 00 60 */ beq lbl_8007682C -/* 800767D0 00073730 C0 3B 01 28 */ lfs f1, 0x128(r27) -/* 800767D4 00073734 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) -/* 800767D8 00073738 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800767DC 0007373C 40 81 00 30 */ ble lbl_8007680C -/* 800767E0 00073740 80 1B 01 2C */ lwz r0, 0x12c(r27) -/* 800767E4 00073744 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800767E8 00073748 41 82 00 24 */ beq lbl_8007680C -/* 800767EC 0007374C A0 7D 0F 74 */ lhz r3, 0xf74(r29) -/* 800767F0 00073750 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800767F4 00073754 7C 03 00 40 */ cmplw r3, r0 -/* 800767F8 00073758 40 82 04 74 */ bne lbl_80076C6C -/* 800767FC 0007375C A0 1B 00 08 */ lhz r0, 8(r27) -/* 80076800 00073760 B0 01 00 50 */ sth r0, 0x50(r1) -/* 80076804 00073764 B0 01 00 54 */ sth r0, 0x54(r1) -/* 80076808 00073768 B0 1D 0F 74 */ sth r0, 0xf74(r29) -lbl_8007680C: -/* 8007680C 0007376C 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 80076810 00073770 63 FF 00 01 */ ori r31, r31, 1 -/* 80076814 00073774 2C 00 00 00 */ cmpwi r0, 0 -/* 80076818 00073778 40 82 00 08 */ bne lbl_80076820 -/* 8007681C 0007377C 67 FF 00 01 */ oris r31, r31, 1 -lbl_80076820: -/* 80076820 00073780 2C 00 00 01 */ cmpwi r0, 1 -/* 80076824 00073784 40 82 00 08 */ bne lbl_8007682C -/* 80076828 00073788 63 FF 10 00 */ ori r31, r31, 0x1000 -lbl_8007682C: -/* 8007682C 0007378C 7F 84 E3 78 */ mr r4, r28 -/* 80076830 00073790 38 61 00 78 */ addi r3, r1, 0x78 -/* 80076834 00073794 48 03 62 95 */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity" -/* 80076838 00073798 80 03 00 04 */ lwz r0, 4(r3) -/* 8007683C 0007379C 28 00 00 00 */ cmplwi r0, 0 -/* 80076840 000737A0 41 82 00 08 */ beq lbl_80076848 -/* 80076844 000737A4 63 FF 00 02 */ ori r31, r31, 2 -lbl_80076848: -/* 80076848 000737A8 7F 84 E3 78 */ mr r4, r28 -/* 8007684C 000737AC 38 61 00 70 */ addi r3, r1, 0x70 -/* 80076850 000737B0 48 03 6F 29 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" -/* 80076854 000737B4 80 03 00 04 */ lwz r0, 4(r3) -/* 80076858 000737B8 28 00 00 00 */ cmplwi r0, 0 -/* 8007685C 000737BC 41 82 00 0C */ beq lbl_80076868 -/* 80076860 000737C0 63 FF 07 3C */ ori r31, r31, 0x73c -/* 80076864 000737C4 48 00 00 44 */ b lbl_800768A8 -lbl_80076868: -/* 80076868 000737C8 7F 84 E3 78 */ mr r4, r28 -/* 8007686C 000737CC 38 61 00 68 */ addi r3, r1, 0x68 -/* 80076870 000737D0 48 02 F0 95 */ bl "__ct__20TCastToPtr<7CWeapon>FR7CEntity" -/* 80076874 000737D4 80 03 00 04 */ lwz r0, 4(r3) -/* 80076878 000737D8 28 00 00 00 */ cmplwi r0, 0 -/* 8007687C 000737DC 41 82 00 2C */ beq lbl_800768A8 -/* 80076880 000737E0 80 7C 00 E8 */ lwz r3, 0xe8(r28) -/* 80076884 000737E4 54 60 05 EE */ rlwinm r0, r3, 0, 0x17, 0x17 -/* 80076888 000737E8 2C 00 01 00 */ cmpwi r0, 0x100 -/* 8007688C 000737EC 40 82 00 0C */ bne lbl_80076898 -/* 80076890 000737F0 63 FF 00 40 */ ori r31, r31, 0x40 -/* 80076894 000737F4 48 00 00 14 */ b lbl_800768A8 -lbl_80076898: -/* 80076898 000737F8 54 60 05 AC */ rlwinm r0, r3, 0, 0x16, 0x16 -/* 8007689C 000737FC 2C 00 02 00 */ cmpwi r0, 0x200 -/* 800768A0 00073800 40 82 00 08 */ bne lbl_800768A8 -/* 800768A4 00073804 63 FF 00 80 */ ori r31, r31, 0x80 -lbl_800768A8: -/* 800768A8 00073808 80 1B 01 2C */ lwz r0, 0x12c(r27) -/* 800768AC 0007380C 7F E0 00 39 */ and. r0, r31, r0 -/* 800768B0 00073810 41 82 03 A0 */ beq lbl_80076C50 -/* 800768B4 00073814 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800768B8 00073818 3C 60 80 3D */ lis r3, lbl_803CD5F8@ha -/* 800768BC 0007381C 83 5B 00 F0 */ lwz r26, 0xf0(r27) -/* 800768C0 00073820 38 83 D5 F8 */ addi r4, r3, lbl_803CD5F8@l -/* 800768C4 00073824 B0 01 00 48 */ sth r0, 0x48(r1) -/* 800768C8 00073828 38 60 00 0A */ li r3, 0xa -/* 800768CC 0007382C 83 3A 00 00 */ lwz r25, 0(r26) -/* 800768D0 00073830 38 A0 00 00 */ li r5, 0 -/* 800768D4 00073834 B0 01 00 4C */ sth r0, 0x4c(r1) -/* 800768D8 00073838 48 29 EF 41 */ bl __nwa__FUlPCcPCc -/* 800768DC 0007383C 28 03 00 00 */ cmplwi r3, 0 -/* 800768E0 00073840 41 82 00 0C */ beq lbl_800768EC -/* 800768E4 00073844 93 23 00 00 */ stw r25, 0(r3) -/* 800768E8 00073848 93 43 00 04 */ stw r26, 4(r3) -lbl_800768EC: -/* 800768EC 0007384C 34 83 00 08 */ addic. r4, r3, 8 -/* 800768F0 00073850 41 82 00 0C */ beq lbl_800768FC -/* 800768F4 00073854 A0 01 00 4C */ lhz r0, 0x4c(r1) -/* 800768F8 00073858 B0 04 00 00 */ sth r0, 0(r4) -lbl_800768FC: -/* 800768FC 0007385C 80 1B 00 EC */ lwz r0, 0xec(r27) -/* 80076900 00073860 7C 1A 00 40 */ cmplw r26, r0 -/* 80076904 00073864 40 82 00 08 */ bne lbl_8007690C -/* 80076908 00073868 90 7B 00 EC */ stw r3, 0xec(r27) -lbl_8007690C: -/* 8007690C 0007386C 80 C3 00 00 */ lwz r6, 0(r3) -/* 80076910 00073870 7F 84 E3 78 */ mr r4, r28 -/* 80076914 00073874 7F A5 EB 78 */ mr r5, r29 -/* 80076918 00073878 90 66 00 04 */ stw r3, 4(r6) -/* 8007691C 0007387C 80 C3 00 04 */ lwz r6, 4(r3) -/* 80076920 00073880 90 66 00 00 */ stw r3, 0(r6) -/* 80076924 00073884 7F 63 DB 78 */ mr r3, r27 -/* 80076928 00073888 80 DB 00 FC */ lwz r6, 0xfc(r27) -/* 8007692C 0007388C 38 06 00 01 */ addi r0, r6, 1 -/* 80076930 00073890 90 1B 00 FC */ stw r0, 0xfc(r27) -/* 80076934 00073894 81 9B 00 00 */ lwz r12, 0(r27) -/* 80076938 00073898 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 8007693C 0007389C 7D 89 03 A6 */ mtctr r12 -/* 80076940 000738A0 4E 80 04 21 */ bctrl -/* 80076944 000738A4 57 E0 07 FF */ clrlwi. r0, r31, 0x1f -/* 80076948 000738A8 41 82 00 D0 */ beq lbl_80076A18 -/* 8007694C 000738AC 28 1E 00 00 */ cmplwi r30, 0 -/* 80076950 000738B0 41 82 00 C8 */ beq lbl_80076A18 -/* 80076954 000738B4 88 7B 01 48 */ lbz r3, 0x148(r27) -/* 80076958 000738B8 54 60 EF FE */ rlwinm r0, r3, 0x1d, 0x1f, 0x1f -/* 8007695C 000738BC 28 00 00 01 */ cmplwi r0, 1 -/* 80076960 000738C0 41 82 00 B8 */ beq lbl_80076A18 -/* 80076964 000738C4 38 00 00 01 */ li r0, 1 -/* 80076968 000738C8 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 8007696C 000738CC 98 7B 01 48 */ stb r3, 0x148(r27) -/* 80076970 000738D0 88 1B 01 48 */ lbz r0, 0x148(r27) -/* 80076974 000738D4 83 3D 08 4C */ lwz r25, 0x84c(r29) -/* 80076978 000738D8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8007697C 000738DC 41 82 00 1C */ beq lbl_80076998 -/* 80076980 000738E0 7F 23 CB 78 */ mr r3, r25 -/* 80076984 000738E4 4B F9 AF C1 */ bl DecrementPhazon__7CPlayerFv -/* 80076988 000738E8 88 1B 01 48 */ lbz r0, 0x148(r27) -/* 8007698C 000738EC 38 60 00 00 */ li r3, 0 -/* 80076990 000738F0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80076994 000738F4 98 1B 01 48 */ stb r0, 0x148(r27) -lbl_80076998: -/* 80076998 000738F8 C0 3B 01 08 */ lfs f1, 0x108(r27) -/* 8007699C 000738FC C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) -/* 800769A0 00073900 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800769A4 00073904 4C 40 13 82 */ cror 2, 0, 2 -/* 800769A8 00073908 41 82 00 70 */ beq lbl_80076A18 -/* 800769AC 0007390C 7F 23 CB 78 */ mr r3, r25 -/* 800769B0 00073910 81 99 00 00 */ lwz r12, 0(r25) -/* 800769B4 00073914 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 800769B8 00073918 7D 89 03 A6 */ mtctr r12 -/* 800769BC 0007391C 4E 80 04 21 */ bctrl -/* 800769C0 00073920 38 9B 01 00 */ addi r4, r27, 0x100 -/* 800769C4 00073924 38 A0 00 00 */ li r5, 0 -/* 800769C8 00073928 48 08 BD 41 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 800769CC 0007392C 80 1B 01 00 */ lwz r0, 0x100(r27) -/* 800769D0 00073930 7C 7E 1B 78 */ mr r30, r3 -/* 800769D4 00073934 2C 00 00 08 */ cmpwi r0, 8 -/* 800769D8 00073938 40 82 00 20 */ bne lbl_800769F8 -/* 800769DC 0007393C 38 7D 08 B8 */ addi r3, r29, 0x8b8 -/* 800769E0 00073940 48 00 05 8D */ bl "GetPtr__Q24rstl22rc_ptr<12CPlayerState>CFv" -/* 800769E4 00073944 38 80 00 17 */ li r4, 0x17 -/* 800769E8 00073948 48 01 B0 D9 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800769EC 0007394C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800769F0 00073950 41 82 00 08 */ beq lbl_800769F8 -/* 800769F4 00073954 3B C0 00 00 */ li r30, 0 -lbl_800769F8: -/* 800769F8 00073958 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800769FC 0007395C 41 82 00 1C */ beq lbl_80076A18 -/* 80076A00 00073960 7F 23 CB 78 */ mr r3, r25 -/* 80076A04 00073964 4B F9 AF 59 */ bl IncrementPhazon__7CPlayerFv -/* 80076A08 00073968 88 1B 01 48 */ lbz r0, 0x148(r27) -/* 80076A0C 0007396C 38 60 00 01 */ li r3, 1 -/* 80076A10 00073970 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80076A14 00073974 98 1B 01 48 */ stb r0, 0x148(r27) -lbl_80076A18: -/* 80076A18 00073978 7F 63 DB 78 */ mr r3, r27 -/* 80076A1C 0007397C 7F A5 EB 78 */ mr r5, r29 -/* 80076A20 00073980 38 80 00 03 */ li r4, 3 -/* 80076A24 00073984 38 C0 FF FF */ li r6, -1 -/* 80076A28 00073988 4B FD A6 99 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80076A2C 0007398C 88 1B 01 48 */ lbz r0, 0x148(r27) -/* 80076A30 00073990 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80076A34 00073994 41 82 00 F0 */ beq lbl_80076B24 -/* 80076A38 00073998 A0 1B 00 08 */ lhz r0, 8(r27) -/* 80076A3C 0007399C 7F A4 EB 78 */ mr r4, r29 -/* 80076A40 000739A0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80076A44 000739A4 38 A1 00 3C */ addi r5, r1, 0x3c -/* 80076A48 000739A8 B0 01 00 38 */ sth r0, 0x38(r1) -/* 80076A4C 000739AC B0 01 00 3C */ sth r0, 0x3c(r1) -/* 80076A50 000739B0 4B FD 14 71 */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId -/* 80076A54 000739B4 80 01 00 60 */ lwz r0, 0x60(r1) -/* 80076A58 000739B8 7F A3 EB 78 */ mr r3, r29 -/* 80076A5C 000739BC 38 81 00 44 */ addi r4, r1, 0x44 -/* 80076A60 000739C0 38 A1 00 64 */ addi r5, r1, 0x64 -/* 80076A64 000739C4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80076A68 000739C8 38 C0 00 04 */ li r6, 4 -/* 80076A6C 000739CC 38 E0 00 03 */ li r7, 3 -/* 80076A70 000739D0 A0 1B 00 08 */ lhz r0, 8(r27) -/* 80076A74 000739D4 B0 01 00 40 */ sth r0, 0x40(r1) -/* 80076A78 000739D8 B0 01 00 44 */ sth r0, 0x44(r1) -/* 80076A7C 000739DC 4B FD 10 C1 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState -/* 80076A80 000739E0 7F 83 E3 78 */ mr r3, r28 -/* 80076A84 000739E4 7F A4 EB 78 */ mr r4, r29 -/* 80076A88 000739E8 81 9C 00 00 */ lwz r12, 0(r28) -/* 80076A8C 000739EC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80076A90 000739F0 7D 89 03 A6 */ mtctr r12 -/* 80076A94 000739F4 4E 80 04 21 */ bctrl -/* 80076A98 000739F8 28 03 00 00 */ cmplwi r3, 0 -/* 80076A9C 000739FC 41 82 00 88 */ beq lbl_80076B24 -/* 80076AA0 00073A00 C0 3B 01 08 */ lfs f1, 0x108(r27) -/* 80076AA4 00073A04 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) -/* 80076AA8 00073A08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80076AAC 00073A0C 40 81 00 78 */ ble lbl_80076B24 -/* 80076AB0 00073A10 80 AD 83 D0 */ lwz r5, lbl_805A6F90@sda21(r13) -/* 80076AB4 00073A14 38 60 00 00 */ li r3, 0 -/* 80076AB8 00073A18 38 80 00 01 */ li r4, 1 -/* 80076ABC 00073A1C 48 31 34 39 */ bl __shl2i -/* 80076AC0 00073A20 39 40 00 00 */ li r10, 0 -/* 80076AC4 00073A24 38 00 00 03 */ li r0, 3 -/* 80076AC8 00073A28 90 81 00 A4 */ stw r4, 0xa4(r1) -/* 80076ACC 00073A2C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80076AD0 00073A30 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80076AD4 00073A34 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80076AD8 00073A38 90 61 00 A0 */ stw r3, 0xa0(r1) -/* 80076ADC 00073A3C 38 81 00 34 */ addi r4, r1, 0x34 -/* 80076AE0 00073A40 7F A3 EB 78 */ mr r3, r29 -/* 80076AE4 00073A44 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80076AE8 00073A48 91 41 00 AC */ stw r10, 0xac(r1) -/* 80076AEC 00073A4C 38 FB 01 00 */ addi r7, r27, 0x100 -/* 80076AF0 00073A50 39 01 00 A0 */ addi r8, r1, 0xa0 -/* 80076AF4 00073A54 91 41 00 A8 */ stw r10, 0xa8(r1) -/* 80076AF8 00073A58 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80076AFC 00073A5C A0 1B 00 08 */ lhz r0, 8(r27) -/* 80076B00 00073A60 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80076B04 00073A64 A1 5C 00 08 */ lhz r10, 8(r28) -/* 80076B08 00073A68 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80076B0C 00073A6C B1 41 00 2C */ sth r10, 0x2c(r1) -/* 80076B10 00073A70 A0 1B 00 08 */ lhz r0, 8(r27) -/* 80076B14 00073A74 B1 41 00 28 */ sth r10, 0x28(r1) -/* 80076B18 00073A78 B0 01 00 30 */ sth r0, 0x30(r1) -/* 80076B1C 00073A7C B0 01 00 34 */ sth r0, 0x34(r1) -/* 80076B20 00073A80 4B FD 35 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_80076B24: -/* 80076B24 00073A84 80 1B 01 2C */ lwz r0, 0x12c(r27) -/* 80076B28 00073A88 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14 -/* 80076B2C 00073A8C 41 82 01 40 */ beq lbl_80076C6C -/* 80076B30 00073A90 7F 83 E3 78 */ mr r3, r28 -/* 80076B34 00073A94 7F A4 EB 78 */ mr r4, r29 -/* 80076B38 00073A98 81 9C 00 00 */ lwz r12, 0(r28) -/* 80076B3C 00073A9C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80076B40 00073AA0 7D 89 03 A6 */ mtctr r12 -/* 80076B44 00073AA4 4E 80 04 21 */ bctrl -/* 80076B48 00073AA8 28 03 00 00 */ cmplwi r3, 0 -/* 80076B4C 00073AAC 41 82 01 20 */ beq lbl_80076C6C -/* 80076B50 00073AB0 88 0D A2 40 */ lbz r0, lbl_805A8E00@sda21(r13) -/* 80076B54 00073AB4 7C 00 07 75 */ extsb. r0, r0 -/* 80076B58 00073AB8 40 82 00 3C */ bne lbl_80076B94 -/* 80076B5C 00073ABC 38 ED A2 44 */ addi r7, r13, lbl_805A8E04@sda21 -/* 80076B60 00073AC0 38 C0 00 00 */ li r6, 0 -/* 80076B64 00073AC4 88 07 00 04 */ lbz r0, 4(r7) -/* 80076B68 00073AC8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 80076B6C 00073ACC 38 80 00 01 */ li r4, 1 -/* 80076B70 00073AD0 90 CD A2 44 */ stw r6, lbl_805A8E04@sda21(r13) -/* 80076B74 00073AD4 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 80076B78 00073AD8 50 C5 36 72 */ rlwimi r5, r6, 6, 0x19, 0x19 -/* 80076B7C 00073ADC 98 07 00 04 */ stb r0, 4(r7) -/* 80076B80 00073AE0 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 80076B84 00073AE4 98 A7 00 04 */ stb r5, 4(r7) -/* 80076B88 00073AE8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80076B8C 00073AEC 98 07 00 04 */ stb r0, 4(r7) -/* 80076B90 00073AF0 98 8D A2 40 */ stb r4, lbl_805A8E00@sda21(r13) -lbl_80076B94: -/* 80076B94 00073AF4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80076B98 00073AF8 38 8D A2 44 */ addi r4, r13, lbl_805A8E04@sda21 -/* 80076B9C 00073AFC C0 42 88 D8 */ lfs f2, lbl_805AA5F8@sda21(r2) -/* 80076BA0 00073B00 38 A0 00 00 */ li r5, 0 -/* 80076BA4 00073B04 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2) -/* 80076BA8 00073B08 38 60 00 00 */ li r3, 0 -/* 80076BAC 00073B0C EC 22 00 72 */ fmuls f1, f2, f1 -/* 80076BB0 00073B10 88 C4 00 04 */ lbz r6, 4(r4) -/* 80076BB4 00073B14 80 ED A2 44 */ lwz r7, lbl_805A8E04@sda21(r13) -/* 80076BB8 00073B18 38 80 00 01 */ li r4, 1 -/* 80076BBC 00073B1C 88 01 00 D0 */ lbz r0, 0xd0(r1) -/* 80076BC0 00073B20 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80076BC4 00073B24 80 AD 83 D0 */ lwz r5, lbl_805A6F90@sda21(r13) -/* 80076BC8 00073B28 90 E1 00 B8 */ stw r7, 0xb8(r1) -/* 80076BCC 00073B2C 98 C1 00 BC */ stb r6, 0xbc(r1) -/* 80076BD0 00073B30 D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 80076BD4 00073B34 D0 21 00 C4 */ stfs f1, 0xc4(r1) -/* 80076BD8 00073B38 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 80076BDC 00073B3C D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 80076BE0 00073B40 98 01 00 D0 */ stb r0, 0xd0(r1) -/* 80076BE4 00073B44 48 31 33 11 */ bl __shl2i -/* 80076BE8 00073B48 39 40 00 00 */ li r10, 0 -/* 80076BEC 00073B4C 38 00 00 03 */ li r0, 3 -/* 80076BF0 00073B50 90 81 00 8C */ stw r4, 0x8c(r1) -/* 80076BF4 00073B54 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80076BF8 00073B58 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80076BFC 00073B5C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80076C00 00073B60 90 61 00 88 */ stw r3, 0x88(r1) -/* 80076C04 00073B64 38 81 00 1C */ addi r4, r1, 0x1c -/* 80076C08 00073B68 7F A3 EB 78 */ mr r3, r29 -/* 80076C0C 00073B6C 38 C1 00 0C */ addi r6, r1, 0xc -/* 80076C10 00073B70 91 41 00 94 */ stw r10, 0x94(r1) -/* 80076C14 00073B74 38 E1 00 B8 */ addi r7, r1, 0xb8 -/* 80076C18 00073B78 39 01 00 88 */ addi r8, r1, 0x88 -/* 80076C1C 00073B7C 91 41 00 90 */ stw r10, 0x90(r1) -/* 80076C20 00073B80 90 01 00 98 */ stw r0, 0x98(r1) -/* 80076C24 00073B84 A0 1B 00 08 */ lhz r0, 8(r27) -/* 80076C28 00073B88 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80076C2C 00073B8C A1 5C 00 08 */ lhz r10, 8(r28) -/* 80076C30 00073B90 B0 01 00 08 */ sth r0, 8(r1) -/* 80076C34 00073B94 B1 41 00 14 */ sth r10, 0x14(r1) -/* 80076C38 00073B98 A0 1B 00 08 */ lhz r0, 8(r27) -/* 80076C3C 00073B9C B1 41 00 10 */ sth r10, 0x10(r1) -/* 80076C40 00073BA0 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80076C44 00073BA4 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80076C48 00073BA8 4B FD 34 59 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80076C4C 00073BAC 48 00 00 20 */ b lbl_80076C6C -lbl_80076C50: -/* 80076C50 00073BB0 7F 63 DB 78 */ mr r3, r27 -/* 80076C54 00073BB4 7F 84 E3 78 */ mr r4, r28 -/* 80076C58 00073BB8 81 9B 00 00 */ lwz r12, 0(r27) -/* 80076C5C 00073BBC 7F A5 EB 78 */ mr r5, r29 -/* 80076C60 00073BC0 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 80076C64 00073BC4 7D 89 03 A6 */ mtctr r12 -/* 80076C68 00073BC8 4E 80 04 21 */ bctrl -lbl_80076C6C: -/* 80076C6C 00073BCC BB 21 00 E4 */ lmw r25, 0xe4(r1) -/* 80076C70 00073BD0 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80076C74 00073BD4 7C 08 03 A6 */ mtlr r0 -/* 80076C78 00073BD8 38 21 01 00 */ addi r1, r1, 0x100 -/* 80076C7C 00073BDC 4E 80 00 20 */ blr - -.global __dt__14CScriptTriggerFv -__dt__14CScriptTriggerFv: -/* 80076C80 00073BE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80076C84 00073BE4 7C 08 02 A6 */ mflr r0 -/* 80076C88 00073BE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80076C8C 00073BEC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80076C90 00073BF0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80076C94 00073BF4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80076C98 00073BF8 7C 9D 23 78 */ mr r29, r4 -/* 80076C9C 00073BFC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80076CA0 00073C00 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80076CA4 00073C04 41 82 00 90 */ beq lbl_80076D34 -/* 80076CA8 00073C08 3C 60 80 3E */ lis r3, lbl_803DA4D8@ha -/* 80076CAC 00073C0C 38 03 A4 D8 */ addi r0, r3, lbl_803DA4D8@l -/* 80076CB0 00073C10 90 1C 00 00 */ stw r0, 0(r28) -/* 80076CB4 00073C14 83 FC 00 EC */ lwz r31, 0xec(r28) -/* 80076CB8 00073C18 83 DC 00 F0 */ lwz r30, 0xf0(r28) -/* 80076CBC 00073C1C 7F E4 FB 78 */ mr r4, r31 -/* 80076CC0 00073C20 48 00 00 14 */ b lbl_80076CD4 -lbl_80076CC4: -/* 80076CC4 00073C24 83 FF 00 04 */ lwz r31, 4(r31) -/* 80076CC8 00073C28 38 7C 00 E8 */ addi r3, r28, 0xe8 -/* 80076CCC 00073C2C 48 00 02 AD */ bl "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" -/* 80076CD0 00073C30 7F E4 FB 78 */ mr r4, r31 -lbl_80076CD4: -/* 80076CD4 00073C34 7C 1F F0 40 */ cmplw r31, r30 -/* 80076CD8 00073C38 40 82 FF EC */ bne lbl_80076CC4 -/* 80076CDC 00073C3C 3C 60 00 01 */ lis r3, 0x00011000@ha -/* 80076CE0 00073C40 80 9C 01 2C */ lwz r4, 0x12c(r28) -/* 80076CE4 00073C44 38 03 10 00 */ addi r0, r3, 0x00011000@l -/* 80076CE8 00073C48 7C 80 00 39 */ and. r0, r4, r0 -/* 80076CEC 00073C4C 41 82 00 20 */ beq lbl_80076D0C -/* 80076CF0 00073C50 3C 60 FF FF */ lis r3, 0xFFFEEFFF@ha -/* 80076CF4 00073C54 38 03 EF FF */ addi r0, r3, 0xFFFEEFFF@l -/* 80076CF8 00073C58 7C 80 00 38 */ and r0, r4, r0 -/* 80076CFC 00073C5C 90 1C 01 2C */ stw r0, 0x12c(r28) -/* 80076D00 00073C60 80 1C 01 2C */ lwz r0, 0x12c(r28) -/* 80076D04 00073C64 60 00 00 01 */ ori r0, r0, 1 -/* 80076D08 00073C68 90 1C 01 2C */ stw r0, 0x12c(r28) -lbl_80076D0C: -/* 80076D0C 00073C6C 38 7C 00 E8 */ addi r3, r28, 0xe8 -/* 80076D10 00073C70 38 80 FF FF */ li r4, -1 -/* 80076D14 00073C74 48 00 02 E1 */ bl sub_80076ff4 -/* 80076D18 00073C78 7F 83 E3 78 */ mr r3, r28 -/* 80076D1C 00073C7C 38 80 00 00 */ li r4, 0 -/* 80076D20 00073C80 4B FD E9 D1 */ bl __dt__6CActorFv -/* 80076D24 00073C84 7F A0 07 35 */ extsh. r0, r29 -/* 80076D28 00073C88 40 81 00 0C */ ble lbl_80076D34 -/* 80076D2C 00073C8C 7F 83 E3 78 */ mr r3, r28 -/* 80076D30 00073C90 48 29 EC 01 */ bl Free__7CMemoryFPCv -lbl_80076D34: -/* 80076D34 00073C94 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80076D38 00073C98 7F 83 E3 78 */ mr r3, r28 -/* 80076D3C 00073C9C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80076D40 00073CA0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80076D44 00073CA4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80076D48 00073CA8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80076D4C 00073CAC 7C 08 03 A6 */ mtlr r0 -/* 80076D50 00073CB0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80076D54 00073CB4 4E 80 00 20 */ blr - -.global "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" -"__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb": -/* 80076D58 00073CB8 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 80076D5C 00073CBC 7C 08 02 A6 */ mflr r0 -/* 80076D60 00073CC0 90 01 01 44 */ stw r0, 0x144(r1) -/* 80076D64 00073CC4 BE 81 01 10 */ stmw r20, 0x110(r1) -/* 80076D68 00073CC8 7C 74 1B 78 */ mr r20, r3 -/* 80076D6C 00073CCC 83 81 01 48 */ lwz r28, 0x148(r1) -/* 80076D70 00073CD0 7C 95 23 78 */ mr r21, r4 -/* 80076D74 00073CD4 8B A1 01 4F */ lbz r29, 0x14f(r1) -/* 80076D78 00073CD8 7C B6 2B 78 */ mr r22, r5 -/* 80076D7C 00073CDC 8B C1 01 53 */ lbz r30, 0x153(r1) -/* 80076D80 00073CE0 7C D7 33 78 */ mr r23, r6 -/* 80076D84 00073CE4 8B E1 01 57 */ lbz r31, 0x157(r1) -/* 80076D88 00073CE8 7C F8 3B 78 */ mr r24, r7 -/* 80076D8C 00073CEC 7D 19 43 78 */ mr r25, r8 -/* 80076D90 00073CF0 7D 3A 4B 78 */ mr r26, r9 -/* 80076D94 00073CF4 7D 5B 53 78 */ mr r27, r10 -/* 80076D98 00073CF8 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80076D9C 00073CFC 4B FC 3A 09 */ bl CModelDataNull__10CModelDataFv -/* 80076DA0 00073D00 38 61 00 50 */ addi r3, r1, 0x50 -/* 80076DA4 00073D04 4B FA 40 95 */ bl None__16CActorParametersFv -/* 80076DA8 00073D08 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 80076DAC 00073D0C 38 00 00 00 */ li r0, 0 -/* 80076DB0 00073D10 80 AD 83 D4 */ lwz r5, lbl_805A6F94@sda21(r13) -/* 80076DB4 00073D14 38 60 00 00 */ li r3, 0 -/* 80076DB8 00073D18 B0 81 00 10 */ sth r4, 0x10(r1) -/* 80076DBC 00073D1C 38 80 00 01 */ li r4, 1 -/* 80076DC0 00073D20 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80076DC4 00073D24 90 01 00 18 */ stw r0, 0x18(r1) -/* 80076DC8 00073D28 48 31 31 2D */ bl __shl2i -/* 80076DCC 00073D2C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80076DD0 00073D30 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 80076DD4 00073D34 7C 03 1B 78 */ or r3, r0, r3 -/* 80076DD8 00073D38 A0 15 00 00 */ lhz r0, 0(r21) -/* 80076DDC 00073D3C 7C A5 23 78 */ or r5, r5, r4 -/* 80076DE0 00073D40 90 61 00 18 */ stw r3, 0x18(r1) -/* 80076DE4 00073D44 7F 04 C3 78 */ mr r4, r24 -/* 80076DE8 00073D48 38 61 00 20 */ addi r3, r1, 0x20 -/* 80076DEC 00073D4C 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80076DF0 00073D50 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80076DF4 00073D54 48 29 C3 4D */ bl Translate__12CTransform4fFRC9CVector3f -/* 80076DF8 00073D58 38 61 00 50 */ addi r3, r1, 0x50 -/* 80076DFC 00073D5C 38 01 00 10 */ addi r0, r1, 0x10 -/* 80076E00 00073D60 90 61 00 08 */ stw r3, 8(r1) -/* 80076E04 00073D64 7E 83 A3 78 */ mr r3, r20 -/* 80076E08 00073D68 7F A5 EB 78 */ mr r5, r29 -/* 80076E0C 00073D6C 7E C6 B3 78 */ mr r6, r22 -/* 80076E10 00073D70 90 01 00 0C */ stw r0, 0xc(r1) -/* 80076E14 00073D74 7E E7 BB 78 */ mr r7, r23 -/* 80076E18 00073D78 38 81 00 14 */ addi r4, r1, 0x14 -/* 80076E1C 00073D7C 39 01 00 20 */ addi r8, r1, 0x20 -/* 80076E20 00073D80 39 21 00 B8 */ addi r9, r1, 0xb8 -/* 80076E24 00073D84 39 41 00 18 */ addi r10, r1, 0x18 -/* 80076E28 00073D88 4B FD E9 F9 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 80076E2C 00073D8C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80076E30 00073D90 38 80 FF FF */ li r4, -1 -/* 80076E34 00073D94 48 08 F7 D5 */ bl __dt__16CActorParametersFv -/* 80076E38 00073D98 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80076E3C 00073D9C 38 80 FF FF */ li r4, -1 -/* 80076E40 00073DA0 48 09 FC 0D */ bl __dt__10CModelDataFv -/* 80076E44 00073DA4 3C 60 80 3E */ lis r3, lbl_803DA4D8@ha -/* 80076E48 00073DA8 38 94 00 F4 */ addi r4, r20, 0xf4 -/* 80076E4C 00073DAC 38 63 A4 D8 */ addi r3, r3, lbl_803DA4D8@l -/* 80076E50 00073DB0 38 00 00 00 */ li r0, 0 -/* 80076E54 00073DB4 90 74 00 00 */ stw r3, 0(r20) -/* 80076E58 00073DB8 7F 63 DB 78 */ mr r3, r27 -/* 80076E5C 00073DBC 90 94 00 EC */ stw r4, 0xec(r20) -/* 80076E60 00073DC0 90 94 00 F0 */ stw r4, 0xf0(r20) -/* 80076E64 00073DC4 90 94 00 F4 */ stw r4, 0xf4(r20) -/* 80076E68 00073DC8 90 94 00 F8 */ stw r4, 0xf8(r20) -/* 80076E6C 00073DCC 90 14 00 FC */ stw r0, 0xfc(r20) -/* 80076E70 00073DD0 80 1A 00 00 */ lwz r0, 0(r26) -/* 80076E74 00073DD4 90 14 01 00 */ stw r0, 0x100(r20) -/* 80076E78 00073DD8 88 1A 00 04 */ lbz r0, 4(r26) -/* 80076E7C 00073DDC 98 14 01 04 */ stb r0, 0x104(r20) -/* 80076E80 00073DE0 C0 1A 00 08 */ lfs f0, 8(r26) -/* 80076E84 00073DE4 D0 14 01 08 */ stfs f0, 0x108(r20) -/* 80076E88 00073DE8 C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 80076E8C 00073DEC D0 14 01 0C */ stfs f0, 0x10c(r20) -/* 80076E90 00073DF0 C0 1A 00 10 */ lfs f0, 0x10(r26) -/* 80076E94 00073DF4 D0 14 01 10 */ stfs f0, 0x110(r20) -/* 80076E98 00073DF8 C0 1A 00 14 */ lfs f0, 0x14(r26) -/* 80076E9C 00073DFC D0 14 01 14 */ stfs f0, 0x114(r20) -/* 80076EA0 00073E00 88 1A 00 18 */ lbz r0, 0x18(r26) -/* 80076EA4 00073E04 98 14 01 18 */ stb r0, 0x118(r20) -/* 80076EA8 00073E08 C0 1B 00 00 */ lfs f0, 0(r27) -/* 80076EAC 00073E0C D0 14 01 1C */ stfs f0, 0x11c(r20) -/* 80076EB0 00073E10 C0 1B 00 04 */ lfs f0, 4(r27) -/* 80076EB4 00073E14 D0 14 01 20 */ stfs f0, 0x120(r20) -/* 80076EB8 00073E18 C0 1B 00 08 */ lfs f0, 8(r27) -/* 80076EBC 00073E1C D0 14 01 24 */ stfs f0, 0x124(r20) -/* 80076EC0 00073E20 48 29 D9 F9 */ bl Magnitude__9CVector3fCFv -/* 80076EC4 00073E24 D0 34 01 28 */ stfs f1, 0x128(r20) -/* 80076EC8 00073E28 38 A0 00 00 */ li r5, 0 -/* 80076ECC 00073E2C 7E 83 A3 78 */ mr r3, r20 -/* 80076ED0 00073E30 38 80 00 00 */ li r4, 0 -/* 80076ED4 00073E34 93 94 01 2C */ stw r28, 0x12c(r20) -/* 80076ED8 00073E38 C0 19 00 00 */ lfs f0, 0(r25) -/* 80076EDC 00073E3C D0 14 01 30 */ stfs f0, 0x130(r20) -/* 80076EE0 00073E40 C0 19 00 04 */ lfs f0, 4(r25) -/* 80076EE4 00073E44 D0 14 01 34 */ stfs f0, 0x134(r20) -/* 80076EE8 00073E48 C0 19 00 08 */ lfs f0, 8(r25) -/* 80076EEC 00073E4C D0 14 01 38 */ stfs f0, 0x138(r20) -/* 80076EF0 00073E50 C0 19 00 0C */ lfs f0, 0xc(r25) -/* 80076EF4 00073E54 D0 14 01 3C */ stfs f0, 0x13c(r20) -/* 80076EF8 00073E58 C0 19 00 10 */ lfs f0, 0x10(r25) -/* 80076EFC 00073E5C D0 14 01 40 */ stfs f0, 0x140(r20) -/* 80076F00 00073E60 C0 19 00 14 */ lfs f0, 0x14(r25) -/* 80076F04 00073E64 D0 14 01 44 */ stfs f0, 0x144(r20) -/* 80076F08 00073E68 88 14 01 48 */ lbz r0, 0x148(r20) -/* 80076F0C 00073E6C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80076F10 00073E70 98 14 01 48 */ stb r0, 0x148(r20) -/* 80076F14 00073E74 88 14 01 48 */ lbz r0, 0x148(r20) -/* 80076F18 00073E78 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80076F1C 00073E7C 98 14 01 48 */ stb r0, 0x148(r20) -/* 80076F20 00073E80 88 14 01 48 */ lbz r0, 0x148(r20) -/* 80076F24 00073E84 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a -/* 80076F28 00073E88 98 14 01 48 */ stb r0, 0x148(r20) -/* 80076F2C 00073E8C 88 14 01 48 */ lbz r0, 0x148(r20) -/* 80076F30 00073E90 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b -/* 80076F34 00073E94 98 14 01 48 */ stb r0, 0x148(r20) -/* 80076F38 00073E98 88 14 01 48 */ lbz r0, 0x148(r20) -/* 80076F3C 00073E9C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80076F40 00073EA0 98 14 01 48 */ stb r0, 0x148(r20) -/* 80076F44 00073EA4 88 14 01 48 */ lbz r0, 0x148(r20) -/* 80076F48 00073EA8 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80076F4C 00073EAC 98 14 01 48 */ stb r0, 0x148(r20) -/* 80076F50 00073EB0 4B FD D4 69 */ bl SetCallTouch__6CActorFb -/* 80076F54 00073EB4 7E 83 A3 78 */ mr r3, r20 -/* 80076F58 00073EB8 BA 81 01 10 */ lmw r20, 0x110(r1) -/* 80076F5C 00073EBC 80 01 01 44 */ lwz r0, 0x144(r1) -/* 80076F60 00073EC0 7C 08 03 A6 */ mtlr r0 -/* 80076F64 00073EC4 38 21 01 40 */ addi r1, r1, 0x140 -/* 80076F68 00073EC8 4E 80 00 20 */ blr - -.global "GetPtr__Q24rstl22rc_ptr<12CPlayerState>CFv" -"GetPtr__Q24rstl22rc_ptr<12CPlayerState>CFv": -/* 80076F6C 00073ECC 80 63 00 00 */ lwz r3, 0(r3) -/* 80076F70 00073ED0 80 63 00 00 */ lwz r3, 0(r3) -/* 80076F74 00073ED4 4E 80 00 20 */ blr - -.global "erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator" -"erase__Q24rstl67listFRCQ34rstl67list8iteratorRCQ34rstl67list8iterator": -/* 80076F78 00073ED8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80076F7C 00073EDC 7C 08 02 A6 */ mflr r0 -/* 80076F80 00073EE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80076F84 00073EE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80076F88 00073EE8 93 C1 00 08 */ stw r30, 8(r1) -/* 80076F8C 00073EEC 7C 7E 1B 78 */ mr r30, r3 -/* 80076F90 00073EF0 80 03 00 04 */ lwz r0, 4(r3) -/* 80076F94 00073EF4 83 E4 00 04 */ lwz r31, 4(r4) -/* 80076F98 00073EF8 7C 04 00 40 */ cmplw r4, r0 -/* 80076F9C 00073EFC 40 82 00 08 */ bne lbl_80076FA4 -/* 80076FA0 00073F00 93 FE 00 04 */ stw r31, 4(r30) -lbl_80076FA4: -/* 80076FA4 00073F04 80 04 00 04 */ lwz r0, 4(r4) -/* 80076FA8 00073F08 28 04 00 00 */ cmplwi r4, 0 -/* 80076FAC 00073F0C 80 64 00 00 */ lwz r3, 0(r4) -/* 80076FB0 00073F10 90 03 00 04 */ stw r0, 4(r3) -/* 80076FB4 00073F14 80 04 00 00 */ lwz r0, 0(r4) -/* 80076FB8 00073F18 80 64 00 04 */ lwz r3, 4(r4) -/* 80076FBC 00073F1C 90 03 00 00 */ stw r0, 0(r3) -/* 80076FC0 00073F20 41 82 00 0C */ beq lbl_80076FCC -/* 80076FC4 00073F24 7C 83 23 78 */ mr r3, r4 -/* 80076FC8 00073F28 48 29 E9 69 */ bl Free__7CMemoryFPCv -lbl_80076FCC: -/* 80076FCC 00073F2C 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80076FD0 00073F30 7F E3 FB 78 */ mr r3, r31 -/* 80076FD4 00073F34 38 04 FF FF */ addi r0, r4, -1 -/* 80076FD8 00073F38 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80076FDC 00073F3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80076FE0 00073F40 83 C1 00 08 */ lwz r30, 8(r1) -/* 80076FE4 00073F44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80076FE8 00073F48 7C 08 03 A6 */ mtlr r0 -/* 80076FEC 00073F4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80076FF0 00073F50 4E 80 00 20 */ blr - -.global sub_80076ff4 -sub_80076ff4: -/* 80076FF4 00073F54 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80076FF8 00073F58 7C 08 02 A6 */ mflr r0 -/* 80076FFC 00073F5C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80077000 00073F60 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80077004 00073F64 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80077008 00073F68 7C 9E 23 78 */ mr r30, r4 -/* 8007700C 00073F6C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80077010 00073F70 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80077014 00073F74 41 82 00 38 */ beq lbl_8007704C -/* 80077018 00073F78 83 FD 00 04 */ lwz r31, 4(r29) -/* 8007701C 00073F7C 48 00 00 14 */ b lbl_80077030 -lbl_80077020: -/* 80077020 00073F80 7F E3 FB 79 */ or. r3, r31, r31 -/* 80077024 00073F84 83 FF 00 04 */ lwz r31, 4(r31) -/* 80077028 00073F88 41 82 00 08 */ beq lbl_80077030 -/* 8007702C 00073F8C 48 29 E9 05 */ bl Free__7CMemoryFPCv -lbl_80077030: -/* 80077030 00073F90 80 1D 00 08 */ lwz r0, 8(r29) -/* 80077034 00073F94 7C 1F 00 40 */ cmplw r31, r0 -/* 80077038 00073F98 40 82 FF E8 */ bne lbl_80077020 -/* 8007703C 00073F9C 7F C0 07 35 */ extsh. r0, r30 -/* 80077040 00073FA0 40 81 00 0C */ ble lbl_8007704C -/* 80077044 00073FA4 7F A3 EB 78 */ mr r3, r29 -/* 80077048 00073FA8 48 29 E8 E9 */ bl Free__7CMemoryFPCv -lbl_8007704C: -/* 8007704C 00073FAC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80077050 00073FB0 7F A3 EB 78 */ mr r3, r29 -/* 80077054 00073FB4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80077058 00073FB8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8007705C 00073FBC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80077060 00073FC0 7C 08 03 A6 */ mtlr r0 -/* 80077064 00073FC4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80077068 00073FC8 4E 80 00 20 */ blr - -.global Accept__15CScriptWaypointFR8IVisitor -Accept__15CScriptWaypointFR8IVisitor: -/* 8007706C 00073FCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80077070 00073FD0 7C 08 02 A6 */ mflr r0 -/* 80077074 00073FD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077078 00073FD8 7C 60 1B 78 */ mr r0, r3 -/* 8007707C 00073FDC 7C 83 23 78 */ mr r3, r4 -/* 80077080 00073FE0 81 84 00 00 */ lwz r12, 0(r4) -/* 80077084 00073FE4 7C 04 03 78 */ mr r4, r0 -/* 80077088 00073FE8 81 8C 00 D8 */ lwz r12, 0xd8(r12) -/* 8007708C 00073FEC 7D 89 03 A6 */ mtctr r12 -/* 80077090 00073FF0 4E 80 04 21 */ bctrl -/* 80077094 00073FF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80077098 00073FF8 7C 08 03 A6 */ mtlr r0 -/* 8007709C 00073FFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800770A0 00074000 4E 80 00 20 */ blr - -.global Render__15CScriptWaypointCFRC13CStateManager -Render__15CScriptWaypointCFRC13CStateManager: -/* 800770A4 00074004 4E 80 00 20 */ blr - -.global AddToRenderer__15CScriptWaypointCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__15CScriptWaypointCFRC14CFrustumPlanesRC13CStateManager: -/* 800770A8 00074008 4E 80 00 20 */ blr - -.global FollowWaypoint__15CScriptWaypointCFR13CStateManager -FollowWaypoint__15CScriptWaypointCFR13CStateManager: -/* 800770AC 0007400C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800770B0 00074010 7C 08 02 A6 */ mflr r0 -/* 800770B4 00074014 90 01 00 24 */ stw r0, 0x24(r1) -/* 800770B8 00074018 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800770BC 0007401C 7C 7F 1B 78 */ mr r31, r3 -/* 800770C0 00074020 80 C4 00 2C */ lwz r6, 0x2c(r4) -/* 800770C4 00074024 48 00 00 3C */ b lbl_80077100 -lbl_800770C8: -/* 800770C8 00074028 80 06 00 00 */ lwz r0, 0(r6) -/* 800770CC 0007402C 2C 00 00 01 */ cmpwi r0, 1 -/* 800770D0 00074030 40 82 00 2C */ bne lbl_800770FC -/* 800770D4 00074034 80 06 00 04 */ lwz r0, 4(r6) -/* 800770D8 00074038 2C 00 00 06 */ cmpwi r0, 6 -/* 800770DC 0007403C 40 82 00 20 */ bne lbl_800770FC -/* 800770E0 00074040 80 06 00 08 */ lwz r0, 8(r6) -/* 800770E4 00074044 7F E3 FB 78 */ mr r3, r31 -/* 800770E8 00074048 7C A4 2B 78 */ mr r4, r5 -/* 800770EC 0007404C 38 A1 00 08 */ addi r5, r1, 8 -/* 800770F0 00074050 90 01 00 08 */ stw r0, 8(r1) -/* 800770F4 00074054 4B FD 0E 29 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800770F8 00074058 48 00 00 28 */ b lbl_80077120 -lbl_800770FC: -/* 800770FC 0007405C 38 C6 00 0C */ addi r6, r6, 0xc -lbl_80077100: -/* 80077100 00074060 80 04 00 24 */ lwz r0, 0x24(r4) -/* 80077104 00074064 80 64 00 2C */ lwz r3, 0x2c(r4) -/* 80077108 00074068 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8007710C 0007406C 7C 03 02 14 */ add r0, r3, r0 -/* 80077110 00074070 7C 06 00 40 */ cmplw r6, r0 -/* 80077114 00074074 40 82 FF B4 */ bne lbl_800770C8 -/* 80077118 00074078 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007711C 0007407C B0 1F 00 00 */ sth r0, 0(r31) -lbl_80077120: -/* 80077120 00074080 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80077124 00074084 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80077128 00074088 7C 08 03 A6 */ mtlr r0 -/* 8007712C 0007408C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80077130 00074090 4E 80 00 20 */ blr - -.global NextWaypoint__15CScriptWaypointCFR13CStateManager -NextWaypoint__15CScriptWaypointCFR13CStateManager: -/* 80077134 00074094 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80077138 00074098 7C 08 02 A6 */ mflr r0 -/* 8007713C 0007409C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80077140 000740A0 38 00 00 00 */ li r0, 0 -/* 80077144 000740A4 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80077148 000740A8 7C 9C 23 78 */ mr r28, r4 -/* 8007714C 000740AC 7C 7B 1B 78 */ mr r27, r3 -/* 80077150 000740B0 7C BD 2B 78 */ mr r29, r5 -/* 80077154 000740B4 90 01 00 20 */ stw r0, 0x20(r1) -/* 80077158 000740B8 3B C1 00 24 */ addi r30, r1, 0x24 -/* 8007715C 000740BC 83 E4 00 2C */ lwz r31, 0x2c(r4) -/* 80077160 000740C0 48 00 00 A4 */ b lbl_80077204 -lbl_80077164: -/* 80077164 000740C4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80077168 000740C8 2C 00 00 01 */ cmpwi r0, 1 -/* 8007716C 000740CC 40 82 00 94 */ bne lbl_80077200 -/* 80077170 000740D0 80 1F 00 04 */ lwz r0, 4(r31) -/* 80077174 000740D4 2C 00 00 08 */ cmpwi r0, 8 -/* 80077178 000740D8 40 82 00 88 */ bne lbl_80077200 -/* 8007717C 000740DC 80 1F 00 08 */ lwz r0, 8(r31) -/* 80077180 000740E0 7F A4 EB 78 */ mr r4, r29 -/* 80077184 000740E4 38 61 00 0C */ addi r3, r1, 0xc -/* 80077188 000740E8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8007718C 000740EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077190 000740F0 4B FD 0D 8D */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80077194 000740F4 A0 61 00 0C */ lhz r3, 0xc(r1) -/* 80077198 000740F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007719C 000740FC B0 61 00 10 */ sth r3, 0x10(r1) -/* 800771A0 00074100 7C 03 00 40 */ cmplw r3, r0 -/* 800771A4 00074104 41 82 00 5C */ beq lbl_80077200 -/* 800771A8 00074108 B0 61 00 08 */ sth r3, 8(r1) -/* 800771AC 0007410C 7F A3 EB 78 */ mr r3, r29 -/* 800771B0 00074110 38 81 00 08 */ addi r4, r1, 8 -/* 800771B4 00074114 4B FD 53 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800771B8 00074118 7C 64 1B 78 */ mr r4, r3 -/* 800771BC 0007411C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800771C0 00074120 48 02 F3 8D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 800771C4 00074124 80 63 00 04 */ lwz r3, 4(r3) -/* 800771C8 00074128 28 03 00 00 */ cmplwi r3, 0 -/* 800771CC 0007412C 41 82 00 34 */ beq lbl_80077200 -/* 800771D0 00074130 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800771D4 00074134 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800771D8 00074138 41 82 00 28 */ beq lbl_80077200 -/* 800771DC 0007413C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800771E0 00074140 54 00 08 3C */ slwi r0, r0, 1 -/* 800771E4 00074144 7C 7E 02 15 */ add. r3, r30, r0 -/* 800771E8 00074148 41 82 00 0C */ beq lbl_800771F4 -/* 800771EC 0007414C A0 01 00 10 */ lhz r0, 0x10(r1) -/* 800771F0 00074150 B0 03 00 00 */ sth r0, 0(r3) -lbl_800771F4: -/* 800771F4 00074154 80 61 00 20 */ lwz r3, 0x20(r1) -/* 800771F8 00074158 38 03 00 01 */ addi r0, r3, 1 -/* 800771FC 0007415C 90 01 00 20 */ stw r0, 0x20(r1) -lbl_80077200: -/* 80077200 00074160 3B FF 00 0C */ addi r31, r31, 0xc -lbl_80077204: -/* 80077204 00074164 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 80077208 00074168 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 8007720C 0007416C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80077210 00074170 7C 03 02 14 */ add r0, r3, r0 -/* 80077214 00074174 7C 1F 00 40 */ cmplw r31, r0 -/* 80077218 00074178 40 82 FF 4C */ bne lbl_80077164 -/* 8007721C 0007417C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80077220 00074180 2C 1C 00 00 */ cmpwi r28, 0 -/* 80077224 00074184 40 82 00 64 */ bne lbl_80077288 -/* 80077228 00074188 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8007722C 0007418C 38 60 00 00 */ li r3, 0 -/* 80077230 00074190 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80077234 00074194 2C 05 00 00 */ cmpwi r5, 0 -/* 80077238 00074198 B0 1B 00 00 */ sth r0, 0(r27) -/* 8007723C 0007419C 40 81 00 40 */ ble lbl_8007727C -/* 80077240 000741A0 2C 05 00 08 */ cmpwi r5, 8 -/* 80077244 000741A4 38 85 FF F8 */ addi r4, r5, -8 -/* 80077248 000741A8 40 81 00 20 */ ble lbl_80077268 -/* 8007724C 000741AC 38 04 00 07 */ addi r0, r4, 7 -/* 80077250 000741B0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80077254 000741B4 7C 09 03 A6 */ mtctr r0 -/* 80077258 000741B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8007725C 000741BC 40 81 00 0C */ ble lbl_80077268 -lbl_80077260: -/* 80077260 000741C0 38 63 00 08 */ addi r3, r3, 8 -/* 80077264 000741C4 42 00 FF FC */ bdnz lbl_80077260 -lbl_80077268: -/* 80077268 000741C8 7C 03 28 50 */ subf r0, r3, r5 -/* 8007726C 000741CC 7C 09 03 A6 */ mtctr r0 -/* 80077270 000741D0 7C 03 28 00 */ cmpw r3, r5 -/* 80077274 000741D4 40 80 00 08 */ bge lbl_8007727C -lbl_80077278: -/* 80077278 000741D8 42 00 00 00 */ bdnz lbl_80077278 -lbl_8007727C: -/* 8007727C 000741DC 38 00 00 00 */ li r0, 0 -/* 80077280 000741E0 90 01 00 20 */ stw r0, 0x20(r1) -/* 80077284 000741E4 48 00 00 A0 */ b lbl_80077324 -lbl_80077288: -/* 80077288 000741E8 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 8007728C 000741EC 48 29 B2 51 */ bl Float__9CRandom16Fv -/* 80077290 000741F0 6F 83 80 00 */ xoris r3, r28, 0x8000 -/* 80077294 000741F4 3C 00 43 30 */ lis r0, 0x4330 -/* 80077298 000741F8 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8007729C 000741FC 38 60 00 00 */ li r3, 0 -/* 800772A0 00074200 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 800772A4 00074204 90 01 00 38 */ stw r0, 0x38(r1) -/* 800772A8 00074208 C8 62 88 E8 */ lfd f3, lbl_805AA608@sda21(r2) -/* 800772AC 0007420C 2C 05 00 00 */ cmpwi r5, 0 -/* 800772B0 00074210 C8 41 00 38 */ lfd f2, 0x38(r1) -/* 800772B4 00074214 C0 02 88 E0 */ lfs f0, lbl_805AA600@sda21(r2) -/* 800772B8 00074218 EC 42 18 28 */ fsubs f2, f2, f3 -/* 800772BC 0007421C EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800772C0 00074220 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800772C4 00074224 FC 00 00 1E */ fctiwz f0, f0 -/* 800772C8 00074228 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 800772CC 0007422C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800772D0 00074230 54 00 08 3C */ slwi r0, r0, 1 -/* 800772D4 00074234 7C 1E 02 2E */ lhzx r0, r30, r0 -/* 800772D8 00074238 B0 1B 00 00 */ sth r0, 0(r27) -/* 800772DC 0007423C 40 81 00 40 */ ble lbl_8007731C -/* 800772E0 00074240 2C 05 00 08 */ cmpwi r5, 8 -/* 800772E4 00074244 38 85 FF F8 */ addi r4, r5, -8 -/* 800772E8 00074248 40 81 00 20 */ ble lbl_80077308 -/* 800772EC 0007424C 38 04 00 07 */ addi r0, r4, 7 -/* 800772F0 00074250 54 00 E8 FE */ srwi r0, r0, 3 -/* 800772F4 00074254 7C 09 03 A6 */ mtctr r0 -/* 800772F8 00074258 2C 04 00 00 */ cmpwi r4, 0 -/* 800772FC 0007425C 40 81 00 0C */ ble lbl_80077308 -lbl_80077300: -/* 80077300 00074260 38 63 00 08 */ addi r3, r3, 8 -/* 80077304 00074264 42 00 FF FC */ bdnz lbl_80077300 -lbl_80077308: -/* 80077308 00074268 7C 03 28 50 */ subf r0, r3, r5 -/* 8007730C 0007426C 7C 09 03 A6 */ mtctr r0 -/* 80077310 00074270 7C 03 28 00 */ cmpw r3, r5 -/* 80077314 00074274 40 80 00 08 */ bge lbl_8007731C -lbl_80077318: -/* 80077318 00074278 42 00 00 00 */ bdnz lbl_80077318 -lbl_8007731C: -/* 8007731C 0007427C 38 00 00 00 */ li r0, 0 -/* 80077320 00074280 90 01 00 20 */ stw r0, 0x20(r1) -lbl_80077324: -/* 80077324 00074284 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 80077328 00074288 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8007732C 0007428C 7C 08 03 A6 */ mtlr r0 -/* 80077330 00074290 38 21 00 60 */ addi r1, r1, 0x60 -/* 80077334 00074294 4E 80 00 20 */ blr - -.global AcceptScriptMsg__15CScriptWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__15CScriptWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80077338 00074298 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007733C 0007429C 7C 08 02 A6 */ mflr r0 -/* 80077340 000742A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80077344 000742A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80077348 000742A8 7C DF 33 78 */ mr r31, r6 -/* 8007734C 000742AC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80077350 000742B0 7C 9E 23 78 */ mr r30, r4 -/* 80077354 000742B4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80077358 000742B8 7C 7D 1B 78 */ mr r29, r3 -/* 8007735C 000742BC A0 05 00 00 */ lhz r0, 0(r5) -/* 80077360 000742C0 38 A1 00 08 */ addi r5, r1, 8 -/* 80077364 000742C4 B0 01 00 08 */ sth r0, 8(r1) -/* 80077368 000742C8 4B FD C2 AD */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8007736C 000742CC 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 80077370 000742D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80077374 000742D4 41 82 00 24 */ beq lbl_80077398 -/* 80077378 000742D8 2C 1E 00 02 */ cmpwi r30, 2 -/* 8007737C 000742DC 41 82 00 08 */ beq lbl_80077384 -/* 80077380 000742E0 48 00 00 18 */ b lbl_80077398 -lbl_80077384: -/* 80077384 000742E4 7F A3 EB 78 */ mr r3, r29 -/* 80077388 000742E8 7F E5 FB 78 */ mr r5, r31 -/* 8007738C 000742EC 38 80 00 01 */ li r4, 1 -/* 80077390 000742F0 38 C0 FF FF */ li r6, -1 -/* 80077394 000742F4 4B FD 9D 2D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_80077398: -/* 80077398 000742F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007739C 000742FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800773A0 00074300 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800773A4 00074304 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800773A8 00074308 7C 08 03 A6 */ mtlr r0 -/* 800773AC 0007430C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800773B0 00074310 4E 80 00 20 */ blr - -.global __dt__15CScriptWaypointFv -__dt__15CScriptWaypointFv: -/* 800773B4 00074314 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800773B8 00074318 7C 08 02 A6 */ mflr r0 -/* 800773BC 0007431C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800773C0 00074320 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800773C4 00074324 7C 9F 23 78 */ mr r31, r4 -/* 800773C8 00074328 93 C1 00 08 */ stw r30, 8(r1) -/* 800773CC 0007432C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800773D0 00074330 41 82 00 28 */ beq lbl_800773F8 -/* 800773D4 00074334 3C A0 80 3E */ lis r5, lbl_803DA558@ha -/* 800773D8 00074338 38 80 00 00 */ li r4, 0 -/* 800773DC 0007433C 38 05 A5 58 */ addi r0, r5, lbl_803DA558@l -/* 800773E0 00074340 90 1E 00 00 */ stw r0, 0(r30) -/* 800773E4 00074344 4B FD E3 0D */ bl __dt__6CActorFv -/* 800773E8 00074348 7F E0 07 35 */ extsh. r0, r31 -/* 800773EC 0007434C 40 81 00 0C */ ble lbl_800773F8 -/* 800773F0 00074350 7F C3 F3 78 */ mr r3, r30 -/* 800773F4 00074354 48 29 E5 3D */ bl Free__7CMemoryFPCv -lbl_800773F8: -/* 800773F8 00074358 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800773FC 0007435C 7F C3 F3 78 */ mr r3, r30 -/* 80077400 00074360 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80077404 00074364 83 C1 00 08 */ lwz r30, 8(r1) -/* 80077408 00074368 7C 08 03 A6 */ mtlr r0 -/* 8007740C 0007436C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80077410 00074370 4E 80 00 20 */ blr - -.global "__ct__15CScriptWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbffiiiiiiUi" -"__ct__15CScriptWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbffiiiiiiUi": -/* 80077414 00074374 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80077418 00074378 7C 08 02 A6 */ mflr r0 -/* 8007741C 0007437C 90 01 01 24 */ stw r0, 0x124(r1) -/* 80077420 00074380 DB E1 01 18 */ stfd f31, 0x118(r1) -/* 80077424 00074384 FF E0 10 90 */ fmr f31, f2 -/* 80077428 00074388 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 8007742C 0007438C FF C0 08 90 */ fmr f30, f1 -/* 80077430 00074390 BE 61 00 DC */ stmw r19, 0xdc(r1) -/* 80077434 00074394 7C 73 1B 78 */ mr r19, r3 -/* 80077438 00074398 83 61 01 28 */ lwz r27, 0x128(r1) -/* 8007743C 0007439C 7C 94 23 78 */ mr r20, r4 -/* 80077440 000743A0 83 81 01 2C */ lwz r28, 0x12c(r1) -/* 80077444 000743A4 7C B5 2B 78 */ mr r21, r5 -/* 80077448 000743A8 83 A1 01 30 */ lwz r29, 0x130(r1) -/* 8007744C 000743AC 7C D6 33 78 */ mr r22, r6 -/* 80077450 000743B0 83 C1 01 34 */ lwz r30, 0x134(r1) -/* 80077454 000743B4 7C F7 3B 78 */ mr r23, r7 -/* 80077458 000743B8 83 E1 01 38 */ lwz r31, 0x138(r1) -/* 8007745C 000743BC 7D 18 43 78 */ mr r24, r8 -/* 80077460 000743C0 7D 39 4B 78 */ mr r25, r9 -/* 80077464 000743C4 7D 5A 53 78 */ mr r26, r10 -/* 80077468 000743C8 38 61 00 88 */ addi r3, r1, 0x88 -/* 8007746C 000743CC 4B FC 33 39 */ bl CModelDataNull__10CModelDataFv -/* 80077470 000743D0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80077474 000743D4 4B FA 39 C5 */ bl None__16CActorParametersFv -/* 80077478 000743D8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8007747C 000743DC 38 00 00 00 */ li r0, 0 -/* 80077480 000743E0 80 AD 83 D8 */ lwz r5, lbl_805A6F98@sda21(r13) -/* 80077484 000743E4 38 60 00 00 */ li r3, 0 -/* 80077488 000743E8 B0 81 00 10 */ sth r4, 0x10(r1) -/* 8007748C 000743EC 38 80 00 01 */ li r4, 1 -/* 80077490 000743F0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80077494 000743F4 90 01 00 18 */ stw r0, 0x18(r1) -/* 80077498 000743F8 48 31 2A 5D */ bl __shl2i -/* 8007749C 000743FC 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 800774A0 00074400 39 61 00 20 */ addi r11, r1, 0x20 -/* 800774A4 00074404 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 800774A8 00074408 38 01 00 10 */ addi r0, r1, 0x10 -/* 800774AC 0007440C 7C A3 1B 78 */ or r3, r5, r3 -/* 800774B0 00074410 A1 34 00 00 */ lhz r9, 0(r20) -/* 800774B4 00074414 7C C4 23 78 */ or r4, r6, r4 -/* 800774B8 00074418 90 61 00 18 */ stw r3, 0x18(r1) -/* 800774BC 0007441C 7E 63 9B 78 */ mr r3, r19 -/* 800774C0 00074420 7F 05 C3 78 */ mr r5, r24 -/* 800774C4 00074424 90 81 00 1C */ stw r4, 0x1c(r1) -/* 800774C8 00074428 7E A6 AB 78 */ mr r6, r21 -/* 800774CC 0007442C 7E C7 B3 78 */ mr r7, r22 -/* 800774D0 00074430 7E E8 BB 78 */ mr r8, r23 -/* 800774D4 00074434 B1 21 00 14 */ sth r9, 0x14(r1) -/* 800774D8 00074438 38 81 00 14 */ addi r4, r1, 0x14 -/* 800774DC 0007443C 39 21 00 88 */ addi r9, r1, 0x88 -/* 800774E0 00074440 39 41 00 18 */ addi r10, r1, 0x18 -/* 800774E4 00074444 91 61 00 08 */ stw r11, 8(r1) -/* 800774E8 00074448 90 01 00 0C */ stw r0, 0xc(r1) -/* 800774EC 0007444C 4B FD E3 35 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 800774F0 00074450 38 61 00 20 */ addi r3, r1, 0x20 -/* 800774F4 00074454 38 80 FF FF */ li r4, -1 -/* 800774F8 00074458 48 08 F1 11 */ bl __dt__16CActorParametersFv -/* 800774FC 0007445C 38 61 00 88 */ addi r3, r1, 0x88 -/* 80077500 00074460 38 80 FF FF */ li r4, -1 -/* 80077504 00074464 48 09 F5 49 */ bl __dt__10CModelDataFv -/* 80077508 00074468 3C 80 80 3E */ lis r4, lbl_803DA558@ha -/* 8007750C 0007446C 7E 63 9B 78 */ mr r3, r19 -/* 80077510 00074470 38 04 A5 58 */ addi r0, r4, lbl_803DA558@l -/* 80077514 00074474 90 13 00 00 */ stw r0, 0(r19) -/* 80077518 00074478 38 80 00 00 */ li r4, 0 -/* 8007751C 0007447C D3 D3 00 E8 */ stfs f30, 0xe8(r19) -/* 80077520 00074480 93 F3 00 EC */ stw r31, 0xec(r19) -/* 80077524 00074484 D3 F3 00 F0 */ stfs f31, 0xf0(r19) -/* 80077528 00074488 9B 33 00 F4 */ stb r25, 0xf4(r19) -/* 8007752C 0007448C 9B 53 00 F5 */ stb r26, 0xf5(r19) -/* 80077530 00074490 9B 73 00 F6 */ stb r27, 0xf6(r19) -/* 80077534 00074494 9B 93 00 F7 */ stb r28, 0xf7(r19) -/* 80077538 00074498 9B B3 00 F8 */ stb r29, 0xf8(r19) -/* 8007753C 0007449C B3 D3 00 FA */ sth r30, 0xfa(r19) -/* 80077540 000744A0 4B FD CE A1 */ bl SetUseInSortedLists__6CActorFb -/* 80077544 000744A4 7E 63 9B 78 */ mr r3, r19 -/* 80077548 000744A8 38 80 00 00 */ li r4, 0 -/* 8007754C 000744AC 4B FD CE 6D */ bl SetCallTouch__6CActorFb -/* 80077550 000744B0 CB E1 01 18 */ lfd f31, 0x118(r1) -/* 80077554 000744B4 7E 63 9B 78 */ mr r3, r19 -/* 80077558 000744B8 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 8007755C 000744BC BA 61 00 DC */ lmw r19, 0xdc(r1) -/* 80077560 000744C0 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80077564 000744C4 7C 08 03 A6 */ mtlr r0 -/* 80077568 000744C8 38 21 01 20 */ addi r1, r1, 0x120 -/* 8007756C 000744CC 4E 80 00 20 */ blr - -.global __dt__10CPatternedFv -__dt__10CPatternedFv: -/* 80077570 000744D0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80077574 000744D4 7C 08 02 A6 */ mflr r0 -/* 80077578 000744D8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007757C 000744DC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80077580 000744E0 7C 9F 23 78 */ mr r31, r4 -/* 80077584 000744E4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80077588 000744E8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8007758C 000744EC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80077590 000744F0 41 82 01 C0 */ beq lbl_80077750 -/* 80077594 000744F4 3C 60 80 3E */ lis r3, lbl_803DA5C8@ha -/* 80077598 000744F8 34 1E 05 4C */ addic. r0, r30, 0x54c -/* 8007759C 000744FC 38 03 A5 C8 */ addi r0, r3, lbl_803DA5C8@l -/* 800775A0 00074500 90 1E 00 00 */ stw r0, 0(r30) -/* 800775A4 00074504 41 82 00 30 */ beq lbl_800775D4 -/* 800775A8 00074508 88 1E 05 58 */ lbz r0, 0x558(r30) -/* 800775AC 0007450C 28 00 00 00 */ cmplwi r0, 0 -/* 800775B0 00074510 41 82 00 1C */ beq lbl_800775CC -/* 800775B4 00074514 34 7E 05 4C */ addic. r3, r30, 0x54c -/* 800775B8 00074518 41 82 00 14 */ beq lbl_800775CC -/* 800775BC 0007451C 28 03 00 00 */ cmplwi r3, 0 -/* 800775C0 00074520 41 82 00 0C */ beq lbl_800775CC -/* 800775C4 00074524 38 80 00 00 */ li r4, 0 -/* 800775C8 00074528 48 2C 98 79 */ bl __dt__6CTokenFv -lbl_800775CC: -/* 800775CC 0007452C 38 00 00 00 */ li r0, 0 -/* 800775D0 00074530 98 1E 05 58 */ stb r0, 0x558(r30) -lbl_800775D4: -/* 800775D4 00074534 34 1E 05 30 */ addic. r0, r30, 0x530 -/* 800775D8 00074538 41 82 00 30 */ beq lbl_80077608 -/* 800775DC 0007453C 88 1E 05 3C */ lbz r0, 0x53c(r30) -/* 800775E0 00074540 28 00 00 00 */ cmplwi r0, 0 -/* 800775E4 00074544 41 82 00 1C */ beq lbl_80077600 -/* 800775E8 00074548 34 7E 05 30 */ addic. r3, r30, 0x530 -/* 800775EC 0007454C 41 82 00 14 */ beq lbl_80077600 -/* 800775F0 00074550 28 03 00 00 */ cmplwi r3, 0 -/* 800775F4 00074554 41 82 00 0C */ beq lbl_80077600 -/* 800775F8 00074558 38 80 00 00 */ li r4, 0 -/* 800775FC 0007455C 48 2C 98 45 */ bl __dt__6CTokenFv -lbl_80077600: -/* 80077600 00074560 38 00 00 00 */ li r0, 0 -/* 80077604 00074564 98 1E 05 3C */ stb r0, 0x53c(r30) -lbl_80077608: -/* 80077608 00074568 34 1E 05 20 */ addic. r0, r30, 0x520 -/* 8007760C 0007456C 41 82 00 30 */ beq lbl_8007763C -/* 80077610 00074570 88 1E 05 2C */ lbz r0, 0x52c(r30) -/* 80077614 00074574 28 00 00 00 */ cmplwi r0, 0 -/* 80077618 00074578 41 82 00 1C */ beq lbl_80077634 -/* 8007761C 0007457C 34 7E 05 20 */ addic. r3, r30, 0x520 -/* 80077620 00074580 41 82 00 14 */ beq lbl_80077634 -/* 80077624 00074584 28 03 00 00 */ cmplwi r3, 0 -/* 80077628 00074588 41 82 00 0C */ beq lbl_80077634 -/* 8007762C 0007458C 38 80 00 00 */ li r4, 0 -/* 80077630 00074590 48 2C 98 11 */ bl __dt__6CTokenFv -lbl_80077634: -/* 80077634 00074594 38 00 00 00 */ li r0, 0 -/* 80077638 00074598 98 1E 05 2C */ stb r0, 0x52c(r30) -lbl_8007763C: -/* 8007763C 0007459C 34 1E 05 10 */ addic. r0, r30, 0x510 -/* 80077640 000745A0 41 82 00 14 */ beq lbl_80077654 -/* 80077644 000745A4 34 1E 05 10 */ addic. r0, r30, 0x510 -/* 80077648 000745A8 41 82 00 0C */ beq lbl_80077654 -/* 8007764C 000745AC 38 7E 05 10 */ addi r3, r30, 0x510 -/* 80077650 000745B0 48 00 67 35 */ bl sub_8007dd84 -lbl_80077654: -/* 80077654 000745B4 34 1E 04 60 */ addic. r0, r30, 0x460 -/* 80077658 000745B8 41 82 00 60 */ beq lbl_800776B8 -/* 8007765C 000745BC 34 1E 04 84 */ addic. r0, r30, 0x484 -/* 80077660 000745C0 41 82 00 58 */ beq lbl_800776B8 -/* 80077664 000745C4 80 BE 04 84 */ lwz r5, 0x484(r30) -/* 80077668 000745C8 38 60 00 00 */ li r3, 0 -/* 8007766C 000745CC 2C 05 00 00 */ cmpwi r5, 0 -/* 80077670 000745D0 40 81 00 40 */ ble lbl_800776B0 -/* 80077674 000745D4 2C 05 00 08 */ cmpwi r5, 8 -/* 80077678 000745D8 38 85 FF F8 */ addi r4, r5, -8 -/* 8007767C 000745DC 40 81 00 20 */ ble lbl_8007769C -/* 80077680 000745E0 38 04 00 07 */ addi r0, r4, 7 -/* 80077684 000745E4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80077688 000745E8 7C 09 03 A6 */ mtctr r0 -/* 8007768C 000745EC 2C 04 00 00 */ cmpwi r4, 0 -/* 80077690 000745F0 40 81 00 0C */ ble lbl_8007769C -lbl_80077694: -/* 80077694 000745F4 38 63 00 08 */ addi r3, r3, 8 -/* 80077698 000745F8 42 00 FF FC */ bdnz lbl_80077694 -lbl_8007769C: -/* 8007769C 000745FC 7C 03 28 50 */ subf r0, r3, r5 -/* 800776A0 00074600 7C 09 03 A6 */ mtctr r0 -/* 800776A4 00074604 7C 03 28 00 */ cmpw r3, r5 -/* 800776A8 00074608 40 80 00 08 */ bge lbl_800776B0 -lbl_800776AC: -/* 800776AC 0007460C 42 00 00 00 */ bdnz lbl_800776AC -lbl_800776B0: -/* 800776B0 00074610 38 00 00 00 */ li r0, 0 -/* 800776B4 00074614 90 1E 04 84 */ stw r0, 0x484(r30) -lbl_800776B8: -/* 800776B8 00074618 34 1E 04 50 */ addic. r0, r30, 0x450 -/* 800776BC 0007461C 41 82 00 30 */ beq lbl_800776EC -/* 800776C0 00074620 83 BE 04 50 */ lwz r29, 0x450(r30) -/* 800776C4 00074624 28 1D 00 00 */ cmplwi r29, 0 -/* 800776C8 00074628 41 82 00 24 */ beq lbl_800776EC -/* 800776CC 0007462C 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 800776D0 00074630 38 80 FF FF */ li r4, -1 -/* 800776D4 00074634 48 0B CA A5 */ bl __dt__14CBodyStateInfoFv -/* 800776D8 00074638 38 7D 00 04 */ addi r3, r29, 4 -/* 800776DC 0007463C 38 80 FF FF */ li r4, -1 -/* 800776E0 00074640 48 0B A1 15 */ bl __dt__16CBodyStateCmdMgrFv -/* 800776E4 00074644 7F A3 EB 78 */ mr r3, r29 -/* 800776E8 00074648 48 29 E2 49 */ bl Free__7CMemoryFPCv -lbl_800776EC: -/* 800776EC 0007464C 34 1E 03 8C */ addic. r0, r30, 0x38c -/* 800776F0 00074650 41 82 00 44 */ beq lbl_80077734 -/* 800776F4 00074654 80 1E 03 90 */ lwz r0, 0x390(r30) -/* 800776F8 00074658 80 7E 03 98 */ lwz r3, 0x398(r30) -/* 800776FC 0007465C 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80077700 00074660 90 61 00 0C */ stw r3, 0xc(r1) -/* 80077704 00074664 7C 64 1B 78 */ mr r4, r3 -/* 80077708 00074668 7C 03 02 14 */ add r0, r3, r0 -/* 8007770C 0007466C 90 61 00 08 */ stw r3, 8(r1) -/* 80077710 00074670 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077714 00074674 90 01 00 10 */ stw r0, 0x10(r1) -/* 80077718 00074678 48 00 00 08 */ b lbl_80077720 -lbl_8007771C: -/* 8007771C 0007467C 38 84 00 24 */ addi r4, r4, 0x24 -lbl_80077720: -/* 80077720 00074680 7C 04 00 40 */ cmplw r4, r0 -/* 80077724 00074684 40 82 FF F8 */ bne lbl_8007771C -/* 80077728 00074688 28 03 00 00 */ cmplwi r3, 0 -/* 8007772C 0007468C 41 82 00 08 */ beq lbl_80077734 -/* 80077730 00074690 48 29 E2 01 */ bl Free__7CMemoryFPCv -lbl_80077734: -/* 80077734 00074694 7F C3 F3 78 */ mr r3, r30 -/* 80077738 00074698 38 80 00 00 */ li r4, 0 -/* 8007773C 0007469C 48 02 B6 45 */ bl __dt__3CAiFv -/* 80077740 000746A0 7F E0 07 35 */ extsh. r0, r31 -/* 80077744 000746A4 40 81 00 0C */ ble lbl_80077750 -/* 80077748 000746A8 7F C3 F3 78 */ mr r3, r30 -/* 8007774C 000746AC 48 29 E1 E5 */ bl Free__7CMemoryFPCv -lbl_80077750: -/* 80077750 000746B0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80077754 000746B4 7F C3 F3 78 */ mr r3, r30 -/* 80077758 000746B8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007775C 000746BC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80077760 000746C0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80077764 000746C4 7C 08 03 A6 */ mtlr r0 -/* 80077768 000746C8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007776C 000746CC 4E 80 00 20 */ blr - -.global GetTouchBounds__10CPatternedCFv -GetTouchBounds__10CPatternedCFv: -/* 80077770 000746D0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80077774 000746D4 7C 08 02 A6 */ mflr r0 -/* 80077778 000746D8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007777C 000746DC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80077780 000746E0 7C 7F 1B 78 */ mr r31, r3 -/* 80077784 000746E4 38 61 00 08 */ addi r3, r1, 8 -/* 80077788 000746E8 48 0A 31 A5 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8007778C 000746EC 38 00 00 01 */ li r0, 1 -/* 80077790 000746F0 28 1F 00 00 */ cmplwi r31, 0 -/* 80077794 000746F4 98 1F 00 18 */ stb r0, 0x18(r31) -/* 80077798 000746F8 41 82 00 34 */ beq lbl_800777CC -/* 8007779C 000746FC C0 01 00 08 */ lfs f0, 8(r1) -/* 800777A0 00074700 D0 1F 00 00 */ stfs f0, 0(r31) -/* 800777A4 00074704 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800777A8 00074708 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800777AC 0007470C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800777B0 00074710 D0 1F 00 08 */ stfs f0, 8(r31) -/* 800777B4 00074714 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800777B8 00074718 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 800777BC 0007471C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800777C0 00074720 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 800777C4 00074724 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800777C8 00074728 D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_800777CC: -/* 800777CC 0007472C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800777D0 00074730 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800777D4 00074734 7C 08 03 A6 */ mtlr r0 -/* 800777D8 00074738 38 21 00 30 */ addi r1, r1, 0x30 -/* 800777DC 0007473C 4E 80 00 20 */ blr - -.global TakeDamage__10CPatternedFRC9CVector3ff -TakeDamage__10CPatternedFRC9CVector3ff: -/* 800777E0 00074740 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) -/* 800777E4 00074744 D0 03 04 28 */ stfs f0, 0x428(r3) -/* 800777E8 00074748 4E 80 00 20 */ blr - -.global KnockbackWhenFrozen__10CPatternedCFv -KnockbackWhenFrozen__10CPatternedCFv: -/* 800777EC 0007474C 38 60 00 01 */ li r3, 1 -/* 800777F0 00074750 4E 80 00 20 */ blr - -.global Default__10CPatternedFR13CStateManagerf -Default__10CPatternedFR13CStateManagerf: -/* 800777F4 00074754 38 60 00 01 */ li r3, 1 -/* 800777F8 00074758 4E 80 00 20 */ blr - -.global GetSearchPath__10CPatternedFv -GetSearchPath__10CPatternedFv: -/* 800777FC 0007475C 38 60 00 00 */ li r3, 0 -/* 80077800 00074760 4E 80 00 20 */ blr - -.global GetModelAlphau8__10CPatternedCFRC13CStateManager -GetModelAlphau8__10CPatternedCFRC13CStateManager: -/* 80077804 00074764 88 63 04 2F */ lbz r3, 0x42f(r3) -/* 80077808 00074768 4E 80 00 20 */ blr - -.global IsOnGround__10CPatternedCFv -IsOnGround__10CPatternedCFv: -/* 8007780C 0007476C 88 03 03 28 */ lbz r0, 0x328(r3) -/* 80077810 00074770 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 80077814 00074774 4E 80 00 20 */ blr - -.global GetGravityConstant__10CPatternedCFv -GetGravityConstant__10CPatternedCFv: -/* 80077818 00074778 C0 22 96 A0 */ lfs f1, lbl_805AB3C0@sda21(r2) -/* 8007781C 0007477C 4E 80 00 20 */ blr - -.global GetProjectileInfo__10CPatternedFv -GetProjectileInfo__10CPatternedFv: -/* 80077820 00074780 38 60 00 00 */ li r3, 0 -/* 80077824 00074784 4E 80 00 20 */ blr - -.global GetDeathExplosionParticle__10CPatternedCFv -GetDeathExplosionParticle__10CPatternedCFv: -/* 80077828 00074788 38 63 05 20 */ addi r3, r3, 0x520 -/* 8007782C 0007478C 4E 80 00 20 */ blr - -.global IsListening__3CAiCFv -IsListening__3CAiCFv: -/* 80077830 00074790 38 60 00 00 */ li r3, 0 -/* 80077834 00074794 4E 80 00 20 */ blr - -.global GetOrigin__3CAiCFv -GetOrigin__3CAiCFv: -/* 80077838 00074798 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 8007783C 0007479C C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80077840 000747A0 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80077844 000747A4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80077848 000747A8 D0 23 00 04 */ stfs f1, 4(r3) -/* 8007784C 000747AC D0 43 00 08 */ stfs f2, 8(r3) -/* 80077850 000747B0 4E 80 00 20 */ blr - -.global UpdateThermalFrozenState__10CPatternedFb -UpdateThermalFrozenState__10CPatternedFb: -/* 80077854 000747B4 54 84 06 3E */ clrlwi r4, r4, 0x18 -/* 80077858 000747B8 88 03 04 02 */ lbz r0, 0x402(r3) -/* 8007785C 000747BC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80077860 000747C0 98 03 04 02 */ stb r0, 0x402(r3) -/* 80077864 000747C4 88 03 04 03 */ lbz r0, 0x403(r3) -/* 80077868 000747C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8007786C 000747CC 4C 82 00 20 */ bnelr -/* 80077870 000747D0 28 04 00 00 */ cmplwi r4, 0 -/* 80077874 000747D4 38 00 00 01 */ li r0, 1 -/* 80077878 000747D8 41 82 00 08 */ beq lbl_80077880 -/* 8007787C 000747DC 38 00 00 02 */ li r0, 2 -lbl_80077880: -/* 80077880 000747E0 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 80077884 000747E4 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 80077888 000747E8 50 80 1E F8 */ rlwimi r0, r4, 3, 0x1b, 0x1c -/* 8007788C 000747EC 98 03 00 E6 */ stb r0, 0xe6(r3) -/* 80077890 000747F0 4E 80 00 20 */ blr - -.global MakeThermalColdAndHot__10CPatternedFv -MakeThermalColdAndHot__10CPatternedFv: -/* 80077894 000747F4 88 03 04 03 */ lbz r0, 0x403(r3) -/* 80077898 000747F8 38 80 00 01 */ li r4, 1 -/* 8007789C 000747FC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800778A0 00074800 38 80 00 03 */ li r4, 3 -/* 800778A4 00074804 98 03 04 03 */ stb r0, 0x403(r3) -/* 800778A8 00074808 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 800778AC 0007480C 50 80 1E F8 */ rlwimi r0, r4, 3, 0x1b, 0x1c -/* 800778B0 00074810 98 03 00 E6 */ stb r0, 0xe6(r3) -/* 800778B4 00074814 4E 80 00 20 */ blr - -.global AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager: -/* 800778B8 00074818 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800778BC 0007481C 7C 08 02 A6 */ mflr r0 -/* 800778C0 00074820 90 01 00 24 */ stw r0, 0x24(r1) -/* 800778C4 00074824 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800778C8 00074828 7C BF 2B 78 */ mr r31, r5 -/* 800778CC 0007482C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800778D0 00074830 7C 9E 23 78 */ mr r30, r4 -/* 800778D4 00074834 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800778D8 00074838 7C 7D 1B 78 */ mr r29, r3 -/* 800778DC 0007483C 88 03 04 02 */ lbz r0, 0x402(r3) -/* 800778E0 00074840 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800778E4 00074844 41 82 00 80 */ beq lbl_80077964 -/* 800778E8 00074848 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 800778EC 0007484C 38 60 00 00 */ li r3, 0 -/* 800778F0 00074850 28 04 00 00 */ cmplwi r4, 0 -/* 800778F4 00074854 41 82 00 20 */ beq lbl_80077914 -/* 800778F8 00074858 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800778FC 0007485C 28 00 00 00 */ cmplwi r0, 0 -/* 80077900 00074860 40 82 00 10 */ bne lbl_80077910 -/* 80077904 00074864 88 04 00 28 */ lbz r0, 0x28(r4) -/* 80077908 00074868 28 00 00 00 */ cmplwi r0, 0 -/* 8007790C 0007486C 41 82 00 08 */ beq lbl_80077914 -lbl_80077910: -/* 80077910 00074870 38 60 00 01 */ li r3, 1 -lbl_80077914: -/* 80077914 00074874 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80077918 00074878 41 82 00 4C */ beq lbl_80077964 -/* 8007791C 0007487C 88 1D 04 02 */ lbz r0, 0x402(r29) -/* 80077920 00074880 7F E3 FB 78 */ mr r3, r31 -/* 80077924 00074884 38 A1 00 0C */ addi r5, r1, 0xc -/* 80077928 00074888 38 C1 00 08 */ addi r6, r1, 8 -/* 8007792C 0007488C 54 04 07 FE */ clrlwi r4, r0, 0x1f -/* 80077930 00074890 7C 04 00 D0 */ neg r0, r4 -/* 80077934 00074894 7C 00 23 78 */ or r0, r0, r4 -/* 80077938 00074898 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8007793C 0007489C 4B FC CB 35 */ bl GetCharacterRenderMaskAndTarget__13CStateManagerFbRiRi -/* 80077940 000748A0 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80077944 000748A4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80077948 000748A8 28 03 00 00 */ cmplwi r3, 0 -/* 8007794C 000748AC 41 82 00 18 */ beq lbl_80077964 -/* 80077950 000748B0 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 80077954 000748B4 7F C4 F3 78 */ mr r4, r30 -/* 80077958 000748B8 80 C1 00 08 */ lwz r6, 8(r1) -/* 8007795C 000748BC 38 63 01 20 */ addi r3, r3, 0x120 -/* 80077960 000748C0 48 04 08 35 */ bl AddToRendererClippedMasked__17CParticleDatabaseCFRC14CFrustumPlanesii -lbl_80077964: -/* 80077964 000748C4 7F A3 EB 78 */ mr r3, r29 -/* 80077968 000748C8 7F C4 F3 78 */ mr r4, r30 -/* 8007796C 000748CC 7F E5 FB 78 */ mr r5, r31 -/* 80077970 000748D0 4B FD D1 C9 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager -/* 80077974 000748D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80077978 000748D8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007797C 000748DC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80077980 000748E0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80077984 000748E4 7C 08 03 A6 */ mtlr r0 -/* 80077988 000748E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007798C 000748EC 4E 80 00 20 */ blr - -.global PreThink__10CPatternedFfR13CStateManager -PreThink__10CPatternedFfR13CStateManager: -/* 80077990 000748F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80077994 000748F4 7C 08 02 A6 */ mflr r0 -/* 80077998 000748F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007799C 000748FC D0 23 05 00 */ stfs f1, 0x500(r3) -/* 800779A0 00074900 4B FD 97 1D */ bl PreThink__7CEntityFfR13CStateManager -/* 800779A4 00074904 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800779A8 00074908 7C 08 03 A6 */ mtlr r0 -/* 800779AC 0007490C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800779B0 00074910 4E 80 00 20 */ blr - -.global GetCollisionResponseType__10CPatternedCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__10CPatternedCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 800779B4 00074914 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800779B8 00074918 7C 08 02 A6 */ mflr r0 -/* 800779BC 0007491C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800779C0 00074920 81 03 04 50 */ lwz r8, 0x450(r3) -/* 800779C4 00074924 88 08 03 00 */ lbz r0, 0x300(r8) -/* 800779C8 00074928 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800779CC 0007492C 41 82 00 18 */ beq lbl_800779E4 -/* 800779D0 00074930 80 06 00 00 */ lwz r0, 0(r6) -/* 800779D4 00074934 2C 00 00 01 */ cmpwi r0, 1 -/* 800779D8 00074938 40 82 00 0C */ bne lbl_800779E4 -/* 800779DC 0007493C 38 60 00 00 */ li r3, 0 -/* 800779E0 00074940 48 00 00 08 */ b lbl_800779E8 -lbl_800779E4: -/* 800779E4 00074944 48 02 AF 0D */ bl GetCollisionResponseType__3CAiCFRC9CVector3fRC9CVector3fRC11CWeaponModei -lbl_800779E8: -/* 800779E8 00074948 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800779EC 0007494C 7C 08 03 A6 */ mtlr r0 -/* 800779F0 00074950 38 21 00 10 */ addi r1, r1, 0x10 -/* 800779F4 00074954 4E 80 00 20 */ blr - -.global "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -"LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f": -/* 800779F8 00074958 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 800779FC 0007495C 7C 08 02 A6 */ mflr r0 -/* 80077A00 00074960 90 01 00 94 */ stw r0, 0x94(r1) -/* 80077A04 00074964 BE 81 00 60 */ stmw r20, 0x60(r1) -/* 80077A08 00074968 7C 75 1B 78 */ mr r21, r3 -/* 80077A0C 0007496C 7C 96 23 78 */ mr r22, r4 -/* 80077A10 00074970 7C B7 2B 78 */ mr r23, r5 -/* 80077A14 00074974 7C D8 33 78 */ mr r24, r6 -/* 80077A18 00074978 7C F9 3B 78 */ mr r25, r7 -/* 80077A1C 0007497C 7D 1A 43 78 */ mr r26, r8 -/* 80077A20 00074980 7D 3B 4B 78 */ mr r27, r9 -/* 80077A24 00074984 7D 5C 53 78 */ mr r28, r10 -/* 80077A28 00074988 8B A1 00 9B */ lbz r29, 0x9b(r1) -/* 80077A2C 0007498C 3B E0 00 00 */ li r31, 0 -/* 80077A30 00074990 83 C1 00 9C */ lwz r30, 0x9c(r1) -/* 80077A34 00074994 81 83 00 00 */ lwz r12, 0(r3) -/* 80077A38 00074998 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80077A3C 0007499C 7D 89 03 A6 */ mtctr r12 -/* 80077A40 000749A0 4E 80 04 21 */ bctrl -/* 80077A44 000749A4 7C 74 1B 78 */ mr r20, r3 -/* 80077A48 000749A8 80 03 00 08 */ lwz r0, 8(r3) -/* 80077A4C 000749AC 28 00 00 00 */ cmplwi r0, 0 -/* 80077A50 000749B0 41 82 00 0C */ beq lbl_80077A5C -/* 80077A54 000749B4 38 60 00 01 */ li r3, 1 -/* 80077A58 000749B8 48 00 00 38 */ b lbl_80077A90 -lbl_80077A5C: -/* 80077A5C 000749BC 88 14 00 04 */ lbz r0, 4(r20) -/* 80077A60 000749C0 28 00 00 00 */ cmplwi r0, 0 -/* 80077A64 000749C4 41 82 00 28 */ beq lbl_80077A8C -/* 80077A68 000749C8 80 94 00 00 */ lwz r4, 0(r20) -/* 80077A6C 000749CC 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80077A70 000749D0 28 00 00 00 */ cmplwi r0, 0 -/* 80077A74 000749D4 41 82 00 18 */ beq lbl_80077A8C -/* 80077A78 000749D8 48 2C 93 95 */ bl GetObj__6CTokenFv -/* 80077A7C 000749DC 80 03 00 04 */ lwz r0, 4(r3) -/* 80077A80 000749E0 38 60 00 01 */ li r3, 1 -/* 80077A84 000749E4 90 14 00 08 */ stw r0, 8(r20) -/* 80077A88 000749E8 48 00 00 08 */ b lbl_80077A90 -lbl_80077A8C: -/* 80077A8C 000749EC 38 60 00 00 */ li r3, 0 -lbl_80077A90: -/* 80077A90 000749F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80077A94 000749F4 41 82 01 38 */ beq lbl_80077BCC -/* 80077A98 000749F8 A0 15 00 08 */ lhz r0, 8(r21) -/* 80077A9C 000749FC 7E E3 BB 78 */ mr r3, r23 -/* 80077AA0 00074A00 7F 06 C3 78 */ mr r6, r24 -/* 80077AA4 00074A04 38 81 00 4C */ addi r4, r1, 0x4c -/* 80077AA8 00074A08 B0 01 00 48 */ sth r0, 0x48(r1) -/* 80077AAC 00074A0C 38 A0 00 09 */ li r5, 9 -/* 80077AB0 00074A10 B0 01 00 4C */ sth r0, 0x4c(r1) -/* 80077AB4 00074A14 4B FC DC 7D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 80077AB8 00074A18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80077ABC 00074A1C 41 82 01 10 */ beq lbl_80077BCC -/* 80077AC0 00074A20 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 80077AC4 00074A24 38 60 03 D8 */ li r3, 0x3d8 -/* 80077AC8 00074A28 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 80077ACC 00074A2C 38 A0 00 00 */ li r5, 0 -/* 80077AD0 00074A30 48 29 DD 9D */ bl __nw__FUlPCcPCc -/* 80077AD4 00074A34 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80077AD8 00074A38 41 82 00 E0 */ beq lbl_80077BB8 -/* 80077ADC 00074A3C 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 80077AE0 00074A40 41 82 00 18 */ beq lbl_80077AF8 -/* 80077AE4 00074A44 80 77 08 4C */ lwz r3, 0x84c(r23) -/* 80077AE8 00074A48 38 81 00 40 */ addi r4, r1, 0x40 -/* 80077AEC 00074A4C A0 03 00 08 */ lhz r0, 8(r3) -/* 80077AF0 00074A50 B0 01 00 40 */ sth r0, 0x40(r1) -/* 80077AF4 00074A54 48 00 00 08 */ b lbl_80077AFC -lbl_80077AF8: -/* 80077AF8 00074A58 38 8D A3 8C */ addi r4, r13, lbl_805A8F4C@sda21 -lbl_80077AFC: -/* 80077AFC 00074A5C A0 04 00 00 */ lhz r0, 0(r4) -/* 80077B00 00074A60 7E E4 BB 78 */ mr r4, r23 -/* 80077B04 00074A64 38 61 00 30 */ addi r3, r1, 0x30 -/* 80077B08 00074A68 B0 01 00 44 */ sth r0, 0x44(r1) -/* 80077B0C 00074A6C A0 B5 00 08 */ lhz r5, 8(r21) -/* 80077B10 00074A70 B0 A1 00 3C */ sth r5, 0x3c(r1) -/* 80077B14 00074A74 80 15 00 04 */ lwz r0, 4(r21) -/* 80077B18 00074A78 B0 A1 00 38 */ sth r5, 0x38(r1) -/* 80077B1C 00074A7C 90 01 00 50 */ stw r0, 0x50(r1) -/* 80077B20 00074A80 90 01 00 54 */ stw r0, 0x54(r1) -/* 80077B24 00074A84 4B FD 55 B9 */ bl AllocateUniqueId__13CStateManagerFv -/* 80077B28 00074A88 A0 01 00 30 */ lhz r0, 0x30(r1) -/* 80077B2C 00074A8C 7E A3 AB 78 */ mr r3, r21 -/* 80077B30 00074A90 B0 01 00 34 */ sth r0, 0x34(r1) -/* 80077B34 00074A94 81 95 00 00 */ lwz r12, 0(r21) -/* 80077B38 00074A98 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80077B3C 00074A9C 7D 89 03 A6 */ mtctr r12 -/* 80077B40 00074AA0 4E 80 04 21 */ bctrl -/* 80077B44 00074AA4 7C 78 1B 78 */ mr r24, r3 -/* 80077B48 00074AA8 7E A3 AB 78 */ mr r3, r21 -/* 80077B4C 00074AAC 81 95 00 00 */ lwz r12, 0(r21) -/* 80077B50 00074AB0 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80077B54 00074AB4 7D 89 03 A6 */ mtctr r12 -/* 80077B58 00074AB8 4E 80 04 21 */ bctrl -/* 80077B5C 00074ABC 38 01 00 54 */ addi r0, r1, 0x54 -/* 80077B60 00074AC0 7C 65 1B 78 */ mr r5, r3 -/* 80077B64 00074AC4 90 01 00 08 */ stw r0, 8(r1) -/* 80077B68 00074AC8 38 01 00 3C */ addi r0, r1, 0x3c -/* 80077B6C 00074ACC 38 81 00 44 */ addi r4, r1, 0x44 -/* 80077B70 00074AD0 7F E3 FB 78 */ mr r3, r31 -/* 80077B74 00074AD4 90 01 00 0C */ stw r0, 0xc(r1) -/* 80077B78 00074AD8 38 00 00 00 */ li r0, 0 -/* 80077B7C 00074ADC 7E C7 B3 78 */ mr r7, r22 -/* 80077B80 00074AE0 39 38 00 0C */ addi r9, r24, 0xc -/* 80077B84 00074AE4 90 81 00 10 */ stw r4, 0x10(r1) -/* 80077B88 00074AE8 39 41 00 34 */ addi r10, r1, 0x34 -/* 80077B8C 00074AEC 38 80 00 01 */ li r4, 1 -/* 80077B90 00074AF0 38 C0 00 09 */ li r6, 9 -/* 80077B94 00074AF4 93 21 00 14 */ stw r25, 0x14(r1) -/* 80077B98 00074AF8 39 00 00 21 */ li r8, 0x21 -/* 80077B9C 00074AFC 90 01 00 18 */ stw r0, 0x18(r1) -/* 80077BA0 00074B00 93 C1 00 1C */ stw r30, 0x1c(r1) -/* 80077BA4 00074B04 93 61 00 20 */ stw r27, 0x20(r1) -/* 80077BA8 00074B08 93 81 00 24 */ stw r28, 0x24(r1) -/* 80077BAC 00074B0C 93 A1 00 28 */ stw r29, 0x28(r1) -/* 80077BB0 00074B10 48 19 DA E9 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 80077BB4 00074B14 7C 7F 1B 78 */ mr r31, r3 -lbl_80077BB8: -/* 80077BB8 00074B18 28 1F 00 00 */ cmplwi r31, 0 -/* 80077BBC 00074B1C 41 82 00 10 */ beq lbl_80077BCC -/* 80077BC0 00074B20 7E E3 BB 78 */ mr r3, r23 -/* 80077BC4 00074B24 7F E4 FB 78 */ mr r4, r31 -/* 80077BC8 00074B28 4B FD 51 2D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -lbl_80077BCC: -/* 80077BCC 00074B2C 7F E3 FB 78 */ mr r3, r31 -/* 80077BD0 00074B30 BA 81 00 60 */ lmw r20, 0x60(r1) -/* 80077BD4 00074B34 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80077BD8 00074B38 7C 08 03 A6 */ mtlr r0 -/* 80077BDC 00074B3C 38 21 00 90 */ addi r1, r1, 0x90 -/* 80077BE0 00074B40 4E 80 00 20 */ blr - -.global RenderIceModelWithFlags__10CPatternedCFRC11CModelFlags -RenderIceModelWithFlags__10CPatternedCFRC11CModelFlags: -/* 80077BE4 00074B44 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80077BE8 00074B48 7C 08 02 A6 */ mflr r0 -/* 80077BEC 00074B4C 7C 67 1B 78 */ mr r7, r3 -/* 80077BF0 00074B50 90 01 00 74 */ stw r0, 0x74(r1) -/* 80077BF4 00074B54 38 00 00 00 */ li r0, 0 -/* 80077BF8 00074B58 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80077BFC 00074B5C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80077C00 00074B60 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80077C04 00074B64 80 63 00 64 */ lwz r3, 0x64(r3) -/* 80077C08 00074B68 A0 A4 00 02 */ lhz r5, 2(r4) -/* 80077C0C 00074B6C 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80077C10 00074B70 80 C4 00 04 */ lwz r6, 4(r4) -/* 80077C14 00074B74 88 64 00 00 */ lbz r3, 0(r4) -/* 80077C18 00074B78 98 01 00 09 */ stb r0, 9(r1) -/* 80077C1C 00074B7C 98 61 00 08 */ stb r3, 8(r1) -/* 80077C20 00074B80 B0 A1 00 0A */ sth r5, 0xa(r1) -/* 80077C24 00074B84 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80077C28 00074B88 88 1F 00 F0 */ lbz r0, 0xf0(r31) -/* 80077C2C 00074B8C 28 00 00 00 */ cmplwi r0, 0 -/* 80077C30 00074B90 41 82 00 40 */ beq lbl_80077C70 -/* 80077C34 00074B94 83 BF 00 EC */ lwz r29, 0xec(r31) -/* 80077C38 00074B98 38 61 00 10 */ addi r3, r1, 0x10 -/* 80077C3C 00074B9C 80 87 05 10 */ lwz r4, 0x510(r7) -/* 80077C40 00074BA0 83 DD 00 40 */ lwz r30, 0x40(r29) -/* 80077C44 00074BA4 80 84 00 00 */ lwz r4, 0(r4) -/* 80077C48 00074BA8 48 00 01 D5 */ bl sub_80077e1c -/* 80077C4C 00074BAC 7F E3 FB 78 */ mr r3, r31 -/* 80077C50 00074BB0 7F A4 EB 78 */ mr r4, r29 -/* 80077C54 00074BB4 7F C7 F3 78 */ mr r7, r30 -/* 80077C58 00074BB8 38 A1 00 08 */ addi r5, r1, 8 -/* 80077C5C 00074BBC 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80077C60 00074BC0 4B FB 4C BD */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 80077C64 00074BC4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80077C68 00074BC8 38 80 FF FF */ li r4, -1 -/* 80077C6C 00074BCC 48 00 00 21 */ bl sub_80077c8c -lbl_80077C70: -/* 80077C70 00074BD0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80077C74 00074BD4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80077C78 00074BD8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80077C7C 00074BDC 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80077C80 00074BE0 7C 08 03 A6 */ mtlr r0 -/* 80077C84 00074BE4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80077C88 00074BE8 4E 80 00 20 */ blr - -.global sub_80077c8c -sub_80077c8c: -/* 80077C8C 00074BEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80077C90 00074BF0 7C 08 02 A6 */ mflr r0 -/* 80077C94 00074BF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077C98 00074BF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80077C9C 00074BFC 7C 9F 23 78 */ mr r31, r4 -/* 80077CA0 00074C00 93 C1 00 08 */ stw r30, 8(r1) -/* 80077CA4 00074C04 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80077CA8 00074C08 41 82 00 18 */ beq lbl_80077CC0 -/* 80077CAC 00074C0C 48 00 00 31 */ bl sub_80077cdc -/* 80077CB0 00074C10 7F E0 07 35 */ extsh. r0, r31 -/* 80077CB4 00074C14 40 81 00 0C */ ble lbl_80077CC0 -/* 80077CB8 00074C18 7F C3 F3 78 */ mr r3, r30 -/* 80077CBC 00074C1C 48 29 DC 75 */ bl Free__7CMemoryFPCv -lbl_80077CC0: -/* 80077CC0 00074C20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80077CC4 00074C24 7F C3 F3 78 */ mr r3, r30 -/* 80077CC8 00074C28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80077CCC 00074C2C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80077CD0 00074C30 7C 08 03 A6 */ mtlr r0 -/* 80077CD4 00074C34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80077CD8 00074C38 4E 80 00 20 */ blr - -.global sub_80077cdc -sub_80077cdc: -/* 80077CDC 00074C3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80077CE0 00074C40 7C 08 02 A6 */ mflr r0 -/* 80077CE4 00074C44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077CE8 00074C48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80077CEC 00074C4C 7C 7F 1B 78 */ mr r31, r3 -/* 80077CF0 00074C50 88 03 00 48 */ lbz r0, 0x48(r3) -/* 80077CF4 00074C54 28 00 00 00 */ cmplwi r0, 0 -/* 80077CF8 00074C58 41 82 00 08 */ beq lbl_80077D00 -/* 80077CFC 00074C5C 48 00 00 21 */ bl sub_80077d1c -lbl_80077D00: -/* 80077D00 00074C60 38 00 00 00 */ li r0, 0 -/* 80077D04 00074C64 98 1F 00 48 */ stb r0, 0x48(r31) -/* 80077D08 00074C68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80077D0C 00074C6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80077D10 00074C70 7C 08 03 A6 */ mtlr r0 -/* 80077D14 00074C74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80077D18 00074C78 4E 80 00 20 */ blr - -.global sub_80077d1c -sub_80077d1c: -/* 80077D1C 00074C7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80077D20 00074C80 7C 08 02 A6 */ mflr r0 -/* 80077D24 00074C84 38 80 FF FF */ li r4, -1 -/* 80077D28 00074C88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077D2C 00074C8C 48 00 00 15 */ bl __dt__18CVertexMorphEffectFv -/* 80077D30 00074C90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80077D34 00074C94 7C 08 03 A6 */ mtlr r0 -/* 80077D38 00074C98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80077D3C 00074C9C 4E 80 00 20 */ blr - -.global __dt__18CVertexMorphEffectFv -__dt__18CVertexMorphEffectFv: -/* 80077D40 00074CA0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80077D44 00074CA4 7C 08 02 A6 */ mflr r0 -/* 80077D48 00074CA8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80077D4C 00074CAC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80077D50 00074CB0 7C 9F 23 78 */ mr r31, r4 -/* 80077D54 00074CB4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80077D58 00074CB8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80077D5C 00074CBC 41 82 00 A4 */ beq lbl_80077E00 -/* 80077D60 00074CC0 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 80077D64 00074CC4 41 82 00 44 */ beq lbl_80077DA8 -/* 80077D68 00074CC8 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80077D6C 00074CCC 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 80077D70 00074CD0 54 00 10 3A */ slwi r0, r0, 2 -/* 80077D74 00074CD4 7C 03 02 14 */ add r0, r3, r0 -/* 80077D78 00074CD8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80077D7C 00074CDC 7C 64 1B 78 */ mr r4, r3 -/* 80077D80 00074CE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80077D84 00074CE4 90 01 00 20 */ stw r0, 0x20(r1) -/* 80077D88 00074CE8 90 61 00 18 */ stw r3, 0x18(r1) -/* 80077D8C 00074CEC 48 00 00 08 */ b lbl_80077D94 -lbl_80077D90: -/* 80077D90 00074CF0 38 84 00 04 */ addi r4, r4, 4 -lbl_80077D94: -/* 80077D94 00074CF4 7C 04 00 40 */ cmplw r4, r0 -/* 80077D98 00074CF8 40 82 FF F8 */ bne lbl_80077D90 -/* 80077D9C 00074CFC 28 03 00 00 */ cmplwi r3, 0 -/* 80077DA0 00074D00 41 82 00 08 */ beq lbl_80077DA8 -/* 80077DA4 00074D04 48 29 DB 8D */ bl Free__7CMemoryFPCv -lbl_80077DA8: -/* 80077DA8 00074D08 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 80077DAC 00074D0C 41 82 00 44 */ beq lbl_80077DF0 -/* 80077DB0 00074D10 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 80077DB4 00074D14 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 80077DB8 00074D18 54 00 10 3A */ slwi r0, r0, 2 -/* 80077DBC 00074D1C 7C 03 02 14 */ add r0, r3, r0 -/* 80077DC0 00074D20 90 61 00 0C */ stw r3, 0xc(r1) -/* 80077DC4 00074D24 7C 64 1B 78 */ mr r4, r3 -/* 80077DC8 00074D28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077DCC 00074D2C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80077DD0 00074D30 90 61 00 08 */ stw r3, 8(r1) -/* 80077DD4 00074D34 48 00 00 08 */ b lbl_80077DDC -lbl_80077DD8: -/* 80077DD8 00074D38 38 84 00 04 */ addi r4, r4, 4 -lbl_80077DDC: -/* 80077DDC 00074D3C 7C 04 00 40 */ cmplw r4, r0 -/* 80077DE0 00074D40 40 82 FF F8 */ bne lbl_80077DD8 -/* 80077DE4 00074D44 28 03 00 00 */ cmplwi r3, 0 -/* 80077DE8 00074D48 41 82 00 08 */ beq lbl_80077DF0 -/* 80077DEC 00074D4C 48 29 DB 45 */ bl Free__7CMemoryFPCv -lbl_80077DF0: -/* 80077DF0 00074D50 7F E0 07 35 */ extsh. r0, r31 -/* 80077DF4 00074D54 40 81 00 0C */ ble lbl_80077E00 -/* 80077DF8 00074D58 7F C3 F3 78 */ mr r3, r30 -/* 80077DFC 00074D5C 48 29 DB 35 */ bl Free__7CMemoryFPCv -lbl_80077E00: -/* 80077E00 00074D60 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80077E04 00074D64 7F C3 F3 78 */ mr r3, r30 -/* 80077E08 00074D68 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80077E0C 00074D6C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80077E10 00074D70 7C 08 03 A6 */ mtlr r0 -/* 80077E14 00074D74 38 21 00 30 */ addi r1, r1, 0x30 -/* 80077E18 00074D78 4E 80 00 20 */ blr - -.global sub_80077e1c -sub_80077e1c: -/* 80077E1C 00074D7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80077E20 00074D80 7C 08 02 A6 */ mflr r0 -/* 80077E24 00074D84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077E28 00074D88 38 00 00 01 */ li r0, 1 -/* 80077E2C 00074D8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80077E30 00074D90 7C 7F 1B 78 */ mr r31, r3 -/* 80077E34 00074D94 98 03 00 48 */ stb r0, 0x48(r3) -/* 80077E38 00074D98 48 00 00 1D */ bl sub_80077e54 -/* 80077E3C 00074D9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80077E40 00074DA0 7F E3 FB 78 */ mr r3, r31 -/* 80077E44 00074DA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80077E48 00074DA8 7C 08 03 A6 */ mtlr r0 -/* 80077E4C 00074DAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80077E50 00074DB0 4E 80 00 20 */ blr - -.global sub_80077e54 -sub_80077e54: -/* 80077E54 00074DB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80077E58 00074DB8 7C 08 02 A6 */ mflr r0 -/* 80077E5C 00074DBC 28 03 00 00 */ cmplwi r3, 0 -/* 80077E60 00074DC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077E64 00074DC4 41 82 00 08 */ beq lbl_80077E6C -/* 80077E68 00074DC8 48 00 00 15 */ bl sub_80077e7c -lbl_80077E6C: -/* 80077E6C 00074DCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80077E70 00074DD0 7C 08 03 A6 */ mtlr r0 -/* 80077E74 00074DD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80077E78 00074DD8 4E 80 00 20 */ blr - -.global sub_80077e7c -sub_80077e7c: -/* 80077E7C 00074DDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80077E80 00074DE0 7C 08 02 A6 */ mflr r0 -/* 80077E84 00074DE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80077E88 00074DE8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80077E8C 00074DEC 7C 9F 23 78 */ mr r31, r4 -/* 80077E90 00074DF0 93 C1 00 08 */ stw r30, 8(r1) -/* 80077E94 00074DF4 7C 7E 1B 78 */ mr r30, r3 -/* 80077E98 00074DF8 C0 04 00 00 */ lfs f0, 0(r4) -/* 80077E9C 00074DFC D0 03 00 00 */ stfs f0, 0(r3) -/* 80077EA0 00074E00 C0 04 00 04 */ lfs f0, 4(r4) -/* 80077EA4 00074E04 D0 03 00 04 */ stfs f0, 4(r3) -/* 80077EA8 00074E08 C0 04 00 08 */ lfs f0, 8(r4) -/* 80077EAC 00074E0C D0 03 00 08 */ stfs f0, 8(r3) -/* 80077EB0 00074E10 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80077EB4 00074E14 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80077EB8 00074E18 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80077EBC 00074E1C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80077EC0 00074E20 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80077EC4 00074E24 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80077EC8 00074E28 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 80077ECC 00074E2C D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80077ED0 00074E30 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 80077ED4 00074E34 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80077ED8 00074E38 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 80077EDC 00074E3C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80077EE0 00074E40 80 04 00 24 */ lwz r0, 0x24(r4) -/* 80077EE4 00074E44 90 03 00 24 */ stw r0, 0x24(r3) -/* 80077EE8 00074E48 80 04 00 2C */ lwz r0, 0x2c(r4) -/* 80077EEC 00074E4C 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80077EF0 00074E50 80 04 00 30 */ lwz r0, 0x30(r4) -/* 80077EF4 00074E54 90 03 00 30 */ stw r0, 0x30(r3) -/* 80077EF8 00074E58 80 04 00 2C */ lwz r0, 0x2c(r4) -/* 80077EFC 00074E5C 2C 00 00 00 */ cmpwi r0, 0 -/* 80077F00 00074E60 40 82 00 1C */ bne lbl_80077F1C -/* 80077F04 00074E64 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 80077F08 00074E68 2C 00 00 00 */ cmpwi r0, 0 -/* 80077F0C 00074E6C 40 82 00 10 */ bne lbl_80077F1C -/* 80077F10 00074E70 38 00 00 00 */ li r0, 0 -/* 80077F14 00074E74 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80077F18 00074E78 48 00 00 64 */ b lbl_80077F7C -lbl_80077F1C: -/* 80077F1C 00074E7C 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 80077F20 00074E80 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 80077F24 00074E84 40 82 00 10 */ bne lbl_80077F34 -/* 80077F28 00074E88 38 00 00 00 */ li r0, 0 -/* 80077F2C 00074E8C 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80077F30 00074E90 48 00 00 18 */ b lbl_80077F48 -lbl_80077F34: -/* 80077F34 00074E94 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 80077F38 00074E98 38 A0 00 00 */ li r5, 0 -/* 80077F3C 00074E9C 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 80077F40 00074EA0 48 29 D8 D9 */ bl __nwa__FUlPCcPCc -/* 80077F44 00074EA4 90 7E 00 34 */ stw r3, 0x34(r30) -lbl_80077F48: -/* 80077F48 00074EA8 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 80077F4C 00074EAC 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 80077F50 00074EB0 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 80077F54 00074EB4 7C 09 03 A6 */ mtctr r0 -/* 80077F58 00074EB8 2C 00 00 00 */ cmpwi r0, 0 -/* 80077F5C 00074EBC 40 81 00 20 */ ble lbl_80077F7C -lbl_80077F60: -/* 80077F60 00074EC0 28 03 00 00 */ cmplwi r3, 0 -/* 80077F64 00074EC4 41 82 00 0C */ beq lbl_80077F70 -/* 80077F68 00074EC8 80 04 00 00 */ lwz r0, 0(r4) -/* 80077F6C 00074ECC 90 03 00 00 */ stw r0, 0(r3) -lbl_80077F70: -/* 80077F70 00074ED0 38 63 00 04 */ addi r3, r3, 4 -/* 80077F74 00074ED4 38 84 00 04 */ addi r4, r4, 4 -/* 80077F78 00074ED8 42 00 FF E8 */ bdnz lbl_80077F60 -lbl_80077F7C: -/* 80077F7C 00074EDC 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 80077F80 00074EE0 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 80077F84 00074EE4 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 80077F88 00074EE8 90 1E 00 40 */ stw r0, 0x40(r30) -/* 80077F8C 00074EEC 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 80077F90 00074EF0 2C 00 00 00 */ cmpwi r0, 0 -/* 80077F94 00074EF4 40 82 00 1C */ bne lbl_80077FB0 -/* 80077F98 00074EF8 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 80077F9C 00074EFC 2C 00 00 00 */ cmpwi r0, 0 -/* 80077FA0 00074F00 40 82 00 10 */ bne lbl_80077FB0 -/* 80077FA4 00074F04 38 00 00 00 */ li r0, 0 -/* 80077FA8 00074F08 90 1E 00 44 */ stw r0, 0x44(r30) -/* 80077FAC 00074F0C 48 00 00 64 */ b lbl_80078010 -lbl_80077FB0: -/* 80077FB0 00074F10 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 80077FB4 00074F14 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 80077FB8 00074F18 40 82 00 10 */ bne lbl_80077FC8 -/* 80077FBC 00074F1C 38 00 00 00 */ li r0, 0 -/* 80077FC0 00074F20 90 1E 00 44 */ stw r0, 0x44(r30) -/* 80077FC4 00074F24 48 00 00 18 */ b lbl_80077FDC -lbl_80077FC8: -/* 80077FC8 00074F28 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 80077FCC 00074F2C 38 A0 00 00 */ li r5, 0 -/* 80077FD0 00074F30 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 80077FD4 00074F34 48 29 D8 45 */ bl __nwa__FUlPCcPCc -/* 80077FD8 00074F38 90 7E 00 44 */ stw r3, 0x44(r30) -lbl_80077FDC: -/* 80077FDC 00074F3C 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80077FE0 00074F40 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80077FE4 00074F44 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 80077FE8 00074F48 7C 09 03 A6 */ mtctr r0 -/* 80077FEC 00074F4C 2C 00 00 00 */ cmpwi r0, 0 -/* 80077FF0 00074F50 40 81 00 20 */ ble lbl_80078010 -lbl_80077FF4: -/* 80077FF4 00074F54 28 03 00 00 */ cmplwi r3, 0 -/* 80077FF8 00074F58 41 82 00 0C */ beq lbl_80078004 -/* 80077FFC 00074F5C C0 04 00 00 */ lfs f0, 0(r4) -/* 80078000 00074F60 D0 03 00 00 */ stfs f0, 0(r3) -lbl_80078004: -/* 80078004 00074F64 38 63 00 04 */ addi r3, r3, 4 -/* 80078008 00074F68 38 84 00 04 */ addi r4, r4, 4 -/* 8007800C 00074F6C 42 00 FF E8 */ bdnz lbl_80077FF4 -lbl_80078010: -/* 80078010 00074F70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80078014 00074F74 7F C3 F3 78 */ mr r3, r30 -/* 80078018 00074F78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007801C 00074F7C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80078020 00074F80 7C 08 03 A6 */ mtlr r0 -/* 80078024 00074F84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80078028 00074F88 4E 80 00 20 */ blr - -.global Render__10CPatternedCFRC13CStateManager -Render__10CPatternedCFRC13CStateManager: -/* 8007802C 00074F8C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80078030 00074F90 7C 08 02 A6 */ mflr r0 -/* 80078034 00074F94 90 01 00 34 */ stw r0, 0x34(r1) -/* 80078038 00074F98 38 00 00 00 */ li r0, 0 -/* 8007803C 00074F9C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80078040 00074FA0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80078044 00074FA4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80078048 00074FA8 7C 9D 23 78 */ mr r29, r4 -/* 8007804C 00074FAC 93 81 00 20 */ stw r28, 0x20(r1) -/* 80078050 00074FB0 7C 7C 1B 78 */ mr r28, r3 -/* 80078054 00074FB4 88 A3 04 02 */ lbz r5, 0x402(r3) -/* 80078058 00074FB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007805C 00074FBC 54 A4 F7 FE */ rlwinm r4, r5, 0x1e, 0x1f, 0x1f -/* 80078060 00074FC0 7C 64 00 D0 */ neg r3, r4 -/* 80078064 00074FC4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80078068 00074FC8 7C 60 23 78 */ or r0, r3, r4 -/* 8007806C 00074FCC 54 1F 0F FF */ rlwinm. r31, r0, 1, 0x1f, 0x1f -/* 80078070 00074FD0 41 82 00 3C */ beq lbl_800780AC -/* 80078074 00074FD4 54 A4 07 FE */ clrlwi r4, r5, 0x1f -/* 80078078 00074FD8 7F A3 EB 78 */ mr r3, r29 -/* 8007807C 00074FDC 7C 04 00 D0 */ neg r0, r4 -/* 80078080 00074FE0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80078084 00074FE4 7C 00 23 78 */ or r0, r0, r4 -/* 80078088 00074FE8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8007808C 00074FEC 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80078090 00074FF0 4B FC C3 E1 */ bl GetCharacterRenderMaskAndTarget__13CStateManagerFbRiRi -/* 80078094 00074FF4 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 80078098 00074FF8 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8007809C 00074FFC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800780A0 00075000 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 800780A4 00075004 38 63 01 20 */ addi r3, r3, 0x120 -/* 800780A8 00075008 48 03 FE B5 */ bl RenderSystemsToBeDrawnFirstMasked__17CParticleDatabaseCFii -lbl_800780AC: -/* 800780AC 0007500C 80 7D 0F 34 */ lwz r3, 0xf34(r29) -/* 800780B0 00075010 2C 03 00 01 */ cmpwi r3, 1 -/* 800780B4 00075014 40 82 00 10 */ bne lbl_800780C4 -/* 800780B8 00075018 88 1C 04 02 */ lbz r0, 0x402(r28) -/* 800780BC 0007501C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800780C0 00075020 41 82 00 20 */ beq lbl_800780E0 -lbl_800780C4: -/* 800780C4 00075024 2C 03 00 00 */ cmpwi r3, 0 -/* 800780C8 00075028 40 82 00 10 */ bne lbl_800780D8 -/* 800780CC 0007502C 88 1C 04 02 */ lbz r0, 0x402(r28) -/* 800780D0 00075030 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800780D4 00075034 40 82 00 0C */ bne lbl_800780E0 -lbl_800780D8: -/* 800780D8 00075038 2C 03 00 02 */ cmpwi r3, 2 -/* 800780DC 0007503C 40 82 01 84 */ bne lbl_80078260 -lbl_800780E0: -/* 800780E0 00075040 88 1C 04 01 */ lbz r0, 0x401(r28) -/* 800780E4 00075044 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 800780E8 00075048 41 82 01 18 */ beq lbl_80078200 -/* 800780EC 0007504C 80 7D 08 84 */ lwz r3, 0x884(r29) -/* 800780F0 00075050 7F 84 E3 78 */ mr r4, r28 -/* 800780F4 00075054 48 16 B7 B1 */ bl GetAshyTexture__20CActorModelParticlesFR5CActor -/* 800780F8 00075058 7C 60 1B 78 */ mr r0, r3 -/* 800780FC 0007505C 7F 83 E3 78 */ mr r3, r28 -/* 80078100 00075060 81 9C 00 00 */ lwz r12, 0(r28) -/* 80078104 00075064 7C 1E 03 78 */ mr r30, r0 -/* 80078108 00075068 7F A4 EB 78 */ mr r4, r29 -/* 8007810C 0007506C 81 8C 02 B4 */ lwz r12, 0x2b4(r12) -/* 80078110 00075070 7D 89 03 A6 */ mtctr r12 -/* 80078114 00075074 4E 80 04 21 */ bctrl -/* 80078118 00075078 28 1E 00 00 */ cmplwi r30, 0 -/* 8007811C 0007507C 98 61 00 08 */ stb r3, 8(r1) -/* 80078120 00075080 41 82 00 D0 */ beq lbl_800781F0 -/* 80078124 00075084 88 1C 04 01 */ lbz r0, 0x401(r28) -/* 80078128 00075088 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8007812C 0007508C 40 82 00 10 */ bne lbl_8007813C -/* 80078130 00075090 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80078134 00075094 28 00 00 FF */ cmplwi r0, 0xff -/* 80078138 00075098 40 81 00 10 */ ble lbl_80078148 -lbl_8007813C: -/* 8007813C 0007509C 88 01 00 08 */ lbz r0, 8(r1) -/* 80078140 000750A0 28 00 00 7F */ cmplwi r0, 0x7f -/* 80078144 000750A4 41 81 00 AC */ bgt lbl_800781F0 -lbl_80078148: -/* 80078148 000750A8 88 1C 00 E5 */ lbz r0, 0xe5(r28) -/* 8007814C 000750AC 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80078150 000750B0 41 82 00 10 */ beq lbl_80078160 -/* 80078154 000750B4 7F A3 EB 78 */ mr r3, r29 -/* 80078158 000750B8 7F 84 E3 78 */ mr r4, r28 -/* 8007815C 000750BC 4B FC CF 2D */ bl SetupParticleHook__13CStateManagerCFRC6CActor -lbl_80078160: -/* 80078160 000750C0 88 1C 04 01 */ lbz r0, 0x401(r28) -/* 80078164 000750C4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80078168 000750C8 41 82 00 0C */ beq lbl_80078174 -/* 8007816C 000750CC 38 6D A2 58 */ addi r3, r13, lbl_805A8E18@sda21 -/* 80078170 000750D0 48 00 00 1C */ b lbl_8007818C -lbl_80078174: -/* 80078174 000750D4 80 1D 0F 34 */ lwz r0, 0xf34(r29) -/* 80078178 000750D8 2C 00 00 00 */ cmpwi r0, 0 -/* 8007817C 000750DC 40 82 00 0C */ bne lbl_80078188 -/* 80078180 000750E0 48 2D 1E 2D */ bl White__6CColorFv -/* 80078184 000750E4 48 00 00 08 */ b lbl_8007818C -lbl_80078188: -/* 80078188 000750E8 48 2D 1E 2D */ bl Black__6CColorFv -lbl_8007818C: -/* 8007818C 000750EC 88 1C 04 01 */ lbz r0, 0x401(r28) -/* 80078190 000750F0 80 63 00 00 */ lwz r3, 0(r3) -/* 80078194 000750F4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80078198 000750F8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007819C 000750FC 41 82 00 0C */ beq lbl_800781A8 -/* 800781A0 00075100 C0 02 88 FC */ lfs f0, lbl_805AA61C@sda21(r2) -/* 800781A4 00075104 48 00 00 08 */ b lbl_800781AC -lbl_800781A8: -/* 800781A8 00075108 C0 02 89 00 */ lfs f0, lbl_805AA620@sda21(r2) -lbl_800781AC: -/* 800781AC 0007510C E0 21 A0 08 */ psq_l f1, 8(r1), 1, qr2 -/* 800781B0 00075110 7F A4 EB 78 */ mr r4, r29 -/* 800781B4 00075114 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 800781B8 00075118 7F C6 F3 78 */ mr r6, r30 -/* 800781BC 0007511C EC 20 00 72 */ fmuls f1, f0, f1 -/* 800781C0 00075120 38 BC 00 34 */ addi r5, r28, 0x34 -/* 800781C4 00075124 38 E1 00 0C */ addi r7, r1, 0xc -/* 800781C8 00075128 48 09 DF 19 */ bl DisintegrateDraw__10CModelDataFRC13CStateManagerRC12CTransform4fRC8CTextureRC6CColor -/* 800781CC 0007512C 88 1C 00 E5 */ lbz r0, 0xe5(r28) -/* 800781D0 00075130 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800781D4 00075134 41 82 00 38 */ beq lbl_8007820C -/* 800781D8 00075138 48 2D A5 31 */ bl ClearPointGeneratorFunc__13CSkinnedModelFv -/* 800781DC 0007513C 80 7D 08 84 */ lwz r3, 0x884(r29) -/* 800781E0 00075140 7F A4 EB 78 */ mr r4, r29 -/* 800781E4 00075144 7F 85 E3 78 */ mr r5, r28 -/* 800781E8 00075148 48 16 BC 3D */ bl Render__20CActorModelParticlesCFRC6CActor -/* 800781EC 0007514C 48 00 00 20 */ b lbl_8007820C -lbl_800781F0: -/* 800781F0 00075150 7F 83 E3 78 */ mr r3, r28 -/* 800781F4 00075154 7F A4 EB 78 */ mr r4, r29 -/* 800781F8 00075158 48 0A 22 F1 */ bl Render__13CPhysicsActorCFRC13CStateManager -/* 800781FC 0007515C 48 00 00 10 */ b lbl_8007820C -lbl_80078200: -/* 80078200 00075160 7F 83 E3 78 */ mr r3, r28 -/* 80078204 00075164 7F A4 EB 78 */ mr r4, r29 -/* 80078208 00075168 48 0A 22 E1 */ bl Render__13CPhysicsActorCFRC13CStateManager -lbl_8007820C: -/* 8007820C 0007516C 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 80078210 00075170 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80078214 00075174 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80078218 00075178 41 82 00 48 */ beq lbl_80078260 -/* 8007821C 0007517C 88 1C 04 01 */ lbz r0, 0x401(r28) -/* 80078220 00075180 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80078224 00075184 40 82 00 3C */ bne lbl_80078260 -/* 80078228 00075188 C0 22 89 04 */ lfs f1, lbl_805AA624@sda21(r2) -/* 8007822C 0007518C 38 80 00 00 */ li r4, 0 -/* 80078230 00075190 38 00 00 03 */ li r0, 3 -/* 80078234 00075194 98 81 00 18 */ stb r4, 0x18(r1) -/* 80078238 00075198 FC 40 08 90 */ fmr f2, f1 -/* 8007823C 0007519C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80078240 000751A0 FC 60 08 90 */ fmr f3, f1 -/* 80078244 000751A4 98 81 00 19 */ stb r4, 0x19(r1) -/* 80078248 000751A8 FC 80 08 90 */ fmr f4, f1 -/* 8007824C 000751AC B0 01 00 1A */ sth r0, 0x1a(r1) -/* 80078250 000751B0 48 2E B1 9D */ bl __ct__6CColorFffff -/* 80078254 000751B4 7F 83 E3 78 */ mr r3, r28 -/* 80078258 000751B8 38 81 00 18 */ addi r4, r1, 0x18 -/* 8007825C 000751BC 4B FF F9 89 */ bl RenderIceModelWithFlags__10CPatternedCFRC11CModelFlags -lbl_80078260: -/* 80078260 000751C0 28 1F 00 00 */ cmplwi r31, 0 -/* 80078264 000751C4 41 82 00 1C */ beq lbl_80078280 -/* 80078268 000751C8 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 8007826C 000751CC 80 81 00 14 */ lwz r4, 0x14(r1) -/* 80078270 000751D0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80078274 000751D4 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80078278 000751D8 38 63 01 20 */ addi r3, r3, 0x120 -/* 8007827C 000751DC 48 03 FC 51 */ bl RenderSystemsToBeDrawnLastMasked__17CParticleDatabaseCFii -lbl_80078280: -/* 80078280 000751E0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80078284 000751E4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80078288 000751E8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8007828C 000751EC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80078290 000751F0 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80078294 000751F4 7C 08 03 A6 */ mtlr r0 -/* 80078298 000751F8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007829C 000751FC 4E 80 00 20 */ blr - -.global CanRenderUnsorted__10CPatternedCFRC13CStateManager -CanRenderUnsorted__10CPatternedCFRC13CStateManager: -/* 800782A0 00075200 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800782A4 00075204 7C 08 02 A6 */ mflr r0 -/* 800782A8 00075208 90 01 00 14 */ stw r0, 0x14(r1) -/* 800782AC 0007520C 80 A3 00 64 */ lwz r5, 0x64(r3) -/* 800782B0 00075210 80 A5 00 10 */ lwz r5, 0x10(r5) -/* 800782B4 00075214 88 05 01 D4 */ lbz r0, 0x1d4(r5) -/* 800782B8 00075218 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800782BC 0007521C 41 82 00 0C */ beq lbl_800782C8 -/* 800782C0 00075220 38 60 00 00 */ li r3, 0 -/* 800782C4 00075224 48 00 00 08 */ b lbl_800782CC -lbl_800782C8: -/* 800782C8 00075228 4B FD C6 6D */ bl CanRenderUnsorted__6CActorCFRC13CStateManager -lbl_800782CC: -/* 800782CC 0007522C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800782D0 00075230 7C 08 03 A6 */ mtlr r0 -/* 800782D4 00075234 38 21 00 10 */ addi r1, r1, 0x10 -/* 800782D8 00075238 4E 80 00 20 */ blr - -.global PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes -PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes: -/* 800782DC 0007523C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800782E0 00075240 7C 08 02 A6 */ mflr r0 -/* 800782E4 00075244 90 01 00 44 */ stw r0, 0x44(r1) -/* 800782E8 00075248 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800782EC 0007524C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800782F0 00075250 7C BE 2B 78 */ mr r30, r5 -/* 800782F4 00075254 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800782F8 00075258 7C 9D 23 78 */ mr r29, r4 -/* 800782FC 0007525C 93 81 00 30 */ stw r28, 0x30(r1) -/* 80078300 00075260 7C 7C 1B 78 */ mr r28, r3 -/* 80078304 00075264 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 80078308 00075268 80 63 00 00 */ lwz r3, 0(r3) -/* 8007830C 0007526C 48 01 92 4D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80078310 00075270 2C 03 00 03 */ cmpwi r3, 3 -/* 80078314 00075274 40 82 00 28 */ bne lbl_8007833C -/* 80078318 00075278 7F 83 E3 78 */ mr r3, r28 -/* 8007831C 0007527C 38 80 00 00 */ li r4, 0 -/* 80078320 00075280 4B FD B6 01 */ bl SetCalculateLighting__6CActorFb -/* 80078324 00075284 83 FC 00 90 */ lwz r31, 0x90(r28) -/* 80078328 00075288 48 2D 1C 85 */ bl White__6CColorFv -/* 8007832C 0007528C 7C 64 1B 78 */ mr r4, r3 -/* 80078330 00075290 7F E3 FB 78 */ mr r3, r31 -/* 80078334 00075294 48 08 AD 7D */ bl BuildConstantAmbientLighting__12CActorLightsFRC6CColor -/* 80078338 00075298 48 00 00 10 */ b lbl_80078348 -lbl_8007833C: -/* 8007833C 0007529C 7F 83 E3 78 */ mr r3, r28 -/* 80078340 000752A0 38 80 00 01 */ li r4, 1 -/* 80078344 000752A4 4B FD B5 DD */ bl SetCalculateLighting__6CActorFb -lbl_80078348: -/* 80078348 000752A8 7F 83 E3 78 */ mr r3, r28 -/* 8007834C 000752AC 80 1C 04 2C */ lwz r0, 0x42c(r28) -/* 80078350 000752B0 81 9C 00 00 */ lwz r12, 0(r28) -/* 80078354 000752B4 7F A4 EB 78 */ mr r4, r29 -/* 80078358 000752B8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8007835C 000752BC 81 8C 02 B4 */ lwz r12, 0x2b4(r12) -/* 80078360 000752C0 7D 89 03 A6 */ mtctr r12 -/* 80078364 000752C4 4E 80 04 21 */ bctrl -/* 80078368 000752C8 88 1C 04 02 */ lbz r0, 0x402(r28) -/* 8007836C 000752CC 7C 7F 1B 78 */ mr r31, r3 -/* 80078370 000752D0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80078374 000752D4 41 82 00 28 */ beq lbl_8007839C -/* 80078378 000752D8 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 8007837C 000752DC 7F A4 EB 78 */ mr r4, r29 -/* 80078380 000752E0 80 63 00 00 */ lwz r3, 0(r3) -/* 80078384 000752E4 48 01 91 D5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80078388 000752E8 20 03 00 01 */ subfic r0, r3, 1 -/* 8007838C 000752EC 7C 00 00 34 */ cntlzw r0, r0 -/* 80078390 000752F0 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 80078394 000752F4 41 82 00 08 */ beq lbl_8007839C -/* 80078398 000752F8 3B E0 00 4C */ li r31, 0x4c -lbl_8007839C: -/* 8007839C 000752FC 57 E0 06 3E */ clrlwi r0, r31, 0x18 -/* 800783A0 00075300 28 00 00 FF */ cmplwi r0, 0xff -/* 800783A4 00075304 40 80 01 24 */ bge lbl_800784C8 -/* 800783A8 00075308 88 01 00 18 */ lbz r0, 0x18(r1) -/* 800783AC 0007530C 28 00 00 00 */ cmplwi r0, 0 -/* 800783B0 00075310 40 82 00 28 */ bne lbl_800783D8 -/* 800783B4 00075314 88 01 00 19 */ lbz r0, 0x19(r1) -/* 800783B8 00075318 28 00 00 00 */ cmplwi r0, 0 -/* 800783BC 0007531C 40 82 00 1C */ bne lbl_800783D8 -/* 800783C0 00075320 88 01 00 1A */ lbz r0, 0x1a(r1) -/* 800783C4 00075324 28 00 00 00 */ cmplwi r0, 0 -/* 800783C8 00075328 40 82 00 10 */ bne lbl_800783D8 -/* 800783CC 0007532C 48 2D 1B E1 */ bl White__6CColorFv -/* 800783D0 00075330 80 03 00 00 */ lwz r0, 0(r3) -/* 800783D4 00075334 90 01 00 18 */ stw r0, 0x18(r1) -lbl_800783D8: -/* 800783D8 00075338 88 7C 04 01 */ lbz r3, 0x401(r28) -/* 800783DC 0007533C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 800783E0 00075340 41 82 00 68 */ beq lbl_80078448 -/* 800783E4 00075344 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 800783E8 00075348 38 00 00 FF */ li r0, 0xff -/* 800783EC 0007534C 28 03 00 7F */ cmplwi r3, 0x7f -/* 800783F0 00075350 40 81 00 0C */ ble lbl_800783FC -/* 800783F4 00075354 38 03 FF 80 */ addi r0, r3, -128 -/* 800783F8 00075358 54 00 08 3C */ slwi r0, r0, 1 -lbl_800783FC: -/* 800783FC 0007535C 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 80078400 00075360 38 AD A2 58 */ addi r5, r13, lbl_805A8E18@sda21 -/* 80078404 00075364 7C 80 01 D6 */ mullw r4, r0, r0 -/* 80078408 00075368 88 C5 00 01 */ lbz r6, 1(r5) -/* 8007840C 0007536C 88 ED A2 58 */ lbz r7, lbl_805A8E18@sda21(r13) -/* 80078410 00075370 38 60 00 03 */ li r3, 3 -/* 80078414 00075374 88 A5 00 02 */ lbz r5, 2(r5) -/* 80078418 00075378 38 00 00 00 */ li r0, 0 -/* 8007841C 0007537C 98 7C 00 B4 */ stb r3, 0xb4(r28) -/* 80078420 00075380 7C 84 46 70 */ srawi r4, r4, 8 -/* 80078424 00075384 98 1C 00 B5 */ stb r0, 0xb5(r28) -/* 80078428 00075388 98 E1 00 14 */ stb r7, 0x14(r1) -/* 8007842C 0007538C 98 C1 00 15 */ stb r6, 0x15(r1) -/* 80078430 00075390 98 A1 00 16 */ stb r5, 0x16(r1) -/* 80078434 00075394 98 81 00 17 */ stb r4, 0x17(r1) -/* 80078438 00075398 B0 7C 00 B6 */ sth r3, 0xb6(r28) -/* 8007843C 0007539C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80078440 000753A0 90 1C 00 B8 */ stw r0, 0xb8(r28) -/* 80078444 000753A4 48 00 01 38 */ b lbl_8007857C -lbl_80078448: -/* 80078448 000753A8 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 8007844C 000753AC 41 82 00 3C */ beq lbl_80078488 -/* 80078450 000753B0 38 00 00 05 */ li r0, 5 -/* 80078454 000753B4 38 80 00 00 */ li r4, 0 -/* 80078458 000753B8 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 8007845C 000753BC 38 60 00 FF */ li r3, 0xff -/* 80078460 000753C0 38 00 00 03 */ li r0, 3 -/* 80078464 000753C4 98 9C 00 B5 */ stb r4, 0xb5(r28) -/* 80078468 000753C8 98 81 00 10 */ stb r4, 0x10(r1) -/* 8007846C 000753CC 98 81 00 11 */ stb r4, 0x11(r1) -/* 80078470 000753D0 98 81 00 12 */ stb r4, 0x12(r1) -/* 80078474 000753D4 98 61 00 13 */ stb r3, 0x13(r1) -/* 80078478 000753D8 B0 1C 00 B6 */ sth r0, 0xb6(r28) -/* 8007847C 000753DC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80078480 000753E0 90 1C 00 B8 */ stw r0, 0xb8(r28) -/* 80078484 000753E4 48 00 00 F8 */ b lbl_8007857C -lbl_80078488: -/* 80078488 000753E8 38 00 00 05 */ li r0, 5 -/* 8007848C 000753EC 88 C1 00 18 */ lbz r6, 0x18(r1) -/* 80078490 000753F0 88 A1 00 19 */ lbz r5, 0x19(r1) -/* 80078494 000753F4 38 60 00 00 */ li r3, 0 -/* 80078498 000753F8 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 8007849C 000753FC 38 00 00 03 */ li r0, 3 -/* 800784A0 00075400 88 81 00 1A */ lbz r4, 0x1a(r1) -/* 800784A4 00075404 98 7C 00 B5 */ stb r3, 0xb5(r28) -/* 800784A8 00075408 98 C1 00 0C */ stb r6, 0xc(r1) -/* 800784AC 0007540C 98 A1 00 0D */ stb r5, 0xd(r1) -/* 800784B0 00075410 98 81 00 0E */ stb r4, 0xe(r1) -/* 800784B4 00075414 9B E1 00 0F */ stb r31, 0xf(r1) -/* 800784B8 00075418 B0 1C 00 B6 */ sth r0, 0xb6(r28) -/* 800784BC 0007541C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800784C0 00075420 90 1C 00 B8 */ stw r0, 0xb8(r28) -/* 800784C4 00075424 48 00 00 B8 */ b lbl_8007857C -lbl_800784C8: -/* 800784C8 00075428 88 01 00 18 */ lbz r0, 0x18(r1) -/* 800784CC 0007542C 28 00 00 00 */ cmplwi r0, 0 -/* 800784D0 00075430 40 82 00 1C */ bne lbl_800784EC -/* 800784D4 00075434 88 01 00 19 */ lbz r0, 0x19(r1) -/* 800784D8 00075438 28 00 00 00 */ cmplwi r0, 0 -/* 800784DC 0007543C 40 82 00 10 */ bne lbl_800784EC -/* 800784E0 00075440 88 01 00 1A */ lbz r0, 0x1a(r1) -/* 800784E4 00075444 28 00 00 00 */ cmplwi r0, 0 -/* 800784E8 00075448 41 82 00 48 */ beq lbl_80078530 -lbl_800784EC: -/* 800784EC 0007544C 38 00 00 02 */ li r0, 2 -/* 800784F0 00075450 88 E1 00 18 */ lbz r7, 0x18(r1) -/* 800784F4 00075454 88 C1 00 19 */ lbz r6, 0x19(r1) -/* 800784F8 00075458 38 80 00 FF */ li r4, 0xff -/* 800784FC 0007545C 88 A1 00 1A */ lbz r5, 0x1a(r1) -/* 80078500 00075460 38 60 00 00 */ li r3, 0 -/* 80078504 00075464 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 80078508 00075468 38 00 00 03 */ li r0, 3 -/* 8007850C 0007546C 98 7C 00 B5 */ stb r3, 0xb5(r28) -/* 80078510 00075470 98 E1 00 08 */ stb r7, 8(r1) -/* 80078514 00075474 98 C1 00 09 */ stb r6, 9(r1) -/* 80078518 00075478 98 A1 00 0A */ stb r5, 0xa(r1) -/* 8007851C 0007547C 98 81 00 0B */ stb r4, 0xb(r1) -/* 80078520 00075480 B0 1C 00 B6 */ sth r0, 0xb6(r28) -/* 80078524 00075484 80 01 00 08 */ lwz r0, 8(r1) -/* 80078528 00075488 90 1C 00 B8 */ stw r0, 0xb8(r28) -/* 8007852C 0007548C 48 00 00 50 */ b lbl_8007857C -lbl_80078530: -/* 80078530 00075490 C0 22 89 04 */ lfs f1, lbl_805AA624@sda21(r2) -/* 80078534 00075494 38 80 00 00 */ li r4, 0 -/* 80078538 00075498 38 00 00 03 */ li r0, 3 -/* 8007853C 0007549C 98 81 00 1C */ stb r4, 0x1c(r1) -/* 80078540 000754A0 FC 40 08 90 */ fmr f2, f1 -/* 80078544 000754A4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80078548 000754A8 FC 60 08 90 */ fmr f3, f1 -/* 8007854C 000754AC 98 81 00 1D */ stb r4, 0x1d(r1) -/* 80078550 000754B0 FC 80 08 90 */ fmr f4, f1 -/* 80078554 000754B4 B0 01 00 1E */ sth r0, 0x1e(r1) -/* 80078558 000754B8 48 2E AE 95 */ bl __ct__6CColorFffff -/* 8007855C 000754BC 88 01 00 1C */ lbz r0, 0x1c(r1) -/* 80078560 000754C0 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 80078564 000754C4 88 01 00 1D */ lbz r0, 0x1d(r1) -/* 80078568 000754C8 98 1C 00 B5 */ stb r0, 0xb5(r28) -/* 8007856C 000754CC A0 01 00 1E */ lhz r0, 0x1e(r1) -/* 80078570 000754D0 B0 1C 00 B6 */ sth r0, 0xb6(r28) -/* 80078574 000754D4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80078578 000754D8 90 1C 00 B8 */ stw r0, 0xb8(r28) -lbl_8007857C: -/* 8007857C 000754DC 7F 83 E3 78 */ mr r3, r28 -/* 80078580 000754E0 7F A4 EB 78 */ mr r4, r29 -/* 80078584 000754E4 7F C5 F3 78 */ mr r5, r30 -/* 80078588 000754E8 4B FD C7 59 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes -/* 8007858C 000754EC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80078590 000754F0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80078594 000754F4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80078598 000754F8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8007859C 000754FC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 800785A0 00075500 7C 08 03 A6 */ mtlr r0 -/* 800785A4 00075504 38 21 00 40 */ addi r1, r1, 0x40 -/* 800785A8 00075508 4E 80 00 20 */ blr - -.global GetOrbitPosition__10CPatternedCFRC13CStateManager -GetOrbitPosition__10CPatternedCFRC13CStateManager: -/* 800785AC 0007550C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800785B0 00075510 7C 08 02 A6 */ mflr r0 -/* 800785B4 00075514 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 800785B8 00075518 90 01 00 14 */ stw r0, 0x14(r1) -/* 800785BC 0007551C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800785C0 00075520 7C 7F 1B 78 */ mr r31, r3 -/* 800785C4 00075524 81 84 00 00 */ lwz r12, 0(r4) -/* 800785C8 00075528 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 800785CC 0007552C 7D 89 03 A6 */ mtctr r12 -/* 800785D0 00075530 4E 80 04 21 */ bctrl -/* 800785D4 00075534 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800785D8 00075538 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800785DC 0007553C 7C 08 03 A6 */ mtlr r0 -/* 800785E0 00075540 38 21 00 10 */ addi r1, r1, 0x10 -/* 800785E4 00075544 4E 80 00 20 */ blr - -.global GetAimPosition__10CPatternedCFRC13CStateManagerf -GetAimPosition__10CPatternedCFRC13CStateManagerf: -/* 800785E8 00075548 94 21 FE 20 */ stwu r1, -0x1e0(r1) -/* 800785EC 0007554C 7C 08 02 A6 */ mflr r0 -/* 800785F0 00075550 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 800785F4 00075554 DB E1 01 D0 */ stfd f31, 0x1d0(r1) -/* 800785F8 00075558 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 -/* 800785FC 0007555C DB C1 01 C0 */ stfd f30, 0x1c0(r1) -/* 80078600 00075560 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 -/* 80078604 00075564 DB A1 01 B0 */ stfd f29, 0x1b0(r1) -/* 80078608 00075568 F3 A1 01 B8 */ psq_st f29, 440(r1), 0, qr0 -/* 8007860C 0007556C 93 E1 01 AC */ stw r31, 0x1ac(r1) -/* 80078610 00075570 93 C1 01 A8 */ stw r30, 0x1a8(r1) -/* 80078614 00075574 93 A1 01 A4 */ stw r29, 0x1a4(r1) -/* 80078618 00075578 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007861C 0007557C 3C A0 80 5A */ lis r5, skZero3f@ha -/* 80078620 00075580 C7 E5 66 A0 */ lfsu f31, skZero3f@l(r5) -/* 80078624 00075584 7C 7D 1B 78 */ mr r29, r3 -/* 80078628 00075588 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007862C 0007558C 7C 9E 23 78 */ mr r30, r4 -/* 80078630 00075590 C3 C5 00 04 */ lfs f30, 4(r5) -/* 80078634 00075594 C3 A5 00 08 */ lfs f29, 8(r5) -/* 80078638 00075598 40 81 00 18 */ ble lbl_80078650 -/* 8007863C 0007559C 38 61 01 34 */ addi r3, r1, 0x134 -/* 80078640 000755A0 48 0A 36 71 */ bl PredictMotion__13CPhysicsActorCFf -/* 80078644 000755A4 C3 E1 01 34 */ lfs f31, 0x134(r1) -/* 80078648 000755A8 C3 C1 01 38 */ lfs f30, 0x138(r1) -/* 8007864C 000755AC C3 A1 01 3C */ lfs f29, 0x13c(r1) -lbl_80078650: -/* 80078650 000755B0 80 BE 00 64 */ lwz r5, 0x64(r30) -/* 80078654 000755B4 3C 60 80 3D */ lis r3, lbl_803CD600@ha -/* 80078658 000755B8 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l -/* 8007865C 000755BC 38 61 00 80 */ addi r3, r1, 0x80 -/* 80078660 000755C0 83 E5 00 10 */ lwz r31, 0x10(r5) -/* 80078664 000755C4 38 84 00 07 */ addi r4, r4, 7 -/* 80078668 000755C8 4B F8 C6 51 */ bl string_l__4rstlFPCc -/* 8007866C 000755CC 7F E4 FB 78 */ mr r4, r31 -/* 80078670 000755D0 38 61 00 0C */ addi r3, r1, 0xc -/* 80078674 000755D4 38 A1 00 80 */ addi r5, r1, 0x80 -/* 80078678 000755D8 4B FB 61 C1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8007867C 000755DC 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80078680 000755E0 38 61 00 80 */ addi r3, r1, 0x80 -/* 80078684 000755E4 98 01 00 10 */ stb r0, 0x10(r1) -/* 80078688 000755E8 48 2C 54 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8007868C 000755EC 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80078690 000755F0 28 00 00 FF */ cmplwi r0, 0xff -/* 80078694 000755F4 41 82 01 B4 */ beq lbl_80078848 -/* 80078698 000755F8 98 01 00 08 */ stb r0, 8(r1) -/* 8007869C 000755FC 7F E4 FB 78 */ mr r4, r31 -/* 800786A0 00075600 38 61 01 04 */ addi r3, r1, 0x104 -/* 800786A4 00075604 38 A1 00 08 */ addi r5, r1, 8 -/* 800786A8 00075608 38 C0 00 00 */ li r6, 0 -/* 800786AC 0007560C 4B FB 3B C9 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime -/* 800786B0 00075610 38 61 01 68 */ addi r3, r1, 0x168 -/* 800786B4 00075614 38 81 01 04 */ addi r4, r1, 0x104 -/* 800786B8 00075618 48 29 A4 BD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800786BC 0007561C 80 BE 00 64 */ lwz r5, 0x64(r30) -/* 800786C0 00075620 7F C4 F3 78 */ mr r4, r30 -/* 800786C4 00075624 C0 01 01 94 */ lfs f0, 0x194(r1) -/* 800786C8 00075628 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 800786CC 0007562C C0 25 00 08 */ lfs f1, 8(r5) -/* 800786D0 00075630 C0 65 00 04 */ lfs f3, 4(r5) -/* 800786D4 00075634 C0 41 01 84 */ lfs f2, 0x184(r1) -/* 800786D8 00075638 EC 81 00 32 */ fmuls f4, f1, f0 -/* 800786DC 0007563C C0 25 00 00 */ lfs f1, 0(r5) -/* 800786E0 00075640 C0 01 01 74 */ lfs f0, 0x174(r1) -/* 800786E4 00075644 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800786E8 00075648 D0 81 00 98 */ stfs f4, 0x98(r1) -/* 800786EC 0007564C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800786F0 00075650 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 800786F4 00075654 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 800786F8 00075658 81 9E 00 00 */ lwz r12, 0(r30) -/* 800786FC 0007565C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80078700 00075660 7D 89 03 A6 */ mtctr r12 -/* 80078704 00075664 4E 80 04 21 */ bctrl -/* 80078708 00075668 88 61 00 E8 */ lbz r3, 0xe8(r1) -/* 8007870C 0007566C 38 00 00 00 */ li r0, 0 -/* 80078710 00075670 28 03 00 00 */ cmplwi r3, 0 -/* 80078714 00075674 98 01 00 E8 */ stb r0, 0xe8(r1) -/* 80078718 00075678 41 82 00 60 */ beq lbl_80078778 -/* 8007871C 0007567C 7F C4 F3 78 */ mr r4, r30 -/* 80078720 00075680 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80078724 00075684 81 9E 00 00 */ lwz r12, 0(r30) -/* 80078728 00075688 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8007872C 0007568C 7D 89 03 A6 */ mtctr r12 -/* 80078730 00075690 4E 80 04 21 */ bctrl -/* 80078734 00075694 38 61 00 68 */ addi r3, r1, 0x68 -/* 80078738 00075698 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8007873C 0007569C 38 A1 00 90 */ addi r5, r1, 0x90 -/* 80078740 000756A0 48 29 A3 A9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80078744 000756A4 38 61 00 74 */ addi r3, r1, 0x74 -/* 80078748 000756A8 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 8007874C 000756AC 38 A1 00 68 */ addi r5, r1, 0x68 -/* 80078750 000756B0 48 2B F1 25 */ bl ClampToBox__6CAABoxCFRC9CVector3f -/* 80078754 000756B4 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 80078758 000756B8 38 00 00 00 */ li r0, 0 -/* 8007875C 000756BC C0 21 00 78 */ lfs f1, 0x78(r1) -/* 80078760 000756C0 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80078764 000756C4 EF FF 10 2A */ fadds f31, f31, f2 -/* 80078768 000756C8 EF DE 08 2A */ fadds f30, f30, f1 -/* 8007876C 000756CC 98 01 00 CC */ stb r0, 0xcc(r1) -/* 80078770 000756D0 EF BD 00 2A */ fadds f29, f29, f0 -/* 80078774 000756D4 48 00 01 04 */ b lbl_80078878 -lbl_80078778: -/* 80078778 000756D8 7F C3 F3 78 */ mr r3, r30 -/* 8007877C 000756DC 48 0A 22 45 */ bl GetBaseBoundingBox__13CPhysicsActorCFv -/* 80078780 000756E0 7C 7F 1B 78 */ mr r31, r3 -/* 80078784 000756E4 7F C4 F3 78 */ mr r4, r30 -/* 80078788 000756E8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8007878C 000756EC 48 0A 1E A1 */ bl GetPrimitiveOffset__13CPhysicsActorCFv -/* 80078790 000756F0 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 80078794 000756F4 7F C4 F3 78 */ mr r4, r30 -/* 80078798 000756F8 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8007879C 000756FC 38 61 00 50 */ addi r3, r1, 0x50 -/* 800787A0 00075700 C0 7F 00 14 */ lfs f3, 0x14(r31) -/* 800787A4 00075704 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 800787A8 00075708 EC 81 00 2A */ fadds f4, f1, f0 -/* 800787AC 0007570C C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 800787B0 00075710 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 800787B4 00075714 EC 43 10 2A */ fadds f2, f3, f2 -/* 800787B8 00075718 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 800787BC 0007571C EC 01 00 2A */ fadds f0, f1, f0 -/* 800787C0 00075720 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800787C4 00075724 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800787C8 00075728 48 0A 1E 65 */ bl GetPrimitiveOffset__13CPhysicsActorCFv -/* 800787CC 0007572C C0 3F 00 04 */ lfs f1, 4(r31) -/* 800787D0 00075730 38 61 00 EC */ addi r3, r1, 0xec -/* 800787D4 00075734 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800787D8 00075738 38 81 00 5C */ addi r4, r1, 0x5c -/* 800787DC 0007573C C0 7F 00 08 */ lfs f3, 8(r31) -/* 800787E0 00075740 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800787E4 00075744 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 800787E8 00075748 EC 81 00 2A */ fadds f4, f1, f0 -/* 800787EC 0007574C C0 3F 00 00 */ lfs f1, 0(r31) -/* 800787F0 00075750 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 800787F4 00075754 EC 43 10 2A */ fadds f2, f3, f2 -/* 800787F8 00075758 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 800787FC 0007575C EC 01 00 2A */ fadds f0, f1, f0 -/* 80078800 00075760 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80078804 00075764 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80078808 00075768 48 2B FD 01 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8007880C 0007576C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80078810 00075770 38 81 00 EC */ addi r4, r1, 0xec -/* 80078814 00075774 38 A1 00 90 */ addi r5, r1, 0x90 -/* 80078818 00075778 48 2B F0 5D */ bl ClampToBox__6CAABoxCFRC9CVector3f -/* 8007881C 0007577C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80078820 00075780 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80078824 00075784 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80078828 00075788 48 29 A2 C1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8007882C 0007578C C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 80078830 00075790 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80078834 00075794 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80078838 00075798 EF FF 10 2A */ fadds f31, f31, f2 -/* 8007883C 0007579C EF DE 08 2A */ fadds f30, f30, f1 -/* 80078840 000757A0 EF BD 00 2A */ fadds f29, f29, f0 -/* 80078844 000757A4 48 00 00 34 */ b lbl_80078878 -lbl_80078848: -/* 80078848 000757A8 7F C4 F3 78 */ mr r4, r30 -/* 8007884C 000757AC 38 61 00 9C */ addi r3, r1, 0x9c -/* 80078850 000757B0 48 0A 20 DD */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80078854 000757B4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80078858 000757B8 38 81 00 9C */ addi r4, r1, 0x9c -/* 8007885C 000757BC 48 2B ED B1 */ bl GetCenterPoint__6CAABoxCFv -/* 80078860 000757C0 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80078864 000757C4 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80078868 000757C8 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8007886C 000757CC EF FF 10 2A */ fadds f31, f31, f2 -/* 80078870 000757D0 EF DE 08 2A */ fadds f30, f30, f1 -/* 80078874 000757D4 EF BD 00 2A */ fadds f29, f29, f0 -lbl_80078878: -/* 80078878 000757D8 D3 FD 00 00 */ stfs f31, 0(r29) -/* 8007887C 000757DC D3 DD 00 04 */ stfs f30, 4(r29) -/* 80078880 000757E0 D3 BD 00 08 */ stfs f29, 8(r29) -/* 80078884 000757E4 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 -/* 80078888 000757E8 CB E1 01 D0 */ lfd f31, 0x1d0(r1) -/* 8007888C 000757EC E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 -/* 80078890 000757F0 CB C1 01 C0 */ lfd f30, 0x1c0(r1) -/* 80078894 000757F4 E3 A1 01 B8 */ psq_l f29, 440(r1), 0, qr0 -/* 80078898 000757F8 CB A1 01 B0 */ lfd f29, 0x1b0(r1) -/* 8007889C 000757FC 83 E1 01 AC */ lwz r31, 0x1ac(r1) -/* 800788A0 00075800 83 C1 01 A8 */ lwz r30, 0x1a8(r1) -/* 800788A4 00075804 80 01 01 E4 */ lwz r0, 0x1e4(r1) -/* 800788A8 00075808 83 A1 01 A4 */ lwz r29, 0x1a4(r1) -/* 800788AC 0007580C 7C 08 03 A6 */ mtlr r0 -/* 800788B0 00075810 38 21 01 E0 */ addi r1, r1, 0x1e0 -/* 800788B4 00075814 4E 80 00 20 */ blr - -.global GetLctrTransform__10CPatternedCFRC6CSegId -GetLctrTransform__10CPatternedCFRC6CSegId: -/* 800788B8 00075818 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 800788BC 0007581C 7C 08 02 A6 */ mflr r0 -/* 800788C0 00075820 38 C0 00 00 */ li r6, 0 -/* 800788C4 00075824 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800788C8 00075828 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 800788CC 0007582C 7C 9F 23 78 */ mr r31, r4 -/* 800788D0 00075830 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 800788D4 00075834 7C 7E 1B 78 */ mr r30, r3 -/* 800788D8 00075838 38 61 00 6C */ addi r3, r1, 0x6c -/* 800788DC 0007583C 80 84 00 64 */ lwz r4, 0x64(r4) -/* 800788E0 00075840 88 05 00 00 */ lbz r0, 0(r5) -/* 800788E4 00075844 38 A1 00 08 */ addi r5, r1, 8 -/* 800788E8 00075848 80 84 00 10 */ lwz r4, 0x10(r4) -/* 800788EC 0007584C 98 01 00 08 */ stb r0, 8(r1) -/* 800788F0 00075850 4B FB 39 85 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime -/* 800788F4 00075854 38 61 00 9C */ addi r3, r1, 0x9c -/* 800788F8 00075858 38 81 00 6C */ addi r4, r1, 0x6c -/* 800788FC 0007585C 48 29 A2 79 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80078900 00075860 80 BF 00 64 */ lwz r5, 0x64(r31) -/* 80078904 00075864 38 61 00 18 */ addi r3, r1, 0x18 -/* 80078908 00075868 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 8007890C 0007586C 38 81 00 9C */ addi r4, r1, 0x9c -/* 80078910 00075870 C0 25 00 08 */ lfs f1, 8(r5) -/* 80078914 00075874 C0 65 00 04 */ lfs f3, 4(r5) -/* 80078918 00075878 C0 41 00 B8 */ lfs f2, 0xb8(r1) -/* 8007891C 0007587C EC 81 00 32 */ fmuls f4, f1, f0 -/* 80078920 00075880 C0 25 00 00 */ lfs f1, 0(r5) -/* 80078924 00075884 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 80078928 00075888 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8007892C 0007588C D0 81 00 14 */ stfs f4, 0x14(r1) -/* 80078930 00075890 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80078934 00075894 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80078938 00075898 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8007893C 0007589C 48 29 A7 B9 */ bl BuildMatrix3f__12CTransform4fCFv -/* 80078940 000758A0 38 61 00 3C */ addi r3, r1, 0x3c -/* 80078944 000758A4 38 81 00 18 */ addi r4, r1, 0x18 -/* 80078948 000758A8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8007894C 000758AC 48 29 A9 2D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80078950 000758B0 7C 65 1B 78 */ mr r5, r3 -/* 80078954 000758B4 7F C3 F3 78 */ mr r3, r30 -/* 80078958 000758B8 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8007895C 000758BC 48 29 9F F5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80078960 000758C0 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80078964 000758C4 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 80078968 000758C8 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 8007896C 000758CC 7C 08 03 A6 */ mtlr r0 -/* 80078970 000758D0 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80078974 000758D4 4E 80 00 20 */ blr - -.global "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 80078978 000758D8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8007897C 000758DC 7C 08 02 A6 */ mflr r0 -/* 80078980 000758E0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80078984 000758E4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80078988 000758E8 7C 9F 23 78 */ mr r31, r4 -/* 8007898C 000758EC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80078990 000758F0 7C 7E 1B 78 */ mr r30, r3 -/* 80078994 000758F4 38 61 00 08 */ addi r3, r1, 8 -/* 80078998 000758F8 4B FD A5 39 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8007899C 000758FC 7F C3 F3 78 */ mr r3, r30 -/* 800789A0 00075900 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800789A4 00075904 38 A1 00 08 */ addi r5, r1, 8 -/* 800789A8 00075908 48 29 9F A9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800789AC 0007590C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800789B0 00075910 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800789B4 00075914 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800789B8 00075918 7C 08 03 A6 */ mtlr r0 -/* 800789BC 0007591C 38 21 00 40 */ addi r1, r1, 0x40 -/* 800789C0 00075920 4E 80 00 20 */ blr - -.global GetContactDamage__10CPatternedCFv -GetContactDamage__10CPatternedCFv: -/* 800789C4 00075924 80 04 04 04 */ lwz r0, 0x404(r4) -/* 800789C8 00075928 90 03 00 00 */ stw r0, 0(r3) -/* 800789CC 0007592C 88 04 04 08 */ lbz r0, 0x408(r4) -/* 800789D0 00075930 98 03 00 04 */ stb r0, 4(r3) -/* 800789D4 00075934 C0 04 04 0C */ lfs f0, 0x40c(r4) -/* 800789D8 00075938 D0 03 00 08 */ stfs f0, 8(r3) -/* 800789DC 0007593C C0 04 04 10 */ lfs f0, 0x410(r4) -/* 800789E0 00075940 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800789E4 00075944 C0 04 04 14 */ lfs f0, 0x414(r4) -/* 800789E8 00075948 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800789EC 0007594C C0 04 04 18 */ lfs f0, 0x418(r4) -/* 800789F0 00075950 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 800789F4 00075954 88 04 04 1C */ lbz r0, 0x41c(r4) -/* 800789F8 00075958 98 03 00 18 */ stb r0, 0x18(r3) -/* 800789FC 0007595C 4E 80 00 20 */ blr - -.global DeathDelete__10CPatternedFR13CStateManager -DeathDelete__10CPatternedFR13CStateManager: -/* 80078A00 00075960 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80078A04 00075964 7C 08 02 A6 */ mflr r0 -/* 80078A08 00075968 38 C0 FF FF */ li r6, -1 -/* 80078A0C 0007596C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80078A10 00075970 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80078A14 00075974 7C 9F 23 78 */ mr r31, r4 -/* 80078A18 00075978 7F E5 FB 78 */ mr r5, r31 -/* 80078A1C 0007597C 38 80 00 0E */ li r4, 0xe -/* 80078A20 00075980 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80078A24 00075984 7C 7E 1B 78 */ mr r30, r3 -/* 80078A28 00075988 4B FD 86 99 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80078A2C 0007598C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80078A30 00075990 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 80078A34 00075994 C0 23 03 24 */ lfs f1, 0x324(r3) -/* 80078A38 00075998 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80078A3C 0007599C 40 81 00 1C */ ble lbl_80078A58 -/* 80078A40 000759A0 D0 1E 03 F0 */ stfs f0, 0x3f0(r30) -/* 80078A44 000759A4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80078A48 000759A8 48 0C 14 C5 */ bl StopElectrocution__15CBodyControllerFv -/* 80078A4C 000759AC 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 80078A50 000759B0 7F C4 F3 78 */ mr r4, r30 -/* 80078A54 000759B4 48 16 C6 FD */ bl StopElectric__20CActorModelParticlesFR5CActor -lbl_80078A58: -/* 80078A58 000759B8 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80078A5C 000759BC 7F E3 FB 78 */ mr r3, r31 -/* 80078A60 000759C0 38 81 00 0C */ addi r4, r1, 0xc -/* 80078A64 000759C4 B0 01 00 08 */ sth r0, 8(r1) -/* 80078A68 000759C8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80078A6C 000759CC 4B FD 38 01 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80078A70 000759D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80078A74 000759D4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80078A78 000759D8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80078A7C 000759DC 7C 08 03 A6 */ mtlr r0 -/* 80078A80 000759E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80078A84 000759E4 4E 80 00 20 */ blr - -.global CalcDyingThinkRate__10CPatternedFv -CalcDyingThinkRate__10CPatternedFv: -/* 80078A88 000759E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80078A8C 000759EC 7C 08 02 A6 */ mflr r0 -/* 80078A90 000759F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80078A94 000759F4 88 03 04 01 */ lbz r0, 0x401(r3) -/* 80078A98 000759F8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80078A9C 000759FC 41 82 00 14 */ beq lbl_80078AB0 -/* 80078AA0 00075A00 C0 23 03 F4 */ lfs f1, 0x3f4(r3) -/* 80078AA4 00075A04 C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) -/* 80078AA8 00075A08 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80078AAC 00075A0C 48 00 00 08 */ b lbl_80078AB4 -lbl_80078AB0: -/* 80078AB0 00075A10 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -lbl_80078AB4: -/* 80078AB4 00075A14 D0 01 00 08 */ stfs f0, 8(r1) -/* 80078AB8 00075A18 38 81 00 08 */ addi r4, r1, 8 -/* 80078ABC 00075A1C 38 62 88 F8 */ addi r3, r2, lbl_805AA618@sda21 -/* 80078AC0 00075A20 4B FD 6C 71 */ bl "Max__5CMathFRCfRCf" -/* 80078AC4 00075A24 C0 23 00 00 */ lfs f1, 0(r3) -/* 80078AC8 00075A28 D0 21 00 08 */ stfs f1, 8(r1) -/* 80078ACC 00075A2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80078AD0 00075A30 7C 08 03 A6 */ mtlr r0 -/* 80078AD4 00075A34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80078AD8 00075A38 4E 80 00 20 */ blr - -.global PhazeOut__10CPatternedFR13CStateManager -PhazeOut__10CPatternedFR13CStateManager: -/* 80078ADC 00075A3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80078AE0 00075A40 7C 08 02 A6 */ mflr r0 -/* 80078AE4 00075A44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80078AE8 00075A48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80078AEC 00075A4C 7C 7F 1B 78 */ mr r31, r3 -/* 80078AF0 00075A50 88 C3 04 00 */ lbz r6, 0x400(r3) -/* 80078AF4 00075A54 54 C0 E7 FF */ rlwinm. r0, r6, 0x1c, 0x1f, 0x1f -/* 80078AF8 00075A58 40 82 00 20 */ bne lbl_80078B18 -/* 80078AFC 00075A5C 38 00 00 01 */ li r0, 1 -/* 80078B00 00075A60 7C 85 23 78 */ mr r5, r4 -/* 80078B04 00075A64 50 06 26 F6 */ rlwimi r6, r0, 4, 0x1b, 0x1b -/* 80078B08 00075A68 38 80 00 14 */ li r4, 0x14 -/* 80078B0C 00075A6C 98 DF 04 00 */ stb r6, 0x400(r31) -/* 80078B10 00075A70 38 C0 FF FF */ li r6, -1 -/* 80078B14 00075A74 4B FD 85 AD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_80078B18: -/* 80078B18 00075A78 88 1F 04 01 */ lbz r0, 0x401(r31) -/* 80078B1C 00075A7C 38 60 00 01 */ li r3, 1 -/* 80078B20 00075A80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80078B24 00075A84 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 80078B28 00075A88 98 1F 04 01 */ stb r0, 0x401(r31) -/* 80078B2C 00075A8C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80078B30 00075A90 48 0C 1D 5D */ bl SetPlaybackRate__15CBodyControllerFf -/* 80078B34 00075A94 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80078B38 00075A98 38 80 00 00 */ li r4, 0 -/* 80078B3C 00075A9C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80078B40 00075AA0 88 03 01 D4 */ lbz r0, 0x1d4(r3) -/* 80078B44 00075AA4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80078B48 00075AA8 98 03 01 D4 */ stb r0, 0x1d4(r3) -/* 80078B4C 00075AAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80078B50 00075AB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80078B54 00075AB4 7C 08 03 A6 */ mtlr r0 -/* 80078B58 00075AB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80078B5C 00075ABC 4E 80 00 20 */ blr - -.global Freeze__10CPatternedFRC9CVector3f13CUnitVector3ff -Freeze__10CPatternedFRC9CVector3f13CUnitVector3ff: -/* 80078B60 00075AC0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80078B64 00075AC4 7C 08 02 A6 */ mflr r0 -/* 80078B68 00075AC8 90 01 00 44 */ stw r0, 0x44(r1) -/* 80078B6C 00075ACC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80078B70 00075AD0 7C 9F 23 78 */ mr r31, r4 -/* 80078B74 00075AD4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80078B78 00075AD8 7C 7E 1B 78 */ mr r30, r3 -/* 80078B7C 00075ADC 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80078B80 00075AE0 7C BD 2B 78 */ mr r29, r5 -/* 80078B84 00075AE4 93 81 00 30 */ stw r28, 0x30(r1) -/* 80078B88 00075AE8 7C DC 33 78 */ mr r28, r6 -/* 80078B8C 00075AEC 88 63 04 02 */ lbz r3, 0x402(r3) -/* 80078B90 00075AF0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80078B94 00075AF4 41 82 00 10 */ beq lbl_80078BA4 -/* 80078B98 00075AF8 38 00 00 01 */ li r0, 1 -/* 80078B9C 00075AFC 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a -/* 80078BA0 00075B00 98 7E 04 02 */ stb r3, 0x402(r30) -lbl_80078BA4: -/* 80078BA4 00075B04 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80078BA8 00075B08 38 80 00 00 */ li r4, 0 -/* 80078BAC 00075B0C 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80078BB0 00075B10 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80078BB4 00075B14 41 82 00 28 */ beq lbl_80078BDC -/* 80078BB8 00075B18 FC 40 08 90 */ fmr f2, f1 -/* 80078BBC 00075B1C C0 3E 04 70 */ lfs f1, 0x470(r30) -/* 80078BC0 00075B20 C0 7E 04 F8 */ lfs f3, 0x4f8(r30) -/* 80078BC4 00075B24 48 0C 16 7D */ bl Freeze__15CBodyControllerFfff -/* 80078BC8 00075B28 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 80078BCC 00075B2C 7F C4 F3 78 */ mr r4, r30 -/* 80078BD0 00075B30 48 16 C6 C5 */ bl EnsureElectricLoaded__20CActorModelParticlesR5CActor -/* 80078BD4 00075B34 38 80 00 01 */ li r4, 1 -/* 80078BD8 00075B38 48 00 00 54 */ b lbl_80078C2C -lbl_80078BDC: -/* 80078BDC 00075B3C C0 03 03 24 */ lfs f0, 0x324(r3) -/* 80078BE0 00075B40 C0 42 89 08 */ lfs f2, lbl_805AA628@sda21(r2) -/* 80078BE4 00075B44 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80078BE8 00075B48 41 81 00 44 */ bgt lbl_80078C2C -/* 80078BEC 00075B4C C0 03 03 20 */ lfs f0, 0x320(r3) -/* 80078BF0 00075B50 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80078BF4 00075B54 41 81 00 38 */ bgt lbl_80078C2C -/* 80078BF8 00075B58 FC 40 08 90 */ fmr f2, f1 -/* 80078BFC 00075B5C C0 3E 04 F4 */ lfs f1, 0x4f4(r30) -/* 80078C00 00075B60 C0 7E 04 F8 */ lfs f3, 0x4f8(r30) -/* 80078C04 00075B64 48 0C 16 3D */ bl Freeze__15CBodyControllerFfff -/* 80078C08 00075B68 80 7E 05 10 */ lwz r3, 0x510(r30) -/* 80078C0C 00075B6C 80 63 00 00 */ lwz r3, 0(r3) -/* 80078C10 00075B70 28 03 00 00 */ cmplwi r3, 0 -/* 80078C14 00075B74 41 82 00 14 */ beq lbl_80078C28 -/* 80078C18 00075B78 C0 3E 04 F4 */ lfs f1, 0x4f4(r30) -/* 80078C1C 00075B7C 7F 84 E3 78 */ mr r4, r28 -/* 80078C20 00075B80 7F A5 EB 78 */ mr r5, r29 -/* 80078C24 00075B84 48 2D E8 BD */ bl Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff -lbl_80078C28: -/* 80078C28 00075B88 38 80 00 01 */ li r4, 1 -lbl_80078C2C: -/* 80078C2C 00075B8C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80078C30 00075B90 41 82 00 98 */ beq lbl_80078CC8 -/* 80078C34 00075B94 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80078C38 00075B98 3B A1 00 18 */ addi r29, r1, 0x18 -/* 80078C3C 00075B9C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80078C40 00075BA0 3B 80 00 00 */ li r28, 0 -/* 80078C44 00075BA4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80078C48 00075BA8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80078C4C 00075BAC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80078C50 00075BB0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80078C54 00075BB4 80 1E 04 60 */ lwz r0, 0x460(r30) -/* 80078C58 00075BB8 2C 00 00 00 */ cmpwi r0, 0 -/* 80078C5C 00075BBC 41 82 00 38 */ beq lbl_80078C94 -/* 80078C60 00075BC0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80078C64 00075BC4 7F E3 FB 78 */ mr r3, r31 -/* 80078C68 00075BC8 38 81 00 0C */ addi r4, r1, 0xc -/* 80078C6C 00075BCC B0 01 00 08 */ sth r0, 8(r1) -/* 80078C70 00075BD0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80078C74 00075BD4 4B FD 39 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80078C78 00075BD8 7C 64 1B 78 */ mr r4, r3 -/* 80078C7C 00075BDC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80078C80 00075BE0 48 02 C8 55 */ bl sub_800a54d4 -/* 80078C84 00075BE4 48 02 C8 25 */ bl "CastTo<8CMetroid>__10CPatternedFP7CEntity" -/* 80078C88 00075BE8 28 03 00 00 */ cmplwi r3, 0 -/* 80078C8C 00075BEC 41 82 00 08 */ beq lbl_80078C94 -/* 80078C90 00075BF0 3B 80 00 01 */ li r28, 1 -lbl_80078C94: -/* 80078C94 00075BF4 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80078C98 00075BF8 38 61 00 14 */ addi r3, r1, 0x14 -/* 80078C9C 00075BFC 38 80 07 08 */ li r4, 0x708 -/* 80078CA0 00075C00 41 82 00 08 */ beq lbl_80078CA8 -/* 80078CA4 00075C04 38 80 07 01 */ li r4, 0x701 -lbl_80078CA8: -/* 80078CA8 00075C08 3C A0 80 5A */ lis r5, skZero3f@ha -/* 80078CAC 00075C0C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 80078CB0 00075C10 38 C5 66 A0 */ addi r6, r5, skZero3f@l -/* 80078CB4 00075C14 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80078CB8 00075C18 7F A5 EB 78 */ mr r5, r29 -/* 80078CBC 00075C1C 38 E0 00 01 */ li r7, 1 -/* 80078CC0 00075C20 39 00 00 00 */ li r8, 0 -/* 80078CC4 00075C24 48 27 15 ED */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -lbl_80078CC8: -/* 80078CC8 00075C28 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80078CCC 00075C2C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80078CD0 00075C30 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80078CD4 00075C34 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80078CD8 00075C38 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80078CDC 00075C3C 7C 08 03 A6 */ mtlr r0 -/* 80078CE0 00075C40 38 21 00 40 */ addi r1, r1, 0x40 -/* 80078CE4 00075C44 4E 80 00 20 */ blr - -.global Shock__10CPatternedFff -Shock__10CPatternedFff: -/* 80078CE8 00075C48 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80078CEC 00075C4C 7C 08 02 A6 */ mflr r0 -/* 80078CF0 00075C50 90 01 00 44 */ stw r0, 0x44(r1) -/* 80078CF4 00075C54 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80078CF8 00075C58 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80078CFC 00075C5C DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80078D00 00075C60 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80078D04 00075C64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80078D08 00075C68 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80078D0C 00075C6C 38 80 00 00 */ li r4, 0 -/* 80078D10 00075C70 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80078D14 00075C74 38 A0 00 02 */ li r5, 2 -/* 80078D18 00075C78 98 01 00 0C */ stb r0, 0xc(r1) -/* 80078D1C 00075C7C 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 80078D20 00075C80 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80078D24 00075C84 FF C0 08 90 */ fmr f30, f1 -/* 80078D28 00075C88 98 01 00 0C */ stb r0, 0xc(r1) -/* 80078D2C 00075C8C 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 80078D30 00075C90 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80078D34 00075C94 FF E0 10 90 */ fmr f31, f2 -/* 80078D38 00075C98 90 A1 00 08 */ stw r5, 8(r1) -/* 80078D3C 00075C9C 7C 7F 1B 78 */ mr r31, r3 -/* 80078D40 00075CA0 98 01 00 0C */ stb r0, 0xc(r1) -/* 80078D44 00075CA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80078D48 00075CA8 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80078D4C 00075CAC 7D 89 03 A6 */ mtctr r12 -/* 80078D50 00075CB0 4E 80 04 21 */ bctrl -/* 80078D54 00075CB4 38 81 00 08 */ addi r4, r1, 8 -/* 80078D58 00075CB8 38 A0 00 00 */ li r5, 0 -/* 80078D5C 00075CBC 48 08 97 61 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode -/* 80078D60 00075CC0 2C 03 00 01 */ cmpwi r3, 1 -/* 80078D64 00075CC4 41 82 00 34 */ beq lbl_80078D98 -/* 80078D68 00075CC8 40 80 00 40 */ bge lbl_80078DA8 -/* 80078D6C 00075CCC 2C 03 00 00 */ cmpwi r3, 0 -/* 80078D70 00075CD0 40 80 00 08 */ bge lbl_80078D78 -/* 80078D74 00075CD4 48 00 00 34 */ b lbl_80078DA8 -lbl_80078D78: -/* 80078D78 00075CD8 C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) -/* 80078D7C 00075CDC 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80078D80 00075CE0 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80078D84 00075CE4 48 0C 11 E9 */ bl SetElectrocuting__15CBodyControllerFf -/* 80078D88 00075CE8 C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) -/* 80078D8C 00075CEC EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80078D90 00075CF0 D0 1F 03 F0 */ stfs f0, 0x3f0(r31) -/* 80078D94 00075CF4 48 00 00 14 */ b lbl_80078DA8 -lbl_80078D98: -/* 80078D98 00075CF8 FC 20 F0 90 */ fmr f1, f30 -/* 80078D9C 00075CFC 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80078DA0 00075D00 48 0C 11 CD */ bl SetElectrocuting__15CBodyControllerFf -/* 80078DA4 00075D04 D3 FF 03 F0 */ stfs f31, 0x3f0(r31) -lbl_80078DA8: -/* 80078DA8 00075D08 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80078DAC 00075D0C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80078DB0 00075D10 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80078DB4 00075D14 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80078DB8 00075D18 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80078DBC 00075D1C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80078DC0 00075D20 7C 08 03 A6 */ mtlr r0 -/* 80078DC4 00075D24 38 21 00 40 */ addi r1, r1, 0x40 -/* 80078DC8 00075D28 4E 80 00 20 */ blr - -.global Burn__10CPatternedFff -Burn__10CPatternedFff: -/* 80078DCC 00075D2C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80078DD0 00075D30 7C 08 02 A6 */ mflr r0 -/* 80078DD4 00075D34 90 01 00 44 */ stw r0, 0x44(r1) -/* 80078DD8 00075D38 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80078DDC 00075D3C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80078DE0 00075D40 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80078DE4 00075D44 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80078DE8 00075D48 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80078DEC 00075D4C 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80078DF0 00075D50 38 80 00 00 */ li r4, 0 -/* 80078DF4 00075D54 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80078DF8 00075D58 38 A0 00 03 */ li r5, 3 -/* 80078DFC 00075D5C 98 01 00 0C */ stb r0, 0xc(r1) -/* 80078E00 00075D60 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 80078E04 00075D64 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80078E08 00075D68 FF C0 08 90 */ fmr f30, f1 -/* 80078E0C 00075D6C 98 01 00 0C */ stb r0, 0xc(r1) -/* 80078E10 00075D70 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 80078E14 00075D74 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80078E18 00075D78 FF E0 10 90 */ fmr f31, f2 -/* 80078E1C 00075D7C 90 A1 00 08 */ stw r5, 8(r1) -/* 80078E20 00075D80 7C 7F 1B 78 */ mr r31, r3 -/* 80078E24 00075D84 98 01 00 0C */ stb r0, 0xc(r1) -/* 80078E28 00075D88 81 83 00 00 */ lwz r12, 0(r3) -/* 80078E2C 00075D8C 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80078E30 00075D90 7D 89 03 A6 */ mtctr r12 -/* 80078E34 00075D94 4E 80 04 21 */ bctrl -/* 80078E38 00075D98 38 81 00 08 */ addi r4, r1, 8 -/* 80078E3C 00075D9C 38 A0 00 00 */ li r5, 0 -/* 80078E40 00075DA0 48 08 96 7D */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode -/* 80078E44 00075DA4 2C 03 00 01 */ cmpwi r3, 1 -/* 80078E48 00075DA8 41 82 00 34 */ beq lbl_80078E7C -/* 80078E4C 00075DAC 40 80 00 40 */ bge lbl_80078E8C -/* 80078E50 00075DB0 2C 03 00 00 */ cmpwi r3, 0 -/* 80078E54 00075DB4 40 80 00 08 */ bge lbl_80078E5C -/* 80078E58 00075DB8 48 00 00 34 */ b lbl_80078E8C -lbl_80078E5C: -/* 80078E5C 00075DBC C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) -/* 80078E60 00075DC0 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80078E64 00075DC4 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80078E68 00075DC8 48 0C 12 2D */ bl SetOnFire__15CBodyControllerFf -/* 80078E6C 00075DCC C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) -/* 80078E70 00075DD0 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80078E74 00075DD4 D0 1F 03 EC */ stfs f0, 0x3ec(r31) -/* 80078E78 00075DD8 48 00 00 14 */ b lbl_80078E8C -lbl_80078E7C: -/* 80078E7C 00075DDC FC 20 F0 90 */ fmr f1, f30 -/* 80078E80 00075DE0 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80078E84 00075DE4 48 0C 12 11 */ bl SetOnFire__15CBodyControllerFf -/* 80078E88 00075DE8 D3 FF 03 EC */ stfs f31, 0x3ec(r31) -lbl_80078E8C: -/* 80078E8C 00075DEC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80078E90 00075DF0 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80078E94 00075DF4 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80078E98 00075DF8 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80078E9C 00075DFC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80078EA0 00075E00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80078EA4 00075E04 7C 08 03 A6 */ mtlr r0 -/* 80078EA8 00075E08 38 21 00 40 */ addi r1, r1, 0x40 -/* 80078EAC 00075E0C 4E 80 00 20 */ blr - -.global DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 80078EB0 00075E10 94 21 FD 80 */ stwu r1, -0x280(r1) -/* 80078EB4 00075E14 7C 08 02 A6 */ mflr r0 -/* 80078EB8 00075E18 90 01 02 84 */ stw r0, 0x284(r1) -/* 80078EBC 00075E1C DB E1 02 70 */ stfd f31, 0x270(r1) -/* 80078EC0 00075E20 F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 -/* 80078EC4 00075E24 DB C1 02 60 */ stfd f30, 0x260(r1) -/* 80078EC8 00075E28 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 -/* 80078ECC 00075E2C DB A1 02 50 */ stfd f29, 0x250(r1) -/* 80078ED0 00075E30 F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 -/* 80078ED4 00075E34 DB 81 02 40 */ stfd f28, 0x240(r1) -/* 80078ED8 00075E38 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 -/* 80078EDC 00075E3C 93 E1 02 3C */ stw r31, 0x23c(r1) -/* 80078EE0 00075E40 93 C1 02 38 */ stw r30, 0x238(r1) -/* 80078EE4 00075E44 93 A1 02 34 */ stw r29, 0x234(r1) -/* 80078EE8 00075E48 93 81 02 30 */ stw r28, 0x230(r1) -/* 80078EEC 00075E4C 7C DF 33 78 */ mr r31, r6 -/* 80078EF0 00075E50 FF E0 08 90 */ fmr f31, f1 -/* 80078EF4 00075E54 28 1F 00 18 */ cmplwi r31, 0x18 -/* 80078EF8 00075E58 7C 7C 1B 78 */ mr r28, r3 -/* 80078EFC 00075E5C 7C 9D 23 78 */ mr r29, r4 -/* 80078F00 00075E60 7C BE 2B 78 */ mr r30, r5 -/* 80078F04 00075E64 41 81 04 08 */ bgt lbl_8007930C -/* 80078F08 00075E68 3C A0 80 3E */ lis r5, lbl_803DA894@ha -/* 80078F0C 00075E6C 57 E0 10 3A */ slwi r0, r31, 2 -/* 80078F10 00075E70 38 A5 A8 94 */ addi r5, r5, lbl_803DA894@l -/* 80078F14 00075E74 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80078F18 00075E78 7C 09 03 A6 */ mtctr r0 -/* 80078F1C 00075E7C 4E 80 04 20 */ bctr -/* 80078F20 00075E80 7F 84 E3 78 */ mr r4, r28 -/* 80078F24 00075E84 38 61 01 94 */ addi r3, r1, 0x194 -/* 80078F28 00075E88 38 BE 00 3C */ addi r5, r30, 0x3c -/* 80078F2C 00075E8C 4B FF FA 4D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80078F30 00075E90 38 61 01 F4 */ addi r3, r1, 0x1f4 -/* 80078F34 00075E94 38 81 01 94 */ addi r4, r1, 0x194 -/* 80078F38 00075E98 48 29 9C 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80078F3C 00075E9C 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 80078F40 00075EA0 7F A5 EB 78 */ mr r5, r29 -/* 80078F44 00075EA4 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80078F48 00075EA8 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 80078F4C 00075EAC 81 84 00 00 */ lwz r12, 0(r4) -/* 80078F50 00075EB0 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80078F54 00075EB4 7D 89 03 A6 */ mtctr r12 -/* 80078F58 00075EB8 4E 80 04 21 */ bctrl -/* 80078F5C 00075EBC C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 80078F60 00075EC0 38 61 00 9C */ addi r3, r1, 0x9c -/* 80078F64 00075EC4 C0 41 00 AC */ lfs f2, 0xac(r1) -/* 80078F68 00075EC8 38 81 00 90 */ addi r4, r1, 0x90 -/* 80078F6C 00075ECC C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 80078F70 00075ED0 C0 61 02 20 */ lfs f3, 0x220(r1) -/* 80078F74 00075ED4 C0 81 02 10 */ lfs f4, 0x210(r1) -/* 80078F78 00075ED8 C0 A1 02 00 */ lfs f5, 0x200(r1) -/* 80078F7C 00075EDC EC 61 18 28 */ fsubs f3, f1, f3 -/* 80078F80 00075EE0 EC 82 20 28 */ fsubs f4, f2, f4 -/* 80078F84 00075EE4 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 80078F88 00075EE8 EC 00 28 28 */ fsubs f0, f0, f5 -/* 80078F8C 00075EEC C3 81 02 18 */ lfs f28, 0x218(r1) -/* 80078F90 00075EF0 D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 80078F94 00075EF4 C3 A1 02 08 */ lfs f29, 0x208(r1) -/* 80078F98 00075EF8 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 80078F9C 00075EFC C3 C1 01 F8 */ lfs f30, 0x1f8(r1) -/* 80078FA0 00075F00 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 80078FA4 00075F04 D0 81 00 94 */ stfs f4, 0x94(r1) -/* 80078FA8 00075F08 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 80078FAC 00075F0C 48 29 B8 A5 */ bl AsNormalized__9CVector3fCFv -/* 80078FB0 00075F10 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 80078FB4 00075F14 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 80078FB8 00075F18 EC 3D 00 32 */ fmuls f1, f29, f0 -/* 80078FBC 00075F1C C0 61 00 A4 */ lfs f3, 0xa4(r1) -/* 80078FC0 00075F20 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 80078FC4 00075F24 EC 3E 08 BA */ fmadds f1, f30, f2, f1 -/* 80078FC8 00075F28 EC 3C 08 FA */ fmadds f1, f28, f3, f1 -/* 80078FCC 00075F2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80078FD0 00075F30 40 81 00 B8 */ ble lbl_80079088 -/* 80078FD4 00075F34 C0 41 02 00 */ lfs f2, 0x200(r1) -/* 80078FD8 00075F38 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80078FDC 00075F3C C0 21 02 10 */ lfs f1, 0x210(r1) -/* 80078FE0 00075F40 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80078FE4 00075F44 C0 01 02 20 */ lfs f0, 0x220(r1) -/* 80078FE8 00075F48 38 61 01 64 */ addi r3, r1, 0x164 -/* 80078FEC 00075F4C D0 41 00 84 */ stfs f2, 0x84(r1) -/* 80078FF0 00075F50 38 81 00 84 */ addi r4, r1, 0x84 -/* 80078FF4 00075F54 38 A1 00 C0 */ addi r5, r1, 0xc0 -/* 80078FF8 00075F58 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 80078FFC 00075F5C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80079000 00075F60 48 29 AB 11 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80079004 00075F64 38 61 01 C4 */ addi r3, r1, 0x1c4 -/* 80079008 00075F68 38 81 01 64 */ addi r4, r1, 0x164 -/* 8007900C 00075F6C 48 29 9B 69 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80079010 00075F70 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 80079014 00075F74 39 60 00 00 */ li r11, 0 -/* 80079018 00075F78 99 61 00 80 */ stb r11, 0x80(r1) -/* 8007901C 00075F7C 38 01 00 68 */ addi r0, r1, 0x68 -/* 80079020 00075F80 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) -/* 80079024 00075F84 7F 83 E3 78 */ mr r3, r28 -/* 80079028 00075F88 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8007902C 00075F8C 7F A5 EB 78 */ mr r5, r29 -/* 80079030 00075F90 38 81 01 C4 */ addi r4, r1, 0x1c4 -/* 80079034 00075F94 39 21 00 74 */ addi r9, r1, 0x74 -/* 80079038 00075F98 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8007903C 00075F9C 38 C0 00 01 */ li r6, 1 -/* 80079040 00075FA0 38 E0 00 00 */ li r7, 0 -/* 80079044 00075FA4 39 00 00 00 */ li r8, 0 -/* 80079048 00075FA8 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8007904C 00075FAC 91 61 00 08 */ stw r11, 8(r1) -/* 80079050 00075FB0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80079054 00075FB4 4B FF E9 A5 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -/* 80079058 00075FB8 88 01 00 80 */ lbz r0, 0x80(r1) -/* 8007905C 00075FBC 28 00 00 00 */ cmplwi r0, 0 -/* 80079060 00075FC0 41 82 00 1C */ beq lbl_8007907C -/* 80079064 00075FC4 34 61 00 74 */ addic. r3, r1, 0x74 -/* 80079068 00075FC8 41 82 00 14 */ beq lbl_8007907C -/* 8007906C 00075FCC 28 03 00 00 */ cmplwi r3, 0 -/* 80079070 00075FD0 41 82 00 0C */ beq lbl_8007907C -/* 80079074 00075FD4 38 80 00 00 */ li r4, 0 -/* 80079078 00075FD8 48 2C 7D C9 */ bl __dt__6CTokenFv -lbl_8007907C: -/* 8007907C 00075FDC 38 00 00 00 */ li r0, 0 -/* 80079080 00075FE0 98 01 00 80 */ stb r0, 0x80(r1) -/* 80079084 00075FE4 48 00 02 88 */ b lbl_8007930C -lbl_80079088: -/* 80079088 00075FE8 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 8007908C 00075FEC 39 60 00 00 */ li r11, 0 -/* 80079090 00075FF0 99 61 00 64 */ stb r11, 0x64(r1) -/* 80079094 00075FF4 38 01 00 4C */ addi r0, r1, 0x4c -/* 80079098 00075FF8 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) -/* 8007909C 00075FFC 7F 83 E3 78 */ mr r3, r28 -/* 800790A0 00076000 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800790A4 00076004 7F A5 EB 78 */ mr r5, r29 -/* 800790A8 00076008 38 81 01 F4 */ addi r4, r1, 0x1f4 -/* 800790AC 0007600C 39 21 00 58 */ addi r9, r1, 0x58 -/* 800790B0 00076010 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800790B4 00076014 38 C0 00 01 */ li r6, 1 -/* 800790B8 00076018 38 E0 00 00 */ li r7, 0 -/* 800790BC 0007601C 39 00 00 00 */ li r8, 0 -/* 800790C0 00076020 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800790C4 00076024 91 61 00 08 */ stw r11, 8(r1) -/* 800790C8 00076028 90 01 00 0C */ stw r0, 0xc(r1) -/* 800790CC 0007602C 4B FF E9 2D */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -/* 800790D0 00076030 88 01 00 64 */ lbz r0, 0x64(r1) -/* 800790D4 00076034 28 00 00 00 */ cmplwi r0, 0 -/* 800790D8 00076038 41 82 00 1C */ beq lbl_800790F4 -/* 800790DC 0007603C 34 61 00 58 */ addic. r3, r1, 0x58 -/* 800790E0 00076040 41 82 00 14 */ beq lbl_800790F4 -/* 800790E4 00076044 28 03 00 00 */ cmplwi r3, 0 -/* 800790E8 00076048 41 82 00 0C */ beq lbl_800790F4 -/* 800790EC 0007604C 38 80 00 00 */ li r4, 0 -/* 800790F0 00076050 48 2C 7D 51 */ bl __dt__6CTokenFv -lbl_800790F4: -/* 800790F4 00076054 38 00 00 00 */ li r0, 0 -/* 800790F8 00076058 98 01 00 64 */ stb r0, 0x64(r1) -/* 800790FC 0007605C 48 00 02 10 */ b lbl_8007930C -/* 80079100 00076060 80 DC 00 64 */ lwz r6, 0x64(r28) -/* 80079104 00076064 7F 84 E3 78 */ mr r4, r28 -/* 80079108 00076068 38 61 01 34 */ addi r3, r1, 0x134 -/* 8007910C 0007606C 38 BE 00 3C */ addi r5, r30, 0x3c -/* 80079110 00076070 C3 86 00 00 */ lfs f28, 0(r6) -/* 80079114 00076074 C3 A6 00 04 */ lfs f29, 4(r6) -/* 80079118 00076078 C3 C6 00 08 */ lfs f30, 8(r6) -/* 8007911C 0007607C 4B FD 9D E5 */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80079120 00076080 C0 41 01 60 */ lfs f2, 0x160(r1) -/* 80079124 00076084 38 61 00 40 */ addi r3, r1, 0x40 -/* 80079128 00076088 C0 21 01 50 */ lfs f1, 0x150(r1) -/* 8007912C 0007608C 38 9C 00 34 */ addi r4, r28, 0x34 -/* 80079130 00076090 C0 01 01 40 */ lfs f0, 0x140(r1) -/* 80079134 00076094 EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 80079138 00076098 EC 3D 00 72 */ fmuls f1, f29, f1 -/* 8007913C 0007609C 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 80079140 000760A0 EC 1C 00 32 */ fmuls f0, f28, f0 -/* 80079144 000760A4 D0 41 00 BC */ stfs f2, 0xbc(r1) -/* 80079148 000760A8 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 8007914C 000760AC D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 80079150 000760B0 48 29 99 99 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80079154 000760B4 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 80079158 000760B8 38 61 01 1C */ addi r3, r1, 0x11c -/* 8007915C 000760BC C0 22 89 10 */ lfs f1, lbl_805AA630@sda21(r2) -/* 80079160 000760C0 38 81 00 34 */ addi r4, r1, 0x34 -/* 80079164 000760C4 ED 1D 00 32 */ fmuls f8, f29, f0 -/* 80079168 000760C8 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 8007916C 000760CC C0 41 00 40 */ lfs f2, 0x40(r1) -/* 80079170 000760D0 EC FC 00 32 */ fmuls f7, f28, f0 -/* 80079174 000760D4 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80079178 000760D8 ED 3E 00 72 */ fmuls f9, f30, f1 -/* 8007917C 000760DC EC C2 38 2A */ fadds f6, f2, f7 -/* 80079180 000760E0 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 80079184 000760E4 EC A3 40 2A */ fadds f5, f3, f8 -/* 80079188 000760E8 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8007918C 000760EC EC 80 48 2A */ fadds f4, f0, f9 -/* 80079190 000760F0 D0 61 00 B8 */ stfs f3, 0xb8(r1) -/* 80079194 000760F4 EC 42 38 28 */ fsubs f2, f2, f7 -/* 80079198 000760F8 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 8007919C 000760FC EC 23 40 28 */ fsubs f1, f3, f8 -/* 800791A0 00076100 EC 00 48 28 */ fsubs f0, f0, f9 -/* 800791A4 00076104 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 800791A8 00076108 D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 800791AC 0007610C D0 81 00 30 */ stfs f4, 0x30(r1) -/* 800791B0 00076110 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800791B4 00076114 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800791B8 00076118 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800791BC 0007611C 48 2B F3 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800791C0 00076120 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 800791C4 00076124 38 61 01 04 */ addi r3, r1, 0x104 -/* 800791C8 00076128 48 0A 17 65 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 800791CC 0007612C 38 61 01 1C */ addi r3, r1, 0x11c -/* 800791D0 00076130 38 81 01 04 */ addi r4, r1, 0x104 -/* 800791D4 00076134 48 2B E9 B1 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 800791D8 00076138 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800791DC 0007613C 41 82 01 30 */ beq lbl_8007930C -/* 800791E0 00076140 80 AD 83 E0 */ lwz r5, lbl_805A6FA0@sda21(r13) -/* 800791E4 00076144 38 60 00 00 */ li r3, 0 -/* 800791E8 00076148 38 80 00 01 */ li r4, 1 -/* 800791EC 0007614C 48 31 0D 09 */ bl __shl2i -/* 800791F0 00076150 38 A0 00 00 */ li r5, 0 -/* 800791F4 00076154 38 00 00 03 */ li r0, 3 -/* 800791F8 00076158 90 81 00 D4 */ stw r4, 0xd4(r1) -/* 800791FC 0007615C 7F 84 E3 78 */ mr r4, r28 -/* 80079200 00076160 90 61 00 D0 */ stw r3, 0xd0(r1) -/* 80079204 00076164 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80079208 00076168 90 A1 00 DC */ stw r5, 0xdc(r1) -/* 8007920C 0007616C 90 A1 00 D8 */ stw r5, 0xd8(r1) -/* 80079210 00076170 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 80079214 00076174 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80079218 00076178 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8007921C 0007617C 80 BD 08 4C */ lwz r5, 0x84c(r29) -/* 80079220 00076180 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80079224 00076184 A0 A5 00 08 */ lhz r5, 8(r5) -/* 80079228 00076188 B0 A1 00 1C */ sth r5, 0x1c(r1) -/* 8007922C 0007618C A0 1C 00 08 */ lhz r0, 8(r28) -/* 80079230 00076190 B0 A1 00 18 */ sth r5, 0x18(r1) -/* 80079234 00076194 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80079238 00076198 81 9C 00 00 */ lwz r12, 0(r28) -/* 8007923C 0007619C B0 01 00 20 */ sth r0, 0x20(r1) -/* 80079240 000761A0 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 80079244 000761A4 7D 89 03 A6 */ mtctr r12 -/* 80079248 000761A8 4E 80 04 21 */ bctrl -/* 8007924C 000761AC 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80079250 000761B0 7F A3 EB 78 */ mr r3, r29 -/* 80079254 000761B4 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80079258 000761B8 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8007925C 000761BC 38 81 00 24 */ addi r4, r1, 0x24 -/* 80079260 000761C0 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80079264 000761C4 38 E1 00 E8 */ addi r7, r1, 0xe8 -/* 80079268 000761C8 39 01 00 D0 */ addi r8, r1, 0xd0 -/* 8007926C 000761CC 4B FD 0E 35 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80079270 000761D0 48 00 00 9C */ b lbl_8007930C -/* 80079274 000761D4 88 BC 04 00 */ lbz r5, 0x400(r28) -/* 80079278 000761D8 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f -/* 8007927C 000761DC 40 82 00 54 */ bne lbl_800792D0 -/* 80079280 000761E0 54 A0 E7 FF */ rlwinm. r0, r5, 0x1c, 0x1f, 0x1f -/* 80079284 000761E4 40 82 00 1C */ bne lbl_800792A0 -/* 80079288 000761E8 C0 02 89 14 */ lfs f0, lbl_805AA634@sda21(r2) -/* 8007928C 000761EC 38 60 00 01 */ li r3, 1 -/* 80079290 000761F0 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) -/* 80079294 000761F4 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 80079298 000761F8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8007929C 000761FC 98 1C 04 00 */ stb r0, 0x400(r28) -lbl_800792A0: -/* 800792A0 00076200 7F 83 E3 78 */ mr r3, r28 -/* 800792A4 00076204 7F A8 EB 78 */ mr r8, r29 -/* 800792A8 00076208 38 80 00 21 */ li r4, 0x21 -/* 800792AC 0007620C 38 A0 00 13 */ li r5, 0x13 -/* 800792B0 00076210 38 C0 00 28 */ li r6, 0x28 -/* 800792B4 00076214 38 E0 00 29 */ li r7, 0x29 -/* 800792B8 00076218 4B FD AA 31 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -/* 800792BC 0007621C 7F 83 E3 78 */ mr r3, r28 -/* 800792C0 00076220 7F A5 EB 78 */ mr r5, r29 -/* 800792C4 00076224 38 80 00 12 */ li r4, 0x12 -/* 800792C8 00076228 4B FD B0 89 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 800792CC 0007622C 48 00 00 40 */ b lbl_8007930C -lbl_800792D0: -/* 800792D0 00076230 4B FF F7 31 */ bl DeathDelete__10CPatternedFR13CStateManager -/* 800792D4 00076234 48 00 00 38 */ b lbl_8007930C -/* 800792D8 00076238 7F A7 EB 78 */ mr r7, r29 -/* 800792DC 0007623C 38 80 00 21 */ li r4, 0x21 -/* 800792E0 00076240 38 A0 00 28 */ li r5, 0x28 -/* 800792E4 00076244 38 C0 00 29 */ li r6, 0x29 -/* 800792E8 00076248 4B FD AB 05 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -/* 800792EC 0007624C 48 00 00 20 */ b lbl_8007930C -/* 800792F0 00076250 7F A5 EB 78 */ mr r5, r29 -/* 800792F4 00076254 38 80 00 12 */ li r4, 0x12 -/* 800792F8 00076258 4B FD B0 59 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 800792FC 0007625C 48 00 00 10 */ b lbl_8007930C -/* 80079300 00076260 7F A5 EB 78 */ mr r5, r29 -/* 80079304 00076264 38 80 00 13 */ li r4, 0x13 -/* 80079308 00076268 4B FD AC 79 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8007930C: -/* 8007930C 0007626C FC 20 F8 90 */ fmr f1, f31 -/* 80079310 00076270 7F 83 E3 78 */ mr r3, r28 -/* 80079314 00076274 7F A4 EB 78 */ mr r4, r29 -/* 80079318 00076278 7F C5 F3 78 */ mr r5, r30 -/* 8007931C 0007627C 7F E6 FB 78 */ mr r6, r31 -/* 80079320 00076280 4B FD BE FD */ bl DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventType -/* 80079324 00076284 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 -/* 80079328 00076288 CB E1 02 70 */ lfd f31, 0x270(r1) -/* 8007932C 0007628C E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 -/* 80079330 00076290 CB C1 02 60 */ lfd f30, 0x260(r1) -/* 80079334 00076294 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 -/* 80079338 00076298 CB A1 02 50 */ lfd f29, 0x250(r1) -/* 8007933C 0007629C E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 -/* 80079340 000762A0 CB 81 02 40 */ lfd f28, 0x240(r1) -/* 80079344 000762A4 83 E1 02 3C */ lwz r31, 0x23c(r1) -/* 80079348 000762A8 83 C1 02 38 */ lwz r30, 0x238(r1) -/* 8007934C 000762AC 83 A1 02 34 */ lwz r29, 0x234(r1) -/* 80079350 000762B0 80 01 02 84 */ lwz r0, 0x284(r1) -/* 80079354 000762B4 83 81 02 30 */ lwz r28, 0x230(r1) -/* 80079358 000762B8 7C 08 03 A6 */ mtlr r0 -/* 8007935C 000762BC 38 21 02 80 */ addi r1, r1, 0x280 -/* 80079360 000762C0 4E 80 00 20 */ blr - -.global ThinkAboutMove__10CPatternedFf -ThinkAboutMove__10CPatternedFf: -/* 80079364 000762C4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80079368 000762C8 7C 08 02 A6 */ mflr r0 -/* 8007936C 000762CC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80079370 000762D0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80079374 000762D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80079378 000762D8 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8007937C 000762DC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80079380 000762E0 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80079384 000762E4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80079388 000762E8 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 8007938C 000762EC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 80079390 000762F0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80079394 000762F4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80079398 000762F8 7C 7E 1B 78 */ mr r30, r3 -/* 8007939C 000762FC 88 63 03 28 */ lbz r3, 0x328(r3) -/* 800793A0 00076300 FF E0 08 90 */ fmr f31, f1 -/* 800793A4 00076304 3B E0 00 01 */ li r31, 1 -/* 800793A8 00076308 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 800793AC 0007630C 40 82 00 2C */ bne lbl_800793D8 -/* 800793B0 00076310 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 800793B4 00076314 40 82 00 24 */ bne lbl_800793D8 -/* 800793B8 00076318 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800793BC 0007631C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 800793C0 00076320 3B E0 00 00 */ li r31, 0 -/* 800793C4 00076324 D0 1E 03 10 */ stfs f0, 0x310(r30) -/* 800793C8 00076328 C0 03 00 04 */ lfs f0, 4(r3) -/* 800793CC 0007632C D0 1E 03 14 */ stfs f0, 0x314(r30) -/* 800793D0 00076330 C0 03 00 08 */ lfs f0, 8(r3) -/* 800793D4 00076334 D0 1E 03 18 */ stfs f0, 0x318(r30) -lbl_800793D8: -/* 800793D8 00076338 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800793DC 0007633C 41 82 01 38 */ beq lbl_80079514 -/* 800793E0 00076340 80 7E 03 9C */ lwz r3, 0x39c(r30) -/* 800793E4 00076344 80 1E 03 90 */ lwz r0, 0x390(r30) -/* 800793E8 00076348 7C 03 00 00 */ cmpw r3, r0 -/* 800793EC 0007634C 40 80 01 28 */ bge lbl_80079514 -/* 800793F0 00076350 C0 3E 03 1C */ lfs f1, 0x31c(r30) -/* 800793F4 00076354 C3 9E 00 58 */ lfs f28, 0x58(r30) -/* 800793F8 00076358 C3 BE 00 48 */ lfs f29, 0x48(r30) -/* 800793FC 0007635C EC 41 00 72 */ fmuls f2, f1, f1 -/* 80079400 00076360 C3 DE 00 38 */ lfs f30, 0x38(r30) -/* 80079404 00076364 C0 02 89 18 */ lfs f0, lbl_805AA638@sda21(r2) -/* 80079408 00076368 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8007940C 0007636C C0 3E 03 20 */ lfs f1, 0x320(r30) -/* 80079410 00076370 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80079414 00076374 EC 21 00 72 */ fmuls f1, f1, f1 -/* 80079418 00076378 C0 7E 03 24 */ lfs f3, 0x324(r30) -/* 8007941C 0007637C EC 22 08 2A */ fadds f1, f2, f1 -/* 80079420 00076380 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 80079424 00076384 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80079428 00076388 EC 22 08 2A */ fadds f1, f2, f1 -/* 8007942C 0007638C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80079430 00076390 40 81 00 0C */ ble lbl_8007943C -/* 80079434 00076394 38 61 00 2C */ addi r3, r1, 0x2c -/* 80079438 00076398 48 29 B4 C1 */ bl Normalize__9CVector3fFv -lbl_8007943C: -/* 8007943C 0007639C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80079440 000763A0 80 1E 03 F8 */ lwz r0, 0x3f8(r30) -/* 80079444 000763A4 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 80079448 000763A8 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8007944C 000763AC C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80079450 000763B0 2C 00 00 02 */ cmpwi r0, 2 -/* 80079454 000763B4 EC 1E 00 7A */ fmadds f0, f30, f1, f0 -/* 80079458 000763B8 EC 3C 00 BA */ fmadds f1, f28, f2, f0 -/* 8007945C 000763BC 41 82 00 60 */ beq lbl_800794BC -/* 80079460 000763C0 40 80 00 14 */ bge lbl_80079474 -/* 80079464 000763C4 2C 00 00 00 */ cmpwi r0, 0 -/* 80079468 000763C8 41 82 00 1C */ beq lbl_80079484 -/* 8007946C 000763CC 40 80 00 24 */ bge lbl_80079490 -/* 80079470 000763D0 48 00 00 A4 */ b lbl_80079514 -lbl_80079474: -/* 80079474 000763D4 2C 00 00 04 */ cmpwi r0, 4 -/* 80079478 000763D8 41 82 00 80 */ beq lbl_800794F8 -/* 8007947C 000763DC 40 80 00 98 */ bge lbl_80079514 -/* 80079480 000763E0 48 00 00 44 */ b lbl_800794C4 -lbl_80079484: -/* 80079484 000763E4 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 80079488 000763E8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007948C 000763EC 41 82 00 88 */ beq lbl_80079514 -lbl_80079490: -/* 80079490 000763F0 C0 02 89 1C */ lfs f0, lbl_805AA63C@sda21(r2) -/* 80079494 000763F4 3B E0 00 00 */ li r31, 0 -/* 80079498 000763F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007949C 000763FC 40 81 00 14 */ ble lbl_800794B0 -/* 800794A0 00076400 38 00 00 02 */ li r0, 2 -/* 800794A4 00076404 3B E0 00 01 */ li r31, 1 -/* 800794A8 00076408 90 1E 03 F8 */ stw r0, 0x3f8(r30) -/* 800794AC 0007640C 48 00 00 68 */ b lbl_80079514 -lbl_800794B0: -/* 800794B0 00076410 38 00 00 01 */ li r0, 1 -/* 800794B4 00076414 90 1E 03 F8 */ stw r0, 0x3f8(r30) -/* 800794B8 00076418 48 00 00 5C */ b lbl_80079514 -lbl_800794BC: -/* 800794BC 0007641C 38 00 00 03 */ li r0, 3 -/* 800794C0 00076420 90 1E 03 F8 */ stw r0, 0x3f8(r30) -lbl_800794C4: -/* 800794C4 00076424 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 800794C8 00076428 3B E0 00 01 */ li r31, 1 -/* 800794CC 0007642C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800794D0 00076430 40 82 00 10 */ bne lbl_800794E0 -/* 800794D4 00076434 38 00 00 00 */ li r0, 0 -/* 800794D8 00076438 90 1E 03 F8 */ stw r0, 0x3f8(r30) -/* 800794DC 0007643C 48 00 00 38 */ b lbl_80079514 -lbl_800794E0: -/* 800794E0 00076440 C0 02 89 20 */ lfs f0, lbl_805AA640@sda21(r2) -/* 800794E4 00076444 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800794E8 00076448 40 81 00 2C */ ble lbl_80079514 -/* 800794EC 0007644C 38 00 00 04 */ li r0, 4 -/* 800794F0 00076450 90 1E 03 F8 */ stw r0, 0x3f8(r30) -/* 800794F4 00076454 48 00 00 20 */ b lbl_80079514 -lbl_800794F8: -/* 800794F8 00076458 88 7E 03 28 */ lbz r3, 0x328(r30) -/* 800794FC 0007645C 38 00 00 01 */ li r0, 1 -/* 80079500 00076460 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 80079504 00076464 38 00 00 00 */ li r0, 0 -/* 80079508 00076468 98 7E 03 28 */ stb r3, 0x328(r30) -/* 8007950C 0007646C 3B E0 00 00 */ li r31, 0 -/* 80079510 00076470 90 1E 03 F8 */ stw r0, 0x3f8(r30) -lbl_80079514: -/* 80079514 00076474 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 80079518 00076478 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007951C 0007647C 40 82 00 E4 */ bne lbl_80079600 -/* 80079520 00076480 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80079524 00076484 41 82 00 DC */ beq lbl_80079600 -/* 80079528 00076488 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007952C 0007648C 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 80079530 00076490 48 0B AB 49 */ bl GetCurrentState__14CBodyStateInfoCFv -/* 80079534 00076494 81 83 00 00 */ lwz r12, 0(r3) -/* 80079538 00076498 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8007953C 0007649C 7D 89 03 A6 */ mtctr r12 -/* 80079540 000764A0 4E 80 04 21 */ bctrl -/* 80079544 000764A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80079548 000764A8 41 82 00 B8 */ beq lbl_80079600 -/* 8007954C 000764AC C0 5E 02 E4 */ lfs f2, 0x2e4(r30) -/* 80079550 000764B0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80079554 000764B4 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80079558 000764B8 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8007955C 000764BC C0 7E 02 E8 */ lfs f3, 0x2e8(r30) -/* 80079560 000764C0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80079564 000764C4 EC 82 00 28 */ fsubs f4, f2, f0 -/* 80079568 000764C8 C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 8007956C 000764CC C0 5E 02 E0 */ lfs f2, 0x2e0(r30) -/* 80079570 000764D0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80079574 000764D4 EC 63 08 28 */ fsubs f3, f3, f1 -/* 80079578 000764D8 C0 22 89 24 */ lfs f1, lbl_805AA644@sda21(r2) -/* 8007957C 000764DC EC 02 00 28 */ fsubs f0, f2, f0 -/* 80079580 000764E0 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80079584 000764E4 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80079588 000764E8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8007958C 000764EC 48 29 69 D9 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80079590 000764F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80079594 000764F4 40 82 00 6C */ bne lbl_80079600 -/* 80079598 000764F8 80 BE 00 64 */ lwz r5, 0x64(r30) -/* 8007959C 000764FC FC 20 F8 90 */ fmr f1, f31 -/* 800795A0 00076500 C0 1E 04 3C */ lfs f0, 0x43c(r30) -/* 800795A4 00076504 7F C3 F3 78 */ mr r3, r30 -/* 800795A8 00076508 C0 E5 00 08 */ lfs f7, 8(r5) -/* 800795AC 0007650C 38 81 00 20 */ addi r4, r1, 0x20 -/* 800795B0 00076510 C1 25 00 00 */ lfs f9, 0(r5) -/* 800795B4 00076514 C1 05 00 04 */ lfs f8, 4(r5) -/* 800795B8 00076518 EC C7 00 32 */ fmuls f6, f7, f0 -/* 800795BC 0007651C C0 5E 04 38 */ lfs f2, 0x438(r30) -/* 800795C0 00076520 C0 1E 04 34 */ lfs f0, 0x434(r30) -/* 800795C4 00076524 C0 BE 05 64 */ lfs f5, 0x564(r30) -/* 800795C8 00076528 EC 88 00 B2 */ fmuls f4, f8, f2 -/* 800795CC 0007652C C0 7E 05 60 */ lfs f3, 0x560(r30) -/* 800795D0 00076530 EC 49 00 32 */ fmuls f2, f9, f0 -/* 800795D4 00076534 C0 1E 05 5C */ lfs f0, 0x55c(r30) -/* 800795D8 00076538 EC A6 01 72 */ fmuls f5, f6, f5 -/* 800795DC 0007653C EC 64 00 F2 */ fmuls f3, f4, f3 -/* 800795E0 00076540 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800795E4 00076544 D1 21 00 08 */ stfs f9, 8(r1) -/* 800795E8 00076548 D1 01 00 0C */ stfs f8, 0xc(r1) -/* 800795EC 0007654C D0 E1 00 10 */ stfs f7, 0x10(r1) -/* 800795F0 00076550 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800795F4 00076554 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 800795F8 00076558 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 800795FC 0007655C 48 0A 18 7D */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff -lbl_80079600: -/* 80079600 00076560 FC 20 F8 90 */ fmr f1, f31 -/* 80079604 00076564 7F C3 F3 78 */ mr r3, r30 -/* 80079608 00076568 38 9E 04 40 */ addi r4, r30, 0x440 -/* 8007960C 0007656C 48 0A 18 09 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf -/* 80079610 00076570 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80079614 00076574 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80079618 00076578 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8007961C 0007657C CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80079620 00076580 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80079624 00076584 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80079628 00076588 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 8007962C 0007658C CB 81 00 40 */ lfd f28, 0x40(r1) -/* 80079630 00076590 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80079634 00076594 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80079638 00076598 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8007963C 0007659C 7C 08 03 A6 */ mtlr r0 -/* 80079640 000765A0 38 21 00 80 */ addi r1, r1, 0x80 -/* 80079644 000765A4 4E 80 00 20 */ blr - -.global ApplyAnimationDeltas__10CBodyStateCFv -ApplyAnimationDeltas__10CBodyStateCFv: -/* 80079648 000765A8 38 60 00 01 */ li r3, 1 -/* 8007964C 000765AC 4E 80 00 20 */ blr - -.global CollidedWith__10CPatternedFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager -CollidedWith__10CPatternedFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: -/* 80079650 000765B0 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80079654 000765B4 7C 08 02 A6 */ mflr r0 -/* 80079658 000765B8 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007965C 000765BC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80079660 000765C0 BF 41 00 A8 */ stmw r26, 0xa8(r1) -/* 80079664 000765C4 7C 7A 1B 78 */ mr r26, r3 -/* 80079668 000765C8 7C 9B 23 78 */ mr r27, r4 -/* 8007966C 000765CC 7C BC 2B 78 */ mr r28, r5 -/* 80079670 000765D0 7C DD 33 78 */ mr r29, r6 -/* 80079674 000765D4 C0 23 04 20 */ lfs f1, 0x420(r3) -/* 80079678 000765D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007967C 000765DC 4C 40 13 82 */ cror 2, 0, 2 -/* 80079680 000765E0 40 82 02 14 */ bne lbl_80079894 -/* 80079684 000765E4 A0 1B 00 00 */ lhz r0, 0(r27) -/* 80079688 000765E8 7F A3 EB 78 */ mr r3, r29 -/* 8007968C 000765EC 38 81 00 38 */ addi r4, r1, 0x38 -/* 80079690 000765F0 B0 01 00 38 */ sth r0, 0x38(r1) -/* 80079694 000765F4 4B FD 2E E1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80079698 000765F8 7C 64 1B 78 */ mr r4, r3 -/* 8007969C 000765FC 38 61 00 3C */ addi r3, r1, 0x3c -/* 800796A0 00076600 48 03 2C F5 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -/* 800796A4 00076604 83 E3 00 04 */ lwz r31, 4(r3) -/* 800796A8 00076608 28 1F 00 00 */ cmplwi r31, 0 -/* 800796AC 0007660C 41 82 01 E8 */ beq lbl_80079894 -/* 800796B0 00076610 C0 3F 02 A8 */ lfs f1, 0x2a8(r31) -/* 800796B4 00076614 3B C0 00 00 */ li r30, 0 -/* 800796B8 00076618 C0 02 89 28 */ lfs f0, lbl_805AA648@sda21(r2) -/* 800796BC 0007661C 7F C3 F3 78 */ mr r3, r30 -/* 800796C0 00076620 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800796C4 00076624 40 80 00 14 */ bge lbl_800796D8 -/* 800796C8 00076628 80 1C 00 00 */ lwz r0, 0(r28) -/* 800796CC 0007662C 2C 00 00 00 */ cmpwi r0, 0 -/* 800796D0 00076630 41 82 00 08 */ beq lbl_800796D8 -/* 800796D4 00076634 38 60 00 01 */ li r3, 1 -lbl_800796D8: -/* 800796D8 00076638 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800796DC 0007663C 41 82 00 18 */ beq lbl_800796F4 -/* 800796E0 00076640 C0 3C 00 54 */ lfs f1, 0x54(r28) -/* 800796E4 00076644 C0 02 89 2C */ lfs f0, lbl_805AA64C@sda21(r2) -/* 800796E8 00076648 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800796EC 0007664C 40 81 00 08 */ ble lbl_800796F4 -/* 800796F0 00076650 3B C0 00 01 */ li r30, 1 -lbl_800796F4: -/* 800796F4 00076654 88 1A 04 00 */ lbz r0, 0x400(r26) -/* 800796F8 00076658 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800796FC 0007665C 40 82 00 0C */ bne lbl_80079708 -/* 80079700 00076660 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80079704 00076664 41 82 01 90 */ beq lbl_80079894 -lbl_80079708: -/* 80079708 00076668 7F 44 D3 78 */ mr r4, r26 -/* 8007970C 0007666C 38 61 00 68 */ addi r3, r1, 0x68 -/* 80079710 00076670 81 9A 00 00 */ lwz r12, 0(r26) -/* 80079714 00076674 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 80079718 00076678 7D 89 03 A6 */ mtctr r12 -/* 8007971C 0007667C 4E 80 04 21 */ bctrl -/* 80079720 00076680 80 81 00 68 */ lwz r4, 0x68(r1) -/* 80079724 00076684 88 61 00 6C */ lbz r3, 0x6c(r1) -/* 80079728 00076688 C0 61 00 70 */ lfs f3, 0x70(r1) -/* 8007972C 0007668C C0 41 00 74 */ lfs f2, 0x74(r1) -/* 80079730 00076690 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 80079734 00076694 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80079738 00076698 88 01 00 80 */ lbz r0, 0x80(r1) -/* 8007973C 0007669C 90 81 00 84 */ stw r4, 0x84(r1) -/* 80079740 000766A0 98 61 00 88 */ stb r3, 0x88(r1) -/* 80079744 000766A4 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 80079748 000766A8 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8007974C 000766AC D0 21 00 94 */ stfs f1, 0x94(r1) -/* 80079750 000766B0 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 80079754 000766B4 98 01 00 9C */ stb r0, 0x9c(r1) -/* 80079758 000766B8 88 1A 04 00 */ lbz r0, 0x400(r26) -/* 8007975C 000766BC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80079760 000766C0 41 82 00 14 */ beq lbl_80079774 -/* 80079764 000766C4 80 7A 04 50 */ lwz r3, 0x450(r26) -/* 80079768 000766C8 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8007976C 000766CC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80079770 000766D0 41 82 00 0C */ beq lbl_8007977C -lbl_80079774: -/* 80079774 000766D4 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 80079778 000766D8 D0 01 00 8C */ stfs f0, 0x8c(r1) -lbl_8007977C: -/* 8007977C 000766DC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80079780 000766E0 41 82 00 7C */ beq lbl_800797FC -/* 80079784 000766E4 C0 5F 01 40 */ lfs f2, 0x140(r31) -/* 80079788 000766E8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 8007978C 000766EC C0 3F 01 3C */ lfs f1, 0x13c(r31) -/* 80079790 000766F0 39 03 FD 18 */ addi r8, r3, lbl_8059FD18@l -/* 80079794 000766F4 C0 1F 01 38 */ lfs f0, 0x138(r31) -/* 80079798 000766F8 FC 40 10 50 */ fneg f2, f2 -/* 8007979C 000766FC FC 20 08 50 */ fneg f1, f1 -/* 800797A0 00076700 7F A3 EB 78 */ mr r3, r29 -/* 800797A4 00076704 FC 00 00 50 */ fneg f0, f0 -/* 800797A8 00076708 38 81 00 34 */ addi r4, r1, 0x34 -/* 800797AC 0007670C D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800797B0 00076710 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800797B4 00076714 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800797B8 00076718 38 C1 00 24 */ addi r6, r1, 0x24 -/* 800797BC 0007671C 38 E1 00 84 */ addi r7, r1, 0x84 -/* 800797C0 00076720 39 21 00 44 */ addi r9, r1, 0x44 -/* 800797C4 00076724 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800797C8 00076728 A0 1A 00 08 */ lhz r0, 8(r26) -/* 800797CC 0007672C B0 01 00 24 */ sth r0, 0x24(r1) -/* 800797D0 00076730 A1 5F 00 08 */ lhz r10, 8(r31) -/* 800797D4 00076734 B0 01 00 20 */ sth r0, 0x20(r1) -/* 800797D8 00076738 B1 41 00 2C */ sth r10, 0x2c(r1) -/* 800797DC 0007673C A0 1A 00 08 */ lhz r0, 8(r26) -/* 800797E0 00076740 B1 41 00 28 */ sth r10, 0x28(r1) -/* 800797E4 00076744 B0 01 00 30 */ sth r0, 0x30(r1) -/* 800797E8 00076748 B0 01 00 34 */ sth r0, 0x34(r1) -/* 800797EC 0007674C 4B FD 08 B5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 800797F0 00076750 C0 02 89 30 */ lfs f0, lbl_805AA650@sda21(r2) -/* 800797F4 00076754 D0 1F 02 A8 */ stfs f0, 0x2a8(r31) -/* 800797F8 00076758 48 00 00 94 */ b lbl_8007988C -lbl_800797FC: -/* 800797FC 0007675C 88 1A 04 00 */ lbz r0, 0x400(r26) -/* 80079800 00076760 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80079804 00076764 41 82 00 88 */ beq lbl_8007988C -/* 80079808 00076768 80 7A 04 50 */ lwz r3, 0x450(r26) -/* 8007980C 0007676C 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80079810 00076770 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80079814 00076774 40 82 00 78 */ bne lbl_8007988C -/* 80079818 00076778 80 AD 83 E0 */ lwz r5, lbl_805A6FA0@sda21(r13) -/* 8007981C 0007677C 38 60 00 00 */ li r3, 0 -/* 80079820 00076780 38 80 00 01 */ li r4, 1 -/* 80079824 00076784 48 31 06 D1 */ bl __shl2i -/* 80079828 00076788 39 40 00 00 */ li r10, 0 -/* 8007982C 0007678C 38 00 00 03 */ li r0, 3 -/* 80079830 00076790 90 81 00 54 */ stw r4, 0x54(r1) -/* 80079834 00076794 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80079838 00076798 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 8007983C 0007679C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80079840 000767A0 90 61 00 50 */ stw r3, 0x50(r1) -/* 80079844 000767A4 38 81 00 1C */ addi r4, r1, 0x1c -/* 80079848 000767A8 7F A3 EB 78 */ mr r3, r29 -/* 8007984C 000767AC 38 C1 00 0C */ addi r6, r1, 0xc -/* 80079850 000767B0 91 41 00 5C */ stw r10, 0x5c(r1) -/* 80079854 000767B4 38 E1 00 84 */ addi r7, r1, 0x84 -/* 80079858 000767B8 39 01 00 50 */ addi r8, r1, 0x50 -/* 8007985C 000767BC 91 41 00 58 */ stw r10, 0x58(r1) -/* 80079860 000767C0 90 01 00 60 */ stw r0, 0x60(r1) -/* 80079864 000767C4 A0 1A 00 08 */ lhz r0, 8(r26) -/* 80079868 000767C8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8007986C 000767CC A1 5F 00 08 */ lhz r10, 8(r31) -/* 80079870 000767D0 B0 01 00 08 */ sth r0, 8(r1) -/* 80079874 000767D4 B1 41 00 14 */ sth r10, 0x14(r1) -/* 80079878 000767D8 A0 1A 00 08 */ lhz r0, 8(r26) -/* 8007987C 000767DC B1 41 00 10 */ sth r10, 0x10(r1) -/* 80079880 000767E0 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80079884 000767E4 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80079888 000767E8 4B FD 08 19 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_8007988C: -/* 8007988C 000767EC C0 1A 04 24 */ lfs f0, 0x424(r26) -/* 80079890 000767F0 D0 1A 04 20 */ stfs f0, 0x420(r26) -lbl_80079894: -/* 80079894 000767F4 88 0D A2 70 */ lbz r0, lbl_805A8E30@sda21(r13) -/* 80079898 000767F8 7C 00 07 75 */ extsb. r0, r0 -/* 8007989C 000767FC 40 82 00 E0 */ bne lbl_8007997C -/* 800798A0 00076800 38 00 00 00 */ li r0, 0 -/* 800798A4 00076804 80 AD 84 1C */ lwz r5, lbl_805A6FDC@sda21(r13) -/* 800798A8 00076808 90 0D A2 7C */ stw r0, lbl_805A8E3C@sda21(r13) -/* 800798AC 0007680C 38 60 00 00 */ li r3, 0 -/* 800798B0 00076810 38 80 00 01 */ li r4, 1 -/* 800798B4 00076814 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) -/* 800798B8 00076818 48 31 06 3D */ bl __shl2i -/* 800798BC 0007681C 80 0D A2 78 */ lwz r0, lbl_805A8E38@sda21(r13) -/* 800798C0 00076820 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) -/* 800798C4 00076824 7C 00 1B 78 */ or r0, r0, r3 -/* 800798C8 00076828 80 AD 84 20 */ lwz r5, lbl_805A6FE0@sda21(r13) -/* 800798CC 0007682C 7C C4 23 78 */ or r4, r6, r4 -/* 800798D0 00076830 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) -/* 800798D4 00076834 38 60 00 00 */ li r3, 0 -/* 800798D8 00076838 90 8D A2 7C */ stw r4, lbl_805A8E3C@sda21(r13) -/* 800798DC 0007683C 38 80 00 01 */ li r4, 1 -/* 800798E0 00076840 48 31 06 15 */ bl __shl2i -/* 800798E4 00076844 80 0D A2 78 */ lwz r0, lbl_805A8E38@sda21(r13) -/* 800798E8 00076848 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) -/* 800798EC 0007684C 7C 00 1B 78 */ or r0, r0, r3 -/* 800798F0 00076850 80 AD 84 24 */ lwz r5, lbl_805A6FE4@sda21(r13) -/* 800798F4 00076854 7C C4 23 78 */ or r4, r6, r4 -/* 800798F8 00076858 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) -/* 800798FC 0007685C 38 60 00 00 */ li r3, 0 -/* 80079900 00076860 90 8D A2 7C */ stw r4, lbl_805A8E3C@sda21(r13) -/* 80079904 00076864 38 80 00 01 */ li r4, 1 -/* 80079908 00076868 48 31 05 ED */ bl __shl2i -/* 8007990C 0007686C 80 0D A2 78 */ lwz r0, lbl_805A8E38@sda21(r13) -/* 80079910 00076870 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) -/* 80079914 00076874 7C 00 1B 78 */ or r0, r0, r3 -/* 80079918 00076878 80 AD 84 28 */ lwz r5, lbl_805A6FE8@sda21(r13) -/* 8007991C 0007687C 7C C4 23 78 */ or r4, r6, r4 -/* 80079920 00076880 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) -/* 80079924 00076884 38 60 00 00 */ li r3, 0 -/* 80079928 00076888 90 8D A2 7C */ stw r4, lbl_805A8E3C@sda21(r13) -/* 8007992C 0007688C 38 80 00 01 */ li r4, 1 -/* 80079930 00076890 48 31 05 C5 */ bl __shl2i -/* 80079934 00076894 80 0D A2 78 */ lwz r0, lbl_805A8E38@sda21(r13) -/* 80079938 00076898 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) -/* 8007993C 0007689C 7C 00 1B 78 */ or r0, r0, r3 -/* 80079940 000768A0 80 AD 84 2C */ lwz r5, lbl_805A6FEC@sda21(r13) -/* 80079944 000768A4 7C C4 23 78 */ or r4, r6, r4 -/* 80079948 000768A8 90 0D A2 78 */ stw r0, lbl_805A8E38@sda21(r13) -/* 8007994C 000768AC 38 60 00 00 */ li r3, 0 -/* 80079950 000768B0 90 8D A2 7C */ stw r4, lbl_805A8E3C@sda21(r13) -/* 80079954 000768B4 38 80 00 01 */ li r4, 1 -/* 80079958 000768B8 48 31 05 9D */ bl __shl2i -/* 8007995C 000768BC 80 AD A2 78 */ lwz r5, lbl_805A8E38@sda21(r13) -/* 80079960 000768C0 38 00 00 01 */ li r0, 1 -/* 80079964 000768C4 80 CD A2 7C */ lwz r6, lbl_805A8E3C@sda21(r13) -/* 80079968 000768C8 7C A3 1B 78 */ or r3, r5, r3 -/* 8007996C 000768CC 98 0D A2 70 */ stb r0, lbl_805A8E30@sda21(r13) -/* 80079970 000768D0 7C C0 23 78 */ or r0, r6, r4 -/* 80079974 000768D4 90 0D A2 7C */ stw r0, lbl_805A8E3C@sda21(r13) -/* 80079978 000768D8 90 6D A2 78 */ stw r3, lbl_805A8E38@sda21(r13) -lbl_8007997C: -/* 8007997C 000768DC 80 1C 00 00 */ lwz r0, 0(r28) -/* 80079980 000768E0 38 BC 00 04 */ addi r5, r28, 4 -/* 80079984 000768E4 80 CD A2 78 */ lwz r6, lbl_805A8E38@sda21(r13) -/* 80079988 000768E8 80 ED A2 7C */ lwz r7, lbl_805A8E3C@sda21(r13) -/* 8007998C 000768EC 7C 09 03 A6 */ mtctr r0 -/* 80079990 000768F0 2C 00 00 00 */ cmpwi r0, 0 -/* 80079994 000768F4 40 81 00 E4 */ ble lbl_80079A78 -lbl_80079998: -/* 80079998 000768F8 81 05 00 38 */ lwz r8, 0x38(r5) -/* 8007999C 000768FC 38 80 00 00 */ li r4, 0 -/* 800799A0 00076900 81 25 00 3C */ lwz r9, 0x3c(r5) -/* 800799A4 00076904 7C C0 40 38 */ and r0, r6, r8 -/* 800799A8 00076908 7C E3 48 38 */ and r3, r7, r9 -/* 800799AC 0007690C 7C 63 22 78 */ xor r3, r3, r4 -/* 800799B0 00076910 7C 00 22 78 */ xor r0, r0, r4 -/* 800799B4 00076914 7C 60 03 79 */ or. r0, r3, r0 -/* 800799B8 00076918 41 82 00 08 */ beq lbl_800799C0 -/* 800799BC 0007691C 38 80 00 01 */ li r4, 1 -lbl_800799C0: -/* 800799C0 00076920 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800799C4 00076924 41 82 00 AC */ beq lbl_80079A70 -/* 800799C8 00076928 3C 00 80 00 */ lis r0, 0x8000 -/* 800799CC 0007692C 38 80 00 00 */ li r4, 0 -/* 800799D0 00076930 7D 23 00 38 */ and r3, r9, r0 -/* 800799D4 00076934 7D 00 20 38 */ and r0, r8, r4 -/* 800799D8 00076938 7C 63 22 78 */ xor r3, r3, r4 -/* 800799DC 0007693C 7C 00 22 78 */ xor r0, r0, r4 -/* 800799E0 00076940 7C 60 03 79 */ or. r0, r3, r0 -/* 800799E4 00076944 41 82 00 14 */ beq lbl_800799F8 -/* 800799E8 00076948 88 1A 04 00 */ lbz r0, 0x400(r26) -/* 800799EC 0007694C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800799F0 00076950 41 82 00 80 */ beq lbl_80079A70 -/* 800799F4 00076954 48 00 00 68 */ b lbl_80079A5C -lbl_800799F8: -/* 800799F8 00076958 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 800799FC 0007695C C0 BA 03 10 */ lfs f5, 0x310(r26) -/* 80079A00 00076960 FC 01 28 00 */ fcmpu cr0, f1, f5 -/* 80079A04 00076964 40 82 00 1C */ bne lbl_80079A20 -/* 80079A08 00076968 C0 1A 03 14 */ lfs f0, 0x314(r26) -/* 80079A0C 0007696C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80079A10 00076970 40 82 00 10 */ bne lbl_80079A20 -/* 80079A14 00076974 C0 1A 03 18 */ lfs f0, 0x318(r26) -/* 80079A18 00076978 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80079A1C 0007697C 41 82 00 08 */ beq lbl_80079A24 -lbl_80079A20: -/* 80079A20 00076980 38 80 00 01 */ li r4, 1 -lbl_80079A24: -/* 80079A24 00076984 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80079A28 00076988 41 82 00 34 */ beq lbl_80079A5C -/* 80079A2C 0007698C C0 25 00 4C */ lfs f1, 0x4c(r5) -/* 80079A30 00076990 C0 1A 03 14 */ lfs f0, 0x314(r26) -/* 80079A34 00076994 C0 45 00 48 */ lfs f2, 0x48(r5) -/* 80079A38 00076998 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80079A3C 0007699C C0 85 00 50 */ lfs f4, 0x50(r5) -/* 80079A40 000769A0 C0 7A 03 18 */ lfs f3, 0x318(r26) -/* 80079A44 000769A4 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 80079A48 000769A8 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 80079A4C 000769AC EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80079A50 000769B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80079A54 000769B4 4C 41 13 82 */ cror 2, 1, 2 -/* 80079A58 000769B8 41 82 00 18 */ beq lbl_80079A70 -lbl_80079A5C: -/* 80079A5C 000769BC 88 1A 03 28 */ lbz r0, 0x328(r26) -/* 80079A60 000769C0 38 60 00 01 */ li r3, 1 -/* 80079A64 000769C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80079A68 000769C8 98 1A 03 28 */ stb r0, 0x328(r26) -/* 80079A6C 000769CC 48 00 00 20 */ b lbl_80079A8C -lbl_80079A70: -/* 80079A70 000769D0 38 A5 00 60 */ addi r5, r5, 0x60 -/* 80079A74 000769D4 42 00 FF 24 */ bdnz lbl_80079998 -lbl_80079A78: -/* 80079A78 000769D8 7F 43 D3 78 */ mr r3, r26 -/* 80079A7C 000769DC 7F 64 DB 78 */ mr r4, r27 -/* 80079A80 000769E0 7F 85 E3 78 */ mr r5, r28 -/* 80079A84 000769E4 7F A6 EB 78 */ mr r6, r29 -/* 80079A88 000769E8 48 0A 0F 41 */ bl CollidedWith__13CPhysicsActorFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager -lbl_80079A8C: -/* 80079A8C 000769EC BB 41 00 A8 */ lmw r26, 0xa8(r1) -/* 80079A90 000769F0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80079A94 000769F4 7C 08 03 A6 */ mtlr r0 -/* 80079A98 000769F8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80079A9C 000769FC 4E 80 00 20 */ blr - -.global Touch__10CPatternedFR6CActorR13CStateManager -Touch__10CPatternedFR6CActorR13CStateManager: -/* 80079AA0 00076A00 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80079AA4 00076A04 7C 08 02 A6 */ mflr r0 -/* 80079AA8 00076A08 90 01 00 24 */ stw r0, 0x24(r1) -/* 80079AAC 00076A0C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80079AB0 00076A10 7C BF 2B 78 */ mr r31, r5 -/* 80079AB4 00076A14 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80079AB8 00076A18 7C 7E 1B 78 */ mr r30, r3 -/* 80079ABC 00076A1C 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80079AC0 00076A20 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80079AC4 00076A24 41 82 00 3C */ beq lbl_80079B00 -/* 80079AC8 00076A28 38 61 00 08 */ addi r3, r1, 8 -/* 80079ACC 00076A2C 48 03 3C AD */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" -/* 80079AD0 00076A30 80 83 00 04 */ lwz r4, 4(r3) -/* 80079AD4 00076A34 28 04 00 00 */ cmplwi r4, 0 -/* 80079AD8 00076A38 41 82 00 28 */ beq lbl_80079B00 -/* 80079ADC 00076A3C 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80079AE0 00076A40 A0 84 00 EC */ lhz r4, 0xec(r4) -/* 80079AE4 00076A44 A0 03 00 08 */ lhz r0, 8(r3) -/* 80079AE8 00076A48 7C 04 00 40 */ cmplw r4, r0 -/* 80079AEC 00076A4C 40 82 00 14 */ bne lbl_80079B00 -/* 80079AF0 00076A50 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80079AF4 00076A54 38 60 00 01 */ li r3, 1 -/* 80079AF8 00076A58 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80079AFC 00076A5C 98 1E 04 00 */ stb r0, 0x400(r30) -lbl_80079B00: -/* 80079B00 00076A60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80079B04 00076A64 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80079B08 00076A68 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80079B0C 00076A6C 7C 08 03 A6 */ mtlr r0 -/* 80079B10 00076A70 38 21 00 20 */ addi r1, r1, 0x20 -/* 80079B14 00076A74 4E 80 00 20 */ blr - -.global Think__10CPatternedFfR13CStateManager -Think__10CPatternedFfR13CStateManager: -/* 80079B18 00076A78 94 21 FE 10 */ stwu r1, -0x1f0(r1) -/* 80079B1C 00076A7C 7C 08 02 A6 */ mflr r0 -/* 80079B20 00076A80 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 80079B24 00076A84 DB E1 01 E0 */ stfd f31, 0x1e0(r1) -/* 80079B28 00076A88 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 -/* 80079B2C 00076A8C DB C1 01 D0 */ stfd f30, 0x1d0(r1) -/* 80079B30 00076A90 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 -/* 80079B34 00076A94 93 E1 01 CC */ stw r31, 0x1cc(r1) -/* 80079B38 00076A98 93 C1 01 C8 */ stw r30, 0x1c8(r1) -/* 80079B3C 00076A9C 93 A1 01 C4 */ stw r29, 0x1c4(r1) -/* 80079B40 00076AA0 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80079B44 00076AA4 FF E0 08 90 */ fmr f31, f1 -/* 80079B48 00076AA8 7C 7E 1B 78 */ mr r30, r3 -/* 80079B4C 00076AAC 7C 9F 23 78 */ mr r31, r4 -/* 80079B50 00076AB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80079B54 00076AB4 41 82 08 D4 */ beq lbl_8007A428 -/* 80079B58 00076AB8 88 1E 04 02 */ lbz r0, 0x402(r30) -/* 80079B5C 00076ABC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80079B60 00076AC0 41 82 00 24 */ beq lbl_80079B84 -/* 80079B64 00076AC4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80079B68 00076AC8 48 0C 05 65 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 80079B6C 00076ACC C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 80079B70 00076AD0 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80079B74 00076AD4 7C 00 00 26 */ mfcr r0 -/* 80079B78 00076AD8 7F C3 F3 78 */ mr r3, r30 -/* 80079B7C 00076ADC 54 04 1F FE */ rlwinm r4, r0, 3, 0x1f, 0x1f -/* 80079B80 00076AE0 4B FF DC D5 */ bl UpdateThermalFrozenState__10CPatternedFb -lbl_80079B84: -/* 80079B84 00076AE4 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80079B88 00076AE8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80079B8C 00076AEC 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 80079B90 00076AF0 28 00 00 00 */ cmplwi r0, 0 -/* 80079B94 00076AF4 41 82 00 14 */ beq lbl_80079BA8 -/* 80079B98 00076AF8 80 7E 05 10 */ lwz r3, 0x510(r30) -/* 80079B9C 00076AFC FC 20 F8 90 */ fmr f1, f31 -/* 80079BA0 00076B00 80 63 00 00 */ lwz r3, 0(r3) -/* 80079BA4 00076B04 48 2D DD C9 */ bl Update__18CVertexMorphEffectFf -lbl_80079BA8: -/* 80079BA8 00076B08 88 1E 04 02 */ lbz r0, 0x402(r30) -/* 80079BAC 00076B0C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80079BB0 00076B10 41 82 00 28 */ beq lbl_80079BD8 -/* 80079BB4 00076B14 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80079BB8 00076B18 48 0C 05 15 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 80079BBC 00076B1C C0 02 89 34 */ lfs f0, lbl_805AA654@sda21(r2) -/* 80079BC0 00076B20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80079BC4 00076B24 40 81 00 14 */ ble lbl_80079BD8 -/* 80079BC8 00076B28 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80079BCC 00076B2C 38 60 00 01 */ li r3, 1 -/* 80079BD0 00076B30 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80079BD4 00076B34 98 1E 04 00 */ stb r0, 0x400(r30) -lbl_80079BD8: -/* 80079BD8 00076B38 88 7E 04 00 */ lbz r3, 0x400(r30) -/* 80079BDC 00076B3C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80079BE0 00076B40 40 82 01 1C */ bne lbl_80079CFC -/* 80079BE4 00076B44 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80079BE8 00076B48 40 82 00 0C */ bne lbl_80079BF4 -/* 80079BEC 00076B4C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 80079BF0 00076B50 41 82 00 84 */ beq lbl_80079C74 -lbl_80079BF4: -/* 80079BF4 00076B54 C0 3E 03 E0 */ lfs f1, 0x3e0(r30) -/* 80079BF8 00076B58 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 80079BFC 00076B5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80079C00 00076B60 4C 40 13 82 */ cror 2, 0, 2 -/* 80079C04 00076B64 40 82 00 70 */ bne lbl_80079C74 -/* 80079C08 00076B68 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80079C0C 00076B6C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80079C10 00076B70 41 82 00 34 */ beq lbl_80079C44 -/* 80079C14 00076B74 7F C3 F3 78 */ mr r3, r30 -/* 80079C18 00076B78 7F E5 FB 78 */ mr r5, r31 -/* 80079C1C 00076B7C 38 80 00 15 */ li r4, 0x15 -/* 80079C20 00076B80 38 C0 FF FF */ li r6, -1 -/* 80079C24 00076B84 4B FD 74 9D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80079C28 00076B88 7F C3 F3 78 */ mr r3, r30 -/* 80079C2C 00076B8C 7F E4 FB 78 */ mr r4, r31 -/* 80079C30 00076B90 81 9E 00 00 */ lwz r12, 0(r30) -/* 80079C34 00076B94 81 8C 02 9C */ lwz r12, 0x29c(r12) -/* 80079C38 00076B98 7D 89 03 A6 */ mtctr r12 -/* 80079C3C 00076B9C 4E 80 04 21 */ bctrl -/* 80079C40 00076BA0 48 00 07 E8 */ b lbl_8007A428 -lbl_80079C44: -/* 80079C44 00076BA4 7F C3 F3 78 */ mr r3, r30 -/* 80079C48 00076BA8 7F E5 FB 78 */ mr r5, r31 -/* 80079C4C 00076BAC 38 80 00 15 */ li r4, 0x15 -/* 80079C50 00076BB0 38 C0 FF FF */ li r6, -1 -/* 80079C54 00076BB4 4B FD 74 6D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80079C58 00076BB8 7F C3 F3 78 */ mr r3, r30 -/* 80079C5C 00076BBC 7F E4 FB 78 */ mr r4, r31 -/* 80079C60 00076BC0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80079C64 00076BC4 81 8C 02 98 */ lwz r12, 0x298(r12) -/* 80079C68 00076BC8 7D 89 03 A6 */ mtctr r12 -/* 80079C6C 00076BCC 4E 80 04 21 */ bctrl -/* 80079C70 00076BD0 48 00 07 B8 */ b lbl_8007A428 -lbl_80079C74: -/* 80079C74 00076BD4 C0 1E 03 E0 */ lfs f0, 0x3e0(r30) -/* 80079C78 00076BD8 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80079C7C 00076BDC D0 1E 03 E0 */ stfs f0, 0x3e0(r30) -/* 80079C80 00076BE0 88 1E 04 03 */ lbz r0, 0x403(r30) -/* 80079C84 00076BE4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80079C88 00076BE8 41 82 00 74 */ beq lbl_80079CFC -/* 80079C8C 00076BEC 38 7E 03 30 */ addi r3, r30, 0x330 -/* 80079C90 00076BF0 48 00 5F 0D */ bl GetName__18CStateMachineStateCFv -/* 80079C94 00076BF4 28 03 00 00 */ cmplwi r3, 0 -/* 80079C98 00076BF8 41 82 00 64 */ beq lbl_80079CFC -/* 80079C9C 00076BFC 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 80079CA0 00076C00 38 61 00 80 */ addi r3, r1, 0x80 -/* 80079CA4 00076C04 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 80079CA8 00076C08 38 84 00 1A */ addi r4, r4, 0x1a -/* 80079CAC 00076C0C 4B F8 B0 0D */ bl string_l__4rstlFPCc -/* 80079CB0 00076C10 38 7E 03 30 */ addi r3, r30, 0x330 -/* 80079CB4 00076C14 48 00 5E E9 */ bl GetName__18CStateMachineStateCFv -/* 80079CB8 00076C18 38 81 00 80 */ addi r4, r1, 0x80 -/* 80079CBC 00076C1C 48 00 07 99 */ bl AreStateStringsEqual__10CPatternedFPCcPCc -/* 80079CC0 00076C20 7C 7D 1B 78 */ mr r29, r3 -/* 80079CC4 00076C24 38 61 00 80 */ addi r3, r1, 0x80 -/* 80079CC8 00076C28 48 2C 3E 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80079CCC 00076C2C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80079CD0 00076C30 41 82 00 2C */ beq lbl_80079CFC -/* 80079CD4 00076C34 C0 3E 03 38 */ lfs f1, 0x338(r30) -/* 80079CD8 00076C38 C0 02 89 38 */ lfs f0, lbl_805AA658@sda21(r2) -/* 80079CDC 00076C3C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80079CE0 00076C40 40 81 00 1C */ ble lbl_80079CFC -/* 80079CE4 00076C44 7F C3 F3 78 */ mr r3, r30 -/* 80079CE8 00076C48 7F E4 FB 78 */ mr r4, r31 -/* 80079CEC 00076C4C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80079CF0 00076C50 81 8C 02 98 */ lwz r12, 0x298(r12) -/* 80079CF4 00076C54 7D 89 03 A6 */ mtctr r12 -/* 80079CF8 00076C58 4E 80 04 21 */ bctrl -lbl_80079CFC: -/* 80079CFC 00076C5C FC 20 F8 90 */ fmr f1, f31 -/* 80079D00 00076C60 7F C3 F3 78 */ mr r3, r30 -/* 80079D04 00076C64 7F E4 FB 78 */ mr r4, r31 -/* 80079D08 00076C68 48 00 09 85 */ bl UpdateAlphaDelta__10CPatternedFfR13CStateManager -/* 80079D0C 00076C6C 7F C3 F3 78 */ mr r3, r30 -/* 80079D10 00076C70 7F E4 FB 78 */ mr r4, r31 -/* 80079D14 00076C74 81 9E 00 00 */ lwz r12, 0(r30) -/* 80079D18 00076C78 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80079D1C 00076C7C 7D 89 03 A6 */ mtctr r12 -/* 80079D20 00076C80 4E 80 04 21 */ bctrl -/* 80079D24 00076C84 C0 03 00 00 */ lfs f0, 0(r3) -/* 80079D28 00076C88 D0 1E 03 E4 */ stfs f0, 0x3e4(r30) -/* 80079D2C 00076C8C 80 1E 03 34 */ lwz r0, 0x334(r30) -/* 80079D30 00076C90 28 00 00 00 */ cmplwi r0, 0 -/* 80079D34 00076C94 40 82 00 40 */ bne lbl_80079D74 -/* 80079D38 00076C98 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 80079D3C 00076C9C 38 61 00 70 */ addi r3, r1, 0x70 -/* 80079D40 00076CA0 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 80079D44 00076CA4 38 84 00 1F */ addi r4, r4, 0x1f -/* 80079D48 00076CA8 4B F8 AF 71 */ bl string_l__4rstlFPCc -/* 80079D4C 00076CAC 7F C3 F3 78 */ mr r3, r30 -/* 80079D50 00076CB0 48 02 8B A9 */ bl GetStateMachine__3CAiFv -/* 80079D54 00076CB4 7C 66 1B 78 */ mr r6, r3 -/* 80079D58 00076CB8 7F E4 FB 78 */ mr r4, r31 -/* 80079D5C 00076CBC 7F C5 F3 78 */ mr r5, r30 -/* 80079D60 00076CC0 38 7E 03 30 */ addi r3, r30, 0x330 -/* 80079D64 00076CC4 38 E1 00 70 */ addi r7, r1, 0x70 -/* 80079D68 00076CC8 48 00 5E 9D */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80079D6C 00076CCC 38 61 00 70 */ addi r3, r1, 0x70 -/* 80079D70 00076CD0 48 2C 3D 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80079D74: -/* 80079D74 00076CD4 C0 3E 04 E4 */ lfs f1, 0x4e4(r30) -/* 80079D78 00076CD8 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80079D7C 00076CDC 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 80079D80 00076CE0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80079D84 00076CE4 C0 7E 04 E8 */ lfs f3, 0x4e8(r30) -/* 80079D88 00076CE8 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80079D8C 00076CEC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80079D90 00076CF0 C0 3E 04 EC */ lfs f1, 0x4ec(r30) -/* 80079D94 00076CF4 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80079D98 00076CF8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80079D9C 00076CFC EC 61 00 28 */ fsubs f3, f1, f0 -/* 80079DA0 00076D00 40 82 00 08 */ bne lbl_80079DA8 -/* 80079DA4 00076D04 C0 62 89 08 */ lfs f3, lbl_805AA628@sda21(r2) -lbl_80079DA8: -/* 80079DA8 00076D08 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 80079DAC 00076D0C C0 02 89 18 */ lfs f0, lbl_805AA638@sda21(r2) -/* 80079DB0 00076D10 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80079DB4 00076D14 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 80079DB8 00076D18 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 80079DBC 00076D1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80079DC0 00076D20 40 81 00 14 */ ble lbl_80079DD4 -/* 80079DC4 00076D24 C0 1E 04 F0 */ lfs f0, 0x4f0(r30) -/* 80079DC8 00076D28 EC 00 F8 2A */ fadds f0, f0, f31 -/* 80079DCC 00076D2C D0 1E 04 F0 */ stfs f0, 0x4f0(r30) -/* 80079DD0 00076D30 48 00 00 0C */ b lbl_80079DDC -lbl_80079DD4: -/* 80079DD4 00076D34 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 80079DD8 00076D38 D0 1E 04 F0 */ stfs f0, 0x4f0(r30) -lbl_80079DDC: -/* 80079DDC 00076D3C 88 1E 04 E1 */ lbz r0, 0x4e1(r30) -/* 80079DE0 00076D40 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80079DE4 00076D44 41 82 01 C4 */ beq lbl_80079FA8 -/* 80079DE8 00076D48 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 80079DEC 00076D4C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80079DF0 00076D50 40 82 00 44 */ bne lbl_80079E34 -/* 80079DF4 00076D54 88 1E 04 02 */ lbz r0, 0x402(r30) -/* 80079DF8 00076D58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80079DFC 00076D5C 41 82 00 38 */ beq lbl_80079E34 -/* 80079E00 00076D60 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80079E04 00076D64 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 80079E08 00076D68 C0 42 89 10 */ lfs f2, lbl_805AA630@sda21(r2) -/* 80079E0C 00076D6C 48 29 87 39 */ bl Range__9CRandom16Fff -/* 80079E10 00076D70 81 9E 00 00 */ lwz r12, 0(r30) -/* 80079E14 00076D74 7F C3 F3 78 */ mr r3, r30 -/* 80079E18 00076D78 C0 02 89 10 */ lfs f0, lbl_805AA630@sda21(r2) -/* 80079E1C 00076D7C 7F E4 FB 78 */ mr r4, r31 -/* 80079E20 00076D80 81 8C 02 A4 */ lwz r12, 0x2a4(r12) -/* 80079E24 00076D84 EC 20 08 2A */ fadds f1, f0, f1 -/* 80079E28 00076D88 C0 42 89 3C */ lfs f2, lbl_805AA65C@sda21(r2) -/* 80079E2C 00076D8C 7D 89 03 A6 */ mtctr r12 -/* 80079E30 00076D90 4E 80 04 21 */ bctrl -lbl_80079E34: -/* 80079E34 00076D94 88 9E 04 01 */ lbz r4, 0x401(r30) -/* 80079E38 00076D98 38 60 00 00 */ li r3, 0 -/* 80079E3C 00076D9C 88 1E 04 02 */ lbz r0, 0x402(r30) -/* 80079E40 00076DA0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80079E44 00076DA4 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 80079E48 00076DA8 98 1E 04 02 */ stb r0, 0x402(r30) -/* 80079E4C 00076DAC 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 80079E50 00076DB0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80079E54 00076DB4 98 1E 04 01 */ stb r0, 0x401(r30) -/* 80079E58 00076DB8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80079E5C 00076DBC C0 03 03 24 */ lfs f0, 0x324(r3) -/* 80079E60 00076DC0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80079E64 00076DC4 40 81 01 20 */ ble lbl_80079F84 -/* 80079E68 00076DC8 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 80079E6C 00076DCC 7F C4 F3 78 */ mr r4, r30 -/* 80079E70 00076DD0 48 16 B3 61 */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor -/* 80079E74 00076DD4 C0 5E 03 F0 */ lfs f2, 0x3f0(r30) -/* 80079E78 00076DD8 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 80079E7C 00076DDC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80079E80 00076DE0 40 81 01 28 */ ble lbl_80079FA8 -/* 80079E84 00076DE4 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80079E88 00076DE8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80079E8C 00076DEC 41 82 01 1C */ beq lbl_80079FA8 -/* 80079E90 00076DF0 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 80079E94 00076DF4 38 80 00 00 */ li r4, 0 -/* 80079E98 00076DF8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80079E9C 00076DFC 38 E0 00 02 */ li r7, 2 -/* 80079EA0 00076E00 98 01 00 3C */ stb r0, 0x3c(r1) -/* 80079EA4 00076E04 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 80079EA8 00076E08 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 80079EAC 00076E0C FC 00 10 18 */ frsp f0, f2 -/* 80079EB0 00076E10 88 01 01 4C */ lbz r0, 0x14c(r1) -/* 80079EB4 00076E14 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80079EB8 00076E18 54 66 06 3E */ clrlwi r6, r3, 0x18 -/* 80079EBC 00076E1C 98 61 00 3C */ stb r3, 0x3c(r1) -/* 80079EC0 00076E20 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a -/* 80079EC4 00076E24 80 AD 83 E0 */ lwz r5, lbl_805A6FA0@sda21(r13) -/* 80079EC8 00076E28 38 60 00 00 */ li r3, 0 -/* 80079ECC 00076E2C 90 E1 00 38 */ stw r7, 0x38(r1) -/* 80079ED0 00076E30 38 80 00 01 */ li r4, 1 -/* 80079ED4 00076E34 98 C1 00 3C */ stb r6, 0x3c(r1) -/* 80079ED8 00076E38 90 E1 01 34 */ stw r7, 0x134(r1) -/* 80079EDC 00076E3C 98 C1 01 38 */ stb r6, 0x138(r1) -/* 80079EE0 00076E40 D0 41 01 3C */ stfs f2, 0x13c(r1) -/* 80079EE4 00076E44 D0 41 01 40 */ stfs f2, 0x140(r1) -/* 80079EE8 00076E48 D0 21 01 44 */ stfs f1, 0x144(r1) -/* 80079EEC 00076E4C D0 21 01 48 */ stfs f1, 0x148(r1) -/* 80079EF0 00076E50 98 01 01 4C */ stb r0, 0x14c(r1) -/* 80079EF4 00076E54 90 E1 01 6C */ stw r7, 0x16c(r1) -/* 80079EF8 00076E58 98 C1 01 70 */ stb r6, 0x170(r1) -/* 80079EFC 00076E5C D0 41 01 74 */ stfs f2, 0x174(r1) -/* 80079F00 00076E60 D0 01 01 78 */ stfs f0, 0x178(r1) -/* 80079F04 00076E64 D0 21 01 7C */ stfs f1, 0x17c(r1) -/* 80079F08 00076E68 D0 21 01 80 */ stfs f1, 0x180(r1) -/* 80079F0C 00076E6C 98 01 01 84 */ stb r0, 0x184(r1) -/* 80079F10 00076E70 48 30 FF E5 */ bl __shl2i -/* 80079F14 00076E74 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 80079F18 00076E78 38 C0 00 00 */ li r6, 0 -/* 80079F1C 00076E7C 38 00 00 03 */ li r0, 3 -/* 80079F20 00076E80 90 81 01 04 */ stw r4, 0x104(r1) -/* 80079F24 00076E84 FC 20 F8 90 */ fmr f1, f31 -/* 80079F28 00076E88 38 81 01 6C */ addi r4, r1, 0x16c -/* 80079F2C 00076E8C 90 61 01 00 */ stw r3, 0x100(r1) -/* 80079F30 00076E90 38 61 01 18 */ addi r3, r1, 0x118 -/* 80079F34 00076E94 90 C1 01 0C */ stw r6, 0x10c(r1) -/* 80079F38 00076E98 90 C1 01 08 */ stw r6, 0x108(r1) -/* 80079F3C 00076E9C 90 01 01 10 */ stw r0, 0x110(r1) -/* 80079F40 00076EA0 B0 A1 00 20 */ sth r5, 0x20(r1) -/* 80079F44 00076EA4 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80079F48 00076EA8 B0 A1 00 0C */ sth r5, 0xc(r1) -/* 80079F4C 00076EAC B0 01 00 24 */ sth r0, 0x24(r1) -/* 80079F50 00076EB0 B0 01 00 28 */ sth r0, 0x28(r1) -/* 80079F54 00076EB4 B0 A1 00 2C */ sth r5, 0x2c(r1) -/* 80079F58 00076EB8 48 04 94 F1 */ bl __ct__11CDamageInfoFRC11CDamageInfof -/* 80079F5C 00076EBC 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80079F60 00076EC0 7F E3 FB 78 */ mr r3, r31 -/* 80079F64 00076EC4 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80079F68 00076EC8 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80079F6C 00076ECC 38 81 00 2C */ addi r4, r1, 0x2c -/* 80079F70 00076ED0 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80079F74 00076ED4 38 E1 01 18 */ addi r7, r1, 0x118 -/* 80079F78 00076ED8 39 01 01 00 */ addi r8, r1, 0x100 -/* 80079F7C 00076EDC 4B FD 01 25 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80079F80 00076EE0 48 00 00 28 */ b lbl_80079FA8 -lbl_80079F84: -/* 80079F84 00076EE4 C0 1E 03 F0 */ lfs f0, 0x3f0(r30) -/* 80079F88 00076EE8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80079F8C 00076EEC 41 82 00 1C */ beq lbl_80079FA8 -/* 80079F90 00076EF0 D0 3E 03 F0 */ stfs f1, 0x3f0(r30) -/* 80079F94 00076EF4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80079F98 00076EF8 48 0B FF 75 */ bl StopElectrocution__15CBodyControllerFv -/* 80079F9C 00076EFC 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 80079FA0 00076F00 7F C4 F3 78 */ mr r4, r30 -/* 80079FA4 00076F04 48 16 B1 AD */ bl StopElectric__20CActorModelParticlesFR5CActor -lbl_80079FA8: -/* 80079FA8 00076F08 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80079FAC 00076F0C C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 80079FB0 00076F10 C0 03 03 20 */ lfs f0, 0x320(r3) -/* 80079FB4 00076F14 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80079FB8 00076F18 40 81 01 18 */ ble lbl_8007A0D0 -/* 80079FBC 00076F1C 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80079FC0 00076F20 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80079FC4 00076F24 41 82 01 38 */ beq lbl_8007A0FC -/* 80079FC8 00076F28 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 80079FCC 00076F2C 7F C4 F3 78 */ mr r4, r30 -/* 80079FD0 00076F30 48 16 B1 21 */ bl LightDudeOnFire__20CActorModelParticlesFR5CActor -/* 80079FD4 00076F34 88 01 00 34 */ lbz r0, 0x34(r1) -/* 80079FD8 00076F38 38 80 00 00 */ li r4, 0 -/* 80079FDC 00076F3C C0 5E 03 EC */ lfs f2, 0x3ec(r30) -/* 80079FE0 00076F40 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80079FE4 00076F44 98 01 00 34 */ stb r0, 0x34(r1) -/* 80079FE8 00076F48 38 E0 00 03 */ li r7, 3 -/* 80079FEC 00076F4C 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 80079FF0 00076F50 FC 00 10 18 */ frsp f0, f2 -/* 80079FF4 00076F54 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 80079FF8 00076F58 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 80079FFC 00076F5C 88 01 00 FC */ lbz r0, 0xfc(r1) -/* 8007A000 00076F60 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8007A004 00076F64 54 66 06 3E */ clrlwi r6, r3, 0x18 -/* 8007A008 00076F68 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a -/* 8007A00C 00076F6C 98 61 00 34 */ stb r3, 0x34(r1) -/* 8007A010 00076F70 80 AD 83 E0 */ lwz r5, lbl_805A6FA0@sda21(r13) -/* 8007A014 00076F74 38 60 00 00 */ li r3, 0 -/* 8007A018 00076F78 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8007A01C 00076F7C 38 80 00 01 */ li r4, 1 -/* 8007A020 00076F80 98 C1 00 34 */ stb r6, 0x34(r1) -/* 8007A024 00076F84 90 E1 00 E4 */ stw r7, 0xe4(r1) -/* 8007A028 00076F88 98 C1 00 E8 */ stb r6, 0xe8(r1) -/* 8007A02C 00076F8C D0 41 00 EC */ stfs f2, 0xec(r1) -/* 8007A030 00076F90 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 8007A034 00076F94 D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 8007A038 00076F98 D0 21 00 F8 */ stfs f1, 0xf8(r1) -/* 8007A03C 00076F9C 98 01 00 FC */ stb r0, 0xfc(r1) -/* 8007A040 00076FA0 90 E1 01 50 */ stw r7, 0x150(r1) -/* 8007A044 00076FA4 98 C1 01 54 */ stb r6, 0x154(r1) -/* 8007A048 00076FA8 D0 41 01 58 */ stfs f2, 0x158(r1) -/* 8007A04C 00076FAC D0 01 01 5C */ stfs f0, 0x15c(r1) -/* 8007A050 00076FB0 D0 21 01 60 */ stfs f1, 0x160(r1) -/* 8007A054 00076FB4 D0 21 01 64 */ stfs f1, 0x164(r1) -/* 8007A058 00076FB8 98 01 01 68 */ stb r0, 0x168(r1) -/* 8007A05C 00076FBC 48 30 FE 99 */ bl __shl2i -/* 8007A060 00076FC0 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 8007A064 00076FC4 38 C0 00 00 */ li r6, 0 -/* 8007A068 00076FC8 38 00 00 03 */ li r0, 3 -/* 8007A06C 00076FCC 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 8007A070 00076FD0 FC 20 F8 90 */ fmr f1, f31 -/* 8007A074 00076FD4 38 81 01 50 */ addi r4, r1, 0x150 -/* 8007A078 00076FD8 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 8007A07C 00076FDC 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8007A080 00076FE0 90 C1 00 BC */ stw r6, 0xbc(r1) -/* 8007A084 00076FE4 90 C1 00 B8 */ stw r6, 0xb8(r1) -/* 8007A088 00076FE8 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8007A08C 00076FEC B0 A1 00 10 */ sth r5, 0x10(r1) -/* 8007A090 00076FF0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8007A094 00076FF4 B0 A1 00 08 */ sth r5, 8(r1) -/* 8007A098 00076FF8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8007A09C 00076FFC B0 01 00 18 */ sth r0, 0x18(r1) -/* 8007A0A0 00077000 B0 A1 00 1C */ sth r5, 0x1c(r1) -/* 8007A0A4 00077004 48 04 93 A5 */ bl __ct__11CDamageInfoFRC11CDamageInfof -/* 8007A0A8 00077008 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007A0AC 0007700C 7F E3 FB 78 */ mr r3, r31 -/* 8007A0B0 00077010 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 8007A0B4 00077014 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8007A0B8 00077018 38 81 00 1C */ addi r4, r1, 0x1c -/* 8007A0BC 0007701C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8007A0C0 00077020 38 E1 00 C8 */ addi r7, r1, 0xc8 -/* 8007A0C4 00077024 39 01 00 B0 */ addi r8, r1, 0xb0 -/* 8007A0C8 00077028 4B FC FF D9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 8007A0CC 0007702C 48 00 00 30 */ b lbl_8007A0FC -lbl_8007A0D0: -/* 8007A0D0 00077030 C0 1E 03 EC */ lfs f0, 0x3ec(r30) -/* 8007A0D4 00077034 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8007A0D8 00077038 40 81 00 08 */ ble lbl_8007A0E0 -/* 8007A0DC 0007703C D0 3E 03 EC */ stfs f1, 0x3ec(r30) -lbl_8007A0E0: -/* 8007A0E0 00077040 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007A0E4 00077044 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8007A0E8 00077048 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007A0EC 0007704C 41 82 00 10 */ beq lbl_8007A0FC -/* 8007A0F0 00077050 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 8007A0F4 00077054 7F C4 F3 78 */ mr r4, r30 -/* 8007A0F8 00077058 48 16 AF 4D */ bl StopThermalHotParticles__20CActorModelParticlesFR5CActor -lbl_8007A0FC: -/* 8007A0FC 0007705C 88 7E 04 01 */ lbz r3, 0x401(r30) -/* 8007A100 00077060 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8007A104 00077064 40 82 00 0C */ bne lbl_8007A110 -/* 8007A108 00077068 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 8007A10C 0007706C 41 82 00 0C */ beq lbl_8007A118 -lbl_8007A110: -/* 8007A110 00077070 C0 02 89 14 */ lfs f0, lbl_805AA634@sda21(r2) -/* 8007A114 00077074 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) -lbl_8007A118: -/* 8007A118 00077078 88 9E 04 01 */ lbz r4, 0x401(r30) -/* 8007A11C 0007707C 54 80 FF FF */ rlwinm. r0, r4, 0x1f, 0x1f, 0x1f -/* 8007A120 00077080 41 82 00 48 */ beq lbl_8007A168 -/* 8007A124 00077084 38 00 00 00 */ li r0, 0 -/* 8007A128 00077088 7F C3 F3 78 */ mr r3, r30 -/* 8007A12C 0007708C 50 04 0F BC */ rlwimi r4, r0, 1, 0x1e, 0x1e -/* 8007A130 00077090 38 A1 00 64 */ addi r5, r1, 0x64 -/* 8007A134 00077094 98 9E 04 01 */ stb r4, 0x401(r30) -/* 8007A138 00077098 7F E4 FB 78 */ mr r4, r31 -/* 8007A13C 0007709C 38 C0 00 14 */ li r6, 0x14 -/* 8007A140 000770A0 C0 5E 00 58 */ lfs f2, 0x58(r30) -/* 8007A144 000770A4 C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 8007A148 000770A8 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8007A14C 000770AC D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8007A150 000770B0 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 8007A154 000770B4 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8007A158 000770B8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007A15C 000770BC 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 8007A160 000770C0 7D 89 03 A6 */ mtctr r12 -/* 8007A164 000770C4 4E 80 04 21 */ bctrl -lbl_8007A168: -/* 8007A168 000770C8 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007A16C 000770CC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007A170 000770D0 41 82 00 0C */ beq lbl_8007A17C -/* 8007A174 000770D4 FF C0 F8 90 */ fmr f30, f31 -/* 8007A178 000770D8 48 00 00 10 */ b lbl_8007A188 -lbl_8007A17C: -/* 8007A17C 000770DC 7F C3 F3 78 */ mr r3, r30 -/* 8007A180 000770E0 4B FF E9 09 */ bl CalcDyingThinkRate__10CPatternedFv -/* 8007A184 000770E4 EF DF 00 72 */ fmuls f30, f31, f1 -lbl_8007A188: -/* 8007A188 000770E8 FC 20 F0 90 */ fmr f1, f30 -/* 8007A18C 000770EC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007A190 000770F0 7F E4 FB 78 */ mr r4, r31 -/* 8007A194 000770F4 48 0C 0A 51 */ bl Update__15CBodyControllerFfR13CStateManager -/* 8007A198 000770F8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007A19C 000770FC C0 3E 03 B4 */ lfs f1, 0x3b4(r30) -/* 8007A1A0 00077100 48 0C 06 C1 */ bl MultiplyPlaybackRate__15CBodyControllerFf -/* 8007A1A4 00077104 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007A1A8 00077108 FC 20 F0 90 */ fmr f1, f30 -/* 8007A1AC 0007710C 7F C4 F3 78 */ mr r4, r30 -/* 8007A1B0 00077110 7F E5 FB 78 */ mr r5, r31 -/* 8007A1B4 00077114 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8007A1B8 00077118 38 61 00 90 */ addi r3, r1, 0x90 -/* 8007A1BC 0007711C 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f -/* 8007A1C0 00077120 7C 00 00 34 */ cntlzw r0, r0 -/* 8007A1C4 00077124 54 06 DE 3E */ rlwinm r6, r0, 0x1b, 0x18, 0x1f -/* 8007A1C8 00077128 4B FD B0 D5 */ bl UpdateAnimation__6CActorFfR13CStateManagerb -/* 8007A1CC 0007712C 80 61 00 90 */ lwz r3, 0x90(r1) -/* 8007A1D0 00077130 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8007A1D4 00077134 90 7E 04 34 */ stw r3, 0x434(r30) -/* 8007A1D8 00077138 90 1E 04 38 */ stw r0, 0x438(r30) -/* 8007A1DC 0007713C 80 01 00 98 */ lwz r0, 0x98(r1) -/* 8007A1E0 00077140 90 1E 04 3C */ stw r0, 0x43c(r30) -/* 8007A1E4 00077144 80 61 00 9C */ lwz r3, 0x9c(r1) -/* 8007A1E8 00077148 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 8007A1EC 0007714C 90 7E 04 40 */ stw r3, 0x440(r30) -/* 8007A1F0 00077150 90 1E 04 44 */ stw r0, 0x444(r30) -/* 8007A1F4 00077154 80 61 00 A4 */ lwz r3, 0xa4(r1) -/* 8007A1F8 00077158 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 8007A1FC 0007715C 90 7E 04 48 */ stw r3, 0x448(r30) -/* 8007A200 00077160 90 1E 04 4C */ stw r0, 0x44c(r30) -/* 8007A204 00077164 88 1E 04 03 */ lbz r0, 0x403(r30) -/* 8007A208 00077168 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007A20C 0007716C 41 82 00 2C */ beq lbl_8007A238 -/* 8007A210 00077170 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007A214 00077174 48 0B FE B9 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 8007A218 00077178 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 8007A21C 0007717C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007A220 00077180 40 80 00 18 */ bge lbl_8007A238 -/* 8007A224 00077184 FC 20 F0 90 */ fmr f1, f30 -/* 8007A228 00077188 7F E4 FB 78 */ mr r4, r31 -/* 8007A22C 0007718C 7F C5 F3 78 */ mr r5, r30 -/* 8007A230 00077190 38 7E 03 30 */ addi r3, r30, 0x330 -/* 8007A234 00077194 48 00 5B 1D */ bl Update__18CStateMachineStateFR13CStateManagerR3CAif -lbl_8007A238: -/* 8007A238 00077198 7F C3 F3 78 */ mr r3, r30 -/* 8007A23C 0007719C FC 20 F0 90 */ fmr f1, f30 -/* 8007A240 000771A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007A244 000771A4 81 8C 02 A8 */ lwz r12, 0x2a8(r12) -/* 8007A248 000771A8 7D 89 03 A6 */ mtctr r12 -/* 8007A24C 000771AC 4E 80 04 21 */ bctrl -/* 8007A250 000771B0 FC 20 F0 90 */ fmr f1, f30 -/* 8007A254 000771B4 7F E4 FB 78 */ mr r4, r31 -/* 8007A258 000771B8 7F C5 F3 78 */ mr r5, r30 -/* 8007A25C 000771BC 38 7E 04 60 */ addi r3, r30, 0x460 -/* 8007A260 000771C0 48 1B 98 F9 */ bl Update__20CKnockBackControllerFfR13CStateManagerR10CPatterned -/* 8007A264 000771C4 FC 20 F0 90 */ fmr f1, f30 -/* 8007A268 000771C8 7F C4 F3 78 */ mr r4, r30 -/* 8007A26C 000771CC 38 61 01 88 */ addi r3, r1, 0x188 -/* 8007A270 000771D0 48 0A 1A 41 */ bl PredictMotion__13CPhysicsActorCFf -/* 8007A274 000771D4 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8007A278 000771D8 38 60 00 00 */ li r3, 0 -/* 8007A27C 000771DC C0 01 01 88 */ lfs f0, 0x188(r1) -/* 8007A280 000771E0 C0 BE 00 50 */ lfs f5, 0x50(r30) -/* 8007A284 000771E4 C0 81 01 8C */ lfs f4, 0x18c(r1) -/* 8007A288 000771E8 EC 21 00 2A */ fadds f1, f1, f0 -/* 8007A28C 000771EC C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 8007A290 000771F0 C0 41 01 90 */ lfs f2, 0x190(r1) -/* 8007A294 000771F4 EC 85 20 2A */ fadds f4, f5, f4 -/* 8007A298 000771F8 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007A29C 000771FC D0 3E 04 E4 */ stfs f1, 0x4e4(r30) -/* 8007A2A0 00077200 EC 23 10 2A */ fadds f1, f3, f2 -/* 8007A2A4 00077204 D0 9E 04 E8 */ stfs f4, 0x4e8(r30) -/* 8007A2A8 00077208 D0 3E 04 EC */ stfs f1, 0x4ec(r30) -/* 8007A2AC 0007720C 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 8007A2B0 00077210 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8007A2B4 00077214 98 1E 03 28 */ stb r0, 0x328(r30) -/* 8007A2B8 00077218 C0 3E 04 20 */ lfs f1, 0x420(r30) -/* 8007A2BC 0007721C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007A2C0 00077220 40 81 00 0C */ ble lbl_8007A2CC -/* 8007A2C4 00077224 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 8007A2C8 00077228 D0 1E 04 20 */ stfs f0, 0x420(r30) -lbl_8007A2CC: -/* 8007A2CC 0007722C 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 8007A2D0 00077230 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8007A2D4 00077234 41 82 00 18 */ beq lbl_8007A2EC -/* 8007A2D8 00077238 C0 1E 03 F4 */ lfs f0, 0x3f4(r30) -/* 8007A2DC 0007723C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8007A2E0 00077240 40 81 00 0C */ ble lbl_8007A2EC -/* 8007A2E4 00077244 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8007A2E8 00077248 D0 1E 03 F4 */ stfs f0, 0x3f4(r30) -lbl_8007A2EC: -/* 8007A2EC 0007724C C0 1E 05 0C */ lfs f0, 0x50c(r30) -/* 8007A2F0 00077250 FC 20 F8 90 */ fmr f1, f31 -/* 8007A2F4 00077254 7F C3 F3 78 */ mr r3, r30 -/* 8007A2F8 00077258 D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 8007A2FC 0007725C 48 00 02 BD */ bl UpdateDamageColor__10CPatternedFf -/* 8007A300 00077260 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007A304 00077264 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8007A308 00077268 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007A30C 0007726C 40 82 00 FC */ bne lbl_8007A408 -/* 8007A310 00077270 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8007A314 00077274 C0 3E 03 A0 */ lfs f1, 0x3a0(r30) -/* 8007A318 00077278 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8007A31C 0007727C 38 00 00 00 */ li r0, 0 -/* 8007A320 00077280 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8007A324 00077284 40 82 00 28 */ bne lbl_8007A34C -/* 8007A328 00077288 C0 3E 03 A4 */ lfs f1, 0x3a4(r30) -/* 8007A32C 0007728C C0 03 00 04 */ lfs f0, 4(r3) -/* 8007A330 00077290 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8007A334 00077294 40 82 00 18 */ bne lbl_8007A34C -/* 8007A338 00077298 C0 3E 03 A8 */ lfs f1, 0x3a8(r30) -/* 8007A33C 0007729C C0 03 00 08 */ lfs f0, 8(r3) -/* 8007A340 000772A0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8007A344 000772A4 40 82 00 08 */ bne lbl_8007A34C -/* 8007A348 000772A8 38 00 00 01 */ li r0, 1 -lbl_8007A34C: -/* 8007A34C 000772AC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8007A350 000772B0 41 82 00 1C */ beq lbl_8007A36C -/* 8007A354 000772B4 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8007A358 000772B8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8007A35C 000772BC C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8007A360 000772C0 D0 1E 03 A0 */ stfs f0, 0x3a0(r30) -/* 8007A364 000772C4 D0 3E 03 A4 */ stfs f1, 0x3a4(r30) -/* 8007A368 000772C8 D0 5E 03 A8 */ stfs f2, 0x3a8(r30) -lbl_8007A36C: -/* 8007A36C 000772CC C0 1E 03 CC */ lfs f0, 0x3cc(r30) -/* 8007A370 000772D0 C0 C2 89 08 */ lfs f6, lbl_805AA628@sda21(r2) -/* 8007A374 000772D4 FC 00 30 00 */ fcmpu cr0, f0, f6 -/* 8007A378 000772D8 41 82 00 88 */ beq lbl_8007A400 -/* 8007A37C 000772DC 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8007A380 000772E0 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8007A384 000772E4 C1 5E 00 50 */ lfs f10, 0x50(r30) -/* 8007A388 000772E8 C0 63 00 50 */ lfs f3, 0x50(r3) -/* 8007A38C 000772EC C0 43 00 40 */ lfs f2, 0x40(r3) -/* 8007A390 000772F0 C0 BE 00 40 */ lfs f5, 0x40(r30) -/* 8007A394 000772F4 ED 0A 18 28 */ fsubs f8, f10, f3 -/* 8007A398 000772F8 C1 23 00 60 */ lfs f9, 0x60(r3) -/* 8007A39C 000772FC EC 85 10 28 */ fsubs f4, f5, f2 -/* 8007A3A0 00077300 C1 7E 00 60 */ lfs f11, 0x60(r30) -/* 8007A3A4 00077304 EC 28 02 32 */ fmuls f1, f8, f8 -/* 8007A3A8 00077308 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8007A3AC 0007730C EC EB 48 28 */ fsubs f7, f11, f9 -/* 8007A3B0 00077310 EC 44 01 32 */ fmuls f2, f4, f4 -/* 8007A3B4 00077314 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 8007A3B8 00077318 EC 67 01 F2 */ fmuls f3, f7, f7 -/* 8007A3BC 0007731C EC 22 08 2A */ fadds f1, f2, f1 -/* 8007A3C0 00077320 D1 21 00 48 */ stfs f9, 0x48(r1) -/* 8007A3C4 00077324 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 8007A3C8 00077328 EC 23 08 2A */ fadds f1, f3, f1 -/* 8007A3CC 0007732C D1 41 00 50 */ stfs f10, 0x50(r1) -/* 8007A3D0 00077330 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007A3D4 00077334 D1 61 00 54 */ stfs f11, 0x54(r1) -/* 8007A3D8 00077338 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8007A3DC 0007733C D1 01 00 5C */ stfs f8, 0x5c(r1) -/* 8007A3E0 00077340 D0 E1 00 60 */ stfs f7, 0x60(r1) -/* 8007A3E4 00077344 40 81 00 14 */ ble lbl_8007A3F8 -/* 8007A3E8 00077348 C0 1E 03 D4 */ lfs f0, 0x3d4(r30) -/* 8007A3EC 0007734C EC 00 F8 2A */ fadds f0, f0, f31 -/* 8007A3F0 00077350 D0 1E 03 D4 */ stfs f0, 0x3d4(r30) -/* 8007A3F4 00077354 48 00 00 1C */ b lbl_8007A410 -lbl_8007A3F8: -/* 8007A3F8 00077358 D0 DE 03 D4 */ stfs f6, 0x3d4(r30) -/* 8007A3FC 0007735C 48 00 00 14 */ b lbl_8007A410 -lbl_8007A400: -/* 8007A400 00077360 D0 DE 03 D4 */ stfs f6, 0x3d4(r30) -/* 8007A404 00077364 48 00 00 0C */ b lbl_8007A410 -lbl_8007A408: -/* 8007A408 00077368 7F C3 F3 78 */ mr r3, r30 -/* 8007A40C 0007736C 4B FD AE 39 */ bl RemoveEmitter__6CActorFv -lbl_8007A410: -/* 8007A410 00077370 C0 3E 02 F8 */ lfs f1, 0x2f8(r30) -/* 8007A414 00077374 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007A418 00077378 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007A41C 0007737C 40 81 00 08 */ ble lbl_8007A424 -/* 8007A420 00077380 EC 21 F8 28 */ fsubs f1, f1, f31 -lbl_8007A424: -/* 8007A424 00077384 D0 3E 02 F8 */ stfs f1, 0x2f8(r30) -lbl_8007A428: -/* 8007A428 00077388 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 -/* 8007A42C 0007738C CB E1 01 E0 */ lfd f31, 0x1e0(r1) -/* 8007A430 00077390 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 -/* 8007A434 00077394 CB C1 01 D0 */ lfd f30, 0x1d0(r1) -/* 8007A438 00077398 83 E1 01 CC */ lwz r31, 0x1cc(r1) -/* 8007A43C 0007739C 83 C1 01 C8 */ lwz r30, 0x1c8(r1) -/* 8007A440 000773A0 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 8007A444 000773A4 83 A1 01 C4 */ lwz r29, 0x1c4(r1) -/* 8007A448 000773A8 7C 08 03 A6 */ mtlr r0 -/* 8007A44C 000773AC 38 21 01 F0 */ addi r1, r1, 0x1f0 -/* 8007A450 000773B0 4E 80 00 20 */ blr - -.global AreStateStringsEqual__10CPatternedFPCcPCc -AreStateStringsEqual__10CPatternedFPCcPCc: -/* 8007A454 000773B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007A458 000773B8 7C 08 02 A6 */ mflr r0 -/* 8007A45C 000773BC 38 A0 FF FF */ li r5, -1 -/* 8007A460 000773C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007A464 000773C4 7C 60 1B 78 */ mr r0, r3 -/* 8007A468 000773C8 7C 83 23 78 */ mr r3, r4 -/* 8007A46C 000773CC 7C 04 03 78 */ mr r4, r0 -/* 8007A470 000773D0 48 00 00 1D */ bl CompareStateString__10CPatternedFPCcPCci -/* 8007A474 000773D4 7C 60 00 34 */ cntlzw r0, r3 -/* 8007A478 000773D8 54 03 D9 7E */ srwi r3, r0, 5 -/* 8007A47C 000773DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007A480 000773E0 7C 08 03 A6 */ mtlr r0 -/* 8007A484 000773E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007A488 000773E8 4E 80 00 20 */ blr - -.global CompareStateString__10CPatternedFPCcPCci -CompareStateString__10CPatternedFPCcPCci: -/* 8007A48C 000773EC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007A490 000773F0 38 C0 00 00 */ li r6, 0 -/* 8007A494 000773F4 7C 88 23 78 */ mr r8, r4 -/* 8007A498 000773F8 48 00 00 0C */ b lbl_8007A4A4 -lbl_8007A49C: -/* 8007A49C 000773FC 39 08 00 01 */ addi r8, r8, 1 -/* 8007A4A0 00077400 38 C6 00 01 */ addi r6, r6, 1 -lbl_8007A4A4: -/* 8007A4A4 00077404 2C 05 FF FF */ cmpwi r5, -1 -/* 8007A4A8 00077408 41 82 00 0C */ beq lbl_8007A4B4 -/* 8007A4AC 0007740C 7C 06 28 00 */ cmpw r6, r5 -/* 8007A4B0 00077410 40 80 00 10 */ bge lbl_8007A4C0 -lbl_8007A4B4: -/* 8007A4B4 00077414 88 08 00 00 */ lbz r0, 0(r8) -/* 8007A4B8 00077418 7C 00 07 75 */ extsb. r0, r0 -/* 8007A4BC 0007741C 40 82 FF E0 */ bne lbl_8007A49C -lbl_8007A4C0: -/* 8007A4C0 00077420 80 E3 00 08 */ lwz r7, 8(r3) -/* 8007A4C4 00077424 38 00 00 00 */ li r0, 0 -/* 8007A4C8 00077428 90 61 00 18 */ stw r3, 0x18(r1) -/* 8007A4CC 0007742C 39 20 00 00 */ li r9, 0 -/* 8007A4D0 00077430 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8007A4D4 00077434 90 61 00 20 */ stw r3, 0x20(r1) -/* 8007A4D8 00077438 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007A4DC 0007743C 90 61 00 08 */ stw r3, 8(r1) -/* 8007A4E0 00077440 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8007A4E4 00077444 90 61 00 10 */ stw r3, 0x10(r1) -/* 8007A4E8 00077448 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8007A4EC 0007744C 48 00 00 2C */ b lbl_8007A518 -lbl_8007A4F0: -/* 8007A4F0 00077450 80 A3 00 00 */ lwz r5, 0(r3) -/* 8007A4F4 00077454 88 C4 00 00 */ lbz r6, 0(r4) -/* 8007A4F8 00077458 7C 05 48 AE */ lbzx r0, r5, r9 -/* 8007A4FC 0007745C 7C C5 07 74 */ extsb r5, r6 -/* 8007A500 00077460 7C 00 07 74 */ extsb r0, r0 -/* 8007A504 00077464 7C 05 00 51 */ subf. r0, r5, r0 -/* 8007A508 00077468 41 82 00 08 */ beq lbl_8007A510 -/* 8007A50C 0007746C 48 00 00 A0 */ b lbl_8007A5AC -lbl_8007A510: -/* 8007A510 00077470 39 29 00 01 */ addi r9, r9, 1 -/* 8007A514 00077474 38 84 00 01 */ addi r4, r4, 1 -lbl_8007A518: -/* 8007A518 00077478 7C 03 18 40 */ cmplw r3, r3 -/* 8007A51C 0007747C 38 00 00 00 */ li r0, 0 -/* 8007A520 00077480 40 82 00 0C */ bne lbl_8007A52C -/* 8007A524 00077484 7C 09 38 00 */ cmpw r9, r7 -/* 8007A528 00077488 41 82 00 08 */ beq lbl_8007A530 -lbl_8007A52C: -/* 8007A52C 0007748C 38 00 00 01 */ li r0, 1 -lbl_8007A530: -/* 8007A530 00077490 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8007A534 00077494 41 82 00 0C */ beq lbl_8007A540 -/* 8007A538 00077498 7C 04 40 40 */ cmplw r4, r8 -/* 8007A53C 0007749C 40 82 FF B4 */ bne lbl_8007A4F0 -lbl_8007A540: -/* 8007A540 000774A0 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8007A544 000774A4 38 A0 00 00 */ li r5, 0 -/* 8007A548 000774A8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8007A54C 000774AC 7C 03 00 40 */ cmplw r3, r0 -/* 8007A550 000774B0 40 82 00 10 */ bne lbl_8007A560 -/* 8007A554 000774B4 7C 09 38 00 */ cmpw r9, r7 -/* 8007A558 000774B8 40 82 00 08 */ bne lbl_8007A560 -/* 8007A55C 000774BC 38 A0 00 01 */ li r5, 1 -lbl_8007A560: -/* 8007A560 000774C0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8007A564 000774C4 41 82 00 14 */ beq lbl_8007A578 -/* 8007A568 000774C8 7C 04 40 40 */ cmplw r4, r8 -/* 8007A56C 000774CC 41 82 00 0C */ beq lbl_8007A578 -/* 8007A570 000774D0 38 00 FF FF */ li r0, -1 -/* 8007A574 000774D4 48 00 00 38 */ b lbl_8007A5AC -lbl_8007A578: -/* 8007A578 000774D8 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8007A57C 000774DC 38 80 00 00 */ li r4, 0 -/* 8007A580 000774E0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8007A584 000774E4 7C 03 00 40 */ cmplw r3, r0 -/* 8007A588 000774E8 40 82 00 10 */ bne lbl_8007A598 -/* 8007A58C 000774EC 7C 09 38 00 */ cmpw r9, r7 -/* 8007A590 000774F0 40 82 00 08 */ bne lbl_8007A598 -/* 8007A594 000774F4 38 80 00 01 */ li r4, 1 -lbl_8007A598: -/* 8007A598 000774F8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8007A59C 000774FC 41 82 00 0C */ beq lbl_8007A5A8 -/* 8007A5A0 00077500 38 00 00 00 */ li r0, 0 -/* 8007A5A4 00077504 48 00 00 08 */ b lbl_8007A5AC -lbl_8007A5A8: -/* 8007A5A8 00077508 38 00 00 01 */ li r0, 1 -lbl_8007A5AC: -/* 8007A5AC 0007750C 7C 03 03 78 */ mr r3, r0 -/* 8007A5B0 00077510 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007A5B4 00077514 4E 80 00 20 */ blr - -.global UpdateDamageColor__10CPatternedFf -UpdateDamageColor__10CPatternedFf: -/* 8007A5B8 00077518 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007A5BC 0007751C 7C 08 02 A6 */ mflr r0 -/* 8007A5C0 00077520 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007A5C4 00077524 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8007A5C8 00077528 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8007A5CC 0007752C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007A5D0 00077530 7C 7F 1B 78 */ mr r31, r3 -/* 8007A5D4 00077534 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007A5D8 00077538 C0 43 04 28 */ lfs f2, 0x428(r3) -/* 8007A5DC 0007753C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8007A5E0 00077540 40 81 00 90 */ ble lbl_8007A670 -/* 8007A5E4 00077544 EC 02 08 28 */ fsubs f0, f2, f1 -/* 8007A5E8 00077548 38 81 00 10 */ addi r4, r1, 0x10 -/* 8007A5EC 0007754C 38 6D 84 14 */ addi r3, r13, lbl_805A6FD4@sda21 -/* 8007A5F0 00077550 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8007A5F4 00077554 4B FD 51 3D */ bl "Max__5CMathFRCfRCf" -/* 8007A5F8 00077558 C0 23 00 00 */ lfs f1, 0(r3) -/* 8007A5FC 0007755C 38 61 00 0C */ addi r3, r1, 0xc -/* 8007A600 00077560 C0 02 89 40 */ lfs f0, lbl_805AA660@sda21(r2) -/* 8007A604 00077564 38 8D 84 18 */ addi r4, r13, lbl_805A6FD8@sda21 -/* 8007A608 00077568 D0 3F 04 28 */ stfs f1, 0x428(r31) -/* 8007A60C 0007756C C0 3F 04 28 */ lfs f1, 0x428(r31) -/* 8007A610 00077570 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8007A614 00077574 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8007A618 00077578 48 00 37 C9 */ bl "Min__5CMathFRCfRCf" -/* 8007A61C 0007757C C3 E3 00 00 */ lfs f31, 0(r3) -/* 8007A620 00077580 48 2C F9 95 */ bl Black__6CColorFv -/* 8007A624 00077584 FC 20 F8 90 */ fmr f1, f31 -/* 8007A628 00077588 7C 64 1B 78 */ mr r4, r3 -/* 8007A62C 0007758C 38 61 00 08 */ addi r3, r1, 8 -/* 8007A630 00077590 38 BF 04 30 */ addi r5, r31, 0x430 -/* 8007A634 00077594 48 2E 8C 79 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8007A638 00077598 88 81 00 0A */ lbz r4, 0xa(r1) -/* 8007A63C 0007759C 88 A1 00 09 */ lbz r5, 9(r1) -/* 8007A640 000775A0 88 01 00 08 */ lbz r0, 8(r1) -/* 8007A644 000775A4 98 1F 04 2C */ stb r0, 0x42c(r31) -/* 8007A648 000775A8 98 BF 04 2D */ stb r5, 0x42d(r31) -/* 8007A64C 000775AC 98 9F 04 2E */ stb r4, 0x42e(r31) -/* 8007A650 000775B0 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8007A654 000775B4 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8007A658 000775B8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007A65C 000775BC 40 82 00 14 */ bne lbl_8007A670 -/* 8007A660 000775C0 C0 3F 05 0C */ lfs f1, 0x50c(r31) -/* 8007A664 000775C4 C0 1F 04 28 */ lfs f0, 0x428(r31) -/* 8007A668 000775C8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8007A66C 000775CC D0 1F 00 D0 */ stfs f0, 0xd0(r31) -lbl_8007A670: -/* 8007A670 000775D0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8007A674 000775D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007A678 000775D8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8007A67C 000775DC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007A680 000775E0 7C 08 03 A6 */ mtlr r0 -/* 8007A684 000775E4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007A688 000775E8 4E 80 00 20 */ blr - -.global UpdateAlphaDelta__10CPatternedFfR13CStateManager -UpdateAlphaDelta__10CPatternedFfR13CStateManager: -/* 8007A68C 000775EC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8007A690 000775F0 7C 08 02 A6 */ mflr r0 -/* 8007A694 000775F4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8007A698 000775F8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8007A69C 000775FC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8007A6A0 00077600 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8007A6A4 00077604 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8007A6A8 00077608 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007A6AC 0007760C 7C 7F 1B 78 */ mr r31, r3 -/* 8007A6B0 00077610 C0 82 89 08 */ lfs f4, lbl_805AA628@sda21(r2) -/* 8007A6B4 00077614 C0 63 03 E8 */ lfs f3, 0x3e8(r3) -/* 8007A6B8 00077618 FC 04 18 00 */ fcmpu cr0, f4, f3 -/* 8007A6BC 0007761C 41 82 00 9C */ beq lbl_8007A758 -/* 8007A6C0 00077620 E0 BF A4 2F */ psq_l f5, 1071(r31), 1, qr2 -/* 8007A6C4 00077624 C0 42 89 00 */ lfs f2, lbl_805AA620@sda21(r2) -/* 8007A6C8 00077628 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 8007A6CC 0007762C EC 42 01 72 */ fmuls f2, f2, f5 -/* 8007A6D0 00077630 EF C1 10 FA */ fmadds f30, f1, f3, f2 -/* 8007A6D4 00077634 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8007A6D8 00077638 40 81 00 10 */ ble lbl_8007A6E8 -/* 8007A6DC 0007763C FF C0 00 90 */ fmr f30, f0 -/* 8007A6E0 00077640 D0 9F 03 E8 */ stfs f4, 0x3e8(r31) -/* 8007A6E4 00077644 48 00 00 24 */ b lbl_8007A708 -lbl_8007A6E8: -/* 8007A6E8 00077648 FC 1E 20 40 */ fcmpo cr0, f30, f4 -/* 8007A6EC 0007764C 40 80 00 1C */ bge lbl_8007A708 -/* 8007A6F0 00077650 D0 9F 03 E8 */ stfs f4, 0x3e8(r31) -/* 8007A6F4 00077654 FF C0 20 90 */ fmr f30, f4 -/* 8007A6F8 00077658 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 8007A6FC 0007765C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8007A700 00077660 41 82 00 08 */ beq lbl_8007A708 -/* 8007A704 00077664 4B FF E2 FD */ bl DeathDelete__10CPatternedFR13CStateManager -lbl_8007A708: -/* 8007A708 00077668 FC 20 F0 90 */ fmr f1, f30 -/* 8007A70C 0007766C 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 8007A710 00077670 48 08 B5 F9 */ bl SetUserAlpha__13CSimpleShadowFf -/* 8007A714 00077674 C0 02 89 44 */ lfs f0, lbl_805AA664@sda21(r2) -/* 8007A718 00077678 EF E0 07 B2 */ fmuls f31, f0, f30 -/* 8007A71C 0007767C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 8007A720 00077680 FC 80 F0 90 */ fmr f4, f30 -/* 8007A724 00077684 C0 22 89 04 */ lfs f1, lbl_805AA624@sda21(r2) -/* 8007A728 00077688 38 61 00 0C */ addi r3, r1, 0xc -/* 8007A72C 0007768C 88 01 00 08 */ lbz r0, 8(r1) -/* 8007A730 00077690 FC 40 08 90 */ fmr f2, f1 -/* 8007A734 00077694 98 1F 04 2F */ stb r0, 0x42f(r31) -/* 8007A738 00077698 FC 60 08 90 */ fmr f3, f1 -/* 8007A73C 0007769C 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 8007A740 000776A0 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8007A744 000776A4 3B E4 01 20 */ addi r31, r4, 0x120 -/* 8007A748 000776A8 48 2E 8C A5 */ bl __ct__6CColorFffff -/* 8007A74C 000776AC 7C 64 1B 78 */ mr r4, r3 -/* 8007A750 000776B0 7F E3 FB 78 */ mr r3, r31 -/* 8007A754 000776B4 48 03 D3 C5 */ bl SetModulationColorAllActiveEffects__17CParticleDatabaseFRC6CColor -lbl_8007A758: -/* 8007A758 000776B8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8007A75C 000776BC CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8007A760 000776C0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8007A764 000776C4 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8007A768 000776C8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8007A76C 000776CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007A770 000776D0 7C 08 03 A6 */ mtlr r0 -/* 8007A774 000776D4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8007A778 000776D8 4E 80 00 20 */ blr - -.global KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef -KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: -/* 8007A77C 000776DC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8007A780 000776E0 7C 08 02 A6 */ mflr r0 -/* 8007A784 000776E4 90 01 00 64 */ stw r0, 0x64(r1) -/* 8007A788 000776E8 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8007A78C 000776EC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8007A790 000776F0 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8007A794 000776F4 81 83 00 00 */ lwz r12, 0(r3) -/* 8007A798 000776F8 7C BF 2B 78 */ mr r31, r5 -/* 8007A79C 000776FC 7C 9B 23 78 */ mr r27, r4 -/* 8007A7A0 00077700 FF E0 08 90 */ fmr f31, f1 -/* 8007A7A4 00077704 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8007A7A8 00077708 7C 7E 1B 78 */ mr r30, r3 -/* 8007A7AC 0007770C 7C DC 33 78 */ mr r28, r6 -/* 8007A7B0 00077710 7C FD 3B 78 */ mr r29, r7 -/* 8007A7B4 00077714 7F E4 FB 78 */ mr r4, r31 -/* 8007A7B8 00077718 7D 89 03 A6 */ mtctr r12 -/* 8007A7BC 0007771C 4E 80 04 21 */ bctrl -/* 8007A7C0 00077720 88 9E 04 01 */ lbz r4, 0x401(r30) -/* 8007A7C4 00077724 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f -/* 8007A7C8 00077728 40 82 03 50 */ bne lbl_8007AB18 -/* 8007A7CC 0007772C 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f -/* 8007A7D0 00077730 40 82 03 48 */ bne lbl_8007AB18 -/* 8007A7D4 00077734 28 03 00 00 */ cmplwi r3, 0 -/* 8007A7D8 00077738 40 82 00 08 */ bne lbl_8007A7E0 -/* 8007A7DC 0007773C 48 00 03 3C */ b lbl_8007AB18 -lbl_8007A7E0: -/* 8007A7E0 00077740 FC 20 F8 90 */ fmr f1, f31 -/* 8007A7E4 00077744 7F 64 DB 78 */ mr r4, r27 -/* 8007A7E8 00077748 7F E5 FB 78 */ mr r5, r31 -/* 8007A7EC 0007774C 7F C6 F3 78 */ mr r6, r30 -/* 8007A7F0 00077750 7F 87 E3 78 */ mr r7, r28 -/* 8007A7F4 00077754 7F A8 EB 78 */ mr r8, r29 -/* 8007A7F8 00077758 38 7E 04 60 */ addi r3, r30, 0x460 -/* 8007A7FC 0007775C 48 1B 94 35 */ bl KnockBack__C20CKnockBackControllerFRC9CVector3fR13CStateManagerR10CPatternedRC11CDamageInfo14EKnockBackTypef -/* 8007A800 00077760 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007A804 00077764 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8007A808 00077768 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007A80C 0007776C 41 82 00 1C */ beq lbl_8007A828 -/* 8007A810 00077770 C0 3E 04 70 */ lfs f1, 0x470(r30) -/* 8007A814 00077774 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007A818 00077778 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007A81C 0007777C 4C 41 13 82 */ cror 2, 1, 2 -/* 8007A820 00077780 40 82 00 08 */ bne lbl_8007A828 -/* 8007A824 00077784 48 0B F9 F1 */ bl FrozenBreakout__15CBodyControllerFv -lbl_8007A828: -/* 8007A828 00077788 80 1E 04 68 */ lwz r0, 0x468(r30) -/* 8007A82C 0007778C 28 00 00 09 */ cmplwi r0, 9 -/* 8007A830 00077790 41 81 02 E8 */ bgt lbl_8007AB18 -/* 8007A834 00077794 3C 60 80 3E */ lis r3, lbl_803DA8F8@ha -/* 8007A838 00077798 54 00 10 3A */ slwi r0, r0, 2 -/* 8007A83C 0007779C 38 63 A8 F8 */ addi r3, r3, lbl_803DA8F8@l -/* 8007A840 000777A0 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8007A844 000777A4 7C 09 03 A6 */ mtctr r0 -/* 8007A848 000777A8 4E 80 04 20 */ bctr -/* 8007A84C 000777AC C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007A850 000777B0 7F 65 DB 78 */ mr r5, r27 -/* 8007A854 000777B4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8007A858 000777B8 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8007A85C 000777BC D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8007A860 000777C0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8007A864 000777C4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8007A868 000777C8 48 29 81 BD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 8007A86C 000777CC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8007A870 000777D0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8007A874 000777D4 48 29 95 5D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8007A878 000777D8 C0 3E 04 6C */ lfs f1, 0x46c(r30) -/* 8007A87C 000777DC 7F C3 F3 78 */ mr r3, r30 -/* 8007A880 000777E0 80 C1 00 20 */ lwz r6, 0x20(r1) -/* 8007A884 000777E4 7F E4 FB 78 */ mr r4, r31 -/* 8007A888 000777E8 80 E1 00 24 */ lwz r7, 0x24(r1) -/* 8007A88C 000777EC 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8007A890 000777F0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8007A894 000777F4 90 C1 00 08 */ stw r6, 8(r1) -/* 8007A898 000777F8 38 C1 00 08 */ addi r6, r1, 8 -/* 8007A89C 000777FC 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8007A8A0 00077800 90 01 00 10 */ stw r0, 0x10(r1) -/* 8007A8A4 00077804 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007A8A8 00077808 81 8C 02 90 */ lwz r12, 0x290(r12) -/* 8007A8AC 0007780C 7D 89 03 A6 */ mtctr r12 -/* 8007A8B0 00077810 4E 80 04 21 */ bctrl -/* 8007A8B4 00077814 48 00 02 64 */ b lbl_8007AB18 -/* 8007A8B8 00077818 7F C3 F3 78 */ mr r3, r30 -/* 8007A8BC 0007781C 7F E4 FB 78 */ mr r4, r31 -/* 8007A8C0 00077820 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007A8C4 00077824 81 8C 02 C4 */ lwz r12, 0x2c4(r12) -/* 8007A8C8 00077828 7D 89 03 A6 */ mtctr r12 -/* 8007A8CC 0007782C 4E 80 04 21 */ bctrl -/* 8007A8D0 00077830 48 00 02 48 */ b lbl_8007AB18 -/* 8007A8D4 00077834 7F C3 F3 78 */ mr r3, r30 -/* 8007A8D8 00077838 7F E4 FB 78 */ mr r4, r31 -/* 8007A8DC 0007783C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007A8E0 00077840 C0 3E 04 6C */ lfs f1, 0x46c(r30) -/* 8007A8E4 00077844 81 8C 02 A4 */ lwz r12, 0x2a4(r12) -/* 8007A8E8 00077848 C0 42 89 48 */ lfs f2, lbl_805AA668@sda21(r2) -/* 8007A8EC 0007784C 7D 89 03 A6 */ mtctr r12 -/* 8007A8F0 00077850 4E 80 04 21 */ bctrl -/* 8007A8F4 00077854 48 00 02 24 */ b lbl_8007AB18 -/* 8007A8F8 00077858 7F C3 F3 78 */ mr r3, r30 -/* 8007A8FC 0007785C C0 3E 04 6C */ lfs f1, 0x46c(r30) -/* 8007A900 00077860 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007A904 00077864 C0 42 89 4C */ lfs f2, lbl_805AA66C@sda21(r2) -/* 8007A908 00077868 81 8C 02 A0 */ lwz r12, 0x2a0(r12) -/* 8007A90C 0007786C 7D 89 03 A6 */ mtctr r12 -/* 8007A910 00077870 4E 80 04 21 */ bctrl -/* 8007A914 00077874 48 00 02 04 */ b lbl_8007AB18 -/* 8007A918 00077878 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 8007A91C 0007787C 38 60 00 01 */ li r3, 1 -/* 8007A920 00077880 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8007A924 00077884 98 1E 04 01 */ stb r0, 0x401(r30) -/* 8007A928 00077888 7F C3 F3 78 */ mr r3, r30 -/* 8007A92C 0007788C C0 3E 04 6C */ lfs f1, 0x46c(r30) -/* 8007A930 00077890 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007A934 00077894 C0 42 89 48 */ lfs f2, lbl_805AA668@sda21(r2) -/* 8007A938 00077898 81 8C 02 A0 */ lwz r12, 0x2a0(r12) -/* 8007A93C 0007789C 7D 89 03 A6 */ mtctr r12 -/* 8007A940 000778A0 4E 80 04 21 */ bctrl -/* 8007A944 000778A4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007A948 000778A8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007A94C 000778AC 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8007A950 000778B0 7F C3 F3 78 */ mr r3, r30 -/* 8007A954 000778B4 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 8007A958 000778B8 7F E4 FB 78 */ mr r4, r31 -/* 8007A95C 000778BC 38 C0 00 14 */ li r6, 0x14 -/* 8007A960 000778C0 7D 89 03 A6 */ mtctr r12 -/* 8007A964 000778C4 4E 80 04 21 */ bctrl -/* 8007A968 000778C8 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007A96C 000778CC 38 A0 00 00 */ li r5, 0 -/* 8007A970 000778D0 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8007A974 000778D4 38 80 00 01 */ li r4, 1 -/* 8007A978 000778D8 98 1E 04 00 */ stb r0, 0x400(r30) -/* 8007A97C 000778DC 54 05 F7 FE */ rlwinm r5, r0, 0x1e, 0x1f, 0x1f -/* 8007A980 000778E0 C0 02 89 0C */ lfs f0, lbl_805AA62C@sda21(r2) -/* 8007A984 000778E4 38 60 00 00 */ li r3, 0 -/* 8007A988 000778E8 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007A98C 000778EC 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8007A990 000778F0 98 1E 04 00 */ stb r0, 0x400(r30) -/* 8007A994 000778F4 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 8007A998 000778F8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8007A99C 000778FC 98 1E 04 01 */ stb r0, 0x401(r30) -/* 8007A9A0 00077900 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f -/* 8007A9A4 00077904 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007A9A8 00077908 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8007A9AC 0007790C 98 1E 04 00 */ stb r0, 0x400(r30) -/* 8007A9B0 00077910 D0 1E 03 F4 */ stfs f0, 0x3f4(r30) -/* 8007A9B4 00077914 88 1E 04 02 */ lbz r0, 0x402(r30) -/* 8007A9B8 00077918 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8007A9BC 0007791C 98 1E 04 02 */ stb r0, 0x402(r30) -/* 8007A9C0 00077920 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007A9C4 00077924 48 0B F6 B5 */ bl DouseFlames__15CBodyControllerFv -/* 8007A9C8 00077928 83 FF 08 84 */ lwz r31, 0x884(r31) -/* 8007A9CC 0007792C 7F C4 F3 78 */ mr r4, r30 -/* 8007A9D0 00077930 7F E3 FB 78 */ mr r3, r31 -/* 8007A9D4 00077934 48 16 A6 71 */ bl StopThermalHotParticles__20CActorModelParticlesFR5CActor -/* 8007A9D8 00077938 7F E3 FB 78 */ mr r3, r31 -/* 8007A9DC 0007793C 7F C4 F3 78 */ mr r4, r30 -/* 8007A9E0 00077940 48 16 8F 65 */ bl StartBurnDeath__20CActorModelParticlesFR5CActor -/* 8007A9E4 00077944 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 8007A9E8 00077948 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8007A9EC 0007794C 40 82 01 2C */ bne lbl_8007AB18 -/* 8007A9F0 00077950 7F E3 FB 78 */ mr r3, r31 -/* 8007A9F4 00077954 7F C4 F3 78 */ mr r4, r30 -/* 8007A9F8 00077958 48 16 A8 D9 */ bl EnsureFirePopLoaded__20CActorModelParticlesR5CActor -/* 8007A9FC 0007795C 7F E3 FB 78 */ mr r3, r31 -/* 8007AA00 00077960 7F C4 F3 78 */ mr r4, r30 -/* 8007AA04 00077964 48 16 A9 09 */ bl EnsureIceBreakLoaded__20CActorModelParticlesR5CActor -/* 8007AA08 00077968 48 00 01 10 */ b lbl_8007AB18 -/* 8007AA0C 0007796C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007AA10 00077970 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007AA14 00077974 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8007AA18 00077978 7F C3 F3 78 */ mr r3, r30 -/* 8007AA1C 0007797C 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 8007AA20 00077980 7F E4 FB 78 */ mr r4, r31 -/* 8007AA24 00077984 38 C0 00 14 */ li r6, 0x14 -/* 8007AA28 00077988 7D 89 03 A6 */ mtctr r12 -/* 8007AA2C 0007798C 4E 80 04 21 */ bctrl -/* 8007AA30 00077990 48 00 00 E8 */ b lbl_8007AB18 -/* 8007AA34 00077994 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007AA38 00077998 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007AA3C 0007799C 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8007AA40 000779A0 7F C3 F3 78 */ mr r3, r30 -/* 8007AA44 000779A4 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 8007AA48 000779A8 7F E4 FB 78 */ mr r4, r31 -/* 8007AA4C 000779AC 38 C0 00 14 */ li r6, 0x14 -/* 8007AA50 000779B0 7D 89 03 A6 */ mtctr r12 -/* 8007AA54 000779B4 4E 80 04 21 */ bctrl -/* 8007AA58 000779B8 7F C3 F3 78 */ mr r3, r30 -/* 8007AA5C 000779BC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007AA60 000779C0 81 8C 02 C8 */ lwz r12, 0x2c8(r12) -/* 8007AA64 000779C4 7D 89 03 A6 */ mtctr r12 -/* 8007AA68 000779C8 4E 80 04 21 */ bctrl -/* 8007AA6C 000779CC 88 03 00 0C */ lbz r0, 0xc(r3) -/* 8007AA70 000779D0 28 00 00 00 */ cmplwi r0, 0 -/* 8007AA74 000779D4 40 82 00 10 */ bne lbl_8007AA84 -/* 8007AA78 000779D8 88 1E 05 3C */ lbz r0, 0x53c(r30) -/* 8007AA7C 000779DC 28 00 00 00 */ cmplwi r0, 0 -/* 8007AA80 000779E0 41 82 00 20 */ beq lbl_8007AAA0 -lbl_8007AA84: -/* 8007AA84 000779E4 7F C3 F3 78 */ mr r3, r30 -/* 8007AA88 000779E8 7F E4 FB 78 */ mr r4, r31 -/* 8007AA8C 000779EC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007AA90 000779F0 81 8C 02 98 */ lwz r12, 0x298(r12) -/* 8007AA94 000779F4 7D 89 03 A6 */ mtctr r12 -/* 8007AA98 000779F8 4E 80 04 21 */ bctrl -/* 8007AA9C 000779FC 48 00 00 7C */ b lbl_8007AB18 -lbl_8007AAA0: -/* 8007AAA0 00077A00 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007AAA4 00077A04 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8007AAA8 00077A08 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007AAAC 00077A0C 41 82 00 6C */ beq lbl_8007AB18 -/* 8007AAB0 00077A10 48 0B F7 65 */ bl FrozenBreakout__15CBodyControllerFv -/* 8007AAB4 00077A14 48 00 00 64 */ b lbl_8007AB18 -/* 8007AAB8 00077A18 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007AABC 00077A1C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007AAC0 00077A20 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8007AAC4 00077A24 7F C3 F3 78 */ mr r3, r30 -/* 8007AAC8 00077A28 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 8007AACC 00077A2C 7F E4 FB 78 */ mr r4, r31 -/* 8007AAD0 00077A30 38 C0 00 14 */ li r6, 0x14 -/* 8007AAD4 00077A34 7D 89 03 A6 */ mtctr r12 -/* 8007AAD8 00077A38 4E 80 04 21 */ bctrl -/* 8007AADC 00077A3C 88 1E 05 58 */ lbz r0, 0x558(r30) -/* 8007AAE0 00077A40 28 00 00 00 */ cmplwi r0, 0 -/* 8007AAE4 00077A44 41 82 00 20 */ beq lbl_8007AB04 -/* 8007AAE8 00077A48 7F C3 F3 78 */ mr r3, r30 -/* 8007AAEC 00077A4C 7F E4 FB 78 */ mr r4, r31 -/* 8007AAF0 00077A50 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007AAF4 00077A54 81 8C 02 9C */ lwz r12, 0x29c(r12) -/* 8007AAF8 00077A58 7D 89 03 A6 */ mtctr r12 -/* 8007AAFC 00077A5C 4E 80 04 21 */ bctrl -/* 8007AB00 00077A60 48 00 00 18 */ b lbl_8007AB18 -lbl_8007AB04: -/* 8007AB04 00077A64 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007AB08 00077A68 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8007AB0C 00077A6C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007AB10 00077A70 41 82 00 08 */ beq lbl_8007AB18 -/* 8007AB14 00077A74 48 0B F7 01 */ bl FrozenBreakout__15CBodyControllerFv -lbl_8007AB18: -/* 8007AB18 00077A78 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8007AB1C 00077A7C CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8007AB20 00077A80 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8007AB24 00077A84 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8007AB28 00077A88 7C 08 03 A6 */ mtlr r0 -/* 8007AB2C 00077A8C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8007AB30 00077A90 4E 80 00 20 */ blr - -.global MassiveFrozenDeath__10CPatternedFR13CStateManager -MassiveFrozenDeath__10CPatternedFR13CStateManager: -/* 8007AB34 00077A94 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8007AB38 00077A98 7C 08 02 A6 */ mflr r0 -/* 8007AB3C 00077A9C 90 01 01 24 */ stw r0, 0x124(r1) -/* 8007AB40 00077AA0 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) -/* 8007AB44 00077AA4 93 E1 01 1C */ stw r31, 0x11c(r1) -/* 8007AB48 00077AA8 7C 9F 23 78 */ mr r31, r4 -/* 8007AB4C 00077AAC 93 C1 01 18 */ stw r30, 0x118(r1) -/* 8007AB50 00077AB0 7C 7E 1B 78 */ mr r30, r3 -/* 8007AB54 00077AB4 80 63 04 58 */ lwz r3, 0x458(r3) -/* 8007AB58 00077AB8 7C 03 00 40 */ cmplw r3, r0 -/* 8007AB5C 00077ABC 40 82 00 0C */ bne lbl_8007AB68 -/* 8007AB60 00077AC0 80 1E 04 54 */ lwz r0, 0x454(r30) -/* 8007AB64 00077AC4 90 1E 04 58 */ stw r0, 0x458(r30) -lbl_8007AB68: -/* 8007AB68 00077AC8 80 1E 04 58 */ lwz r0, 0x458(r30) -/* 8007AB6C 00077ACC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8007AB70 00077AD0 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8007AB74 00077AD4 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8007AB78 00077AD8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8007AB7C 00077ADC 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 8007AB80 00077AE0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8007AB84 00077AE4 38 61 00 08 */ addi r3, r1, 8 -/* 8007AB88 00077AE8 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8007AB8C 00077AEC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8007AB90 00077AF0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8007AB94 00077AF4 38 E0 00 01 */ li r7, 1 -/* 8007AB98 00077AF8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8007AB9C 00077AFC 39 00 00 00 */ li r8, 0 -/* 8007ABA0 00077B00 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8007ABA4 00077B04 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8007ABA8 00077B08 48 26 F7 09 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 8007ABAC 00077B0C 7F C3 F3 78 */ mr r3, r30 -/* 8007ABB0 00077B10 7F E5 FB 78 */ mr r5, r31 -/* 8007ABB4 00077B14 38 80 00 18 */ li r4, 0x18 -/* 8007ABB8 00077B18 38 C0 FF FF */ li r6, -1 -/* 8007ABBC 00077B1C 4B FD 65 05 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8007ABC0 00077B20 7F C3 F3 78 */ mr r3, r30 -/* 8007ABC4 00077B24 7F E4 FB 78 */ mr r4, r31 -/* 8007ABC8 00077B28 48 00 01 F1 */ bl GenerateIceDeathExplosion__10CPatternedFR13CStateManager -/* 8007ABCC 00077B2C 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 8007ABD0 00077B30 38 61 00 30 */ addi r3, r1, 0x30 -/* 8007ABD4 00077B34 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 8007ABD8 00077B38 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8007ABDC 00077B3C C0 64 00 60 */ lfs f3, 0x60(r4) -/* 8007ABE0 00077B40 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8007ABE4 00077B44 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8007ABE8 00077B48 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 8007ABEC 00077B4C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8007ABF0 00077B50 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8007ABF4 00077B54 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8007ABF8 00077B58 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 8007ABFC 00077B5C D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8007AC00 00077B60 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8007AC04 00077B64 48 29 9C B5 */ bl Magnitude__9CVector3fCFv -/* 8007AC08 00077B68 C0 62 89 50 */ lfs f3, lbl_805AA670@sda21(r2) -/* 8007AC0C 00077B6C FC 01 18 40 */ fcmpo cr0, f1, f3 -/* 8007AC10 00077B70 40 80 00 94 */ bge lbl_8007ACA4 -/* 8007AC14 00077B74 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8007AC18 00077B78 38 61 00 3C */ addi r3, r1, 0x3c -/* 8007AC1C 00077B7C C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8007AC20 00077B80 38 81 00 18 */ addi r4, r1, 0x18 -/* 8007AC24 00077B84 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8007AC28 00077B88 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 8007AC2C 00077B8C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8007AC30 00077B90 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 8007AC34 00077B94 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8007AC38 00077B98 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8007AC3C 00077B9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007AC40 00077BA0 C0 22 89 4C */ lfs f1, lbl_805AA66C@sda21(r2) -/* 8007AC44 00077BA4 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8007AC48 00077BA8 C0 42 89 54 */ lfs f2, lbl_805AA674@sda21(r2) -/* 8007AC4C 00077BAC 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8007AC50 00077BB0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8007AC54 00077BB4 48 0E 29 71 */ bl BuildPatternedExplodeShakeData__16CCameraShakeDataFRC9CVector3ffff -/* 8007AC58 00077BB8 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8007AC5C 00077BBC 38 81 00 3C */ addi r4, r1, 0x3c -/* 8007AC60 00077BC0 38 A0 00 01 */ li r5, 1 -/* 8007AC64 00077BC4 4B F8 FD BD */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab -/* 8007AC68 00077BC8 34 81 00 BC */ addic. r4, r1, 0xbc -/* 8007AC6C 00077BCC 41 82 00 10 */ beq lbl_8007AC7C -/* 8007AC70 00077BD0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8007AC74 00077BD4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8007AC78 00077BD8 90 04 00 00 */ stw r0, 0(r4) -lbl_8007AC7C: -/* 8007AC7C 00077BDC 34 81 00 80 */ addic. r4, r1, 0x80 -/* 8007AC80 00077BE0 41 82 00 10 */ beq lbl_8007AC90 -/* 8007AC84 00077BE4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8007AC88 00077BE8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8007AC8C 00077BEC 90 04 00 00 */ stw r0, 0(r4) -lbl_8007AC90: -/* 8007AC90 00077BF0 34 81 00 44 */ addic. r4, r1, 0x44 -/* 8007AC94 00077BF4 41 82 00 10 */ beq lbl_8007ACA4 -/* 8007AC98 00077BF8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8007AC9C 00077BFC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8007ACA0 00077C00 90 04 00 00 */ stw r0, 0(r4) -lbl_8007ACA4: -/* 8007ACA4 00077C04 7F C3 F3 78 */ mr r3, r30 -/* 8007ACA8 00077C08 7F E4 FB 78 */ mr r4, r31 -/* 8007ACAC 00077C0C 4B FF DD 55 */ bl DeathDelete__10CPatternedFR13CStateManager -/* 8007ACB0 00077C10 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007ACB4 00077C14 38 60 00 00 */ li r3, 0 -/* 8007ACB8 00077C18 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8007ACBC 00077C1C 98 1E 04 00 */ stb r0, 0x400(r30) -/* 8007ACC0 00077C20 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f -/* 8007ACC4 00077C24 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007ACC8 00077C28 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8007ACCC 00077C2C 98 1E 04 00 */ stb r0, 0x400(r30) -/* 8007ACD0 00077C30 83 E1 01 1C */ lwz r31, 0x11c(r1) -/* 8007ACD4 00077C34 83 C1 01 18 */ lwz r30, 0x118(r1) -/* 8007ACD8 00077C38 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8007ACDC 00077C3C 7C 08 03 A6 */ mtlr r0 -/* 8007ACE0 00077C40 38 21 01 20 */ addi r1, r1, 0x120 -/* 8007ACE4 00077C44 4E 80 00 20 */ blr - -.global MassiveDeath__10CPatternedFR13CStateManager -MassiveDeath__10CPatternedFR13CStateManager: -/* 8007ACE8 00077C48 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007ACEC 00077C4C 7C 08 02 A6 */ mflr r0 -/* 8007ACF0 00077C50 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8007ACF4 00077C54 38 E0 00 01 */ li r7, 1 -/* 8007ACF8 00077C58 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007ACFC 00077C5C 38 A1 00 0C */ addi r5, r1, 0xc -/* 8007AD00 00077C60 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8007AD04 00077C64 39 00 00 00 */ li r8, 0 -/* 8007AD08 00077C68 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007AD0C 00077C6C 7C 9F 23 78 */ mr r31, r4 -/* 8007AD10 00077C70 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8007AD14 00077C74 7C 7E 1B 78 */ mr r30, r3 -/* 8007AD18 00077C78 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8007AD1C 00077C7C 80 1E 04 54 */ lwz r0, 0x454(r30) -/* 8007AD20 00077C80 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8007AD24 00077C84 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8007AD28 00077C88 38 61 00 08 */ addi r3, r1, 8 -/* 8007AD2C 00077C8C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8007AD30 00077C90 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 8007AD34 00077C94 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8007AD38 00077C98 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8007AD3C 00077C9C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8007AD40 00077CA0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8007AD44 00077CA4 48 26 F5 6D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 8007AD48 00077CA8 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 8007AD4C 00077CAC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8007AD50 00077CB0 40 82 00 24 */ bne lbl_8007AD74 -/* 8007AD54 00077CB4 7F C3 F3 78 */ mr r3, r30 -/* 8007AD58 00077CB8 7F E5 FB 78 */ mr r5, r31 -/* 8007AD5C 00077CBC 38 80 00 13 */ li r4, 0x13 -/* 8007AD60 00077CC0 38 C0 FF FF */ li r6, -1 -/* 8007AD64 00077CC4 4B FD 63 5D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8007AD68 00077CC8 7F C3 F3 78 */ mr r3, r30 -/* 8007AD6C 00077CCC 7F E4 FB 78 */ mr r4, r31 -/* 8007AD70 00077CD0 48 00 02 69 */ bl GenerateDeathExplosion__10CPatternedFR13CStateManager -lbl_8007AD74: -/* 8007AD74 00077CD4 7F C3 F3 78 */ mr r3, r30 -/* 8007AD78 00077CD8 7F E4 FB 78 */ mr r4, r31 -/* 8007AD7C 00077CDC 4B FF DC 85 */ bl DeathDelete__10CPatternedFR13CStateManager -/* 8007AD80 00077CE0 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007AD84 00077CE4 38 60 00 00 */ li r3, 0 -/* 8007AD88 00077CE8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8007AD8C 00077CEC 98 1E 04 00 */ stb r0, 0x400(r30) -/* 8007AD90 00077CF0 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f -/* 8007AD94 00077CF4 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007AD98 00077CF8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8007AD9C 00077CFC 98 1E 04 00 */ stb r0, 0x400(r30) -/* 8007ADA0 00077D00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007ADA4 00077D04 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8007ADA8 00077D08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007ADAC 00077D0C 7C 08 03 A6 */ mtlr r0 -/* 8007ADB0 00077D10 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007ADB4 00077D14 4E 80 00 20 */ blr - -.global GenerateIceDeathExplosion__10CPatternedFR13CStateManager -GenerateIceDeathExplosion__10CPatternedFR13CStateManager: -/* 8007ADB8 00077D18 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8007ADBC 00077D1C 7C 08 02 A6 */ mflr r0 -/* 8007ADC0 00077D20 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8007ADC4 00077D24 BF 21 00 C4 */ stmw r25, 0xc4(r1) -/* 8007ADC8 00077D28 7C 7A 1B 78 */ mr r26, r3 -/* 8007ADCC 00077D2C 7C 9E 23 78 */ mr r30, r4 -/* 8007ADD0 00077D30 3B 7A 05 4C */ addi r27, r26, 0x54c -/* 8007ADD4 00077D34 88 03 05 58 */ lbz r0, 0x558(r3) -/* 8007ADD8 00077D38 28 00 00 00 */ cmplwi r0, 0 -/* 8007ADDC 00077D3C 41 82 01 E8 */ beq lbl_8007AFC4 -/* 8007ADE0 00077D40 38 61 00 8C */ addi r3, r1, 0x8c -/* 8007ADE4 00077D44 38 9A 00 34 */ addi r4, r26, 0x34 -/* 8007ADE8 00077D48 48 29 7D 8D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8007ADEC 00077D4C 80 DA 00 64 */ lwz r6, 0x64(r26) -/* 8007ADF0 00077D50 38 61 00 5C */ addi r3, r1, 0x5c -/* 8007ADF4 00077D54 C0 1A 05 48 */ lfs f0, 0x548(r26) -/* 8007ADF8 00077D58 38 9A 00 34 */ addi r4, r26, 0x34 -/* 8007ADFC 00077D5C C0 26 00 08 */ lfs f1, 8(r6) -/* 8007AE00 00077D60 38 A1 00 68 */ addi r5, r1, 0x68 -/* 8007AE04 00077D64 C0 66 00 04 */ lfs f3, 4(r6) -/* 8007AE08 00077D68 C0 5A 05 44 */ lfs f2, 0x544(r26) -/* 8007AE0C 00077D6C EC 81 00 32 */ fmuls f4, f1, f0 -/* 8007AE10 00077D70 C0 26 00 00 */ lfs f1, 0(r6) -/* 8007AE14 00077D74 C0 1A 05 40 */ lfs f0, 0x540(r26) -/* 8007AE18 00077D78 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8007AE1C 00077D7C D0 81 00 70 */ stfs f4, 0x70(r1) -/* 8007AE20 00077D80 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8007AE24 00077D84 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8007AE28 00077D88 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8007AE2C 00077D8C 48 29 7C BD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8007AE30 00077D90 88 1B 00 0C */ lbz r0, 0xc(r27) -/* 8007AE34 00077D94 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 8007AE38 00077D98 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8007AE3C 00077D9C 28 00 00 00 */ cmplwi r0, 0 -/* 8007AE40 00077DA0 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8007AE44 00077DA4 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8007AE48 00077DA8 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 8007AE4C 00077DAC D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8007AE50 00077DB0 41 82 01 74 */ beq lbl_8007AFC4 -/* 8007AE54 00077DB4 3C 60 80 3D */ lis r3, lbl_803CD600@ha -/* 8007AE58 00077DB8 3B A0 00 00 */ li r29, 0 -/* 8007AE5C 00077DBC 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l -/* 8007AE60 00077DC0 3B 20 00 00 */ li r25, 0 -/* 8007AE64 00077DC4 3B 80 00 00 */ li r28, 0 -/* 8007AE68 00077DC8 38 60 01 00 */ li r3, 0x100 -/* 8007AE6C 00077DCC 38 A0 00 00 */ li r5, 0 -/* 8007AE70 00077DD0 48 29 A9 FD */ bl __nw__FUlPCcPCc -/* 8007AE74 00077DD4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007AE78 00077DD8 41 82 00 CC */ beq lbl_8007AF44 -/* 8007AE7C 00077DDC 3B 21 00 34 */ addi r25, r1, 0x34 -/* 8007AE80 00077DE0 7F 64 DB 78 */ mr r4, r27 -/* 8007AE84 00077DE4 7F 23 CB 78 */ mr r3, r25 -/* 8007AE88 00077DE8 48 2C 60 21 */ bl __ct__6CTokenFRC6CToken -/* 8007AE8C 00077DEC 7F 23 CB 78 */ mr r3, r25 -/* 8007AE90 00077DF0 48 2C 5F 7D */ bl GetObj__6CTokenFv -/* 8007AE94 00077DF4 80 03 00 04 */ lwz r0, 4(r3) -/* 8007AE98 00077DF8 7F C4 F3 78 */ mr r4, r30 -/* 8007AE9C 00077DFC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8007AEA0 00077E00 3B 80 00 01 */ li r28, 1 -/* 8007AEA4 00077E04 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8007AEA8 00077E08 4B FD 22 35 */ bl AllocateUniqueId__13CStateManagerFv -/* 8007AEAC 00077E0C 80 FA 00 04 */ lwz r7, 4(r26) -/* 8007AEB0 00077E10 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 8007AEB4 00077E14 A0 81 00 10 */ lhz r4, 0x10(r1) -/* 8007AEB8 00077E18 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 8007AEBC 00077E1C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 8007AEC0 00077E20 38 61 00 74 */ addi r3, r1, 0x74 -/* 8007AEC4 00077E24 B0 81 00 14 */ sth r4, 0x14(r1) -/* 8007AEC8 00077E28 38 81 00 2C */ addi r4, r1, 0x2c -/* 8007AECC 00077E2C 38 C1 00 30 */ addi r6, r1, 0x30 -/* 8007AED0 00077E30 90 E1 00 28 */ stw r7, 0x28(r1) -/* 8007AED4 00077E34 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 8007AED8 00077E38 90 01 00 30 */ stw r0, 0x30(r1) -/* 8007AEDC 00077E3C 4B FD 65 A9 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8007AEE0 00077E40 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 8007AEE4 00077E44 38 61 00 40 */ addi r3, r1, 0x40 -/* 8007AEE8 00077E48 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 8007AEEC 00077E4C 3B 20 00 01 */ li r25, 1 -/* 8007AEF0 00077E50 38 84 00 25 */ addi r4, r4, 0x25 -/* 8007AEF4 00077E54 4B F8 9D C5 */ bl string_l__4rstlFPCc -/* 8007AEF8 00077E58 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 8007AEFC 00077E5C 3B A0 00 01 */ li r29, 1 -/* 8007AF00 00077E60 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8007AF04 00077E64 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8007AF08 00077E68 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8007AF0C 00077E6C 48 2C F0 A1 */ bl White__6CColorFv -/* 8007AF10 00077E70 38 01 00 50 */ addi r0, r1, 0x50 -/* 8007AF14 00077E74 38 81 00 34 */ addi r4, r1, 0x34 -/* 8007AF18 00077E78 90 01 00 08 */ stw r0, 8(r1) -/* 8007AF1C 00077E7C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8007AF20 00077E80 38 E1 00 74 */ addi r7, r1, 0x74 -/* 8007AF24 00077E84 39 01 00 40 */ addi r8, r1, 0x40 -/* 8007AF28 00077E88 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007AF2C 00077E8C 7F E3 FB 78 */ mr r3, r31 -/* 8007AF30 00077E90 39 21 00 8C */ addi r9, r1, 0x8c -/* 8007AF34 00077E94 38 C0 00 01 */ li r6, 1 -/* 8007AF38 00077E98 39 40 00 01 */ li r10, 1 -/* 8007AF3C 00077E9C 4B FD FB BD */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" -/* 8007AF40 00077EA0 7C 7F 1B 78 */ mr r31, r3 -lbl_8007AF44: -/* 8007AF44 00077EA4 7F 80 07 75 */ extsb. r0, r28 -/* 8007AF48 00077EA8 41 82 00 10 */ beq lbl_8007AF58 -/* 8007AF4C 00077EAC 38 61 00 34 */ addi r3, r1, 0x34 -/* 8007AF50 00077EB0 38 80 00 00 */ li r4, 0 -/* 8007AF54 00077EB4 48 2C 5E ED */ bl __dt__6CTokenFv -lbl_8007AF58: -/* 8007AF58 00077EB8 7F 20 07 75 */ extsb. r0, r25 -/* 8007AF5C 00077EBC 41 82 00 44 */ beq lbl_8007AFA0 -/* 8007AF60 00077EC0 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 8007AF64 00077EC4 80 61 00 84 */ lwz r3, 0x84(r1) -/* 8007AF68 00077EC8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8007AF6C 00077ECC 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8007AF70 00077ED0 7C 64 1B 78 */ mr r4, r3 -/* 8007AF74 00077ED4 7C 03 02 14 */ add r0, r3, r0 -/* 8007AF78 00077ED8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8007AF7C 00077EDC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007AF80 00077EE0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8007AF84 00077EE4 48 00 00 08 */ b lbl_8007AF8C -lbl_8007AF88: -/* 8007AF88 00077EE8 38 84 00 0C */ addi r4, r4, 0xc -lbl_8007AF8C: -/* 8007AF8C 00077EEC 7C 04 00 40 */ cmplw r4, r0 -/* 8007AF90 00077EF0 40 82 FF F8 */ bne lbl_8007AF88 -/* 8007AF94 00077EF4 28 03 00 00 */ cmplwi r3, 0 -/* 8007AF98 00077EF8 41 82 00 08 */ beq lbl_8007AFA0 -/* 8007AF9C 00077EFC 48 29 A9 95 */ bl Free__7CMemoryFPCv -lbl_8007AFA0: -/* 8007AFA0 00077F00 7F A0 07 75 */ extsb. r0, r29 -/* 8007AFA4 00077F04 41 82 00 0C */ beq lbl_8007AFB0 -/* 8007AFA8 00077F08 38 61 00 40 */ addi r3, r1, 0x40 -/* 8007AFAC 00077F0C 48 2C 2B 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8007AFB0: -/* 8007AFB0 00077F10 28 1F 00 00 */ cmplwi r31, 0 -/* 8007AFB4 00077F14 41 82 00 10 */ beq lbl_8007AFC4 -/* 8007AFB8 00077F18 7F C3 F3 78 */ mr r3, r30 -/* 8007AFBC 00077F1C 7F E4 FB 78 */ mr r4, r31 -/* 8007AFC0 00077F20 4B FD 1D 35 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -lbl_8007AFC4: -/* 8007AFC4 00077F24 BB 21 00 C4 */ lmw r25, 0xc4(r1) -/* 8007AFC8 00077F28 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8007AFCC 00077F2C 7C 08 03 A6 */ mtlr r0 -/* 8007AFD0 00077F30 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8007AFD4 00077F34 4E 80 00 20 */ blr - -.global GenerateDeathExplosion__10CPatternedFR13CStateManager -GenerateDeathExplosion__10CPatternedFR13CStateManager: -/* 8007AFD8 00077F38 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8007AFDC 00077F3C 7C 08 02 A6 */ mflr r0 -/* 8007AFE0 00077F40 90 01 01 44 */ stw r0, 0x144(r1) -/* 8007AFE4 00077F44 BF 01 01 20 */ stmw r24, 0x120(r1) -/* 8007AFE8 00077F48 7C 7C 1B 78 */ mr r28, r3 -/* 8007AFEC 00077F4C 7C 9D 23 78 */ mr r29, r4 -/* 8007AFF0 00077F50 81 83 00 00 */ lwz r12, 0(r3) -/* 8007AFF4 00077F54 81 8C 02 C8 */ lwz r12, 0x2c8(r12) -/* 8007AFF8 00077F58 7D 89 03 A6 */ mtctr r12 -/* 8007AFFC 00077F5C 4E 80 04 21 */ bctrl -/* 8007B000 00077F60 88 03 00 0C */ lbz r0, 0xc(r3) -/* 8007B004 00077F64 3B DC 05 30 */ addi r30, r28, 0x530 -/* 8007B008 00077F68 7C 78 1B 78 */ mr r24, r3 -/* 8007B00C 00077F6C 28 00 00 00 */ cmplwi r0, 0 -/* 8007B010 00077F70 40 82 00 10 */ bne lbl_8007B020 -/* 8007B014 00077F74 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 8007B018 00077F78 28 00 00 00 */ cmplwi r0, 0 -/* 8007B01C 00077F7C 41 82 03 74 */ beq lbl_8007B390 -lbl_8007B020: -/* 8007B020 00077F80 38 61 00 EC */ addi r3, r1, 0xec -/* 8007B024 00077F84 38 9C 00 34 */ addi r4, r28, 0x34 -/* 8007B028 00077F88 48 29 7B 4D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8007B02C 00077F8C 80 DC 00 64 */ lwz r6, 0x64(r28) -/* 8007B030 00077F90 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8007B034 00077F94 C0 1C 05 1C */ lfs f0, 0x51c(r28) -/* 8007B038 00077F98 38 9C 00 34 */ addi r4, r28, 0x34 -/* 8007B03C 00077F9C C0 26 00 08 */ lfs f1, 8(r6) -/* 8007B040 00077FA0 38 A1 00 B0 */ addi r5, r1, 0xb0 -/* 8007B044 00077FA4 C0 66 00 04 */ lfs f3, 4(r6) -/* 8007B048 00077FA8 C0 5C 05 18 */ lfs f2, 0x518(r28) -/* 8007B04C 00077FAC EC 81 00 32 */ fmuls f4, f1, f0 -/* 8007B050 00077FB0 C0 26 00 00 */ lfs f1, 0(r6) -/* 8007B054 00077FB4 C0 1C 05 14 */ lfs f0, 0x514(r28) -/* 8007B058 00077FB8 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8007B05C 00077FBC D0 81 00 B8 */ stfs f4, 0xb8(r1) -/* 8007B060 00077FC0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8007B064 00077FC4 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 8007B068 00077FC8 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8007B06C 00077FCC 48 29 7A 7D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8007B070 00077FD0 C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 8007B074 00077FD4 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 8007B078 00077FD8 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 8007B07C 00077FDC D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 8007B080 00077FE0 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 8007B084 00077FE4 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 8007B088 00077FE8 88 18 00 0C */ lbz r0, 0xc(r24) -/* 8007B08C 00077FEC 28 00 00 00 */ cmplwi r0, 0 -/* 8007B090 00077FF0 41 82 01 84 */ beq lbl_8007B214 -/* 8007B094 00077FF4 3C 60 80 3D */ lis r3, lbl_803CD600@ha -/* 8007B098 00077FF8 3B 60 00 00 */ li r27, 0 -/* 8007B09C 00077FFC 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l -/* 8007B0A0 00078000 3B 40 00 00 */ li r26, 0 -/* 8007B0A4 00078004 3B 20 00 00 */ li r25, 0 -/* 8007B0A8 00078008 38 60 01 00 */ li r3, 0x100 -/* 8007B0AC 0007800C 38 A0 00 00 */ li r5, 0 -/* 8007B0B0 00078010 48 29 A7 BD */ bl __nw__FUlPCcPCc -/* 8007B0B4 00078014 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007B0B8 00078018 41 82 00 DC */ beq lbl_8007B194 -/* 8007B0BC 0007801C 3B 21 00 7C */ addi r25, r1, 0x7c -/* 8007B0C0 00078020 7F 04 C3 78 */ mr r4, r24 -/* 8007B0C4 00078024 7F 23 CB 78 */ mr r3, r25 -/* 8007B0C8 00078028 48 2C 5D E1 */ bl __ct__6CTokenFRC6CToken -/* 8007B0CC 0007802C 7F 23 CB 78 */ mr r3, r25 -/* 8007B0D0 00078030 48 2C 5D 3D */ bl GetObj__6CTokenFv -/* 8007B0D4 00078034 80 03 00 04 */ lwz r0, 4(r3) -/* 8007B0D8 00078038 7F A4 EB 78 */ mr r4, r29 -/* 8007B0DC 0007803C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8007B0E0 00078040 3B 20 00 01 */ li r25, 1 -/* 8007B0E4 00078044 90 01 00 84 */ stw r0, 0x84(r1) -/* 8007B0E8 00078048 4B FD 1F F5 */ bl AllocateUniqueId__13CStateManagerFv -/* 8007B0EC 0007804C 80 FC 00 04 */ lwz r7, 4(r28) -/* 8007B0F0 00078050 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 8007B0F4 00078054 A0 81 00 18 */ lhz r4, 0x18(r1) -/* 8007B0F8 00078058 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 8007B0FC 0007805C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 8007B100 00078060 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8007B104 00078064 B0 81 00 1C */ sth r4, 0x1c(r1) -/* 8007B108 00078068 38 81 00 4C */ addi r4, r1, 0x4c -/* 8007B10C 0007806C 38 C1 00 50 */ addi r6, r1, 0x50 -/* 8007B110 00078070 90 E1 00 48 */ stw r7, 0x48(r1) -/* 8007B114 00078074 90 E1 00 4C */ stw r7, 0x4c(r1) -/* 8007B118 00078078 90 01 00 50 */ stw r0, 0x50(r1) -/* 8007B11C 0007807C 4B FD 63 69 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8007B120 00078080 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 8007B124 00078084 38 61 00 88 */ addi r3, r1, 0x88 -/* 8007B128 00078088 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 8007B12C 0007808C 3B 40 00 01 */ li r26, 1 -/* 8007B130 00078090 38 84 00 25 */ addi r4, r4, 0x25 -/* 8007B134 00078094 4B F8 9B 85 */ bl string_l__4rstlFPCc -/* 8007B138 00078098 88 1C 04 02 */ lbz r0, 0x402(r28) -/* 8007B13C 0007809C 3B 60 00 01 */ li r27, 1 -/* 8007B140 000780A0 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 8007B144 000780A4 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8007B148 000780A8 7C 00 00 34 */ cntlzw r0, r0 -/* 8007B14C 000780AC D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8007B150 000780B0 54 18 D9 7E */ srwi r24, r0, 5 -/* 8007B154 000780B4 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8007B158 000780B8 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8007B15C 000780BC 48 2C EE 51 */ bl White__6CColorFv -/* 8007B160 000780C0 38 01 00 98 */ addi r0, r1, 0x98 -/* 8007B164 000780C4 7F 0A C3 78 */ mr r10, r24 -/* 8007B168 000780C8 90 01 00 08 */ stw r0, 8(r1) -/* 8007B16C 000780CC 38 81 00 7C */ addi r4, r1, 0x7c -/* 8007B170 000780D0 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8007B174 000780D4 38 E1 00 D4 */ addi r7, r1, 0xd4 -/* 8007B178 000780D8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007B17C 000780DC 7F E3 FB 78 */ mr r3, r31 -/* 8007B180 000780E0 39 01 00 88 */ addi r8, r1, 0x88 -/* 8007B184 000780E4 39 21 00 EC */ addi r9, r1, 0xec -/* 8007B188 000780E8 38 C0 00 01 */ li r6, 1 -/* 8007B18C 000780EC 4B FD F9 6D */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" -/* 8007B190 000780F0 7C 7F 1B 78 */ mr r31, r3 -lbl_8007B194: -/* 8007B194 000780F4 7F 20 07 75 */ extsb. r0, r25 -/* 8007B198 000780F8 41 82 00 10 */ beq lbl_8007B1A8 -/* 8007B19C 000780FC 38 61 00 7C */ addi r3, r1, 0x7c -/* 8007B1A0 00078100 38 80 00 00 */ li r4, 0 -/* 8007B1A4 00078104 48 2C 5C 9D */ bl __dt__6CTokenFv -lbl_8007B1A8: -/* 8007B1A8 00078108 7F 40 07 75 */ extsb. r0, r26 -/* 8007B1AC 0007810C 41 82 00 44 */ beq lbl_8007B1F0 -/* 8007B1B0 00078110 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 8007B1B4 00078114 80 61 00 E4 */ lwz r3, 0xe4(r1) -/* 8007B1B8 00078118 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8007B1BC 0007811C 90 61 00 34 */ stw r3, 0x34(r1) -/* 8007B1C0 00078120 7C 64 1B 78 */ mr r4, r3 -/* 8007B1C4 00078124 7C 03 02 14 */ add r0, r3, r0 -/* 8007B1C8 00078128 90 61 00 30 */ stw r3, 0x30(r1) -/* 8007B1CC 0007812C 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8007B1D0 00078130 90 01 00 38 */ stw r0, 0x38(r1) -/* 8007B1D4 00078134 48 00 00 08 */ b lbl_8007B1DC -lbl_8007B1D8: -/* 8007B1D8 00078138 38 84 00 0C */ addi r4, r4, 0xc -lbl_8007B1DC: -/* 8007B1DC 0007813C 7C 04 00 40 */ cmplw r4, r0 -/* 8007B1E0 00078140 40 82 FF F8 */ bne lbl_8007B1D8 -/* 8007B1E4 00078144 28 03 00 00 */ cmplwi r3, 0 -/* 8007B1E8 00078148 41 82 00 08 */ beq lbl_8007B1F0 -/* 8007B1EC 0007814C 48 29 A7 45 */ bl Free__7CMemoryFPCv -lbl_8007B1F0: -/* 8007B1F0 00078150 7F 60 07 75 */ extsb. r0, r27 -/* 8007B1F4 00078154 41 82 00 0C */ beq lbl_8007B200 -/* 8007B1F8 00078158 38 61 00 88 */ addi r3, r1, 0x88 -/* 8007B1FC 0007815C 48 2C 28 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8007B200: -/* 8007B200 00078160 28 1F 00 00 */ cmplwi r31, 0 -/* 8007B204 00078164 41 82 00 10 */ beq lbl_8007B214 -/* 8007B208 00078168 7F A3 EB 78 */ mr r3, r29 -/* 8007B20C 0007816C 7F E4 FB 78 */ mr r4, r31 -/* 8007B210 00078170 4B FD 1A E5 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -lbl_8007B214: -/* 8007B214 00078174 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 8007B218 00078178 28 00 00 00 */ cmplwi r0, 0 -/* 8007B21C 0007817C 41 82 01 74 */ beq lbl_8007B390 -/* 8007B220 00078180 3C 60 80 3D */ lis r3, lbl_803CD600@ha -/* 8007B224 00078184 3B 20 00 00 */ li r25, 0 -/* 8007B228 00078188 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l -/* 8007B22C 0007818C 3B 00 00 00 */ li r24, 0 -/* 8007B230 00078190 3B 40 00 00 */ li r26, 0 -/* 8007B234 00078194 38 60 01 00 */ li r3, 0x100 -/* 8007B238 00078198 38 A0 00 00 */ li r5, 0 -/* 8007B23C 0007819C 48 29 A6 31 */ bl __nw__FUlPCcPCc -/* 8007B240 000781A0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007B244 000781A4 41 82 00 CC */ beq lbl_8007B310 -/* 8007B248 000781A8 3B 01 00 54 */ addi r24, r1, 0x54 -/* 8007B24C 000781AC 7F C4 F3 78 */ mr r4, r30 -/* 8007B250 000781B0 7F 03 C3 78 */ mr r3, r24 -/* 8007B254 000781B4 48 2C 5C 55 */ bl __ct__6CTokenFRC6CToken -/* 8007B258 000781B8 7F 03 C3 78 */ mr r3, r24 -/* 8007B25C 000781BC 48 2C 5B B1 */ bl GetObj__6CTokenFv -/* 8007B260 000781C0 80 03 00 04 */ lwz r0, 4(r3) -/* 8007B264 000781C4 7F A4 EB 78 */ mr r4, r29 -/* 8007B268 000781C8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8007B26C 000781CC 3B 40 00 01 */ li r26, 1 -/* 8007B270 000781D0 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8007B274 000781D4 4B FD 1E 69 */ bl AllocateUniqueId__13CStateManagerFv -/* 8007B278 000781D8 80 FC 00 04 */ lwz r7, 4(r28) -/* 8007B27C 000781DC 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 8007B280 000781E0 A0 81 00 10 */ lhz r4, 0x10(r1) -/* 8007B284 000781E4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 8007B288 000781E8 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 8007B28C 000781EC 38 61 00 BC */ addi r3, r1, 0xbc -/* 8007B290 000781F0 B0 81 00 14 */ sth r4, 0x14(r1) -/* 8007B294 000781F4 38 81 00 44 */ addi r4, r1, 0x44 -/* 8007B298 000781F8 38 C1 00 50 */ addi r6, r1, 0x50 -/* 8007B29C 000781FC 90 E1 00 40 */ stw r7, 0x40(r1) -/* 8007B2A0 00078200 90 E1 00 44 */ stw r7, 0x44(r1) -/* 8007B2A4 00078204 90 01 00 50 */ stw r0, 0x50(r1) -/* 8007B2A8 00078208 4B FD 61 DD */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8007B2AC 0007820C 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 8007B2B0 00078210 38 61 00 60 */ addi r3, r1, 0x60 -/* 8007B2B4 00078214 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 8007B2B8 00078218 3B 00 00 01 */ li r24, 1 -/* 8007B2BC 0007821C 38 84 00 25 */ addi r4, r4, 0x25 -/* 8007B2C0 00078220 4B F8 99 F9 */ bl string_l__4rstlFPCc -/* 8007B2C4 00078224 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 8007B2C8 00078228 3B 20 00 01 */ li r25, 1 -/* 8007B2CC 0007822C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8007B2D0 00078230 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8007B2D4 00078234 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8007B2D8 00078238 48 2C EC D5 */ bl White__6CColorFv -/* 8007B2DC 0007823C 38 01 00 70 */ addi r0, r1, 0x70 -/* 8007B2E0 00078240 38 81 00 54 */ addi r4, r1, 0x54 -/* 8007B2E4 00078244 90 01 00 08 */ stw r0, 8(r1) -/* 8007B2E8 00078248 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8007B2EC 0007824C 38 E1 00 BC */ addi r7, r1, 0xbc -/* 8007B2F0 00078250 39 01 00 60 */ addi r8, r1, 0x60 -/* 8007B2F4 00078254 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007B2F8 00078258 7F E3 FB 78 */ mr r3, r31 -/* 8007B2FC 0007825C 39 21 00 EC */ addi r9, r1, 0xec -/* 8007B300 00078260 38 C0 00 01 */ li r6, 1 -/* 8007B304 00078264 39 40 00 00 */ li r10, 0 -/* 8007B308 00078268 4B FD F5 D5 */ bl "__ct__10CExplosionFRC31TLockedToken<20CElectricDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" -/* 8007B30C 0007826C 7C 7F 1B 78 */ mr r31, r3 -lbl_8007B310: -/* 8007B310 00078270 7F 40 07 75 */ extsb. r0, r26 -/* 8007B314 00078274 41 82 00 10 */ beq lbl_8007B324 -/* 8007B318 00078278 38 61 00 54 */ addi r3, r1, 0x54 -/* 8007B31C 0007827C 38 80 00 00 */ li r4, 0 -/* 8007B320 00078280 48 2C 5B 21 */ bl __dt__6CTokenFv -lbl_8007B324: -/* 8007B324 00078284 7F 00 07 75 */ extsb. r0, r24 -/* 8007B328 00078288 41 82 00 44 */ beq lbl_8007B36C -/* 8007B32C 0007828C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8007B330 00078290 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 8007B334 00078294 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8007B338 00078298 90 61 00 24 */ stw r3, 0x24(r1) -/* 8007B33C 0007829C 7C 64 1B 78 */ mr r4, r3 -/* 8007B340 000782A0 7C 03 02 14 */ add r0, r3, r0 -/* 8007B344 000782A4 90 61 00 20 */ stw r3, 0x20(r1) -/* 8007B348 000782A8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8007B34C 000782AC 90 01 00 28 */ stw r0, 0x28(r1) -/* 8007B350 000782B0 48 00 00 08 */ b lbl_8007B358 -lbl_8007B354: -/* 8007B354 000782B4 38 84 00 0C */ addi r4, r4, 0xc -lbl_8007B358: -/* 8007B358 000782B8 7C 04 00 40 */ cmplw r4, r0 -/* 8007B35C 000782BC 40 82 FF F8 */ bne lbl_8007B354 -/* 8007B360 000782C0 28 03 00 00 */ cmplwi r3, 0 -/* 8007B364 000782C4 41 82 00 08 */ beq lbl_8007B36C -/* 8007B368 000782C8 48 29 A5 C9 */ bl Free__7CMemoryFPCv -lbl_8007B36C: -/* 8007B36C 000782CC 7F 20 07 75 */ extsb. r0, r25 -/* 8007B370 000782D0 41 82 00 0C */ beq lbl_8007B37C -/* 8007B374 000782D4 38 61 00 60 */ addi r3, r1, 0x60 -/* 8007B378 000782D8 48 2C 27 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8007B37C: -/* 8007B37C 000782DC 28 1F 00 00 */ cmplwi r31, 0 -/* 8007B380 000782E0 41 82 00 10 */ beq lbl_8007B390 -/* 8007B384 000782E4 7F A3 EB 78 */ mr r3, r29 -/* 8007B388 000782E8 7F E4 FB 78 */ mr r4, r31 -/* 8007B38C 000782EC 4B FD 19 69 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -lbl_8007B390: -/* 8007B390 000782F0 BB 01 01 20 */ lmw r24, 0x120(r1) -/* 8007B394 000782F4 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8007B398 000782F8 7C 08 03 A6 */ mtlr r0 -/* 8007B39C 000782FC 38 21 01 40 */ addi r1, r1, 0x140 -/* 8007B3A0 00078300 4E 80 00 20 */ blr - -.global Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState: -/* 8007B3A4 00078304 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8007B3A8 00078308 7C 08 02 A6 */ mflr r0 -/* 8007B3AC 0007830C 90 01 01 44 */ stw r0, 0x144(r1) -/* 8007B3B0 00078310 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 8007B3B4 00078314 7C BF 2B 78 */ mr r31, r5 -/* 8007B3B8 00078318 93 C1 01 38 */ stw r30, 0x138(r1) -/* 8007B3BC 0007831C 7C DE 33 78 */ mr r30, r6 -/* 8007B3C0 00078320 93 A1 01 34 */ stw r29, 0x134(r1) -/* 8007B3C4 00078324 7C 9D 23 78 */ mr r29, r4 -/* 8007B3C8 00078328 93 81 01 30 */ stw r28, 0x130(r1) -/* 8007B3CC 0007832C 7C 7C 1B 78 */ mr r28, r3 -/* 8007B3D0 00078330 88 03 04 00 */ lbz r0, 0x400(r3) -/* 8007B3D4 00078334 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007B3D8 00078338 41 82 04 2C */ beq lbl_8007B804 -/* 8007B3DC 0007833C 80 BC 04 50 */ lwz r5, 0x450(r28) -/* 8007B3E0 00078340 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007B3E4 00078344 C0 25 03 20 */ lfs f1, 0x320(r5) -/* 8007B3E8 00078348 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007B3EC 0007834C 41 81 00 C0 */ bgt lbl_8007B4AC -/* 8007B3F0 00078350 81 83 00 00 */ lwz r12, 0(r3) -/* 8007B3F4 00078354 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8007B3F8 00078358 7D 89 03 A6 */ mtctr r12 -/* 8007B3FC 0007835C 4E 80 04 21 */ bctrl -/* 8007B400 00078360 C0 5C 03 E4 */ lfs f2, 0x3e4(r28) -/* 8007B404 00078364 C0 23 00 00 */ lfs f1, 0(r3) -/* 8007B408 00078368 C0 1C 03 DC */ lfs f0, 0x3dc(r28) -/* 8007B40C 0007836C EC 22 08 28 */ fsubs f1, f2, f1 -/* 8007B410 00078370 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007B414 00078374 4C 41 13 82 */ cror 2, 1, 2 -/* 8007B418 00078378 7C 60 00 26 */ mfcr r3 -/* 8007B41C 0007837C 88 1C 04 02 */ lbz r0, 0x402(r28) -/* 8007B420 00078380 50 60 4E 72 */ rlwimi r0, r3, 9, 0x19, 0x19 -/* 8007B424 00078384 98 1C 04 02 */ stb r0, 0x402(r28) -/* 8007B428 00078388 88 1C 04 02 */ lbz r0, 0x402(r28) -/* 8007B42C 0007838C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007B430 00078390 41 82 00 38 */ beq lbl_8007B468 -/* 8007B434 00078394 88 1C 05 58 */ lbz r0, 0x558(r28) -/* 8007B438 00078398 28 00 00 00 */ cmplwi r0, 0 -/* 8007B43C 0007839C 41 82 00 2C */ beq lbl_8007B468 -/* 8007B440 000783A0 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8007B444 000783A4 48 0B EC 89 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 8007B448 000783A8 C0 02 89 34 */ lfs f0, lbl_805AA654@sda21(r2) -/* 8007B44C 000783AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007B450 000783B0 40 81 00 18 */ ble lbl_8007B468 -/* 8007B454 000783B4 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 8007B458 000783B8 38 60 00 01 */ li r3, 1 -/* 8007B45C 000783BC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8007B460 000783C0 98 1C 04 00 */ stb r0, 0x400(r28) -/* 8007B464 000783C4 48 00 00 48 */ b lbl_8007B4AC -lbl_8007B468: -/* 8007B468 000783C8 7F 83 E3 78 */ mr r3, r28 -/* 8007B46C 000783CC 7F A4 EB 78 */ mr r4, r29 -/* 8007B470 000783D0 81 9C 00 00 */ lwz r12, 0(r28) -/* 8007B474 000783D4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8007B478 000783D8 7D 89 03 A6 */ mtctr r12 -/* 8007B47C 000783DC 4E 80 04 21 */ bctrl -/* 8007B480 000783E0 C0 5C 03 E4 */ lfs f2, 0x3e4(r28) -/* 8007B484 000783E4 C0 23 00 00 */ lfs f1, 0(r3) -/* 8007B488 000783E8 C0 1C 03 D8 */ lfs f0, 0x3d8(r28) -/* 8007B48C 000783EC EC 22 08 28 */ fsubs f1, f2, f1 -/* 8007B490 000783F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007B494 000783F4 4C 41 13 82 */ cror 2, 1, 2 -/* 8007B498 000783F8 40 82 00 14 */ bne lbl_8007B4AC -/* 8007B49C 000783FC 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 8007B4A0 00078400 38 60 00 01 */ li r3, 1 -/* 8007B4A4 00078404 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8007B4A8 00078408 98 1C 04 00 */ stb r0, 0x400(r28) -lbl_8007B4AC: -/* 8007B4AC 0007840C 88 7C 04 00 */ lbz r3, 0x400(r28) -/* 8007B4B0 00078410 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 8007B4B4 00078414 40 82 00 0C */ bne lbl_8007B4C0 -/* 8007B4B8 00078418 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 8007B4BC 0007841C 41 82 01 14 */ beq lbl_8007B5D0 -lbl_8007B4C0: -/* 8007B4C0 00078420 88 1C 03 28 */ lbz r0, 0x328(r28) -/* 8007B4C4 00078424 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8007B4C8 00078428 41 82 01 64 */ beq lbl_8007B62C -/* 8007B4CC 0007842C C0 1C 03 E0 */ lfs f0, 0x3e0(r28) -/* 8007B4D0 00078430 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 8007B4D4 00078434 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8007B4D8 00078438 4C 40 13 82 */ cror 2, 0, 2 -/* 8007B4DC 0007843C 40 82 01 50 */ bne lbl_8007B62C -/* 8007B4E0 00078440 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8007B4E4 00078444 38 00 00 00 */ li r0, 0 -/* 8007B4E8 00078448 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8007B4EC 0007844C 40 82 00 1C */ bne lbl_8007B508 -/* 8007B4F0 00078450 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8007B4F4 00078454 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8007B4F8 00078458 40 82 00 10 */ bne lbl_8007B508 -/* 8007B4FC 0007845C C0 1F 00 08 */ lfs f0, 8(r31) -/* 8007B500 00078460 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8007B504 00078464 41 82 00 08 */ beq lbl_8007B50C -lbl_8007B508: -/* 8007B508 00078468 38 00 00 01 */ li r0, 1 -lbl_8007B50C: -/* 8007B50C 0007846C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8007B510 00078470 41 82 01 1C */ beq lbl_8007B62C -/* 8007B514 00078474 C0 DC 00 60 */ lfs f6, 0x60(r28) -/* 8007B518 00078478 38 61 00 70 */ addi r3, r1, 0x70 -/* 8007B51C 0007847C C0 1F 00 08 */ lfs f0, 8(r31) -/* 8007B520 00078480 38 81 00 08 */ addi r4, r1, 8 -/* 8007B524 00078484 C0 BC 00 50 */ lfs f5, 0x50(r28) -/* 8007B528 00078488 C0 5C 00 40 */ lfs f2, 0x40(r28) -/* 8007B52C 0007848C EC 66 00 28 */ fsubs f3, f6, f0 -/* 8007B530 00078490 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8007B534 00078494 C0 3F 00 00 */ lfs f1, 0(r31) -/* 8007B538 00078498 EC 85 00 28 */ fsubs f4, f5, f0 -/* 8007B53C 0007849C C0 02 89 58 */ lfs f0, lbl_805AA678@sda21(r2) -/* 8007B540 000784A0 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8007B544 000784A4 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8007B548 000784A8 D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 8007B54C 000784AC D0 C1 00 30 */ stfs f6, 0x30(r1) -/* 8007B550 000784B0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8007B554 000784B4 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8007B558 000784B8 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8007B55C 000784BC D0 01 00 08 */ stfs f0, 8(r1) -/* 8007B560 000784C0 48 29 83 E1 */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8007B564 000784C4 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 8007B568 000784C8 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8007B56C 000784CC 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 8007B570 000784D0 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8007B574 000784D4 38 81 00 28 */ addi r4, r1, 0x28 -/* 8007B578 000784D8 48 29 85 99 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8007B57C 000784DC 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 8007B580 000784E0 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 8007B584 000784E4 38 A1 00 70 */ addi r5, r1, 0x70 -/* 8007B588 000784E8 48 29 73 C9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8007B58C 000784EC 38 61 01 00 */ addi r3, r1, 0x100 -/* 8007B590 000784F0 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 8007B594 000784F4 48 29 75 E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8007B598 000784F8 38 7C 00 34 */ addi r3, r28, 0x34 -/* 8007B59C 000784FC 38 81 01 00 */ addi r4, r1, 0x100 -/* 8007B5A0 00078500 48 29 75 A1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8007B5A4 00078504 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 8007B5A8 00078508 38 60 00 01 */ li r3, 1 -/* 8007B5AC 0007850C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8007B5B0 00078510 98 1C 00 E4 */ stb r0, 0xe4(r28) -/* 8007B5B4 00078514 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 8007B5B8 00078518 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8007B5BC 0007851C 98 1C 00 E4 */ stb r0, 0xe4(r28) -/* 8007B5C0 00078520 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 8007B5C4 00078524 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8007B5C8 00078528 98 1C 00 E4 */ stb r0, 0xe4(r28) -/* 8007B5CC 0007852C 48 00 00 60 */ b lbl_8007B62C -lbl_8007B5D0: -/* 8007B5D0 00078530 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 8007B5D4 00078534 38 61 00 0C */ addi r3, r1, 0xc -/* 8007B5D8 00078538 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 8007B5DC 0007853C 38 84 00 1A */ addi r4, r4, 0x1a -/* 8007B5E0 00078540 4B F8 96 D9 */ bl string_l__4rstlFPCc -/* 8007B5E4 00078544 7F 83 E3 78 */ mr r3, r28 -/* 8007B5E8 00078548 48 02 73 11 */ bl GetStateMachine__3CAiFv -/* 8007B5EC 0007854C 7C 66 1B 78 */ mr r6, r3 -/* 8007B5F0 00078550 7F A4 EB 78 */ mr r4, r29 -/* 8007B5F4 00078554 7F 85 E3 78 */ mr r5, r28 -/* 8007B5F8 00078558 38 7C 03 30 */ addi r3, r28, 0x330 -/* 8007B5FC 0007855C 38 E1 00 0C */ addi r7, r1, 0xc -/* 8007B600 00078560 48 00 46 05 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8007B604 00078564 38 61 00 0C */ addi r3, r1, 0xc -/* 8007B608 00078568 48 2C 24 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8007B60C 0007856C 7F 83 E3 78 */ mr r3, r28 -/* 8007B610 00078570 7F A5 EB 78 */ mr r5, r29 -/* 8007B614 00078574 38 80 00 25 */ li r4, 0x25 -/* 8007B618 00078578 4B FD 89 69 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8007B61C 0007857C 88 1C 03 28 */ lbz r0, 0x328(r28) -/* 8007B620 00078580 38 60 00 00 */ li r3, 0 -/* 8007B624 00078584 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8007B628 00078588 98 1C 03 28 */ stb r0, 0x328(r28) -lbl_8007B62C: -/* 8007B62C 0007858C 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 8007B630 00078590 38 60 00 00 */ li r3, 0 -/* 8007B634 00078594 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8007B638 00078598 38 80 00 0E */ li r4, 0xe -/* 8007B63C 0007859C 98 1C 04 00 */ stb r0, 0x400(r28) -/* 8007B640 000785A0 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8007B644 000785A4 48 0B F5 71 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState -/* 8007B648 000785A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007B64C 000785AC 41 82 00 E8 */ beq lbl_8007B734 -/* 8007B650 000785B0 80 BC 04 50 */ lwz r5, 0x450(r28) -/* 8007B654 000785B4 80 05 02 F4 */ lwz r0, 0x2f4(r5) -/* 8007B658 000785B8 2C 00 00 03 */ cmpwi r0, 3 -/* 8007B65C 000785BC 40 82 00 D8 */ bne lbl_8007B734 -/* 8007B660 000785C0 C0 5F 00 08 */ lfs f2, 8(r31) -/* 8007B664 000785C4 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007B668 000785C8 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8007B66C 000785CC 38 84 AA 68 */ addi r4, r4, lbl_803DAA68@l -/* 8007B670 000785D0 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8007B674 000785D4 FC A0 10 50 */ fneg f5, f2 -/* 8007B678 000785D8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8007B67C 000785DC C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 8007B680 000785E0 FC 80 08 50 */ fneg f4, f1 -/* 8007B684 000785E4 90 81 00 4C */ stw r4, 0x4c(r1) -/* 8007B688 000785E8 FC 60 00 50 */ fneg f3, f0 -/* 8007B68C 000785EC C0 23 00 04 */ lfs f1, 4(r3) -/* 8007B690 000785F0 38 C0 00 0F */ li r6, 0xf -/* 8007B694 000785F4 C0 03 00 08 */ lfs f0, 8(r3) -/* 8007B698 000785F8 38 00 00 00 */ li r0, 0 -/* 8007B69C 000785FC 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha -/* 8007B6A0 00078600 3B E5 00 04 */ addi r31, r5, 4 -/* 8007B6A4 00078604 90 C1 00 50 */ stw r6, 0x50(r1) -/* 8007B6A8 00078608 38 A3 AA 5C */ addi r5, r3, lbl_803DAA5C@l -/* 8007B6AC 0007860C 38 80 00 0F */ li r4, 0xf -/* 8007B6B0 00078610 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 8007B6B4 00078614 7F E3 FB 78 */ mr r3, r31 -/* 8007B6B8 00078618 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 8007B6BC 0007861C D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8007B6C0 00078620 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 8007B6C4 00078624 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 8007B6C8 00078628 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 8007B6CC 0007862C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8007B6D0 00078630 98 01 00 6C */ stb r0, 0x6c(r1) -/* 8007B6D4 00078634 48 0B 5D 65 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007B6D8 00078638 80 01 00 50 */ lwz r0, 0x50(r1) -/* 8007B6DC 0007863C 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha -/* 8007B6E0 00078640 38 83 AA 5C */ addi r4, r3, lbl_803DAA5C@l -/* 8007B6E4 00078644 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007B6E8 00078648 90 1F 01 B0 */ stw r0, 0x1b0(r31) -/* 8007B6EC 0007864C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007B6F0 00078650 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8007B6F4 00078654 80 A1 00 58 */ lwz r5, 0x58(r1) -/* 8007B6F8 00078658 90 7F 01 B4 */ stw r3, 0x1b4(r31) -/* 8007B6FC 0007865C 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8007B700 00078660 90 BF 01 B8 */ stw r5, 0x1b8(r31) -/* 8007B704 00078664 80 A1 00 60 */ lwz r5, 0x60(r1) -/* 8007B708 00078668 90 7F 01 BC */ stw r3, 0x1bc(r31) -/* 8007B70C 0007866C 80 61 00 64 */ lwz r3, 0x64(r1) -/* 8007B710 00078670 90 BF 01 C0 */ stw r5, 0x1c0(r31) -/* 8007B714 00078674 80 A1 00 68 */ lwz r5, 0x68(r1) -/* 8007B718 00078678 90 7F 01 C4 */ stw r3, 0x1c4(r31) -/* 8007B71C 0007867C 88 61 00 6C */ lbz r3, 0x6c(r1) -/* 8007B720 00078680 90 BF 01 C8 */ stw r5, 0x1c8(r31) -/* 8007B724 00078684 90 81 00 4C */ stw r4, 0x4c(r1) -/* 8007B728 00078688 98 7F 01 CC */ stb r3, 0x1cc(r31) -/* 8007B72C 0007868C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8007B730 00078690 48 00 00 B8 */ b lbl_8007B7E8 -lbl_8007B734: -/* 8007B734 00078694 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8007B738 00078698 38 80 00 00 */ li r4, 0 -/* 8007B73C 0007869C 48 0B F4 79 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState -/* 8007B740 000786A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007B744 000786A4 41 82 00 A4 */ beq lbl_8007B7E8 -/* 8007B748 000786A8 C0 5F 00 08 */ lfs f2, 8(r31) -/* 8007B74C 000786AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007B750 000786B0 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8007B754 000786B4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 8007B758 000786B8 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8007B75C 000786BC FC 40 10 50 */ fneg f2, f2 -/* 8007B760 000786C0 FC 20 08 50 */ fneg f1, f1 -/* 8007B764 000786C4 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8007B768 000786C8 FC 00 00 50 */ fneg f0, f0 -/* 8007B76C 000786CC 3C 80 80 3E */ lis r4, lbl_803DAA50@ha -/* 8007B770 000786D0 38 C0 00 03 */ li r6, 3 -/* 8007B774 000786D4 38 00 00 01 */ li r0, 1 -/* 8007B778 000786D8 3B E3 00 04 */ addi r31, r3, 4 -/* 8007B77C 000786DC 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8007B780 000786E0 38 A4 AA 50 */ addi r5, r4, lbl_803DAA50@l -/* 8007B784 000786E4 38 80 00 03 */ li r4, 3 -/* 8007B788 000786E8 90 C1 00 38 */ stw r6, 0x38(r1) -/* 8007B78C 000786EC 7F E3 FB 78 */ mr r3, r31 -/* 8007B790 000786F0 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8007B794 000786F4 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8007B798 000786F8 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8007B79C 000786FC D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8007B7A0 00078700 90 01 00 48 */ stw r0, 0x48(r1) -/* 8007B7A4 00078704 48 0B 5C 95 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007B7A8 00078708 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8007B7AC 0007870C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha -/* 8007B7B0 00078710 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l -/* 8007B7B4 00078714 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007B7B8 00078718 90 1F 00 E0 */ stw r0, 0xe0(r31) -/* 8007B7BC 0007871C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007B7C0 00078720 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 8007B7C4 00078724 80 61 00 40 */ lwz r3, 0x40(r1) -/* 8007B7C8 00078728 90 BF 00 E4 */ stw r5, 0xe4(r31) -/* 8007B7CC 0007872C 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 8007B7D0 00078730 90 7F 00 E8 */ stw r3, 0xe8(r31) -/* 8007B7D4 00078734 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8007B7D8 00078738 90 BF 00 EC */ stw r5, 0xec(r31) -/* 8007B7DC 0007873C 90 81 00 34 */ stw r4, 0x34(r1) -/* 8007B7E0 00078740 90 7F 00 F0 */ stw r3, 0xf0(r31) -/* 8007B7E4 00078744 90 01 00 34 */ stw r0, 0x34(r1) -lbl_8007B7E8: -/* 8007B7E8 00078748 2C 1E FF FF */ cmpwi r30, -1 -/* 8007B7EC 0007874C 41 82 00 18 */ beq lbl_8007B804 -/* 8007B7F0 00078750 7F 83 E3 78 */ mr r3, r28 -/* 8007B7F4 00078754 7F C4 F3 78 */ mr r4, r30 -/* 8007B7F8 00078758 7F A5 EB 78 */ mr r5, r29 -/* 8007B7FC 0007875C 38 C0 FF FF */ li r6, -1 -/* 8007B800 00078760 4B FD 58 C1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_8007B804: -/* 8007B804 00078764 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8007B808 00078768 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 8007B80C 0007876C 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 8007B810 00078770 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 8007B814 00078774 83 81 01 30 */ lwz r28, 0x130(r1) -/* 8007B818 00078778 7C 08 03 A6 */ mtlr r0 -/* 8007B81C 0007877C 38 21 01 40 */ addi r1, r1, 0x140 -/* 8007B820 00078780 4E 80 00 20 */ blr - -.global __dt__15CBCKnockDownCmd -__dt__15CBCKnockDownCmd: -/* 8007B824 00078784 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007B828 00078788 7C 08 02 A6 */ mflr r0 -/* 8007B82C 0007878C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007B830 00078790 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007B834 00078794 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007B838 00078798 41 82 00 30 */ beq lbl_8007B868 -/* 8007B83C 0007879C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha -/* 8007B840 000787A0 38 03 AA 50 */ addi r0, r3, lbl_803DAA50@l -/* 8007B844 000787A4 90 1F 00 00 */ stw r0, 0(r31) -/* 8007B848 000787A8 41 82 00 10 */ beq lbl_8007B858 -/* 8007B84C 000787AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007B850 000787B0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007B854 000787B4 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007B858: -/* 8007B858 000787B8 7C 80 07 35 */ extsh. r0, r4 -/* 8007B85C 000787BC 40 81 00 0C */ ble lbl_8007B868 -/* 8007B860 000787C0 7F E3 FB 78 */ mr r3, r31 -/* 8007B864 000787C4 48 29 A0 CD */ bl Free__7CMemoryFPCv -lbl_8007B868: -/* 8007B868 000787C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007B86C 000787CC 7F E3 FB 78 */ mr r3, r31 -/* 8007B870 000787D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007B874 000787D4 7C 08 03 A6 */ mtlr r0 -/* 8007B878 000787D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007B87C 000787DC 4E 80 00 20 */ blr - -.global __dt__12CBCHurledCmd -__dt__12CBCHurledCmd: -/* 8007B880 000787E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007B884 000787E4 7C 08 02 A6 */ mflr r0 -/* 8007B888 000787E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007B88C 000787EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007B890 000787F0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007B894 000787F4 41 82 00 30 */ beq lbl_8007B8C4 -/* 8007B898 000787F8 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha -/* 8007B89C 000787FC 38 03 AA 5C */ addi r0, r3, lbl_803DAA5C@l -/* 8007B8A0 00078800 90 1F 00 00 */ stw r0, 0(r31) -/* 8007B8A4 00078804 41 82 00 10 */ beq lbl_8007B8B4 -/* 8007B8A8 00078808 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007B8AC 0007880C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007B8B0 00078810 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007B8B4: -/* 8007B8B4 00078814 7C 80 07 35 */ extsh. r0, r4 -/* 8007B8B8 00078818 40 81 00 0C */ ble lbl_8007B8C4 -/* 8007B8BC 0007881C 7F E3 FB 78 */ mr r3, r31 -/* 8007B8C0 00078820 48 29 A0 71 */ bl Free__7CMemoryFPCv -lbl_8007B8C4: -/* 8007B8C4 00078824 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007B8C8 00078828 7F E3 FB 78 */ mr r3, r31 -/* 8007B8CC 0007882C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007B8D0 00078830 7C 08 03 A6 */ mtlr r0 -/* 8007B8D4 00078834 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007B8D8 00078838 4E 80 00 20 */ blr - -.global __dt__13CBodyStateCmdFv -__dt__13CBodyStateCmdFv: -/* 8007B8DC 0007883C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007B8E0 00078840 7C 08 02 A6 */ mflr r0 -/* 8007B8E4 00078844 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007B8E8 00078848 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007B8EC 0007884C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007B8F0 00078850 41 82 00 1C */ beq lbl_8007B90C -/* 8007B8F4 00078854 3C A0 80 3E */ lis r5, lbl_803DAA68@ha -/* 8007B8F8 00078858 7C 80 07 35 */ extsh. r0, r4 -/* 8007B8FC 0007885C 38 05 AA 68 */ addi r0, r5, lbl_803DAA68@l -/* 8007B900 00078860 90 1F 00 00 */ stw r0, 0(r31) -/* 8007B904 00078864 40 81 00 08 */ ble lbl_8007B90C -/* 8007B908 00078868 48 29 A0 29 */ bl Free__7CMemoryFPCv -lbl_8007B90C: -/* 8007B90C 0007886C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007B910 00078870 7F E3 FB 78 */ mr r3, r31 -/* 8007B914 00078874 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007B918 00078878 7C 08 03 A6 */ mtlr r0 -/* 8007B91C 0007887C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007B920 00078880 4E 80 00 20 */ blr - -.global sub_8007b924 -sub_8007b924: -/* 8007B924 00078884 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007B928 00078888 7C 08 02 A6 */ mflr r0 -/* 8007B92C 0007888C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007B930 00078890 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007B934 00078894 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8007B938 00078898 3C 80 80 3E */ lis r4, lbl_803DAA44@ha -/* 8007B93C 0007889C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007B940 000788A0 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8007B944 000788A4 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 8007B948 000788A8 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 8007B94C 000788AC 3B E6 00 04 */ addi r31, r6, 4 -/* 8007B950 000788B0 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 8007B954 000788B4 38 60 00 04 */ li r3, 4 -/* 8007B958 000788B8 90 01 00 08 */ stw r0, 8(r1) -/* 8007B95C 000788BC 38 04 AA 44 */ addi r0, r4, lbl_803DAA44@l -/* 8007B960 000788C0 38 80 00 04 */ li r4, 4 -/* 8007B964 000788C4 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007B968 000788C8 7F E3 FB 78 */ mr r3, r31 -/* 8007B96C 000788CC 90 01 00 08 */ stw r0, 8(r1) -/* 8007B970 000788D0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8007B974 000788D4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8007B978 000788D8 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8007B97C 000788DC 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8007B980 000788E0 48 0B 5A B9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007B984 000788E4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007B988 000788E8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 8007B98C 000788EC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 8007B990 000788F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007B994 000788F4 90 1F 00 F8 */ stw r0, 0xf8(r31) -/* 8007B998 000788F8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007B99C 000788FC 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8007B9A0 00078900 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8007B9A4 00078904 90 BF 00 FC */ stw r5, 0xfc(r31) -/* 8007B9A8 00078908 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8007B9AC 0007890C 90 7F 01 00 */ stw r3, 0x100(r31) -/* 8007B9B0 00078910 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8007B9B4 00078914 90 BF 01 04 */ stw r5, 0x104(r31) -/* 8007B9B8 00078918 90 81 00 08 */ stw r4, 8(r1) -/* 8007B9BC 0007891C 90 7F 01 08 */ stw r3, 0x108(r31) -/* 8007B9C0 00078920 90 01 00 08 */ stw r0, 8(r1) -/* 8007B9C4 00078924 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007B9C8 00078928 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007B9CC 0007892C 7C 08 03 A6 */ mtlr r0 -/* 8007B9D0 00078930 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007B9D4 00078934 4E 80 00 20 */ blr - -.global __dt__15CBCKnockBackCmd -__dt__15CBCKnockBackCmd: -/* 8007B9D8 00078938 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007B9DC 0007893C 7C 08 02 A6 */ mflr r0 -/* 8007B9E0 00078940 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007B9E4 00078944 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007B9E8 00078948 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007B9EC 0007894C 41 82 00 30 */ beq lbl_8007BA1C -/* 8007B9F0 00078950 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 8007B9F4 00078954 38 03 AA 44 */ addi r0, r3, lbl_803DAA44@l -/* 8007B9F8 00078958 90 1F 00 00 */ stw r0, 0(r31) -/* 8007B9FC 0007895C 41 82 00 10 */ beq lbl_8007BA0C -/* 8007BA00 00078960 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BA04 00078964 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BA08 00078968 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007BA0C: -/* 8007BA0C 0007896C 7C 80 07 35 */ extsh. r0, r4 -/* 8007BA10 00078970 40 81 00 0C */ ble lbl_8007BA1C -/* 8007BA14 00078974 7F E3 FB 78 */ mr r3, r31 -/* 8007BA18 00078978 48 29 9F 19 */ bl Free__7CMemoryFPCv -lbl_8007BA1C: -/* 8007BA1C 0007897C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007BA20 00078980 7F E3 FB 78 */ mr r3, r31 -/* 8007BA24 00078984 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007BA28 00078988 7C 08 03 A6 */ mtlr r0 -/* 8007BA2C 0007898C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007BA30 00078990 4E 80 00 20 */ blr - -.global __dt__21CBCLoopHitReactionCmd -__dt__21CBCLoopHitReactionCmd: -/* 8007BA34 00078994 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007BA38 00078998 7C 08 02 A6 */ mflr r0 -/* 8007BA3C 0007899C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007BA40 000789A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007BA44 000789A4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007BA48 000789A8 41 82 00 30 */ beq lbl_8007BA78 -/* 8007BA4C 000789AC 3C 60 80 3E */ lis r3, lbl_803DAA38@ha -/* 8007BA50 000789B0 38 03 AA 38 */ addi r0, r3, lbl_803DAA38@l -/* 8007BA54 000789B4 90 1F 00 00 */ stw r0, 0(r31) -/* 8007BA58 000789B8 41 82 00 10 */ beq lbl_8007BA68 -/* 8007BA5C 000789BC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BA60 000789C0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BA64 000789C4 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007BA68: -/* 8007BA68 000789C8 7C 80 07 35 */ extsh. r0, r4 -/* 8007BA6C 000789CC 40 81 00 0C */ ble lbl_8007BA78 -/* 8007BA70 000789D0 7F E3 FB 78 */ mr r3, r31 -/* 8007BA74 000789D4 48 29 9E BD */ bl Free__7CMemoryFPCv -lbl_8007BA78: -/* 8007BA78 000789D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007BA7C 000789DC 7F E3 FB 78 */ mr r3, r31 -/* 8007BA80 000789E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007BA84 000789E4 7C 08 03 A6 */ mtlr r0 -/* 8007BA88 000789E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007BA8C 000789EC 4E 80 00 20 */ blr - -.global TryLoopReaction__10CPatternedFR13CStateManageri -TryLoopReaction__10CPatternedFR13CStateManageri: -/* 8007BA90 000789F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007BA94 000789F4 7C 08 02 A6 */ mflr r0 -/* 8007BA98 000789F8 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007BA9C 000789FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007BAA0 00078A00 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8007BAA4 00078A04 38 80 00 08 */ li r4, 8 -/* 8007BAA8 00078A08 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007BAAC 00078A0C 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8007BAB0 00078A10 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 8007BAB4 00078A14 90 01 00 08 */ stw r0, 8(r1) -/* 8007BAB8 00078A18 38 03 AA 2C */ addi r0, r3, lbl_803DAA2C@l -/* 8007BABC 00078A1C 38 60 00 08 */ li r3, 8 -/* 8007BAC0 00078A20 3B E6 00 04 */ addi r31, r6, 4 -/* 8007BAC4 00078A24 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007BAC8 00078A28 7F E3 FB 78 */ mr r3, r31 -/* 8007BACC 00078A2C 90 01 00 08 */ stw r0, 8(r1) -/* 8007BAD0 00078A30 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007BAD4 00078A34 48 0B 59 65 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007BAD8 00078A38 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007BADC 00078A3C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 8007BAE0 00078A40 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l -/* 8007BAE4 00078A44 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BAE8 00078A48 90 1F 01 58 */ stw r0, 0x158(r31) -/* 8007BAEC 00078A4C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BAF0 00078A50 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8007BAF4 00078A54 90 81 00 08 */ stw r4, 8(r1) -/* 8007BAF8 00078A58 90 7F 01 5C */ stw r3, 0x15c(r31) -/* 8007BAFC 00078A5C 90 01 00 08 */ stw r0, 8(r1) -/* 8007BB00 00078A60 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007BB04 00078A64 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007BB08 00078A68 7C 08 03 A6 */ mtlr r0 -/* 8007BB0C 00078A6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007BB10 00078A70 4E 80 00 20 */ blr - -.global __dt__18CBCLoopReactionCmd -__dt__18CBCLoopReactionCmd: -/* 8007BB14 00078A74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007BB18 00078A78 7C 08 02 A6 */ mflr r0 -/* 8007BB1C 00078A7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007BB20 00078A80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007BB24 00078A84 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007BB28 00078A88 41 82 00 30 */ beq lbl_8007BB58 -/* 8007BB2C 00078A8C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 8007BB30 00078A90 38 03 AA 2C */ addi r0, r3, lbl_803DAA2C@l -/* 8007BB34 00078A94 90 1F 00 00 */ stw r0, 0(r31) -/* 8007BB38 00078A98 41 82 00 10 */ beq lbl_8007BB48 -/* 8007BB3C 00078A9C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BB40 00078AA0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BB44 00078AA4 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007BB48: -/* 8007BB48 00078AA8 7C 80 07 35 */ extsh. r0, r4 -/* 8007BB4C 00078AAC 40 81 00 0C */ ble lbl_8007BB58 -/* 8007BB50 00078AB0 7F E3 FB 78 */ mr r3, r31 -/* 8007BB54 00078AB4 48 29 9D DD */ bl Free__7CMemoryFPCv -lbl_8007BB58: -/* 8007BB58 00078AB8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007BB5C 00078ABC 7F E3 FB 78 */ mr r3, r31 -/* 8007BB60 00078AC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007BB64 00078AC4 7C 08 03 A6 */ mtlr r0 -/* 8007BB68 00078AC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007BB6C 00078ACC 4E 80 00 20 */ blr - -.global TryTurn__10CPatternedFR13CStateManageri -TryTurn__10CPatternedFR13CStateManageri: -/* 8007BB70 00078AD0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8007BB74 00078AD4 7C 08 02 A6 */ mflr r0 -/* 8007BB78 00078AD8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8007BB7C 00078ADC 38 81 00 08 */ addi r4, r1, 8 -/* 8007BB80 00078AE0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8007BB84 00078AE4 C0 63 02 E4 */ lfs f3, 0x2e4(r3) -/* 8007BB88 00078AE8 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8007BB8C 00078AEC C0 43 02 E8 */ lfs f2, 0x2e8(r3) -/* 8007BB90 00078AF0 C0 03 00 60 */ lfs f0, 0x60(r3) -/* 8007BB94 00078AF4 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8007BB98 00078AF8 C0 23 02 E0 */ lfs f1, 0x2e0(r3) -/* 8007BB9C 00078AFC EC 42 00 28 */ fsubs f2, f2, f0 -/* 8007BBA0 00078B00 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8007BBA4 00078B04 80 A3 04 50 */ lwz r5, 0x450(r3) -/* 8007BBA8 00078B08 38 61 00 14 */ addi r3, r1, 0x14 -/* 8007BBAC 00078B0C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8007BBB0 00078B10 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8007BBB4 00078B14 3B E5 00 04 */ addi r31, r5, 4 -/* 8007BBB8 00078B18 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8007BBBC 00078B1C D0 01 00 08 */ stfs f0, 8(r1) -/* 8007BBC0 00078B20 48 29 8C 91 */ bl AsNormalized__9CVector3fCFv -/* 8007BBC4 00078B24 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8007BBC8 00078B28 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8007BBCC 00078B2C 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 8007BBD0 00078B30 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8007BBD4 00078B34 C0 C5 00 00 */ lfs f6, 0(r5) -/* 8007BBD8 00078B38 7F E3 FB 78 */ mr r3, r31 -/* 8007BBDC 00078B3C C0 A5 00 04 */ lfs f5, 4(r5) -/* 8007BBE0 00078B40 38 81 00 20 */ addi r4, r1, 0x20 -/* 8007BBE4 00078B44 C0 85 00 08 */ lfs f4, 8(r5) -/* 8007BBE8 00078B48 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8007BBEC 00078B4C C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 8007BBF0 00078B50 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 8007BBF4 00078B54 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 8007BBF8 00078B58 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 8007BBFC 00078B5C D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8007BC00 00078B60 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8007BC04 00078B64 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8007BC08 00078B68 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8007BC0C 00078B6C 48 0B 5B 0D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 8007BC10 00078B70 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8007BC14 00078B74 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8007BC18 00078B78 7C 08 03 A6 */ mtlr r0 -/* 8007BC1C 00078B7C 38 21 00 50 */ addi r1, r1, 0x50 -/* 8007BC20 00078B80 4E 80 00 20 */ blr - -.global TryGetUp__10CPatternedFR13CStateManageri -TryGetUp__10CPatternedFR13CStateManageri: -/* 8007BC24 00078B84 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007BC28 00078B88 7C 08 02 A6 */ mflr r0 -/* 8007BC2C 00078B8C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007BC30 00078B90 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007BC34 00078B94 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8007BC38 00078B98 38 80 00 00 */ li r4, 0 -/* 8007BC3C 00078B9C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007BC40 00078BA0 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8007BC44 00078BA4 3C 60 80 3E */ lis r3, lbl_803DAA20@ha -/* 8007BC48 00078BA8 90 01 00 08 */ stw r0, 8(r1) -/* 8007BC4C 00078BAC 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l -/* 8007BC50 00078BB0 38 60 00 00 */ li r3, 0 -/* 8007BC54 00078BB4 3B E6 00 04 */ addi r31, r6, 4 -/* 8007BC58 00078BB8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007BC5C 00078BBC 7F E3 FB 78 */ mr r3, r31 -/* 8007BC60 00078BC0 90 01 00 08 */ stw r0, 8(r1) -/* 8007BC64 00078BC4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007BC68 00078BC8 48 0B 57 D1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007BC6C 00078BCC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007BC70 00078BD0 3C 60 80 3E */ lis r3, lbl_803DAA20@ha -/* 8007BC74 00078BD4 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l -/* 8007BC78 00078BD8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BC7C 00078BDC 90 1F 00 BC */ stw r0, 0xbc(r31) -/* 8007BC80 00078BE0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BC84 00078BE4 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8007BC88 00078BE8 90 81 00 08 */ stw r4, 8(r1) -/* 8007BC8C 00078BEC 90 7F 00 C0 */ stw r3, 0xc0(r31) -/* 8007BC90 00078BF0 90 01 00 08 */ stw r0, 8(r1) -/* 8007BC94 00078BF4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007BC98 00078BF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007BC9C 00078BFC 7C 08 03 A6 */ mtlr r0 -/* 8007BCA0 00078C00 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007BCA4 00078C04 4E 80 00 20 */ blr - -.global __dt__11CBCGetupCmd -__dt__11CBCGetupCmd: -/* 8007BCA8 00078C08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007BCAC 00078C0C 7C 08 02 A6 */ mflr r0 -/* 8007BCB0 00078C10 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007BCB4 00078C14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007BCB8 00078C18 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007BCBC 00078C1C 41 82 00 30 */ beq lbl_8007BCEC -/* 8007BCC0 00078C20 3C 60 80 3E */ lis r3, lbl_803DAA20@ha -/* 8007BCC4 00078C24 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l -/* 8007BCC8 00078C28 90 1F 00 00 */ stw r0, 0(r31) -/* 8007BCCC 00078C2C 41 82 00 10 */ beq lbl_8007BCDC -/* 8007BCD0 00078C30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BCD4 00078C34 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BCD8 00078C38 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007BCDC: -/* 8007BCDC 00078C3C 7C 80 07 35 */ extsh. r0, r4 -/* 8007BCE0 00078C40 40 81 00 0C */ ble lbl_8007BCEC -/* 8007BCE4 00078C44 7F E3 FB 78 */ mr r3, r31 -/* 8007BCE8 00078C48 48 29 9C 49 */ bl Free__7CMemoryFPCv -lbl_8007BCEC: -/* 8007BCEC 00078C4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007BCF0 00078C50 7F E3 FB 78 */ mr r3, r31 -/* 8007BCF4 00078C54 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007BCF8 00078C58 7C 08 03 A6 */ mtlr r0 -/* 8007BCFC 00078C5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007BD00 00078C60 4E 80 00 20 */ blr - -.global sub_8007bd04 -sub_8007bd04: -/* 8007BD04 00078C64 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007BD08 00078C68 7C 08 02 A6 */ mflr r0 -/* 8007BD0C 00078C6C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007BD10 00078C70 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007BD14 00078C74 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8007BD18 00078C78 3C 80 80 3E */ lis r4, lbl_803DAA44@ha -/* 8007BD1C 00078C7C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007BD20 00078C80 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8007BD24 00078C84 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 8007BD28 00078C88 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 8007BD2C 00078C8C 3B E6 00 04 */ addi r31, r6, 4 -/* 8007BD30 00078C90 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 8007BD34 00078C94 38 60 00 04 */ li r3, 4 -/* 8007BD38 00078C98 90 01 00 08 */ stw r0, 8(r1) -/* 8007BD3C 00078C9C 38 04 AA 44 */ addi r0, r4, lbl_803DAA44@l -/* 8007BD40 00078CA0 38 80 00 04 */ li r4, 4 -/* 8007BD44 00078CA4 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007BD48 00078CA8 7F E3 FB 78 */ mr r3, r31 -/* 8007BD4C 00078CAC 90 01 00 08 */ stw r0, 8(r1) -/* 8007BD50 00078CB0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8007BD54 00078CB4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8007BD58 00078CB8 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8007BD5C 00078CBC 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8007BD60 00078CC0 48 0B 56 D9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007BD64 00078CC4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007BD68 00078CC8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 8007BD6C 00078CCC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 8007BD70 00078CD0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BD74 00078CD4 90 1F 00 F8 */ stw r0, 0xf8(r31) -/* 8007BD78 00078CD8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BD7C 00078CDC 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8007BD80 00078CE0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8007BD84 00078CE4 90 BF 00 FC */ stw r5, 0xfc(r31) -/* 8007BD88 00078CE8 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8007BD8C 00078CEC 90 7F 01 00 */ stw r3, 0x100(r31) -/* 8007BD90 00078CF0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8007BD94 00078CF4 90 BF 01 04 */ stw r5, 0x104(r31) -/* 8007BD98 00078CF8 90 81 00 08 */ stw r4, 8(r1) -/* 8007BD9C 00078CFC 90 7F 01 08 */ stw r3, 0x108(r31) -/* 8007BDA0 00078D00 90 01 00 08 */ stw r0, 8(r1) -/* 8007BDA4 00078D04 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007BDA8 00078D08 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007BDAC 00078D0C 7C 08 03 A6 */ mtlr r0 -/* 8007BDB0 00078D10 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007BDB4 00078D14 4E 80 00 20 */ blr - -.global TryTaunt__10CPatternedFR13CStateManageri -TryTaunt__10CPatternedFR13CStateManageri: -/* 8007BDB8 00078D18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007BDBC 00078D1C 7C 08 02 A6 */ mflr r0 -/* 8007BDC0 00078D20 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007BDC4 00078D24 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007BDC8 00078D28 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8007BDCC 00078D2C 38 80 00 12 */ li r4, 0x12 -/* 8007BDD0 00078D30 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007BDD4 00078D34 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8007BDD8 00078D38 3C 60 80 3E */ lis r3, lbl_803DAA14@ha -/* 8007BDDC 00078D3C 90 01 00 08 */ stw r0, 8(r1) -/* 8007BDE0 00078D40 38 03 AA 14 */ addi r0, r3, lbl_803DAA14@l -/* 8007BDE4 00078D44 38 60 00 12 */ li r3, 0x12 -/* 8007BDE8 00078D48 3B E6 00 04 */ addi r31, r6, 4 -/* 8007BDEC 00078D4C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007BDF0 00078D50 7F E3 FB 78 */ mr r3, r31 -/* 8007BDF4 00078D54 90 01 00 08 */ stw r0, 8(r1) -/* 8007BDF8 00078D58 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007BDFC 00078D5C 48 0B 56 3D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007BE00 00078D60 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007BE04 00078D64 3C 60 80 3E */ lis r3, lbl_803DAA14@ha -/* 8007BE08 00078D68 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l -/* 8007BE0C 00078D6C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BE10 00078D70 90 1F 02 14 */ stw r0, 0x214(r31) -/* 8007BE14 00078D74 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BE18 00078D78 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8007BE1C 00078D7C 90 81 00 08 */ stw r4, 8(r1) -/* 8007BE20 00078D80 90 7F 02 18 */ stw r3, 0x218(r31) -/* 8007BE24 00078D84 90 01 00 08 */ stw r0, 8(r1) -/* 8007BE28 00078D88 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007BE2C 00078D8C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007BE30 00078D90 7C 08 03 A6 */ mtlr r0 -/* 8007BE34 00078D94 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007BE38 00078D98 4E 80 00 20 */ blr - -.global __dt__11CBCTauntCmd -__dt__11CBCTauntCmd: -/* 8007BE3C 00078D9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007BE40 00078DA0 7C 08 02 A6 */ mflr r0 -/* 8007BE44 00078DA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007BE48 00078DA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007BE4C 00078DAC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007BE50 00078DB0 41 82 00 30 */ beq lbl_8007BE80 -/* 8007BE54 00078DB4 3C 60 80 3E */ lis r3, lbl_803DAA14@ha -/* 8007BE58 00078DB8 38 03 AA 14 */ addi r0, r3, lbl_803DAA14@l -/* 8007BE5C 00078DBC 90 1F 00 00 */ stw r0, 0(r31) -/* 8007BE60 00078DC0 41 82 00 10 */ beq lbl_8007BE70 -/* 8007BE64 00078DC4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BE68 00078DC8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BE6C 00078DCC 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007BE70: -/* 8007BE70 00078DD0 7C 80 07 35 */ extsh. r0, r4 -/* 8007BE74 00078DD4 40 81 00 0C */ ble lbl_8007BE80 -/* 8007BE78 00078DD8 7F E3 FB 78 */ mr r3, r31 -/* 8007BE7C 00078DDC 48 29 9A B5 */ bl Free__7CMemoryFPCv -lbl_8007BE80: -/* 8007BE80 00078DE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007BE84 00078DE4 7F E3 FB 78 */ mr r3, r31 -/* 8007BE88 00078DE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007BE8C 00078DEC 7C 08 03 A6 */ mtlr r0 -/* 8007BE90 00078DF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007BE94 00078DF4 4E 80 00 20 */ blr - -.global __dt__11CBCSlideCmd -__dt__11CBCSlideCmd: -/* 8007BE98 00078DF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007BE9C 00078DFC 7C 08 02 A6 */ mflr r0 -/* 8007BEA0 00078E00 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007BEA4 00078E04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007BEA8 00078E08 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007BEAC 00078E0C 41 82 00 30 */ beq lbl_8007BEDC -/* 8007BEB0 00078E10 3C 60 80 3E */ lis r3, lbl_803DAA08@ha -/* 8007BEB4 00078E14 38 03 AA 08 */ addi r0, r3, lbl_803DAA08@l -/* 8007BEB8 00078E18 90 1F 00 00 */ stw r0, 0(r31) -/* 8007BEBC 00078E1C 41 82 00 10 */ beq lbl_8007BECC -/* 8007BEC0 00078E20 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BEC4 00078E24 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BEC8 00078E28 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007BECC: -/* 8007BECC 00078E2C 7C 80 07 35 */ extsh. r0, r4 -/* 8007BED0 00078E30 40 81 00 0C */ ble lbl_8007BEDC -/* 8007BED4 00078E34 7F E3 FB 78 */ mr r3, r31 -/* 8007BED8 00078E38 48 29 9A 59 */ bl Free__7CMemoryFPCv -lbl_8007BEDC: -/* 8007BEDC 00078E3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007BEE0 00078E40 7F E3 FB 78 */ mr r3, r31 -/* 8007BEE4 00078E44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007BEE8 00078E48 7C 08 03 A6 */ mtlr r0 -/* 8007BEEC 00078E4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007BEF0 00078E50 4E 80 00 20 */ blr - -.global TryJump__10CPatternedFR13CStateManageri -TryJump__10CPatternedFR13CStateManageri: -/* 8007BEF4 00078E54 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8007BEF8 00078E58 7C 08 02 A6 */ mflr r0 -/* 8007BEFC 00078E5C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007BF00 00078E60 3D 00 80 3E */ lis r8, lbl_803DAA68@ha -/* 8007BF04 00078E64 90 01 00 44 */ stw r0, 0x44(r1) -/* 8007BF08 00078E68 39 48 AA 68 */ addi r10, r8, lbl_803DAA68@l -/* 8007BF0C 00078E6C 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 8007BF10 00078E70 3D 00 80 3E */ lis r8, lbl_803DA9FC@ha -/* 8007BF14 00078E74 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8007BF18 00078E78 38 C0 00 00 */ li r6, 0 -/* 8007BF1C 00078E7C 88 81 00 2C */ lbz r4, 0x2c(r1) -/* 8007BF20 00078E80 50 C4 3E 30 */ rlwimi r4, r6, 7, 0x18, 0x18 -/* 8007BF24 00078E84 81 63 04 50 */ lwz r11, 0x450(r3) -/* 8007BF28 00078E88 39 20 00 10 */ li r9, 0x10 -/* 8007BF2C 00078E8C C0 A3 02 E0 */ lfs f5, 0x2e0(r3) -/* 8007BF30 00078E90 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 8007BF34 00078E94 C0 83 02 E4 */ lfs f4, 0x2e4(r3) -/* 8007BF38 00078E98 39 08 A9 FC */ addi r8, r8, lbl_803DA9FC@l -/* 8007BF3C 00078E9C C0 63 02 E8 */ lfs f3, 0x2e8(r3) -/* 8007BF40 00078EA0 3B EB 00 04 */ addi r31, r11, 4 -/* 8007BF44 00078EA4 C0 47 00 00 */ lfs f2, 0(r7) -/* 8007BF48 00078EA8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 8007BF4C 00078EAC 98 81 00 2C */ stb r4, 0x2c(r1) -/* 8007BF50 00078EB0 7F E3 FB 78 */ mr r3, r31 -/* 8007BF54 00078EB4 C0 27 00 04 */ lfs f1, 4(r7) -/* 8007BF58 00078EB8 38 80 00 10 */ li r4, 0x10 -/* 8007BF5C 00078EBC 91 41 00 08 */ stw r10, 8(r1) -/* 8007BF60 00078EC0 C0 07 00 08 */ lfs f0, 8(r7) -/* 8007BF64 00078EC4 91 21 00 0C */ stw r9, 0xc(r1) -/* 8007BF68 00078EC8 91 01 00 08 */ stw r8, 8(r1) -/* 8007BF6C 00078ECC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007BF70 00078ED0 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 8007BF74 00078ED4 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8007BF78 00078ED8 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8007BF7C 00078EDC D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8007BF80 00078EE0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8007BF84 00078EE4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8007BF88 00078EE8 98 01 00 2C */ stb r0, 0x2c(r1) -/* 8007BF8C 00078EEC 48 0B 54 AD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007BF90 00078EF0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007BF94 00078EF4 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha -/* 8007BF98 00078EF8 38 83 A9 FC */ addi r4, r3, lbl_803DA9FC@l -/* 8007BF9C 00078EFC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007BFA0 00078F00 90 1F 01 D4 */ stw r0, 0x1d4(r31) -/* 8007BFA4 00078F04 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007BFA8 00078F08 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8007BFAC 00078F0C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8007BFB0 00078F10 90 BF 01 D8 */ stw r5, 0x1d8(r31) -/* 8007BFB4 00078F14 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8007BFB8 00078F18 90 7F 01 DC */ stw r3, 0x1dc(r31) -/* 8007BFBC 00078F1C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8007BFC0 00078F20 90 BF 01 E0 */ stw r5, 0x1e0(r31) -/* 8007BFC4 00078F24 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8007BFC8 00078F28 90 7F 01 E4 */ stw r3, 0x1e4(r31) -/* 8007BFCC 00078F2C 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8007BFD0 00078F30 90 BF 01 E8 */ stw r5, 0x1e8(r31) -/* 8007BFD4 00078F34 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8007BFD8 00078F38 90 7F 01 EC */ stw r3, 0x1ec(r31) -/* 8007BFDC 00078F3C 88 61 00 2C */ lbz r3, 0x2c(r1) -/* 8007BFE0 00078F40 90 BF 01 F0 */ stw r5, 0x1f0(r31) -/* 8007BFE4 00078F44 90 81 00 08 */ stw r4, 8(r1) -/* 8007BFE8 00078F48 98 7F 01 F4 */ stb r3, 0x1f4(r31) -/* 8007BFEC 00078F4C 90 01 00 08 */ stw r0, 8(r1) -/* 8007BFF0 00078F50 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8007BFF4 00078F54 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8007BFF8 00078F58 7C 08 03 A6 */ mtlr r0 -/* 8007BFFC 00078F5C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8007C000 00078F60 4E 80 00 20 */ blr - -.global __dt__10CBCJumpCmd -__dt__10CBCJumpCmd: -/* 8007C004 00078F64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007C008 00078F68 7C 08 02 A6 */ mflr r0 -/* 8007C00C 00078F6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007C010 00078F70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007C014 00078F74 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007C018 00078F78 41 82 00 30 */ beq lbl_8007C048 -/* 8007C01C 00078F7C 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha -/* 8007C020 00078F80 38 03 A9 FC */ addi r0, r3, lbl_803DA9FC@l -/* 8007C024 00078F84 90 1F 00 00 */ stw r0, 0(r31) -/* 8007C028 00078F88 41 82 00 10 */ beq lbl_8007C038 -/* 8007C02C 00078F8C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C030 00078F90 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C034 00078F94 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007C038: -/* 8007C038 00078F98 7C 80 07 35 */ extsh. r0, r4 -/* 8007C03C 00078F9C 40 81 00 0C */ ble lbl_8007C048 -/* 8007C040 00078FA0 7F E3 FB 78 */ mr r3, r31 -/* 8007C044 00078FA4 48 29 98 ED */ bl Free__7CMemoryFPCv -lbl_8007C048: -/* 8007C048 00078FA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007C04C 00078FAC 7F E3 FB 78 */ mr r3, r31 -/* 8007C050 00078FB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007C054 00078FB4 7C 08 03 A6 */ mtlr r0 -/* 8007C058 00078FB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007C05C 00078FBC 4E 80 00 20 */ blr - -.global sub_8007c060 -sub_8007c060: -/* 8007C060 00078FC0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007C064 00078FC4 7C 08 02 A6 */ mflr r0 -/* 8007C068 00078FC8 3C A0 80 3E */ lis r5, lbl_803DAA68@ha -/* 8007C06C 00078FCC 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha -/* 8007C070 00078FD0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007C074 00078FD4 39 25 AA 68 */ addi r9, r5, lbl_803DAA68@l -/* 8007C078 00078FD8 38 C0 00 00 */ li r6, 0 -/* 8007C07C 00078FDC 39 00 00 0E */ li r8, 0xe -/* 8007C080 00078FE0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007C084 00078FE4 38 00 00 01 */ li r0, 1 -/* 8007C088 00078FE8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8007C08C 00078FEC 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0 -/* 8007C090 00078FF0 81 43 04 50 */ lwz r10, 0x450(r3) -/* 8007C094 00078FF4 38 A0 FF FF */ li r5, -1 -/* 8007C098 00078FF8 C0 43 02 E0 */ lfs f2, 0x2e0(r3) -/* 8007C09C 00078FFC 7C 80 23 78 */ mr r0, r4 -/* 8007C0A0 00079000 C0 23 02 E4 */ lfs f1, 0x2e4(r3) -/* 8007C0A4 00079004 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l -/* 8007C0A8 00079008 C0 03 02 E8 */ lfs f0, 0x2e8(r3) -/* 8007C0AC 0007900C 3B EA 00 04 */ addi r31, r10, 4 -/* 8007C0B0 00079010 91 21 00 08 */ stw r9, 8(r1) -/* 8007C0B4 00079014 50 C0 F0 42 */ rlwimi r0, r6, 0x1e, 1, 1 -/* 8007C0B8 00079018 7F E3 FB 78 */ mr r3, r31 -/* 8007C0BC 0007901C 90 81 00 24 */ stw r4, 0x24(r1) -/* 8007C0C0 00079020 38 80 00 0E */ li r4, 0xe -/* 8007C0C4 00079024 91 01 00 0C */ stw r8, 0xc(r1) -/* 8007C0C8 00079028 90 E1 00 08 */ stw r7, 8(r1) -/* 8007C0CC 0007902C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8007C0D0 00079030 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8007C0D4 00079034 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8007C0D8 00079038 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8007C0DC 0007903C 90 A1 00 20 */ stw r5, 0x20(r1) -/* 8007C0E0 00079040 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007C0E4 00079044 48 0B 53 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007C0E8 00079048 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007C0EC 0007904C 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha -/* 8007C0F0 00079050 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l -/* 8007C0F4 00079054 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C0F8 00079058 90 1F 01 90 */ stw r0, 0x190(r31) -/* 8007C0FC 0007905C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C100 00079060 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8007C104 00079064 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8007C108 00079068 90 BF 01 94 */ stw r5, 0x194(r31) -/* 8007C10C 0007906C 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8007C110 00079070 90 7F 01 98 */ stw r3, 0x198(r31) -/* 8007C114 00079074 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8007C118 00079078 90 BF 01 9C */ stw r5, 0x19c(r31) -/* 8007C11C 0007907C 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8007C120 00079080 90 7F 01 A0 */ stw r3, 0x1a0(r31) -/* 8007C124 00079084 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8007C128 00079088 90 BF 01 A4 */ stw r5, 0x1a4(r31) -/* 8007C12C 0007908C 90 81 00 08 */ stw r4, 8(r1) -/* 8007C130 00079090 90 7F 01 A8 */ stw r3, 0x1a8(r31) -/* 8007C134 00079094 90 01 00 08 */ stw r0, 8(r1) -/* 8007C138 00079098 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007C13C 0007909C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007C140 000790A0 7C 08 03 A6 */ mtlr r0 -/* 8007C144 000790A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007C148 000790A8 4E 80 00 20 */ blr - -.global __dt__14CBCGenerateCmd -__dt__14CBCGenerateCmd: -/* 8007C14C 000790AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007C150 000790B0 7C 08 02 A6 */ mflr r0 -/* 8007C154 000790B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007C158 000790B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007C15C 000790BC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007C160 000790C0 41 82 00 30 */ beq lbl_8007C190 -/* 8007C164 000790C4 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha -/* 8007C168 000790C8 38 03 A9 F0 */ addi r0, r3, lbl_803DA9F0@l -/* 8007C16C 000790CC 90 1F 00 00 */ stw r0, 0(r31) -/* 8007C170 000790D0 41 82 00 10 */ beq lbl_8007C180 -/* 8007C174 000790D4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C178 000790D8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C17C 000790DC 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007C180: -/* 8007C180 000790E0 7C 80 07 35 */ extsh. r0, r4 -/* 8007C184 000790E4 40 81 00 0C */ ble lbl_8007C190 -/* 8007C188 000790E8 7F E3 FB 78 */ mr r3, r31 -/* 8007C18C 000790EC 48 29 97 A5 */ bl Free__7CMemoryFPCv -lbl_8007C190: -/* 8007C190 000790F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007C194 000790F4 7F E3 FB 78 */ mr r3, r31 -/* 8007C198 000790F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007C19C 000790FC 7C 08 03 A6 */ mtlr r0 -/* 8007C1A0 00079100 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007C1A4 00079104 4E 80 00 20 */ blr - -.global sub_8007c1a8 -sub_8007c1a8: -/* 8007C1A8 00079108 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007C1AC 0007910C 7C 08 02 A6 */ mflr r0 -/* 8007C1B0 00079110 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007C1B4 00079114 3D 00 80 3E */ lis r8, lbl_803DAA68@ha -/* 8007C1B8 00079118 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007C1BC 0007911C 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 8007C1C0 00079120 39 08 AA 68 */ addi r8, r8, lbl_803DAA68@l -/* 8007C1C4 00079124 39 20 00 0E */ li r9, 0xe -/* 8007C1C8 00079128 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007C1CC 0007912C 38 C0 00 00 */ li r6, 0 -/* 8007C1D0 00079130 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8007C1D4 00079134 50 C4 F8 00 */ rlwimi r4, r6, 0x1f, 0, 0 -/* 8007C1D8 00079138 81 43 04 50 */ lwz r10, 0x450(r3) -/* 8007C1DC 0007913C 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha -/* 8007C1E0 00079140 C0 47 00 00 */ lfs f2, 0(r7) -/* 8007C1E4 00079144 7C 80 23 78 */ mr r0, r4 -/* 8007C1E8 00079148 C0 27 00 04 */ lfs f1, 4(r7) -/* 8007C1EC 0007914C 50 C0 F0 42 */ rlwimi r0, r6, 0x1e, 1, 1 -/* 8007C1F0 00079150 C0 07 00 08 */ lfs f0, 8(r7) -/* 8007C1F4 00079154 38 E0 FF FF */ li r7, -1 -/* 8007C1F8 00079158 90 81 00 24 */ stw r4, 0x24(r1) -/* 8007C1FC 0007915C 3B EA 00 04 */ addi r31, r10, 4 -/* 8007C200 00079160 38 80 00 0E */ li r4, 0xe -/* 8007C204 00079164 91 01 00 08 */ stw r8, 8(r1) -/* 8007C208 00079168 39 03 A9 F0 */ addi r8, r3, lbl_803DA9F0@l -/* 8007C20C 0007916C 7F E3 FB 78 */ mr r3, r31 -/* 8007C210 00079170 91 21 00 0C */ stw r9, 0xc(r1) -/* 8007C214 00079174 91 01 00 08 */ stw r8, 8(r1) -/* 8007C218 00079178 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007C21C 0007917C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8007C220 00079180 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8007C224 00079184 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8007C228 00079188 90 E1 00 20 */ stw r7, 0x20(r1) -/* 8007C22C 0007918C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007C230 00079190 48 0B 52 09 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007C234 00079194 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007C238 00079198 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha -/* 8007C23C 0007919C 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l -/* 8007C240 000791A0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C244 000791A4 90 1F 01 90 */ stw r0, 0x190(r31) -/* 8007C248 000791A8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C24C 000791AC 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8007C250 000791B0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8007C254 000791B4 90 BF 01 94 */ stw r5, 0x194(r31) -/* 8007C258 000791B8 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8007C25C 000791BC 90 7F 01 98 */ stw r3, 0x198(r31) -/* 8007C260 000791C0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8007C264 000791C4 90 BF 01 9C */ stw r5, 0x19c(r31) -/* 8007C268 000791C8 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8007C26C 000791CC 90 7F 01 A0 */ stw r3, 0x1a0(r31) -/* 8007C270 000791D0 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8007C274 000791D4 90 BF 01 A4 */ stw r5, 0x1a4(r31) -/* 8007C278 000791D8 90 81 00 08 */ stw r4, 8(r1) -/* 8007C27C 000791DC 90 7F 01 A8 */ stw r3, 0x1a8(r31) -/* 8007C280 000791E0 90 01 00 08 */ stw r0, 8(r1) -/* 8007C284 000791E4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007C288 000791E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007C28C 000791EC 7C 08 03 A6 */ mtlr r0 -/* 8007C290 000791F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007C294 000791F4 4E 80 00 20 */ blr - -.global TryBreakDodge__10CPatternedFR13CStateManageri -TryBreakDodge__10CPatternedFR13CStateManageri: -/* 8007C298 000791F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007C29C 000791FC 7C 08 02 A6 */ mflr r0 -/* 8007C2A0 00079200 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007C2A4 00079204 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007C2A8 00079208 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8007C2AC 0007920C 38 80 00 01 */ li r4, 1 -/* 8007C2B0 00079210 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007C2B4 00079214 80 E3 04 50 */ lwz r7, 0x450(r3) -/* 8007C2B8 00079218 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8007C2BC 0007921C 90 01 00 08 */ stw r0, 8(r1) -/* 8007C2C0 00079220 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l -/* 8007C2C4 00079224 38 60 00 01 */ li r3, 1 -/* 8007C2C8 00079228 38 00 00 02 */ li r0, 2 -/* 8007C2CC 0007922C 3B E7 00 04 */ addi r31, r7, 4 -/* 8007C2D0 00079230 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007C2D4 00079234 7F E3 FB 78 */ mr r3, r31 -/* 8007C2D8 00079238 90 C1 00 08 */ stw r6, 8(r1) -/* 8007C2DC 0007923C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007C2E0 00079240 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007C2E4 00079244 48 0B 51 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007C2E8 00079248 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007C2EC 0007924C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8007C2F0 00079250 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8007C2F4 00079254 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C2F8 00079258 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 8007C2FC 0007925C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C300 00079260 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8007C304 00079264 90 81 00 08 */ stw r4, 8(r1) -/* 8007C308 00079268 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8007C30C 0007926C 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 8007C310 00079270 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8007C314 00079274 90 01 00 08 */ stw r0, 8(r1) -/* 8007C318 00079278 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007C31C 0007927C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007C320 00079280 7C 08 03 A6 */ mtlr r0 -/* 8007C324 00079284 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007C328 00079288 4E 80 00 20 */ blr - -.global __dt__10CBCStepCmd -__dt__10CBCStepCmd: -/* 8007C32C 0007928C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007C330 00079290 7C 08 02 A6 */ mflr r0 -/* 8007C334 00079294 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007C338 00079298 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007C33C 0007929C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007C340 000792A0 41 82 00 30 */ beq lbl_8007C370 -/* 8007C344 000792A4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8007C348 000792A8 38 03 A9 E4 */ addi r0, r3, lbl_803DA9E4@l -/* 8007C34C 000792AC 90 1F 00 00 */ stw r0, 0(r31) -/* 8007C350 000792B0 41 82 00 10 */ beq lbl_8007C360 -/* 8007C354 000792B4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C358 000792B8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C35C 000792BC 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007C360: -/* 8007C360 000792C0 7C 80 07 35 */ extsh. r0, r4 -/* 8007C364 000792C4 40 81 00 0C */ ble lbl_8007C370 -/* 8007C368 000792C8 7F E3 FB 78 */ mr r3, r31 -/* 8007C36C 000792CC 48 29 95 C5 */ bl Free__7CMemoryFPCv -lbl_8007C370: -/* 8007C370 000792D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007C374 000792D4 7F E3 FB 78 */ mr r3, r31 -/* 8007C378 000792D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007C37C 000792DC 7C 08 03 A6 */ mtlr r0 -/* 8007C380 000792E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007C384 000792E4 4E 80 00 20 */ blr - -.global TryDodge__10CPatternedFR13CStateManageri -TryDodge__10CPatternedFR13CStateManageri: -/* 8007C388 000792E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007C38C 000792EC 7C 08 02 A6 */ mflr r0 -/* 8007C390 000792F0 38 C0 00 01 */ li r6, 1 -/* 8007C394 000792F4 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007C398 000792F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007C39C 000792FC 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8007C3A0 00079300 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007C3A4 00079304 80 83 04 50 */ lwz r4, 0x450(r3) -/* 8007C3A8 00079308 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8007C3AC 0007930C 90 01 00 08 */ stw r0, 8(r1) -/* 8007C3B0 00079310 38 03 A9 E4 */ addi r0, r3, lbl_803DA9E4@l -/* 8007C3B4 00079314 3B E4 00 04 */ addi r31, r4, 4 -/* 8007C3B8 00079318 38 80 00 01 */ li r4, 1 -/* 8007C3BC 0007931C 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8007C3C0 00079320 7F E3 FB 78 */ mr r3, r31 -/* 8007C3C4 00079324 90 01 00 08 */ stw r0, 8(r1) -/* 8007C3C8 00079328 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007C3CC 0007932C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8007C3D0 00079330 48 0B 50 69 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007C3D4 00079334 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007C3D8 00079338 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8007C3DC 0007933C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8007C3E0 00079340 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C3E4 00079344 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 8007C3E8 00079348 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C3EC 0007934C 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8007C3F0 00079350 90 81 00 08 */ stw r4, 8(r1) -/* 8007C3F4 00079354 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8007C3F8 00079358 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 8007C3FC 0007935C 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8007C400 00079360 90 01 00 08 */ stw r0, 8(r1) -/* 8007C404 00079364 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007C408 00079368 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007C40C 0007936C 7C 08 03 A6 */ mtlr r0 -/* 8007C410 00079370 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007C414 00079374 4E 80 00 20 */ blr - -.global sub_8007c418 -sub_8007c418: -/* 8007C418 00079378 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007C41C 0007937C 7C 08 02 A6 */ mflr r0 -/* 8007C420 00079380 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007C424 00079384 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007C428 00079388 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8007C42C 0007938C 38 80 00 01 */ li r4, 1 -/* 8007C430 00079390 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007C434 00079394 80 E3 04 50 */ lwz r7, 0x450(r3) -/* 8007C438 00079398 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8007C43C 0007939C 90 01 00 08 */ stw r0, 8(r1) -/* 8007C440 000793A0 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l -/* 8007C444 000793A4 38 60 00 01 */ li r3, 1 -/* 8007C448 000793A8 38 00 00 00 */ li r0, 0 -/* 8007C44C 000793AC 3B E7 00 04 */ addi r31, r7, 4 -/* 8007C450 000793B0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8007C454 000793B4 7F E3 FB 78 */ mr r3, r31 -/* 8007C458 000793B8 90 C1 00 08 */ stw r6, 8(r1) -/* 8007C45C 000793BC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007C460 000793C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007C464 000793C4 48 0B 4F D5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007C468 000793C8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007C46C 000793CC 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8007C470 000793D0 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8007C474 000793D4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C478 000793D8 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 8007C47C 000793DC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C480 000793E0 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8007C484 000793E4 90 81 00 08 */ stw r4, 8(r1) -/* 8007C488 000793E8 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8007C48C 000793EC 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 8007C490 000793F0 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8007C494 000793F4 90 01 00 08 */ stw r0, 8(r1) -/* 8007C498 000793F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007C49C 000793FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007C4A0 00079400 7C 08 03 A6 */ mtlr r0 -/* 8007C4A4 00079404 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007C4A8 00079408 4E 80 00 20 */ blr - -.global sub_8007c4ac -sub_8007c4ac: -/* 8007C4AC 0007940C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007C4B0 00079410 7C 08 02 A6 */ mflr r0 -/* 8007C4B4 00079414 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007C4B8 00079418 38 E0 00 05 */ li r7, 5 -/* 8007C4BC 0007941C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007C4C0 00079420 38 C4 AA 68 */ addi r6, r4, lbl_803DAA68@l -/* 8007C4C4 00079424 38 00 00 01 */ li r0, 1 -/* 8007C4C8 00079428 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha -/* 8007C4CC 0007942C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007C4D0 00079430 81 03 04 50 */ lwz r8, 0x450(r3) -/* 8007C4D4 00079434 C0 43 02 E0 */ lfs f2, 0x2e0(r3) -/* 8007C4D8 00079438 C0 23 02 E4 */ lfs f1, 0x2e4(r3) -/* 8007C4DC 0007943C 3B E8 00 04 */ addi r31, r8, 4 -/* 8007C4E0 00079440 C0 03 02 E8 */ lfs f0, 0x2e8(r3) -/* 8007C4E4 00079444 7F E3 FB 78 */ mr r3, r31 -/* 8007C4E8 00079448 90 C1 00 08 */ stw r6, 8(r1) -/* 8007C4EC 0007944C 38 C4 A9 D8 */ addi r6, r4, lbl_803DA9D8@l -/* 8007C4F0 00079450 38 80 00 05 */ li r4, 5 -/* 8007C4F4 00079454 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8007C4F8 00079458 90 C1 00 08 */ stw r6, 8(r1) -/* 8007C4FC 0007945C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007C500 00079460 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8007C504 00079464 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8007C508 00079468 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8007C50C 0007946C 98 01 00 20 */ stb r0, 0x20(r1) -/* 8007C510 00079470 48 0B 4F 29 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007C514 00079474 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007C518 00079478 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha -/* 8007C51C 0007947C 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l -/* 8007C520 00079480 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C524 00079484 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8007C528 00079488 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C52C 0007948C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8007C530 00079490 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8007C534 00079494 90 7F 01 14 */ stw r3, 0x114(r31) -/* 8007C538 00079498 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8007C53C 0007949C 90 BF 01 18 */ stw r5, 0x118(r31) -/* 8007C540 000794A0 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8007C544 000794A4 90 7F 01 1C */ stw r3, 0x11c(r31) -/* 8007C548 000794A8 88 61 00 20 */ lbz r3, 0x20(r1) -/* 8007C54C 000794AC 90 BF 01 20 */ stw r5, 0x120(r31) -/* 8007C550 000794B0 90 81 00 08 */ stw r4, 8(r1) -/* 8007C554 000794B4 98 7F 01 24 */ stb r3, 0x124(r31) -/* 8007C558 000794B8 90 01 00 08 */ stw r0, 8(r1) -/* 8007C55C 000794BC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007C560 000794C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007C564 000794C4 7C 08 03 A6 */ mtlr r0 -/* 8007C568 000794C8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007C56C 000794CC 4E 80 00 20 */ blr - -.global __dt__17CBCMeleeAttackCmd -__dt__17CBCMeleeAttackCmd: -/* 8007C570 000794D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007C574 000794D4 7C 08 02 A6 */ mflr r0 -/* 8007C578 000794D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007C57C 000794DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007C580 000794E0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007C584 000794E4 41 82 00 30 */ beq lbl_8007C5B4 -/* 8007C588 000794E8 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha -/* 8007C58C 000794EC 38 03 A9 D8 */ addi r0, r3, lbl_803DA9D8@l -/* 8007C590 000794F0 90 1F 00 00 */ stw r0, 0(r31) -/* 8007C594 000794F4 41 82 00 10 */ beq lbl_8007C5A4 -/* 8007C598 000794F8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C59C 000794FC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C5A0 00079500 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007C5A4: -/* 8007C5A4 00079504 7C 80 07 35 */ extsh. r0, r4 -/* 8007C5A8 00079508 40 81 00 0C */ ble lbl_8007C5B4 -/* 8007C5AC 0007950C 7F E3 FB 78 */ mr r3, r31 -/* 8007C5B0 00079510 48 29 93 81 */ bl Free__7CMemoryFPCv -lbl_8007C5B4: -/* 8007C5B4 00079514 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007C5B8 00079518 7F E3 FB 78 */ mr r3, r31 -/* 8007C5BC 0007951C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007C5C0 00079520 7C 08 03 A6 */ mtlr r0 -/* 8007C5C4 00079524 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007C5C8 00079528 4E 80 00 20 */ blr - -.global TryMeleeAttack__10CPatternedFR13CStateManageri -TryMeleeAttack__10CPatternedFR13CStateManageri: -/* 8007C5CC 0007952C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007C5D0 00079530 7C 08 02 A6 */ mflr r0 -/* 8007C5D4 00079534 3C C0 80 3E */ lis r6, lbl_803DAA68@ha -/* 8007C5D8 00079538 38 E0 00 05 */ li r7, 5 -/* 8007C5DC 0007953C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007C5E0 00079540 38 C6 AA 68 */ addi r6, r6, lbl_803DAA68@l -/* 8007C5E4 00079544 38 00 00 00 */ li r0, 0 -/* 8007C5E8 00079548 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007C5EC 0007954C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007C5F0 00079550 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) -/* 8007C5F4 00079554 81 03 04 50 */ lwz r8, 0x450(r3) -/* 8007C5F8 00079558 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha -/* 8007C5FC 0007955C C0 24 00 04 */ lfs f1, 4(r4) -/* 8007C600 00079560 C0 04 00 08 */ lfs f0, 8(r4) -/* 8007C604 00079564 3B E8 00 04 */ addi r31, r8, 4 -/* 8007C608 00079568 90 C1 00 08 */ stw r6, 8(r1) -/* 8007C60C 0007956C 38 C3 A9 D8 */ addi r6, r3, lbl_803DA9D8@l -/* 8007C610 00079570 7F E3 FB 78 */ mr r3, r31 -/* 8007C614 00079574 38 80 00 05 */ li r4, 5 -/* 8007C618 00079578 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8007C61C 0007957C 90 C1 00 08 */ stw r6, 8(r1) -/* 8007C620 00079580 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007C624 00079584 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8007C628 00079588 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8007C62C 0007958C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8007C630 00079590 98 01 00 20 */ stb r0, 0x20(r1) -/* 8007C634 00079594 48 0B 4E 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007C638 00079598 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007C63C 0007959C 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha -/* 8007C640 000795A0 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l -/* 8007C644 000795A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C648 000795A8 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8007C64C 000795AC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C650 000795B0 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8007C654 000795B4 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8007C658 000795B8 90 7F 01 14 */ stw r3, 0x114(r31) -/* 8007C65C 000795BC 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8007C660 000795C0 90 BF 01 18 */ stw r5, 0x118(r31) -/* 8007C664 000795C4 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8007C668 000795C8 90 7F 01 1C */ stw r3, 0x11c(r31) -/* 8007C66C 000795CC 88 61 00 20 */ lbz r3, 0x20(r1) -/* 8007C670 000795D0 90 BF 01 20 */ stw r5, 0x120(r31) -/* 8007C674 000795D4 90 81 00 08 */ stw r4, 8(r1) -/* 8007C678 000795D8 98 7F 01 24 */ stb r3, 0x124(r31) -/* 8007C67C 000795DC 90 01 00 08 */ stw r0, 8(r1) -/* 8007C680 000795E0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007C684 000795E4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007C688 000795E8 7C 08 03 A6 */ mtlr r0 -/* 8007C68C 000795EC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007C690 000795F0 4E 80 00 20 */ blr - -.global TryProjectileAttack__10CPatternedFR13CStateManageri -TryProjectileAttack__10CPatternedFR13CStateManageri: -/* 8007C694 000795F4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007C698 000795F8 7C 08 02 A6 */ mflr r0 -/* 8007C69C 000795FC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8007C6A0 00079600 38 E0 00 06 */ li r7, 6 -/* 8007C6A4 00079604 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007C6A8 00079608 38 C4 AA 68 */ addi r6, r4, lbl_803DAA68@l -/* 8007C6AC 0007960C 38 00 00 00 */ li r0, 0 -/* 8007C6B0 00079610 3C 80 80 3E */ lis r4, lbl_803DA9CC@ha -/* 8007C6B4 00079614 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007C6B8 00079618 81 03 04 50 */ lwz r8, 0x450(r3) -/* 8007C6BC 0007961C C0 43 02 E0 */ lfs f2, 0x2e0(r3) -/* 8007C6C0 00079620 C0 23 02 E4 */ lfs f1, 0x2e4(r3) -/* 8007C6C4 00079624 3B E8 00 04 */ addi r31, r8, 4 -/* 8007C6C8 00079628 C0 03 02 E8 */ lfs f0, 0x2e8(r3) -/* 8007C6CC 0007962C 7F E3 FB 78 */ mr r3, r31 -/* 8007C6D0 00079630 90 C1 00 08 */ stw r6, 8(r1) -/* 8007C6D4 00079634 38 C4 A9 CC */ addi r6, r4, lbl_803DA9CC@l -/* 8007C6D8 00079638 38 80 00 06 */ li r4, 6 -/* 8007C6DC 0007963C 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8007C6E0 00079640 90 C1 00 08 */ stw r6, 8(r1) -/* 8007C6E4 00079644 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8007C6E8 00079648 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8007C6EC 0007964C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8007C6F0 00079650 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8007C6F4 00079654 98 01 00 20 */ stb r0, 0x20(r1) -/* 8007C6F8 00079658 48 0B 4D 41 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8007C6FC 0007965C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007C700 00079660 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha -/* 8007C704 00079664 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l -/* 8007C708 00079668 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C70C 0007966C 90 1F 01 2C */ stw r0, 0x12c(r31) -/* 8007C710 00079670 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C714 00079674 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8007C718 00079678 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8007C71C 0007967C 90 7F 01 30 */ stw r3, 0x130(r31) -/* 8007C720 00079680 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8007C724 00079684 90 BF 01 34 */ stw r5, 0x134(r31) -/* 8007C728 00079688 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8007C72C 0007968C 90 7F 01 38 */ stw r3, 0x138(r31) -/* 8007C730 00079690 88 61 00 20 */ lbz r3, 0x20(r1) -/* 8007C734 00079694 90 BF 01 3C */ stw r5, 0x13c(r31) -/* 8007C738 00079698 90 81 00 08 */ stw r4, 8(r1) -/* 8007C73C 0007969C 98 7F 01 40 */ stb r3, 0x140(r31) -/* 8007C740 000796A0 90 01 00 08 */ stw r0, 8(r1) -/* 8007C744 000796A4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007C748 000796A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007C74C 000796AC 7C 08 03 A6 */ mtlr r0 -/* 8007C750 000796B0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007C754 000796B4 4E 80 00 20 */ blr - -.global __dt__22CBCProjectileAttackCmdFv -__dt__22CBCProjectileAttackCmdFv: -/* 8007C758 000796B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007C75C 000796BC 7C 08 02 A6 */ mflr r0 -/* 8007C760 000796C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007C764 000796C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007C768 000796C8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8007C76C 000796CC 41 82 00 30 */ beq lbl_8007C79C -/* 8007C770 000796D0 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha -/* 8007C774 000796D4 38 03 A9 CC */ addi r0, r3, lbl_803DA9CC@l -/* 8007C778 000796D8 90 1F 00 00 */ stw r0, 0(r31) -/* 8007C77C 000796DC 41 82 00 10 */ beq lbl_8007C78C -/* 8007C780 000796E0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8007C784 000796E4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8007C788 000796E8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8007C78C: -/* 8007C78C 000796EC 7C 80 07 35 */ extsh. r0, r4 -/* 8007C790 000796F0 40 81 00 0C */ ble lbl_8007C79C -/* 8007C794 000796F4 7F E3 FB 78 */ mr r3, r31 -/* 8007C798 000796F8 48 29 91 99 */ bl Free__7CMemoryFPCv -lbl_8007C79C: -/* 8007C79C 000796FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007C7A0 00079700 7F E3 FB 78 */ mr r3, r31 -/* 8007C7A4 00079704 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007C7A8 00079708 7C 08 03 A6 */ mtlr r0 -/* 8007C7AC 0007970C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007C7B0 00079710 4E 80 00 20 */ blr - -.global TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi: -/* 8007C7B4 00079714 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007C7B8 00079718 7C 08 02 A6 */ mflr r0 -/* 8007C7BC 0007971C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007C7C0 00079720 81 03 04 50 */ lwz r8, 0x450(r3) -/* 8007C7C4 00079724 80 08 02 B8 */ lwz r0, 0x2b8(r8) -/* 8007C7C8 00079728 7C 05 00 00 */ cmpw r5, r0 -/* 8007C7CC 0007972C 40 82 00 10 */ bne lbl_8007C7DC -/* 8007C7D0 00079730 38 00 00 02 */ li r0, 2 -/* 8007C7D4 00079734 90 03 03 2C */ stw r0, 0x32c(r3) -/* 8007C7D8 00079738 48 00 00 2C */ b lbl_8007C804 -lbl_8007C7DC: -/* 8007C7DC 0007973C 80 03 03 2C */ lwz r0, 0x32c(r3) -/* 8007C7E0 00079740 2C 00 00 01 */ cmpwi r0, 1 -/* 8007C7E4 00079744 40 82 00 18 */ bne lbl_8007C7FC -/* 8007C7E8 00079748 7C E5 3B 78 */ mr r5, r7 -/* 8007C7EC 0007974C 7C CC 33 78 */ mr r12, r6 -/* 8007C7F0 00079750 48 30 D1 3D */ bl __ptmf_scall -/* 8007C7F4 00079754 60 00 00 00 */ nop -/* 8007C7F8 00079758 48 00 00 0C */ b lbl_8007C804 -lbl_8007C7FC: -/* 8007C7FC 0007975C 38 00 00 03 */ li r0, 3 -/* 8007C800 00079760 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_8007C804: -/* 8007C804 00079764 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007C808 00079768 7C 08 03 A6 */ mtlr r0 -/* 8007C80C 0007976C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007C810 00079770 4E 80 00 20 */ blr - -.global SetCoverPoint__10CPatternedFP17CScriptCoverPointR9TUniqueId -SetCoverPoint__10CPatternedFP17CScriptCoverPointR9TUniqueId: -/* 8007C814 00079774 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007C818 00079778 7C 08 02 A6 */ mflr r0 -/* 8007C81C 0007977C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007C820 00079780 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007C824 00079784 7C BF 2B 78 */ mr r31, r5 -/* 8007C828 00079788 93 C1 00 08 */ stw r30, 8(r1) -/* 8007C82C 0007978C 7C 9E 23 78 */ mr r30, r4 -/* 8007C830 00079790 7F C3 F3 78 */ mr r3, r30 -/* 8007C834 00079794 38 80 00 01 */ li r4, 1 -/* 8007C838 00079798 48 0B 0B B9 */ bl SetInUse__17CScriptCoverPointFb -/* 8007C83C 0007979C A0 1E 00 08 */ lhz r0, 8(r30) -/* 8007C840 000797A0 B0 1F 00 00 */ sth r0, 0(r31) -/* 8007C844 000797A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007C848 000797A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007C84C 000797AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8007C850 000797B0 7C 08 03 A6 */ mtlr r0 -/* 8007C854 000797B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007C858 000797B8 4E 80 00 20 */ blr - -.global ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId -ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId: -/* 8007C85C 000797BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007C860 000797C0 7C 08 02 A6 */ mflr r0 -/* 8007C864 000797C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007C868 000797C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007C86C 000797CC 7C BF 2B 78 */ mr r31, r5 -/* 8007C870 000797D0 38 A1 00 08 */ addi r5, r1, 8 -/* 8007C874 000797D4 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8007C878 000797D8 B0 01 00 08 */ sth r0, 8(r1) -/* 8007C87C 000797DC 48 00 00 31 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 8007C880 000797E0 28 03 00 00 */ cmplwi r3, 0 -/* 8007C884 000797E4 41 82 00 14 */ beq lbl_8007C898 -/* 8007C888 000797E8 38 80 00 00 */ li r4, 0 -/* 8007C88C 000797EC 48 0B 0B 65 */ bl SetInUse__17CScriptCoverPointFb -/* 8007C890 000797F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007C894 000797F4 B0 1F 00 00 */ sth r0, 0(r31) -lbl_8007C898: -/* 8007C898 000797F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007C89C 000797FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007C8A0 00079800 7C 08 03 A6 */ mtlr r0 -/* 8007C8A4 00079804 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007C8A8 00079808 4E 80 00 20 */ blr - -.global GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId: -/* 8007C8AC 0007980C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007C8B0 00079810 7C 08 02 A6 */ mflr r0 -/* 8007C8B4 00079814 38 60 00 00 */ li r3, 0 -/* 8007C8B8 00079818 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007C8BC 0007981C A0 A5 00 00 */ lhz r5, 0(r5) -/* 8007C8C0 00079820 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007C8C4 00079824 7C 05 00 40 */ cmplw r5, r0 -/* 8007C8C8 00079828 41 82 00 24 */ beq lbl_8007C8EC -/* 8007C8CC 0007982C B0 A1 00 08 */ sth r5, 8(r1) -/* 8007C8D0 00079830 7C 83 23 78 */ mr r3, r4 -/* 8007C8D4 00079834 38 81 00 08 */ addi r4, r1, 8 -/* 8007C8D8 00079838 4B FC FC 9D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8007C8DC 0007983C 7C 64 1B 78 */ mr r4, r3 -/* 8007C8E0 00079840 38 61 00 0C */ addi r3, r1, 0xc -/* 8007C8E4 00079844 48 02 E1 49 */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" -/* 8007C8E8 00079848 80 63 00 04 */ lwz r3, 4(r3) -lbl_8007C8EC: -/* 8007C8EC 0007984C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007C8F0 00079850 7C 08 03 A6 */ mtlr r0 -/* 8007C8F4 00079854 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007C8F8 00079858 4E 80 00 20 */ blr - -.global SetupPlayerCollision__10CPatternedFb -SetupPlayerCollision__10CPatternedFb: -/* 8007C8FC 0007985C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8007C900 00079860 7C 08 02 A6 */ mflr r0 -/* 8007C904 00079864 90 01 00 54 */ stw r0, 0x54(r1) -/* 8007C908 00079868 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8007C90C 0007986C BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8007C910 00079870 7C 7F 1B 78 */ mr r31, r3 -/* 8007C914 00079874 41 82 00 70 */ beq lbl_8007C984 -/* 8007C918 00079878 4B FD 6F A5 */ bl GetMaterialFilter__6CActorCFv -/* 8007C91C 0007987C 83 C3 00 00 */ lwz r30, 0(r3) -/* 8007C920 00079880 83 A3 00 04 */ lwz r29, 4(r3) -/* 8007C924 00079884 7F E3 FB 78 */ mr r3, r31 -/* 8007C928 00079888 4B FD 6F 95 */ bl GetMaterialFilter__6CActorCFv -/* 8007C92C 0007988C 80 AD 84 0C */ lwz r5, lbl_805A6FCC@sda21(r13) -/* 8007C930 00079890 38 80 00 01 */ li r4, 1 -/* 8007C934 00079894 83 83 00 08 */ lwz r28, 8(r3) -/* 8007C938 00079898 83 63 00 0C */ lwz r27, 0xc(r3) -/* 8007C93C 0007989C 38 60 00 00 */ li r3, 0 -/* 8007C940 000798A0 48 30 D5 B5 */ bl __shl2i -/* 8007C944 000798A4 7C 85 20 F8 */ nor r5, r4, r4 -/* 8007C948 000798A8 7C 60 18 F8 */ nor r0, r3, r3 -/* 8007C94C 000798AC 7F BD 23 78 */ or r29, r29, r4 -/* 8007C950 000798B0 7F DE 1B 78 */ or r30, r30, r3 -/* 8007C954 000798B4 7F 7B 28 38 */ and r27, r27, r5 -/* 8007C958 000798B8 7F 9C 00 38 */ and r28, r28, r0 -/* 8007C95C 000798BC 38 00 00 03 */ li r0, 3 -/* 8007C960 000798C0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8007C964 000798C4 7F E3 FB 78 */ mr r3, r31 -/* 8007C968 000798C8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8007C96C 000798CC 93 C1 00 20 */ stw r30, 0x20(r1) -/* 8007C970 000798D0 93 61 00 2C */ stw r27, 0x2c(r1) -/* 8007C974 000798D4 93 81 00 28 */ stw r28, 0x28(r1) -/* 8007C978 000798D8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8007C97C 000798DC 4B FD 6F 25 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 8007C980 000798E0 48 00 00 6C */ b lbl_8007C9EC -lbl_8007C984: -/* 8007C984 000798E4 4B FD 6F 39 */ bl GetMaterialFilter__6CActorCFv -/* 8007C988 000798E8 83 63 00 00 */ lwz r27, 0(r3) -/* 8007C98C 000798EC 83 83 00 04 */ lwz r28, 4(r3) -/* 8007C990 000798F0 7F E3 FB 78 */ mr r3, r31 -/* 8007C994 000798F4 4B FD 6F 29 */ bl GetMaterialFilter__6CActorCFv -/* 8007C998 000798F8 80 AD 84 10 */ lwz r5, lbl_805A6FD0@sda21(r13) -/* 8007C99C 000798FC 38 80 00 01 */ li r4, 1 -/* 8007C9A0 00079900 83 A3 00 08 */ lwz r29, 8(r3) -/* 8007C9A4 00079904 83 C3 00 0C */ lwz r30, 0xc(r3) -/* 8007C9A8 00079908 38 60 00 00 */ li r3, 0 -/* 8007C9AC 0007990C 48 30 D5 49 */ bl __shl2i -/* 8007C9B0 00079910 7C 85 20 F8 */ nor r5, r4, r4 -/* 8007C9B4 00079914 7C 60 18 F8 */ nor r0, r3, r3 -/* 8007C9B8 00079918 7F DE 23 78 */ or r30, r30, r4 -/* 8007C9BC 0007991C 7F BD 1B 78 */ or r29, r29, r3 -/* 8007C9C0 00079920 7F 9C 28 38 */ and r28, r28, r5 -/* 8007C9C4 00079924 7F 7B 00 38 */ and r27, r27, r0 -/* 8007C9C8 00079928 38 00 00 03 */ li r0, 3 -/* 8007C9CC 0007992C 93 81 00 0C */ stw r28, 0xc(r1) -/* 8007C9D0 00079930 7F E3 FB 78 */ mr r3, r31 -/* 8007C9D4 00079934 38 81 00 08 */ addi r4, r1, 8 -/* 8007C9D8 00079938 93 61 00 08 */ stw r27, 8(r1) -/* 8007C9DC 0007993C 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8007C9E0 00079940 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8007C9E4 00079944 90 01 00 18 */ stw r0, 0x18(r1) -/* 8007C9E8 00079948 4B FD 6E B9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -lbl_8007C9EC: -/* 8007C9EC 0007994C BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8007C9F0 00079950 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8007C9F4 00079954 7C 08 03 A6 */ mtlr r0 -/* 8007C9F8 00079958 38 21 00 50 */ addi r1, r1, 0x50 -/* 8007C9FC 0007995C 4E 80 00 20 */ blr - -.global func_8007CA00 -func_8007CA00: -/* 8007CA00 00079960 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007CA04 00079964 7C 08 02 A6 */ mflr r0 -/* 8007CA08 00079968 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007CA0C 0007996C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8007CA10 00079970 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8007CA14 00079974 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007CA18 00079978 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8007CA1C 0007997C 80 C3 00 64 */ lwz r6, 0x64(r3) -/* 8007CA20 00079980 7C 85 23 78 */ mr r5, r4 -/* 8007CA24 00079984 7C 7F 1B 78 */ mr r31, r3 -/* 8007CA28 00079988 C3 E2 89 04 */ lfs f31, lbl_805AA624@sda21(r2) -/* 8007CA2C 0007998C 80 86 00 10 */ lwz r4, 0x10(r6) -/* 8007CA30 00079990 38 61 00 08 */ addi r3, r1, 8 -/* 8007CA34 00079994 38 C0 FF FF */ li r6, -1 -/* 8007CA38 00079998 38 84 00 3C */ addi r4, r4, 0x3c -/* 8007CA3C 0007999C 48 26 87 31 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai -/* 8007CA40 000799A0 C0 21 00 08 */ lfs f1, 8(r1) -/* 8007CA44 000799A4 C0 02 89 5C */ lfs f0, lbl_805AA67C@sda21(r2) -/* 8007CA48 000799A8 83 C1 00 0C */ lwz r30, 0xc(r1) -/* 8007CA4C 000799AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007CA50 000799B0 40 81 00 2C */ ble lbl_8007CA7C -/* 8007CA54 000799B4 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8007CA58 000799B8 7F C4 F3 78 */ mr r4, r30 -/* 8007CA5C 000799BC 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8007CA60 000799C0 7F E3 FB 78 */ mr r3, r31 -/* 8007CA64 000799C4 4B FA FA 65 */ bl GetAnimationDuration__9CAnimDataCFi -/* 8007CA68 000799C8 FF E0 08 90 */ fmr f31, f1 -/* 8007CA6C 000799CC 7F E3 FB 78 */ mr r3, r31 -/* 8007CA70 000799D0 7F C4 F3 78 */ mr r4, r30 -/* 8007CA74 000799D4 4B FB 1A AD */ bl GetAverageVelocity__9CAnimDataCFi -/* 8007CA78 000799D8 EF E1 07 F2 */ fmuls f31, f1, f31 -lbl_8007CA7C: -/* 8007CA7C 000799DC FC 20 F8 90 */ fmr f1, f31 -/* 8007CA80 000799E0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8007CA84 000799E4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007CA88 000799E8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8007CA8C 000799EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007CA90 000799F0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8007CA94 000799F4 7C 08 03 A6 */ mtlr r0 -/* 8007CA98 000799F8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007CA9C 000799FC 4E 80 00 20 */ blr - -.global ApplyBoneTracking__10CPatternedCFv -ApplyBoneTracking__10CPatternedCFv: -/* 8007CAA0 00079A00 88 03 04 00 */ lbz r0, 0x400(r3) -/* 8007CAA4 00079A04 38 80 00 00 */ li r4, 0 -/* 8007CAA8 00079A08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007CAAC 00079A0C 41 82 00 1C */ beq lbl_8007CAC8 -/* 8007CAB0 00079A10 C0 23 04 C4 */ lfs f1, 0x4c4(r3) -/* 8007CAB4 00079A14 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007CAB8 00079A18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007CABC 00079A1C 4C 40 13 82 */ cror 2, 0, 2 -/* 8007CAC0 00079A20 7C 00 00 26 */ mfcr r0 -/* 8007CAC4 00079A24 54 04 1F FE */ rlwinm r4, r0, 3, 0x1f, 0x1f -lbl_8007CAC8: -/* 8007CAC8 00079A28 54 83 06 3E */ clrlwi r3, r4, 0x18 -/* 8007CACC 00079A2C 4E 80 00 20 */ blr - -.global GetGunEyePos__10CPatternedCFv -GetGunEyePos__10CPatternedCFv: -/* 8007CAD0 00079A30 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8007CAD4 00079A34 7C 08 02 A6 */ mflr r0 -/* 8007CAD8 00079A38 90 01 00 44 */ stw r0, 0x44(r1) -/* 8007CADC 00079A3C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8007CAE0 00079A40 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8007CAE4 00079A44 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8007CAE8 00079A48 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8007CAEC 00079A4C DB A1 00 10 */ stfd f29, 0x10(r1) -/* 8007CAF0 00079A50 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 -/* 8007CAF4 00079A54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007CAF8 00079A58 C3 C4 00 50 */ lfs f30, 0x50(r4) -/* 8007CAFC 00079A5C 7C 7F 1B 78 */ mr r31, r3 -/* 8007CB00 00079A60 C3 E4 00 40 */ lfs f31, 0x40(r4) -/* 8007CB04 00079A64 7C 83 23 78 */ mr r3, r4 -/* 8007CB08 00079A68 C3 A4 00 60 */ lfs f29, 0x60(r4) -/* 8007CB0C 00079A6C 48 09 DE B5 */ bl GetBaseBoundingBox__13CPhysicsActorCFv -/* 8007CB10 00079A70 C0 23 00 14 */ lfs f1, 0x14(r3) -/* 8007CB14 00079A74 C0 03 00 08 */ lfs f0, 8(r3) -/* 8007CB18 00079A78 C0 42 89 60 */ lfs f2, lbl_805AA680@sda21(r2) -/* 8007CB1C 00079A7C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8007CB20 00079A80 D3 FF 00 00 */ stfs f31, 0(r31) -/* 8007CB24 00079A84 D3 DF 00 04 */ stfs f30, 4(r31) -/* 8007CB28 00079A88 EF A2 E8 3A */ fmadds f29, f2, f0, f29 -/* 8007CB2C 00079A8C D3 BF 00 08 */ stfs f29, 8(r31) -/* 8007CB30 00079A90 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8007CB34 00079A94 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8007CB38 00079A98 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8007CB3C 00079A9C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8007CB40 00079AA0 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 -/* 8007CB44 00079AA4 CB A1 00 10 */ lfd f29, 0x10(r1) -/* 8007CB48 00079AA8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8007CB4C 00079AAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007CB50 00079AB0 7C 08 03 A6 */ mtlr r0 -/* 8007CB54 00079AB4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8007CB58 00079AB8 4E 80 00 20 */ blr - -.global SetDestPos__10CPatternedFRC9CVector3f -SetDestPos__10CPatternedFRC9CVector3f: -/* 8007CB5C 00079ABC C0 04 00 00 */ lfs f0, 0(r4) -/* 8007CB60 00079AC0 D0 03 02 E0 */ stfs f0, 0x2e0(r3) -/* 8007CB64 00079AC4 C0 04 00 04 */ lfs f0, 4(r4) -/* 8007CB68 00079AC8 D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 8007CB6C 00079ACC C0 04 00 08 */ lfs f0, 8(r4) -/* 8007CB70 00079AD0 D0 03 02 E8 */ stfs f0, 0x2e8(r3) -/* 8007CB74 00079AD4 4E 80 00 20 */ blr - -.global AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8007CB78 00079AD8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8007CB7C 00079ADC 7C 08 02 A6 */ mflr r0 -/* 8007CB80 00079AE0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8007CB84 00079AE4 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8007CB88 00079AE8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8007CB8C 00079AEC BF 41 00 78 */ stmw r26, 0x78(r1) -/* 8007CB90 00079AF0 7C BA 2B 78 */ mr r26, r5 -/* 8007CB94 00079AF4 7C 7E 1B 78 */ mr r30, r3 -/* 8007CB98 00079AF8 A0 05 00 00 */ lhz r0, 0(r5) -/* 8007CB9C 00079AFC 7C 9B 23 78 */ mr r27, r4 -/* 8007CBA0 00079B00 7C DF 33 78 */ mr r31, r6 -/* 8007CBA4 00079B04 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8007CBA8 00079B08 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8007CBAC 00079B0C 48 02 60 F9 */ bl AcceptScriptMsg__3CAiF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8007CBB0 00079B10 28 1B 00 2A */ cmplwi r27, 0x2a -/* 8007CBB4 00079B14 41 81 05 08 */ bgt lbl_8007D0BC -/* 8007CBB8 00079B18 3C 60 80 3E */ lis r3, lbl_803DA920@ha -/* 8007CBBC 00079B1C 57 60 10 3A */ slwi r0, r27, 2 -/* 8007CBC0 00079B20 38 63 A9 20 */ addi r3, r3, lbl_803DA920@l -/* 8007CBC4 00079B24 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8007CBC8 00079B28 7C 09 03 A6 */ mtctr r0 -/* 8007CBCC 00079B2C 4E 80 04 20 */ bctr -/* 8007CBD0 00079B30 80 1E 05 08 */ lwz r0, 0x508(r30) -/* 8007CBD4 00079B34 2C 00 00 01 */ cmpwi r0, 1 -/* 8007CBD8 00079B38 41 82 00 70 */ beq lbl_8007CC48 -/* 8007CBDC 00079B3C 7F C3 F3 78 */ mr r3, r30 -/* 8007CBE0 00079B40 4B FD 6C DD */ bl GetMaterialFilter__6CActorCFv -/* 8007CBE4 00079B44 83 A3 00 00 */ lwz r29, 0(r3) -/* 8007CBE8 00079B48 83 83 00 04 */ lwz r28, 4(r3) -/* 8007CBEC 00079B4C 7F C3 F3 78 */ mr r3, r30 -/* 8007CBF0 00079B50 4B FD 6C CD */ bl GetMaterialFilter__6CActorCFv -/* 8007CBF4 00079B54 80 AD 84 08 */ lwz r5, lbl_805A6FC8@sda21(r13) -/* 8007CBF8 00079B58 38 80 00 01 */ li r4, 1 -/* 8007CBFC 00079B5C 83 63 00 08 */ lwz r27, 8(r3) -/* 8007CC00 00079B60 83 43 00 0C */ lwz r26, 0xc(r3) -/* 8007CC04 00079B64 38 60 00 00 */ li r3, 0 -/* 8007CC08 00079B68 48 30 D2 ED */ bl __shl2i -/* 8007CC0C 00079B6C 7C 85 20 F8 */ nor r5, r4, r4 -/* 8007CC10 00079B70 7C 60 18 F8 */ nor r0, r3, r3 -/* 8007CC14 00079B74 7F 5A 23 78 */ or r26, r26, r4 -/* 8007CC18 00079B78 7F 7B 1B 78 */ or r27, r27, r3 -/* 8007CC1C 00079B7C 7F 9C 28 38 */ and r28, r28, r5 -/* 8007CC20 00079B80 7F BD 00 38 */ and r29, r29, r0 -/* 8007CC24 00079B84 38 00 00 03 */ li r0, 3 -/* 8007CC28 00079B88 93 81 00 5C */ stw r28, 0x5c(r1) -/* 8007CC2C 00079B8C 7F C3 F3 78 */ mr r3, r30 -/* 8007CC30 00079B90 38 81 00 58 */ addi r4, r1, 0x58 -/* 8007CC34 00079B94 93 A1 00 58 */ stw r29, 0x58(r1) -/* 8007CC38 00079B98 93 41 00 64 */ stw r26, 0x64(r1) -/* 8007CC3C 00079B9C 93 61 00 60 */ stw r27, 0x60(r1) -/* 8007CC40 00079BA0 90 01 00 68 */ stw r0, 0x68(r1) -/* 8007CC44 00079BA4 4B FD 6C 5D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -lbl_8007CC48: -/* 8007CC48 00079BA8 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 8007CC4C 00079BAC 38 60 00 00 */ li r3, 0 -/* 8007CC50 00079BB0 28 04 00 00 */ cmplwi r4, 0 -/* 8007CC54 00079BB4 41 82 00 14 */ beq lbl_8007CC68 -/* 8007CC58 00079BB8 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8007CC5C 00079BBC 28 00 00 00 */ cmplwi r0, 0 -/* 8007CC60 00079BC0 41 82 00 08 */ beq lbl_8007CC68 -/* 8007CC64 00079BC4 38 60 00 01 */ li r3, 1 -lbl_8007CC68: -/* 8007CC68 00079BC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007CC6C 00079BCC 41 82 01 4C */ beq lbl_8007CDB8 -/* 8007CC70 00079BD0 80 64 00 10 */ lwz r3, 0x10(r4) -/* 8007CC74 00079BD4 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8007CC78 00079BD8 28 00 00 00 */ cmplwi r0, 0 -/* 8007CC7C 00079BDC 41 82 01 3C */ beq lbl_8007CDB8 -/* 8007CC80 00079BE0 7F C3 F3 78 */ mr r3, r30 -/* 8007CC84 00079BE4 48 09 DD 3D */ bl GetBaseBoundingBox__13CPhysicsActorCFv -/* 8007CC88 00079BE8 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 8007CC8C 00079BEC C0 03 00 04 */ lfs f0, 4(r3) -/* 8007CC90 00079BF0 C0 63 00 14 */ lfs f3, 0x14(r3) -/* 8007CC94 00079BF4 C0 43 00 08 */ lfs f2, 8(r3) -/* 8007CC98 00079BF8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8007CC9C 00079BFC C0 23 00 0C */ lfs f1, 0xc(r3) -/* 8007CCA0 00079C00 C0 03 00 00 */ lfs f0, 0(r3) -/* 8007CCA4 00079C04 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8007CCA8 00079C08 38 61 00 4C */ addi r3, r1, 0x4c -/* 8007CCAC 00079C0C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8007CCB0 00079C10 D0 81 00 50 */ stfs f4, 0x50(r1) -/* 8007CCB4 00079C14 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8007CCB8 00079C18 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8007CCBC 00079C1C 48 29 7B FD */ bl Magnitude__9CVector3fCFv -/* 8007CCC0 00079C20 C0 02 89 10 */ lfs f0, lbl_805AA630@sda21(r2) -/* 8007CCC4 00079C24 3C 60 80 3D */ lis r3, lbl_803CD600@ha -/* 8007CCC8 00079C28 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l -/* 8007CCCC 00079C2C 38 A0 00 00 */ li r5, 0 -/* 8007CCD0 00079C30 EF E0 00 72 */ fmuls f31, f0, f1 -/* 8007CCD4 00079C34 38 60 00 48 */ li r3, 0x48 -/* 8007CCD8 00079C38 48 29 8B 95 */ bl __nw__FUlPCcPCc -/* 8007CCDC 00079C3C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8007CCE0 00079C40 41 82 00 78 */ beq lbl_8007CD58 -/* 8007CCE4 00079C44 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007CCE8 00079C48 38 61 00 40 */ addi r3, r1, 0x40 -/* 8007CCEC 00079C4C C0 22 89 04 */ lfs f1, lbl_805AA624@sda21(r2) -/* 8007CCF0 00079C50 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8007CCF4 00079C54 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8007CCF8 00079C58 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8007CCFC 00079C5C 48 29 7B FD */ bl Normalize__9CVector3fFv -/* 8007CD00 00079C60 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8007CD04 00079C64 38 00 00 00 */ li r0, 0 -/* 8007CD08 00079C68 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 8007CD0C 00079C6C C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007CD10 00079C70 D0 3D 00 00 */ stfs f1, 0(r29) -/* 8007CD14 00079C74 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 8007CD18 00079C78 D0 3D 00 04 */ stfs f1, 4(r29) -/* 8007CD1C 00079C7C C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8007CD20 00079C80 D0 3D 00 08 */ stfs f1, 8(r29) -/* 8007CD24 00079C84 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8007CD28 00079C88 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 8007CD2C 00079C8C D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 8007CD30 00079C90 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 8007CD34 00079C94 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 8007CD38 00079C98 D3 FD 00 20 */ stfs f31, 0x20(r29) -/* 8007CD3C 00079C9C 90 7D 00 24 */ stw r3, 0x24(r29) -/* 8007CD40 00079CA0 90 1D 00 2C */ stw r0, 0x2c(r29) -/* 8007CD44 00079CA4 90 1D 00 30 */ stw r0, 0x30(r29) -/* 8007CD48 00079CA8 90 1D 00 34 */ stw r0, 0x34(r29) -/* 8007CD4C 00079CAC 90 1D 00 3C */ stw r0, 0x3c(r29) -/* 8007CD50 00079CB0 90 1D 00 40 */ stw r0, 0x40(r29) -/* 8007CD54 00079CB4 90 1D 00 44 */ stw r0, 0x44(r29) -lbl_8007CD58: -/* 8007CD58 00079CB8 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 8007CD5C 00079CBC 38 60 00 08 */ li r3, 8 -/* 8007CD60 00079CC0 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 8007CD64 00079CC4 38 A0 00 00 */ li r5, 0 -/* 8007CD68 00079CC8 48 29 8B 05 */ bl __nw__FUlPCcPCc -/* 8007CD6C 00079CCC 28 03 00 00 */ cmplwi r3, 0 -/* 8007CD70 00079CD0 41 82 00 10 */ beq lbl_8007CD80 -/* 8007CD74 00079CD4 93 A3 00 00 */ stw r29, 0(r3) -/* 8007CD78 00079CD8 38 00 00 01 */ li r0, 1 -/* 8007CD7C 00079CDC 90 03 00 04 */ stw r0, 4(r3) -lbl_8007CD80: -/* 8007CD80 00079CE0 90 61 00 14 */ stw r3, 0x14(r1) -/* 8007CD84 00079CE4 80 1E 05 10 */ lwz r0, 0x510(r30) -/* 8007CD88 00079CE8 7C 00 18 40 */ cmplw r0, r3 -/* 8007CD8C 00079CEC 41 82 00 24 */ beq lbl_8007CDB0 -/* 8007CD90 00079CF0 38 7E 05 10 */ addi r3, r30, 0x510 -/* 8007CD94 00079CF4 48 00 0F F1 */ bl sub_8007dd84 -/* 8007CD98 00079CF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007CD9C 00079CFC 90 1E 05 10 */ stw r0, 0x510(r30) -/* 8007CDA0 00079D00 80 9E 05 10 */ lwz r4, 0x510(r30) -/* 8007CDA4 00079D04 80 64 00 04 */ lwz r3, 4(r4) -/* 8007CDA8 00079D08 38 03 00 01 */ addi r0, r3, 1 -/* 8007CDAC 00079D0C 90 04 00 04 */ stw r0, 4(r4) -lbl_8007CDB0: -/* 8007CDB0 00079D10 38 61 00 14 */ addi r3, r1, 0x14 -/* 8007CDB4 00079D14 48 00 0F D1 */ bl sub_8007dd84 -lbl_8007CDB8: -/* 8007CDB8 00079D18 88 1E 00 F8 */ lbz r0, 0xf8(r30) -/* 8007CDBC 00079D1C 38 60 00 01 */ li r3, 1 -/* 8007CDC0 00079D20 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8007CDC4 00079D24 98 1E 00 F8 */ stb r0, 0xf8(r30) -/* 8007CDC8 00079D28 48 00 02 F4 */ b lbl_8007D0BC -/* 8007CDCC 00079D2C 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 8007CDD0 00079D30 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007CDD4 00079D34 40 82 00 34 */ bne lbl_8007CE08 -/* 8007CDD8 00079D38 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007CDDC 00079D3C 7F C3 F3 78 */ mr r3, r30 -/* 8007CDE0 00079D40 38 C4 66 A0 */ addi r6, r4, skZero3f@l -/* 8007CDE4 00079D44 7F E5 FB 78 */ mr r5, r31 -/* 8007CDE8 00079D48 C0 06 00 00 */ lfs f0, 0(r6) -/* 8007CDEC 00079D4C 38 80 00 25 */ li r4, 0x25 -/* 8007CDF0 00079D50 D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 8007CDF4 00079D54 C0 06 00 04 */ lfs f0, 4(r6) -/* 8007CDF8 00079D58 D0 1E 01 54 */ stfs f0, 0x154(r30) -/* 8007CDFC 00079D5C C0 06 00 08 */ lfs f0, 8(r6) -/* 8007CE00 00079D60 D0 1E 01 58 */ stfs f0, 0x158(r30) -/* 8007CE04 00079D64 4B FD 75 4D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8007CE08: -/* 8007CE08 00079D68 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 8007CE0C 00079D6C 38 60 00 01 */ li r3, 1 -/* 8007CE10 00079D70 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8007CE14 00079D74 98 1E 03 28 */ stb r0, 0x328(r30) -/* 8007CE18 00079D78 48 00 02 A4 */ b lbl_8007D0BC -/* 8007CE1C 00079D7C 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 8007CE20 00079D80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007CE24 00079D84 40 82 00 50 */ bne lbl_8007CE74 -/* 8007CE28 00079D88 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8007CE2C 00079D8C 48 0B D2 A1 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 8007CE30 00079D90 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007CE34 00079D94 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 8007CE38 00079D98 40 82 00 3C */ bne lbl_8007CE74 -/* 8007CE3C 00079D9C 7F C3 F3 78 */ mr r3, r30 -/* 8007CE40 00079DA0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007CE44 00079DA4 81 8C 00 80 */ lwz r12, 0x80(r12) -/* 8007CE48 00079DA8 7D 89 03 A6 */ mtctr r12 -/* 8007CE4C 00079DAC 4E 80 04 21 */ bctrl -/* 8007CE50 00079DB0 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007CE54 00079DB4 FC 20 08 50 */ fneg f1, f1 -/* 8007CE58 00079DB8 7F C3 F3 78 */ mr r3, r30 -/* 8007CE5C 00079DBC 7F E5 FB 78 */ mr r5, r31 -/* 8007CE60 00079DC0 D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 8007CE64 00079DC4 38 80 00 25 */ li r4, 0x25 -/* 8007CE68 00079DC8 D0 1E 01 54 */ stfs f0, 0x154(r30) -/* 8007CE6C 00079DCC D0 3E 01 58 */ stfs f1, 0x158(r30) -/* 8007CE70 00079DD0 4B FD 71 11 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8007CE74: -/* 8007CE74 00079DD4 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 8007CE78 00079DD8 38 60 00 00 */ li r3, 0 -/* 8007CE7C 00079DDC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8007CE80 00079DE0 98 1E 03 28 */ stb r0, 0x328(r30) -/* 8007CE84 00079DE4 48 00 02 38 */ b lbl_8007D0BC -/* 8007CE88 00079DE8 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8007CE8C 00079DEC C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8007CE90 00079DF0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8007CE94 00079DF4 D0 1E 03 A0 */ stfs f0, 0x3a0(r30) -/* 8007CE98 00079DF8 D0 3E 03 A4 */ stfs f1, 0x3a4(r30) -/* 8007CE9C 00079DFC D0 5E 03 A8 */ stfs f2, 0x3a8(r30) -/* 8007CEA0 00079E00 48 00 02 1C */ b lbl_8007D0BC -/* 8007CEA4 00079E04 83 5E 03 34 */ lwz r26, 0x334(r30) -/* 8007CEA8 00079E08 28 1A 00 00 */ cmplwi r26, 0 -/* 8007CEAC 00079E0C 41 82 02 10 */ beq lbl_8007D0BC -/* 8007CEB0 00079E10 7F 43 D3 78 */ mr r3, r26 -/* 8007CEB4 00079E14 48 30 CA 49 */ bl __ptmf_test -/* 8007CEB8 00079E18 2C 03 00 00 */ cmpwi r3, 0 -/* 8007CEBC 00079E1C 41 82 02 00 */ beq lbl_8007D0BC -/* 8007CEC0 00079E20 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 8007CEC4 00079E24 7F C3 F3 78 */ mr r3, r30 -/* 8007CEC8 00079E28 7F E4 FB 78 */ mr r4, r31 -/* 8007CECC 00079E2C 7F 4C D3 78 */ mr r12, r26 -/* 8007CED0 00079E30 38 A0 00 02 */ li r5, 2 -/* 8007CED4 00079E34 48 30 CA 59 */ bl __ptmf_scall -/* 8007CED8 00079E38 60 00 00 00 */ nop -/* 8007CEDC 00079E3C 48 00 01 E0 */ b lbl_8007D0BC -/* 8007CEE0 00079E40 A0 1A 00 00 */ lhz r0, 0(r26) -/* 8007CEE4 00079E44 7F E3 FB 78 */ mr r3, r31 -/* 8007CEE8 00079E48 38 81 00 0C */ addi r4, r1, 0xc -/* 8007CEEC 00079E4C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8007CEF0 00079E50 4B FC F6 B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8007CEF4 00079E54 7C 64 1B 78 */ mr r4, r3 -/* 8007CEF8 00079E58 38 61 00 20 */ addi r3, r1, 0x20 -/* 8007CEFC 00079E5C 48 03 08 11 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 8007CF00 00079E60 83 43 00 04 */ lwz r26, 4(r3) -/* 8007CF04 00079E64 28 1A 00 00 */ cmplwi r26, 0 -/* 8007CF08 00079E68 41 82 01 B4 */ beq lbl_8007D0BC -/* 8007CF0C 00079E6C 80 1A 01 2C */ lwz r0, 0x12c(r26) -/* 8007CF10 00079E70 2C 00 00 02 */ cmpwi r0, 2 -/* 8007CF14 00079E74 40 82 00 A0 */ bne lbl_8007CFB4 -/* 8007CF18 00079E78 88 1E 04 E1 */ lbz r0, 0x4e1(r30) -/* 8007CF1C 00079E7C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007CF20 00079E80 41 82 01 24 */ beq lbl_8007D044 -/* 8007CF24 00079E84 88 1A 01 30 */ lbz r0, 0x130(r26) -/* 8007CF28 00079E88 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007CF2C 00079E8C 41 82 01 18 */ beq lbl_8007D044 -/* 8007CF30 00079E90 7F C3 F3 78 */ mr r3, r30 -/* 8007CF34 00079E94 7F E4 FB 78 */ mr r4, r31 -/* 8007CF38 00079E98 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007CF3C 00079E9C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8007CF40 00079EA0 7D 89 03 A6 */ mtctr r12 -/* 8007CF44 00079EA4 4E 80 04 21 */ bctrl -/* 8007CF48 00079EA8 28 03 00 00 */ cmplwi r3, 0 -/* 8007CF4C 00079EAC 41 82 00 F8 */ beq lbl_8007D044 -/* 8007CF50 00079EB0 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 8007CF54 00079EB4 38 60 00 01 */ li r3, 1 -/* 8007CF58 00079EB8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8007CF5C 00079EBC 7F E5 FB 78 */ mr r5, r31 -/* 8007CF60 00079EC0 98 1E 04 01 */ stb r0, 0x401(r30) -/* 8007CF64 00079EC4 7F C3 F3 78 */ mr r3, r30 -/* 8007CF68 00079EC8 38 81 00 34 */ addi r4, r1, 0x34 -/* 8007CF6C 00079ECC 38 DA 01 2C */ addi r6, r26, 0x12c -/* 8007CF70 00079ED0 C0 3A 01 40 */ lfs f1, 0x140(r26) -/* 8007CF74 00079ED4 38 E0 00 01 */ li r7, 1 -/* 8007CF78 00079ED8 C0 7E 00 58 */ lfs f3, 0x58(r30) -/* 8007CF7C 00079EDC 39 00 00 00 */ li r8, 0 -/* 8007CF80 00079EE0 C0 5E 00 48 */ lfs f2, 0x48(r30) -/* 8007CF84 00079EE4 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8007CF88 00079EE8 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8007CF8C 00079EEC D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8007CF90 00079EF0 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 8007CF94 00079EF4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007CF98 00079EF8 81 8C 00 88 */ lwz r12, 0x88(r12) -/* 8007CF9C 00079EFC 7D 89 03 A6 */ mtctr r12 -/* 8007CFA0 00079F00 4E 80 04 21 */ bctrl -/* 8007CFA4 00079F04 38 7E 04 60 */ addi r3, r30, 0x460 -/* 8007CFA8 00079F08 38 80 00 02 */ li r4, 2 -/* 8007CFAC 00079F0C 48 1B 6D 85 */ bl DeferKnockBack__20CKnockBackControllerF11EWeaponType -/* 8007CFB0 00079F10 48 00 00 94 */ b lbl_8007D044 -lbl_8007CFB4: -/* 8007CFB4 00079F14 2C 00 00 03 */ cmpwi r0, 3 -/* 8007CFB8 00079F18 40 82 00 8C */ bne lbl_8007D044 -/* 8007CFBC 00079F1C 88 1E 04 E1 */ lbz r0, 0x4e1(r30) -/* 8007CFC0 00079F20 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8007CFC4 00079F24 41 82 00 80 */ beq lbl_8007D044 -/* 8007CFC8 00079F28 88 1A 01 30 */ lbz r0, 0x130(r26) -/* 8007CFCC 00079F2C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007CFD0 00079F30 41 82 00 74 */ beq lbl_8007D044 -/* 8007CFD4 00079F34 7F C3 F3 78 */ mr r3, r30 -/* 8007CFD8 00079F38 7F E4 FB 78 */ mr r4, r31 -/* 8007CFDC 00079F3C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007CFE0 00079F40 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8007CFE4 00079F44 7D 89 03 A6 */ mtctr r12 -/* 8007CFE8 00079F48 4E 80 04 21 */ bctrl -/* 8007CFEC 00079F4C 28 03 00 00 */ cmplwi r3, 0 -/* 8007CFF0 00079F50 41 82 00 54 */ beq lbl_8007D044 -/* 8007CFF4 00079F54 C0 3A 01 40 */ lfs f1, 0x140(r26) -/* 8007CFF8 00079F58 7F C3 F3 78 */ mr r3, r30 -/* 8007CFFC 00079F5C C0 7E 00 58 */ lfs f3, 0x58(r30) -/* 8007D000 00079F60 7F E5 FB 78 */ mr r5, r31 -/* 8007D004 00079F64 C0 5E 00 48 */ lfs f2, 0x48(r30) -/* 8007D008 00079F68 38 81 00 28 */ addi r4, r1, 0x28 -/* 8007D00C 00079F6C C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8007D010 00079F70 38 DA 01 2C */ addi r6, r26, 0x12c -/* 8007D014 00079F74 38 E0 00 01 */ li r7, 1 -/* 8007D018 00079F78 39 00 00 00 */ li r8, 0 -/* 8007D01C 00079F7C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8007D020 00079F80 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8007D024 00079F84 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8007D028 00079F88 81 9E 00 00 */ lwz r12, 0(r30) -/* 8007D02C 00079F8C 81 8C 00 88 */ lwz r12, 0x88(r12) -/* 8007D030 00079F90 7D 89 03 A6 */ mtctr r12 -/* 8007D034 00079F94 4E 80 04 21 */ bctrl -/* 8007D038 00079F98 38 7E 04 60 */ addi r3, r30, 0x460 -/* 8007D03C 00079F9C 38 80 00 03 */ li r4, 3 -/* 8007D040 00079FA0 48 1B 6C F1 */ bl DeferKnockBack__20CKnockBackControllerF11EWeaponType -lbl_8007D044: -/* 8007D044 00079FA4 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8007D048 00079FA8 A0 9A 00 EC */ lhz r4, 0xec(r26) -/* 8007D04C 00079FAC A0 03 00 08 */ lhz r0, 8(r3) -/* 8007D050 00079FB0 7C 04 00 40 */ cmplw r4, r0 -/* 8007D054 00079FB4 40 82 00 68 */ bne lbl_8007D0BC -/* 8007D058 00079FB8 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007D05C 00079FBC 38 60 00 01 */ li r3, 1 -/* 8007D060 00079FC0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8007D064 00079FC4 98 1E 04 00 */ stb r0, 0x400(r30) -/* 8007D068 00079FC8 48 00 00 54 */ b lbl_8007D0BC -/* 8007D06C 00079FCC A0 1A 00 00 */ lhz r0, 0(r26) -/* 8007D070 00079FD0 7F E3 FB 78 */ mr r3, r31 -/* 8007D074 00079FD4 38 81 00 08 */ addi r4, r1, 8 -/* 8007D078 00079FD8 B0 01 00 08 */ sth r0, 8(r1) -/* 8007D07C 00079FDC 4B FC F5 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8007D080 00079FE0 7C 64 1B 78 */ mr r4, r3 -/* 8007D084 00079FE4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8007D088 00079FE8 48 03 06 85 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 8007D08C 00079FEC 80 83 00 04 */ lwz r4, 4(r3) -/* 8007D090 00079FF0 28 04 00 00 */ cmplwi r4, 0 -/* 8007D094 00079FF4 41 82 00 28 */ beq lbl_8007D0BC -/* 8007D098 00079FF8 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8007D09C 00079FFC A0 84 00 EC */ lhz r4, 0xec(r4) -/* 8007D0A0 0007A000 A0 03 00 08 */ lhz r0, 8(r3) -/* 8007D0A4 0007A004 7C 04 00 40 */ cmplw r4, r0 -/* 8007D0A8 0007A008 40 82 00 14 */ bne lbl_8007D0BC -/* 8007D0AC 0007A00C 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8007D0B0 0007A010 38 60 00 01 */ li r3, 1 -/* 8007D0B4 0007A014 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8007D0B8 0007A018 98 1E 04 00 */ stb r0, 0x400(r30) -lbl_8007D0BC: -/* 8007D0BC 0007A01C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8007D0C0 0007A020 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8007D0C4 0007A024 BB 41 00 78 */ lmw r26, 0x78(r1) -/* 8007D0C8 0007A028 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8007D0CC 0007A02C 7C 08 03 A6 */ mtlr r0 -/* 8007D0D0 0007A030 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8007D0D4 0007A034 4E 80 00 20 */ blr - -.global Accept__10CPatternedFR8IVisitor -Accept__10CPatternedFR8IVisitor: -/* 8007D0D8 0007A038 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007D0DC 0007A03C 7C 08 02 A6 */ mflr r0 -/* 8007D0E0 0007A040 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007D0E4 0007A044 7C 60 1B 78 */ mr r0, r3 -/* 8007D0E8 0007A048 7C 83 23 78 */ mr r3, r4 -/* 8007D0EC 0007A04C 81 84 00 00 */ lwz r12, 0(r4) -/* 8007D0F0 0007A050 7C 04 03 78 */ mr r4, r0 -/* 8007D0F4 0007A054 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8007D0F8 0007A058 7D 89 03 A6 */ mtctr r12 -/* 8007D0FC 0007A05C 4E 80 04 21 */ bctrl -/* 8007D100 0007A060 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007D104 0007A064 7C 08 03 A6 */ mtlr r0 -/* 8007D108 0007A068 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007D10C 0007A06C 4E 80 00 20 */ blr - -.global BuildBodyController__10CPatternedF9EBodyType -BuildBodyController__10CPatternedF9EBodyType: -/* 8007D110 0007A070 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8007D114 0007A074 7C 08 02 A6 */ mflr r0 -/* 8007D118 0007A078 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8007D11C 0007A07C 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8007D120 0007A080 7C 9F 23 78 */ mr r31, r4 -/* 8007D124 0007A084 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8007D128 0007A088 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 8007D12C 0007A08C 7C 7D 1B 78 */ mr r29, r3 -/* 8007D130 0007A090 80 03 04 50 */ lwz r0, 0x450(r3) -/* 8007D134 0007A094 28 00 00 00 */ cmplwi r0, 0 -/* 8007D138 0007A098 40 82 01 70 */ bne lbl_8007D2A8 -/* 8007D13C 0007A09C 3C 80 80 3D */ lis r4, lbl_803CD600@ha -/* 8007D140 0007A0A0 38 60 03 34 */ li r3, 0x334 -/* 8007D144 0007A0A4 38 84 D6 00 */ addi r4, r4, lbl_803CD600@l -/* 8007D148 0007A0A8 38 A0 00 00 */ li r5, 0 -/* 8007D14C 0007A0AC 48 29 87 21 */ bl __nw__FUlPCcPCc -/* 8007D150 0007A0B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8007D154 0007A0B4 41 82 00 18 */ beq lbl_8007D16C -/* 8007D158 0007A0B8 C0 3D 03 B8 */ lfs f1, 0x3b8(r29) -/* 8007D15C 0007A0BC 7F A4 EB 78 */ mr r4, r29 -/* 8007D160 0007A0C0 7F E5 FB 78 */ mr r5, r31 -/* 8007D164 0007A0C4 48 0B DC 25 */ bl __ct__15CBodyControllerFR6CActorf9EBodyType -/* 8007D168 0007A0C8 7C 7E 1B 78 */ mr r30, r3 -lbl_8007D16C: -/* 8007D16C 0007A0CC 83 FD 04 50 */ lwz r31, 0x450(r29) -/* 8007D170 0007A0D0 28 1F 00 00 */ cmplwi r31, 0 -/* 8007D174 0007A0D4 41 82 00 24 */ beq lbl_8007D198 -/* 8007D178 0007A0D8 38 7F 02 A4 */ addi r3, r31, 0x2a4 -/* 8007D17C 0007A0DC 38 80 FF FF */ li r4, -1 -/* 8007D180 0007A0E0 48 0B 6F F9 */ bl __dt__14CBodyStateInfoFv -/* 8007D184 0007A0E4 38 7F 00 04 */ addi r3, r31, 4 -/* 8007D188 0007A0E8 38 80 FF FF */ li r4, -1 -/* 8007D18C 0007A0EC 48 0B 46 69 */ bl __dt__16CBodyStateCmdMgrFv -/* 8007D190 0007A0F0 7F E3 FB 78 */ mr r3, r31 -/* 8007D194 0007A0F4 48 29 87 9D */ bl Free__7CMemoryFPCv -lbl_8007D198: -/* 8007D198 0007A0F8 93 DD 04 50 */ stw r30, 0x450(r29) -/* 8007D19C 0007A0FC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8007D1A0 0007A100 48 26 5E DD */ bl NoParameter__12CPASAnimParmFv -/* 8007D1A4 0007A104 38 61 00 20 */ addi r3, r1, 0x20 -/* 8007D1A8 0007A108 48 26 5E D5 */ bl NoParameter__12CPASAnimParmFv -/* 8007D1AC 0007A10C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8007D1B0 0007A110 48 26 5E CD */ bl NoParameter__12CPASAnimParmFv -/* 8007D1B4 0007A114 38 61 00 30 */ addi r3, r1, 0x30 -/* 8007D1B8 0007A118 48 26 5E C5 */ bl NoParameter__12CPASAnimParmFv -/* 8007D1BC 0007A11C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8007D1C0 0007A120 48 26 5E BD */ bl NoParameter__12CPASAnimParmFv -/* 8007D1C4 0007A124 38 61 00 40 */ addi r3, r1, 0x40 -/* 8007D1C8 0007A128 48 26 5E B5 */ bl NoParameter__12CPASAnimParmFv -/* 8007D1CC 0007A12C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8007D1D0 0007A130 48 26 5E AD */ bl NoParameter__12CPASAnimParmFv -/* 8007D1D4 0007A134 38 61 00 50 */ addi r3, r1, 0x50 -/* 8007D1D8 0007A138 38 80 00 00 */ li r4, 0 -/* 8007D1DC 0007A13C 48 26 5D A9 */ bl FromEnum__12CPASAnimParmFi -/* 8007D1E0 0007A140 38 61 00 20 */ addi r3, r1, 0x20 -/* 8007D1E4 0007A144 38 01 00 18 */ addi r0, r1, 0x18 -/* 8007D1E8 0007A148 90 61 00 08 */ stw r3, 8(r1) -/* 8007D1EC 0007A14C 38 61 00 58 */ addi r3, r1, 0x58 -/* 8007D1F0 0007A150 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8007D1F4 0007A154 38 C1 00 48 */ addi r6, r1, 0x48 -/* 8007D1F8 0007A158 90 01 00 0C */ stw r0, 0xc(r1) -/* 8007D1FC 0007A15C 38 E1 00 40 */ addi r7, r1, 0x40 -/* 8007D200 0007A160 39 01 00 38 */ addi r8, r1, 0x38 -/* 8007D204 0007A164 39 21 00 30 */ addi r9, r1, 0x30 -/* 8007D208 0007A168 39 41 00 28 */ addi r10, r1, 0x28 -/* 8007D20C 0007A16C 38 80 00 18 */ li r4, 0x18 -/* 8007D210 0007A170 48 00 00 B5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8007D214 0007A174 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8007D218 0007A178 48 0B D2 3D */ bl GetPASDatabase__15CBodyControllerCFv -/* 8007D21C 0007A17C 7C 64 1B 78 */ mr r4, r3 -/* 8007D220 0007A180 38 61 00 10 */ addi r3, r1, 0x10 -/* 8007D224 0007A184 38 A1 00 58 */ addi r5, r1, 0x58 -/* 8007D228 0007A188 38 C0 FF FF */ li r6, -1 -/* 8007D22C 0007A18C 48 26 7F 41 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai -/* 8007D230 0007A190 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8007D234 0007A194 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007D238 0007A198 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007D23C 0007A19C 7C 60 00 26 */ mfcr r3 -/* 8007D240 0007A1A0 88 1D 04 E1 */ lbz r0, 0x4e1(r29) -/* 8007D244 0007A1A4 50 60 3E B4 */ rlwimi r0, r3, 7, 0x1a, 0x1a -/* 8007D248 0007A1A8 34 A1 00 5C */ addic. r5, r1, 0x5c -/* 8007D24C 0007A1AC 98 1D 04 E1 */ stb r0, 0x4e1(r29) -/* 8007D250 0007A1B0 41 82 00 58 */ beq lbl_8007D2A8 -/* 8007D254 0007A1B4 80 C5 00 00 */ lwz r6, 0(r5) -/* 8007D258 0007A1B8 38 60 00 00 */ li r3, 0 -/* 8007D25C 0007A1BC 2C 06 00 00 */ cmpwi r6, 0 -/* 8007D260 0007A1C0 40 81 00 40 */ ble lbl_8007D2A0 -/* 8007D264 0007A1C4 2C 06 00 08 */ cmpwi r6, 8 -/* 8007D268 0007A1C8 38 86 FF F8 */ addi r4, r6, -8 -/* 8007D26C 0007A1CC 40 81 00 20 */ ble lbl_8007D28C -/* 8007D270 0007A1D0 38 04 00 07 */ addi r0, r4, 7 -/* 8007D274 0007A1D4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8007D278 0007A1D8 7C 09 03 A6 */ mtctr r0 -/* 8007D27C 0007A1DC 2C 04 00 00 */ cmpwi r4, 0 -/* 8007D280 0007A1E0 40 81 00 0C */ ble lbl_8007D28C -lbl_8007D284: -/* 8007D284 0007A1E4 38 63 00 08 */ addi r3, r3, 8 -/* 8007D288 0007A1E8 42 00 FF FC */ bdnz lbl_8007D284 -lbl_8007D28C: -/* 8007D28C 0007A1EC 7C 03 30 50 */ subf r0, r3, r6 -/* 8007D290 0007A1F0 7C 09 03 A6 */ mtctr r0 -/* 8007D294 0007A1F4 7C 03 30 00 */ cmpw r3, r6 -/* 8007D298 0007A1F8 40 80 00 08 */ bge lbl_8007D2A0 -lbl_8007D29C: -/* 8007D29C 0007A1FC 42 00 00 00 */ bdnz lbl_8007D29C -lbl_8007D2A0: -/* 8007D2A0 0007A200 38 00 00 00 */ li r0, 0 -/* 8007D2A4 0007A204 90 05 00 00 */ stw r0, 0(r5) -lbl_8007D2A8: -/* 8007D2A8 0007A208 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8007D2AC 0007A20C 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8007D2B0 0007A210 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8007D2B4 0007A214 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 8007D2B8 0007A218 7C 08 03 A6 */ mtlr r0 -/* 8007D2BC 0007A21C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8007D2C0 0007A220 4E 80 00 20 */ blr - -.global __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -__ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm: -/* 8007D2C4 0007A224 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007D2C8 0007A228 39 80 00 00 */ li r12, 0 -/* 8007D2CC 0007A22C 38 03 00 08 */ addi r0, r3, 8 -/* 8007D2D0 0007A230 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007D2D4 0007A234 81 61 00 18 */ lwz r11, 0x18(r1) -/* 8007D2D8 0007A238 90 83 00 00 */ stw r4, 0(r3) -/* 8007D2DC 0007A23C 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8007D2E0 0007A240 91 83 00 04 */ stw r12, 4(r3) -/* 8007D2E4 0007A244 81 83 00 04 */ lwz r12, 4(r3) -/* 8007D2E8 0007A248 55 8C 18 38 */ slwi r12, r12, 3 -/* 8007D2EC 0007A24C 7F E0 62 15 */ add. r31, r0, r12 -/* 8007D2F0 0007A250 41 82 00 14 */ beq lbl_8007D304 -/* 8007D2F4 0007A254 81 85 00 00 */ lwz r12, 0(r5) -/* 8007D2F8 0007A258 91 9F 00 00 */ stw r12, 0(r31) -/* 8007D2FC 0007A25C 80 A5 00 04 */ lwz r5, 4(r5) -/* 8007D300 0007A260 90 BF 00 04 */ stw r5, 4(r31) -lbl_8007D304: -/* 8007D304 0007A264 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D308 0007A268 38 A5 00 01 */ addi r5, r5, 1 -/* 8007D30C 0007A26C 90 A3 00 04 */ stw r5, 4(r3) -/* 8007D310 0007A270 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D314 0007A274 54 A5 18 38 */ slwi r5, r5, 3 -/* 8007D318 0007A278 7D 80 2A 15 */ add. r12, r0, r5 -/* 8007D31C 0007A27C 41 82 00 14 */ beq lbl_8007D330 -/* 8007D320 0007A280 80 A6 00 00 */ lwz r5, 0(r6) -/* 8007D324 0007A284 90 AC 00 00 */ stw r5, 0(r12) -/* 8007D328 0007A288 80 A6 00 04 */ lwz r5, 4(r6) -/* 8007D32C 0007A28C 90 AC 00 04 */ stw r5, 4(r12) -lbl_8007D330: -/* 8007D330 0007A290 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D334 0007A294 38 A5 00 01 */ addi r5, r5, 1 -/* 8007D338 0007A298 90 A3 00 04 */ stw r5, 4(r3) -/* 8007D33C 0007A29C 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D340 0007A2A0 54 A5 18 38 */ slwi r5, r5, 3 -/* 8007D344 0007A2A4 7C C0 2A 15 */ add. r6, r0, r5 -/* 8007D348 0007A2A8 41 82 00 14 */ beq lbl_8007D35C -/* 8007D34C 0007A2AC 80 A7 00 00 */ lwz r5, 0(r7) -/* 8007D350 0007A2B0 90 A6 00 00 */ stw r5, 0(r6) -/* 8007D354 0007A2B4 80 A7 00 04 */ lwz r5, 4(r7) -/* 8007D358 0007A2B8 90 A6 00 04 */ stw r5, 4(r6) -lbl_8007D35C: -/* 8007D35C 0007A2BC 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D360 0007A2C0 38 A5 00 01 */ addi r5, r5, 1 -/* 8007D364 0007A2C4 90 A3 00 04 */ stw r5, 4(r3) -/* 8007D368 0007A2C8 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D36C 0007A2CC 54 A5 18 38 */ slwi r5, r5, 3 -/* 8007D370 0007A2D0 7C C0 2A 15 */ add. r6, r0, r5 -/* 8007D374 0007A2D4 41 82 00 14 */ beq lbl_8007D388 -/* 8007D378 0007A2D8 80 A8 00 00 */ lwz r5, 0(r8) -/* 8007D37C 0007A2DC 90 A6 00 00 */ stw r5, 0(r6) -/* 8007D380 0007A2E0 80 A8 00 04 */ lwz r5, 4(r8) -/* 8007D384 0007A2E4 90 A6 00 04 */ stw r5, 4(r6) -lbl_8007D388: -/* 8007D388 0007A2E8 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D38C 0007A2EC 38 A5 00 01 */ addi r5, r5, 1 -/* 8007D390 0007A2F0 90 A3 00 04 */ stw r5, 4(r3) -/* 8007D394 0007A2F4 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D398 0007A2F8 54 A5 18 38 */ slwi r5, r5, 3 -/* 8007D39C 0007A2FC 7C C0 2A 15 */ add. r6, r0, r5 -/* 8007D3A0 0007A300 41 82 00 14 */ beq lbl_8007D3B4 -/* 8007D3A4 0007A304 80 A9 00 00 */ lwz r5, 0(r9) -/* 8007D3A8 0007A308 90 A6 00 00 */ stw r5, 0(r6) -/* 8007D3AC 0007A30C 80 A9 00 04 */ lwz r5, 4(r9) -/* 8007D3B0 0007A310 90 A6 00 04 */ stw r5, 4(r6) -lbl_8007D3B4: -/* 8007D3B4 0007A314 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D3B8 0007A318 38 A5 00 01 */ addi r5, r5, 1 -/* 8007D3BC 0007A31C 90 A3 00 04 */ stw r5, 4(r3) -/* 8007D3C0 0007A320 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D3C4 0007A324 54 A5 18 38 */ slwi r5, r5, 3 -/* 8007D3C8 0007A328 7C C0 2A 15 */ add. r6, r0, r5 -/* 8007D3CC 0007A32C 41 82 00 14 */ beq lbl_8007D3E0 -/* 8007D3D0 0007A330 80 AA 00 00 */ lwz r5, 0(r10) -/* 8007D3D4 0007A334 90 A6 00 00 */ stw r5, 0(r6) -/* 8007D3D8 0007A338 80 AA 00 04 */ lwz r5, 4(r10) -/* 8007D3DC 0007A33C 90 A6 00 04 */ stw r5, 4(r6) -lbl_8007D3E0: -/* 8007D3E0 0007A340 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D3E4 0007A344 38 A5 00 01 */ addi r5, r5, 1 -/* 8007D3E8 0007A348 90 A3 00 04 */ stw r5, 4(r3) -/* 8007D3EC 0007A34C 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D3F0 0007A350 54 A5 18 38 */ slwi r5, r5, 3 -/* 8007D3F4 0007A354 7C C0 2A 15 */ add. r6, r0, r5 -/* 8007D3F8 0007A358 41 82 00 14 */ beq lbl_8007D40C -/* 8007D3FC 0007A35C 80 AB 00 00 */ lwz r5, 0(r11) -/* 8007D400 0007A360 90 A6 00 00 */ stw r5, 0(r6) -/* 8007D404 0007A364 80 AB 00 04 */ lwz r5, 4(r11) -/* 8007D408 0007A368 90 A6 00 04 */ stw r5, 4(r6) -lbl_8007D40C: -/* 8007D40C 0007A36C 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D410 0007A370 38 A5 00 01 */ addi r5, r5, 1 -/* 8007D414 0007A374 90 A3 00 04 */ stw r5, 4(r3) -/* 8007D418 0007A378 80 A3 00 04 */ lwz r5, 4(r3) -/* 8007D41C 0007A37C 54 A5 18 38 */ slwi r5, r5, 3 -/* 8007D420 0007A380 7C A0 2A 15 */ add. r5, r0, r5 -/* 8007D424 0007A384 41 82 00 14 */ beq lbl_8007D438 -/* 8007D428 0007A388 80 04 00 00 */ lwz r0, 0(r4) -/* 8007D42C 0007A38C 90 05 00 00 */ stw r0, 0(r5) -/* 8007D430 0007A390 80 04 00 04 */ lwz r0, 4(r4) -/* 8007D434 0007A394 90 05 00 04 */ stw r0, 4(r5) -lbl_8007D438: -/* 8007D438 0007A398 80 83 00 04 */ lwz r4, 4(r3) -/* 8007D43C 0007A39C 38 04 00 01 */ addi r0, r4, 1 -/* 8007D440 0007A3A0 90 03 00 04 */ stw r0, 4(r3) -/* 8007D444 0007A3A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007D448 0007A3A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007D44C 0007A3AC 4E 80 00 20 */ blr - -.global "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -"__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi": -/* 8007D450 0007A3B0 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8007D454 0007A3B4 7C 08 02 A6 */ mflr r0 -/* 8007D458 0007A3B8 39 8D A2 68 */ addi r12, r13, lbl_805A8E28@sda21 -/* 8007D45C 0007A3BC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8007D460 0007A3C0 BE C1 00 98 */ stmw r22, 0x98(r1) -/* 8007D464 0007A3C4 7C 7F 1B 78 */ mr r31, r3 -/* 8007D468 0007A3C8 83 21 00 CC */ lwz r25, 0xcc(r1) -/* 8007D46C 0007A3CC 7C 96 23 78 */ mr r22, r4 -/* 8007D470 0007A3D0 83 01 00 C8 */ lwz r24, 0xc8(r1) -/* 8007D474 0007A3D4 7C F7 3B 78 */ mr r23, r7 -/* 8007D478 0007A3D8 2C 19 00 01 */ cmpwi r25, 1 -/* 8007D47C 0007A3DC 83 41 00 D0 */ lwz r26, 0xd0(r1) -/* 8007D480 0007A3E0 83 61 00 D4 */ lwz r27, 0xd4(r1) -/* 8007D484 0007A3E4 83 81 00 D8 */ lwz r28, 0xd8(r1) -/* 8007D488 0007A3E8 83 A1 00 DC */ lwz r29, 0xdc(r1) -/* 8007D48C 0007A3EC 40 82 00 08 */ bne lbl_8007D494 -/* 8007D490 0007A3F0 39 8D A2 60 */ addi r12, r13, lbl_805A8E20@sda21 -lbl_8007D494: -/* 8007D494 0007A3F4 C0 38 00 C4 */ lfs f1, 0xc4(r24) -/* 8007D498 0007A3F8 7D 07 43 78 */ mr r7, r8 -/* 8007D49C 0007A3FC C0 D8 00 D0 */ lfs f6, 0xd0(r24) -/* 8007D4A0 0007A400 7D 28 4B 78 */ mr r8, r9 -/* 8007D4A4 0007A404 FD 00 08 50 */ fneg f8, f1 -/* 8007D4A8 0007A408 C0 F8 00 CC */ lfs f7, 0xcc(r24) -/* 8007D4AC 0007A40C C0 18 00 C8 */ lfs f0, 0xc8(r24) -/* 8007D4B0 0007A410 7D 49 53 78 */ mr r9, r10 -/* 8007D4B4 0007A414 C0 78 00 D4 */ lfs f3, 0xd4(r24) -/* 8007D4B8 0007A418 EC 81 30 2A */ fadds f4, f1, f6 -/* 8007D4BC 0007A41C EC 41 38 2A */ fadds f2, f1, f7 -/* 8007D4C0 0007A420 A0 A5 00 00 */ lhz r5, 0(r5) -/* 8007D4C4 0007A424 EC A0 18 2A */ fadds f5, f0, f3 -/* 8007D4C8 0007A428 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 8007D4CC 0007A42C EC 28 30 2A */ fadds f1, f8, f6 -/* 8007D4D0 0007A430 39 78 00 54 */ addi r11, r24, 0x54 -/* 8007D4D4 0007A434 EC 08 38 2A */ fadds f0, f8, f7 -/* 8007D4D8 0007A438 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8007D4DC 0007A43C 38 18 00 5C */ addi r0, r24, 0x5c -/* 8007D4E0 0007A440 C0 62 89 34 */ lfs f3, lbl_805AA654@sda21(r2) -/* 8007D4E4 0007A444 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 8007D4E8 0007A448 7F E3 FB 78 */ mr r3, r31 -/* 8007D4EC 0007A44C D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8007D4F0 0007A450 38 81 00 20 */ addi r4, r1, 0x20 -/* 8007D4F4 0007A454 39 41 00 78 */ addi r10, r1, 0x78 -/* 8007D4F8 0007A458 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 8007D4FC 0007A45C D0 A1 00 8C */ stfs f5, 0x8c(r1) -/* 8007D500 0007A460 B0 A1 00 20 */ sth r5, 0x20(r1) -/* 8007D504 0007A464 91 61 00 08 */ stw r11, 8(r1) -/* 8007D508 0007A468 90 01 00 0C */ stw r0, 0xc(r1) -/* 8007D50C 0007A46C 91 81 00 10 */ stw r12, 0x10(r1) -/* 8007D510 0007A470 80 18 00 FC */ lwz r0, 0xfc(r24) -/* 8007D514 0007A474 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007D518 0007A478 93 81 00 18 */ stw r28, 0x18(r1) -/* 8007D51C 0007A47C 88 B8 00 F8 */ lbz r5, 0xf8(r24) -/* 8007D520 0007A480 C0 38 00 00 */ lfs f1, 0(r24) -/* 8007D524 0007A484 C0 58 00 D8 */ lfs f2, 0xd8(r24) -/* 8007D528 0007A488 48 02 58 D9 */ bl "__ct__3CAiF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxfRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersff" -/* 8007D52C 0007A48C 3C 60 80 3E */ lis r3, lbl_803DA5C8@ha -/* 8007D530 0007A490 20 19 00 01 */ subfic r0, r25, 1 -/* 8007D534 0007A494 38 83 A5 C8 */ addi r4, r3, lbl_803DA5C8@l -/* 8007D538 0007A498 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8007D53C 0007A49C 90 9F 00 00 */ stw r4, 0(r31) -/* 8007D540 0007A4A0 38 80 FF FF */ li r4, -1 -/* 8007D544 0007A4A4 7C 00 00 34 */ cntlzw r0, r0 -/* 8007D548 0007A4A8 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 8007D54C 0007A4AC 90 9F 02 D8 */ stw r4, 0x2d8(r31) -/* 8007D550 0007A4B0 38 E0 00 00 */ li r7, 0 -/* 8007D554 0007A4B4 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007D558 0007A4B8 54 06 D9 7E */ srwi r6, r0, 5 -/* 8007D55C 0007A4BC A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 8007D560 0007A4C0 20 79 00 01 */ subfic r3, r25, 1 -/* 8007D564 0007A4C4 38 19 FF FF */ addi r0, r25, -1 -/* 8007D568 0007A4C8 38 80 00 01 */ li r4, 1 -/* 8007D56C 0007A4CC B0 BF 02 DC */ sth r5, 0x2dc(r31) -/* 8007D570 0007A4D0 7C 60 03 78 */ or r0, r3, r0 -/* 8007D574 0007A4D4 54 05 0F FE */ srwi r5, r0, 0x1f -/* 8007D578 0007A4D8 38 7F 03 30 */ addi r3, r31, 0x330 -/* 8007D57C 0007A4DC C0 3E 00 00 */ lfs f1, 0(r30) -/* 8007D580 0007A4E0 D0 3F 02 E0 */ stfs f1, 0x2e0(r31) -/* 8007D584 0007A4E4 C0 3E 00 04 */ lfs f1, 4(r30) -/* 8007D588 0007A4E8 D0 3F 02 E4 */ stfs f1, 0x2e4(r31) -/* 8007D58C 0007A4EC C0 3E 00 08 */ lfs f1, 8(r30) -/* 8007D590 0007A4F0 D0 3F 02 E8 */ stfs f1, 0x2e8(r31) -/* 8007D594 0007A4F4 C0 3E 00 00 */ lfs f1, 0(r30) -/* 8007D598 0007A4F8 D0 3F 02 EC */ stfs f1, 0x2ec(r31) -/* 8007D59C 0007A4FC C0 3E 00 04 */ lfs f1, 4(r30) -/* 8007D5A0 0007A500 D0 3F 02 F0 */ stfs f1, 0x2f0(r31) -/* 8007D5A4 0007A504 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8007D5A8 0007A508 D0 3F 02 F4 */ stfs f1, 0x2f4(r31) -/* 8007D5AC 0007A50C D0 1F 02 F8 */ stfs f0, 0x2f8(r31) -/* 8007D5B0 0007A510 C0 18 00 18 */ lfs f0, 0x18(r24) -/* 8007D5B4 0007A514 D0 1F 02 FC */ stfs f0, 0x2fc(r31) -/* 8007D5B8 0007A518 C0 18 00 1C */ lfs f0, 0x1c(r24) -/* 8007D5BC 0007A51C D0 1F 03 00 */ stfs f0, 0x300(r31) -/* 8007D5C0 0007A520 C0 18 00 20 */ lfs f0, 0x20(r24) -/* 8007D5C4 0007A524 D0 1F 03 04 */ stfs f0, 0x304(r31) -/* 8007D5C8 0007A528 C0 18 00 24 */ lfs f0, 0x24(r24) -/* 8007D5CC 0007A52C D0 1F 03 08 */ stfs f0, 0x308(r31) -/* 8007D5D0 0007A530 90 FF 03 0C */ stw r7, 0x30c(r31) -/* 8007D5D4 0007A534 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8007D5D8 0007A538 D0 1F 03 10 */ stfs f0, 0x310(r31) -/* 8007D5DC 0007A53C C0 1E 00 04 */ lfs f0, 4(r30) -/* 8007D5E0 0007A540 D0 1F 03 14 */ stfs f0, 0x314(r31) -/* 8007D5E4 0007A544 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8007D5E8 0007A548 D0 1F 03 18 */ stfs f0, 0x318(r31) -/* 8007D5EC 0007A54C C0 1E 00 00 */ lfs f0, 0(r30) -/* 8007D5F0 0007A550 D0 1F 03 1C */ stfs f0, 0x31c(r31) -/* 8007D5F4 0007A554 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8007D5F8 0007A558 D0 1F 03 20 */ stfs f0, 0x320(r31) -/* 8007D5FC 0007A55C C0 1E 00 08 */ lfs f0, 8(r30) -/* 8007D600 0007A560 D0 1F 03 24 */ stfs f0, 0x324(r31) -/* 8007D604 0007A564 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8007D608 0007A568 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 8007D60C 0007A56C 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8007D610 0007A570 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8007D614 0007A574 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 8007D618 0007A578 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8007D61C 0007A57C 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8007D620 0007A580 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a -/* 8007D624 0007A584 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8007D628 0007A588 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8007D62C 0007A58C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8007D630 0007A590 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8007D634 0007A594 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8007D638 0007A598 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8007D63C 0007A59C 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8007D640 0007A5A0 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8007D644 0007A5A4 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d -/* 8007D648 0007A5A8 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8007D64C 0007A5AC 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8007D650 0007A5B0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8007D654 0007A5B4 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8007D658 0007A5B8 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8007D65C 0007A5BC 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f -/* 8007D660 0007A5C0 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8007D664 0007A5C4 88 1F 03 29 */ lbz r0, 0x329(r31) -/* 8007D668 0007A5C8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8007D66C 0007A5CC 98 1F 03 29 */ stb r0, 0x329(r31) -/* 8007D670 0007A5D0 90 FF 03 2C */ stw r7, 0x32c(r31) -/* 8007D674 0007A5D4 48 00 25 65 */ bl __ct__18CStateMachineStateFv -/* 8007D678 0007A5D8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8007D67C 0007A5DC 92 DF 03 4C */ stw r22, 0x34c(r31) -/* 8007D680 0007A5E0 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 8007D684 0007A5E4 38 80 00 00 */ li r4, 0 -/* 8007D688 0007A5E8 C0 25 00 00 */ lfs f1, 0(r5) -/* 8007D68C 0007A5EC 38 60 00 02 */ li r3, 2 -/* 8007D690 0007A5F0 38 00 00 01 */ li r0, 1 -/* 8007D694 0007A5F4 C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 8007D698 0007A5F8 D0 3F 03 50 */ stfs f1, 0x350(r31) -/* 8007D69C 0007A5FC C0 22 89 64 */ lfs f1, lbl_805AA684@sda21(r2) -/* 8007D6A0 0007A600 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8007D6A4 0007A604 D0 5F 03 54 */ stfs f2, 0x354(r31) -/* 8007D6A8 0007A608 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8007D6AC 0007A60C D0 5F 03 58 */ stfs f2, 0x358(r31) -/* 8007D6B0 0007A610 C0 45 00 00 */ lfs f2, 0(r5) -/* 8007D6B4 0007A614 D0 5F 03 5C */ stfs f2, 0x35c(r31) -/* 8007D6B8 0007A618 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8007D6BC 0007A61C D0 5F 03 60 */ stfs f2, 0x360(r31) -/* 8007D6C0 0007A620 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8007D6C4 0007A624 D0 5F 03 64 */ stfs f2, 0x364(r31) -/* 8007D6C8 0007A628 C0 45 00 00 */ lfs f2, 0(r5) -/* 8007D6CC 0007A62C D0 5F 03 68 */ stfs f2, 0x368(r31) -/* 8007D6D0 0007A630 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8007D6D4 0007A634 D0 5F 03 6C */ stfs f2, 0x36c(r31) -/* 8007D6D8 0007A638 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8007D6DC 0007A63C D0 5F 03 70 */ stfs f2, 0x370(r31) -/* 8007D6E0 0007A640 90 9F 03 74 */ stw r4, 0x374(r31) -/* 8007D6E4 0007A644 90 7F 03 78 */ stw r3, 0x378(r31) -/* 8007D6E8 0007A648 90 1F 03 7C */ stw r0, 0x37c(r31) -/* 8007D6EC 0007A64C 90 9F 03 80 */ stw r4, 0x380(r31) -/* 8007D6F0 0007A650 90 9F 03 84 */ stw r4, 0x384(r31) -/* 8007D6F4 0007A654 80 18 00 F4 */ lwz r0, 0xf4(r24) -/* 8007D6F8 0007A658 90 1F 03 88 */ stw r0, 0x388(r31) -/* 8007D6FC 0007A65C 90 9F 03 90 */ stw r4, 0x390(r31) -/* 8007D700 0007A660 90 9F 03 94 */ stw r4, 0x394(r31) -/* 8007D704 0007A664 90 9F 03 98 */ stw r4, 0x398(r31) -/* 8007D708 0007A668 90 9F 03 9C */ stw r4, 0x39c(r31) -/* 8007D70C 0007A66C C0 45 00 00 */ lfs f2, 0(r5) -/* 8007D710 0007A670 D0 5F 03 A0 */ stfs f2, 0x3a0(r31) -/* 8007D714 0007A674 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8007D718 0007A678 D0 5F 03 A4 */ stfs f2, 0x3a4(r31) -/* 8007D71C 0007A67C C0 5E 00 08 */ lfs f2, 8(r30) -/* 8007D720 0007A680 D0 5F 03 A8 */ stfs f2, 0x3a8(r31) -/* 8007D724 0007A684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007D728 0007A688 B0 1F 03 AC */ sth r0, 0x3ac(r31) -/* 8007D72C 0007A68C D0 1F 03 B0 */ stfs f0, 0x3b0(r31) -/* 8007D730 0007A690 C0 18 00 04 */ lfs f0, 4(r24) -/* 8007D734 0007A694 D0 1F 03 B4 */ stfs f0, 0x3b4(r31) -/* 8007D738 0007A698 C0 18 00 08 */ lfs f0, 8(r24) -/* 8007D73C 0007A69C D0 1F 03 B8 */ stfs f0, 0x3b8(r31) -/* 8007D740 0007A6A0 C0 18 00 0C */ lfs f0, 0xc(r24) -/* 8007D744 0007A6A4 D0 1F 03 BC */ stfs f0, 0x3bc(r31) -/* 8007D748 0007A6A8 C0 18 00 10 */ lfs f0, 0x10(r24) -/* 8007D74C 0007A6AC D0 1F 03 C0 */ stfs f0, 0x3c0(r31) -/* 8007D750 0007A6B0 C0 18 00 14 */ lfs f0, 0x14(r24) -/* 8007D754 0007A6B4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8007D758 0007A6B8 48 31 6C 99 */ bl cos -/* 8007D75C 0007A6BC FC 00 08 18 */ frsp f0, f1 -/* 8007D760 0007A6C0 20 19 00 01 */ subfic r0, r25, 1 -/* 8007D764 0007A6C4 7C 03 00 34 */ cntlzw r3, r0 -/* 8007D768 0007A6C8 C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 8007D76C 0007A6CC 38 80 00 00 */ li r4, 0 -/* 8007D770 0007A6D0 38 00 00 01 */ li r0, 1 -/* 8007D774 0007A6D4 D0 1F 03 C4 */ stfs f0, 0x3c4(r31) -/* 8007D778 0007A6D8 54 65 DE 3E */ rlwinm r5, r3, 0x1b, 0x18, 0x1f -/* 8007D77C 0007A6DC C0 18 00 28 */ lfs f0, 0x28(r24) -/* 8007D780 0007A6E0 D0 1F 03 C8 */ stfs f0, 0x3c8(r31) -/* 8007D784 0007A6E4 C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8007D788 0007A6E8 D0 1F 03 CC */ stfs f0, 0x3cc(r31) -/* 8007D78C 0007A6EC C0 18 00 30 */ lfs f0, 0x30(r24) -/* 8007D790 0007A6F0 D0 1F 03 D0 */ stfs f0, 0x3d0(r31) -/* 8007D794 0007A6F4 D0 3F 03 D4 */ stfs f1, 0x3d4(r31) -/* 8007D798 0007A6F8 C0 18 00 DC */ lfs f0, 0xdc(r24) -/* 8007D79C 0007A6FC D0 1F 03 D8 */ stfs f0, 0x3d8(r31) -/* 8007D7A0 0007A700 C0 18 00 E0 */ lfs f0, 0xe0(r24) -/* 8007D7A4 0007A704 D0 1F 03 DC */ stfs f0, 0x3dc(r31) -/* 8007D7A8 0007A708 C0 18 00 E4 */ lfs f0, 0xe4(r24) -/* 8007D7AC 0007A70C D0 1F 03 E0 */ stfs f0, 0x3e0(r31) -/* 8007D7B0 0007A710 D0 3F 03 E4 */ stfs f1, 0x3e4(r31) -/* 8007D7B4 0007A714 D0 3F 03 E8 */ stfs f1, 0x3e8(r31) -/* 8007D7B8 0007A718 D0 3F 03 EC */ stfs f1, 0x3ec(r31) -/* 8007D7BC 0007A71C D0 3F 03 F0 */ stfs f1, 0x3f0(r31) -/* 8007D7C0 0007A720 D0 3F 03 F4 */ stfs f1, 0x3f4(r31) -/* 8007D7C4 0007A724 90 9F 03 F8 */ stw r4, 0x3f8(r31) -/* 8007D7C8 0007A728 92 FF 03 FC */ stw r23, 0x3fc(r31) -/* 8007D7CC 0007A72C 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D7D0 0007A730 50 83 F8 00 */ rlwimi r3, r4, 0x1f, 0, 0 -/* 8007D7D4 0007A734 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D7D8 0007A738 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D7DC 0007A73C 50 03 F0 42 */ rlwimi r3, r0, 0x1e, 1, 1 -/* 8007D7E0 0007A740 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D7E4 0007A744 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D7E8 0007A748 50 83 E8 84 */ rlwimi r3, r4, 0x1d, 2, 2 -/* 8007D7EC 0007A74C 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D7F0 0007A750 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D7F4 0007A754 50 83 E0 C6 */ rlwimi r3, r4, 0x1c, 3, 3 -/* 8007D7F8 0007A758 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D7FC 0007A75C 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D800 0007A760 50 83 D9 08 */ rlwimi r3, r4, 0x1b, 4, 4 -/* 8007D804 0007A764 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D808 0007A768 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D80C 0007A76C 50 83 D1 4A */ rlwimi r3, r4, 0x1a, 5, 5 -/* 8007D810 0007A770 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D814 0007A774 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D818 0007A778 50 83 C9 8C */ rlwimi r3, r4, 0x19, 6, 6 -/* 8007D81C 0007A77C 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D820 0007A780 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D824 0007A784 50 A3 C1 CE */ rlwimi r3, r5, 0x18, 7, 7 -/* 8007D828 0007A788 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D82C 0007A78C 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D830 0007A790 50 83 B2 12 */ rlwimi r3, r4, 0x16, 8, 9 -/* 8007D834 0007A794 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D838 0007A798 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D83C 0007A79C 50 83 AA 94 */ rlwimi r3, r4, 0x15, 0xa, 0xa -/* 8007D840 0007A7A0 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D844 0007A7A4 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D848 0007A7A8 50 83 A2 D6 */ rlwimi r3, r4, 0x14, 0xb, 0xb -/* 8007D84C 0007A7AC 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D850 0007A7B0 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D854 0007A7B4 50 83 9B 18 */ rlwimi r3, r4, 0x13, 0xc, 0xc -/* 8007D858 0007A7B8 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D85C 0007A7BC 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D860 0007A7C0 50 83 93 5A */ rlwimi r3, r4, 0x12, 0xd, 0xd -/* 8007D864 0007A7C4 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D868 0007A7C8 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D86C 0007A7CC 50 83 8B 9C */ rlwimi r3, r4, 0x11, 0xe, 0xe -/* 8007D870 0007A7D0 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D874 0007A7D4 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D878 0007A7D8 50 83 83 DE */ rlwimi r3, r4, 0x10, 0xf, 0xf -/* 8007D87C 0007A7DC 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D880 0007A7E0 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D884 0007A7E4 50 83 7C 20 */ rlwimi r3, r4, 0xf, 0x10, 0x10 -/* 8007D888 0007A7E8 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D88C 0007A7EC 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D890 0007A7F0 50 83 74 62 */ rlwimi r3, r4, 0xe, 0x11, 0x11 -/* 8007D894 0007A7F4 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D898 0007A7F8 80 7F 04 00 */ lwz r3, 0x400(r31) -/* 8007D89C 0007A7FC 50 83 6C A4 */ rlwimi r3, r4, 0xd, 0x12, 0x12 -/* 8007D8A0 0007A800 C0 02 89 48 */ lfs f0, lbl_805AA668@sda21(r2) -/* 8007D8A4 0007A804 FC 40 08 90 */ fmr f2, f1 -/* 8007D8A8 0007A808 90 7F 04 00 */ stw r3, 0x400(r31) -/* 8007D8AC 0007A80C FC 60 08 90 */ fmr f3, f1 -/* 8007D8B0 0007A810 C0 82 89 04 */ lfs f4, lbl_805AA624@sda21(r2) -/* 8007D8B4 0007A814 38 7F 04 2C */ addi r3, r31, 0x42c -/* 8007D8B8 0007A818 80 BF 04 00 */ lwz r5, 0x400(r31) -/* 8007D8BC 0007A81C 50 85 64 E6 */ rlwimi r5, r4, 0xc, 0x13, 0x13 -/* 8007D8C0 0007A820 90 BF 04 00 */ stw r5, 0x400(r31) -/* 8007D8C4 0007A824 80 BF 04 00 */ lwz r5, 0x400(r31) -/* 8007D8C8 0007A828 50 85 5D 28 */ rlwimi r5, r4, 0xb, 0x14, 0x14 -/* 8007D8CC 0007A82C 90 BF 04 00 */ stw r5, 0x400(r31) -/* 8007D8D0 0007A830 80 BF 04 00 */ lwz r5, 0x400(r31) -/* 8007D8D4 0007A834 50 05 55 6A */ rlwimi r5, r0, 0xa, 0x15, 0x15 -/* 8007D8D8 0007A838 90 BF 04 00 */ stw r5, 0x400(r31) -/* 8007D8DC 0007A83C 88 DC 00 58 */ lbz r6, 0x58(r28) -/* 8007D8E0 0007A840 80 BF 04 00 */ lwz r5, 0x400(r31) -/* 8007D8E4 0007A844 50 C5 1D AC */ rlwimi r5, r6, 3, 0x16, 0x16 -/* 8007D8E8 0007A848 90 BF 04 00 */ stw r5, 0x400(r31) -/* 8007D8EC 0007A84C 88 DF 04 02 */ lbz r6, 0x402(r31) -/* 8007D8F0 0007A850 80 BF 04 00 */ lwz r5, 0x400(r31) -/* 8007D8F4 0007A854 50 C5 3D EE */ rlwimi r5, r6, 7, 0x17, 0x17 -/* 8007D8F8 0007A858 90 BF 04 00 */ stw r5, 0x400(r31) -/* 8007D8FC 0007A85C 80 BF 04 00 */ lwz r5, 0x400(r31) -/* 8007D900 0007A860 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18 -/* 8007D904 0007A864 90 BF 04 00 */ stw r5, 0x400(r31) -/* 8007D908 0007A868 80 9F 04 00 */ lwz r4, 0x400(r31) -/* 8007D90C 0007A86C 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 8007D910 0007A870 90 9F 04 00 */ stw r4, 0x400(r31) -/* 8007D914 0007A874 80 9F 04 00 */ lwz r4, 0x400(r31) -/* 8007D918 0007A878 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a -/* 8007D91C 0007A87C 90 9F 04 00 */ stw r4, 0x400(r31) -/* 8007D920 0007A880 80 18 00 34 */ lwz r0, 0x34(r24) -/* 8007D924 0007A884 90 1F 04 04 */ stw r0, 0x404(r31) -/* 8007D928 0007A888 88 18 00 38 */ lbz r0, 0x38(r24) -/* 8007D92C 0007A88C 98 1F 04 08 */ stb r0, 0x408(r31) -/* 8007D930 0007A890 C0 B8 00 3C */ lfs f5, 0x3c(r24) -/* 8007D934 0007A894 D0 BF 04 0C */ stfs f5, 0x40c(r31) -/* 8007D938 0007A898 C0 B8 00 40 */ lfs f5, 0x40(r24) -/* 8007D93C 0007A89C D0 BF 04 10 */ stfs f5, 0x410(r31) -/* 8007D940 0007A8A0 C0 B8 00 44 */ lfs f5, 0x44(r24) -/* 8007D944 0007A8A4 D0 BF 04 14 */ stfs f5, 0x414(r31) -/* 8007D948 0007A8A8 C0 B8 00 48 */ lfs f5, 0x48(r24) -/* 8007D94C 0007A8AC D0 BF 04 18 */ stfs f5, 0x418(r31) -/* 8007D950 0007A8B0 88 18 00 4C */ lbz r0, 0x4c(r24) -/* 8007D954 0007A8B4 98 1F 04 1C */ stb r0, 0x41c(r31) -/* 8007D958 0007A8B8 D0 3F 04 20 */ stfs f1, 0x420(r31) -/* 8007D95C 0007A8BC C0 B8 00 50 */ lfs f5, 0x50(r24) -/* 8007D960 0007A8C0 D0 BF 04 24 */ stfs f5, 0x424(r31) -/* 8007D964 0007A8C4 D0 1F 04 28 */ stfs f0, 0x428(r31) -/* 8007D968 0007A8C8 48 2E 5A 85 */ bl __ct__6CColorFffff -/* 8007D96C 0007A8CC 80 AD A2 50 */ lwz r5, lbl_805A8E10@sda21(r13) -/* 8007D970 0007A8D0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007D974 0007A8D4 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 8007D978 0007A8D8 38 00 00 00 */ li r0, 0 -/* 8007D97C 0007A8DC 90 BF 04 30 */ stw r5, 0x430(r31) -/* 8007D980 0007A8E0 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8007D984 0007A8E4 38 83 66 60 */ addi r4, r3, lbl_805A6660@l -/* 8007D988 0007A8E8 38 7F 04 5C */ addi r3, r31, 0x45c -/* 8007D98C 0007A8EC C0 05 00 00 */ lfs f0, 0(r5) -/* 8007D990 0007A8F0 D0 1F 04 34 */ stfs f0, 0x434(r31) -/* 8007D994 0007A8F4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8007D998 0007A8F8 D0 1F 04 38 */ stfs f0, 0x438(r31) -/* 8007D99C 0007A8FC C0 1E 00 08 */ lfs f0, 8(r30) -/* 8007D9A0 0007A900 D0 1F 04 3C */ stfs f0, 0x43c(r31) -/* 8007D9A4 0007A904 C0 04 00 00 */ lfs f0, 0(r4) -/* 8007D9A8 0007A908 D0 1F 04 40 */ stfs f0, 0x440(r31) -/* 8007D9AC 0007A90C C0 04 00 04 */ lfs f0, 4(r4) -/* 8007D9B0 0007A910 D0 1F 04 44 */ stfs f0, 0x444(r31) -/* 8007D9B4 0007A914 C0 04 00 08 */ lfs f0, 8(r4) -/* 8007D9B8 0007A918 D0 1F 04 48 */ stfs f0, 0x448(r31) -/* 8007D9BC 0007A91C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8007D9C0 0007A920 D0 1F 04 4C */ stfs f0, 0x44c(r31) -/* 8007D9C4 0007A924 90 1F 04 50 */ stw r0, 0x450(r31) -/* 8007D9C8 0007A928 80 18 00 E8 */ lwz r0, 0xe8(r24) -/* 8007D9CC 0007A92C 90 1F 04 54 */ stw r0, 0x454(r31) -/* 8007D9D0 0007A930 80 18 01 34 */ lwz r0, 0x134(r24) -/* 8007D9D4 0007A934 90 1F 04 58 */ stw r0, 0x458(r31) -/* 8007D9D8 0007A938 48 0C 13 79 */ bl __ct__18CSteeringBehaviorsFv -/* 8007D9DC 0007A93C 7F A4 EB 78 */ mr r4, r29 -/* 8007D9E0 0007A940 38 7F 04 60 */ addi r3, r31, 0x460 -/* 8007D9E4 0007A944 48 1B 64 15 */ bl __ct__20CKnockBackController2F17EKnockBackVariant -/* 8007D9E8 0007A948 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007D9EC 0007A94C C0 22 89 08 */ lfs f1, lbl_805AA628@sda21(r2) -/* 8007D9F0 0007A950 C0 04 66 A0 */ lfs f0, skZero3f@l(r4) -/* 8007D9F4 0007A954 3C 60 80 3D */ lis r3, lbl_803CD600@ha -/* 8007D9F8 0007A958 38 83 D6 00 */ addi r4, r3, lbl_803CD600@l -/* 8007D9FC 0007A95C 38 A0 00 00 */ li r5, 0 -/* 8007DA00 0007A960 D0 1F 04 E4 */ stfs f0, 0x4e4(r31) -/* 8007DA04 0007A964 38 60 00 08 */ li r3, 8 -/* 8007DA08 0007A968 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8007DA0C 0007A96C D0 1F 04 E8 */ stfs f0, 0x4e8(r31) -/* 8007DA10 0007A970 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8007DA14 0007A974 D0 1F 04 EC */ stfs f0, 0x4ec(r31) -/* 8007DA18 0007A978 D0 3F 04 F0 */ stfs f1, 0x4f0(r31) -/* 8007DA1C 0007A97C C0 18 01 00 */ lfs f0, 0x100(r24) -/* 8007DA20 0007A980 D0 1F 04 F4 */ stfs f0, 0x4f4(r31) -/* 8007DA24 0007A984 C0 18 01 04 */ lfs f0, 0x104(r24) -/* 8007DA28 0007A988 D0 1F 04 F8 */ stfs f0, 0x4f8(r31) -/* 8007DA2C 0007A98C C0 18 01 08 */ lfs f0, 0x108(r24) -/* 8007DA30 0007A990 D0 1F 04 FC */ stfs f0, 0x4fc(r31) -/* 8007DA34 0007A994 D0 3F 05 00 */ stfs f1, 0x500(r31) -/* 8007DA38 0007A998 D0 3F 05 04 */ stfs f1, 0x504(r31) -/* 8007DA3C 0007A99C 93 5F 05 08 */ stw r26, 0x508(r31) -/* 8007DA40 0007A9A0 C0 1C 00 64 */ lfs f0, 0x64(r28) -/* 8007DA44 0007A9A4 D0 1F 05 0C */ stfs f0, 0x50c(r31) -/* 8007DA48 0007A9A8 48 29 7E 25 */ bl __nw__FUlPCcPCc -/* 8007DA4C 0007A9AC 28 03 00 00 */ cmplwi r3, 0 -/* 8007DA50 0007A9B0 41 82 00 14 */ beq lbl_8007DA64 -/* 8007DA54 0007A9B4 38 80 00 00 */ li r4, 0 -/* 8007DA58 0007A9B8 38 00 00 01 */ li r0, 1 -/* 8007DA5C 0007A9BC 90 83 00 00 */ stw r4, 0(r3) -/* 8007DA60 0007A9C0 90 03 00 04 */ stw r0, 4(r3) -lbl_8007DA64: -/* 8007DA64 0007A9C4 90 7F 05 10 */ stw r3, 0x510(r31) -/* 8007DA68 0007A9C8 38 00 00 00 */ li r0, 0 -/* 8007DA6C 0007A9CC C0 02 89 04 */ lfs f0, lbl_805AA624@sda21(r2) -/* 8007DA70 0007A9D0 C0 38 01 10 */ lfs f1, 0x110(r24) -/* 8007DA74 0007A9D4 D0 3F 05 14 */ stfs f1, 0x514(r31) -/* 8007DA78 0007A9D8 C0 38 01 14 */ lfs f1, 0x114(r24) -/* 8007DA7C 0007A9DC D0 3F 05 18 */ stfs f1, 0x518(r31) -/* 8007DA80 0007A9E0 C0 38 01 18 */ lfs f1, 0x118(r24) -/* 8007DA84 0007A9E4 D0 3F 05 1C */ stfs f1, 0x51c(r31) -/* 8007DA88 0007A9E8 98 1F 05 2C */ stb r0, 0x52c(r31) -/* 8007DA8C 0007A9EC 98 1F 05 3C */ stb r0, 0x53c(r31) -/* 8007DA90 0007A9F0 C0 38 01 24 */ lfs f1, 0x124(r24) -/* 8007DA94 0007A9F4 D0 3F 05 40 */ stfs f1, 0x540(r31) -/* 8007DA98 0007A9F8 C0 38 01 28 */ lfs f1, 0x128(r24) -/* 8007DA9C 0007A9FC D0 3F 05 44 */ stfs f1, 0x544(r31) -/* 8007DAA0 0007AA00 C0 38 01 2C */ lfs f1, 0x12c(r24) -/* 8007DAA4 0007AA04 D0 3F 05 48 */ stfs f1, 0x548(r31) -/* 8007DAA8 0007AA08 98 1F 05 58 */ stb r0, 0x558(r31) -/* 8007DAAC 0007AA0C D0 1F 05 5C */ stfs f0, 0x55c(r31) -/* 8007DAB0 0007AA10 D0 1F 05 60 */ stfs f0, 0x560(r31) -/* 8007DAB4 0007AA14 D0 1F 05 64 */ stfs f0, 0x564(r31) -/* 8007DAB8 0007AA18 80 98 01 1C */ lwz r4, 0x11c(r24) -/* 8007DABC 0007AA1C 3C 04 00 01 */ addis r0, r4, 1 -/* 8007DAC0 0007AA20 28 00 FF FF */ cmplwi r0, 0xffff -/* 8007DAC4 0007AA24 41 82 00 B0 */ beq lbl_8007DB74 -/* 8007DAC8 0007AA28 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8007DACC 0007AA2C 90 81 00 50 */ stw r4, 0x50(r1) -/* 8007DAD0 0007AA30 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8007DAD4 0007AA34 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8007DAD8 0007AA38 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8007DADC 0007AA3C 38 61 00 44 */ addi r3, r1, 0x44 -/* 8007DAE0 0007AA40 38 A1 00 4C */ addi r5, r1, 0x4c -/* 8007DAE4 0007AA44 81 84 00 00 */ lwz r12, 0(r4) -/* 8007DAE8 0007AA48 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8007DAEC 0007AA4C 7D 89 03 A6 */ mtctr r12 -/* 8007DAF0 0007AA50 4E 80 04 21 */ bctrl -/* 8007DAF4 0007AA54 38 61 00 6C */ addi r3, r1, 0x6c -/* 8007DAF8 0007AA58 38 81 00 44 */ addi r4, r1, 0x44 -/* 8007DAFC 0007AA5C 48 2C 33 AD */ bl __ct__6CTokenFRC6CToken -/* 8007DB00 0007AA60 38 00 00 00 */ li r0, 0 -/* 8007DB04 0007AA64 90 01 00 74 */ stw r0, 0x74(r1) -/* 8007DB08 0007AA68 88 1F 05 2C */ lbz r0, 0x52c(r31) -/* 8007DB0C 0007AA6C 28 00 00 00 */ cmplwi r0, 0 -/* 8007DB10 0007AA70 40 82 00 2C */ bne lbl_8007DB3C -/* 8007DB14 0007AA74 36 DF 05 20 */ addic. r22, r31, 0x520 -/* 8007DB18 0007AA78 41 82 00 18 */ beq lbl_8007DB30 -/* 8007DB1C 0007AA7C 7E C3 B3 78 */ mr r3, r22 -/* 8007DB20 0007AA80 38 81 00 6C */ addi r4, r1, 0x6c -/* 8007DB24 0007AA84 48 2C 33 85 */ bl __ct__6CTokenFRC6CToken -/* 8007DB28 0007AA88 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8007DB2C 0007AA8C 90 16 00 08 */ stw r0, 8(r22) -lbl_8007DB30: -/* 8007DB30 0007AA90 38 00 00 01 */ li r0, 1 -/* 8007DB34 0007AA94 98 1F 05 2C */ stb r0, 0x52c(r31) -/* 8007DB38 0007AA98 48 00 00 1C */ b lbl_8007DB54 -lbl_8007DB3C: -/* 8007DB3C 0007AA9C 3A DF 05 20 */ addi r22, r31, 0x520 -/* 8007DB40 0007AAA0 38 81 00 6C */ addi r4, r1, 0x6c -/* 8007DB44 0007AAA4 7E C3 B3 78 */ mr r3, r22 -/* 8007DB48 0007AAA8 48 2C 31 7D */ bl __as__6CTokenFRC6CToken -/* 8007DB4C 0007AAAC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8007DB50 0007AAB0 90 16 00 08 */ stw r0, 8(r22) -lbl_8007DB54: -/* 8007DB54 0007AAB4 38 61 00 6C */ addi r3, r1, 0x6c -/* 8007DB58 0007AAB8 38 80 00 00 */ li r4, 0 -/* 8007DB5C 0007AABC 48 2C 32 E5 */ bl __dt__6CTokenFv -/* 8007DB60 0007AAC0 38 61 00 44 */ addi r3, r1, 0x44 -/* 8007DB64 0007AAC4 38 80 FF FF */ li r4, -1 -/* 8007DB68 0007AAC8 48 2C 32 D9 */ bl __dt__6CTokenFv -/* 8007DB6C 0007AACC 38 7F 05 20 */ addi r3, r31, 0x520 -/* 8007DB70 0007AAD0 48 2C 32 15 */ bl Lock__6CTokenFv -lbl_8007DB74: -/* 8007DB74 0007AAD4 80 98 01 20 */ lwz r4, 0x120(r24) -/* 8007DB78 0007AAD8 3C 04 00 01 */ addis r0, r4, 1 -/* 8007DB7C 0007AADC 28 00 FF FF */ cmplwi r0, 0xffff -/* 8007DB80 0007AAE0 41 82 00 B0 */ beq lbl_8007DC30 -/* 8007DB84 0007AAE4 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 8007DB88 0007AAE8 90 81 00 40 */ stw r4, 0x40(r1) -/* 8007DB8C 0007AAEC 38 03 53 43 */ addi r0, r3, 0x454C5343@l -/* 8007DB90 0007AAF0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8007DB94 0007AAF4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8007DB98 0007AAF8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8007DB9C 0007AAFC 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8007DBA0 0007AB00 81 84 00 00 */ lwz r12, 0(r4) -/* 8007DBA4 0007AB04 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8007DBA8 0007AB08 7D 89 03 A6 */ mtctr r12 -/* 8007DBAC 0007AB0C 4E 80 04 21 */ bctrl -/* 8007DBB0 0007AB10 38 61 00 60 */ addi r3, r1, 0x60 -/* 8007DBB4 0007AB14 38 81 00 34 */ addi r4, r1, 0x34 -/* 8007DBB8 0007AB18 48 2C 32 F1 */ bl __ct__6CTokenFRC6CToken -/* 8007DBBC 0007AB1C 38 00 00 00 */ li r0, 0 -/* 8007DBC0 0007AB20 90 01 00 68 */ stw r0, 0x68(r1) -/* 8007DBC4 0007AB24 88 1F 05 3C */ lbz r0, 0x53c(r31) -/* 8007DBC8 0007AB28 28 00 00 00 */ cmplwi r0, 0 -/* 8007DBCC 0007AB2C 40 82 00 2C */ bne lbl_8007DBF8 -/* 8007DBD0 0007AB30 36 DF 05 30 */ addic. r22, r31, 0x530 -/* 8007DBD4 0007AB34 41 82 00 18 */ beq lbl_8007DBEC -/* 8007DBD8 0007AB38 7E C3 B3 78 */ mr r3, r22 -/* 8007DBDC 0007AB3C 38 81 00 60 */ addi r4, r1, 0x60 -/* 8007DBE0 0007AB40 48 2C 32 C9 */ bl __ct__6CTokenFRC6CToken -/* 8007DBE4 0007AB44 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8007DBE8 0007AB48 90 16 00 08 */ stw r0, 8(r22) -lbl_8007DBEC: -/* 8007DBEC 0007AB4C 38 00 00 01 */ li r0, 1 -/* 8007DBF0 0007AB50 98 1F 05 3C */ stb r0, 0x53c(r31) -/* 8007DBF4 0007AB54 48 00 00 1C */ b lbl_8007DC10 -lbl_8007DBF8: -/* 8007DBF8 0007AB58 3A DF 05 30 */ addi r22, r31, 0x530 -/* 8007DBFC 0007AB5C 38 81 00 60 */ addi r4, r1, 0x60 -/* 8007DC00 0007AB60 7E C3 B3 78 */ mr r3, r22 -/* 8007DC04 0007AB64 48 2C 30 C1 */ bl __as__6CTokenFRC6CToken -/* 8007DC08 0007AB68 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8007DC0C 0007AB6C 90 16 00 08 */ stw r0, 8(r22) -lbl_8007DC10: -/* 8007DC10 0007AB70 38 61 00 60 */ addi r3, r1, 0x60 -/* 8007DC14 0007AB74 38 80 00 00 */ li r4, 0 -/* 8007DC18 0007AB78 48 2C 32 29 */ bl __dt__6CTokenFv -/* 8007DC1C 0007AB7C 38 61 00 34 */ addi r3, r1, 0x34 -/* 8007DC20 0007AB80 38 80 FF FF */ li r4, -1 -/* 8007DC24 0007AB84 48 2C 32 1D */ bl __dt__6CTokenFv -/* 8007DC28 0007AB88 38 7F 05 30 */ addi r3, r31, 0x530 -/* 8007DC2C 0007AB8C 48 2C 31 59 */ bl Lock__6CTokenFv -lbl_8007DC30: -/* 8007DC30 0007AB90 80 98 01 30 */ lwz r4, 0x130(r24) -/* 8007DC34 0007AB94 3C 04 00 01 */ addis r0, r4, 1 -/* 8007DC38 0007AB98 28 00 FF FF */ cmplwi r0, 0xffff -/* 8007DC3C 0007AB9C 41 82 00 B0 */ beq lbl_8007DCEC -/* 8007DC40 0007ABA0 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8007DC44 0007ABA4 90 81 00 30 */ stw r4, 0x30(r1) -/* 8007DC48 0007ABA8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8007DC4C 0007ABAC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8007DC50 0007ABB0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8007DC54 0007ABB4 38 61 00 24 */ addi r3, r1, 0x24 -/* 8007DC58 0007ABB8 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8007DC5C 0007ABBC 81 84 00 00 */ lwz r12, 0(r4) -/* 8007DC60 0007ABC0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8007DC64 0007ABC4 7D 89 03 A6 */ mtctr r12 -/* 8007DC68 0007ABC8 4E 80 04 21 */ bctrl -/* 8007DC6C 0007ABCC 38 61 00 54 */ addi r3, r1, 0x54 -/* 8007DC70 0007ABD0 38 81 00 24 */ addi r4, r1, 0x24 -/* 8007DC74 0007ABD4 48 2C 32 35 */ bl __ct__6CTokenFRC6CToken -/* 8007DC78 0007ABD8 38 00 00 00 */ li r0, 0 -/* 8007DC7C 0007ABDC 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8007DC80 0007ABE0 88 1F 05 58 */ lbz r0, 0x558(r31) -/* 8007DC84 0007ABE4 28 00 00 00 */ cmplwi r0, 0 -/* 8007DC88 0007ABE8 40 82 00 2C */ bne lbl_8007DCB4 -/* 8007DC8C 0007ABEC 36 DF 05 4C */ addic. r22, r31, 0x54c -/* 8007DC90 0007ABF0 41 82 00 18 */ beq lbl_8007DCA8 -/* 8007DC94 0007ABF4 7E C3 B3 78 */ mr r3, r22 -/* 8007DC98 0007ABF8 38 81 00 54 */ addi r4, r1, 0x54 -/* 8007DC9C 0007ABFC 48 2C 32 0D */ bl __ct__6CTokenFRC6CToken -/* 8007DCA0 0007AC00 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8007DCA4 0007AC04 90 16 00 08 */ stw r0, 8(r22) -lbl_8007DCA8: -/* 8007DCA8 0007AC08 38 00 00 01 */ li r0, 1 -/* 8007DCAC 0007AC0C 98 1F 05 58 */ stb r0, 0x558(r31) -/* 8007DCB0 0007AC10 48 00 00 1C */ b lbl_8007DCCC -lbl_8007DCB4: -/* 8007DCB4 0007AC14 3A DF 05 4C */ addi r22, r31, 0x54c -/* 8007DCB8 0007AC18 38 81 00 54 */ addi r4, r1, 0x54 -/* 8007DCBC 0007AC1C 7E C3 B3 78 */ mr r3, r22 -/* 8007DCC0 0007AC20 48 2C 30 05 */ bl __as__6CTokenFRC6CToken -/* 8007DCC4 0007AC24 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8007DCC8 0007AC28 90 16 00 08 */ stw r0, 8(r22) -lbl_8007DCCC: -/* 8007DCCC 0007AC2C 38 61 00 54 */ addi r3, r1, 0x54 -/* 8007DCD0 0007AC30 38 80 00 00 */ li r4, 0 -/* 8007DCD4 0007AC34 48 2C 31 6D */ bl __dt__6CTokenFv -/* 8007DCD8 0007AC38 38 61 00 24 */ addi r3, r1, 0x24 -/* 8007DCDC 0007AC3C 38 80 FF FF */ li r4, -1 -/* 8007DCE0 0007AC40 48 2C 31 61 */ bl __dt__6CTokenFv -/* 8007DCE4 0007AC44 38 7F 05 4C */ addi r3, r31, 0x54c -/* 8007DCE8 0007AC48 48 2C 30 9D */ bl Lock__6CTokenFv -lbl_8007DCEC: -/* 8007DCEC 0007AC4C C0 3F 04 14 */ lfs f1, 0x414(r31) -/* 8007DCF0 0007AC50 C0 02 89 08 */ lfs f0, lbl_805AA628@sda21(r2) -/* 8007DCF4 0007AC54 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007DCF8 0007AC58 40 81 00 08 */ ble lbl_8007DD00 -/* 8007DCFC 0007AC5C D0 1F 04 14 */ stfs f0, 0x414(r31) -lbl_8007DD00: -/* 8007DD00 0007AC60 38 80 00 00 */ li r4, 0 -/* 8007DD04 0007AC64 88 1F 00 E6 */ lbz r0, 0xe6(r31) -/* 8007DD08 0007AC68 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8007DD0C 0007AC6C 98 1F 00 E6 */ stb r0, 0xe6(r31) -/* 8007DD10 0007AC70 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8007DD14 0007AC74 28 03 00 00 */ cmplwi r3, 0 -/* 8007DD18 0007AC78 41 82 00 20 */ beq lbl_8007DD38 -/* 8007DD1C 0007AC7C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8007DD20 0007AC80 28 00 00 00 */ cmplwi r0, 0 -/* 8007DD24 0007AC84 40 82 00 10 */ bne lbl_8007DD34 -/* 8007DD28 0007AC88 88 03 00 28 */ lbz r0, 0x28(r3) -/* 8007DD2C 0007AC8C 28 00 00 00 */ cmplwi r0, 0 -/* 8007DD30 0007AC90 41 82 00 08 */ beq lbl_8007DD38 -lbl_8007DD34: -/* 8007DD34 0007AC94 38 80 00 01 */ li r4, 1 -lbl_8007DD38: -/* 8007DD38 0007AC98 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8007DD3C 0007AC9C 41 82 00 30 */ beq lbl_8007DD6C -/* 8007DD40 0007ACA0 38 80 00 01 */ li r4, 1 -/* 8007DD44 0007ACA4 48 09 70 E5 */ bl HasModel__10CModelDataCF11EWhichModel -/* 8007DD48 0007ACA8 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8007DD4C 0007ACAC 88 1F 04 02 */ lbz r0, 0x402(r31) -/* 8007DD50 0007ACB0 7C 64 00 34 */ cntlzw r4, r3 -/* 8007DD54 0007ACB4 54 85 DE 3E */ rlwinm r5, r4, 0x1b, 0x18, 0x1f -/* 8007DD58 0007ACB8 7F E3 FB 78 */ mr r3, r31 -/* 8007DD5C 0007ACBC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8007DD60 0007ACC0 7F 64 DB 78 */ mr r4, r27 -/* 8007DD64 0007ACC4 98 1F 04 02 */ stb r0, 0x402(r31) -/* 8007DD68 0007ACC8 4B FF F3 A9 */ bl BuildBodyController__10CPatternedF9EBodyType -lbl_8007DD6C: -/* 8007DD6C 0007ACCC 7F E3 FB 78 */ mr r3, r31 -/* 8007DD70 0007ACD0 BA C1 00 98 */ lmw r22, 0x98(r1) -/* 8007DD74 0007ACD4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8007DD78 0007ACD8 7C 08 03 A6 */ mtlr r0 -/* 8007DD7C 0007ACDC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8007DD80 0007ACE0 4E 80 00 20 */ blr - -.global sub_8007dd84 -sub_8007dd84: -/* 8007DD84 0007ACE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007DD88 0007ACE8 7C 08 02 A6 */ mflr r0 -/* 8007DD8C 0007ACEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007DD90 0007ACF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007DD94 0007ACF4 7C 7F 1B 78 */ mr r31, r3 -/* 8007DD98 0007ACF8 80 83 00 00 */ lwz r4, 0(r3) -/* 8007DD9C 0007ACFC 80 64 00 04 */ lwz r3, 4(r4) -/* 8007DDA0 0007AD00 34 03 FF FF */ addic. r0, r3, -1 -/* 8007DDA4 0007AD04 90 04 00 04 */ stw r0, 4(r4) -/* 8007DDA8 0007AD08 41 81 00 24 */ bgt lbl_8007DDCC -/* 8007DDAC 0007AD0C 80 7F 00 00 */ lwz r3, 0(r31) -/* 8007DDB0 0007AD10 38 80 00 01 */ li r4, 1 -/* 8007DDB4 0007AD14 80 63 00 00 */ lwz r3, 0(r3) -/* 8007DDB8 0007AD18 4B FF 9F 89 */ bl __dt__18CVertexMorphEffectFv -/* 8007DDBC 0007AD1C 80 7F 00 00 */ lwz r3, 0(r31) -/* 8007DDC0 0007AD20 28 03 00 00 */ cmplwi r3, 0 -/* 8007DDC4 0007AD24 41 82 00 08 */ beq lbl_8007DDCC -/* 8007DDC8 0007AD28 48 29 7B 69 */ bl Free__7CMemoryFPCv -lbl_8007DDCC: -/* 8007DDCC 0007AD2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007DDD0 0007AD30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007DDD4 0007AD34 7C 08 03 A6 */ mtlr r0 -/* 8007DDD8 0007AD38 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007DDDC 0007AD3C 4E 80 00 20 */ blr - -.global "Min__5CMathFRCfRCf" -"Min__5CMathFRCfRCf": -/* 8007DDE0 0007AD40 C0 23 00 00 */ lfs f1, 0(r3) -/* 8007DDE4 0007AD44 C0 04 00 00 */ lfs f0, 0(r4) -/* 8007DDE8 0007AD48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007DDEC 0007AD4C 4D 80 00 20 */ bltlr -/* 8007DDF0 0007AD50 7C 83 23 78 */ mr r3, r4 -/* 8007DDF4 0007AD54 4E 80 00 20 */ blr - -.global __sinit_CPatterned_cpp -__sinit_CPatterned_cpp: -/* 8007DDF8 0007AD58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007DDFC 0007AD5C 7C 08 02 A6 */ mflr r0 -/* 8007DE00 0007AD60 C0 42 89 08 */ lfs f2, lbl_805AA628@sda21(r2) -/* 8007DE04 0007AD64 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007DE08 0007AD68 38 61 00 0C */ addi r3, r1, 0xc -/* 8007DE0C 0007AD6C FC 60 10 90 */ fmr f3, f2 -/* 8007DE10 0007AD70 C0 22 89 10 */ lfs f1, lbl_805AA630@sda21(r2) -/* 8007DE14 0007AD74 C0 82 89 04 */ lfs f4, lbl_805AA624@sda21(r2) -/* 8007DE18 0007AD78 48 2E 55 D5 */ bl __ct__6CColorFffff -/* 8007DE1C 0007AD7C C0 22 89 10 */ lfs f1, lbl_805AA630@sda21(r2) -/* 8007DE20 0007AD80 38 61 00 08 */ addi r3, r1, 8 -/* 8007DE24 0007AD84 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8007DE28 0007AD88 FC 40 08 90 */ fmr f2, f1 -/* 8007DE2C 0007AD8C C0 62 89 08 */ lfs f3, lbl_805AA628@sda21(r2) -/* 8007DE30 0007AD90 90 0D A2 50 */ stw r0, lbl_805A8E10@sda21(r13) -/* 8007DE34 0007AD94 C0 82 89 04 */ lfs f4, lbl_805AA624@sda21(r2) -/* 8007DE38 0007AD98 48 2E 55 B5 */ bl __ct__6CColorFffff -/* 8007DE3C 0007AD9C 80 61 00 08 */ lwz r3, 8(r1) -/* 8007DE40 0007ADA0 38 00 00 00 */ li r0, 0 -/* 8007DE44 0007ADA4 39 00 00 FF */ li r8, 0xff -/* 8007DE48 0007ADA8 38 ED A2 58 */ addi r7, r13, lbl_805A8E18@sda21 -/* 8007DE4C 0007ADAC 38 C0 00 C0 */ li r6, 0xc0 -/* 8007DE50 0007ADB0 90 6D A2 54 */ stw r3, lbl_805A8E14@sda21(r13) -/* 8007DE54 0007ADB4 80 AD 83 E4 */ lwz r5, lbl_805A6FA4@sda21(r13) -/* 8007DE58 0007ADB8 38 60 00 00 */ li r3, 0 -/* 8007DE5C 0007ADBC 99 0D A2 58 */ stb r8, lbl_805A8E18@sda21(r13) -/* 8007DE60 0007ADC0 38 80 00 01 */ li r4, 1 -/* 8007DE64 0007ADC4 99 07 00 01 */ stb r8, 1(r7) -/* 8007DE68 0007ADC8 98 C7 00 02 */ stb r6, 2(r7) -/* 8007DE6C 0007ADCC 99 07 00 03 */ stb r8, 3(r7) -/* 8007DE70 0007ADD0 90 0D A2 64 */ stw r0, lbl_805A8E24@sda21(r13) -/* 8007DE74 0007ADD4 90 0D A2 60 */ stw r0, lbl_805A8E20@sda21(r13) -/* 8007DE78 0007ADD8 48 30 C0 7D */ bl __shl2i -/* 8007DE7C 0007ADDC 80 0D A2 60 */ lwz r0, lbl_805A8E20@sda21(r13) -/* 8007DE80 0007ADE0 80 CD A2 64 */ lwz r6, lbl_805A8E24@sda21(r13) -/* 8007DE84 0007ADE4 7C 00 1B 78 */ or r0, r0, r3 -/* 8007DE88 0007ADE8 80 AD 83 E8 */ lwz r5, lbl_805A6FA8@sda21(r13) -/* 8007DE8C 0007ADEC 7C C4 23 78 */ or r4, r6, r4 -/* 8007DE90 0007ADF0 90 0D A2 60 */ stw r0, lbl_805A8E20@sda21(r13) -/* 8007DE94 0007ADF4 38 60 00 00 */ li r3, 0 -/* 8007DE98 0007ADF8 90 8D A2 64 */ stw r4, lbl_805A8E24@sda21(r13) -/* 8007DE9C 0007ADFC 38 80 00 01 */ li r4, 1 -/* 8007DEA0 0007AE00 48 30 C0 55 */ bl __shl2i -/* 8007DEA4 0007AE04 80 0D A2 60 */ lwz r0, lbl_805A8E20@sda21(r13) -/* 8007DEA8 0007AE08 80 CD A2 64 */ lwz r6, lbl_805A8E24@sda21(r13) -/* 8007DEAC 0007AE0C 7C 00 1B 78 */ or r0, r0, r3 -/* 8007DEB0 0007AE10 80 AD 83 EC */ lwz r5, lbl_805A6FAC@sda21(r13) -/* 8007DEB4 0007AE14 7C C4 23 78 */ or r4, r6, r4 -/* 8007DEB8 0007AE18 90 0D A2 60 */ stw r0, lbl_805A8E20@sda21(r13) -/* 8007DEBC 0007AE1C 38 60 00 00 */ li r3, 0 -/* 8007DEC0 0007AE20 90 8D A2 64 */ stw r4, lbl_805A8E24@sda21(r13) -/* 8007DEC4 0007AE24 38 80 00 01 */ li r4, 1 -/* 8007DEC8 0007AE28 48 30 C0 2D */ bl __shl2i -/* 8007DECC 0007AE2C 80 0D A2 60 */ lwz r0, lbl_805A8E20@sda21(r13) -/* 8007DED0 0007AE30 80 CD A2 64 */ lwz r6, lbl_805A8E24@sda21(r13) -/* 8007DED4 0007AE34 7C 00 1B 78 */ or r0, r0, r3 -/* 8007DED8 0007AE38 80 AD 83 F0 */ lwz r5, lbl_805A6FB0@sda21(r13) -/* 8007DEDC 0007AE3C 7C C4 23 78 */ or r4, r6, r4 -/* 8007DEE0 0007AE40 90 0D A2 60 */ stw r0, lbl_805A8E20@sda21(r13) -/* 8007DEE4 0007AE44 38 60 00 00 */ li r3, 0 -/* 8007DEE8 0007AE48 90 8D A2 64 */ stw r4, lbl_805A8E24@sda21(r13) -/* 8007DEEC 0007AE4C 38 80 00 01 */ li r4, 1 -/* 8007DEF0 0007AE50 48 30 C0 05 */ bl __shl2i -/* 8007DEF4 0007AE54 80 AD A2 60 */ lwz r5, lbl_805A8E20@sda21(r13) -/* 8007DEF8 0007AE58 38 00 00 00 */ li r0, 0 -/* 8007DEFC 0007AE5C 80 CD A2 64 */ lwz r6, lbl_805A8E24@sda21(r13) -/* 8007DF00 0007AE60 7C A3 1B 78 */ or r3, r5, r3 -/* 8007DF04 0007AE64 80 AD 83 F4 */ lwz r5, lbl_805A6FB4@sda21(r13) -/* 8007DF08 0007AE68 7C C4 23 78 */ or r4, r6, r4 -/* 8007DF0C 0007AE6C 90 6D A2 60 */ stw r3, lbl_805A8E20@sda21(r13) -/* 8007DF10 0007AE70 38 60 00 00 */ li r3, 0 -/* 8007DF14 0007AE74 90 8D A2 64 */ stw r4, lbl_805A8E24@sda21(r13) -/* 8007DF18 0007AE78 38 80 00 01 */ li r4, 1 -/* 8007DF1C 0007AE7C 90 0D A2 6C */ stw r0, lbl_805A8E2C@sda21(r13) -/* 8007DF20 0007AE80 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) -/* 8007DF24 0007AE84 48 30 BF D1 */ bl __shl2i -/* 8007DF28 0007AE88 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) -/* 8007DF2C 0007AE8C 80 CD A2 6C */ lwz r6, lbl_805A8E2C@sda21(r13) -/* 8007DF30 0007AE90 7C 00 1B 78 */ or r0, r0, r3 -/* 8007DF34 0007AE94 80 AD 83 F8 */ lwz r5, lbl_805A6FB8@sda21(r13) -/* 8007DF38 0007AE98 7C C4 23 78 */ or r4, r6, r4 -/* 8007DF3C 0007AE9C 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) -/* 8007DF40 0007AEA0 38 60 00 00 */ li r3, 0 -/* 8007DF44 0007AEA4 90 8D A2 6C */ stw r4, lbl_805A8E2C@sda21(r13) -/* 8007DF48 0007AEA8 38 80 00 01 */ li r4, 1 -/* 8007DF4C 0007AEAC 48 30 BF A9 */ bl __shl2i -/* 8007DF50 0007AEB0 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) -/* 8007DF54 0007AEB4 80 CD A2 6C */ lwz r6, lbl_805A8E2C@sda21(r13) -/* 8007DF58 0007AEB8 7C 00 1B 78 */ or r0, r0, r3 -/* 8007DF5C 0007AEBC 80 AD 83 FC */ lwz r5, lbl_805A6FBC@sda21(r13) -/* 8007DF60 0007AEC0 7C C4 23 78 */ or r4, r6, r4 -/* 8007DF64 0007AEC4 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) -/* 8007DF68 0007AEC8 38 60 00 00 */ li r3, 0 -/* 8007DF6C 0007AECC 90 8D A2 6C */ stw r4, lbl_805A8E2C@sda21(r13) -/* 8007DF70 0007AED0 38 80 00 01 */ li r4, 1 -/* 8007DF74 0007AED4 48 30 BF 81 */ bl __shl2i -/* 8007DF78 0007AED8 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) -/* 8007DF7C 0007AEDC 80 CD A2 6C */ lwz r6, lbl_805A8E2C@sda21(r13) -/* 8007DF80 0007AEE0 7C 00 1B 78 */ or r0, r0, r3 -/* 8007DF84 0007AEE4 80 AD 84 00 */ lwz r5, lbl_805A6FC0@sda21(r13) -/* 8007DF88 0007AEE8 7C C4 23 78 */ or r4, r6, r4 -/* 8007DF8C 0007AEEC 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) -/* 8007DF90 0007AEF0 38 60 00 00 */ li r3, 0 -/* 8007DF94 0007AEF4 90 8D A2 6C */ stw r4, lbl_805A8E2C@sda21(r13) -/* 8007DF98 0007AEF8 38 80 00 01 */ li r4, 1 -/* 8007DF9C 0007AEFC 48 30 BF 59 */ bl __shl2i -/* 8007DFA0 0007AF00 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) -/* 8007DFA4 0007AF04 80 CD A2 6C */ lwz r6, lbl_805A8E2C@sda21(r13) -/* 8007DFA8 0007AF08 7C 00 1B 78 */ or r0, r0, r3 -/* 8007DFAC 0007AF0C 80 AD 84 04 */ lwz r5, lbl_805A6FC4@sda21(r13) -/* 8007DFB0 0007AF10 7C C4 23 78 */ or r4, r6, r4 -/* 8007DFB4 0007AF14 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) -/* 8007DFB8 0007AF18 38 60 00 00 */ li r3, 0 -/* 8007DFBC 0007AF1C 90 8D A2 6C */ stw r4, lbl_805A8E2C@sda21(r13) -/* 8007DFC0 0007AF20 38 80 00 01 */ li r4, 1 -/* 8007DFC4 0007AF24 48 30 BF 31 */ bl __shl2i -/* 8007DFC8 0007AF28 80 0D A2 68 */ lwz r0, lbl_805A8E28@sda21(r13) -/* 8007DFCC 0007AF2C 80 AD A2 6C */ lwz r5, lbl_805A8E2C@sda21(r13) -/* 8007DFD0 0007AF30 7C 00 1B 78 */ or r0, r0, r3 -/* 8007DFD4 0007AF34 7C A3 23 78 */ or r3, r5, r4 -/* 8007DFD8 0007AF38 90 0D A2 68 */ stw r0, lbl_805A8E28@sda21(r13) -/* 8007DFDC 0007AF3C 90 6D A2 6C */ stw r3, lbl_805A8E2C@sda21(r13) -/* 8007DFE0 0007AF40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007DFE4 0007AF44 7C 08 03 A6 */ mtlr r0 -/* 8007DFE8 0007AF48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007DFEC 0007AF4C 4E 80 00 20 */ blr - -.global __dt__11CScriptDoorFv -__dt__11CScriptDoorFv: -/* 8007DFF0 0007AF50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007DFF4 0007AF54 7C 08 02 A6 */ mflr r0 -/* 8007DFF8 0007AF58 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007DFFC 0007AF5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8007E000 0007AF60 7C 9F 23 78 */ mr r31, r4 -/* 8007E004 0007AF64 93 C1 00 08 */ stw r30, 8(r1) -/* 8007E008 0007AF68 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8007E00C 0007AF6C 41 82 00 28 */ beq lbl_8007E034 -/* 8007E010 0007AF70 3C A0 80 3E */ lis r5, lbl_803DAA78@ha -/* 8007E014 0007AF74 38 80 00 00 */ li r4, 0 -/* 8007E018 0007AF78 38 05 AA 78 */ addi r0, r5, lbl_803DAA78@l -/* 8007E01C 0007AF7C 90 1E 00 00 */ stw r0, 0(r30) -/* 8007E020 0007AF80 48 09 E3 F5 */ bl __dt__13CPhysicsActorFv -/* 8007E024 0007AF84 7F E0 07 35 */ extsh. r0, r31 -/* 8007E028 0007AF88 40 81 00 0C */ ble lbl_8007E034 -/* 8007E02C 0007AF8C 7F C3 F3 78 */ mr r3, r30 -/* 8007E030 0007AF90 48 29 79 01 */ bl Free__7CMemoryFPCv -lbl_8007E034: -/* 8007E034 0007AF94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007E038 0007AF98 7F C3 F3 78 */ mr r3, r30 -/* 8007E03C 0007AF9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8007E040 0007AFA0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8007E044 0007AFA4 7C 08 03 A6 */ mtlr r0 -/* 8007E048 0007AFA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007E04C 0007AFAC 4E 80 00 20 */ blr - -.global Accept__11CScriptDoorFR8IVisitor -Accept__11CScriptDoorFR8IVisitor: -/* 8007E050 0007AFB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007E054 0007AFB4 7C 08 02 A6 */ mflr r0 -/* 8007E058 0007AFB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007E05C 0007AFBC 7C 60 1B 78 */ mr r0, r3 -/* 8007E060 0007AFC0 7C 83 23 78 */ mr r3, r4 -/* 8007E064 0007AFC4 81 84 00 00 */ lwz r12, 0(r4) -/* 8007E068 0007AFC8 7C 04 03 78 */ mr r4, r0 -/* 8007E06C 0007AFCC 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 8007E070 0007AFD0 7D 89 03 A6 */ mtctr r12 -/* 8007E074 0007AFD4 4E 80 04 21 */ bctrl -/* 8007E078 0007AFD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007E07C 0007AFDC 7C 08 03 A6 */ mtlr r0 -/* 8007E080 0007AFE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007E084 0007AFE4 4E 80 00 20 */ blr - -.global Render__11CScriptDoorCFRC13CStateManager -Render__11CScriptDoorCFRC13CStateManager: -/* 8007E088 0007AFE8 4E 80 00 20 */ blr - -.global AddToRenderer__11CScriptDoorCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__11CScriptDoorCFRC14CFrustumPlanesRC13CStateManager: -/* 8007E08C 0007AFEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8007E090 0007AFF0 7C 08 02 A6 */ mflr r0 -/* 8007E094 0007AFF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007E098 0007AFF8 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 8007E09C 0007AFFC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8007E0A0 0007B000 40 82 00 0C */ bne lbl_8007E0AC -/* 8007E0A4 0007B004 7C A4 2B 78 */ mr r4, r5 -/* 8007E0A8 0007B008 48 09 C4 41 */ bl Render__13CPhysicsActorCFRC13CStateManager -lbl_8007E0AC: -/* 8007E0AC 0007B00C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8007E0B0 0007B010 7C 08 03 A6 */ mtlr r0 -/* 8007E0B4 0007B014 38 21 00 10 */ addi r1, r1, 0x10 -/* 8007E0B8 0007B018 4E 80 00 20 */ blr - -.global ForceClosed__11CScriptDoorFR13CStateManager -ForceClosed__11CScriptDoorFR13CStateManager: -/* 8007E0BC 0007B01C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007E0C0 0007B020 7C 08 02 A6 */ mflr r0 -/* 8007E0C4 0007B024 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007E0C8 0007B028 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007E0CC 0007B02C 7C 7F 1B 78 */ mr r31, r3 -/* 8007E0D0 0007B030 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8007E0D4 0007B034 7C 9E 23 78 */ mr r30, r4 -/* 8007E0D8 0007B038 88 C3 02 A8 */ lbz r6, 0x2a8(r3) -/* 8007E0DC 0007B03C 54 C0 DF FF */ rlwinm. r0, r6, 0x1b, 0x1f, 0x1f -/* 8007E0E0 0007B040 41 82 00 9C */ beq lbl_8007E17C -/* 8007E0E4 0007B044 38 60 00 00 */ li r3, 0 -/* 8007E0E8 0007B048 38 81 00 14 */ addi r4, r1, 0x14 -/* 8007E0EC 0007B04C 50 66 2E B4 */ rlwimi r6, r3, 5, 0x1a, 0x1a -/* 8007E0F0 0007B050 98 DF 02 A8 */ stb r6, 0x2a8(r31) -/* 8007E0F4 0007B054 88 1F 02 A8 */ lbz r0, 0x2a8(r31) -/* 8007E0F8 0007B058 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8007E0FC 0007B05C 98 1F 02 A8 */ stb r0, 0x2a8(r31) -/* 8007E100 0007B060 A0 1F 00 08 */ lhz r0, 8(r31) -/* 8007E104 0007B064 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8007E108 0007B068 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8007E10C 0007B06C B0 01 00 10 */ sth r0, 0x10(r1) -/* 8007E110 0007B070 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8007E114 0007B074 48 00 50 05 */ bl DoorClosing__11CBallCameraF9TUniqueId -/* 8007E118 0007B078 A0 1F 00 08 */ lhz r0, 8(r31) -/* 8007E11C 0007B07C 38 81 00 0C */ addi r4, r1, 0xc -/* 8007E120 0007B080 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8007E124 0007B084 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8007E128 0007B088 B0 01 00 08 */ sth r0, 8(r1) -/* 8007E12C 0007B08C 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8007E130 0007B090 48 00 4F C5 */ bl DoorClosed__11CBallCameraF9TUniqueId -/* 8007E134 0007B094 7F E3 FB 78 */ mr r3, r31 -/* 8007E138 0007B098 38 80 00 01 */ li r4, 1 -/* 8007E13C 0007B09C 48 00 08 95 */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType -/* 8007E140 0007B0A0 7F E3 FB 78 */ mr r3, r31 -/* 8007E144 0007B0A4 7F C5 F3 78 */ mr r5, r30 -/* 8007E148 0007B0A8 38 80 00 02 */ li r4, 2 -/* 8007E14C 0007B0AC 38 C0 FF FF */ li r6, -1 -/* 8007E150 0007B0B0 4B FD 2F 71 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8007E154 0007B0B4 88 1F 02 A8 */ lbz r0, 0x2a8(r31) -/* 8007E158 0007B0B8 38 60 00 00 */ li r3, 0 -/* 8007E15C 0007B0BC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8007E160 0007B0C0 C0 02 89 68 */ lfs f0, lbl_805AA688@sda21(r2) -/* 8007E164 0007B0C4 98 1F 02 A8 */ stb r0, 0x2a8(r31) -/* 8007E168 0007B0C8 D0 1F 02 5C */ stfs f0, 0x25c(r31) -/* 8007E16C 0007B0CC 88 1F 02 A8 */ lbz r0, 0x2a8(r31) -/* 8007E170 0007B0D0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8007E174 0007B0D4 98 1F 02 A8 */ stb r0, 0x2a8(r31) -/* 8007E178 0007B0D8 48 00 00 34 */ b lbl_8007E1AC -lbl_8007E17C: -/* 8007E17C 0007B0DC 54 C0 E7 FF */ rlwinm. r0, r6, 0x1c, 0x1f, 0x1f -/* 8007E180 0007B0E0 41 82 00 2C */ beq lbl_8007E1AC -/* 8007E184 0007B0E4 38 E0 00 00 */ li r7, 0 -/* 8007E188 0007B0E8 7F C5 F3 78 */ mr r5, r30 -/* 8007E18C 0007B0EC 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b -/* 8007E190 0007B0F0 38 80 00 02 */ li r4, 2 -/* 8007E194 0007B0F4 98 DF 02 A8 */ stb r6, 0x2a8(r31) -/* 8007E198 0007B0F8 38 C0 FF FF */ li r6, -1 -/* 8007E19C 0007B0FC 88 1F 02 A8 */ lbz r0, 0x2a8(r31) -/* 8007E1A0 0007B100 50 E0 0F BC */ rlwimi r0, r7, 1, 0x1e, 0x1e -/* 8007E1A4 0007B104 98 1F 02 A8 */ stb r0, 0x2a8(r31) -/* 8007E1A8 0007B108 4B FD 2F 19 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_8007E1AC: -/* 8007E1AC 0007B10C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007E1B0 0007B110 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007E1B4 0007B114 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8007E1B8 0007B118 7C 08 03 A6 */ mtlr r0 -/* 8007E1BC 0007B11C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007E1C0 0007B120 4E 80 00 20 */ blr - -.global IsConnectedToArea__11CScriptDoorCFRC13CStateManager7TAreaId -IsConnectedToArea__11CScriptDoorCFRC13CStateManager7TAreaId: -/* 8007E1C4 0007B124 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007E1C8 0007B128 7C 08 02 A6 */ mflr r0 -/* 8007E1CC 0007B12C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007E1D0 0007B130 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007E1D4 0007B134 7C BF 2B 78 */ mr r31, r5 -/* 8007E1D8 0007B138 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8007E1DC 0007B13C 7C 9E 23 78 */ mr r30, r4 -/* 8007E1E0 0007B140 38 81 00 08 */ addi r4, r1, 8 -/* 8007E1E4 0007B144 A0 03 02 82 */ lhz r0, 0x282(r3) -/* 8007E1E8 0007B148 7F C3 F3 78 */ mr r3, r30 -/* 8007E1EC 0007B14C B0 01 00 08 */ sth r0, 8(r1) -/* 8007E1F0 0007B150 4B FC E3 B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8007E1F4 0007B154 7C 64 1B 78 */ mr r4, r3 -/* 8007E1F8 0007B158 38 61 00 18 */ addi r3, r1, 0x18 -/* 8007E1FC 0007B15C 48 02 C2 09 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" -/* 8007E200 0007B160 80 63 00 04 */ lwz r3, 4(r3) -/* 8007E204 0007B164 28 03 00 00 */ cmplwi r3, 0 -/* 8007E208 0007B168 41 82 00 78 */ beq lbl_8007E280 -/* 8007E20C 0007B16C 80 C3 02 60 */ lwz r6, 0x260(r3) -/* 8007E210 0007B170 80 1F 00 00 */ lwz r0, 0(r31) -/* 8007E214 0007B174 7C 06 00 00 */ cmpw r6, r0 -/* 8007E218 0007B178 40 82 00 0C */ bne lbl_8007E224 -/* 8007E21C 0007B17C 38 60 00 01 */ li r3, 1 -/* 8007E220 0007B180 48 00 00 64 */ b lbl_8007E284 -lbl_8007E224: -/* 8007E224 0007B184 80 BE 08 50 */ lwz r5, 0x850(r30) -/* 8007E228 0007B188 54 C4 18 38 */ slwi r4, r6, 3 -/* 8007E22C 0007B18C 80 03 02 5C */ lwz r0, 0x25c(r3) -/* 8007E230 0007B190 38 84 00 04 */ addi r4, r4, 4 -/* 8007E234 0007B194 80 A5 00 20 */ lwz r5, 0x20(r5) -/* 8007E238 0007B198 1C 00 00 4C */ mulli r0, r0, 0x4c -/* 8007E23C 0007B19C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8007E240 0007B1A0 7C A5 20 2E */ lwzx r5, r5, r4 -/* 8007E244 0007B1A4 7F C4 F3 78 */ mr r4, r30 -/* 8007E248 0007B1A8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8007E24C 0007B1AC 80 A5 00 D8 */ lwz r5, 0xd8(r5) -/* 8007E250 0007B1B0 7F C5 02 14 */ add r30, r5, r0 -/* 8007E254 0007B1B4 48 04 56 B1 */ bl GetDockReference__11CScriptDockCFv -/* 8007E258 0007B1B8 7C 65 1B 78 */ mr r5, r3 -/* 8007E25C 0007B1BC 7F C4 F3 78 */ mr r4, r30 -/* 8007E260 0007B1C0 38 61 00 0C */ addi r3, r1, 0xc -/* 8007E264 0007B1C4 4B FE 10 C1 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi -/* 8007E268 0007B1C8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8007E26C 0007B1CC 80 1F 00 00 */ lwz r0, 0(r31) -/* 8007E270 0007B1D0 7C 03 00 00 */ cmpw r3, r0 -/* 8007E274 0007B1D4 40 82 00 0C */ bne lbl_8007E280 -/* 8007E278 0007B1D8 38 60 00 01 */ li r3, 1 -/* 8007E27C 0007B1DC 48 00 00 08 */ b lbl_8007E284 -lbl_8007E280: -/* 8007E280 0007B1E0 38 60 00 00 */ li r3, 0 -lbl_8007E284: -/* 8007E284 0007B1E4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007E288 0007B1E8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007E28C 0007B1EC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8007E290 0007B1F0 7C 08 03 A6 */ mtlr r0 -/* 8007E294 0007B1F4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007E298 0007B1F8 4E 80 00 20 */ blr - -.global Think__11CScriptDoorFfR13CStateManager -Think__11CScriptDoorFfR13CStateManager: -/* 8007E29C 0007B1FC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8007E2A0 0007B200 7C 08 02 A6 */ mflr r0 -/* 8007E2A4 0007B204 90 01 00 54 */ stw r0, 0x54(r1) -/* 8007E2A8 0007B208 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8007E2AC 0007B20C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8007E2B0 0007B210 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8007E2B4 0007B214 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8007E2B8 0007B218 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8007E2BC 0007B21C FF E0 08 90 */ fmr f31, f1 -/* 8007E2C0 0007B220 7C 7E 1B 78 */ mr r30, r3 -/* 8007E2C4 0007B224 7C 9F 23 78 */ mr r31, r4 -/* 8007E2C8 0007B228 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8007E2CC 0007B22C 41 82 02 64 */ beq lbl_8007E530 -/* 8007E2D0 0007B230 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E2D4 0007B234 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007E2D8 0007B238 40 82 00 1C */ bne lbl_8007E2F4 -/* 8007E2DC 0007B23C C0 3E 02 5C */ lfs f1, 0x25c(r30) -/* 8007E2E0 0007B240 C0 02 89 6C */ lfs f0, lbl_805AA68C@sda21(r2) -/* 8007E2E4 0007B244 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007E2E8 0007B248 40 80 00 0C */ bge lbl_8007E2F4 -/* 8007E2EC 0007B24C EC 01 F8 2A */ fadds f0, f1, f31 -/* 8007E2F0 0007B250 D0 1E 02 5C */ stfs f0, 0x25c(r30) -lbl_8007E2F4: -/* 8007E2F4 0007B254 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E2F8 0007B258 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8007E2FC 0007B25C 41 82 00 40 */ beq lbl_8007E33C -/* 8007E300 0007B260 7F C3 F3 78 */ mr r3, r30 -/* 8007E304 0007B264 7F E4 FB 78 */ mr r4, r31 -/* 8007E308 0007B268 48 00 0A 45 */ bl GetDoorOpenCondition__11CScriptDoorFR13CStateManager -/* 8007E30C 0007B26C 2C 03 00 02 */ cmpwi r3, 2 -/* 8007E310 0007B270 40 82 00 2C */ bne lbl_8007E33C -/* 8007E314 0007B274 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E318 0007B278 38 60 00 00 */ li r3, 0 -/* 8007E31C 0007B27C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8007E320 0007B280 7F C3 F3 78 */ mr r3, r30 -/* 8007E324 0007B284 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007E328 0007B288 7F E5 FB 78 */ mr r5, r31 -/* 8007E32C 0007B28C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8007E330 0007B290 A0 1E 02 80 */ lhz r0, 0x280(r30) -/* 8007E334 0007B294 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8007E338 0007B298 48 00 07 2D */ bl OpenDoor__11CScriptDoorF9TUniqueIdR13CStateManager -lbl_8007E33C: -/* 8007E33C 0007B29C 88 7E 02 A8 */ lbz r3, 0x2a8(r30) -/* 8007E340 0007B2A0 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8007E344 0007B2A4 41 82 00 74 */ beq lbl_8007E3B8 -/* 8007E348 0007B2A8 38 00 00 00 */ li r0, 0 -/* 8007E34C 0007B2AC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8007E350 0007B2B0 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 -/* 8007E354 0007B2B4 98 7E 02 A8 */ stb r3, 0x2a8(r30) -/* 8007E358 0007B2B8 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8007E35C 0007B2BC B0 01 00 14 */ sth r0, 0x14(r1) -/* 8007E360 0007B2C0 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8007E364 0007B2C4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8007E368 0007B2C8 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8007E36C 0007B2CC 48 00 4D 89 */ bl DoorClosed__11CBallCameraF9TUniqueId -/* 8007E370 0007B2D0 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E374 0007B2D4 38 E0 00 00 */ li r7, 0 -/* 8007E378 0007B2D8 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c -/* 8007E37C 0007B2DC 7F C3 F3 78 */ mr r3, r30 -/* 8007E380 0007B2E0 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007E384 0007B2E4 7F E5 FB 78 */ mr r5, r31 -/* 8007E388 0007B2E8 38 80 00 02 */ li r4, 2 -/* 8007E38C 0007B2EC 38 C0 00 05 */ li r6, 5 -/* 8007E390 0007B2F0 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E394 0007B2F4 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 8007E398 0007B2F8 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007E39C 0007B2FC 4B FD 2D 25 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8007E3A0 0007B300 C0 02 89 68 */ lfs f0, lbl_805AA688@sda21(r2) -/* 8007E3A4 0007B304 38 60 00 00 */ li r3, 0 -/* 8007E3A8 0007B308 D0 1E 02 5C */ stfs f0, 0x25c(r30) -/* 8007E3AC 0007B30C 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E3B0 0007B310 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8007E3B4 0007B314 98 1E 02 A8 */ stb r0, 0x2a8(r30) -lbl_8007E3B8: -/* 8007E3B8 0007B318 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E3BC 0007B31C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007E3C0 0007B320 41 82 00 34 */ beq lbl_8007E3F4 -/* 8007E3C4 0007B324 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8007E3C8 0007B328 48 09 78 1D */ bl IsAnimating__10CModelDataCFv -/* 8007E3CC 0007B32C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007E3D0 0007B330 40 82 00 24 */ bne lbl_8007E3F4 -/* 8007E3D4 0007B334 7F C3 F3 78 */ mr r3, r30 -/* 8007E3D8 0007B338 7F E8 FB 78 */ mr r8, r31 -/* 8007E3DC 0007B33C 38 80 00 13 */ li r4, 0x13 -/* 8007E3E0 0007B340 38 A0 00 2A */ li r5, 0x2a -/* 8007E3E4 0007B344 38 C0 00 29 */ li r6, 0x29 -/* 8007E3E8 0007B348 38 E0 00 27 */ li r7, 0x27 -/* 8007E3EC 0007B34C 4B FD 58 FD */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -/* 8007E3F0 0007B350 48 00 00 E4 */ b lbl_8007E4D4 -lbl_8007E3F4: -/* 8007E3F4 0007B354 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E3F8 0007B358 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007E3FC 0007B35C 41 82 00 88 */ beq lbl_8007E484 -/* 8007E400 0007B360 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8007E404 0007B364 48 09 77 E1 */ bl IsAnimating__10CModelDataCFv -/* 8007E408 0007B368 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007E40C 0007B36C 40 82 00 78 */ bne lbl_8007E484 -/* 8007E410 0007B370 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E414 0007B374 38 60 00 00 */ li r3, 0 -/* 8007E418 0007B378 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8007E41C 0007B37C 38 81 00 0C */ addi r4, r1, 0xc -/* 8007E420 0007B380 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007E424 0007B384 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8007E428 0007B388 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8007E42C 0007B38C 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8007E430 0007B390 B0 01 00 08 */ sth r0, 8(r1) -/* 8007E434 0007B394 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8007E438 0007B398 48 00 4C BD */ bl DoorClosed__11CBallCameraF9TUniqueId -/* 8007E43C 0007B39C 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E440 0007B3A0 38 E0 00 00 */ li r7, 0 -/* 8007E444 0007B3A4 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c -/* 8007E448 0007B3A8 7F C3 F3 78 */ mr r3, r30 -/* 8007E44C 0007B3AC 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007E450 0007B3B0 7F E5 FB 78 */ mr r5, r31 -/* 8007E454 0007B3B4 38 80 00 02 */ li r4, 2 -/* 8007E458 0007B3B8 38 C0 FF FF */ li r6, -1 -/* 8007E45C 0007B3BC 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E460 0007B3C0 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b -/* 8007E464 0007B3C4 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007E468 0007B3C8 4B FD 2C 59 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8007E46C 0007B3CC C0 02 89 68 */ lfs f0, lbl_805AA688@sda21(r2) -/* 8007E470 0007B3D0 38 60 00 00 */ li r3, 0 -/* 8007E474 0007B3D4 D0 1E 02 5C */ stfs f0, 0x25c(r30) -/* 8007E478 0007B3D8 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E47C 0007B3DC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8007E480 0007B3E0 98 1E 02 A8 */ stb r0, 0x2a8(r30) -lbl_8007E484: -/* 8007E484 0007B3E4 7F C3 F3 78 */ mr r3, r30 -/* 8007E488 0007B3E8 4B FD 50 41 */ bl GetScannableObjectInfo__6CActorCFv -/* 8007E48C 0007B3EC 28 03 00 00 */ cmplwi r3, 0 -/* 8007E490 0007B3F0 41 82 00 28 */ beq lbl_8007E4B8 -/* 8007E494 0007B3F4 7F C3 F3 78 */ mr r3, r30 -/* 8007E498 0007B3F8 7F E9 FB 78 */ mr r9, r31 -/* 8007E49C 0007B3FC 38 80 00 13 */ li r4, 0x13 -/* 8007E4A0 0007B400 38 A0 00 02 */ li r5, 2 -/* 8007E4A4 0007B404 38 C0 00 2A */ li r6, 0x2a -/* 8007E4A8 0007B408 38 E0 00 29 */ li r7, 0x29 -/* 8007E4AC 0007B40C 39 00 00 27 */ li r8, 0x27 -/* 8007E4B0 0007B410 4B FD 5B 41 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -/* 8007E4B4 0007B414 48 00 00 20 */ b lbl_8007E4D4 -lbl_8007E4B8: -/* 8007E4B8 0007B418 7F C3 F3 78 */ mr r3, r30 -/* 8007E4BC 0007B41C 7F E8 FB 78 */ mr r8, r31 -/* 8007E4C0 0007B420 38 80 00 13 */ li r4, 0x13 -/* 8007E4C4 0007B424 38 A0 00 02 */ li r5, 2 -/* 8007E4C8 0007B428 38 C0 00 2A */ li r6, 0x2a -/* 8007E4CC 0007B42C 38 E0 00 29 */ li r7, 0x29 -/* 8007E4D0 0007B430 4B FD 5C 31 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -lbl_8007E4D4: -/* 8007E4D4 0007B434 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8007E4D8 0007B438 48 09 77 0D */ bl IsAnimating__10CModelDataCFv -/* 8007E4DC 0007B43C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007E4E0 0007B440 41 82 00 30 */ beq lbl_8007E510 -/* 8007E4E4 0007B444 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8007E4E8 0007B448 80 9E 02 60 */ lwz r4, 0x260(r30) -/* 8007E4EC 0007B44C 48 09 70 41 */ bl GetAnimationDuration__10CModelDataCFi -/* 8007E4F0 0007B450 C0 1E 02 58 */ lfs f0, 0x258(r30) -/* 8007E4F4 0007B454 7F C4 F3 78 */ mr r4, r30 -/* 8007E4F8 0007B458 7F E5 FB 78 */ mr r5, r31 -/* 8007E4FC 0007B45C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8007E500 0007B460 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8007E504 0007B464 38 C0 00 01 */ li r6, 1 -/* 8007E508 0007B468 EC 20 07 F2 */ fmuls f1, f0, f31 -/* 8007E50C 0007B46C 4B FD 6D 91 */ bl UpdateAnimation__6CActorFfR13CStateManagerb -lbl_8007E510: -/* 8007E510 0007B470 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8007E514 0007B474 88 1E 00 E7 */ lbz r0, 0xe7(r30) -/* 8007E518 0007B478 80 63 00 00 */ lwz r3, 0(r3) -/* 8007E51C 0007B47C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8007E520 0007B480 20 63 00 02 */ subfic r3, r3, 2 -/* 8007E524 0007B484 7C 63 00 34 */ cntlzw r3, r3 -/* 8007E528 0007B488 50 60 DF FE */ rlwimi r0, r3, 0x1b, 0x1f, 0x1f -/* 8007E52C 0007B48C 98 1E 00 E7 */ stb r0, 0xe7(r30) -lbl_8007E530: -/* 8007E530 0007B490 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8007E534 0007B494 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8007E538 0007B498 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8007E53C 0007B49C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8007E540 0007B4A0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8007E544 0007B4A4 7C 08 03 A6 */ mtlr r0 -/* 8007E548 0007B4A8 38 21 00 50 */ addi r1, r1, 0x50 -/* 8007E54C 0007B4AC 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CScriptDoorF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CScriptDoorF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8007E550 0007B4B0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8007E554 0007B4B4 7C 08 02 A6 */ mflr r0 -/* 8007E558 0007B4B8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8007E55C 0007B4BC 38 04 FF FD */ addi r0, r4, -3 -/* 8007E560 0007B4C0 28 00 00 20 */ cmplwi r0, 0x20 -/* 8007E564 0007B4C4 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8007E568 0007B4C8 7C DF 33 78 */ mr r31, r6 -/* 8007E56C 0007B4CC 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8007E570 0007B4D0 7C BE 2B 78 */ mr r30, r5 -/* 8007E574 0007B4D4 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8007E578 0007B4D8 7C 7D 1B 78 */ mr r29, r3 -/* 8007E57C 0007B4DC 41 81 04 20 */ bgt lbl_8007E99C -/* 8007E580 0007B4E0 3C 60 80 3E */ lis r3, lbl_803DAAFC@ha -/* 8007E584 0007B4E4 54 00 10 3A */ slwi r0, r0, 2 -/* 8007E588 0007B4E8 38 63 AA FC */ addi r3, r3, lbl_803DAAFC@l -/* 8007E58C 0007B4EC 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8007E590 0007B4F0 7C 09 03 A6 */ mtctr r0 -/* 8007E594 0007B4F4 4E 80 04 20 */ bctr -/* 8007E598 0007B4F8 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 8007E59C 0007B4FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8007E5A0 0007B500 41 82 04 14 */ beq lbl_8007E9B4 -/* 8007E5A4 0007B504 A0 7D 02 7C */ lhz r3, 0x27c(r29) -/* 8007E5A8 0007B508 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 8007E5AC 0007B50C 7C 03 28 40 */ cmplw r3, r5 -/* 8007E5B0 0007B510 41 82 00 10 */ beq lbl_8007E5C0 -/* 8007E5B4 0007B514 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8007E5B8 0007B518 7C 03 00 40 */ cmplw r3, r0 -/* 8007E5BC 0007B51C 40 82 03 F8 */ bne lbl_8007E9B4 -lbl_8007E5C0: -/* 8007E5C0 0007B520 88 9D 02 A8 */ lbz r4, 0x2a8(r29) -/* 8007E5C4 0007B524 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 8007E5C8 0007B528 41 82 00 B8 */ beq lbl_8007E680 -/* 8007E5CC 0007B52C A0 1D 02 7E */ lhz r0, 0x27e(r29) -/* 8007E5D0 0007B530 7C 00 28 40 */ cmplw r0, r5 -/* 8007E5D4 0007B534 41 82 00 70 */ beq lbl_8007E644 -/* 8007E5D8 0007B538 88 0D A2 84 */ lbz r0, lbl_805A8E44@sda21(r13) -/* 8007E5DC 0007B53C 7C 00 07 75 */ extsb. r0, r0 -/* 8007E5E0 0007B540 40 82 00 14 */ bne lbl_8007E5F4 -/* 8007E5E4 0007B544 38 60 00 00 */ li r3, 0 -/* 8007E5E8 0007B548 38 00 00 01 */ li r0, 1 -/* 8007E5EC 0007B54C 90 6D A2 80 */ stw r3, lbl_805A8E40@sda21(r13) -/* 8007E5F0 0007B550 98 0D A2 84 */ stb r0, lbl_805A8E44@sda21(r13) -lbl_8007E5F4: -/* 8007E5F4 0007B554 A0 1D 02 7E */ lhz r0, 0x27e(r29) -/* 8007E5F8 0007B558 7F E3 FB 78 */ mr r3, r31 -/* 8007E5FC 0007B55C 38 81 00 54 */ addi r4, r1, 0x54 -/* 8007E600 0007B560 B0 01 00 54 */ sth r0, 0x54(r1) -/* 8007E604 0007B564 4B FC DF 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8007E608 0007B568 7C 64 1B 79 */ or. r4, r3, r3 -/* 8007E60C 0007B56C 41 82 00 38 */ beq lbl_8007E644 -/* 8007E610 0007B570 80 CD A2 80 */ lwz r6, lbl_805A8E40@sda21(r13) -/* 8007E614 0007B574 7F E3 FB 78 */ mr r3, r31 -/* 8007E618 0007B578 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8007E61C 0007B57C 38 06 00 01 */ addi r0, r6, 1 -/* 8007E620 0007B580 38 C0 00 03 */ li r6, 3 -/* 8007E624 0007B584 90 0D A2 80 */ stw r0, lbl_805A8E40@sda21(r13) -/* 8007E628 0007B588 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8007E62C 0007B58C B0 01 00 4C */ sth r0, 0x4c(r1) -/* 8007E630 0007B590 B0 01 00 50 */ sth r0, 0x50(r1) -/* 8007E634 0007B594 4B FC 58 9D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8007E638 0007B598 80 6D A2 80 */ lwz r3, lbl_805A8E40@sda21(r13) -/* 8007E63C 0007B59C 38 03 FF FF */ addi r0, r3, -1 -/* 8007E640 0007B5A0 90 0D A2 80 */ stw r0, lbl_805A8E40@sda21(r13) -lbl_8007E644: -/* 8007E644 0007B5A4 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8007E648 0007B5A8 38 60 00 00 */ li r3, 0 -/* 8007E64C 0007B5AC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8007E650 0007B5B0 7F A3 EB 78 */ mr r3, r29 -/* 8007E654 0007B5B4 98 1D 02 A8 */ stb r0, 0x2a8(r29) -/* 8007E658 0007B5B8 38 80 00 01 */ li r4, 1 -/* 8007E65C 0007B5BC 48 00 03 75 */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType -/* 8007E660 0007B5C0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8007E664 0007B5C4 38 81 00 48 */ addi r4, r1, 0x48 -/* 8007E668 0007B5C8 B0 01 00 48 */ sth r0, 0x48(r1) -/* 8007E66C 0007B5CC 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8007E670 0007B5D0 B0 01 00 44 */ sth r0, 0x44(r1) -/* 8007E674 0007B5D4 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8007E678 0007B5D8 48 00 4A A1 */ bl DoorClosing__11CBallCameraF9TUniqueId -/* 8007E67C 0007B5DC 48 00 03 38 */ b lbl_8007E9B4 -lbl_8007E680: -/* 8007E680 0007B5E0 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f -/* 8007E684 0007B5E4 41 82 03 30 */ beq lbl_8007E9B4 -/* 8007E688 0007B5E8 38 00 00 00 */ li r0, 0 -/* 8007E68C 0007B5EC 7F A3 EB 78 */ mr r3, r29 -/* 8007E690 0007B5F0 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b -/* 8007E694 0007B5F4 7F E5 FB 78 */ mr r5, r31 -/* 8007E698 0007B5F8 98 9D 02 A8 */ stb r4, 0x2a8(r29) -/* 8007E69C 0007B5FC 38 80 00 02 */ li r4, 2 -/* 8007E6A0 0007B600 38 C0 FF FF */ li r6, -1 -/* 8007E6A4 0007B604 4B FD 2A 1D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8007E6A8 0007B608 48 00 03 0C */ b lbl_8007E9B4 -/* 8007E6AC 0007B60C A0 7D 02 7C */ lhz r3, 0x27c(r29) -/* 8007E6B0 0007B610 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007E6B4 0007B614 7C 03 00 40 */ cmplw r3, r0 -/* 8007E6B8 0007B618 41 82 00 80 */ beq lbl_8007E738 -/* 8007E6BC 0007B61C A0 1D 02 7C */ lhz r0, 0x27c(r29) -/* 8007E6C0 0007B620 7F E3 FB 78 */ mr r3, r31 -/* 8007E6C4 0007B624 38 81 00 40 */ addi r4, r1, 0x40 -/* 8007E6C8 0007B628 B0 01 00 40 */ sth r0, 0x40(r1) -/* 8007E6CC 0007B62C 4B FC DE A9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8007E6D0 0007B630 7C 64 1B 78 */ mr r4, r3 -/* 8007E6D4 0007B634 38 61 00 7C */ addi r3, r1, 0x7c -/* 8007E6D8 0007B638 48 02 BA 19 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 8007E6DC 0007B63C 83 C3 00 04 */ lwz r30, 4(r3) -/* 8007E6E0 0007B640 28 1E 00 00 */ cmplwi r30, 0 -/* 8007E6E4 0007B644 41 82 02 D0 */ beq lbl_8007E9B4 -/* 8007E6E8 0007B648 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E6EC 0007B64C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007E6F0 0007B650 41 82 02 C4 */ beq lbl_8007E9B4 -/* 8007E6F4 0007B654 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8007E6F8 0007B658 38 60 00 01 */ li r3, 1 -/* 8007E6FC 0007B65C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8007E700 0007B660 7F E3 FB 78 */ mr r3, r31 -/* 8007E704 0007B664 98 1D 02 A8 */ stb r0, 0x2a8(r29) -/* 8007E708 0007B668 7F C4 F3 78 */ mr r4, r30 -/* 8007E70C 0007B66C 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8007E710 0007B670 38 C0 00 03 */ li r6, 3 -/* 8007E714 0007B674 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8007E718 0007B678 B0 01 00 38 */ sth r0, 0x38(r1) -/* 8007E71C 0007B67C B0 01 00 3C */ sth r0, 0x3c(r1) -/* 8007E720 0007B680 4B FC 57 B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8007E724 0007B684 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E728 0007B688 38 60 00 01 */ li r3, 1 -/* 8007E72C 0007B68C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8007E730 0007B690 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007E734 0007B694 48 00 02 80 */ b lbl_8007E9B4 -lbl_8007E738: -/* 8007E738 0007B698 88 9D 02 A8 */ lbz r4, 0x2a8(r29) -/* 8007E73C 0007B69C 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 8007E740 0007B6A0 41 82 02 74 */ beq lbl_8007E9B4 -/* 8007E744 0007B6A4 38 00 00 01 */ li r0, 1 -/* 8007E748 0007B6A8 7F E3 FB 78 */ mr r3, r31 -/* 8007E74C 0007B6AC 50 04 0F BC */ rlwimi r4, r0, 1, 0x1e, 0x1e -/* 8007E750 0007B6B0 98 9D 02 A8 */ stb r4, 0x2a8(r29) -/* 8007E754 0007B6B4 38 81 00 34 */ addi r4, r1, 0x34 -/* 8007E758 0007B6B8 A0 1D 02 7E */ lhz r0, 0x27e(r29) -/* 8007E75C 0007B6BC B0 01 00 34 */ sth r0, 0x34(r1) -/* 8007E760 0007B6C0 4B FC DE 15 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8007E764 0007B6C4 7C 64 1B 78 */ mr r4, r3 -/* 8007E768 0007B6C8 38 61 00 74 */ addi r3, r1, 0x74 -/* 8007E76C 0007B6CC 48 02 B9 85 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 8007E770 0007B6D0 83 C3 00 04 */ lwz r30, 4(r3) -/* 8007E774 0007B6D4 28 1E 00 00 */ cmplwi r30, 0 -/* 8007E778 0007B6D8 41 82 00 34 */ beq lbl_8007E7AC -/* 8007E77C 0007B6DC A0 1D 00 08 */ lhz r0, 8(r29) -/* 8007E780 0007B6E0 7F E3 FB 78 */ mr r3, r31 -/* 8007E784 0007B6E4 7F C4 F3 78 */ mr r4, r30 -/* 8007E788 0007B6E8 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8007E78C 0007B6EC B0 01 00 2C */ sth r0, 0x2c(r1) -/* 8007E790 0007B6F0 38 C0 00 03 */ li r6, 3 -/* 8007E794 0007B6F4 B0 01 00 30 */ sth r0, 0x30(r1) -/* 8007E798 0007B6F8 4B FC 57 39 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8007E79C 0007B6FC 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007E7A0 0007B700 38 60 00 01 */ li r3, 1 -/* 8007E7A4 0007B704 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8007E7A8 0007B708 98 1E 02 A8 */ stb r0, 0x2a8(r30) -lbl_8007E7AC: -/* 8007E7AC 0007B70C 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8007E7B0 0007B710 38 60 00 00 */ li r3, 0 -/* 8007E7B4 0007B714 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8007E7B8 0007B718 7F A3 EB 78 */ mr r3, r29 -/* 8007E7BC 0007B71C 98 1D 02 A8 */ stb r0, 0x2a8(r29) -/* 8007E7C0 0007B720 38 80 00 01 */ li r4, 1 -/* 8007E7C4 0007B724 48 00 02 0D */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType -/* 8007E7C8 0007B728 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8007E7CC 0007B72C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8007E7D0 0007B730 B0 01 00 28 */ sth r0, 0x28(r1) -/* 8007E7D4 0007B734 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8007E7D8 0007B738 B0 01 00 24 */ sth r0, 0x24(r1) -/* 8007E7DC 0007B73C 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8007E7E0 0007B740 48 00 49 39 */ bl DoorClosing__11CBallCameraF9TUniqueId -/* 8007E7E4 0007B744 48 00 01 D0 */ b lbl_8007E9B4 -/* 8007E7E8 0007B748 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 8007E7EC 0007B74C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8007E7F0 0007B750 41 82 01 C4 */ beq lbl_8007E9B4 -/* 8007E7F4 0007B754 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8007E7F8 0007B758 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8007E7FC 0007B75C 40 82 01 B8 */ bne lbl_8007E9B4 -/* 8007E800 0007B760 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8007E804 0007B764 7F E3 FB 78 */ mr r3, r31 -/* 8007E808 0007B768 38 81 00 20 */ addi r4, r1, 0x20 -/* 8007E80C 0007B76C B0 01 00 20 */ sth r0, 0x20(r1) -/* 8007E810 0007B770 4B FC DD 95 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8007E814 0007B774 7C 64 1B 78 */ mr r4, r3 -/* 8007E818 0007B778 38 61 00 6C */ addi r3, r1, 0x6c -/* 8007E81C 0007B77C 48 02 B8 D5 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 8007E820 0007B780 80 03 00 04 */ lwz r0, 4(r3) -/* 8007E824 0007B784 28 00 00 00 */ cmplwi r0, 0 -/* 8007E828 0007B788 41 82 00 0C */ beq lbl_8007E834 -/* 8007E82C 0007B78C 38 60 00 02 */ li r3, 2 -/* 8007E830 0007B790 48 00 00 10 */ b lbl_8007E840 -lbl_8007E834: -/* 8007E834 0007B794 7F A3 EB 78 */ mr r3, r29 -/* 8007E838 0007B798 7F E4 FB 78 */ mr r4, r31 -/* 8007E83C 0007B79C 48 00 05 11 */ bl GetDoorOpenCondition__11CScriptDoorFR13CStateManager -lbl_8007E840: -/* 8007E840 0007B7A0 2C 03 00 01 */ cmpwi r3, 1 -/* 8007E844 0007B7A4 41 82 00 18 */ beq lbl_8007E85C -/* 8007E848 0007B7A8 40 80 00 08 */ bge lbl_8007E850 -/* 8007E84C 0007B7AC 48 00 00 48 */ b lbl_8007E894 -lbl_8007E850: -/* 8007E850 0007B7B0 2C 03 00 03 */ cmpwi r3, 3 -/* 8007E854 0007B7B4 40 80 00 40 */ bge lbl_8007E894 -/* 8007E858 0007B7B8 48 00 00 20 */ b lbl_8007E878 -lbl_8007E85C: -/* 8007E85C 0007B7BC 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8007E860 0007B7C0 38 60 00 01 */ li r3, 1 -/* 8007E864 0007B7C4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8007E868 0007B7C8 98 1D 02 A8 */ stb r0, 0x2a8(r29) -/* 8007E86C 0007B7CC A0 1E 00 00 */ lhz r0, 0(r30) -/* 8007E870 0007B7D0 B0 1D 02 80 */ sth r0, 0x280(r29) -/* 8007E874 0007B7D4 48 00 01 40 */ b lbl_8007E9B4 -lbl_8007E878: -/* 8007E878 0007B7D8 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8007E87C 0007B7DC 7F A3 EB 78 */ mr r3, r29 -/* 8007E880 0007B7E0 7F E5 FB 78 */ mr r5, r31 -/* 8007E884 0007B7E4 38 81 00 1C */ addi r4, r1, 0x1c -/* 8007E888 0007B7E8 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8007E88C 0007B7EC 48 00 01 D9 */ bl OpenDoor__11CScriptDoorF9TUniqueIdR13CStateManager -/* 8007E890 0007B7F0 48 00 01 24 */ b lbl_8007E9B4 -lbl_8007E894: -/* 8007E894 0007B7F4 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8007E898 0007B7F8 38 60 00 00 */ li r3, 0 -/* 8007E89C 0007B7FC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8007E8A0 0007B800 38 60 00 01 */ li r3, 1 -/* 8007E8A4 0007B804 98 1D 02 A8 */ stb r0, 0x2a8(r29) -/* 8007E8A8 0007B808 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8007E8AC 0007B80C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8007E8B0 0007B810 98 1D 02 A8 */ stb r0, 0x2a8(r29) -/* 8007E8B4 0007B814 48 00 01 00 */ b lbl_8007E9B4 -/* 8007E8B8 0007B818 83 DD 00 2C */ lwz r30, 0x2c(r29) -/* 8007E8BC 0007B81C 48 00 00 64 */ b lbl_8007E920 -lbl_8007E8C0: -/* 8007E8C0 0007B820 80 1E 00 04 */ lwz r0, 4(r30) -/* 8007E8C4 0007B824 2C 00 00 07 */ cmpwi r0, 7 -/* 8007E8C8 0007B828 40 82 00 54 */ bne lbl_8007E91C -/* 8007E8CC 0007B82C 80 1E 00 08 */ lwz r0, 8(r30) -/* 8007E8D0 0007B830 7F E4 FB 78 */ mr r4, r31 -/* 8007E8D4 0007B834 38 61 00 14 */ addi r3, r1, 0x14 -/* 8007E8D8 0007B838 38 A1 00 60 */ addi r5, r1, 0x60 -/* 8007E8DC 0007B83C 90 01 00 60 */ stw r0, 0x60(r1) -/* 8007E8E0 0007B840 4B FC 96 3D */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8007E8E4 0007B844 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 8007E8E8 0007B848 7F E3 FB 78 */ mr r3, r31 -/* 8007E8EC 0007B84C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8007E8F0 0007B850 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8007E8F4 0007B854 4B FC DC B1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8007E8F8 0007B858 7C 64 1B 78 */ mr r4, r3 -/* 8007E8FC 0007B85C 38 61 00 64 */ addi r3, r1, 0x64 -/* 8007E900 0007B860 48 02 BB 05 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" -/* 8007E904 0007B864 80 63 00 04 */ lwz r3, 4(r3) -/* 8007E908 0007B868 28 03 00 00 */ cmplwi r3, 0 -/* 8007E90C 0007B86C 41 82 00 10 */ beq lbl_8007E91C -/* 8007E910 0007B870 A0 03 00 08 */ lhz r0, 8(r3) -/* 8007E914 0007B874 B0 1D 02 82 */ sth r0, 0x282(r29) -/* 8007E918 0007B878 48 00 00 9C */ b lbl_8007E9B4 -lbl_8007E91C: -/* 8007E91C 0007B87C 3B DE 00 0C */ addi r30, r30, 0xc -lbl_8007E920: -/* 8007E920 0007B880 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 8007E924 0007B884 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 8007E928 0007B888 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8007E92C 0007B88C 7C 03 02 14 */ add r0, r3, r0 -/* 8007E930 0007B890 7C 1E 00 40 */ cmplw r30, r0 -/* 8007E934 0007B894 40 82 FF 8C */ bne lbl_8007E8C0 -/* 8007E938 0007B898 48 00 00 7C */ b lbl_8007E9B4 -/* 8007E93C 0007B89C 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8007E940 0007B8A0 38 60 00 01 */ li r3, 1 -/* 8007E944 0007B8A4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8007E948 0007B8A8 7F E4 FB 78 */ mr r4, r31 -/* 8007E94C 0007B8AC 98 1D 02 A8 */ stb r0, 0x2a8(r29) -/* 8007E950 0007B8B0 38 61 00 58 */ addi r3, r1, 0x58 -/* 8007E954 0007B8B4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8007E958 0007B8B8 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8007E95C 0007B8BC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8007E960 0007B8C0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8007E964 0007B8C4 4B FC 95 5D */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId -/* 8007E968 0007B8C8 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8007E96C 0007B8CC 38 81 00 5C */ addi r4, r1, 0x5c -/* 8007E970 0007B8D0 38 A0 00 01 */ li r5, 1 -/* 8007E974 0007B8D4 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8007E978 0007B8D8 80 7F 08 C0 */ lwz r3, 0x8c0(r31) -/* 8007E97C 0007B8DC 80 63 00 00 */ lwz r3, 0(r3) -/* 8007E980 0007B8E0 48 0E 9E 31 */ bl SetDoorVisited__13CMapWorldInfoF9TEditorIdb -/* 8007E984 0007B8E4 48 00 00 30 */ b lbl_8007E9B4 -/* 8007E988 0007B8E8 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8007E98C 0007B8EC 38 60 00 00 */ li r3, 0 -/* 8007E990 0007B8F0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8007E994 0007B8F4 98 1D 02 A8 */ stb r0, 0x2a8(r29) -/* 8007E998 0007B8F8 48 00 00 1C */ b lbl_8007E9B4 -lbl_8007E99C: -/* 8007E99C 0007B8FC A0 1E 00 00 */ lhz r0, 0(r30) -/* 8007E9A0 0007B900 7F A3 EB 78 */ mr r3, r29 -/* 8007E9A4 0007B904 7F E6 FB 78 */ mr r6, r31 -/* 8007E9A8 0007B908 38 A1 00 08 */ addi r5, r1, 8 -/* 8007E9AC 0007B90C B0 01 00 08 */ sth r0, 8(r1) -/* 8007E9B0 0007B910 4B FD 4C 65 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -lbl_8007E9B4: -/* 8007E9B4 0007B914 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8007E9B8 0007B918 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8007E9BC 0007B91C 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8007E9C0 0007B920 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8007E9C4 0007B924 7C 08 03 A6 */ mtlr r0 -/* 8007E9C8 0007B928 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8007E9CC 0007B92C 4E 80 00 20 */ blr - -.global SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType -SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType: -/* 8007E9D0 0007B930 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007E9D4 0007B934 7C 08 02 A6 */ mflr r0 -/* 8007E9D8 0007B938 38 A0 00 00 */ li r5, 0 -/* 8007E9DC 0007B93C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007E9E0 0007B940 90 83 02 60 */ stw r4, 0x260(r3) -/* 8007E9E4 0007B944 80 C3 00 64 */ lwz r6, 0x64(r3) -/* 8007E9E8 0007B948 28 06 00 00 */ cmplwi r6, 0 -/* 8007E9EC 0007B94C 41 82 00 14 */ beq lbl_8007EA00 -/* 8007E9F0 0007B950 80 06 00 10 */ lwz r0, 0x10(r6) -/* 8007E9F4 0007B954 28 00 00 00 */ cmplwi r0, 0 -/* 8007E9F8 0007B958 41 82 00 08 */ beq lbl_8007EA00 -/* 8007E9FC 0007B95C 38 A0 00 01 */ li r5, 1 -lbl_8007EA00: -/* 8007EA00 0007B960 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8007EA04 0007B964 41 82 00 50 */ beq lbl_8007EA54 -/* 8007EA08 0007B968 C0 02 89 70 */ lfs f0, lbl_805AA690@sda21(r2) -/* 8007EA0C 0007B96C 38 00 00 00 */ li r0, 0 -/* 8007EA10 0007B970 38 E0 FF FF */ li r7, -1 -/* 8007EA14 0007B974 38 C0 00 01 */ li r6, 1 -/* 8007EA18 0007B978 90 81 00 08 */ stw r4, 8(r1) -/* 8007EA1C 0007B97C 38 81 00 08 */ addi r4, r1, 8 -/* 8007EA20 0007B980 38 A0 00 00 */ li r5, 0 -/* 8007EA24 0007B984 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8007EA28 0007B988 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8007EA2C 0007B98C 98 C1 00 14 */ stb r6, 0x14(r1) -/* 8007EA30 0007B990 90 01 00 18 */ stw r0, 0x18(r1) -/* 8007EA34 0007B994 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8007EA38 0007B998 98 01 00 20 */ stb r0, 0x20(r1) -/* 8007EA3C 0007B99C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007EA40 0007B9A0 90 01 00 28 */ stw r0, 0x28(r1) -/* 8007EA44 0007B9A4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8007EA48 0007B9A8 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8007EA4C 0007B9AC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8007EA50 0007B9B0 4B FA E3 2D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -lbl_8007EA54: -/* 8007EA54 0007B9B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007EA58 0007B9B8 7C 08 03 A6 */ mtlr r0 -/* 8007EA5C 0007B9BC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007EA60 0007B9C0 4E 80 00 20 */ blr - -.global OpenDoor__11CScriptDoorF9TUniqueIdR13CStateManager -OpenDoor__11CScriptDoorF9TUniqueIdR13CStateManager: -/* 8007EA64 0007B9C4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8007EA68 0007B9C8 7C 08 02 A6 */ mflr r0 -/* 8007EA6C 0007B9CC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8007EA70 0007B9D0 BE E1 00 7C */ stmw r23, 0x7c(r1) -/* 8007EA74 0007B9D4 7C BE 2B 78 */ mr r30, r5 -/* 8007EA78 0007B9D8 7C 9D 23 78 */ mr r29, r4 -/* 8007EA7C 0007B9DC 7C 7C 1B 78 */ mr r28, r3 -/* 8007EA80 0007B9E0 7F C4 F3 78 */ mr r4, r30 -/* 8007EA84 0007B9E4 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8007EA88 0007B9E8 A0 03 00 08 */ lhz r0, 8(r3) -/* 8007EA8C 0007B9EC 38 61 00 3C */ addi r3, r1, 0x3c -/* 8007EA90 0007B9F0 B0 01 00 28 */ sth r0, 0x28(r1) -/* 8007EA94 0007B9F4 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 8007EA98 0007B9F8 4B FC 94 29 */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId -/* 8007EA9C 0007B9FC 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8007EAA0 0007BA00 38 81 00 40 */ addi r4, r1, 0x40 -/* 8007EAA4 0007BA04 38 A0 00 01 */ li r5, 1 -/* 8007EAA8 0007BA08 90 01 00 40 */ stw r0, 0x40(r1) -/* 8007EAAC 0007BA0C 80 7E 08 C0 */ lwz r3, 0x8c0(r30) -/* 8007EAB0 0007BA10 80 63 00 00 */ lwz r3, 0(r3) -/* 8007EAB4 0007BA14 48 0E 9C FD */ bl SetDoorVisited__13CMapWorldInfoF9TEditorIdb -/* 8007EAB8 0007BA18 88 1C 02 A8 */ lbz r0, 0x2a8(r28) -/* 8007EABC 0007BA1C 38 C0 00 01 */ li r6, 1 -/* 8007EAC0 0007BA20 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 8007EAC4 0007BA24 38 A0 00 00 */ li r5, 0 -/* 8007EAC8 0007BA28 98 1C 02 A8 */ stb r0, 0x2a8(r28) -/* 8007EACC 0007BA2C 7F C3 F3 78 */ mr r3, r30 -/* 8007EAD0 0007BA30 38 81 00 24 */ addi r4, r1, 0x24 -/* 8007EAD4 0007BA34 88 1C 02 A8 */ lbz r0, 0x2a8(r28) -/* 8007EAD8 0007BA38 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 8007EADC 0007BA3C 98 1C 02 A8 */ stb r0, 0x2a8(r28) -/* 8007EAE0 0007BA40 88 1C 02 A8 */ lbz r0, 0x2a8(r28) -/* 8007EAE4 0007BA44 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8007EAE8 0007BA48 98 1C 02 A8 */ stb r0, 0x2a8(r28) -/* 8007EAEC 0007BA4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007EAF0 0007BA50 B0 1C 02 7C */ sth r0, 0x27c(r28) -/* 8007EAF4 0007BA54 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007EAF8 0007BA58 B0 1C 02 7E */ sth r0, 0x27e(r28) -/* 8007EAFC 0007BA5C A0 1D 00 00 */ lhz r0, 0(r29) -/* 8007EB00 0007BA60 B0 01 00 24 */ sth r0, 0x24(r1) -/* 8007EB04 0007BA64 4B FC DA A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8007EB08 0007BA68 7C 64 1B 78 */ mr r4, r3 -/* 8007EB0C 0007BA6C 38 61 00 5C */ addi r3, r1, 0x5c -/* 8007EB10 0007BA70 48 02 B5 E1 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 8007EB14 0007BA74 80 63 00 04 */ lwz r3, 4(r3) -/* 8007EB18 0007BA78 28 03 00 00 */ cmplwi r3, 0 -/* 8007EB1C 0007BA7C 41 82 00 0C */ beq lbl_8007EB28 -/* 8007EB20 0007BA80 A0 03 00 08 */ lhz r0, 8(r3) -/* 8007EB24 0007BA84 B0 1C 02 7C */ sth r0, 0x27c(r28) -lbl_8007EB28: -/* 8007EB28 0007BA88 7F 83 E3 78 */ mr r3, r28 -/* 8007EB2C 0007BA8C 38 80 00 00 */ li r4, 0 -/* 8007EB30 0007BA90 4B FF FE A1 */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType -/* 8007EB34 0007BA94 A0 7C 02 7C */ lhz r3, 0x27c(r28) -/* 8007EB38 0007BA98 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007EB3C 0007BA9C 7C 03 00 40 */ cmplw r3, r0 -/* 8007EB40 0007BAA0 41 82 00 1C */ beq lbl_8007EB5C -/* 8007EB44 0007BAA4 7F 83 E3 78 */ mr r3, r28 -/* 8007EB48 0007BAA8 7F C5 F3 78 */ mr r5, r30 -/* 8007EB4C 0007BAAC 38 80 00 07 */ li r4, 7 -/* 8007EB50 0007BAB0 38 C0 FF FF */ li r6, -1 -/* 8007EB54 0007BAB4 4B FD 25 6D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8007EB58 0007BAB8 48 00 00 18 */ b lbl_8007EB70 -lbl_8007EB5C: -/* 8007EB5C 0007BABC 7F 83 E3 78 */ mr r3, r28 -/* 8007EB60 0007BAC0 7F C5 F3 78 */ mr r5, r30 -/* 8007EB64 0007BAC4 38 80 00 08 */ li r4, 8 -/* 8007EB68 0007BAC8 38 C0 FF FF */ li r6, -1 -/* 8007EB6C 0007BACC 4B FD 25 55 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_8007EB70: -/* 8007EB70 0007BAD0 A0 1C 02 82 */ lhz r0, 0x282(r28) -/* 8007EB74 0007BAD4 7F C3 F3 78 */ mr r3, r30 -/* 8007EB78 0007BAD8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8007EB7C 0007BADC B0 01 00 20 */ sth r0, 0x20(r1) -/* 8007EB80 0007BAE0 4B FC DA 25 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8007EB84 0007BAE4 7C 64 1B 78 */ mr r4, r3 -/* 8007EB88 0007BAE8 38 61 00 54 */ addi r3, r1, 0x54 -/* 8007EB8C 0007BAEC 48 02 B8 79 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" -/* 8007EB90 0007BAF0 83 E3 00 04 */ lwz r31, 4(r3) -/* 8007EB94 0007BAF4 28 1F 00 00 */ cmplwi r31, 0 -/* 8007EB98 0007BAF8 41 82 01 04 */ beq lbl_8007EC9C -/* 8007EB9C 0007BAFC 83 7E 08 48 */ lwz r27, 0x848(r30) -/* 8007EBA0 0007BB00 AB 3B 20 08 */ lha r25, 0x2008(r27) -/* 8007EBA4 0007BB04 48 00 00 F0 */ b lbl_8007EC94 -lbl_8007EBA8: -/* 8007EBA8 0007BB08 7F 63 DB 78 */ mr r3, r27 -/* 8007EBAC 0007BB0C 7F 24 CB 78 */ mr r4, r25 -/* 8007EBB0 0007BB10 4B F9 11 65 */ bl __vc__11CObjectListFi -/* 8007EBB4 0007BB14 7C 64 1B 78 */ mr r4, r3 -/* 8007EBB8 0007BB18 38 61 00 64 */ addi r3, r1, 0x64 -/* 8007EBBC 0007BB1C 48 02 B5 35 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 8007EBC0 0007BB20 83 03 00 04 */ lwz r24, 4(r3) -/* 8007EBC4 0007BB24 28 18 00 00 */ cmplwi r24, 0 -/* 8007EBC8 0007BB28 41 82 00 B0 */ beq lbl_8007EC78 -/* 8007EBCC 0007BB2C A0 78 00 08 */ lhz r3, 8(r24) -/* 8007EBD0 0007BB30 A0 1D 00 00 */ lhz r0, 0(r29) -/* 8007EBD4 0007BB34 7C 03 00 40 */ cmplw r3, r0 -/* 8007EBD8 0007BB38 41 82 00 A0 */ beq lbl_8007EC78 -/* 8007EBDC 0007BB3C A0 18 02 82 */ lhz r0, 0x282(r24) -/* 8007EBE0 0007BB40 7F C3 F3 78 */ mr r3, r30 -/* 8007EBE4 0007BB44 38 81 00 1C */ addi r4, r1, 0x1c -/* 8007EBE8 0007BB48 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8007EBEC 0007BB4C B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8007EBF0 0007BB50 4B FC D9 B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8007EBF4 0007BB54 7C 64 1B 78 */ mr r4, r3 -/* 8007EBF8 0007BB58 38 61 00 4C */ addi r3, r1, 0x4c -/* 8007EBFC 0007BB5C 48 02 B8 09 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" -/* 8007EC00 0007BB60 82 E3 00 04 */ lwz r23, 4(r3) -/* 8007EC04 0007BB64 28 17 00 00 */ cmplwi r23, 0 -/* 8007EC08 0007BB68 41 82 00 70 */ beq lbl_8007EC78 -/* 8007EC0C 0007BB6C 7F E4 FB 78 */ mr r4, r31 -/* 8007EC10 0007BB70 7F C5 F3 78 */ mr r5, r30 -/* 8007EC14 0007BB74 38 61 00 38 */ addi r3, r1, 0x38 -/* 8007EC18 0007BB78 48 04 4A E9 */ bl GetCurrentConnectedAreaId__11CScriptDockCFRC13CStateManager -/* 8007EC1C 0007BB7C 80 77 02 60 */ lwz r3, 0x260(r23) -/* 8007EC20 0007BB80 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8007EC24 0007BB84 7C 03 00 00 */ cmpw r3, r0 -/* 8007EC28 0007BB88 40 82 00 50 */ bne lbl_8007EC78 -/* 8007EC2C 0007BB8C 83 5F 02 60 */ lwz r26, 0x260(r31) -/* 8007EC30 0007BB90 7E E4 BB 78 */ mr r4, r23 -/* 8007EC34 0007BB94 7F C5 F3 78 */ mr r5, r30 -/* 8007EC38 0007BB98 38 61 00 34 */ addi r3, r1, 0x34 -/* 8007EC3C 0007BB9C 48 04 4A C5 */ bl GetCurrentConnectedAreaId__11CScriptDockCFRC13CStateManager -/* 8007EC40 0007BBA0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007EC44 0007BBA4 7C 00 D0 00 */ cmpw r0, r26 -/* 8007EC48 0007BBA8 40 82 00 30 */ bne lbl_8007EC78 -/* 8007EC4C 0007BBAC A0 18 00 08 */ lhz r0, 8(r24) -/* 8007EC50 0007BBB0 7F C3 F3 78 */ mr r3, r30 -/* 8007EC54 0007BBB4 7F 04 C3 78 */ mr r4, r24 -/* 8007EC58 0007BBB8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8007EC5C 0007BBBC B0 1C 02 7E */ sth r0, 0x27e(r28) -/* 8007EC60 0007BBC0 38 C0 00 09 */ li r6, 9 -/* 8007EC64 0007BBC4 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8007EC68 0007BBC8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8007EC6C 0007BBCC B0 01 00 14 */ sth r0, 0x14(r1) -/* 8007EC70 0007BBD0 4B FC 52 61 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8007EC74 0007BBD4 48 00 00 28 */ b lbl_8007EC9C -lbl_8007EC78: -/* 8007EC78 0007BBD8 2C 19 FF FF */ cmpwi r25, -1 -/* 8007EC7C 0007BBDC 41 82 00 14 */ beq lbl_8007EC90 -/* 8007EC80 0007BBE0 57 23 18 38 */ slwi r3, r25, 3 -/* 8007EC84 0007BBE4 38 03 00 08 */ addi r0, r3, 8 -/* 8007EC88 0007BBE8 7F 3B 02 AE */ lhax r25, r27, r0 -/* 8007EC8C 0007BBEC 48 00 00 08 */ b lbl_8007EC94 -lbl_8007EC90: -/* 8007EC90 0007BBF0 3B 20 FF FF */ li r25, -1 -lbl_8007EC94: -/* 8007EC94 0007BBF4 2C 19 FF FF */ cmpwi r25, -1 -/* 8007EC98 0007BBF8 40 82 FF 10 */ bne lbl_8007EBA8 -lbl_8007EC9C: -/* 8007EC9C 0007BBFC A0 1C 02 7C */ lhz r0, 0x27c(r28) -/* 8007ECA0 0007BC00 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 8007ECA4 0007BC04 7C 00 18 40 */ cmplw r0, r3 -/* 8007ECA8 0007BC08 40 82 00 90 */ bne lbl_8007ED38 -/* 8007ECAC 0007BC0C A0 1C 02 7E */ lhz r0, 0x27e(r28) -/* 8007ECB0 0007BC10 7C 00 18 40 */ cmplw r0, r3 -/* 8007ECB4 0007BC14 40 82 00 84 */ bne lbl_8007ED38 -/* 8007ECB8 0007BC18 83 5C 00 2C */ lwz r26, 0x2c(r28) -/* 8007ECBC 0007BC1C 48 00 00 64 */ b lbl_8007ED20 -lbl_8007ECC0: -/* 8007ECC0 0007BC20 80 1A 00 04 */ lwz r0, 4(r26) -/* 8007ECC4 0007BC24 2C 00 00 09 */ cmpwi r0, 9 -/* 8007ECC8 0007BC28 40 82 00 54 */ bne lbl_8007ED1C -/* 8007ECCC 0007BC2C 80 1A 00 08 */ lwz r0, 8(r26) -/* 8007ECD0 0007BC30 7F C4 F3 78 */ mr r4, r30 -/* 8007ECD4 0007BC34 38 61 00 08 */ addi r3, r1, 8 -/* 8007ECD8 0007BC38 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8007ECDC 0007BC3C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8007ECE0 0007BC40 4B FC 92 3D */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8007ECE4 0007BC44 A0 01 00 08 */ lhz r0, 8(r1) -/* 8007ECE8 0007BC48 7F C3 F3 78 */ mr r3, r30 -/* 8007ECEC 0007BC4C 38 81 00 0C */ addi r4, r1, 0xc -/* 8007ECF0 0007BC50 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8007ECF4 0007BC54 4B FC D8 B1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8007ECF8 0007BC58 7C 64 1B 78 */ mr r4, r3 -/* 8007ECFC 0007BC5C 38 61 00 44 */ addi r3, r1, 0x44 -/* 8007ED00 0007BC60 48 02 B3 F1 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 8007ED04 0007BC64 80 63 00 04 */ lwz r3, 4(r3) -/* 8007ED08 0007BC68 28 03 00 00 */ cmplwi r3, 0 -/* 8007ED0C 0007BC6C 41 82 00 10 */ beq lbl_8007ED1C -/* 8007ED10 0007BC70 A0 03 00 08 */ lhz r0, 8(r3) -/* 8007ED14 0007BC74 B0 1C 02 7E */ sth r0, 0x27e(r28) -/* 8007ED18 0007BC78 48 00 00 20 */ b lbl_8007ED38 -lbl_8007ED1C: -/* 8007ED1C 0007BC7C 3B 5A 00 0C */ addi r26, r26, 0xc -lbl_8007ED20: -/* 8007ED20 0007BC80 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 8007ED24 0007BC84 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 8007ED28 0007BC88 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8007ED2C 0007BC8C 7C 03 02 14 */ add r0, r3, r0 -/* 8007ED30 0007BC90 7C 1A 00 40 */ cmplw r26, r0 -/* 8007ED34 0007BC94 40 82 FF 8C */ bne lbl_8007ECC0 -lbl_8007ED38: -/* 8007ED38 0007BC98 BA E1 00 7C */ lmw r23, 0x7c(r1) -/* 8007ED3C 0007BC9C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8007ED40 0007BCA0 7C 08 03 A6 */ mtlr r0 -/* 8007ED44 0007BCA4 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8007ED48 0007BCA8 4E 80 00 20 */ blr - -.global GetDoorOpenCondition__11CScriptDoorFR13CStateManager -GetDoorOpenCondition__11CScriptDoorFR13CStateManager: -/* 8007ED4C 0007BCAC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8007ED50 0007BCB0 7C 08 02 A6 */ mflr r0 -/* 8007ED54 0007BCB4 90 01 00 74 */ stw r0, 0x74(r1) -/* 8007ED58 0007BCB8 BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 8007ED5C 0007BCBC 7C 9D 23 78 */ mr r29, r4 -/* 8007ED60 0007BCC0 7C 7C 1B 78 */ mr r28, r3 -/* 8007ED64 0007BCC4 38 81 00 10 */ addi r4, r1, 0x10 -/* 8007ED68 0007BCC8 A0 03 02 82 */ lhz r0, 0x282(r3) -/* 8007ED6C 0007BCCC 7F A3 EB 78 */ mr r3, r29 -/* 8007ED70 0007BCD0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8007ED74 0007BCD4 4B FC D8 01 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8007ED78 0007BCD8 7C 64 1B 78 */ mr r4, r3 -/* 8007ED7C 0007BCDC 38 61 00 44 */ addi r3, r1, 0x44 -/* 8007ED80 0007BCE0 48 02 B6 85 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" -/* 8007ED84 0007BCE4 83 C3 00 04 */ lwz r30, 4(r3) -/* 8007ED88 0007BCE8 28 1E 00 00 */ cmplwi r30, 0 -/* 8007ED8C 0007BCEC 40 82 00 0C */ bne lbl_8007ED98 -/* 8007ED90 0007BCF0 38 60 00 02 */ li r3, 2 -/* 8007ED94 0007BCF4 48 00 02 AC */ b lbl_8007F040 -lbl_8007ED98: -/* 8007ED98 0007BCF8 C0 3C 02 5C */ lfs f1, 0x25c(r28) -/* 8007ED9C 0007BCFC C0 02 89 6C */ lfs f0, lbl_805AA68C@sda21(r2) -/* 8007EDA0 0007BD00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8007EDA4 0007BD04 41 80 00 10 */ blt lbl_8007EDB4 -/* 8007EDA8 0007BD08 88 1C 02 A8 */ lbz r0, 0x2a8(r28) -/* 8007EDAC 0007BD0C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8007EDB0 0007BD10 41 82 00 0C */ beq lbl_8007EDBC -lbl_8007EDB4: -/* 8007EDB4 0007BD14 38 60 00 01 */ li r3, 1 -/* 8007EDB8 0007BD18 48 00 02 88 */ b lbl_8007F040 -lbl_8007EDBC: -/* 8007EDBC 0007BD1C 80 DE 02 60 */ lwz r6, 0x260(r30) -/* 8007EDC0 0007BD20 38 80 00 00 */ li r4, 0 -/* 8007EDC4 0007BD24 80 7D 08 50 */ lwz r3, 0x850(r29) -/* 8007EDC8 0007BD28 2C 06 00 00 */ cmpwi r6, 0 -/* 8007EDCC 0007BD2C 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8007EDD0 0007BD30 90 C1 00 34 */ stw r6, 0x34(r1) -/* 8007EDD4 0007BD34 41 80 00 14 */ blt lbl_8007EDE8 -/* 8007EDD8 0007BD38 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8007EDDC 0007BD3C 7C 06 00 00 */ cmpw r6, r0 -/* 8007EDE0 0007BD40 40 80 00 08 */ bge lbl_8007EDE8 -/* 8007EDE4 0007BD44 38 80 00 01 */ li r4, 1 -lbl_8007EDE8: -/* 8007EDE8 0007BD48 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8007EDEC 0007BD4C 40 82 00 0C */ bne lbl_8007EDF8 -/* 8007EDF0 0007BD50 38 60 00 00 */ li r3, 0 -/* 8007EDF4 0007BD54 48 00 02 4C */ b lbl_8007F040 -lbl_8007EDF8: -/* 8007EDF8 0007BD58 54 C4 18 38 */ slwi r4, r6, 3 -/* 8007EDFC 0007BD5C 80 A3 00 20 */ lwz r5, 0x20(r3) -/* 8007EE00 0007BD60 38 04 00 04 */ addi r0, r4, 4 -/* 8007EE04 0007BD64 90 C1 00 28 */ stw r6, 0x28(r1) -/* 8007EE08 0007BD68 7C 85 00 2E */ lwzx r4, r5, r0 -/* 8007EE0C 0007BD6C 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 8007EE10 0007BD70 88 04 00 F0 */ lbz r0, 0xf0(r4) -/* 8007EE14 0007BD74 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8007EE18 0007BD78 40 82 00 0C */ bne lbl_8007EE24 -/* 8007EE1C 0007BD7C 38 60 00 01 */ li r3, 1 -/* 8007EE20 0007BD80 48 00 02 20 */ b lbl_8007F040 -lbl_8007EE24: -/* 8007EE24 0007BD84 4B FD 73 41 */ bl AreSkyNeedsMet__6CWorldCFv -/* 8007EE28 0007BD88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007EE2C 0007BD8C 40 82 00 0C */ bne lbl_8007EE38 -/* 8007EE30 0007BD90 38 60 00 01 */ li r3, 1 -/* 8007EE34 0007BD94 48 00 02 0C */ b lbl_8007F040 -lbl_8007EE38: -/* 8007EE38 0007BD98 80 FE 02 60 */ lwz r7, 0x260(r30) -/* 8007EE3C 0007BD9C 7F C3 F3 78 */ mr r3, r30 -/* 8007EE40 0007BDA0 80 DD 08 50 */ lwz r6, 0x850(r29) -/* 8007EE44 0007BDA4 7F A4 EB 78 */ mr r4, r29 -/* 8007EE48 0007BDA8 54 E5 18 38 */ slwi r5, r7, 3 -/* 8007EE4C 0007BDAC 80 1E 02 5C */ lwz r0, 0x25c(r30) -/* 8007EE50 0007BDB0 80 C6 00 20 */ lwz r6, 0x20(r6) -/* 8007EE54 0007BDB4 38 A5 00 04 */ addi r5, r5, 4 -/* 8007EE58 0007BDB8 1C 00 00 4C */ mulli r0, r0, 0x4c -/* 8007EE5C 0007BDBC 90 E1 00 20 */ stw r7, 0x20(r1) -/* 8007EE60 0007BDC0 7C A6 28 2E */ lwzx r5, r6, r5 -/* 8007EE64 0007BDC4 90 E1 00 24 */ stw r7, 0x24(r1) -/* 8007EE68 0007BDC8 80 A5 00 D8 */ lwz r5, 0xd8(r5) -/* 8007EE6C 0007BDCC 7F E5 02 14 */ add r31, r5, r0 -/* 8007EE70 0007BDD0 48 04 4A 95 */ bl GetDockReference__11CScriptDockCFv -/* 8007EE74 0007BDD4 7C 65 1B 78 */ mr r5, r3 -/* 8007EE78 0007BDD8 7F E4 FB 78 */ mr r4, r31 -/* 8007EE7C 0007BDDC 38 61 00 1C */ addi r3, r1, 0x1c -/* 8007EE80 0007BDE0 4B FE 04 A5 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi -/* 8007EE84 0007BDE4 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8007EE88 0007BDE8 38 60 00 00 */ li r3, 0 -/* 8007EE8C 0007BDEC 80 BD 08 50 */ lwz r5, 0x850(r29) -/* 8007EE90 0007BDF0 2C 04 00 00 */ cmpwi r4, 0 -/* 8007EE94 0007BDF4 90 81 00 38 */ stw r4, 0x38(r1) -/* 8007EE98 0007BDF8 90 81 00 18 */ stw r4, 0x18(r1) -/* 8007EE9C 0007BDFC 41 80 00 14 */ blt lbl_8007EEB0 -/* 8007EEA0 0007BE00 80 05 00 18 */ lwz r0, 0x18(r5) -/* 8007EEA4 0007BE04 7C 04 00 00 */ cmpw r4, r0 -/* 8007EEA8 0007BE08 40 80 00 08 */ bge lbl_8007EEB0 -/* 8007EEAC 0007BE0C 38 60 00 01 */ li r3, 1 -lbl_8007EEB0: -/* 8007EEB0 0007BE10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007EEB4 0007BE14 40 82 00 0C */ bne lbl_8007EEC0 -/* 8007EEB8 0007BE18 38 60 00 00 */ li r3, 0 -/* 8007EEBC 0007BE1C 48 00 01 84 */ b lbl_8007F040 -lbl_8007EEC0: -/* 8007EEC0 0007BE20 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8007EEC4 0007BE24 80 85 00 20 */ lwz r4, 0x20(r5) -/* 8007EEC8 0007BE28 54 03 18 38 */ slwi r3, r0, 3 -/* 8007EECC 0007BE2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8007EED0 0007BE30 38 03 00 04 */ addi r0, r3, 4 -/* 8007EED4 0007BE34 7F E4 00 2E */ lwzx r31, r4, r0 -/* 8007EED8 0007BE38 88 1F 00 F0 */ lbz r0, 0xf0(r31) -/* 8007EEDC 0007BE3C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8007EEE0 0007BE40 40 82 00 2C */ bne lbl_8007EF0C -/* 8007EEE4 0007BE44 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8007EEE8 0007BE48 7F A3 EB 78 */ mr r3, r29 -/* 8007EEEC 0007BE4C 7F C4 F3 78 */ mr r4, r30 -/* 8007EEF0 0007BE50 38 A1 00 0C */ addi r5, r1, 0xc -/* 8007EEF4 0007BE54 B0 01 00 08 */ sth r0, 8(r1) -/* 8007EEF8 0007BE58 38 C0 00 0C */ li r6, 0xc -/* 8007EEFC 0007BE5C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8007EF00 0007BE60 4B FC 4F D1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8007EF04 0007BE64 38 60 00 01 */ li r3, 1 -/* 8007EF08 0007BE68 48 00 01 38 */ b lbl_8007F040 -lbl_8007EF0C: -/* 8007EF0C 0007BE6C 80 7F 01 2C */ lwz r3, 0x12c(r31) -/* 8007EF10 0007BE70 80 03 11 3C */ lwz r0, 0x113c(r3) -/* 8007EF14 0007BE74 2C 00 00 00 */ cmpwi r0, 0 -/* 8007EF18 0007BE78 41 82 00 0C */ beq lbl_8007EF24 -/* 8007EF1C 0007BE7C 38 60 00 01 */ li r3, 1 -/* 8007EF20 0007BE80 48 00 01 20 */ b lbl_8007F040 -lbl_8007EF24: -/* 8007EF24 0007BE84 83 DD 08 48 */ lwz r30, 0x848(r29) -/* 8007EF28 0007BE88 AB 7E 20 08 */ lha r27, 0x2008(r30) -/* 8007EF2C 0007BE8C 48 00 00 94 */ b lbl_8007EFC0 -lbl_8007EF30: -/* 8007EF30 0007BE90 7F C3 F3 78 */ mr r3, r30 -/* 8007EF34 0007BE94 7F 64 DB 78 */ mr r4, r27 -/* 8007EF38 0007BE98 4B F9 0D A5 */ bl __vc__11CObjectListCFi -/* 8007EF3C 0007BE9C 7C 64 1B 78 */ mr r4, r3 -/* 8007EF40 0007BEA0 38 61 00 3C */ addi r3, r1, 0x3c -/* 8007EF44 0007BEA4 48 02 B1 AD */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 8007EF48 0007BEA8 80 83 00 04 */ lwz r4, 4(r3) -/* 8007EF4C 0007BEAC 28 04 00 00 */ cmplwi r4, 0 -/* 8007EF50 0007BEB0 41 82 00 54 */ beq lbl_8007EFA4 -/* 8007EF54 0007BEB4 A0 64 00 08 */ lhz r3, 8(r4) -/* 8007EF58 0007BEB8 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8007EF5C 0007BEBC 7C 03 00 40 */ cmplw r3, r0 -/* 8007EF60 0007BEC0 41 82 00 44 */ beq lbl_8007EFA4 -/* 8007EF64 0007BEC4 80 64 00 04 */ lwz r3, 4(r4) -/* 8007EF68 0007BEC8 80 1C 00 04 */ lwz r0, 4(r28) -/* 8007EF6C 0007BECC 7C 03 00 00 */ cmpw r3, r0 -/* 8007EF70 0007BED0 41 82 00 10 */ beq lbl_8007EF80 -/* 8007EF74 0007BED4 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8007EF78 0007BED8 7C 03 00 00 */ cmpw r3, r0 -/* 8007EF7C 0007BEDC 40 82 00 28 */ bne lbl_8007EFA4 -lbl_8007EF80: -/* 8007EF80 0007BEE0 88 04 02 A8 */ lbz r0, 0x2a8(r4) -/* 8007EF84 0007BEE4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8007EF88 0007BEE8 41 82 00 1C */ beq lbl_8007EFA4 -/* 8007EF8C 0007BEEC A0 64 02 82 */ lhz r3, 0x282(r4) -/* 8007EF90 0007BEF0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007EF94 0007BEF4 7C 03 00 40 */ cmplw r3, r0 -/* 8007EF98 0007BEF8 41 82 00 0C */ beq lbl_8007EFA4 -/* 8007EF9C 0007BEFC 38 60 00 01 */ li r3, 1 -/* 8007EFA0 0007BF00 48 00 00 A0 */ b lbl_8007F040 -lbl_8007EFA4: -/* 8007EFA4 0007BF04 2C 1B FF FF */ cmpwi r27, -1 -/* 8007EFA8 0007BF08 41 82 00 14 */ beq lbl_8007EFBC -/* 8007EFAC 0007BF0C 57 63 18 38 */ slwi r3, r27, 3 -/* 8007EFB0 0007BF10 38 03 00 08 */ addi r0, r3, 8 -/* 8007EFB4 0007BF14 7F 7E 02 AE */ lhax r27, r30, r0 -/* 8007EFB8 0007BF18 48 00 00 08 */ b lbl_8007EFC0 -lbl_8007EFBC: -/* 8007EFBC 0007BF1C 3B 60 FF FF */ li r27, -1 -lbl_8007EFC0: -/* 8007EFC0 0007BF20 2C 1B FF FF */ cmpwi r27, -1 -/* 8007EFC4 0007BF24 40 82 FF 6C */ bne lbl_8007EF30 -/* 8007EFC8 0007BF28 80 7D 08 50 */ lwz r3, 0x850(r29) -/* 8007EFCC 0007BF2C 83 83 00 58 */ lwz r28, 0x58(r3) -/* 8007EFD0 0007BF30 48 00 00 30 */ b lbl_8007F000 -lbl_8007EFD4: -/* 8007EFD4 0007BF34 80 7C 00 04 */ lwz r3, 4(r28) -/* 8007EFD8 0007BF38 80 1F 00 04 */ lwz r0, 4(r31) -/* 8007EFDC 0007BF3C 7C 03 00 00 */ cmpw r3, r0 -/* 8007EFE0 0007BF40 41 82 00 1C */ beq lbl_8007EFFC -/* 8007EFE4 0007BF44 7F 83 E3 78 */ mr r3, r28 -/* 8007EFE8 0007BF48 4B FD F3 55 */ bl IsFinishedOccluding__9CGameAreaCFv -/* 8007EFEC 0007BF4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007EFF0 0007BF50 40 82 00 0C */ bne lbl_8007EFFC -/* 8007EFF4 0007BF54 38 60 00 01 */ li r3, 1 -/* 8007EFF8 0007BF58 48 00 00 48 */ b lbl_8007F040 -lbl_8007EFFC: -/* 8007EFFC 0007BF5C 83 9C 01 30 */ lwz r28, 0x130(r28) -lbl_8007F000: -/* 8007F000 0007BF60 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13) -/* 8007F004 0007BF64 7C 1C 00 40 */ cmplw r28, r0 -/* 8007F008 0007BF68 40 82 FF CC */ bne lbl_8007EFD4 -/* 8007F00C 0007BF6C 7F E3 FB 78 */ mr r3, r31 -/* 8007F010 0007BF70 4B FD FB 61 */ bl TryTakingOutOfARAM__9CGameAreaFv -/* 8007F014 0007BF74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007F018 0007BF78 40 82 00 0C */ bne lbl_8007F024 -/* 8007F01C 0007BF7C 38 60 00 01 */ li r3, 1 -/* 8007F020 0007BF80 48 00 00 20 */ b lbl_8007F040 -lbl_8007F024: -/* 8007F024 0007BF84 80 7D 08 50 */ lwz r3, 0x850(r29) -/* 8007F028 0007BF88 4B FD 86 75 */ bl GetMapWorld__6CWorldCFv -/* 8007F02C 0007BF8C 48 02 21 55 */ bl IsMapAreasStreaming__9CMapWorldCFv -/* 8007F030 0007BF90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8007F034 0007BF94 38 60 00 02 */ li r3, 2 -/* 8007F038 0007BF98 41 82 00 08 */ beq lbl_8007F040 -/* 8007F03C 0007BF9C 38 60 00 01 */ li r3, 1 -lbl_8007F040: -/* 8007F040 0007BFA0 BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 8007F044 0007BFA4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8007F048 0007BFA8 7C 08 03 A6 */ mtlr r0 -/* 8007F04C 0007BFAC 38 21 00 70 */ addi r1, r1, 0x70 -/* 8007F050 0007BFB0 4E 80 00 20 */ blr - -.global GetOrbitPosition__11CScriptDoorCFRC13CStateManager -GetOrbitPosition__11CScriptDoorCFRC13CStateManager: -/* 8007F054 0007BFB4 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 8007F058 0007BFB8 C0 04 02 9C */ lfs f0, 0x29c(r4) -/* 8007F05C 0007BFBC C0 84 00 50 */ lfs f4, 0x50(r4) -/* 8007F060 0007BFC0 C0 64 02 A0 */ lfs f3, 0x2a0(r4) -/* 8007F064 0007BFC4 EC 01 00 2A */ fadds f0, f1, f0 -/* 8007F068 0007BFC8 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 8007F06C 0007BFCC C0 24 02 A4 */ lfs f1, 0x2a4(r4) -/* 8007F070 0007BFD0 EC 64 18 2A */ fadds f3, f4, f3 -/* 8007F074 0007BFD4 D0 03 00 00 */ stfs f0, 0(r3) -/* 8007F078 0007BFD8 EC 02 08 2A */ fadds f0, f2, f1 -/* 8007F07C 0007BFDC D0 63 00 04 */ stfs f3, 4(r3) -/* 8007F080 0007BFE0 D0 03 00 08 */ stfs f0, 8(r3) -/* 8007F084 0007BFE4 4E 80 00 20 */ blr - -.global GetProjectileBounds__11CScriptDoorCFv -GetProjectileBounds__11CScriptDoorCFv: -/* 8007F088 0007BFE8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8007F08C 0007BFEC 7C 08 02 A6 */ mflr r0 -/* 8007F090 0007BFF0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8007F094 0007BFF4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8007F098 0007BFF8 7C 7F 1B 78 */ mr r31, r3 -/* 8007F09C 0007BFFC 88 04 02 A8 */ lbz r0, 0x2a8(r4) -/* 8007F0A0 0007C000 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8007F0A4 0007C004 41 82 00 AC */ beq lbl_8007F150 -/* 8007F0A8 0007C008 C0 24 02 94 */ lfs f1, 0x294(r4) -/* 8007F0AC 0007C00C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8007F0B0 0007C010 C0 64 00 50 */ lfs f3, 0x50(r4) -/* 8007F0B4 0007C014 38 A1 00 08 */ addi r5, r1, 8 -/* 8007F0B8 0007C018 C0 04 02 88 */ lfs f0, 0x288(r4) -/* 8007F0BC 0007C01C EC C1 18 2A */ fadds f6, f1, f3 -/* 8007F0C0 0007C020 C0 44 02 98 */ lfs f2, 0x298(r4) -/* 8007F0C4 0007C024 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 8007F0C8 0007C028 EC 80 18 2A */ fadds f4, f0, f3 -/* 8007F0CC 0007C02C C0 04 02 8C */ lfs f0, 0x28c(r4) -/* 8007F0D0 0007C030 EC A2 08 2A */ fadds f5, f2, f1 -/* 8007F0D4 0007C034 EC 60 08 2A */ fadds f3, f0, f1 -/* 8007F0D8 0007C038 C0 24 02 90 */ lfs f1, 0x290(r4) -/* 8007F0DC 0007C03C C0 44 00 40 */ lfs f2, 0x40(r4) -/* 8007F0E0 0007C040 C0 04 02 84 */ lfs f0, 0x284(r4) -/* 8007F0E4 0007C044 38 81 00 14 */ addi r4, r1, 0x14 -/* 8007F0E8 0007C048 EC 21 10 2A */ fadds f1, f1, f2 -/* 8007F0EC 0007C04C EC 00 10 2A */ fadds f0, f0, f2 -/* 8007F0F0 0007C050 D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 8007F0F4 0007C054 D0 21 00 08 */ stfs f1, 8(r1) -/* 8007F0F8 0007C058 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 8007F0FC 0007C05C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8007F100 0007C060 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8007F104 0007C064 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8007F108 0007C068 48 2B 94 01 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8007F10C 0007C06C 38 00 00 01 */ li r0, 1 -/* 8007F110 0007C070 28 1F 00 00 */ cmplwi r31, 0 -/* 8007F114 0007C074 98 1F 00 18 */ stb r0, 0x18(r31) -/* 8007F118 0007C078 41 82 00 40 */ beq lbl_8007F158 -/* 8007F11C 0007C07C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8007F120 0007C080 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8007F124 0007C084 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8007F128 0007C088 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8007F12C 0007C08C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8007F130 0007C090 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8007F134 0007C094 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8007F138 0007C098 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8007F13C 0007C09C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8007F140 0007C0A0 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8007F144 0007C0A4 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8007F148 0007C0A8 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8007F14C 0007C0AC 48 00 00 0C */ b lbl_8007F158 -lbl_8007F150: -/* 8007F150 0007C0B0 38 00 00 00 */ li r0, 0 -/* 8007F154 0007C0B4 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_8007F158: -/* 8007F158 0007C0B8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8007F15C 0007C0BC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8007F160 0007C0C0 7C 08 03 A6 */ mtlr r0 -/* 8007F164 0007C0C4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8007F168 0007C0C8 4E 80 00 20 */ blr - -.global GetTouchBounds__11CScriptDoorCFv -GetTouchBounds__11CScriptDoorCFv: -/* 8007F16C 0007C0CC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007F170 0007C0D0 7C 08 02 A6 */ mflr r0 -/* 8007F174 0007C0D4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007F178 0007C0D8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007F17C 0007C0DC 7C 7F 1B 78 */ mr r31, r3 -/* 8007F180 0007C0E0 88 04 00 30 */ lbz r0, 0x30(r4) -/* 8007F184 0007C0E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8007F188 0007C0E8 41 82 00 78 */ beq lbl_8007F200 -/* 8007F18C 0007C0EC 80 04 00 68 */ lwz r0, 0x68(r4) -/* 8007F190 0007C0F0 38 A0 00 00 */ li r5, 0 -/* 8007F194 0007C0F4 80 C4 00 6C */ lwz r6, 0x6c(r4) -/* 8007F198 0007C0F8 3C 60 00 08 */ lis r3, 8 -/* 8007F19C 0007C0FC 7C 00 28 38 */ and r0, r0, r5 -/* 8007F1A0 0007C100 7C C3 18 38 */ and r3, r6, r3 -/* 8007F1A4 0007C104 7C 63 2A 78 */ xor r3, r3, r5 -/* 8007F1A8 0007C108 7C 00 2A 78 */ xor r0, r0, r5 -/* 8007F1AC 0007C10C 7C 60 03 79 */ or. r0, r3, r0 -/* 8007F1B0 0007C110 41 82 00 50 */ beq lbl_8007F200 -/* 8007F1B4 0007C114 38 61 00 08 */ addi r3, r1, 8 -/* 8007F1B8 0007C118 48 09 B7 75 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8007F1BC 0007C11C 38 00 00 01 */ li r0, 1 -/* 8007F1C0 0007C120 28 1F 00 00 */ cmplwi r31, 0 -/* 8007F1C4 0007C124 98 1F 00 18 */ stb r0, 0x18(r31) -/* 8007F1C8 0007C128 41 82 00 40 */ beq lbl_8007F208 -/* 8007F1CC 0007C12C C0 01 00 08 */ lfs f0, 8(r1) -/* 8007F1D0 0007C130 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8007F1D4 0007C134 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8007F1D8 0007C138 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8007F1DC 0007C13C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8007F1E0 0007C140 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8007F1E4 0007C144 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8007F1E8 0007C148 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8007F1EC 0007C14C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8007F1F0 0007C150 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8007F1F4 0007C154 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8007F1F8 0007C158 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8007F1FC 0007C15C 48 00 00 0C */ b lbl_8007F208 -lbl_8007F200: -/* 8007F200 0007C160 38 00 00 00 */ li r0, 0 -/* 8007F204 0007C164 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_8007F208: -/* 8007F208 0007C168 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8007F20C 0007C16C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8007F210 0007C170 7C 08 03 A6 */ mtlr r0 -/* 8007F214 0007C174 38 21 00 30 */ addi r1, r1, 0x30 -/* 8007F218 0007C178 4E 80 00 20 */ blr - -.global "__ct__11CScriptDoorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC9CVector3fRC6CAABoxbbfb" -"__ct__11CScriptDoorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC9CVector3fRC6CAABoxbbfb": -/* 8007F21C 0007C17C 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8007F220 0007C180 7C 08 02 A6 */ mflr r0 -/* 8007F224 0007C184 90 01 01 24 */ stw r0, 0x124(r1) -/* 8007F228 0007C188 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 8007F22C 0007C18C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 8007F230 0007C190 BE 21 00 D4 */ stmw r17, 0xd4(r1) -/* 8007F234 0007C194 FF E0 08 90 */ fmr f31, f1 -/* 8007F238 0007C198 82 A1 01 28 */ lwz r21, 0x128(r1) -/* 8007F23C 0007C19C 8A 81 01 2F */ lbz r20, 0x12f(r1) -/* 8007F240 0007C1A0 7C 7E 1B 78 */ mr r30, r3 -/* 8007F244 0007C1A4 8B 81 01 33 */ lbz r28, 0x133(r1) -/* 8007F248 0007C1A8 7C 9F 23 78 */ mr r31, r4 -/* 8007F24C 0007C1AC 8A 61 01 37 */ lbz r19, 0x137(r1) -/* 8007F250 0007C1B0 7C B6 2B 78 */ mr r22, r5 -/* 8007F254 0007C1B4 8B A1 01 3B */ lbz r29, 0x13b(r1) -/* 8007F258 0007C1B8 7C D7 33 78 */ mr r23, r6 -/* 8007F25C 0007C1BC 7C F8 3B 78 */ mr r24, r7 -/* 8007F260 0007C1C0 7D 19 43 78 */ mr r25, r8 -/* 8007F264 0007C1C4 7D 3A 4B 78 */ mr r26, r9 -/* 8007F268 0007C1C8 7D 5B 53 78 */ mr r27, r10 -/* 8007F26C 0007C1CC 4B F9 C2 C9 */ bl Identity__10CAxisAngleFv -/* 8007F270 0007C1D0 7C 71 1B 78 */ mr r17, r3 -/* 8007F274 0007C1D4 4B F9 C2 C1 */ bl Identity__10CAxisAngleFv -/* 8007F278 0007C1D8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8007F27C 0007C1DC C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) -/* 8007F280 0007C1E0 C0 02 89 70 */ lfs f0, lbl_805AA690@sda21(r2) -/* 8007F284 0007C1E4 28 1C 00 00 */ cmplwi r28, 0 -/* 8007F288 0007C1E8 C0 64 00 04 */ lfs f3, 4(r4) -/* 8007F28C 0007C1EC 3A 41 00 90 */ addi r18, r1, 0x90 -/* 8007F290 0007C1F0 C0 84 00 08 */ lfs f4, 8(r4) -/* 8007F294 0007C1F4 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8007F298 0007C1F8 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 8007F29C 0007C1FC D0 81 00 98 */ stfs f4, 0x98(r1) -/* 8007F2A0 0007C200 C0 23 00 00 */ lfs f1, 0(r3) -/* 8007F2A4 0007C204 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8007F2A8 0007C208 C0 23 00 04 */ lfs f1, 4(r3) -/* 8007F2AC 0007C20C D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 8007F2B0 0007C210 C0 23 00 08 */ lfs f1, 8(r3) -/* 8007F2B4 0007C214 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 8007F2B8 0007C218 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 8007F2BC 0007C21C D0 61 00 AC */ stfs f3, 0xac(r1) -/* 8007F2C0 0007C220 D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 8007F2C4 0007C224 C0 31 00 00 */ lfs f1, 0(r17) -/* 8007F2C8 0007C228 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 8007F2CC 0007C22C C0 31 00 04 */ lfs f1, 4(r17) -/* 8007F2D0 0007C230 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 8007F2D4 0007C234 C0 31 00 08 */ lfs f1, 8(r17) -/* 8007F2D8 0007C238 D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 8007F2DC 0007C23C D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 8007F2E0 0007C240 41 82 00 90 */ beq lbl_8007F370 -/* 8007F2E4 0007C244 38 00 00 00 */ li r0, 0 -/* 8007F2E8 0007C248 80 AD 84 30 */ lwz r5, lbl_805A6FF0@sda21(r13) -/* 8007F2EC 0007C24C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8007F2F0 0007C250 38 60 00 00 */ li r3, 0 -/* 8007F2F4 0007C254 38 80 00 01 */ li r4, 1 -/* 8007F2F8 0007C258 90 01 00 28 */ stw r0, 0x28(r1) -/* 8007F2FC 0007C25C 48 30 AB F9 */ bl __shl2i -/* 8007F300 0007C260 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8007F304 0007C264 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 8007F308 0007C268 7C 00 1B 78 */ or r0, r0, r3 -/* 8007F30C 0007C26C 80 AD 84 34 */ lwz r5, lbl_805A6FF4@sda21(r13) -/* 8007F310 0007C270 7C C4 23 78 */ or r4, r6, r4 -/* 8007F314 0007C274 90 01 00 28 */ stw r0, 0x28(r1) -/* 8007F318 0007C278 38 60 00 00 */ li r3, 0 -/* 8007F31C 0007C27C 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8007F320 0007C280 38 80 00 01 */ li r4, 1 -/* 8007F324 0007C284 48 30 AB D1 */ bl __shl2i -/* 8007F328 0007C288 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8007F32C 0007C28C 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 8007F330 0007C290 7C 00 1B 78 */ or r0, r0, r3 -/* 8007F334 0007C294 80 AD 84 38 */ lwz r5, lbl_805A6FF8@sda21(r13) -/* 8007F338 0007C298 7C C4 23 78 */ or r4, r6, r4 -/* 8007F33C 0007C29C 90 01 00 28 */ stw r0, 0x28(r1) -/* 8007F340 0007C2A0 38 60 00 00 */ li r3, 0 -/* 8007F344 0007C2A4 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8007F348 0007C2A8 38 80 00 01 */ li r4, 1 -/* 8007F34C 0007C2AC 48 30 AB A9 */ bl __shl2i -/* 8007F350 0007C2B0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8007F354 0007C2B4 39 41 00 28 */ addi r10, r1, 0x28 -/* 8007F358 0007C2B8 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 8007F35C 0007C2BC 7C 00 1B 78 */ or r0, r0, r3 -/* 8007F360 0007C2C0 7C A3 23 78 */ or r3, r5, r4 -/* 8007F364 0007C2C4 90 01 00 28 */ stw r0, 0x28(r1) -/* 8007F368 0007C2C8 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8007F36C 0007C2CC 48 00 00 B4 */ b lbl_8007F420 -lbl_8007F370: -/* 8007F370 0007C2D0 38 00 00 00 */ li r0, 0 -/* 8007F374 0007C2D4 80 AD 84 3C */ lwz r5, lbl_805A6FFC@sda21(r13) -/* 8007F378 0007C2D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007F37C 0007C2DC 38 60 00 00 */ li r3, 0 -/* 8007F380 0007C2E0 38 80 00 01 */ li r4, 1 -/* 8007F384 0007C2E4 90 01 00 20 */ stw r0, 0x20(r1) -/* 8007F388 0007C2E8 48 30 AB 6D */ bl __shl2i -/* 8007F38C 0007C2EC 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8007F390 0007C2F0 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8007F394 0007C2F4 7C 00 1B 78 */ or r0, r0, r3 -/* 8007F398 0007C2F8 80 AD 84 40 */ lwz r5, lbl_805A7000@sda21(r13) -/* 8007F39C 0007C2FC 7C C4 23 78 */ or r4, r6, r4 -/* 8007F3A0 0007C300 90 01 00 20 */ stw r0, 0x20(r1) -/* 8007F3A4 0007C304 38 60 00 00 */ li r3, 0 -/* 8007F3A8 0007C308 90 81 00 24 */ stw r4, 0x24(r1) -/* 8007F3AC 0007C30C 38 80 00 01 */ li r4, 1 -/* 8007F3B0 0007C310 48 30 AB 45 */ bl __shl2i -/* 8007F3B4 0007C314 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8007F3B8 0007C318 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8007F3BC 0007C31C 7C 00 1B 78 */ or r0, r0, r3 -/* 8007F3C0 0007C320 80 AD 84 44 */ lwz r5, lbl_805A7004@sda21(r13) -/* 8007F3C4 0007C324 7C C4 23 78 */ or r4, r6, r4 -/* 8007F3C8 0007C328 90 01 00 20 */ stw r0, 0x20(r1) -/* 8007F3CC 0007C32C 38 60 00 00 */ li r3, 0 -/* 8007F3D0 0007C330 90 81 00 24 */ stw r4, 0x24(r1) -/* 8007F3D4 0007C334 38 80 00 01 */ li r4, 1 -/* 8007F3D8 0007C338 48 30 AB 1D */ bl __shl2i -/* 8007F3DC 0007C33C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8007F3E0 0007C340 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8007F3E4 0007C344 7C 00 1B 78 */ or r0, r0, r3 -/* 8007F3E8 0007C348 80 AD 84 48 */ lwz r5, lbl_805A7008@sda21(r13) -/* 8007F3EC 0007C34C 7C C4 23 78 */ or r4, r6, r4 -/* 8007F3F0 0007C350 90 01 00 20 */ stw r0, 0x20(r1) -/* 8007F3F4 0007C354 38 60 00 00 */ li r3, 0 -/* 8007F3F8 0007C358 90 81 00 24 */ stw r4, 0x24(r1) -/* 8007F3FC 0007C35C 38 80 00 01 */ li r4, 1 -/* 8007F400 0007C360 48 30 AA F5 */ bl __shl2i -/* 8007F404 0007C364 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8007F408 0007C368 39 41 00 20 */ addi r10, r1, 0x20 -/* 8007F40C 0007C36C 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 8007F410 0007C370 7C 00 1B 78 */ or r0, r0, r3 -/* 8007F414 0007C374 7C A3 23 78 */ or r3, r5, r4 -/* 8007F418 0007C378 90 01 00 20 */ stw r0, 0x20(r1) -/* 8007F41C 0007C37C 90 61 00 24 */ stw r3, 0x24(r1) -lbl_8007F420: -/* 8007F420 0007C380 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8007F424 0007C384 7F C3 F3 78 */ mr r3, r30 -/* 8007F428 0007C388 C0 22 89 74 */ lfs f1, lbl_805AA694@sda21(r2) -/* 8007F42C 0007C38C 7E 85 A3 78 */ mr r5, r20 -/* 8007F430 0007C390 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8007F434 0007C394 7E C6 B3 78 */ mr r6, r22 -/* 8007F438 0007C398 C0 42 89 78 */ lfs f2, lbl_805AA698@sda21(r2) -/* 8007F43C 0007C39C 7E E7 BB 78 */ mr r7, r23 -/* 8007F440 0007C3A0 92 A1 00 08 */ stw r21, 8(r1) -/* 8007F444 0007C3A4 7F 08 C3 78 */ mr r8, r24 -/* 8007F448 0007C3A8 7F 29 CB 78 */ mr r9, r25 -/* 8007F44C 0007C3AC 38 81 00 18 */ addi r4, r1, 0x18 -/* 8007F450 0007C3B0 92 41 00 0C */ stw r18, 0xc(r1) -/* 8007F454 0007C3B4 93 41 00 10 */ stw r26, 0x10(r1) -/* 8007F458 0007C3B8 48 09 D0 59 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" -/* 8007F45C 0007C3BC 3C 60 80 3E */ lis r3, lbl_803DAA78@ha -/* 8007F460 0007C3C0 C0 02 89 68 */ lfs f0, lbl_805AA688@sda21(r2) -/* 8007F464 0007C3C4 38 63 AA 78 */ addi r3, r3, lbl_803DAA78@l -/* 8007F468 0007C3C8 38 00 00 00 */ li r0, 0 -/* 8007F46C 0007C3CC 90 7E 00 00 */ stw r3, 0(r30) -/* 8007F470 0007C3D0 7F C4 F3 78 */ mr r4, r30 -/* 8007F474 0007C3D4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8007F478 0007C3D8 D3 FE 02 58 */ stfs f31, 0x258(r30) -/* 8007F47C 0007C3DC D0 1E 02 5C */ stfs f0, 0x25c(r30) -/* 8007F480 0007C3E0 90 1E 02 60 */ stw r0, 0x260(r30) -/* 8007F484 0007C3E4 48 09 B4 A9 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8007F488 0007C3E8 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8007F48C 0007C3EC 7F 04 C3 78 */ mr r4, r24 -/* 8007F490 0007C3F0 38 61 00 60 */ addi r3, r1, 0x60 -/* 8007F494 0007C3F4 D0 1E 02 64 */ stfs f0, 0x264(r30) -/* 8007F498 0007C3F8 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8007F49C 0007C3FC D0 1E 02 68 */ stfs f0, 0x268(r30) -/* 8007F4A0 0007C400 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8007F4A4 0007C404 D0 1E 02 6C */ stfs f0, 0x26c(r30) -/* 8007F4A8 0007C408 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8007F4AC 0007C40C D0 1E 02 70 */ stfs f0, 0x270(r30) -/* 8007F4B0 0007C410 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8007F4B4 0007C414 D0 1E 02 74 */ stfs f0, 0x274(r30) -/* 8007F4B8 0007C418 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8007F4BC 0007C41C D0 1E 02 78 */ stfs f0, 0x278(r30) -/* 8007F4C0 0007C420 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007F4C4 0007C424 B0 1E 02 7C */ sth r0, 0x27c(r30) -/* 8007F4C8 0007C428 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007F4CC 0007C42C B0 1E 02 7E */ sth r0, 0x27e(r30) -/* 8007F4D0 0007C430 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007F4D4 0007C434 B0 1E 02 80 */ sth r0, 0x280(r30) -/* 8007F4D8 0007C438 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8007F4DC 0007C43C B0 1E 02 82 */ sth r0, 0x282(r30) -/* 8007F4E0 0007C440 48 29 37 61 */ bl GetRotation__12CTransform4fCFv -/* 8007F4E4 0007C444 7F 24 CB 78 */ mr r4, r25 -/* 8007F4E8 0007C448 38 61 00 30 */ addi r3, r1, 0x30 -/* 8007F4EC 0007C44C 38 A1 00 60 */ addi r5, r1, 0x60 -/* 8007F4F0 0007C450 48 09 62 C5 */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 8007F4F4 0007C454 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8007F4F8 0007C458 38 80 00 00 */ li r4, 0 -/* 8007F4FC 0007C45C 38 60 00 01 */ li r3, 1 -/* 8007F500 0007C460 28 1C 00 00 */ cmplwi r28, 0 -/* 8007F504 0007C464 D0 1E 02 84 */ stfs f0, 0x284(r30) -/* 8007F508 0007C468 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8007F50C 0007C46C D0 1E 02 88 */ stfs f0, 0x288(r30) -/* 8007F510 0007C470 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8007F514 0007C474 D0 1E 02 8C */ stfs f0, 0x28c(r30) -/* 8007F518 0007C478 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8007F51C 0007C47C D0 1E 02 90 */ stfs f0, 0x290(r30) -/* 8007F520 0007C480 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8007F524 0007C484 D0 1E 02 94 */ stfs f0, 0x294(r30) -/* 8007F528 0007C488 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8007F52C 0007C48C D0 1E 02 98 */ stfs f0, 0x298(r30) -/* 8007F530 0007C490 C0 1B 00 00 */ lfs f0, 0(r27) -/* 8007F534 0007C494 D0 1E 02 9C */ stfs f0, 0x29c(r30) -/* 8007F538 0007C498 C0 1B 00 04 */ lfs f0, 4(r27) -/* 8007F53C 0007C49C D0 1E 02 A0 */ stfs f0, 0x2a0(r30) -/* 8007F540 0007C4A0 C0 1B 00 08 */ lfs f0, 8(r27) -/* 8007F544 0007C4A4 D0 1E 02 A4 */ stfs f0, 0x2a4(r30) -/* 8007F548 0007C4A8 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007F54C 0007C4AC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8007F550 0007C4B0 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007F554 0007C4B4 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007F558 0007C4B8 53 80 36 72 */ rlwimi r0, r28, 6, 0x19, 0x19 -/* 8007F55C 0007C4BC 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007F560 0007C4C0 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007F564 0007C4C4 53 80 2E B4 */ rlwimi r0, r28, 5, 0x1a, 0x1a -/* 8007F568 0007C4C8 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007F56C 0007C4CC 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007F570 0007C4D0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8007F574 0007C4D4 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007F578 0007C4D8 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007F57C 0007C4DC 52 60 1F 38 */ rlwimi r0, r19, 3, 0x1c, 0x1c -/* 8007F580 0007C4E0 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007F584 0007C4E4 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007F588 0007C4E8 53 A0 17 7A */ rlwimi r0, r29, 2, 0x1d, 0x1d -/* 8007F58C 0007C4EC 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007F590 0007C4F0 88 1E 02 A8 */ lbz r0, 0x2a8(r30) -/* 8007F594 0007C4F4 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8007F598 0007C4F8 98 1E 02 A8 */ stb r0, 0x2a8(r30) -/* 8007F59C 0007C4FC 88 1E 00 E6 */ lbz r0, 0xe6(r30) -/* 8007F5A0 0007C500 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c -/* 8007F5A4 0007C504 98 1E 00 E6 */ stb r0, 0xe6(r30) -/* 8007F5A8 0007C508 41 82 00 10 */ beq lbl_8007F5B8 -/* 8007F5AC 0007C50C 7F C3 F3 78 */ mr r3, r30 -/* 8007F5B0 0007C510 38 80 00 00 */ li r4, 0 -/* 8007F5B4 0007C514 4B FF F4 1D */ bl SetDoorAnimation__11CScriptDoorFQ211CScriptDoor13EDoorAnimType -lbl_8007F5B8: -/* 8007F5B8 0007C518 C0 22 89 68 */ lfs f1, lbl_805AA688@sda21(r2) -/* 8007F5BC 0007C51C 7F C3 F3 78 */ mr r3, r30 -/* 8007F5C0 0007C520 48 09 B4 C9 */ bl SetMass__13CPhysicsActorFf -/* 8007F5C4 0007C524 7F C3 F3 78 */ mr r3, r30 -/* 8007F5C8 0007C528 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 8007F5CC 0007C52C CB E1 01 10 */ lfd f31, 0x110(r1) -/* 8007F5D0 0007C530 BA 21 00 D4 */ lmw r17, 0xd4(r1) -/* 8007F5D4 0007C534 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8007F5D8 0007C538 7C 08 03 A6 */ mtlr r0 -/* 8007F5DC 0007C53C 38 21 01 20 */ addi r1, r1, 0x120 -/* 8007F5E0 0007C540 4E 80 00 20 */ blr - -.global "GetStateIndex__13CStateMachineCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetStateIndex__13CStateMachineCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8007F5E4 0007C544 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007F5E8 0007C548 7C 08 02 A6 */ mflr r0 -/* 8007F5EC 0007C54C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007F5F0 0007C550 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8007F5F4 0007C554 3B E0 00 00 */ li r31, 0 -/* 8007F5F8 0007C558 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8007F5FC 0007C55C 3B C0 00 00 */ li r30, 0 -/* 8007F600 0007C560 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8007F604 0007C564 7C 9D 23 78 */ mr r29, r4 -/* 8007F608 0007C568 93 81 00 10 */ stw r28, 0x10(r1) -/* 8007F60C 0007C56C 7C 7C 1B 78 */ mr r28, r3 -/* 8007F610 0007C570 48 00 00 34 */ b lbl_8007F644 -lbl_8007F614: -/* 8007F614 0007C574 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 8007F618 0007C578 38 7F 00 0C */ addi r3, r31, 0xc -/* 8007F61C 0007C57C 80 9D 00 00 */ lwz r4, 0(r29) -/* 8007F620 0007C580 38 A0 00 1F */ li r5, 0x1f -/* 8007F624 0007C584 7C 60 1A 14 */ add r3, r0, r3 -/* 8007F628 0007C588 48 31 09 35 */ bl strncmp -/* 8007F62C 0007C58C 2C 03 00 00 */ cmpwi r3, 0 -/* 8007F630 0007C590 40 82 00 0C */ bne lbl_8007F63C -/* 8007F634 0007C594 7F C3 F3 78 */ mr r3, r30 -/* 8007F638 0007C598 48 00 00 1C */ b lbl_8007F654 -lbl_8007F63C: -/* 8007F63C 0007C59C 3B FF 00 34 */ addi r31, r31, 0x34 -/* 8007F640 0007C5A0 3B DE 00 01 */ addi r30, r30, 1 -lbl_8007F644: -/* 8007F644 0007C5A4 80 1C 00 04 */ lwz r0, 4(r28) -/* 8007F648 0007C5A8 7C 1E 00 00 */ cmpw r30, r0 -/* 8007F64C 0007C5AC 41 80 FF C8 */ blt lbl_8007F614 -/* 8007F650 0007C5B0 38 60 00 00 */ li r3, 0 -lbl_8007F654: -/* 8007F654 0007C5B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007F658 0007C5B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8007F65C 0007C5BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8007F660 0007C5C0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8007F664 0007C5C4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8007F668 0007C5C8 7C 08 03 A6 */ mtlr r0 -/* 8007F66C 0007C5CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007F670 0007C5D0 4E 80 00 20 */ blr - -.global __ct__13CStateMachineFR12CInputStream -__ct__13CStateMachineFR12CInputStream: -/* 8007F674 0007C5D4 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8007F678 0007C5D8 7C 08 02 A6 */ mflr r0 -/* 8007F67C 0007C5DC 90 01 01 24 */ stw r0, 0x124(r1) -/* 8007F680 0007C5E0 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 8007F684 0007C5E4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 8007F688 0007C5E8 BE 01 00 D0 */ stmw r16, 0xd0(r1) -/* 8007F68C 0007C5EC 7C 7E 1B 78 */ mr r30, r3 -/* 8007F690 0007C5F0 38 00 00 00 */ li r0, 0 -/* 8007F694 0007C5F4 90 03 00 04 */ stw r0, 4(r3) -/* 8007F698 0007C5F8 7C 9F 23 78 */ mr r31, r4 -/* 8007F69C 0007C5FC 7F E3 FB 78 */ mr r3, r31 -/* 8007F6A0 0007C600 3A C0 00 00 */ li r22, 0 -/* 8007F6A4 0007C604 90 1E 00 08 */ stw r0, 8(r30) -/* 8007F6A8 0007C608 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8007F6AC 0007C60C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8007F6B0 0007C610 90 1E 00 18 */ stw r0, 0x18(r30) -/* 8007F6B4 0007C614 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8007F6B8 0007C618 48 2B F5 CD */ bl ReadLong__12CInputStreamFv -/* 8007F6BC 0007C61C 7C 7D 1B 78 */ mr r29, r3 -/* 8007F6C0 0007C620 7F C3 F3 78 */ mr r3, r30 -/* 8007F6C4 0007C624 7F A4 EB 78 */ mr r4, r29 -/* 8007F6C8 0007C628 48 00 08 59 */ bl "reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi" -/* 8007F6CC 0007C62C 3A 41 00 9C */ addi r18, r1, 0x9c -/* 8007F6D0 0007C630 3A 21 00 70 */ addi r17, r1, 0x70 -/* 8007F6D4 0007C634 3A 00 00 00 */ li r16, 0 -/* 8007F6D8 0007C638 48 00 01 3C */ b lbl_8007F814 -lbl_8007F6DC: -/* 8007F6DC 0007C63C 3A 80 00 00 */ li r20, 0 -/* 8007F6E0 0007C640 3A 61 00 70 */ addi r19, r1, 0x70 -lbl_8007F6E4: -/* 8007F6E4 0007C644 7F E3 FB 78 */ mr r3, r31 -/* 8007F6E8 0007C648 48 2B F6 25 */ bl ReadChar__12CInputStreamFv -/* 8007F6EC 0007C64C 98 73 00 00 */ stb r3, 0(r19) -/* 8007F6F0 0007C650 88 13 00 00 */ lbz r0, 0(r19) -/* 8007F6F4 0007C654 7C 00 07 75 */ extsb. r0, r0 -/* 8007F6F8 0007C658 41 82 00 14 */ beq lbl_8007F70C -/* 8007F6FC 0007C65C 3A 94 00 01 */ addi r20, r20, 1 -/* 8007F700 0007C660 3A 73 00 01 */ addi r19, r19, 1 -/* 8007F704 0007C664 2C 14 00 1F */ cmpwi r20, 0x1f -/* 8007F708 0007C668 41 80 FF DC */ blt lbl_8007F6E4 -lbl_8007F70C: -/* 8007F70C 0007C66C 38 00 00 00 */ li r0, 0 -/* 8007F710 0007C670 7E 24 8B 78 */ mr r4, r17 -/* 8007F714 0007C674 7C 11 A1 AE */ stbx r0, r17, r20 -/* 8007F718 0007C678 38 61 00 14 */ addi r3, r1, 0x14 -/* 8007F71C 0007C67C 48 02 32 B5 */ bl GetStateFunc__3CAiFPCc -/* 8007F720 0007C680 81 01 00 14 */ lwz r8, 0x14(r1) -/* 8007F724 0007C684 38 00 00 00 */ li r0, 0 -/* 8007F728 0007C688 80 E1 00 18 */ lwz r7, 0x18(r1) -/* 8007F72C 0007C68C 7E 43 93 78 */ mr r3, r18 -/* 8007F730 0007C690 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8007F734 0007C694 38 81 00 70 */ addi r4, r1, 0x70 -/* 8007F738 0007C698 91 01 00 2C */ stw r8, 0x2c(r1) -/* 8007F73C 0007C69C 38 A0 00 1F */ li r5, 0x1f -/* 8007F740 0007C6A0 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8007F744 0007C6A4 90 C1 00 34 */ stw r6, 0x34(r1) -/* 8007F748 0007C6A8 91 01 00 90 */ stw r8, 0x90(r1) -/* 8007F74C 0007C6AC 90 E1 00 94 */ stw r7, 0x94(r1) -/* 8007F750 0007C6B0 90 C1 00 98 */ stw r6, 0x98(r1) -/* 8007F754 0007C6B4 90 01 00 BC */ stw r0, 0xbc(r1) -/* 8007F758 0007C6B8 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8007F75C 0007C6BC 48 31 09 69 */ bl strncpy -/* 8007F760 0007C6C0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8007F764 0007C6C4 80 BE 00 08 */ lwz r5, 8(r30) -/* 8007F768 0007C6C8 7C 00 28 00 */ cmpw r0, r5 -/* 8007F76C 0007C6CC 41 80 00 1C */ blt lbl_8007F788 -/* 8007F770 0007C6D0 2C 05 00 00 */ cmpwi r5, 0 -/* 8007F774 0007C6D4 7F C3 F3 78 */ mr r3, r30 -/* 8007F778 0007C6D8 38 80 00 04 */ li r4, 4 -/* 8007F77C 0007C6DC 41 82 00 08 */ beq lbl_8007F784 -/* 8007F780 0007C6E0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8007F784: -/* 8007F784 0007C6E4 48 00 07 9D */ bl "reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi" -lbl_8007F788: -/* 8007F788 0007C6E8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8007F78C 0007C6EC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8007F790 0007C6F0 1C 00 00 34 */ mulli r0, r0, 0x34 -/* 8007F794 0007C6F4 7C 83 02 15 */ add. r4, r3, r0 -/* 8007F798 0007C6F8 41 82 00 6C */ beq lbl_8007F804 -/* 8007F79C 0007C6FC 80 61 00 90 */ lwz r3, 0x90(r1) -/* 8007F7A0 0007C700 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8007F7A4 0007C704 90 64 00 00 */ stw r3, 0(r4) -/* 8007F7A8 0007C708 90 04 00 04 */ stw r0, 4(r4) -/* 8007F7AC 0007C70C 80 01 00 98 */ lwz r0, 0x98(r1) -/* 8007F7B0 0007C710 90 04 00 08 */ stw r0, 8(r4) -/* 8007F7B4 0007C714 80 61 00 9C */ lwz r3, 0x9c(r1) -/* 8007F7B8 0007C718 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 8007F7BC 0007C71C 90 64 00 0C */ stw r3, 0xc(r4) -/* 8007F7C0 0007C720 90 04 00 10 */ stw r0, 0x10(r4) -/* 8007F7C4 0007C724 80 61 00 A4 */ lwz r3, 0xa4(r1) -/* 8007F7C8 0007C728 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 8007F7CC 0007C72C 90 64 00 14 */ stw r3, 0x14(r4) -/* 8007F7D0 0007C730 90 04 00 18 */ stw r0, 0x18(r4) -/* 8007F7D4 0007C734 80 61 00 AC */ lwz r3, 0xac(r1) -/* 8007F7D8 0007C738 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 8007F7DC 0007C73C 90 64 00 1C */ stw r3, 0x1c(r4) -/* 8007F7E0 0007C740 90 04 00 20 */ stw r0, 0x20(r4) -/* 8007F7E4 0007C744 80 61 00 B4 */ lwz r3, 0xb4(r1) -/* 8007F7E8 0007C748 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8007F7EC 0007C74C 90 64 00 24 */ stw r3, 0x24(r4) -/* 8007F7F0 0007C750 90 04 00 28 */ stw r0, 0x28(r4) -/* 8007F7F4 0007C754 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 8007F7F8 0007C758 90 04 00 2C */ stw r0, 0x2c(r4) -/* 8007F7FC 0007C75C 80 01 00 C0 */ lwz r0, 0xc0(r1) -/* 8007F800 0007C760 90 04 00 30 */ stw r0, 0x30(r4) -lbl_8007F804: -/* 8007F804 0007C764 80 7E 00 04 */ lwz r3, 4(r30) -/* 8007F808 0007C768 3A 10 00 01 */ addi r16, r16, 1 -/* 8007F80C 0007C76C 38 03 00 01 */ addi r0, r3, 1 -/* 8007F810 0007C770 90 1E 00 04 */ stw r0, 4(r30) -lbl_8007F814: -/* 8007F814 0007C774 7C 10 E8 00 */ cmpw r16, r29 -/* 8007F818 0007C778 41 80 FE C4 */ blt lbl_8007F6DC -/* 8007F81C 0007C77C 7F E3 FB 78 */ mr r3, r31 -/* 8007F820 0007C780 48 2B F4 65 */ bl ReadLong__12CInputStreamFv -/* 8007F824 0007C784 7C 64 1B 78 */ mr r4, r3 -/* 8007F828 0007C788 38 7E 00 10 */ addi r3, r30, 0x10 -/* 8007F82C 0007C78C 48 00 08 45 */ bl "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi" -/* 8007F830 0007C790 3B 00 00 00 */ li r24, 0 -/* 8007F834 0007C794 3B 21 00 71 */ addi r25, r1, 0x71 -/* 8007F838 0007C798 7F 1A C3 78 */ mr r26, r24 -/* 8007F83C 0007C79C 48 00 03 38 */ b lbl_8007FB74 -lbl_8007F840: -/* 8007F840 0007C7A0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8007F844 0007C7A4 7F E3 FB 78 */ mr r3, r31 -/* 8007F848 0007C7A8 82 5E 00 14 */ lwz r18, 0x14(r30) -/* 8007F84C 0007C7AC 7F 80 D2 14 */ add r28, r0, r26 -/* 8007F850 0007C7B0 48 2B F4 35 */ bl ReadLong__12CInputStreamFv -/* 8007F854 0007C7B4 90 7C 00 2C */ stw r3, 0x2c(r28) -/* 8007F858 0007C7B8 80 1C 00 2C */ lwz r0, 0x2c(r28) -/* 8007F85C 0007C7BC 2C 00 00 00 */ cmpwi r0, 0 -/* 8007F860 0007C7C0 41 82 03 0C */ beq lbl_8007FB6C -/* 8007F864 0007C7C4 3C 60 80 3E */ lis r3, lbl_803D8598@ha -/* 8007F868 0007C7C8 C3 E2 89 80 */ lfs f31, lbl_805AA6A0@sda21(r2) -/* 8007F86C 0007C7CC 3A 23 85 98 */ addi r17, r3, lbl_803D8598@l -/* 8007F870 0007C7D0 3A 00 00 00 */ li r16, 0 -/* 8007F874 0007C7D4 48 00 00 B4 */ b lbl_8007F928 -lbl_8007F878: -/* 8007F878 0007C7D8 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8007F87C 0007C7DC 38 60 00 00 */ li r3, 0 -/* 8007F880 0007C7E0 80 DE 00 18 */ lwz r6, 0x18(r30) -/* 8007F884 0007C7E4 80 B1 00 00 */ lwz r5, 0(r17) -/* 8007F888 0007C7E8 80 91 00 04 */ lwz r4, 4(r17) -/* 8007F88C 0007C7EC 7C 00 30 00 */ cmpw r0, r6 -/* 8007F890 0007C7F0 80 11 00 08 */ lwz r0, 8(r17) -/* 8007F894 0007C7F4 90 A1 00 54 */ stw r5, 0x54(r1) -/* 8007F898 0007C7F8 90 81 00 58 */ stw r4, 0x58(r1) -/* 8007F89C 0007C7FC 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8007F8A0 0007C800 D3 E1 00 60 */ stfs f31, 0x60(r1) -/* 8007F8A4 0007C804 90 61 00 64 */ stw r3, 0x64(r1) -/* 8007F8A8 0007C808 90 61 00 68 */ stw r3, 0x68(r1) -/* 8007F8AC 0007C80C 98 61 00 6C */ stb r3, 0x6c(r1) -/* 8007F8B0 0007C810 41 80 00 1C */ blt lbl_8007F8CC -/* 8007F8B4 0007C814 2C 06 00 00 */ cmpwi r6, 0 -/* 8007F8B8 0007C818 38 7E 00 10 */ addi r3, r30, 0x10 -/* 8007F8BC 0007C81C 38 80 00 04 */ li r4, 4 -/* 8007F8C0 0007C820 41 82 00 08 */ beq lbl_8007F8C8 -/* 8007F8C4 0007C824 54 C4 08 3C */ slwi r4, r6, 1 -lbl_8007F8C8: -/* 8007F8C8 0007C828 48 00 07 A9 */ bl "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi" -lbl_8007F8CC: -/* 8007F8CC 0007C82C 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8007F8D0 0007C830 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8007F8D4 0007C834 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 8007F8D8 0007C838 7C 83 02 15 */ add. r4, r3, r0 -/* 8007F8DC 0007C83C 41 82 00 3C */ beq lbl_8007F918 -/* 8007F8E0 0007C840 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8007F8E4 0007C844 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8007F8E8 0007C848 90 04 00 00 */ stw r0, 0(r4) -/* 8007F8EC 0007C84C 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8007F8F0 0007C850 90 64 00 04 */ stw r3, 4(r4) -/* 8007F8F4 0007C854 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8007F8F8 0007C858 90 04 00 08 */ stw r0, 8(r4) -/* 8007F8FC 0007C85C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8007F900 0007C860 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8007F904 0007C864 80 61 00 68 */ lwz r3, 0x68(r1) -/* 8007F908 0007C868 90 04 00 10 */ stw r0, 0x10(r4) -/* 8007F90C 0007C86C 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8007F910 0007C870 90 64 00 14 */ stw r3, 0x14(r4) -/* 8007F914 0007C874 98 04 00 18 */ stb r0, 0x18(r4) -lbl_8007F918: -/* 8007F918 0007C878 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 8007F91C 0007C87C 3A 10 00 01 */ addi r16, r16, 1 -/* 8007F920 0007C880 38 03 00 01 */ addi r0, r3, 1 -/* 8007F924 0007C884 90 1E 00 14 */ stw r0, 0x14(r30) -lbl_8007F928: -/* 8007F928 0007C888 80 1C 00 2C */ lwz r0, 0x2c(r28) -/* 8007F92C 0007C88C 7C 10 00 00 */ cmpw r16, r0 -/* 8007F930 0007C890 41 80 FF 48 */ blt lbl_8007F878 -/* 8007F934 0007C894 1C 12 00 1C */ mulli r0, r18, 0x1c -/* 8007F938 0007C898 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8007F93C 0007C89C 3A E0 00 00 */ li r23, 0 -/* 8007F940 0007C8A0 3A 41 00 70 */ addi r18, r1, 0x70 -/* 8007F944 0007C8A4 7C 03 02 14 */ add r0, r3, r0 -/* 8007F948 0007C8A8 7E FB BB 78 */ mr r27, r23 -/* 8007F94C 0007C8AC 90 1C 00 30 */ stw r0, 0x30(r28) -/* 8007F950 0007C8B0 48 00 02 10 */ b lbl_8007FB60 -lbl_8007F954: -/* 8007F954 0007C8B4 7F E3 FB 78 */ mr r3, r31 -/* 8007F958 0007C8B8 48 2B F3 2D */ bl ReadLong__12CInputStreamFv -/* 8007F95C 0007C8BC 7C 71 1B 78 */ mr r17, r3 -/* 8007F960 0007C8C0 3A A0 00 00 */ li r21, 0 -/* 8007F964 0007C8C4 3A 71 FF FF */ addi r19, r17, -1 -/* 8007F968 0007C8C8 48 00 01 E8 */ b lbl_8007FB50 -lbl_8007F96C: -/* 8007F96C 0007C8CC 3A 00 00 00 */ li r16, 0 -/* 8007F970 0007C8D0 3A 81 00 70 */ addi r20, r1, 0x70 -lbl_8007F974: -/* 8007F974 0007C8D4 7F E3 FB 78 */ mr r3, r31 -/* 8007F978 0007C8D8 48 2B F3 95 */ bl ReadChar__12CInputStreamFv -/* 8007F97C 0007C8DC 98 74 00 00 */ stb r3, 0(r20) -/* 8007F980 0007C8E0 88 14 00 00 */ lbz r0, 0(r20) -/* 8007F984 0007C8E4 7C 00 07 75 */ extsb. r0, r0 -/* 8007F988 0007C8E8 41 82 00 14 */ beq lbl_8007F99C -/* 8007F98C 0007C8EC 3A 10 00 01 */ addi r16, r16, 1 -/* 8007F990 0007C8F0 3A 94 00 01 */ addi r20, r20, 1 -/* 8007F994 0007C8F4 2C 10 00 1F */ cmpwi r16, 0x1f -/* 8007F998 0007C8F8 41 80 FF DC */ blt lbl_8007F974 -lbl_8007F99C: -/* 8007F99C 0007C8FC 38 00 00 00 */ li r0, 0 -/* 8007F9A0 0007C900 38 61 00 08 */ addi r3, r1, 8 -/* 8007F9A4 0007C904 7C 12 81 AE */ stbx r0, r18, r16 -/* 8007F9A8 0007C908 88 01 00 70 */ lbz r0, 0x70(r1) -/* 8007F9AC 0007C90C 2C 00 00 21 */ cmpwi r0, 0x21 -/* 8007F9B0 0007C910 40 82 00 0C */ bne lbl_8007F9BC -/* 8007F9B4 0007C914 7F 24 CB 78 */ mr r4, r25 -/* 8007F9B8 0007C918 48 00 00 08 */ b lbl_8007F9C0 -lbl_8007F9BC: -/* 8007F9BC 0007C91C 7E 44 93 78 */ mr r4, r18 -lbl_8007F9C0: -/* 8007F9C0 0007C920 48 02 2F C1 */ bl GetTriggerFunc__3CAiFPCc -/* 8007F9C4 0007C924 80 A1 00 08 */ lwz r5, 8(r1) -/* 8007F9C8 0007C928 7F E3 FB 78 */ mr r3, r31 -/* 8007F9CC 0007C92C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8007F9D0 0007C930 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8007F9D4 0007C934 90 A1 00 20 */ stw r5, 0x20(r1) -/* 8007F9D8 0007C938 90 81 00 24 */ stw r4, 0x24(r1) -/* 8007F9DC 0007C93C 90 01 00 28 */ stw r0, 0x28(r1) -/* 8007F9E0 0007C940 48 2B F2 49 */ bl ReadFloat__12CInputStreamFv -/* 8007F9E4 0007C944 88 01 00 70 */ lbz r0, 0x70(r1) -/* 8007F9E8 0007C948 FF E0 08 90 */ fmr f31, f1 -/* 8007F9EC 0007C94C 7C 15 98 00 */ cmpw r21, r19 -/* 8007F9F0 0007C950 7C 00 07 74 */ extsb r0, r0 -/* 8007F9F4 0007C954 20 00 00 21 */ subfic r0, r0, 0x21 -/* 8007F9F8 0007C958 7C 00 00 34 */ cntlzw r0, r0 -/* 8007F9FC 0007C95C 54 14 D9 7E */ srwi r20, r0, 5 -/* 8007FA00 0007C960 40 80 00 D8 */ bge lbl_8007FAD8 -/* 8007FA04 0007C964 3C 80 80 3E */ lis r4, lbl_803D8598@ha -/* 8007FA08 0007C968 38 60 00 00 */ li r3, 0 -/* 8007FA0C 0007C96C 38 C4 85 98 */ addi r6, r4, lbl_803D8598@l -/* 8007FA10 0007C970 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8007FA14 0007C974 80 FE 00 18 */ lwz r7, 0x18(r30) -/* 8007FA18 0007C978 80 A6 00 00 */ lwz r5, 0(r6) -/* 8007FA1C 0007C97C 80 86 00 04 */ lwz r4, 4(r6) -/* 8007FA20 0007C980 7C 00 38 00 */ cmpw r0, r7 -/* 8007FA24 0007C984 80 06 00 08 */ lwz r0, 8(r6) -/* 8007FA28 0007C988 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) -/* 8007FA2C 0007C98C 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8007FA30 0007C990 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8007FA34 0007C994 90 01 00 40 */ stw r0, 0x40(r1) -/* 8007FA38 0007C998 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8007FA3C 0007C99C 90 61 00 48 */ stw r3, 0x48(r1) -/* 8007FA40 0007C9A0 90 61 00 4C */ stw r3, 0x4c(r1) -/* 8007FA44 0007C9A4 98 61 00 50 */ stb r3, 0x50(r1) -/* 8007FA48 0007C9A8 41 80 00 1C */ blt lbl_8007FA64 -/* 8007FA4C 0007C9AC 2C 07 00 00 */ cmpwi r7, 0 -/* 8007FA50 0007C9B0 38 7E 00 10 */ addi r3, r30, 0x10 -/* 8007FA54 0007C9B4 38 80 00 04 */ li r4, 4 -/* 8007FA58 0007C9B8 41 82 00 08 */ beq lbl_8007FA60 -/* 8007FA5C 0007C9BC 54 E4 08 3C */ slwi r4, r7, 1 -lbl_8007FA60: -/* 8007FA60 0007C9C0 48 00 06 11 */ bl "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi" -lbl_8007FA64: -/* 8007FA64 0007C9C4 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8007FA68 0007C9C8 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8007FA6C 0007C9CC 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 8007FA70 0007C9D0 7C 83 02 15 */ add. r4, r3, r0 -/* 8007FA74 0007C9D4 41 82 00 3C */ beq lbl_8007FAB0 -/* 8007FA78 0007C9D8 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8007FA7C 0007C9DC 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8007FA80 0007C9E0 90 04 00 00 */ stw r0, 0(r4) -/* 8007FA84 0007C9E4 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8007FA88 0007C9E8 90 64 00 04 */ stw r3, 4(r4) -/* 8007FA8C 0007C9EC C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8007FA90 0007C9F0 90 04 00 08 */ stw r0, 8(r4) -/* 8007FA94 0007C9F4 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8007FA98 0007C9F8 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8007FA9C 0007C9FC 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8007FAA0 0007CA00 90 04 00 10 */ stw r0, 0x10(r4) -/* 8007FAA4 0007CA04 88 01 00 50 */ lbz r0, 0x50(r1) -/* 8007FAA8 0007CA08 90 64 00 14 */ stw r3, 0x14(r4) -/* 8007FAAC 0007CA0C 98 04 00 18 */ stb r0, 0x18(r4) -lbl_8007FAB0: -/* 8007FAB0 0007CA10 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 8007FAB4 0007CA14 38 03 00 01 */ addi r0, r3, 1 -/* 8007FAB8 0007CA18 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8007FABC 0007CA1C 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 8007FAC0 0007CA20 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 8007FAC4 0007CA24 38 03 FF FF */ addi r0, r3, -1 -/* 8007FAC8 0007CA28 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 8007FACC 0007CA2C 7C 04 02 14 */ add r0, r4, r0 -/* 8007FAD0 0007CA30 7C 10 03 78 */ mr r16, r0 -/* 8007FAD4 0007CA34 48 00 00 0C */ b lbl_8007FAE0 -lbl_8007FAD8: -/* 8007FAD8 0007CA38 80 1C 00 30 */ lwz r0, 0x30(r28) -/* 8007FADC 0007CA3C 7E 00 DA 14 */ add r16, r0, r27 -lbl_8007FAE0: -/* 8007FAE0 0007CA40 2C 15 00 00 */ cmpwi r21, 0 -/* 8007FAE4 0007CA44 40 82 00 40 */ bne lbl_8007FB24 -/* 8007FAE8 0007CA48 7F E3 FB 78 */ mr r3, r31 -/* 8007FAEC 0007CA4C 48 2B F1 99 */ bl ReadLong__12CInputStreamFv -/* 8007FAF0 0007CA50 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8007FAF4 0007CA54 1C 83 00 34 */ mulli r4, r3, 0x34 -/* 8007FAF8 0007CA58 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8007FAFC 0007CA5C 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8007FB00 0007CA60 90 10 00 00 */ stw r0, 0(r16) -/* 8007FB04 0007CA64 7C 85 22 14 */ add r4, r5, r4 -/* 8007FB08 0007CA68 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8007FB0C 0007CA6C 90 70 00 04 */ stw r3, 4(r16) -/* 8007FB10 0007CA70 90 10 00 08 */ stw r0, 8(r16) -/* 8007FB14 0007CA74 D3 F0 00 0C */ stfs f31, 0xc(r16) -/* 8007FB18 0007CA78 90 90 00 14 */ stw r4, 0x14(r16) -/* 8007FB1C 0007CA7C 9A 90 00 18 */ stb r20, 0x18(r16) -/* 8007FB20 0007CA80 48 00 00 28 */ b lbl_8007FB48 -lbl_8007FB24: -/* 8007FB24 0007CA84 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8007FB28 0007CA88 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8007FB2C 0007CA8C 90 10 00 00 */ stw r0, 0(r16) -/* 8007FB30 0007CA90 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8007FB34 0007CA94 90 70 00 04 */ stw r3, 4(r16) -/* 8007FB38 0007CA98 90 10 00 08 */ stw r0, 8(r16) -/* 8007FB3C 0007CA9C D3 F0 00 0C */ stfs f31, 0xc(r16) -/* 8007FB40 0007CAA0 92 D0 00 10 */ stw r22, 0x10(r16) -/* 8007FB44 0007CAA4 9A 90 00 18 */ stb r20, 0x18(r16) -lbl_8007FB48: -/* 8007FB48 0007CAA8 7E 16 83 78 */ mr r22, r16 -/* 8007FB4C 0007CAAC 3A B5 00 01 */ addi r21, r21, 1 -lbl_8007FB50: -/* 8007FB50 0007CAB0 7C 15 88 00 */ cmpw r21, r17 -/* 8007FB54 0007CAB4 41 80 FE 18 */ blt lbl_8007F96C -/* 8007FB58 0007CAB8 3B 7B 00 1C */ addi r27, r27, 0x1c -/* 8007FB5C 0007CABC 3A F7 00 01 */ addi r23, r23, 1 -lbl_8007FB60: -/* 8007FB60 0007CAC0 80 1C 00 2C */ lwz r0, 0x2c(r28) -/* 8007FB64 0007CAC4 7C 17 00 00 */ cmpw r23, r0 -/* 8007FB68 0007CAC8 41 80 FD EC */ blt lbl_8007F954 -lbl_8007FB6C: -/* 8007FB6C 0007CACC 3B 5A 00 34 */ addi r26, r26, 0x34 -/* 8007FB70 0007CAD0 3B 18 00 01 */ addi r24, r24, 1 -lbl_8007FB74: -/* 8007FB74 0007CAD4 7C 18 E8 00 */ cmpw r24, r29 -/* 8007FB78 0007CAD8 41 80 FC C8 */ blt lbl_8007F840 -/* 8007FB7C 0007CADC 7F C3 F3 78 */ mr r3, r30 -/* 8007FB80 0007CAE0 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 8007FB84 0007CAE4 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 8007FB88 0007CAE8 BA 01 00 D0 */ lmw r16, 0xd0(r1) -/* 8007FB8C 0007CAEC 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8007FB90 0007CAF0 7C 08 03 A6 */ mtlr r0 -/* 8007FB94 0007CAF4 38 21 01 20 */ addi r1, r1, 0x120 -/* 8007FB98 0007CAF8 4E 80 00 20 */ blr - -.global GetName__18CStateMachineStateCFv -GetName__18CStateMachineStateCFv: -/* 8007FB9C 0007CAFC 80 63 00 04 */ lwz r3, 4(r3) -/* 8007FBA0 0007CB00 28 03 00 00 */ cmplwi r3, 0 -/* 8007FBA4 0007CB04 41 82 00 0C */ beq lbl_8007FBB0 -/* 8007FBA8 0007CB08 38 63 00 0C */ addi r3, r3, 0xc -/* 8007FBAC 0007CB0C 4E 80 00 20 */ blr -lbl_8007FBB0: -/* 8007FBB0 0007CB10 38 60 00 00 */ li r3, 0 -/* 8007FBB4 0007CB14 4E 80 00 20 */ blr - -.global Setup__18CStateMachineStateFPC13CStateMachine -Setup__18CStateMachineStateFPC13CStateMachine: -/* 8007FBB8 0007CB18 90 83 00 00 */ stw r4, 0(r3) -/* 8007FBBC 0007CB1C 38 00 00 00 */ li r0, 0 -/* 8007FBC0 0007CB20 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) -/* 8007FBC4 0007CB24 90 03 00 04 */ stw r0, 4(r3) -/* 8007FBC8 0007CB28 D0 03 00 08 */ stfs f0, 8(r3) -/* 8007FBCC 0007CB2C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8007FBD0 0007CB30 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8007FBD4 0007CB34 4E 80 00 20 */ blr - -.global __ct__18CStateMachineStateFv -__ct__18CStateMachineStateFv: -/* 8007FBD8 0007CB38 38 80 00 00 */ li r4, 0 -/* 8007FBDC 0007CB3C C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) -/* 8007FBE0 0007CB40 90 83 00 00 */ stw r4, 0(r3) -/* 8007FBE4 0007CB44 90 83 00 04 */ stw r4, 4(r3) -/* 8007FBE8 0007CB48 D0 03 00 08 */ stfs f0, 8(r3) -/* 8007FBEC 0007CB4C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8007FBF0 0007CB50 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8007FBF4 0007CB54 88 03 00 18 */ lbz r0, 0x18(r3) -/* 8007FBF8 0007CB58 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8007FBFC 0007CB5C 98 03 00 18 */ stb r0, 0x18(r3) -/* 8007FC00 0007CB60 4E 80 00 20 */ blr - -.global "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8007FC04 0007CB64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007FC08 0007CB68 7C 08 02 A6 */ mflr r0 -/* 8007FC0C 0007CB6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007FC10 0007CB70 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8007FC14 0007CB74 7C DE 33 79 */ or. r30, r6, r6 -/* 8007FC18 0007CB78 7C 7B 1B 78 */ mr r27, r3 -/* 8007FC1C 0007CB7C 7C 9C 23 78 */ mr r28, r4 -/* 8007FC20 0007CB80 7C BD 2B 78 */ mr r29, r5 -/* 8007FC24 0007CB84 7C FF 3B 78 */ mr r31, r7 -/* 8007FC28 0007CB88 41 82 00 3C */ beq lbl_8007FC64 -/* 8007FC2C 0007CB8C 80 1B 00 00 */ lwz r0, 0(r27) -/* 8007FC30 0007CB90 28 00 00 00 */ cmplwi r0, 0 -/* 8007FC34 0007CB94 40 82 00 0C */ bne lbl_8007FC40 -/* 8007FC38 0007CB98 7F C4 F3 78 */ mr r4, r30 -/* 8007FC3C 0007CB9C 4B FF FF 7D */ bl Setup__18CStateMachineStateFPC13CStateMachine -lbl_8007FC40: -/* 8007FC40 0007CBA0 7F C3 F3 78 */ mr r3, r30 -/* 8007FC44 0007CBA4 7F E4 FB 78 */ mr r4, r31 -/* 8007FC48 0007CBA8 4B FF F9 9D */ bl "GetStateIndex__13CStateMachineCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8007FC4C 0007CBAC 7C 60 1B 78 */ mr r0, r3 -/* 8007FC50 0007CBB0 7F 63 DB 78 */ mr r3, r27 -/* 8007FC54 0007CBB4 7C 06 03 78 */ mr r6, r0 -/* 8007FC58 0007CBB8 7F 84 E3 78 */ mr r4, r28 -/* 8007FC5C 0007CBBC 7F A5 EB 78 */ mr r5, r29 -/* 8007FC60 0007CBC0 48 00 00 19 */ bl SetState__18CStateMachineStateFR13CStateManagerR3CAii -lbl_8007FC64: -/* 8007FC64 0007CBC4 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8007FC68 0007CBC8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007FC6C 0007CBCC 7C 08 03 A6 */ mtlr r0 -/* 8007FC70 0007CBD0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007FC74 0007CBD4 4E 80 00 20 */ blr - -.global SetState__18CStateMachineStateFR13CStateManagerR3CAii -SetState__18CStateMachineStateFR13CStateManagerR3CAii: -/* 8007FC78 0007CBD8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8007FC7C 0007CBDC 7C 08 02 A6 */ mflr r0 -/* 8007FC80 0007CBE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8007FC84 0007CBE4 1C 06 00 34 */ mulli r0, r6, 0x34 -/* 8007FC88 0007CBE8 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8007FC8C 0007CBEC 7C 7B 1B 78 */ mr r27, r3 -/* 8007FC90 0007CBF0 7C 9C 23 78 */ mr r28, r4 -/* 8007FC94 0007CBF4 7C BD 2B 78 */ mr r29, r5 -/* 8007FC98 0007CBF8 80 63 00 00 */ lwz r3, 0(r3) -/* 8007FC9C 0007CBFC 83 DB 00 04 */ lwz r30, 4(r27) -/* 8007FCA0 0007CC00 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8007FCA4 0007CC04 7F E3 02 14 */ add r31, r3, r0 -/* 8007FCA8 0007CC08 7C 1E F8 40 */ cmplw r30, r31 -/* 8007FCAC 0007CC0C 41 82 00 90 */ beq lbl_8007FD3C -/* 8007FCB0 0007CC10 28 1E 00 00 */ cmplwi r30, 0 -/* 8007FCB4 0007CC14 41 82 00 30 */ beq lbl_8007FCE4 -/* 8007FCB8 0007CC18 7F C3 F3 78 */ mr r3, r30 -/* 8007FCBC 0007CC1C 48 30 9C 41 */ bl __ptmf_test -/* 8007FCC0 0007CC20 2C 03 00 00 */ cmpwi r3, 0 -/* 8007FCC4 0007CC24 41 82 00 20 */ beq lbl_8007FCE4 -/* 8007FCC8 0007CC28 C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2) -/* 8007FCCC 0007CC2C 7F A3 EB 78 */ mr r3, r29 -/* 8007FCD0 0007CC30 7F 84 E3 78 */ mr r4, r28 -/* 8007FCD4 0007CC34 7F CC F3 78 */ mr r12, r30 -/* 8007FCD8 0007CC38 38 A0 00 02 */ li r5, 2 -/* 8007FCDC 0007CC3C 48 30 9C 51 */ bl __ptmf_scall -/* 8007FCE0 0007CC40 60 00 00 00 */ nop -lbl_8007FCE4: -/* 8007FCE4 0007CC44 93 FB 00 04 */ stw r31, 4(r27) -/* 8007FCE8 0007CC48 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) -/* 8007FCEC 0007CC4C D0 1B 00 08 */ stfs f0, 8(r27) -/* 8007FCF0 0007CC50 80 7C 09 00 */ lwz r3, 0x900(r28) -/* 8007FCF4 0007CC54 48 29 27 E9 */ bl Float__9CRandom16Fv -/* 8007FCF8 0007CC58 D0 3B 00 0C */ stfs f1, 0xc(r27) -/* 8007FCFC 0007CC5C 38 60 00 00 */ li r3, 0 -/* 8007FD00 0007CC60 88 1B 00 18 */ lbz r0, 0x18(r27) -/* 8007FD04 0007CC64 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8007FD08 0007CC68 98 1B 00 18 */ stb r0, 0x18(r27) -/* 8007FD0C 0007CC6C 83 FB 00 04 */ lwz r31, 4(r27) -/* 8007FD10 0007CC70 7F E3 FB 78 */ mr r3, r31 -/* 8007FD14 0007CC74 48 30 9B E9 */ bl __ptmf_test -/* 8007FD18 0007CC78 2C 03 00 00 */ cmpwi r3, 0 -/* 8007FD1C 0007CC7C 41 82 00 20 */ beq lbl_8007FD3C -/* 8007FD20 0007CC80 C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2) -/* 8007FD24 0007CC84 7F A3 EB 78 */ mr r3, r29 -/* 8007FD28 0007CC88 7F 84 E3 78 */ mr r4, r28 -/* 8007FD2C 0007CC8C 7F EC FB 78 */ mr r12, r31 -/* 8007FD30 0007CC90 38 A0 00 00 */ li r5, 0 -/* 8007FD34 0007CC94 48 30 9B F9 */ bl __ptmf_scall -/* 8007FD38 0007CC98 60 00 00 00 */ nop -lbl_8007FD3C: -/* 8007FD3C 0007CC9C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8007FD40 0007CCA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8007FD44 0007CCA4 7C 08 03 A6 */ mtlr r0 -/* 8007FD48 0007CCA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8007FD4C 0007CCAC 4E 80 00 20 */ blr - -.global Update__18CStateMachineStateFR13CStateManagerR3CAif -Update__18CStateMachineStateFR13CStateManagerR3CAif: -/* 8007FD50 0007CCB0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8007FD54 0007CCB4 7C 08 02 A6 */ mflr r0 -/* 8007FD58 0007CCB8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8007FD5C 0007CCBC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8007FD60 0007CCC0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8007FD64 0007CCC4 BE E1 00 0C */ stmw r23, 0xc(r1) -/* 8007FD68 0007CCC8 7C 7D 1B 78 */ mr r29, r3 -/* 8007FD6C 0007CCCC FF E0 08 90 */ fmr f31, f1 -/* 8007FD70 0007CCD0 80 03 00 04 */ lwz r0, 4(r3) -/* 8007FD74 0007CCD4 7C 9E 23 78 */ mr r30, r4 -/* 8007FD78 0007CCD8 7C BF 2B 78 */ mr r31, r5 -/* 8007FD7C 0007CCDC 28 00 00 00 */ cmplwi r0, 0 -/* 8007FD80 0007CCE0 41 82 01 84 */ beq lbl_8007FF04 -/* 8007FD84 0007CCE4 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8007FD88 0007CCE8 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8007FD8C 0007CCEC D0 1D 00 08 */ stfs f0, 8(r29) -/* 8007FD90 0007CCF0 83 9D 00 04 */ lwz r28, 4(r29) -/* 8007FD94 0007CCF4 7F 83 E3 78 */ mr r3, r28 -/* 8007FD98 0007CCF8 48 30 9B 65 */ bl __ptmf_test -/* 8007FD9C 0007CCFC 2C 03 00 00 */ cmpwi r3, 0 -/* 8007FDA0 0007CD00 41 82 00 20 */ beq lbl_8007FDC0 -/* 8007FDA4 0007CD04 FC 20 F8 90 */ fmr f1, f31 -/* 8007FDA8 0007CD08 7F E3 FB 78 */ mr r3, r31 -/* 8007FDAC 0007CD0C 7F C4 F3 78 */ mr r4, r30 -/* 8007FDB0 0007CD10 7F 8C E3 78 */ mr r12, r28 -/* 8007FDB4 0007CD14 38 A0 00 01 */ li r5, 1 -/* 8007FDB8 0007CD18 48 30 9B 75 */ bl __ptmf_scall -/* 8007FDBC 0007CD1C 60 00 00 00 */ nop -lbl_8007FDC0: -/* 8007FDC0 0007CD20 3B 40 00 00 */ li r26, 0 -/* 8007FDC4 0007CD24 3B 60 00 00 */ li r27, 0 -/* 8007FDC8 0007CD28 48 00 01 2C */ b lbl_8007FEF4 -lbl_8007FDCC: -/* 8007FDCC 0007CD2C 80 03 00 30 */ lwz r0, 0x30(r3) -/* 8007FDD0 0007CD30 3B 00 00 00 */ li r24, 0 -/* 8007FDD4 0007CD34 3A E0 00 01 */ li r23, 1 -/* 8007FDD8 0007CD38 7F 20 DA 14 */ add r25, r0, r27 -/* 8007FDDC 0007CD3C 48 00 00 64 */ b lbl_8007FE40 -lbl_8007FDE0: -/* 8007FDE0 0007CD40 7F 23 CB 78 */ mr r3, r25 -/* 8007FDE4 0007CD44 3A E0 00 00 */ li r23, 0 -/* 8007FDE8 0007CD48 3B 80 00 01 */ li r28, 1 -/* 8007FDEC 0007CD4C 48 30 9B 11 */ bl __ptmf_test -/* 8007FDF0 0007CD50 2C 03 00 00 */ cmpwi r3, 0 -/* 8007FDF4 0007CD54 41 82 00 38 */ beq lbl_8007FE2C -/* 8007FDF8 0007CD58 C0 39 00 0C */ lfs f1, 0xc(r25) -/* 8007FDFC 0007CD5C 7F E3 FB 78 */ mr r3, r31 -/* 8007FE00 0007CD60 7F C4 F3 78 */ mr r4, r30 -/* 8007FE04 0007CD64 7F 2C CB 78 */ mr r12, r25 -/* 8007FE08 0007CD68 48 30 9B 25 */ bl __ptmf_scall -/* 8007FE0C 0007CD6C 60 00 00 00 */ nop -/* 8007FE10 0007CD70 88 19 00 18 */ lbz r0, 0x18(r25) -/* 8007FE14 0007CD74 7C 7C 1B 78 */ mr r28, r3 -/* 8007FE18 0007CD78 28 00 00 00 */ cmplwi r0, 0 -/* 8007FE1C 0007CD7C 41 82 00 10 */ beq lbl_8007FE2C -/* 8007FE20 0007CD80 57 80 06 3E */ clrlwi r0, r28, 0x18 -/* 8007FE24 0007CD84 7C 00 00 34 */ cntlzw r0, r0 -/* 8007FE28 0007CD88 54 1C D9 7E */ srwi r28, r0, 5 -lbl_8007FE2C: -/* 8007FE2C 0007CD8C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8007FE30 0007CD90 41 82 00 10 */ beq lbl_8007FE40 -/* 8007FE34 0007CD94 83 19 00 14 */ lwz r24, 0x14(r25) -/* 8007FE38 0007CD98 3A E0 00 01 */ li r23, 1 -/* 8007FE3C 0007CD9C 83 39 00 10 */ lwz r25, 0x10(r25) -lbl_8007FE40: -/* 8007FE40 0007CDA0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8007FE44 0007CDA4 41 82 00 0C */ beq lbl_8007FE50 -/* 8007FE48 0007CDA8 28 19 00 00 */ cmplwi r25, 0 -/* 8007FE4C 0007CDAC 40 82 FF 94 */ bne lbl_8007FDE0 -lbl_8007FE50: -/* 8007FE50 0007CDB0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8007FE54 0007CDB4 41 82 00 98 */ beq lbl_8007FEEC -/* 8007FE58 0007CDB8 28 18 00 00 */ cmplwi r24, 0 -/* 8007FE5C 0007CDBC 41 82 00 90 */ beq lbl_8007FEEC -/* 8007FE60 0007CDC0 83 9D 00 04 */ lwz r28, 4(r29) -/* 8007FE64 0007CDC4 7F 83 E3 78 */ mr r3, r28 -/* 8007FE68 0007CDC8 48 30 9A 95 */ bl __ptmf_test -/* 8007FE6C 0007CDCC 2C 03 00 00 */ cmpwi r3, 0 -/* 8007FE70 0007CDD0 41 82 00 20 */ beq lbl_8007FE90 -/* 8007FE74 0007CDD4 C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2) -/* 8007FE78 0007CDD8 7F E3 FB 78 */ mr r3, r31 -/* 8007FE7C 0007CDDC 7F C4 F3 78 */ mr r4, r30 -/* 8007FE80 0007CDE0 7F 8C E3 78 */ mr r12, r28 -/* 8007FE84 0007CDE4 38 A0 00 02 */ li r5, 2 -/* 8007FE88 0007CDE8 48 30 9A A5 */ bl __ptmf_scall -/* 8007FE8C 0007CDEC 60 00 00 00 */ nop -lbl_8007FE90: -/* 8007FE90 0007CDF0 93 1D 00 04 */ stw r24, 4(r29) -/* 8007FE94 0007CDF4 38 60 00 00 */ li r3, 0 -/* 8007FE98 0007CDF8 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2) -/* 8007FE9C 0007CDFC D0 1D 00 08 */ stfs f0, 8(r29) -/* 8007FEA0 0007CE00 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 8007FEA4 0007CE04 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8007FEA8 0007CE08 98 1D 00 18 */ stb r0, 0x18(r29) -/* 8007FEAC 0007CE0C 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 8007FEB0 0007CE10 48 29 26 2D */ bl Float__9CRandom16Fv -/* 8007FEB4 0007CE14 D0 3D 00 0C */ stfs f1, 0xc(r29) -/* 8007FEB8 0007CE18 83 9D 00 04 */ lwz r28, 4(r29) -/* 8007FEBC 0007CE1C 7F 83 E3 78 */ mr r3, r28 -/* 8007FEC0 0007CE20 48 30 9A 3D */ bl __ptmf_test -/* 8007FEC4 0007CE24 2C 03 00 00 */ cmpwi r3, 0 -/* 8007FEC8 0007CE28 41 82 00 3C */ beq lbl_8007FF04 -/* 8007FECC 0007CE2C C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2) -/* 8007FED0 0007CE30 7F E3 FB 78 */ mr r3, r31 -/* 8007FED4 0007CE34 7F C4 F3 78 */ mr r4, r30 -/* 8007FED8 0007CE38 7F 8C E3 78 */ mr r12, r28 -/* 8007FEDC 0007CE3C 38 A0 00 00 */ li r5, 0 -/* 8007FEE0 0007CE40 48 30 9A 4D */ bl __ptmf_scall -/* 8007FEE4 0007CE44 60 00 00 00 */ nop -/* 8007FEE8 0007CE48 48 00 00 1C */ b lbl_8007FF04 -lbl_8007FEEC: -/* 8007FEEC 0007CE4C 3B 7B 00 1C */ addi r27, r27, 0x1c -/* 8007FEF0 0007CE50 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8007FEF4: -/* 8007FEF4 0007CE54 80 7D 00 04 */ lwz r3, 4(r29) -/* 8007FEF8 0007CE58 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 8007FEFC 0007CE5C 7C 1A 00 00 */ cmpw r26, r0 -/* 8007FF00 0007CE60 41 80 FE CC */ blt lbl_8007FDCC -lbl_8007FF04: -/* 8007FF04 0007CE64 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8007FF08 0007CE68 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8007FF0C 0007CE6C BA E1 00 0C */ lmw r23, 0xc(r1) -/* 8007FF10 0007CE70 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8007FF14 0007CE74 7C 08 03 A6 */ mtlr r0 -/* 8007FF18 0007CE78 38 21 00 40 */ addi r1, r1, 0x40 -/* 8007FF1C 0007CE7C 4E 80 00 20 */ blr - -.global "reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi": -/* 8007FF20 0007CE80 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8007FF24 0007CE84 7C 08 02 A6 */ mflr r0 -/* 8007FF28 0007CE88 90 01 00 34 */ stw r0, 0x34(r1) -/* 8007FF2C 0007CE8C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8007FF30 0007CE90 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8007FF34 0007CE94 7C 9E 23 78 */ mr r30, r4 -/* 8007FF38 0007CE98 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8007FF3C 0007CE9C 7C 7D 1B 78 */ mr r29, r3 -/* 8007FF40 0007CEA0 80 03 00 08 */ lwz r0, 8(r3) -/* 8007FF44 0007CEA4 7C 1E 00 00 */ cmpw r30, r0 -/* 8007FF48 0007CEA8 40 81 01 0C */ ble lbl_80080054 -/* 8007FF4C 0007CEAC 1C 7E 00 34 */ mulli r3, r30, 0x34 -/* 8007FF50 0007CEB0 2C 03 00 00 */ cmpwi r3, 0 -/* 8007FF54 0007CEB4 40 82 00 0C */ bne lbl_8007FF60 -/* 8007FF58 0007CEB8 3B E0 00 00 */ li r31, 0 -/* 8007FF5C 0007CEBC 48 00 00 18 */ b lbl_8007FF74 -lbl_8007FF60: -/* 8007FF60 0007CEC0 3C 80 80 3D */ lis r4, lbl_803CD628@ha -/* 8007FF64 0007CEC4 38 A0 00 00 */ li r5, 0 -/* 8007FF68 0007CEC8 38 84 D6 28 */ addi r4, r4, lbl_803CD628@l -/* 8007FF6C 0007CECC 48 29 58 AD */ bl __nwa__FUlPCcPCc -/* 8007FF70 0007CED0 7C 7F 1B 78 */ mr r31, r3 -lbl_8007FF74: -/* 8007FF74 0007CED4 80 1D 00 04 */ lwz r0, 4(r29) -/* 8007FF78 0007CED8 7F E5 FB 78 */ mr r5, r31 -/* 8007FF7C 0007CEDC 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 8007FF80 0007CEE0 1C 00 00 34 */ mulli r0, r0, 0x34 -/* 8007FF84 0007CEE4 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8007FF88 0007CEE8 7C 86 02 14 */ add r4, r6, r0 -/* 8007FF8C 0007CEEC 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8007FF90 0007CEF0 90 81 00 08 */ stw r4, 8(r1) -/* 8007FF94 0007CEF4 90 81 00 0C */ stw r4, 0xc(r1) -/* 8007FF98 0007CEF8 48 00 00 7C */ b lbl_80080014 -lbl_8007FF9C: -/* 8007FF9C 0007CEFC 28 05 00 00 */ cmplwi r5, 0 -/* 8007FFA0 0007CF00 41 82 00 6C */ beq lbl_8008000C -/* 8007FFA4 0007CF04 80 66 00 00 */ lwz r3, 0(r6) -/* 8007FFA8 0007CF08 80 06 00 04 */ lwz r0, 4(r6) -/* 8007FFAC 0007CF0C 90 65 00 00 */ stw r3, 0(r5) -/* 8007FFB0 0007CF10 90 05 00 04 */ stw r0, 4(r5) -/* 8007FFB4 0007CF14 80 06 00 08 */ lwz r0, 8(r6) -/* 8007FFB8 0007CF18 90 05 00 08 */ stw r0, 8(r5) -/* 8007FFBC 0007CF1C 80 66 00 0C */ lwz r3, 0xc(r6) -/* 8007FFC0 0007CF20 80 06 00 10 */ lwz r0, 0x10(r6) -/* 8007FFC4 0007CF24 90 65 00 0C */ stw r3, 0xc(r5) -/* 8007FFC8 0007CF28 90 05 00 10 */ stw r0, 0x10(r5) -/* 8007FFCC 0007CF2C 80 66 00 14 */ lwz r3, 0x14(r6) -/* 8007FFD0 0007CF30 80 06 00 18 */ lwz r0, 0x18(r6) -/* 8007FFD4 0007CF34 90 65 00 14 */ stw r3, 0x14(r5) -/* 8007FFD8 0007CF38 90 05 00 18 */ stw r0, 0x18(r5) -/* 8007FFDC 0007CF3C 80 66 00 1C */ lwz r3, 0x1c(r6) -/* 8007FFE0 0007CF40 80 06 00 20 */ lwz r0, 0x20(r6) -/* 8007FFE4 0007CF44 90 65 00 1C */ stw r3, 0x1c(r5) -/* 8007FFE8 0007CF48 90 05 00 20 */ stw r0, 0x20(r5) -/* 8007FFEC 0007CF4C 80 66 00 24 */ lwz r3, 0x24(r6) -/* 8007FFF0 0007CF50 80 06 00 28 */ lwz r0, 0x28(r6) -/* 8007FFF4 0007CF54 90 65 00 24 */ stw r3, 0x24(r5) -/* 8007FFF8 0007CF58 90 05 00 28 */ stw r0, 0x28(r5) -/* 8007FFFC 0007CF5C 80 06 00 2C */ lwz r0, 0x2c(r6) -/* 80080000 0007CF60 90 05 00 2C */ stw r0, 0x2c(r5) -/* 80080004 0007CF64 80 06 00 30 */ lwz r0, 0x30(r6) -/* 80080008 0007CF68 90 05 00 30 */ stw r0, 0x30(r5) -lbl_8008000C: -/* 8008000C 0007CF6C 38 A5 00 34 */ addi r5, r5, 0x34 -/* 80080010 0007CF70 38 C6 00 34 */ addi r6, r6, 0x34 -lbl_80080014: -/* 80080014 0007CF74 7C 06 20 40 */ cmplw r6, r4 -/* 80080018 0007CF78 40 82 FF 84 */ bne lbl_8007FF9C -/* 8008001C 0007CF7C 80 1D 00 04 */ lwz r0, 4(r29) -/* 80080020 0007CF80 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80080024 0007CF84 1C 00 00 34 */ mulli r0, r0, 0x34 -/* 80080028 0007CF88 7C 64 1B 78 */ mr r4, r3 -/* 8008002C 0007CF8C 7C 03 02 14 */ add r0, r3, r0 -/* 80080030 0007CF90 48 00 00 08 */ b lbl_80080038 -lbl_80080034: -/* 80080034 0007CF94 38 84 00 34 */ addi r4, r4, 0x34 -lbl_80080038: -/* 80080038 0007CF98 7C 04 00 40 */ cmplw r4, r0 -/* 8008003C 0007CF9C 40 82 FF F8 */ bne lbl_80080034 -/* 80080040 0007CFA0 28 03 00 00 */ cmplwi r3, 0 -/* 80080044 0007CFA4 41 82 00 08 */ beq lbl_8008004C -/* 80080048 0007CFA8 48 29 58 E9 */ bl Free__7CMemoryFPCv -lbl_8008004C: -/* 8008004C 0007CFAC 93 FD 00 0C */ stw r31, 0xc(r29) -/* 80080050 0007CFB0 93 DD 00 08 */ stw r30, 8(r29) -lbl_80080054: -/* 80080054 0007CFB4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80080058 0007CFB8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8008005C 0007CFBC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80080060 0007CFC0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80080064 0007CFC4 7C 08 03 A6 */ mtlr r0 -/* 80080068 0007CFC8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8008006C 0007CFCC 4E 80 00 20 */ blr - -.global "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi": -/* 80080070 0007CFD0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80080074 0007CFD4 7C 08 02 A6 */ mflr r0 -/* 80080078 0007CFD8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8008007C 0007CFDC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80080080 0007CFE0 7C 9F 23 78 */ mr r31, r4 -/* 80080084 0007CFE4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80080088 0007CFE8 7C 7E 1B 78 */ mr r30, r3 -/* 8008008C 0007CFEC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80080090 0007CFF0 80 03 00 08 */ lwz r0, 8(r3) -/* 80080094 0007CFF4 7C 1F 00 00 */ cmpw r31, r0 -/* 80080098 0007CFF8 40 81 00 DC */ ble lbl_80080174 -/* 8008009C 0007CFFC 1C 7F 00 1C */ mulli r3, r31, 0x1c -/* 800800A0 0007D000 2C 03 00 00 */ cmpwi r3, 0 -/* 800800A4 0007D004 40 82 00 0C */ bne lbl_800800B0 -/* 800800A8 0007D008 3B A0 00 00 */ li r29, 0 -/* 800800AC 0007D00C 48 00 00 18 */ b lbl_800800C4 -lbl_800800B0: -/* 800800B0 0007D010 3C 80 80 3D */ lis r4, lbl_803CD628@ha -/* 800800B4 0007D014 38 A0 00 00 */ li r5, 0 -/* 800800B8 0007D018 38 84 D6 28 */ addi r4, r4, lbl_803CD628@l -/* 800800BC 0007D01C 48 29 57 5D */ bl __nwa__FUlPCcPCc -/* 800800C0 0007D020 7C 7D 1B 78 */ mr r29, r3 -lbl_800800C4: -/* 800800C4 0007D024 80 1E 00 04 */ lwz r0, 4(r30) -/* 800800C8 0007D028 7F A5 EB 78 */ mr r5, r29 -/* 800800CC 0007D02C 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 800800D0 0007D030 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 800800D4 0007D034 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800800D8 0007D038 7C 86 02 14 */ add r4, r6, r0 -/* 800800DC 0007D03C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800800E0 0007D040 90 81 00 08 */ stw r4, 8(r1) -/* 800800E4 0007D044 90 81 00 0C */ stw r4, 0xc(r1) -/* 800800E8 0007D048 48 00 00 4C */ b lbl_80080134 -lbl_800800EC: -/* 800800EC 0007D04C 28 05 00 00 */ cmplwi r5, 0 -/* 800800F0 0007D050 41 82 00 3C */ beq lbl_8008012C -/* 800800F4 0007D054 80 66 00 00 */ lwz r3, 0(r6) -/* 800800F8 0007D058 80 06 00 04 */ lwz r0, 4(r6) -/* 800800FC 0007D05C 90 65 00 00 */ stw r3, 0(r5) -/* 80080100 0007D060 90 05 00 04 */ stw r0, 4(r5) -/* 80080104 0007D064 80 06 00 08 */ lwz r0, 8(r6) -/* 80080108 0007D068 90 05 00 08 */ stw r0, 8(r5) -/* 8008010C 0007D06C C0 06 00 0C */ lfs f0, 0xc(r6) -/* 80080110 0007D070 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 80080114 0007D074 80 06 00 10 */ lwz r0, 0x10(r6) -/* 80080118 0007D078 90 05 00 10 */ stw r0, 0x10(r5) -/* 8008011C 0007D07C 80 06 00 14 */ lwz r0, 0x14(r6) -/* 80080120 0007D080 90 05 00 14 */ stw r0, 0x14(r5) -/* 80080124 0007D084 88 06 00 18 */ lbz r0, 0x18(r6) -/* 80080128 0007D088 98 05 00 18 */ stb r0, 0x18(r5) -lbl_8008012C: -/* 8008012C 0007D08C 38 A5 00 1C */ addi r5, r5, 0x1c -/* 80080130 0007D090 38 C6 00 1C */ addi r6, r6, 0x1c -lbl_80080134: -/* 80080134 0007D094 7C 06 20 40 */ cmplw r6, r4 -/* 80080138 0007D098 40 82 FF B4 */ bne lbl_800800EC -/* 8008013C 0007D09C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80080140 0007D0A0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80080144 0007D0A4 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 80080148 0007D0A8 7C 64 1B 78 */ mr r4, r3 -/* 8008014C 0007D0AC 7C 03 02 14 */ add r0, r3, r0 -/* 80080150 0007D0B0 48 00 00 08 */ b lbl_80080158 -lbl_80080154: -/* 80080154 0007D0B4 38 84 00 1C */ addi r4, r4, 0x1c -lbl_80080158: -/* 80080158 0007D0B8 7C 04 00 40 */ cmplw r4, r0 -/* 8008015C 0007D0BC 40 82 FF F8 */ bne lbl_80080154 -/* 80080160 0007D0C0 28 03 00 00 */ cmplwi r3, 0 -/* 80080164 0007D0C4 41 82 00 08 */ beq lbl_8008016C -/* 80080168 0007D0C8 48 29 57 C9 */ bl Free__7CMemoryFPCv -lbl_8008016C: -/* 8008016C 0007D0CC 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80080170 0007D0D0 93 FE 00 08 */ stw r31, 8(r30) -lbl_80080174: -/* 80080174 0007D0D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80080178 0007D0D8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8008017C 0007D0DC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80080180 0007D0E0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80080184 0007D0E4 7C 08 03 A6 */ mtlr r0 -/* 80080188 0007D0E8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8008018C 0007D0EC 4E 80 00 20 */ blr - -.global FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer_0 -FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer_0: -/* 80080190 0007D0F0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80080194 0007D0F4 7C 08 02 A6 */ mflr r0 -/* 80080198 0007D0F8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8008019C 0007D0FC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800801A0 0007D100 7C 7F 1B 78 */ mr r31, r3 -/* 800801A4 0007D104 38 60 00 48 */ li r3, 0x48 -/* 800801A8 0007D108 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800801AC 0007D10C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800801B0 0007D110 7C BD 2B 78 */ mr r29, r5 -/* 800801B4 0007D114 38 A0 00 00 */ li r5, 0 -/* 800801B8 0007D118 93 81 00 20 */ stw r28, 0x20(r1) -/* 800801BC 0007D11C 7C 9C 23 78 */ mr r28, r4 -/* 800801C0 0007D120 3C 80 80 3D */ lis r4, lbl_803CD66C@ha -/* 800801C4 0007D124 80 1C 00 04 */ lwz r0, 4(r28) -/* 800801C8 0007D128 38 84 D6 6C */ addi r4, r4, lbl_803CD66C@l -/* 800801CC 0007D12C 90 0D 84 50 */ stw r0, lbl_805A7010@sda21(r13) -/* 800801D0 0007D130 48 29 56 9D */ bl __nw__FUlPCcPCc -/* 800801D4 0007D134 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800801D8 0007D138 41 82 00 28 */ beq lbl_80080200 -/* 800801DC 0007D13C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800801E0 0007D140 7F 84 E3 78 */ mr r4, r28 -/* 800801E4 0007D144 38 63 00 04 */ addi r3, r3, 4 -/* 800801E8 0007D148 48 2B BA 69 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag -/* 800801EC 0007D14C 7C 65 1B 78 */ mr r5, r3 -/* 800801F0 0007D150 7F C3 F3 78 */ mr r3, r30 -/* 800801F4 0007D154 7F A4 EB 78 */ mr r4, r29 -/* 800801F8 0007D158 48 00 0D 05 */ bl __ct__8CMapAreaFR12CInputStreamUi -/* 800801FC 0007D15C 7C 7E 1B 78 */ mr r30, r3 -lbl_80080200: -/* 80080200 0007D160 7C 1E 00 D0 */ neg r0, r30 -/* 80080204 0007D164 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80080208 0007D168 7C 00 F3 78 */ or r0, r0, r30 -/* 8008020C 0007D16C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80080210 0007D170 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80080214 0007D174 38 81 00 08 */ addi r4, r1, 8 -/* 80080218 0007D178 98 01 00 08 */ stb r0, 8(r1) -/* 8008021C 0007D17C 48 00 01 19 */ bl "GetIObjObjectFor__17TToken<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>" -/* 80080220 0007D180 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80080224 0007D184 38 00 00 00 */ li r0, 0 -/* 80080228 0007D188 98 01 00 10 */ stb r0, 0x10(r1) -/* 8008022C 0007D18C 7C 03 00 D0 */ neg r0, r3 -/* 80080230 0007D190 7C 00 1B 78 */ or r0, r0, r3 -/* 80080234 0007D194 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80080238 0007D198 98 1F 00 00 */ stb r0, 0(r31) -/* 8008023C 0007D19C 90 7F 00 04 */ stw r3, 4(r31) -/* 80080240 0007D1A0 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80080244 0007D1A4 28 00 00 00 */ cmplwi r0, 0 -/* 80080248 0007D1A8 41 82 00 24 */ beq lbl_8008026C -/* 8008024C 0007D1AC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80080250 0007D1B0 28 03 00 00 */ cmplwi r3, 0 -/* 80080254 0007D1B4 41 82 00 18 */ beq lbl_8008026C -/* 80080258 0007D1B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8008025C 0007D1BC 38 80 00 01 */ li r4, 1 -/* 80080260 0007D1C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80080264 0007D1C4 7D 89 03 A6 */ mtctr r12 -/* 80080268 0007D1C8 4E 80 04 21 */ bctrl -lbl_8008026C: -/* 8008026C 0007D1CC 88 01 00 08 */ lbz r0, 8(r1) -/* 80080270 0007D1D0 28 00 00 00 */ cmplwi r0, 0 -/* 80080274 0007D1D4 41 82 00 10 */ beq lbl_80080284 -/* 80080278 0007D1D8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8008027C 0007D1DC 38 80 00 01 */ li r4, 1 -/* 80080280 0007D1E0 48 00 0B F9 */ bl __dt__8CMapAreaFv -lbl_80080284: -/* 80080284 0007D1E4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80080288 0007D1E8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8008028C 0007D1EC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80080290 0007D1F0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80080294 0007D1F4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80080298 0007D1F8 7C 08 03 A6 */ mtlr r0 -/* 8008029C 0007D1FC 38 21 00 30 */ addi r1, r1, 0x30 -/* 800802A0 0007D200 4E 80 00 20 */ blr - -.global "__dt__35TObjOwnerDerivedFromIObj<8CMapArea>Fv" -"__dt__35TObjOwnerDerivedFromIObj<8CMapArea>Fv": -/* 800802A4 0007D204 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800802A8 0007D208 7C 08 02 A6 */ mflr r0 -/* 800802AC 0007D20C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800802B0 0007D210 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800802B4 0007D214 7C 9F 23 78 */ mr r31, r4 -/* 800802B8 0007D218 93 C1 00 08 */ stw r30, 8(r1) -/* 800802BC 0007D21C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800802C0 0007D220 41 82 00 58 */ beq lbl_80080318 -/* 800802C4 0007D224 3C 60 80 3E */ lis r3, lbl_803DAB80@ha -/* 800802C8 0007D228 38 03 AB 80 */ addi r0, r3, lbl_803DAB80@l -/* 800802CC 0007D22C 90 1E 00 00 */ stw r0, 0(r30) -/* 800802D0 0007D230 80 7E 00 04 */ lwz r3, 4(r30) -/* 800802D4 0007D234 28 03 00 00 */ cmplwi r3, 0 -/* 800802D8 0007D238 41 82 00 0C */ beq lbl_800802E4 -/* 800802DC 0007D23C 38 80 00 01 */ li r4, 1 -/* 800802E0 0007D240 48 00 0B 99 */ bl __dt__8CMapAreaFv -lbl_800802E4: -/* 800802E4 0007D244 28 1E 00 00 */ cmplwi r30, 0 -/* 800802E8 0007D248 41 82 00 20 */ beq lbl_80080308 -/* 800802EC 0007D24C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 800802F0 0007D250 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 800802F4 0007D254 90 1E 00 00 */ stw r0, 0(r30) -/* 800802F8 0007D258 41 82 00 10 */ beq lbl_80080308 -/* 800802FC 0007D25C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80080300 0007D260 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80080304 0007D264 90 1E 00 00 */ stw r0, 0(r30) -lbl_80080308: -/* 80080308 0007D268 7F E0 07 35 */ extsh. r0, r31 -/* 8008030C 0007D26C 40 81 00 0C */ ble lbl_80080318 -/* 80080310 0007D270 7F C3 F3 78 */ mr r3, r30 -/* 80080314 0007D274 48 29 56 1D */ bl Free__7CMemoryFPCv -lbl_80080318: -/* 80080318 0007D278 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008031C 0007D27C 7F C3 F3 78 */ mr r3, r30 -/* 80080320 0007D280 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80080324 0007D284 83 C1 00 08 */ lwz r30, 8(r1) -/* 80080328 0007D288 7C 08 03 A6 */ mtlr r0 -/* 8008032C 0007D28C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80080330 0007D290 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__17TToken<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>" -"GetIObjObjectFor__17TToken<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>": -/* 80080334 0007D294 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80080338 0007D298 7C 08 02 A6 */ mflr r0 -/* 8008033C 0007D29C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80080340 0007D2A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80080344 0007D2A4 7C 7F 1B 78 */ mr r31, r3 -/* 80080348 0007D2A8 48 00 00 19 */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>" -/* 8008034C 0007D2AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80080350 0007D2B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80080354 0007D2B4 7C 08 03 A6 */ mtlr r0 -/* 80080358 0007D2B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008035C 0007D2BC 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>" -"GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CMapArea>FRCQ24rstl19auto_ptr<8CMapArea>": -/* 80080360 0007D2C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80080364 0007D2C4 7C 08 02 A6 */ mflr r0 -/* 80080368 0007D2C8 3C A0 80 3D */ lis r5, lbl_803CD66C@ha -/* 8008036C 0007D2CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80080370 0007D2D0 38 05 D6 6C */ addi r0, r5, lbl_803CD66C@l -/* 80080374 0007D2D4 38 A0 00 00 */ li r5, 0 -/* 80080378 0007D2D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008037C 0007D2DC 7C 9F 23 78 */ mr r31, r4 -/* 80080380 0007D2E0 7C 04 03 78 */ mr r4, r0 -/* 80080384 0007D2E4 93 C1 00 08 */ stw r30, 8(r1) -/* 80080388 0007D2E8 7C 7E 1B 78 */ mr r30, r3 -/* 8008038C 0007D2EC 38 60 00 08 */ li r3, 8 -/* 80080390 0007D2F0 48 29 54 DD */ bl __nw__FUlPCcPCc -/* 80080394 0007D2F4 28 03 00 00 */ cmplwi r3, 0 -/* 80080398 0007D2F8 41 82 00 38 */ beq lbl_800803D0 -/* 8008039C 0007D2FC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 800803A0 0007D300 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 800803A4 0007D304 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 800803A8 0007D308 3C 80 80 3E */ lis r4, lbl_803DAB80@ha -/* 800803AC 0007D30C 90 03 00 00 */ stw r0, 0(r3) -/* 800803B0 0007D310 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 800803B4 0007D314 38 A0 00 00 */ li r5, 0 -/* 800803B8 0007D318 38 04 AB 80 */ addi r0, r4, lbl_803DAB80@l -/* 800803BC 0007D31C 90 C3 00 00 */ stw r6, 0(r3) -/* 800803C0 0007D320 98 BF 00 00 */ stb r5, 0(r31) -/* 800803C4 0007D324 80 9F 00 04 */ lwz r4, 4(r31) -/* 800803C8 0007D328 90 83 00 04 */ stw r4, 4(r3) -/* 800803CC 0007D32C 90 03 00 00 */ stw r0, 0(r3) -lbl_800803D0: -/* 800803D0 0007D330 7C 03 00 D0 */ neg r0, r3 -/* 800803D4 0007D334 7C 00 1B 78 */ or r0, r0, r3 -/* 800803D8 0007D338 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800803DC 0007D33C 98 1E 00 00 */ stb r0, 0(r30) -/* 800803E0 0007D340 90 7E 00 04 */ stw r3, 4(r30) -/* 800803E4 0007D344 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800803E8 0007D348 83 C1 00 08 */ lwz r30, 8(r1) -/* 800803EC 0007D34C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800803F0 0007D350 7C 08 03 A6 */ mtlr r0 -/* 800803F4 0007D354 38 21 00 10 */ addi r1, r1, 0x10 -/* 800803F8 0007D358 4E 80 00 20 */ blr - -.global GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId -GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId: -/* 800803FC 0007D35C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80080400 0007D360 7C 08 02 A6 */ mflr r0 -/* 80080404 0007D364 90 01 00 14 */ stw r0, 0x14(r1) -/* 80080408 0007D368 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008040C 0007D36C 7C 9F 23 78 */ mr r31, r4 -/* 80080410 0007D370 81 83 00 00 */ lwz r12, 0(r3) -/* 80080414 0007D374 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80080418 0007D378 7D 89 03 A6 */ mtctr r12 -/* 8008041C 0007D37C 4E 80 04 21 */ bctrl -/* 80080420 0007D380 3C 03 4E 54 */ addis r0, r3, 0x4e54 -/* 80080424 0007D384 28 00 4D 65 */ cmplwi r0, 0x4d65 -/* 80080428 0007D388 40 82 00 24 */ bne lbl_8008044C -/* 8008042C 0007D38C 3C 80 80 3D */ lis r4, lbl_803CD640@ha -/* 80080430 0007D390 3C 60 80 47 */ lis r3, lbl_8046C3E0@ha -/* 80080434 0007D394 38 84 D6 40 */ addi r4, r4, lbl_803CD640@l -/* 80080438 0007D398 7C 84 F8 AE */ lbzx r4, r4, r31 -/* 8008043C 0007D39C 38 03 C3 E0 */ addi r0, r3, lbl_8046C3E0@l -/* 80080440 0007D3A0 1C 64 00 0C */ mulli r3, r4, 0xc -/* 80080444 0007D3A4 7C 60 1A 14 */ add r3, r0, r3 -/* 80080448 0007D3A8 48 00 00 0C */ b lbl_80080454 -lbl_8008044C: -/* 8008044C 0007D3AC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80080450 0007D3B0 38 63 66 A0 */ addi r3, r3, skZero3f@l -lbl_80080454: -/* 80080454 0007D3B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80080458 0007D3B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008045C 0007D3BC 7C 08 03 A6 */ mtlr r0 -/* 80080460 0007D3C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80080464 0007D3C4 4E 80 00 20 */ blr - -.global GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId: -/* 80080468 0007D3C8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8008046C 0007D3CC 7C 08 02 A6 */ mflr r0 -/* 80080470 0007D3D0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80080474 0007D3D4 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80080478 0007D3D8 7C BF 2B 78 */ mr r31, r5 -/* 8008047C 0007D3DC 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80080480 0007D3E0 7C DE 33 78 */ mr r30, r6 -/* 80080484 0007D3E4 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80080488 0007D3E8 7C 7D 1B 78 */ mr r29, r3 -/* 8008048C 0007D3EC 7F E3 FB 78 */ mr r3, r31 -/* 80080490 0007D3F0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80080494 0007D3F4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80080498 0007D3F8 7D 89 03 A6 */ mtctr r12 -/* 8008049C 0007D3FC 4E 80 04 21 */ bctrl -/* 800804A0 0007D400 3C 03 4E 54 */ addis r0, r3, 0x4e54 -/* 800804A4 0007D404 28 00 4D 65 */ cmplwi r0, 0x4d65 -/* 800804A8 0007D408 40 82 00 70 */ bne lbl_80080518 -/* 800804AC 0007D40C 93 C1 00 14 */ stw r30, 0x14(r1) -/* 800804B0 0007D410 7F E3 FB 78 */ mr r3, r31 -/* 800804B4 0007D414 38 81 00 14 */ addi r4, r1, 0x14 -/* 800804B8 0007D418 81 9F 00 00 */ lwz r12, 0(r31) -/* 800804BC 0007D41C 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800804C0 0007D420 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800804C4 0007D424 7D 89 03 A6 */ mtctr r12 -/* 800804C8 0007D428 4E 80 04 21 */ bctrl -/* 800804CC 0007D42C 81 83 00 00 */ lwz r12, 0(r3) -/* 800804D0 0007D430 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800804D4 0007D434 7D 89 03 A6 */ mtctr r12 -/* 800804D8 0007D438 4E 80 04 21 */ bctrl -/* 800804DC 0007D43C 3C A0 80 3D */ lis r5, lbl_803CD640@ha -/* 800804E0 0007D440 3C 80 80 47 */ lis r4, lbl_8046C3E0@ha -/* 800804E4 0007D444 38 A5 D6 40 */ addi r5, r5, lbl_803CD640@l -/* 800804E8 0007D448 7C 7F 1B 78 */ mr r31, r3 -/* 800804EC 0007D44C 7C A5 F0 AE */ lbzx r5, r5, r30 -/* 800804F0 0007D450 38 04 C3 E0 */ addi r0, r4, lbl_8046C3E0@l -/* 800804F4 0007D454 38 61 00 18 */ addi r3, r1, 0x18 -/* 800804F8 0007D458 1C 85 00 0C */ mulli r4, r5, 0xc -/* 800804FC 0007D45C 7C 80 22 14 */ add r4, r0, r4 -/* 80080500 0007D460 48 29 2C 41 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80080504 0007D464 7F A3 EB 78 */ mr r3, r29 -/* 80080508 0007D468 7F E5 FB 78 */ mr r5, r31 -/* 8008050C 0007D46C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80080510 0007D470 48 29 24 41 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80080514 0007D474 48 00 00 40 */ b lbl_80080554 -lbl_80080518: -/* 80080518 0007D478 93 C1 00 0C */ stw r30, 0xc(r1) -/* 8008051C 0007D47C 7F E3 FB 78 */ mr r3, r31 -/* 80080520 0007D480 38 81 00 0C */ addi r4, r1, 0xc -/* 80080524 0007D484 81 9F 00 00 */ lwz r12, 0(r31) -/* 80080528 0007D488 93 C1 00 08 */ stw r30, 8(r1) -/* 8008052C 0007D48C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80080530 0007D490 7D 89 03 A6 */ mtctr r12 -/* 80080534 0007D494 4E 80 04 21 */ bctrl -/* 80080538 0007D498 81 83 00 00 */ lwz r12, 0(r3) -/* 8008053C 0007D49C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80080540 0007D4A0 7D 89 03 A6 */ mtctr r12 -/* 80080544 0007D4A4 4E 80 04 21 */ bctrl -/* 80080548 0007D4A8 7C 64 1B 78 */ mr r4, r3 -/* 8008054C 0007D4AC 7F A3 EB 78 */ mr r3, r29 -/* 80080550 0007D4B0 48 29 26 25 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_80080554: -/* 80080554 0007D4B4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80080558 0007D4B8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8008055C 0007D4BC 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80080560 0007D4C0 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80080564 0007D4C4 7C 08 03 A6 */ mtlr r0 -/* 80080568 0007D4C8 38 21 00 60 */ addi r1, r1, 0x60 -/* 8008056C 0007D4CC 4E 80 00 20 */ blr - -.global SetupGXMaterial__Q28CMapArea15CMapAreaSurfaceFv -SetupGXMaterial__Q28CMapArea15CMapAreaSurfaceFv: -/* 80080570 0007D4D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80080574 0007D4D4 7C 08 02 A6 */ mflr r0 -/* 80080578 0007D4D8 3C 80 80 3D */ lis r4, lbl_803CD630@ha -/* 8008057C 0007D4DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80080580 0007D4E0 38 E4 D6 30 */ addi r7, r4, lbl_803CD630@l -/* 80080584 0007D4E4 38 61 00 08 */ addi r3, r1, 8 -/* 80080588 0007D4E8 80 C7 00 00 */ lwz r6, 0(r7) -/* 8008058C 0007D4EC 80 A7 00 04 */ lwz r5, 4(r7) -/* 80080590 0007D4F0 80 87 00 08 */ lwz r4, 8(r7) -/* 80080594 0007D4F4 80 07 00 0C */ lwz r0, 0xc(r7) -/* 80080598 0007D4F8 90 C1 00 08 */ stw r6, 8(r1) -/* 8008059C 0007D4FC 90 A1 00 0C */ stw r5, 0xc(r1) -/* 800805A0 0007D500 90 81 00 10 */ stw r4, 0x10(r1) -/* 800805A4 0007D504 90 01 00 14 */ stw r0, 0x14(r1) -/* 800805A8 0007D508 48 28 78 81 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 800805AC 0007D50C 38 60 00 01 */ li r3, 1 -/* 800805B0 0007D510 48 28 88 A1 */ bl SetNumChans__3CGXFUc -/* 800805B4 0007D514 38 60 00 00 */ li r3, 0 -/* 800805B8 0007D518 48 28 88 5D */ bl SetNumTexGens__3CGXFUc -/* 800805BC 0007D51C 38 60 00 01 */ li r3, 1 -/* 800805C0 0007D520 48 28 86 D1 */ bl SetNumTevStages__3CGXFUc -/* 800805C4 0007D524 38 60 00 00 */ li r3, 0 -/* 800805C8 0007D528 38 80 00 00 */ li r4, 0 -/* 800805CC 0007D52C 38 A0 00 00 */ li r5, 0 -/* 800805D0 0007D530 38 C0 00 01 */ li r6, 1 -/* 800805D4 0007D534 38 E0 00 00 */ li r7, 0 -/* 800805D8 0007D538 39 00 00 00 */ li r8, 0 -/* 800805DC 0007D53C 39 20 00 02 */ li r9, 2 -/* 800805E0 0007D540 48 28 86 ED */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 800805E4 0007D544 38 60 00 00 */ li r3, 0 -/* 800805E8 0007D548 38 80 00 0F */ li r4, 0xf -/* 800805EC 0007D54C 38 A0 00 0F */ li r5, 0xf -/* 800805F0 0007D550 38 C0 00 0F */ li r6, 0xf -/* 800805F4 0007D554 38 E0 00 0E */ li r7, 0xe -/* 800805F8 0007D558 48 28 85 F5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 800805FC 0007D55C 38 60 00 00 */ li r3, 0 -/* 80080600 0007D560 38 80 00 07 */ li r4, 7 -/* 80080604 0007D564 38 A0 00 07 */ li r5, 7 -/* 80080608 0007D568 38 C0 00 07 */ li r6, 7 -/* 8008060C 0007D56C 38 E0 00 06 */ li r7, 6 -/* 80080610 0007D570 48 28 85 85 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 80080614 0007D574 38 60 00 00 */ li r3, 0 -/* 80080618 0007D578 38 80 00 00 */ li r4, 0 -/* 8008061C 0007D57C 38 A0 00 00 */ li r5, 0 -/* 80080620 0007D580 38 C0 00 00 */ li r6, 0 -/* 80080624 0007D584 38 E0 00 01 */ li r7, 1 -/* 80080628 0007D588 39 00 00 00 */ li r8, 0 -/* 8008062C 0007D58C 48 28 85 0D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 80080630 0007D590 38 60 00 00 */ li r3, 0 -/* 80080634 0007D594 38 80 00 00 */ li r4, 0 -/* 80080638 0007D598 38 A0 00 00 */ li r5, 0 -/* 8008063C 0007D59C 38 C0 00 00 */ li r6, 0 -/* 80080640 0007D5A0 38 E0 00 01 */ li r7, 1 -/* 80080644 0007D5A4 39 00 00 00 */ li r8, 0 -/* 80080648 0007D5A8 48 28 84 39 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 8008064C 0007D5AC 38 60 00 00 */ li r3, 0 -/* 80080650 0007D5B0 38 80 00 0C */ li r4, 0xc -/* 80080654 0007D5B4 48 28 83 8D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 80080658 0007D5B8 38 60 00 00 */ li r3, 0 -/* 8008065C 0007D5BC 38 80 00 1C */ li r4, 0x1c -/* 80080660 0007D5C0 48 28 83 3D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 80080664 0007D5C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80080668 0007D5C8 7C 08 03 A6 */ mtlr r0 -/* 8008066C 0007D5CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80080670 0007D5D0 4E 80 00 20 */ blr - -.global Draw__Q28CMapArea15CMapAreaSurfaceCFPC9CVector3fRC6CColorRC6CColorf -Draw__Q28CMapArea15CMapAreaSurfaceCFPC9CVector3fRC6CColorRC6CColorf: -/* 80080674 0007D5D4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80080678 0007D5D8 7C 08 02 A6 */ mflr r0 -/* 8008067C 0007D5DC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80080680 0007D5E0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80080684 0007D5E4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80080688 0007D5E8 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8008068C 0007D5EC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80080690 0007D5F0 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80080694 0007D5F4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80080698 0007D5F8 BE A1 00 24 */ stmw r21, 0x24(r1) -/* 8008069C 0007D5FC FF A0 08 90 */ fmr f29, f1 -/* 800806A0 0007D600 7C 7E 1B 78 */ mr r30, r3 -/* 800806A4 0007D604 7C B6 2B 78 */ mr r22, r5 -/* 800806A8 0007D608 7C DF 33 78 */ mr r31, r6 -/* 800806AC 0007D60C E0 16 A0 03 */ psq_l f0, 3(r22), 1, qr2 -/* 800806B0 0007D610 C0 42 89 88 */ lfs f2, lbl_805AA6A8@sda21(r2) -/* 800806B4 0007D614 C0 22 89 8C */ lfs f1, lbl_805AA6AC@sda21(r2) -/* 800806B8 0007D618 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800806BC 0007D61C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800806C0 0007D620 7C 00 00 26 */ mfcr r0 -/* 800806C4 0007D624 54 15 17 FE */ rlwinm r21, r0, 2, 0x1f, 0x1f -/* 800806C8 0007D628 E0 1F A0 03 */ psq_l f0, 3(r31), 1, qr2 -/* 800806CC 0007D62C EC 02 00 32 */ fmuls f0, f2, f0 -/* 800806D0 0007D630 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800806D4 0007D634 7C 00 00 26 */ mfcr r0 -/* 800806D8 0007D638 80 BE 00 18 */ lwz r5, 0x18(r30) -/* 800806DC 0007D63C 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 800806E0 0007D640 28 04 00 00 */ cmplwi r4, 0 -/* 800806E4 0007D644 83 85 00 00 */ lwz r28, 0(r5) -/* 800806E8 0007D648 54 1D 17 FE */ rlwinm r29, r0, 2, 0x1f, 0x1f -/* 800806EC 0007D64C 83 63 00 00 */ lwz r27, 0(r3) -/* 800806F0 0007D650 41 82 00 10 */ beq lbl_80080700 -/* 800806F4 0007D654 38 60 00 09 */ li r3, 9 -/* 800806F8 0007D658 38 A0 00 0C */ li r5, 0xc -/* 800806FC 0007D65C 48 28 7F 49 */ bl SetArray__3CGXF7_GXAttrPCvUc -lbl_80080700: -/* 80080700 0007D660 28 15 00 00 */ cmplwi r21, 0 -/* 80080704 0007D664 41 82 01 0C */ beq lbl_80080810 -/* 80080708 0007D668 7E C4 B3 78 */ mr r4, r22 -/* 8008070C 0007D66C 38 60 00 00 */ li r3, 0 -/* 80080710 0007D670 48 28 85 35 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 80080714 0007D674 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80080718 0007D678 3B 20 00 00 */ li r25, 0 -/* 8008071C 0007D67C 3B 43 00 04 */ addi r26, r3, 4 -/* 80080720 0007D680 48 00 00 E8 */ b lbl_80080808 -lbl_80080724: -/* 80080724 0007D684 83 1A 00 04 */ lwz r24, 4(r26) -/* 80080728 0007D688 38 80 00 00 */ li r4, 0 -/* 8008072C 0007D68C 80 7A 00 00 */ lwz r3, 0(r26) -/* 80080730 0007D690 3B 5A 00 08 */ addi r26, r26, 8 -/* 80080734 0007D694 38 18 00 03 */ addi r0, r24, 3 -/* 80080738 0007D698 57 05 04 3E */ clrlwi r5, r24, 0x10 -/* 8008073C 0007D69C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080740 0007D6A0 7F 57 D3 78 */ mr r23, r26 -/* 80080744 0007D6A4 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080748 0007D6A8 7C 00 01 94 */ addze r0, r0 -/* 8008074C 0007D6AC 54 00 10 3A */ slwi r0, r0, 2 -/* 80080750 0007D6B0 7F 5A 02 14 */ add r26, r26, r0 -/* 80080754 0007D6B4 48 28 7E 31 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 80080758 0007D6B8 2C 18 00 00 */ cmpwi r24, 0 -/* 8008075C 0007D6BC 38 A0 00 00 */ li r5, 0 -/* 80080760 0007D6C0 40 81 00 A0 */ ble lbl_80080800 -/* 80080764 0007D6C4 2C 18 00 08 */ cmpwi r24, 8 -/* 80080768 0007D6C8 38 98 FF F8 */ addi r4, r24, -8 -/* 8008076C 0007D6CC 40 81 00 68 */ ble lbl_800807D4 -/* 80080770 0007D6D0 38 04 00 07 */ addi r0, r4, 7 -/* 80080774 0007D6D4 3C 60 CC 01 */ lis r3, 0xcc01 -/* 80080778 0007D6D8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8008077C 0007D6DC 7C 09 03 A6 */ mtctr r0 -/* 80080780 0007D6E0 2C 04 00 00 */ cmpwi r4, 0 -/* 80080784 0007D6E4 40 81 00 50 */ ble lbl_800807D4 -lbl_80080788: -/* 80080788 0007D6E8 7C 97 2A 14 */ add r4, r23, r5 -/* 8008078C 0007D6EC 38 A5 00 08 */ addi r5, r5, 8 -/* 80080790 0007D6F0 88 04 00 00 */ lbz r0, 0(r4) -/* 80080794 0007D6F4 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 80080798 0007D6F8 88 04 00 01 */ lbz r0, 1(r4) -/* 8008079C 0007D6FC 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 800807A0 0007D700 88 04 00 02 */ lbz r0, 2(r4) -/* 800807A4 0007D704 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 800807A8 0007D708 88 04 00 03 */ lbz r0, 3(r4) -/* 800807AC 0007D70C 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 800807B0 0007D710 88 04 00 04 */ lbz r0, 4(r4) -/* 800807B4 0007D714 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 800807B8 0007D718 88 04 00 05 */ lbz r0, 5(r4) -/* 800807BC 0007D71C 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 800807C0 0007D720 88 04 00 06 */ lbz r0, 6(r4) -/* 800807C4 0007D724 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 800807C8 0007D728 88 04 00 07 */ lbz r0, 7(r4) -/* 800807CC 0007D72C 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 800807D0 0007D730 42 00 FF B8 */ bdnz lbl_80080788 -lbl_800807D4: -/* 800807D4 0007D734 7C 05 C0 50 */ subf r0, r5, r24 -/* 800807D8 0007D738 7C 77 2A 14 */ add r3, r23, r5 -/* 800807DC 0007D73C 3C 80 CC 01 */ lis r4, 0xcc01 -/* 800807E0 0007D740 7C 09 03 A6 */ mtctr r0 -/* 800807E4 0007D744 7C 05 C0 00 */ cmpw r5, r24 -/* 800807E8 0007D748 40 80 00 18 */ bge lbl_80080800 -lbl_800807EC: -/* 800807EC 0007D74C 88 03 00 00 */ lbz r0, 0(r3) -/* 800807F0 0007D750 38 A5 00 01 */ addi r5, r5, 1 -/* 800807F4 0007D754 38 63 00 01 */ addi r3, r3, 1 -/* 800807F8 0007D758 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 800807FC 0007D75C 42 00 FF F0 */ bdnz lbl_800807EC -lbl_80080800: -/* 80080800 0007D760 48 28 7D 81 */ bl End__3CGXFv -/* 80080804 0007D764 3B 39 00 01 */ addi r25, r25, 1 -lbl_80080808: -/* 80080808 0007D768 7C 19 E0 00 */ cmpw r25, r28 -/* 8008080C 0007D76C 41 80 FF 18 */ blt lbl_80080724 -lbl_80080810: -/* 80080810 0007D770 28 1D 00 00 */ cmplwi r29, 0 -/* 80080814 0007D774 41 82 01 B8 */ beq lbl_800809CC -/* 80080818 0007D778 C0 02 89 90 */ lfs f0, lbl_805AA6B0@sda21(r2) -/* 8008081C 0007D77C FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80080820 0007D780 7C 00 00 26 */ mfcr r0 -/* 80080824 0007D784 CB E2 89 A0 */ lfd f31, lbl_805AA6C0@sda21(r2) -/* 80080828 0007D788 54 17 17 FE */ rlwinm r23, r0, 2, 0x1f, 0x1f -/* 8008082C 0007D78C 3B 00 00 00 */ li r24, 0 -/* 80080830 0007D790 7C 17 00 D0 */ neg r0, r23 -/* 80080834 0007D794 3F A0 43 30 */ lis r29, 0x4330 -/* 80080838 0007D798 7C 00 BB 78 */ or r0, r0, r23 -/* 8008083C 0007D79C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80080840 0007D7A0 3A A3 00 01 */ addi r21, r3, 1 -/* 80080844 0007D7A4 48 00 01 80 */ b lbl_800809C4 -lbl_80080848: -/* 80080848 0007D7A8 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8008084C 0007D7AC 28 17 00 00 */ cmplwi r23, 0 -/* 80080850 0007D7B0 3B 23 00 04 */ addi r25, r3, 4 -/* 80080854 0007D7B4 41 82 00 2C */ beq lbl_80080880 -/* 80080858 0007D7B8 6F 03 80 00 */ xoris r3, r24, 0x8000 -/* 8008085C 0007D7BC 3C 00 43 30 */ lis r0, 0x4330 -/* 80080860 0007D7C0 90 61 00 14 */ stw r3, 0x14(r1) -/* 80080864 0007D7C4 38 60 00 05 */ li r3, 5 -/* 80080868 0007D7C8 C8 22 89 98 */ lfd f1, lbl_805AA6B8@sda21(r2) -/* 8008086C 0007D7CC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80080870 0007D7D0 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80080874 0007D7D4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80080878 0007D7D8 EC 3D 00 28 */ fsubs f1, f29, f0 -/* 8008087C 0007D7DC 48 28 AB 5D */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset -lbl_80080880: -/* 80080880 0007D7E0 28 17 00 00 */ cmplwi r23, 0 -/* 80080884 0007D7E4 41 82 00 0C */ beq lbl_80080890 -/* 80080888 0007D7E8 C0 22 89 94 */ lfs f1, lbl_805AA6B4@sda21(r2) -/* 8008088C 0007D7EC 48 00 00 08 */ b lbl_80080894 -lbl_80080890: -/* 80080890 0007D7F0 C0 22 89 90 */ lfs f1, lbl_805AA6B0@sda21(r2) -lbl_80080894: -/* 80080894 0007D7F4 88 1F 00 03 */ lbz r0, 3(r31) -/* 80080898 0007D7F8 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8008089C 0007D7FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800808A0 0007D800 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 800808A4 0007D804 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 800808A8 0007D808 EF C1 00 32 */ fmuls f30, f1, f0 -/* 800808AC 0007D80C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 800808B0 0007D810 38 81 00 0C */ addi r4, r1, 0xc -/* 800808B4 0007D814 80 BF 00 00 */ lwz r5, 0(r31) -/* 800808B8 0007D818 38 60 00 00 */ li r3, 0 -/* 800808BC 0007D81C 88 01 00 08 */ lbz r0, 8(r1) -/* 800808C0 0007D820 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 800808C4 0007D824 90 01 00 0C */ stw r0, 0xc(r1) -/* 800808C8 0007D828 48 28 83 7D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 800808CC 0007D82C 3B 40 00 00 */ li r26, 0 -/* 800808D0 0007D830 48 00 00 E8 */ b lbl_800809B8 -lbl_800808D4: -/* 800808D4 0007D834 83 99 00 00 */ lwz r28, 0(r25) -/* 800808D8 0007D838 3B 39 00 04 */ addi r25, r25, 4 -/* 800808DC 0007D83C 7F 36 CB 78 */ mr r22, r25 -/* 800808E0 0007D840 38 60 00 B0 */ li r3, 0xb0 -/* 800808E4 0007D844 38 1C 00 03 */ addi r0, r28, 3 -/* 800808E8 0007D848 57 85 04 3E */ clrlwi r5, r28, 0x10 -/* 800808EC 0007D84C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 800808F0 0007D850 38 80 00 00 */ li r4, 0 -/* 800808F4 0007D854 7C 00 16 70 */ srawi r0, r0, 2 -/* 800808F8 0007D858 7C 00 01 94 */ addze r0, r0 -/* 800808FC 0007D85C 54 00 10 3A */ slwi r0, r0, 2 -/* 80080900 0007D860 7F 39 02 14 */ add r25, r25, r0 -/* 80080904 0007D864 48 28 7C 81 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 80080908 0007D868 2C 1C 00 00 */ cmpwi r28, 0 -/* 8008090C 0007D86C 38 60 00 00 */ li r3, 0 -/* 80080910 0007D870 40 81 00 A0 */ ble lbl_800809B0 -/* 80080914 0007D874 2C 1C 00 08 */ cmpwi r28, 8 -/* 80080918 0007D878 38 BC FF F8 */ addi r5, r28, -8 -/* 8008091C 0007D87C 40 81 00 68 */ ble lbl_80080984 -/* 80080920 0007D880 38 05 00 07 */ addi r0, r5, 7 -/* 80080924 0007D884 3C 80 CC 01 */ lis r4, 0xcc01 -/* 80080928 0007D888 54 00 E8 FE */ srwi r0, r0, 3 -/* 8008092C 0007D88C 7C 09 03 A6 */ mtctr r0 -/* 80080930 0007D890 2C 05 00 00 */ cmpwi r5, 0 -/* 80080934 0007D894 40 81 00 50 */ ble lbl_80080984 -lbl_80080938: -/* 80080938 0007D898 7C B6 1A 14 */ add r5, r22, r3 -/* 8008093C 0007D89C 38 63 00 08 */ addi r3, r3, 8 -/* 80080940 0007D8A0 88 05 00 00 */ lbz r0, 0(r5) -/* 80080944 0007D8A4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 80080948 0007D8A8 88 05 00 01 */ lbz r0, 1(r5) -/* 8008094C 0007D8AC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 80080950 0007D8B0 88 05 00 02 */ lbz r0, 2(r5) -/* 80080954 0007D8B4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 80080958 0007D8B8 88 05 00 03 */ lbz r0, 3(r5) -/* 8008095C 0007D8BC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 80080960 0007D8C0 88 05 00 04 */ lbz r0, 4(r5) -/* 80080964 0007D8C4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 80080968 0007D8C8 88 05 00 05 */ lbz r0, 5(r5) -/* 8008096C 0007D8CC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 80080970 0007D8D0 88 05 00 06 */ lbz r0, 6(r5) -/* 80080974 0007D8D4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 80080978 0007D8D8 88 05 00 07 */ lbz r0, 7(r5) -/* 8008097C 0007D8DC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 80080980 0007D8E0 42 00 FF B8 */ bdnz lbl_80080938 -lbl_80080984: -/* 80080984 0007D8E4 7C 03 E0 50 */ subf r0, r3, r28 -/* 80080988 0007D8E8 7C 96 1A 14 */ add r4, r22, r3 -/* 8008098C 0007D8EC 3C A0 CC 01 */ lis r5, 0xcc01 -/* 80080990 0007D8F0 7C 09 03 A6 */ mtctr r0 -/* 80080994 0007D8F4 7C 03 E0 00 */ cmpw r3, r28 -/* 80080998 0007D8F8 40 80 00 18 */ bge lbl_800809B0 -lbl_8008099C: -/* 8008099C 0007D8FC 88 04 00 00 */ lbz r0, 0(r4) -/* 800809A0 0007D900 38 63 00 01 */ addi r3, r3, 1 -/* 800809A4 0007D904 38 84 00 01 */ addi r4, r4, 1 -/* 800809A8 0007D908 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 800809AC 0007D90C 42 00 FF F0 */ bdnz lbl_8008099C -lbl_800809B0: -/* 800809B0 0007D910 48 28 7B D1 */ bl End__3CGXFv -/* 800809B4 0007D914 3B 5A 00 01 */ addi r26, r26, 1 -lbl_800809B8: -/* 800809B8 0007D918 7C 1A D8 00 */ cmpw r26, r27 -/* 800809BC 0007D91C 41 80 FF 18 */ blt lbl_800808D4 -/* 800809C0 0007D920 3B 18 00 01 */ addi r24, r24, 1 -lbl_800809C4: -/* 800809C4 0007D924 7C 18 A8 00 */ cmpw r24, r21 -/* 800809C8 0007D928 41 80 FE 80 */ blt lbl_80080848 -lbl_800809CC: -/* 800809CC 0007D92C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 800809D0 0007D930 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 800809D4 0007D934 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 800809D8 0007D938 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 800809DC 0007D93C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 800809E0 0007D940 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 800809E4 0007D944 BA A1 00 24 */ lmw r21, 0x24(r1) -/* 800809E8 0007D948 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800809EC 0007D94C 7C 08 03 A6 */ mtlr r0 -/* 800809F0 0007D950 38 21 00 80 */ addi r1, r1, 0x80 -/* 800809F4 0007D954 4E 80 00 20 */ blr - -.global PostConstruct__Q28CMapArea15CMapAreaSurfaceFPCv -PostConstruct__Q28CMapArea15CMapAreaSurfaceFPCv: -/* 800809F8 0007D958 80 03 00 18 */ lwz r0, 0x18(r3) -/* 800809FC 0007D95C 38 C0 00 00 */ li r6, 0 -/* 80080A00 0007D960 7C 04 02 14 */ add r0, r4, r0 -/* 80080A04 0007D964 90 03 00 18 */ stw r0, 0x18(r3) -/* 80080A08 0007D968 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80080A0C 0007D96C 7C 04 02 14 */ add r0, r4, r0 -/* 80080A10 0007D970 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80080A14 0007D974 80 A3 00 18 */ lwz r5, 0x18(r3) -/* 80080A18 0007D978 80 85 00 00 */ lwz r4, 0(r5) -/* 80080A1C 0007D97C 38 A5 00 04 */ addi r5, r5, 4 -/* 80080A20 0007D980 2C 04 00 00 */ cmpwi r4, 0 -/* 80080A24 0007D984 40 81 01 60 */ ble lbl_80080B84 -/* 80080A28 0007D988 2C 04 00 08 */ cmpwi r4, 8 -/* 80080A2C 0007D98C 38 E4 FF F8 */ addi r7, r4, -8 -/* 80080A30 0007D990 40 81 01 20 */ ble lbl_80080B50 -/* 80080A34 0007D994 38 07 00 07 */ addi r0, r7, 7 -/* 80080A38 0007D998 54 00 E8 FE */ srwi r0, r0, 3 -/* 80080A3C 0007D99C 7C 09 03 A6 */ mtctr r0 -/* 80080A40 0007D9A0 2C 07 00 00 */ cmpwi r7, 0 -/* 80080A44 0007D9A4 40 81 01 0C */ ble lbl_80080B50 -lbl_80080A48: -/* 80080A48 0007D9A8 80 E5 00 04 */ lwz r7, 4(r5) -/* 80080A4C 0007D9AC 38 A5 00 08 */ addi r5, r5, 8 -/* 80080A50 0007D9B0 38 C6 00 08 */ addi r6, r6, 8 -/* 80080A54 0007D9B4 38 07 00 03 */ addi r0, r7, 3 -/* 80080A58 0007D9B8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080A5C 0007D9BC 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080A60 0007D9C0 7C 00 01 94 */ addze r0, r0 -/* 80080A64 0007D9C4 54 00 10 3A */ slwi r0, r0, 2 -/* 80080A68 0007D9C8 7C A5 02 14 */ add r5, r5, r0 -/* 80080A6C 0007D9CC 80 E5 00 04 */ lwz r7, 4(r5) -/* 80080A70 0007D9D0 38 A5 00 08 */ addi r5, r5, 8 -/* 80080A74 0007D9D4 38 07 00 03 */ addi r0, r7, 3 -/* 80080A78 0007D9D8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080A7C 0007D9DC 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080A80 0007D9E0 7C 00 01 94 */ addze r0, r0 -/* 80080A84 0007D9E4 54 00 10 3A */ slwi r0, r0, 2 -/* 80080A88 0007D9E8 7C A5 02 14 */ add r5, r5, r0 -/* 80080A8C 0007D9EC 80 E5 00 04 */ lwz r7, 4(r5) -/* 80080A90 0007D9F0 38 A5 00 08 */ addi r5, r5, 8 -/* 80080A94 0007D9F4 38 07 00 03 */ addi r0, r7, 3 -/* 80080A98 0007D9F8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080A9C 0007D9FC 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080AA0 0007DA00 7C 00 01 94 */ addze r0, r0 -/* 80080AA4 0007DA04 54 00 10 3A */ slwi r0, r0, 2 -/* 80080AA8 0007DA08 7C A5 02 14 */ add r5, r5, r0 -/* 80080AAC 0007DA0C 80 E5 00 04 */ lwz r7, 4(r5) -/* 80080AB0 0007DA10 38 A5 00 08 */ addi r5, r5, 8 -/* 80080AB4 0007DA14 38 07 00 03 */ addi r0, r7, 3 -/* 80080AB8 0007DA18 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080ABC 0007DA1C 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080AC0 0007DA20 7C 00 01 94 */ addze r0, r0 -/* 80080AC4 0007DA24 54 00 10 3A */ slwi r0, r0, 2 -/* 80080AC8 0007DA28 7C A5 02 14 */ add r5, r5, r0 -/* 80080ACC 0007DA2C 80 E5 00 04 */ lwz r7, 4(r5) -/* 80080AD0 0007DA30 38 A5 00 08 */ addi r5, r5, 8 -/* 80080AD4 0007DA34 38 07 00 03 */ addi r0, r7, 3 -/* 80080AD8 0007DA38 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080ADC 0007DA3C 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080AE0 0007DA40 7C 00 01 94 */ addze r0, r0 -/* 80080AE4 0007DA44 54 00 10 3A */ slwi r0, r0, 2 -/* 80080AE8 0007DA48 7C A5 02 14 */ add r5, r5, r0 -/* 80080AEC 0007DA4C 80 E5 00 04 */ lwz r7, 4(r5) -/* 80080AF0 0007DA50 38 A5 00 08 */ addi r5, r5, 8 -/* 80080AF4 0007DA54 38 07 00 03 */ addi r0, r7, 3 -/* 80080AF8 0007DA58 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080AFC 0007DA5C 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080B00 0007DA60 7C 00 01 94 */ addze r0, r0 -/* 80080B04 0007DA64 54 00 10 3A */ slwi r0, r0, 2 -/* 80080B08 0007DA68 7C A5 02 14 */ add r5, r5, r0 -/* 80080B0C 0007DA6C 80 E5 00 04 */ lwz r7, 4(r5) -/* 80080B10 0007DA70 38 A5 00 08 */ addi r5, r5, 8 -/* 80080B14 0007DA74 38 07 00 03 */ addi r0, r7, 3 -/* 80080B18 0007DA78 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080B1C 0007DA7C 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080B20 0007DA80 7C 00 01 94 */ addze r0, r0 -/* 80080B24 0007DA84 54 00 10 3A */ slwi r0, r0, 2 -/* 80080B28 0007DA88 7C A5 02 14 */ add r5, r5, r0 -/* 80080B2C 0007DA8C 80 E5 00 04 */ lwz r7, 4(r5) -/* 80080B30 0007DA90 38 A5 00 08 */ addi r5, r5, 8 -/* 80080B34 0007DA94 38 07 00 03 */ addi r0, r7, 3 -/* 80080B38 0007DA98 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080B3C 0007DA9C 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080B40 0007DAA0 7C 00 01 94 */ addze r0, r0 -/* 80080B44 0007DAA4 54 00 10 3A */ slwi r0, r0, 2 -/* 80080B48 0007DAA8 7C A5 02 14 */ add r5, r5, r0 -/* 80080B4C 0007DAAC 42 00 FE FC */ bdnz lbl_80080A48 -lbl_80080B50: -/* 80080B50 0007DAB0 7C 06 20 50 */ subf r0, r6, r4 -/* 80080B54 0007DAB4 7C 09 03 A6 */ mtctr r0 -/* 80080B58 0007DAB8 7C 06 20 00 */ cmpw r6, r4 -/* 80080B5C 0007DABC 40 80 00 28 */ bge lbl_80080B84 -lbl_80080B60: -/* 80080B60 0007DAC0 80 85 00 04 */ lwz r4, 4(r5) -/* 80080B64 0007DAC4 38 A5 00 08 */ addi r5, r5, 8 -/* 80080B68 0007DAC8 38 04 00 03 */ addi r0, r4, 3 -/* 80080B6C 0007DACC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080B70 0007DAD0 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080B74 0007DAD4 7C 00 01 94 */ addze r0, r0 -/* 80080B78 0007DAD8 54 00 10 3A */ slwi r0, r0, 2 -/* 80080B7C 0007DADC 7C A5 02 14 */ add r5, r5, r0 -/* 80080B80 0007DAE0 42 00 FF E0 */ bdnz lbl_80080B60 -lbl_80080B84: -/* 80080B84 0007DAE4 80 83 00 1C */ lwz r4, 0x1c(r3) -/* 80080B88 0007DAE8 38 A0 00 00 */ li r5, 0 -/* 80080B8C 0007DAEC 80 64 00 00 */ lwz r3, 0(r4) -/* 80080B90 0007DAF0 38 84 00 04 */ addi r4, r4, 4 -/* 80080B94 0007DAF4 2C 03 00 00 */ cmpwi r3, 0 -/* 80080B98 0007DAF8 4C 81 00 20 */ blelr -/* 80080B9C 0007DAFC 2C 03 00 08 */ cmpwi r3, 8 -/* 80080BA0 0007DB00 38 C3 FF F8 */ addi r6, r3, -8 -/* 80080BA4 0007DB04 40 81 01 20 */ ble lbl_80080CC4 -/* 80080BA8 0007DB08 38 06 00 07 */ addi r0, r6, 7 -/* 80080BAC 0007DB0C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80080BB0 0007DB10 7C 09 03 A6 */ mtctr r0 -/* 80080BB4 0007DB14 2C 06 00 00 */ cmpwi r6, 0 -/* 80080BB8 0007DB18 40 81 01 0C */ ble lbl_80080CC4 -lbl_80080BBC: -/* 80080BBC 0007DB1C 80 C4 00 00 */ lwz r6, 0(r4) -/* 80080BC0 0007DB20 38 84 00 04 */ addi r4, r4, 4 -/* 80080BC4 0007DB24 38 A5 00 08 */ addi r5, r5, 8 -/* 80080BC8 0007DB28 38 06 00 03 */ addi r0, r6, 3 -/* 80080BCC 0007DB2C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080BD0 0007DB30 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080BD4 0007DB34 7C 00 01 94 */ addze r0, r0 -/* 80080BD8 0007DB38 54 00 10 3A */ slwi r0, r0, 2 -/* 80080BDC 0007DB3C 7C 84 02 14 */ add r4, r4, r0 -/* 80080BE0 0007DB40 80 C4 00 00 */ lwz r6, 0(r4) -/* 80080BE4 0007DB44 38 84 00 04 */ addi r4, r4, 4 -/* 80080BE8 0007DB48 38 06 00 03 */ addi r0, r6, 3 -/* 80080BEC 0007DB4C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080BF0 0007DB50 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080BF4 0007DB54 7C 00 01 94 */ addze r0, r0 -/* 80080BF8 0007DB58 54 00 10 3A */ slwi r0, r0, 2 -/* 80080BFC 0007DB5C 7C 84 02 14 */ add r4, r4, r0 -/* 80080C00 0007DB60 80 C4 00 00 */ lwz r6, 0(r4) -/* 80080C04 0007DB64 38 84 00 04 */ addi r4, r4, 4 -/* 80080C08 0007DB68 38 06 00 03 */ addi r0, r6, 3 -/* 80080C0C 0007DB6C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080C10 0007DB70 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080C14 0007DB74 7C 00 01 94 */ addze r0, r0 -/* 80080C18 0007DB78 54 00 10 3A */ slwi r0, r0, 2 -/* 80080C1C 0007DB7C 7C 84 02 14 */ add r4, r4, r0 -/* 80080C20 0007DB80 80 C4 00 00 */ lwz r6, 0(r4) -/* 80080C24 0007DB84 38 84 00 04 */ addi r4, r4, 4 -/* 80080C28 0007DB88 38 06 00 03 */ addi r0, r6, 3 -/* 80080C2C 0007DB8C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080C30 0007DB90 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080C34 0007DB94 7C 00 01 94 */ addze r0, r0 -/* 80080C38 0007DB98 54 00 10 3A */ slwi r0, r0, 2 -/* 80080C3C 0007DB9C 7C 84 02 14 */ add r4, r4, r0 -/* 80080C40 0007DBA0 80 C4 00 00 */ lwz r6, 0(r4) -/* 80080C44 0007DBA4 38 84 00 04 */ addi r4, r4, 4 -/* 80080C48 0007DBA8 38 06 00 03 */ addi r0, r6, 3 -/* 80080C4C 0007DBAC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080C50 0007DBB0 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080C54 0007DBB4 7C 00 01 94 */ addze r0, r0 -/* 80080C58 0007DBB8 54 00 10 3A */ slwi r0, r0, 2 -/* 80080C5C 0007DBBC 7C 84 02 14 */ add r4, r4, r0 -/* 80080C60 0007DBC0 80 C4 00 00 */ lwz r6, 0(r4) -/* 80080C64 0007DBC4 38 84 00 04 */ addi r4, r4, 4 -/* 80080C68 0007DBC8 38 06 00 03 */ addi r0, r6, 3 -/* 80080C6C 0007DBCC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080C70 0007DBD0 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080C74 0007DBD4 7C 00 01 94 */ addze r0, r0 -/* 80080C78 0007DBD8 54 00 10 3A */ slwi r0, r0, 2 -/* 80080C7C 0007DBDC 7C 84 02 14 */ add r4, r4, r0 -/* 80080C80 0007DBE0 80 C4 00 00 */ lwz r6, 0(r4) -/* 80080C84 0007DBE4 38 84 00 04 */ addi r4, r4, 4 -/* 80080C88 0007DBE8 38 06 00 03 */ addi r0, r6, 3 -/* 80080C8C 0007DBEC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080C90 0007DBF0 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080C94 0007DBF4 7C 00 01 94 */ addze r0, r0 -/* 80080C98 0007DBF8 54 00 10 3A */ slwi r0, r0, 2 -/* 80080C9C 0007DBFC 7C 84 02 14 */ add r4, r4, r0 -/* 80080CA0 0007DC00 80 C4 00 00 */ lwz r6, 0(r4) -/* 80080CA4 0007DC04 38 84 00 04 */ addi r4, r4, 4 -/* 80080CA8 0007DC08 38 06 00 03 */ addi r0, r6, 3 -/* 80080CAC 0007DC0C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080CB0 0007DC10 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080CB4 0007DC14 7C 00 01 94 */ addze r0, r0 -/* 80080CB8 0007DC18 54 00 10 3A */ slwi r0, r0, 2 -/* 80080CBC 0007DC1C 7C 84 02 14 */ add r4, r4, r0 -/* 80080CC0 0007DC20 42 00 FE FC */ bdnz lbl_80080BBC -lbl_80080CC4: -/* 80080CC4 0007DC24 7C 05 18 50 */ subf r0, r5, r3 -/* 80080CC8 0007DC28 7C 09 03 A6 */ mtctr r0 -/* 80080CCC 0007DC2C 7C 05 18 00 */ cmpw r5, r3 -/* 80080CD0 0007DC30 4C 80 00 20 */ bgelr -lbl_80080CD4: -/* 80080CD4 0007DC34 80 64 00 00 */ lwz r3, 0(r4) -/* 80080CD8 0007DC38 38 84 00 04 */ addi r4, r4, 4 -/* 80080CDC 0007DC3C 38 03 00 03 */ addi r0, r3, 3 -/* 80080CE0 0007DC40 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80080CE4 0007DC44 7C 00 16 70 */ srawi r0, r0, 2 -/* 80080CE8 0007DC48 7C 00 01 94 */ addze r0, r0 -/* 80080CEC 0007DC4C 54 00 10 3A */ slwi r0, r0, 2 -/* 80080CF0 0007DC50 7C 84 02 14 */ add r4, r4, r0 -/* 80080CF4 0007DC54 42 00 FF E0 */ bdnz lbl_80080CD4 - -.global sub_80080cf8 -sub_80080cf8: -/* 80080CF8 0007DC58 4E 80 00 20 */ blr - -.global GetAreaCenterPoint__8CMapAreaCFv -GetAreaCenterPoint__8CMapAreaCFv: -/* 80080CFC 0007DC5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80080D00 0007DC60 7C 08 02 A6 */ mflr r0 -/* 80080D04 0007DC64 38 84 00 10 */ addi r4, r4, 0x10 -/* 80080D08 0007DC68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80080D0C 0007DC6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80080D10 0007DC70 7C 7F 1B 78 */ mr r31, r3 -/* 80080D14 0007DC74 48 2B 68 F9 */ bl GetCenterPoint__6CAABoxCFv -/* 80080D18 0007DC78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80080D1C 0007DC7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80080D20 0007DC80 7C 08 03 A6 */ mtlr r0 -/* 80080D24 0007DC84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80080D28 0007DC88 4E 80 00 20 */ blr - -.global GetIsVisibleToAutoMapper__8CMapAreaCFbb -GetIsVisibleToAutoMapper__8CMapAreaCFbb: -/* 80080D2C 0007DC8C 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80080D30 0007DC90 2C 00 00 02 */ cmpwi r0, 2 -/* 80080D34 0007DC94 41 82 00 48 */ beq lbl_80080D7C -/* 80080D38 0007DC98 40 80 00 14 */ bge lbl_80080D4C -/* 80080D3C 0007DC9C 2C 00 00 00 */ cmpwi r0, 0 -/* 80080D40 0007DCA0 41 82 00 18 */ beq lbl_80080D58 -/* 80080D44 0007DCA4 40 80 00 1C */ bge lbl_80080D60 -/* 80080D48 0007DCA8 48 00 00 44 */ b lbl_80080D8C -lbl_80080D4C: -/* 80080D4C 0007DCAC 2C 00 00 04 */ cmpwi r0, 4 -/* 80080D50 0007DCB0 40 80 00 3C */ bge lbl_80080D8C -/* 80080D54 0007DCB4 48 00 00 30 */ b lbl_80080D84 -lbl_80080D58: -/* 80080D58 0007DCB8 38 60 00 01 */ li r3, 1 -/* 80080D5C 0007DCBC 4E 80 00 20 */ blr -lbl_80080D60: -/* 80080D60 0007DCC0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80080D64 0007DCC4 38 60 00 00 */ li r3, 0 -/* 80080D68 0007DCC8 40 82 00 0C */ bne lbl_80080D74 -/* 80080D6C 0007DCCC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80080D70 0007DCD0 4D 82 00 20 */ beqlr -lbl_80080D74: -/* 80080D74 0007DCD4 38 60 00 01 */ li r3, 1 -/* 80080D78 0007DCD8 4E 80 00 20 */ blr -lbl_80080D7C: -/* 80080D7C 0007DCDC 7C A3 2B 78 */ mr r3, r5 -/* 80080D80 0007DCE0 4E 80 00 20 */ blr -lbl_80080D84: -/* 80080D84 0007DCE4 38 60 00 00 */ li r3, 0 -/* 80080D88 0007DCE8 4E 80 00 20 */ blr -lbl_80080D8C: -/* 80080D8C 0007DCEC 38 60 00 01 */ li r3, 1 -/* 80080D90 0007DCF0 4E 80 00 20 */ blr - -.global PostConstruct__8CMapAreaFv -PostConstruct__8CMapAreaFv: -/* 80080D94 0007DCF4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80080D98 0007DCF8 7C 08 02 A6 */ mflr r0 -/* 80080D9C 0007DCFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80080DA0 0007DD00 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80080DA4 0007DD04 7C 7F 1B 78 */ mr r31, r3 -/* 80080DA8 0007DD08 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80080DAC 0007DD0C 3B C0 00 00 */ li r30, 0 -/* 80080DB0 0007DD10 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80080DB4 0007DD14 3B A0 00 00 */ li r29, 0 -/* 80080DB8 0007DD18 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80080DBC 0007DD1C 90 7F 00 38 */ stw r3, 0x38(r31) -/* 80080DC0 0007DD20 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80080DC4 0007DD24 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80080DC8 0007DD28 7C 63 02 14 */ add r3, r3, r0 -/* 80080DCC 0007DD2C 90 7F 00 3C */ stw r3, 0x3c(r31) -/* 80080DD0 0007DD30 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80080DD4 0007DD34 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80080DD8 0007DD38 7C 63 02 14 */ add r3, r3, r0 -/* 80080DDC 0007DD3C 90 7F 00 40 */ stw r3, 0x40(r31) -/* 80080DE0 0007DD40 48 00 00 1C */ b lbl_80080DFC -lbl_80080DE4: -/* 80080DE4 0007DD44 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 80080DE8 0007DD48 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80080DEC 0007DD4C 7C 60 F2 14 */ add r3, r0, r30 -/* 80080DF0 0007DD50 48 06 83 99 */ bl PostConstruct__15CMappableObjectFPCv -/* 80080DF4 0007DD54 3B DE 00 50 */ addi r30, r30, 0x50 -/* 80080DF8 0007DD58 3B BD 00 01 */ addi r29, r29, 1 -lbl_80080DFC: -/* 80080DFC 0007DD5C 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80080E00 0007DD60 7C 1D 00 00 */ cmpw r29, r0 -/* 80080E04 0007DD64 41 80 FF E0 */ blt lbl_80080DE4 -/* 80080E08 0007DD68 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80080E0C 0007DD6C 38 80 00 00 */ li r4, 0 -/* 80080E10 0007DD70 48 00 00 0C */ b lbl_80080E1C -lbl_80080E14: -/* 80080E14 0007DD74 38 63 00 04 */ addi r3, r3, 4 -/* 80080E18 0007DD78 38 84 00 01 */ addi r4, r4, 1 -lbl_80080E1C: -/* 80080E1C 0007DD7C 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80080E20 0007DD80 1C 00 00 03 */ mulli r0, r0, 3 -/* 80080E24 0007DD84 7C 04 00 00 */ cmpw r4, r0 -/* 80080E28 0007DD88 41 80 FF EC */ blt lbl_80080E14 -/* 80080E2C 0007DD8C 3B A0 00 00 */ li r29, 0 -/* 80080E30 0007DD90 3B C0 00 00 */ li r30, 0 -/* 80080E34 0007DD94 48 00 00 1C */ b lbl_80080E50 -lbl_80080E38: -/* 80080E38 0007DD98 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 80080E3C 0007DD9C 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80080E40 0007DDA0 7C 60 F2 14 */ add r3, r0, r30 -/* 80080E44 0007DDA4 4B FF FB B5 */ bl PostConstruct__Q28CMapArea15CMapAreaSurfaceFPCv -/* 80080E48 0007DDA8 3B DE 00 20 */ addi r30, r30, 0x20 -/* 80080E4C 0007DDAC 3B BD 00 01 */ addi r29, r29, 1 -lbl_80080E50: -/* 80080E50 0007DDB0 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 80080E54 0007DDB4 7C 1D 00 00 */ cmpw r29, r0 -/* 80080E58 0007DDB8 41 80 FF E0 */ blt lbl_80080E38 -/* 80080E5C 0007DDBC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80080E60 0007DDC0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80080E64 0007DDC4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80080E68 0007DDC8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80080E6C 0007DDCC 7C 08 03 A6 */ mtlr r0 -/* 80080E70 0007DDD0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80080E74 0007DDD4 4E 80 00 20 */ blr - -.global __dt__8CMapAreaFv -__dt__8CMapAreaFv: -/* 80080E78 0007DDD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80080E7C 0007DDDC 7C 08 02 A6 */ mflr r0 -/* 80080E80 0007DDE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80080E84 0007DDE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80080E88 0007DDE8 7C 9F 23 78 */ mr r31, r4 -/* 80080E8C 0007DDEC 93 C1 00 08 */ stw r30, 8(r1) -/* 80080E90 0007DDF0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80080E94 0007DDF4 41 82 00 4C */ beq lbl_80080EE0 -/* 80080E98 0007DDF8 80 BE 00 34 */ lwz r5, 0x34(r30) -/* 80080E9C 0007DDFC 38 00 00 00 */ li r0, 0 -/* 80080EA0 0007DE00 80 8D A2 F0 */ lwz r4, lbl_805A8EB0@sda21(r13) -/* 80080EA4 0007DE04 38 60 00 01 */ li r3, 1 -/* 80080EA8 0007DE08 38 A5 00 48 */ addi r5, r5, 0x48 -/* 80080EAC 0007DE0C 7C 85 20 50 */ subf r4, r5, r4 -/* 80080EB0 0007DE10 90 8D A2 F0 */ stw r4, lbl_805A8EB0@sda21(r13) -/* 80080EB4 0007DE14 80 9E 00 44 */ lwz r4, 0x44(r30) -/* 80080EB8 0007DE18 90 1E 00 44 */ stw r0, 0x44(r30) -/* 80080EBC 0007DE1C 48 2E BD 61 */ bl sub_8036cc1c -/* 80080EC0 0007DE20 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 80080EC4 0007DE24 41 82 00 0C */ beq lbl_80080ED0 -/* 80080EC8 0007DE28 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 80080ECC 0007DE2C 48 29 4A 65 */ bl Free__7CMemoryFPCv -lbl_80080ED0: -/* 80080ED0 0007DE30 7F E0 07 35 */ extsh. r0, r31 -/* 80080ED4 0007DE34 40 81 00 0C */ ble lbl_80080EE0 -/* 80080ED8 0007DE38 7F C3 F3 78 */ mr r3, r30 -/* 80080EDC 0007DE3C 48 29 4A 55 */ bl Free__7CMemoryFPCv -lbl_80080EE0: -/* 80080EE0 0007DE40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80080EE4 0007DE44 7F C3 F3 78 */ mr r3, r30 -/* 80080EE8 0007DE48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80080EEC 0007DE4C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80080EF0 0007DE50 7C 08 03 A6 */ mtlr r0 -/* 80080EF4 0007DE54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80080EF8 0007DE58 4E 80 00 20 */ blr - -.global __ct__8CMapAreaFR12CInputStreamUi -__ct__8CMapAreaFR12CInputStreamUi: -/* 80080EFC 0007DE5C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80080F00 0007DE60 7C 08 02 A6 */ mflr r0 -/* 80080F04 0007DE64 90 01 00 24 */ stw r0, 0x24(r1) -/* 80080F08 0007DE68 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80080F0C 0007DE6C 7C BF 2B 78 */ mr r31, r5 -/* 80080F10 0007DE70 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80080F14 0007DE74 7C 9E 23 78 */ mr r30, r4 -/* 80080F18 0007DE78 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80080F1C 0007DE7C 7C 7D 1B 78 */ mr r29, r3 -/* 80080F20 0007DE80 7F C3 F3 78 */ mr r3, r30 -/* 80080F24 0007DE84 48 2B DD 61 */ bl ReadLong__12CInputStreamFv -/* 80080F28 0007DE88 90 7D 00 00 */ stw r3, 0(r29) -/* 80080F2C 0007DE8C 7F C3 F3 78 */ mr r3, r30 -/* 80080F30 0007DE90 48 2B DD 55 */ bl ReadLong__12CInputStreamFv -/* 80080F34 0007DE94 90 7D 00 04 */ stw r3, 4(r29) -/* 80080F38 0007DE98 7F C3 F3 78 */ mr r3, r30 -/* 80080F3C 0007DE9C 48 2B DD 49 */ bl ReadLong__12CInputStreamFv -/* 80080F40 0007DEA0 90 7D 00 08 */ stw r3, 8(r29) -/* 80080F44 0007DEA4 7F C3 F3 78 */ mr r3, r30 -/* 80080F48 0007DEA8 48 2B DD 3D */ bl ReadLong__12CInputStreamFv -/* 80080F4C 0007DEAC 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80080F50 0007DEB0 7F C4 F3 78 */ mr r4, r30 -/* 80080F54 0007DEB4 38 7D 00 10 */ addi r3, r29, 0x10 -/* 80080F58 0007DEB8 48 2B 75 E5 */ bl __ct__6CAABoxFR12CInputStream -/* 80080F5C 0007DEBC 7F C3 F3 78 */ mr r3, r30 -/* 80080F60 0007DEC0 48 2B DD 25 */ bl ReadLong__12CInputStreamFv -/* 80080F64 0007DEC4 90 7D 00 28 */ stw r3, 0x28(r29) -/* 80080F68 0007DEC8 7F C3 F3 78 */ mr r3, r30 -/* 80080F6C 0007DECC 48 2B DD 19 */ bl ReadLong__12CInputStreamFv -/* 80080F70 0007DED0 90 7D 00 2C */ stw r3, 0x2c(r29) -/* 80080F74 0007DED4 7F C3 F3 78 */ mr r3, r30 -/* 80080F78 0007DED8 48 2B DD 0D */ bl ReadLong__12CInputStreamFv -/* 80080F7C 0007DEDC 90 7D 00 30 */ stw r3, 0x30(r29) -/* 80080F80 0007DEE0 38 80 00 00 */ li r4, 0 -/* 80080F84 0007DEE4 38 1F FF CC */ addi r0, r31, -52 -/* 80080F88 0007DEE8 3C 60 80 3D */ lis r3, lbl_803CD66C@ha -/* 80080F8C 0007DEEC 90 9D 00 44 */ stw r4, 0x44(r29) -/* 80080F90 0007DEF0 38 83 D6 6C */ addi r4, r3, lbl_803CD66C@l -/* 80080F94 0007DEF4 38 A0 00 00 */ li r5, 0 -/* 80080F98 0007DEF8 90 1D 00 34 */ stw r0, 0x34(r29) -/* 80080F9C 0007DEFC 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 80080FA0 0007DF00 48 29 48 79 */ bl __nwa__FUlPCcPCc -/* 80080FA4 0007DF04 7C 7F 1B 78 */ mr r31, r3 -/* 80080FA8 0007DF08 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 80080FAC 0007DF0C 48 29 49 85 */ bl Free__7CMemoryFPCv -/* 80080FB0 0007DF10 93 FD 00 44 */ stw r31, 0x44(r29) -/* 80080FB4 0007DF14 7F C3 F3 78 */ mr r3, r30 -/* 80080FB8 0007DF18 80 9D 00 44 */ lwz r4, 0x44(r29) -/* 80080FBC 0007DF1C 80 BD 00 34 */ lwz r5, 0x34(r29) -/* 80080FC0 0007DF20 48 2B DF 95 */ bl Get__12CInputStreamFPvUl -/* 80080FC4 0007DF24 7F A3 EB 78 */ mr r3, r29 -/* 80080FC8 0007DF28 4B FF FD CD */ bl PostConstruct__8CMapAreaFv -/* 80080FCC 0007DF2C 80 1D 00 2C */ lwz r0, 0x2c(r29) -/* 80080FD0 0007DF30 80 7D 00 3C */ lwz r3, 0x3c(r29) -/* 80080FD4 0007DF34 1C 80 00 0C */ mulli r4, r0, 0xc -/* 80080FD8 0007DF38 48 2F DA D9 */ bl DCFlushRange -/* 80080FDC 0007DF3C 80 8D A2 F0 */ lwz r4, lbl_805A8EB0@sda21(r13) -/* 80080FE0 0007DF40 7F A3 EB 78 */ mr r3, r29 -/* 80080FE4 0007DF44 80 1D 00 34 */ lwz r0, 0x34(r29) -/* 80080FE8 0007DF48 7C 80 22 14 */ add r4, r0, r4 -/* 80080FEC 0007DF4C 38 04 00 48 */ addi r0, r4, 0x48 -/* 80080FF0 0007DF50 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) -/* 80080FF4 0007DF54 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80080FF8 0007DF58 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80080FFC 0007DF5C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80081000 0007DF60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80081004 0007DF64 7C 08 03 A6 */ mtlr r0 -/* 80081008 0007DF68 38 21 00 20 */ addi r1, r1, 0x20 -/* 8008100C 0007DF6C 4E 80 00 20 */ blr - -.global __sinit_CMapArea_cpp -__sinit_CMapArea_cpp: -/* 80081010 0007DF70 C0 42 89 8C */ lfs f2, lbl_805AA6AC@sda21(r2) -/* 80081014 0007DF74 3C 60 80 47 */ lis r3, lbl_8046C3E0@ha -/* 80081018 0007DF78 C0 22 89 A8 */ lfs f1, lbl_805AA6C8@sda21(r2) -/* 8008101C 0007DF7C D4 43 C3 E0 */ stfsu f2, lbl_8046C3E0@l(r3) -/* 80081020 0007DF80 C0 02 89 AC */ lfs f0, lbl_805AA6CC@sda21(r2) -/* 80081024 0007DF84 D0 43 00 04 */ stfs f2, 4(r3) -/* 80081028 0007DF88 D0 23 00 08 */ stfs f1, 8(r3) -/* 8008102C 0007DF8C D0 43 00 0C */ stfs f2, 0xc(r3) -/* 80081030 0007DF90 D0 43 00 10 */ stfs f2, 0x10(r3) -/* 80081034 0007DF94 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 80081038 0007DF98 D0 43 00 18 */ stfs f2, 0x18(r3) -/* 8008103C 0007DF9C D0 43 00 1C */ stfs f2, 0x1c(r3) -/* 80081040 0007DFA0 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80081044 0007DFA4 4E 80 00 20 */ blr - -.global SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager -SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager: -/* 80081048 0007DFA8 94 21 F1 C0 */ stwu r1, -0xe40(r1) -/* 8008104C 0007DFAC 7C 08 02 A6 */ mflr r0 -/* 80081050 0007DFB0 90 01 0E 44 */ stw r0, 0xe44(r1) -/* 80081054 0007DFB4 DB E1 0E 30 */ stfd f31, 0xe30(r1) -/* 80081058 0007DFB8 F3 E1 0E 38 */ psq_st f31, -456(r1), 0, qr0 -/* 8008105C 0007DFBC DB C1 0E 20 */ stfd f30, 0xe20(r1) -/* 80081060 0007DFC0 F3 C1 0E 28 */ psq_st f30, -472(r1), 0, qr0 -/* 80081064 0007DFC4 DB A1 0E 10 */ stfd f29, 0xe10(r1) -/* 80081068 0007DFC8 F3 A1 0E 18 */ psq_st f29, -488(r1), 0, qr0 -/* 8008106C 0007DFCC DB 81 0E 00 */ stfd f28, 0xe00(r1) -/* 80081070 0007DFD0 F3 81 0E 08 */ psq_st f28, -504(r1), 0, qr0 -/* 80081074 0007DFD4 DB 61 0D F0 */ stfd f27, 0xdf0(r1) -/* 80081078 0007DFD8 F3 61 0D F8 */ psq_st f27, -520(r1), 0, qr0 -/* 8008107C 0007DFDC BF 01 0D D0 */ stmw r24, 0xdd0(r1) -/* 80081080 0007DFE0 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) -/* 80081084 0007DFE4 38 00 00 00 */ li r0, 0 -/* 80081088 0007DFE8 80 ED 85 34 */ lwz r7, lbl_805A70F4@sda21(r13) -/* 8008108C 0007DFEC 7C 7B 1B 78 */ mr r27, r3 -/* 80081090 0007DFF0 B0 C1 00 08 */ sth r6, 8(r1) -/* 80081094 0007DFF4 7C 9C 23 78 */ mr r28, r4 -/* 80081098 0007DFF8 7C BD 2B 78 */ mr r29, r5 -/* 8008109C 0007DFFC 7C E5 3B 78 */ mr r5, r7 -/* 800810A0 0007E000 90 01 05 B8 */ stw r0, 0x5b8(r1) -/* 800810A4 0007E004 38 60 00 00 */ li r3, 0 -/* 800810A8 0007E008 38 80 00 01 */ li r4, 1 -/* 800810AC 0007E00C 90 01 03 74 */ stw r0, 0x374(r1) -/* 800810B0 0007E010 90 01 01 30 */ stw r0, 0x130(r1) -/* 800810B4 0007E014 48 30 8E 41 */ bl __shl2i -/* 800810B8 0007E018 80 AD 85 38 */ lwz r5, lbl_805A70F8@sda21(r13) -/* 800810BC 0007E01C 7C 9E 23 78 */ mr r30, r4 -/* 800810C0 0007E020 7C 7A 1B 78 */ mr r26, r3 -/* 800810C4 0007E024 38 60 00 00 */ li r3, 0 -/* 800810C8 0007E028 38 80 00 01 */ li r4, 1 -/* 800810CC 0007E02C 48 30 8E 29 */ bl __shl2i -/* 800810D0 0007E030 80 AD 85 3C */ lwz r5, lbl_805A70FC@sda21(r13) -/* 800810D4 0007E034 7F DE 23 78 */ or r30, r30, r4 -/* 800810D8 0007E038 7F 5A 1B 78 */ or r26, r26, r3 -/* 800810DC 0007E03C 38 60 00 00 */ li r3, 0 -/* 800810E0 0007E040 38 80 00 01 */ li r4, 1 -/* 800810E4 0007E044 48 30 8E 11 */ bl __shl2i -/* 800810E8 0007E048 80 AD 85 40 */ lwz r5, lbl_805A7100@sda21(r13) -/* 800810EC 0007E04C 7F DE 23 78 */ or r30, r30, r4 -/* 800810F0 0007E050 7F 5A 1B 78 */ or r26, r26, r3 -/* 800810F4 0007E054 38 60 00 00 */ li r3, 0 -/* 800810F8 0007E058 38 80 00 01 */ li r4, 1 -/* 800810FC 0007E05C 48 30 8D F9 */ bl __shl2i -/* 80081100 0007E060 80 AD 85 44 */ lwz r5, lbl_805A7104@sda21(r13) -/* 80081104 0007E064 7C 98 23 78 */ mr r24, r4 -/* 80081108 0007E068 7C 79 1B 78 */ mr r25, r3 -/* 8008110C 0007E06C 38 60 00 00 */ li r3, 0 -/* 80081110 0007E070 38 80 00 01 */ li r4, 1 -/* 80081114 0007E074 48 30 8D E1 */ bl __shl2i -/* 80081118 0007E078 80 AD 85 48 */ lwz r5, lbl_805A7108@sda21(r13) -/* 8008111C 0007E07C 7F 18 23 78 */ or r24, r24, r4 -/* 80081120 0007E080 7F 39 1B 78 */ or r25, r25, r3 -/* 80081124 0007E084 38 60 00 00 */ li r3, 0 -/* 80081128 0007E088 38 80 00 01 */ li r4, 1 -/* 8008112C 0007E08C 48 30 8D C9 */ bl __shl2i -/* 80081130 0007E090 80 AD 85 4C */ lwz r5, lbl_805A710C@sda21(r13) -/* 80081134 0007E094 7F 18 23 78 */ or r24, r24, r4 -/* 80081138 0007E098 7F 39 1B 78 */ or r25, r25, r3 -/* 8008113C 0007E09C 38 60 00 00 */ li r3, 0 -/* 80081140 0007E0A0 38 80 00 01 */ li r4, 1 -/* 80081144 0007E0A4 48 30 8D B1 */ bl __shl2i -/* 80081148 0007E0A8 38 00 00 03 */ li r0, 3 -/* 8008114C 0007E0AC 7F 18 23 78 */ or r24, r24, r4 -/* 80081150 0007E0B0 7F 39 1B 78 */ or r25, r25, r3 -/* 80081154 0007E0B4 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80081158 0007E0B8 C3 A2 89 B0 */ lfs f29, lbl_805AA6D0@sda21(r2) -/* 8008115C 0007E0BC 3B E1 03 78 */ addi r31, r1, 0x378 -/* 80081160 0007E0C0 93 C1 00 BC */ stw r30, 0xbc(r1) -/* 80081164 0007E0C4 3B C1 01 34 */ addi r30, r1, 0x134 -/* 80081168 0007E0C8 C3 C2 89 B8 */ lfs f30, lbl_805AA6D8@sda21(r2) -/* 8008116C 0007E0CC 93 41 00 B8 */ stw r26, 0xb8(r1) -/* 80081170 0007E0D0 C3 E2 89 BC */ lfs f31, lbl_805AA6DC@sda21(r2) -/* 80081174 0007E0D4 93 01 00 C4 */ stw r24, 0xc4(r1) -/* 80081178 0007E0D8 C3 82 89 B4 */ lfs f28, lbl_805AA6D4@sda21(r2) -/* 8008117C 0007E0DC 93 21 00 C0 */ stw r25, 0xc0(r1) -/* 80081180 0007E0E0 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 80081184 0007E0E4 48 00 03 04 */ b lbl_80081488 -lbl_80081188: -/* 80081188 0007E0E8 FC 20 E8 90 */ fmr f1, f29 -/* 8008118C 0007E0EC C0 42 89 B4 */ lfs f2, lbl_805AA6D4@sda21(r2) -/* 80081190 0007E0F0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80081194 0007E0F4 38 9B 03 7C */ addi r4, r27, 0x37c -/* 80081198 0007E0F8 4B FD AE 39 */ bl GetInterpolatedSplinePointByTime__13CCameraSplineCFff -/* 8008119C 0007E0FC C0 41 00 60 */ lfs f2, 0x60(r1) -/* 800811A0 0007E100 EC 3E E8 2A */ fadds f1, f30, f29 -/* 800811A4 0007E104 C0 61 00 64 */ lfs f3, 0x64(r1) -/* 800811A8 0007E108 38 61 00 54 */ addi r3, r1, 0x54 -/* 800811AC 0007E10C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 800811B0 0007E110 38 9B 03 7C */ addi r4, r27, 0x37c -/* 800811B4 0007E114 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 800811B8 0007E118 C0 42 89 B4 */ lfs f2, lbl_805AA6D4@sda21(r2) -/* 800811BC 0007E11C D0 61 00 94 */ stfs f3, 0x94(r1) -/* 800811C0 0007E120 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 800811C4 0007E124 4B FD AE 0D */ bl GetInterpolatedSplinePointByTime__13CCameraSplineCFff -/* 800811C8 0007E128 C0 A1 00 54 */ lfs f5, 0x54(r1) -/* 800811CC 0007E12C 38 61 00 78 */ addi r3, r1, 0x78 -/* 800811D0 0007E130 C0 81 00 58 */ lfs f4, 0x58(r1) -/* 800811D4 0007E134 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 800811D8 0007E138 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 800811DC 0007E13C C0 21 00 98 */ lfs f1, 0x98(r1) -/* 800811E0 0007E140 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 800811E4 0007E144 EC 44 10 28 */ fsubs f2, f4, f2 -/* 800811E8 0007E148 EC 23 08 28 */ fsubs f1, f3, f1 -/* 800811EC 0007E14C D0 A1 00 84 */ stfs f5, 0x84(r1) -/* 800811F0 0007E150 EC 05 00 28 */ fsubs f0, f5, f0 -/* 800811F4 0007E154 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 800811F8 0007E158 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 800811FC 0007E15C D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80081200 0007E160 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 80081204 0007E164 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 80081208 0007E168 48 29 36 B1 */ bl Magnitude__9CVector3fCFv -/* 8008120C 0007E16C FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80081210 0007E170 40 81 01 84 */ ble lbl_80081394 -/* 80081214 0007E174 38 61 00 78 */ addi r3, r1, 0x78 -/* 80081218 0007E178 48 29 36 A1 */ bl Magnitude__9CVector3fCFv -/* 8008121C 0007E17C FF 60 08 90 */ fmr f27, f1 -/* 80081220 0007E180 38 61 00 48 */ addi r3, r1, 0x48 -/* 80081224 0007E184 38 81 00 78 */ addi r4, r1, 0x78 -/* 80081228 0007E188 48 29 36 29 */ bl AsNormalized__9CVector3fCFv -/* 8008122C 0007E18C FC 20 D8 90 */ fmr f1, f27 -/* 80081230 0007E190 7F A4 EB 78 */ mr r4, r29 -/* 80081234 0007E194 38 61 01 00 */ addi r3, r1, 0x100 -/* 80081238 0007E198 38 A1 00 08 */ addi r5, r1, 8 -/* 8008123C 0007E19C 38 C1 00 90 */ addi r6, r1, 0x90 -/* 80081240 0007E1A0 38 E1 00 48 */ addi r7, r1, 0x48 -/* 80081244 0007E1A4 39 01 00 B8 */ addi r8, r1, 0xb8 -/* 80081248 0007E1A8 39 21 05 B8 */ addi r9, r1, 0x5b8 -/* 8008124C 0007E1AC 4B FC BD 79 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80081250 0007E1B0 80 01 03 74 */ lwz r0, 0x374(r1) -/* 80081254 0007E1B4 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80081258 0007E1B8 7C 9F 02 15 */ add. r4, r31, r0 -/* 8008125C 0007E1BC 41 82 00 5C */ beq lbl_800812B8 -/* 80081260 0007E1C0 C0 21 01 00 */ lfs f1, 0x100(r1) -/* 80081264 0007E1C4 C0 01 01 04 */ lfs f0, 0x104(r1) -/* 80081268 0007E1C8 D0 24 00 00 */ stfs f1, 0(r4) -/* 8008126C 0007E1CC C0 21 01 08 */ lfs f1, 0x108(r1) -/* 80081270 0007E1D0 D0 04 00 04 */ stfs f0, 4(r4) -/* 80081274 0007E1D4 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 80081278 0007E1D8 D0 24 00 08 */ stfs f1, 8(r4) -/* 8008127C 0007E1DC C0 21 01 10 */ lfs f1, 0x110(r1) -/* 80081280 0007E1E0 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80081284 0007E1E4 C0 01 01 14 */ lfs f0, 0x114(r1) -/* 80081288 0007E1E8 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 8008128C 0007E1EC C0 21 01 18 */ lfs f1, 0x118(r1) -/* 80081290 0007E1F0 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80081294 0007E1F4 C0 01 01 1C */ lfs f0, 0x11c(r1) -/* 80081298 0007E1F8 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 8008129C 0007E1FC 88 01 01 20 */ lbz r0, 0x120(r1) -/* 800812A0 0007E200 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 800812A4 0007E204 80 61 01 2C */ lwz r3, 0x12c(r1) -/* 800812A8 0007E208 98 04 00 20 */ stb r0, 0x20(r4) -/* 800812AC 0007E20C 80 01 01 28 */ lwz r0, 0x128(r1) -/* 800812B0 0007E210 90 64 00 2C */ stw r3, 0x2c(r4) -/* 800812B4 0007E214 90 04 00 28 */ stw r0, 0x28(r4) -lbl_800812B8: -/* 800812B8 0007E218 80 A1 03 74 */ lwz r5, 0x374(r1) -/* 800812BC 0007E21C 38 61 00 30 */ addi r3, r1, 0x30 -/* 800812C0 0007E220 38 81 00 78 */ addi r4, r1, 0x78 -/* 800812C4 0007E224 38 05 00 01 */ addi r0, r5, 1 -/* 800812C8 0007E228 90 01 03 74 */ stw r0, 0x374(r1) -/* 800812CC 0007E22C 48 29 35 85 */ bl AsNormalized__9CVector3fCFv -/* 800812D0 0007E230 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 800812D4 0007E234 38 61 00 78 */ addi r3, r1, 0x78 -/* 800812D8 0007E238 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 800812DC 0007E23C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 800812E0 0007E240 FC 40 10 50 */ fneg f2, f2 -/* 800812E4 0007E244 FC 20 08 50 */ fneg f1, f1 -/* 800812E8 0007E248 FC 00 00 50 */ fneg f0, f0 -/* 800812EC 0007E24C D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800812F0 0007E250 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 800812F4 0007E254 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800812F8 0007E258 48 29 35 C1 */ bl Magnitude__9CVector3fCFv -/* 800812FC 0007E25C 7F A4 EB 78 */ mr r4, r29 -/* 80081300 0007E260 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 80081304 0007E264 38 A1 00 08 */ addi r5, r1, 8 -/* 80081308 0007E268 38 C1 00 84 */ addi r6, r1, 0x84 -/* 8008130C 0007E26C 38 E1 00 3C */ addi r7, r1, 0x3c -/* 80081310 0007E270 39 01 00 B8 */ addi r8, r1, 0xb8 -/* 80081314 0007E274 39 21 05 B8 */ addi r9, r1, 0x5b8 -/* 80081318 0007E278 4B FC BC AD */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 8008131C 0007E27C 80 01 01 30 */ lwz r0, 0x130(r1) -/* 80081320 0007E280 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80081324 0007E284 7C 9E 02 15 */ add. r4, r30, r0 -/* 80081328 0007E288 41 82 00 5C */ beq lbl_80081384 -/* 8008132C 0007E28C C0 21 00 D0 */ lfs f1, 0xd0(r1) -/* 80081330 0007E290 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 80081334 0007E294 D0 24 00 00 */ stfs f1, 0(r4) -/* 80081338 0007E298 C0 21 00 D8 */ lfs f1, 0xd8(r1) -/* 8008133C 0007E29C D0 04 00 04 */ stfs f0, 4(r4) -/* 80081340 0007E2A0 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 80081344 0007E2A4 D0 24 00 08 */ stfs f1, 8(r4) -/* 80081348 0007E2A8 C0 21 00 E0 */ lfs f1, 0xe0(r1) -/* 8008134C 0007E2AC D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80081350 0007E2B0 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 80081354 0007E2B4 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80081358 0007E2B8 C0 21 00 E8 */ lfs f1, 0xe8(r1) -/* 8008135C 0007E2BC D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80081360 0007E2C0 C0 01 00 EC */ lfs f0, 0xec(r1) -/* 80081364 0007E2C4 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80081368 0007E2C8 88 01 00 F0 */ lbz r0, 0xf0(r1) -/* 8008136C 0007E2CC D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80081370 0007E2D0 80 61 00 FC */ lwz r3, 0xfc(r1) -/* 80081374 0007E2D4 98 04 00 20 */ stb r0, 0x20(r4) -/* 80081378 0007E2D8 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 8008137C 0007E2DC 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80081380 0007E2E0 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80081384: -/* 80081384 0007E2E4 80 61 01 30 */ lwz r3, 0x130(r1) -/* 80081388 0007E2E8 38 03 00 01 */ addi r0, r3, 1 -/* 8008138C 0007E2EC 90 01 01 30 */ stw r0, 0x130(r1) -/* 80081390 0007E2F0 48 00 00 F4 */ b lbl_80081484 -lbl_80081394: -/* 80081394 0007E2F4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80081398 0007E2F8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8008139C 0007E2FC C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 800813A0 0007E300 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800813A4 0007E304 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800813A8 0007E308 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800813AC 0007E30C 48 29 35 4D */ bl Normalize__9CVector3fFv -/* 800813B0 0007E310 80 01 03 74 */ lwz r0, 0x374(r1) -/* 800813B4 0007E314 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 800813B8 0007E318 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 800813BC 0007E31C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 800813C0 0007E320 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 800813C4 0007E324 7C 7F 02 15 */ add. r3, r31, r0 -/* 800813C8 0007E328 41 82 00 38 */ beq lbl_80081400 -/* 800813CC 0007E32C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800813D0 0007E330 38 00 00 00 */ li r0, 0 -/* 800813D4 0007E334 D0 03 00 00 */ stfs f0, 0(r3) -/* 800813D8 0007E338 D0 03 00 04 */ stfs f0, 4(r3) -/* 800813DC 0007E33C D0 03 00 08 */ stfs f0, 8(r3) -/* 800813E0 0007E340 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800813E4 0007E344 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 800813E8 0007E348 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 800813EC 0007E34C D0 63 00 18 */ stfs f3, 0x18(r3) -/* 800813F0 0007E350 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 800813F4 0007E354 98 03 00 20 */ stb r0, 0x20(r3) -/* 800813F8 0007E358 90 03 00 2C */ stw r0, 0x2c(r3) -/* 800813FC 0007E35C 90 03 00 28 */ stw r0, 0x28(r3) -lbl_80081400: -/* 80081400 0007E360 80 81 03 74 */ lwz r4, 0x374(r1) -/* 80081404 0007E364 38 61 00 0C */ addi r3, r1, 0xc -/* 80081408 0007E368 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008140C 0007E36C C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80081410 0007E370 38 04 00 01 */ addi r0, r4, 1 -/* 80081414 0007E374 90 01 03 74 */ stw r0, 0x374(r1) -/* 80081418 0007E378 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8008141C 0007E37C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80081420 0007E380 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80081424 0007E384 48 29 34 D5 */ bl Normalize__9CVector3fFv -/* 80081428 0007E388 80 01 01 30 */ lwz r0, 0x130(r1) -/* 8008142C 0007E38C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80081430 0007E390 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80081434 0007E394 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80081438 0007E398 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8008143C 0007E39C 7C 7E 02 15 */ add. r3, r30, r0 -/* 80081440 0007E3A0 41 82 00 38 */ beq lbl_80081478 -/* 80081444 0007E3A4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80081448 0007E3A8 38 00 00 00 */ li r0, 0 -/* 8008144C 0007E3AC D0 03 00 00 */ stfs f0, 0(r3) -/* 80081450 0007E3B0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80081454 0007E3B4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80081458 0007E3B8 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8008145C 0007E3BC D0 23 00 10 */ stfs f1, 0x10(r3) -/* 80081460 0007E3C0 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 80081464 0007E3C4 D0 63 00 18 */ stfs f3, 0x18(r3) -/* 80081468 0007E3C8 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8008146C 0007E3CC 98 03 00 20 */ stb r0, 0x20(r3) -/* 80081470 0007E3D0 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80081474 0007E3D4 90 03 00 28 */ stw r0, 0x28(r3) -lbl_80081478: -/* 80081478 0007E3D8 80 61 01 30 */ lwz r3, 0x130(r1) -/* 8008147C 0007E3DC 38 03 00 01 */ addi r0, r3, 1 -/* 80081480 0007E3E0 90 01 01 30 */ stw r0, 0x130(r1) -lbl_80081484: -/* 80081484 0007E3E4 EF BD F0 2A */ fadds f29, f29, f30 -lbl_80081488: -/* 80081488 0007E3E8 FC 1D E0 40 */ fcmpo cr0, f29, f28 -/* 8008148C 0007E3EC 41 80 FC FC */ blt lbl_80081188 -/* 80081490 0007E3F0 83 A1 03 74 */ lwz r29, 0x374(r1) -/* 80081494 0007E3F4 7F F8 FB 78 */ mr r24, r31 -/* 80081498 0007E3F8 3B 20 00 00 */ li r25, 0 -/* 8008149C 0007E3FC 48 00 01 FC */ b lbl_80081698 -lbl_800814A0: -/* 800814A0 0007E400 88 18 00 20 */ lbz r0, 0x20(r24) -/* 800814A4 0007E404 28 00 00 00 */ cmplwi r0, 0 -/* 800814A8 0007E408 41 82 01 E4 */ beq lbl_8008168C -/* 800814AC 0007E40C C0 38 00 08 */ lfs f1, 8(r24) -/* 800814B0 0007E410 38 61 00 6C */ addi r3, r1, 0x6c -/* 800814B4 0007E414 C0 1E 00 08 */ lfs f0, 8(r30) -/* 800814B8 0007E418 C0 78 00 0C */ lfs f3, 0xc(r24) -/* 800814BC 0007E41C C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 800814C0 0007E420 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800814C4 0007E424 C0 38 00 04 */ lfs f1, 4(r24) -/* 800814C8 0007E428 C0 1E 00 04 */ lfs f0, 4(r30) -/* 800814CC 0007E42C EC 43 10 28 */ fsubs f2, f3, f2 -/* 800814D0 0007E430 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 800814D4 0007E434 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800814D8 0007E438 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 800814DC 0007E43C D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800814E0 0007E440 48 29 33 D9 */ bl Magnitude__9CVector3fCFv -/* 800814E4 0007E444 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 800814E8 0007E448 C0 02 89 C0 */ lfs f0, lbl_805AA6E0@sda21(r2) -/* 800814EC 0007E44C EC 21 10 28 */ fsubs f1, f1, f2 -/* 800814F0 0007E450 FC 20 0A 10 */ fabs f1, f1 -/* 800814F4 0007E454 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800814F8 0007E458 40 80 00 68 */ bge lbl_80081560 -/* 800814FC 0007E45C 6F 23 80 00 */ xoris r3, r25, 0x8000 -/* 80081500 0007E460 3C 00 43 30 */ lis r0, 0x4330 -/* 80081504 0007E464 90 61 0D C4 */ stw r3, 0xdc4(r1) -/* 80081508 0007E468 38 61 00 24 */ addi r3, r1, 0x24 -/* 8008150C 0007E46C C8 22 89 C8 */ lfd f1, lbl_805AA6E8@sda21(r2) -/* 80081510 0007E470 38 9B 03 7C */ addi r4, r27, 0x37c -/* 80081514 0007E474 90 01 0D C0 */ stw r0, 0xdc0(r1) -/* 80081518 0007E478 C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) -/* 8008151C 0007E47C C8 01 0D C0 */ lfd f0, 0xdc0(r1) -/* 80081520 0007E480 C0 42 89 B4 */ lfs f2, lbl_805AA6D4@sda21(r2) -/* 80081524 0007E484 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80081528 0007E488 EC 23 00 2A */ fadds f1, f3, f0 -/* 8008152C 0007E48C 4B FD AA A5 */ bl GetInterpolatedSplinePointByTime__13CCameraSplineCFff -/* 80081530 0007E490 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80081534 0007E494 C0 18 00 08 */ lfs f0, 8(r24) -/* 80081538 0007E498 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 8008153C 0007E49C C0 58 00 0C */ lfs f2, 0xc(r24) -/* 80081540 0007E4A0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80081544 0007E4A4 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80081548 0007E4A8 C0 18 00 04 */ lfs f0, 4(r24) -/* 8008154C 0007E4AC EC 43 10 28 */ fsubs f2, f3, f2 -/* 80081550 0007E4B0 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 80081554 0007E4B4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80081558 0007E4B8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8008155C 0007E4BC D0 01 00 6C */ stfs f0, 0x6c(r1) -lbl_80081560: -/* 80081560 0007E4C0 38 61 00 6C */ addi r3, r1, 0x6c -/* 80081564 0007E4C4 48 29 33 55 */ bl Magnitude__9CVector3fCFv -/* 80081568 0007E4C8 C0 02 89 C4 */ lfs f0, lbl_805AA6E4@sda21(r2) -/* 8008156C 0007E4CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80081570 0007E4D0 40 81 01 1C */ ble lbl_8008168C -/* 80081574 0007E4D4 1C 79 00 30 */ mulli r3, r25, 0x30 -/* 80081578 0007E4D8 80 A1 01 30 */ lwz r5, 0x130(r1) -/* 8008157C 0007E4DC 38 80 00 00 */ li r4, 0 -/* 80081580 0007E4E0 2C 05 00 00 */ cmpwi r5, 0 -/* 80081584 0007E4E4 38 03 00 28 */ addi r0, r3, 0x28 -/* 80081588 0007E4E8 7C 7F 02 14 */ add r3, r31, r0 -/* 8008158C 0007E4EC 80 03 00 00 */ lwz r0, 0(r3) -/* 80081590 0007E4F0 80 63 00 04 */ lwz r3, 4(r3) -/* 80081594 0007E4F4 90 7C 00 04 */ stw r3, 4(r28) -/* 80081598 0007E4F8 90 1C 00 00 */ stw r0, 0(r28) -/* 8008159C 0007E4FC 40 81 00 40 */ ble lbl_800815DC -/* 800815A0 0007E500 2C 05 00 08 */ cmpwi r5, 8 -/* 800815A4 0007E504 38 65 FF F8 */ addi r3, r5, -8 -/* 800815A8 0007E508 40 81 00 20 */ ble lbl_800815C8 -/* 800815AC 0007E50C 38 03 00 07 */ addi r0, r3, 7 -/* 800815B0 0007E510 54 00 E8 FE */ srwi r0, r0, 3 -/* 800815B4 0007E514 7C 09 03 A6 */ mtctr r0 -/* 800815B8 0007E518 2C 03 00 00 */ cmpwi r3, 0 -/* 800815BC 0007E51C 40 81 00 0C */ ble lbl_800815C8 -lbl_800815C0: -/* 800815C0 0007E520 38 84 00 08 */ addi r4, r4, 8 -/* 800815C4 0007E524 42 00 FF FC */ bdnz lbl_800815C0 -lbl_800815C8: -/* 800815C8 0007E528 7C 04 28 50 */ subf r0, r4, r5 -/* 800815CC 0007E52C 7C 09 03 A6 */ mtctr r0 -/* 800815D0 0007E530 7C 04 28 00 */ cmpw r4, r5 -/* 800815D4 0007E534 40 80 00 08 */ bge lbl_800815DC -lbl_800815D8: -/* 800815D8 0007E538 42 00 00 00 */ bdnz lbl_800815D8 -lbl_800815DC: -/* 800815DC 0007E53C 80 A1 03 74 */ lwz r5, 0x374(r1) -/* 800815E0 0007E540 38 60 00 00 */ li r3, 0 -/* 800815E4 0007E544 90 61 01 30 */ stw r3, 0x130(r1) -/* 800815E8 0007E548 2C 05 00 00 */ cmpwi r5, 0 -/* 800815EC 0007E54C 40 81 00 40 */ ble lbl_8008162C -/* 800815F0 0007E550 2C 05 00 08 */ cmpwi r5, 8 -/* 800815F4 0007E554 38 85 FF F8 */ addi r4, r5, -8 -/* 800815F8 0007E558 40 81 00 20 */ ble lbl_80081618 -/* 800815FC 0007E55C 38 04 00 07 */ addi r0, r4, 7 -/* 80081600 0007E560 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081604 0007E564 7C 09 03 A6 */ mtctr r0 -/* 80081608 0007E568 2C 04 00 00 */ cmpwi r4, 0 -/* 8008160C 0007E56C 40 81 00 0C */ ble lbl_80081618 -lbl_80081610: -/* 80081610 0007E570 38 63 00 08 */ addi r3, r3, 8 -/* 80081614 0007E574 42 00 FF FC */ bdnz lbl_80081610 -lbl_80081618: -/* 80081618 0007E578 7C 03 28 50 */ subf r0, r3, r5 -/* 8008161C 0007E57C 7C 09 03 A6 */ mtctr r0 -/* 80081620 0007E580 7C 03 28 00 */ cmpw r3, r5 -/* 80081624 0007E584 40 80 00 08 */ bge lbl_8008162C -lbl_80081628: -/* 80081628 0007E588 42 00 00 00 */ bdnz lbl_80081628 -lbl_8008162C: -/* 8008162C 0007E58C 80 A1 05 B8 */ lwz r5, 0x5b8(r1) -/* 80081630 0007E590 38 60 00 00 */ li r3, 0 -/* 80081634 0007E594 90 61 03 74 */ stw r3, 0x374(r1) -/* 80081638 0007E598 2C 05 00 00 */ cmpwi r5, 0 -/* 8008163C 0007E59C 40 81 00 40 */ ble lbl_8008167C -/* 80081640 0007E5A0 2C 05 00 08 */ cmpwi r5, 8 -/* 80081644 0007E5A4 38 85 FF F8 */ addi r4, r5, -8 -/* 80081648 0007E5A8 40 81 00 20 */ ble lbl_80081668 -/* 8008164C 0007E5AC 38 04 00 07 */ addi r0, r4, 7 -/* 80081650 0007E5B0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081654 0007E5B4 7C 09 03 A6 */ mtctr r0 -/* 80081658 0007E5B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8008165C 0007E5BC 40 81 00 0C */ ble lbl_80081668 -lbl_80081660: -/* 80081660 0007E5C0 38 63 00 08 */ addi r3, r3, 8 -/* 80081664 0007E5C4 42 00 FF FC */ bdnz lbl_80081660 -lbl_80081668: -/* 80081668 0007E5C8 7C 03 28 50 */ subf r0, r3, r5 -/* 8008166C 0007E5CC 7C 09 03 A6 */ mtctr r0 -/* 80081670 0007E5D0 7C 03 28 00 */ cmpw r3, r5 -/* 80081674 0007E5D4 40 80 00 08 */ bge lbl_8008167C -lbl_80081678: -/* 80081678 0007E5D8 42 00 00 00 */ bdnz lbl_80081678 -lbl_8008167C: -/* 8008167C 0007E5DC 38 00 00 00 */ li r0, 0 -/* 80081680 0007E5E0 38 60 00 00 */ li r3, 0 -/* 80081684 0007E5E4 90 01 05 B8 */ stw r0, 0x5b8(r1) -/* 80081688 0007E5E8 48 00 01 0C */ b lbl_80081794 -lbl_8008168C: -/* 8008168C 0007E5EC 3B 18 00 30 */ addi r24, r24, 0x30 -/* 80081690 0007E5F0 3B DE 00 30 */ addi r30, r30, 0x30 -/* 80081694 0007E5F4 3B 39 00 01 */ addi r25, r25, 1 -lbl_80081698: -/* 80081698 0007E5F8 7C 19 E8 00 */ cmpw r25, r29 -/* 8008169C 0007E5FC 41 80 FE 04 */ blt lbl_800814A0 -/* 800816A0 0007E600 80 A1 01 30 */ lwz r5, 0x130(r1) -/* 800816A4 0007E604 38 60 00 00 */ li r3, 0 -/* 800816A8 0007E608 2C 05 00 00 */ cmpwi r5, 0 -/* 800816AC 0007E60C 40 81 00 40 */ ble lbl_800816EC -/* 800816B0 0007E610 2C 05 00 08 */ cmpwi r5, 8 -/* 800816B4 0007E614 38 85 FF F8 */ addi r4, r5, -8 -/* 800816B8 0007E618 40 81 00 20 */ ble lbl_800816D8 -/* 800816BC 0007E61C 38 04 00 07 */ addi r0, r4, 7 -/* 800816C0 0007E620 54 00 E8 FE */ srwi r0, r0, 3 -/* 800816C4 0007E624 7C 09 03 A6 */ mtctr r0 -/* 800816C8 0007E628 2C 04 00 00 */ cmpwi r4, 0 -/* 800816CC 0007E62C 40 81 00 0C */ ble lbl_800816D8 -lbl_800816D0: -/* 800816D0 0007E630 38 63 00 08 */ addi r3, r3, 8 -/* 800816D4 0007E634 42 00 FF FC */ bdnz lbl_800816D0 -lbl_800816D8: -/* 800816D8 0007E638 7C 03 28 50 */ subf r0, r3, r5 -/* 800816DC 0007E63C 7C 09 03 A6 */ mtctr r0 -/* 800816E0 0007E640 7C 03 28 00 */ cmpw r3, r5 -/* 800816E4 0007E644 40 80 00 08 */ bge lbl_800816EC -lbl_800816E8: -/* 800816E8 0007E648 42 00 00 00 */ bdnz lbl_800816E8 -lbl_800816EC: -/* 800816EC 0007E64C 38 60 00 00 */ li r3, 0 -/* 800816F0 0007E650 2C 1D 00 00 */ cmpwi r29, 0 -/* 800816F4 0007E654 90 61 01 30 */ stw r3, 0x130(r1) -/* 800816F8 0007E658 40 81 00 40 */ ble lbl_80081738 -/* 800816FC 0007E65C 2C 1D 00 08 */ cmpwi r29, 8 -/* 80081700 0007E660 38 9D FF F8 */ addi r4, r29, -8 -/* 80081704 0007E664 40 81 00 20 */ ble lbl_80081724 -/* 80081708 0007E668 38 04 00 07 */ addi r0, r4, 7 -/* 8008170C 0007E66C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081710 0007E670 7C 09 03 A6 */ mtctr r0 -/* 80081714 0007E674 2C 04 00 00 */ cmpwi r4, 0 -/* 80081718 0007E678 40 81 00 0C */ ble lbl_80081724 -lbl_8008171C: -/* 8008171C 0007E67C 38 63 00 08 */ addi r3, r3, 8 -/* 80081720 0007E680 42 00 FF FC */ bdnz lbl_8008171C -lbl_80081724: -/* 80081724 0007E684 7C 03 E8 50 */ subf r0, r3, r29 -/* 80081728 0007E688 7C 09 03 A6 */ mtctr r0 -/* 8008172C 0007E68C 7C 03 E8 00 */ cmpw r3, r29 -/* 80081730 0007E690 40 80 00 08 */ bge lbl_80081738 -lbl_80081734: -/* 80081734 0007E694 42 00 00 00 */ bdnz lbl_80081734 -lbl_80081738: -/* 80081738 0007E698 80 A1 05 B8 */ lwz r5, 0x5b8(r1) -/* 8008173C 0007E69C 38 60 00 00 */ li r3, 0 -/* 80081740 0007E6A0 90 61 03 74 */ stw r3, 0x374(r1) -/* 80081744 0007E6A4 2C 05 00 00 */ cmpwi r5, 0 -/* 80081748 0007E6A8 40 81 00 40 */ ble lbl_80081788 -/* 8008174C 0007E6AC 2C 05 00 08 */ cmpwi r5, 8 -/* 80081750 0007E6B0 38 85 FF F8 */ addi r4, r5, -8 -/* 80081754 0007E6B4 40 81 00 20 */ ble lbl_80081774 -/* 80081758 0007E6B8 38 04 00 07 */ addi r0, r4, 7 -/* 8008175C 0007E6BC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081760 0007E6C0 7C 09 03 A6 */ mtctr r0 -/* 80081764 0007E6C4 2C 04 00 00 */ cmpwi r4, 0 -/* 80081768 0007E6C8 40 81 00 0C */ ble lbl_80081774 -lbl_8008176C: -/* 8008176C 0007E6CC 38 63 00 08 */ addi r3, r3, 8 -/* 80081770 0007E6D0 42 00 FF FC */ bdnz lbl_8008176C -lbl_80081774: -/* 80081774 0007E6D4 7C 03 28 50 */ subf r0, r3, r5 -/* 80081778 0007E6D8 7C 09 03 A6 */ mtctr r0 -/* 8008177C 0007E6DC 7C 03 28 00 */ cmpw r3, r5 -/* 80081780 0007E6E0 40 80 00 08 */ bge lbl_80081788 -lbl_80081784: -/* 80081784 0007E6E4 42 00 00 00 */ bdnz lbl_80081784 -lbl_80081788: -/* 80081788 0007E6E8 38 00 00 00 */ li r0, 0 -/* 8008178C 0007E6EC 38 60 00 01 */ li r3, 1 -/* 80081790 0007E6F0 90 01 05 B8 */ stw r0, 0x5b8(r1) -lbl_80081794: -/* 80081794 0007E6F4 E3 E1 0E 38 */ psq_l f31, -456(r1), 0, qr0 -/* 80081798 0007E6F8 CB E1 0E 30 */ lfd f31, 0xe30(r1) -/* 8008179C 0007E6FC E3 C1 0E 28 */ psq_l f30, -472(r1), 0, qr0 -/* 800817A0 0007E700 CB C1 0E 20 */ lfd f30, 0xe20(r1) -/* 800817A4 0007E704 E3 A1 0E 18 */ psq_l f29, -488(r1), 0, qr0 -/* 800817A8 0007E708 CB A1 0E 10 */ lfd f29, 0xe10(r1) -/* 800817AC 0007E70C E3 81 0E 08 */ psq_l f28, -504(r1), 0, qr0 -/* 800817B0 0007E710 CB 81 0E 00 */ lfd f28, 0xe00(r1) -/* 800817B4 0007E714 E3 61 0D F8 */ psq_l f27, -520(r1), 0, qr0 -/* 800817B8 0007E718 CB 61 0D F0 */ lfd f27, 0xdf0(r1) -/* 800817BC 0007E71C BB 01 0D D0 */ lmw r24, 0xdd0(r1) -/* 800817C0 0007E720 80 01 0E 44 */ lwz r0, 0xe44(r1) -/* 800817C4 0007E724 7C 08 03 A6 */ mtlr r0 -/* 800817C8 0007E728 38 21 0E 40 */ addi r1, r1, 0xe40 -/* 800817CC 0007E72C 4E 80 00 20 */ blr - -.global CheckFailsafeFromMorphBallState__11CBallCameraCFR13CStateManager -CheckFailsafeFromMorphBallState__11CBallCameraCFR13CStateManager: -/* 800817D0 0007E730 94 21 F4 40 */ stwu r1, -0xbc0(r1) -/* 800817D4 0007E734 7C 08 02 A6 */ mflr r0 -/* 800817D8 0007E738 90 01 0B C4 */ stw r0, 0xbc4(r1) -/* 800817DC 0007E73C DB E1 0B B0 */ stfd f31, 0xbb0(r1) -/* 800817E0 0007E740 F3 E1 0B B8 */ psq_st f31, -1096(r1), 0, qr0 -/* 800817E4 0007E744 DB C1 0B A0 */ stfd f30, 0xba0(r1) -/* 800817E8 0007E748 F3 C1 0B A8 */ psq_st f30, -1112(r1), 0, qr0 -/* 800817EC 0007E74C DB A1 0B 90 */ stfd f29, 0xb90(r1) -/* 800817F0 0007E750 F3 A1 0B 98 */ psq_st f29, -1128(r1), 0, qr0 -/* 800817F4 0007E754 DB 81 0B 80 */ stfd f28, 0xb80(r1) -/* 800817F8 0007E758 F3 81 0B 88 */ psq_st f28, -1144(r1), 0, qr0 -/* 800817FC 0007E75C DB 61 0B 70 */ stfd f27, 0xb70(r1) -/* 80081800 0007E760 F3 61 0B 78 */ psq_st f27, -1160(r1), 0, qr0 -/* 80081804 0007E764 BF 61 0B 5C */ stmw r27, 0xb5c(r1) -/* 80081808 0007E768 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 8008180C 0007E76C 38 00 00 00 */ li r0, 0 -/* 80081810 0007E770 90 01 03 48 */ stw r0, 0x348(r1) -/* 80081814 0007E774 7C 7C 1B 78 */ mr r28, r3 -/* 80081818 0007E778 C3 82 89 B0 */ lfs f28, lbl_805AA6D0@sda21(r2) -/* 8008181C 0007E77C 7C 9D 23 78 */ mr r29, r4 -/* 80081820 0007E780 B0 A1 00 08 */ sth r5, 8(r1) -/* 80081824 0007E784 3B E1 02 28 */ addi r31, r1, 0x228 -/* 80081828 0007E788 C3 A2 89 D0 */ lfs f29, lbl_805AA6F0@sda21(r2) -/* 8008182C 0007E78C 3B C1 01 04 */ addi r30, r1, 0x104 -/* 80081830 0007E790 90 01 02 24 */ stw r0, 0x224(r1) -/* 80081834 0007E794 C3 C2 89 B8 */ lfs f30, lbl_805AA6D8@sda21(r2) -/* 80081838 0007E798 90 01 01 00 */ stw r0, 0x100(r1) -/* 8008183C 0007E79C C3 E2 89 BC */ lfs f31, lbl_805AA6DC@sda21(r2) -/* 80081840 0007E7A0 48 00 03 10 */ b lbl_80081B50 -lbl_80081844: -/* 80081844 0007E7A4 EC 3C E8 24 */ fdivs f1, f28, f29 -/* 80081848 0007E7A8 80 9C 04 7C */ lwz r4, 0x47c(r28) -/* 8008184C 0007E7AC 38 61 00 60 */ addi r3, r1, 0x60 -/* 80081850 0007E7B0 38 84 00 90 */ addi r4, r4, 0x90 -/* 80081854 0007E7B4 48 1B D5 71 */ bl "GetFailsafeBezierPoint__11CBallCameraFRCQ24rstl18vector<9CVector3f>f" -/* 80081858 0007E7B8 EC 1E E0 2A */ fadds f0, f30, f28 -/* 8008185C 0007E7BC C0 81 00 60 */ lfs f4, 0x60(r1) -/* 80081860 0007E7C0 C0 61 00 64 */ lfs f3, 0x64(r1) -/* 80081864 0007E7C4 38 61 00 54 */ addi r3, r1, 0x54 -/* 80081868 0007E7C8 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 8008186C 0007E7CC EC 20 E8 24 */ fdivs f1, f0, f29 -/* 80081870 0007E7D0 D0 81 00 90 */ stfs f4, 0x90(r1) -/* 80081874 0007E7D4 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 80081878 0007E7D8 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8008187C 0007E7DC 80 9C 04 7C */ lwz r4, 0x47c(r28) -/* 80081880 0007E7E0 38 84 00 90 */ addi r4, r4, 0x90 -/* 80081884 0007E7E4 48 1B D5 41 */ bl "GetFailsafeBezierPoint__11CBallCameraFRCQ24rstl18vector<9CVector3f>f" -/* 80081888 0007E7E8 C0 A1 00 54 */ lfs f5, 0x54(r1) -/* 8008188C 0007E7EC 38 61 00 78 */ addi r3, r1, 0x78 -/* 80081890 0007E7F0 C0 81 00 58 */ lfs f4, 0x58(r1) -/* 80081894 0007E7F4 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 80081898 0007E7F8 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 8008189C 0007E7FC C0 21 00 98 */ lfs f1, 0x98(r1) -/* 800818A0 0007E800 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 800818A4 0007E804 EC 44 10 28 */ fsubs f2, f4, f2 -/* 800818A8 0007E808 EC 23 08 28 */ fsubs f1, f3, f1 -/* 800818AC 0007E80C D0 A1 00 84 */ stfs f5, 0x84(r1) -/* 800818B0 0007E810 EC 05 00 28 */ fsubs f0, f5, f0 -/* 800818B4 0007E814 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 800818B8 0007E818 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 800818BC 0007E81C D0 01 00 78 */ stfs f0, 0x78(r1) -/* 800818C0 0007E820 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 800818C4 0007E824 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 800818C8 0007E828 48 29 2F F1 */ bl Magnitude__9CVector3fCFv -/* 800818CC 0007E82C FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 800818D0 0007E830 40 81 01 8C */ ble lbl_80081A5C -/* 800818D4 0007E834 38 61 00 78 */ addi r3, r1, 0x78 -/* 800818D8 0007E838 48 29 2F E1 */ bl Magnitude__9CVector3fCFv -/* 800818DC 0007E83C FF 60 08 90 */ fmr f27, f1 -/* 800818E0 0007E840 38 61 00 48 */ addi r3, r1, 0x48 -/* 800818E4 0007E844 38 81 00 78 */ addi r4, r1, 0x78 -/* 800818E8 0007E848 48 29 2F 69 */ bl AsNormalized__9CVector3fCFv -/* 800818EC 0007E84C FC 20 D8 90 */ fmr f1, f27 -/* 800818F0 0007E850 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 800818F4 0007E854 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 800818F8 0007E858 7F A4 EB 78 */ mr r4, r29 -/* 800818FC 0007E85C 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 80081900 0007E860 38 A1 00 08 */ addi r5, r1, 8 -/* 80081904 0007E864 38 C1 00 90 */ addi r6, r1, 0x90 -/* 80081908 0007E868 38 E1 00 48 */ addi r7, r1, 0x48 -/* 8008190C 0007E86C 39 21 03 48 */ addi r9, r1, 0x348 -/* 80081910 0007E870 4B FC B6 B5 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80081914 0007E874 80 01 02 24 */ lwz r0, 0x224(r1) -/* 80081918 0007E878 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8008191C 0007E87C 7C 9F 02 15 */ add. r4, r31, r0 -/* 80081920 0007E880 41 82 00 5C */ beq lbl_8008197C -/* 80081924 0007E884 C0 21 00 D0 */ lfs f1, 0xd0(r1) -/* 80081928 0007E888 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 8008192C 0007E88C D0 24 00 00 */ stfs f1, 0(r4) -/* 80081930 0007E890 C0 21 00 D8 */ lfs f1, 0xd8(r1) -/* 80081934 0007E894 D0 04 00 04 */ stfs f0, 4(r4) -/* 80081938 0007E898 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 8008193C 0007E89C D0 24 00 08 */ stfs f1, 8(r4) -/* 80081940 0007E8A0 C0 21 00 E0 */ lfs f1, 0xe0(r1) -/* 80081944 0007E8A4 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80081948 0007E8A8 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 8008194C 0007E8AC D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80081950 0007E8B0 C0 21 00 E8 */ lfs f1, 0xe8(r1) -/* 80081954 0007E8B4 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80081958 0007E8B8 C0 01 00 EC */ lfs f0, 0xec(r1) -/* 8008195C 0007E8BC D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80081960 0007E8C0 88 01 00 F0 */ lbz r0, 0xf0(r1) -/* 80081964 0007E8C4 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80081968 0007E8C8 80 61 00 FC */ lwz r3, 0xfc(r1) -/* 8008196C 0007E8CC 98 04 00 20 */ stb r0, 0x20(r4) -/* 80081970 0007E8D0 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 80081974 0007E8D4 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80081978 0007E8D8 90 04 00 28 */ stw r0, 0x28(r4) -lbl_8008197C: -/* 8008197C 0007E8DC 80 A1 02 24 */ lwz r5, 0x224(r1) -/* 80081980 0007E8E0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80081984 0007E8E4 38 81 00 78 */ addi r4, r1, 0x78 -/* 80081988 0007E8E8 38 05 00 01 */ addi r0, r5, 1 -/* 8008198C 0007E8EC 90 01 02 24 */ stw r0, 0x224(r1) -/* 80081990 0007E8F0 48 29 2E C1 */ bl AsNormalized__9CVector3fCFv -/* 80081994 0007E8F4 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 80081998 0007E8F8 38 61 00 78 */ addi r3, r1, 0x78 -/* 8008199C 0007E8FC C0 21 00 34 */ lfs f1, 0x34(r1) -/* 800819A0 0007E900 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 800819A4 0007E904 FC 40 10 50 */ fneg f2, f2 -/* 800819A8 0007E908 FC 20 08 50 */ fneg f1, f1 -/* 800819AC 0007E90C FC 00 00 50 */ fneg f0, f0 -/* 800819B0 0007E910 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800819B4 0007E914 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 800819B8 0007E918 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800819BC 0007E91C 48 29 2E FD */ bl Magnitude__9CVector3fCFv -/* 800819C0 0007E920 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 800819C4 0007E924 7F A4 EB 78 */ mr r4, r29 -/* 800819C8 0007E928 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 800819CC 0007E92C 38 A1 00 08 */ addi r5, r1, 8 -/* 800819D0 0007E930 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800819D4 0007E934 38 C1 00 84 */ addi r6, r1, 0x84 -/* 800819D8 0007E938 38 E1 00 3C */ addi r7, r1, 0x3c -/* 800819DC 0007E93C 39 21 03 48 */ addi r9, r1, 0x348 -/* 800819E0 0007E940 4B FC B5 E5 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 800819E4 0007E944 80 01 01 00 */ lwz r0, 0x100(r1) -/* 800819E8 0007E948 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 800819EC 0007E94C 7C 9E 02 15 */ add. r4, r30, r0 -/* 800819F0 0007E950 41 82 00 5C */ beq lbl_80081A4C -/* 800819F4 0007E954 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 800819F8 0007E958 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 800819FC 0007E95C D0 24 00 00 */ stfs f1, 0(r4) -/* 80081A00 0007E960 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 80081A04 0007E964 D0 04 00 04 */ stfs f0, 4(r4) -/* 80081A08 0007E968 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 80081A0C 0007E96C D0 24 00 08 */ stfs f1, 8(r4) -/* 80081A10 0007E970 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 80081A14 0007E974 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80081A18 0007E978 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80081A1C 0007E97C D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80081A20 0007E980 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 80081A24 0007E984 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80081A28 0007E988 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 80081A2C 0007E98C D0 24 00 18 */ stfs f1, 0x18(r4) -/* 80081A30 0007E990 88 01 00 C0 */ lbz r0, 0xc0(r1) -/* 80081A34 0007E994 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80081A38 0007E998 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 80081A3C 0007E99C 98 04 00 20 */ stb r0, 0x20(r4) -/* 80081A40 0007E9A0 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 80081A44 0007E9A4 90 64 00 2C */ stw r3, 0x2c(r4) -/* 80081A48 0007E9A8 90 04 00 28 */ stw r0, 0x28(r4) -lbl_80081A4C: -/* 80081A4C 0007E9AC 80 61 01 00 */ lwz r3, 0x100(r1) -/* 80081A50 0007E9B0 38 03 00 01 */ addi r0, r3, 1 -/* 80081A54 0007E9B4 90 01 01 00 */ stw r0, 0x100(r1) -/* 80081A58 0007E9B8 48 00 00 F4 */ b lbl_80081B4C -lbl_80081A5C: -/* 80081A5C 0007E9BC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80081A60 0007E9C0 38 61 00 18 */ addi r3, r1, 0x18 -/* 80081A64 0007E9C4 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80081A68 0007E9C8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80081A6C 0007E9CC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80081A70 0007E9D0 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80081A74 0007E9D4 48 29 2E 85 */ bl Normalize__9CVector3fFv -/* 80081A78 0007E9D8 80 01 02 24 */ lwz r0, 0x224(r1) -/* 80081A7C 0007E9DC C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80081A80 0007E9E0 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80081A84 0007E9E4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80081A88 0007E9E8 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 80081A8C 0007E9EC 7C 7F 02 15 */ add. r3, r31, r0 -/* 80081A90 0007E9F0 41 82 00 38 */ beq lbl_80081AC8 -/* 80081A94 0007E9F4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80081A98 0007E9F8 38 00 00 00 */ li r0, 0 -/* 80081A9C 0007E9FC D0 03 00 00 */ stfs f0, 0(r3) -/* 80081AA0 0007EA00 D0 03 00 04 */ stfs f0, 4(r3) -/* 80081AA4 0007EA04 D0 03 00 08 */ stfs f0, 8(r3) -/* 80081AA8 0007EA08 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80081AAC 0007EA0C D0 23 00 10 */ stfs f1, 0x10(r3) -/* 80081AB0 0007EA10 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 80081AB4 0007EA14 D0 63 00 18 */ stfs f3, 0x18(r3) -/* 80081AB8 0007EA18 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80081ABC 0007EA1C 98 03 00 20 */ stb r0, 0x20(r3) -/* 80081AC0 0007EA20 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80081AC4 0007EA24 90 03 00 28 */ stw r0, 0x28(r3) -lbl_80081AC8: -/* 80081AC8 0007EA28 80 81 02 24 */ lwz r4, 0x224(r1) -/* 80081ACC 0007EA2C 38 61 00 0C */ addi r3, r1, 0xc -/* 80081AD0 0007EA30 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80081AD4 0007EA34 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80081AD8 0007EA38 38 04 00 01 */ addi r0, r4, 1 -/* 80081ADC 0007EA3C 90 01 02 24 */ stw r0, 0x224(r1) -/* 80081AE0 0007EA40 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80081AE4 0007EA44 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80081AE8 0007EA48 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80081AEC 0007EA4C 48 29 2E 0D */ bl Normalize__9CVector3fFv -/* 80081AF0 0007EA50 80 01 01 00 */ lwz r0, 0x100(r1) -/* 80081AF4 0007EA54 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80081AF8 0007EA58 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80081AFC 0007EA5C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80081B00 0007EA60 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 80081B04 0007EA64 7C 7E 02 15 */ add. r3, r30, r0 -/* 80081B08 0007EA68 41 82 00 38 */ beq lbl_80081B40 -/* 80081B0C 0007EA6C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80081B10 0007EA70 38 00 00 00 */ li r0, 0 -/* 80081B14 0007EA74 D0 03 00 00 */ stfs f0, 0(r3) -/* 80081B18 0007EA78 D0 03 00 04 */ stfs f0, 4(r3) -/* 80081B1C 0007EA7C D0 03 00 08 */ stfs f0, 8(r3) -/* 80081B20 0007EA80 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80081B24 0007EA84 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 80081B28 0007EA88 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 80081B2C 0007EA8C D0 63 00 18 */ stfs f3, 0x18(r3) -/* 80081B30 0007EA90 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80081B34 0007EA94 98 03 00 20 */ stb r0, 0x20(r3) -/* 80081B38 0007EA98 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80081B3C 0007EA9C 90 03 00 28 */ stw r0, 0x28(r3) -lbl_80081B40: -/* 80081B40 0007EAA0 80 61 01 00 */ lwz r3, 0x100(r1) -/* 80081B44 0007EAA4 38 03 00 01 */ addi r0, r3, 1 -/* 80081B48 0007EAA8 90 01 01 00 */ stw r0, 0x100(r1) -lbl_80081B4C: -/* 80081B4C 0007EAAC EF 9C F0 2A */ fadds f28, f28, f30 -lbl_80081B50: -/* 80081B50 0007EAB0 FC 1C E8 40 */ fcmpo cr0, f28, f29 -/* 80081B54 0007EAB4 41 80 FC F0 */ blt lbl_80081844 -/* 80081B58 0007EAB8 83 A1 02 24 */ lwz r29, 0x224(r1) -/* 80081B5C 0007EABC 3B 60 00 00 */ li r27, 0 -/* 80081B60 0007EAC0 48 00 01 E8 */ b lbl_80081D48 -lbl_80081B64: -/* 80081B64 0007EAC4 88 1F 00 20 */ lbz r0, 0x20(r31) -/* 80081B68 0007EAC8 28 00 00 00 */ cmplwi r0, 0 -/* 80081B6C 0007EACC 41 82 01 D0 */ beq lbl_80081D3C -/* 80081B70 0007EAD0 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80081B74 0007EAD4 38 61 00 6C */ addi r3, r1, 0x6c -/* 80081B78 0007EAD8 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80081B7C 0007EADC C0 7F 00 0C */ lfs f3, 0xc(r31) -/* 80081B80 0007EAE0 C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 80081B84 0007EAE4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80081B88 0007EAE8 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80081B8C 0007EAEC C0 1E 00 04 */ lfs f0, 4(r30) -/* 80081B90 0007EAF0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80081B94 0007EAF4 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 80081B98 0007EAF8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80081B9C 0007EAFC D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80081BA0 0007EB00 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80081BA4 0007EB04 48 29 2D 15 */ bl Magnitude__9CVector3fCFv -/* 80081BA8 0007EB08 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 80081BAC 0007EB0C C0 02 89 C0 */ lfs f0, lbl_805AA6E0@sda21(r2) -/* 80081BB0 0007EB10 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80081BB4 0007EB14 FC 20 0A 10 */ fabs f1, f1 -/* 80081BB8 0007EB18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80081BBC 0007EB1C 40 80 00 70 */ bge lbl_80081C2C -/* 80081BC0 0007EB20 6F 63 80 00 */ xoris r3, r27, 0x8000 -/* 80081BC4 0007EB24 3C 00 43 30 */ lis r0, 0x4330 -/* 80081BC8 0007EB28 90 61 0B 54 */ stw r3, 0xb54(r1) -/* 80081BCC 0007EB2C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80081BD0 0007EB30 80 9C 04 7C */ lwz r4, 0x47c(r28) -/* 80081BD4 0007EB34 90 01 0B 50 */ stw r0, 0xb50(r1) -/* 80081BD8 0007EB38 C8 22 89 C8 */ lfd f1, lbl_805AA6E8@sda21(r2) -/* 80081BDC 0007EB3C 38 84 00 90 */ addi r4, r4, 0x90 -/* 80081BE0 0007EB40 C8 01 0B 50 */ lfd f0, 0xb50(r1) -/* 80081BE4 0007EB44 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 80081BE8 0007EB48 EC 20 08 28 */ fsubs f1, f0, f1 -/* 80081BEC 0007EB4C C0 02 89 D0 */ lfs f0, lbl_805AA6F0@sda21(r2) -/* 80081BF0 0007EB50 EC 22 08 2A */ fadds f1, f2, f1 -/* 80081BF4 0007EB54 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80081BF8 0007EB58 48 1B D1 CD */ bl "GetFailsafeBezierPoint__11CBallCameraFRCQ24rstl18vector<9CVector3f>f" -/* 80081BFC 0007EB5C C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80081C00 0007EB60 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80081C04 0007EB64 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 80081C08 0007EB68 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 80081C0C 0007EB6C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80081C10 0007EB70 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80081C14 0007EB74 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80081C18 0007EB78 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80081C1C 0007EB7C D0 81 00 70 */ stfs f4, 0x70(r1) -/* 80081C20 0007EB80 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80081C24 0007EB84 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80081C28 0007EB88 D0 01 00 6C */ stfs f0, 0x6c(r1) -lbl_80081C2C: -/* 80081C2C 0007EB8C 38 61 00 6C */ addi r3, r1, 0x6c -/* 80081C30 0007EB90 48 29 2C 89 */ bl Magnitude__9CVector3fCFv -/* 80081C34 0007EB94 C0 02 89 C4 */ lfs f0, lbl_805AA6E4@sda21(r2) -/* 80081C38 0007EB98 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80081C3C 0007EB9C 40 81 01 00 */ ble lbl_80081D3C -/* 80081C40 0007EBA0 80 A1 01 00 */ lwz r5, 0x100(r1) -/* 80081C44 0007EBA4 38 60 00 00 */ li r3, 0 -/* 80081C48 0007EBA8 2C 05 00 00 */ cmpwi r5, 0 -/* 80081C4C 0007EBAC 40 81 00 40 */ ble lbl_80081C8C -/* 80081C50 0007EBB0 2C 05 00 08 */ cmpwi r5, 8 -/* 80081C54 0007EBB4 38 85 FF F8 */ addi r4, r5, -8 -/* 80081C58 0007EBB8 40 81 00 20 */ ble lbl_80081C78 -/* 80081C5C 0007EBBC 38 04 00 07 */ addi r0, r4, 7 -/* 80081C60 0007EBC0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081C64 0007EBC4 7C 09 03 A6 */ mtctr r0 -/* 80081C68 0007EBC8 2C 04 00 00 */ cmpwi r4, 0 -/* 80081C6C 0007EBCC 40 81 00 0C */ ble lbl_80081C78 -lbl_80081C70: -/* 80081C70 0007EBD0 38 63 00 08 */ addi r3, r3, 8 -/* 80081C74 0007EBD4 42 00 FF FC */ bdnz lbl_80081C70 -lbl_80081C78: -/* 80081C78 0007EBD8 7C 03 28 50 */ subf r0, r3, r5 -/* 80081C7C 0007EBDC 7C 09 03 A6 */ mtctr r0 -/* 80081C80 0007EBE0 7C 03 28 00 */ cmpw r3, r5 -/* 80081C84 0007EBE4 40 80 00 08 */ bge lbl_80081C8C -lbl_80081C88: -/* 80081C88 0007EBE8 42 00 00 00 */ bdnz lbl_80081C88 -lbl_80081C8C: -/* 80081C8C 0007EBEC 80 A1 02 24 */ lwz r5, 0x224(r1) -/* 80081C90 0007EBF0 38 60 00 00 */ li r3, 0 -/* 80081C94 0007EBF4 90 61 01 00 */ stw r3, 0x100(r1) -/* 80081C98 0007EBF8 2C 05 00 00 */ cmpwi r5, 0 -/* 80081C9C 0007EBFC 40 81 00 40 */ ble lbl_80081CDC -/* 80081CA0 0007EC00 2C 05 00 08 */ cmpwi r5, 8 -/* 80081CA4 0007EC04 38 85 FF F8 */ addi r4, r5, -8 -/* 80081CA8 0007EC08 40 81 00 20 */ ble lbl_80081CC8 -/* 80081CAC 0007EC0C 38 04 00 07 */ addi r0, r4, 7 -/* 80081CB0 0007EC10 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081CB4 0007EC14 7C 09 03 A6 */ mtctr r0 -/* 80081CB8 0007EC18 2C 04 00 00 */ cmpwi r4, 0 -/* 80081CBC 0007EC1C 40 81 00 0C */ ble lbl_80081CC8 -lbl_80081CC0: -/* 80081CC0 0007EC20 38 63 00 08 */ addi r3, r3, 8 -/* 80081CC4 0007EC24 42 00 FF FC */ bdnz lbl_80081CC0 -lbl_80081CC8: -/* 80081CC8 0007EC28 7C 03 28 50 */ subf r0, r3, r5 -/* 80081CCC 0007EC2C 7C 09 03 A6 */ mtctr r0 -/* 80081CD0 0007EC30 7C 03 28 00 */ cmpw r3, r5 -/* 80081CD4 0007EC34 40 80 00 08 */ bge lbl_80081CDC -lbl_80081CD8: -/* 80081CD8 0007EC38 42 00 00 00 */ bdnz lbl_80081CD8 -lbl_80081CDC: -/* 80081CDC 0007EC3C 80 A1 03 48 */ lwz r5, 0x348(r1) -/* 80081CE0 0007EC40 38 60 00 00 */ li r3, 0 -/* 80081CE4 0007EC44 90 61 02 24 */ stw r3, 0x224(r1) -/* 80081CE8 0007EC48 2C 05 00 00 */ cmpwi r5, 0 -/* 80081CEC 0007EC4C 40 81 00 40 */ ble lbl_80081D2C -/* 80081CF0 0007EC50 2C 05 00 08 */ cmpwi r5, 8 -/* 80081CF4 0007EC54 38 85 FF F8 */ addi r4, r5, -8 -/* 80081CF8 0007EC58 40 81 00 20 */ ble lbl_80081D18 -/* 80081CFC 0007EC5C 38 04 00 07 */ addi r0, r4, 7 -/* 80081D00 0007EC60 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081D04 0007EC64 7C 09 03 A6 */ mtctr r0 -/* 80081D08 0007EC68 2C 04 00 00 */ cmpwi r4, 0 -/* 80081D0C 0007EC6C 40 81 00 0C */ ble lbl_80081D18 -lbl_80081D10: -/* 80081D10 0007EC70 38 63 00 08 */ addi r3, r3, 8 -/* 80081D14 0007EC74 42 00 FF FC */ bdnz lbl_80081D10 -lbl_80081D18: -/* 80081D18 0007EC78 7C 03 28 50 */ subf r0, r3, r5 -/* 80081D1C 0007EC7C 7C 09 03 A6 */ mtctr r0 -/* 80081D20 0007EC80 7C 03 28 00 */ cmpw r3, r5 -/* 80081D24 0007EC84 40 80 00 08 */ bge lbl_80081D2C -lbl_80081D28: -/* 80081D28 0007EC88 42 00 00 00 */ bdnz lbl_80081D28 -lbl_80081D2C: -/* 80081D2C 0007EC8C 38 00 00 00 */ li r0, 0 -/* 80081D30 0007EC90 38 60 00 00 */ li r3, 0 -/* 80081D34 0007EC94 90 01 03 48 */ stw r0, 0x348(r1) -/* 80081D38 0007EC98 48 00 01 0C */ b lbl_80081E44 -lbl_80081D3C: -/* 80081D3C 0007EC9C 3B FF 00 30 */ addi r31, r31, 0x30 -/* 80081D40 0007ECA0 3B DE 00 30 */ addi r30, r30, 0x30 -/* 80081D44 0007ECA4 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80081D48: -/* 80081D48 0007ECA8 7C 1B E8 00 */ cmpw r27, r29 -/* 80081D4C 0007ECAC 41 80 FE 18 */ blt lbl_80081B64 -/* 80081D50 0007ECB0 80 A1 01 00 */ lwz r5, 0x100(r1) -/* 80081D54 0007ECB4 38 60 00 00 */ li r3, 0 -/* 80081D58 0007ECB8 2C 05 00 00 */ cmpwi r5, 0 -/* 80081D5C 0007ECBC 40 81 00 40 */ ble lbl_80081D9C -/* 80081D60 0007ECC0 2C 05 00 08 */ cmpwi r5, 8 -/* 80081D64 0007ECC4 38 85 FF F8 */ addi r4, r5, -8 -/* 80081D68 0007ECC8 40 81 00 20 */ ble lbl_80081D88 -/* 80081D6C 0007ECCC 38 04 00 07 */ addi r0, r4, 7 -/* 80081D70 0007ECD0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081D74 0007ECD4 7C 09 03 A6 */ mtctr r0 -/* 80081D78 0007ECD8 2C 04 00 00 */ cmpwi r4, 0 -/* 80081D7C 0007ECDC 40 81 00 0C */ ble lbl_80081D88 -lbl_80081D80: -/* 80081D80 0007ECE0 38 63 00 08 */ addi r3, r3, 8 -/* 80081D84 0007ECE4 42 00 FF FC */ bdnz lbl_80081D80 -lbl_80081D88: -/* 80081D88 0007ECE8 7C 03 28 50 */ subf r0, r3, r5 -/* 80081D8C 0007ECEC 7C 09 03 A6 */ mtctr r0 -/* 80081D90 0007ECF0 7C 03 28 00 */ cmpw r3, r5 -/* 80081D94 0007ECF4 40 80 00 08 */ bge lbl_80081D9C -lbl_80081D98: -/* 80081D98 0007ECF8 42 00 00 00 */ bdnz lbl_80081D98 -lbl_80081D9C: -/* 80081D9C 0007ECFC 38 60 00 00 */ li r3, 0 -/* 80081DA0 0007ED00 2C 1D 00 00 */ cmpwi r29, 0 -/* 80081DA4 0007ED04 90 61 01 00 */ stw r3, 0x100(r1) -/* 80081DA8 0007ED08 40 81 00 40 */ ble lbl_80081DE8 -/* 80081DAC 0007ED0C 2C 1D 00 08 */ cmpwi r29, 8 -/* 80081DB0 0007ED10 38 9D FF F8 */ addi r4, r29, -8 -/* 80081DB4 0007ED14 40 81 00 20 */ ble lbl_80081DD4 -/* 80081DB8 0007ED18 38 04 00 07 */ addi r0, r4, 7 -/* 80081DBC 0007ED1C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081DC0 0007ED20 7C 09 03 A6 */ mtctr r0 -/* 80081DC4 0007ED24 2C 04 00 00 */ cmpwi r4, 0 -/* 80081DC8 0007ED28 40 81 00 0C */ ble lbl_80081DD4 -lbl_80081DCC: -/* 80081DCC 0007ED2C 38 63 00 08 */ addi r3, r3, 8 -/* 80081DD0 0007ED30 42 00 FF FC */ bdnz lbl_80081DCC -lbl_80081DD4: -/* 80081DD4 0007ED34 7C 03 E8 50 */ subf r0, r3, r29 -/* 80081DD8 0007ED38 7C 09 03 A6 */ mtctr r0 -/* 80081DDC 0007ED3C 7C 03 E8 00 */ cmpw r3, r29 -/* 80081DE0 0007ED40 40 80 00 08 */ bge lbl_80081DE8 -lbl_80081DE4: -/* 80081DE4 0007ED44 42 00 00 00 */ bdnz lbl_80081DE4 -lbl_80081DE8: -/* 80081DE8 0007ED48 80 A1 03 48 */ lwz r5, 0x348(r1) -/* 80081DEC 0007ED4C 38 60 00 00 */ li r3, 0 -/* 80081DF0 0007ED50 90 61 02 24 */ stw r3, 0x224(r1) -/* 80081DF4 0007ED54 2C 05 00 00 */ cmpwi r5, 0 -/* 80081DF8 0007ED58 40 81 00 40 */ ble lbl_80081E38 -/* 80081DFC 0007ED5C 2C 05 00 08 */ cmpwi r5, 8 -/* 80081E00 0007ED60 38 85 FF F8 */ addi r4, r5, -8 -/* 80081E04 0007ED64 40 81 00 20 */ ble lbl_80081E24 -/* 80081E08 0007ED68 38 04 00 07 */ addi r0, r4, 7 -/* 80081E0C 0007ED6C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80081E10 0007ED70 7C 09 03 A6 */ mtctr r0 -/* 80081E14 0007ED74 2C 04 00 00 */ cmpwi r4, 0 -/* 80081E18 0007ED78 40 81 00 0C */ ble lbl_80081E24 -lbl_80081E1C: -/* 80081E1C 0007ED7C 38 63 00 08 */ addi r3, r3, 8 -/* 80081E20 0007ED80 42 00 FF FC */ bdnz lbl_80081E1C -lbl_80081E24: -/* 80081E24 0007ED84 7C 03 28 50 */ subf r0, r3, r5 -/* 80081E28 0007ED88 7C 09 03 A6 */ mtctr r0 -/* 80081E2C 0007ED8C 7C 03 28 00 */ cmpw r3, r5 -/* 80081E30 0007ED90 40 80 00 08 */ bge lbl_80081E38 -lbl_80081E34: -/* 80081E34 0007ED94 42 00 00 00 */ bdnz lbl_80081E34 -lbl_80081E38: -/* 80081E38 0007ED98 38 00 00 00 */ li r0, 0 -/* 80081E3C 0007ED9C 38 60 00 01 */ li r3, 1 -/* 80081E40 0007EDA0 90 01 03 48 */ stw r0, 0x348(r1) -lbl_80081E44: -/* 80081E44 0007EDA4 E3 E1 0B B8 */ psq_l f31, -1096(r1), 0, qr0 -/* 80081E48 0007EDA8 CB E1 0B B0 */ lfd f31, 0xbb0(r1) -/* 80081E4C 0007EDAC E3 C1 0B A8 */ psq_l f30, -1112(r1), 0, qr0 -/* 80081E50 0007EDB0 CB C1 0B A0 */ lfd f30, 0xba0(r1) -/* 80081E54 0007EDB4 E3 A1 0B 98 */ psq_l f29, -1128(r1), 0, qr0 -/* 80081E58 0007EDB8 CB A1 0B 90 */ lfd f29, 0xb90(r1) -/* 80081E5C 0007EDBC E3 81 0B 88 */ psq_l f28, -1144(r1), 0, qr0 -/* 80081E60 0007EDC0 CB 81 0B 80 */ lfd f28, 0xb80(r1) -/* 80081E64 0007EDC4 E3 61 0B 78 */ psq_l f27, -1160(r1), 0, qr0 -/* 80081E68 0007EDC8 CB 61 0B 70 */ lfd f27, 0xb70(r1) -/* 80081E6C 0007EDCC BB 61 0B 5C */ lmw r27, 0xb5c(r1) -/* 80081E70 0007EDD0 80 01 0B C4 */ lwz r0, 0xbc4(r1) -/* 80081E74 0007EDD4 7C 08 03 A6 */ mtlr r0 -/* 80081E78 0007EDD8 38 21 0B C0 */ addi r1, r1, 0xbc0 -/* 80081E7C 0007EDDC 4E 80 00 20 */ blr - -.global ApplyCameraHint__11CBallCameraFR13CStateManager -ApplyCameraHint__11CBallCameraFR13CStateManager: -/* 80081E80 0007EDE0 94 21 FC D0 */ stwu r1, -0x330(r1) -/* 80081E84 0007EDE4 7C 08 02 A6 */ mflr r0 -/* 80081E88 0007EDE8 90 01 03 34 */ stw r0, 0x334(r1) -/* 80081E8C 0007EDEC DB E1 03 20 */ stfd f31, 0x320(r1) -/* 80081E90 0007EDF0 F3 E1 03 28 */ psq_st f31, 808(r1), 0, qr0 -/* 80081E94 0007EDF4 DB C1 03 10 */ stfd f30, 0x310(r1) -/* 80081E98 0007EDF8 F3 C1 03 18 */ psq_st f30, 792(r1), 0, qr0 -/* 80081E9C 0007EDFC 93 E1 03 0C */ stw r31, 0x30c(r1) -/* 80081EA0 0007EE00 93 C1 03 08 */ stw r30, 0x308(r1) -/* 80081EA4 0007EE04 93 A1 03 04 */ stw r29, 0x304(r1) -/* 80081EA8 0007EE08 7C 9E 23 78 */ mr r30, r4 -/* 80081EAC 0007EE0C 7C 7D 1B 78 */ mr r29, r3 -/* 80081EB0 0007EE10 80 64 08 70 */ lwz r3, 0x870(r4) -/* 80081EB4 0007EE14 4B F8 75 1D */ bl GetCameraHint__14CCameraManagerCFR13CStateManager -/* 80081EB8 0007EE18 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80081EBC 0007EE1C 41 82 08 38 */ beq lbl_800826F4 -/* 80081EC0 0007EE20 7F A3 EB 78 */ mr r3, r29 -/* 80081EC4 0007EE24 7F C4 F3 78 */ mr r4, r30 -/* 80081EC8 0007EE28 48 00 A8 FD */ bl ResetToTweaks__11CBallCameraFR13CStateManager -/* 80081ECC 0007EE2C 80 1F 00 F4 */ lwz r0, 0xf4(r31) -/* 80081ED0 0007EE30 90 1D 01 88 */ stw r0, 0x188(r29) -/* 80081ED4 0007EE34 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80081ED8 0007EE38 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 80081EDC 0007EE3C 41 82 00 18 */ beq lbl_80081EF4 -/* 80081EE0 0007EE40 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80081EE4 0007EE44 38 60 00 01 */ li r3, 1 -/* 80081EE8 0007EE48 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80081EEC 0007EE4C 98 1D 01 8C */ stb r0, 0x18c(r29) -/* 80081EF0 0007EE50 48 00 00 14 */ b lbl_80081F04 -lbl_80081EF4: -/* 80081EF4 0007EE54 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80081EF8 0007EE58 38 60 00 00 */ li r3, 0 -/* 80081EFC 0007EE5C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80081F00 0007EE60 98 1D 01 8C */ stb r0, 0x18c(r29) -lbl_80081F04: -/* 80081F04 0007EE64 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80081F08 0007EE68 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 80081F0C 0007EE6C 41 82 00 18 */ beq lbl_80081F24 -/* 80081F10 0007EE70 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80081F14 0007EE74 38 60 00 01 */ li r3, 1 -/* 80081F18 0007EE78 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80081F1C 0007EE7C 98 1D 01 8C */ stb r0, 0x18c(r29) -/* 80081F20 0007EE80 48 00 00 14 */ b lbl_80081F34 -lbl_80081F24: -/* 80081F24 0007EE84 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80081F28 0007EE88 38 60 00 00 */ li r3, 0 -/* 80081F2C 0007EE8C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80081F30 0007EE90 98 1D 01 8C */ stb r0, 0x18c(r29) -lbl_80081F34: -/* 80081F34 0007EE94 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80081F38 0007EE98 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c -/* 80081F3C 0007EE9C 41 82 00 18 */ beq lbl_80081F54 -/* 80081F40 0007EEA0 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80081F44 0007EEA4 38 60 00 01 */ li r3, 1 -/* 80081F48 0007EEA8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80081F4C 0007EEAC 98 1D 01 8C */ stb r0, 0x18c(r29) -/* 80081F50 0007EEB0 48 00 00 14 */ b lbl_80081F64 -lbl_80081F54: -/* 80081F54 0007EEB4 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80081F58 0007EEB8 38 60 00 00 */ li r3, 0 -/* 80081F5C 0007EEBC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80081F60 0007EEC0 98 1D 01 8C */ stb r0, 0x18c(r29) -lbl_80081F64: -/* 80081F64 0007EEC4 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80081F68 0007EEC8 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 80081F6C 0007EECC 41 82 00 18 */ beq lbl_80081F84 -/* 80081F70 0007EED0 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80081F74 0007EED4 38 60 00 01 */ li r3, 1 -/* 80081F78 0007EED8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80081F7C 0007EEDC 98 1D 01 8C */ stb r0, 0x18c(r29) -/* 80081F80 0007EEE0 48 00 00 14 */ b lbl_80081F94 -lbl_80081F84: -/* 80081F84 0007EEE4 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80081F88 0007EEE8 38 60 00 00 */ li r3, 0 -/* 80081F8C 0007EEEC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80081F90 0007EEF0 98 1D 01 8C */ stb r0, 0x18c(r29) -lbl_80081F94: -/* 80081F94 0007EEF4 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80081F98 0007EEF8 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19 -/* 80081F9C 0007EEFC 41 82 00 14 */ beq lbl_80081FB0 -/* 80081FA0 0007EF00 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 80081FA4 0007EF04 38 60 00 01 */ li r3, 1 -/* 80081FA8 0007EF08 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80081FAC 0007EF0C 98 1D 01 8D */ stb r0, 0x18d(r29) -lbl_80081FB0: -/* 80081FB0 0007EF10 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80081FB4 0007EF14 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 -/* 80081FB8 0007EF18 41 82 00 18 */ beq lbl_80081FD0 -/* 80081FBC 0007EF1C 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 80081FC0 0007EF20 38 60 00 01 */ li r3, 1 -/* 80081FC4 0007EF24 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80081FC8 0007EF28 98 1D 01 8D */ stb r0, 0x18d(r29) -/* 80081FCC 0007EF2C 48 00 00 14 */ b lbl_80081FE0 -lbl_80081FD0: -/* 80081FD0 0007EF30 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 80081FD4 0007EF34 38 60 00 00 */ li r3, 0 -/* 80081FD8 0007EF38 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80081FDC 0007EF3C 98 1D 01 8D */ stb r0, 0x18d(r29) -lbl_80081FE0: -/* 80081FE0 0007EF40 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80081FE4 0007EF44 54 00 04 21 */ rlwinm. r0, r0, 0, 0x10, 0x10 -/* 80081FE8 0007EF48 41 82 00 18 */ beq lbl_80082000 -/* 80081FEC 0007EF4C 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 80081FF0 0007EF50 38 60 00 01 */ li r3, 1 -/* 80081FF4 0007EF54 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80081FF8 0007EF58 98 1D 01 8D */ stb r0, 0x18d(r29) -/* 80081FFC 0007EF5C 48 00 00 14 */ b lbl_80082010 -lbl_80082000: -/* 80082000 0007EF60 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 80082004 0007EF64 38 60 00 00 */ li r3, 0 -/* 80082008 0007EF68 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8008200C 0007EF6C 98 1D 01 8D */ stb r0, 0x18d(r29) -lbl_80082010: -/* 80082010 0007EF70 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082014 0007EF74 54 00 03 DF */ rlwinm. r0, r0, 0, 0xf, 0xf -/* 80082018 0007EF78 41 82 00 18 */ beq lbl_80082030 -/* 8008201C 0007EF7C 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 80082020 0007EF80 38 60 00 01 */ li r3, 1 -/* 80082024 0007EF84 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80082028 0007EF88 98 1D 01 8D */ stb r0, 0x18d(r29) -/* 8008202C 0007EF8C 48 00 00 14 */ b lbl_80082040 -lbl_80082030: -/* 80082030 0007EF90 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 80082034 0007EF94 38 60 00 00 */ li r3, 0 -/* 80082038 0007EF98 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8008203C 0007EF9C 98 1D 01 8D */ stb r0, 0x18d(r29) -lbl_80082040: -/* 80082040 0007EFA0 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082044 0007EFA4 54 00 03 9D */ rlwinm. r0, r0, 0, 0xe, 0xe -/* 80082048 0007EFA8 41 82 00 18 */ beq lbl_80082060 -/* 8008204C 0007EFAC 88 1D 01 8E */ lbz r0, 0x18e(r29) -/* 80082050 0007EFB0 38 60 00 01 */ li r3, 1 -/* 80082054 0007EFB4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80082058 0007EFB8 98 1D 01 8E */ stb r0, 0x18e(r29) -/* 8008205C 0007EFBC 48 00 00 14 */ b lbl_80082070 -lbl_80082060: -/* 80082060 0007EFC0 88 1D 01 8E */ lbz r0, 0x18e(r29) -/* 80082064 0007EFC4 38 60 00 00 */ li r3, 0 -/* 80082068 0007EFC8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8008206C 0007EFCC 98 1D 01 8E */ stb r0, 0x18e(r29) -lbl_80082070: -/* 80082070 0007EFD0 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082074 0007EFD4 54 00 03 19 */ rlwinm. r0, r0, 0, 0xc, 0xc -/* 80082078 0007EFD8 41 82 00 18 */ beq lbl_80082090 -/* 8008207C 0007EFDC 88 1D 01 8E */ lbz r0, 0x18e(r29) -/* 80082080 0007EFE0 38 60 00 01 */ li r3, 1 -/* 80082084 0007EFE4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80082088 0007EFE8 98 1D 01 8E */ stb r0, 0x18e(r29) -/* 8008208C 0007EFEC 48 00 00 14 */ b lbl_800820A0 -lbl_80082090: -/* 80082090 0007EFF0 88 1D 01 8E */ lbz r0, 0x18e(r29) -/* 80082094 0007EFF4 38 60 00 00 */ li r3, 0 -/* 80082098 0007EFF8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8008209C 0007EFFC 98 1D 01 8E */ stb r0, 0x18e(r29) -lbl_800820A0: -/* 800820A0 0007F000 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 800820A4 0007F004 54 00 03 19 */ rlwinm. r0, r0, 0, 0xc, 0xc -/* 800820A8 0007F008 41 82 00 18 */ beq lbl_800820C0 -/* 800820AC 0007F00C 88 1D 01 8E */ lbz r0, 0x18e(r29) -/* 800820B0 0007F010 38 60 00 01 */ li r3, 1 -/* 800820B4 0007F014 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800820B8 0007F018 98 1D 01 8E */ stb r0, 0x18e(r29) -/* 800820BC 0007F01C 48 00 00 14 */ b lbl_800820D0 -lbl_800820C0: -/* 800820C0 0007F020 88 1D 01 8E */ lbz r0, 0x18e(r29) -/* 800820C4 0007F024 38 60 00 00 */ li r3, 0 -/* 800820C8 0007F028 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800820CC 0007F02C 98 1D 01 8E */ stb r0, 0x18e(r29) -lbl_800820D0: -/* 800820D0 0007F030 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 800820D4 0007F034 54 00 02 53 */ rlwinm. r0, r0, 0, 9, 9 -/* 800820D8 0007F038 41 82 00 0C */ beq lbl_800820E4 -/* 800820DC 0007F03C C0 1F 00 F8 */ lfs f0, 0xf8(r31) -/* 800820E0 0007F040 D0 1D 01 94 */ stfs f0, 0x194(r29) -lbl_800820E4: -/* 800820E4 0007F044 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 800820E8 0007F048 54 00 02 11 */ rlwinm. r0, r0, 0, 8, 8 -/* 800820EC 0007F04C 41 82 00 0C */ beq lbl_800820F8 -/* 800820F0 0007F050 C0 1F 00 FC */ lfs f0, 0xfc(r31) -/* 800820F4 0007F054 D0 1D 01 98 */ stfs f0, 0x198(r29) -lbl_800820F8: -/* 800820F8 0007F058 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 800820FC 0007F05C 54 00 01 CF */ rlwinm. r0, r0, 0, 7, 7 -/* 80082100 0007F060 41 82 00 0C */ beq lbl_8008210C -/* 80082104 0007F064 C0 1F 01 00 */ lfs f0, 0x100(r31) -/* 80082108 0007F068 D0 1D 01 9C */ stfs f0, 0x19c(r29) -lbl_8008210C: -/* 8008210C 0007F06C 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082110 0007F070 54 00 00 01 */ rlwinm. r0, r0, 0, 0, 0 -/* 80082114 0007F074 41 82 00 0C */ beq lbl_80082120 -/* 80082118 0007F078 C0 1F 01 40 */ lfs f0, 0x140(r31) -/* 8008211C 0007F07C D0 1D 01 A0 */ stfs f0, 0x1a0(r29) -lbl_80082120: -/* 80082120 0007F080 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082124 0007F084 54 00 01 8D */ rlwinm. r0, r0, 0, 6, 6 -/* 80082128 0007F088 41 82 00 4C */ beq lbl_80082174 -/* 8008212C 0007F08C C0 1F 01 04 */ lfs f0, 0x104(r31) -/* 80082130 0007F090 C0 3F 01 08 */ lfs f1, 0x108(r31) -/* 80082134 0007F094 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 80082138 0007F098 C0 1F 01 0C */ lfs f0, 0x10c(r31) -/* 8008213C 0007F09C D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 80082140 0007F0A0 80 01 00 AC */ lwz r0, 0xac(r1) -/* 80082144 0007F0A4 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80082148 0007F0A8 80 61 00 B0 */ lwz r3, 0xb0(r1) -/* 8008214C 0007F0AC 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 80082150 0007F0B0 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80082154 0007F0B4 90 61 00 BC */ stw r3, 0xbc(r1) -/* 80082158 0007F0B8 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 8008215C 0007F0BC 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 80082160 0007F0C0 C0 21 00 BC */ lfs f1, 0xbc(r1) -/* 80082164 0007F0C4 D0 1D 01 B4 */ stfs f0, 0x1b4(r29) -/* 80082168 0007F0C8 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 8008216C 0007F0CC D0 3D 01 B8 */ stfs f1, 0x1b8(r29) -/* 80082170 0007F0D0 D0 1D 01 BC */ stfs f0, 0x1bc(r29) -lbl_80082174: -/* 80082174 0007F0D4 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082178 0007F0D8 54 00 01 4B */ rlwinm. r0, r0, 0, 5, 5 -/* 8008217C 0007F0DC 41 82 00 4C */ beq lbl_800821C8 -/* 80082180 0007F0E0 C0 1F 01 10 */ lfs f0, 0x110(r31) -/* 80082184 0007F0E4 C0 3F 01 14 */ lfs f1, 0x114(r31) -/* 80082188 0007F0E8 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8008218C 0007F0EC C0 1F 01 18 */ lfs f0, 0x118(r31) -/* 80082190 0007F0F0 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 80082194 0007F0F4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80082198 0007F0F8 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8008219C 0007F0FC 80 61 00 98 */ lwz r3, 0x98(r1) -/* 800821A0 0007F100 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 800821A4 0007F104 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 800821A8 0007F108 90 61 00 A4 */ stw r3, 0xa4(r1) -/* 800821AC 0007F10C C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 800821B0 0007F110 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 800821B4 0007F114 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 800821B8 0007F118 D0 1D 04 10 */ stfs f0, 0x410(r29) -/* 800821BC 0007F11C C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 800821C0 0007F120 D0 3D 04 14 */ stfs f1, 0x414(r29) -/* 800821C4 0007F124 D0 1D 04 18 */ stfs f0, 0x418(r29) -lbl_800821C8: -/* 800821C8 0007F128 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 800821CC 0007F12C 54 00 00 C7 */ rlwinm. r0, r0, 0, 3, 3 -/* 800821D0 0007F130 41 82 00 20 */ beq lbl_800821F0 -/* 800821D4 0007F134 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 800821D8 0007F138 38 60 00 01 */ li r3, 1 -/* 800821DC 0007F13C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800821E0 0007F140 98 1D 01 8C */ stb r0, 0x18c(r29) -/* 800821E4 0007F144 C0 1F 01 2C */ lfs f0, 0x12c(r31) -/* 800821E8 0007F148 D0 1D 01 AC */ stfs f0, 0x1ac(r29) -/* 800821EC 0007F14C 48 00 00 14 */ b lbl_80082200 -lbl_800821F0: -/* 800821F0 0007F150 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 800821F4 0007F154 38 60 00 00 */ li r3, 0 -/* 800821F8 0007F158 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800821FC 0007F15C 98 1D 01 8C */ stb r0, 0x18c(r29) -lbl_80082200: -/* 80082200 0007F160 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082204 0007F164 54 00 00 85 */ rlwinm. r0, r0, 0, 2, 2 -/* 80082208 0007F168 41 82 00 20 */ beq lbl_80082228 -/* 8008220C 0007F16C 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80082210 0007F170 38 60 00 01 */ li r3, 1 -/* 80082214 0007F174 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80082218 0007F178 98 1D 01 8C */ stb r0, 0x18c(r29) -/* 8008221C 0007F17C C0 1F 01 30 */ lfs f0, 0x130(r31) -/* 80082220 0007F180 D0 1D 01 B0 */ stfs f0, 0x1b0(r29) -/* 80082224 0007F184 48 00 00 14 */ b lbl_80082238 -lbl_80082228: -/* 80082228 0007F188 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 8008222C 0007F18C 38 60 00 00 */ li r3, 0 -/* 80082230 0007F190 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80082234 0007F194 98 1D 01 8C */ stb r0, 0x18c(r29) -lbl_80082238: -/* 80082238 0007F198 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8008223C 0007F19C 54 00 01 09 */ rlwinm. r0, r0, 0, 4, 4 -/* 80082240 0007F1A0 41 82 00 1C */ beq lbl_8008225C -/* 80082244 0007F1A4 C0 3D 01 5C */ lfs f1, 0x15c(r29) -/* 80082248 0007F1A8 7F A3 EB 78 */ mr r3, r29 -/* 8008224C 0007F1AC C0 5F 01 28 */ lfs f2, 0x128(r31) -/* 80082250 0007F1B0 C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) -/* 80082254 0007F1B4 C0 82 89 B0 */ lfs f4, lbl_805AA6D0@sda21(r2) -/* 80082258 0007F1B8 4B FD 8C C1 */ bl SetFovInterpolation__11CGameCameraFffff -lbl_8008225C: -/* 8008225C 0007F1BC 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082260 0007F1C0 54 00 00 43 */ rlwinm. r0, r0, 0, 1, 1 -/* 80082264 0007F1C4 41 82 00 0C */ beq lbl_80082270 -/* 80082268 0007F1C8 C0 1F 01 34 */ lfs f0, 0x134(r31) -/* 8008226C 0007F1CC D0 1D 01 A8 */ stfs f0, 0x1a8(r29) -lbl_80082270: -/* 80082270 0007F1D0 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082274 0007F1D4 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 80082278 0007F1D8 41 82 00 14 */ beq lbl_8008228C -/* 8008227C 0007F1DC 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80082280 0007F1E0 C0 3F 01 4C */ lfs f1, 0x14c(r31) -/* 80082284 0007F1E4 4B F8 F8 21 */ bl SetControlDirectionInterpolation__7CPlayerFf -/* 80082288 0007F1E8 48 00 00 0C */ b lbl_80082294 -lbl_8008228C: -/* 8008228C 0007F1EC 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80082290 0007F1F0 4B F8 F7 F9 */ bl ResetControlDirectionInterpolation__7CPlayerFv -lbl_80082294: -/* 80082294 0007F1F4 80 1F 00 F4 */ lwz r0, 0xf4(r31) -/* 80082298 0007F1F8 28 00 00 08 */ cmplwi r0, 8 -/* 8008229C 0007F1FC 41 81 04 30 */ bgt lbl_800826CC -/* 800822A0 0007F200 3C 60 80 3E */ lis r3, lbl_803DAC04@ha -/* 800822A4 0007F204 54 00 10 3A */ slwi r0, r0, 2 -/* 800822A8 0007F208 38 63 AC 04 */ addi r3, r3, lbl_803DAC04@l -/* 800822AC 0007F20C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 800822B0 0007F210 7C 09 03 A6 */ mtctr r0 -/* 800822B4 0007F214 4E 80 04 20 */ bctr -/* 800822B8 0007F218 C0 1F 01 1C */ lfs f0, 0x11c(r31) -/* 800822BC 0007F21C 7F A3 EB 78 */ mr r3, r29 -/* 800822C0 0007F220 C0 3F 01 20 */ lfs f1, 0x120(r31) -/* 800822C4 0007F224 7F C4 F3 78 */ mr r4, r30 -/* 800822C8 0007F228 D0 01 01 0C */ stfs f0, 0x10c(r1) -/* 800822CC 0007F22C C0 1F 01 24 */ lfs f0, 0x124(r31) -/* 800822D0 0007F230 D0 21 01 10 */ stfs f1, 0x110(r1) -/* 800822D4 0007F234 80 01 01 0C */ lwz r0, 0x10c(r1) -/* 800822D8 0007F238 D0 01 01 14 */ stfs f0, 0x114(r1) -/* 800822DC 0007F23C 80 A1 01 10 */ lwz r5, 0x110(r1) -/* 800822E0 0007F240 90 01 00 88 */ stw r0, 0x88(r1) -/* 800822E4 0007F244 80 01 01 14 */ lwz r0, 0x114(r1) -/* 800822E8 0007F248 90 A1 00 8C */ stw r5, 0x8c(r1) -/* 800822EC 0007F24C C0 01 00 88 */ lfs f0, 0x88(r1) -/* 800822F0 0007F250 90 01 00 90 */ stw r0, 0x90(r1) -/* 800822F4 0007F254 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 800822F8 0007F258 D0 1D 04 5C */ stfs f0, 0x45c(r29) -/* 800822FC 0007F25C C0 01 00 90 */ lfs f0, 0x90(r1) -/* 80082300 0007F260 D0 3D 04 60 */ stfs f1, 0x460(r29) -/* 80082304 0007F264 D0 1D 04 64 */ stfs f0, 0x464(r29) -/* 80082308 0007F268 48 00 A7 89 */ bl ResetPosition__11CBallCameraFR13CStateManager -/* 8008230C 0007F26C 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 80082310 0007F270 38 61 00 7C */ addi r3, r1, 0x7c -/* 80082314 0007F274 48 20 2A 35 */ bl GetBallPosition__7CPlayerCFv -/* 80082318 0007F278 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 8008231C 0007F27C C3 C1 01 10 */ lfs f30, 0x110(r1) -/* 80082320 0007F280 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 80082324 0007F284 EC 60 F0 2A */ fadds f3, f0, f30 -/* 80082328 0007F288 C3 E1 01 14 */ lfs f31, 0x114(r1) -/* 8008232C 0007F28C C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80082330 0007F290 C0 21 01 0C */ lfs f1, 0x10c(r1) -/* 80082334 0007F294 EC 42 F8 2A */ fadds f2, f2, f31 -/* 80082338 0007F298 D0 61 01 04 */ stfs f3, 0x104(r1) -/* 8008233C 0007F29C EC 00 08 2A */ fadds f0, f0, f1 -/* 80082340 0007F2A0 D0 41 01 08 */ stfs f2, 0x108(r1) -/* 80082344 0007F2A4 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 80082348 0007F2A8 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8008234C 0007F2AC 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80082350 0007F2B0 41 82 00 C8 */ beq lbl_80082418 -/* 80082354 0007F2B4 FC 40 F0 90 */ fmr f2, f30 -/* 80082358 0007F2B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8008235C 0007F2BC 48 29 1E A5 */ bl __ct__9CVector2fFff -/* 80082360 0007F2C0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80082364 0007F2C4 48 29 1D 91 */ bl Magnitude__9CVector2fCFv -/* 80082368 0007F2C8 FC 00 08 90 */ fmr f0, f1 -/* 8008236C 0007F2CC C0 21 01 0C */ lfs f1, 0x10c(r1) -/* 80082370 0007F2D0 FC 40 F0 90 */ fmr f2, f30 -/* 80082374 0007F2D4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80082378 0007F2D8 FF C0 00 90 */ fmr f30, f0 -/* 8008237C 0007F2DC 48 29 1E 85 */ bl __ct__9CVector2fFff -/* 80082380 0007F2E0 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80082384 0007F2E4 38 61 00 70 */ addi r3, r1, 0x70 -/* 80082388 0007F2E8 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8008238C 0007F2EC 38 81 00 64 */ addi r4, r1, 0x64 -/* 80082390 0007F2F0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80082394 0007F2F4 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80082398 0007F2F8 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 8008239C 0007F2FC D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800823A0 0007F300 48 29 24 B1 */ bl AsNormalized__9CVector3fCFv -/* 800823A4 0007F304 C0 61 00 70 */ lfs f3, 0x70(r1) -/* 800823A8 0007F308 FC 20 F0 90 */ fmr f1, f30 -/* 800823AC 0007F30C C0 01 00 78 */ lfs f0, 0x78(r1) -/* 800823B0 0007F310 7F A4 EB 78 */ mr r4, r29 -/* 800823B4 0007F314 FC 80 18 50 */ fneg f4, f3 -/* 800823B8 0007F318 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 800823BC 0007F31C FC 00 00 50 */ fneg f0, f0 -/* 800823C0 0007F320 FC 60 10 50 */ fneg f3, f2 -/* 800823C4 0007F324 7F C6 F3 78 */ mr r6, r30 -/* 800823C8 0007F328 D0 81 00 F4 */ stfs f4, 0xf4(r1) -/* 800823CC 0007F32C FC 40 F8 90 */ fmr f2, f31 -/* 800823D0 0007F330 38 61 00 58 */ addi r3, r1, 0x58 -/* 800823D4 0007F334 D0 61 00 F8 */ stfs f3, 0xf8(r1) -/* 800823D8 0007F338 81 21 00 F4 */ lwz r9, 0xf4(r1) -/* 800823DC 0007F33C 38 A1 00 4C */ addi r5, r1, 0x4c -/* 800823E0 0007F340 D0 01 00 FC */ stfs f0, 0xfc(r1) -/* 800823E4 0007F344 81 01 00 F8 */ lwz r8, 0xf8(r1) -/* 800823E8 0007F348 38 E0 00 00 */ li r7, 0 -/* 800823EC 0007F34C 80 01 00 FC */ lwz r0, 0xfc(r1) -/* 800823F0 0007F350 91 21 00 4C */ stw r9, 0x4c(r1) -/* 800823F4 0007F354 91 01 00 50 */ stw r8, 0x50(r1) -/* 800823F8 0007F358 90 01 00 54 */ stw r0, 0x54(r1) -/* 800823FC 0007F35C 48 00 78 B9 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -/* 80082400 0007F360 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 80082404 0007F364 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 80082408 0007F368 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8008240C 0007F36C D0 41 01 00 */ stfs f2, 0x100(r1) -/* 80082410 0007F370 D0 21 01 04 */ stfs f1, 0x104(r1) -/* 80082414 0007F374 D0 01 01 08 */ stfs f0, 0x108(r1) -lbl_80082418: -/* 80082418 0007F378 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 8008241C 0007F37C 38 61 02 08 */ addi r3, r1, 0x208 -/* 80082420 0007F380 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 80082424 0007F384 38 BD 01 D8 */ addi r5, r29, 0x1d8 -/* 80082428 0007F388 38 81 01 00 */ addi r4, r1, 0x100 -/* 8008242C 0007F38C 48 29 16 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80082430 0007F390 38 61 02 C8 */ addi r3, r1, 0x2c8 -/* 80082434 0007F394 38 81 02 08 */ addi r4, r1, 0x208 -/* 80082438 0007F398 48 29 07 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008243C 0007F39C 7F A3 EB 78 */ mr r3, r29 -/* 80082440 0007F3A0 7F C5 F3 78 */ mr r5, r30 -/* 80082444 0007F3A4 38 81 02 C8 */ addi r4, r1, 0x2c8 -/* 80082448 0007F3A8 48 00 A5 B1 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 8008244C 0007F3AC 48 00 02 80 */ b lbl_800826CC -/* 80082450 0007F3B0 7F A3 EB 78 */ mr r3, r29 -/* 80082454 0007F3B4 7F C4 F3 78 */ mr r4, r30 -/* 80082458 0007F3B8 48 00 A6 39 */ bl ResetPosition__11CBallCameraFR13CStateManager -/* 8008245C 0007F3BC 7F A3 EB 78 */ mr r3, r29 -/* 80082460 0007F3C0 7F C5 F3 78 */ mr r5, r30 -/* 80082464 0007F3C4 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80082468 0007F3C8 48 00 A5 91 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 8008246C 0007F3CC 48 00 02 60 */ b lbl_800826CC -/* 80082470 0007F3D0 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082474 0007F3D4 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 80082478 0007F3D8 41 82 02 54 */ beq lbl_800826CC -/* 8008247C 0007F3DC 7F A3 EB 78 */ mr r3, r29 -/* 80082480 0007F3E0 7F C4 F3 78 */ mr r4, r30 -/* 80082484 0007F3E4 48 00 A6 0D */ bl ResetPosition__11CBallCameraFR13CStateManager -/* 80082488 0007F3E8 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8008248C 0007F3EC 54 00 03 5B */ rlwinm. r0, r0, 0, 0xd, 0xd -/* 80082490 0007F3F0 41 82 00 C8 */ beq lbl_80082558 -/* 80082494 0007F3F4 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 80082498 0007F3F8 7F C5 F3 78 */ mr r5, r30 -/* 8008249C 0007F3FC 38 61 01 D8 */ addi r3, r1, 0x1d8 -/* 800824A0 0007F400 4B F8 84 C9 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 800824A4 0007F404 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 800824A8 0007F408 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 800824AC 0007F40C C0 01 02 04 */ lfs f0, 0x204(r1) -/* 800824B0 0007F410 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 800824B4 0007F414 C0 64 00 50 */ lfs f3, 0x50(r4) -/* 800824B8 0007F418 C0 41 01 F4 */ lfs f2, 0x1f4(r1) -/* 800824BC 0007F41C EC 81 00 28 */ fsubs f4, f1, f0 -/* 800824C0 0007F420 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 800824C4 0007F424 C0 01 01 E4 */ lfs f0, 0x1e4(r1) -/* 800824C8 0007F428 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800824CC 0007F42C D0 81 00 F0 */ stfs f4, 0xf0(r1) -/* 800824D0 0007F430 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800824D4 0007F434 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800824D8 0007F438 D0 41 00 EC */ stfs f2, 0xec(r1) -/* 800824DC 0007F43C D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 800824E0 0007F440 D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 800824E4 0007F444 48 29 22 15 */ bl CanBeNormalized__9CVector3fCFv -/* 800824E8 0007F448 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800824EC 0007F44C 41 82 00 10 */ beq lbl_800824FC -/* 800824F0 0007F450 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 800824F4 0007F454 48 29 24 05 */ bl Normalize__9CVector3fFv -/* 800824F8 0007F458 48 00 00 20 */ b lbl_80082518 -lbl_800824FC: -/* 800824FC 0007F45C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80082500 0007F460 C0 03 05 0C */ lfs f0, 0x50c(r3) -/* 80082504 0007F464 D0 01 00 E8 */ stfs f0, 0xe8(r1) -/* 80082508 0007F468 C0 03 05 10 */ lfs f0, 0x510(r3) -/* 8008250C 0007F46C D0 01 00 EC */ stfs f0, 0xec(r1) -/* 80082510 0007F470 C0 03 05 14 */ lfs f0, 0x514(r3) -/* 80082514 0007F474 D0 01 00 F0 */ stfs f0, 0xf0(r1) -lbl_80082518: -/* 80082518 0007F478 80 A1 00 E8 */ lwz r5, 0xe8(r1) -/* 8008251C 0007F47C 7F A4 EB 78 */ mr r4, r29 -/* 80082520 0007F480 80 E1 00 EC */ lwz r7, 0xec(r1) -/* 80082524 0007F484 7F C6 F3 78 */ mr r6, r30 -/* 80082528 0007F488 80 01 00 F0 */ lwz r0, 0xf0(r1) -/* 8008252C 0007F48C 38 61 01 A8 */ addi r3, r1, 0x1a8 -/* 80082530 0007F490 90 A1 00 40 */ stw r5, 0x40(r1) -/* 80082534 0007F494 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80082538 0007F498 90 E1 00 44 */ stw r7, 0x44(r1) -/* 8008253C 0007F49C 90 01 00 48 */ stw r0, 0x48(r1) -/* 80082540 0007F4A0 48 00 76 41 */ bl UpdateLookDirection__11CBallCameraFRC9CVector3fR13CStateManager -/* 80082544 0007F4A4 7F A3 EB 78 */ mr r3, r29 -/* 80082548 0007F4A8 7F C5 F3 78 */ mr r5, r30 -/* 8008254C 0007F4AC 38 81 01 A8 */ addi r4, r1, 0x1a8 -/* 80082550 0007F4B0 48 00 A4 A9 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 80082554 0007F4B4 48 00 01 78 */ b lbl_800826CC -lbl_80082558: -/* 80082558 0007F4B8 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8008255C 0007F4BC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80082560 0007F4C0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80082564 0007F4C4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80082568 0007F4C8 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8008256C 0007F4CC 38 61 01 78 */ addi r3, r1, 0x178 -/* 80082570 0007F4D0 38 81 00 DC */ addi r4, r1, 0xdc -/* 80082574 0007F4D4 38 BD 01 D8 */ addi r5, r29, 0x1d8 -/* 80082578 0007F4D8 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 8008257C 0007F4DC D0 21 00 E0 */ stfs f1, 0xe0(r1) -/* 80082580 0007F4E0 D0 41 00 E4 */ stfs f2, 0xe4(r1) -/* 80082584 0007F4E4 48 29 15 8D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80082588 0007F4E8 38 61 02 98 */ addi r3, r1, 0x298 -/* 8008258C 0007F4EC 38 81 01 78 */ addi r4, r1, 0x178 -/* 80082590 0007F4F0 48 29 05 E5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80082594 0007F4F4 7F A3 EB 78 */ mr r3, r29 -/* 80082598 0007F4F8 7F C5 F3 78 */ mr r5, r30 -/* 8008259C 0007F4FC 38 81 02 98 */ addi r4, r1, 0x298 -/* 800825A0 0007F500 48 00 A4 59 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 800825A4 0007F504 48 00 01 28 */ b lbl_800826CC -/* 800825A8 0007F508 7F A3 EB 78 */ mr r3, r29 -/* 800825AC 0007F50C 7F C4 F3 78 */ mr r4, r30 -/* 800825B0 0007F510 48 00 A4 E1 */ bl ResetPosition__11CBallCameraFR13CStateManager -/* 800825B4 0007F514 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 800825B8 0007F518 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 800825BC 0007F51C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 800825C0 0007F520 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 800825C4 0007F524 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800825C8 0007F528 38 61 01 48 */ addi r3, r1, 0x148 -/* 800825CC 0007F52C 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 800825D0 0007F530 38 BD 01 D8 */ addi r5, r29, 0x1d8 -/* 800825D4 0007F534 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 800825D8 0007F538 D0 21 00 D4 */ stfs f1, 0xd4(r1) -/* 800825DC 0007F53C D0 41 00 D8 */ stfs f2, 0xd8(r1) -/* 800825E0 0007F540 48 29 15 31 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800825E4 0007F544 38 61 02 68 */ addi r3, r1, 0x268 -/* 800825E8 0007F548 38 81 01 48 */ addi r4, r1, 0x148 -/* 800825EC 0007F54C 48 29 05 89 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800825F0 0007F550 7F A3 EB 78 */ mr r3, r29 -/* 800825F4 0007F554 7F C5 F3 78 */ mr r5, r30 -/* 800825F8 0007F558 38 81 02 68 */ addi r4, r1, 0x268 -/* 800825FC 0007F55C 48 00 A3 FD */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 80082600 0007F560 48 00 00 CC */ b lbl_800826CC -/* 80082604 0007F564 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80082608 0007F568 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 8008260C 0007F56C 41 82 00 C0 */ beq lbl_800826CC -/* 80082610 0007F570 7F A3 EB 78 */ mr r3, r29 -/* 80082614 0007F574 7F C4 F3 78 */ mr r4, r30 -/* 80082618 0007F578 48 00 A4 79 */ bl ResetPosition__11CBallCameraFR13CStateManager -/* 8008261C 0007F57C C0 1D 01 90 */ lfs f0, 0x190(r29) -/* 80082620 0007F580 7F A3 EB 78 */ mr r3, r29 -/* 80082624 0007F584 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80082628 0007F588 7F C6 F3 78 */ mr r6, r30 -/* 8008262C 0007F58C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80082630 0007F590 38 81 00 10 */ addi r4, r1, 0x10 -/* 80082634 0007F594 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80082638 0007F598 C0 1D 01 A0 */ lfs f0, 0x1a0(r29) -/* 8008263C 0007F59C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80082640 0007F5A0 48 00 70 8D */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -/* 80082644 0007F5A4 81 1E 08 4C */ lwz r8, 0x84c(r30) -/* 80082648 0007F5A8 7F A4 EB 78 */ mr r4, r29 -/* 8008264C 0007F5AC C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80082650 0007F5B0 7F C6 F3 78 */ mr r6, r30 -/* 80082654 0007F5B4 80 E8 05 0C */ lwz r7, 0x50c(r8) -/* 80082658 0007F5B8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8008265C 0007F5BC 80 08 05 10 */ lwz r0, 0x510(r8) -/* 80082660 0007F5C0 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80082664 0007F5C4 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80082668 0007F5C8 90 E1 00 28 */ stw r7, 0x28(r1) -/* 8008266C 0007F5CC 38 E0 00 00 */ li r7, 0 -/* 80082670 0007F5D0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80082674 0007F5D4 80 08 05 14 */ lwz r0, 0x514(r8) -/* 80082678 0007F5D8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8008267C 0007F5DC 48 00 76 39 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -/* 80082680 0007F5E0 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80082684 0007F5E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80082688 0007F5E8 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8008268C 0007F5EC 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80082690 0007F5F0 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80082694 0007F5F4 38 61 01 18 */ addi r3, r1, 0x118 -/* 80082698 0007F5F8 D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 8008269C 0007F5FC 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 800826A0 0007F600 38 BD 01 CC */ addi r5, r29, 0x1cc -/* 800826A4 0007F604 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 800826A8 0007F608 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 800826AC 0007F60C 48 29 14 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800826B0 0007F610 38 61 02 38 */ addi r3, r1, 0x238 -/* 800826B4 0007F614 38 81 01 18 */ addi r4, r1, 0x118 -/* 800826B8 0007F618 48 29 04 BD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800826BC 0007F61C 7F A3 EB 78 */ mr r3, r29 -/* 800826C0 0007F620 7F C5 F3 78 */ mr r5, r30 -/* 800826C4 0007F624 38 81 02 38 */ addi r4, r1, 0x238 -/* 800826C8 0007F628 48 00 A3 31 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -lbl_800826CC: -/* 800826CC 0007F62C 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 800826D0 0007F630 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 800826D4 0007F634 41 82 00 20 */ beq lbl_800826F4 -/* 800826D8 0007F638 A0 1D 00 08 */ lhz r0, 8(r29) -/* 800826DC 0007F63C 7F C4 F3 78 */ mr r4, r30 -/* 800826E0 0007F640 38 A1 00 0C */ addi r5, r1, 0xc -/* 800826E4 0007F644 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800826E8 0007F648 B0 01 00 08 */ sth r0, 8(r1) -/* 800826EC 0007F64C 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 800826F0 0007F650 4B F8 81 59 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId -lbl_800826F4: -/* 800826F4 0007F654 E3 E1 03 28 */ psq_l f31, 808(r1), 0, qr0 -/* 800826F8 0007F658 CB E1 03 20 */ lfd f31, 0x320(r1) -/* 800826FC 0007F65C E3 C1 03 18 */ psq_l f30, 792(r1), 0, qr0 -/* 80082700 0007F660 CB C1 03 10 */ lfd f30, 0x310(r1) -/* 80082704 0007F664 83 E1 03 0C */ lwz r31, 0x30c(r1) -/* 80082708 0007F668 83 C1 03 08 */ lwz r30, 0x308(r1) -/* 8008270C 0007F66C 80 01 03 34 */ lwz r0, 0x334(r1) -/* 80082710 0007F670 83 A1 03 04 */ lwz r29, 0x304(r1) -/* 80082714 0007F674 7C 08 03 A6 */ mtlr r0 -/* 80082718 0007F678 38 21 03 30 */ addi r1, r1, 0x330 -/* 8008271C 0007F67C 4E 80 00 20 */ blr - -.global Accept__11CBallCameraFR8IVisitor -Accept__11CBallCameraFR8IVisitor: -/* 80082720 0007F680 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80082724 0007F684 7C 08 02 A6 */ mflr r0 -/* 80082728 0007F688 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008272C 0007F68C 7C 60 1B 78 */ mr r0, r3 -/* 80082730 0007F690 7C 83 23 78 */ mr r3, r4 -/* 80082734 0007F694 81 84 00 00 */ lwz r12, 0(r4) -/* 80082738 0007F698 7C 04 03 78 */ mr r4, r0 -/* 8008273C 0007F69C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80082740 0007F6A0 7D 89 03 A6 */ mtctr r12 -/* 80082744 0007F6A4 4E 80 04 21 */ bctrl -/* 80082748 0007F6A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008274C 0007F6AC 7C 08 03 A6 */ mtlr r0 -/* 80082750 0007F6B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80082754 0007F6B4 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CBallCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CBallCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80082758 0007F6B8 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8008275C 0007F6BC 7C 08 02 A6 */ mflr r0 -/* 80082760 0007F6C0 90 01 01 04 */ stw r0, 0x104(r1) -/* 80082764 0007F6C4 BF 21 00 E4 */ stmw r25, 0xe4(r1) -/* 80082768 0007F6C8 7C 7F 1B 78 */ mr r31, r3 -/* 8008276C 0007F6CC 7C 99 23 78 */ mr r25, r4 -/* 80082770 0007F6D0 7C DE 33 78 */ mr r30, r6 -/* 80082774 0007F6D4 A0 05 00 00 */ lhz r0, 0(r5) -/* 80082778 0007F6D8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8008277C 0007F6DC B0 01 00 18 */ sth r0, 0x18(r1) -/* 80082780 0007F6E0 4B FD 8B C9 */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80082784 0007F6E4 2C 19 00 22 */ cmpwi r25, 0x22 -/* 80082788 0007F6E8 41 82 03 54 */ beq lbl_80082ADC -/* 8008278C 0007F6EC 40 80 03 6C */ bge lbl_80082AF8 -/* 80082790 0007F6F0 2C 19 00 21 */ cmpwi r25, 0x21 -/* 80082794 0007F6F4 40 80 00 08 */ bge lbl_8008279C -/* 80082798 0007F6F8 48 00 03 60 */ b lbl_80082AF8 -lbl_8008279C: -/* 8008279C 0007F6FC 7F C4 F3 78 */ mr r4, r30 -/* 800827A0 0007F700 38 61 00 14 */ addi r3, r1, 0x14 -/* 800827A4 0007F704 4B FC A9 39 */ bl AllocateUniqueId__13CStateManagerFv -/* 800827A8 0007F708 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 800827AC 0007F70C 3C 60 80 3D */ lis r3, lbl_803CD678@ha -/* 800827B0 0007F710 38 83 D6 78 */ addi r4, r3, lbl_803CD678@l -/* 800827B4 0007F714 38 A0 00 00 */ li r5, 0 -/* 800827B8 0007F718 B0 1F 04 6C */ sth r0, 0x46c(r31) -/* 800827BC 0007F71C 38 60 03 10 */ li r3, 0x310 -/* 800827C0 0007F720 48 29 30 AD */ bl __nw__FUlPCcPCc -/* 800827C4 0007F724 7C 7D 1B 79 */ or. r29, r3, r3 -/* 800827C8 0007F728 41 82 00 4C */ beq lbl_80082814 -/* 800827CC 0007F72C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800827D0 0007F730 7F E4 FB 78 */ mr r4, r31 -/* 800827D4 0007F734 38 61 00 1C */ addi r3, r1, 0x1c -/* 800827D8 0007F738 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800827DC 0007F73C 4B FC E8 A9 */ bl GetAreaId__7CEntityCFv -/* 800827E0 0007F740 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 800827E4 0007F744 7F A3 EB 78 */ mr r3, r29 -/* 800827E8 0007F748 C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) -/* 800827EC 0007F74C 38 81 00 0C */ addi r4, r1, 0xc -/* 800827F0 0007F750 90 01 00 20 */ stw r0, 0x20(r1) -/* 800827F4 0007F754 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800827F8 0007F758 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 800827FC 0007F75C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80082800 0007F760 A0 1F 04 6C */ lhz r0, 0x46c(r31) -/* 80082804 0007F764 38 E0 00 01 */ li r7, 1 -/* 80082808 0007F768 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8008280C 0007F76C 48 12 6C 29 */ bl __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff -/* 80082810 0007F770 7C 7D 1B 78 */ mr r29, r3 -lbl_80082814: -/* 80082814 0007F774 28 1D 00 00 */ cmplwi r29, 0 -/* 80082818 0007F778 41 82 02 0C */ beq lbl_80082A24 -/* 8008281C 0007F77C 80 AD 85 04 */ lwz r5, lbl_805A70C4@sda21(r13) -/* 80082820 0007F780 38 60 00 00 */ li r3, 0 -/* 80082824 0007F784 38 80 00 01 */ li r4, 1 -/* 80082828 0007F788 48 30 76 CD */ bl __shl2i -/* 8008282C 0007F78C 80 AD 85 08 */ lwz r5, lbl_805A70C8@sda21(r13) -/* 80082830 0007F790 7C 9B 23 78 */ mr r27, r4 -/* 80082834 0007F794 7C 7C 1B 78 */ mr r28, r3 -/* 80082838 0007F798 38 60 00 00 */ li r3, 0 -/* 8008283C 0007F79C 38 80 00 01 */ li r4, 1 -/* 80082840 0007F7A0 48 30 76 B5 */ bl __shl2i -/* 80082844 0007F7A4 80 AD 85 0C */ lwz r5, lbl_805A70CC@sda21(r13) -/* 80082848 0007F7A8 7C 99 23 78 */ mr r25, r4 -/* 8008284C 0007F7AC 7C 7A 1B 78 */ mr r26, r3 -/* 80082850 0007F7B0 38 60 00 00 */ li r3, 0 -/* 80082854 0007F7B4 38 80 00 01 */ li r4, 1 -/* 80082858 0007F7B8 48 30 76 9D */ bl __shl2i -/* 8008285C 0007F7BC 7F 39 23 78 */ or r25, r25, r4 -/* 80082860 0007F7C0 7F 5A 1B 78 */ or r26, r26, r3 -/* 80082864 0007F7C4 38 00 00 03 */ li r0, 3 -/* 80082868 0007F7C8 93 61 00 8C */ stw r27, 0x8c(r1) -/* 8008286C 0007F7CC 7F A3 EB 78 */ mr r3, r29 -/* 80082870 0007F7D0 38 81 00 88 */ addi r4, r1, 0x88 -/* 80082874 0007F7D4 90 01 00 68 */ stw r0, 0x68(r1) -/* 80082878 0007F7D8 93 81 00 88 */ stw r28, 0x88(r1) -/* 8008287C 0007F7DC 93 21 00 94 */ stw r25, 0x94(r1) -/* 80082880 0007F7E0 93 41 00 90 */ stw r26, 0x90(r1) -/* 80082884 0007F7E4 90 01 00 98 */ stw r0, 0x98(r1) -/* 80082888 0007F7E8 4B FD 10 19 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 8008288C 0007F7EC 80 AD 85 10 */ lwz r5, lbl_805A70D0@sda21(r13) -/* 80082890 0007F7F0 38 60 00 00 */ li r3, 0 -/* 80082894 0007F7F4 38 80 00 01 */ li r4, 1 -/* 80082898 0007F7F8 48 30 76 5D */ bl __shl2i -/* 8008289C 0007F7FC 80 AD 85 14 */ lwz r5, lbl_805A70D4@sda21(r13) -/* 800828A0 0007F800 7C 9A 23 78 */ mr r26, r4 -/* 800828A4 0007F804 7C 79 1B 78 */ mr r25, r3 -/* 800828A8 0007F808 38 60 00 00 */ li r3, 0 -/* 800828AC 0007F80C 38 80 00 01 */ li r4, 1 -/* 800828B0 0007F810 48 30 76 45 */ bl __shl2i -/* 800828B4 0007F814 80 AD 85 18 */ lwz r5, lbl_805A70D8@sda21(r13) -/* 800828B8 0007F818 7F 5A 23 78 */ or r26, r26, r4 -/* 800828BC 0007F81C 7F 39 1B 78 */ or r25, r25, r3 -/* 800828C0 0007F820 38 60 00 00 */ li r3, 0 -/* 800828C4 0007F824 38 80 00 01 */ li r4, 1 -/* 800828C8 0007F828 48 30 76 2D */ bl __shl2i -/* 800828CC 0007F82C 80 AD 85 1C */ lwz r5, lbl_805A70DC@sda21(r13) -/* 800828D0 0007F830 7F 5A 23 78 */ or r26, r26, r4 -/* 800828D4 0007F834 7F 39 1B 78 */ or r25, r25, r3 -/* 800828D8 0007F838 38 60 00 00 */ li r3, 0 -/* 800828DC 0007F83C 38 80 00 01 */ li r4, 1 -/* 800828E0 0007F840 48 30 76 15 */ bl __shl2i -/* 800828E4 0007F844 7F 5A 23 78 */ or r26, r26, r4 -/* 800828E8 0007F848 7F 39 1B 78 */ or r25, r25, r3 -/* 800828EC 0007F84C 93 5D 00 6C */ stw r26, 0x6c(r29) -/* 800828F0 0007F850 7F A3 EB 78 */ mr r3, r29 -/* 800828F4 0007F854 38 81 00 34 */ addi r4, r1, 0x34 -/* 800828F8 0007F858 93 3D 00 68 */ stw r25, 0x68(r29) -/* 800828FC 0007F85C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80082900 0007F860 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80082904 0007F864 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80082908 0007F868 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8008290C 0007F86C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80082910 0007F870 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80082914 0007F874 4B FD 05 79 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80082918 0007F878 7F C3 F3 78 */ mr r3, r30 -/* 8008291C 0007F87C 7F A4 EB 78 */ mr r4, r29 -/* 80082920 0007F880 4B FC A3 D5 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 80082924 0007F884 88 1D 00 F8 */ lbz r0, 0xf8(r29) -/* 80082928 0007F888 38 60 00 00 */ li r3, 0 -/* 8008292C 0007F88C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80082930 0007F890 98 1D 00 F8 */ stb r0, 0xf8(r29) -/* 80082934 0007F894 4B F9 8C 01 */ bl Identity__10CAxisAngleFv -/* 80082938 0007F898 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 8008293C 0007F89C C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80082940 0007F8A0 7C 7C 1B 78 */ mr r28, r3 -/* 80082944 0007F8A4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80082948 0007F8A8 38 84 67 24 */ addi r4, r4, lbl_805A6724@l -/* 8008294C 0007F8AC 48 28 E3 F1 */ bl BuildFromAxisAngle__13CNUQuaternionFRC9CVector3ff -/* 80082950 0007F8B0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80082954 0007F8B4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80082958 0007F8B8 C4 A3 66 A0 */ lfsu f5, skZero3f@l(r3) -/* 8008295C 0007F8BC D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 80082960 0007F8C0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80082964 0007F8C4 C1 5F 00 60 */ lfs f10, 0x60(r31) -/* 80082968 0007F8C8 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 8008296C 0007F8CC C1 21 00 24 */ lfs f9, 0x24(r1) -/* 80082970 0007F8D0 C1 01 00 28 */ lfs f8, 0x28(r1) -/* 80082974 0007F8D4 C0 E1 00 2C */ lfs f7, 0x2c(r1) -/* 80082978 0007F8D8 C0 C1 00 30 */ lfs f6, 0x30(r1) -/* 8008297C 0007F8DC C0 83 00 04 */ lfs f4, 4(r3) -/* 80082980 0007F8E0 C0 63 00 08 */ lfs f3, 8(r3) -/* 80082984 0007F8E4 C0 5C 00 00 */ lfs f2, 0(r28) -/* 80082988 0007F8E8 C0 3C 00 04 */ lfs f1, 4(r28) -/* 8008298C 0007F8EC C0 1C 00 08 */ lfs f0, 8(r28) -/* 80082990 0007F8F0 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 80082994 0007F8F4 D1 41 00 A8 */ stfs f10, 0xa8(r1) -/* 80082998 0007F8F8 80 61 00 A4 */ lwz r3, 0xa4(r1) -/* 8008299C 0007F8FC 90 1D 01 F4 */ stw r0, 0x1f4(r29) -/* 800829A0 0007F900 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 800829A4 0007F904 90 7D 01 F8 */ stw r3, 0x1f8(r29) -/* 800829A8 0007F908 D1 21 00 AC */ stfs f9, 0xac(r1) -/* 800829AC 0007F90C 80 61 00 AC */ lwz r3, 0xac(r1) -/* 800829B0 0007F910 90 1D 01 FC */ stw r0, 0x1fc(r29) -/* 800829B4 0007F914 D1 01 00 B0 */ stfs f8, 0xb0(r1) -/* 800829B8 0007F918 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 800829BC 0007F91C 90 7D 02 00 */ stw r3, 0x200(r29) -/* 800829C0 0007F920 D0 E1 00 B4 */ stfs f7, 0xb4(r1) -/* 800829C4 0007F924 80 61 00 B4 */ lwz r3, 0xb4(r1) -/* 800829C8 0007F928 90 1D 02 04 */ stw r0, 0x204(r29) -/* 800829CC 0007F92C D0 C1 00 B8 */ stfs f6, 0xb8(r1) -/* 800829D0 0007F930 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 800829D4 0007F934 90 7D 02 08 */ stw r3, 0x208(r29) -/* 800829D8 0007F938 D0 A1 00 BC */ stfs f5, 0xbc(r1) -/* 800829DC 0007F93C 80 61 00 BC */ lwz r3, 0xbc(r1) -/* 800829E0 0007F940 90 1D 02 0C */ stw r0, 0x20c(r29) -/* 800829E4 0007F944 D0 81 00 C0 */ stfs f4, 0xc0(r1) -/* 800829E8 0007F948 80 01 00 C0 */ lwz r0, 0xc0(r1) -/* 800829EC 0007F94C 90 7D 02 10 */ stw r3, 0x210(r29) -/* 800829F0 0007F950 D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 800829F4 0007F954 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 800829F8 0007F958 90 1D 02 14 */ stw r0, 0x214(r29) -/* 800829FC 0007F95C D0 41 00 C8 */ stfs f2, 0xc8(r1) -/* 80082A00 0007F960 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 80082A04 0007F964 90 7D 02 18 */ stw r3, 0x218(r29) -/* 80082A08 0007F968 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 80082A0C 0007F96C 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 80082A10 0007F970 90 1D 02 1C */ stw r0, 0x21c(r29) -/* 80082A14 0007F974 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 80082A18 0007F978 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 80082A1C 0007F97C 90 7D 02 20 */ stw r3, 0x220(r29) -/* 80082A20 0007F980 90 1D 02 24 */ stw r0, 0x224(r29) -lbl_80082A24: -/* 80082A24 0007F984 80 AD 85 20 */ lwz r5, lbl_805A70E0@sda21(r13) -/* 80082A28 0007F988 38 60 00 00 */ li r3, 0 -/* 80082A2C 0007F98C 38 80 00 01 */ li r4, 1 -/* 80082A30 0007F990 48 30 74 C5 */ bl __shl2i -/* 80082A34 0007F994 80 AD 85 24 */ lwz r5, lbl_805A70E4@sda21(r13) -/* 80082A38 0007F998 7C 9A 23 78 */ mr r26, r4 -/* 80082A3C 0007F99C 7C 79 1B 78 */ mr r25, r3 -/* 80082A40 0007F9A0 38 60 00 00 */ li r3, 0 -/* 80082A44 0007F9A4 38 80 00 01 */ li r4, 1 -/* 80082A48 0007F9A8 48 30 74 AD */ bl __shl2i -/* 80082A4C 0007F9AC 80 AD 85 28 */ lwz r5, lbl_805A70E8@sda21(r13) -/* 80082A50 0007F9B0 7F 5A 23 78 */ or r26, r26, r4 -/* 80082A54 0007F9B4 7F 39 1B 78 */ or r25, r25, r3 -/* 80082A58 0007F9B8 38 60 00 00 */ li r3, 0 -/* 80082A5C 0007F9BC 38 80 00 01 */ li r4, 1 -/* 80082A60 0007F9C0 48 30 74 95 */ bl __shl2i -/* 80082A64 0007F9C4 80 AD 85 2C */ lwz r5, lbl_805A70EC@sda21(r13) -/* 80082A68 0007F9C8 7F 5A 23 78 */ or r26, r26, r4 -/* 80082A6C 0007F9CC 7F 39 1B 78 */ or r25, r25, r3 -/* 80082A70 0007F9D0 38 60 00 00 */ li r3, 0 -/* 80082A74 0007F9D4 38 80 00 01 */ li r4, 1 -/* 80082A78 0007F9D8 48 30 74 7D */ bl __shl2i -/* 80082A7C 0007F9DC 80 AD 85 30 */ lwz r5, lbl_805A70F0@sda21(r13) -/* 80082A80 0007F9E0 7F 5A 23 78 */ or r26, r26, r4 -/* 80082A84 0007F9E4 7F 39 1B 78 */ or r25, r25, r3 -/* 80082A88 0007F9E8 38 60 00 00 */ li r3, 0 -/* 80082A8C 0007F9EC 38 80 00 01 */ li r4, 1 -/* 80082A90 0007F9F0 48 30 74 65 */ bl __shl2i -/* 80082A94 0007F9F4 7F 5A 23 78 */ or r26, r26, r4 -/* 80082A98 0007F9F8 7F 39 1B 78 */ or r25, r25, r3 -/* 80082A9C 0007F9FC 38 A0 00 03 */ li r5, 3 -/* 80082AA0 0007FA00 38 00 00 00 */ li r0, 0 -/* 80082AA4 0007FA04 90 A1 00 50 */ stw r5, 0x50(r1) -/* 80082AA8 0007FA08 7F E3 FB 78 */ mr r3, r31 -/* 80082AAC 0007FA0C 38 81 00 70 */ addi r4, r1, 0x70 -/* 80082AB0 0007FA10 90 01 00 74 */ stw r0, 0x74(r1) -/* 80082AB4 0007FA14 90 01 00 70 */ stw r0, 0x70(r1) -/* 80082AB8 0007FA18 93 41 00 7C */ stw r26, 0x7c(r1) -/* 80082ABC 0007FA1C 93 21 00 78 */ stw r25, 0x78(r1) -/* 80082AC0 0007FA20 90 A1 00 80 */ stw r5, 0x80(r1) -/* 80082AC4 0007FA24 4B FD 0D DD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80082AC8 0007FA28 7F E3 FB 78 */ mr r3, r31 -/* 80082ACC 0007FA2C 7F C5 F3 78 */ mr r5, r30 -/* 80082AD0 0007FA30 38 80 00 13 */ li r4, 0x13 -/* 80082AD4 0007FA34 4B FD 14 AD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80082AD8 0007FA38 48 00 00 20 */ b lbl_80082AF8 -lbl_80082ADC: -/* 80082ADC 0007FA3C A0 1F 04 6C */ lhz r0, 0x46c(r31) -/* 80082AE0 0007FA40 7F C3 F3 78 */ mr r3, r30 -/* 80082AE4 0007FA44 38 81 00 08 */ addi r4, r1, 8 -/* 80082AE8 0007FA48 B0 01 00 08 */ sth r0, 8(r1) -/* 80082AEC 0007FA4C 4B FC 97 81 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80082AF0 0007FA50 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80082AF4 0007FA54 B0 1F 04 6C */ sth r0, 0x46c(r31) -lbl_80082AF8: -/* 80082AF8 0007FA58 BB 21 00 E4 */ lmw r25, 0xe4(r1) -/* 80082AFC 0007FA5C 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80082B00 0007FA60 7C 08 03 A6 */ mtlr r0 -/* 80082B04 0007FA64 38 21 01 00 */ addi r1, r1, 0x100 -/* 80082B08 0007FA68 4E 80 00 20 */ blr - -.global ProcessInput__11CBallCameraFRC11CFinalInputR13CStateManager -ProcessInput__11CBallCameraFRC11CFinalInputR13CStateManager: -/* 80082B0C 0007FA6C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80082B10 0007FA70 7C 08 02 A6 */ mflr r0 -/* 80082B14 0007FA74 90 01 00 34 */ stw r0, 0x34(r1) -/* 80082B18 0007FA78 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80082B1C 0007FA7C 7C BF 2B 78 */ mr r31, r5 -/* 80082B20 0007FA80 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80082B24 0007FA84 7C 7E 1B 78 */ mr r30, r3 -/* 80082B28 0007FA88 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80082B2C 0007FA8C 93 81 00 20 */ stw r28, 0x20(r1) -/* 80082B30 0007FA90 7C 9C 23 78 */ mr r28, r4 -/* 80082B34 0007FA94 80 04 00 04 */ lwz r0, 4(r4) -/* 80082B38 0007FA98 2C 00 00 00 */ cmpwi r0, 0 -/* 80082B3C 0007FA9C 40 82 01 40 */ bne lbl_80082C7C -/* 80082B40 0007FAA0 A0 1E 00 E8 */ lhz r0, 0xe8(r30) -/* 80082B44 0007FAA4 7F E3 FB 78 */ mr r3, r31 -/* 80082B48 0007FAA8 38 81 00 0C */ addi r4, r1, 0xc -/* 80082B4C 0007FAAC B0 01 00 08 */ sth r0, 8(r1) -/* 80082B50 0007FAB0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80082B54 0007FAB4 4B FC 9A 51 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80082B58 0007FAB8 7C 64 1B 78 */ mr r4, r3 -/* 80082B5C 0007FABC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80082B60 0007FAC0 48 02 98 35 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -/* 80082B64 0007FAC4 83 A3 00 04 */ lwz r29, 4(r3) -/* 80082B68 0007FAC8 28 1D 00 00 */ cmplwi r29, 0 -/* 80082B6C 0007FACC 41 82 01 10 */ beq lbl_80082C7C -/* 80082B70 0007FAD0 80 1D 02 F8 */ lwz r0, 0x2f8(r29) -/* 80082B74 0007FAD4 2C 00 00 01 */ cmpwi r0, 1 -/* 80082B78 0007FAD8 40 82 01 04 */ bne lbl_80082C7C -/* 80082B7C 0007FADC 80 1E 04 00 */ lwz r0, 0x400(r30) -/* 80082B80 0007FAE0 2C 00 00 02 */ cmpwi r0, 2 -/* 80082B84 0007FAE4 41 82 00 28 */ beq lbl_80082BAC -/* 80082B88 0007FAE8 40 80 00 10 */ bge lbl_80082B98 -/* 80082B8C 0007FAEC 2C 00 00 00 */ cmpwi r0, 0 -/* 80082B90 0007FAF0 41 82 00 74 */ beq lbl_80082C04 -/* 80082B94 0007FAF4 48 00 00 A0 */ b lbl_80082C34 -lbl_80082B98: -/* 80082B98 0007FAF8 2C 00 00 06 */ cmpwi r0, 6 -/* 80082B9C 0007FAFC 40 80 00 98 */ bge lbl_80082C34 -/* 80082BA0 0007FB00 2C 00 00 04 */ cmpwi r0, 4 -/* 80082BA4 0007FB04 40 80 00 90 */ bge lbl_80082C34 -/* 80082BA8 0007FB08 48 00 00 38 */ b lbl_80082BE0 -lbl_80082BAC: -/* 80082BAC 0007FB0C 7F 84 E3 78 */ mr r4, r28 -/* 80082BB0 0007FB10 38 60 00 31 */ li r3, 0x31 -/* 80082BB4 0007FB14 4B F8 9C C1 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80082BB8 0007FB18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80082BBC 0007FB1C 41 82 00 10 */ beq lbl_80082BCC -/* 80082BC0 0007FB20 88 1D 03 DC */ lbz r0, 0x3dc(r29) -/* 80082BC4 0007FB24 28 00 00 00 */ cmplwi r0, 0 -/* 80082BC8 0007FB28 41 82 00 6C */ beq lbl_80082C34 -lbl_80082BCC: -/* 80082BCC 0007FB2C 7F C3 F3 78 */ mr r3, r30 -/* 80082BD0 0007FB30 7F E5 FB 78 */ mr r5, r31 -/* 80082BD4 0007FB34 38 80 00 00 */ li r4, 0 -/* 80082BD8 0007FB38 48 00 00 C5 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -/* 80082BDC 0007FB3C 48 00 00 58 */ b lbl_80082C34 -lbl_80082BE0: -/* 80082BE0 0007FB40 80 7D 07 68 */ lwz r3, 0x768(r29) -/* 80082BE4 0007FB44 88 03 1D E4 */ lbz r0, 0x1de4(r3) -/* 80082BE8 0007FB48 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80082BEC 0007FB4C 40 82 00 48 */ bne lbl_80082C34 -/* 80082BF0 0007FB50 7F C3 F3 78 */ mr r3, r30 -/* 80082BF4 0007FB54 7F E5 FB 78 */ mr r5, r31 -/* 80082BF8 0007FB58 38 80 00 00 */ li r4, 0 -/* 80082BFC 0007FB5C 48 00 00 A1 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -/* 80082C00 0007FB60 48 00 00 34 */ b lbl_80082C34 -lbl_80082C04: -/* 80082C04 0007FB64 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 80082C08 0007FB68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80082C0C 0007FB6C 41 82 00 28 */ beq lbl_80082C34 -/* 80082C10 0007FB70 7F 84 E3 78 */ mr r4, r28 -/* 80082C14 0007FB74 38 60 00 31 */ li r3, 0x31 -/* 80082C18 0007FB78 4B F8 9B B9 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80082C1C 0007FB7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80082C20 0007FB80 41 82 00 14 */ beq lbl_80082C34 -/* 80082C24 0007FB84 7F C3 F3 78 */ mr r3, r30 -/* 80082C28 0007FB88 7F E5 FB 78 */ mr r5, r31 -/* 80082C2C 0007FB8C 38 80 00 02 */ li r4, 2 -/* 80082C30 0007FB90 48 00 00 6D */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -lbl_80082C34: -/* 80082C34 0007FB94 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 80082C38 0007FB98 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80082C3C 0007FB9C 41 82 00 40 */ beq lbl_80082C7C -/* 80082C40 0007FBA0 80 1E 04 00 */ lwz r0, 0x400(r30) -/* 80082C44 0007FBA4 2C 00 00 03 */ cmpwi r0, 3 -/* 80082C48 0007FBA8 41 82 00 34 */ beq lbl_80082C7C -/* 80082C4C 0007FBAC 80 7D 07 68 */ lwz r3, 0x768(r29) -/* 80082C50 0007FBB0 88 03 1D E4 */ lbz r0, 0x1de4(r3) -/* 80082C54 0007FBB4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80082C58 0007FBB8 40 82 00 14 */ bne lbl_80082C6C -/* 80082C5C 0007FBBC C0 23 1D E8 */ lfs f1, 0x1de8(r3) -/* 80082C60 0007FBC0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80082C64 0007FBC4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80082C68 0007FBC8 40 81 00 14 */ ble lbl_80082C7C -lbl_80082C6C: -/* 80082C6C 0007FBCC 7F C3 F3 78 */ mr r3, r30 -/* 80082C70 0007FBD0 7F E5 FB 78 */ mr r5, r31 -/* 80082C74 0007FBD4 38 80 00 03 */ li r4, 3 -/* 80082C78 0007FBD8 48 00 00 25 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -lbl_80082C7C: -/* 80082C7C 0007FBDC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80082C80 0007FBE0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80082C84 0007FBE4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80082C88 0007FBE8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80082C8C 0007FBEC 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80082C90 0007FBF0 7C 08 03 A6 */ mtlr r0 -/* 80082C94 0007FBF4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80082C98 0007FBF8 4E 80 00 20 */ blr - -.global SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager: -/* 80082C9C 0007FBFC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80082CA0 0007FC00 7C 08 02 A6 */ mflr r0 -/* 80082CA4 0007FC04 90 01 00 74 */ stw r0, 0x74(r1) -/* 80082CA8 0007FC08 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80082CAC 0007FC0C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80082CB0 0007FC10 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80082CB4 0007FC14 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80082CB8 0007FC18 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80082CBC 0007FC1C 7C 9E 23 78 */ mr r30, r4 -/* 80082CC0 0007FC20 7C 7D 1B 78 */ mr r29, r3 -/* 80082CC4 0007FC24 2C 1E 00 04 */ cmpwi r30, 4 -/* 80082CC8 0007FC28 7C BF 2B 78 */ mr r31, r5 -/* 80082CCC 0007FC2C 41 82 00 2C */ beq lbl_80082CF8 -/* 80082CD0 0007FC30 40 80 00 1C */ bge lbl_80082CEC -/* 80082CD4 0007FC34 2C 1E 00 01 */ cmpwi r30, 1 -/* 80082CD8 0007FC38 41 82 01 20 */ beq lbl_80082DF8 -/* 80082CDC 0007FC3C 40 80 00 BC */ bge lbl_80082D98 -/* 80082CE0 0007FC40 2C 1E 00 00 */ cmpwi r30, 0 -/* 80082CE4 0007FC44 40 80 00 B4 */ bge lbl_80082D98 -/* 80082CE8 0007FC48 48 00 01 10 */ b lbl_80082DF8 -lbl_80082CEC: -/* 80082CEC 0007FC4C 2C 1E 00 06 */ cmpwi r30, 6 -/* 80082CF0 0007FC50 40 80 01 08 */ bge lbl_80082DF8 -/* 80082CF4 0007FC54 48 00 00 B4 */ b lbl_80082DA8 -lbl_80082CF8: -/* 80082CF8 0007FC58 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 80082CFC 0007FC5C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80082D00 0007FC60 80 84 00 7C */ lwz r4, 0x7c(r4) -/* 80082D04 0007FC64 38 84 00 34 */ addi r4, r4, 0x34 -/* 80082D08 0007FC68 48 28 FE 6D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80082D0C 0007FC6C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80082D10 0007FC70 38 81 00 1C */ addi r4, r1, 0x1c -/* 80082D14 0007FC74 48 28 FE 2D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80082D18 0007FC78 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80082D1C 0007FC7C 38 C0 00 01 */ li r6, 1 -/* 80082D20 0007FC80 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 80082D24 0007FC84 7F A3 EB 78 */ mr r3, r29 -/* 80082D28 0007FC88 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80082D2C 0007FC8C 7F E5 FB 78 */ mr r5, r31 -/* 80082D30 0007FC90 38 81 00 10 */ addi r4, r1, 0x10 -/* 80082D34 0007FC94 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80082D38 0007FC98 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 80082D3C 0007FC9C 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80082D40 0007FCA0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80082D44 0007FCA4 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 80082D48 0007FCA8 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80082D4C 0007FCAC C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80082D50 0007FCB0 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80082D54 0007FCB4 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80082D58 0007FCB8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80082D5C 0007FCBC D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80082D60 0007FCC0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80082D64 0007FCC4 48 00 9D B9 */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager -/* 80082D68 0007FCC8 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80082D6C 0007FCCC 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80082D70 0007FCD0 C3 E3 01 5C */ lfs f31, 0x15c(r3) -/* 80082D74 0007FCD4 4B F8 93 65 */ bl DefaultThirdPersonFov__14CCameraManagerFv -/* 80082D78 0007FCD8 FC 40 08 90 */ fmr f2, f1 -/* 80082D7C 0007FCDC C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) -/* 80082D80 0007FCE0 FC 20 F8 90 */ fmr f1, f31 -/* 80082D84 0007FCE4 C0 82 89 B0 */ lfs f4, lbl_805AA6D0@sda21(r2) -/* 80082D88 0007FCE8 7F A3 EB 78 */ mr r3, r29 -/* 80082D8C 0007FCEC 4B FD 81 8D */ bl SetFovInterpolation__11CGameCameraFffff -/* 80082D90 0007FCF0 38 00 00 00 */ li r0, 0 -/* 80082D94 0007FCF4 90 1D 03 6C */ stw r0, 0x36c(r29) -lbl_80082D98: -/* 80082D98 0007FCF8 7F E3 FB 78 */ mr r3, r31 -/* 80082D9C 0007FCFC 38 80 00 00 */ li r4, 0 -/* 80082DA0 0007FD00 4B FC 11 B9 */ bl SetGameState__13CStateManagerFQ213CStateManager10EGameState -/* 80082DA4 0007FD04 48 00 00 54 */ b lbl_80082DF8 -lbl_80082DA8: -/* 80082DA8 0007FD08 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80082DAC 0007FD0C 7F E4 FB 78 */ mr r4, r31 -/* 80082DB0 0007FD10 38 A1 00 0C */ addi r5, r1, 0xc -/* 80082DB4 0007FD14 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80082DB8 0007FD18 B0 01 00 08 */ sth r0, 8(r1) -/* 80082DBC 0007FD1C 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80082DC0 0007FD20 4B F8 7A 89 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId -/* 80082DC4 0007FD24 7F E3 FB 78 */ mr r3, r31 -/* 80082DC8 0007FD28 38 80 00 00 */ li r4, 0 -/* 80082DCC 0007FD2C 4B FC 11 8D */ bl SetGameState__13CStateManagerFQ213CStateManager10EGameState -/* 80082DD0 0007FD30 C3 FD 01 5C */ lfs f31, 0x15c(r29) -/* 80082DD4 0007FD34 4B F8 92 FD */ bl DefaultFirstPersonFov__14CCameraManagerFv -/* 80082DD8 0007FD38 FC 40 08 90 */ fmr f2, f1 -/* 80082DDC 0007FD3C C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) -/* 80082DE0 0007FD40 FC 20 F8 90 */ fmr f1, f31 -/* 80082DE4 0007FD44 C0 82 89 B0 */ lfs f4, lbl_805AA6D0@sda21(r2) -/* 80082DE8 0007FD48 7F A3 EB 78 */ mr r3, r29 -/* 80082DEC 0007FD4C 4B FD 81 2D */ bl SetFovInterpolation__11CGameCameraFffff -/* 80082DF0 0007FD50 38 00 00 00 */ li r0, 0 -/* 80082DF4 0007FD54 90 1D 03 6C */ stw r0, 0x36c(r29) -lbl_80082DF8: -/* 80082DF8 0007FD58 93 DD 04 00 */ stw r30, 0x400(r29) -/* 80082DFC 0007FD5C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80082E00 0007FD60 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80082E04 0007FD64 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80082E08 0007FD68 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80082E0C 0007FD6C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80082E10 0007FD70 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80082E14 0007FD74 7C 08 03 A6 */ mtlr r0 -/* 80082E18 0007FD78 38 21 00 70 */ addi r1, r1, 0x70 -/* 80082E1C 0007FD7C 4E 80 00 20 */ blr - -.global Think__11CBallCameraFfR13CStateManager -Think__11CBallCameraFfR13CStateManager: -/* 80082E20 0007FD80 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80082E24 0007FD84 7C 08 02 A6 */ mflr r0 -/* 80082E28 0007FD88 90 01 01 04 */ stw r0, 0x104(r1) -/* 80082E2C 0007FD8C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80082E30 0007FD90 DB E1 00 F8 */ stfd f31, 0xf8(r1) -/* 80082E34 0007FD94 FF E0 08 90 */ fmr f31, f1 -/* 80082E38 0007FD98 93 E1 00 F4 */ stw r31, 0xf4(r1) -/* 80082E3C 0007FD9C 7C 7F 1B 78 */ mr r31, r3 -/* 80082E40 0007FDA0 93 C1 00 F0 */ stw r30, 0xf0(r1) -/* 80082E44 0007FDA4 93 A1 00 EC */ stw r29, 0xec(r1) -/* 80082E48 0007FDA8 7C 9D 23 78 */ mr r29, r4 -/* 80082E4C 0007FDAC 7F A3 EB 78 */ mr r3, r29 -/* 80082E50 0007FDB0 80 04 08 CC */ lwz r0, 0x8cc(r4) -/* 80082E54 0007FDB4 7F E4 FB 78 */ mr r4, r31 -/* 80082E58 0007FDB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80082E5C 0007FDBC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80082E60 0007FDC0 4B FC 24 19 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId -/* 80082E64 0007FDC4 FC 20 F8 90 */ fmr f1, f31 -/* 80082E68 0007FDC8 7F E3 FB 78 */ mr r3, r31 -/* 80082E6C 0007FDCC 7F A4 EB 78 */ mr r4, r29 -/* 80082E70 0007FDD0 48 00 59 B9 */ bl UpdatePlayerMovement__11CBallCameraFfR13CStateManager -/* 80082E74 0007FDD4 A0 1F 04 6C */ lhz r0, 0x46c(r31) -/* 80082E78 0007FDD8 7F A3 EB 78 */ mr r3, r29 -/* 80082E7C 0007FDDC 38 81 00 08 */ addi r4, r1, 8 -/* 80082E80 0007FDE0 B0 01 00 08 */ sth r0, 8(r1) -/* 80082E84 0007FDE4 4B FC 96 F1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80082E88 0007FDE8 7C 64 1B 78 */ mr r4, r3 -/* 80082E8C 0007FDEC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80082E90 0007FDF0 48 02 C4 BD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 80082E94 0007FDF4 83 C3 00 04 */ lwz r30, 4(r3) -/* 80082E98 0007FDF8 28 1E 00 00 */ cmplwi r30, 0 -/* 80082E9C 0007FDFC 41 82 00 1C */ beq lbl_80082EB8 -/* 80082EA0 0007FE00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80082EA4 0007FE04 7F A3 EB 78 */ mr r3, r29 -/* 80082EA8 0007FE08 7F C4 F3 78 */ mr r4, r30 -/* 80082EAC 0007FE0C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80082EB0 0007FE10 90 01 00 0C */ stw r0, 0xc(r1) -/* 80082EB4 0007FE14 4B FC 23 C5 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId -lbl_80082EB8: -/* 80082EB8 0007FE18 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80082EBC 0007FE1C 80 03 02 F4 */ lwz r0, 0x2f4(r3) -/* 80082EC0 0007FE20 2C 00 00 01 */ cmpwi r0, 1 -/* 80082EC4 0007FE24 41 82 00 44 */ beq lbl_80082F08 -/* 80082EC8 0007FE28 2C 00 00 03 */ cmpwi r0, 3 -/* 80082ECC 0007FE2C 41 82 00 3C */ beq lbl_80082F08 -/* 80082ED0 0007FE30 2C 00 00 02 */ cmpwi r0, 2 -/* 80082ED4 0007FE34 41 82 00 34 */ beq lbl_80082F08 -/* 80082ED8 0007FE38 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 80082EDC 0007FE3C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80082EE0 0007FE40 40 82 00 28 */ bne lbl_80082F08 -/* 80082EE4 0007FE44 28 1E 00 00 */ cmplwi r30, 0 -/* 80082EE8 0007FE48 41 82 01 EC */ beq lbl_800830D4 -/* 80082EEC 0007FE4C 7F C3 F3 78 */ mr r3, r30 -/* 80082EF0 0007FE50 38 80 00 00 */ li r4, 0 -/* 80082EF4 0007FE54 81 9E 00 00 */ lwz r12, 0(r30) -/* 80082EF8 0007FE58 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80082EFC 0007FE5C 7D 89 03 A6 */ mtctr r12 -/* 80082F00 0007FE60 4E 80 04 21 */ bctrl -/* 80082F04 0007FE64 48 00 01 D0 */ b lbl_800830D4 -lbl_80082F08: -/* 80082F08 0007FE68 28 1E 00 00 */ cmplwi r30, 0 -/* 80082F0C 0007FE6C 41 82 00 1C */ beq lbl_80082F28 -/* 80082F10 0007FE70 7F C3 F3 78 */ mr r3, r30 -/* 80082F14 0007FE74 38 80 00 01 */ li r4, 1 -/* 80082F18 0007FE78 81 9E 00 00 */ lwz r12, 0(r30) -/* 80082F1C 0007FE7C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80082F20 0007FE80 7D 89 03 A6 */ mtctr r12 -/* 80082F24 0007FE84 4E 80 04 21 */ bctrl -lbl_80082F28: -/* 80082F28 0007FE88 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80082F2C 0007FE8C 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80082F30 0007FE90 48 28 FC 45 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80082F34 0007FE94 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80082F38 0007FE98 80 03 09 D0 */ lwz r0, 0x9d0(r3) -/* 80082F3C 0007FE9C 2C 00 00 01 */ cmpwi r0, 1 -/* 80082F40 0007FEA0 41 82 00 14 */ beq lbl_80082F54 -/* 80082F44 0007FEA4 FC 20 F8 90 */ fmr f1, f31 -/* 80082F48 0007FEA8 7F E3 FB 78 */ mr r3, r31 -/* 80082F4C 0007FEAC 7F A4 EB 78 */ mr r4, r29 -/* 80082F50 0007FEB0 48 00 0B 15 */ bl UpdateLookAtPosition__11CBallCameraFfR13CStateManager -lbl_80082F54: -/* 80082F54 0007FEB4 FC 20 F8 90 */ fmr f1, f31 -/* 80082F58 0007FEB8 7F E3 FB 78 */ mr r3, r31 -/* 80082F5C 0007FEBC 7F A4 EB 78 */ mr r4, r29 -/* 80082F60 0007FEC0 48 00 03 F9 */ bl CheckFailSafe__11CBallCameraFfR13CStateManager -/* 80082F64 0007FEC4 7F E3 FB 78 */ mr r3, r31 -/* 80082F68 0007FEC8 7F A4 EB 78 */ mr r4, r29 -/* 80082F6C 0007FECC 48 00 69 91 */ bl UpdateObjectTooCloseId__11CBallCameraFR13CStateManager -/* 80082F70 0007FED0 FC 20 F8 90 */ fmr f1, f31 -/* 80082F74 0007FED4 7F E3 FB 78 */ mr r3, r31 -/* 80082F78 0007FED8 48 00 1A 59 */ bl UpdateAnglePerSecond__11CBallCameraFf -/* 80082F7C 0007FEDC 80 1F 04 00 */ lwz r0, 0x400(r31) -/* 80082F80 0007FEE0 2C 00 00 01 */ cmpwi r0, 1 -/* 80082F84 0007FEE4 41 82 00 D8 */ beq lbl_8008305C -/* 80082F88 0007FEE8 40 80 00 10 */ bge lbl_80082F98 -/* 80082F8C 0007FEEC 2C 00 00 00 */ cmpwi r0, 0 -/* 80082F90 0007FEF0 40 80 00 18 */ bge lbl_80082FA8 -/* 80082F94 0007FEF4 48 00 00 C8 */ b lbl_8008305C -lbl_80082F98: -/* 80082F98 0007FEF8 2C 00 00 06 */ cmpwi r0, 6 -/* 80082F9C 0007FEFC 40 80 00 C0 */ bge lbl_8008305C -/* 80082FA0 0007FF00 2C 00 00 04 */ cmpwi r0, 4 -/* 80082FA4 0007FF04 40 80 00 A8 */ bge lbl_8008304C -lbl_80082FA8: -/* 80082FA8 0007FF08 80 1F 01 88 */ lwz r0, 0x188(r31) -/* 80082FAC 0007FF0C 2C 00 00 06 */ cmpwi r0, 6 -/* 80082FB0 0007FF10 41 82 00 54 */ beq lbl_80083004 -/* 80082FB4 0007FF14 40 80 00 1C */ bge lbl_80082FD0 -/* 80082FB8 0007FF18 2C 00 00 03 */ cmpwi r0, 3 -/* 80082FBC 0007FF1C 41 82 00 A0 */ beq lbl_8008305C -/* 80082FC0 0007FF20 40 80 00 30 */ bge lbl_80082FF0 -/* 80082FC4 0007FF24 2C 00 00 00 */ cmpwi r0, 0 -/* 80082FC8 0007FF28 40 80 00 3C */ bge lbl_80083004 -/* 80082FCC 0007FF2C 48 00 00 90 */ b lbl_8008305C -lbl_80082FD0: -/* 80082FD0 0007FF30 2C 00 00 08 */ cmpwi r0, 8 -/* 80082FD4 0007FF34 41 82 00 64 */ beq lbl_80083038 -/* 80082FD8 0007FF38 40 80 00 84 */ bge lbl_8008305C -/* 80082FDC 0007FF3C FC 20 F8 90 */ fmr f1, f31 -/* 80082FE0 0007FF40 7F E3 FB 78 */ mr r3, r31 -/* 80082FE4 0007FF44 7F A4 EB 78 */ mr r4, r29 -/* 80082FE8 0007FF48 48 00 1C C1 */ bl UpdateUsingPathCameras__11CBallCameraFfR13CStateManager -/* 80082FEC 0007FF4C 48 00 00 70 */ b lbl_8008305C -lbl_80082FF0: -/* 80082FF0 0007FF50 FC 20 F8 90 */ fmr f1, f31 -/* 80082FF4 0007FF54 7F E3 FB 78 */ mr r3, r31 -/* 80082FF8 0007FF58 7F A4 EB 78 */ mr r4, r29 -/* 80082FFC 0007FF5C 48 00 0F FD */ bl UpdateUsingFixedCameras__11CBallCameraFfR13CStateManager -/* 80083000 0007FF60 48 00 00 5C */ b lbl_8008305C -lbl_80083004: -/* 80083004 0007FF64 80 1F 03 6C */ lwz r0, 0x36c(r31) -/* 80083008 0007FF68 2C 00 00 00 */ cmpwi r0, 0 -/* 8008300C 0007FF6C 41 82 00 18 */ beq lbl_80083024 -/* 80083010 0007FF70 FC 20 F8 90 */ fmr f1, f31 -/* 80083014 0007FF74 7F E3 FB 78 */ mr r3, r31 -/* 80083018 0007FF78 7F A4 EB 78 */ mr r4, r29 -/* 8008301C 0007FF7C 48 00 3C B9 */ bl UpdateUsingFreeLook__11CBallCameraFfR13CStateManager -/* 80083020 0007FF80 48 00 00 3C */ b lbl_8008305C -lbl_80083024: -/* 80083024 0007FF84 FC 20 F8 90 */ fmr f1, f31 -/* 80083028 0007FF88 7F E3 FB 78 */ mr r3, r31 -/* 8008302C 0007FF8C 7F A4 EB 78 */ mr r4, r29 -/* 80083030 0007FF90 48 00 28 79 */ bl UpdateUsingColliders__11CBallCameraFfR13CStateManager -/* 80083034 0007FF94 48 00 00 28 */ b lbl_8008305C -lbl_80083038: -/* 80083038 0007FF98 FC 20 F8 90 */ fmr f1, f31 -/* 8008303C 0007FF9C 7F E3 FB 78 */ mr r3, r31 -/* 80083040 0007FFA0 7F A4 EB 78 */ mr r4, r29 -/* 80083044 0007FFA4 48 00 1C F1 */ bl UpdateUsingSpindleCameras__11CBallCameraFfR13CStateManager -/* 80083048 0007FFA8 48 00 00 14 */ b lbl_8008305C -lbl_8008304C: -/* 8008304C 0007FFAC FC 20 F8 90 */ fmr f1, f31 -/* 80083050 0007FFB0 7F E3 FB 78 */ mr r3, r31 -/* 80083054 0007FFB4 7F A4 EB 78 */ mr r4, r29 -/* 80083058 0007FFB8 48 00 1D 69 */ bl UpdateUsingTransitions__11CBallCameraFfR13CStateManager -lbl_8008305C: -/* 8008305C 0007FFBC FC 20 F8 90 */ fmr f1, f31 -/* 80083060 0007FFC0 7F E4 FB 78 */ mr r4, r31 -/* 80083064 0007FFC4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80083068 0007FFC8 38 A1 00 B0 */ addi r5, r1, 0xb0 -/* 8008306C 0007FFCC 38 DF 00 34 */ addi r6, r31, 0x34 -/* 80083070 0007FFD0 48 00 60 11 */ bl UpdateCameraPositions__11CBallCameraFfRC12CTransform4fRC12CTransform4f -/* 80083074 0007FFD4 38 61 00 80 */ addi r3, r1, 0x80 -/* 80083078 0007FFD8 38 81 00 50 */ addi r4, r1, 0x50 -/* 8008307C 0007FFDC 48 28 FA F9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80083080 0007FFE0 7F E4 FB 78 */ mr r4, r31 -/* 80083084 0007FFE4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80083088 0007FFE8 38 A1 00 80 */ addi r5, r1, 0x80 -/* 8008308C 0007FFEC 38 C1 00 B0 */ addi r6, r1, 0xb0 -/* 80083090 0007FFF0 4B FD 7F 31 */ bl ValidateCameraTransform__11CGameCameraFRC12CTransform4fRC12CTransform4f -/* 80083094 0007FFF4 38 61 00 80 */ addi r3, r1, 0x80 -/* 80083098 0007FFF8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8008309C 0007FFFC 48 28 FA A5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800830A0 00080000 38 7F 00 34 */ addi r3, r31, 0x34 -/* 800830A4 00080004 38 81 00 80 */ addi r4, r1, 0x80 -/* 800830A8 00080008 48 28 FA 99 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800830AC 0008000C 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800830B0 00080010 38 60 00 01 */ li r3, 1 -/* 800830B4 00080014 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800830B8 00080018 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800830BC 0008001C 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800830C0 00080020 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800830C4 00080024 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800830C8 00080028 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800830CC 0008002C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800830D0 00080030 98 1F 00 E4 */ stb r0, 0xe4(r31) -lbl_800830D4: -/* 800830D4 00080034 80 01 01 04 */ lwz r0, 0x104(r1) -/* 800830D8 00080038 CB E1 00 F8 */ lfd f31, 0xf8(r1) -/* 800830DC 0008003C 83 E1 00 F4 */ lwz r31, 0xf4(r1) -/* 800830E0 00080040 83 C1 00 F0 */ lwz r30, 0xf0(r1) -/* 800830E4 00080044 83 A1 00 EC */ lwz r29, 0xec(r1) -/* 800830E8 00080048 7C 08 03 A6 */ mtlr r0 -/* 800830EC 0008004C 38 21 01 00 */ addi r1, r1, 0x100 -/* 800830F0 00080050 4E 80 00 20 */ blr - -.global DoorClosed__11CBallCameraF9TUniqueId -DoorClosed__11CBallCameraF9TUniqueId: -/* 800830F4 00080054 A0 84 00 00 */ lhz r4, 0(r4) -/* 800830F8 00080058 A0 03 03 DC */ lhz r0, 0x3dc(r3) -/* 800830FC 0008005C 7C 04 00 40 */ cmplw r4, r0 -/* 80083100 00080060 4C 82 00 20 */ bnelr -/* 80083104 00080064 88 03 01 8E */ lbz r0, 0x18e(r3) -/* 80083108 00080068 38 80 00 01 */ li r4, 1 -/* 8008310C 0008006C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80083110 00080070 98 03 01 8E */ stb r0, 0x18e(r3) -/* 80083114 00080074 4E 80 00 20 */ blr - -.global DoorClosing__11CBallCameraF9TUniqueId -DoorClosing__11CBallCameraF9TUniqueId: -/* 80083118 00080078 A0 84 00 00 */ lhz r4, 0(r4) -/* 8008311C 0008007C A0 03 03 DC */ lhz r0, 0x3dc(r3) -/* 80083120 00080080 7C 04 00 40 */ cmplw r4, r0 -/* 80083124 00080084 4C 82 00 20 */ bnelr -/* 80083128 00080088 88 03 01 8E */ lbz r0, 0x18e(r3) -/* 8008312C 0008008C 38 80 00 01 */ li r4, 1 -/* 80083130 00080090 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80083134 00080094 98 03 01 8E */ stb r0, 0x18e(r3) -/* 80083138 00080098 4E 80 00 20 */ blr - -.global IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager -IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager: -/* 8008313C 0008009C 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80083140 000800A0 7C 08 02 A6 */ mflr r0 -/* 80083144 000800A4 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80083148 000800A8 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8008314C 000800AC 7C 9F 23 78 */ mr r31, r4 -/* 80083150 000800B0 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 80083154 000800B4 7C 7E 1B 78 */ mr r30, r3 -/* 80083158 000800B8 7F E3 FB 78 */ mr r3, r31 -/* 8008315C 000800BC 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 80083160 000800C0 80 A4 08 70 */ lwz r5, 0x870(r4) -/* 80083164 000800C4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80083168 000800C8 80 A5 00 80 */ lwz r5, 0x80(r5) -/* 8008316C 000800CC A0 05 03 DC */ lhz r0, 0x3dc(r5) -/* 80083170 000800D0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80083174 000800D4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80083178 000800D8 4B FC 94 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8008317C 000800DC 7C 64 1B 78 */ mr r4, r3 -/* 80083180 000800E0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80083184 000800E4 48 02 6F 6D */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 80083188 000800E8 83 A3 00 04 */ lwz r29, 4(r3) -/* 8008318C 000800EC 28 1D 00 00 */ cmplwi r29, 0 -/* 80083190 000800F0 41 82 00 14 */ beq lbl_800831A4 -/* 80083194 000800F4 41 82 00 18 */ beq lbl_800831AC -/* 80083198 000800F8 88 1D 02 A8 */ lbz r0, 0x2a8(r29) -/* 8008319C 000800FC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800831A0 00080100 41 82 00 0C */ beq lbl_800831AC -lbl_800831A4: -/* 800831A4 00080104 38 60 00 00 */ li r3, 0 -/* 800831A8 00080108 48 00 01 94 */ b lbl_8008333C -lbl_800831AC: -/* 800831AC 0008010C 7F A4 EB 78 */ mr r4, r29 -/* 800831B0 00080110 38 61 00 50 */ addi r3, r1, 0x50 -/* 800831B4 00080114 81 9D 00 00 */ lwz r12, 0(r29) -/* 800831B8 00080118 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 800831BC 0008011C 7D 89 03 A6 */ mtctr r12 -/* 800831C0 00080120 4E 80 04 21 */ bctrl -/* 800831C4 00080124 88 01 00 68 */ lbz r0, 0x68(r1) -/* 800831C8 00080128 28 00 00 00 */ cmplwi r0, 0 -/* 800831CC 0008012C 98 01 00 9C */ stb r0, 0x9c(r1) -/* 800831D0 00080130 41 82 00 3C */ beq lbl_8008320C -/* 800831D4 00080134 34 61 00 84 */ addic. r3, r1, 0x84 -/* 800831D8 00080138 41 82 00 34 */ beq lbl_8008320C -/* 800831DC 0008013C C0 01 00 50 */ lfs f0, 0x50(r1) -/* 800831E0 00080140 D0 03 00 00 */ stfs f0, 0(r3) -/* 800831E4 00080144 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800831E8 00080148 D0 03 00 04 */ stfs f0, 4(r3) -/* 800831EC 0008014C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 800831F0 00080150 D0 03 00 08 */ stfs f0, 8(r3) -/* 800831F4 00080154 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 800831F8 00080158 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800831FC 0008015C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 80083200 00080160 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80083204 00080164 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80083208 00080168 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8008320C: -/* 8008320C 0008016C C0 9E 00 04 */ lfs f4, 4(r30) -/* 80083210 00080170 38 00 00 00 */ li r0, 0 -/* 80083214 00080174 C0 62 89 C4 */ lfs f3, lbl_805AA6E4@sda21(r2) -/* 80083218 00080178 38 61 00 6C */ addi r3, r1, 0x6c -/* 8008321C 0008017C C0 5E 00 08 */ lfs f2, 8(r30) -/* 80083220 00080180 38 81 00 44 */ addi r4, r1, 0x44 -/* 80083224 00080184 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80083228 00080188 EC C4 18 28 */ fsubs f6, f4, f3 -/* 8008322C 0008018C EC A2 18 28 */ fsubs f5, f2, f3 -/* 80083230 00080190 98 01 00 68 */ stb r0, 0x68(r1) -/* 80083234 00080194 EC 20 18 28 */ fsubs f1, f0, f3 -/* 80083238 00080198 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8008323C 0008019C EC 84 18 2A */ fadds f4, f4, f3 -/* 80083240 000801A0 EC 42 18 2A */ fadds f2, f2, f3 -/* 80083244 000801A4 EC 00 18 2A */ fadds f0, f0, f3 -/* 80083248 000801A8 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8008324C 000801AC D0 C1 00 48 */ stfs f6, 0x48(r1) -/* 80083250 000801B0 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 80083254 000801B4 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80083258 000801B8 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 8008325C 000801BC D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80083260 000801C0 48 2B 52 A9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80083264 000801C4 88 01 00 9C */ lbz r0, 0x9c(r1) -/* 80083268 000801C8 28 00 00 00 */ cmplwi r0, 0 -/* 8008326C 000801CC 41 82 00 18 */ beq lbl_80083284 -/* 80083270 000801D0 38 61 00 84 */ addi r3, r1, 0x84 -/* 80083274 000801D4 38 81 00 6C */ addi r4, r1, 0x6c -/* 80083278 000801D8 48 2B 49 0D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 8008327C 000801DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80083280 000801E0 40 82 00 14 */ bne lbl_80083294 -lbl_80083284: -/* 80083284 000801E4 38 00 00 00 */ li r0, 0 -/* 80083288 000801E8 38 60 00 00 */ li r3, 0 -/* 8008328C 000801EC 98 01 00 9C */ stb r0, 0x9c(r1) -/* 80083290 000801F0 48 00 00 AC */ b lbl_8008333C -lbl_80083294: -/* 80083294 000801F4 A0 1D 02 82 */ lhz r0, 0x282(r29) -/* 80083298 000801F8 7F E3 FB 78 */ mr r3, r31 -/* 8008329C 000801FC 38 81 00 08 */ addi r4, r1, 8 -/* 800832A0 00080200 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800832A4 00080204 B0 01 00 08 */ sth r0, 8(r1) -/* 800832A8 00080208 4B FC 92 FD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800832AC 0008020C 7C 64 1B 78 */ mr r4, r3 -/* 800832B0 00080210 38 61 00 18 */ addi r3, r1, 0x18 -/* 800832B4 00080214 48 02 71 51 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" -/* 800832B8 00080218 80 83 00 04 */ lwz r4, 4(r3) -/* 800832BC 0008021C 28 04 00 00 */ cmplwi r4, 0 -/* 800832C0 00080220 40 82 00 14 */ bne lbl_800832D4 -/* 800832C4 00080224 38 00 00 00 */ li r0, 0 -/* 800832C8 00080228 38 60 00 00 */ li r3, 0 -/* 800832CC 0008022C 98 01 00 9C */ stb r0, 0x9c(r1) -/* 800832D0 00080230 48 00 00 6C */ b lbl_8008333C -lbl_800832D4: -/* 800832D4 00080234 7F E5 FB 78 */ mr r5, r31 -/* 800832D8 00080238 38 61 00 28 */ addi r3, r1, 0x28 -/* 800832DC 0008023C 48 04 06 AD */ bl GetPlane__11CScriptDockCFRC13CStateManager -/* 800832E0 00080240 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 800832E4 00080244 C0 1E 00 04 */ lfs f0, 4(r30) -/* 800832E8 00080248 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 800832EC 0008024C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800832F0 00080250 C0 3E 00 00 */ lfs f1, 0(r30) -/* 800832F4 00080254 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 800832F8 00080258 C0 7E 00 08 */ lfs f3, 8(r30) -/* 800832FC 0008025C EC 42 00 7A */ fmadds f2, f2, f1, f0 -/* 80083300 00080260 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80083304 00080264 C0 02 89 D4 */ lfs f0, lbl_805AA6F4@sda21(r2) -/* 80083308 00080268 EC 44 10 FA */ fmadds f2, f4, f3, f2 -/* 8008330C 0008026C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80083310 00080270 FC 20 0A 10 */ fabs f1, f1 -/* 80083314 00080274 FC 20 08 18 */ frsp f1, f1 -/* 80083318 00080278 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008331C 0008027C 40 80 00 14 */ bge lbl_80083330 -/* 80083320 00080280 38 00 00 00 */ li r0, 0 -/* 80083324 00080284 38 60 00 01 */ li r3, 1 -/* 80083328 00080288 98 01 00 9C */ stb r0, 0x9c(r1) -/* 8008332C 0008028C 48 00 00 10 */ b lbl_8008333C -lbl_80083330: -/* 80083330 00080290 38 00 00 00 */ li r0, 0 -/* 80083334 00080294 38 60 00 00 */ li r3, 0 -/* 80083338 00080298 98 01 00 9C */ stb r0, 0x9c(r1) -lbl_8008333C: -/* 8008333C 0008029C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80083340 000802A0 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80083344 000802A4 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80083348 000802A8 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 8008334C 000802AC 7C 08 03 A6 */ mtlr r0 -/* 80083350 000802B0 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80083354 000802B4 4E 80 00 20 */ blr - -.global CheckFailSafe__11CBallCameraFfR13CStateManager -CheckFailSafe__11CBallCameraFfR13CStateManager: -/* 80083358 000802B8 94 21 F6 C0 */ stwu r1, -0x940(r1) -/* 8008335C 000802BC 7C 08 02 A6 */ mflr r0 -/* 80083360 000802C0 90 01 09 44 */ stw r0, 0x944(r1) -/* 80083364 000802C4 DB E1 09 30 */ stfd f31, 0x930(r1) -/* 80083368 000802C8 F3 E1 09 38 */ psq_st f31, -1736(r1), 0, qr0 -/* 8008336C 000802CC DB C1 09 20 */ stfd f30, 0x920(r1) -/* 80083370 000802D0 F3 C1 09 28 */ psq_st f30, -1752(r1), 0, qr0 -/* 80083374 000802D4 93 E1 09 1C */ stw r31, 0x91c(r1) -/* 80083378 000802D8 93 C1 09 18 */ stw r30, 0x918(r1) -/* 8008337C 000802DC 93 A1 09 14 */ stw r29, 0x914(r1) -/* 80083380 000802E0 93 81 09 10 */ stw r28, 0x910(r1) -/* 80083384 000802E4 7C 9E 23 78 */ mr r30, r4 -/* 80083388 000802E8 FF E0 08 90 */ fmr f31, f1 -/* 8008338C 000802EC 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80083390 000802F0 7C 7D 1B 78 */ mr r29, r3 -/* 80083394 000802F4 38 61 00 6C */ addi r3, r1, 0x6c -/* 80083398 000802F8 48 20 19 B1 */ bl GetBallPosition__7CPlayerCFv -/* 8008339C 000802FC C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 800833A0 00080300 38 61 00 90 */ addi r3, r1, 0x90 -/* 800833A4 00080304 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 800833A8 00080308 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 800833AC 0008030C D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 800833B0 00080310 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 800833B4 00080314 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 800833B8 00080318 88 9D 01 8C */ lbz r4, 0x18c(r29) -/* 800833BC 0008031C 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 800833C0 00080320 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800833C4 00080324 98 1D 01 8D */ stb r0, 0x18d(r29) -/* 800833C8 00080328 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 800833CC 0008032C C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 800833D0 00080330 C0 61 00 A4 */ lfs f3, 0xa4(r1) -/* 800833D4 00080334 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800833D8 00080338 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800833DC 0008033C C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800833E0 00080340 C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 800833E4 00080344 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800833E8 00080348 D0 81 00 94 */ stfs f4, 0x94(r1) -/* 800833EC 0008034C EC 01 00 28 */ fsubs f0, f1, f0 -/* 800833F0 00080350 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 800833F4 00080354 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 800833F8 00080358 48 29 14 C1 */ bl Magnitude__9CVector3fCFv -/* 800833FC 0008035C FF C0 08 90 */ fmr f30, f1 -/* 80083400 00080360 38 61 00 90 */ addi r3, r1, 0x90 -/* 80083404 00080364 48 29 14 F5 */ bl Normalize__9CVector3fFv -/* 80083408 00080368 38 00 00 00 */ li r0, 0 -/* 8008340C 0008036C 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80083410 00080370 90 01 01 08 */ stw r0, 0x108(r1) -/* 80083414 00080374 38 E3 C4 08 */ addi r7, r3, lbl_8046C408@l -/* 80083418 00080378 FC 20 F0 90 */ fmr f1, f30 -/* 8008341C 0008037C 7F C3 F3 78 */ mr r3, r30 -/* 80083420 00080380 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 80083424 00080384 38 81 01 08 */ addi r4, r1, 0x108 -/* 80083428 00080388 C0 5D 00 50 */ lfs f2, 0x50(r29) -/* 8008342C 0008038C 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80083430 00080390 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80083434 00080394 38 C1 00 90 */ addi r6, r1, 0x90 -/* 80083438 00080398 39 00 00 00 */ li r8, 0 -/* 8008343C 0008039C D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80083440 000803A0 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80083444 000803A4 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 80083448 000803A8 4B FC 92 91 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" -/* 8008344C 000803AC C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 80083450 000803B0 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80083454 000803B4 C0 5D 00 50 */ lfs f2, 0x50(r29) -/* 80083458 000803B8 FC 20 F0 90 */ fmr f1, f30 -/* 8008345C 000803BC C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80083460 000803C0 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 80083464 000803C4 7F C4 F3 78 */ mr r4, r30 -/* 80083468 000803C8 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8008346C 000803CC D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80083470 000803D0 38 BD 03 68 */ addi r5, r29, 0x368 -/* 80083474 000803D4 38 C1 00 54 */ addi r6, r1, 0x54 -/* 80083478 000803D8 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8008347C 000803DC 38 E1 00 90 */ addi r7, r1, 0x90 -/* 80083480 000803E0 39 21 01 08 */ addi r9, r1, 0x108 -/* 80083484 000803E4 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 80083488 000803E8 4B FC 9B 3D */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 8008348C 000803EC 8B E1 00 C8 */ lbz r31, 0xc8(r1) -/* 80083490 000803F0 C0 E1 00 A8 */ lfs f7, 0xa8(r1) -/* 80083494 000803F4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80083498 000803F8 C0 C1 00 AC */ lfs f6, 0xac(r1) -/* 8008349C 000803FC C0 A1 00 B0 */ lfs f5, 0xb0(r1) -/* 800834A0 00080400 C0 81 00 B4 */ lfs f4, 0xb4(r1) -/* 800834A4 00080404 C0 61 00 B8 */ lfs f3, 0xb8(r1) -/* 800834A8 00080408 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 800834AC 0008040C C0 21 00 C0 */ lfs f1, 0xc0(r1) -/* 800834B0 00080410 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 800834B4 00080414 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 800834B8 00080418 80 61 00 D4 */ lwz r3, 0xd4(r1) -/* 800834BC 0008041C D0 E1 00 D8 */ stfs f7, 0xd8(r1) -/* 800834C0 00080420 D0 C1 00 DC */ stfs f6, 0xdc(r1) -/* 800834C4 00080424 D0 A1 00 E0 */ stfs f5, 0xe0(r1) -/* 800834C8 00080428 D0 81 00 E4 */ stfs f4, 0xe4(r1) -/* 800834CC 0008042C D0 61 00 E8 */ stfs f3, 0xe8(r1) -/* 800834D0 00080430 D0 41 00 EC */ stfs f2, 0xec(r1) -/* 800834D4 00080434 D0 21 00 F0 */ stfs f1, 0xf0(r1) -/* 800834D8 00080438 D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 800834DC 0008043C 9B E1 00 F8 */ stb r31, 0xf8(r1) -/* 800834E0 00080440 90 61 01 04 */ stw r3, 0x104(r1) -/* 800834E4 00080444 90 01 01 00 */ stw r0, 0x100(r1) -/* 800834E8 00080448 41 82 01 C4 */ beq lbl_800836AC -/* 800834EC 0008044C 90 7D 03 54 */ stw r3, 0x354(r29) -/* 800834F0 00080450 7F C3 F3 78 */ mr r3, r30 -/* 800834F4 00080454 90 1D 03 50 */ stw r0, 0x350(r29) -/* 800834F8 00080458 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 800834FC 0008045C C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 80083500 00080460 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 80083504 00080464 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 80083508 00080468 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 8008350C 0008046C D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80083510 00080470 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 80083514 00080474 C0 04 02 7C */ lfs f0, 0x27c(r4) -/* 80083518 00080478 EC 01 00 2A */ fadds f0, f1, f0 -/* 8008351C 0008047C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80083520 00080480 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 80083524 00080484 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 80083528 00080488 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8008352C 0008048C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80083530 00080490 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80083534 00080494 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 80083538 00080498 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 8008353C 0008049C C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80083540 000804A0 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80083544 000804A4 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80083548 000804A8 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8008354C 000804AC D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80083550 000804B0 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80083554 000804B4 4B FC 09 E9 */ bl GetPlayer__13CStateManagerCFv -/* 80083558 000804B8 3C 80 80 47 */ lis r4, lbl_8046C408@ha -/* 8008355C 000804BC 7C 68 1B 78 */ mr r8, r3 -/* 80083560 000804C0 38 E4 C4 08 */ addi r7, r4, lbl_8046C408@l -/* 80083564 000804C4 7F C3 F3 78 */ mr r3, r30 -/* 80083568 000804C8 38 81 00 48 */ addi r4, r1, 0x48 -/* 8008356C 000804CC 38 A1 00 84 */ addi r5, r1, 0x84 -/* 80083570 000804D0 38 C1 01 08 */ addi r6, r1, 0x108 -/* 80083574 000804D4 4B FC 99 F9 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -/* 80083578 000804D8 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 8008357C 000804DC 7C 7C 1B 78 */ mr r28, r3 -/* 80083580 000804E0 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80083584 000804E4 7F C3 F3 78 */ mr r3, r30 -/* 80083588 000804E8 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 8008358C 000804EC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80083590 000804F0 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80083594 000804F4 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80083598 000804F8 4B FC 09 A5 */ bl GetPlayer__13CStateManagerCFv -/* 8008359C 000804FC 3C 80 80 47 */ lis r4, lbl_8046C408@ha -/* 800835A0 00080500 7C 68 1B 78 */ mr r8, r3 -/* 800835A4 00080504 38 E4 C4 08 */ addi r7, r4, lbl_8046C408@l -/* 800835A8 00080508 7F C3 F3 78 */ mr r3, r30 -/* 800835AC 0008050C 38 81 00 3C */ addi r4, r1, 0x3c -/* 800835B0 00080510 38 A1 00 78 */ addi r5, r1, 0x78 -/* 800835B4 00080514 38 C1 01 08 */ addi r6, r1, 0x108 -/* 800835B8 00080518 4B FC 99 B5 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -/* 800835BC 0008051C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 800835C0 00080520 40 82 01 14 */ bne lbl_800836D4 -/* 800835C4 00080524 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800835C8 00080528 40 82 01 0C */ bne lbl_800836D4 -/* 800835CC 0008052C 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 800835D0 00080530 38 60 00 00 */ li r3, 0 -/* 800835D4 00080534 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 800835D8 00080538 98 1D 01 8C */ stb r0, 0x18c(r29) -/* 800835DC 0008053C 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 800835E0 00080540 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800835E4 00080544 41 82 00 F0 */ beq lbl_800836D4 -/* 800835E8 00080548 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 800835EC 0008054C 7F A3 EB 78 */ mr r3, r29 -/* 800835F0 00080550 7F C4 F3 78 */ mr r4, r30 -/* 800835F4 00080554 D0 1D 03 5C */ stfs f0, 0x35c(r29) -/* 800835F8 00080558 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 800835FC 0008055C D0 1D 03 60 */ stfs f0, 0x360(r29) -/* 80083600 00080560 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 80083604 00080564 D0 1D 03 64 */ stfs f0, 0x364(r29) -/* 80083608 00080568 48 00 50 39 */ bl ShouldResetSpline__11CBallCameraCFR13CStateManager -/* 8008360C 0008056C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80083610 00080570 41 82 00 C4 */ beq lbl_800836D4 -/* 80083614 00080574 88 1D 01 8E */ lbz r0, 0x18e(r29) -/* 80083618 00080578 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8008361C 0008057C 40 82 00 B8 */ bne lbl_800836D4 -/* 80083620 00080580 80 1D 03 50 */ lwz r0, 0x350(r29) -/* 80083624 00080584 38 80 00 00 */ li r4, 0 -/* 80083628 00080588 80 BD 03 54 */ lwz r5, 0x354(r29) -/* 8008362C 0008058C 3C 60 80 00 */ lis r3, 0x8000 -/* 80083630 00080590 7C 00 20 38 */ and r0, r0, r4 -/* 80083634 00080594 7C A3 18 38 */ and r3, r5, r3 -/* 80083638 00080598 7C 63 22 78 */ xor r3, r3, r4 -/* 8008363C 0008059C 7C 00 22 78 */ xor r0, r0, r4 -/* 80083640 000805A0 7C 60 03 79 */ or. r0, r3, r0 -/* 80083644 000805A4 41 82 00 90 */ beq lbl_800836D4 -/* 80083648 000805A8 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 8008364C 000805AC 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80083650 000805B0 C0 62 89 B0 */ lfs f3, lbl_805AA6D0@sda21(r2) -/* 80083654 000805B4 38 E3 C4 08 */ addi r7, r3, lbl_8046C408@l -/* 80083658 000805B8 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 8008365C 000805BC 7F C3 F3 78 */ mr r3, r30 -/* 80083660 000805C0 EC 81 18 2A */ fadds f4, f1, f3 -/* 80083664 000805C4 C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 80083668 000805C8 C0 22 89 D8 */ lfs f1, lbl_805AA6F8@sda21(r2) -/* 8008366C 000805CC EC 00 18 2A */ fadds f0, f0, f3 -/* 80083670 000805D0 38 81 00 9C */ addi r4, r1, 0x9c -/* 80083674 000805D4 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80083678 000805D8 EC 22 08 2A */ fadds f1, f2, f1 -/* 8008367C 000805DC D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80083680 000805E0 38 C1 01 08 */ addi r6, r1, 0x108 -/* 80083684 000805E4 39 00 00 00 */ li r8, 0 -/* 80083688 000805E8 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 8008368C 000805EC D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80083690 000805F0 4B FC 98 DD */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -/* 80083694 000805F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80083698 000805F8 41 82 00 3C */ beq lbl_800836D4 -/* 8008369C 000805FC 7F A3 EB 78 */ mr r3, r29 -/* 800836A0 00080600 7F C4 F3 78 */ mr r4, r30 -/* 800836A4 00080604 48 00 3D 11 */ bl ResetSpline__11CBallCameraFR13CStateManager -/* 800836A8 00080608 48 00 00 2C */ b lbl_800836D4 -lbl_800836AC: -/* 800836AC 0008060C 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 800836B0 00080610 38 60 00 01 */ li r3, 1 -/* 800836B4 00080614 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 800836B8 00080618 38 80 00 01 */ li r4, 1 -/* 800836BC 0008061C 98 1D 01 8C */ stb r0, 0x18c(r29) -/* 800836C0 00080620 38 60 00 00 */ li r3, 0 -/* 800836C4 00080624 80 AD 84 F8 */ lwz r5, lbl_805A70B8@sda21(r13) -/* 800836C8 00080628 48 30 68 2D */ bl __shl2i -/* 800836CC 0008062C 90 9D 03 54 */ stw r4, 0x354(r29) -/* 800836D0 00080630 90 7D 03 50 */ stw r3, 0x350(r29) -lbl_800836D4: -/* 800836D4 00080634 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 800836D8 00080638 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800836DC 0008063C 40 82 00 68 */ bne lbl_80083744 -/* 800836E0 00080640 C0 1D 03 4C */ lfs f0, 0x34c(r29) -/* 800836E4 00080644 7F A3 EB 78 */ mr r3, r29 -/* 800836E8 00080648 7F C4 F3 78 */ mr r4, r30 -/* 800836EC 0008064C EC 00 F8 2A */ fadds f0, f0, f31 -/* 800836F0 00080650 D0 1D 03 4C */ stfs f0, 0x34c(r29) -/* 800836F4 00080654 48 00 4F 4D */ bl ShouldResetSpline__11CBallCameraCFR13CStateManager -/* 800836F8 00080658 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800836FC 0008065C 41 82 00 50 */ beq lbl_8008374C -/* 80083700 00080660 88 1D 01 8E */ lbz r0, 0x18e(r29) -/* 80083704 00080664 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80083708 00080668 40 82 00 44 */ bne lbl_8008374C -/* 8008370C 0008066C 80 1D 03 50 */ lwz r0, 0x350(r29) -/* 80083710 00080670 38 80 00 00 */ li r4, 0 -/* 80083714 00080674 80 BD 03 54 */ lwz r5, 0x354(r29) -/* 80083718 00080678 38 60 00 20 */ li r3, 0x20 -/* 8008371C 0008067C 7C 00 20 38 */ and r0, r0, r4 -/* 80083720 00080680 7C A3 18 38 */ and r3, r5, r3 -/* 80083724 00080684 7C 63 22 78 */ xor r3, r3, r4 -/* 80083728 00080688 7C 00 22 78 */ xor r0, r0, r4 -/* 8008372C 0008068C 7C 60 03 79 */ or. r0, r3, r0 -/* 80083730 00080690 41 82 00 1C */ beq lbl_8008374C -/* 80083734 00080694 7F A3 EB 78 */ mr r3, r29 -/* 80083738 00080698 7F C4 F3 78 */ mr r4, r30 -/* 8008373C 0008069C 48 00 42 89 */ bl BuildSpline__11CBallCameraFR13CStateManager -/* 80083740 000806A0 48 00 00 0C */ b lbl_8008374C -lbl_80083744: -/* 80083744 000806A4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80083748 000806A8 D0 1D 03 4C */ stfs f0, 0x34c(r29) -lbl_8008374C: -/* 8008374C 000806AC C0 3D 03 4C */ lfs f1, 0x34c(r29) -/* 80083750 000806B0 38 81 00 08 */ addi r4, r1, 8 -/* 80083754 000806B4 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) -/* 80083758 000806B8 38 6D 84 FC */ addi r3, r13, lbl_805A70BC@sda21 -/* 8008375C 000806BC 38 AD 85 00 */ addi r5, r13, lbl_805A70C0@sda21 -/* 80083760 000806C0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80083764 000806C4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80083768 000806C8 4B F8 8B 4D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8008376C 000806CC C0 03 00 00 */ lfs f0, 0(r3) -/* 80083770 000806D0 D0 1D 03 58 */ stfs f0, 0x358(r29) -/* 80083774 000806D4 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 80083778 000806D8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8008377C 000806DC 41 82 00 54 */ beq lbl_800837D0 -/* 80083780 000806E0 C0 3D 03 4C */ lfs f1, 0x34c(r29) -/* 80083784 000806E4 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 80083788 000806E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008378C 000806EC 41 81 00 20 */ bgt lbl_800837AC -/* 80083790 000806F0 A0 7D 03 DC */ lhz r3, 0x3dc(r29) -/* 80083794 000806F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80083798 000806F8 7C 03 00 40 */ cmplw r3, r0 -/* 8008379C 000806FC 41 82 00 34 */ beq lbl_800837D0 -/* 800837A0 00080700 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 800837A4 00080704 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800837A8 00080708 40 81 00 28 */ ble lbl_800837D0 -lbl_800837AC: -/* 800837AC 0008070C 88 1D 01 8C */ lbz r0, 0x18c(r29) -/* 800837B0 00080710 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800837B4 00080714 40 82 00 1C */ bne lbl_800837D0 -/* 800837B8 00080718 80 1D 03 6C */ lwz r0, 0x36c(r29) -/* 800837BC 0008071C 2C 00 00 00 */ cmpwi r0, 0 -/* 800837C0 00080720 40 82 00 10 */ bne lbl_800837D0 -/* 800837C4 00080724 38 00 00 01 */ li r0, 1 -/* 800837C8 00080728 98 1D 03 E4 */ stb r0, 0x3e4(r29) -/* 800837CC 0008072C 48 00 00 0C */ b lbl_800837D8 -lbl_800837D0: -/* 800837D0 00080730 38 00 00 00 */ li r0, 0 -/* 800837D4 00080734 98 1D 03 E4 */ stb r0, 0x3e4(r29) -lbl_800837D8: -/* 800837D8 00080738 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 800837DC 0008073C 38 61 00 24 */ addi r3, r1, 0x24 -/* 800837E0 00080740 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 800837E4 00080744 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 800837E8 00080748 C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 800837EC 0008074C EC 81 00 28 */ fsubs f4, f1, f0 -/* 800837F0 00080750 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 800837F4 00080754 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 800837F8 00080758 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800837FC 0008075C 8B 9D 03 E4 */ lbz r28, 0x3e4(r29) -/* 80083800 00080760 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80083804 00080764 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80083808 00080768 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8008380C 0008076C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80083810 00080770 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80083814 00080774 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80083818 00080778 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8008381C 0008077C 48 29 10 9D */ bl Magnitude__9CVector3fCFv -/* 80083820 00080780 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80083824 00080784 C0 42 89 C4 */ lfs f2, lbl_805AA6E4@sda21(r2) -/* 80083828 00080788 C0 03 02 7C */ lfs f0, 0x27c(r3) -/* 8008382C 0008078C EC 02 00 2A */ fadds f0, f2, f0 -/* 80083830 00080790 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80083834 00080794 40 80 00 08 */ bge lbl_8008383C -/* 80083838 00080798 3B 80 00 01 */ li r28, 1 -lbl_8008383C: -/* 8008383C 0008079C 88 9D 01 8E */ lbz r4, 0x18e(r29) -/* 80083840 000807A0 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f -/* 80083844 000807A4 41 82 00 1C */ beq lbl_80083860 -/* 80083848 000807A8 38 60 00 00 */ li r3, 0 -/* 8008384C 000807AC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80083850 000807B0 50 64 26 F6 */ rlwimi r4, r3, 4, 0x1b, 0x1b -/* 80083854 000807B4 98 9D 01 8E */ stb r4, 0x18e(r29) -/* 80083858 000807B8 41 82 00 08 */ beq lbl_80083860 -/* 8008385C 000807BC 3B 80 00 01 */ li r28, 1 -lbl_80083860: -/* 80083860 000807C0 88 7D 01 8E */ lbz r3, 0x18e(r29) -/* 80083864 000807C4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80083868 000807C8 41 82 00 40 */ beq lbl_800838A8 -/* 8008386C 000807CC 38 00 00 00 */ li r0, 0 -/* 80083870 000807D0 7F C4 F3 78 */ mr r4, r30 -/* 80083874 000807D4 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 80083878 000807D8 98 7D 01 8E */ stb r3, 0x18e(r29) -/* 8008387C 000807DC 38 61 00 0C */ addi r3, r1, 0xc -/* 80083880 000807E0 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80083884 000807E4 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80083888 000807E8 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 8008388C 000807EC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80083890 000807F0 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80083894 000807F4 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80083898 000807F8 4B FF F8 A5 */ bl IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager -/* 8008389C 000807FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800838A0 00080800 41 82 00 08 */ beq lbl_800838A8 -/* 800838A4 00080804 3B 80 00 01 */ li r28, 1 -lbl_800838A8: -/* 800838A8 00080808 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 800838AC 0008080C 41 82 00 14 */ beq lbl_800838C0 -/* 800838B0 00080810 FC 20 F8 90 */ fmr f1, f31 -/* 800838B4 00080814 7F A3 EB 78 */ mr r3, r29 -/* 800838B8 00080818 7F C4 F3 78 */ mr r4, r30 -/* 800838BC 0008081C 48 00 00 89 */ bl ActivateFailSafe__11CBallCameraFfR13CStateManager -lbl_800838C0: -/* 800838C0 00080820 80 A1 01 08 */ lwz r5, 0x108(r1) -/* 800838C4 00080824 38 60 00 00 */ li r3, 0 -/* 800838C8 00080828 2C 05 00 00 */ cmpwi r5, 0 -/* 800838CC 0008082C 40 81 00 40 */ ble lbl_8008390C -/* 800838D0 00080830 2C 05 00 08 */ cmpwi r5, 8 -/* 800838D4 00080834 38 85 FF F8 */ addi r4, r5, -8 -/* 800838D8 00080838 40 81 00 20 */ ble lbl_800838F8 -/* 800838DC 0008083C 38 04 00 07 */ addi r0, r4, 7 -/* 800838E0 00080840 54 00 E8 FE */ srwi r0, r0, 3 -/* 800838E4 00080844 7C 09 03 A6 */ mtctr r0 -/* 800838E8 00080848 2C 04 00 00 */ cmpwi r4, 0 -/* 800838EC 0008084C 40 81 00 0C */ ble lbl_800838F8 -lbl_800838F0: -/* 800838F0 00080850 38 63 00 08 */ addi r3, r3, 8 -/* 800838F4 00080854 42 00 FF FC */ bdnz lbl_800838F0 -lbl_800838F8: -/* 800838F8 00080858 7C 03 28 50 */ subf r0, r3, r5 -/* 800838FC 0008085C 7C 09 03 A6 */ mtctr r0 -/* 80083900 00080860 7C 03 28 00 */ cmpw r3, r5 -/* 80083904 00080864 40 80 00 08 */ bge lbl_8008390C -lbl_80083908: -/* 80083908 00080868 42 00 00 00 */ bdnz lbl_80083908 -lbl_8008390C: -/* 8008390C 0008086C 38 00 00 00 */ li r0, 0 -/* 80083910 00080870 90 01 01 08 */ stw r0, 0x108(r1) -/* 80083914 00080874 E3 E1 09 38 */ psq_l f31, -1736(r1), 0, qr0 -/* 80083918 00080878 CB E1 09 30 */ lfd f31, 0x930(r1) -/* 8008391C 0008087C E3 C1 09 28 */ psq_l f30, -1752(r1), 0, qr0 -/* 80083920 00080880 CB C1 09 20 */ lfd f30, 0x920(r1) -/* 80083924 00080884 83 E1 09 1C */ lwz r31, 0x91c(r1) -/* 80083928 00080888 83 C1 09 18 */ lwz r30, 0x918(r1) -/* 8008392C 0008088C 83 A1 09 14 */ lwz r29, 0x914(r1) -/* 80083930 00080890 80 01 09 44 */ lwz r0, 0x944(r1) -/* 80083934 00080894 83 81 09 10 */ lwz r28, 0x910(r1) -/* 80083938 00080898 7C 08 03 A6 */ mtlr r0 -/* 8008393C 0008089C 38 21 09 40 */ addi r1, r1, 0x940 -/* 80083940 000808A0 4E 80 00 20 */ blr - -.global ActivateFailSafe__11CBallCameraFfR13CStateManager -ActivateFailSafe__11CBallCameraFfR13CStateManager: -/* 80083944 000808A4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80083948 000808A8 7C 08 02 A6 */ mflr r0 -/* 8008394C 000808AC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80083950 000808B0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80083954 000808B4 93 E1 00 AC */ stw r31, 0xac(r1) -/* 80083958 000808B8 7C 9F 23 78 */ mr r31, r4 -/* 8008395C 000808BC 7F E6 FB 78 */ mr r6, r31 -/* 80083960 000808C0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80083964 000808C4 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 80083968 000808C8 7C 7E 1B 78 */ mr r30, r3 -/* 8008396C 000808CC C0 03 01 90 */ lfs f0, 0x190(r3) -/* 80083970 000808D0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80083974 000808D4 C0 03 01 A0 */ lfs f0, 0x1a0(r3) -/* 80083978 000808D8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8008397C 000808DC 48 00 5D 51 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -/* 80083980 000808E0 81 1F 08 4C */ lwz r8, 0x84c(r31) -/* 80083984 000808E4 7F C4 F3 78 */ mr r4, r30 -/* 80083988 000808E8 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8008398C 000808EC 7F E6 FB 78 */ mr r6, r31 -/* 80083990 000808F0 80 E8 05 0C */ lwz r7, 0x50c(r8) -/* 80083994 000808F4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80083998 000808F8 80 08 05 10 */ lwz r0, 0x510(r8) -/* 8008399C 000808FC 38 A1 00 18 */ addi r5, r1, 0x18 -/* 800839A0 00080900 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 800839A4 00080904 90 E1 00 18 */ stw r7, 0x18(r1) -/* 800839A8 00080908 38 E0 00 01 */ li r7, 1 -/* 800839AC 0008090C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800839B0 00080910 80 08 05 14 */ lwz r0, 0x514(r8) -/* 800839B4 00080914 90 01 00 20 */ stw r0, 0x20(r1) -/* 800839B8 00080918 48 00 62 FD */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -/* 800839BC 0008091C C0 41 00 24 */ lfs f2, 0x24(r1) -/* 800839C0 00080920 7F C3 F3 78 */ mr r3, r30 -/* 800839C4 00080924 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 800839C8 00080928 38 81 00 30 */ addi r4, r1, 0x30 -/* 800839CC 0008092C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800839D0 00080930 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 800839D4 00080934 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 800839D8 00080938 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800839DC 0008093C 4B FC F4 B1 */ bl SetTranslation__6CActorFRC9CVector3f -/* 800839E0 00080940 7F C3 F3 78 */ mr r3, r30 -/* 800839E4 00080944 7F E4 FB 78 */ mr r4, r31 -/* 800839E8 00080948 48 00 90 A9 */ bl ResetPosition__11CBallCameraFR13CStateManager -/* 800839EC 0008094C 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 800839F0 00080950 38 61 00 3C */ addi r3, r1, 0x3c -/* 800839F4 00080954 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 800839F8 00080958 38 BE 01 D8 */ addi r5, r30, 0x1d8 -/* 800839FC 0008095C 38 81 00 30 */ addi r4, r1, 0x30 -/* 80083A00 00080960 48 29 01 11 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80083A04 00080964 38 61 00 6C */ addi r3, r1, 0x6c -/* 80083A08 00080968 38 81 00 3C */ addi r4, r1, 0x3c -/* 80083A0C 0008096C 48 28 F1 69 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80083A10 00080970 7F C3 F3 78 */ mr r3, r30 -/* 80083A14 00080974 7F E5 FB 78 */ mr r5, r31 -/* 80083A18 00080978 38 81 00 6C */ addi r4, r1, 0x6c -/* 80083A1C 0008097C 48 00 8F DD */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 80083A20 00080980 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80083A24 00080984 7F E4 FB 78 */ mr r4, r31 -/* 80083A28 00080988 38 A1 00 0C */ addi r5, r1, 0xc -/* 80083A2C 0008098C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80083A30 00080990 B0 01 00 08 */ sth r0, 8(r1) -/* 80083A34 00080994 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80083A38 00080998 4B F8 6E 11 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId -/* 80083A3C 0008099C 38 00 00 00 */ li r0, 0 -/* 80083A40 000809A0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80083A44 000809A4 98 1E 03 E4 */ stb r0, 0x3e4(r30) -/* 80083A48 000809A8 D0 1E 03 4C */ stfs f0, 0x34c(r30) -/* 80083A4C 000809AC 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80083A50 000809B0 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80083A54 000809B4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80083A58 000809B8 7C 08 03 A6 */ mtlr r0 -/* 80083A5C 000809BC 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80083A60 000809C0 4E 80 00 20 */ blr - -.global UpdateLookAtPosition__11CBallCameraFfR13CStateManager -UpdateLookAtPosition__11CBallCameraFfR13CStateManager: -/* 80083A64 000809C4 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 80083A68 000809C8 7C 08 02 A6 */ mflr r0 -/* 80083A6C 000809CC 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 80083A70 000809D0 DB E1 01 B0 */ stfd f31, 0x1b0(r1) -/* 80083A74 000809D4 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 -/* 80083A78 000809D8 DB C1 01 A0 */ stfd f30, 0x1a0(r1) -/* 80083A7C 000809DC F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 -/* 80083A80 000809E0 DB A1 01 90 */ stfd f29, 0x190(r1) -/* 80083A84 000809E4 F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 -/* 80083A88 000809E8 DB 81 01 80 */ stfd f28, 0x180(r1) -/* 80083A8C 000809EC F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 -/* 80083A90 000809F0 DB 61 01 70 */ stfd f27, 0x170(r1) -/* 80083A94 000809F4 F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 -/* 80083A98 000809F8 DB 41 01 60 */ stfd f26, 0x160(r1) -/* 80083A9C 000809FC F3 41 01 68 */ psq_st f26, 360(r1), 0, qr0 -/* 80083AA0 00080A00 DB 21 01 50 */ stfd f25, 0x150(r1) -/* 80083AA4 00080A04 F3 21 01 58 */ psq_st f25, 344(r1), 0, qr0 -/* 80083AA8 00080A08 DB 01 01 40 */ stfd f24, 0x140(r1) -/* 80083AAC 00080A0C F3 01 01 48 */ psq_st f24, 328(r1), 0, qr0 -/* 80083AB0 00080A10 DA E1 01 30 */ stfd f23, 0x130(r1) -/* 80083AB4 00080A14 F2 E1 01 38 */ psq_st f23, 312(r1), 0, qr0 -/* 80083AB8 00080A18 DA C1 01 20 */ stfd f22, 0x120(r1) -/* 80083ABC 00080A1C F2 C1 01 28 */ psq_st f22, 296(r1), 0, qr0 -/* 80083AC0 00080A20 DA A1 01 10 */ stfd f21, 0x110(r1) -/* 80083AC4 00080A24 F2 A1 01 18 */ psq_st f21, 280(r1), 0, qr0 -/* 80083AC8 00080A28 DA 81 01 00 */ stfd f20, 0x100(r1) -/* 80083ACC 00080A2C F2 81 01 08 */ psq_st f20, 264(r1), 0, qr0 -/* 80083AD0 00080A30 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 80083AD4 00080A34 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 80083AD8 00080A38 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 80083ADC 00080A3C 7C 7E 1B 78 */ mr r30, r3 -/* 80083AE0 00080A40 7C 9F 23 78 */ mr r31, r4 -/* 80083AE4 00080A44 A0 03 00 E8 */ lhz r0, 0xe8(r3) -/* 80083AE8 00080A48 FE C0 08 90 */ fmr f22, f1 -/* 80083AEC 00080A4C 7F E3 FB 78 */ mr r3, r31 -/* 80083AF0 00080A50 38 81 00 0C */ addi r4, r1, 0xc -/* 80083AF4 00080A54 B0 01 00 08 */ sth r0, 8(r1) -/* 80083AF8 00080A58 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80083AFC 00080A5C 4B FC 8A A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80083B00 00080A60 7C 64 1B 78 */ mr r4, r3 -/* 80083B04 00080A64 38 61 00 14 */ addi r3, r1, 0x14 -/* 80083B08 00080A68 48 02 88 8D */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -/* 80083B0C 00080A6C 83 A3 00 04 */ lwz r29, 4(r3) -/* 80083B10 00080A70 28 1D 00 00 */ cmplwi r29, 0 -/* 80083B14 00080A74 41 82 04 68 */ beq lbl_80083F7C -/* 80083B18 00080A78 7F A4 EB 78 */ mr r4, r29 -/* 80083B1C 00080A7C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80083B20 00080A80 48 20 12 29 */ bl GetBallPosition__7CPlayerCFv -/* 80083B24 00080A84 C3 E1 00 28 */ lfs f31, 0x28(r1) -/* 80083B28 00080A88 7F A3 EB 78 */ mr r3, r29 -/* 80083B2C 00080A8C C3 C1 00 2C */ lfs f30, 0x2c(r1) -/* 80083B30 00080A90 C3 A1 00 30 */ lfs f29, 0x30(r1) -/* 80083B34 00080A94 4B F9 66 E1 */ bl IsMorphBallTransitioning__7CPlayerCFv -/* 80083B38 00080A98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80083B3C 00080A9C 41 82 00 54 */ beq lbl_80083B90 -/* 80083B40 00080AA0 D3 FE 01 D8 */ stfs f31, 0x1d8(r30) -/* 80083B44 00080AA4 D3 DE 01 DC */ stfs f30, 0x1dc(r30) -/* 80083B48 00080AA8 D3 BE 01 E0 */ stfs f29, 0x1e0(r30) -/* 80083B4C 00080AAC C0 3E 01 E0 */ lfs f1, 0x1e0(r30) -/* 80083B50 00080AB0 C0 1E 01 BC */ lfs f0, 0x1bc(r30) -/* 80083B54 00080AB4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80083B58 00080AB8 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) -/* 80083B5C 00080ABC C0 1E 01 D8 */ lfs f0, 0x1d8(r30) -/* 80083B60 00080AC0 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) -/* 80083B64 00080AC4 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 80083B68 00080AC8 D0 1E 01 C4 */ stfs f0, 0x1c4(r30) -/* 80083B6C 00080ACC C0 1E 01 E0 */ lfs f0, 0x1e0(r30) -/* 80083B70 00080AD0 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) -/* 80083B74 00080AD4 C0 1E 01 D8 */ lfs f0, 0x1d8(r30) -/* 80083B78 00080AD8 D0 1E 01 CC */ stfs f0, 0x1cc(r30) -/* 80083B7C 00080ADC C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 80083B80 00080AE0 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) -/* 80083B84 00080AE4 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) -/* 80083B88 00080AE8 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 80083B8C 00080AEC 48 00 03 F0 */ b lbl_80083F7C -lbl_80083B90: -/* 80083B90 00080AF0 C0 1D 05 0C */ lfs f0, 0x50c(r29) -/* 80083B94 00080AF4 38 61 00 4C */ addi r3, r1, 0x4c -/* 80083B98 00080AF8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80083B9C 00080AFC C0 1D 05 10 */ lfs f0, 0x510(r29) -/* 80083BA0 00080B00 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80083BA4 00080B04 C0 1D 05 14 */ lfs f0, 0x514(r29) -/* 80083BA8 00080B08 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80083BAC 00080B0C 48 29 0D 4D */ bl Normalize__9CVector3fFv -/* 80083BB0 00080B10 C0 7E 03 08 */ lfs f3, 0x308(r30) -/* 80083BB4 00080B14 C0 3E 01 B8 */ lfs f1, 0x1b8(r30) -/* 80083BB8 00080B18 C0 1E 01 B4 */ lfs f0, 0x1b4(r30) -/* 80083BBC 00080B1C C0 5E 01 BC */ lfs f2, 0x1bc(r30) -/* 80083BC0 00080B20 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80083BC4 00080B24 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80083BC8 00080B28 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80083BCC 00080B2C D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80083BD0 00080B30 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80083BD4 00080B34 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 80083BD8 00080B38 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80083BDC 00080B3C 41 82 00 40 */ beq lbl_80083C1C -/* 80083BE0 00080B40 80 1E 04 00 */ lwz r0, 0x400(r30) -/* 80083BE4 00080B44 2C 00 00 02 */ cmpwi r0, 2 -/* 80083BE8 00080B48 41 82 00 10 */ beq lbl_80083BF8 -/* 80083BEC 00080B4C 80 1E 01 88 */ lwz r0, 0x188(r30) -/* 80083BF0 00080B50 2C 00 00 01 */ cmpwi r0, 1 -/* 80083BF4 00080B54 40 82 00 28 */ bne lbl_80083C1C -lbl_80083BF8: -/* 80083BF8 00080B58 C0 7E 03 08 */ lfs f3, 0x308(r30) -/* 80083BFC 00080B5C C0 3E 04 14 */ lfs f1, 0x414(r30) -/* 80083C00 00080B60 C0 1E 04 10 */ lfs f0, 0x410(r30) -/* 80083C04 00080B64 C0 5E 04 18 */ lfs f2, 0x418(r30) -/* 80083C08 00080B68 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80083C0C 00080B6C EC 03 00 32 */ fmuls f0, f3, f0 -/* 80083C10 00080B70 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80083C14 00080B74 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80083C18 00080B78 D0 21 00 44 */ stfs f1, 0x44(r1) -lbl_80083C1C: -/* 80083C1C 00080B7C 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80083C20 00080B80 4B F8 6C B5 */ bl IsInterpolationCameraActive__14CCameraManagerCFv -/* 80083C24 00080B84 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80083C28 00080B88 41 82 00 18 */ beq lbl_80083C40 -/* 80083C2C 00080B8C C0 3E 01 BC */ lfs f1, 0x1bc(r30) -/* 80083C30 00080B90 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80083C34 00080B94 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80083C38 00080B98 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80083C3C 00080B9C D0 01 00 44 */ stfs f0, 0x44(r1) -lbl_80083C40: -/* 80083C40 00080BA0 7F A4 EB 78 */ mr r4, r29 -/* 80083C44 00080BA4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80083C48 00080BA8 48 20 1A A1 */ bl CreateTransformFromMovementDirection__7CPlayerCFv -/* 80083C4C 00080BAC 38 61 00 88 */ addi r3, r1, 0x88 -/* 80083C50 00080BB0 38 81 00 58 */ addi r4, r1, 0x58 -/* 80083C54 00080BB4 48 28 EF ED */ bl GetRotation__12CTransform4fCFv -/* 80083C58 00080BB8 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80083C5C 00080BBC 38 81 00 88 */ addi r4, r1, 0x88 -/* 80083C60 00080BC0 48 28 EF 15 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80083C64 00080BC4 38 7E 02 FC */ addi r3, r30, 0x2fc -/* 80083C68 00080BC8 48 29 0A 91 */ bl CanBeNormalized__9CVector3fCFv -/* 80083C6C 00080BCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80083C70 00080BD0 41 82 00 2C */ beq lbl_80083C9C -/* 80083C74 00080BD4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80083C78 00080BD8 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80083C7C 00080BDC 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80083C80 00080BE0 48 28 EE 69 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80083C84 00080BE4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80083C88 00080BE8 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80083C8C 00080BEC C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80083C90 00080BF0 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80083C94 00080BF4 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80083C98 00080BF8 D0 01 00 48 */ stfs f0, 0x48(r1) -lbl_80083C9C: -/* 80083C9C 00080BFC C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80083CA0 00080C00 38 61 00 34 */ addi r3, r1, 0x34 -/* 80083CA4 00080C04 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80083CA8 00080C08 EF 3F 08 2A */ fadds f25, f31, f1 -/* 80083CAC 00080C0C C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80083CB0 00080C10 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80083CB4 00080C14 EC 9F 00 2A */ fadds f4, f31, f0 -/* 80083CB8 00080C18 C3 9E 01 D8 */ lfs f28, 0x1d8(r30) -/* 80083CBC 00080C1C EF 1E 10 2A */ fadds f24, f30, f2 -/* 80083CC0 00080C20 C3 7E 01 DC */ lfs f27, 0x1dc(r30) -/* 80083CC4 00080C24 EE FD 08 2A */ fadds f23, f29, f1 -/* 80083CC8 00080C28 C3 5E 01 E0 */ lfs f26, 0x1e0(r30) -/* 80083CCC 00080C2C EC 7E 00 2A */ fadds f3, f30, f0 -/* 80083CD0 00080C30 EC 5C C8 28 */ fsubs f2, f28, f25 -/* 80083CD4 00080C34 D3 3E 01 C0 */ stfs f25, 0x1c0(r30) -/* 80083CD8 00080C38 EC 3B C0 28 */ fsubs f1, f27, f24 -/* 80083CDC 00080C3C EC 1A B8 28 */ fsubs f0, f26, f23 -/* 80083CE0 00080C40 D3 1E 01 C4 */ stfs f24, 0x1c4(r30) -/* 80083CE4 00080C44 D2 FE 01 C8 */ stfs f23, 0x1c8(r30) -/* 80083CE8 00080C48 C0 A1 00 48 */ lfs f5, 0x48(r1) -/* 80083CEC 00080C4C D0 9E 01 CC */ stfs f4, 0x1cc(r30) -/* 80083CF0 00080C50 EC 9D 28 2A */ fadds f4, f29, f5 -/* 80083CF4 00080C54 D0 7E 01 D0 */ stfs f3, 0x1d0(r30) -/* 80083CF8 00080C58 D0 9E 01 D4 */ stfs f4, 0x1d4(r30) -/* 80083CFC 00080C5C D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80083D00 00080C60 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80083D04 00080C64 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80083D08 00080C68 48 29 0B B1 */ bl Magnitude__9CVector3fCFv -/* 80083D0C 00080C6C FE A0 08 90 */ fmr f21, f1 -/* 80083D10 00080C70 38 61 00 34 */ addi r3, r1, 0x34 -/* 80083D14 00080C74 48 29 09 E5 */ bl CanBeNormalized__9CVector3fCFv -/* 80083D18 00080C78 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80083D1C 00080C7C 41 82 00 0C */ beq lbl_80083D28 -/* 80083D20 00080C80 38 61 00 34 */ addi r3, r1, 0x34 -/* 80083D24 00080C84 48 29 0B D5 */ bl Normalize__9CVector3fFv -lbl_80083D28: -/* 80083D28 00080C88 C0 3E 03 0C */ lfs f1, 0x30c(r30) -/* 80083D2C 00080C8C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80083D30 00080C90 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) -/* 80083D34 00080C94 38 6D 84 F0 */ addi r3, r13, lbl_805A70B0@sda21 -/* 80083D38 00080C98 C2 82 89 B8 */ lfs f20, lbl_805AA6D8@sda21(r2) -/* 80083D3C 00080C9C 38 AD 84 F4 */ addi r5, r13, lbl_805A70B4@sda21 -/* 80083D40 00080CA0 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80083D44 00080CA4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80083D48 00080CA8 4B F8 85 6D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80083D4C 00080CAC C0 63 00 00 */ lfs f3, 0(r3) -/* 80083D50 00080CB0 FC 40 A8 90 */ fmr f2, f21 -/* 80083D54 00080CB4 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 80083D58 00080CB8 38 7E 02 3C */ addi r3, r30, 0x23c -/* 80083D5C 00080CBC C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80083D60 00080CC0 EE 80 A0 FA */ fmadds f20, f0, f3, f20 -/* 80083D64 00080CC4 EC 76 05 32 */ fmuls f3, f22, f20 -/* 80083D68 00080CC8 4B FD 9A 8D */ bl ApplyDistanceSpringNoMax__13CCameraSpringFfff -/* 80083D6C 00080CCC C0 02 89 E8 */ lfs f0, lbl_805AA708@sda21(r2) -/* 80083D70 00080CD0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80083D74 00080CD4 40 81 00 28 */ ble lbl_80083D9C -/* 80083D78 00080CD8 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 80083D7C 00080CDC C0 41 00 38 */ lfs f2, 0x38(r1) -/* 80083D80 00080CE0 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80083D84 00080CE4 EC 61 00 F2 */ fmuls f3, f1, f3 -/* 80083D88 00080CE8 EC 41 00 B2 */ fmuls f2, f1, f2 -/* 80083D8C 00080CEC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80083D90 00080CF0 EF 39 18 2A */ fadds f25, f25, f3 -/* 80083D94 00080CF4 EF 18 10 2A */ fadds f24, f24, f2 -/* 80083D98 00080CF8 EE F7 00 2A */ fadds f23, f23, f0 -lbl_80083D9C: -/* 80083D9C 00080CFC EC 59 E0 28 */ fsubs f2, f25, f28 -/* 80083DA0 00080D00 EC 38 D8 28 */ fsubs f1, f24, f27 -/* 80083DA4 00080D04 EC 17 D0 28 */ fsubs f0, f23, f26 -/* 80083DA8 00080D08 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80083DAC 00080D0C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80083DB0 00080D10 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80083DB4 00080D14 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 80083DB8 00080D18 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80083DBC 00080D1C 41 82 00 24 */ beq lbl_80083DE0 -/* 80083DC0 00080D20 D3 FE 01 D8 */ stfs f31, 0x1d8(r30) -/* 80083DC4 00080D24 D3 DE 01 DC */ stfs f30, 0x1dc(r30) -/* 80083DC8 00080D28 D3 BE 01 E0 */ stfs f29, 0x1e0(r30) -/* 80083DCC 00080D2C C0 3E 01 E0 */ lfs f1, 0x1e0(r30) -/* 80083DD0 00080D30 C0 1E 01 BC */ lfs f0, 0x1bc(r30) -/* 80083DD4 00080D34 EC 01 00 2A */ fadds f0, f1, f0 -/* 80083DD8 00080D38 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) -/* 80083DDC 00080D3C 48 00 00 10 */ b lbl_80083DEC -lbl_80083DE0: -/* 80083DE0 00080D40 D3 3E 01 D8 */ stfs f25, 0x1d8(r30) -/* 80083DE4 00080D44 D3 1E 01 DC */ stfs f24, 0x1dc(r30) -/* 80083DE8 00080D48 D2 FE 01 E0 */ stfs f23, 0x1e0(r30) -lbl_80083DEC: -/* 80083DEC 00080D4C 80 1E 01 88 */ lwz r0, 0x188(r30) -/* 80083DF0 00080D50 2C 00 00 05 */ cmpwi r0, 5 -/* 80083DF4 00080D54 41 82 00 94 */ beq lbl_80083E88 -/* 80083DF8 00080D58 40 80 00 10 */ bge lbl_80083E08 -/* 80083DFC 00080D5C 2C 00 00 04 */ cmpwi r0, 4 -/* 80083E00 00080D60 40 80 00 54 */ bge lbl_80083E54 -/* 80083E04 00080D64 48 00 00 0C */ b lbl_80083E10 -lbl_80083E08: -/* 80083E08 00080D68 2C 00 00 08 */ cmpwi r0, 8 -/* 80083E0C 00080D6C 41 82 00 7C */ beq lbl_80083E88 -lbl_80083E10: -/* 80083E10 00080D70 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80083E14 00080D74 4B F8 6A C1 */ bl IsInterpolationCameraActive__14CCameraManagerCFv -/* 80083E18 00080D78 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80083E1C 00080D7C 41 82 00 9C */ beq lbl_80083EB8 -/* 80083E20 00080D80 C0 1E 01 C0 */ lfs f0, 0x1c0(r30) -/* 80083E24 00080D84 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 80083E28 00080D88 C0 1E 01 C4 */ lfs f0, 0x1c4(r30) -/* 80083E2C 00080D8C D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 80083E30 00080D90 C0 1E 01 C8 */ lfs f0, 0x1c8(r30) -/* 80083E34 00080D94 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) -/* 80083E38 00080D98 C0 1E 01 C0 */ lfs f0, 0x1c0(r30) -/* 80083E3C 00080D9C D0 1E 01 CC */ stfs f0, 0x1cc(r30) -/* 80083E40 00080DA0 C0 1E 01 C4 */ lfs f0, 0x1c4(r30) -/* 80083E44 00080DA4 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) -/* 80083E48 00080DA8 C0 1E 01 C8 */ lfs f0, 0x1c8(r30) -/* 80083E4C 00080DAC D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 80083E50 00080DB0 48 00 00 68 */ b lbl_80083EB8 -lbl_80083E54: -/* 80083E54 00080DB4 C0 1E 01 CC */ lfs f0, 0x1cc(r30) -/* 80083E58 00080DB8 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 80083E5C 00080DBC C0 1E 01 D0 */ lfs f0, 0x1d0(r30) -/* 80083E60 00080DC0 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 80083E64 00080DC4 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) -/* 80083E68 00080DC8 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) -/* 80083E6C 00080DCC C0 1E 01 D8 */ lfs f0, 0x1d8(r30) -/* 80083E70 00080DD0 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) -/* 80083E74 00080DD4 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 80083E78 00080DD8 D0 1E 01 C4 */ stfs f0, 0x1c4(r30) -/* 80083E7C 00080DDC C0 1E 01 E0 */ lfs f0, 0x1e0(r30) -/* 80083E80 00080DE0 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) -/* 80083E84 00080DE4 48 00 00 34 */ b lbl_80083EB8 -lbl_80083E88: -/* 80083E88 00080DE8 C0 1E 01 CC */ lfs f0, 0x1cc(r30) -/* 80083E8C 00080DEC D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 80083E90 00080DF0 C0 1E 01 D0 */ lfs f0, 0x1d0(r30) -/* 80083E94 00080DF4 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 80083E98 00080DF8 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) -/* 80083E9C 00080DFC D0 1E 01 E0 */ stfs f0, 0x1e0(r30) -/* 80083EA0 00080E00 C0 1E 01 CC */ lfs f0, 0x1cc(r30) -/* 80083EA4 00080E04 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) -/* 80083EA8 00080E08 C0 1E 01 D0 */ lfs f0, 0x1d0(r30) -/* 80083EAC 00080E0C D0 1E 01 C4 */ stfs f0, 0x1c4(r30) -/* 80083EB0 00080E10 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) -/* 80083EB4 00080E14 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) -lbl_80083EB8: -/* 80083EB8 00080E18 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 80083EBC 00080E1C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80083EC0 00080E20 41 82 00 20 */ beq lbl_80083EE0 -/* 80083EC4 00080E24 C0 1E 01 BC */ lfs f0, 0x1bc(r30) -/* 80083EC8 00080E28 EC 1D 00 2A */ fadds f0, f29, f0 -/* 80083ECC 00080E2C D0 1E 01 E0 */ stfs f0, 0x1e0(r30) -/* 80083ED0 00080E30 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) -/* 80083ED4 00080E34 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) -/* 80083ED8 00080E38 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) -/* 80083EDC 00080E3C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -lbl_80083EE0: -/* 80083EE0 00080E40 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 80083EE4 00080E44 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80083EE8 00080E48 41 82 00 94 */ beq lbl_80083F7C -/* 80083EEC 00080E4C 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80083EF0 00080E50 7F E4 FB 78 */ mr r4, r31 -/* 80083EF4 00080E54 4B F8 54 DD */ bl GetCameraHint__14CCameraManagerCFR13CStateManager -/* 80083EF8 00080E58 28 03 00 00 */ cmplwi r3, 0 -/* 80083EFC 00080E5C 41 82 00 80 */ beq lbl_80083F7C -/* 80083F00 00080E60 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80083F04 00080E64 7F E4 FB 78 */ mr r4, r31 -/* 80083F08 00080E68 4B F8 54 C9 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager -/* 80083F0C 00080E6C C0 A2 89 EC */ lfs f5, lbl_805AA70C@sda21(r2) -/* 80083F10 00080E70 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 80083F14 00080E74 C0 63 00 48 */ lfs f3, 0x48(r3) -/* 80083F18 00080E78 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80083F1C 00080E7C C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80083F20 00080E80 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 80083F24 00080E84 EC 85 00 F2 */ fmuls f4, f5, f3 -/* 80083F28 00080E88 C0 DE 00 50 */ lfs f6, 0x50(r30) -/* 80083F2C 00080E8C EC 01 00 2A */ fadds f0, f1, f0 -/* 80083F30 00080E90 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80083F34 00080E94 EC 25 00 B2 */ fmuls f1, f5, f2 -/* 80083F38 00080E98 EC 46 20 2A */ fadds f2, f6, f4 -/* 80083F3C 00080E9C D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 80083F40 00080EA0 EC 03 08 2A */ fadds f0, f3, f1 -/* 80083F44 00080EA4 D0 5E 01 DC */ stfs f2, 0x1dc(r30) -/* 80083F48 00080EA8 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) -/* 80083F4C 00080EAC C0 1E 01 D8 */ lfs f0, 0x1d8(r30) -/* 80083F50 00080EB0 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) -/* 80083F54 00080EB4 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 80083F58 00080EB8 D0 1E 01 C4 */ stfs f0, 0x1c4(r30) -/* 80083F5C 00080EBC C0 1E 01 E0 */ lfs f0, 0x1e0(r30) -/* 80083F60 00080EC0 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) -/* 80083F64 00080EC4 C0 1E 01 D8 */ lfs f0, 0x1d8(r30) -/* 80083F68 00080EC8 D0 1E 01 CC */ stfs f0, 0x1cc(r30) -/* 80083F6C 00080ECC C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 80083F70 00080ED0 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) -/* 80083F74 00080ED4 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) -/* 80083F78 00080ED8 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -lbl_80083F7C: -/* 80083F7C 00080EDC E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 -/* 80083F80 00080EE0 CB E1 01 B0 */ lfd f31, 0x1b0(r1) -/* 80083F84 00080EE4 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 -/* 80083F88 00080EE8 CB C1 01 A0 */ lfd f30, 0x1a0(r1) -/* 80083F8C 00080EEC E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0 -/* 80083F90 00080EF0 CB A1 01 90 */ lfd f29, 0x190(r1) -/* 80083F94 00080EF4 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0 -/* 80083F98 00080EF8 CB 81 01 80 */ lfd f28, 0x180(r1) -/* 80083F9C 00080EFC E3 61 01 78 */ psq_l f27, 376(r1), 0, qr0 -/* 80083FA0 00080F00 CB 61 01 70 */ lfd f27, 0x170(r1) -/* 80083FA4 00080F04 E3 41 01 68 */ psq_l f26, 360(r1), 0, qr0 -/* 80083FA8 00080F08 CB 41 01 60 */ lfd f26, 0x160(r1) -/* 80083FAC 00080F0C E3 21 01 58 */ psq_l f25, 344(r1), 0, qr0 -/* 80083FB0 00080F10 CB 21 01 50 */ lfd f25, 0x150(r1) -/* 80083FB4 00080F14 E3 01 01 48 */ psq_l f24, 328(r1), 0, qr0 -/* 80083FB8 00080F18 CB 01 01 40 */ lfd f24, 0x140(r1) -/* 80083FBC 00080F1C E2 E1 01 38 */ psq_l f23, 312(r1), 0, qr0 -/* 80083FC0 00080F20 CA E1 01 30 */ lfd f23, 0x130(r1) -/* 80083FC4 00080F24 E2 C1 01 28 */ psq_l f22, 296(r1), 0, qr0 -/* 80083FC8 00080F28 CA C1 01 20 */ lfd f22, 0x120(r1) -/* 80083FCC 00080F2C E2 A1 01 18 */ psq_l f21, 280(r1), 0, qr0 -/* 80083FD0 00080F30 CA A1 01 10 */ lfd f21, 0x110(r1) -/* 80083FD4 00080F34 E2 81 01 08 */ psq_l f20, 264(r1), 0, qr0 -/* 80083FD8 00080F38 CA 81 01 00 */ lfd f20, 0x100(r1) -/* 80083FDC 00080F3C 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 80083FE0 00080F40 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 80083FE4 00080F44 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 80083FE8 00080F48 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 80083FEC 00080F4C 7C 08 03 A6 */ mtlr r0 -/* 80083FF0 00080F50 38 21 01 C0 */ addi r1, r1, 0x1c0 -/* 80083FF4 00080F54 4E 80 00 20 */ blr - -.global UpdateUsingFixedCameras__11CBallCameraFfR13CStateManager -UpdateUsingFixedCameras__11CBallCameraFfR13CStateManager: -/* 80083FF8 00080F58 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80083FFC 00080F5C 7C 08 02 A6 */ mflr r0 -/* 80084000 00080F60 90 01 00 74 */ stw r0, 0x74(r1) -/* 80084004 00080F64 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80084008 00080F68 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8008400C 00080F6C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80084010 00080F70 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80084014 00080F74 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80084018 00080F78 FF E0 08 90 */ fmr f31, f1 -/* 8008401C 00080F7C 7C 9E 23 78 */ mr r30, r4 -/* 80084020 00080F80 7C 7D 1B 78 */ mr r29, r3 -/* 80084024 00080F84 80 64 08 70 */ lwz r3, 0x870(r4) -/* 80084028 00080F88 4B F8 53 A9 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager -/* 8008402C 00080F8C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80084030 00080F90 41 82 01 38 */ beq lbl_80084168 -/* 80084034 00080F94 80 1D 01 88 */ lwz r0, 0x188(r29) -/* 80084038 00080F98 2C 00 00 05 */ cmpwi r0, 5 -/* 8008403C 00080F9C 41 82 00 D0 */ beq lbl_8008410C -/* 80084040 00080FA0 40 80 01 00 */ bge lbl_80084140 -/* 80084044 00080FA4 2C 00 00 04 */ cmpwi r0, 4 -/* 80084048 00080FA8 40 80 00 08 */ bge lbl_80084050 -/* 8008404C 00080FAC 48 00 00 F4 */ b lbl_80084140 -lbl_80084050: -/* 80084050 00080FB0 C0 BF 00 60 */ lfs f5, 0x60(r31) -/* 80084054 00080FB4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80084058 00080FB8 C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 8008405C 00080FBC C0 7F 00 40 */ lfs f3, 0x40(r31) -/* 80084060 00080FC0 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 80084064 00080FC4 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 80084068 00080FC8 D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 8008406C 00080FCC C0 5D 01 DC */ lfs f2, 0x1dc(r29) -/* 80084070 00080FD0 C0 3D 01 E0 */ lfs f1, 0x1e0(r29) -/* 80084074 00080FD4 C0 1D 01 D8 */ lfs f0, 0x1d8(r29) -/* 80084078 00080FD8 EC 42 20 28 */ fsubs f2, f2, f4 -/* 8008407C 00080FDC EC 21 28 28 */ fsubs f1, f1, f5 -/* 80084080 00080FE0 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80084084 00080FE4 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80084088 00080FE8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8008408C 00080FEC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80084090 00080FF0 48 29 06 69 */ bl CanBeNormalized__9CVector3fCFv -/* 80084094 00080FF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80084098 00080FF8 41 82 00 A8 */ beq lbl_80084140 -/* 8008409C 00080FFC 38 61 00 14 */ addi r3, r1, 0x14 -/* 800840A0 00081000 38 81 00 2C */ addi r4, r1, 0x2c -/* 800840A4 00081004 48 29 07 AD */ bl AsNormalized__9CVector3fCFv -/* 800840A8 00081008 7F A4 EB 78 */ mr r4, r29 -/* 800840AC 0008100C 7F C6 F3 78 */ mr r6, r30 -/* 800840B0 00081010 38 61 00 20 */ addi r3, r1, 0x20 -/* 800840B4 00081014 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800840B8 00081018 48 00 00 D5 */ bl GetFixedLookTarget__11CBallCameraCFRC9CVector3fR13CStateManager -/* 800840BC 0008101C C0 41 00 20 */ lfs f2, 0x20(r1) -/* 800840C0 00081020 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 800840C4 00081024 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 800840C8 00081028 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 800840CC 0008102C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800840D0 00081030 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800840D4 00081034 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 800840D8 00081038 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19 -/* 800840DC 0008103C 41 82 00 14 */ beq lbl_800840F0 -/* 800840E0 00081040 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 800840E4 00081044 38 60 00 01 */ li r3, 1 -/* 800840E8 00081048 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800840EC 0008104C 98 1D 01 8D */ stb r0, 0x18d(r29) -lbl_800840F0: -/* 800840F0 00081050 FC 20 F8 90 */ fmr f1, f31 -/* 800840F4 00081054 7F A3 EB 78 */ mr r3, r29 -/* 800840F8 00081058 7F C6 F3 78 */ mr r6, r30 -/* 800840FC 0008105C 38 81 00 2C */ addi r4, r1, 0x2c -/* 80084100 00081060 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80084104 00081064 48 00 49 D9 */ bl UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager -/* 80084108 00081068 48 00 00 38 */ b lbl_80084140 -lbl_8008410C: -/* 8008410C 0008106C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80084110 00081070 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80084114 00081074 48 28 EA 2D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80084118 00081078 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8008411C 0008107C 38 60 00 01 */ li r3, 1 -/* 80084120 00081080 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80084124 00081084 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80084128 00081088 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8008412C 0008108C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80084130 00081090 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80084134 00081094 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80084138 00081098 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8008413C 0008109C 98 1D 00 E4 */ stb r0, 0xe4(r29) -lbl_80084140: -/* 80084140 000810A0 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80084144 000810A4 7F A3 EB 78 */ mr r3, r29 -/* 80084148 000810A8 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 8008414C 000810AC 7F C5 F3 78 */ mr r5, r30 -/* 80084150 000810B0 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80084154 000810B4 38 81 00 08 */ addi r4, r1, 8 -/* 80084158 000810B8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8008415C 000810BC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80084160 000810C0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80084164 000810C4 48 00 89 B9 */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager -lbl_80084168: -/* 80084168 000810C8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8008416C 000810CC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80084170 000810D0 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80084174 000810D4 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80084178 000810D8 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8008417C 000810DC 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80084180 000810E0 7C 08 03 A6 */ mtlr r0 -/* 80084184 000810E4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80084188 000810E8 4E 80 00 20 */ blr - -.global GetFixedLookTarget__11CBallCameraCFRC9CVector3fR13CStateManager -GetFixedLookTarget__11CBallCameraCFRC9CVector3fR13CStateManager: -/* 8008418C 000810EC 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80084190 000810F0 7C 08 02 A6 */ mflr r0 -/* 80084194 000810F4 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80084198 000810F8 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8008419C 000810FC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 800841A0 00081100 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 800841A4 00081104 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 800841A8 00081108 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 800841AC 0008110C 7C 7D 1B 78 */ mr r29, r3 -/* 800841B0 00081110 80 66 08 70 */ lwz r3, 0x870(r6) -/* 800841B4 00081114 7C 9E 23 78 */ mr r30, r4 -/* 800841B8 00081118 7C BF 2B 78 */ mr r31, r5 -/* 800841BC 0008111C 7C C4 33 78 */ mr r4, r6 -/* 800841C0 00081120 4B F8 52 11 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager -/* 800841C4 00081124 28 03 00 00 */ cmplwi r3, 0 -/* 800841C8 00081128 40 82 00 20 */ bne lbl_800841E8 -/* 800841CC 0008112C C0 1F 00 00 */ lfs f0, 0(r31) -/* 800841D0 00081130 D0 1D 00 00 */ stfs f0, 0(r29) -/* 800841D4 00081134 C0 1F 00 04 */ lfs f0, 4(r31) -/* 800841D8 00081138 D0 1D 00 04 */ stfs f0, 4(r29) -/* 800841DC 0008113C C0 1F 00 08 */ lfs f0, 8(r31) -/* 800841E0 00081140 D0 1D 00 08 */ stfs f0, 8(r29) -/* 800841E4 00081144 48 00 03 60 */ b lbl_80084544 -lbl_800841E8: -/* 800841E8 00081148 C0 63 00 58 */ lfs f3, 0x58(r3) -/* 800841EC 0008114C C0 43 00 48 */ lfs f2, 0x48(r3) -/* 800841F0 00081150 C0 23 00 38 */ lfs f1, 0x38(r3) -/* 800841F4 00081154 38 61 00 98 */ addi r3, r1, 0x98 -/* 800841F8 00081158 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800841FC 0008115C D0 61 00 94 */ stfs f3, 0x94(r1) -/* 80084200 00081160 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 80084204 00081164 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 80084208 00081168 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 8008420C 0008116C D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 80084210 00081170 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 80084214 00081174 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80084218 00081178 48 29 04 E1 */ bl CanBeNormalized__9CVector3fCFv -/* 8008421C 0008117C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80084220 00081180 41 82 00 28 */ beq lbl_80084248 -/* 80084224 00081184 38 61 00 8C */ addi r3, r1, 0x8c -/* 80084228 00081188 48 29 04 D1 */ bl CanBeNormalized__9CVector3fCFv -/* 8008422C 0008118C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80084230 00081190 41 82 00 18 */ beq lbl_80084248 -/* 80084234 00081194 38 61 00 98 */ addi r3, r1, 0x98 -/* 80084238 00081198 48 29 06 C1 */ bl Normalize__9CVector3fFv -/* 8008423C 0008119C 38 61 00 8C */ addi r3, r1, 0x8c -/* 80084240 000811A0 48 29 06 B9 */ bl Normalize__9CVector3fFv -/* 80084244 000811A4 48 00 00 24 */ b lbl_80084268 -lbl_80084248: -/* 80084248 000811A8 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 8008424C 000811AC C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80084250 000811B0 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 80084254 000811B4 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 80084258 000811B8 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 8008425C 000811BC D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 80084260 000811C0 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 80084264 000811C4 D0 21 00 94 */ stfs f1, 0x94(r1) -lbl_80084268: -/* 80084268 000811C8 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8008426C 000811CC 7F E3 FB 78 */ mr r3, r31 -/* 80084270 000811D0 C0 5F 00 00 */ lfs f2, 0(r31) -/* 80084274 000811D4 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80084278 000811D8 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8008427C 000811DC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80084280 000811E0 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 80084284 000811E4 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80084288 000811E8 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8008428C 000811EC 48 29 04 6D */ bl CanBeNormalized__9CVector3fCFv -/* 80084290 000811F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80084294 000811F4 41 82 00 20 */ beq lbl_800842B4 -/* 80084298 000811F8 38 61 00 80 */ addi r3, r1, 0x80 -/* 8008429C 000811FC 48 29 04 5D */ bl CanBeNormalized__9CVector3fCFv -/* 800842A0 00081200 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800842A4 00081204 41 82 00 10 */ beq lbl_800842B4 -/* 800842A8 00081208 38 61 00 80 */ addi r3, r1, 0x80 -/* 800842AC 0008120C 48 29 06 4D */ bl Normalize__9CVector3fFv -/* 800842B0 00081210 48 00 00 1C */ b lbl_800842CC -lbl_800842B4: -/* 800842B4 00081214 C0 41 00 8C */ lfs f2, 0x8c(r1) -/* 800842B8 00081218 C0 21 00 90 */ lfs f1, 0x90(r1) -/* 800842BC 0008121C C0 01 00 94 */ lfs f0, 0x94(r1) -/* 800842C0 00081220 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 800842C4 00081224 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 800842C8 00081228 D0 01 00 88 */ stfs f0, 0x88(r1) -lbl_800842CC: -/* 800842CC 0008122C C0 3F 00 04 */ lfs f1, 4(r31) -/* 800842D0 00081230 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 800842D4 00081234 C0 5F 00 00 */ lfs f2, 0(r31) -/* 800842D8 00081238 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800842DC 0008123C C0 21 00 80 */ lfs f1, 0x80(r1) -/* 800842E0 00081240 C0 9F 00 08 */ lfs f4, 8(r31) -/* 800842E4 00081244 C0 61 00 88 */ lfs f3, 0x88(r1) -/* 800842E8 00081248 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 800842EC 0008124C C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 800842F0 00081250 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 800842F4 00081254 FC 40 0A 10 */ fabs f2, f1 -/* 800842F8 00081258 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800842FC 0008125C 40 81 00 14 */ ble lbl_80084310 -/* 80084300 00081260 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80084304 00081264 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 80084308 00081268 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 8008430C 0008126C EC 22 00 32 */ fmuls f1, f2, f0 -lbl_80084310: -/* 80084310 00081270 48 31 09 1D */ bl acos -/* 80084314 00081274 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 80084318 00081278 FF E0 08 18 */ frsp f31, f1 -/* 8008431C 0008127C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80084320 00081280 41 82 00 78 */ beq lbl_80084398 -/* 80084324 00081284 C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 80084328 00081288 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 8008432C 0008128C C0 41 00 98 */ lfs f2, 0x98(r1) -/* 80084330 00081290 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80084334 00081294 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 80084338 00081298 C0 81 00 A0 */ lfs f4, 0xa0(r1) -/* 8008433C 0008129C C0 61 00 94 */ lfs f3, 0x94(r1) -/* 80084340 000812A0 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80084344 000812A4 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80084348 000812A8 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 8008434C 000812AC FC 40 0A 10 */ fabs f2, f1 -/* 80084350 000812B0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80084354 000812B4 40 81 00 14 */ ble lbl_80084368 -/* 80084358 000812B8 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 8008435C 000812BC C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 80084360 000812C0 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 80084364 000812C4 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_80084368: -/* 80084368 000812C8 48 31 08 C5 */ bl acos -/* 8008436C 000812CC FC 20 08 18 */ frsp f1, f1 -/* 80084370 000812D0 C0 1E 01 AC */ lfs f0, 0x1ac(r30) -/* 80084374 000812D4 EC 9F 08 28 */ fsubs f4, f31, f1 -/* 80084378 000812D8 FC 40 22 10 */ fabs f2, f4 -/* 8008437C 000812DC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80084380 000812E0 40 81 00 14 */ ble lbl_80084394 -/* 80084384 000812E4 C0 62 89 F8 */ lfs f3, lbl_805AA718@sda21(r2) -/* 80084388 000812E8 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 8008438C 000812EC FC 44 18 AE */ fsel f2, f4, f2, f3 -/* 80084390 000812F0 EC 80 00 B2 */ fmuls f4, f0, f2 -lbl_80084394: -/* 80084394 000812F4 EF E1 20 2A */ fadds f31, f1, f4 -lbl_80084398: -/* 80084398 000812F8 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8008439C 000812FC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800843A0 00081300 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800843A4 00081304 4C 41 13 82 */ cror 2, 1, 2 -/* 800843A8 00081308 40 82 00 08 */ bne lbl_800843B0 -/* 800843AC 0008130C FF E0 F8 50 */ fneg f31, f31 -lbl_800843B0: -/* 800843B0 00081310 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 800843B4 00081314 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 800843B8 00081318 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 800843BC 0008131C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800843C0 00081320 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 800843C4 00081324 C0 81 00 88 */ lfs f4, 0x88(r1) -/* 800843C8 00081328 C0 61 00 94 */ lfs f3, 0x94(r1) -/* 800843CC 0008132C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 800843D0 00081330 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 800843D4 00081334 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 800843D8 00081338 FC 40 0A 10 */ fabs f2, f1 -/* 800843DC 0008133C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800843E0 00081340 40 81 00 14 */ ble lbl_800843F4 -/* 800843E4 00081344 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 800843E8 00081348 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 800843EC 0008134C FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 800843F0 00081350 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_800843F4: -/* 800843F4 00081354 48 31 08 39 */ bl acos -/* 800843F8 00081358 FC 40 08 18 */ frsp f2, f1 -/* 800843FC 0008135C 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 80084400 00081360 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80084404 00081364 FC 80 10 90 */ fmr f4, f2 -/* 80084408 00081368 41 82 00 28 */ beq lbl_80084430 -/* 8008440C 0008136C FC 20 12 10 */ fabs f1, f2 -/* 80084410 00081370 C0 1E 01 B0 */ lfs f0, 0x1b0(r30) -/* 80084414 00081374 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80084418 00081378 40 81 00 14 */ ble lbl_8008442C -/* 8008441C 0008137C C0 62 89 F8 */ lfs f3, lbl_805AA718@sda21(r2) -/* 80084420 00081380 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80084424 00081384 FC 22 18 6E */ fsel f1, f2, f1, f3 -/* 80084428 00081388 EC 40 00 72 */ fmuls f2, f0, f1 -lbl_8008442C: -/* 8008442C 0008138C FC 80 10 90 */ fmr f4, f2 -lbl_80084430: -/* 80084430 00081390 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 80084434 00081394 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80084438 00081398 C0 61 00 80 */ lfs f3, 0x80(r1) -/* 8008443C 0008139C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80084440 000813A0 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 80084444 000813A4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80084448 000813A8 EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 8008444C 000813AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80084450 000813B0 4C 41 13 82 */ cror 2, 1, 2 -/* 80084454 000813B4 40 82 00 08 */ bne lbl_8008445C -/* 80084458 000813B8 FC 80 20 50 */ fneg f4, f4 -lbl_8008445C: -/* 8008445C 000813BC D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80084460 000813C0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80084464 000813C4 38 81 00 0C */ addi r4, r1, 0xc -/* 80084468 000813C8 48 28 CC 91 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8008446C 000813CC C0 61 00 38 */ lfs f3, 0x38(r1) -/* 80084470 000813D0 38 61 00 2C */ addi r3, r1, 0x2c -/* 80084474 000813D4 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 80084478 000813D8 38 81 00 70 */ addi r4, r1, 0x70 -/* 8008447C 000813DC C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80084480 000813E0 38 A1 00 8C */ addi r5, r1, 0x8c -/* 80084484 000813E4 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80084488 000813E8 D0 61 00 70 */ stfs f3, 0x70(r1) -/* 8008448C 000813EC D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80084490 000813F0 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 80084494 000813F4 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80084498 000813F8 48 28 CD CD */ bl Transform__11CQuaternionCFRC9CVector3f -/* 8008449C 000813FC C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 800844A0 00081400 38 61 00 58 */ addi r3, r1, 0x58 -/* 800844A4 00081404 C0 61 00 30 */ lfs f3, 0x30(r1) -/* 800844A8 00081408 FC 20 20 50 */ fneg f1, f4 -/* 800844AC 0008140C C0 41 00 34 */ lfs f2, 0x34(r1) -/* 800844B0 00081410 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800844B4 00081414 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 800844B8 00081418 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 800844BC 0008141C D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 800844C0 00081420 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 800844C4 00081424 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 800844C8 00081428 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800844CC 0008142C 48 29 04 2D */ bl Normalize__9CVector3fFv -/* 800844D0 00081430 FC 00 F8 50 */ fneg f0, f31 -/* 800844D4 00081434 38 61 00 1C */ addi r3, r1, 0x1c -/* 800844D8 00081438 38 81 00 58 */ addi r4, r1, 0x58 -/* 800844DC 0008143C 38 A1 00 08 */ addi r5, r1, 8 -/* 800844E0 00081440 D0 01 00 08 */ stfs f0, 8(r1) -/* 800844E4 00081444 48 28 CE 11 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 800844E8 00081448 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 800844EC 0008144C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800844F0 00081450 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 800844F4 00081454 38 81 00 48 */ addi r4, r1, 0x48 -/* 800844F8 00081458 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 800844FC 0008145C 38 A1 00 64 */ addi r5, r1, 0x64 -/* 80084500 00081460 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80084504 00081464 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 80084508 00081468 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8008450C 0008146C D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80084510 00081470 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80084514 00081474 48 28 CD 51 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80084518 00081478 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8008451C 0008147C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80084520 00081480 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80084524 00081484 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80084528 00081488 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 8008452C 0008148C D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80084530 00081490 D0 5D 00 00 */ stfs f2, 0(r29) -/* 80084534 00081494 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80084538 00081498 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8008453C 0008149C C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80084540 000814A0 D0 1D 00 08 */ stfs f0, 8(r29) -lbl_80084544: -/* 80084544 000814A4 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80084548 000814A8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8008454C 000814AC CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80084550 000814B0 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 80084554 000814B4 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 80084558 000814B8 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8008455C 000814BC 7C 08 03 A6 */ mtlr r0 -/* 80084560 000814C0 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80084564 000814C4 4E 80 00 20 */ blr - -.global MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager -MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager: -/* 80084568 000814C8 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8008456C 000814CC 7C 08 02 A6 */ mflr r0 -/* 80084570 000814D0 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80084574 000814D4 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80084578 000814D8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8008457C 000814DC BF 61 00 9C */ stmw r27, 0x9c(r1) -/* 80084580 000814E0 7C 9D 23 78 */ mr r29, r4 -/* 80084584 000814E4 FF E0 08 90 */ fmr f31, f1 -/* 80084588 000814E8 A0 04 04 6C */ lhz r0, 0x46c(r4) -/* 8008458C 000814EC 7C DE 33 78 */ mr r30, r6 -/* 80084590 000814F0 7C 7C 1B 78 */ mr r28, r3 -/* 80084594 000814F4 7C BB 2B 78 */ mr r27, r5 -/* 80084598 000814F8 B0 01 00 08 */ sth r0, 8(r1) -/* 8008459C 000814FC 7F C3 F3 78 */ mr r3, r30 -/* 800845A0 00081500 38 81 00 08 */ addi r4, r1, 8 -/* 800845A4 00081504 4B FC 7F D1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800845A8 00081508 7C 64 1B 78 */ mr r4, r3 -/* 800845AC 0008150C 38 61 00 0C */ addi r3, r1, 0xc -/* 800845B0 00081510 48 02 81 35 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 800845B4 00081514 83 E3 00 04 */ lwz r31, 4(r3) -/* 800845B8 00081518 28 1F 00 00 */ cmplwi r31, 0 -/* 800845BC 0008151C 41 82 02 D8 */ beq lbl_80084894 -/* 800845C0 00081520 C0 3B 00 04 */ lfs f1, 4(r27) -/* 800845C4 00081524 38 61 00 80 */ addi r3, r1, 0x80 -/* 800845C8 00081528 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 800845CC 0008152C C0 7B 00 08 */ lfs f3, 8(r27) -/* 800845D0 00081530 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 800845D4 00081534 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800845D8 00081538 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800845DC 0008153C C0 3B 00 00 */ lfs f1, 0(r27) -/* 800845E0 00081540 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800845E4 00081544 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 800845E8 00081548 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800845EC 0008154C D0 41 00 88 */ stfs f2, 0x88(r1) -/* 800845F0 00081550 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 800845F4 00081554 48 29 01 05 */ bl CanBeNormalized__9CVector3fCFv -/* 800845F8 00081558 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800845FC 0008155C 41 82 00 18 */ beq lbl_80084614 -/* 80084600 00081560 38 61 00 80 */ addi r3, r1, 0x80 -/* 80084604 00081564 48 29 02 B5 */ bl Magnitude__9CVector3fCFv -/* 80084608 00081568 C0 02 89 FC */ lfs f0, lbl_805AA71C@sda21(r2) -/* 8008460C 0008156C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80084610 00081570 40 80 00 28 */ bge lbl_80084638 -lbl_80084614: -/* 80084614 00081574 7F E3 FB 78 */ mr r3, r31 -/* 80084618 00081578 48 09 6D 61 */ bl Stop__13CPhysicsActorFv -/* 8008461C 0008157C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80084620 00081580 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80084624 00081584 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80084628 00081588 D0 1C 00 00 */ stfs f0, 0(r28) -/* 8008462C 0008158C D0 3C 00 04 */ stfs f1, 4(r28) -/* 80084630 00081590 D0 5C 00 08 */ stfs f2, 8(r28) -/* 80084634 00081594 48 00 02 78 */ b lbl_800848AC -lbl_80084638: -/* 80084638 00081598 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 8008463C 0008159C FC 20 F8 90 */ fmr f1, f31 -/* 80084640 000815A0 C0 5F 01 38 */ lfs f2, 0x138(r31) -/* 80084644 000815A4 7F A4 EB 78 */ mr r4, r29 -/* 80084648 000815A8 EC A0 F8 24 */ fdivs f5, f0, f31 -/* 8008464C 000815AC C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80084650 000815B0 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80084654 000815B4 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 80084658 000815B8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8008465C 000815BC C0 7F 01 3C */ lfs f3, 0x13c(r31) -/* 80084660 000815C0 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 80084664 000815C4 EC 85 00 32 */ fmuls f4, f5, f0 -/* 80084668 000815C8 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 8008466C 000815CC EC 65 00 B2 */ fmuls f3, f5, f2 -/* 80084670 000815D0 C0 5F 01 40 */ lfs f2, 0x140(r31) -/* 80084674 000815D4 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80084678 000815D8 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8008467C 000815DC D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 80084680 000815E0 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80084684 000815E4 81 01 00 74 */ lwz r8, 0x74(r1) -/* 80084688 000815E8 C0 DF 00 60 */ lfs f6, 0x60(r31) -/* 8008468C 000815EC C0 BF 00 50 */ lfs f5, 0x50(r31) -/* 80084690 000815F0 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 80084694 000815F4 80 E1 00 78 */ lwz r7, 0x78(r1) -/* 80084698 000815F8 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8008469C 000815FC 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 800846A0 00081600 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 800846A4 00081604 81 61 00 5C */ lwz r11, 0x5c(r1) -/* 800846A8 00081608 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 800846AC 0008160C 81 41 00 60 */ lwz r10, 0x60(r1) -/* 800846B0 00081610 81 21 00 64 */ lwz r9, 0x64(r1) -/* 800846B4 00081614 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 800846B8 00081618 D0 A1 00 6C */ stfs f5, 0x6c(r1) -/* 800846BC 0008161C D0 C1 00 70 */ stfs f6, 0x70(r1) -/* 800846C0 00081620 91 61 00 20 */ stw r11, 0x20(r1) -/* 800846C4 00081624 91 41 00 24 */ stw r10, 0x24(r1) -/* 800846C8 00081628 91 21 00 28 */ stw r9, 0x28(r1) -/* 800846CC 0008162C 91 01 00 2C */ stw r8, 0x2c(r1) -/* 800846D0 00081630 90 E1 00 30 */ stw r7, 0x30(r1) -/* 800846D4 00081634 90 01 00 34 */ stw r0, 0x34(r1) -/* 800846D8 00081638 48 00 03 65 */ bl ComputeVelocity__11CBallCameraCFRC9CVector3fRC9CVector3f -/* 800846DC 0008163C C0 41 00 38 */ lfs f2, 0x38(r1) -/* 800846E0 00081640 7F E3 FB 78 */ mr r3, r31 -/* 800846E4 00081644 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 800846E8 00081648 38 81 00 5C */ addi r4, r1, 0x5c -/* 800846EC 0008164C C0 01 00 40 */ lfs f0, 0x40(r1) -/* 800846F0 00081650 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 800846F4 00081654 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 800846F8 00081658 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 800846FC 0008165C 48 09 65 A5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 80084700 00081660 88 1F 00 F8 */ lbz r0, 0xf8(r31) -/* 80084704 00081664 38 60 00 01 */ li r3, 1 -/* 80084708 00081668 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8008470C 0008166C 7F E3 FB 78 */ mr r3, r31 -/* 80084710 00081670 98 1F 00 F8 */ stb r0, 0xf8(r31) -/* 80084714 00081674 7F C5 F3 78 */ mr r5, r30 -/* 80084718 00081678 38 80 00 13 */ li r4, 0x13 -/* 8008471C 0008167C 4B FC FC 35 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80084720 00081680 FC 20 F8 90 */ fmr f1, f31 -/* 80084724 00081684 7F C3 F3 78 */ mr r3, r30 -/* 80084728 00081688 7F E4 FB 78 */ mr r4, r31 -/* 8008472C 0008168C 38 A0 00 00 */ li r5, 0 -/* 80084730 00081690 48 0F D6 09 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80084734 00081694 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80084738 00081698 38 61 00 50 */ addi r3, r1, 0x50 -/* 8008473C 0008169C C0 1B 00 04 */ lfs f0, 4(r27) -/* 80084740 000816A0 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 80084744 000816A4 C0 5B 00 08 */ lfs f2, 8(r27) -/* 80084748 000816A8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8008474C 000816AC C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80084750 000816B0 C0 1B 00 00 */ lfs f0, 0(r27) -/* 80084754 000816B4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80084758 000816B8 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 8008475C 000816BC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80084760 000816C0 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80084764 000816C4 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80084768 000816C8 48 28 FF 91 */ bl CanBeNormalized__9CVector3fCFv -/* 8008476C 000816CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80084770 000816D0 41 82 00 D8 */ beq lbl_80084848 -/* 80084774 000816D4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80084778 000816D8 48 29 01 41 */ bl Magnitude__9CVector3fCFv -/* 8008477C 000816DC C0 02 89 BC */ lfs f0, lbl_805AA6DC@sda21(r2) -/* 80084780 000816E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80084784 000816E4 40 81 00 C4 */ ble lbl_80084848 -/* 80084788 000816E8 7F E3 FB 78 */ mr r3, r31 -/* 8008478C 000816EC 38 81 00 68 */ addi r4, r1, 0x68 -/* 80084790 000816F0 4B FC E6 FD */ bl SetTranslation__6CActorFRC9CVector3f -/* 80084794 000816F4 FC 40 F8 90 */ fmr f2, f31 -/* 80084798 000816F8 C0 22 8A 00 */ lfs f1, lbl_805AA720@sda21(r2) -/* 8008479C 000816FC 7F A4 EB 78 */ mr r4, r29 -/* 800847A0 00081700 38 61 00 14 */ addi r3, r1, 0x14 -/* 800847A4 00081704 38 A1 00 74 */ addi r5, r1, 0x74 -/* 800847A8 00081708 38 C1 00 5C */ addi r6, r1, 0x5c -/* 800847AC 0008170C 48 00 03 8D */ bl TweenVelocity__11CBallCameraFRC9CVector3fRC9CVector3fff -/* 800847B0 00081710 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 800847B4 00081714 7F E3 FB 78 */ mr r3, r31 -/* 800847B8 00081718 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 800847BC 0008171C 38 81 00 44 */ addi r4, r1, 0x44 -/* 800847C0 00081720 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800847C4 00081724 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 800847C8 00081728 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800847CC 0008172C D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800847D0 00081730 48 09 64 D1 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 800847D4 00081734 FC 20 F8 90 */ fmr f1, f31 -/* 800847D8 00081738 7F C3 F3 78 */ mr r3, r30 -/* 800847DC 0008173C 7F E4 FB 78 */ mr r4, r31 -/* 800847E0 00081740 38 A0 00 00 */ li r5, 0 -/* 800847E4 00081744 48 0F D5 55 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 800847E8 00081748 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 800847EC 0008174C 38 61 00 50 */ addi r3, r1, 0x50 -/* 800847F0 00081750 C0 1B 00 04 */ lfs f0, 4(r27) -/* 800847F4 00081754 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 800847F8 00081758 C0 5B 00 08 */ lfs f2, 8(r27) -/* 800847FC 0008175C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80084800 00081760 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80084804 00081764 C0 1B 00 00 */ lfs f0, 0(r27) -/* 80084808 00081768 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8008480C 0008176C D0 81 00 54 */ stfs f4, 0x54(r1) -/* 80084810 00081770 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80084814 00081774 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80084818 00081778 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8008481C 0008177C 48 29 00 9D */ bl Magnitude__9CVector3fCFv -/* 80084820 00081780 C0 02 89 BC */ lfs f0, lbl_805AA6DC@sda21(r2) -/* 80084824 00081784 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80084828 00081788 40 81 00 14 */ ble lbl_8008483C -/* 8008482C 0008178C 80 7D 04 78 */ lwz r3, 0x478(r29) -/* 80084830 00081790 38 03 00 01 */ addi r0, r3, 1 -/* 80084834 00081794 90 1D 04 78 */ stw r0, 0x478(r29) -/* 80084838 00081798 48 00 00 20 */ b lbl_80084858 -lbl_8008483C: -/* 8008483C 0008179C 38 00 00 00 */ li r0, 0 -/* 80084840 000817A0 90 1D 04 78 */ stw r0, 0x478(r29) -/* 80084844 000817A4 48 00 00 14 */ b lbl_80084858 -lbl_80084848: -/* 80084848 000817A8 7F E3 FB 78 */ mr r3, r31 -/* 8008484C 000817AC 48 09 6B 2D */ bl Stop__13CPhysicsActorFv -/* 80084850 000817B0 38 00 00 00 */ li r0, 0 -/* 80084854 000817B4 90 1D 04 78 */ stw r0, 0x478(r29) -lbl_80084858: -/* 80084858 000817B8 88 1F 00 F8 */ lbz r0, 0xf8(r31) -/* 8008485C 000817BC 38 60 00 00 */ li r3, 0 -/* 80084860 000817C0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80084864 000817C4 7F E3 FB 78 */ mr r3, r31 -/* 80084868 000817C8 98 1F 00 F8 */ stb r0, 0xf8(r31) -/* 8008486C 000817CC 7F C5 F3 78 */ mr r5, r30 -/* 80084870 000817D0 38 80 00 13 */ li r4, 0x13 -/* 80084874 000817D4 4B FC F7 0D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80084878 000817D8 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8008487C 000817DC C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80084880 000817E0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80084884 000817E4 D0 1C 00 00 */ stfs f0, 0(r28) -/* 80084888 000817E8 D0 3C 00 04 */ stfs f1, 4(r28) -/* 8008488C 000817EC D0 5C 00 08 */ stfs f2, 8(r28) -/* 80084890 000817F0 48 00 00 1C */ b lbl_800848AC -lbl_80084894: -/* 80084894 000817F4 C0 1B 00 00 */ lfs f0, 0(r27) -/* 80084898 000817F8 D0 1C 00 00 */ stfs f0, 0(r28) -/* 8008489C 000817FC C0 1B 00 04 */ lfs f0, 4(r27) -/* 800848A0 00081800 D0 1C 00 04 */ stfs f0, 4(r28) -/* 800848A4 00081804 C0 1B 00 08 */ lfs f0, 8(r27) -/* 800848A8 00081808 D0 1C 00 08 */ stfs f0, 8(r28) -lbl_800848AC: -/* 800848AC 0008180C E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 800848B0 00081810 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 800848B4 00081814 BB 61 00 9C */ lmw r27, 0x9c(r1) -/* 800848B8 00081818 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800848BC 0008181C 7C 08 03 A6 */ mtlr r0 -/* 800848C0 00081820 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800848C4 00081824 4E 80 00 20 */ blr - -.global ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager -ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager: -/* 800848C8 00081828 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800848CC 0008182C 7C 08 02 A6 */ mflr r0 -/* 800848D0 00081830 90 01 00 74 */ stw r0, 0x74(r1) -/* 800848D4 00081834 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 800848D8 00081838 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 800848DC 0008183C DB C1 00 50 */ stfd f30, 0x50(r1) -/* 800848E0 00081840 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 800848E4 00081844 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 800848E8 00081848 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 800848EC 0008184C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800848F0 00081850 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800848F4 00081854 80 E6 08 4C */ lwz r7, 0x84c(r6) -/* 800848F8 00081858 7C 7E 1B 78 */ mr r30, r3 -/* 800848FC 0008185C 7C BF 2B 78 */ mr r31, r5 -/* 80084900 00081860 7C C3 33 78 */ mr r3, r6 -/* 80084904 00081864 A0 07 00 C4 */ lhz r0, 0xc4(r7) -/* 80084908 00081868 38 81 00 0C */ addi r4, r1, 0xc -/* 8008490C 0008186C B0 01 00 08 */ sth r0, 8(r1) -/* 80084910 00081870 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80084914 00081874 4B FC 7C 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80084918 00081878 7C 64 1B 78 */ mr r4, r3 -/* 8008491C 0008187C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80084920 00081880 48 02 1F 41 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" -/* 80084924 00081884 80 83 00 04 */ lwz r4, 4(r3) -/* 80084928 00081888 C3 FF 00 00 */ lfs f31, 0(r31) -/* 8008492C 0008188C 28 04 00 00 */ cmplwi r4, 0 -/* 80084930 00081890 C3 DF 00 04 */ lfs f30, 4(r31) -/* 80084934 00081894 C3 BF 00 08 */ lfs f29, 8(r31) -/* 80084938 00081898 41 82 00 5C */ beq lbl_80084994 -/* 8008493C 0008189C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80084940 000818A0 4B FF 1D 8D */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80084944 000818A4 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 80084948 000818A8 C0 5F 00 08 */ lfs f2, 8(r31) -/* 8008494C 000818AC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80084950 000818B0 EC 62 08 28 */ fsubs f3, f2, f1 -/* 80084954 000818B4 4C 41 13 82 */ cror 2, 1, 2 -/* 80084958 000818B8 40 82 00 1C */ bne lbl_80084974 -/* 8008495C 000818BC C0 02 8A 04 */ lfs f0, lbl_805AA724@sda21(r2) -/* 80084960 000818C0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80084964 000818C4 4C 40 13 82 */ cror 2, 0, 2 -/* 80084968 000818C8 40 82 00 0C */ bne lbl_80084974 -/* 8008496C 000818CC EF A0 08 2A */ fadds f29, f0, f1 -/* 80084970 000818D0 48 00 00 24 */ b lbl_80084994 -lbl_80084974: -/* 80084974 000818D4 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80084978 000818D8 40 80 00 1C */ bge lbl_80084994 -/* 8008497C 000818DC C0 02 8A 08 */ lfs f0, lbl_805AA728@sda21(r2) -/* 80084980 000818E0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80084984 000818E4 4C 41 13 82 */ cror 2, 1, 2 -/* 80084988 000818E8 40 82 00 0C */ bne lbl_80084994 -/* 8008498C 000818EC C0 02 8A 0C */ lfs f0, lbl_805AA72C@sda21(r2) -/* 80084990 000818F0 EF A1 00 28 */ fsubs f29, f1, f0 -lbl_80084994: -/* 80084994 000818F4 D3 FE 00 00 */ stfs f31, 0(r30) -/* 80084998 000818F8 D3 DE 00 04 */ stfs f30, 4(r30) -/* 8008499C 000818FC D3 BE 00 08 */ stfs f29, 8(r30) -/* 800849A0 00081900 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 800849A4 00081904 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 800849A8 00081908 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 800849AC 0008190C CB C1 00 50 */ lfd f30, 0x50(r1) -/* 800849B0 00081910 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 800849B4 00081914 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 800849B8 00081918 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800849BC 0008191C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800849C0 00081920 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800849C4 00081924 7C 08 03 A6 */ mtlr r0 -/* 800849C8 00081928 38 21 00 70 */ addi r1, r1, 0x70 -/* 800849CC 0008192C 4E 80 00 20 */ blr - -.global UpdateAnglePerSecond__11CBallCameraFf -UpdateAnglePerSecond__11CBallCameraFf: -/* 800849D0 00081930 C0 63 01 A8 */ lfs f3, 0x1a8(r3) -/* 800849D4 00081934 C0 43 01 A4 */ lfs f2, 0x1a4(r3) -/* 800849D8 00081938 C0 02 8A 10 */ lfs f0, lbl_805AA730@sda21(r2) -/* 800849DC 0008193C EC 83 10 28 */ fsubs f4, f3, f2 -/* 800849E0 00081940 FC 40 22 10 */ fabs f2, f4 -/* 800849E4 00081944 FC 40 10 18 */ frsp f2, f2 -/* 800849E8 00081948 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800849EC 0008194C 4C 41 13 82 */ cror 2, 1, 2 -/* 800849F0 00081950 40 82 00 44 */ bne lbl_80084A34 -/* 800849F4 00081954 C0 42 8A 14 */ lfs f2, lbl_805AA734@sda21(r2) -/* 800849F8 00081958 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 800849FC 0008195C EC 64 10 24 */ fdivs f3, f4, f2 -/* 80084A00 00081960 FC 40 1A 10 */ fabs f2, f3 -/* 80084A04 00081964 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80084A08 00081968 40 81 00 14 */ ble lbl_80084A1C -/* 80084A0C 0008196C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80084A10 00081970 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 80084A14 00081974 FC 03 00 AE */ fsel f0, f3, f2, f0 -/* 80084A18 00081978 EC 62 00 32 */ fmuls f3, f2, f0 -lbl_80084A1C: -/* 80084A1C 0008197C C0 42 8A 18 */ lfs f2, lbl_805AA738@sda21(r2) -/* 80084A20 00081980 C0 03 01 A4 */ lfs f0, 0x1a4(r3) -/* 80084A24 00081984 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80084A28 00081988 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80084A2C 0008198C D0 03 01 A4 */ stfs f0, 0x1a4(r3) -/* 80084A30 00081990 4E 80 00 20 */ blr -lbl_80084A34: -/* 80084A34 00081994 D0 63 01 A4 */ stfs f3, 0x1a4(r3) -/* 80084A38 00081998 4E 80 00 20 */ blr - -.global ComputeVelocity__11CBallCameraCFRC9CVector3fRC9CVector3f -ComputeVelocity__11CBallCameraCFRC9CVector3fRC9CVector3f: -/* 80084A3C 0008199C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80084A40 000819A0 7C 08 02 A6 */ mflr r0 -/* 80084A44 000819A4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80084A48 000819A8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80084A4C 000819AC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80084A50 000819B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80084A54 000819B4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80084A58 000819B8 C0 46 00 00 */ lfs f2, 0(r6) -/* 80084A5C 000819BC 7C 7E 1B 78 */ mr r30, r3 -/* 80084A60 000819C0 C0 26 00 04 */ lfs f1, 4(r6) -/* 80084A64 000819C4 7C 9F 23 78 */ mr r31, r4 -/* 80084A68 000819C8 C0 06 00 08 */ lfs f0, 8(r6) -/* 80084A6C 000819CC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80084A70 000819D0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80084A74 000819D4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80084A78 000819D8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80084A7C 000819DC 48 28 FE 3D */ bl Magnitude__9CVector3fCFv -/* 80084A80 000819E0 C0 5F 04 70 */ lfs f2, 0x470(r31) -/* 80084A84 000819E4 FF E0 08 90 */ fmr f31, f1 -/* 80084A88 000819E8 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80084A8C 000819EC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80084A90 000819F0 40 81 00 70 */ ble lbl_80084B00 -/* 80084A94 000819F4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80084A98 000819F8 48 28 FC 61 */ bl CanBeNormalized__9CVector3fCFv -/* 80084A9C 000819FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80084AA0 00081A00 41 82 00 60 */ beq lbl_80084B00 -/* 80084AA4 00081A04 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 80084AA8 00081A08 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80084AAC 00081A0C 40 82 00 54 */ bne lbl_80084B00 -/* 80084AB0 00081A10 FC 20 FA 10 */ fabs f1, f31 -/* 80084AB4 00081A14 C0 1F 04 74 */ lfs f0, 0x474(r31) -/* 80084AB8 00081A18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80084ABC 00081A1C 40 81 00 14 */ ble lbl_80084AD0 -/* 80084AC0 00081A20 C0 42 89 F8 */ lfs f2, lbl_805AA718@sda21(r2) -/* 80084AC4 00081A24 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80084AC8 00081A28 FC 3F 10 6E */ fsel f1, f31, f1, f2 -/* 80084ACC 00081A2C EF E0 00 72 */ fmuls f31, f0, f1 -lbl_80084AD0: -/* 80084AD0 00081A30 38 61 00 08 */ addi r3, r1, 8 -/* 80084AD4 00081A34 38 81 00 14 */ addi r4, r1, 0x14 -/* 80084AD8 00081A38 48 28 FD 79 */ bl AsNormalized__9CVector3fCFv -/* 80084ADC 00081A3C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80084AE0 00081A40 C0 21 00 08 */ lfs f1, 8(r1) -/* 80084AE4 00081A44 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80084AE8 00081A48 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80084AEC 00081A4C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80084AF0 00081A50 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80084AF4 00081A54 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80084AF8 00081A58 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80084AFC 00081A5C D0 01 00 18 */ stfs f0, 0x18(r1) -lbl_80084B00: -/* 80084B00 00081A60 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80084B04 00081A64 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80084B08 00081A68 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80084B0C 00081A6C D0 1E 00 04 */ stfs f0, 4(r30) -/* 80084B10 00081A70 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80084B14 00081A74 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80084B18 00081A78 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80084B1C 00081A7C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80084B20 00081A80 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80084B24 00081A84 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80084B28 00081A88 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80084B2C 00081A8C 7C 08 03 A6 */ mtlr r0 -/* 80084B30 00081A90 38 21 00 40 */ addi r1, r1, 0x40 -/* 80084B34 00081A94 4E 80 00 20 */ blr - -.global TweenVelocity__11CBallCameraFRC9CVector3fRC9CVector3fff -TweenVelocity__11CBallCameraFRC9CVector3fRC9CVector3fff: -/* 80084B38 00081A98 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80084B3C 00081A9C 7C 08 02 A6 */ mflr r0 -/* 80084B40 00081AA0 90 01 00 94 */ stw r0, 0x94(r1) -/* 80084B44 00081AA4 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80084B48 00081AA8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80084B4C 00081AAC DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80084B50 00081AB0 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80084B54 00081AB4 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80084B58 00081AB8 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80084B5C 00081ABC DB 81 00 50 */ stfd f28, 0x50(r1) -/* 80084B60 00081AC0 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 80084B64 00081AC4 DB 61 00 40 */ stfd f27, 0x40(r1) -/* 80084B68 00081AC8 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 -/* 80084B6C 00081ACC DB 41 00 30 */ stfd f26, 0x30(r1) -/* 80084B70 00081AD0 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 -/* 80084B74 00081AD4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80084B78 00081AD8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80084B7C 00081ADC 7C DF 33 78 */ mr r31, r6 -/* 80084B80 00081AE0 7C 7E 1B 78 */ mr r30, r3 -/* 80084B84 00081AE4 C3 C5 00 00 */ lfs f30, 0(r5) -/* 80084B88 00081AE8 FF 40 08 90 */ fmr f26, f1 -/* 80084B8C 00081AEC C0 06 00 00 */ lfs f0, 0(r6) -/* 80084B90 00081AF0 FF 60 10 90 */ fmr f27, f2 -/* 80084B94 00081AF4 C3 A5 00 04 */ lfs f29, 4(r5) -/* 80084B98 00081AF8 38 61 00 14 */ addi r3, r1, 0x14 -/* 80084B9C 00081AFC C0 46 00 04 */ lfs f2, 4(r6) -/* 80084BA0 00081B00 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80084BA4 00081B04 C3 85 00 08 */ lfs f28, 8(r5) -/* 80084BA8 00081B08 C0 26 00 08 */ lfs f1, 8(r6) -/* 80084BAC 00081B0C EC 42 E8 28 */ fsubs f2, f2, f29 -/* 80084BB0 00081B10 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 80084BB4 00081B14 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80084BB8 00081B18 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80084BBC 00081B1C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80084BC0 00081B20 48 28 FB 39 */ bl CanBeNormalized__9CVector3fCFv -/* 80084BC4 00081B24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80084BC8 00081B28 41 82 00 80 */ beq lbl_80084C48 -/* 80084BCC 00081B2C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80084BD0 00081B30 48 28 FC E9 */ bl Magnitude__9CVector3fCFv -/* 80084BD4 00081B34 EC 5A 06 F2 */ fmuls f2, f26, f27 -/* 80084BD8 00081B38 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80084BDC 00081B3C EF E1 10 24 */ fdivs f31, f1, f2 -/* 80084BE0 00081B40 FC 20 FA 10 */ fabs f1, f31 -/* 80084BE4 00081B44 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80084BE8 00081B48 40 81 00 14 */ ble lbl_80084BFC -/* 80084BEC 00081B4C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80084BF0 00081B50 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80084BF4 00081B54 FC 1F 00 6E */ fsel f0, f31, f1, f0 -/* 80084BF8 00081B58 EF E1 00 32 */ fmuls f31, f1, f0 -lbl_80084BFC: -/* 80084BFC 00081B5C 38 61 00 08 */ addi r3, r1, 8 -/* 80084C00 00081B60 38 81 00 14 */ addi r4, r1, 0x14 -/* 80084C04 00081B64 48 28 FC 4D */ bl AsNormalized__9CVector3fCFv -/* 80084C08 00081B68 C0 41 00 08 */ lfs f2, 8(r1) -/* 80084C0C 00081B6C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80084C10 00081B70 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80084C14 00081B74 EC 5A 00 B2 */ fmuls f2, f26, f2 -/* 80084C18 00081B78 EC 3A 00 72 */ fmuls f1, f26, f1 -/* 80084C1C 00081B7C EC 1A 00 32 */ fmuls f0, f26, f0 -/* 80084C20 00081B80 EC 5B 00 B2 */ fmuls f2, f27, f2 -/* 80084C24 00081B84 EC 3B 00 72 */ fmuls f1, f27, f1 -/* 80084C28 00081B88 EC 1B 00 32 */ fmuls f0, f27, f0 -/* 80084C2C 00081B8C EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80084C30 00081B90 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80084C34 00081B94 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80084C38 00081B98 EC 5E 10 2A */ fadds f2, f30, f2 -/* 80084C3C 00081B9C EC 3D 08 2A */ fadds f1, f29, f1 -/* 80084C40 00081BA0 EC 1C 00 2A */ fadds f0, f28, f0 -/* 80084C44 00081BA4 48 00 00 10 */ b lbl_80084C54 -lbl_80084C48: -/* 80084C48 00081BA8 C0 5F 00 00 */ lfs f2, 0(r31) -/* 80084C4C 00081BAC C0 3F 00 04 */ lfs f1, 4(r31) -/* 80084C50 00081BB0 C0 1F 00 08 */ lfs f0, 8(r31) -lbl_80084C54: -/* 80084C54 00081BB4 D0 5E 00 00 */ stfs f2, 0(r30) -/* 80084C58 00081BB8 D0 3E 00 04 */ stfs f1, 4(r30) -/* 80084C5C 00081BBC D0 1E 00 08 */ stfs f0, 8(r30) -/* 80084C60 00081BC0 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80084C64 00081BC4 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80084C68 00081BC8 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80084C6C 00081BCC CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80084C70 00081BD0 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80084C74 00081BD4 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80084C78 00081BD8 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 80084C7C 00081BDC CB 81 00 50 */ lfd f28, 0x50(r1) -/* 80084C80 00081BE0 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 -/* 80084C84 00081BE4 CB 61 00 40 */ lfd f27, 0x40(r1) -/* 80084C88 00081BE8 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 -/* 80084C8C 00081BEC CB 41 00 30 */ lfd f26, 0x30(r1) -/* 80084C90 00081BF0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80084C94 00081BF4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80084C98 00081BF8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80084C9C 00081BFC 7C 08 03 A6 */ mtlr r0 -/* 80084CA0 00081C00 38 21 00 90 */ addi r1, r1, 0x90 -/* 80084CA4 00081C04 4E 80 00 20 */ blr - -.global UpdateUsingPathCameras__11CBallCameraFfR13CStateManager -UpdateUsingPathCameras__11CBallCameraFfR13CStateManager: -/* 80084CA8 00081C08 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80084CAC 00081C0C 7C 08 02 A6 */ mflr r0 -/* 80084CB0 00081C10 90 01 00 24 */ stw r0, 0x24(r1) -/* 80084CB4 00081C14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80084CB8 00081C18 7C 9F 23 78 */ mr r31, r4 -/* 80084CBC 00081C1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80084CC0 00081C20 7C 7E 1B 78 */ mr r30, r3 -/* 80084CC4 00081C24 38 61 00 08 */ addi r3, r1, 8 -/* 80084CC8 00081C28 80 84 08 70 */ lwz r4, 0x870(r4) -/* 80084CCC 00081C2C 4B F8 45 F1 */ bl GetPathCameraId__14CCameraManagerCFv -/* 80084CD0 00081C30 A0 01 00 08 */ lhz r0, 8(r1) -/* 80084CD4 00081C34 7F E3 FB 78 */ mr r3, r31 -/* 80084CD8 00081C38 38 81 00 0C */ addi r4, r1, 0xc -/* 80084CDC 00081C3C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80084CE0 00081C40 4B FC 78 95 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80084CE4 00081C44 7C 64 1B 78 */ mr r4, r3 -/* 80084CE8 00081C48 38 61 00 10 */ addi r3, r1, 0x10 -/* 80084CEC 00081C4C 48 02 80 E9 */ bl "__ct__25TCastToPtr<11CPathCamera>FP7CEntity" -/* 80084CF0 00081C50 80 83 00 04 */ lwz r4, 4(r3) -/* 80084CF4 00081C54 28 04 00 00 */ cmplwi r4, 0 -/* 80084CF8 00081C58 41 82 00 24 */ beq lbl_80084D1C -/* 80084CFC 00081C5C 7F C3 F3 78 */ mr r3, r30 -/* 80084D00 00081C60 7F E5 FB 78 */ mr r5, r31 -/* 80084D04 00081C64 38 84 00 34 */ addi r4, r4, 0x34 -/* 80084D08 00081C68 48 00 7C F1 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 80084D0C 00081C6C 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 80084D10 00081C70 38 60 00 01 */ li r3, 1 -/* 80084D14 00081C74 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80084D18 00081C78 98 1E 01 8D */ stb r0, 0x18d(r30) -lbl_80084D1C: -/* 80084D1C 00081C7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80084D20 00081C80 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80084D24 00081C84 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80084D28 00081C88 7C 08 03 A6 */ mtlr r0 -/* 80084D2C 00081C8C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80084D30 00081C90 4E 80 00 20 */ blr - -.global UpdateUsingSpindleCameras__11CBallCameraFfR13CStateManager -UpdateUsingSpindleCameras__11CBallCameraFfR13CStateManager: -/* 80084D34 00081C94 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80084D38 00081C98 7C 08 02 A6 */ mflr r0 -/* 80084D3C 00081C9C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80084D40 00081CA0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80084D44 00081CA4 7C 9F 23 78 */ mr r31, r4 -/* 80084D48 00081CA8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80084D4C 00081CAC 7C 7E 1B 78 */ mr r30, r3 -/* 80084D50 00081CB0 38 61 00 08 */ addi r3, r1, 8 -/* 80084D54 00081CB4 80 84 08 70 */ lwz r4, 0x870(r4) -/* 80084D58 00081CB8 4B F8 44 AD */ bl GetSpindleCameraId__14CCameraManagerCFv -/* 80084D5C 00081CBC A0 01 00 08 */ lhz r0, 8(r1) -/* 80084D60 00081CC0 7F E3 FB 78 */ mr r3, r31 -/* 80084D64 00081CC4 38 81 00 0C */ addi r4, r1, 0xc -/* 80084D68 00081CC8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80084D6C 00081CCC 4B FC 78 09 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80084D70 00081CD0 7C 64 1B 78 */ mr r4, r3 -/* 80084D74 00081CD4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80084D78 00081CD8 48 02 11 AD */ bl "__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity" -/* 80084D7C 00081CDC 80 83 00 04 */ lwz r4, 4(r3) -/* 80084D80 00081CE0 28 04 00 00 */ cmplwi r4, 0 -/* 80084D84 00081CE4 41 82 00 24 */ beq lbl_80084DA8 -/* 80084D88 00081CE8 7F C3 F3 78 */ mr r3, r30 -/* 80084D8C 00081CEC 7F E5 FB 78 */ mr r5, r31 -/* 80084D90 00081CF0 38 84 00 34 */ addi r4, r4, 0x34 -/* 80084D94 00081CF4 48 00 7C 65 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 80084D98 00081CF8 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 80084D9C 00081CFC 38 60 00 01 */ li r3, 1 -/* 80084DA0 00081D00 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80084DA4 00081D04 98 1E 01 8D */ stb r0, 0x18d(r30) -lbl_80084DA8: -/* 80084DA8 00081D08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80084DAC 00081D0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80084DB0 00081D10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80084DB4 00081D14 7C 08 03 A6 */ mtlr r0 -/* 80084DB8 00081D18 38 21 00 20 */ addi r1, r1, 0x20 -/* 80084DBC 00081D1C 4E 80 00 20 */ blr - -.global UpdateUsingTransitions__11CBallCameraFfR13CStateManager -UpdateUsingTransitions__11CBallCameraFfR13CStateManager: -/* 80084DC0 00081D20 94 21 FC 60 */ stwu r1, -0x3a0(r1) -/* 80084DC4 00081D24 7C 08 02 A6 */ mflr r0 -/* 80084DC8 00081D28 90 01 03 A4 */ stw r0, 0x3a4(r1) -/* 80084DCC 00081D2C DB E1 03 90 */ stfd f31, 0x390(r1) -/* 80084DD0 00081D30 F3 E1 03 98 */ psq_st f31, 920(r1), 0, qr0 -/* 80084DD4 00081D34 DB C1 03 80 */ stfd f30, 0x380(r1) -/* 80084DD8 00081D38 F3 C1 03 88 */ psq_st f30, 904(r1), 0, qr0 -/* 80084DDC 00081D3C DB A1 03 70 */ stfd f29, 0x370(r1) -/* 80084DE0 00081D40 F3 A1 03 78 */ psq_st f29, 888(r1), 0, qr0 -/* 80084DE4 00081D44 DB 81 03 60 */ stfd f28, 0x360(r1) -/* 80084DE8 00081D48 F3 81 03 68 */ psq_st f28, 872(r1), 0, qr0 -/* 80084DEC 00081D4C DB 61 03 50 */ stfd f27, 0x350(r1) -/* 80084DF0 00081D50 F3 61 03 58 */ psq_st f27, 856(r1), 0, qr0 -/* 80084DF4 00081D54 DB 41 03 40 */ stfd f26, 0x340(r1) -/* 80084DF8 00081D58 F3 41 03 48 */ psq_st f26, 840(r1), 0, qr0 -/* 80084DFC 00081D5C DB 21 03 30 */ stfd f25, 0x330(r1) -/* 80084E00 00081D60 F3 21 03 38 */ psq_st f25, 824(r1), 0, qr0 -/* 80084E04 00081D64 DB 01 03 20 */ stfd f24, 0x320(r1) -/* 80084E08 00081D68 F3 01 03 28 */ psq_st f24, 808(r1), 0, qr0 -/* 80084E0C 00081D6C DA E1 03 10 */ stfd f23, 0x310(r1) -/* 80084E10 00081D70 F2 E1 03 18 */ psq_st f23, 792(r1), 0, qr0 -/* 80084E14 00081D74 DA C1 03 00 */ stfd f22, 0x300(r1) -/* 80084E18 00081D78 F2 C1 03 08 */ psq_st f22, 776(r1), 0, qr0 -/* 80084E1C 00081D7C 93 E1 02 FC */ stw r31, 0x2fc(r1) -/* 80084E20 00081D80 93 C1 02 F8 */ stw r30, 0x2f8(r1) -/* 80084E24 00081D84 93 A1 02 F4 */ stw r29, 0x2f4(r1) -/* 80084E28 00081D88 93 81 02 F0 */ stw r28, 0x2f0(r1) -/* 80084E2C 00081D8C 7C 7D 1B 78 */ mr r29, r3 -/* 80084E30 00081D90 FF E0 08 90 */ fmr f31, f1 -/* 80084E34 00081D94 80 03 04 00 */ lwz r0, 0x400(r3) -/* 80084E38 00081D98 7C 9E 23 78 */ mr r30, r4 -/* 80084E3C 00081D9C 2C 00 00 05 */ cmpwi r0, 5 -/* 80084E40 00081DA0 40 82 00 0C */ bne lbl_80084E4C -/* 80084E44 00081DA4 48 1B 98 85 */ bl UpdateTransitionFromBallCamera__11CBallCameraFR13CStateManager -/* 80084E48 00081DA8 48 00 09 F0 */ b lbl_80085838 -lbl_80084E4C: -/* 80084E4C 00081DAC 88 1D 01 8D */ lbz r0, 0x18d(r29) -/* 80084E50 00081DB0 38 60 00 00 */ li r3, 0 -/* 80084E54 00081DB4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80084E58 00081DB8 38 61 01 10 */ addi r3, r1, 0x110 -/* 80084E5C 00081DBC 98 1D 01 8D */ stb r0, 0x18d(r29) -/* 80084E60 00081DC0 83 FE 08 4C */ lwz r31, 0x84c(r30) -/* 80084E64 00081DC4 7F E4 FB 78 */ mr r4, r31 -/* 80084E68 00081DC8 48 1F FE E1 */ bl GetBallPosition__7CPlayerCFv -/* 80084E6C 00081DCC C3 61 01 10 */ lfs f27, 0x110(r1) -/* 80084E70 00081DD0 7F E4 FB 78 */ mr r4, r31 -/* 80084E74 00081DD4 C3 41 01 14 */ lfs f26, 0x114(r1) -/* 80084E78 00081DD8 38 61 01 04 */ addi r3, r1, 0x104 -/* 80084E7C 00081DDC C2 C1 01 18 */ lfs f22, 0x118(r1) -/* 80084E80 00081DE0 48 1F FE FD */ bl GetEyePosition__7CPlayerCFv -/* 80084E84 00081DE4 C0 1D 01 BC */ lfs f0, 0x1bc(r29) -/* 80084E88 00081DE8 38 9D 00 34 */ addi r4, r29, 0x34 -/* 80084E8C 00081DEC C3 21 01 04 */ lfs f25, 0x104(r1) -/* 80084E90 00081DF0 38 61 02 B8 */ addi r3, r1, 0x2b8 -/* 80084E94 00081DF4 EE D6 00 2A */ fadds f22, f22, f0 -/* 80084E98 00081DF8 C3 01 01 08 */ lfs f24, 0x108(r1) -/* 80084E9C 00081DFC C2 E1 01 0C */ lfs f23, 0x10c(r1) -/* 80084EA0 00081E00 C3 9D 00 58 */ lfs f28, 0x58(r29) -/* 80084EA4 00081E04 C3 BD 00 48 */ lfs f29, 0x48(r29) -/* 80084EA8 00081E08 C3 DD 00 38 */ lfs f30, 0x38(r29) -/* 80084EAC 00081E0C 48 28 DC C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80084EB0 00081E10 80 1D 04 00 */ lwz r0, 0x400(r29) -/* 80084EB4 00081E14 2C 00 00 05 */ cmpwi r0, 5 -/* 80084EB8 00081E18 41 82 04 80 */ beq lbl_80085338 -/* 80084EBC 00081E1C 40 80 09 5C */ bge lbl_80085818 -/* 80084EC0 00081E20 2C 00 00 04 */ cmpwi r0, 4 -/* 80084EC4 00081E24 40 80 00 08 */ bge lbl_80084ECC -/* 80084EC8 00081E28 48 00 09 50 */ b lbl_80085818 -lbl_80084ECC: -/* 80084ECC 00081E2C C0 1D 01 94 */ lfs f0, 0x194(r29) -/* 80084ED0 00081E30 FC 20 F8 90 */ fmr f1, f31 -/* 80084ED4 00081E34 7F A3 EB 78 */ mr r3, r29 -/* 80084ED8 00081E38 7F C6 F3 78 */ mr r6, r30 -/* 80084EDC 00081E3C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80084EE0 00081E40 38 81 00 24 */ addi r4, r1, 0x24 -/* 80084EE4 00081E44 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80084EE8 00081E48 C0 1D 01 A0 */ lfs f0, 0x1a0(r29) -/* 80084EEC 00081E4C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80084EF0 00081E50 48 00 47 DD */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -/* 80084EF4 00081E54 C0 1D 01 94 */ lfs f0, 0x194(r29) -/* 80084EF8 00081E58 7F C4 F3 78 */ mr r4, r30 -/* 80084EFC 00081E5C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80084F00 00081E60 3B 80 00 00 */ li r28, 0 -/* 80084F04 00081E64 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80084F08 00081E68 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80084F0C 00081E6C C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80084F10 00081E70 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80084F14 00081E74 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 80084F18 00081E78 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 80084F1C 00081E7C D0 41 01 00 */ stfs f2, 0x100(r1) -/* 80084F20 00081E80 4B FF E2 1D */ bl IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager -/* 80084F24 00081E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80084F28 00081E88 40 82 00 10 */ bne lbl_80084F38 -/* 80084F2C 00081E8C 80 1D 04 78 */ lwz r0, 0x478(r29) -/* 80084F30 00081E90 2C 00 00 02 */ cmpwi r0, 2 -/* 80084F34 00081E94 40 81 00 08 */ ble lbl_80084F3C -lbl_80084F38: -/* 80084F38 00081E98 3B 80 00 01 */ li r28, 1 -lbl_80084F3C: -/* 80084F3C 00081E9C 81 3E 08 4C */ lwz r9, 0x84c(r30) -/* 80084F40 00081EA0 7F A4 EB 78 */ mr r4, r29 -/* 80084F44 00081EA4 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80084F48 00081EA8 7F C6 F3 78 */ mr r6, r30 -/* 80084F4C 00081EAC 81 09 05 0C */ lwz r8, 0x50c(r9) -/* 80084F50 00081EB0 38 61 00 EC */ addi r3, r1, 0xec -/* 80084F54 00081EB4 80 09 05 10 */ lwz r0, 0x510(r9) -/* 80084F58 00081EB8 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 80084F5C 00081EBC C0 41 00 24 */ lfs f2, 0x24(r1) -/* 80084F60 00081EC0 57 87 06 3E */ clrlwi r7, r28, 0x18 -/* 80084F64 00081EC4 91 01 00 E0 */ stw r8, 0xe0(r1) -/* 80084F68 00081EC8 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80084F6C 00081ECC 80 09 05 14 */ lwz r0, 0x514(r9) -/* 80084F70 00081ED0 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 80084F74 00081ED4 48 00 4D 41 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -/* 80084F78 00081ED8 C0 41 00 EC */ lfs f2, 0xec(r1) -/* 80084F7C 00081EDC C0 21 00 F0 */ lfs f1, 0xf0(r1) -/* 80084F80 00081EE0 C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 80084F84 00081EE4 EF 62 C8 28 */ fsubs f27, f2, f25 -/* 80084F88 00081EE8 C0 62 89 B0 */ lfs f3, lbl_805AA6D0@sda21(r2) -/* 80084F8C 00081EEC EF 41 C0 28 */ fsubs f26, f1, f24 -/* 80084F90 00081EF0 C0 3F 05 78 */ lfs f1, 0x578(r31) -/* 80084F94 00081EF4 EE C0 B8 28 */ fsubs f22, f0, f23 -/* 80084F98 00081EF8 FC 03 08 00 */ fcmpu cr0, f3, f1 -/* 80084F9C 00081EFC 40 82 00 08 */ bne lbl_80084FA4 -/* 80084FA0 00081F00 48 00 00 24 */ b lbl_80084FC4 -lbl_80084FA4: -/* 80084FA4 00081F04 C0 1F 05 74 */ lfs f0, 0x574(r31) -/* 80084FA8 00081F08 38 81 00 0C */ addi r4, r1, 0xc -/* 80084FAC 00081F0C 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 -/* 80084FB0 00081F10 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 -/* 80084FB4 00081F14 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80084FB8 00081F18 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80084FBC 00081F1C 4B F8 72 F9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80084FC0 00081F20 C0 63 00 00 */ lfs f3, 0(r3) -lbl_80084FC4: -/* 80084FC4 00081F24 EC 43 06 F2 */ fmuls f2, f3, f27 -/* 80084FC8 00081F28 7F C3 F3 78 */ mr r3, r30 -/* 80084FCC 00081F2C EC 23 06 B2 */ fmuls f1, f3, f26 -/* 80084FD0 00081F30 38 81 00 08 */ addi r4, r1, 8 -/* 80084FD4 00081F34 EC 03 05 B2 */ fmuls f0, f3, f22 -/* 80084FD8 00081F38 EC 59 10 2A */ fadds f2, f25, f2 -/* 80084FDC 00081F3C EC 38 08 2A */ fadds f1, f24, f1 -/* 80084FE0 00081F40 EC 17 00 2A */ fadds f0, f23, f0 -/* 80084FE4 00081F44 D0 41 01 8C */ stfs f2, 0x18c(r1) -/* 80084FE8 00081F48 D0 21 01 90 */ stfs f1, 0x190(r1) -/* 80084FEC 00081F4C D0 01 01 94 */ stfs f0, 0x194(r1) -/* 80084FF0 00081F50 A0 1D 04 6C */ lhz r0, 0x46c(r29) -/* 80084FF4 00081F54 B0 01 00 08 */ sth r0, 8(r1) -/* 80084FF8 00081F58 4B FC 75 7D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80084FFC 00081F5C 7C 64 1B 78 */ mr r4, r3 -/* 80085000 00081F60 38 61 00 2C */ addi r3, r1, 0x2c -/* 80085004 00081F64 48 02 76 E1 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80085008 00081F68 80 63 00 04 */ lwz r3, 4(r3) -/* 8008500C 00081F6C 28 03 00 00 */ cmplwi r3, 0 -/* 80085010 00081F70 41 82 02 C0 */ beq lbl_800852D0 -/* 80085014 00081F74 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80085018 00081F78 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 8008501C 00081F7C C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80085020 00081F80 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80085024 00081F84 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 80085028 00081F88 D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 8008502C 00081F8C D0 41 00 DC */ stfs f2, 0xdc(r1) -/* 80085030 00081F90 4B FC DE 5D */ bl SetTranslation__6CActorFRC9CVector3f -/* 80085034 00081F94 80 A1 01 8C */ lwz r5, 0x18c(r1) -/* 80085038 00081F98 7F A4 EB 78 */ mr r4, r29 -/* 8008503C 00081F9C 80 E1 01 90 */ lwz r7, 0x190(r1) -/* 80085040 00081FA0 7F C6 F3 78 */ mr r6, r30 -/* 80085044 00081FA4 80 01 01 94 */ lwz r0, 0x194(r1) -/* 80085048 00081FA8 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8008504C 00081FAC 90 A1 00 BC */ stw r5, 0xbc(r1) -/* 80085050 00081FB0 38 A1 00 BC */ addi r5, r1, 0xbc -/* 80085054 00081FB4 90 E1 00 C0 */ stw r7, 0xc0(r1) -/* 80085058 00081FB8 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8008505C 00081FBC 4B FF F8 6D */ bl ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager -/* 80085060 00081FC0 C0 61 00 C8 */ lfs f3, 0xc8(r1) -/* 80085064 00081FC4 FC 20 F8 90 */ fmr f1, f31 -/* 80085068 00081FC8 C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 8008506C 00081FCC 7F A4 EB 78 */ mr r4, r29 -/* 80085070 00081FD0 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 80085074 00081FD4 7F C6 F3 78 */ mr r6, r30 -/* 80085078 00081FD8 D0 61 01 8C */ stfs f3, 0x18c(r1) -/* 8008507C 00081FDC 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80085080 00081FE0 38 A1 01 8C */ addi r5, r1, 0x18c -/* 80085084 00081FE4 D0 41 01 90 */ stfs f2, 0x190(r1) -/* 80085088 00081FE8 D0 01 01 94 */ stfs f0, 0x194(r1) -/* 8008508C 00081FEC 4B FF F4 DD */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager -/* 80085090 00081FF0 C0 A1 00 B0 */ lfs f5, 0xb0(r1) -/* 80085094 00081FF4 38 61 01 80 */ addi r3, r1, 0x180 -/* 80085098 00081FF8 C0 81 00 B4 */ lfs f4, 0xb4(r1) -/* 8008509C 00081FFC C0 61 00 B8 */ lfs f3, 0xb8(r1) -/* 800850A0 00082000 D0 A1 01 8C */ stfs f5, 0x18c(r1) -/* 800850A4 00082004 D0 81 01 90 */ stfs f4, 0x190(r1) -/* 800850A8 00082008 D0 61 01 94 */ stfs f3, 0x194(r1) -/* 800850AC 0008200C C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 800850B0 00082010 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 800850B4 00082014 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 800850B8 00082018 D0 01 01 80 */ stfs f0, 0x180(r1) -/* 800850BC 0008201C D0 21 01 84 */ stfs f1, 0x184(r1) -/* 800850C0 00082020 D0 41 01 88 */ stfs f2, 0x188(r1) -/* 800850C4 00082024 C0 5D 01 DC */ lfs f2, 0x1dc(r29) -/* 800850C8 00082028 C0 3D 01 E0 */ lfs f1, 0x1e0(r29) -/* 800850CC 0008202C C0 1D 01 D8 */ lfs f0, 0x1d8(r29) -/* 800850D0 00082030 EC 42 20 28 */ fsubs f2, f2, f4 -/* 800850D4 00082034 EC 21 18 28 */ fsubs f1, f1, f3 -/* 800850D8 00082038 EC 00 28 28 */ fsubs f0, f0, f5 -/* 800850DC 0008203C D0 41 01 84 */ stfs f2, 0x184(r1) -/* 800850E0 00082040 D0 01 01 80 */ stfs f0, 0x180(r1) -/* 800850E4 00082044 D0 21 01 88 */ stfs f1, 0x188(r1) -/* 800850E8 00082048 48 28 F6 11 */ bl CanBeNormalized__9CVector3fCFv -/* 800850EC 0008204C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800850F0 00082050 41 82 01 E0 */ beq lbl_800852D0 -/* 800850F4 00082054 38 61 01 80 */ addi r3, r1, 0x180 -/* 800850F8 00082058 48 28 F8 01 */ bl Normalize__9CVector3fFv -/* 800850FC 0008205C C0 01 01 84 */ lfs f0, 0x184(r1) -/* 80085100 00082060 C0 41 01 80 */ lfs f2, 0x180(r1) -/* 80085104 00082064 EC 3D 00 32 */ fmuls f1, f29, f0 -/* 80085108 00082068 C0 61 01 88 */ lfs f3, 0x188(r1) -/* 8008510C 0008206C C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80085110 00082070 EC 3E 08 BA */ fmadds f1, f30, f2, f1 -/* 80085114 00082074 EC 5C 08 FA */ fmadds f2, f28, f3, f1 -/* 80085118 00082078 FC 20 12 10 */ fabs f1, f2 -/* 8008511C 0008207C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80085120 00082080 40 81 00 14 */ ble lbl_80085134 -/* 80085124 00082084 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80085128 00082088 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 8008512C 0008208C FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 80085130 00082090 EC 41 00 32 */ fmuls f2, f1, f0 -lbl_80085134: -/* 80085134 00082094 FC 00 12 10 */ fabs f0, f2 -/* 80085138 00082098 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 8008513C 0008209C C0 3F 05 78 */ lfs f1, 0x578(r31) -/* 80085140 000820A0 FC 02 08 00 */ fcmpu cr0, f2, f1 -/* 80085144 000820A4 FE C0 00 18 */ frsp f22, f0 -/* 80085148 000820A8 40 82 00 08 */ bne lbl_80085150 -/* 8008514C 000820AC 48 00 00 24 */ b lbl_80085170 -lbl_80085150: -/* 80085150 000820B0 C0 1F 05 74 */ lfs f0, 0x574(r31) -/* 80085154 000820B4 38 81 00 1C */ addi r4, r1, 0x1c -/* 80085158 000820B8 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 -/* 8008515C 000820BC 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 -/* 80085160 000820C0 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80085164 000820C4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80085168 000820C8 4B F8 71 4D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8008516C 000820CC C0 43 00 00 */ lfs f2, 0(r3) -lbl_80085170: -/* 80085170 000820D0 C0 22 89 DC */ lfs f1, lbl_805AA6FC@sda21(r2) -/* 80085174 000820D4 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80085178 000820D8 EE E1 00 B2 */ fmuls f23, f1, f2 -/* 8008517C 000820DC FC 20 BA 10 */ fabs f1, f23 -/* 80085180 000820E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80085184 000820E4 40 81 00 14 */ ble lbl_80085198 -/* 80085188 000820E8 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 8008518C 000820EC C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80085190 000820F0 FC 17 00 6E */ fsel f0, f23, f1, f0 -/* 80085194 000820F4 EE E1 00 32 */ fmuls f23, f1, f0 -lbl_80085198: -/* 80085198 000820F8 FC 20 B0 90 */ fmr f1, f22 -/* 8008519C 000820FC 48 30 FA 91 */ bl acos -/* 800851A0 00082100 FC 20 08 18 */ frsp f1, f1 -/* 800851A4 00082104 C0 02 8A 1C */ lfs f0, lbl_805AA73C@sda21(r2) -/* 800851A8 00082108 FC 16 00 40 */ fcmpo cr0, f22, f0 -/* 800851AC 0008210C EC 17 00 72 */ fmuls f0, f23, f1 -/* 800851B0 00082110 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800851B4 00082114 40 80 00 CC */ bge lbl_80085280 -/* 800851B8 00082118 C0 41 02 BC */ lfs f2, 0x2bc(r1) -/* 800851BC 0008211C 38 61 00 7C */ addi r3, r1, 0x7c -/* 800851C0 00082120 C0 21 02 CC */ lfs f1, 0x2cc(r1) -/* 800851C4 00082124 38 81 01 80 */ addi r4, r1, 0x180 -/* 800851C8 00082128 C0 01 02 DC */ lfs f0, 0x2dc(r1) -/* 800851CC 0008212C D0 41 00 88 */ stfs f2, 0x88(r1) -/* 800851D0 00082130 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 800851D4 00082134 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 800851D8 00082138 48 28 EB F9 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 800851DC 0008213C 7C 7F 1B 78 */ mr r31, r3 -/* 800851E0 00082140 38 61 00 94 */ addi r3, r1, 0x94 -/* 800851E4 00082144 38 81 00 88 */ addi r4, r1, 0x88 -/* 800851E8 00082148 48 28 EB E9 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 800851EC 0008214C 7C 64 1B 78 */ mr r4, r3 -/* 800851F0 00082150 7F E5 FB 78 */ mr r5, r31 -/* 800851F4 00082154 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800851F8 00082158 38 C1 00 20 */ addi r6, r1, 0x20 -/* 800851FC 0008215C 48 28 C4 99 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 80085200 00082160 C0 61 00 A0 */ lfs f3, 0xa0(r1) -/* 80085204 00082164 38 61 02 28 */ addi r3, r1, 0x228 -/* 80085208 00082168 C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 8008520C 0008216C 38 81 02 B8 */ addi r4, r1, 0x2b8 -/* 80085210 00082170 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 80085214 00082174 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 80085218 00082178 D0 61 01 70 */ stfs f3, 0x170(r1) -/* 8008521C 0008217C D0 41 01 74 */ stfs f2, 0x174(r1) -/* 80085220 00082180 D0 21 01 78 */ stfs f1, 0x178(r1) -/* 80085224 00082184 D0 01 01 7C */ stfs f0, 0x17c(r1) -/* 80085228 00082188 48 28 DA 19 */ bl GetRotation__12CTransform4fCFv -/* 8008522C 0008218C 38 61 02 58 */ addi r3, r1, 0x258 -/* 80085230 00082190 38 81 01 70 */ addi r4, r1, 0x170 -/* 80085234 00082194 48 28 CD 85 */ bl BuildTransform4f__11CQuaternionCFv -/* 80085238 00082198 38 61 02 88 */ addi r3, r1, 0x288 -/* 8008523C 0008219C 38 81 02 58 */ addi r4, r1, 0x258 -/* 80085240 000821A0 38 A1 02 28 */ addi r5, r1, 0x228 -/* 80085244 000821A4 48 28 D7 0D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80085248 000821A8 38 7D 00 34 */ addi r3, r29, 0x34 -/* 8008524C 000821AC 38 81 02 88 */ addi r4, r1, 0x288 -/* 80085250 000821B0 48 28 D8 F1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80085254 000821B4 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80085258 000821B8 38 60 00 01 */ li r3, 1 -/* 8008525C 000821BC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80085260 000821C0 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80085264 000821C4 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80085268 000821C8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8008526C 000821CC 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80085270 000821D0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80085274 000821D4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80085278 000821D8 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8008527C 000821DC 48 00 00 54 */ b lbl_800852D0 -lbl_80085280: -/* 80085280 000821E0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80085284 000821E4 3C A0 80 5A */ lis r5, lbl_805A66F4@ha -/* 80085288 000821E8 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8008528C 000821EC 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l -/* 80085290 000821F0 38 61 01 F8 */ addi r3, r1, 0x1f8 -/* 80085294 000821F4 38 A1 01 80 */ addi r5, r1, 0x180 -/* 80085298 000821F8 48 28 E8 79 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8008529C 000821FC 38 7D 00 34 */ addi r3, r29, 0x34 -/* 800852A0 00082200 38 81 01 F8 */ addi r4, r1, 0x1f8 -/* 800852A4 00082204 48 28 D8 9D */ bl __as__12CTransform4fFRC12CTransform4f -/* 800852A8 00082208 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800852AC 0008220C 38 60 00 01 */ li r3, 1 -/* 800852B0 00082210 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800852B4 00082214 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800852B8 00082218 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800852BC 0008221C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800852C0 00082220 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800852C4 00082224 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800852C8 00082228 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800852CC 0008222C 98 1D 00 E4 */ stb r0, 0xe4(r29) -lbl_800852D0: -/* 800852D0 00082230 7F A4 EB 78 */ mr r4, r29 -/* 800852D4 00082234 38 61 01 C8 */ addi r3, r1, 0x1c8 -/* 800852D8 00082238 38 BD 00 34 */ addi r5, r29, 0x34 -/* 800852DC 0008223C 38 C1 02 B8 */ addi r6, r1, 0x2b8 -/* 800852E0 00082240 4B FD 5C E1 */ bl ValidateCameraTransform__11CGameCameraFRC12CTransform4fRC12CTransform4f -/* 800852E4 00082244 38 7D 00 34 */ addi r3, r29, 0x34 -/* 800852E8 00082248 38 81 01 C8 */ addi r4, r1, 0x1c8 -/* 800852EC 0008224C 48 28 D8 55 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800852F0 00082250 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800852F4 00082254 38 A0 00 01 */ li r5, 1 -/* 800852F8 00082258 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 800852FC 0008225C 7F A3 EB 78 */ mr r3, r29 -/* 80085300 00082260 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80085304 00082264 38 81 01 8C */ addi r4, r1, 0x18c -/* 80085308 00082268 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8008530C 0008226C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80085310 00082270 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80085314 00082274 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80085318 00082278 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8008531C 0008227C 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80085320 00082280 4B FC DB 6D */ bl SetTranslation__6CActorFRC9CVector3f -/* 80085324 00082284 7F A3 EB 78 */ mr r3, r29 -/* 80085328 00082288 7F C5 F3 78 */ mr r5, r30 -/* 8008532C 0008228C 38 81 01 8C */ addi r4, r1, 0x18c -/* 80085330 00082290 48 00 77 ED */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager -/* 80085334 00082294 48 00 04 E4 */ b lbl_80085818 -lbl_80085338: -/* 80085338 00082298 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 8008533C 0008229C C0 3F 05 78 */ lfs f1, 0x578(r31) -/* 80085340 000822A0 FC 02 08 00 */ fcmpu cr0, f2, f1 -/* 80085344 000822A4 40 82 00 08 */ bne lbl_8008534C -/* 80085348 000822A8 48 00 00 24 */ b lbl_8008536C -lbl_8008534C: -/* 8008534C 000822AC C0 1F 05 74 */ lfs f0, 0x574(r31) -/* 80085350 000822B0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80085354 000822B4 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 -/* 80085358 000822B8 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 -/* 8008535C 000822BC EC 00 08 24 */ fdivs f0, f0, f1 -/* 80085360 000822C0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80085364 000822C4 4B F8 6F 51 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80085368 000822C8 C0 43 00 00 */ lfs f2, 0(r3) -lbl_8008536C: -/* 8008536C 000822CC C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80085370 000822D0 C0 02 89 C0 */ lfs f0, lbl_805AA6E0@sda21(r2) -/* 80085374 000822D4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80085378 000822D8 FC 20 0A 10 */ fabs f1, f1 -/* 8008537C 000822DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80085380 000822E0 40 80 00 54 */ bge lbl_800853D4 -/* 80085384 000822E4 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80085388 000822E8 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8008538C 000822EC 48 28 D7 B5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80085390 000822F0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80085394 000822F4 38 A0 00 01 */ li r5, 1 -/* 80085398 000822F8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8008539C 000822FC 7F E4 FB 78 */ mr r4, r31 -/* 800853A0 00082300 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800853A4 00082304 38 61 00 70 */ addi r3, r1, 0x70 -/* 800853A8 00082308 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800853AC 0008230C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 800853B0 00082310 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800853B4 00082314 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800853B8 00082318 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 800853BC 0008231C 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800853C0 00082320 48 1F F9 BD */ bl GetEyePosition__7CPlayerCFv -/* 800853C4 00082324 7F A3 EB 78 */ mr r3, r29 -/* 800853C8 00082328 38 81 00 70 */ addi r4, r1, 0x70 -/* 800853CC 0008232C 4B FC DA C1 */ bl SetTranslation__6CActorFRC9CVector3f -/* 800853D0 00082330 48 00 04 68 */ b lbl_80085838 -lbl_800853D4: -/* 800853D4 00082334 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 800853D8 00082338 C0 3F 05 78 */ lfs f1, 0x578(r31) -/* 800853DC 0008233C FC 02 08 00 */ fcmpu cr0, f2, f1 -/* 800853E0 00082340 40 82 00 08 */ bne lbl_800853E8 -/* 800853E4 00082344 48 00 00 24 */ b lbl_80085408 -lbl_800853E8: -/* 800853E8 00082348 C0 1F 05 74 */ lfs f0, 0x574(r31) -/* 800853EC 0008234C 38 81 00 18 */ addi r4, r1, 0x18 -/* 800853F0 00082350 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 -/* 800853F4 00082354 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 -/* 800853F8 00082358 EC 00 08 24 */ fdivs f0, f0, f1 -/* 800853FC 0008235C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80085400 00082360 4B F8 6E B5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80085404 00082364 C0 43 00 00 */ lfs f2, 0(r3) -lbl_80085408: -/* 80085408 00082368 C0 22 8A 20 */ lfs f1, lbl_805AA740@sda21(r2) -/* 8008540C 0008236C C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80085410 00082370 EF 82 08 24 */ fdivs f28, f2, f1 -/* 80085414 00082374 FC 20 E2 10 */ fabs f1, f28 -/* 80085418 00082378 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008541C 0008237C 40 81 00 14 */ ble lbl_80085430 -/* 80085420 00082380 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80085424 00082384 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80085428 00082388 FC 1C 00 6E */ fsel f0, f28, f1, f0 -/* 8008542C 0008238C EF 81 00 32 */ fmuls f28, f1, f0 -lbl_80085430: -/* 80085430 00082390 C0 DD 00 60 */ lfs f6, 0x60(r29) -/* 80085434 00082394 38 61 01 58 */ addi r3, r1, 0x158 -/* 80085438 00082398 C0 BD 00 50 */ lfs f5, 0x50(r29) -/* 8008543C 0008239C C0 5D 00 40 */ lfs f2, 0x40(r29) -/* 80085440 000823A0 EC 66 B8 28 */ fsubs f3, f6, f23 -/* 80085444 000823A4 EC 85 C0 28 */ fsubs f4, f5, f24 -/* 80085448 000823A8 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008544C 000823AC EC 22 C8 28 */ fsubs f1, f2, f25 -/* 80085450 000823B0 D0 41 01 64 */ stfs f2, 0x164(r1) -/* 80085454 000823B4 D0 61 01 60 */ stfs f3, 0x160(r1) -/* 80085458 000823B8 D0 A1 01 68 */ stfs f5, 0x168(r1) -/* 8008545C 000823BC D0 C1 01 6C */ stfs f6, 0x16c(r1) -/* 80085460 000823C0 D0 21 01 58 */ stfs f1, 0x158(r1) -/* 80085464 000823C4 D0 81 01 5C */ stfs f4, 0x15c(r1) -/* 80085468 000823C8 D0 01 01 60 */ stfs f0, 0x160(r1) -/* 8008546C 000823CC 48 28 F2 8D */ bl CanBeNormalized__9CVector3fCFv -/* 80085470 000823D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80085474 000823D4 41 82 03 5C */ beq lbl_800857D0 -/* 80085478 000823D8 38 61 01 58 */ addi r3, r1, 0x158 -/* 8008547C 000823DC 48 28 F4 3D */ bl Magnitude__9CVector3fCFv -/* 80085480 000823E0 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 80085484 000823E4 FF A0 08 90 */ fmr f29, f1 -/* 80085488 000823E8 C0 7F 05 78 */ lfs f3, 0x578(r31) -/* 8008548C 000823EC FC 02 18 00 */ fcmpu cr0, f2, f3 -/* 80085490 000823F0 40 82 00 08 */ bne lbl_80085498 -/* 80085494 000823F4 48 00 00 24 */ b lbl_800854B8 -lbl_80085498: -/* 80085498 000823F8 C0 1F 05 74 */ lfs f0, 0x574(r31) -/* 8008549C 000823FC 38 81 00 14 */ addi r4, r1, 0x14 -/* 800854A0 00082400 38 6D 84 58 */ addi r3, r13, lbl_805A7018@sda21 -/* 800854A4 00082404 38 AD 84 5C */ addi r5, r13, lbl_805A701C@sda21 -/* 800854A8 00082408 EC 00 18 24 */ fdivs f0, f0, f3 -/* 800854AC 0008240C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800854B0 00082410 4B F8 6E 05 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800854B4 00082414 C0 43 00 00 */ lfs f2, 0(r3) -lbl_800854B8: -/* 800854B8 00082418 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 800854BC 0008241C C0 3D 01 90 */ lfs f1, 0x190(r29) -/* 800854C0 00082420 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800854C4 00082424 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800854C8 00082428 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 800854CC 0008242C 40 81 00 08 */ ble lbl_800854D4 -/* 800854D0 00082430 FF A0 00 90 */ fmr f29, f0 -lbl_800854D4: -/* 800854D4 00082434 C0 3D 00 60 */ lfs f1, 0x60(r29) -/* 800854D8 00082438 38 61 01 4C */ addi r3, r1, 0x14c -/* 800854DC 0008243C C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 800854E0 00082440 C0 9D 00 50 */ lfs f4, 0x50(r29) -/* 800854E4 00082444 C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 800854E8 00082448 EC A1 00 28 */ fsubs f5, f1, f0 -/* 800854EC 0008244C C0 5D 00 40 */ lfs f2, 0x40(r29) -/* 800854F0 00082450 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 800854F4 00082454 EC 64 18 28 */ fsubs f3, f4, f3 -/* 800854F8 00082458 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800854FC 0008245C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80085500 00082460 D0 A1 01 54 */ stfs f5, 0x154(r1) -/* 80085504 00082464 C3 C2 8A 14 */ lfs f30, lbl_805AA734@sda21(r2) -/* 80085508 00082468 D0 61 01 50 */ stfs f3, 0x150(r1) -/* 8008550C 0008246C D0 21 01 4C */ stfs f1, 0x14c(r1) -/* 80085510 00082470 D0 01 01 54 */ stfs f0, 0x154(r1) -/* 80085514 00082474 C0 1F 05 0C */ lfs f0, 0x50c(r31) -/* 80085518 00082478 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 8008551C 0008247C C0 1F 05 10 */ lfs f0, 0x510(r31) -/* 80085520 00082480 D0 01 01 44 */ stfs f0, 0x144(r1) -/* 80085524 00082484 C0 1F 05 14 */ lfs f0, 0x514(r31) -/* 80085528 00082488 D0 01 01 48 */ stfs f0, 0x148(r1) -/* 8008552C 0008248C 48 28 F1 CD */ bl CanBeNormalized__9CVector3fCFv -/* 80085530 00082490 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80085534 00082494 41 82 00 10 */ beq lbl_80085544 -/* 80085538 00082498 38 61 01 4C */ addi r3, r1, 0x14c -/* 8008553C 0008249C 48 28 F3 BD */ bl Normalize__9CVector3fFv -/* 80085540 000824A0 48 00 00 28 */ b lbl_80085568 -lbl_80085544: -/* 80085544 000824A4 C0 41 01 48 */ lfs f2, 0x148(r1) -/* 80085548 000824A8 C0 21 01 44 */ lfs f1, 0x144(r1) -/* 8008554C 000824AC C0 01 01 40 */ lfs f0, 0x140(r1) -/* 80085550 000824B0 FC 40 10 50 */ fneg f2, f2 -/* 80085554 000824B4 FC 20 08 50 */ fneg f1, f1 -/* 80085558 000824B8 FC 00 00 50 */ fneg f0, f0 -/* 8008555C 000824BC D0 41 01 54 */ stfs f2, 0x154(r1) -/* 80085560 000824C0 D0 01 01 4C */ stfs f0, 0x14c(r1) -/* 80085564 000824C4 D0 21 01 50 */ stfs f1, 0x150(r1) -lbl_80085568: -/* 80085568 000824C8 38 61 01 40 */ addi r3, r1, 0x140 -/* 8008556C 000824CC 48 28 F1 8D */ bl CanBeNormalized__9CVector3fCFv -/* 80085570 000824D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80085574 000824D4 41 82 00 74 */ beq lbl_800855E8 -/* 80085578 000824D8 38 61 01 40 */ addi r3, r1, 0x140 -/* 8008557C 000824DC 48 28 F3 7D */ bl Normalize__9CVector3fFv -/* 80085580 000824E0 C0 01 01 44 */ lfs f0, 0x144(r1) -/* 80085584 000824E4 C0 41 01 40 */ lfs f2, 0x140(r1) -/* 80085588 000824E8 FC 00 00 50 */ fneg f0, f0 -/* 8008558C 000824EC C0 21 01 50 */ lfs f1, 0x150(r1) -/* 80085590 000824F0 C0 81 01 48 */ lfs f4, 0x148(r1) -/* 80085594 000824F4 FC 40 10 50 */ fneg f2, f2 -/* 80085598 000824F8 C0 61 01 4C */ lfs f3, 0x14c(r1) -/* 8008559C 000824FC EC 21 00 32 */ fmuls f1, f1, f0 -/* 800855A0 00082500 FC 80 20 50 */ fneg f4, f4 -/* 800855A4 00082504 C0 A1 01 54 */ lfs f5, 0x154(r1) -/* 800855A8 00082508 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 800855AC 0008250C EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 800855B0 00082510 EC 25 09 3A */ fmadds f1, f5, f4, f1 -/* 800855B4 00082514 FC 40 0A 10 */ fabs f2, f1 -/* 800855B8 00082518 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800855BC 0008251C 40 81 00 14 */ ble lbl_800855D0 -/* 800855C0 00082520 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 800855C4 00082524 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 800855C8 00082528 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 800855CC 0008252C EC 22 00 32 */ fmuls f1, f2, f0 -lbl_800855D0: -/* 800855D0 00082530 48 30 F6 5D */ bl acos -/* 800855D4 00082534 FC 00 08 18 */ frsp f0, f1 -/* 800855D8 00082538 FC 00 02 10 */ fabs f0, f0 -/* 800855DC 0008253C FC 00 00 18 */ frsp f0, f0 -/* 800855E0 00082540 EC 00 07 32 */ fmuls f0, f0, f28 -/* 800855E4 00082544 EF C0 F8 24 */ fdivs f30, f0, f31 -lbl_800855E8: -/* 800855E8 00082548 FC 20 F0 90 */ fmr f1, f30 -/* 800855EC 0008254C C0 42 8A 24 */ lfs f2, lbl_805AA744@sda21(r2) -/* 800855F0 00082550 FC 60 F8 90 */ fmr f3, f31 -/* 800855F4 00082554 7F A4 EB 78 */ mr r4, r29 -/* 800855F8 00082558 7F E5 FB 78 */ mr r5, r31 -/* 800855FC 0008255C 7F C6 F3 78 */ mr r6, r30 -/* 80085600 00082560 38 61 00 64 */ addi r3, r1, 0x64 -/* 80085604 00082564 48 00 3D 71 */ bl ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager -/* 80085608 00082568 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8008560C 0008256C 38 61 01 34 */ addi r3, r1, 0x134 -/* 80085610 00082570 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 80085614 00082574 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80085618 00082578 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 8008561C 0008257C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80085620 00082580 D0 41 01 34 */ stfs f2, 0x134(r1) -/* 80085624 00082584 D0 21 01 38 */ stfs f1, 0x138(r1) -/* 80085628 00082588 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 8008562C 0008258C 48 28 F2 CD */ bl Normalize__9CVector3fFv -/* 80085630 00082590 C0 01 01 3C */ lfs f0, 0x13c(r1) -/* 80085634 00082594 7F A4 EB 78 */ mr r4, r29 -/* 80085638 00082598 C0 DD 00 60 */ lfs f6, 0x60(r29) -/* 8008563C 0008259C 7F C6 F3 78 */ mr r6, r30 -/* 80085640 000825A0 EC 5D 00 32 */ fmuls f2, f29, f0 -/* 80085644 000825A4 C0 61 01 38 */ lfs f3, 0x138(r1) -/* 80085648 000825A8 C0 21 01 34 */ lfs f1, 0x134(r1) -/* 8008564C 000825AC EC 06 B8 28 */ fsubs f0, f6, f23 -/* 80085650 000825B0 EC 7D 00 F2 */ fmuls f3, f29, f3 -/* 80085654 000825B4 C0 BD 00 50 */ lfs f5, 0x50(r29) -/* 80085658 000825B8 EC 3D 00 72 */ fmuls f1, f29, f1 -/* 8008565C 000825BC C0 9D 00 40 */ lfs f4, 0x40(r29) -/* 80085660 000825C0 EC 57 10 2A */ fadds f2, f23, f2 -/* 80085664 000825C4 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 80085668 000825C8 EC 78 18 2A */ fadds f3, f24, f3 -/* 8008566C 000825CC 38 61 00 4C */ addi r3, r1, 0x4c -/* 80085670 000825D0 EC 39 08 2A */ fadds f1, f25, f1 -/* 80085674 000825D4 D0 41 01 6C */ stfs f2, 0x16c(r1) -/* 80085678 000825D8 EC 00 BF 3A */ fmadds f0, f0, f28, f23 -/* 8008567C 000825DC 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80085680 000825E0 D0 61 01 68 */ stfs f3, 0x168(r1) -/* 80085684 000825E4 D0 21 01 64 */ stfs f1, 0x164(r1) -/* 80085688 000825E8 80 E1 01 68 */ lwz r7, 0x168(r1) -/* 8008568C 000825EC D0 01 01 6C */ stfs f0, 0x16c(r1) -/* 80085690 000825F0 81 01 01 64 */ lwz r8, 0x164(r1) -/* 80085694 000825F4 80 01 01 6C */ lwz r0, 0x16c(r1) -/* 80085698 000825F8 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8008569C 000825FC D0 C1 00 60 */ stfs f6, 0x60(r1) -/* 800856A0 00082600 91 01 00 40 */ stw r8, 0x40(r1) -/* 800856A4 00082604 90 E1 00 44 */ stw r7, 0x44(r1) -/* 800856A8 00082608 90 01 00 48 */ stw r0, 0x48(r1) -/* 800856AC 0008260C 4B FF F2 1D */ bl ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager -/* 800856B0 00082610 C0 61 00 4C */ lfs f3, 0x4c(r1) -/* 800856B4 00082614 FC 20 F8 90 */ fmr f1, f31 -/* 800856B8 00082618 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 800856BC 0008261C 7F A4 EB 78 */ mr r4, r29 -/* 800856C0 00082620 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800856C4 00082624 7F C6 F3 78 */ mr r6, r30 -/* 800856C8 00082628 D0 61 01 64 */ stfs f3, 0x164(r1) -/* 800856CC 0008262C 38 61 00 34 */ addi r3, r1, 0x34 -/* 800856D0 00082630 38 A1 01 64 */ addi r5, r1, 0x164 -/* 800856D4 00082634 D0 41 01 68 */ stfs f2, 0x168(r1) -/* 800856D8 00082638 D0 01 01 6C */ stfs f0, 0x16c(r1) -/* 800856DC 0008263C 4B FF EE 8D */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager -/* 800856E0 00082640 EC 17 B0 28 */ fsubs f0, f23, f22 -/* 800856E4 00082644 C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 800856E8 00082648 C0 81 00 38 */ lfs f4, 0x38(r1) -/* 800856EC 0008264C 38 61 01 1C */ addi r3, r1, 0x11c -/* 800856F0 00082650 C0 61 00 3C */ lfs f3, 0x3c(r1) -/* 800856F4 00082654 EC 3B 28 28 */ fsubs f1, f27, f5 -/* 800856F8 00082658 EC 5C B0 3A */ fmadds f2, f28, f0, f22 -/* 800856FC 0008265C D2 C1 01 30 */ stfs f22, 0x130(r1) -/* 80085700 00082660 EC DA 20 28 */ fsubs f6, f26, f4 -/* 80085704 00082664 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80085708 00082668 D0 A1 01 64 */ stfs f5, 0x164(r1) -/* 8008570C 0008266C EC A2 18 28 */ fsubs f5, f2, f3 -/* 80085710 00082670 D0 81 01 68 */ stfs f4, 0x168(r1) -/* 80085714 00082674 D0 A1 01 24 */ stfs f5, 0x124(r1) -/* 80085718 00082678 D0 61 01 6C */ stfs f3, 0x16c(r1) -/* 8008571C 0008267C D3 61 01 28 */ stfs f27, 0x128(r1) -/* 80085720 00082680 D3 41 01 2C */ stfs f26, 0x12c(r1) -/* 80085724 00082684 D0 41 01 30 */ stfs f2, 0x130(r1) -/* 80085728 00082688 D0 21 01 1C */ stfs f1, 0x11c(r1) -/* 8008572C 0008268C D0 C1 01 20 */ stfs f6, 0x120(r1) -/* 80085730 00082690 D0 01 01 24 */ stfs f0, 0x124(r1) -/* 80085734 00082694 48 28 EF C5 */ bl CanBeNormalized__9CVector3fCFv -/* 80085738 00082698 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008573C 0008269C 41 82 00 54 */ beq lbl_80085790 -/* 80085740 000826A0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 80085744 000826A4 38 61 01 98 */ addi r3, r1, 0x198 -/* 80085748 000826A8 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 8008574C 000826AC 38 A1 01 28 */ addi r5, r1, 0x128 -/* 80085750 000826B0 38 81 01 64 */ addi r4, r1, 0x164 -/* 80085754 000826B4 48 28 E3 BD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80085758 000826B8 38 7D 00 34 */ addi r3, r29, 0x34 -/* 8008575C 000826BC 38 81 01 98 */ addi r4, r1, 0x198 -/* 80085760 000826C0 48 28 D3 E1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80085764 000826C4 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80085768 000826C8 38 60 00 01 */ li r3, 1 -/* 8008576C 000826CC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80085770 000826D0 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80085774 000826D4 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80085778 000826D8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8008577C 000826DC 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80085780 000826E0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80085784 000826E4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80085788 000826E8 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8008578C 000826EC 48 00 00 80 */ b lbl_8008580C -lbl_80085790: -/* 80085790 000826F0 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 80085794 000826F4 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80085798 000826F8 80 84 00 7C */ lwz r4, 0x7c(r4) -/* 8008579C 000826FC 38 84 00 34 */ addi r4, r4, 0x34 -/* 800857A0 00082700 48 28 D3 A1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800857A4 00082704 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800857A8 00082708 38 60 00 01 */ li r3, 1 -/* 800857AC 0008270C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800857B0 00082710 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800857B4 00082714 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800857B8 00082718 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800857BC 0008271C 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800857C0 00082720 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800857C4 00082724 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800857C8 00082728 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800857CC 0008272C 48 00 00 40 */ b lbl_8008580C -lbl_800857D0: -/* 800857D0 00082730 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 800857D4 00082734 38 7D 00 34 */ addi r3, r29, 0x34 -/* 800857D8 00082738 80 84 00 7C */ lwz r4, 0x7c(r4) -/* 800857DC 0008273C 38 84 00 34 */ addi r4, r4, 0x34 -/* 800857E0 00082740 48 28 D3 61 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800857E4 00082744 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800857E8 00082748 38 60 00 01 */ li r3, 1 -/* 800857EC 0008274C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800857F0 00082750 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800857F4 00082754 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800857F8 00082758 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800857FC 0008275C 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80085800 00082760 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80085804 00082764 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80085808 00082768 98 1D 00 E4 */ stb r0, 0xe4(r29) -lbl_8008580C: -/* 8008580C 0008276C 7F A3 EB 78 */ mr r3, r29 -/* 80085810 00082770 38 81 01 64 */ addi r4, r1, 0x164 -/* 80085814 00082774 4B FC D6 79 */ bl SetTranslation__6CActorFRC9CVector3f -lbl_80085818: -/* 80085818 00082778 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8008581C 0008277C 7F C5 F3 78 */ mr r5, r30 -/* 80085820 00082780 38 9D 00 34 */ addi r4, r29, 0x34 -/* 80085824 00082784 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80085828 00082788 81 83 00 00 */ lwz r12, 0(r3) -/* 8008582C 0008278C 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 80085830 00082790 7D 89 03 A6 */ mtctr r12 -/* 80085834 00082794 4E 80 04 21 */ bctrl -lbl_80085838: -/* 80085838 00082798 E3 E1 03 98 */ psq_l f31, 920(r1), 0, qr0 -/* 8008583C 0008279C CB E1 03 90 */ lfd f31, 0x390(r1) -/* 80085840 000827A0 E3 C1 03 88 */ psq_l f30, 904(r1), 0, qr0 -/* 80085844 000827A4 CB C1 03 80 */ lfd f30, 0x380(r1) -/* 80085848 000827A8 E3 A1 03 78 */ psq_l f29, 888(r1), 0, qr0 -/* 8008584C 000827AC CB A1 03 70 */ lfd f29, 0x370(r1) -/* 80085850 000827B0 E3 81 03 68 */ psq_l f28, 872(r1), 0, qr0 -/* 80085854 000827B4 CB 81 03 60 */ lfd f28, 0x360(r1) -/* 80085858 000827B8 E3 61 03 58 */ psq_l f27, 856(r1), 0, qr0 -/* 8008585C 000827BC CB 61 03 50 */ lfd f27, 0x350(r1) -/* 80085860 000827C0 E3 41 03 48 */ psq_l f26, 840(r1), 0, qr0 -/* 80085864 000827C4 CB 41 03 40 */ lfd f26, 0x340(r1) -/* 80085868 000827C8 E3 21 03 38 */ psq_l f25, 824(r1), 0, qr0 -/* 8008586C 000827CC CB 21 03 30 */ lfd f25, 0x330(r1) -/* 80085870 000827D0 E3 01 03 28 */ psq_l f24, 808(r1), 0, qr0 -/* 80085874 000827D4 CB 01 03 20 */ lfd f24, 0x320(r1) -/* 80085878 000827D8 E2 E1 03 18 */ psq_l f23, 792(r1), 0, qr0 -/* 8008587C 000827DC CA E1 03 10 */ lfd f23, 0x310(r1) -/* 80085880 000827E0 E2 C1 03 08 */ psq_l f22, 776(r1), 0, qr0 -/* 80085884 000827E4 CA C1 03 00 */ lfd f22, 0x300(r1) -/* 80085888 000827E8 83 E1 02 FC */ lwz r31, 0x2fc(r1) -/* 8008588C 000827EC 83 C1 02 F8 */ lwz r30, 0x2f8(r1) -/* 80085890 000827F0 83 A1 02 F4 */ lwz r29, 0x2f4(r1) -/* 80085894 000827F4 80 01 03 A4 */ lwz r0, 0x3a4(r1) -/* 80085898 000827F8 83 81 02 F0 */ lwz r28, 0x2f0(r1) -/* 8008589C 000827FC 7C 08 03 A6 */ mtlr r0 -/* 800858A0 00082800 38 21 03 A0 */ addi r1, r1, 0x3a0 -/* 800858A4 00082804 4E 80 00 20 */ blr - -.global UpdateUsingColliders__11CBallCameraFfR13CStateManager -UpdateUsingColliders__11CBallCameraFfR13CStateManager: -/* 800858A8 00082808 94 21 F3 80 */ stwu r1, -0xc80(r1) -/* 800858AC 0008280C 7C 08 02 A6 */ mflr r0 -/* 800858B0 00082810 90 01 0C 84 */ stw r0, 0xc84(r1) -/* 800858B4 00082814 DB E1 0C 70 */ stfd f31, 0xc70(r1) -/* 800858B8 00082818 F3 E1 0C 78 */ psq_st f31, -904(r1), 0, qr0 -/* 800858BC 0008281C DB C1 0C 60 */ stfd f30, 0xc60(r1) -/* 800858C0 00082820 F3 C1 0C 68 */ psq_st f30, -920(r1), 0, qr0 -/* 800858C4 00082824 DB A1 0C 50 */ stfd f29, 0xc50(r1) -/* 800858C8 00082828 F3 A1 0C 58 */ psq_st f29, -936(r1), 0, qr0 -/* 800858CC 0008282C DB 81 0C 40 */ stfd f28, 0xc40(r1) -/* 800858D0 00082830 F3 81 0C 48 */ psq_st f28, -952(r1), 0, qr0 -/* 800858D4 00082834 DB 61 0C 30 */ stfd f27, 0xc30(r1) -/* 800858D8 00082838 F3 61 0C 38 */ psq_st f27, -968(r1), 0, qr0 -/* 800858DC 0008283C DB 41 0C 20 */ stfd f26, 0xc20(r1) -/* 800858E0 00082840 F3 41 0C 28 */ psq_st f26, -984(r1), 0, qr0 -/* 800858E4 00082844 DB 21 0C 10 */ stfd f25, 0xc10(r1) -/* 800858E8 00082848 F3 21 0C 18 */ psq_st f25, -1000(r1), 0, qr0 -/* 800858EC 0008284C DB 01 0C 00 */ stfd f24, 0xc00(r1) -/* 800858F0 00082850 F3 01 0C 08 */ psq_st f24, -1016(r1), 0, qr0 -/* 800858F4 00082854 BF 61 0B EC */ stmw r27, 0xbec(r1) -/* 800858F8 00082858 7C 9E 23 78 */ mr r30, r4 -/* 800858FC 0008285C FF E0 08 90 */ fmr f31, f1 -/* 80085900 00082860 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80085904 00082864 7C 7F 1B 78 */ mr r31, r3 -/* 80085908 00082868 80 04 09 D0 */ lwz r0, 0x9d0(r4) -/* 8008590C 0008286C 2C 00 00 01 */ cmpwi r0, 1 -/* 80085910 00082870 41 82 13 70 */ beq lbl_80086C80 -/* 80085914 00082874 38 61 01 60 */ addi r3, r1, 0x160 -/* 80085918 00082878 48 1F F4 31 */ bl GetBallPosition__7CPlayerCFv -/* 8008591C 0008287C C0 E1 01 60 */ lfs f7, 0x160(r1) -/* 80085920 00082880 C0 C1 01 64 */ lfs f6, 0x164(r1) -/* 80085924 00082884 C0 A1 01 68 */ lfs f5, 0x168(r1) -/* 80085928 00082888 D0 E1 02 2C */ stfs f7, 0x22c(r1) -/* 8008592C 0008288C D0 C1 02 30 */ stfs f6, 0x230(r1) -/* 80085930 00082890 D0 A1 02 34 */ stfs f5, 0x234(r1) -/* 80085934 00082894 83 BE 08 4C */ lwz r29, 0x84c(r30) -/* 80085938 00082898 80 1D 09 D0 */ lwz r0, 0x9d0(r29) -/* 8008593C 0008289C 2C 00 00 02 */ cmpwi r0, 2 -/* 80085940 000828A0 40 82 00 A4 */ bne lbl_800859E4 -/* 80085944 000828A4 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80085948 000828A8 C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 8008594C 000828AC C0 7F 01 E0 */ lfs f3, 0x1e0(r31) -/* 80085950 000828B0 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80085954 000828B4 ED 00 20 28 */ fsubs f8, f0, f4 -/* 80085958 000828B8 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) -/* 8008595C 000828BC C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80085960 000828C0 EC 63 10 28 */ fsubs f3, f3, f2 -/* 80085964 000828C4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80085968 000828C8 D1 01 02 24 */ stfs f8, 0x224(r1) -/* 8008596C 000828CC D0 61 02 28 */ stfs f3, 0x228(r1) -/* 80085970 000828D0 D0 01 02 20 */ stfs f0, 0x220(r1) -/* 80085974 000828D4 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 80085978 000828D8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8008597C 000828DC 41 82 00 1C */ beq lbl_80085998 -/* 80085980 000828E0 EC 66 20 28 */ fsubs f3, f6, f4 -/* 80085984 000828E4 EC 45 10 28 */ fsubs f2, f5, f2 -/* 80085988 000828E8 EC 07 08 28 */ fsubs f0, f7, f1 -/* 8008598C 000828EC D0 61 02 24 */ stfs f3, 0x224(r1) -/* 80085990 000828F0 D0 01 02 20 */ stfs f0, 0x220(r1) -/* 80085994 000828F4 D0 41 02 28 */ stfs f2, 0x228(r1) -lbl_80085998: -/* 80085998 000828F8 38 61 02 20 */ addi r3, r1, 0x220 -/* 8008599C 000828FC 48 28 ED 5D */ bl CanBeNormalized__9CVector3fCFv -/* 800859A0 00082900 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800859A4 00082904 41 82 12 DC */ beq lbl_80086C80 -/* 800859A8 00082908 38 61 02 20 */ addi r3, r1, 0x220 -/* 800859AC 0008290C 48 28 EF 4D */ bl Normalize__9CVector3fFv -/* 800859B0 00082910 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 800859B4 00082914 FC 20 F8 90 */ fmr f1, f31 -/* 800859B8 00082918 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 800859BC 0008291C 7F E3 FB 78 */ mr r3, r31 -/* 800859C0 00082920 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800859C4 00082924 7F C6 F3 78 */ mr r6, r30 -/* 800859C8 00082928 38 81 02 20 */ addi r4, r1, 0x220 -/* 800859CC 0008292C D0 01 01 54 */ stfs f0, 0x154(r1) -/* 800859D0 00082930 38 A1 01 54 */ addi r5, r1, 0x154 -/* 800859D4 00082934 D0 41 01 58 */ stfs f2, 0x158(r1) -/* 800859D8 00082938 D0 61 01 5C */ stfs f3, 0x15c(r1) -/* 800859DC 0008293C 48 00 31 01 */ bl UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager -/* 800859E0 00082940 48 00 12 A0 */ b lbl_80086C80 -lbl_800859E4: -/* 800859E4 00082944 80 1D 02 F8 */ lwz r0, 0x2f8(r29) -/* 800859E8 00082948 2C 00 00 00 */ cmpwi r0, 0 -/* 800859EC 0008294C 40 82 00 10 */ bne lbl_800859FC -/* 800859F0 00082950 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 800859F4 00082954 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800859F8 00082958 41 82 12 88 */ beq lbl_80086C80 -lbl_800859FC: -/* 800859FC 0008295C 38 61 03 A0 */ addi r3, r1, 0x3a0 -/* 80085A00 00082960 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80085A04 00082964 48 28 D1 71 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80085A08 00082968 C3 DF 00 60 */ lfs f30, 0x60(r31) -/* 80085A0C 0008296C 7F E3 FB 78 */ mr r3, r31 -/* 80085A10 00082970 C3 BF 00 50 */ lfs f29, 0x50(r31) -/* 80085A14 00082974 38 9F 02 64 */ addi r4, r31, 0x264 -/* 80085A18 00082978 C3 9F 00 40 */ lfs f28, 0x40(r31) -/* 80085A1C 0008297C 48 00 59 F5 */ bl "CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>" -/* 80085A20 00082980 90 7F 02 C4 */ stw r3, 0x2c4(r31) -/* 80085A24 00082984 7F E3 FB 78 */ mr r3, r31 -/* 80085A28 00082988 38 9F 02 74 */ addi r4, r31, 0x274 -/* 80085A2C 0008298C 48 00 59 E5 */ bl "CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>" -/* 80085A30 00082990 90 7F 02 C8 */ stw r3, 0x2c8(r31) -/* 80085A34 00082994 7F E3 FB 78 */ mr r3, r31 -/* 80085A38 00082998 38 9F 02 84 */ addi r4, r31, 0x284 -/* 80085A3C 0008299C 48 00 59 D5 */ bl "CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>" -/* 80085A40 000829A0 90 7F 02 CC */ stw r3, 0x2cc(r31) -/* 80085A44 000829A4 38 61 02 14 */ addi r3, r1, 0x214 -/* 80085A48 000829A8 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80085A4C 000829AC C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 80085A50 000829B0 C0 21 02 34 */ lfs f1, 0x234(r1) -/* 80085A54 000829B4 FF 20 00 90 */ fmr f25, f0 -/* 80085A58 000829B8 C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 80085A5C 000829BC C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 80085A60 000829C0 EC A3 08 28 */ fsubs f5, f3, f1 -/* 80085A64 000829C4 C0 61 02 30 */ lfs f3, 0x230(r1) -/* 80085A68 000829C8 C0 21 02 2C */ lfs f1, 0x22c(r1) -/* 80085A6C 000829CC EC 64 18 28 */ fsubs f3, f4, f3 -/* 80085A70 000829D0 D0 A1 02 1C */ stfs f5, 0x21c(r1) -/* 80085A74 000829D4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80085A78 000829D8 D0 01 02 08 */ stfs f0, 0x208(r1) -/* 80085A7C 000829DC D0 21 02 14 */ stfs f1, 0x214(r1) -/* 80085A80 000829E0 D0 61 02 18 */ stfs f3, 0x218(r1) -/* 80085A84 000829E4 D0 01 02 0C */ stfs f0, 0x20c(r1) -/* 80085A88 000829E8 D0 A1 02 10 */ stfs f5, 0x210(r1) -/* 80085A8C 000829EC D0 01 02 1C */ stfs f0, 0x21c(r1) -/* 80085A90 000829F0 48 28 EC 69 */ bl CanBeNormalized__9CVector3fCFv -/* 80085A94 000829F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80085A98 000829F8 41 82 00 14 */ beq lbl_80085AAC -/* 80085A9C 000829FC 38 61 02 14 */ addi r3, r1, 0x214 -/* 80085AA0 00082A00 48 28 EE 19 */ bl Magnitude__9CVector3fCFv -/* 80085AA4 00082A04 FF 20 08 90 */ fmr f25, f1 -/* 80085AA8 00082A08 48 00 00 28 */ b lbl_80085AD0 -lbl_80085AAC: -/* 80085AAC 00082A0C C0 5D 05 14 */ lfs f2, 0x514(r29) -/* 80085AB0 00082A10 C0 3D 05 10 */ lfs f1, 0x510(r29) -/* 80085AB4 00082A14 C0 1D 05 0C */ lfs f0, 0x50c(r29) -/* 80085AB8 00082A18 FC 40 10 50 */ fneg f2, f2 -/* 80085ABC 00082A1C FC 20 08 50 */ fneg f1, f1 -/* 80085AC0 00082A20 FC 00 00 50 */ fneg f0, f0 -/* 80085AC4 00082A24 D0 41 02 1C */ stfs f2, 0x21c(r1) -/* 80085AC8 00082A28 D0 01 02 14 */ stfs f0, 0x214(r1) -/* 80085ACC 00082A2C D0 21 02 18 */ stfs f1, 0x218(r1) -lbl_80085AD0: -/* 80085AD0 00082A30 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80085AD4 00082A34 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80085AD8 00082A38 C0 01 02 0C */ lfs f0, 0x20c(r1) -/* 80085ADC 00082A3C 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 80085AE0 00082A40 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 80085AE4 00082A44 38 61 03 70 */ addi r3, r1, 0x370 -/* 80085AE8 00082A48 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80085AEC 00082A4C C0 41 02 10 */ lfs f2, 0x210(r1) -/* 80085AF0 00082A50 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80085AF4 00082A54 C0 01 02 08 */ lfs f0, 0x208(r1) -/* 80085AF8 00082A58 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80085AFC 00082A5C D0 81 02 0C */ stfs f4, 0x20c(r1) -/* 80085B00 00082A60 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80085B04 00082A64 D0 41 02 10 */ stfs f2, 0x210(r1) -/* 80085B08 00082A68 D0 01 02 08 */ stfs f0, 0x208(r1) -/* 80085B0C 00082A6C 48 28 D0 69 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80085B10 00082A70 C0 21 02 0C */ lfs f1, 0x20c(r1) -/* 80085B14 00082A74 38 61 01 48 */ addi r3, r1, 0x148 -/* 80085B18 00082A78 C0 01 02 30 */ lfs f0, 0x230(r1) -/* 80085B1C 00082A7C C0 41 02 10 */ lfs f2, 0x210(r1) -/* 80085B20 00082A80 EC 61 00 28 */ fsubs f3, f1, f0 -/* 80085B24 00082A84 C0 01 02 34 */ lfs f0, 0x234(r1) -/* 80085B28 00082A88 C0 21 02 08 */ lfs f1, 0x208(r1) -/* 80085B2C 00082A8C EC 42 00 28 */ fsubs f2, f2, f0 -/* 80085B30 00082A90 C0 01 02 2C */ lfs f0, 0x22c(r1) -/* 80085B34 00082A94 D0 61 01 40 */ stfs f3, 0x140(r1) -/* 80085B38 00082A98 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80085B3C 00082A9C D0 41 01 44 */ stfs f2, 0x144(r1) -/* 80085B40 00082AA0 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 80085B44 00082AA4 D0 01 01 48 */ stfs f0, 0x148(r1) -/* 80085B48 00082AA8 D0 61 01 4C */ stfs f3, 0x14c(r1) -/* 80085B4C 00082AAC D0 41 01 50 */ stfs f2, 0x150(r1) -/* 80085B50 00082AB0 48 28 EB A9 */ bl CanBeNormalized__9CVector3fCFv -/* 80085B54 00082AB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80085B58 00082AB8 41 82 00 28 */ beq lbl_80085B80 -/* 80085B5C 00082ABC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 80085B60 00082AC0 38 61 02 E0 */ addi r3, r1, 0x2e0 -/* 80085B64 00082AC4 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 80085B68 00082AC8 38 A1 02 08 */ addi r5, r1, 0x208 -/* 80085B6C 00082ACC 38 81 02 2C */ addi r4, r1, 0x22c -/* 80085B70 00082AD0 48 28 DF A1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80085B74 00082AD4 38 61 03 70 */ addi r3, r1, 0x370 -/* 80085B78 00082AD8 38 81 02 E0 */ addi r4, r1, 0x2e0 -/* 80085B7C 00082ADC 48 28 CF C5 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_80085B80: -/* 80085B80 00082AE0 C0 62 89 E4 */ lfs f3, lbl_805AA704@sda21(r2) -/* 80085B84 00082AE4 FC 40 C8 90 */ fmr f2, f25 -/* 80085B88 00082AE8 C0 1F 03 08 */ lfs f0, 0x308(r31) -/* 80085B8C 00082AEC 38 7F 02 14 */ addi r3, r31, 0x214 -/* 80085B90 00082AF0 C0 3F 01 90 */ lfs f1, 0x190(r31) -/* 80085B94 00082AF4 EC 03 00 2A */ fadds f0, f3, f0 -/* 80085B98 00082AF8 EC 7F 00 32 */ fmuls f3, f31, f0 -/* 80085B9C 00082AFC 4B FD 7C 9D */ bl ApplyDistanceSpring__13CCameraSpringFfff -/* 80085BA0 00082B00 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80085BA4 00082B04 38 61 01 FC */ addi r3, r1, 0x1fc -/* 80085BA8 00082B08 C0 21 02 34 */ lfs f1, 0x234(r1) -/* 80085BAC 00082B0C C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 80085BB0 00082B10 C0 61 02 30 */ lfs f3, 0x230(r1) -/* 80085BB4 00082B14 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 80085BB8 00082B18 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80085BBC 00082B1C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80085BC0 00082B20 C0 21 02 2C */ lfs f1, 0x22c(r1) -/* 80085BC4 00082B24 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80085BC8 00082B28 D0 81 02 04 */ stfs f4, 0x204(r1) -/* 80085BCC 00082B2C EC 21 00 28 */ fsubs f1, f1, f0 -/* 80085BD0 00082B30 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80085BD4 00082B34 D0 41 02 00 */ stfs f2, 0x200(r1) -/* 80085BD8 00082B38 D0 21 01 FC */ stfs f1, 0x1fc(r1) -/* 80085BDC 00082B3C D0 01 02 04 */ stfs f0, 0x204(r1) -/* 80085BE0 00082B40 48 28 EB 19 */ bl CanBeNormalized__9CVector3fCFv -/* 80085BE4 00082B44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80085BE8 00082B48 41 82 00 C0 */ beq lbl_80085CA8 -/* 80085BEC 00082B4C 38 61 01 FC */ addi r3, r1, 0x1fc -/* 80085BF0 00082B50 48 28 ED 09 */ bl Normalize__9CVector3fFv -/* 80085BF4 00082B54 C0 21 02 00 */ lfs f1, 0x200(r1) -/* 80085BF8 00082B58 C0 1D 05 10 */ lfs f0, 0x510(r29) -/* 80085BFC 00082B5C C0 41 01 FC */ lfs f2, 0x1fc(r1) -/* 80085C00 00082B60 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80085C04 00082B64 C0 3D 05 0C */ lfs f1, 0x50c(r29) -/* 80085C08 00082B68 C0 81 02 04 */ lfs f4, 0x204(r1) -/* 80085C0C 00082B6C C0 7D 05 14 */ lfs f3, 0x514(r29) -/* 80085C10 00082B70 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80085C14 00082B74 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80085C18 00082B78 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80085C1C 00082B7C FC 40 0A 10 */ fabs f2, f1 -/* 80085C20 00082B80 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80085C24 00082B84 40 81 00 14 */ ble lbl_80085C38 -/* 80085C28 00082B88 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80085C2C 00082B8C C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 80085C30 00082B90 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 80085C34 00082B94 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_80085C38: -/* 80085C38 00082B98 48 30 EF F5 */ bl acos -/* 80085C3C 00082B9C FC 20 08 18 */ frsp f1, f1 -/* 80085C40 00082BA0 C0 02 8A 28 */ lfs f0, lbl_805AA748@sda21(r2) -/* 80085C44 00082BA4 FC 20 0A 10 */ fabs f1, f1 -/* 80085C48 00082BA8 FC 20 08 18 */ frsp f1, f1 -/* 80085C4C 00082BAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80085C50 00082BB0 40 81 00 58 */ ble lbl_80085CA8 -/* 80085C54 00082BB4 C0 1D 01 38 */ lfs f0, 0x138(r29) -/* 80085C58 00082BB8 38 61 01 F0 */ addi r3, r1, 0x1f0 -/* 80085C5C 00082BBC D0 01 01 F0 */ stfs f0, 0x1f0(r1) -/* 80085C60 00082BC0 C0 1D 01 3C */ lfs f0, 0x13c(r29) -/* 80085C64 00082BC4 D0 01 01 F4 */ stfs f0, 0x1f4(r1) -/* 80085C68 00082BC8 C0 1D 01 40 */ lfs f0, 0x140(r29) -/* 80085C6C 00082BCC D0 01 01 F8 */ stfs f0, 0x1f8(r1) -/* 80085C70 00082BD0 48 28 EA 89 */ bl CanBeNormalized__9CVector3fCFv -/* 80085C74 00082BD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80085C78 00082BD8 41 82 00 30 */ beq lbl_80085CA8 -/* 80085C7C 00082BDC C0 BF 01 90 */ lfs f5, 0x190(r31) -/* 80085C80 00082BE0 FC 40 C8 90 */ fmr f2, f25 -/* 80085C84 00082BE4 C0 3F 01 9C */ lfs f1, 0x19c(r31) -/* 80085C88 00082BE8 38 7F 02 14 */ addi r3, r31, 0x214 -/* 80085C8C 00082BEC C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) -/* 80085C90 00082BF0 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80085C94 00082BF4 C0 9F 03 08 */ lfs f4, 0x308(r31) -/* 80085C98 00082BF8 EC 60 07 F2 */ fmuls f3, f0, f31 -/* 80085C9C 00082BFC EC 24 28 7A */ fmadds f1, f4, f1, f5 -/* 80085CA0 00082C00 4B FD 7B 99 */ bl ApplyDistanceSpring__13CCameraSpringFfff -/* 80085CA4 00082C04 D0 21 00 2C */ stfs f1, 0x2c(r1) -lbl_80085CA8: -/* 80085CA8 00082C08 7F E4 FB 78 */ mr r4, r31 -/* 80085CAC 00082C0C 7F C6 F3 78 */ mr r6, r30 -/* 80085CB0 00082C10 38 61 02 38 */ addi r3, r1, 0x238 -/* 80085CB4 00082C14 38 BF 02 84 */ addi r5, r31, 0x284 -/* 80085CB8 00082C18 48 00 56 65 */ bl "CalculateCollidersBoundingBox__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RC13CStateManager" -/* 80085CBC 00082C1C 80 C1 02 38 */ lwz r6, 0x238(r1) -/* 80085CC0 00082C20 38 00 00 00 */ li r0, 0 -/* 80085CC4 00082C24 80 A1 02 3C */ lwz r5, 0x23c(r1) -/* 80085CC8 00082C28 7F C3 F3 78 */ mr r3, r30 -/* 80085CCC 00082C2C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80085CD0 00082C30 90 DF 03 34 */ stw r6, 0x334(r31) -/* 80085CD4 00082C34 90 BF 03 38 */ stw r5, 0x338(r31) -/* 80085CD8 00082C38 80 A1 02 40 */ lwz r5, 0x240(r1) -/* 80085CDC 00082C3C 90 BF 03 3C */ stw r5, 0x33c(r31) -/* 80085CE0 00082C40 80 C1 02 44 */ lwz r6, 0x244(r1) -/* 80085CE4 00082C44 80 A1 02 48 */ lwz r5, 0x248(r1) -/* 80085CE8 00082C48 90 DF 03 40 */ stw r6, 0x340(r31) -/* 80085CEC 00082C4C 90 BF 03 44 */ stw r5, 0x344(r31) -/* 80085CF0 00082C50 80 A1 02 4C */ lwz r5, 0x24c(r1) -/* 80085CF4 00082C54 90 BF 03 48 */ stw r5, 0x348(r31) -/* 80085CF8 00082C58 90 01 03 D0 */ stw r0, 0x3d0(r1) -/* 80085CFC 00082C5C A0 1F 04 6C */ lhz r0, 0x46c(r31) -/* 80085D00 00082C60 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80085D04 00082C64 4B FC 68 A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80085D08 00082C68 7C 64 1B 78 */ mr r4, r3 -/* 80085D0C 00082C6C 38 61 00 48 */ addi r3, r1, 0x48 -/* 80085D10 00082C70 48 02 9F 81 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80085D14 00082C74 3C 80 80 47 */ lis r4, lbl_8046C408@ha -/* 80085D18 00082C78 80 E3 00 04 */ lwz r7, 4(r3) -/* 80085D1C 00082C7C 38 C4 C4 08 */ addi r6, r4, lbl_8046C408@l -/* 80085D20 00082C80 7F C3 F3 78 */ mr r3, r30 -/* 80085D24 00082C84 38 81 03 D0 */ addi r4, r1, 0x3d0 -/* 80085D28 00082C88 38 BF 03 34 */ addi r5, r31, 0x334 -/* 80085D2C 00082C8C 4B FC 69 F5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80085D30 00082C90 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 80085D34 00082C94 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80085D38 00082C98 40 82 01 1C */ bne lbl_80085E54 -/* 80085D3C 00082C9C A0 7F 03 68 */ lhz r3, 0x368(r31) -/* 80085D40 00082CA0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80085D44 00082CA4 7C 03 00 40 */ cmplw r3, r0 -/* 80085D48 00082CA8 40 82 01 0C */ bne lbl_80085E54 -/* 80085D4C 00082CAC C0 3F 03 4C */ lfs f1, 0x34c(r31) -/* 80085D50 00082CB0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80085D54 00082CB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80085D58 00082CB8 41 81 00 58 */ bgt lbl_80085DB0 -/* 80085D5C 00082CBC 80 BF 03 50 */ lwz r5, 0x350(r31) -/* 80085D60 00082CC0 38 80 00 00 */ li r4, 0 -/* 80085D64 00082CC4 80 DF 03 54 */ lwz r6, 0x354(r31) -/* 80085D68 00082CC8 3C 60 80 00 */ lis r3, 0x8000 -/* 80085D6C 00082CCC 7C A0 20 38 */ and r0, r5, r4 -/* 80085D70 00082CD0 7C C3 18 38 */ and r3, r6, r3 -/* 80085D74 00082CD4 7C 63 22 78 */ xor r3, r3, r4 -/* 80085D78 00082CD8 7C 00 22 78 */ xor r0, r0, r4 -/* 80085D7C 00082CDC 7C 60 03 79 */ or. r0, r3, r0 -/* 80085D80 00082CE0 41 82 00 08 */ beq lbl_80085D88 -/* 80085D84 00082CE4 38 80 00 01 */ li r4, 1 -lbl_80085D88: -/* 80085D88 00082CE8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80085D8C 00082CEC 40 82 00 24 */ bne lbl_80085DB0 -/* 80085D90 00082CF0 3C 00 40 00 */ lis r0, 0x4000 -/* 80085D94 00082CF4 38 80 00 00 */ li r4, 0 -/* 80085D98 00082CF8 7C C3 00 38 */ and r3, r6, r0 -/* 80085D9C 00082CFC 7C A0 20 38 */ and r0, r5, r4 -/* 80085DA0 00082D00 7C 63 22 78 */ xor r3, r3, r4 -/* 80085DA4 00082D04 7C 00 22 78 */ xor r0, r0, r4 -/* 80085DA8 00082D08 7C 60 03 79 */ or. r0, r3, r0 -/* 80085DAC 00082D0C 41 82 01 40 */ beq lbl_80085EEC -lbl_80085DB0: -/* 80085DB0 00082D10 C0 22 89 E0 */ lfs f1, lbl_805AA700@sda21(r2) -/* 80085DB4 00082D14 C0 1F 03 2C */ lfs f0, 0x32c(r31) -/* 80085DB8 00082D18 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 80085DBC 00082D1C D0 1F 03 2C */ stfs f0, 0x32c(r31) -/* 80085DC0 00082D20 C0 1F 03 2C */ lfs f0, 0x32c(r31) -/* 80085DC4 00082D24 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80085DC8 00082D28 40 80 00 08 */ bge lbl_80085DD0 -/* 80085DCC 00082D2C D0 3F 03 2C */ stfs f1, 0x32c(r31) -lbl_80085DD0: -/* 80085DD0 00082D30 C0 3F 03 2C */ lfs f1, 0x32c(r31) -/* 80085DD4 00082D34 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 80085DD8 00082D38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80085DDC 00082D3C 40 81 00 08 */ ble lbl_80085DE4 -/* 80085DE0 00082D40 D0 1F 03 2C */ stfs f0, 0x32c(r31) -lbl_80085DE4: -/* 80085DE4 00082D44 C0 42 8A 2C */ lfs f2, lbl_805AA74C@sda21(r2) -/* 80085DE8 00082D48 7F E3 FB 78 */ mr r3, r31 -/* 80085DEC 00082D4C C0 3F 03 2C */ lfs f1, 0x32c(r31) -/* 80085DF0 00082D50 38 9F 02 64 */ addi r4, r31, 0x264 -/* 80085DF4 00082D54 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) -/* 80085DF8 00082D58 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80085DFC 00082D5C C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) -/* 80085E00 00082D60 EC 41 00 32 */ fmuls f2, f1, f0 -/* 80085E04 00082D64 48 00 60 C5 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" -/* 80085E08 00082D68 C0 42 8A 34 */ lfs f2, lbl_805AA754@sda21(r2) -/* 80085E0C 00082D6C 7F E3 FB 78 */ mr r3, r31 -/* 80085E10 00082D70 C0 3F 03 2C */ lfs f1, 0x32c(r31) -/* 80085E14 00082D74 38 9F 02 74 */ addi r4, r31, 0x274 -/* 80085E18 00082D78 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) -/* 80085E1C 00082D7C EC 22 00 72 */ fmuls f1, f2, f1 -/* 80085E20 00082D80 C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) -/* 80085E24 00082D84 EC 41 00 32 */ fmuls f2, f1, f0 -/* 80085E28 00082D88 48 00 60 A1 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" -/* 80085E2C 00082D8C C0 42 8A 38 */ lfs f2, lbl_805AA758@sda21(r2) -/* 80085E30 00082D90 7F E3 FB 78 */ mr r3, r31 -/* 80085E34 00082D94 C0 3F 03 2C */ lfs f1, 0x32c(r31) -/* 80085E38 00082D98 38 9F 02 84 */ addi r4, r31, 0x284 -/* 80085E3C 00082D9C C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) -/* 80085E40 00082DA0 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80085E44 00082DA4 C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) -/* 80085E48 00082DA8 EC 41 00 32 */ fmuls f2, f1, f0 -/* 80085E4C 00082DAC 48 00 60 7D */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" -/* 80085E50 00082DB0 48 00 00 9C */ b lbl_80085EEC -lbl_80085E54: -/* 80085E54 00082DB4 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 80085E58 00082DB8 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80085E5C 00082DBC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80085E60 00082DC0 41 82 00 14 */ beq lbl_80085E74 -/* 80085E64 00082DC4 C0 1D 04 F8 */ lfs f0, 0x4f8(r29) -/* 80085E68 00082DC8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80085E6C 00082DCC 40 80 00 08 */ bge lbl_80085E74 -/* 80085E70 00082DD0 C0 22 8A 04 */ lfs f1, lbl_805AA724@sda21(r2) -lbl_80085E74: -/* 80085E74 00082DD4 C0 5F 03 2C */ lfs f2, 0x32c(r31) -/* 80085E78 00082DD8 7F E3 FB 78 */ mr r3, r31 -/* 80085E7C 00082DDC C0 82 89 E0 */ lfs f4, lbl_805AA700@sda21(r2) -/* 80085E80 00082DE0 38 9F 02 64 */ addi r4, r31, 0x264 -/* 80085E84 00082DE4 EC 01 10 28 */ fsubs f0, f1, f2 -/* 80085E88 00082DE8 C0 22 8A 2C */ lfs f1, lbl_805AA74C@sda21(r2) -/* 80085E8C 00082DEC C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) -/* 80085E90 00082DF0 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80085E94 00082DF4 EC 04 10 3A */ fmadds f0, f4, f0, f2 -/* 80085E98 00082DF8 D0 1F 03 2C */ stfs f0, 0x32c(r31) -/* 80085E9C 00082DFC C0 1F 03 2C */ lfs f0, 0x32c(r31) -/* 80085EA0 00082E00 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80085EA4 00082E04 FC 40 08 90 */ fmr f2, f1 -/* 80085EA8 00082E08 48 00 60 21 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" -/* 80085EAC 00082E0C C0 22 8A 34 */ lfs f1, lbl_805AA754@sda21(r2) -/* 80085EB0 00082E10 7F E3 FB 78 */ mr r3, r31 -/* 80085EB4 00082E14 C0 1F 03 2C */ lfs f0, 0x32c(r31) -/* 80085EB8 00082E18 38 9F 02 74 */ addi r4, r31, 0x274 -/* 80085EBC 00082E1C C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) -/* 80085EC0 00082E20 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80085EC4 00082E24 FC 40 08 90 */ fmr f2, f1 -/* 80085EC8 00082E28 48 00 60 01 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" -/* 80085ECC 00082E2C C0 22 8A 38 */ lfs f1, lbl_805AA758@sda21(r2) -/* 80085ED0 00082E30 7F E3 FB 78 */ mr r3, r31 -/* 80085ED4 00082E34 C0 1F 03 2C */ lfs f0, 0x32c(r31) -/* 80085ED8 00082E38 38 9F 02 84 */ addi r4, r31, 0x284 -/* 80085EDC 00082E3C C0 62 8A 30 */ lfs f3, lbl_805AA750@sda21(r2) -/* 80085EE0 00082E40 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80085EE4 00082E44 FC 40 08 90 */ fmr f2, f1 -/* 80085EE8 00082E48 48 00 5F E1 */ bl "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" -lbl_80085EEC: -/* 80085EEC 00082E4C C0 1F 01 A0 */ lfs f0, 0x1a0(r31) -/* 80085EF0 00082E50 FC 20 F8 90 */ fmr f1, f31 -/* 80085EF4 00082E54 7F E3 FB 78 */ mr r3, r31 -/* 80085EF8 00082E58 7F C6 F3 78 */ mr r6, r30 -/* 80085EFC 00082E5C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80085F00 00082E60 38 81 00 28 */ addi r4, r1, 0x28 -/* 80085F04 00082E64 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80085F08 00082E68 3B 60 00 01 */ li r27, 1 -/* 80085F0C 00082E6C 48 00 37 C1 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -/* 80085F10 00082E70 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80085F14 00082E74 41 82 00 08 */ beq lbl_80085F1C -/* 80085F18 00082E78 3B 60 00 00 */ li r27, 0 -lbl_80085F1C: -/* 80085F1C 00082E7C C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 80085F20 00082E80 38 61 01 30 */ addi r3, r1, 0x130 -/* 80085F24 00082E84 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 80085F28 00082E88 38 81 03 70 */ addi r4, r1, 0x370 -/* 80085F2C 00082E8C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80085F30 00082E90 38 A1 01 E4 */ addi r5, r1, 0x1e4 -/* 80085F34 00082E94 D0 41 01 E4 */ stfs f2, 0x1e4(r1) -/* 80085F38 00082E98 D0 21 01 E8 */ stfs f1, 0x1e8(r1) -/* 80085F3C 00082E9C D0 01 01 EC */ stfs f0, 0x1ec(r1) -/* 80085F40 00082EA0 48 28 CB 41 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 80085F44 00082EA4 C0 41 01 30 */ lfs f2, 0x130(r1) -/* 80085F48 00082EA8 7F C3 F3 78 */ mr r3, r30 -/* 80085F4C 00082EAC C0 21 01 34 */ lfs f1, 0x134(r1) -/* 80085F50 00082EB0 38 81 00 18 */ addi r4, r1, 0x18 -/* 80085F54 00082EB4 C0 01 01 38 */ lfs f0, 0x138(r1) -/* 80085F58 00082EB8 D0 41 01 E4 */ stfs f2, 0x1e4(r1) -/* 80085F5C 00082EBC D0 21 01 E8 */ stfs f1, 0x1e8(r1) -/* 80085F60 00082EC0 D0 01 01 EC */ stfs f0, 0x1ec(r1) -/* 80085F64 00082EC4 A0 1F 03 DC */ lhz r0, 0x3dc(r31) -/* 80085F68 00082EC8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80085F6C 00082ECC 4B FC 66 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80085F70 00082ED0 7C 64 1B 78 */ mr r4, r3 -/* 80085F74 00082ED4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80085F78 00082ED8 48 02 41 79 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 80085F7C 00082EDC 80 63 00 04 */ lwz r3, 4(r3) -/* 80085F80 00082EE0 28 03 00 00 */ cmplwi r3, 0 -/* 80085F84 00082EE4 41 82 00 14 */ beq lbl_80085F98 -/* 80085F88 00082EE8 41 82 02 58 */ beq lbl_800861E0 -/* 80085F8C 00082EEC 88 03 02 A8 */ lbz r0, 0x2a8(r3) -/* 80085F90 00082EF0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80085F94 00082EF4 40 82 02 4C */ bne lbl_800861E0 -lbl_80085F98: -/* 80085F98 00082EF8 80 1F 04 00 */ lwz r0, 0x400(r31) -/* 80085F9C 00082EFC 2C 00 00 03 */ cmpwi r0, 3 -/* 80085FA0 00082F00 40 82 01 10 */ bne lbl_800860B0 -/* 80085FA4 00082F04 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80085FA8 00082F08 38 61 01 D8 */ addi r3, r1, 0x1d8 -/* 80085FAC 00082F0C C0 01 02 30 */ lfs f0, 0x230(r1) -/* 80085FB0 00082F10 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 80085FB4 00082F14 C0 41 02 34 */ lfs f2, 0x234(r1) -/* 80085FB8 00082F18 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80085FBC 00082F1C C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80085FC0 00082F20 C0 01 02 2C */ lfs f0, 0x22c(r1) -/* 80085FC4 00082F24 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80085FC8 00082F28 D0 81 01 DC */ stfs f4, 0x1dc(r1) -/* 80085FCC 00082F2C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80085FD0 00082F30 D0 41 01 E0 */ stfs f2, 0x1e0(r1) -/* 80085FD4 00082F34 D0 01 01 D8 */ stfs f0, 0x1d8(r1) -/* 80085FD8 00082F38 48 28 E7 21 */ bl CanBeNormalized__9CVector3fCFv -/* 80085FDC 00082F3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80085FE0 00082F40 41 82 00 10 */ beq lbl_80085FF0 -/* 80085FE4 00082F44 38 61 01 D8 */ addi r3, r1, 0x1d8 -/* 80085FE8 00082F48 48 28 E9 11 */ bl Normalize__9CVector3fFv -/* 80085FEC 00082F4C 48 00 00 1C */ b lbl_80086008 -lbl_80085FF0: -/* 80085FF0 00082F50 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80085FF4 00082F54 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 80085FF8 00082F58 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80085FFC 00082F5C D0 01 01 D8 */ stfs f0, 0x1d8(r1) -/* 80086000 00082F60 D0 21 01 DC */ stfs f1, 0x1dc(r1) -/* 80086004 00082F64 D0 41 01 E0 */ stfs f2, 0x1e0(r1) -lbl_80086008: -/* 80086008 00082F68 C0 3F 04 30 */ lfs f1, 0x430(r31) -/* 8008600C 00082F6C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80086010 00082F70 EC 39 08 28 */ fsubs f1, f25, f1 -/* 80086014 00082F74 FC 20 0A 10 */ fabs f1, f1 -/* 80086018 00082F78 FC 20 08 18 */ frsp f1, f1 -/* 8008601C 00082F7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80086020 00082F80 40 80 00 40 */ bge lbl_80086060 -/* 80086024 00082F84 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 80086028 00082F88 FC 60 F8 90 */ fmr f3, f31 -/* 8008602C 00082F8C 7F E4 FB 78 */ mr r4, r31 -/* 80086030 00082F90 7F A5 EB 78 */ mr r5, r29 -/* 80086034 00082F94 C0 23 01 AC */ lfs f1, 0x1ac(r3) -/* 80086038 00082F98 7F C6 F3 78 */ mr r6, r30 -/* 8008603C 00082F9C C0 43 01 B0 */ lfs f2, 0x1b0(r3) -/* 80086040 00082FA0 38 61 01 24 */ addi r3, r1, 0x124 -/* 80086044 00082FA4 48 00 33 31 */ bl ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager -/* 80086048 00082FA8 C0 41 01 24 */ lfs f2, 0x124(r1) -/* 8008604C 00082FAC C0 21 01 28 */ lfs f1, 0x128(r1) -/* 80086050 00082FB0 C0 01 01 2C */ lfs f0, 0x12c(r1) -/* 80086054 00082FB4 D0 41 01 D8 */ stfs f2, 0x1d8(r1) -/* 80086058 00082FB8 D0 21 01 DC */ stfs f1, 0x1dc(r1) -/* 8008605C 00082FBC D0 01 01 E0 */ stfs f0, 0x1e0(r1) -lbl_80086060: -/* 80086060 00082FC0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80086064 00082FC4 38 61 01 D8 */ addi r3, r1, 0x1d8 -/* 80086068 00082FC8 D0 01 01 E0 */ stfs f0, 0x1e0(r1) -/* 8008606C 00082FCC 48 28 E8 8D */ bl Normalize__9CVector3fFv -/* 80086070 00082FD0 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 80086074 00082FD4 3B 60 00 00 */ li r27, 0 -/* 80086078 00082FD8 C0 01 01 E0 */ lfs f0, 0x1e0(r1) -/* 8008607C 00082FDC C0 61 01 D8 */ lfs f3, 0x1d8(r1) -/* 80086080 00082FE0 EC 20 01 32 */ fmuls f1, f0, f4 -/* 80086084 00082FE4 C0 41 01 DC */ lfs f2, 0x1dc(r1) -/* 80086088 00082FE8 EC 63 01 32 */ fmuls f3, f3, f4 -/* 8008608C 00082FEC C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80086090 00082FF0 EC 42 01 32 */ fmuls f2, f2, f4 -/* 80086094 00082FF4 D0 21 01 E0 */ stfs f1, 0x1e0(r1) -/* 80086098 00082FF8 D0 61 01 D8 */ stfs f3, 0x1d8(r1) -/* 8008609C 00082FFC D0 41 01 DC */ stfs f2, 0x1dc(r1) -/* 800860A0 00083000 D0 01 01 E0 */ stfs f0, 0x1e0(r1) -/* 800860A4 00083004 D0 61 01 E4 */ stfs f3, 0x1e4(r1) -/* 800860A8 00083008 D0 41 01 E8 */ stfs f2, 0x1e8(r1) -/* 800860AC 0008300C D0 01 01 EC */ stfs f0, 0x1ec(r1) -lbl_800860B0: -/* 800860B0 00083010 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 800860B4 00083014 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800860B8 00083018 41 82 01 28 */ beq lbl_800861E0 -/* 800860BC 0008301C 80 1F 04 00 */ lwz r0, 0x400(r31) -/* 800860C0 00083020 2C 00 00 02 */ cmpwi r0, 2 -/* 800860C4 00083024 41 82 00 10 */ beq lbl_800860D4 -/* 800860C8 00083028 80 1F 01 88 */ lwz r0, 0x188(r31) -/* 800860CC 0008302C 2C 00 00 01 */ cmpwi r0, 1 -/* 800860D0 00083030 40 82 01 10 */ bne lbl_800861E0 -lbl_800860D4: -/* 800860D4 00083034 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 800860D8 00083038 38 61 01 CC */ addi r3, r1, 0x1cc -/* 800860DC 0008303C C0 01 02 30 */ lfs f0, 0x230(r1) -/* 800860E0 00083040 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 800860E4 00083044 C0 41 02 34 */ lfs f2, 0x234(r1) -/* 800860E8 00083048 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800860EC 0008304C C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 800860F0 00083050 C0 01 02 2C */ lfs f0, 0x22c(r1) -/* 800860F4 00083054 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800860F8 00083058 D0 81 01 D0 */ stfs f4, 0x1d0(r1) -/* 800860FC 0008305C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80086100 00083060 D0 41 01 D4 */ stfs f2, 0x1d4(r1) -/* 80086104 00083064 D0 01 01 CC */ stfs f0, 0x1cc(r1) -/* 80086108 00083068 48 28 E5 F1 */ bl CanBeNormalized__9CVector3fCFv -/* 8008610C 0008306C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80086110 00083070 41 82 00 10 */ beq lbl_80086120 -/* 80086114 00083074 38 61 01 CC */ addi r3, r1, 0x1cc -/* 80086118 00083078 48 28 E7 E1 */ bl Normalize__9CVector3fFv -/* 8008611C 0008307C 48 00 00 1C */ b lbl_80086138 -lbl_80086120: -/* 80086120 00083080 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80086124 00083084 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 80086128 00083088 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8008612C 0008308C D0 01 01 CC */ stfs f0, 0x1cc(r1) -/* 80086130 00083090 D0 21 01 D0 */ stfs f1, 0x1d0(r1) -/* 80086134 00083094 D0 41 01 D4 */ stfs f2, 0x1d4(r1) -lbl_80086138: -/* 80086138 00083098 C0 3F 04 04 */ lfs f1, 0x404(r31) -/* 8008613C 0008309C C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) -/* 80086140 000830A0 EC 39 08 28 */ fsubs f1, f25, f1 -/* 80086144 000830A4 FC 20 0A 10 */ fabs f1, f1 -/* 80086148 000830A8 FC 20 08 18 */ frsp f1, f1 -/* 8008614C 000830AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80086150 000830B0 40 80 00 40 */ bge lbl_80086190 -/* 80086154 000830B4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 80086158 000830B8 FC 60 F8 90 */ fmr f3, f31 -/* 8008615C 000830BC 7F E4 FB 78 */ mr r4, r31 -/* 80086160 000830C0 7F A5 EB 78 */ mr r5, r29 -/* 80086164 000830C4 C0 23 01 80 */ lfs f1, 0x180(r3) -/* 80086168 000830C8 7F C6 F3 78 */ mr r6, r30 -/* 8008616C 000830CC C0 43 01 84 */ lfs f2, 0x184(r3) -/* 80086170 000830D0 38 61 01 18 */ addi r3, r1, 0x118 -/* 80086174 000830D4 48 00 32 01 */ bl ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager -/* 80086178 000830D8 C0 41 01 18 */ lfs f2, 0x118(r1) -/* 8008617C 000830DC C0 21 01 1C */ lfs f1, 0x11c(r1) -/* 80086180 000830E0 C0 01 01 20 */ lfs f0, 0x120(r1) -/* 80086184 000830E4 D0 41 01 CC */ stfs f2, 0x1cc(r1) -/* 80086188 000830E8 D0 21 01 D0 */ stfs f1, 0x1d0(r1) -/* 8008618C 000830EC D0 01 01 D4 */ stfs f0, 0x1d4(r1) -lbl_80086190: -/* 80086190 000830F0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80086194 000830F4 38 61 01 CC */ addi r3, r1, 0x1cc -/* 80086198 000830F8 D0 01 01 D4 */ stfs f0, 0x1d4(r1) -/* 8008619C 000830FC 48 28 E7 5D */ bl Normalize__9CVector3fFv -/* 800861A0 00083100 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 800861A4 00083104 3B 60 00 00 */ li r27, 0 -/* 800861A8 00083108 C0 01 01 D4 */ lfs f0, 0x1d4(r1) -/* 800861AC 0008310C C0 61 01 CC */ lfs f3, 0x1cc(r1) -/* 800861B0 00083110 EC 20 01 32 */ fmuls f1, f0, f4 -/* 800861B4 00083114 C0 41 01 D0 */ lfs f2, 0x1d0(r1) -/* 800861B8 00083118 EC 63 01 32 */ fmuls f3, f3, f4 -/* 800861BC 0008311C C0 02 8A 3C */ lfs f0, lbl_805AA75C@sda21(r2) -/* 800861C0 00083120 EC 42 01 32 */ fmuls f2, f2, f4 -/* 800861C4 00083124 D0 21 01 D4 */ stfs f1, 0x1d4(r1) -/* 800861C8 00083128 D0 61 01 CC */ stfs f3, 0x1cc(r1) -/* 800861CC 0008312C D0 41 01 D0 */ stfs f2, 0x1d0(r1) -/* 800861D0 00083130 D0 01 01 D4 */ stfs f0, 0x1d4(r1) -/* 800861D4 00083134 D0 61 01 E4 */ stfs f3, 0x1e4(r1) -/* 800861D8 00083138 D0 41 01 E8 */ stfs f2, 0x1e8(r1) -/* 800861DC 0008313C D0 01 01 EC */ stfs f0, 0x1ec(r1) -lbl_800861E0: -/* 800861E0 00083140 80 1F 01 88 */ lwz r0, 0x188(r31) -/* 800861E4 00083144 2C 00 00 02 */ cmpwi r0, 2 -/* 800861E8 00083148 41 82 00 08 */ beq lbl_800861F0 -/* 800861EC 0008314C 48 00 00 EC */ b lbl_800862D8 -lbl_800861F0: -/* 800861F0 00083150 C0 5F 04 5C */ lfs f2, 0x45c(r31) -/* 800861F4 00083154 D0 41 01 E4 */ stfs f2, 0x1e4(r1) -/* 800861F8 00083158 C0 3F 04 60 */ lfs f1, 0x460(r31) -/* 800861FC 0008315C D0 21 01 E8 */ stfs f1, 0x1e8(r1) -/* 80086200 00083160 C0 1F 04 64 */ lfs f0, 0x464(r31) -/* 80086204 00083164 D0 01 01 EC */ stfs f0, 0x1ec(r1) -/* 80086208 00083168 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008620C 0008316C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80086210 00083170 41 82 00 C4 */ beq lbl_800862D4 -/* 80086214 00083174 D0 41 01 C0 */ stfs f2, 0x1c0(r1) -/* 80086218 00083178 38 61 01 C0 */ addi r3, r1, 0x1c0 -/* 8008621C 0008317C D0 21 01 C4 */ stfs f1, 0x1c4(r1) -/* 80086220 00083180 D0 01 01 C8 */ stfs f0, 0x1c8(r1) -/* 80086224 00083184 48 28 E4 D5 */ bl CanBeNormalized__9CVector3fCFv -/* 80086228 00083188 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008622C 0008318C 41 82 00 10 */ beq lbl_8008623C -/* 80086230 00083190 38 61 01 C0 */ addi r3, r1, 0x1c0 -/* 80086234 00083194 48 28 E6 C5 */ bl Normalize__9CVector3fFv -/* 80086238 00083198 48 00 00 28 */ b lbl_80086260 -lbl_8008623C: -/* 8008623C 0008319C C0 5D 05 14 */ lfs f2, 0x514(r29) -/* 80086240 000831A0 C0 3D 05 10 */ lfs f1, 0x510(r29) -/* 80086244 000831A4 C0 1D 05 0C */ lfs f0, 0x50c(r29) -/* 80086248 000831A8 FC 40 10 50 */ fneg f2, f2 -/* 8008624C 000831AC FC 20 08 50 */ fneg f1, f1 -/* 80086250 000831B0 FC 00 00 50 */ fneg f0, f0 -/* 80086254 000831B4 D0 41 01 C8 */ stfs f2, 0x1c8(r1) -/* 80086258 000831B8 D0 01 01 C0 */ stfs f0, 0x1c0(r1) -/* 8008625C 000831BC D0 21 01 C4 */ stfs f1, 0x1c4(r1) -lbl_80086260: -/* 80086260 000831C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80086264 000831C4 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80086268 000831C8 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 8008626C 000831CC C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 80086270 000831D0 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80086274 000831D4 7F C4 F3 78 */ mr r4, r30 -/* 80086278 000831D8 38 61 02 B0 */ addi r3, r1, 0x2b0 -/* 8008627C 000831DC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80086280 000831E0 38 C1 02 2C */ addi r6, r1, 0x22c -/* 80086284 000831E4 38 E1 01 C0 */ addi r7, r1, 0x1c0 -/* 80086288 000831E8 39 21 03 D0 */ addi r9, r1, 0x3d0 -/* 8008628C 000831EC 4B FC 6D 39 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80086290 000831F0 88 01 02 D0 */ lbz r0, 0x2d0(r1) -/* 80086294 000831F4 C0 81 02 B0 */ lfs f4, 0x2b0(r1) -/* 80086298 000831F8 28 00 00 00 */ cmplwi r0, 0 -/* 8008629C 000831FC 41 82 00 38 */ beq lbl_800862D4 -/* 800862A0 00083200 C0 41 01 C4 */ lfs f2, 0x1c4(r1) -/* 800862A4 00083204 C0 21 01 C8 */ lfs f1, 0x1c8(r1) -/* 800862A8 00083208 C0 01 01 C0 */ lfs f0, 0x1c0(r1) -/* 800862AC 0008320C EC 44 00 B2 */ fmuls f2, f4, f2 -/* 800862B0 00083210 C0 62 8A 20 */ lfs f3, lbl_805AA740@sda21(r2) -/* 800862B4 00083214 EC 24 00 72 */ fmuls f1, f4, f1 -/* 800862B8 00083218 EC 04 00 32 */ fmuls f0, f4, f0 -/* 800862BC 0008321C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800862C0 00083220 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800862C4 00083224 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800862C8 00083228 D0 41 01 E8 */ stfs f2, 0x1e8(r1) -/* 800862CC 0008322C D0 01 01 E4 */ stfs f0, 0x1e4(r1) -/* 800862D0 00083230 D0 21 01 EC */ stfs f1, 0x1ec(r1) -lbl_800862D4: -/* 800862D4 00083234 3B 60 00 00 */ li r27, 0 -lbl_800862D8: -/* 800862D8 00083238 38 61 01 E4 */ addi r3, r1, 0x1e4 -/* 800862DC 0008323C 48 28 E5 DD */ bl Magnitude__9CVector3fCFv -/* 800862E0 00083240 C0 41 02 2C */ lfs f2, 0x22c(r1) -/* 800862E4 00083244 7F C6 F3 78 */ mr r6, r30 -/* 800862E8 00083248 C0 01 01 E4 */ lfs f0, 0x1e4(r1) -/* 800862EC 0008324C 38 61 02 2C */ addi r3, r1, 0x22c -/* 800862F0 00083250 C0 61 02 30 */ lfs f3, 0x230(r1) -/* 800862F4 00083254 38 81 01 0C */ addi r4, r1, 0x10c -/* 800862F8 00083258 EC 82 00 2A */ fadds f4, f2, f0 -/* 800862FC 0008325C C0 41 01 E8 */ lfs f2, 0x1e8(r1) -/* 80086300 00083260 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80086304 00083264 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80086308 00083268 EC 63 10 2A */ fadds f3, f3, f2 -/* 8008630C 0008326C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80086310 00083270 C0 41 02 34 */ lfs f2, 0x234(r1) -/* 80086314 00083274 C0 21 01 EC */ lfs f1, 0x1ec(r1) -/* 80086318 00083278 D0 81 01 B4 */ stfs f4, 0x1b4(r1) -/* 8008631C 0008327C EC 42 08 2A */ fadds f2, f2, f1 -/* 80086320 00083280 C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) -/* 80086324 00083284 D0 61 01 B8 */ stfs f3, 0x1b8(r1) -/* 80086328 00083288 D0 41 01 BC */ stfs f2, 0x1bc(r1) -/* 8008632C 0008328C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80086330 00083290 D0 81 01 0C */ stfs f4, 0x10c(r1) -/* 80086334 00083294 D0 61 01 10 */ stfs f3, 0x110(r1) -/* 80086338 00083298 D0 41 01 14 */ stfs f2, 0x114(r1) -/* 8008633C 0008329C 48 00 46 C1 */ bl DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager -/* 80086340 000832A0 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80086344 000832A4 7C 00 00 34 */ cntlzw r0, r0 -/* 80086348 000832A8 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 8008634C 000832AC 40 82 00 AC */ bne lbl_800863F8 -/* 80086350 000832B0 C3 21 00 24 */ lfs f25, 0x24(r1) -/* 80086354 000832B4 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80086358 000832B8 FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 8008635C 000832BC 4C 41 13 82 */ cror 2, 1, 2 -/* 80086360 000832C0 40 82 00 5C */ bne lbl_800863BC -/* 80086364 000832C4 38 61 01 00 */ addi r3, r1, 0x100 -/* 80086368 000832C8 38 81 01 E4 */ addi r4, r1, 0x1e4 -/* 8008636C 000832CC 48 28 E4 E5 */ bl AsNormalized__9CVector3fCFv -/* 80086370 000832D0 C0 41 01 08 */ lfs f2, 0x108(r1) -/* 80086374 000832D4 C0 21 01 00 */ lfs f1, 0x100(r1) -/* 80086378 000832D8 C0 01 01 04 */ lfs f0, 0x104(r1) -/* 8008637C 000832DC EC B9 00 B2 */ fmuls f5, f25, f2 -/* 80086380 000832E0 EC 99 00 72 */ fmuls f4, f25, f1 -/* 80086384 000832E4 C0 21 02 34 */ lfs f1, 0x234(r1) -/* 80086388 000832E8 EC 79 00 32 */ fmuls f3, f25, f0 -/* 8008638C 000832EC C0 41 02 30 */ lfs f2, 0x230(r1) -/* 80086390 000832F0 C0 01 02 2C */ lfs f0, 0x22c(r1) -/* 80086394 000832F4 EC 21 28 2A */ fadds f1, f1, f5 -/* 80086398 000832F8 EC 42 18 2A */ fadds f2, f2, f3 -/* 8008639C 000832FC D0 81 01 E4 */ stfs f4, 0x1e4(r1) -/* 800863A0 00083300 EC 00 20 2A */ fadds f0, f0, f4 -/* 800863A4 00083304 D0 61 01 E8 */ stfs f3, 0x1e8(r1) -/* 800863A8 00083308 D0 A1 01 EC */ stfs f5, 0x1ec(r1) -/* 800863AC 0008330C D0 01 01 B4 */ stfs f0, 0x1b4(r1) -/* 800863B0 00083310 D0 41 01 B8 */ stfs f2, 0x1b8(r1) -/* 800863B4 00083314 D0 21 01 BC */ stfs f1, 0x1bc(r1) -/* 800863B8 00083318 48 00 00 40 */ b lbl_800863F8 -lbl_800863BC: -/* 800863BC 0008331C C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 800863C0 00083320 C0 01 02 30 */ lfs f0, 0x230(r1) -/* 800863C4 00083324 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 800863C8 00083328 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 800863CC 0008332C EC A4 00 28 */ fsubs f5, f4, f0 -/* 800863D0 00083330 C0 41 02 34 */ lfs f2, 0x234(r1) -/* 800863D4 00083334 C0 01 02 2C */ lfs f0, 0x22c(r1) -/* 800863D8 00083338 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800863DC 0008333C D0 A1 01 E8 */ stfs f5, 0x1e8(r1) -/* 800863E0 00083340 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800863E4 00083344 D0 21 01 B4 */ stfs f1, 0x1b4(r1) -/* 800863E8 00083348 D0 01 01 E4 */ stfs f0, 0x1e4(r1) -/* 800863EC 0008334C D0 41 01 EC */ stfs f2, 0x1ec(r1) -/* 800863F0 00083350 D0 81 01 B8 */ stfs f4, 0x1b8(r1) -/* 800863F4 00083354 D0 61 01 BC */ stfs f3, 0x1bc(r1) -lbl_800863F8: -/* 800863F8 00083358 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 800863FC 0008335C 38 61 02 80 */ addi r3, r1, 0x280 -/* 80086400 00083360 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 80086404 00083364 38 BF 01 D8 */ addi r5, r31, 0x1d8 -/* 80086408 00083368 38 81 01 B4 */ addi r4, r1, 0x1b4 -/* 8008640C 0008336C 48 28 D7 05 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80086410 00083370 38 61 03 40 */ addi r3, r1, 0x340 -/* 80086414 00083374 38 81 02 80 */ addi r4, r1, 0x280 -/* 80086418 00083378 48 28 C7 5D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008641C 0008337C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80086420 00083380 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80086424 00083384 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80086428 00083388 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8008642C 0008338C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80086430 00083390 38 61 02 50 */ addi r3, r1, 0x250 -/* 80086434 00083394 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 80086438 00083398 38 BF 01 D8 */ addi r5, r31, 0x1d8 -/* 8008643C 0008339C D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 80086440 000833A0 D0 21 00 F8 */ stfs f1, 0xf8(r1) -/* 80086444 000833A4 D0 41 00 FC */ stfs f2, 0xfc(r1) -/* 80086448 000833A8 48 28 D6 C9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8008644C 000833AC 38 61 03 10 */ addi r3, r1, 0x310 -/* 80086450 000833B0 38 81 02 50 */ addi r4, r1, 0x250 -/* 80086454 000833B4 48 28 C7 21 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80086458 000833B8 38 7F 01 E4 */ addi r3, r31, 0x1e4 -/* 8008645C 000833BC 38 81 03 40 */ addi r4, r1, 0x340 -/* 80086460 000833C0 48 28 C6 E1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80086464 000833C4 38 61 03 40 */ addi r3, r1, 0x340 -/* 80086468 000833C8 38 81 03 10 */ addi r4, r1, 0x310 -/* 8008646C 000833CC 48 28 C6 D5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80086470 000833D0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80086474 000833D4 3B 83 66 A0 */ addi r28, r3, skZero3f@l -/* 80086478 000833D8 C0 5C 00 00 */ lfs f2, 0(r28) -/* 8008647C 000833DC C0 3C 00 04 */ lfs f1, 4(r28) -/* 80086480 000833E0 C0 1C 00 08 */ lfs f0, 8(r28) -/* 80086484 000833E4 D0 41 01 A8 */ stfs f2, 0x1a8(r1) -/* 80086488 000833E8 D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 8008648C 000833EC D0 01 01 B0 */ stfs f0, 0x1b0(r1) -/* 80086490 000833F0 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 80086494 000833F4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80086498 000833F8 40 82 00 10 */ bne lbl_800864A8 -/* 8008649C 000833FC 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 800864A0 00083400 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800864A4 00083404 40 82 00 3C */ bne lbl_800864E0 -lbl_800864A8: -/* 800864A8 00083408 FC 20 F8 90 */ fmr f1, f31 -/* 800864AC 0008340C 7F E4 FB 78 */ mr r4, r31 -/* 800864B0 00083410 7F C7 F3 78 */ mr r7, r30 -/* 800864B4 00083414 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 800864B8 00083418 38 A1 03 40 */ addi r5, r1, 0x340 -/* 800864BC 0008341C 38 C1 03 D0 */ addi r6, r1, 0x3d0 -/* 800864C0 00083420 48 00 4D 8D */ bl "AvoidGeometryFull__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -/* 800864C4 00083424 C0 41 00 E8 */ lfs f2, 0xe8(r1) -/* 800864C8 00083428 C0 21 00 EC */ lfs f1, 0xec(r1) -/* 800864CC 0008342C C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 800864D0 00083430 D0 41 01 A8 */ stfs f2, 0x1a8(r1) -/* 800864D4 00083434 D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 800864D8 00083438 D0 01 01 B0 */ stfs f0, 0x1b0(r1) -/* 800864DC 0008343C 48 00 00 38 */ b lbl_80086514 -lbl_800864E0: -/* 800864E0 00083440 FC 20 F8 90 */ fmr f1, f31 -/* 800864E4 00083444 7F E4 FB 78 */ mr r4, r31 -/* 800864E8 00083448 7F C7 F3 78 */ mr r7, r30 -/* 800864EC 0008344C 38 61 00 DC */ addi r3, r1, 0xdc -/* 800864F0 00083450 38 A1 03 40 */ addi r5, r1, 0x340 -/* 800864F4 00083454 38 C1 03 D0 */ addi r6, r1, 0x3d0 -/* 800864F8 00083458 48 00 4C 21 */ bl "AvoidGeometry__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -/* 800864FC 0008345C C0 41 00 DC */ lfs f2, 0xdc(r1) -/* 80086500 00083460 C0 21 00 E0 */ lfs f1, 0xe0(r1) -/* 80086504 00083464 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 80086508 00083468 D0 41 01 A8 */ stfs f2, 0x1a8(r1) -/* 8008650C 0008346C D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 80086510 00083470 D0 01 01 B0 */ stfs f0, 0x1b0(r1) -lbl_80086514: -/* 80086514 00083474 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 80086518 00083478 38 61 00 50 */ addi r3, r1, 0x50 -/* 8008651C 0008347C C0 01 02 30 */ lfs f0, 0x230(r1) -/* 80086520 00083480 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80086524 00083484 EC 82 00 28 */ fsubs f4, f2, f0 -/* 80086528 00083488 C0 01 02 2C */ lfs f0, 0x22c(r1) -/* 8008652C 0008348C C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 80086530 00083490 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80086534 00083494 C0 21 02 34 */ lfs f1, 0x234(r1) -/* 80086538 00083498 FC 40 20 18 */ frsp f2, f4 -/* 8008653C 0008349C EC 63 08 28 */ fsubs f3, f3, f1 -/* 80086540 000834A0 D0 81 00 C8 */ stfs f4, 0xc8(r1) -/* 80086544 000834A4 FC 20 00 18 */ frsp f1, f0 -/* 80086548 000834A8 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 8008654C 000834AC D0 61 00 CC */ stfs f3, 0xcc(r1) -/* 80086550 000834B0 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 80086554 000834B4 D0 81 00 D4 */ stfs f4, 0xd4(r1) -/* 80086558 000834B8 D0 61 00 D8 */ stfs f3, 0xd8(r1) -/* 8008655C 000834BC 48 28 DC A5 */ bl __ct__9CVector2fFff -/* 80086560 000834C0 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 80086564 000834C4 38 61 01 9C */ addi r3, r1, 0x19c -/* 80086568 000834C8 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 8008656C 000834CC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80086570 000834D0 D0 41 01 9C */ stfs f2, 0x19c(r1) -/* 80086574 000834D4 D0 21 01 A0 */ stfs f1, 0x1a0(r1) -/* 80086578 000834D8 D0 01 01 A4 */ stfs f0, 0x1a4(r1) -/* 8008657C 000834DC 48 28 E3 3D */ bl Magnitude__9CVector3fCFv -/* 80086580 000834E0 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 80086584 000834E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80086588 000834E8 40 80 00 F8 */ bge lbl_80086680 -/* 8008658C 000834EC 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 80086590 000834F0 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80086594 000834F4 41 82 00 58 */ beq lbl_800865EC -/* 80086598 000834F8 80 1F 04 78 */ lwz r0, 0x478(r31) -/* 8008659C 000834FC 2C 00 00 02 */ cmpwi r0, 2 -/* 800865A0 00083500 40 81 00 4C */ ble lbl_800865EC -/* 800865A4 00083504 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 800865A8 00083508 3C 00 43 30 */ lis r0, 0x4330 -/* 800865AC 0008350C 90 61 0B DC */ stw r3, 0xbdc(r1) -/* 800865B0 00083510 C8 22 89 C8 */ lfd f1, lbl_805AA6E8@sda21(r2) -/* 800865B4 00083514 90 01 0B D8 */ stw r0, 0xbd8(r1) -/* 800865B8 00083518 C0 82 89 B8 */ lfs f4, lbl_805AA6D8@sda21(r2) -/* 800865BC 0008351C C8 01 0B D8 */ lfd f0, 0xbd8(r1) -/* 800865C0 00083520 C0 41 01 A8 */ lfs f2, 0x1a8(r1) -/* 800865C4 00083524 EC 60 08 28 */ fsubs f3, f0, f1 -/* 800865C8 00083528 C0 21 01 AC */ lfs f1, 0x1ac(r1) -/* 800865CC 0008352C C0 01 01 B0 */ lfs f0, 0x1b0(r1) -/* 800865D0 00083530 EC 64 18 24 */ fdivs f3, f4, f3 -/* 800865D4 00083534 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 800865D8 00083538 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 800865DC 0008353C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 800865E0 00083540 D0 41 01 A8 */ stfs f2, 0x1a8(r1) -/* 800865E4 00083544 D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 800865E8 00083548 D0 01 01 B0 */ stfs f0, 0x1b0(r1) -lbl_800865EC: -/* 800865EC 0008354C C0 81 00 24 */ lfs f4, 0x24(r1) -/* 800865F0 00083550 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) -/* 800865F4 00083554 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 800865F8 00083558 40 80 00 60 */ bge lbl_80086658 -/* 800865FC 0008355C C0 41 01 A8 */ lfs f2, 0x1a8(r1) -/* 80086600 00083560 C0 62 8A 04 */ lfs f3, lbl_805AA724@sda21(r2) -/* 80086604 00083564 C0 21 01 AC */ lfs f1, 0x1ac(r1) -/* 80086608 00083568 C0 01 01 B0 */ lfs f0, 0x1b0(r1) -/* 8008660C 0008356C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80086610 00083570 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80086614 00083574 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80086618 00083578 D0 41 01 A8 */ stfs f2, 0x1a8(r1) -/* 8008661C 0008357C D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 80086620 00083580 D0 01 01 B0 */ stfs f0, 0x1b0(r1) -/* 80086624 00083584 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 80086628 00083588 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8008662C 0008358C 41 82 00 2C */ beq lbl_80086658 -/* 80086630 00083590 80 1F 04 78 */ lwz r0, 0x478(r31) -/* 80086634 00083594 2C 00 00 00 */ cmpwi r0, 0 -/* 80086638 00083598 40 81 00 20 */ ble lbl_80086658 -/* 8008663C 0008359C C0 7F 03 08 */ lfs f3, 0x308(r31) -/* 80086640 000835A0 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80086644 000835A4 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80086648 000835A8 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8008664C 000835AC D0 41 01 A8 */ stfs f2, 0x1a8(r1) -/* 80086650 000835B0 D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 80086654 000835B4 D0 01 01 B0 */ stfs f0, 0x1b0(r1) -lbl_80086658: -/* 80086658 000835B8 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 8008665C 000835BC FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80086660 000835C0 40 80 00 20 */ bge lbl_80086680 -/* 80086664 000835C4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80086668 000835C8 C0 3C 00 04 */ lfs f1, 4(r28) -/* 8008666C 000835CC C0 1C 00 08 */ lfs f0, 8(r28) -/* 80086670 000835D0 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) -/* 80086674 000835D4 D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 80086678 000835D8 D0 41 01 A8 */ stfs f2, 0x1a8(r1) -/* 8008667C 000835DC D0 01 01 B0 */ stfs f0, 0x1b0(r1) -lbl_80086680: -/* 80086680 000835E0 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80086684 000835E4 38 81 03 40 */ addi r4, r1, 0x340 -/* 80086688 000835E8 38 A1 01 A8 */ addi r5, r1, 0x1a8 -/* 8008668C 000835EC 48 28 C3 F5 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 80086690 000835F0 C0 61 00 BC */ lfs f3, 0xbc(r1) -/* 80086694 000835F4 38 61 01 90 */ addi r3, r1, 0x190 -/* 80086698 000835F8 C0 21 01 B8 */ lfs f1, 0x1b8(r1) -/* 8008669C 000835FC C0 41 00 C0 */ lfs f2, 0xc0(r1) -/* 800866A0 00083600 C0 01 01 BC */ lfs f0, 0x1bc(r1) -/* 800866A4 00083604 EC A3 08 2A */ fadds f5, f3, f1 -/* 800866A8 00083608 C0 81 02 30 */ lfs f4, 0x230(r1) -/* 800866AC 0008360C C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 800866B0 00083610 EC 62 00 2A */ fadds f3, f2, f0 -/* 800866B4 00083614 C0 01 01 B4 */ lfs f0, 0x1b4(r1) -/* 800866B8 00083618 EC 85 20 28 */ fsubs f4, f5, f4 -/* 800866BC 0008361C C0 41 02 34 */ lfs f2, 0x234(r1) -/* 800866C0 00083620 EC 21 00 2A */ fadds f1, f1, f0 -/* 800866C4 00083624 C0 01 02 2C */ lfs f0, 0x22c(r1) -/* 800866C8 00083628 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800866CC 0008362C D0 81 01 94 */ stfs f4, 0x194(r1) -/* 800866D0 00083630 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800866D4 00083634 D0 41 01 98 */ stfs f2, 0x198(r1) -/* 800866D8 00083638 D0 01 01 90 */ stfs f0, 0x190(r1) -/* 800866DC 0008363C 48 28 E0 1D */ bl CanBeNormalized__9CVector3fCFv -/* 800866E0 00083640 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800866E4 00083644 41 82 00 0C */ beq lbl_800866F0 -/* 800866E8 00083648 38 61 01 90 */ addi r3, r1, 0x190 -/* 800866EC 0008364C 48 28 E2 0D */ bl Normalize__9CVector3fFv -lbl_800866F0: -/* 800866F0 00083650 C0 C1 00 2C */ lfs f6, 0x2c(r1) -/* 800866F4 00083654 C0 41 01 90 */ lfs f2, 0x190(r1) -/* 800866F8 00083658 C0 21 01 94 */ lfs f1, 0x194(r1) -/* 800866FC 0008365C C0 01 01 98 */ lfs f0, 0x198(r1) -/* 80086700 00083660 EC 86 00 B2 */ fmuls f4, f6, f2 -/* 80086704 00083664 C0 A1 02 2C */ lfs f5, 0x22c(r1) -/* 80086708 00083668 EC 46 00 72 */ fmuls f2, f6, f1 -/* 8008670C 0008366C C0 61 02 30 */ lfs f3, 0x230(r1) -/* 80086710 00083670 EC 06 00 32 */ fmuls f0, f6, f0 -/* 80086714 00083674 C0 21 02 34 */ lfs f1, 0x234(r1) -/* 80086718 00083678 80 1F 01 88 */ lwz r0, 0x188(r31) -/* 8008671C 0008367C EF 65 20 2A */ fadds f27, f5, f4 -/* 80086720 00083680 EF 43 10 2A */ fadds f26, f3, f2 -/* 80086724 00083684 2C 00 00 06 */ cmpwi r0, 6 -/* 80086728 00083688 EF 21 00 2A */ fadds f25, f1, f0 -/* 8008672C 0008368C 40 82 00 48 */ bne lbl_80086774 -/* 80086730 00083690 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 80086734 00083694 38 61 00 10 */ addi r3, r1, 0x10 -/* 80086738 00083698 4B F8 2B 85 */ bl GetPathCameraId__14CCameraManagerCFv -/* 8008673C 0008369C A0 01 00 10 */ lhz r0, 0x10(r1) -/* 80086740 000836A0 7F C3 F3 78 */ mr r3, r30 -/* 80086744 000836A4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80086748 000836A8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8008674C 000836AC 4B FC 5E 59 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80086750 000836B0 7C 64 1B 78 */ mr r4, r3 -/* 80086754 000836B4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80086758 000836B8 48 02 66 7D */ bl "__ct__25TCastToPtr<11CPathCamera>FP7CEntity" -/* 8008675C 000836BC 80 63 00 04 */ lwz r3, 4(r3) -/* 80086760 000836C0 28 03 00 00 */ cmplwi r3, 0 -/* 80086764 000836C4 41 82 00 10 */ beq lbl_80086774 -/* 80086768 000836C8 C3 63 00 40 */ lfs f27, 0x40(r3) -/* 8008676C 000836CC C3 43 00 50 */ lfs f26, 0x50(r3) -/* 80086770 000836D0 C3 23 00 60 */ lfs f25, 0x60(r3) -lbl_80086774: -/* 80086774 000836D4 C0 5F 02 98 */ lfs f2, 0x298(r31) -/* 80086778 000836D8 38 61 01 90 */ addi r3, r1, 0x190 -/* 8008677C 000836DC C0 3F 02 9C */ lfs f1, 0x29c(r31) -/* 80086780 000836E0 C0 1F 02 94 */ lfs f0, 0x294(r31) -/* 80086784 000836E4 EC 42 D0 28 */ fsubs f2, f2, f26 -/* 80086788 000836E8 EC 21 C8 28 */ fsubs f1, f1, f25 -/* 8008678C 000836EC EC 00 D8 28 */ fsubs f0, f0, f27 -/* 80086790 000836F0 D0 41 01 94 */ stfs f2, 0x194(r1) -/* 80086794 000836F4 D0 01 01 90 */ stfs f0, 0x190(r1) -/* 80086798 000836F8 D0 21 01 98 */ stfs f1, 0x198(r1) -/* 8008679C 000836FC 48 28 E1 1D */ bl Magnitude__9CVector3fCFv -/* 800867A0 00083700 FF 00 08 90 */ fmr f24, f1 -/* 800867A4 00083704 38 61 01 90 */ addi r3, r1, 0x190 -/* 800867A8 00083708 48 28 DF 51 */ bl CanBeNormalized__9CVector3fCFv -/* 800867AC 0008370C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800867B0 00083710 41 82 00 0C */ beq lbl_800867BC -/* 800867B4 00083714 38 61 01 90 */ addi r3, r1, 0x190 -/* 800867B8 00083718 48 28 E1 41 */ bl Normalize__9CVector3fFv -lbl_800867BC: -/* 800867BC 0008371C FC 40 C0 90 */ fmr f2, f24 -/* 800867C0 00083720 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 800867C4 00083724 FC 60 F8 90 */ fmr f3, f31 -/* 800867C8 00083728 38 7F 02 28 */ addi r3, r31, 0x228 -/* 800867CC 0008372C 4B FD 70 6D */ bl ApplyDistanceSpring__13CCameraSpringFfff -/* 800867D0 00083730 C0 01 01 90 */ lfs f0, 0x190(r1) -/* 800867D4 00083734 38 61 01 84 */ addi r3, r1, 0x184 -/* 800867D8 00083738 C0 61 01 94 */ lfs f3, 0x194(r1) -/* 800867DC 0008373C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800867E0 00083740 C0 41 01 98 */ lfs f2, 0x198(r1) -/* 800867E4 00083744 EC 61 00 F2 */ fmuls f3, f1, f3 -/* 800867E8 00083748 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800867EC 0008374C EC 1B 00 2A */ fadds f0, f27, f0 -/* 800867F0 00083750 EC 5A 18 2A */ fadds f2, f26, f3 -/* 800867F4 00083754 EC 39 08 2A */ fadds f1, f25, f1 -/* 800867F8 00083758 D0 1F 02 94 */ stfs f0, 0x294(r31) -/* 800867FC 0008375C D0 5F 02 98 */ stfs f2, 0x298(r31) -/* 80086800 00083760 D0 3F 02 9C */ stfs f1, 0x29c(r31) -/* 80086804 00083764 C0 5F 02 98 */ lfs f2, 0x298(r31) -/* 80086808 00083768 C0 3F 02 9C */ lfs f1, 0x29c(r31) -/* 8008680C 0008376C C0 1F 02 94 */ lfs f0, 0x294(r31) -/* 80086810 00083770 EC 5D 10 28 */ fsubs f2, f29, f2 -/* 80086814 00083774 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 80086818 00083778 EC 1C 00 28 */ fsubs f0, f28, f0 -/* 8008681C 0008377C D0 41 01 88 */ stfs f2, 0x188(r1) -/* 80086820 00083780 D0 01 01 84 */ stfs f0, 0x184(r1) -/* 80086824 00083784 D0 21 01 8C */ stfs f1, 0x18c(r1) -/* 80086828 00083788 48 28 E0 91 */ bl Magnitude__9CVector3fCFv -/* 8008682C 0008378C FF 00 08 90 */ fmr f24, f1 -/* 80086830 00083790 38 61 01 84 */ addi r3, r1, 0x184 -/* 80086834 00083794 48 28 DE C5 */ bl CanBeNormalized__9CVector3fCFv -/* 80086838 00083798 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008683C 0008379C 41 82 00 0C */ beq lbl_80086848 -/* 80086840 000837A0 38 61 01 84 */ addi r3, r1, 0x184 -/* 80086844 000837A4 48 28 E0 B5 */ bl Normalize__9CVector3fFv -lbl_80086848: -/* 80086848 000837A8 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 8008684C 000837AC C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80086850 000837B0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80086854 000837B4 41 82 00 08 */ beq lbl_8008685C -/* 80086858 000837B8 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) -lbl_8008685C: -/* 8008685C 000837BC FC 40 C0 90 */ fmr f2, f24 -/* 80086860 000837C0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80086864 000837C4 EC 7F 00 32 */ fmuls f3, f31, f0 -/* 80086868 000837C8 38 7F 02 50 */ addi r3, r31, 0x250 -/* 8008686C 000837CC 4B FD 6F CD */ bl ApplyDistanceSpring__13CCameraSpringFfff -/* 80086870 000837D0 80 1F 04 00 */ lwz r0, 0x400(r31) -/* 80086874 000837D4 2C 00 00 03 */ cmpwi r0, 3 -/* 80086878 000837D8 40 82 00 1C */ bne lbl_80086894 -/* 8008687C 000837DC FC 40 C0 90 */ fmr f2, f24 -/* 80086880 000837E0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80086884 000837E4 FC 60 F8 90 */ fmr f3, f31 -/* 80086888 000837E8 38 7F 04 48 */ addi r3, r31, 0x448 -/* 8008688C 000837EC 4B FD 6F AD */ bl ApplyDistanceSpring__13CCameraSpringFfff -/* 80086890 000837F0 48 00 00 3C */ b lbl_800868CC -lbl_80086894: -/* 80086894 000837F4 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 80086898 000837F8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8008689C 000837FC 41 82 00 30 */ beq lbl_800868CC -/* 800868A0 00083800 80 1F 04 00 */ lwz r0, 0x400(r31) -/* 800868A4 00083804 2C 00 00 02 */ cmpwi r0, 2 -/* 800868A8 00083808 41 82 00 10 */ beq lbl_800868B8 -/* 800868AC 0008380C 80 1F 01 88 */ lwz r0, 0x188(r31) -/* 800868B0 00083810 2C 00 00 01 */ cmpwi r0, 1 -/* 800868B4 00083814 40 82 00 18 */ bne lbl_800868CC -lbl_800868B8: -/* 800868B8 00083818 FC 40 C0 90 */ fmr f2, f24 -/* 800868BC 0008381C C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 800868C0 00083820 FC 60 F8 90 */ fmr f3, f31 -/* 800868C4 00083824 38 7F 04 1C */ addi r3, r31, 0x41c -/* 800868C8 00083828 4B FD 6F 71 */ bl ApplyDistanceSpring__13CCameraSpringFfff -lbl_800868CC: -/* 800868CC 0008382C C0 61 01 88 */ lfs f3, 0x188(r1) -/* 800868D0 00083830 C0 41 01 8C */ lfs f2, 0x18c(r1) -/* 800868D4 00083834 C0 01 01 84 */ lfs f0, 0x184(r1) -/* 800868D8 00083838 EC 81 00 F2 */ fmuls f4, f1, f3 -/* 800868DC 0008383C C0 BF 02 98 */ lfs f5, 0x298(r31) -/* 800868E0 00083840 EC 41 00 B2 */ fmuls f2, f1, f2 -/* 800868E4 00083844 C0 7F 02 9C */ lfs f3, 0x29c(r31) -/* 800868E8 00083848 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800868EC 0008384C C0 3F 02 94 */ lfs f1, 0x294(r31) -/* 800868F0 00083850 EC 85 20 2A */ fadds f4, f5, f4 -/* 800868F4 00083854 EC 63 10 2A */ fadds f3, f3, f2 -/* 800868F8 00083858 EC 41 00 2A */ fadds f2, f1, f0 -/* 800868FC 0008385C D0 81 01 7C */ stfs f4, 0x17c(r1) -/* 80086900 00083860 D0 41 01 78 */ stfs f2, 0x178(r1) -/* 80086904 00083864 D0 61 01 80 */ stfs f3, 0x180(r1) -/* 80086908 00083868 80 7D 07 68 */ lwz r3, 0x768(r29) -/* 8008690C 0008386C 80 03 18 7C */ lwz r0, 0x187c(r3) -/* 80086910 00083870 2C 00 00 01 */ cmpwi r0, 1 -/* 80086914 00083874 41 82 00 68 */ beq lbl_8008697C -/* 80086918 00083878 88 1F 01 8E */ lbz r0, 0x18e(r31) -/* 8008691C 0008387C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80086920 00083880 40 82 00 5C */ bne lbl_8008697C -/* 80086924 00083884 C0 3D 01 40 */ lfs f1, 0x140(r29) -/* 80086928 00083888 C0 02 8A 40 */ lfs f0, lbl_805AA760@sda21(r2) -/* 8008692C 0008388C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80086930 00083890 40 81 00 4C */ ble lbl_8008697C -/* 80086934 00083894 EC 63 F0 28 */ fsubs f3, f3, f30 -/* 80086938 00083898 C0 02 89 BC */ lfs f0, lbl_805AA6DC@sda21(r2) -/* 8008693C 0008389C EC 22 E0 28 */ fsubs f1, f2, f28 -/* 80086940 000838A0 EC A0 07 F2 */ fmuls f5, f0, f31 -/* 80086944 000838A4 FC 40 1A 10 */ fabs f2, f3 -/* 80086948 000838A8 EC 04 E8 28 */ fsubs f0, f4, f29 -/* 8008694C 000838AC FC 02 28 40 */ fcmpo cr0, f2, f5 -/* 80086950 000838B0 40 81 00 14 */ ble lbl_80086964 -/* 80086954 000838B4 C0 82 89 F8 */ lfs f4, lbl_805AA718@sda21(r2) -/* 80086958 000838B8 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 8008695C 000838BC FC 43 20 AE */ fsel f2, f3, f2, f4 -/* 80086960 000838C0 EC 65 00 B2 */ fmuls f3, f5, f2 -lbl_80086964: -/* 80086964 000838C4 EC 5C 08 2A */ fadds f2, f28, f1 -/* 80086968 000838C8 EC 3D 00 2A */ fadds f1, f29, f0 -/* 8008696C 000838CC EC 1E 18 2A */ fadds f0, f30, f3 -/* 80086970 000838D0 D0 41 01 78 */ stfs f2, 0x178(r1) -/* 80086974 000838D4 D0 21 01 7C */ stfs f1, 0x17c(r1) -/* 80086978 000838D8 D0 01 01 80 */ stfs f0, 0x180(r1) -lbl_8008697C: -/* 8008697C 000838DC 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80086980 000838E0 41 82 00 54 */ beq lbl_800869D4 -/* 80086984 000838E4 80 1F 04 00 */ lwz r0, 0x400(r31) -/* 80086988 000838E8 2C 00 00 04 */ cmpwi r0, 4 -/* 8008698C 000838EC 41 82 00 48 */ beq lbl_800869D4 -/* 80086990 000838F0 80 A1 01 78 */ lwz r5, 0x178(r1) -/* 80086994 000838F4 FC 20 F8 90 */ fmr f1, f31 -/* 80086998 000838F8 80 C1 01 7C */ lwz r6, 0x17c(r1) -/* 8008699C 000838FC 7F E4 FB 78 */ mr r4, r31 -/* 800869A0 00083900 80 01 01 80 */ lwz r0, 0x180(r1) -/* 800869A4 00083904 38 61 00 AC */ addi r3, r1, 0xac -/* 800869A8 00083908 90 A1 00 A0 */ stw r5, 0xa0(r1) -/* 800869AC 0008390C 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 800869B0 00083910 90 C1 00 A4 */ stw r6, 0xa4(r1) -/* 800869B4 00083914 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 800869B8 00083918 48 00 1D 21 */ bl InterpolateCameraElevation__11CBallCameraCFRC9CVector3ff -/* 800869BC 0008391C C0 41 00 AC */ lfs f2, 0xac(r1) -/* 800869C0 00083920 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 800869C4 00083924 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 800869C8 00083928 D0 41 01 78 */ stfs f2, 0x178(r1) -/* 800869CC 0008392C D0 21 01 7C */ stfs f1, 0x17c(r1) -/* 800869D0 00083930 D0 01 01 80 */ stfs f0, 0x180(r1) -lbl_800869D4: -/* 800869D4 00083934 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 800869D8 00083938 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800869DC 0008393C 41 82 00 14 */ beq lbl_800869F0 -/* 800869E0 00083940 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 800869E4 00083944 C0 01 02 34 */ lfs f0, 0x234(r1) -/* 800869E8 00083948 EC 01 00 2A */ fadds f0, f1, f0 -/* 800869EC 0008394C D0 01 01 80 */ stfs f0, 0x180(r1) -lbl_800869F0: -/* 800869F0 00083950 38 61 01 9C */ addi r3, r1, 0x19c -/* 800869F4 00083954 48 28 DE C5 */ bl Magnitude__9CVector3fCFv -/* 800869F8 00083958 C0 42 89 E0 */ lfs f2, lbl_805AA700@sda21(r2) -/* 800869FC 0008395C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80086A00 00083960 40 80 00 24 */ bge lbl_80086A24 -/* 80086A04 00083964 C0 21 02 34 */ lfs f1, 0x234(r1) -/* 80086A08 00083968 C0 01 01 80 */ lfs f0, 0x180(r1) -/* 80086A0C 0008396C EC 22 08 2A */ fadds f1, f2, f1 -/* 80086A10 00083970 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80086A14 00083974 40 80 00 08 */ bge lbl_80086A1C -/* 80086A18 00083978 D0 21 01 80 */ stfs f1, 0x180(r1) -lbl_80086A1C: -/* 80086A1C 0008397C 38 7F 02 14 */ addi r3, r31, 0x214 -/* 80086A20 00083980 4B FD 6D 91 */ bl Reset__13CCameraSpringFv -lbl_80086A24: -/* 80086A24 00083984 80 A1 01 78 */ lwz r5, 0x178(r1) -/* 80086A28 00083988 7F E4 FB 78 */ mr r4, r31 -/* 80086A2C 0008398C 80 E1 01 7C */ lwz r7, 0x17c(r1) -/* 80086A30 00083990 7F C6 F3 78 */ mr r6, r30 -/* 80086A34 00083994 80 01 01 80 */ lwz r0, 0x180(r1) -/* 80086A38 00083998 38 61 00 94 */ addi r3, r1, 0x94 -/* 80086A3C 0008399C 90 A1 00 88 */ stw r5, 0x88(r1) -/* 80086A40 000839A0 38 A1 00 88 */ addi r5, r1, 0x88 -/* 80086A44 000839A4 90 E1 00 8C */ stw r7, 0x8c(r1) -/* 80086A48 000839A8 90 01 00 90 */ stw r0, 0x90(r1) -/* 80086A4C 000839AC 4B FF DE 7D */ bl ClampElevationToWater__11CBallCameraCFRC9CVector3fR13CStateManager -/* 80086A50 000839B0 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 80086A54 000839B4 38 61 01 9C */ addi r3, r1, 0x19c -/* 80086A58 000839B8 C0 21 00 98 */ lfs f1, 0x98(r1) -/* 80086A5C 000839BC C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 80086A60 000839C0 D0 41 01 78 */ stfs f2, 0x178(r1) -/* 80086A64 000839C4 D0 21 01 7C */ stfs f1, 0x17c(r1) -/* 80086A68 000839C8 D0 01 01 80 */ stfs f0, 0x180(r1) -/* 80086A6C 000839CC 48 28 DE 4D */ bl Magnitude__9CVector3fCFv -/* 80086A70 000839D0 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 80086A74 000839D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80086A78 000839D8 40 80 00 8C */ bge lbl_80086B04 -/* 80086A7C 000839DC A0 BF 03 DC */ lhz r5, 0x3dc(r31) -/* 80086A80 000839E0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80086A84 000839E4 7C 05 00 40 */ cmplw r5, r0 -/* 80086A88 000839E8 41 82 00 7C */ beq lbl_80086B04 -/* 80086A8C 000839EC C0 3F 03 E0 */ lfs f1, 0x3e0(r31) -/* 80086A90 000839F0 C0 02 8A 44 */ lfs f0, lbl_805AA764@sda21(r2) -/* 80086A94 000839F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80086A98 000839F8 40 80 00 6C */ bge lbl_80086B04 -/* 80086A9C 000839FC B0 A1 00 08 */ sth r5, 8(r1) -/* 80086AA0 00083A00 7F C3 F3 78 */ mr r3, r30 -/* 80086AA4 00083A04 38 81 00 0C */ addi r4, r1, 0xc -/* 80086AA8 00083A08 B0 A1 00 0C */ sth r5, 0xc(r1) -/* 80086AAC 00083A0C 4B FC 5A F9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80086AB0 00083A10 7C 64 1B 78 */ mr r4, r3 -/* 80086AB4 00083A14 38 61 00 30 */ addi r3, r1, 0x30 -/* 80086AB8 00083A18 48 02 36 39 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 80086ABC 00083A1C 80 63 00 04 */ lwz r3, 4(r3) -/* 80086AC0 00083A20 28 03 00 00 */ cmplwi r3, 0 -/* 80086AC4 00083A24 41 82 00 40 */ beq lbl_80086B04 -/* 80086AC8 00083A28 88 03 02 A8 */ lbz r0, 0x2a8(r3) -/* 80086ACC 00083A2C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80086AD0 00083A30 40 82 00 34 */ bne lbl_80086B04 -/* 80086AD4 00083A34 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80086AD8 00083A38 D0 01 01 78 */ stfs f0, 0x178(r1) -/* 80086ADC 00083A3C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80086AE0 00083A40 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80086AE4 00083A44 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80086AE8 00083A48 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 80086AEC 00083A4C D0 41 00 84 */ stfs f2, 0x84(r1) -/* 80086AF0 00083A50 D0 21 01 7C */ stfs f1, 0x17c(r1) -/* 80086AF4 00083A54 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80086AF8 00083A58 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80086AFC 00083A5C D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80086B00 00083A60 D0 41 01 80 */ stfs f2, 0x180(r1) -lbl_80086B04: -/* 80086B04 00083A64 FC 20 F8 90 */ fmr f1, f31 -/* 80086B08 00083A68 C3 21 01 80 */ lfs f25, 0x180(r1) -/* 80086B0C 00083A6C 7F E4 FB 78 */ mr r4, r31 -/* 80086B10 00083A70 7F C6 F3 78 */ mr r6, r30 -/* 80086B14 00083A74 38 61 00 64 */ addi r3, r1, 0x64 -/* 80086B18 00083A78 38 A1 01 78 */ addi r5, r1, 0x178 -/* 80086B1C 00083A7C 4B FF DA 4D */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager -/* 80086B20 00083A80 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 80086B24 00083A84 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80086B28 00083A88 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80086B2C 00083A8C D0 41 01 78 */ stfs f2, 0x178(r1) -/* 80086B30 00083A90 D0 21 01 7C */ stfs f1, 0x17c(r1) -/* 80086B34 00083A94 D0 01 01 80 */ stfs f0, 0x180(r1) -/* 80086B38 00083A98 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 80086B3C 00083A9C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80086B40 00083AA0 41 82 00 44 */ beq lbl_80086B84 -/* 80086B44 00083AA4 80 1F 04 78 */ lwz r0, 0x478(r31) -/* 80086B48 00083AA8 2C 00 00 00 */ cmpwi r0, 0 -/* 80086B4C 00083AAC 40 81 00 38 */ ble lbl_80086B84 -/* 80086B50 00083AB0 FC 20 F8 90 */ fmr f1, f31 -/* 80086B54 00083AB4 D3 21 01 80 */ stfs f25, 0x180(r1) -/* 80086B58 00083AB8 7F E4 FB 78 */ mr r4, r31 -/* 80086B5C 00083ABC 7F C6 F3 78 */ mr r6, r30 -/* 80086B60 00083AC0 38 61 00 58 */ addi r3, r1, 0x58 -/* 80086B64 00083AC4 38 A1 01 78 */ addi r5, r1, 0x178 -/* 80086B68 00083AC8 4B FF DA 01 */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager -/* 80086B6C 00083ACC C0 41 00 58 */ lfs f2, 0x58(r1) -/* 80086B70 00083AD0 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 80086B74 00083AD4 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 80086B78 00083AD8 D0 41 01 78 */ stfs f2, 0x178(r1) -/* 80086B7C 00083ADC D0 21 01 7C */ stfs f1, 0x17c(r1) -/* 80086B80 00083AE0 D0 01 01 80 */ stfs f0, 0x180(r1) -lbl_80086B84: -/* 80086B84 00083AE4 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) -/* 80086B88 00083AE8 C0 61 01 78 */ lfs f3, 0x178(r1) -/* 80086B8C 00083AEC C0 3F 01 DC */ lfs f1, 0x1dc(r31) -/* 80086B90 00083AF0 C0 81 01 7C */ lfs f4, 0x17c(r1) -/* 80086B94 00083AF4 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80086B98 00083AF8 C0 1F 01 E0 */ lfs f0, 0x1e0(r31) -/* 80086B9C 00083AFC C0 A1 01 80 */ lfs f5, 0x180(r1) -/* 80086BA0 00083B00 EC 21 20 28 */ fsubs f1, f1, f4 -/* 80086BA4 00083B04 D0 41 01 6C */ stfs f2, 0x16c(r1) -/* 80086BA8 00083B08 EC 00 28 28 */ fsubs f0, f0, f5 -/* 80086BAC 00083B0C D0 21 01 70 */ stfs f1, 0x170(r1) -/* 80086BB0 00083B10 D0 01 01 74 */ stfs f0, 0x174(r1) -/* 80086BB4 00083B14 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 80086BB8 00083B18 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80086BBC 00083B1C 41 82 00 28 */ beq lbl_80086BE4 -/* 80086BC0 00083B20 C0 41 02 30 */ lfs f2, 0x230(r1) -/* 80086BC4 00083B24 C0 21 02 34 */ lfs f1, 0x234(r1) -/* 80086BC8 00083B28 C0 01 02 2C */ lfs f0, 0x22c(r1) -/* 80086BCC 00083B2C EC 42 20 28 */ fsubs f2, f2, f4 -/* 80086BD0 00083B30 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80086BD4 00083B34 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80086BD8 00083B38 D0 41 01 70 */ stfs f2, 0x170(r1) -/* 80086BDC 00083B3C D0 01 01 6C */ stfs f0, 0x16c(r1) -/* 80086BE0 00083B40 D0 21 01 74 */ stfs f1, 0x174(r1) -lbl_80086BE4: -/* 80086BE4 00083B44 38 61 01 6C */ addi r3, r1, 0x16c -/* 80086BE8 00083B48 48 28 DB 11 */ bl CanBeNormalized__9CVector3fCFv -/* 80086BEC 00083B4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80086BF0 00083B50 41 82 00 24 */ beq lbl_80086C14 -/* 80086BF4 00083B54 38 61 01 6C */ addi r3, r1, 0x16c -/* 80086BF8 00083B58 48 28 DD 01 */ bl Normalize__9CVector3fFv -/* 80086BFC 00083B5C FC 20 F8 90 */ fmr f1, f31 -/* 80086C00 00083B60 7F E3 FB 78 */ mr r3, r31 -/* 80086C04 00083B64 7F C6 F3 78 */ mr r6, r30 -/* 80086C08 00083B68 38 81 01 6C */ addi r4, r1, 0x16c -/* 80086C0C 00083B6C 38 A1 01 78 */ addi r5, r1, 0x178 -/* 80086C10 00083B70 48 00 1E CD */ bl UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager -lbl_80086C14: -/* 80086C14 00083B74 C0 3F 04 70 */ lfs f1, 0x470(r31) -/* 80086C18 00083B78 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80086C1C 00083B7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80086C20 00083B80 40 81 00 0C */ ble lbl_80086C2C -/* 80086C24 00083B84 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 80086C28 00083B88 D0 1F 04 70 */ stfs f0, 0x470(r31) -lbl_80086C2C: -/* 80086C2C 00083B8C 80 A1 03 D0 */ lwz r5, 0x3d0(r1) -/* 80086C30 00083B90 38 60 00 00 */ li r3, 0 -/* 80086C34 00083B94 2C 05 00 00 */ cmpwi r5, 0 -/* 80086C38 00083B98 40 81 00 40 */ ble lbl_80086C78 -/* 80086C3C 00083B9C 2C 05 00 08 */ cmpwi r5, 8 -/* 80086C40 00083BA0 38 85 FF F8 */ addi r4, r5, -8 -/* 80086C44 00083BA4 40 81 00 20 */ ble lbl_80086C64 -/* 80086C48 00083BA8 38 04 00 07 */ addi r0, r4, 7 -/* 80086C4C 00083BAC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80086C50 00083BB0 7C 09 03 A6 */ mtctr r0 -/* 80086C54 00083BB4 2C 04 00 00 */ cmpwi r4, 0 -/* 80086C58 00083BB8 40 81 00 0C */ ble lbl_80086C64 -lbl_80086C5C: -/* 80086C5C 00083BBC 38 63 00 08 */ addi r3, r3, 8 -/* 80086C60 00083BC0 42 00 FF FC */ bdnz lbl_80086C5C -lbl_80086C64: -/* 80086C64 00083BC4 7C 03 28 50 */ subf r0, r3, r5 -/* 80086C68 00083BC8 7C 09 03 A6 */ mtctr r0 -/* 80086C6C 00083BCC 7C 03 28 00 */ cmpw r3, r5 -/* 80086C70 00083BD0 40 80 00 08 */ bge lbl_80086C78 -lbl_80086C74: -/* 80086C74 00083BD4 42 00 00 00 */ bdnz lbl_80086C74 -lbl_80086C78: -/* 80086C78 00083BD8 38 00 00 00 */ li r0, 0 -/* 80086C7C 00083BDC 90 01 03 D0 */ stw r0, 0x3d0(r1) -lbl_80086C80: -/* 80086C80 00083BE0 E3 E1 0C 78 */ psq_l f31, -904(r1), 0, qr0 -/* 80086C84 00083BE4 CB E1 0C 70 */ lfd f31, 0xc70(r1) -/* 80086C88 00083BE8 E3 C1 0C 68 */ psq_l f30, -920(r1), 0, qr0 -/* 80086C8C 00083BEC CB C1 0C 60 */ lfd f30, 0xc60(r1) -/* 80086C90 00083BF0 E3 A1 0C 58 */ psq_l f29, -936(r1), 0, qr0 -/* 80086C94 00083BF4 CB A1 0C 50 */ lfd f29, 0xc50(r1) -/* 80086C98 00083BF8 E3 81 0C 48 */ psq_l f28, -952(r1), 0, qr0 -/* 80086C9C 00083BFC CB 81 0C 40 */ lfd f28, 0xc40(r1) -/* 80086CA0 00083C00 E3 61 0C 38 */ psq_l f27, -968(r1), 0, qr0 -/* 80086CA4 00083C04 CB 61 0C 30 */ lfd f27, 0xc30(r1) -/* 80086CA8 00083C08 E3 41 0C 28 */ psq_l f26, -984(r1), 0, qr0 -/* 80086CAC 00083C0C CB 41 0C 20 */ lfd f26, 0xc20(r1) -/* 80086CB0 00083C10 E3 21 0C 18 */ psq_l f25, -1000(r1), 0, qr0 -/* 80086CB4 00083C14 CB 21 0C 10 */ lfd f25, 0xc10(r1) -/* 80086CB8 00083C18 E3 01 0C 08 */ psq_l f24, -1016(r1), 0, qr0 -/* 80086CBC 00083C1C CB 01 0C 00 */ lfd f24, 0xc00(r1) -/* 80086CC0 00083C20 BB 61 0B EC */ lmw r27, 0xbec(r1) -/* 80086CC4 00083C24 80 01 0C 84 */ lwz r0, 0xc84(r1) -/* 80086CC8 00083C28 7C 08 03 A6 */ mtlr r0 -/* 80086CCC 00083C2C 38 21 0C 80 */ addi r1, r1, 0xc80 -/* 80086CD0 00083C30 4E 80 00 20 */ blr - -.global UpdateUsingFreeLook__11CBallCameraFfR13CStateManager -UpdateUsingFreeLook__11CBallCameraFfR13CStateManager: -/* 80086CD4 00083C34 94 21 FD C0 */ stwu r1, -0x240(r1) -/* 80086CD8 00083C38 7C 08 02 A6 */ mflr r0 -/* 80086CDC 00083C3C 90 01 02 44 */ stw r0, 0x244(r1) -/* 80086CE0 00083C40 DB E1 02 30 */ stfd f31, 0x230(r1) -/* 80086CE4 00083C44 F3 E1 02 38 */ psq_st f31, 568(r1), 0, qr0 -/* 80086CE8 00083C48 DB C1 02 20 */ stfd f30, 0x220(r1) -/* 80086CEC 00083C4C F3 C1 02 28 */ psq_st f30, 552(r1), 0, qr0 -/* 80086CF0 00083C50 DB A1 02 10 */ stfd f29, 0x210(r1) -/* 80086CF4 00083C54 F3 A1 02 18 */ psq_st f29, 536(r1), 0, qr0 -/* 80086CF8 00083C58 DB 81 02 00 */ stfd f28, 0x200(r1) -/* 80086CFC 00083C5C F3 81 02 08 */ psq_st f28, 520(r1), 0, qr0 -/* 80086D00 00083C60 DB 61 01 F0 */ stfd f27, 0x1f0(r1) -/* 80086D04 00083C64 F3 61 01 F8 */ psq_st f27, 504(r1), 0, qr0 -/* 80086D08 00083C68 DB 41 01 E0 */ stfd f26, 0x1e0(r1) -/* 80086D0C 00083C6C F3 41 01 E8 */ psq_st f26, 488(r1), 0, qr0 -/* 80086D10 00083C70 93 E1 01 DC */ stw r31, 0x1dc(r1) -/* 80086D14 00083C74 93 C1 01 D8 */ stw r30, 0x1d8(r1) -/* 80086D18 00083C78 93 A1 01 D4 */ stw r29, 0x1d4(r1) -/* 80086D1C 00083C7C 7C 7E 1B 78 */ mr r30, r3 -/* 80086D20 00083C80 FF 80 08 90 */ fmr f28, f1 -/* 80086D24 00083C84 80 03 04 00 */ lwz r0, 0x400(r3) -/* 80086D28 00083C88 7C 9F 23 78 */ mr r31, r4 -/* 80086D2C 00083C8C 2C 00 00 04 */ cmpwi r0, 4 -/* 80086D30 00083C90 41 82 00 0C */ beq lbl_80086D3C -/* 80086D34 00083C94 2C 00 00 05 */ cmpwi r0, 5 -/* 80086D38 00083C98 40 82 00 10 */ bne lbl_80086D48 -lbl_80086D3C: -/* 80086D3C 00083C9C 38 00 00 00 */ li r0, 0 -/* 80086D40 00083CA0 90 1E 03 6C */ stw r0, 0x36c(r30) -/* 80086D44 00083CA4 48 00 06 24 */ b lbl_80087368 -lbl_80086D48: -/* 80086D48 00083CA8 80 1E 03 6C */ lwz r0, 0x36c(r30) -/* 80086D4C 00083CAC 2C 00 00 01 */ cmpwi r0, 1 -/* 80086D50 00083CB0 40 82 00 28 */ bne lbl_80086D78 -/* 80086D54 00083CB4 80 1E 01 88 */ lwz r0, 0x188(r30) -/* 80086D58 00083CB8 2C 00 00 09 */ cmpwi r0, 9 -/* 80086D5C 00083CBC 40 80 00 1C */ bge lbl_80086D78 -/* 80086D60 00083CC0 2C 00 00 04 */ cmpwi r0, 4 -/* 80086D64 00083CC4 40 80 00 08 */ bge lbl_80086D6C -/* 80086D68 00083CC8 48 00 00 10 */ b lbl_80086D78 -lbl_80086D6C: -/* 80086D6C 00083CCC 38 00 00 00 */ li r0, 0 -/* 80086D70 00083CD0 90 1E 03 6C */ stw r0, 0x36c(r30) -/* 80086D74 00083CD4 48 00 05 F4 */ b lbl_80087368 -lbl_80086D78: -/* 80086D78 00083CD8 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 80086D7C 00083CDC 7F C3 F3 78 */ mr r3, r30 -/* 80086D80 00083CE0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80086D84 00083CE4 7F E6 FB 78 */ mr r6, r31 -/* 80086D88 00083CE8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80086D8C 00083CEC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80086D90 00083CF0 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80086D94 00083CF4 C0 1E 01 A0 */ lfs f0, 0x1a0(r30) -/* 80086D98 00083CF8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80086D9C 00083CFC 48 00 29 31 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -/* 80086DA0 00083D00 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80086DA4 00083D04 38 61 00 EC */ addi r3, r1, 0xec -/* 80086DA8 00083D08 48 1F DF A1 */ bl GetBallPosition__7CPlayerCFv -/* 80086DAC 00083D0C C3 E1 00 EC */ lfs f31, 0xec(r1) -/* 80086DB0 00083D10 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80086DB4 00083D14 C3 C1 00 F0 */ lfs f30, 0xf0(r1) -/* 80086DB8 00083D18 38 9E 03 7C */ addi r4, r30, 0x37c -/* 80086DBC 00083D1C C3 A1 00 F4 */ lfs f29, 0xf4(r1) -/* 80086DC0 00083D20 38 A0 00 02 */ li r5, 2 -/* 80086DC4 00083D24 4B FD 62 C1 */ bl GetKnotPosition__11CBallCameraCFi -/* 80086DC8 00083D28 C0 21 00 E8 */ lfs f1, 0xe8(r1) -/* 80086DCC 00083D2C 38 61 01 40 */ addi r3, r1, 0x140 -/* 80086DD0 00083D30 C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 80086DD4 00083D34 EC 7D 08 28 */ fsubs f3, f29, f1 -/* 80086DD8 00083D38 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 80086DDC 00083D3C EC 5F 00 28 */ fsubs f2, f31, f0 -/* 80086DE0 00083D40 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80086DE4 00083D44 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 80086DE8 00083D48 D0 61 01 48 */ stfs f3, 0x148(r1) -/* 80086DEC 00083D4C D0 41 01 40 */ stfs f2, 0x140(r1) -/* 80086DF0 00083D50 D0 21 01 44 */ stfs f1, 0x144(r1) -/* 80086DF4 00083D54 D0 01 01 48 */ stfs f0, 0x148(r1) -/* 80086DF8 00083D58 48 28 D9 01 */ bl CanBeNormalized__9CVector3fCFv -/* 80086DFC 00083D5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80086E00 00083D60 41 82 00 10 */ beq lbl_80086E10 -/* 80086E04 00083D64 38 61 01 40 */ addi r3, r1, 0x140 -/* 80086E08 00083D68 48 28 DA F1 */ bl Normalize__9CVector3fFv -/* 80086E0C 00083D6C 48 00 00 20 */ b lbl_80086E2C -lbl_80086E10: -/* 80086E10 00083D70 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80086E14 00083D74 C0 03 05 0C */ lfs f0, 0x50c(r3) -/* 80086E18 00083D78 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 80086E1C 00083D7C C0 03 05 10 */ lfs f0, 0x510(r3) -/* 80086E20 00083D80 D0 01 01 44 */ stfs f0, 0x144(r1) -/* 80086E24 00083D84 C0 03 05 14 */ lfs f0, 0x514(r3) -/* 80086E28 00083D88 D0 01 01 48 */ stfs f0, 0x148(r1) -lbl_80086E2C: -/* 80086E2C 00083D8C 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80086E30 00083D90 38 9E 03 7C */ addi r4, r30, 0x37c -/* 80086E34 00083D94 38 A0 00 03 */ li r5, 3 -/* 80086E38 00083D98 4B FD 62 4D */ bl GetKnotPosition__11CBallCameraCFi -/* 80086E3C 00083D9C C0 21 00 D4 */ lfs f1, 0xd4(r1) -/* 80086E40 00083DA0 7F C4 F3 78 */ mr r4, r30 -/* 80086E44 00083DA4 C0 41 00 D8 */ lfs f2, 0xd8(r1) -/* 80086E48 00083DA8 7F E6 FB 78 */ mr r6, r31 -/* 80086E4C 00083DAC C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 80086E50 00083DB0 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80086E54 00083DB4 81 21 01 40 */ lwz r9, 0x140(r1) -/* 80086E58 00083DB8 38 A1 00 BC */ addi r5, r1, 0xbc -/* 80086E5C 00083DBC 81 01 01 44 */ lwz r8, 0x144(r1) -/* 80086E60 00083DC0 38 E0 00 00 */ li r7, 0 -/* 80086E64 00083DC4 80 01 01 48 */ lwz r0, 0x148(r1) -/* 80086E68 00083DC8 D0 21 01 34 */ stfs f1, 0x134(r1) -/* 80086E6C 00083DCC C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80086E70 00083DD0 D0 41 01 38 */ stfs f2, 0x138(r1) -/* 80086E74 00083DD4 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80086E78 00083DD8 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 80086E7C 00083DDC 91 21 00 BC */ stw r9, 0xbc(r1) -/* 80086E80 00083DE0 91 01 00 C0 */ stw r8, 0xc0(r1) -/* 80086E84 00083DE4 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80086E88 00083DE8 48 00 2E 2D */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -/* 80086E8C 00083DEC C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 80086E90 00083DF0 C0 21 00 CC */ lfs f1, 0xcc(r1) -/* 80086E94 00083DF4 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 80086E98 00083DF8 D0 41 01 28 */ stfs f2, 0x128(r1) -/* 80086E9C 00083DFC D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 80086EA0 00083E00 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 80086EA4 00083E04 88 1E 03 70 */ lbz r0, 0x370(r30) -/* 80086EA8 00083E08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80086EAC 00083E0C 41 82 00 2C */ beq lbl_80086ED8 -/* 80086EB0 00083E10 80 E1 01 28 */ lwz r7, 0x128(r1) -/* 80086EB4 00083E14 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80086EB8 00083E18 80 C1 01 2C */ lwz r6, 0x12c(r1) -/* 80086EBC 00083E1C 38 A1 00 B0 */ addi r5, r1, 0xb0 -/* 80086EC0 00083E20 80 01 01 30 */ lwz r0, 0x130(r1) -/* 80086EC4 00083E24 38 80 00 03 */ li r4, 3 -/* 80086EC8 00083E28 90 E1 00 B0 */ stw r7, 0xb0(r1) -/* 80086ECC 00083E2C 90 C1 00 B4 */ stw r6, 0xb4(r1) -/* 80086ED0 00083E30 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 80086ED4 00083E34 4B FD 61 7D */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f -lbl_80086ED8: -/* 80086ED8 00083E38 C0 1E 03 74 */ lfs f0, 0x374(r30) -/* 80086EDC 00083E3C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80086EE0 00083E40 38 6D 84 E0 */ addi r3, r13, lbl_805A70A0@sda21 -/* 80086EE4 00083E44 38 AD 84 E4 */ addi r5, r13, lbl_805A70A4@sda21 -/* 80086EE8 00083E48 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 80086EEC 00083E4C D0 1E 03 74 */ stfs f0, 0x374(r30) -/* 80086EF0 00083E50 C0 3E 03 74 */ lfs f1, 0x374(r30) -/* 80086EF4 00083E54 C0 1E 03 78 */ lfs f0, 0x378(r30) -/* 80086EF8 00083E58 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80086EFC 00083E5C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80086F00 00083E60 4B F8 53 B5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80086F04 00083E64 80 1E 03 6C */ lwz r0, 0x36c(r30) -/* 80086F08 00083E68 C0 23 00 00 */ lfs f1, 0(r3) -/* 80086F0C 00083E6C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80086F10 00083E70 2C 00 00 01 */ cmpwi r0, 1 -/* 80086F14 00083E74 EF 40 08 28 */ fsubs f26, f0, f1 -/* 80086F18 00083E78 40 82 00 80 */ bne lbl_80086F98 -/* 80086F1C 00083E7C 38 00 00 00 */ li r0, 0 -/* 80086F20 00083E80 7F C3 F3 78 */ mr r3, r30 -/* 80086F24 00083E84 90 01 00 34 */ stw r0, 0x34(r1) -/* 80086F28 00083E88 7F E5 FB 78 */ mr r5, r31 -/* 80086F2C 00083E8C 38 81 00 30 */ addi r4, r1, 0x30 -/* 80086F30 00083E90 90 01 00 30 */ stw r0, 0x30(r1) -/* 80086F34 00083E94 4B FF A1 15 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager -/* 80086F38 00083E98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80086F3C 00083E9C 40 82 00 5C */ bne lbl_80086F98 -/* 80086F40 00083EA0 80 E1 01 34 */ lwz r7, 0x134(r1) -/* 80086F44 00083EA4 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80086F48 00083EA8 80 C1 01 38 */ lwz r6, 0x138(r1) -/* 80086F4C 00083EAC 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 80086F50 00083EB0 80 01 01 3C */ lwz r0, 0x13c(r1) -/* 80086F54 00083EB4 38 80 00 03 */ li r4, 3 -/* 80086F58 00083EB8 90 E1 00 A4 */ stw r7, 0xa4(r1) -/* 80086F5C 00083EBC 90 C1 00 A8 */ stw r6, 0xa8(r1) -/* 80086F60 00083EC0 90 01 00 AC */ stw r0, 0xac(r1) -/* 80086F64 00083EC4 4B FD 60 ED */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f -/* 80086F68 00083EC8 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80086F6C 00083ECC 38 80 00 00 */ li r4, 0 -/* 80086F70 00083ED0 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 80086F74 00083ED4 3C 60 80 00 */ lis r3, 0x8000 -/* 80086F78 00083ED8 7C 00 20 38 */ and r0, r0, r4 -/* 80086F7C 00083EDC 7C A3 18 38 */ and r3, r5, r3 -/* 80086F80 00083EE0 7C 63 22 78 */ xor r3, r3, r4 -/* 80086F84 00083EE4 7C 00 22 78 */ xor r0, r0, r4 -/* 80086F88 00083EE8 7C 60 03 79 */ or. r0, r3, r0 -/* 80086F8C 00083EEC 41 82 00 0C */ beq lbl_80086F98 -/* 80086F90 00083EF0 90 9E 03 6C */ stw r4, 0x36c(r30) -/* 80086F94 00083EF4 48 00 03 D4 */ b lbl_80087368 -lbl_80086F98: -/* 80086F98 00083EF8 C0 3E 03 74 */ lfs f1, 0x374(r30) -/* 80086F9C 00083EFC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80086FA0 00083F00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80086FA4 00083F04 4C 40 13 82 */ cror 2, 0, 2 -/* 80086FA8 00083F08 41 82 00 1C */ beq lbl_80086FC4 -/* 80086FAC 00083F0C C0 02 8A 48 */ lfs f0, lbl_805AA768@sda21(r2) -/* 80086FB0 00083F10 FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 80086FB4 00083F14 40 81 01 E4 */ ble lbl_80087198 -/* 80086FB8 00083F18 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 80086FBC 00083F1C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80086FC0 00083F20 41 82 01 D8 */ beq lbl_80087198 -lbl_80086FC4: -/* 80086FC4 00083F24 80 1E 03 6C */ lwz r0, 0x36c(r30) -/* 80086FC8 00083F28 2C 00 00 02 */ cmpwi r0, 2 -/* 80086FCC 00083F2C 40 82 01 C4 */ bne lbl_80087190 -/* 80086FD0 00083F30 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 80086FD4 00083F34 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80086FD8 00083F38 40 82 01 B8 */ bne lbl_80087190 -/* 80086FDC 00083F3C 38 00 00 00 */ li r0, 0 -/* 80086FE0 00083F40 7F C3 F3 78 */ mr r3, r30 -/* 80086FE4 00083F44 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80086FE8 00083F48 7F E5 FB 78 */ mr r5, r31 -/* 80086FEC 00083F4C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80086FF0 00083F50 90 01 00 28 */ stw r0, 0x28(r1) -/* 80086FF4 00083F54 4B FF A0 55 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager -/* 80086FF8 00083F58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80086FFC 00083F5C 40 82 00 10 */ bne lbl_8008700C -/* 80087000 00083F60 38 00 00 00 */ li r0, 0 -/* 80087004 00083F64 90 1E 03 6C */ stw r0, 0x36c(r30) -/* 80087008 00083F68 48 00 01 90 */ b lbl_80087198 -lbl_8008700C: -/* 8008700C 00083F6C 38 61 00 98 */ addi r3, r1, 0x98 -/* 80087010 00083F70 38 9E 03 7C */ addi r4, r30, 0x37c -/* 80087014 00083F74 38 A0 00 02 */ li r5, 2 -/* 80087018 00083F78 4B FD 60 6D */ bl GetKnotPosition__11CBallCameraCFi -/* 8008701C 00083F7C C0 41 00 98 */ lfs f2, 0x98(r1) -/* 80087020 00083F80 38 61 00 8C */ addi r3, r1, 0x8c -/* 80087024 00083F84 C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 80087028 00083F88 38 9E 03 7C */ addi r4, r30, 0x37c -/* 8008702C 00083F8C C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 80087030 00083F90 38 A0 00 01 */ li r5, 1 -/* 80087034 00083F94 D0 41 01 1C */ stfs f2, 0x11c(r1) -/* 80087038 00083F98 D0 21 01 20 */ stfs f1, 0x120(r1) -/* 8008703C 00083F9C D0 01 01 24 */ stfs f0, 0x124(r1) -/* 80087040 00083FA0 4B FD 60 45 */ bl GetKnotPosition__11CBallCameraCFi -/* 80087044 00083FA4 C0 41 00 8C */ lfs f2, 0x8c(r1) -/* 80087048 00083FA8 7F C3 F3 78 */ mr r3, r30 -/* 8008704C 00083FAC C0 21 00 90 */ lfs f1, 0x90(r1) -/* 80087050 00083FB0 7F E4 FB 78 */ mr r4, r31 -/* 80087054 00083FB4 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 80087058 00083FB8 D0 41 01 10 */ stfs f2, 0x110(r1) -/* 8008705C 00083FBC D0 21 01 14 */ stfs f1, 0x114(r1) -/* 80087060 00083FC0 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 80087064 00083FC4 48 00 09 61 */ bl BuildSpline__11CBallCameraFR13CStateManager -/* 80087068 00083FC8 38 61 00 74 */ addi r3, r1, 0x74 -/* 8008706C 00083FCC 38 9E 03 7C */ addi r4, r30, 0x37c -/* 80087070 00083FD0 38 A0 00 01 */ li r5, 1 -/* 80087074 00083FD4 4B FD 60 11 */ bl GetKnotPosition__11CBallCameraCFi -/* 80087078 00083FD8 80 E1 00 74 */ lwz r7, 0x74(r1) -/* 8008707C 00083FDC 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80087080 00083FE0 80 C1 00 78 */ lwz r6, 0x78(r1) -/* 80087084 00083FE4 38 A1 00 80 */ addi r5, r1, 0x80 -/* 80087088 00083FE8 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 8008708C 00083FEC 38 80 00 03 */ li r4, 3 -/* 80087090 00083FF0 90 E1 00 80 */ stw r7, 0x80(r1) -/* 80087094 00083FF4 90 C1 00 84 */ stw r6, 0x84(r1) -/* 80087098 00083FF8 90 01 00 88 */ stw r0, 0x88(r1) -/* 8008709C 00083FFC 4B FD 5F B5 */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f -/* 800870A0 00084000 38 61 00 5C */ addi r3, r1, 0x5c -/* 800870A4 00084004 38 9E 03 7C */ addi r4, r30, 0x37c -/* 800870A8 00084008 38 A0 00 00 */ li r5, 0 -/* 800870AC 0008400C 4B FD 5F D9 */ bl GetKnotPosition__11CBallCameraCFi -/* 800870B0 00084010 80 E1 00 5C */ lwz r7, 0x5c(r1) -/* 800870B4 00084014 38 7E 03 7C */ addi r3, r30, 0x37c -/* 800870B8 00084018 80 C1 00 60 */ lwz r6, 0x60(r1) -/* 800870BC 0008401C 38 A1 00 68 */ addi r5, r1, 0x68 -/* 800870C0 00084020 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800870C4 00084024 38 80 00 02 */ li r4, 2 -/* 800870C8 00084028 90 E1 00 68 */ stw r7, 0x68(r1) -/* 800870CC 0008402C 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 800870D0 00084030 90 01 00 70 */ stw r0, 0x70(r1) -/* 800870D4 00084034 4B FD 5F 7D */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f -/* 800870D8 00084038 80 E1 01 1C */ lwz r7, 0x11c(r1) -/* 800870DC 0008403C 38 7E 03 7C */ addi r3, r30, 0x37c -/* 800870E0 00084040 80 C1 01 20 */ lwz r6, 0x120(r1) -/* 800870E4 00084044 38 A1 00 50 */ addi r5, r1, 0x50 -/* 800870E8 00084048 80 01 01 24 */ lwz r0, 0x124(r1) -/* 800870EC 0008404C 38 80 00 01 */ li r4, 1 -/* 800870F0 00084050 90 E1 00 50 */ stw r7, 0x50(r1) -/* 800870F4 00084054 90 C1 00 54 */ stw r6, 0x54(r1) -/* 800870F8 00084058 90 01 00 58 */ stw r0, 0x58(r1) -/* 800870FC 0008405C 4B FD 5F 55 */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f -/* 80087100 00084060 80 E1 01 10 */ lwz r7, 0x110(r1) -/* 80087104 00084064 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80087108 00084068 80 C1 01 14 */ lwz r6, 0x114(r1) -/* 8008710C 0008406C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80087110 00084070 80 01 01 18 */ lwz r0, 0x118(r1) -/* 80087114 00084074 38 80 00 00 */ li r4, 0 -/* 80087118 00084078 90 E1 00 44 */ stw r7, 0x44(r1) -/* 8008711C 0008407C 90 C1 00 48 */ stw r6, 0x48(r1) -/* 80087120 00084080 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80087124 00084084 4B FD 5F 2D */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f -/* 80087128 00084088 38 7E 03 7C */ addi r3, r30, 0x37c -/* 8008712C 0008408C 4B FD 51 91 */ bl CalculateSplineLength__13CCameraSplineFv -/* 80087130 00084090 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) -/* 80087134 00084094 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80087138 00084098 38 80 00 02 */ li r4, 2 -/* 8008713C 0008409C C3 7E 03 C0 */ lfs f27, 0x3c0(r30) -/* 80087140 000840A0 C3 5E 03 78 */ lfs f26, 0x378(r30) -/* 80087144 000840A4 4B FD 5F 95 */ bl GetKnotT__13CCameraSplineCFi -/* 80087148 000840A8 EC 01 D8 24 */ fdivs f0, f1, f27 -/* 8008714C 000840AC 38 81 00 0C */ addi r4, r1, 0xc -/* 80087150 000840B0 38 6D 84 E8 */ addi r3, r13, lbl_805A70A8@sda21 -/* 80087154 000840B4 38 AD 84 EC */ addi r5, r13, lbl_805A70AC@sda21 -/* 80087158 000840B8 EC 1A D0 3C */ fnmsubs f0, f26, f0, f26 -/* 8008715C 000840BC D0 1E 03 74 */ stfs f0, 0x374(r30) -/* 80087160 000840C0 C0 1E 03 74 */ lfs f0, 0x374(r30) -/* 80087164 000840C4 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 80087168 000840C8 D0 1E 03 74 */ stfs f0, 0x374(r30) -/* 8008716C 000840CC C0 3E 03 74 */ lfs f1, 0x374(r30) -/* 80087170 000840D0 C0 1E 03 78 */ lfs f0, 0x378(r30) -/* 80087174 000840D4 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80087178 000840D8 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8008717C 000840DC 4B F8 51 39 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80087180 000840E0 C0 23 00 00 */ lfs f1, 0(r3) -/* 80087184 000840E4 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80087188 000840E8 EF 40 08 28 */ fsubs f26, f0, f1 -/* 8008718C 000840EC 48 00 00 0C */ b lbl_80087198 -lbl_80087190: -/* 80087190 000840F0 38 00 00 00 */ li r0, 0 -/* 80087194 000840F4 90 1E 03 6C */ stw r0, 0x36c(r30) -lbl_80087198: -/* 80087198 000840F8 38 7E 03 7C */ addi r3, r30, 0x37c -/* 8008719C 000840FC 4B FD 51 21 */ bl CalculateSplineLength__13CCameraSplineFv -/* 800871A0 00084100 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) -/* 800871A4 00084104 38 61 01 98 */ addi r3, r1, 0x198 -/* 800871A8 00084108 38 9E 03 7C */ addi r4, r30, 0x37c -/* 800871AC 0008410C C0 1E 03 C0 */ lfs f0, 0x3c0(r30) -/* 800871B0 00084110 EC 3A 00 32 */ fmuls f1, f26, f0 -/* 800871B4 00084114 4B FD 48 CD */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf -/* 800871B8 00084118 C0 41 01 C4 */ lfs f2, 0x1c4(r1) -/* 800871BC 0008411C 7F E3 FB 78 */ mr r3, r31 -/* 800871C0 00084120 C0 21 01 B4 */ lfs f1, 0x1b4(r1) -/* 800871C4 00084124 38 81 00 08 */ addi r4, r1, 8 -/* 800871C8 00084128 C0 01 01 A4 */ lfs f0, 0x1a4(r1) -/* 800871CC 0008412C D0 21 01 08 */ stfs f1, 0x108(r1) -/* 800871D0 00084130 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 800871D4 00084134 D0 41 01 0C */ stfs f2, 0x10c(r1) -/* 800871D8 00084138 A0 1E 04 6C */ lhz r0, 0x46c(r30) -/* 800871DC 0008413C B0 01 00 08 */ sth r0, 8(r1) -/* 800871E0 00084140 4B FC 53 95 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800871E4 00084144 7C 64 1B 78 */ mr r4, r3 -/* 800871E8 00084148 38 61 00 1C */ addi r3, r1, 0x1c -/* 800871EC 0008414C 48 02 54 F9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 800871F0 00084150 83 A3 00 04 */ lwz r29, 4(r3) -/* 800871F4 00084154 28 1D 00 00 */ cmplwi r29, 0 -/* 800871F8 00084158 41 82 00 B0 */ beq lbl_800872A8 -/* 800871FC 0008415C 7F A3 EB 78 */ mr r3, r29 -/* 80087200 00084160 4B FC C6 BD */ bl GetMaterialFilter__6CActorCFv -/* 80087204 00084164 81 43 00 00 */ lwz r10, 0(r3) -/* 80087208 00084168 38 A0 00 03 */ li r5, 3 -/* 8008720C 0008416C 80 C3 00 04 */ lwz r6, 4(r3) -/* 80087210 00084170 3C 00 40 00 */ lis r0, 0x4000 -/* 80087214 00084174 90 A1 01 60 */ stw r5, 0x160(r1) -/* 80087218 00084178 38 81 01 68 */ addi r4, r1, 0x168 -/* 8008721C 0008417C 7C C0 03 78 */ or r0, r6, r0 -/* 80087220 00084180 90 C1 01 84 */ stw r6, 0x184(r1) -/* 80087224 00084184 91 41 01 80 */ stw r10, 0x180(r1) -/* 80087228 00084188 81 03 00 08 */ lwz r8, 8(r3) -/* 8008722C 0008418C 81 23 00 0C */ lwz r9, 0xc(r3) -/* 80087230 00084190 91 21 01 8C */ stw r9, 0x18c(r1) -/* 80087234 00084194 91 01 01 88 */ stw r8, 0x188(r1) -/* 80087238 00084198 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 8008723C 0008419C 7F A3 EB 78 */ mr r3, r29 -/* 80087240 000841A0 90 C1 01 90 */ stw r6, 0x190(r1) -/* 80087244 000841A4 80 DE 03 C8 */ lwz r6, 0x3c8(r30) -/* 80087248 000841A8 80 FE 03 CC */ lwz r7, 0x3cc(r30) -/* 8008724C 000841AC 7D 06 33 78 */ or r6, r8, r6 -/* 80087250 000841B0 7D 27 3B 78 */ or r7, r9, r7 -/* 80087254 000841B4 90 01 01 6C */ stw r0, 0x16c(r1) -/* 80087258 000841B8 91 41 01 68 */ stw r10, 0x168(r1) -/* 8008725C 000841BC 90 E1 01 74 */ stw r7, 0x174(r1) -/* 80087260 000841C0 90 C1 01 70 */ stw r6, 0x170(r1) -/* 80087264 000841C4 90 A1 01 78 */ stw r5, 0x178(r1) -/* 80087268 000841C8 4B FC C6 39 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 8008726C 000841CC FC 20 E0 90 */ fmr f1, f28 -/* 80087270 000841D0 7F C4 F3 78 */ mr r4, r30 -/* 80087274 000841D4 7F E6 FB 78 */ mr r6, r31 -/* 80087278 000841D8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8008727C 000841DC 38 A1 01 04 */ addi r5, r1, 0x104 -/* 80087280 000841E0 4B FF D2 E9 */ bl MoveCollisionActor__11CBallCameraFRC9CVector3ffR13CStateManager -/* 80087284 000841E4 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 80087288 000841E8 7F A3 EB 78 */ mr r3, r29 -/* 8008728C 000841EC C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 80087290 000841F0 38 81 01 80 */ addi r4, r1, 0x180 -/* 80087294 000841F4 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80087298 000841F8 D0 41 01 28 */ stfs f2, 0x128(r1) -/* 8008729C 000841FC D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 800872A0 00084200 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 800872A4 00084204 4B FC C5 FD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -lbl_800872A8: -/* 800872A8 00084208 C0 1E 01 D8 */ lfs f0, 0x1d8(r30) -/* 800872AC 0008420C C0 61 01 28 */ lfs f3, 0x128(r1) -/* 800872B0 00084210 C0 3E 01 DC */ lfs f1, 0x1dc(r30) -/* 800872B4 00084214 C0 81 01 2C */ lfs f4, 0x12c(r1) -/* 800872B8 00084218 EC 40 18 28 */ fsubs f2, f0, f3 -/* 800872BC 0008421C C0 1E 01 E0 */ lfs f0, 0x1e0(r30) -/* 800872C0 00084220 C0 A1 01 30 */ lfs f5, 0x130(r1) -/* 800872C4 00084224 EC 21 20 28 */ fsubs f1, f1, f4 -/* 800872C8 00084228 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 800872CC 0008422C EC 00 28 28 */ fsubs f0, f0, f5 -/* 800872D0 00084230 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 800872D4 00084234 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 800872D8 00084238 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 800872DC 0008423C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800872E0 00084240 41 82 00 1C */ beq lbl_800872FC -/* 800872E4 00084244 EC 5F 18 28 */ fsubs f2, f31, f3 -/* 800872E8 00084248 EC 3E 20 28 */ fsubs f1, f30, f4 -/* 800872EC 0008424C EC 1D 28 28 */ fsubs f0, f29, f5 -/* 800872F0 00084250 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 800872F4 00084254 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 800872F8 00084258 D0 01 01 00 */ stfs f0, 0x100(r1) -lbl_800872FC: -/* 800872FC 0008425C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80087300 00084260 48 28 D3 F9 */ bl CanBeNormalized__9CVector3fCFv -/* 80087304 00084264 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80087308 00084268 41 82 00 24 */ beq lbl_8008732C -/* 8008730C 0008426C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80087310 00084270 48 28 D5 E9 */ bl Normalize__9CVector3fFv -/* 80087314 00084274 FC 20 E0 90 */ fmr f1, f28 -/* 80087318 00084278 7F C3 F3 78 */ mr r3, r30 -/* 8008731C 0008427C 7F E6 FB 78 */ mr r6, r31 -/* 80087320 00084280 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 80087324 00084284 38 A1 01 28 */ addi r5, r1, 0x128 -/* 80087328 00084288 48 00 17 B5 */ bl UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager -lbl_8008732C: -/* 8008732C 0008428C 7F C3 F3 78 */ mr r3, r30 -/* 80087330 00084290 7F E5 FB 78 */ mr r5, r31 -/* 80087334 00084294 38 81 01 28 */ addi r4, r1, 0x128 -/* 80087338 00084298 48 00 57 E5 */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager -/* 8008733C 0008429C 88 1E 03 D0 */ lbz r0, 0x3d0(r30) -/* 80087340 000842A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80087344 000842A4 41 82 00 24 */ beq lbl_80087368 -/* 80087348 000842A8 C0 5E 03 74 */ lfs f2, 0x374(r30) -/* 8008734C 000842AC C0 3E 03 78 */ lfs f1, 0x378(r30) -/* 80087350 000842B0 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) -/* 80087354 000842B4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80087358 000842B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008735C 000842BC 40 80 00 0C */ bge lbl_80087368 -/* 80087360 000842C0 38 00 00 00 */ li r0, 0 -/* 80087364 000842C4 90 1E 03 6C */ stw r0, 0x36c(r30) -lbl_80087368: -/* 80087368 000842C8 E3 E1 02 38 */ psq_l f31, 568(r1), 0, qr0 -/* 8008736C 000842CC CB E1 02 30 */ lfd f31, 0x230(r1) -/* 80087370 000842D0 E3 C1 02 28 */ psq_l f30, 552(r1), 0, qr0 -/* 80087374 000842D4 CB C1 02 20 */ lfd f30, 0x220(r1) -/* 80087378 000842D8 E3 A1 02 18 */ psq_l f29, 536(r1), 0, qr0 -/* 8008737C 000842DC CB A1 02 10 */ lfd f29, 0x210(r1) -/* 80087380 000842E0 E3 81 02 08 */ psq_l f28, 520(r1), 0, qr0 -/* 80087384 000842E4 CB 81 02 00 */ lfd f28, 0x200(r1) -/* 80087388 000842E8 E3 61 01 F8 */ psq_l f27, 504(r1), 0, qr0 -/* 8008738C 000842EC CB 61 01 F0 */ lfd f27, 0x1f0(r1) -/* 80087390 000842F0 E3 41 01 E8 */ psq_l f26, 488(r1), 0, qr0 -/* 80087394 000842F4 CB 41 01 E0 */ lfd f26, 0x1e0(r1) -/* 80087398 000842F8 83 E1 01 DC */ lwz r31, 0x1dc(r1) -/* 8008739C 000842FC 83 C1 01 D8 */ lwz r30, 0x1d8(r1) -/* 800873A0 00084300 80 01 02 44 */ lwz r0, 0x244(r1) -/* 800873A4 00084304 83 A1 01 D4 */ lwz r29, 0x1d4(r1) -/* 800873A8 00084308 7C 08 03 A6 */ mtlr r0 -/* 800873AC 0008430C 38 21 02 40 */ addi r1, r1, 0x240 -/* 800873B0 00084310 4E 80 00 20 */ blr - -.global ResetSpline__11CBallCameraFR13CStateManager -ResetSpline__11CBallCameraFR13CStateManager: -/* 800873B4 00084314 94 21 F6 20 */ stwu r1, -0x9e0(r1) -/* 800873B8 00084318 7C 08 02 A6 */ mflr r0 -/* 800873BC 0008431C 90 01 09 E4 */ stw r0, 0x9e4(r1) -/* 800873C0 00084320 DB E1 09 D0 */ stfd f31, 0x9d0(r1) -/* 800873C4 00084324 F3 E1 09 D8 */ psq_st f31, -1576(r1), 0, qr0 -/* 800873C8 00084328 DB C1 09 C0 */ stfd f30, 0x9c0(r1) -/* 800873CC 0008432C F3 C1 09 C8 */ psq_st f30, -1592(r1), 0, qr0 -/* 800873D0 00084330 DB A1 09 B0 */ stfd f29, 0x9b0(r1) -/* 800873D4 00084334 F3 A1 09 B8 */ psq_st f29, -1608(r1), 0, qr0 -/* 800873D8 00084338 DB 81 09 A0 */ stfd f28, 0x9a0(r1) -/* 800873DC 0008433C F3 81 09 A8 */ psq_st f28, -1624(r1), 0, qr0 -/* 800873E0 00084340 93 E1 09 9C */ stw r31, 0x99c(r1) -/* 800873E4 00084344 93 C1 09 98 */ stw r30, 0x998(r1) -/* 800873E8 00084348 93 A1 09 94 */ stw r29, 0x994(r1) -/* 800873EC 0008434C 93 81 09 90 */ stw r28, 0x990(r1) -/* 800873F0 00084350 7C 9F 23 78 */ mr r31, r4 -/* 800873F4 00084354 7C 7E 1B 78 */ mr r30, r3 -/* 800873F8 00084358 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 800873FC 0008435C 38 61 00 EC */ addi r3, r1, 0xec -/* 80087400 00084360 48 1F D9 49 */ bl GetBallPosition__7CPlayerCFv -/* 80087404 00084364 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 80087408 00084368 39 40 00 00 */ li r10, 0 -/* 8008740C 0008436C C0 21 00 EC */ lfs f1, 0xec(r1) -/* 80087410 00084370 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80087414 00084374 C0 81 00 F0 */ lfs f4, 0xf0(r1) -/* 80087418 00084378 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 8008741C 0008437C C0 61 00 F4 */ lfs f3, 0xf4(r1) -/* 80087420 00084380 7F E4 FB 78 */ mr r4, r31 -/* 80087424 00084384 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80087428 00084388 38 61 01 50 */ addi r3, r1, 0x150 -/* 8008742C 0008438C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80087430 00084390 38 A1 00 08 */ addi r5, r1, 8 -/* 80087434 00084394 D0 21 01 40 */ stfs f1, 0x140(r1) -/* 80087438 00084398 38 C1 01 40 */ addi r6, r1, 0x140 -/* 8008743C 0008439C C0 22 8A 4C */ lfs f1, lbl_805AA76C@sda21(r2) -/* 80087440 000843A0 38 E1 01 34 */ addi r7, r1, 0x134 -/* 80087444 000843A4 D0 81 01 44 */ stfs f4, 0x144(r1) -/* 80087448 000843A8 39 21 01 80 */ addi r9, r1, 0x180 -/* 8008744C 000843AC D0 61 01 48 */ stfs f3, 0x148(r1) -/* 80087450 000843B0 91 41 01 80 */ stw r10, 0x180(r1) -/* 80087454 000843B4 B0 01 00 08 */ sth r0, 8(r1) -/* 80087458 000843B8 D0 41 01 34 */ stfs f2, 0x134(r1) -/* 8008745C 000843BC D0 41 01 38 */ stfs f2, 0x138(r1) -/* 80087460 000843C0 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 80087464 000843C4 4B FC 5B 61 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80087468 000843C8 88 01 01 70 */ lbz r0, 0x170(r1) -/* 8008746C 000843CC C0 21 01 50 */ lfs f1, 0x150(r1) -/* 80087470 000843D0 28 00 00 00 */ cmplwi r0, 0 -/* 80087474 000843D4 41 82 00 28 */ beq lbl_8008749C -/* 80087478 000843D8 C0 02 8A 4C */ lfs f0, lbl_805AA76C@sda21(r2) -/* 8008747C 000843DC 38 81 00 0C */ addi r4, r1, 0xc -/* 80087480 000843E0 38 6D 84 D0 */ addi r3, r13, lbl_805A7090@sda21 -/* 80087484 000843E4 38 AD 84 D4 */ addi r5, r13, lbl_805A7094@sda21 -/* 80087488 000843E8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8008748C 000843EC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80087490 000843F0 4B F8 4E 25 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80087494 000843F4 C3 83 00 00 */ lfs f28, 0(r3) -/* 80087498 000843F8 48 00 00 08 */ b lbl_800874A0 -lbl_8008749C: -/* 8008749C 000843FC C3 82 89 B8 */ lfs f28, lbl_805AA6D8@sda21(r2) -lbl_800874A0: -/* 800874A0 00084400 38 C0 00 01 */ li r6, 1 -/* 800874A4 00084404 38 A0 00 00 */ li r5, 0 -/* 800874A8 00084408 90 DE 03 6C */ stw r6, 0x36c(r30) -/* 800874AC 0008440C 38 7E 03 7C */ addi r3, r30, 0x37c -/* 800874B0 00084410 38 80 00 04 */ li r4, 4 -/* 800874B4 00084414 88 1E 03 70 */ lbz r0, 0x370(r30) -/* 800874B8 00084418 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 800874BC 0008441C 98 1E 03 70 */ stb r0, 0x370(r30) -/* 800874C0 00084420 88 1E 03 D0 */ lbz r0, 0x3d0(r30) -/* 800874C4 00084424 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 800874C8 00084428 98 1E 03 D0 */ stb r0, 0x3d0(r30) -/* 800874CC 0008442C 4B FD 59 7D */ bl Reset__13CCameraSplineFi -/* 800874D0 00084430 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 800874D4 00084434 38 7E 03 7C */ addi r3, r30, 0x37c -/* 800874D8 00084438 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 800874DC 0008443C 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 800874E0 00084440 D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 800874E4 00084444 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 800874E8 00084448 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 800874EC 0008444C 80 E1 00 BC */ lwz r7, 0xbc(r1) -/* 800874F0 00084450 D0 21 00 C4 */ stfs f1, 0xc4(r1) -/* 800874F4 00084454 80 C1 00 C0 */ lwz r6, 0xc0(r1) -/* 800874F8 00084458 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800874FC 0008445C 90 E1 00 C8 */ stw r7, 0xc8(r1) -/* 80087500 00084460 90 C1 00 CC */ stw r6, 0xcc(r1) -/* 80087504 00084464 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 80087508 00084468 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 8008750C 0008446C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80087510 00084470 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80087514 00084474 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 80087518 00084478 D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 8008751C 0008447C 80 E1 00 D4 */ lwz r7, 0xd4(r1) -/* 80087520 00084480 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 80087524 00084484 80 C1 00 D8 */ lwz r6, 0xd8(r1) -/* 80087528 00084488 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 8008752C 0008448C 90 E1 00 E0 */ stw r7, 0xe0(r1) -/* 80087530 00084490 90 C1 00 E4 */ stw r6, 0xe4(r1) -/* 80087534 00084494 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 80087538 00084498 4B FD 5A 19 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -/* 8008753C 0008449C C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 80087540 000844A0 7F C3 F3 78 */ mr r3, r30 -/* 80087544 000844A4 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80087548 000844A8 7F E6 FB 78 */ mr r6, r31 -/* 8008754C 000844AC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80087550 000844B0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80087554 000844B4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80087558 000844B8 C0 1E 01 A0 */ lfs f0, 0x1a0(r30) -/* 8008755C 000844BC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80087560 000844C0 48 00 21 6D */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -/* 80087564 000844C4 C0 1E 03 64 */ lfs f0, 0x364(r30) -/* 80087568 000844C8 38 7E 03 7C */ addi r3, r30, 0x37c -/* 8008756C 000844CC C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80087570 000844D0 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 80087574 000844D4 C0 7E 03 5C */ lfs f3, 0x35c(r30) -/* 80087578 000844D8 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8008757C 000844DC C0 5E 03 60 */ lfs f2, 0x360(r30) -/* 80087580 000844E0 C0 9E 00 60 */ lfs f4, 0x60(r30) -/* 80087584 000844E4 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 80087588 000844E8 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 8008758C 000844EC D0 61 01 28 */ stfs f3, 0x128(r1) -/* 80087590 000844F0 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 80087594 000844F4 D0 41 01 2C */ stfs f2, 0x12c(r1) -/* 80087598 000844F8 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 8008759C 000844FC D0 81 01 30 */ stfs f4, 0x130(r1) -/* 800875A0 00084500 80 E1 01 28 */ lwz r7, 0x128(r1) -/* 800875A4 00084504 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 800875A8 00084508 80 C1 01 2C */ lwz r6, 0x12c(r1) -/* 800875AC 0008450C D0 01 00 90 */ stfs f0, 0x90(r1) -/* 800875B0 00084510 81 41 00 8C */ lwz r10, 0x8c(r1) -/* 800875B4 00084514 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 800875B8 00084518 81 21 00 90 */ lwz r9, 0x90(r1) -/* 800875BC 0008451C 81 01 00 94 */ lwz r8, 0x94(r1) -/* 800875C0 00084520 80 01 01 30 */ lwz r0, 0x130(r1) -/* 800875C4 00084524 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 800875C8 00084528 D0 61 00 B4 */ stfs f3, 0xb4(r1) -/* 800875CC 0008452C D0 81 00 B8 */ stfs f4, 0xb8(r1) -/* 800875D0 00084530 91 41 00 98 */ stw r10, 0x98(r1) -/* 800875D4 00084534 91 21 00 9C */ stw r9, 0x9c(r1) -/* 800875D8 00084538 91 01 00 A0 */ stw r8, 0xa0(r1) -/* 800875DC 0008453C 90 E1 00 A4 */ stw r7, 0xa4(r1) -/* 800875E0 00084540 90 C1 00 A8 */ stw r6, 0xa8(r1) -/* 800875E4 00084544 90 01 00 AC */ stw r0, 0xac(r1) -/* 800875E8 00084548 4B FD 59 69 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -/* 800875EC 0008454C C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) -/* 800875F0 00084550 38 7E 03 7C */ addi r3, r30, 0x37c -/* 800875F4 00084554 C0 5E 03 5C */ lfs f2, 0x35c(r30) -/* 800875F8 00084558 38 81 00 80 */ addi r4, r1, 0x80 -/* 800875FC 0008455C C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80087600 00084560 EC C0 E0 2A */ fadds f6, f0, f28 -/* 80087604 00084564 C0 7E 03 60 */ lfs f3, 0x360(r30) -/* 80087608 00084568 38 A1 00 74 */ addi r5, r1, 0x74 -/* 8008760C 0008456C C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80087610 00084570 EC A2 08 28 */ fsubs f5, f2, f1 -/* 80087614 00084574 C0 5E 03 64 */ lfs f2, 0x364(r30) -/* 80087618 00084578 C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 8008761C 0008457C EC 83 00 28 */ fsubs f4, f3, f0 -/* 80087620 00084580 EC A6 01 72 */ fmuls f5, f6, f5 -/* 80087624 00084584 C0 01 01 28 */ lfs f0, 0x128(r1) -/* 80087628 00084588 EC 62 08 28 */ fsubs f3, f2, f1 -/* 8008762C 0008458C C3 E1 01 2C */ lfs f31, 0x12c(r1) -/* 80087630 00084590 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80087634 00084594 EC 86 01 32 */ fmuls f4, f6, f4 -/* 80087638 00084598 EC 40 28 2A */ fadds f2, f0, f5 -/* 8008763C 0008459C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80087640 000845A0 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 80087644 000845A4 EC 66 00 F2 */ fmuls f3, f6, f3 -/* 80087648 000845A8 C3 C1 01 30 */ lfs f30, 0x130(r1) -/* 8008764C 000845AC EC 9F 20 2A */ fadds f4, f31, f4 -/* 80087650 000845B0 EC 7E 18 2A */ fadds f3, f30, f3 -/* 80087654 000845B4 D0 41 01 1C */ stfs f2, 0x11c(r1) -/* 80087658 000845B8 81 41 00 68 */ lwz r10, 0x68(r1) -/* 8008765C 000845BC D0 81 01 20 */ stfs f4, 0x120(r1) -/* 80087660 000845C0 80 E1 01 1C */ lwz r7, 0x11c(r1) -/* 80087664 000845C4 D0 61 01 24 */ stfs f3, 0x124(r1) -/* 80087668 000845C8 80 C1 01 20 */ lwz r6, 0x120(r1) -/* 8008766C 000845CC D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80087670 000845D0 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80087674 000845D4 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80087678 000845D8 81 21 00 6C */ lwz r9, 0x6c(r1) -/* 8008767C 000845DC 81 01 00 70 */ lwz r8, 0x70(r1) -/* 80087680 000845E0 91 41 00 74 */ stw r10, 0x74(r1) -/* 80087684 000845E4 91 21 00 78 */ stw r9, 0x78(r1) -/* 80087688 000845E8 91 01 00 7C */ stw r8, 0x7c(r1) -/* 8008768C 000845EC 90 E1 00 80 */ stw r7, 0x80(r1) -/* 80087690 000845F0 90 C1 00 84 */ stw r6, 0x84(r1) -/* 80087694 000845F4 90 01 00 88 */ stw r0, 0x88(r1) -/* 80087698 000845F8 4B FD 58 B9 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -/* 8008769C 000845FC C0 01 01 48 */ lfs f0, 0x148(r1) -/* 800876A0 00084600 38 61 01 10 */ addi r3, r1, 0x110 -/* 800876A4 00084604 C3 A1 01 24 */ lfs f29, 0x124(r1) -/* 800876A8 00084608 C0 61 01 44 */ lfs f3, 0x144(r1) -/* 800876AC 0008460C EC 80 E8 28 */ fsubs f4, f0, f29 -/* 800876B0 00084610 C0 41 01 20 */ lfs f2, 0x120(r1) -/* 800876B4 00084614 C0 21 01 40 */ lfs f1, 0x140(r1) -/* 800876B8 00084618 C0 01 01 1C */ lfs f0, 0x11c(r1) -/* 800876BC 0008461C EC 43 10 28 */ fsubs f2, f3, f2 -/* 800876C0 00084620 D0 81 01 18 */ stfs f4, 0x118(r1) -/* 800876C4 00084624 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800876C8 00084628 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800876CC 0008462C D0 41 01 14 */ stfs f2, 0x114(r1) -/* 800876D0 00084630 D0 21 01 10 */ stfs f1, 0x110(r1) -/* 800876D4 00084634 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 800876D8 00084638 48 28 D0 21 */ bl CanBeNormalized__9CVector3fCFv -/* 800876DC 0008463C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800876E0 00084640 41 82 00 10 */ beq lbl_800876F0 -/* 800876E4 00084644 38 61 01 10 */ addi r3, r1, 0x110 -/* 800876E8 00084648 48 28 D2 11 */ bl Normalize__9CVector3fFv -/* 800876EC 0008464C 48 00 00 20 */ b lbl_8008770C -lbl_800876F0: -/* 800876F0 00084650 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 800876F4 00084654 C0 03 05 0C */ lfs f0, 0x50c(r3) -/* 800876F8 00084658 D0 01 01 10 */ stfs f0, 0x110(r1) -/* 800876FC 0008465C C0 03 05 10 */ lfs f0, 0x510(r3) -/* 80087700 00084660 D0 01 01 14 */ stfs f0, 0x114(r1) -/* 80087704 00084664 C0 03 05 14 */ lfs f0, 0x514(r3) -/* 80087708 00084668 D0 01 01 18 */ stfs f0, 0x118(r1) -lbl_8008770C: -/* 8008770C 0008466C 80 61 01 10 */ lwz r3, 0x110(r1) -/* 80087710 00084670 7F C4 F3 78 */ mr r4, r30 -/* 80087714 00084674 80 E1 01 14 */ lwz r7, 0x114(r1) -/* 80087718 00084678 7F E6 FB 78 */ mr r6, r31 -/* 8008771C 0008467C 80 01 01 18 */ lwz r0, 0x118(r1) -/* 80087720 00084680 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80087724 00084684 90 61 00 50 */ stw r3, 0x50(r1) -/* 80087728 00084688 38 61 00 5C */ addi r3, r1, 0x5c -/* 8008772C 0008468C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80087730 00084690 90 E1 00 54 */ stw r7, 0x54(r1) -/* 80087734 00084694 38 E0 00 00 */ li r7, 0 -/* 80087738 00084698 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8008773C 0008469C 90 01 00 58 */ stw r0, 0x58(r1) -/* 80087740 000846A0 48 00 25 75 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -/* 80087744 000846A4 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80087748 000846A8 38 7E 03 7C */ addi r3, r30, 0x37c -/* 8008774C 000846AC C0 81 00 5C */ lfs f4, 0x5c(r1) -/* 80087750 000846B0 38 81 00 44 */ addi r4, r1, 0x44 -/* 80087754 000846B4 C0 61 00 60 */ lfs f3, 0x60(r1) -/* 80087758 000846B8 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8008775C 000846BC C0 41 00 64 */ lfs f2, 0x64(r1) -/* 80087760 000846C0 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80087764 000846C4 D0 81 01 04 */ stfs f4, 0x104(r1) -/* 80087768 000846C8 D0 61 01 08 */ stfs f3, 0x108(r1) -/* 8008776C 000846CC 80 E1 01 04 */ lwz r7, 0x104(r1) -/* 80087770 000846D0 D0 41 01 0C */ stfs f2, 0x10c(r1) -/* 80087774 000846D4 80 C1 01 08 */ lwz r6, 0x108(r1) -/* 80087778 000846D8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8008777C 000846DC 80 01 01 0C */ lwz r0, 0x10c(r1) -/* 80087780 000846E0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80087784 000846E4 81 41 00 2C */ lwz r10, 0x2c(r1) -/* 80087788 000846E8 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8008778C 000846EC 81 21 00 30 */ lwz r9, 0x30(r1) -/* 80087790 000846F0 81 01 00 34 */ lwz r8, 0x34(r1) -/* 80087794 000846F4 91 41 00 38 */ stw r10, 0x38(r1) -/* 80087798 000846F8 91 21 00 3C */ stw r9, 0x3c(r1) -/* 8008779C 000846FC 91 01 00 40 */ stw r8, 0x40(r1) -/* 800877A0 00084700 90 E1 00 44 */ stw r7, 0x44(r1) -/* 800877A4 00084704 90 C1 00 48 */ stw r6, 0x48(r1) -/* 800877A8 00084708 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800877AC 0008470C 4B FD 57 A5 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -/* 800877B0 00084710 38 7E 03 7C */ addi r3, r30, 0x37c -/* 800877B4 00084714 4B FD 4B 09 */ bl CalculateSplineLength__13CCameraSplineFv -/* 800877B8 00084718 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) -/* 800877BC 0008471C 38 A0 00 00 */ li r5, 0 -/* 800877C0 00084720 38 60 00 00 */ li r3, 0 -/* 800877C4 00084724 38 80 00 01 */ li r4, 1 -/* 800877C8 00084728 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 800877CC 0008472C 90 A1 00 18 */ stw r5, 0x18(r1) -/* 800877D0 00084730 88 1E 03 D0 */ lbz r0, 0x3d0(r30) -/* 800877D4 00084734 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 800877D8 00084738 98 1E 03 D0 */ stb r0, 0x3d0(r30) -/* 800877DC 0008473C 80 AD 84 D8 */ lwz r5, lbl_805A7098@sda21(r13) -/* 800877E0 00084740 48 30 27 15 */ bl __shl2i -/* 800877E4 00084744 80 AD 84 DC */ lwz r5, lbl_805A709C@sda21(r13) -/* 800877E8 00084748 7C 9C 23 78 */ mr r28, r4 -/* 800877EC 0008474C 7C 7D 1B 78 */ mr r29, r3 -/* 800877F0 00084750 38 60 00 00 */ li r3, 0 -/* 800877F4 00084754 38 80 00 01 */ li r4, 1 -/* 800877F8 00084758 48 30 26 FD */ bl __shl2i -/* 800877FC 0008475C 7F 9C 23 78 */ or r28, r28, r4 -/* 80087800 00084760 7F BD 1B 78 */ or r29, r29, r3 -/* 80087804 00084764 93 9E 03 CC */ stw r28, 0x3cc(r30) -/* 80087808 00084768 7F C3 F3 78 */ mr r3, r30 -/* 8008780C 0008476C 7F E5 FB 78 */ mr r5, r31 -/* 80087810 00084770 38 81 00 18 */ addi r4, r1, 0x18 -/* 80087814 00084774 93 BE 03 C8 */ stw r29, 0x3c8(r30) -/* 80087818 00084778 4B FF 98 31 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager -/* 8008781C 0008477C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80087820 00084780 40 82 00 F8 */ bne lbl_80087918 -/* 80087824 00084784 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80087828 00084788 38 80 00 00 */ li r4, 0 -/* 8008782C 0008478C 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80087830 00084790 3C 60 80 00 */ lis r3, 0x8000 -/* 80087834 00084794 7C A0 20 38 */ and r0, r5, r4 -/* 80087838 00084798 7C C3 18 38 */ and r3, r6, r3 -/* 8008783C 0008479C 7C 63 22 78 */ xor r3, r3, r4 -/* 80087840 000847A0 7C 00 22 78 */ xor r0, r0, r4 -/* 80087844 000847A4 7C 60 03 79 */ or. r0, r3, r0 -/* 80087848 000847A8 41 82 00 08 */ beq lbl_80087850 -/* 8008784C 000847AC 38 80 00 01 */ li r4, 1 -lbl_80087850: -/* 80087850 000847B0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80087854 000847B4 40 82 00 24 */ bne lbl_80087878 -/* 80087858 000847B8 3C 00 40 00 */ lis r0, 0x4000 -/* 8008785C 000847BC 38 80 00 00 */ li r4, 0 -/* 80087860 000847C0 7C C3 00 38 */ and r3, r6, r0 -/* 80087864 000847C4 7C A0 20 38 */ and r0, r5, r4 -/* 80087868 000847C8 7C 63 22 78 */ xor r3, r3, r4 -/* 8008786C 000847CC 7C 00 22 78 */ xor r0, r0, r4 -/* 80087870 000847D0 7C 60 03 79 */ or. r0, r3, r0 -/* 80087874 000847D4 41 82 00 A4 */ beq lbl_80087918 -lbl_80087878: -/* 80087878 000847D8 D3 C1 01 00 */ stfs f30, 0x100(r1) -/* 8008787C 000847DC 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80087880 000847E0 C0 01 01 28 */ lfs f0, 0x128(r1) -/* 80087884 000847E4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80087888 000847E8 D3 E1 00 FC */ stfs f31, 0xfc(r1) -/* 8008788C 000847EC 38 80 00 02 */ li r4, 2 -/* 80087890 000847F0 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 80087894 000847F4 80 C1 00 FC */ lwz r6, 0xfc(r1) -/* 80087898 000847F8 D3 A1 01 00 */ stfs f29, 0x100(r1) -/* 8008789C 000847FC 80 E1 00 F8 */ lwz r7, 0xf8(r1) -/* 800878A0 00084800 80 01 01 00 */ lwz r0, 0x100(r1) -/* 800878A4 00084804 90 E1 00 20 */ stw r7, 0x20(r1) -/* 800878A8 00084808 90 C1 00 24 */ stw r6, 0x24(r1) -/* 800878AC 0008480C 90 01 00 28 */ stw r0, 0x28(r1) -/* 800878B0 00084810 4B FD 57 A1 */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f -/* 800878B4 00084814 38 7E 03 7C */ addi r3, r30, 0x37c -/* 800878B8 00084818 4B FD 4A 05 */ bl CalculateSplineLength__13CCameraSplineFv -/* 800878BC 0008481C D0 3E 03 C0 */ stfs f1, 0x3c0(r30) -/* 800878C0 00084820 7F C3 F3 78 */ mr r3, r30 -/* 800878C4 00084824 7F E5 FB 78 */ mr r5, r31 -/* 800878C8 00084828 38 81 00 18 */ addi r4, r1, 0x18 -/* 800878CC 0008482C 4B FF 97 7D */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager -/* 800878D0 00084830 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800878D4 00084834 40 82 00 44 */ bne lbl_80087918 -/* 800878D8 00084838 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800878DC 0008483C 38 80 00 00 */ li r4, 0 -/* 800878E0 00084840 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 800878E4 00084844 3C 60 80 00 */ lis r3, 0x8000 -/* 800878E8 00084848 7C 00 20 38 */ and r0, r0, r4 -/* 800878EC 0008484C 7C A3 18 38 */ and r3, r5, r3 -/* 800878F0 00084850 7C 63 22 78 */ xor r3, r3, r4 -/* 800878F4 00084854 7C 00 22 78 */ xor r0, r0, r4 -/* 800878F8 00084858 7C 60 03 79 */ or. r0, r3, r0 -/* 800878FC 0008485C 41 82 00 1C */ beq lbl_80087918 -/* 80087900 00084860 88 1E 03 D0 */ lbz r0, 0x3d0(r30) -/* 80087904 00084864 38 60 00 01 */ li r3, 1 -/* 80087908 00084868 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8008790C 0008486C 98 1E 03 D0 */ stb r0, 0x3d0(r30) -/* 80087910 00084870 90 9E 03 CC */ stw r4, 0x3cc(r30) -/* 80087914 00084874 90 9E 03 C8 */ stw r4, 0x3c8(r30) -lbl_80087918: -/* 80087918 00084878 C0 42 89 DC */ lfs f2, lbl_805AA6FC@sda21(r2) -/* 8008791C 0008487C 38 60 00 00 */ li r3, 0 -/* 80087920 00084880 C0 22 89 E0 */ lfs f1, lbl_805AA700@sda21(r2) -/* 80087924 00084884 C0 02 8A 50 */ lfs f0, lbl_805AA770@sda21(r2) -/* 80087928 00084888 EC 22 0F 3A */ fmadds f1, f2, f28, f1 -/* 8008792C 0008488C D0 3E 03 74 */ stfs f1, 0x374(r30) -/* 80087930 00084890 D0 1E 03 78 */ stfs f0, 0x378(r30) -/* 80087934 00084894 80 A1 01 80 */ lwz r5, 0x180(r1) -/* 80087938 00084898 2C 05 00 00 */ cmpwi r5, 0 -/* 8008793C 0008489C 40 81 00 40 */ ble lbl_8008797C -/* 80087940 000848A0 2C 05 00 08 */ cmpwi r5, 8 -/* 80087944 000848A4 38 85 FF F8 */ addi r4, r5, -8 -/* 80087948 000848A8 40 81 00 20 */ ble lbl_80087968 -/* 8008794C 000848AC 38 04 00 07 */ addi r0, r4, 7 -/* 80087950 000848B0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80087954 000848B4 7C 09 03 A6 */ mtctr r0 -/* 80087958 000848B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8008795C 000848BC 40 81 00 0C */ ble lbl_80087968 -lbl_80087960: -/* 80087960 000848C0 38 63 00 08 */ addi r3, r3, 8 -/* 80087964 000848C4 42 00 FF FC */ bdnz lbl_80087960 -lbl_80087968: -/* 80087968 000848C8 7C 03 28 50 */ subf r0, r3, r5 -/* 8008796C 000848CC 7C 09 03 A6 */ mtctr r0 -/* 80087970 000848D0 7C 03 28 00 */ cmpw r3, r5 -/* 80087974 000848D4 40 80 00 08 */ bge lbl_8008797C -lbl_80087978: -/* 80087978 000848D8 42 00 00 00 */ bdnz lbl_80087978 -lbl_8008797C: -/* 8008797C 000848DC 38 00 00 00 */ li r0, 0 -/* 80087980 000848E0 90 01 01 80 */ stw r0, 0x180(r1) -/* 80087984 000848E4 E3 E1 09 D8 */ psq_l f31, -1576(r1), 0, qr0 -/* 80087988 000848E8 CB E1 09 D0 */ lfd f31, 0x9d0(r1) -/* 8008798C 000848EC E3 C1 09 C8 */ psq_l f30, -1592(r1), 0, qr0 -/* 80087990 000848F0 CB C1 09 C0 */ lfd f30, 0x9c0(r1) -/* 80087994 000848F4 E3 A1 09 B8 */ psq_l f29, -1608(r1), 0, qr0 -/* 80087998 000848F8 CB A1 09 B0 */ lfd f29, 0x9b0(r1) -/* 8008799C 000848FC E3 81 09 A8 */ psq_l f28, -1624(r1), 0, qr0 -/* 800879A0 00084900 CB 81 09 A0 */ lfd f28, 0x9a0(r1) -/* 800879A4 00084904 83 E1 09 9C */ lwz r31, 0x99c(r1) -/* 800879A8 00084908 83 C1 09 98 */ lwz r30, 0x998(r1) -/* 800879AC 0008490C 83 A1 09 94 */ lwz r29, 0x994(r1) -/* 800879B0 00084910 80 01 09 E4 */ lwz r0, 0x9e4(r1) -/* 800879B4 00084914 83 81 09 90 */ lwz r28, 0x990(r1) -/* 800879B8 00084918 7C 08 03 A6 */ mtlr r0 -/* 800879BC 0008491C 38 21 09 E0 */ addi r1, r1, 0x9e0 -/* 800879C0 00084920 4E 80 00 20 */ blr - -.global BuildSpline__11CBallCameraFR13CStateManager -BuildSpline__11CBallCameraFR13CStateManager: -/* 800879C4 00084924 94 21 F3 F0 */ stwu r1, -0xc10(r1) -/* 800879C8 00084928 7C 08 02 A6 */ mflr r0 -/* 800879CC 0008492C 90 01 0C 14 */ stw r0, 0xc14(r1) -/* 800879D0 00084930 DB E1 0C 00 */ stfd f31, 0xc00(r1) -/* 800879D4 00084934 F3 E1 0C 08 */ psq_st f31, -1016(r1), 0, qr0 -/* 800879D8 00084938 DB C1 0B F0 */ stfd f30, 0xbf0(r1) -/* 800879DC 0008493C F3 C1 0B F8 */ psq_st f30, -1032(r1), 0, qr0 -/* 800879E0 00084940 DB A1 0B E0 */ stfd f29, 0xbe0(r1) -/* 800879E4 00084944 F3 A1 0B E8 */ psq_st f29, -1048(r1), 0, qr0 -/* 800879E8 00084948 93 E1 0B DC */ stw r31, 0xbdc(r1) -/* 800879EC 0008494C 93 C1 0B D8 */ stw r30, 0xbd8(r1) -/* 800879F0 00084950 7C 9F 23 78 */ mr r31, r4 -/* 800879F4 00084954 7C 7E 1B 78 */ mr r30, r3 -/* 800879F8 00084958 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 800879FC 0008495C 38 61 02 34 */ addi r3, r1, 0x234 -/* 80087A00 00084960 48 1F D3 49 */ bl GetBallPosition__7CPlayerCFv -/* 80087A04 00084964 C3 C1 02 34 */ lfs f30, 0x234(r1) -/* 80087A08 00084968 38 00 00 02 */ li r0, 2 -/* 80087A0C 0008496C C3 A1 02 38 */ lfs f29, 0x238(r1) -/* 80087A10 00084970 38 A0 00 00 */ li r5, 0 -/* 80087A14 00084974 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80087A18 00084978 38 80 00 04 */ li r4, 4 -/* 80087A1C 0008497C 90 1E 03 6C */ stw r0, 0x36c(r30) -/* 80087A20 00084980 88 1E 03 70 */ lbz r0, 0x370(r30) -/* 80087A24 00084984 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80087A28 00084988 98 1E 03 70 */ stb r0, 0x370(r30) -/* 80087A2C 0008498C 4B FD 54 1D */ bl Reset__13CCameraSplineFi -/* 80087A30 00084990 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80087A34 00084994 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80087A38 00084998 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80087A3C 0008499C 38 81 02 28 */ addi r4, r1, 0x228 -/* 80087A40 000849A0 D0 21 02 04 */ stfs f1, 0x204(r1) -/* 80087A44 000849A4 38 A1 02 10 */ addi r5, r1, 0x210 -/* 80087A48 000849A8 D0 01 02 08 */ stfs f0, 0x208(r1) -/* 80087A4C 000849AC 80 E1 02 04 */ lwz r7, 0x204(r1) -/* 80087A50 000849B0 D0 21 02 0C */ stfs f1, 0x20c(r1) -/* 80087A54 000849B4 80 C1 02 08 */ lwz r6, 0x208(r1) -/* 80087A58 000849B8 80 01 02 0C */ lwz r0, 0x20c(r1) -/* 80087A5C 000849BC 90 E1 02 10 */ stw r7, 0x210(r1) -/* 80087A60 000849C0 90 C1 02 14 */ stw r6, 0x214(r1) -/* 80087A64 000849C4 90 01 02 18 */ stw r0, 0x218(r1) -/* 80087A68 000849C8 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 80087A6C 000849CC C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80087A70 000849D0 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80087A74 000849D4 D0 41 02 1C */ stfs f2, 0x21c(r1) -/* 80087A78 000849D8 D0 21 02 20 */ stfs f1, 0x220(r1) -/* 80087A7C 000849DC 80 E1 02 1C */ lwz r7, 0x21c(r1) -/* 80087A80 000849E0 D0 01 02 24 */ stfs f0, 0x224(r1) -/* 80087A84 000849E4 80 C1 02 20 */ lwz r6, 0x220(r1) -/* 80087A88 000849E8 80 01 02 24 */ lwz r0, 0x224(r1) -/* 80087A8C 000849EC 90 E1 02 28 */ stw r7, 0x228(r1) -/* 80087A90 000849F0 90 C1 02 2C */ stw r6, 0x22c(r1) -/* 80087A94 000849F4 90 01 02 30 */ stw r0, 0x230(r1) -/* 80087A98 000849F8 4B FD 54 B9 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -/* 80087A9C 000849FC C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 80087AA0 00084A00 7F C3 F3 78 */ mr r3, r30 -/* 80087AA4 00084A04 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80087AA8 00084A08 7F E6 FB 78 */ mr r6, r31 -/* 80087AAC 00084A0C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80087AB0 00084A10 38 81 00 14 */ addi r4, r1, 0x14 -/* 80087AB4 00084A14 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80087AB8 00084A18 C0 1E 01 A0 */ lfs f0, 0x1a0(r30) -/* 80087ABC 00084A1C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80087AC0 00084A20 48 00 1C 0D */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -/* 80087AC4 00084A24 C0 BE 00 50 */ lfs f5, 0x50(r30) -/* 80087AC8 00084A28 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 80087ACC 00084A2C C0 DE 00 40 */ lfs f6, 0x40(r30) -/* 80087AD0 00084A30 38 81 00 10 */ addi r4, r1, 0x10 -/* 80087AD4 00084A34 EC 5D 28 28 */ fsubs f2, f29, f5 -/* 80087AD8 00084A38 C3 BE 00 60 */ lfs f29, 0x60(r30) -/* 80087ADC 00084A3C C0 82 89 DC */ lfs f4, lbl_805AA6FC@sda21(r2) -/* 80087AE0 00084A40 EC 7E 30 28 */ fsubs f3, f30, f6 -/* 80087AE4 00084A44 EC 3D E8 28 */ fsubs f1, f29, f29 -/* 80087AE8 00084A48 C0 02 8A 54 */ lfs f0, lbl_805AA774@sda21(r2) -/* 80087AEC 00084A4C EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80087AF0 00084A50 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) -/* 80087AF4 00084A54 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80087AF8 00084A58 D0 A1 01 FC */ stfs f5, 0x1fc(r1) -/* 80087AFC 00084A5C EF C6 18 2A */ fadds f30, f6, f3 -/* 80087B00 00084A60 EF E5 10 2A */ fadds f31, f5, f2 -/* 80087B04 00084A64 D3 A1 02 00 */ stfs f29, 0x200(r1) -/* 80087B08 00084A68 EC 46 F0 28 */ fsubs f2, f6, f30 -/* 80087B0C 00084A6C D0 21 02 A0 */ stfs f1, 0x2a0(r1) -/* 80087B10 00084A70 EC 25 F8 28 */ fsubs f1, f5, f31 -/* 80087B14 00084A74 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80087B18 00084A78 D0 41 02 98 */ stfs f2, 0x298(r1) -/* 80087B1C 00084A7C D0 21 02 9C */ stfs f1, 0x29c(r1) -/* 80087B20 00084A80 48 28 95 D9 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 80087B24 00084A84 C0 01 01 E8 */ lfs f0, 0x1e8(r1) -/* 80087B28 00084A88 C0 61 01 EC */ lfs f3, 0x1ec(r1) -/* 80087B2C 00084A8C C0 41 01 F0 */ lfs f2, 0x1f0(r1) -/* 80087B30 00084A90 C0 21 01 F4 */ lfs f1, 0x1f4(r1) -/* 80087B34 00084A94 D0 01 02 88 */ stfs f0, 0x288(r1) -/* 80087B38 00084A98 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80087B3C 00084A9C D0 61 02 8C */ stfs f3, 0x28c(r1) -/* 80087B40 00084AA0 D0 41 02 90 */ stfs f2, 0x290(r1) -/* 80087B44 00084AA4 D0 21 02 94 */ stfs f1, 0x294(r1) -/* 80087B48 00084AA8 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80087B4C 00084AAC C0 9E 00 38 */ lfs f4, 0x38(r30) -/* 80087B50 00084AB0 C0 E3 05 10 */ lfs f7, 0x510(r3) -/* 80087B54 00084AB4 C0 DE 00 58 */ lfs f6, 0x58(r30) -/* 80087B58 00084AB8 C0 BE 00 48 */ lfs f5, 0x48(r30) -/* 80087B5C 00084ABC EC 24 01 F2 */ fmuls f1, f4, f7 -/* 80087B60 00084AC0 C0 43 05 0C */ lfs f2, 0x50c(r3) -/* 80087B64 00084AC4 C1 03 05 14 */ lfs f8, 0x514(r3) -/* 80087B68 00084AC8 EC 22 09 78 */ fmsubs f1, f2, f5, f1 -/* 80087B6C 00084ACC D0 81 01 D0 */ stfs f4, 0x1d0(r1) -/* 80087B70 00084AD0 EC 65 02 32 */ fmuls f3, f5, f8 -/* 80087B74 00084AD4 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 80087B78 00084AD8 D0 A1 01 D4 */ stfs f5, 0x1d4(r1) -/* 80087B7C 00084ADC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80087B80 00084AE0 EC 67 19 B8 */ fmsubs f3, f7, f6, f3 -/* 80087B84 00084AE4 D0 C1 01 D8 */ stfs f6, 0x1d8(r1) -/* 80087B88 00084AE8 EC 08 11 38 */ fmsubs f0, f8, f4, f2 -/* 80087B8C 00084AEC D0 21 01 E4 */ stfs f1, 0x1e4(r1) -/* 80087B90 00084AF0 D0 61 01 DC */ stfs f3, 0x1dc(r1) -/* 80087B94 00084AF4 D0 01 01 E0 */ stfs f0, 0x1e0(r1) -/* 80087B98 00084AF8 4C 41 13 82 */ cror 2, 1, 2 -/* 80087B9C 00084AFC 40 82 00 38 */ bne lbl_80087BD4 -/* 80087BA0 00084B00 C0 02 8A 58 */ lfs f0, lbl_805AA778@sda21(r2) -/* 80087BA4 00084B04 38 61 01 C0 */ addi r3, r1, 0x1c0 -/* 80087BA8 00084B08 38 81 00 0C */ addi r4, r1, 0xc -/* 80087BAC 00084B0C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80087BB0 00084B10 48 28 95 49 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 80087BB4 00084B14 C0 01 01 C0 */ lfs f0, 0x1c0(r1) -/* 80087BB8 00084B18 80 81 01 C4 */ lwz r4, 0x1c4(r1) -/* 80087BBC 00084B1C 80 61 01 C8 */ lwz r3, 0x1c8(r1) -/* 80087BC0 00084B20 80 01 01 CC */ lwz r0, 0x1cc(r1) -/* 80087BC4 00084B24 D0 01 02 88 */ stfs f0, 0x288(r1) -/* 80087BC8 00084B28 90 81 02 8C */ stw r4, 0x28c(r1) -/* 80087BCC 00084B2C 90 61 02 90 */ stw r3, 0x290(r1) -/* 80087BD0 00084B30 90 01 02 94 */ stw r0, 0x294(r1) -lbl_80087BD4: -/* 80087BD4 00084B34 38 61 01 B4 */ addi r3, r1, 0x1b4 -/* 80087BD8 00084B38 38 81 02 88 */ addi r4, r1, 0x288 -/* 80087BDC 00084B3C 38 A1 02 98 */ addi r5, r1, 0x298 -/* 80087BE0 00084B40 48 28 96 85 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80087BE4 00084B44 C0 61 01 B4 */ lfs f3, 0x1b4(r1) -/* 80087BE8 00084B48 38 00 00 00 */ li r0, 0 -/* 80087BEC 00084B4C C0 41 01 B8 */ lfs f2, 0x1b8(r1) -/* 80087BF0 00084B50 38 61 01 90 */ addi r3, r1, 0x190 -/* 80087BF4 00084B54 C0 21 01 BC */ lfs f1, 0x1bc(r1) -/* 80087BF8 00084B58 EC 1E 18 2A */ fadds f0, f30, f3 -/* 80087BFC 00084B5C EC 9F 10 2A */ fadds f4, f31, f2 -/* 80087C00 00084B60 D0 61 02 98 */ stfs f3, 0x298(r1) -/* 80087C04 00084B64 EC 7D 08 2A */ fadds f3, f29, f1 -/* 80087C08 00084B68 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 80087C0C 00084B6C D0 41 02 9C */ stfs f2, 0x29c(r1) -/* 80087C10 00084B70 38 81 02 98 */ addi r4, r1, 0x298 -/* 80087C14 00084B74 D0 21 02 A0 */ stfs f1, 0x2a0(r1) -/* 80087C18 00084B78 D0 01 02 7C */ stfs f0, 0x27c(r1) -/* 80087C1C 00084B7C D0 81 02 80 */ stfs f4, 0x280(r1) -/* 80087C20 00084B80 D0 61 02 84 */ stfs f3, 0x284(r1) -/* 80087C24 00084B84 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80087C28 00084B88 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80087C2C 00084B8C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80087C30 00084B90 D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 80087C34 00084B94 D0 01 01 A8 */ stfs f0, 0x1a8(r1) -/* 80087C38 00084B98 D0 41 01 B0 */ stfs f2, 0x1b0(r1) -/* 80087C3C 00084B9C D0 41 02 84 */ stfs f2, 0x284(r1) -/* 80087C40 00084BA0 B0 A1 00 08 */ sth r5, 8(r1) -/* 80087C44 00084BA4 90 01 03 C8 */ stw r0, 0x3c8(r1) -/* 80087C48 00084BA8 48 28 CC 09 */ bl AsNormalized__9CVector3fCFv -/* 80087C4C 00084BAC C0 41 01 90 */ lfs f2, 0x190(r1) -/* 80087C50 00084BB0 38 61 02 98 */ addi r3, r1, 0x298 -/* 80087C54 00084BB4 C0 21 01 94 */ lfs f1, 0x194(r1) -/* 80087C58 00084BB8 C0 01 01 98 */ lfs f0, 0x198(r1) -/* 80087C5C 00084BBC FC 40 10 50 */ fneg f2, f2 -/* 80087C60 00084BC0 FC 20 08 50 */ fneg f1, f1 -/* 80087C64 00084BC4 FC 00 00 50 */ fneg f0, f0 -/* 80087C68 00084BC8 D0 41 01 9C */ stfs f2, 0x19c(r1) -/* 80087C6C 00084BCC D0 21 01 A0 */ stfs f1, 0x1a0(r1) -/* 80087C70 00084BD0 D0 01 01 A4 */ stfs f0, 0x1a4(r1) -/* 80087C74 00084BD4 48 28 CC 45 */ bl Magnitude__9CVector3fCFv -/* 80087C78 00084BD8 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80087C7C 00084BDC 7F E4 FB 78 */ mr r4, r31 -/* 80087C80 00084BE0 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 80087C84 00084BE4 38 A1 00 08 */ addi r5, r1, 8 -/* 80087C88 00084BE8 38 61 03 68 */ addi r3, r1, 0x368 -/* 80087C8C 00084BEC 38 C1 02 7C */ addi r6, r1, 0x27c -/* 80087C90 00084BF0 38 E1 01 9C */ addi r7, r1, 0x19c -/* 80087C94 00084BF4 39 21 03 C8 */ addi r9, r1, 0x3c8 -/* 80087C98 00084BF8 4B FC 53 2D */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80087C9C 00084BFC 88 81 03 88 */ lbz r4, 0x388(r1) -/* 80087CA0 00084C00 C0 E1 03 68 */ lfs f7, 0x368(r1) -/* 80087CA4 00084C04 C0 C1 03 6C */ lfs f6, 0x36c(r1) -/* 80087CA8 00084C08 28 04 00 00 */ cmplwi r4, 0 -/* 80087CAC 00084C0C C0 A1 03 70 */ lfs f5, 0x370(r1) -/* 80087CB0 00084C10 C0 81 03 74 */ lfs f4, 0x374(r1) -/* 80087CB4 00084C14 C0 61 03 78 */ lfs f3, 0x378(r1) -/* 80087CB8 00084C18 C0 41 03 7C */ lfs f2, 0x37c(r1) -/* 80087CBC 00084C1C C0 21 03 80 */ lfs f1, 0x380(r1) -/* 80087CC0 00084C20 C0 01 03 84 */ lfs f0, 0x384(r1) -/* 80087CC4 00084C24 80 01 03 90 */ lwz r0, 0x390(r1) -/* 80087CC8 00084C28 80 61 03 94 */ lwz r3, 0x394(r1) -/* 80087CCC 00084C2C D0 E1 03 98 */ stfs f7, 0x398(r1) -/* 80087CD0 00084C30 D0 C1 03 9C */ stfs f6, 0x39c(r1) -/* 80087CD4 00084C34 D0 A1 03 A0 */ stfs f5, 0x3a0(r1) -/* 80087CD8 00084C38 D0 81 03 A4 */ stfs f4, 0x3a4(r1) -/* 80087CDC 00084C3C D0 61 03 A8 */ stfs f3, 0x3a8(r1) -/* 80087CE0 00084C40 D0 41 03 AC */ stfs f2, 0x3ac(r1) -/* 80087CE4 00084C44 D0 21 03 B0 */ stfs f1, 0x3b0(r1) -/* 80087CE8 00084C48 D0 01 03 B4 */ stfs f0, 0x3b4(r1) -/* 80087CEC 00084C4C 98 81 03 B8 */ stb r4, 0x3b8(r1) -/* 80087CF0 00084C50 90 61 03 C4 */ stw r3, 0x3c4(r1) -/* 80087CF4 00084C54 90 01 03 C0 */ stw r0, 0x3c0(r1) -/* 80087CF8 00084C58 41 82 00 54 */ beq lbl_80087D4C -/* 80087CFC 00084C5C 38 61 01 84 */ addi r3, r1, 0x184 -/* 80087D00 00084C60 38 81 02 98 */ addi r4, r1, 0x298 -/* 80087D04 00084C64 48 28 CB 4D */ bl AsNormalized__9CVector3fCFv -/* 80087D08 00084C68 C0 A2 8A 5C */ lfs f5, lbl_805AA77C@sda21(r2) -/* 80087D0C 00084C6C C0 41 01 88 */ lfs f2, 0x188(r1) -/* 80087D10 00084C70 C0 21 01 8C */ lfs f1, 0x18c(r1) -/* 80087D14 00084C74 C0 01 01 84 */ lfs f0, 0x184(r1) -/* 80087D18 00084C78 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 80087D1C 00084C7C C0 C1 03 A0 */ lfs f6, 0x3a0(r1) -/* 80087D20 00084C80 EC 45 00 72 */ fmuls f2, f5, f1 -/* 80087D24 00084C84 C0 61 03 A4 */ lfs f3, 0x3a4(r1) -/* 80087D28 00084C88 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80087D2C 00084C8C C0 21 03 9C */ lfs f1, 0x39c(r1) -/* 80087D30 00084C90 EC 86 20 2A */ fadds f4, f6, f4 -/* 80087D34 00084C94 EC 43 10 2A */ fadds f2, f3, f2 -/* 80087D38 00084C98 EC 01 00 2A */ fadds f0, f1, f0 -/* 80087D3C 00084C9C D0 81 02 80 */ stfs f4, 0x280(r1) -/* 80087D40 00084CA0 D0 01 02 7C */ stfs f0, 0x27c(r1) -/* 80087D44 00084CA4 D0 41 02 84 */ stfs f2, 0x284(r1) -/* 80087D48 00084CA8 48 00 00 28 */ b lbl_80087D70 -lbl_80087D4C: -/* 80087D4C 00084CAC C0 41 02 9C */ lfs f2, 0x29c(r1) -/* 80087D50 00084CB0 C0 21 02 A0 */ lfs f1, 0x2a0(r1) -/* 80087D54 00084CB4 C0 01 02 98 */ lfs f0, 0x298(r1) -/* 80087D58 00084CB8 EC 5F 10 2A */ fadds f2, f31, f2 -/* 80087D5C 00084CBC EC 3D 08 2A */ fadds f1, f29, f1 -/* 80087D60 00084CC0 EC 1E 00 2A */ fadds f0, f30, f0 -/* 80087D64 00084CC4 D0 41 02 80 */ stfs f2, 0x280(r1) -/* 80087D68 00084CC8 D0 01 02 7C */ stfs f0, 0x27c(r1) -/* 80087D6C 00084CCC D0 21 02 84 */ stfs f1, 0x284(r1) -lbl_80087D70: -/* 80087D70 00084CD0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80087D74 00084CD4 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80087D78 00084CD8 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80087D7C 00084CDC 38 81 01 78 */ addi r4, r1, 0x178 -/* 80087D80 00084CE0 D0 21 01 60 */ stfs f1, 0x160(r1) -/* 80087D84 00084CE4 38 A1 01 6C */ addi r5, r1, 0x16c -/* 80087D88 00084CE8 80 E1 02 7C */ lwz r7, 0x27c(r1) -/* 80087D8C 00084CEC D0 01 01 64 */ stfs f0, 0x164(r1) -/* 80087D90 00084CF0 81 41 01 60 */ lwz r10, 0x160(r1) -/* 80087D94 00084CF4 D0 21 01 68 */ stfs f1, 0x168(r1) -/* 80087D98 00084CF8 81 21 01 64 */ lwz r9, 0x164(r1) -/* 80087D9C 00084CFC 81 01 01 68 */ lwz r8, 0x168(r1) -/* 80087DA0 00084D00 80 C1 02 80 */ lwz r6, 0x280(r1) -/* 80087DA4 00084D04 80 01 02 84 */ lwz r0, 0x284(r1) -/* 80087DA8 00084D08 91 41 01 6C */ stw r10, 0x16c(r1) -/* 80087DAC 00084D0C 91 21 01 70 */ stw r9, 0x170(r1) -/* 80087DB0 00084D10 91 01 01 74 */ stw r8, 0x174(r1) -/* 80087DB4 00084D14 90 E1 01 78 */ stw r7, 0x178(r1) -/* 80087DB8 00084D18 90 C1 01 7C */ stw r6, 0x17c(r1) -/* 80087DBC 00084D1C 90 01 01 80 */ stw r0, 0x180(r1) -/* 80087DC0 00084D20 4B FD 51 91 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -/* 80087DC4 00084D24 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 80087DC8 00084D28 7F C4 F3 78 */ mr r4, r30 -/* 80087DCC 00084D2C C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80087DD0 00084D30 7F E6 FB 78 */ mr r6, r31 -/* 80087DD4 00084D34 C0 45 05 0C */ lfs f2, 0x50c(r5) -/* 80087DD8 00084D38 38 61 01 54 */ addi r3, r1, 0x154 -/* 80087DDC 00084D3C C0 65 05 10 */ lfs f3, 0x510(r5) -/* 80087DE0 00084D40 38 E0 00 00 */ li r7, 0 -/* 80087DE4 00084D44 C0 05 05 14 */ lfs f0, 0x514(r5) -/* 80087DE8 00084D48 38 A1 01 48 */ addi r5, r1, 0x148 -/* 80087DEC 00084D4C D0 41 02 70 */ stfs f2, 0x270(r1) -/* 80087DF0 00084D50 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80087DF4 00084D54 D0 61 02 74 */ stfs f3, 0x274(r1) -/* 80087DF8 00084D58 81 21 02 70 */ lwz r9, 0x270(r1) -/* 80087DFC 00084D5C D0 01 02 78 */ stfs f0, 0x278(r1) -/* 80087E00 00084D60 81 01 02 74 */ lwz r8, 0x274(r1) -/* 80087E04 00084D64 80 01 02 78 */ lwz r0, 0x278(r1) -/* 80087E08 00084D68 91 21 01 48 */ stw r9, 0x148(r1) -/* 80087E0C 00084D6C 91 01 01 4C */ stw r8, 0x14c(r1) -/* 80087E10 00084D70 90 01 01 50 */ stw r0, 0x150(r1) -/* 80087E14 00084D74 48 00 1E A1 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -/* 80087E18 00084D78 38 61 01 3C */ addi r3, r1, 0x13c -/* 80087E1C 00084D7C 38 81 02 88 */ addi r4, r1, 0x288 -/* 80087E20 00084D80 38 A1 02 98 */ addi r5, r1, 0x298 -/* 80087E24 00084D84 48 28 94 41 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80087E28 00084D88 C0 61 01 3C */ lfs f3, 0x13c(r1) -/* 80087E2C 00084D8C 38 61 01 18 */ addi r3, r1, 0x118 -/* 80087E30 00084D90 C0 41 01 40 */ lfs f2, 0x140(r1) -/* 80087E34 00084D94 38 81 02 98 */ addi r4, r1, 0x298 -/* 80087E38 00084D98 C0 21 01 44 */ lfs f1, 0x144(r1) -/* 80087E3C 00084D9C EC 1E 18 2A */ fadds f0, f30, f3 -/* 80087E40 00084DA0 EC 9F 10 2A */ fadds f4, f31, f2 -/* 80087E44 00084DA4 D0 61 02 98 */ stfs f3, 0x298(r1) -/* 80087E48 00084DA8 EC 7D 08 2A */ fadds f3, f29, f1 -/* 80087E4C 00084DAC D0 41 02 9C */ stfs f2, 0x29c(r1) -/* 80087E50 00084DB0 D0 21 02 A0 */ stfs f1, 0x2a0(r1) -/* 80087E54 00084DB4 D0 01 02 64 */ stfs f0, 0x264(r1) -/* 80087E58 00084DB8 D0 81 02 68 */ stfs f4, 0x268(r1) -/* 80087E5C 00084DBC D0 61 02 6C */ stfs f3, 0x26c(r1) -/* 80087E60 00084DC0 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80087E64 00084DC4 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80087E68 00084DC8 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80087E6C 00084DCC D0 21 01 34 */ stfs f1, 0x134(r1) -/* 80087E70 00084DD0 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 80087E74 00084DD4 D0 41 01 38 */ stfs f2, 0x138(r1) -/* 80087E78 00084DD8 D0 41 02 6C */ stfs f2, 0x26c(r1) -/* 80087E7C 00084DDC 48 28 C9 D5 */ bl AsNormalized__9CVector3fCFv -/* 80087E80 00084DE0 C0 41 01 18 */ lfs f2, 0x118(r1) -/* 80087E84 00084DE4 38 61 02 98 */ addi r3, r1, 0x298 -/* 80087E88 00084DE8 C0 21 01 1C */ lfs f1, 0x11c(r1) -/* 80087E8C 00084DEC C0 01 01 20 */ lfs f0, 0x120(r1) -/* 80087E90 00084DF0 FC 40 10 50 */ fneg f2, f2 -/* 80087E94 00084DF4 FC 20 08 50 */ fneg f1, f1 -/* 80087E98 00084DF8 FC 00 00 50 */ fneg f0, f0 -/* 80087E9C 00084DFC D0 41 01 24 */ stfs f2, 0x124(r1) -/* 80087EA0 00084E00 D0 21 01 28 */ stfs f1, 0x128(r1) -/* 80087EA4 00084E04 D0 01 01 2C */ stfs f0, 0x12c(r1) -/* 80087EA8 00084E08 48 28 CA 11 */ bl Magnitude__9CVector3fCFv -/* 80087EAC 00084E0C 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80087EB0 00084E10 7F E4 FB 78 */ mr r4, r31 -/* 80087EB4 00084E14 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 80087EB8 00084E18 38 A1 00 08 */ addi r5, r1, 8 -/* 80087EBC 00084E1C 38 61 03 38 */ addi r3, r1, 0x338 -/* 80087EC0 00084E20 38 C1 02 64 */ addi r6, r1, 0x264 -/* 80087EC4 00084E24 38 E1 01 24 */ addi r7, r1, 0x124 -/* 80087EC8 00084E28 39 21 03 C8 */ addi r9, r1, 0x3c8 -/* 80087ECC 00084E2C 4B FC 50 F9 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80087ED0 00084E30 88 01 03 58 */ lbz r0, 0x358(r1) -/* 80087ED4 00084E34 C0 A1 03 38 */ lfs f5, 0x338(r1) -/* 80087ED8 00084E38 80 A1 03 3C */ lwz r5, 0x33c(r1) -/* 80087EDC 00084E3C 28 00 00 00 */ cmplwi r0, 0 -/* 80087EE0 00084E40 80 81 03 40 */ lwz r4, 0x340(r1) -/* 80087EE4 00084E44 80 61 03 44 */ lwz r3, 0x344(r1) -/* 80087EE8 00084E48 C0 81 03 48 */ lfs f4, 0x348(r1) -/* 80087EEC 00084E4C C0 61 03 4C */ lfs f3, 0x34c(r1) -/* 80087EF0 00084E50 C0 41 03 50 */ lfs f2, 0x350(r1) -/* 80087EF4 00084E54 C0 21 03 54 */ lfs f1, 0x354(r1) -/* 80087EF8 00084E58 C8 01 03 60 */ lfd f0, 0x360(r1) -/* 80087EFC 00084E5C D0 A1 03 98 */ stfs f5, 0x398(r1) -/* 80087F00 00084E60 90 A1 03 9C */ stw r5, 0x39c(r1) -/* 80087F04 00084E64 90 81 03 A0 */ stw r4, 0x3a0(r1) -/* 80087F08 00084E68 90 61 03 A4 */ stw r3, 0x3a4(r1) -/* 80087F0C 00084E6C D0 81 03 A8 */ stfs f4, 0x3a8(r1) -/* 80087F10 00084E70 D0 61 03 AC */ stfs f3, 0x3ac(r1) -/* 80087F14 00084E74 D0 41 03 B0 */ stfs f2, 0x3b0(r1) -/* 80087F18 00084E78 D0 21 03 B4 */ stfs f1, 0x3b4(r1) -/* 80087F1C 00084E7C 98 01 03 B8 */ stb r0, 0x3b8(r1) -/* 80087F20 00084E80 D8 01 03 C0 */ stfd f0, 0x3c0(r1) -/* 80087F24 00084E84 41 82 00 54 */ beq lbl_80087F78 -/* 80087F28 00084E88 38 61 01 0C */ addi r3, r1, 0x10c -/* 80087F2C 00084E8C 38 81 02 98 */ addi r4, r1, 0x298 -/* 80087F30 00084E90 48 28 C9 21 */ bl AsNormalized__9CVector3fCFv -/* 80087F34 00084E94 C0 A2 89 E0 */ lfs f5, lbl_805AA700@sda21(r2) -/* 80087F38 00084E98 C0 41 01 10 */ lfs f2, 0x110(r1) -/* 80087F3C 00084E9C C0 21 01 14 */ lfs f1, 0x114(r1) -/* 80087F40 00084EA0 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 80087F44 00084EA4 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 80087F48 00084EA8 C0 C1 03 A0 */ lfs f6, 0x3a0(r1) -/* 80087F4C 00084EAC EC 45 00 72 */ fmuls f2, f5, f1 -/* 80087F50 00084EB0 C0 61 03 A4 */ lfs f3, 0x3a4(r1) -/* 80087F54 00084EB4 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80087F58 00084EB8 C0 21 03 9C */ lfs f1, 0x39c(r1) -/* 80087F5C 00084EBC EC 86 20 2A */ fadds f4, f6, f4 -/* 80087F60 00084EC0 EC 43 10 2A */ fadds f2, f3, f2 -/* 80087F64 00084EC4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80087F68 00084EC8 D0 81 02 68 */ stfs f4, 0x268(r1) -/* 80087F6C 00084ECC D0 01 02 64 */ stfs f0, 0x264(r1) -/* 80087F70 00084ED0 D0 41 02 6C */ stfs f2, 0x26c(r1) -/* 80087F74 00084ED4 48 00 00 28 */ b lbl_80087F9C -lbl_80087F78: -/* 80087F78 00084ED8 C0 41 02 9C */ lfs f2, 0x29c(r1) -/* 80087F7C 00084EDC C0 21 02 A0 */ lfs f1, 0x2a0(r1) -/* 80087F80 00084EE0 C0 01 02 98 */ lfs f0, 0x298(r1) -/* 80087F84 00084EE4 EC 5F 10 2A */ fadds f2, f31, f2 -/* 80087F88 00084EE8 EC 3D 08 2A */ fadds f1, f29, f1 -/* 80087F8C 00084EEC EC 1E 00 2A */ fadds f0, f30, f0 -/* 80087F90 00084EF0 D0 41 02 68 */ stfs f2, 0x268(r1) -/* 80087F94 00084EF4 D0 01 02 64 */ stfs f0, 0x264(r1) -/* 80087F98 00084EF8 D0 21 02 6C */ stfs f1, 0x26c(r1) -lbl_80087F9C: -/* 80087F9C 00084EFC C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80087FA0 00084F00 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80087FA4 00084F04 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80087FA8 00084F08 38 81 01 00 */ addi r4, r1, 0x100 -/* 80087FAC 00084F0C D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 80087FB0 00084F10 38 A1 00 F4 */ addi r5, r1, 0xf4 -/* 80087FB4 00084F14 80 E1 02 64 */ lwz r7, 0x264(r1) -/* 80087FB8 00084F18 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 80087FBC 00084F1C 81 41 00 E8 */ lwz r10, 0xe8(r1) -/* 80087FC0 00084F20 D0 21 00 F0 */ stfs f1, 0xf0(r1) -/* 80087FC4 00084F24 81 21 00 EC */ lwz r9, 0xec(r1) -/* 80087FC8 00084F28 81 01 00 F0 */ lwz r8, 0xf0(r1) -/* 80087FCC 00084F2C 80 C1 02 68 */ lwz r6, 0x268(r1) -/* 80087FD0 00084F30 80 01 02 6C */ lwz r0, 0x26c(r1) -/* 80087FD4 00084F34 91 41 00 F4 */ stw r10, 0xf4(r1) -/* 80087FD8 00084F38 91 21 00 F8 */ stw r9, 0xf8(r1) -/* 80087FDC 00084F3C 91 01 00 FC */ stw r8, 0xfc(r1) -/* 80087FE0 00084F40 90 E1 01 00 */ stw r7, 0x100(r1) -/* 80087FE4 00084F44 90 C1 01 04 */ stw r6, 0x104(r1) -/* 80087FE8 00084F48 90 01 01 08 */ stw r0, 0x108(r1) -/* 80087FEC 00084F4C 4B FD 4F 65 */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -/* 80087FF0 00084F50 38 61 00 DC */ addi r3, r1, 0xdc -/* 80087FF4 00084F54 38 81 02 88 */ addi r4, r1, 0x288 -/* 80087FF8 00084F58 38 A1 02 98 */ addi r5, r1, 0x298 -/* 80087FFC 00084F5C 48 28 92 69 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80088000 00084F60 C0 61 00 DC */ lfs f3, 0xdc(r1) -/* 80088004 00084F64 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80088008 00084F68 C0 41 00 E0 */ lfs f2, 0xe0(r1) -/* 8008800C 00084F6C 38 81 02 98 */ addi r4, r1, 0x298 -/* 80088010 00084F70 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 80088014 00084F74 EC 1E 18 2A */ fadds f0, f30, f3 -/* 80088018 00084F78 EC 9F 10 2A */ fadds f4, f31, f2 -/* 8008801C 00084F7C D0 61 02 98 */ stfs f3, 0x298(r1) -/* 80088020 00084F80 EC 7D 08 2A */ fadds f3, f29, f1 -/* 80088024 00084F84 D0 41 02 9C */ stfs f2, 0x29c(r1) -/* 80088028 00084F88 D0 21 02 A0 */ stfs f1, 0x2a0(r1) -/* 8008802C 00084F8C D0 01 02 58 */ stfs f0, 0x258(r1) -/* 80088030 00084F90 D0 81 02 5C */ stfs f4, 0x25c(r1) -/* 80088034 00084F94 D0 61 02 60 */ stfs f3, 0x260(r1) -/* 80088038 00084F98 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8008803C 00084F9C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80088040 00084FA0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80088044 00084FA4 D0 21 00 D4 */ stfs f1, 0xd4(r1) -/* 80088048 00084FA8 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 8008804C 00084FAC D0 41 00 D8 */ stfs f2, 0xd8(r1) -/* 80088050 00084FB0 D0 41 02 60 */ stfs f2, 0x260(r1) -/* 80088054 00084FB4 48 28 C7 FD */ bl AsNormalized__9CVector3fCFv -/* 80088058 00084FB8 C0 41 00 B8 */ lfs f2, 0xb8(r1) -/* 8008805C 00084FBC 38 61 02 98 */ addi r3, r1, 0x298 -/* 80088060 00084FC0 C0 21 00 BC */ lfs f1, 0xbc(r1) -/* 80088064 00084FC4 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 80088068 00084FC8 FC 40 10 50 */ fneg f2, f2 -/* 8008806C 00084FCC FC 20 08 50 */ fneg f1, f1 -/* 80088070 00084FD0 FC 00 00 50 */ fneg f0, f0 -/* 80088074 00084FD4 D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 80088078 00084FD8 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 8008807C 00084FDC D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 80088080 00084FE0 48 28 C8 39 */ bl Magnitude__9CVector3fCFv -/* 80088084 00084FE4 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80088088 00084FE8 7F E4 FB 78 */ mr r4, r31 -/* 8008808C 00084FEC 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 80088090 00084FF0 38 A1 00 08 */ addi r5, r1, 8 -/* 80088094 00084FF4 38 61 03 08 */ addi r3, r1, 0x308 -/* 80088098 00084FF8 38 C1 02 58 */ addi r6, r1, 0x258 -/* 8008809C 00084FFC 38 E1 00 C4 */ addi r7, r1, 0xc4 -/* 800880A0 00085000 39 21 03 C8 */ addi r9, r1, 0x3c8 -/* 800880A4 00085004 4B FC 4F 21 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 800880A8 00085008 88 01 03 28 */ lbz r0, 0x328(r1) -/* 800880AC 0008500C C0 A1 03 08 */ lfs f5, 0x308(r1) -/* 800880B0 00085010 80 A1 03 0C */ lwz r5, 0x30c(r1) -/* 800880B4 00085014 28 00 00 00 */ cmplwi r0, 0 -/* 800880B8 00085018 80 81 03 10 */ lwz r4, 0x310(r1) -/* 800880BC 0008501C 80 61 03 14 */ lwz r3, 0x314(r1) -/* 800880C0 00085020 C0 81 03 18 */ lfs f4, 0x318(r1) -/* 800880C4 00085024 C0 61 03 1C */ lfs f3, 0x31c(r1) -/* 800880C8 00085028 C0 41 03 20 */ lfs f2, 0x320(r1) -/* 800880CC 0008502C C0 21 03 24 */ lfs f1, 0x324(r1) -/* 800880D0 00085030 C8 01 03 30 */ lfd f0, 0x330(r1) -/* 800880D4 00085034 D0 A1 03 98 */ stfs f5, 0x398(r1) -/* 800880D8 00085038 90 A1 03 9C */ stw r5, 0x39c(r1) -/* 800880DC 0008503C 90 81 03 A0 */ stw r4, 0x3a0(r1) -/* 800880E0 00085040 90 61 03 A4 */ stw r3, 0x3a4(r1) -/* 800880E4 00085044 D0 81 03 A8 */ stfs f4, 0x3a8(r1) -/* 800880E8 00085048 D0 61 03 AC */ stfs f3, 0x3ac(r1) -/* 800880EC 0008504C D0 41 03 B0 */ stfs f2, 0x3b0(r1) -/* 800880F0 00085050 D0 21 03 B4 */ stfs f1, 0x3b4(r1) -/* 800880F4 00085054 98 01 03 B8 */ stb r0, 0x3b8(r1) -/* 800880F8 00085058 D8 01 03 C0 */ stfd f0, 0x3c0(r1) -/* 800880FC 0008505C 41 82 00 54 */ beq lbl_80088150 -/* 80088100 00085060 38 61 00 AC */ addi r3, r1, 0xac -/* 80088104 00085064 38 81 02 98 */ addi r4, r1, 0x298 -/* 80088108 00085068 48 28 C7 49 */ bl AsNormalized__9CVector3fCFv -/* 8008810C 0008506C C0 A2 89 E0 */ lfs f5, lbl_805AA700@sda21(r2) -/* 80088110 00085070 C0 41 00 B0 */ lfs f2, 0xb0(r1) -/* 80088114 00085074 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 80088118 00085078 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 8008811C 0008507C EC 85 00 B2 */ fmuls f4, f5, f2 -/* 80088120 00085080 C0 C1 03 A0 */ lfs f6, 0x3a0(r1) -/* 80088124 00085084 EC 45 00 72 */ fmuls f2, f5, f1 -/* 80088128 00085088 C0 61 03 A4 */ lfs f3, 0x3a4(r1) -/* 8008812C 0008508C EC 05 00 32 */ fmuls f0, f5, f0 -/* 80088130 00085090 C0 21 03 9C */ lfs f1, 0x39c(r1) -/* 80088134 00085094 EC 86 20 2A */ fadds f4, f6, f4 -/* 80088138 00085098 EC 43 10 2A */ fadds f2, f3, f2 -/* 8008813C 0008509C EC 01 00 2A */ fadds f0, f1, f0 -/* 80088140 000850A0 D0 81 02 5C */ stfs f4, 0x25c(r1) -/* 80088144 000850A4 D0 01 02 58 */ stfs f0, 0x258(r1) -/* 80088148 000850A8 D0 41 02 60 */ stfs f2, 0x260(r1) -/* 8008814C 000850AC 48 00 00 28 */ b lbl_80088174 -lbl_80088150: -/* 80088150 000850B0 C0 41 02 9C */ lfs f2, 0x29c(r1) -/* 80088154 000850B4 C0 21 02 A0 */ lfs f1, 0x2a0(r1) -/* 80088158 000850B8 C0 01 02 98 */ lfs f0, 0x298(r1) -/* 8008815C 000850BC EC 5F 10 2A */ fadds f2, f31, f2 -/* 80088160 000850C0 EC 3D 08 2A */ fadds f1, f29, f1 -/* 80088164 000850C4 EC 1E 00 2A */ fadds f0, f30, f0 -/* 80088168 000850C8 D0 41 02 5C */ stfs f2, 0x25c(r1) -/* 8008816C 000850CC D0 01 02 58 */ stfs f0, 0x258(r1) -/* 80088170 000850D0 D0 21 02 60 */ stfs f1, 0x260(r1) -lbl_80088174: -/* 80088174 000850D4 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80088178 000850D8 38 7E 03 7C */ addi r3, r30, 0x37c -/* 8008817C 000850DC C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80088180 000850E0 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 80088184 000850E4 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 80088188 000850E8 38 A1 00 94 */ addi r5, r1, 0x94 -/* 8008818C 000850EC 80 E1 02 58 */ lwz r7, 0x258(r1) -/* 80088190 000850F0 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80088194 000850F4 81 41 00 88 */ lwz r10, 0x88(r1) -/* 80088198 000850F8 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 8008819C 000850FC 81 21 00 8C */ lwz r9, 0x8c(r1) -/* 800881A0 00085100 81 01 00 90 */ lwz r8, 0x90(r1) -/* 800881A4 00085104 80 C1 02 5C */ lwz r6, 0x25c(r1) -/* 800881A8 00085108 80 01 02 60 */ lwz r0, 0x260(r1) -/* 800881AC 0008510C 91 41 00 94 */ stw r10, 0x94(r1) -/* 800881B0 00085110 91 21 00 98 */ stw r9, 0x98(r1) -/* 800881B4 00085114 91 01 00 9C */ stw r8, 0x9c(r1) -/* 800881B8 00085118 90 E1 00 A0 */ stw r7, 0xa0(r1) -/* 800881BC 0008511C 90 C1 00 A4 */ stw r6, 0xa4(r1) -/* 800881C0 00085120 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 800881C4 00085124 4B FD 4D 8D */ bl AddKnot__13CCameraSplineFRC9CVector3fRC9CVector3f -/* 800881C8 00085128 38 00 00 00 */ li r0, 0 -/* 800881CC 0008512C 7F C3 F3 78 */ mr r3, r30 -/* 800881D0 00085130 90 01 00 24 */ stw r0, 0x24(r1) -/* 800881D4 00085134 7F E5 FB 78 */ mr r5, r31 -/* 800881D8 00085138 38 81 00 20 */ addi r4, r1, 0x20 -/* 800881DC 0008513C 90 01 00 20 */ stw r0, 0x20(r1) -/* 800881E0 00085140 4B FF 8E 69 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager -/* 800881E4 00085144 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800881E8 00085148 40 82 03 B4 */ bne lbl_8008859C -/* 800881EC 0008514C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800881F0 00085150 38 80 00 00 */ li r4, 0 -/* 800881F4 00085154 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 800881F8 00085158 3C 60 40 00 */ lis r3, 0x4000 -/* 800881FC 0008515C 7C 00 20 38 */ and r0, r0, r4 -/* 80088200 00085160 7C A3 18 38 */ and r3, r5, r3 -/* 80088204 00085164 7C 63 22 78 */ xor r3, r3, r4 -/* 80088208 00085168 7C 00 22 78 */ xor r0, r0, r4 -/* 8008820C 0008516C 7C 60 03 79 */ or. r0, r3, r0 -/* 80088210 00085170 41 82 03 8C */ beq lbl_8008859C -/* 80088214 00085174 C0 41 02 80 */ lfs f2, 0x280(r1) -/* 80088218 00085178 38 61 00 70 */ addi r3, r1, 0x70 -/* 8008821C 0008517C C0 21 02 84 */ lfs f1, 0x284(r1) -/* 80088220 00085180 38 81 02 98 */ addi r4, r1, 0x298 -/* 80088224 00085184 C0 01 02 7C */ lfs f0, 0x27c(r1) -/* 80088228 00085188 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 8008822C 0008518C EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80088230 00085190 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80088234 00085194 D0 41 02 9C */ stfs f2, 0x29c(r1) -/* 80088238 00085198 D0 01 02 98 */ stfs f0, 0x298(r1) -/* 8008823C 0008519C D0 21 02 A0 */ stfs f1, 0x2a0(r1) -/* 80088240 000851A0 48 28 C6 11 */ bl AsNormalized__9CVector3fCFv -/* 80088244 000851A4 C0 41 00 70 */ lfs f2, 0x70(r1) -/* 80088248 000851A8 38 61 02 98 */ addi r3, r1, 0x298 -/* 8008824C 000851AC C0 21 00 74 */ lfs f1, 0x74(r1) -/* 80088250 000851B0 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 80088254 000851B4 FC 40 10 50 */ fneg f2, f2 -/* 80088258 000851B8 FC 20 08 50 */ fneg f1, f1 -/* 8008825C 000851BC FC 00 00 50 */ fneg f0, f0 -/* 80088260 000851C0 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 80088264 000851C4 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 80088268 000851C8 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 8008826C 000851CC 48 28 C6 4D */ bl Magnitude__9CVector3fCFv -/* 80088270 000851D0 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80088274 000851D4 7F E4 FB 78 */ mr r4, r31 -/* 80088278 000851D8 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 8008827C 000851DC 38 A1 00 08 */ addi r5, r1, 8 -/* 80088280 000851E0 38 61 02 D8 */ addi r3, r1, 0x2d8 -/* 80088284 000851E4 38 C1 02 7C */ addi r6, r1, 0x27c -/* 80088288 000851E8 38 E1 00 7C */ addi r7, r1, 0x7c -/* 8008828C 000851EC 39 21 03 C8 */ addi r9, r1, 0x3c8 -/* 80088290 000851F0 4B FC 4D 35 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80088294 000851F4 88 01 02 F8 */ lbz r0, 0x2f8(r1) -/* 80088298 000851F8 C0 A1 02 D8 */ lfs f5, 0x2d8(r1) -/* 8008829C 000851FC 80 A1 02 DC */ lwz r5, 0x2dc(r1) -/* 800882A0 00085200 28 00 00 00 */ cmplwi r0, 0 -/* 800882A4 00085204 80 81 02 E0 */ lwz r4, 0x2e0(r1) -/* 800882A8 00085208 80 61 02 E4 */ lwz r3, 0x2e4(r1) -/* 800882AC 0008520C C0 81 02 E8 */ lfs f4, 0x2e8(r1) -/* 800882B0 00085210 C0 61 02 EC */ lfs f3, 0x2ec(r1) -/* 800882B4 00085214 C0 41 02 F0 */ lfs f2, 0x2f0(r1) -/* 800882B8 00085218 C0 21 02 F4 */ lfs f1, 0x2f4(r1) -/* 800882BC 0008521C C8 01 03 00 */ lfd f0, 0x300(r1) -/* 800882C0 00085220 D0 A1 03 98 */ stfs f5, 0x398(r1) -/* 800882C4 00085224 90 A1 03 9C */ stw r5, 0x39c(r1) -/* 800882C8 00085228 90 81 03 A0 */ stw r4, 0x3a0(r1) -/* 800882CC 0008522C 90 61 03 A4 */ stw r3, 0x3a4(r1) -/* 800882D0 00085230 D0 81 03 A8 */ stfs f4, 0x3a8(r1) -/* 800882D4 00085234 D0 61 03 AC */ stfs f3, 0x3ac(r1) -/* 800882D8 00085238 D0 41 03 B0 */ stfs f2, 0x3b0(r1) -/* 800882DC 0008523C D0 21 03 B4 */ stfs f1, 0x3b4(r1) -/* 800882E0 00085240 98 01 03 B8 */ stb r0, 0x3b8(r1) -/* 800882E4 00085244 D8 01 03 C0 */ stfd f0, 0x3c0(r1) -/* 800882E8 00085248 41 82 00 B0 */ beq lbl_80088398 -/* 800882EC 0008524C 80 01 03 C0 */ lwz r0, 0x3c0(r1) -/* 800882F0 00085250 38 80 00 00 */ li r4, 0 -/* 800882F4 00085254 80 A1 03 C4 */ lwz r5, 0x3c4(r1) -/* 800882F8 00085258 38 60 00 20 */ li r3, 0x20 -/* 800882FC 0008525C 7C 00 20 38 */ and r0, r0, r4 -/* 80088300 00085260 7C A3 18 38 */ and r3, r5, r3 -/* 80088304 00085264 7C 63 22 78 */ xor r3, r3, r4 -/* 80088308 00085268 7C 00 22 78 */ xor r0, r0, r4 -/* 8008830C 0008526C 7C 60 03 79 */ or. r0, r3, r0 -/* 80088310 00085270 40 82 00 88 */ bne lbl_80088398 -/* 80088314 00085274 38 61 00 64 */ addi r3, r1, 0x64 -/* 80088318 00085278 38 81 02 98 */ addi r4, r1, 0x298 -/* 8008831C 0008527C 48 28 C5 35 */ bl AsNormalized__9CVector3fCFv -/* 80088320 00085280 C0 62 89 C4 */ lfs f3, lbl_805AA6E4@sda21(r2) -/* 80088324 00085284 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80088328 00085288 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 8008832C 0008528C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80088330 00085290 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80088334 00085294 38 80 00 01 */ li r4, 1 -/* 80088338 00085298 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8008833C 0008529C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80088340 000852A0 C0 A2 8A 60 */ lfs f5, lbl_805AA780@sda21(r2) -/* 80088344 000852A4 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80088348 000852A8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8008834C 000852AC C0 C1 03 9C */ lfs f6, 0x39c(r1) -/* 80088350 000852B0 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 80088354 000852B4 EC 45 00 72 */ fmuls f2, f5, f1 -/* 80088358 000852B8 C0 61 03 A0 */ lfs f3, 0x3a0(r1) -/* 8008835C 000852BC EC 05 00 32 */ fmuls f0, f5, f0 -/* 80088360 000852C0 C0 21 03 A4 */ lfs f1, 0x3a4(r1) -/* 80088364 000852C4 EC 86 20 28 */ fsubs f4, f6, f4 -/* 80088368 000852C8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8008836C 000852CC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80088370 000852D0 D0 81 02 4C */ stfs f4, 0x24c(r1) -/* 80088374 000852D4 D0 41 02 50 */ stfs f2, 0x250(r1) -/* 80088378 000852D8 80 E1 02 4C */ lwz r7, 0x24c(r1) -/* 8008837C 000852DC D0 01 02 54 */ stfs f0, 0x254(r1) -/* 80088380 000852E0 80 C1 02 50 */ lwz r6, 0x250(r1) -/* 80088384 000852E4 80 01 02 54 */ lwz r0, 0x254(r1) -/* 80088388 000852E8 90 E1 00 58 */ stw r7, 0x58(r1) -/* 8008838C 000852EC 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 80088390 000852F0 90 01 00 60 */ stw r0, 0x60(r1) -/* 80088394 000852F4 4B FD 4C BD */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f -lbl_80088398: -/* 80088398 000852F8 C0 41 02 68 */ lfs f2, 0x268(r1) -/* 8008839C 000852FC 38 61 00 40 */ addi r3, r1, 0x40 -/* 800883A0 00085300 C0 21 02 6C */ lfs f1, 0x26c(r1) -/* 800883A4 00085304 38 81 02 98 */ addi r4, r1, 0x298 -/* 800883A8 00085308 C0 01 02 64 */ lfs f0, 0x264(r1) -/* 800883AC 0008530C EC 42 F8 28 */ fsubs f2, f2, f31 -/* 800883B0 00085310 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 800883B4 00085314 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 800883B8 00085318 D0 41 02 9C */ stfs f2, 0x29c(r1) -/* 800883BC 0008531C D0 01 02 98 */ stfs f0, 0x298(r1) -/* 800883C0 00085320 D0 21 02 A0 */ stfs f1, 0x2a0(r1) -/* 800883C4 00085324 48 28 C4 8D */ bl AsNormalized__9CVector3fCFv -/* 800883C8 00085328 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 800883CC 0008532C 38 61 02 98 */ addi r3, r1, 0x298 -/* 800883D0 00085330 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 800883D4 00085334 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 800883D8 00085338 FC 40 10 50 */ fneg f2, f2 -/* 800883DC 0008533C FC 20 08 50 */ fneg f1, f1 -/* 800883E0 00085340 FC 00 00 50 */ fneg f0, f0 -/* 800883E4 00085344 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800883E8 00085348 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800883EC 0008534C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800883F0 00085350 48 28 C4 C9 */ bl Magnitude__9CVector3fCFv -/* 800883F4 00085354 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 800883F8 00085358 7F E4 FB 78 */ mr r4, r31 -/* 800883FC 0008535C 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 80088400 00085360 38 A1 00 08 */ addi r5, r1, 8 -/* 80088404 00085364 38 61 02 A8 */ addi r3, r1, 0x2a8 -/* 80088408 00085368 38 C1 02 64 */ addi r6, r1, 0x264 -/* 8008840C 0008536C 38 E1 00 4C */ addi r7, r1, 0x4c -/* 80088410 00085370 39 21 03 C8 */ addi r9, r1, 0x3c8 -/* 80088414 00085374 4B FC 4B B1 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80088418 00085378 88 01 02 C8 */ lbz r0, 0x2c8(r1) -/* 8008841C 0008537C C0 A1 02 A8 */ lfs f5, 0x2a8(r1) -/* 80088420 00085380 80 A1 02 AC */ lwz r5, 0x2ac(r1) -/* 80088424 00085384 28 00 00 00 */ cmplwi r0, 0 -/* 80088428 00085388 80 81 02 B0 */ lwz r4, 0x2b0(r1) -/* 8008842C 0008538C 80 61 02 B4 */ lwz r3, 0x2b4(r1) -/* 80088430 00085390 C0 81 02 B8 */ lfs f4, 0x2b8(r1) -/* 80088434 00085394 C0 61 02 BC */ lfs f3, 0x2bc(r1) -/* 80088438 00085398 C0 41 02 C0 */ lfs f2, 0x2c0(r1) -/* 8008843C 0008539C C0 21 02 C4 */ lfs f1, 0x2c4(r1) -/* 80088440 000853A0 C8 01 02 D0 */ lfd f0, 0x2d0(r1) -/* 80088444 000853A4 D0 A1 03 98 */ stfs f5, 0x398(r1) -/* 80088448 000853A8 90 A1 03 9C */ stw r5, 0x39c(r1) -/* 8008844C 000853AC 90 81 03 A0 */ stw r4, 0x3a0(r1) -/* 80088450 000853B0 90 61 03 A4 */ stw r3, 0x3a4(r1) -/* 80088454 000853B4 D0 81 03 A8 */ stfs f4, 0x3a8(r1) -/* 80088458 000853B8 D0 61 03 AC */ stfs f3, 0x3ac(r1) -/* 8008845C 000853BC D0 41 03 B0 */ stfs f2, 0x3b0(r1) -/* 80088460 000853C0 D0 21 03 B4 */ stfs f1, 0x3b4(r1) -/* 80088464 000853C4 98 01 03 B8 */ stb r0, 0x3b8(r1) -/* 80088468 000853C8 D8 01 03 C0 */ stfd f0, 0x3c0(r1) -/* 8008846C 000853CC 41 82 00 B0 */ beq lbl_8008851C -/* 80088470 000853D0 80 01 03 C0 */ lwz r0, 0x3c0(r1) -/* 80088474 000853D4 38 80 00 00 */ li r4, 0 -/* 80088478 000853D8 80 A1 03 C4 */ lwz r5, 0x3c4(r1) -/* 8008847C 000853DC 38 60 00 20 */ li r3, 0x20 -/* 80088480 000853E0 7C 00 20 38 */ and r0, r0, r4 -/* 80088484 000853E4 7C A3 18 38 */ and r3, r5, r3 -/* 80088488 000853E8 7C 63 22 78 */ xor r3, r3, r4 -/* 8008848C 000853EC 7C 00 22 78 */ xor r0, r0, r4 -/* 80088490 000853F0 7C 60 03 79 */ or. r0, r3, r0 -/* 80088494 000853F4 40 82 00 88 */ bne lbl_8008851C -/* 80088498 000853F8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8008849C 000853FC 38 81 02 98 */ addi r4, r1, 0x298 -/* 800884A0 00085400 48 28 C3 B1 */ bl AsNormalized__9CVector3fCFv -/* 800884A4 00085404 C0 62 89 C4 */ lfs f3, lbl_805AA6E4@sda21(r2) -/* 800884A8 00085408 38 7E 03 7C */ addi r3, r30, 0x37c -/* 800884AC 0008540C C0 41 00 34 */ lfs f2, 0x34(r1) -/* 800884B0 00085410 38 A1 00 28 */ addi r5, r1, 0x28 -/* 800884B4 00085414 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 800884B8 00085418 38 80 00 02 */ li r4, 2 -/* 800884BC 0008541C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 800884C0 00085420 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800884C4 00085424 C0 A2 8A 60 */ lfs f5, lbl_805AA780@sda21(r2) -/* 800884C8 00085428 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800884CC 0008542C EC 03 00 32 */ fmuls f0, f3, f0 -/* 800884D0 00085430 C0 C1 03 9C */ lfs f6, 0x39c(r1) -/* 800884D4 00085434 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 800884D8 00085438 EC 45 00 72 */ fmuls f2, f5, f1 -/* 800884DC 0008543C C0 61 03 A0 */ lfs f3, 0x3a0(r1) -/* 800884E0 00085440 EC 05 00 32 */ fmuls f0, f5, f0 -/* 800884E4 00085444 C0 21 03 A4 */ lfs f1, 0x3a4(r1) -/* 800884E8 00085448 EC 86 20 28 */ fsubs f4, f6, f4 -/* 800884EC 0008544C EC 43 10 28 */ fsubs f2, f3, f2 -/* 800884F0 00085450 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800884F4 00085454 D0 81 02 40 */ stfs f4, 0x240(r1) -/* 800884F8 00085458 D0 41 02 44 */ stfs f2, 0x244(r1) -/* 800884FC 0008545C 80 E1 02 40 */ lwz r7, 0x240(r1) -/* 80088500 00085460 D0 01 02 48 */ stfs f0, 0x248(r1) -/* 80088504 00085464 80 C1 02 44 */ lwz r6, 0x244(r1) -/* 80088508 00085468 80 01 02 48 */ lwz r0, 0x248(r1) -/* 8008850C 0008546C 90 E1 00 28 */ stw r7, 0x28(r1) -/* 80088510 00085470 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 80088514 00085474 90 01 00 30 */ stw r0, 0x30(r1) -/* 80088518 00085478 4B FD 4B 39 */ bl SetKnotPosition__13CCameraSplineFiRC9CVector3f -lbl_8008851C: -/* 8008851C 0008547C 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80088520 00085480 4B FD 3D 9D */ bl CalculateSplineLength__13CCameraSplineFv -/* 80088524 00085484 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) -/* 80088528 00085488 7F C3 F3 78 */ mr r3, r30 -/* 8008852C 0008548C 7F E5 FB 78 */ mr r5, r31 -/* 80088530 00085490 38 81 00 20 */ addi r4, r1, 0x20 -/* 80088534 00085494 4B FF 8B 15 */ bl SplineIntersectTest__11CBallCameraCFR13CMaterialListR13CStateManager -/* 80088538 00085498 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008853C 0008549C 40 82 00 60 */ bne lbl_8008859C -/* 80088540 000854A0 38 60 00 00 */ li r3, 0 -/* 80088544 000854A4 90 7E 03 6C */ stw r3, 0x36c(r30) -/* 80088548 000854A8 80 A1 03 C8 */ lwz r5, 0x3c8(r1) -/* 8008854C 000854AC 2C 05 00 00 */ cmpwi r5, 0 -/* 80088550 000854B0 40 81 00 40 */ ble lbl_80088590 -/* 80088554 000854B4 2C 05 00 08 */ cmpwi r5, 8 -/* 80088558 000854B8 38 85 FF F8 */ addi r4, r5, -8 -/* 8008855C 000854BC 40 81 00 20 */ ble lbl_8008857C -/* 80088560 000854C0 38 04 00 07 */ addi r0, r4, 7 -/* 80088564 000854C4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80088568 000854C8 7C 09 03 A6 */ mtctr r0 -/* 8008856C 000854CC 2C 04 00 00 */ cmpwi r4, 0 -/* 80088570 000854D0 40 81 00 0C */ ble lbl_8008857C -lbl_80088574: -/* 80088574 000854D4 38 63 00 08 */ addi r3, r3, 8 -/* 80088578 000854D8 42 00 FF FC */ bdnz lbl_80088574 -lbl_8008857C: -/* 8008857C 000854DC 7C 03 28 50 */ subf r0, r3, r5 -/* 80088580 000854E0 7C 09 03 A6 */ mtctr r0 -/* 80088584 000854E4 7C 03 28 00 */ cmpw r3, r5 -/* 80088588 000854E8 40 80 00 08 */ bge lbl_80088590 -lbl_8008858C: -/* 8008858C 000854EC 42 00 00 00 */ bdnz lbl_8008858C -lbl_80088590: -/* 80088590 000854F0 38 00 00 00 */ li r0, 0 -/* 80088594 000854F4 90 01 03 C8 */ stw r0, 0x3c8(r1) -/* 80088598 000854F8 48 00 00 78 */ b lbl_80088610 -lbl_8008859C: -/* 8008859C 000854FC C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) -/* 800885A0 00085500 38 7E 03 7C */ addi r3, r30, 0x37c -/* 800885A4 00085504 D0 1E 03 74 */ stfs f0, 0x374(r30) -/* 800885A8 00085508 D0 1E 03 78 */ stfs f0, 0x378(r30) -/* 800885AC 0008550C 4B FD 3D 11 */ bl CalculateSplineLength__13CCameraSplineFv -/* 800885B0 00085510 D0 3E 03 C0 */ stfs f1, 0x3c0(r30) -/* 800885B4 00085514 38 60 00 00 */ li r3, 0 -/* 800885B8 00085518 90 7E 03 CC */ stw r3, 0x3cc(r30) -/* 800885BC 0008551C 90 7E 03 C8 */ stw r3, 0x3c8(r30) -/* 800885C0 00085520 80 A1 03 C8 */ lwz r5, 0x3c8(r1) -/* 800885C4 00085524 2C 05 00 00 */ cmpwi r5, 0 -/* 800885C8 00085528 40 81 00 40 */ ble lbl_80088608 -/* 800885CC 0008552C 2C 05 00 08 */ cmpwi r5, 8 -/* 800885D0 00085530 38 85 FF F8 */ addi r4, r5, -8 -/* 800885D4 00085534 40 81 00 20 */ ble lbl_800885F4 -/* 800885D8 00085538 38 04 00 07 */ addi r0, r4, 7 -/* 800885DC 0008553C 54 00 E8 FE */ srwi r0, r0, 3 -/* 800885E0 00085540 7C 09 03 A6 */ mtctr r0 -/* 800885E4 00085544 2C 04 00 00 */ cmpwi r4, 0 -/* 800885E8 00085548 40 81 00 0C */ ble lbl_800885F4 -lbl_800885EC: -/* 800885EC 0008554C 38 63 00 08 */ addi r3, r3, 8 -/* 800885F0 00085550 42 00 FF FC */ bdnz lbl_800885EC -lbl_800885F4: -/* 800885F4 00085554 7C 03 28 50 */ subf r0, r3, r5 -/* 800885F8 00085558 7C 09 03 A6 */ mtctr r0 -/* 800885FC 0008555C 7C 03 28 00 */ cmpw r3, r5 -/* 80088600 00085560 40 80 00 08 */ bge lbl_80088608 -lbl_80088604: -/* 80088604 00085564 42 00 00 00 */ bdnz lbl_80088604 -lbl_80088608: -/* 80088608 00085568 38 00 00 00 */ li r0, 0 -/* 8008860C 0008556C 90 01 03 C8 */ stw r0, 0x3c8(r1) -lbl_80088610: -/* 80088610 00085570 E3 E1 0C 08 */ psq_l f31, -1016(r1), 0, qr0 -/* 80088614 00085574 CB E1 0C 00 */ lfd f31, 0xc00(r1) -/* 80088618 00085578 E3 C1 0B F8 */ psq_l f30, -1032(r1), 0, qr0 -/* 8008861C 0008557C CB C1 0B F0 */ lfd f30, 0xbf0(r1) -/* 80088620 00085580 E3 A1 0B E8 */ psq_l f29, -1048(r1), 0, qr0 -/* 80088624 00085584 CB A1 0B E0 */ lfd f29, 0xbe0(r1) -/* 80088628 00085588 83 E1 0B DC */ lwz r31, 0xbdc(r1) -/* 8008862C 0008558C 80 01 0C 14 */ lwz r0, 0xc14(r1) -/* 80088630 00085590 83 C1 0B D8 */ lwz r30, 0xbd8(r1) -/* 80088634 00085594 7C 08 03 A6 */ mtlr r0 -/* 80088638 00085598 38 21 0C 10 */ addi r1, r1, 0xc10 -/* 8008863C 0008559C 4E 80 00 20 */ blr - -.global ShouldResetSpline__11CBallCameraCFR13CStateManager -ShouldResetSpline__11CBallCameraCFR13CStateManager: -/* 80088640 000855A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80088644 000855A4 7C 08 02 A6 */ mflr r0 -/* 80088648 000855A8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8008864C 000855AC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80088650 000855B0 3B E0 00 00 */ li r31, 0 -/* 80088654 000855B4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80088658 000855B8 7C 9E 23 78 */ mr r30, r4 -/* 8008865C 000855BC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80088660 000855C0 7C 7D 1B 78 */ mr r29, r3 -/* 80088664 000855C4 80 03 04 00 */ lwz r0, 0x400(r3) -/* 80088668 000855C8 2C 00 00 04 */ cmpwi r0, 4 -/* 8008866C 000855CC 41 82 00 4C */ beq lbl_800886B8 -/* 80088670 000855D0 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 80088674 000855D4 4B F8 22 61 */ bl IsInterpolationCameraActive__14CCameraManagerCFv -/* 80088678 000855D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008867C 000855DC 40 82 00 3C */ bne lbl_800886B8 -/* 80088680 000855E0 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80088684 000855E4 80 63 07 68 */ lwz r3, 0x768(r3) -/* 80088688 000855E8 80 03 18 7C */ lwz r0, 0x187c(r3) -/* 8008868C 000855EC 2C 00 00 01 */ cmpwi r0, 1 -/* 80088690 000855F0 41 82 00 28 */ beq lbl_800886B8 -/* 80088694 000855F4 80 1D 03 6C */ lwz r0, 0x36c(r29) -/* 80088698 000855F8 2C 00 00 00 */ cmpwi r0, 0 -/* 8008869C 000855FC 40 82 00 1C */ bne lbl_800886B8 -/* 800886A0 00085600 80 1D 01 88 */ lwz r0, 0x188(r29) -/* 800886A4 00085604 2C 00 00 09 */ cmpwi r0, 9 -/* 800886A8 00085608 40 80 00 0C */ bge lbl_800886B4 -/* 800886AC 0008560C 2C 00 00 04 */ cmpwi r0, 4 -/* 800886B0 00085610 40 80 00 08 */ bge lbl_800886B8 -lbl_800886B4: -/* 800886B4 00085614 3B E0 00 01 */ li r31, 1 -lbl_800886B8: -/* 800886B8 00085618 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800886BC 0008561C 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 800886C0 00085620 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800886C4 00085624 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800886C8 00085628 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800886CC 0008562C 7C 08 03 A6 */ mtlr r0 -/* 800886D0 00085630 38 21 00 20 */ addi r1, r1, 0x20 -/* 800886D4 00085634 4E 80 00 20 */ blr - -.global InterpolateCameraElevation__11CBallCameraCFRC9CVector3ff -InterpolateCameraElevation__11CBallCameraCFRC9CVector3ff: -/* 800886D8 00085638 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800886DC 0008563C 7C 08 02 A6 */ mflr r0 -/* 800886E0 00085640 90 01 00 64 */ stw r0, 0x64(r1) -/* 800886E4 00085644 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 800886E8 00085648 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 800886EC 0008564C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 800886F0 00085650 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 800886F4 00085654 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 800886F8 00085658 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 800886FC 0008565C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80088700 00085660 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80088704 00085664 7C 9F 23 78 */ mr r31, r4 -/* 80088708 00085668 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008870C 0008566C C0 44 01 A0 */ lfs f2, 0x1a0(r4) -/* 80088710 00085670 7C 7E 1B 78 */ mr r30, r3 -/* 80088714 00085674 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80088718 00085678 40 80 00 20 */ bge lbl_80088738 -/* 8008871C 0008567C C0 05 00 00 */ lfs f0, 0(r5) -/* 80088720 00085680 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80088724 00085684 C0 05 00 04 */ lfs f0, 4(r5) -/* 80088728 00085688 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8008872C 0008568C C0 05 00 08 */ lfs f0, 8(r5) -/* 80088730 00085690 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80088734 00085694 48 00 00 C4 */ b lbl_800887F8 -lbl_80088738: -/* 80088738 00085698 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008873C 0008569C C3 E5 00 00 */ lfs f31, 0(r5) -/* 80088740 000856A0 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80088744 000856A4 C3 C5 00 04 */ lfs f30, 4(r5) -/* 80088748 000856A8 C3 A5 00 08 */ lfs f29, 8(r5) -/* 8008874C 000856AC 40 82 00 60 */ bne lbl_800887AC -/* 80088750 000856B0 80 1F 03 50 */ lwz r0, 0x350(r31) -/* 80088754 000856B4 38 80 00 00 */ li r4, 0 -/* 80088758 000856B8 80 BF 03 54 */ lwz r5, 0x354(r31) -/* 8008875C 000856BC 3C 60 80 00 */ lis r3, 0x8000 -/* 80088760 000856C0 7C 00 20 38 */ and r0, r0, r4 -/* 80088764 000856C4 7C A3 18 38 */ and r3, r5, r3 -/* 80088768 000856C8 7C 63 22 78 */ xor r3, r3, r4 -/* 8008876C 000856CC 7C 00 22 78 */ xor r0, r0, r4 -/* 80088770 000856D0 7C 60 03 79 */ or. r0, r3, r0 -/* 80088774 000856D4 41 82 00 38 */ beq lbl_800887AC -/* 80088778 000856D8 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 8008877C 000856DC D0 1F 03 D4 */ stfs f0, 0x3d4(r31) -/* 80088780 000856E0 C3 BF 00 60 */ lfs f29, 0x60(r31) -/* 80088784 000856E4 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80088788 000856E8 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 8008878C 000856EC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80088790 000856F0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80088794 000856F4 D3 A1 00 1C */ stfs f29, 0x1c(r1) -/* 80088798 000856F8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8008879C 000856FC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800887A0 00085700 D3 A1 00 10 */ stfs f29, 0x10(r1) -/* 800887A4 00085704 D3 BF 03 D8 */ stfs f29, 0x3d8(r31) -/* 800887A8 00085708 48 00 00 44 */ b lbl_800887EC -lbl_800887AC: -/* 800887AC 0008570C C0 5F 03 D4 */ lfs f2, 0x3d4(r31) -/* 800887B0 00085710 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800887B4 00085714 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800887B8 00085718 40 81 00 34 */ ble lbl_800887EC -/* 800887BC 0008571C EC 02 08 28 */ fsubs f0, f2, f1 -/* 800887C0 00085720 38 9F 03 D4 */ addi r4, r31, 0x3d4 -/* 800887C4 00085724 38 6D 84 C8 */ addi r3, r13, lbl_805A7088@sda21 -/* 800887C8 00085728 38 AD 84 CC */ addi r5, r13, lbl_805A708C@sda21 -/* 800887CC 0008572C D0 1F 03 D4 */ stfs f0, 0x3d4(r31) -/* 800887D0 00085730 4B F8 3A E5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800887D4 00085734 C0 5F 03 D8 */ lfs f2, 0x3d8(r31) -/* 800887D8 00085738 C0 63 00 00 */ lfs f3, 0(r3) -/* 800887DC 0008573C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 800887E0 00085740 EC 3D 10 28 */ fsubs f1, f29, f2 -/* 800887E4 00085744 EC 00 18 28 */ fsubs f0, f0, f3 -/* 800887E8 00085748 EF A1 10 3A */ fmadds f29, f1, f0, f2 -lbl_800887EC: -/* 800887EC 0008574C D3 FE 00 00 */ stfs f31, 0(r30) -/* 800887F0 00085750 D3 DE 00 04 */ stfs f30, 4(r30) -/* 800887F4 00085754 D3 BE 00 08 */ stfs f29, 8(r30) -lbl_800887F8: -/* 800887F8 00085758 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 800887FC 0008575C CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80088800 00085760 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80088804 00085764 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80088808 00085768 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 8008880C 0008576C CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80088810 00085770 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80088814 00085774 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80088818 00085778 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8008881C 0008577C 7C 08 03 A6 */ mtlr r0 -/* 80088820 00085780 38 21 00 60 */ addi r1, r1, 0x60 -/* 80088824 00085784 4E 80 00 20 */ blr - -.global UpdatePlayerMovement__11CBallCameraFfR13CStateManager -UpdatePlayerMovement__11CBallCameraFfR13CStateManager: -/* 80088828 00085788 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8008882C 0008578C 7C 08 02 A6 */ mflr r0 -/* 80088830 00085790 90 01 00 74 */ stw r0, 0x74(r1) -/* 80088834 00085794 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80088838 00085798 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8008883C 0008579C DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80088840 000857A0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80088844 000857A4 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80088848 000857A8 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 8008884C 000857AC DB 81 00 30 */ stfd f28, 0x30(r1) -/* 80088850 000857B0 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 80088854 000857B4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80088858 000857B8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8008885C 000857BC FF 80 08 90 */ fmr f28, f1 -/* 80088860 000857C0 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 80088864 000857C4 7C 7E 1B 78 */ mr r30, r3 -/* 80088868 000857C8 7F E3 FB 78 */ mr r3, r31 -/* 8008886C 000857CC 48 1F D0 11 */ bl GetActualBallMaxVelocity__7CPlayerCFf -/* 80088870 000857D0 FC 00 0A 10 */ fabs f0, f1 -/* 80088874 000857D4 7F E4 FB 78 */ mr r4, r31 -/* 80088878 000857D8 38 61 00 08 */ addi r3, r1, 8 -/* 8008887C 000857DC FC 00 00 18 */ frsp f0, f0 -/* 80088880 000857E0 D0 1E 02 EC */ stfs f0, 0x2ec(r30) -/* 80088884 000857E4 48 1F C4 C5 */ bl GetBallPosition__7CPlayerCFv -/* 80088888 000857E8 C3 A1 00 08 */ lfs f29, 8(r1) -/* 8008888C 000857EC 38 7E 02 FC */ addi r3, r30, 0x2fc -/* 80088890 000857F0 C0 1E 02 DC */ lfs f0, 0x2dc(r30) -/* 80088894 000857F4 C3 E1 00 0C */ lfs f31, 0xc(r1) -/* 80088898 000857F8 C0 7E 02 E0 */ lfs f3, 0x2e0(r30) -/* 8008889C 000857FC EC 3D 00 28 */ fsubs f1, f29, f0 -/* 800888A0 00085800 C3 C1 00 10 */ lfs f30, 0x10(r1) -/* 800888A4 00085804 C0 5E 02 E4 */ lfs f2, 0x2e4(r30) -/* 800888A8 00085808 EC 7F 18 28 */ fsubs f3, f31, f3 -/* 800888AC 0008580C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800888B0 00085810 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) -/* 800888B4 00085814 EC 3E 10 28 */ fsubs f1, f30, f2 -/* 800888B8 00085818 D0 7E 02 F4 */ stfs f3, 0x2f4(r30) -/* 800888BC 0008581C D0 3E 02 F8 */ stfs f1, 0x2f8(r30) -/* 800888C0 00085820 C0 3E 02 F0 */ lfs f1, 0x2f0(r30) -/* 800888C4 00085824 D0 3E 02 FC */ stfs f1, 0x2fc(r30) -/* 800888C8 00085828 C0 3E 02 F4 */ lfs f1, 0x2f4(r30) -/* 800888CC 0008582C D0 3E 03 00 */ stfs f1, 0x300(r30) -/* 800888D0 00085830 C0 3E 02 F8 */ lfs f1, 0x2f8(r30) -/* 800888D4 00085834 D0 3E 03 04 */ stfs f1, 0x304(r30) -/* 800888D8 00085838 D0 1E 03 04 */ stfs f0, 0x304(r30) -/* 800888DC 0008583C 48 28 BE 1D */ bl CanBeNormalized__9CVector3fCFv -/* 800888E0 00085840 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800888E4 00085844 41 82 00 18 */ beq lbl_800888FC -/* 800888E8 00085848 38 7E 02 FC */ addi r3, r30, 0x2fc -/* 800888EC 0008584C 48 28 BF CD */ bl Magnitude__9CVector3fCFv -/* 800888F0 00085850 EC 01 E0 24 */ fdivs f0, f1, f28 -/* 800888F4 00085854 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) -/* 800888F8 00085858 48 00 00 0C */ b lbl_80088904 -lbl_800888FC: -/* 800888FC 0008585C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80088900 00085860 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) -lbl_80088904: -/* 80088904 00085864 D3 BE 02 DC */ stfs f29, 0x2dc(r30) -/* 80088908 00085868 38 80 00 00 */ li r4, 0 -/* 8008890C 0008586C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80088910 00085870 38 61 00 14 */ addi r3, r1, 0x14 -/* 80088914 00085874 D3 FE 02 E0 */ stfs f31, 0x2e0(r30) -/* 80088918 00085878 D3 DE 02 E4 */ stfs f30, 0x2e4(r30) -/* 8008891C 0008587C 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 80088920 00085880 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80088924 00085884 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 80088928 00085888 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8008892C 0008588C C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 80088930 00085890 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80088934 00085894 EC 5E 10 28 */ fsubs f2, f30, f2 -/* 80088938 00085898 EC 7F 18 28 */ fsubs f3, f31, f3 -/* 8008893C 0008589C EC 3D 08 28 */ fsubs f1, f29, f1 -/* 80088940 000858A0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80088944 000858A4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80088948 000858A8 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8008894C 000858AC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80088950 000858B0 48 28 BD A9 */ bl CanBeNormalized__9CVector3fCFv -/* 80088954 000858B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80088958 000858B8 41 82 00 7C */ beq lbl_800889D4 -/* 8008895C 000858BC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80088960 000858C0 48 28 BF 99 */ bl Normalize__9CVector3fFv -/* 80088964 000858C4 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80088968 000858C8 C0 1F 05 10 */ lfs f0, 0x510(r31) -/* 8008896C 000858CC C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80088970 000858D0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80088974 000858D4 C0 3F 05 0C */ lfs f1, 0x50c(r31) -/* 80088978 000858D8 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 8008897C 000858DC C0 7F 05 14 */ lfs f3, 0x514(r31) -/* 80088980 000858E0 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80088984 000858E4 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80088988 000858E8 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 8008898C 000858EC FC 40 0A 10 */ fabs f2, f1 -/* 80088990 000858F0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80088994 000858F4 40 81 00 14 */ ble lbl_800889A8 -/* 80088998 000858F8 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 8008899C 000858FC C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 800889A0 00085900 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 800889A4 00085904 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_800889A8: -/* 800889A8 00085908 48 30 C2 85 */ bl acos -/* 800889AC 0008590C FC 20 08 18 */ frsp f1, f1 -/* 800889B0 00085910 C0 02 8A 68 */ lfs f0, lbl_805AA788@sda21(r2) -/* 800889B4 00085914 FC 20 0A 10 */ fabs f1, f1 -/* 800889B8 00085918 FC 20 08 18 */ frsp f1, f1 -/* 800889BC 0008591C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800889C0 00085920 40 81 00 14 */ ble lbl_800889D4 -/* 800889C4 00085924 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 800889C8 00085928 38 60 00 01 */ li r3, 1 -/* 800889CC 0008592C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800889D0 00085930 98 1E 01 8D */ stb r0, 0x18d(r30) -lbl_800889D4: -/* 800889D4 00085934 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 800889D8 00085938 C0 42 8A 6C */ lfs f2, lbl_805AA78C@sda21(r2) -/* 800889DC 0008593C D0 3E 03 08 */ stfs f1, 0x308(r30) -/* 800889E0 00085940 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) -/* 800889E4 00085944 EC 60 10 28 */ fsubs f3, f0, f2 -/* 800889E8 00085948 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 800889EC 0008594C 40 81 00 54 */ ble lbl_80088A40 -/* 800889F0 00085950 C0 1E 02 EC */ lfs f0, 0x2ec(r30) -/* 800889F4 00085954 C0 22 8A 74 */ lfs f1, lbl_805AA794@sda21(r2) -/* 800889F8 00085958 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800889FC 0008595C C0 42 8A 70 */ lfs f2, lbl_805AA790@sda21(r2) -/* 80088A00 00085960 EC 03 00 24 */ fdivs f0, f3, f0 -/* 80088A04 00085964 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80088A08 00085968 EC 22 00 32 */ fmuls f1, f2, f0 -/* 80088A0C 0008596C 48 30 C0 D1 */ bl sin -/* 80088A10 00085970 FC 20 08 18 */ frsp f1, f1 -/* 80088A14 00085974 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80088A18 00085978 FC 20 0A 10 */ fabs f1, f1 -/* 80088A1C 0008597C FC 40 08 18 */ frsp f2, f1 -/* 80088A20 00085980 FC 20 12 10 */ fabs f1, f2 -/* 80088A24 00085984 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80088A28 00085988 40 81 00 14 */ ble lbl_80088A3C -/* 80088A2C 0008598C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80088A30 00085990 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80088A34 00085994 FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 80088A38 00085998 EC 41 00 32 */ fmuls f2, f1, f0 -lbl_80088A3C: -/* 80088A3C 0008599C D0 5E 03 08 */ stfs f2, 0x308(r30) -lbl_80088A40: -/* 80088A40 000859A0 C0 7E 01 94 */ lfs f3, 0x194(r30) -/* 80088A44 000859A4 C0 1E 01 98 */ lfs f0, 0x198(r30) -/* 80088A48 000859A8 C0 5E 03 08 */ lfs f2, 0x308(r30) -/* 80088A4C 000859AC EC 20 18 28 */ fsubs f1, f0, f3 -/* 80088A50 000859B0 C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) -/* 80088A54 000859B4 EC 22 18 7A */ fmadds f1, f2, f1, f3 -/* 80088A58 000859B8 D0 3E 01 90 */ stfs f1, 0x190(r30) -/* 80088A5C 000859BC C0 3E 03 08 */ lfs f1, 0x308(r30) -/* 80088A60 000859C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80088A64 000859C4 40 81 00 20 */ ble lbl_80088A84 -/* 80088A68 000859C8 80 1F 02 58 */ lwz r0, 0x258(r31) -/* 80088A6C 000859CC 2C 00 00 00 */ cmpwi r0, 0 -/* 80088A70 000859D0 40 82 00 14 */ bne lbl_80088A84 -/* 80088A74 000859D4 C0 1E 03 0C */ lfs f0, 0x30c(r30) -/* 80088A78 000859D8 EC 1C 00 7A */ fmadds f0, f28, f1, f0 -/* 80088A7C 000859DC D0 1E 03 0C */ stfs f0, 0x30c(r30) -/* 80088A80 000859E0 48 00 00 0C */ b lbl_80088A8C -lbl_80088A84: -/* 80088A84 000859E4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80088A88 000859E8 D0 1E 03 0C */ stfs f0, 0x30c(r30) -lbl_80088A8C: -/* 80088A8C 000859EC 38 9E 03 0C */ addi r4, r30, 0x30c -/* 80088A90 000859F0 38 6D 84 C4 */ addi r3, r13, lbl_805A7084@sda21 -/* 80088A94 000859F4 38 A2 8A 64 */ addi r5, r2, lbl_805AA784@sda21 -/* 80088A98 000859F8 4B F8 38 1D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80088A9C 000859FC C0 03 00 00 */ lfs f0, 0(r3) -/* 80088AA0 00085A00 D0 1E 03 0C */ stfs f0, 0x30c(r30) -/* 80088AA4 00085A04 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80088AA8 00085A08 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80088AAC 00085A0C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80088AB0 00085A10 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80088AB4 00085A14 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80088AB8 00085A18 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80088ABC 00085A1C E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 80088AC0 00085A20 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 80088AC4 00085A24 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80088AC8 00085A28 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80088ACC 00085A2C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80088AD0 00085A30 7C 08 03 A6 */ mtlr r0 -/* 80088AD4 00085A34 38 21 00 70 */ addi r1, r1, 0x70 -/* 80088AD8 00085A38 4E 80 00 20 */ blr - -.global UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager -UpdateTransform__11CBallCameraFRC9CVector3fRC9CVector3ffR13CStateManager: -/* 80088ADC 00085A3C 94 21 FD 40 */ stwu r1, -0x2c0(r1) -/* 80088AE0 00085A40 7C 08 02 A6 */ mflr r0 -/* 80088AE4 00085A44 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 80088AE8 00085A48 DB E1 02 B0 */ stfd f31, 0x2b0(r1) -/* 80088AEC 00085A4C F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 -/* 80088AF0 00085A50 DB C1 02 A0 */ stfd f30, 0x2a0(r1) -/* 80088AF4 00085A54 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 -/* 80088AF8 00085A58 DB A1 02 90 */ stfd f29, 0x290(r1) -/* 80088AFC 00085A5C F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 -/* 80088B00 00085A60 DB 81 02 80 */ stfd f28, 0x280(r1) -/* 80088B04 00085A64 F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 -/* 80088B08 00085A68 93 E1 02 7C */ stw r31, 0x27c(r1) -/* 80088B0C 00085A6C 93 C1 02 78 */ stw r30, 0x278(r1) -/* 80088B10 00085A70 93 A1 02 74 */ stw r29, 0x274(r1) -/* 80088B14 00085A74 93 81 02 70 */ stw r28, 0x270(r1) -/* 80088B18 00085A78 FF C0 08 90 */ fmr f30, f1 -/* 80088B1C 00085A7C 7C 7E 1B 78 */ mr r30, r3 -/* 80088B20 00085A80 7C 9C 23 78 */ mr r28, r4 -/* 80088B24 00085A84 7C BF 2B 78 */ mr r31, r5 -/* 80088B28 00085A88 7C DD 33 78 */ mr r29, r6 -/* 80088B2C 00085A8C 38 61 02 40 */ addi r3, r1, 0x240 -/* 80088B30 00085A90 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80088B34 00085A94 48 28 A0 41 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80088B38 00085A98 C0 5C 00 00 */ lfs f2, 0(r28) -/* 80088B3C 00085A9C C0 3C 00 04 */ lfs f1, 4(r28) -/* 80088B40 00085AA0 C0 1C 00 08 */ lfs f0, 8(r28) -/* 80088B44 00085AA4 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 80088B48 00085AA8 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 80088B4C 00085AAC D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 80088B50 00085AB0 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 80088B54 00085AB4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80088B58 00085AB8 41 82 00 3C */ beq lbl_80088B94 -/* 80088B5C 00085ABC 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 80088B60 00085AC0 7F A4 EB 78 */ mr r4, r29 -/* 80088B64 00085AC4 4B F8 08 6D */ bl GetCameraHint__14CCameraManagerCFR13CStateManager -/* 80088B68 00085AC8 28 03 00 00 */ cmplwi r3, 0 -/* 80088B6C 00085ACC 41 82 00 28 */ beq lbl_80088B94 -/* 80088B70 00085AD0 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 80088B74 00085AD4 7F A4 EB 78 */ mr r4, r29 -/* 80088B78 00085AD8 4B F8 08 59 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager -/* 80088B7C 00085ADC C0 43 00 58 */ lfs f2, 0x58(r3) -/* 80088B80 00085AE0 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 80088B84 00085AE4 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 80088B88 00085AE8 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80088B8C 00085AEC D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 80088B90 00085AF0 D0 41 00 BC */ stfs f2, 0xbc(r1) -lbl_80088B94: -/* 80088B94 00085AF4 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 80088B98 00085AF8 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80088B9C 00085AFC C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 80088BA0 00085B00 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 80088BA4 00085B04 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 80088BA8 00085B08 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80088BAC 00085B0C D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 80088BB0 00085B10 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 80088BB4 00085B14 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 80088BB8 00085B18 48 28 BB 41 */ bl CanBeNormalized__9CVector3fCFv -/* 80088BBC 00085B1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80088BC0 00085B20 40 82 00 14 */ bne lbl_80088BD4 -/* 80088BC4 00085B24 7F C3 F3 78 */ mr r3, r30 -/* 80088BC8 00085B28 7F E4 FB 78 */ mr r4, r31 -/* 80088BCC 00085B2C 4B FC A2 C1 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80088BD0 00085B30 48 00 04 70 */ b lbl_80089040 -lbl_80088BD4: -/* 80088BD4 00085B34 C0 5E 00 58 */ lfs f2, 0x58(r30) -/* 80088BD8 00085B38 38 61 00 9C */ addi r3, r1, 0x9c -/* 80088BDC 00085B3C C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 80088BE0 00085B40 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 80088BE4 00085B44 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 80088BE8 00085B48 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 80088BEC 00085B4C D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 80088BF0 00085B50 48 28 BB 09 */ bl CanBeNormalized__9CVector3fCFv -/* 80088BF4 00085B54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80088BF8 00085B58 41 82 00 10 */ beq lbl_80088C08 -/* 80088BFC 00085B5C 38 61 00 9C */ addi r3, r1, 0x9c -/* 80088C00 00085B60 48 28 BC F9 */ bl Normalize__9CVector3fFv -/* 80088C04 00085B64 48 00 00 84 */ b lbl_80088C88 -lbl_80088C08: -/* 80088C08 00085B68 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80088C0C 00085B6C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80088C10 00085B70 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 80088C14 00085B74 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80088C18 00085B78 C0 7F 00 08 */ lfs f3, 8(r31) -/* 80088C1C 00085B7C 7F E4 FB 78 */ mr r4, r31 -/* 80088C20 00085B80 EC 81 00 2A */ fadds f4, f1, f0 -/* 80088C24 00085B84 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 80088C28 00085B88 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80088C2C 00085B8C 38 61 02 10 */ addi r3, r1, 0x210 -/* 80088C30 00085B90 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80088C34 00085B94 EC 43 10 2A */ fadds f2, f3, f2 -/* 80088C38 00085B98 EC 01 00 2A */ fadds f0, f1, f0 -/* 80088C3C 00085B9C D0 81 00 74 */ stfs f4, 0x74(r1) -/* 80088C40 00085BA0 38 A1 00 70 */ addi r5, r1, 0x70 -/* 80088C44 00085BA4 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80088C48 00085BA8 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80088C4C 00085BAC 48 28 AE C5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80088C50 00085BB0 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80088C54 00085BB4 38 81 02 10 */ addi r4, r1, 0x210 -/* 80088C58 00085BB8 48 28 9E E9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80088C5C 00085BBC 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80088C60 00085BC0 38 60 00 01 */ li r3, 1 -/* 80088C64 00085BC4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80088C68 00085BC8 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80088C6C 00085BCC 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80088C70 00085BD0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80088C74 00085BD4 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80088C78 00085BD8 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80088C7C 00085BDC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80088C80 00085BE0 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80088C84 00085BE4 48 00 03 BC */ b lbl_80089040 -lbl_80088C88: -/* 80088C88 00085BE8 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 80088C8C 00085BEC C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 80088C90 00085BF0 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 80088C94 00085BF4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80088C98 00085BF8 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 80088C9C 00085BFC C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 80088CA0 00085C00 C0 61 00 BC */ lfs f3, 0xbc(r1) -/* 80088CA4 00085C04 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80088CA8 00085C08 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80088CAC 00085C0C EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80088CB0 00085C10 FC 40 0A 10 */ fabs f2, f1 -/* 80088CB4 00085C14 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80088CB8 00085C18 40 81 00 14 */ ble lbl_80088CCC -/* 80088CBC 00085C1C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80088CC0 00085C20 C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 80088CC4 00085C24 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 80088CC8 00085C28 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_80088CCC: -/* 80088CCC 00085C2C FC 40 0A 10 */ fabs f2, f1 -/* 80088CD0 00085C30 C0 02 8A 78 */ lfs f0, lbl_805AA798@sda21(r2) -/* 80088CD4 00085C34 FC 40 10 18 */ frsp f2, f2 -/* 80088CD8 00085C38 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80088CDC 00085C3C 4C 41 13 82 */ cror 2, 1, 2 -/* 80088CE0 00085C40 40 82 00 84 */ bne lbl_80088D64 -/* 80088CE4 00085C44 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80088CE8 00085C48 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80088CEC 00085C4C C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 80088CF0 00085C50 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80088CF4 00085C54 C0 7F 00 08 */ lfs f3, 8(r31) -/* 80088CF8 00085C58 7F E4 FB 78 */ mr r4, r31 -/* 80088CFC 00085C5C EC 81 00 2A */ fadds f4, f1, f0 -/* 80088D00 00085C60 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 80088D04 00085C64 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80088D08 00085C68 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80088D0C 00085C6C C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80088D10 00085C70 EC 43 10 2A */ fadds f2, f3, f2 -/* 80088D14 00085C74 EC 01 00 2A */ fadds f0, f1, f0 -/* 80088D18 00085C78 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 80088D1C 00085C7C 38 A1 00 64 */ addi r5, r1, 0x64 -/* 80088D20 00085C80 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 80088D24 00085C84 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80088D28 00085C88 48 28 AD E9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80088D2C 00085C8C 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80088D30 00085C90 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 80088D34 00085C94 48 28 9E 0D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80088D38 00085C98 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80088D3C 00085C9C 38 60 00 01 */ li r3, 1 -/* 80088D40 00085CA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80088D44 00085CA4 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80088D48 00085CA8 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80088D4C 00085CAC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80088D50 00085CB0 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80088D54 00085CB4 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80088D58 00085CB8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80088D5C 00085CBC 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80088D60 00085CC0 48 00 02 D4 */ b lbl_80089034 -lbl_80088D64: -/* 80088D64 00085CC4 48 30 BE C9 */ bl acos -/* 80088D68 00085CC8 C0 02 8A 7C */ lfs f0, lbl_805AA79C@sda21(r2) -/* 80088D6C 00085CCC FC 20 08 18 */ frsp f1, f1 -/* 80088D70 00085CD0 38 81 00 0C */ addi r4, r1, 0xc -/* 80088D74 00085CD4 38 6D 84 BC */ addi r3, r13, lbl_805A707C@sda21 -/* 80088D78 00085CD8 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80088D7C 00085CDC 38 AD 84 C0 */ addi r5, r13, lbl_805A7080@sda21 -/* 80088D80 00085CE0 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80088D84 00085CE4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80088D88 00085CE8 4B F8 35 2D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80088D8C 00085CEC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 80088D90 00085CF0 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 80088D94 00085CF4 38 84 66 F4 */ addi r4, r4, lbl_805A66F4@l -/* 80088D98 00085CF8 C0 61 00 B4 */ lfs f3, 0xb4(r1) -/* 80088D9C 00085CFC C0 04 00 04 */ lfs f0, 4(r4) -/* 80088DA0 00085D00 C0 44 00 00 */ lfs f2, 0(r4) -/* 80088DA4 00085D04 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80088DA8 00085D08 C0 A1 00 BC */ lfs f5, 0xbc(r1) -/* 80088DAC 00085D0C C0 84 00 08 */ lfs f4, 8(r4) -/* 80088DB0 00085D10 C3 E3 00 00 */ lfs f31, 0(r3) -/* 80088DB4 00085D14 EC 23 00 BA */ fmadds f1, f3, f2, f0 -/* 80088DB8 00085D18 C0 5E 01 A4 */ lfs f2, 0x1a4(r30) -/* 80088DBC 00085D1C C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80088DC0 00085D20 EC 42 07 F2 */ fmuls f2, f2, f31 -/* 80088DC4 00085D24 EC 65 09 3A */ fmadds f3, f5, f4, f1 -/* 80088DC8 00085D28 EC 3E 00 B2 */ fmuls f1, f30, f2 -/* 80088DCC 00085D2C FC 40 1A 10 */ fabs f2, f3 -/* 80088DD0 00085D30 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80088DD4 00085D34 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80088DD8 00085D38 40 81 00 14 */ ble lbl_80088DEC -/* 80088DDC 00085D3C C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80088DE0 00085D40 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80088DE4 00085D44 FC 03 00 6E */ fsel f0, f3, f1, f0 -/* 80088DE8 00085D48 EC 61 00 32 */ fmuls f3, f1, f0 -lbl_80088DEC: -/* 80088DEC 00085D4C FC 40 1A 10 */ fabs f2, f3 -/* 80088DF0 00085D50 C0 22 8A 80 */ lfs f1, lbl_805AA7A0@sda21(r2) -/* 80088DF4 00085D54 80 1E 03 6C */ lwz r0, 0x36c(r30) -/* 80088DF8 00085D58 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80088DFC 00085D5C EC 21 07 B2 */ fmuls f1, f1, f30 -/* 80088E00 00085D60 FF A0 10 18 */ frsp f29, f2 -/* 80088E04 00085D64 2C 00 00 01 */ cmpwi r0, 1 -/* 80088E08 00085D68 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 80088E0C 00085D6C EF 81 00 32 */ fmuls f28, f1, f0 -/* 80088E10 00085D70 40 82 00 1C */ bne lbl_80088E2C -/* 80088E14 00085D74 C0 22 8A 84 */ lfs f1, lbl_805AA7A4@sda21(r2) -/* 80088E18 00085D78 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80088E1C 00085D7C EF 81 07 B2 */ fmuls f28, f1, f30 -/* 80088E20 00085D80 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 80088E24 00085D84 40 81 00 08 */ ble lbl_80088E2C -/* 80088E28 00085D88 D3 81 00 10 */ stfs f28, 0x10(r1) -lbl_80088E2C: -/* 80088E2C 00085D8C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80088E30 00085D90 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 80088E34 00085D94 40 81 00 24 */ ble lbl_80088E58 -/* 80088E38 00085D98 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80088E3C 00085D9C 4B F9 13 D9 */ bl IsMorphBallTransitioning__7CPlayerCFv -/* 80088E40 00085DA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80088E44 00085DA4 40 82 00 14 */ bne lbl_80088E58 -/* 80088E48 00085DA8 C0 02 8A 88 */ lfs f0, lbl_805AA7A8@sda21(r2) -/* 80088E4C 00085DAC FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80088E50 00085DB0 40 81 00 08 */ ble lbl_80088E58 -/* 80088E54 00085DB4 D3 81 00 10 */ stfs f28, 0x10(r1) -lbl_80088E58: -/* 80088E58 00085DB8 80 1E 04 00 */ lwz r0, 0x400(r30) -/* 80088E5C 00085DBC 2C 00 00 03 */ cmpwi r0, 3 -/* 80088E60 00085DC0 41 82 00 34 */ beq lbl_80088E94 -/* 80088E64 00085DC4 40 80 00 40 */ bge lbl_80088EA4 -/* 80088E68 00085DC8 2C 00 00 02 */ cmpwi r0, 2 -/* 80088E6C 00085DCC 40 80 00 08 */ bge lbl_80088E74 -/* 80088E70 00085DD0 48 00 00 34 */ b lbl_80088EA4 -lbl_80088E74: -/* 80088E74 00085DD4 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 80088E78 00085DD8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80088E7C 00085DDC 41 82 00 28 */ beq lbl_80088EA4 -/* 80088E80 00085DE0 C0 1E 04 0C */ lfs f0, 0x40c(r30) -/* 80088E84 00085DE4 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80088E88 00085DE8 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 80088E8C 00085DEC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80088E90 00085DF0 48 00 00 14 */ b lbl_80088EA4 -lbl_80088E94: -/* 80088E94 00085DF4 C0 1E 04 38 */ lfs f0, 0x438(r30) -/* 80088E98 00085DF8 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80088E9C 00085DFC EC 1E 00 32 */ fmuls f0, f30, f0 -/* 80088EA0 00085E00 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_80088EA4: -/* 80088EA4 00085E04 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 80088EA8 00085E08 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80088EAC 00085E0C 40 82 00 14 */ bne lbl_80088EC0 -/* 80088EB0 00085E10 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 80088EB4 00085E14 4B F8 1A 21 */ bl IsInterpolationCameraActive__14CCameraManagerCFv -/* 80088EB8 00085E18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80088EBC 00085E1C 41 82 00 CC */ beq lbl_80088F88 -lbl_80088EC0: -/* 80088EC0 00085E20 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 80088EC4 00085E24 38 60 00 00 */ li r3, 0 -/* 80088EC8 00085E28 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80088ECC 00085E2C C0 02 8A 8C */ lfs f0, lbl_805AA7AC@sda21(r2) -/* 80088ED0 00085E30 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 80088ED4 00085E34 38 61 00 3C */ addi r3, r1, 0x3c -/* 80088ED8 00085E38 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 80088EDC 00085E3C D0 01 00 08 */ stfs f0, 8(r1) -/* 80088EE0 00085E40 48 28 AE F1 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80088EE4 00085E44 7C 7D 1B 78 */ mr r29, r3 -/* 80088EE8 00085E48 38 61 00 48 */ addi r3, r1, 0x48 -/* 80088EEC 00085E4C 38 81 00 9C */ addi r4, r1, 0x9c -/* 80088EF0 00085E50 48 28 AE E1 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80088EF4 00085E54 7C 64 1B 78 */ mr r4, r3 -/* 80088EF8 00085E58 7F A5 EB 78 */ mr r5, r29 -/* 80088EFC 00085E5C 38 61 00 54 */ addi r3, r1, 0x54 -/* 80088F00 00085E60 38 C1 00 08 */ addi r6, r1, 8 -/* 80088F04 00085E64 48 28 87 91 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 80088F08 00085E68 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 80088F0C 00085E6C 38 61 01 50 */ addi r3, r1, 0x150 -/* 80088F10 00085E70 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 80088F14 00085E74 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80088F18 00085E78 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 80088F1C 00085E7C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 80088F20 00085E80 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 80088F24 00085E84 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 80088F28 00085E88 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 80088F2C 00085E8C D0 01 00 98 */ stfs f0, 0x98(r1) -/* 80088F30 00085E90 48 28 9D 11 */ bl GetRotation__12CTransform4fCFv -/* 80088F34 00085E94 38 61 01 80 */ addi r3, r1, 0x180 -/* 80088F38 00085E98 38 81 00 8C */ addi r4, r1, 0x8c -/* 80088F3C 00085E9C 48 28 90 7D */ bl BuildTransform4f__11CQuaternionCFv -/* 80088F40 00085EA0 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 80088F44 00085EA4 38 81 01 80 */ addi r4, r1, 0x180 -/* 80088F48 00085EA8 38 A1 01 50 */ addi r5, r1, 0x150 -/* 80088F4C 00085EAC 48 28 9A 05 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80088F50 00085EB0 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80088F54 00085EB4 38 81 01 B0 */ addi r4, r1, 0x1b0 -/* 80088F58 00085EB8 48 28 9B E9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80088F5C 00085EBC 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80088F60 00085EC0 38 60 00 01 */ li r3, 1 -/* 80088F64 00085EC4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80088F68 00085EC8 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80088F6C 00085ECC 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80088F70 00085ED0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80088F74 00085ED4 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80088F78 00085ED8 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80088F7C 00085EDC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80088F80 00085EE0 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80088F84 00085EE4 48 00 00 B0 */ b lbl_80089034 -lbl_80088F88: -/* 80088F88 00085EE8 38 61 00 14 */ addi r3, r1, 0x14 -/* 80088F8C 00085EEC 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 80088F90 00085EF0 48 28 AE 41 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80088F94 00085EF4 7C 7D 1B 78 */ mr r29, r3 -/* 80088F98 00085EF8 38 61 00 20 */ addi r3, r1, 0x20 -/* 80088F9C 00085EFC 38 81 00 9C */ addi r4, r1, 0x9c -/* 80088FA0 00085F00 48 28 AE 31 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80088FA4 00085F04 7C 64 1B 78 */ mr r4, r3 -/* 80088FA8 00085F08 7F A5 EB 78 */ mr r5, r29 -/* 80088FAC 00085F0C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80088FB0 00085F10 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80088FB4 00085F14 48 28 86 E1 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 80088FB8 00085F18 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 80088FBC 00085F1C 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80088FC0 00085F20 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 80088FC4 00085F24 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80088FC8 00085F28 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80088FCC 00085F2C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80088FD0 00085F30 D0 61 00 7C */ stfs f3, 0x7c(r1) -/* 80088FD4 00085F34 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 80088FD8 00085F38 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80088FDC 00085F3C D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80088FE0 00085F40 48 28 9C 61 */ bl GetRotation__12CTransform4fCFv -/* 80088FE4 00085F44 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 80088FE8 00085F48 38 81 00 7C */ addi r4, r1, 0x7c -/* 80088FEC 00085F4C 48 28 8F CD */ bl BuildTransform4f__11CQuaternionCFv -/* 80088FF0 00085F50 38 61 01 20 */ addi r3, r1, 0x120 -/* 80088FF4 00085F54 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 80088FF8 00085F58 38 A1 00 C0 */ addi r5, r1, 0xc0 -/* 80088FFC 00085F5C 48 28 99 55 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80089000 00085F60 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80089004 00085F64 38 81 01 20 */ addi r4, r1, 0x120 -/* 80089008 00085F68 48 28 9B 39 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8008900C 00085F6C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80089010 00085F70 38 60 00 01 */ li r3, 1 -/* 80089014 00085F74 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80089018 00085F78 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8008901C 00085F7C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80089020 00085F80 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80089024 00085F84 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80089028 00085F88 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8008902C 00085F8C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80089030 00085F90 98 1E 00 E4 */ stb r0, 0xe4(r30) -lbl_80089034: -/* 80089034 00085F94 7F C3 F3 78 */ mr r3, r30 -/* 80089038 00085F98 7F E4 FB 78 */ mr r4, r31 -/* 8008903C 00085F9C 4B FC 9E 51 */ bl SetTranslation__6CActorFRC9CVector3f -lbl_80089040: -/* 80089040 00085FA0 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 -/* 80089044 00085FA4 CB E1 02 B0 */ lfd f31, 0x2b0(r1) -/* 80089048 00085FA8 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 -/* 8008904C 00085FAC CB C1 02 A0 */ lfd f30, 0x2a0(r1) -/* 80089050 00085FB0 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 -/* 80089054 00085FB4 CB A1 02 90 */ lfd f29, 0x290(r1) -/* 80089058 00085FB8 E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 -/* 8008905C 00085FBC CB 81 02 80 */ lfd f28, 0x280(r1) -/* 80089060 00085FC0 83 E1 02 7C */ lwz r31, 0x27c(r1) -/* 80089064 00085FC4 83 C1 02 78 */ lwz r30, 0x278(r1) -/* 80089068 00085FC8 83 A1 02 74 */ lwz r29, 0x274(r1) -/* 8008906C 00085FCC 80 01 02 C4 */ lwz r0, 0x2c4(r1) -/* 80089070 00085FD0 83 81 02 70 */ lwz r28, 0x270(r1) -/* 80089074 00085FD4 7C 08 03 A6 */ mtlr r0 -/* 80089078 00085FD8 38 21 02 C0 */ addi r1, r1, 0x2c0 - -.global sub_8008907c -sub_8008907c: -/* 8008907C 00085FDC 4E 80 00 20 */ blr - -.global UpdateCameraPositions__11CBallCameraFfRC12CTransform4fRC12CTransform4f -UpdateCameraPositions__11CBallCameraFfRC12CTransform4fRC12CTransform4f: -/* 80089080 00085FE0 94 21 FE 50 */ stwu r1, -0x1b0(r1) -/* 80089084 00085FE4 7C 08 02 A6 */ mflr r0 -/* 80089088 00085FE8 90 01 01 B4 */ stw r0, 0x1b4(r1) -/* 8008908C 00085FEC DB E1 01 A0 */ stfd f31, 0x1a0(r1) -/* 80089090 00085FF0 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 -/* 80089094 00085FF4 93 E1 01 9C */ stw r31, 0x19c(r1) -/* 80089098 00085FF8 93 C1 01 98 */ stw r30, 0x198(r1) -/* 8008909C 00085FFC 93 A1 01 94 */ stw r29, 0x194(r1) -/* 800890A0 00086000 93 81 01 90 */ stw r28, 0x190(r1) -/* 800890A4 00086004 FF E0 08 90 */ fmr f31, f1 -/* 800890A8 00086008 7C DE 33 78 */ mr r30, r6 -/* 800890AC 0008600C 7C 7C 1B 78 */ mr r28, r3 -/* 800890B0 00086010 7C BD 2B 78 */ mr r29, r5 -/* 800890B4 00086014 7F C4 F3 78 */ mr r4, r30 -/* 800890B8 00086018 38 61 01 58 */ addi r3, r1, 0x158 -/* 800890BC 0008601C 48 28 9A B9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800890C0 00086020 C0 7D 00 24 */ lfs f3, 0x24(r29) -/* 800890C4 00086024 C0 3D 00 14 */ lfs f1, 0x14(r29) -/* 800890C8 00086028 FC 80 1A 10 */ fabs f4, f3 -/* 800890CC 0008602C C0 1D 00 04 */ lfs f0, 4(r29) -/* 800890D0 00086030 C0 42 8A 20 */ lfs f2, lbl_805AA740@sda21(r2) -/* 800890D4 00086034 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 800890D8 00086038 FC 00 20 18 */ frsp f0, f4 -/* 800890DC 0008603C D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 800890E0 00086040 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 800890E4 00086044 D0 61 00 CC */ stfs f3, 0xcc(r1) -/* 800890E8 00086048 40 81 02 58 */ ble lbl_80089340 -/* 800890EC 0008604C C0 7E 00 24 */ lfs f3, 0x24(r30) -/* 800890F0 00086050 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 800890F4 00086054 FC 80 1A 10 */ fabs f4, f3 -/* 800890F8 00086058 C0 3E 00 04 */ lfs f1, 4(r30) -/* 800890FC 0008605C D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 80089100 00086060 FC 00 20 18 */ frsp f0, f4 -/* 80089104 00086064 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 80089108 00086068 D0 61 00 C0 */ stfs f3, 0xc0(r1) -/* 8008910C 0008606C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80089110 00086070 40 81 02 30 */ ble lbl_80089340 -/* 80089114 00086074 C0 DD 00 10 */ lfs f6, 0x10(r29) -/* 80089118 00086078 C0 9E 00 10 */ lfs f4, 0x10(r30) -/* 8008911C 0008607C C0 5D 00 00 */ lfs f2, 0(r29) -/* 80089120 00086080 EC 06 01 32 */ fmuls f0, f6, f4 -/* 80089124 00086084 C0 7E 00 00 */ lfs f3, 0(r30) -/* 80089128 00086088 C0 FD 00 20 */ lfs f7, 0x20(r29) -/* 8008912C 0008608C C0 BE 00 20 */ lfs f5, 0x20(r30) -/* 80089130 00086090 EC 22 00 FA */ fmadds f1, f2, f3, f0 -/* 80089134 00086094 C0 02 8A 88 */ lfs f0, lbl_805AA7A8@sda21(r2) -/* 80089138 00086098 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 8008913C 0008609C EC 27 09 7A */ fmadds f1, f7, f5, f1 -/* 80089140 000860A0 D0 C1 00 B0 */ stfs f6, 0xb0(r1) -/* 80089144 000860A4 D0 E1 00 B4 */ stfs f7, 0xb4(r1) -/* 80089148 000860A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008914C 000860AC 41 81 01 F4 */ bgt lbl_80089340 -/* 80089150 000860B0 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 80089154 000860B4 38 61 00 78 */ addi r3, r1, 0x78 -/* 80089158 000860B8 C0 22 8A 70 */ lfs f1, lbl_805AA790@sda21(r2) -/* 8008915C 000860BC 38 81 00 6C */ addi r4, r1, 0x6c -/* 80089160 000860C0 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80089164 000860C4 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 80089168 000860C8 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 8008916C 000860CC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80089170 000860D0 D0 A1 00 74 */ stfs f5, 0x74(r1) -/* 80089174 000860D4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80089178 000860D8 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8008917C 000860DC D0 C1 00 88 */ stfs f6, 0x88(r1) -/* 80089180 000860E0 D0 E1 00 8C */ stfs f7, 0x8c(r1) -/* 80089184 000860E4 48 28 AC 4D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80089188 000860E8 7C 7F 1B 78 */ mr r31, r3 -/* 8008918C 000860EC 38 61 00 90 */ addi r3, r1, 0x90 -/* 80089190 000860F0 38 81 00 84 */ addi r4, r1, 0x84 -/* 80089194 000860F4 48 28 AC 3D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80089198 000860F8 7C 64 1B 78 */ mr r4, r3 -/* 8008919C 000860FC 7F E5 FB 78 */ mr r5, r31 -/* 800891A0 00086100 38 61 00 9C */ addi r3, r1, 0x9c -/* 800891A4 00086104 38 C1 00 08 */ addi r6, r1, 8 -/* 800891A8 00086108 48 28 7E 79 */ bl ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle -/* 800891AC 0008610C C0 81 00 9C */ lfs f4, 0x9c(r1) -/* 800891B0 00086110 38 61 01 28 */ addi r3, r1, 0x128 -/* 800891B4 00086114 C0 61 00 A0 */ lfs f3, 0xa0(r1) -/* 800891B8 00086118 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 800891BC 0008611C C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 800891C0 00086120 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 800891C4 00086124 C0 DD 00 20 */ lfs f6, 0x20(r29) -/* 800891C8 00086128 C0 BD 00 10 */ lfs f5, 0x10(r29) -/* 800891CC 0008612C C0 1D 00 00 */ lfs f0, 0(r29) -/* 800891D0 00086130 D0 81 00 E8 */ stfs f4, 0xe8(r1) -/* 800891D4 00086134 D0 61 00 EC */ stfs f3, 0xec(r1) -/* 800891D8 00086138 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 800891DC 0008613C D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 800891E0 00086140 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800891E4 00086144 D0 A1 00 58 */ stfs f5, 0x58(r1) -/* 800891E8 00086148 D0 C1 00 5C */ stfs f6, 0x5c(r1) -/* 800891EC 0008614C 48 28 8D CD */ bl BuildTransform4f__11CQuaternionCFv -/* 800891F0 00086150 38 61 00 60 */ addi r3, r1, 0x60 -/* 800891F4 00086154 38 81 01 28 */ addi r4, r1, 0x128 -/* 800891F8 00086158 38 A1 00 54 */ addi r5, r1, 0x54 -/* 800891FC 0008615C 48 28 98 ED */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80089200 00086160 C0 E1 00 64 */ lfs f7, 0x64(r1) -/* 80089204 00086164 C0 7E 00 14 */ lfs f3, 0x14(r30) -/* 80089208 00086168 C1 01 00 60 */ lfs f8, 0x60(r1) -/* 8008920C 0008616C EC 07 00 F2 */ fmuls f0, f7, f3 -/* 80089210 00086170 C0 9E 00 04 */ lfs f4, 4(r30) -/* 80089214 00086174 C0 C1 00 68 */ lfs f6, 0x68(r1) -/* 80089218 00086178 C0 BE 00 24 */ lfs f5, 0x24(r30) -/* 8008921C 0008617C EC 28 01 3A */ fmadds f1, f8, f4, f0 -/* 80089220 00086180 C0 02 8A 88 */ lfs f0, lbl_805AA7A8@sda21(r2) -/* 80089224 00086184 D1 01 00 DC */ stfs f8, 0xdc(r1) -/* 80089228 00086188 EC 26 09 7A */ fmadds f1, f6, f5, f1 -/* 8008922C 0008618C D0 E1 00 E0 */ stfs f7, 0xe0(r1) -/* 80089230 00086190 D0 C1 00 E4 */ stfs f6, 0xe4(r1) -/* 80089234 00086194 FC 20 0A 10 */ fabs f1, f1 -/* 80089238 00086198 FC 20 08 18 */ frsp f1, f1 -/* 8008923C 0008619C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80089240 000861A0 41 81 01 00 */ bgt lbl_80089340 -/* 80089244 000861A4 EC 47 01 72 */ fmuls f2, f7, f5 -/* 80089248 000861A8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8008924C 000861AC EC 26 01 32 */ fmuls f1, f6, f4 -/* 80089250 000861B0 38 81 00 3C */ addi r4, r1, 0x3c -/* 80089254 000861B4 EC 08 00 F2 */ fmuls f0, f8, f3 -/* 80089258 000861B8 EC 43 11 B8 */ fmsubs f2, f3, f6, f2 -/* 8008925C 000861BC EC 25 0A 38 */ fmsubs f1, f5, f8, f1 -/* 80089260 000861C0 EC 04 01 F8 */ fmsubs f0, f4, f7, f0 -/* 80089264 000861C4 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80089268 000861C8 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8008926C 000861CC D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80089270 000861D0 48 28 B5 E1 */ bl AsNormalized__9CVector3fCFv -/* 80089274 000861D4 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 80089278 000861D8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8008927C 000861DC C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 80089280 000861E0 38 81 00 24 */ addi r4, r1, 0x24 -/* 80089284 000861E4 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80089288 000861E8 C0 BE 00 24 */ lfs f5, 0x24(r30) -/* 8008928C 000861EC C0 9E 00 14 */ lfs f4, 0x14(r30) -/* 80089290 000861F0 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80089294 000861F4 D0 61 00 D0 */ stfs f3, 0xd0(r1) -/* 80089298 000861F8 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 8008929C 000861FC D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 800892A0 00086200 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800892A4 00086204 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 800892A8 00086208 D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 800892AC 0008620C 48 28 B5 A5 */ bl AsNormalized__9CVector3fCFv -/* 800892B0 00086210 C0 41 00 D4 */ lfs f2, 0xd4(r1) -/* 800892B4 00086214 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 800892B8 00086218 C1 21 00 30 */ lfs f9, 0x30(r1) -/* 800892BC 0008621C 38 81 00 DC */ addi r4, r1, 0xdc -/* 800892C0 00086220 C0 81 00 D8 */ lfs f4, 0xd8(r1) -/* 800892C4 00086224 38 A1 00 18 */ addi r5, r1, 0x18 -/* 800892C8 00086228 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 800892CC 0008622C EC 09 00 B2 */ fmuls f0, f9, f2 -/* 800892D0 00086230 C0 C1 00 D0 */ lfs f6, 0xd0(r1) -/* 800892D4 00086234 38 C1 00 D0 */ addi r6, r1, 0xd0 -/* 800892D8 00086238 C0 A1 00 38 */ lfs f5, 0x38(r1) -/* 800892DC 0008623C EC 23 01 32 */ fmuls f1, f3, f4 -/* 800892E0 00086240 ED 06 00 F8 */ fmsubs f8, f6, f3, f0 -/* 800892E4 00086244 EC 05 01 B2 */ fmuls f0, f5, f6 -/* 800892E8 00086248 C0 FE 00 2C */ lfs f7, 0x2c(r30) -/* 800892EC 0008624C EC 62 09 78 */ fmsubs f3, f2, f5, f1 -/* 800892F0 00086250 C0 DE 00 1C */ lfs f6, 0x1c(r30) -/* 800892F4 00086254 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 800892F8 00086258 EC 44 02 78 */ fmsubs f2, f4, f9, f0 -/* 800892FC 0008625C C0 BE 00 24 */ lfs f5, 0x24(r30) -/* 80089300 00086260 38 E1 00 0C */ addi r7, r1, 0xc -/* 80089304 00086264 C0 9E 00 14 */ lfs f4, 0x14(r30) -/* 80089308 00086268 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8008930C 0008626C D0 61 00 DC */ stfs f3, 0xdc(r1) -/* 80089310 00086270 D0 41 00 E0 */ stfs f2, 0xe0(r1) -/* 80089314 00086274 D1 01 00 E4 */ stfs f8, 0xe4(r1) -/* 80089318 00086278 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8008931C 0008627C D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 80089320 00086280 D0 E1 00 14 */ stfs f7, 0x14(r1) -/* 80089324 00086284 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80089328 00086288 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 8008932C 0008628C D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 80089330 00086290 48 28 9B 2D */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 80089334 00086294 38 61 01 58 */ addi r3, r1, 0x158 -/* 80089338 00086298 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8008933C 0008629C 48 28 98 05 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_80089340: -/* 80089340 000862A0 7F 83 E3 78 */ mr r3, r28 -/* 80089344 000862A4 38 81 01 58 */ addi r4, r1, 0x158 -/* 80089348 000862A8 48 28 98 2D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008934C 000862AC E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 -/* 80089350 000862B0 80 01 01 B4 */ lwz r0, 0x1b4(r1) -/* 80089354 000862B4 CB E1 01 A0 */ lfd f31, 0x1a0(r1) -/* 80089358 000862B8 83 E1 01 9C */ lwz r31, 0x19c(r1) -/* 8008935C 000862BC 83 C1 01 98 */ lwz r30, 0x198(r1) -/* 80089360 000862C0 83 A1 01 94 */ lwz r29, 0x194(r1) -/* 80089364 000862C4 83 81 01 90 */ lwz r28, 0x190(r1) -/* 80089368 000862C8 7C 08 03 A6 */ mtlr r0 -/* 8008936C 000862CC 38 21 01 B0 */ addi r1, r1, 0x1b0 -/* 80089370 000862D0 4E 80 00 20 */ blr - -.global ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager -ConstrainYawAngle__11CBallCameraCFRC7CPlayerfffR13CStateManager: -/* 80089374 000862D4 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80089378 000862D8 7C 08 02 A6 */ mflr r0 -/* 8008937C 000862DC 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80089380 000862E0 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80089384 000862E4 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80089388 000862E8 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8008938C 000862EC F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 80089390 000862F0 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 80089394 000862F4 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 80089398 000862F8 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 8008939C 000862FC F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 800893A0 00086300 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 800893A4 00086304 93 C1 00 88 */ stw r30, 0x88(r1) -/* 800893A8 00086308 93 A1 00 84 */ stw r29, 0x84(r1) -/* 800893AC 0008630C C0 84 00 60 */ lfs f4, 0x60(r4) -/* 800893B0 00086310 FF A0 08 90 */ fmr f29, f1 -/* 800893B4 00086314 C0 05 00 60 */ lfs f0, 0x60(r5) -/* 800893B8 00086318 FF C0 10 90 */ fmr f30, f2 -/* 800893BC 0008631C FF E0 18 90 */ fmr f31, f3 -/* 800893C0 00086320 C0 A4 00 50 */ lfs f5, 0x50(r4) -/* 800893C4 00086324 EC 64 00 28 */ fsubs f3, f4, f0 -/* 800893C8 00086328 C0 45 00 50 */ lfs f2, 0x50(r5) -/* 800893CC 0008632C 7C BF 2B 78 */ mr r31, r5 -/* 800893D0 00086330 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 800893D4 00086334 EC 85 10 28 */ fsubs f4, f5, f2 -/* 800893D8 00086338 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 800893DC 0008633C 80 05 02 F8 */ lwz r0, 0x2f8(r5) -/* 800893E0 00086340 7C 9E 23 78 */ mr r30, r4 -/* 800893E4 00086344 EC 41 00 28 */ fsubs f2, f1, f0 -/* 800893E8 00086348 C0 C5 00 58 */ lfs f6, 0x58(r5) -/* 800893EC 0008634C C0 A5 00 48 */ lfs f5, 0x48(r5) -/* 800893F0 00086350 2C 00 00 01 */ cmpwi r0, 1 -/* 800893F4 00086354 C0 05 00 38 */ lfs f0, 0x38(r5) -/* 800893F8 00086358 7C 7D 1B 78 */ mr r29, r3 -/* 800893FC 0008635C D0 61 00 74 */ stfs f3, 0x74(r1) -/* 80089400 00086360 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80089404 00086364 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 80089408 00086368 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 8008940C 0008636C D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80089410 00086370 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80089414 00086374 D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 80089418 00086378 D0 C1 00 68 */ stfs f6, 0x68(r1) -/* 8008941C 0008637C 40 82 00 84 */ bne lbl_800894A0 -/* 80089420 00086380 C0 5F 05 0C */ lfs f2, 0x50c(r31) -/* 80089424 00086384 7C C3 33 78 */ mr r3, r6 -/* 80089428 00086388 C0 3F 05 10 */ lfs f1, 0x510(r31) -/* 8008942C 0008638C 38 81 00 08 */ addi r4, r1, 8 -/* 80089430 00086390 C0 1F 05 14 */ lfs f0, 0x514(r31) -/* 80089434 00086394 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80089438 00086398 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 8008943C 0008639C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80089440 000863A0 A0 1E 03 DC */ lhz r0, 0x3dc(r30) -/* 80089444 000863A4 B0 01 00 08 */ sth r0, 8(r1) -/* 80089448 000863A8 4B FC 31 5D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8008944C 000863AC 7C 64 1B 78 */ mr r4, r3 -/* 80089450 000863B0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80089454 000863B4 48 02 0C 9D */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 80089458 000863B8 80 63 00 04 */ lwz r3, 4(r3) -/* 8008945C 000863BC 28 03 00 00 */ cmplwi r3, 0 -/* 80089460 000863C0 41 82 00 14 */ beq lbl_80089474 -/* 80089464 000863C4 41 82 00 3C */ beq lbl_800894A0 -/* 80089468 000863C8 88 03 02 A8 */ lbz r0, 0x2a8(r3) -/* 8008946C 000863CC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80089470 000863D0 40 82 00 30 */ bne lbl_800894A0 -lbl_80089474: -/* 80089474 000863D4 80 1E 04 00 */ lwz r0, 0x400(r30) -/* 80089478 000863D8 2C 00 00 03 */ cmpwi r0, 3 -/* 8008947C 000863DC 41 82 00 0C */ beq lbl_80089488 -/* 80089480 000863E0 2C 00 00 02 */ cmpwi r0, 2 -/* 80089484 000863E4 40 82 00 1C */ bne lbl_800894A0 -lbl_80089488: -/* 80089488 000863E8 C0 5F 05 18 */ lfs f2, 0x518(r31) -/* 8008948C 000863EC C0 3F 05 1C */ lfs f1, 0x51c(r31) -/* 80089490 000863F0 C0 1F 05 20 */ lfs f0, 0x520(r31) -/* 80089494 000863F4 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80089498 000863F8 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 8008949C 000863FC D0 01 00 68 */ stfs f0, 0x68(r1) -lbl_800894A0: -/* 800894A0 00086400 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 800894A4 00086404 2C 00 00 03 */ cmpwi r0, 3 -/* 800894A8 00086408 40 82 00 1C */ bne lbl_800894C4 -/* 800894AC 0008640C C0 5F 05 18 */ lfs f2, 0x518(r31) -/* 800894B0 00086410 C0 3F 05 1C */ lfs f1, 0x51c(r31) -/* 800894B4 00086414 C0 1F 05 20 */ lfs f0, 0x520(r31) -/* 800894B8 00086418 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 800894BC 0008641C D0 21 00 64 */ stfs f1, 0x64(r1) -/* 800894C0 00086420 D0 01 00 68 */ stfs f0, 0x68(r1) -lbl_800894C4: -/* 800894C4 00086424 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 800894C8 00086428 38 61 00 60 */ addi r3, r1, 0x60 -/* 800894CC 0008642C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 800894D0 00086430 48 28 B2 29 */ bl CanBeNormalized__9CVector3fCFv -/* 800894D4 00086434 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800894D8 00086438 41 82 00 10 */ beq lbl_800894E8 -/* 800894DC 0008643C 38 61 00 60 */ addi r3, r1, 0x60 -/* 800894E0 00086440 48 28 B4 19 */ bl Normalize__9CVector3fFv -/* 800894E4 00086444 48 00 00 28 */ b lbl_8008950C -lbl_800894E8: -/* 800894E8 00086448 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 800894EC 0008644C C0 21 00 70 */ lfs f1, 0x70(r1) -/* 800894F0 00086450 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 800894F4 00086454 FC 40 10 50 */ fneg f2, f2 -/* 800894F8 00086458 FC 20 08 50 */ fneg f1, f1 -/* 800894FC 0008645C FC 00 00 50 */ fneg f0, f0 -/* 80089500 00086460 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 80089504 00086464 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80089508 00086468 D0 21 00 64 */ stfs f1, 0x64(r1) -lbl_8008950C: -/* 8008950C 0008646C 38 61 00 6C */ addi r3, r1, 0x6c -/* 80089510 00086470 48 28 B1 E9 */ bl CanBeNormalized__9CVector3fCFv -/* 80089514 00086474 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80089518 00086478 41 82 00 10 */ beq lbl_80089528 -/* 8008951C 0008647C 38 61 00 6C */ addi r3, r1, 0x6c -/* 80089520 00086480 48 28 B3 D9 */ bl Normalize__9CVector3fFv -/* 80089524 00086484 48 00 00 2C */ b lbl_80089550 -lbl_80089528: -/* 80089528 00086488 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8008952C 0008648C C0 21 00 64 */ lfs f1, 0x64(r1) -/* 80089530 00086490 FC 00 00 50 */ fneg f0, f0 -/* 80089534 00086494 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 80089538 00086498 FC 20 08 50 */ fneg f1, f1 -/* 8008953C 0008649C FC 40 10 50 */ fneg f2, f2 -/* 80089540 000864A0 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80089544 000864A4 D0 3D 00 04 */ stfs f1, 4(r29) -/* 80089548 000864A8 D0 5D 00 08 */ stfs f2, 8(r29) -/* 8008954C 000864AC 48 00 01 44 */ b lbl_80089690 -lbl_80089550: -/* 80089550 000864B0 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80089554 000864B4 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 80089558 000864B8 FC 00 00 50 */ fneg f0, f0 -/* 8008955C 000864BC C0 21 00 70 */ lfs f1, 0x70(r1) -/* 80089560 000864C0 C0 81 00 68 */ lfs f4, 0x68(r1) -/* 80089564 000864C4 FC 40 10 50 */ fneg f2, f2 -/* 80089568 000864C8 C0 61 00 6C */ lfs f3, 0x6c(r1) -/* 8008956C 000864CC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80089570 000864D0 FC 80 20 50 */ fneg f4, f4 -/* 80089574 000864D4 C0 A1 00 74 */ lfs f5, 0x74(r1) -/* 80089578 000864D8 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 8008957C 000864DC EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 80089580 000864E0 EF 85 09 3A */ fmadds f28, f5, f4, f1 -/* 80089584 000864E4 FC 20 E2 10 */ fabs f1, f28 -/* 80089588 000864E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008958C 000864EC 40 81 00 14 */ ble lbl_800895A0 -/* 80089590 000864F0 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80089594 000864F4 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 80089598 000864F8 FC 1C 00 6E */ fsel f0, f28, f1, f0 -/* 8008959C 000864FC EF 81 00 32 */ fmuls f28, f1, f0 -lbl_800895A0: -/* 800895A0 00086500 FC 20 E0 90 */ fmr f1, f28 -/* 800895A4 00086504 48 30 B6 89 */ bl acos -/* 800895A8 00086508 C0 02 8A 1C */ lfs f0, lbl_805AA73C@sda21(r2) -/* 800895AC 0008650C FC 20 08 18 */ frsp f1, f1 -/* 800895B0 00086510 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 800895B4 00086514 4C 41 13 82 */ cror 2, 1, 2 -/* 800895B8 00086518 40 82 00 2C */ bne lbl_800895E4 -/* 800895BC 0008651C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 800895C0 00086520 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 800895C4 00086524 FC 00 00 50 */ fneg f0, f0 -/* 800895C8 00086528 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 800895CC 0008652C FC 20 08 50 */ fneg f1, f1 -/* 800895D0 00086530 FC 40 10 50 */ fneg f2, f2 -/* 800895D4 00086534 D0 1D 00 00 */ stfs f0, 0(r29) -/* 800895D8 00086538 D0 3D 00 04 */ stfs f1, 4(r29) -/* 800895DC 0008653C D0 5D 00 08 */ stfs f2, 8(r29) -/* 800895E0 00086540 48 00 00 B0 */ b lbl_80089690 -lbl_800895E4: -/* 800895E4 00086544 EC 01 F0 24 */ fdivs f0, f1, f30 -/* 800895E8 00086548 38 81 00 10 */ addi r4, r1, 0x10 -/* 800895EC 0008654C 38 6D 84 B4 */ addi r3, r13, lbl_805A7074@sda21 -/* 800895F0 00086550 38 AD 84 B8 */ addi r5, r13, lbl_805A7078@sda21 -/* 800895F4 00086554 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800895F8 00086558 4B F8 2C BD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800895FC 0008655C EC 7D 07 F2 */ fmuls f3, f29, f31 -/* 80089600 00086560 C0 83 00 00 */ lfs f4, 0(r3) -/* 80089604 00086564 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 80089608 00086568 38 61 00 28 */ addi r3, r1, 0x28 -/* 8008960C 0008656C C0 21 00 64 */ lfs f1, 0x64(r1) -/* 80089610 00086570 38 81 00 1C */ addi r4, r1, 0x1c -/* 80089614 00086574 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80089618 00086578 EC 63 01 32 */ fmuls f3, f3, f4 -/* 8008961C 0008657C FC 40 10 50 */ fneg f2, f2 -/* 80089620 00086580 FC 20 08 50 */ fneg f1, f1 -/* 80089624 00086584 FC 00 00 50 */ fneg f0, f0 -/* 80089628 00086588 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8008962C 0008658C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80089630 00086590 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80089634 00086594 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80089638 00086598 48 28 A7 99 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8008963C 0008659C 7C 7F 1B 78 */ mr r31, r3 -/* 80089640 000865A0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80089644 000865A4 38 81 00 6C */ addi r4, r1, 0x6c -/* 80089648 000865A8 48 28 A7 89 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8008964C 000865AC 7C 64 1B 78 */ mr r4, r3 -/* 80089650 000865B0 7F E5 FB 78 */ mr r5, r31 -/* 80089654 000865B4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80089658 000865B8 38 C1 00 0C */ addi r6, r1, 0xc -/* 8008965C 000865BC 48 28 80 39 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 80089660 000865C0 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 80089664 000865C4 7F A3 EB 78 */ mr r3, r29 -/* 80089668 000865C8 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8008966C 000865CC 38 81 00 50 */ addi r4, r1, 0x50 -/* 80089670 000865D0 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80089674 000865D4 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80089678 000865D8 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8008967C 000865DC D0 61 00 50 */ stfs f3, 0x50(r1) -/* 80089680 000865E0 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 80089684 000865E4 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80089688 000865E8 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8008968C 000865EC 48 28 7B D9 */ bl Transform__11CQuaternionCFRC9CVector3f -lbl_80089690: -/* 80089690 000865F0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80089694 000865F4 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80089698 000865F8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8008969C 000865FC CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 800896A0 00086600 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 800896A4 00086604 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 800896A8 00086608 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 800896AC 0008660C CB 81 00 90 */ lfd f28, 0x90(r1) -/* 800896B0 00086610 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 800896B4 00086614 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 800896B8 00086618 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 800896BC 0008661C 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 800896C0 00086620 7C 08 03 A6 */ mtlr r0 -/* 800896C4 00086624 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 800896C8 00086628 4E 80 00 20 */ blr - -.global ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager: -/* 800896CC 0008662C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 800896D0 00086630 7C 08 02 A6 */ mflr r0 -/* 800896D4 00086634 90 01 00 94 */ stw r0, 0x94(r1) -/* 800896D8 00086638 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 800896DC 0008663C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 800896E0 00086640 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 800896E4 00086644 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 800896E8 00086648 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 800896EC 0008664C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 800896F0 00086650 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 800896F4 00086654 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 800896F8 00086658 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 800896FC 0008665C 7C DE 33 78 */ mr r30, r6 -/* 80089700 00086660 7C 7B 1B 78 */ mr r27, r3 -/* 80089704 00086664 FF A0 08 90 */ fmr f29, f1 -/* 80089708 00086668 83 E6 08 4C */ lwz r31, 0x84c(r6) -/* 8008970C 0008666C 7C 9C 23 78 */ mr r28, r4 -/* 80089710 00086670 7C BD 2B 78 */ mr r29, r5 -/* 80089714 00086674 7F E4 FB 78 */ mr r4, r31 -/* 80089718 00086678 38 61 00 1C */ addi r3, r1, 0x1c -/* 8008971C 0008667C 48 1F B6 2D */ bl GetBallPosition__7CPlayerCFv -/* 80089720 00086680 C0 3B 00 50 */ lfs f1, 0x50(r27) -/* 80089724 00086684 38 61 00 28 */ addi r3, r1, 0x28 -/* 80089728 00086688 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8008972C 0008668C C0 7B 00 60 */ lfs f3, 0x60(r27) -/* 80089730 00086690 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 80089734 00086694 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80089738 00086698 C0 3B 00 40 */ lfs f1, 0x40(r27) -/* 8008973C 0008669C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80089740 000866A0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80089744 000866A4 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 80089748 000866A8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8008974C 000866AC C3 E2 89 B0 */ lfs f31, lbl_805AA6D0@sda21(r2) -/* 80089750 000866B0 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80089754 000866B4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80089758 000866B8 48 28 AF A1 */ bl CanBeNormalized__9CVector3fCFv -/* 8008975C 000866BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80089760 000866C0 41 82 00 24 */ beq lbl_80089784 -/* 80089764 000866C4 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80089768 000866C8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8008976C 000866CC C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 80089770 000866D0 48 28 AA 91 */ bl __ct__9CVector2fFff -/* 80089774 000866D4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80089778 000866D8 48 28 A9 7D */ bl Magnitude__9CVector2fCFv -/* 8008977C 000866DC FF E0 08 90 */ fmr f31, f1 -/* 80089780 000866E0 48 00 00 28 */ b lbl_800897A8 -lbl_80089784: -/* 80089784 000866E4 C0 5F 05 14 */ lfs f2, 0x514(r31) -/* 80089788 000866E8 C0 3F 05 10 */ lfs f1, 0x510(r31) -/* 8008978C 000866EC C0 1F 05 0C */ lfs f0, 0x50c(r31) -/* 80089790 000866F0 FC 40 10 50 */ fneg f2, f2 -/* 80089794 000866F4 FC 20 08 50 */ fneg f1, f1 -/* 80089798 000866F8 FC 00 00 50 */ fneg f0, f0 -/* 8008979C 000866FC D0 41 00 30 */ stfs f2, 0x30(r1) -/* 800897A0 00086700 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800897A4 00086704 D0 21 00 2C */ stfs f1, 0x2c(r1) -lbl_800897A8: -/* 800897A8 00086708 A0 1B 03 DC */ lhz r0, 0x3dc(r27) -/* 800897AC 0008670C 7F C3 F3 78 */ mr r3, r30 -/* 800897B0 00086710 38 81 00 08 */ addi r4, r1, 8 -/* 800897B4 00086714 B0 01 00 08 */ sth r0, 8(r1) -/* 800897B8 00086718 4B FC 2D ED */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800897BC 0008671C 7C 64 1B 78 */ mr r4, r3 -/* 800897C0 00086720 38 61 00 0C */ addi r3, r1, 0xc -/* 800897C4 00086724 48 02 09 2D */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 800897C8 00086728 80 63 00 04 */ lwz r3, 4(r3) -/* 800897CC 0008672C 3B E0 00 00 */ li r31, 0 -/* 800897D0 00086730 C0 5D 00 00 */ lfs f2, 0(r29) -/* 800897D4 00086734 C3 C2 89 B8 */ lfs f30, lbl_805AA6D8@sda21(r2) -/* 800897D8 00086738 28 03 00 00 */ cmplwi r3, 0 -/* 800897DC 0008673C FC 20 10 90 */ fmr f1, f2 -/* 800897E0 00086740 C3 9C 00 00 */ lfs f28, 0(r28) -/* 800897E4 00086744 FC 00 F0 90 */ fmr f0, f30 -/* 800897E8 00086748 41 82 00 B8 */ beq lbl_800898A0 -/* 800897EC 0008674C 88 03 02 A8 */ lbz r0, 0x2a8(r3) -/* 800897F0 00086750 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800897F4 00086754 40 82 00 AC */ bne lbl_800898A0 -/* 800897F8 00086758 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) -/* 800897FC 0008675C C0 3B 03 E0 */ lfs f1, 0x3e0(r27) -/* 80089800 00086760 EC 60 00 B2 */ fmuls f3, f0, f2 -/* 80089804 00086764 C8 02 89 F0 */ lfd f0, lbl_805AA710@sda21(r2) -/* 80089808 00086768 EC 21 18 24 */ fdivs f1, f1, f3 -/* 8008980C 0008676C FC 20 0A 10 */ fabs f1, f1 -/* 80089810 00086770 FC 40 08 18 */ frsp f2, f1 -/* 80089814 00086774 FC 20 12 10 */ fabs f1, f2 -/* 80089818 00086778 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008981C 0008677C 40 81 00 10 */ ble lbl_8008982C -/* 80089820 00086780 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 80089824 00086784 FC 02 07 AE */ fsel f0, f2, f30, f0 -/* 80089828 00086788 EC 5E 00 32 */ fmuls f2, f30, f0 -lbl_8008982C: -/* 8008982C 0008678C C0 1B 03 E0 */ lfs f0, 0x3e0(r27) -/* 80089830 00086790 FF C0 10 90 */ fmr f30, f2 -/* 80089834 00086794 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80089838 00086798 40 80 00 08 */ bge lbl_80089840 -/* 8008983C 0008679C 3B E0 00 01 */ li r31, 1 -lbl_80089840: -/* 80089840 000867A0 88 03 02 A8 */ lbz r0, 0x2a8(r3) -/* 80089844 000867A4 54 03 DF FF */ rlwinm. r3, r0, 0x1b, 0x1f, 0x1f -/* 80089848 000867A8 41 82 00 18 */ beq lbl_80089860 -/* 8008984C 000867AC C0 3B 04 68 */ lfs f1, 0x468(r27) -/* 80089850 000867B0 C0 1D 00 00 */ lfs f0, 0(r29) -/* 80089854 000867B4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80089858 000867B8 EC 22 08 3A */ fmadds f1, f2, f0, f1 -/* 8008985C 000867BC 48 00 00 14 */ b lbl_80089870 -lbl_80089860: -/* 80089860 000867C0 C0 1D 00 00 */ lfs f0, 0(r29) -/* 80089864 000867C4 C0 22 8A 44 */ lfs f1, lbl_805AA764@sda21(r2) -/* 80089868 000867C8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8008986C 000867CC EC 22 08 3A */ fmadds f1, f2, f0, f1 -lbl_80089870: -/* 80089870 000867D0 88 1B 01 8D */ lbz r0, 0x18d(r27) -/* 80089874 000867D4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80089878 000867D8 41 82 00 14 */ beq lbl_8008988C -/* 8008987C 000867DC C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 80089880 000867E0 C0 1B 03 08 */ lfs f0, 0x308(r27) -/* 80089884 000867E4 EC 02 00 2A */ fadds f0, f2, f0 -/* 80089888 000867E8 EC 21 00 32 */ fmuls f1, f1, f0 -lbl_8008988C: -/* 8008988C 000867EC 28 03 00 00 */ cmplwi r3, 0 -/* 80089890 000867F0 C3 82 8A 48 */ lfs f28, lbl_805AA768@sda21(r2) -/* 80089894 000867F4 40 82 00 08 */ bne lbl_8008989C -/* 80089898 000867F8 C3 82 8A 5C */ lfs f28, lbl_805AA77C@sda21(r2) -lbl_8008989C: -/* 8008989C 000867FC C0 02 8A 6C */ lfs f0, lbl_805AA78C@sda21(r2) -lbl_800898A0: -/* 800898A0 00086800 FC 40 F8 90 */ fmr f2, f31 -/* 800898A4 00086804 38 7B 02 14 */ addi r3, r27, 0x214 -/* 800898A8 00086808 EC 7D 00 32 */ fmuls f3, f29, f0 -/* 800898AC 0008680C 4B FD 3F 8D */ bl ApplyDistanceSpring__13CCameraSpringFfff -/* 800898B0 00086810 D0 3D 00 00 */ stfs f1, 0(r29) -/* 800898B4 00086814 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 800898B8 00086818 C0 1C 00 00 */ lfs f0, 0(r28) -/* 800898BC 0008681C EC 00 E0 28 */ fsubs f0, f0, f28 -/* 800898C0 00086820 EC 00 E7 BA */ fmadds f0, f0, f30, f28 -/* 800898C4 00086824 D0 1C 00 00 */ stfs f0, 0(r28) -/* 800898C8 00086828 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 800898CC 0008682C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 800898D0 00086830 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 800898D4 00086834 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 800898D8 00086838 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 800898DC 0008683C CB A1 00 60 */ lfd f29, 0x60(r1) -/* 800898E0 00086840 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 800898E4 00086844 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 800898E8 00086848 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 800898EC 0008684C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 800898F0 00086850 7C 08 03 A6 */ mtlr r0 -/* 800898F4 00086854 38 21 00 90 */ addi r1, r1, 0x90 -/* 800898F8 00086858 4E 80 00 20 */ blr - -.global UpdateObjectTooCloseId__11CBallCameraFR13CStateManager -UpdateObjectTooCloseId__11CBallCameraFR13CStateManager: -/* 800898FC 0008685C 94 21 DF 10 */ stwu r1, -0x20f0(r1) -/* 80089900 00086860 7C 08 02 A6 */ mflr r0 -/* 80089904 00086864 90 01 20 F4 */ stw r0, 0x20f4(r1) -/* 80089908 00086868 38 00 20 E8 */ li r0, 0x20e8 -/* 8008990C 0008686C DB E1 20 E0 */ stfd f31, 0x20e0(r1) -/* 80089910 00086870 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 -/* 80089914 00086874 38 00 20 D8 */ li r0, 0x20d8 -/* 80089918 00086878 DB C1 20 D0 */ stfd f30, 0x20d0(r1) -/* 8008991C 0008687C 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 -/* 80089920 00086880 38 00 20 C8 */ li r0, 0x20c8 -/* 80089924 00086884 DB A1 20 C0 */ stfd f29, 0x20c0(r1) -/* 80089928 00086888 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 -/* 8008992C 0008688C 38 00 20 B8 */ li r0, 0x20b8 -/* 80089930 00086890 DB 81 20 B0 */ stfd f28, 0x20b0(r1) -/* 80089934 00086894 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 -/* 80089938 00086898 38 00 20 A8 */ li r0, 0x20a8 -/* 8008993C 0008689C DB 61 20 A0 */ stfd f27, 0x20a0(r1) -/* 80089940 000868A0 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 -/* 80089944 000868A4 38 00 20 98 */ li r0, 0x2098 -/* 80089948 000868A8 DB 41 20 90 */ stfd f26, 0x2090(r1) -/* 8008994C 000868AC 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 -/* 80089950 000868B0 93 E1 20 8C */ stw r31, 0x208c(r1) -/* 80089954 000868B4 93 C1 20 88 */ stw r30, 0x2088(r1) -/* 80089958 000868B8 93 A1 20 84 */ stw r29, 0x2084(r1) -/* 8008995C 000868BC 93 81 20 80 */ stw r28, 0x2080(r1) -/* 80089960 000868C0 C0 02 8A 90 */ lfs f0, lbl_805AA7B0@sda21(r2) -/* 80089964 000868C4 7C 7E 1B 78 */ mr r30, r3 -/* 80089968 000868C8 7C 9F 23 78 */ mr r31, r4 -/* 8008996C 000868CC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80089970 000868D0 D0 1E 03 E0 */ stfs f0, 0x3e0(r30) -/* 80089974 000868D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80089978 000868D8 B0 1E 03 DC */ sth r0, 0x3dc(r30) -/* 8008997C 000868DC 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80089980 000868E0 48 1F B3 C9 */ bl GetBallPosition__7CPlayerCFv -/* 80089984 000868E4 80 BF 08 48 */ lwz r5, 0x848(r31) -/* 80089988 000868E8 3C 60 80 3E */ lis r3, lbl_803D96D8@ha -/* 8008998C 000868EC C3 9E 00 40 */ lfs f28, 0x40(r30) -/* 80089990 000868F0 38 03 96 D8 */ addi r0, r3, lbl_803D96D8@l -/* 80089994 000868F4 C3 7E 00 50 */ lfs f27, 0x50(r30) -/* 80089998 000868F8 38 81 00 70 */ addi r4, r1, 0x70 -/* 8008999C 000868FC C3 5E 00 60 */ lfs f26, 0x60(r30) -/* 800899A0 00086900 38 65 00 04 */ addi r3, r5, 4 -/* 800899A4 00086904 C3 E1 00 48 */ lfs f31, 0x48(r1) -/* 800899A8 00086908 38 C1 20 70 */ addi r6, r1, 0x2070 -/* 800899AC 0008690C 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800899B0 00086910 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 800899B4 00086914 C3 A1 00 50 */ lfs f29, 0x50(r1) -lbl_800899B8: -/* 800899B8 00086918 80 03 00 00 */ lwz r0, 0(r3) -/* 800899BC 0008691C 90 04 00 00 */ stw r0, 0(r4) -/* 800899C0 00086920 A8 03 00 04 */ lha r0, 4(r3) -/* 800899C4 00086924 B0 04 00 04 */ sth r0, 4(r4) -/* 800899C8 00086928 A8 03 00 06 */ lha r0, 6(r3) -/* 800899CC 0008692C 38 63 00 08 */ addi r3, r3, 8 -/* 800899D0 00086930 B0 04 00 06 */ sth r0, 6(r4) -/* 800899D4 00086934 38 84 00 08 */ addi r4, r4, 8 -/* 800899D8 00086938 7C 04 30 40 */ cmplw r4, r6 -/* 800899DC 0008693C 41 80 FF DC */ blt lbl_800899B8 -/* 800899E0 00086940 80 05 20 04 */ lwz r0, 0x2004(r5) -/* 800899E4 00086944 90 01 20 70 */ stw r0, 0x2070(r1) -/* 800899E8 00086948 A8 05 20 08 */ lha r0, 0x2008(r5) -/* 800899EC 0008694C B0 01 20 74 */ sth r0, 0x2074(r1) -/* 800899F0 00086950 7C 1D 03 78 */ mr r29, r0 -/* 800899F4 00086954 A8 05 20 0A */ lha r0, 0x200a(r5) -/* 800899F8 00086958 B0 01 20 76 */ sth r0, 0x2076(r1) -/* 800899FC 0008695C 48 00 01 14 */ b lbl_80089B10 -lbl_80089A00: -/* 80089A00 00086960 7F A4 EB 78 */ mr r4, r29 -/* 80089A04 00086964 38 61 00 6C */ addi r3, r1, 0x6c -/* 80089A08 00086968 4B F8 63 0D */ bl __vc__11CObjectListFi -/* 80089A0C 0008696C 7C 64 1B 78 */ mr r4, r3 -/* 80089A10 00086970 38 61 00 10 */ addi r3, r1, 0x10 -/* 80089A14 00086974 48 02 06 DD */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 80089A18 00086978 83 83 00 04 */ lwz r28, 4(r3) -/* 80089A1C 0008697C 28 1C 00 00 */ cmplwi r28, 0 -/* 80089A20 00086980 41 82 00 D0 */ beq lbl_80089AF0 -/* 80089A24 00086984 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80089A28 00086988 80 9C 00 04 */ lwz r4, 4(r28) -/* 80089A2C 0008698C 80 03 00 04 */ lwz r0, 4(r3) -/* 80089A30 00086990 7C 04 00 00 */ cmpw r4, r0 -/* 80089A34 00086994 40 82 00 BC */ bne lbl_80089AF0 -/* 80089A38 00086998 7F 84 E3 78 */ mr r4, r28 -/* 80089A3C 0008699C 38 61 00 54 */ addi r3, r1, 0x54 -/* 80089A40 000869A0 48 09 0E ED */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80089A44 000869A4 C0 5C 00 50 */ lfs f2, 0x50(r28) -/* 80089A48 000869A8 38 61 00 3C */ addi r3, r1, 0x3c -/* 80089A4C 000869AC C0 3C 00 60 */ lfs f1, 0x60(r28) -/* 80089A50 000869B0 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 80089A54 000869B4 EC 42 D8 28 */ fsubs f2, f2, f27 -/* 80089A58 000869B8 EC 21 D0 28 */ fsubs f1, f1, f26 -/* 80089A5C 000869BC EC 00 E0 28 */ fsubs f0, f0, f28 -/* 80089A60 000869C0 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80089A64 000869C4 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80089A68 000869C8 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80089A6C 000869CC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80089A70 000869D0 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80089A74 000869D4 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80089A78 000869D8 48 28 AE 41 */ bl Magnitude__9CVector3fCFv -/* 80089A7C 000869DC C0 7C 00 50 */ lfs f3, 0x50(r28) -/* 80089A80 000869E0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80089A84 000869E4 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 80089A88 000869E8 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 80089A8C 000869EC EC 63 F0 28 */ fsubs f3, f3, f30 -/* 80089A90 000869F0 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 80089A94 000869F4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80089A98 000869F8 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80089A9C 000869FC D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80089AA0 00086A00 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80089AA4 00086A04 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80089AA8 00086A08 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80089AAC 00086A0C D0 61 00 28 */ stfs f3, 0x28(r1) -/* 80089AB0 00086A10 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80089AB4 00086A14 48 28 AE 05 */ bl Magnitude__9CVector3fCFv -/* 80089AB8 00086A18 D0 21 00 08 */ stfs f1, 8(r1) -/* 80089ABC 00086A1C 38 61 00 0C */ addi r3, r1, 0xc -/* 80089AC0 00086A20 38 81 00 08 */ addi r4, r1, 8 -/* 80089AC4 00086A24 4B FF 43 1D */ bl "Min__5CMathFRCfRCf" -/* 80089AC8 00086A28 C0 23 00 00 */ lfs f1, 0(r3) -/* 80089ACC 00086A2C C0 02 8A 94 */ lfs f0, lbl_805AA7B4@sda21(r2) -/* 80089AD0 00086A30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80089AD4 00086A34 40 80 00 1C */ bge lbl_80089AF0 -/* 80089AD8 00086A38 C0 1E 03 E0 */ lfs f0, 0x3e0(r30) -/* 80089ADC 00086A3C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80089AE0 00086A40 40 80 00 10 */ bge lbl_80089AF0 -/* 80089AE4 00086A44 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80089AE8 00086A48 B0 1E 03 DC */ sth r0, 0x3dc(r30) -/* 80089AEC 00086A4C D0 3E 03 E0 */ stfs f1, 0x3e0(r30) -lbl_80089AF0: -/* 80089AF0 00086A50 2C 1D FF FF */ cmpwi r29, -1 -/* 80089AF4 00086A54 41 82 00 18 */ beq lbl_80089B0C -/* 80089AF8 00086A58 57 A4 18 38 */ slwi r4, r29, 3 -/* 80089AFC 00086A5C 38 61 00 6C */ addi r3, r1, 0x6c -/* 80089B00 00086A60 38 04 00 08 */ addi r0, r4, 8 -/* 80089B04 00086A64 7F A3 02 AE */ lhax r29, r3, r0 -/* 80089B08 00086A68 48 00 00 08 */ b lbl_80089B10 -lbl_80089B0C: -/* 80089B0C 00086A6C 3B A0 FF FF */ li r29, -1 -lbl_80089B10: -/* 80089B10 00086A70 2C 1D FF FF */ cmpwi r29, -1 -/* 80089B14 00086A74 40 82 FE EC */ bne lbl_80089A00 -/* 80089B18 00086A78 38 00 20 E8 */ li r0, 0x20e8 -/* 80089B1C 00086A7C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 -/* 80089B20 00086A80 CB E1 20 E0 */ lfd f31, 0x20e0(r1) -/* 80089B24 00086A84 38 00 20 D8 */ li r0, 0x20d8 -/* 80089B28 00086A88 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 -/* 80089B2C 00086A8C CB C1 20 D0 */ lfd f30, 0x20d0(r1) -/* 80089B30 00086A90 38 00 20 C8 */ li r0, 0x20c8 -/* 80089B34 00086A94 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 -/* 80089B38 00086A98 CB A1 20 C0 */ lfd f29, 0x20c0(r1) -/* 80089B3C 00086A9C 38 00 20 B8 */ li r0, 0x20b8 -/* 80089B40 00086AA0 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 -/* 80089B44 00086AA4 CB 81 20 B0 */ lfd f28, 0x20b0(r1) -/* 80089B48 00086AA8 38 00 20 A8 */ li r0, 0x20a8 -/* 80089B4C 00086AAC 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 -/* 80089B50 00086AB0 CB 61 20 A0 */ lfd f27, 0x20a0(r1) -/* 80089B54 00086AB4 38 00 20 98 */ li r0, 0x2098 -/* 80089B58 00086AB8 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 -/* 80089B5C 00086ABC CB 41 20 90 */ lfd f26, 0x2090(r1) -/* 80089B60 00086AC0 83 E1 20 8C */ lwz r31, 0x208c(r1) -/* 80089B64 00086AC4 83 C1 20 88 */ lwz r30, 0x2088(r1) -/* 80089B68 00086AC8 83 A1 20 84 */ lwz r29, 0x2084(r1) -/* 80089B6C 00086ACC 80 01 20 F4 */ lwz r0, 0x20f4(r1) -/* 80089B70 00086AD0 83 81 20 80 */ lwz r28, 0x2080(r1) -/* 80089B74 00086AD4 7C 08 03 A6 */ mtlr r0 -/* 80089B78 00086AD8 38 21 20 F0 */ addi r1, r1, 0x20f0 -/* 80089B7C 00086ADC 4E 80 00 20 */ blr - -.global UpdateLookDirection__11CBallCameraFRC9CVector3fR13CStateManager -UpdateLookDirection__11CBallCameraFRC9CVector3fR13CStateManager: -/* 80089B80 00086AE0 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80089B84 00086AE4 7C 08 02 A6 */ mflr r0 -/* 80089B88 00086AE8 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80089B8C 00086AEC 93 E1 00 AC */ stw r31, 0xac(r1) -/* 80089B90 00086AF0 7C DF 33 78 */ mr r31, r6 -/* 80089B94 00086AF4 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 80089B98 00086AF8 7C 9E 23 78 */ mr r30, r4 -/* 80089B9C 00086AFC 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 80089BA0 00086B00 7C 7D 1B 78 */ mr r29, r3 -/* 80089BA4 00086B04 7C A3 2B 78 */ mr r3, r5 -/* 80089BA8 00086B08 C0 45 00 00 */ lfs f2, 0(r5) -/* 80089BAC 00086B0C C0 25 00 04 */ lfs f1, 4(r5) -/* 80089BB0 00086B10 C0 05 00 08 */ lfs f0, 8(r5) -/* 80089BB4 00086B14 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80089BB8 00086B18 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80089BBC 00086B1C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80089BC0 00086B20 48 28 AB 39 */ bl CanBeNormalized__9CVector3fCFv -/* 80089BC4 00086B24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80089BC8 00086B28 40 82 00 18 */ bne lbl_80089BE0 -/* 80089BCC 00086B2C C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80089BD0 00086B30 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80089BD4 00086B34 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80089BD8 00086B38 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80089BDC 00086B3C D0 21 00 3C */ stfs f1, 0x3c(r1) -lbl_80089BE0: -/* 80089BE0 00086B40 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 80089BE4 00086B44 7F C3 F3 78 */ mr r3, r30 -/* 80089BE8 00086B48 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80089BEC 00086B4C 7F E6 FB 78 */ mr r6, r31 -/* 80089BF0 00086B50 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80089BF4 00086B54 38 81 00 08 */ addi r4, r1, 8 -/* 80089BF8 00086B58 38 A1 00 0C */ addi r5, r1, 0xc -/* 80089BFC 00086B5C C0 1E 01 A0 */ lfs f0, 0x1a0(r30) -/* 80089C00 00086B60 D0 01 00 08 */ stfs f0, 8(r1) -/* 80089C04 00086B64 4B FF FA C9 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -/* 80089C08 00086B68 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80089C0C 00086B6C 7F C4 F3 78 */ mr r4, r30 -/* 80089C10 00086B70 80 E1 00 38 */ lwz r7, 0x38(r1) -/* 80089C14 00086B74 7F E6 FB 78 */ mr r6, r31 -/* 80089C18 00086B78 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80089C1C 00086B7C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80089C20 00086B80 90 61 00 10 */ stw r3, 0x10(r1) -/* 80089C24 00086B84 38 61 00 1C */ addi r3, r1, 0x1c -/* 80089C28 00086B88 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80089C2C 00086B8C 90 E1 00 14 */ stw r7, 0x14(r1) -/* 80089C30 00086B90 38 E0 00 00 */ li r7, 0 -/* 80089C34 00086B94 C0 41 00 08 */ lfs f2, 8(r1) -/* 80089C38 00086B98 90 01 00 18 */ stw r0, 0x18(r1) -/* 80089C3C 00086B9C 48 00 00 79 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -/* 80089C40 00086BA0 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80089C44 00086BA4 7F C3 F3 78 */ mr r3, r30 -/* 80089C48 00086BA8 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80089C4C 00086BAC 7F E4 FB 78 */ mr r4, r31 -/* 80089C50 00086BB0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80089C54 00086BB4 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80089C58 00086BB8 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80089C5C 00086BBC D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80089C60 00086BC0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80089C64 00086BC4 4B FF 9E 01 */ bl UpdateLookAtPosition__11CBallCameraFfR13CStateManager -/* 80089C68 00086BC8 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 80089C6C 00086BCC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80089C70 00086BD0 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 80089C74 00086BD4 38 BE 01 D8 */ addi r5, r30, 0x1d8 -/* 80089C78 00086BD8 38 81 00 28 */ addi r4, r1, 0x28 -/* 80089C7C 00086BDC 48 28 9E 95 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80089C80 00086BE0 38 61 00 70 */ addi r3, r1, 0x70 -/* 80089C84 00086BE4 38 81 00 40 */ addi r4, r1, 0x40 -/* 80089C88 00086BE8 48 28 8E ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80089C8C 00086BEC 7F A3 EB 78 */ mr r3, r29 -/* 80089C90 00086BF0 38 81 00 70 */ addi r4, r1, 0x70 -/* 80089C94 00086BF4 48 28 8E E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80089C98 00086BF8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80089C9C 00086BFC 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80089CA0 00086C00 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80089CA4 00086C04 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80089CA8 00086C08 7C 08 03 A6 */ mtlr r0 -/* 80089CAC 00086C0C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80089CB0 00086C10 4E 80 00 20 */ blr - -.global FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb: -/* 80089CB4 00086C14 94 21 EA 10 */ stwu r1, -0x15f0(r1) -/* 80089CB8 00086C18 7C 08 02 A6 */ mflr r0 -/* 80089CBC 00086C1C 90 01 15 F4 */ stw r0, 0x15f4(r1) -/* 80089CC0 00086C20 38 00 15 E8 */ li r0, 0x15e8 -/* 80089CC4 00086C24 DB E1 15 E0 */ stfd f31, 0x15e0(r1) -/* 80089CC8 00086C28 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 -/* 80089CCC 00086C2C 38 00 15 D8 */ li r0, 0x15d8 -/* 80089CD0 00086C30 DB C1 15 D0 */ stfd f30, 0x15d0(r1) -/* 80089CD4 00086C34 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 -/* 80089CD8 00086C38 38 00 15 C8 */ li r0, 0x15c8 -/* 80089CDC 00086C3C DB A1 15 C0 */ stfd f29, 0x15c0(r1) -/* 80089CE0 00086C40 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 -/* 80089CE4 00086C44 38 00 15 B8 */ li r0, 0x15b8 -/* 80089CE8 00086C48 DB 81 15 B0 */ stfd f28, 0x15b0(r1) -/* 80089CEC 00086C4C 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 -/* 80089CF0 00086C50 38 00 15 A8 */ li r0, 0x15a8 -/* 80089CF4 00086C54 DB 61 15 A0 */ stfd f27, 0x15a0(r1) -/* 80089CF8 00086C58 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 -/* 80089CFC 00086C5C 38 00 15 98 */ li r0, 0x1598 -/* 80089D00 00086C60 DB 41 15 90 */ stfd f26, 0x1590(r1) -/* 80089D04 00086C64 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 -/* 80089D08 00086C68 38 00 15 88 */ li r0, 0x1588 -/* 80089D0C 00086C6C DB 21 15 80 */ stfd f25, 0x1580(r1) -/* 80089D10 00086C70 13 21 00 0E */ psq_stx f25, r1, r0, 0, qr0 -/* 80089D14 00086C74 38 00 15 78 */ li r0, 0x1578 -/* 80089D18 00086C78 DB 01 15 70 */ stfd f24, 0x1570(r1) -/* 80089D1C 00086C7C 13 01 00 0E */ psq_stx f24, r1, r0, 0, qr0 -/* 80089D20 00086C80 38 00 15 68 */ li r0, 0x1568 -/* 80089D24 00086C84 DA E1 15 60 */ stfd f23, 0x1560(r1) -/* 80089D28 00086C88 12 E1 00 0E */ psq_stx f23, r1, r0, 0, qr0 -/* 80089D2C 00086C8C BF 21 15 44 */ stmw r25, 0x1544(r1) -/* 80089D30 00086C90 7C 9D 23 78 */ mr r29, r4 -/* 80089D34 00086C94 FF 40 08 90 */ fmr f26, f1 -/* 80089D38 00086C98 A0 04 00 E8 */ lhz r0, 0xe8(r4) -/* 80089D3C 00086C9C FE E0 10 90 */ fmr f23, f2 -/* 80089D40 00086CA0 7C DF 33 78 */ mr r31, r6 -/* 80089D44 00086CA4 7C 7E 1B 78 */ mr r30, r3 -/* 80089D48 00086CA8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80089D4C 00086CAC 7C B9 2B 78 */ mr r25, r5 -/* 80089D50 00086CB0 7C FB 3B 78 */ mr r27, r7 -/* 80089D54 00086CB4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80089D58 00086CB8 7F E3 FB 78 */ mr r3, r31 -/* 80089D5C 00086CBC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80089D60 00086CC0 4B FC 28 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80089D64 00086CC4 7C 64 1B 78 */ mr r4, r3 -/* 80089D68 00086CC8 38 61 00 44 */ addi r3, r1, 0x44 -/* 80089D6C 00086CCC 48 02 26 29 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -/* 80089D70 00086CD0 83 43 00 04 */ lwz r26, 4(r3) -/* 80089D74 00086CD4 28 1A 00 00 */ cmplwi r26, 0 -/* 80089D78 00086CD8 40 82 00 18 */ bne lbl_80089D90 -/* 80089D7C 00086CDC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80089D80 00086CE0 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80089D84 00086CE4 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80089D88 00086CE8 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80089D8C 00086CEC 48 00 0B F0 */ b lbl_8008A97C -lbl_80089D90: -/* 80089D90 00086CF0 C0 59 00 00 */ lfs f2, 0(r25) -/* 80089D94 00086CF4 7F 23 CB 78 */ mr r3, r25 -/* 80089D98 00086CF8 C0 39 00 04 */ lfs f1, 4(r25) -/* 80089D9C 00086CFC C0 19 00 08 */ lfs f0, 8(r25) -/* 80089DA0 00086D00 D0 41 02 20 */ stfs f2, 0x220(r1) -/* 80089DA4 00086D04 D0 21 02 24 */ stfs f1, 0x224(r1) -/* 80089DA8 00086D08 D0 01 02 28 */ stfs f0, 0x228(r1) -/* 80089DAC 00086D0C 48 28 A9 4D */ bl CanBeNormalized__9CVector3fCFv -/* 80089DB0 00086D10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80089DB4 00086D14 40 82 00 18 */ bne lbl_80089DCC -/* 80089DB8 00086D18 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80089DBC 00086D1C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 80089DC0 00086D20 D0 21 02 20 */ stfs f1, 0x220(r1) -/* 80089DC4 00086D24 D0 01 02 24 */ stfs f0, 0x224(r1) -/* 80089DC8 00086D28 D0 21 02 28 */ stfs f1, 0x228(r1) -lbl_80089DCC: -/* 80089DCC 00086D2C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80089DD0 00086D30 3C A0 80 5A */ lis r5, lbl_805A66F4@ha -/* 80089DD4 00086D34 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80089DD8 00086D38 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l -/* 80089DDC 00086D3C 38 61 03 AC */ addi r3, r1, 0x3ac -/* 80089DE0 00086D40 38 A1 02 20 */ addi r5, r1, 0x220 -/* 80089DE4 00086D44 48 28 9D 2D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80089DE8 00086D48 38 61 04 FC */ addi r3, r1, 0x4fc -/* 80089DEC 00086D4C 38 81 03 AC */ addi r4, r1, 0x3ac -/* 80089DF0 00086D50 48 28 8D 85 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80089DF4 00086D54 7F 44 D3 78 */ mr r4, r26 -/* 80089DF8 00086D58 38 61 01 A8 */ addi r3, r1, 0x1a8 -/* 80089DFC 00086D5C 48 1F AF 4D */ bl GetBallPosition__7CPlayerCFv -/* 80089E00 00086D60 C0 21 01 A8 */ lfs f1, 0x1a8(r1) -/* 80089E04 00086D64 7F A3 EB 78 */ mr r3, r29 -/* 80089E08 00086D68 C0 41 01 AC */ lfs f2, 0x1ac(r1) -/* 80089E0C 00086D6C 7F E6 FB 78 */ mr r6, r31 -/* 80089E10 00086D70 C0 01 01 B0 */ lfs f0, 0x1b0(r1) -/* 80089E14 00086D74 38 81 00 2C */ addi r4, r1, 0x2c -/* 80089E18 00086D78 D0 21 02 14 */ stfs f1, 0x214(r1) -/* 80089E1C 00086D7C 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80089E20 00086D80 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 80089E24 00086D84 D0 41 02 18 */ stfs f2, 0x218(r1) -/* 80089E28 00086D88 D0 01 02 1C */ stfs f0, 0x21c(r1) -/* 80089E2C 00086D8C D3 41 00 30 */ stfs f26, 0x30(r1) -/* 80089E30 00086D90 D2 E1 00 2C */ stfs f23, 0x2c(r1) -/* 80089E34 00086D94 4B FF F8 99 */ bl ConstrainElevationAndDistance__11CBallCameraFRfRffR13CStateManager -/* 80089E38 00086D98 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80089E3C 00086D9C 38 61 01 9C */ addi r3, r1, 0x19c -/* 80089E40 00086DA0 48 1F AF 3D */ bl GetEyePosition__7CPlayerCFv -/* 80089E44 00086DA4 C0 41 01 9C */ lfs f2, 0x19c(r1) -/* 80089E48 00086DA8 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 80089E4C 00086DAC C0 21 01 A0 */ lfs f1, 0x1a0(r1) -/* 80089E50 00086DB0 38 C3 C4 08 */ addi r6, r3, lbl_8046C408@l -/* 80089E54 00086DB4 C0 01 01 A4 */ lfs f0, 0x1a4(r1) -/* 80089E58 00086DB8 7F E3 FB 78 */ mr r3, r31 -/* 80089E5C 00086DBC D0 41 02 08 */ stfs f2, 0x208(r1) -/* 80089E60 00086DC0 38 81 02 14 */ addi r4, r1, 0x214 -/* 80089E64 00086DC4 38 A1 02 08 */ addi r5, r1, 0x208 -/* 80089E68 00086DC8 38 E0 00 00 */ li r7, 0 -/* 80089E6C 00086DCC D0 21 02 0C */ stfs f1, 0x20c(r1) -/* 80089E70 00086DD0 D0 01 02 10 */ stfs f0, 0x210(r1) -/* 80089E74 00086DD4 4B FC 2F C9 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor -/* 80089E78 00086DD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80089E7C 00086DDC 40 82 00 1C */ bne lbl_80089E98 -/* 80089E80 00086DE0 C0 41 02 14 */ lfs f2, 0x214(r1) -/* 80089E84 00086DE4 C0 21 02 18 */ lfs f1, 0x218(r1) -/* 80089E88 00086DE8 C0 01 02 1C */ lfs f0, 0x21c(r1) -/* 80089E8C 00086DEC D0 41 02 08 */ stfs f2, 0x208(r1) -/* 80089E90 00086DF0 D0 21 02 0C */ stfs f1, 0x20c(r1) -/* 80089E94 00086DF4 D0 01 02 10 */ stfs f0, 0x210(r1) -lbl_80089E98: -/* 80089E98 00086DF8 C0 21 02 10 */ lfs f1, 0x210(r1) -/* 80089E9C 00086DFC 38 61 03 7C */ addi r3, r1, 0x37c -/* 80089EA0 00086E00 C0 01 02 1C */ lfs f0, 0x21c(r1) -/* 80089EA4 00086E04 38 81 04 FC */ addi r4, r1, 0x4fc -/* 80089EA8 00086E08 C0 61 00 30 */ lfs f3, 0x30(r1) -/* 80089EAC 00086E0C C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 80089EB0 00086E10 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80089EB4 00086E14 FC 20 18 50 */ fneg f1, f3 -/* 80089EB8 00086E18 C0 62 89 B0 */ lfs f3, lbl_805AA6D0@sda21(r2) -/* 80089EBC 00086E1C D0 41 02 04 */ stfs f2, 0x204(r1) -/* 80089EC0 00086E20 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80089EC4 00086E24 D0 61 01 FC */ stfs f3, 0x1fc(r1) -/* 80089EC8 00086E28 D0 21 02 00 */ stfs f1, 0x200(r1) -/* 80089ECC 00086E2C D0 01 02 04 */ stfs f0, 0x204(r1) -/* 80089ED0 00086E30 48 28 8D 71 */ bl GetRotation__12CTransform4fCFv -/* 80089ED4 00086E34 38 61 01 90 */ addi r3, r1, 0x190 -/* 80089ED8 00086E38 38 81 03 7C */ addi r4, r1, 0x37c -/* 80089EDC 00086E3C 38 A1 01 FC */ addi r5, r1, 0x1fc -/* 80089EE0 00086E40 48 28 8C 09 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80089EE4 00086E44 C0 21 02 10 */ lfs f1, 0x210(r1) -/* 80089EE8 00086E48 FF A0 D0 90 */ fmr f29, f26 -/* 80089EEC 00086E4C C0 01 02 1C */ lfs f0, 0x21c(r1) -/* 80089EF0 00086E50 38 61 01 FC */ addi r3, r1, 0x1fc -/* 80089EF4 00086E54 C0 61 01 90 */ lfs f3, 0x190(r1) -/* 80089EF8 00086E58 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80089EFC 00086E5C C3 81 00 2C */ lfs f28, 0x2c(r1) -/* 80089F00 00086E60 C0 41 01 94 */ lfs f2, 0x194(r1) -/* 80089F04 00086E64 C0 21 01 98 */ lfs f1, 0x198(r1) -/* 80089F08 00086E68 EF 9C 00 28 */ fsubs f28, f28, f0 -/* 80089F0C 00086E6C D0 61 01 FC */ stfs f3, 0x1fc(r1) -/* 80089F10 00086E70 C3 C2 89 B0 */ lfs f30, lbl_805AA6D0@sda21(r2) -/* 80089F14 00086E74 D0 41 02 00 */ stfs f2, 0x200(r1) -/* 80089F18 00086E78 C3 61 00 30 */ lfs f27, 0x30(r1) -/* 80089F1C 00086E7C D0 21 02 04 */ stfs f1, 0x204(r1) -/* 80089F20 00086E80 48 28 A9 99 */ bl Magnitude__9CVector3fCFv -/* 80089F24 00086E84 C0 81 02 0C */ lfs f4, 0x20c(r1) -/* 80089F28 00086E88 7F E6 FB 78 */ mr r6, r31 -/* 80089F2C 00086E8C C0 61 02 00 */ lfs f3, 0x200(r1) -/* 80089F30 00086E90 38 61 02 08 */ addi r3, r1, 0x208 -/* 80089F34 00086E94 C0 41 02 10 */ lfs f2, 0x210(r1) -/* 80089F38 00086E98 38 81 01 84 */ addi r4, r1, 0x184 -/* 80089F3C 00086E9C C0 01 02 04 */ lfs f0, 0x204(r1) -/* 80089F40 00086EA0 EC 84 18 2A */ fadds f4, f4, f3 -/* 80089F44 00086EA4 C0 62 8A 98 */ lfs f3, lbl_805AA7B8@sda21(r2) -/* 80089F48 00086EA8 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80089F4C 00086EAC EC 42 00 2A */ fadds f2, f2, f0 -/* 80089F50 00086EB0 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80089F54 00086EB4 C0 21 02 08 */ lfs f1, 0x208(r1) -/* 80089F58 00086EB8 C0 01 01 FC */ lfs f0, 0x1fc(r1) -/* 80089F5C 00086EBC D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80089F60 00086EC0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80089F64 00086EC4 C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) -/* 80089F68 00086EC8 D0 81 01 88 */ stfs f4, 0x188(r1) -/* 80089F6C 00086ECC D0 01 01 84 */ stfs f0, 0x184(r1) -/* 80089F70 00086ED0 D0 41 01 8C */ stfs f2, 0x18c(r1) -/* 80089F74 00086ED4 48 00 0A 89 */ bl DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager -/* 80089F78 00086ED8 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80089F7C 00086EDC 3B 80 00 00 */ li r28, 0 -/* 80089F80 00086EE0 7C 03 00 34 */ cntlzw r3, r0 -/* 80089F84 00086EE4 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 80089F88 00086EE8 54 7A D9 7E */ srwi r26, r3, 5 -/* 80089F8C 00086EEC 40 82 03 54 */ bne lbl_8008A2E0 -/* 80089F90 00086EF0 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80089F94 00086EF4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 80089F98 00086EF8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80089F9C 00086EFC 4C 40 13 82 */ cror 2, 0, 2 -/* 80089FA0 00086F00 40 82 03 40 */ bne lbl_8008A2E0 -/* 80089FA4 00086F04 C0 21 02 14 */ lfs f1, 0x214(r1) -/* 80089FA8 00086F08 38 00 00 00 */ li r0, 0 -/* 80089FAC 00086F0C C0 A1 02 18 */ lfs f5, 0x218(r1) -/* 80089FB0 00086F10 7F E3 FB 78 */ mr r3, r31 -/* 80089FB4 00086F14 C0 C1 02 1C */ lfs f6, 0x21c(r1) -/* 80089FB8 00086F18 EC 81 D0 28 */ fsubs f4, f1, f26 -/* 80089FBC 00086F1C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80089FC0 00086F20 EC 65 D0 28 */ fsubs f3, f5, f26 -/* 80089FC4 00086F24 EC 5A 08 2A */ fadds f2, f26, f1 -/* 80089FC8 00086F28 D0 C1 02 4C */ stfs f6, 0x24c(r1) -/* 80089FCC 00086F2C EC 3A 28 2A */ fadds f1, f26, f5 -/* 80089FD0 00086F30 EC 00 30 2A */ fadds f0, f0, f6 -/* 80089FD4 00086F34 D0 81 02 44 */ stfs f4, 0x244(r1) -/* 80089FD8 00086F38 38 81 00 0C */ addi r4, r1, 0xc -/* 80089FDC 00086F3C D0 61 02 48 */ stfs f3, 0x248(r1) -/* 80089FE0 00086F40 D0 41 02 50 */ stfs f2, 0x250(r1) -/* 80089FE4 00086F44 D0 21 02 54 */ stfs f1, 0x254(r1) -/* 80089FE8 00086F48 D0 01 02 58 */ stfs f0, 0x258(r1) -/* 80089FEC 00086F4C 90 01 0D 30 */ stw r0, 0xd30(r1) -/* 80089FF0 00086F50 A0 1D 04 6C */ lhz r0, 0x46c(r29) -/* 80089FF4 00086F54 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80089FF8 00086F58 4B FC 25 AD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80089FFC 00086F5C 7C 64 1B 78 */ mr r4, r3 -/* 8008A000 00086F60 38 61 00 3C */ addi r3, r1, 0x3c -/* 8008A004 00086F64 48 02 5C 8D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8008A008 00086F68 3C 80 80 47 */ lis r4, lbl_8046C408@ha -/* 8008A00C 00086F6C 80 E3 00 04 */ lwz r7, 4(r3) -/* 8008A010 00086F70 38 C4 C4 08 */ addi r6, r4, lbl_8046C408@l -/* 8008A014 00086F74 7F E3 FB 78 */ mr r3, r31 -/* 8008A018 00086F78 38 81 0D 30 */ addi r4, r1, 0xd30 -/* 8008A01C 00086F7C 38 A1 02 44 */ addi r5, r1, 0x244 -/* 8008A020 00086F80 4B FC 27 01 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8008A024 00086F84 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8008A028 00086F88 38 61 01 74 */ addi r3, r1, 0x174 -/* 8008A02C 00086F8C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8008A030 00086F90 FC 00 00 50 */ fneg f0, f0 -/* 8008A034 00086F94 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8008A038 00086F98 48 28 70 C1 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8008A03C 00086F9C 38 61 03 4C */ addi r3, r1, 0x34c -/* 8008A040 00086FA0 38 81 01 74 */ addi r4, r1, 0x174 -/* 8008A044 00086FA4 48 28 7F 75 */ bl BuildTransform4f__11CQuaternionCFv -/* 8008A048 00086FA8 38 61 04 CC */ addi r3, r1, 0x4cc -/* 8008A04C 00086FAC 38 81 03 4C */ addi r4, r1, 0x34c -/* 8008A050 00086FB0 48 28 8B 25 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008A054 00086FB4 38 61 01 64 */ addi r3, r1, 0x164 -/* 8008A058 00086FB8 38 81 00 24 */ addi r4, r1, 0x24 -/* 8008A05C 00086FBC 48 28 70 9D */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8008A060 00086FC0 38 61 03 1C */ addi r3, r1, 0x31c -/* 8008A064 00086FC4 38 81 01 64 */ addi r4, r1, 0x164 -/* 8008A068 00086FC8 48 28 7F 51 */ bl BuildTransform4f__11CQuaternionCFv -/* 8008A06C 00086FCC 38 61 04 9C */ addi r3, r1, 0x49c -/* 8008A070 00086FD0 38 81 03 1C */ addi r4, r1, 0x31c -/* 8008A074 00086FD4 48 28 8B 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008A078 00086FD8 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 8008A07C 00086FDC CB 42 89 C8 */ lfd f26, lbl_805AA6E8@sda21(r2) -/* 8008A080 00086FE0 C3 22 8A 9C */ lfs f25, lbl_805AA7BC@sda21(r2) -/* 8008A084 00086FE4 3B 63 C4 08 */ addi r27, r3, lbl_8046C408@l -/* 8008A088 00086FE8 C3 02 8A A0 */ lfs f24, lbl_805AA7C0@sda21(r2) -/* 8008A08C 00086FEC 3F 40 43 30 */ lis r26, 0x4330 -/* 8008A090 00086FF0 C2 E2 89 C4 */ lfs f23, lbl_805AA6E4@sda21(r2) -/* 8008A094 00086FF4 48 00 01 E0 */ b lbl_8008A274 -lbl_8008A098: -/* 8008A098 00086FF8 38 61 01 FC */ addi r3, r1, 0x1fc -/* 8008A09C 00086FFC 48 28 A8 5D */ bl Normalize__9CVector3fFv -/* 8008A0A0 00087000 C0 43 00 04 */ lfs f2, 4(r3) -/* 8008A0A4 00087004 38 81 04 CC */ addi r4, r1, 0x4cc -/* 8008A0A8 00087008 C0 23 00 08 */ lfs f1, 8(r3) -/* 8008A0AC 0008700C 38 A1 01 FC */ addi r5, r1, 0x1fc -/* 8008A0B0 00087010 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008A0B4 00087014 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8008A0B8 00087018 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8008A0BC 0008701C 38 61 01 58 */ addi r3, r1, 0x158 -/* 8008A0C0 00087020 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8008A0C4 00087024 D0 41 02 00 */ stfs f2, 0x200(r1) -/* 8008A0C8 00087028 D0 01 01 FC */ stfs f0, 0x1fc(r1) -/* 8008A0CC 0008702C D0 21 02 04 */ stfs f1, 0x204(r1) -/* 8008A0D0 00087030 48 28 89 B1 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8008A0D4 00087034 C0 41 01 58 */ lfs f2, 0x158(r1) -/* 8008A0D8 00087038 38 61 01 4C */ addi r3, r1, 0x14c -/* 8008A0DC 0008703C C0 21 01 5C */ lfs f1, 0x15c(r1) -/* 8008A0E0 00087040 38 81 04 9C */ addi r4, r1, 0x49c -/* 8008A0E4 00087044 C0 01 01 60 */ lfs f0, 0x160(r1) -/* 8008A0E8 00087048 38 A1 01 FC */ addi r5, r1, 0x1fc -/* 8008A0EC 0008704C D0 41 01 F0 */ stfs f2, 0x1f0(r1) -/* 8008A0F0 00087050 D0 21 01 F4 */ stfs f1, 0x1f4(r1) -/* 8008A0F4 00087054 D0 01 01 F8 */ stfs f0, 0x1f8(r1) -/* 8008A0F8 00087058 48 28 89 89 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8008A0FC 0008705C C0 41 01 4C */ lfs f2, 0x14c(r1) -/* 8008A100 00087060 3B 20 00 00 */ li r25, 0 -/* 8008A104 00087064 C0 21 01 50 */ lfs f1, 0x150(r1) -/* 8008A108 00087068 C0 01 01 54 */ lfs f0, 0x154(r1) -/* 8008A10C 0008706C D0 41 01 E4 */ stfs f2, 0x1e4(r1) -/* 8008A110 00087070 D0 21 01 E8 */ stfs f1, 0x1e8(r1) -/* 8008A114 00087074 D0 01 01 EC */ stfs f0, 0x1ec(r1) -/* 8008A118 00087078 48 00 01 28 */ b lbl_8008A240 -lbl_8008A11C: -/* 8008A11C 0008707C C0 21 02 0C */ lfs f1, 0x20c(r1) -/* 8008A120 00087080 7F E3 FB 78 */ mr r3, r31 -/* 8008A124 00087084 C0 01 01 F4 */ lfs f0, 0x1f4(r1) -/* 8008A128 00087088 7F 67 DB 78 */ mr r7, r27 -/* 8008A12C 0008708C C0 61 02 10 */ lfs f3, 0x210(r1) -/* 8008A130 00087090 38 81 02 08 */ addi r4, r1, 0x208 -/* 8008A134 00087094 C0 41 01 F8 */ lfs f2, 0x1f8(r1) -/* 8008A138 00087098 EC 81 00 2A */ fadds f4, f1, f0 -/* 8008A13C 0008709C C0 21 02 08 */ lfs f1, 0x208(r1) -/* 8008A140 000870A0 38 A1 01 40 */ addi r5, r1, 0x140 -/* 8008A144 000870A4 C0 01 01 F0 */ lfs f0, 0x1f0(r1) -/* 8008A148 000870A8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8008A14C 000870AC D0 81 01 44 */ stfs f4, 0x144(r1) -/* 8008A150 000870B0 EC 01 00 2A */ fadds f0, f1, f0 -/* 8008A154 000870B4 38 C1 0D 30 */ addi r6, r1, 0xd30 -/* 8008A158 000870B8 D0 41 01 48 */ stfs f2, 0x148(r1) -/* 8008A15C 000870BC 39 00 00 00 */ li r8, 0 -/* 8008A160 000870C0 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 8008A164 000870C4 4B FC 2E 09 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -/* 8008A168 000870C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008A16C 000870CC 41 82 00 18 */ beq lbl_8008A184 -/* 8008A170 000870D0 C3 C1 01 F0 */ lfs f30, 0x1f0(r1) -/* 8008A174 000870D4 3B 80 00 01 */ li r28, 1 -/* 8008A178 000870D8 C3 A1 01 F4 */ lfs f29, 0x1f4(r1) -/* 8008A17C 000870DC C3 81 01 F8 */ lfs f28, 0x1f8(r1) -/* 8008A180 000870E0 48 00 00 E8 */ b lbl_8008A268 -lbl_8008A184: -/* 8008A184 000870E4 C0 21 02 0C */ lfs f1, 0x20c(r1) -/* 8008A188 000870E8 7F E3 FB 78 */ mr r3, r31 -/* 8008A18C 000870EC C0 01 01 E8 */ lfs f0, 0x1e8(r1) -/* 8008A190 000870F0 7F 67 DB 78 */ mr r7, r27 -/* 8008A194 000870F4 C0 61 02 10 */ lfs f3, 0x210(r1) -/* 8008A198 000870F8 38 81 02 08 */ addi r4, r1, 0x208 -/* 8008A19C 000870FC C0 41 01 EC */ lfs f2, 0x1ec(r1) -/* 8008A1A0 00087100 EC 81 00 2A */ fadds f4, f1, f0 -/* 8008A1A4 00087104 C0 21 02 08 */ lfs f1, 0x208(r1) -/* 8008A1A8 00087108 38 A1 01 34 */ addi r5, r1, 0x134 -/* 8008A1AC 0008710C C0 01 01 E4 */ lfs f0, 0x1e4(r1) -/* 8008A1B0 00087110 EC 43 10 2A */ fadds f2, f3, f2 -/* 8008A1B4 00087114 D0 81 01 38 */ stfs f4, 0x138(r1) -/* 8008A1B8 00087118 EC 01 00 2A */ fadds f0, f1, f0 -/* 8008A1BC 0008711C 38 C1 0D 30 */ addi r6, r1, 0xd30 -/* 8008A1C0 00087120 D0 41 01 3C */ stfs f2, 0x13c(r1) -/* 8008A1C4 00087124 39 00 00 00 */ li r8, 0 -/* 8008A1C8 00087128 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 8008A1CC 0008712C 4B FC 2D A1 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -/* 8008A1D0 00087130 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008A1D4 00087134 41 82 00 18 */ beq lbl_8008A1EC -/* 8008A1D8 00087138 C3 C1 01 E4 */ lfs f30, 0x1e4(r1) -/* 8008A1DC 0008713C 3B 80 00 01 */ li r28, 1 -/* 8008A1E0 00087140 C3 A1 01 E8 */ lfs f29, 0x1e8(r1) -/* 8008A1E4 00087144 C3 81 01 EC */ lfs f28, 0x1ec(r1) -/* 8008A1E8 00087148 48 00 00 80 */ b lbl_8008A268 -lbl_8008A1EC: -/* 8008A1EC 0008714C 38 61 01 28 */ addi r3, r1, 0x128 -/* 8008A1F0 00087150 38 81 04 CC */ addi r4, r1, 0x4cc -/* 8008A1F4 00087154 38 A1 01 F0 */ addi r5, r1, 0x1f0 -/* 8008A1F8 00087158 48 28 88 F1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8008A1FC 0008715C C0 41 01 28 */ lfs f2, 0x128(r1) -/* 8008A200 00087160 38 61 01 1C */ addi r3, r1, 0x11c -/* 8008A204 00087164 C0 21 01 2C */ lfs f1, 0x12c(r1) -/* 8008A208 00087168 38 81 04 9C */ addi r4, r1, 0x49c -/* 8008A20C 0008716C C0 01 01 30 */ lfs f0, 0x130(r1) -/* 8008A210 00087170 38 A1 01 E4 */ addi r5, r1, 0x1e4 -/* 8008A214 00087174 D0 41 01 F0 */ stfs f2, 0x1f0(r1) -/* 8008A218 00087178 D0 21 01 F4 */ stfs f1, 0x1f4(r1) -/* 8008A21C 0008717C D0 01 01 F8 */ stfs f0, 0x1f8(r1) -/* 8008A220 00087180 48 28 88 C9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8008A224 00087184 C0 41 01 1C */ lfs f2, 0x11c(r1) -/* 8008A228 00087188 3B 39 00 01 */ addi r25, r25, 1 -/* 8008A22C 0008718C C0 21 01 20 */ lfs f1, 0x120(r1) -/* 8008A230 00087190 C0 01 01 24 */ lfs f0, 0x124(r1) -/* 8008A234 00087194 D0 41 01 E4 */ stfs f2, 0x1e4(r1) -/* 8008A238 00087198 D0 21 01 E8 */ stfs f1, 0x1e8(r1) -/* 8008A23C 0008719C D0 01 01 EC */ stfs f0, 0x1ec(r1) -lbl_8008A240: -/* 8008A240 000871A0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8008A244 000871A4 6F 20 80 00 */ xoris r0, r25, 0x8000 -/* 8008A248 000871A8 90 01 15 3C */ stw r0, 0x153c(r1) -/* 8008A24C 000871AC EC 18 00 32 */ fmuls f0, f24, f0 -/* 8008A250 000871B0 93 41 15 38 */ stw r26, 0x1538(r1) -/* 8008A254 000871B4 EC 19 00 24 */ fdivs f0, f25, f0 -/* 8008A258 000871B8 C8 21 15 38 */ lfd f1, 0x1538(r1) -/* 8008A25C 000871BC EC 21 D0 28 */ fsubs f1, f1, f26 -/* 8008A260 000871C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008A264 000871C4 41 80 FE B8 */ blt lbl_8008A11C -lbl_8008A268: -/* 8008A268 000871C8 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8008A26C 000871CC EC 00 B8 28 */ fsubs f0, f0, f23 -/* 8008A270 000871D0 D0 01 00 28 */ stfs f0, 0x28(r1) -lbl_8008A274: -/* 8008A274 000871D4 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8008A278 000871D8 40 82 00 10 */ bne lbl_8008A288 -/* 8008A27C 000871DC C3 E1 00 28 */ lfs f31, 0x28(r1) -/* 8008A280 000871E0 FC 1F D8 40 */ fcmpo cr0, f31, f27 -/* 8008A284 000871E4 41 81 FE 14 */ bgt lbl_8008A098 -lbl_8008A288: -/* 8008A288 000871E8 80 A1 0D 30 */ lwz r5, 0xd30(r1) -/* 8008A28C 000871EC 38 60 00 00 */ li r3, 0 -/* 8008A290 000871F0 2C 05 00 00 */ cmpwi r5, 0 -/* 8008A294 000871F4 40 81 00 40 */ ble lbl_8008A2D4 -/* 8008A298 000871F8 2C 05 00 08 */ cmpwi r5, 8 -/* 8008A29C 000871FC 38 85 FF F8 */ addi r4, r5, -8 -/* 8008A2A0 00087200 40 81 00 20 */ ble lbl_8008A2C0 -/* 8008A2A4 00087204 38 04 00 07 */ addi r0, r4, 7 -/* 8008A2A8 00087208 54 00 E8 FE */ srwi r0, r0, 3 -/* 8008A2AC 0008720C 7C 09 03 A6 */ mtctr r0 -/* 8008A2B0 00087210 2C 04 00 00 */ cmpwi r4, 0 -/* 8008A2B4 00087214 40 81 00 0C */ ble lbl_8008A2C0 -lbl_8008A2B8: -/* 8008A2B8 00087218 38 63 00 08 */ addi r3, r3, 8 -/* 8008A2BC 0008721C 42 00 FF FC */ bdnz lbl_8008A2B8 -lbl_8008A2C0: -/* 8008A2C0 00087220 7C 03 28 50 */ subf r0, r3, r5 -/* 8008A2C4 00087224 7C 09 03 A6 */ mtctr r0 -/* 8008A2C8 00087228 7C 03 28 00 */ cmpw r3, r5 -/* 8008A2CC 0008722C 40 80 00 08 */ bge lbl_8008A2D4 -lbl_8008A2D0: -/* 8008A2D0 00087230 42 00 00 00 */ bdnz lbl_8008A2D0 -lbl_8008A2D4: -/* 8008A2D4 00087234 38 00 00 00 */ li r0, 0 -/* 8008A2D8 00087238 90 01 0D 30 */ stw r0, 0xd30(r1) -/* 8008A2DC 0008723C 48 00 06 58 */ b lbl_8008A934 -lbl_8008A2E0: -/* 8008A2E0 00087240 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8008A2E4 00087244 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008A2E8 00087248 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008A2EC 0008724C 40 80 00 38 */ bge lbl_8008A324 -/* 8008A2F0 00087250 38 61 01 FC */ addi r3, r1, 0x1fc -/* 8008A2F4 00087254 48 28 A6 05 */ bl Normalize__9CVector3fFv -/* 8008A2F8 00087258 C0 62 89 E0 */ lfs f3, lbl_805AA700@sda21(r2) -/* 8008A2FC 0008725C C0 43 00 04 */ lfs f2, 4(r3) -/* 8008A300 00087260 C0 23 00 08 */ lfs f1, 8(r3) -/* 8008A304 00087264 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008A308 00087268 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8008A30C 0008726C EC 23 00 72 */ fmuls f1, f3, f1 -/* 8008A310 00087270 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8008A314 00087274 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8008A318 00087278 D0 41 02 00 */ stfs f2, 0x200(r1) -/* 8008A31C 0008727C D0 01 01 FC */ stfs f0, 0x1fc(r1) -/* 8008A320 00087280 D0 21 02 04 */ stfs f1, 0x204(r1) -lbl_8008A324: -/* 8008A324 00087284 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8008A328 00087288 38 61 01 0C */ addi r3, r1, 0x10c -/* 8008A32C 0008728C 38 81 00 1C */ addi r4, r1, 0x1c -/* 8008A330 00087290 FC 00 00 50 */ fneg f0, f0 -/* 8008A334 00087294 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8008A338 00087298 48 28 6D C1 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8008A33C 0008729C 38 61 02 EC */ addi r3, r1, 0x2ec -/* 8008A340 000872A0 38 81 01 0C */ addi r4, r1, 0x10c -/* 8008A344 000872A4 48 28 7C 75 */ bl BuildTransform4f__11CQuaternionCFv -/* 8008A348 000872A8 38 61 04 6C */ addi r3, r1, 0x46c -/* 8008A34C 000872AC 38 81 02 EC */ addi r4, r1, 0x2ec -/* 8008A350 000872B0 48 28 88 25 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008A354 000872B4 38 61 01 00 */ addi r3, r1, 0x100 -/* 8008A358 000872B8 38 81 04 6C */ addi r4, r1, 0x46c -/* 8008A35C 000872BC 38 A1 01 FC */ addi r5, r1, 0x1fc -/* 8008A360 000872C0 48 28 87 21 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8008A364 000872C4 C0 41 01 00 */ lfs f2, 0x100(r1) -/* 8008A368 000872C8 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8008A36C 000872CC C0 21 01 04 */ lfs f1, 0x104(r1) -/* 8008A370 000872D0 38 81 00 24 */ addi r4, r1, 0x24 -/* 8008A374 000872D4 C0 01 01 08 */ lfs f0, 0x108(r1) -/* 8008A378 000872D8 D0 41 01 D8 */ stfs f2, 0x1d8(r1) -/* 8008A37C 000872DC D0 21 01 DC */ stfs f1, 0x1dc(r1) -/* 8008A380 000872E0 D0 01 01 E0 */ stfs f0, 0x1e0(r1) -/* 8008A384 000872E4 48 28 6D 75 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8008A388 000872E8 38 61 02 BC */ addi r3, r1, 0x2bc -/* 8008A38C 000872EC 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 8008A390 000872F0 48 28 7C 29 */ bl BuildTransform4f__11CQuaternionCFv -/* 8008A394 000872F4 38 61 04 3C */ addi r3, r1, 0x43c -/* 8008A398 000872F8 38 81 02 BC */ addi r4, r1, 0x2bc -/* 8008A39C 000872FC 48 28 87 D9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008A3A0 00087300 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8008A3A4 00087304 38 81 04 3C */ addi r4, r1, 0x43c -/* 8008A3A8 00087308 38 A1 01 FC */ addi r5, r1, 0x1fc -/* 8008A3AC 0008730C 48 28 86 D5 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8008A3B0 00087310 C0 41 00 E4 */ lfs f2, 0xe4(r1) -/* 8008A3B4 00087314 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8008A3B8 00087318 C0 21 00 E8 */ lfs f1, 0xe8(r1) -/* 8008A3BC 0008731C C0 01 00 EC */ lfs f0, 0xec(r1) -/* 8008A3C0 00087320 D0 41 01 CC */ stfs f2, 0x1cc(r1) -/* 8008A3C4 00087324 D0 21 01 D0 */ stfs f1, 0x1d0(r1) -/* 8008A3C8 00087328 D0 01 01 D4 */ stfs f0, 0x1d4(r1) -/* 8008A3CC 0008732C 40 82 00 2C */ bne lbl_8008A3F8 -/* 8008A3D0 00087330 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8008A3D4 00087334 40 82 00 50 */ bne lbl_8008A424 -/* 8008A3D8 00087338 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8008A3DC 0008733C C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008A3E0 00087340 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008A3E4 00087344 41 81 00 14 */ bgt lbl_8008A3F8 -/* 8008A3E8 00087348 C0 3D 02 E8 */ lfs f1, 0x2e8(r29) -/* 8008A3EC 0008734C C0 02 8A 60 */ lfs f0, lbl_805AA780@sda21(r2) -/* 8008A3F0 00087350 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008A3F4 00087354 40 81 00 30 */ ble lbl_8008A424 -lbl_8008A3F8: -/* 8008A3F8 00087358 C2 E1 00 28 */ lfs f23, 0x28(r1) -/* 8008A3FC 0008735C 38 61 01 FC */ addi r3, r1, 0x1fc -/* 8008A400 00087360 48 28 A4 F9 */ bl Normalize__9CVector3fFv -/* 8008A404 00087364 C0 43 00 00 */ lfs f2, 0(r3) -/* 8008A408 00087368 3B 80 00 01 */ li r28, 1 -/* 8008A40C 0008736C C0 23 00 04 */ lfs f1, 4(r3) -/* 8008A410 00087370 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008A414 00087374 EF D7 00 B2 */ fmuls f30, f23, f2 -/* 8008A418 00087378 EF B7 00 72 */ fmuls f29, f23, f1 -/* 8008A41C 0008737C EF 97 00 32 */ fmuls f28, f23, f0 -/* 8008A420 00087380 48 00 05 14 */ b lbl_8008A934 -lbl_8008A424: -/* 8008A424 00087384 C3 E2 89 E0 */ lfs f31, lbl_805AA700@sda21(r2) -/* 8008A428 00087388 3B 20 00 00 */ li r25, 0 -/* 8008A42C 0008738C CA E2 89 C8 */ lfd f23, lbl_805AA6E8@sda21(r2) -/* 8008A430 00087390 3F 40 43 30 */ lis r26, 0x4330 -/* 8008A434 00087394 C3 22 8A 9C */ lfs f25, lbl_805AA7BC@sda21(r2) -/* 8008A438 00087398 C3 02 8A A0 */ lfs f24, lbl_805AA7C0@sda21(r2) -/* 8008A43C 0008739C 48 00 01 90 */ b lbl_8008A5CC -lbl_8008A440: -/* 8008A440 000873A0 38 61 01 D8 */ addi r3, r1, 0x1d8 -/* 8008A444 000873A4 48 28 A4 75 */ bl Magnitude__9CVector3fCFv -/* 8008A448 000873A8 C0 41 02 0C */ lfs f2, 0x20c(r1) -/* 8008A44C 000873AC 7F E6 FB 78 */ mr r6, r31 -/* 8008A450 000873B0 C0 01 01 DC */ lfs f0, 0x1dc(r1) -/* 8008A454 000873B4 38 61 02 08 */ addi r3, r1, 0x208 -/* 8008A458 000873B8 C0 81 02 10 */ lfs f4, 0x210(r1) -/* 8008A45C 000873BC 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8008A460 000873C0 C0 61 01 E0 */ lfs f3, 0x1e0(r1) -/* 8008A464 000873C4 EC A2 00 2A */ fadds f5, f2, f0 -/* 8008A468 000873C8 C0 41 02 08 */ lfs f2, 0x208(r1) -/* 8008A46C 000873CC 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8008A470 000873D0 C0 01 01 D8 */ lfs f0, 0x1d8(r1) -/* 8008A474 000873D4 EC 64 18 2A */ fadds f3, f4, f3 -/* 8008A478 000873D8 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8008A47C 000873DC EC 02 00 2A */ fadds f0, f2, f0 -/* 8008A480 000873E0 C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) -/* 8008A484 000873E4 D0 A1 00 DC */ stfs f5, 0xdc(r1) -/* 8008A488 000873E8 D0 01 00 D8 */ stfs f0, 0xd8(r1) -/* 8008A48C 000873EC D0 61 00 E0 */ stfs f3, 0xe0(r1) -/* 8008A490 000873F0 48 00 05 6D */ bl DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager -/* 8008A494 000873F4 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8008A498 000873F8 7C 00 00 34 */ cntlzw r0, r0 -/* 8008A49C 000873FC 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 8008A4A0 00087400 40 82 00 10 */ bne lbl_8008A4B0 -/* 8008A4A4 00087404 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8008A4A8 00087408 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8008A4AC 0008740C 40 81 00 30 */ ble lbl_8008A4DC -lbl_8008A4B0: -/* 8008A4B0 00087410 C2 E1 00 28 */ lfs f23, 0x28(r1) -/* 8008A4B4 00087414 38 61 01 D8 */ addi r3, r1, 0x1d8 -/* 8008A4B8 00087418 48 28 A4 41 */ bl Normalize__9CVector3fFv -/* 8008A4BC 0008741C C0 43 00 00 */ lfs f2, 0(r3) -/* 8008A4C0 00087420 3B 80 00 01 */ li r28, 1 -/* 8008A4C4 00087424 C0 23 00 04 */ lfs f1, 4(r3) -/* 8008A4C8 00087428 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008A4CC 0008742C EF D7 00 B2 */ fmuls f30, f23, f2 -/* 8008A4D0 00087430 EF B7 00 72 */ fmuls f29, f23, f1 -/* 8008A4D4 00087434 EF 97 00 32 */ fmuls f28, f23, f0 -/* 8008A4D8 00087438 48 00 01 1C */ b lbl_8008A5F4 -lbl_8008A4DC: -/* 8008A4DC 0008743C 38 61 01 CC */ addi r3, r1, 0x1cc -/* 8008A4E0 00087440 48 28 A3 D9 */ bl Magnitude__9CVector3fCFv -/* 8008A4E4 00087444 C0 41 02 0C */ lfs f2, 0x20c(r1) -/* 8008A4E8 00087448 7F E6 FB 78 */ mr r6, r31 -/* 8008A4EC 0008744C C0 01 01 D0 */ lfs f0, 0x1d0(r1) -/* 8008A4F0 00087450 38 61 02 08 */ addi r3, r1, 0x208 -/* 8008A4F4 00087454 C0 81 02 10 */ lfs f4, 0x210(r1) -/* 8008A4F8 00087458 38 81 00 CC */ addi r4, r1, 0xcc -/* 8008A4FC 0008745C C0 61 01 D4 */ lfs f3, 0x1d4(r1) -/* 8008A500 00087460 EC A2 00 2A */ fadds f5, f2, f0 -/* 8008A504 00087464 C0 41 02 08 */ lfs f2, 0x208(r1) -/* 8008A508 00087468 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8008A50C 0008746C C0 01 01 CC */ lfs f0, 0x1cc(r1) -/* 8008A510 00087470 EC 64 18 2A */ fadds f3, f4, f3 -/* 8008A514 00087474 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8008A518 00087478 EC 02 00 2A */ fadds f0, f2, f0 -/* 8008A51C 0008747C C0 22 89 C4 */ lfs f1, lbl_805AA6E4@sda21(r2) -/* 8008A520 00087480 D0 A1 00 D0 */ stfs f5, 0xd0(r1) -/* 8008A524 00087484 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 8008A528 00087488 D0 61 00 D4 */ stfs f3, 0xd4(r1) -/* 8008A52C 0008748C 48 00 04 D1 */ bl DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager -/* 8008A530 00087490 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8008A534 00087494 7C 00 00 34 */ cntlzw r0, r0 -/* 8008A538 00087498 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 8008A53C 0008749C 40 82 00 10 */ bne lbl_8008A54C -/* 8008A540 000874A0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8008A544 000874A4 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8008A548 000874A8 40 81 00 30 */ ble lbl_8008A578 -lbl_8008A54C: -/* 8008A54C 000874AC C2 E1 00 28 */ lfs f23, 0x28(r1) -/* 8008A550 000874B0 38 61 01 CC */ addi r3, r1, 0x1cc -/* 8008A554 000874B4 48 28 A3 A5 */ bl Normalize__9CVector3fFv -/* 8008A558 000874B8 C0 43 00 00 */ lfs f2, 0(r3) -/* 8008A55C 000874BC 3B 80 00 01 */ li r28, 1 -/* 8008A560 000874C0 C0 23 00 04 */ lfs f1, 4(r3) -/* 8008A564 000874C4 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008A568 000874C8 EF D7 00 B2 */ fmuls f30, f23, f2 -/* 8008A56C 000874CC EF B7 00 72 */ fmuls f29, f23, f1 -/* 8008A570 000874D0 EF 97 00 32 */ fmuls f28, f23, f0 -/* 8008A574 000874D4 48 00 00 80 */ b lbl_8008A5F4 -lbl_8008A578: -/* 8008A578 000874D8 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8008A57C 000874DC 38 81 04 6C */ addi r4, r1, 0x46c -/* 8008A580 000874E0 38 A1 01 D8 */ addi r5, r1, 0x1d8 -/* 8008A584 000874E4 48 28 85 65 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8008A588 000874E8 C0 41 00 C0 */ lfs f2, 0xc0(r1) -/* 8008A58C 000874EC 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8008A590 000874F0 C0 21 00 C4 */ lfs f1, 0xc4(r1) -/* 8008A594 000874F4 38 81 04 3C */ addi r4, r1, 0x43c -/* 8008A598 000874F8 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 8008A59C 000874FC 38 A1 01 CC */ addi r5, r1, 0x1cc -/* 8008A5A0 00087500 D0 41 01 D8 */ stfs f2, 0x1d8(r1) -/* 8008A5A4 00087504 D0 21 01 DC */ stfs f1, 0x1dc(r1) -/* 8008A5A8 00087508 D0 01 01 E0 */ stfs f0, 0x1e0(r1) -/* 8008A5AC 0008750C 48 28 85 3D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8008A5B0 00087510 C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 8008A5B4 00087514 3B 39 00 01 */ addi r25, r25, 1 -/* 8008A5B8 00087518 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 8008A5BC 0008751C C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 8008A5C0 00087520 D0 41 01 CC */ stfs f2, 0x1cc(r1) -/* 8008A5C4 00087524 D0 21 01 D0 */ stfs f1, 0x1d0(r1) -/* 8008A5C8 00087528 D0 01 01 D4 */ stfs f0, 0x1d4(r1) -lbl_8008A5CC: -/* 8008A5CC 0008752C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8008A5D0 00087530 6F 20 80 00 */ xoris r0, r25, 0x8000 -/* 8008A5D4 00087534 90 01 15 3C */ stw r0, 0x153c(r1) -/* 8008A5D8 00087538 EC 18 00 32 */ fmuls f0, f24, f0 -/* 8008A5DC 0008753C 93 41 15 38 */ stw r26, 0x1538(r1) -/* 8008A5E0 00087540 EC 19 00 24 */ fdivs f0, f25, f0 -/* 8008A5E4 00087544 C8 21 15 38 */ lfd f1, 0x1538(r1) -/* 8008A5E8 00087548 EC 21 B8 28 */ fsubs f1, f1, f23 -/* 8008A5EC 0008754C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008A5F0 00087550 41 80 FE 50 */ blt lbl_8008A440 -lbl_8008A5F4: -/* 8008A5F4 00087554 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8008A5F8 00087558 40 82 03 3C */ bne lbl_8008A934 -/* 8008A5FC 0008755C C0 21 02 14 */ lfs f1, 0x214(r1) -/* 8008A600 00087560 38 00 00 00 */ li r0, 0 -/* 8008A604 00087564 C0 A1 02 18 */ lfs f5, 0x218(r1) -/* 8008A608 00087568 7F E3 FB 78 */ mr r3, r31 -/* 8008A60C 0008756C C0 C1 02 1C */ lfs f6, 0x21c(r1) -/* 8008A610 00087570 EC 81 D0 28 */ fsubs f4, f1, f26 -/* 8008A614 00087574 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8008A618 00087578 EC 65 D0 28 */ fsubs f3, f5, f26 -/* 8008A61C 0008757C EC 5A 08 2A */ fadds f2, f26, f1 -/* 8008A620 00087580 D0 C1 02 34 */ stfs f6, 0x234(r1) -/* 8008A624 00087584 EC 3A 28 2A */ fadds f1, f26, f5 -/* 8008A628 00087588 EC 00 30 2A */ fadds f0, f0, f6 -/* 8008A62C 0008758C D0 81 02 2C */ stfs f4, 0x22c(r1) -/* 8008A630 00087590 38 81 00 08 */ addi r4, r1, 8 -/* 8008A634 00087594 D0 61 02 30 */ stfs f3, 0x230(r1) -/* 8008A638 00087598 D0 41 02 38 */ stfs f2, 0x238(r1) -/* 8008A63C 0008759C D0 21 02 3C */ stfs f1, 0x23c(r1) -/* 8008A640 000875A0 D0 01 02 40 */ stfs f0, 0x240(r1) -/* 8008A644 000875A4 90 01 05 2C */ stw r0, 0x52c(r1) -/* 8008A648 000875A8 A0 1D 04 6C */ lhz r0, 0x46c(r29) -/* 8008A64C 000875AC B0 01 00 08 */ sth r0, 8(r1) -/* 8008A650 000875B0 4B FC 1F 55 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8008A654 000875B4 7C 64 1B 78 */ mr r4, r3 -/* 8008A658 000875B8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8008A65C 000875BC 48 02 56 35 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8008A660 000875C0 3C 80 80 47 */ lis r4, lbl_8046C408@ha -/* 8008A664 000875C4 80 E3 00 04 */ lwz r7, 4(r3) -/* 8008A668 000875C8 38 C4 C4 08 */ addi r6, r4, lbl_8046C408@l -/* 8008A66C 000875CC 7F E3 FB 78 */ mr r3, r31 -/* 8008A670 000875D0 38 81 05 2C */ addi r4, r1, 0x52c -/* 8008A674 000875D4 38 A1 02 2C */ addi r5, r1, 0x22c -/* 8008A678 000875D8 4B FC 20 A9 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8008A67C 000875DC C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8008A680 000875E0 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8008A684 000875E4 38 81 00 18 */ addi r4, r1, 0x18 -/* 8008A688 000875E8 FC 00 00 50 */ fneg f0, f0 -/* 8008A68C 000875EC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8008A690 000875F0 48 28 6A 69 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8008A694 000875F4 38 61 02 8C */ addi r3, r1, 0x28c -/* 8008A698 000875F8 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 8008A69C 000875FC 48 28 79 1D */ bl BuildTransform4f__11CQuaternionCFv -/* 8008A6A0 00087600 38 61 04 0C */ addi r3, r1, 0x40c -/* 8008A6A4 00087604 38 81 02 8C */ addi r4, r1, 0x28c -/* 8008A6A8 00087608 48 28 84 CD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008A6AC 0008760C 38 61 00 94 */ addi r3, r1, 0x94 -/* 8008A6B0 00087610 38 81 00 24 */ addi r4, r1, 0x24 -/* 8008A6B4 00087614 48 28 6A 45 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8008A6B8 00087618 38 61 02 5C */ addi r3, r1, 0x25c -/* 8008A6BC 0008761C 38 81 00 94 */ addi r4, r1, 0x94 -/* 8008A6C0 00087620 48 28 78 F9 */ bl BuildTransform4f__11CQuaternionCFv -/* 8008A6C4 00087624 38 61 03 DC */ addi r3, r1, 0x3dc -/* 8008A6C8 00087628 38 81 02 5C */ addi r4, r1, 0x25c -/* 8008A6CC 0008762C 48 28 84 A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008A6D0 00087630 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 8008A6D4 00087634 CB 02 89 C8 */ lfd f24, lbl_805AA6E8@sda21(r2) -/* 8008A6D8 00087638 C3 22 8A 9C */ lfs f25, lbl_805AA7BC@sda21(r2) -/* 8008A6DC 0008763C 3B 43 C4 08 */ addi r26, r3, lbl_8046C408@l -/* 8008A6E0 00087640 C3 E2 8A A0 */ lfs f31, lbl_805AA7C0@sda21(r2) -/* 8008A6E4 00087644 3F 60 43 30 */ lis r27, 0x4330 -/* 8008A6E8 00087648 C3 42 89 C4 */ lfs f26, lbl_805AA6E4@sda21(r2) -/* 8008A6EC 0008764C 48 00 01 E0 */ b lbl_8008A8CC -lbl_8008A6F0: -/* 8008A6F0 00087650 38 61 01 FC */ addi r3, r1, 0x1fc -/* 8008A6F4 00087654 48 28 A2 05 */ bl Normalize__9CVector3fFv -/* 8008A6F8 00087658 C0 43 00 04 */ lfs f2, 4(r3) -/* 8008A6FC 0008765C 38 81 04 0C */ addi r4, r1, 0x40c -/* 8008A700 00087660 C0 23 00 08 */ lfs f1, 8(r3) -/* 8008A704 00087664 38 A1 01 FC */ addi r5, r1, 0x1fc -/* 8008A708 00087668 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008A70C 0008766C EC 57 00 B2 */ fmuls f2, f23, f2 -/* 8008A710 00087670 EC 37 00 72 */ fmuls f1, f23, f1 -/* 8008A714 00087674 38 61 00 88 */ addi r3, r1, 0x88 -/* 8008A718 00087678 EC 17 00 32 */ fmuls f0, f23, f0 -/* 8008A71C 0008767C D0 41 02 00 */ stfs f2, 0x200(r1) -/* 8008A720 00087680 D0 01 01 FC */ stfs f0, 0x1fc(r1) -/* 8008A724 00087684 D0 21 02 04 */ stfs f1, 0x204(r1) -/* 8008A728 00087688 48 28 83 59 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8008A72C 0008768C C0 41 00 88 */ lfs f2, 0x88(r1) -/* 8008A730 00087690 38 61 00 7C */ addi r3, r1, 0x7c -/* 8008A734 00087694 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 8008A738 00087698 38 81 03 DC */ addi r4, r1, 0x3dc -/* 8008A73C 0008769C C0 01 00 90 */ lfs f0, 0x90(r1) -/* 8008A740 000876A0 38 A1 01 FC */ addi r5, r1, 0x1fc -/* 8008A744 000876A4 D0 41 01 C0 */ stfs f2, 0x1c0(r1) -/* 8008A748 000876A8 D0 21 01 C4 */ stfs f1, 0x1c4(r1) -/* 8008A74C 000876AC D0 01 01 C8 */ stfs f0, 0x1c8(r1) -/* 8008A750 000876B0 48 28 83 31 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8008A754 000876B4 C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 8008A758 000876B8 3B 20 00 00 */ li r25, 0 -/* 8008A75C 000876BC C0 21 00 80 */ lfs f1, 0x80(r1) -/* 8008A760 000876C0 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 8008A764 000876C4 D0 41 01 B4 */ stfs f2, 0x1b4(r1) -/* 8008A768 000876C8 D0 21 01 B8 */ stfs f1, 0x1b8(r1) -/* 8008A76C 000876CC D0 01 01 BC */ stfs f0, 0x1bc(r1) -/* 8008A770 000876D0 48 00 01 28 */ b lbl_8008A898 -lbl_8008A774: -/* 8008A774 000876D4 C0 21 02 0C */ lfs f1, 0x20c(r1) -/* 8008A778 000876D8 7F E3 FB 78 */ mr r3, r31 -/* 8008A77C 000876DC C0 01 01 C4 */ lfs f0, 0x1c4(r1) -/* 8008A780 000876E0 7F 47 D3 78 */ mr r7, r26 -/* 8008A784 000876E4 C0 61 02 10 */ lfs f3, 0x210(r1) -/* 8008A788 000876E8 38 81 02 08 */ addi r4, r1, 0x208 -/* 8008A78C 000876EC C0 41 01 C8 */ lfs f2, 0x1c8(r1) -/* 8008A790 000876F0 EC 81 00 2A */ fadds f4, f1, f0 -/* 8008A794 000876F4 C0 21 02 08 */ lfs f1, 0x208(r1) -/* 8008A798 000876F8 38 A1 00 70 */ addi r5, r1, 0x70 -/* 8008A79C 000876FC C0 01 01 C0 */ lfs f0, 0x1c0(r1) -/* 8008A7A0 00087700 EC 43 10 2A */ fadds f2, f3, f2 -/* 8008A7A4 00087704 D0 81 00 74 */ stfs f4, 0x74(r1) -/* 8008A7A8 00087708 EC 01 00 2A */ fadds f0, f1, f0 -/* 8008A7AC 0008770C 38 C1 05 2C */ addi r6, r1, 0x52c -/* 8008A7B0 00087710 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 8008A7B4 00087714 39 00 00 00 */ li r8, 0 -/* 8008A7B8 00087718 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8008A7BC 0008771C 4B FC 27 B1 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -/* 8008A7C0 00087720 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008A7C4 00087724 41 82 00 18 */ beq lbl_8008A7DC -/* 8008A7C8 00087728 C3 C1 01 C0 */ lfs f30, 0x1c0(r1) -/* 8008A7CC 0008772C 3B 80 00 01 */ li r28, 1 -/* 8008A7D0 00087730 C3 A1 01 C4 */ lfs f29, 0x1c4(r1) -/* 8008A7D4 00087734 C3 81 01 C8 */ lfs f28, 0x1c8(r1) -/* 8008A7D8 00087738 48 00 00 E8 */ b lbl_8008A8C0 -lbl_8008A7DC: -/* 8008A7DC 0008773C C0 21 02 0C */ lfs f1, 0x20c(r1) -/* 8008A7E0 00087740 7F E3 FB 78 */ mr r3, r31 -/* 8008A7E4 00087744 C0 01 01 B8 */ lfs f0, 0x1b8(r1) -/* 8008A7E8 00087748 7F 47 D3 78 */ mr r7, r26 -/* 8008A7EC 0008774C C0 61 02 10 */ lfs f3, 0x210(r1) -/* 8008A7F0 00087750 38 81 02 08 */ addi r4, r1, 0x208 -/* 8008A7F4 00087754 C0 41 01 BC */ lfs f2, 0x1bc(r1) -/* 8008A7F8 00087758 EC 81 00 2A */ fadds f4, f1, f0 -/* 8008A7FC 0008775C C0 21 02 08 */ lfs f1, 0x208(r1) -/* 8008A800 00087760 38 A1 00 64 */ addi r5, r1, 0x64 -/* 8008A804 00087764 C0 01 01 B4 */ lfs f0, 0x1b4(r1) -/* 8008A808 00087768 EC 43 10 2A */ fadds f2, f3, f2 -/* 8008A80C 0008776C D0 81 00 68 */ stfs f4, 0x68(r1) -/* 8008A810 00087770 EC 01 00 2A */ fadds f0, f1, f0 -/* 8008A814 00087774 38 C1 05 2C */ addi r6, r1, 0x52c -/* 8008A818 00087778 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8008A81C 0008777C 39 00 00 00 */ li r8, 0 -/* 8008A820 00087780 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8008A824 00087784 4B FC 27 49 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -/* 8008A828 00087788 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008A82C 0008778C 41 82 00 18 */ beq lbl_8008A844 -/* 8008A830 00087790 C3 C1 01 B4 */ lfs f30, 0x1b4(r1) -/* 8008A834 00087794 3B 80 00 01 */ li r28, 1 -/* 8008A838 00087798 C3 A1 01 B8 */ lfs f29, 0x1b8(r1) -/* 8008A83C 0008779C C3 81 01 BC */ lfs f28, 0x1bc(r1) -/* 8008A840 000877A0 48 00 00 80 */ b lbl_8008A8C0 -lbl_8008A844: -/* 8008A844 000877A4 38 61 00 58 */ addi r3, r1, 0x58 -/* 8008A848 000877A8 38 81 04 0C */ addi r4, r1, 0x40c -/* 8008A84C 000877AC 38 A1 01 C0 */ addi r5, r1, 0x1c0 -/* 8008A850 000877B0 48 28 82 99 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8008A854 000877B4 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 8008A858 000877B8 38 61 00 4C */ addi r3, r1, 0x4c -/* 8008A85C 000877BC C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 8008A860 000877C0 38 81 03 DC */ addi r4, r1, 0x3dc -/* 8008A864 000877C4 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8008A868 000877C8 38 A1 01 B4 */ addi r5, r1, 0x1b4 -/* 8008A86C 000877CC D0 41 01 C0 */ stfs f2, 0x1c0(r1) -/* 8008A870 000877D0 D0 21 01 C4 */ stfs f1, 0x1c4(r1) -/* 8008A874 000877D4 D0 01 01 C8 */ stfs f0, 0x1c8(r1) -/* 8008A878 000877D8 48 28 82 71 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8008A87C 000877DC C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 8008A880 000877E0 3B 39 00 01 */ addi r25, r25, 1 -/* 8008A884 000877E4 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 8008A888 000877E8 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8008A88C 000877EC D0 41 01 B4 */ stfs f2, 0x1b4(r1) -/* 8008A890 000877F0 D0 21 01 B8 */ stfs f1, 0x1b8(r1) -/* 8008A894 000877F4 D0 01 01 BC */ stfs f0, 0x1bc(r1) -lbl_8008A898: -/* 8008A898 000877F8 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8008A89C 000877FC 6F 20 80 00 */ xoris r0, r25, 0x8000 -/* 8008A8A0 00087800 90 01 15 3C */ stw r0, 0x153c(r1) -/* 8008A8A4 00087804 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8008A8A8 00087808 93 61 15 38 */ stw r27, 0x1538(r1) -/* 8008A8AC 0008780C EC 19 00 24 */ fdivs f0, f25, f0 -/* 8008A8B0 00087810 C8 21 15 38 */ lfd f1, 0x1538(r1) -/* 8008A8B4 00087814 EC 21 C0 28 */ fsubs f1, f1, f24 -/* 8008A8B8 00087818 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008A8BC 0008781C 41 80 FE B8 */ blt lbl_8008A774 -lbl_8008A8C0: -/* 8008A8C0 00087820 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8008A8C4 00087824 EC 00 D0 28 */ fsubs f0, f0, f26 -/* 8008A8C8 00087828 D0 01 00 28 */ stfs f0, 0x28(r1) -lbl_8008A8CC: -/* 8008A8CC 0008782C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8008A8D0 00087830 40 82 00 10 */ bne lbl_8008A8E0 -/* 8008A8D4 00087834 C2 E1 00 28 */ lfs f23, 0x28(r1) -/* 8008A8D8 00087838 FC 17 D8 40 */ fcmpo cr0, f23, f27 -/* 8008A8DC 0008783C 41 81 FE 14 */ bgt lbl_8008A6F0 -lbl_8008A8E0: -/* 8008A8E0 00087840 80 A1 05 2C */ lwz r5, 0x52c(r1) -/* 8008A8E4 00087844 38 60 00 00 */ li r3, 0 -/* 8008A8E8 00087848 2C 05 00 00 */ cmpwi r5, 0 -/* 8008A8EC 0008784C 40 81 00 40 */ ble lbl_8008A92C -/* 8008A8F0 00087850 2C 05 00 08 */ cmpwi r5, 8 -/* 8008A8F4 00087854 38 85 FF F8 */ addi r4, r5, -8 -/* 8008A8F8 00087858 40 81 00 20 */ ble lbl_8008A918 -/* 8008A8FC 0008785C 38 04 00 07 */ addi r0, r4, 7 -/* 8008A900 00087860 54 00 E8 FE */ srwi r0, r0, 3 -/* 8008A904 00087864 7C 09 03 A6 */ mtctr r0 -/* 8008A908 00087868 2C 04 00 00 */ cmpwi r4, 0 -/* 8008A90C 0008786C 40 81 00 0C */ ble lbl_8008A918 -lbl_8008A910: -/* 8008A910 00087870 38 63 00 08 */ addi r3, r3, 8 -/* 8008A914 00087874 42 00 FF FC */ bdnz lbl_8008A910 -lbl_8008A918: -/* 8008A918 00087878 7C 03 28 50 */ subf r0, r3, r5 -/* 8008A91C 0008787C 7C 09 03 A6 */ mtctr r0 -/* 8008A920 00087880 7C 03 28 00 */ cmpw r3, r5 -/* 8008A924 00087884 40 80 00 08 */ bge lbl_8008A92C -lbl_8008A928: -/* 8008A928 00087888 42 00 00 00 */ bdnz lbl_8008A928 -lbl_8008A92C: -/* 8008A92C 0008788C 38 00 00 00 */ li r0, 0 -/* 8008A930 00087890 90 01 05 2C */ stw r0, 0x52c(r1) -lbl_8008A934: -/* 8008A934 00087894 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8008A938 00087898 40 82 00 20 */ bne lbl_8008A958 -/* 8008A93C 0008789C C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 8008A940 000878A0 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 8008A944 000878A4 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 8008A948 000878A8 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8008A94C 000878AC D0 3E 00 04 */ stfs f1, 4(r30) -/* 8008A950 000878B0 D0 5E 00 08 */ stfs f2, 8(r30) -/* 8008A954 000878B4 48 00 00 28 */ b lbl_8008A97C -lbl_8008A958: -/* 8008A958 000878B8 C0 01 02 08 */ lfs f0, 0x208(r1) -/* 8008A95C 000878BC C0 41 02 0C */ lfs f2, 0x20c(r1) -/* 8008A960 000878C0 EC 00 F0 2A */ fadds f0, f0, f30 -/* 8008A964 000878C4 C0 21 02 10 */ lfs f1, 0x210(r1) -/* 8008A968 000878C8 EC 42 E8 2A */ fadds f2, f2, f29 -/* 8008A96C 000878CC EC 21 E0 2A */ fadds f1, f1, f28 -/* 8008A970 000878D0 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8008A974 000878D4 D0 5E 00 04 */ stfs f2, 4(r30) -/* 8008A978 000878D8 D0 3E 00 08 */ stfs f1, 8(r30) -lbl_8008A97C: -/* 8008A97C 000878DC 38 00 15 E8 */ li r0, 0x15e8 -/* 8008A980 000878E0 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 -/* 8008A984 000878E4 CB E1 15 E0 */ lfd f31, 0x15e0(r1) -/* 8008A988 000878E8 38 00 15 D8 */ li r0, 0x15d8 -/* 8008A98C 000878EC 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 -/* 8008A990 000878F0 CB C1 15 D0 */ lfd f30, 0x15d0(r1) -/* 8008A994 000878F4 38 00 15 C8 */ li r0, 0x15c8 -/* 8008A998 000878F8 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 -/* 8008A99C 000878FC CB A1 15 C0 */ lfd f29, 0x15c0(r1) -/* 8008A9A0 00087900 38 00 15 B8 */ li r0, 0x15b8 -/* 8008A9A4 00087904 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 -/* 8008A9A8 00087908 CB 81 15 B0 */ lfd f28, 0x15b0(r1) -/* 8008A9AC 0008790C 38 00 15 A8 */ li r0, 0x15a8 -/* 8008A9B0 00087910 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 -/* 8008A9B4 00087914 CB 61 15 A0 */ lfd f27, 0x15a0(r1) -/* 8008A9B8 00087918 38 00 15 98 */ li r0, 0x1598 -/* 8008A9BC 0008791C 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 -/* 8008A9C0 00087920 CB 41 15 90 */ lfd f26, 0x1590(r1) -/* 8008A9C4 00087924 38 00 15 88 */ li r0, 0x1588 -/* 8008A9C8 00087928 13 21 00 0C */ psq_lx f25, r1, r0, 0, qr0 -/* 8008A9CC 0008792C CB 21 15 80 */ lfd f25, 0x1580(r1) -/* 8008A9D0 00087930 38 00 15 78 */ li r0, 0x1578 -/* 8008A9D4 00087934 13 01 00 0C */ psq_lx f24, r1, r0, 0, qr0 -/* 8008A9D8 00087938 CB 01 15 70 */ lfd f24, 0x1570(r1) -/* 8008A9DC 0008793C 38 00 15 68 */ li r0, 0x1568 -/* 8008A9E0 00087940 12 E1 00 0C */ psq_lx f23, r1, r0, 0, qr0 -/* 8008A9E4 00087944 CA E1 15 60 */ lfd f23, 0x1560(r1) -/* 8008A9E8 00087948 BB 21 15 44 */ lmw r25, 0x1544(r1) -/* 8008A9EC 0008794C 80 01 15 F4 */ lwz r0, 0x15f4(r1) -/* 8008A9F0 00087950 7C 08 03 A6 */ mtlr r0 -/* 8008A9F4 00087954 38 21 15 F0 */ addi r1, r1, 0x15f0 -/* 8008A9F8 00087958 4E 80 00 20 */ blr - -.global DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager -DetectCollision__11CBallCameraFRC9CVector3fRC9CVector3ffRfR13CStateManager: -/* 8008A9FC 0008795C 94 21 DA 70 */ stwu r1, -0x2590(r1) -/* 8008AA00 00087960 7C 08 02 A6 */ mflr r0 -/* 8008AA04 00087964 90 01 25 94 */ stw r0, 0x2594(r1) -/* 8008AA08 00087968 38 00 25 88 */ li r0, 0x2588 -/* 8008AA0C 0008796C DB E1 25 80 */ stfd f31, 0x2580(r1) -/* 8008AA10 00087970 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 -/* 8008AA14 00087974 38 00 25 78 */ li r0, 0x2578 -/* 8008AA18 00087978 DB C1 25 70 */ stfd f30, 0x2570(r1) -/* 8008AA1C 0008797C 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 -/* 8008AA20 00087980 38 00 25 68 */ li r0, 0x2568 -/* 8008AA24 00087984 DB A1 25 60 */ stfd f29, 0x2560(r1) -/* 8008AA28 00087988 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 -/* 8008AA2C 0008798C 38 00 25 58 */ li r0, 0x2558 -/* 8008AA30 00087990 DB 81 25 50 */ stfd f28, 0x2550(r1) -/* 8008AA34 00087994 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 -/* 8008AA38 00087998 38 00 25 48 */ li r0, 0x2548 -/* 8008AA3C 0008799C DB 61 25 40 */ stfd f27, 0x2540(r1) -/* 8008AA40 000879A0 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 -/* 8008AA44 000879A4 BF 21 25 24 */ stmw r25, 0x2524(r1) -/* 8008AA48 000879A8 7C 7B 1B 78 */ mr r27, r3 -/* 8008AA4C 000879AC 7C 99 23 78 */ mr r25, r4 -/* 8008AA50 000879B0 C0 84 00 04 */ lfs f4, 4(r4) -/* 8008AA54 000879B4 FF A0 08 90 */ fmr f29, f1 -/* 8008AA58 000879B8 C0 03 00 04 */ lfs f0, 4(r3) -/* 8008AA5C 000879BC 7C BC 2B 78 */ mr r28, r5 -/* 8008AA60 000879C0 C0 64 00 08 */ lfs f3, 8(r4) -/* 8008AA64 000879C4 7C DD 33 78 */ mr r29, r6 -/* 8008AA68 000879C8 C0 43 00 08 */ lfs f2, 8(r3) -/* 8008AA6C 000879CC EC 84 00 28 */ fsubs f4, f4, f0 -/* 8008AA70 000879D0 C0 24 00 00 */ lfs f1, 0(r4) -/* 8008AA74 000879D4 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008AA78 000879D8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8008AA7C 000879DC 38 61 00 60 */ addi r3, r1, 0x60 -/* 8008AA80 000879E0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8008AA84 000879E4 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 8008AA88 000879E8 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8008AA8C 000879EC D0 41 00 68 */ stfs f2, 0x68(r1) -/* 8008AA90 000879F0 48 28 9E 29 */ bl Magnitude__9CVector3fCFv -/* 8008AA94 000879F4 FF E0 08 90 */ fmr f31, f1 -/* 8008AA98 000879F8 C0 22 89 B8 */ lfs f1, lbl_805AA6D8@sda21(r2) -/* 8008AA9C 000879FC C0 02 8A A4 */ lfs f0, lbl_805AA7C4@sda21(r2) -/* 8008AAA0 00087A00 3B C0 00 01 */ li r30, 1 -/* 8008AAA4 00087A04 C0 61 00 60 */ lfs f3, 0x60(r1) -/* 8008AAA8 00087A08 EC 81 F8 24 */ fdivs f4, f1, f31 -/* 8008AAAC 00087A0C C0 41 00 64 */ lfs f2, 0x64(r1) -/* 8008AAB0 00087A10 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 8008AAB4 00087A14 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 8008AAB8 00087A18 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8008AABC 00087A1C EC 24 00 72 */ fmuls f1, f4, f1 -/* 8008AAC0 00087A20 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8008AAC4 00087A24 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 8008AAC8 00087A28 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8008AACC 00087A2C D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 8008AAD0 00087A30 40 81 05 EC */ ble lbl_8008B0BC -/* 8008AAD4 00087A34 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 8008AAD8 00087A38 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008AADC 00087A3C 38 A3 67 54 */ addi r5, r3, lbl_805A6754@l -/* 8008AAE0 00087A40 7F 64 DB 78 */ mr r4, r27 -/* 8008AAE4 00087A44 C0 A5 00 00 */ lfs f5, 0(r5) -/* 8008AAE8 00087A48 EF C0 07 72 */ fmuls f30, f0, f29 -/* 8008AAEC 00087A4C C0 85 00 04 */ lfs f4, 4(r5) -/* 8008AAF0 00087A50 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8008AAF4 00087A54 C0 65 00 08 */ lfs f3, 8(r5) -/* 8008AAF8 00087A58 C0 45 00 0C */ lfs f2, 0xc(r5) -/* 8008AAFC 00087A5C C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8008AB00 00087A60 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8008AB04 00087A64 D0 A1 00 F8 */ stfs f5, 0xf8(r1) -/* 8008AB08 00087A68 D0 81 00 FC */ stfs f4, 0xfc(r1) -/* 8008AB0C 00087A6C D0 61 01 00 */ stfs f3, 0x100(r1) -/* 8008AB10 00087A70 D0 41 01 04 */ stfs f2, 0x104(r1) -/* 8008AB14 00087A74 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 8008AB18 00087A78 D0 01 01 0C */ stfs f0, 0x10c(r1) -/* 8008AB1C 00087A7C 48 2A CF ED */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8008AB20 00087A80 7F 24 CB 78 */ mr r4, r25 -/* 8008AB24 00087A84 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8008AB28 00087A88 48 2A CF E1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8008AB2C 00087A8C C0 41 01 08 */ lfs f2, 0x108(r1) -/* 8008AB30 00087A90 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 8008AB34 00087A94 C0 21 01 0C */ lfs f1, 0x10c(r1) -/* 8008AB38 00087A98 38 81 00 48 */ addi r4, r1, 0x48 -/* 8008AB3C 00087A9C C0 01 01 04 */ lfs f0, 0x104(r1) -/* 8008AB40 00087AA0 EC A2 F0 2A */ fadds f5, f2, f30 -/* 8008AB44 00087AA4 C0 41 00 FC */ lfs f2, 0xfc(r1) -/* 8008AB48 00087AA8 EC 81 F0 2A */ fadds f4, f1, f30 -/* 8008AB4C 00087AAC C0 21 01 00 */ lfs f1, 0x100(r1) -/* 8008AB50 00087AB0 EC 60 F0 2A */ fadds f3, f0, f30 -/* 8008AB54 00087AB4 C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 8008AB58 00087AB8 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 8008AB5C 00087ABC D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 8008AB60 00087AC0 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 8008AB64 00087AC4 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8008AB68 00087AC8 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8008AB6C 00087ACC D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 8008AB70 00087AD0 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 8008AB74 00087AD4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8008AB78 00087AD8 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8008AB7C 00087ADC D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8008AB80 00087AE0 48 2A D9 89 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8008AB84 00087AE4 80 A1 00 E0 */ lwz r5, 0xe0(r1) -/* 8008AB88 00087AE8 38 00 00 00 */ li r0, 0 -/* 8008AB8C 00087AEC 81 61 00 E4 */ lwz r11, 0xe4(r1) -/* 8008AB90 00087AF0 7F A3 EB 78 */ mr r3, r29 -/* 8008AB94 00087AF4 81 41 00 E8 */ lwz r10, 0xe8(r1) -/* 8008AB98 00087AF8 38 81 1D 14 */ addi r4, r1, 0x1d14 -/* 8008AB9C 00087AFC 81 21 00 EC */ lwz r9, 0xec(r1) -/* 8008ABA0 00087B00 38 C1 00 F8 */ addi r6, r1, 0xf8 -/* 8008ABA4 00087B04 81 01 00 F0 */ lwz r8, 0xf0(r1) -/* 8008ABA8 00087B08 80 E1 00 F4 */ lwz r7, 0xf4(r1) -/* 8008ABAC 00087B0C 90 A1 00 F8 */ stw r5, 0xf8(r1) -/* 8008ABB0 00087B10 80 BD 08 4C */ lwz r5, 0x84c(r29) -/* 8008ABB4 00087B14 91 61 00 FC */ stw r11, 0xfc(r1) -/* 8008ABB8 00087B18 91 41 01 00 */ stw r10, 0x100(r1) -/* 8008ABBC 00087B1C 91 21 01 04 */ stw r9, 0x104(r1) -/* 8008ABC0 00087B20 91 01 01 08 */ stw r8, 0x108(r1) -/* 8008ABC4 00087B24 90 E1 01 0C */ stw r7, 0x10c(r1) -/* 8008ABC8 00087B28 90 01 1D 14 */ stw r0, 0x1d14(r1) -/* 8008ABCC 00087B2C 4B FC 1B 31 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" -/* 8008ABD0 00087B30 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 8008ABD4 00087B34 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8008ABD8 00087B38 48 21 8E B9 */ bl __ct__19CAreaCollisionCacheFRC6CAABox -/* 8008ABDC 00087B3C 7F A3 EB 78 */ mr r3, r29 -/* 8008ABE0 00087B40 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 8008ABE4 00087B44 48 0F 9A E1 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache -/* 8008ABE8 00087B48 88 01 1D 10 */ lbz r0, 0x1d10(r1) -/* 8008ABEC 00087B4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008ABF0 00087B50 41 82 00 08 */ beq lbl_8008ABF8 -/* 8008ABF4 00087B54 3B C0 00 00 */ li r30, 0 -lbl_8008ABF8: -/* 8008ABF8 00087B58 38 00 00 00 */ li r0, 0 -/* 8008ABFC 00087B5C 80 AD 84 84 */ lwz r5, lbl_805A7044@sda21(r13) -/* 8008AC00 00087B60 90 01 00 24 */ stw r0, 0x24(r1) -/* 8008AC04 00087B64 38 60 00 00 */ li r3, 0 -/* 8008AC08 00087B68 38 80 00 01 */ li r4, 1 -/* 8008AC0C 00087B6C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8008AC10 00087B70 48 2F F2 E5 */ bl __shl2i -/* 8008AC14 00087B74 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8008AC18 00087B78 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8008AC1C 00087B7C 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8008AC20 00087B80 3B E5 66 A0 */ addi r31, r5, skZero3f@l -/* 8008AC24 00087B84 7C 00 1B 78 */ or r0, r0, r3 -/* 8008AC28 00087B88 C3 DF 00 00 */ lfs f30, 0(r31) -/* 8008AC2C 00087B8C 7C C4 23 78 */ or r4, r6, r4 -/* 8008AC30 00087B90 90 01 00 20 */ stw r0, 0x20(r1) -/* 8008AC34 00087B94 C3 9F 00 04 */ lfs f28, 4(r31) -/* 8008AC38 00087B98 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8008AC3C 00087B9C 90 81 00 24 */ stw r4, 0x24(r1) -/* 8008AC40 00087BA0 38 81 00 20 */ addi r4, r1, 0x20 -/* 8008AC44 00087BA4 C3 7F 00 08 */ lfs f27, 8(r31) -/* 8008AC48 00087BA8 48 24 4C 6D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 8008AC4C 00087BAC 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 8008AC50 00087BB0 80 AD 84 8C */ lwz r5, lbl_805A704C@sda21(r13) -/* 8008AC54 00087BB4 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 8008AC58 00087BB8 D3 C1 00 D0 */ stfs f30, 0xd0(r1) -/* 8008AC5C 00087BBC 38 60 00 00 */ li r3, 0 -/* 8008AC60 00087BC0 38 80 00 01 */ li r4, 1 -/* 8008AC64 00087BC4 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8008AC68 00087BC8 D3 81 00 D4 */ stfs f28, 0xd4(r1) -/* 8008AC6C 00087BCC D3 61 00 D8 */ stfs f27, 0xd8(r1) -/* 8008AC70 00087BD0 D3 A1 00 DC */ stfs f29, 0xdc(r1) -/* 8008AC74 00087BD4 48 2F F2 81 */ bl __shl2i -/* 8008AC78 00087BD8 80 AD 84 90 */ lwz r5, lbl_805A7050@sda21(r13) -/* 8008AC7C 00087BDC 7C 99 23 78 */ mr r25, r4 -/* 8008AC80 00087BE0 7C 7A 1B 78 */ mr r26, r3 -/* 8008AC84 00087BE4 38 60 00 00 */ li r3, 0 -/* 8008AC88 00087BE8 38 80 00 01 */ li r4, 1 -/* 8008AC8C 00087BEC 48 2F F2 69 */ bl __shl2i -/* 8008AC90 00087BF0 80 AD 84 94 */ lwz r5, lbl_805A7054@sda21(r13) -/* 8008AC94 00087BF4 7F 39 23 78 */ or r25, r25, r4 -/* 8008AC98 00087BF8 7F 5A 1B 78 */ or r26, r26, r3 -/* 8008AC9C 00087BFC 38 60 00 00 */ li r3, 0 -/* 8008ACA0 00087C00 38 80 00 01 */ li r4, 1 -/* 8008ACA4 00087C04 48 2F F2 51 */ bl __shl2i -/* 8008ACA8 00087C08 80 AD 84 98 */ lwz r5, lbl_805A7058@sda21(r13) -/* 8008ACAC 00087C0C 7F 39 23 78 */ or r25, r25, r4 -/* 8008ACB0 00087C10 7F 5A 1B 78 */ or r26, r26, r3 -/* 8008ACB4 00087C14 38 60 00 00 */ li r3, 0 -/* 8008ACB8 00087C18 38 80 00 01 */ li r4, 1 -/* 8008ACBC 00087C1C 48 2F F2 39 */ bl __shl2i -/* 8008ACC0 00087C20 80 AD 84 88 */ lwz r5, lbl_805A7048@sda21(r13) -/* 8008ACC4 00087C24 7F 39 23 78 */ or r25, r25, r4 -/* 8008ACC8 00087C28 7F 5A 1B 78 */ or r26, r26, r3 -/* 8008ACCC 00087C2C 38 60 00 00 */ li r3, 0 -/* 8008ACD0 00087C30 38 80 00 01 */ li r4, 1 -/* 8008ACD4 00087C34 48 2F F2 21 */ bl __shl2i -/* 8008ACD8 00087C38 38 00 00 03 */ li r0, 3 -/* 8008ACDC 00087C3C 90 81 00 AC */ stw r4, 0xac(r1) -/* 8008ACE0 00087C40 7F 64 DB 78 */ mr r4, r27 -/* 8008ACE4 00087C44 90 61 00 A8 */ stw r3, 0xa8(r1) -/* 8008ACE8 00087C48 38 61 01 40 */ addi r3, r1, 0x140 -/* 8008ACEC 00087C4C 93 21 00 B4 */ stw r25, 0xb4(r1) -/* 8008ACF0 00087C50 93 41 00 B0 */ stw r26, 0xb0(r1) -/* 8008ACF4 00087C54 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 8008ACF8 00087C58 48 28 84 49 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8008ACFC 00087C5C 7F A3 EB 78 */ mr r3, r29 -/* 8008AD00 00087C60 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 8008AD04 00087C64 38 A1 00 C0 */ addi r5, r1, 0xc0 -/* 8008AD08 00087C68 38 C1 01 40 */ addi r6, r1, 0x140 -/* 8008AD0C 00087C6C 38 E1 00 A8 */ addi r7, r1, 0xa8 -/* 8008AD10 00087C70 39 01 1D 14 */ addi r8, r1, 0x1d14 -/* 8008AD14 00087C74 48 0F 98 51 */ bl "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 8008AD18 00087C78 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 8008AD1C 00087C7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008AD20 00087C80 38 84 CA F8 */ addi r4, r4, lbl_803ECAF8@l -/* 8008AD24 00087C84 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8008AD28 00087C88 90 81 00 C0 */ stw r4, 0xc0(r1) -/* 8008AD2C 00087C8C 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l -/* 8008AD30 00087C90 90 61 00 C0 */ stw r3, 0xc0(r1) -/* 8008AD34 00087C94 41 82 01 00 */ beq lbl_8008AE34 -/* 8008AD38 00087C98 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 8008AD3C 00087C9C 34 E1 01 E8 */ addic. r7, r1, 0x1e8 -/* 8008AD40 00087CA0 D0 1C 00 00 */ stfs f0, 0(r28) -/* 8008AD44 00087CA4 41 82 00 94 */ beq lbl_8008ADD8 -/* 8008AD48 00087CA8 38 C7 00 04 */ addi r6, r7, 4 -/* 8008AD4C 00087CAC 38 60 00 00 */ li r3, 0 -/* 8008AD50 00087CB0 48 00 00 74 */ b lbl_8008ADC4 -lbl_8008AD54: -/* 8008AD54 00087CB4 28 06 00 00 */ cmplwi r6, 0 -/* 8008AD58 00087CB8 41 82 00 64 */ beq lbl_8008ADBC -/* 8008AD5C 00087CBC 34 06 00 04 */ addic. r0, r6, 4 -/* 8008AD60 00087CC0 41 82 00 5C */ beq lbl_8008ADBC -/* 8008AD64 00087CC4 81 06 00 04 */ lwz r8, 4(r6) -/* 8008AD68 00087CC8 38 80 00 00 */ li r4, 0 -/* 8008AD6C 00087CCC 2C 08 00 00 */ cmpwi r8, 0 -/* 8008AD70 00087CD0 40 81 00 44 */ ble lbl_8008ADB4 -/* 8008AD74 00087CD4 2C 08 00 08 */ cmpwi r8, 8 -/* 8008AD78 00087CD8 38 A8 FF F8 */ addi r5, r8, -8 -/* 8008AD7C 00087CDC 40 81 00 20 */ ble lbl_8008AD9C -/* 8008AD80 00087CE0 38 05 00 07 */ addi r0, r5, 7 -/* 8008AD84 00087CE4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8008AD88 00087CE8 7C 09 03 A6 */ mtctr r0 -/* 8008AD8C 00087CEC 2C 05 00 00 */ cmpwi r5, 0 -/* 8008AD90 00087CF0 40 81 00 0C */ ble lbl_8008AD9C -lbl_8008AD94: -/* 8008AD94 00087CF4 38 84 00 08 */ addi r4, r4, 8 -/* 8008AD98 00087CF8 42 00 FF FC */ bdnz lbl_8008AD94 -lbl_8008AD9C: -/* 8008AD9C 00087CFC 7C 04 40 50 */ subf r0, r4, r8 -/* 8008ADA0 00087D00 7C 09 03 A6 */ mtctr r0 -/* 8008ADA4 00087D04 7C 04 40 00 */ cmpw r4, r8 -/* 8008ADA8 00087D08 40 80 00 0C */ bge lbl_8008ADB4 -lbl_8008ADAC: -/* 8008ADAC 00087D0C 38 84 00 01 */ addi r4, r4, 1 -/* 8008ADB0 00087D10 42 00 FF FC */ bdnz lbl_8008ADAC -lbl_8008ADB4: -/* 8008ADB4 00087D14 38 00 00 00 */ li r0, 0 -/* 8008ADB8 00087D18 90 06 00 04 */ stw r0, 4(r6) -lbl_8008ADBC: -/* 8008ADBC 00087D1C 38 C6 09 0C */ addi r6, r6, 0x90c -/* 8008ADC0 00087D20 38 63 00 01 */ addi r3, r3, 1 -lbl_8008ADC4: -/* 8008ADC4 00087D24 80 07 00 00 */ lwz r0, 0(r7) -/* 8008ADC8 00087D28 7C 03 00 00 */ cmpw r3, r0 -/* 8008ADCC 00087D2C 41 80 FF 88 */ blt lbl_8008AD54 -/* 8008ADD0 00087D30 38 00 00 00 */ li r0, 0 -/* 8008ADD4 00087D34 90 07 00 00 */ stw r0, 0(r7) -lbl_8008ADD8: -/* 8008ADD8 00087D38 80 A1 1D 14 */ lwz r5, 0x1d14(r1) -/* 8008ADDC 00087D3C 38 60 00 00 */ li r3, 0 -/* 8008ADE0 00087D40 2C 05 00 00 */ cmpwi r5, 0 -/* 8008ADE4 00087D44 40 81 00 40 */ ble lbl_8008AE24 -/* 8008ADE8 00087D48 2C 05 00 08 */ cmpwi r5, 8 -/* 8008ADEC 00087D4C 38 85 FF F8 */ addi r4, r5, -8 -/* 8008ADF0 00087D50 40 81 00 20 */ ble lbl_8008AE10 -/* 8008ADF4 00087D54 38 04 00 07 */ addi r0, r4, 7 -/* 8008ADF8 00087D58 54 00 E8 FE */ srwi r0, r0, 3 -/* 8008ADFC 00087D5C 7C 09 03 A6 */ mtctr r0 -/* 8008AE00 00087D60 2C 04 00 00 */ cmpwi r4, 0 -/* 8008AE04 00087D64 40 81 00 0C */ ble lbl_8008AE10 -lbl_8008AE08: -/* 8008AE08 00087D68 38 63 00 08 */ addi r3, r3, 8 -/* 8008AE0C 00087D6C 42 00 FF FC */ bdnz lbl_8008AE08 -lbl_8008AE10: -/* 8008AE10 00087D70 7C 03 28 50 */ subf r0, r3, r5 -/* 8008AE14 00087D74 7C 09 03 A6 */ mtctr r0 -/* 8008AE18 00087D78 7C 03 28 00 */ cmpw r3, r5 -/* 8008AE1C 00087D7C 40 80 00 08 */ bge lbl_8008AE24 -lbl_8008AE20: -/* 8008AE20 00087D80 42 00 00 00 */ bdnz lbl_8008AE20 -lbl_8008AE24: -/* 8008AE24 00087D84 38 00 00 00 */ li r0, 0 -/* 8008AE28 00087D88 38 60 00 01 */ li r3, 1 -/* 8008AE2C 00087D8C 90 01 1D 14 */ stw r0, 0x1d14(r1) -/* 8008AE30 00087D90 48 00 02 98 */ b lbl_8008B0C8 -lbl_8008AE34: -/* 8008AE34 00087D94 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8008AE38 00087D98 41 82 01 98 */ beq lbl_8008AFD0 -/* 8008AE3C 00087D9C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008AE40 00087DA0 38 61 01 70 */ addi r3, r1, 0x170 -/* 8008AE44 00087DA4 38 80 00 00 */ li r4, 0 -/* 8008AE48 00087DA8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8008AE4C 00087DAC 48 24 33 3D */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid -/* 8008AE50 00087DB0 38 00 00 00 */ li r0, 0 -/* 8008AE54 00087DB4 80 AD 84 9C */ lwz r5, lbl_805A705C@sda21(r13) -/* 8008AE58 00087DB8 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 8008AE5C 00087DBC 38 60 00 00 */ li r3, 0 -/* 8008AE60 00087DC0 38 80 00 01 */ li r4, 1 -/* 8008AE64 00087DC4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8008AE68 00087DC8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8008AE6C 00087DCC 48 2F F0 89 */ bl __shl2i -/* 8008AE70 00087DD0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8008AE74 00087DD4 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8008AE78 00087DD8 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8008AE7C 00087DDC 7C 00 1B 78 */ or r0, r0, r3 -/* 8008AE80 00087DE0 C3 65 66 A0 */ lfs f27, skZero3f@l(r5) -/* 8008AE84 00087DE4 7C C4 23 78 */ or r4, r6, r4 -/* 8008AE88 00087DE8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8008AE8C 00087DEC C3 9F 00 04 */ lfs f28, 4(r31) -/* 8008AE90 00087DF0 38 61 00 88 */ addi r3, r1, 0x88 -/* 8008AE94 00087DF4 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8008AE98 00087DF8 38 81 00 18 */ addi r4, r1, 0x18 -/* 8008AE9C 00087DFC C3 DF 00 08 */ lfs f30, 8(r31) -/* 8008AEA0 00087E00 48 24 4A 15 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 8008AEA4 00087E04 80 E1 00 54 */ lwz r7, 0x54(r1) -/* 8008AEA8 00087E08 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 8008AEAC 00087E0C 39 03 CA F8 */ addi r8, r3, lbl_803ECAF8@l -/* 8008AEB0 00087E10 80 C1 00 58 */ lwz r6, 0x58(r1) -/* 8008AEB4 00087E14 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8008AEB8 00087E18 38 60 00 00 */ li r3, 0 -/* 8008AEBC 00087E1C 80 AD 84 A4 */ lwz r5, lbl_805A7064@sda21(r13) -/* 8008AEC0 00087E20 38 80 00 01 */ li r4, 1 -/* 8008AEC4 00087E24 91 01 00 88 */ stw r8, 0x88(r1) -/* 8008AEC8 00087E28 D3 61 00 98 */ stfs f27, 0x98(r1) -/* 8008AECC 00087E2C D3 81 00 9C */ stfs f28, 0x9c(r1) -/* 8008AED0 00087E30 D3 C1 00 A0 */ stfs f30, 0xa0(r1) -/* 8008AED4 00087E34 D3 A1 00 A4 */ stfs f29, 0xa4(r1) -/* 8008AED8 00087E38 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8008AEDC 00087E3C 90 C1 00 34 */ stw r6, 0x34(r1) -/* 8008AEE0 00087E40 90 01 00 38 */ stw r0, 0x38(r1) -/* 8008AEE4 00087E44 48 2F F0 11 */ bl __shl2i -/* 8008AEE8 00087E48 80 AD 84 A8 */ lwz r5, lbl_805A7068@sda21(r13) -/* 8008AEEC 00087E4C 7C 9A 23 78 */ mr r26, r4 -/* 8008AEF0 00087E50 7C 79 1B 78 */ mr r25, r3 -/* 8008AEF4 00087E54 38 60 00 00 */ li r3, 0 -/* 8008AEF8 00087E58 38 80 00 01 */ li r4, 1 -/* 8008AEFC 00087E5C 48 2F EF F9 */ bl __shl2i -/* 8008AF00 00087E60 80 AD 84 AC */ lwz r5, lbl_805A706C@sda21(r13) -/* 8008AF04 00087E64 7F 5A 23 78 */ or r26, r26, r4 -/* 8008AF08 00087E68 7F 39 1B 78 */ or r25, r25, r3 -/* 8008AF0C 00087E6C 38 60 00 00 */ li r3, 0 -/* 8008AF10 00087E70 38 80 00 01 */ li r4, 1 -/* 8008AF14 00087E74 48 2F EF E1 */ bl __shl2i -/* 8008AF18 00087E78 80 AD 84 B0 */ lwz r5, lbl_805A7070@sda21(r13) -/* 8008AF1C 00087E7C 7F 5A 23 78 */ or r26, r26, r4 -/* 8008AF20 00087E80 7F 39 1B 78 */ or r25, r25, r3 -/* 8008AF24 00087E84 38 60 00 00 */ li r3, 0 -/* 8008AF28 00087E88 38 80 00 01 */ li r4, 1 -/* 8008AF2C 00087E8C 48 2F EF C9 */ bl __shl2i -/* 8008AF30 00087E90 80 AD 84 A0 */ lwz r5, lbl_805A7060@sda21(r13) -/* 8008AF34 00087E94 7F 5A 23 78 */ or r26, r26, r4 -/* 8008AF38 00087E98 7F 39 1B 78 */ or r25, r25, r3 -/* 8008AF3C 00087E9C 38 60 00 00 */ li r3, 0 -/* 8008AF40 00087EA0 38 80 00 01 */ li r4, 1 -/* 8008AF44 00087EA4 48 2F EF B1 */ bl __shl2i -/* 8008AF48 00087EA8 38 00 00 03 */ li r0, 3 -/* 8008AF4C 00087EAC 90 81 00 74 */ stw r4, 0x74(r1) -/* 8008AF50 00087EB0 7F 64 DB 78 */ mr r4, r27 -/* 8008AF54 00087EB4 90 61 00 70 */ stw r3, 0x70(r1) -/* 8008AF58 00087EB8 38 61 01 10 */ addi r3, r1, 0x110 -/* 8008AF5C 00087EBC 93 41 00 7C */ stw r26, 0x7c(r1) -/* 8008AF60 00087EC0 93 21 00 78 */ stw r25, 0x78(r1) -/* 8008AF64 00087EC4 90 01 00 80 */ stw r0, 0x80(r1) -/* 8008AF68 00087EC8 48 28 81 D9 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8008AF6C 00087ECC 38 61 01 70 */ addi r3, r1, 0x170 -/* 8008AF70 00087ED0 38 01 00 28 */ addi r0, r1, 0x28 -/* 8008AF74 00087ED4 90 61 00 08 */ stw r3, 8(r1) -/* 8008AF78 00087ED8 7F A3 EB 78 */ mr r3, r29 -/* 8008AF7C 00087EDC 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 8008AF80 00087EE0 38 A1 00 88 */ addi r5, r1, 0x88 -/* 8008AF84 00087EE4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8008AF88 00087EE8 38 C1 01 10 */ addi r6, r1, 0x110 -/* 8008AF8C 00087EEC 38 E1 00 70 */ addi r7, r1, 0x70 -/* 8008AF90 00087EF0 39 01 1D 14 */ addi r8, r1, 0x1d14 -/* 8008AF94 00087EF4 39 21 00 30 */ addi r9, r1, 0x30 -/* 8008AF98 00087EF8 39 41 00 10 */ addi r10, r1, 0x10 -/* 8008AF9C 00087EFC 48 0F 93 51 */ bl "DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd" -/* 8008AFA0 00087F00 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 8008AFA4 00087F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008AFA8 00087F08 38 84 CA F8 */ addi r4, r4, lbl_803ECAF8@l -/* 8008AFAC 00087F0C 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8008AFB0 00087F10 90 81 00 88 */ stw r4, 0x88(r1) -/* 8008AFB4 00087F14 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l -/* 8008AFB8 00087F18 90 61 00 88 */ stw r3, 0x88(r1) -/* 8008AFBC 00087F1C 41 82 00 14 */ beq lbl_8008AFD0 -/* 8008AFC0 00087F20 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8008AFC4 00087F24 3B C0 00 00 */ li r30, 0 -/* 8008AFC8 00087F28 FC 00 00 18 */ frsp f0, f0 -/* 8008AFCC 00087F2C D0 1C 00 00 */ stfs f0, 0(r28) -lbl_8008AFD0: -/* 8008AFD0 00087F30 34 E1 01 E8 */ addic. r7, r1, 0x1e8 -/* 8008AFD4 00087F34 41 82 00 94 */ beq lbl_8008B068 -/* 8008AFD8 00087F38 38 C7 00 04 */ addi r6, r7, 4 -/* 8008AFDC 00087F3C 38 60 00 00 */ li r3, 0 -/* 8008AFE0 00087F40 48 00 00 74 */ b lbl_8008B054 -lbl_8008AFE4: -/* 8008AFE4 00087F44 28 06 00 00 */ cmplwi r6, 0 -/* 8008AFE8 00087F48 41 82 00 64 */ beq lbl_8008B04C -/* 8008AFEC 00087F4C 34 06 00 04 */ addic. r0, r6, 4 -/* 8008AFF0 00087F50 41 82 00 5C */ beq lbl_8008B04C -/* 8008AFF4 00087F54 81 06 00 04 */ lwz r8, 4(r6) -/* 8008AFF8 00087F58 38 80 00 00 */ li r4, 0 -/* 8008AFFC 00087F5C 2C 08 00 00 */ cmpwi r8, 0 -/* 8008B000 00087F60 40 81 00 44 */ ble lbl_8008B044 -/* 8008B004 00087F64 2C 08 00 08 */ cmpwi r8, 8 -/* 8008B008 00087F68 38 A8 FF F8 */ addi r5, r8, -8 -/* 8008B00C 00087F6C 40 81 00 20 */ ble lbl_8008B02C -/* 8008B010 00087F70 38 05 00 07 */ addi r0, r5, 7 -/* 8008B014 00087F74 54 00 E8 FE */ srwi r0, r0, 3 -/* 8008B018 00087F78 7C 09 03 A6 */ mtctr r0 -/* 8008B01C 00087F7C 2C 05 00 00 */ cmpwi r5, 0 -/* 8008B020 00087F80 40 81 00 0C */ ble lbl_8008B02C -lbl_8008B024: -/* 8008B024 00087F84 38 84 00 08 */ addi r4, r4, 8 -/* 8008B028 00087F88 42 00 FF FC */ bdnz lbl_8008B024 -lbl_8008B02C: -/* 8008B02C 00087F8C 7C 04 40 50 */ subf r0, r4, r8 -/* 8008B030 00087F90 7C 09 03 A6 */ mtctr r0 -/* 8008B034 00087F94 7C 04 40 00 */ cmpw r4, r8 -/* 8008B038 00087F98 40 80 00 0C */ bge lbl_8008B044 -lbl_8008B03C: -/* 8008B03C 00087F9C 38 84 00 01 */ addi r4, r4, 1 -/* 8008B040 00087FA0 42 00 FF FC */ bdnz lbl_8008B03C -lbl_8008B044: -/* 8008B044 00087FA4 38 00 00 00 */ li r0, 0 -/* 8008B048 00087FA8 90 06 00 04 */ stw r0, 4(r6) -lbl_8008B04C: -/* 8008B04C 00087FAC 38 C6 09 0C */ addi r6, r6, 0x90c -/* 8008B050 00087FB0 38 63 00 01 */ addi r3, r3, 1 -lbl_8008B054: -/* 8008B054 00087FB4 80 07 00 00 */ lwz r0, 0(r7) -/* 8008B058 00087FB8 7C 03 00 00 */ cmpw r3, r0 -/* 8008B05C 00087FBC 41 80 FF 88 */ blt lbl_8008AFE4 -/* 8008B060 00087FC0 38 00 00 00 */ li r0, 0 -/* 8008B064 00087FC4 90 07 00 00 */ stw r0, 0(r7) -lbl_8008B068: -/* 8008B068 00087FC8 80 A1 1D 14 */ lwz r5, 0x1d14(r1) -/* 8008B06C 00087FCC 38 60 00 00 */ li r3, 0 -/* 8008B070 00087FD0 2C 05 00 00 */ cmpwi r5, 0 -/* 8008B074 00087FD4 40 81 00 40 */ ble lbl_8008B0B4 -/* 8008B078 00087FD8 2C 05 00 08 */ cmpwi r5, 8 -/* 8008B07C 00087FDC 38 85 FF F8 */ addi r4, r5, -8 -/* 8008B080 00087FE0 40 81 00 20 */ ble lbl_8008B0A0 -/* 8008B084 00087FE4 38 04 00 07 */ addi r0, r4, 7 -/* 8008B088 00087FE8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8008B08C 00087FEC 7C 09 03 A6 */ mtctr r0 -/* 8008B090 00087FF0 2C 04 00 00 */ cmpwi r4, 0 -/* 8008B094 00087FF4 40 81 00 0C */ ble lbl_8008B0A0 -lbl_8008B098: -/* 8008B098 00087FF8 38 63 00 08 */ addi r3, r3, 8 -/* 8008B09C 00087FFC 42 00 FF FC */ bdnz lbl_8008B098 -lbl_8008B0A0: -/* 8008B0A0 00088000 7C 03 28 50 */ subf r0, r3, r5 -/* 8008B0A4 00088004 7C 09 03 A6 */ mtctr r0 -/* 8008B0A8 00088008 7C 03 28 00 */ cmpw r3, r5 -/* 8008B0AC 0008800C 40 80 00 08 */ bge lbl_8008B0B4 -lbl_8008B0B0: -/* 8008B0B0 00088010 42 00 00 00 */ bdnz lbl_8008B0B0 -lbl_8008B0B4: -/* 8008B0B4 00088014 38 00 00 00 */ li r0, 0 -/* 8008B0B8 00088018 90 01 1D 14 */ stw r0, 0x1d14(r1) -lbl_8008B0BC: -/* 8008B0BC 0008801C 57 C0 06 3E */ clrlwi r0, r30, 0x18 -/* 8008B0C0 00088020 7C 00 00 34 */ cntlzw r0, r0 -/* 8008B0C4 00088024 54 03 D9 7E */ srwi r3, r0, 5 -lbl_8008B0C8: -/* 8008B0C8 00088028 38 00 25 88 */ li r0, 0x2588 -/* 8008B0CC 0008802C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 -/* 8008B0D0 00088030 CB E1 25 80 */ lfd f31, 0x2580(r1) -/* 8008B0D4 00088034 38 00 25 78 */ li r0, 0x2578 -/* 8008B0D8 00088038 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 -/* 8008B0DC 0008803C CB C1 25 70 */ lfd f30, 0x2570(r1) -/* 8008B0E0 00088040 38 00 25 68 */ li r0, 0x2568 -/* 8008B0E4 00088044 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 -/* 8008B0E8 00088048 CB A1 25 60 */ lfd f29, 0x2560(r1) -/* 8008B0EC 0008804C 38 00 25 58 */ li r0, 0x2558 -/* 8008B0F0 00088050 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 -/* 8008B0F4 00088054 CB 81 25 50 */ lfd f28, 0x2550(r1) -/* 8008B0F8 00088058 38 00 25 48 */ li r0, 0x2548 -/* 8008B0FC 0008805C 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 -/* 8008B100 00088060 CB 61 25 40 */ lfd f27, 0x2540(r1) -/* 8008B104 00088064 BB 21 25 24 */ lmw r25, 0x2524(r1) -/* 8008B108 00088068 80 01 25 94 */ lwz r0, 0x2594(r1) -/* 8008B10C 0008806C 7C 08 03 A6 */ mtlr r0 -/* 8008B110 00088070 38 21 25 90 */ addi r1, r1, 0x2590 -/* 8008B114 00088074 4E 80 00 20 */ blr - -.global "AvoidGeometry__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -"AvoidGeometry__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager": -/* 8008B118 00088078 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008B11C 0008807C 7C 08 02 A6 */ mflr r0 -/* 8008B120 00088080 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008B124 00088084 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008B128 00088088 7C 9F 23 78 */ mr r31, r4 -/* 8008B12C 0008808C 93 C1 00 08 */ stw r30, 8(r1) -/* 8008B130 00088090 7C 7E 1B 78 */ mr r30, r3 -/* 8008B134 00088094 80 04 03 28 */ lwz r0, 0x328(r4) -/* 8008B138 00088098 2C 00 00 02 */ cmpwi r0, 2 -/* 8008B13C 0008809C 41 82 00 7C */ beq lbl_8008B1B8 -/* 8008B140 000880A0 40 80 00 14 */ bge lbl_8008B154 -/* 8008B144 000880A4 2C 00 00 00 */ cmpwi r0, 0 -/* 8008B148 000880A8 41 82 00 18 */ beq lbl_8008B160 -/* 8008B14C 000880AC 40 80 00 40 */ bge lbl_8008B18C -/* 8008B150 000880B0 48 00 00 BC */ b lbl_8008B20C -lbl_8008B154: -/* 8008B154 000880B4 2C 00 00 04 */ cmpwi r0, 4 -/* 8008B158 000880B8 40 80 00 B4 */ bge lbl_8008B20C -/* 8008B15C 000880BC 48 00 00 88 */ b lbl_8008B1E4 -lbl_8008B160: -/* 8008B160 000880C0 FC 40 08 90 */ fmr f2, f1 -/* 8008B164 000880C4 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) -/* 8008B168 000880C8 7F E3 FB 78 */ mr r3, r31 -/* 8008B16C 000880CC 7C A4 2B 78 */ mr r4, r5 -/* 8008B170 000880D0 7C C8 33 78 */ mr r8, r6 -/* 8008B174 000880D4 7C E9 3B 78 */ mr r9, r7 -/* 8008B178 000880D8 38 BF 02 64 */ addi r5, r31, 0x264 -/* 8008B17C 000880DC 38 DF 02 D0 */ addi r6, r31, 0x2d0 -/* 8008B180 000880E0 38 E0 00 01 */ li r7, 1 -/* 8008B184 000880E4 48 00 07 49 */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -/* 8008B188 000880E8 48 00 00 84 */ b lbl_8008B20C -lbl_8008B18C: -/* 8008B18C 000880EC FC 40 08 90 */ fmr f2, f1 -/* 8008B190 000880F0 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) -/* 8008B194 000880F4 7F E3 FB 78 */ mr r3, r31 -/* 8008B198 000880F8 7C A4 2B 78 */ mr r4, r5 -/* 8008B19C 000880FC 7C C8 33 78 */ mr r8, r6 -/* 8008B1A0 00088100 7C E9 3B 78 */ mr r9, r7 -/* 8008B1A4 00088104 38 BF 02 74 */ addi r5, r31, 0x274 -/* 8008B1A8 00088108 38 DF 02 D4 */ addi r6, r31, 0x2d4 -/* 8008B1AC 0008810C 38 E0 00 03 */ li r7, 3 -/* 8008B1B0 00088110 48 00 07 1D */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -/* 8008B1B4 00088114 48 00 00 58 */ b lbl_8008B20C -lbl_8008B1B8: -/* 8008B1B8 00088118 FC 40 08 90 */ fmr f2, f1 -/* 8008B1BC 0008811C C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) -/* 8008B1C0 00088120 7F E3 FB 78 */ mr r3, r31 -/* 8008B1C4 00088124 7C A4 2B 78 */ mr r4, r5 -/* 8008B1C8 00088128 7C C8 33 78 */ mr r8, r6 -/* 8008B1CC 0008812C 7C E9 3B 78 */ mr r9, r7 -/* 8008B1D0 00088130 38 BF 02 84 */ addi r5, r31, 0x284 -/* 8008B1D4 00088134 38 DF 02 D8 */ addi r6, r31, 0x2d8 -/* 8008B1D8 00088138 38 E0 00 04 */ li r7, 4 -/* 8008B1DC 0008813C 48 00 06 F1 */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -/* 8008B1E0 00088140 48 00 00 2C */ b lbl_8008B20C -lbl_8008B1E4: -/* 8008B1E4 00088144 FC 40 08 90 */ fmr f2, f1 -/* 8008B1E8 00088148 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) -/* 8008B1EC 0008814C 7F E3 FB 78 */ mr r3, r31 -/* 8008B1F0 00088150 7C A4 2B 78 */ mr r4, r5 -/* 8008B1F4 00088154 7C C8 33 78 */ mr r8, r6 -/* 8008B1F8 00088158 7C E9 3B 78 */ mr r9, r7 -/* 8008B1FC 0008815C 38 BF 02 84 */ addi r5, r31, 0x284 -/* 8008B200 00088160 38 DF 02 D8 */ addi r6, r31, 0x2d8 -/* 8008B204 00088164 38 E0 00 04 */ li r7, 4 -/* 8008B208 00088168 48 00 06 C5 */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -lbl_8008B20C: -/* 8008B20C 0008816C 80 7F 03 28 */ lwz r3, 0x328(r31) -/* 8008B210 00088170 38 03 00 01 */ addi r0, r3, 1 -/* 8008B214 00088174 2C 00 00 04 */ cmpwi r0, 4 -/* 8008B218 00088178 90 1F 03 28 */ stw r0, 0x328(r31) -/* 8008B21C 0008817C 41 80 00 0C */ blt lbl_8008B228 -/* 8008B220 00088180 38 00 00 00 */ li r0, 0 -/* 8008B224 00088184 90 1F 03 28 */ stw r0, 0x328(r31) -lbl_8008B228: -/* 8008B228 00088188 7F C3 F3 78 */ mr r3, r30 -/* 8008B22C 0008818C 7F E4 FB 78 */ mr r4, r31 -/* 8008B230 00088190 48 00 02 1D */ bl ApplyColliders__11CBallCameraFv -/* 8008B234 00088194 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008B238 00088198 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008B23C 0008819C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8008B240 000881A0 7C 08 03 A6 */ mtlr r0 -/* 8008B244 000881A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008B248 000881A8 4E 80 00 20 */ blr - -.global "AvoidGeometryFull__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -"AvoidGeometryFull__11CBallCameraFRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager": -/* 8008B24C 000881AC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8008B250 000881B0 7C 08 02 A6 */ mflr r0 -/* 8008B254 000881B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8008B258 000881B8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8008B25C 000881BC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8008B260 000881C0 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8008B264 000881C4 FF E0 08 90 */ fmr f31, f1 -/* 8008B268 000881C8 7C DE 33 78 */ mr r30, r6 -/* 8008B26C 000881CC 7C 9C 23 78 */ mr r28, r4 -/* 8008B270 000881D0 7C BD 2B 78 */ mr r29, r5 -/* 8008B274 000881D4 7C FF 3B 78 */ mr r31, r7 -/* 8008B278 000881D8 7C 7B 1B 78 */ mr r27, r3 -/* 8008B27C 000881DC FC 40 F8 90 */ fmr f2, f31 -/* 8008B280 000881E0 80 E4 02 68 */ lwz r7, 0x268(r4) -/* 8008B284 000881E4 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) -/* 8008B288 000881E8 7F 83 E3 78 */ mr r3, r28 -/* 8008B28C 000881EC 7F A4 EB 78 */ mr r4, r29 -/* 8008B290 000881F0 7F C8 F3 78 */ mr r8, r30 -/* 8008B294 000881F4 7F E9 FB 78 */ mr r9, r31 -/* 8008B298 000881F8 38 BC 02 64 */ addi r5, r28, 0x264 -/* 8008B29C 000881FC 38 DC 02 D0 */ addi r6, r28, 0x2d0 -/* 8008B2A0 00088200 48 00 06 2D */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -/* 8008B2A4 00088204 FC 40 F8 90 */ fmr f2, f31 -/* 8008B2A8 00088208 80 FC 02 78 */ lwz r7, 0x278(r28) -/* 8008B2AC 0008820C C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) -/* 8008B2B0 00088210 7F 83 E3 78 */ mr r3, r28 -/* 8008B2B4 00088214 7F A4 EB 78 */ mr r4, r29 -/* 8008B2B8 00088218 7F C8 F3 78 */ mr r8, r30 -/* 8008B2BC 0008821C 7F E9 FB 78 */ mr r9, r31 -/* 8008B2C0 00088220 38 BC 02 74 */ addi r5, r28, 0x274 -/* 8008B2C4 00088224 38 DC 02 D4 */ addi r6, r28, 0x2d4 -/* 8008B2C8 00088228 48 00 06 05 */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -/* 8008B2CC 0008822C FC 40 F8 90 */ fmr f2, f31 -/* 8008B2D0 00088230 80 FC 02 88 */ lwz r7, 0x288(r28) -/* 8008B2D4 00088234 C0 22 8A 6C */ lfs f1, lbl_805AA78C@sda21(r2) -/* 8008B2D8 00088238 7F 83 E3 78 */ mr r3, r28 -/* 8008B2DC 0008823C 7F A4 EB 78 */ mr r4, r29 -/* 8008B2E0 00088240 7F C8 F3 78 */ mr r8, r30 -/* 8008B2E4 00088244 7F E9 FB 78 */ mr r9, r31 -/* 8008B2E8 00088248 38 BC 02 84 */ addi r5, r28, 0x284 -/* 8008B2EC 0008824C 38 DC 02 D8 */ addi r6, r28, 0x2d8 -/* 8008B2F0 00088250 48 00 05 DD */ bl "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -/* 8008B2F4 00088254 7F 63 DB 78 */ mr r3, r27 -/* 8008B2F8 00088258 7F 84 E3 78 */ mr r4, r28 -/* 8008B2FC 0008825C 48 00 01 51 */ bl ApplyColliders__11CBallCameraFv -/* 8008B300 00088260 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8008B304 00088264 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8008B308 00088268 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8008B30C 0008826C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8008B310 00088270 7C 08 03 A6 */ mtlr r0 -/* 8008B314 00088274 38 21 00 30 */ addi r1, r1, 0x30 -/* 8008B318 00088278 4E 80 00 20 */ blr - -.global "CalculateCollidersBoundingBox__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RC13CStateManager" -"CalculateCollidersBoundingBox__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RC13CStateManager": -/* 8008B31C 0008827C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8008B320 00088280 7C 08 02 A6 */ mflr r0 -/* 8008B324 00088284 3C 80 80 5A */ lis r4, lbl_805A6754@ha -/* 8008B328 00088288 90 01 00 54 */ stw r0, 0x54(r1) -/* 8008B32C 0008828C BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8008B330 00088290 7C 7B 1B 78 */ mr r27, r3 -/* 8008B334 00088294 38 64 67 54 */ addi r3, r4, lbl_805A6754@l -/* 8008B338 00088298 7C BC 2B 78 */ mr r28, r5 -/* 8008B33C 0008829C 7C DD 33 78 */ mr r29, r6 -/* 8008B340 000882A0 3B C0 00 00 */ li r30, 0 -/* 8008B344 000882A4 3B E0 00 00 */ li r31, 0 -/* 8008B348 000882A8 C0 A3 00 00 */ lfs f5, 0(r3) -/* 8008B34C 000882AC C0 83 00 04 */ lfs f4, 4(r3) -/* 8008B350 000882B0 C0 63 00 08 */ lfs f3, 8(r3) -/* 8008B354 000882B4 C0 43 00 0C */ lfs f2, 0xc(r3) -/* 8008B358 000882B8 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 8008B35C 000882BC C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8008B360 000882C0 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 8008B364 000882C4 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8008B368 000882C8 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8008B36C 000882CC D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8008B370 000882D0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8008B374 000882D4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8008B378 000882D8 48 00 00 20 */ b lbl_8008B398 -lbl_8008B37C: -/* 8008B37C 000882DC 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 8008B380 000882E0 38 9F 00 2C */ addi r4, r31, 0x2c -/* 8008B384 000882E4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8008B388 000882E8 7C 80 22 14 */ add r4, r0, r4 -/* 8008B38C 000882EC 48 2A C7 7D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8008B390 000882F0 3B FF 00 54 */ addi r31, r31, 0x54 -/* 8008B394 000882F4 3B DE 00 01 */ addi r30, r30, 1 -lbl_8008B398: -/* 8008B398 000882F8 80 1C 00 04 */ lwz r0, 4(r28) -/* 8008B39C 000882FC 7C 1E 00 00 */ cmpw r30, r0 -/* 8008B3A0 00088300 41 80 FF DC */ blt lbl_8008B37C -/* 8008B3A4 00088304 80 BD 08 4C */ lwz r5, 0x84c(r29) -/* 8008B3A8 00088308 38 61 00 14 */ addi r3, r1, 0x14 -/* 8008B3AC 0008830C 38 81 00 08 */ addi r4, r1, 8 -/* 8008B3B0 00088310 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8008B3B4 00088314 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8008B3B8 00088318 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8008B3BC 0008831C D0 01 00 08 */ stfs f0, 8(r1) -/* 8008B3C0 00088320 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8008B3C4 00088324 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8008B3C8 00088328 48 2A C7 41 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8008B3CC 0008832C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8008B3D0 00088330 D0 1B 00 00 */ stfs f0, 0(r27) -/* 8008B3D4 00088334 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8008B3D8 00088338 D0 1B 00 04 */ stfs f0, 4(r27) -/* 8008B3DC 0008833C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8008B3E0 00088340 D0 1B 00 08 */ stfs f0, 8(r27) -/* 8008B3E4 00088344 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8008B3E8 00088348 D0 1B 00 0C */ stfs f0, 0xc(r27) -/* 8008B3EC 0008834C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8008B3F0 00088350 D0 1B 00 10 */ stfs f0, 0x10(r27) -/* 8008B3F4 00088354 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8008B3F8 00088358 D0 1B 00 14 */ stfs f0, 0x14(r27) -/* 8008B3FC 0008835C BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8008B400 00088360 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8008B404 00088364 7C 08 03 A6 */ mtlr r0 -/* 8008B408 00088368 38 21 00 50 */ addi r1, r1, 0x50 -/* 8008B40C 0008836C 4E 80 00 20 */ blr - -.global "CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>" -"CountObscuredColliders__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>": -/* 8008B410 00088370 80 04 00 04 */ lwz r0, 4(r4) -/* 8008B414 00088374 38 60 00 00 */ li r3, 0 -/* 8008B418 00088378 38 C0 00 00 */ li r6, 0 -/* 8008B41C 0008837C 7C 09 03 A6 */ mtctr r0 -/* 8008B420 00088380 2C 00 00 00 */ cmpwi r0, 0 -/* 8008B424 00088384 4C 81 00 20 */ blelr -lbl_8008B428: -/* 8008B428 00088388 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 8008B42C 0008838C 38 06 00 4C */ addi r0, r6, 0x4c -/* 8008B430 00088390 7C 05 00 2E */ lwzx r0, r5, r0 -/* 8008B434 00088394 2C 00 00 02 */ cmpwi r0, 2 -/* 8008B438 00088398 41 80 00 08 */ blt lbl_8008B440 -/* 8008B43C 0008839C 38 63 00 01 */ addi r3, r3, 1 -lbl_8008B440: -/* 8008B440 000883A0 38 C6 00 54 */ addi r6, r6, 0x54 -/* 8008B444 000883A4 42 00 FF E4 */ bdnz lbl_8008B428 - -.global sub_8008b448 -sub_8008b448: -/* 8008B448 000883A8 4E 80 00 20 */ blr - -.global ApplyColliders__11CBallCameraFv -ApplyColliders__11CBallCameraFv: -/* 8008B44C 000883AC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8008B450 000883B0 7C 08 02 A6 */ mflr r0 -/* 8008B454 000883B4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8008B458 000883B8 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8008B45C 000883BC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8008B460 000883C0 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8008B464 000883C4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8008B468 000883C8 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8008B46C 000883CC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8008B470 000883D0 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 8008B474 000883D4 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 8008B478 000883D8 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 8008B47C 000883DC F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 8008B480 000883E0 DB 41 00 40 */ stfd f26, 0x40(r1) -/* 8008B484 000883E4 F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 -/* 8008B488 000883E8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8008B48C 000883EC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8008B490 000883F0 7C 9F 23 78 */ mr r31, r4 -/* 8008B494 000883F4 7C 7E 1B 78 */ mr r30, r3 -/* 8008B498 000883F8 80 C4 02 C4 */ lwz r6, 0x2c4(r4) -/* 8008B49C 000883FC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8008B4A0 00088400 38 BF 02 64 */ addi r5, r31, 0x264 -/* 8008B4A4 00088404 48 00 02 B9 */ bl "CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i" -/* 8008B4A8 00088408 C3 C1 00 24 */ lfs f30, 0x24(r1) -/* 8008B4AC 0008840C 7F E4 FB 78 */ mr r4, r31 -/* 8008B4B0 00088410 C3 E1 00 28 */ lfs f31, 0x28(r1) -/* 8008B4B4 00088414 38 61 00 18 */ addi r3, r1, 0x18 -/* 8008B4B8 00088418 C3 A1 00 2C */ lfs f29, 0x2c(r1) -/* 8008B4BC 0008841C 38 BF 02 74 */ addi r5, r31, 0x274 -/* 8008B4C0 00088420 80 DF 02 C8 */ lwz r6, 0x2c8(r31) -/* 8008B4C4 00088424 48 00 02 99 */ bl "CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i" -/* 8008B4C8 00088428 C3 81 00 18 */ lfs f28, 0x18(r1) -/* 8008B4CC 0008842C 7F E4 FB 78 */ mr r4, r31 -/* 8008B4D0 00088430 C3 61 00 1C */ lfs f27, 0x1c(r1) -/* 8008B4D4 00088434 38 61 00 0C */ addi r3, r1, 0xc -/* 8008B4D8 00088438 C3 41 00 20 */ lfs f26, 0x20(r1) -/* 8008B4DC 0008843C 38 BF 02 84 */ addi r5, r31, 0x284 -/* 8008B4E0 00088440 80 DF 02 CC */ lwz r6, 0x2cc(r31) -/* 8008B4E4 00088444 48 00 02 79 */ bl "CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i" -/* 8008B4E8 00088448 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008B4EC 0008844C C0 61 00 0C */ lfs f3, 0xc(r1) -/* 8008B4F0 00088450 FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 8008B4F4 00088454 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 8008B4F8 00088458 C0 A1 00 14 */ lfs f5, 0x14(r1) -/* 8008B4FC 0008845C 40 82 00 14 */ bne lbl_8008B510 -/* 8008B500 00088460 D3 DF 02 A0 */ stfs f30, 0x2a0(r31) -/* 8008B504 00088464 D3 FF 02 A4 */ stfs f31, 0x2a4(r31) -/* 8008B508 00088468 D3 BF 02 A8 */ stfs f29, 0x2a8(r31) -/* 8008B50C 0008846C 48 00 00 20 */ b lbl_8008B52C -lbl_8008B510: -/* 8008B510 00088470 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8008B514 00088474 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8008B518 00088478 D0 1F 02 A0 */ stfs f0, 0x2a0(r31) -/* 8008B51C 0008847C C0 03 00 04 */ lfs f0, 4(r3) -/* 8008B520 00088480 D0 1F 02 A4 */ stfs f0, 0x2a4(r31) -/* 8008B524 00088484 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008B528 00088488 D0 1F 02 A8 */ stfs f0, 0x2a8(r31) -lbl_8008B52C: -/* 8008B52C 0008848C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008B530 00088490 C3 FF 02 A0 */ lfs f31, 0x2a0(r31) -/* 8008B534 00088494 FC 00 D8 00 */ fcmpu cr0, f0, f27 -/* 8008B538 00088498 C3 DF 02 A8 */ lfs f30, 0x2a8(r31) -/* 8008B53C 0008849C 40 82 00 14 */ bne lbl_8008B550 -/* 8008B540 000884A0 D3 9F 02 AC */ stfs f28, 0x2ac(r31) -/* 8008B544 000884A4 D3 7F 02 B0 */ stfs f27, 0x2b0(r31) -/* 8008B548 000884A8 D3 5F 02 B4 */ stfs f26, 0x2b4(r31) -/* 8008B54C 000884AC 48 00 00 20 */ b lbl_8008B56C -lbl_8008B550: -/* 8008B550 000884B0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8008B554 000884B4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8008B558 000884B8 D0 1F 02 AC */ stfs f0, 0x2ac(r31) -/* 8008B55C 000884BC C0 03 00 04 */ lfs f0, 4(r3) -/* 8008B560 000884C0 D0 1F 02 B0 */ stfs f0, 0x2b0(r31) -/* 8008B564 000884C4 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008B568 000884C8 D0 1F 02 B4 */ stfs f0, 0x2b4(r31) -lbl_8008B56C: -/* 8008B56C 000884CC C0 5F 02 AC */ lfs f2, 0x2ac(r31) -/* 8008B570 000884D0 C0 3F 02 B4 */ lfs f1, 0x2b4(r31) -/* 8008B574 000884D4 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008B578 000884D8 EF FF 10 2A */ fadds f31, f31, f2 -/* 8008B57C 000884DC EF DE 08 2A */ fadds f30, f30, f1 -/* 8008B580 000884E0 FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 8008B584 000884E4 40 82 00 14 */ bne lbl_8008B598 -/* 8008B588 000884E8 D0 7F 02 B8 */ stfs f3, 0x2b8(r31) -/* 8008B58C 000884EC D0 9F 02 BC */ stfs f4, 0x2bc(r31) -/* 8008B590 000884F0 D0 BF 02 C0 */ stfs f5, 0x2c0(r31) -/* 8008B594 000884F4 48 00 00 20 */ b lbl_8008B5B4 -lbl_8008B598: -/* 8008B598 000884F8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8008B59C 000884FC C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8008B5A0 00088500 D0 1F 02 B8 */ stfs f0, 0x2b8(r31) -/* 8008B5A4 00088504 C0 03 00 04 */ lfs f0, 4(r3) -/* 8008B5A8 00088508 D0 1F 02 BC */ stfs f0, 0x2bc(r31) -/* 8008B5AC 0008850C C0 03 00 08 */ lfs f0, 8(r3) -/* 8008B5B0 00088510 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -lbl_8008B5B4: -/* 8008B5B4 00088514 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008B5B8 00088518 C0 3F 02 B8 */ lfs f1, 0x2b8(r31) -/* 8008B5BC 0008851C C0 1F 02 C0 */ lfs f0, 0x2c0(r31) -/* 8008B5C0 00088520 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8008B5C4 00088524 EF FF 08 2A */ fadds f31, f31, f1 -/* 8008B5C8 00088528 EF DE 00 2A */ fadds f30, f30, f0 -/* 8008B5CC 0008852C 41 82 00 0C */ beq lbl_8008B5D8 -/* 8008B5D0 00088530 C0 02 8A 5C */ lfs f0, lbl_805AA77C@sda21(r2) -/* 8008B5D4 00088534 EF FF 00 24 */ fdivs f31, f31, f0 -lbl_8008B5D8: -/* 8008B5D8 00088538 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) -/* 8008B5DC 0008853C 28 00 00 00 */ cmplwi r0, 0 -/* 8008B5E0 00088540 EF DE 00 24 */ fdivs f30, f30, f0 -/* 8008B5E4 00088544 40 82 00 B0 */ bne lbl_8008B694 -/* 8008B5E8 00088548 A0 7F 03 68 */ lhz r3, 0x368(r31) -/* 8008B5EC 0008854C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008B5F0 00088550 7C 03 00 40 */ cmplw r3, r0 -/* 8008B5F4 00088554 40 82 00 A0 */ bne lbl_8008B694 -/* 8008B5F8 00088558 80 BF 03 50 */ lwz r5, 0x350(r31) -/* 8008B5FC 0008855C 38 80 00 00 */ li r4, 0 -/* 8008B600 00088560 80 DF 03 54 */ lwz r6, 0x354(r31) -/* 8008B604 00088564 3C 60 80 00 */ lis r3, 0x8000 -/* 8008B608 00088568 7C A0 20 38 */ and r0, r5, r4 -/* 8008B60C 0008856C C3 42 8A 5C */ lfs f26, lbl_805AA77C@sda21(r2) -/* 8008B610 00088570 7C C3 18 38 */ and r3, r6, r3 -/* 8008B614 00088574 C3 62 89 B8 */ lfs f27, lbl_805AA6D8@sda21(r2) -/* 8008B618 00088578 7C 63 22 78 */ xor r3, r3, r4 -/* 8008B61C 0008857C 7C 00 22 78 */ xor r0, r0, r4 -/* 8008B620 00088580 7C 60 03 79 */ or. r0, r3, r0 -/* 8008B624 00088584 41 82 00 08 */ beq lbl_8008B62C -/* 8008B628 00088588 38 80 00 01 */ li r4, 1 -lbl_8008B62C: -/* 8008B62C 0008858C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8008B630 00088590 41 82 00 10 */ beq lbl_8008B640 -/* 8008B634 00088594 C0 22 89 E0 */ lfs f1, lbl_805AA700@sda21(r2) -/* 8008B638 00088598 C0 1F 03 58 */ lfs f0, 0x358(r31) -/* 8008B63C 0008859C EF 61 D8 3A */ fmadds f27, f1, f0, f27 -lbl_8008B640: -/* 8008B640 000885A0 3C 00 40 00 */ lis r0, 0x4000 -/* 8008B644 000885A4 38 80 00 00 */ li r4, 0 -/* 8008B648 000885A8 7C C3 00 38 */ and r3, r6, r0 -/* 8008B64C 000885AC 7C A0 20 38 */ and r0, r5, r4 -/* 8008B650 000885B0 7C 63 22 78 */ xor r3, r3, r4 -/* 8008B654 000885B4 7C 00 22 78 */ xor r0, r0, r4 -/* 8008B658 000885B8 7C 60 03 79 */ or. r0, r3, r0 -/* 8008B65C 000885BC 41 82 00 30 */ beq lbl_8008B68C -/* 8008B660 000885C0 C0 3F 03 58 */ lfs f1, 0x358(r31) -/* 8008B664 000885C4 38 81 00 08 */ addi r4, r1, 8 -/* 8008B668 000885C8 C0 02 8A 04 */ lfs f0, lbl_805AA724@sda21(r2) -/* 8008B66C 000885CC 38 6D 84 7C */ addi r3, r13, lbl_805A703C@sda21 -/* 8008B670 000885D0 38 AD 84 80 */ addi r5, r13, lbl_805A7040@sda21 -/* 8008B674 000885D4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8008B678 000885D8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8008B67C 000885DC 4B F8 0C 39 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8008B680 000885E0 C0 23 00 00 */ lfs f1, 0(r3) -/* 8008B684 000885E4 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) -/* 8008B688 000885E8 EF 40 D0 7A */ fmadds f26, f0, f1, f26 -lbl_8008B68C: -/* 8008B68C 000885EC EF FF 06 B2 */ fmuls f31, f31, f26 -/* 8008B690 000885F0 EF DE 06 F2 */ fmuls f30, f30, f27 -lbl_8008B694: -/* 8008B694 000885F4 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008B698 000885F8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8008B69C 000885FC 40 82 00 24 */ bne lbl_8008B6C0 -/* 8008B6A0 00088600 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8008B6A4 00088604 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8008B6A8 00088608 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8008B6AC 0008860C C0 03 00 04 */ lfs f0, 4(r3) -/* 8008B6B0 00088610 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8008B6B4 00088614 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008B6B8 00088618 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8008B6BC 0008861C 48 00 00 58 */ b lbl_8008B714 -lbl_8008B6C0: -/* 8008B6C0 00088620 FC 20 FA 10 */ fabs f1, f31 -/* 8008B6C4 00088624 C0 02 8A A8 */ lfs f0, lbl_805AA7C8@sda21(r2) -/* 8008B6C8 00088628 FC 20 08 18 */ frsp f1, f1 -/* 8008B6CC 0008862C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008B6D0 00088630 40 80 00 08 */ bge lbl_8008B6D8 -/* 8008B6D4 00088634 C3 E2 89 B0 */ lfs f31, lbl_805AA6D0@sda21(r2) -lbl_8008B6D8: -/* 8008B6D8 00088638 FC 20 F2 10 */ fabs f1, f30 -/* 8008B6DC 0008863C C0 02 8A A8 */ lfs f0, lbl_805AA7C8@sda21(r2) -/* 8008B6E0 00088640 FC 20 08 18 */ frsp f1, f1 -/* 8008B6E4 00088644 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008B6E8 00088648 40 80 00 08 */ bge lbl_8008B6F0 -/* 8008B6EC 0008864C C3 C2 89 B0 */ lfs f30, lbl_805AA6D0@sda21(r2) -lbl_8008B6F0: -/* 8008B6F0 00088650 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008B6F4 00088654 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8008B6F8 00088658 41 82 00 0C */ beq lbl_8008B704 -/* 8008B6FC 0008865C C0 02 89 DC */ lfs f0, lbl_805AA6FC@sda21(r2) -/* 8008B700 00088660 EF DE 00 32 */ fmuls f30, f30, f0 -lbl_8008B704: -/* 8008B704 00088664 D3 FE 00 00 */ stfs f31, 0(r30) -/* 8008B708 00088668 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008B70C 0008866C D0 1E 00 04 */ stfs f0, 4(r30) -/* 8008B710 00088670 D3 DE 00 08 */ stfs f30, 8(r30) -lbl_8008B714: -/* 8008B714 00088674 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8008B718 00088678 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8008B71C 0008867C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8008B720 00088680 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8008B724 00088684 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8008B728 00088688 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8008B72C 0008868C E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 8008B730 00088690 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 8008B734 00088694 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 8008B738 00088698 CB 61 00 50 */ lfd f27, 0x50(r1) -/* 8008B73C 0008869C E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 -/* 8008B740 000886A0 CB 41 00 40 */ lfd f26, 0x40(r1) -/* 8008B744 000886A4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8008B748 000886A8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8008B74C 000886AC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8008B750 000886B0 7C 08 03 A6 */ mtlr r0 -/* 8008B754 000886B4 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8008B758 000886B8 4E 80 00 20 */ blr - -.global "CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i" -"CalculateCollidersCentroid__11CBallCameraCFRCQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>i": -/* 8008B75C 000886BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8008B760 000886C0 81 25 00 04 */ lwz r9, 4(r5) -/* 8008B764 000886C4 2C 09 00 03 */ cmpwi r9, 3 -/* 8008B768 000886C8 40 80 00 1C */ bge lbl_8008B784 -/* 8008B76C 000886CC C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 8008B770 000886D0 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 8008B774 000886D4 D0 23 00 00 */ stfs f1, 0(r3) -/* 8008B778 000886D8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8008B77C 000886DC D0 23 00 08 */ stfs f1, 8(r3) -/* 8008B780 000886E0 48 00 01 44 */ b lbl_8008B8C4 -lbl_8008B784: -/* 8008B784 000886E4 C0 C2 89 B0 */ lfs f6, lbl_805AA6D0@sda21(r2) -/* 8008B788 000886E8 38 09 FF FF */ addi r0, r9, -1 -/* 8008B78C 000886EC 39 40 00 00 */ li r10, 0 -/* 8008B790 000886F0 39 60 00 00 */ li r11, 0 -/* 8008B794 000886F4 FC E0 30 90 */ fmr f7, f6 -/* 8008B798 000886F8 38 C0 00 00 */ li r6, 0 -/* 8008B79C 000886FC FD 00 30 90 */ fmr f8, f6 -/* 8008B7A0 00088700 7D 29 03 A6 */ mtctr r9 -/* 8008B7A4 00088704 2C 09 00 00 */ cmpwi r9, 0 -/* 8008B7A8 00088708 40 81 00 84 */ ble lbl_8008B82C -lbl_8008B7AC: -/* 8008B7AC 0008870C 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008B7B0 00088710 80 E5 00 0C */ lwz r7, 0xc(r5) -/* 8008B7B4 00088714 7D 07 02 14 */ add r8, r7, r0 -/* 8008B7B8 00088718 80 08 00 4C */ lwz r0, 0x4c(r8) -/* 8008B7BC 0008871C 2C 00 00 02 */ cmpwi r0, 2 -/* 8008B7C0 00088720 40 80 00 58 */ bge lbl_8008B818 -/* 8008B7C4 00088724 7C E7 32 14 */ add r7, r7, r6 -/* 8008B7C8 00088728 80 07 00 4C */ lwz r0, 0x4c(r7) -/* 8008B7CC 0008872C 2C 00 00 02 */ cmpwi r0, 2 -/* 8008B7D0 00088730 40 80 00 48 */ bge lbl_8008B818 -/* 8008B7D4 00088734 C0 A8 00 50 */ lfs f5, 0x50(r8) -/* 8008B7D8 00088738 C0 28 00 10 */ lfs f1, 0x10(r8) -/* 8008B7DC 0008873C C0 07 00 08 */ lfs f0, 8(r7) -/* 8008B7E0 00088740 C0 48 00 08 */ lfs f2, 8(r8) -/* 8008B7E4 00088744 EC 65 00 72 */ fmuls f3, f5, f1 -/* 8008B7E8 00088748 EC 25 00 32 */ fmuls f1, f5, f0 -/* 8008B7EC 0008874C C0 07 00 10 */ lfs f0, 0x10(r7) -/* 8008B7F0 00088750 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 8008B7F4 00088754 EC A5 00 32 */ fmuls f5, f5, f0 -/* 8008B7F8 00088758 EC 41 00 F2 */ fmuls f2, f1, f3 -/* 8008B7FC 0008875C EC 21 20 2A */ fadds f1, f1, f4 -/* 8008B800 00088760 EC 05 18 2A */ fadds f0, f5, f3 -/* 8008B804 00088764 EC 44 11 78 */ fmsubs f2, f4, f5, f2 -/* 8008B808 00088768 EC C6 10 2A */ fadds f6, f6, f2 -/* 8008B80C 0008876C EC E2 38 7A */ fmadds f7, f2, f1, f7 -/* 8008B810 00088770 ED 02 40 3A */ fmadds f8, f2, f0, f8 -/* 8008B814 00088774 48 00 00 08 */ b lbl_8008B81C -lbl_8008B818: -/* 8008B818 00088778 39 4A 00 01 */ addi r10, r10, 1 -lbl_8008B81C: -/* 8008B81C 0008877C 7D 60 5B 78 */ mr r0, r11 -/* 8008B820 00088780 38 C6 00 54 */ addi r6, r6, 0x54 -/* 8008B824 00088784 39 6B 00 01 */ addi r11, r11, 1 -/* 8008B828 00088788 42 00 FF 84 */ bdnz lbl_8008B7AC -lbl_8008B82C: -/* 8008B82C 0008878C 3C A0 43 30 */ lis r5, 0x4330 -/* 8008B830 00088790 6D 46 80 00 */ xoris r6, r10, 0x8000 -/* 8008B834 00088794 6D 20 80 00 */ xoris r0, r9, 0x8000 -/* 8008B838 00088798 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8008B83C 0008879C C8 62 89 C8 */ lfd f3, lbl_805AA6E8@sda21(r2) -/* 8008B840 000887A0 90 A1 00 08 */ stw r5, 8(r1) -/* 8008B844 000887A4 C0 04 03 30 */ lfs f0, 0x330(r4) -/* 8008B848 000887A8 C8 21 00 08 */ lfd f1, 8(r1) -/* 8008B84C 000887AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008B850 000887B0 EC 41 18 28 */ fsubs f2, f1, f3 -/* 8008B854 000887B4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8008B858 000887B8 C8 21 00 10 */ lfd f1, 0x10(r1) -/* 8008B85C 000887BC EC 21 18 28 */ fsubs f1, f1, f3 -/* 8008B860 000887C0 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8008B864 000887C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008B868 000887C8 4C 40 13 82 */ cror 2, 0, 2 -/* 8008B86C 000887CC 40 82 00 1C */ bne lbl_8008B888 -/* 8008B870 000887D0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 8008B874 000887D4 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 8008B878 000887D8 D0 23 00 00 */ stfs f1, 0(r3) -/* 8008B87C 000887DC D0 03 00 04 */ stfs f0, 4(r3) -/* 8008B880 000887E0 D0 23 00 08 */ stfs f1, 8(r3) -/* 8008B884 000887E4 48 00 00 40 */ b lbl_8008B8C4 -lbl_8008B888: -/* 8008B888 000887E8 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 8008B88C 000887EC FC 01 30 00 */ fcmpu cr0, f1, f6 -/* 8008B890 000887F0 41 82 00 24 */ beq lbl_8008B8B4 -/* 8008B894 000887F4 C0 02 89 E4 */ lfs f0, lbl_805AA704@sda21(r2) -/* 8008B898 000887F8 EC 40 01 B2 */ fmuls f2, f0, f6 -/* 8008B89C 000887FC EC 07 10 24 */ fdivs f0, f7, f2 -/* 8008B8A0 00088800 D0 03 00 00 */ stfs f0, 0(r3) -/* 8008B8A4 00088804 EC 08 10 24 */ fdivs f0, f8, f2 -/* 8008B8A8 00088808 D0 23 00 04 */ stfs f1, 4(r3) -/* 8008B8AC 0008880C D0 03 00 08 */ stfs f0, 8(r3) -/* 8008B8B0 00088810 48 00 00 14 */ b lbl_8008B8C4 -lbl_8008B8B4: -/* 8008B8B4 00088814 D0 23 00 00 */ stfs f1, 0(r3) -/* 8008B8B8 00088818 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008B8BC 0008881C D0 03 00 04 */ stfs f0, 4(r3) -/* 8008B8C0 00088820 D0 23 00 08 */ stfs f1, 8(r3) -lbl_8008B8C4: -/* 8008B8C4 00088824 38 21 00 20 */ addi r1, r1, 0x20 -/* 8008B8C8 00088828 4E 80 00 20 */ blr - -.global "UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager" -"UpdateColliders__11CBallCameraFRC12CTransform4fRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>RiifRCQ24rstl32reserved_vector<9TUniqueId,1024>fR13CStateManager": -/* 8008B8CC 0008882C 94 21 FD B0 */ stwu r1, -0x250(r1) -/* 8008B8D0 00088830 7C 08 02 A6 */ mflr r0 -/* 8008B8D4 00088834 90 01 02 54 */ stw r0, 0x254(r1) -/* 8008B8D8 00088838 DB E1 02 40 */ stfd f31, 0x240(r1) -/* 8008B8DC 0008883C F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0 -/* 8008B8E0 00088840 DB C1 02 30 */ stfd f30, 0x230(r1) -/* 8008B8E4 00088844 F3 C1 02 38 */ psq_st f30, 568(r1), 0, qr0 -/* 8008B8E8 00088848 DB A1 02 20 */ stfd f29, 0x220(r1) -/* 8008B8EC 0008884C F3 A1 02 28 */ psq_st f29, 552(r1), 0, qr0 -/* 8008B8F0 00088850 DB 81 02 10 */ stfd f28, 0x210(r1) -/* 8008B8F4 00088854 F3 81 02 18 */ psq_st f28, 536(r1), 0, qr0 -/* 8008B8F8 00088858 DB 61 02 00 */ stfd f27, 0x200(r1) -/* 8008B8FC 0008885C F3 61 02 08 */ psq_st f27, 520(r1), 0, qr0 -/* 8008B900 00088860 DB 41 01 F0 */ stfd f26, 0x1f0(r1) -/* 8008B904 00088864 F3 41 01 F8 */ psq_st f26, 504(r1), 0, qr0 -/* 8008B908 00088868 DB 21 01 E0 */ stfd f25, 0x1e0(r1) -/* 8008B90C 0008886C F3 21 01 E8 */ psq_st f25, 488(r1), 0, qr0 -/* 8008B910 00088870 DB 01 01 D0 */ stfd f24, 0x1d0(r1) -/* 8008B914 00088874 F3 01 01 D8 */ psq_st f24, 472(r1), 0, qr0 -/* 8008B918 00088878 BF 01 01 B0 */ stmw r24, 0x1b0(r1) -/* 8008B91C 0008887C 7C B9 2B 78 */ mr r25, r5 -/* 8008B920 00088880 7C DA 33 78 */ mr r26, r6 -/* 8008B924 00088884 80 A6 00 00 */ lwz r5, 0(r6) -/* 8008B928 00088888 FF 40 08 90 */ fmr f26, f1 -/* 8008B92C 0008888C 80 19 00 04 */ lwz r0, 4(r25) -/* 8008B930 00088890 7C 78 1B 78 */ mr r24, r3 -/* 8008B934 00088894 7C FB 3B 78 */ mr r27, r7 -/* 8008B938 00088898 7D 1C 43 78 */ mr r28, r8 -/* 8008B93C 0008889C 7C 05 00 00 */ cmpw r5, r0 -/* 8008B940 000888A0 7D 3D 4B 78 */ mr r29, r9 -/* 8008B944 000888A4 40 80 05 30 */ bge lbl_8008BE74 -/* 8008B948 000888A8 80 ED A1 18 */ lwz r7, gpTweakPlayer@sda21(r13) -/* 8008B94C 000888AC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8008B950 000888B0 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) -/* 8008B954 000888B4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8008B958 000888B8 81 1D 08 4C */ lwz r8, 0x84c(r29) -/* 8008B95C 000888BC 38 61 01 50 */ addi r3, r1, 0x150 -/* 8008B960 000888C0 C0 45 00 7C */ lfs f2, 0x7c(r5) -/* 8008B964 000888C4 38 B8 03 1C */ addi r5, r24, 0x31c -/* 8008B968 000888C8 C0 27 02 7C */ lfs f1, 0x27c(r7) -/* 8008B96C 000888CC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008B970 000888D0 D0 18 03 10 */ stfs f0, 0x310(r24) -/* 8008B974 000888D4 D0 58 03 14 */ stfs f2, 0x314(r24) -/* 8008B978 000888D8 D0 38 03 18 */ stfs f1, 0x318(r24) -/* 8008B97C 000888DC C0 38 03 14 */ lfs f1, 0x314(r24) -/* 8008B980 000888E0 C0 18 03 08 */ lfs f0, 0x308(r24) -/* 8008B984 000888E4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8008B988 000888E8 D0 18 03 14 */ stfs f0, 0x314(r24) -/* 8008B98C 000888EC C0 78 03 14 */ lfs f3, 0x314(r24) -/* 8008B990 000888F0 C0 08 05 0C */ lfs f0, 0x50c(r8) -/* 8008B994 000888F4 C0 48 05 10 */ lfs f2, 0x510(r8) -/* 8008B998 000888F8 C0 28 05 14 */ lfs f1, 0x514(r8) -/* 8008B99C 000888FC EC 03 00 32 */ fmuls f0, f3, f0 -/* 8008B9A0 00088900 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8008B9A4 00088904 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8008B9A8 00088908 D0 18 03 1C */ stfs f0, 0x31c(r24) -/* 8008B9AC 0008890C D0 58 03 20 */ stfs f2, 0x320(r24) -/* 8008B9B0 00088910 D0 38 03 24 */ stfs f1, 0x324(r24) -/* 8008B9B4 00088914 C0 18 03 18 */ lfs f0, 0x318(r24) -/* 8008B9B8 00088918 D0 18 03 24 */ stfs f0, 0x324(r24) -/* 8008B9BC 0008891C C0 38 03 1C */ lfs f1, 0x31c(r24) -/* 8008B9C0 00088920 C0 08 00 40 */ lfs f0, 0x40(r8) -/* 8008B9C4 00088924 C0 48 00 60 */ lfs f2, 0x60(r8) -/* 8008B9C8 00088928 EC 01 00 2A */ fadds f0, f1, f0 -/* 8008B9CC 0008892C C0 28 00 50 */ lfs f1, 0x50(r8) -/* 8008B9D0 00088930 D0 18 03 1C */ stfs f0, 0x31c(r24) -/* 8008B9D4 00088934 C0 18 03 20 */ lfs f0, 0x320(r24) -/* 8008B9D8 00088938 EC 00 08 2A */ fadds f0, f0, f1 -/* 8008B9DC 0008893C D0 18 03 20 */ stfs f0, 0x320(r24) -/* 8008B9E0 00088940 C0 18 03 24 */ lfs f0, 0x324(r24) -/* 8008B9E4 00088944 EC 00 10 2A */ fadds f0, f0, f2 -/* 8008B9E8 00088948 D0 18 03 24 */ stfs f0, 0x324(r24) -/* 8008B9EC 0008894C C0 44 00 2C */ lfs f2, 0x2c(r4) -/* 8008B9F0 00088950 C0 24 00 1C */ lfs f1, 0x1c(r4) -/* 8008B9F4 00088954 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8008B9F8 00088958 38 81 00 84 */ addi r4, r1, 0x84 -/* 8008B9FC 0008895C D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8008BA00 00088960 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 8008BA04 00088964 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 8008BA08 00088968 48 28 81 09 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8008BA0C 0008896C 38 61 01 80 */ addi r3, r1, 0x180 -/* 8008BA10 00088970 38 81 01 50 */ addi r4, r1, 0x150 -/* 8008BA14 00088974 48 28 71 61 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008BA18 00088978 C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 8008BA1C 0008897C 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 8008BA20 00088980 C3 61 01 AC */ lfs f27, 0x1ac(r1) -/* 8008BA24 00088984 3B E3 C4 08 */ addi r31, r3, lbl_8046C408@l -/* 8008BA28 00088988 EF 40 D0 24 */ fdivs f26, f0, f26 -/* 8008BA2C 0008898C C3 81 01 9C */ lfs f28, 0x19c(r1) -/* 8008BA30 00088990 C3 A1 01 8C */ lfs f29, 0x18c(r1) -/* 8008BA34 00088994 3B C0 00 00 */ li r30, 0 -/* 8008BA38 00088998 C3 C2 89 BC */ lfs f30, lbl_805AA6DC@sda21(r2) -/* 8008BA3C 0008899C 48 00 04 30 */ b lbl_8008BE6C -lbl_8008BA40: -/* 8008BA40 000889A0 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BA44 000889A4 38 61 00 78 */ addi r3, r1, 0x78 -/* 8008BA48 000889A8 80 F9 00 0C */ lwz r7, 0xc(r25) -/* 8008BA4C 000889AC 38 81 01 80 */ addi r4, r1, 0x180 -/* 8008BA50 000889B0 1C C0 00 54 */ mulli r6, r0, 0x54 -/* 8008BA54 000889B4 C3 01 01 AC */ lfs f24, 0x1ac(r1) -/* 8008BA58 000889B8 C3 21 01 9C */ lfs f25, 0x19c(r1) -/* 8008BA5C 000889BC 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 8008BA60 000889C0 C3 E1 01 8C */ lfs f31, 0x18c(r1) -/* 8008BA64 000889C4 38 C6 00 14 */ addi r6, r6, 0x14 -/* 8008BA68 000889C8 7C C7 32 14 */ add r6, r7, r6 -/* 8008BA6C 000889CC C0 26 00 04 */ lfs f1, 4(r6) -/* 8008BA70 000889D0 C0 46 00 08 */ lfs f2, 8(r6) -/* 8008BA74 000889D4 C0 06 00 00 */ lfs f0, 0(r6) -/* 8008BA78 000889D8 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 8008BA7C 000889DC D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 8008BA80 000889E0 D0 41 00 BC */ stfs f2, 0xbc(r1) -/* 8008BA84 000889E4 48 28 6F FD */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8008BA88 000889E8 C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 8008BA8C 000889EC 38 61 00 6C */ addi r3, r1, 0x6c -/* 8008BA90 000889F0 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 8008BA94 000889F4 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8008BA98 000889F8 EC A2 C8 2A */ fadds f5, f2, f25 -/* 8008BA9C 000889FC EC 81 C0 2A */ fadds f4, f1, f24 -/* 8008BAA0 00088A00 EC 60 F8 2A */ fadds f3, f0, f31 -/* 8008BAA4 00088A04 D0 A1 00 AC */ stfs f5, 0xac(r1) -/* 8008BAA8 00088A08 D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 8008BAAC 00088A0C D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 8008BAB0 00088A10 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BAB4 00088A14 80 B9 00 0C */ lwz r5, 0xc(r25) -/* 8008BAB8 00088A18 1C 80 00 54 */ mulli r4, r0, 0x54 -/* 8008BABC 00088A1C 38 84 00 2C */ addi r4, r4, 0x2c -/* 8008BAC0 00088A20 7C 85 22 14 */ add r4, r5, r4 -/* 8008BAC4 00088A24 C0 44 00 04 */ lfs f2, 4(r4) -/* 8008BAC8 00088A28 C0 24 00 08 */ lfs f1, 8(r4) -/* 8008BACC 00088A2C C0 04 00 00 */ lfs f0, 0(r4) -/* 8008BAD0 00088A30 EC 42 28 28 */ fsubs f2, f2, f5 -/* 8008BAD4 00088A34 EC 21 20 28 */ fsubs f1, f1, f4 -/* 8008BAD8 00088A38 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8008BADC 00088A3C D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8008BAE0 00088A40 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8008BAE4 00088A44 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 8008BAE8 00088A48 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8008BAEC 00088A4C D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8008BAF0 00088A50 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 8008BAF4 00088A54 48 28 8D C5 */ bl Magnitude__9CVector3fCFv -/* 8008BAF8 00088A58 FC 01 F0 40 */ fcmpo cr0, f1, f30 -/* 8008BAFC 00088A5C 40 80 00 50 */ bge lbl_8008BB4C -/* 8008BB00 00088A60 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BB04 00088A64 80 99 00 0C */ lwz r4, 0xc(r25) -/* 8008BB08 00088A68 1C 60 00 54 */ mulli r3, r0, 0x54 -/* 8008BB0C 00088A6C 38 A3 00 08 */ addi r5, r3, 8 -/* 8008BB10 00088A70 7C A4 2A 14 */ add r5, r4, r5 -/* 8008BB14 00088A74 38 63 00 2C */ addi r3, r3, 0x2c -/* 8008BB18 00088A78 C0 05 00 00 */ lfs f0, 0(r5) -/* 8008BB1C 00088A7C 7C 64 1A 14 */ add r3, r4, r3 -/* 8008BB20 00088A80 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 8008BB24 00088A84 C0 05 00 04 */ lfs f0, 4(r5) -/* 8008BB28 00088A88 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8008BB2C 00088A8C C0 05 00 08 */ lfs f0, 8(r5) -/* 8008BB30 00088A90 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 8008BB34 00088A94 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008BB38 00088A98 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 8008BB3C 00088A9C C0 03 00 04 */ lfs f0, 4(r3) -/* 8008BB40 00088AA0 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 8008BB44 00088AA4 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008BB48 00088AA8 D0 01 00 B0 */ stfs f0, 0xb0(r1) -lbl_8008BB4C: -/* 8008BB4C 00088AAC C0 41 00 AC */ lfs f2, 0xac(r1) -/* 8008BB50 00088AB0 38 61 00 9C */ addi r3, r1, 0x9c -/* 8008BB54 00088AB4 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 8008BB58 00088AB8 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 8008BB5C 00088ABC EC 42 E0 28 */ fsubs f2, f2, f28 -/* 8008BB60 00088AC0 EC 21 D8 28 */ fsubs f1, f1, f27 -/* 8008BB64 00088AC4 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 8008BB68 00088AC8 D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 8008BB6C 00088ACC D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8008BB70 00088AD0 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 8008BB74 00088AD4 48 28 8D 45 */ bl Magnitude__9CVector3fCFv -/* 8008BB78 00088AD8 FF E0 08 90 */ fmr f31, f1 -/* 8008BB7C 00088ADC 38 61 00 9C */ addi r3, r1, 0x9c -/* 8008BB80 00088AE0 48 28 8B 79 */ bl CanBeNormalized__9CVector3fCFv -/* 8008BB84 00088AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008BB88 00088AE8 41 82 01 30 */ beq lbl_8008BCB8 -/* 8008BB8C 00088AEC 38 61 00 9C */ addi r3, r1, 0x9c -/* 8008BB90 00088AF0 48 28 8D 69 */ bl Normalize__9CVector3fFv -/* 8008BB94 00088AF4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008BB98 00088AF8 3C 60 80 47 */ lis r3, lbl_8046C408@ha -/* 8008BB9C 00088AFC 39 03 C4 08 */ addi r8, r3, lbl_8046C408@l -/* 8008BBA0 00088B00 C0 61 01 8C */ lfs f3, 0x18c(r1) -/* 8008BBA4 00088B04 B0 01 00 08 */ sth r0, 8(r1) -/* 8008BBA8 00088B08 7F A4 EB 78 */ mr r4, r29 -/* 8008BBAC 00088B0C C0 41 01 9C */ lfs f2, 0x19c(r1) -/* 8008BBB0 00088B10 7F 89 E3 78 */ mr r9, r28 -/* 8008BBB4 00088B14 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BBB8 00088B18 38 61 01 20 */ addi r3, r1, 0x120 -/* 8008BBBC 00088B1C 81 59 00 0C */ lwz r10, 0xc(r25) -/* 8008BBC0 00088B20 38 A1 00 08 */ addi r5, r1, 8 -/* 8008BBC4 00088B24 1C E0 00 54 */ mulli r7, r0, 0x54 -/* 8008BBC8 00088B28 C0 01 01 AC */ lfs f0, 0x1ac(r1) -/* 8008BBCC 00088B2C 38 C1 00 54 */ addi r6, r1, 0x54 -/* 8008BBD0 00088B30 38 07 00 04 */ addi r0, r7, 4 -/* 8008BBD4 00088B34 7C 2A 04 2E */ lfsx f1, r10, r0 -/* 8008BBD8 00088B38 38 E1 00 9C */ addi r7, r1, 0x9c -/* 8008BBDC 00088B3C EC 3F 08 2A */ fadds f1, f31, f1 -/* 8008BBE0 00088B40 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 8008BBE4 00088B44 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8008BBE8 00088B48 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8008BBEC 00088B4C 4B FC 13 D9 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 8008BBF0 00088B50 88 01 01 40 */ lbz r0, 0x140(r1) -/* 8008BBF4 00088B54 C0 C1 01 20 */ lfs f6, 0x120(r1) -/* 8008BBF8 00088B58 28 00 00 00 */ cmplwi r0, 0 -/* 8008BBFC 00088B5C 41 82 00 BC */ beq lbl_8008BCB8 -/* 8008BC00 00088B60 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BC04 00088B64 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8008BC08 00088B68 80 D9 00 0C */ lwz r6, 0xc(r25) -/* 8008BC0C 00088B6C 38 81 01 80 */ addi r4, r1, 0x180 -/* 8008BC10 00088B70 1C A0 00 54 */ mulli r5, r0, 0x54 -/* 8008BC14 00088B74 C0 81 00 A0 */ lfs f4, 0xa0(r1) -/* 8008BC18 00088B78 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 8008BC1C 00088B7C C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 8008BC20 00088B80 38 05 00 04 */ addi r0, r5, 4 -/* 8008BC24 00088B84 C0 A1 01 9C */ lfs f5, 0x19c(r1) -/* 8008BC28 00088B88 7C 46 04 2E */ lfsx f2, r6, r0 -/* 8008BC2C 00088B8C C0 61 01 AC */ lfs f3, 0x1ac(r1) -/* 8008BC30 00088B90 EC C6 10 28 */ fsubs f6, f6, f2 -/* 8008BC34 00088B94 C0 41 01 8C */ lfs f2, 0x18c(r1) -/* 8008BC38 00088B98 EC 86 01 32 */ fmuls f4, f6, f4 -/* 8008BC3C 00088B9C EC 26 00 72 */ fmuls f1, f6, f1 -/* 8008BC40 00088BA0 EC 06 00 32 */ fmuls f0, f6, f0 -/* 8008BC44 00088BA4 EC C5 20 2A */ fadds f6, f5, f4 -/* 8008BC48 00088BA8 EC 83 08 2A */ fadds f4, f3, f1 -/* 8008BC4C 00088BAC EC 22 00 2A */ fadds f1, f2, f0 -/* 8008BC50 00088BB0 EC A6 28 28 */ fsubs f5, f6, f5 -/* 8008BC54 00088BB4 D0 C1 00 AC */ stfs f6, 0xac(r1) -/* 8008BC58 00088BB8 EC 64 18 28 */ fsubs f3, f4, f3 -/* 8008BC5C 00088BBC EC 01 10 28 */ fsubs f0, f1, f2 -/* 8008BC60 00088BC0 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 8008BC64 00088BC4 D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 8008BC68 00088BC8 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8008BC6C 00088BCC D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 8008BC70 00088BD0 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 8008BC74 00088BD4 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8008BC78 00088BD8 D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 8008BC7C 00088BDC D0 61 00 44 */ stfs f3, 0x44(r1) -/* 8008BC80 00088BE0 48 28 6F C1 */ bl GetRotation__12CTransform4fCFv -/* 8008BC84 00088BE4 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8008BC88 00088BE8 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 8008BC8C 00088BEC 48 28 6A 55 */ bl GetInverse__12CTransform4fCFv -/* 8008BC90 00088BF0 38 61 00 48 */ addi r3, r1, 0x48 -/* 8008BC94 00088BF4 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 8008BC98 00088BF8 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8008BC9C 00088BFC 48 28 6E 4D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8008BCA0 00088C00 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 8008BCA4 00088C04 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 8008BCA8 00088C08 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8008BCAC 00088C0C D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 8008BCB0 00088C10 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 8008BCB4 00088C14 D0 01 00 BC */ stfs f0, 0xbc(r1) -lbl_8008BCB8: -/* 8008BCB8 00088C18 80 81 00 A8 */ lwz r4, 0xa8(r1) -/* 8008BCBC 00088C1C 7F A3 EB 78 */ mr r3, r29 -/* 8008BCC0 00088C20 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BCC4 00088C24 7F 86 E3 78 */ mr r6, r28 -/* 8008BCC8 00088C28 90 81 00 24 */ stw r4, 0x24(r1) -/* 8008BCCC 00088C2C 7F E7 FB 78 */ mr r7, r31 -/* 8008BCD0 00088C30 80 A1 00 AC */ lwz r5, 0xac(r1) -/* 8008BCD4 00088C34 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008BCD8 00088C38 81 19 00 0C */ lwz r8, 0xc(r25) -/* 8008BCDC 00088C3C 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 8008BCE0 00088C40 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8008BCE4 00088C44 38 A1 00 90 */ addi r5, r1, 0x90 -/* 8008BCE8 00088C48 81 21 00 B0 */ lwz r9, 0xb0(r1) -/* 8008BCEC 00088C4C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8008BCF0 00088C50 7D 48 02 14 */ add r10, r8, r0 -/* 8008BCF4 00088C54 91 21 00 2C */ stw r9, 0x2c(r1) -/* 8008BCF8 00088C58 39 00 00 00 */ li r8, 0 -/* 8008BCFC 00088C5C C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8008BD00 00088C60 D0 0A 00 2C */ stfs f0, 0x2c(r10) -/* 8008BD04 00088C64 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8008BD08 00088C68 D0 2A 00 30 */ stfs f1, 0x30(r10) -/* 8008BD0C 00088C6C D0 0A 00 34 */ stfs f0, 0x34(r10) -/* 8008BD10 00088C70 81 21 00 B4 */ lwz r9, 0xb4(r1) -/* 8008BD14 00088C74 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BD18 00088C78 91 21 00 18 */ stw r9, 0x18(r1) -/* 8008BD1C 00088C7C 81 41 00 B8 */ lwz r10, 0xb8(r1) -/* 8008BD20 00088C80 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008BD24 00088C84 81 39 00 0C */ lwz r9, 0xc(r25) -/* 8008BD28 00088C88 91 41 00 1C */ stw r10, 0x1c(r1) -/* 8008BD2C 00088C8C 81 41 00 BC */ lwz r10, 0xbc(r1) -/* 8008BD30 00088C90 7D 29 02 14 */ add r9, r9, r0 -/* 8008BD34 00088C94 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8008BD38 00088C98 91 41 00 20 */ stw r10, 0x20(r1) -/* 8008BD3C 00088C9C C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8008BD40 00088CA0 D0 09 00 08 */ stfs f0, 8(r9) -/* 8008BD44 00088CA4 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8008BD48 00088CA8 D0 29 00 0C */ stfs f1, 0xc(r9) -/* 8008BD4C 00088CAC D0 09 00 10 */ stfs f0, 0x10(r9) -/* 8008BD50 00088CB0 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 8008BD54 00088CB4 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 8008BD58 00088CB8 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 8008BD5C 00088CBC EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8008BD60 00088CC0 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8008BD64 00088CC4 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8008BD68 00088CC8 EC 7A 00 B2 */ fmuls f3, f26, f2 -/* 8008BD6C 00088CCC EC 5A 00 72 */ fmuls f2, f26, f1 -/* 8008BD70 00088CD0 EC 3A 00 32 */ fmuls f1, f26, f0 -/* 8008BD74 00088CD4 D0 61 00 90 */ stfs f3, 0x90(r1) -/* 8008BD78 00088CD8 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8008BD7C 00088CDC D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8008BD80 00088CE0 C0 18 03 08 */ lfs f0, 0x308(r24) -/* 8008BD84 00088CE4 EC 63 00 32 */ fmuls f3, f3, f0 -/* 8008BD88 00088CE8 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8008BD8C 00088CEC EC 21 00 32 */ fmuls f1, f1, f0 -/* 8008BD90 00088CF0 D0 61 00 90 */ stfs f3, 0x90(r1) -/* 8008BD94 00088CF4 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8008BD98 00088CF8 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8008BD9C 00088CFC C0 18 03 1C */ lfs f0, 0x31c(r24) -/* 8008BDA0 00088D00 EC 03 00 2A */ fadds f0, f3, f0 -/* 8008BDA4 00088D04 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 8008BDA8 00088D08 C0 18 03 20 */ lfs f0, 0x320(r24) -/* 8008BDAC 00088D0C 80 01 00 90 */ lwz r0, 0x90(r1) -/* 8008BDB0 00088D10 EC 02 00 2A */ fadds f0, f2, f0 -/* 8008BDB4 00088D14 90 01 00 0C */ stw r0, 0xc(r1) -/* 8008BDB8 00088D18 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8008BDBC 00088D1C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8008BDC0 00088D20 C0 18 03 24 */ lfs f0, 0x324(r24) -/* 8008BDC4 00088D24 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8008BDC8 00088D28 EC 01 00 2A */ fadds f0, f1, f0 -/* 8008BDCC 00088D2C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8008BDD0 00088D30 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8008BDD4 00088D34 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8008BDD8 00088D38 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BDDC 00088D3C 81 41 00 98 */ lwz r10, 0x98(r1) -/* 8008BDE0 00088D40 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008BDE4 00088D44 81 39 00 0C */ lwz r9, 0xc(r25) -/* 8008BDE8 00088D48 91 41 00 14 */ stw r10, 0x14(r1) -/* 8008BDEC 00088D4C 7D 29 02 14 */ add r9, r9, r0 -/* 8008BDF0 00088D50 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8008BDF4 00088D54 D0 49 00 20 */ stfs f2, 0x20(r9) -/* 8008BDF8 00088D58 D0 29 00 24 */ stfs f1, 0x24(r9) -/* 8008BDFC 00088D5C D0 09 00 28 */ stfs f0, 0x28(r9) -/* 8008BE00 00088D60 4B FC 11 6D */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor" -/* 8008BE04 00088D64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008BE08 00088D68 41 82 00 20 */ beq lbl_8008BE28 -/* 8008BE0C 00088D6C 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BE10 00088D70 38 A0 00 00 */ li r5, 0 -/* 8008BE14 00088D74 80 99 00 0C */ lwz r4, 0xc(r25) -/* 8008BE18 00088D78 1C 60 00 54 */ mulli r3, r0, 0x54 -/* 8008BE1C 00088D7C 38 03 00 4C */ addi r0, r3, 0x4c -/* 8008BE20 00088D80 7C A4 01 2E */ stwx r5, r4, r0 -/* 8008BE24 00088D84 48 00 00 20 */ b lbl_8008BE44 -lbl_8008BE28: -/* 8008BE28 00088D88 80 1A 00 00 */ lwz r0, 0(r26) -/* 8008BE2C 00088D8C 80 79 00 0C */ lwz r3, 0xc(r25) -/* 8008BE30 00088D90 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008BE34 00088D94 7C 83 02 14 */ add r4, r3, r0 -/* 8008BE38 00088D98 80 64 00 4C */ lwz r3, 0x4c(r4) -/* 8008BE3C 00088D9C 38 03 00 01 */ addi r0, r3, 1 -/* 8008BE40 00088DA0 90 04 00 4C */ stw r0, 0x4c(r4) -lbl_8008BE44: -/* 8008BE44 00088DA4 80 7A 00 00 */ lwz r3, 0(r26) -/* 8008BE48 00088DA8 38 03 00 01 */ addi r0, r3, 1 -/* 8008BE4C 00088DAC 90 1A 00 00 */ stw r0, 0(r26) -/* 8008BE50 00088DB0 80 7A 00 00 */ lwz r3, 0(r26) -/* 8008BE54 00088DB4 80 19 00 04 */ lwz r0, 4(r25) -/* 8008BE58 00088DB8 7C 03 00 00 */ cmpw r3, r0 -/* 8008BE5C 00088DBC 40 82 00 0C */ bne lbl_8008BE68 -/* 8008BE60 00088DC0 38 00 00 00 */ li r0, 0 -/* 8008BE64 00088DC4 90 1A 00 00 */ stw r0, 0(r26) -lbl_8008BE68: -/* 8008BE68 00088DC8 3B DE 00 01 */ addi r30, r30, 1 -lbl_8008BE6C: -/* 8008BE6C 00088DCC 7C 1E D8 00 */ cmpw r30, r27 -/* 8008BE70 00088DD0 41 80 FB D0 */ blt lbl_8008BA40 -lbl_8008BE74: -/* 8008BE74 00088DD4 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0 -/* 8008BE78 00088DD8 CB E1 02 40 */ lfd f31, 0x240(r1) -/* 8008BE7C 00088DDC E3 C1 02 38 */ psq_l f30, 568(r1), 0, qr0 -/* 8008BE80 00088DE0 CB C1 02 30 */ lfd f30, 0x230(r1) -/* 8008BE84 00088DE4 E3 A1 02 28 */ psq_l f29, 552(r1), 0, qr0 -/* 8008BE88 00088DE8 CB A1 02 20 */ lfd f29, 0x220(r1) -/* 8008BE8C 00088DEC E3 81 02 18 */ psq_l f28, 536(r1), 0, qr0 -/* 8008BE90 00088DF0 CB 81 02 10 */ lfd f28, 0x210(r1) -/* 8008BE94 00088DF4 E3 61 02 08 */ psq_l f27, 520(r1), 0, qr0 -/* 8008BE98 00088DF8 CB 61 02 00 */ lfd f27, 0x200(r1) -/* 8008BE9C 00088DFC E3 41 01 F8 */ psq_l f26, 504(r1), 0, qr0 -/* 8008BEA0 00088E00 CB 41 01 F0 */ lfd f26, 0x1f0(r1) -/* 8008BEA4 00088E04 E3 21 01 E8 */ psq_l f25, 488(r1), 0, qr0 -/* 8008BEA8 00088E08 CB 21 01 E0 */ lfd f25, 0x1e0(r1) -/* 8008BEAC 00088E0C E3 01 01 D8 */ psq_l f24, 472(r1), 0, qr0 -/* 8008BEB0 00088E10 CB 01 01 D0 */ lfd f24, 0x1d0(r1) -/* 8008BEB4 00088E14 BB 01 01 B0 */ lmw r24, 0x1b0(r1) -/* 8008BEB8 00088E18 80 01 02 54 */ lwz r0, 0x254(r1) -/* 8008BEBC 00088E1C 7C 08 03 A6 */ mtlr r0 -/* 8008BEC0 00088E20 38 21 02 50 */ addi r1, r1, 0x250 -/* 8008BEC4 00088E24 4E 80 00 20 */ blr - -.global "UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff" -"UpdateCollidersDistances__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fff": -/* 8008BEC8 00088E28 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8008BECC 00088E2C 7C 08 02 A6 */ mflr r0 -/* 8008BED0 00088E30 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8008BED4 00088E34 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8008BED8 00088E38 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8008BEDC 00088E3C DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8008BEE0 00088E40 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8008BEE4 00088E44 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 8008BEE8 00088E48 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 8008BEEC 00088E4C DB 81 00 90 */ stfd f28, 0x90(r1) -/* 8008BEF0 00088E50 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 8008BEF4 00088E54 DB 61 00 80 */ stfd f27, 0x80(r1) -/* 8008BEF8 00088E58 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 -/* 8008BEFC 00088E5C DB 41 00 70 */ stfd f26, 0x70(r1) -/* 8008BF00 00088E60 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 -/* 8008BF04 00088E64 DB 21 00 60 */ stfd f25, 0x60(r1) -/* 8008BF08 00088E68 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 -/* 8008BF0C 00088E6C DB 01 00 50 */ stfd f24, 0x50(r1) -/* 8008BF10 00088E70 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 -/* 8008BF14 00088E74 DA E1 00 40 */ stfd f23, 0x40(r1) -/* 8008BF18 00088E78 F2 E1 00 48 */ psq_st f23, 72(r1), 0, qr0 -/* 8008BF1C 00088E7C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8008BF20 00088E80 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8008BF24 00088E84 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8008BF28 00088E88 93 81 00 30 */ stw r28, 0x30(r1) -/* 8008BF2C 00088E8C FF A0 08 90 */ fmr f29, f1 -/* 8008BF30 00088E90 C3 02 8A AC */ lfs f24, lbl_805AA7CC@sda21(r2) -/* 8008BF34 00088E94 FF C0 10 90 */ fmr f30, f2 -/* 8008BF38 00088E98 CB 22 89 F0 */ lfd f25, lbl_805AA710@sda21(r2) -/* 8008BF3C 00088E9C FF E0 18 90 */ fmr f31, f3 -/* 8008BF40 00088EA0 C3 42 89 B0 */ lfs f26, lbl_805AA6D0@sda21(r2) -/* 8008BF44 00088EA4 C3 62 8A 8C */ lfs f27, lbl_805AA7AC@sda21(r2) -/* 8008BF48 00088EA8 7C 9C 23 78 */ mr r28, r4 -/* 8008BF4C 00088EAC CB 82 89 C8 */ lfd f28, lbl_805AA6E8@sda21(r2) -/* 8008BF50 00088EB0 3B A0 00 00 */ li r29, 0 -/* 8008BF54 00088EB4 3B C0 00 00 */ li r30, 0 -/* 8008BF58 00088EB8 3F E0 43 30 */ lis r31, 0x4330 -/* 8008BF5C 00088EBC 48 00 00 BC */ b lbl_8008C018 -lbl_8008BF60: -/* 8008BF60 00088EC0 FC 20 F8 90 */ fmr f1, f31 -/* 8008BF64 00088EC4 48 30 84 8D */ bl cos -/* 8008BF68 00088EC8 FC 00 08 18 */ frsp f0, f1 -/* 8008BF6C 00088ECC FC 1F C0 40 */ fcmpo cr0, f31, f24 -/* 8008BF70 00088ED0 EE FE 00 32 */ fmuls f23, f30, f0 -/* 8008BF74 00088ED4 40 81 00 0C */ ble lbl_8008BF80 -/* 8008BF78 00088ED8 C0 02 8A 04 */ lfs f0, lbl_805AA724@sda21(r2) -/* 8008BF7C 00088EDC EE F7 00 32 */ fmuls f23, f23, f0 -lbl_8008BF80: -/* 8008BF80 00088EE0 FC 20 F8 90 */ fmr f1, f31 -/* 8008BF84 00088EE4 48 30 8B 59 */ bl sin -/* 8008BF88 00088EE8 FC 20 08 18 */ frsp f1, f1 -/* 8008BF8C 00088EEC FC 00 0A 10 */ fabs f0, f1 -/* 8008BF90 00088EF0 FC 00 C8 40 */ fcmpo cr0, f0, f25 -/* 8008BF94 00088EF4 40 81 00 14 */ ble lbl_8008BFA8 -/* 8008BF98 00088EF8 C0 02 89 F8 */ lfs f0, lbl_805AA718@sda21(r2) -/* 8008BF9C 00088EFC C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 8008BFA0 00088F00 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 8008BFA4 00088F04 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_8008BFA8: -/* 8008BFA8 00088F08 EC 1D 00 72 */ fmuls f0, f29, f1 -/* 8008BFAC 00088F0C D3 41 00 18 */ stfs f26, 0x18(r1) -/* 8008BFB0 00088F10 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 8008BFB4 00088F14 3B BD 00 01 */ addi r29, r29, 1 -/* 8008BFB8 00088F18 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8008BFBC 00088F1C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8008BFC0 00088F20 7C A0 F2 14 */ add r5, r0, r30 -/* 8008BFC4 00088F24 3B DE 00 54 */ addi r30, r30, 0x54 -/* 8008BFC8 00088F28 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8008BFCC 00088F2C D2 E1 00 1C */ stfs f23, 0x1c(r1) -/* 8008BFD0 00088F30 90 81 00 08 */ stw r4, 8(r1) -/* 8008BFD4 00088F34 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8008BFD8 00088F38 90 61 00 0C */ stw r3, 0xc(r1) -/* 8008BFDC 00088F3C C0 01 00 08 */ lfs f0, 8(r1) -/* 8008BFE0 00088F40 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8008BFE4 00088F44 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8008BFE8 00088F48 90 01 00 10 */ stw r0, 0x10(r1) -/* 8008BFEC 00088F4C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8008BFF0 00088F50 D0 25 00 18 */ stfs f1, 0x18(r5) -/* 8008BFF4 00088F54 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 8008BFF8 00088F58 80 1C 00 04 */ lwz r0, 4(r28) -/* 8008BFFC 00088F5C 93 E1 00 20 */ stw r31, 0x20(r1) -/* 8008C000 00088F60 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8008C004 00088F64 90 01 00 24 */ stw r0, 0x24(r1) -/* 8008C008 00088F68 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 8008C00C 00088F6C EC 00 E0 28 */ fsubs f0, f0, f28 -/* 8008C010 00088F70 EC 1B 00 24 */ fdivs f0, f27, f0 -/* 8008C014 00088F74 EF FF 00 2A */ fadds f31, f31, f0 -lbl_8008C018: -/* 8008C018 00088F78 80 1C 00 04 */ lwz r0, 4(r28) -/* 8008C01C 00088F7C 7C 1D 00 00 */ cmpw r29, r0 -/* 8008C020 00088F80 41 80 FF 40 */ blt lbl_8008BF60 -/* 8008C024 00088F84 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8008C028 00088F88 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8008C02C 00088F8C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8008C030 00088F90 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8008C034 00088F94 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 8008C038 00088F98 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8008C03C 00088F9C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 8008C040 00088FA0 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 8008C044 00088FA4 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 -/* 8008C048 00088FA8 CB 61 00 80 */ lfd f27, 0x80(r1) -/* 8008C04C 00088FAC E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 -/* 8008C050 00088FB0 CB 41 00 70 */ lfd f26, 0x70(r1) -/* 8008C054 00088FB4 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 -/* 8008C058 00088FB8 CB 21 00 60 */ lfd f25, 0x60(r1) -/* 8008C05C 00088FBC E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 -/* 8008C060 00088FC0 CB 01 00 50 */ lfd f24, 0x50(r1) -/* 8008C064 00088FC4 E2 E1 00 48 */ psq_l f23, 72(r1), 0, qr0 -/* 8008C068 00088FC8 CA E1 00 40 */ lfd f23, 0x40(r1) -/* 8008C06C 00088FCC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8008C070 00088FD0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8008C074 00088FD4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8008C078 00088FD8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8008C07C 00088FDC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8008C080 00088FE0 7C 08 03 A6 */ mtlr r0 -/* 8008C084 00088FE4 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8008C088 00088FE8 4E 80 00 20 */ blr - -.global Reset__11CBallCameraFRC12CTransform4fR13CStateManager -Reset__11CBallCameraFRC12CTransform4fR13CStateManager: -/* 8008C08C 00088FEC 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8008C090 00088FF0 7C 08 02 A6 */ mflr r0 -/* 8008C094 00088FF4 90 01 01 14 */ stw r0, 0x114(r1) -/* 8008C098 00088FF8 93 E1 01 0C */ stw r31, 0x10c(r1) -/* 8008C09C 00088FFC 7C BF 2B 78 */ mr r31, r5 -/* 8008C0A0 00089000 93 C1 01 08 */ stw r30, 0x108(r1) -/* 8008C0A4 00089004 7C 7E 1B 78 */ mr r30, r3 -/* 8008C0A8 00089008 38 7E 02 14 */ addi r3, r30, 0x214 -/* 8008C0AC 0008900C 93 A1 01 04 */ stw r29, 0x104(r1) -/* 8008C0B0 00089010 93 81 01 00 */ stw r28, 0x100(r1) -/* 8008C0B4 00089014 7C 9C 23 78 */ mr r28, r4 -/* 8008C0B8 00089018 4B FD 16 F9 */ bl Reset__13CCameraSpringFv -/* 8008C0BC 0008901C 38 7E 02 28 */ addi r3, r30, 0x228 -/* 8008C0C0 00089020 4B FD 16 F1 */ bl Reset__13CCameraSpringFv -/* 8008C0C4 00089024 38 7E 02 3C */ addi r3, r30, 0x23c -/* 8008C0C8 00089028 4B FD 16 E9 */ bl Reset__13CCameraSpringFv -/* 8008C0CC 0008902C 38 7E 02 50 */ addi r3, r30, 0x250 -/* 8008C0D0 00089030 4B FD 16 E1 */ bl Reset__13CCameraSpringFv -/* 8008C0D4 00089034 38 7E 04 1C */ addi r3, r30, 0x41c -/* 8008C0D8 00089038 4B FD 16 D9 */ bl Reset__13CCameraSpringFv -/* 8008C0DC 0008903C 38 7E 04 48 */ addi r3, r30, 0x448 -/* 8008C0E0 00089040 4B FD 16 D1 */ bl Reset__13CCameraSpringFv -/* 8008C0E4 00089044 C0 5C 00 04 */ lfs f2, 4(r28) -/* 8008C0E8 00089048 7F C4 F3 78 */ mr r4, r30 -/* 8008C0EC 0008904C C0 3C 00 14 */ lfs f1, 0x14(r28) -/* 8008C0F0 00089050 7F E6 FB 78 */ mr r6, r31 -/* 8008C0F4 00089054 C0 1C 00 24 */ lfs f0, 0x24(r28) -/* 8008C0F8 00089058 38 61 00 44 */ addi r3, r1, 0x44 -/* 8008C0FC 0008905C D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8008C100 00089060 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8008C104 00089064 38 E0 00 00 */ li r7, 0 -/* 8008C108 00089068 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8008C10C 0008906C 81 21 00 2C */ lwz r9, 0x2c(r1) -/* 8008C110 00089070 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8008C114 00089074 81 01 00 30 */ lwz r8, 0x30(r1) -/* 8008C118 00089078 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8008C11C 0008907C 91 21 00 38 */ stw r9, 0x38(r1) -/* 8008C120 00089080 91 01 00 3C */ stw r8, 0x3c(r1) -/* 8008C124 00089084 90 01 00 40 */ stw r0, 0x40(r1) -/* 8008C128 00089088 C0 3E 01 90 */ lfs f1, 0x190(r30) -/* 8008C12C 0008908C C0 5E 01 A0 */ lfs f2, 0x1a0(r30) -/* 8008C130 00089090 4B FF DB 85 */ bl FindDesiredPosition__11CBallCameraFffRC9CVector3fR13CStateManagerb -/* 8008C134 00089094 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8008C138 00089098 7F E3 FB 78 */ mr r3, r31 -/* 8008C13C 0008909C C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8008C140 000890A0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8008C144 000890A4 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8008C148 000890A8 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 8008C14C 000890AC D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8008C150 000890B0 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8008C154 000890B4 A0 1E 00 E8 */ lhz r0, 0xe8(r30) -/* 8008C158 000890B8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8008C15C 000890BC B0 01 00 14 */ sth r0, 0x14(r1) -/* 8008C160 000890C0 4B FC 04 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8008C164 000890C4 7C 64 1B 78 */ mr r4, r3 -/* 8008C168 000890C8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8008C16C 000890CC 48 02 02 29 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -/* 8008C170 000890D0 83 83 00 04 */ lwz r28, 4(r3) -/* 8008C174 000890D4 28 1C 00 00 */ cmplwi r28, 0 -/* 8008C178 000890D8 41 82 02 74 */ beq lbl_8008C3EC -/* 8008C17C 000890DC 7F C3 F3 78 */ mr r3, r30 -/* 8008C180 000890E0 7F E4 FB 78 */ mr r4, r31 -/* 8008C184 000890E4 48 00 09 0D */ bl ResetPosition__11CBallCameraFR13CStateManager -/* 8008C188 000890E8 C0 3E 01 B4 */ lfs f1, 0x1b4(r30) -/* 8008C18C 000890EC 38 61 00 50 */ addi r3, r1, 0x50 -/* 8008C190 000890F0 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008C194 000890F4 D0 3E 03 10 */ stfs f1, 0x310(r30) -/* 8008C198 000890F8 C0 3E 01 B8 */ lfs f1, 0x1b8(r30) -/* 8008C19C 000890FC D0 3E 03 14 */ stfs f1, 0x314(r30) -/* 8008C1A0 00089100 C0 3E 01 BC */ lfs f1, 0x1bc(r30) -/* 8008C1A4 00089104 D0 3E 03 18 */ stfs f1, 0x318(r30) -/* 8008C1A8 00089108 C0 3E 01 D8 */ lfs f1, 0x1d8(r30) -/* 8008C1AC 0008910C D0 3E 03 1C */ stfs f1, 0x31c(r30) -/* 8008C1B0 00089110 C0 3E 01 DC */ lfs f1, 0x1dc(r30) -/* 8008C1B4 00089114 D0 3E 03 20 */ stfs f1, 0x320(r30) -/* 8008C1B8 00089118 C0 3E 01 E0 */ lfs f1, 0x1e0(r30) -/* 8008C1BC 0008911C D0 3E 03 24 */ stfs f1, 0x324(r30) -/* 8008C1C0 00089120 C0 5E 01 E0 */ lfs f2, 0x1e0(r30) -/* 8008C1C4 00089124 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 8008C1C8 00089128 C0 9E 01 DC */ lfs f4, 0x1dc(r30) -/* 8008C1CC 0008912C C0 61 00 60 */ lfs f3, 0x60(r1) -/* 8008C1D0 00089130 EC A2 08 28 */ fsubs f5, f2, f1 -/* 8008C1D4 00089134 C0 5E 01 D8 */ lfs f2, 0x1d8(r30) -/* 8008C1D8 00089138 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 8008C1DC 0008913C EC 64 18 28 */ fsubs f3, f4, f3 -/* 8008C1E0 00089140 D0 A1 00 58 */ stfs f5, 0x58(r1) -/* 8008C1E4 00089144 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8008C1E8 00089148 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 8008C1EC 0008914C D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8008C1F0 00089150 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8008C1F4 00089154 48 28 85 05 */ bl CanBeNormalized__9CVector3fCFv -/* 8008C1F8 00089158 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008C1FC 0008915C 41 82 00 30 */ beq lbl_8008C22C -/* 8008C200 00089160 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 8008C204 00089164 38 61 00 98 */ addi r3, r1, 0x98 -/* 8008C208 00089168 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 8008C20C 0008916C 38 BE 01 D8 */ addi r5, r30, 0x1d8 -/* 8008C210 00089170 38 81 00 5C */ addi r4, r1, 0x5c -/* 8008C214 00089174 48 28 78 FD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8008C218 00089178 7F C3 F3 78 */ mr r3, r30 -/* 8008C21C 0008917C 7F E5 FB 78 */ mr r5, r31 -/* 8008C220 00089180 38 81 00 98 */ addi r4, r1, 0x98 -/* 8008C224 00089184 48 00 07 D5 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 8008C228 00089188 48 00 00 60 */ b lbl_8008C288 -lbl_8008C22C: -/* 8008C22C 0008918C 7F 84 E3 78 */ mr r4, r28 -/* 8008C230 00089190 38 61 00 68 */ addi r3, r1, 0x68 -/* 8008C234 00089194 48 1F 94 B5 */ bl CreateTransformFromMovementDirection__7CPlayerCFv -/* 8008C238 00089198 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8008C23C 0008919C 38 81 00 68 */ addi r4, r1, 0x68 -/* 8008C240 000891A0 48 28 69 35 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008C244 000891A4 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 8008C248 000891A8 7F C3 F3 78 */ mr r3, r30 -/* 8008C24C 000891AC C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8008C250 000891B0 7F E5 FB 78 */ mr r5, r31 -/* 8008C254 000891B4 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8008C258 000891B8 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8008C25C 000891BC D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 8008C260 000891C0 D0 21 00 E4 */ stfs f1, 0xe4(r1) -/* 8008C264 000891C4 D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 8008C268 000891C8 48 00 07 91 */ bl TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -/* 8008C26C 000891CC A0 1E 00 08 */ lhz r0, 8(r30) -/* 8008C270 000891D0 7F E4 FB 78 */ mr r4, r31 -/* 8008C274 000891D4 38 A1 00 0C */ addi r5, r1, 0xc -/* 8008C278 000891D8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8008C27C 000891DC B0 01 00 08 */ sth r0, 8(r1) -/* 8008C280 000891E0 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8008C284 000891E4 4B F7 E5 C5 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId -lbl_8008C288: -/* 8008C288 000891E8 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 8008C28C 000891EC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8008C290 000891F0 3B A3 66 A0 */ addi r29, r3, skZero3f@l -/* 8008C294 000891F4 38 A0 00 00 */ li r5, 0 -/* 8008C298 000891F8 D0 3E 02 E8 */ stfs f1, 0x2e8(r30) -/* 8008C29C 000891FC 7F 84 E3 78 */ mr r4, r28 -/* 8008C2A0 00089200 38 61 00 20 */ addi r3, r1, 0x20 -/* 8008C2A4 00089204 D0 3E 02 EC */ stfs f1, 0x2ec(r30) -/* 8008C2A8 00089208 C0 1E 01 94 */ lfs f0, 0x194(r30) -/* 8008C2AC 0008920C D0 1E 01 90 */ stfs f0, 0x190(r30) -/* 8008C2B0 00089210 C0 1D 00 00 */ lfs f0, 0(r29) -/* 8008C2B4 00089214 D0 1E 02 FC */ stfs f0, 0x2fc(r30) -/* 8008C2B8 00089218 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8008C2BC 0008921C D0 1E 03 00 */ stfs f0, 0x300(r30) -/* 8008C2C0 00089220 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8008C2C4 00089224 D0 1E 03 04 */ stfs f0, 0x304(r30) -/* 8008C2C8 00089228 C0 1D 00 00 */ lfs f0, 0(r29) -/* 8008C2CC 0008922C D0 1E 02 F0 */ stfs f0, 0x2f0(r30) -/* 8008C2D0 00089230 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8008C2D4 00089234 D0 1E 02 F4 */ stfs f0, 0x2f4(r30) -/* 8008C2D8 00089238 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8008C2DC 0008923C D0 1E 02 F8 */ stfs f0, 0x2f8(r30) -/* 8008C2E0 00089240 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008C2E4 00089244 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8008C2E8 00089248 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008C2EC 0008924C D0 3E 03 08 */ stfs f1, 0x308(r30) -/* 8008C2F0 00089250 48 1F 8A 59 */ bl GetBallPosition__7CPlayerCFv -/* 8008C2F4 00089254 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8008C2F8 00089258 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8008C2FC 0008925C 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8008C300 00089260 38 00 00 00 */ li r0, 0 -/* 8008C304 00089264 D0 1E 02 DC */ stfs f0, 0x2dc(r30) -/* 8008C308 00089268 38 A0 00 01 */ li r5, 1 -/* 8008C30C 0008926C C0 02 89 B8 */ lfs f0, lbl_805AA6D8@sda21(r2) -/* 8008C310 00089270 7F C3 F3 78 */ mr r3, r30 -/* 8008C314 00089274 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 8008C318 00089278 7F E4 FB 78 */ mr r4, r31 -/* 8008C31C 0008927C C0 22 89 BC */ lfs f1, lbl_805AA6DC@sda21(r2) -/* 8008C320 00089280 D0 5E 02 E0 */ stfs f2, 0x2e0(r30) -/* 8008C324 00089284 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 8008C328 00089288 D0 5E 02 E4 */ stfs f2, 0x2e4(r30) -/* 8008C32C 0008928C C0 9E 00 60 */ lfs f4, 0x60(r30) -/* 8008C330 00089290 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 8008C334 00089294 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 8008C338 00089298 D0 5E 02 94 */ stfs f2, 0x294(r30) -/* 8008C33C 0008929C D0 7E 02 98 */ stfs f3, 0x298(r30) -/* 8008C340 000892A0 D0 9E 02 9C */ stfs f4, 0x29c(r30) -/* 8008C344 000892A4 C0 46 00 00 */ lfs f2, 0(r6) -/* 8008C348 000892A8 D0 5E 02 A0 */ stfs f2, 0x2a0(r30) -/* 8008C34C 000892AC C0 5D 00 04 */ lfs f2, 4(r29) -/* 8008C350 000892B0 D0 5E 02 A4 */ stfs f2, 0x2a4(r30) -/* 8008C354 000892B4 C0 5D 00 08 */ lfs f2, 8(r29) -/* 8008C358 000892B8 D0 5E 02 A8 */ stfs f2, 0x2a8(r30) -/* 8008C35C 000892BC C0 46 00 00 */ lfs f2, 0(r6) -/* 8008C360 000892C0 D0 5E 02 AC */ stfs f2, 0x2ac(r30) -/* 8008C364 000892C4 C0 5D 00 04 */ lfs f2, 4(r29) -/* 8008C368 000892C8 D0 5E 02 B0 */ stfs f2, 0x2b0(r30) -/* 8008C36C 000892CC C0 5D 00 08 */ lfs f2, 8(r29) -/* 8008C370 000892D0 D0 5E 02 B4 */ stfs f2, 0x2b4(r30) -/* 8008C374 000892D4 C0 46 00 00 */ lfs f2, 0(r6) -/* 8008C378 000892D8 D0 5E 02 B8 */ stfs f2, 0x2b8(r30) -/* 8008C37C 000892DC C0 5D 00 04 */ lfs f2, 4(r29) -/* 8008C380 000892E0 D0 5E 02 BC */ stfs f2, 0x2bc(r30) -/* 8008C384 000892E4 C0 5D 00 08 */ lfs f2, 8(r29) -/* 8008C388 000892E8 D0 5E 02 C0 */ stfs f2, 0x2c0(r30) -/* 8008C38C 000892EC 90 1E 02 C4 */ stw r0, 0x2c4(r30) -/* 8008C390 000892F0 90 1E 02 C8 */ stw r0, 0x2c8(r30) -/* 8008C394 000892F4 90 1E 02 CC */ stw r0, 0x2cc(r30) -/* 8008C398 000892F8 90 1E 02 D0 */ stw r0, 0x2d0(r30) -/* 8008C39C 000892FC 90 1E 02 D4 */ stw r0, 0x2d4(r30) -/* 8008C3A0 00089300 90 1E 02 D8 */ stw r0, 0x2d8(r30) -/* 8008C3A4 00089304 D0 1E 03 2C */ stfs f0, 0x32c(r30) -/* 8008C3A8 00089308 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008C3AC 0008930C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8008C3B0 00089310 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008C3B4 00089314 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008C3B8 00089318 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8008C3BC 0008931C 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008C3C0 00089320 81 9E 00 00 */ lwz r12, 0(r30) -/* 8008C3C4 00089324 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8008C3C8 00089328 7D 89 03 A6 */ mtctr r12 -/* 8008C3CC 0008932C 4E 80 04 21 */ bctrl -/* 8008C3D0 00089330 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008C3D4 00089334 38 60 00 00 */ li r3, 0 -/* 8008C3D8 00089338 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8008C3DC 0008933C 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008C3E0 00089340 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008C3E4 00089344 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8008C3E8 00089348 98 1E 01 8D */ stb r0, 0x18d(r30) -lbl_8008C3EC: -/* 8008C3EC 0008934C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8008C3F0 00089350 83 E1 01 0C */ lwz r31, 0x10c(r1) -/* 8008C3F4 00089354 83 C1 01 08 */ lwz r30, 0x108(r1) -/* 8008C3F8 00089358 83 A1 01 04 */ lwz r29, 0x104(r1) -/* 8008C3FC 0008935C 83 81 01 00 */ lwz r28, 0x100(r1) -/* 8008C400 00089360 7C 08 03 A6 */ mtlr r0 -/* 8008C404 00089364 38 21 01 10 */ addi r1, r1, 0x110 -/* 8008C408 00089368 4E 80 00 20 */ blr - -.global Render__11CBallCameraCFRC13CStateManager -Render__11CBallCameraCFRC13CStateManager: -/* 8008C40C 0008936C 4E 80 00 20 */ blr - -.global "SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff" -"SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff": -/* 8008C410 00089370 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 8008C414 00089374 7C 08 02 A6 */ mflr r0 -/* 8008C418 00089378 90 01 01 84 */ stw r0, 0x184(r1) -/* 8008C41C 0008937C DB E1 01 70 */ stfd f31, 0x170(r1) -/* 8008C420 00089380 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 8008C424 00089384 DB C1 01 60 */ stfd f30, 0x160(r1) -/* 8008C428 00089388 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 8008C42C 0008938C DB A1 01 50 */ stfd f29, 0x150(r1) -/* 8008C430 00089390 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 8008C434 00089394 DB 81 01 40 */ stfd f28, 0x140(r1) -/* 8008C438 00089398 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 8008C43C 0008939C DB 61 01 30 */ stfd f27, 0x130(r1) -/* 8008C440 000893A0 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 -/* 8008C444 000893A4 DB 41 01 20 */ stfd f26, 0x120(r1) -/* 8008C448 000893A8 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 -/* 8008C44C 000893AC DB 21 01 10 */ stfd f25, 0x110(r1) -/* 8008C450 000893B0 F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 -/* 8008C454 000893B4 DB 01 01 00 */ stfd f24, 0x100(r1) -/* 8008C458 000893B8 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0 -/* 8008C45C 000893BC DA E1 00 F0 */ stfd f23, 0xf0(r1) -/* 8008C460 000893C0 F2 E1 00 F8 */ psq_st f23, 248(r1), 0, qr0 -/* 8008C464 000893C4 DA C1 00 E0 */ stfd f22, 0xe0(r1) -/* 8008C468 000893C8 F2 C1 00 E8 */ psq_st f22, 232(r1), 0, qr0 -/* 8008C46C 000893CC DA A1 00 D0 */ stfd f21, 0xd0(r1) -/* 8008C470 000893D0 F2 A1 00 D8 */ psq_st f21, 216(r1), 0, qr0 -/* 8008C474 000893D4 DA 81 00 C0 */ stfd f20, 0xc0(r1) -/* 8008C478 000893D8 F2 81 00 C8 */ psq_st f20, 200(r1), 0, qr0 -/* 8008C47C 000893DC DA 61 00 B0 */ stfd f19, 0xb0(r1) -/* 8008C480 000893E0 F2 61 00 B8 */ psq_st f19, 184(r1), 0, qr0 -/* 8008C484 000893E4 BF 61 00 9C */ stmw r27, 0x9c(r1) -/* 8008C488 000893E8 FF 40 08 90 */ fmr f26, f1 -/* 8008C48C 000893EC 7C 9B 23 78 */ mr r27, r4 -/* 8008C490 000893F0 7C BC 2B 78 */ mr r28, r5 -/* 8008C494 000893F4 FF 60 10 90 */ fmr f27, f2 -/* 8008C498 000893F8 FF 80 18 90 */ fmr f28, f3 -/* 8008C49C 000893FC 7F 63 DB 78 */ mr r3, r27 -/* 8008C4A0 00089400 FF A0 20 90 */ fmr f29, f4 -/* 8008C4A4 00089404 7F 84 E3 78 */ mr r4, r28 -/* 8008C4A8 00089408 FF C0 28 90 */ fmr f30, f5 -/* 8008C4AC 0008940C FF E0 30 90 */ fmr f31, f6 -/* 8008C4B0 00089410 48 00 13 9D */ bl "reserve__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>Fi" -/* 8008C4B4 00089414 C2 82 8A AC */ lfs f20, lbl_805AA7CC@sda21(r2) -/* 8008C4B8 00089418 6F 9E 80 00 */ xoris r30, r28, 0x8000 -/* 8008C4BC 0008941C C2 A2 89 B0 */ lfs f21, lbl_805AA6D0@sda21(r2) -/* 8008C4C0 00089420 3B A0 00 00 */ li r29, 0 -/* 8008C4C4 00089424 C2 C2 89 E0 */ lfs f22, lbl_805AA700@sda21(r2) -/* 8008C4C8 00089428 3F E0 43 30 */ lis r31, 0x4330 -/* 8008C4CC 0008942C C2 E2 89 B8 */ lfs f23, lbl_805AA6D8@sda21(r2) -/* 8008C4D0 00089430 C3 02 8A 8C */ lfs f24, lbl_805AA7AC@sda21(r2) -/* 8008C4D4 00089434 CB 22 89 C8 */ lfd f25, lbl_805AA6E8@sda21(r2) -/* 8008C4D8 00089438 48 00 00 CC */ b lbl_8008C5A4 -lbl_8008C4DC: -/* 8008C4DC 0008943C FC 20 F8 90 */ fmr f1, f31 -/* 8008C4E0 00089440 48 30 7F 11 */ bl cos -/* 8008C4E4 00089444 FC 00 08 18 */ frsp f0, f1 -/* 8008C4E8 00089448 FC 1F A0 40 */ fcmpo cr0, f31, f20 -/* 8008C4EC 0008944C EE 7B 00 32 */ fmuls f19, f27, f0 -/* 8008C4F0 00089450 40 81 00 0C */ ble lbl_8008C4FC -/* 8008C4F4 00089454 C0 02 8A 04 */ lfs f0, lbl_805AA724@sda21(r2) -/* 8008C4F8 00089458 EE 73 00 32 */ fmuls f19, f19, f0 -lbl_8008C4FC: -/* 8008C4FC 0008945C FC 20 F8 90 */ fmr f1, f31 -/* 8008C500 00089460 48 30 85 DD */ bl sin -/* 8008C504 00089464 FC 00 08 18 */ frsp f0, f1 -/* 8008C508 00089468 D2 A1 00 18 */ stfs f21, 0x18(r1) -/* 8008C50C 0008946C FC 20 E8 90 */ fmr f1, f29 -/* 8008C510 00089470 D2 61 00 1C */ stfs f19, 0x1c(r1) -/* 8008C514 00089474 EC 1A 00 32 */ fmuls f0, f26, f0 -/* 8008C518 00089478 D3 A1 00 20 */ stfs f29, 0x20(r1) -/* 8008C51C 0008947C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8008C520 00089480 48 28 8F E1 */ bl SqrtF__5CMathFf -/* 8008C524 00089484 EC 16 00 72 */ fmuls f0, f22, f1 -/* 8008C528 00089488 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 8008C52C 0008948C 80 C1 00 18 */ lwz r6, 0x18(r1) -/* 8008C530 00089490 FC 20 E0 90 */ fmr f1, f28 -/* 8008C534 00089494 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8008C538 00089498 FC 40 B8 90 */ fmr f2, f23 -/* 8008C53C 0008949C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8008C540 000894A0 38 61 00 34 */ addi r3, r1, 0x34 -/* 8008C544 000894A4 38 81 00 08 */ addi r4, r1, 8 -/* 8008C548 000894A8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8008C54C 000894AC D3 C1 00 28 */ stfs f30, 0x28(r1) -/* 8008C550 000894B0 D2 E1 00 2C */ stfs f23, 0x2c(r1) -/* 8008C554 000894B4 D2 A1 00 30 */ stfs f21, 0x30(r1) -/* 8008C558 000894B8 90 E1 00 08 */ stw r7, 8(r1) -/* 8008C55C 000894BC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8008C560 000894C0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8008C564 000894C4 48 00 12 41 */ bl __ct__15CCameraColliderFf9CVector3fRC13CCameraSpringf -/* 8008C568 000894C8 7F 63 DB 78 */ mr r3, r27 -/* 8008C56C 000894CC 38 81 00 34 */ addi r4, r1, 0x34 -/* 8008C570 000894D0 48 00 00 B9 */ bl "push_back__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>FRC15CCameraCollider" -/* 8008C574 000894D4 34 01 00 34 */ addic. r0, r1, 0x34 -/* 8008C578 000894D8 41 82 00 10 */ beq lbl_8008C588 -/* 8008C57C 000894DC 3C 60 80 3E */ lis r3, lbl_803DAC28@ha -/* 8008C580 000894E0 38 03 AC 28 */ addi r0, r3, lbl_803DAC28@l -/* 8008C584 000894E4 90 01 00 34 */ stw r0, 0x34(r1) -lbl_8008C588: -/* 8008C588 000894E8 93 C1 00 8C */ stw r30, 0x8c(r1) -/* 8008C58C 000894EC 3B BD 00 01 */ addi r29, r29, 1 -/* 8008C590 000894F0 93 E1 00 88 */ stw r31, 0x88(r1) -/* 8008C594 000894F4 C8 01 00 88 */ lfd f0, 0x88(r1) -/* 8008C598 000894F8 EC 00 C8 28 */ fsubs f0, f0, f25 -/* 8008C59C 000894FC EC 18 00 24 */ fdivs f0, f24, f0 -/* 8008C5A0 00089500 EF FF 00 2A */ fadds f31, f31, f0 -lbl_8008C5A4: -/* 8008C5A4 00089504 7C 1D E0 00 */ cmpw r29, r28 -/* 8008C5A8 00089508 41 80 FF 34 */ blt lbl_8008C4DC -/* 8008C5AC 0008950C E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 8008C5B0 00089510 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 8008C5B4 00089514 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 8008C5B8 00089518 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 8008C5BC 0008951C E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 8008C5C0 00089520 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 8008C5C4 00089524 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 8008C5C8 00089528 CB 81 01 40 */ lfd f28, 0x140(r1) -/* 8008C5CC 0008952C E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 -/* 8008C5D0 00089530 CB 61 01 30 */ lfd f27, 0x130(r1) -/* 8008C5D4 00089534 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 -/* 8008C5D8 00089538 CB 41 01 20 */ lfd f26, 0x120(r1) -/* 8008C5DC 0008953C E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 -/* 8008C5E0 00089540 CB 21 01 10 */ lfd f25, 0x110(r1) -/* 8008C5E4 00089544 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0 -/* 8008C5E8 00089548 CB 01 01 00 */ lfd f24, 0x100(r1) -/* 8008C5EC 0008954C E2 E1 00 F8 */ psq_l f23, 248(r1), 0, qr0 -/* 8008C5F0 00089550 CA E1 00 F0 */ lfd f23, 0xf0(r1) -/* 8008C5F4 00089554 E2 C1 00 E8 */ psq_l f22, 232(r1), 0, qr0 -/* 8008C5F8 00089558 CA C1 00 E0 */ lfd f22, 0xe0(r1) -/* 8008C5FC 0008955C E2 A1 00 D8 */ psq_l f21, 216(r1), 0, qr0 -/* 8008C600 00089560 CA A1 00 D0 */ lfd f21, 0xd0(r1) -/* 8008C604 00089564 E2 81 00 C8 */ psq_l f20, 200(r1), 0, qr0 -/* 8008C608 00089568 CA 81 00 C0 */ lfd f20, 0xc0(r1) -/* 8008C60C 0008956C E2 61 00 B8 */ psq_l f19, 184(r1), 0, qr0 -/* 8008C610 00089570 CA 61 00 B0 */ lfd f19, 0xb0(r1) -/* 8008C614 00089574 BB 61 00 9C */ lmw r27, 0x9c(r1) -/* 8008C618 00089578 80 01 01 84 */ lwz r0, 0x184(r1) -/* 8008C61C 0008957C 7C 08 03 A6 */ mtlr r0 -/* 8008C620 00089580 38 21 01 80 */ addi r1, r1, 0x180 -/* 8008C624 00089584 4E 80 00 20 */ blr - -.global "push_back__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>FRC15CCameraCollider" -"push_back__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>FRC15CCameraCollider": -/* 8008C628 00089588 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008C62C 0008958C 7C 08 02 A6 */ mflr r0 -/* 8008C630 00089590 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008C634 00089594 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008C638 00089598 7C 9F 23 78 */ mr r31, r4 -/* 8008C63C 0008959C 93 C1 00 08 */ stw r30, 8(r1) -/* 8008C640 000895A0 7C 7E 1B 78 */ mr r30, r3 -/* 8008C644 000895A4 80 03 00 04 */ lwz r0, 4(r3) -/* 8008C648 000895A8 80 A3 00 08 */ lwz r5, 8(r3) -/* 8008C64C 000895AC 7C 00 28 00 */ cmpw r0, r5 -/* 8008C650 000895B0 41 80 00 18 */ blt lbl_8008C668 -/* 8008C654 000895B4 2C 05 00 00 */ cmpwi r5, 0 -/* 8008C658 000895B8 38 80 00 04 */ li r4, 4 -/* 8008C65C 000895BC 41 82 00 08 */ beq lbl_8008C664 -/* 8008C660 000895C0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8008C664: -/* 8008C664 000895C4 48 00 11 E9 */ bl "reserve__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>Fi" -lbl_8008C668: -/* 8008C668 000895C8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8008C66C 000895CC 7F E4 FB 78 */ mr r4, r31 -/* 8008C670 000895D0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8008C674 000895D4 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008C678 000895D8 7C 63 02 14 */ add r3, r3, r0 -/* 8008C67C 000895DC 48 00 00 29 */ bl "construct<15CCameraCollider>__4rstlFPvRC15CCameraCollider" -/* 8008C680 000895E0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8008C684 000895E4 38 03 00 01 */ addi r0, r3, 1 -/* 8008C688 000895E8 90 1E 00 04 */ stw r0, 4(r30) -/* 8008C68C 000895EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008C690 000895F0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8008C694 000895F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008C698 000895F8 7C 08 03 A6 */ mtlr r0 -/* 8008C69C 000895FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008C6A0 00089600 4E 80 00 20 */ blr - -.global "construct<15CCameraCollider>__4rstlFPvRC15CCameraCollider" -"construct<15CCameraCollider>__4rstlFPvRC15CCameraCollider": -/* 8008C6A4 00089604 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008C6A8 00089608 7C 08 02 A6 */ mflr r0 -/* 8008C6AC 0008960C 28 03 00 00 */ cmplwi r3, 0 -/* 8008C6B0 00089610 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008C6B4 00089614 41 82 00 08 */ beq lbl_8008C6BC -/* 8008C6B8 00089618 48 00 00 15 */ bl __ct__15CCameraColliderFRC15CCameraCollider -lbl_8008C6BC: -/* 8008C6BC 0008961C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008C6C0 00089620 7C 08 03 A6 */ mtlr r0 -/* 8008C6C4 00089624 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008C6C8 00089628 4E 80 00 20 */ blr - -.global __ct__15CCameraColliderFRC15CCameraCollider -__ct__15CCameraColliderFRC15CCameraCollider: -/* 8008C6CC 0008962C 3C A0 80 3E */ lis r5, lbl_803DAC28@ha -/* 8008C6D0 00089630 38 05 AC 28 */ addi r0, r5, lbl_803DAC28@l -/* 8008C6D4 00089634 90 03 00 00 */ stw r0, 0(r3) -/* 8008C6D8 00089638 C0 04 00 04 */ lfs f0, 4(r4) -/* 8008C6DC 0008963C D0 03 00 04 */ stfs f0, 4(r3) -/* 8008C6E0 00089640 C0 04 00 08 */ lfs f0, 8(r4) -/* 8008C6E4 00089644 D0 03 00 08 */ stfs f0, 8(r3) -/* 8008C6E8 00089648 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8008C6EC 0008964C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8008C6F0 00089650 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8008C6F4 00089654 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8008C6F8 00089658 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8008C6FC 0008965C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8008C700 00089660 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8008C704 00089664 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8008C708 00089668 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 8008C70C 0008966C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8008C710 00089670 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 8008C714 00089674 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8008C718 00089678 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 8008C71C 0008967C D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8008C720 00089680 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 8008C724 00089684 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8008C728 00089688 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 8008C72C 0008968C D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8008C730 00089690 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 8008C734 00089694 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8008C738 00089698 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 8008C73C 0008969C D0 03 00 34 */ stfs f0, 0x34(r3) -/* 8008C740 000896A0 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 8008C744 000896A4 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 8008C748 000896A8 C0 04 00 3C */ lfs f0, 0x3c(r4) -/* 8008C74C 000896AC D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 8008C750 000896B0 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8008C754 000896B4 D0 03 00 40 */ stfs f0, 0x40(r3) -/* 8008C758 000896B8 C0 04 00 44 */ lfs f0, 0x44(r4) -/* 8008C75C 000896BC D0 03 00 44 */ stfs f0, 0x44(r3) -/* 8008C760 000896C0 C0 04 00 48 */ lfs f0, 0x48(r4) -/* 8008C764 000896C4 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 8008C768 000896C8 80 04 00 4C */ lwz r0, 0x4c(r4) -/* 8008C76C 000896CC 90 03 00 4C */ stw r0, 0x4c(r3) -/* 8008C770 000896D0 C0 04 00 50 */ lfs f0, 0x50(r4) -/* 8008C774 000896D4 D0 03 00 50 */ stfs f0, 0x50(r3) -/* 8008C778 000896D8 4E 80 00 20 */ blr - -.global __dt__15CCameraColliderFv -__dt__15CCameraColliderFv: -/* 8008C77C 000896DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008C780 000896E0 7C 08 02 A6 */ mflr r0 -/* 8008C784 000896E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008C788 000896E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008C78C 000896EC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8008C790 000896F0 41 82 00 1C */ beq lbl_8008C7AC -/* 8008C794 000896F4 3C A0 80 3E */ lis r5, lbl_803DAC28@ha -/* 8008C798 000896F8 7C 80 07 35 */ extsh. r0, r4 -/* 8008C79C 000896FC 38 05 AC 28 */ addi r0, r5, lbl_803DAC28@l -/* 8008C7A0 00089700 90 1F 00 00 */ stw r0, 0(r31) -/* 8008C7A4 00089704 40 81 00 08 */ ble lbl_8008C7AC -/* 8008C7A8 00089708 48 28 91 89 */ bl Free__7CMemoryFPCv -lbl_8008C7AC: -/* 8008C7AC 0008970C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008C7B0 00089710 7F E3 FB 78 */ mr r3, r31 -/* 8008C7B4 00089714 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008C7B8 00089718 7C 08 03 A6 */ mtlr r0 -/* 8008C7BC 0008971C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008C7C0 00089720 4E 80 00 20 */ blr - -.global ResetToTweaks__11CBallCameraFR13CStateManager -ResetToTweaks__11CBallCameraFR13CStateManager: -/* 8008C7C4 00089724 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8008C7C8 00089728 7C 08 02 A6 */ mflr r0 -/* 8008C7CC 0008972C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8008C7D0 00089730 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8008C7D4 00089734 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8008C7D8 00089738 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8008C7DC 0008973C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 8008C7E0 00089740 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 8008C7E4 00089744 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 8008C7E8 00089748 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8008C7EC 0008974C 7C 7F 1B 78 */ mr r31, r3 -/* 8008C7F0 00089750 38 80 00 00 */ li r4, 0 -/* 8008C7F4 00089754 90 83 01 88 */ stw r4, 0x188(r3) -/* 8008C7F8 00089758 38 60 00 01 */ li r3, 1 -/* 8008C7FC 0008975C 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008C800 00089760 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8008C804 00089764 98 1F 01 8C */ stb r0, 0x18c(r31) -/* 8008C808 00089768 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008C80C 0008976C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8008C810 00089770 98 1F 01 8C */ stb r0, 0x18c(r31) -/* 8008C814 00089774 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008C818 00089778 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8008C81C 0008977C 98 1F 01 8C */ stb r0, 0x18c(r31) -/* 8008C820 00089780 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008C824 00089784 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8008C828 00089788 98 1F 01 8C */ stb r0, 0x18c(r31) -/* 8008C82C 0008978C 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008C830 00089790 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8008C834 00089794 98 1F 01 8C */ stb r0, 0x18c(r31) -/* 8008C838 00089798 88 1F 01 8C */ lbz r0, 0x18c(r31) -/* 8008C83C 0008979C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8008C840 000897A0 98 1F 01 8C */ stb r0, 0x18c(r31) -/* 8008C844 000897A4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008C848 000897A8 C0 03 00 84 */ lfs f0, 0x84(r3) -/* 8008C84C 000897AC D0 1F 01 94 */ stfs f0, 0x194(r31) -/* 8008C850 000897B0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008C854 000897B4 C0 03 00 88 */ lfs f0, 0x88(r3) -/* 8008C858 000897B8 D0 1F 01 98 */ stfs f0, 0x198(r31) -/* 8008C85C 000897BC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008C860 000897C0 C0 03 00 8C */ lfs f0, 0x8c(r3) -/* 8008C864 000897C4 D0 1F 01 9C */ stfs f0, 0x19c(r31) -/* 8008C868 000897C8 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008C86C 000897CC C3 A3 00 94 */ lfs f29, 0x94(r3) -/* 8008C870 000897D0 C3 E3 00 9C */ lfs f31, 0x9c(r3) -/* 8008C874 000897D4 FC 20 E8 90 */ fmr f1, f29 -/* 8008C878 000897D8 C3 C3 00 98 */ lfs f30, 0x98(r3) -/* 8008C87C 000897DC 48 28 8C 85 */ bl SqrtF__5CMathFf -/* 8008C880 000897E0 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008C884 000897E4 D3 BF 02 14 */ stfs f29, 0x214(r31) -/* 8008C888 000897E8 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8008C88C 000897EC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008C890 000897F0 D0 3F 02 18 */ stfs f1, 0x218(r31) -/* 8008C894 000897F4 D3 DF 02 1C */ stfs f30, 0x21c(r31) -/* 8008C898 000897F8 D3 FF 02 20 */ stfs f31, 0x220(r31) -/* 8008C89C 000897FC D0 1F 02 24 */ stfs f0, 0x224(r31) -/* 8008C8A0 00089800 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008C8A4 00089804 C3 E3 00 AC */ lfs f31, 0xac(r3) -/* 8008C8A8 00089808 C3 A3 00 B4 */ lfs f29, 0xb4(r3) -/* 8008C8AC 0008980C FC 20 F8 90 */ fmr f1, f31 -/* 8008C8B0 00089810 C3 C3 00 B0 */ lfs f30, 0xb0(r3) -/* 8008C8B4 00089814 48 28 8C 4D */ bl SqrtF__5CMathFf -/* 8008C8B8 00089818 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008C8BC 0008981C D3 FF 02 50 */ stfs f31, 0x250(r31) -/* 8008C8C0 00089820 EC 60 00 72 */ fmuls f3, f0, f1 -/* 8008C8C4 00089824 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 8008C8C8 00089828 C0 22 8A 3C */ lfs f1, lbl_805AA75C@sda21(r2) -/* 8008C8CC 0008982C C0 02 8A AC */ lfs f0, lbl_805AA7CC@sda21(r2) -/* 8008C8D0 00089830 D0 7F 02 54 */ stfs f3, 0x254(r31) -/* 8008C8D4 00089834 D3 DF 02 58 */ stfs f30, 0x258(r31) -/* 8008C8D8 00089838 D3 BF 02 5C */ stfs f29, 0x25c(r31) -/* 8008C8DC 0008983C D0 5F 02 60 */ stfs f2, 0x260(r31) -/* 8008C8E0 00089840 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) -/* 8008C8E4 00089844 80 04 00 78 */ lwz r0, 0x78(r4) -/* 8008C8E8 00089848 80 64 00 7C */ lwz r3, 0x7c(r4) -/* 8008C8EC 0008984C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008C8F0 00089850 80 04 00 80 */ lwz r0, 0x80(r4) -/* 8008C8F4 00089854 90 61 00 18 */ stw r3, 0x18(r1) -/* 8008C8F8 00089858 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8008C8FC 0008985C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8008C900 00089860 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8008C904 00089864 D0 5F 01 B4 */ stfs f2, 0x1b4(r31) -/* 8008C908 00089868 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8008C90C 0008986C D0 7F 01 B8 */ stfs f3, 0x1b8(r31) -/* 8008C910 00089870 D0 5F 01 BC */ stfs f2, 0x1bc(r31) -/* 8008C914 00089874 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) -/* 8008C918 00089878 80 04 01 8C */ lwz r0, 0x18c(r4) -/* 8008C91C 0008987C 80 64 01 90 */ lwz r3, 0x190(r4) -/* 8008C920 00089880 90 01 00 08 */ stw r0, 8(r1) -/* 8008C924 00089884 80 04 01 94 */ lwz r0, 0x194(r4) -/* 8008C928 00089888 90 61 00 0C */ stw r3, 0xc(r1) -/* 8008C92C 0008988C C0 41 00 08 */ lfs f2, 8(r1) -/* 8008C930 00089890 90 01 00 10 */ stw r0, 0x10(r1) -/* 8008C934 00089894 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 8008C938 00089898 D0 5F 04 10 */ stfs f2, 0x410(r31) -/* 8008C93C 0008989C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8008C940 000898A0 D0 7F 04 14 */ stfs f3, 0x414(r31) -/* 8008C944 000898A4 D0 5F 04 18 */ stfs f2, 0x418(r31) -/* 8008C948 000898A8 D0 3F 01 A0 */ stfs f1, 0x1a0(r31) -/* 8008C94C 000898AC D0 1F 01 AC */ stfs f0, 0x1ac(r31) -/* 8008C950 000898B0 D0 1F 01 B0 */ stfs f0, 0x1b0(r31) -/* 8008C954 000898B4 C3 BF 01 5C */ lfs f29, 0x15c(r31) -/* 8008C958 000898B8 4B F7 F7 81 */ bl DefaultThirdPersonFov__14CCameraManagerFv -/* 8008C95C 000898BC FC 40 08 90 */ fmr f2, f1 -/* 8008C960 000898C0 C0 62 89 B8 */ lfs f3, lbl_805AA6D8@sda21(r2) -/* 8008C964 000898C4 FC 20 E8 90 */ fmr f1, f29 -/* 8008C968 000898C8 C0 82 89 B0 */ lfs f4, lbl_805AA6D0@sda21(r2) -/* 8008C96C 000898CC 7F E3 FB 78 */ mr r3, r31 -/* 8008C970 000898D0 4B FC E5 A9 */ bl SetFovInterpolation__11CGameCameraFffff -/* 8008C974 000898D4 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) -/* 8008C978 000898D8 38 60 00 00 */ li r3, 0 -/* 8008C97C 000898DC C0 04 00 74 */ lfs f0, 0x74(r4) -/* 8008C980 000898E0 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8008C984 000898E4 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 8008C988 000898E8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8008C98C 000898EC 98 1F 01 8D */ stb r0, 0x18d(r31) -/* 8008C990 000898F0 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 8008C994 000898F4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8008C998 000898F8 98 1F 01 8D */ stb r0, 0x18d(r31) -/* 8008C99C 000898FC 88 1F 01 8D */ lbz r0, 0x18d(r31) -/* 8008C9A0 00089900 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8008C9A4 00089904 98 1F 01 8D */ stb r0, 0x18d(r31) -/* 8008C9A8 00089908 88 1F 01 8E */ lbz r0, 0x18e(r31) -/* 8008C9AC 0008990C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8008C9B0 00089910 98 1F 01 8E */ stb r0, 0x18e(r31) -/* 8008C9B4 00089914 88 1F 01 8E */ lbz r0, 0x18e(r31) -/* 8008C9B8 00089918 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8008C9BC 0008991C 98 1F 01 8E */ stb r0, 0x18e(r31) -/* 8008C9C0 00089920 88 1F 01 8E */ lbz r0, 0x18e(r31) -/* 8008C9C4 00089924 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8008C9C8 00089928 98 1F 01 8E */ stb r0, 0x18e(r31) -/* 8008C9CC 0008992C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8008C9D0 00089930 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8008C9D4 00089934 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 8008C9D8 00089938 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8008C9DC 0008993C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 8008C9E0 00089940 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 8008C9E4 00089944 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8008C9E8 00089948 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8008C9EC 0008994C 7C 08 03 A6 */ mtlr r0 -/* 8008C9F0 00089950 38 21 00 60 */ addi r1, r1, 0x60 -/* 8008C9F4 00089954 4E 80 00 20 */ blr - -.global TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager -TeleportCamera__11CBallCameraFRC12CTransform4fR13CStateManager: -/* 8008C9F8 00089958 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8008C9FC 0008995C 7C 08 02 A6 */ mflr r0 -/* 8008CA00 00089960 90 01 00 34 */ stw r0, 0x34(r1) -/* 8008CA04 00089964 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8008CA08 00089968 7C BF 2B 78 */ mr r31, r5 -/* 8008CA0C 0008996C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8008CA10 00089970 7C 9E 23 78 */ mr r30, r4 -/* 8008CA14 00089974 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8008CA18 00089978 7C 7D 1B 78 */ mr r29, r3 -/* 8008CA1C 0008997C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 8008CA20 00089980 48 28 61 21 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8008CA24 00089984 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8008CA28 00089988 38 C0 00 01 */ li r6, 1 -/* 8008CA2C 0008998C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 8008CA30 00089990 7F A3 EB 78 */ mr r3, r29 -/* 8008CA34 00089994 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8008CA38 00089998 7F E5 FB 78 */ mr r5, r31 -/* 8008CA3C 0008999C 38 81 00 08 */ addi r4, r1, 8 -/* 8008CA40 000899A0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8008CA44 000899A4 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 8008CA48 000899A8 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8008CA4C 000899AC 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8008CA50 000899B0 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 8008CA54 000899B4 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8008CA58 000899B8 C0 5E 00 2C */ lfs f2, 0x2c(r30) -/* 8008CA5C 000899BC C0 3E 00 1C */ lfs f1, 0x1c(r30) -/* 8008CA60 000899C0 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8008CA64 000899C4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8008CA68 000899C8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8008CA6C 000899CC D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8008CA70 000899D0 48 00 00 AD */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager -/* 8008CA74 000899D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8008CA78 000899D8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8008CA7C 000899DC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8008CA80 000899E0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8008CA84 000899E4 7C 08 03 A6 */ mtlr r0 -/* 8008CA88 000899E8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8008CA8C 000899EC 4E 80 00 20 */ blr - -.global ResetPosition__11CBallCameraFR13CStateManager -ResetPosition__11CBallCameraFR13CStateManager: -/* 8008CA90 000899F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8008CA94 000899F4 7C 08 02 A6 */ mflr r0 -/* 8008CA98 000899F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8008CA9C 000899FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8008CAA0 00089A00 7C 7F 1B 78 */ mr r31, r3 -/* 8008CAA4 00089A04 38 61 00 08 */ addi r3, r1, 8 -/* 8008CAA8 00089A08 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 8008CAAC 00089A0C 48 1F 82 9D */ bl GetBallPosition__7CPlayerCFv -/* 8008CAB0 00089A10 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8008CAB4 00089A14 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8008CAB8 00089A18 C0 01 00 08 */ lfs f0, 8(r1) -/* 8008CABC 00089A1C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8008CAC0 00089A20 D0 3F 01 DC */ stfs f1, 0x1dc(r31) -/* 8008CAC4 00089A24 D0 5F 01 E0 */ stfs f2, 0x1e0(r31) -/* 8008CAC8 00089A28 C0 3F 01 E0 */ lfs f1, 0x1e0(r31) -/* 8008CACC 00089A2C C0 1F 01 BC */ lfs f0, 0x1bc(r31) -/* 8008CAD0 00089A30 EC 01 00 2A */ fadds f0, f1, f0 -/* 8008CAD4 00089A34 D0 1F 01 E0 */ stfs f0, 0x1e0(r31) -/* 8008CAD8 00089A38 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) -/* 8008CADC 00089A3C D0 1F 01 C0 */ stfs f0, 0x1c0(r31) -/* 8008CAE0 00089A40 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8008CAE4 00089A44 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) -/* 8008CAE8 00089A48 C0 1F 01 E0 */ lfs f0, 0x1e0(r31) -/* 8008CAEC 00089A4C D0 1F 01 C8 */ stfs f0, 0x1c8(r31) -/* 8008CAF0 00089A50 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) -/* 8008CAF4 00089A54 D0 1F 01 CC */ stfs f0, 0x1cc(r31) -/* 8008CAF8 00089A58 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8008CAFC 00089A5C D0 1F 01 D0 */ stfs f0, 0x1d0(r31) -/* 8008CB00 00089A60 C0 1F 01 E0 */ lfs f0, 0x1e0(r31) -/* 8008CB04 00089A64 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8008CB08 00089A68 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8008CB0C 00089A6C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8008CB10 00089A70 7C 08 03 A6 */ mtlr r0 -/* 8008CB14 00089A74 38 21 00 20 */ addi r1, r1, 0x20 -/* 8008CB18 00089A78 4E 80 00 20 */ blr - -.global TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager -TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager: -/* 8008CB1C 00089A7C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8008CB20 00089A80 7C 08 02 A6 */ mflr r0 -/* 8008CB24 00089A84 90 01 00 54 */ stw r0, 0x54(r1) -/* 8008CB28 00089A88 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8008CB2C 00089A8C 7C BF 2B 78 */ mr r31, r5 -/* 8008CB30 00089A90 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8008CB34 00089A94 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8008CB38 00089A98 7C 9E 23 78 */ mr r30, r4 -/* 8008CB3C 00089A9C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8008CB40 00089AA0 7C 7D 1B 78 */ mr r29, r3 -/* 8008CB44 00089AA4 C0 04 00 00 */ lfs f0, 0(r4) -/* 8008CB48 00089AA8 38 9D 02 64 */ addi r4, r29, 0x264 -/* 8008CB4C 00089AAC D0 03 02 94 */ stfs f0, 0x294(r3) -/* 8008CB50 00089AB0 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8008CB54 00089AB4 D0 03 02 98 */ stfs f0, 0x298(r3) -/* 8008CB58 00089AB8 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8008CB5C 00089ABC D0 03 02 9C */ stfs f0, 0x29c(r3) -/* 8008CB60 00089AC0 80 FE 00 00 */ lwz r7, 0(r30) -/* 8008CB64 00089AC4 80 DE 00 04 */ lwz r6, 4(r30) -/* 8008CB68 00089AC8 80 1E 00 08 */ lwz r0, 8(r30) -/* 8008CB6C 00089ACC 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 8008CB70 00089AD0 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8008CB74 00089AD4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8008CB78 00089AD8 48 00 00 A5 */ bl "TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f" -/* 8008CB7C 00089ADC 80 FE 00 00 */ lwz r7, 0(r30) -/* 8008CB80 00089AE0 7F A3 EB 78 */ mr r3, r29 -/* 8008CB84 00089AE4 80 DE 00 04 */ lwz r6, 4(r30) -/* 8008CB88 00089AE8 38 9D 02 74 */ addi r4, r29, 0x274 -/* 8008CB8C 00089AEC 80 1E 00 08 */ lwz r0, 8(r30) -/* 8008CB90 00089AF0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8008CB94 00089AF4 90 E1 00 20 */ stw r7, 0x20(r1) -/* 8008CB98 00089AF8 90 C1 00 24 */ stw r6, 0x24(r1) -/* 8008CB9C 00089AFC 90 01 00 28 */ stw r0, 0x28(r1) -/* 8008CBA0 00089B00 48 00 00 7D */ bl "TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f" -/* 8008CBA4 00089B04 80 FE 00 00 */ lwz r7, 0(r30) -/* 8008CBA8 00089B08 7F A3 EB 78 */ mr r3, r29 -/* 8008CBAC 00089B0C 80 DE 00 04 */ lwz r6, 4(r30) -/* 8008CBB0 00089B10 38 9D 02 84 */ addi r4, r29, 0x284 -/* 8008CBB4 00089B14 80 1E 00 08 */ lwz r0, 8(r30) -/* 8008CBB8 00089B18 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8008CBBC 00089B1C 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8008CBC0 00089B20 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8008CBC4 00089B24 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8008CBC8 00089B28 48 00 00 55 */ bl "TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f" -/* 8008CBCC 00089B2C A0 1D 04 6C */ lhz r0, 0x46c(r29) -/* 8008CBD0 00089B30 7F E3 FB 78 */ mr r3, r31 -/* 8008CBD4 00089B34 38 81 00 08 */ addi r4, r1, 8 -/* 8008CBD8 00089B38 B0 01 00 08 */ sth r0, 8(r1) -/* 8008CBDC 00089B3C 4B FB F9 99 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8008CBE0 00089B40 7C 64 1B 78 */ mr r4, r3 -/* 8008CBE4 00089B44 38 61 00 0C */ addi r3, r1, 0xc -/* 8008CBE8 00089B48 48 02 27 65 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8008CBEC 00089B4C 80 63 00 04 */ lwz r3, 4(r3) -/* 8008CBF0 00089B50 28 03 00 00 */ cmplwi r3, 0 -/* 8008CBF4 00089B54 41 82 00 0C */ beq lbl_8008CC00 -/* 8008CBF8 00089B58 7F C4 F3 78 */ mr r4, r30 -/* 8008CBFC 00089B5C 4B FC 62 91 */ bl SetTranslation__6CActorFRC9CVector3f -lbl_8008CC00: -/* 8008CC00 00089B60 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8008CC04 00089B64 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8008CC08 00089B68 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8008CC0C 00089B6C 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8008CC10 00089B70 7C 08 03 A6 */ mtlr r0 -/* 8008CC14 00089B74 38 21 00 50 */ addi r1, r1, 0x50 -/* 8008CC18 00089B78 4E 80 00 20 */ blr - -.global "TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f" -"TeleportColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>9CVector3f": -/* 8008CC1C 00089B7C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8008CC20 00089B80 39 00 00 00 */ li r8, 0 -/* 8008CC24 00089B84 38 E0 00 00 */ li r7, 0 -/* 8008CC28 00089B88 48 00 00 B4 */ b lbl_8008CCDC -lbl_8008CC2C: -/* 8008CC2C 00089B8C 80 05 00 00 */ lwz r0, 0(r5) -/* 8008CC30 00089B90 39 08 00 01 */ addi r8, r8, 1 -/* 8008CC34 00089B94 80 65 00 04 */ lwz r3, 4(r5) -/* 8008CC38 00089B98 90 01 00 20 */ stw r0, 0x20(r1) -/* 8008CC3C 00089B9C 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8008CC40 00089BA0 90 61 00 24 */ stw r3, 0x24(r1) -/* 8008CC44 00089BA4 80 65 00 08 */ lwz r3, 8(r5) -/* 8008CC48 00089BA8 7C C0 3A 14 */ add r6, r0, r7 -/* 8008CC4C 00089BAC C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8008CC50 00089BB0 90 61 00 28 */ stw r3, 0x28(r1) -/* 8008CC54 00089BB4 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8008CC58 00089BB8 D0 06 00 2C */ stfs f0, 0x2c(r6) -/* 8008CC5C 00089BBC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8008CC60 00089BC0 D0 26 00 30 */ stfs f1, 0x30(r6) -/* 8008CC64 00089BC4 D0 06 00 34 */ stfs f0, 0x34(r6) -/* 8008CC68 00089BC8 80 05 00 00 */ lwz r0, 0(r5) -/* 8008CC6C 00089BCC 80 65 00 04 */ lwz r3, 4(r5) -/* 8008CC70 00089BD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008CC74 00089BD4 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8008CC78 00089BD8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8008CC7C 00089BDC 80 65 00 08 */ lwz r3, 8(r5) -/* 8008CC80 00089BE0 7C C0 3A 14 */ add r6, r0, r7 -/* 8008CC84 00089BE4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8008CC88 00089BE8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8008CC8C 00089BEC C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8008CC90 00089BF0 D0 06 00 14 */ stfs f0, 0x14(r6) -/* 8008CC94 00089BF4 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8008CC98 00089BF8 D0 26 00 18 */ stfs f1, 0x18(r6) -/* 8008CC9C 00089BFC D0 06 00 1C */ stfs f0, 0x1c(r6) -/* 8008CCA0 00089C00 80 05 00 00 */ lwz r0, 0(r5) -/* 8008CCA4 00089C04 80 65 00 04 */ lwz r3, 4(r5) -/* 8008CCA8 00089C08 90 01 00 08 */ stw r0, 8(r1) -/* 8008CCAC 00089C0C 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8008CCB0 00089C10 90 61 00 0C */ stw r3, 0xc(r1) -/* 8008CCB4 00089C14 80 65 00 08 */ lwz r3, 8(r5) -/* 8008CCB8 00089C18 7C C0 3A 14 */ add r6, r0, r7 -/* 8008CCBC 00089C1C C0 01 00 08 */ lfs f0, 8(r1) -/* 8008CCC0 00089C20 38 E7 00 54 */ addi r7, r7, 0x54 -/* 8008CCC4 00089C24 90 61 00 10 */ stw r3, 0x10(r1) -/* 8008CCC8 00089C28 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8008CCCC 00089C2C D0 06 00 20 */ stfs f0, 0x20(r6) -/* 8008CCD0 00089C30 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8008CCD4 00089C34 D0 26 00 24 */ stfs f1, 0x24(r6) -/* 8008CCD8 00089C38 D0 06 00 28 */ stfs f0, 0x28(r6) -lbl_8008CCDC: -/* 8008CCDC 00089C3C 80 04 00 04 */ lwz r0, 4(r4) -/* 8008CCE0 00089C40 7C 08 00 00 */ cmpw r8, r0 -/* 8008CCE4 00089C44 41 80 FF 48 */ blt lbl_8008CC2C -/* 8008CCE8 00089C48 38 21 00 30 */ addi r1, r1, 0x30 -/* 8008CCEC 00089C4C 4E 80 00 20 */ blr - -.global __dt__11CBallCameraFv -__dt__11CBallCameraFv: -/* 8008CCF0 00089C50 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8008CCF4 00089C54 7C 08 02 A6 */ mflr r0 -/* 8008CCF8 00089C58 90 01 00 54 */ stw r0, 0x54(r1) -/* 8008CCFC 00089C5C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8008CD00 00089C60 7C 9F 23 78 */ mr r31, r4 -/* 8008CD04 00089C64 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8008CD08 00089C68 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8008CD0C 00089C6C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8008CD10 00089C70 93 81 00 40 */ stw r28, 0x40(r1) -/* 8008CD14 00089C74 41 82 01 74 */ beq lbl_8008CE88 -/* 8008CD18 00089C78 3C 60 80 3E */ lis r3, lbl_803DAB90@ha -/* 8008CD1C 00089C7C 34 1E 04 80 */ addic. r0, r30, 0x480 -/* 8008CD20 00089C80 38 03 AB 90 */ addi r0, r3, lbl_803DAB90@l -/* 8008CD24 00089C84 90 1E 00 00 */ stw r0, 0(r30) -/* 8008CD28 00089C88 41 82 00 0C */ beq lbl_8008CD34 -/* 8008CD2C 00089C8C 80 7E 04 80 */ lwz r3, 0x480(r30) -/* 8008CD30 00089C90 48 28 8C 01 */ bl Free__7CMemoryFPCv -lbl_8008CD34: -/* 8008CD34 00089C94 38 7E 04 7C */ addi r3, r30, 0x47c -/* 8008CD38 00089C98 38 80 FF FF */ li r4, -1 -/* 8008CD3C 00089C9C 48 00 01 71 */ bl __dt__Q211CBallCamera14SFailsafeStateFv -/* 8008CD40 00089CA0 38 7E 03 7C */ addi r3, r30, 0x37c -/* 8008CD44 00089CA4 38 80 FF FF */ li r4, -1 -/* 8008CD48 00089CA8 4B FD 08 A1 */ bl __dt__13CCameraSplineFv -/* 8008CD4C 00089CAC 34 1E 02 84 */ addic. r0, r30, 0x284 -/* 8008CD50 00089CB0 41 82 00 5C */ beq lbl_8008CDAC -/* 8008CD54 00089CB4 80 1E 02 88 */ lwz r0, 0x288(r30) -/* 8008CD58 00089CB8 83 9E 02 90 */ lwz r28, 0x290(r30) -/* 8008CD5C 00089CBC 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008CD60 00089CC0 93 81 00 2C */ stw r28, 0x2c(r1) -/* 8008CD64 00089CC4 7F BC 02 14 */ add r29, r28, r0 -/* 8008CD68 00089CC8 93 81 00 28 */ stw r28, 0x28(r1) -/* 8008CD6C 00089CCC 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8008CD70 00089CD0 93 A1 00 30 */ stw r29, 0x30(r1) -/* 8008CD74 00089CD4 48 00 00 20 */ b lbl_8008CD94 -lbl_8008CD78: -/* 8008CD78 00089CD8 7F 83 E3 78 */ mr r3, r28 -/* 8008CD7C 00089CDC 38 80 FF FF */ li r4, -1 -/* 8008CD80 00089CE0 81 9C 00 00 */ lwz r12, 0(r28) -/* 8008CD84 00089CE4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008CD88 00089CE8 7D 89 03 A6 */ mtctr r12 -/* 8008CD8C 00089CEC 4E 80 04 21 */ bctrl -/* 8008CD90 00089CF0 3B 9C 00 54 */ addi r28, r28, 0x54 -lbl_8008CD94: -/* 8008CD94 00089CF4 7C 1C E8 40 */ cmplw r28, r29 -/* 8008CD98 00089CF8 40 82 FF E0 */ bne lbl_8008CD78 -/* 8008CD9C 00089CFC 80 7E 02 90 */ lwz r3, 0x290(r30) -/* 8008CDA0 00089D00 28 03 00 00 */ cmplwi r3, 0 -/* 8008CDA4 00089D04 41 82 00 08 */ beq lbl_8008CDAC -/* 8008CDA8 00089D08 48 28 8B 89 */ bl Free__7CMemoryFPCv -lbl_8008CDAC: -/* 8008CDAC 00089D0C 34 1E 02 74 */ addic. r0, r30, 0x274 -/* 8008CDB0 00089D10 41 82 00 5C */ beq lbl_8008CE0C -/* 8008CDB4 00089D14 80 1E 02 78 */ lwz r0, 0x278(r30) -/* 8008CDB8 00089D18 83 9E 02 80 */ lwz r28, 0x280(r30) -/* 8008CDBC 00089D1C 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008CDC0 00089D20 93 81 00 1C */ stw r28, 0x1c(r1) -/* 8008CDC4 00089D24 7F BC 02 14 */ add r29, r28, r0 -/* 8008CDC8 00089D28 93 81 00 18 */ stw r28, 0x18(r1) -/* 8008CDCC 00089D2C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8008CDD0 00089D30 93 A1 00 20 */ stw r29, 0x20(r1) -/* 8008CDD4 00089D34 48 00 00 20 */ b lbl_8008CDF4 -lbl_8008CDD8: -/* 8008CDD8 00089D38 7F 83 E3 78 */ mr r3, r28 -/* 8008CDDC 00089D3C 38 80 FF FF */ li r4, -1 -/* 8008CDE0 00089D40 81 9C 00 00 */ lwz r12, 0(r28) -/* 8008CDE4 00089D44 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008CDE8 00089D48 7D 89 03 A6 */ mtctr r12 -/* 8008CDEC 00089D4C 4E 80 04 21 */ bctrl -/* 8008CDF0 00089D50 3B 9C 00 54 */ addi r28, r28, 0x54 -lbl_8008CDF4: -/* 8008CDF4 00089D54 7C 1C E8 40 */ cmplw r28, r29 -/* 8008CDF8 00089D58 40 82 FF E0 */ bne lbl_8008CDD8 -/* 8008CDFC 00089D5C 80 7E 02 80 */ lwz r3, 0x280(r30) -/* 8008CE00 00089D60 28 03 00 00 */ cmplwi r3, 0 -/* 8008CE04 00089D64 41 82 00 08 */ beq lbl_8008CE0C -/* 8008CE08 00089D68 48 28 8B 29 */ bl Free__7CMemoryFPCv -lbl_8008CE0C: -/* 8008CE0C 00089D6C 34 1E 02 64 */ addic. r0, r30, 0x264 -/* 8008CE10 00089D70 41 82 00 5C */ beq lbl_8008CE6C -/* 8008CE14 00089D74 80 1E 02 68 */ lwz r0, 0x268(r30) -/* 8008CE18 00089D78 83 9E 02 70 */ lwz r28, 0x270(r30) -/* 8008CE1C 00089D7C 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008CE20 00089D80 93 81 00 0C */ stw r28, 0xc(r1) -/* 8008CE24 00089D84 7F BC 02 14 */ add r29, r28, r0 -/* 8008CE28 00089D88 93 81 00 08 */ stw r28, 8(r1) -/* 8008CE2C 00089D8C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8008CE30 00089D90 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8008CE34 00089D94 48 00 00 20 */ b lbl_8008CE54 -lbl_8008CE38: -/* 8008CE38 00089D98 7F 83 E3 78 */ mr r3, r28 -/* 8008CE3C 00089D9C 38 80 FF FF */ li r4, -1 -/* 8008CE40 00089DA0 81 9C 00 00 */ lwz r12, 0(r28) -/* 8008CE44 00089DA4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008CE48 00089DA8 7D 89 03 A6 */ mtctr r12 -/* 8008CE4C 00089DAC 4E 80 04 21 */ bctrl -/* 8008CE50 00089DB0 3B 9C 00 54 */ addi r28, r28, 0x54 -lbl_8008CE54: -/* 8008CE54 00089DB4 7C 1C E8 40 */ cmplw r28, r29 -/* 8008CE58 00089DB8 40 82 FF E0 */ bne lbl_8008CE38 -/* 8008CE5C 00089DBC 80 7E 02 70 */ lwz r3, 0x270(r30) -/* 8008CE60 00089DC0 28 03 00 00 */ cmplwi r3, 0 -/* 8008CE64 00089DC4 41 82 00 08 */ beq lbl_8008CE6C -/* 8008CE68 00089DC8 48 28 8A C9 */ bl Free__7CMemoryFPCv -lbl_8008CE6C: -/* 8008CE6C 00089DCC 7F C3 F3 78 */ mr r3, r30 -/* 8008CE70 00089DD0 38 80 00 00 */ li r4, 0 -/* 8008CE74 00089DD4 4B FD 0B E9 */ bl __dt__11CGameCameraFv -/* 8008CE78 00089DD8 7F E0 07 35 */ extsh. r0, r31 -/* 8008CE7C 00089DDC 40 81 00 0C */ ble lbl_8008CE88 -/* 8008CE80 00089DE0 7F C3 F3 78 */ mr r3, r30 -/* 8008CE84 00089DE4 48 28 8A AD */ bl Free__7CMemoryFPCv -lbl_8008CE88: -/* 8008CE88 00089DE8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8008CE8C 00089DEC 7F C3 F3 78 */ mr r3, r30 -/* 8008CE90 00089DF0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8008CE94 00089DF4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8008CE98 00089DF8 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8008CE9C 00089DFC 83 81 00 40 */ lwz r28, 0x40(r1) -/* 8008CEA0 00089E00 7C 08 03 A6 */ mtlr r0 -/* 8008CEA4 00089E04 38 21 00 50 */ addi r1, r1, 0x50 -/* 8008CEA8 00089E08 4E 80 00 20 */ blr - -.global __dt__Q211CBallCamera14SFailsafeStateFv -__dt__Q211CBallCamera14SFailsafeStateFv: -/* 8008CEAC 00089E0C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8008CEB0 00089E10 7C 08 02 A6 */ mflr r0 -/* 8008CEB4 00089E14 90 01 00 34 */ stw r0, 0x34(r1) -/* 8008CEB8 00089E18 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8008CEBC 00089E1C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8008CEC0 00089E20 7C 9E 23 78 */ mr r30, r4 -/* 8008CEC4 00089E24 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8008CEC8 00089E28 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8008CECC 00089E2C 41 82 00 70 */ beq lbl_8008CF3C -/* 8008CED0 00089E30 83 FD 00 00 */ lwz r31, 0(r29) -/* 8008CED4 00089E34 28 1F 00 00 */ cmplwi r31, 0 -/* 8008CED8 00089E38 41 82 00 54 */ beq lbl_8008CF2C -/* 8008CEDC 00089E3C 34 1F 00 90 */ addic. r0, r31, 0x90 -/* 8008CEE0 00089E40 41 82 00 44 */ beq lbl_8008CF24 -/* 8008CEE4 00089E44 80 1F 00 94 */ lwz r0, 0x94(r31) -/* 8008CEE8 00089E48 80 7F 00 9C */ lwz r3, 0x9c(r31) -/* 8008CEEC 00089E4C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8008CEF0 00089E50 90 61 00 0C */ stw r3, 0xc(r1) -/* 8008CEF4 00089E54 7C 64 1B 78 */ mr r4, r3 -/* 8008CEF8 00089E58 7C 03 02 14 */ add r0, r3, r0 -/* 8008CEFC 00089E5C 90 61 00 08 */ stw r3, 8(r1) -/* 8008CF00 00089E60 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008CF04 00089E64 90 01 00 10 */ stw r0, 0x10(r1) -/* 8008CF08 00089E68 48 00 00 08 */ b lbl_8008CF10 -lbl_8008CF0C: -/* 8008CF0C 00089E6C 38 84 00 0C */ addi r4, r4, 0xc -lbl_8008CF10: -/* 8008CF10 00089E70 7C 04 00 40 */ cmplw r4, r0 -/* 8008CF14 00089E74 40 82 FF F8 */ bne lbl_8008CF0C -/* 8008CF18 00089E78 28 03 00 00 */ cmplwi r3, 0 -/* 8008CF1C 00089E7C 41 82 00 08 */ beq lbl_8008CF24 -/* 8008CF20 00089E80 48 28 8A 11 */ bl Free__7CMemoryFPCv -lbl_8008CF24: -/* 8008CF24 00089E84 7F E3 FB 78 */ mr r3, r31 -/* 8008CF28 00089E88 48 28 8A 09 */ bl Free__7CMemoryFPCv -lbl_8008CF2C: -/* 8008CF2C 00089E8C 7F C0 07 35 */ extsh. r0, r30 -/* 8008CF30 00089E90 40 81 00 0C */ ble lbl_8008CF3C -/* 8008CF34 00089E94 7F A3 EB 78 */ mr r3, r29 -/* 8008CF38 00089E98 48 28 89 F9 */ bl Free__7CMemoryFPCv -lbl_8008CF3C: -/* 8008CF3C 00089E9C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8008CF40 00089EA0 7F A3 EB 78 */ mr r3, r29 -/* 8008CF44 00089EA4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8008CF48 00089EA8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8008CF4C 00089EAC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8008CF50 00089EB0 7C 08 03 A6 */ mtlr r0 -/* 8008CF54 00089EB4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8008CF58 00089EB8 4E 80 00 20 */ blr - -.global __ct__11CBallCameraF9TUniqueId9TUniqueIdRC12CTransform4fffff -__ct__11CBallCameraF9TUniqueId9TUniqueIdRC12CTransform4fffff: -/* 8008CF5C 00089EBC 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8008CF60 00089EC0 7C 08 02 A6 */ mflr r0 -/* 8008CF64 00089EC4 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8008CF68 00089EC8 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8008CF6C 00089ECC F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8008CF70 00089ED0 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8008CF74 00089ED4 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8008CF78 00089ED8 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8008CF7C 00089EDC F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8008CF80 00089EE0 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8008CF84 00089EE4 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 8008CF88 00089EE8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8008CF8C 00089EEC 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8008CF90 00089EF0 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8008CF94 00089EF4 93 81 00 60 */ stw r28, 0x60(r1) -/* 8008CF98 00089EF8 3C E0 80 3D */ lis r7, lbl_803CD678@ha -/* 8008CF9C 00089EFC FF 80 08 90 */ fmr f28, f1 -/* 8008CFA0 00089F00 FF A0 10 90 */ fmr f29, f2 -/* 8008CFA4 00089F04 38 E7 D6 78 */ addi r7, r7, lbl_803CD678@l -/* 8008CFA8 00089F08 7C 7E 1B 78 */ mr r30, r3 -/* 8008CFAC 00089F0C 7C 9C 23 78 */ mr r28, r4 -/* 8008CFB0 00089F10 FF E0 18 90 */ fmr f31, f3 -/* 8008CFB4 00089F14 FF C0 20 90 */ fmr f30, f4 -/* 8008CFB8 00089F18 7C BD 2B 78 */ mr r29, r5 -/* 8008CFBC 00089F1C 7C DF 33 78 */ mr r31, r6 -/* 8008CFC0 00089F20 38 61 00 30 */ addi r3, r1, 0x30 -/* 8008CFC4 00089F24 38 87 00 07 */ addi r4, r7, 7 -/* 8008CFC8 00089F28 4B F7 7C F1 */ bl string_l__4rstlFPCc -/* 8008CFCC 00089F2C 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) -/* 8008CFD0 00089F30 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 8008CFD4 00089F34 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8008CFD8 00089F38 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 8008CFDC 00089F3C 90 81 00 28 */ stw r4, 0x28(r1) -/* 8008CFE0 00089F40 38 61 00 40 */ addi r3, r1, 0x40 -/* 8008CFE4 00089F44 38 81 00 2C */ addi r4, r1, 0x2c -/* 8008CFE8 00089F48 38 C1 00 28 */ addi r6, r1, 0x28 -/* 8008CFEC 00089F4C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8008CFF0 00089F50 4B FC 44 95 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8008CFF4 00089F54 A0 7D 00 00 */ lhz r3, 0(r29) -/* 8008CFF8 00089F58 FC 20 E0 90 */ fmr f1, f28 -/* 8008CFFC 00089F5C A0 1C 00 00 */ lhz r0, 0(r28) -/* 8008D000 00089F60 FC 40 E8 90 */ fmr f2, f29 -/* 8008D004 00089F64 B0 61 00 10 */ sth r3, 0x10(r1) -/* 8008D008 00089F68 FC 60 F8 90 */ fmr f3, f31 -/* 8008D00C 00089F6C FC 80 F0 90 */ fmr f4, f30 -/* 8008D010 00089F70 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8008D014 00089F74 38 00 00 00 */ li r0, 0 -/* 8008D018 00089F78 7F C3 F3 78 */ mr r3, r30 -/* 8008D01C 00089F7C 7F E8 FB 78 */ mr r8, r31 -/* 8008D020 00089F80 90 01 00 08 */ stw r0, 8(r1) -/* 8008D024 00089F84 38 81 00 14 */ addi r4, r1, 0x14 -/* 8008D028 00089F88 38 C1 00 30 */ addi r6, r1, 0x30 -/* 8008D02C 00089F8C 38 E1 00 40 */ addi r7, r1, 0x40 -/* 8008D030 00089F90 39 21 00 10 */ addi r9, r1, 0x10 -/* 8008D034 00089F94 38 A0 00 01 */ li r5, 1 -/* 8008D038 00089F98 39 40 00 00 */ li r10, 0 -/* 8008D03C 00089F9C 4B FD 0A 81 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" -/* 8008D040 00089FA0 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8008D044 00089FA4 80 61 00 50 */ lwz r3, 0x50(r1) -/* 8008D048 00089FA8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8008D04C 00089FAC 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8008D050 00089FB0 7C 64 1B 78 */ mr r4, r3 -/* 8008D054 00089FB4 7C 03 02 14 */ add r0, r3, r0 -/* 8008D058 00089FB8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8008D05C 00089FBC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8008D060 00089FC0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8008D064 00089FC4 48 00 00 08 */ b lbl_8008D06C -lbl_8008D068: -/* 8008D068 00089FC8 38 84 00 0C */ addi r4, r4, 0xc -lbl_8008D06C: -/* 8008D06C 00089FCC 7C 04 00 40 */ cmplw r4, r0 -/* 8008D070 00089FD0 40 82 FF F8 */ bne lbl_8008D068 -/* 8008D074 00089FD4 28 03 00 00 */ cmplwi r3, 0 -/* 8008D078 00089FD8 41 82 00 08 */ beq lbl_8008D080 -/* 8008D07C 00089FDC 48 28 88 B5 */ bl Free__7CMemoryFPCv -lbl_8008D080: -/* 8008D080 00089FE0 38 61 00 30 */ addi r3, r1, 0x30 -/* 8008D084 00089FE4 48 2B 0A 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8008D088 00089FE8 3C 60 80 3E */ lis r3, lbl_803DAB90@ha -/* 8008D08C 00089FEC 38 80 00 00 */ li r4, 0 -/* 8008D090 00089FF0 38 03 AB 90 */ addi r0, r3, lbl_803DAB90@l -/* 8008D094 00089FF4 38 60 00 01 */ li r3, 1 -/* 8008D098 00089FF8 90 1E 00 00 */ stw r0, 0(r30) -/* 8008D09C 00089FFC 90 9E 01 88 */ stw r4, 0x188(r30) -/* 8008D0A0 0008A000 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 8008D0A4 0008A004 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8008D0A8 0008A008 98 1E 01 8C */ stb r0, 0x18c(r30) -/* 8008D0AC 0008A00C 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 8008D0B0 0008A010 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8008D0B4 0008A014 98 1E 01 8C */ stb r0, 0x18c(r30) -/* 8008D0B8 0008A018 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 8008D0BC 0008A01C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8008D0C0 0008A020 98 1E 01 8C */ stb r0, 0x18c(r30) -/* 8008D0C4 0008A024 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 8008D0C8 0008A028 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8008D0CC 0008A02C 98 1E 01 8C */ stb r0, 0x18c(r30) -/* 8008D0D0 0008A030 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 8008D0D4 0008A034 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8008D0D8 0008A038 98 1E 01 8C */ stb r0, 0x18c(r30) -/* 8008D0DC 0008A03C 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 8008D0E0 0008A040 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8008D0E4 0008A044 98 1E 01 8C */ stb r0, 0x18c(r30) -/* 8008D0E8 0008A048 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 8008D0EC 0008A04C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8008D0F0 0008A050 98 1E 01 8C */ stb r0, 0x18c(r30) -/* 8008D0F4 0008A054 88 1E 01 8C */ lbz r0, 0x18c(r30) -/* 8008D0F8 0008A058 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8008D0FC 0008A05C 98 1E 01 8C */ stb r0, 0x18c(r30) -/* 8008D100 0008A060 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008D104 0008A064 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8008D108 0008A068 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008D10C 0008A06C 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008D110 0008A070 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8008D114 0008A074 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008D118 0008A078 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008D11C 0008A07C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8008D120 0008A080 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008D124 0008A084 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008D128 0008A088 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8008D12C 0008A08C 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008D130 0008A090 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008D134 0008A094 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8008D138 0008A098 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008D13C 0008A09C 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008D140 0008A0A0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8008D144 0008A0A4 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008D148 0008A0A8 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008D14C 0008A0AC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8008D150 0008A0B0 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008D154 0008A0B4 88 1E 01 8D */ lbz r0, 0x18d(r30) -/* 8008D158 0008A0B8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 8008D15C 0008A0BC 98 1E 01 8D */ stb r0, 0x18d(r30) -/* 8008D160 0008A0C0 88 1E 01 8E */ lbz r0, 0x18e(r30) -/* 8008D164 0008A0C4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8008D168 0008A0C8 98 1E 01 8E */ stb r0, 0x18e(r30) -/* 8008D16C 0008A0CC 88 1E 01 8E */ lbz r0, 0x18e(r30) -/* 8008D170 0008A0D0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8008D174 0008A0D4 98 1E 01 8E */ stb r0, 0x18e(r30) -/* 8008D178 0008A0D8 88 1E 01 8E */ lbz r0, 0x18e(r30) -/* 8008D17C 0008A0DC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8008D180 0008A0E0 98 1E 01 8E */ stb r0, 0x18e(r30) -/* 8008D184 0008A0E4 88 1E 01 8E */ lbz r0, 0x18e(r30) -/* 8008D188 0008A0E8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8008D18C 0008A0EC 98 1E 01 8E */ stb r0, 0x18e(r30) -/* 8008D190 0008A0F0 88 1E 01 8E */ lbz r0, 0x18e(r30) -/* 8008D194 0008A0F4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8008D198 0008A0F8 98 1E 01 8E */ stb r0, 0x18e(r30) -/* 8008D19C 0008A0FC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D1A0 0008A100 C0 03 00 84 */ lfs f0, 0x84(r3) -/* 8008D1A4 0008A104 D0 1E 01 90 */ stfs f0, 0x190(r30) -/* 8008D1A8 0008A108 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D1AC 0008A10C C0 03 00 84 */ lfs f0, 0x84(r3) -/* 8008D1B0 0008A110 D0 1E 01 94 */ stfs f0, 0x194(r30) -/* 8008D1B4 0008A114 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D1B8 0008A118 C0 03 00 88 */ lfs f0, 0x88(r3) -/* 8008D1BC 0008A11C D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 8008D1C0 0008A120 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D1C4 0008A124 C0 03 00 8C */ lfs f0, 0x8c(r3) -/* 8008D1C8 0008A128 D0 1E 01 9C */ stfs f0, 0x19c(r30) -/* 8008D1CC 0008A12C C0 22 8A 3C */ lfs f1, lbl_805AA75C@sda21(r2) -/* 8008D1D0 0008A130 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8008D1D4 0008A134 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8008D1D8 0008A138 C0 02 8A B0 */ lfs f0, lbl_805AA7D0@sda21(r2) -/* 8008D1DC 0008A13C D0 3E 01 A0 */ stfs f1, 0x1a0(r30) -/* 8008D1E0 0008A140 3B E5 66 A0 */ addi r31, r5, skZero3f@l -/* 8008D1E4 0008A144 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8008D1E8 0008A148 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 8008D1EC 0008A14C 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) -/* 8008D1F0 0008A150 38 7E 01 E4 */ addi r3, r30, 0x1e4 -/* 8008D1F4 0008A154 C0 45 00 74 */ lfs f2, 0x74(r5) -/* 8008D1F8 0008A158 D0 5E 01 A4 */ stfs f2, 0x1a4(r30) -/* 8008D1FC 0008A15C 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) -/* 8008D200 0008A160 C0 45 00 74 */ lfs f2, 0x74(r5) -/* 8008D204 0008A164 D0 5E 01 A8 */ stfs f2, 0x1a8(r30) -/* 8008D208 0008A168 D0 1E 01 AC */ stfs f0, 0x1ac(r30) -/* 8008D20C 0008A16C D0 1E 01 B0 */ stfs f0, 0x1b0(r30) -/* 8008D210 0008A170 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) -/* 8008D214 0008A174 C0 05 00 78 */ lfs f0, 0x78(r5) -/* 8008D218 0008A178 D0 1E 01 B4 */ stfs f0, 0x1b4(r30) -/* 8008D21C 0008A17C C0 05 00 7C */ lfs f0, 0x7c(r5) -/* 8008D220 0008A180 D0 1E 01 B8 */ stfs f0, 0x1b8(r30) -/* 8008D224 0008A184 C0 05 00 80 */ lfs f0, 0x80(r5) -/* 8008D228 0008A188 D0 1E 01 BC */ stfs f0, 0x1bc(r30) -/* 8008D22C 0008A18C D0 3E 01 C0 */ stfs f1, 0x1c0(r30) -/* 8008D230 0008A190 D0 3E 01 C4 */ stfs f1, 0x1c4(r30) -/* 8008D234 0008A194 D0 3E 01 C8 */ stfs f1, 0x1c8(r30) -/* 8008D238 0008A198 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8008D23C 0008A19C D0 1E 01 CC */ stfs f0, 0x1cc(r30) -/* 8008D240 0008A1A0 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8008D244 0008A1A4 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) -/* 8008D248 0008A1A8 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8008D24C 0008A1AC D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8008D250 0008A1B0 D0 3E 01 D8 */ stfs f1, 0x1d8(r30) -/* 8008D254 0008A1B4 D0 3E 01 DC */ stfs f1, 0x1dc(r30) -/* 8008D258 0008A1B8 D0 3E 01 E0 */ stfs f1, 0x1e0(r30) -/* 8008D25C 0008A1BC 48 28 59 19 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008D260 0008A1C0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D264 0008A1C4 C0 23 00 94 */ lfs f1, 0x94(r3) -/* 8008D268 0008A1C8 C3 E3 00 9C */ lfs f31, 0x9c(r3) -/* 8008D26C 0008A1CC C3 C3 00 98 */ lfs f30, 0x98(r3) -/* 8008D270 0008A1D0 D0 3E 02 14 */ stfs f1, 0x214(r30) -/* 8008D274 0008A1D4 48 28 82 8D */ bl SqrtF__5CMathFf -/* 8008D278 0008A1D8 C0 42 89 E0 */ lfs f2, lbl_805AA700@sda21(r2) -/* 8008D27C 0008A1DC C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008D280 0008A1E0 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8008D284 0008A1E4 D0 3E 02 18 */ stfs f1, 0x218(r30) -/* 8008D288 0008A1E8 D3 DE 02 1C */ stfs f30, 0x21c(r30) -/* 8008D28C 0008A1EC D3 FE 02 20 */ stfs f31, 0x220(r30) -/* 8008D290 0008A1F0 D0 1E 02 24 */ stfs f0, 0x224(r30) -/* 8008D294 0008A1F4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D298 0008A1F8 C0 23 00 A0 */ lfs f1, 0xa0(r3) -/* 8008D29C 0008A1FC C3 C3 00 A8 */ lfs f30, 0xa8(r3) -/* 8008D2A0 0008A200 C3 E3 00 A4 */ lfs f31, 0xa4(r3) -/* 8008D2A4 0008A204 D0 3E 02 28 */ stfs f1, 0x228(r30) -/* 8008D2A8 0008A208 48 28 82 59 */ bl SqrtF__5CMathFf -/* 8008D2AC 0008A20C C0 42 89 E0 */ lfs f2, lbl_805AA700@sda21(r2) -/* 8008D2B0 0008A210 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008D2B4 0008A214 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8008D2B8 0008A218 D0 3E 02 2C */ stfs f1, 0x22c(r30) -/* 8008D2BC 0008A21C D3 FE 02 30 */ stfs f31, 0x230(r30) -/* 8008D2C0 0008A220 D3 DE 02 34 */ stfs f30, 0x234(r30) -/* 8008D2C4 0008A224 D0 1E 02 38 */ stfs f0, 0x238(r30) -/* 8008D2C8 0008A228 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D2CC 0008A22C C0 23 00 B8 */ lfs f1, 0xb8(r3) -/* 8008D2D0 0008A230 C3 C3 00 C0 */ lfs f30, 0xc0(r3) -/* 8008D2D4 0008A234 C3 E3 00 BC */ lfs f31, 0xbc(r3) -/* 8008D2D8 0008A238 D0 3E 02 3C */ stfs f1, 0x23c(r30) -/* 8008D2DC 0008A23C 48 28 82 25 */ bl SqrtF__5CMathFf -/* 8008D2E0 0008A240 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008D2E4 0008A244 C0 42 8A B4 */ lfs f2, lbl_805AA7D4@sda21(r2) -/* 8008D2E8 0008A248 EC 60 00 72 */ fmuls f3, f0, f1 -/* 8008D2EC 0008A24C C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008D2F0 0008A250 EC 22 07 B2 */ fmuls f1, f2, f30 -/* 8008D2F4 0008A254 D0 7E 02 40 */ stfs f3, 0x240(r30) -/* 8008D2F8 0008A258 D3 FE 02 44 */ stfs f31, 0x244(r30) -/* 8008D2FC 0008A25C D0 3E 02 48 */ stfs f1, 0x248(r30) -/* 8008D300 0008A260 D0 1E 02 4C */ stfs f0, 0x24c(r30) -/* 8008D304 0008A264 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D308 0008A268 C0 23 00 AC */ lfs f1, 0xac(r3) -/* 8008D30C 0008A26C C3 C3 00 B4 */ lfs f30, 0xb4(r3) -/* 8008D310 0008A270 C3 E3 00 B0 */ lfs f31, 0xb0(r3) -/* 8008D314 0008A274 D0 3E 02 50 */ stfs f1, 0x250(r30) -/* 8008D318 0008A278 48 28 81 E9 */ bl SqrtF__5CMathFf -/* 8008D31C 0008A27C C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008D320 0008A280 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8008D324 0008A284 38 C4 66 A0 */ addi r6, r4, skZero3f@l -/* 8008D328 0008A288 3C 60 80 5A */ lis r3, lbl_805A6784@ha -/* 8008D32C 0008A28C EC 20 00 72 */ fmuls f1, f0, f1 -/* 8008D330 0008A290 38 A3 67 84 */ addi r5, r3, lbl_805A6784@l -/* 8008D334 0008A294 C0 62 89 B0 */ lfs f3, lbl_805AA6D0@sda21(r2) -/* 8008D338 0008A298 38 00 00 00 */ li r0, 0 -/* 8008D33C 0008A29C C0 42 89 B8 */ lfs f2, lbl_805AA6D8@sda21(r2) -/* 8008D340 0008A2A0 38 60 00 00 */ li r3, 0 -/* 8008D344 0008A2A4 D0 3E 02 54 */ stfs f1, 0x254(r30) -/* 8008D348 0008A2A8 38 80 00 01 */ li r4, 1 -/* 8008D34C 0008A2AC C0 02 8A B8 */ lfs f0, lbl_805AA7D8@sda21(r2) -/* 8008D350 0008A2B0 D3 FE 02 58 */ stfs f31, 0x258(r30) -/* 8008D354 0008A2B4 D3 DE 02 5C */ stfs f30, 0x25c(r30) -/* 8008D358 0008A2B8 D0 7E 02 60 */ stfs f3, 0x260(r30) -/* 8008D35C 0008A2BC 90 1E 02 68 */ stw r0, 0x268(r30) -/* 8008D360 0008A2C0 90 1E 02 6C */ stw r0, 0x26c(r30) -/* 8008D364 0008A2C4 90 1E 02 70 */ stw r0, 0x270(r30) -/* 8008D368 0008A2C8 90 1E 02 78 */ stw r0, 0x278(r30) -/* 8008D36C 0008A2CC 90 1E 02 7C */ stw r0, 0x27c(r30) -/* 8008D370 0008A2D0 90 1E 02 80 */ stw r0, 0x280(r30) -/* 8008D374 0008A2D4 90 1E 02 88 */ stw r0, 0x288(r30) -/* 8008D378 0008A2D8 90 1E 02 8C */ stw r0, 0x28c(r30) -/* 8008D37C 0008A2DC 90 1E 02 90 */ stw r0, 0x290(r30) -/* 8008D380 0008A2E0 D0 7E 02 94 */ stfs f3, 0x294(r30) -/* 8008D384 0008A2E4 D0 7E 02 98 */ stfs f3, 0x298(r30) -/* 8008D388 0008A2E8 D0 7E 02 9C */ stfs f3, 0x29c(r30) -/* 8008D38C 0008A2EC D0 7E 02 A0 */ stfs f3, 0x2a0(r30) -/* 8008D390 0008A2F0 D0 7E 02 A4 */ stfs f3, 0x2a4(r30) -/* 8008D394 0008A2F4 D0 5E 02 A8 */ stfs f2, 0x2a8(r30) -/* 8008D398 0008A2F8 D0 7E 02 AC */ stfs f3, 0x2ac(r30) -/* 8008D39C 0008A2FC D0 7E 02 B0 */ stfs f3, 0x2b0(r30) -/* 8008D3A0 0008A300 D0 5E 02 B4 */ stfs f2, 0x2b4(r30) -/* 8008D3A4 0008A304 D0 7E 02 B8 */ stfs f3, 0x2b8(r30) -/* 8008D3A8 0008A308 D0 7E 02 BC */ stfs f3, 0x2bc(r30) -/* 8008D3AC 0008A30C D0 5E 02 C0 */ stfs f2, 0x2c0(r30) -/* 8008D3B0 0008A310 90 1E 02 C4 */ stw r0, 0x2c4(r30) -/* 8008D3B4 0008A314 90 1E 02 C8 */ stw r0, 0x2c8(r30) -/* 8008D3B8 0008A318 90 1E 02 CC */ stw r0, 0x2cc(r30) -/* 8008D3BC 0008A31C 90 1E 02 D0 */ stw r0, 0x2d0(r30) -/* 8008D3C0 0008A320 90 1E 02 D4 */ stw r0, 0x2d4(r30) -/* 8008D3C4 0008A324 90 1E 02 D8 */ stw r0, 0x2d8(r30) -/* 8008D3C8 0008A328 D0 7E 02 DC */ stfs f3, 0x2dc(r30) -/* 8008D3CC 0008A32C D0 7E 02 E0 */ stfs f3, 0x2e0(r30) -/* 8008D3D0 0008A330 D0 7E 02 E4 */ stfs f3, 0x2e4(r30) -/* 8008D3D4 0008A334 D0 7E 02 E8 */ stfs f3, 0x2e8(r30) -/* 8008D3D8 0008A338 D0 7E 02 EC */ stfs f3, 0x2ec(r30) -/* 8008D3DC 0008A33C C0 26 00 00 */ lfs f1, 0(r6) -/* 8008D3E0 0008A340 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) -/* 8008D3E4 0008A344 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8008D3E8 0008A348 D0 3E 02 F4 */ stfs f1, 0x2f4(r30) -/* 8008D3EC 0008A34C C0 3F 00 08 */ lfs f1, 8(r31) -/* 8008D3F0 0008A350 D0 3E 02 F8 */ stfs f1, 0x2f8(r30) -/* 8008D3F4 0008A354 C0 26 00 00 */ lfs f1, 0(r6) -/* 8008D3F8 0008A358 D0 3E 02 FC */ stfs f1, 0x2fc(r30) -/* 8008D3FC 0008A35C C0 3F 00 04 */ lfs f1, 4(r31) -/* 8008D400 0008A360 D0 3E 03 00 */ stfs f1, 0x300(r30) -/* 8008D404 0008A364 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8008D408 0008A368 D0 3E 03 04 */ stfs f1, 0x304(r30) -/* 8008D40C 0008A36C D0 7E 03 08 */ stfs f3, 0x308(r30) -/* 8008D410 0008A370 D0 7E 03 0C */ stfs f3, 0x30c(r30) -/* 8008D414 0008A374 D0 7E 03 10 */ stfs f3, 0x310(r30) -/* 8008D418 0008A378 D0 7E 03 14 */ stfs f3, 0x314(r30) -/* 8008D41C 0008A37C D0 7E 03 18 */ stfs f3, 0x318(r30) -/* 8008D420 0008A380 D0 7E 03 1C */ stfs f3, 0x31c(r30) -/* 8008D424 0008A384 D0 7E 03 20 */ stfs f3, 0x320(r30) -/* 8008D428 0008A388 D0 7E 03 24 */ stfs f3, 0x324(r30) -/* 8008D42C 0008A38C 90 1E 03 28 */ stw r0, 0x328(r30) -/* 8008D430 0008A390 D0 5E 03 2C */ stfs f2, 0x32c(r30) -/* 8008D434 0008A394 D0 1E 03 30 */ stfs f0, 0x330(r30) -/* 8008D438 0008A398 C0 05 00 00 */ lfs f0, 0(r5) -/* 8008D43C 0008A39C D0 1E 03 34 */ stfs f0, 0x334(r30) -/* 8008D440 0008A3A0 C0 05 00 04 */ lfs f0, 4(r5) -/* 8008D444 0008A3A4 D0 1E 03 38 */ stfs f0, 0x338(r30) -/* 8008D448 0008A3A8 C0 05 00 08 */ lfs f0, 8(r5) -/* 8008D44C 0008A3AC D0 1E 03 3C */ stfs f0, 0x33c(r30) -/* 8008D450 0008A3B0 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8008D454 0008A3B4 D0 1E 03 40 */ stfs f0, 0x340(r30) -/* 8008D458 0008A3B8 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8008D45C 0008A3BC D0 1E 03 44 */ stfs f0, 0x344(r30) -/* 8008D460 0008A3C0 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8008D464 0008A3C4 D0 1E 03 48 */ stfs f0, 0x348(r30) -/* 8008D468 0008A3C8 D0 7E 03 4C */ stfs f3, 0x34c(r30) -/* 8008D46C 0008A3CC 90 1E 03 54 */ stw r0, 0x354(r30) -/* 8008D470 0008A3D0 90 1E 03 50 */ stw r0, 0x350(r30) -/* 8008D474 0008A3D4 80 AD 84 74 */ lwz r5, lbl_805A7034@sda21(r13) -/* 8008D478 0008A3D8 48 2F CA 7D */ bl __shl2i -/* 8008D47C 0008A3DC 80 1E 03 54 */ lwz r0, 0x354(r30) -/* 8008D480 0008A3E0 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8008D484 0008A3E4 80 FE 03 50 */ lwz r7, 0x350(r30) -/* 8008D488 0008A3E8 38 C5 66 A0 */ addi r6, r5, skZero3f@l -/* 8008D48C 0008A3EC 7C 00 23 78 */ or r0, r0, r4 -/* 8008D490 0008A3F0 C0 22 89 B0 */ lfs f1, lbl_805AA6D0@sda21(r2) -/* 8008D494 0008A3F4 90 1E 03 54 */ stw r0, 0x354(r30) -/* 8008D498 0008A3F8 7C E0 1B 78 */ or r0, r7, r3 -/* 8008D49C 0008A3FC 38 A0 00 00 */ li r5, 0 -/* 8008D4A0 0008A400 38 7E 03 7C */ addi r3, r30, 0x37c -/* 8008D4A4 0008A404 90 1E 03 50 */ stw r0, 0x350(r30) -/* 8008D4A8 0008A408 38 80 00 00 */ li r4, 0 -/* 8008D4AC 0008A40C D0 3E 03 58 */ stfs f1, 0x358(r30) -/* 8008D4B0 0008A410 C0 06 00 00 */ lfs f0, 0(r6) -/* 8008D4B4 0008A414 D0 1E 03 5C */ stfs f0, 0x35c(r30) -/* 8008D4B8 0008A418 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8008D4BC 0008A41C D0 1E 03 60 */ stfs f0, 0x360(r30) -/* 8008D4C0 0008A420 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8008D4C4 0008A424 D0 1E 03 64 */ stfs f0, 0x364(r30) -/* 8008D4C8 0008A428 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008D4CC 0008A42C B0 1E 03 68 */ sth r0, 0x368(r30) -/* 8008D4D0 0008A430 90 BE 03 6C */ stw r5, 0x36c(r30) -/* 8008D4D4 0008A434 88 1E 03 70 */ lbz r0, 0x370(r30) -/* 8008D4D8 0008A438 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8008D4DC 0008A43C 98 1E 03 70 */ stb r0, 0x370(r30) -/* 8008D4E0 0008A440 D0 3E 03 74 */ stfs f1, 0x374(r30) -/* 8008D4E4 0008A444 4B FD 02 7D */ bl __ct__13CCameraSplineFb -/* 8008D4E8 0008A448 38 00 00 00 */ li r0, 0 -/* 8008D4EC 0008A44C 38 60 00 00 */ li r3, 0 -/* 8008D4F0 0008A450 90 1E 03 CC */ stw r0, 0x3cc(r30) -/* 8008D4F4 0008A454 38 80 00 01 */ li r4, 1 -/* 8008D4F8 0008A458 90 1E 03 C8 */ stw r0, 0x3c8(r30) -/* 8008D4FC 0008A45C 80 AD 84 78 */ lwz r5, lbl_805A7038@sda21(r13) -/* 8008D500 0008A460 48 2F C9 F5 */ bl __shl2i -/* 8008D504 0008A464 80 1E 03 CC */ lwz r0, 0x3cc(r30) -/* 8008D508 0008A468 38 A0 00 00 */ li r5, 0 -/* 8008D50C 0008A46C 80 DE 03 C8 */ lwz r6, 0x3c8(r30) -/* 8008D510 0008A470 7C 00 23 78 */ or r0, r0, r4 -/* 8008D514 0008A474 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 8008D518 0008A478 90 1E 03 CC */ stw r0, 0x3cc(r30) -/* 8008D51C 0008A47C 7C C0 1B 78 */ or r0, r6, r3 -/* 8008D520 0008A480 C0 22 8A BC */ lfs f1, lbl_805AA7DC@sda21(r2) -/* 8008D524 0008A484 90 1E 03 C8 */ stw r0, 0x3c8(r30) -/* 8008D528 0008A488 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008D52C 0008A48C 88 1E 03 D0 */ lbz r0, 0x3d0(r30) -/* 8008D530 0008A490 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8008D534 0008A494 98 1E 03 D0 */ stb r0, 0x3d0(r30) -/* 8008D538 0008A498 D0 5E 03 D4 */ stfs f2, 0x3d4(r30) -/* 8008D53C 0008A49C D0 5E 03 D8 */ stfs f2, 0x3d8(r30) -/* 8008D540 0008A4A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008D544 0008A4A4 B0 1E 03 DC */ sth r0, 0x3dc(r30) -/* 8008D548 0008A4A8 D0 3E 03 E0 */ stfs f1, 0x3e0(r30) -/* 8008D54C 0008A4AC 98 BE 03 E4 */ stb r5, 0x3e4(r30) -/* 8008D550 0008A4B0 D0 5E 03 E8 */ stfs f2, 0x3e8(r30) -/* 8008D554 0008A4B4 D0 5E 03 EC */ stfs f2, 0x3ec(r30) -/* 8008D558 0008A4B8 D0 5E 03 F0 */ stfs f2, 0x3f0(r30) -/* 8008D55C 0008A4BC D0 1E 03 F4 */ stfs f0, 0x3f4(r30) -/* 8008D560 0008A4C0 D0 5E 03 F8 */ stfs f2, 0x3f8(r30) -/* 8008D564 0008A4C4 D0 5E 03 FC */ stfs f2, 0x3fc(r30) -/* 8008D568 0008A4C8 90 BE 04 00 */ stw r5, 0x400(r30) -/* 8008D56C 0008A4CC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D570 0008A4D0 C0 03 01 78 */ lfs f0, 0x178(r3) -/* 8008D574 0008A4D4 D0 1E 04 04 */ stfs f0, 0x404(r30) -/* 8008D578 0008A4D8 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D57C 0008A4DC C0 03 01 80 */ lfs f0, 0x180(r3) -/* 8008D580 0008A4E0 D0 1E 04 08 */ stfs f0, 0x408(r30) -/* 8008D584 0008A4E4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D588 0008A4E8 C0 03 01 88 */ lfs f0, 0x188(r3) -/* 8008D58C 0008A4EC D0 1E 04 0C */ stfs f0, 0x40c(r30) -/* 8008D590 0008A4F0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D594 0008A4F4 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8008D598 0008A4F8 D0 1E 04 10 */ stfs f0, 0x410(r30) -/* 8008D59C 0008A4FC C0 03 01 90 */ lfs f0, 0x190(r3) -/* 8008D5A0 0008A500 D0 1E 04 14 */ stfs f0, 0x414(r30) -/* 8008D5A4 0008A504 C0 03 01 94 */ lfs f0, 0x194(r3) -/* 8008D5A8 0008A508 D0 1E 04 18 */ stfs f0, 0x418(r30) -/* 8008D5AC 0008A50C 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D5B0 0008A510 C0 23 01 98 */ lfs f1, 0x198(r3) -/* 8008D5B4 0008A514 C3 C3 01 A0 */ lfs f30, 0x1a0(r3) -/* 8008D5B8 0008A518 C3 E3 01 9C */ lfs f31, 0x19c(r3) -/* 8008D5BC 0008A51C D0 3E 04 1C */ stfs f1, 0x41c(r30) -/* 8008D5C0 0008A520 48 28 7F 41 */ bl SqrtF__5CMathFf -/* 8008D5C4 0008A524 C0 42 89 E0 */ lfs f2, lbl_805AA700@sda21(r2) -/* 8008D5C8 0008A528 C0 02 89 B0 */ lfs f0, lbl_805AA6D0@sda21(r2) -/* 8008D5CC 0008A52C EC 22 00 72 */ fmuls f1, f2, f1 -/* 8008D5D0 0008A530 D0 3E 04 20 */ stfs f1, 0x420(r30) -/* 8008D5D4 0008A534 D3 FE 04 24 */ stfs f31, 0x424(r30) -/* 8008D5D8 0008A538 D3 DE 04 28 */ stfs f30, 0x428(r30) -/* 8008D5DC 0008A53C D0 1E 04 2C */ stfs f0, 0x42c(r30) -/* 8008D5E0 0008A540 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D5E4 0008A544 C0 03 01 A4 */ lfs f0, 0x1a4(r3) -/* 8008D5E8 0008A548 D0 1E 04 30 */ stfs f0, 0x430(r30) -/* 8008D5EC 0008A54C 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D5F0 0008A550 C0 03 01 AC */ lfs f0, 0x1ac(r3) -/* 8008D5F4 0008A554 D0 1E 04 34 */ stfs f0, 0x434(r30) -/* 8008D5F8 0008A558 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D5FC 0008A55C C0 03 01 B4 */ lfs f0, 0x1b4(r3) -/* 8008D600 0008A560 D0 1E 04 38 */ stfs f0, 0x438(r30) -/* 8008D604 0008A564 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D608 0008A568 C0 03 01 B8 */ lfs f0, 0x1b8(r3) -/* 8008D60C 0008A56C D0 1E 04 3C */ stfs f0, 0x43c(r30) -/* 8008D610 0008A570 C0 03 01 BC */ lfs f0, 0x1bc(r3) -/* 8008D614 0008A574 D0 1E 04 40 */ stfs f0, 0x440(r30) -/* 8008D618 0008A578 C0 03 01 C0 */ lfs f0, 0x1c0(r3) -/* 8008D61C 0008A57C D0 1E 04 44 */ stfs f0, 0x444(r30) -/* 8008D620 0008A580 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 8008D624 0008A584 C0 23 01 C4 */ lfs f1, 0x1c4(r3) -/* 8008D628 0008A588 C3 C3 01 CC */ lfs f30, 0x1cc(r3) -/* 8008D62C 0008A58C C3 E3 01 C8 */ lfs f31, 0x1c8(r3) -/* 8008D630 0008A590 D0 3E 04 48 */ stfs f1, 0x448(r30) -/* 8008D634 0008A594 48 28 7E CD */ bl SqrtF__5CMathFf -/* 8008D638 0008A598 C0 02 89 E0 */ lfs f0, lbl_805AA700@sda21(r2) -/* 8008D63C 0008A59C 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8008D640 0008A5A0 38 C5 66 A0 */ addi r6, r5, skZero3f@l -/* 8008D644 0008A5A4 3C 60 80 3D */ lis r3, lbl_803CD678@ha -/* 8008D648 0008A5A8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8008D64C 0008A5AC 38 83 D6 78 */ addi r4, r3, lbl_803CD678@l -/* 8008D650 0008A5B0 C0 42 89 B0 */ lfs f2, lbl_805AA6D0@sda21(r2) -/* 8008D654 0008A5B4 38 00 00 00 */ li r0, 0 -/* 8008D658 0008A5B8 38 60 00 A0 */ li r3, 0xa0 -/* 8008D65C 0008A5BC 38 A0 00 00 */ li r5, 0 -/* 8008D660 0008A5C0 D0 1E 04 4C */ stfs f0, 0x44c(r30) -/* 8008D664 0008A5C4 D3 FE 04 50 */ stfs f31, 0x450(r30) -/* 8008D668 0008A5C8 D3 DE 04 54 */ stfs f30, 0x454(r30) -/* 8008D66C 0008A5CC D0 5E 04 58 */ stfs f2, 0x458(r30) -/* 8008D670 0008A5D0 C0 06 00 00 */ lfs f0, 0(r6) -/* 8008D674 0008A5D4 D0 1E 04 5C */ stfs f0, 0x45c(r30) -/* 8008D678 0008A5D8 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8008D67C 0008A5DC D0 1E 04 60 */ stfs f0, 0x460(r30) -/* 8008D680 0008A5E0 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8008D684 0008A5E4 D0 1E 04 64 */ stfs f0, 0x464(r30) -/* 8008D688 0008A5E8 80 CD A1 1C */ lwz r6, gpTweakBall@sda21(r13) -/* 8008D68C 0008A5EC C0 06 01 70 */ lfs f0, 0x170(r6) -/* 8008D690 0008A5F0 D0 1E 04 68 */ stfs f0, 0x468(r30) -/* 8008D694 0008A5F4 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) -/* 8008D698 0008A5F8 B0 DE 04 6C */ sth r6, 0x46c(r30) -/* 8008D69C 0008A5FC D0 5E 04 70 */ stfs f2, 0x470(r30) -/* 8008D6A0 0008A600 D0 5E 04 74 */ stfs f2, 0x474(r30) -/* 8008D6A4 0008A604 90 1E 04 78 */ stw r0, 0x478(r30) -/* 8008D6A8 0008A608 48 28 81 C5 */ bl __nw__FUlPCcPCc -/* 8008D6AC 0008A60C 7C 60 1B 79 */ or. r0, r3, r3 -/* 8008D6B0 0008A610 41 82 00 0C */ beq lbl_8008D6BC -/* 8008D6B4 0008A614 48 1B 0F 55 */ bl __ct__Q211CBallCamera14SFailsafeStateFv -/* 8008D6B8 0008A618 7C 60 1B 78 */ mr r0, r3 -lbl_8008D6BC: -/* 8008D6BC 0008A61C 3C 60 80 3D */ lis r3, lbl_803CD678@ha -/* 8008D6C0 0008A620 90 1E 04 7C */ stw r0, 0x47c(r30) -/* 8008D6C4 0008A624 38 83 D6 78 */ addi r4, r3, lbl_803CD678@l -/* 8008D6C8 0008A628 38 A0 00 00 */ li r5, 0 -/* 8008D6CC 0008A62C 38 60 00 01 */ li r3, 1 -/* 8008D6D0 0008A630 48 28 81 9D */ bl __nw__FUlPCcPCc -/* 8008D6D4 0008A634 7C 60 1B 79 */ or. r0, r3, r3 -/* 8008D6D8 0008A638 41 82 00 0C */ beq lbl_8008D6E4 -/* 8008D6DC 0008A63C 48 1B 0F 29 */ bl nullsub_19 -/* 8008D6E0 0008A640 7C 60 1B 78 */ mr r0, r3 -lbl_8008D6E4: -/* 8008D6E4 0008A644 C0 22 8A 2C */ lfs f1, lbl_805AA74C@sda21(r2) -/* 8008D6E8 0008A648 7F C3 F3 78 */ mr r3, r30 -/* 8008D6EC 0008A64C 90 1E 04 80 */ stw r0, 0x480(r30) -/* 8008D6F0 0008A650 38 9E 02 64 */ addi r4, r30, 0x264 -/* 8008D6F4 0008A654 FC 40 08 90 */ fmr f2, f1 -/* 8008D6F8 0008A658 C0 62 89 BC */ lfs f3, lbl_805AA6DC@sda21(r2) -/* 8008D6FC 0008A65C C0 82 89 E0 */ lfs f4, lbl_805AA700@sda21(r2) -/* 8008D700 0008A660 38 A0 00 03 */ li r5, 3 -/* 8008D704 0008A664 C0 A2 89 DC */ lfs f5, lbl_805AA6FC@sda21(r2) -/* 8008D708 0008A668 C0 C2 8A 30 */ lfs f6, lbl_805AA750@sda21(r2) -/* 8008D70C 0008A66C 4B FF ED 05 */ bl "SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff" -/* 8008D710 0008A670 C0 22 8A 34 */ lfs f1, lbl_805AA754@sda21(r2) -/* 8008D714 0008A674 7F C3 F3 78 */ mr r3, r30 -/* 8008D718 0008A678 C0 62 89 BC */ lfs f3, lbl_805AA6DC@sda21(r2) -/* 8008D71C 0008A67C 38 9E 02 74 */ addi r4, r30, 0x274 -/* 8008D720 0008A680 FC 40 08 90 */ fmr f2, f1 -/* 8008D724 0008A684 C0 82 89 E0 */ lfs f4, lbl_805AA700@sda21(r2) -/* 8008D728 0008A688 C0 A2 89 DC */ lfs f5, lbl_805AA6FC@sda21(r2) -/* 8008D72C 0008A68C 38 A0 00 06 */ li r5, 6 -/* 8008D730 0008A690 C0 C2 8A 30 */ lfs f6, lbl_805AA750@sda21(r2) -/* 8008D734 0008A694 4B FF EC DD */ bl "SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff" -/* 8008D738 0008A698 C0 22 8A 38 */ lfs f1, lbl_805AA758@sda21(r2) -/* 8008D73C 0008A69C 7F C3 F3 78 */ mr r3, r30 -/* 8008D740 0008A6A0 C0 62 89 BC */ lfs f3, lbl_805AA6DC@sda21(r2) -/* 8008D744 0008A6A4 38 9E 02 84 */ addi r4, r30, 0x284 -/* 8008D748 0008A6A8 FC 40 08 90 */ fmr f2, f1 -/* 8008D74C 0008A6AC C0 82 89 E0 */ lfs f4, lbl_805AA700@sda21(r2) -/* 8008D750 0008A6B0 C0 A2 89 DC */ lfs f5, lbl_805AA6FC@sda21(r2) -/* 8008D754 0008A6B4 38 A0 00 0C */ li r5, 0xc -/* 8008D758 0008A6B8 C0 C2 8A 30 */ lfs f6, lbl_805AA750@sda21(r2) -/* 8008D75C 0008A6BC 4B FF EC B5 */ bl "SetupColliders__11CBallCameraFRQ24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>fffifff" -/* 8008D760 0008A6C0 7F C3 F3 78 */ mr r3, r30 -/* 8008D764 0008A6C4 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8008D768 0008A6C8 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8008D76C 0008A6CC E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8008D770 0008A6D0 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8008D774 0008A6D4 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8008D778 0008A6D8 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8008D77C 0008A6DC E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 8008D780 0008A6E0 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 8008D784 0008A6E4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8008D788 0008A6E8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8008D78C 0008A6EC 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8008D790 0008A6F0 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8008D794 0008A6F4 83 81 00 60 */ lwz r28, 0x60(r1) -/* 8008D798 0008A6F8 7C 08 03 A6 */ mtlr r0 -/* 8008D79C 0008A6FC 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8008D7A0 0008A700 4E 80 00 20 */ blr - -.global __ct__15CCameraColliderFf9CVector3fRC13CCameraSpringf -__ct__15CCameraColliderFf9CVector3fRC13CCameraSpringf: -/* 8008D7A4 0008A704 3C C0 80 3E */ lis r6, lbl_803DAC28@ha -/* 8008D7A8 0008A708 38 00 00 00 */ li r0, 0 -/* 8008D7AC 0008A70C 38 C6 AC 28 */ addi r6, r6, lbl_803DAC28@l -/* 8008D7B0 0008A710 90 C3 00 00 */ stw r6, 0(r3) -/* 8008D7B4 0008A714 D0 23 00 04 */ stfs f1, 4(r3) -/* 8008D7B8 0008A718 C0 04 00 00 */ lfs f0, 0(r4) -/* 8008D7BC 0008A71C D0 03 00 08 */ stfs f0, 8(r3) -/* 8008D7C0 0008A720 C0 04 00 04 */ lfs f0, 4(r4) -/* 8008D7C4 0008A724 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8008D7C8 0008A728 C0 04 00 08 */ lfs f0, 8(r4) -/* 8008D7CC 0008A72C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8008D7D0 0008A730 C0 04 00 00 */ lfs f0, 0(r4) -/* 8008D7D4 0008A734 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8008D7D8 0008A738 C0 04 00 04 */ lfs f0, 4(r4) -/* 8008D7DC 0008A73C D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8008D7E0 0008A740 C0 04 00 08 */ lfs f0, 8(r4) -/* 8008D7E4 0008A744 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8008D7E8 0008A748 C0 04 00 00 */ lfs f0, 0(r4) -/* 8008D7EC 0008A74C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8008D7F0 0008A750 C0 04 00 04 */ lfs f0, 4(r4) -/* 8008D7F4 0008A754 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8008D7F8 0008A758 C0 04 00 08 */ lfs f0, 8(r4) -/* 8008D7FC 0008A75C D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8008D800 0008A760 C0 04 00 00 */ lfs f0, 0(r4) -/* 8008D804 0008A764 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8008D808 0008A768 C0 04 00 04 */ lfs f0, 4(r4) -/* 8008D80C 0008A76C D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8008D810 0008A770 C0 04 00 08 */ lfs f0, 8(r4) -/* 8008D814 0008A774 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 8008D818 0008A778 C0 05 00 00 */ lfs f0, 0(r5) -/* 8008D81C 0008A77C D0 03 00 38 */ stfs f0, 0x38(r3) -/* 8008D820 0008A780 C0 05 00 04 */ lfs f0, 4(r5) -/* 8008D824 0008A784 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 8008D828 0008A788 C0 05 00 08 */ lfs f0, 8(r5) -/* 8008D82C 0008A78C D0 03 00 40 */ stfs f0, 0x40(r3) -/* 8008D830 0008A790 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8008D834 0008A794 D0 03 00 44 */ stfs f0, 0x44(r3) -/* 8008D838 0008A798 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8008D83C 0008A79C D0 03 00 48 */ stfs f0, 0x48(r3) -/* 8008D840 0008A7A0 90 03 00 4C */ stw r0, 0x4c(r3) -/* 8008D844 0008A7A4 D0 43 00 50 */ stfs f2, 0x50(r3) -/* 8008D848 0008A7A8 4E 80 00 20 */ blr - -.global "reserve__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>Fi": -/* 8008D84C 0008A7AC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8008D850 0008A7B0 7C 08 02 A6 */ mflr r0 -/* 8008D854 0008A7B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8008D858 0008A7B8 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8008D85C 0008A7BC 7C 9F 23 78 */ mr r31, r4 -/* 8008D860 0008A7C0 7C 7E 1B 78 */ mr r30, r3 -/* 8008D864 0008A7C4 80 03 00 08 */ lwz r0, 8(r3) -/* 8008D868 0008A7C8 7C 1F 00 00 */ cmpw r31, r0 -/* 8008D86C 0008A7CC 40 81 00 B0 */ ble lbl_8008D91C -/* 8008D870 0008A7D0 1C 7F 00 54 */ mulli r3, r31, 0x54 -/* 8008D874 0008A7D4 2C 03 00 00 */ cmpwi r3, 0 -/* 8008D878 0008A7D8 40 82 00 0C */ bne lbl_8008D884 -/* 8008D87C 0008A7DC 3B A0 00 00 */ li r29, 0 -/* 8008D880 0008A7E0 48 00 00 18 */ b lbl_8008D898 -lbl_8008D884: -/* 8008D884 0008A7E4 3C 80 80 3D */ lis r4, lbl_803CD678@ha -/* 8008D888 0008A7E8 38 A0 00 00 */ li r5, 0 -/* 8008D88C 0008A7EC 38 84 D6 78 */ addi r4, r4, lbl_803CD678@l -/* 8008D890 0008A7F0 48 28 7F 89 */ bl __nwa__FUlPCcPCc -/* 8008D894 0008A7F4 7C 7D 1B 78 */ mr r29, r3 -lbl_8008D898: -/* 8008D898 0008A7F8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8008D89C 0008A7FC 7F A5 EB 78 */ mr r5, r29 -/* 8008D8A0 0008A800 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8008D8A4 0008A804 38 61 00 14 */ addi r3, r1, 0x14 -/* 8008D8A8 0008A808 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008D8AC 0008A80C 38 81 00 0C */ addi r4, r1, 0xc -/* 8008D8B0 0008A810 7C C6 02 14 */ add r6, r6, r0 -/* 8008D8B4 0008A814 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8008D8B8 0008A818 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8008D8BC 0008A81C 90 C1 00 08 */ stw r6, 8(r1) -/* 8008D8C0 0008A820 90 01 00 10 */ stw r0, 0x10(r1) -/* 8008D8C4 0008A824 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008D8C8 0008A828 48 00 00 69 */ bl "uninitialized_copy,Q24rstl17rmemory_allocator>,P15CCameraCollider>__4rstlFQ24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>P15CCameraCollider" -/* 8008D8CC 0008A82C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8008D8D0 0008A830 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 8008D8D4 0008A834 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8008D8D8 0008A838 7F 9B 02 14 */ add r28, r27, r0 -/* 8008D8DC 0008A83C 48 00 00 20 */ b lbl_8008D8FC -lbl_8008D8E0: -/* 8008D8E0 0008A840 7F 63 DB 78 */ mr r3, r27 -/* 8008D8E4 0008A844 38 80 FF FF */ li r4, -1 -/* 8008D8E8 0008A848 81 9B 00 00 */ lwz r12, 0(r27) -/* 8008D8EC 0008A84C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008D8F0 0008A850 7D 89 03 A6 */ mtctr r12 -/* 8008D8F4 0008A854 4E 80 04 21 */ bctrl -/* 8008D8F8 0008A858 3B 7B 00 54 */ addi r27, r27, 0x54 -lbl_8008D8FC: -/* 8008D8FC 0008A85C 7C 1B E0 40 */ cmplw r27, r28 -/* 8008D900 0008A860 40 82 FF E0 */ bne lbl_8008D8E0 -/* 8008D904 0008A864 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8008D908 0008A868 28 03 00 00 */ cmplwi r3, 0 -/* 8008D90C 0008A86C 41 82 00 08 */ beq lbl_8008D914 -/* 8008D910 0008A870 48 28 80 21 */ bl Free__7CMemoryFPCv -lbl_8008D914: -/* 8008D914 0008A874 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8008D918 0008A878 93 FE 00 08 */ stw r31, 8(r30) -lbl_8008D91C: -/* 8008D91C 0008A87C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8008D920 0008A880 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8008D924 0008A884 7C 08 03 A6 */ mtlr r0 -/* 8008D928 0008A888 38 21 00 30 */ addi r1, r1, 0x30 -/* 8008D92C 0008A88C 4E 80 00 20 */ blr - -.global "uninitialized_copy,Q24rstl17rmemory_allocator>,P15CCameraCollider>__4rstlFQ24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>P15CCameraCollider" -"uninitialized_copy,Q24rstl17rmemory_allocator>,P15CCameraCollider>__4rstlFQ24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124pointer_iterator<15CCameraCollider,Q24rstl52vector<15CCameraCollider,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>P15CCameraCollider": -/* 8008D930 0008A890 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8008D934 0008A894 7C 08 02 A6 */ mflr r0 -/* 8008D938 0008A898 90 01 00 24 */ stw r0, 0x24(r1) -/* 8008D93C 0008A89C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8008D940 0008A8A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8008D944 0008A8A4 7C BE 2B 78 */ mr r30, r5 -/* 8008D948 0008A8A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8008D94C 0008A8AC 7C 9D 23 78 */ mr r29, r4 -/* 8008D950 0008A8B0 83 E3 00 00 */ lwz r31, 0(r3) -/* 8008D954 0008A8B4 48 00 00 18 */ b lbl_8008D96C -lbl_8008D958: -/* 8008D958 0008A8B8 7F C3 F3 78 */ mr r3, r30 -/* 8008D95C 0008A8BC 7F E4 FB 78 */ mr r4, r31 -/* 8008D960 0008A8C0 4B FF ED 45 */ bl "construct<15CCameraCollider>__4rstlFPvRC15CCameraCollider" -/* 8008D964 0008A8C4 3B DE 00 54 */ addi r30, r30, 0x54 -/* 8008D968 0008A8C8 3B FF 00 54 */ addi r31, r31, 0x54 -lbl_8008D96C: -/* 8008D96C 0008A8CC 80 1D 00 00 */ lwz r0, 0(r29) -/* 8008D970 0008A8D0 7C 1F 00 40 */ cmplw r31, r0 -/* 8008D974 0008A8D4 40 82 FF E4 */ bne lbl_8008D958 -/* 8008D978 0008A8D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8008D97C 0008A8DC 7F C3 F3 78 */ mr r3, r30 -/* 8008D980 0008A8E0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8008D984 0008A8E4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8008D988 0008A8E8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8008D98C 0008A8EC 7C 08 03 A6 */ mtlr r0 -/* 8008D990 0008A8F0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8008D994 0008A8F4 4E 80 00 20 */ blr - -.global __sinit_CBallCamera_cpp -__sinit_CBallCamera_cpp: -/* 8008D998 0008A8F8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8008D99C 0008A8FC 7C 08 02 A6 */ mflr r0 -/* 8008D9A0 0008A900 38 60 00 00 */ li r3, 0 -/* 8008D9A4 0008A904 38 80 00 01 */ li r4, 1 -/* 8008D9A8 0008A908 90 01 00 34 */ stw r0, 0x34(r1) -/* 8008D9AC 0008A90C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8008D9B0 0008A910 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8008D9B4 0008A914 80 AD 84 60 */ lwz r5, lbl_805A7020@sda21(r13) -/* 8008D9B8 0008A918 48 2F C5 3D */ bl __shl2i -/* 8008D9BC 0008A91C 90 8D A2 8C */ stw r4, lbl_805A8E4C@sda21(r13) -/* 8008D9C0 0008A920 38 80 00 01 */ li r4, 1 -/* 8008D9C4 0008A924 80 AD 84 64 */ lwz r5, lbl_805A7024@sda21(r13) -/* 8008D9C8 0008A928 90 6D A2 88 */ stw r3, lbl_805A8E48@sda21(r13) -/* 8008D9CC 0008A92C 38 60 00 00 */ li r3, 0 -/* 8008D9D0 0008A930 48 2F C5 25 */ bl __shl2i -/* 8008D9D4 0008A934 80 AD 84 68 */ lwz r5, lbl_805A7028@sda21(r13) -/* 8008D9D8 0008A938 7C 9E 23 78 */ mr r30, r4 -/* 8008D9DC 0008A93C 7C 7F 1B 78 */ mr r31, r3 -/* 8008D9E0 0008A940 38 60 00 00 */ li r3, 0 -/* 8008D9E4 0008A944 38 80 00 01 */ li r4, 1 -/* 8008D9E8 0008A948 48 2F C5 0D */ bl __shl2i -/* 8008D9EC 0008A94C 80 AD 84 6C */ lwz r5, lbl_805A702C@sda21(r13) -/* 8008D9F0 0008A950 7F DE 23 78 */ or r30, r30, r4 -/* 8008D9F4 0008A954 7F FF 1B 78 */ or r31, r31, r3 -/* 8008D9F8 0008A958 38 60 00 00 */ li r3, 0 -/* 8008D9FC 0008A95C 38 80 00 01 */ li r4, 1 -/* 8008DA00 0008A960 48 2F C4 F5 */ bl __shl2i -/* 8008DA04 0008A964 80 AD 84 70 */ lwz r5, lbl_805A7030@sda21(r13) -/* 8008DA08 0008A968 7F DE 23 78 */ or r30, r30, r4 -/* 8008DA0C 0008A96C 7F FF 1B 78 */ or r31, r31, r3 -/* 8008DA10 0008A970 38 60 00 00 */ li r3, 0 -/* 8008DA14 0008A974 38 80 00 01 */ li r4, 1 -/* 8008DA18 0008A978 48 2F C4 DD */ bl __shl2i -/* 8008DA1C 0008A97C 3C A0 80 47 */ lis r5, lbl_8046C408@ha -/* 8008DA20 0008A980 80 0D A2 88 */ lwz r0, lbl_805A8E48@sda21(r13) -/* 8008DA24 0008A984 7F DE 23 78 */ or r30, r30, r4 -/* 8008DA28 0008A988 7F FF 1B 78 */ or r31, r31, r3 -/* 8008DA2C 0008A98C 38 65 C4 08 */ addi r3, r5, lbl_8046C408@l -/* 8008DA30 0008A990 38 A0 00 03 */ li r5, 3 -/* 8008DA34 0008A994 80 8D A2 8C */ lwz r4, lbl_805A8E4C@sda21(r13) -/* 8008DA38 0008A998 93 CD A2 94 */ stw r30, lbl_805A8E54@sda21(r13) -/* 8008DA3C 0008A99C 93 ED A2 90 */ stw r31, lbl_805A8E50@sda21(r13) -/* 8008DA40 0008A9A0 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8008DA44 0008A9A4 90 83 00 04 */ stw r4, 4(r3) -/* 8008DA48 0008A9A8 90 03 00 00 */ stw r0, 0(r3) -/* 8008DA4C 0008A9AC 93 C3 00 0C */ stw r30, 0xc(r3) -/* 8008DA50 0008A9B0 93 E3 00 08 */ stw r31, 8(r3) -/* 8008DA54 0008A9B4 90 A3 00 10 */ stw r5, 0x10(r3) -/* 8008DA58 0008A9B8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8008DA5C 0008A9BC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8008DA60 0008A9C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8008DA64 0008A9C4 7C 08 03 A6 */ mtlr r0 -/* 8008DA68 0008A9C8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8008DA6C 0008A9CC 4E 80 00 20 */ blr - -.global __dt__13CScriptEffectFv -__dt__13CScriptEffectFv: -/* 8008DA70 0008A9D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008DA74 0008A9D4 7C 08 02 A6 */ mflr r0 -/* 8008DA78 0008A9D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008DA7C 0008A9DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008DA80 0008A9E0 7C 9F 23 78 */ mr r31, r4 -/* 8008DA84 0008A9E4 93 C1 00 08 */ stw r30, 8(r1) -/* 8008DA88 0008A9E8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8008DA8C 0008A9EC 41 82 00 C8 */ beq lbl_8008DB54 -/* 8008DA90 0008A9F0 3C 60 80 3E */ lis r3, lbl_803DAC38@ha -/* 8008DA94 0008A9F4 34 1E 01 38 */ addic. r0, r30, 0x138 -/* 8008DA98 0008A9F8 38 03 AC 38 */ addi r0, r3, lbl_803DAC38@l -/* 8008DA9C 0008A9FC 90 1E 00 00 */ stw r0, 0(r30) -/* 8008DAA0 0008AA00 41 82 00 10 */ beq lbl_8008DAB0 -/* 8008DAA4 0008AA04 80 7E 01 38 */ lwz r3, 0x138(r30) -/* 8008DAA8 0008AA08 38 80 00 01 */ li r4, 1 -/* 8008DAAC 0008AA0C 48 07 76 29 */ bl __dt__12CActorLightsFv -lbl_8008DAB0: -/* 8008DAB0 0008AA10 34 1E 01 04 */ addic. r0, r30, 0x104 -/* 8008DAB4 0008AA14 41 82 00 24 */ beq lbl_8008DAD8 -/* 8008DAB8 0008AA18 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 8008DABC 0008AA1C 28 03 00 00 */ cmplwi r3, 0 -/* 8008DAC0 0008AA20 41 82 00 18 */ beq lbl_8008DAD8 -/* 8008DAC4 0008AA24 81 83 00 00 */ lwz r12, 0(r3) -/* 8008DAC8 0008AA28 38 80 00 01 */ li r4, 1 -/* 8008DACC 0008AA2C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008DAD0 0008AA30 7D 89 03 A6 */ mtctr r12 -/* 8008DAD4 0008AA34 4E 80 04 21 */ bctrl -lbl_8008DAD8: -/* 8008DAD8 0008AA38 34 1E 00 F8 */ addic. r0, r30, 0xf8 -/* 8008DADC 0008AA3C 41 82 00 18 */ beq lbl_8008DAF4 -/* 8008DAE0 0008AA40 34 1E 00 F8 */ addic. r0, r30, 0xf8 -/* 8008DAE4 0008AA44 41 82 00 10 */ beq lbl_8008DAF4 -/* 8008DAE8 0008AA48 38 7E 00 F8 */ addi r3, r30, 0xf8 -/* 8008DAEC 0008AA4C 38 80 00 00 */ li r4, 0 -/* 8008DAF0 0008AA50 48 2B 33 51 */ bl __dt__6CTokenFv -lbl_8008DAF4: -/* 8008DAF4 0008AA54 34 1E 00 F4 */ addic. r0, r30, 0xf4 -/* 8008DAF8 0008AA58 41 82 00 24 */ beq lbl_8008DB1C -/* 8008DAFC 0008AA5C 80 7E 00 F4 */ lwz r3, 0xf4(r30) -/* 8008DB00 0008AA60 28 03 00 00 */ cmplwi r3, 0 -/* 8008DB04 0008AA64 41 82 00 18 */ beq lbl_8008DB1C -/* 8008DB08 0008AA68 81 83 00 00 */ lwz r12, 0(r3) -/* 8008DB0C 0008AA6C 38 80 00 01 */ li r4, 1 -/* 8008DB10 0008AA70 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008DB14 0008AA74 7D 89 03 A6 */ mtctr r12 -/* 8008DB18 0008AA78 4E 80 04 21 */ bctrl -lbl_8008DB1C: -/* 8008DB1C 0008AA7C 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 8008DB20 0008AA80 41 82 00 18 */ beq lbl_8008DB38 -/* 8008DB24 0008AA84 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 8008DB28 0008AA88 41 82 00 10 */ beq lbl_8008DB38 -/* 8008DB2C 0008AA8C 38 7E 00 E8 */ addi r3, r30, 0xe8 -/* 8008DB30 0008AA90 38 80 00 00 */ li r4, 0 -/* 8008DB34 0008AA94 48 2B 33 0D */ bl __dt__6CTokenFv -lbl_8008DB38: -/* 8008DB38 0008AA98 7F C3 F3 78 */ mr r3, r30 -/* 8008DB3C 0008AA9C 38 80 00 00 */ li r4, 0 -/* 8008DB40 0008AAA0 4B FC 7B B1 */ bl __dt__6CActorFv -/* 8008DB44 0008AAA4 7F E0 07 35 */ extsh. r0, r31 -/* 8008DB48 0008AAA8 40 81 00 0C */ ble lbl_8008DB54 -/* 8008DB4C 0008AAAC 7F C3 F3 78 */ mr r3, r30 -/* 8008DB50 0008AAB0 48 28 7D E1 */ bl Free__7CMemoryFPCv -lbl_8008DB54: -/* 8008DB54 0008AAB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008DB58 0008AAB8 7F C3 F3 78 */ mr r3, r30 -/* 8008DB5C 0008AABC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008DB60 0008AAC0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8008DB64 0008AAC4 7C 08 03 A6 */ mtlr r0 -/* 8008DB68 0008AAC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008DB6C 0008AACC 4E 80 00 20 */ blr - -.global SetActive__13CScriptEffectFb -SetActive__13CScriptEffectFb: -/* 8008DB70 0008AAD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008DB74 0008AAD4 7C 08 02 A6 */ mflr r0 -/* 8008DB78 0008AAD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008DB7C 0008AADC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008DB80 0008AAE0 7C 7F 1B 78 */ mr r31, r3 -/* 8008DB84 0008AAE4 4B FC 5C C9 */ bl SetActive__6CActorFb -/* 8008DB88 0008AAE8 88 1F 00 E7 */ lbz r0, 0xe7(r31) -/* 8008DB8C 0008AAEC 38 60 00 01 */ li r3, 1 -/* 8008DB90 0008AAF0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8008DB94 0008AAF4 98 1F 00 E7 */ stb r0, 0xe7(r31) -/* 8008DB98 0008AAF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008DB9C 0008AAFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008DBA0 0008AB00 7C 08 03 A6 */ mtlr r0 -/* 8008DBA4 0008AB04 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008DBA8 0008AB08 4E 80 00 20 */ blr - -.global GetSortingBounds__13CScriptEffectCFRC12CTransform4f -GetSortingBounds__13CScriptEffectCFRC12CTransform4f: -/* 8008DBAC 0008AB0C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8008DBB0 0008AB10 7C 08 02 A6 */ mflr r0 -/* 8008DBB4 0008AB14 90 01 00 24 */ stw r0, 0x24(r1) -/* 8008DBB8 0008AB18 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8008DBBC 0008AB1C 7C 9F 23 78 */ mr r31, r4 -/* 8008DBC0 0008AB20 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8008DBC4 0008AB24 7C 7E 1B 78 */ mr r30, r3 -/* 8008DBC8 0008AB28 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008DBCC 0008AB2C A0 84 01 3C */ lhz r4, 0x13c(r4) -/* 8008DBD0 0008AB30 7C 04 00 40 */ cmplw r4, r0 -/* 8008DBD4 0008AB34 41 82 00 28 */ beq lbl_8008DBFC -/* 8008DBD8 0008AB38 B0 81 00 08 */ sth r4, 8(r1) -/* 8008DBDC 0008AB3C 7C A3 2B 78 */ mr r3, r5 -/* 8008DBE0 0008AB40 38 81 00 08 */ addi r4, r1, 8 -/* 8008DBE4 0008AB44 4B FB E9 C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8008DBE8 0008AB48 7C 64 1B 79 */ or. r4, r3, r3 -/* 8008DBEC 0008AB4C 41 82 00 10 */ beq lbl_8008DBFC -/* 8008DBF0 0008AB50 7F C3 F3 78 */ mr r3, r30 -/* 8008DBF4 0008AB54 4B FE 8A D9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 8008DBF8 0008AB58 48 00 00 34 */ b lbl_8008DC2C -lbl_8008DBFC: -/* 8008DBFC 0008AB5C C0 1F 00 9C */ lfs f0, 0x9c(r31) -/* 8008DC00 0008AB60 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8008DC04 0008AB64 C0 1F 00 A0 */ lfs f0, 0xa0(r31) -/* 8008DC08 0008AB68 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8008DC0C 0008AB6C C0 1F 00 A4 */ lfs f0, 0xa4(r31) -/* 8008DC10 0008AB70 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8008DC14 0008AB74 C0 1F 00 A8 */ lfs f0, 0xa8(r31) -/* 8008DC18 0008AB78 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8008DC1C 0008AB7C C0 1F 00 AC */ lfs f0, 0xac(r31) -/* 8008DC20 0008AB80 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8008DC24 0008AB84 C0 1F 00 B0 */ lfs f0, 0xb0(r31) -/* 8008DC28 0008AB88 D0 1E 00 14 */ stfs f0, 0x14(r30) -lbl_8008DC2C: -/* 8008DC2C 0008AB8C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8008DC30 0008AB90 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8008DC34 0008AB94 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8008DC38 0008AB98 7C 08 03 A6 */ mtlr r0 -/* 8008DC3C 0008AB9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8008DC40 0008ABA0 4E 80 00 20 */ blr - -.global CalculateRenderBounds__13CScriptEffectFv -CalculateRenderBounds__13CScriptEffectFv: -/* 8008DC44 0008ABA4 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8008DC48 0008ABA8 7C 08 02 A6 */ mflr r0 -/* 8008DC4C 0008ABAC 38 A0 00 00 */ li r5, 0 -/* 8008DC50 0008ABB0 90 01 01 04 */ stw r0, 0x104(r1) -/* 8008DC54 0008ABB4 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8008DC58 0008ABB8 7C 7F 1B 78 */ mr r31, r3 -/* 8008DC5C 0008ABBC 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 8008DC60 0008ABC0 3B C0 00 00 */ li r30, 0 -/* 8008DC64 0008ABC4 80 83 01 04 */ lwz r4, 0x104(r3) -/* 8008DC68 0008ABC8 28 04 00 00 */ cmplwi r4, 0 -/* 8008DC6C 0008ABCC 41 82 00 24 */ beq lbl_8008DC90 -/* 8008DC70 0008ABD0 81 84 00 00 */ lwz r12, 0(r4) -/* 8008DC74 0008ABD4 38 61 00 80 */ addi r3, r1, 0x80 -/* 8008DC78 0008ABD8 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8008DC7C 0008ABDC 7D 89 03 A6 */ mtctr r12 -/* 8008DC80 0008ABE0 4E 80 04 21 */ bctrl -/* 8008DC84 0008ABE4 38 61 00 80 */ addi r3, r1, 0x80 -/* 8008DC88 0008ABE8 38 A0 00 01 */ li r5, 1 -/* 8008DC8C 0008ABEC 48 00 00 14 */ b lbl_8008DCA0 -lbl_8008DC90: -/* 8008DC90 0008ABF0 38 00 00 00 */ li r0, 0 -/* 8008DC94 0008ABF4 38 61 00 64 */ addi r3, r1, 0x64 -/* 8008DC98 0008ABF8 98 01 00 7C */ stb r0, 0x7c(r1) -/* 8008DC9C 0008ABFC 3B C0 00 01 */ li r30, 1 -lbl_8008DCA0: -/* 8008DCA0 0008AC00 88 03 00 18 */ lbz r0, 0x18(r3) -/* 8008DCA4 0008AC04 28 00 00 00 */ cmplwi r0, 0 -/* 8008DCA8 0008AC08 98 01 00 E8 */ stb r0, 0xe8(r1) -/* 8008DCAC 0008AC0C 41 82 00 3C */ beq lbl_8008DCE8 -/* 8008DCB0 0008AC10 34 81 00 D0 */ addic. r4, r1, 0xd0 -/* 8008DCB4 0008AC14 41 82 00 34 */ beq lbl_8008DCE8 -/* 8008DCB8 0008AC18 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008DCBC 0008AC1C D0 04 00 00 */ stfs f0, 0(r4) -/* 8008DCC0 0008AC20 C0 03 00 04 */ lfs f0, 4(r3) -/* 8008DCC4 0008AC24 D0 04 00 04 */ stfs f0, 4(r4) -/* 8008DCC8 0008AC28 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008DCCC 0008AC2C D0 04 00 08 */ stfs f0, 8(r4) -/* 8008DCD0 0008AC30 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8008DCD4 0008AC34 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8008DCD8 0008AC38 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8008DCDC 0008AC3C D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8008DCE0 0008AC40 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8008DCE4 0008AC44 D0 04 00 14 */ stfs f0, 0x14(r4) -lbl_8008DCE8: -/* 8008DCE8 0008AC48 7F C0 07 75 */ extsb. r0, r30 -/* 8008DCEC 0008AC4C 41 82 00 0C */ beq lbl_8008DCF8 -/* 8008DCF0 0008AC50 38 00 00 00 */ li r0, 0 -/* 8008DCF4 0008AC54 98 01 00 7C */ stb r0, 0x7c(r1) -lbl_8008DCF8: -/* 8008DCF8 0008AC58 7C A0 07 75 */ extsb. r0, r5 -/* 8008DCFC 0008AC5C 41 82 00 0C */ beq lbl_8008DD08 -/* 8008DD00 0008AC60 38 00 00 00 */ li r0, 0 -/* 8008DD04 0008AC64 98 01 00 98 */ stb r0, 0x98(r1) -lbl_8008DD08: -/* 8008DD08 0008AC68 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 8008DD0C 0008AC6C 38 A0 00 00 */ li r5, 0 -/* 8008DD10 0008AC70 3B C0 00 00 */ li r30, 0 -/* 8008DD14 0008AC74 28 04 00 00 */ cmplwi r4, 0 -/* 8008DD18 0008AC78 41 82 00 24 */ beq lbl_8008DD3C -/* 8008DD1C 0008AC7C 81 84 00 00 */ lwz r12, 0(r4) -/* 8008DD20 0008AC80 38 61 00 48 */ addi r3, r1, 0x48 -/* 8008DD24 0008AC84 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8008DD28 0008AC88 7D 89 03 A6 */ mtctr r12 -/* 8008DD2C 0008AC8C 4E 80 04 21 */ bctrl -/* 8008DD30 0008AC90 38 61 00 48 */ addi r3, r1, 0x48 -/* 8008DD34 0008AC94 38 A0 00 01 */ li r5, 1 -/* 8008DD38 0008AC98 48 00 00 14 */ b lbl_8008DD4C -lbl_8008DD3C: -/* 8008DD3C 0008AC9C 38 00 00 00 */ li r0, 0 -/* 8008DD40 0008ACA0 38 61 00 2C */ addi r3, r1, 0x2c -/* 8008DD44 0008ACA4 98 01 00 44 */ stb r0, 0x44(r1) -/* 8008DD48 0008ACA8 3B C0 00 01 */ li r30, 1 -lbl_8008DD4C: -/* 8008DD4C 0008ACAC 88 03 00 18 */ lbz r0, 0x18(r3) -/* 8008DD50 0008ACB0 28 00 00 00 */ cmplwi r0, 0 -/* 8008DD54 0008ACB4 98 01 00 CC */ stb r0, 0xcc(r1) -/* 8008DD58 0008ACB8 41 82 00 3C */ beq lbl_8008DD94 -/* 8008DD5C 0008ACBC 34 81 00 B4 */ addic. r4, r1, 0xb4 -/* 8008DD60 0008ACC0 41 82 00 34 */ beq lbl_8008DD94 -/* 8008DD64 0008ACC4 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008DD68 0008ACC8 D0 04 00 00 */ stfs f0, 0(r4) -/* 8008DD6C 0008ACCC C0 03 00 04 */ lfs f0, 4(r3) -/* 8008DD70 0008ACD0 D0 04 00 04 */ stfs f0, 4(r4) -/* 8008DD74 0008ACD4 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008DD78 0008ACD8 D0 04 00 08 */ stfs f0, 8(r4) -/* 8008DD7C 0008ACDC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8008DD80 0008ACE0 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8008DD84 0008ACE4 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8008DD88 0008ACE8 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8008DD8C 0008ACEC C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8008DD90 0008ACF0 D0 04 00 14 */ stfs f0, 0x14(r4) -lbl_8008DD94: -/* 8008DD94 0008ACF4 7F C0 07 75 */ extsb. r0, r30 -/* 8008DD98 0008ACF8 41 82 00 0C */ beq lbl_8008DDA4 -/* 8008DD9C 0008ACFC 38 00 00 00 */ li r0, 0 -/* 8008DDA0 0008AD00 98 01 00 44 */ stb r0, 0x44(r1) -lbl_8008DDA4: -/* 8008DDA4 0008AD04 7C A0 07 75 */ extsb. r0, r5 -/* 8008DDA8 0008AD08 41 82 00 0C */ beq lbl_8008DDB4 -/* 8008DDAC 0008AD0C 38 00 00 00 */ li r0, 0 -/* 8008DDB0 0008AD10 98 01 00 60 */ stb r0, 0x60(r1) -lbl_8008DDB4: -/* 8008DDB4 0008AD14 88 81 00 E8 */ lbz r4, 0xe8(r1) -/* 8008DDB8 0008AD18 28 04 00 00 */ cmplwi r4, 0 -/* 8008DDBC 0008AD1C 40 82 00 10 */ bne lbl_8008DDCC -/* 8008DDC0 0008AD20 88 01 00 CC */ lbz r0, 0xcc(r1) -/* 8008DDC4 0008AD24 28 00 00 00 */ cmplwi r0, 0 -/* 8008DDC8 0008AD28 41 82 00 C8 */ beq lbl_8008DE90 -lbl_8008DDCC: -/* 8008DDCC 0008AD2C 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 8008DDD0 0008AD30 C4 A3 67 54 */ lfsu f5, lbl_805A6754@l(r3) -/* 8008DDD4 0008AD34 28 04 00 00 */ cmplwi r4, 0 -/* 8008DDD8 0008AD38 C0 83 00 04 */ lfs f4, 4(r3) -/* 8008DDDC 0008AD3C C0 63 00 08 */ lfs f3, 8(r3) -/* 8008DDE0 0008AD40 C0 43 00 0C */ lfs f2, 0xc(r3) -/* 8008DDE4 0008AD44 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 8008DDE8 0008AD48 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8008DDEC 0008AD4C D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 8008DDF0 0008AD50 D0 81 00 A0 */ stfs f4, 0xa0(r1) -/* 8008DDF4 0008AD54 D0 61 00 A4 */ stfs f3, 0xa4(r1) -/* 8008DDF8 0008AD58 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 8008DDFC 0008AD5C D0 21 00 AC */ stfs f1, 0xac(r1) -/* 8008DE00 0008AD60 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8008DE04 0008AD64 41 82 00 20 */ beq lbl_8008DE24 -/* 8008DE08 0008AD68 3B C1 00 D0 */ addi r30, r1, 0xd0 -/* 8008DE0C 0008AD6C 38 61 00 9C */ addi r3, r1, 0x9c -/* 8008DE10 0008AD70 7F C4 F3 78 */ mr r4, r30 -/* 8008DE14 0008AD74 48 2A 9C F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8008DE18 0008AD78 38 61 00 9C */ addi r3, r1, 0x9c -/* 8008DE1C 0008AD7C 38 9E 00 0C */ addi r4, r30, 0xc -/* 8008DE20 0008AD80 48 2A 9C E9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_8008DE24: -/* 8008DE24 0008AD84 88 01 00 CC */ lbz r0, 0xcc(r1) -/* 8008DE28 0008AD88 28 00 00 00 */ cmplwi r0, 0 -/* 8008DE2C 0008AD8C 41 82 00 20 */ beq lbl_8008DE4C -/* 8008DE30 0008AD90 3B C1 00 B4 */ addi r30, r1, 0xb4 -/* 8008DE34 0008AD94 38 61 00 9C */ addi r3, r1, 0x9c -/* 8008DE38 0008AD98 7F C4 F3 78 */ mr r4, r30 -/* 8008DE3C 0008AD9C 48 2A 9C CD */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8008DE40 0008ADA0 38 61 00 9C */ addi r3, r1, 0x9c -/* 8008DE44 0008ADA4 38 9E 00 0C */ addi r4, r30, 0xc -/* 8008DE48 0008ADA8 48 2A 9C C1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_8008DE4C: -/* 8008DE4C 0008ADAC 80 81 00 9C */ lwz r4, 0x9c(r1) -/* 8008DE50 0008ADB0 38 60 00 01 */ li r3, 1 -/* 8008DE54 0008ADB4 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 8008DE58 0008ADB8 90 9F 00 9C */ stw r4, 0x9c(r31) -/* 8008DE5C 0008ADBC 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 8008DE60 0008ADC0 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8008DE64 0008ADC4 90 1F 00 A4 */ stw r0, 0xa4(r31) -/* 8008DE68 0008ADC8 80 81 00 A8 */ lwz r4, 0xa8(r1) -/* 8008DE6C 0008ADCC 80 01 00 AC */ lwz r0, 0xac(r1) -/* 8008DE70 0008ADD0 90 9F 00 A8 */ stw r4, 0xa8(r31) -/* 8008DE74 0008ADD4 90 1F 00 AC */ stw r0, 0xac(r31) -/* 8008DE78 0008ADD8 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 8008DE7C 0008ADDC 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 8008DE80 0008ADE0 88 1F 01 11 */ lbz r0, 0x111(r31) -/* 8008DE84 0008ADE4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8008DE88 0008ADE8 98 1F 01 11 */ stb r0, 0x111(r31) -/* 8008DE8C 0008ADEC 48 00 00 6C */ b lbl_8008DEF8 -lbl_8008DE90: -/* 8008DE90 0008ADF0 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8008DE94 0008ADF4 38 81 00 08 */ addi r4, r1, 8 -/* 8008DE98 0008ADF8 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8008DE9C 0008ADFC 7C 85 23 78 */ mr r5, r4 -/* 8008DEA0 0008AE00 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8008DEA4 0008AE04 38 61 00 14 */ addi r3, r1, 0x14 -/* 8008DEA8 0008AE08 D0 01 00 08 */ stfs f0, 8(r1) -/* 8008DEAC 0008AE0C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8008DEB0 0008AE10 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8008DEB4 0008AE14 48 2A A6 55 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8008DEB8 0008AE18 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8008DEBC 0008AE1C 38 60 00 00 */ li r3, 0 -/* 8008DEC0 0008AE20 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8008DEC4 0008AE24 90 9F 00 9C */ stw r4, 0x9c(r31) -/* 8008DEC8 0008AE28 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 8008DECC 0008AE2C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8008DED0 0008AE30 90 1F 00 A4 */ stw r0, 0xa4(r31) -/* 8008DED4 0008AE34 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8008DED8 0008AE38 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8008DEDC 0008AE3C 90 9F 00 A8 */ stw r4, 0xa8(r31) -/* 8008DEE0 0008AE40 90 1F 00 AC */ stw r0, 0xac(r31) -/* 8008DEE4 0008AE44 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8008DEE8 0008AE48 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 8008DEEC 0008AE4C 88 1F 01 11 */ lbz r0, 0x111(r31) -/* 8008DEF0 0008AE50 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8008DEF4 0008AE54 98 1F 01 11 */ stb r0, 0x111(r31) -lbl_8008DEF8: -/* 8008DEF8 0008AE58 38 00 00 00 */ li r0, 0 -/* 8008DEFC 0008AE5C 98 01 00 CC */ stb r0, 0xcc(r1) -/* 8008DF00 0008AE60 98 01 00 E8 */ stb r0, 0xe8(r1) -/* 8008DF04 0008AE64 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8008DF08 0008AE68 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 8008DF0C 0008AE6C 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8008DF10 0008AE70 7C 08 03 A6 */ mtlr r0 -/* 8008DF14 0008AE74 38 21 01 00 */ addi r1, r1, 0x100 -/* 8008DF18 0008AE78 4E 80 00 20 */ blr - -.global CanRenderUnsorted__13CScriptEffectCFRC13CStateManager -CanRenderUnsorted__13CScriptEffectCFRC13CStateManager: -/* 8008DF1C 0008AE7C 38 60 00 00 */ li r3, 0 -/* 8008DF20 0008AE80 4E 80 00 20 */ blr - -.global sub_8008df24 -sub_8008df24: -/* 8008DF24 0008AE84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008DF28 0008AE88 7C 08 02 A6 */ mflr r0 -/* 8008DF2C 0008AE8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008DF30 0008AE90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008DF34 0008AE94 3B E0 00 00 */ li r31, 0 -/* 8008DF38 0008AE98 93 C1 00 08 */ stw r30, 8(r1) -/* 8008DF3C 0008AE9C 7C 7E 1B 78 */ mr r30, r3 -/* 8008DF40 0008AEA0 80 63 01 04 */ lwz r3, 0x104(r3) -/* 8008DF44 0008AEA4 28 03 00 00 */ cmplwi r3, 0 -/* 8008DF48 0008AEA8 41 82 00 1C */ beq lbl_8008DF64 -/* 8008DF4C 0008AEAC 81 83 00 00 */ lwz r12, 0(r3) -/* 8008DF50 0008AEB0 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8008DF54 0008AEB4 7D 89 03 A6 */ mtctr r12 -/* 8008DF58 0008AEB8 4E 80 04 21 */ bctrl -/* 8008DF5C 0008AEBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008DF60 0008AEC0 41 82 00 2C */ beq lbl_8008DF8C -lbl_8008DF64: -/* 8008DF64 0008AEC4 80 7E 00 F4 */ lwz r3, 0xf4(r30) -/* 8008DF68 0008AEC8 28 03 00 00 */ cmplwi r3, 0 -/* 8008DF6C 0008AECC 41 82 00 1C */ beq lbl_8008DF88 -/* 8008DF70 0008AED0 81 83 00 00 */ lwz r12, 0(r3) -/* 8008DF74 0008AED4 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8008DF78 0008AED8 7D 89 03 A6 */ mtctr r12 -/* 8008DF7C 0008AEDC 4E 80 04 21 */ bctrl -/* 8008DF80 0008AEE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008DF84 0008AEE4 41 82 00 08 */ beq lbl_8008DF8C -lbl_8008DF88: -/* 8008DF88 0008AEE8 3B E0 00 01 */ li r31, 1 -lbl_8008DF8C: -/* 8008DF8C 0008AEEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008DF90 0008AEF0 7F E3 FB 78 */ mr r3, r31 -/* 8008DF94 0008AEF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008DF98 0008AEF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8008DF9C 0008AEFC 7C 08 03 A6 */ mtlr r0 -/* 8008DFA0 0008AF00 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008DFA4 0008AF04 4E 80 00 20 */ blr - -.global ResetParticleCounts__13CScriptEffectFv -ResetParticleCounts__13CScriptEffectFv: -/* 8008DFA8 0008AF08 38 00 00 00 */ li r0, 0 -/* 8008DFAC 0008AF0C 90 0D A2 98 */ stw r0, lbl_805A8E58@sda21(r13) -/* 8008DFB0 0008AF10 90 0D A2 9C */ stw r0, lbl_805A8E5C@sda21(r13) -/* 8008DFB4 0008AF14 4E 80 00 20 */ blr - -.global Accept__13CScriptEffectFR8IVisitor -Accept__13CScriptEffectFR8IVisitor: -/* 8008DFB8 0008AF18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008DFBC 0008AF1C 7C 08 02 A6 */ mflr r0 -/* 8008DFC0 0008AF20 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008DFC4 0008AF24 7C 60 1B 78 */ mr r0, r3 -/* 8008DFC8 0008AF28 7C 83 23 78 */ mr r3, r4 -/* 8008DFCC 0008AF2C 81 84 00 00 */ lwz r12, 0(r4) -/* 8008DFD0 0008AF30 7C 04 03 78 */ mr r4, r0 -/* 8008DFD4 0008AF34 81 8C 00 88 */ lwz r12, 0x88(r12) -/* 8008DFD8 0008AF38 7D 89 03 A6 */ mtctr r12 -/* 8008DFDC 0008AF3C 4E 80 04 21 */ bctrl -/* 8008DFE0 0008AF40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008DFE4 0008AF44 7C 08 03 A6 */ mtlr r0 -/* 8008DFE8 0008AF48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008DFEC 0008AF4C 4E 80 00 20 */ blr - -.global PreRender__13CScriptEffectFR13CStateManagerRC14CFrustumPlanes -PreRender__13CScriptEffectFR13CStateManagerRC14CFrustumPlanes: -/* 8008DFF0 0008AF50 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8008DFF4 0008AF54 7C 08 02 A6 */ mflr r0 -/* 8008DFF8 0008AF58 90 01 00 84 */ stw r0, 0x84(r1) -/* 8008DFFC 0008AF5C DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8008E000 0008AF60 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8008E004 0008AF64 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8008E008 0008AF68 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8008E00C 0008AF6C DB A1 00 50 */ stfd f29, 0x50(r1) -/* 8008E010 0008AF70 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 8008E014 0008AF74 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 8008E018 0008AF78 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 8008E01C 0008AF7C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8008E020 0008AF80 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8008E024 0008AF84 88 03 01 10 */ lbz r0, 0x110(r3) -/* 8008E028 0008AF88 7C 7E 1B 78 */ mr r30, r3 -/* 8008E02C 0008AF8C 7C 9F 23 78 */ mr r31, r4 -/* 8008E030 0008AF90 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8008E034 0008AF94 40 82 00 10 */ bne lbl_8008E044 -/* 8008E038 0008AF98 88 1E 01 11 */ lbz r0, 0x111(r30) -/* 8008E03C 0008AF9C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008E040 0008AFA0 41 82 01 50 */ beq lbl_8008E190 -lbl_8008E044: -/* 8008E044 0008AFA4 C3 E2 8A C0 */ lfs f31, lbl_805AA7E0@sda21(r2) -/* 8008E048 0008AFA8 7F E4 FB 78 */ mr r4, r31 -/* 8008E04C 0008AFAC C3 9E 00 60 */ lfs f28, 0x60(r30) -/* 8008E050 0008AFB0 C3 BE 00 50 */ lfs f29, 0x50(r30) -/* 8008E054 0008AFB4 C3 DE 00 40 */ lfs f30, 0x40(r30) -/* 8008E058 0008AFB8 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8008E05C 0008AFBC 4B F7 DA BD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8008E060 0008AFC0 C0 63 00 50 */ lfs f3, 0x50(r3) -/* 8008E064 0008AFC4 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 8008E068 0008AFC8 EC C3 E8 28 */ fsubs f6, f3, f29 -/* 8008E06C 0008AFCC C0 E3 00 60 */ lfs f7, 0x60(r3) -/* 8008E070 0008AFD0 EC 81 F0 28 */ fsubs f4, f1, f30 -/* 8008E074 0008AFD4 C0 02 8A C4 */ lfs f0, lbl_805AA7E4@sda21(r2) -/* 8008E078 0008AFD8 EC A7 E0 28 */ fsubs f5, f7, f28 -/* 8008E07C 0008AFDC D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8008E080 0008AFE0 EC 44 01 32 */ fmuls f2, f4, f4 -/* 8008E084 0008AFE4 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8008E088 0008AFE8 EC 26 01 B2 */ fmuls f1, f6, f6 -/* 8008E08C 0008AFEC EC 65 01 72 */ fmuls f3, f5, f5 -/* 8008E090 0008AFF0 D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 8008E094 0008AFF4 EC 22 08 2A */ fadds f1, f2, f1 -/* 8008E098 0008AFF8 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8008E09C 0008AFFC D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 8008E0A0 0008B000 EC 23 08 2A */ fadds f1, f3, f1 -/* 8008E0A4 0008B004 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 8008E0A8 0008B008 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008E0AC 0008B00C 40 81 00 24 */ ble lbl_8008E0D0 -/* 8008E0B0 0008B010 C0 62 8A C8 */ lfs f3, lbl_805AA7E8@sda21(r2) -/* 8008E0B4 0008B014 FC 03 08 00 */ fcmpu cr0, f3, f1 -/* 8008E0B8 0008B018 40 82 00 08 */ bne lbl_8008E0C0 -/* 8008E0BC 0008B01C 48 00 00 18 */ b lbl_8008E0D4 -lbl_8008E0C0: -/* 8008E0C0 0008B020 FC 00 08 34 */ frsqrte f0, f1 -/* 8008E0C4 0008B024 FC 61 00 32 */ fmul f3, f1, f0 -/* 8008E0C8 0008B028 FC 60 18 18 */ frsp f3, f3 -/* 8008E0CC 0008B02C 48 00 00 08 */ b lbl_8008E0D4 -lbl_8008E0D0: -/* 8008E0D0 0008B030 C0 62 8A C8 */ lfs f3, lbl_805AA7E8@sda21(r2) -lbl_8008E0D4: -/* 8008E0D4 0008B034 88 1E 01 10 */ lbz r0, 0x110(r30) -/* 8008E0D8 0008B038 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8008E0DC 0008B03C 41 82 00 28 */ beq lbl_8008E104 -/* 8008E0E0 0008B040 C0 1E 01 18 */ lfs f0, 0x118(r30) -/* 8008E0E4 0008B044 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008E0E8 0008B048 40 80 00 1C */ bge lbl_8008E104 -/* 8008E0EC 0008B04C C0 1E 01 14 */ lfs f0, 0x114(r30) -/* 8008E0F0 0008B050 C0 5E 01 1C */ lfs f2, 0x11c(r30) -/* 8008E0F4 0008B054 EC 03 00 24 */ fdivs f0, f3, f0 -/* 8008E0F8 0008B058 C0 22 8A C0 */ lfs f1, lbl_805AA7E0@sda21(r2) -/* 8008E0FC 0008B05C EC 21 10 28 */ fsubs f1, f1, f2 -/* 8008E100 0008B060 EF E1 10 3A */ fmadds f31, f1, f0, f2 -lbl_8008E104: -/* 8008E104 0008B064 88 1E 01 11 */ lbz r0, 0x111(r30) -/* 8008E108 0008B068 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008E10C 0008B06C 41 82 00 6C */ beq lbl_8008E178 -/* 8008E110 0008B070 C0 9E 01 20 */ lfs f4, 0x120(r30) -/* 8008E114 0008B074 C0 5E 01 24 */ lfs f2, 0x124(r30) -/* 8008E118 0008B078 EC 23 20 28 */ fsubs f1, f3, f4 -/* 8008E11C 0008B07C C0 0D 85 54 */ lfs f0, lbl_805A7114@sda21(r13) -/* 8008E120 0008B080 EC 42 20 28 */ fsubs f2, f2, f4 -/* 8008E124 0008B084 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8008E128 0008B088 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8008E12C 0008B08C 40 80 00 0C */ bge lbl_8008E138 -/* 8008E130 0008B090 38 61 00 0C */ addi r3, r1, 0xc -/* 8008E134 0008B094 48 00 00 08 */ b lbl_8008E13C -lbl_8008E138: -/* 8008E138 0008B098 38 6D 85 54 */ addi r3, r13, lbl_805A7114@sda21 -lbl_8008E13C: -/* 8008E13C 0008B09C C0 23 00 00 */ lfs f1, 0(r3) -/* 8008E140 0008B0A0 C0 0D 85 58 */ lfs f0, lbl_805A7118@sda21(r13) -/* 8008E144 0008B0A4 EC 21 10 24 */ fdivs f1, f1, f2 -/* 8008E148 0008B0A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008E14C 0008B0AC D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8008E150 0008B0B0 40 80 00 0C */ bge lbl_8008E15C -/* 8008E154 0008B0B4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8008E158 0008B0B8 48 00 00 08 */ b lbl_8008E160 -lbl_8008E15C: -/* 8008E15C 0008B0BC 38 6D 85 58 */ addi r3, r13, lbl_805A7118@sda21 -lbl_8008E160: -/* 8008E160 0008B0C0 C0 43 00 00 */ lfs f2, 0(r3) -/* 8008E164 0008B0C4 C0 22 8A C0 */ lfs f1, lbl_805AA7E0@sda21(r2) -/* 8008E168 0008B0C8 C0 1E 01 28 */ lfs f0, 0x128(r30) -/* 8008E16C 0008B0CC EC 21 10 28 */ fsubs f1, f1, f2 -/* 8008E170 0008B0D0 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8008E174 0008B0D4 EF E1 07 FA */ fmadds f31, f1, f31, f0 -lbl_8008E178: -/* 8008E178 0008B0D8 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 8008E17C 0008B0DC FC 20 F8 90 */ fmr f1, f31 -/* 8008E180 0008B0E0 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E184 0008B0E4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8008E188 0008B0E8 7D 89 03 A6 */ mtctr r12 -/* 8008E18C 0008B0EC 4E 80 04 21 */ bctrl -lbl_8008E190: -/* 8008E190 0008B0F0 A0 1E 01 3C */ lhz r0, 0x13c(r30) -/* 8008E194 0008B0F4 7F E3 FB 78 */ mr r3, r31 -/* 8008E198 0008B0F8 38 81 00 08 */ addi r4, r1, 8 -/* 8008E19C 0008B0FC B0 01 00 08 */ sth r0, 8(r1) -/* 8008E1A0 0008B100 4B FB E4 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8008E1A4 0008B104 28 03 00 00 */ cmplwi r3, 0 -/* 8008E1A8 0008B108 40 82 00 0C */ bne lbl_8008E1B4 -/* 8008E1AC 0008B10C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008E1B0 0008B110 B0 1E 01 3C */ sth r0, 0x13c(r30) -lbl_8008E1B4: -/* 8008E1B4 0008B114 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8008E1B8 0008B118 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8008E1BC 0008B11C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8008E1C0 0008B120 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8008E1C4 0008B124 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8008E1C8 0008B128 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8008E1CC 0008B12C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 8008E1D0 0008B130 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 8008E1D4 0008B134 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8008E1D8 0008B138 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8008E1DC 0008B13C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8008E1E0 0008B140 7C 08 03 A6 */ mtlr r0 -/* 8008E1E4 0008B144 38 21 00 80 */ addi r1, r1, 0x80 -/* 8008E1E8 0008B148 4E 80 00 20 */ blr - -.global Render__13CScriptEffectCFRC13CStateManager -Render__13CScriptEffectCFRC13CStateManager: -/* 8008E1EC 0008B14C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008E1F0 0008B150 7C 08 02 A6 */ mflr r0 -/* 8008E1F4 0008B154 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008E1F8 0008B158 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008E1FC 0008B15C 7C 7F 1B 78 */ mr r31, r3 -/* 8008E200 0008B160 80 63 01 38 */ lwz r3, 0x138(r3) -/* 8008E204 0008B164 28 03 00 00 */ cmplwi r3, 0 -/* 8008E208 0008B168 41 82 00 08 */ beq lbl_8008E210 -/* 8008E20C 0008B16C 48 07 6B 7D */ bl ActivateLights__12CActorLightsCFv -lbl_8008E210: -/* 8008E210 0008B170 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E214 0008B174 28 03 00 00 */ cmplwi r3, 0 -/* 8008E218 0008B178 41 82 00 30 */ beq lbl_8008E248 -/* 8008E21C 0008B17C 48 28 9C D1 */ bl GetParticleCountAll__11CElementGenCFv -/* 8008E220 0008B180 2C 03 00 00 */ cmpwi r3, 0 -/* 8008E224 0008B184 40 81 00 24 */ ble lbl_8008E248 -/* 8008E228 0008B188 80 0D A2 98 */ lwz r0, lbl_805A8E58@sda21(r13) -/* 8008E22C 0008B18C 7C 00 1A 14 */ add r0, r0, r3 -/* 8008E230 0008B190 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E234 0008B194 90 0D A2 98 */ stw r0, lbl_805A8E58@sda21(r13) -/* 8008E238 0008B198 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E23C 0008B19C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8008E240 0008B1A0 7D 89 03 A6 */ mtctr r12 -/* 8008E244 0008B1A4 4E 80 04 21 */ bctrl -lbl_8008E248: -/* 8008E248 0008B1A8 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008E24C 0008B1AC 28 03 00 00 */ cmplwi r3, 0 -/* 8008E250 0008B1B0 41 82 00 3C */ beq lbl_8008E28C -/* 8008E254 0008B1B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E258 0008B1B8 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8008E25C 0008B1BC 7D 89 03 A6 */ mtctr r12 -/* 8008E260 0008B1C0 4E 80 04 21 */ bctrl -/* 8008E264 0008B1C4 2C 03 00 00 */ cmpwi r3, 0 -/* 8008E268 0008B1C8 40 81 00 24 */ ble lbl_8008E28C -/* 8008E26C 0008B1CC 80 0D A2 98 */ lwz r0, lbl_805A8E58@sda21(r13) -/* 8008E270 0008B1D0 7C 00 1A 14 */ add r0, r0, r3 -/* 8008E274 0008B1D4 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008E278 0008B1D8 90 0D A2 98 */ stw r0, lbl_805A8E58@sda21(r13) -/* 8008E27C 0008B1DC 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E280 0008B1E0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8008E284 0008B1E4 7D 89 03 A6 */ mtctr r12 -/* 8008E288 0008B1E8 4E 80 04 21 */ bctrl -lbl_8008E28C: -/* 8008E28C 0008B1EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008E290 0008B1F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008E294 0008B1F4 7C 08 03 A6 */ mtlr r0 -/* 8008E298 0008B1F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008E29C 0008B1FC 4E 80 00 20 */ blr - -.global AddToRenderer__13CScriptEffectCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__13CScriptEffectCFRC14CFrustumPlanesRC13CStateManager: -/* 8008E2A0 0008B200 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8008E2A4 0008B204 7C 08 02 A6 */ mflr r0 -/* 8008E2A8 0008B208 90 01 00 64 */ stw r0, 0x64(r1) -/* 8008E2AC 0008B20C BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 8008E2B0 0008B210 7C 7D 1B 78 */ mr r29, r3 -/* 8008E2B4 0008B214 7C BE 2B 78 */ mr r30, r5 -/* 8008E2B8 0008B218 88 03 01 11 */ lbz r0, 0x111(r3) -/* 8008E2BC 0008B21C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8008E2C0 0008B220 40 82 00 2C */ bne lbl_8008E2EC -/* 8008E2C4 0008B224 C0 3D 01 34 */ lfs f1, 0x134(r29) -/* 8008E2C8 0008B228 C0 1D 01 2C */ lfs f0, 0x12c(r29) -/* 8008E2CC 0008B22C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008E2D0 0008B230 40 80 00 0C */ bge lbl_8008E2DC -/* 8008E2D4 0008B234 38 7D 01 2C */ addi r3, r29, 0x12c -/* 8008E2D8 0008B238 48 00 00 08 */ b lbl_8008E2E0 -lbl_8008E2DC: -/* 8008E2DC 0008B23C 38 7D 01 34 */ addi r3, r29, 0x134 -lbl_8008E2E0: -/* 8008E2E0 0008B240 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008E2E4 0008B244 D0 1D 01 2C */ stfs f0, 0x12c(r29) -/* 8008E2E8 0008B248 48 00 01 50 */ b lbl_8008E438 -lbl_8008E2EC: -/* 8008E2EC 0008B24C 3B FD 00 9C */ addi r31, r29, 0x9c -/* 8008E2F0 0008B250 7C 83 23 78 */ mr r3, r4 -/* 8008E2F4 0008B254 7F E4 FB 78 */ mr r4, r31 -/* 8008E2F8 0008B258 48 2B 6E D9 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 8008E2FC 0008B25C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008E300 0008B260 41 82 01 38 */ beq lbl_8008E438 -/* 8008E304 0008B264 C0 3D 01 34 */ lfs f1, 0x134(r29) -/* 8008E308 0008B268 C0 1D 01 2C */ lfs f0, 0x12c(r29) -/* 8008E30C 0008B26C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008E310 0008B270 40 80 00 0C */ bge lbl_8008E31C -/* 8008E314 0008B274 38 7D 01 2C */ addi r3, r29, 0x12c -/* 8008E318 0008B278 48 00 00 08 */ b lbl_8008E320 -lbl_8008E31C: -/* 8008E31C 0008B27C 38 7D 01 34 */ addi r3, r29, 0x134 -lbl_8008E320: -/* 8008E320 0008B280 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008E324 0008B284 3B 60 00 01 */ li r27, 1 -/* 8008E328 0008B288 D0 1D 01 2C */ stfs f0, 0x12c(r29) -/* 8008E32C 0008B28C 88 1D 01 10 */ lbz r0, 0x110(r29) -/* 8008E330 0008B290 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8008E334 0008B294 40 82 00 68 */ bne lbl_8008E39C -/* 8008E338 0008B298 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 8008E33C 0008B29C 7F C4 F3 78 */ mr r4, r30 -/* 8008E340 0008B2A0 80 63 00 00 */ lwz r3, 0(r3) -/* 8008E344 0008B2A4 48 00 32 15 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8008E348 0008B2A8 2C 03 00 02 */ cmpwi r3, 2 -/* 8008E34C 0008B2AC 41 82 00 24 */ beq lbl_8008E370 -/* 8008E350 0008B2B0 40 80 00 14 */ bge lbl_8008E364 -/* 8008E354 0008B2B4 2C 03 00 00 */ cmpwi r3, 0 -/* 8008E358 0008B2B8 41 82 00 18 */ beq lbl_8008E370 -/* 8008E35C 0008B2BC 40 80 00 24 */ bge lbl_8008E380 -/* 8008E360 0008B2C0 48 00 00 3C */ b lbl_8008E39C -lbl_8008E364: -/* 8008E364 0008B2C4 2C 03 00 04 */ cmpwi r3, 4 -/* 8008E368 0008B2C8 40 80 00 34 */ bge lbl_8008E39C -/* 8008E36C 0008B2CC 48 00 00 24 */ b lbl_8008E390 -lbl_8008E370: -/* 8008E370 0008B2D0 88 1D 01 10 */ lbz r0, 0x110(r29) -/* 8008E374 0008B2D4 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f -/* 8008E378 0008B2D8 7C 1B 03 78 */ mr r27, r0 -/* 8008E37C 0008B2DC 48 00 00 20 */ b lbl_8008E39C -lbl_8008E380: -/* 8008E380 0008B2E0 88 1D 01 10 */ lbz r0, 0x110(r29) -/* 8008E384 0008B2E4 54 00 FF FE */ rlwinm r0, r0, 0x1f, 0x1f, 0x1f -/* 8008E388 0008B2E8 7C 1B 03 78 */ mr r27, r0 -/* 8008E38C 0008B2EC 48 00 00 10 */ b lbl_8008E39C -lbl_8008E390: -/* 8008E390 0008B2F0 88 1D 01 10 */ lbz r0, 0x110(r29) -/* 8008E394 0008B2F4 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f -/* 8008E398 0008B2F8 7C 1B 03 78 */ mr r27, r0 -lbl_8008E39C: -/* 8008E39C 0008B2FC 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8008E3A0 0008B300 41 82 00 98 */ beq lbl_8008E438 -/* 8008E3A4 0008B304 80 1D 01 38 */ lwz r0, 0x138(r29) -/* 8008E3A8 0008B308 28 00 00 00 */ cmplwi r0, 0 -/* 8008E3AC 0008B30C 41 82 00 80 */ beq lbl_8008E42C -/* 8008E3B0 0008B310 7F E4 FB 78 */ mr r4, r31 -/* 8008E3B4 0008B314 38 61 00 10 */ addi r3, r1, 0x10 -/* 8008E3B8 0008B318 48 2A 92 55 */ bl GetCenterPoint__6CAABoxCFv -/* 8008E3BC 0008B31C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8008E3C0 0008B320 38 81 00 1C */ addi r4, r1, 0x1c -/* 8008E3C4 0008B324 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8008E3C8 0008B328 7C 85 23 78 */ mr r5, r4 -/* 8008E3CC 0008B32C 81 1D 00 04 */ lwz r8, 4(r29) -/* 8008E3D0 0008B330 38 61 00 28 */ addi r3, r1, 0x28 -/* 8008E3D4 0008B334 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8008E3D8 0008B338 55 06 18 38 */ slwi r6, r8, 3 -/* 8008E3DC 0008B33C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8008E3E0 0008B340 80 FE 08 50 */ lwz r7, 0x850(r30) -/* 8008E3E4 0008B344 38 06 00 04 */ addi r0, r6, 4 -/* 8008E3E8 0008B348 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8008E3EC 0008B34C 83 7D 01 38 */ lwz r27, 0x138(r29) -/* 8008E3F0 0008B350 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8008E3F4 0008B354 80 C7 00 20 */ lwz r6, 0x20(r7) -/* 8008E3F8 0008B358 91 01 00 08 */ stw r8, 8(r1) -/* 8008E3FC 0008B35C 7F 86 00 2E */ lwzx r28, r6, r0 -/* 8008E400 0008B360 91 01 00 0C */ stw r8, 0xc(r1) -/* 8008E404 0008B364 48 2A A1 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8008E408 0008B368 7C 66 1B 78 */ mr r6, r3 -/* 8008E40C 0008B36C 7F 63 DB 78 */ mr r3, r27 -/* 8008E410 0008B370 7F C4 F3 78 */ mr r4, r30 -/* 8008E414 0008B374 7F 85 E3 78 */ mr r5, r28 -/* 8008E418 0008B378 48 07 59 A9 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox -/* 8008E41C 0008B37C 80 7D 01 38 */ lwz r3, 0x138(r29) -/* 8008E420 0008B380 7F C4 F3 78 */ mr r4, r30 -/* 8008E424 0008B384 7F E5 FB 78 */ mr r5, r31 -/* 8008E428 0008B388 48 07 52 E9 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox -lbl_8008E42C: -/* 8008E42C 0008B38C 7F A3 EB 78 */ mr r3, r29 -/* 8008E430 0008B390 7F C4 F3 78 */ mr r4, r30 -/* 8008E434 0008B394 4B FC 65 99 */ bl EnsureRendered__6CActorCFRC13CStateManager -lbl_8008E438: -/* 8008E438 0008B398 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 8008E43C 0008B39C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8008E440 0008B3A0 7C 08 03 A6 */ mtlr r0 -/* 8008E444 0008B3A4 38 21 00 60 */ addi r1, r1, 0x60 -/* 8008E448 0008B3A8 4E 80 00 20 */ blr - -.global AcceptScriptMsg__13CScriptEffectF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__13CScriptEffectF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8008E44C 0008B3AC 94 21 FD B0 */ stwu r1, -0x250(r1) -/* 8008E450 0008B3B0 7C 08 02 A6 */ mflr r0 -/* 8008E454 0008B3B4 90 01 02 54 */ stw r0, 0x254(r1) -/* 8008E458 0008B3B8 BE C1 02 28 */ stmw r22, 0x228(r1) -/* 8008E45C 0008B3BC 7C 9D 23 78 */ mr r29, r4 -/* 8008E460 0008B3C0 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 8008E464 0008B3C4 7C 7F 1B 78 */ mr r31, r3 -/* 8008E468 0008B3C8 7C BC 2B 78 */ mr r28, r5 -/* 8008E46C 0008B3CC 7C DE 33 78 */ mr r30, r6 -/* 8008E470 0008B3D0 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8008E474 0008B3D4 54 1B CF FE */ rlwinm r27, r0, 0x19, 0x1f, 0x1f -/* 8008E478 0008B3D8 41 82 01 08 */ beq lbl_8008E580 -/* 8008E47C 0008B3DC 40 80 00 10 */ bge lbl_8008E48C -/* 8008E480 0008B3E0 2C 1D 00 01 */ cmpwi r29, 1 -/* 8008E484 0008B3E4 41 82 02 64 */ beq lbl_8008E6E8 -/* 8008E488 0008B3E8 48 00 05 80 */ b lbl_8008EA08 -lbl_8008E48C: -/* 8008E48C 0008B3EC 2C 1D 00 23 */ cmpwi r29, 0x23 -/* 8008E490 0008B3F0 41 82 00 0C */ beq lbl_8008E49C -/* 8008E494 0008B3F4 40 80 05 74 */ bge lbl_8008EA08 -/* 8008E498 0008B3F8 48 00 02 20 */ b lbl_8008E6B8 -lbl_8008E49C: -/* 8008E49C 0008B3FC 83 5F 00 2C */ lwz r26, 0x2c(r31) -/* 8008E4A0 0008B400 48 00 00 C4 */ b lbl_8008E564 -lbl_8008E4A4: -/* 8008E4A4 0008B404 80 7A 00 00 */ lwz r3, 0(r26) -/* 8008E4A8 0008B408 2C 03 00 19 */ cmpwi r3, 0x19 -/* 8008E4AC 0008B40C 40 82 00 10 */ bne lbl_8008E4BC -/* 8008E4B0 0008B410 80 1A 00 04 */ lwz r0, 4(r26) -/* 8008E4B4 0008B414 2C 00 00 06 */ cmpwi r0, 6 -/* 8008E4B8 0008B418 41 82 00 18 */ beq lbl_8008E4D0 -lbl_8008E4BC: -/* 8008E4BC 0008B41C 2C 03 00 20 */ cmpwi r3, 0x20 -/* 8008E4C0 0008B420 40 82 00 A0 */ bne lbl_8008E560 -/* 8008E4C4 0008B424 80 1A 00 04 */ lwz r0, 4(r26) -/* 8008E4C8 0008B428 2C 00 00 01 */ cmpwi r0, 1 -/* 8008E4CC 0008B42C 40 82 00 94 */ bne lbl_8008E560 -lbl_8008E4D0: -/* 8008E4D0 0008B430 80 1A 00 08 */ lwz r0, 8(r26) -/* 8008E4D4 0008B434 7F C4 F3 78 */ mr r4, r30 -/* 8008E4D8 0008B438 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8008E4DC 0008B43C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 8008E4E0 0008B440 90 01 00 58 */ stw r0, 0x58(r1) -/* 8008E4E4 0008B444 4B FB 9A E5 */ bl GetIdListForScript__13CStateManagerCF9TEditorId -/* 8008E4E8 0008B448 83 01 00 C8 */ lwz r24, 0xc8(r1) -/* 8008E4EC 0008B44C 83 21 00 CC */ lwz r25, 0xcc(r1) -/* 8008E4F0 0008B450 82 E1 00 D0 */ lwz r23, 0xd0(r1) -/* 8008E4F4 0008B454 82 C1 00 C4 */ lwz r22, 0xc4(r1) -/* 8008E4F8 0008B458 48 00 00 48 */ b lbl_8008E540 -lbl_8008E4FC: -/* 8008E4FC 0008B45C A0 16 00 14 */ lhz r0, 0x14(r22) -/* 8008E500 0008B460 7F C3 F3 78 */ mr r3, r30 -/* 8008E504 0008B464 38 81 00 38 */ addi r4, r1, 0x38 -/* 8008E508 0008B468 B0 01 00 38 */ sth r0, 0x38(r1) -/* 8008E50C 0008B46C 4B FB E0 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8008E510 0008B470 7C 64 1B 78 */ mr r4, r3 -/* 8008E514 0008B474 38 61 00 6C */ addi r3, r1, 0x6c -/* 8008E518 0008B478 48 01 89 D1 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" -/* 8008E51C 0008B47C 80 03 00 04 */ lwz r0, 4(r3) -/* 8008E520 0008B480 28 00 00 00 */ cmplwi r0, 0 -/* 8008E524 0008B484 41 82 00 0C */ beq lbl_8008E530 -/* 8008E528 0008B488 A0 16 00 14 */ lhz r0, 0x14(r22) -/* 8008E52C 0008B48C B0 1F 01 3C */ sth r0, 0x13c(r31) -lbl_8008E530: -/* 8008E530 0008B490 7F 03 C3 78 */ mr r3, r24 -/* 8008E534 0008B494 7E C4 B3 78 */ mr r4, r22 -/* 8008E538 0008B498 48 2A E0 A9 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8008E53C 0008B49C 7C 76 1B 78 */ mr r22, r3 -lbl_8008E540: -/* 8008E540 0008B4A0 7C 16 C8 40 */ cmplw r22, r25 -/* 8008E544 0008B4A4 38 00 00 00 */ li r0, 0 -/* 8008E548 0008B4A8 40 82 00 0C */ bne lbl_8008E554 -/* 8008E54C 0008B4AC 7C 18 B8 40 */ cmplw r24, r23 -/* 8008E550 0008B4B0 41 82 00 08 */ beq lbl_8008E558 -lbl_8008E554: -/* 8008E554 0008B4B4 38 00 00 01 */ li r0, 1 -lbl_8008E558: -/* 8008E558 0008B4B8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8008E55C 0008B4BC 40 82 FF A0 */ bne lbl_8008E4FC -lbl_8008E560: -/* 8008E560 0008B4C0 3B 5A 00 0C */ addi r26, r26, 0xc -lbl_8008E564: -/* 8008E564 0008B4C4 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 8008E568 0008B4C8 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 8008E56C 0008B4CC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8008E570 0008B4D0 7C 03 02 14 */ add r0, r3, r0 -/* 8008E574 0008B4D4 7C 1A 00 40 */ cmplw r26, r0 -/* 8008E578 0008B4D8 40 82 FF 2C */ bne lbl_8008E4A4 -/* 8008E57C 0008B4DC 48 00 04 8C */ b lbl_8008EA08 -lbl_8008E580: -/* 8008E580 0008B4E0 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E584 0008B4E4 28 03 00 00 */ cmplwi r3, 0 -/* 8008E588 0008B4E8 41 82 04 80 */ beq lbl_8008EA08 -/* 8008E58C 0008B4EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E590 0008B4F0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8008E594 0008B4F4 7D 89 03 A6 */ mtctr r12 -/* 8008E598 0008B4F8 4E 80 04 21 */ bctrl -/* 8008E59C 0008B4FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008E5A0 0008B500 41 82 04 68 */ beq lbl_8008EA08 -/* 8008E5A4 0008B504 7F C4 F3 78 */ mr r4, r30 -/* 8008E5A8 0008B508 38 61 00 34 */ addi r3, r1, 0x34 -/* 8008E5AC 0008B50C 4B FB EB 31 */ bl AllocateUniqueId__13CStateManagerFv -/* 8008E5B0 0008B510 A0 01 00 34 */ lhz r0, 0x34(r1) -/* 8008E5B4 0008B514 3C 60 80 3D */ lis r3, lbl_803CD690@ha -/* 8008E5B8 0008B518 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l -/* 8008E5BC 0008B51C 3B 40 00 00 */ li r26, 0 -/* 8008E5C0 0008B520 B0 1F 01 08 */ sth r0, 0x108(r31) -/* 8008E5C4 0008B524 3A E0 00 00 */ li r23, 0 -/* 8008E5C8 0008B528 38 60 01 48 */ li r3, 0x148 -/* 8008E5CC 0008B52C 38 A0 00 00 */ li r5, 0 -/* 8008E5D0 0008B530 82 DF 01 0C */ lwz r22, 0x10c(r31) -/* 8008E5D4 0008B534 48 28 72 99 */ bl __nw__FUlPCcPCc -/* 8008E5D8 0008B538 7C 79 1B 79 */ or. r25, r3, r3 -/* 8008E5DC 0008B53C 41 82 00 AC */ beq lbl_8008E688 -/* 8008E5E0 0008B540 A0 1F 00 08 */ lhz r0, 8(r31) -/* 8008E5E4 0008B544 3C 60 80 3D */ lis r3, lbl_803CD690@ha -/* 8008E5E8 0008B548 83 1F 01 04 */ lwz r24, 0x104(r31) -/* 8008E5EC 0008B54C 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l -/* 8008E5F0 0008B550 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 8008E5F4 0008B554 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8008E5F8 0008B558 38 84 00 07 */ addi r4, r4, 7 -/* 8008E5FC 0008B55C B0 01 00 30 */ sth r0, 0x30(r1) -/* 8008E600 0008B560 4B F7 66 B9 */ bl string_l__4rstlFPCc -/* 8008E604 0008B564 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8008E608 0008B568 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 8008E60C 0008B56C 38 BF 00 10 */ addi r5, r31, 0x10 -/* 8008E610 0008B570 3B 40 00 01 */ li r26, 1 -/* 8008E614 0008B574 4B F7 66 49 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8008E618 0008B578 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8008E61C 0008B57C 7F 04 C3 78 */ mr r4, r24 -/* 8008E620 0008B580 80 BF 00 04 */ lwz r5, 4(r31) -/* 8008E624 0008B584 38 61 01 BC */ addi r3, r1, 0x1bc -/* 8008E628 0008B588 54 18 CF FE */ rlwinm r24, r0, 0x19, 0x1f, 0x1f -/* 8008E62C 0008B58C 3A E0 00 01 */ li r23, 1 -/* 8008E630 0008B590 90 A1 00 54 */ stw r5, 0x54(r1) -/* 8008E634 0008B594 A0 1F 01 08 */ lhz r0, 0x108(r31) -/* 8008E638 0008B598 90 A1 00 50 */ stw r5, 0x50(r1) -/* 8008E63C 0008B59C B0 01 00 28 */ sth r0, 0x28(r1) -/* 8008E640 0008B5A0 81 84 00 00 */ lwz r12, 0(r4) -/* 8008E644 0008B5A4 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8008E648 0008B5A8 7D 89 03 A6 */ mtctr r12 -/* 8008E64C 0008B5AC 4E 80 04 21 */ bctrl -/* 8008E650 0008B5B0 92 C1 00 08 */ stw r22, 8(r1) -/* 8008E654 0008B5B4 38 00 00 01 */ li r0, 1 -/* 8008E658 0008B5B8 C0 22 8A C8 */ lfs f1, lbl_805AA7E8@sda21(r2) -/* 8008E65C 0008B5BC 7F 23 CB 78 */ mr r3, r25 -/* 8008E660 0008B5C0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8008E664 0008B5C4 7F 06 C3 78 */ mr r6, r24 -/* 8008E668 0008B5C8 38 81 00 28 */ addi r4, r1, 0x28 -/* 8008E66C 0008B5CC 38 A1 00 54 */ addi r5, r1, 0x54 -/* 8008E670 0008B5D0 38 E1 00 A4 */ addi r7, r1, 0xa4 -/* 8008E674 0008B5D4 39 1F 00 34 */ addi r8, r31, 0x34 -/* 8008E678 0008B5D8 39 21 00 30 */ addi r9, r1, 0x30 -/* 8008E67C 0008B5DC 39 41 01 BC */ addi r10, r1, 0x1bc -/* 8008E680 0008B5E0 48 02 71 A5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" -/* 8008E684 0008B5E4 7C 79 1B 78 */ mr r25, r3 -lbl_8008E688: -/* 8008E688 0008B5E8 7F C3 F3 78 */ mr r3, r30 -/* 8008E68C 0008B5EC 7F 24 CB 78 */ mr r4, r25 -/* 8008E690 0008B5F0 4B FB E6 65 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8008E694 0008B5F4 7E E0 07 75 */ extsb. r0, r23 -/* 8008E698 0008B5F8 41 82 00 0C */ beq lbl_8008E6A4 -/* 8008E69C 0008B5FC 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8008E6A0 0008B600 48 2A F4 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8008E6A4: -/* 8008E6A4 0008B604 7F 40 07 75 */ extsb. r0, r26 -/* 8008E6A8 0008B608 41 82 03 60 */ beq lbl_8008EA08 -/* 8008E6AC 0008B60C 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8008E6B0 0008B610 48 2A F4 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8008E6B4 0008B614 48 00 03 54 */ b lbl_8008EA08 -lbl_8008E6B8: -/* 8008E6B8 0008B618 A0 7F 01 08 */ lhz r3, 0x108(r31) -/* 8008E6BC 0008B61C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008E6C0 0008B620 7C 03 00 40 */ cmplw r3, r0 -/* 8008E6C4 0008B624 41 82 03 44 */ beq lbl_8008EA08 -/* 8008E6C8 0008B628 A0 1F 01 08 */ lhz r0, 0x108(r31) -/* 8008E6CC 0008B62C 7F C3 F3 78 */ mr r3, r30 -/* 8008E6D0 0008B630 38 81 00 24 */ addi r4, r1, 0x24 -/* 8008E6D4 0008B634 B0 01 00 24 */ sth r0, 0x24(r1) -/* 8008E6D8 0008B638 4B FB DB 95 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8008E6DC 0008B63C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008E6E0 0008B640 B0 1F 01 08 */ sth r0, 0x108(r31) -/* 8008E6E4 0008B644 48 00 03 24 */ b lbl_8008EA08 -lbl_8008E6E8: -/* 8008E6E8 0008B648 88 1F 01 10 */ lbz r0, 0x110(r31) -/* 8008E6EC 0008B64C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8008E6F0 0008B650 41 82 03 18 */ beq lbl_8008EA08 -/* 8008E6F4 0008B654 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E6F8 0008B658 28 03 00 00 */ cmplwi r3, 0 -/* 8008E6FC 0008B65C 41 82 01 94 */ beq lbl_8008E890 -/* 8008E700 0008B660 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E704 0008B664 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 8008E708 0008B668 7D 89 03 A6 */ mtctr r12 -/* 8008E70C 0008B66C 4E 80 04 21 */ bctrl -/* 8008E710 0008B670 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008E714 0008B674 D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 8008E718 0008B678 C0 03 00 04 */ lfs f0, 4(r3) -/* 8008E71C 0008B67C D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 8008E720 0008B680 C0 03 00 08 */ lfs f0, 8(r3) -/* 8008E724 0008B684 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 8008E728 0008B688 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E72C 0008B68C 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E730 0008B690 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 8008E734 0008B694 7D 89 03 A6 */ mtctr r12 -/* 8008E738 0008B698 4E 80 04 21 */ bctrl -/* 8008E73C 0008B69C 80 03 00 00 */ lwz r0, 0(r3) -/* 8008E740 0008B6A0 3C 60 80 3D */ lis r3, lbl_803CD690@ha -/* 8008E744 0008B6A4 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l -/* 8008E748 0008B6A8 3A C0 00 00 */ li r22, 0 -/* 8008E74C 0008B6AC 90 01 00 60 */ stw r0, 0x60(r1) -/* 8008E750 0008B6B0 38 60 03 40 */ li r3, 0x340 -/* 8008E754 0008B6B4 38 A0 00 00 */ li r5, 0 -/* 8008E758 0008B6B8 48 28 71 15 */ bl __nw__FUlPCcPCc -/* 8008E75C 0008B6BC 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8008E760 0008B6C0 41 82 00 2C */ beq lbl_8008E78C -/* 8008E764 0008B6C4 38 61 00 84 */ addi r3, r1, 0x84 -/* 8008E768 0008B6C8 38 9F 00 F8 */ addi r4, r31, 0xf8 -/* 8008E76C 0008B6CC 48 2B 27 3D */ bl __ct__6CTokenFRC6CToken -/* 8008E770 0008B6D0 7F 43 D3 78 */ mr r3, r26 -/* 8008E774 0008B6D4 38 81 00 84 */ addi r4, r1, 0x84 -/* 8008E778 0008B6D8 3A C0 00 01 */ li r22, 1 -/* 8008E77C 0008B6DC 38 A0 00 00 */ li r5, 0 -/* 8008E780 0008B6E0 38 C0 00 01 */ li r6, 1 -/* 8008E784 0008B6E4 48 29 0C 5D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8008E788 0008B6E8 7C 7A 1B 78 */ mr r26, r3 -lbl_8008E78C: -/* 8008E78C 0008B6EC 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E790 0008B6F0 28 03 00 00 */ cmplwi r3, 0 -/* 8008E794 0008B6F4 41 82 00 18 */ beq lbl_8008E7AC -/* 8008E798 0008B6F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E79C 0008B6FC 38 80 00 01 */ li r4, 1 -/* 8008E7A0 0008B700 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008E7A4 0008B704 7D 89 03 A6 */ mtctr r12 -/* 8008E7A8 0008B708 4E 80 04 21 */ bctrl -lbl_8008E7AC: -/* 8008E7AC 0008B70C 7E C0 07 75 */ extsb. r0, r22 -/* 8008E7B0 0008B710 93 5F 01 04 */ stw r26, 0x104(r31) -/* 8008E7B4 0008B714 41 82 00 10 */ beq lbl_8008E7C4 -/* 8008E7B8 0008B718 38 61 00 84 */ addi r3, r1, 0x84 -/* 8008E7BC 0008B71C 38 80 00 00 */ li r4, 0 -/* 8008E7C0 0008B720 48 2B 26 81 */ bl __dt__6CTokenFv -lbl_8008E7C4: -/* 8008E7C4 0008B724 38 61 01 2C */ addi r3, r1, 0x12c -/* 8008E7C8 0008B728 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8008E7CC 0008B72C 48 28 43 A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008E7D0 0008B730 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8008E7D4 0008B734 38 61 01 8C */ addi r3, r1, 0x18c -/* 8008E7D8 0008B738 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8008E7DC 0008B73C 38 81 01 2C */ addi r4, r1, 0x12c -/* 8008E7E0 0008B740 C0 45 00 00 */ lfs f2, 0(r5) -/* 8008E7E4 0008B744 C0 25 00 04 */ lfs f1, 4(r5) -/* 8008E7E8 0008B748 C0 05 00 08 */ lfs f0, 8(r5) -/* 8008E7EC 0008B74C D0 41 01 38 */ stfs f2, 0x138(r1) -/* 8008E7F0 0008B750 D0 21 01 48 */ stfs f1, 0x148(r1) -/* 8008E7F4 0008B754 D0 01 01 58 */ stfs f0, 0x158(r1) -/* 8008E7F8 0008B758 48 28 43 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008E7FC 0008B75C 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E800 0008B760 38 81 01 8C */ addi r4, r1, 0x18c -/* 8008E804 0008B764 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E808 0008B768 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8008E80C 0008B76C 7D 89 03 A6 */ mtctr r12 -/* 8008E810 0008B770 4E 80 04 21 */ bctrl -/* 8008E814 0008B774 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8008E818 0008B778 38 81 00 98 */ addi r4, r1, 0x98 -/* 8008E81C 0008B77C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8008E820 0008B780 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8008E824 0008B784 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8008E828 0008B788 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8008E82C 0008B78C D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 8008E830 0008B790 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E834 0008B794 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E838 0008B798 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8008E83C 0008B79C 7D 89 03 A6 */ mtctr r12 -/* 8008E840 0008B7A0 4E 80 04 21 */ bctrl -/* 8008E844 0008B7A4 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E848 0008B7A8 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 8008E84C 0008B7AC 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E850 0008B7B0 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8008E854 0008B7B4 7D 89 03 A6 */ mtctr r12 -/* 8008E858 0008B7B8 4E 80 04 21 */ bctrl -/* 8008E85C 0008B7BC 80 BF 01 38 */ lwz r5, 0x138(r31) -/* 8008E860 0008B7C0 38 81 00 60 */ addi r4, r1, 0x60 -/* 8008E864 0008B7C4 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E868 0008B7C8 7C 05 00 D0 */ neg r0, r5 -/* 8008E86C 0008B7CC 7C 05 2B 78 */ or r5, r0, r5 -/* 8008E870 0008B7D0 88 03 02 6D */ lbz r0, 0x26d(r3) -/* 8008E874 0008B7D4 50 A0 36 B4 */ rlwimi r0, r5, 6, 0x1a, 0x1a -/* 8008E878 0008B7D8 98 03 02 6D */ stb r0, 0x26d(r3) -/* 8008E87C 0008B7DC 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008E880 0008B7E0 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E884 0008B7E4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8008E888 0008B7E8 7D 89 03 A6 */ mtctr r12 -/* 8008E88C 0008B7EC 4E 80 04 21 */ bctrl -lbl_8008E890: -/* 8008E890 0008B7F0 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008E894 0008B7F4 28 03 00 00 */ cmplwi r3, 0 -/* 8008E898 0008B7F8 41 82 01 70 */ beq lbl_8008EA08 -/* 8008E89C 0008B7FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E8A0 0008B800 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 8008E8A4 0008B804 7D 89 03 A6 */ mtctr r12 -/* 8008E8A8 0008B808 4E 80 04 21 */ bctrl -/* 8008E8AC 0008B80C C0 03 00 00 */ lfs f0, 0(r3) -/* 8008E8B0 0008B810 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 8008E8B4 0008B814 C0 03 00 04 */ lfs f0, 4(r3) -/* 8008E8B8 0008B818 D0 01 00 E8 */ stfs f0, 0xe8(r1) -/* 8008E8BC 0008B81C C0 03 00 08 */ lfs f0, 8(r3) -/* 8008E8C0 0008B820 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 8008E8C4 0008B824 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008E8C8 0008B828 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E8CC 0008B82C 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 8008E8D0 0008B830 7D 89 03 A6 */ mtctr r12 -/* 8008E8D4 0008B834 4E 80 04 21 */ bctrl -/* 8008E8D8 0008B838 80 03 00 00 */ lwz r0, 0(r3) -/* 8008E8DC 0008B83C 3C 60 80 3D */ lis r3, lbl_803CD690@ha -/* 8008E8E0 0008B840 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l -/* 8008E8E4 0008B844 3A C0 00 00 */ li r22, 0 -/* 8008E8E8 0008B848 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8008E8EC 0008B84C 38 60 04 58 */ li r3, 0x458 -/* 8008E8F0 0008B850 38 A0 00 00 */ li r5, 0 -/* 8008E8F4 0008B854 48 28 6F 79 */ bl __nw__FUlPCcPCc -/* 8008E8F8 0008B858 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8008E8FC 0008B85C 41 82 00 24 */ beq lbl_8008E920 -/* 8008E900 0008B860 38 61 00 7C */ addi r3, r1, 0x7c -/* 8008E904 0008B864 38 9F 00 E8 */ addi r4, r31, 0xe8 -/* 8008E908 0008B868 48 2B 25 A1 */ bl __ct__6CTokenFRC6CToken -/* 8008E90C 0008B86C 7F 43 D3 78 */ mr r3, r26 -/* 8008E910 0008B870 38 81 00 7C */ addi r4, r1, 0x7c -/* 8008E914 0008B874 3A C0 00 01 */ li r22, 1 -/* 8008E918 0008B878 48 2D 38 59 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 8008E91C 0008B87C 7C 7A 1B 78 */ mr r26, r3 -lbl_8008E920: -/* 8008E920 0008B880 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008E924 0008B884 28 03 00 00 */ cmplwi r3, 0 -/* 8008E928 0008B888 41 82 00 18 */ beq lbl_8008E940 -/* 8008E92C 0008B88C 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E930 0008B890 38 80 00 01 */ li r4, 1 -/* 8008E934 0008B894 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008E938 0008B898 7D 89 03 A6 */ mtctr r12 -/* 8008E93C 0008B89C 4E 80 04 21 */ bctrl -lbl_8008E940: -/* 8008E940 0008B8A0 7E C0 07 75 */ extsb. r0, r22 -/* 8008E944 0008B8A4 93 5F 00 F4 */ stw r26, 0xf4(r31) -/* 8008E948 0008B8A8 41 82 00 10 */ beq lbl_8008E958 -/* 8008E94C 0008B8AC 38 61 00 7C */ addi r3, r1, 0x7c -/* 8008E950 0008B8B0 38 80 00 00 */ li r4, 0 -/* 8008E954 0008B8B4 48 2B 24 ED */ bl __dt__6CTokenFv -lbl_8008E958: -/* 8008E958 0008B8B8 38 61 00 FC */ addi r3, r1, 0xfc -/* 8008E95C 0008B8BC 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8008E960 0008B8C0 48 28 42 15 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008E964 0008B8C4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8008E968 0008B8C8 38 61 01 5C */ addi r3, r1, 0x15c -/* 8008E96C 0008B8CC 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8008E970 0008B8D0 38 81 00 FC */ addi r4, r1, 0xfc -/* 8008E974 0008B8D4 C0 45 00 00 */ lfs f2, 0(r5) -/* 8008E978 0008B8D8 C0 25 00 04 */ lfs f1, 4(r5) -/* 8008E97C 0008B8DC C0 05 00 08 */ lfs f0, 8(r5) -/* 8008E980 0008B8E0 D0 41 01 08 */ stfs f2, 0x108(r1) -/* 8008E984 0008B8E4 D0 21 01 18 */ stfs f1, 0x118(r1) -/* 8008E988 0008B8E8 D0 01 01 28 */ stfs f0, 0x128(r1) -/* 8008E98C 0008B8EC 48 28 41 E9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008E990 0008B8F0 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008E994 0008B8F4 38 81 01 5C */ addi r4, r1, 0x15c -/* 8008E998 0008B8F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E99C 0008B8FC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8008E9A0 0008B900 7D 89 03 A6 */ mtctr r12 -/* 8008E9A4 0008B904 4E 80 04 21 */ bctrl -/* 8008E9A8 0008B908 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8008E9AC 0008B90C 38 81 00 8C */ addi r4, r1, 0x8c -/* 8008E9B0 0008B910 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8008E9B4 0008B914 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8008E9B8 0008B918 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8008E9BC 0008B91C D0 21 00 90 */ stfs f1, 0x90(r1) -/* 8008E9C0 0008B920 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8008E9C4 0008B924 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008E9C8 0008B928 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E9CC 0008B92C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8008E9D0 0008B930 7D 89 03 A6 */ mtctr r12 -/* 8008E9D4 0008B934 4E 80 04 21 */ bctrl -/* 8008E9D8 0008B938 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008E9DC 0008B93C 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 8008E9E0 0008B940 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E9E4 0008B944 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8008E9E8 0008B948 7D 89 03 A6 */ mtctr r12 -/* 8008E9EC 0008B94C 4E 80 04 21 */ bctrl -/* 8008E9F0 0008B950 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008E9F4 0008B954 38 81 00 5C */ addi r4, r1, 0x5c -/* 8008E9F8 0008B958 81 83 00 00 */ lwz r12, 0(r3) -/* 8008E9FC 0008B95C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8008EA00 0008B960 7D 89 03 A6 */ mtctr r12 -/* 8008EA04 0008B964 4E 80 04 21 */ bctrl -lbl_8008EA08: -/* 8008EA08 0008B968 A0 1C 00 00 */ lhz r0, 0(r28) -/* 8008EA0C 0008B96C 7F E3 FB 78 */ mr r3, r31 -/* 8008EA10 0008B970 7F A4 EB 78 */ mr r4, r29 -/* 8008EA14 0008B974 7F C6 F3 78 */ mr r6, r30 -/* 8008EA18 0008B978 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8008EA1C 0008B97C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8008EA20 0008B980 4B FC 4B F5 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8008EA24 0008B984 A0 1F 01 08 */ lhz r0, 0x108(r31) -/* 8008EA28 0008B988 7F C3 F3 78 */ mr r3, r30 -/* 8008EA2C 0008B98C 38 81 00 1C */ addi r4, r1, 0x1c -/* 8008EA30 0008B990 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8008EA34 0008B994 4B FB DB 41 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8008EA38 0008B998 7C 64 1B 78 */ mr r4, r3 -/* 8008EA3C 0008B99C 38 61 00 74 */ addi r3, r1, 0x74 -/* 8008EA40 0008B9A0 48 02 12 51 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8008EA44 0008B9A4 83 43 00 04 */ lwz r26, 4(r3) -/* 8008EA48 0008B9A8 7F C3 F3 78 */ mr r3, r30 -/* 8008EA4C 0008B9AC A0 1C 00 00 */ lhz r0, 0(r28) -/* 8008EA50 0008B9B0 7F A6 EB 78 */ mr r6, r29 -/* 8008EA54 0008B9B4 7F 44 D3 78 */ mr r4, r26 -/* 8008EA58 0008B9B8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8008EA5C 0008B9BC B0 01 00 18 */ sth r0, 0x18(r1) -/* 8008EA60 0008B9C0 4B FB 54 71 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8008EA64 0008B9C4 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8008EA68 0008B9C8 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 8008EA6C 0008B9CC 7C 1B 00 40 */ cmplw r27, r0 -/* 8008EA70 0008B9D0 41 82 02 8C */ beq lbl_8008ECFC -/* 8008EA74 0008B9D4 28 00 00 00 */ cmplwi r0, 0 -/* 8008EA78 0008B9D8 41 82 01 FC */ beq lbl_8008EC74 -/* 8008EA7C 0008B9DC 38 00 00 00 */ li r0, 0 -/* 8008EA80 0008B9E0 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8008EA84 0008B9E4 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 8008EA88 0008B9E8 90 01 00 DC */ stw r0, 0xdc(r1) -/* 8008EA8C 0008B9EC 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 8008EA90 0008B9F0 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 8008EA94 0008B9F4 4B F7 D9 75 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 8008EA98 0008B9F8 83 7F 00 2C */ lwz r27, 0x2c(r31) -/* 8008EA9C 0008B9FC 48 00 00 94 */ b lbl_8008EB30 -lbl_8008EAA0: -/* 8008EAA0 0008BA00 80 1B 00 00 */ lwz r0, 0(r27) -/* 8008EAA4 0008BA04 2C 00 00 12 */ cmpwi r0, 0x12 -/* 8008EAA8 0008BA08 40 82 00 84 */ bne lbl_8008EB2C -/* 8008EAAC 0008BA0C 80 1B 00 04 */ lwz r0, 4(r27) -/* 8008EAB0 0008BA10 2C 00 00 01 */ cmpwi r0, 1 -/* 8008EAB4 0008BA14 40 82 00 78 */ bne lbl_8008EB2C -/* 8008EAB8 0008BA18 80 1B 00 08 */ lwz r0, 8(r27) -/* 8008EABC 0008BA1C 7F C4 F3 78 */ mr r4, r30 -/* 8008EAC0 0008BA20 38 61 00 14 */ addi r3, r1, 0x14 -/* 8008EAC4 0008BA24 38 A1 00 4C */ addi r5, r1, 0x4c -/* 8008EAC8 0008BA28 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8008EACC 0008BA2C 4B FB 94 51 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8008EAD0 0008BA30 A2 C1 00 14 */ lhz r22, 0x14(r1) -/* 8008EAD4 0008BA34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008EAD8 0008BA38 7C 16 00 40 */ cmplw r22, r0 -/* 8008EADC 0008BA3C 41 82 00 50 */ beq lbl_8008EB2C -/* 8008EAE0 0008BA40 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8008EAE4 0008BA44 80 A1 00 DC */ lwz r5, 0xdc(r1) -/* 8008EAE8 0008BA48 7C 00 28 00 */ cmpw r0, r5 -/* 8008EAEC 0008BA4C 41 80 00 1C */ blt lbl_8008EB08 -/* 8008EAF0 0008BA50 2C 05 00 00 */ cmpwi r5, 0 -/* 8008EAF4 0008BA54 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8008EAF8 0008BA58 38 80 00 04 */ li r4, 4 -/* 8008EAFC 0008BA5C 41 82 00 08 */ beq lbl_8008EB04 -/* 8008EB00 0008BA60 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8008EB04: -/* 8008EB04 0008BA64 4B F7 D9 05 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_8008EB08: -/* 8008EB08 0008BA68 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8008EB0C 0008BA6C 80 61 00 E0 */ lwz r3, 0xe0(r1) -/* 8008EB10 0008BA70 54 00 08 3C */ slwi r0, r0, 1 -/* 8008EB14 0008BA74 7C 63 02 15 */ add. r3, r3, r0 -/* 8008EB18 0008BA78 41 82 00 08 */ beq lbl_8008EB20 -/* 8008EB1C 0008BA7C B2 C3 00 00 */ sth r22, 0(r3) -lbl_8008EB20: -/* 8008EB20 0008BA80 80 61 00 D8 */ lwz r3, 0xd8(r1) -/* 8008EB24 0008BA84 38 03 00 01 */ addi r0, r3, 1 -/* 8008EB28 0008BA88 90 01 00 D8 */ stw r0, 0xd8(r1) -lbl_8008EB2C: -/* 8008EB2C 0008BA8C 3B 7B 00 0C */ addi r27, r27, 0xc -lbl_8008EB30: -/* 8008EB30 0008BA90 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 8008EB34 0008BA94 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 8008EB38 0008BA98 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8008EB3C 0008BA9C 7C 03 02 14 */ add r0, r3, r0 -/* 8008EB40 0008BAA0 7C 1B 00 40 */ cmplw r27, r0 -/* 8008EB44 0008BAA4 40 82 FF 5C */ bne lbl_8008EAA0 -/* 8008EB48 0008BAA8 82 C1 00 D8 */ lwz r22, 0xd8(r1) -/* 8008EB4C 0008BAAC 2C 16 00 00 */ cmpwi r22, 0 -/* 8008EB50 0008BAB0 41 82 00 E4 */ beq lbl_8008EC34 -/* 8008EB54 0008BAB4 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 8008EB58 0008BAB8 48 28 39 85 */ bl Float__9CRandom16Fv -/* 8008EB5C 0008BABC 6E C3 80 00 */ xoris r3, r22, 0x8000 -/* 8008EB60 0008BAC0 3C 00 43 30 */ lis r0, 0x4330 -/* 8008EB64 0008BAC4 90 61 02 14 */ stw r3, 0x214(r1) -/* 8008EB68 0008BAC8 7F C3 F3 78 */ mr r3, r30 -/* 8008EB6C 0008BACC C8 62 8A D0 */ lfd f3, lbl_805AA7F0@sda21(r2) -/* 8008EB70 0008BAD0 38 81 00 10 */ addi r4, r1, 0x10 -/* 8008EB74 0008BAD4 90 01 02 10 */ stw r0, 0x210(r1) -/* 8008EB78 0008BAD8 C0 02 8A CC */ lfs f0, lbl_805AA7EC@sda21(r2) -/* 8008EB7C 0008BADC C8 41 02 10 */ lfd f2, 0x210(r1) -/* 8008EB80 0008BAE0 80 A1 00 E0 */ lwz r5, 0xe0(r1) -/* 8008EB84 0008BAE4 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8008EB88 0008BAE8 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8008EB8C 0008BAEC EC 00 00 72 */ fmuls f0, f0, f1 -/* 8008EB90 0008BAF0 FC 00 00 1E */ fctiwz f0, f0 -/* 8008EB94 0008BAF4 D8 01 02 18 */ stfd f0, 0x218(r1) -/* 8008EB98 0008BAF8 80 01 02 1C */ lwz r0, 0x21c(r1) -/* 8008EB9C 0008BAFC 54 00 08 3C */ slwi r0, r0, 1 -/* 8008EBA0 0008BB00 7C 05 02 2E */ lhzx r0, r5, r0 -/* 8008EBA4 0008BB04 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8008EBA8 0008BB08 4B FB D9 FD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8008EBAC 0008BB0C 7C 64 1B 78 */ mr r4, r3 -/* 8008EBB0 0008BB10 38 61 00 64 */ addi r3, r1, 0x64 -/* 8008EBB4 0008BB14 48 02 10 DD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8008EBB8 0008BB18 82 C3 00 04 */ lwz r22, 4(r3) -/* 8008EBBC 0008BB1C 28 16 00 00 */ cmplwi r22, 0 -/* 8008EBC0 0008BB20 41 82 00 74 */ beq lbl_8008EC34 -/* 8008EBC4 0008BB24 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8008EBC8 0008BB28 38 96 00 34 */ addi r4, r22, 0x34 -/* 8008EBCC 0008BB2C 48 28 3F 75 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8008EBD0 0008BB30 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8008EBD4 0008BB34 38 60 00 01 */ li r3, 1 -/* 8008EBD8 0008BB38 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8008EBDC 0008BB3C 28 1A 00 00 */ cmplwi r26, 0 -/* 8008EBE0 0008BB40 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8008EBE4 0008BB44 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8008EBE8 0008BB48 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8008EBEC 0008BB4C 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8008EBF0 0008BB50 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8008EBF4 0008BB54 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8008EBF8 0008BB58 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8008EBFC 0008BB5C 41 82 00 38 */ beq lbl_8008EC34 -/* 8008EC00 0008BB60 38 7A 00 34 */ addi r3, r26, 0x34 -/* 8008EC04 0008BB64 38 96 00 34 */ addi r4, r22, 0x34 -/* 8008EC08 0008BB68 48 28 3F 39 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8008EC0C 0008BB6C 88 1A 00 E4 */ lbz r0, 0xe4(r26) -/* 8008EC10 0008BB70 38 60 00 01 */ li r3, 1 -/* 8008EC14 0008BB74 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8008EC18 0008BB78 98 1A 00 E4 */ stb r0, 0xe4(r26) -/* 8008EC1C 0008BB7C 88 1A 00 E4 */ lbz r0, 0xe4(r26) -/* 8008EC20 0008BB80 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8008EC24 0008BB84 98 1A 00 E4 */ stb r0, 0xe4(r26) -/* 8008EC28 0008BB88 88 1A 00 E4 */ lbz r0, 0xe4(r26) -/* 8008EC2C 0008BB8C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8008EC30 0008BB90 98 1A 00 E4 */ stb r0, 0xe4(r26) -lbl_8008EC34: -/* 8008EC34 0008BB94 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8008EC38 0008BB98 80 61 00 E0 */ lwz r3, 0xe0(r1) -/* 8008EC3C 0008BB9C 54 00 08 3C */ slwi r0, r0, 1 -/* 8008EC40 0008BBA0 7C 03 02 14 */ add r0, r3, r0 -/* 8008EC44 0008BBA4 90 61 00 40 */ stw r3, 0x40(r1) -/* 8008EC48 0008BBA8 7C 64 1B 78 */ mr r4, r3 -/* 8008EC4C 0008BBAC 90 01 00 48 */ stw r0, 0x48(r1) -/* 8008EC50 0008BBB0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8008EC54 0008BBB4 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8008EC58 0008BBB8 48 00 00 08 */ b lbl_8008EC60 -lbl_8008EC5C: -/* 8008EC5C 0008BBBC 38 84 00 02 */ addi r4, r4, 2 -lbl_8008EC60: -/* 8008EC60 0008BBC0 7C 04 00 40 */ cmplw r4, r0 -/* 8008EC64 0008BBC4 40 82 FF F8 */ bne lbl_8008EC5C -/* 8008EC68 0008BBC8 28 03 00 00 */ cmplwi r3, 0 -/* 8008EC6C 0008BBCC 41 82 00 08 */ beq lbl_8008EC74 -/* 8008EC70 0008BBD0 48 28 6C C1 */ bl Free__7CMemoryFPCv -lbl_8008EC74: -/* 8008EC74 0008BBD4 88 1F 01 10 */ lbz r0, 0x110(r31) -/* 8008EC78 0008BBD8 38 60 00 01 */ li r3, 1 -/* 8008EC7C 0008BBDC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8008EC80 0008BBE0 98 1F 01 10 */ stb r0, 0x110(r31) -/* 8008EC84 0008BBE4 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8008EC88 0008BBE8 28 03 00 00 */ cmplwi r3, 0 -/* 8008EC8C 0008BBEC 41 82 00 1C */ beq lbl_8008ECA8 -/* 8008EC90 0008BBF0 81 83 00 00 */ lwz r12, 0(r3) -/* 8008EC94 0008BBF4 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8008EC98 0008BBF8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8008EC9C 0008BBFC 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f -/* 8008ECA0 0008BC00 7D 89 03 A6 */ mtctr r12 -/* 8008ECA4 0008BC04 4E 80 04 21 */ bctrl -lbl_8008ECA8: -/* 8008ECA8 0008BC08 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8008ECAC 0008BC0C 28 03 00 00 */ cmplwi r3, 0 -/* 8008ECB0 0008BC10 41 82 00 1C */ beq lbl_8008ECCC -/* 8008ECB4 0008BC14 81 83 00 00 */ lwz r12, 0(r3) -/* 8008ECB8 0008BC18 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8008ECBC 0008BC1C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8008ECC0 0008BC20 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f -/* 8008ECC4 0008BC24 7D 89 03 A6 */ mtctr r12 -/* 8008ECC8 0008BC28 4E 80 04 21 */ bctrl -lbl_8008ECCC: -/* 8008ECCC 0008BC2C 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8008ECD0 0008BC30 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008ECD4 0008BC34 41 82 00 28 */ beq lbl_8008ECFC -/* 8008ECD8 0008BC38 C0 3F 01 30 */ lfs f1, 0x130(r31) -/* 8008ECDC 0008BC3C C0 1F 01 2C */ lfs f0, 0x12c(r31) -/* 8008ECE0 0008BC40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008ECE4 0008BC44 40 80 00 0C */ bge lbl_8008ECF0 -/* 8008ECE8 0008BC48 38 7F 01 2C */ addi r3, r31, 0x12c -/* 8008ECEC 0008BC4C 48 00 00 08 */ b lbl_8008ECF4 -lbl_8008ECF0: -/* 8008ECF0 0008BC50 38 7F 01 30 */ addi r3, r31, 0x130 -lbl_8008ECF4: -/* 8008ECF4 0008BC54 C0 03 00 00 */ lfs f0, 0(r3) -/* 8008ECF8 0008BC58 D0 1F 01 2C */ stfs f0, 0x12c(r31) -lbl_8008ECFC: -/* 8008ECFC 0008BC5C BA C1 02 28 */ lmw r22, 0x228(r1) -/* 8008ED00 0008BC60 80 01 02 54 */ lwz r0, 0x254(r1) -/* 8008ED04 0008BC64 7C 08 03 A6 */ mtlr r0 -/* 8008ED08 0008BC68 38 21 02 50 */ addi r1, r1, 0x250 -/* 8008ED0C 0008BC6C 4E 80 00 20 */ blr - -.global GetModulationColor__17CParticleElectricFv -GetModulationColor__17CParticleElectricFv: -/* 8008ED10 0008BC70 38 63 01 B8 */ addi r3, r3, 0x1b8 -/* 8008ED14 0008BC74 4E 80 00 20 */ blr - -.global GetGlobalScale__17CParticleElectricFv -GetGlobalScale__17CParticleElectricFv: -/* 8008ED18 0008BC78 38 63 00 E0 */ addi r3, r3, 0xe0 -/* 8008ED1C 0008BC7C 4E 80 00 20 */ blr - -.global GetGlobalScale__11CElementGenCFv -GetGlobalScale__11CElementGenCFv: -/* 8008ED20 0008BC80 38 63 01 00 */ addi r3, r3, 0x100 -/* 8008ED24 0008BC84 4E 80 00 20 */ blr - -.global Think__13CScriptEffectFfR13CStateManager -Think__13CScriptEffectFfR13CStateManager: -/* 8008ED28 0008BC88 94 21 FE 70 */ stwu r1, -0x190(r1) -/* 8008ED2C 0008BC8C 7C 08 02 A6 */ mflr r0 -/* 8008ED30 0008BC90 90 01 01 94 */ stw r0, 0x194(r1) -/* 8008ED34 0008BC94 DB E1 01 80 */ stfd f31, 0x180(r1) -/* 8008ED38 0008BC98 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 -/* 8008ED3C 0008BC9C 93 E1 01 7C */ stw r31, 0x17c(r1) -/* 8008ED40 0008BCA0 93 C1 01 78 */ stw r30, 0x178(r1) -/* 8008ED44 0008BCA4 93 A1 01 74 */ stw r29, 0x174(r1) -/* 8008ED48 0008BCA8 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 8008ED4C 0008BCAC FF E0 08 90 */ fmr f31, f1 -/* 8008ED50 0008BCB0 7C 7E 1B 78 */ mr r30, r3 -/* 8008ED54 0008BCB4 7C 9F 23 78 */ mr r31, r4 -/* 8008ED58 0008BCB8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8008ED5C 0008BCBC 41 82 01 8C */ beq lbl_8008EEE8 -/* 8008ED60 0008BCC0 80 1E 01 04 */ lwz r0, 0x104(r30) -/* 8008ED64 0008BCC4 28 00 00 00 */ cmplwi r0, 0 -/* 8008ED68 0008BCC8 41 82 00 84 */ beq lbl_8008EDEC -/* 8008ED6C 0008BCCC 38 61 00 84 */ addi r3, r1, 0x84 -/* 8008ED70 0008BCD0 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8008ED74 0008BCD4 48 28 3E 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008ED78 0008BCD8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8008ED7C 0008BCDC 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8008ED80 0008BCE0 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8008ED84 0008BCE4 38 81 00 84 */ addi r4, r1, 0x84 -/* 8008ED88 0008BCE8 C0 45 00 00 */ lfs f2, 0(r5) -/* 8008ED8C 0008BCEC C0 25 00 04 */ lfs f1, 4(r5) -/* 8008ED90 0008BCF0 C0 05 00 08 */ lfs f0, 8(r5) -/* 8008ED94 0008BCF4 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8008ED98 0008BCF8 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 8008ED9C 0008BCFC D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8008EDA0 0008BD00 48 28 3D D5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008EDA4 0008BD04 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 8008EDA8 0008BD08 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 8008EDAC 0008BD0C 81 83 00 00 */ lwz r12, 0(r3) -/* 8008EDB0 0008BD10 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8008EDB4 0008BD14 7D 89 03 A6 */ mtctr r12 -/* 8008EDB8 0008BD18 4E 80 04 21 */ bctrl -/* 8008EDBC 0008BD1C C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8008EDC0 0008BD20 38 81 00 48 */ addi r4, r1, 0x48 -/* 8008EDC4 0008BD24 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8008EDC8 0008BD28 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8008EDCC 0008BD2C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8008EDD0 0008BD30 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8008EDD4 0008BD34 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8008EDD8 0008BD38 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 8008EDDC 0008BD3C 81 83 00 00 */ lwz r12, 0(r3) -/* 8008EDE0 0008BD40 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8008EDE4 0008BD44 7D 89 03 A6 */ mtctr r12 -/* 8008EDE8 0008BD48 4E 80 04 21 */ bctrl -lbl_8008EDEC: -/* 8008EDEC 0008BD4C 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 8008EDF0 0008BD50 28 00 00 00 */ cmplwi r0, 0 -/* 8008EDF4 0008BD54 41 82 00 84 */ beq lbl_8008EE78 -/* 8008EDF8 0008BD58 38 61 00 54 */ addi r3, r1, 0x54 -/* 8008EDFC 0008BD5C 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8008EE00 0008BD60 48 28 3D 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008EE04 0008BD64 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8008EE08 0008BD68 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8008EE0C 0008BD6C 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8008EE10 0008BD70 38 81 00 54 */ addi r4, r1, 0x54 -/* 8008EE14 0008BD74 C0 45 00 00 */ lfs f2, 0(r5) -/* 8008EE18 0008BD78 C0 25 00 04 */ lfs f1, 4(r5) -/* 8008EE1C 0008BD7C C0 05 00 08 */ lfs f0, 8(r5) -/* 8008EE20 0008BD80 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 8008EE24 0008BD84 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 8008EE28 0008BD88 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8008EE2C 0008BD8C 48 28 3D 49 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008EE30 0008BD90 80 7E 00 F4 */ lwz r3, 0xf4(r30) -/* 8008EE34 0008BD94 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 8008EE38 0008BD98 81 83 00 00 */ lwz r12, 0(r3) -/* 8008EE3C 0008BD9C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8008EE40 0008BDA0 7D 89 03 A6 */ mtctr r12 -/* 8008EE44 0008BDA4 4E 80 04 21 */ bctrl -/* 8008EE48 0008BDA8 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8008EE4C 0008BDAC 38 81 00 3C */ addi r4, r1, 0x3c -/* 8008EE50 0008BDB0 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8008EE54 0008BDB4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8008EE58 0008BDB8 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8008EE5C 0008BDBC D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8008EE60 0008BDC0 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8008EE64 0008BDC4 80 7E 00 F4 */ lwz r3, 0xf4(r30) -/* 8008EE68 0008BDC8 81 83 00 00 */ lwz r12, 0(r3) -/* 8008EE6C 0008BDCC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8008EE70 0008BDD0 7D 89 03 A6 */ mtctr r12 -/* 8008EE74 0008BDD4 4E 80 04 21 */ bctrl -lbl_8008EE78: -/* 8008EE78 0008BDD8 A0 1E 01 08 */ lhz r0, 0x108(r30) -/* 8008EE7C 0008BDDC 7F E3 FB 78 */ mr r3, r31 -/* 8008EE80 0008BDE0 38 81 00 1C */ addi r4, r1, 0x1c -/* 8008EE84 0008BDE4 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8008EE88 0008BDE8 4B FB D6 ED */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8008EE8C 0008BDEC 7C 64 1B 78 */ mr r4, r3 -/* 8008EE90 0008BDF0 38 61 00 34 */ addi r3, r1, 0x34 -/* 8008EE94 0008BDF4 48 02 0D FD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8008EE98 0008BDF8 83 A3 00 04 */ lwz r29, 4(r3) -/* 8008EE9C 0008BDFC 28 1D 00 00 */ cmplwi r29, 0 -/* 8008EEA0 0008BE00 41 82 00 38 */ beq lbl_8008EED8 -/* 8008EEA4 0008BE04 38 7D 00 34 */ addi r3, r29, 0x34 -/* 8008EEA8 0008BE08 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8008EEAC 0008BE0C 48 28 3C 95 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8008EEB0 0008BE10 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8008EEB4 0008BE14 38 60 00 01 */ li r3, 1 -/* 8008EEB8 0008BE18 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8008EEBC 0008BE1C 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8008EEC0 0008BE20 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8008EEC4 0008BE24 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8008EEC8 0008BE28 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8008EECC 0008BE2C 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8008EED0 0008BE30 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8008EED4 0008BE34 98 1D 00 E4 */ stb r0, 0xe4(r29) -lbl_8008EED8: -/* 8008EED8 0008BE38 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8008EEDC 0008BE3C 38 60 00 00 */ li r3, 0 -/* 8008EEE0 0008BE40 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8008EEE4 0008BE44 98 1E 00 E4 */ stb r0, 0xe4(r30) -lbl_8008EEE8: -/* 8008EEE8 0008BE48 88 1E 01 10 */ lbz r0, 0x110(r30) -/* 8008EEEC 0008BE4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8008EEF0 0008BE50 40 82 00 1C */ bne lbl_8008EF0C -/* 8008EEF4 0008BE54 C0 3E 01 2C */ lfs f1, 0x12c(r30) -/* 8008EEF8 0008BE58 C0 02 8A C8 */ lfs f0, lbl_805AA7E8@sda21(r2) -/* 8008EEFC 0008BE5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008EF00 0008BE60 4C 40 13 82 */ cror 2, 0, 2 -/* 8008EF04 0008BE64 40 82 00 60 */ bne lbl_8008EF64 -/* 8008EF08 0008BE68 48 00 02 14 */ b lbl_8008F11C -lbl_8008EF0C: -/* 8008EF0C 0008BE6C 80 BE 00 04 */ lwz r5, 4(r30) -/* 8008EF10 0008BE70 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 8008EF14 0008BE74 54 A3 18 38 */ slwi r3, r5, 3 -/* 8008EF18 0008BE78 90 A1 00 24 */ stw r5, 0x24(r1) -/* 8008EF1C 0008BE7C 80 84 00 20 */ lwz r4, 0x20(r4) -/* 8008EF20 0008BE80 38 03 00 04 */ addi r0, r3, 4 -/* 8008EF24 0008BE84 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8008EF28 0008BE88 7C 64 00 2E */ lwzx r3, r4, r0 -/* 8008EF2C 0008BE8C 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 8008EF30 0008BE90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008EF34 0008BE94 41 82 00 10 */ beq lbl_8008EF44 -/* 8008EF38 0008BE98 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 8008EF3C 0008BE9C 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 8008EF40 0008BEA0 48 00 00 08 */ b lbl_8008EF48 -lbl_8008EF44: -/* 8008EF44 0008BEA4 38 00 00 00 */ li r0, 0 -lbl_8008EF48: -/* 8008EF48 0008BEA8 2C 00 00 00 */ cmpwi r0, 0 -/* 8008EF4C 0008BEAC 40 82 00 18 */ bne lbl_8008EF64 -/* 8008EF50 0008BEB0 C0 3E 01 2C */ lfs f1, 0x12c(r30) -/* 8008EF54 0008BEB4 C0 02 8A C8 */ lfs f0, lbl_805AA7E8@sda21(r2) -/* 8008EF58 0008BEB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008EF5C 0008BEBC 4C 40 13 82 */ cror 2, 0, 2 -/* 8008EF60 0008BEC0 41 82 01 BC */ beq lbl_8008F11C -lbl_8008EF64: -/* 8008EF64 0008BEC4 C0 1E 01 2C */ lfs f0, 0x12c(r30) -/* 8008EF68 0008BEC8 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8008EF6C 0008BECC D0 1E 01 2C */ stfs f0, 0x12c(r30) -/* 8008EF70 0008BED0 88 1E 01 10 */ lbz r0, 0x110(r30) -/* 8008EF74 0008BED4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008EF78 0008BED8 41 82 01 54 */ beq lbl_8008F0CC -/* 8008EF7C 0008BEDC 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 8008EF80 0008BEE0 28 03 00 00 */ cmplwi r3, 0 -/* 8008EF84 0008BEE4 41 82 00 2C */ beq lbl_8008EFB0 -/* 8008EF88 0008BEE8 81 83 00 00 */ lwz r12, 0(r3) -/* 8008EF8C 0008BEEC FC 20 F8 90 */ fmr f1, f31 -/* 8008EF90 0008BEF0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8008EF94 0008BEF4 7D 89 03 A6 */ mtctr r12 -/* 8008EF98 0008BEF8 4E 80 04 21 */ bctrl -/* 8008EF9C 0008BEFC 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 8008EFA0 0008BF00 48 28 8F 4D */ bl GetParticleCountAll__11CElementGenCFv -/* 8008EFA4 0008BF04 80 0D A2 9C */ lwz r0, lbl_805A8E5C@sda21(r13) -/* 8008EFA8 0008BF08 7C 00 1A 14 */ add r0, r0, r3 -/* 8008EFAC 0008BF0C 90 0D A2 9C */ stw r0, lbl_805A8E5C@sda21(r13) -lbl_8008EFB0: -/* 8008EFB0 0008BF10 80 7E 00 F4 */ lwz r3, 0xf4(r30) -/* 8008EFB4 0008BF14 28 03 00 00 */ cmplwi r3, 0 -/* 8008EFB8 0008BF18 41 82 00 38 */ beq lbl_8008EFF0 -/* 8008EFBC 0008BF1C 81 83 00 00 */ lwz r12, 0(r3) -/* 8008EFC0 0008BF20 FC 20 F8 90 */ fmr f1, f31 -/* 8008EFC4 0008BF24 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8008EFC8 0008BF28 7D 89 03 A6 */ mtctr r12 -/* 8008EFCC 0008BF2C 4E 80 04 21 */ bctrl -/* 8008EFD0 0008BF30 80 7E 00 F4 */ lwz r3, 0xf4(r30) -/* 8008EFD4 0008BF34 81 83 00 00 */ lwz r12, 0(r3) -/* 8008EFD8 0008BF38 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8008EFDC 0008BF3C 7D 89 03 A6 */ mtctr r12 -/* 8008EFE0 0008BF40 4E 80 04 21 */ bctrl -/* 8008EFE4 0008BF44 80 0D A2 9C */ lwz r0, lbl_805A8E5C@sda21(r13) -/* 8008EFE8 0008BF48 7C 00 1A 14 */ add r0, r0, r3 -/* 8008EFEC 0008BF4C 90 0D A2 9C */ stw r0, lbl_805A8E5C@sda21(r13) -lbl_8008EFF0: -/* 8008EFF0 0008BF50 A0 7E 01 08 */ lhz r3, 0x108(r30) -/* 8008EFF4 0008BF54 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008EFF8 0008BF58 7C 03 00 40 */ cmplw r3, r0 -/* 8008EFFC 0008BF5C 41 82 00 60 */ beq lbl_8008F05C -/* 8008F000 0008BF60 A0 1E 01 08 */ lhz r0, 0x108(r30) -/* 8008F004 0008BF64 7F E3 FB 78 */ mr r3, r31 -/* 8008F008 0008BF68 38 81 00 18 */ addi r4, r1, 0x18 -/* 8008F00C 0008BF6C B0 01 00 18 */ sth r0, 0x18(r1) -/* 8008F010 0008BF70 4B FB D5 65 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8008F014 0008BF74 7C 64 1B 78 */ mr r4, r3 -/* 8008F018 0008BF78 38 61 00 2C */ addi r3, r1, 0x2c -/* 8008F01C 0008BF7C 48 01 EA 69 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 8008F020 0008BF80 83 A3 00 04 */ lwz r29, 4(r3) -/* 8008F024 0008BF84 28 1D 00 00 */ cmplwi r29, 0 -/* 8008F028 0008BF88 41 82 00 34 */ beq lbl_8008F05C -/* 8008F02C 0008BF8C 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 8008F030 0008BF90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008F034 0008BF94 41 82 00 28 */ beq lbl_8008F05C -/* 8008F038 0008BF98 80 9E 01 04 */ lwz r4, 0x104(r30) -/* 8008F03C 0008BF9C 38 61 01 14 */ addi r3, r1, 0x114 -/* 8008F040 0008BFA0 81 84 00 00 */ lwz r12, 0(r4) -/* 8008F044 0008BFA4 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8008F048 0008BFA8 7D 89 03 A6 */ mtctr r12 -/* 8008F04C 0008BFAC 4E 80 04 21 */ bctrl -/* 8008F050 0008BFB0 7F A3 EB 78 */ mr r3, r29 -/* 8008F054 0008BFB4 38 81 01 14 */ addi r4, r1, 0x114 -/* 8008F058 0008BFB8 48 02 66 ED */ bl SetLight__10CGameLightFRC6CLight -lbl_8008F05C: -/* 8008F05C 0008BFBC 88 1E 01 11 */ lbz r0, 0x111(r30) -/* 8008F060 0008BFC0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8008F064 0008BFC4 41 82 00 68 */ beq lbl_8008F0CC -/* 8008F068 0008BFC8 C0 3E 01 40 */ lfs f1, 0x140(r30) -/* 8008F06C 0008BFCC C0 02 8A D8 */ lfs f0, lbl_805AA7F8@sda21(r2) -/* 8008F070 0008BFD0 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8008F074 0008BFD4 D0 3E 01 40 */ stfs f1, 0x140(r30) -/* 8008F078 0008BFD8 C0 3E 01 40 */ lfs f1, 0x140(r30) -/* 8008F07C 0008BFDC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8008F080 0008BFE0 40 81 00 20 */ ble lbl_8008F0A0 -/* 8008F084 0008BFE4 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8008F088 0008BFE8 7F E3 FB 78 */ mr r3, r31 -/* 8008F08C 0008BFEC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8008F090 0008BFF0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8008F094 0008BFF4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8008F098 0008BFF8 4B FB D1 D5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8008F09C 0008BFFC 48 00 00 80 */ b lbl_8008F11C -lbl_8008F0A0: -/* 8008F0A0 0008C000 7F C3 F3 78 */ mr r3, r30 -/* 8008F0A4 0008C004 4B FF EE 81 */ bl sub_8008df24 -/* 8008F0A8 0008C008 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008F0AC 0008C00C 41 82 00 20 */ beq lbl_8008F0CC -/* 8008F0B0 0008C010 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8008F0B4 0008C014 7F E3 FB 78 */ mr r3, r31 -/* 8008F0B8 0008C018 38 81 00 0C */ addi r4, r1, 0xc -/* 8008F0BC 0008C01C B0 01 00 08 */ sth r0, 8(r1) -/* 8008F0C0 0008C020 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8008F0C4 0008C024 4B FB D1 A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8008F0C8 0008C028 48 00 00 54 */ b lbl_8008F11C -lbl_8008F0CC: -/* 8008F0CC 0008C02C 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 8008F0D0 0008C030 28 03 00 00 */ cmplwi r3, 0 -/* 8008F0D4 0008C034 41 82 00 48 */ beq lbl_8008F11C -/* 8008F0D8 0008C038 88 1E 00 B4 */ lbz r0, 0xb4(r30) -/* 8008F0DC 0008C03C 7C 00 07 75 */ extsb. r0, r0 -/* 8008F0E0 0008C040 41 82 00 1C */ beq lbl_8008F0FC -/* 8008F0E4 0008C044 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F0E8 0008C048 38 9E 00 B8 */ addi r4, r30, 0xb8 -/* 8008F0EC 0008C04C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8008F0F0 0008C050 7D 89 03 A6 */ mtctr r12 -/* 8008F0F4 0008C054 4E 80 04 21 */ bctrl -/* 8008F0F8 0008C058 48 00 00 24 */ b lbl_8008F11C -lbl_8008F0FC: -/* 8008F0FC 0008C05C 38 00 FF FF */ li r0, -1 -/* 8008F100 0008C060 38 81 00 20 */ addi r4, r1, 0x20 -/* 8008F104 0008C064 90 01 00 20 */ stw r0, 0x20(r1) -/* 8008F108 0008C068 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 8008F10C 0008C06C 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F110 0008C070 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8008F114 0008C074 7D 89 03 A6 */ mtctr r12 -/* 8008F118 0008C078 4E 80 04 21 */ bctrl -lbl_8008F11C: -/* 8008F11C 0008C07C E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 -/* 8008F120 0008C080 80 01 01 94 */ lwz r0, 0x194(r1) -/* 8008F124 0008C084 CB E1 01 80 */ lfd f31, 0x180(r1) -/* 8008F128 0008C088 83 E1 01 7C */ lwz r31, 0x17c(r1) -/* 8008F12C 0008C08C 83 C1 01 78 */ lwz r30, 0x178(r1) -/* 8008F130 0008C090 83 A1 01 74 */ lwz r29, 0x174(r1) -/* 8008F134 0008C094 7C 08 03 A6 */ mtlr r0 -/* 8008F138 0008C098 38 21 01 90 */ addi r1, r1, 0x190 -/* 8008F13C 0008C09C 4E 80 00 20 */ blr - -.global "__ct__13CScriptEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fUiUibbbbbffff" -"__ct__13CScriptEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fUiUibbbbbffff": -/* 8008F140 0008C0A0 94 21 FC D0 */ stwu r1, -0x330(r1) -/* 8008F144 0008C0A4 7C 08 02 A6 */ mflr r0 -/* 8008F148 0008C0A8 90 01 03 34 */ stw r0, 0x334(r1) -/* 8008F14C 0008C0AC DB E1 03 20 */ stfd f31, 0x320(r1) -/* 8008F150 0008C0B0 F3 E1 03 28 */ psq_st f31, 808(r1), 0, qr0 -/* 8008F154 0008C0B4 DB C1 03 10 */ stfd f30, 0x310(r1) -/* 8008F158 0008C0B8 F3 C1 03 18 */ psq_st f30, 792(r1), 0, qr0 -/* 8008F15C 0008C0BC DB A1 03 00 */ stfd f29, 0x300(r1) -/* 8008F160 0008C0C0 F3 A1 03 08 */ psq_st f29, 776(r1), 0, qr0 -/* 8008F164 0008C0C4 DB 81 02 F0 */ stfd f28, 0x2f0(r1) -/* 8008F168 0008C0C8 F3 81 02 F8 */ psq_st f28, 760(r1), 0, qr0 -/* 8008F16C 0008C0CC DB 61 02 E0 */ stfd f27, 0x2e0(r1) -/* 8008F170 0008C0D0 F3 61 02 E8 */ psq_st f27, 744(r1), 0, qr0 -/* 8008F174 0008C0D4 DB 41 02 D0 */ stfd f26, 0x2d0(r1) -/* 8008F178 0008C0D8 F3 41 02 D8 */ psq_st f26, 728(r1), 0, qr0 -/* 8008F17C 0008C0DC DB 21 02 C0 */ stfd f25, 0x2c0(r1) -/* 8008F180 0008C0E0 F3 21 02 C8 */ psq_st f25, 712(r1), 0, qr0 -/* 8008F184 0008C0E4 BD C1 02 78 */ stmw r14, 0x278(r1) -/* 8008F188 0008C0E8 FF 20 08 90 */ fmr f25, f1 -/* 8008F18C 0008C0EC 7C 6F 1B 78 */ mr r15, r3 -/* 8008F190 0008C0F0 FF 40 10 90 */ fmr f26, f2 -/* 8008F194 0008C0F4 8A E1 03 3B */ lbz r23, 0x33b(r1) -/* 8008F198 0008C0F8 FF 60 18 90 */ fmr f27, f3 -/* 8008F19C 0008C0FC 8B 01 03 3F */ lbz r24, 0x33f(r1) -/* 8008F1A0 0008C100 FF 80 20 90 */ fmr f28, f4 -/* 8008F1A4 0008C104 8B 21 03 43 */ lbz r25, 0x343(r1) -/* 8008F1A8 0008C108 FF A0 28 90 */ fmr f29, f5 -/* 8008F1AC 0008C10C 8B 41 03 47 */ lbz r26, 0x347(r1) -/* 8008F1B0 0008C110 FF C0 30 90 */ fmr f30, f6 -/* 8008F1B4 0008C114 8B 61 03 4B */ lbz r27, 0x34b(r1) -/* 8008F1B8 0008C118 FF E0 38 90 */ fmr f31, f7 -/* 8008F1BC 0008C11C 8B 81 03 53 */ lbz r28, 0x353(r1) -/* 8008F1C0 0008C120 8B A1 03 57 */ lbz r29, 0x357(r1) -/* 8008F1C4 0008C124 7C 90 23 78 */ mr r16, r4 -/* 8008F1C8 0008C128 8B C1 03 5B */ lbz r30, 0x35b(r1) -/* 8008F1CC 0008C12C 7C B1 2B 78 */ mr r17, r5 -/* 8008F1D0 0008C130 83 E1 03 5C */ lwz r31, 0x35c(r1) -/* 8008F1D4 0008C134 7C D2 33 78 */ mr r18, r6 -/* 8008F1D8 0008C138 89 C1 03 63 */ lbz r14, 0x363(r1) -/* 8008F1DC 0008C13C 7C F3 3B 78 */ mr r19, r7 -/* 8008F1E0 0008C140 7D 14 43 78 */ mr r20, r8 -/* 8008F1E4 0008C144 7D 35 4B 78 */ mr r21, r9 -/* 8008F1E8 0008C148 7D 56 53 78 */ mr r22, r10 -/* 8008F1EC 0008C14C 38 61 02 28 */ addi r3, r1, 0x228 -/* 8008F1F0 0008C150 4B FA B5 B5 */ bl CModelDataNull__10CModelDataFv -/* 8008F1F4 0008C154 38 61 01 C0 */ addi r3, r1, 0x1c0 -/* 8008F1F8 0008C158 4B F8 BC 41 */ bl None__16CActorParametersFv -/* 8008F1FC 0008C15C 7E E5 BB 78 */ mr r5, r23 -/* 8008F200 0008C160 38 61 01 58 */ addi r3, r1, 0x158 -/* 8008F204 0008C164 38 81 01 C0 */ addi r4, r1, 0x1c0 -/* 8008F208 0008C168 48 07 76 05 */ bl sub_8010680c -/* 8008F20C 0008C16C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8008F210 0008C170 38 00 00 00 */ li r0, 0 -/* 8008F214 0008C174 80 AD 85 50 */ lwz r5, lbl_805A7110@sda21(r13) -/* 8008F218 0008C178 38 60 00 00 */ li r3, 0 -/* 8008F21C 0008C17C B0 81 00 10 */ sth r4, 0x10(r1) -/* 8008F220 0008C180 38 80 00 01 */ li r4, 1 -/* 8008F224 0008C184 90 01 00 64 */ stw r0, 0x64(r1) -/* 8008F228 0008C188 90 01 00 60 */ stw r0, 0x60(r1) -/* 8008F22C 0008C18C 48 2F AC C9 */ bl __shl2i -/* 8008F230 0008C190 80 A1 00 60 */ lwz r5, 0x60(r1) -/* 8008F234 0008C194 39 61 01 58 */ addi r11, r1, 0x158 -/* 8008F238 0008C198 80 C1 00 64 */ lwz r6, 0x64(r1) -/* 8008F23C 0008C19C 38 01 00 10 */ addi r0, r1, 0x10 -/* 8008F240 0008C1A0 7C A3 1B 78 */ or r3, r5, r3 -/* 8008F244 0008C1A4 A1 30 00 00 */ lhz r9, 0(r16) -/* 8008F248 0008C1A8 7C C4 23 78 */ or r4, r6, r4 -/* 8008F24C 0008C1AC 90 61 00 60 */ stw r3, 0x60(r1) -/* 8008F250 0008C1B0 7D E3 7B 78 */ mr r3, r15 -/* 8008F254 0008C1B4 7F 45 D3 78 */ mr r5, r26 -/* 8008F258 0008C1B8 90 81 00 64 */ stw r4, 0x64(r1) -/* 8008F25C 0008C1BC 7E 26 8B 78 */ mr r6, r17 -/* 8008F260 0008C1C0 7E 47 93 78 */ mr r7, r18 -/* 8008F264 0008C1C4 7E 68 9B 78 */ mr r8, r19 -/* 8008F268 0008C1C8 B1 21 00 14 */ sth r9, 0x14(r1) -/* 8008F26C 0008C1CC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8008F270 0008C1D0 39 21 02 28 */ addi r9, r1, 0x228 -/* 8008F274 0008C1D4 39 41 00 60 */ addi r10, r1, 0x60 -/* 8008F278 0008C1D8 91 61 00 08 */ stw r11, 8(r1) -/* 8008F27C 0008C1DC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8008F280 0008C1E0 4B FC 65 A1 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8008F284 0008C1E4 38 61 01 58 */ addi r3, r1, 0x158 -/* 8008F288 0008C1E8 38 80 FF FF */ li r4, -1 -/* 8008F28C 0008C1EC 48 07 73 7D */ bl __dt__16CActorParametersFv -/* 8008F290 0008C1F0 38 61 01 C0 */ addi r3, r1, 0x1c0 -/* 8008F294 0008C1F4 38 80 FF FF */ li r4, -1 -/* 8008F298 0008C1F8 48 07 73 71 */ bl __dt__16CActorParametersFv -/* 8008F29C 0008C1FC 38 61 02 28 */ addi r3, r1, 0x228 -/* 8008F2A0 0008C200 38 80 FF FF */ li r4, -1 -/* 8008F2A4 0008C204 48 08 77 A9 */ bl __dt__10CModelDataFv -/* 8008F2A8 0008C208 3C 60 80 3E */ lis r3, lbl_803DAC38@ha -/* 8008F2AC 0008C20C 3A 0F 00 E8 */ addi r16, r15, 0xe8 -/* 8008F2B0 0008C210 38 03 AC 38 */ addi r0, r3, lbl_803DAC38@l -/* 8008F2B4 0008C214 38 80 00 00 */ li r4, 0 -/* 8008F2B8 0008C218 90 0F 00 00 */ stw r0, 0(r15) -/* 8008F2BC 0008C21C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8008F2C0 0008C220 48 00 07 A1 */ bl "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FP20CElectricDescription" -/* 8008F2C4 0008C224 38 00 00 00 */ li r0, 0 -/* 8008F2C8 0008C228 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8008F2CC 0008C22C 98 01 00 20 */ stb r0, 0x20(r1) -/* 8008F2D0 0008C230 7E 03 83 78 */ mr r3, r16 -/* 8008F2D4 0008C234 48 2B 1C 31 */ bl __ct__6CTokenFP4IObj -/* 8008F2D8 0008C238 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8008F2DC 0008C23C 28 00 00 00 */ cmplwi r0, 0 -/* 8008F2E0 0008C240 41 82 00 24 */ beq lbl_8008F304 -/* 8008F2E4 0008C244 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8008F2E8 0008C248 28 03 00 00 */ cmplwi r3, 0 -/* 8008F2EC 0008C24C 41 82 00 18 */ beq lbl_8008F304 -/* 8008F2F0 0008C250 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F2F4 0008C254 38 80 00 01 */ li r4, 1 -/* 8008F2F8 0008C258 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008F2FC 0008C25C 7D 89 03 A6 */ mtctr r12 -/* 8008F300 0008C260 4E 80 04 21 */ bctrl -lbl_8008F304: -/* 8008F304 0008C264 38 00 00 00 */ li r0, 0 -/* 8008F308 0008C268 7E 03 83 78 */ mr r3, r16 -/* 8008F30C 0008C26C 90 10 00 08 */ stw r0, 8(r16) -/* 8008F310 0008C270 48 2B 1A 75 */ bl Lock__6CTokenFv -/* 8008F314 0008C274 38 00 00 00 */ li r0, 0 -/* 8008F318 0008C278 3A 0F 00 F8 */ addi r16, r15, 0xf8 -/* 8008F31C 0008C27C 90 0F 00 F4 */ stw r0, 0xf4(r15) -/* 8008F320 0008C280 38 61 00 18 */ addi r3, r1, 0x18 -/* 8008F324 0008C284 38 80 00 00 */ li r4, 0 -/* 8008F328 0008C288 48 00 06 19 */ bl "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FP15CGenDescription" -/* 8008F32C 0008C28C 38 00 00 00 */ li r0, 0 -/* 8008F330 0008C290 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8008F334 0008C294 98 01 00 18 */ stb r0, 0x18(r1) -/* 8008F338 0008C298 7E 03 83 78 */ mr r3, r16 -/* 8008F33C 0008C29C 48 2B 1B C9 */ bl __ct__6CTokenFP4IObj -/* 8008F340 0008C2A0 88 01 00 18 */ lbz r0, 0x18(r1) -/* 8008F344 0008C2A4 28 00 00 00 */ cmplwi r0, 0 -/* 8008F348 0008C2A8 41 82 00 24 */ beq lbl_8008F36C -/* 8008F34C 0008C2AC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8008F350 0008C2B0 28 03 00 00 */ cmplwi r3, 0 -/* 8008F354 0008C2B4 41 82 00 18 */ beq lbl_8008F36C -/* 8008F358 0008C2B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F35C 0008C2BC 38 80 00 01 */ li r4, 1 -/* 8008F360 0008C2C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008F364 0008C2C4 7D 89 03 A6 */ mtctr r12 -/* 8008F368 0008C2C8 4E 80 04 21 */ bctrl -lbl_8008F36C: -/* 8008F36C 0008C2CC 38 00 00 00 */ li r0, 0 -/* 8008F370 0008C2D0 7E 03 83 78 */ mr r3, r16 -/* 8008F374 0008C2D4 90 10 00 08 */ stw r0, 8(r16) -/* 8008F378 0008C2D8 48 2B 1A 0D */ bl Lock__6CTokenFv -/* 8008F37C 0008C2DC 38 60 00 00 */ li r3, 0 -/* 8008F380 0008C2E0 28 1E 00 00 */ cmplwi r30, 0 -/* 8008F384 0008C2E4 90 6F 01 04 */ stw r3, 0x104(r15) -/* 8008F388 0008C2E8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008F38C 0008C2EC B0 0F 01 08 */ sth r0, 0x108(r15) -/* 8008F390 0008C2F0 92 AF 01 0C */ stw r21, 0x10c(r15) -/* 8008F394 0008C2F4 88 0F 01 10 */ lbz r0, 0x110(r15) -/* 8008F398 0008C2F8 53 40 3E 30 */ rlwimi r0, r26, 7, 0x18, 0x18 -/* 8008F39C 0008C2FC 98 0F 01 10 */ stb r0, 0x110(r15) -/* 8008F3A0 0008C300 88 0F 01 10 */ lbz r0, 0x110(r15) -/* 8008F3A4 0008C304 53 00 36 72 */ rlwimi r0, r24, 6, 0x19, 0x19 -/* 8008F3A8 0008C308 98 0F 01 10 */ stb r0, 0x110(r15) -/* 8008F3AC 0008C30C 88 0F 01 10 */ lbz r0, 0x110(r15) -/* 8008F3B0 0008C310 53 20 2E B4 */ rlwimi r0, r25, 5, 0x1a, 0x1a -/* 8008F3B4 0008C314 98 0F 01 10 */ stb r0, 0x110(r15) -/* 8008F3B8 0008C318 88 0F 01 10 */ lbz r0, 0x110(r15) -/* 8008F3BC 0008C31C 53 60 26 F6 */ rlwimi r0, r27, 4, 0x1b, 0x1b -/* 8008F3C0 0008C320 98 0F 01 10 */ stb r0, 0x110(r15) -/* 8008F3C4 0008C324 88 0F 01 10 */ lbz r0, 0x110(r15) -/* 8008F3C8 0008C328 53 80 1F 38 */ rlwimi r0, r28, 3, 0x1c, 0x1c -/* 8008F3CC 0008C32C 98 0F 01 10 */ stb r0, 0x110(r15) -/* 8008F3D0 0008C330 88 0F 01 10 */ lbz r0, 0x110(r15) -/* 8008F3D4 0008C334 53 A0 17 7A */ rlwimi r0, r29, 2, 0x1d, 0x1d -/* 8008F3D8 0008C338 98 0F 01 10 */ stb r0, 0x110(r15) -/* 8008F3DC 0008C33C 88 0F 01 10 */ lbz r0, 0x110(r15) -/* 8008F3E0 0008C340 53 C0 0F BC */ rlwimi r0, r30, 1, 0x1e, 0x1e -/* 8008F3E4 0008C344 98 0F 01 10 */ stb r0, 0x110(r15) -/* 8008F3E8 0008C348 41 82 00 18 */ beq lbl_8008F400 -/* 8008F3EC 0008C34C 28 1D 00 00 */ cmplwi r29, 0 -/* 8008F3F0 0008C350 41 82 00 10 */ beq lbl_8008F400 -/* 8008F3F4 0008C354 28 1C 00 00 */ cmplwi r28, 0 -/* 8008F3F8 0008C358 41 82 00 08 */ beq lbl_8008F400 -/* 8008F3FC 0008C35C 38 60 00 01 */ li r3, 1 -lbl_8008F400: -/* 8008F400 0008C360 88 0F 01 10 */ lbz r0, 0x110(r15) -/* 8008F404 0008C364 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8008F408 0008C368 38 A0 00 00 */ li r5, 0 -/* 8008F40C 0008C36C EC 19 06 72 */ fmuls f0, f25, f25 -/* 8008F410 0008C370 98 0F 01 10 */ stb r0, 0x110(r15) -/* 8008F414 0008C374 7F E4 FB 78 */ mr r4, r31 -/* 8008F418 0008C378 88 01 03 4F */ lbz r0, 0x34f(r1) -/* 8008F41C 0008C37C 38 61 00 58 */ addi r3, r1, 0x58 -/* 8008F420 0008C380 88 CF 01 11 */ lbz r6, 0x111(r15) -/* 8008F424 0008C384 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 -/* 8008F428 0008C388 98 CF 01 11 */ stb r6, 0x111(r15) -/* 8008F42C 0008C38C 88 0F 01 11 */ lbz r0, 0x111(r15) -/* 8008F430 0008C390 51 C0 36 72 */ rlwimi r0, r14, 6, 0x19, 0x19 -/* 8008F434 0008C394 98 0F 01 11 */ stb r0, 0x111(r15) -/* 8008F438 0008C398 88 0F 01 11 */ lbz r0, 0x111(r15) -/* 8008F43C 0008C39C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 8008F440 0008C3A0 98 0F 01 11 */ stb r0, 0x111(r15) -/* 8008F444 0008C3A4 D3 2F 01 14 */ stfs f25, 0x114(r15) -/* 8008F448 0008C3A8 D0 0F 01 18 */ stfs f0, 0x118(r15) -/* 8008F44C 0008C3AC D3 4F 01 1C */ stfs f26, 0x11c(r15) -/* 8008F450 0008C3B0 D3 AF 01 20 */ stfs f29, 0x120(r15) -/* 8008F454 0008C3B4 D3 CF 01 24 */ stfs f30, 0x124(r15) -/* 8008F458 0008C3B8 D3 EF 01 28 */ stfs f31, 0x128(r15) -/* 8008F45C 0008C3BC D3 6F 01 2C */ stfs f27, 0x12c(r15) -/* 8008F460 0008C3C0 D3 6F 01 30 */ stfs f27, 0x130(r15) -/* 8008F464 0008C3C4 D3 8F 01 34 */ stfs f28, 0x134(r15) -/* 8008F468 0008C3C8 48 07 6F A9 */ bl MakeActorLights__16CLightParametersCFv -/* 8008F46C 0008C3CC 38 00 00 00 */ li r0, 0 -/* 8008F470 0008C3D0 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8008F474 0008C3D4 98 01 00 58 */ stb r0, 0x58(r1) -/* 8008F478 0008C3D8 90 6F 01 38 */ stw r3, 0x138(r15) -/* 8008F47C 0008C3DC 88 01 00 58 */ lbz r0, 0x58(r1) -/* 8008F480 0008C3E0 28 00 00 00 */ cmplwi r0, 0 -/* 8008F484 0008C3E4 41 82 00 10 */ beq lbl_8008F494 -/* 8008F488 0008C3E8 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8008F48C 0008C3EC 38 80 00 01 */ li r4, 1 -/* 8008F490 0008C3F0 48 07 5C 45 */ bl __dt__12CActorLightsFv -lbl_8008F494: -/* 8008F494 0008C3F4 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 8008F498 0008C3F8 3C 15 00 01 */ addis r0, r21, 1 -/* 8008F49C 0008C3FC C0 02 8A C8 */ lfs f0, lbl_805AA7E8@sda21(r2) -/* 8008F4A0 0008C400 28 00 FF FF */ cmplwi r0, 0xffff -/* 8008F4A4 0008C404 B0 6F 01 3C */ sth r3, 0x13c(r15) -/* 8008F4A8 0008C408 D0 0F 01 40 */ stfs f0, 0x140(r15) -/* 8008F4AC 0008C40C 41 82 01 E0 */ beq lbl_8008F68C -/* 8008F4B0 0008C410 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8008F4B4 0008C414 92 A1 00 54 */ stw r21, 0x54(r1) -/* 8008F4B8 0008C418 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8008F4BC 0008C41C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8008F4C0 0008C420 90 01 00 50 */ stw r0, 0x50(r1) -/* 8008F4C4 0008C424 38 61 00 48 */ addi r3, r1, 0x48 -/* 8008F4C8 0008C428 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8008F4CC 0008C42C 81 84 00 00 */ lwz r12, 0(r4) -/* 8008F4D0 0008C430 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8008F4D4 0008C434 7D 89 03 A6 */ mtctr r12 -/* 8008F4D8 0008C438 4E 80 04 21 */ bctrl -/* 8008F4DC 0008C43C 39 C1 00 8C */ addi r14, r1, 0x8c -/* 8008F4E0 0008C440 38 81 00 48 */ addi r4, r1, 0x48 -/* 8008F4E4 0008C444 7D C3 73 78 */ mr r3, r14 -/* 8008F4E8 0008C448 48 2B 19 C1 */ bl __ct__6CTokenFRC6CToken -/* 8008F4EC 0008C44C 7D C3 73 78 */ mr r3, r14 -/* 8008F4F0 0008C450 48 2B 19 1D */ bl GetObj__6CTokenFv -/* 8008F4F4 0008C454 80 03 00 04 */ lwz r0, 4(r3) -/* 8008F4F8 0008C458 38 6F 00 F8 */ addi r3, r15, 0xf8 -/* 8008F4FC 0008C45C 7D C4 73 78 */ mr r4, r14 -/* 8008F500 0008C460 90 01 00 94 */ stw r0, 0x94(r1) -/* 8008F504 0008C464 48 2B 17 C1 */ bl __as__6CTokenFRC6CToken -/* 8008F508 0008C468 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8008F50C 0008C46C 7D C3 73 78 */ mr r3, r14 -/* 8008F510 0008C470 38 80 00 00 */ li r4, 0 -/* 8008F514 0008C474 90 0F 01 00 */ stw r0, 0x100(r15) -/* 8008F518 0008C478 48 2B 19 29 */ bl __dt__6CTokenFv -/* 8008F51C 0008C47C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8008F520 0008C480 38 80 FF FF */ li r4, -1 -/* 8008F524 0008C484 48 2B 19 1D */ bl __dt__6CTokenFv -/* 8008F528 0008C488 3C 60 80 3D */ lis r3, lbl_803CD690@ha -/* 8008F52C 0008C48C 3A 00 00 00 */ li r16, 0 -/* 8008F530 0008C490 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l -/* 8008F534 0008C494 38 A0 00 00 */ li r5, 0 -/* 8008F538 0008C498 38 60 03 40 */ li r3, 0x340 -/* 8008F53C 0008C49C 48 28 63 31 */ bl __nw__FUlPCcPCc -/* 8008F540 0008C4A0 7C 6E 1B 79 */ or. r14, r3, r3 -/* 8008F544 0008C4A4 41 82 00 2C */ beq lbl_8008F570 -/* 8008F548 0008C4A8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8008F54C 0008C4AC 38 8F 00 F8 */ addi r4, r15, 0xf8 -/* 8008F550 0008C4B0 48 2B 19 59 */ bl __ct__6CTokenFRC6CToken -/* 8008F554 0008C4B4 7D C3 73 78 */ mr r3, r14 -/* 8008F558 0008C4B8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8008F55C 0008C4BC 3A 00 00 01 */ li r16, 1 -/* 8008F560 0008C4C0 38 A0 00 00 */ li r5, 0 -/* 8008F564 0008C4C4 38 C0 00 01 */ li r6, 1 -/* 8008F568 0008C4C8 48 28 FE 79 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8008F56C 0008C4CC 7C 6E 1B 78 */ mr r14, r3 -lbl_8008F570: -/* 8008F570 0008C4D0 80 6F 01 04 */ lwz r3, 0x104(r15) -/* 8008F574 0008C4D4 28 03 00 00 */ cmplwi r3, 0 -/* 8008F578 0008C4D8 41 82 00 18 */ beq lbl_8008F590 -/* 8008F57C 0008C4DC 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F580 0008C4E0 38 80 00 01 */ li r4, 1 -/* 8008F584 0008C4E4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008F588 0008C4E8 7D 89 03 A6 */ mtctr r12 -/* 8008F58C 0008C4EC 4E 80 04 21 */ bctrl -lbl_8008F590: -/* 8008F590 0008C4F0 7E 00 07 75 */ extsb. r0, r16 -/* 8008F594 0008C4F4 91 CF 01 04 */ stw r14, 0x104(r15) -/* 8008F598 0008C4F8 41 82 00 10 */ beq lbl_8008F5A8 -/* 8008F59C 0008C4FC 38 61 00 40 */ addi r3, r1, 0x40 -/* 8008F5A0 0008C500 38 80 00 00 */ li r4, 0 -/* 8008F5A4 0008C504 48 2B 18 9D */ bl __dt__6CTokenFv -lbl_8008F5A8: -/* 8008F5A8 0008C508 7E 64 9B 78 */ mr r4, r19 -/* 8008F5AC 0008C50C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8008F5B0 0008C510 48 28 35 C5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008F5B4 0008C514 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8008F5B8 0008C518 38 61 01 28 */ addi r3, r1, 0x128 -/* 8008F5BC 0008C51C 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8008F5C0 0008C520 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8008F5C4 0008C524 C0 45 00 00 */ lfs f2, 0(r5) -/* 8008F5C8 0008C528 C0 25 00 04 */ lfs f1, 4(r5) -/* 8008F5CC 0008C52C C0 05 00 08 */ lfs f0, 8(r5) -/* 8008F5D0 0008C530 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 8008F5D4 0008C534 D0 21 00 E4 */ stfs f1, 0xe4(r1) -/* 8008F5D8 0008C538 D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 8008F5DC 0008C53C 48 28 35 99 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008F5E0 0008C540 80 6F 01 04 */ lwz r3, 0x104(r15) -/* 8008F5E4 0008C544 38 81 01 28 */ addi r4, r1, 0x128 -/* 8008F5E8 0008C548 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F5EC 0008C54C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8008F5F0 0008C550 7D 89 03 A6 */ mtctr r12 -/* 8008F5F4 0008C554 4E 80 04 21 */ bctrl -/* 8008F5F8 0008C558 C0 53 00 2C */ lfs f2, 0x2c(r19) -/* 8008F5FC 0008C55C 38 81 00 80 */ addi r4, r1, 0x80 -/* 8008F600 0008C560 C0 33 00 1C */ lfs f1, 0x1c(r19) -/* 8008F604 0008C564 C0 13 00 0C */ lfs f0, 0xc(r19) -/* 8008F608 0008C568 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 8008F60C 0008C56C D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8008F610 0008C570 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 8008F614 0008C574 80 6F 01 04 */ lwz r3, 0x104(r15) -/* 8008F618 0008C578 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F61C 0008C57C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8008F620 0008C580 7D 89 03 A6 */ mtctr r12 -/* 8008F624 0008C584 4E 80 04 21 */ bctrl -/* 8008F628 0008C588 80 6F 01 04 */ lwz r3, 0x104(r15) -/* 8008F62C 0008C58C 7E 84 A3 78 */ mr r4, r20 -/* 8008F630 0008C590 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F634 0008C594 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8008F638 0008C598 7D 89 03 A6 */ mtctr r12 -/* 8008F63C 0008C59C 4E 80 04 21 */ bctrl -/* 8008F640 0008C5A0 80 6F 01 04 */ lwz r3, 0x104(r15) -/* 8008F644 0008C5A4 7F 44 D3 78 */ mr r4, r26 -/* 8008F648 0008C5A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F64C 0008C5AC 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8008F650 0008C5B0 7D 89 03 A6 */ mtctr r12 -/* 8008F654 0008C5B4 4E 80 04 21 */ bctrl -/* 8008F658 0008C5B8 80 6F 01 04 */ lwz r3, 0x104(r15) -/* 8008F65C 0008C5BC 38 9F 00 18 */ addi r4, r31, 0x18 -/* 8008F660 0008C5C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F664 0008C5C4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8008F668 0008C5C8 7D 89 03 A6 */ mtctr r12 -/* 8008F66C 0008C5CC 4E 80 04 21 */ bctrl -/* 8008F670 0008C5D0 80 6F 01 38 */ lwz r3, 0x138(r15) -/* 8008F674 0008C5D4 80 8F 01 04 */ lwz r4, 0x104(r15) -/* 8008F678 0008C5D8 7C 03 00 D0 */ neg r0, r3 -/* 8008F67C 0008C5DC 7C 03 1B 78 */ or r3, r0, r3 -/* 8008F680 0008C5E0 88 04 02 6D */ lbz r0, 0x26d(r4) -/* 8008F684 0008C5E4 50 60 36 B4 */ rlwimi r0, r3, 6, 0x1a, 0x1a -/* 8008F688 0008C5E8 98 04 02 6D */ stb r0, 0x26d(r4) -lbl_8008F68C: -/* 8008F68C 0008C5EC 3C 16 00 01 */ addis r0, r22, 1 -/* 8008F690 0008C5F0 28 00 FF FF */ cmplwi r0, 0xffff -/* 8008F694 0008C5F4 41 82 01 BC */ beq lbl_8008F850 -/* 8008F698 0008C5F8 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 8008F69C 0008C5FC 92 C1 00 3C */ stw r22, 0x3c(r1) -/* 8008F6A0 0008C600 38 03 53 43 */ addi r0, r3, 0x454C5343@l -/* 8008F6A4 0008C604 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8008F6A8 0008C608 90 01 00 38 */ stw r0, 0x38(r1) -/* 8008F6AC 0008C60C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8008F6B0 0008C610 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8008F6B4 0008C614 81 84 00 00 */ lwz r12, 0(r4) -/* 8008F6B8 0008C618 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8008F6BC 0008C61C 7D 89 03 A6 */ mtctr r12 -/* 8008F6C0 0008C620 4E 80 04 21 */ bctrl -/* 8008F6C4 0008C624 39 C1 00 74 */ addi r14, r1, 0x74 -/* 8008F6C8 0008C628 38 81 00 30 */ addi r4, r1, 0x30 -/* 8008F6CC 0008C62C 7D C3 73 78 */ mr r3, r14 -/* 8008F6D0 0008C630 48 2B 17 D9 */ bl __ct__6CTokenFRC6CToken -/* 8008F6D4 0008C634 7D C3 73 78 */ mr r3, r14 -/* 8008F6D8 0008C638 48 2B 17 35 */ bl GetObj__6CTokenFv -/* 8008F6DC 0008C63C 80 03 00 04 */ lwz r0, 4(r3) -/* 8008F6E0 0008C640 38 6F 00 E8 */ addi r3, r15, 0xe8 -/* 8008F6E4 0008C644 7D C4 73 78 */ mr r4, r14 -/* 8008F6E8 0008C648 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8008F6EC 0008C64C 48 2B 15 D9 */ bl __as__6CTokenFRC6CToken -/* 8008F6F0 0008C650 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 8008F6F4 0008C654 7D C3 73 78 */ mr r3, r14 -/* 8008F6F8 0008C658 38 80 00 00 */ li r4, 0 -/* 8008F6FC 0008C65C 90 0F 00 F0 */ stw r0, 0xf0(r15) -/* 8008F700 0008C660 48 2B 17 41 */ bl __dt__6CTokenFv -/* 8008F704 0008C664 38 61 00 30 */ addi r3, r1, 0x30 -/* 8008F708 0008C668 38 80 FF FF */ li r4, -1 -/* 8008F70C 0008C66C 48 2B 17 35 */ bl __dt__6CTokenFv -/* 8008F710 0008C670 3C 60 80 3D */ lis r3, lbl_803CD690@ha -/* 8008F714 0008C674 3A 00 00 00 */ li r16, 0 -/* 8008F718 0008C678 38 83 D6 90 */ addi r4, r3, lbl_803CD690@l -/* 8008F71C 0008C67C 38 A0 00 00 */ li r5, 0 -/* 8008F720 0008C680 38 60 04 58 */ li r3, 0x458 -/* 8008F724 0008C684 48 28 61 49 */ bl __nw__FUlPCcPCc -/* 8008F728 0008C688 7C 6E 1B 79 */ or. r14, r3, r3 -/* 8008F72C 0008C68C 41 82 00 24 */ beq lbl_8008F750 -/* 8008F730 0008C690 38 61 00 28 */ addi r3, r1, 0x28 -/* 8008F734 0008C694 38 8F 00 E8 */ addi r4, r15, 0xe8 -/* 8008F738 0008C698 48 2B 17 71 */ bl __ct__6CTokenFRC6CToken -/* 8008F73C 0008C69C 7D C3 73 78 */ mr r3, r14 -/* 8008F740 0008C6A0 38 81 00 28 */ addi r4, r1, 0x28 -/* 8008F744 0008C6A4 3A 00 00 01 */ li r16, 1 -/* 8008F748 0008C6A8 48 2D 2A 29 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 8008F74C 0008C6AC 7C 6E 1B 78 */ mr r14, r3 -lbl_8008F750: -/* 8008F750 0008C6B0 80 6F 00 F4 */ lwz r3, 0xf4(r15) -/* 8008F754 0008C6B4 28 03 00 00 */ cmplwi r3, 0 -/* 8008F758 0008C6B8 41 82 00 18 */ beq lbl_8008F770 -/* 8008F75C 0008C6BC 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F760 0008C6C0 38 80 00 01 */ li r4, 1 -/* 8008F764 0008C6C4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8008F768 0008C6C8 7D 89 03 A6 */ mtctr r12 -/* 8008F76C 0008C6CC 4E 80 04 21 */ bctrl -lbl_8008F770: -/* 8008F770 0008C6D0 7E 00 07 75 */ extsb. r0, r16 -/* 8008F774 0008C6D4 91 CF 00 F4 */ stw r14, 0xf4(r15) -/* 8008F778 0008C6D8 41 82 00 10 */ beq lbl_8008F788 -/* 8008F77C 0008C6DC 38 61 00 28 */ addi r3, r1, 0x28 -/* 8008F780 0008C6E0 38 80 00 00 */ li r4, 0 -/* 8008F784 0008C6E4 48 2B 16 BD */ bl __dt__6CTokenFv -lbl_8008F788: -/* 8008F788 0008C6E8 7E 64 9B 78 */ mr r4, r19 -/* 8008F78C 0008C6EC 38 61 00 98 */ addi r3, r1, 0x98 -/* 8008F790 0008C6F0 48 28 33 E5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008F794 0008C6F4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8008F798 0008C6F8 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8008F79C 0008C6FC 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8008F7A0 0008C700 38 81 00 98 */ addi r4, r1, 0x98 -/* 8008F7A4 0008C704 C0 45 00 00 */ lfs f2, 0(r5) -/* 8008F7A8 0008C708 C0 25 00 04 */ lfs f1, 4(r5) -/* 8008F7AC 0008C70C C0 05 00 08 */ lfs f0, 8(r5) -/* 8008F7B0 0008C710 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 8008F7B4 0008C714 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 8008F7B8 0008C718 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 8008F7BC 0008C71C 48 28 33 B9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8008F7C0 0008C720 80 6F 00 F4 */ lwz r3, 0xf4(r15) -/* 8008F7C4 0008C724 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8008F7C8 0008C728 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F7CC 0008C72C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8008F7D0 0008C730 7D 89 03 A6 */ mtctr r12 -/* 8008F7D4 0008C734 4E 80 04 21 */ bctrl -/* 8008F7D8 0008C738 C0 53 00 2C */ lfs f2, 0x2c(r19) -/* 8008F7DC 0008C73C 38 81 00 68 */ addi r4, r1, 0x68 -/* 8008F7E0 0008C740 C0 33 00 1C */ lfs f1, 0x1c(r19) -/* 8008F7E4 0008C744 C0 13 00 0C */ lfs f0, 0xc(r19) -/* 8008F7E8 0008C748 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 8008F7EC 0008C74C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8008F7F0 0008C750 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8008F7F4 0008C754 80 6F 00 F4 */ lwz r3, 0xf4(r15) -/* 8008F7F8 0008C758 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F7FC 0008C75C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8008F800 0008C760 7D 89 03 A6 */ mtctr r12 -/* 8008F804 0008C764 4E 80 04 21 */ bctrl -/* 8008F808 0008C768 80 6F 00 F4 */ lwz r3, 0xf4(r15) -/* 8008F80C 0008C76C 7E 84 A3 78 */ mr r4, r20 -/* 8008F810 0008C770 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F814 0008C774 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8008F818 0008C778 7D 89 03 A6 */ mtctr r12 -/* 8008F81C 0008C77C 4E 80 04 21 */ bctrl -/* 8008F820 0008C780 80 6F 00 F4 */ lwz r3, 0xf4(r15) -/* 8008F824 0008C784 7F 44 D3 78 */ mr r4, r26 -/* 8008F828 0008C788 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F82C 0008C78C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8008F830 0008C790 7D 89 03 A6 */ mtctr r12 -/* 8008F834 0008C794 4E 80 04 21 */ bctrl -/* 8008F838 0008C798 80 6F 00 F4 */ lwz r3, 0xf4(r15) -/* 8008F83C 0008C79C 38 9F 00 18 */ addi r4, r31, 0x18 -/* 8008F840 0008C7A0 81 83 00 00 */ lwz r12, 0(r3) -/* 8008F844 0008C7A4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8008F848 0008C7A8 7D 89 03 A6 */ mtctr r12 -/* 8008F84C 0008C7AC 4E 80 04 21 */ bctrl -lbl_8008F850: -/* 8008F850 0008C7B0 88 0F 00 E7 */ lbz r0, 0xe7(r15) -/* 8008F854 0008C7B4 38 60 00 01 */ li r3, 1 -/* 8008F858 0008C7B8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8008F85C 0008C7BC 7D E3 7B 78 */ mr r3, r15 -/* 8008F860 0008C7C0 98 0F 00 E7 */ stb r0, 0xe7(r15) -/* 8008F864 0008C7C4 E3 E1 03 28 */ psq_l f31, 808(r1), 0, qr0 -/* 8008F868 0008C7C8 CB E1 03 20 */ lfd f31, 0x320(r1) -/* 8008F86C 0008C7CC E3 C1 03 18 */ psq_l f30, 792(r1), 0, qr0 -/* 8008F870 0008C7D0 CB C1 03 10 */ lfd f30, 0x310(r1) -/* 8008F874 0008C7D4 E3 A1 03 08 */ psq_l f29, 776(r1), 0, qr0 -/* 8008F878 0008C7D8 CB A1 03 00 */ lfd f29, 0x300(r1) -/* 8008F87C 0008C7DC E3 81 02 F8 */ psq_l f28, 760(r1), 0, qr0 -/* 8008F880 0008C7E0 CB 81 02 F0 */ lfd f28, 0x2f0(r1) -/* 8008F884 0008C7E4 E3 61 02 E8 */ psq_l f27, 744(r1), 0, qr0 -/* 8008F888 0008C7E8 CB 61 02 E0 */ lfd f27, 0x2e0(r1) -/* 8008F88C 0008C7EC E3 41 02 D8 */ psq_l f26, 728(r1), 0, qr0 -/* 8008F890 0008C7F0 CB 41 02 D0 */ lfd f26, 0x2d0(r1) -/* 8008F894 0008C7F4 E3 21 02 C8 */ psq_l f25, 712(r1), 0, qr0 -/* 8008F898 0008C7F8 CB 21 02 C0 */ lfd f25, 0x2c0(r1) -/* 8008F89C 0008C7FC B9 C1 02 78 */ lmw r14, 0x278(r1) -/* 8008F8A0 0008C800 80 01 03 34 */ lwz r0, 0x334(r1) -/* 8008F8A4 0008C804 7C 08 03 A6 */ mtlr r0 -/* 8008F8A8 0008C808 38 21 03 30 */ addi r1, r1, 0x330 -/* 8008F8AC 0008C80C 4E 80 00 20 */ blr - -.global "__dt__43TObjOwnerDerivedFromIObj<15CGenDescription>Fv" -"__dt__43TObjOwnerDerivedFromIObj<15CGenDescription>Fv": -/* 8008F8B0 0008C810 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008F8B4 0008C814 7C 08 02 A6 */ mflr r0 -/* 8008F8B8 0008C818 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008F8BC 0008C81C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008F8C0 0008C820 7C 9F 23 78 */ mr r31, r4 -/* 8008F8C4 0008C824 93 C1 00 08 */ stw r30, 8(r1) -/* 8008F8C8 0008C828 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8008F8CC 0008C82C 41 82 00 58 */ beq lbl_8008F924 -/* 8008F8D0 0008C830 3C 60 80 3E */ lis r3, lbl_803DACB0@ha -/* 8008F8D4 0008C834 38 03 AC B0 */ addi r0, r3, lbl_803DACB0@l -/* 8008F8D8 0008C838 90 1E 00 00 */ stw r0, 0(r30) -/* 8008F8DC 0008C83C 80 7E 00 04 */ lwz r3, 4(r30) -/* 8008F8E0 0008C840 28 03 00 00 */ cmplwi r3, 0 -/* 8008F8E4 0008C844 41 82 00 0C */ beq lbl_8008F8F0 -/* 8008F8E8 0008C848 38 80 00 01 */ li r4, 1 -/* 8008F8EC 0008C84C 48 2D 75 4D */ bl __dt__15CGenDescriptionFv -lbl_8008F8F0: -/* 8008F8F0 0008C850 28 1E 00 00 */ cmplwi r30, 0 -/* 8008F8F4 0008C854 41 82 00 20 */ beq lbl_8008F914 -/* 8008F8F8 0008C858 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 8008F8FC 0008C85C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 8008F900 0008C860 90 1E 00 00 */ stw r0, 0(r30) -/* 8008F904 0008C864 41 82 00 10 */ beq lbl_8008F914 -/* 8008F908 0008C868 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 8008F90C 0008C86C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 8008F910 0008C870 90 1E 00 00 */ stw r0, 0(r30) -lbl_8008F914: -/* 8008F914 0008C874 7F E0 07 35 */ extsh. r0, r31 -/* 8008F918 0008C878 40 81 00 0C */ ble lbl_8008F924 -/* 8008F91C 0008C87C 7F C3 F3 78 */ mr r3, r30 -/* 8008F920 0008C880 48 28 60 11 */ bl Free__7CMemoryFPCv -lbl_8008F924: -/* 8008F924 0008C884 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008F928 0008C888 7F C3 F3 78 */ mr r3, r30 -/* 8008F92C 0008C88C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008F930 0008C890 83 C1 00 08 */ lwz r30, 8(r1) -/* 8008F934 0008C894 7C 08 03 A6 */ mtlr r0 -/* 8008F938 0008C898 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008F93C 0008C89C 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FP15CGenDescription" -"GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FP15CGenDescription": -/* 8008F940 0008C8A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008F944 0008C8A4 7C 08 02 A6 */ mflr r0 -/* 8008F948 0008C8A8 3C A0 80 3D */ lis r5, lbl_803CD690@ha -/* 8008F94C 0008C8AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008F950 0008C8B0 38 05 D6 90 */ addi r0, r5, lbl_803CD690@l -/* 8008F954 0008C8B4 38 A0 00 00 */ li r5, 0 -/* 8008F958 0008C8B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008F95C 0008C8BC 7C 9F 23 78 */ mr r31, r4 -/* 8008F960 0008C8C0 7C 04 03 78 */ mr r4, r0 -/* 8008F964 0008C8C4 93 C1 00 08 */ stw r30, 8(r1) -/* 8008F968 0008C8C8 7C 7E 1B 78 */ mr r30, r3 -/* 8008F96C 0008C8CC 38 60 00 08 */ li r3, 8 -/* 8008F970 0008C8D0 48 28 5E FD */ bl __nw__FUlPCcPCc -/* 8008F974 0008C8D4 28 03 00 00 */ cmplwi r3, 0 -/* 8008F978 0008C8D8 41 82 00 2C */ beq lbl_8008F9A4 -/* 8008F97C 0008C8DC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 8008F980 0008C8E0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 8008F984 0008C8E4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 8008F988 0008C8E8 3C 80 80 3E */ lis r4, lbl_803DACB0@ha -/* 8008F98C 0008C8EC 90 03 00 00 */ stw r0, 0(r3) -/* 8008F990 0008C8F0 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l -/* 8008F994 0008C8F4 38 04 AC B0 */ addi r0, r4, lbl_803DACB0@l -/* 8008F998 0008C8F8 90 A3 00 00 */ stw r5, 0(r3) -/* 8008F99C 0008C8FC 93 E3 00 04 */ stw r31, 4(r3) -/* 8008F9A0 0008C900 90 03 00 00 */ stw r0, 0(r3) -lbl_8008F9A4: -/* 8008F9A4 0008C904 7C 03 00 D0 */ neg r0, r3 -/* 8008F9A8 0008C908 7C 00 1B 78 */ or r0, r0, r3 -/* 8008F9AC 0008C90C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8008F9B0 0008C910 98 1E 00 00 */ stb r0, 0(r30) -/* 8008F9B4 0008C914 90 7E 00 04 */ stw r3, 4(r30) -/* 8008F9B8 0008C918 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008F9BC 0008C91C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8008F9C0 0008C920 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008F9C4 0008C924 7C 08 03 A6 */ mtlr r0 -/* 8008F9C8 0008C928 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008F9CC 0008C92C 4E 80 00 20 */ blr - -.global "__dt__48TObjOwnerDerivedFromIObj<20CElectricDescription>Fv" -"__dt__48TObjOwnerDerivedFromIObj<20CElectricDescription>Fv": -/* 8008F9D0 0008C930 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008F9D4 0008C934 7C 08 02 A6 */ mflr r0 -/* 8008F9D8 0008C938 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008F9DC 0008C93C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008F9E0 0008C940 7C 9F 23 78 */ mr r31, r4 -/* 8008F9E4 0008C944 93 C1 00 08 */ stw r30, 8(r1) -/* 8008F9E8 0008C948 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8008F9EC 0008C94C 41 82 00 58 */ beq lbl_8008FA44 -/* 8008F9F0 0008C950 3C 60 80 3E */ lis r3, lbl_803DACA4@ha -/* 8008F9F4 0008C954 38 03 AC A4 */ addi r0, r3, lbl_803DACA4@l -/* 8008F9F8 0008C958 90 1E 00 00 */ stw r0, 0(r30) -/* 8008F9FC 0008C95C 80 7E 00 04 */ lwz r3, 4(r30) -/* 8008FA00 0008C960 28 03 00 00 */ cmplwi r3, 0 -/* 8008FA04 0008C964 41 82 00 0C */ beq lbl_8008FA10 -/* 8008FA08 0008C968 38 80 00 01 */ li r4, 1 -/* 8008FA0C 0008C96C 48 2D 6D AD */ bl __dt__20CElectricDescriptionFv -lbl_8008FA10: -/* 8008FA10 0008C970 28 1E 00 00 */ cmplwi r30, 0 -/* 8008FA14 0008C974 41 82 00 20 */ beq lbl_8008FA34 -/* 8008FA18 0008C978 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 8008FA1C 0008C97C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 8008FA20 0008C980 90 1E 00 00 */ stw r0, 0(r30) -/* 8008FA24 0008C984 41 82 00 10 */ beq lbl_8008FA34 -/* 8008FA28 0008C988 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 8008FA2C 0008C98C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 8008FA30 0008C990 90 1E 00 00 */ stw r0, 0(r30) -lbl_8008FA34: -/* 8008FA34 0008C994 7F E0 07 35 */ extsh. r0, r31 -/* 8008FA38 0008C998 40 81 00 0C */ ble lbl_8008FA44 -/* 8008FA3C 0008C99C 7F C3 F3 78 */ mr r3, r30 -/* 8008FA40 0008C9A0 48 28 5E F1 */ bl Free__7CMemoryFPCv -lbl_8008FA44: -/* 8008FA44 0008C9A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008FA48 0008C9A8 7F C3 F3 78 */ mr r3, r30 -/* 8008FA4C 0008C9AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008FA50 0008C9B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8008FA54 0008C9B4 7C 08 03 A6 */ mtlr r0 -/* 8008FA58 0008C9B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008FA5C 0008C9BC 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FP20CElectricDescription" -"GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FP20CElectricDescription": -/* 8008FA60 0008C9C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008FA64 0008C9C4 7C 08 02 A6 */ mflr r0 -/* 8008FA68 0008C9C8 3C A0 80 3D */ lis r5, lbl_803CD690@ha -/* 8008FA6C 0008C9CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008FA70 0008C9D0 38 05 D6 90 */ addi r0, r5, lbl_803CD690@l -/* 8008FA74 0008C9D4 38 A0 00 00 */ li r5, 0 -/* 8008FA78 0008C9D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8008FA7C 0008C9DC 7C 9F 23 78 */ mr r31, r4 -/* 8008FA80 0008C9E0 7C 04 03 78 */ mr r4, r0 -/* 8008FA84 0008C9E4 93 C1 00 08 */ stw r30, 8(r1) -/* 8008FA88 0008C9E8 7C 7E 1B 78 */ mr r30, r3 -/* 8008FA8C 0008C9EC 38 60 00 08 */ li r3, 8 -/* 8008FA90 0008C9F0 48 28 5D DD */ bl __nw__FUlPCcPCc -/* 8008FA94 0008C9F4 28 03 00 00 */ cmplwi r3, 0 -/* 8008FA98 0008C9F8 41 82 00 2C */ beq lbl_8008FAC4 -/* 8008FA9C 0008C9FC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 8008FAA0 0008CA00 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 8008FAA4 0008CA04 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 8008FAA8 0008CA08 3C 80 80 3E */ lis r4, lbl_803DACA4@ha -/* 8008FAAC 0008CA0C 90 03 00 00 */ stw r0, 0(r3) -/* 8008FAB0 0008CA10 38 A5 8D 78 */ addi r5, r5, lbl_803D8D78@l -/* 8008FAB4 0008CA14 38 04 AC A4 */ addi r0, r4, lbl_803DACA4@l -/* 8008FAB8 0008CA18 90 A3 00 00 */ stw r5, 0(r3) -/* 8008FABC 0008CA1C 93 E3 00 04 */ stw r31, 4(r3) -/* 8008FAC0 0008CA20 90 03 00 00 */ stw r0, 0(r3) -lbl_8008FAC4: -/* 8008FAC4 0008CA24 7C 03 00 D0 */ neg r0, r3 -/* 8008FAC8 0008CA28 7C 00 1B 78 */ or r0, r0, r3 -/* 8008FACC 0008CA2C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8008FAD0 0008CA30 98 1E 00 00 */ stb r0, 0(r30) -/* 8008FAD4 0008CA34 90 7E 00 04 */ stw r3, 4(r30) -/* 8008FAD8 0008CA38 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8008FADC 0008CA3C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8008FAE0 0008CA40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008FAE4 0008CA44 7C 08 03 A6 */ mtlr r0 -/* 8008FAE8 0008CA48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008FAEC 0008CA4C 4E 80 00 20 */ blr - -.global sub_8008faf0 -sub_8008faf0: -/* 8008FAF0 0008CA50 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8008FAF4 0008CA54 7C 08 02 A6 */ mflr r0 -/* 8008FAF8 0008CA58 90 01 00 74 */ stw r0, 0x74(r1) -/* 8008FAFC 0008CA5C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8008FB00 0008CA60 7C 9F 23 78 */ mr r31, r4 -/* 8008FB04 0008CA64 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8008FB08 0008CA68 7C 7E 1B 78 */ mr r30, r3 -/* 8008FB0C 0008CA6C 80 63 01 84 */ lwz r3, 0x184(r3) -/* 8008FB10 0008CA70 81 83 00 00 */ lwz r12, 0(r3) -/* 8008FB14 0008CA74 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8008FB18 0008CA78 7D 89 03 A6 */ mtctr r12 -/* 8008FB1C 0008CA7C 4E 80 04 21 */ bctrl -/* 8008FB20 0008CA80 A0 7E 01 88 */ lhz r3, 0x188(r30) -/* 8008FB24 0008CA84 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008FB28 0008CA88 7C 03 00 40 */ cmplw r3, r0 -/* 8008FB2C 0008CA8C 41 82 00 60 */ beq lbl_8008FB8C -/* 8008FB30 0008CA90 A0 1E 01 88 */ lhz r0, 0x188(r30) -/* 8008FB34 0008CA94 7F E3 FB 78 */ mr r3, r31 -/* 8008FB38 0008CA98 38 81 00 08 */ addi r4, r1, 8 -/* 8008FB3C 0008CA9C B0 01 00 08 */ sth r0, 8(r1) -/* 8008FB40 0008CAA0 4B FB CA 35 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8008FB44 0008CAA4 7C 64 1B 78 */ mr r4, r3 -/* 8008FB48 0008CAA8 38 61 00 0C */ addi r3, r1, 0xc -/* 8008FB4C 0008CAAC 48 01 DF 39 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 8008FB50 0008CAB0 83 E3 00 04 */ lwz r31, 4(r3) -/* 8008FB54 0008CAB4 28 1F 00 00 */ cmplwi r31, 0 -/* 8008FB58 0008CAB8 41 82 00 34 */ beq lbl_8008FB8C -/* 8008FB5C 0008CABC 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 8008FB60 0008CAC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008FB64 0008CAC4 41 82 00 28 */ beq lbl_8008FB8C -/* 8008FB68 0008CAC8 80 9E 01 84 */ lwz r4, 0x184(r30) -/* 8008FB6C 0008CACC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8008FB70 0008CAD0 81 84 00 00 */ lwz r12, 0(r4) -/* 8008FB74 0008CAD4 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8008FB78 0008CAD8 7D 89 03 A6 */ mtctr r12 -/* 8008FB7C 0008CADC 4E 80 04 21 */ bctrl -/* 8008FB80 0008CAE0 7F E3 FB 78 */ mr r3, r31 -/* 8008FB84 0008CAE4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8008FB88 0008CAE8 48 02 5B BD */ bl SetLight__10CGameLightFRC6CLight -lbl_8008FB8C: -/* 8008FB8C 0008CAEC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8008FB90 0008CAF0 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8008FB94 0008CAF4 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8008FB98 0008CAF8 7C 08 03 A6 */ mtlr r0 -/* 8008FB9C 0008CAFC 38 21 00 70 */ addi r1, r1, 0x70 -/* 8008FBA0 0008CB00 4E 80 00 20 */ blr - -.global GetTouchBounds__5CBombCFv -GetTouchBounds__5CBombCFv: -/* 8008FBA4 0008CB04 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8008FBA8 0008CB08 88 04 01 90 */ lbz r0, 0x190(r4) -/* 8008FBAC 0008CB0C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008FBB0 0008CB10 41 82 00 0C */ beq lbl_8008FBBC -/* 8008FBB4 0008CB14 C0 ED 85 60 */ lfs f7, lbl_805A7120@sda21(r13) -/* 8008FBB8 0008CB18 48 00 00 08 */ b lbl_8008FBC0 -lbl_8008FBBC: -/* 8008FBBC 0008CB1C C0 E4 01 3C */ lfs f7, 0x13c(r4) -lbl_8008FBC0: -/* 8008FBC0 0008CB20 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 8008FBC4 0008CB24 C0 64 01 78 */ lfs f3, 0x178(r4) -/* 8008FBC8 0008CB28 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8008FBCC 0008CB2C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8008FBD0 0008CB30 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 8008FBD4 0008CB34 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8008FBD8 0008CB38 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8008FBDC 0008CB3C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8008FBE0 0008CB40 D0 41 00 08 */ stfs f2, 8(r1) -/* 8008FBE4 0008CB44 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8008FBE8 0008CB48 40 80 00 0C */ bge lbl_8008FBF4 -/* 8008FBEC 0008CB4C 38 A1 00 08 */ addi r5, r1, 8 -/* 8008FBF0 0008CB50 48 00 00 08 */ b lbl_8008FBF8 -lbl_8008FBF4: -/* 8008FBF4 0008CB54 38 A1 00 0C */ addi r5, r1, 0xc -lbl_8008FBF8: -/* 8008FBF8 0008CB58 C0 05 00 00 */ lfs f0, 0(r5) -/* 8008FBFC 0008CB5C C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8008FC00 0008CB60 C0 64 01 74 */ lfs f3, 0x174(r4) -/* 8008FC04 0008CB64 EC A7 00 2A */ fadds f5, f7, f0 -/* 8008FC08 0008CB68 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 8008FC0C 0008CB6C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8008FC10 0008CB70 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 8008FC14 0008CB74 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8008FC18 0008CB78 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8008FC1C 0008CB7C D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8008FC20 0008CB80 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8008FC24 0008CB84 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 8008FC28 0008CB88 40 80 00 0C */ bge lbl_8008FC34 -/* 8008FC2C 0008CB8C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8008FC30 0008CB90 48 00 00 08 */ b lbl_8008FC38 -lbl_8008FC34: -/* 8008FC34 0008CB94 38 A1 00 14 */ addi r5, r1, 0x14 -lbl_8008FC38: -/* 8008FC38 0008CB98 C0 05 00 00 */ lfs f0, 0(r5) -/* 8008FC3C 0008CB9C C0 24 00 40 */ lfs f1, 0x40(r4) -/* 8008FC40 0008CBA0 C0 44 01 70 */ lfs f2, 0x170(r4) -/* 8008FC44 0008CBA4 EC 87 00 2A */ fadds f4, f7, f0 -/* 8008FC48 0008CBA8 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8008FC4C 0008CBAC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8008FC50 0008CBB0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8008FC54 0008CBB4 40 80 00 0C */ bge lbl_8008FC60 -/* 8008FC58 0008CBB8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8008FC5C 0008CBBC 48 00 00 08 */ b lbl_8008FC64 -lbl_8008FC60: -/* 8008FC60 0008CBC0 38 A1 00 1C */ addi r5, r1, 0x1c -lbl_8008FC64: -/* 8008FC64 0008CBC4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8008FC68 0008CBC8 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 8008FC6C 0008CBCC C0 C4 01 78 */ lfs f6, 0x178(r4) -/* 8008FC70 0008CBD0 EC 67 00 2A */ fadds f3, f7, f0 -/* 8008FC74 0008CBD4 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8008FC78 0008CBD8 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8008FC7C 0008CBDC FC 02 30 40 */ fcmpo cr0, f2, f6 -/* 8008FC80 0008CBE0 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8008FC84 0008CBE4 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8008FC88 0008CBE8 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8008FC8C 0008CBEC D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8008FC90 0008CBF0 D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 8008FC94 0008CBF4 40 80 00 0C */ bge lbl_8008FCA0 -/* 8008FC98 0008CBF8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8008FC9C 0008CBFC 48 00 00 08 */ b lbl_8008FCA4 -lbl_8008FCA0: -/* 8008FCA0 0008CC00 38 A1 00 24 */ addi r5, r1, 0x24 -lbl_8008FCA4: -/* 8008FCA4 0008CC04 C0 05 00 00 */ lfs f0, 0(r5) -/* 8008FCA8 0008CC08 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8008FCAC 0008CC0C C1 04 01 74 */ lfs f8, 0x174(r4) -/* 8008FCB0 0008CC10 EC 40 38 28 */ fsubs f2, f0, f7 -/* 8008FCB4 0008CC14 C0 C4 00 60 */ lfs f6, 0x60(r4) -/* 8008FCB8 0008CC18 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8008FCBC 0008CC1C FC 01 40 40 */ fcmpo cr0, f1, f8 -/* 8008FCC0 0008CC20 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8008FCC4 0008CC24 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8008FCC8 0008CC28 D0 C1 00 64 */ stfs f6, 0x64(r1) -/* 8008FCCC 0008CC2C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8008FCD0 0008CC30 D1 01 00 2C */ stfs f8, 0x2c(r1) -/* 8008FCD4 0008CC34 40 80 00 0C */ bge lbl_8008FCE0 -/* 8008FCD8 0008CC38 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8008FCDC 0008CC3C 48 00 00 08 */ b lbl_8008FCE4 -lbl_8008FCE0: -/* 8008FCE0 0008CC40 38 A1 00 2C */ addi r5, r1, 0x2c -lbl_8008FCE4: -/* 8008FCE4 0008CC44 C0 05 00 00 */ lfs f0, 0(r5) -/* 8008FCE8 0008CC48 C0 C4 00 40 */ lfs f6, 0x40(r4) -/* 8008FCEC 0008CC4C C1 04 01 70 */ lfs f8, 0x170(r4) -/* 8008FCF0 0008CC50 EC 20 38 28 */ fsubs f1, f0, f7 -/* 8008FCF4 0008CC54 D0 C1 00 30 */ stfs f6, 0x30(r1) -/* 8008FCF8 0008CC58 FC 06 40 40 */ fcmpo cr0, f6, f8 -/* 8008FCFC 0008CC5C D1 01 00 34 */ stfs f8, 0x34(r1) -/* 8008FD00 0008CC60 40 80 00 0C */ bge lbl_8008FD0C -/* 8008FD04 0008CC64 38 81 00 30 */ addi r4, r1, 0x30 -/* 8008FD08 0008CC68 48 00 00 08 */ b lbl_8008FD10 -lbl_8008FD0C: -/* 8008FD0C 0008CC6C 38 81 00 34 */ addi r4, r1, 0x34 -lbl_8008FD10: -/* 8008FD10 0008CC70 C0 04 00 00 */ lfs f0, 0(r4) -/* 8008FD14 0008CC74 38 00 00 01 */ li r0, 1 -/* 8008FD18 0008CC78 28 03 00 00 */ cmplwi r3, 0 -/* 8008FD1C 0008CC7C D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 8008FD20 0008CC80 EC 00 38 28 */ fsubs f0, f0, f7 -/* 8008FD24 0008CC84 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8008FD28 0008CC88 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8008FD2C 0008CC8C D0 61 00 74 */ stfs f3, 0x74(r1) -/* 8008FD30 0008CC90 D0 81 00 78 */ stfs f4, 0x78(r1) -/* 8008FD34 0008CC94 D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 8008FD38 0008CC98 98 03 00 18 */ stb r0, 0x18(r3) -/* 8008FD3C 0008CC9C 41 82 00 1C */ beq lbl_8008FD58 -/* 8008FD40 0008CCA0 D0 03 00 00 */ stfs f0, 0(r3) -/* 8008FD44 0008CCA4 D0 23 00 04 */ stfs f1, 4(r3) -/* 8008FD48 0008CCA8 D0 43 00 08 */ stfs f2, 8(r3) -/* 8008FD4C 0008CCAC D0 63 00 0C */ stfs f3, 0xc(r3) -/* 8008FD50 0008CCB0 D0 83 00 10 */ stfs f4, 0x10(r3) -/* 8008FD54 0008CCB4 D0 A3 00 14 */ stfs f5, 0x14(r3) -lbl_8008FD58: -/* 8008FD58 0008CCB8 38 21 00 80 */ addi r1, r1, 0x80 -/* 8008FD5C 0008CCBC 4E 80 00 20 */ blr - -.global AcceptScriptMsg__5CBombF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__5CBombF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8008FD60 0008CCC0 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8008FD64 0008CCC4 7C 08 02 A6 */ mflr r0 -/* 8008FD68 0008CCC8 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8008FD6C 0008CCCC BF 01 00 D0 */ stmw r24, 0xd0(r1) -/* 8008FD70 0008CCD0 7C 9D 23 78 */ mr r29, r4 -/* 8008FD74 0008CCD4 2C 1D 00 22 */ cmpwi r29, 0x22 -/* 8008FD78 0008CCD8 7C 7C 1B 78 */ mr r28, r3 -/* 8008FD7C 0008CCDC 7C BE 2B 78 */ mr r30, r5 -/* 8008FD80 0008CCE0 7C DF 33 78 */ mr r31, r6 -/* 8008FD84 0008CCE4 41 82 01 C0 */ beq lbl_8008FF44 -/* 8008FD88 0008CCE8 40 80 02 08 */ bge lbl_8008FF90 -/* 8008FD8C 0008CCEC 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 8008FD90 0008CCF0 40 80 00 08 */ bge lbl_8008FD98 -/* 8008FD94 0008CCF4 48 00 01 FC */ b lbl_8008FF90 -lbl_8008FD98: -/* 8008FD98 0008CCF8 80 7C 01 84 */ lwz r3, 0x184(r28) -/* 8008FD9C 0008CCFC 81 83 00 00 */ lwz r12, 0(r3) -/* 8008FDA0 0008CD00 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8008FDA4 0008CD04 7D 89 03 A6 */ mtctr r12 -/* 8008FDA8 0008CD08 4E 80 04 21 */ bctrl -/* 8008FDAC 0008CD0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8008FDB0 0008CD10 41 82 01 0C */ beq lbl_8008FEBC -/* 8008FDB4 0008CD14 7F E4 FB 78 */ mr r4, r31 -/* 8008FDB8 0008CD18 38 61 00 34 */ addi r3, r1, 0x34 -/* 8008FDBC 0008CD1C 4B FB D3 21 */ bl AllocateUniqueId__13CStateManagerFv -/* 8008FDC0 0008CD20 A0 01 00 34 */ lhz r0, 0x34(r1) -/* 8008FDC4 0008CD24 3C 60 80 3D */ lis r3, lbl_803CD6A8@ha -/* 8008FDC8 0008CD28 38 83 D6 A8 */ addi r4, r3, lbl_803CD6A8@l -/* 8008FDCC 0008CD2C 3B 00 00 00 */ li r24, 0 -/* 8008FDD0 0008CD30 B0 1C 01 88 */ sth r0, 0x188(r28) -/* 8008FDD4 0008CD34 3B 40 00 00 */ li r26, 0 -/* 8008FDD8 0008CD38 38 60 01 48 */ li r3, 0x148 -/* 8008FDDC 0008CD3C 38 A0 00 00 */ li r5, 0 -/* 8008FDE0 0008CD40 83 3C 01 8C */ lwz r25, 0x18c(r28) -/* 8008FDE4 0008CD44 48 28 5A 89 */ bl __nw__FUlPCcPCc -/* 8008FDE8 0008CD48 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8008FDEC 0008CD4C 41 82 00 A4 */ beq lbl_8008FE90 -/* 8008FDF0 0008CD50 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8008FDF4 0008CD54 3C 60 80 3D */ lis r3, lbl_803CD6A8@ha -/* 8008FDF8 0008CD58 83 5C 01 84 */ lwz r26, 0x184(r28) -/* 8008FDFC 0008CD5C 38 83 D6 A8 */ addi r4, r3, lbl_803CD6A8@l -/* 8008FE00 0008CD60 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 8008FE04 0008CD64 38 61 00 6C */ addi r3, r1, 0x6c -/* 8008FE08 0008CD68 38 84 00 07 */ addi r4, r4, 7 -/* 8008FE0C 0008CD6C B0 01 00 30 */ sth r0, 0x30(r1) -/* 8008FE10 0008CD70 4B F7 4E A9 */ bl string_l__4rstlFPCc -/* 8008FE14 0008CD74 38 61 00 5C */ addi r3, r1, 0x5c -/* 8008FE18 0008CD78 38 81 00 6C */ addi r4, r1, 0x6c -/* 8008FE1C 0008CD7C 38 BC 00 10 */ addi r5, r28, 0x10 -/* 8008FE20 0008CD80 3B 00 00 01 */ li r24, 1 -/* 8008FE24 0008CD84 4B F7 4E 39 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8008FE28 0008CD88 80 BC 00 04 */ lwz r5, 4(r28) -/* 8008FE2C 0008CD8C 7F 44 D3 78 */ mr r4, r26 -/* 8008FE30 0008CD90 38 61 00 7C */ addi r3, r1, 0x7c -/* 8008FE34 0008CD94 3B 40 00 01 */ li r26, 1 -/* 8008FE38 0008CD98 90 A1 00 40 */ stw r5, 0x40(r1) -/* 8008FE3C 0008CD9C A0 1C 01 88 */ lhz r0, 0x188(r28) -/* 8008FE40 0008CDA0 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 8008FE44 0008CDA4 B0 01 00 28 */ sth r0, 0x28(r1) -/* 8008FE48 0008CDA8 81 84 00 00 */ lwz r12, 0(r4) -/* 8008FE4C 0008CDAC 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8008FE50 0008CDB0 7D 89 03 A6 */ mtctr r12 -/* 8008FE54 0008CDB4 4E 80 04 21 */ bctrl -/* 8008FE58 0008CDB8 93 21 00 08 */ stw r25, 8(r1) -/* 8008FE5C 0008CDBC 38 00 00 01 */ li r0, 1 -/* 8008FE60 0008CDC0 C0 22 8A E0 */ lfs f1, lbl_805AA800@sda21(r2) -/* 8008FE64 0008CDC4 7F 63 DB 78 */ mr r3, r27 -/* 8008FE68 0008CDC8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8008FE6C 0008CDCC 38 81 00 28 */ addi r4, r1, 0x28 -/* 8008FE70 0008CDD0 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8008FE74 0008CDD4 38 E1 00 5C */ addi r7, r1, 0x5c -/* 8008FE78 0008CDD8 39 1C 00 34 */ addi r8, r28, 0x34 -/* 8008FE7C 0008CDDC 39 21 00 30 */ addi r9, r1, 0x30 -/* 8008FE80 0008CDE0 39 41 00 7C */ addi r10, r1, 0x7c -/* 8008FE84 0008CDE4 38 C0 00 00 */ li r6, 0 -/* 8008FE88 0008CDE8 48 02 59 9D */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" -/* 8008FE8C 0008CDEC 7C 7B 1B 78 */ mr r27, r3 -lbl_8008FE90: -/* 8008FE90 0008CDF0 7F E3 FB 78 */ mr r3, r31 -/* 8008FE94 0008CDF4 7F 64 DB 78 */ mr r4, r27 -/* 8008FE98 0008CDF8 4B FB CE 5D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8008FE9C 0008CDFC 7F 40 07 75 */ extsb. r0, r26 -/* 8008FEA0 0008CE00 41 82 00 0C */ beq lbl_8008FEAC -/* 8008FEA4 0008CE04 38 61 00 5C */ addi r3, r1, 0x5c -/* 8008FEA8 0008CE08 48 2A DC 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8008FEAC: -/* 8008FEAC 0008CE0C 7F 00 07 75 */ extsb. r0, r24 -/* 8008FEB0 0008CE10 41 82 00 0C */ beq lbl_8008FEBC -/* 8008FEB4 0008CE14 38 61 00 6C */ addi r3, r1, 0x6c -/* 8008FEB8 0008CE18 48 2A DC 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8008FEBC: -/* 8008FEBC 0008CE1C A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 8008FEC0 0008CE20 7F E3 FB 78 */ mr r3, r31 -/* 8008FEC4 0008CE24 80 BC 00 F0 */ lwz r5, 0xf0(r28) -/* 8008FEC8 0008CE28 38 81 00 24 */ addi r4, r1, 0x24 -/* 8008FECC 0008CE2C B0 01 00 20 */ sth r0, 0x20(r1) -/* 8008FED0 0008CE30 B0 01 00 24 */ sth r0, 0x24(r1) -/* 8008FED4 0008CE34 4B FB 4E 35 */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType -/* 8008FED8 0008CE38 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 8008FEDC 0008CE3C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8008FEE0 0008CE40 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 8008FEE4 0008CE44 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8008FEE8 0008CE48 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 8008FEEC 0008CE4C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8008FEF0 0008CE50 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8008FEF4 0008CE54 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8008FEF8 0008CE58 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8008FEFC 0008CE5C 38 80 06 DC */ li r4, 0x6dc -/* 8008FF00 0008CE60 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8008FF04 0008CE64 38 E0 00 01 */ li r7, 1 -/* 8008FF08 0008CE68 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8008FF0C 0008CE6C 39 00 00 00 */ li r8, 0 -/* 8008FF10 0008CE70 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8008FF14 0008CE74 48 25 A3 9D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 8008FF18 0008CE78 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 8008FF1C 0008CE7C 7F E3 FB 78 */ mr r3, r31 -/* 8008FF20 0008CE80 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 8008FF24 0008CE84 38 81 00 44 */ addi r4, r1, 0x44 -/* 8008FF28 0008CE88 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 8008FF2C 0008CE8C 38 A0 00 01 */ li r5, 1 -/* 8008FF30 0008CE90 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8008FF34 0008CE94 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8008FF38 0008CE98 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8008FF3C 0008CE9C 4B FB 88 49 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType -/* 8008FF40 0008CEA0 48 00 00 50 */ b lbl_8008FF90 -lbl_8008FF44: -/* 8008FF44 0008CEA4 A0 7C 01 88 */ lhz r3, 0x188(r28) -/* 8008FF48 0008CEA8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8008FF4C 0008CEAC 7C 03 00 40 */ cmplw r3, r0 -/* 8008FF50 0008CEB0 41 82 00 18 */ beq lbl_8008FF68 -/* 8008FF54 0008CEB4 A0 1C 01 88 */ lhz r0, 0x188(r28) -/* 8008FF58 0008CEB8 7F E3 FB 78 */ mr r3, r31 -/* 8008FF5C 0008CEBC 38 81 00 1C */ addi r4, r1, 0x1c -/* 8008FF60 0008CEC0 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8008FF64 0008CEC4 4B FB C3 09 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_8008FF68: -/* 8008FF68 0008CEC8 88 1C 01 90 */ lbz r0, 0x190(r28) -/* 8008FF6C 0008CECC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8008FF70 0008CED0 41 82 00 20 */ beq lbl_8008FF90 -/* 8008FF74 0008CED4 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 8008FF78 0008CED8 7F E3 FB 78 */ mr r3, r31 -/* 8008FF7C 0008CEDC 80 BC 00 F0 */ lwz r5, 0xf0(r28) -/* 8008FF80 0008CEE0 38 81 00 18 */ addi r4, r1, 0x18 -/* 8008FF84 0008CEE4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8008FF88 0008CEE8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8008FF8C 0008CEEC 4B FB 4D 4D */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType -lbl_8008FF90: -/* 8008FF90 0008CEF0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8008FF94 0008CEF4 7F 83 E3 78 */ mr r3, r28 -/* 8008FF98 0008CEF8 7F A4 EB 78 */ mr r4, r29 -/* 8008FF9C 0008CEFC 7F E6 FB 78 */ mr r6, r31 -/* 8008FFA0 0008CF00 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8008FFA4 0008CF04 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8008FFA8 0008CF08 4B FC 36 6D */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8008FFAC 0008CF0C BB 01 00 D0 */ lmw r24, 0xd0(r1) -/* 8008FFB0 0008CF10 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8008FFB4 0008CF14 7C 08 03 A6 */ mtlr r0 -/* 8008FFB8 0008CF18 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8008FFBC 0008CF1C 4E 80 00 20 */ blr - -.global Accept__5CBombFR8IVisitor -Accept__5CBombFR8IVisitor: -/* 8008FFC0 0008CF20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8008FFC4 0008CF24 7C 08 02 A6 */ mflr r0 -/* 8008FFC8 0008CF28 90 01 00 14 */ stw r0, 0x14(r1) -/* 8008FFCC 0008CF2C 7C 60 1B 78 */ mr r0, r3 -/* 8008FFD0 0008CF30 7C 83 23 78 */ mr r3, r4 -/* 8008FFD4 0008CF34 81 84 00 00 */ lwz r12, 0(r4) -/* 8008FFD8 0008CF38 7C 04 03 78 */ mr r4, r0 -/* 8008FFDC 0008CF3C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8008FFE0 0008CF40 7D 89 03 A6 */ mtctr r12 -/* 8008FFE4 0008CF44 4E 80 04 21 */ bctrl -/* 8008FFE8 0008CF48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8008FFEC 0008CF4C 7C 08 03 A6 */ mtlr r0 -/* 8008FFF0 0008CF50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8008FFF4 0008CF54 4E 80 00 20 */ blr - -.global Think__5CBombFfR13CStateManager -Think__5CBombFfR13CStateManager: -/* 8008FFF8 0008CF58 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8008FFFC 0008CF5C 7C 08 02 A6 */ mflr r0 -/* 80090000 0008CF60 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 80090004 0008CF64 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 80090008 0008CF68 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8009000C 0008CF6C 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 80090010 0008CF70 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80090014 0008CF74 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 80090018 0008CF78 93 81 00 D0 */ stw r28, 0xd0(r1) -/* 8009001C 0008CF7C FF E0 08 90 */ fmr f31, f1 -/* 80090020 0008CF80 7C 7E 1B 78 */ mr r30, r3 -/* 80090024 0008CF84 7C 9F 23 78 */ mr r31, r4 -/* 80090028 0008CF88 48 07 20 B1 */ bl Think__7CWeaponFfR13CStateManager -/* 8009002C 0008CF8C 88 1E 01 90 */ lbz r0, 0x190(r30) -/* 80090030 0008CF90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80090034 0008CF94 41 82 00 D8 */ beq lbl_8009010C -/* 80090038 0008CF98 C0 3E 01 7C */ lfs f1, 0x17c(r30) -/* 8009003C 0008CF9C C0 02 8A E0 */ lfs f0, lbl_805AA800@sda21(r2) -/* 80090040 0008CFA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80090044 0008CFA4 4C 40 13 82 */ cror 2, 0, 2 -/* 80090048 0008CFA8 40 82 00 6C */ bne lbl_800900B4 -/* 8009004C 0008CFAC C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80090050 0008CFB0 7F C3 F3 78 */ mr r3, r30 -/* 80090054 0008CFB4 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80090058 0008CFB8 7F E5 FB 78 */ mr r5, r31 -/* 8009005C 0008CFBC C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80090060 0008CFC0 38 81 00 64 */ addi r4, r1, 0x64 -/* 80090064 0008CFC4 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80090068 0008CFC8 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 8009006C 0008CFCC D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 80090070 0008CFD0 48 00 05 75 */ bl Explode__5CBombFRC9CVector3fR13CStateManager -/* 80090074 0008CFD4 A0 1E 01 88 */ lhz r0, 0x188(r30) -/* 80090078 0008CFD8 7F E3 FB 78 */ mr r3, r31 -/* 8009007C 0008CFDC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80090080 0008CFE0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80090084 0008CFE4 4B FB C4 F1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80090088 0008CFE8 7C 64 1B 78 */ mr r4, r3 -/* 8009008C 0008CFEC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80090090 0008CFF0 48 01 D9 F5 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 80090094 0008CFF4 80 63 00 04 */ lwz r3, 4(r3) -/* 80090098 0008CFF8 28 03 00 00 */ cmplwi r3, 0 -/* 8009009C 0008CFFC 41 82 00 18 */ beq lbl_800900B4 -/* 800900A0 0008D000 81 83 00 00 */ lwz r12, 0(r3) -/* 800900A4 0008D004 38 80 00 01 */ li r4, 1 -/* 800900A8 0008D008 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800900AC 0008D00C 7D 89 03 A6 */ mtctr r12 -/* 800900B0 0008D010 4E 80 04 21 */ bctrl -lbl_800900B4: -/* 800900B4 0008D014 C0 3E 01 7C */ lfs f1, 0x17c(r30) -/* 800900B8 0008D018 C0 02 8A E4 */ lfs f0, lbl_805AA804@sda21(r2) -/* 800900BC 0008D01C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800900C0 0008D020 40 81 00 20 */ ble lbl_800900E0 -/* 800900C4 0008D024 80 7E 01 80 */ lwz r3, 0x180(r30) -/* 800900C8 0008D028 FC 20 F8 90 */ fmr f1, f31 -/* 800900CC 0008D02C 81 83 00 00 */ lwz r12, 0(r3) -/* 800900D0 0008D030 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800900D4 0008D034 7D 89 03 A6 */ mtctr r12 -/* 800900D8 0008D038 4E 80 04 21 */ bctrl -/* 800900DC 0008D03C 48 00 00 14 */ b lbl_800900F0 -lbl_800900E0: -/* 800900E0 0008D040 FC 20 F8 90 */ fmr f1, f31 -/* 800900E4 0008D044 7F C3 F3 78 */ mr r3, r30 -/* 800900E8 0008D048 7F E4 FB 78 */ mr r4, r31 -/* 800900EC 0008D04C 4B FF FA 05 */ bl sub_8008faf0 -lbl_800900F0: -/* 800900F0 0008D050 88 1E 01 90 */ lbz r0, 0x190(r30) -/* 800900F4 0008D054 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800900F8 0008D058 40 82 00 58 */ bne lbl_80090150 -/* 800900FC 0008D05C C0 1E 01 7C */ lfs f0, 0x17c(r30) -/* 80090100 0008D060 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80090104 0008D064 D0 1E 01 7C */ stfs f0, 0x17c(r30) -/* 80090108 0008D068 48 00 00 48 */ b lbl_80090150 -lbl_8009010C: -/* 8009010C 0008D06C FC 20 F8 90 */ fmr f1, f31 -/* 80090110 0008D070 7F C3 F3 78 */ mr r3, r30 -/* 80090114 0008D074 7F E4 FB 78 */ mr r4, r31 -/* 80090118 0008D078 4B FF F9 D9 */ bl sub_8008faf0 -/* 8009011C 0008D07C 80 7E 01 84 */ lwz r3, 0x184(r30) -/* 80090120 0008D080 81 83 00 00 */ lwz r12, 0(r3) -/* 80090124 0008D084 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 80090128 0008D088 7D 89 03 A6 */ mtctr r12 -/* 8009012C 0008D08C 4E 80 04 21 */ bctrl -/* 80090130 0008D090 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80090134 0008D094 41 82 00 1C */ beq lbl_80090150 -/* 80090138 0008D098 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8009013C 0008D09C 7F E3 FB 78 */ mr r3, r31 -/* 80090140 0008D0A0 38 81 00 0C */ addi r4, r1, 0xc -/* 80090144 0008D0A4 B0 01 00 08 */ sth r0, 8(r1) -/* 80090148 0008D0A8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8009014C 0008D0AC 4B FB C1 21 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_80090150: -/* 80090150 0008D0B0 88 1E 01 90 */ lbz r0, 0x190(r30) -/* 80090154 0008D0B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80090158 0008D0B8 41 82 02 70 */ beq lbl_800903C8 -/* 8009015C 0008D0BC C0 BE 01 64 */ lfs f5, 0x164(r30) -/* 80090160 0008D0C0 C0 9E 01 68 */ lfs f4, 0x168(r30) -/* 80090164 0008D0C4 EC 45 01 72 */ fmuls f2, f5, f5 -/* 80090168 0008D0C8 C0 DE 01 6C */ lfs f6, 0x16c(r30) -/* 8009016C 0008D0CC EC 24 01 32 */ fmuls f1, f4, f4 -/* 80090170 0008D0D0 C0 02 8A E0 */ lfs f0, lbl_805AA800@sda21(r2) -/* 80090174 0008D0D4 EC 66 01 B2 */ fmuls f3, f6, f6 -/* 80090178 0008D0D8 EC 22 08 2A */ fadds f1, f2, f1 -/* 8009017C 0008D0DC EC 23 08 2A */ fadds f1, f3, f1 -/* 80090180 0008D0E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80090184 0008D0E4 40 81 00 34 */ ble lbl_800901B8 -/* 80090188 0008D0E8 EC 5F 01 72 */ fmuls f2, f31, f5 -/* 8009018C 0008D0EC C0 7E 01 58 */ lfs f3, 0x158(r30) -/* 80090190 0008D0F0 EC 3F 01 32 */ fmuls f1, f31, f4 -/* 80090194 0008D0F4 EC 1F 01 B2 */ fmuls f0, f31, f6 -/* 80090198 0008D0F8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8009019C 0008D0FC D0 5E 01 58 */ stfs f2, 0x158(r30) -/* 800901A0 0008D100 C0 5E 01 5C */ lfs f2, 0x15c(r30) -/* 800901A4 0008D104 EC 22 08 2A */ fadds f1, f2, f1 -/* 800901A8 0008D108 D0 3E 01 5C */ stfs f1, 0x15c(r30) -/* 800901AC 0008D10C C0 3E 01 60 */ lfs f1, 0x160(r30) -/* 800901B0 0008D110 EC 01 00 2A */ fadds f0, f1, f0 -/* 800901B4 0008D114 D0 1E 01 60 */ stfs f0, 0x160(r30) -lbl_800901B8: -/* 800901B8 0008D118 C0 3E 01 58 */ lfs f1, 0x158(r30) -/* 800901BC 0008D11C C0 1E 01 5C */ lfs f0, 0x15c(r30) -/* 800901C0 0008D120 EC 41 00 72 */ fmuls f2, f1, f1 -/* 800901C4 0008D124 C0 7E 01 60 */ lfs f3, 0x160(r30) -/* 800901C8 0008D128 EC 20 00 32 */ fmuls f1, f0, f0 -/* 800901CC 0008D12C C0 02 8A E0 */ lfs f0, lbl_805AA800@sda21(r2) -/* 800901D0 0008D130 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 800901D4 0008D134 EC 22 08 2A */ fadds f1, f2, f1 -/* 800901D8 0008D138 EC 23 08 2A */ fadds f1, f3, f1 -/* 800901DC 0008D13C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800901E0 0008D140 40 81 01 E8 */ ble lbl_800903C8 -/* 800901E4 0008D144 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800901E8 0008D148 7F C3 F3 78 */ mr r3, r30 -/* 800901EC 0008D14C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 800901F0 0008D150 38 81 00 1C */ addi r4, r1, 0x1c -/* 800901F4 0008D154 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800901F8 0008D158 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 800901FC 0008D15C D0 3E 01 74 */ stfs f1, 0x174(r30) -/* 80090200 0008D160 D0 5E 01 78 */ stfs f2, 0x178(r30) -/* 80090204 0008D164 C0 5E 01 5C */ lfs f2, 0x15c(r30) -/* 80090208 0008D168 C0 3E 01 60 */ lfs f1, 0x160(r30) -/* 8009020C 0008D16C C0 1E 01 58 */ lfs f0, 0x158(r30) -/* 80090210 0008D170 EC 9F 00 B2 */ fmuls f4, f31, f2 -/* 80090214 0008D174 C0 BE 00 50 */ lfs f5, 0x50(r30) -/* 80090218 0008D178 EC 5F 00 72 */ fmuls f2, f31, f1 -/* 8009021C 0008D17C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80090220 0008D180 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80090224 0008D184 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80090228 0008D188 EC 85 20 2A */ fadds f4, f5, f4 -/* 8009022C 0008D18C EC 43 10 2A */ fadds f2, f3, f2 -/* 80090230 0008D190 EC 01 00 2A */ fadds f0, f1, f0 -/* 80090234 0008D194 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 80090238 0008D198 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8009023C 0008D19C D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80090240 0008D1A0 4B FC 2C 4D */ bl SetTranslation__6CActorFRC9CVector3f -/* 80090244 0008D1A4 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80090248 0008D1A8 38 61 00 70 */ addi r3, r1, 0x70 -/* 8009024C 0008D1AC C0 1E 01 74 */ lfs f0, 0x174(r30) -/* 80090250 0008D1B0 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80090254 0008D1B4 C0 5E 01 78 */ lfs f2, 0x178(r30) -/* 80090258 0008D1B8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8009025C 0008D1BC C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80090260 0008D1C0 C0 1E 01 70 */ lfs f0, 0x170(r30) -/* 80090264 0008D1C4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80090268 0008D1C8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8009026C 0008D1CC D0 81 00 74 */ stfs f4, 0x74(r1) -/* 80090270 0008D1D0 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80090274 0008D1D4 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80090278 0008D1D8 48 28 46 41 */ bl Magnitude__9CVector3fCFv -/* 8009027C 0008D1DC FF E0 08 90 */ fmr f31, f1 -/* 80090280 0008D1E0 C0 02 8A E0 */ lfs f0, lbl_805AA800@sda21(r2) -/* 80090284 0008D1E4 FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 80090288 0008D1E8 40 82 00 30 */ bne lbl_800902B8 -/* 8009028C 0008D1EC C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80090290 0008D1F0 7F C3 F3 78 */ mr r3, r30 -/* 80090294 0008D1F4 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80090298 0008D1F8 7F E5 FB 78 */ mr r5, r31 -/* 8009029C 0008D1FC C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800902A0 0008D200 38 81 00 58 */ addi r4, r1, 0x58 -/* 800902A4 0008D204 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800902A8 0008D208 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 800902AC 0008D20C D0 41 00 60 */ stfs f2, 0x60(r1) -/* 800902B0 0008D210 48 00 03 35 */ bl Explode__5CBombFRC9CVector3fR13CStateManager -/* 800902B4 0008D214 48 00 01 14 */ b lbl_800903C8 -lbl_800902B8: -/* 800902B8 0008D218 88 0D A2 A0 */ lbz r0, lbl_805A8E60@sda21(r13) -/* 800902BC 0008D21C 7C 00 07 75 */ extsb. r0, r0 -/* 800902C0 0008D220 40 82 00 88 */ bne lbl_80090348 -/* 800902C4 0008D224 80 AD 85 84 */ lwz r5, lbl_805A7144@sda21(r13) -/* 800902C8 0008D228 38 60 00 00 */ li r3, 0 -/* 800902CC 0008D22C 38 80 00 01 */ li r4, 1 -/* 800902D0 0008D230 48 2F 9C 25 */ bl __shl2i -/* 800902D4 0008D234 80 AD 85 88 */ lwz r5, lbl_805A7148@sda21(r13) -/* 800902D8 0008D238 7C 9C 23 78 */ mr r28, r4 -/* 800902DC 0008D23C 7C 7D 1B 78 */ mr r29, r3 -/* 800902E0 0008D240 38 60 00 00 */ li r3, 0 -/* 800902E4 0008D244 38 80 00 01 */ li r4, 1 -/* 800902E8 0008D248 48 2F 9C 0D */ bl __shl2i -/* 800902EC 0008D24C 80 AD 85 8C */ lwz r5, lbl_805A714C@sda21(r13) -/* 800902F0 0008D250 7F 9C 23 78 */ or r28, r28, r4 -/* 800902F4 0008D254 7F BD 1B 78 */ or r29, r29, r3 -/* 800902F8 0008D258 38 60 00 00 */ li r3, 0 -/* 800902FC 0008D25C 38 80 00 01 */ li r4, 1 -/* 80090300 0008D260 48 2F 9B F5 */ bl __shl2i -/* 80090304 0008D264 80 AD 85 80 */ lwz r5, lbl_805A7140@sda21(r13) -/* 80090308 0008D268 7F 9C 23 78 */ or r28, r28, r4 -/* 8009030C 0008D26C 7F BD 1B 78 */ or r29, r29, r3 -/* 80090310 0008D270 38 60 00 00 */ li r3, 0 -/* 80090314 0008D274 38 80 00 01 */ li r4, 1 -/* 80090318 0008D278 48 2F 9B DD */ bl __shl2i -/* 8009031C 0008D27C 3C A0 80 47 */ lis r5, lbl_8046C420@ha -/* 80090320 0008D280 38 C0 00 03 */ li r6, 3 -/* 80090324 0008D284 38 A5 C4 20 */ addi r5, r5, lbl_8046C420@l -/* 80090328 0008D288 38 00 00 01 */ li r0, 1 -/* 8009032C 0008D28C 90 C1 00 90 */ stw r6, 0x90(r1) -/* 80090330 0008D290 90 85 00 04 */ stw r4, 4(r5) -/* 80090334 0008D294 90 65 00 00 */ stw r3, 0(r5) -/* 80090338 0008D298 93 85 00 0C */ stw r28, 0xc(r5) -/* 8009033C 0008D29C 93 A5 00 08 */ stw r29, 8(r5) -/* 80090340 0008D2A0 90 C5 00 10 */ stw r6, 0x10(r5) -/* 80090344 0008D2A4 98 0D A2 A0 */ stb r0, lbl_805A8E60@sda21(r13) -lbl_80090348: -/* 80090348 0008D2A8 C0 02 8A E8 */ lfs f0, lbl_805AA808@sda21(r2) -/* 8009034C 0008D2AC 3C 60 80 47 */ lis r3, lbl_8046C420@ha -/* 80090350 0008D2B0 38 E3 C4 20 */ addi r7, r3, lbl_8046C420@l -/* 80090354 0008D2B4 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 80090358 0008D2B8 EC 80 F8 24 */ fdivs f4, f0, f31 -/* 8009035C 0008D2BC C0 01 00 70 */ lfs f0, 0x70(r1) -/* 80090360 0008D2C0 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 80090364 0008D2C4 7F E4 FB 78 */ mr r4, r31 -/* 80090368 0008D2C8 38 61 00 98 */ addi r3, r1, 0x98 -/* 8009036C 0008D2CC 38 BE 01 70 */ addi r5, r30, 0x170 -/* 80090370 0008D2D0 EC 64 00 B2 */ fmuls f3, f4, f2 -/* 80090374 0008D2D4 38 C1 00 4C */ addi r6, r1, 0x4c -/* 80090378 0008D2D8 EC 44 00 72 */ fmuls f2, f4, f1 -/* 8009037C 0008D2DC EC 04 00 32 */ fmuls f0, f4, f0 -/* 80090380 0008D2E0 FC 20 F8 90 */ fmr f1, f31 -/* 80090384 0008D2E4 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 80090388 0008D2E8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8009038C 0008D2EC D0 41 00 54 */ stfs f2, 0x54(r1) -/* 80090390 0008D2F0 4B FB CC 09 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80090394 0008D2F4 88 01 00 B8 */ lbz r0, 0xb8(r1) -/* 80090398 0008D2F8 28 00 00 00 */ cmplwi r0, 0 -/* 8009039C 0008D2FC 41 82 00 2C */ beq lbl_800903C8 -/* 800903A0 0008D300 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800903A4 0008D304 7F C3 F3 78 */ mr r3, r30 -/* 800903A8 0008D308 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 800903AC 0008D30C 7F E5 FB 78 */ mr r5, r31 -/* 800903B0 0008D310 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800903B4 0008D314 38 81 00 40 */ addi r4, r1, 0x40 -/* 800903B8 0008D318 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800903BC 0008D31C D0 21 00 44 */ stfs f1, 0x44(r1) -/* 800903C0 0008D320 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 800903C4 0008D324 48 00 02 21 */ bl Explode__5CBombFRC9CVector3fR13CStateManager -lbl_800903C8: -/* 800903C8 0008D328 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800903CC 0008D32C 38 81 00 34 */ addi r4, r1, 0x34 -/* 800903D0 0008D330 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 800903D4 0008D334 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800903D8 0008D338 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800903DC 0008D33C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800903E0 0008D340 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800903E4 0008D344 80 7E 01 80 */ lwz r3, 0x180(r30) -/* 800903E8 0008D348 81 83 00 00 */ lwz r12, 0(r3) -/* 800903EC 0008D34C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800903F0 0008D350 7D 89 03 A6 */ mtctr r12 -/* 800903F4 0008D354 4E 80 04 21 */ bctrl -/* 800903F8 0008D358 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800903FC 0008D35C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80090400 0008D360 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80090404 0008D364 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80090408 0008D368 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8009040C 0008D36C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80090410 0008D370 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80090414 0008D374 80 7E 01 84 */ lwz r3, 0x184(r30) -/* 80090418 0008D378 81 83 00 00 */ lwz r12, 0(r3) -/* 8009041C 0008D37C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80090420 0008D380 7D 89 03 A6 */ mtctr r12 -/* 80090424 0008D384 4E 80 04 21 */ bctrl -/* 80090428 0008D388 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8009042C 0008D38C 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80090430 0008D390 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 80090434 0008D394 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 80090438 0008D398 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 8009043C 0008D39C 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 80090440 0008D3A0 83 81 00 D0 */ lwz r28, 0xd0(r1) -/* 80090444 0008D3A4 7C 08 03 A6 */ mtlr r0 -/* 80090448 0008D3A8 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8009044C 0008D3AC 4E 80 00 20 */ blr - -.global nullsub_99 -nullsub_99: -/* 80090450 0008D3B0 4E 80 00 20 */ blr - -.global AddToRenderer__5CBombCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__5CBombCFRC14CFrustumPlanesRC13CStateManager: -/* 80090454 0008D3B4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80090458 0008D3B8 7C 08 02 A6 */ mflr r0 -/* 8009045C 0008D3BC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80090460 0008D3C0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80090464 0008D3C4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80090468 0008D3C8 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8009046C 0008D3CC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80090470 0008D3D0 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80090474 0008D3D4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80090478 0008D3D8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8009047C 0008D3DC 80 85 08 4C */ lwz r4, 0x84c(r5) -/* 80090480 0008D3E0 7C 7F 1B 78 */ mr r31, r3 -/* 80090484 0008D3E4 C3 A3 00 60 */ lfs f29, 0x60(r3) -/* 80090488 0008D3E8 C3 C3 00 50 */ lfs f30, 0x50(r3) -/* 8009048C 0008D3EC C3 E3 00 40 */ lfs f31, 0x40(r3) -/* 80090490 0008D3F0 80 64 07 68 */ lwz r3, 0x768(r4) -/* 80090494 0008D3F4 48 06 89 71 */ bl GetBallRadius__10CMorphBallCFv -/* 80090498 0008D3F8 C0 02 8A EC */ lfs f0, lbl_805AA80C@sda21(r2) -/* 8009049C 0008D3FC 38 61 00 44 */ addi r3, r1, 0x44 -/* 800904A0 0008D400 38 81 00 20 */ addi r4, r1, 0x20 -/* 800904A4 0008D404 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800904A8 0008D408 EC A0 00 72 */ fmuls f5, f0, f1 -/* 800904AC 0008D40C EC 1F 28 2A */ fadds f0, f31, f5 -/* 800904B0 0008D410 EC 9E 28 2A */ fadds f4, f30, f5 -/* 800904B4 0008D414 EC 7D 28 2A */ fadds f3, f29, f5 -/* 800904B8 0008D418 EC 5F 28 28 */ fsubs f2, f31, f5 -/* 800904BC 0008D41C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800904C0 0008D420 EC 3E 28 28 */ fsubs f1, f30, f5 -/* 800904C4 0008D424 EC 1D 28 28 */ fsubs f0, f29, f5 -/* 800904C8 0008D428 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 800904CC 0008D42C D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 800904D0 0008D430 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 800904D4 0008D434 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800904D8 0008D438 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800904DC 0008D43C 48 2A 80 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800904E0 0008D440 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 800904E4 0008D444 38 61 00 08 */ addi r3, r1, 8 -/* 800904E8 0008D448 38 C4 61 D4 */ addi r6, r4, lbl_805A61D4@l -/* 800904EC 0008D44C 38 81 00 44 */ addi r4, r1, 0x44 -/* 800904F0 0008D450 C0 46 00 04 */ lfs f2, 4(r6) -/* 800904F4 0008D454 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800904F8 0008D458 C0 26 00 14 */ lfs f1, 0x14(r6) -/* 800904FC 0008D45C C0 06 00 24 */ lfs f0, 0x24(r6) -/* 80090500 0008D460 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80090504 0008D464 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80090508 0008D468 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8009050C 0008D46C 48 2A 6C D1 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f -/* 80090510 0008D470 88 1F 01 90 */ lbz r0, 0x190(r31) -/* 80090514 0008D474 C0 41 00 08 */ lfs f2, 8(r1) -/* 80090518 0008D478 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8009051C 0008D47C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80090520 0008D480 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80090524 0008D484 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80090528 0008D488 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8009052C 0008D48C D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80090530 0008D490 41 82 00 5C */ beq lbl_8009058C -/* 80090534 0008D494 C0 3F 01 7C */ lfs f1, 0x17c(r31) -/* 80090538 0008D498 C0 02 8A E4 */ lfs f0, lbl_805AA804@sda21(r2) -/* 8009053C 0008D49C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80090540 0008D4A0 40 81 00 28 */ ble lbl_80090568 -/* 80090544 0008D4A4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80090548 0008D4A8 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8009054C 0008D4AC 38 C1 00 44 */ addi r6, r1, 0x44 -/* 80090550 0008D4B0 80 9F 01 80 */ lwz r4, 0x180(r31) -/* 80090554 0008D4B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80090558 0008D4B8 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8009055C 0008D4BC 7D 89 03 A6 */ mtctr r12 -/* 80090560 0008D4C0 4E 80 04 21 */ bctrl -/* 80090564 0008D4C4 48 00 00 48 */ b lbl_800905AC -lbl_80090568: -/* 80090568 0008D4C8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8009056C 0008D4CC 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80090570 0008D4D0 38 C1 00 44 */ addi r6, r1, 0x44 -/* 80090574 0008D4D4 80 9F 01 84 */ lwz r4, 0x184(r31) -/* 80090578 0008D4D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8009057C 0008D4DC 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80090580 0008D4E0 7D 89 03 A6 */ mtctr r12 -/* 80090584 0008D4E4 4E 80 04 21 */ bctrl -/* 80090588 0008D4E8 48 00 00 24 */ b lbl_800905AC -lbl_8009058C: -/* 8009058C 0008D4EC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80090590 0008D4F0 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80090594 0008D4F4 38 C1 00 44 */ addi r6, r1, 0x44 -/* 80090598 0008D4F8 80 9F 01 84 */ lwz r4, 0x184(r31) -/* 8009059C 0008D4FC 81 83 00 00 */ lwz r12, 0(r3) -/* 800905A0 0008D500 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 800905A4 0008D504 7D 89 03 A6 */ mtctr r12 -/* 800905A8 0008D508 4E 80 04 21 */ bctrl -lbl_800905AC: -/* 800905AC 0008D50C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 800905B0 0008D510 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 800905B4 0008D514 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 800905B8 0008D518 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 800905BC 0008D51C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 800905C0 0008D520 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 800905C4 0008D524 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 800905C8 0008D528 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800905CC 0008D52C 7C 08 03 A6 */ mtlr r0 -/* 800905D0 0008D530 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 800905D4 0008D534 4E 80 00 20 */ blr - -.global Touch__5CBombFR6CActorR13CStateManager -Touch__5CBombFR6CActorR13CStateManager: -/* 800905D8 0008D538 88 03 01 90 */ lbz r0, 0x190(r3) -/* 800905DC 0008D53C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800905E0 0008D540 4E 80 00 20 */ blr - -.global Explode__5CBombFRC9CVector3fR13CStateManager -Explode__5CBombFRC9CVector3fR13CStateManager: -/* 800905E4 0008D544 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800905E8 0008D548 7C 08 02 A6 */ mflr r0 -/* 800905EC 0008D54C 90 01 00 54 */ stw r0, 0x54(r1) -/* 800905F0 0008D550 39 01 00 28 */ addi r8, r1, 0x28 -/* 800905F4 0008D554 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800905F8 0008D558 7C BF 2B 78 */ mr r31, r5 -/* 800905FC 0008D55C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80090600 0008D560 7C 9E 23 78 */ mr r30, r4 -/* 80090604 0008D564 7F C6 F3 78 */ mr r6, r30 -/* 80090608 0008D568 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8009060C 0008D56C 7C 7D 1B 78 */ mr r29, r3 -/* 80090610 0008D570 7F A5 EB 78 */ mr r5, r29 -/* 80090614 0008D574 80 03 00 F8 */ lwz r0, 0xf8(r3) -/* 80090618 0008D578 38 FD 01 2C */ addi r7, r29, 0x12c -/* 8009061C 0008D57C 80 83 00 FC */ lwz r4, 0xfc(r3) -/* 80090620 0008D580 7F E3 FB 78 */ mr r3, r31 -/* 80090624 0008D584 90 81 00 2C */ stw r4, 0x2c(r1) -/* 80090628 0008D588 38 81 00 14 */ addi r4, r1, 0x14 -/* 8009062C 0008D58C 90 01 00 28 */ stw r0, 0x28(r1) -/* 80090630 0008D590 80 1D 01 00 */ lwz r0, 0x100(r29) -/* 80090634 0008D594 81 3D 01 04 */ lwz r9, 0x104(r29) -/* 80090638 0008D598 91 21 00 34 */ stw r9, 0x34(r1) -/* 8009063C 0008D59C 90 01 00 30 */ stw r0, 0x30(r1) -/* 80090640 0008D5A0 80 1D 01 08 */ lwz r0, 0x108(r29) -/* 80090644 0008D5A4 90 01 00 38 */ stw r0, 0x38(r1) -/* 80090648 0008D5A8 A0 1D 00 EC */ lhz r0, 0xec(r29) -/* 8009064C 0008D5AC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80090650 0008D5B0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80090654 0008D5B4 4B FB 86 59 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter -/* 80090658 0008D5B8 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 8009065C 0008D5BC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80090660 0008D5C0 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80090664 0008D5C4 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80090668 0008D5C8 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 8009066C 0008D5CC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80090670 0008D5D0 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 80090674 0008D5D4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80090678 0008D5D8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8009067C 0008D5DC 38 80 06 DE */ li r4, 0x6de -/* 80090680 0008D5E0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80090684 0008D5E4 38 E0 00 01 */ li r7, 1 -/* 80090688 0008D5E8 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8009068C 0008D5EC 39 00 00 00 */ li r8, 0 -/* 80090690 0008D5F0 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80090694 0008D5F4 48 25 9C 1D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 80090698 0008D5F8 7F E3 FB 78 */ mr r3, r31 -/* 8009069C 0008D5FC 7F C4 F3 78 */ mr r4, r30 -/* 800906A0 0008D600 38 A0 00 01 */ li r5, 1 -/* 800906A4 0008D604 4B FB 80 E1 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType -/* 800906A8 0008D608 A0 1D 00 EC */ lhz r0, 0xec(r29) -/* 800906AC 0008D60C 7F E3 FB 78 */ mr r3, r31 -/* 800906B0 0008D610 80 BD 00 F0 */ lwz r5, 0xf0(r29) -/* 800906B4 0008D614 38 81 00 0C */ addi r4, r1, 0xc -/* 800906B8 0008D618 B0 01 00 08 */ sth r0, 8(r1) -/* 800906BC 0008D61C B0 01 00 0C */ sth r0, 0xc(r1) -/* 800906C0 0008D620 4B FB 46 19 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType -/* 800906C4 0008D624 88 1D 01 90 */ lbz r0, 0x190(r29) -/* 800906C8 0008D628 38 60 00 00 */ li r3, 0 -/* 800906CC 0008D62C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800906D0 0008D630 98 1D 01 90 */ stb r0, 0x190(r29) -/* 800906D4 0008D634 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800906D8 0008D638 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800906DC 0008D63C 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 800906E0 0008D640 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800906E4 0008D644 7C 08 03 A6 */ mtlr r0 -/* 800906E8 0008D648 38 21 00 50 */ addi r1, r1, 0x50 -/* 800906EC 0008D64C 4E 80 00 20 */ blr - -.global __dt__5CBombFv -__dt__5CBombFv: -/* 800906F0 0008D650 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800906F4 0008D654 7C 08 02 A6 */ mflr r0 -/* 800906F8 0008D658 90 01 00 14 */ stw r0, 0x14(r1) -/* 800906FC 0008D65C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80090700 0008D660 7C 9F 23 78 */ mr r31, r4 -/* 80090704 0008D664 93 C1 00 08 */ stw r30, 8(r1) -/* 80090708 0008D668 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8009070C 0008D66C 41 82 00 7C */ beq lbl_80090788 -/* 80090710 0008D670 3C 60 80 3E */ lis r3, lbl_803DACC0@ha -/* 80090714 0008D674 34 1E 01 84 */ addic. r0, r30, 0x184 -/* 80090718 0008D678 38 03 AC C0 */ addi r0, r3, lbl_803DACC0@l -/* 8009071C 0008D67C 90 1E 00 00 */ stw r0, 0(r30) -/* 80090720 0008D680 41 82 00 24 */ beq lbl_80090744 -/* 80090724 0008D684 80 7E 01 84 */ lwz r3, 0x184(r30) -/* 80090728 0008D688 28 03 00 00 */ cmplwi r3, 0 -/* 8009072C 0008D68C 41 82 00 18 */ beq lbl_80090744 -/* 80090730 0008D690 81 83 00 00 */ lwz r12, 0(r3) -/* 80090734 0008D694 38 80 00 01 */ li r4, 1 -/* 80090738 0008D698 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009073C 0008D69C 7D 89 03 A6 */ mtctr r12 -/* 80090740 0008D6A0 4E 80 04 21 */ bctrl -lbl_80090744: -/* 80090744 0008D6A4 34 1E 01 80 */ addic. r0, r30, 0x180 -/* 80090748 0008D6A8 41 82 00 24 */ beq lbl_8009076C -/* 8009074C 0008D6AC 80 7E 01 80 */ lwz r3, 0x180(r30) -/* 80090750 0008D6B0 28 03 00 00 */ cmplwi r3, 0 -/* 80090754 0008D6B4 41 82 00 18 */ beq lbl_8009076C -/* 80090758 0008D6B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8009075C 0008D6BC 38 80 00 01 */ li r4, 1 -/* 80090760 0008D6C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80090764 0008D6C4 7D 89 03 A6 */ mtctr r12 -/* 80090768 0008D6C8 4E 80 04 21 */ bctrl -lbl_8009076C: -/* 8009076C 0008D6CC 7F C3 F3 78 */ mr r3, r30 -/* 80090770 0008D6D0 38 80 00 00 */ li r4, 0 -/* 80090774 0008D6D4 48 07 1A C1 */ bl __dt__7CWeaponFv -/* 80090778 0008D6D8 7F E0 07 35 */ extsh. r0, r31 -/* 8009077C 0008D6DC 40 81 00 0C */ ble lbl_80090788 -/* 80090780 0008D6E0 7F C3 F3 78 */ mr r3, r30 -/* 80090784 0008D6E4 48 28 51 AD */ bl Free__7CMemoryFPCv -lbl_80090788: -/* 80090788 0008D6E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009078C 0008D6EC 7F C3 F3 78 */ mr r3, r30 -/* 80090790 0008D6F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80090794 0008D6F4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80090798 0008D6F8 7C 08 03 A6 */ mtlr r0 -/* 8009079C 0008D6FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800907A0 0008D700 4E 80 00 20 */ blr - -.global "__ct__5CBombF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdfRC12CTransform4fRC11CDamageInfo" -"__ct__5CBombF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdfRC12CTransform4fRC11CDamageInfo": -/* 800907A4 0008D704 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 800907A8 0008D708 7C 08 02 A6 */ mflr r0 -/* 800907AC 0008D70C 90 01 01 34 */ stw r0, 0x134(r1) -/* 800907B0 0008D710 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 800907B4 0008D714 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 800907B8 0008D718 BE 61 00 EC */ stmw r19, 0xec(r1) -/* 800907BC 0008D71C 3D 60 80 3D */ lis r11, lbl_803CD6A8@ha -/* 800907C0 0008D720 FF E0 08 90 */ fmr f31, f1 -/* 800907C4 0008D724 39 6B D6 A8 */ addi r11, r11, lbl_803CD6A8@l -/* 800907C8 0008D728 7C 7E 1B 78 */ mr r30, r3 -/* 800907CC 0008D72C 7C 98 23 78 */ mr r24, r4 -/* 800907D0 0008D730 7C BF 2B 78 */ mr r31, r5 -/* 800907D4 0008D734 7C D9 33 78 */ mr r25, r6 -/* 800907D8 0008D738 7C FA 3B 78 */ mr r26, r7 -/* 800907DC 0008D73C 7D 1B 43 78 */ mr r27, r8 -/* 800907E0 0008D740 7D 3C 4B 78 */ mr r28, r9 -/* 800907E4 0008D744 7D 5D 53 78 */ mr r29, r10 -/* 800907E8 0008D748 38 61 00 68 */ addi r3, r1, 0x68 -/* 800907EC 0008D74C 38 8B 00 13 */ addi r4, r11, 0x13 -/* 800907F0 0008D750 4B F7 44 C9 */ bl string_l__4rstlFPCc -/* 800907F4 0008D754 38 61 00 90 */ addi r3, r1, 0x90 -/* 800907F8 0008D758 4B FA 9F AD */ bl CModelDataNull__10CModelDataFv -/* 800907FC 0008D75C 38 00 00 00 */ li r0, 0 -/* 80090800 0008D760 80 AD 85 78 */ lwz r5, lbl_805A7138@sda21(r13) -/* 80090804 0008D764 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80090808 0008D768 38 60 00 00 */ li r3, 0 -/* 8009080C 0008D76C 38 80 00 01 */ li r4, 1 -/* 80090810 0008D770 90 01 00 48 */ stw r0, 0x48(r1) -/* 80090814 0008D774 48 2F 96 E1 */ bl __shl2i -/* 80090818 0008D778 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8009081C 0008D77C 80 C1 00 4C */ lwz r6, 0x4c(r1) -/* 80090820 0008D780 7C 00 1B 78 */ or r0, r0, r3 -/* 80090824 0008D784 80 AD 85 7C */ lwz r5, lbl_805A713C@sda21(r13) -/* 80090828 0008D788 7C C4 23 78 */ or r4, r6, r4 -/* 8009082C 0008D78C 90 01 00 48 */ stw r0, 0x48(r1) -/* 80090830 0008D790 38 60 00 00 */ li r3, 0 -/* 80090834 0008D794 90 81 00 4C */ stw r4, 0x4c(r1) -/* 80090838 0008D798 38 80 00 01 */ li r4, 1 -/* 8009083C 0008D79C 48 2F 96 B9 */ bl __shl2i -/* 80090840 0008D7A0 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80090844 0008D7A4 80 C1 00 4C */ lwz r6, 0x4c(r1) -/* 80090848 0008D7A8 7C 00 1B 78 */ or r0, r0, r3 -/* 8009084C 0008D7AC 80 AD 85 70 */ lwz r5, lbl_805A7130@sda21(r13) -/* 80090850 0008D7B0 7C C4 23 78 */ or r4, r6, r4 -/* 80090854 0008D7B4 90 01 00 48 */ stw r0, 0x48(r1) -/* 80090858 0008D7B8 38 60 00 00 */ li r3, 0 -/* 8009085C 0008D7BC 90 81 00 4C */ stw r4, 0x4c(r1) -/* 80090860 0008D7C0 38 80 00 01 */ li r4, 1 -/* 80090864 0008D7C4 48 2F 96 91 */ bl __shl2i -/* 80090868 0008D7C8 80 AD 85 74 */ lwz r5, lbl_805A7134@sda21(r13) -/* 8009086C 0008D7CC 7C 96 23 78 */ mr r22, r4 -/* 80090870 0008D7D0 7C 77 1B 78 */ mr r23, r3 -/* 80090874 0008D7D4 38 60 00 00 */ li r3, 0 -/* 80090878 0008D7D8 38 80 00 01 */ li r4, 1 -/* 8009087C 0008D7DC 48 2F 96 79 */ bl __shl2i -/* 80090880 0008D7E0 80 AD 85 64 */ lwz r5, lbl_805A7124@sda21(r13) -/* 80090884 0008D7E4 7E D6 23 78 */ or r22, r22, r4 -/* 80090888 0008D7E8 7E F7 1B 78 */ or r23, r23, r3 -/* 8009088C 0008D7EC 38 60 00 00 */ li r3, 0 -/* 80090890 0008D7F0 38 80 00 01 */ li r4, 1 -/* 80090894 0008D7F4 48 2F 96 61 */ bl __shl2i -/* 80090898 0008D7F8 80 AD 85 68 */ lwz r5, lbl_805A7128@sda21(r13) -/* 8009089C 0008D7FC 7C 94 23 78 */ mr r20, r4 -/* 800908A0 0008D800 7C 75 1B 78 */ mr r21, r3 -/* 800908A4 0008D804 38 60 00 00 */ li r3, 0 -/* 800908A8 0008D808 38 80 00 01 */ li r4, 1 -/* 800908AC 0008D80C 48 2F 96 49 */ bl __shl2i -/* 800908B0 0008D810 80 AD 85 6C */ lwz r5, lbl_805A712C@sda21(r13) -/* 800908B4 0008D814 7E 94 23 78 */ or r20, r20, r4 -/* 800908B8 0008D818 7E B5 1B 78 */ or r21, r21, r3 -/* 800908BC 0008D81C 38 60 00 00 */ li r3, 0 -/* 800908C0 0008D820 38 80 00 01 */ li r4, 1 -/* 800908C4 0008D824 48 2F 96 31 */ bl __shl2i -/* 800908C8 0008D828 A3 7B 00 00 */ lhz r27, 0(r27) -/* 800908CC 0008D82C 7E 94 23 78 */ or r20, r20, r4 -/* 800908D0 0008D830 7E B5 1B 78 */ or r21, r21, r3 -/* 800908D4 0008D834 83 5A 00 00 */ lwz r26, 0(r26) -/* 800908D8 0008D838 A3 39 00 00 */ lhz r25, 0(r25) -/* 800908DC 0008D83C 3A 60 00 03 */ li r19, 3 -/* 800908E0 0008D840 92 81 00 7C */ stw r20, 0x7c(r1) -/* 800908E4 0008D844 3A 81 00 78 */ addi r20, r1, 0x78 -/* 800908E8 0008D848 39 81 00 48 */ addi r12, r1, 0x48 -/* 800908EC 0008D84C 39 60 01 00 */ li r11, 0x100 -/* 800908F0 0008D850 92 A1 00 78 */ stw r21, 0x78(r1) -/* 800908F4 0008D854 38 01 00 90 */ addi r0, r1, 0x90 -/* 800908F8 0008D858 7F C3 F3 78 */ mr r3, r30 -/* 800908FC 0008D85C 7F 8A E3 78 */ mr r10, r28 -/* 80090900 0008D860 92 C1 00 84 */ stw r22, 0x84(r1) -/* 80090904 0008D864 38 81 00 24 */ addi r4, r1, 0x24 -/* 80090908 0008D868 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8009090C 0008D86C 38 E1 00 20 */ addi r7, r1, 0x20 -/* 80090910 0008D870 92 E1 00 80 */ stw r23, 0x80(r1) -/* 80090914 0008D874 39 21 00 68 */ addi r9, r1, 0x68 -/* 80090918 0008D878 38 C0 00 01 */ li r6, 1 -/* 8009091C 0008D87C 39 00 00 04 */ li r8, 4 -/* 80090920 0008D880 92 61 00 88 */ stw r19, 0x88(r1) -/* 80090924 0008D884 B3 61 00 20 */ sth r27, 0x20(r1) -/* 80090928 0008D888 93 41 00 28 */ stw r26, 0x28(r1) -/* 8009092C 0008D88C B3 21 00 24 */ sth r25, 0x24(r1) -/* 80090930 0008D890 92 81 00 08 */ stw r20, 8(r1) -/* 80090934 0008D894 91 81 00 0C */ stw r12, 0xc(r1) -/* 80090938 0008D898 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8009093C 0008D89C 91 61 00 14 */ stw r11, 0x14(r1) -/* 80090940 0008D8A0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80090944 0008D8A4 48 07 19 51 */ bl "__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData" -/* 80090948 0008D8A8 38 61 00 90 */ addi r3, r1, 0x90 -/* 8009094C 0008D8AC 38 80 FF FF */ li r4, -1 -/* 80090950 0008D8B0 48 08 60 FD */ bl __dt__10CModelDataFv -/* 80090954 0008D8B4 38 61 00 68 */ addi r3, r1, 0x68 -/* 80090958 0008D8B8 48 2A D1 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009095C 0008D8BC 3C 60 80 3E */ lis r3, lbl_803DACC0@ha -/* 80090960 0008D8C0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80090964 0008D8C4 38 03 AC C0 */ addi r0, r3, lbl_803DACC0@l -/* 80090968 0008D8C8 3A 80 00 00 */ li r20, 0 -/* 8009096C 0008D8CC 90 1E 00 00 */ stw r0, 0(r30) -/* 80090970 0008D8D0 38 C4 66 A0 */ addi r6, r4, skZero3f@l -/* 80090974 0008D8D4 3C 60 80 3D */ lis r3, lbl_803CD6A8@ha -/* 80090978 0008D8D8 38 A0 00 00 */ li r5, 0 -/* 8009097C 0008D8DC C0 06 00 00 */ lfs f0, 0(r6) -/* 80090980 0008D8E0 38 83 D6 A8 */ addi r4, r3, lbl_803CD6A8@l -/* 80090984 0008D8E4 38 60 03 40 */ li r3, 0x340 -/* 80090988 0008D8E8 D0 1E 01 58 */ stfs f0, 0x158(r30) -/* 8009098C 0008D8EC C0 06 00 04 */ lfs f0, 4(r6) -/* 80090990 0008D8F0 D0 1E 01 5C */ stfs f0, 0x15c(r30) -/* 80090994 0008D8F4 C0 06 00 08 */ lfs f0, 8(r6) -/* 80090998 0008D8F8 D0 1E 01 60 */ stfs f0, 0x160(r30) -/* 8009099C 0008D8FC C0 06 00 00 */ lfs f0, 0(r6) -/* 800909A0 0008D900 D0 1E 01 64 */ stfs f0, 0x164(r30) -/* 800909A4 0008D904 C0 06 00 04 */ lfs f0, 4(r6) -/* 800909A8 0008D908 D0 1E 01 68 */ stfs f0, 0x168(r30) -/* 800909AC 0008D90C C0 06 00 08 */ lfs f0, 8(r6) -/* 800909B0 0008D910 D0 1E 01 6C */ stfs f0, 0x16c(r30) -/* 800909B4 0008D914 C0 5C 00 2C */ lfs f2, 0x2c(r28) -/* 800909B8 0008D918 C0 3C 00 1C */ lfs f1, 0x1c(r28) -/* 800909BC 0008D91C C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 800909C0 0008D920 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 800909C4 0008D924 D0 3E 01 74 */ stfs f1, 0x174(r30) -/* 800909C8 0008D928 D0 5E 01 78 */ stfs f2, 0x178(r30) -/* 800909CC 0008D92C D3 FE 01 7C */ stfs f31, 0x17c(r30) -/* 800909D0 0008D930 48 28 4E 9D */ bl __nw__FUlPCcPCc -/* 800909D4 0008D934 7C 73 1B 79 */ or. r19, r3, r3 -/* 800909D8 0008D938 41 82 00 2C */ beq lbl_80090A04 -/* 800909DC 0008D93C 7F 04 C3 78 */ mr r4, r24 -/* 800909E0 0008D940 38 61 00 3C */ addi r3, r1, 0x3c -/* 800909E4 0008D944 48 2B 04 C5 */ bl __ct__6CTokenFRC6CToken -/* 800909E8 0008D948 7E 63 9B 78 */ mr r3, r19 -/* 800909EC 0008D94C 38 81 00 3C */ addi r4, r1, 0x3c -/* 800909F0 0008D950 3A 80 00 01 */ li r20, 1 -/* 800909F4 0008D954 38 A0 00 00 */ li r5, 0 -/* 800909F8 0008D958 38 C0 00 01 */ li r6, 1 -/* 800909FC 0008D95C 48 28 E9 E5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80090A00 0008D960 7C 73 1B 78 */ mr r19, r3 -lbl_80090A04: -/* 80090A04 0008D964 7E 80 07 75 */ extsb. r0, r20 -/* 80090A08 0008D968 92 7E 01 80 */ stw r19, 0x180(r30) -/* 80090A0C 0008D96C 41 82 00 10 */ beq lbl_80090A1C -/* 80090A10 0008D970 38 61 00 3C */ addi r3, r1, 0x3c -/* 80090A14 0008D974 38 80 00 00 */ li r4, 0 -/* 80090A18 0008D978 48 2B 04 29 */ bl __dt__6CTokenFv -lbl_80090A1C: -/* 80090A1C 0008D97C 3C 60 80 3D */ lis r3, lbl_803CD6A8@ha -/* 80090A20 0008D980 3A 80 00 00 */ li r20, 0 -/* 80090A24 0008D984 38 83 D6 A8 */ addi r4, r3, lbl_803CD6A8@l -/* 80090A28 0008D988 38 A0 00 00 */ li r5, 0 -/* 80090A2C 0008D98C 38 60 03 40 */ li r3, 0x340 -/* 80090A30 0008D990 48 28 4E 3D */ bl __nw__FUlPCcPCc -/* 80090A34 0008D994 7C 73 1B 79 */ or. r19, r3, r3 -/* 80090A38 0008D998 41 82 00 2C */ beq lbl_80090A64 -/* 80090A3C 0008D99C 7F E4 FB 78 */ mr r4, r31 -/* 80090A40 0008D9A0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80090A44 0008D9A4 48 2B 04 65 */ bl __ct__6CTokenFRC6CToken -/* 80090A48 0008D9A8 7E 63 9B 78 */ mr r3, r19 -/* 80090A4C 0008D9AC 38 81 00 34 */ addi r4, r1, 0x34 -/* 80090A50 0008D9B0 3A 80 00 01 */ li r20, 1 -/* 80090A54 0008D9B4 38 A0 00 00 */ li r5, 0 -/* 80090A58 0008D9B8 38 C0 00 01 */ li r6, 1 -/* 80090A5C 0008D9BC 48 28 E9 85 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80090A60 0008D9C0 7C 73 1B 78 */ mr r19, r3 -lbl_80090A64: -/* 80090A64 0008D9C4 7E 80 07 75 */ extsb. r0, r20 -/* 80090A68 0008D9C8 92 7E 01 84 */ stw r19, 0x184(r30) -/* 80090A6C 0008D9CC 41 82 00 10 */ beq lbl_80090A7C -/* 80090A70 0008D9D0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80090A74 0008D9D4 38 80 00 00 */ li r4, 0 -/* 80090A78 0008D9D8 48 2B 03 C9 */ bl __dt__6CTokenFv -lbl_80090A7C: -/* 80090A7C 0008D9DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80090A80 0008D9E0 7F E4 FB 78 */ mr r4, r31 -/* 80090A84 0008D9E4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80090A88 0008D9E8 B0 1E 01 88 */ sth r0, 0x188(r30) -/* 80090A8C 0008D9EC 48 2B 04 1D */ bl __ct__6CTokenFRC6CToken -/* 80090A90 0008D9F0 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 80090A94 0008D9F4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80090A98 0008D9F8 38 80 FF FF */ li r4, -1 -/* 80090A9C 0008D9FC 80 05 00 08 */ lwz r0, 8(r5) -/* 80090AA0 0008DA00 90 1E 01 8C */ stw r0, 0x18c(r30) -/* 80090AA4 0008DA04 48 2B 03 9D */ bl __dt__6CTokenFv -/* 80090AA8 0008DA08 88 1E 01 90 */ lbz r0, 0x190(r30) -/* 80090AAC 0008DA0C 38 60 00 01 */ li r3, 1 -/* 80090AB0 0008DA10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80090AB4 0008DA14 38 60 00 00 */ li r3, 0 -/* 80090AB8 0008DA18 98 1E 01 90 */ stb r0, 0x190(r30) -/* 80090ABC 0008DA1C 38 81 00 5C */ addi r4, r1, 0x5c -/* 80090AC0 0008DA20 88 1E 01 90 */ lbz r0, 0x190(r30) -/* 80090AC4 0008DA24 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80090AC8 0008DA28 98 1E 01 90 */ stb r0, 0x190(r30) -/* 80090ACC 0008DA2C 88 1E 01 90 */ lbz r0, 0x190(r30) -/* 80090AD0 0008DA30 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80090AD4 0008DA34 98 1E 01 90 */ stb r0, 0x190(r30) -/* 80090AD8 0008DA38 C0 5C 00 2C */ lfs f2, 0x2c(r28) -/* 80090ADC 0008DA3C C0 3C 00 1C */ lfs f1, 0x1c(r28) -/* 80090AE0 0008DA40 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 80090AE4 0008DA44 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80090AE8 0008DA48 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80090AEC 0008DA4C D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80090AF0 0008DA50 80 7E 01 80 */ lwz r3, 0x180(r30) -/* 80090AF4 0008DA54 81 83 00 00 */ lwz r12, 0(r3) -/* 80090AF8 0008DA58 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80090AFC 0008DA5C 7D 89 03 A6 */ mtctr r12 -/* 80090B00 0008DA60 4E 80 04 21 */ bctrl -/* 80090B04 0008DA64 C0 5C 00 2C */ lfs f2, 0x2c(r28) -/* 80090B08 0008DA68 38 81 00 50 */ addi r4, r1, 0x50 -/* 80090B0C 0008DA6C C0 3C 00 1C */ lfs f1, 0x1c(r28) -/* 80090B10 0008DA70 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 80090B14 0008DA74 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80090B18 0008DA78 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80090B1C 0008DA7C D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80090B20 0008DA80 80 7E 01 84 */ lwz r3, 0x184(r30) -/* 80090B24 0008DA84 81 83 00 00 */ lwz r12, 0(r3) -/* 80090B28 0008DA88 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80090B2C 0008DA8C 7D 89 03 A6 */ mtctr r12 -/* 80090B30 0008DA90 4E 80 04 21 */ bctrl -/* 80090B34 0008DA94 7F C3 F3 78 */ mr r3, r30 -/* 80090B38 0008DA98 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 80090B3C 0008DA9C CB E1 01 20 */ lfd f31, 0x120(r1) -/* 80090B40 0008DAA0 BA 61 00 EC */ lmw r19, 0xec(r1) -/* 80090B44 0008DAA4 80 01 01 34 */ lwz r0, 0x134(r1) -/* 80090B48 0008DAA8 7C 08 03 A6 */ mtlr r0 -/* 80090B4C 0008DAAC 38 21 01 30 */ addi r1, r1, 0x130 -/* 80090B50 0008DAB0 4E 80 00 20 */ blr - -.global __ct__10CTweakBallFR12CInputStream -__ct__10CTweakBallFR12CInputStream: -/* 80090B54 0008DAB4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80090B58 0008DAB8 7C 08 02 A6 */ mflr r0 -/* 80090B5C 0008DABC 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha -/* 80090B60 0008DAC0 3C A0 80 3E */ lis r5, lbl_803DAD30@ha -/* 80090B64 0008DAC4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80090B68 0008DAC8 38 C6 9C C4 */ addi r6, r6, lbl_803D9CC4@l -/* 80090B6C 0008DACC 38 05 AD 30 */ addi r0, r5, lbl_803DAD30@l -/* 80090B70 0008DAD0 C0 22 8A F0 */ lfs f1, lbl_805AA810@sda21(r2) -/* 80090B74 0008DAD4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80090B78 0008DAD8 7C 7F 1B 78 */ mr r31, r3 -/* 80090B7C 0008DADC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80090B80 0008DAE0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80090B84 0008DAE4 3B C0 00 00 */ li r30, 0 -/* 80090B88 0008DAE8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80090B8C 0008DAEC 3B A0 00 00 */ li r29, 0 -/* 80090B90 0008DAF0 93 81 00 30 */ stw r28, 0x30(r1) -/* 80090B94 0008DAF4 7C 9C 23 78 */ mr r28, r4 -/* 80090B98 0008DAF8 90 DF 00 00 */ stw r6, 0(r31) -/* 80090B9C 0008DAFC 90 1F 00 00 */ stw r0, 0(r31) -/* 80090BA0 0008DB00 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 80090BA4 0008DB04 D0 1F 00 78 */ stfs f0, 0x78(r31) -/* 80090BA8 0008DB08 C0 03 00 04 */ lfs f0, 4(r3) -/* 80090BAC 0008DB0C D0 1F 00 7C */ stfs f0, 0x7c(r31) -/* 80090BB0 0008DB10 C0 03 00 08 */ lfs f0, 8(r3) -/* 80090BB4 0008DB14 D0 1F 00 80 */ stfs f0, 0x80(r31) -/* 80090BB8 0008DB18 D0 3F 01 58 */ stfs f1, 0x158(r31) -/* 80090BBC 0008DB1C C0 03 00 00 */ lfs f0, 0(r3) -/* 80090BC0 0008DB20 D0 1F 01 8C */ stfs f0, 0x18c(r31) -/* 80090BC4 0008DB24 C0 03 00 04 */ lfs f0, 4(r3) -/* 80090BC8 0008DB28 D0 1F 01 90 */ stfs f0, 0x190(r31) -/* 80090BCC 0008DB2C C0 03 00 08 */ lfs f0, 8(r3) -/* 80090BD0 0008DB30 D0 1F 01 94 */ stfs f0, 0x194(r31) -/* 80090BD4 0008DB34 C0 03 00 00 */ lfs f0, 0(r3) -/* 80090BD8 0008DB38 D0 1F 01 B8 */ stfs f0, 0x1b8(r31) -/* 80090BDC 0008DB3C C0 03 00 04 */ lfs f0, 4(r3) -/* 80090BE0 0008DB40 D0 1F 01 BC */ stfs f0, 0x1bc(r31) -/* 80090BE4 0008DB44 C0 03 00 08 */ lfs f0, 8(r3) -/* 80090BE8 0008DB48 D0 1F 01 C0 */ stfs f0, 0x1c0(r31) -/* 80090BEC 0008DB4C D0 3F 01 EC */ stfs f1, 0x1ec(r31) -lbl_80090BF0: -/* 80090BF0 0008DB50 7F 83 E3 78 */ mr r3, r28 -/* 80090BF4 0008DB54 48 2A E0 35 */ bl ReadFloat__12CInputStreamFv -/* 80090BF8 0008DB58 3B BD 00 01 */ addi r29, r29, 1 -/* 80090BFC 0008DB5C 38 1E 00 04 */ addi r0, r30, 4 -/* 80090C00 0008DB60 2C 1D 00 08 */ cmpwi r29, 8 -/* 80090C04 0008DB64 7C 3F 05 2E */ stfsx f1, r31, r0 -/* 80090C08 0008DB68 3B DE 00 04 */ addi r30, r30, 4 -/* 80090C0C 0008DB6C 41 80 FF E4 */ blt lbl_80090BF0 -/* 80090C10 0008DB70 3B A0 00 00 */ li r29, 0 -/* 80090C14 0008DB74 7F BE EB 78 */ mr r30, r29 -lbl_80090C18: -/* 80090C18 0008DB78 7F 83 E3 78 */ mr r3, r28 -/* 80090C1C 0008DB7C 48 2A E0 0D */ bl ReadFloat__12CInputStreamFv -/* 80090C20 0008DB80 3B BD 00 01 */ addi r29, r29, 1 -/* 80090C24 0008DB84 38 1E 00 24 */ addi r0, r30, 0x24 -/* 80090C28 0008DB88 2C 1D 00 08 */ cmpwi r29, 8 -/* 80090C2C 0008DB8C 7C 3F 05 2E */ stfsx f1, r31, r0 -/* 80090C30 0008DB90 3B DE 00 04 */ addi r30, r30, 4 -/* 80090C34 0008DB94 41 80 FF E4 */ blt lbl_80090C18 -/* 80090C38 0008DB98 3B A0 00 00 */ li r29, 0 -/* 80090C3C 0008DB9C 7F BE EB 78 */ mr r30, r29 -lbl_80090C40: -/* 80090C40 0008DBA0 7F 83 E3 78 */ mr r3, r28 -/* 80090C44 0008DBA4 48 2A DF E5 */ bl ReadFloat__12CInputStreamFv -/* 80090C48 0008DBA8 3B BD 00 01 */ addi r29, r29, 1 -/* 80090C4C 0008DBAC 38 1E 00 44 */ addi r0, r30, 0x44 -/* 80090C50 0008DBB0 2C 1D 00 08 */ cmpwi r29, 8 -/* 80090C54 0008DBB4 7C 3F 05 2E */ stfsx f1, r31, r0 -/* 80090C58 0008DBB8 3B DE 00 04 */ addi r30, r30, 4 -/* 80090C5C 0008DBBC 41 80 FF E4 */ blt lbl_80090C40 -/* 80090C60 0008DBC0 7F 83 E3 78 */ mr r3, r28 -/* 80090C64 0008DBC4 48 2A DF C5 */ bl ReadFloat__12CInputStreamFv -/* 80090C68 0008DBC8 D0 3F 00 64 */ stfs f1, 0x64(r31) -/* 80090C6C 0008DBCC 7F 83 E3 78 */ mr r3, r28 -/* 80090C70 0008DBD0 48 2A DF B9 */ bl ReadFloat__12CInputStreamFv -/* 80090C74 0008DBD4 D0 3F 00 68 */ stfs f1, 0x68(r31) -/* 80090C78 0008DBD8 7F 83 E3 78 */ mr r3, r28 -/* 80090C7C 0008DBDC 48 2A DF AD */ bl ReadFloat__12CInputStreamFv -/* 80090C80 0008DBE0 FC 00 08 50 */ fneg f0, f1 -/* 80090C84 0008DBE4 7F 83 E3 78 */ mr r3, r28 -/* 80090C88 0008DBE8 D0 1F 00 6C */ stfs f0, 0x6c(r31) -/* 80090C8C 0008DBEC 48 2A DF 9D */ bl ReadFloat__12CInputStreamFv -/* 80090C90 0008DBF0 FC 00 08 50 */ fneg f0, f1 -/* 80090C94 0008DBF4 3B A0 00 00 */ li r29, 0 -/* 80090C98 0008DBF8 7F BE EB 78 */ mr r30, r29 -/* 80090C9C 0008DBFC D0 1F 00 70 */ stfs f0, 0x70(r31) -lbl_80090CA0: -/* 80090CA0 0008DC00 7F 83 E3 78 */ mr r3, r28 -/* 80090CA4 0008DC04 48 2A DF 85 */ bl ReadFloat__12CInputStreamFv -/* 80090CA8 0008DC08 3B BD 00 01 */ addi r29, r29, 1 -/* 80090CAC 0008DC0C 38 1E 00 C4 */ addi r0, r30, 0xc4 -/* 80090CB0 0008DC10 2C 1D 00 08 */ cmpwi r29, 8 -/* 80090CB4 0008DC14 7C 3F 05 2E */ stfsx f1, r31, r0 -/* 80090CB8 0008DC18 3B DE 00 04 */ addi r30, r30, 4 -/* 80090CBC 0008DC1C 41 80 FF E4 */ blt lbl_80090CA0 -/* 80090CC0 0008DC20 7F 83 E3 78 */ mr r3, r28 -/* 80090CC4 0008DC24 48 2A DF 65 */ bl ReadFloat__12CInputStreamFv -/* 80090CC8 0008DC28 FC 00 08 50 */ fneg f0, f1 -/* 80090CCC 0008DC2C 7F 83 E3 78 */ mr r3, r28 -/* 80090CD0 0008DC30 D0 1F 00 E4 */ stfs f0, 0xe4(r31) -/* 80090CD4 0008DC34 48 2A DF 55 */ bl ReadFloat__12CInputStreamFv -/* 80090CD8 0008DC38 FC 00 08 50 */ fneg f0, f1 -/* 80090CDC 0008DC3C 7F 83 E3 78 */ mr r3, r28 -/* 80090CE0 0008DC40 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 80090CE4 0008DC44 48 2A DF 45 */ bl ReadFloat__12CInputStreamFv -/* 80090CE8 0008DC48 D0 3F 01 4C */ stfs f1, 0x14c(r31) -/* 80090CEC 0008DC4C 7F 83 E3 78 */ mr r3, r28 -/* 80090CF0 0008DC50 48 2A DF 39 */ bl ReadFloat__12CInputStreamFv -/* 80090CF4 0008DC54 D0 3F 01 50 */ stfs f1, 0x150(r31) -/* 80090CF8 0008DC58 7F 83 E3 78 */ mr r3, r28 -/* 80090CFC 0008DC5C 48 2A DF 2D */ bl ReadFloat__12CInputStreamFv -/* 80090D00 0008DC60 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090D04 0008DC64 7F 83 E3 78 */ mr r3, r28 -/* 80090D08 0008DC68 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090D0C 0008DC6C D0 1F 01 58 */ stfs f0, 0x158(r31) -/* 80090D10 0008DC70 48 2A DF 19 */ bl ReadFloat__12CInputStreamFv -/* 80090D14 0008DC74 D0 3F 01 DC */ stfs f1, 0x1dc(r31) -/* 80090D18 0008DC78 7F 83 E3 78 */ mr r3, r28 -/* 80090D1C 0008DC7C 48 2A DF 0D */ bl ReadFloat__12CInputStreamFv -/* 80090D20 0008DC80 D0 3F 01 E0 */ stfs f1, 0x1e0(r31) -/* 80090D24 0008DC84 7F 83 E3 78 */ mr r3, r28 -/* 80090D28 0008DC88 48 2A DF 01 */ bl ReadFloat__12CInputStreamFv -/* 80090D2C 0008DC8C C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090D30 0008DC90 7F 83 E3 78 */ mr r3, r28 -/* 80090D34 0008DC94 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090D38 0008DC98 D0 1F 01 EC */ stfs f0, 0x1ec(r31) -/* 80090D3C 0008DC9C 48 2A DE ED */ bl ReadFloat__12CInputStreamFv -/* 80090D40 0008DCA0 D0 3F 01 F0 */ stfs f1, 0x1f0(r31) -/* 80090D44 0008DCA4 7F 83 E3 78 */ mr r3, r28 -/* 80090D48 0008DCA8 48 2A DE E1 */ bl ReadFloat__12CInputStreamFv -/* 80090D4C 0008DCAC D0 3F 01 F4 */ stfs f1, 0x1f4(r31) -/* 80090D50 0008DCB0 7F 83 E3 78 */ mr r3, r28 -/* 80090D54 0008DCB4 48 2A DE D5 */ bl ReadFloat__12CInputStreamFv -/* 80090D58 0008DCB8 D0 3F 01 F8 */ stfs f1, 0x1f8(r31) -/* 80090D5C 0008DCBC 7F 83 E3 78 */ mr r3, r28 -/* 80090D60 0008DCC0 48 2A DE C9 */ bl ReadFloat__12CInputStreamFv -/* 80090D64 0008DCC4 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80090D68 0008DCC8 7F 83 E3 78 */ mr r3, r28 -/* 80090D6C 0008DCCC C0 62 8A F8 */ lfs f3, lbl_805AA818@sda21(r2) -/* 80090D70 0008DCD0 C0 42 8A FC */ lfs f2, lbl_805AA81C@sda21(r2) -/* 80090D74 0008DCD4 D0 7F 01 2C */ stfs f3, 0x12c(r31) -/* 80090D78 0008DCD8 C0 22 8B 00 */ lfs f1, lbl_805AA820@sda21(r2) -/* 80090D7C 0008DCDC D0 7F 01 30 */ stfs f3, 0x130(r31) -/* 80090D80 0008DCE0 C0 02 8B 04 */ lfs f0, lbl_805AA824@sda21(r2) -/* 80090D84 0008DCE4 D0 5F 01 34 */ stfs f2, 0x134(r31) -/* 80090D88 0008DCE8 D0 7F 01 38 */ stfs f3, 0x138(r31) -/* 80090D8C 0008DCEC D0 3F 01 3C */ stfs f1, 0x13c(r31) -/* 80090D90 0008DCF0 D0 3F 01 40 */ stfs f1, 0x140(r31) -/* 80090D94 0008DCF4 D0 3F 01 44 */ stfs f1, 0x144(r31) -/* 80090D98 0008DCF8 D0 3F 01 48 */ stfs f1, 0x148(r31) -/* 80090D9C 0008DCFC D0 7F 00 EC */ stfs f3, 0xec(r31) -/* 80090DA0 0008DD00 D0 5F 00 F0 */ stfs f2, 0xf0(r31) -/* 80090DA4 0008DD04 D0 1F 00 F4 */ stfs f0, 0xf4(r31) -/* 80090DA8 0008DD08 D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 80090DAC 0008DD0C D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 80090DB0 0008DD10 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 80090DB4 0008DD14 D0 1F 01 04 */ stfs f0, 0x104(r31) -/* 80090DB8 0008DD18 D0 1F 01 08 */ stfs f0, 0x108(r31) -/* 80090DBC 0008DD1C D0 7F 01 0C */ stfs f3, 0x10c(r31) -/* 80090DC0 0008DD20 D0 5F 01 10 */ stfs f2, 0x110(r31) -/* 80090DC4 0008DD24 D0 1F 01 14 */ stfs f0, 0x114(r31) -/* 80090DC8 0008DD28 D0 1F 01 18 */ stfs f0, 0x118(r31) -/* 80090DCC 0008DD2C D0 1F 01 1C */ stfs f0, 0x11c(r31) -/* 80090DD0 0008DD30 D0 1F 01 20 */ stfs f0, 0x120(r31) -/* 80090DD4 0008DD34 D0 1F 01 24 */ stfs f0, 0x124(r31) -/* 80090DD8 0008DD38 D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 80090DDC 0008DD3C 48 2A DE 4D */ bl ReadFloat__12CInputStreamFv -/* 80090DE0 0008DD40 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090DE4 0008DD44 7F 84 E3 78 */ mr r4, r28 -/* 80090DE8 0008DD48 38 61 00 20 */ addi r3, r1, 0x20 -/* 80090DEC 0008DD4C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090DF0 0008DD50 D0 1F 00 74 */ stfs f0, 0x74(r31) -/* 80090DF4 0008DD54 48 28 3D 99 */ bl __ct__9CVector3fFR12CInputStream -/* 80090DF8 0008DD58 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80090DFC 0008DD5C 7F 83 E3 78 */ mr r3, r28 -/* 80090E00 0008DD60 D0 1F 00 78 */ stfs f0, 0x78(r31) -/* 80090E04 0008DD64 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80090E08 0008DD68 D0 1F 00 7C */ stfs f0, 0x7c(r31) -/* 80090E0C 0008DD6C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80090E10 0008DD70 D0 1F 00 80 */ stfs f0, 0x80(r31) -/* 80090E14 0008DD74 48 2A DE 15 */ bl ReadFloat__12CInputStreamFv -/* 80090E18 0008DD78 D0 3F 00 84 */ stfs f1, 0x84(r31) -/* 80090E1C 0008DD7C 7F 83 E3 78 */ mr r3, r28 -/* 80090E20 0008DD80 48 2A DE 09 */ bl ReadFloat__12CInputStreamFv -/* 80090E24 0008DD84 D0 3F 00 88 */ stfs f1, 0x88(r31) -/* 80090E28 0008DD88 7F 83 E3 78 */ mr r3, r28 -/* 80090E2C 0008DD8C 48 2A DD FD */ bl ReadFloat__12CInputStreamFv -/* 80090E30 0008DD90 D0 3F 00 8C */ stfs f1, 0x8c(r31) -/* 80090E34 0008DD94 7F 83 E3 78 */ mr r3, r28 -/* 80090E38 0008DD98 48 2A DD F1 */ bl ReadFloat__12CInputStreamFv -/* 80090E3C 0008DD9C C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090E40 0008DDA0 7F 83 E3 78 */ mr r3, r28 -/* 80090E44 0008DDA4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090E48 0008DDA8 D0 1F 00 90 */ stfs f0, 0x90(r31) -/* 80090E4C 0008DDAC 48 2A DD DD */ bl ReadFloat__12CInputStreamFv -/* 80090E50 0008DDB0 D0 3F 00 94 */ stfs f1, 0x94(r31) -/* 80090E54 0008DDB4 7F 83 E3 78 */ mr r3, r28 -/* 80090E58 0008DDB8 48 2A DD D1 */ bl ReadFloat__12CInputStreamFv -/* 80090E5C 0008DDBC D0 3F 00 98 */ stfs f1, 0x98(r31) -/* 80090E60 0008DDC0 7F 83 E3 78 */ mr r3, r28 -/* 80090E64 0008DDC4 48 2A DD C5 */ bl ReadFloat__12CInputStreamFv -/* 80090E68 0008DDC8 D0 3F 00 9C */ stfs f1, 0x9c(r31) -/* 80090E6C 0008DDCC 7F 83 E3 78 */ mr r3, r28 -/* 80090E70 0008DDD0 48 2A DD B9 */ bl ReadFloat__12CInputStreamFv -/* 80090E74 0008DDD4 D0 3F 00 A0 */ stfs f1, 0xa0(r31) -/* 80090E78 0008DDD8 7F 83 E3 78 */ mr r3, r28 -/* 80090E7C 0008DDDC 48 2A DD AD */ bl ReadFloat__12CInputStreamFv -/* 80090E80 0008DDE0 D0 3F 00 A4 */ stfs f1, 0xa4(r31) -/* 80090E84 0008DDE4 7F 83 E3 78 */ mr r3, r28 -/* 80090E88 0008DDE8 48 2A DD A1 */ bl ReadFloat__12CInputStreamFv -/* 80090E8C 0008DDEC D0 3F 00 A8 */ stfs f1, 0xa8(r31) -/* 80090E90 0008DDF0 7F 83 E3 78 */ mr r3, r28 -/* 80090E94 0008DDF4 48 2A DD 95 */ bl ReadFloat__12CInputStreamFv -/* 80090E98 0008DDF8 D0 3F 00 AC */ stfs f1, 0xac(r31) -/* 80090E9C 0008DDFC 7F 83 E3 78 */ mr r3, r28 -/* 80090EA0 0008DE00 48 2A DD 89 */ bl ReadFloat__12CInputStreamFv -/* 80090EA4 0008DE04 D0 3F 00 B0 */ stfs f1, 0xb0(r31) -/* 80090EA8 0008DE08 7F 83 E3 78 */ mr r3, r28 -/* 80090EAC 0008DE0C 48 2A DD 7D */ bl ReadFloat__12CInputStreamFv -/* 80090EB0 0008DE10 D0 3F 00 B4 */ stfs f1, 0xb4(r31) -/* 80090EB4 0008DE14 7F 83 E3 78 */ mr r3, r28 -/* 80090EB8 0008DE18 48 2A DD 71 */ bl ReadFloat__12CInputStreamFv -/* 80090EBC 0008DE1C D0 3F 00 B8 */ stfs f1, 0xb8(r31) -/* 80090EC0 0008DE20 7F 83 E3 78 */ mr r3, r28 -/* 80090EC4 0008DE24 48 2A DD 65 */ bl ReadFloat__12CInputStreamFv -/* 80090EC8 0008DE28 D0 3F 00 BC */ stfs f1, 0xbc(r31) -/* 80090ECC 0008DE2C 7F 83 E3 78 */ mr r3, r28 -/* 80090ED0 0008DE30 48 2A DD 59 */ bl ReadFloat__12CInputStreamFv -/* 80090ED4 0008DE34 D0 3F 00 C0 */ stfs f1, 0xc0(r31) -/* 80090ED8 0008DE38 7F 83 E3 78 */ mr r3, r28 -/* 80090EDC 0008DE3C 48 2A DD 4D */ bl ReadFloat__12CInputStreamFv -/* 80090EE0 0008DE40 D0 3F 01 54 */ stfs f1, 0x154(r31) -/* 80090EE4 0008DE44 7F 83 E3 78 */ mr r3, r28 -/* 80090EE8 0008DE48 48 2A DD 41 */ bl ReadFloat__12CInputStreamFv -/* 80090EEC 0008DE4C C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090EF0 0008DE50 7F 83 E3 78 */ mr r3, r28 -/* 80090EF4 0008DE54 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090EF8 0008DE58 D0 1F 01 5C */ stfs f0, 0x15c(r31) -/* 80090EFC 0008DE5C 48 2A DD 2D */ bl ReadFloat__12CInputStreamFv -/* 80090F00 0008DE60 D0 3F 01 60 */ stfs f1, 0x160(r31) -/* 80090F04 0008DE64 7F 83 E3 78 */ mr r3, r28 -/* 80090F08 0008DE68 48 2A DD 21 */ bl ReadFloat__12CInputStreamFv -/* 80090F0C 0008DE6C D0 3F 01 64 */ stfs f1, 0x164(r31) -/* 80090F10 0008DE70 7F 83 E3 78 */ mr r3, r28 -/* 80090F14 0008DE74 48 2A DD 15 */ bl ReadFloat__12CInputStreamFv -/* 80090F18 0008DE78 D0 3F 01 68 */ stfs f1, 0x168(r31) -/* 80090F1C 0008DE7C 7F 83 E3 78 */ mr r3, r28 -/* 80090F20 0008DE80 48 2A DD 09 */ bl ReadFloat__12CInputStreamFv -/* 80090F24 0008DE84 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090F28 0008DE88 7F 83 E3 78 */ mr r3, r28 -/* 80090F2C 0008DE8C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090F30 0008DE90 D0 1F 01 6C */ stfs f0, 0x16c(r31) -/* 80090F34 0008DE94 48 2A DC F5 */ bl ReadFloat__12CInputStreamFv -/* 80090F38 0008DE98 D0 3F 01 70 */ stfs f1, 0x170(r31) -/* 80090F3C 0008DE9C 7F 83 E3 78 */ mr r3, r28 -/* 80090F40 0008DEA0 48 2A DC E9 */ bl ReadFloat__12CInputStreamFv -/* 80090F44 0008DEA4 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090F48 0008DEA8 7F 83 E3 78 */ mr r3, r28 -/* 80090F4C 0008DEAC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090F50 0008DEB0 D0 1F 01 74 */ stfs f0, 0x174(r31) -/* 80090F54 0008DEB4 48 2A DC D5 */ bl ReadFloat__12CInputStreamFv -/* 80090F58 0008DEB8 D0 3F 01 78 */ stfs f1, 0x178(r31) -/* 80090F5C 0008DEBC 7F 83 E3 78 */ mr r3, r28 -/* 80090F60 0008DEC0 48 2A DC C9 */ bl ReadFloat__12CInputStreamFv -/* 80090F64 0008DEC4 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090F68 0008DEC8 7F 83 E3 78 */ mr r3, r28 -/* 80090F6C 0008DECC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090F70 0008DED0 D0 1F 01 7C */ stfs f0, 0x17c(r31) -/* 80090F74 0008DED4 48 2A DC B5 */ bl ReadFloat__12CInputStreamFv -/* 80090F78 0008DED8 D0 3F 01 80 */ stfs f1, 0x180(r31) -/* 80090F7C 0008DEDC 7F 83 E3 78 */ mr r3, r28 -/* 80090F80 0008DEE0 48 2A DC A9 */ bl ReadFloat__12CInputStreamFv -/* 80090F84 0008DEE4 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090F88 0008DEE8 7F 83 E3 78 */ mr r3, r28 -/* 80090F8C 0008DEEC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090F90 0008DEF0 D0 1F 01 84 */ stfs f0, 0x184(r31) -/* 80090F94 0008DEF4 48 2A DC 95 */ bl ReadFloat__12CInputStreamFv -/* 80090F98 0008DEF8 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80090F9C 0008DEFC 7F 84 E3 78 */ mr r4, r28 -/* 80090FA0 0008DF00 38 61 00 14 */ addi r3, r1, 0x14 -/* 80090FA4 0008DF04 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80090FA8 0008DF08 D0 1F 01 88 */ stfs f0, 0x188(r31) -/* 80090FAC 0008DF0C 48 28 3B E1 */ bl __ct__9CVector3fFR12CInputStream -/* 80090FB0 0008DF10 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80090FB4 0008DF14 7F 83 E3 78 */ mr r3, r28 -/* 80090FB8 0008DF18 D0 1F 01 8C */ stfs f0, 0x18c(r31) -/* 80090FBC 0008DF1C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80090FC0 0008DF20 D0 1F 01 90 */ stfs f0, 0x190(r31) -/* 80090FC4 0008DF24 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80090FC8 0008DF28 D0 1F 01 94 */ stfs f0, 0x194(r31) -/* 80090FCC 0008DF2C 48 2A DC 5D */ bl ReadFloat__12CInputStreamFv -/* 80090FD0 0008DF30 D0 3F 01 98 */ stfs f1, 0x198(r31) -/* 80090FD4 0008DF34 7F 83 E3 78 */ mr r3, r28 -/* 80090FD8 0008DF38 48 2A DC 51 */ bl ReadFloat__12CInputStreamFv -/* 80090FDC 0008DF3C D0 3F 01 9C */ stfs f1, 0x19c(r31) -/* 80090FE0 0008DF40 7F 83 E3 78 */ mr r3, r28 -/* 80090FE4 0008DF44 48 2A DC 45 */ bl ReadFloat__12CInputStreamFv -/* 80090FE8 0008DF48 D0 3F 01 A0 */ stfs f1, 0x1a0(r31) -/* 80090FEC 0008DF4C 7F 83 E3 78 */ mr r3, r28 -/* 80090FF0 0008DF50 48 2A DC 39 */ bl ReadFloat__12CInputStreamFv -/* 80090FF4 0008DF54 D0 3F 01 A4 */ stfs f1, 0x1a4(r31) -/* 80090FF8 0008DF58 7F 83 E3 78 */ mr r3, r28 -/* 80090FFC 0008DF5C 48 2A DC 2D */ bl ReadFloat__12CInputStreamFv -/* 80091000 0008DF60 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80091004 0008DF64 7F 83 E3 78 */ mr r3, r28 -/* 80091008 0008DF68 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8009100C 0008DF6C D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80091010 0008DF70 48 2A DC 19 */ bl ReadFloat__12CInputStreamFv -/* 80091014 0008DF74 D0 3F 01 AC */ stfs f1, 0x1ac(r31) -/* 80091018 0008DF78 7F 83 E3 78 */ mr r3, r28 -/* 8009101C 0008DF7C 48 2A DC 0D */ bl ReadFloat__12CInputStreamFv -/* 80091020 0008DF80 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80091024 0008DF84 7F 83 E3 78 */ mr r3, r28 -/* 80091028 0008DF88 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8009102C 0008DF8C D0 1F 01 B0 */ stfs f0, 0x1b0(r31) -/* 80091030 0008DF90 48 2A DB F9 */ bl ReadFloat__12CInputStreamFv -/* 80091034 0008DF94 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2) -/* 80091038 0008DF98 7F 84 E3 78 */ mr r4, r28 -/* 8009103C 0008DF9C 38 61 00 08 */ addi r3, r1, 8 -/* 80091040 0008DFA0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80091044 0008DFA4 D0 1F 01 B4 */ stfs f0, 0x1b4(r31) -/* 80091048 0008DFA8 48 28 3B 45 */ bl __ct__9CVector3fFR12CInputStream -/* 8009104C 0008DFAC C0 01 00 08 */ lfs f0, 8(r1) -/* 80091050 0008DFB0 7F 83 E3 78 */ mr r3, r28 -/* 80091054 0008DFB4 D0 1F 01 B8 */ stfs f0, 0x1b8(r31) -/* 80091058 0008DFB8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8009105C 0008DFBC D0 1F 01 BC */ stfs f0, 0x1bc(r31) -/* 80091060 0008DFC0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80091064 0008DFC4 D0 1F 01 C0 */ stfs f0, 0x1c0(r31) -/* 80091068 0008DFC8 48 2A DB C1 */ bl ReadFloat__12CInputStreamFv -/* 8009106C 0008DFCC D0 3F 01 C4 */ stfs f1, 0x1c4(r31) -/* 80091070 0008DFD0 7F 83 E3 78 */ mr r3, r28 -/* 80091074 0008DFD4 48 2A DB B5 */ bl ReadFloat__12CInputStreamFv -/* 80091078 0008DFD8 D0 3F 01 C8 */ stfs f1, 0x1c8(r31) -/* 8009107C 0008DFDC 7F 83 E3 78 */ mr r3, r28 -/* 80091080 0008DFE0 48 2A DB A9 */ bl ReadFloat__12CInputStreamFv -/* 80091084 0008DFE4 D0 3F 01 CC */ stfs f1, 0x1cc(r31) -/* 80091088 0008DFE8 7F 83 E3 78 */ mr r3, r28 -/* 8009108C 0008DFEC 48 2A DB 9D */ bl ReadFloat__12CInputStreamFv -/* 80091090 0008DFF0 D0 3F 01 D0 */ stfs f1, 0x1d0(r31) -/* 80091094 0008DFF4 7F 83 E3 78 */ mr r3, r28 -/* 80091098 0008DFF8 48 2A DB 91 */ bl ReadFloat__12CInputStreamFv -/* 8009109C 0008DFFC D0 3F 01 D4 */ stfs f1, 0x1d4(r31) -/* 800910A0 0008E000 7F 83 E3 78 */ mr r3, r28 -/* 800910A4 0008E004 48 2A DB 85 */ bl ReadFloat__12CInputStreamFv -/* 800910A8 0008E008 D0 3F 01 D8 */ stfs f1, 0x1d8(r31) -/* 800910AC 0008E00C 7F 83 E3 78 */ mr r3, r28 -/* 800910B0 0008E010 48 2A DB 79 */ bl ReadFloat__12CInputStreamFv -/* 800910B4 0008E014 D0 3F 01 E4 */ stfs f1, 0x1e4(r31) -/* 800910B8 0008E018 7F 83 E3 78 */ mr r3, r28 -/* 800910BC 0008E01C 48 2A DB 6D */ bl ReadFloat__12CInputStreamFv -/* 800910C0 0008E020 D0 3F 01 E8 */ stfs f1, 0x1e8(r31) -/* 800910C4 0008E024 7F 83 E3 78 */ mr r3, r28 -/* 800910C8 0008E028 48 2A DB 61 */ bl ReadFloat__12CInputStreamFv -/* 800910CC 0008E02C D0 3F 02 00 */ stfs f1, 0x200(r31) -/* 800910D0 0008E030 7F 83 E3 78 */ mr r3, r28 -/* 800910D4 0008E034 48 2A DB 55 */ bl ReadFloat__12CInputStreamFv -/* 800910D8 0008E038 D0 3F 02 04 */ stfs f1, 0x204(r31) -/* 800910DC 0008E03C 7F 83 E3 78 */ mr r3, r28 -/* 800910E0 0008E040 48 2A DB 49 */ bl ReadFloat__12CInputStreamFv -/* 800910E4 0008E044 D0 3F 02 0C */ stfs f1, 0x20c(r31) -/* 800910E8 0008E048 7F 83 E3 78 */ mr r3, r28 -/* 800910EC 0008E04C 48 2A DB 3D */ bl ReadFloat__12CInputStreamFv -/* 800910F0 0008E050 D0 3F 02 18 */ stfs f1, 0x218(r31) -/* 800910F4 0008E054 7F 83 E3 78 */ mr r3, r28 -/* 800910F8 0008E058 48 2A DB 31 */ bl ReadFloat__12CInputStreamFv -/* 800910FC 0008E05C D0 3F 02 1C */ stfs f1, 0x21c(r31) -/* 80091100 0008E060 7F 83 E3 78 */ mr r3, r28 -/* 80091104 0008E064 48 2A DB 25 */ bl ReadFloat__12CInputStreamFv -/* 80091108 0008E068 D0 3F 02 20 */ stfs f1, 0x220(r31) -/* 8009110C 0008E06C 7F 83 E3 78 */ mr r3, r28 -/* 80091110 0008E070 48 2A DB 19 */ bl ReadFloat__12CInputStreamFv -/* 80091114 0008E074 D0 3F 02 24 */ stfs f1, 0x224(r31) -/* 80091118 0008E078 7F 83 E3 78 */ mr r3, r28 -/* 8009111C 0008E07C 48 2A DB 0D */ bl ReadFloat__12CInputStreamFv -/* 80091120 0008E080 D0 3F 02 10 */ stfs f1, 0x210(r31) -/* 80091124 0008E084 7F 83 E3 78 */ mr r3, r28 -/* 80091128 0008E088 C0 1F 02 10 */ lfs f0, 0x210(r31) -/* 8009112C 0008E08C D0 1F 02 28 */ stfs f0, 0x228(r31) -/* 80091130 0008E090 48 2A DA F9 */ bl ReadFloat__12CInputStreamFv -/* 80091134 0008E094 D0 3F 02 2C */ stfs f1, 0x22c(r31) -/* 80091138 0008E098 7F 83 E3 78 */ mr r3, r28 -/* 8009113C 0008E09C 48 2A DA ED */ bl ReadFloat__12CInputStreamFv -/* 80091140 0008E0A0 D0 3F 02 30 */ stfs f1, 0x230(r31) -/* 80091144 0008E0A4 7F 83 E3 78 */ mr r3, r28 -/* 80091148 0008E0A8 48 2A DA E1 */ bl ReadFloat__12CInputStreamFv -/* 8009114C 0008E0AC D0 3F 02 34 */ stfs f1, 0x234(r31) -/* 80091150 0008E0B0 7F E3 FB 78 */ mr r3, r31 -/* 80091154 0008E0B4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80091158 0008E0B8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8009115C 0008E0BC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80091160 0008E0C0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80091164 0008E0C4 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80091168 0008E0C8 7C 08 03 A6 */ mtlr r0 -/* 8009116C 0008E0CC 38 21 00 40 */ addi r1, r1, 0x40 -/* 80091170 0008E0D0 4E 80 00 20 */ blr - -.global __dt__10CTweakBallFv -__dt__10CTweakBallFv: -/* 80091174 0008E0D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80091178 0008E0D8 7C 08 02 A6 */ mflr r0 -/* 8009117C 0008E0DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80091180 0008E0E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80091184 0008E0E4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80091188 0008E0E8 41 82 00 30 */ beq lbl_800911B8 -/* 8009118C 0008E0EC 3C 60 80 3E */ lis r3, lbl_803DAD30@ha -/* 80091190 0008E0F0 38 03 AD 30 */ addi r0, r3, lbl_803DAD30@l -/* 80091194 0008E0F4 90 1F 00 00 */ stw r0, 0(r31) -/* 80091198 0008E0F8 41 82 00 10 */ beq lbl_800911A8 -/* 8009119C 0008E0FC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 800911A0 0008E100 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 800911A4 0008E104 90 1F 00 00 */ stw r0, 0(r31) -lbl_800911A8: -/* 800911A8 0008E108 7C 80 07 35 */ extsh. r0, r4 -/* 800911AC 0008E10C 40 81 00 0C */ ble lbl_800911B8 -/* 800911B0 0008E110 7F E3 FB 78 */ mr r3, r31 -/* 800911B4 0008E114 48 00 00 1D */ bl "__dl__24TOneStatic<10CTweakBall>FPv" -lbl_800911B8: -/* 800911B8 0008E118 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800911BC 0008E11C 7F E3 FB 78 */ mr r3, r31 -/* 800911C0 0008E120 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800911C4 0008E124 7C 08 03 A6 */ mtlr r0 -/* 800911C8 0008E128 38 21 00 10 */ addi r1, r1, 0x10 -/* 800911CC 0008E12C 4E 80 00 20 */ blr - -.global "__dl__24TOneStatic<10CTweakBall>FPv" -"__dl__24TOneStatic<10CTweakBall>FPv": -/* 800911D0 0008E130 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800911D4 0008E134 7C 08 02 A6 */ mflr r0 -/* 800911D8 0008E138 90 01 00 14 */ stw r0, 0x14(r1) -/* 800911DC 0008E13C 4B FA 5F A9 */ bl "ReferenceCount__24TOneStatic<10CTweakBall>Fv" -/* 800911E0 0008E140 80 83 00 00 */ lwz r4, 0(r3) -/* 800911E4 0008E144 38 04 FF FF */ addi r0, r4, -1 -/* 800911E8 0008E148 90 03 00 00 */ stw r0, 0(r3) -/* 800911EC 0008E14C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800911F0 0008E150 7C 08 03 A6 */ mtlr r0 -/* 800911F4 0008E154 38 21 00 10 */ addi r1, r1, 0x10 -/* 800911F8 0008E158 4E 80 00 20 */ blr - -.global GetMissileComboChargeFactor__12CPlayerStateFv -GetMissileComboChargeFactor__12CPlayerStateFv: -/* 800911FC 0008E15C C0 22 8B 08 */ lfs f1, lbl_805AA828@sda21(r2) -/* 80091200 0008E160 4E 80 00 20 */ blr - -.global GetComboFireAmmoPeriod__12CPlayerStateCFv -GetComboFireAmmoPeriod__12CPlayerStateCFv: -/* 80091204 0008E164 80 03 00 08 */ lwz r0, 8(r3) -/* 80091208 0008E168 3C 60 80 3D */ lis r3, lbl_803CD778@ha -/* 8009120C 0008E16C 38 63 D7 78 */ addi r3, r3, lbl_803CD778@l -/* 80091210 0008E170 54 00 10 3A */ slwi r0, r0, 2 -/* 80091214 0008E174 7C 23 04 2E */ lfsx f1, r3, r0 -/* 80091218 0008E178 4E 80 00 20 */ blr - -.global GetMissileCostForAltAttack__12CPlayerStateCFv -GetMissileCostForAltAttack__12CPlayerStateCFv: -/* 8009121C 0008E17C 80 03 00 08 */ lwz r0, 8(r3) -/* 80091220 0008E180 3C 60 80 3D */ lis r3, lbl_803CD764@ha -/* 80091224 0008E184 38 63 D7 64 */ addi r3, r3, lbl_803CD764@l -/* 80091228 0008E188 54 00 10 3A */ slwi r0, r0, 2 -/* 8009122C 0008E18C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80091230 0008E190 4E 80 00 20 */ blr - -.global CalculateItemCollectionRate__12CPlayerStateFv -CalculateItemCollectionRate__12CPlayerStateFv: -/* 80091234 0008E194 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80091238 0008E198 7C 08 02 A6 */ mflr r0 -/* 8009123C 0008E19C 38 80 00 07 */ li r4, 7 -/* 80091240 0008E1A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80091244 0008E1A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80091248 0008E1A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009124C 0008E1AC 7C 7E 1B 78 */ mr r30, r3 -/* 80091250 0008E1B0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80091254 0008E1B4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80091258 0008E1B8 48 00 08 9D */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8009125C 0008E1BC 2C 03 00 04 */ cmpwi r3, 4 -/* 80091260 0008E1C0 7C 7C 1B 78 */ mr r28, r3 -/* 80091264 0008E1C4 41 80 00 08 */ blt lbl_8009126C -/* 80091268 0008E1C8 3B 83 FF FD */ addi r28, r3, -3 -lbl_8009126C: -/* 8009126C 0008E1CC 7F C3 F3 78 */ mr r3, r30 -/* 80091270 0008E1D0 38 80 00 02 */ li r4, 2 -/* 80091274 0008E1D4 48 00 08 81 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091278 0008E1D8 7C 7D 1B 78 */ mr r29, r3 -/* 8009127C 0008E1DC 7F C3 F3 78 */ mr r3, r30 -/* 80091280 0008E1E0 38 80 00 01 */ li r4, 1 -/* 80091284 0008E1E4 48 00 08 71 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091288 0008E1E8 7C 7F 1B 78 */ mr r31, r3 -/* 8009128C 0008E1EC 7F C3 F3 78 */ mr r3, r30 -/* 80091290 0008E1F0 38 80 00 03 */ li r4, 3 -/* 80091294 0008E1F4 48 00 08 61 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091298 0008E1F8 7F BD 1A 14 */ add r29, r29, r3 -/* 8009129C 0008E1FC 7F C3 F3 78 */ mr r3, r30 -/* 800912A0 0008E200 38 80 00 04 */ li r4, 4 -/* 800912A4 0008E204 48 00 08 51 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800912A8 0008E208 3C A0 66 66 */ lis r5, 0x66666667@ha -/* 800912AC 0008E20C 38 80 00 06 */ li r4, 6 -/* 800912B0 0008E210 38 05 66 67 */ addi r0, r5, 0x66666667@l -/* 800912B4 0008E214 7C 00 18 96 */ mulhw r0, r0, r3 -/* 800912B8 0008E218 7F C3 F3 78 */ mr r3, r30 -/* 800912BC 0008E21C 7C 00 0E 70 */ srawi r0, r0, 1 -/* 800912C0 0008E220 54 05 0F FE */ srwi r5, r0, 0x1f -/* 800912C4 0008E224 7C 00 2A 14 */ add r0, r0, r5 -/* 800912C8 0008E228 7F BD 02 14 */ add r29, r29, r0 -/* 800912CC 0008E22C 48 00 08 29 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800912D0 0008E230 7C 1D 1A 14 */ add r0, r29, r3 -/* 800912D4 0008E234 7F C3 F3 78 */ mr r3, r30 -/* 800912D8 0008E238 7F A0 E2 14 */ add r29, r0, r28 -/* 800912DC 0008E23C 38 80 00 08 */ li r4, 8 -/* 800912E0 0008E240 48 00 08 15 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800912E4 0008E244 7F BD 1A 14 */ add r29, r29, r3 -/* 800912E8 0008E248 7F C3 F3 78 */ mr r3, r30 -/* 800912EC 0008E24C 38 80 00 09 */ li r4, 9 -/* 800912F0 0008E250 48 00 08 05 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800912F4 0008E254 7F BD 1A 14 */ add r29, r29, r3 -/* 800912F8 0008E258 7F C3 F3 78 */ mr r3, r30 -/* 800912FC 0008E25C 38 80 00 0A */ li r4, 0xa -/* 80091300 0008E260 48 00 07 F5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091304 0008E264 7F BD 1A 14 */ add r29, r29, r3 -/* 80091308 0008E268 7F C3 F3 78 */ mr r3, r30 -/* 8009130C 0008E26C 38 80 00 0B */ li r4, 0xb -/* 80091310 0008E270 48 00 07 E5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091314 0008E274 7F BD 1A 14 */ add r29, r29, r3 -/* 80091318 0008E278 7F C3 F3 78 */ mr r3, r30 -/* 8009131C 0008E27C 38 80 00 0C */ li r4, 0xc -/* 80091320 0008E280 48 00 07 D5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091324 0008E284 7F BD 1A 14 */ add r29, r29, r3 -/* 80091328 0008E288 7F C3 F3 78 */ mr r3, r30 -/* 8009132C 0008E28C 38 80 00 0D */ li r4, 0xd -/* 80091330 0008E290 48 00 07 C5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091334 0008E294 7F BD 1A 14 */ add r29, r29, r3 -/* 80091338 0008E298 7F C3 F3 78 */ mr r3, r30 -/* 8009133C 0008E29C 38 80 00 0E */ li r4, 0xe -/* 80091340 0008E2A0 48 00 07 B5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091344 0008E2A4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091348 0008E2A8 7F C3 F3 78 */ mr r3, r30 -/* 8009134C 0008E2AC 38 80 00 0F */ li r4, 0xf -/* 80091350 0008E2B0 48 00 07 A5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091354 0008E2B4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091358 0008E2B8 7F C3 F3 78 */ mr r3, r30 -/* 8009135C 0008E2BC 38 80 00 10 */ li r4, 0x10 -/* 80091360 0008E2C0 48 00 07 95 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091364 0008E2C4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091368 0008E2C8 7F C3 F3 78 */ mr r3, r30 -/* 8009136C 0008E2CC 38 80 00 12 */ li r4, 0x12 -/* 80091370 0008E2D0 48 00 07 85 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091374 0008E2D4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091378 0008E2D8 7F C3 F3 78 */ mr r3, r30 -/* 8009137C 0008E2DC 38 80 00 13 */ li r4, 0x13 -/* 80091380 0008E2E0 48 00 07 75 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091384 0008E2E4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091388 0008E2E8 7F C3 F3 78 */ mr r3, r30 -/* 8009138C 0008E2EC 38 80 00 15 */ li r4, 0x15 -/* 80091390 0008E2F0 48 00 07 65 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091394 0008E2F4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091398 0008E2F8 7F C3 F3 78 */ mr r3, r30 -/* 8009139C 0008E2FC 38 80 00 16 */ li r4, 0x16 -/* 800913A0 0008E300 48 00 07 55 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800913A4 0008E304 7F BD 1A 14 */ add r29, r29, r3 -/* 800913A8 0008E308 7F C3 F3 78 */ mr r3, r30 -/* 800913AC 0008E30C 38 80 00 18 */ li r4, 0x18 -/* 800913B0 0008E310 48 00 07 45 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800913B4 0008E314 7F BD 1A 14 */ add r29, r29, r3 -/* 800913B8 0008E318 7F C3 F3 78 */ mr r3, r30 -/* 800913BC 0008E31C 38 80 00 1D */ li r4, 0x1d -/* 800913C0 0008E320 48 00 07 35 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800913C4 0008E324 7F BD 1A 14 */ add r29, r29, r3 -/* 800913C8 0008E328 7F C3 F3 78 */ mr r3, r30 -/* 800913CC 0008E32C 38 80 00 1E */ li r4, 0x1e -/* 800913D0 0008E330 48 00 07 25 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800913D4 0008E334 7F BD 1A 14 */ add r29, r29, r3 -/* 800913D8 0008E338 7F C3 F3 78 */ mr r3, r30 -/* 800913DC 0008E33C 38 80 00 1F */ li r4, 0x1f -/* 800913E0 0008E340 48 00 07 15 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800913E4 0008E344 7F BD 1A 14 */ add r29, r29, r3 -/* 800913E8 0008E348 7F C3 F3 78 */ mr r3, r30 -/* 800913EC 0008E34C 38 80 00 20 */ li r4, 0x20 -/* 800913F0 0008E350 48 00 07 05 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800913F4 0008E354 7F BD 1A 14 */ add r29, r29, r3 -/* 800913F8 0008E358 7F C3 F3 78 */ mr r3, r30 -/* 800913FC 0008E35C 38 80 00 21 */ li r4, 0x21 -/* 80091400 0008E360 48 00 06 F5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091404 0008E364 7F BD 1A 14 */ add r29, r29, r3 -/* 80091408 0008E368 7F C3 F3 78 */ mr r3, r30 -/* 8009140C 0008E36C 38 80 00 22 */ li r4, 0x22 -/* 80091410 0008E370 48 00 06 E5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091414 0008E374 7F BD 1A 14 */ add r29, r29, r3 -/* 80091418 0008E378 7F C3 F3 78 */ mr r3, r30 -/* 8009141C 0008E37C 38 80 00 23 */ li r4, 0x23 -/* 80091420 0008E380 48 00 06 D5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091424 0008E384 7F BD 1A 14 */ add r29, r29, r3 -/* 80091428 0008E388 7F C3 F3 78 */ mr r3, r30 -/* 8009142C 0008E38C 38 80 00 24 */ li r4, 0x24 -/* 80091430 0008E390 48 00 06 C5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091434 0008E394 7F BD 1A 14 */ add r29, r29, r3 -/* 80091438 0008E398 7F C3 F3 78 */ mr r3, r30 -/* 8009143C 0008E39C 38 80 00 25 */ li r4, 0x25 -/* 80091440 0008E3A0 48 00 06 B5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091444 0008E3A4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091448 0008E3A8 7F C3 F3 78 */ mr r3, r30 -/* 8009144C 0008E3AC 38 80 00 26 */ li r4, 0x26 -/* 80091450 0008E3B0 48 00 06 A5 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091454 0008E3B4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091458 0008E3B8 7F C3 F3 78 */ mr r3, r30 -/* 8009145C 0008E3BC 38 80 00 27 */ li r4, 0x27 -/* 80091460 0008E3C0 48 00 06 95 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091464 0008E3C4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091468 0008E3C8 7F C3 F3 78 */ mr r3, r30 -/* 8009146C 0008E3CC 38 80 00 28 */ li r4, 0x28 -/* 80091470 0008E3D0 48 00 06 85 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091474 0008E3D4 7F BD 1A 14 */ add r29, r29, r3 -/* 80091478 0008E3D8 7F C3 F3 78 */ mr r3, r30 -/* 8009147C 0008E3DC 38 80 00 1C */ li r4, 0x1c -/* 80091480 0008E3E0 48 00 06 75 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091484 0008E3E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80091488 0008E3E8 7C 7D 1A 14 */ add r3, r29, r3 -/* 8009148C 0008E3EC 7C 7F 1A 14 */ add r3, r31, r3 -/* 80091490 0008E3F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80091494 0008E3F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80091498 0008E3F8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009149C 0008E3FC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800914A0 0008E400 7C 08 03 A6 */ mtlr r0 -/* 800914A4 0008E404 38 21 00 20 */ addi r1, r1, 0x20 -/* 800914A8 0008E408 4E 80 00 20 */ blr - -.global GetTotalPickupCount__12CPlayerStateFv -GetTotalPickupCount__12CPlayerStateFv: -/* 800914AC 0008E40C 38 60 00 63 */ li r3, 0x63 -/* 800914B0 0008E410 4E 80 00 20 */ blr - -.global SetIsFusionEnabled__12CPlayerStateFb -SetIsFusionEnabled__12CPlayerStateFb: -/* 800914B4 0008E414 88 03 00 00 */ lbz r0, 0(r3) -/* 800914B8 0008E418 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800914BC 0008E41C 98 03 00 00 */ stb r0, 0(r3) -/* 800914C0 0008E420 4E 80 00 20 */ blr - -.global GetIsFusionEnabled__12CPlayerStateFv -GetIsFusionEnabled__12CPlayerStateFv: -/* 800914C4 0008E424 88 03 00 00 */ lbz r0, 0(r3) -/* 800914C8 0008E428 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f -/* 800914CC 0008E42C 7C 03 00 D0 */ neg r0, r3 -/* 800914D0 0008E430 7C 00 1B 78 */ or r0, r0, r3 -/* 800914D4 0008E434 54 03 0F FE */ srwi r3, r0, 0x1f -/* 800914D8 0008E438 4E 80 00 20 */ blr - -.global GetCurrentSuit__12CPlayerStateFv -GetCurrentSuit__12CPlayerStateFv: -/* 800914DC 0008E43C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800914E0 0008E440 7C 08 02 A6 */ mflr r0 -/* 800914E4 0008E444 90 01 00 14 */ stw r0, 0x14(r1) -/* 800914E8 0008E448 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800914EC 0008E44C 7C 7F 1B 78 */ mr r31, r3 -/* 800914F0 0008E450 4B FF FF D5 */ bl GetIsFusionEnabled__12CPlayerStateFv -/* 800914F4 0008E454 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800914F8 0008E458 41 82 00 0C */ beq lbl_80091504 -/* 800914FC 0008E45C 38 60 00 04 */ li r3, 4 -/* 80091500 0008E460 48 00 00 08 */ b lbl_80091508 -lbl_80091504: -/* 80091504 0008E464 80 7F 00 20 */ lwz r3, 0x20(r31) -lbl_80091508: -/* 80091508 0008E468 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009150C 0008E46C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80091510 0008E470 7C 08 03 A6 */ mtlr r0 -/* 80091514 0008E474 38 21 00 10 */ addi r1, r1, 0x10 -/* 80091518 0008E478 4E 80 00 20 */ blr - -.global CanVisorSeeFog__12CPlayerStateCFRC13CStateManager -CanVisorSeeFog__12CPlayerStateCFRC13CStateManager: -/* 8009151C 0008E47C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80091520 0008E480 7C 08 02 A6 */ mflr r0 -/* 80091524 0008E484 90 01 00 14 */ stw r0, 0x14(r1) -/* 80091528 0008E488 48 00 00 31 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8009152C 0008E48C 2C 03 00 00 */ cmpwi r3, 0 -/* 80091530 0008E490 38 00 00 00 */ li r0, 0 -/* 80091534 0008E494 41 82 00 0C */ beq lbl_80091540 -/* 80091538 0008E498 2C 03 00 02 */ cmpwi r3, 2 -/* 8009153C 0008E49C 40 82 00 08 */ bne lbl_80091544 -lbl_80091540: -/* 80091540 0008E4A0 38 00 00 01 */ li r0, 1 -lbl_80091544: -/* 80091544 0008E4A4 7C 03 03 78 */ mr r3, r0 -/* 80091548 0008E4A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009154C 0008E4AC 7C 08 03 A6 */ mtlr r0 -/* 80091550 0008E4B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80091554 0008E4B4 4E 80 00 20 */ blr - -.global GetActiveVisor__12CPlayerStateCFRC13CStateManager -GetActiveVisor__12CPlayerStateCFRC13CStateManager: -/* 80091558 0008E4B8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009155C 0008E4BC 7C 08 02 A6 */ mflr r0 -/* 80091560 0008E4C0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80091564 0008E4C4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80091568 0008E4C8 7C 7F 1B 78 */ mr r31, r3 -/* 8009156C 0008E4CC 80 64 08 70 */ lwz r3, 0x870(r4) -/* 80091570 0008E4D0 4B F7 A5 A9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80091574 0008E4D4 7C 64 1B 78 */ mr r4, r3 -/* 80091578 0008E4D8 38 61 00 08 */ addi r3, r1, 8 -/* 8009157C 0008E4DC 48 01 CE F9 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" -/* 80091580 0008E4E0 80 03 00 04 */ lwz r0, 4(r3) -/* 80091584 0008E4E4 28 00 00 00 */ cmplwi r0, 0 -/* 80091588 0008E4E8 41 82 00 0C */ beq lbl_80091594 -/* 8009158C 0008E4EC 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80091590 0008E4F0 48 00 00 08 */ b lbl_80091598 -lbl_80091594: -/* 80091594 0008E4F4 38 60 00 00 */ li r3, 0 -lbl_80091598: -/* 80091598 0008E4F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009159C 0008E4FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800915A0 0008E500 7C 08 03 A6 */ mtlr r0 -/* 800915A4 0008E504 38 21 00 20 */ addi r1, r1, 0x20 -/* 800915A8 0008E508 4E 80 00 20 */ blr - -.global UpdateStaticInterference__12CPlayerStateFR13CStateManagerRCf -UpdateStaticInterference__12CPlayerStateFR13CStateManagerRCf: -/* 800915AC 0008E50C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800915B0 0008E510 7C 08 02 A6 */ mflr r0 -/* 800915B4 0008E514 38 63 01 88 */ addi r3, r3, 0x188 -/* 800915B8 0008E518 90 01 00 14 */ stw r0, 0x14(r1) -/* 800915BC 0008E51C C0 25 00 00 */ lfs f1, 0(r5) -/* 800915C0 0008E520 48 12 F1 E9 */ bl Update__19CStaticInterferenceFR13CStateManagerf -/* 800915C4 0008E524 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800915C8 0008E528 7C 08 03 A6 */ mtlr r0 -/* 800915CC 0008E52C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800915D0 0008E530 4E 80 00 20 */ blr - -.global SetScanTime__12CPlayerStateFUif -SetScanTime__12CPlayerStateFUif: -/* 800915D4 0008E534 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800915D8 0008E538 7C 08 02 A6 */ mflr r0 -/* 800915DC 0008E53C 90 01 00 44 */ stw r0, 0x44(r1) -/* 800915E0 0008E540 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800915E4 0008E544 89 21 00 14 */ lbz r9, 0x14(r1) -/* 800915E8 0008E548 38 E1 00 0C */ addi r7, r1, 0xc -/* 800915EC 0008E54C DB E1 00 38 */ stfd f31, 0x38(r1) -/* 800915F0 0008E550 FF E0 08 90 */ fmr f31, f1 -/* 800915F4 0008E554 80 03 01 74 */ lwz r0, 0x174(r3) -/* 800915F8 0008E558 80 C3 01 7C */ lwz r6, 0x17c(r3) -/* 800915FC 0008E55C 54 00 18 38 */ slwi r0, r0, 3 -/* 80091600 0008E560 90 81 00 08 */ stw r4, 8(r1) -/* 80091604 0008E564 7D 06 02 14 */ add r8, r6, r0 -/* 80091608 0008E568 38 C1 00 08 */ addi r6, r1, 8 -/* 8009160C 0008E56C 91 01 00 2C */ stw r8, 0x2c(r1) -/* 80091610 0008E570 38 81 00 20 */ addi r4, r1, 0x20 -/* 80091614 0008E574 80 03 01 7C */ lwz r0, 0x17c(r3) -/* 80091618 0008E578 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009161C 0008E57C 99 21 00 10 */ stb r9, 0x10(r1) -/* 80091620 0008E580 91 01 00 30 */ stw r8, 0x30(r1) -/* 80091624 0008E584 90 01 00 28 */ stw r0, 0x28(r1) -/* 80091628 0008E588 99 21 00 0C */ stb r9, 0xc(r1) -/* 8009162C 0008E58C 91 01 00 24 */ stw r8, 0x24(r1) -/* 80091630 0008E590 90 01 00 20 */ stw r0, 0x20(r1) -/* 80091634 0008E594 48 00 0E 6D */ bl "lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPQ24rstl10pairPQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>" -/* 80091638 0008E598 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8009163C 0008E59C 38 80 00 00 */ li r4, 0 -/* 80091640 0008E5A0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80091644 0008E5A4 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80091648 0008E5A8 7C 05 00 40 */ cmplw r5, r0 -/* 8009164C 0008E5AC 41 82 00 18 */ beq lbl_80091664 -/* 80091650 0008E5B0 80 61 00 08 */ lwz r3, 8(r1) -/* 80091654 0008E5B4 80 05 00 00 */ lwz r0, 0(r5) -/* 80091658 0008E5B8 7C 03 00 40 */ cmplw r3, r0 -/* 8009165C 0008E5BC 41 80 00 08 */ blt lbl_80091664 -/* 80091660 0008E5C0 38 80 00 01 */ li r4, 1 -lbl_80091664: -/* 80091664 0008E5C4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80091668 0008E5C8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8009166C 0008E5CC 41 82 00 08 */ beq lbl_80091674 -/* 80091670 0008E5D0 38 61 00 18 */ addi r3, r1, 0x18 -lbl_80091674: -/* 80091674 0008E5D4 80 63 00 00 */ lwz r3, 0(r3) -/* 80091678 0008E5D8 D3 E3 00 04 */ stfs f31, 4(r3) -/* 8009167C 0008E5DC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80091680 0008E5E0 CB E1 00 38 */ lfd f31, 0x38(r1) -/* 80091684 0008E5E4 7C 08 03 A6 */ mtlr r0 -/* 80091688 0008E5E8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8009168C 0008E5EC 4E 80 00 20 */ blr - -.global GetScanTime__12CPlayerStateCFUi -GetScanTime__12CPlayerStateCFUi: -/* 80091690 0008E5F0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80091694 0008E5F4 7C 08 02 A6 */ mflr r0 -/* 80091698 0008E5F8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8009169C 0008E5FC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800916A0 0008E600 89 21 00 14 */ lbz r9, 0x14(r1) -/* 800916A4 0008E604 38 C1 00 08 */ addi r6, r1, 8 -/* 800916A8 0008E608 80 03 01 74 */ lwz r0, 0x174(r3) -/* 800916AC 0008E60C 38 E1 00 0C */ addi r7, r1, 0xc -/* 800916B0 0008E610 81 03 01 7C */ lwz r8, 0x17c(r3) -/* 800916B4 0008E614 38 61 00 1C */ addi r3, r1, 0x1c -/* 800916B8 0008E618 54 00 18 38 */ slwi r0, r0, 3 -/* 800916BC 0008E61C 90 81 00 08 */ stw r4, 8(r1) -/* 800916C0 0008E620 7C 08 02 14 */ add r0, r8, r0 -/* 800916C4 0008E624 38 81 00 20 */ addi r4, r1, 0x20 -/* 800916C8 0008E628 99 21 00 10 */ stb r9, 0x10(r1) -/* 800916CC 0008E62C 90 01 00 30 */ stw r0, 0x30(r1) -/* 800916D0 0008E630 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800916D4 0008E634 91 01 00 28 */ stw r8, 0x28(r1) -/* 800916D8 0008E638 99 21 00 0C */ stb r9, 0xc(r1) -/* 800916DC 0008E63C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800916E0 0008E640 91 01 00 20 */ stw r8, 0x20(r1) -/* 800916E4 0008E644 48 00 0C FD */ bl "lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPCQ24rstl10pairPCQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>" -/* 800916E8 0008E648 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 800916EC 0008E64C 38 80 00 00 */ li r4, 0 -/* 800916F0 0008E650 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800916F4 0008E654 90 A1 00 18 */ stw r5, 0x18(r1) -/* 800916F8 0008E658 7C 05 00 40 */ cmplw r5, r0 -/* 800916FC 0008E65C 41 82 00 18 */ beq lbl_80091714 -/* 80091700 0008E660 80 61 00 08 */ lwz r3, 8(r1) -/* 80091704 0008E664 80 05 00 00 */ lwz r0, 0(r5) -/* 80091708 0008E668 7C 03 00 40 */ cmplw r3, r0 -/* 8009170C 0008E66C 41 80 00 08 */ blt lbl_80091714 -/* 80091710 0008E670 38 80 00 01 */ li r4, 1 -lbl_80091714: -/* 80091714 0008E674 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80091718 0008E678 38 61 00 2C */ addi r3, r1, 0x2c -/* 8009171C 0008E67C 41 82 00 08 */ beq lbl_80091724 -/* 80091720 0008E680 38 61 00 18 */ addi r3, r1, 0x18 -lbl_80091724: -/* 80091724 0008E684 80 63 00 00 */ lwz r3, 0(r3) -/* 80091728 0008E688 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8009172C 0008E68C C0 23 00 04 */ lfs f1, 4(r3) -/* 80091730 0008E690 7C 08 03 A6 */ mtlr r0 -/* 80091734 0008E694 38 21 00 40 */ addi r1, r1, 0x40 -/* 80091738 0008E698 4E 80 00 20 */ blr - -.global InitializeScanTimes__12CPlayerStateFv -InitializeScanTimes__12CPlayerStateFv: -/* 8009173C 0008E69C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80091740 0008E6A0 7C 08 02 A6 */ mflr r0 -/* 80091744 0008E6A4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80091748 0008E6A8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8009174C 0008E6AC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80091750 0008E6B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80091754 0008E6B4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80091758 0008E6B8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009175C 0008E6BC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80091760 0008E6C0 7C 7C 1B 78 */ mr r28, r3 -/* 80091764 0008E6C4 80 03 01 74 */ lwz r0, 0x174(r3) -/* 80091768 0008E6C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8009176C 0008E6CC 40 82 00 90 */ bne lbl_800917FC -/* 80091770 0008E6D0 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13) -/* 80091774 0008E6D4 38 7C 01 70 */ addi r3, r28, 0x170 -/* 80091778 0008E6D8 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 8009177C 0008E6DC 48 00 0D E5 */ bl sub_80092560 -/* 80091780 0008E6E0 83 DF 00 2C */ lwz r30, 0x2c(r31) -/* 80091784 0008E6E4 48 00 00 60 */ b lbl_800917E4 -lbl_80091788: -/* 80091788 0008E6E8 80 1C 01 74 */ lwz r0, 0x174(r28) -/* 8009178C 0008E6EC 80 BC 01 78 */ lwz r5, 0x178(r28) -/* 80091790 0008E6F0 83 BE 00 00 */ lwz r29, 0(r30) -/* 80091794 0008E6F4 7C 00 28 00 */ cmpw r0, r5 -/* 80091798 0008E6F8 C3 ED 85 98 */ lfs f31, lbl_805A7158@sda21(r13) -/* 8009179C 0008E6FC 41 80 00 1C */ blt lbl_800917B8 -/* 800917A0 0008E700 2C 05 00 00 */ cmpwi r5, 0 -/* 800917A4 0008E704 38 7C 01 70 */ addi r3, r28, 0x170 -/* 800917A8 0008E708 38 80 00 04 */ li r4, 4 -/* 800917AC 0008E70C 41 82 00 08 */ beq lbl_800917B4 -/* 800917B0 0008E710 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800917B4: -/* 800917B4 0008E714 48 00 0D AD */ bl sub_80092560 -lbl_800917B8: -/* 800917B8 0008E718 80 1C 01 74 */ lwz r0, 0x174(r28) -/* 800917BC 0008E71C 80 7C 01 7C */ lwz r3, 0x17c(r28) -/* 800917C0 0008E720 54 00 18 38 */ slwi r0, r0, 3 -/* 800917C4 0008E724 7C 63 02 15 */ add. r3, r3, r0 -/* 800917C8 0008E728 41 82 00 0C */ beq lbl_800917D4 -/* 800917CC 0008E72C 93 A3 00 00 */ stw r29, 0(r3) -/* 800917D0 0008E730 D3 E3 00 04 */ stfs f31, 4(r3) -lbl_800917D4: -/* 800917D4 0008E734 80 7C 01 74 */ lwz r3, 0x174(r28) -/* 800917D8 0008E738 3B DE 00 08 */ addi r30, r30, 8 -/* 800917DC 0008E73C 38 03 00 01 */ addi r0, r3, 1 -/* 800917E0 0008E740 90 1C 01 74 */ stw r0, 0x174(r28) -lbl_800917E4: -/* 800917E4 0008E744 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 800917E8 0008E748 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 800917EC 0008E74C 54 00 18 38 */ slwi r0, r0, 3 -/* 800917F0 0008E750 7C 03 02 14 */ add r0, r3, r0 -/* 800917F4 0008E754 7C 1E 00 40 */ cmplw r30, r0 -/* 800917F8 0008E758 40 82 FF 90 */ bne lbl_80091788 -lbl_800917FC: -/* 800917FC 0008E75C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80091800 0008E760 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80091804 0008E764 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80091808 0008E768 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009180C 0008E76C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80091810 0008E770 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80091814 0008E774 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80091818 0008E778 7C 08 03 A6 */ mtlr r0 -/* 8009181C 0008E77C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80091820 0008E780 4E 80 00 20 */ blr - -.global GetEnergyTankCapacity__12CPlayerStateFv -GetEnergyTankCapacity__12CPlayerStateFv: -/* 80091824 0008E784 C0 22 8B 0C */ lfs f1, lbl_805AA82C@sda21(r2) -/* 80091828 0008E788 4E 80 00 20 */ blr - -.global GetBaseHealthCapacity__12CPlayerStateFv -GetBaseHealthCapacity__12CPlayerStateFv: -/* 8009182C 0008E78C C0 22 8B 10 */ lfs f1, lbl_805AA830@sda21(r2) -/* 80091830 0008E790 4E 80 00 20 */ blr - -.global GetIsVisorTransitioning__12CPlayerStateCFv -GetIsVisorTransitioning__12CPlayerStateCFv: -/* 80091834 0008E794 80 83 00 14 */ lwz r4, 0x14(r3) -/* 80091838 0008E798 38 A0 00 00 */ li r5, 0 -/* 8009183C 0008E79C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80091840 0008E7A0 7C 04 00 00 */ cmpw r4, r0 -/* 80091844 0008E7A4 40 82 00 14 */ bne lbl_80091858 -/* 80091848 0008E7A8 C0 22 8B 14 */ lfs f1, lbl_805AA834@sda21(r2) -/* 8009184C 0008E7AC C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80091850 0008E7B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80091854 0008E7B4 40 81 00 08 */ ble lbl_8009185C -lbl_80091858: -/* 80091858 0008E7B8 38 A0 00 01 */ li r5, 1 -lbl_8009185C: -/* 8009185C 0008E7BC 7C A3 2B 78 */ mr r3, r5 -/* 80091860 0008E7C0 4E 80 00 20 */ blr - -.global GetVisorTransitionFactor__12CPlayerStateCFv -GetVisorTransitionFactor__12CPlayerStateCFv: -/* 80091864 0008E7C4 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 80091868 0008E7C8 C0 02 8B 14 */ lfs f0, lbl_805AA834@sda21(r2) -/* 8009186C 0008E7CC EC 21 00 24 */ fdivs f1, f1, f0 -/* 80091870 0008E7D0 4E 80 00 20 */ blr - -.global UpdateVisorTransition__12CPlayerStateFf -UpdateVisorTransition__12CPlayerStateFf: -/* 80091874 0008E7D4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80091878 0008E7D8 7C 08 02 A6 */ mflr r0 -/* 8009187C 0008E7DC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80091880 0008E7E0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80091884 0008E7E4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80091888 0008E7E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009188C 0008E7EC 7C 7F 1B 78 */ mr r31, r3 -/* 80091890 0008E7F0 FF E0 08 90 */ fmr f31, f1 -/* 80091894 0008E7F4 4B FF FF A1 */ bl GetIsVisorTransitioning__12CPlayerStateCFv -/* 80091898 0008E7F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009189C 0008E7FC 41 82 00 9C */ beq lbl_80091938 -/* 800918A0 0008E800 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 800918A4 0008E804 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 800918A8 0008E808 7C 03 00 00 */ cmpw r3, r0 -/* 800918AC 0008E80C 40 82 00 34 */ bne lbl_800918E0 -/* 800918B0 0008E810 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 800918B4 0008E814 C0 02 8B 18 */ lfs f0, lbl_805AA838@sda21(r2) -/* 800918B8 0008E818 EC 21 F8 2A */ fadds f1, f1, f31 -/* 800918BC 0008E81C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800918C0 0008E820 D0 21 00 08 */ stfs f1, 8(r1) -/* 800918C4 0008E824 40 80 00 0C */ bge lbl_800918D0 -/* 800918C8 0008E828 38 61 00 08 */ addi r3, r1, 8 -/* 800918CC 0008E82C 48 00 00 08 */ b lbl_800918D4 -lbl_800918D0: -/* 800918D0 0008E830 38 62 8B 18 */ addi r3, r2, lbl_805AA838@sda21 -lbl_800918D4: -/* 800918D4 0008E834 C0 03 00 00 */ lfs f0, 0(r3) -/* 800918D8 0008E838 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 800918DC 0008E83C 48 00 00 5C */ b lbl_80091938 -lbl_800918E0: -/* 800918E0 0008E840 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 800918E4 0008E844 C0 02 8B 1C */ lfs f0, lbl_805AA83C@sda21(r2) -/* 800918E8 0008E848 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800918EC 0008E84C D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 800918F0 0008E850 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 800918F4 0008E854 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800918F8 0008E858 40 80 00 40 */ bge lbl_80091938 -/* 800918FC 0008E85C 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80091900 0008E860 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80091904 0008E864 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 80091908 0008E868 FC 00 02 10 */ fabs f0, f0 -/* 8009190C 0008E86C FC 00 00 18 */ frsp f0, f0 -/* 80091910 0008E870 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80091914 0008E874 C0 2D 85 94 */ lfs f1, lbl_805A7154@sda21(r13) -/* 80091918 0008E878 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8009191C 0008E87C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80091920 0008E880 40 80 00 0C */ bge lbl_8009192C -/* 80091924 0008E884 38 6D 85 94 */ addi r3, r13, lbl_805A7154@sda21 -/* 80091928 0008E888 48 00 00 08 */ b lbl_80091930 -lbl_8009192C: -/* 8009192C 0008E88C 38 7F 00 1C */ addi r3, r31, 0x1c -lbl_80091930: -/* 80091930 0008E890 C0 03 00 00 */ lfs f0, 0(r3) -/* 80091934 0008E894 D0 1F 00 1C */ stfs f0, 0x1c(r31) -lbl_80091938: -/* 80091938 0008E898 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8009193C 0008E89C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80091940 0008E8A0 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80091944 0008E8A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80091948 0008E8A8 7C 08 03 A6 */ mtlr r0 -/* 8009194C 0008E8AC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80091950 0008E8B0 4E 80 00 20 */ blr - -.global StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor -StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor: -/* 80091954 0008E8B4 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80091958 0008E8B8 7C 04 00 00 */ cmpw r4, r0 -/* 8009195C 0008E8BC 4D 82 00 20 */ beqlr -/* 80091960 0008E8C0 90 83 00 18 */ stw r4, 0x18(r3) -/* 80091964 0008E8C4 80 83 00 18 */ lwz r4, 0x18(r3) -/* 80091968 0008E8C8 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8009196C 0008E8CC 7C 04 00 00 */ cmpw r4, r0 -/* 80091970 0008E8D0 4E 80 00 20 */ blr - -.global ResetVisor__12CPlayerStateFv -ResetVisor__12CPlayerStateFv: -/* 80091974 0008E8D4 38 00 00 00 */ li r0, 0 -/* 80091978 0008E8D8 C0 02 8B 1C */ lfs f0, lbl_805AA83C@sda21(r2) -/* 8009197C 0008E8DC 90 03 00 18 */ stw r0, 0x18(r3) -/* 80091980 0008E8E0 90 03 00 14 */ stw r0, 0x14(r3) -/* 80091984 0008E8E4 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80091988 0008E8E8 4E 80 00 20 */ blr - -.global ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType -ItemEnabled__12CPlayerStateCFQ212CPlayerState9EItemType: -/* 8009198C 0008E8EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80091990 0008E8F0 7C 08 02 A6 */ mflr r0 -/* 80091994 0008E8F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80091998 0008E8F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009199C 0008E8FC 7C 9F 23 78 */ mr r31, r4 -/* 800919A0 0008E900 93 C1 00 08 */ stw r30, 8(r1) -/* 800919A4 0008E904 7C 7E 1B 78 */ mr r30, r3 -/* 800919A8 0008E908 48 00 01 19 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800919AC 0008E90C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800919B0 0008E910 41 82 00 24 */ beq lbl_800919D4 -/* 800919B4 0008E914 38 00 00 01 */ li r0, 1 -/* 800919B8 0008E918 80 7E 00 04 */ lwz r3, 4(r30) -/* 800919BC 0008E91C 7C 00 F8 30 */ slw r0, r0, r31 -/* 800919C0 0008E920 7C 63 00 38 */ and r3, r3, r0 -/* 800919C4 0008E924 7C 03 00 D0 */ neg r0, r3 -/* 800919C8 0008E928 7C 00 1B 78 */ or r0, r0, r3 -/* 800919CC 0008E92C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 800919D0 0008E930 48 00 00 08 */ b lbl_800919D8 -lbl_800919D4: -/* 800919D4 0008E934 38 60 00 00 */ li r3, 0 -lbl_800919D8: -/* 800919D8 0008E938 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800919DC 0008E93C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800919E0 0008E940 83 C1 00 08 */ lwz r30, 8(r1) -/* 800919E4 0008E944 7C 08 03 A6 */ mtlr r0 -/* 800919E8 0008E948 38 21 00 10 */ addi r1, r1, 0x10 -/* 800919EC 0008E94C 4E 80 00 20 */ blr - -.global DisableItem__12CPlayerStateFQ212CPlayerState9EItemType -DisableItem__12CPlayerStateFQ212CPlayerState9EItemType: -/* 800919F0 0008E950 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800919F4 0008E954 7C 08 02 A6 */ mflr r0 -/* 800919F8 0008E958 90 01 00 14 */ stw r0, 0x14(r1) -/* 800919FC 0008E95C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80091A00 0008E960 7C 9F 23 78 */ mr r31, r4 -/* 80091A04 0008E964 93 C1 00 08 */ stw r30, 8(r1) -/* 80091A08 0008E968 7C 7E 1B 78 */ mr r30, r3 -/* 80091A0C 0008E96C 48 00 00 B5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091A10 0008E970 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80091A14 0008E974 41 82 00 18 */ beq lbl_80091A2C -/* 80091A18 0008E978 38 00 00 01 */ li r0, 1 -/* 80091A1C 0008E97C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80091A20 0008E980 7C 00 F8 30 */ slw r0, r0, r31 -/* 80091A24 0008E984 7C 60 00 78 */ andc r0, r3, r0 -/* 80091A28 0008E988 90 1E 00 04 */ stw r0, 4(r30) -lbl_80091A2C: -/* 80091A2C 0008E98C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80091A30 0008E990 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80091A34 0008E994 83 C1 00 08 */ lwz r30, 8(r1) -/* 80091A38 0008E998 7C 08 03 A6 */ mtlr r0 -/* 80091A3C 0008E99C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80091A40 0008E9A0 4E 80 00 20 */ blr - -.global EnableItem__12CPlayerStateFQ212CPlayerState9EItemType -EnableItem__12CPlayerStateFQ212CPlayerState9EItemType: -/* 80091A44 0008E9A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80091A48 0008E9A8 7C 08 02 A6 */ mflr r0 -/* 80091A4C 0008E9AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80091A50 0008E9B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80091A54 0008E9B4 7C 9F 23 78 */ mr r31, r4 -/* 80091A58 0008E9B8 93 C1 00 08 */ stw r30, 8(r1) -/* 80091A5C 0008E9BC 7C 7E 1B 78 */ mr r30, r3 -/* 80091A60 0008E9C0 48 00 00 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091A64 0008E9C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80091A68 0008E9C8 41 82 00 18 */ beq lbl_80091A80 -/* 80091A6C 0008E9CC 38 00 00 01 */ li r0, 1 -/* 80091A70 0008E9D0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80091A74 0008E9D4 7C 00 F8 30 */ slw r0, r0, r31 -/* 80091A78 0008E9D8 7C 60 03 78 */ or r0, r3, r0 -/* 80091A7C 0008E9DC 90 1E 00 04 */ stw r0, 4(r30) -lbl_80091A80: -/* 80091A80 0008E9E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80091A84 0008E9E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80091A88 0008E9E8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80091A8C 0008E9EC 7C 08 03 A6 */ mtlr r0 -/* 80091A90 0008E9F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80091A94 0008E9F4 4E 80 00 20 */ blr - -.global GetPowerUp__12CPlayerStateFQ212CPlayerState9EItemType -GetPowerUp__12CPlayerStateFQ212CPlayerState9EItemType: -/* 80091A98 0008E9F8 2C 04 00 00 */ cmpwi r4, 0 -/* 80091A9C 0008E9FC 41 80 00 0C */ blt lbl_80091AA8 -/* 80091AA0 0008EA00 2C 04 00 28 */ cmpwi r4, 0x28 -/* 80091AA4 0008EA04 40 81 00 0C */ ble lbl_80091AB0 -lbl_80091AA8: -/* 80091AA8 0008EA08 38 60 00 00 */ li r3, 0 -/* 80091AAC 0008EA0C 4E 80 00 20 */ blr -lbl_80091AB0: -/* 80091AB0 0008EA10 54 80 18 38 */ slwi r0, r4, 3 -/* 80091AB4 0008EA14 7C 63 02 14 */ add r3, r3, r0 -/* 80091AB8 0008EA18 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 80091ABC 0008EA1C 4E 80 00 20 */ blr - -.global HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType: -/* 80091AC0 0008EA20 2C 04 00 00 */ cmpwi r4, 0 -/* 80091AC4 0008EA24 41 80 00 0C */ blt lbl_80091AD0 -/* 80091AC8 0008EA28 2C 04 00 28 */ cmpwi r4, 0x28 -/* 80091ACC 0008EA2C 40 81 00 0C */ ble lbl_80091AD8 -lbl_80091AD0: -/* 80091AD0 0008EA30 38 60 00 00 */ li r3, 0 -/* 80091AD4 0008EA34 4E 80 00 20 */ blr -lbl_80091AD8: -/* 80091AD8 0008EA38 54 80 18 38 */ slwi r0, r4, 3 -/* 80091ADC 0008EA3C 7C 63 02 14 */ add r3, r3, r0 -/* 80091AE0 0008EA40 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 80091AE4 0008EA44 7C 03 00 D0 */ neg r0, r3 -/* 80091AE8 0008EA48 7C 00 18 78 */ andc r0, r0, r3 -/* 80091AEC 0008EA4C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80091AF0 0008EA50 4E 80 00 20 */ blr - -.global GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType -GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType: -/* 80091AF4 0008EA54 2C 04 00 00 */ cmpwi r4, 0 -/* 80091AF8 0008EA58 41 80 00 0C */ blt lbl_80091B04 -/* 80091AFC 0008EA5C 2C 04 00 28 */ cmpwi r4, 0x28 -/* 80091B00 0008EA60 40 81 00 0C */ ble lbl_80091B0C -lbl_80091B04: -/* 80091B04 0008EA64 38 60 00 00 */ li r3, 0 -/* 80091B08 0008EA68 4E 80 00 20 */ blr -lbl_80091B0C: -/* 80091B0C 0008EA6C 54 80 18 38 */ slwi r0, r4, 3 -/* 80091B10 0008EA70 7C 63 02 14 */ add r3, r3, r0 -/* 80091B14 0008EA74 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 80091B18 0008EA78 4E 80 00 20 */ blr - -.global GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType: -/* 80091B1C 0008EA7C 2C 04 00 00 */ cmpwi r4, 0 -/* 80091B20 0008EA80 41 80 00 0C */ blt lbl_80091B2C -/* 80091B24 0008EA84 2C 04 00 28 */ cmpwi r4, 0x28 -/* 80091B28 0008EA88 40 81 00 0C */ ble lbl_80091B34 -lbl_80091B2C: -/* 80091B2C 0008EA8C 38 60 00 00 */ li r3, 0 -/* 80091B30 0008EA90 4E 80 00 20 */ blr -lbl_80091B34: -/* 80091B34 0008EA94 2C 04 00 0F */ cmpwi r4, 0xf -/* 80091B38 0008EA98 41 82 00 44 */ beq lbl_80091B7C -/* 80091B3C 0008EA9C 40 80 00 24 */ bge lbl_80091B60 -/* 80091B40 0008EAA0 2C 04 00 07 */ cmpwi r4, 7 -/* 80091B44 0008EAA4 40 80 00 10 */ bge lbl_80091B54 -/* 80091B48 0008EAA8 2C 04 00 04 */ cmpwi r4, 4 -/* 80091B4C 0008EAAC 41 82 00 30 */ beq lbl_80091B7C -/* 80091B50 0008EAB0 48 00 00 3C */ b lbl_80091B8C -lbl_80091B54: -/* 80091B54 0008EAB4 2C 04 00 09 */ cmpwi r4, 9 -/* 80091B58 0008EAB8 40 80 00 34 */ bge lbl_80091B8C -/* 80091B5C 0008EABC 48 00 00 20 */ b lbl_80091B7C -lbl_80091B60: -/* 80091B60 0008EAC0 2C 04 00 1D */ cmpwi r4, 0x1d -/* 80091B64 0008EAC4 40 80 00 10 */ bge lbl_80091B74 -/* 80091B68 0008EAC8 2C 04 00 18 */ cmpwi r4, 0x18 -/* 80091B6C 0008EACC 41 82 00 10 */ beq lbl_80091B7C -/* 80091B70 0008EAD0 48 00 00 1C */ b lbl_80091B8C -lbl_80091B74: -/* 80091B74 0008EAD4 2C 04 00 29 */ cmpwi r4, 0x29 -/* 80091B78 0008EAD8 40 80 00 14 */ bge lbl_80091B8C -lbl_80091B7C: -/* 80091B7C 0008EADC 54 80 18 38 */ slwi r0, r4, 3 -/* 80091B80 0008EAE0 7C 63 02 14 */ add r3, r3, r0 -/* 80091B84 0008EAE4 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80091B88 0008EAE8 4E 80 00 20 */ blr -lbl_80091B8C: -/* 80091B8C 0008EAEC 38 60 00 00 */ li r3, 0 -/* 80091B90 0008EAF0 4E 80 00 20 */ blr - -.global DecrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei -DecrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei: -/* 80091B94 0008EAF4 2C 04 00 00 */ cmpwi r4, 0 -/* 80091B98 0008EAF8 4D 80 00 20 */ bltlr -/* 80091B9C 0008EAFC 2C 04 00 28 */ cmpwi r4, 0x28 -/* 80091BA0 0008EB00 40 81 00 08 */ ble lbl_80091BA8 - -.global sub_80091ba4 -sub_80091ba4: -/* 80091BA4 0008EB04 4E 80 00 20 */ blr -lbl_80091BA8: -/* 80091BA8 0008EB08 2C 04 00 07 */ cmpwi r4, 7 -/* 80091BAC 0008EB0C 40 80 00 10 */ bge lbl_80091BBC -/* 80091BB0 0008EB10 2C 04 00 04 */ cmpwi r4, 4 -/* 80091BB4 0008EB14 41 82 00 10 */ beq lbl_80091BC4 - -.global sub_80091bb8 -sub_80091bb8: -/* 80091BB8 0008EB18 4E 80 00 20 */ blr -lbl_80091BBC: -/* 80091BBC 0008EB1C 2C 04 00 09 */ cmpwi r4, 9 -/* 80091BC0 0008EB20 4C 80 00 20 */ bgelr -lbl_80091BC4: -/* 80091BC4 0008EB24 54 80 18 38 */ slwi r0, r4, 3 -/* 80091BC8 0008EB28 7C 63 02 14 */ add r3, r3, r0 -/* 80091BCC 0008EB2C 80 03 00 28 */ lwz r0, 0x28(r3) -/* 80091BD0 0008EB30 7C 05 00 50 */ subf r0, r5, r0 -/* 80091BD4 0008EB34 90 03 00 28 */ stw r0, 0x28(r3) -/* 80091BD8 0008EB38 80 03 00 28 */ lwz r0, 0x28(r3) -/* 80091BDC 0008EB3C 2C 00 00 00 */ cmpwi r0, 0 -/* 80091BE0 0008EB40 4C 80 00 20 */ bgelr -/* 80091BE4 0008EB44 38 00 00 00 */ li r0, 0 -/* 80091BE8 0008EB48 90 03 00 28 */ stw r0, 0x28(r3) -/* 80091BEC 0008EB4C 4E 80 00 20 */ blr - -.global IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei -IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei: -/* 80091BF0 0008EB50 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80091BF4 0008EB54 7C 08 02 A6 */ mflr r0 -/* 80091BF8 0008EB58 90 01 00 34 */ stw r0, 0x34(r1) -/* 80091BFC 0008EB5C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80091C00 0008EB60 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80091C04 0008EB64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80091C08 0008EB68 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80091C0C 0008EB6C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80091C10 0008EB70 7C 9E 23 79 */ or. r30, r4, r4 -/* 80091C14 0008EB74 7C 7D 1B 78 */ mr r29, r3 -/* 80091C18 0008EB78 41 80 00 C4 */ blt lbl_80091CDC -/* 80091C1C 0008EB7C 2C 1E 00 28 */ cmpwi r30, 0x28 -/* 80091C20 0008EB80 40 81 00 08 */ ble lbl_80091C28 -/* 80091C24 0008EB84 48 00 00 B8 */ b lbl_80091CDC -lbl_80091C28: -/* 80091C28 0008EB88 2C 05 00 00 */ cmpwi r5, 0 -/* 80091C2C 0008EB8C 41 80 00 B0 */ blt lbl_80091CDC -/* 80091C30 0008EB90 38 1E FF FC */ addi r0, r30, -4 -/* 80091C34 0008EB94 28 00 00 24 */ cmplwi r0, 0x24 -/* 80091C38 0008EB98 41 81 00 8C */ bgt lbl_80091CC4 -/* 80091C3C 0008EB9C 3C 80 80 3E */ lis r4, lbl_803DAD40@ha -/* 80091C40 0008EBA0 54 00 10 3A */ slwi r0, r0, 2 -/* 80091C44 0008EBA4 38 84 AD 40 */ addi r4, r4, lbl_803DAD40@l -/* 80091C48 0008EBA8 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80091C4C 0008EBAC 7C 09 03 A6 */ mtctr r0 -/* 80091C50 0008EBB0 4E 80 04 20 */ bctr -/* 80091C54 0008EBB4 57 C0 18 38 */ slwi r0, r30, 3 -/* 80091C58 0008EBB8 7C 9D 02 14 */ add r4, r29, r0 -/* 80091C5C 0008EBBC 80 04 00 28 */ lwz r0, 0x28(r4) -/* 80091C60 0008EBC0 80 64 00 2C */ lwz r3, 0x2c(r4) -/* 80091C64 0008EBC4 7C 00 2A 14 */ add r0, r0, r5 -/* 80091C68 0008EBC8 90 04 00 28 */ stw r0, 0x28(r4) -/* 80091C6C 0008EBCC 80 04 00 28 */ lwz r0, 0x28(r4) -/* 80091C70 0008EBD0 7C 00 18 00 */ cmpw r0, r3 -/* 80091C74 0008EBD4 40 81 00 50 */ ble lbl_80091CC4 -/* 80091C78 0008EBD8 90 64 00 28 */ stw r3, 0x28(r4) -/* 80091C7C 0008EBDC 48 00 00 48 */ b lbl_80091CC4 -/* 80091C80 0008EBE0 37 FD 00 0C */ addic. r31, r29, 0xc -/* 80091C84 0008EBE4 41 82 00 40 */ beq lbl_80091CC4 -/* 80091C88 0008EBE8 6C A4 80 00 */ xoris r4, r5, 0x8000 -/* 80091C8C 0008EBEC 3C 00 43 30 */ lis r0, 0x4330 -/* 80091C90 0008EBF0 90 81 00 0C */ stw r4, 0xc(r1) -/* 80091C94 0008EBF4 C8 42 8B 20 */ lfd f2, lbl_805AA840@sda21(r2) -/* 80091C98 0008EBF8 90 01 00 08 */ stw r0, 8(r1) -/* 80091C9C 0008EBFC C0 1F 00 00 */ lfs f0, 0(r31) -/* 80091CA0 0008EC00 C8 21 00 08 */ lfd f1, 8(r1) -/* 80091CA4 0008EC04 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80091CA8 0008EC08 EF E1 00 2A */ fadds f31, f1, f0 -/* 80091CAC 0008EC0C 48 00 00 85 */ bl CalculateHealth__12CPlayerStateFUi -/* 80091CB0 0008EC10 FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 80091CB4 0008EC14 40 81 00 0C */ ble lbl_80091CC0 -/* 80091CB8 0008EC18 D0 3F 00 00 */ stfs f1, 0(r31) -/* 80091CBC 0008EC1C 48 00 00 08 */ b lbl_80091CC4 -lbl_80091CC0: -/* 80091CC0 0008EC20 D3 FF 00 00 */ stfs f31, 0(r31) -lbl_80091CC4: -/* 80091CC4 0008EC24 2C 1E 00 18 */ cmpwi r30, 0x18 -/* 80091CC8 0008EC28 40 82 00 14 */ bne lbl_80091CDC -/* 80091CCC 0008EC2C 7F A3 EB 78 */ mr r3, r29 -/* 80091CD0 0008EC30 38 80 00 1A */ li r4, 0x1a -/* 80091CD4 0008EC34 38 A0 27 0F */ li r5, 0x270f -/* 80091CD8 0008EC38 4B FF FF 19 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei -lbl_80091CDC: -/* 80091CDC 0008EC3C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80091CE0 0008EC40 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80091CE4 0008EC44 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80091CE8 0008EC48 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80091CEC 0008EC4C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80091CF0 0008EC50 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80091CF4 0008EC54 7C 08 03 A6 */ mtlr r0 -/* 80091CF8 0008EC58 38 21 00 30 */ addi r1, r1, 0x30 -/* 80091CFC 0008EC5C 4E 80 00 20 */ blr - -.global ResetAndIncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei -ResetAndIncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei: -/* 80091D00 0008EC60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80091D04 0008EC64 7C 08 02 A6 */ mflr r0 -/* 80091D08 0008EC68 38 E0 00 00 */ li r7, 0 -/* 80091D0C 0008EC6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80091D10 0008EC70 54 80 18 38 */ slwi r0, r4, 3 -/* 80091D14 0008EC74 7C C3 02 14 */ add r6, r3, r0 -/* 80091D18 0008EC78 90 E6 00 28 */ stw r7, 0x28(r6) -/* 80091D1C 0008EC7C 4B FF FE D5 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei -/* 80091D20 0008EC80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80091D24 0008EC84 7C 08 03 A6 */ mtlr r0 -/* 80091D28 0008EC88 38 21 00 10 */ addi r1, r1, 0x10 -/* 80091D2C 0008EC8C 4E 80 00 20 */ blr - -.global CalculateHealth__12CPlayerStateFUi -CalculateHealth__12CPlayerStateFUi: -/* 80091D30 0008EC90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80091D34 0008EC94 3C 00 43 30 */ lis r0, 0x4330 -/* 80091D38 0008EC98 C8 42 8B 20 */ lfd f2, lbl_805AA840@sda21(r2) -/* 80091D3C 0008EC9C 80 63 00 E8 */ lwz r3, 0xe8(r3) -/* 80091D40 0008ECA0 90 01 00 08 */ stw r0, 8(r1) -/* 80091D44 0008ECA4 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80091D48 0008ECA8 C0 62 8B 0C */ lfs f3, lbl_805AA82C@sda21(r2) -/* 80091D4C 0008ECAC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80091D50 0008ECB0 C0 02 8B 10 */ lfs f0, lbl_805AA830@sda21(r2) -/* 80091D54 0008ECB4 C8 21 00 08 */ lfd f1, 8(r1) -/* 80091D58 0008ECB8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80091D5C 0008ECBC EC 23 00 7A */ fmadds f1, f3, f1, f0 -/* 80091D60 0008ECC0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80091D64 0008ECC4 4E 80 00 20 */ blr - -.global InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei -InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei: -/* 80091D68 0008ECC8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80091D6C 0008ECCC 7C 08 02 A6 */ mflr r0 -/* 80091D70 0008ECD0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80091D74 0008ECD4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80091D78 0008ECD8 7C 7F 1B 78 */ mr r31, r3 -/* 80091D7C 0008ECDC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80091D80 0008ECE0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80091D84 0008ECE4 7C 9D 23 79 */ or. r29, r4, r4 -/* 80091D88 0008ECE8 41 80 00 E8 */ blt lbl_80091E70 -/* 80091D8C 0008ECEC 2C 1D 00 28 */ cmpwi r29, 0x28 -/* 80091D90 0008ECF0 40 81 00 08 */ ble lbl_80091D98 -/* 80091D94 0008ECF4 48 00 00 DC */ b lbl_80091E70 -lbl_80091D98: -/* 80091D98 0008ECF8 57 A0 18 38 */ slwi r0, r29, 3 -/* 80091D9C 0008ECFC 3C 60 80 3D */ lis r3, lbl_803CD6C0@ha -/* 80091DA0 0008ED00 7F DF 02 14 */ add r30, r31, r0 -/* 80091DA4 0008ED04 57 A6 10 3A */ slwi r6, r29, 2 -/* 80091DA8 0008ED08 80 FE 00 2C */ lwz r7, 0x2c(r30) -/* 80091DAC 0008ED0C 38 03 D6 C0 */ addi r0, r3, lbl_803CD6C0@l -/* 80091DB0 0008ED10 38 81 00 08 */ addi r4, r1, 8 -/* 80091DB4 0008ED14 3B DE 00 28 */ addi r30, r30, 0x28 -/* 80091DB8 0008ED18 7C 65 3A 14 */ add r3, r5, r7 -/* 80091DBC 0008ED1C 7C A0 32 14 */ add r5, r0, r6 -/* 80091DC0 0008ED20 90 61 00 08 */ stw r3, 8(r1) -/* 80091DC4 0008ED24 38 6D 85 90 */ addi r3, r13, lbl_805A7150@sda21 -/* 80091DC8 0008ED28 4B FC 82 9D */ bl "Clamp__5CMathFRCiRCiRCi" -/* 80091DCC 0008ED2C 80 03 00 00 */ lwz r0, 0(r3) -/* 80091DD0 0008ED30 90 1E 00 04 */ stw r0, 4(r30) -/* 80091DD4 0008ED34 80 7E 00 04 */ lwz r3, 4(r30) -/* 80091DD8 0008ED38 80 1E 00 00 */ lwz r0, 0(r30) -/* 80091DDC 0008ED3C 7C 03 00 00 */ cmpw r3, r0 -/* 80091DE0 0008ED40 40 80 00 0C */ bge lbl_80091DEC -/* 80091DE4 0008ED44 38 7E 00 04 */ addi r3, r30, 4 -/* 80091DE8 0008ED48 48 00 00 08 */ b lbl_80091DF0 -lbl_80091DEC: -/* 80091DEC 0008ED4C 7F C3 F3 78 */ mr r3, r30 -lbl_80091DF0: -/* 80091DF0 0008ED50 80 03 00 00 */ lwz r0, 0(r3) -/* 80091DF4 0008ED54 2C 1D 00 14 */ cmpwi r29, 0x14 -/* 80091DF8 0008ED58 90 1E 00 00 */ stw r0, 0(r30) -/* 80091DFC 0008ED5C 41 80 00 74 */ blt lbl_80091E70 -/* 80091E00 0008ED60 2C 1D 00 17 */ cmpwi r29, 0x17 -/* 80091E04 0008ED64 41 81 00 6C */ bgt lbl_80091E70 -/* 80091E08 0008ED68 7F E3 FB 78 */ mr r3, r31 -/* 80091E0C 0008ED6C 38 80 00 17 */ li r4, 0x17 -/* 80091E10 0008ED70 4B FF FC B1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091E14 0008ED74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80091E18 0008ED78 41 82 00 10 */ beq lbl_80091E28 -/* 80091E1C 0008ED7C 38 00 00 03 */ li r0, 3 -/* 80091E20 0008ED80 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80091E24 0008ED84 48 00 00 4C */ b lbl_80091E70 -lbl_80091E28: -/* 80091E28 0008ED88 7F E3 FB 78 */ mr r3, r31 -/* 80091E2C 0008ED8C 38 80 00 15 */ li r4, 0x15 -/* 80091E30 0008ED90 4B FF FC 91 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091E34 0008ED94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80091E38 0008ED98 41 82 00 10 */ beq lbl_80091E48 -/* 80091E3C 0008ED9C 38 00 00 01 */ li r0, 1 -/* 80091E40 0008EDA0 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80091E44 0008EDA4 48 00 00 2C */ b lbl_80091E70 -lbl_80091E48: -/* 80091E48 0008EDA8 7F E3 FB 78 */ mr r3, r31 -/* 80091E4C 0008EDAC 38 80 00 16 */ li r4, 0x16 -/* 80091E50 0008EDB0 4B FF FC 71 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80091E54 0008EDB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80091E58 0008EDB8 41 82 00 10 */ beq lbl_80091E68 -/* 80091E5C 0008EDBC 38 00 00 02 */ li r0, 2 -/* 80091E60 0008EDC0 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80091E64 0008EDC4 48 00 00 0C */ b lbl_80091E70 -lbl_80091E68: -/* 80091E68 0008EDC8 38 00 00 00 */ li r0, 0 -/* 80091E6C 0008EDCC 90 1F 00 20 */ stw r0, 0x20(r31) -lbl_80091E70: -/* 80091E70 0008EDD0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80091E74 0008EDD4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80091E78 0008EDD8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80091E7C 0008EDDC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80091E80 0008EDE0 7C 08 03 A6 */ mtlr r0 -/* 80091E84 0008EDE4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80091E88 0008EDE8 4E 80 00 20 */ blr - -.global ReInitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei -ReInitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei: -/* 80091E8C 0008EDEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80091E90 0008EDF0 7C 08 02 A6 */ mflr r0 -/* 80091E94 0008EDF4 38 E0 00 00 */ li r7, 0 -/* 80091E98 0008EDF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80091E9C 0008EDFC 54 80 18 38 */ slwi r0, r4, 3 -/* 80091EA0 0008EE00 7C C3 02 14 */ add r6, r3, r0 -/* 80091EA4 0008EE04 90 E6 00 2C */ stw r7, 0x2c(r6) -/* 80091EA8 0008EE08 4B FF FE C1 */ bl InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei -/* 80091EAC 0008EE0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80091EB0 0008EE10 7C 08 03 A6 */ mtlr r0 -/* 80091EB4 0008EE14 38 21 00 10 */ addi r1, r1, 0x10 -/* 80091EB8 0008EE18 4E 80 00 20 */ blr - -.global PutTo__12CPlayerStateFR13COutPutStream -PutTo__12CPlayerStateFR13COutPutStream: -/* 80091EBC 0008EE1C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80091EC0 0008EE20 7C 08 02 A6 */ mflr r0 -/* 80091EC4 0008EE24 90 01 00 44 */ stw r0, 0x44(r1) -/* 80091EC8 0008EE28 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80091ECC 0008EE2C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80091ED0 0008EE30 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80091ED4 0008EE34 7C 7E 1B 78 */ mr r30, r3 -/* 80091ED8 0008EE38 7C 9F 23 78 */ mr r31, r4 -/* 80091EDC 0008EE3C 80 83 00 04 */ lwz r4, 4(r3) -/* 80091EE0 0008EE40 7F E3 FB 78 */ mr r3, r31 -/* 80091EE4 0008EE44 38 A0 00 20 */ li r5, 0x20 -/* 80091EE8 0008EE48 48 2A D4 D5 */ bl WriteBits__13COutputStreamFii -/* 80091EEC 0008EE4C C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 80091EF0 0008EE50 7F E3 FB 78 */ mr r3, r31 -/* 80091EF4 0008EE54 38 A0 00 20 */ li r5, 0x20 -/* 80091EF8 0008EE58 D0 01 00 08 */ stfs f0, 8(r1) -/* 80091EFC 0008EE5C 80 81 00 08 */ lwz r4, 8(r1) -/* 80091F00 0008EE60 48 2A D4 BD */ bl WriteBits__13COutputStreamFii -/* 80091F04 0008EE64 38 60 00 05 */ li r3, 5 -/* 80091F08 0008EE68 48 00 04 B9 */ bl GetBitCount__12CPlayerStateFUi -/* 80091F0C 0008EE6C 80 9E 00 08 */ lwz r4, 8(r30) -/* 80091F10 0008EE70 7C 65 1B 78 */ mr r5, r3 -/* 80091F14 0008EE74 7F E3 FB 78 */ mr r3, r31 -/* 80091F18 0008EE78 48 2A D4 A5 */ bl WriteBits__13COutputStreamFii -/* 80091F1C 0008EE7C 38 60 00 04 */ li r3, 4 -/* 80091F20 0008EE80 48 00 04 A1 */ bl GetBitCount__12CPlayerStateFUi -/* 80091F24 0008EE84 80 9E 00 20 */ lwz r4, 0x20(r30) -/* 80091F28 0008EE88 7C 65 1B 78 */ mr r5, r3 -/* 80091F2C 0008EE8C 7F E3 FB 78 */ mr r3, r31 -/* 80091F30 0008EE90 48 2A D4 8D */ bl WriteBits__13COutputStreamFii -/* 80091F34 0008EE94 3C 60 80 3D */ lis r3, lbl_803CD6C0@ha -/* 80091F38 0008EE98 3B 9E 00 28 */ addi r28, r30, 0x28 -/* 80091F3C 0008EE9C 3B A3 D6 C0 */ addi r29, r3, lbl_803CD6C0@l -/* 80091F40 0008EEA0 3B 60 00 00 */ li r27, 0 -lbl_80091F44: -/* 80091F44 0008EEA4 80 7D 00 00 */ lwz r3, 0(r29) -/* 80091F48 0008EEA8 2C 03 00 00 */ cmpwi r3, 0 -/* 80091F4C 0008EEAC 40 81 00 2C */ ble lbl_80091F78 -/* 80091F50 0008EEB0 48 00 04 71 */ bl GetBitCount__12CPlayerStateFUi -/* 80091F54 0008EEB4 7C 7A 1B 78 */ mr r26, r3 -/* 80091F58 0008EEB8 80 9C 00 00 */ lwz r4, 0(r28) -/* 80091F5C 0008EEBC 7F E3 FB 78 */ mr r3, r31 -/* 80091F60 0008EEC0 7F 45 D3 78 */ mr r5, r26 -/* 80091F64 0008EEC4 48 2A D4 59 */ bl WriteBits__13COutputStreamFii -/* 80091F68 0008EEC8 80 9C 00 04 */ lwz r4, 4(r28) -/* 80091F6C 0008EECC 7F E3 FB 78 */ mr r3, r31 -/* 80091F70 0008EED0 7F 45 D3 78 */ mr r5, r26 -/* 80091F74 0008EED4 48 2A D4 49 */ bl WriteBits__13COutputStreamFii -lbl_80091F78: -/* 80091F78 0008EED8 3B 7B 00 01 */ addi r27, r27, 1 -/* 80091F7C 0008EEDC 3B 9C 00 08 */ addi r28, r28, 8 -/* 80091F80 0008EEE0 2C 1B 00 29 */ cmpwi r27, 0x29 -/* 80091F84 0008EEE4 3B BD 00 04 */ addi r29, r29, 4 -/* 80091F88 0008EEE8 41 80 FF BC */ blt lbl_80091F44 -/* 80091F8C 0008EEEC 83 BE 01 7C */ lwz r29, 0x17c(r30) -/* 80091F90 0008EEF0 C3 E2 8B 28 */ lfs f31, lbl_805AA848@sda21(r2) -/* 80091F94 0008EEF4 48 00 00 30 */ b lbl_80091FC4 -lbl_80091F98: -/* 80091F98 0008EEF8 C0 1D 00 04 */ lfs f0, 4(r29) -/* 80091F9C 0008EEFC 7F E3 FB 78 */ mr r3, r31 -/* 80091FA0 0008EF00 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80091FA4 0008EF04 4C 41 13 82 */ cror 2, 1, 2 -/* 80091FA8 0008EF08 40 82 00 0C */ bne lbl_80091FB4 -/* 80091FAC 0008EF0C 38 80 00 01 */ li r4, 1 -/* 80091FB0 0008EF10 48 00 00 08 */ b lbl_80091FB8 -lbl_80091FB4: -/* 80091FB4 0008EF14 38 80 00 00 */ li r4, 0 -lbl_80091FB8: -/* 80091FB8 0008EF18 38 A0 00 01 */ li r5, 1 -/* 80091FBC 0008EF1C 48 2A D4 01 */ bl WriteBits__13COutputStreamFii -/* 80091FC0 0008EF20 3B BD 00 08 */ addi r29, r29, 8 -lbl_80091FC4: -/* 80091FC4 0008EF24 80 1E 01 74 */ lwz r0, 0x174(r30) -/* 80091FC8 0008EF28 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80091FCC 0008EF2C 54 00 18 38 */ slwi r0, r0, 3 -/* 80091FD0 0008EF30 7C 03 02 14 */ add r0, r3, r0 -/* 80091FD4 0008EF34 7C 1D 00 40 */ cmplw r29, r0 -/* 80091FD8 0008EF38 40 82 FF C0 */ bne lbl_80091F98 -/* 80091FDC 0008EF3C 38 60 01 00 */ li r3, 0x100 -/* 80091FE0 0008EF40 48 00 03 E1 */ bl GetBitCount__12CPlayerStateFUi -/* 80091FE4 0008EF44 80 9E 01 80 */ lwz r4, 0x180(r30) -/* 80091FE8 0008EF48 7C 65 1B 78 */ mr r5, r3 -/* 80091FEC 0008EF4C 7F E3 FB 78 */ mr r3, r31 -/* 80091FF0 0008EF50 48 2A D3 CD */ bl WriteBits__13COutputStreamFii -/* 80091FF4 0008EF54 38 60 01 00 */ li r3, 0x100 -/* 80091FF8 0008EF58 48 00 03 C9 */ bl GetBitCount__12CPlayerStateFUi -/* 80091FFC 0008EF5C 80 9E 01 84 */ lwz r4, 0x184(r30) -/* 80092000 0008EF60 7C 65 1B 78 */ mr r5, r3 -/* 80092004 0008EF64 7F E3 FB 78 */ mr r3, r31 -/* 80092008 0008EF68 48 2A D3 B5 */ bl WriteBits__13COutputStreamFii -/* 8009200C 0008EF6C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80092010 0008EF70 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80092014 0008EF74 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80092018 0008EF78 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8009201C 0008EF7C 7C 08 03 A6 */ mtlr r0 -/* 80092020 0008EF80 38 21 00 40 */ addi r1, r1, 0x40 -/* 80092024 0008EF84 4E 80 00 20 */ blr - -.global __ct__12CPlayerStateFR12CInputStream -__ct__12CPlayerStateFR12CInputStream: -/* 80092028 0008EF88 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8009202C 0008EF8C 7C 08 02 A6 */ mflr r0 -/* 80092030 0008EF90 90 01 00 54 */ stw r0, 0x54(r1) -/* 80092034 0008EF94 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80092038 0008EF98 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8009203C 0008EF9C BF 21 00 24 */ stmw r25, 0x24(r1) -/* 80092040 0008EFA0 7C 7E 1B 78 */ mr r30, r3 -/* 80092044 0008EFA4 7C 9F 23 78 */ mr r31, r4 -/* 80092048 0008EFA8 88 03 00 00 */ lbz r0, 0(r3) -/* 8009204C 0008EFAC 38 60 00 01 */ li r3, 1 -/* 80092050 0008EFB0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80092054 0008EFB4 38 A0 00 00 */ li r5, 0 -/* 80092058 0008EFB8 98 1E 00 00 */ stb r0, 0(r30) -/* 8009205C 0008EFBC 38 7E 01 88 */ addi r3, r30, 0x188 -/* 80092060 0008EFC0 C0 42 8B 10 */ lfs f2, lbl_805AA830@sda21(r2) -/* 80092064 0008EFC4 38 80 00 05 */ li r4, 5 -/* 80092068 0008EFC8 88 1E 00 00 */ lbz r0, 0(r30) -/* 8009206C 0008EFCC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80092070 0008EFD0 C0 22 8B 2C */ lfs f1, lbl_805AA84C@sda21(r2) -/* 80092074 0008EFD4 98 1E 00 00 */ stb r0, 0(r30) -/* 80092078 0008EFD8 C0 02 8B 14 */ lfs f0, lbl_805AA834@sda21(r2) -/* 8009207C 0008EFDC 88 1E 00 00 */ lbz r0, 0(r30) -/* 80092080 0008EFE0 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80092084 0008EFE4 98 1E 00 00 */ stb r0, 0(r30) -/* 80092088 0008EFE8 90 BE 00 04 */ stw r5, 4(r30) -/* 8009208C 0008EFEC 90 BE 00 08 */ stw r5, 8(r30) -/* 80092090 0008EFF0 D0 5E 00 0C */ stfs f2, 0xc(r30) -/* 80092094 0008EFF4 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 80092098 0008EFF8 90 BE 00 14 */ stw r5, 0x14(r30) -/* 8009209C 0008EFFC 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 800920A0 0008F000 90 1E 00 18 */ stw r0, 0x18(r30) -/* 800920A4 0008F004 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 800920A8 0008F008 90 BE 00 20 */ stw r5, 0x20(r30) -/* 800920AC 0008F00C 90 BE 00 24 */ stw r5, 0x24(r30) -/* 800920B0 0008F010 90 BE 01 74 */ stw r5, 0x174(r30) -/* 800920B4 0008F014 90 BE 01 78 */ stw r5, 0x178(r30) -/* 800920B8 0008F018 90 BE 01 7C */ stw r5, 0x17c(r30) -/* 800920BC 0008F01C 90 BE 01 80 */ stw r5, 0x180(r30) -/* 800920C0 0008F020 90 BE 01 84 */ stw r5, 0x184(r30) -/* 800920C4 0008F024 48 12 EB 89 */ bl __ct__19CStaticInterferenceFi -/* 800920C8 0008F028 7F E3 FB 78 */ mr r3, r31 -/* 800920CC 0008F02C 38 80 00 20 */ li r4, 0x20 -/* 800920D0 0008F030 48 2A CC 69 */ bl ReadBits__12CInputStreamFi -/* 800920D4 0008F034 90 7E 00 04 */ stw r3, 4(r30) -/* 800920D8 0008F038 7F E3 FB 78 */ mr r3, r31 -/* 800920DC 0008F03C 38 80 00 20 */ li r4, 0x20 -/* 800920E0 0008F040 48 2A CC 59 */ bl ReadBits__12CInputStreamFi -/* 800920E4 0008F044 90 61 00 08 */ stw r3, 8(r1) -/* 800920E8 0008F048 38 60 00 05 */ li r3, 5 -/* 800920EC 0008F04C C0 02 8B 2C */ lfs f0, lbl_805AA84C@sda21(r2) -/* 800920F0 0008F050 C0 21 00 08 */ lfs f1, 8(r1) -/* 800920F4 0008F054 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 800920F8 0008F058 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 800920FC 0008F05C 48 00 02 C5 */ bl GetBitCount__12CPlayerStateFUi -/* 80092100 0008F060 7C 64 1B 78 */ mr r4, r3 -/* 80092104 0008F064 7F E3 FB 78 */ mr r3, r31 -/* 80092108 0008F068 48 2A CC 31 */ bl ReadBits__12CInputStreamFi -/* 8009210C 0008F06C 90 7E 00 08 */ stw r3, 8(r30) -/* 80092110 0008F070 38 60 00 04 */ li r3, 4 -/* 80092114 0008F074 48 00 02 AD */ bl GetBitCount__12CPlayerStateFUi -/* 80092118 0008F078 7C 64 1B 78 */ mr r4, r3 -/* 8009211C 0008F07C 7F E3 FB 78 */ mr r3, r31 -/* 80092120 0008F080 48 2A CC 19 */ bl ReadBits__12CInputStreamFi -/* 80092124 0008F084 3C 80 80 3D */ lis r4, lbl_803CD6C0@ha -/* 80092128 0008F088 90 7E 00 20 */ stw r3, 0x20(r30) -/* 8009212C 0008F08C 3B 64 D6 C0 */ addi r27, r4, lbl_803CD6C0@l -/* 80092130 0008F090 3B 9E 00 24 */ addi r28, r30, 0x24 -/* 80092134 0008F094 3B A0 00 00 */ li r29, 0 -lbl_80092138: -/* 80092138 0008F098 80 7B 00 00 */ lwz r3, 0(r27) -/* 8009213C 0008F09C 3B 40 00 00 */ li r26, 0 -/* 80092140 0008F0A0 38 A0 00 00 */ li r5, 0 -/* 80092144 0008F0A4 28 03 00 00 */ cmplwi r3, 0 -/* 80092148 0008F0A8 41 82 00 34 */ beq lbl_8009217C -/* 8009214C 0008F0AC 48 00 02 75 */ bl GetBitCount__12CPlayerStateFUi -/* 80092150 0008F0B0 7C 60 1B 78 */ mr r0, r3 -/* 80092154 0008F0B4 7F E3 FB 78 */ mr r3, r31 -/* 80092158 0008F0B8 7C 19 03 78 */ mr r25, r0 -/* 8009215C 0008F0BC 7F 24 CB 78 */ mr r4, r25 -/* 80092160 0008F0C0 48 2A CB D9 */ bl ReadBits__12CInputStreamFi -/* 80092164 0008F0C4 7C 60 1B 78 */ mr r0, r3 -/* 80092168 0008F0C8 7F E3 FB 78 */ mr r3, r31 -/* 8009216C 0008F0CC 7C 1A 03 78 */ mr r26, r0 -/* 80092170 0008F0D0 7F 24 CB 78 */ mr r4, r25 -/* 80092174 0008F0D4 48 2A CB C5 */ bl ReadBits__12CInputStreamFi -/* 80092178 0008F0D8 7C 65 1B 78 */ mr r5, r3 -lbl_8009217C: -/* 8009217C 0008F0DC 7F 44 D3 78 */ mr r4, r26 -/* 80092180 0008F0E0 38 61 00 0C */ addi r3, r1, 0xc -/* 80092184 0008F0E4 48 00 02 31 */ bl __ct__Q212CPlayerState8CPowerUpFii -/* 80092188 0008F0E8 80 1C 00 00 */ lwz r0, 0(r28) -/* 8009218C 0008F0EC 54 00 18 38 */ slwi r0, r0, 3 -/* 80092190 0008F0F0 7C 7C 02 14 */ add r3, r28, r0 -/* 80092194 0008F0F4 34 63 00 04 */ addic. r3, r3, 4 -/* 80092198 0008F0F8 41 82 00 14 */ beq lbl_800921AC -/* 8009219C 0008F0FC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800921A0 0008F100 90 03 00 00 */ stw r0, 0(r3) -/* 800921A4 0008F104 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800921A8 0008F108 90 03 00 04 */ stw r0, 4(r3) -lbl_800921AC: -/* 800921AC 0008F10C 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 800921B0 0008F110 3B BD 00 01 */ addi r29, r29, 1 -/* 800921B4 0008F114 2C 1D 00 29 */ cmpwi r29, 0x29 -/* 800921B8 0008F118 3B 7B 00 04 */ addi r27, r27, 4 -/* 800921BC 0008F11C 38 03 00 01 */ addi r0, r3, 1 -/* 800921C0 0008F120 90 1E 00 24 */ stw r0, 0x24(r30) -/* 800921C4 0008F124 41 80 FF 74 */ blt lbl_80092138 -/* 800921C8 0008F128 83 AD A0 84 */ lwz r29, gpMemoryCard@sda21(r13) -/* 800921CC 0008F12C 38 7E 01 70 */ addi r3, r30, 0x170 -/* 800921D0 0008F130 80 9D 00 24 */ lwz r4, 0x24(r29) -/* 800921D4 0008F134 48 00 03 8D */ bl sub_80092560 -/* 800921D8 0008F138 83 9D 00 2C */ lwz r28, 0x2c(r29) -/* 800921DC 0008F13C 48 00 00 84 */ b lbl_80092260 -lbl_800921E0: -/* 800921E0 0008F140 7F E3 FB 78 */ mr r3, r31 -/* 800921E4 0008F144 38 80 00 01 */ li r4, 1 -/* 800921E8 0008F148 48 2A CB 51 */ bl ReadBits__12CInputStreamFi -/* 800921EC 0008F14C 7C 03 00 D0 */ neg r0, r3 -/* 800921F0 0008F150 7C 00 1B 78 */ or r0, r0, r3 -/* 800921F4 0008F154 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 800921F8 0008F158 41 82 00 0C */ beq lbl_80092204 -/* 800921FC 0008F15C C3 E2 8B 28 */ lfs f31, lbl_805AA848@sda21(r2) -/* 80092200 0008F160 48 00 00 08 */ b lbl_80092208 -lbl_80092204: -/* 80092204 0008F164 C3 E2 8B 1C */ lfs f31, lbl_805AA83C@sda21(r2) -lbl_80092208: -/* 80092208 0008F168 80 1E 01 74 */ lwz r0, 0x174(r30) -/* 8009220C 0008F16C 80 BE 01 78 */ lwz r5, 0x178(r30) -/* 80092210 0008F170 83 7C 00 00 */ lwz r27, 0(r28) -/* 80092214 0008F174 7C 00 28 00 */ cmpw r0, r5 -/* 80092218 0008F178 41 80 00 1C */ blt lbl_80092234 -/* 8009221C 0008F17C 2C 05 00 00 */ cmpwi r5, 0 -/* 80092220 0008F180 38 7E 01 70 */ addi r3, r30, 0x170 -/* 80092224 0008F184 38 80 00 04 */ li r4, 4 -/* 80092228 0008F188 41 82 00 08 */ beq lbl_80092230 -/* 8009222C 0008F18C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80092230: -/* 80092230 0008F190 48 00 03 31 */ bl sub_80092560 -lbl_80092234: -/* 80092234 0008F194 80 1E 01 74 */ lwz r0, 0x174(r30) -/* 80092238 0008F198 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8009223C 0008F19C 54 00 18 38 */ slwi r0, r0, 3 -/* 80092240 0008F1A0 7C 63 02 15 */ add. r3, r3, r0 -/* 80092244 0008F1A4 41 82 00 0C */ beq lbl_80092250 -/* 80092248 0008F1A8 93 63 00 00 */ stw r27, 0(r3) -/* 8009224C 0008F1AC D3 E3 00 04 */ stfs f31, 4(r3) -lbl_80092250: -/* 80092250 0008F1B0 80 7E 01 74 */ lwz r3, 0x174(r30) -/* 80092254 0008F1B4 3B 9C 00 08 */ addi r28, r28, 8 -/* 80092258 0008F1B8 38 03 00 01 */ addi r0, r3, 1 -/* 8009225C 0008F1BC 90 1E 01 74 */ stw r0, 0x174(r30) -lbl_80092260: -/* 80092260 0008F1C0 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 80092264 0008F1C4 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 80092268 0008F1C8 54 00 18 38 */ slwi r0, r0, 3 -/* 8009226C 0008F1CC 7C 03 02 14 */ add r0, r3, r0 -/* 80092270 0008F1D0 7C 1C 00 40 */ cmplw r28, r0 -/* 80092274 0008F1D4 40 82 FF 6C */ bne lbl_800921E0 -/* 80092278 0008F1D8 38 60 01 00 */ li r3, 0x100 -/* 8009227C 0008F1DC 48 00 01 45 */ bl GetBitCount__12CPlayerStateFUi -/* 80092280 0008F1E0 7C 64 1B 78 */ mr r4, r3 -/* 80092284 0008F1E4 7F E3 FB 78 */ mr r3, r31 -/* 80092288 0008F1E8 48 2A CA B1 */ bl ReadBits__12CInputStreamFi -/* 8009228C 0008F1EC 90 7E 01 80 */ stw r3, 0x180(r30) -/* 80092290 0008F1F0 38 60 01 00 */ li r3, 0x100 -/* 80092294 0008F1F4 48 00 01 2D */ bl GetBitCount__12CPlayerStateFUi -/* 80092298 0008F1F8 7C 64 1B 78 */ mr r4, r3 -/* 8009229C 0008F1FC 7F E3 FB 78 */ mr r3, r31 -/* 800922A0 0008F200 48 2A CA 99 */ bl ReadBits__12CInputStreamFi -/* 800922A4 0008F204 90 7E 01 84 */ stw r3, 0x184(r30) -/* 800922A8 0008F208 7F C3 F3 78 */ mr r3, r30 -/* 800922AC 0008F20C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 800922B0 0008F210 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 800922B4 0008F214 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 800922B8 0008F218 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800922BC 0008F21C 7C 08 03 A6 */ mtlr r0 -/* 800922C0 0008F220 38 21 00 50 */ addi r1, r1, 0x50 -/* 800922C4 0008F224 4E 80 00 20 */ blr - -.global __ct__12CPlayerStateFv -__ct__12CPlayerStateFv: -/* 800922C8 0008F228 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800922CC 0008F22C 7C 08 02 A6 */ mflr r0 -/* 800922D0 0008F230 38 C0 00 00 */ li r6, 0 -/* 800922D4 0008F234 C0 42 8B 10 */ lfs f2, lbl_805AA830@sda21(r2) -/* 800922D8 0008F238 90 01 00 24 */ stw r0, 0x24(r1) -/* 800922DC 0008F23C 38 80 00 00 */ li r4, 0 -/* 800922E0 0008F240 C0 22 8B 2C */ lfs f1, lbl_805AA84C@sda21(r2) -/* 800922E4 0008F244 38 A0 00 00 */ li r5, 0 -/* 800922E8 0008F248 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800922EC 0008F24C 7C 7F 1B 78 */ mr r31, r3 -/* 800922F0 0008F250 38 60 00 01 */ li r3, 1 -/* 800922F4 0008F254 C0 02 8B 14 */ lfs f0, lbl_805AA834@sda21(r2) -/* 800922F8 0008F258 88 1F 00 00 */ lbz r0, 0(r31) -/* 800922FC 0008F25C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80092300 0008F260 38 61 00 08 */ addi r3, r1, 8 -/* 80092304 0008F264 98 1F 00 00 */ stb r0, 0(r31) -/* 80092308 0008F268 88 1F 00 00 */ lbz r0, 0(r31) -/* 8009230C 0008F26C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80092310 0008F270 98 1F 00 00 */ stb r0, 0(r31) -/* 80092314 0008F274 88 1F 00 00 */ lbz r0, 0(r31) -/* 80092318 0008F278 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 8009231C 0008F27C 98 1F 00 00 */ stb r0, 0(r31) -/* 80092320 0008F280 90 DF 00 04 */ stw r6, 4(r31) -/* 80092324 0008F284 90 DF 00 08 */ stw r6, 8(r31) -/* 80092328 0008F288 D0 5F 00 0C */ stfs f2, 0xc(r31) -/* 8009232C 0008F28C D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 80092330 0008F290 90 DF 00 14 */ stw r6, 0x14(r31) -/* 80092334 0008F294 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80092338 0008F298 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8009233C 0008F29C D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80092340 0008F2A0 90 DF 00 20 */ stw r6, 0x20(r31) -/* 80092344 0008F2A4 48 00 00 71 */ bl __ct__Q212CPlayerState8CPowerUpFii -/* 80092348 0008F2A8 38 00 00 29 */ li r0, 0x29 -/* 8009234C 0008F2AC 38 7F 00 28 */ addi r3, r31, 0x28 -/* 80092350 0008F2B0 90 1F 00 24 */ stw r0, 0x24(r31) -/* 80092354 0008F2B4 7C 09 03 A6 */ mtctr r0 -lbl_80092358: -/* 80092358 0008F2B8 28 03 00 00 */ cmplwi r3, 0 -/* 8009235C 0008F2BC 41 82 00 14 */ beq lbl_80092370 -/* 80092360 0008F2C0 80 01 00 08 */ lwz r0, 8(r1) -/* 80092364 0008F2C4 90 03 00 00 */ stw r0, 0(r3) -/* 80092368 0008F2C8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8009236C 0008F2CC 90 03 00 04 */ stw r0, 4(r3) -lbl_80092370: -/* 80092370 0008F2D0 38 63 00 08 */ addi r3, r3, 8 -/* 80092374 0008F2D4 42 00 FF E4 */ bdnz lbl_80092358 -/* 80092378 0008F2D8 38 00 00 00 */ li r0, 0 -/* 8009237C 0008F2DC 38 7F 01 88 */ addi r3, r31, 0x188 -/* 80092380 0008F2E0 90 1F 01 74 */ stw r0, 0x174(r31) -/* 80092384 0008F2E4 38 80 00 05 */ li r4, 5 -/* 80092388 0008F2E8 90 1F 01 78 */ stw r0, 0x178(r31) -/* 8009238C 0008F2EC 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80092390 0008F2F0 90 1F 01 80 */ stw r0, 0x180(r31) -/* 80092394 0008F2F4 90 1F 01 84 */ stw r0, 0x184(r31) -/* 80092398 0008F2F8 48 12 E8 B5 */ bl __ct__19CStaticInterferenceFi -/* 8009239C 0008F2FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800923A0 0008F300 7F E3 FB 78 */ mr r3, r31 -/* 800923A4 0008F304 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800923A8 0008F308 7C 08 03 A6 */ mtlr r0 -/* 800923AC 0008F30C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800923B0 0008F310 4E 80 00 20 */ blr - -.global __ct__Q212CPlayerState8CPowerUpFii -__ct__Q212CPlayerState8CPowerUpFii: -/* 800923B4 0008F314 90 83 00 00 */ stw r4, 0(r3) -/* 800923B8 0008F318 90 A3 00 04 */ stw r5, 4(r3) -/* 800923BC 0008F31C 4E 80 00 20 */ blr - -.global GetBitCount__12CPlayerStateFUi -GetBitCount__12CPlayerStateFUi: -/* 800923C0 0008F320 38 80 00 00 */ li r4, 0 -/* 800923C4 0008F324 48 00 00 0C */ b lbl_800923D0 -lbl_800923C8: -/* 800923C8 0008F328 54 63 F8 7E */ srwi r3, r3, 1 -/* 800923CC 0008F32C 38 84 00 01 */ addi r4, r4, 1 -lbl_800923D0: -/* 800923D0 0008F330 28 03 00 00 */ cmplwi r3, 0 -/* 800923D4 0008F334 40 82 FF F4 */ bne lbl_800923C8 -/* 800923D8 0008F338 7C 83 23 78 */ mr r3, r4 -/* 800923DC 0008F33C 4E 80 00 20 */ blr - -.global "lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPCQ24rstl10pairPCQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>" -"lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPCQ24rstl10pairPCQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>": -/* 800923E0 0008F340 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800923E4 0008F344 7C 08 02 A6 */ mflr r0 -/* 800923E8 0008F348 90 01 00 34 */ stw r0, 0x34(r1) -/* 800923EC 0008F34C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800923F0 0008F350 7C 9F 23 78 */ mr r31, r4 -/* 800923F4 0008F354 7C 7E 1B 78 */ mr r30, r3 -/* 800923F8 0008F358 7C DB 33 78 */ mr r27, r6 -/* 800923FC 0008F35C 38 61 00 0C */ addi r3, r1, 0xc -/* 80092400 0008F360 80 85 00 00 */ lwz r4, 0(r5) -/* 80092404 0008F364 80 1F 00 00 */ lwz r0, 0(r31) -/* 80092408 0008F368 90 81 00 08 */ stw r4, 8(r1) -/* 8009240C 0008F36C 38 81 00 08 */ addi r4, r1, 8 -/* 80092410 0008F370 90 01 00 0C */ stw r0, 0xc(r1) -/* 80092414 0008F374 48 00 02 C5 */ bl "distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pair" -/* 80092418 0008F378 80 1F 00 00 */ lwz r0, 0(r31) -/* 8009241C 0008F37C 7C 7D 1B 78 */ mr r29, r3 -/* 80092420 0008F380 90 01 00 10 */ stw r0, 0x10(r1) -/* 80092424 0008F384 48 00 00 58 */ b lbl_8009247C -lbl_80092428: -/* 80092428 0008F388 57 A3 0F FE */ srwi r3, r29, 0x1f -/* 8009242C 0008F38C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80092430 0008F390 7C 83 EA 14 */ add r4, r3, r29 -/* 80092434 0008F394 38 61 00 10 */ addi r3, r1, 0x10 -/* 80092438 0008F398 7C 9C 0E 70 */ srawi r28, r4, 1 -/* 8009243C 0008F39C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80092440 0008F3A0 7F 84 E3 78 */ mr r4, r28 -/* 80092444 0008F3A4 48 00 02 15 */ bl "advance,i>__4rstlFRPCQ24rstl10pairi" -/* 80092448 0008F3A8 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8009244C 0008F3AC 80 1B 00 00 */ lwz r0, 0(r27) -/* 80092450 0008F3B0 80 64 00 00 */ lwz r3, 0(r4) -/* 80092454 0008F3B4 7C 03 00 40 */ cmplw r3, r0 -/* 80092458 0008F3B8 40 80 00 20 */ bge lbl_80092478 -/* 8009245C 0008F3BC 90 9F 00 00 */ stw r4, 0(r31) -/* 80092460 0008F3C0 7C 7C E8 50 */ subf r3, r28, r29 -/* 80092464 0008F3C4 3B A3 FF FF */ addi r29, r3, -1 -/* 80092468 0008F3C8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8009246C 0008F3CC 38 03 00 08 */ addi r0, r3, 8 -/* 80092470 0008F3D0 90 1F 00 00 */ stw r0, 0(r31) -/* 80092474 0008F3D4 48 00 00 08 */ b lbl_8009247C -lbl_80092478: -/* 80092478 0008F3D8 7F 9D E3 78 */ mr r29, r28 -lbl_8009247C: -/* 8009247C 0008F3DC 2C 1D 00 00 */ cmpwi r29, 0 -/* 80092480 0008F3E0 41 81 FF A8 */ bgt lbl_80092428 -/* 80092484 0008F3E4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80092488 0008F3E8 90 1E 00 00 */ stw r0, 0(r30) -/* 8009248C 0008F3EC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80092490 0008F3F0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80092494 0008F3F4 7C 08 03 A6 */ mtlr r0 -/* 80092498 0008F3F8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8009249C 0008F3FC 4E 80 00 20 */ blr - -.global "lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPQ24rstl10pairPQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>" -"lower_bound,Ui,Q24rstl56pair_sorter_finder,Q24rstl8less>>__4rstlFPQ24rstl10pairPQ24rstl10pairRCUiQ24rstl56pair_sorter_finder,Q24rstl8less>": -/* 800924A0 0008F400 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800924A4 0008F404 7C 08 02 A6 */ mflr r0 -/* 800924A8 0008F408 90 01 00 34 */ stw r0, 0x34(r1) -/* 800924AC 0008F40C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800924B0 0008F410 7C 9F 23 78 */ mr r31, r4 -/* 800924B4 0008F414 7C 7E 1B 78 */ mr r30, r3 -/* 800924B8 0008F418 7C DB 33 78 */ mr r27, r6 -/* 800924BC 0008F41C 38 61 00 0C */ addi r3, r1, 0xc -/* 800924C0 0008F420 80 85 00 00 */ lwz r4, 0(r5) -/* 800924C4 0008F424 80 1F 00 00 */ lwz r0, 0(r31) -/* 800924C8 0008F428 90 81 00 08 */ stw r4, 8(r1) -/* 800924CC 0008F42C 38 81 00 08 */ addi r4, r1, 8 -/* 800924D0 0008F430 90 01 00 0C */ stw r0, 0xc(r1) -/* 800924D4 0008F434 48 00 02 49 */ bl "distance>__4rstlFPQ24rstl10pairPQ24rstl10pair" -/* 800924D8 0008F438 80 1F 00 00 */ lwz r0, 0(r31) -/* 800924DC 0008F43C 7C 7D 1B 78 */ mr r29, r3 -/* 800924E0 0008F440 90 01 00 10 */ stw r0, 0x10(r1) -/* 800924E4 0008F444 48 00 00 58 */ b lbl_8009253C -lbl_800924E8: -/* 800924E8 0008F448 57 A3 0F FE */ srwi r3, r29, 0x1f -/* 800924EC 0008F44C 80 1F 00 00 */ lwz r0, 0(r31) -/* 800924F0 0008F450 7C 83 EA 14 */ add r4, r3, r29 -/* 800924F4 0008F454 38 61 00 10 */ addi r3, r1, 0x10 -/* 800924F8 0008F458 7C 9C 0E 70 */ srawi r28, r4, 1 -/* 800924FC 0008F45C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80092500 0008F460 7F 84 E3 78 */ mr r4, r28 -/* 80092504 0008F464 48 00 01 81 */ bl "advance,i>__4rstlFRPQ24rstl10pairi" -/* 80092508 0008F468 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8009250C 0008F46C 80 1B 00 00 */ lwz r0, 0(r27) -/* 80092510 0008F470 80 64 00 00 */ lwz r3, 0(r4) -/* 80092514 0008F474 7C 03 00 40 */ cmplw r3, r0 -/* 80092518 0008F478 40 80 00 20 */ bge lbl_80092538 -/* 8009251C 0008F47C 90 9F 00 00 */ stw r4, 0(r31) -/* 80092520 0008F480 7C 7C E8 50 */ subf r3, r28, r29 -/* 80092524 0008F484 3B A3 FF FF */ addi r29, r3, -1 -/* 80092528 0008F488 80 7F 00 00 */ lwz r3, 0(r31) -/* 8009252C 0008F48C 38 03 00 08 */ addi r0, r3, 8 -/* 80092530 0008F490 90 1F 00 00 */ stw r0, 0(r31) -/* 80092534 0008F494 48 00 00 08 */ b lbl_8009253C -lbl_80092538: -/* 80092538 0008F498 7F 9D E3 78 */ mr r29, r28 -lbl_8009253C: -/* 8009253C 0008F49C 2C 1D 00 00 */ cmpwi r29, 0 -/* 80092540 0008F4A0 41 81 FF A8 */ bgt lbl_800924E8 -/* 80092544 0008F4A4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80092548 0008F4A8 90 1E 00 00 */ stw r0, 0(r30) -/* 8009254C 0008F4AC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80092550 0008F4B0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80092554 0008F4B4 7C 08 03 A6 */ mtlr r0 -/* 80092558 0008F4B8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8009255C 0008F4BC 4E 80 00 20 */ blr - -.global sub_80092560 -sub_80092560: -/* 80092560 0008F4C0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80092564 0008F4C4 7C 08 02 A6 */ mflr r0 -/* 80092568 0008F4C8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8009256C 0008F4CC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80092570 0008F4D0 7C 9F 23 78 */ mr r31, r4 -/* 80092574 0008F4D4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80092578 0008F4D8 7C 7E 1B 78 */ mr r30, r3 -/* 8009257C 0008F4DC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80092580 0008F4E0 80 03 00 08 */ lwz r0, 8(r3) -/* 80092584 0008F4E4 7C 1F 00 00 */ cmpw r31, r0 -/* 80092588 0008F4E8 40 81 00 B4 */ ble lbl_8009263C -/* 8009258C 0008F4EC 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 80092590 0008F4F0 40 82 00 0C */ bne lbl_8009259C -/* 80092594 0008F4F4 3B A0 00 00 */ li r29, 0 -/* 80092598 0008F4F8 48 00 00 1C */ b lbl_800925B4 -lbl_8009259C: -/* 8009259C 0008F4FC 3C 80 80 3D */ lis r4, lbl_803CD78C@ha -/* 800925A0 0008F500 38 A0 00 00 */ li r5, 0 -/* 800925A4 0008F504 38 84 D7 8C */ addi r4, r4, lbl_803CD78C@l -/* 800925A8 0008F508 38 84 00 2D */ addi r4, r4, 0x2d -/* 800925AC 0008F50C 48 28 32 6D */ bl __nwa__FUlPCcPCc -/* 800925B0 0008F510 7C 7D 1B 78 */ mr r29, r3 -lbl_800925B4: -/* 800925B4 0008F514 80 1E 00 04 */ lwz r0, 4(r30) -/* 800925B8 0008F518 7F A4 EB 78 */ mr r4, r29 -/* 800925BC 0008F51C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800925C0 0008F520 54 00 18 38 */ slwi r0, r0, 3 -/* 800925C4 0008F524 7C 65 02 14 */ add r3, r5, r0 -/* 800925C8 0008F528 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800925CC 0008F52C 90 61 00 08 */ stw r3, 8(r1) -/* 800925D0 0008F530 90 61 00 0C */ stw r3, 0xc(r1) -/* 800925D4 0008F534 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800925D8 0008F538 48 00 00 24 */ b lbl_800925FC -lbl_800925DC: -/* 800925DC 0008F53C 28 04 00 00 */ cmplwi r4, 0 -/* 800925E0 0008F540 41 82 00 14 */ beq lbl_800925F4 -/* 800925E4 0008F544 80 05 00 00 */ lwz r0, 0(r5) -/* 800925E8 0008F548 90 04 00 00 */ stw r0, 0(r4) -/* 800925EC 0008F54C C0 05 00 04 */ lfs f0, 4(r5) -/* 800925F0 0008F550 D0 04 00 04 */ stfs f0, 4(r4) -lbl_800925F4: -/* 800925F4 0008F554 38 84 00 08 */ addi r4, r4, 8 -/* 800925F8 0008F558 38 A5 00 08 */ addi r5, r5, 8 -lbl_800925FC: -/* 800925FC 0008F55C 7C 05 18 40 */ cmplw r5, r3 -/* 80092600 0008F560 40 82 FF DC */ bne lbl_800925DC -/* 80092604 0008F564 80 1E 00 04 */ lwz r0, 4(r30) -/* 80092608 0008F568 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8009260C 0008F56C 54 00 18 38 */ slwi r0, r0, 3 -/* 80092610 0008F570 7C 64 1B 78 */ mr r4, r3 -/* 80092614 0008F574 7C 03 02 14 */ add r0, r3, r0 -/* 80092618 0008F578 48 00 00 08 */ b lbl_80092620 -lbl_8009261C: -/* 8009261C 0008F57C 38 84 00 08 */ addi r4, r4, 8 -lbl_80092620: -/* 80092620 0008F580 7C 04 00 40 */ cmplw r4, r0 -/* 80092624 0008F584 40 82 FF F8 */ bne lbl_8009261C -/* 80092628 0008F588 28 03 00 00 */ cmplwi r3, 0 -/* 8009262C 0008F58C 41 82 00 08 */ beq lbl_80092634 -/* 80092630 0008F590 48 28 33 01 */ bl Free__7CMemoryFPCv -lbl_80092634: -/* 80092634 0008F594 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80092638 0008F598 93 FE 00 08 */ stw r31, 8(r30) -lbl_8009263C: -/* 8009263C 0008F59C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80092640 0008F5A0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80092644 0008F5A4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80092648 0008F5A8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8009264C 0008F5AC 7C 08 03 A6 */ mtlr r0 -/* 80092650 0008F5B0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80092654 0008F5B4 4E 80 00 20 */ blr - -.global "advance,i>__4rstlFRPCQ24rstl10pairi" -"advance,i>__4rstlFRPCQ24rstl10pairi": -/* 80092658 0008F5B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009265C 0008F5BC 7C 08 02 A6 */ mflr r0 -/* 80092660 0008F5C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80092664 0008F5C4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80092668 0008F5C8 88 01 00 08 */ lbz r0, 8(r1) -/* 8009266C 0008F5CC 98 01 00 0C */ stb r0, 0xc(r1) -/* 80092670 0008F5D0 48 00 00 55 */ bl sub_800926c4 -/* 80092674 0008F5D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80092678 0008F5D8 7C 08 03 A6 */ mtlr r0 -/* 8009267C 0008F5DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80092680 0008F5E0 4E 80 00 20 */ blr - -.global "advance,i>__4rstlFRPQ24rstl10pairi" -"advance,i>__4rstlFRPQ24rstl10pairi": -/* 80092684 0008F5E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80092688 0008F5E8 7C 08 02 A6 */ mflr r0 -/* 8009268C 0008F5EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80092690 0008F5F0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80092694 0008F5F4 88 01 00 08 */ lbz r0, 8(r1) -/* 80092698 0008F5F8 98 01 00 0C */ stb r0, 0xc(r1) -/* 8009269C 0008F5FC 48 00 00 15 */ bl "__advance,i>__4rstlFRPCQ24rstl10pairiQ24rstl26random_access_iterator_tag" -/* 800926A0 0008F600 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800926A4 0008F604 7C 08 03 A6 */ mtlr r0 -/* 800926A8 0008F608 38 21 00 10 */ addi r1, r1, 0x10 -/* 800926AC 0008F60C 4E 80 00 20 */ blr - -.global "__advance,i>__4rstlFRPCQ24rstl10pairiQ24rstl26random_access_iterator_tag" -"__advance,i>__4rstlFRPCQ24rstl10pairiQ24rstl26random_access_iterator_tag": -/* 800926B0 0008F610 80 A3 00 00 */ lwz r5, 0(r3) -/* 800926B4 0008F614 54 80 18 38 */ slwi r0, r4, 3 -/* 800926B8 0008F618 7C 05 02 14 */ add r0, r5, r0 -/* 800926BC 0008F61C 90 03 00 00 */ stw r0, 0(r3) -/* 800926C0 0008F620 4E 80 00 20 */ blr - -.global sub_800926c4 -sub_800926c4: -/* 800926C4 0008F624 80 A3 00 00 */ lwz r5, 0(r3) -/* 800926C8 0008F628 54 80 18 38 */ slwi r0, r4, 3 -/* 800926CC 0008F62C 7C 05 02 14 */ add r0, r5, r0 -/* 800926D0 0008F630 90 03 00 00 */ stw r0, 0(r3) -/* 800926D4 0008F634 4E 80 00 20 */ blr - -.global "distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pair" -"distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pair": -/* 800926D8 0008F638 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800926DC 0008F63C 7C 08 02 A6 */ mflr r0 -/* 800926E0 0008F640 90 01 00 24 */ stw r0, 0x24(r1) -/* 800926E4 0008F644 38 A1 00 0C */ addi r5, r1, 0xc -/* 800926E8 0008F648 88 E1 00 08 */ lbz r7, 8(r1) -/* 800926EC 0008F64C 80 C4 00 00 */ lwz r6, 0(r4) -/* 800926F0 0008F650 38 81 00 10 */ addi r4, r1, 0x10 -/* 800926F4 0008F654 80 03 00 00 */ lwz r0, 0(r3) -/* 800926F8 0008F658 38 61 00 14 */ addi r3, r1, 0x14 -/* 800926FC 0008F65C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80092700 0008F660 98 E1 00 0C */ stb r7, 0xc(r1) -/* 80092704 0008F664 90 01 00 14 */ stw r0, 0x14(r1) -/* 80092708 0008F668 48 00 00 59 */ bl "__distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pairQ24rstl26random_access_iterator_tag" -/* 8009270C 0008F66C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80092710 0008F670 7C 08 03 A6 */ mtlr r0 -/* 80092714 0008F674 38 21 00 20 */ addi r1, r1, 0x20 -/* 80092718 0008F678 4E 80 00 20 */ blr - -.global "distance>__4rstlFPQ24rstl10pairPQ24rstl10pair" -"distance>__4rstlFPQ24rstl10pairPQ24rstl10pair": -/* 8009271C 0008F67C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80092720 0008F680 7C 08 02 A6 */ mflr r0 -/* 80092724 0008F684 90 01 00 24 */ stw r0, 0x24(r1) -/* 80092728 0008F688 38 A1 00 0C */ addi r5, r1, 0xc -/* 8009272C 0008F68C 88 E1 00 08 */ lbz r7, 8(r1) -/* 80092730 0008F690 80 C4 00 00 */ lwz r6, 0(r4) -/* 80092734 0008F694 38 81 00 10 */ addi r4, r1, 0x10 -/* 80092738 0008F698 80 03 00 00 */ lwz r0, 0(r3) -/* 8009273C 0008F69C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80092740 0008F6A0 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80092744 0008F6A4 98 E1 00 0C */ stb r7, 0xc(r1) -/* 80092748 0008F6A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009274C 0008F6AC 48 00 00 2D */ bl "__advance,i>__4rstlFRPQ24rstl10pairiQ24rstl26random_access_iterator_tag" -/* 80092750 0008F6B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80092754 0008F6B4 7C 08 03 A6 */ mtlr r0 -/* 80092758 0008F6B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009275C 0008F6BC 4E 80 00 20 */ blr - -.global "__distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pairQ24rstl26random_access_iterator_tag" -"__distance>__4rstlFPCQ24rstl10pairPCQ24rstl10pairQ24rstl26random_access_iterator_tag": -/* 80092760 0008F6C0 80 63 00 00 */ lwz r3, 0(r3) -/* 80092764 0008F6C4 80 04 00 00 */ lwz r0, 0(r4) -/* 80092768 0008F6C8 7C 03 00 50 */ subf r0, r3, r0 -/* 8009276C 0008F6CC 7C 00 1E 70 */ srawi r0, r0, 3 -/* 80092770 0008F6D0 7C 60 01 94 */ addze r3, r0 -/* 80092774 0008F6D4 4E 80 00 20 */ blr - -.global "__advance,i>__4rstlFRPQ24rstl10pairiQ24rstl26random_access_iterator_tag" -"__advance,i>__4rstlFRPQ24rstl10pairiQ24rstl26random_access_iterator_tag": -/* 80092778 0008F6D8 80 63 00 00 */ lwz r3, 0(r3) -/* 8009277C 0008F6DC 80 04 00 00 */ lwz r0, 0(r4) -/* 80092780 0008F6E0 7C 03 00 50 */ subf r0, r3, r0 -/* 80092784 0008F6E4 7C 00 1E 70 */ srawi r0, r0, 3 -/* 80092788 0008F6E8 7C 60 01 94 */ addze r3, r0 -/* 8009278C 0008F6EC 4E 80 00 20 */ blr - -.global Accept__12CScriptTimerFR8IVisitor -Accept__12CScriptTimerFR8IVisitor: -/* 80092790 0008F6F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80092794 0008F6F4 7C 08 02 A6 */ mflr r0 -/* 80092798 0008F6F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009279C 0008F6FC 7C 60 1B 78 */ mr r0, r3 -/* 800927A0 0008F700 7C 83 23 78 */ mr r3, r4 -/* 800927A4 0008F704 81 84 00 00 */ lwz r12, 0(r4) -/* 800927A8 0008F708 7C 04 03 78 */ mr r4, r0 -/* 800927AC 0008F70C 81 8C 00 C8 */ lwz r12, 0xc8(r12) -/* 800927B0 0008F710 7D 89 03 A6 */ mtctr r12 -/* 800927B4 0008F714 4E 80 04 21 */ bctrl -/* 800927B8 0008F718 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800927BC 0008F71C 7C 08 03 A6 */ mtlr r0 -/* 800927C0 0008F720 38 21 00 10 */ addi r1, r1, 0x10 -/* 800927C4 0008F724 4E 80 00 20 */ blr - -.global Think__12CScriptTimerFfR13CStateManager -Think__12CScriptTimerFfR13CStateManager: -/* 800927C8 0008F728 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800927CC 0008F72C 7C 08 02 A6 */ mflr r0 -/* 800927D0 0008F730 90 01 00 14 */ stw r0, 0x14(r1) -/* 800927D4 0008F734 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800927D8 0008F738 54 06 CF FF */ rlwinm. r6, r0, 0x19, 0x1f, 0x1f -/* 800927DC 0008F73C 41 82 00 2C */ beq lbl_80092808 -/* 800927E0 0008F740 88 03 00 42 */ lbz r0, 0x42(r3) -/* 800927E4 0008F744 38 A0 00 00 */ li r5, 0 -/* 800927E8 0008F748 28 00 00 00 */ cmplwi r0, 0 -/* 800927EC 0008F74C 41 82 00 10 */ beq lbl_800927FC -/* 800927F0 0008F750 28 06 00 00 */ cmplwi r6, 0 -/* 800927F4 0008F754 41 82 00 08 */ beq lbl_800927FC -/* 800927F8 0008F758 38 A0 00 01 */ li r5, 1 -lbl_800927FC: -/* 800927FC 0008F75C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80092800 0008F760 41 82 00 08 */ beq lbl_80092808 -/* 80092804 0008F764 48 00 00 15 */ bl ApplyTime__12CScriptTimerFfR13CStateManager -lbl_80092808: -/* 80092808 0008F768 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009280C 0008F76C 7C 08 03 A6 */ mtlr r0 -/* 80092810 0008F770 38 21 00 10 */ addi r1, r1, 0x10 -/* 80092814 0008F774 4E 80 00 20 */ blr - -.global ApplyTime__12CScriptTimerFfR13CStateManager -ApplyTime__12CScriptTimerFfR13CStateManager: -/* 80092818 0008F778 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009281C 0008F77C 7C 08 02 A6 */ mflr r0 -/* 80092820 0008F780 C0 42 8B 30 */ lfs f2, lbl_805AA850@sda21(r2) -/* 80092824 0008F784 90 01 00 14 */ stw r0, 0x14(r1) -/* 80092828 0008F788 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009282C 0008F78C 7C 9F 23 78 */ mr r31, r4 -/* 80092830 0008F790 93 C1 00 08 */ stw r30, 8(r1) -/* 80092834 0008F794 7C 7E 1B 78 */ mr r30, r3 -/* 80092838 0008F798 C0 03 00 34 */ lfs f0, 0x34(r3) -/* 8009283C 0008F79C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80092840 0008F7A0 40 81 00 6C */ ble lbl_800928AC -/* 80092844 0008F7A4 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80092848 0008F7A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009284C 0008F7AC 41 82 00 60 */ beq lbl_800928AC -/* 80092850 0008F7B0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80092854 0008F7B4 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 80092858 0008F7B8 C0 1E 00 34 */ lfs f0, 0x34(r30) -/* 8009285C 0008F7BC FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80092860 0008F7C0 4C 40 13 82 */ cror 2, 0, 2 -/* 80092864 0008F7C4 40 82 00 48 */ bne lbl_800928AC -/* 80092868 0008F7C8 7F E5 FB 78 */ mr r5, r31 -/* 8009286C 0008F7CC 38 80 00 09 */ li r4, 9 -/* 80092870 0008F7D0 38 C0 FF FF */ li r6, -1 -/* 80092874 0008F7D4 4B FB E8 4D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80092878 0008F7D8 38 00 00 00 */ li r0, 0 -/* 8009287C 0008F7DC 98 1E 00 42 */ stb r0, 0x42(r30) -/* 80092880 0008F7E0 88 1E 00 40 */ lbz r0, 0x40(r30) -/* 80092884 0008F7E4 28 00 00 00 */ cmplwi r0, 0 -/* 80092888 0008F7E8 41 82 00 24 */ beq lbl_800928AC -/* 8009288C 0008F7EC 7F C3 F3 78 */ mr r3, r30 -/* 80092890 0008F7F0 7F E4 FB 78 */ mr r4, r31 -/* 80092894 0008F7F4 48 00 01 65 */ bl Reset__12CScriptTimerFR13CStateManager -/* 80092898 0008F7F8 88 1E 00 41 */ lbz r0, 0x41(r30) -/* 8009289C 0008F7FC 28 00 00 00 */ cmplwi r0, 0 -/* 800928A0 0008F800 41 82 00 0C */ beq lbl_800928AC -/* 800928A4 0008F804 38 00 00 01 */ li r0, 1 -/* 800928A8 0008F808 98 1E 00 42 */ stb r0, 0x42(r30) -lbl_800928AC: -/* 800928AC 0008F80C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800928B0 0008F810 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800928B4 0008F814 83 C1 00 08 */ lwz r30, 8(r1) -/* 800928B8 0008F818 7C 08 03 A6 */ mtlr r0 -/* 800928BC 0008F81C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800928C0 0008F820 4E 80 00 20 */ blr - -.global AcceptScriptMsg__12CScriptTimerF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__12CScriptTimerF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800928C4 0008F824 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800928C8 0008F828 7C 08 02 A6 */ mflr r0 -/* 800928CC 0008F82C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800928D0 0008F830 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800928D4 0008F834 7C DF 33 78 */ mr r31, r6 -/* 800928D8 0008F838 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800928DC 0008F83C 7C BE 2B 78 */ mr r30, r5 -/* 800928E0 0008F840 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800928E4 0008F844 7C 9D 23 78 */ mr r29, r4 -/* 800928E8 0008F848 2C 1D 00 0E */ cmpwi r29, 0xe -/* 800928EC 0008F84C 93 81 00 10 */ stw r28, 0x10(r1) -/* 800928F0 0008F850 7C 7C 1B 78 */ mr r28, r3 -/* 800928F4 0008F854 41 82 00 30 */ beq lbl_80092924 -/* 800928F8 0008F858 40 80 00 1C */ bge lbl_80092914 -/* 800928FC 0008F85C 2C 1D 00 0B */ cmpwi r29, 0xb -/* 80092900 0008F860 41 82 00 A0 */ beq lbl_800929A0 -/* 80092904 0008F864 40 80 00 B8 */ bge lbl_800929BC -/* 80092908 0008F868 2C 1D 00 0A */ cmpwi r29, 0xa -/* 8009290C 0008F86C 40 80 00 48 */ bge lbl_80092954 -/* 80092910 0008F870 48 00 00 AC */ b lbl_800929BC -lbl_80092914: -/* 80092914 0008F874 2C 1D 00 10 */ cmpwi r29, 0x10 -/* 80092918 0008F878 41 82 00 68 */ beq lbl_80092980 -/* 8009291C 0008F87C 40 80 00 A0 */ bge lbl_800929BC -/* 80092920 0008F880 48 00 00 1C */ b lbl_8009293C -lbl_80092924: -/* 80092924 0008F884 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80092928 0008F888 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009292C 0008F88C 41 82 00 90 */ beq lbl_800929BC -/* 80092930 0008F890 38 00 00 01 */ li r0, 1 -/* 80092934 0008F894 98 1C 00 42 */ stb r0, 0x42(r28) -/* 80092938 0008F898 48 00 00 84 */ b lbl_800929BC -lbl_8009293C: -/* 8009293C 0008F89C 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80092940 0008F8A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80092944 0008F8A4 41 82 00 78 */ beq lbl_800929BC -/* 80092948 0008F8A8 38 00 00 00 */ li r0, 0 -/* 8009294C 0008F8AC 98 1C 00 42 */ stb r0, 0x42(r28) -/* 80092950 0008F8B0 48 00 00 6C */ b lbl_800929BC -lbl_80092954: -/* 80092954 0008F8B4 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80092958 0008F8B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009295C 0008F8BC 41 82 00 60 */ beq lbl_800929BC -/* 80092960 0008F8C0 7F E4 FB 78 */ mr r4, r31 -/* 80092964 0008F8C4 48 00 00 95 */ bl Reset__12CScriptTimerFR13CStateManager -/* 80092968 0008F8C8 88 1C 00 41 */ lbz r0, 0x41(r28) -/* 8009296C 0008F8CC 28 00 00 00 */ cmplwi r0, 0 -/* 80092970 0008F8D0 41 82 00 4C */ beq lbl_800929BC -/* 80092974 0008F8D4 38 00 00 01 */ li r0, 1 -/* 80092978 0008F8D8 98 1C 00 42 */ stb r0, 0x42(r28) -/* 8009297C 0008F8DC 48 00 00 40 */ b lbl_800929BC -lbl_80092980: -/* 80092980 0008F8E0 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80092984 0008F8E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80092988 0008F8E8 41 82 00 34 */ beq lbl_800929BC -/* 8009298C 0008F8EC 7F E4 FB 78 */ mr r4, r31 -/* 80092990 0008F8F0 48 00 00 69 */ bl Reset__12CScriptTimerFR13CStateManager -/* 80092994 0008F8F4 38 00 00 00 */ li r0, 0 -/* 80092998 0008F8F8 98 1C 00 42 */ stb r0, 0x42(r28) -/* 8009299C 0008F8FC 48 00 00 20 */ b lbl_800929BC -lbl_800929A0: -/* 800929A0 0008F900 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800929A4 0008F904 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800929A8 0008F908 41 82 00 14 */ beq lbl_800929BC -/* 800929AC 0008F90C 7F E4 FB 78 */ mr r4, r31 -/* 800929B0 0008F910 48 00 00 49 */ bl Reset__12CScriptTimerFR13CStateManager -/* 800929B4 0008F914 38 00 00 01 */ li r0, 1 -/* 800929B8 0008F918 98 1C 00 42 */ stb r0, 0x42(r28) -lbl_800929BC: -/* 800929BC 0008F91C A0 1E 00 00 */ lhz r0, 0(r30) -/* 800929C0 0008F920 7F 83 E3 78 */ mr r3, r28 -/* 800929C4 0008F924 7F A4 EB 78 */ mr r4, r29 -/* 800929C8 0008F928 7F E6 FB 78 */ mr r6, r31 -/* 800929CC 0008F92C B0 01 00 08 */ sth r0, 8(r1) -/* 800929D0 0008F930 38 A1 00 08 */ addi r5, r1, 8 -/* 800929D4 0008F934 4B FB E7 89 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800929D8 0008F938 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800929DC 0008F93C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800929E0 0008F940 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800929E4 0008F944 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800929E8 0008F948 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800929EC 0008F94C 7C 08 03 A6 */ mtlr r0 -/* 800929F0 0008F950 38 21 00 20 */ addi r1, r1, 0x20 -/* 800929F4 0008F954 4E 80 00 20 */ blr - -.global Reset__12CScriptTimerFR13CStateManager -Reset__12CScriptTimerFR13CStateManager: -/* 800929F8 0008F958 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800929FC 0008F95C 7C 08 02 A6 */ mflr r0 -/* 80092A00 0008F960 90 01 00 14 */ stw r0, 0x14(r1) -/* 80092A04 0008F964 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80092A08 0008F968 7C 7F 1B 78 */ mr r31, r3 -/* 80092A0C 0008F96C 80 64 09 00 */ lwz r3, 0x900(r4) -/* 80092A10 0008F970 48 27 FA CD */ bl Float__9CRandom16Fv -/* 80092A14 0008F974 C0 5F 00 3C */ lfs f2, 0x3c(r31) -/* 80092A18 0008F978 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80092A1C 0008F97C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80092A20 0008F980 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 80092A24 0008F984 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80092A28 0008F988 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80092A2C 0008F98C 7C 08 03 A6 */ mtlr r0 -/* 80092A30 0008F990 38 21 00 10 */ addi r1, r1, 0x10 -/* 80092A34 0008F994 4E 80 00 20 */ blr - -.global __dt__12CScriptTimerFv -__dt__12CScriptTimerFv: -/* 80092A38 0008F998 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80092A3C 0008F99C 7C 08 02 A6 */ mflr r0 -/* 80092A40 0008F9A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80092A44 0008F9A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80092A48 0008F9A8 7C 9F 23 78 */ mr r31, r4 -/* 80092A4C 0008F9AC 93 C1 00 08 */ stw r30, 8(r1) -/* 80092A50 0008F9B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80092A54 0008F9B4 41 82 00 28 */ beq lbl_80092A7C -/* 80092A58 0008F9B8 3C A0 80 3E */ lis r5, lbl_803DADD8@ha -/* 80092A5C 0008F9BC 38 80 00 00 */ li r4, 0 -/* 80092A60 0008F9C0 38 05 AD D8 */ addi r0, r5, lbl_803DADD8@l -/* 80092A64 0008F9C4 90 1E 00 00 */ stw r0, 0(r30) -/* 80092A68 0008F9C8 4B FB E8 0D */ bl __dt__7CEntityFv -/* 80092A6C 0008F9CC 7F E0 07 35 */ extsh. r0, r31 -/* 80092A70 0008F9D0 40 81 00 0C */ ble lbl_80092A7C -/* 80092A74 0008F9D4 7F C3 F3 78 */ mr r3, r30 -/* 80092A78 0008F9D8 48 28 2E B9 */ bl Free__7CMemoryFPCv -lbl_80092A7C: -/* 80092A7C 0008F9DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80092A80 0008F9E0 7F C3 F3 78 */ mr r3, r30 -/* 80092A84 0008F9E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80092A88 0008F9E8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80092A8C 0008F9EC 7C 08 03 A6 */ mtlr r0 -/* 80092A90 0008F9F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80092A94 0008F9F4 4E 80 00 20 */ blr - -.global "__ct__12CScriptTimerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoffbbb" -"__ct__12CScriptTimerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoffbbb": -/* 80092A98 0008F9F8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80092A9C 0008F9FC 7C 08 02 A6 */ mflr r0 -/* 80092AA0 0008FA00 90 01 00 34 */ stw r0, 0x34(r1) -/* 80092AA4 0008FA04 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 80092AA8 0008FA08 FF E0 10 90 */ fmr f31, f2 -/* 80092AAC 0008FA0C DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80092AB0 0008FA10 FF C0 08 90 */ fmr f30, f1 -/* 80092AB4 0008FA14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80092AB8 0008FA18 7D 1F 43 78 */ mr r31, r8 -/* 80092ABC 0008FA1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80092AC0 0008FA20 7C FE 3B 78 */ mr r30, r7 -/* 80092AC4 0008FA24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80092AC8 0008FA28 7C 7D 1B 78 */ mr r29, r3 -/* 80092ACC 0008FA2C A0 04 00 00 */ lhz r0, 0(r4) -/* 80092AD0 0008FA30 7C A4 2B 78 */ mr r4, r5 -/* 80092AD4 0008FA34 7C C5 33 78 */ mr r5, r6 -/* 80092AD8 0008FA38 7D 26 4B 78 */ mr r6, r9 -/* 80092ADC 0008FA3C B0 01 00 08 */ sth r0, 8(r1) -/* 80092AE0 0008FA40 7C 87 23 78 */ mr r7, r4 -/* 80092AE4 0008FA44 38 81 00 08 */ addi r4, r1, 8 -/* 80092AE8 0008FA48 4B FB E8 3D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80092AEC 0008FA4C 3C 80 80 3E */ lis r4, lbl_803DADD8@ha -/* 80092AF0 0008FA50 7F A3 EB 78 */ mr r3, r29 -/* 80092AF4 0008FA54 38 04 AD D8 */ addi r0, r4, lbl_803DADD8@l -/* 80092AF8 0008FA58 90 1D 00 00 */ stw r0, 0(r29) -/* 80092AFC 0008FA5C D3 DD 00 34 */ stfs f30, 0x34(r29) -/* 80092B00 0008FA60 D3 DD 00 38 */ stfs f30, 0x38(r29) -/* 80092B04 0008FA64 D3 FD 00 3C */ stfs f31, 0x3c(r29) -/* 80092B08 0008FA68 9B DD 00 40 */ stb r30, 0x40(r29) -/* 80092B0C 0008FA6C 9B FD 00 41 */ stb r31, 0x41(r29) -/* 80092B10 0008FA70 9B FD 00 42 */ stb r31, 0x42(r29) -/* 80092B14 0008FA74 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80092B18 0008FA78 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 80092B1C 0008FA7C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80092B20 0008FA80 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80092B24 0008FA84 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80092B28 0008FA88 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80092B2C 0008FA8C 7C 08 03 A6 */ mtlr r0 -/* 80092B30 0008FA90 38 21 00 30 */ addi r1, r1, 0x30 -/* 80092B34 0008FA94 4E 80 00 20 */ blr - -.global GetMoveOutofIntoAlpha__16CCinematicCameraCFv -GetMoveOutofIntoAlpha__16CCinematicCameraCFv: -/* 80092B38 0008FA98 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80092B3C 0008FA9C 7C 08 02 A6 */ mflr r0 -/* 80092B40 0008FAA0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80092B44 0008FAA4 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80092B48 0008FAA8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80092B4C 0008FAAC DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80092B50 0008FAB0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80092B54 0008FAB4 C0 62 8B 38 */ lfs f3, lbl_805AA858@sda21(r2) -/* 80092B58 0008FAB8 C0 43 01 60 */ lfs f2, 0x160(r3) -/* 80092B5C 0008FABC C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80092B60 0008FAC0 C0 03 02 14 */ lfs f0, 0x214(r3) -/* 80092B64 0008FAC4 EF E3 10 2A */ fadds f31, f3, f2 -/* 80092B68 0008FAC8 C0 82 8B 3C */ lfs f4, lbl_805AA85C@sda21(r2) -/* 80092B6C 0008FACC EC A1 00 28 */ fsubs f5, f1, f0 -/* 80092B70 0008FAD0 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 80092B74 0008FAD4 C0 43 02 18 */ lfs f2, 0x218(r3) -/* 80092B78 0008FAD8 EF C4 F8 2A */ fadds f30, f4, f31 -/* 80092B7C 0008FADC C0 23 00 40 */ lfs f1, 0x40(r3) -/* 80092B80 0008FAE0 C0 03 02 10 */ lfs f0, 0x210(r3) -/* 80092B84 0008FAE4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80092B88 0008FAE8 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 80092B8C 0008FAEC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80092B90 0008FAF0 38 61 00 08 */ addi r3, r1, 8 -/* 80092B94 0008FAF4 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80092B98 0008FAF8 D0 01 00 08 */ stfs f0, 8(r1) -/* 80092B9C 0008FAFC 48 28 1D 1D */ bl Magnitude__9CVector3fCFv -/* 80092BA0 0008FB00 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80092BA4 0008FB04 C0 02 8B 40 */ lfs f0, lbl_805AA860@sda21(r2) -/* 80092BA8 0008FB08 4C 41 13 82 */ cror 2, 1, 2 -/* 80092BAC 0008FB0C 40 82 00 20 */ bne lbl_80092BCC -/* 80092BB0 0008FB10 FC 01 F0 40 */ fcmpo cr0, f1, f30 -/* 80092BB4 0008FB14 4C 40 13 82 */ cror 2, 0, 2 -/* 80092BB8 0008FB18 40 82 00 14 */ bne lbl_80092BCC -/* 80092BBC 0008FB1C EC 21 F8 28 */ fsubs f1, f1, f31 -/* 80092BC0 0008FB20 EC 1E F8 28 */ fsubs f0, f30, f31 -/* 80092BC4 0008FB24 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80092BC8 0008FB28 48 00 00 10 */ b lbl_80092BD8 -lbl_80092BCC: -/* 80092BCC 0008FB2C FC 01 F0 40 */ fcmpo cr0, f1, f30 -/* 80092BD0 0008FB30 40 81 00 08 */ ble lbl_80092BD8 -/* 80092BD4 0008FB34 C0 02 8B 3C */ lfs f0, lbl_805AA85C@sda21(r2) -lbl_80092BD8: -/* 80092BD8 0008FB38 FC 20 00 90 */ fmr f1, f0 -/* 80092BDC 0008FB3C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80092BE0 0008FB40 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80092BE4 0008FB44 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80092BE8 0008FB48 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80092BEC 0008FB4C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80092BF0 0008FB50 7C 08 03 A6 */ mtlr r0 -/* 80092BF4 0008FB54 38 21 00 40 */ addi r1, r1, 0x40 -/* 80092BF8 0008FB58 4E 80 00 20 */ blr - -.global "GetInterpolatedHFov__16CCinematicCameraCFRCQ24rstl36vectorf" -"GetInterpolatedHFov__16CCinematicCameraCFRCQ24rstl36vectorf": -/* 80092BFC 0008FB5C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80092C00 0008FB60 7C 08 02 A6 */ mflr r0 -/* 80092C04 0008FB64 90 01 00 34 */ stw r0, 0x34(r1) -/* 80092C08 0008FB68 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80092C0C 0008FB6C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80092C10 0008FB70 7C 9E 23 78 */ mr r30, r4 -/* 80092C14 0008FB74 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80092C18 0008FB78 7C 7D 1B 78 */ mr r29, r3 -/* 80092C1C 0008FB7C 83 E4 00 04 */ lwz r31, 4(r4) -/* 80092C20 0008FB80 2C 1F 00 00 */ cmpwi r31, 0 -/* 80092C24 0008FB84 40 82 00 0C */ bne lbl_80092C30 -/* 80092C28 0008FB88 C0 3D 01 F0 */ lfs f1, 0x1f0(r29) -/* 80092C2C 0008FB8C 48 00 00 98 */ b lbl_80092CC4 -lbl_80092C30: -/* 80092C30 0008FB90 2C 1F 00 01 */ cmpwi r31, 1 -/* 80092C34 0008FB94 40 82 00 10 */ bne lbl_80092C44 -/* 80092C38 0008FB98 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80092C3C 0008FB9C C0 23 00 00 */ lfs f1, 0(r3) -/* 80092C40 0008FBA0 48 00 00 84 */ b lbl_80092CC4 -lbl_80092C44: -/* 80092C44 0008FBA4 C0 5D 01 E8 */ lfs f2, 0x1e8(r29) -/* 80092C48 0008FBA8 48 30 20 65 */ bl fmod -/* 80092C4C 0008FBAC 38 7F FF FF */ addi r3, r31, -1 -/* 80092C50 0008FBB0 3C 00 43 30 */ lis r0, 0x4330 -/* 80092C54 0008FBB4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80092C58 0008FBB8 90 01 00 08 */ stw r0, 8(r1) -/* 80092C5C 0008FBBC C8 62 8B 48 */ lfd f3, lbl_805AA868@sda21(r2) -/* 80092C60 0008FBC0 FC 80 08 18 */ frsp f4, f1 -/* 80092C64 0008FBC4 90 61 00 0C */ stw r3, 0xc(r1) -/* 80092C68 0008FBC8 C0 3D 01 E8 */ lfs f1, 0x1e8(r29) -/* 80092C6C 0008FBCC C8 01 00 08 */ lfd f0, 8(r1) -/* 80092C70 0008FBD0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80092C74 0008FBD4 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80092C78 0008FBD8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80092C7C 0008FBDC EC A1 00 24 */ fdivs f5, f1, f0 -/* 80092C80 0008FBE0 EC 04 28 24 */ fdivs f0, f4, f5 -/* 80092C84 0008FBE4 FC 00 00 1E */ fctiwz f0, f0 -/* 80092C88 0008FBE8 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 80092C8C 0008FBEC 80 81 00 14 */ lwz r4, 0x14(r1) -/* 80092C90 0008FBF0 6C 83 80 00 */ xoris r3, r4, 0x8000 -/* 80092C94 0008FBF4 38 04 00 01 */ addi r0, r4, 1 -/* 80092C98 0008FBF8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80092C9C 0008FBFC 54 83 10 3A */ slwi r3, r4, 2 -/* 80092CA0 0008FC00 54 00 10 3A */ slwi r0, r0, 2 -/* 80092CA4 0008FC04 7C 25 1C 2E */ lfsx f1, r5, r3 -/* 80092CA8 0008FC08 C8 41 00 18 */ lfd f2, 0x18(r1) -/* 80092CAC 0008FC0C 7C 05 04 2E */ lfsx f0, r5, r0 -/* 80092CB0 0008FC10 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80092CB4 0008FC14 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80092CB8 0008FC18 EC 42 21 7C */ fnmsubs f2, f2, f5, f4 -/* 80092CBC 0008FC1C EC 42 28 24 */ fdivs f2, f2, f5 -/* 80092CC0 0008FC20 EC 22 08 3A */ fmadds f1, f2, f0, f1 -lbl_80092CC4: -/* 80092CC4 0008FC24 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80092CC8 0008FC28 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80092CCC 0008FC2C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80092CD0 0008FC30 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80092CD4 0008FC34 7C 08 03 A6 */ mtlr r0 -/* 80092CD8 0008FC38 38 21 00 30 */ addi r1, r1, 0x30 -/* 80092CDC 0008FC3C 4E 80 00 20 */ blr - -.global "GetInterpolatedOrientation__16CCinematicCameraCFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>f" -"GetInterpolatedOrientation__16CCinematicCameraCFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>f": -/* 80092CE0 0008FC40 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80092CE4 0008FC44 7C 08 02 A6 */ mflr r0 -/* 80092CE8 0008FC48 90 01 00 34 */ stw r0, 0x34(r1) -/* 80092CEC 0008FC4C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80092CF0 0008FC50 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80092CF4 0008FC54 7C BE 2B 78 */ mr r30, r5 -/* 80092CF8 0008FC58 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80092CFC 0008FC5C 7C 9D 23 78 */ mr r29, r4 -/* 80092D00 0008FC60 93 81 00 20 */ stw r28, 0x20(r1) -/* 80092D04 0008FC64 7C 7C 1B 78 */ mr r28, r3 -/* 80092D08 0008FC68 83 E5 00 04 */ lwz r31, 4(r5) -/* 80092D0C 0008FC6C 2C 1F 00 00 */ cmpwi r31, 0 -/* 80092D10 0008FC70 40 82 00 28 */ bne lbl_80092D38 -/* 80092D14 0008FC74 C0 1D 01 FC */ lfs f0, 0x1fc(r29) -/* 80092D18 0008FC78 D0 1C 00 00 */ stfs f0, 0(r28) -/* 80092D1C 0008FC7C C0 1D 02 00 */ lfs f0, 0x200(r29) -/* 80092D20 0008FC80 D0 1C 00 04 */ stfs f0, 4(r28) -/* 80092D24 0008FC84 C0 1D 02 04 */ lfs f0, 0x204(r29) -/* 80092D28 0008FC88 D0 1C 00 08 */ stfs f0, 8(r28) -/* 80092D2C 0008FC8C C0 1D 02 08 */ lfs f0, 0x208(r29) -/* 80092D30 0008FC90 D0 1C 00 0C */ stfs f0, 0xc(r28) -/* 80092D34 0008FC94 48 00 00 B4 */ b lbl_80092DE8 -lbl_80092D38: -/* 80092D38 0008FC98 2C 1F 00 01 */ cmpwi r31, 1 -/* 80092D3C 0008FC9C 40 82 00 2C */ bne lbl_80092D68 -/* 80092D40 0008FCA0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80092D44 0008FCA4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80092D48 0008FCA8 D0 1C 00 00 */ stfs f0, 0(r28) -/* 80092D4C 0008FCAC C0 03 00 04 */ lfs f0, 4(r3) -/* 80092D50 0008FCB0 D0 1C 00 04 */ stfs f0, 4(r28) -/* 80092D54 0008FCB4 C0 03 00 08 */ lfs f0, 8(r3) -/* 80092D58 0008FCB8 D0 1C 00 08 */ stfs f0, 8(r28) -/* 80092D5C 0008FCBC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80092D60 0008FCC0 D0 1C 00 0C */ stfs f0, 0xc(r28) -/* 80092D64 0008FCC4 48 00 00 84 */ b lbl_80092DE8 -lbl_80092D68: -/* 80092D68 0008FCC8 C0 5D 01 E8 */ lfs f2, 0x1e8(r29) -/* 80092D6C 0008FCCC 48 30 1F 41 */ bl fmod -/* 80092D70 0008FCD0 38 7F FF FF */ addi r3, r31, -1 -/* 80092D74 0008FCD4 3C 00 43 30 */ lis r0, 0x4330 -/* 80092D78 0008FCD8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80092D7C 0008FCDC FC 60 08 18 */ frsp f3, f1 -/* 80092D80 0008FCE0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80092D84 0008FCE4 7F 83 E3 78 */ mr r3, r28 -/* 80092D88 0008FCE8 C8 42 8B 48 */ lfd f2, lbl_805AA868@sda21(r2) -/* 80092D8C 0008FCEC 90 01 00 08 */ stw r0, 8(r1) -/* 80092D90 0008FCF0 C0 3D 01 E8 */ lfs f1, 0x1e8(r29) -/* 80092D94 0008FCF4 C8 01 00 08 */ lfd f0, 8(r1) -/* 80092D98 0008FCF8 90 01 00 18 */ stw r0, 0x18(r1) -/* 80092D9C 0008FCFC EC 00 10 28 */ fsubs f0, f0, f2 -/* 80092DA0 0008FD00 80 FE 00 0C */ lwz r7, 0xc(r30) -/* 80092DA4 0008FD04 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80092DA8 0008FD08 EC 03 08 24 */ fdivs f0, f3, f1 -/* 80092DAC 0008FD0C FC 00 00 1E */ fctiwz f0, f0 -/* 80092DB0 0008FD10 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 80092DB4 0008FD14 80 C1 00 14 */ lwz r6, 0x14(r1) -/* 80092DB8 0008FD18 6C C0 80 00 */ xoris r0, r6, 0x8000 -/* 80092DBC 0008FD1C 38 86 00 01 */ addi r4, r6, 1 -/* 80092DC0 0008FD20 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80092DC4 0008FD24 54 80 20 36 */ slwi r0, r4, 4 -/* 80092DC8 0008FD28 7C A7 02 14 */ add r5, r7, r0 -/* 80092DCC 0008FD2C C8 01 00 18 */ lfd f0, 0x18(r1) -/* 80092DD0 0008FD30 54 C0 20 36 */ slwi r0, r6, 4 -/* 80092DD4 0008FD34 7C 87 02 14 */ add r4, r7, r0 -/* 80092DD8 0008FD38 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80092DDC 0008FD3C EC 00 18 7C */ fnmsubs f0, f0, f1, f3 -/* 80092DE0 0008FD40 EC 20 08 24 */ fdivs f1, f0, f1 -/* 80092DE4 0008FD44 48 27 EF 15 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf -lbl_80092DE8: -/* 80092DE8 0008FD48 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80092DEC 0008FD4C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80092DF0 0008FD50 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80092DF4 0008FD54 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80092DF8 0008FD58 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80092DFC 0008FD5C 7C 08 03 A6 */ mtlr r0 -/* 80092E00 0008FD60 38 21 00 30 */ addi r1, r1, 0x30 -/* 80092E04 0008FD64 4E 80 00 20 */ blr - -.global "GetInterpolatedSplinePoint__16CCinematicCameraCFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Rif" -"GetInterpolatedSplinePoint__16CCinematicCameraCFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Rif": -/* 80092E08 0008FD68 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80092E0C 0008FD6C 7C 08 02 A6 */ mflr r0 -/* 80092E10 0008FD70 90 01 00 74 */ stw r0, 0x74(r1) -/* 80092E14 0008FD74 BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 80092E18 0008FD78 7C BE 2B 78 */ mr r30, r5 -/* 80092E1C 0008FD7C 7C 7D 1B 78 */ mr r29, r3 -/* 80092E20 0008FD80 7C 9B 23 78 */ mr r27, r4 -/* 80092E24 0008FD84 7C DC 33 78 */ mr r28, r6 -/* 80092E28 0008FD88 83 E5 00 04 */ lwz r31, 4(r5) -/* 80092E2C 0008FD8C 2C 1F 00 00 */ cmpwi r31, 0 -/* 80092E30 0008FD90 40 81 02 E0 */ ble lbl_80093110 -/* 80092E34 0008FD94 C0 5B 01 E8 */ lfs f2, 0x1e8(r27) -/* 80092E38 0008FD98 48 30 1E 75 */ bl fmod -/* 80092E3C 0008FD9C 38 7F FF FF */ addi r3, r31, -1 -/* 80092E40 0008FDA0 3C 00 43 30 */ lis r0, 0x4330 -/* 80092E44 0008FDA4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80092E48 0008FDA8 90 01 00 38 */ stw r0, 0x38(r1) -/* 80092E4C 0008FDAC C8 42 8B 48 */ lfd f2, lbl_805AA868@sda21(r2) -/* 80092E50 0008FDB0 FC 60 08 18 */ frsp f3, f1 -/* 80092E54 0008FDB4 90 61 00 3C */ stw r3, 0x3c(r1) -/* 80092E58 0008FDB8 2C 1F 00 01 */ cmpwi r31, 1 -/* 80092E5C 0008FDBC C0 3B 01 E8 */ lfs f1, 0x1e8(r27) -/* 80092E60 0008FDC0 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 80092E64 0008FDC4 90 01 00 48 */ stw r0, 0x48(r1) -/* 80092E68 0008FDC8 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80092E6C 0008FDCC EC 21 00 24 */ fdivs f1, f1, f0 -/* 80092E70 0008FDD0 EC 03 08 24 */ fdivs f0, f3, f1 -/* 80092E74 0008FDD4 FC 00 00 1E */ fctiwz f0, f0 -/* 80092E78 0008FDD8 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 80092E7C 0008FDDC 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 80092E80 0008FDE0 6C A0 80 00 */ xoris r0, r5, 0x8000 -/* 80092E84 0008FDE4 90 BC 00 00 */ stw r5, 0(r28) -/* 80092E88 0008FDE8 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80092E8C 0008FDEC C8 01 00 48 */ lfd f0, 0x48(r1) -/* 80092E90 0008FDF0 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80092E94 0008FDF4 EC 00 18 7C */ fnmsubs f0, f0, f1, f3 -/* 80092E98 0008FDF8 EC 20 08 24 */ fdivs f1, f0, f1 -/* 80092E9C 0008FDFC 40 82 00 24 */ bne lbl_80092EC0 -/* 80092EA0 0008FE00 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80092EA4 0008FE04 C0 03 00 00 */ lfs f0, 0(r3) -/* 80092EA8 0008FE08 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80092EAC 0008FE0C C0 03 00 04 */ lfs f0, 4(r3) -/* 80092EB0 0008FE10 D0 1D 00 04 */ stfs f0, 4(r29) -/* 80092EB4 0008FE14 C0 03 00 08 */ lfs f0, 8(r3) -/* 80092EB8 0008FE18 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80092EBC 0008FE1C 48 00 02 78 */ b lbl_80093134 -lbl_80092EC0: -/* 80092EC0 0008FE20 2C 1F 00 02 */ cmpwi r31, 2 -/* 80092EC4 0008FE24 40 82 00 54 */ bne lbl_80092F18 -/* 80092EC8 0008FE28 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80092ECC 0008FE2C C0 43 00 00 */ lfs f2, 0(r3) -/* 80092ED0 0008FE30 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80092ED4 0008FE34 C0 C3 00 04 */ lfs f6, 4(r3) -/* 80092ED8 0008FE38 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80092EDC 0008FE3C C0 63 00 10 */ lfs f3, 0x10(r3) -/* 80092EE0 0008FE40 C0 83 00 08 */ lfs f4, 8(r3) -/* 80092EE4 0008FE44 EC A3 30 28 */ fsubs f5, f3, f6 -/* 80092EE8 0008FE48 C0 63 00 14 */ lfs f3, 0x14(r3) -/* 80092EEC 0008FE4C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80092EF0 0008FE50 EC 63 20 28 */ fsubs f3, f3, f4 -/* 80092EF4 0008FE54 EC A1 01 72 */ fmuls f5, f1, f5 -/* 80092EF8 0008FE58 EC 02 00 2A */ fadds f0, f2, f0 -/* 80092EFC 0008FE5C EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80092F00 0008FE60 EC 46 28 2A */ fadds f2, f6, f5 -/* 80092F04 0008FE64 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80092F08 0008FE68 EC 04 08 2A */ fadds f0, f4, f1 -/* 80092F0C 0008FE6C D0 5D 00 04 */ stfs f2, 4(r29) -/* 80092F10 0008FE70 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80092F14 0008FE74 48 00 02 20 */ b lbl_80093134 -lbl_80092F18: -/* 80092F18 0008FE78 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80092F1C 0008FE7C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 80092F20 0008FE80 2C 05 00 00 */ cmpwi r5, 0 -/* 80092F24 0008FE84 C0 43 00 04 */ lfs f2, 4(r3) -/* 80092F28 0008FE88 C0 63 00 08 */ lfs f3, 8(r3) -/* 80092F2C 0008FE8C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80092F30 0008FE90 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80092F34 0008FE94 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80092F38 0008FE98 40 81 00 30 */ ble lbl_80092F68 -/* 80092F3C 0008FE9C 38 05 FF FF */ addi r0, r5, -1 -/* 80092F40 0008FEA0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80092F44 0008FEA4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80092F48 0008FEA8 7C 63 02 14 */ add r3, r3, r0 -/* 80092F4C 0008FEAC C0 83 00 00 */ lfs f4, 0(r3) -/* 80092F50 0008FEB0 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 80092F54 0008FEB4 C0 83 00 04 */ lfs f4, 4(r3) -/* 80092F58 0008FEB8 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80092F5C 0008FEBC C0 83 00 08 */ lfs f4, 8(r3) -/* 80092F60 0008FEC0 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80092F64 0008FEC4 48 00 00 44 */ b lbl_80092FA8 -lbl_80092F68: -/* 80092F68 0008FEC8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80092F6C 0008FECC C1 23 00 04 */ lfs f9, 4(r3) -/* 80092F70 0008FED0 C0 83 00 10 */ lfs f4, 0x10(r3) -/* 80092F74 0008FED4 C0 E3 00 08 */ lfs f7, 8(r3) -/* 80092F78 0008FED8 C0 C3 00 14 */ lfs f6, 0x14(r3) -/* 80092F7C 0008FEDC ED 04 48 28 */ fsubs f8, f4, f9 -/* 80092F80 0008FEE0 C0 A3 00 00 */ lfs f5, 0(r3) -/* 80092F84 0008FEE4 C0 83 00 0C */ lfs f4, 0xc(r3) -/* 80092F88 0008FEE8 EC C6 38 28 */ fsubs f6, f6, f7 -/* 80092F8C 0008FEEC ED 09 40 28 */ fsubs f8, f9, f8 -/* 80092F90 0008FEF0 EC 84 28 28 */ fsubs f4, f4, f5 -/* 80092F94 0008FEF4 EC C7 30 28 */ fsubs f6, f7, f6 -/* 80092F98 0008FEF8 D1 01 00 30 */ stfs f8, 0x30(r1) -/* 80092F9C 0008FEFC EC 85 20 28 */ fsubs f4, f5, f4 -/* 80092FA0 0008FF00 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 80092FA4 0008FF04 D0 81 00 2C */ stfs f4, 0x2c(r1) -lbl_80092FA8: -/* 80092FA8 0008FF08 1C 65 00 0C */ mulli r3, r5, 0xc -/* 80092FAC 0008FF0C 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80092FB0 0008FF10 38 05 00 01 */ addi r0, r5, 1 -/* 80092FB4 0008FF14 7C 64 1A 14 */ add r3, r4, r3 -/* 80092FB8 0008FF18 7C 00 F8 00 */ cmpw r0, r31 -/* 80092FBC 0008FF1C C0 83 00 00 */ lfs f4, 0(r3) -/* 80092FC0 0008FF20 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 80092FC4 0008FF24 C0 83 00 04 */ lfs f4, 4(r3) -/* 80092FC8 0008FF28 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 80092FCC 0008FF2C C0 83 00 08 */ lfs f4, 8(r3) -/* 80092FD0 0008FF30 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80092FD4 0008FF34 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80092FD8 0008FF38 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80092FDC 0008FF3C D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80092FE0 0008FF40 41 80 00 5C */ blt lbl_8009303C -/* 80092FE4 0008FF44 38 7F FF FF */ addi r3, r31, -1 -/* 80092FE8 0008FF48 38 1F FF FE */ addi r0, r31, -2 -/* 80092FEC 0008FF4C 1C 63 00 0C */ mulli r3, r3, 0xc -/* 80092FF0 0008FF50 7C 64 1A 14 */ add r3, r4, r3 -/* 80092FF4 0008FF54 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80092FF8 0008FF58 C1 23 00 04 */ lfs f9, 4(r3) -/* 80092FFC 0008FF5C C0 E3 00 08 */ lfs f7, 8(r3) -/* 80093000 0008FF60 C0 A3 00 00 */ lfs f5, 0(r3) -/* 80093004 0008FF64 7C 64 02 14 */ add r3, r4, r0 -/* 80093008 0008FF68 C1 03 00 04 */ lfs f8, 4(r3) -/* 8009300C 0008FF6C C0 C3 00 08 */ lfs f6, 8(r3) -/* 80093010 0008FF70 C0 83 00 00 */ lfs f4, 0(r3) -/* 80093014 0008FF74 ED 08 48 28 */ fsubs f8, f8, f9 -/* 80093018 0008FF78 EC C6 38 28 */ fsubs f6, f6, f7 -/* 8009301C 0008FF7C EC 84 28 28 */ fsubs f4, f4, f5 -/* 80093020 0008FF80 ED 09 40 28 */ fsubs f8, f9, f8 -/* 80093024 0008FF84 EC C7 30 28 */ fsubs f6, f7, f6 -/* 80093028 0008FF88 EC 85 20 28 */ fsubs f4, f5, f4 -/* 8009302C 0008FF8C D1 01 00 18 */ stfs f8, 0x18(r1) -/* 80093030 0008FF90 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 80093034 0008FF94 D0 C1 00 1C */ stfs f6, 0x1c(r1) -/* 80093038 0008FF98 48 00 00 24 */ b lbl_8009305C -lbl_8009303C: -/* 8009303C 0008FF9C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80093040 0008FFA0 7C 64 02 14 */ add r3, r4, r0 -/* 80093044 0008FFA4 C0 83 00 00 */ lfs f4, 0(r3) -/* 80093048 0008FFA8 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8009304C 0008FFAC C0 83 00 04 */ lfs f4, 4(r3) -/* 80093050 0008FFB0 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80093054 0008FFB4 C0 83 00 08 */ lfs f4, 8(r3) -/* 80093058 0008FFB8 D0 81 00 1C */ stfs f4, 0x1c(r1) -lbl_8009305C: -/* 8009305C 0008FFBC 38 05 00 02 */ addi r0, r5, 2 -/* 80093060 0008FFC0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80093064 0008FFC4 7C 00 F8 00 */ cmpw r0, r31 -/* 80093068 0008FFC8 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8009306C 0008FFCC D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80093070 0008FFD0 41 80 00 60 */ blt lbl_800930D0 -/* 80093074 0008FFD4 38 7F FF FF */ addi r3, r31, -1 -/* 80093078 0008FFD8 38 1F FF FE */ addi r0, r31, -2 -/* 8009307C 0008FFDC 1C 63 00 0C */ mulli r3, r3, 0xc -/* 80093080 0008FFE0 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80093084 0008FFE4 7C 64 1A 14 */ add r3, r4, r3 -/* 80093088 0008FFE8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8009308C 0008FFEC C0 C3 00 04 */ lfs f6, 4(r3) -/* 80093090 0008FFF0 C0 83 00 08 */ lfs f4, 8(r3) -/* 80093094 0008FFF4 C0 43 00 00 */ lfs f2, 0(r3) -/* 80093098 0008FFF8 7C 64 02 14 */ add r3, r4, r0 -/* 8009309C 0008FFFC C0 A3 00 04 */ lfs f5, 4(r3) -/* 800930A0 00090000 C0 63 00 08 */ lfs f3, 8(r3) -/* 800930A4 00090004 C0 03 00 00 */ lfs f0, 0(r3) -/* 800930A8 00090008 EC A5 30 28 */ fsubs f5, f5, f6 -/* 800930AC 0009000C EC 63 20 28 */ fsubs f3, f3, f4 -/* 800930B0 00090010 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800930B4 00090014 EC A6 28 28 */ fsubs f5, f6, f5 -/* 800930B8 00090018 EC 64 18 28 */ fsubs f3, f4, f3 -/* 800930BC 0009001C EC 02 00 28 */ fsubs f0, f2, f0 -/* 800930C0 00090020 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 800930C4 00090024 D0 01 00 08 */ stfs f0, 8(r1) -/* 800930C8 00090028 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 800930CC 0009002C 48 00 00 28 */ b lbl_800930F4 -lbl_800930D0: -/* 800930D0 00090030 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800930D4 00090034 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800930D8 00090038 7C 63 02 14 */ add r3, r3, r0 -/* 800930DC 0009003C C0 03 00 00 */ lfs f0, 0(r3) -/* 800930E0 00090040 D0 01 00 08 */ stfs f0, 8(r1) -/* 800930E4 00090044 C0 03 00 04 */ lfs f0, 4(r3) -/* 800930E8 00090048 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800930EC 0009004C C0 03 00 08 */ lfs f0, 8(r3) -/* 800930F0 00090050 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_800930F4: -/* 800930F4 00090054 7F A3 EB 78 */ mr r3, r29 -/* 800930F8 00090058 38 81 00 2C */ addi r4, r1, 0x2c -/* 800930FC 0009005C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80093100 00090060 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80093104 00090064 38 E1 00 08 */ addi r7, r1, 8 -/* 80093108 00090068 48 28 1F BD */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8009310C 0009006C 48 00 00 28 */ b lbl_80093134 -lbl_80093110: -/* 80093110 00090070 38 00 00 00 */ li r0, 0 -/* 80093114 00090074 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80093118 00090078 90 1C 00 00 */ stw r0, 0(r28) -/* 8009311C 0009007C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 80093120 00090080 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80093124 00090084 C0 03 00 04 */ lfs f0, 4(r3) -/* 80093128 00090088 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8009312C 0009008C C0 03 00 08 */ lfs f0, 8(r3) -/* 80093130 00090090 D0 1D 00 08 */ stfs f0, 8(r29) -lbl_80093134: -/* 80093134 00090094 BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 80093138 00090098 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8009313C 0009009C 7C 08 03 A6 */ mtlr r0 -/* 80093140 000900A0 38 21 00 70 */ addi r1, r1, 0x70 -/* 80093144 000900A4 4E 80 00 20 */ blr - -.global "PickRandomActiveConnection__16CCinematicCameraFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R11SConnectionR13CStateManager" -"PickRandomActiveConnection__16CCinematicCameraFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R11SConnectionR13CStateManager": -/* 80093148 000900A8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8009314C 000900AC 7C 08 02 A6 */ mflr r0 -/* 80093150 000900B0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80093154 000900B4 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 80093158 000900B8 7C 7A 1B 78 */ mr r26, r3 -/* 8009315C 000900BC 7C 9B 23 78 */ mr r27, r4 -/* 80093160 000900C0 7C BC 2B 78 */ mr r28, r5 -/* 80093164 000900C4 3B C0 00 00 */ li r30, 0 -/* 80093168 000900C8 83 A3 00 0C */ lwz r29, 0xc(r3) -/* 8009316C 000900CC 48 00 00 74 */ b lbl_800931E0 -lbl_80093170: -/* 80093170 000900D0 80 1D 00 00 */ lwz r0, 0(r29) -/* 80093174 000900D4 2C 00 00 01 */ cmpwi r0, 1 -/* 80093178 000900D8 40 82 00 64 */ bne lbl_800931DC -/* 8009317C 000900DC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80093180 000900E0 2C 00 00 08 */ cmpwi r0, 8 -/* 80093184 000900E4 40 82 00 58 */ bne lbl_800931DC -/* 80093188 000900E8 80 1D 00 08 */ lwz r0, 8(r29) -/* 8009318C 000900EC 7F 84 E3 78 */ mr r4, r28 -/* 80093190 000900F0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80093194 000900F4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80093198 000900F8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8009319C 000900FC 4B FB 4D 81 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800931A0 00090100 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 800931A4 00090104 7F 83 E3 78 */ mr r3, r28 -/* 800931A8 00090108 38 81 00 14 */ addi r4, r1, 0x14 -/* 800931AC 0009010C B0 01 00 14 */ sth r0, 0x14(r1) -/* 800931B0 00090110 4B FB 93 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800931B4 00090114 7C 64 1B 78 */ mr r4, r3 -/* 800931B8 00090118 38 61 00 28 */ addi r3, r1, 0x28 -/* 800931BC 0009011C 48 01 CA D5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800931C0 00090120 80 63 00 04 */ lwz r3, 4(r3) -/* 800931C4 00090124 28 03 00 00 */ cmplwi r3, 0 -/* 800931C8 00090128 41 82 00 14 */ beq lbl_800931DC -/* 800931CC 0009012C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800931D0 00090130 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800931D4 00090134 41 82 00 08 */ beq lbl_800931DC -/* 800931D8 00090138 3B DE 00 01 */ addi r30, r30, 1 -lbl_800931DC: -/* 800931DC 0009013C 3B BD 00 0C */ addi r29, r29, 0xc -lbl_800931E0: -/* 800931E0 00090140 80 1A 00 04 */ lwz r0, 4(r26) -/* 800931E4 00090144 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 800931E8 00090148 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800931EC 0009014C 7C 03 02 14 */ add r0, r3, r0 -/* 800931F0 00090150 7C 1D 00 40 */ cmplw r29, r0 -/* 800931F4 00090154 40 82 FF 7C */ bne lbl_80093170 -/* 800931F8 00090158 2C 1E 00 00 */ cmpwi r30, 0 -/* 800931FC 0009015C 40 82 00 0C */ bne lbl_80093208 -/* 80093200 00090160 38 60 00 00 */ li r3, 0 -/* 80093204 00090164 48 00 00 D4 */ b lbl_800932D8 -lbl_80093208: -/* 80093208 00090168 80 7C 09 00 */ lwz r3, 0x900(r28) -/* 8009320C 0009016C 48 27 F3 15 */ bl Next__9CRandom16Fv -/* 80093210 00090170 7C 03 F3 D6 */ divw r0, r3, r30 -/* 80093214 00090174 83 FA 00 0C */ lwz r31, 0xc(r26) -/* 80093218 00090178 3B A0 00 00 */ li r29, 0 -/* 8009321C 0009017C 7C 00 F1 D6 */ mullw r0, r0, r30 -/* 80093220 00090180 7F C0 18 50 */ subf r30, r0, r3 -/* 80093224 00090184 48 00 00 98 */ b lbl_800932BC -lbl_80093228: -/* 80093228 00090188 80 1F 00 00 */ lwz r0, 0(r31) -/* 8009322C 0009018C 2C 00 00 01 */ cmpwi r0, 1 -/* 80093230 00090190 40 82 00 88 */ bne lbl_800932B8 -/* 80093234 00090194 80 1F 00 04 */ lwz r0, 4(r31) -/* 80093238 00090198 2C 00 00 08 */ cmpwi r0, 8 -/* 8009323C 0009019C 40 82 00 7C */ bne lbl_800932B8 -/* 80093240 000901A0 80 1F 00 08 */ lwz r0, 8(r31) -/* 80093244 000901A4 7F 84 E3 78 */ mr r4, r28 -/* 80093248 000901A8 38 61 00 08 */ addi r3, r1, 8 -/* 8009324C 000901AC 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80093250 000901B0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80093254 000901B4 4B FB 4C C9 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80093258 000901B8 A0 01 00 08 */ lhz r0, 8(r1) -/* 8009325C 000901BC 7F 83 E3 78 */ mr r3, r28 -/* 80093260 000901C0 38 81 00 0C */ addi r4, r1, 0xc -/* 80093264 000901C4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80093268 000901C8 4B FB 93 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8009326C 000901CC 7C 64 1B 78 */ mr r4, r3 -/* 80093270 000901D0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80093274 000901D4 48 01 CA 1D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80093278 000901D8 80 63 00 04 */ lwz r3, 4(r3) -/* 8009327C 000901DC 28 03 00 00 */ cmplwi r3, 0 -/* 80093280 000901E0 41 82 00 38 */ beq lbl_800932B8 -/* 80093284 000901E4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80093288 000901E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009328C 000901EC 41 82 00 2C */ beq lbl_800932B8 -/* 80093290 000901F0 7C 1E E8 00 */ cmpw r30, r29 -/* 80093294 000901F4 40 82 00 20 */ bne lbl_800932B4 -/* 80093298 000901F8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8009329C 000901FC 90 1B 00 00 */ stw r0, 0(r27) -/* 800932A0 00090200 80 1F 00 04 */ lwz r0, 4(r31) -/* 800932A4 00090204 90 1B 00 04 */ stw r0, 4(r27) -/* 800932A8 00090208 80 1F 00 08 */ lwz r0, 8(r31) -/* 800932AC 0009020C 90 1B 00 08 */ stw r0, 8(r27) -/* 800932B0 00090210 48 00 00 24 */ b lbl_800932D4 -lbl_800932B4: -/* 800932B4 00090214 3B BD 00 01 */ addi r29, r29, 1 -lbl_800932B8: -/* 800932B8 00090218 3B FF 00 0C */ addi r31, r31, 0xc -lbl_800932BC: -/* 800932BC 0009021C 80 1A 00 04 */ lwz r0, 4(r26) -/* 800932C0 00090220 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 800932C4 00090224 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800932C8 00090228 7C 03 02 14 */ add r0, r3, r0 -/* 800932CC 0009022C 7C 1F 00 40 */ cmplw r31, r0 -/* 800932D0 00090230 40 82 FF 58 */ bne lbl_80093228 -lbl_800932D4: -/* 800932D4 00090234 38 60 00 01 */ li r3, 1 -lbl_800932D8: -/* 800932D8 00090238 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 800932DC 0009023C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800932E0 00090240 7C 08 03 A6 */ mtlr r0 -/* 800932E4 00090244 38 21 00 50 */ addi r1, r1, 0x50 -/* 800932E8 00090248 4E 80 00 20 */ blr - -.global GenerateMoveOutofIntoEyePosition__16CCinematicCameraFbR13CStateManager -GenerateMoveOutofIntoEyePosition__16CCinematicCameraFbR13CStateManager: -/* 800932EC 0009024C 94 21 FD 20 */ stwu r1, -0x2e0(r1) -/* 800932F0 00090250 7C 08 02 A6 */ mflr r0 -/* 800932F4 00090254 90 01 02 E4 */ stw r0, 0x2e4(r1) -/* 800932F8 00090258 DB E1 02 D0 */ stfd f31, 0x2d0(r1) -/* 800932FC 0009025C F3 E1 02 D8 */ psq_st f31, 728(r1), 0, qr0 -/* 80093300 00090260 DB C1 02 C0 */ stfd f30, 0x2c0(r1) -/* 80093304 00090264 F3 C1 02 C8 */ psq_st f30, 712(r1), 0, qr0 -/* 80093308 00090268 DB A1 02 B0 */ stfd f29, 0x2b0(r1) -/* 8009330C 0009026C F3 A1 02 B8 */ psq_st f29, 696(r1), 0, qr0 -/* 80093310 00090270 DB 81 02 A0 */ stfd f28, 0x2a0(r1) -/* 80093314 00090274 F3 81 02 A8 */ psq_st f28, 680(r1), 0, qr0 -/* 80093318 00090278 DB 61 02 90 */ stfd f27, 0x290(r1) -/* 8009331C 0009027C F3 61 02 98 */ psq_st f27, 664(r1), 0, qr0 -/* 80093320 00090280 DB 41 02 80 */ stfd f26, 0x280(r1) -/* 80093324 00090284 F3 41 02 88 */ psq_st f26, 648(r1), 0, qr0 -/* 80093328 00090288 BF 21 02 64 */ stmw r25, 0x264(r1) -/* 8009332C 0009028C 88 0D A2 AC */ lbz r0, lbl_805A8E6C@sda21(r13) -/* 80093330 00090290 7C 7D 1B 78 */ mr r29, r3 -/* 80093334 00090294 7C 9E 23 78 */ mr r30, r4 -/* 80093338 00090298 7C BF 2B 78 */ mr r31, r5 -/* 8009333C 0009029C 7C 00 07 75 */ extsb. r0, r0 -/* 80093340 000902A0 40 82 00 18 */ bne lbl_80093358 -/* 80093344 000902A4 3C 60 80 3D */ lis r3, lbl_803CD7C0@ha -/* 80093348 000902A8 38 00 00 01 */ li r0, 1 -/* 8009334C 000902AC 38 63 D7 C0 */ addi r3, r3, lbl_803CD7C0@l -/* 80093350 000902B0 98 0D A2 AC */ stb r0, lbl_805A8E6C@sda21(r13) -/* 80093354 000902B4 90 6D A2 A8 */ stw r3, lbl_805A8E68@sda21(r13) -lbl_80093358: -/* 80093358 000902B8 88 0D A2 B4 */ lbz r0, lbl_805A8E74@sda21(r13) -/* 8009335C 000902BC 7C 00 07 75 */ extsb. r0, r0 -/* 80093360 000902C0 40 82 00 1C */ bne lbl_8009337C -/* 80093364 000902C4 3C 60 80 3D */ lis r3, lbl_803CD7C0@ha -/* 80093368 000902C8 38 00 00 01 */ li r0, 1 -/* 8009336C 000902CC 38 63 D7 C0 */ addi r3, r3, lbl_803CD7C0@l -/* 80093370 000902D0 98 0D A2 B4 */ stb r0, lbl_805A8E74@sda21(r13) -/* 80093374 000902D4 38 03 00 06 */ addi r0, r3, 6 -/* 80093378 000902D8 90 0D A2 B0 */ stw r0, lbl_805A8E70@sda21(r13) -lbl_8009337C: -/* 8009337C 000902DC 83 9F 08 4C */ lwz r28, 0x84c(r31) -/* 80093380 000902E0 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80093384 000902E4 38 9C 00 34 */ addi r4, r28, 0x34 -/* 80093388 000902E8 48 27 ED A1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8009338C 000902EC C0 61 00 A8 */ lfs f3, 0xa8(r1) -/* 80093390 000902F0 7F 84 E3 78 */ mr r4, r28 -/* 80093394 000902F4 C0 41 00 AC */ lfs f2, 0xac(r1) -/* 80093398 000902F8 38 61 00 9C */ addi r3, r1, 0x9c -/* 8009339C 000902FC C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 800933A0 00090300 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 800933A4 00090304 D0 61 00 B8 */ stfs f3, 0xb8(r1) -/* 800933A8 00090308 D0 41 00 BC */ stfs f2, 0xbc(r1) -/* 800933AC 0009030C D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 800933B0 00090310 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 800933B4 00090314 48 1F 19 C9 */ bl GetEyePosition__7CPlayerCFv -/* 800933B8 00090318 A0 7D 02 0C */ lhz r3, 0x20c(r29) -/* 800933BC 0009031C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800933C0 00090320 C3 E1 00 9C */ lfs f31, 0x9c(r1) -/* 800933C4 00090324 7C 03 00 40 */ cmplw r3, r0 -/* 800933C8 00090328 C3 C1 00 A0 */ lfs f30, 0xa0(r1) -/* 800933CC 0009032C C3 A1 00 A4 */ lfs f29, 0xa4(r1) -/* 800933D0 00090330 41 82 02 5C */ beq lbl_8009362C -/* 800933D4 00090334 A0 1D 02 0C */ lhz r0, 0x20c(r29) -/* 800933D8 00090338 7F E3 FB 78 */ mr r3, r31 -/* 800933DC 0009033C 38 81 00 10 */ addi r4, r1, 0x10 -/* 800933E0 00090340 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800933E4 00090344 4B FB 91 91 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800933E8 00090348 7C 60 1B 78 */ mr r0, r3 -/* 800933EC 0009034C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800933F0 00090350 7C 04 03 78 */ mr r4, r0 -/* 800933F4 00090354 48 01 89 79 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" -/* 800933F8 00090358 83 E3 00 04 */ lwz r31, 4(r3) -/* 800933FC 0009035C 28 1F 00 00 */ cmplwi r31, 0 -/* 80093400 00090360 41 82 02 2C */ beq lbl_8009362C -/* 80093404 00090364 88 1F 02 E3 */ lbz r0, 0x2e3(r31) -/* 80093408 00090368 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009340C 0009036C 41 82 02 20 */ beq lbl_8009362C -/* 80093410 00090370 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 80093414 00090374 38 60 00 00 */ li r3, 0 -/* 80093418 00090378 28 04 00 00 */ cmplwi r4, 0 -/* 8009341C 0009037C 41 82 00 14 */ beq lbl_80093430 -/* 80093420 00090380 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80093424 00090384 28 00 00 00 */ cmplwi r0, 0 -/* 80093428 00090388 41 82 00 08 */ beq lbl_80093430 -/* 8009342C 0009038C 38 60 00 01 */ li r3, 1 -lbl_80093430: -/* 80093430 00090390 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80093434 00090394 41 82 01 F8 */ beq lbl_8009362C -/* 80093438 00090398 83 64 00 10 */ lwz r27, 0x10(r4) -/* 8009343C 0009039C 7F 63 DB 78 */ mr r3, r27 -/* 80093440 000903A0 4B F9 6C 41 */ bl GetRootAnimationTree__9CAnimDataCFv -/* 80093444 000903A4 7C 7C 1B 78 */ mr r28, r3 -/* 80093448 000903A8 80 63 00 00 */ lwz r3, 0(r3) -/* 8009344C 000903AC 80 03 00 00 */ lwz r0, 0(r3) -/* 80093450 000903B0 28 00 00 00 */ cmplwi r0, 0 -/* 80093454 000903B4 41 82 01 D8 */ beq lbl_8009362C -/* 80093458 000903B8 83 5F 00 64 */ lwz r26, 0x64(r31) -/* 8009345C 000903BC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80093460 000903C0 80 8D A2 A8 */ lwz r4, lbl_805A8E68@sda21(r13) -/* 80093464 000903C4 4B F7 18 55 */ bl string_l__4rstlFPCc -/* 80093468 000903C8 7F 64 DB 78 */ mr r4, r27 -/* 8009346C 000903CC 38 61 00 0C */ addi r3, r1, 0xc -/* 80093470 000903D0 38 A1 00 8C */ addi r5, r1, 0x8c -/* 80093474 000903D4 4B F9 B3 C5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80093478 000903D8 8B 21 00 0C */ lbz r25, 0xc(r1) -/* 8009347C 000903DC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80093480 000903E0 48 2A A6 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80093484 000903E4 80 8D A2 B0 */ lwz r4, lbl_805A8E70@sda21(r13) -/* 80093488 000903E8 38 61 00 7C */ addi r3, r1, 0x7c -/* 8009348C 000903EC 4B F7 18 2D */ bl string_l__4rstlFPCc -/* 80093490 000903F0 7F 64 DB 78 */ mr r4, r27 -/* 80093494 000903F4 38 61 00 08 */ addi r3, r1, 8 -/* 80093498 000903F8 38 A1 00 7C */ addi r5, r1, 0x7c -/* 8009349C 000903FC 4B F9 B3 9D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800934A0 00090400 8B 61 00 08 */ lbz r27, 8(r1) -/* 800934A4 00090404 38 61 00 7C */ addi r3, r1, 0x7c -/* 800934A8 00090408 48 2A A6 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800934AC 0009040C 28 19 00 FF */ cmplwi r25, 0xff -/* 800934B0 00090410 41 82 01 7C */ beq lbl_8009362C -/* 800934B4 00090414 28 1B 00 FF */ cmplwi r27, 0xff -/* 800934B8 00090418 41 82 01 74 */ beq lbl_8009362C -/* 800934BC 0009041C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800934C0 00090420 41 82 00 1C */ beq lbl_800934DC -/* 800934C4 00090424 C0 0D 85 A4 */ lfs f0, lbl_805A7164@sda21(r13) -/* 800934C8 00090428 38 61 00 24 */ addi r3, r1, 0x24 -/* 800934CC 0009042C 80 0D 85 A0 */ lwz r0, lbl_805A7160@sda21(r13) -/* 800934D0 00090430 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800934D4 00090434 90 01 00 28 */ stw r0, 0x28(r1) -/* 800934D8 00090438 48 00 00 34 */ b lbl_8009350C -lbl_800934DC: -/* 800934DC 0009043C 80 9C 00 00 */ lwz r4, 0(r28) -/* 800934E0 00090440 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800934E4 00090444 80 84 00 00 */ lwz r4, 0(r4) -/* 800934E8 00090448 81 84 00 00 */ lwz r12, 0(r4) -/* 800934EC 0009044C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800934F0 00090450 7D 89 03 A6 */ mtctr r12 -/* 800934F4 00090454 4E 80 04 21 */ bctrl -/* 800934F8 00090458 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 800934FC 0009045C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80093500 00090460 80 01 00 CC */ lwz r0, 0xcc(r1) -/* 80093504 00090464 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80093508 00090468 90 01 00 20 */ stw r0, 0x20(r1) -lbl_8009350C: -/* 8009350C 0009046C C0 03 00 00 */ lfs f0, 0(r3) -/* 80093510 00090470 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80093514 00090474 3B 81 00 2C */ addi r28, r1, 0x2c -/* 80093518 00090478 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8009351C 0009047C 80 03 00 04 */ lwz r0, 4(r3) -/* 80093520 00090480 90 01 00 30 */ stw r0, 0x30(r1) -/* 80093524 00090484 41 82 00 08 */ beq lbl_8009352C -/* 80093528 00090488 3B 80 00 00 */ li r28, 0 -lbl_8009352C: -/* 8009352C 0009048C 80 8D A2 A8 */ lwz r4, lbl_805A8E68@sda21(r13) -/* 80093530 00090490 38 61 00 6C */ addi r3, r1, 0x6c -/* 80093534 00090494 4B F7 17 85 */ bl string_l__4rstlFPCc -/* 80093538 00090498 7F 44 D3 78 */ mr r4, r26 -/* 8009353C 0009049C 7F 86 E3 78 */ mr r6, r28 -/* 80093540 000904A0 38 61 01 70 */ addi r3, r1, 0x170 -/* 80093544 000904A4 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80093548 000904A8 48 08 23 D5 */ bl "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -/* 8009354C 000904AC 38 61 02 30 */ addi r3, r1, 0x230 -/* 80093550 000904B0 38 81 01 70 */ addi r4, r1, 0x170 -/* 80093554 000904B4 48 27 F6 21 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80093558 000904B8 38 61 00 6C */ addi r3, r1, 0x6c -/* 8009355C 000904BC 48 2A A5 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80093560 000904C0 38 61 01 40 */ addi r3, r1, 0x140 -/* 80093564 000904C4 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80093568 000904C8 38 A1 02 30 */ addi r5, r1, 0x230 -/* 8009356C 000904CC 48 27 F3 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80093570 000904D0 38 61 02 00 */ addi r3, r1, 0x200 -/* 80093574 000904D4 38 81 01 40 */ addi r4, r1, 0x140 -/* 80093578 000904D8 48 27 F5 FD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8009357C 000904DC 80 8D A2 B0 */ lwz r4, lbl_805A8E70@sda21(r13) -/* 80093580 000904E0 38 61 00 5C */ addi r3, r1, 0x5c -/* 80093584 000904E4 4B F7 17 35 */ bl string_l__4rstlFPCc -/* 80093588 000904E8 7F 44 D3 78 */ mr r4, r26 -/* 8009358C 000904EC 7F 86 E3 78 */ mr r6, r28 -/* 80093590 000904F0 38 61 01 10 */ addi r3, r1, 0x110 -/* 80093594 000904F4 38 A1 00 5C */ addi r5, r1, 0x5c -/* 80093598 000904F8 48 08 23 85 */ bl "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -/* 8009359C 000904FC 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 800935A0 00090500 38 81 01 10 */ addi r4, r1, 0x110 -/* 800935A4 00090504 48 27 F5 D1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800935A8 00090508 38 61 00 5C */ addi r3, r1, 0x5c -/* 800935AC 0009050C 48 2A A5 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800935B0 00090510 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 800935B4 00090514 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800935B8 00090518 38 A1 01 D0 */ addi r5, r1, 0x1d0 -/* 800935BC 0009051C 48 27 F3 95 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800935C0 00090520 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 800935C4 00090524 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 800935C8 00090528 48 27 F5 AD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800935CC 0009052C C0 61 02 0C */ lfs f3, 0x20c(r1) -/* 800935D0 00090530 38 61 00 4C */ addi r3, r1, 0x4c -/* 800935D4 00090534 C0 41 01 AC */ lfs f2, 0x1ac(r1) -/* 800935D8 00090538 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800935DC 0009053C C0 21 02 1C */ lfs f1, 0x21c(r1) -/* 800935E0 00090540 C0 01 01 BC */ lfs f0, 0x1bc(r1) -/* 800935E4 00090544 EC 63 10 2A */ fadds f3, f3, f2 -/* 800935E8 00090548 C0 82 8B 50 */ lfs f4, lbl_805AA870@sda21(r2) -/* 800935EC 0009054C EC 41 00 2A */ fadds f2, f1, f0 -/* 800935F0 00090550 C0 21 02 2C */ lfs f1, 0x22c(r1) -/* 800935F4 00090554 C0 01 01 CC */ lfs f0, 0x1cc(r1) -/* 800935F8 00090558 EF E4 00 F2 */ fmuls f31, f4, f3 -/* 800935FC 0009055C EC 01 00 2A */ fadds f0, f1, f0 -/* 80093600 00090560 EF C4 00 B2 */ fmuls f30, f4, f2 -/* 80093604 00090564 EF A4 00 32 */ fmuls f29, f4, f0 -/* 80093608 00090568 48 27 EB 21 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8009360C 0009056C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80093610 00090570 80 81 00 50 */ lwz r4, 0x50(r1) -/* 80093614 00090574 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80093618 00090578 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8009361C 0009057C D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 80093620 00090580 90 81 00 BC */ stw r4, 0xbc(r1) -/* 80093624 00090584 90 61 00 C0 */ stw r3, 0xc0(r1) -/* 80093628 00090588 90 01 00 C4 */ stw r0, 0xc4(r1) -lbl_8009362C: -/* 8009362C 0009058C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80093630 00090590 FF 80 F8 90 */ fmr f28, f31 -/* 80093634 00090594 C0 22 8B 40 */ lfs f1, lbl_805AA860@sda21(r2) -/* 80093638 00090598 FF 60 F0 90 */ fmr f27, f30 -/* 8009363C 0009059C C0 03 00 F0 */ lfs f0, 0xf0(r3) -/* 80093640 000905A0 FF 40 E8 90 */ fmr f26, f29 -/* 80093644 000905A4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80093648 000905A8 FC 00 00 50 */ fneg f0, f0 -/* 8009364C 000905AC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80093650 000905B0 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80093654 000905B4 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80093658 000905B8 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8009365C 000905BC D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80093660 000905C0 48 27 DC 05 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80093664 000905C4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80093668 000905C8 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 8009366C 000905CC C0 A1 00 44 */ lfs f5, 0x44(r1) -/* 80093670 000905D0 C0 C1 00 48 */ lfs f6, 0x48(r1) -/* 80093674 000905D4 40 82 00 30 */ bne lbl_800936A4 -/* 80093678 000905D8 C0 22 8B 3C */ lfs f1, lbl_805AA85C@sda21(r2) -/* 8009367C 000905DC C0 02 8B 54 */ lfs f0, lbl_805AA874@sda21(r2) -/* 80093680 000905E0 EC 61 01 32 */ fmuls f3, f1, f4 -/* 80093684 000905E4 EC 41 01 72 */ fmuls f2, f1, f5 -/* 80093688 000905E8 EC 21 01 B2 */ fmuls f1, f1, f6 -/* 8009368C 000905EC EF 9F 18 2A */ fadds f28, f31, f3 -/* 80093690 000905F0 EF 7E 10 2A */ fadds f27, f30, f2 -/* 80093694 000905F4 EF 5D 08 2A */ fadds f26, f29, f1 -/* 80093698 000905F8 EC 84 00 32 */ fmuls f4, f4, f0 -/* 8009369C 000905FC EC A5 00 32 */ fmuls f5, f5, f0 -/* 800936A0 00090600 EC C6 00 32 */ fmuls f6, f6, f0 -lbl_800936A4: -/* 800936A4 00090604 38 00 00 02 */ li r0, 2 -/* 800936A8 00090608 57 C4 06 3E */ clrlwi r4, r30, 0x18 -/* 800936AC 0009060C 38 C0 00 00 */ li r6, 0 -/* 800936B0 00090610 7C 09 03 A6 */ mtctr r0 -lbl_800936B4: -/* 800936B4 00090614 28 04 00 00 */ cmplwi r4, 0 -/* 800936B8 00090618 80 7D 01 94 */ lwz r3, 0x194(r29) -/* 800936BC 0009061C 20 E6 00 02 */ subfic r7, r6, 2 -/* 800936C0 00090620 41 82 00 0C */ beq lbl_800936CC -/* 800936C4 00090624 7C C0 33 78 */ mr r0, r6 -/* 800936C8 00090628 48 00 00 0C */ b lbl_800936D4 -lbl_800936CC: -/* 800936CC 0009062C 80 1D 01 8C */ lwz r0, 0x18c(r29) -/* 800936D0 00090630 7C 07 00 50 */ subf r0, r7, r0 -lbl_800936D4: -/* 800936D4 00090634 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800936D8 00090638 28 04 00 00 */ cmplwi r4, 0 -/* 800936DC 0009063C 7C 63 02 14 */ add r3, r3, r0 -/* 800936E0 00090640 D3 83 00 00 */ stfs f28, 0(r3) -/* 800936E4 00090644 D3 63 00 04 */ stfs f27, 4(r3) -/* 800936E8 00090648 D3 43 00 08 */ stfs f26, 8(r3) -/* 800936EC 0009064C 80 7D 01 A4 */ lwz r3, 0x1a4(r29) -/* 800936F0 00090650 41 82 00 0C */ beq lbl_800936FC -/* 800936F4 00090654 7C C0 33 78 */ mr r0, r6 -/* 800936F8 00090658 48 00 00 0C */ b lbl_80093704 -lbl_800936FC: -/* 800936FC 0009065C 80 1D 01 9C */ lwz r0, 0x19c(r29) -/* 80093700 00090660 7C 07 00 50 */ subf r0, r7, r0 -lbl_80093704: -/* 80093704 00090664 54 00 20 36 */ slwi r0, r0, 4 -/* 80093708 00090668 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 8009370C 0009066C 7C A3 02 14 */ add r5, r3, r0 -/* 80093710 00090670 28 04 00 00 */ cmplwi r4, 0 -/* 80093714 00090674 D0 05 00 00 */ stfs f0, 0(r5) -/* 80093718 00090678 80 61 00 BC */ lwz r3, 0xbc(r1) -/* 8009371C 0009067C 80 01 00 C0 */ lwz r0, 0xc0(r1) -/* 80093720 00090680 90 65 00 04 */ stw r3, 4(r5) -/* 80093724 00090684 90 05 00 08 */ stw r0, 8(r5) -/* 80093728 00090688 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8009372C 0009068C 90 05 00 0C */ stw r0, 0xc(r5) -/* 80093730 00090690 80 7D 01 C4 */ lwz r3, 0x1c4(r29) -/* 80093734 00090694 41 82 00 0C */ beq lbl_80093740 -/* 80093738 00090698 7C C0 33 78 */ mr r0, r6 -/* 8009373C 0009069C 48 00 00 0C */ b lbl_80093748 -lbl_80093740: -/* 80093740 000906A0 80 1D 01 BC */ lwz r0, 0x1bc(r29) -/* 80093744 000906A4 7C 07 00 50 */ subf r0, r7, r0 -lbl_80093748: -/* 80093748 000906A8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8009374C 000906AC EF 9C 20 2A */ fadds f28, f28, f4 -/* 80093750 000906B0 EF 7B 28 2A */ fadds f27, f27, f5 -/* 80093754 000906B4 38 C6 00 01 */ addi r6, r6, 1 -/* 80093758 000906B8 EF 5A 30 2A */ fadds f26, f26, f6 -/* 8009375C 000906BC 7C 63 02 14 */ add r3, r3, r0 -/* 80093760 000906C0 D3 E3 00 00 */ stfs f31, 0(r3) -/* 80093764 000906C4 D3 C3 00 04 */ stfs f30, 4(r3) -/* 80093768 000906C8 D3 A3 00 08 */ stfs f29, 8(r3) -/* 8009376C 000906CC 42 00 FF 48 */ bdnz lbl_800936B4 -/* 80093770 000906D0 D3 FD 02 10 */ stfs f31, 0x210(r29) -/* 80093774 000906D4 D3 DD 02 14 */ stfs f30, 0x214(r29) -/* 80093778 000906D8 D3 BD 02 18 */ stfs f29, 0x218(r29) -/* 8009377C 000906DC E3 E1 02 D8 */ psq_l f31, 728(r1), 0, qr0 -/* 80093780 000906E0 CB E1 02 D0 */ lfd f31, 0x2d0(r1) -/* 80093784 000906E4 E3 C1 02 C8 */ psq_l f30, 712(r1), 0, qr0 -/* 80093788 000906E8 CB C1 02 C0 */ lfd f30, 0x2c0(r1) -/* 8009378C 000906EC E3 A1 02 B8 */ psq_l f29, 696(r1), 0, qr0 -/* 80093790 000906F0 CB A1 02 B0 */ lfd f29, 0x2b0(r1) -/* 80093794 000906F4 E3 81 02 A8 */ psq_l f28, 680(r1), 0, qr0 -/* 80093798 000906F8 CB 81 02 A0 */ lfd f28, 0x2a0(r1) -/* 8009379C 000906FC E3 61 02 98 */ psq_l f27, 664(r1), 0, qr0 -/* 800937A0 00090700 CB 61 02 90 */ lfd f27, 0x290(r1) -/* 800937A4 00090704 E3 41 02 88 */ psq_l f26, 648(r1), 0, qr0 -/* 800937A8 00090708 CB 41 02 80 */ lfd f26, 0x280(r1) -/* 800937AC 0009070C BB 21 02 64 */ lmw r25, 0x264(r1) -/* 800937B0 00090710 80 01 02 E4 */ lwz r0, 0x2e4(r1) -/* 800937B4 00090714 7C 08 03 A6 */ mtlr r0 -/* 800937B8 00090718 38 21 02 E0 */ addi r1, r1, 0x2e0 -/* 800937BC 0009071C 4E 80 00 20 */ blr - -.global GenerateMoveOutofIntoPoints__16CCinematicCameraFbR13CStateManager -GenerateMoveOutofIntoPoints__16CCinematicCameraFbR13CStateManager: -/* 800937C0 00090720 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 800937C4 00090724 7C 08 02 A6 */ mflr r0 -/* 800937C8 00090728 90 01 01 04 */ stw r0, 0x104(r1) -/* 800937CC 0009072C DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 800937D0 00090730 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 800937D4 00090734 DB C1 00 E0 */ stfd f30, 0xe0(r1) -/* 800937D8 00090738 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 -/* 800937DC 0009073C DB A1 00 D0 */ stfd f29, 0xd0(r1) -/* 800937E0 00090740 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 -/* 800937E4 00090744 DB 81 00 C0 */ stfd f28, 0xc0(r1) -/* 800937E8 00090748 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 -/* 800937EC 0009074C DB 61 00 B0 */ stfd f27, 0xb0(r1) -/* 800937F0 00090750 F3 61 00 B8 */ psq_st f27, 184(r1), 0, qr0 -/* 800937F4 00090754 DB 41 00 A0 */ stfd f26, 0xa0(r1) -/* 800937F8 00090758 F3 41 00 A8 */ psq_st f26, 168(r1), 0, qr0 -/* 800937FC 0009075C DB 21 00 90 */ stfd f25, 0x90(r1) -/* 80093800 00090760 F3 21 00 98 */ psq_st f25, 152(r1), 0, qr0 -/* 80093804 00090764 DB 01 00 80 */ stfd f24, 0x80(r1) -/* 80093808 00090768 F3 01 00 88 */ psq_st f24, 136(r1), 0, qr0 -/* 8009380C 0009076C DA E1 00 70 */ stfd f23, 0x70(r1) -/* 80093810 00090770 F2 E1 00 78 */ psq_st f23, 120(r1), 0, qr0 -/* 80093814 00090774 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 80093818 00090778 7C 7B 1B 78 */ mr r27, r3 -/* 8009381C 0009077C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80093820 00090780 7C BD 2B 78 */ mr r29, r5 -/* 80093824 00090784 80 BB 01 8C */ lwz r5, 0x18c(r27) -/* 80093828 00090788 C3 E3 00 F0 */ lfs f31, 0xf0(r3) -/* 8009382C 0009078C 7C 9C 23 78 */ mr r28, r4 -/* 80093830 00090790 83 FD 08 4C */ lwz r31, 0x84c(r29) -/* 80093834 00090794 38 7B 01 88 */ addi r3, r27, 0x188 -/* 80093838 00090798 38 85 00 02 */ addi r4, r5, 2 -/* 8009383C 0009079C 4B FC A4 BD */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 80093840 000907A0 80 9B 01 9C */ lwz r4, 0x19c(r27) -/* 80093844 000907A4 38 7B 01 98 */ addi r3, r27, 0x198 -/* 80093848 000907A8 38 84 00 02 */ addi r4, r4, 2 -/* 8009384C 000907AC 48 00 1D 3D */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" -/* 80093850 000907B0 80 9B 01 AC */ lwz r4, 0x1ac(r27) -/* 80093854 000907B4 38 7B 01 A8 */ addi r3, r27, 0x1a8 -/* 80093858 000907B8 38 84 00 02 */ addi r4, r4, 2 -/* 8009385C 000907BC 4B F7 8B AD */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 80093860 000907C0 80 9B 01 BC */ lwz r4, 0x1bc(r27) -/* 80093864 000907C4 38 7B 01 B8 */ addi r3, r27, 0x1b8 -/* 80093868 000907C8 38 84 00 02 */ addi r4, r4, 2 -/* 8009386C 000907CC 4B FC A4 8D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 80093870 000907D0 80 9B 01 CC */ lwz r4, 0x1cc(r27) -/* 80093874 000907D4 38 7B 01 C8 */ addi r3, r27, 0x1c8 -/* 80093878 000907D8 38 84 00 02 */ addi r4, r4, 2 -/* 8009387C 000907DC 4B F7 8B 8D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 80093880 000907E0 38 61 00 2C */ addi r3, r1, 0x2c -/* 80093884 000907E4 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80093888 000907E8 48 27 E8 A1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8009388C 000907EC C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 80093890 000907F0 7F E4 FB 78 */ mr r4, r31 -/* 80093894 000907F4 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 80093898 000907F8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8009389C 000907FC C0 21 00 34 */ lfs f1, 0x34(r1) -/* 800938A0 00090800 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 800938A4 00090804 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 800938A8 00090808 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 800938AC 0009080C D0 21 00 44 */ stfs f1, 0x44(r1) -/* 800938B0 00090810 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800938B4 00090814 48 1F 14 C9 */ bl GetEyePosition__7CPlayerCFv -/* 800938B8 00090818 FC 00 F8 50 */ fneg f0, f31 -/* 800938BC 0009081C C3 E1 00 20 */ lfs f31, 0x20(r1) -/* 800938C0 00090820 C0 22 8B 40 */ lfs f1, lbl_805AA860@sda21(r2) -/* 800938C4 00090824 38 61 00 14 */ addi r3, r1, 0x14 -/* 800938C8 00090828 C3 C1 00 24 */ lfs f30, 0x24(r1) -/* 800938CC 0009082C FF 80 F8 90 */ fmr f28, f31 -/* 800938D0 00090830 C3 A1 00 28 */ lfs f29, 0x28(r1) -/* 800938D4 00090834 FF 60 F0 90 */ fmr f27, f30 -/* 800938D8 00090838 D0 21 00 08 */ stfs f1, 8(r1) -/* 800938DC 0009083C 38 81 00 3C */ addi r4, r1, 0x3c -/* 800938E0 00090840 FF 40 E8 90 */ fmr f26, f29 -/* 800938E4 00090844 38 A1 00 08 */ addi r5, r1, 8 -/* 800938E8 00090848 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800938EC 0009084C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800938F0 00090850 48 27 D9 75 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 800938F4 00090854 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 800938F8 00090858 C3 21 00 14 */ lfs f25, 0x14(r1) -/* 800938FC 0009085C C3 01 00 18 */ lfs f24, 0x18(r1) -/* 80093900 00090860 C2 E1 00 1C */ lfs f23, 0x1c(r1) -/* 80093904 00090864 40 82 00 30 */ bne lbl_80093934 -/* 80093908 00090868 C0 22 8B 3C */ lfs f1, lbl_805AA85C@sda21(r2) -/* 8009390C 0009086C C0 02 8B 54 */ lfs f0, lbl_805AA874@sda21(r2) -/* 80093910 00090870 EC 61 06 72 */ fmuls f3, f1, f25 -/* 80093914 00090874 EC 41 06 32 */ fmuls f2, f1, f24 -/* 80093918 00090878 EC 21 05 F2 */ fmuls f1, f1, f23 -/* 8009391C 0009087C EF 9C 18 2A */ fadds f28, f28, f3 -/* 80093920 00090880 EF 7B 10 2A */ fadds f27, f27, f2 -/* 80093924 00090884 EF 5A 08 2A */ fadds f26, f26, f1 -/* 80093928 00090888 EF 39 00 32 */ fmuls f25, f25, f0 -/* 8009392C 0009088C EF 18 00 32 */ fmuls f24, f24, f0 -/* 80093930 00090890 EE F7 00 32 */ fmuls f23, f23, f0 -lbl_80093934: -/* 80093934 00090894 3B C0 00 00 */ li r30, 0 -lbl_80093938: -/* 80093938 00090898 80 1B 01 8C */ lwz r0, 0x18c(r27) -/* 8009393C 0009089C 80 BB 01 90 */ lwz r5, 0x190(r27) -/* 80093940 000908A0 7C 00 28 00 */ cmpw r0, r5 -/* 80093944 000908A4 41 80 00 1C */ blt lbl_80093960 -/* 80093948 000908A8 2C 05 00 00 */ cmpwi r5, 0 -/* 8009394C 000908AC 38 7B 01 88 */ addi r3, r27, 0x188 -/* 80093950 000908B0 38 80 00 04 */ li r4, 4 -/* 80093954 000908B4 41 82 00 08 */ beq lbl_8009395C -/* 80093958 000908B8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8009395C: -/* 8009395C 000908BC 4B FC A3 9D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_80093960: -/* 80093960 000908C0 80 1B 01 8C */ lwz r0, 0x18c(r27) -/* 80093964 000908C4 80 7B 01 94 */ lwz r3, 0x194(r27) -/* 80093968 000908C8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8009396C 000908CC 7C 63 02 15 */ add. r3, r3, r0 -/* 80093970 000908D0 41 82 00 10 */ beq lbl_80093980 -/* 80093974 000908D4 D3 83 00 00 */ stfs f28, 0(r3) -/* 80093978 000908D8 D3 63 00 04 */ stfs f27, 4(r3) -/* 8009397C 000908DC D3 43 00 08 */ stfs f26, 8(r3) -lbl_80093980: -/* 80093980 000908E0 80 7B 01 8C */ lwz r3, 0x18c(r27) -/* 80093984 000908E4 38 03 00 01 */ addi r0, r3, 1 -/* 80093988 000908E8 90 1B 01 8C */ stw r0, 0x18c(r27) -/* 8009398C 000908EC 80 1B 01 9C */ lwz r0, 0x19c(r27) -/* 80093990 000908F0 80 BB 01 A0 */ lwz r5, 0x1a0(r27) -/* 80093994 000908F4 7C 00 28 00 */ cmpw r0, r5 -/* 80093998 000908F8 41 80 00 1C */ blt lbl_800939B4 -/* 8009399C 000908FC 2C 05 00 00 */ cmpwi r5, 0 -/* 800939A0 00090900 38 7B 01 98 */ addi r3, r27, 0x198 -/* 800939A4 00090904 38 80 00 04 */ li r4, 4 -/* 800939A8 00090908 41 82 00 08 */ beq lbl_800939B0 -/* 800939AC 0009090C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800939B0: -/* 800939B0 00090910 48 00 1B D9 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" -lbl_800939B4: -/* 800939B4 00090914 80 1B 01 9C */ lwz r0, 0x19c(r27) -/* 800939B8 00090918 80 7B 01 A4 */ lwz r3, 0x1a4(r27) -/* 800939BC 0009091C 54 00 20 36 */ slwi r0, r0, 4 -/* 800939C0 00090920 7C 63 02 15 */ add. r3, r3, r0 -/* 800939C4 00090924 41 82 00 24 */ beq lbl_800939E8 -/* 800939C8 00090928 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 800939CC 0009092C D0 03 00 00 */ stfs f0, 0(r3) -/* 800939D0 00090930 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 800939D4 00090934 D0 03 00 04 */ stfs f0, 4(r3) -/* 800939D8 00090938 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 800939DC 0009093C D0 03 00 08 */ stfs f0, 8(r3) -/* 800939E0 00090940 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 800939E4 00090944 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_800939E8: -/* 800939E8 00090948 80 7B 01 9C */ lwz r3, 0x19c(r27) -/* 800939EC 0009094C 38 03 00 01 */ addi r0, r3, 1 -/* 800939F0 00090950 90 1B 01 9C */ stw r0, 0x19c(r27) -/* 800939F4 00090954 80 1B 01 AC */ lwz r0, 0x1ac(r27) -/* 800939F8 00090958 80 BB 01 B0 */ lwz r5, 0x1b0(r27) -/* 800939FC 0009095C A3 5F 00 08 */ lhz r26, 8(r31) -/* 80093A00 00090960 7C 00 28 00 */ cmpw r0, r5 -/* 80093A04 00090964 41 80 00 1C */ blt lbl_80093A20 -/* 80093A08 00090968 2C 05 00 00 */ cmpwi r5, 0 -/* 80093A0C 0009096C 38 7B 01 A8 */ addi r3, r27, 0x1a8 -/* 80093A10 00090970 38 80 00 04 */ li r4, 4 -/* 80093A14 00090974 41 82 00 08 */ beq lbl_80093A1C -/* 80093A18 00090978 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80093A1C: -/* 80093A1C 0009097C 4B F7 89 ED */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_80093A20: -/* 80093A20 00090980 80 1B 01 AC */ lwz r0, 0x1ac(r27) -/* 80093A24 00090984 80 7B 01 B4 */ lwz r3, 0x1b4(r27) -/* 80093A28 00090988 54 00 08 3C */ slwi r0, r0, 1 -/* 80093A2C 0009098C 7C 63 02 15 */ add. r3, r3, r0 -/* 80093A30 00090990 41 82 00 08 */ beq lbl_80093A38 -/* 80093A34 00090994 B3 43 00 00 */ sth r26, 0(r3) -lbl_80093A38: -/* 80093A38 00090998 80 7B 01 AC */ lwz r3, 0x1ac(r27) -/* 80093A3C 0009099C 38 03 00 01 */ addi r0, r3, 1 -/* 80093A40 000909A0 90 1B 01 AC */ stw r0, 0x1ac(r27) -/* 80093A44 000909A4 80 1B 01 BC */ lwz r0, 0x1bc(r27) -/* 80093A48 000909A8 80 BB 01 C0 */ lwz r5, 0x1c0(r27) -/* 80093A4C 000909AC 7C 00 28 00 */ cmpw r0, r5 -/* 80093A50 000909B0 41 80 00 1C */ blt lbl_80093A6C -/* 80093A54 000909B4 2C 05 00 00 */ cmpwi r5, 0 -/* 80093A58 000909B8 38 7B 01 B8 */ addi r3, r27, 0x1b8 -/* 80093A5C 000909BC 38 80 00 04 */ li r4, 4 -/* 80093A60 000909C0 41 82 00 08 */ beq lbl_80093A68 -/* 80093A64 000909C4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80093A68: -/* 80093A68 000909C8 4B FC A2 91 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_80093A6C: -/* 80093A6C 000909CC 80 1B 01 BC */ lwz r0, 0x1bc(r27) -/* 80093A70 000909D0 80 7B 01 C4 */ lwz r3, 0x1c4(r27) -/* 80093A74 000909D4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80093A78 000909D8 7C 63 02 15 */ add. r3, r3, r0 -/* 80093A7C 000909DC 41 82 00 10 */ beq lbl_80093A8C -/* 80093A80 000909E0 D3 E3 00 00 */ stfs f31, 0(r3) -/* 80093A84 000909E4 D3 C3 00 04 */ stfs f30, 4(r3) -/* 80093A88 000909E8 D3 A3 00 08 */ stfs f29, 8(r3) -lbl_80093A8C: -/* 80093A8C 000909EC 80 7B 01 BC */ lwz r3, 0x1bc(r27) -/* 80093A90 000909F0 38 03 00 01 */ addi r0, r3, 1 -/* 80093A94 000909F4 90 1B 01 BC */ stw r0, 0x1bc(r27) -/* 80093A98 000909F8 80 1B 01 CC */ lwz r0, 0x1cc(r27) -/* 80093A9C 000909FC 80 BB 01 D0 */ lwz r5, 0x1d0(r27) -/* 80093AA0 00090A00 7C 00 28 00 */ cmpw r0, r5 -/* 80093AA4 00090A04 41 80 00 1C */ blt lbl_80093AC0 -/* 80093AA8 00090A08 2C 05 00 00 */ cmpwi r5, 0 -/* 80093AAC 00090A0C 38 7B 01 C8 */ addi r3, r27, 0x1c8 -/* 80093AB0 00090A10 38 80 00 04 */ li r4, 4 -/* 80093AB4 00090A14 41 82 00 08 */ beq lbl_80093ABC -/* 80093AB8 00090A18 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80093ABC: -/* 80093ABC 00090A1C 4B F7 89 4D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_80093AC0: -/* 80093AC0 00090A20 80 1B 01 CC */ lwz r0, 0x1cc(r27) -/* 80093AC4 00090A24 80 7B 01 D4 */ lwz r3, 0x1d4(r27) -/* 80093AC8 00090A28 54 00 08 3C */ slwi r0, r0, 1 -/* 80093ACC 00090A2C 7C 63 02 15 */ add. r3, r3, r0 -/* 80093AD0 00090A30 41 82 00 0C */ beq lbl_80093ADC -/* 80093AD4 00090A34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80093AD8 00090A38 B0 03 00 00 */ sth r0, 0(r3) -lbl_80093ADC: -/* 80093ADC 00090A3C 80 7B 01 CC */ lwz r3, 0x1cc(r27) -/* 80093AE0 00090A40 3B DE 00 01 */ addi r30, r30, 1 -/* 80093AE4 00090A44 2C 1E 00 02 */ cmpwi r30, 2 -/* 80093AE8 00090A48 EF 9C C8 2A */ fadds f28, f28, f25 -/* 80093AEC 00090A4C 38 03 00 01 */ addi r0, r3, 1 -/* 80093AF0 00090A50 EF 7B C0 2A */ fadds f27, f27, f24 -/* 80093AF4 00090A54 EF 5A B8 2A */ fadds f26, f26, f23 -/* 80093AF8 00090A58 90 1B 01 CC */ stw r0, 0x1cc(r27) -/* 80093AFC 00090A5C 41 80 FE 3C */ blt lbl_80093938 -/* 80093B00 00090A60 7F 63 DB 78 */ mr r3, r27 -/* 80093B04 00090A64 7F 84 E3 78 */ mr r4, r28 -/* 80093B08 00090A68 7F A5 EB 78 */ mr r5, r29 -/* 80093B0C 00090A6C 4B FF F7 E1 */ bl GenerateMoveOutofIntoEyePosition__16CCinematicCameraFbR13CStateManager -/* 80093B10 00090A70 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 80093B14 00090A74 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 80093B18 00090A78 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 -/* 80093B1C 00090A7C CB C1 00 E0 */ lfd f30, 0xe0(r1) -/* 80093B20 00090A80 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 -/* 80093B24 00090A84 CB A1 00 D0 */ lfd f29, 0xd0(r1) -/* 80093B28 00090A88 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 -/* 80093B2C 00090A8C CB 81 00 C0 */ lfd f28, 0xc0(r1) -/* 80093B30 00090A90 E3 61 00 B8 */ psq_l f27, 184(r1), 0, qr0 -/* 80093B34 00090A94 CB 61 00 B0 */ lfd f27, 0xb0(r1) -/* 80093B38 00090A98 E3 41 00 A8 */ psq_l f26, 168(r1), 0, qr0 -/* 80093B3C 00090A9C CB 41 00 A0 */ lfd f26, 0xa0(r1) -/* 80093B40 00090AA0 E3 21 00 98 */ psq_l f25, 152(r1), 0, qr0 -/* 80093B44 00090AA4 CB 21 00 90 */ lfd f25, 0x90(r1) -/* 80093B48 00090AA8 E3 01 00 88 */ psq_l f24, 136(r1), 0, qr0 -/* 80093B4C 00090AAC CB 01 00 80 */ lfd f24, 0x80(r1) -/* 80093B50 00090AB0 E2 E1 00 78 */ psq_l f23, 120(r1), 0, qr0 -/* 80093B54 00090AB4 CA E1 00 70 */ lfd f23, 0x70(r1) -/* 80093B58 00090AB8 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 80093B5C 00090ABC 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80093B60 00090AC0 7C 08 03 A6 */ mtlr r0 -/* 80093B64 00090AC4 38 21 01 00 */ addi r1, r1, 0x100 -/* 80093B68 00090AC8 4E 80 00 20 */ blr - -.global CalculateWaypoints__16CCinematicCameraFR13CStateManager -CalculateWaypoints__16CCinematicCameraFR13CStateManager: -/* 80093B6C 00090ACC 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80093B70 00090AD0 7C 08 02 A6 */ mflr r0 -/* 80093B74 00090AD4 90 01 01 64 */ stw r0, 0x164(r1) -/* 80093B78 00090AD8 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 80093B7C 00090ADC F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 80093B80 00090AE0 DB C1 01 40 */ stfd f30, 0x140(r1) -/* 80093B84 00090AE4 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 80093B88 00090AE8 DB A1 01 30 */ stfd f29, 0x130(r1) -/* 80093B8C 00090AEC F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 -/* 80093B90 00090AF0 BF 61 01 1C */ stmw r27, 0x11c(r1) -/* 80093B94 00090AF4 7C 7F 1B 78 */ mr r31, r3 -/* 80093B98 00090AF8 7C 9E 23 78 */ mr r30, r4 -/* 80093B9C 00090AFC 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 80093BA0 00090B00 3B 80 00 00 */ li r28, 0 -/* 80093BA4 00090B04 3B A0 00 00 */ li r29, 0 -/* 80093BA8 00090B08 48 00 00 40 */ b lbl_80093BE8 -lbl_80093BAC: -/* 80093BAC 00090B0C 80 64 00 00 */ lwz r3, 0(r4) -/* 80093BB0 00090B10 2C 03 00 0F */ cmpwi r3, 0xf -/* 80093BB4 00090B14 40 82 00 18 */ bne lbl_80093BCC -/* 80093BB8 00090B18 80 04 00 04 */ lwz r0, 4(r4) -/* 80093BBC 00090B1C 2C 00 00 01 */ cmpwi r0, 1 -/* 80093BC0 00090B20 40 82 00 0C */ bne lbl_80093BCC -/* 80093BC4 00090B24 7C 9C 23 78 */ mr r28, r4 -/* 80093BC8 00090B28 48 00 00 1C */ b lbl_80093BE4 -lbl_80093BCC: -/* 80093BCC 00090B2C 2C 03 00 10 */ cmpwi r3, 0x10 -/* 80093BD0 00090B30 40 82 00 14 */ bne lbl_80093BE4 -/* 80093BD4 00090B34 80 04 00 04 */ lwz r0, 4(r4) -/* 80093BD8 00090B38 2C 00 00 01 */ cmpwi r0, 1 -/* 80093BDC 00090B3C 40 82 00 08 */ bne lbl_80093BE4 -/* 80093BE0 00090B40 7C 9D 23 78 */ mr r29, r4 -lbl_80093BE4: -/* 80093BE4 00090B44 38 84 00 0C */ addi r4, r4, 0xc -lbl_80093BE8: -/* 80093BE8 00090B48 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80093BEC 00090B4C 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80093BF0 00090B50 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80093BF4 00090B54 7C 03 02 14 */ add r0, r3, r0 -/* 80093BF8 00090B58 7C 04 00 40 */ cmplw r4, r0 -/* 80093BFC 00090B5C 40 82 FF B0 */ bne lbl_80093BAC -/* 80093C00 00090B60 80 1F 01 8C */ lwz r0, 0x18c(r31) -/* 80093C04 00090B64 80 7F 01 94 */ lwz r3, 0x194(r31) -/* 80093C08 00090B68 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80093C0C 00090B6C 90 61 00 7C */ stw r3, 0x7c(r1) -/* 80093C10 00090B70 7C 03 02 14 */ add r0, r3, r0 -/* 80093C14 00090B74 90 61 00 78 */ stw r3, 0x78(r1) -/* 80093C18 00090B78 90 01 00 84 */ stw r0, 0x84(r1) -/* 80093C1C 00090B7C 90 01 00 80 */ stw r0, 0x80(r1) -/* 80093C20 00090B80 48 00 00 08 */ b lbl_80093C28 -lbl_80093C24: -/* 80093C24 00090B84 38 63 00 0C */ addi r3, r3, 0xc -lbl_80093C28: -/* 80093C28 00090B88 7C 03 00 40 */ cmplw r3, r0 -/* 80093C2C 00090B8C 40 82 FF F8 */ bne lbl_80093C24 -/* 80093C30 00090B90 38 00 00 00 */ li r0, 0 -/* 80093C34 00090B94 38 7F 01 88 */ addi r3, r31, 0x188 -/* 80093C38 00090B98 90 1F 01 8C */ stw r0, 0x18c(r31) -/* 80093C3C 00090B9C 38 80 00 03 */ li r4, 3 -/* 80093C40 00090BA0 4B FC A0 B9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 80093C44 00090BA4 80 1F 01 9C */ lwz r0, 0x19c(r31) -/* 80093C48 00090BA8 80 7F 01 A4 */ lwz r3, 0x1a4(r31) -/* 80093C4C 00090BAC 54 00 20 36 */ slwi r0, r0, 4 -/* 80093C50 00090BB0 7C 03 02 14 */ add r0, r3, r0 -/* 80093C54 00090BB4 90 61 00 6C */ stw r3, 0x6c(r1) -/* 80093C58 00090BB8 90 01 00 74 */ stw r0, 0x74(r1) -/* 80093C5C 00090BBC 90 01 00 70 */ stw r0, 0x70(r1) -/* 80093C60 00090BC0 90 61 00 68 */ stw r3, 0x68(r1) -/* 80093C64 00090BC4 48 00 00 08 */ b lbl_80093C6C -lbl_80093C68: -/* 80093C68 00090BC8 38 63 00 10 */ addi r3, r3, 0x10 -lbl_80093C6C: -/* 80093C6C 00090BCC 7C 03 00 40 */ cmplw r3, r0 -/* 80093C70 00090BD0 40 82 FF F8 */ bne lbl_80093C68 -/* 80093C74 00090BD4 38 00 00 00 */ li r0, 0 -/* 80093C78 00090BD8 38 7F 01 98 */ addi r3, r31, 0x198 -/* 80093C7C 00090BDC 90 1F 01 9C */ stw r0, 0x19c(r31) -/* 80093C80 00090BE0 38 80 00 03 */ li r4, 3 -/* 80093C84 00090BE4 48 00 19 05 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" -/* 80093C88 00090BE8 80 1F 01 AC */ lwz r0, 0x1ac(r31) -/* 80093C8C 00090BEC 80 7F 01 B4 */ lwz r3, 0x1b4(r31) -/* 80093C90 00090BF0 54 00 08 3C */ slwi r0, r0, 1 -/* 80093C94 00090BF4 7C 03 02 14 */ add r0, r3, r0 -/* 80093C98 00090BF8 90 61 00 5C */ stw r3, 0x5c(r1) -/* 80093C9C 00090BFC 90 01 00 64 */ stw r0, 0x64(r1) -/* 80093CA0 00090C00 90 01 00 60 */ stw r0, 0x60(r1) -/* 80093CA4 00090C04 90 61 00 58 */ stw r3, 0x58(r1) -/* 80093CA8 00090C08 48 00 00 08 */ b lbl_80093CB0 -lbl_80093CAC: -/* 80093CAC 00090C0C 38 63 00 02 */ addi r3, r3, 2 -lbl_80093CB0: -/* 80093CB0 00090C10 7C 03 00 40 */ cmplw r3, r0 -/* 80093CB4 00090C14 40 82 FF F8 */ bne lbl_80093CAC -/* 80093CB8 00090C18 38 00 00 00 */ li r0, 0 -/* 80093CBC 00090C1C 38 7F 01 A8 */ addi r3, r31, 0x1a8 -/* 80093CC0 00090C20 90 1F 01 AC */ stw r0, 0x1ac(r31) -/* 80093CC4 00090C24 38 80 00 03 */ li r4, 3 -/* 80093CC8 00090C28 4B F7 87 41 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 80093CCC 00090C2C 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 80093CD0 00090C30 80 7F 01 C4 */ lwz r3, 0x1c4(r31) -/* 80093CD4 00090C34 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80093CD8 00090C38 90 61 00 4C */ stw r3, 0x4c(r1) -/* 80093CDC 00090C3C 7C 03 02 14 */ add r0, r3, r0 -/* 80093CE0 00090C40 90 61 00 48 */ stw r3, 0x48(r1) -/* 80093CE4 00090C44 90 01 00 54 */ stw r0, 0x54(r1) -/* 80093CE8 00090C48 90 01 00 50 */ stw r0, 0x50(r1) -/* 80093CEC 00090C4C 48 00 00 08 */ b lbl_80093CF4 -lbl_80093CF0: -/* 80093CF0 00090C50 38 63 00 0C */ addi r3, r3, 0xc -lbl_80093CF4: -/* 80093CF4 00090C54 7C 03 00 40 */ cmplw r3, r0 -/* 80093CF8 00090C58 40 82 FF F8 */ bne lbl_80093CF0 -/* 80093CFC 00090C5C 38 00 00 00 */ li r0, 0 -/* 80093D00 00090C60 38 7F 01 B8 */ addi r3, r31, 0x1b8 -/* 80093D04 00090C64 90 1F 01 BC */ stw r0, 0x1bc(r31) -/* 80093D08 00090C68 38 80 00 03 */ li r4, 3 -/* 80093D0C 00090C6C 4B FC 9F ED */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 80093D10 00090C70 80 1F 01 CC */ lwz r0, 0x1cc(r31) -/* 80093D14 00090C74 80 7F 01 D4 */ lwz r3, 0x1d4(r31) -/* 80093D18 00090C78 54 00 08 3C */ slwi r0, r0, 1 -/* 80093D1C 00090C7C 7C 03 02 14 */ add r0, r3, r0 -/* 80093D20 00090C80 90 61 00 3C */ stw r3, 0x3c(r1) -/* 80093D24 00090C84 90 01 00 44 */ stw r0, 0x44(r1) -/* 80093D28 00090C88 90 01 00 40 */ stw r0, 0x40(r1) -/* 80093D2C 00090C8C 90 61 00 38 */ stw r3, 0x38(r1) -/* 80093D30 00090C90 48 00 00 08 */ b lbl_80093D38 -lbl_80093D34: -/* 80093D34 00090C94 38 63 00 02 */ addi r3, r3, 2 -lbl_80093D38: -/* 80093D38 00090C98 7C 03 00 40 */ cmplw r3, r0 -/* 80093D3C 00090C9C 40 82 FF F8 */ bne lbl_80093D34 -/* 80093D40 00090CA0 38 00 00 00 */ li r0, 0 -/* 80093D44 00090CA4 38 7F 01 C8 */ addi r3, r31, 0x1c8 -/* 80093D48 00090CA8 90 1F 01 CC */ stw r0, 0x1cc(r31) -/* 80093D4C 00090CAC 38 80 00 03 */ li r4, 3 -/* 80093D50 00090CB0 4B F7 86 B9 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 80093D54 00090CB4 80 1F 01 DC */ lwz r0, 0x1dc(r31) -/* 80093D58 00090CB8 80 7F 01 E4 */ lwz r3, 0x1e4(r31) -/* 80093D5C 00090CBC 54 00 10 3A */ slwi r0, r0, 2 -/* 80093D60 00090CC0 7C 03 02 14 */ add r0, r3, r0 -/* 80093D64 00090CC4 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80093D68 00090CC8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80093D6C 00090CCC 90 01 00 30 */ stw r0, 0x30(r1) -/* 80093D70 00090CD0 90 61 00 28 */ stw r3, 0x28(r1) -/* 80093D74 00090CD4 48 00 00 08 */ b lbl_80093D7C -lbl_80093D78: -/* 80093D78 00090CD8 38 63 00 04 */ addi r3, r3, 4 -lbl_80093D7C: -/* 80093D7C 00090CDC 7C 03 00 40 */ cmplw r3, r0 -/* 80093D80 00090CE0 40 82 FF F8 */ bne lbl_80093D78 -/* 80093D84 00090CE4 38 00 00 00 */ li r0, 0 -/* 80093D88 00090CE8 38 7F 01 D8 */ addi r3, r31, 0x1d8 -/* 80093D8C 00090CEC 90 1F 01 DC */ stw r0, 0x1dc(r31) -/* 80093D90 00090CF0 38 80 00 03 */ li r4, 3 -/* 80093D94 00090CF4 4B FC A0 65 */ bl "reserve__Q24rstl36vectorFi" -/* 80093D98 00090CF8 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 80093D9C 00090CFC 38 60 00 00 */ li r3, 0 -/* 80093DA0 00090D00 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80093DA4 00090D04 98 1F 02 20 */ stb r0, 0x220(r31) -/* 80093DA8 00090D08 80 7F 02 1C */ lwz r3, 0x21c(r31) -/* 80093DAC 00090D0C 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e -/* 80093DB0 00090D10 41 82 00 1C */ beq lbl_80093DCC -/* 80093DB4 00090D14 54 60 05 AD */ rlwinm. r0, r3, 0, 0x16, 0x16 -/* 80093DB8 00090D18 40 82 00 14 */ bne lbl_80093DCC -/* 80093DBC 00090D1C 7F E3 FB 78 */ mr r3, r31 -/* 80093DC0 00090D20 7F C5 F3 78 */ mr r5, r30 -/* 80093DC4 00090D24 38 80 00 01 */ li r4, 1 -/* 80093DC8 00090D28 4B FF F9 F9 */ bl GenerateMoveOutofIntoPoints__16CCinematicCameraFbR13CStateManager -lbl_80093DCC: -/* 80093DCC 00090D2C 28 1C 00 00 */ cmplwi r28, 0 -/* 80093DD0 00090D30 41 82 02 E0 */ beq lbl_800940B0 -/* 80093DD4 00090D34 80 1C 00 08 */ lwz r0, 8(r28) -/* 80093DD8 00090D38 7F C4 F3 78 */ mr r4, r30 -/* 80093DDC 00090D3C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80093DE0 00090D40 38 A1 00 C4 */ addi r5, r1, 0xc4 -/* 80093DE4 00090D44 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80093DE8 00090D48 4B FB 41 35 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80093DEC 00090D4C A0 01 00 20 */ lhz r0, 0x20(r1) -/* 80093DF0 00090D50 7F C3 F3 78 */ mr r3, r30 -/* 80093DF4 00090D54 38 81 00 24 */ addi r4, r1, 0x24 -/* 80093DF8 00090D58 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80093DFC 00090D5C 4B FB 87 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80093E00 00090D60 7C 64 1B 78 */ mr r4, r3 -/* 80093E04 00090D64 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80093E08 00090D68 48 01 BE 89 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80093E0C 00090D6C 83 83 00 04 */ lwz r28, 4(r3) -/* 80093E10 00090D70 48 00 02 98 */ b lbl_800940A8 -lbl_80093E14: -/* 80093E14 00090D74 80 9F 01 8C */ lwz r4, 0x18c(r31) -/* 80093E18 00090D78 38 7F 01 88 */ addi r3, r31, 0x188 -/* 80093E1C 00090D7C 38 84 00 01 */ addi r4, r4, 1 -/* 80093E20 00090D80 4B FC 9E D9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 80093E24 00090D84 80 1F 01 8C */ lwz r0, 0x18c(r31) -/* 80093E28 00090D88 80 BF 01 90 */ lwz r5, 0x190(r31) -/* 80093E2C 00090D8C C3 BC 00 60 */ lfs f29, 0x60(r28) -/* 80093E30 00090D90 7C 00 28 00 */ cmpw r0, r5 -/* 80093E34 00090D94 C3 DC 00 50 */ lfs f30, 0x50(r28) -/* 80093E38 00090D98 C3 FC 00 40 */ lfs f31, 0x40(r28) -/* 80093E3C 00090D9C 41 80 00 1C */ blt lbl_80093E58 -/* 80093E40 00090DA0 2C 05 00 00 */ cmpwi r5, 0 -/* 80093E44 00090DA4 38 7F 01 88 */ addi r3, r31, 0x188 -/* 80093E48 00090DA8 38 80 00 04 */ li r4, 4 -/* 80093E4C 00090DAC 41 82 00 08 */ beq lbl_80093E54 -/* 80093E50 00090DB0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80093E54: -/* 80093E54 00090DB4 4B FC 9E A5 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_80093E58: -/* 80093E58 00090DB8 80 1F 01 8C */ lwz r0, 0x18c(r31) -/* 80093E5C 00090DBC 80 7F 01 94 */ lwz r3, 0x194(r31) -/* 80093E60 00090DC0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80093E64 00090DC4 7C 63 02 15 */ add. r3, r3, r0 -/* 80093E68 00090DC8 41 82 00 10 */ beq lbl_80093E78 -/* 80093E6C 00090DCC D3 E3 00 00 */ stfs f31, 0(r3) -/* 80093E70 00090DD0 D3 C3 00 04 */ stfs f30, 4(r3) -/* 80093E74 00090DD4 D3 A3 00 08 */ stfs f29, 8(r3) -lbl_80093E78: -/* 80093E78 00090DD8 80 9F 01 8C */ lwz r4, 0x18c(r31) -/* 80093E7C 00090DDC 38 7F 01 98 */ addi r3, r31, 0x198 -/* 80093E80 00090DE0 38 04 00 01 */ addi r0, r4, 1 -/* 80093E84 00090DE4 90 1F 01 8C */ stw r0, 0x18c(r31) -/* 80093E88 00090DE8 80 9F 01 9C */ lwz r4, 0x19c(r31) -/* 80093E8C 00090DEC 38 84 00 01 */ addi r4, r4, 1 -/* 80093E90 00090DF0 48 00 16 F9 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" -/* 80093E94 00090DF4 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 80093E98 00090DF8 38 9C 00 34 */ addi r4, r28, 0x34 -/* 80093E9C 00090DFC 48 27 E2 8D */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80093EA0 00090E00 80 1F 01 9C */ lwz r0, 0x19c(r31) -/* 80093EA4 00090E04 80 BF 01 A0 */ lwz r5, 0x1a0(r31) -/* 80093EA8 00090E08 7C 00 28 00 */ cmpw r0, r5 -/* 80093EAC 00090E0C 41 80 00 1C */ blt lbl_80093EC8 -/* 80093EB0 00090E10 2C 05 00 00 */ cmpwi r5, 0 -/* 80093EB4 00090E14 38 7F 01 98 */ addi r3, r31, 0x198 -/* 80093EB8 00090E18 38 80 00 04 */ li r4, 4 -/* 80093EBC 00090E1C 41 82 00 08 */ beq lbl_80093EC4 -/* 80093EC0 00090E20 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80093EC4: -/* 80093EC4 00090E24 48 00 16 C5 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" -lbl_80093EC8: -/* 80093EC8 00090E28 80 1F 01 9C */ lwz r0, 0x19c(r31) -/* 80093ECC 00090E2C 80 7F 01 A4 */ lwz r3, 0x1a4(r31) -/* 80093ED0 00090E30 54 00 20 36 */ slwi r0, r0, 4 -/* 80093ED4 00090E34 7C 63 02 15 */ add. r3, r3, r0 -/* 80093ED8 00090E38 41 82 00 24 */ beq lbl_80093EFC -/* 80093EDC 00090E3C C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 80093EE0 00090E40 D0 03 00 00 */ stfs f0, 0(r3) -/* 80093EE4 00090E44 C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 80093EE8 00090E48 D0 03 00 04 */ stfs f0, 4(r3) -/* 80093EEC 00090E4C C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 80093EF0 00090E50 D0 03 00 08 */ stfs f0, 8(r3) -/* 80093EF4 00090E54 C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 80093EF8 00090E58 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_80093EFC: -/* 80093EFC 00090E5C 80 BF 01 9C */ lwz r5, 0x19c(r31) -/* 80093F00 00090E60 7F 84 E3 78 */ mr r4, r28 -/* 80093F04 00090E64 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80093F08 00090E68 38 05 00 01 */ addi r0, r5, 1 -/* 80093F0C 00090E6C 90 1F 01 9C */ stw r0, 0x19c(r31) -/* 80093F10 00090E70 48 01 6E 95 */ bl "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" -/* 80093F14 00090E74 83 63 00 04 */ lwz r27, 4(r3) -/* 80093F18 00090E78 28 1B 00 00 */ cmplwi r27, 0 -/* 80093F1C 00090E7C 41 82 00 64 */ beq lbl_80093F80 -/* 80093F20 00090E80 80 9F 01 DC */ lwz r4, 0x1dc(r31) -/* 80093F24 00090E84 38 7F 01 D8 */ addi r3, r31, 0x1d8 -/* 80093F28 00090E88 38 84 00 01 */ addi r4, r4, 1 -/* 80093F2C 00090E8C 4B FC 9E CD */ bl "reserve__Q24rstl36vectorFi" -/* 80093F30 00090E90 80 1F 01 DC */ lwz r0, 0x1dc(r31) -/* 80093F34 00090E94 80 BF 01 E0 */ lwz r5, 0x1e0(r31) -/* 80093F38 00090E98 C3 BB 00 E8 */ lfs f29, 0xe8(r27) -/* 80093F3C 00090E9C 7C 00 28 00 */ cmpw r0, r5 -/* 80093F40 00090EA0 41 80 00 1C */ blt lbl_80093F5C -/* 80093F44 00090EA4 2C 05 00 00 */ cmpwi r5, 0 -/* 80093F48 00090EA8 38 7F 01 D8 */ addi r3, r31, 0x1d8 -/* 80093F4C 00090EAC 38 80 00 04 */ li r4, 4 -/* 80093F50 00090EB0 41 82 00 08 */ beq lbl_80093F58 -/* 80093F54 00090EB4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80093F58: -/* 80093F58 00090EB8 4B FC 9E A1 */ bl "reserve__Q24rstl36vectorFi" -lbl_80093F5C: -/* 80093F5C 00090EBC 80 1F 01 DC */ lwz r0, 0x1dc(r31) -/* 80093F60 00090EC0 80 7F 01 E4 */ lwz r3, 0x1e4(r31) -/* 80093F64 00090EC4 54 00 10 3A */ slwi r0, r0, 2 -/* 80093F68 00090EC8 7C 63 02 15 */ add. r3, r3, r0 -/* 80093F6C 00090ECC 41 82 00 08 */ beq lbl_80093F74 -/* 80093F70 00090ED0 D3 A3 00 00 */ stfs f29, 0(r3) -lbl_80093F74: -/* 80093F74 00090ED4 80 7F 01 DC */ lwz r3, 0x1dc(r31) -/* 80093F78 00090ED8 38 03 00 01 */ addi r0, r3, 1 -/* 80093F7C 00090EDC 90 1F 01 DC */ stw r0, 0x1dc(r31) -lbl_80093F80: -/* 80093F80 00090EE0 80 BF 01 AC */ lwz r5, 0x1ac(r31) -/* 80093F84 00090EE4 80 7F 01 B4 */ lwz r3, 0x1b4(r31) -/* 80093F88 00090EE8 54 A0 08 3C */ slwi r0, r5, 1 -/* 80093F8C 00090EEC A0 DC 00 08 */ lhz r6, 8(r28) -/* 80093F90 00090EF0 7C 83 02 14 */ add r4, r3, r0 -/* 80093F94 00090EF4 90 61 00 BC */ stw r3, 0xbc(r1) -/* 80093F98 00090EF8 90 81 00 B0 */ stw r4, 0xb0(r1) -/* 80093F9C 00090EFC 90 61 00 C0 */ stw r3, 0xc0(r1) -/* 80093FA0 00090F00 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 80093FA4 00090F04 90 81 00 B8 */ stw r4, 0xb8(r1) -/* 80093FA8 00090F08 48 00 00 10 */ b lbl_80093FB8 -lbl_80093FAC: -/* 80093FAC 00090F0C 80 61 00 C0 */ lwz r3, 0xc0(r1) -/* 80093FB0 00090F10 38 03 00 02 */ addi r0, r3, 2 -/* 80093FB4 00090F14 90 01 00 C0 */ stw r0, 0xc0(r1) -lbl_80093FB8: -/* 80093FB8 00090F18 80 61 00 C0 */ lwz r3, 0xc0(r1) -/* 80093FBC 00090F1C 7C 03 20 40 */ cmplw r3, r4 -/* 80093FC0 00090F20 41 82 00 10 */ beq lbl_80093FD0 -/* 80093FC4 00090F24 A0 03 00 00 */ lhz r0, 0(r3) -/* 80093FC8 00090F28 7C 00 30 40 */ cmplw r0, r6 -/* 80093FCC 00090F2C 40 82 FF E0 */ bne lbl_80093FAC -lbl_80093FD0: -/* 80093FD0 00090F30 80 61 00 C0 */ lwz r3, 0xc0(r1) -/* 80093FD4 00090F34 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 80093FD8 00090F38 7C 03 00 40 */ cmplw r3, r0 -/* 80093FDC 00090F3C 40 82 00 D4 */ bne lbl_800940B0 -/* 80093FE0 00090F40 38 7F 01 A8 */ addi r3, r31, 0x1a8 -/* 80093FE4 00090F44 38 85 00 01 */ addi r4, r5, 1 -/* 80093FE8 00090F48 4B F7 84 21 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 80093FEC 00090F4C 80 1F 01 AC */ lwz r0, 0x1ac(r31) -/* 80093FF0 00090F50 80 BF 01 B0 */ lwz r5, 0x1b0(r31) -/* 80093FF4 00090F54 A3 7C 00 08 */ lhz r27, 8(r28) -/* 80093FF8 00090F58 7C 00 28 00 */ cmpw r0, r5 -/* 80093FFC 00090F5C 41 80 00 1C */ blt lbl_80094018 -/* 80094000 00090F60 2C 05 00 00 */ cmpwi r5, 0 -/* 80094004 00090F64 38 7F 01 A8 */ addi r3, r31, 0x1a8 -/* 80094008 00090F68 38 80 00 04 */ li r4, 4 -/* 8009400C 00090F6C 41 82 00 08 */ beq lbl_80094014 -/* 80094010 00090F70 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80094014: -/* 80094014 00090F74 4B F7 83 F5 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_80094018: -/* 80094018 00090F78 80 1F 01 AC */ lwz r0, 0x1ac(r31) -/* 8009401C 00090F7C 80 7F 01 B4 */ lwz r3, 0x1b4(r31) -/* 80094020 00090F80 54 00 08 3C */ slwi r0, r0, 1 -/* 80094024 00090F84 7C 63 02 15 */ add. r3, r3, r0 -/* 80094028 00090F88 41 82 00 08 */ beq lbl_80094030 -/* 8009402C 00090F8C B3 63 00 00 */ sth r27, 0(r3) -lbl_80094030: -/* 80094030 00090F90 80 9F 01 AC */ lwz r4, 0x1ac(r31) -/* 80094034 00090F94 38 00 00 00 */ li r0, 0 -/* 80094038 00090F98 7F C5 F3 78 */ mr r5, r30 -/* 8009403C 00090F9C 38 7C 00 20 */ addi r3, r28, 0x20 -/* 80094040 00090FA0 38 C4 00 01 */ addi r6, r4, 1 -/* 80094044 00090FA4 38 81 01 0C */ addi r4, r1, 0x10c -/* 80094048 00090FA8 90 DF 01 AC */ stw r6, 0x1ac(r31) -/* 8009404C 00090FAC 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) -/* 80094050 00090FB0 90 01 01 0C */ stw r0, 0x10c(r1) -/* 80094054 00090FB4 90 C1 00 AC */ stw r6, 0xac(r1) -/* 80094058 00090FB8 90 01 01 10 */ stw r0, 0x110(r1) -/* 8009405C 00090FBC 90 C1 01 14 */ stw r6, 0x114(r1) -/* 80094060 00090FC0 4B FF F0 E9 */ bl "PickRandomActiveConnection__16CCinematicCameraFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R11SConnectionR13CStateManager" -/* 80094064 00090FC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80094068 00090FC8 41 82 00 48 */ beq lbl_800940B0 -/* 8009406C 00090FCC 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80094070 00090FD0 7F C4 F3 78 */ mr r4, r30 -/* 80094074 00090FD4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80094078 00090FD8 38 A1 00 A8 */ addi r5, r1, 0xa8 -/* 8009407C 00090FDC 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80094080 00090FE0 4B FB 3E 9D */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80094084 00090FE4 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 80094088 00090FE8 7F C3 F3 78 */ mr r3, r30 -/* 8009408C 00090FEC 38 81 00 1C */ addi r4, r1, 0x1c -/* 80094090 00090FF0 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80094094 00090FF4 4B FB 85 11 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80094098 00090FF8 7C 64 1B 78 */ mr r4, r3 -/* 8009409C 00090FFC 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 800940A0 00091000 48 01 BB F1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800940A4 00091004 83 83 00 04 */ lwz r28, 4(r3) -lbl_800940A8: -/* 800940A8 00091008 28 1C 00 00 */ cmplwi r28, 0 -/* 800940AC 0009100C 40 82 FD 68 */ bne lbl_80093E14 -lbl_800940B0: -/* 800940B0 00091010 28 1D 00 00 */ cmplwi r29, 0 -/* 800940B4 00091014 41 82 01 E4 */ beq lbl_80094298 -/* 800940B8 00091018 80 1D 00 08 */ lwz r0, 8(r29) -/* 800940BC 0009101C 7F C4 F3 78 */ mr r4, r30 -/* 800940C0 00091020 38 61 00 10 */ addi r3, r1, 0x10 -/* 800940C4 00091024 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 800940C8 00091028 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 800940CC 0009102C 4B FB 3E 51 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800940D0 00091030 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 800940D4 00091034 7F C3 F3 78 */ mr r3, r30 -/* 800940D8 00091038 38 81 00 14 */ addi r4, r1, 0x14 -/* 800940DC 0009103C B0 01 00 14 */ sth r0, 0x14(r1) -/* 800940E0 00091040 4B FB 84 C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800940E4 00091044 7C 64 1B 78 */ mr r4, r3 -/* 800940E8 00091048 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 800940EC 0009104C 48 01 BB A5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800940F0 00091050 83 83 00 04 */ lwz r28, 4(r3) -/* 800940F4 00091054 48 00 01 9C */ b lbl_80094290 -lbl_800940F8: -/* 800940F8 00091058 80 9F 01 BC */ lwz r4, 0x1bc(r31) -/* 800940FC 0009105C 38 7F 01 B8 */ addi r3, r31, 0x1b8 -/* 80094100 00091060 38 84 00 01 */ addi r4, r4, 1 -/* 80094104 00091064 4B FC 9B F5 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 80094108 00091068 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 8009410C 0009106C 80 BF 01 C0 */ lwz r5, 0x1c0(r31) -/* 80094110 00091070 C3 FC 00 60 */ lfs f31, 0x60(r28) -/* 80094114 00091074 7C 00 28 00 */ cmpw r0, r5 -/* 80094118 00091078 C3 DC 00 50 */ lfs f30, 0x50(r28) -/* 8009411C 0009107C C3 BC 00 40 */ lfs f29, 0x40(r28) -/* 80094120 00091080 41 80 00 1C */ blt lbl_8009413C -/* 80094124 00091084 2C 05 00 00 */ cmpwi r5, 0 -/* 80094128 00091088 38 7F 01 B8 */ addi r3, r31, 0x1b8 -/* 8009412C 0009108C 38 80 00 04 */ li r4, 4 -/* 80094130 00091090 41 82 00 08 */ beq lbl_80094138 -/* 80094134 00091094 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80094138: -/* 80094138 00091098 4B FC 9B C1 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_8009413C: -/* 8009413C 0009109C 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 80094140 000910A0 80 7F 01 C4 */ lwz r3, 0x1c4(r31) -/* 80094144 000910A4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80094148 000910A8 7C 63 02 15 */ add. r3, r3, r0 -/* 8009414C 000910AC 41 82 00 10 */ beq lbl_8009415C -/* 80094150 000910B0 D3 A3 00 00 */ stfs f29, 0(r3) -/* 80094154 000910B4 D3 C3 00 04 */ stfs f30, 4(r3) -/* 80094158 000910B8 D3 E3 00 08 */ stfs f31, 8(r3) -lbl_8009415C: -/* 8009415C 000910BC 80 7F 01 BC */ lwz r3, 0x1bc(r31) -/* 80094160 000910C0 38 03 00 01 */ addi r0, r3, 1 -/* 80094164 000910C4 90 1F 01 BC */ stw r0, 0x1bc(r31) -/* 80094168 000910C8 80 BF 01 CC */ lwz r5, 0x1cc(r31) -/* 8009416C 000910CC 80 7F 01 D4 */ lwz r3, 0x1d4(r31) -/* 80094170 000910D0 54 A0 08 3C */ slwi r0, r5, 1 -/* 80094174 000910D4 A0 DC 00 08 */ lhz r6, 8(r28) -/* 80094178 000910D8 7C 83 02 14 */ add r4, r3, r0 -/* 8009417C 000910DC 90 61 00 9C */ stw r3, 0x9c(r1) -/* 80094180 000910E0 90 81 00 90 */ stw r4, 0x90(r1) -/* 80094184 000910E4 90 61 00 A0 */ stw r3, 0xa0(r1) -/* 80094188 000910E8 90 81 00 94 */ stw r4, 0x94(r1) -/* 8009418C 000910EC 90 81 00 98 */ stw r4, 0x98(r1) -/* 80094190 000910F0 48 00 00 10 */ b lbl_800941A0 -lbl_80094194: -/* 80094194 000910F4 80 61 00 A0 */ lwz r3, 0xa0(r1) -/* 80094198 000910F8 38 03 00 02 */ addi r0, r3, 2 -/* 8009419C 000910FC 90 01 00 A0 */ stw r0, 0xa0(r1) -lbl_800941A0: -/* 800941A0 00091100 80 61 00 A0 */ lwz r3, 0xa0(r1) -/* 800941A4 00091104 7C 03 20 40 */ cmplw r3, r4 -/* 800941A8 00091108 41 82 00 10 */ beq lbl_800941B8 -/* 800941AC 0009110C A0 03 00 00 */ lhz r0, 0(r3) -/* 800941B0 00091110 7C 00 30 40 */ cmplw r0, r6 -/* 800941B4 00091114 40 82 FF E0 */ bne lbl_80094194 -lbl_800941B8: -/* 800941B8 00091118 80 61 00 A0 */ lwz r3, 0xa0(r1) -/* 800941BC 0009111C 80 01 00 90 */ lwz r0, 0x90(r1) -/* 800941C0 00091120 7C 03 00 40 */ cmplw r3, r0 -/* 800941C4 00091124 40 82 00 D4 */ bne lbl_80094298 -/* 800941C8 00091128 38 7F 01 C8 */ addi r3, r31, 0x1c8 -/* 800941CC 0009112C 38 85 00 01 */ addi r4, r5, 1 -/* 800941D0 00091130 4B F7 82 39 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 800941D4 00091134 80 1F 01 CC */ lwz r0, 0x1cc(r31) -/* 800941D8 00091138 80 BF 01 D0 */ lwz r5, 0x1d0(r31) -/* 800941DC 0009113C A3 7C 00 08 */ lhz r27, 8(r28) -/* 800941E0 00091140 7C 00 28 00 */ cmpw r0, r5 -/* 800941E4 00091144 41 80 00 1C */ blt lbl_80094200 -/* 800941E8 00091148 2C 05 00 00 */ cmpwi r5, 0 -/* 800941EC 0009114C 38 7F 01 C8 */ addi r3, r31, 0x1c8 -/* 800941F0 00091150 38 80 00 04 */ li r4, 4 -/* 800941F4 00091154 41 82 00 08 */ beq lbl_800941FC -/* 800941F8 00091158 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800941FC: -/* 800941FC 0009115C 4B F7 82 0D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_80094200: -/* 80094200 00091160 80 1F 01 CC */ lwz r0, 0x1cc(r31) -/* 80094204 00091164 80 7F 01 D4 */ lwz r3, 0x1d4(r31) -/* 80094208 00091168 54 00 08 3C */ slwi r0, r0, 1 -/* 8009420C 0009116C 7C 63 02 15 */ add. r3, r3, r0 -/* 80094210 00091170 41 82 00 08 */ beq lbl_80094218 -/* 80094214 00091174 B3 63 00 00 */ sth r27, 0(r3) -lbl_80094218: -/* 80094218 00091178 80 9F 01 CC */ lwz r4, 0x1cc(r31) -/* 8009421C 0009117C 38 00 00 00 */ li r0, 0 -/* 80094220 00091180 7F C5 F3 78 */ mr r5, r30 -/* 80094224 00091184 38 7C 00 20 */ addi r3, r28, 0x20 -/* 80094228 00091188 38 C4 00 01 */ addi r6, r4, 1 -/* 8009422C 0009118C 38 81 01 00 */ addi r4, r1, 0x100 -/* 80094230 00091190 90 DF 01 CC */ stw r6, 0x1cc(r31) -/* 80094234 00091194 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) -/* 80094238 00091198 90 01 01 00 */ stw r0, 0x100(r1) -/* 8009423C 0009119C 90 C1 00 8C */ stw r6, 0x8c(r1) -/* 80094240 000911A0 90 01 01 04 */ stw r0, 0x104(r1) -/* 80094244 000911A4 90 C1 01 08 */ stw r6, 0x108(r1) -/* 80094248 000911A8 4B FF EF 01 */ bl "PickRandomActiveConnection__16CCinematicCameraFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R11SConnectionR13CStateManager" -/* 8009424C 000911AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80094250 000911B0 41 82 00 48 */ beq lbl_80094298 -/* 80094254 000911B4 80 01 01 08 */ lwz r0, 0x108(r1) -/* 80094258 000911B8 7F C4 F3 78 */ mr r4, r30 -/* 8009425C 000911BC 38 61 00 08 */ addi r3, r1, 8 -/* 80094260 000911C0 38 A1 00 88 */ addi r5, r1, 0x88 -/* 80094264 000911C4 90 01 00 88 */ stw r0, 0x88(r1) -/* 80094268 000911C8 4B FB 3C B5 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8009426C 000911CC A0 01 00 08 */ lhz r0, 8(r1) -/* 80094270 000911D0 7F C3 F3 78 */ mr r3, r30 -/* 80094274 000911D4 38 81 00 0C */ addi r4, r1, 0xc -/* 80094278 000911D8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8009427C 000911DC 4B FB 83 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80094280 000911E0 7C 64 1B 78 */ mr r4, r3 -/* 80094284 000911E4 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80094288 000911E8 48 01 BA 09 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8009428C 000911EC 83 83 00 04 */ lwz r28, 4(r3) -lbl_80094290: -/* 80094290 000911F0 28 1C 00 00 */ cmplwi r28, 0 -/* 80094294 000911F4 40 82 FE 64 */ bne lbl_800940F8 -lbl_80094298: -/* 80094298 000911F8 80 7F 02 1C */ lwz r3, 0x21c(r31) -/* 8009429C 000911FC 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d -/* 800942A0 00091200 41 82 00 1C */ beq lbl_800942BC -/* 800942A4 00091204 54 60 05 AD */ rlwinm. r0, r3, 0, 0x16, 0x16 -/* 800942A8 00091208 40 82 00 14 */ bne lbl_800942BC -/* 800942AC 0009120C 7F E3 FB 78 */ mr r3, r31 -/* 800942B0 00091210 7F C5 F3 78 */ mr r5, r30 -/* 800942B4 00091214 38 80 00 00 */ li r4, 0 -/* 800942B8 00091218 4B FF F5 09 */ bl GenerateMoveOutofIntoPoints__16CCinematicCameraFbR13CStateManager -lbl_800942BC: -/* 800942BC 0009121C E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 800942C0 00091220 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 800942C4 00091224 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 800942C8 00091228 CB C1 01 40 */ lfd f30, 0x140(r1) -/* 800942CC 0009122C E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 -/* 800942D0 00091230 CB A1 01 30 */ lfd f29, 0x130(r1) -/* 800942D4 00091234 BB 61 01 1C */ lmw r27, 0x11c(r1) -/* 800942D8 00091238 80 01 01 64 */ lwz r0, 0x164(r1) -/* 800942DC 0009123C 7C 08 03 A6 */ mtlr r0 -/* 800942E0 00091240 38 21 01 60 */ addi r1, r1, 0x160 -/* 800942E4 00091244 4E 80 00 20 */ blr - -.global WasDeactivated__16CCinematicCameraFR13CStateManager -WasDeactivated__16CCinematicCameraFR13CStateManager: -/* 800942E8 00091248 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 800942EC 0009124C 7C 08 02 A6 */ mflr r0 -/* 800942F0 00091250 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800942F4 00091254 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 800942F8 00091258 7C 7F 1B 78 */ mr r31, r3 -/* 800942FC 0009125C 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80094300 00091260 7C 9E 23 78 */ mr r30, r4 -/* 80094304 00091264 7F C5 F3 78 */ mr r5, r30 -/* 80094308 00091268 38 81 00 0C */ addi r4, r1, 0xc -/* 8009430C 0009126C A0 03 00 08 */ lhz r0, 8(r3) -/* 80094310 00091270 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80094314 00091274 B0 01 00 08 */ sth r0, 8(r1) -/* 80094318 00091278 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8009431C 0009127C 4B F7 6E A9 */ bl RemoveCinemaCamera__14CCameraManagerF9TUniqueIdR13CStateManager -/* 80094320 00091280 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80094324 00091284 7F C4 F3 78 */ mr r4, r30 -/* 80094328 00091288 80 63 07 68 */ lwz r3, 0x768(r3) -/* 8009432C 0009128C 48 05 B4 01 */ bl LoadMorphBallModel__10CMorphBallFR13CStateManager -/* 80094330 00091290 80 1F 02 1C */ lwz r0, 0x21c(r31) -/* 80094334 00091294 54 00 05 EF */ rlwinm. r0, r0, 0, 0x17, 0x17 -/* 80094338 00091298 41 82 00 14 */ beq lbl_8009434C -/* 8009433C 0009129C 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 80094340 000912A0 38 60 00 00 */ li r3, 0 -/* 80094344 000912A4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80094348 000912A8 98 1E 0F 94 */ stb r0, 0xf94(r30) -lbl_8009434C: -/* 8009434C 000912AC 38 00 00 00 */ li r0, 0 -/* 80094350 000912B0 38 7F 01 88 */ addi r3, r31, 0x188 -/* 80094354 000912B4 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80094358 000912B8 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 8009435C 000912BC 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 80094360 000912C0 90 01 00 CC */ stw r0, 0xcc(r1) -/* 80094364 000912C4 48 00 04 29 */ bl "__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>" -/* 80094368 000912C8 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8009436C 000912CC 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 80094370 000912D0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80094374 000912D4 90 61 00 64 */ stw r3, 0x64(r1) -/* 80094378 000912D8 7C 64 1B 78 */ mr r4, r3 -/* 8009437C 000912DC 7C 03 02 14 */ add r0, r3, r0 -/* 80094380 000912E0 90 61 00 60 */ stw r3, 0x60(r1) -/* 80094384 000912E4 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80094388 000912E8 90 01 00 68 */ stw r0, 0x68(r1) -/* 8009438C 000912EC 48 00 00 08 */ b lbl_80094394 -lbl_80094390: -/* 80094390 000912F0 38 84 00 0C */ addi r4, r4, 0xc -lbl_80094394: -/* 80094394 000912F4 7C 04 00 40 */ cmplw r4, r0 -/* 80094398 000912F8 40 82 FF F8 */ bne lbl_80094390 -/* 8009439C 000912FC 28 03 00 00 */ cmplwi r3, 0 -/* 800943A0 00091300 41 82 00 08 */ beq lbl_800943A8 -/* 800943A4 00091304 48 28 15 8D */ bl Free__7CMemoryFPCv -lbl_800943A8: -/* 800943A8 00091308 38 00 00 00 */ li r0, 0 -/* 800943AC 0009130C 38 7F 01 98 */ addi r3, r31, 0x198 -/* 800943B0 00091310 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 800943B4 00091314 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 800943B8 00091318 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 800943BC 0009131C 90 01 00 BC */ stw r0, 0xbc(r1) -/* 800943C0 00091320 48 00 02 C1 */ bl "__as__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>FRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>" -/* 800943C4 00091324 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 800943C8 00091328 80 61 00 BC */ lwz r3, 0xbc(r1) -/* 800943CC 0009132C 54 00 20 36 */ slwi r0, r0, 4 -/* 800943D0 00091330 7C 03 02 14 */ add r0, r3, r0 -/* 800943D4 00091334 90 61 00 54 */ stw r3, 0x54(r1) -/* 800943D8 00091338 7C 64 1B 78 */ mr r4, r3 -/* 800943DC 0009133C 90 01 00 5C */ stw r0, 0x5c(r1) -/* 800943E0 00091340 90 01 00 58 */ stw r0, 0x58(r1) -/* 800943E4 00091344 90 61 00 50 */ stw r3, 0x50(r1) -/* 800943E8 00091348 48 00 00 08 */ b lbl_800943F0 -lbl_800943EC: -/* 800943EC 0009134C 38 84 00 10 */ addi r4, r4, 0x10 -lbl_800943F0: -/* 800943F0 00091350 7C 04 00 40 */ cmplw r4, r0 -/* 800943F4 00091354 40 82 FF F8 */ bne lbl_800943EC -/* 800943F8 00091358 28 03 00 00 */ cmplwi r3, 0 -/* 800943FC 0009135C 41 82 00 08 */ beq lbl_80094404 -/* 80094400 00091360 48 28 15 31 */ bl Free__7CMemoryFPCv -lbl_80094404: -/* 80094404 00091364 38 00 00 00 */ li r0, 0 -/* 80094408 00091368 38 7F 01 A8 */ addi r3, r31, 0x1a8 -/* 8009440C 0009136C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80094410 00091370 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 80094414 00091374 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80094418 00091378 90 01 00 AC */ stw r0, 0xac(r1) -/* 8009441C 0009137C 4B FC 90 95 */ bl sub_8005d4b0 -/* 80094420 00091380 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80094424 00091384 80 61 00 AC */ lwz r3, 0xac(r1) -/* 80094428 00091388 54 00 08 3C */ slwi r0, r0, 1 -/* 8009442C 0009138C 7C 03 02 14 */ add r0, r3, r0 -/* 80094430 00091390 90 61 00 44 */ stw r3, 0x44(r1) -/* 80094434 00091394 7C 64 1B 78 */ mr r4, r3 -/* 80094438 00091398 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8009443C 0009139C 90 01 00 48 */ stw r0, 0x48(r1) -/* 80094440 000913A0 90 61 00 40 */ stw r3, 0x40(r1) -/* 80094444 000913A4 48 00 00 08 */ b lbl_8009444C -lbl_80094448: -/* 80094448 000913A8 38 84 00 02 */ addi r4, r4, 2 -lbl_8009444C: -/* 8009444C 000913AC 7C 04 00 40 */ cmplw r4, r0 -/* 80094450 000913B0 40 82 FF F8 */ bne lbl_80094448 -/* 80094454 000913B4 28 03 00 00 */ cmplwi r3, 0 -/* 80094458 000913B8 41 82 00 08 */ beq lbl_80094460 -/* 8009445C 000913BC 48 28 14 D5 */ bl Free__7CMemoryFPCv -lbl_80094460: -/* 80094460 000913C0 38 00 00 00 */ li r0, 0 -/* 80094464 000913C4 38 7F 01 B8 */ addi r3, r31, 0x1b8 -/* 80094468 000913C8 90 01 00 94 */ stw r0, 0x94(r1) -/* 8009446C 000913CC 38 81 00 90 */ addi r4, r1, 0x90 -/* 80094470 000913D0 90 01 00 98 */ stw r0, 0x98(r1) -/* 80094474 000913D4 90 01 00 9C */ stw r0, 0x9c(r1) -/* 80094478 000913D8 48 00 03 15 */ bl "__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>" -/* 8009447C 000913DC 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80094480 000913E0 80 61 00 9C */ lwz r3, 0x9c(r1) -/* 80094484 000913E4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80094488 000913E8 90 61 00 34 */ stw r3, 0x34(r1) -/* 8009448C 000913EC 7C 64 1B 78 */ mr r4, r3 -/* 80094490 000913F0 7C 03 02 14 */ add r0, r3, r0 -/* 80094494 000913F4 90 61 00 30 */ stw r3, 0x30(r1) -/* 80094498 000913F8 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8009449C 000913FC 90 01 00 38 */ stw r0, 0x38(r1) -/* 800944A0 00091400 48 00 00 08 */ b lbl_800944A8 -lbl_800944A4: -/* 800944A4 00091404 38 84 00 0C */ addi r4, r4, 0xc -lbl_800944A8: -/* 800944A8 00091408 7C 04 00 40 */ cmplw r4, r0 -/* 800944AC 0009140C 40 82 FF F8 */ bne lbl_800944A4 -/* 800944B0 00091410 28 03 00 00 */ cmplwi r3, 0 -/* 800944B4 00091414 41 82 00 08 */ beq lbl_800944BC -/* 800944B8 00091418 48 28 14 79 */ bl Free__7CMemoryFPCv -lbl_800944BC: -/* 800944BC 0009141C 38 00 00 00 */ li r0, 0 -/* 800944C0 00091420 38 7F 01 C8 */ addi r3, r31, 0x1c8 -/* 800944C4 00091424 90 01 00 84 */ stw r0, 0x84(r1) -/* 800944C8 00091428 38 81 00 80 */ addi r4, r1, 0x80 -/* 800944CC 0009142C 90 01 00 88 */ stw r0, 0x88(r1) -/* 800944D0 00091430 90 01 00 8C */ stw r0, 0x8c(r1) -/* 800944D4 00091434 4B FC 8F DD */ bl sub_8005d4b0 -/* 800944D8 00091438 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800944DC 0009143C 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 800944E0 00091440 54 00 08 3C */ slwi r0, r0, 1 -/* 800944E4 00091444 7C 03 02 14 */ add r0, r3, r0 -/* 800944E8 00091448 90 61 00 24 */ stw r3, 0x24(r1) -/* 800944EC 0009144C 7C 64 1B 78 */ mr r4, r3 -/* 800944F0 00091450 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800944F4 00091454 90 01 00 28 */ stw r0, 0x28(r1) -/* 800944F8 00091458 90 61 00 20 */ stw r3, 0x20(r1) -/* 800944FC 0009145C 48 00 00 08 */ b lbl_80094504 -lbl_80094500: -/* 80094500 00091460 38 84 00 02 */ addi r4, r4, 2 -lbl_80094504: -/* 80094504 00091464 7C 04 00 40 */ cmplw r4, r0 -/* 80094508 00091468 40 82 FF F8 */ bne lbl_80094500 -/* 8009450C 0009146C 28 03 00 00 */ cmplwi r3, 0 -/* 80094510 00091470 41 82 00 08 */ beq lbl_80094518 -/* 80094514 00091474 48 28 14 1D */ bl Free__7CMemoryFPCv -lbl_80094518: -/* 80094518 00091478 38 00 00 00 */ li r0, 0 -/* 8009451C 0009147C 38 7F 01 D8 */ addi r3, r31, 0x1d8 -/* 80094520 00091480 90 01 00 74 */ stw r0, 0x74(r1) -/* 80094524 00091484 38 81 00 70 */ addi r4, r1, 0x70 -/* 80094528 00091488 90 01 00 78 */ stw r0, 0x78(r1) -/* 8009452C 0009148C 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80094530 00091490 48 00 00 5D */ bl "__as__Q24rstl36vectorFRCQ24rstl36vector" -/* 80094534 00091494 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80094538 00091498 80 61 00 7C */ lwz r3, 0x7c(r1) -/* 8009453C 0009149C 54 00 10 3A */ slwi r0, r0, 2 -/* 80094540 000914A0 7C 03 02 14 */ add r0, r3, r0 -/* 80094544 000914A4 90 61 00 14 */ stw r3, 0x14(r1) -/* 80094548 000914A8 7C 64 1B 78 */ mr r4, r3 -/* 8009454C 000914AC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80094550 000914B0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80094554 000914B4 90 61 00 10 */ stw r3, 0x10(r1) -/* 80094558 000914B8 48 00 00 08 */ b lbl_80094560 -lbl_8009455C: -/* 8009455C 000914BC 38 84 00 04 */ addi r4, r4, 4 -lbl_80094560: -/* 80094560 000914C0 7C 04 00 40 */ cmplw r4, r0 -/* 80094564 000914C4 40 82 FF F8 */ bne lbl_8009455C -/* 80094568 000914C8 28 03 00 00 */ cmplwi r3, 0 -/* 8009456C 000914CC 41 82 00 08 */ beq lbl_80094574 -/* 80094570 000914D0 48 28 13 C1 */ bl Free__7CMemoryFPCv -lbl_80094574: -/* 80094574 000914D4 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80094578 000914D8 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 8009457C 000914DC 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 80094580 000914E0 7C 08 03 A6 */ mtlr r0 -/* 80094584 000914E4 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80094588 000914E8 4E 80 00 20 */ blr - -.global "__as__Q24rstl36vectorFRCQ24rstl36vector" -"__as__Q24rstl36vectorFRCQ24rstl36vector": -/* 8009458C 000914EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80094590 000914F0 7C 08 02 A6 */ mflr r0 -/* 80094594 000914F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80094598 000914F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009459C 000914FC 7C 7F 1B 78 */ mr r31, r3 -/* 800945A0 00091500 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800945A4 00091504 7C 9E 23 78 */ mr r30, r4 -/* 800945A8 00091508 7C 1F F0 40 */ cmplw r31, r30 -/* 800945AC 0009150C 40 82 00 08 */ bne lbl_800945B4 -/* 800945B0 00091510 48 00 00 B8 */ b lbl_80094668 -lbl_800945B4: -/* 800945B4 00091514 80 1F 00 04 */ lwz r0, 4(r31) -/* 800945B8 00091518 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800945BC 0009151C 54 00 10 3A */ slwi r0, r0, 2 -/* 800945C0 00091520 7C 03 02 14 */ add r0, r3, r0 -/* 800945C4 00091524 90 61 00 0C */ stw r3, 0xc(r1) -/* 800945C8 00091528 90 01 00 14 */ stw r0, 0x14(r1) -/* 800945CC 0009152C 90 01 00 10 */ stw r0, 0x10(r1) -/* 800945D0 00091530 90 61 00 08 */ stw r3, 8(r1) -/* 800945D4 00091534 48 00 00 08 */ b lbl_800945DC -lbl_800945D8: -/* 800945D8 00091538 38 63 00 04 */ addi r3, r3, 4 -lbl_800945DC: -/* 800945DC 0009153C 7C 03 00 40 */ cmplw r3, r0 -/* 800945E0 00091540 40 82 FF F8 */ bne lbl_800945D8 -/* 800945E4 00091544 38 00 00 00 */ li r0, 0 -/* 800945E8 00091548 90 1F 00 04 */ stw r0, 4(r31) -/* 800945EC 0009154C 80 9E 00 04 */ lwz r4, 4(r30) -/* 800945F0 00091550 2C 04 00 00 */ cmpwi r4, 0 -/* 800945F4 00091554 40 82 00 28 */ bne lbl_8009461C -/* 800945F8 00091558 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800945FC 0009155C 28 03 00 00 */ cmplwi r3, 0 -/* 80094600 00091560 41 82 00 08 */ beq lbl_80094608 -/* 80094604 00091564 48 28 13 2D */ bl Free__7CMemoryFPCv -lbl_80094608: -/* 80094608 00091568 38 00 00 00 */ li r0, 0 -/* 8009460C 0009156C 90 1F 00 04 */ stw r0, 4(r31) -/* 80094610 00091570 90 1F 00 08 */ stw r0, 8(r31) -/* 80094614 00091574 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80094618 00091578 48 00 00 4C */ b lbl_80094664 -lbl_8009461C: -/* 8009461C 0009157C 7F E3 FB 78 */ mr r3, r31 -/* 80094620 00091580 4B FC 97 D9 */ bl "reserve__Q24rstl36vectorFi" -/* 80094624 00091584 80 1E 00 04 */ lwz r0, 4(r30) -/* 80094628 00091588 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8009462C 0009158C 54 00 10 3A */ slwi r0, r0, 2 -/* 80094630 00091590 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80094634 00091594 7C 04 02 14 */ add r0, r4, r0 -/* 80094638 00091598 48 00 00 1C */ b lbl_80094654 -lbl_8009463C: -/* 8009463C 0009159C 28 03 00 00 */ cmplwi r3, 0 -/* 80094640 000915A0 41 82 00 0C */ beq lbl_8009464C -/* 80094644 000915A4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80094648 000915A8 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8009464C: -/* 8009464C 000915AC 38 63 00 04 */ addi r3, r3, 4 -/* 80094650 000915B0 38 84 00 04 */ addi r4, r4, 4 -lbl_80094654: -/* 80094654 000915B4 7C 04 00 40 */ cmplw r4, r0 -/* 80094658 000915B8 40 82 FF E4 */ bne lbl_8009463C -/* 8009465C 000915BC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80094660 000915C0 90 1F 00 04 */ stw r0, 4(r31) -lbl_80094664: -/* 80094664 000915C4 7F E3 FB 78 */ mr r3, r31 -lbl_80094668: -/* 80094668 000915C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009466C 000915CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80094670 000915D0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80094674 000915D4 7C 08 03 A6 */ mtlr r0 -/* 80094678 000915D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009467C 000915DC 4E 80 00 20 */ blr - -.global "__as__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>FRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>" -"__as__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>FRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>": -/* 80094680 000915E0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80094684 000915E4 7C 08 02 A6 */ mflr r0 -/* 80094688 000915E8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009468C 000915EC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80094690 000915F0 7C 7F 1B 78 */ mr r31, r3 -/* 80094694 000915F4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80094698 000915F8 7C 9E 23 78 */ mr r30, r4 -/* 8009469C 000915FC 7C 1F F0 40 */ cmplw r31, r30 -/* 800946A0 00091600 40 82 00 08 */ bne lbl_800946A8 -/* 800946A4 00091604 48 00 00 D0 */ b lbl_80094774 -lbl_800946A8: -/* 800946A8 00091608 80 1F 00 04 */ lwz r0, 4(r31) -/* 800946AC 0009160C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800946B0 00091610 54 00 20 36 */ slwi r0, r0, 4 -/* 800946B4 00091614 7C 03 02 14 */ add r0, r3, r0 -/* 800946B8 00091618 90 61 00 0C */ stw r3, 0xc(r1) -/* 800946BC 0009161C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800946C0 00091620 90 01 00 10 */ stw r0, 0x10(r1) -/* 800946C4 00091624 90 61 00 08 */ stw r3, 8(r1) -/* 800946C8 00091628 48 00 00 08 */ b lbl_800946D0 -lbl_800946CC: -/* 800946CC 0009162C 38 63 00 10 */ addi r3, r3, 0x10 -lbl_800946D0: -/* 800946D0 00091630 7C 03 00 40 */ cmplw r3, r0 -/* 800946D4 00091634 40 82 FF F8 */ bne lbl_800946CC -/* 800946D8 00091638 38 00 00 00 */ li r0, 0 -/* 800946DC 0009163C 90 1F 00 04 */ stw r0, 4(r31) -/* 800946E0 00091640 80 9E 00 04 */ lwz r4, 4(r30) -/* 800946E4 00091644 2C 04 00 00 */ cmpwi r4, 0 -/* 800946E8 00091648 40 82 00 28 */ bne lbl_80094710 -/* 800946EC 0009164C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800946F0 00091650 28 03 00 00 */ cmplwi r3, 0 -/* 800946F4 00091654 41 82 00 08 */ beq lbl_800946FC -/* 800946F8 00091658 48 28 12 39 */ bl Free__7CMemoryFPCv -lbl_800946FC: -/* 800946FC 0009165C 38 00 00 00 */ li r0, 0 -/* 80094700 00091660 90 1F 00 04 */ stw r0, 4(r31) -/* 80094704 00091664 90 1F 00 08 */ stw r0, 8(r31) -/* 80094708 00091668 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8009470C 0009166C 48 00 00 64 */ b lbl_80094770 -lbl_80094710: -/* 80094710 00091670 7F E3 FB 78 */ mr r3, r31 -/* 80094714 00091674 48 00 0E 75 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" -/* 80094718 00091678 80 1E 00 04 */ lwz r0, 4(r30) -/* 8009471C 0009167C 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80094720 00091680 54 00 20 36 */ slwi r0, r0, 4 -/* 80094724 00091684 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80094728 00091688 7C 04 02 14 */ add r0, r4, r0 -/* 8009472C 0009168C 48 00 00 34 */ b lbl_80094760 -lbl_80094730: -/* 80094730 00091690 28 03 00 00 */ cmplwi r3, 0 -/* 80094734 00091694 41 82 00 24 */ beq lbl_80094758 -/* 80094738 00091698 C0 04 00 00 */ lfs f0, 0(r4) -/* 8009473C 0009169C D0 03 00 00 */ stfs f0, 0(r3) -/* 80094740 000916A0 C0 04 00 04 */ lfs f0, 4(r4) -/* 80094744 000916A4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80094748 000916A8 C0 04 00 08 */ lfs f0, 8(r4) -/* 8009474C 000916AC D0 03 00 08 */ stfs f0, 8(r3) -/* 80094750 000916B0 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80094754 000916B4 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_80094758: -/* 80094758 000916B8 38 63 00 10 */ addi r3, r3, 0x10 -/* 8009475C 000916BC 38 84 00 10 */ addi r4, r4, 0x10 -lbl_80094760: -/* 80094760 000916C0 7C 04 00 40 */ cmplw r4, r0 -/* 80094764 000916C4 40 82 FF CC */ bne lbl_80094730 -/* 80094768 000916C8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8009476C 000916CC 90 1F 00 04 */ stw r0, 4(r31) -lbl_80094770: -/* 80094770 000916D0 7F E3 FB 78 */ mr r3, r31 -lbl_80094774: -/* 80094774 000916D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80094778 000916D8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009477C 000916DC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80094780 000916E0 7C 08 03 A6 */ mtlr r0 -/* 80094784 000916E4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80094788 000916E8 4E 80 00 20 */ blr - -.global "__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>" -"__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>": -/* 8009478C 000916EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80094790 000916F0 7C 08 02 A6 */ mflr r0 -/* 80094794 000916F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80094798 000916F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009479C 000916FC 7C 7F 1B 78 */ mr r31, r3 -/* 800947A0 00091700 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800947A4 00091704 7C 9E 23 78 */ mr r30, r4 -/* 800947A8 00091708 7C 1F F0 40 */ cmplw r31, r30 -/* 800947AC 0009170C 40 82 00 08 */ bne lbl_800947B4 -/* 800947B0 00091710 48 00 00 C8 */ b lbl_80094878 -lbl_800947B4: -/* 800947B4 00091714 80 1F 00 04 */ lwz r0, 4(r31) -/* 800947B8 00091718 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800947BC 0009171C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800947C0 00091720 90 61 00 0C */ stw r3, 0xc(r1) -/* 800947C4 00091724 7C 03 02 14 */ add r0, r3, r0 -/* 800947C8 00091728 90 61 00 08 */ stw r3, 8(r1) -/* 800947CC 0009172C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800947D0 00091730 90 01 00 10 */ stw r0, 0x10(r1) -/* 800947D4 00091734 48 00 00 08 */ b lbl_800947DC -lbl_800947D8: -/* 800947D8 00091738 38 63 00 0C */ addi r3, r3, 0xc -lbl_800947DC: -/* 800947DC 0009173C 7C 03 00 40 */ cmplw r3, r0 -/* 800947E0 00091740 40 82 FF F8 */ bne lbl_800947D8 -/* 800947E4 00091744 38 00 00 00 */ li r0, 0 -/* 800947E8 00091748 90 1F 00 04 */ stw r0, 4(r31) -/* 800947EC 0009174C 80 9E 00 04 */ lwz r4, 4(r30) -/* 800947F0 00091750 2C 04 00 00 */ cmpwi r4, 0 -/* 800947F4 00091754 40 82 00 28 */ bne lbl_8009481C -/* 800947F8 00091758 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800947FC 0009175C 28 03 00 00 */ cmplwi r3, 0 -/* 80094800 00091760 41 82 00 08 */ beq lbl_80094808 -/* 80094804 00091764 48 28 11 2D */ bl Free__7CMemoryFPCv -lbl_80094808: -/* 80094808 00091768 38 00 00 00 */ li r0, 0 -/* 8009480C 0009176C 90 1F 00 04 */ stw r0, 4(r31) -/* 80094810 00091770 90 1F 00 08 */ stw r0, 8(r31) -/* 80094814 00091774 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80094818 00091778 48 00 00 5C */ b lbl_80094874 -lbl_8009481C: -/* 8009481C 0009177C 7F E3 FB 78 */ mr r3, r31 -/* 80094820 00091780 4B FC 94 D9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 80094824 00091784 80 1E 00 04 */ lwz r0, 4(r30) -/* 80094828 00091788 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8009482C 0009178C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80094830 00091790 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80094834 00091794 7C 04 02 14 */ add r0, r4, r0 -/* 80094838 00091798 48 00 00 2C */ b lbl_80094864 -lbl_8009483C: -/* 8009483C 0009179C 28 03 00 00 */ cmplwi r3, 0 -/* 80094840 000917A0 41 82 00 1C */ beq lbl_8009485C -/* 80094844 000917A4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80094848 000917A8 D0 03 00 00 */ stfs f0, 0(r3) -/* 8009484C 000917AC C0 04 00 04 */ lfs f0, 4(r4) -/* 80094850 000917B0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80094854 000917B4 C0 04 00 08 */ lfs f0, 8(r4) -/* 80094858 000917B8 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8009485C: -/* 8009485C 000917BC 38 63 00 0C */ addi r3, r3, 0xc -/* 80094860 000917C0 38 84 00 0C */ addi r4, r4, 0xc -lbl_80094864: -/* 80094864 000917C4 7C 04 00 40 */ cmplw r4, r0 -/* 80094868 000917C8 40 82 FF D4 */ bne lbl_8009483C -/* 8009486C 000917CC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80094870 000917D0 90 1F 00 04 */ stw r0, 4(r31) -lbl_80094874: -/* 80094874 000917D4 7F E3 FB 78 */ mr r3, r31 -lbl_80094878: -/* 80094878 000917D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009487C 000917DC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80094880 000917E0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80094884 000917E4 7C 08 03 A6 */ mtlr r0 -/* 80094888 000917E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009488C 000917EC 4E 80 00 20 */ blr - -.global DeactivateSelf__16CCinematicCameraFR13CStateManager -DeactivateSelf__16CCinematicCameraFR13CStateManager: -/* 80094890 000917F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80094894 000917F4 7C 08 02 A6 */ mflr r0 -/* 80094898 000917F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009489C 000917FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800948A0 00091800 7C 9F 23 78 */ mr r31, r4 -/* 800948A4 00091804 38 80 00 00 */ li r4, 0 -/* 800948A8 00091808 93 C1 00 08 */ stw r30, 8(r1) -/* 800948AC 0009180C 7C 7E 1B 78 */ mr r30, r3 -/* 800948B0 00091810 81 83 00 00 */ lwz r12, 0(r3) -/* 800948B4 00091814 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800948B8 00091818 7D 89 03 A6 */ mtctr r12 -/* 800948BC 0009181C 4E 80 04 21 */ bctrl -/* 800948C0 00091820 7F C3 F3 78 */ mr r3, r30 -/* 800948C4 00091824 7F E5 FB 78 */ mr r5, r31 -/* 800948C8 00091828 38 80 00 05 */ li r4, 5 -/* 800948CC 0009182C 38 C0 FF FF */ li r6, -1 -/* 800948D0 00091830 4B FB C7 F1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 800948D4 00091834 7F C3 F3 78 */ mr r3, r30 -/* 800948D8 00091838 7F E4 FB 78 */ mr r4, r31 -/* 800948DC 0009183C 4B FF FA 0D */ bl WasDeactivated__16CCinematicCameraFR13CStateManager -/* 800948E0 00091840 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800948E4 00091844 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800948E8 00091848 83 C1 00 08 */ lwz r30, 8(r1) -/* 800948EC 0009184C 7C 08 03 A6 */ mtlr r0 -/* 800948F0 00091850 38 21 00 10 */ addi r1, r1, 0x10 -/* 800948F4 00091854 4E 80 00 20 */ blr - -.global SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager -SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager: -/* 800948F8 00091858 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800948FC 0009185C 7C 08 02 A6 */ mflr r0 -/* 80094900 00091860 38 C0 00 02 */ li r6, 2 -/* 80094904 00091864 90 01 00 24 */ stw r0, 0x24(r1) -/* 80094908 00091868 A0 E3 00 08 */ lhz r7, 8(r3) -/* 8009490C 0009186C 7C A3 2B 78 */ mr r3, r5 -/* 80094910 00091870 A0 04 00 00 */ lhz r0, 0(r4) -/* 80094914 00091874 38 81 00 10 */ addi r4, r1, 0x10 -/* 80094918 00091878 B0 E1 00 08 */ sth r7, 8(r1) -/* 8009491C 0009187C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80094920 00091880 B0 E1 00 0C */ sth r7, 0xc(r1) -/* 80094924 00091884 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80094928 00091888 4B FA F5 2D */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId -/* 8009492C 0009188C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80094930 00091890 7C 08 03 A6 */ mtlr r0 -/* 80094934 00091894 38 21 00 20 */ addi r1, r1, 0x20 -/* 80094938 00091898 4E 80 00 20 */ blr - -.global AcceptScriptMsg__16CCinematicCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__16CCinematicCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8009493C 0009189C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80094940 000918A0 7C 08 02 A6 */ mflr r0 -/* 80094944 000918A4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80094948 000918A8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8009494C 000918AC 7C DF 33 78 */ mr r31, r6 -/* 80094950 000918B0 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80094954 000918B4 7C 7E 1B 78 */ mr r30, r3 -/* 80094958 000918B8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8009495C 000918BC 7C 9D 23 78 */ mr r29, r4 -/* 80094960 000918C0 A0 05 00 00 */ lhz r0, 0(r5) -/* 80094964 000918C4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80094968 000918C8 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8009496C 000918CC 4B FC 69 DD */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80094970 000918D0 2C 1D 00 04 */ cmpwi r29, 4 -/* 80094974 000918D4 41 82 01 CC */ beq lbl_80094B40 -/* 80094978 000918D8 40 80 00 10 */ bge lbl_80094988 -/* 8009497C 000918DC 2C 1D 00 01 */ cmpwi r29, 1 -/* 80094980 000918E0 41 82 00 C4 */ beq lbl_80094A44 -/* 80094984 000918E4 48 00 01 C8 */ b lbl_80094B4C -lbl_80094988: -/* 80094988 000918E8 2C 1D 00 23 */ cmpwi r29, 0x23 -/* 8009498C 000918EC 41 82 00 08 */ beq lbl_80094994 -/* 80094990 000918F0 48 00 01 BC */ b lbl_80094B4C -lbl_80094994: -/* 80094994 000918F4 80 7E 02 1C */ lwz r3, 0x21c(r30) -/* 80094998 000918F8 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d -/* 8009499C 000918FC 40 82 00 0C */ bne lbl_800949A8 -/* 800949A0 00091900 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e -/* 800949A4 00091904 41 82 01 A8 */ beq lbl_80094B4C -lbl_800949A8: -/* 800949A8 00091908 83 BE 00 2C */ lwz r29, 0x2c(r30) -/* 800949AC 0009190C 48 00 00 7C */ b lbl_80094A28 -lbl_800949B0: -/* 800949B0 00091910 80 1D 00 08 */ lwz r0, 8(r29) -/* 800949B4 00091914 7F E4 FB 78 */ mr r4, r31 -/* 800949B8 00091918 38 61 00 1C */ addi r3, r1, 0x1c -/* 800949BC 0009191C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 800949C0 00091920 90 01 00 28 */ stw r0, 0x28(r1) -/* 800949C4 00091924 4B FB 35 59 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800949C8 00091928 A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 800949CC 0009192C 7F E3 FB 78 */ mr r3, r31 -/* 800949D0 00091930 38 81 00 18 */ addi r4, r1, 0x18 -/* 800949D4 00091934 B0 01 00 24 */ sth r0, 0x24(r1) -/* 800949D8 00091938 B0 01 00 18 */ sth r0, 0x18(r1) -/* 800949DC 0009193C 4B FB 7B 99 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800949E0 00091940 7C 60 1B 78 */ mr r0, r3 -/* 800949E4 00091944 38 61 00 2C */ addi r3, r1, 0x2c -/* 800949E8 00091948 7C 04 03 78 */ mr r4, r0 -/* 800949EC 0009194C 48 01 73 81 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" -/* 800949F0 00091950 80 63 00 04 */ lwz r3, 4(r3) -/* 800949F4 00091954 28 03 00 00 */ cmplwi r3, 0 -/* 800949F8 00091958 41 82 00 2C */ beq lbl_80094A24 -/* 800949FC 0009195C 88 03 02 E3 */ lbz r0, 0x2e3(r3) -/* 80094A00 00091960 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80094A04 00091964 41 82 00 20 */ beq lbl_80094A24 -/* 80094A08 00091968 A0 01 00 24 */ lhz r0, 0x24(r1) -/* 80094A0C 0009196C B0 1E 02 0C */ sth r0, 0x20c(r30) -/* 80094A10 00091970 80 1D 00 04 */ lwz r0, 4(r29) -/* 80094A14 00091974 2C 00 00 04 */ cmpwi r0, 4 -/* 80094A18 00091978 41 82 00 0C */ beq lbl_80094A24 -/* 80094A1C 0009197C 2C 00 00 0A */ cmpwi r0, 0xa -/* 80094A20 00091980 40 82 01 2C */ bne lbl_80094B4C -lbl_80094A24: -/* 80094A24 00091984 3B BD 00 0C */ addi r29, r29, 0xc -lbl_80094A28: -/* 80094A28 00091988 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 80094A2C 0009198C 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 80094A30 00091990 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80094A34 00091994 7C 03 02 14 */ add r0, r3, r0 -/* 80094A38 00091998 7C 1D 00 40 */ cmplw r29, r0 -/* 80094A3C 0009199C 40 82 FF 74 */ bne lbl_800949B0 -/* 80094A40 000919A0 48 00 01 0C */ b lbl_80094B4C -lbl_80094A44: -/* 80094A44 000919A4 7F C3 F3 78 */ mr r3, r30 -/* 80094A48 000919A8 7F E4 FB 78 */ mr r4, r31 -/* 80094A4C 000919AC 4B FF F1 21 */ bl CalculateWaypoints__16CCinematicCameraFR13CStateManager -/* 80094A50 000919B0 80 1E 02 1C */ lwz r0, 0x21c(r30) -/* 80094A54 000919B4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80094A58 000919B8 40 82 00 1C */ bne lbl_80094A74 -/* 80094A5C 000919BC 88 1E 02 20 */ lbz r0, 0x220(r30) -/* 80094A60 000919C0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80094A64 000919C4 41 82 00 10 */ beq lbl_80094A74 -/* 80094A68 000919C8 80 1E 01 BC */ lwz r0, 0x1bc(r30) -/* 80094A6C 000919CC 2C 00 00 00 */ cmpwi r0, 0 -/* 80094A70 000919D0 41 82 00 DC */ beq lbl_80094B4C -lbl_80094A74: -/* 80094A74 000919D4 C0 22 8B 40 */ lfs f1, lbl_805AA860@sda21(r2) -/* 80094A78 000919D8 7F C3 F3 78 */ mr r3, r30 -/* 80094A7C 000919DC 7F E4 FB 78 */ mr r4, r31 -/* 80094A80 000919E0 D0 3E 01 EC */ stfs f1, 0x1ec(r30) -/* 80094A84 000919E4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80094A88 000919E8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80094A8C 000919EC 7D 89 03 A6 */ mtctr r12 -/* 80094A90 000919F0 4E 80 04 21 */ bctrl -/* 80094A94 000919F4 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80094A98 000919F8 7F E5 FB 78 */ mr r5, r31 -/* 80094A9C 000919FC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80094AA0 00091A00 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80094AA4 00091A04 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80094AA8 00091A08 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80094AAC 00091A0C 4B F7 68 91 */ bl AddCinemaCamera__14CCameraManagerF9TUniqueIdR13CStateManager -/* 80094AB0 00091A10 38 00 00 00 */ li r0, 0 -/* 80094AB4 00091A14 90 1E 01 F4 */ stw r0, 0x1f4(r30) -/* 80094AB8 00091A18 80 1E 01 AC */ lwz r0, 0x1ac(r30) -/* 80094ABC 00091A1C 2C 00 00 00 */ cmpwi r0, 0 -/* 80094AC0 00091A20 40 81 00 28 */ ble lbl_80094AE8 -/* 80094AC4 00091A24 80 1E 01 F4 */ lwz r0, 0x1f4(r30) -/* 80094AC8 00091A28 7F C3 F3 78 */ mr r3, r30 -/* 80094ACC 00091A2C 80 DE 01 B4 */ lwz r6, 0x1b4(r30) -/* 80094AD0 00091A30 7F E5 FB 78 */ mr r5, r31 -/* 80094AD4 00091A34 54 00 08 3C */ slwi r0, r0, 1 -/* 80094AD8 00091A38 38 81 00 0C */ addi r4, r1, 0xc -/* 80094ADC 00091A3C 7C 06 02 2E */ lhzx r0, r6, r0 -/* 80094AE0 00091A40 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80094AE4 00091A44 4B FF FE 15 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager -lbl_80094AE8: -/* 80094AE8 00091A48 38 00 00 00 */ li r0, 0 -/* 80094AEC 00091A4C 90 1E 01 F8 */ stw r0, 0x1f8(r30) -/* 80094AF0 00091A50 80 1E 01 CC */ lwz r0, 0x1cc(r30) -/* 80094AF4 00091A54 2C 00 00 00 */ cmpwi r0, 0 -/* 80094AF8 00091A58 40 81 00 28 */ ble lbl_80094B20 -/* 80094AFC 00091A5C 80 1E 01 F8 */ lwz r0, 0x1f8(r30) -/* 80094B00 00091A60 7F C3 F3 78 */ mr r3, r30 -/* 80094B04 00091A64 80 DE 01 D4 */ lwz r6, 0x1d4(r30) -/* 80094B08 00091A68 7F E5 FB 78 */ mr r5, r31 -/* 80094B0C 00091A6C 54 00 08 3C */ slwi r0, r0, 1 -/* 80094B10 00091A70 38 81 00 08 */ addi r4, r1, 8 -/* 80094B14 00091A74 7C 06 02 2E */ lhzx r0, r6, r0 -/* 80094B18 00091A78 B0 01 00 08 */ sth r0, 8(r1) -/* 80094B1C 00091A7C 4B FF FD DD */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager -lbl_80094B20: -/* 80094B20 00091A80 80 1E 02 1C */ lwz r0, 0x21c(r30) -/* 80094B24 00091A84 54 00 05 EF */ rlwinm. r0, r0, 0, 0x17, 0x17 -/* 80094B28 00091A88 41 82 00 24 */ beq lbl_80094B4C -/* 80094B2C 00091A8C 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 80094B30 00091A90 38 60 00 01 */ li r3, 1 -/* 80094B34 00091A94 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80094B38 00091A98 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 80094B3C 00091A9C 48 00 00 10 */ b lbl_80094B4C -lbl_80094B40: -/* 80094B40 00091AA0 7F C3 F3 78 */ mr r3, r30 -/* 80094B44 00091AA4 7F E4 FB 78 */ mr r4, r31 -/* 80094B48 00091AA8 4B FF F7 A1 */ bl WasDeactivated__16CCinematicCameraFR13CStateManager -lbl_80094B4C: -/* 80094B4C 00091AAC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80094B50 00091AB0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80094B54 00091AB4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80094B58 00091AB8 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80094B5C 00091ABC 7C 08 03 A6 */ mtlr r0 -/* 80094B60 00091AC0 38 21 00 50 */ addi r1, r1, 0x50 -/* 80094B64 00091AC4 4E 80 00 20 */ blr - -.global Accept__16CCinematicCameraFR8IVisitor -Accept__16CCinematicCameraFR8IVisitor: -/* 80094B68 00091AC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80094B6C 00091ACC 7C 08 02 A6 */ mflr r0 -/* 80094B70 00091AD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80094B74 00091AD4 7C 60 1B 78 */ mr r0, r3 -/* 80094B78 00091AD8 7C 83 23 78 */ mr r3, r4 -/* 80094B7C 00091ADC 81 84 00 00 */ lwz r12, 0(r4) -/* 80094B80 00091AE0 7C 04 03 78 */ mr r4, r0 -/* 80094B84 00091AE4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80094B88 00091AE8 7D 89 03 A6 */ mtctr r12 -/* 80094B8C 00091AEC 4E 80 04 21 */ bctrl -/* 80094B90 00091AF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80094B94 00091AF4 7C 08 03 A6 */ mtlr r0 -/* 80094B98 00091AF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80094B9C 00091AFC 4E 80 00 20 */ blr - -.global ProcessInput__16CCinematicCameraFRC11CFinalInputR13CStateManager -ProcessInput__16CCinematicCameraFRC11CFinalInputR13CStateManager: -/* 80094BA0 00091B00 4E 80 00 20 */ blr - -.global Think__16CCinematicCameraFfR13CStateManager -Think__16CCinematicCameraFfR13CStateManager: -/* 80094BA4 00091B04 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 80094BA8 00091B08 7C 08 02 A6 */ mflr r0 -/* 80094BAC 00091B0C 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 80094BB0 00091B10 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 80094BB4 00091B14 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 80094BB8 00091B18 DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 80094BBC 00091B1C F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 80094BC0 00091B20 93 E1 01 AC */ stw r31, 0x1ac(r1) -/* 80094BC4 00091B24 93 C1 01 A8 */ stw r30, 0x1a8(r1) -/* 80094BC8 00091B28 93 A1 01 A4 */ stw r29, 0x1a4(r1) -/* 80094BCC 00091B2C 93 81 01 A0 */ stw r28, 0x1a0(r1) -/* 80094BD0 00091B30 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80094BD4 00091B34 FF E0 08 90 */ fmr f31, f1 -/* 80094BD8 00091B38 7C 7E 1B 78 */ mr r30, r3 -/* 80094BDC 00091B3C 7C 9F 23 78 */ mr r31, r4 -/* 80094BE0 00091B40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80094BE4 00091B44 41 82 05 C8 */ beq lbl_800951AC -/* 80094BE8 00091B48 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80094BEC 00091B4C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80094BF0 00091B50 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80094BF4 00091B54 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 80094BF8 00091B58 D0 21 01 04 */ stfs f1, 0x104(r1) -/* 80094BFC 00091B5C D0 41 01 08 */ stfs f2, 0x108(r1) -/* 80094C00 00091B60 80 1E 01 8C */ lwz r0, 0x18c(r30) -/* 80094C04 00091B64 2C 00 00 00 */ cmpwi r0, 0 -/* 80094C08 00091B68 40 81 00 74 */ ble lbl_80094C7C -/* 80094C0C 00091B6C 38 00 00 00 */ li r0, 0 -/* 80094C10 00091B70 7F C4 F3 78 */ mr r4, r30 -/* 80094C14 00091B74 90 01 00 24 */ stw r0, 0x24(r1) -/* 80094C18 00091B78 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80094C1C 00091B7C 38 BE 01 88 */ addi r5, r30, 0x188 -/* 80094C20 00091B80 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80094C24 00091B84 C0 3E 01 EC */ lfs f1, 0x1ec(r30) -/* 80094C28 00091B88 4B FF E1 E1 */ bl "GetInterpolatedSplinePoint__16CCinematicCameraCFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Rif" -/* 80094C2C 00091B8C C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 80094C30 00091B90 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 80094C34 00091B94 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 80094C38 00091B98 D0 41 01 00 */ stfs f2, 0x100(r1) -/* 80094C3C 00091B9C 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80094C40 00091BA0 D0 21 01 04 */ stfs f1, 0x104(r1) -/* 80094C44 00091BA4 D0 01 01 08 */ stfs f0, 0x108(r1) -/* 80094C48 00091BA8 80 1E 01 F4 */ lwz r0, 0x1f4(r30) -/* 80094C4C 00091BAC 7C 03 00 00 */ cmpw r3, r0 -/* 80094C50 00091BB0 40 81 00 2C */ ble lbl_80094C7C -/* 80094C54 00091BB4 90 7E 01 F4 */ stw r3, 0x1f4(r30) -/* 80094C58 00091BB8 7F C3 F3 78 */ mr r3, r30 -/* 80094C5C 00091BBC 7F E5 FB 78 */ mr r5, r31 -/* 80094C60 00091BC0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80094C64 00091BC4 80 1E 01 F4 */ lwz r0, 0x1f4(r30) -/* 80094C68 00091BC8 80 DE 01 B4 */ lwz r6, 0x1b4(r30) -/* 80094C6C 00091BCC 54 00 08 3C */ slwi r0, r0, 1 -/* 80094C70 00091BD0 7C 06 02 2E */ lhzx r0, r6, r0 -/* 80094C74 00091BD4 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80094C78 00091BD8 4B FF FC 81 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager -lbl_80094C7C: -/* 80094C7C 00091BDC C0 3E 01 EC */ lfs f1, 0x1ec(r30) -/* 80094C80 00091BE0 7F C4 F3 78 */ mr r4, r30 -/* 80094C84 00091BE4 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80094C88 00091BE8 38 BE 01 98 */ addi r5, r30, 0x198 -/* 80094C8C 00091BEC 4B FF E0 55 */ bl "GetInterpolatedOrientation__16CCinematicCameraCFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>f" -/* 80094C90 00091BF0 C0 61 00 A4 */ lfs f3, 0xa4(r1) -/* 80094C94 00091BF4 C0 41 00 A8 */ lfs f2, 0xa8(r1) -/* 80094C98 00091BF8 C0 21 00 AC */ lfs f1, 0xac(r1) -/* 80094C9C 00091BFC C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 80094CA0 00091C00 D0 61 00 F0 */ stfs f3, 0xf0(r1) -/* 80094CA4 00091C04 D0 41 00 F4 */ stfs f2, 0xf4(r1) -/* 80094CA8 00091C08 D0 21 00 F8 */ stfs f1, 0xf8(r1) -/* 80094CAC 00091C0C D0 01 00 FC */ stfs f0, 0xfc(r1) -/* 80094CB0 00091C10 80 1E 02 1C */ lwz r0, 0x21c(r30) -/* 80094CB4 00091C14 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80094CB8 00091C18 40 82 02 10 */ bne lbl_80094EC8 -/* 80094CBC 00091C1C 80 1E 01 BC */ lwz r0, 0x1bc(r30) -/* 80094CC0 00091C20 2C 00 00 00 */ cmpwi r0, 0 -/* 80094CC4 00091C24 40 81 01 BC */ ble lbl_80094E80 -/* 80094CC8 00091C28 38 00 00 00 */ li r0, 0 -/* 80094CCC 00091C2C 7F C4 F3 78 */ mr r4, r30 -/* 80094CD0 00091C30 90 01 00 20 */ stw r0, 0x20(r1) -/* 80094CD4 00091C34 38 61 00 98 */ addi r3, r1, 0x98 -/* 80094CD8 00091C38 38 BE 01 B8 */ addi r5, r30, 0x1b8 -/* 80094CDC 00091C3C 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80094CE0 00091C40 C0 3E 01 EC */ lfs f1, 0x1ec(r30) -/* 80094CE4 00091C44 4B FF E1 25 */ bl "GetInterpolatedSplinePoint__16CCinematicCameraCFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Rif" -/* 80094CE8 00091C48 C0 41 00 98 */ lfs f2, 0x98(r1) -/* 80094CEC 00091C4C C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 80094CF0 00091C50 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 80094CF4 00091C54 D0 41 00 E4 */ stfs f2, 0xe4(r1) -/* 80094CF8 00091C58 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 80094CFC 00091C5C D0 01 00 EC */ stfs f0, 0xec(r1) -/* 80094D00 00091C60 80 1E 01 BC */ lwz r0, 0x1bc(r30) -/* 80094D04 00091C64 2C 00 00 01 */ cmpwi r0, 1 -/* 80094D08 00091C68 40 82 00 58 */ bne lbl_80094D60 -/* 80094D0C 00091C6C 80 BE 01 D4 */ lwz r5, 0x1d4(r30) -/* 80094D10 00091C70 7F E3 FB 78 */ mr r3, r31 -/* 80094D14 00091C74 38 81 00 18 */ addi r4, r1, 0x18 -/* 80094D18 00091C78 A0 05 00 00 */ lhz r0, 0(r5) -/* 80094D1C 00091C7C B0 01 00 18 */ sth r0, 0x18(r1) -/* 80094D20 00091C80 4B FB 78 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80094D24 00091C84 7C 64 1B 78 */ mr r4, r3 -/* 80094D28 00091C88 38 61 00 28 */ addi r3, r1, 0x28 -/* 80094D2C 00091C8C 48 01 AF 65 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80094D30 00091C90 80 63 00 04 */ lwz r3, 4(r3) -/* 80094D34 00091C94 28 03 00 00 */ cmplwi r3, 0 -/* 80094D38 00091C98 41 82 00 20 */ beq lbl_80094D58 -/* 80094D3C 00091C9C C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80094D40 00091CA0 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80094D44 00091CA4 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80094D48 00091CA8 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 80094D4C 00091CAC D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 80094D50 00091CB0 D0 41 00 EC */ stfs f2, 0xec(r1) -/* 80094D54 00091CB4 48 00 00 0C */ b lbl_80094D60 -lbl_80094D58: -/* 80094D58 00091CB8 C0 1E 01 E8 */ lfs f0, 0x1e8(r30) -/* 80094D5C 00091CBC D0 1E 01 EC */ stfs f0, 0x1ec(r30) -lbl_80094D60: -/* 80094D60 00091CC0 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80094D64 00091CC4 80 1E 01 F8 */ lwz r0, 0x1f8(r30) -/* 80094D68 00091CC8 7C 03 00 00 */ cmpw r3, r0 -/* 80094D6C 00091CCC 40 81 00 2C */ ble lbl_80094D98 -/* 80094D70 00091CD0 90 7E 01 F8 */ stw r3, 0x1f8(r30) -/* 80094D74 00091CD4 7F C3 F3 78 */ mr r3, r30 -/* 80094D78 00091CD8 7F E5 FB 78 */ mr r5, r31 -/* 80094D7C 00091CDC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80094D80 00091CE0 80 1E 01 F8 */ lwz r0, 0x1f8(r30) -/* 80094D84 00091CE4 80 DE 01 D4 */ lwz r6, 0x1d4(r30) -/* 80094D88 00091CE8 54 00 08 3C */ slwi r0, r0, 1 -/* 80094D8C 00091CEC 7C 06 02 2E */ lhzx r0, r6, r0 -/* 80094D90 00091CF0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80094D94 00091CF4 4B FF FB 65 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager -lbl_80094D98: -/* 80094D98 00091CF8 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 80094D9C 00091CFC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80094DA0 00091D00 38 A4 66 F4 */ addi r5, r4, lbl_805A66F4@l -/* 80094DA4 00091D04 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 80094DA8 00091D08 48 27 C4 BD */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80094DAC 00091D0C C0 41 00 E8 */ lfs f2, 0xe8(r1) -/* 80094DB0 00091D10 38 61 00 48 */ addi r3, r1, 0x48 -/* 80094DB4 00091D14 C0 01 01 04 */ lfs f0, 0x104(r1) -/* 80094DB8 00091D18 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 80094DBC 00091D1C ED 02 00 28 */ fsubs f8, f2, f0 -/* 80094DC0 00091D20 C0 01 01 00 */ lfs f0, 0x100(r1) -/* 80094DC4 00091D24 C0 E1 00 8C */ lfs f7, 0x8c(r1) -/* 80094DC8 00091D28 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80094DCC 00091D2C C0 C1 00 90 */ lfs f6, 0x90(r1) -/* 80094DD0 00091D30 C0 A1 00 94 */ lfs f5, 0x94(r1) -/* 80094DD4 00091D34 C0 81 00 EC */ lfs f4, 0xec(r1) -/* 80094DD8 00091D38 FC 40 40 18 */ frsp f2, f8 -/* 80094DDC 00091D3C C0 61 01 08 */ lfs f3, 0x108(r1) -/* 80094DE0 00091D40 FC 20 00 18 */ frsp f1, f0 -/* 80094DE4 00091D44 D0 E1 00 D8 */ stfs f7, 0xd8(r1) -/* 80094DE8 00091D48 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80094DEC 00091D4C D0 C1 00 DC */ stfs f6, 0xdc(r1) -/* 80094DF0 00091D50 D0 A1 00 E0 */ stfs f5, 0xe0(r1) -/* 80094DF4 00091D54 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80094DF8 00091D58 D1 01 00 78 */ stfs f8, 0x78(r1) -/* 80094DFC 00091D5C D0 61 00 7C */ stfs f3, 0x7c(r1) -/* 80094E00 00091D60 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80094E04 00091D64 D1 01 00 84 */ stfs f8, 0x84(r1) -/* 80094E08 00091D68 D0 61 00 88 */ stfs f3, 0x88(r1) -/* 80094E0C 00091D6C 48 27 F3 F5 */ bl __ct__9CVector2fFff -/* 80094E10 00091D70 38 61 00 48 */ addi r3, r1, 0x48 -/* 80094E14 00091D74 48 27 F2 E1 */ bl Magnitude__9CVector2fCFv -/* 80094E18 00091D78 C0 02 8B 58 */ lfs f0, lbl_805AA878@sda21(r2) -/* 80094E1C 00091D7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80094E20 00091D80 40 80 00 14 */ bge lbl_80094E34 -/* 80094E24 00091D84 7F C3 F3 78 */ mr r3, r30 -/* 80094E28 00091D88 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 80094E2C 00091D8C 4B FB E0 61 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80094E30 00091D90 48 00 02 04 */ b lbl_80095034 -lbl_80094E34: -/* 80094E34 00091D94 38 61 01 6C */ addi r3, r1, 0x16c -/* 80094E38 00091D98 38 81 01 00 */ addi r4, r1, 0x100 -/* 80094E3C 00091D9C 38 A1 00 E4 */ addi r5, r1, 0xe4 -/* 80094E40 00091DA0 38 C1 00 D8 */ addi r6, r1, 0xd8 -/* 80094E44 00091DA4 48 27 EC CD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80094E48 00091DA8 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80094E4C 00091DAC 38 81 01 6C */ addi r4, r1, 0x16c -/* 80094E50 00091DB0 48 27 DC F1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80094E54 00091DB4 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80094E58 00091DB8 38 60 00 01 */ li r3, 1 -/* 80094E5C 00091DBC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80094E60 00091DC0 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80094E64 00091DC4 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80094E68 00091DC8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80094E6C 00091DCC 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80094E70 00091DD0 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80094E74 00091DD4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80094E78 00091DD8 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80094E7C 00091DDC 48 00 01 B8 */ b lbl_80095034 -lbl_80094E80: -/* 80094E80 00091DE0 38 61 01 3C */ addi r3, r1, 0x13c -/* 80094E84 00091DE4 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 80094E88 00091DE8 38 A1 01 00 */ addi r5, r1, 0x100 -/* 80094E8C 00091DEC 48 27 D0 31 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 80094E90 00091DF0 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80094E94 00091DF4 38 81 01 3C */ addi r4, r1, 0x13c -/* 80094E98 00091DF8 48 27 DC A9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80094E9C 00091DFC 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80094EA0 00091E00 38 60 00 01 */ li r3, 1 -/* 80094EA4 00091E04 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80094EA8 00091E08 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80094EAC 00091E0C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80094EB0 00091E10 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80094EB4 00091E14 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80094EB8 00091E18 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80094EBC 00091E1C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80094EC0 00091E20 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80094EC4 00091E24 48 00 01 70 */ b lbl_80095034 -lbl_80094EC8: -/* 80094EC8 00091E28 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80094ECC 00091E2C C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80094ED0 00091E30 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80094ED4 00091E34 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80094ED8 00091E38 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 80094EDC 00091E3C D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 80094EE0 00091E40 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 80094EE4 00091E44 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 80094EE8 00091E48 2C 00 00 01 */ cmpwi r0, 1 -/* 80094EEC 00091E4C 40 82 00 38 */ bne lbl_80094F24 -/* 80094EF0 00091E50 80 63 07 68 */ lwz r3, 0x768(r3) -/* 80094EF4 00091E54 48 06 3F 11 */ bl GetBallRadius__10CMorphBallCFv -/* 80094EF8 00091E58 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 80094EFC 00091E5C C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 80094F00 00091E60 C0 62 8B 40 */ lfs f3, lbl_805AA860@sda21(r2) -/* 80094F04 00091E64 EC 00 08 2A */ fadds f0, f0, f1 -/* 80094F08 00091E68 C0 21 00 D0 */ lfs f1, 0xd0(r1) -/* 80094F0C 00091E6C EC 42 18 2A */ fadds f2, f2, f3 -/* 80094F10 00091E70 EC 21 18 2A */ fadds f1, f1, f3 -/* 80094F14 00091E74 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 80094F18 00091E78 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 80094F1C 00091E7C D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 80094F20 00091E80 48 00 00 30 */ b lbl_80094F50 -lbl_80094F24: -/* 80094F24 00091E84 48 1E FE BD */ bl GetEyeHeight__7CPlayerCFv -/* 80094F28 00091E88 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 80094F2C 00091E8C C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 80094F30 00091E90 C0 62 8B 40 */ lfs f3, lbl_805AA860@sda21(r2) -/* 80094F34 00091E94 EC 00 08 2A */ fadds f0, f0, f1 -/* 80094F38 00091E98 C0 21 00 D0 */ lfs f1, 0xd0(r1) -/* 80094F3C 00091E9C EC 42 18 2A */ fadds f2, f2, f3 -/* 80094F40 00091EA0 EC 21 18 2A */ fadds f1, f1, f3 -/* 80094F44 00091EA4 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 80094F48 00091EA8 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 80094F4C 00091EAC D0 21 00 D0 */ stfs f1, 0xd0(r1) -lbl_80094F50: -/* 80094F50 00091EB0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 80094F54 00091EB4 38 61 00 68 */ addi r3, r1, 0x68 -/* 80094F58 00091EB8 38 A4 66 F4 */ addi r5, r4, lbl_805A66F4@l -/* 80094F5C 00091EBC 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 80094F60 00091EC0 48 27 C3 05 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80094F64 00091EC4 C0 41 00 D0 */ lfs f2, 0xd0(r1) -/* 80094F68 00091EC8 38 61 00 40 */ addi r3, r1, 0x40 -/* 80094F6C 00091ECC C0 01 01 04 */ lfs f0, 0x104(r1) -/* 80094F70 00091ED0 C0 21 00 CC */ lfs f1, 0xcc(r1) -/* 80094F74 00091ED4 ED 02 00 28 */ fsubs f8, f2, f0 -/* 80094F78 00091ED8 C0 01 01 00 */ lfs f0, 0x100(r1) -/* 80094F7C 00091EDC C0 E1 00 68 */ lfs f7, 0x68(r1) -/* 80094F80 00091EE0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80094F84 00091EE4 C0 C1 00 6C */ lfs f6, 0x6c(r1) -/* 80094F88 00091EE8 C0 A1 00 70 */ lfs f5, 0x70(r1) -/* 80094F8C 00091EEC C0 81 00 D4 */ lfs f4, 0xd4(r1) -/* 80094F90 00091EF0 FC 40 40 18 */ frsp f2, f8 -/* 80094F94 00091EF4 C0 61 01 08 */ lfs f3, 0x108(r1) -/* 80094F98 00091EF8 FC 20 00 18 */ frsp f1, f0 -/* 80094F9C 00091EFC D0 E1 00 C0 */ stfs f7, 0xc0(r1) -/* 80094FA0 00091F00 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80094FA4 00091F04 D0 C1 00 C4 */ stfs f6, 0xc4(r1) -/* 80094FA8 00091F08 D0 A1 00 C8 */ stfs f5, 0xc8(r1) -/* 80094FAC 00091F0C D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80094FB0 00091F10 D1 01 00 54 */ stfs f8, 0x54(r1) -/* 80094FB4 00091F14 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 80094FB8 00091F18 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80094FBC 00091F1C D1 01 00 60 */ stfs f8, 0x60(r1) -/* 80094FC0 00091F20 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 80094FC4 00091F24 48 27 F2 3D */ bl __ct__9CVector2fFff -/* 80094FC8 00091F28 38 61 00 40 */ addi r3, r1, 0x40 -/* 80094FCC 00091F2C 48 27 F1 29 */ bl Magnitude__9CVector2fCFv -/* 80094FD0 00091F30 C0 02 8B 58 */ lfs f0, lbl_805AA878@sda21(r2) -/* 80094FD4 00091F34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80094FD8 00091F38 40 80 00 14 */ bge lbl_80094FEC -/* 80094FDC 00091F3C 7F C3 F3 78 */ mr r3, r30 -/* 80094FE0 00091F40 38 81 00 CC */ addi r4, r1, 0xcc -/* 80094FE4 00091F44 4B FB DE A9 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80094FE8 00091F48 48 00 00 4C */ b lbl_80095034 -lbl_80094FEC: -/* 80094FEC 00091F4C 38 61 01 0C */ addi r3, r1, 0x10c -/* 80094FF0 00091F50 38 81 01 00 */ addi r4, r1, 0x100 -/* 80094FF4 00091F54 38 A1 00 CC */ addi r5, r1, 0xcc -/* 80094FF8 00091F58 38 C1 00 C0 */ addi r6, r1, 0xc0 -/* 80094FFC 00091F5C 48 27 EB 15 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80095000 00091F60 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80095004 00091F64 38 81 01 0C */ addi r4, r1, 0x10c -/* 80095008 00091F68 48 27 DB 39 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8009500C 00091F6C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80095010 00091F70 38 60 00 01 */ li r3, 1 -/* 80095014 00091F74 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80095018 00091F78 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8009501C 00091F7C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80095020 00091F80 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80095024 00091F84 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80095028 00091F88 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8009502C 00091F8C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80095030 00091F90 98 1E 00 E4 */ stb r0, 0xe4(r30) -lbl_80095034: -/* 80095034 00091F94 C3 DE 01 68 */ lfs f30, 0x168(r30) -/* 80095038 00091F98 7F C3 F3 78 */ mr r3, r30 -/* 8009503C 00091F9C C0 3E 01 EC */ lfs f1, 0x1ec(r30) -/* 80095040 00091FA0 38 9E 01 D8 */ addi r4, r30, 0x1d8 -/* 80095044 00091FA4 4B FF DB B9 */ bl "GetInterpolatedHFov__16CCinematicCameraCFRCQ24rstl36vectorf" -/* 80095048 00091FA8 EC 01 F0 24 */ fdivs f0, f1, f30 -/* 8009504C 00091FAC 38 60 00 01 */ li r3, 1 -/* 80095050 00091FB0 D0 1E 01 5C */ stfs f0, 0x15c(r30) -/* 80095054 00091FB4 88 1E 01 70 */ lbz r0, 0x170(r30) -/* 80095058 00091FB8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8009505C 00091FBC 98 1E 01 70 */ stb r0, 0x170(r30) -/* 80095060 00091FC0 A0 7E 02 0C */ lhz r3, 0x20c(r30) -/* 80095064 00091FC4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80095068 00091FC8 7C 03 00 40 */ cmplw r3, r0 -/* 8009506C 00091FCC 41 82 00 98 */ beq lbl_80095104 -/* 80095070 00091FD0 A0 1E 02 0C */ lhz r0, 0x20c(r30) -/* 80095074 00091FD4 7F E3 FB 78 */ mr r3, r31 -/* 80095078 00091FD8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8009507C 00091FDC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80095080 00091FE0 4B FB 74 F5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80095084 00091FE4 7C 64 1B 78 */ mr r4, r3 -/* 80095088 00091FE8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8009508C 00091FEC 48 01 6C E1 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" -/* 80095090 00091FF0 83 A3 00 04 */ lwz r29, 4(r3) -/* 80095094 00091FF4 28 1D 00 00 */ cmplwi r29, 0 -/* 80095098 00091FF8 41 82 00 6C */ beq lbl_80095104 -/* 8009509C 00091FFC 88 1D 02 E3 */ lbz r0, 0x2e3(r29) -/* 800950A0 00092000 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800950A4 00092004 41 82 00 60 */ beq lbl_80095104 -/* 800950A8 00092008 7F C3 F3 78 */ mr r3, r30 -/* 800950AC 0009200C 4B FF DA 8D */ bl GetMoveOutofIntoAlpha__16CCinematicCameraCFv -/* 800950B0 00092010 FC 00 08 90 */ fmr f0, f1 -/* 800950B4 00092014 C0 22 8B 3C */ lfs f1, lbl_805AA85C@sda21(r2) -/* 800950B8 00092018 38 A0 00 05 */ li r5, 5 -/* 800950BC 0009201C 38 80 00 00 */ li r4, 0 -/* 800950C0 00092020 38 00 00 03 */ li r0, 3 -/* 800950C4 00092024 FC 40 08 90 */ fmr f2, f1 -/* 800950C8 00092028 FC 80 00 90 */ fmr f4, f0 -/* 800950CC 0009202C 98 A1 00 30 */ stb r5, 0x30(r1) -/* 800950D0 00092030 FC 60 08 90 */ fmr f3, f1 -/* 800950D4 00092034 38 61 00 34 */ addi r3, r1, 0x34 -/* 800950D8 00092038 98 81 00 31 */ stb r4, 0x31(r1) -/* 800950DC 0009203C B0 01 00 32 */ sth r0, 0x32(r1) -/* 800950E0 00092040 48 2C E3 0D */ bl __ct__6CColorFffff -/* 800950E4 00092044 88 01 00 30 */ lbz r0, 0x30(r1) -/* 800950E8 00092048 98 1D 00 B4 */ stb r0, 0xb4(r29) -/* 800950EC 0009204C 88 01 00 31 */ lbz r0, 0x31(r1) -/* 800950F0 00092050 98 1D 00 B5 */ stb r0, 0xb5(r29) -/* 800950F4 00092054 A0 01 00 32 */ lhz r0, 0x32(r1) -/* 800950F8 00092058 B0 1D 00 B6 */ sth r0, 0xb6(r29) -/* 800950FC 0009205C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80095100 00092060 90 1D 00 B8 */ stw r0, 0xb8(r29) -lbl_80095104: -/* 80095104 00092064 C0 1E 01 EC */ lfs f0, 0x1ec(r30) -/* 80095108 00092068 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8009510C 0009206C D0 1E 01 EC */ stfs f0, 0x1ec(r30) -/* 80095110 00092070 C0 3E 01 EC */ lfs f1, 0x1ec(r30) -/* 80095114 00092074 C0 1E 01 E8 */ lfs f0, 0x1e8(r30) -/* 80095118 00092078 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009511C 0009207C 40 81 00 90 */ ble lbl_800951AC -/* 80095120 00092080 80 7E 01 F4 */ lwz r3, 0x1f4(r30) -/* 80095124 00092084 3B 83 00 01 */ addi r28, r3, 1 -/* 80095128 00092088 57 9D 08 3C */ slwi r29, r28, 1 -/* 8009512C 0009208C 48 00 00 28 */ b lbl_80095154 -lbl_80095130: -/* 80095130 00092090 80 DE 01 B4 */ lwz r6, 0x1b4(r30) -/* 80095134 00092094 7F C3 F3 78 */ mr r3, r30 -/* 80095138 00092098 7F E5 FB 78 */ mr r5, r31 -/* 8009513C 0009209C 38 81 00 0C */ addi r4, r1, 0xc -/* 80095140 000920A0 7C 06 EA 2E */ lhzx r0, r6, r29 -/* 80095144 000920A4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80095148 000920A8 4B FF F7 B1 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager -/* 8009514C 000920AC 3B BD 00 02 */ addi r29, r29, 2 -/* 80095150 000920B0 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80095154: -/* 80095154 000920B4 80 1E 01 AC */ lwz r0, 0x1ac(r30) -/* 80095158 000920B8 7C 1C 00 00 */ cmpw r28, r0 -/* 8009515C 000920BC 41 80 FF D4 */ blt lbl_80095130 -/* 80095160 000920C0 80 7E 01 F8 */ lwz r3, 0x1f8(r30) -/* 80095164 000920C4 3B 83 00 01 */ addi r28, r3, 1 -/* 80095168 000920C8 57 9D 08 3C */ slwi r29, r28, 1 -/* 8009516C 000920CC 48 00 00 28 */ b lbl_80095194 -lbl_80095170: -/* 80095170 000920D0 80 DE 01 D4 */ lwz r6, 0x1d4(r30) -/* 80095174 000920D4 7F C3 F3 78 */ mr r3, r30 -/* 80095178 000920D8 7F E5 FB 78 */ mr r5, r31 -/* 8009517C 000920DC 38 81 00 08 */ addi r4, r1, 8 -/* 80095180 000920E0 7C 06 EA 2E */ lhzx r0, r6, r29 -/* 80095184 000920E4 B0 01 00 08 */ sth r0, 8(r1) -/* 80095188 000920E8 4B FF F7 71 */ bl SendArrivedMsg__16CCinematicCameraCF9TUniqueIdR13CStateManager -/* 8009518C 000920EC 3B BD 00 02 */ addi r29, r29, 2 -/* 80095190 000920F0 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80095194: -/* 80095194 000920F4 80 1E 01 CC */ lwz r0, 0x1cc(r30) -/* 80095198 000920F8 7C 1C 00 00 */ cmpw r28, r0 -/* 8009519C 000920FC 41 80 FF D4 */ blt lbl_80095170 -/* 800951A0 00092100 7F C3 F3 78 */ mr r3, r30 -/* 800951A4 00092104 7F E4 FB 78 */ mr r4, r31 -/* 800951A8 00092108 4B FF F6 E9 */ bl DeactivateSelf__16CCinematicCameraFR13CStateManager -lbl_800951AC: -/* 800951AC 0009210C E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 800951B0 00092110 CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 800951B4 00092114 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 800951B8 00092118 CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 800951BC 0009211C 83 E1 01 AC */ lwz r31, 0x1ac(r1) -/* 800951C0 00092120 83 C1 01 A8 */ lwz r30, 0x1a8(r1) -/* 800951C4 00092124 83 A1 01 A4 */ lwz r29, 0x1a4(r1) -/* 800951C8 00092128 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 800951CC 0009212C 83 81 01 A0 */ lwz r28, 0x1a0(r1) -/* 800951D0 00092130 7C 08 03 A6 */ mtlr r0 -/* 800951D4 00092134 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 800951D8 00092138 4E 80 00 20 */ blr - -.global Reset__16CCinematicCameraFRC12CTransform4fR13CStateManager -Reset__16CCinematicCameraFRC12CTransform4fR13CStateManager: -/* 800951DC 0009213C 4E 80 00 20 */ blr - -.global __dt__16CCinematicCameraFv -__dt__16CCinematicCameraFv: -/* 800951E0 00092140 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800951E4 00092144 7C 08 02 A6 */ mflr r0 -/* 800951E8 00092148 90 01 00 74 */ stw r0, 0x74(r1) -/* 800951EC 0009214C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800951F0 00092150 7C 9F 23 78 */ mr r31, r4 -/* 800951F4 00092154 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800951F8 00092158 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800951FC 0009215C 41 82 01 DC */ beq lbl_800953D8 -/* 80095200 00092160 3C 60 80 3E */ lis r3, lbl_803DADF8@ha -/* 80095204 00092164 34 1E 01 D8 */ addic. r0, r30, 0x1d8 -/* 80095208 00092168 38 03 AD F8 */ addi r0, r3, lbl_803DADF8@l -/* 8009520C 0009216C 90 1E 00 00 */ stw r0, 0(r30) -/* 80095210 00092170 41 82 00 44 */ beq lbl_80095254 -/* 80095214 00092174 80 1E 01 DC */ lwz r0, 0x1dc(r30) -/* 80095218 00092178 80 7E 01 E4 */ lwz r3, 0x1e4(r30) -/* 8009521C 0009217C 54 00 10 3A */ slwi r0, r0, 2 -/* 80095220 00092180 7C 03 02 14 */ add r0, r3, r0 -/* 80095224 00092184 90 61 00 5C */ stw r3, 0x5c(r1) -/* 80095228 00092188 7C 64 1B 78 */ mr r4, r3 -/* 8009522C 0009218C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80095230 00092190 90 01 00 60 */ stw r0, 0x60(r1) -/* 80095234 00092194 90 61 00 58 */ stw r3, 0x58(r1) -/* 80095238 00092198 48 00 00 08 */ b lbl_80095240 -lbl_8009523C: -/* 8009523C 0009219C 38 84 00 04 */ addi r4, r4, 4 -lbl_80095240: -/* 80095240 000921A0 7C 04 00 40 */ cmplw r4, r0 -/* 80095244 000921A4 40 82 FF F8 */ bne lbl_8009523C -/* 80095248 000921A8 28 03 00 00 */ cmplwi r3, 0 -/* 8009524C 000921AC 41 82 00 08 */ beq lbl_80095254 -/* 80095250 000921B0 48 28 06 E1 */ bl Free__7CMemoryFPCv -lbl_80095254: -/* 80095254 000921B4 34 1E 01 C8 */ addic. r0, r30, 0x1c8 -/* 80095258 000921B8 41 82 00 44 */ beq lbl_8009529C -/* 8009525C 000921BC 80 1E 01 CC */ lwz r0, 0x1cc(r30) -/* 80095260 000921C0 80 7E 01 D4 */ lwz r3, 0x1d4(r30) -/* 80095264 000921C4 54 00 08 3C */ slwi r0, r0, 1 -/* 80095268 000921C8 7C 03 02 14 */ add r0, r3, r0 -/* 8009526C 000921CC 90 61 00 4C */ stw r3, 0x4c(r1) -/* 80095270 000921D0 7C 64 1B 78 */ mr r4, r3 -/* 80095274 000921D4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80095278 000921D8 90 01 00 50 */ stw r0, 0x50(r1) -/* 8009527C 000921DC 90 61 00 48 */ stw r3, 0x48(r1) -/* 80095280 000921E0 48 00 00 08 */ b lbl_80095288 -lbl_80095284: -/* 80095284 000921E4 38 84 00 02 */ addi r4, r4, 2 -lbl_80095288: -/* 80095288 000921E8 7C 04 00 40 */ cmplw r4, r0 -/* 8009528C 000921EC 40 82 FF F8 */ bne lbl_80095284 -/* 80095290 000921F0 28 03 00 00 */ cmplwi r3, 0 -/* 80095294 000921F4 41 82 00 08 */ beq lbl_8009529C -/* 80095298 000921F8 48 28 06 99 */ bl Free__7CMemoryFPCv -lbl_8009529C: -/* 8009529C 000921FC 34 1E 01 B8 */ addic. r0, r30, 0x1b8 -/* 800952A0 00092200 41 82 00 44 */ beq lbl_800952E4 -/* 800952A4 00092204 80 1E 01 BC */ lwz r0, 0x1bc(r30) -/* 800952A8 00092208 80 7E 01 C4 */ lwz r3, 0x1c4(r30) -/* 800952AC 0009220C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800952B0 00092210 90 61 00 3C */ stw r3, 0x3c(r1) -/* 800952B4 00092214 7C 64 1B 78 */ mr r4, r3 -/* 800952B8 00092218 7C 03 02 14 */ add r0, r3, r0 -/* 800952BC 0009221C 90 61 00 38 */ stw r3, 0x38(r1) -/* 800952C0 00092220 90 01 00 44 */ stw r0, 0x44(r1) -/* 800952C4 00092224 90 01 00 40 */ stw r0, 0x40(r1) -/* 800952C8 00092228 48 00 00 08 */ b lbl_800952D0 -lbl_800952CC: -/* 800952CC 0009222C 38 84 00 0C */ addi r4, r4, 0xc -lbl_800952D0: -/* 800952D0 00092230 7C 04 00 40 */ cmplw r4, r0 -/* 800952D4 00092234 40 82 FF F8 */ bne lbl_800952CC -/* 800952D8 00092238 28 03 00 00 */ cmplwi r3, 0 -/* 800952DC 0009223C 41 82 00 08 */ beq lbl_800952E4 -/* 800952E0 00092240 48 28 06 51 */ bl Free__7CMemoryFPCv -lbl_800952E4: -/* 800952E4 00092244 34 1E 01 A8 */ addic. r0, r30, 0x1a8 -/* 800952E8 00092248 41 82 00 44 */ beq lbl_8009532C -/* 800952EC 0009224C 80 1E 01 AC */ lwz r0, 0x1ac(r30) -/* 800952F0 00092250 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 800952F4 00092254 54 00 08 3C */ slwi r0, r0, 1 -/* 800952F8 00092258 7C 03 02 14 */ add r0, r3, r0 -/* 800952FC 0009225C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80095300 00092260 7C 64 1B 78 */ mr r4, r3 -/* 80095304 00092264 90 01 00 34 */ stw r0, 0x34(r1) -/* 80095308 00092268 90 01 00 30 */ stw r0, 0x30(r1) -/* 8009530C 0009226C 90 61 00 28 */ stw r3, 0x28(r1) -/* 80095310 00092270 48 00 00 08 */ b lbl_80095318 -lbl_80095314: -/* 80095314 00092274 38 84 00 02 */ addi r4, r4, 2 -lbl_80095318: -/* 80095318 00092278 7C 04 00 40 */ cmplw r4, r0 -/* 8009531C 0009227C 40 82 FF F8 */ bne lbl_80095314 -/* 80095320 00092280 28 03 00 00 */ cmplwi r3, 0 -/* 80095324 00092284 41 82 00 08 */ beq lbl_8009532C -/* 80095328 00092288 48 28 06 09 */ bl Free__7CMemoryFPCv -lbl_8009532C: -/* 8009532C 0009228C 34 1E 01 98 */ addic. r0, r30, 0x198 -/* 80095330 00092290 41 82 00 44 */ beq lbl_80095374 -/* 80095334 00092294 80 1E 01 9C */ lwz r0, 0x19c(r30) -/* 80095338 00092298 80 7E 01 A4 */ lwz r3, 0x1a4(r30) -/* 8009533C 0009229C 54 00 20 36 */ slwi r0, r0, 4 -/* 80095340 000922A0 7C 03 02 14 */ add r0, r3, r0 -/* 80095344 000922A4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80095348 000922A8 7C 64 1B 78 */ mr r4, r3 -/* 8009534C 000922AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80095350 000922B0 90 01 00 20 */ stw r0, 0x20(r1) -/* 80095354 000922B4 90 61 00 18 */ stw r3, 0x18(r1) -/* 80095358 000922B8 48 00 00 08 */ b lbl_80095360 -lbl_8009535C: -/* 8009535C 000922BC 38 84 00 10 */ addi r4, r4, 0x10 -lbl_80095360: -/* 80095360 000922C0 7C 04 00 40 */ cmplw r4, r0 -/* 80095364 000922C4 40 82 FF F8 */ bne lbl_8009535C -/* 80095368 000922C8 28 03 00 00 */ cmplwi r3, 0 -/* 8009536C 000922CC 41 82 00 08 */ beq lbl_80095374 -/* 80095370 000922D0 48 28 05 C1 */ bl Free__7CMemoryFPCv -lbl_80095374: -/* 80095374 000922D4 34 1E 01 88 */ addic. r0, r30, 0x188 -/* 80095378 000922D8 41 82 00 44 */ beq lbl_800953BC -/* 8009537C 000922DC 80 1E 01 8C */ lwz r0, 0x18c(r30) -/* 80095380 000922E0 80 7E 01 94 */ lwz r3, 0x194(r30) -/* 80095384 000922E4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80095388 000922E8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8009538C 000922EC 7C 64 1B 78 */ mr r4, r3 -/* 80095390 000922F0 7C 03 02 14 */ add r0, r3, r0 -/* 80095394 000922F4 90 61 00 08 */ stw r3, 8(r1) -/* 80095398 000922F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009539C 000922FC 90 01 00 10 */ stw r0, 0x10(r1) -/* 800953A0 00092300 48 00 00 08 */ b lbl_800953A8 -lbl_800953A4: -/* 800953A4 00092304 38 84 00 0C */ addi r4, r4, 0xc -lbl_800953A8: -/* 800953A8 00092308 7C 04 00 40 */ cmplw r4, r0 -/* 800953AC 0009230C 40 82 FF F8 */ bne lbl_800953A4 -/* 800953B0 00092310 28 03 00 00 */ cmplwi r3, 0 -/* 800953B4 00092314 41 82 00 08 */ beq lbl_800953BC -/* 800953B8 00092318 48 28 05 79 */ bl Free__7CMemoryFPCv -lbl_800953BC: -/* 800953BC 0009231C 7F C3 F3 78 */ mr r3, r30 -/* 800953C0 00092320 38 80 00 00 */ li r4, 0 -/* 800953C4 00092324 4B FC 86 99 */ bl __dt__11CGameCameraFv -/* 800953C8 00092328 7F E0 07 35 */ extsh. r0, r31 -/* 800953CC 0009232C 40 81 00 0C */ ble lbl_800953D8 -/* 800953D0 00092330 7F C3 F3 78 */ mr r3, r30 -/* 800953D4 00092334 48 28 05 5D */ bl Free__7CMemoryFPCv -lbl_800953D8: -/* 800953D8 00092338 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800953DC 0009233C 7F C3 F3 78 */ mr r3, r30 -/* 800953E0 00092340 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800953E4 00092344 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800953E8 00092348 7C 08 03 A6 */ mtlr r0 -/* 800953EC 0009234C 38 21 00 70 */ addi r1, r1, 0x70 -/* 800953F0 00092350 4E 80 00 20 */ blr - -.global "__ct__16CCinematicCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi" -"__ct__16CCinematicCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi": -/* 800953F4 00092354 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800953F8 00092358 7C 08 02 A6 */ mflr r0 -/* 800953FC 0009235C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80095400 00092360 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80095404 00092364 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80095408 00092368 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8009540C 0009236C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80095410 00092370 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80095414 00092374 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80095418 00092378 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8009541C 0009237C A0 04 00 00 */ lhz r0, 0(r4) -/* 80095420 00092380 FF E0 10 90 */ fmr f31, f2 -/* 80095424 00092384 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 80095428 00092388 7D 3F 4B 78 */ mr r31, r9 -/* 8009542C 0009238C B0 01 00 14 */ sth r0, 0x14(r1) -/* 80095430 00092390 FF C0 08 90 */ fmr f30, f1 -/* 80095434 00092394 FC 40 18 90 */ fmr f2, f3 -/* 80095438 00092398 B0 81 00 10 */ sth r4, 0x10(r1) -/* 8009543C 0009239C 38 00 00 00 */ li r0, 0 -/* 80095440 000923A0 FC 60 20 90 */ fmr f3, f4 -/* 80095444 000923A4 7C A9 2B 78 */ mr r9, r5 -/* 80095448 000923A8 7C C4 33 78 */ mr r4, r6 -/* 8009544C 000923AC 7C FE 3B 78 */ mr r30, r7 -/* 80095450 000923B0 7D 05 43 78 */ mr r5, r8 -/* 80095454 000923B4 7D 26 4B 78 */ mr r6, r9 -/* 80095458 000923B8 7C 87 23 78 */ mr r7, r4 -/* 8009545C 000923BC FC 20 F8 90 */ fmr f1, f31 -/* 80095460 000923C0 FC 80 28 90 */ fmr f4, f5 -/* 80095464 000923C4 90 01 00 08 */ stw r0, 8(r1) -/* 80095468 000923C8 7C 7D 1B 78 */ mr r29, r3 -/* 8009546C 000923CC 7F C8 F3 78 */ mr r8, r30 -/* 80095470 000923D0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80095474 000923D4 39 21 00 10 */ addi r9, r1, 0x10 -/* 80095478 000923D8 57 EA DF FE */ rlwinm r10, r31, 0x1b, 0x1f, 0x1f -/* 8009547C 000923DC 4B FC 86 41 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" -/* 80095480 000923E0 3C 60 80 3E */ lis r3, lbl_803DADF8@ha -/* 80095484 000923E4 38 00 00 00 */ li r0, 0 -/* 80095488 000923E8 38 63 AD F8 */ addi r3, r3, lbl_803DADF8@l -/* 8009548C 000923EC C0 02 8B 40 */ lfs f0, lbl_805AA860@sda21(r2) -/* 80095490 000923F0 90 7D 00 00 */ stw r3, 0(r29) -/* 80095494 000923F4 7F C4 F3 78 */ mr r4, r30 -/* 80095498 000923F8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8009549C 000923FC 90 1D 01 8C */ stw r0, 0x18c(r29) -/* 800954A0 00092400 90 1D 01 90 */ stw r0, 0x190(r29) -/* 800954A4 00092404 90 1D 01 94 */ stw r0, 0x194(r29) -/* 800954A8 00092408 90 1D 01 9C */ stw r0, 0x19c(r29) -/* 800954AC 0009240C 90 1D 01 A0 */ stw r0, 0x1a0(r29) -/* 800954B0 00092410 90 1D 01 A4 */ stw r0, 0x1a4(r29) -/* 800954B4 00092414 90 1D 01 AC */ stw r0, 0x1ac(r29) -/* 800954B8 00092418 90 1D 01 B0 */ stw r0, 0x1b0(r29) -/* 800954BC 0009241C 90 1D 01 B4 */ stw r0, 0x1b4(r29) -/* 800954C0 00092420 90 1D 01 BC */ stw r0, 0x1bc(r29) -/* 800954C4 00092424 90 1D 01 C0 */ stw r0, 0x1c0(r29) -/* 800954C8 00092428 90 1D 01 C4 */ stw r0, 0x1c4(r29) -/* 800954CC 0009242C 90 1D 01 CC */ stw r0, 0x1cc(r29) -/* 800954D0 00092430 90 1D 01 D0 */ stw r0, 0x1d0(r29) -/* 800954D4 00092434 90 1D 01 D4 */ stw r0, 0x1d4(r29) -/* 800954D8 00092438 90 1D 01 DC */ stw r0, 0x1dc(r29) -/* 800954DC 0009243C 90 1D 01 E0 */ stw r0, 0x1e0(r29) -/* 800954E0 00092440 90 1D 01 E4 */ stw r0, 0x1e4(r29) -/* 800954E4 00092444 D3 DD 01 E8 */ stfs f30, 0x1e8(r29) -/* 800954E8 00092448 D0 1D 01 EC */ stfs f0, 0x1ec(r29) -/* 800954EC 0009244C D3 FD 01 F0 */ stfs f31, 0x1f0(r29) -/* 800954F0 00092450 90 1D 01 F4 */ stw r0, 0x1f4(r29) -/* 800954F4 00092454 90 1D 01 F8 */ stw r0, 0x1f8(r29) -/* 800954F8 00092458 48 27 CC 31 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 800954FC 0009245C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80095500 00092460 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80095504 00092464 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80095508 00092468 38 80 00 00 */ li r4, 0 -/* 8009550C 0009246C D0 1D 01 FC */ stfs f0, 0x1fc(r29) -/* 80095510 00092470 7F A3 EB 78 */ mr r3, r29 -/* 80095514 00092474 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80095518 00092478 D0 1D 02 00 */ stfs f0, 0x200(r29) -/* 8009551C 0009247C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80095520 00092480 D0 1D 02 04 */ stfs f0, 0x204(r29) -/* 80095524 00092484 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80095528 00092488 D0 1D 02 08 */ stfs f0, 0x208(r29) -/* 8009552C 0009248C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80095530 00092490 B0 1D 02 0C */ sth r0, 0x20c(r29) -/* 80095534 00092494 C0 05 00 00 */ lfs f0, 0(r5) -/* 80095538 00092498 D0 1D 02 10 */ stfs f0, 0x210(r29) -/* 8009553C 0009249C C0 05 00 04 */ lfs f0, 4(r5) -/* 80095540 000924A0 D0 1D 02 14 */ stfs f0, 0x214(r29) -/* 80095544 000924A4 C0 05 00 08 */ lfs f0, 8(r5) -/* 80095548 000924A8 D0 1D 02 18 */ stfs f0, 0x218(r29) -/* 8009554C 000924AC 93 FD 02 1C */ stw r31, 0x21c(r29) -/* 80095550 000924B0 88 1D 02 20 */ lbz r0, 0x220(r29) -/* 80095554 000924B4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80095558 000924B8 98 1D 02 20 */ stb r0, 0x220(r29) -/* 8009555C 000924BC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80095560 000924C0 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80095564 000924C4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80095568 000924C8 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8009556C 000924CC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80095570 000924D0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80095574 000924D4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80095578 000924D8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8009557C 000924DC 7C 08 03 A6 */ mtlr r0 -/* 80095580 000924E0 38 21 00 60 */ addi r1, r1, 0x60 -/* 80095584 000924E4 4E 80 00 20 */ blr - -.global "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi": -/* 80095588 000924E8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8009558C 000924EC 7C 08 02 A6 */ mflr r0 -/* 80095590 000924F0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80095594 000924F4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80095598 000924F8 7C 9F 23 78 */ mr r31, r4 -/* 8009559C 000924FC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800955A0 00092500 7C 7E 1B 78 */ mr r30, r3 -/* 800955A4 00092504 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800955A8 00092508 80 03 00 08 */ lwz r0, 8(r3) -/* 800955AC 0009250C 7C 1F 00 00 */ cmpw r31, r0 -/* 800955B0 00092510 40 81 00 C4 */ ble lbl_80095674 -/* 800955B4 00092514 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 800955B8 00092518 40 82 00 0C */ bne lbl_800955C4 -/* 800955BC 0009251C 3B A0 00 00 */ li r29, 0 -/* 800955C0 00092520 48 00 00 1C */ b lbl_800955DC -lbl_800955C4: -/* 800955C4 00092524 3C 80 80 3D */ lis r4, lbl_803CD7C0@ha -/* 800955C8 00092528 38 A0 00 00 */ li r5, 0 -/* 800955CC 0009252C 38 84 D7 C0 */ addi r4, r4, lbl_803CD7C0@l -/* 800955D0 00092530 38 84 00 0C */ addi r4, r4, 0xc -/* 800955D4 00092534 48 28 02 45 */ bl __nwa__FUlPCcPCc -/* 800955D8 00092538 7C 7D 1B 78 */ mr r29, r3 -lbl_800955DC: -/* 800955DC 0009253C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800955E0 00092540 7F A3 EB 78 */ mr r3, r29 -/* 800955E4 00092544 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 800955E8 00092548 54 00 20 36 */ slwi r0, r0, 4 -/* 800955EC 0009254C 7C 04 02 14 */ add r0, r4, r0 -/* 800955F0 00092550 90 81 00 10 */ stw r4, 0x10(r1) -/* 800955F4 00092554 90 01 00 08 */ stw r0, 8(r1) -/* 800955F8 00092558 90 01 00 0C */ stw r0, 0xc(r1) -/* 800955FC 0009255C 90 81 00 14 */ stw r4, 0x14(r1) -/* 80095600 00092560 48 00 00 34 */ b lbl_80095634 -lbl_80095604: -/* 80095604 00092564 28 03 00 00 */ cmplwi r3, 0 -/* 80095608 00092568 41 82 00 24 */ beq lbl_8009562C -/* 8009560C 0009256C C0 04 00 00 */ lfs f0, 0(r4) -/* 80095610 00092570 D0 03 00 00 */ stfs f0, 0(r3) -/* 80095614 00092574 C0 04 00 04 */ lfs f0, 4(r4) -/* 80095618 00092578 D0 03 00 04 */ stfs f0, 4(r3) -/* 8009561C 0009257C C0 04 00 08 */ lfs f0, 8(r4) -/* 80095620 00092580 D0 03 00 08 */ stfs f0, 8(r3) -/* 80095624 00092584 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80095628 00092588 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_8009562C: -/* 8009562C 0009258C 38 63 00 10 */ addi r3, r3, 0x10 -/* 80095630 00092590 38 84 00 10 */ addi r4, r4, 0x10 -lbl_80095634: -/* 80095634 00092594 7C 04 00 40 */ cmplw r4, r0 -/* 80095638 00092598 40 82 FF CC */ bne lbl_80095604 -/* 8009563C 0009259C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80095640 000925A0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80095644 000925A4 54 00 20 36 */ slwi r0, r0, 4 -/* 80095648 000925A8 7C 64 1B 78 */ mr r4, r3 -/* 8009564C 000925AC 7C 03 02 14 */ add r0, r3, r0 -/* 80095650 000925B0 48 00 00 08 */ b lbl_80095658 -lbl_80095654: -/* 80095654 000925B4 38 84 00 10 */ addi r4, r4, 0x10 -lbl_80095658: -/* 80095658 000925B8 7C 04 00 40 */ cmplw r4, r0 -/* 8009565C 000925BC 40 82 FF F8 */ bne lbl_80095654 -/* 80095660 000925C0 28 03 00 00 */ cmplwi r3, 0 -/* 80095664 000925C4 41 82 00 08 */ beq lbl_8009566C -/* 80095668 000925C8 48 28 02 C9 */ bl Free__7CMemoryFPCv -lbl_8009566C: -/* 8009566C 000925CC 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80095670 000925D0 93 FE 00 08 */ stw r31, 8(r30) -lbl_80095674: -/* 80095674 000925D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80095678 000925D8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8009567C 000925DC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80095680 000925E0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80095684 000925E4 7C 08 03 A6 */ mtlr r0 -/* 80095688 000925E8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8009568C 000925EC 4E 80 00 20 */ blr - -.global SetupMiniMapWorld__11CAutoMapperFv -SetupMiniMapWorld__11CAutoMapperFv: -/* 80095690 000925F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80095694 000925F4 7C 08 02 A6 */ mflr r0 -/* 80095698 000925F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009569C 000925FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800956A0 00092600 93 C1 00 08 */ stw r30, 8(r1) -/* 800956A4 00092604 7C 7E 1B 78 */ mr r30, r3 -/* 800956A8 00092608 83 E4 08 50 */ lwz r31, 0x850(r4) -/* 800956AC 0009260C 7F E3 FB 78 */ mr r3, r31 -/* 800956B0 00092610 4B FC 1F ED */ bl GetMapWorld__6CWorldCFv -/* 800956B4 00092614 80 BF 00 68 */ lwz r5, 0x68(r31) -/* 800956B8 00092618 7F E4 FB 78 */ mr r4, r31 -/* 800956BC 0009261C 38 C0 00 03 */ li r6, 3 -/* 800956C0 00092620 48 00 BB 49 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii -/* 800956C4 00092624 38 00 00 03 */ li r0, 3 -/* 800956C8 00092628 90 1E 03 28 */ stw r0, 0x328(r30) -/* 800956CC 0009262C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800956D0 00092630 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800956D4 00092634 83 C1 00 08 */ lwz r30, 8(r1) -/* 800956D8 00092638 7C 08 03 A6 */ mtlr r0 -/* 800956DC 0009263C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800956E0 00092640 4E 80 00 20 */ blr - -.global LeaveMapScreen__11CAutoMapperCFRC13CStateManager -LeaveMapScreen__11CAutoMapperCFRC13CStateManager: -/* 800956E4 00092644 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800956E8 00092648 7C 08 02 A6 */ mflr r0 -/* 800956EC 0009264C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800956F0 00092650 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800956F4 00092654 7C 9F 23 78 */ mr r31, r4 -/* 800956F8 00092658 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800956FC 0009265C 7C 7E 1B 78 */ mr r30, r3 -/* 80095700 00092660 80 03 01 C0 */ lwz r0, 0x1c0(r3) -/* 80095704 00092664 2C 00 00 02 */ cmpwi r0, 2 -/* 80095708 00092668 40 82 00 28 */ bne lbl_80095730 -/* 8009570C 0009266C 48 00 0B A9 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -/* 80095710 00092670 D0 3E 01 30 */ stfs f1, 0x130(r30) -/* 80095714 00092674 7F C3 F3 78 */ mr r3, r30 -/* 80095718 00092678 7F E4 FB 78 */ mr r4, r31 -/* 8009571C 0009267C D0 3E 01 34 */ stfs f1, 0x134(r30) -/* 80095720 00092680 D0 3E 00 D4 */ stfs f1, 0xd4(r30) -/* 80095724 00092684 D0 3E 00 D8 */ stfs f1, 0xd8(r30) -/* 80095728 00092688 4B FF FF 69 */ bl SetupMiniMapWorld__11CAutoMapperFv -/* 8009572C 0009268C 48 00 01 F8 */ b lbl_80095924 -lbl_80095730: -/* 80095730 00092690 38 00 00 02 */ li r0, 2 -/* 80095734 00092694 38 61 00 08 */ addi r3, r1, 8 -/* 80095738 00092698 90 1E 03 28 */ stw r0, 0x328(r30) -/* 8009573C 0009269C 80 9E 00 A8 */ lwz r4, 0xa8(r30) -/* 80095740 000926A0 80 1E 00 AC */ lwz r0, 0xac(r30) -/* 80095744 000926A4 90 9E 01 04 */ stw r4, 0x104(r30) -/* 80095748 000926A8 90 1E 01 08 */ stw r0, 0x108(r30) -/* 8009574C 000926AC 80 9E 00 B0 */ lwz r4, 0xb0(r30) -/* 80095750 000926B0 80 1E 00 B4 */ lwz r0, 0xb4(r30) -/* 80095754 000926B4 90 9E 01 0C */ stw r4, 0x10c(r30) -/* 80095758 000926B8 90 1E 01 10 */ stw r0, 0x110(r30) -/* 8009575C 000926BC 80 9E 00 B8 */ lwz r4, 0xb8(r30) -/* 80095760 000926C0 80 1E 00 BC */ lwz r0, 0xbc(r30) -/* 80095764 000926C4 90 9E 01 14 */ stw r4, 0x114(r30) -/* 80095768 000926C8 90 1E 01 18 */ stw r0, 0x118(r30) -/* 8009576C 000926CC C0 1E 00 C0 */ lfs f0, 0xc0(r30) -/* 80095770 000926D0 D0 1E 01 1C */ stfs f0, 0x11c(r30) -/* 80095774 000926D4 C0 1E 00 C4 */ lfs f0, 0xc4(r30) -/* 80095778 000926D8 D0 1E 01 20 */ stfs f0, 0x120(r30) -/* 8009577C 000926DC 80 9E 00 C8 */ lwz r4, 0xc8(r30) -/* 80095780 000926E0 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 80095784 000926E4 90 9E 01 24 */ stw r4, 0x124(r30) -/* 80095788 000926E8 90 1E 01 28 */ stw r0, 0x128(r30) -/* 8009578C 000926EC 80 1E 00 D0 */ lwz r0, 0xd0(r30) -/* 80095790 000926F0 90 1E 01 2C */ stw r0, 0x12c(r30) -/* 80095794 000926F4 C0 1E 00 D4 */ lfs f0, 0xd4(r30) -/* 80095798 000926F8 D0 1E 01 30 */ stfs f0, 0x130(r30) -/* 8009579C 000926FC C0 1E 00 D8 */ lfs f0, 0xd8(r30) -/* 800957A0 00092700 D0 1E 01 34 */ stfs f0, 0x134(r30) -/* 800957A4 00092704 C0 1E 00 DC */ lfs f0, 0xdc(r30) -/* 800957A8 00092708 D0 1E 01 38 */ stfs f0, 0x138(r30) -/* 800957AC 0009270C C0 1E 00 E0 */ lfs f0, 0xe0(r30) -/* 800957B0 00092710 D0 1E 01 3C */ stfs f0, 0x13c(r30) -/* 800957B4 00092714 C0 1E 00 E4 */ lfs f0, 0xe4(r30) -/* 800957B8 00092718 D0 1E 01 40 */ stfs f0, 0x140(r30) -/* 800957BC 0009271C C0 1E 00 E8 */ lfs f0, 0xe8(r30) -/* 800957C0 00092720 D0 1E 01 44 */ stfs f0, 0x144(r30) -/* 800957C4 00092724 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800957C8 00092728 90 1E 01 48 */ stw r0, 0x148(r30) -/* 800957CC 0009272C 80 1E 00 F0 */ lwz r0, 0xf0(r30) -/* 800957D0 00092730 90 1E 01 4C */ stw r0, 0x14c(r30) -/* 800957D4 00092734 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 800957D8 00092738 90 1E 01 50 */ stw r0, 0x150(r30) -/* 800957DC 0009273C 80 1E 00 F8 */ lwz r0, 0xf8(r30) -/* 800957E0 00092740 90 1E 01 54 */ stw r0, 0x154(r30) -/* 800957E4 00092744 80 1E 00 FC */ lwz r0, 0xfc(r30) -/* 800957E8 00092748 90 1E 01 58 */ stw r0, 0x158(r30) -/* 800957EC 0009274C 80 1E 01 00 */ lwz r0, 0x100(r30) -/* 800957F0 00092750 90 1E 01 5C */ stw r0, 0x15c(r30) -/* 800957F4 00092754 80 9E 01 04 */ lwz r4, 0x104(r30) -/* 800957F8 00092758 80 1E 01 08 */ lwz r0, 0x108(r30) -/* 800957FC 0009275C 90 9E 01 60 */ stw r4, 0x160(r30) -/* 80095800 00092760 90 1E 01 64 */ stw r0, 0x164(r30) -/* 80095804 00092764 80 9E 01 0C */ lwz r4, 0x10c(r30) -/* 80095808 00092768 80 1E 01 10 */ lwz r0, 0x110(r30) -/* 8009580C 0009276C 90 9E 01 68 */ stw r4, 0x168(r30) -/* 80095810 00092770 90 1E 01 6C */ stw r0, 0x16c(r30) -/* 80095814 00092774 80 9E 01 14 */ lwz r4, 0x114(r30) -/* 80095818 00092778 80 1E 01 18 */ lwz r0, 0x118(r30) -/* 8009581C 0009277C 90 9E 01 70 */ stw r4, 0x170(r30) -/* 80095820 00092780 90 1E 01 74 */ stw r0, 0x174(r30) -/* 80095824 00092784 C0 1E 01 1C */ lfs f0, 0x11c(r30) -/* 80095828 00092788 D0 1E 01 78 */ stfs f0, 0x178(r30) -/* 8009582C 0009278C C0 1E 01 20 */ lfs f0, 0x120(r30) -/* 80095830 00092790 D0 1E 01 7C */ stfs f0, 0x17c(r30) -/* 80095834 00092794 80 9E 01 24 */ lwz r4, 0x124(r30) -/* 80095838 00092798 80 1E 01 28 */ lwz r0, 0x128(r30) -/* 8009583C 0009279C 90 9E 01 80 */ stw r4, 0x180(r30) -/* 80095840 000927A0 90 1E 01 84 */ stw r0, 0x184(r30) -/* 80095844 000927A4 80 1E 01 2C */ lwz r0, 0x12c(r30) -/* 80095848 000927A8 90 1E 01 88 */ stw r0, 0x188(r30) -/* 8009584C 000927AC C0 1E 01 30 */ lfs f0, 0x130(r30) -/* 80095850 000927B0 D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 80095854 000927B4 C0 1E 01 34 */ lfs f0, 0x134(r30) -/* 80095858 000927B8 D0 1E 01 90 */ stfs f0, 0x190(r30) -/* 8009585C 000927BC C0 1E 01 38 */ lfs f0, 0x138(r30) -/* 80095860 000927C0 D0 1E 01 94 */ stfs f0, 0x194(r30) -/* 80095864 000927C4 C0 1E 01 3C */ lfs f0, 0x13c(r30) -/* 80095868 000927C8 D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 8009586C 000927CC C0 1E 01 40 */ lfs f0, 0x140(r30) -/* 80095870 000927D0 D0 1E 01 9C */ stfs f0, 0x19c(r30) -/* 80095874 000927D4 C0 1E 01 44 */ lfs f0, 0x144(r30) -/* 80095878 000927D8 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) -/* 8009587C 000927DC 80 1E 01 48 */ lwz r0, 0x148(r30) -/* 80095880 000927E0 90 1E 01 A4 */ stw r0, 0x1a4(r30) -/* 80095884 000927E4 80 1E 01 4C */ lwz r0, 0x14c(r30) -/* 80095888 000927E8 90 1E 01 A8 */ stw r0, 0x1a8(r30) -/* 8009588C 000927EC 80 1E 01 50 */ lwz r0, 0x150(r30) -/* 80095890 000927F0 90 1E 01 AC */ stw r0, 0x1ac(r30) -/* 80095894 000927F4 80 1E 01 54 */ lwz r0, 0x154(r30) -/* 80095898 000927F8 90 1E 01 B0 */ stw r0, 0x1b0(r30) -/* 8009589C 000927FC 80 1E 01 58 */ lwz r0, 0x158(r30) -/* 800958A0 00092800 90 1E 01 B4 */ stw r0, 0x1b4(r30) -/* 800958A4 00092804 80 1E 01 5C */ lwz r0, 0x15c(r30) -/* 800958A8 00092808 90 1E 01 B8 */ stw r0, 0x1b8(r30) -/* 800958AC 0009280C 80 9E 00 24 */ lwz r4, 0x24(r30) -/* 800958B0 00092810 81 84 00 00 */ lwz r12, 0(r4) -/* 800958B4 00092814 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800958B8 00092818 7D 89 03 A6 */ mtctr r12 -/* 800958BC 0009281C 4E 80 04 21 */ bctrl -/* 800958C0 00092820 80 01 00 08 */ lwz r0, 8(r1) -/* 800958C4 00092824 7F C4 F3 78 */ mr r4, r30 -/* 800958C8 00092828 7F E5 FB 78 */ mr r5, r31 -/* 800958CC 0009282C 38 61 00 0C */ addi r3, r1, 0xc -/* 800958D0 00092830 90 1E 00 A0 */ stw r0, 0xa0(r30) -/* 800958D4 00092834 80 DE 00 A0 */ lwz r6, 0xa0(r30) -/* 800958D8 00092838 48 00 10 81 */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri -/* 800958DC 0009283C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800958E0 00092840 38 00 00 01 */ li r0, 1 -/* 800958E4 00092844 D0 1E 01 24 */ stfs f0, 0x124(r30) -/* 800958E8 00092848 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800958EC 0009284C D0 1E 01 28 */ stfs f0, 0x128(r30) -/* 800958F0 00092850 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800958F4 00092854 D0 1E 01 2C */ stfs f0, 0x12c(r30) -/* 800958F8 00092858 90 1E 01 50 */ stw r0, 0x150(r30) -/* 800958FC 0009285C 48 00 09 B9 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -/* 80095900 00092860 D0 3E 01 30 */ stfs f1, 0x130(r30) -/* 80095904 00092864 48 00 09 B1 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -/* 80095908 00092868 D0 3E 01 34 */ stfs f1, 0x134(r30) -/* 8009590C 0009286C 38 00 00 01 */ li r0, 1 -/* 80095910 00092870 C0 22 8B 6C */ lfs f1, lbl_805AA88C@sda21(r2) -/* 80095914 00092874 7F C3 F3 78 */ mr r3, r30 -/* 80095918 00092878 90 1E 01 54 */ stw r0, 0x154(r30) -/* 8009591C 0009287C 90 1E 01 58 */ stw r0, 0x158(r30) -/* 80095920 00092880 48 00 18 59 */ bl ResetInterpolationTimer__11CAutoMapperFf -lbl_80095924: -/* 80095924 00092884 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80095928 00092888 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009592C 0009288C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80095930 00092890 7C 08 03 A6 */ mtlr r0 -/* 80095934 00092894 38 21 00 20 */ addi r1, r1, 0x20 -/* 80095938 00092898 4E 80 00 20 */ blr - -.global SetCurWorldAssetId__11CAutoMapperFi -SetCurWorldAssetId__11CAutoMapperFi: -/* 8009593C 0009289C 80 E3 00 10 */ lwz r7, 0x10(r3) -/* 80095940 000928A0 39 00 00 00 */ li r8, 0 -/* 80095944 000928A4 38 C0 00 00 */ li r6, 0 -/* 80095948 000928A8 80 07 00 14 */ lwz r0, 0x14(r7) -/* 8009594C 000928AC 7C 09 03 A6 */ mtctr r0 -/* 80095950 000928B0 2C 00 00 00 */ cmpwi r0, 0 -/* 80095954 000928B4 4C 81 00 20 */ blelr -lbl_80095958: -/* 80095958 000928B8 80 A7 00 1C */ lwz r5, 0x1c(r7) -/* 8009595C 000928BC 38 06 00 10 */ addi r0, r6, 0x10 -/* 80095960 000928C0 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80095964 000928C4 7C 04 00 40 */ cmplw r4, r0 -/* 80095968 000928C8 40 82 00 0C */ bne lbl_80095974 -/* 8009596C 000928CC 91 03 00 9C */ stw r8, 0x9c(r3) -/* 80095970 000928D0 4E 80 00 20 */ blr -lbl_80095974: -/* 80095974 000928D4 38 C6 00 70 */ addi r6, r6, 0x70 -/* 80095978 000928D8 39 08 00 01 */ addi r8, r8, 1 -/* 8009597C 000928DC 42 00 FF DC */ bdnz lbl_80095958 - -.global sub_80095980 -sub_80095980: -/* 80095980 000928E0 4E 80 00 20 */ blr - -.global TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState -TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState: -/* 80095984 000928E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80095988 000928E8 7C 08 02 A6 */ mflr r0 -/* 8009598C 000928EC 7C 65 1B 78 */ mr r5, r3 -/* 80095990 000928F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80095994 000928F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80095998 000928F8 7C 9F 23 78 */ mr r31, r4 -/* 8009599C 000928FC 80 03 00 9C */ lwz r0, 0x9c(r3) -/* 800959A0 00092900 38 61 00 08 */ addi r3, r1, 8 -/* 800959A4 00092904 80 C5 00 10 */ lwz r6, 0x10(r5) -/* 800959A8 00092908 38 A5 01 24 */ addi r5, r5, 0x124 -/* 800959AC 0009290C 1C 80 00 70 */ mulli r4, r0, 0x70 -/* 800959B0 00092910 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 800959B4 00092914 38 84 00 14 */ addi r4, r4, 0x14 -/* 800959B8 00092918 7C 80 22 14 */ add r4, r0, r4 -/* 800959BC 0009291C 48 27 D1 2D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800959C0 00092920 C0 01 00 08 */ lfs f0, 8(r1) -/* 800959C4 00092924 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 800959C8 00092928 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800959CC 0009292C D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 800959D0 00092930 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800959D4 00092934 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 800959D8 00092938 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800959DC 0009293C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800959E0 00092940 7C 08 03 A6 */ mtlr r0 -/* 800959E4 00092944 38 21 00 20 */ addi r1, r1, 0x20 -/* 800959E8 00092948 4E 80 00 20 */ blr - -.global TransformRenderStatesUniverseToWorld__11CAutoMapperFv -TransformRenderStatesUniverseToWorld__11CAutoMapperFv: -/* 800959EC 0009294C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 800959F0 00092950 7C 08 02 A6 */ mflr r0 -/* 800959F4 00092954 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 800959F8 00092958 93 E1 00 EC */ stw r31, 0xec(r1) -/* 800959FC 0009295C 7C 7F 1B 78 */ mr r31, r3 -/* 80095A00 00092960 38 61 00 7C */ addi r3, r1, 0x7c -/* 80095A04 00092964 80 1F 00 9C */ lwz r0, 0x9c(r31) -/* 80095A08 00092968 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 80095A0C 0009296C 1C 80 00 70 */ mulli r4, r0, 0x70 -/* 80095A10 00092970 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80095A14 00092974 38 84 00 14 */ addi r4, r4, 0x14 -/* 80095A18 00092978 7C 80 22 14 */ add r4, r0, r4 -/* 80095A1C 0009297C 48 27 D2 81 */ bl GetQuickInverse__12CTransform4fCFv -/* 80095A20 00092980 38 61 00 AC */ addi r3, r1, 0xac -/* 80095A24 00092984 38 81 00 7C */ addi r4, r1, 0x7c -/* 80095A28 00092988 48 27 D1 4D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80095A2C 0009298C 38 61 00 5C */ addi r3, r1, 0x5c -/* 80095A30 00092990 38 81 00 AC */ addi r4, r1, 0xac -/* 80095A34 00092994 48 27 C6 F5 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80095A38 00092998 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 80095A3C 0009299C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80095A40 000929A0 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 80095A44 000929A4 38 9F 01 68 */ addi r4, r31, 0x168 -/* 80095A48 000929A8 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 80095A4C 000929AC 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80095A50 000929B0 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80095A54 000929B4 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 80095A58 000929B8 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80095A5C 000929BC D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80095A60 000929C0 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80095A64 000929C4 48 27 B7 3D */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80095A68 000929C8 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80095A6C 000929CC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80095A70 000929D0 38 81 00 AC */ addi r4, r1, 0xac -/* 80095A74 000929D4 38 BF 01 80 */ addi r5, r31, 0x180 -/* 80095A78 000929D8 D0 1F 01 68 */ stfs f0, 0x168(r31) -/* 80095A7C 000929DC 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 80095A80 000929E0 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80095A84 000929E4 90 DF 01 6C */ stw r6, 0x16c(r31) -/* 80095A88 000929E8 90 1F 01 70 */ stw r0, 0x170(r31) -/* 80095A8C 000929EC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80095A90 000929F0 90 1F 01 74 */ stw r0, 0x174(r31) -/* 80095A94 000929F4 48 27 D0 55 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80095A98 000929F8 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80095A9C 000929FC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80095AA0 00092A00 38 9F 00 B0 */ addi r4, r31, 0xb0 -/* 80095AA4 00092A04 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80095AA8 00092A08 D0 1F 01 80 */ stfs f0, 0x180(r31) -/* 80095AAC 00092A0C C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80095AB0 00092A10 D0 1F 01 84 */ stfs f0, 0x184(r31) -/* 80095AB4 00092A14 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80095AB8 00092A18 D0 1F 01 88 */ stfs f0, 0x188(r31) -/* 80095ABC 00092A1C 48 27 B6 E5 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80095AC0 00092A20 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80095AC4 00092A24 38 61 00 44 */ addi r3, r1, 0x44 -/* 80095AC8 00092A28 38 81 00 AC */ addi r4, r1, 0xac -/* 80095ACC 00092A2C 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 80095AD0 00092A30 D0 1F 00 B0 */ stfs f0, 0xb0(r31) -/* 80095AD4 00092A34 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80095AD8 00092A38 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80095ADC 00092A3C 90 DF 00 B4 */ stw r6, 0xb4(r31) -/* 80095AE0 00092A40 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 80095AE4 00092A44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80095AE8 00092A48 90 1F 00 BC */ stw r0, 0xbc(r31) -/* 80095AEC 00092A4C 48 27 CF FD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80095AF0 00092A50 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80095AF4 00092A54 38 61 00 08 */ addi r3, r1, 8 -/* 80095AF8 00092A58 38 9F 01 0C */ addi r4, r31, 0x10c -/* 80095AFC 00092A5C 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80095B00 00092A60 D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 80095B04 00092A64 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80095B08 00092A68 D0 1F 00 CC */ stfs f0, 0xcc(r31) -/* 80095B0C 00092A6C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80095B10 00092A70 D0 1F 00 D0 */ stfs f0, 0xd0(r31) -/* 80095B14 00092A74 48 27 B6 8D */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80095B18 00092A78 C0 01 00 08 */ lfs f0, 8(r1) -/* 80095B1C 00092A7C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80095B20 00092A80 38 81 00 AC */ addi r4, r1, 0xac -/* 80095B24 00092A84 38 BF 01 24 */ addi r5, r31, 0x124 -/* 80095B28 00092A88 D0 1F 01 0C */ stfs f0, 0x10c(r31) -/* 80095B2C 00092A8C 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 80095B30 00092A90 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80095B34 00092A94 90 DF 01 10 */ stw r6, 0x110(r31) -/* 80095B38 00092A98 90 1F 01 14 */ stw r0, 0x114(r31) -/* 80095B3C 00092A9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80095B40 00092AA0 90 1F 01 18 */ stw r0, 0x118(r31) -/* 80095B44 00092AA4 48 27 CF A5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80095B48 00092AA8 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80095B4C 00092AAC D0 1F 01 24 */ stfs f0, 0x124(r31) -/* 80095B50 00092AB0 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80095B54 00092AB4 D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 80095B58 00092AB8 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80095B5C 00092ABC D0 1F 01 2C */ stfs f0, 0x12c(r31) -/* 80095B60 00092AC0 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 80095B64 00092AC4 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80095B68 00092AC8 7C 08 03 A6 */ mtlr r0 -/* 80095B6C 00092ACC 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 80095B70 00092AD0 4E 80 00 20 */ blr - -.global TransformRenderStatesWorldToUniverse__11CAutoMapperFv -TransformRenderStatesWorldToUniverse__11CAutoMapperFv: -/* 80095B74 00092AD4 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80095B78 00092AD8 7C 08 02 A6 */ mflr r0 -/* 80095B7C 00092ADC 90 01 00 94 */ stw r0, 0x94(r1) -/* 80095B80 00092AE0 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80095B84 00092AE4 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80095B88 00092AE8 7C 7E 1B 78 */ mr r30, r3 -/* 80095B8C 00092AEC 38 61 00 5C */ addi r3, r1, 0x5c -/* 80095B90 00092AF0 80 1E 00 9C */ lwz r0, 0x9c(r30) -/* 80095B94 00092AF4 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 80095B98 00092AF8 1C 80 00 70 */ mulli r4, r0, 0x70 -/* 80095B9C 00092AFC 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80095BA0 00092B00 3B E4 00 14 */ addi r31, r4, 0x14 -/* 80095BA4 00092B04 7F E0 FA 14 */ add r31, r0, r31 -/* 80095BA8 00092B08 7F E4 FB 78 */ mr r4, r31 -/* 80095BAC 00092B0C 48 27 C5 7D */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80095BB0 00092B10 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 80095BB4 00092B14 38 61 00 28 */ addi r3, r1, 0x28 -/* 80095BB8 00092B18 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 80095BBC 00092B1C 38 9E 01 68 */ addi r4, r30, 0x168 -/* 80095BC0 00092B20 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 80095BC4 00092B24 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80095BC8 00092B28 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80095BCC 00092B2C D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 80095BD0 00092B30 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80095BD4 00092B34 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80095BD8 00092B38 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80095BDC 00092B3C 48 27 B5 C5 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80095BE0 00092B40 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80095BE4 00092B44 7F E4 FB 78 */ mr r4, r31 -/* 80095BE8 00092B48 38 61 00 50 */ addi r3, r1, 0x50 -/* 80095BEC 00092B4C 38 BE 01 80 */ addi r5, r30, 0x180 -/* 80095BF0 00092B50 D0 1E 01 68 */ stfs f0, 0x168(r30) -/* 80095BF4 00092B54 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 80095BF8 00092B58 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80095BFC 00092B5C 90 DE 01 6C */ stw r6, 0x16c(r30) -/* 80095C00 00092B60 90 1E 01 70 */ stw r0, 0x170(r30) -/* 80095C04 00092B64 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80095C08 00092B68 90 1E 01 74 */ stw r0, 0x174(r30) -/* 80095C0C 00092B6C 48 27 CE DD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80095C10 00092B70 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80095C14 00092B74 38 61 00 18 */ addi r3, r1, 0x18 -/* 80095C18 00092B78 38 9E 00 B0 */ addi r4, r30, 0xb0 -/* 80095C1C 00092B7C 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80095C20 00092B80 D0 1E 01 80 */ stfs f0, 0x180(r30) -/* 80095C24 00092B84 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80095C28 00092B88 D0 1E 01 84 */ stfs f0, 0x184(r30) -/* 80095C2C 00092B8C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80095C30 00092B90 D0 1E 01 88 */ stfs f0, 0x188(r30) -/* 80095C34 00092B94 48 27 B5 6D */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80095C38 00092B98 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80095C3C 00092B9C 7F E4 FB 78 */ mr r4, r31 -/* 80095C40 00092BA0 38 61 00 44 */ addi r3, r1, 0x44 -/* 80095C44 00092BA4 38 BE 00 C8 */ addi r5, r30, 0xc8 -/* 80095C48 00092BA8 D0 1E 00 B0 */ stfs f0, 0xb0(r30) -/* 80095C4C 00092BAC 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80095C50 00092BB0 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80095C54 00092BB4 90 DE 00 B4 */ stw r6, 0xb4(r30) -/* 80095C58 00092BB8 90 1E 00 B8 */ stw r0, 0xb8(r30) -/* 80095C5C 00092BBC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80095C60 00092BC0 90 1E 00 BC */ stw r0, 0xbc(r30) -/* 80095C64 00092BC4 48 27 CE 85 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80095C68 00092BC8 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80095C6C 00092BCC 38 61 00 08 */ addi r3, r1, 8 -/* 80095C70 00092BD0 38 9E 01 0C */ addi r4, r30, 0x10c -/* 80095C74 00092BD4 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80095C78 00092BD8 D0 1E 00 C8 */ stfs f0, 0xc8(r30) -/* 80095C7C 00092BDC C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80095C80 00092BE0 D0 1E 00 CC */ stfs f0, 0xcc(r30) -/* 80095C84 00092BE4 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80095C88 00092BE8 D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 80095C8C 00092BEC 48 27 B5 15 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80095C90 00092BF0 C0 01 00 08 */ lfs f0, 8(r1) -/* 80095C94 00092BF4 7F E4 FB 78 */ mr r4, r31 -/* 80095C98 00092BF8 38 61 00 38 */ addi r3, r1, 0x38 -/* 80095C9C 00092BFC 38 BE 01 24 */ addi r5, r30, 0x124 -/* 80095CA0 00092C00 D0 1E 01 0C */ stfs f0, 0x10c(r30) -/* 80095CA4 00092C04 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 80095CA8 00092C08 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80095CAC 00092C0C 90 DE 01 10 */ stw r6, 0x110(r30) -/* 80095CB0 00092C10 90 1E 01 14 */ stw r0, 0x114(r30) -/* 80095CB4 00092C14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80095CB8 00092C18 90 1E 01 18 */ stw r0, 0x118(r30) -/* 80095CBC 00092C1C 48 27 CE 2D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80095CC0 00092C20 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80095CC4 00092C24 D0 1E 01 24 */ stfs f0, 0x124(r30) -/* 80095CC8 00092C28 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80095CCC 00092C2C D0 1E 01 28 */ stfs f0, 0x128(r30) -/* 80095CD0 00092C30 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80095CD4 00092C34 D0 1E 01 2C */ stfs f0, 0x12c(r30) -/* 80095CD8 00092C38 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80095CDC 00092C3C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80095CE0 00092C40 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80095CE4 00092C44 7C 08 03 A6 */ mtlr r0 -/* 80095CE8 00092C48 38 21 00 90 */ addi r1, r1, 0x90 -/* 80095CEC 00092C4C 4E 80 00 20 */ blr - -.global IsRenderStateInterpolating__11CAutoMapperCFv -IsRenderStateInterpolating__11CAutoMapperCFv: -/* 80095CF0 00092C50 C0 23 01 C8 */ lfs f1, 0x1c8(r3) -/* 80095CF4 00092C54 C0 03 01 C4 */ lfs f0, 0x1c4(r3) -/* 80095CF8 00092C58 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80095CFC 00092C5C 7C 00 00 26 */ mfcr r0 -/* 80095D00 00092C60 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80095D04 00092C64 4E 80 00 20 */ blr - -.global IsInMapperStateTransition__11CAutoMapperCFv -IsInMapperStateTransition__11CAutoMapperCFv: -/* 80095D08 00092C68 80 83 01 BC */ lwz r4, 0x1bc(r3) -/* 80095D0C 00092C6C 80 03 01 C0 */ lwz r0, 0x1c0(r3) -/* 80095D10 00092C70 7C 64 00 50 */ subf r3, r4, r0 -/* 80095D14 00092C74 7C 00 20 50 */ subf r0, r0, r4 -/* 80095D18 00092C78 7C 60 03 78 */ or r0, r3, r0 -/* 80095D1C 00092C7C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80095D20 00092C80 4E 80 00 20 */ blr - -.global IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState: -/* 80095D24 00092C84 80 03 01 BC */ lwz r0, 0x1bc(r3) -/* 80095D28 00092C88 38 A0 00 00 */ li r5, 0 -/* 80095D2C 00092C8C 7C 04 00 00 */ cmpw r4, r0 -/* 80095D30 00092C90 40 82 00 14 */ bne lbl_80095D44 -/* 80095D34 00092C94 80 03 01 C0 */ lwz r0, 0x1c0(r3) -/* 80095D38 00092C98 7C 04 00 00 */ cmpw r4, r0 -/* 80095D3C 00092C9C 40 82 00 08 */ bne lbl_80095D44 -/* 80095D40 00092CA0 38 A0 00 01 */ li r5, 1 -lbl_80095D44: -/* 80095D44 00092CA4 7C A3 2B 78 */ mr r3, r5 -/* 80095D48 00092CA8 4E 80 00 20 */ blr - -.global GetFinalMapScreenCameraMoveSpeed__11CAutoMapperCFv -GetFinalMapScreenCameraMoveSpeed__11CAutoMapperCFv: -/* 80095D4C 00092CAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80095D50 00092CB0 7C 08 02 A6 */ mflr r0 -/* 80095D54 00092CB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80095D58 00092CB8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80095D5C 00092CBC 7C 7F 1B 78 */ mr r31, r3 -/* 80095D60 00092CC0 48 00 00 39 */ bl GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv -/* 80095D64 00092CC4 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 80095D68 00092CC8 88 03 00 04 */ lbz r0, 4(r3) -/* 80095D6C 00092CCC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80095D70 00092CD0 41 82 00 14 */ beq lbl_80095D84 -/* 80095D74 00092CD4 C0 5F 00 C0 */ lfs f2, 0xc0(r31) -/* 80095D78 00092CD8 C0 03 00 08 */ lfs f0, 8(r3) -/* 80095D7C 00092CDC EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80095D80 00092CE0 EC 21 00 24 */ fdivs f1, f1, f0 -lbl_80095D84: -/* 80095D84 00092CE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80095D88 00092CE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80095D8C 00092CEC 7C 08 03 A6 */ mtlr r0 -/* 80095D90 00092CF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80095D94 00092CF4 4E 80 00 20 */ blr - -.global GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv -GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv: -/* 80095D98 00092CF8 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 80095D9C 00092CFC C0 23 00 78 */ lfs f1, 0x78(r3) -/* 80095DA0 00092D00 4E 80 00 20 */ blr - -.global GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager -GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager: -/* 80095DA4 00092D04 94 21 FE 90 */ stwu r1, -0x170(r1) -/* 80095DA8 00092D08 7C 08 02 A6 */ mflr r0 -/* 80095DAC 00092D0C 90 01 01 74 */ stw r0, 0x174(r1) -/* 80095DB0 00092D10 DB E1 01 60 */ stfd f31, 0x160(r1) -/* 80095DB4 00092D14 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 -/* 80095DB8 00092D18 DB C1 01 50 */ stfd f30, 0x150(r1) -/* 80095DBC 00092D1C F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0 -/* 80095DC0 00092D20 DB A1 01 40 */ stfd f29, 0x140(r1) -/* 80095DC4 00092D24 F3 A1 01 48 */ psq_st f29, 328(r1), 0, qr0 -/* 80095DC8 00092D28 BE A1 01 14 */ stmw r21, 0x114(r1) -/* 80095DCC 00092D2C 7C 7D 1B 78 */ mr r29, r3 -/* 80095DD0 00092D30 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80095DD4 00092D34 81 83 00 00 */ lwz r12, 0(r3) -/* 80095DD8 00092D38 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80095DDC 00092D3C 7D 89 03 A6 */ mtctr r12 -/* 80095DE0 00092D40 4E 80 04 21 */ bctrl -/* 80095DE4 00092D44 7C 64 1B 78 */ mr r4, r3 -/* 80095DE8 00092D48 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80095DEC 00092D4C 48 13 DB ED */ bl StateForWorld__10CGameStateFUi -/* 80095DF0 00092D50 7C 64 1B 78 */ mr r4, r3 -/* 80095DF4 00092D54 38 61 00 3C */ addi r3, r1, 0x3c -/* 80095DF8 00092D58 48 13 EF 6D */ bl GetMapWorldInfo__11CWorldStateCFv -/* 80095DFC 00092D5C 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 80095E00 00092D60 38 61 00 3C */ addi r3, r1, 0x3c -/* 80095E04 00092D64 83 E4 00 00 */ lwz r31, 0(r4) -/* 80095E08 00092D68 4B F7 2E 35 */ bl sub_80008c3c -/* 80095E0C 00092D6C 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80095E10 00092D70 81 83 00 00 */ lwz r12, 0(r3) -/* 80095E14 00092D74 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80095E18 00092D78 7D 89 03 A6 */ mtctr r12 -/* 80095E1C 00092D7C 4E 80 04 21 */ bctrl -/* 80095E20 00092D80 3C 80 80 5A */ lis r4, lbl_805A6754@ha -/* 80095E24 00092D84 80 1D 00 A0 */ lwz r0, 0xa0(r29) -/* 80095E28 00092D88 38 A4 67 54 */ addi r5, r4, lbl_805A6754@l -/* 80095E2C 00092D8C 7C 7E 1B 78 */ mr r30, r3 -/* 80095E30 00092D90 C0 A5 00 00 */ lfs f5, 0(r5) -/* 80095E34 00092D94 38 81 00 38 */ addi r4, r1, 0x38 -/* 80095E38 00092D98 C0 85 00 04 */ lfs f4, 4(r5) -/* 80095E3C 00092D9C C0 65 00 08 */ lfs f3, 8(r5) -/* 80095E40 00092DA0 C0 45 00 0C */ lfs f2, 0xc(r5) -/* 80095E44 00092DA4 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 80095E48 00092DA8 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 80095E4C 00092DAC D0 A1 00 94 */ stfs f5, 0x94(r1) -/* 80095E50 00092DB0 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80095E54 00092DB4 D0 81 00 98 */ stfs f4, 0x98(r1) -/* 80095E58 00092DB8 D0 61 00 9C */ stfs f3, 0x9c(r1) -/* 80095E5C 00092DBC D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 80095E60 00092DC0 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 80095E64 00092DC4 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 80095E68 00092DC8 90 01 00 38 */ stw r0, 0x38(r1) -/* 80095E6C 00092DCC 81 83 00 00 */ lwz r12, 0(r3) -/* 80095E70 00092DD0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80095E74 00092DD4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80095E78 00092DD8 7D 89 03 A6 */ mtctr r12 -/* 80095E7C 00092DDC 4E 80 04 21 */ bctrl -/* 80095E80 00092DE0 80 9D 00 A0 */ lwz r4, 0xa0(r29) -/* 80095E84 00092DE4 7C 77 1B 78 */ mr r23, r3 -/* 80095E88 00092DE8 7F C3 F3 78 */ mr r3, r30 -/* 80095E8C 00092DEC 48 00 B5 2D */ bl GetMapArea__9CMapWorldCFi -/* 80095E90 00092DF0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80095E94 00092DF4 7C 7B 1B 78 */ mr r27, r3 -/* 80095E98 00092DF8 3B 01 00 88 */ addi r24, r1, 0x88 -/* 80095E9C 00092DFC 3A A0 FF FF */ li r21, -1 -/* 80095EA0 00092E00 88 04 00 04 */ lbz r0, 4(r4) -/* 80095EA4 00092E04 54 16 CF FE */ rlwinm r22, r0, 0x19, 0x1f, 0x1f -/* 80095EA8 00092E08 48 00 00 C8 */ b lbl_80095F70 -lbl_80095EAC: -/* 80095EAC 00092E0C 2C 15 FF FF */ cmpwi r21, -1 -/* 80095EB0 00092E10 40 82 00 0C */ bne lbl_80095EBC -/* 80095EB4 00092E14 83 3D 00 A0 */ lwz r25, 0xa0(r29) -/* 80095EB8 00092E18 48 00 00 24 */ b lbl_80095EDC -lbl_80095EBC: -/* 80095EBC 00092E1C 7E E4 BB 78 */ mr r4, r23 -/* 80095EC0 00092E20 7E A5 AB 78 */ mr r5, r21 -/* 80095EC4 00092E24 81 97 00 00 */ lwz r12, 0(r23) -/* 80095EC8 00092E28 38 61 00 30 */ addi r3, r1, 0x30 -/* 80095ECC 00092E2C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80095ED0 00092E30 7D 89 03 A6 */ mtctr r12 -/* 80095ED4 00092E34 4E 80 04 21 */ bctrl -/* 80095ED8 00092E38 83 21 00 30 */ lwz r25, 0x30(r1) -lbl_80095EDC: -/* 80095EDC 00092E3C 7F C3 F3 78 */ mr r3, r30 -/* 80095EE0 00092E40 7F 24 CB 78 */ mr r4, r25 -/* 80095EE4 00092E44 48 00 B4 D5 */ bl GetMapArea__9CMapWorldCFi -/* 80095EE8 00092E48 93 21 00 20 */ stw r25, 0x20(r1) -/* 80095EEC 00092E4C 7C 7A 1B 78 */ mr r26, r3 -/* 80095EF0 00092E50 7F E3 FB 78 */ mr r3, r31 -/* 80095EF4 00092E54 38 81 00 24 */ addi r4, r1, 0x24 -/* 80095EF8 00092E58 93 21 00 24 */ stw r25, 0x24(r1) -/* 80095EFC 00092E5C 93 21 00 28 */ stw r25, 0x28(r1) -/* 80095F00 00092E60 93 21 00 2C */ stw r25, 0x2c(r1) -/* 80095F04 00092E64 48 0D 1E 01 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId -/* 80095F08 00092E68 7C 7C 1B 78 */ mr r28, r3 -/* 80095F0C 00092E6C 7F E3 FB 78 */ mr r3, r31 -/* 80095F10 00092E70 38 81 00 2C */ addi r4, r1, 0x2c -/* 80095F14 00092E74 48 0D 25 2D */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId -/* 80095F18 00092E78 7C 64 1B 78 */ mr r4, r3 -/* 80095F1C 00092E7C 7F 43 D3 78 */ mr r3, r26 -/* 80095F20 00092E80 7F 85 E3 78 */ mr r5, r28 -/* 80095F24 00092E84 4B FE AE 09 */ bl GetIsVisibleToAutoMapper__8CMapAreaCFbb -/* 80095F28 00092E88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80095F2C 00092E8C 41 82 00 40 */ beq lbl_80095F6C -/* 80095F30 00092E90 80 BD 00 24 */ lwz r5, 0x24(r29) -/* 80095F34 00092E94 7F 44 D3 78 */ mr r4, r26 -/* 80095F38 00092E98 7F 26 CB 78 */ mr r6, r25 -/* 80095F3C 00092E9C 38 61 00 DC */ addi r3, r1, 0xdc -/* 80095F40 00092EA0 4B FE A5 29 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 80095F44 00092EA4 38 61 00 7C */ addi r3, r1, 0x7c -/* 80095F48 00092EA8 38 9A 00 10 */ addi r4, r26, 0x10 -/* 80095F4C 00092EAC 38 A1 00 DC */ addi r5, r1, 0xdc -/* 80095F50 00092EB0 48 2A 19 AD */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 80095F54 00092EB4 38 61 00 94 */ addi r3, r1, 0x94 -/* 80095F58 00092EB8 38 81 00 7C */ addi r4, r1, 0x7c -/* 80095F5C 00092EBC 48 2A 1B AD */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80095F60 00092EC0 7F 04 C3 78 */ mr r4, r24 -/* 80095F64 00092EC4 38 61 00 94 */ addi r3, r1, 0x94 -/* 80095F68 00092EC8 48 2A 1B A1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_80095F6C: -/* 80095F6C 00092ECC 3A B5 00 01 */ addi r21, r21, 1 -lbl_80095F70: -/* 80095F70 00092ED0 28 16 00 00 */ cmplwi r22, 0 -/* 80095F74 00092ED4 41 82 00 0C */ beq lbl_80095F80 -/* 80095F78 00092ED8 38 60 00 00 */ li r3, 0 -/* 80095F7C 00092EDC 48 00 00 18 */ b lbl_80095F94 -lbl_80095F80: -/* 80095F80 00092EE0 7E E3 BB 78 */ mr r3, r23 -/* 80095F84 00092EE4 81 97 00 00 */ lwz r12, 0(r23) -/* 80095F88 00092EE8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80095F8C 00092EEC 7D 89 03 A6 */ mtctr r12 -/* 80095F90 00092EF0 4E 80 04 21 */ bctrl -lbl_80095F94: -/* 80095F94 00092EF4 7C 15 18 00 */ cmpw r21, r3 -/* 80095F98 00092EF8 41 80 FF 14 */ blt lbl_80095EAC -/* 80095F9C 00092EFC 7F 64 DB 78 */ mr r4, r27 -/* 80095FA0 00092F00 38 61 00 64 */ addi r3, r1, 0x64 -/* 80095FA4 00092F04 4B FE AD 59 */ bl GetAreaCenterPoint__8CMapAreaCFv -/* 80095FA8 00092F08 80 BD 00 24 */ lwz r5, 0x24(r29) -/* 80095FAC 00092F0C 7F 64 DB 78 */ mr r4, r27 -/* 80095FB0 00092F10 80 DD 00 A0 */ lwz r6, 0xa0(r29) -/* 80095FB4 00092F14 38 61 00 AC */ addi r3, r1, 0xac -/* 80095FB8 00092F18 4B FE A4 B1 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 80095FBC 00092F1C 38 61 00 70 */ addi r3, r1, 0x70 -/* 80095FC0 00092F20 38 81 00 AC */ addi r4, r1, 0xac -/* 80095FC4 00092F24 38 A1 00 64 */ addi r5, r1, 0x64 -/* 80095FC8 00092F28 48 27 CB 21 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80095FCC 00092F2C C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 80095FD0 00092F30 C0 61 00 70 */ lfs f3, 0x70(r1) -/* 80095FD4 00092F34 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 80095FD8 00092F38 EC 21 18 28 */ fsubs f1, f1, f3 -/* 80095FDC 00092F3C C0 41 00 74 */ lfs f2, 0x74(r1) -/* 80095FE0 00092F40 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80095FE4 00092F44 C0 61 00 78 */ lfs f3, 0x78(r1) -/* 80095FE8 00092F48 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80095FEC 00092F4C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80095FF0 00092F50 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80095FF4 00092F54 40 80 00 0C */ bge lbl_80096000 -/* 80095FF8 00092F58 38 61 00 18 */ addi r3, r1, 0x18 -/* 80095FFC 00092F5C 48 00 00 08 */ b lbl_80096004 -lbl_80096000: -/* 80096000 00092F60 38 61 00 1C */ addi r3, r1, 0x1c -lbl_80096004: -/* 80096004 00092F64 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 80096008 00092F68 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 8009600C 00092F6C EC 21 10 28 */ fsubs f1, f1, f2 -/* 80096010 00092F70 C3 E3 00 00 */ lfs f31, 0(r3) -/* 80096014 00092F74 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80096018 00092F78 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8009601C 00092F7C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80096020 00092F80 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80096024 00092F84 40 80 00 0C */ bge lbl_80096030 -/* 80096028 00092F88 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009602C 00092F8C 48 00 00 08 */ b lbl_80096034 -lbl_80096030: -/* 80096030 00092F90 38 61 00 14 */ addi r3, r1, 0x14 -lbl_80096034: -/* 80096034 00092F94 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 80096038 00092F98 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 8009603C 00092F9C EC 21 18 28 */ fsubs f1, f1, f3 -/* 80096040 00092FA0 C3 C3 00 00 */ lfs f30, 0(r3) -/* 80096044 00092FA4 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80096048 00092FA8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8009604C 00092FAC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80096050 00092FB0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80096054 00092FB4 40 80 00 0C */ bge lbl_80096060 -/* 80096058 00092FB8 38 81 00 08 */ addi r4, r1, 8 -/* 8009605C 00092FBC 48 00 00 08 */ b lbl_80096064 -lbl_80096060: -/* 80096060 00092FC0 38 81 00 0C */ addi r4, r1, 0xc -lbl_80096064: -/* 80096064 00092FC4 C0 3B 00 20 */ lfs f1, 0x20(r27) -/* 80096068 00092FC8 38 61 00 58 */ addi r3, r1, 0x58 -/* 8009606C 00092FCC C0 1B 00 14 */ lfs f0, 0x14(r27) -/* 80096070 00092FD0 C0 7B 00 24 */ lfs f3, 0x24(r27) -/* 80096074 00092FD4 C0 5B 00 18 */ lfs f2, 0x18(r27) -/* 80096078 00092FD8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8009607C 00092FDC C0 3B 00 1C */ lfs f1, 0x1c(r27) -/* 80096080 00092FE0 C0 1B 00 10 */ lfs f0, 0x10(r27) -/* 80096084 00092FE4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80096088 00092FE8 C3 A4 00 00 */ lfs f29, 0(r4) -/* 8009608C 00092FEC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80096090 00092FF0 D0 81 00 50 */ stfs f4, 0x50(r1) -/* 80096094 00092FF4 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 80096098 00092FF8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8009609C 00092FFC D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800960A0 00093000 D0 81 00 5C */ stfs f4, 0x5c(r1) -/* 800960A4 00093004 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 800960A8 00093008 48 27 E8 11 */ bl Magnitude__9CVector3fCFv -/* 800960AC 0009300C C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) -/* 800960B0 00093010 38 61 00 40 */ addi r3, r1, 0x40 -/* 800960B4 00093014 D3 E1 00 40 */ stfs f31, 0x40(r1) -/* 800960B8 00093018 EF E0 00 72 */ fmuls f31, f0, f1 -/* 800960BC 0009301C D3 C1 00 44 */ stfs f30, 0x44(r1) -/* 800960C0 00093020 D3 A1 00 48 */ stfs f29, 0x48(r1) -/* 800960C4 00093024 48 27 E7 F5 */ bl Magnitude__9CVector3fCFv -/* 800960C8 00093028 C0 A2 8B 70 */ lfs f5, lbl_805AA890@sda21(r2) -/* 800960CC 0009302C C0 42 8B 7C */ lfs f2, lbl_805AA89C@sda21(r2) -/* 800960D0 00093030 C0 1D 00 C4 */ lfs f0, 0xc4(r29) -/* 800960D4 00093034 EC 85 00 72 */ fmuls f4, f5, f1 -/* 800960D8 00093038 C0 62 8B 78 */ lfs f3, lbl_805AA898@sda21(r2) -/* 800960DC 0009303C EC 22 00 32 */ fmuls f1, f2, f0 -/* 800960E0 00093040 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 800960E4 00093044 EF A5 27 FA */ fmadds f29, f5, f31, f4 -/* 800960E8 00093048 C0 02 8B 74 */ lfs f0, lbl_805AA894@sda21(r2) -/* 800960EC 0009304C C0 43 00 C0 */ lfs f2, 0xc0(r3) -/* 800960F0 00093050 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800960F4 00093054 EF BD 00 B2 */ fmuls f29, f29, f2 -/* 800960F8 00093058 EC 25 00 7C */ fnmsubs f1, f5, f1, f0 -/* 800960FC 0009305C 48 2F EA B9 */ bl tan -/* 80096100 00093060 FC 00 08 18 */ frsp f0, f1 -/* 80096104 00093064 EC 3D 00 32 */ fmuls f1, f29, f0 -/* 80096108 00093068 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 -/* 8009610C 0009306C CB E1 01 60 */ lfd f31, 0x160(r1) -/* 80096110 00093070 E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0 -/* 80096114 00093074 CB C1 01 50 */ lfd f30, 0x150(r1) -/* 80096118 00093078 E3 A1 01 48 */ psq_l f29, 328(r1), 0, qr0 -/* 8009611C 0009307C CB A1 01 40 */ lfd f29, 0x140(r1) -/* 80096120 00093080 BA A1 01 14 */ lmw r21, 0x114(r1) -/* 80096124 00093084 80 01 01 74 */ lwz r0, 0x174(r1) -/* 80096128 00093088 7C 08 03 A6 */ mtlr r0 -/* 8009612C 0009308C 38 21 01 70 */ addi r1, r1, 0x170 -/* 80096130 00093090 4E 80 00 20 */ blr - -.global GetClampedMapScreenCameraDistance__11CAutoMapperCFf -GetClampedMapScreenCameraDistance__11CAutoMapperCFf: -/* 80096134 00093094 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80096138 00093098 7C 08 02 A6 */ mflr r0 -/* 8009613C 0009309C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80096140 000930A0 80 03 01 BC */ lwz r0, 0x1bc(r3) -/* 80096144 000930A4 D0 21 00 08 */ stfs f1, 8(r1) -/* 80096148 000930A8 2C 00 00 02 */ cmpwi r0, 2 -/* 8009614C 000930AC 40 82 00 20 */ bne lbl_8009616C -/* 80096150 000930B0 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) -/* 80096154 000930B4 38 81 00 08 */ addi r4, r1, 8 -/* 80096158 000930B8 38 65 00 D4 */ addi r3, r5, 0xd4 -/* 8009615C 000930BC 38 A5 00 D8 */ addi r5, r5, 0xd8 -/* 80096160 000930C0 4B F7 61 55 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80096164 000930C4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80096168 000930C8 48 00 00 1C */ b lbl_80096184 -lbl_8009616C: -/* 8009616C 000930CC 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) -/* 80096170 000930D0 38 81 00 08 */ addi r4, r1, 8 -/* 80096174 000930D4 38 65 00 0C */ addi r3, r5, 0xc -/* 80096178 000930D8 38 A5 00 10 */ addi r5, r5, 0x10 -/* 8009617C 000930DC 4B F7 61 39 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80096180 000930E0 C0 23 00 00 */ lfs f1, 0(r3) -lbl_80096184: -/* 80096184 000930E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80096188 000930E8 7C 08 03 A6 */ mtlr r0 -/* 8009618C 000930EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80096190 000930F0 4E 80 00 20 */ blr - -.global GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager -GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager: -/* 80096194 000930F4 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80096198 000930F8 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 8009619C 000930FC C0 64 00 08 */ lfs f3, 8(r4) -/* 800961A0 00093100 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 800961A4 00093104 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 800961A8 00093108 EC 20 18 28 */ fsubs f1, f0, f3 -/* 800961AC 0009310C C0 03 04 94 */ lfs f0, 0x494(r3) -/* 800961B0 00093110 C0 44 00 9C */ lfs f2, 0x9c(r4) -/* 800961B4 00093114 EC 01 18 3A */ fmadds f0, f1, f0, f3 -/* 800961B8 00093118 EC 22 00 32 */ fmuls f1, f2, f0 -/* 800961BC 0009311C 4E 80 00 20 */ blr - -.global GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager -GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager: -/* 800961C0 00093120 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 800961C4 00093124 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 800961C8 00093128 C0 64 00 08 */ lfs f3, 8(r4) -/* 800961CC 0009312C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 800961D0 00093130 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 800961D4 00093134 EC 20 18 28 */ fsubs f1, f0, f3 -/* 800961D8 00093138 C0 03 04 94 */ lfs f0, 0x494(r3) -/* 800961DC 0009313C C0 44 00 94 */ lfs f2, 0x94(r4) -/* 800961E0 00093140 EC 01 18 3A */ fmadds f0, f1, f0, f3 -/* 800961E4 00093144 EC 22 00 32 */ fmuls f1, f2, f0 -/* 800961E8 00093148 4E 80 00 20 */ blr - -.global GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager -GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager: -/* 800961EC 0009314C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 800961F0 00093150 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 800961F4 00093154 C0 64 00 08 */ lfs f3, 8(r4) -/* 800961F8 00093158 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 800961FC 0009315C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80096200 00093160 EC 20 18 28 */ fsubs f1, f0, f3 -/* 80096204 00093164 C0 03 04 94 */ lfs f0, 0x494(r3) -/* 80096208 00093168 C0 44 00 8C */ lfs f2, 0x8c(r4) -/* 8009620C 0009316C EC 01 18 3A */ fmadds f0, f1, f0, f3 -/* 80096210 00093170 EC 22 00 32 */ fmuls f1, f2, f0 -/* 80096214 00093174 4E 80 00 20 */ blr - -.global GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager -GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager: -/* 80096218 00093178 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 8009621C 0009317C 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 80096220 00093180 C0 64 00 08 */ lfs f3, 8(r4) -/* 80096224 00093184 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80096228 00093188 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009622C 0009318C EC 20 18 28 */ fsubs f1, f0, f3 -/* 80096230 00093190 C0 03 04 94 */ lfs f0, 0x494(r3) -/* 80096234 00093194 C0 44 00 84 */ lfs f2, 0x84(r4) -/* 80096238 00093198 EC 01 18 3A */ fmadds f0, f1, f0, f3 -/* 8009623C 0009319C EC 22 00 32 */ fmuls f1, f2, f0 -/* 80096240 000931A0 4E 80 00 20 */ blr - -.global GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri -GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri: -/* 80096244 000931A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80096248 000931A8 7C 08 02 A6 */ mflr r0 -/* 8009624C 000931AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80096250 000931B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80096254 000931B4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80096258 000931B8 7C BE 2B 78 */ mr r30, r5 -/* 8009625C 000931BC 83 E3 00 24 */ lwz r31, 0x24(r3) -/* 80096260 000931C0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80096264 000931C4 7F E3 FB 78 */ mr r3, r31 -/* 80096268 000931C8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8009626C 000931CC 7D 89 03 A6 */ mtctr r12 -/* 80096270 000931D0 4E 80 04 21 */ bctrl -/* 80096274 000931D4 7F E4 FB 78 */ mr r4, r31 -/* 80096278 000931D8 7F C5 F3 78 */ mr r5, r30 -/* 8009627C 000931DC 48 00 AD 85 */ bl GetCurrentMapAreaDepth__9CMapWorldCFRC6IWorldi -/* 80096280 000931E0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80096284 000931E4 3C 00 43 30 */ lis r0, 0x4330 -/* 80096288 000931E8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8009628C 000931EC C8 22 8B 88 */ lfd f1, lbl_805AA8A8@sda21(r2) -/* 80096290 000931F0 90 01 00 08 */ stw r0, 8(r1) -/* 80096294 000931F4 C8 01 00 08 */ lfd f0, 8(r1) -/* 80096298 000931F8 EC 20 08 28 */ fsubs f1, f0, f1 -/* 8009629C 000931FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800962A0 00093200 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800962A4 00093204 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800962A8 00093208 7C 08 03 A6 */ mtlr r0 -/* 800962AC 0009320C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800962B0 00093210 4E 80 00 20 */ blr - -.global GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -GetMapAreaMiniMapDrawDepth__11CAutoMapperFv: -/* 800962B4 00093214 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) -/* 800962B8 00093218 4E 80 00 20 */ blr - -.global GetMapScreenViewportSize__11CAutoMapperFv -GetMapScreenViewportSize__11CAutoMapperFv: -/* 800962BC 0009321C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800962C0 00093220 7C 08 02 A6 */ mflr r0 -/* 800962C4 00093224 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 800962C8 00093228 90 01 00 14 */ stw r0, 0x14(r1) -/* 800962CC 0009322C 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l -/* 800962D0 00093230 80 85 00 08 */ lwz r4, 8(r5) -/* 800962D4 00093234 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 800962D8 00093238 48 27 E0 75 */ bl __ct__9CVector2iFii -/* 800962DC 0009323C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800962E0 00093240 7C 08 03 A6 */ mtlr r0 -/* 800962E4 00093244 38 21 00 10 */ addi r1, r1, 0x10 -/* 800962E8 00093248 4E 80 00 20 */ blr - -.global GetMiniMapViewportSize__11CAutoMapperFv -GetMiniMapViewportSize__11CAutoMapperFv: -/* 800962EC 0009324C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800962F0 00093250 7C 08 02 A6 */ mflr r0 -/* 800962F4 00093254 3C 80 43 30 */ lis r4, 0x4330 -/* 800962F8 00093258 3C A0 80 3F */ lis r5, lbl_803ED910@ha -/* 800962FC 0009325C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80096300 00093260 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l -/* 80096304 00093264 C8 A2 8B 88 */ lfd f5, lbl_805AA8A8@sda21(r2) -/* 80096308 00093268 80 A6 00 08 */ lwz r5, 8(r6) -/* 8009630C 0009326C 80 06 00 0C */ lwz r0, 0xc(r6) -/* 80096310 00093270 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 80096314 00093274 80 ED A1 44 */ lwz r7, gpTweakAutoMapper@sda21(r13) -/* 80096318 00093278 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8009631C 0009327C 90 81 00 08 */ stw r4, 8(r1) -/* 80096320 00093280 C0 02 8B 94 */ lfs f0, lbl_805AA8B4@sda21(r2) -/* 80096324 00093284 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80096328 00093288 C0 67 00 B8 */ lfs f3, 0xb8(r7) -/* 8009632C 0009328C C8 21 00 08 */ lfd f1, 8(r1) -/* 80096330 00093290 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80096334 00093294 EC 81 28 28 */ fsubs f4, f1, f5 -/* 80096338 00093298 C0 22 8B 98 */ lfs f1, lbl_805AA8B8@sda21(r2) -/* 8009633C 0009329C 90 81 00 18 */ stw r4, 0x18(r1) -/* 80096340 000932A0 EC 84 00 24 */ fdivs f4, f4, f0 -/* 80096344 000932A4 C8 41 00 18 */ lfd f2, 0x18(r1) -/* 80096348 000932A8 C0 07 00 BC */ lfs f0, 0xbc(r7) -/* 8009634C 000932AC EC 42 28 28 */ fsubs f2, f2, f5 -/* 80096350 000932B0 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80096354 000932B4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80096358 000932B8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8009635C 000932BC FC 20 18 1E */ fctiwz f1, f3 -/* 80096360 000932C0 FC 00 00 1E */ fctiwz f0, f0 -/* 80096364 000932C4 D8 21 00 10 */ stfd f1, 0x10(r1) -/* 80096368 000932C8 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8009636C 000932CC 80 81 00 14 */ lwz r4, 0x14(r1) -/* 80096370 000932D0 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 80096374 000932D4 48 27 DF D9 */ bl __ct__9CVector2iFii -/* 80096378 000932D8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8009637C 000932DC 7C 08 03 A6 */ mtlr r0 -/* 80096380 000932E0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80096384 000932E4 4E 80 00 20 */ blr - -.global FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager -FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager: -/* 80096388 000932E8 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8009638C 000932EC 7C 08 02 A6 */ mflr r0 -/* 80096390 000932F0 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80096394 000932F4 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80096398 000932F8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8009639C 000932FC DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 800963A0 00093300 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 800963A4 00093304 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 800963A8 00093308 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 800963AC 0009330C DB 81 00 90 */ stfd f28, 0x90(r1) -/* 800963B0 00093310 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 800963B4 00093314 DB 61 00 80 */ stfd f27, 0x80(r1) -/* 800963B8 00093318 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 -/* 800963BC 0009331C BE A1 00 54 */ stmw r21, 0x54(r1) -/* 800963C0 00093320 80 04 00 A0 */ lwz r0, 0xa0(r4) -/* 800963C4 00093324 7C 78 1B 78 */ mr r24, r3 -/* 800963C8 00093328 83 C4 00 10 */ lwz r30, 0x10(r4) -/* 800963CC 0009332C 7C B9 2B 78 */ mr r25, r5 -/* 800963D0 00093330 C3 82 8B 9C */ lfs f28, lbl_805AA8BC@sda21(r2) -/* 800963D4 00093334 7C DA 33 78 */ mr r26, r6 -/* 800963D8 00093338 7C 1D 03 78 */ mr r29, r0 -/* 800963DC 0009333C 7C 1C 03 78 */ mr r28, r0 -/* 800963E0 00093340 3B 60 00 00 */ li r27, 0 -/* 800963E4 00093344 3B E0 00 00 */ li r31, 0 -/* 800963E8 00093348 48 00 01 84 */ b lbl_8009656C -lbl_800963EC: -/* 800963EC 0009334C 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 800963F0 00093350 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800963F4 00093354 7E C0 FA 14 */ add r22, r0, r31 -/* 800963F8 00093358 80 96 00 10 */ lwz r4, 0x10(r22) -/* 800963FC 0009335C 48 13 D5 DD */ bl StateForWorld__10CGameStateFUi -/* 80096400 00093360 7C 64 1B 78 */ mr r4, r3 -/* 80096404 00093364 38 61 00 08 */ addi r3, r1, 8 -/* 80096408 00093368 48 13 E9 5D */ bl GetMapWorldInfo__11CWorldStateCFv -/* 8009640C 0009336C 80 61 00 08 */ lwz r3, 8(r1) -/* 80096410 00093370 80 63 00 00 */ lwz r3, 0(r3) -/* 80096414 00093374 48 0D 18 01 */ bl IsAnythingSet__13CMapWorldInfoFv -/* 80096418 00093378 7C 77 1B 78 */ mr r23, r3 -/* 8009641C 0009337C 38 61 00 08 */ addi r3, r1, 8 -/* 80096420 00093380 4B F7 28 1D */ bl sub_80008c3c -/* 80096424 00093384 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 80096428 00093388 41 82 01 3C */ beq lbl_80096564 -/* 8009642C 0009338C 3A A0 00 00 */ li r21, 0 -/* 80096430 00093390 3A E0 00 00 */ li r23, 0 -/* 80096434 00093394 48 00 01 24 */ b lbl_80096558 -lbl_80096438: -/* 80096438 00093398 80 16 00 50 */ lwz r0, 0x50(r22) -/* 8009643C 0009339C 38 61 00 3C */ addi r3, r1, 0x3c -/* 80096440 000933A0 C0 39 00 04 */ lfs f1, 4(r25) -/* 80096444 000933A4 7C 80 BA 14 */ add r4, r0, r23 -/* 80096448 000933A8 C0 19 00 08 */ lfs f0, 8(r25) -/* 8009644C 000933AC C3 A4 00 2C */ lfs f29, 0x2c(r4) -/* 80096450 000933B0 C3 C4 00 1C */ lfs f30, 0x1c(r4) -/* 80096454 000933B4 C3 E4 00 0C */ lfs f31, 0xc(r4) -/* 80096458 000933B8 EC 5D 00 28 */ fsubs f2, f29, f0 -/* 8009645C 000933BC C0 19 00 00 */ lfs f0, 0(r25) -/* 80096460 000933C0 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 80096464 000933C4 EC 1F 00 28 */ fsubs f0, f31, f0 -/* 80096468 000933C8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8009646C 000933CC D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80096470 000933D0 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80096474 000933D4 48 27 E2 85 */ bl CanBeNormalized__9CVector3fCFv -/* 80096478 000933D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009647C 000933DC 41 82 00 90 */ beq lbl_8009650C -/* 80096480 000933E0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80096484 000933E4 38 81 00 3C */ addi r4, r1, 0x3c -/* 80096488 000933E8 48 27 E3 C9 */ bl AsNormalized__9CVector3fCFv -/* 8009648C 000933EC C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80096490 000933F0 38 61 00 3C */ addi r3, r1, 0x3c -/* 80096494 000933F4 C0 1A 00 04 */ lfs f0, 4(r26) -/* 80096498 000933F8 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 8009649C 000933FC EC 01 00 32 */ fmuls f0, f1, f0 -/* 800964A0 00093400 C0 3A 00 00 */ lfs f1, 0(r26) -/* 800964A4 00093404 C0 81 00 38 */ lfs f4, 0x38(r1) -/* 800964A8 00093408 C0 7A 00 08 */ lfs f3, 8(r26) -/* 800964AC 0009340C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 800964B0 00093410 EF 64 00 FA */ fmadds f27, f4, f3, f0 -/* 800964B4 00093414 48 27 E4 05 */ bl Magnitude__9CVector3fCFv -/* 800964B8 00093418 EC 61 06 F2 */ fmuls f3, f1, f27 -/* 800964BC 0009341C C0 5A 00 04 */ lfs f2, 4(r26) -/* 800964C0 00093420 C0 3A 00 08 */ lfs f1, 8(r26) -/* 800964C4 00093424 38 81 00 18 */ addi r4, r1, 0x18 -/* 800964C8 00093428 C0 1A 00 00 */ lfs f0, 0(r26) -/* 800964CC 0009342C EC A3 00 B2 */ fmuls f5, f3, f2 -/* 800964D0 00093430 EC 83 00 72 */ fmuls f4, f3, f1 -/* 800964D4 00093434 C0 59 00 04 */ lfs f2, 4(r25) -/* 800964D8 00093438 EC 63 00 32 */ fmuls f3, f3, f0 -/* 800964DC 0009343C C0 39 00 08 */ lfs f1, 8(r25) -/* 800964E0 00093440 C0 19 00 00 */ lfs f0, 0(r25) -/* 800964E4 00093444 EC 42 28 2A */ fadds f2, f2, f5 -/* 800964E8 00093448 EC 21 20 2A */ fadds f1, f1, f4 -/* 800964EC 0009344C D0 61 00 24 */ stfs f3, 0x24(r1) -/* 800964F0 00093450 EC 00 18 2A */ fadds f0, f0, f3 -/* 800964F4 00093454 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 800964F8 00093458 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 800964FC 0009345C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80096500 00093460 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80096504 00093464 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80096508 00093468 48 00 00 08 */ b lbl_80096510 -lbl_8009650C: -/* 8009650C 0009346C 7F 24 CB 78 */ mr r4, r25 -lbl_80096510: -/* 80096510 00093470 C0 44 00 04 */ lfs f2, 4(r4) -/* 80096514 00093474 38 61 00 0C */ addi r3, r1, 0xc -/* 80096518 00093478 C0 24 00 08 */ lfs f1, 8(r4) -/* 8009651C 0009347C C0 04 00 00 */ lfs f0, 0(r4) -/* 80096520 00093480 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 80096524 00093484 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80096528 00093488 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8009652C 0009348C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80096530 00093490 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80096534 00093494 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80096538 00093498 48 27 E3 81 */ bl Magnitude__9CVector3fCFv -/* 8009653C 0009349C FC 01 E0 40 */ fcmpo cr0, f1, f28 -/* 80096540 000934A0 40 80 00 10 */ bge lbl_80096550 -/* 80096544 000934A4 FF 80 08 90 */ fmr f28, f1 -/* 80096548 000934A8 7F 7D DB 78 */ mr r29, r27 -/* 8009654C 000934AC 7E BC AB 78 */ mr r28, r21 -lbl_80096550: -/* 80096550 000934B0 3A F7 00 30 */ addi r23, r23, 0x30 -/* 80096554 000934B4 3A B5 00 01 */ addi r21, r21, 1 -lbl_80096558: -/* 80096558 000934B8 80 16 00 48 */ lwz r0, 0x48(r22) -/* 8009655C 000934BC 7C 15 00 00 */ cmpw r21, r0 -/* 80096560 000934C0 41 80 FE D8 */ blt lbl_80096438 -lbl_80096564: -/* 80096564 000934C4 3B FF 00 70 */ addi r31, r31, 0x70 -/* 80096568 000934C8 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8009656C: -/* 8009656C 000934CC 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 80096570 000934D0 7C 1B 00 00 */ cmpw r27, r0 -/* 80096574 000934D4 41 80 FE 78 */ blt lbl_800963EC -/* 80096578 000934D8 93 B8 00 00 */ stw r29, 0(r24) -/* 8009657C 000934DC 93 98 00 04 */ stw r28, 4(r24) -/* 80096580 000934E0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80096584 000934E4 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80096588 000934E8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8009658C 000934EC CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80096590 000934F0 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 80096594 000934F4 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 80096598 000934F8 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 8009659C 000934FC CB 81 00 90 */ lfd f28, 0x90(r1) -/* 800965A0 00093500 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 -/* 800965A4 00093504 CB 61 00 80 */ lfd f27, 0x80(r1) -/* 800965A8 00093508 BA A1 00 54 */ lmw r21, 0x54(r1) -/* 800965AC 0009350C 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 800965B0 00093510 7C 08 03 A6 */ mtlr r0 -/* 800965B4 00093514 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 800965B8 00093518 4E 80 00 20 */ blr - -.global FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo -FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo: -/* 800965BC 0009351C 94 21 FE 70 */ stwu r1, -0x190(r1) -/* 800965C0 00093520 7C 08 02 A6 */ mflr r0 -/* 800965C4 00093524 90 01 01 94 */ stw r0, 0x194(r1) -/* 800965C8 00093528 DB E1 01 80 */ stfd f31, 0x180(r1) -/* 800965CC 0009352C F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 -/* 800965D0 00093530 DB C1 01 70 */ stfd f30, 0x170(r1) -/* 800965D4 00093534 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 -/* 800965D8 00093538 DB A1 01 60 */ stfd f29, 0x160(r1) -/* 800965DC 0009353C F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 -/* 800965E0 00093540 DB 81 01 50 */ stfd f28, 0x150(r1) -/* 800965E4 00093544 F3 81 01 58 */ psq_st f28, 344(r1), 0, qr0 -/* 800965E8 00093548 DB 61 01 40 */ stfd f27, 0x140(r1) -/* 800965EC 0009354C F3 61 01 48 */ psq_st f27, 328(r1), 0, qr0 -/* 800965F0 00093550 BE C1 01 18 */ stmw r22, 0x118(r1) -/* 800965F4 00093554 7C FD 3B 78 */ mr r29, r7 -/* 800965F8 00093558 7C 77 1B 78 */ mr r23, r3 -/* 800965FC 0009355C 7F A3 EB 78 */ mr r3, r29 -/* 80096600 00093560 7C 9B 23 78 */ mr r27, r4 -/* 80096604 00093564 81 9D 00 00 */ lwz r12, 0(r29) -/* 80096608 00093568 7C BC 2B 78 */ mr r28, r5 -/* 8009660C 0009356C 7D 16 43 78 */ mr r22, r8 -/* 80096610 00093570 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80096614 00093574 7D 89 03 A6 */ mtctr r12 -/* 80096618 00093578 4E 80 04 21 */ bctrl -/* 8009661C 0009357C 7C 7F 1B 78 */ mr r31, r3 -/* 80096620 00093580 83 D7 00 A0 */ lwz r30, 0xa0(r23) -/* 80096624 00093584 C3 82 8B A0 */ lfs f28, lbl_805AA8C0@sda21(r2) -/* 80096628 00093588 7F E4 FB 78 */ mr r4, r31 -/* 8009662C 0009358C 7F A5 EB 78 */ mr r5, r29 -/* 80096630 00093590 7E C6 B3 78 */ mr r6, r22 -/* 80096634 00093594 38 61 00 80 */ addi r3, r1, 0x80 -/* 80096638 00093598 48 00 A7 D1 */ bl GetVisibleAreas__9CMapWorldCFRC6IWorldRC13CMapWorldInfo -/* 8009663C 0009359C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80096640 000935A0 80 61 00 88 */ lwz r3, 0x88(r1) -/* 80096644 000935A4 2C 00 00 00 */ cmpwi r0, 0 -/* 80096648 000935A8 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 8009664C 000935AC 90 61 00 A4 */ stw r3, 0xa4(r1) -/* 80096650 000935B0 40 82 00 18 */ bne lbl_80096668 -/* 80096654 000935B4 2C 03 00 00 */ cmpwi r3, 0 -/* 80096658 000935B8 40 82 00 10 */ bne lbl_80096668 -/* 8009665C 000935BC 38 00 00 00 */ li r0, 0 -/* 80096660 000935C0 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80096664 000935C4 48 00 00 68 */ b lbl_800966CC -lbl_80096668: -/* 80096668 000935C8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8009666C 000935CC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 80096670 000935D0 40 82 00 10 */ bne lbl_80096680 -/* 80096674 000935D4 38 00 00 00 */ li r0, 0 -/* 80096678 000935D8 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8009667C 000935DC 48 00 00 1C */ b lbl_80096698 -lbl_80096680: -/* 80096680 000935E0 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 80096684 000935E4 38 A0 00 00 */ li r5, 0 -/* 80096688 000935E8 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 8009668C 000935EC 38 84 00 0F */ addi r4, r4, 0xf -/* 80096690 000935F0 48 27 F1 89 */ bl __nwa__FUlPCcPCc -/* 80096694 000935F4 90 61 00 A8 */ stw r3, 0xa8(r1) -lbl_80096698: -/* 80096698 000935F8 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 8009669C 000935FC 80 81 00 8C */ lwz r4, 0x8c(r1) -/* 800966A0 00093600 80 61 00 A8 */ lwz r3, 0xa8(r1) -/* 800966A4 00093604 7C 09 03 A6 */ mtctr r0 -/* 800966A8 00093608 2C 00 00 00 */ cmpwi r0, 0 -/* 800966AC 0009360C 40 81 00 20 */ ble lbl_800966CC -lbl_800966B0: -/* 800966B0 00093610 28 03 00 00 */ cmplwi r3, 0 -/* 800966B4 00093614 41 82 00 0C */ beq lbl_800966C0 -/* 800966B8 00093618 80 04 00 00 */ lwz r0, 0(r4) -/* 800966BC 0009361C 90 03 00 00 */ stw r0, 0(r3) -lbl_800966C0: -/* 800966C0 00093620 38 63 00 04 */ addi r3, r3, 4 -/* 800966C4 00093624 38 84 00 04 */ addi r4, r4, 4 -/* 800966C8 00093628 42 00 FF E8 */ bdnz lbl_800966B0 -lbl_800966CC: -/* 800966CC 0009362C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800966D0 00093630 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 800966D4 00093634 54 00 10 3A */ slwi r0, r0, 2 -/* 800966D8 00093638 7C 03 02 14 */ add r0, r3, r0 -/* 800966DC 0009363C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 800966E0 00093640 7C 64 1B 78 */ mr r4, r3 -/* 800966E4 00093644 90 01 00 34 */ stw r0, 0x34(r1) -/* 800966E8 00093648 90 01 00 30 */ stw r0, 0x30(r1) -/* 800966EC 0009364C 90 61 00 28 */ stw r3, 0x28(r1) -/* 800966F0 00093650 48 00 00 08 */ b lbl_800966F8 -lbl_800966F4: -/* 800966F4 00093654 38 84 00 04 */ addi r4, r4, 4 -lbl_800966F8: -/* 800966F8 00093658 7C 04 00 40 */ cmplw r4, r0 -/* 800966FC 0009365C 40 82 FF F8 */ bne lbl_800966F4 -/* 80096700 00093660 28 03 00 00 */ cmplwi r3, 0 -/* 80096704 00093664 41 82 00 08 */ beq lbl_8009670C -/* 80096708 00093668 48 27 F2 29 */ bl Free__7CMemoryFPCv -lbl_8009670C: -/* 8009670C 0009366C 83 01 00 A0 */ lwz r24, 0xa0(r1) -/* 80096710 00093670 2C 18 00 00 */ cmpwi r24, 0 -/* 80096714 00093674 40 82 00 48 */ bne lbl_8009675C -/* 80096718 00093678 80 61 00 A8 */ lwz r3, 0xa8(r1) -/* 8009671C 0009367C 57 00 10 3A */ slwi r0, r24, 2 -/* 80096720 00093680 7C 03 02 14 */ add r0, r3, r0 -/* 80096724 00093684 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80096728 00093688 7C 64 1B 78 */ mr r4, r3 -/* 8009672C 0009368C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80096730 00093690 90 01 00 20 */ stw r0, 0x20(r1) -/* 80096734 00093694 90 61 00 18 */ stw r3, 0x18(r1) -/* 80096738 00093698 48 00 00 08 */ b lbl_80096740 -lbl_8009673C: -/* 8009673C 0009369C 38 84 00 04 */ addi r4, r4, 4 -lbl_80096740: -/* 80096740 000936A0 7C 04 00 40 */ cmplw r4, r0 -/* 80096744 000936A4 40 82 FF F8 */ bne lbl_8009673C -/* 80096748 000936A8 28 03 00 00 */ cmplwi r3, 0 -/* 8009674C 000936AC 41 82 00 08 */ beq lbl_80096754 -/* 80096750 000936B0 48 27 F1 E1 */ bl Free__7CMemoryFPCv -lbl_80096754: -/* 80096754 000936B4 38 60 FF FF */ li r3, -1 -/* 80096758 000936B8 48 00 01 C4 */ b lbl_8009691C -lbl_8009675C: -/* 8009675C 000936BC 83 41 00 A8 */ lwz r26, 0xa8(r1) -/* 80096760 000936C0 3A E0 00 00 */ li r23, 0 -/* 80096764 000936C4 48 00 01 68 */ b lbl_800968CC -lbl_80096768: -/* 80096768 000936C8 82 DA 00 00 */ lwz r22, 0(r26) -/* 8009676C 000936CC 7F E3 FB 78 */ mr r3, r31 -/* 80096770 000936D0 7E C4 B3 78 */ mr r4, r22 -/* 80096774 000936D4 48 00 AC 45 */ bl GetMapArea__9CMapWorldCFi -/* 80096778 000936D8 7C 79 1B 78 */ mr r25, r3 -/* 8009677C 000936DC 7F A5 EB 78 */ mr r5, r29 -/* 80096780 000936E0 7E C6 B3 78 */ mr r6, r22 -/* 80096784 000936E4 38 61 00 AC */ addi r3, r1, 0xac -/* 80096788 000936E8 7F 24 CB 78 */ mr r4, r25 -/* 8009678C 000936EC 4B FE 9C DD */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 80096790 000936F0 38 61 00 DC */ addi r3, r1, 0xdc -/* 80096794 000936F4 38 81 00 AC */ addi r4, r1, 0xac -/* 80096798 000936F8 48 27 C3 DD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8009679C 000936FC 7F 24 CB 78 */ mr r4, r25 -/* 800967A0 00093700 38 61 00 68 */ addi r3, r1, 0x68 -/* 800967A4 00093704 4B FE A5 59 */ bl GetAreaCenterPoint__8CMapAreaCFv -/* 800967A8 00093708 38 61 00 74 */ addi r3, r1, 0x74 -/* 800967AC 0009370C 38 81 00 DC */ addi r4, r1, 0xdc -/* 800967B0 00093710 38 A1 00 68 */ addi r5, r1, 0x68 -/* 800967B4 00093714 48 27 C3 35 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800967B8 00093718 C3 A1 00 74 */ lfs f29, 0x74(r1) -/* 800967BC 0009371C 38 61 00 90 */ addi r3, r1, 0x90 -/* 800967C0 00093720 C0 1B 00 00 */ lfs f0, 0(r27) -/* 800967C4 00093724 C3 E1 00 78 */ lfs f31, 0x78(r1) -/* 800967C8 00093728 C0 5B 00 04 */ lfs f2, 4(r27) -/* 800967CC 0009372C EC 1D 00 28 */ fsubs f0, f29, f0 -/* 800967D0 00093730 C3 C1 00 7C */ lfs f30, 0x7c(r1) -/* 800967D4 00093734 C0 3B 00 08 */ lfs f1, 8(r27) -/* 800967D8 00093738 EC 5F 10 28 */ fsubs f2, f31, f2 -/* 800967DC 0009373C D0 01 00 90 */ stfs f0, 0x90(r1) -/* 800967E0 00093740 EC 1E 08 28 */ fsubs f0, f30, f1 -/* 800967E4 00093744 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 800967E8 00093748 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 800967EC 0009374C 48 27 DF 0D */ bl CanBeNormalized__9CVector3fCFv -/* 800967F0 00093750 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800967F4 00093754 41 82 00 90 */ beq lbl_80096884 -/* 800967F8 00093758 38 61 00 5C */ addi r3, r1, 0x5c -/* 800967FC 0009375C 38 81 00 90 */ addi r4, r1, 0x90 -/* 80096800 00093760 48 27 E0 51 */ bl AsNormalized__9CVector3fCFv -/* 80096804 00093764 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 80096808 00093768 38 61 00 90 */ addi r3, r1, 0x90 -/* 8009680C 0009376C C0 1C 00 04 */ lfs f0, 4(r28) -/* 80096810 00093770 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 80096814 00093774 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80096818 00093778 C0 3C 00 00 */ lfs f1, 0(r28) -/* 8009681C 0009377C C0 81 00 64 */ lfs f4, 0x64(r1) -/* 80096820 00093780 C0 7C 00 08 */ lfs f3, 8(r28) -/* 80096824 00093784 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80096828 00093788 EF 64 00 FA */ fmadds f27, f4, f3, f0 -/* 8009682C 0009378C 48 27 E0 8D */ bl Magnitude__9CVector3fCFv -/* 80096830 00093790 EC 61 06 F2 */ fmuls f3, f1, f27 -/* 80096834 00093794 C0 5C 00 04 */ lfs f2, 4(r28) -/* 80096838 00093798 C0 3C 00 08 */ lfs f1, 8(r28) -/* 8009683C 0009379C 38 81 00 44 */ addi r4, r1, 0x44 -/* 80096840 000937A0 C0 1C 00 00 */ lfs f0, 0(r28) -/* 80096844 000937A4 EC A3 00 B2 */ fmuls f5, f3, f2 -/* 80096848 000937A8 EC 83 00 72 */ fmuls f4, f3, f1 -/* 8009684C 000937AC C0 5B 00 04 */ lfs f2, 4(r27) -/* 80096850 000937B0 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80096854 000937B4 C0 3B 00 08 */ lfs f1, 8(r27) -/* 80096858 000937B8 C0 1B 00 00 */ lfs f0, 0(r27) -/* 8009685C 000937BC EC 42 28 2A */ fadds f2, f2, f5 -/* 80096860 000937C0 EC 21 20 2A */ fadds f1, f1, f4 -/* 80096864 000937C4 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 80096868 000937C8 EC 00 18 2A */ fadds f0, f0, f3 -/* 8009686C 000937CC D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 80096870 000937D0 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 80096874 000937D4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80096878 000937D8 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8009687C 000937DC D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80096880 000937E0 48 00 00 08 */ b lbl_80096888 -lbl_80096884: -/* 80096884 000937E4 7F 64 DB 78 */ mr r4, r27 -lbl_80096888: -/* 80096888 000937E8 C0 44 00 04 */ lfs f2, 4(r4) -/* 8009688C 000937EC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80096890 000937F0 C0 24 00 08 */ lfs f1, 8(r4) -/* 80096894 000937F4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80096898 000937F8 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 8009689C 000937FC EC 21 F0 28 */ fsubs f1, f1, f30 -/* 800968A0 00093800 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 800968A4 00093804 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800968A8 00093808 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800968AC 0009380C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 800968B0 00093810 48 27 E0 09 */ bl Magnitude__9CVector3fCFv -/* 800968B4 00093814 FC 01 E0 40 */ fcmpo cr0, f1, f28 -/* 800968B8 00093818 40 80 00 0C */ bge lbl_800968C4 -/* 800968BC 0009381C 7E DE B3 78 */ mr r30, r22 -/* 800968C0 00093820 FF 80 08 90 */ fmr f28, f1 -lbl_800968C4: -/* 800968C4 00093824 3B 5A 00 04 */ addi r26, r26, 4 -/* 800968C8 00093828 3A F7 00 01 */ addi r23, r23, 1 -lbl_800968CC: -/* 800968CC 0009382C 7C 17 C0 00 */ cmpw r23, r24 -/* 800968D0 00093830 41 80 FE 98 */ blt lbl_80096768 -/* 800968D4 00093834 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 800968D8 00093838 7F DA F3 78 */ mr r26, r30 -/* 800968DC 0009383C 80 61 00 A8 */ lwz r3, 0xa8(r1) -/* 800968E0 00093840 54 00 10 3A */ slwi r0, r0, 2 -/* 800968E4 00093844 7C 03 02 14 */ add r0, r3, r0 -/* 800968E8 00093848 90 61 00 0C */ stw r3, 0xc(r1) -/* 800968EC 0009384C 7C 64 1B 78 */ mr r4, r3 -/* 800968F0 00093850 90 01 00 14 */ stw r0, 0x14(r1) -/* 800968F4 00093854 90 01 00 10 */ stw r0, 0x10(r1) -/* 800968F8 00093858 90 61 00 08 */ stw r3, 8(r1) -/* 800968FC 0009385C 48 00 00 08 */ b lbl_80096904 -lbl_80096900: -/* 80096900 00093860 38 84 00 04 */ addi r4, r4, 4 -lbl_80096904: -/* 80096904 00093864 7C 04 00 40 */ cmplw r4, r0 -/* 80096908 00093868 40 82 FF F8 */ bne lbl_80096900 -/* 8009690C 0009386C 28 03 00 00 */ cmplwi r3, 0 -/* 80096910 00093870 41 82 00 08 */ beq lbl_80096918 -/* 80096914 00093874 48 27 F0 1D */ bl Free__7CMemoryFPCv -lbl_80096918: -/* 80096918 00093878 7F 43 D3 78 */ mr r3, r26 -lbl_8009691C: -/* 8009691C 0009387C E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 -/* 80096920 00093880 CB E1 01 80 */ lfd f31, 0x180(r1) -/* 80096924 00093884 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 -/* 80096928 00093888 CB C1 01 70 */ lfd f30, 0x170(r1) -/* 8009692C 0009388C E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 -/* 80096930 00093890 CB A1 01 60 */ lfd f29, 0x160(r1) -/* 80096934 00093894 E3 81 01 58 */ psq_l f28, 344(r1), 0, qr0 -/* 80096938 00093898 CB 81 01 50 */ lfd f28, 0x150(r1) -/* 8009693C 0009389C E3 61 01 48 */ psq_l f27, 328(r1), 0, qr0 -/* 80096940 000938A0 CB 61 01 40 */ lfd f27, 0x140(r1) -/* 80096944 000938A4 BA C1 01 18 */ lmw r22, 0x118(r1) -/* 80096948 000938A8 80 01 01 94 */ lwz r0, 0x194(r1) -/* 8009694C 000938AC 7C 08 03 A6 */ mtlr r0 -/* 80096950 000938B0 38 21 01 90 */ addi r1, r1, 0x190 -/* 80096954 000938B4 4E 80 00 20 */ blr - -.global GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri -GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri: -/* 80096958 000938B8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8009695C 000938BC 7C 08 02 A6 */ mflr r0 -/* 80096960 000938C0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80096964 000938C4 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80096968 000938C8 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8009696C 000938CC 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80096970 000938D0 7C DD 33 78 */ mr r29, r6 -/* 80096974 000938D4 93 81 00 50 */ stw r28, 0x50(r1) -/* 80096978 000938D8 7C 7C 1B 78 */ mr r28, r3 -/* 8009697C 000938DC 83 C4 00 24 */ lwz r30, 0x24(r4) -/* 80096980 000938E0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80096984 000938E4 7F C3 F3 78 */ mr r3, r30 -/* 80096988 000938E8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8009698C 000938EC 7D 89 03 A6 */ mtctr r12 -/* 80096990 000938F0 4E 80 04 21 */ bctrl -/* 80096994 000938F4 7F A4 EB 78 */ mr r4, r29 -/* 80096998 000938F8 48 00 AA 21 */ bl GetMapArea__9CMapWorldCFi -/* 8009699C 000938FC 7C 7F 1B 78 */ mr r31, r3 -/* 800969A0 00093900 38 61 00 08 */ addi r3, r1, 8 -/* 800969A4 00093904 7F E4 FB 78 */ mr r4, r31 -/* 800969A8 00093908 4B FE A3 55 */ bl GetAreaCenterPoint__8CMapAreaCFv -/* 800969AC 0009390C 7F E4 FB 78 */ mr r4, r31 -/* 800969B0 00093910 7F C5 F3 78 */ mr r5, r30 -/* 800969B4 00093914 7F A6 EB 78 */ mr r6, r29 -/* 800969B8 00093918 38 61 00 14 */ addi r3, r1, 0x14 -/* 800969BC 0009391C 4B FE 9A AD */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 800969C0 00093920 7F 83 E3 78 */ mr r3, r28 -/* 800969C4 00093924 38 81 00 14 */ addi r4, r1, 0x14 -/* 800969C8 00093928 38 A1 00 08 */ addi r5, r1, 8 -/* 800969CC 0009392C 48 27 C1 1D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800969D0 00093930 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800969D4 00093934 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800969D8 00093938 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 800969DC 0009393C 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 800969E0 00093940 83 81 00 50 */ lwz r28, 0x50(r1) -/* 800969E4 00093944 7C 08 03 A6 */ mtlr r0 -/* 800969E8 00093948 38 21 00 60 */ addi r1, r1, 0x60 -/* 800969EC 0009394C 4E 80 00 20 */ blr - -.global GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager -GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager: -/* 800969F0 00093950 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800969F4 00093954 7C 08 02 A6 */ mflr r0 -/* 800969F8 00093958 90 01 00 84 */ stw r0, 0x84(r1) -/* 800969FC 0009395C DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80096A00 00093960 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80096A04 00093964 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80096A08 00093968 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) -/* 80096A0C 0009396C 7C 7F 1B 78 */ mr r31, r3 -/* 80096A10 00093970 80 64 08 70 */ lwz r3, 0x870(r4) -/* 80096A14 00093974 C3 E5 00 2C */ lfs f31, 0x2c(r5) -/* 80096A18 00093978 4B F7 51 01 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80096A1C 0009397C 7C 64 1B 78 */ mr r4, r3 -/* 80096A20 00093980 38 61 00 30 */ addi r3, r1, 0x30 -/* 80096A24 00093984 38 84 00 34 */ addi r4, r4, 0x34 -/* 80096A28 00093988 48 27 B7 01 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80096A2C 0009398C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80096A30 00093990 38 81 00 30 */ addi r4, r1, 0x30 -/* 80096A34 00093994 4B F8 4B 91 */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion -/* 80096A38 00093998 C0 81 00 48 */ lfs f4, 0x48(r1) -/* 80096A3C 0009399C 3C 00 43 30 */ lis r0, 0x4330 -/* 80096A40 000939A0 C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) -/* 80096A44 000939A4 90 01 00 58 */ stw r0, 0x58(r1) -/* 80096A48 000939A8 EC 44 00 32 */ fmuls f2, f4, f0 -/* 80096A4C 000939AC C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) -/* 80096A50 000939B0 C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) -/* 80096A54 000939B4 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 80096A58 000939B8 FC 40 10 1E */ fctiwz f2, f2 -/* 80096A5C 000939BC D8 41 00 50 */ stfd f2, 0x50(r1) -/* 80096A60 000939C0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80096A64 000939C4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80096A68 000939C8 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80096A6C 000939CC C8 41 00 58 */ lfd f2, 0x58(r1) -/* 80096A70 000939D0 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80096A74 000939D4 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 -/* 80096A78 000939D8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80096A7C 000939DC 40 80 00 08 */ bge lbl_80096A84 -/* 80096A80 000939E0 EC 42 08 2A */ fadds f2, f2, f1 -lbl_80096A84: -/* 80096A84 000939E4 C0 02 8B AC */ lfs f0, lbl_805AA8CC@sda21(r2) -/* 80096A88 000939E8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80096A8C 000939EC D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80096A90 000939F0 38 81 00 08 */ addi r4, r1, 8 -/* 80096A94 000939F4 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80096A98 000939F8 D0 01 00 08 */ stfs f0, 8(r1) -/* 80096A9C 000939FC 48 27 A6 CD */ bl XRotation__11CQuaternionFRC9CRelAngle -/* 80096AA0 00093A00 38 61 00 20 */ addi r3, r1, 0x20 -/* 80096AA4 00093A04 38 81 00 0C */ addi r4, r1, 0xc -/* 80096AA8 00093A08 48 27 A6 51 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 80096AAC 00093A0C 7F E3 FB 78 */ mr r3, r31 -/* 80096AB0 00093A10 38 81 00 20 */ addi r4, r1, 0x20 -/* 80096AB4 00093A14 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80096AB8 00093A18 48 27 A6 E9 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80096ABC 00093A1C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80096AC0 00093A20 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80096AC4 00093A24 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80096AC8 00093A28 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80096ACC 00093A2C 7C 08 03 A6 */ mtlr r0 -/* 80096AD0 00093A30 38 21 00 80 */ addi r1, r1, 0x80 -/* 80096AD4 00093A34 4E 80 00 20 */ blr - -.global LeaveMapScreenState__11CAutoMapperFv -LeaveMapScreenState__11CAutoMapperFv: -/* 80096AD8 00093A38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80096ADC 00093A3C 7C 08 02 A6 */ mflr r0 -/* 80096AE0 00093A40 38 80 00 00 */ li r4, 0 -/* 80096AE4 00093A44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80096AE8 00093A48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80096AEC 00093A4C 7C 7F 1B 78 */ mr r31, r3 -/* 80096AF0 00093A50 48 00 01 39 */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb -/* 80096AF4 00093A54 7F E3 FB 78 */ mr r3, r31 -/* 80096AF8 00093A58 38 80 00 00 */ li r4, 0 -/* 80096AFC 00093A5C 48 00 00 A9 */ bl SetShouldZoomingSoundBePlaying__11CAutoMapperFb -/* 80096B00 00093A60 7F E3 FB 78 */ mr r3, r31 -/* 80096B04 00093A64 38 80 00 00 */ li r4, 0 -/* 80096B08 00093A68 48 00 00 19 */ bl SetShouldRotatingSoundBePlaying__11CAutoMapperFb -/* 80096B0C 00093A6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80096B10 00093A70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80096B14 00093A74 7C 08 03 A6 */ mtlr r0 -/* 80096B18 00093A78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80096B1C 00093A7C 4E 80 00 20 */ blr - -.global SetShouldRotatingSoundBePlaying__11CAutoMapperFb -SetShouldRotatingSoundBePlaying__11CAutoMapperFb: -/* 80096B20 00093A80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80096B24 00093A84 7C 08 02 A6 */ mflr r0 -/* 80096B28 00093A88 90 01 00 24 */ stw r0, 0x24(r1) -/* 80096B2C 00093A8C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80096B30 00093A90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80096B34 00093A94 7C 7F 1B 78 */ mr r31, r3 -/* 80096B38 00093A98 41 82 00 40 */ beq lbl_80096B78 -/* 80096B3C 00093A9C 80 1F 01 D0 */ lwz r0, 0x1d0(r31) -/* 80096B40 00093AA0 28 00 00 00 */ cmplwi r0, 0 -/* 80096B44 00093AA4 40 82 00 4C */ bne lbl_80096B90 -/* 80096B48 00093AA8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80096B4C 00093AAC 38 61 00 0C */ addi r3, r1, 0xc -/* 80096B50 00093AB0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80096B54 00093AB4 38 80 05 5F */ li r4, 0x55f -/* 80096B58 00093AB8 38 A0 00 7F */ li r5, 0x7f -/* 80096B5C 00093ABC 38 C0 00 40 */ li r6, 0x40 -/* 80096B60 00093AC0 38 E0 00 00 */ li r7, 0 -/* 80096B64 00093AC4 39 20 00 01 */ li r9, 1 -/* 80096B68 00093AC8 48 25 32 0D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80096B6C 00093ACC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80096B70 00093AD0 90 1F 01 D0 */ stw r0, 0x1d0(r31) -/* 80096B74 00093AD4 48 00 00 1C */ b lbl_80096B90 -lbl_80096B78: -/* 80096B78 00093AD8 80 1F 01 D0 */ lwz r0, 0x1d0(r31) -/* 80096B7C 00093ADC 38 61 00 08 */ addi r3, r1, 8 -/* 80096B80 00093AE0 90 01 00 08 */ stw r0, 8(r1) -/* 80096B84 00093AE4 48 25 31 C5 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 80096B88 00093AE8 38 00 00 00 */ li r0, 0 -/* 80096B8C 00093AEC 90 1F 01 D0 */ stw r0, 0x1d0(r31) -lbl_80096B90: -/* 80096B90 00093AF0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80096B94 00093AF4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80096B98 00093AF8 7C 08 03 A6 */ mtlr r0 -/* 80096B9C 00093AFC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80096BA0 00093B00 4E 80 00 20 */ blr - -.global SetShouldZoomingSoundBePlaying__11CAutoMapperFb -SetShouldZoomingSoundBePlaying__11CAutoMapperFb: -/* 80096BA4 00093B04 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80096BA8 00093B08 7C 08 02 A6 */ mflr r0 -/* 80096BAC 00093B0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80096BB0 00093B10 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80096BB4 00093B14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80096BB8 00093B18 7C 7F 1B 78 */ mr r31, r3 -/* 80096BBC 00093B1C 41 82 00 40 */ beq lbl_80096BFC -/* 80096BC0 00093B20 80 1F 01 D4 */ lwz r0, 0x1d4(r31) -/* 80096BC4 00093B24 28 00 00 00 */ cmplwi r0, 0 -/* 80096BC8 00093B28 40 82 00 4C */ bne lbl_80096C14 -/* 80096BCC 00093B2C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80096BD0 00093B30 38 61 00 0C */ addi r3, r1, 0xc -/* 80096BD4 00093B34 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80096BD8 00093B38 38 80 05 60 */ li r4, 0x560 -/* 80096BDC 00093B3C 38 A0 00 7F */ li r5, 0x7f -/* 80096BE0 00093B40 38 C0 00 40 */ li r6, 0x40 -/* 80096BE4 00093B44 38 E0 00 00 */ li r7, 0 -/* 80096BE8 00093B48 39 20 00 01 */ li r9, 1 -/* 80096BEC 00093B4C 48 25 31 89 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80096BF0 00093B50 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80096BF4 00093B54 90 1F 01 D4 */ stw r0, 0x1d4(r31) -/* 80096BF8 00093B58 48 00 00 1C */ b lbl_80096C14 -lbl_80096BFC: -/* 80096BFC 00093B5C 80 1F 01 D4 */ lwz r0, 0x1d4(r31) -/* 80096C00 00093B60 38 61 00 08 */ addi r3, r1, 8 -/* 80096C04 00093B64 90 01 00 08 */ stw r0, 8(r1) -/* 80096C08 00093B68 48 25 31 41 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 80096C0C 00093B6C 38 00 00 00 */ li r0, 0 -/* 80096C10 00093B70 90 1F 01 D4 */ stw r0, 0x1d4(r31) -lbl_80096C14: -/* 80096C14 00093B74 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80096C18 00093B78 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80096C1C 00093B7C 7C 08 03 A6 */ mtlr r0 -/* 80096C20 00093B80 38 21 00 20 */ addi r1, r1, 0x20 -/* 80096C24 00093B84 4E 80 00 20 */ blr - -.global SetShouldPanningSoundBePlaying__11CAutoMapperFb -SetShouldPanningSoundBePlaying__11CAutoMapperFb: -/* 80096C28 00093B88 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80096C2C 00093B8C 7C 08 02 A6 */ mflr r0 -/* 80096C30 00093B90 90 01 00 24 */ stw r0, 0x24(r1) -/* 80096C34 00093B94 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80096C38 00093B98 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80096C3C 00093B9C 7C 7F 1B 78 */ mr r31, r3 -/* 80096C40 00093BA0 41 82 00 40 */ beq lbl_80096C80 -/* 80096C44 00093BA4 80 1F 01 CC */ lwz r0, 0x1cc(r31) -/* 80096C48 00093BA8 28 00 00 00 */ cmplwi r0, 0 -/* 80096C4C 00093BAC 40 82 00 4C */ bne lbl_80096C98 -/* 80096C50 00093BB0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80096C54 00093BB4 38 61 00 0C */ addi r3, r1, 0xc -/* 80096C58 00093BB8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80096C5C 00093BBC 38 80 05 7E */ li r4, 0x57e -/* 80096C60 00093BC0 38 A0 00 7F */ li r5, 0x7f -/* 80096C64 00093BC4 38 C0 00 40 */ li r6, 0x40 -/* 80096C68 00093BC8 38 E0 00 00 */ li r7, 0 -/* 80096C6C 00093BCC 39 20 00 01 */ li r9, 1 -/* 80096C70 00093BD0 48 25 31 05 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80096C74 00093BD4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80096C78 00093BD8 90 1F 01 CC */ stw r0, 0x1cc(r31) -/* 80096C7C 00093BDC 48 00 00 1C */ b lbl_80096C98 -lbl_80096C80: -/* 80096C80 00093BE0 80 1F 01 CC */ lwz r0, 0x1cc(r31) -/* 80096C84 00093BE4 38 61 00 08 */ addi r3, r1, 8 -/* 80096C88 00093BE8 90 01 00 08 */ stw r0, 8(r1) -/* 80096C8C 00093BEC 48 25 30 BD */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 80096C90 00093BF0 38 00 00 00 */ li r0, 0 -/* 80096C94 00093BF4 90 1F 01 CC */ stw r0, 0x1cc(r31) -lbl_80096C98: -/* 80096C98 00093BF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80096C9C 00093BFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80096CA0 00093C00 7C 08 03 A6 */ mtlr r0 -/* 80096CA4 00093C04 38 21 00 20 */ addi r1, r1, 0x20 -/* 80096CA8 00093C08 4E 80 00 20 */ blr - -.global BuildMapScreenUniverseRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni -BuildMapScreenUniverseRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni: -/* 80096CAC 00093C0C 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80096CB0 00093C10 7C 08 02 A6 */ mflr r0 -/* 80096CB4 00093C14 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80096CB8 00093C18 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80096CBC 00093C1C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 80096CC0 00093C20 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 80096CC4 00093C24 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 80096CC8 00093C28 BF 41 00 78 */ stmw r26, 0x78(r1) -/* 80096CCC 00093C2C 7C 9B 23 78 */ mr r27, r4 -/* 80096CD0 00093C30 7C BC 2B 78 */ mr r28, r5 -/* 80096CD4 00093C34 7C FE 3B 78 */ mr r30, r7 -/* 80096CD8 00093C38 7C 7A 1B 78 */ mr r26, r3 -/* 80096CDC 00093C3C 83 ED A1 44 */ lwz r31, gpTweakAutoMapper@sda21(r13) -/* 80096CE0 00093C40 7C DD 33 78 */ mr r29, r6 -/* 80096CE4 00093C44 7F 63 DB 78 */ mr r3, r27 -/* 80096CE8 00093C48 7F 84 E3 78 */ mr r4, r28 -/* 80096CEC 00093C4C 7F C5 F3 78 */ mr r5, r30 -/* 80096CF0 00093C50 4B FF F5 55 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri -/* 80096CF4 00093C54 FF C0 08 90 */ fmr f30, f1 -/* 80096CF8 00093C58 7F 63 DB 78 */ mr r3, r27 -/* 80096CFC 00093C5C 7F 84 E3 78 */ mr r4, r28 -/* 80096D00 00093C60 7F C5 F3 78 */ mr r5, r30 -/* 80096D04 00093C64 4B FF F5 41 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri -/* 80096D08 00093C68 FF E0 08 90 */ fmr f31, f1 -/* 80096D0C 00093C6C 7F 64 DB 78 */ mr r4, r27 -/* 80096D10 00093C70 7F 85 E3 78 */ mr r5, r28 -/* 80096D14 00093C74 7F C6 F3 78 */ mr r6, r30 -/* 80096D18 00093C78 38 61 00 10 */ addi r3, r1, 0x10 -/* 80096D1C 00093C7C 4B FF FC 3D */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri -/* 80096D20 00093C80 38 61 00 08 */ addi r3, r1, 8 -/* 80096D24 00093C84 4B FF F5 99 */ bl GetMapScreenViewportSize__11CAutoMapperFv -/* 80096D28 00093C88 C0 A2 8B A8 */ lfs f5, lbl_805AA8C8@sda21(r2) -/* 80096D2C 00093C8C FC 60 F8 90 */ fmr f3, f31 -/* 80096D30 00093C90 FC 80 F0 90 */ fmr f4, f30 -/* 80096D34 00093C94 C0 3F 00 D0 */ lfs f1, 0xd0(r31) -/* 80096D38 00093C98 FC C0 28 90 */ fmr f6, f5 -/* 80096D3C 00093C9C C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 80096D40 00093CA0 FC E0 28 90 */ fmr f7, f5 -/* 80096D44 00093CA4 FD 00 28 90 */ fmr f8, f5 -/* 80096D48 00093CA8 7F A5 EB 78 */ mr r5, r29 -/* 80096D4C 00093CAC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80096D50 00093CB0 38 81 00 08 */ addi r4, r1, 8 -/* 80096D54 00093CB4 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80096D58 00093CB8 48 00 72 FD */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff -/* 80096D5C 00093CBC 38 A0 00 02 */ li r5, 2 -/* 80096D60 00093CC0 38 00 00 01 */ li r0, 1 -/* 80096D64 00093CC4 90 A1 00 60 */ stw r5, 0x60(r1) -/* 80096D68 00093CC8 7F 43 D3 78 */ mr r3, r26 -/* 80096D6C 00093CCC 38 81 00 1C */ addi r4, r1, 0x1c -/* 80096D70 00093CD0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80096D74 00093CD4 90 A1 00 68 */ stw r5, 0x68(r1) -/* 80096D78 00093CD8 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80096D7C 00093CDC 90 A1 00 70 */ stw r5, 0x70(r1) -/* 80096D80 00093CE0 90 01 00 74 */ stw r0, 0x74(r1) -/* 80096D84 00093CE4 48 00 00 29 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState -/* 80096D88 00093CE8 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80096D8C 00093CEC CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80096D90 00093CF0 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 80096D94 00093CF4 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 80096D98 00093CF8 BB 41 00 78 */ lmw r26, 0x78(r1) -/* 80096D9C 00093CFC 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80096DA0 00093D00 7C 08 03 A6 */ mtlr r0 -/* 80096DA4 00093D04 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80096DA8 00093D08 4E 80 00 20 */ blr - -.global __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState -__ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState: -/* 80096DAC 00093D0C 80 04 00 00 */ lwz r0, 0(r4) -/* 80096DB0 00093D10 90 03 00 00 */ stw r0, 0(r3) -/* 80096DB4 00093D14 80 04 00 04 */ lwz r0, 4(r4) -/* 80096DB8 00093D18 90 03 00 04 */ stw r0, 4(r3) -/* 80096DBC 00093D1C C0 04 00 08 */ lfs f0, 8(r4) -/* 80096DC0 00093D20 D0 03 00 08 */ stfs f0, 8(r3) -/* 80096DC4 00093D24 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80096DC8 00093D28 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80096DCC 00093D2C C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80096DD0 00093D30 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80096DD4 00093D34 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80096DD8 00093D38 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80096DDC 00093D3C C0 04 00 18 */ lfs f0, 0x18(r4) -/* 80096DE0 00093D40 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80096DE4 00093D44 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 80096DE8 00093D48 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80096DEC 00093D4C C0 04 00 20 */ lfs f0, 0x20(r4) -/* 80096DF0 00093D50 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80096DF4 00093D54 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 80096DF8 00093D58 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80096DFC 00093D5C C0 04 00 28 */ lfs f0, 0x28(r4) -/* 80096E00 00093D60 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80096E04 00093D64 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 80096E08 00093D68 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80096E0C 00093D6C C0 04 00 30 */ lfs f0, 0x30(r4) -/* 80096E10 00093D70 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 80096E14 00093D74 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 80096E18 00093D78 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 80096E1C 00093D7C C0 04 00 38 */ lfs f0, 0x38(r4) -/* 80096E20 00093D80 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 80096E24 00093D84 C0 04 00 3C */ lfs f0, 0x3c(r4) -/* 80096E28 00093D88 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 80096E2C 00093D8C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80096E30 00093D90 D0 03 00 40 */ stfs f0, 0x40(r3) -/* 80096E34 00093D94 80 04 00 44 */ lwz r0, 0x44(r4) -/* 80096E38 00093D98 90 03 00 44 */ stw r0, 0x44(r3) -/* 80096E3C 00093D9C 80 04 00 48 */ lwz r0, 0x48(r4) -/* 80096E40 00093DA0 90 03 00 48 */ stw r0, 0x48(r3) -/* 80096E44 00093DA4 80 04 00 4C */ lwz r0, 0x4c(r4) -/* 80096E48 00093DA8 90 03 00 4C */ stw r0, 0x4c(r3) -/* 80096E4C 00093DAC 80 04 00 50 */ lwz r0, 0x50(r4) -/* 80096E50 00093DB0 90 03 00 50 */ stw r0, 0x50(r3) -/* 80096E54 00093DB4 80 04 00 54 */ lwz r0, 0x54(r4) -/* 80096E58 00093DB8 90 03 00 54 */ stw r0, 0x54(r3) -/* 80096E5C 00093DBC 80 04 00 58 */ lwz r0, 0x58(r4) -/* 80096E60 00093DC0 90 03 00 58 */ stw r0, 0x58(r3) -/* 80096E64 00093DC4 4E 80 00 20 */ blr - -.global BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni -BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni: -/* 80096E68 00093DC8 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80096E6C 00093DCC 7C 08 02 A6 */ mflr r0 -/* 80096E70 00093DD0 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80096E74 00093DD4 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80096E78 00093DD8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80096E7C 00093DDC DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 80096E80 00093DE0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 80096E84 00093DE4 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 80096E88 00093DE8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 80096E8C 00093DEC BF 41 00 78 */ stmw r26, 0x78(r1) -/* 80096E90 00093DF0 55 00 06 3F */ clrlwi. r0, r8, 0x18 -/* 80096E94 00093DF4 7C 7A 1B 78 */ mr r26, r3 -/* 80096E98 00093DF8 7C 9B 23 78 */ mr r27, r4 -/* 80096E9C 00093DFC 7C BC 2B 78 */ mr r28, r5 -/* 80096EA0 00093E00 7C DD 33 78 */ mr r29, r6 -/* 80096EA4 00093E04 7C FE 3B 78 */ mr r30, r7 -/* 80096EA8 00093E08 41 82 00 10 */ beq lbl_80096EB8 -/* 80096EAC 00093E0C 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 80096EB0 00093E10 C3 A3 00 10 */ lfs f29, 0x10(r3) -/* 80096EB4 00093E14 48 00 00 0C */ b lbl_80096EC0 -lbl_80096EB8: -/* 80096EB8 00093E18 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 80096EBC 00093E1C C3 A3 00 08 */ lfs f29, 8(r3) -lbl_80096EC0: -/* 80096EC0 00093E20 83 ED A1 44 */ lwz r31, gpTweakAutoMapper@sda21(r13) -/* 80096EC4 00093E24 7F 63 DB 78 */ mr r3, r27 -/* 80096EC8 00093E28 7F 84 E3 78 */ mr r4, r28 -/* 80096ECC 00093E2C 7F C5 F3 78 */ mr r5, r30 -/* 80096ED0 00093E30 4B FF F3 75 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri -/* 80096ED4 00093E34 FF C0 08 90 */ fmr f30, f1 -/* 80096ED8 00093E38 7F 63 DB 78 */ mr r3, r27 -/* 80096EDC 00093E3C 7F 84 E3 78 */ mr r4, r28 -/* 80096EE0 00093E40 7F C5 F3 78 */ mr r5, r30 -/* 80096EE4 00093E44 4B FF F3 61 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri -/* 80096EE8 00093E48 FF E0 08 90 */ fmr f31, f1 -/* 80096EEC 00093E4C 7F 64 DB 78 */ mr r4, r27 -/* 80096EF0 00093E50 7F 85 E3 78 */ mr r5, r28 -/* 80096EF4 00093E54 7F C6 F3 78 */ mr r6, r30 -/* 80096EF8 00093E58 38 61 00 10 */ addi r3, r1, 0x10 -/* 80096EFC 00093E5C 4B FF FA 5D */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri -/* 80096F00 00093E60 38 61 00 08 */ addi r3, r1, 8 -/* 80096F04 00093E64 4B FF F3 B9 */ bl GetMapScreenViewportSize__11CAutoMapperFv -/* 80096F08 00093E68 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 80096F0C 00093E6C FC 20 E8 90 */ fmr f1, f29 -/* 80096F10 00093E70 FC 60 F8 90 */ fmr f3, f31 -/* 80096F14 00093E74 C0 BF 00 88 */ lfs f5, 0x88(r31) -/* 80096F18 00093E78 FC 80 F0 90 */ fmr f4, f30 -/* 80096F1C 00093E7C C0 43 00 1C */ lfs f2, 0x1c(r3) -/* 80096F20 00093E80 C0 DF 00 90 */ lfs f6, 0x90(r31) -/* 80096F24 00093E84 C0 FF 00 98 */ lfs f7, 0x98(r31) -/* 80096F28 00093E88 C1 1F 00 A0 */ lfs f8, 0xa0(r31) -/* 80096F2C 00093E8C 7F A5 EB 78 */ mr r5, r29 -/* 80096F30 00093E90 38 61 00 1C */ addi r3, r1, 0x1c -/* 80096F34 00093E94 38 81 00 08 */ addi r4, r1, 8 -/* 80096F38 00093E98 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80096F3C 00093E9C 48 00 71 19 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff -/* 80096F40 00093EA0 38 A0 00 02 */ li r5, 2 -/* 80096F44 00093EA4 38 00 00 01 */ li r0, 1 -/* 80096F48 00093EA8 90 A1 00 60 */ stw r5, 0x60(r1) -/* 80096F4C 00093EAC 7F 43 D3 78 */ mr r3, r26 -/* 80096F50 00093EB0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80096F54 00093EB4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80096F58 00093EB8 90 A1 00 68 */ stw r5, 0x68(r1) -/* 80096F5C 00093EBC 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80096F60 00093EC0 90 A1 00 70 */ stw r5, 0x70(r1) -/* 80096F64 00093EC4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80096F68 00093EC8 4B FF FE 45 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState -/* 80096F6C 00093ECC E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80096F70 00093ED0 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 80096F74 00093ED4 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 80096F78 00093ED8 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 80096F7C 00093EDC E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 80096F80 00093EE0 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 80096F84 00093EE4 BB 41 00 78 */ lmw r26, 0x78(r1) -/* 80096F88 00093EE8 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80096F8C 00093EEC 7C 08 03 A6 */ mtlr r0 -/* 80096F90 00093EF0 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80096F94 00093EF4 4E 80 00 20 */ blr - -.global BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni -BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni: -/* 80096F98 00093EF8 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80096F9C 00093EFC 7C 08 02 A6 */ mflr r0 -/* 80096FA0 00093F00 90 01 01 24 */ stw r0, 0x124(r1) -/* 80096FA4 00093F04 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 80096FA8 00093F08 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 80096FAC 00093F0C DB C1 01 00 */ stfd f30, 0x100(r1) -/* 80096FB0 00093F10 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 80096FB4 00093F14 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 80096FB8 00093F18 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 80096FBC 00093F1C DB 81 00 E0 */ stfd f28, 0xe0(r1) -/* 80096FC0 00093F20 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 -/* 80096FC4 00093F24 DB 61 00 D0 */ stfd f27, 0xd0(r1) -/* 80096FC8 00093F28 F3 61 00 D8 */ psq_st f27, 216(r1), 0, qr0 -/* 80096FCC 00093F2C DB 41 00 C0 */ stfd f26, 0xc0(r1) -/* 80096FD0 00093F30 F3 41 00 C8 */ psq_st f26, 200(r1), 0, qr0 -/* 80096FD4 00093F34 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 80096FD8 00093F38 7C BD 2B 78 */ mr r29, r5 -/* 80096FDC 00093F3C 7C 7B 1B 78 */ mr r27, r3 -/* 80096FE0 00093F40 7C 9C 23 78 */ mr r28, r4 -/* 80096FE4 00093F44 7C DF 33 78 */ mr r31, r6 -/* 80096FE8 00093F48 7C FE 3B 78 */ mr r30, r7 -/* 80096FEC 00093F4C 7F A4 EB 78 */ mr r4, r29 -/* 80096FF0 00093F50 38 61 00 2C */ addi r3, r1, 0x2c -/* 80096FF4 00093F54 4B FF F9 FD */ bl GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager -/* 80096FF8 00093F58 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80096FFC 00093F5C C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80097000 00093F60 C0 5F 00 04 */ lfs f2, 4(r31) -/* 80097004 00093F64 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80097008 00093F68 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8009700C 00093F6C C0 9F 00 0C */ lfs f4, 0xc(r31) -/* 80097010 00093F70 C0 61 00 38 */ lfs f3, 0x38(r1) -/* 80097014 00093F74 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80097018 00093F78 C0 BF 00 00 */ lfs f5, 0(r31) -/* 8009701C 00093F7C C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 80097020 00093F80 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 80097024 00093F84 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80097028 00093F88 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 8009702C 00093F8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80097030 00093F90 4C 41 13 82 */ cror 2, 1, 2 -/* 80097034 00093F94 40 82 00 0C */ bne lbl_80097040 -/* 80097038 00093F98 38 81 00 2C */ addi r4, r1, 0x2c -/* 8009703C 00093F9C 48 00 00 14 */ b lbl_80097050 -lbl_80097040: -/* 80097040 00093FA0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80097044 00093FA4 38 81 00 2C */ addi r4, r1, 0x2c -/* 80097048 00093FA8 48 27 A3 E9 */ bl BuildEquivalent__11CQuaternionCFv -/* 8009704C 00093FAC 38 81 00 10 */ addi r4, r1, 0x10 -lbl_80097050: -/* 80097050 00093FB0 C0 04 00 00 */ lfs f0, 0(r4) -/* 80097054 00093FB4 7F A3 EB 78 */ mr r3, r29 -/* 80097058 00093FB8 83 ED A1 44 */ lwz r31, gpTweakAutoMapper@sda21(r13) -/* 8009705C 00093FBC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80097060 00093FC0 C0 04 00 04 */ lfs f0, 4(r4) -/* 80097064 00093FC4 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80097068 00093FC8 C0 04 00 08 */ lfs f0, 8(r4) -/* 8009706C 00093FCC D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80097070 00093FD0 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80097074 00093FD4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80097078 00093FD8 4B FF F1 1D */ bl GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager -/* 8009707C 00093FDC FF 40 08 90 */ fmr f26, f1 -/* 80097080 00093FE0 7F A3 EB 78 */ mr r3, r29 -/* 80097084 00093FE4 4B FF F1 3D */ bl GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager -/* 80097088 00093FE8 FF 60 08 90 */ fmr f27, f1 -/* 8009708C 00093FEC 7F A3 EB 78 */ mr r3, r29 -/* 80097090 00093FF0 4B FF F1 5D */ bl GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager -/* 80097094 00093FF4 FF 80 08 90 */ fmr f28, f1 -/* 80097098 00093FF8 7F A3 EB 78 */ mr r3, r29 -/* 8009709C 00093FFC 4B FF F1 7D */ bl GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager -/* 800970A0 00094000 FF A0 08 90 */ fmr f29, f1 -/* 800970A4 00094004 4B FF F2 11 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -/* 800970A8 00094008 FF C0 08 90 */ fmr f30, f1 -/* 800970AC 0009400C 4B FF F2 09 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -/* 800970B0 00094010 FF E0 08 90 */ fmr f31, f1 -/* 800970B4 00094014 7F 84 E3 78 */ mr r4, r28 -/* 800970B8 00094018 7F A5 EB 78 */ mr r5, r29 -/* 800970BC 0009401C 7F C6 F3 78 */ mr r6, r30 -/* 800970C0 00094020 38 61 00 20 */ addi r3, r1, 0x20 -/* 800970C4 00094024 4B FF F8 95 */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri -/* 800970C8 00094028 38 61 00 08 */ addi r3, r1, 8 -/* 800970CC 0009402C 4B FF F2 21 */ bl GetMiniMapViewportSize__11CAutoMapperFv -/* 800970D0 00094030 FC 60 F8 90 */ fmr f3, f31 -/* 800970D4 00094034 C0 3F 00 28 */ lfs f1, 0x28(r31) -/* 800970D8 00094038 FC 80 F0 90 */ fmr f4, f30 -/* 800970DC 0009403C C0 5F 00 30 */ lfs f2, 0x30(r31) -/* 800970E0 00094040 FC A0 E8 90 */ fmr f5, f29 -/* 800970E4 00094044 38 61 00 4C */ addi r3, r1, 0x4c -/* 800970E8 00094048 FC C0 E0 90 */ fmr f6, f28 -/* 800970EC 0009404C 38 81 00 08 */ addi r4, r1, 8 -/* 800970F0 00094050 FC E0 D8 90 */ fmr f7, f27 -/* 800970F4 00094054 38 A1 00 3C */ addi r5, r1, 0x3c -/* 800970F8 00094058 FD 00 D0 90 */ fmr f8, f26 -/* 800970FC 0009405C 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80097100 00094060 48 00 6F 55 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff -/* 80097104 00094064 38 C0 00 02 */ li r6, 2 -/* 80097108 00094068 38 A0 00 01 */ li r5, 1 -/* 8009710C 0009406C 38 00 00 03 */ li r0, 3 -/* 80097110 00094070 90 C1 00 90 */ stw r6, 0x90(r1) -/* 80097114 00094074 7F 63 DB 78 */ mr r3, r27 -/* 80097118 00094078 38 81 00 4C */ addi r4, r1, 0x4c -/* 8009711C 0009407C 90 C1 00 94 */ stw r6, 0x94(r1) -/* 80097120 00094080 90 C1 00 98 */ stw r6, 0x98(r1) -/* 80097124 00094084 90 A1 00 9C */ stw r5, 0x9c(r1) -/* 80097128 00094088 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 8009712C 0009408C 90 A1 00 A4 */ stw r5, 0xa4(r1) -/* 80097130 00094090 4B FF FC 7D */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState -/* 80097134 00094094 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 80097138 00094098 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 8009713C 0009409C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 80097140 000940A0 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 80097144 000940A4 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 80097148 000940A8 CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 8009714C 000940AC E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 -/* 80097150 000940B0 CB 81 00 E0 */ lfd f28, 0xe0(r1) -/* 80097154 000940B4 E3 61 00 D8 */ psq_l f27, 216(r1), 0, qr0 -/* 80097158 000940B8 CB 61 00 D0 */ lfd f27, 0xd0(r1) -/* 8009715C 000940BC E3 41 00 C8 */ psq_l f26, 200(r1), 0, qr0 -/* 80097160 000940C0 CB 41 00 C0 */ lfd f26, 0xc0(r1) -/* 80097164 000940C4 BB 61 00 AC */ lmw r27, 0xac(r1) -/* 80097168 000940C8 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8009716C 000940CC 7C 08 03 A6 */ mtlr r0 -/* 80097170 000940D0 38 21 01 20 */ addi r1, r1, 0x120 -/* 80097174 000940D4 4E 80 00 20 */ blr - -.global ResetInterpolationTimer__11CAutoMapperFf -ResetInterpolationTimer__11CAutoMapperFf: -/* 80097178 000940D8 D0 23 01 C4 */ stfs f1, 0x1c4(r3) -/* 8009717C 000940DC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 80097180 000940E0 D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 80097184 000940E4 4E 80 00 20 */ blr - -.global CompleteMapperStateTransition__11CAutoMapperFv -CompleteMapperStateTransition__11CAutoMapperFv: -/* 80097188 000940E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009718C 000940EC 7C 08 02 A6 */ mflr r0 -/* 80097190 000940F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80097194 000940F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80097198 000940F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009719C 000940FC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800971A0 00094100 7C 9D 23 78 */ mr r29, r4 -/* 800971A4 00094104 93 81 00 10 */ stw r28, 0x10(r1) -/* 800971A8 00094108 7C 7C 1B 78 */ mr r28, r3 -/* 800971AC 0009410C 80 03 01 BC */ lwz r0, 0x1bc(r3) -/* 800971B0 00094110 2C 00 00 02 */ cmpwi r0, 2 -/* 800971B4 00094114 40 82 00 08 */ bne lbl_800971BC -/* 800971B8 00094118 4B FF E8 35 */ bl TransformRenderStatesUniverseToWorld__11CAutoMapperFv -lbl_800971BC: -/* 800971BC 0009411C 80 1C 01 C0 */ lwz r0, 0x1c0(r28) -/* 800971C0 00094120 2C 00 00 01 */ cmpwi r0, 1 -/* 800971C4 00094124 40 82 00 78 */ bne lbl_8009723C -/* 800971C8 00094128 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 800971CC 0009412C 81 83 00 00 */ lwz r12, 0(r3) -/* 800971D0 00094130 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800971D4 00094134 7D 89 03 A6 */ mtctr r12 -/* 800971D8 00094138 4E 80 04 21 */ bctrl -/* 800971DC 0009413C 7C 7E 1B 78 */ mr r30, r3 -/* 800971E0 00094140 48 00 9F A1 */ bl IsMapAreasStreaming__9CMapWorldCFv -/* 800971E4 00094144 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 800971E8 00094148 81 83 00 00 */ lwz r12, 0(r3) -/* 800971EC 0009414C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800971F0 00094150 7D 89 03 A6 */ mtctr r12 -/* 800971F4 00094154 4E 80 04 21 */ bctrl -/* 800971F8 00094158 7C 64 1B 78 */ mr r4, r3 -/* 800971FC 0009415C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80097200 00094160 48 13 C7 D9 */ bl StateForWorld__10CGameStateFUi -/* 80097204 00094164 7C 64 1B 78 */ mr r4, r3 -/* 80097208 00094168 38 61 00 08 */ addi r3, r1, 8 -/* 8009720C 0009416C 48 13 DB 59 */ bl GetMapWorldInfo__11CWorldStateCFv -/* 80097210 00094170 80 81 00 08 */ lwz r4, 8(r1) -/* 80097214 00094174 38 61 00 08 */ addi r3, r1, 8 -/* 80097218 00094178 83 E4 00 00 */ lwz r31, 0(r4) -/* 8009721C 0009417C 4B F7 1A 21 */ bl sub_80008c3c -/* 80097220 00094180 80 BC 00 24 */ lwz r5, 0x24(r28) -/* 80097224 00094184 7F C3 F3 78 */ mr r3, r30 -/* 80097228 00094188 7F E4 FB 78 */ mr r4, r31 -/* 8009722C 0009418C 48 00 86 31 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld -/* 80097230 00094190 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 80097234 00094194 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) -/* 80097238 00094198 D0 1C 01 DC */ stfs f0, 0x1dc(r28) -lbl_8009723C: -/* 8009723C 0009419C 80 1C 01 C0 */ lwz r0, 0x1c0(r28) -/* 80097240 000941A0 2C 00 00 00 */ cmpwi r0, 0 -/* 80097244 000941A4 40 82 00 A4 */ bne lbl_800972E8 -/* 80097248 000941A8 83 FC 00 28 */ lwz r31, 0x28(r28) -/* 8009724C 000941AC 28 1F 00 00 */ cmplwi r31, 0 -/* 80097250 000941B0 41 82 00 1C */ beq lbl_8009726C -/* 80097254 000941B4 41 82 00 10 */ beq lbl_80097264 -/* 80097258 000941B8 7F E3 FB 78 */ mr r3, r31 -/* 8009725C 000941BC 38 80 00 00 */ li r4, 0 -/* 80097260 000941C0 48 2A 9B E1 */ bl __dt__6CTokenFv -lbl_80097264: -/* 80097264 000941C4 7F E3 FB 78 */ mr r3, r31 -/* 80097268 000941C8 48 27 E6 C9 */ bl Free__7CMemoryFPCv -lbl_8009726C: -/* 8009726C 000941CC 38 00 00 00 */ li r0, 0 -/* 80097270 000941D0 7F 83 E3 78 */ mr r3, r28 -/* 80097274 000941D4 90 1C 00 28 */ stw r0, 0x28(r28) -/* 80097278 000941D8 38 9C 02 10 */ addi r4, r28, 0x210 -/* 8009727C 000941DC 38 A0 00 00 */ li r5, 0 -/* 80097280 000941E0 90 1C 00 2C */ stw r0, 0x2c(r28) -/* 80097284 000941E4 90 1C 02 FC */ stw r0, 0x2fc(r28) -/* 80097288 000941E8 90 1C 03 00 */ stw r0, 0x300(r28) -/* 8009728C 000941EC 90 1C 03 04 */ stw r0, 0x304(r28) -/* 80097290 000941F0 90 1C 03 08 */ stw r0, 0x308(r28) -/* 80097294 000941F4 90 1C 02 F8 */ stw r0, 0x2f8(r28) -/* 80097298 000941F8 90 1C 03 0C */ stw r0, 0x30c(r28) -/* 8009729C 000941FC 90 1C 03 10 */ stw r0, 0x310(r28) -/* 800972A0 00094200 90 1C 03 14 */ stw r0, 0x314(r28) -/* 800972A4 00094204 48 00 61 A5 */ bl "SetResLockState,9>>__11CAutoMapperFv" -/* 800972A8 00094208 7F 83 E3 78 */ mr r3, r28 -/* 800972AC 0009420C 38 9C 02 5C */ addi r4, r28, 0x25c -/* 800972B0 00094210 38 A0 00 00 */ li r5, 0 -/* 800972B4 00094214 48 00 61 95 */ bl "SetResLockState,9>>__11CAutoMapperFv" -/* 800972B8 00094218 7F 83 E3 78 */ mr r3, r28 -/* 800972BC 0009421C 38 9C 02 A8 */ addi r4, r28, 0x2a8 -/* 800972C0 00094220 38 A0 00 00 */ li r5, 0 -/* 800972C4 00094224 48 00 61 09 */ bl "SetResLockState,2>>__11CAutoMapperFv" -/* 800972C8 00094228 7F 83 E3 78 */ mr r3, r28 -/* 800972CC 0009422C 38 9C 02 BC */ addi r4, r28, 0x2bc -/* 800972D0 00094230 38 A0 00 00 */ li r5, 0 -/* 800972D4 00094234 48 00 60 F9 */ bl "SetResLockState,2>>__11CAutoMapperFv" -/* 800972D8 00094238 7F 83 E3 78 */ mr r3, r28 -/* 800972DC 0009423C 38 9C 02 D0 */ addi r4, r28, 0x2d0 -/* 800972E0 00094240 38 A0 00 00 */ li r5, 0 -/* 800972E4 00094244 48 00 60 E9 */ bl "SetResLockState,2>>__11CAutoMapperFv" -lbl_800972E8: -/* 800972E8 00094248 80 1C 01 C0 */ lwz r0, 0x1c0(r28) -/* 800972EC 0009424C 2C 00 00 02 */ cmpwi r0, 2 -/* 800972F0 00094250 40 82 00 1C */ bne lbl_8009730C -/* 800972F4 00094254 80 1C 03 28 */ lwz r0, 0x328(r28) -/* 800972F8 00094258 2C 00 00 01 */ cmpwi r0, 1 -/* 800972FC 0009425C 40 82 00 10 */ bne lbl_8009730C -/* 80097300 00094260 7F 83 E3 78 */ mr r3, r28 -/* 80097304 00094264 7F A4 EB 78 */ mr r4, r29 -/* 80097308 00094268 4B FF E3 DD */ bl LeaveMapScreen__11CAutoMapperCFRC13CStateManager -lbl_8009730C: -/* 8009730C 0009426C 80 1C 01 C0 */ lwz r0, 0x1c0(r28) -/* 80097310 00094270 90 1C 01 BC */ stw r0, 0x1bc(r28) -/* 80097314 00094274 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80097318 00094278 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009731C 0009427C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80097320 00094280 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80097324 00094284 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80097328 00094288 7C 08 03 A6 */ mtlr r0 -/* 8009732C 0009428C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80097330 00094290 4E 80 00 20 */ blr - -.global BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager -BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager: -/* 80097334 00094294 94 21 FD F0 */ stwu r1, -0x210(r1) -/* 80097338 00094298 7C 08 02 A6 */ mflr r0 -/* 8009733C 0009429C 90 01 02 14 */ stw r0, 0x214(r1) -/* 80097340 000942A0 BF 61 01 FC */ stmw r27, 0x1fc(r1) -/* 80097344 000942A4 7C 9E 23 78 */ mr r30, r4 -/* 80097348 000942A8 7C 7C 1B 78 */ mr r28, r3 -/* 8009734C 000942AC 7C BD 2B 78 */ mr r29, r5 -/* 80097350 000942B0 80 03 01 C0 */ lwz r0, 0x1c0(r3) -/* 80097354 000942B4 7C 1E 00 00 */ cmpw r30, r0 -/* 80097358 000942B8 41 82 09 14 */ beq lbl_80097C6C -/* 8009735C 000942BC 2C 1E 00 00 */ cmpwi r30, 0 -/* 80097360 000942C0 40 82 00 0C */ bne lbl_8009736C -/* 80097364 000942C4 2C 00 00 00 */ cmpwi r0, 0 -/* 80097368 000942C8 40 82 00 14 */ bne lbl_8009737C -lbl_8009736C: -/* 8009736C 000942CC 2C 1E 00 00 */ cmpwi r30, 0 -/* 80097370 000942D0 41 82 00 14 */ beq lbl_80097384 -/* 80097374 000942D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80097378 000942D8 40 82 00 0C */ bne lbl_80097384 -lbl_8009737C: -/* 8009737C 000942DC 38 60 00 02 */ li r3, 2 -/* 80097380 000942E0 48 25 27 35 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels -lbl_80097384: -/* 80097384 000942E4 80 1C 01 C0 */ lwz r0, 0x1c0(r28) -/* 80097388 000942E8 90 1C 01 BC */ stw r0, 0x1bc(r28) -/* 8009738C 000942EC 93 DC 01 C0 */ stw r30, 0x1c0(r28) -/* 80097390 000942F0 80 7C 00 A8 */ lwz r3, 0xa8(r28) -/* 80097394 000942F4 80 1C 00 AC */ lwz r0, 0xac(r28) -/* 80097398 000942F8 90 7C 01 60 */ stw r3, 0x160(r28) -/* 8009739C 000942FC 90 1C 01 64 */ stw r0, 0x164(r28) -/* 800973A0 00094300 80 7C 00 B0 */ lwz r3, 0xb0(r28) -/* 800973A4 00094304 80 1C 00 B4 */ lwz r0, 0xb4(r28) -/* 800973A8 00094308 90 7C 01 68 */ stw r3, 0x168(r28) -/* 800973AC 0009430C 90 1C 01 6C */ stw r0, 0x16c(r28) -/* 800973B0 00094310 80 7C 00 B8 */ lwz r3, 0xb8(r28) -/* 800973B4 00094314 80 1C 00 BC */ lwz r0, 0xbc(r28) -/* 800973B8 00094318 90 7C 01 70 */ stw r3, 0x170(r28) -/* 800973BC 0009431C 90 1C 01 74 */ stw r0, 0x174(r28) -/* 800973C0 00094320 C0 1C 00 C0 */ lfs f0, 0xc0(r28) -/* 800973C4 00094324 D0 1C 01 78 */ stfs f0, 0x178(r28) -/* 800973C8 00094328 C0 1C 00 C4 */ lfs f0, 0xc4(r28) -/* 800973CC 0009432C D0 1C 01 7C */ stfs f0, 0x17c(r28) -/* 800973D0 00094330 80 7C 00 C8 */ lwz r3, 0xc8(r28) -/* 800973D4 00094334 80 1C 00 CC */ lwz r0, 0xcc(r28) -/* 800973D8 00094338 90 7C 01 80 */ stw r3, 0x180(r28) -/* 800973DC 0009433C 90 1C 01 84 */ stw r0, 0x184(r28) -/* 800973E0 00094340 80 1C 00 D0 */ lwz r0, 0xd0(r28) -/* 800973E4 00094344 90 1C 01 88 */ stw r0, 0x188(r28) -/* 800973E8 00094348 C0 1C 00 D4 */ lfs f0, 0xd4(r28) -/* 800973EC 0009434C D0 1C 01 8C */ stfs f0, 0x18c(r28) -/* 800973F0 00094350 C0 1C 00 D8 */ lfs f0, 0xd8(r28) -/* 800973F4 00094354 D0 1C 01 90 */ stfs f0, 0x190(r28) -/* 800973F8 00094358 C0 1C 00 DC */ lfs f0, 0xdc(r28) -/* 800973FC 0009435C D0 1C 01 94 */ stfs f0, 0x194(r28) -/* 80097400 00094360 C0 1C 00 E0 */ lfs f0, 0xe0(r28) -/* 80097404 00094364 D0 1C 01 98 */ stfs f0, 0x198(r28) -/* 80097408 00094368 C0 1C 00 E4 */ lfs f0, 0xe4(r28) -/* 8009740C 0009436C D0 1C 01 9C */ stfs f0, 0x19c(r28) -/* 80097410 00094370 C0 1C 00 E8 */ lfs f0, 0xe8(r28) -/* 80097414 00094374 D0 1C 01 A0 */ stfs f0, 0x1a0(r28) -/* 80097418 00094378 80 1C 00 EC */ lwz r0, 0xec(r28) -/* 8009741C 0009437C 90 1C 01 A4 */ stw r0, 0x1a4(r28) -/* 80097420 00094380 80 1C 00 F0 */ lwz r0, 0xf0(r28) -/* 80097424 00094384 90 1C 01 A8 */ stw r0, 0x1a8(r28) -/* 80097428 00094388 80 1C 00 F4 */ lwz r0, 0xf4(r28) -/* 8009742C 0009438C 90 1C 01 AC */ stw r0, 0x1ac(r28) -/* 80097430 00094390 80 1C 00 F8 */ lwz r0, 0xf8(r28) -/* 80097434 00094394 90 1C 01 B0 */ stw r0, 0x1b0(r28) -/* 80097438 00094398 80 1C 00 FC */ lwz r0, 0xfc(r28) -/* 8009743C 0009439C 90 1C 01 B4 */ stw r0, 0x1b4(r28) -/* 80097440 000943A0 80 1C 01 00 */ lwz r0, 0x100(r28) -/* 80097444 000943A4 90 1C 01 B8 */ stw r0, 0x1b8(r28) -/* 80097448 000943A8 80 7C 00 A8 */ lwz r3, 0xa8(r28) -/* 8009744C 000943AC 80 1C 00 AC */ lwz r0, 0xac(r28) -/* 80097450 000943B0 90 7C 01 04 */ stw r3, 0x104(r28) -/* 80097454 000943B4 90 1C 01 08 */ stw r0, 0x108(r28) -/* 80097458 000943B8 80 7C 00 B0 */ lwz r3, 0xb0(r28) -/* 8009745C 000943BC 80 1C 00 B4 */ lwz r0, 0xb4(r28) -/* 80097460 000943C0 90 7C 01 0C */ stw r3, 0x10c(r28) -/* 80097464 000943C4 90 1C 01 10 */ stw r0, 0x110(r28) -/* 80097468 000943C8 80 7C 00 B8 */ lwz r3, 0xb8(r28) -/* 8009746C 000943CC 80 1C 00 BC */ lwz r0, 0xbc(r28) -/* 80097470 000943D0 90 7C 01 14 */ stw r3, 0x114(r28) -/* 80097474 000943D4 90 1C 01 18 */ stw r0, 0x118(r28) -/* 80097478 000943D8 C0 1C 00 C0 */ lfs f0, 0xc0(r28) -/* 8009747C 000943DC D0 1C 01 1C */ stfs f0, 0x11c(r28) -/* 80097480 000943E0 C0 1C 00 C4 */ lfs f0, 0xc4(r28) -/* 80097484 000943E4 D0 1C 01 20 */ stfs f0, 0x120(r28) -/* 80097488 000943E8 80 7C 00 C8 */ lwz r3, 0xc8(r28) -/* 8009748C 000943EC 80 1C 00 CC */ lwz r0, 0xcc(r28) -/* 80097490 000943F0 90 7C 01 24 */ stw r3, 0x124(r28) -/* 80097494 000943F4 90 1C 01 28 */ stw r0, 0x128(r28) -/* 80097498 000943F8 80 1C 00 D0 */ lwz r0, 0xd0(r28) -/* 8009749C 000943FC 90 1C 01 2C */ stw r0, 0x12c(r28) -/* 800974A0 00094400 C0 1C 00 D4 */ lfs f0, 0xd4(r28) -/* 800974A4 00094404 D0 1C 01 30 */ stfs f0, 0x130(r28) -/* 800974A8 00094408 C0 1C 00 D8 */ lfs f0, 0xd8(r28) -/* 800974AC 0009440C D0 1C 01 34 */ stfs f0, 0x134(r28) -/* 800974B0 00094410 C0 1C 00 DC */ lfs f0, 0xdc(r28) -/* 800974B4 00094414 D0 1C 01 38 */ stfs f0, 0x138(r28) -/* 800974B8 00094418 C0 1C 00 E0 */ lfs f0, 0xe0(r28) -/* 800974BC 0009441C D0 1C 01 3C */ stfs f0, 0x13c(r28) -/* 800974C0 00094420 C0 1C 00 E4 */ lfs f0, 0xe4(r28) -/* 800974C4 00094424 D0 1C 01 40 */ stfs f0, 0x140(r28) -/* 800974C8 00094428 C0 1C 00 E8 */ lfs f0, 0xe8(r28) -/* 800974CC 0009442C D0 1C 01 44 */ stfs f0, 0x144(r28) -/* 800974D0 00094430 80 1C 00 EC */ lwz r0, 0xec(r28) -/* 800974D4 00094434 90 1C 01 48 */ stw r0, 0x148(r28) -/* 800974D8 00094438 80 1C 00 F0 */ lwz r0, 0xf0(r28) -/* 800974DC 0009443C 90 1C 01 4C */ stw r0, 0x14c(r28) -/* 800974E0 00094440 80 1C 00 F4 */ lwz r0, 0xf4(r28) -/* 800974E4 00094444 90 1C 01 50 */ stw r0, 0x150(r28) -/* 800974E8 00094448 80 1C 00 F8 */ lwz r0, 0xf8(r28) -/* 800974EC 0009444C 90 1C 01 54 */ stw r0, 0x154(r28) -/* 800974F0 00094450 80 1C 00 FC */ lwz r0, 0xfc(r28) -/* 800974F4 00094454 90 1C 01 58 */ stw r0, 0x158(r28) -/* 800974F8 00094458 80 1C 01 00 */ lwz r0, 0x100(r28) -/* 800974FC 0009445C 90 1C 01 5C */ stw r0, 0x15c(r28) -/* 80097500 00094460 80 1C 01 BC */ lwz r0, 0x1bc(r28) -/* 80097504 00094464 2C 00 00 00 */ cmpwi r0, 0 -/* 80097508 00094468 40 82 00 F4 */ bne lbl_800975FC -/* 8009750C 0009446C 2C 1E 00 01 */ cmpwi r30, 1 -/* 80097510 00094470 40 82 00 EC */ bne lbl_800975FC -/* 80097514 00094474 80 FC 00 A0 */ lwz r7, 0xa0(r28) -/* 80097518 00094478 7F 84 E3 78 */ mr r4, r28 -/* 8009751C 0009447C 7F A5 EB 78 */ mr r5, r29 -/* 80097520 00094480 38 61 01 98 */ addi r3, r1, 0x198 -/* 80097524 00094484 38 DC 00 B0 */ addi r6, r28, 0xb0 -/* 80097528 00094488 39 00 00 00 */ li r8, 0 -/* 8009752C 0009448C 4B FF F9 3D */ bl BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni -/* 80097530 00094490 80 81 01 98 */ lwz r4, 0x198(r1) -/* 80097534 00094494 7F 83 E3 78 */ mr r3, r28 -/* 80097538 00094498 80 01 01 9C */ lwz r0, 0x19c(r1) -/* 8009753C 0009449C 90 9C 01 04 */ stw r4, 0x104(r28) -/* 80097540 000944A0 90 1C 01 08 */ stw r0, 0x108(r28) -/* 80097544 000944A4 80 81 01 A0 */ lwz r4, 0x1a0(r1) -/* 80097548 000944A8 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 8009754C 000944AC 90 9C 01 0C */ stw r4, 0x10c(r28) -/* 80097550 000944B0 90 1C 01 10 */ stw r0, 0x110(r28) -/* 80097554 000944B4 80 81 01 A8 */ lwz r4, 0x1a8(r1) -/* 80097558 000944B8 80 01 01 AC */ lwz r0, 0x1ac(r1) -/* 8009755C 000944BC 90 9C 01 14 */ stw r4, 0x114(r28) -/* 80097560 000944C0 90 1C 01 18 */ stw r0, 0x118(r28) -/* 80097564 000944C4 C0 01 01 B0 */ lfs f0, 0x1b0(r1) -/* 80097568 000944C8 D0 1C 01 1C */ stfs f0, 0x11c(r28) -/* 8009756C 000944CC C0 01 01 B4 */ lfs f0, 0x1b4(r1) -/* 80097570 000944D0 D0 1C 01 20 */ stfs f0, 0x120(r28) -/* 80097574 000944D4 80 81 01 B8 */ lwz r4, 0x1b8(r1) -/* 80097578 000944D8 80 01 01 BC */ lwz r0, 0x1bc(r1) -/* 8009757C 000944DC 90 9C 01 24 */ stw r4, 0x124(r28) -/* 80097580 000944E0 90 1C 01 28 */ stw r0, 0x128(r28) -/* 80097584 000944E4 80 01 01 C0 */ lwz r0, 0x1c0(r1) -/* 80097588 000944E8 90 1C 01 2C */ stw r0, 0x12c(r28) -/* 8009758C 000944EC C0 01 01 C4 */ lfs f0, 0x1c4(r1) -/* 80097590 000944F0 D0 1C 01 30 */ stfs f0, 0x130(r28) -/* 80097594 000944F4 C0 01 01 C8 */ lfs f0, 0x1c8(r1) -/* 80097598 000944F8 D0 1C 01 34 */ stfs f0, 0x134(r28) -/* 8009759C 000944FC C0 01 01 CC */ lfs f0, 0x1cc(r1) -/* 800975A0 00094500 D0 1C 01 38 */ stfs f0, 0x138(r28) -/* 800975A4 00094504 C0 01 01 D0 */ lfs f0, 0x1d0(r1) -/* 800975A8 00094508 D0 1C 01 3C */ stfs f0, 0x13c(r28) -/* 800975AC 0009450C C0 01 01 D4 */ lfs f0, 0x1d4(r1) -/* 800975B0 00094510 D0 1C 01 40 */ stfs f0, 0x140(r28) -/* 800975B4 00094514 C0 01 01 D8 */ lfs f0, 0x1d8(r1) -/* 800975B8 00094518 D0 1C 01 44 */ stfs f0, 0x144(r28) -/* 800975BC 0009451C 80 01 01 DC */ lwz r0, 0x1dc(r1) -/* 800975C0 00094520 90 1C 01 48 */ stw r0, 0x148(r28) -/* 800975C4 00094524 80 01 01 E0 */ lwz r0, 0x1e0(r1) -/* 800975C8 00094528 90 1C 01 4C */ stw r0, 0x14c(r28) -/* 800975CC 0009452C 80 01 01 E4 */ lwz r0, 0x1e4(r1) -/* 800975D0 00094530 90 1C 01 50 */ stw r0, 0x150(r28) -/* 800975D4 00094534 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 800975D8 00094538 90 1C 01 54 */ stw r0, 0x154(r28) -/* 800975DC 0009453C 80 01 01 EC */ lwz r0, 0x1ec(r1) -/* 800975E0 00094540 90 1C 01 58 */ stw r0, 0x158(r28) -/* 800975E4 00094544 80 01 01 F0 */ lwz r0, 0x1f0(r1) -/* 800975E8 00094548 90 1C 01 5C */ stw r0, 0x15c(r28) -/* 800975EC 0009454C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 800975F0 00094550 C0 24 00 64 */ lfs f1, 0x64(r4) -/* 800975F4 00094554 4B FF FB 85 */ bl ResetInterpolationTimer__11CAutoMapperFf -/* 800975F8 00094558 48 00 06 74 */ b lbl_80097C6C -lbl_800975FC: -/* 800975FC 0009455C 2C 00 00 01 */ cmpwi r0, 1 -/* 80097600 00094560 40 82 01 30 */ bne lbl_80097730 -/* 80097604 00094564 2C 1E 00 00 */ cmpwi r30, 0 -/* 80097608 00094568 40 82 01 28 */ bne lbl_80097730 -/* 8009760C 0009456C 80 9C 00 24 */ lwz r4, 0x24(r28) -/* 80097610 00094570 38 61 00 14 */ addi r3, r1, 0x14 -/* 80097614 00094574 81 84 00 00 */ lwz r12, 0(r4) -/* 80097618 00094578 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8009761C 0009457C 7D 89 03 A6 */ mtctr r12 -/* 80097620 00094580 4E 80 04 21 */ bctrl -/* 80097624 00094584 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80097628 00094588 7F 84 E3 78 */ mr r4, r28 -/* 8009762C 0009458C 7F A5 EB 78 */ mr r5, r29 -/* 80097630 00094590 38 61 01 3C */ addi r3, r1, 0x13c -/* 80097634 00094594 90 1C 00 A0 */ stw r0, 0xa0(r28) -/* 80097638 00094598 38 DC 00 B0 */ addi r6, r28, 0xb0 -/* 8009763C 0009459C 80 FC 00 A0 */ lwz r7, 0xa0(r28) -/* 80097640 000945A0 4B FF F9 59 */ bl BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni -/* 80097644 000945A4 80 81 01 3C */ lwz r4, 0x13c(r1) -/* 80097648 000945A8 7F 83 E3 78 */ mr r3, r28 -/* 8009764C 000945AC 80 01 01 40 */ lwz r0, 0x140(r1) -/* 80097650 000945B0 90 9C 01 04 */ stw r4, 0x104(r28) -/* 80097654 000945B4 90 1C 01 08 */ stw r0, 0x108(r28) -/* 80097658 000945B8 80 81 01 44 */ lwz r4, 0x144(r1) -/* 8009765C 000945BC 80 01 01 48 */ lwz r0, 0x148(r1) -/* 80097660 000945C0 90 9C 01 0C */ stw r4, 0x10c(r28) -/* 80097664 000945C4 90 1C 01 10 */ stw r0, 0x110(r28) -/* 80097668 000945C8 80 81 01 4C */ lwz r4, 0x14c(r1) -/* 8009766C 000945CC 80 01 01 50 */ lwz r0, 0x150(r1) -/* 80097670 000945D0 90 9C 01 14 */ stw r4, 0x114(r28) -/* 80097674 000945D4 90 1C 01 18 */ stw r0, 0x118(r28) -/* 80097678 000945D8 C0 01 01 54 */ lfs f0, 0x154(r1) -/* 8009767C 000945DC D0 1C 01 1C */ stfs f0, 0x11c(r28) -/* 80097680 000945E0 C0 01 01 58 */ lfs f0, 0x158(r1) -/* 80097684 000945E4 D0 1C 01 20 */ stfs f0, 0x120(r28) -/* 80097688 000945E8 80 81 01 5C */ lwz r4, 0x15c(r1) -/* 8009768C 000945EC 80 01 01 60 */ lwz r0, 0x160(r1) -/* 80097690 000945F0 90 9C 01 24 */ stw r4, 0x124(r28) -/* 80097694 000945F4 90 1C 01 28 */ stw r0, 0x128(r28) -/* 80097698 000945F8 80 01 01 64 */ lwz r0, 0x164(r1) -/* 8009769C 000945FC 90 1C 01 2C */ stw r0, 0x12c(r28) -/* 800976A0 00094600 C0 01 01 68 */ lfs f0, 0x168(r1) -/* 800976A4 00094604 D0 1C 01 30 */ stfs f0, 0x130(r28) -/* 800976A8 00094608 C0 01 01 6C */ lfs f0, 0x16c(r1) -/* 800976AC 0009460C D0 1C 01 34 */ stfs f0, 0x134(r28) -/* 800976B0 00094610 C0 01 01 70 */ lfs f0, 0x170(r1) -/* 800976B4 00094614 D0 1C 01 38 */ stfs f0, 0x138(r28) -/* 800976B8 00094618 C0 01 01 74 */ lfs f0, 0x174(r1) -/* 800976BC 0009461C D0 1C 01 3C */ stfs f0, 0x13c(r28) -/* 800976C0 00094620 C0 01 01 78 */ lfs f0, 0x178(r1) -/* 800976C4 00094624 D0 1C 01 40 */ stfs f0, 0x140(r28) -/* 800976C8 00094628 C0 01 01 7C */ lfs f0, 0x17c(r1) -/* 800976CC 0009462C D0 1C 01 44 */ stfs f0, 0x144(r28) -/* 800976D0 00094630 80 01 01 80 */ lwz r0, 0x180(r1) -/* 800976D4 00094634 90 1C 01 48 */ stw r0, 0x148(r28) -/* 800976D8 00094638 80 01 01 84 */ lwz r0, 0x184(r1) -/* 800976DC 0009463C 90 1C 01 4C */ stw r0, 0x14c(r28) -/* 800976E0 00094640 80 01 01 88 */ lwz r0, 0x188(r1) -/* 800976E4 00094644 90 1C 01 50 */ stw r0, 0x150(r28) -/* 800976E8 00094648 80 01 01 8C */ lwz r0, 0x18c(r1) -/* 800976EC 0009464C 90 1C 01 54 */ stw r0, 0x154(r28) -/* 800976F0 00094650 80 01 01 90 */ lwz r0, 0x190(r1) -/* 800976F4 00094654 90 1C 01 58 */ stw r0, 0x158(r28) -/* 800976F8 00094658 80 01 01 94 */ lwz r0, 0x194(r1) -/* 800976FC 0009465C 90 1C 01 5C */ stw r0, 0x15c(r28) -/* 80097700 00094660 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80097704 00094664 C0 24 00 68 */ lfs f1, 0x68(r4) -/* 80097708 00094668 4B FF FA 71 */ bl ResetInterpolationTimer__11CAutoMapperFf -/* 8009770C 0009466C 83 7C 02 00 */ lwz r27, 0x200(r28) -/* 80097710 00094670 80 9C 01 FC */ lwz r4, 0x1fc(r28) -/* 80097714 00094674 48 00 00 10 */ b lbl_80097724 -lbl_80097718: -/* 80097718 00094678 38 7C 01 F8 */ addi r3, r28, 0x1f8 -/* 8009771C 0009467C 48 00 6B D9 */ bl sub_8009e2f4 -/* 80097720 00094680 7C 64 1B 78 */ mr r4, r3 -lbl_80097724: -/* 80097724 00094684 7C 04 D8 40 */ cmplw r4, r27 -/* 80097728 00094688 40 82 FF F0 */ bne lbl_80097718 -/* 8009772C 0009468C 48 00 05 40 */ b lbl_80097C6C -lbl_80097730: -/* 80097730 00094690 2C 00 00 01 */ cmpwi r0, 1 -/* 80097734 00094694 40 82 01 1C */ bne lbl_80097850 -/* 80097738 00094698 2C 1E 00 02 */ cmpwi r30, 2 -/* 8009773C 0009469C 40 82 01 14 */ bne lbl_80097850 -/* 80097740 000946A0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80097744 000946A4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80097748 000946A8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8009774C 000946AC 38 80 05 92 */ li r4, 0x592 -/* 80097750 000946B0 38 A0 00 7F */ li r5, 0x7f -/* 80097754 000946B4 38 C0 00 40 */ li r6, 0x40 -/* 80097758 000946B8 38 E0 00 00 */ li r7, 0 -/* 8009775C 000946BC 39 20 00 00 */ li r9, 0 -/* 80097760 000946C0 48 25 26 15 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80097764 000946C4 80 FC 00 A0 */ lwz r7, 0xa0(r28) -/* 80097768 000946C8 7F 84 E3 78 */ mr r4, r28 -/* 8009776C 000946CC 7F A5 EB 78 */ mr r5, r29 -/* 80097770 000946D0 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80097774 000946D4 38 DC 00 B0 */ addi r6, r28, 0xb0 -/* 80097778 000946D8 4B FF F5 35 */ bl BuildMapScreenUniverseRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni -/* 8009777C 000946DC 80 81 00 E0 */ lwz r4, 0xe0(r1) -/* 80097780 000946E0 7F 83 E3 78 */ mr r3, r28 -/* 80097784 000946E4 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80097788 000946E8 90 9C 01 04 */ stw r4, 0x104(r28) -/* 8009778C 000946EC 90 1C 01 08 */ stw r0, 0x108(r28) -/* 80097790 000946F0 80 81 00 E8 */ lwz r4, 0xe8(r1) -/* 80097794 000946F4 80 01 00 EC */ lwz r0, 0xec(r1) -/* 80097798 000946F8 90 9C 01 0C */ stw r4, 0x10c(r28) -/* 8009779C 000946FC 90 1C 01 10 */ stw r0, 0x110(r28) -/* 800977A0 00094700 80 81 00 F0 */ lwz r4, 0xf0(r1) -/* 800977A4 00094704 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 800977A8 00094708 90 9C 01 14 */ stw r4, 0x114(r28) -/* 800977AC 0009470C 90 1C 01 18 */ stw r0, 0x118(r28) -/* 800977B0 00094710 C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 800977B4 00094714 D0 1C 01 1C */ stfs f0, 0x11c(r28) -/* 800977B8 00094718 C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 800977BC 0009471C D0 1C 01 20 */ stfs f0, 0x120(r28) -/* 800977C0 00094720 80 81 01 00 */ lwz r4, 0x100(r1) -/* 800977C4 00094724 80 01 01 04 */ lwz r0, 0x104(r1) -/* 800977C8 00094728 90 9C 01 24 */ stw r4, 0x124(r28) -/* 800977CC 0009472C 90 1C 01 28 */ stw r0, 0x128(r28) -/* 800977D0 00094730 80 01 01 08 */ lwz r0, 0x108(r1) -/* 800977D4 00094734 90 1C 01 2C */ stw r0, 0x12c(r28) -/* 800977D8 00094738 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 800977DC 0009473C D0 1C 01 30 */ stfs f0, 0x130(r28) -/* 800977E0 00094740 C0 01 01 10 */ lfs f0, 0x110(r1) -/* 800977E4 00094744 D0 1C 01 34 */ stfs f0, 0x134(r28) -/* 800977E8 00094748 C0 01 01 14 */ lfs f0, 0x114(r1) -/* 800977EC 0009474C D0 1C 01 38 */ stfs f0, 0x138(r28) -/* 800977F0 00094750 C0 01 01 18 */ lfs f0, 0x118(r1) -/* 800977F4 00094754 D0 1C 01 3C */ stfs f0, 0x13c(r28) -/* 800977F8 00094758 C0 01 01 1C */ lfs f0, 0x11c(r1) -/* 800977FC 0009475C D0 1C 01 40 */ stfs f0, 0x140(r28) -/* 80097800 00094760 C0 01 01 20 */ lfs f0, 0x120(r1) -/* 80097804 00094764 D0 1C 01 44 */ stfs f0, 0x144(r28) -/* 80097808 00094768 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8009780C 0009476C 90 1C 01 48 */ stw r0, 0x148(r28) -/* 80097810 00094770 80 01 01 28 */ lwz r0, 0x128(r1) -/* 80097814 00094774 90 1C 01 4C */ stw r0, 0x14c(r28) -/* 80097818 00094778 80 01 01 2C */ lwz r0, 0x12c(r1) -/* 8009781C 0009477C 90 1C 01 50 */ stw r0, 0x150(r28) -/* 80097820 00094780 80 01 01 30 */ lwz r0, 0x130(r1) -/* 80097824 00094784 90 1C 01 54 */ stw r0, 0x154(r28) -/* 80097828 00094788 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8009782C 0009478C 90 1C 01 58 */ stw r0, 0x158(r28) -/* 80097830 00094790 80 01 01 38 */ lwz r0, 0x138(r1) -/* 80097834 00094794 90 1C 01 5C */ stw r0, 0x15c(r28) -/* 80097838 00094798 4B FF E3 3D */ bl TransformRenderStatesWorldToUniverse__11CAutoMapperFv -/* 8009783C 0009479C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80097840 000947A0 7F 83 E3 78 */ mr r3, r28 -/* 80097844 000947A4 C0 24 00 DC */ lfs f1, 0xdc(r4) -/* 80097848 000947A8 4B FF F9 31 */ bl ResetInterpolationTimer__11CAutoMapperFf -/* 8009784C 000947AC 48 00 04 20 */ b lbl_80097C6C -lbl_80097850: -/* 80097850 000947B0 2C 00 00 02 */ cmpwi r0, 2 -/* 80097854 000947B4 40 82 02 04 */ bne lbl_80097A58 -/* 80097858 000947B8 2C 1E 00 01 */ cmpwi r30, 1 -/* 8009785C 000947BC 40 82 01 FC */ bne lbl_80097A58 -/* 80097860 000947C0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80097864 000947C4 38 61 00 0C */ addi r3, r1, 0xc -/* 80097868 000947C8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8009786C 000947CC 38 80 05 93 */ li r4, 0x593 -/* 80097870 000947D0 38 A0 00 7F */ li r5, 0x7f -/* 80097874 000947D4 38 C0 00 40 */ li r6, 0x40 -/* 80097878 000947D8 38 E0 00 00 */ li r7, 0 -/* 8009787C 000947DC 39 20 00 00 */ li r9, 0 -/* 80097880 000947E0 48 25 24 F5 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80097884 000947E4 80 DC 01 F4 */ lwz r6, 0x1f4(r28) -/* 80097888 000947E8 7F 84 E3 78 */ mr r4, r28 -/* 8009788C 000947EC 80 FC 00 A0 */ lwz r7, 0xa0(r28) -/* 80097890 000947F0 7F A5 EB 78 */ mr r5, r29 -/* 80097894 000947F4 7C 06 00 D0 */ neg r0, r6 -/* 80097898 000947F8 38 61 00 84 */ addi r3, r1, 0x84 -/* 8009789C 000947FC 7C 00 30 78 */ andc r0, r0, r6 -/* 800978A0 00094800 38 DC 00 B0 */ addi r6, r28, 0xb0 -/* 800978A4 00094804 54 08 0F FE */ srwi r8, r0, 0x1f -/* 800978A8 00094808 4B FF F5 C1 */ bl BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni -/* 800978AC 0009480C 80 A1 00 84 */ lwz r5, 0x84(r1) -/* 800978B0 00094810 7F 83 E3 78 */ mr r3, r28 -/* 800978B4 00094814 80 01 00 88 */ lwz r0, 0x88(r1) -/* 800978B8 00094818 38 9C 01 04 */ addi r4, r28, 0x104 -/* 800978BC 0009481C 90 BC 01 04 */ stw r5, 0x104(r28) -/* 800978C0 00094820 90 1C 01 08 */ stw r0, 0x108(r28) -/* 800978C4 00094824 80 A1 00 8C */ lwz r5, 0x8c(r1) -/* 800978C8 00094828 80 01 00 90 */ lwz r0, 0x90(r1) -/* 800978CC 0009482C 90 BC 01 0C */ stw r5, 0x10c(r28) -/* 800978D0 00094830 90 1C 01 10 */ stw r0, 0x110(r28) -/* 800978D4 00094834 80 A1 00 94 */ lwz r5, 0x94(r1) -/* 800978D8 00094838 80 01 00 98 */ lwz r0, 0x98(r1) -/* 800978DC 0009483C 90 BC 01 14 */ stw r5, 0x114(r28) -/* 800978E0 00094840 90 1C 01 18 */ stw r0, 0x118(r28) -/* 800978E4 00094844 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 800978E8 00094848 D0 1C 01 1C */ stfs f0, 0x11c(r28) -/* 800978EC 0009484C C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 800978F0 00094850 D0 1C 01 20 */ stfs f0, 0x120(r28) -/* 800978F4 00094854 80 A1 00 A4 */ lwz r5, 0xa4(r1) -/* 800978F8 00094858 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 800978FC 0009485C 90 BC 01 24 */ stw r5, 0x124(r28) -/* 80097900 00094860 90 1C 01 28 */ stw r0, 0x128(r28) -/* 80097904 00094864 80 01 00 AC */ lwz r0, 0xac(r1) -/* 80097908 00094868 90 1C 01 2C */ stw r0, 0x12c(r28) -/* 8009790C 0009486C C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 80097910 00094870 D0 1C 01 30 */ stfs f0, 0x130(r28) -/* 80097914 00094874 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80097918 00094878 D0 1C 01 34 */ stfs f0, 0x134(r28) -/* 8009791C 0009487C C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 80097920 00094880 D0 1C 01 38 */ stfs f0, 0x138(r28) -/* 80097924 00094884 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 80097928 00094888 D0 1C 01 3C */ stfs f0, 0x13c(r28) -/* 8009792C 0009488C C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 80097930 00094890 D0 1C 01 40 */ stfs f0, 0x140(r28) -/* 80097934 00094894 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 80097938 00094898 D0 1C 01 44 */ stfs f0, 0x144(r28) -/* 8009793C 0009489C 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 80097940 000948A0 90 1C 01 48 */ stw r0, 0x148(r28) -/* 80097944 000948A4 80 01 00 CC */ lwz r0, 0xcc(r1) -/* 80097948 000948A8 90 1C 01 4C */ stw r0, 0x14c(r28) -/* 8009794C 000948AC 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 80097950 000948B0 90 1C 01 50 */ stw r0, 0x150(r28) -/* 80097954 000948B4 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80097958 000948B8 90 1C 01 54 */ stw r0, 0x154(r28) -/* 8009795C 000948BC 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 80097960 000948C0 90 1C 01 58 */ stw r0, 0x158(r28) -/* 80097964 000948C4 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 80097968 000948C8 90 1C 01 5C */ stw r0, 0x15c(r28) -/* 8009796C 000948CC 4B FF E0 19 */ bl TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState -/* 80097970 000948D0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80097974 000948D4 7F 83 E3 78 */ mr r3, r28 -/* 80097978 000948D8 C0 24 00 DC */ lfs f1, 0xdc(r4) -/* 8009797C 000948DC 4B FF F7 FD */ bl ResetInterpolationTimer__11CAutoMapperFf -/* 80097980 000948E0 3B C0 00 00 */ li r30, 0 -/* 80097984 000948E4 3B E0 00 00 */ li r31, 0 -/* 80097988 000948E8 48 00 00 C0 */ b lbl_80097A48 -lbl_8009798C: -/* 8009798C 000948EC 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 80097990 000948F0 38 1F 00 04 */ addi r0, r31, 4 -/* 80097994 000948F4 80 9C 00 24 */ lwz r4, 0x24(r28) -/* 80097998 000948F8 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8009799C 000948FC 7C 00 20 40 */ cmplw r0, r4 -/* 800979A0 00094900 40 82 00 10 */ bne lbl_800979B0 -/* 800979A4 00094904 80 1D 08 50 */ lwz r0, 0x850(r29) -/* 800979A8 00094908 7C 04 00 40 */ cmplw r4, r0 -/* 800979AC 0009490C 40 82 00 94 */ bne lbl_80097A40 -lbl_800979B0: -/* 800979B0 00094910 38 60 00 00 */ li r3, 0 -/* 800979B4 00094914 38 01 00 20 */ addi r0, r1, 0x20 -/* 800979B8 00094918 98 61 00 20 */ stb r3, 0x20(r1) -/* 800979BC 0009491C 90 61 00 24 */ stw r3, 0x24(r1) -/* 800979C0 00094920 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 800979C4 00094924 7F 63 FA 14 */ add r27, r3, r31 -/* 800979C8 00094928 7C 00 D8 40 */ cmplw r0, r27 -/* 800979CC 0009492C 41 82 00 48 */ beq lbl_80097A14 -/* 800979D0 00094930 88 1B 00 00 */ lbz r0, 0(r27) -/* 800979D4 00094934 28 00 00 00 */ cmplwi r0, 0 -/* 800979D8 00094938 41 82 00 24 */ beq lbl_800979FC -/* 800979DC 0009493C 80 7B 00 04 */ lwz r3, 4(r27) -/* 800979E0 00094940 28 03 00 00 */ cmplwi r3, 0 -/* 800979E4 00094944 41 82 00 18 */ beq lbl_800979FC -/* 800979E8 00094948 81 83 00 00 */ lwz r12, 0(r3) -/* 800979EC 0009494C 38 80 00 01 */ li r4, 1 -/* 800979F0 00094950 81 8C 00 08 */ lwz r12, 8(r12) -/* 800979F4 00094954 7D 89 03 A6 */ mtctr r12 -/* 800979F8 00094958 4E 80 04 21 */ bctrl -lbl_800979FC: -/* 800979FC 0009495C 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80097A00 00094960 38 00 00 00 */ li r0, 0 -/* 80097A04 00094964 98 7B 00 00 */ stb r3, 0(r27) -/* 80097A08 00094968 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80097A0C 0009496C 90 7B 00 04 */ stw r3, 4(r27) -/* 80097A10 00094970 98 01 00 20 */ stb r0, 0x20(r1) -lbl_80097A14: -/* 80097A14 00094974 88 01 00 20 */ lbz r0, 0x20(r1) -/* 80097A18 00094978 28 00 00 00 */ cmplwi r0, 0 -/* 80097A1C 0009497C 41 82 00 24 */ beq lbl_80097A40 -/* 80097A20 00094980 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80097A24 00094984 28 03 00 00 */ cmplwi r3, 0 -/* 80097A28 00094988 41 82 00 18 */ beq lbl_80097A40 -/* 80097A2C 0009498C 81 83 00 00 */ lwz r12, 0(r3) -/* 80097A30 00094990 38 80 00 01 */ li r4, 1 -/* 80097A34 00094994 81 8C 00 08 */ lwz r12, 8(r12) -/* 80097A38 00094998 7D 89 03 A6 */ mtctr r12 -/* 80097A3C 0009499C 4E 80 04 21 */ bctrl -lbl_80097A40: -/* 80097A40 000949A0 3B FF 00 08 */ addi r31, r31, 8 -/* 80097A44 000949A4 3B DE 00 01 */ addi r30, r30, 1 -lbl_80097A48: -/* 80097A48 000949A8 80 1C 00 18 */ lwz r0, 0x18(r28) -/* 80097A4C 000949AC 7C 1E 00 00 */ cmpw r30, r0 -/* 80097A50 000949B0 41 80 FF 3C */ blt lbl_8009798C -/* 80097A54 000949B4 48 00 02 18 */ b lbl_80097C6C -lbl_80097A58: -/* 80097A58 000949B8 2C 00 00 02 */ cmpwi r0, 2 -/* 80097A5C 000949BC 40 82 02 10 */ bne lbl_80097C6C -/* 80097A60 000949C0 2C 1E 00 00 */ cmpwi r30, 0 -/* 80097A64 000949C4 40 82 02 08 */ bne lbl_80097C6C -/* 80097A68 000949C8 80 1D 08 50 */ lwz r0, 0x850(r29) -/* 80097A6C 000949CC 38 61 00 08 */ addi r3, r1, 8 -/* 80097A70 000949D0 90 1C 00 24 */ stw r0, 0x24(r28) -/* 80097A74 000949D4 80 9C 00 24 */ lwz r4, 0x24(r28) -/* 80097A78 000949D8 81 84 00 00 */ lwz r12, 0(r4) -/* 80097A7C 000949DC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80097A80 000949E0 7D 89 03 A6 */ mtctr r12 -/* 80097A84 000949E4 4E 80 04 21 */ bctrl -/* 80097A88 000949E8 80 01 00 08 */ lwz r0, 8(r1) -/* 80097A8C 000949EC 7F 84 E3 78 */ mr r4, r28 -/* 80097A90 000949F0 7F A5 EB 78 */ mr r5, r29 -/* 80097A94 000949F4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80097A98 000949F8 90 1C 00 A0 */ stw r0, 0xa0(r28) -/* 80097A9C 000949FC 38 DC 00 B0 */ addi r6, r28, 0xb0 -/* 80097AA0 00094A00 80 FC 00 A0 */ lwz r7, 0xa0(r28) -/* 80097AA4 00094A04 4B FF F4 F5 */ bl BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni -/* 80097AA8 00094A08 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80097AAC 00094A0C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80097AB0 00094A10 90 7C 01 04 */ stw r3, 0x104(r28) -/* 80097AB4 00094A14 90 1C 01 08 */ stw r0, 0x108(r28) -/* 80097AB8 00094A18 80 61 00 30 */ lwz r3, 0x30(r1) -/* 80097ABC 00094A1C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80097AC0 00094A20 90 7C 01 0C */ stw r3, 0x10c(r28) -/* 80097AC4 00094A24 90 1C 01 10 */ stw r0, 0x110(r28) -/* 80097AC8 00094A28 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80097ACC 00094A2C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80097AD0 00094A30 90 7C 01 14 */ stw r3, 0x114(r28) -/* 80097AD4 00094A34 90 1C 01 18 */ stw r0, 0x118(r28) -/* 80097AD8 00094A38 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80097ADC 00094A3C D0 1C 01 1C */ stfs f0, 0x11c(r28) -/* 80097AE0 00094A40 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80097AE4 00094A44 D0 1C 01 20 */ stfs f0, 0x120(r28) -/* 80097AE8 00094A48 80 61 00 48 */ lwz r3, 0x48(r1) -/* 80097AEC 00094A4C 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80097AF0 00094A50 90 7C 01 24 */ stw r3, 0x124(r28) -/* 80097AF4 00094A54 90 1C 01 28 */ stw r0, 0x128(r28) -/* 80097AF8 00094A58 80 01 00 50 */ lwz r0, 0x50(r1) -/* 80097AFC 00094A5C 90 1C 01 2C */ stw r0, 0x12c(r28) -/* 80097B00 00094A60 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80097B04 00094A64 D0 1C 01 30 */ stfs f0, 0x130(r28) -/* 80097B08 00094A68 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80097B0C 00094A6C D0 1C 01 34 */ stfs f0, 0x134(r28) -/* 80097B10 00094A70 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 80097B14 00094A74 D0 1C 01 38 */ stfs f0, 0x138(r28) -/* 80097B18 00094A78 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 80097B1C 00094A7C D0 1C 01 3C */ stfs f0, 0x13c(r28) -/* 80097B20 00094A80 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80097B24 00094A84 D0 1C 01 40 */ stfs f0, 0x140(r28) -/* 80097B28 00094A88 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80097B2C 00094A8C D0 1C 01 44 */ stfs f0, 0x144(r28) -/* 80097B30 00094A90 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 80097B34 00094A94 90 1C 01 48 */ stw r0, 0x148(r28) -/* 80097B38 00094A98 80 01 00 70 */ lwz r0, 0x70(r1) -/* 80097B3C 00094A9C 90 1C 01 4C */ stw r0, 0x14c(r28) -/* 80097B40 00094AA0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80097B44 00094AA4 90 1C 01 50 */ stw r0, 0x150(r28) -/* 80097B48 00094AA8 80 01 00 78 */ lwz r0, 0x78(r1) -/* 80097B4C 00094AAC 90 1C 01 54 */ stw r0, 0x154(r28) -/* 80097B50 00094AB0 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 80097B54 00094AB4 90 1C 01 58 */ stw r0, 0x158(r28) -/* 80097B58 00094AB8 80 01 00 80 */ lwz r0, 0x80(r1) -/* 80097B5C 00094ABC 90 1C 01 5C */ stw r0, 0x15c(r28) -/* 80097B60 00094AC0 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 80097B64 00094AC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80097B68 00094AC8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80097B6C 00094ACC 7D 89 03 A6 */ mtctr r12 -/* 80097B70 00094AD0 4E 80 04 21 */ bctrl -/* 80097B74 00094AD4 7C 64 1B 78 */ mr r4, r3 -/* 80097B78 00094AD8 7F 83 E3 78 */ mr r3, r28 -/* 80097B7C 00094ADC 4B FF DD C1 */ bl SetCurWorldAssetId__11CAutoMapperFi -/* 80097B80 00094AE0 7F 83 E3 78 */ mr r3, r28 -/* 80097B84 00094AE4 38 9C 01 04 */ addi r4, r28, 0x104 -/* 80097B88 00094AE8 4B FF DD FD */ bl TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState -/* 80097B8C 00094AEC 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80097B90 00094AF0 7F 83 E3 78 */ mr r3, r28 -/* 80097B94 00094AF4 C0 24 00 68 */ lfs f1, 0x68(r4) -/* 80097B98 00094AF8 4B FF F5 E1 */ bl ResetInterpolationTimer__11CAutoMapperFf -/* 80097B9C 00094AFC 83 7C 02 00 */ lwz r27, 0x200(r28) -/* 80097BA0 00094B00 80 9C 01 FC */ lwz r4, 0x1fc(r28) -/* 80097BA4 00094B04 48 00 00 10 */ b lbl_80097BB4 -lbl_80097BA8: -/* 80097BA8 00094B08 38 7C 01 F8 */ addi r3, r28, 0x1f8 -/* 80097BAC 00094B0C 48 00 67 49 */ bl sub_8009e2f4 -/* 80097BB0 00094B10 7C 64 1B 78 */ mr r4, r3 -lbl_80097BB4: -/* 80097BB4 00094B14 7C 04 D8 40 */ cmplw r4, r27 -/* 80097BB8 00094B18 40 82 FF F0 */ bne lbl_80097BA8 -/* 80097BBC 00094B1C 3B A1 00 18 */ addi r29, r1, 0x18 -/* 80097BC0 00094B20 3B E0 00 00 */ li r31, 0 -/* 80097BC4 00094B24 3B C0 00 00 */ li r30, 0 -/* 80097BC8 00094B28 48 00 00 98 */ b lbl_80097C60 -lbl_80097BCC: -/* 80097BCC 00094B2C 38 00 00 00 */ li r0, 0 -/* 80097BD0 00094B30 98 01 00 18 */ stb r0, 0x18(r1) -/* 80097BD4 00094B34 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80097BD8 00094B38 80 1C 00 20 */ lwz r0, 0x20(r28) -/* 80097BDC 00094B3C 7F 60 F2 14 */ add r27, r0, r30 -/* 80097BE0 00094B40 7C 1D D8 40 */ cmplw r29, r27 -/* 80097BE4 00094B44 41 82 00 48 */ beq lbl_80097C2C -/* 80097BE8 00094B48 88 1B 00 00 */ lbz r0, 0(r27) -/* 80097BEC 00094B4C 28 00 00 00 */ cmplwi r0, 0 -/* 80097BF0 00094B50 41 82 00 24 */ beq lbl_80097C14 -/* 80097BF4 00094B54 80 7B 00 04 */ lwz r3, 4(r27) -/* 80097BF8 00094B58 28 03 00 00 */ cmplwi r3, 0 -/* 80097BFC 00094B5C 41 82 00 18 */ beq lbl_80097C14 -/* 80097C00 00094B60 81 83 00 00 */ lwz r12, 0(r3) -/* 80097C04 00094B64 38 80 00 01 */ li r4, 1 -/* 80097C08 00094B68 81 8C 00 08 */ lwz r12, 8(r12) -/* 80097C0C 00094B6C 7D 89 03 A6 */ mtctr r12 -/* 80097C10 00094B70 4E 80 04 21 */ bctrl -lbl_80097C14: -/* 80097C14 00094B74 88 61 00 18 */ lbz r3, 0x18(r1) -/* 80097C18 00094B78 38 00 00 00 */ li r0, 0 -/* 80097C1C 00094B7C 98 7B 00 00 */ stb r3, 0(r27) -/* 80097C20 00094B80 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80097C24 00094B84 90 7B 00 04 */ stw r3, 4(r27) -/* 80097C28 00094B88 98 01 00 18 */ stb r0, 0x18(r1) -lbl_80097C2C: -/* 80097C2C 00094B8C 88 01 00 18 */ lbz r0, 0x18(r1) -/* 80097C30 00094B90 28 00 00 00 */ cmplwi r0, 0 -/* 80097C34 00094B94 41 82 00 24 */ beq lbl_80097C58 -/* 80097C38 00094B98 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80097C3C 00094B9C 28 03 00 00 */ cmplwi r3, 0 -/* 80097C40 00094BA0 41 82 00 18 */ beq lbl_80097C58 -/* 80097C44 00094BA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80097C48 00094BA8 38 80 00 01 */ li r4, 1 -/* 80097C4C 00094BAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80097C50 00094BB0 7D 89 03 A6 */ mtctr r12 -/* 80097C54 00094BB4 4E 80 04 21 */ bctrl -lbl_80097C58: -/* 80097C58 00094BB8 3B DE 00 08 */ addi r30, r30, 8 -/* 80097C5C 00094BBC 3B FF 00 01 */ addi r31, r31, 1 -lbl_80097C60: -/* 80097C60 00094BC0 80 1C 00 18 */ lwz r0, 0x18(r28) -/* 80097C64 00094BC4 7C 1F 00 00 */ cmpw r31, r0 -/* 80097C68 00094BC8 41 80 FF 64 */ blt lbl_80097BCC -lbl_80097C6C: -/* 80097C6C 00094BCC BB 61 01 FC */ lmw r27, 0x1fc(r1) -/* 80097C70 00094BD0 80 01 02 14 */ lwz r0, 0x214(r1) -/* 80097C74 00094BD4 7C 08 03 A6 */ mtlr r0 -/* 80097C78 00094BD8 38 21 02 10 */ addi r1, r1, 0x210 -/* 80097C7C 00094BDC 4E 80 00 20 */ blr - -.global Update__11CAutoMapperFfRC13CStateManager -Update__11CAutoMapperFfRC13CStateManager: -/* 80097C80 00094BE0 94 21 FC C0 */ stwu r1, -0x340(r1) -/* 80097C84 00094BE4 7C 08 02 A6 */ mflr r0 -/* 80097C88 00094BE8 90 01 03 44 */ stw r0, 0x344(r1) -/* 80097C8C 00094BEC DB E1 03 30 */ stfd f31, 0x330(r1) -/* 80097C90 00094BF0 F3 E1 03 38 */ psq_st f31, 824(r1), 0, qr0 -/* 80097C94 00094BF4 DB C1 03 20 */ stfd f30, 0x320(r1) -/* 80097C98 00094BF8 F3 C1 03 28 */ psq_st f30, 808(r1), 0, qr0 -/* 80097C9C 00094BFC 93 E1 03 1C */ stw r31, 0x31c(r1) -/* 80097CA0 00094C00 93 C1 03 18 */ stw r30, 0x318(r1) -/* 80097CA4 00094C04 93 A1 03 14 */ stw r29, 0x314(r1) -/* 80097CA8 00094C08 93 81 03 10 */ stw r28, 0x310(r1) -/* 80097CAC 00094C0C 7C 7F 1B 78 */ mr r31, r3 -/* 80097CB0 00094C10 FF E0 08 90 */ fmr f31, f1 -/* 80097CB4 00094C14 80 03 01 BC */ lwz r0, 0x1bc(r3) -/* 80097CB8 00094C18 7C 9D 23 78 */ mr r29, r4 -/* 80097CBC 00094C1C 38 60 00 00 */ li r3, 0 -/* 80097CC0 00094C20 2C 00 00 00 */ cmpwi r0, 0 -/* 80097CC4 00094C24 41 82 00 14 */ beq lbl_80097CD8 -/* 80097CC8 00094C28 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 80097CCC 00094C2C 2C 00 00 00 */ cmpwi r0, 0 -/* 80097CD0 00094C30 41 82 00 08 */ beq lbl_80097CD8 -/* 80097CD4 00094C34 38 60 00 01 */ li r3, 1 -lbl_80097CD8: -/* 80097CD8 00094C38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80097CDC 00094C3C 41 82 00 44 */ beq lbl_80097D20 -/* 80097CE0 00094C40 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) -/* 80097CE4 00094C44 C8 42 8B B0 */ lfd f2, lbl_805AA8D0@sda21(r2) -/* 80097CE8 00094C48 EC 20 F8 2A */ fadds f1, f0, f31 -/* 80097CEC 00094C4C 48 2F CF C1 */ bl fmod -/* 80097CF0 00094C50 FC 00 08 18 */ frsp f0, f1 -/* 80097CF4 00094C54 C0 22 8B B8 */ lfs f1, lbl_805AA8D8@sda21(r2) -/* 80097CF8 00094C58 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80097CFC 00094C5C C0 5F 01 D8 */ lfs f2, 0x1d8(r31) -/* 80097D00 00094C60 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80097D04 00094C64 40 80 00 0C */ bge lbl_80097D10 -/* 80097D08 00094C68 EC 02 08 24 */ fdivs f0, f2, f1 -/* 80097D0C 00094C6C 48 00 00 10 */ b lbl_80097D1C -lbl_80097D10: -/* 80097D10 00094C70 C0 02 8B BC */ lfs f0, lbl_805AA8DC@sda21(r2) -/* 80097D14 00094C74 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80097D18 00094C78 EC 00 08 24 */ fdivs f0, f0, f1 -lbl_80097D1C: -/* 80097D1C 00094C7C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_80097D20: -/* 80097D20 00094C80 83 DF 00 28 */ lwz r30, 0x28(r31) -/* 80097D24 00094C84 28 1E 00 00 */ cmplwi r30, 0 -/* 80097D28 00094C88 41 82 02 4C */ beq lbl_80097F74 -/* 80097D2C 00094C8C 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80097D30 00094C90 28 00 00 00 */ cmplwi r0, 0 -/* 80097D34 00094C94 40 82 02 40 */ bne lbl_80097F74 -/* 80097D38 00094C98 80 1E 00 08 */ lwz r0, 8(r30) -/* 80097D3C 00094C9C 28 00 00 00 */ cmplwi r0, 0 -/* 80097D40 00094CA0 41 82 00 0C */ beq lbl_80097D4C -/* 80097D44 00094CA4 38 60 00 01 */ li r3, 1 -/* 80097D48 00094CA8 48 00 00 3C */ b lbl_80097D84 -lbl_80097D4C: -/* 80097D4C 00094CAC 88 1E 00 04 */ lbz r0, 4(r30) -/* 80097D50 00094CB0 28 00 00 00 */ cmplwi r0, 0 -/* 80097D54 00094CB4 41 82 00 2C */ beq lbl_80097D80 -/* 80097D58 00094CB8 80 7E 00 00 */ lwz r3, 0(r30) -/* 80097D5C 00094CBC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80097D60 00094CC0 28 00 00 00 */ cmplwi r0, 0 -/* 80097D64 00094CC4 41 82 00 1C */ beq lbl_80097D80 -/* 80097D68 00094CC8 7F C3 F3 78 */ mr r3, r30 -/* 80097D6C 00094CCC 48 2A 90 A1 */ bl GetObj__6CTokenFv -/* 80097D70 00094CD0 80 03 00 04 */ lwz r0, 4(r3) -/* 80097D74 00094CD4 38 60 00 01 */ li r3, 1 -/* 80097D78 00094CD8 90 1E 00 08 */ stw r0, 8(r30) -/* 80097D7C 00094CDC 48 00 00 08 */ b lbl_80097D84 -lbl_80097D80: -/* 80097D80 00094CE0 38 60 00 00 */ li r3, 0 -lbl_80097D84: -/* 80097D84 00094CE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80097D88 00094CE8 41 82 01 EC */ beq lbl_80097F74 -/* 80097D8C 00094CEC 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 80097D90 00094CF0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 80097D94 00094CF4 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l -/* 80097D98 00094CF8 80 04 00 08 */ lwz r0, 8(r4) -/* 80097D9C 00094CFC 38 83 00 16 */ addi r4, r3, 0x16 -/* 80097DA0 00094D00 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 80097DA4 00094D04 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097DA8 00094D08 48 22 A3 AD */ bl FindWidget__9CGuiFrameCFPCc -/* 80097DAC 00094D0C 7C 7E 1B 78 */ mr r30, r3 -/* 80097DB0 00094D10 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) -/* 80097DB4 00094D14 38 80 00 2A */ li r4, 0x2a -/* 80097DB8 00094D18 48 2B E9 45 */ bl GetString__12CStringTableCFi -/* 80097DBC 00094D1C 7C 64 1B 78 */ mr r4, r3 -/* 80097DC0 00094D20 38 61 01 AC */ addi r3, r1, 0x1ac -/* 80097DC4 00094D24 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80097DC8 00094D28 38 A0 FF FF */ li r5, -1 -/* 80097DCC 00094D2C 48 2A 59 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80097DD0 00094D30 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 80097DD4 00094D34 38 81 01 AC */ addi r4, r1, 0x1ac -/* 80097DD8 00094D38 38 A0 00 00 */ li r5, 0 -/* 80097DDC 00094D3C 48 23 1A A9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80097DE0 00094D40 38 61 01 AC */ addi r3, r1, 0x1ac -/* 80097DE4 00094D44 48 2A 53 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80097DE8 00094D48 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 80097DEC 00094D4C 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097DF0 00094D50 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 80097DF4 00094D54 38 84 00 24 */ addi r4, r4, 0x24 -/* 80097DF8 00094D58 48 22 A3 5D */ bl FindWidget__9CGuiFrameCFPCc -/* 80097DFC 00094D5C 7C 7E 1B 78 */ mr r30, r3 -/* 80097E00 00094D60 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) -/* 80097E04 00094D64 38 80 00 2B */ li r4, 0x2b -/* 80097E08 00094D68 48 2B E8 F5 */ bl GetString__12CStringTableCFi -/* 80097E0C 00094D6C 7C 64 1B 78 */ mr r4, r3 -/* 80097E10 00094D70 38 61 01 9C */ addi r3, r1, 0x19c -/* 80097E14 00094D74 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80097E18 00094D78 38 A0 FF FF */ li r5, -1 -/* 80097E1C 00094D7C 48 2A 59 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80097E20 00094D80 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 80097E24 00094D84 38 81 01 9C */ addi r4, r1, 0x19c -/* 80097E28 00094D88 38 A0 00 00 */ li r5, 0 -/* 80097E2C 00094D8C 48 23 1A 59 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80097E30 00094D90 38 61 01 9C */ addi r3, r1, 0x19c -/* 80097E34 00094D94 48 2A 53 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80097E38 00094D98 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 80097E3C 00094D9C 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097E40 00094DA0 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 80097E44 00094DA4 38 84 00 33 */ addi r4, r4, 0x33 -/* 80097E48 00094DA8 48 22 A3 0D */ bl FindWidget__9CGuiFrameCFPCc -/* 80097E4C 00094DAC 90 7F 02 FC */ stw r3, 0x2fc(r31) -/* 80097E50 00094DB0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 80097E54 00094DB4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l -/* 80097E58 00094DB8 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097E5C 00094DBC 38 84 00 41 */ addi r4, r4, 0x41 -/* 80097E60 00094DC0 48 22 A2 F5 */ bl FindWidget__9CGuiFrameCFPCc -/* 80097E64 00094DC4 90 7F 03 00 */ stw r3, 0x300(r31) -/* 80097E68 00094DC8 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 80097E6C 00094DCC 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l -/* 80097E70 00094DD0 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097E74 00094DD4 38 84 00 57 */ addi r4, r4, 0x57 -/* 80097E78 00094DD8 48 22 A2 DD */ bl FindWidget__9CGuiFrameCFPCc -/* 80097E7C 00094DDC 90 7F 03 04 */ stw r3, 0x304(r31) -/* 80097E80 00094DE0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 80097E84 00094DE4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l -/* 80097E88 00094DE8 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097E8C 00094DEC 38 84 00 6E */ addi r4, r4, 0x6e -/* 80097E90 00094DF0 48 22 A2 C5 */ bl FindWidget__9CGuiFrameCFPCc -/* 80097E94 00094DF4 90 7F 03 08 */ stw r3, 0x308(r31) -/* 80097E98 00094DF8 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 80097E9C 00094DFC 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l -/* 80097EA0 00094E00 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097EA4 00094E04 38 84 00 85 */ addi r4, r4, 0x85 -/* 80097EA8 00094E08 48 22 A2 AD */ bl FindWidget__9CGuiFrameCFPCc -/* 80097EAC 00094E0C 7C 7E 1B 78 */ mr r30, r3 -/* 80097EB0 00094E10 38 80 00 00 */ li r4, 0 -/* 80097EB4 00094E14 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 80097EB8 00094E18 48 23 18 95 */ bl sub_802c974c -/* 80097EBC 00094E1C 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 80097EC0 00094E20 38 80 00 01 */ li r4, 1 -/* 80097EC4 00094E24 48 23 18 55 */ bl SetImageBaseline__15CGuiTextSupportFb -/* 80097EC8 00094E28 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) -/* 80097ECC 00094E2C 38 80 00 31 */ li r4, 0x31 -/* 80097ED0 00094E30 48 2B E8 2D */ bl GetString__12CStringTableCFi -/* 80097ED4 00094E34 7C 64 1B 78 */ mr r4, r3 -/* 80097ED8 00094E38 38 61 01 8C */ addi r3, r1, 0x18c -/* 80097EDC 00094E3C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80097EE0 00094E40 38 A0 FF FF */ li r5, -1 -/* 80097EE4 00094E44 48 2A 58 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80097EE8 00094E48 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 80097EEC 00094E4C 38 81 01 8C */ addi r4, r1, 0x18c -/* 80097EF0 00094E50 38 A0 00 00 */ li r5, 0 -/* 80097EF4 00094E54 48 23 19 91 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80097EF8 00094E58 38 61 01 8C */ addi r3, r1, 0x18c -/* 80097EFC 00094E5C 48 2A 52 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80097F00 00094E60 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 80097F04 00094E64 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097F08 00094E68 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 80097F0C 00094E6C 38 84 00 98 */ addi r4, r4, 0x98 -/* 80097F10 00094E70 48 22 A2 45 */ bl FindWidget__9CGuiFrameCFPCc -/* 80097F14 00094E74 90 7F 03 0C */ stw r3, 0x30c(r31) -/* 80097F18 00094E78 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 80097F1C 00094E7C 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l -/* 80097F20 00094E80 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097F24 00094E84 38 84 00 AC */ addi r4, r4, 0xac -/* 80097F28 00094E88 48 22 A2 2D */ bl FindWidget__9CGuiFrameCFPCc -/* 80097F2C 00094E8C 90 7F 03 10 */ stw r3, 0x310(r31) -/* 80097F30 00094E90 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 80097F34 00094E94 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l -/* 80097F38 00094E98 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097F3C 00094E9C 38 84 00 C3 */ addi r4, r4, 0xc3 -/* 80097F40 00094EA0 48 22 A2 15 */ bl FindWidget__9CGuiFrameCFPCc -/* 80097F44 00094EA4 90 7F 03 14 */ stw r3, 0x314(r31) -/* 80097F48 00094EA8 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 80097F4C 00094EAC 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l -/* 80097F50 00094EB0 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097F54 00094EB4 38 84 00 D9 */ addi r4, r4, 0xd9 -/* 80097F58 00094EB8 48 22 A1 FD */ bl FindWidget__9CGuiFrameCFPCc -/* 80097F5C 00094EBC 90 7F 02 F8 */ stw r3, 0x2f8(r31) -/* 80097F60 00094EC0 38 80 00 00 */ li r4, 0 -/* 80097F64 00094EC4 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 80097F68 00094EC8 88 03 00 B6 */ lbz r0, 0xb6(r3) -/* 80097F6C 00094ECC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80097F70 00094ED0 98 03 00 B6 */ stb r0, 0xb6(r3) -lbl_80097F74: -/* 80097F74 00094ED4 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097F78 00094ED8 28 03 00 00 */ cmplwi r3, 0 -/* 80097F7C 00094EDC 41 82 02 4C */ beq lbl_800981C8 -/* 80097F80 00094EE0 FC 20 F8 90 */ fmr f1, f31 -/* 80097F84 00094EE4 48 22 A7 81 */ bl Update__9CGuiFrameFf -/* 80097F88 00094EE8 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 80097F8C 00094EEC 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80097F90 00094EF0 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 80097F94 00094EF4 38 84 00 EB */ addi r4, r4, 0xeb -/* 80097F98 00094EF8 48 22 A1 BD */ bl FindWidget__9CGuiFrameCFPCc -/* 80097F9C 00094EFC 38 00 00 00 */ li r0, 0 -/* 80097FA0 00094F00 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 -/* 80097FA4 00094F04 90 81 01 CC */ stw r4, 0x1cc(r1) -/* 80097FA8 00094F08 3C 80 80 3D */ lis r4, lbl_803CD7FC@ha -/* 80097FAC 00094F0C 38 E4 D7 FC */ addi r7, r4, lbl_803CD7FC@l -/* 80097FB0 00094F10 80 82 8B 68 */ lwz r4, lbl_805AA888@sda21(r2) -/* 80097FB4 00094F14 90 01 01 D0 */ stw r0, 0x1d0(r1) -/* 80097FB8 00094F18 7C 7E 1B 78 */ mr r30, r3 -/* 80097FBC 00094F1C 80 C7 00 00 */ lwz r6, 0(r7) -/* 80097FC0 00094F20 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 80097FC4 00094F24 80 A7 00 04 */ lwz r5, 4(r7) -/* 80097FC8 00094F28 81 1F 01 BC */ lwz r8, 0x1bc(r31) -/* 80097FCC 00094F2C 80 67 00 08 */ lwz r3, 8(r7) -/* 80097FD0 00094F30 80 07 00 0C */ lwz r0, 0xc(r7) -/* 80097FD4 00094F34 2C 08 00 02 */ cmpwi r8, 2 -/* 80097FD8 00094F38 90 C1 01 DC */ stw r6, 0x1dc(r1) -/* 80097FDC 00094F3C 90 A1 01 E0 */ stw r5, 0x1e0(r1) -/* 80097FE0 00094F40 90 61 01 E4 */ stw r3, 0x1e4(r1) -/* 80097FE4 00094F44 90 01 01 E8 */ stw r0, 0x1e8(r1) -/* 80097FE8 00094F48 90 81 00 4C */ stw r4, 0x4c(r1) -/* 80097FEC 00094F4C 41 82 00 20 */ beq lbl_8009800C -/* 80097FF0 00094F50 2C 08 00 01 */ cmpwi r8, 1 -/* 80097FF4 00094F54 40 82 00 B0 */ bne lbl_800980A4 -/* 80097FF8 00094F58 7F E3 FB 78 */ mr r3, r31 -/* 80097FFC 00094F5C 7F A4 EB 78 */ mr r4, r29 -/* 80098000 00094F60 48 00 41 39 */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv -/* 80098004 00094F64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80098008 00094F68 41 82 00 9C */ beq lbl_800980A4 -lbl_8009800C: -/* 8009800C 00094F6C 38 61 01 CC */ addi r3, r1, 0x1cc -/* 80098010 00094F70 38 80 01 00 */ li r4, 0x100 -/* 80098014 00094F74 38 A0 00 01 */ li r5, 1 -/* 80098018 00094F78 48 2A 4F 5D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8009801C 00094F7C 38 61 01 CC */ addi r3, r1, 0x1cc -/* 80098020 00094F80 38 81 01 DC */ addi r4, r1, 0x1dc -/* 80098024 00094F84 38 A0 FF FF */ li r5, -1 -/* 80098028 00094F88 48 2A 54 BD */ bl sub_8033d4e4 -/* 8009802C 00094F8C 80 1F 02 F4 */ lwz r0, 0x2f4(r31) -/* 80098030 00094F90 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 80098034 00094F94 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80098038 00094F98 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l -/* 8009803C 00094F9C 54 00 10 3A */ slwi r0, r0, 2 -/* 80098040 00094FA0 7C 83 02 14 */ add r4, r3, r0 -/* 80098044 00094FA4 38 65 00 FB */ addi r3, r5, 0xfb -/* 80098048 00094FA8 80 84 00 98 */ lwz r4, 0x98(r4) -/* 8009804C 00094FAC 4C C6 31 82 */ crclr 6 -/* 80098050 00094FB0 48 23 E1 61 */ bl Stringize__7CBasicsFPCce -/* 80098054 00094FB4 7C 64 1B 78 */ mr r4, r3 -/* 80098058 00094FB8 38 61 01 7C */ addi r3, r1, 0x17c -/* 8009805C 00094FBC 38 C1 00 0C */ addi r6, r1, 0xc -/* 80098060 00094FC0 38 A0 FF FF */ li r5, -1 -/* 80098064 00094FC4 48 2A 61 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80098068 00094FC8 38 61 01 6C */ addi r3, r1, 0x16c -/* 8009806C 00094FCC 38 81 01 7C */ addi r4, r1, 0x17c -/* 80098070 00094FD0 48 2A 66 B1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80098074 00094FD4 38 61 01 CC */ addi r3, r1, 0x1cc -/* 80098078 00094FD8 38 81 01 6C */ addi r4, r1, 0x16c -/* 8009807C 00094FDC 48 2A 55 D1 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80098080 00094FE0 38 61 01 6C */ addi r3, r1, 0x16c -/* 80098084 00094FE4 48 2A 50 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80098088 00094FE8 38 61 01 7C */ addi r3, r1, 0x17c -/* 8009808C 00094FEC 48 2A 5A 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80098090 00094FF0 38 61 01 CC */ addi r3, r1, 0x1cc -/* 80098094 00094FF4 38 81 00 4C */ addi r4, r1, 0x4c -/* 80098098 00094FF8 38 A0 FF FF */ li r5, -1 -/* 8009809C 00094FFC 48 2A 54 49 */ bl sub_8033d4e4 -/* 800980A0 00095000 48 00 00 24 */ b lbl_800980C4 -lbl_800980A4: -/* 800980A4 00095004 38 61 01 5C */ addi r3, r1, 0x15c -/* 800980A8 00095008 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 -/* 800980AC 0009500C 4B F7 D9 45 */ bl wstring_l__4rstlFPCw -/* 800980B0 00095010 38 61 01 CC */ addi r3, r1, 0x1cc -/* 800980B4 00095014 38 81 01 5C */ addi r4, r1, 0x15c -/* 800980B8 00095018 48 2A 52 95 */ bl sub_8033d34c -/* 800980BC 0009501C 38 61 01 5C */ addi r3, r1, 0x15c -/* 800980C0 00095020 48 2A 50 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800980C4: -/* 800980C4 00095024 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 800980C8 00095028 38 81 01 CC */ addi r4, r1, 0x1cc -/* 800980CC 0009502C 38 A0 00 00 */ li r5, 0 -/* 800980D0 00095030 48 23 17 B5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800980D4 00095034 38 61 01 CC */ addi r3, r1, 0x1cc -/* 800980D8 00095038 48 2A 50 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800980DC 0009503C 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 800980E0 00095040 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 800980E4 00095044 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 800980E8 00095048 38 84 01 01 */ addi r4, r4, 0x101 -/* 800980EC 0009504C 48 22 A0 69 */ bl FindWidget__9CGuiFrameCFPCc -/* 800980F0 00095050 38 00 00 00 */ li r0, 0 -/* 800980F4 00095054 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 -/* 800980F8 00095058 90 81 01 BC */ stw r4, 0x1bc(r1) -/* 800980FC 0009505C 7C 7E 1B 78 */ mr r30, r3 -/* 80098100 00095060 90 01 01 C0 */ stw r0, 0x1c0(r1) -/* 80098104 00095064 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 80098108 00095068 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 8009810C 0009506C 2C 00 00 02 */ cmpwi r0, 2 -/* 80098110 00095070 40 82 00 34 */ bne lbl_80098144 -/* 80098114 00095074 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) -/* 80098118 00095078 38 80 00 2D */ li r4, 0x2d -/* 8009811C 0009507C 48 2B E5 E1 */ bl GetString__12CStringTableCFi -/* 80098120 00095080 7C 64 1B 78 */ mr r4, r3 -/* 80098124 00095084 38 61 01 4C */ addi r3, r1, 0x14c -/* 80098128 00095088 4B F7 D8 C9 */ bl wstring_l__4rstlFPCw -/* 8009812C 0009508C 38 61 01 BC */ addi r3, r1, 0x1bc -/* 80098130 00095090 38 81 01 4C */ addi r4, r1, 0x14c -/* 80098134 00095094 48 2A 52 19 */ bl sub_8033d34c -/* 80098138 00095098 38 61 01 4C */ addi r3, r1, 0x14c -/* 8009813C 0009509C 48 2A 4F F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80098140 000950A0 48 00 00 70 */ b lbl_800981B0 -lbl_80098144: -/* 80098144 000950A4 2C 00 00 01 */ cmpwi r0, 1 -/* 80098148 000950A8 40 82 00 48 */ bne lbl_80098190 -/* 8009814C 000950AC 7F E3 FB 78 */ mr r3, r31 -/* 80098150 000950B0 7F A4 EB 78 */ mr r4, r29 -/* 80098154 000950B4 48 00 3F E5 */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv -/* 80098158 000950B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009815C 000950BC 41 82 00 34 */ beq lbl_80098190 -/* 80098160 000950C0 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) -/* 80098164 000950C4 38 80 00 2C */ li r4, 0x2c -/* 80098168 000950C8 48 2B E5 95 */ bl GetString__12CStringTableCFi -/* 8009816C 000950CC 7C 64 1B 78 */ mr r4, r3 -/* 80098170 000950D0 38 61 01 3C */ addi r3, r1, 0x13c -/* 80098174 000950D4 4B F7 D8 7D */ bl wstring_l__4rstlFPCw -/* 80098178 000950D8 38 61 01 BC */ addi r3, r1, 0x1bc -/* 8009817C 000950DC 38 81 01 3C */ addi r4, r1, 0x13c -/* 80098180 000950E0 48 2A 51 CD */ bl sub_8033d34c -/* 80098184 000950E4 38 61 01 3C */ addi r3, r1, 0x13c -/* 80098188 000950E8 48 2A 4F AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009818C 000950EC 48 00 00 24 */ b lbl_800981B0 -lbl_80098190: -/* 80098190 000950F0 38 61 01 2C */ addi r3, r1, 0x12c -/* 80098194 000950F4 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 -/* 80098198 000950F8 4B F7 D8 59 */ bl wstring_l__4rstlFPCw -/* 8009819C 000950FC 38 61 01 BC */ addi r3, r1, 0x1bc -/* 800981A0 00095100 38 81 01 2C */ addi r4, r1, 0x12c -/* 800981A4 00095104 48 2A 51 A9 */ bl sub_8033d34c -/* 800981A8 00095108 38 61 01 2C */ addi r3, r1, 0x12c -/* 800981AC 0009510C 48 2A 4F 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800981B0: -/* 800981B0 00095110 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 800981B4 00095114 38 81 01 BC */ addi r4, r1, 0x1bc -/* 800981B8 00095118 38 A0 00 00 */ li r5, 0 -/* 800981BC 0009511C 48 23 16 C9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800981C0 00095120 38 61 01 BC */ addi r3, r1, 0x1bc -/* 800981C4 00095124 48 2A 4F 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800981C8: -/* 800981C8 00095128 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800981CC 0009512C C0 02 8B 90 */ lfs f0, lbl_805AA8B0@sda21(r2) -/* 800981D0 00095130 80 03 01 64 */ lwz r0, 0x164(r3) -/* 800981D4 00095134 EC 20 07 F2 */ fmuls f1, f0, f31 -/* 800981D8 00095138 2C 00 00 01 */ cmpwi r0, 1 -/* 800981DC 0009513C 41 82 00 48 */ beq lbl_80098224 -/* 800981E0 00095140 40 80 00 10 */ bge lbl_800981F0 -/* 800981E4 00095144 2C 00 00 00 */ cmpwi r0, 0 -/* 800981E8 00095148 40 80 00 14 */ bge lbl_800981FC -/* 800981EC 0009514C 48 00 00 84 */ b lbl_80098270 -lbl_800981F0: -/* 800981F0 00095150 2C 00 00 03 */ cmpwi r0, 3 -/* 800981F4 00095154 40 80 00 7C */ bge lbl_80098270 -/* 800981F8 00095158 48 00 00 54 */ b lbl_8009824C -lbl_800981FC: -/* 800981FC 0009515C C0 1F 03 18 */ lfs f0, 0x318(r31) -/* 80098200 00095160 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80098204 00095164 D0 1F 03 18 */ stfs f0, 0x318(r31) -/* 80098208 00095168 C0 1F 03 1C */ lfs f0, 0x31c(r31) -/* 8009820C 0009516C EC 00 08 28 */ fsubs f0, f0, f1 -/* 80098210 00095170 D0 1F 03 1C */ stfs f0, 0x31c(r31) -/* 80098214 00095174 C0 1F 03 20 */ lfs f0, 0x320(r31) -/* 80098218 00095178 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8009821C 0009517C D0 1F 03 20 */ stfs f0, 0x320(r31) -/* 80098220 00095180 48 00 00 50 */ b lbl_80098270 -lbl_80098224: -/* 80098224 00095184 C0 1F 03 18 */ lfs f0, 0x318(r31) -/* 80098228 00095188 EC 00 08 2A */ fadds f0, f0, f1 -/* 8009822C 0009518C D0 1F 03 18 */ stfs f0, 0x318(r31) -/* 80098230 00095190 C0 1F 03 1C */ lfs f0, 0x31c(r31) -/* 80098234 00095194 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80098238 00095198 D0 1F 03 1C */ stfs f0, 0x31c(r31) -/* 8009823C 0009519C C0 1F 03 20 */ lfs f0, 0x320(r31) -/* 80098240 000951A0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80098244 000951A4 D0 1F 03 20 */ stfs f0, 0x320(r31) -/* 80098248 000951A8 48 00 00 28 */ b lbl_80098270 -lbl_8009824C: -/* 8009824C 000951AC C0 1F 03 18 */ lfs f0, 0x318(r31) -/* 80098250 000951B0 EC 00 08 2A */ fadds f0, f0, f1 -/* 80098254 000951B4 D0 1F 03 18 */ stfs f0, 0x318(r31) -/* 80098258 000951B8 C0 1F 03 1C */ lfs f0, 0x31c(r31) -/* 8009825C 000951BC EC 00 08 2A */ fadds f0, f0, f1 -/* 80098260 000951C0 D0 1F 03 1C */ stfs f0, 0x31c(r31) -/* 80098264 000951C4 C0 1F 03 20 */ lfs f0, 0x320(r31) -/* 80098268 000951C8 EC 00 08 2A */ fadds f0, f0, f1 -/* 8009826C 000951CC D0 1F 03 20 */ stfs f0, 0x320(r31) -lbl_80098270: -/* 80098270 000951D0 C0 3F 03 18 */ lfs f1, 0x318(r31) -/* 80098274 000951D4 C0 0D 85 E4 */ lfs f0, lbl_805A71A4@sda21(r13) -/* 80098278 000951D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009827C 000951DC 40 80 00 0C */ bge lbl_80098288 -/* 80098280 000951E0 38 7F 03 18 */ addi r3, r31, 0x318 -/* 80098284 000951E4 48 00 00 08 */ b lbl_8009828C -lbl_80098288: -/* 80098288 000951E8 38 6D 85 E4 */ addi r3, r13, lbl_805A71A4@sda21 -lbl_8009828C: -/* 8009828C 000951EC C0 2D 85 E8 */ lfs f1, lbl_805A71A8@sda21(r13) -/* 80098290 000951F0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80098294 000951F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80098298 000951F8 40 80 00 08 */ bge lbl_800982A0 -/* 8009829C 000951FC 48 00 00 08 */ b lbl_800982A4 -lbl_800982A0: -/* 800982A0 00095200 38 6D 85 E8 */ addi r3, r13, lbl_805A71A8@sda21 -lbl_800982A4: -/* 800982A4 00095204 C0 03 00 00 */ lfs f0, 0(r3) -/* 800982A8 00095208 D0 1F 03 18 */ stfs f0, 0x318(r31) -/* 800982AC 0009520C C0 3F 03 1C */ lfs f1, 0x31c(r31) -/* 800982B0 00095210 C0 0D 85 EC */ lfs f0, lbl_805A71AC@sda21(r13) -/* 800982B4 00095214 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800982B8 00095218 40 80 00 0C */ bge lbl_800982C4 -/* 800982BC 0009521C 38 7F 03 1C */ addi r3, r31, 0x31c -/* 800982C0 00095220 48 00 00 08 */ b lbl_800982C8 -lbl_800982C4: -/* 800982C4 00095224 38 6D 85 EC */ addi r3, r13, lbl_805A71AC@sda21 -lbl_800982C8: -/* 800982C8 00095228 C0 2D 85 F0 */ lfs f1, lbl_805A71B0@sda21(r13) -/* 800982CC 0009522C C0 03 00 00 */ lfs f0, 0(r3) -/* 800982D0 00095230 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800982D4 00095234 40 80 00 08 */ bge lbl_800982DC -/* 800982D8 00095238 48 00 00 08 */ b lbl_800982E0 -lbl_800982DC: -/* 800982DC 0009523C 38 6D 85 F0 */ addi r3, r13, lbl_805A71B0@sda21 -lbl_800982E0: -/* 800982E0 00095240 C0 03 00 00 */ lfs f0, 0(r3) -/* 800982E4 00095244 D0 1F 03 1C */ stfs f0, 0x31c(r31) -/* 800982E8 00095248 C0 3F 03 20 */ lfs f1, 0x320(r31) -/* 800982EC 0009524C C0 0D 85 F4 */ lfs f0, lbl_805A71B4@sda21(r13) -/* 800982F0 00095250 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800982F4 00095254 40 80 00 0C */ bge lbl_80098300 -/* 800982F8 00095258 38 7F 03 20 */ addi r3, r31, 0x320 -/* 800982FC 0009525C 48 00 00 08 */ b lbl_80098304 -lbl_80098300: -/* 80098300 00095260 38 6D 85 F4 */ addi r3, r13, lbl_805A71B4@sda21 -lbl_80098304: -/* 80098304 00095264 C0 2D 85 F8 */ lfs f1, lbl_805A71B8@sda21(r13) -/* 80098308 00095268 C0 03 00 00 */ lfs f0, 0(r3) -/* 8009830C 0009526C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80098310 00095270 40 80 00 08 */ bge lbl_80098318 -/* 80098314 00095274 48 00 00 08 */ b lbl_8009831C -lbl_80098318: -/* 80098318 00095278 38 6D 85 F8 */ addi r3, r13, lbl_805A71B8@sda21 -lbl_8009831C: -/* 8009831C 0009527C C0 03 00 00 */ lfs f0, 0(r3) -/* 80098320 00095280 D0 1F 03 20 */ stfs f0, 0x320(r31) -/* 80098324 00095284 83 DF 03 0C */ lwz r30, 0x30c(r31) -/* 80098328 00095288 28 1E 00 00 */ cmplwi r30, 0 -/* 8009832C 0009528C 41 82 00 64 */ beq lbl_80098390 -/* 80098330 00095290 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 80098334 00095294 38 61 02 AC */ addi r3, r1, 0x2ac -/* 80098338 00095298 C0 1F 03 18 */ lfs f0, 0x318(r31) -/* 8009833C 0009529C 38 81 01 20 */ addi r4, r1, 0x120 -/* 80098340 000952A0 C0 42 8B C0 */ lfs f2, lbl_805AA8E0@sda21(r2) -/* 80098344 000952A4 EC 60 00 72 */ fmuls f3, f0, f1 -/* 80098348 000952A8 D0 21 01 18 */ stfs f1, 0x118(r1) -/* 8009834C 000952AC EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80098350 000952B0 D0 41 01 14 */ stfs f2, 0x114(r1) -/* 80098354 000952B4 D0 21 01 1C */ stfs f1, 0x11c(r1) -/* 80098358 000952B8 D0 01 01 20 */ stfs f0, 0x120(r1) -/* 8009835C 000952BC D0 61 01 24 */ stfs f3, 0x124(r1) -/* 80098360 000952C0 D0 61 01 28 */ stfs f3, 0x128(r1) -/* 80098364 000952C4 48 27 AD DD */ bl Translate__12CTransform4fFRC9CVector3f -/* 80098368 000952C8 38 61 02 DC */ addi r3, r1, 0x2dc -/* 8009836C 000952CC 38 81 02 AC */ addi r4, r1, 0x2ac -/* 80098370 000952D0 38 BE 00 74 */ addi r5, r30, 0x74 -/* 80098374 000952D4 48 27 A5 DD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80098378 000952D8 83 DF 03 0C */ lwz r30, 0x30c(r31) -/* 8009837C 000952DC 38 81 02 DC */ addi r4, r1, 0x2dc -/* 80098380 000952E0 38 7E 00 04 */ addi r3, r30, 4 -/* 80098384 000952E4 48 27 A7 BD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80098388 000952E8 7F C3 F3 78 */ mr r3, r30 -/* 8009838C 000952EC 48 22 C4 5D */ bl RecalculateTransforms__10CGuiObjectFv -lbl_80098390: -/* 80098390 000952F0 83 DF 03 10 */ lwz r30, 0x310(r31) -/* 80098394 000952F4 28 1E 00 00 */ cmplwi r30, 0 -/* 80098398 000952F8 41 82 00 64 */ beq lbl_800983FC -/* 8009839C 000952FC C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 800983A0 00095300 38 61 02 4C */ addi r3, r1, 0x24c -/* 800983A4 00095304 C0 5F 03 1C */ lfs f2, 0x31c(r31) -/* 800983A8 00095308 38 81 01 08 */ addi r4, r1, 0x108 -/* 800983AC 0009530C C0 02 8B C4 */ lfs f0, lbl_805AA8E4@sda21(r2) -/* 800983B0 00095310 EC 62 00 72 */ fmuls f3, f2, f1 -/* 800983B4 00095314 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 800983B8 00095318 EC 42 00 32 */ fmuls f2, f2, f0 -/* 800983BC 0009531C D0 21 01 00 */ stfs f1, 0x100(r1) -/* 800983C0 00095320 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 800983C4 00095324 D0 61 01 08 */ stfs f3, 0x108(r1) -/* 800983C8 00095328 D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 800983CC 0009532C D0 41 01 10 */ stfs f2, 0x110(r1) -/* 800983D0 00095330 48 27 AD 71 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800983D4 00095334 38 61 02 7C */ addi r3, r1, 0x27c -/* 800983D8 00095338 38 81 02 4C */ addi r4, r1, 0x24c -/* 800983DC 0009533C 38 BE 00 74 */ addi r5, r30, 0x74 -/* 800983E0 00095340 48 27 A5 71 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800983E4 00095344 83 DF 03 10 */ lwz r30, 0x310(r31) -/* 800983E8 00095348 38 81 02 7C */ addi r4, r1, 0x27c -/* 800983EC 0009534C 38 7E 00 04 */ addi r3, r30, 4 -/* 800983F0 00095350 48 27 A7 51 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800983F4 00095354 7F C3 F3 78 */ mr r3, r30 -/* 800983F8 00095358 48 22 C3 F1 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_800983FC: -/* 800983FC 0009535C 83 DF 03 14 */ lwz r30, 0x314(r31) -/* 80098400 00095360 28 1E 00 00 */ cmplwi r30, 0 -/* 80098404 00095364 41 82 00 64 */ beq lbl_80098468 -/* 80098408 00095368 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 8009840C 0009536C 38 61 01 EC */ addi r3, r1, 0x1ec -/* 80098410 00095370 C0 5F 03 20 */ lfs f2, 0x320(r31) -/* 80098414 00095374 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 80098418 00095378 C0 02 8B C8 */ lfs f0, lbl_805AA8E8@sda21(r2) -/* 8009841C 0009537C EC 62 00 72 */ fmuls f3, f2, f1 -/* 80098420 00095380 D0 21 00 E4 */ stfs f1, 0xe4(r1) -/* 80098424 00095384 EC 42 00 32 */ fmuls f2, f2, f0 -/* 80098428 00095388 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 8009842C 0009538C D0 01 00 EC */ stfs f0, 0xec(r1) -/* 80098430 00095390 D0 61 00 F0 */ stfs f3, 0xf0(r1) -/* 80098434 00095394 D0 61 00 F4 */ stfs f3, 0xf4(r1) -/* 80098438 00095398 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 8009843C 0009539C 48 27 AD 05 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80098440 000953A0 38 61 02 1C */ addi r3, r1, 0x21c -/* 80098444 000953A4 38 81 01 EC */ addi r4, r1, 0x1ec -/* 80098448 000953A8 38 BE 00 74 */ addi r5, r30, 0x74 -/* 8009844C 000953AC 48 27 A5 05 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80098450 000953B0 83 DF 03 14 */ lwz r30, 0x314(r31) -/* 80098454 000953B4 38 81 02 1C */ addi r4, r1, 0x21c -/* 80098458 000953B8 38 7E 00 04 */ addi r3, r30, 4 -/* 8009845C 000953BC 48 27 A6 E5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80098460 000953C0 7F C3 F3 78 */ mr r3, r30 -/* 80098464 000953C4 48 22 C3 85 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_80098468: -/* 80098468 000953C8 7F E3 FB 78 */ mr r3, r31 -/* 8009846C 000953CC 38 80 00 00 */ li r4, 0 -/* 80098470 000953D0 4B FF D8 B5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 80098474 000953D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80098478 000953D8 41 82 02 E4 */ beq lbl_8009875C -/* 8009847C 000953DC 7F A4 EB 78 */ mr r4, r29 -/* 80098480 000953E0 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80098484 000953E4 4B FF E5 6D */ bl GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager -/* 80098488 000953E8 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 8009848C 000953EC 7F E3 FB 78 */ mr r3, r31 -/* 80098490 000953F0 7F A4 EB 78 */ mr r4, r29 -/* 80098494 000953F4 D0 1F 00 B0 */ stfs f0, 0xb0(r31) -/* 80098498 000953F8 80 A1 00 D8 */ lwz r5, 0xd8(r1) -/* 8009849C 000953FC 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 800984A0 00095400 90 BF 00 B4 */ stw r5, 0xb4(r31) -/* 800984A4 00095404 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 800984A8 00095408 80 01 00 E0 */ lwz r0, 0xe0(r1) -/* 800984AC 0009540C 90 1F 00 BC */ stw r0, 0xbc(r31) -/* 800984B0 00095410 C3 DF 00 C0 */ lfs f30, 0xc0(r31) -/* 800984B4 00095414 4B FF D8 F1 */ bl GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager -/* 800984B8 00095418 EC 5E 08 28 */ fsubs f2, f30, f1 -/* 800984BC 0009541C C0 02 8B CC */ lfs f0, lbl_805AA8EC@sda21(r2) -/* 800984C0 00095420 FC 40 12 10 */ fabs f2, f2 -/* 800984C4 00095424 FC 40 10 18 */ frsp f2, f2 -/* 800984C8 00095428 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800984CC 0009542C 40 80 00 0C */ bge lbl_800984D8 -/* 800984D0 00095430 D0 3F 00 C0 */ stfs f1, 0xc0(r31) -/* 800984D4 00095434 48 00 00 20 */ b lbl_800984F4 -lbl_800984D8: -/* 800984D8 00095438 FC 1E 08 40 */ fcmpo cr0, f30, f1 -/* 800984DC 0009543C 40 80 00 10 */ bge lbl_800984EC -/* 800984E0 00095440 EC 00 F0 2A */ fadds f0, f0, f30 -/* 800984E4 00095444 D0 1F 00 C0 */ stfs f0, 0xc0(r31) -/* 800984E8 00095448 48 00 00 0C */ b lbl_800984F4 -lbl_800984EC: -/* 800984EC 0009544C EC 1E 00 28 */ fsubs f0, f30, f0 -/* 800984F0 00095450 D0 1F 00 C0 */ stfs f0, 0xc0(r31) -lbl_800984F4: -/* 800984F4 00095454 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 800984F8 00095458 38 61 00 48 */ addi r3, r1, 0x48 -/* 800984FC 0009545C 81 84 00 00 */ lwz r12, 0(r4) -/* 80098500 00095460 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80098504 00095464 7D 89 03 A6 */ mtctr r12 -/* 80098508 00095468 4E 80 04 21 */ bctrl -/* 8009850C 0009546C 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80098510 00095470 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 80098514 00095474 7C 00 18 00 */ cmpw r0, r3 -/* 80098518 00095478 41 82 02 10 */ beq lbl_80098728 -/* 8009851C 0009547C 80 FF 00 A8 */ lwz r7, 0xa8(r31) -/* 80098520 00095480 7F E4 FB 78 */ mr r4, r31 -/* 80098524 00095484 80 DF 00 AC */ lwz r6, 0xac(r31) -/* 80098528 00095488 7F A5 EB 78 */ mr r5, r29 -/* 8009852C 0009548C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80098530 00095490 90 FF 01 60 */ stw r7, 0x160(r31) -/* 80098534 00095494 90 DF 01 64 */ stw r6, 0x164(r31) -/* 80098538 00095498 80 FF 00 B0 */ lwz r7, 0xb0(r31) -/* 8009853C 0009549C 80 DF 00 B4 */ lwz r6, 0xb4(r31) -/* 80098540 000954A0 90 FF 01 68 */ stw r7, 0x168(r31) -/* 80098544 000954A4 90 DF 01 6C */ stw r6, 0x16c(r31) -/* 80098548 000954A8 80 FF 00 B8 */ lwz r7, 0xb8(r31) -/* 8009854C 000954AC 80 DF 00 BC */ lwz r6, 0xbc(r31) -/* 80098550 000954B0 90 FF 01 70 */ stw r7, 0x170(r31) -/* 80098554 000954B4 90 DF 01 74 */ stw r6, 0x174(r31) -/* 80098558 000954B8 C0 1F 00 C0 */ lfs f0, 0xc0(r31) -/* 8009855C 000954BC D0 1F 01 78 */ stfs f0, 0x178(r31) -/* 80098560 000954C0 C0 1F 00 C4 */ lfs f0, 0xc4(r31) -/* 80098564 000954C4 D0 1F 01 7C */ stfs f0, 0x17c(r31) -/* 80098568 000954C8 80 FF 00 C8 */ lwz r7, 0xc8(r31) -/* 8009856C 000954CC 80 DF 00 CC */ lwz r6, 0xcc(r31) -/* 80098570 000954D0 90 FF 01 80 */ stw r7, 0x180(r31) -/* 80098574 000954D4 90 DF 01 84 */ stw r6, 0x184(r31) -/* 80098578 000954D8 80 DF 00 D0 */ lwz r6, 0xd0(r31) -/* 8009857C 000954DC 90 DF 01 88 */ stw r6, 0x188(r31) -/* 80098580 000954E0 C0 1F 00 D4 */ lfs f0, 0xd4(r31) -/* 80098584 000954E4 D0 1F 01 8C */ stfs f0, 0x18c(r31) -/* 80098588 000954E8 C0 1F 00 D8 */ lfs f0, 0xd8(r31) -/* 8009858C 000954EC D0 1F 01 90 */ stfs f0, 0x190(r31) -/* 80098590 000954F0 C0 1F 00 DC */ lfs f0, 0xdc(r31) -/* 80098594 000954F4 D0 1F 01 94 */ stfs f0, 0x194(r31) -/* 80098598 000954F8 C0 1F 00 E0 */ lfs f0, 0xe0(r31) -/* 8009859C 000954FC D0 1F 01 98 */ stfs f0, 0x198(r31) -/* 800985A0 00095500 C0 1F 00 E4 */ lfs f0, 0xe4(r31) -/* 800985A4 00095504 D0 1F 01 9C */ stfs f0, 0x19c(r31) -/* 800985A8 00095508 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 800985AC 0009550C D0 1F 01 A0 */ stfs f0, 0x1a0(r31) -/* 800985B0 00095510 80 DF 00 EC */ lwz r6, 0xec(r31) -/* 800985B4 00095514 90 DF 01 A4 */ stw r6, 0x1a4(r31) -/* 800985B8 00095518 80 DF 00 F0 */ lwz r6, 0xf0(r31) -/* 800985BC 0009551C 90 DF 01 A8 */ stw r6, 0x1a8(r31) -/* 800985C0 00095520 80 DF 00 F4 */ lwz r6, 0xf4(r31) -/* 800985C4 00095524 90 DF 01 AC */ stw r6, 0x1ac(r31) -/* 800985C8 00095528 80 DF 00 F8 */ lwz r6, 0xf8(r31) -/* 800985CC 0009552C 90 DF 01 B0 */ stw r6, 0x1b0(r31) -/* 800985D0 00095530 80 DF 00 FC */ lwz r6, 0xfc(r31) -/* 800985D4 00095534 90 DF 01 B4 */ stw r6, 0x1b4(r31) -/* 800985D8 00095538 80 DF 01 00 */ lwz r6, 0x100(r31) -/* 800985DC 0009553C 90 DF 01 B8 */ stw r6, 0x1b8(r31) -/* 800985E0 00095540 80 FF 00 A8 */ lwz r7, 0xa8(r31) -/* 800985E4 00095544 80 DF 00 AC */ lwz r6, 0xac(r31) -/* 800985E8 00095548 90 FF 01 04 */ stw r7, 0x104(r31) -/* 800985EC 0009554C 90 DF 01 08 */ stw r6, 0x108(r31) -/* 800985F0 00095550 80 FF 00 B0 */ lwz r7, 0xb0(r31) -/* 800985F4 00095554 80 DF 00 B4 */ lwz r6, 0xb4(r31) -/* 800985F8 00095558 90 FF 01 0C */ stw r7, 0x10c(r31) -/* 800985FC 0009555C 90 DF 01 10 */ stw r6, 0x110(r31) -/* 80098600 00095560 80 FF 00 B8 */ lwz r7, 0xb8(r31) -/* 80098604 00095564 80 DF 00 BC */ lwz r6, 0xbc(r31) -/* 80098608 00095568 90 FF 01 14 */ stw r7, 0x114(r31) -/* 8009860C 0009556C 90 DF 01 18 */ stw r6, 0x118(r31) -/* 80098610 00095570 C0 1F 00 C0 */ lfs f0, 0xc0(r31) -/* 80098614 00095574 D0 1F 01 1C */ stfs f0, 0x11c(r31) -/* 80098618 00095578 C0 1F 00 C4 */ lfs f0, 0xc4(r31) -/* 8009861C 0009557C D0 1F 01 20 */ stfs f0, 0x120(r31) -/* 80098620 00095580 80 FF 00 C8 */ lwz r7, 0xc8(r31) -/* 80098624 00095584 80 DF 00 CC */ lwz r6, 0xcc(r31) -/* 80098628 00095588 90 FF 01 24 */ stw r7, 0x124(r31) -/* 8009862C 0009558C 90 DF 01 28 */ stw r6, 0x128(r31) -/* 80098630 00095590 80 DF 00 D0 */ lwz r6, 0xd0(r31) -/* 80098634 00095594 90 DF 01 2C */ stw r6, 0x12c(r31) -/* 80098638 00095598 C0 1F 00 D4 */ lfs f0, 0xd4(r31) -/* 8009863C 0009559C D0 1F 01 30 */ stfs f0, 0x130(r31) -/* 80098640 000955A0 C0 1F 00 D8 */ lfs f0, 0xd8(r31) -/* 80098644 000955A4 D0 1F 01 34 */ stfs f0, 0x134(r31) -/* 80098648 000955A8 C0 1F 00 DC */ lfs f0, 0xdc(r31) -/* 8009864C 000955AC D0 1F 01 38 */ stfs f0, 0x138(r31) -/* 80098650 000955B0 C0 1F 00 E0 */ lfs f0, 0xe0(r31) -/* 80098654 000955B4 D0 1F 01 3C */ stfs f0, 0x13c(r31) -/* 80098658 000955B8 C0 1F 00 E4 */ lfs f0, 0xe4(r31) -/* 8009865C 000955BC D0 1F 01 40 */ stfs f0, 0x140(r31) -/* 80098660 000955C0 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 80098664 000955C4 D0 1F 01 44 */ stfs f0, 0x144(r31) -/* 80098668 000955C8 80 DF 00 EC */ lwz r6, 0xec(r31) -/* 8009866C 000955CC 90 DF 01 48 */ stw r6, 0x148(r31) -/* 80098670 000955D0 80 DF 00 F0 */ lwz r6, 0xf0(r31) -/* 80098674 000955D4 90 DF 01 4C */ stw r6, 0x14c(r31) -/* 80098678 000955D8 80 DF 00 F4 */ lwz r6, 0xf4(r31) -/* 8009867C 000955DC 90 DF 01 50 */ stw r6, 0x150(r31) -/* 80098680 000955E0 80 DF 00 F8 */ lwz r6, 0xf8(r31) -/* 80098684 000955E4 90 DF 01 54 */ stw r6, 0x154(r31) -/* 80098688 000955E8 80 DF 00 FC */ lwz r6, 0xfc(r31) -/* 8009868C 000955EC 90 DF 01 58 */ stw r6, 0x158(r31) -/* 80098690 000955F0 80 DF 01 00 */ lwz r6, 0x100(r31) -/* 80098694 000955F4 90 DF 01 5C */ stw r6, 0x15c(r31) -/* 80098698 000955F8 80 DF 00 A0 */ lwz r6, 0xa0(r31) -/* 8009869C 000955FC 90 DF 00 A4 */ stw r6, 0xa4(r31) -/* 800986A0 00095600 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 800986A4 00095604 80 DF 00 A0 */ lwz r6, 0xa0(r31) -/* 800986A8 00095608 4B FF E2 B1 */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri -/* 800986AC 0009560C C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 800986B0 00095610 38 80 00 00 */ li r4, 0 -/* 800986B4 00095614 38 60 00 04 */ li r3, 4 -/* 800986B8 00095618 38 00 00 01 */ li r0, 1 -/* 800986BC 0009561C D0 1F 01 24 */ stfs f0, 0x124(r31) -/* 800986C0 00095620 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 800986C4 00095624 D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 800986C8 00095628 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 800986CC 0009562C D0 1F 01 2C */ stfs f0, 0x12c(r31) -/* 800986D0 00095630 90 9F 01 48 */ stw r4, 0x148(r31) -/* 800986D4 00095634 90 9F 01 4C */ stw r4, 0x14c(r31) -/* 800986D8 00095638 90 7F 01 50 */ stw r3, 0x150(r31) -/* 800986DC 0009563C 90 1F 01 54 */ stw r0, 0x154(r31) -/* 800986E0 00095640 90 1F 01 58 */ stw r0, 0x158(r31) -/* 800986E4 00095644 90 9F 01 5C */ stw r4, 0x15c(r31) -/* 800986E8 00095648 4B FF DB CD */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -/* 800986EC 0009564C D0 3F 01 30 */ stfs f1, 0x130(r31) -/* 800986F0 00095650 4B FF DB C5 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -/* 800986F4 00095654 D0 3F 01 34 */ stfs f1, 0x134(r31) -/* 800986F8 00095658 4B FF DB BD */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -/* 800986FC 0009565C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80098700 00095660 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80098704 00095664 D0 1F 01 8C */ stfs f0, 0x18c(r31) -/* 80098708 00095668 4B FF DB AD */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv -/* 8009870C 0009566C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80098710 00095670 7F E3 FB 78 */ mr r3, r31 -/* 80098714 00095674 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80098718 00095678 D0 1F 01 90 */ stfs f0, 0x190(r31) -/* 8009871C 0009567C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80098720 00095680 C0 24 00 6C */ lfs f1, 0x6c(r4) -/* 80098724 00095684 4B FF EA 55 */ bl ResetInterpolationTimer__11CAutoMapperFf -lbl_80098728: -/* 80098728 00095688 7F A3 EB 78 */ mr r3, r29 -/* 8009872C 0009568C 4B FF DA ED */ bl GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager -/* 80098730 00095690 D0 3F 00 DC */ stfs f1, 0xdc(r31) -/* 80098734 00095694 7F A3 EB 78 */ mr r3, r29 -/* 80098738 00095698 4B FF DA B5 */ bl GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager -/* 8009873C 0009569C D0 3F 00 E0 */ stfs f1, 0xe0(r31) -/* 80098740 000956A0 7F A3 EB 78 */ mr r3, r29 -/* 80098744 000956A4 4B FF DA 7D */ bl GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager -/* 80098748 000956A8 D0 3F 00 E4 */ stfs f1, 0xe4(r31) -/* 8009874C 000956AC 7F A3 EB 78 */ mr r3, r29 -/* 80098750 000956B0 4B FF DA 45 */ bl GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager -/* 80098754 000956B4 D0 3F 00 E8 */ stfs f1, 0xe8(r31) -/* 80098758 000956B8 48 00 00 F4 */ b lbl_8009884C -lbl_8009875C: -/* 8009875C 000956BC 80 9F 01 C0 */ lwz r4, 0x1c0(r31) -/* 80098760 000956C0 2C 04 00 00 */ cmpwi r4, 0 -/* 80098764 000956C4 40 82 00 54 */ bne lbl_800987B8 -/* 80098768 000956C8 C3 DF 01 1C */ lfs f30, 0x11c(r31) -/* 8009876C 000956CC 7F E3 FB 78 */ mr r3, r31 -/* 80098770 000956D0 7F A4 EB 78 */ mr r4, r29 -/* 80098774 000956D4 4B FF D6 31 */ bl GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager -/* 80098778 000956D8 EC 5E 08 28 */ fsubs f2, f30, f1 -/* 8009877C 000956DC C0 02 8B CC */ lfs f0, lbl_805AA8EC@sda21(r2) -/* 80098780 000956E0 FC 40 12 10 */ fabs f2, f2 -/* 80098784 000956E4 FC 40 10 18 */ frsp f2, f2 -/* 80098788 000956E8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8009878C 000956EC 40 80 00 0C */ bge lbl_80098798 -/* 80098790 000956F0 D0 3F 00 C0 */ stfs f1, 0xc0(r31) -/* 80098794 000956F4 48 00 00 B8 */ b lbl_8009884C -lbl_80098798: -/* 80098798 000956F8 FC 1E 08 40 */ fcmpo cr0, f30, f1 -/* 8009879C 000956FC 40 80 00 10 */ bge lbl_800987AC -/* 800987A0 00095700 EC 00 F0 2A */ fadds f0, f0, f30 -/* 800987A4 00095704 D0 1F 01 1C */ stfs f0, 0x11c(r31) -/* 800987A8 00095708 48 00 00 A4 */ b lbl_8009884C -lbl_800987AC: -/* 800987AC 0009570C EC 1E 00 28 */ fsubs f0, f30, f0 -/* 800987B0 00095710 D0 1F 01 1C */ stfs f0, 0x11c(r31) -/* 800987B4 00095714 48 00 00 98 */ b lbl_8009884C -lbl_800987B8: -/* 800987B8 00095718 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 800987BC 0009571C 38 60 00 00 */ li r3, 0 -/* 800987C0 00095720 2C 00 00 00 */ cmpwi r0, 0 -/* 800987C4 00095724 41 82 00 10 */ beq lbl_800987D4 -/* 800987C8 00095728 2C 04 00 00 */ cmpwi r4, 0 -/* 800987CC 0009572C 41 82 00 08 */ beq lbl_800987D4 -/* 800987D0 00095730 38 60 00 01 */ li r3, 1 -lbl_800987D4: -/* 800987D4 00095734 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800987D8 00095738 41 82 00 74 */ beq lbl_8009884C -/* 800987DC 0009573C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800987E0 00095740 28 03 00 00 */ cmplwi r3, 0 -/* 800987E4 00095744 41 82 00 68 */ beq lbl_8009884C -/* 800987E8 00095748 81 83 00 00 */ lwz r12, 0(r3) -/* 800987EC 0009574C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800987F0 00095750 7D 89 03 A6 */ mtctr r12 -/* 800987F4 00095754 4E 80 04 21 */ bctrl -/* 800987F8 00095758 7C 60 1B 78 */ mr r0, r3 -/* 800987FC 0009575C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80098800 00095760 7C 1C 03 78 */ mr r28, r0 -/* 80098804 00095764 81 83 00 00 */ lwz r12, 0(r3) -/* 80098808 00095768 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009880C 0009576C 7D 89 03 A6 */ mtctr r12 -/* 80098810 00095770 4E 80 04 21 */ bctrl -/* 80098814 00095774 7C 64 1B 78 */ mr r4, r3 -/* 80098818 00095778 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009881C 0009577C 48 13 B1 BD */ bl StateForWorld__10CGameStateFUi -/* 80098820 00095780 7C 64 1B 78 */ mr r4, r3 -/* 80098824 00095784 38 61 00 44 */ addi r3, r1, 0x44 -/* 80098828 00095788 48 13 C5 3D */ bl GetMapWorldInfo__11CWorldStateCFv -/* 8009882C 0009578C 80 81 00 44 */ lwz r4, 0x44(r1) -/* 80098830 00095790 38 61 00 44 */ addi r3, r1, 0x44 -/* 80098834 00095794 83 C4 00 00 */ lwz r30, 0(r4) -/* 80098838 00095798 4B F7 04 05 */ bl sub_80008c3c -/* 8009883C 0009579C 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 80098840 000957A0 7F 83 E3 78 */ mr r3, r28 -/* 80098844 000957A4 7F C4 F3 78 */ mr r4, r30 -/* 80098848 000957A8 48 00 70 15 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld -lbl_8009884C: -/* 8009884C 000957AC 7F E3 FB 78 */ mr r3, r31 -/* 80098850 000957B0 4B FF D4 A1 */ bl IsRenderStateInterpolating__11CAutoMapperCFv -/* 80098854 000957B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80098858 000957B8 41 82 00 78 */ beq lbl_800988D0 -/* 8009885C 000957BC C0 1F 01 C8 */ lfs f0, 0x1c8(r31) -/* 80098860 000957C0 EC 20 F8 2A */ fadds f1, f0, f31 -/* 80098864 000957C4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80098868 000957C8 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) -/* 8009886C 000957CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80098870 000957D0 40 80 00 0C */ bge lbl_8009887C -/* 80098874 000957D4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80098878 000957D8 48 00 00 08 */ b lbl_80098880 -lbl_8009887C: -/* 8009887C 000957DC 38 7F 01 C4 */ addi r3, r31, 0x1c4 -lbl_80098880: -/* 80098880 000957E0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80098884 000957E4 38 7F 01 60 */ addi r3, r31, 0x160 -/* 80098888 000957E8 38 9F 00 A8 */ addi r4, r31, 0xa8 -/* 8009888C 000957EC 38 BF 01 04 */ addi r5, r31, 0x104 -/* 80098890 000957F0 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) -/* 80098894 000957F4 C0 3F 01 C8 */ lfs f1, 0x1c8(r31) -/* 80098898 000957F8 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) -/* 8009889C 000957FC EC 21 00 24 */ fdivs f1, f1, f0 -/* 800988A0 00095800 48 00 53 9D */ bl InterpolateWithClamp__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderStateRQ211CAutoMapper22SAutoMapperRenderStateRCQ211CAutoMapper22SAutoMapperRenderStatef -/* 800988A4 00095804 C0 3F 01 C8 */ lfs f1, 0x1c8(r31) -/* 800988A8 00095808 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) -/* 800988AC 0009580C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800988B0 00095810 40 82 00 3C */ bne lbl_800988EC -/* 800988B4 00095814 80 1F 03 28 */ lwz r0, 0x328(r31) -/* 800988B8 00095818 2C 00 00 02 */ cmpwi r0, 2 -/* 800988BC 0009581C 40 82 00 30 */ bne lbl_800988EC -/* 800988C0 00095820 7F E3 FB 78 */ mr r3, r31 -/* 800988C4 00095824 7F A4 EB 78 */ mr r4, r29 -/* 800988C8 00095828 4B FF CD C9 */ bl SetupMiniMapWorld__11CAutoMapperFv -/* 800988CC 0009582C 48 00 00 20 */ b lbl_800988EC -lbl_800988D0: -/* 800988D0 00095830 7F E3 FB 78 */ mr r3, r31 -/* 800988D4 00095834 4B FF D4 35 */ bl IsInMapperStateTransition__11CAutoMapperCFv -/* 800988D8 00095838 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800988DC 0009583C 41 82 00 10 */ beq lbl_800988EC -/* 800988E0 00095840 7F E3 FB 78 */ mr r3, r31 -/* 800988E4 00095844 7F A4 EB 78 */ mr r4, r29 -/* 800988E8 00095848 4B FF E8 A1 */ bl CompleteMapperStateTransition__11CAutoMapperFv -lbl_800988EC: -/* 800988EC 0009584C 83 9F 00 88 */ lwz r28, 0x88(r31) -/* 800988F0 00095850 7F E3 FB 78 */ mr r3, r31 -/* 800988F4 00095854 38 80 00 02 */ li r4, 2 -/* 800988F8 00095858 4B FF D4 2D */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 800988FC 0009585C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80098900 00095860 41 82 00 7C */ beq lbl_8009897C -/* 80098904 00095864 80 1F 00 9C */ lwz r0, 0x9c(r31) -/* 80098908 00095868 80 9F 00 20 */ lwz r4, 0x20(r31) -/* 8009890C 0009586C 54 03 18 38 */ slwi r3, r0, 3 -/* 80098910 00095870 38 03 00 04 */ addi r0, r3, 4 -/* 80098914 00095874 7F A4 00 2E */ lwzx r29, r4, r0 -/* 80098918 00095878 28 1D 00 00 */ cmplwi r29, 0 -/* 8009891C 0009587C 41 82 00 3C */ beq lbl_80098958 -/* 80098920 00095880 7F A3 EB 78 */ mr r3, r29 -/* 80098924 00095884 81 9D 00 00 */ lwz r12, 0(r29) -/* 80098928 00095888 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8009892C 0009588C 7D 89 03 A6 */ mtctr r12 -/* 80098930 00095890 4E 80 04 21 */ bctrl -/* 80098934 00095894 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80098938 00095898 41 82 00 20 */ beq lbl_80098958 -/* 8009893C 0009589C 7F A3 EB 78 */ mr r3, r29 -/* 80098940 000958A0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80098944 000958A4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80098948 000958A8 7D 89 03 A6 */ mtctr r12 -/* 8009894C 000958AC 4E 80 04 21 */ bctrl -/* 80098950 000958B0 7C 7C 1B 78 */ mr r28, r3 -/* 80098954 000958B4 48 00 01 0C */ b lbl_80098A60 -lbl_80098958: -/* 80098958 000958B8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8009895C 000958BC 28 03 00 00 */ cmplwi r3, 0 -/* 80098960 000958C0 41 82 01 00 */ beq lbl_80098A60 -/* 80098964 000958C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80098968 000958C8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8009896C 000958CC 7D 89 03 A6 */ mtctr r12 -/* 80098970 000958D0 4E 80 04 21 */ bctrl -/* 80098974 000958D4 7C 7C 1B 78 */ mr r28, r3 -/* 80098978 000958D8 48 00 00 E8 */ b lbl_80098A60 -lbl_8009897C: -/* 8009897C 000958DC 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80098980 000958E0 28 00 00 00 */ cmplwi r0, 0 -/* 80098984 000958E4 41 82 00 DC */ beq lbl_80098A60 -/* 80098988 000958E8 80 1F 00 A0 */ lwz r0, 0xa0(r31) -/* 8009898C 000958EC 38 81 00 3C */ addi r4, r1, 0x3c -/* 80098990 000958F0 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80098994 000958F4 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80098998 000958F8 90 01 00 38 */ stw r0, 0x38(r1) -/* 8009899C 000958FC 81 83 00 00 */ lwz r12, 0(r3) -/* 800989A0 00095900 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800989A4 00095904 7D 89 03 A6 */ mtctr r12 -/* 800989A8 00095908 4E 80 04 21 */ bctrl -/* 800989AC 0009590C 7C 60 1B 78 */ mr r0, r3 -/* 800989B0 00095910 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800989B4 00095914 7C 1C 03 78 */ mr r28, r0 -/* 800989B8 00095918 81 83 00 00 */ lwz r12, 0(r3) -/* 800989BC 0009591C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800989C0 00095920 7D 89 03 A6 */ mtctr r12 -/* 800989C4 00095924 4E 80 04 21 */ bctrl -/* 800989C8 00095928 7C 64 1B 78 */ mr r4, r3 -/* 800989CC 0009592C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800989D0 00095930 48 13 B0 09 */ bl StateForWorld__10CGameStateFUi -/* 800989D4 00095934 7C 64 1B 78 */ mr r4, r3 -/* 800989D8 00095938 38 61 00 34 */ addi r3, r1, 0x34 -/* 800989DC 0009593C 48 13 C3 89 */ bl GetMapWorldInfo__11CWorldStateCFv -/* 800989E0 00095940 80 81 00 34 */ lwz r4, 0x34(r1) -/* 800989E4 00095944 38 61 00 34 */ addi r3, r1, 0x34 -/* 800989E8 00095948 83 A4 00 00 */ lwz r29, 0(r4) -/* 800989EC 0009594C 4B F7 02 51 */ bl sub_80008c3c -/* 800989F0 00095950 80 1F 00 A0 */ lwz r0, 0xa0(r31) -/* 800989F4 00095954 7F A3 EB 78 */ mr r3, r29 -/* 800989F8 00095958 38 81 00 30 */ addi r4, r1, 0x30 -/* 800989FC 0009595C 3B C0 00 01 */ li r30, 1 -/* 80098A00 00095960 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80098A04 00095964 90 01 00 30 */ stw r0, 0x30(r1) -/* 80098A08 00095968 48 0C F9 1D */ bl IsMapped__13CMapWorldInfoCF7TAreaId -/* 80098A0C 0009596C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80098A10 00095970 40 82 00 28 */ bne lbl_80098A38 -/* 80098A14 00095974 80 1F 00 A0 */ lwz r0, 0xa0(r31) -/* 80098A18 00095978 7F A3 EB 78 */ mr r3, r29 -/* 80098A1C 0009597C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80098A20 00095980 90 01 00 24 */ stw r0, 0x24(r1) -/* 80098A24 00095984 90 01 00 28 */ stw r0, 0x28(r1) -/* 80098A28 00095988 48 0C F3 59 */ bl IsAreaVisited__13CMapWorldInfoCF7TAreaId -/* 80098A2C 0009598C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80098A30 00095990 40 82 00 08 */ bne lbl_80098A38 -/* 80098A34 00095994 3B C0 00 00 */ li r30, 0 -lbl_80098A38: -/* 80098A38 00095998 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80098A3C 0009599C 41 82 00 1C */ beq lbl_80098A58 -/* 80098A40 000959A0 7F 83 E3 78 */ mr r3, r28 -/* 80098A44 000959A4 81 9C 00 00 */ lwz r12, 0(r28) -/* 80098A48 000959A8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80098A4C 000959AC 7D 89 03 A6 */ mtctr r12 -/* 80098A50 000959B0 4E 80 04 21 */ bctrl -/* 80098A54 000959B4 48 00 00 08 */ b lbl_80098A5C -lbl_80098A58: -/* 80098A58 000959B8 38 60 FF FF */ li r3, -1 -lbl_80098A5C: -/* 80098A5C 000959BC 7C 7C 1B 78 */ mr r28, r3 -lbl_80098A60: -/* 80098A60 000959C0 80 1F 00 88 */ lwz r0, 0x88(r31) -/* 80098A64 000959C4 7C 1C 00 40 */ cmplw r28, r0 -/* 80098A68 000959C8 41 82 01 84 */ beq lbl_80098BEC -/* 80098A6C 000959CC 93 9F 00 88 */ stw r28, 0x88(r31) -/* 80098A70 000959D0 80 9F 00 88 */ lwz r4, 0x88(r31) -/* 80098A74 000959D4 3C 04 00 01 */ addis r0, r4, 1 -/* 80098A78 000959D8 28 00 FF FF */ cmplwi r0, 0xffff -/* 80098A7C 000959DC 41 82 00 B4 */ beq lbl_80098B30 -/* 80098A80 000959E0 3C 60 53 54 */ lis r3, 0x53545247@ha -/* 80098A84 000959E4 90 81 00 6C */ stw r4, 0x6c(r1) -/* 80098A88 000959E8 38 03 52 47 */ addi r0, r3, 0x53545247@l -/* 80098A8C 000959EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80098A90 000959F0 90 01 00 68 */ stw r0, 0x68(r1) -/* 80098A94 000959F4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80098A98 000959F8 38 A1 00 68 */ addi r5, r1, 0x68 -/* 80098A9C 000959FC 81 84 00 00 */ lwz r12, 0(r4) -/* 80098AA0 00095A00 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80098AA4 00095A04 7D 89 03 A6 */ mtctr r12 -/* 80098AA8 00095A08 4E 80 04 21 */ bctrl -/* 80098AAC 00095A0C 38 61 00 BC */ addi r3, r1, 0xbc -/* 80098AB0 00095A10 38 81 00 60 */ addi r4, r1, 0x60 -/* 80098AB4 00095A14 48 2A 83 F5 */ bl __ct__6CTokenFRC6CToken -/* 80098AB8 00095A18 38 00 00 00 */ li r0, 0 -/* 80098ABC 00095A1C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80098AC0 00095A20 88 1F 00 98 */ lbz r0, 0x98(r31) -/* 80098AC4 00095A24 28 00 00 00 */ cmplwi r0, 0 -/* 80098AC8 00095A28 40 82 00 2C */ bne lbl_80098AF4 -/* 80098ACC 00095A2C 37 BF 00 8C */ addic. r29, r31, 0x8c -/* 80098AD0 00095A30 41 82 00 18 */ beq lbl_80098AE8 -/* 80098AD4 00095A34 7F A3 EB 78 */ mr r3, r29 -/* 80098AD8 00095A38 38 81 00 BC */ addi r4, r1, 0xbc -/* 80098ADC 00095A3C 48 2A 83 CD */ bl __ct__6CTokenFRC6CToken -/* 80098AE0 00095A40 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80098AE4 00095A44 90 1D 00 08 */ stw r0, 8(r29) -lbl_80098AE8: -/* 80098AE8 00095A48 38 00 00 01 */ li r0, 1 -/* 80098AEC 00095A4C 98 1F 00 98 */ stb r0, 0x98(r31) -/* 80098AF0 00095A50 48 00 00 1C */ b lbl_80098B0C -lbl_80098AF4: -/* 80098AF4 00095A54 3B BF 00 8C */ addi r29, r31, 0x8c -/* 80098AF8 00095A58 38 81 00 BC */ addi r4, r1, 0xbc -/* 80098AFC 00095A5C 7F A3 EB 78 */ mr r3, r29 -/* 80098B00 00095A60 48 2A 81 C5 */ bl __as__6CTokenFRC6CToken -/* 80098B04 00095A64 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80098B08 00095A68 90 1D 00 08 */ stw r0, 8(r29) -lbl_80098B0C: -/* 80098B0C 00095A6C 38 61 00 BC */ addi r3, r1, 0xbc -/* 80098B10 00095A70 38 80 00 00 */ li r4, 0 -/* 80098B14 00095A74 48 2A 83 2D */ bl __dt__6CTokenFv -/* 80098B18 00095A78 38 61 00 60 */ addi r3, r1, 0x60 -/* 80098B1C 00095A7C 38 80 FF FF */ li r4, -1 -/* 80098B20 00095A80 48 2A 83 21 */ bl __dt__6CTokenFv -/* 80098B24 00095A84 38 7F 00 8C */ addi r3, r31, 0x8c -/* 80098B28 00095A88 48 2A 82 5D */ bl Lock__6CTokenFv -/* 80098B2C 00095A8C 48 00 00 C0 */ b lbl_80098BEC -lbl_80098B30: -/* 80098B30 00095A90 3B BF 00 8C */ addi r29, r31, 0x8c -/* 80098B34 00095A94 38 81 00 AC */ addi r4, r1, 0xac -/* 80098B38 00095A98 38 00 00 00 */ li r0, 0 -/* 80098B3C 00095A9C 7C 1D 20 40 */ cmplw r29, r4 -/* 80098B40 00095AA0 98 01 00 B8 */ stb r0, 0xb8(r1) -/* 80098B44 00095AA4 41 82 00 7C */ beq lbl_80098BC0 -/* 80098B48 00095AA8 28 00 00 00 */ cmplwi r0, 0 -/* 80098B4C 00095AAC 41 82 00 48 */ beq lbl_80098B94 -/* 80098B50 00095AB0 88 1F 00 98 */ lbz r0, 0x98(r31) -/* 80098B54 00095AB4 28 00 00 00 */ cmplwi r0, 0 -/* 80098B58 00095AB8 40 82 00 28 */ bne lbl_80098B80 -/* 80098B5C 00095ABC 37 BF 00 8C */ addic. r29, r31, 0x8c -/* 80098B60 00095AC0 41 82 00 14 */ beq lbl_80098B74 -/* 80098B64 00095AC4 7F A3 EB 78 */ mr r3, r29 -/* 80098B68 00095AC8 48 2A 83 41 */ bl __ct__6CTokenFRC6CToken -/* 80098B6C 00095ACC 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80098B70 00095AD0 90 1D 00 08 */ stw r0, 8(r29) -lbl_80098B74: -/* 80098B74 00095AD4 38 00 00 01 */ li r0, 1 -/* 80098B78 00095AD8 98 1F 00 98 */ stb r0, 0x98(r31) -/* 80098B7C 00095ADC 48 00 00 44 */ b lbl_80098BC0 -lbl_80098B80: -/* 80098B80 00095AE0 7F A3 EB 78 */ mr r3, r29 -/* 80098B84 00095AE4 48 2A 81 41 */ bl __as__6CTokenFRC6CToken -/* 80098B88 00095AE8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80098B8C 00095AEC 90 1D 00 08 */ stw r0, 8(r29) -/* 80098B90 00095AF0 48 00 00 30 */ b lbl_80098BC0 -lbl_80098B94: -/* 80098B94 00095AF4 88 1F 00 98 */ lbz r0, 0x98(r31) -/* 80098B98 00095AF8 28 00 00 00 */ cmplwi r0, 0 -/* 80098B9C 00095AFC 41 82 00 1C */ beq lbl_80098BB8 -/* 80098BA0 00095B00 34 7F 00 8C */ addic. r3, r31, 0x8c -/* 80098BA4 00095B04 41 82 00 14 */ beq lbl_80098BB8 -/* 80098BA8 00095B08 28 03 00 00 */ cmplwi r3, 0 -/* 80098BAC 00095B0C 41 82 00 0C */ beq lbl_80098BB8 -/* 80098BB0 00095B10 38 80 00 00 */ li r4, 0 -/* 80098BB4 00095B14 48 2A 82 8D */ bl __dt__6CTokenFv -lbl_80098BB8: -/* 80098BB8 00095B18 38 00 00 00 */ li r0, 0 -/* 80098BBC 00095B1C 98 1F 00 98 */ stb r0, 0x98(r31) -lbl_80098BC0: -/* 80098BC0 00095B20 88 01 00 B8 */ lbz r0, 0xb8(r1) -/* 80098BC4 00095B24 28 00 00 00 */ cmplwi r0, 0 -/* 80098BC8 00095B28 41 82 00 1C */ beq lbl_80098BE4 -/* 80098BCC 00095B2C 34 61 00 AC */ addic. r3, r1, 0xac -/* 80098BD0 00095B30 41 82 00 14 */ beq lbl_80098BE4 -/* 80098BD4 00095B34 28 03 00 00 */ cmplwi r3, 0 -/* 80098BD8 00095B38 41 82 00 0C */ beq lbl_80098BE4 -/* 80098BDC 00095B3C 38 80 00 00 */ li r4, 0 -/* 80098BE0 00095B40 48 2A 82 61 */ bl __dt__6CTokenFv -lbl_80098BE4: -/* 80098BE4 00095B44 38 00 00 00 */ li r0, 0 -/* 80098BE8 00095B48 98 01 00 B8 */ stb r0, 0xb8(r1) -lbl_80098BEC: -/* 80098BEC 00095B4C 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80098BF0 00095B50 28 00 00 00 */ cmplwi r0, 0 -/* 80098BF4 00095B54 41 82 00 D0 */ beq lbl_80098CC4 -/* 80098BF8 00095B58 88 1F 00 98 */ lbz r0, 0x98(r31) -/* 80098BFC 00095B5C 28 00 00 00 */ cmplwi r0, 0 -/* 80098C00 00095B60 41 82 00 9C */ beq lbl_80098C9C -/* 80098C04 00095B64 3B BF 00 8C */ addi r29, r31, 0x8c -/* 80098C08 00095B68 80 1F 00 94 */ lwz r0, 0x94(r31) -/* 80098C0C 00095B6C 28 00 00 00 */ cmplwi r0, 0 -/* 80098C10 00095B70 41 82 00 0C */ beq lbl_80098C1C -/* 80098C14 00095B74 38 60 00 01 */ li r3, 1 -/* 80098C18 00095B78 48 00 00 3C */ b lbl_80098C54 -lbl_80098C1C: -/* 80098C1C 00095B7C 88 1D 00 04 */ lbz r0, 4(r29) -/* 80098C20 00095B80 28 00 00 00 */ cmplwi r0, 0 -/* 80098C24 00095B84 41 82 00 2C */ beq lbl_80098C50 -/* 80098C28 00095B88 80 7D 00 00 */ lwz r3, 0(r29) -/* 80098C2C 00095B8C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80098C30 00095B90 28 00 00 00 */ cmplwi r0, 0 -/* 80098C34 00095B94 41 82 00 1C */ beq lbl_80098C50 -/* 80098C38 00095B98 7F A3 EB 78 */ mr r3, r29 -/* 80098C3C 00095B9C 48 2A 81 D1 */ bl GetObj__6CTokenFv -/* 80098C40 00095BA0 80 03 00 04 */ lwz r0, 4(r3) -/* 80098C44 00095BA4 38 60 00 01 */ li r3, 1 -/* 80098C48 00095BA8 90 1D 00 08 */ stw r0, 8(r29) -/* 80098C4C 00095BAC 48 00 00 08 */ b lbl_80098C54 -lbl_80098C50: -/* 80098C50 00095BB0 38 60 00 00 */ li r3, 0 -lbl_80098C54: -/* 80098C54 00095BB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80098C58 00095BB8 41 82 00 6C */ beq lbl_80098CC4 -/* 80098C5C 00095BBC 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 80098C60 00095BC0 38 80 00 00 */ li r4, 0 -/* 80098C64 00095BC4 48 2B DA 99 */ bl GetString__12CStringTableCFi -/* 80098C68 00095BC8 7C 64 1B 78 */ mr r4, r3 -/* 80098C6C 00095BCC 38 61 00 9C */ addi r3, r1, 0x9c -/* 80098C70 00095BD0 38 C1 00 08 */ addi r6, r1, 8 -/* 80098C74 00095BD4 38 A0 FF FF */ li r5, -1 -/* 80098C78 00095BD8 48 2A 4B 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 80098C7C 00095BDC 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 80098C80 00095BE0 38 81 00 9C */ addi r4, r1, 0x9c -/* 80098C84 00095BE4 38 A0 00 00 */ li r5, 0 -/* 80098C88 00095BE8 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80098C8C 00095BEC 48 23 0B F9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80098C90 00095BF0 38 61 00 9C */ addi r3, r1, 0x9c -/* 80098C94 00095BF4 48 2A 44 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80098C98 00095BF8 48 00 00 2C */ b lbl_80098CC4 -lbl_80098C9C: -/* 80098C9C 00095BFC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80098CA0 00095C00 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 -/* 80098CA4 00095C04 4B F7 CD 4D */ bl wstring_l__4rstlFPCw -/* 80098CA8 00095C08 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 80098CAC 00095C0C 38 81 00 8C */ addi r4, r1, 0x8c -/* 80098CB0 00095C10 38 A0 00 00 */ li r5, 0 -/* 80098CB4 00095C14 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80098CB8 00095C18 48 23 0B CD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80098CBC 00095C1C 38 61 00 8C */ addi r3, r1, 0x8c -/* 80098CC0 00095C20 48 2A 44 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80098CC4: -/* 80098CC4 00095C24 7F E3 FB 78 */ mr r3, r31 -/* 80098CC8 00095C28 38 80 00 01 */ li r4, 1 -/* 80098CCC 00095C2C 4B FF D0 59 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 80098CD0 00095C30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80098CD4 00095C34 41 82 01 D0 */ beq lbl_80098EA4 -/* 80098CD8 00095C38 80 1F 00 A0 */ lwz r0, 0xa0(r31) -/* 80098CDC 00095C3C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80098CE0 00095C40 90 01 00 20 */ stw r0, 0x20(r1) -/* 80098CE4 00095C44 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80098CE8 00095C48 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80098CEC 00095C4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80098CF0 00095C50 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80098CF4 00095C54 7D 89 03 A6 */ mtctr r12 -/* 80098CF8 00095C58 4E 80 04 21 */ bctrl -/* 80098CFC 00095C5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80098D00 00095C60 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80098D04 00095C64 7D 89 03 A6 */ mtctr r12 -/* 80098D08 00095C68 4E 80 04 21 */ bctrl -/* 80098D0C 00095C6C 7C 64 1B 78 */ mr r4, r3 -/* 80098D10 00095C70 7F E3 FB 78 */ mr r3, r31 -/* 80098D14 00095C74 48 00 02 05 */ bl GetAreaHintDescriptionString__11CAutoMapperFUi -/* 80098D18 00095C78 80 1F 00 74 */ lwz r0, 0x74(r31) -/* 80098D1C 00095C7C 7C 03 00 40 */ cmplw r3, r0 -/* 80098D20 00095C80 41 82 01 84 */ beq lbl_80098EA4 -/* 80098D24 00095C84 90 7F 00 74 */ stw r3, 0x74(r31) -/* 80098D28 00095C88 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 80098D2C 00095C8C 3C 04 00 01 */ addis r0, r4, 1 -/* 80098D30 00095C90 28 00 FF FF */ cmplwi r0, 0xffff -/* 80098D34 00095C94 41 82 00 B4 */ beq lbl_80098DE8 -/* 80098D38 00095C98 3C 60 53 54 */ lis r3, 0x53545247@ha -/* 80098D3C 00095C9C 90 81 00 5C */ stw r4, 0x5c(r1) -/* 80098D40 00095CA0 38 03 52 47 */ addi r0, r3, 0x53545247@l -/* 80098D44 00095CA4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80098D48 00095CA8 90 01 00 58 */ stw r0, 0x58(r1) -/* 80098D4C 00095CAC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80098D50 00095CB0 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80098D54 00095CB4 81 84 00 00 */ lwz r12, 0(r4) -/* 80098D58 00095CB8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80098D5C 00095CBC 7D 89 03 A6 */ mtctr r12 -/* 80098D60 00095CC0 4E 80 04 21 */ bctrl -/* 80098D64 00095CC4 38 61 00 80 */ addi r3, r1, 0x80 -/* 80098D68 00095CC8 38 81 00 50 */ addi r4, r1, 0x50 -/* 80098D6C 00095CCC 48 2A 81 3D */ bl __ct__6CTokenFRC6CToken -/* 80098D70 00095CD0 38 00 00 00 */ li r0, 0 -/* 80098D74 00095CD4 90 01 00 88 */ stw r0, 0x88(r1) -/* 80098D78 00095CD8 88 1F 00 84 */ lbz r0, 0x84(r31) -/* 80098D7C 00095CDC 28 00 00 00 */ cmplwi r0, 0 -/* 80098D80 00095CE0 40 82 00 2C */ bne lbl_80098DAC -/* 80098D84 00095CE4 37 BF 00 78 */ addic. r29, r31, 0x78 -/* 80098D88 00095CE8 41 82 00 18 */ beq lbl_80098DA0 -/* 80098D8C 00095CEC 7F A3 EB 78 */ mr r3, r29 -/* 80098D90 00095CF0 38 81 00 80 */ addi r4, r1, 0x80 -/* 80098D94 00095CF4 48 2A 81 15 */ bl __ct__6CTokenFRC6CToken -/* 80098D98 00095CF8 80 01 00 88 */ lwz r0, 0x88(r1) -/* 80098D9C 00095CFC 90 1D 00 08 */ stw r0, 8(r29) -lbl_80098DA0: -/* 80098DA0 00095D00 38 00 00 01 */ li r0, 1 -/* 80098DA4 00095D04 98 1F 00 84 */ stb r0, 0x84(r31) -/* 80098DA8 00095D08 48 00 00 1C */ b lbl_80098DC4 -lbl_80098DAC: -/* 80098DAC 00095D0C 3B BF 00 78 */ addi r29, r31, 0x78 -/* 80098DB0 00095D10 38 81 00 80 */ addi r4, r1, 0x80 -/* 80098DB4 00095D14 7F A3 EB 78 */ mr r3, r29 -/* 80098DB8 00095D18 48 2A 7F 0D */ bl __as__6CTokenFRC6CToken -/* 80098DBC 00095D1C 80 01 00 88 */ lwz r0, 0x88(r1) -/* 80098DC0 00095D20 90 1D 00 08 */ stw r0, 8(r29) -lbl_80098DC4: -/* 80098DC4 00095D24 38 61 00 80 */ addi r3, r1, 0x80 -/* 80098DC8 00095D28 38 80 00 00 */ li r4, 0 -/* 80098DCC 00095D2C 48 2A 80 75 */ bl __dt__6CTokenFv -/* 80098DD0 00095D30 38 61 00 50 */ addi r3, r1, 0x50 -/* 80098DD4 00095D34 38 80 FF FF */ li r4, -1 -/* 80098DD8 00095D38 48 2A 80 69 */ bl __dt__6CTokenFv -/* 80098DDC 00095D3C 38 7F 00 78 */ addi r3, r31, 0x78 -/* 80098DE0 00095D40 48 2A 7F A5 */ bl Lock__6CTokenFv -/* 80098DE4 00095D44 48 00 00 C0 */ b lbl_80098EA4 -lbl_80098DE8: -/* 80098DE8 00095D48 3B BF 00 78 */ addi r29, r31, 0x78 -/* 80098DEC 00095D4C 38 81 00 70 */ addi r4, r1, 0x70 -/* 80098DF0 00095D50 38 00 00 00 */ li r0, 0 -/* 80098DF4 00095D54 7C 1D 20 40 */ cmplw r29, r4 -/* 80098DF8 00095D58 98 01 00 7C */ stb r0, 0x7c(r1) -/* 80098DFC 00095D5C 41 82 00 7C */ beq lbl_80098E78 -/* 80098E00 00095D60 28 00 00 00 */ cmplwi r0, 0 -/* 80098E04 00095D64 41 82 00 48 */ beq lbl_80098E4C -/* 80098E08 00095D68 88 1F 00 84 */ lbz r0, 0x84(r31) -/* 80098E0C 00095D6C 28 00 00 00 */ cmplwi r0, 0 -/* 80098E10 00095D70 40 82 00 28 */ bne lbl_80098E38 -/* 80098E14 00095D74 37 BF 00 78 */ addic. r29, r31, 0x78 -/* 80098E18 00095D78 41 82 00 14 */ beq lbl_80098E2C -/* 80098E1C 00095D7C 7F A3 EB 78 */ mr r3, r29 -/* 80098E20 00095D80 48 2A 80 89 */ bl __ct__6CTokenFRC6CToken -/* 80098E24 00095D84 80 01 00 78 */ lwz r0, 0x78(r1) -/* 80098E28 00095D88 90 1D 00 08 */ stw r0, 8(r29) -lbl_80098E2C: -/* 80098E2C 00095D8C 38 00 00 01 */ li r0, 1 -/* 80098E30 00095D90 98 1F 00 84 */ stb r0, 0x84(r31) -/* 80098E34 00095D94 48 00 00 44 */ b lbl_80098E78 -lbl_80098E38: -/* 80098E38 00095D98 7F A3 EB 78 */ mr r3, r29 -/* 80098E3C 00095D9C 48 2A 7E 89 */ bl __as__6CTokenFRC6CToken -/* 80098E40 00095DA0 80 01 00 78 */ lwz r0, 0x78(r1) -/* 80098E44 00095DA4 90 1D 00 08 */ stw r0, 8(r29) -/* 80098E48 00095DA8 48 00 00 30 */ b lbl_80098E78 -lbl_80098E4C: -/* 80098E4C 00095DAC 88 1F 00 84 */ lbz r0, 0x84(r31) -/* 80098E50 00095DB0 28 00 00 00 */ cmplwi r0, 0 -/* 80098E54 00095DB4 41 82 00 1C */ beq lbl_80098E70 -/* 80098E58 00095DB8 34 7F 00 78 */ addic. r3, r31, 0x78 -/* 80098E5C 00095DBC 41 82 00 14 */ beq lbl_80098E70 -/* 80098E60 00095DC0 28 03 00 00 */ cmplwi r3, 0 -/* 80098E64 00095DC4 41 82 00 0C */ beq lbl_80098E70 -/* 80098E68 00095DC8 38 80 00 00 */ li r4, 0 -/* 80098E6C 00095DCC 48 2A 7F D5 */ bl __dt__6CTokenFv -lbl_80098E70: -/* 80098E70 00095DD0 38 00 00 00 */ li r0, 0 -/* 80098E74 00095DD4 98 1F 00 84 */ stb r0, 0x84(r31) -lbl_80098E78: -/* 80098E78 00095DD8 88 01 00 7C */ lbz r0, 0x7c(r1) -/* 80098E7C 00095DDC 28 00 00 00 */ cmplwi r0, 0 -/* 80098E80 00095DE0 41 82 00 1C */ beq lbl_80098E9C -/* 80098E84 00095DE4 34 61 00 70 */ addic. r3, r1, 0x70 -/* 80098E88 00095DE8 41 82 00 14 */ beq lbl_80098E9C -/* 80098E8C 00095DEC 28 03 00 00 */ cmplwi r3, 0 -/* 80098E90 00095DF0 41 82 00 0C */ beq lbl_80098E9C -/* 80098E94 00095DF4 38 80 00 00 */ li r4, 0 -/* 80098E98 00095DF8 48 2A 7F A9 */ bl __dt__6CTokenFv -lbl_80098E9C: -/* 80098E9C 00095DFC 38 00 00 00 */ li r0, 0 -/* 80098EA0 00095E00 98 01 00 7C */ stb r0, 0x7c(r1) -lbl_80098EA4: -/* 80098EA4 00095E04 3B 80 00 00 */ li r28, 0 -/* 80098EA8 00095E08 3B A0 00 00 */ li r29, 0 -/* 80098EAC 00095E0C 48 00 00 30 */ b lbl_80098EDC -lbl_80098EB0: -/* 80098EB0 00095E10 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80098EB4 00095E14 7C 60 EA 14 */ add r3, r0, r29 -/* 80098EB8 00095E18 80 63 00 04 */ lwz r3, 4(r3) -/* 80098EBC 00095E1C 28 03 00 00 */ cmplwi r3, 0 -/* 80098EC0 00095E20 41 82 00 14 */ beq lbl_80098ED4 -/* 80098EC4 00095E24 81 83 00 00 */ lwz r12, 0(r3) -/* 80098EC8 00095E28 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80098ECC 00095E2C 7D 89 03 A6 */ mtctr r12 -/* 80098ED0 00095E30 4E 80 04 21 */ bctrl -lbl_80098ED4: -/* 80098ED4 00095E34 3B BD 00 08 */ addi r29, r29, 8 -/* 80098ED8 00095E38 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80098EDC: -/* 80098EDC 00095E3C 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80098EE0 00095E40 7C 1C 00 00 */ cmpw r28, r0 -/* 80098EE4 00095E44 41 80 FF CC */ blt lbl_80098EB0 -/* 80098EE8 00095E48 E3 E1 03 38 */ psq_l f31, 824(r1), 0, qr0 -/* 80098EEC 00095E4C CB E1 03 30 */ lfd f31, 0x330(r1) -/* 80098EF0 00095E50 E3 C1 03 28 */ psq_l f30, 808(r1), 0, qr0 -/* 80098EF4 00095E54 CB C1 03 20 */ lfd f30, 0x320(r1) -/* 80098EF8 00095E58 83 E1 03 1C */ lwz r31, 0x31c(r1) -/* 80098EFC 00095E5C 83 C1 03 18 */ lwz r30, 0x318(r1) -/* 80098F00 00095E60 83 A1 03 14 */ lwz r29, 0x314(r1) -/* 80098F04 00095E64 80 01 03 44 */ lwz r0, 0x344(r1) -/* 80098F08 00095E68 83 81 03 10 */ lwz r28, 0x310(r1) -/* 80098F0C 00095E6C 7C 08 03 A6 */ mtlr r0 -/* 80098F10 00095E70 38 21 03 40 */ addi r1, r1, 0x340 -/* 80098F14 00095E74 4E 80 00 20 */ blr - -.global GetAreaHintDescriptionString__11CAutoMapperFUi -GetAreaHintDescriptionString__11CAutoMapperFUi: -/* 80098F18 00095E78 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80098F1C 00095E7C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80098F20 00095E80 3B E0 00 00 */ li r31, 0 -/* 80098F24 00095E84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80098F28 00095E88 7F FE FB 78 */ mr r30, r31 -/* 80098F2C 00095E8C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80098F30 00095E90 93 81 00 10 */ stw r28, 0x10(r1) -/* 80098F34 00095E94 3B 80 00 00 */ li r28, 0 -/* 80098F38 00095E98 80 ED A0 80 */ lwz r7, gpGameState@sda21(r13) -/* 80098F3C 00095E9C 80 CD A0 84 */ lwz r6, gpMemoryCard@sda21(r13) -/* 80098F40 00095EA0 83 A7 01 FC */ lwz r29, 0x1fc(r7) -/* 80098F44 00095EA4 48 00 00 9C */ b lbl_80098FE0 -lbl_80098F48: -/* 80098F48 00095EA8 80 A7 02 04 */ lwz r5, 0x204(r7) -/* 80098F4C 00095EAC 7C 05 F8 2E */ lwzx r0, r5, r31 -/* 80098F50 00095EB0 2C 00 00 02 */ cmpwi r0, 2 -/* 80098F54 00095EB4 40 82 00 80 */ bne lbl_80098FD4 -/* 80098F58 00095EB8 80 A6 00 08 */ lwz r5, 8(r6) -/* 80098F5C 00095EBC 39 80 00 00 */ li r12, 0 -/* 80098F60 00095EC0 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 80098F64 00095EC4 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80098F68 00095EC8 7D 00 F2 14 */ add r8, r0, r30 -/* 80098F6C 00095ECC 80 08 00 24 */ lwz r0, 0x24(r8) -/* 80098F70 00095ED0 7C 09 03 A6 */ mtctr r0 -/* 80098F74 00095ED4 2C 00 00 00 */ cmpwi r0, 0 -/* 80098F78 00095ED8 40 81 00 5C */ ble lbl_80098FD4 -lbl_80098F7C: -/* 80098F7C 00095EDC 80 08 00 2C */ lwz r0, 0x2c(r8) -/* 80098F80 00095EE0 7D 20 62 14 */ add r9, r0, r12 -/* 80098F84 00095EE4 80 09 00 04 */ lwz r0, 4(r9) -/* 80098F88 00095EE8 7C 00 20 40 */ cmplw r0, r4 -/* 80098F8C 00095EEC 40 82 00 40 */ bne lbl_80098FCC -/* 80098F90 00095EF0 81 43 01 FC */ lwz r10, 0x1fc(r3) -/* 80098F94 00095EF4 81 63 02 00 */ lwz r11, 0x200(r3) -/* 80098F98 00095EF8 48 00 00 2C */ b lbl_80098FC4 -lbl_80098F9C: -/* 80098F9C 00095EFC 80 AA 00 14 */ lwz r5, 0x14(r10) -/* 80098FA0 00095F00 80 09 00 08 */ lwz r0, 8(r9) -/* 80098FA4 00095F04 7C 05 00 00 */ cmpw r5, r0 -/* 80098FA8 00095F08 40 82 00 18 */ bne lbl_80098FC0 -/* 80098FAC 00095F0C C0 2A 00 0C */ lfs f1, 0xc(r10) -/* 80098FB0 00095F10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80098FB4 00095F14 40 81 00 0C */ ble lbl_80098FC0 -/* 80098FB8 00095F18 80 69 00 0C */ lwz r3, 0xc(r9) -/* 80098FBC 00095F1C 48 00 00 30 */ b lbl_80098FEC -lbl_80098FC0: -/* 80098FC0 00095F20 81 4A 00 04 */ lwz r10, 4(r10) -lbl_80098FC4: -/* 80098FC4 00095F24 7C 0A 58 40 */ cmplw r10, r11 -/* 80098FC8 00095F28 40 82 FF D4 */ bne lbl_80098F9C -lbl_80098FCC: -/* 80098FCC 00095F2C 39 8C 00 10 */ addi r12, r12, 0x10 -/* 80098FD0 00095F30 42 00 FF AC */ bdnz lbl_80098F7C -lbl_80098FD4: -/* 80098FD4 00095F34 3B FF 00 0C */ addi r31, r31, 0xc -/* 80098FD8 00095F38 3B DE 00 30 */ addi r30, r30, 0x30 -/* 80098FDC 00095F3C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80098FE0: -/* 80098FE0 00095F40 7C 1C E8 00 */ cmpw r28, r29 -/* 80098FE4 00095F44 41 80 FF 64 */ blt lbl_80098F48 -/* 80098FE8 00095F48 38 60 FF FF */ li r3, -1 -lbl_80098FEC: -/* 80098FEC 00095F4C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80098FF0 00095F50 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80098FF4 00095F54 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80098FF8 00095F58 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80098FFC 00095F5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80099000 00095F60 4E 80 00 20 */ blr - -.global Draw__11CAutoMapperCFRC13CStateManagerRC12CTransform4ff -Draw__11CAutoMapperCFRC13CStateManagerRC12CTransform4ff: -/* 80099004 00095F64 94 21 F7 40 */ stwu r1, -0x8c0(r1) -/* 80099008 00095F68 7C 08 02 A6 */ mflr r0 -/* 8009900C 00095F6C 90 01 08 C4 */ stw r0, 0x8c4(r1) -/* 80099010 00095F70 DB E1 08 B0 */ stfd f31, 0x8b0(r1) -/* 80099014 00095F74 F3 E1 08 B8 */ psq_st f31, -1864(r1), 0, qr0 -/* 80099018 00095F78 DB C1 08 A0 */ stfd f30, 0x8a0(r1) -/* 8009901C 00095F7C F3 C1 08 A8 */ psq_st f30, -1880(r1), 0, qr0 -/* 80099020 00095F80 DB A1 08 90 */ stfd f29, 0x890(r1) -/* 80099024 00095F84 F3 A1 08 98 */ psq_st f29, -1896(r1), 0, qr0 -/* 80099028 00095F88 DB 81 08 80 */ stfd f28, 0x880(r1) -/* 8009902C 00095F8C F3 81 08 88 */ psq_st f28, -1912(r1), 0, qr0 -/* 80099030 00095F90 DB 61 08 70 */ stfd f27, 0x870(r1) -/* 80099034 00095F94 F3 61 08 78 */ psq_st f27, -1928(r1), 0, qr0 -/* 80099038 00095F98 DB 41 08 60 */ stfd f26, 0x860(r1) -/* 8009903C 00095F9C F3 41 08 68 */ psq_st f26, -1944(r1), 0, qr0 -/* 80099040 00095FA0 DB 21 08 50 */ stfd f25, 0x850(r1) -/* 80099044 00095FA4 F3 21 08 58 */ psq_st f25, -1960(r1), 0, qr0 -/* 80099048 00095FA8 BF 01 08 30 */ stmw r24, 0x830(r1) -/* 8009904C 00095FAC FF 20 08 90 */ fmr f25, f1 -/* 80099050 00095FB0 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) -/* 80099054 00095FB4 7C 7F 1B 78 */ mr r31, r3 -/* 80099058 00095FB8 7C 9E 23 78 */ mr r30, r4 -/* 8009905C 00095FBC 7C B8 2B 78 */ mr r24, r5 -/* 80099060 00095FC0 38 66 01 7C */ addi r3, r6, 0x17c -/* 80099064 00095FC4 48 17 5D 11 */ bl GetHudAlpha__12CGameOptionsCFv -/* 80099068 00095FC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8009906C 00095FCC EF 59 00 72 */ fmuls f26, f25, f1 -/* 80099070 00095FD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80099074 00095FD4 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80099078 00095FD8 7D 89 03 A6 */ mtctr r12 -/* 8009907C 00095FDC 4E 80 04 21 */ bctrl -/* 80099080 00095FE0 38 60 00 01 */ li r3, 1 -/* 80099084 00095FE4 48 27 29 ED */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80099088 00095FE8 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 8009908C 00095FEC 38 60 00 00 */ li r3, 0 -/* 80099090 00095FF0 2C 00 00 00 */ cmpwi r0, 0 -/* 80099094 00095FF4 41 82 00 14 */ beq lbl_800990A8 -/* 80099098 00095FF8 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 8009909C 00095FFC 2C 00 00 00 */ cmpwi r0, 0 -/* 800990A0 00096000 41 82 00 08 */ beq lbl_800990A8 -/* 800990A4 00096004 38 60 00 01 */ li r3, 1 -lbl_800990A8: -/* 800990A8 00096008 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800990AC 0009600C 41 82 00 0C */ beq lbl_800990B8 -/* 800990B0 00096010 C3 A2 8B 80 */ lfs f29, lbl_805AA8A0@sda21(r2) -/* 800990B4 00096014 48 00 00 8C */ b lbl_80099140 -lbl_800990B8: -/* 800990B8 00096018 7F E3 FB 78 */ mr r3, r31 -/* 800990BC 0009601C 38 80 00 00 */ li r4, 0 -/* 800990C0 00096020 4B FF CC 65 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 800990C4 00096024 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800990C8 00096028 41 82 00 0C */ beq lbl_800990D4 -/* 800990CC 0009602C FF A0 D0 90 */ fmr f29, f26 -/* 800990D0 00096030 48 00 00 70 */ b lbl_80099140 -lbl_800990D4: -/* 800990D4 00096034 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 800990D8 00096038 2C 00 00 00 */ cmpwi r0, 0 -/* 800990DC 0009603C 40 82 00 2C */ bne lbl_80099108 -/* 800990E0 00096040 C0 5F 01 C4 */ lfs f2, 0x1c4(r31) -/* 800990E4 00096044 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 800990E8 00096048 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 800990EC 0009604C 40 81 00 0C */ ble lbl_800990F8 -/* 800990F0 00096050 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) -/* 800990F4 00096054 EC 20 10 24 */ fdivs f1, f0, f2 -lbl_800990F8: -/* 800990F8 00096058 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 800990FC 0009605C EC 00 08 28 */ fsubs f0, f0, f1 -/* 80099100 00096060 EF BA 00 7A */ fmadds f29, f26, f1, f0 -/* 80099104 00096064 48 00 00 3C */ b lbl_80099140 -lbl_80099108: -/* 80099108 00096068 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 8009910C 0009606C 2C 00 00 00 */ cmpwi r0, 0 -/* 80099110 00096070 40 82 00 2C */ bne lbl_8009913C -/* 80099114 00096074 C0 5F 01 C4 */ lfs f2, 0x1c4(r31) -/* 80099118 00096078 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 8009911C 0009607C FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80099120 00096080 40 81 00 0C */ ble lbl_8009912C -/* 80099124 00096084 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) -/* 80099128 00096088 EC 20 10 24 */ fdivs f1, f0, f2 -lbl_8009912C: -/* 8009912C 0009608C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80099130 00096090 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80099134 00096094 EF BA 08 3A */ fmadds f29, f26, f0, f1 -/* 80099138 00096098 48 00 00 08 */ b lbl_80099140 -lbl_8009913C: -/* 8009913C 0009609C C3 A2 8B 80 */ lfs f29, lbl_805AA8A0@sda21(r2) -lbl_80099140: -/* 80099140 000960A0 80 9F 00 A8 */ lwz r4, 0xa8(r31) -/* 80099144 000960A4 3C 60 43 30 */ lis r3, 0x4330 -/* 80099148 000960A8 80 1F 00 AC */ lwz r0, 0xac(r31) -/* 8009914C 000960AC 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 80099150 000960B0 90 61 08 18 */ stw r3, 0x818(r1) -/* 80099154 000960B4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80099158 000960B8 C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) -/* 8009915C 000960BC 90 81 08 1C */ stw r4, 0x81c(r1) -/* 80099160 000960C0 C0 22 8B 7C */ lfs f1, lbl_805AA89C@sda21(r2) -/* 80099164 000960C4 C8 01 08 18 */ lfd f0, 0x818(r1) -/* 80099168 000960C8 90 01 08 24 */ stw r0, 0x824(r1) -/* 8009916C 000960CC EC A0 20 28 */ fsubs f5, f0, f4 -/* 80099170 000960D0 C0 1F 00 C4 */ lfs f0, 0xc4(r31) -/* 80099174 000960D4 90 61 08 20 */ stw r3, 0x820(r1) -/* 80099178 000960D8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8009917C 000960DC C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) -/* 80099180 000960E0 C8 01 08 20 */ lfd f0, 0x820(r1) -/* 80099184 000960E4 C0 62 8B 70 */ lfs f3, lbl_805AA890@sda21(r2) -/* 80099188 000960E8 EC 80 20 28 */ fsubs f4, f0, f4 -/* 8009918C 000960EC C0 02 8B 74 */ lfs f0, lbl_805AA894@sda21(r2) -/* 80099190 000960F0 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80099194 000960F4 EF 45 20 24 */ fdivs f26, f5, f4 -/* 80099198 000960F8 EC 23 00 7C */ fnmsubs f1, f3, f1, f0 -/* 8009919C 000960FC 48 2F BA 19 */ bl tan -/* 800991A0 00096100 FC 00 08 18 */ frsp f0, f1 -/* 800991A4 00096104 C0 3F 00 C0 */ lfs f1, 0xc0(r31) -/* 800991A8 00096108 38 61 06 64 */ addi r3, r1, 0x664 -/* 800991AC 0009610C 38 9F 00 B0 */ addi r4, r31, 0xb0 -/* 800991B0 00096110 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 800991B4 00096114 EF 61 00 24 */ fdivs f27, f1, f0 -/* 800991B8 00096118 48 27 8D 05 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 800991BC 0009611C 38 61 07 E4 */ addi r3, r1, 0x7e4 -/* 800991C0 00096120 38 81 06 64 */ addi r4, r1, 0x664 -/* 800991C4 00096124 48 27 99 B1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800991C8 00096128 EC 1B 06 B2 */ fmuls f0, f27, f26 -/* 800991CC 0009612C C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) -/* 800991D0 00096130 C0 82 8B 80 */ lfs f4, lbl_805AA8A0@sda21(r2) -/* 800991D4 00096134 38 61 06 34 */ addi r3, r1, 0x634 -/* 800991D8 00096138 C0 22 8B D0 */ lfs f1, lbl_805AA8F0@sda21(r2) -/* 800991DC 0009613C EC 64 00 24 */ fdivs f3, f4, f0 -/* 800991E0 00096140 D0 41 07 B8 */ stfs f2, 0x7b8(r1) -/* 800991E4 00096144 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 800991E8 00096148 D0 41 07 BC */ stfs f2, 0x7bc(r1) -/* 800991EC 0009614C D0 41 07 C0 */ stfs f2, 0x7c0(r1) -/* 800991F0 00096150 D0 41 07 C4 */ stfs f2, 0x7c4(r1) -/* 800991F4 00096154 EC 04 D8 24 */ fdivs f0, f4, f27 -/* 800991F8 00096158 D0 61 07 B4 */ stfs f3, 0x7b4(r1) -/* 800991FC 0009615C D0 21 07 C8 */ stfs f1, 0x7c8(r1) -/* 80099200 00096160 D0 41 07 CC */ stfs f2, 0x7cc(r1) -/* 80099204 00096164 D0 41 07 D0 */ stfs f2, 0x7d0(r1) -/* 80099208 00096168 D0 41 07 D4 */ stfs f2, 0x7d4(r1) -/* 8009920C 0009616C D0 41 07 D8 */ stfs f2, 0x7d8(r1) -/* 80099210 00096170 D0 01 07 DC */ stfs f0, 0x7dc(r1) -/* 80099214 00096174 D0 41 07 E0 */ stfs f2, 0x7e0(r1) -/* 80099218 00096178 C0 64 00 C8 */ lfs f3, 0xc8(r4) -/* 8009921C 0009617C C0 24 00 C4 */ lfs f1, 0xc4(r4) -/* 80099220 00096180 48 27 9F E9 */ bl Scale__12CTransform4fFfff -/* 80099224 00096184 38 61 07 84 */ addi r3, r1, 0x784 -/* 80099228 00096188 38 81 06 34 */ addi r4, r1, 0x634 -/* 8009922C 0009618C 48 27 99 49 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80099230 00096190 38 61 05 74 */ addi r3, r1, 0x574 -/* 80099234 00096194 38 81 07 E4 */ addi r4, r1, 0x7e4 -/* 80099238 00096198 48 27 9A 65 */ bl GetQuickInverse__12CTransform4fCFv -/* 8009923C 0009619C 7F 04 C3 78 */ mr r4, r24 -/* 80099240 000961A0 38 61 05 A4 */ addi r3, r1, 0x5a4 -/* 80099244 000961A4 38 A1 07 84 */ addi r5, r1, 0x784 -/* 80099248 000961A8 48 27 97 09 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8009924C 000961AC 38 61 05 D4 */ addi r3, r1, 0x5d4 -/* 80099250 000961B0 38 81 05 A4 */ addi r4, r1, 0x5a4 -/* 80099254 000961B4 38 A1 07 B4 */ addi r5, r1, 0x7b4 -/* 80099258 000961B8 48 27 96 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8009925C 000961BC 38 61 06 04 */ addi r3, r1, 0x604 -/* 80099260 000961C0 38 81 05 D4 */ addi r4, r1, 0x5d4 -/* 80099264 000961C4 38 A1 05 74 */ addi r5, r1, 0x574 -/* 80099268 000961C8 48 27 96 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8009926C 000961CC 38 61 07 54 */ addi r3, r1, 0x754 -/* 80099270 000961D0 38 81 06 04 */ addi r4, r1, 0x604 -/* 80099274 000961D4 48 27 99 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80099278 000961D8 80 9F 01 C0 */ lwz r4, 0x1c0(r31) -/* 8009927C 000961DC C3 82 8B A8 */ lfs f28, lbl_805AA8C8@sda21(r2) -/* 80099280 000961E0 2C 04 00 02 */ cmpwi r4, 2 -/* 80099284 000961E4 40 82 00 3C */ bne lbl_800992C0 -/* 80099288 000961E8 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 8009928C 000961EC 2C 00 00 02 */ cmpwi r0, 2 -/* 80099290 000961F0 40 82 00 0C */ bne lbl_8009929C -/* 80099294 000961F4 C3 82 8B 80 */ lfs f28, lbl_805AA8A0@sda21(r2) -/* 80099298 000961F8 48 00 00 58 */ b lbl_800992F0 -lbl_8009929C: -/* 8009929C 000961FC C0 3F 01 C4 */ lfs f1, 0x1c4(r31) -/* 800992A0 00096200 FC 01 E0 40 */ fcmpo cr0, f1, f28 -/* 800992A4 00096204 40 81 00 10 */ ble lbl_800992B4 -/* 800992A8 00096208 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) -/* 800992AC 0009620C EC 00 08 24 */ fdivs f0, f0, f1 -/* 800992B0 00096210 48 00 00 08 */ b lbl_800992B8 -lbl_800992B4: -/* 800992B4 00096214 FC 00 E0 90 */ fmr f0, f28 -lbl_800992B8: -/* 800992B8 00096218 FF 80 00 90 */ fmr f28, f0 -/* 800992BC 0009621C 48 00 00 34 */ b lbl_800992F0 -lbl_800992C0: -/* 800992C0 00096220 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 800992C4 00096224 2C 00 00 02 */ cmpwi r0, 2 -/* 800992C8 00096228 40 82 00 28 */ bne lbl_800992F0 -/* 800992CC 0009622C C0 3F 01 C4 */ lfs f1, 0x1c4(r31) -/* 800992D0 00096230 FC 01 E0 40 */ fcmpo cr0, f1, f28 -/* 800992D4 00096234 40 81 00 10 */ ble lbl_800992E4 -/* 800992D8 00096238 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) -/* 800992DC 0009623C EC 20 08 24 */ fdivs f1, f0, f1 -/* 800992E0 00096240 48 00 00 08 */ b lbl_800992E8 -lbl_800992E4: -/* 800992E4 00096244 FC 20 E0 90 */ fmr f1, f28 -lbl_800992E8: -/* 800992E8 00096248 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 800992EC 0009624C EF 80 08 28 */ fsubs f28, f0, f1 -lbl_800992F0: -/* 800992F0 00096250 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 800992F4 00096254 38 60 00 00 */ li r3, 0 -/* 800992F8 00096258 2C 00 00 02 */ cmpwi r0, 2 -/* 800992FC 0009625C 41 82 00 0C */ beq lbl_80099308 -/* 80099300 00096260 2C 04 00 02 */ cmpwi r4, 2 -/* 80099304 00096264 40 82 00 08 */ bne lbl_8009930C -lbl_80099308: -/* 80099308 00096268 38 60 00 01 */ li r3, 1 -lbl_8009930C: -/* 8009930C 0009626C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80099310 00096270 41 82 00 20 */ beq lbl_80099330 -/* 80099314 00096274 80 1F 00 9C */ lwz r0, 0x9c(r31) -/* 80099318 00096278 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8009931C 0009627C 1C 60 00 70 */ mulli r3, r0, 0x70 -/* 80099320 00096280 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 80099324 00096284 3B A3 00 14 */ addi r29, r3, 0x14 -/* 80099328 00096288 7F A0 EA 14 */ add r29, r0, r29 -/* 8009932C 0009628C 48 00 00 0C */ b lbl_80099338 -lbl_80099330: -/* 80099330 00096290 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80099334 00096294 3B A3 66 70 */ addi r29, r3, skIdentity4f@l -lbl_80099338: -/* 80099338 00096298 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009933C 0009629C 38 60 00 00 */ li r3, 0 -/* 80099340 000962A0 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80099344 000962A4 C0 5F 00 C0 */ lfs f2, 0xc0(r31) -/* 80099348 000962A8 C0 24 00 0C */ lfs f1, 0xc(r4) -/* 8009934C 000962AC EC 00 E0 28 */ fsubs f0, f0, f28 -/* 80099350 000962B0 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 80099354 000962B4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80099358 000962B8 2C 00 00 00 */ cmpwi r0, 0 -/* 8009935C 000962BC EF 7D 00 32 */ fmuls f27, f29, f0 -/* 80099360 000962C0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80099364 000962C4 41 82 00 14 */ beq lbl_80099378 -/* 80099368 000962C8 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 8009936C 000962CC 2C 00 00 00 */ cmpwi r0, 0 -/* 80099370 000962D0 41 82 00 08 */ beq lbl_80099378 -/* 80099374 000962D4 38 60 00 01 */ li r3, 1 -lbl_80099378: -/* 80099378 000962D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009937C 000962DC 41 82 02 34 */ beq lbl_800995B0 -/* 80099380 000962E0 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80099384 000962E4 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80099388 000962E8 40 80 03 F4 */ bge lbl_8009977C -/* 8009938C 000962EC 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80099390 000962F0 28 03 00 00 */ cmplwi r3, 0 -/* 80099394 000962F4 41 82 03 E8 */ beq lbl_8009977C -/* 80099398 000962F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8009939C 000962FC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800993A0 00096300 7D 89 03 A6 */ mtctr r12 -/* 800993A4 00096304 4E 80 04 21 */ bctrl -/* 800993A8 00096308 7C 64 1B 78 */ mr r4, r3 -/* 800993AC 0009630C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800993B0 00096310 48 13 A6 29 */ bl StateForWorld__10CGameStateFUi -/* 800993B4 00096314 7C 64 1B 78 */ mr r4, r3 -/* 800993B8 00096318 38 61 00 30 */ addi r3, r1, 0x30 -/* 800993BC 0009631C 48 13 B9 A9 */ bl GetMapWorldInfo__11CWorldStateCFv -/* 800993C0 00096320 80 81 00 30 */ lwz r4, 0x30(r1) -/* 800993C4 00096324 38 61 00 30 */ addi r3, r1, 0x30 -/* 800993C8 00096328 83 84 00 00 */ lwz r28, 0(r4) -/* 800993CC 0009632C 4B F6 F8 71 */ bl sub_80008c3c -/* 800993D0 00096330 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800993D4 00096334 81 83 00 00 */ lwz r12, 0(r3) -/* 800993D8 00096338 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800993DC 0009633C 7D 89 03 A6 */ mtctr r12 -/* 800993E0 00096340 4E 80 04 21 */ bctrl -/* 800993E4 00096344 80 1F 01 F4 */ lwz r0, 0x1f4(r31) -/* 800993E8 00096348 7C 7B 1B 78 */ mr r27, r3 -/* 800993EC 0009634C C3 42 8B A8 */ lfs f26, lbl_805AA8C8@sda21(r2) -/* 800993F0 00096350 2C 00 00 00 */ cmpwi r0, 0 -/* 800993F4 00096354 41 82 01 2C */ beq lbl_80099520 -/* 800993F8 00096358 80 7F 01 E4 */ lwz r3, 0x1e4(r31) -/* 800993FC 0009635C 80 03 00 08 */ lwz r0, 8(r3) -/* 80099400 00096360 2C 00 00 04 */ cmpwi r0, 4 -/* 80099404 00096364 40 82 01 1C */ bne lbl_80099520 -/* 80099408 00096368 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8009940C 0009636C 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 80099410 00096370 80 1E 08 CC */ lwz r0, 0x8cc(r30) -/* 80099414 00096374 90 81 00 38 */ stw r4, 0x38(r1) -/* 80099418 00096378 7C 03 00 00 */ cmpw r3, r0 -/* 8009941C 0009637C C3 21 00 38 */ lfs f25, 0x38(r1) -/* 80099420 00096380 40 82 00 4C */ bne lbl_8009946C -/* 80099424 00096384 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80099428 00096388 80 1E 08 50 */ lwz r0, 0x850(r30) -/* 8009942C 0009638C 7C 03 00 40 */ cmplw r3, r0 -/* 80099430 00096390 40 82 00 3C */ bne lbl_8009946C -/* 80099434 00096394 C0 02 8B D4 */ lfs f0, lbl_805AA8F4@sda21(r2) -/* 80099438 00096398 C8 42 8B D8 */ lfd f2, lbl_805AA8F8@sda21(r2) -/* 8009943C 0009639C EC 39 00 32 */ fmuls f1, f25, f0 -/* 80099440 000963A0 48 2F B8 6D */ bl fmod -/* 80099444 000963A4 FC 40 08 18 */ frsp f2, f1 -/* 80099448 000963A8 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) -/* 8009944C 000963AC C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) -/* 80099450 000963B0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80099454 000963B4 40 80 00 08 */ bge lbl_8009945C -/* 80099458 000963B8 48 00 00 0C */ b lbl_80099464 -lbl_8009945C: -/* 8009945C 000963BC C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80099460 000963C0 EC 40 10 28 */ fsubs f2, f0, f2 -lbl_80099464: -/* 80099464 000963C4 EF 41 00 B2 */ fmuls f26, f1, f2 -/* 80099468 000963C8 48 00 00 B8 */ b lbl_80099520 -lbl_8009946C: -/* 8009946C 000963CC 83 5F 01 FC */ lwz r26, 0x1fc(r31) -/* 80099470 000963D0 48 00 00 A4 */ b lbl_80099514 -lbl_80099474: -/* 80099474 000963D4 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80099478 000963D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8009947C 000963DC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80099480 000963E0 7D 89 03 A6 */ mtctr r12 -/* 80099484 000963E4 4E 80 04 21 */ bctrl -/* 80099488 000963E8 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 8009948C 000963EC 7C 00 18 40 */ cmplw r0, r3 -/* 80099490 000963F0 40 82 00 80 */ bne lbl_80099510 -/* 80099494 000963F4 80 7A 00 14 */ lwz r3, 0x14(r26) -/* 80099498 000963F8 80 1F 00 A0 */ lwz r0, 0xa0(r31) -/* 8009949C 000963FC 7C 03 00 00 */ cmpw r3, r0 -/* 800994A0 00096400 40 82 00 70 */ bne lbl_80099510 -/* 800994A4 00096404 C0 42 8B 70 */ lfs f2, lbl_805AA890@sda21(r2) -/* 800994A8 00096408 C0 0D 85 D8 */ lfs f0, lbl_805A7198@sda21(r13) -/* 800994AC 0009640C EC 39 10 28 */ fsubs f1, f25, f2 -/* 800994B0 00096410 EC 21 10 24 */ fdivs f1, f1, f2 -/* 800994B4 00096414 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800994B8 00096418 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800994BC 0009641C 40 80 00 0C */ bge lbl_800994C8 -/* 800994C0 00096420 38 61 00 2C */ addi r3, r1, 0x2c -/* 800994C4 00096424 48 00 00 08 */ b lbl_800994CC -lbl_800994C8: -/* 800994C8 00096428 38 6D 85 D8 */ addi r3, r13, lbl_805A7198@sda21 -lbl_800994CC: -/* 800994CC 0009642C C0 42 8B 80 */ lfs f2, lbl_805AA8A0@sda21(r2) -/* 800994D0 00096430 C0 23 00 00 */ lfs f1, 0(r3) -/* 800994D4 00096434 C0 02 8B E0 */ lfs f0, lbl_805AA900@sda21(r2) -/* 800994D8 00096438 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800994DC 0009643C C8 42 8B D8 */ lfd f2, lbl_805AA8F8@sda21(r2) -/* 800994E0 00096440 EC 21 00 32 */ fmuls f1, f1, f0 -/* 800994E4 00096444 48 2F B7 C9 */ bl fmod -/* 800994E8 00096448 FC 40 08 18 */ frsp f2, f1 -/* 800994EC 0009644C C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) -/* 800994F0 00096450 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) -/* 800994F4 00096454 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800994F8 00096458 40 80 00 08 */ bge lbl_80099500 -/* 800994FC 0009645C 48 00 00 0C */ b lbl_80099508 -lbl_80099500: -/* 80099500 00096460 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80099504 00096464 EC 40 10 28 */ fsubs f2, f0, f2 -lbl_80099508: -/* 80099508 00096468 EF 41 00 B2 */ fmuls f26, f1, f2 -/* 8009950C 0009646C 48 00 00 14 */ b lbl_80099520 -lbl_80099510: -/* 80099510 00096470 83 5A 00 04 */ lwz r26, 4(r26) -lbl_80099514: -/* 80099514 00096474 80 1F 02 00 */ lwz r0, 0x200(r31) -/* 80099518 00096478 7C 1A 00 40 */ cmplw r26, r0 -/* 8009951C 0009647C 40 82 FF 58 */ bne lbl_80099474 -lbl_80099520: -/* 80099520 00096480 83 5F 00 A0 */ lwz r26, 0xa0(r31) -/* 80099524 00096484 7F A5 EB 78 */ mr r5, r29 -/* 80099528 00096488 38 61 05 08 */ addi r3, r1, 0x508 -/* 8009952C 0009648C 38 81 07 54 */ addi r4, r1, 0x754 -/* 80099530 00096490 48 27 94 21 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80099534 00096494 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80099538 00096498 FC A0 D8 90 */ fmr f5, f27 -/* 8009953C 0009649C FD 00 D0 90 */ fmr f8, f26 -/* 80099540 000964A0 C0 C2 8B 90 */ lfs f6, lbl_805AA8B0@sda21(r2) -/* 80099544 000964A4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80099548 000964A8 7F C4 F3 78 */ mr r4, r30 -/* 8009954C 000964AC 7F 88 E3 78 */ mr r8, r28 -/* 80099550 000964B0 C0 1F 00 DC */ lfs f0, 0xdc(r31) -/* 80099554 000964B4 C0 5F 00 E0 */ lfs f2, 0xe0(r31) -/* 80099558 000964B8 38 61 05 38 */ addi r3, r1, 0x538 -/* 8009955C 000964BC C0 7F 00 E4 */ lfs f3, 0xe4(r31) -/* 80099560 000964C0 EC 20 07 72 */ fmuls f1, f0, f29 -/* 80099564 000964C4 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 80099568 000964C8 EC 42 07 72 */ fmuls f2, f2, f29 -/* 8009956C 000964CC EC 63 07 72 */ fmuls f3, f3, f29 -/* 80099570 000964D0 80 FF 00 24 */ lwz r7, 0x24(r31) -/* 80099574 000964D4 EC 80 07 72 */ fmuls f4, f0, f29 -/* 80099578 000964D8 C0 FF 01 DC */ lfs f7, 0x1dc(r31) -/* 8009957C 000964DC 38 A1 05 08 */ addi r5, r1, 0x508 -/* 80099580 000964E0 38 C1 07 E4 */ addi r6, r1, 0x7e4 -/* 80099584 000964E4 39 20 00 01 */ li r9, 1 -/* 80099588 000964E8 48 00 83 BD */ bl __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb -/* 8009958C 000964EC C0 3F 00 D4 */ lfs f1, 0xd4(r31) -/* 80099590 000964F0 7C 64 1B 78 */ mr r4, r3 -/* 80099594 000964F4 C0 5F 00 D8 */ lfs f2, 0xd8(r31) -/* 80099598 000964F8 7F 63 DB 78 */ mr r3, r27 -/* 8009959C 000964FC 7F 45 D3 78 */ mr r5, r26 -/* 800995A0 00096500 7F 46 D3 78 */ mr r6, r26 -/* 800995A4 00096504 38 E0 00 01 */ li r7, 1 -/* 800995A8 00096508 48 00 75 B1 */ bl Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb -/* 800995AC 0009650C 48 00 01 D0 */ b lbl_8009977C -lbl_800995B0: -/* 800995B0 00096510 7F E3 FB 78 */ mr r3, r31 -/* 800995B4 00096514 38 80 00 00 */ li r4, 0 -/* 800995B8 00096518 4B FF C7 6D */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 800995BC 0009651C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800995C0 00096520 41 82 00 D8 */ beq lbl_80099698 -/* 800995C4 00096524 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800995C8 00096528 81 83 00 00 */ lwz r12, 0(r3) -/* 800995CC 0009652C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800995D0 00096530 7D 89 03 A6 */ mtctr r12 -/* 800995D4 00096534 4E 80 04 21 */ bctrl -/* 800995D8 00096538 7C 60 1B 78 */ mr r0, r3 -/* 800995DC 0009653C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800995E0 00096540 7C 1A 03 78 */ mr r26, r0 -/* 800995E4 00096544 81 83 00 00 */ lwz r12, 0(r3) -/* 800995E8 00096548 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800995EC 0009654C 7D 89 03 A6 */ mtctr r12 -/* 800995F0 00096550 4E 80 04 21 */ bctrl -/* 800995F4 00096554 7C 64 1B 78 */ mr r4, r3 -/* 800995F8 00096558 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800995FC 0009655C 48 13 A3 DD */ bl StateForWorld__10CGameStateFUi -/* 80099600 00096560 7C 64 1B 78 */ mr r4, r3 -/* 80099604 00096564 38 61 00 28 */ addi r3, r1, 0x28 -/* 80099608 00096568 48 13 B7 5D */ bl GetMapWorldInfo__11CWorldStateCFv -/* 8009960C 0009656C 80 81 00 28 */ lwz r4, 0x28(r1) -/* 80099610 00096570 38 61 00 28 */ addi r3, r1, 0x28 -/* 80099614 00096574 83 64 00 00 */ lwz r27, 0(r4) -/* 80099618 00096578 4B F6 F6 25 */ bl sub_80008c3c -/* 8009961C 0009657C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80099620 00096580 FC A0 D8 90 */ fmr f5, f27 -/* 80099624 00096584 C0 E2 8B A8 */ lfs f7, lbl_805AA8C8@sda21(r2) -/* 80099628 00096588 7F C4 F3 78 */ mr r4, r30 -/* 8009962C 0009658C D0 01 00 08 */ stfs f0, 8(r1) -/* 80099630 00096590 7F 68 DB 78 */ mr r8, r27 -/* 80099634 00096594 FD 00 38 90 */ fmr f8, f7 -/* 80099638 00096598 C0 3F 00 DC */ lfs f1, 0xdc(r31) -/* 8009963C 0009659C 38 61 04 CC */ addi r3, r1, 0x4cc -/* 80099640 000965A0 C0 5F 00 E0 */ lfs f2, 0xe0(r31) -/* 80099644 000965A4 38 A1 07 54 */ addi r5, r1, 0x754 -/* 80099648 000965A8 C0 7F 00 E4 */ lfs f3, 0xe4(r31) -/* 8009964C 000965AC C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 80099650 000965B0 EC 21 07 72 */ fmuls f1, f1, f29 -/* 80099654 000965B4 EC 42 07 72 */ fmuls f2, f2, f29 -/* 80099658 000965B8 C0 C2 8B 80 */ lfs f6, lbl_805AA8A0@sda21(r2) -/* 8009965C 000965BC EC 63 07 72 */ fmuls f3, f3, f29 -/* 80099660 000965C0 80 FF 00 24 */ lwz r7, 0x24(r31) -/* 80099664 000965C4 EC 80 07 72 */ fmuls f4, f0, f29 -/* 80099668 000965C8 38 C1 07 E4 */ addi r6, r1, 0x7e4 -/* 8009966C 000965CC 39 20 00 00 */ li r9, 0 -/* 80099670 000965D0 48 00 82 D5 */ bl __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb -/* 80099674 000965D4 80 BF 00 A0 */ lwz r5, 0xa0(r31) -/* 80099678 000965D8 7C 64 1B 78 */ mr r4, r3 -/* 8009967C 000965DC 80 DF 00 A4 */ lwz r6, 0xa4(r31) -/* 80099680 000965E0 7F 43 D3 78 */ mr r3, r26 -/* 80099684 000965E4 C0 3F 00 D4 */ lfs f1, 0xd4(r31) -/* 80099688 000965E8 38 E0 00 00 */ li r7, 0 -/* 8009968C 000965EC C0 5F 00 D8 */ lfs f2, 0xd8(r31) -/* 80099690 000965F0 48 00 74 C9 */ bl Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb -/* 80099694 000965F4 48 00 00 E8 */ b lbl_8009977C -lbl_80099698: -/* 80099698 000965F8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8009969C 000965FC 81 83 00 00 */ lwz r12, 0(r3) -/* 800996A0 00096600 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800996A4 00096604 7D 89 03 A6 */ mtctr r12 -/* 800996A8 00096608 4E 80 04 21 */ bctrl -/* 800996AC 0009660C 7C 60 1B 78 */ mr r0, r3 -/* 800996B0 00096610 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800996B4 00096614 7C 1C 03 78 */ mr r28, r0 -/* 800996B8 00096618 81 83 00 00 */ lwz r12, 0(r3) -/* 800996BC 0009661C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800996C0 00096620 7D 89 03 A6 */ mtctr r12 -/* 800996C4 00096624 4E 80 04 21 */ bctrl -/* 800996C8 00096628 7C 64 1B 78 */ mr r4, r3 -/* 800996CC 0009662C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800996D0 00096630 48 13 A3 09 */ bl StateForWorld__10CGameStateFUi -/* 800996D4 00096634 7C 64 1B 78 */ mr r4, r3 -/* 800996D8 00096638 38 61 00 24 */ addi r3, r1, 0x24 -/* 800996DC 0009663C 48 13 B6 89 */ bl GetMapWorldInfo__11CWorldStateCFv -/* 800996E0 00096640 80 81 00 24 */ lwz r4, 0x24(r1) -/* 800996E4 00096644 38 61 00 24 */ addi r3, r1, 0x24 -/* 800996E8 00096648 83 64 00 00 */ lwz r27, 0(r4) -/* 800996EC 0009664C 4B F6 F5 51 */ bl sub_80008c3c -/* 800996F0 00096650 83 5F 00 A0 */ lwz r26, 0xa0(r31) -/* 800996F4 00096654 7F A5 EB 78 */ mr r5, r29 -/* 800996F8 00096658 38 61 04 60 */ addi r3, r1, 0x460 -/* 800996FC 0009665C 38 81 07 54 */ addi r4, r1, 0x754 -/* 80099700 00096660 48 27 92 51 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80099704 00096664 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80099708 00096668 FC A0 D8 90 */ fmr f5, f27 -/* 8009970C 0009666C C0 E2 8B A8 */ lfs f7, lbl_805AA8C8@sda21(r2) -/* 80099710 00096670 7F C4 F3 78 */ mr r4, r30 -/* 80099714 00096674 D0 01 00 08 */ stfs f0, 8(r1) -/* 80099718 00096678 7F 68 DB 78 */ mr r8, r27 -/* 8009971C 0009667C FD 00 38 90 */ fmr f8, f7 -/* 80099720 00096680 C0 3F 00 DC */ lfs f1, 0xdc(r31) -/* 80099724 00096684 38 61 04 90 */ addi r3, r1, 0x490 -/* 80099728 00096688 C0 5F 00 E0 */ lfs f2, 0xe0(r31) -/* 8009972C 0009668C 38 A1 04 60 */ addi r5, r1, 0x460 -/* 80099730 00096690 C0 7F 00 E4 */ lfs f3, 0xe4(r31) -/* 80099734 00096694 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 80099738 00096698 EC 21 07 72 */ fmuls f1, f1, f29 -/* 8009973C 0009669C EC 42 07 72 */ fmuls f2, f2, f29 -/* 80099740 000966A0 C0 C2 8B 90 */ lfs f6, lbl_805AA8B0@sda21(r2) -/* 80099744 000966A4 EC 63 07 72 */ fmuls f3, f3, f29 -/* 80099748 000966A8 80 FF 00 24 */ lwz r7, 0x24(r31) -/* 8009974C 000966AC EC 80 07 72 */ fmuls f4, f0, f29 -/* 80099750 000966B0 38 C1 07 E4 */ addi r6, r1, 0x7e4 -/* 80099754 000966B4 39 20 00 01 */ li r9, 1 -/* 80099758 000966B8 48 00 81 ED */ bl __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb -/* 8009975C 000966BC C0 3F 00 D4 */ lfs f1, 0xd4(r31) -/* 80099760 000966C0 7C 64 1B 78 */ mr r4, r3 -/* 80099764 000966C4 C0 5F 00 D8 */ lfs f2, 0xd8(r31) -/* 80099768 000966C8 7F 83 E3 78 */ mr r3, r28 -/* 8009976C 000966CC 7F 45 D3 78 */ mr r5, r26 -/* 80099770 000966D0 7F 46 D3 78 */ mr r6, r26 -/* 80099774 000966D4 38 E0 00 00 */ li r7, 0 -/* 80099778 000966D8 48 00 73 E1 */ bl Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb -lbl_8009977C: -/* 8009977C 000966DC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 80099780 000966E0 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80099784 000966E4 40 81 01 50 */ ble lbl_800998D4 -/* 80099788 000966E8 83 5E 08 50 */ lwz r26, 0x850(r30) -/* 8009978C 000966EC 83 9E 08 CC */ lwz r28, 0x8cc(r30) -/* 80099790 000966F0 83 7F 00 10 */ lwz r27, 0x10(r31) -/* 80099794 000966F4 7F 43 D3 78 */ mr r3, r26 -/* 80099798 000966F8 4B FB DF 05 */ bl GetMapWorld__6CWorldCFv -/* 8009979C 000966FC 7F 84 E3 78 */ mr r4, r28 -/* 800997A0 00096700 48 00 7C 19 */ bl GetMapArea__9CMapWorldCFi -/* 800997A4 00096704 7C 64 1B 78 */ mr r4, r3 -/* 800997A8 00096708 7F 45 D3 78 */ mr r5, r26 -/* 800997AC 0009670C 7F 86 E3 78 */ mr r6, r28 -/* 800997B0 00096710 38 61 04 30 */ addi r3, r1, 0x430 -/* 800997B4 00096714 4B FE 6C B5 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 800997B8 00096718 38 61 07 24 */ addi r3, r1, 0x724 -/* 800997BC 0009671C 38 81 04 30 */ addi r4, r1, 0x430 -/* 800997C0 00096720 48 27 93 B5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800997C4 00096724 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800997C8 00096728 48 13 A2 09 */ bl CurrentWorldAssetId__10CGameStateCFv -/* 800997CC 0009672C 7C 64 1B 78 */ mr r4, r3 -/* 800997D0 00096730 7F 63 DB 78 */ mr r3, r27 -/* 800997D4 00096734 48 16 87 95 */ bl GetMapWorldDataByWorldId__12CMapUniverseFUi -/* 800997D8 00096738 7C 7C 1B 78 */ mr r28, r3 -/* 800997DC 0009673C 38 61 04 00 */ addi r3, r1, 0x400 -/* 800997E0 00096740 38 9C 00 14 */ addi r4, r28, 0x14 -/* 800997E4 00096744 38 A1 07 24 */ addi r5, r1, 0x724 -/* 800997E8 00096748 48 27 91 69 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800997EC 0009674C 38 61 06 F4 */ addi r3, r1, 0x6f4 -/* 800997F0 00096750 38 81 04 00 */ addi r4, r1, 0x400 -/* 800997F4 00096754 48 27 93 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800997F8 00096758 C3 22 8B E4 */ lfs f25, lbl_805AA904@sda21(r2) -/* 800997FC 0009675C 3B 20 FF FF */ li r25, -1 -/* 80099800 00096760 3B 00 00 00 */ li r24, 0 -/* 80099804 00096764 3B 40 00 00 */ li r26, 0 -/* 80099808 00096768 48 00 00 74 */ b lbl_8009987C -lbl_8009980C: -/* 8009980C 0009676C 80 1C 00 50 */ lwz r0, 0x50(r28) -/* 80099810 00096770 38 61 00 EC */ addi r3, r1, 0xec -/* 80099814 00096774 C0 61 07 00 */ lfs f3, 0x700(r1) -/* 80099818 00096778 7C 80 D2 14 */ add r4, r0, r26 -/* 8009981C 0009677C C0 41 07 10 */ lfs f2, 0x710(r1) -/* 80099820 00096780 C0 C4 00 1C */ lfs f6, 0x1c(r4) -/* 80099824 00096784 C0 84 00 0C */ lfs f4, 0xc(r4) -/* 80099828 00096788 C0 E4 00 2C */ lfs f7, 0x2c(r4) -/* 8009982C 0009678C EC A2 30 28 */ fsubs f5, f2, f6 -/* 80099830 00096790 C0 21 07 20 */ lfs f1, 0x720(r1) -/* 80099834 00096794 EC 03 20 28 */ fsubs f0, f3, f4 -/* 80099838 00096798 D0 81 00 D4 */ stfs f4, 0xd4(r1) -/* 8009983C 0009679C EC 81 38 28 */ fsubs f4, f1, f7 -/* 80099840 000967A0 D0 C1 00 D8 */ stfs f6, 0xd8(r1) -/* 80099844 000967A4 D0 E1 00 DC */ stfs f7, 0xdc(r1) -/* 80099848 000967A8 D0 61 00 E0 */ stfs f3, 0xe0(r1) -/* 8009984C 000967AC D0 41 00 E4 */ stfs f2, 0xe4(r1) -/* 80099850 000967B0 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 80099854 000967B4 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 80099858 000967B8 D0 A1 00 F0 */ stfs f5, 0xf0(r1) -/* 8009985C 000967BC D0 81 00 F4 */ stfs f4, 0xf4(r1) -/* 80099860 000967C0 48 27 B0 59 */ bl Magnitude__9CVector3fCFv -/* 80099864 000967C4 FC 01 C8 40 */ fcmpo cr0, f1, f25 -/* 80099868 000967C8 40 80 00 0C */ bge lbl_80099874 -/* 8009986C 000967CC 7F 19 C3 78 */ mr r25, r24 -/* 80099870 000967D0 FF 20 08 90 */ fmr f25, f1 -lbl_80099874: -/* 80099874 000967D4 3B 5A 00 30 */ addi r26, r26, 0x30 -/* 80099878 000967D8 3B 18 00 01 */ addi r24, r24, 1 -lbl_8009987C: -/* 8009987C 000967DC 80 1C 00 48 */ lwz r0, 0x48(r28) -/* 80099880 000967E0 7C 18 00 00 */ cmpw r24, r0 -/* 80099884 000967E4 41 80 FF 88 */ blt lbl_8009980C -/* 80099888 000967E8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009988C 000967EC 48 13 A1 45 */ bl CurrentWorldAssetId__10CGameStateCFv -/* 80099890 000967F0 FC 20 E0 90 */ fmr f1, f28 -/* 80099894 000967F4 7C 65 1B 78 */ mr r5, r3 -/* 80099898 000967F8 80 9F 00 9C */ lwz r4, 0x9c(r31) -/* 8009989C 000967FC 7F 26 CB 78 */ mr r6, r25 -/* 800998A0 00096800 C0 5F 01 DC */ lfs f2, 0x1dc(r31) -/* 800998A4 00096804 7F C7 F3 78 */ mr r7, r30 -/* 800998A8 00096808 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 800998AC 0009680C 39 01 07 54 */ addi r8, r1, 0x754 -/* 800998B0 00096810 39 21 07 E4 */ addi r9, r1, 0x7e4 -/* 800998B4 00096814 48 16 96 1D */ bl sub_80202ed0 -/* 800998B8 00096818 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 800998BC 0009681C 3C A0 80 5A */ lis r5, skZero3f@ha -/* 800998C0 00096820 7C 64 1B 78 */ mr r4, r3 -/* 800998C4 00096824 7F 63 DB 78 */ mr r3, r27 -/* 800998C8 00096828 FC 40 08 90 */ fmr f2, f1 -/* 800998CC 0009682C 38 A5 66 A0 */ addi r5, r5, skZero3f@l -/* 800998D0 00096830 48 16 89 A5 */ bl Draw__12CMapUniverseCFRCQ212CMapUniverse21CMapUniverseDrawParmsRC9CVector3fff -lbl_800998D4: -/* 800998D4 00096834 7F E3 FB 78 */ mr r3, r31 -/* 800998D8 00096838 38 80 00 02 */ li r4, 2 -/* 800998DC 0009683C 4B FF C4 49 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 800998E0 00096840 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800998E4 00096844 40 82 05 58 */ bne lbl_80099E3C -/* 800998E8 00096848 7F A5 EB 78 */ mr r5, r29 -/* 800998EC 0009684C 38 61 03 D0 */ addi r3, r1, 0x3d0 -/* 800998F0 00096850 38 81 07 54 */ addi r4, r1, 0x754 -/* 800998F4 00096854 48 27 90 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800998F8 00096858 38 61 06 C4 */ addi r3, r1, 0x6c4 -/* 800998FC 0009685C 38 81 03 D0 */ addi r4, r1, 0x3d0 -/* 80099900 00096860 48 27 92 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80099904 00096864 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80099908 00096868 80 1E 08 50 */ lwz r0, 0x850(r30) -/* 8009990C 0009686C 7C 03 00 40 */ cmplw r3, r0 -/* 80099910 00096870 40 82 02 68 */ bne lbl_80099B78 -/* 80099914 00096874 48 27 05 CD */ bl GetSecondsMod900__9CGraphicsFv -/* 80099918 00096878 C0 42 8B E8 */ lfs f2, lbl_805AA908@sda21(r2) -/* 8009991C 0009687C C0 02 8B 74 */ lfs f0, lbl_805AA894@sda21(r2) -/* 80099920 00096880 EC 22 00 78 */ fmsubs f1, f2, f1, f0 -/* 80099924 00096884 48 27 B4 CD */ bl FastSinR__5CMathFf -/* 80099928 00096888 C0 42 8B 80 */ lfs f2, lbl_805AA8A0@sda21(r2) -/* 8009992C 0009688C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80099930 00096890 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) -/* 80099934 00096894 38 6D 85 DC */ addi r3, r13, lbl_805A719C@sda21 -/* 80099938 00096898 EC 22 08 2A */ fadds f1, f2, f1 -/* 8009993C 0009689C 38 AD 85 E0 */ addi r5, r13, lbl_805A71A0@sda21 -/* 80099940 000968A0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80099944 000968A4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80099948 000968A8 4B F7 29 6D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8009994C 000968AC 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80099950 000968B0 C0 42 8B EC */ lfs f2, lbl_805AA90C@sda21(r2) -/* 80099954 000968B4 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80099958 000968B8 C0 24 00 0C */ lfs f1, 0xc(r4) -/* 8009995C 000968BC EC 42 00 32 */ fmuls f2, f2, f0 -/* 80099960 000968C0 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80099964 000968C4 C3 83 00 00 */ lfs f28, 0(r3) -/* 80099968 000968C8 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8009996C 000968CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80099970 000968D0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80099974 000968D4 40 80 00 0C */ bge lbl_80099980 -/* 80099978 000968D8 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009997C 000968DC 48 00 00 08 */ b lbl_80099984 -lbl_80099980: -/* 80099980 000968E0 38 61 00 3C */ addi r3, r1, 0x3c -lbl_80099984: -/* 80099984 000968E4 C3 43 00 00 */ lfs f26, 0(r3) -/* 80099988 000968E8 7F C5 F3 78 */ mr r5, r30 -/* 8009998C 000968EC 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 80099990 000968F0 38 61 03 A0 */ addi r3, r1, 0x3a0 -/* 80099994 000968F4 4B F7 0F D5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 80099998 000968F8 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8009999C 000968FC 38 81 03 A0 */ addi r4, r1, 0x3a0 -/* 800999A0 00096900 4B F8 1E 61 */ bl sub_8001b800 -/* 800999A4 00096904 C0 81 00 D0 */ lfs f4, 0xd0(r1) -/* 800999A8 00096908 3C 00 43 30 */ lis r0, 0x4330 -/* 800999AC 0009690C C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) -/* 800999B0 00096910 90 01 08 18 */ stw r0, 0x818(r1) -/* 800999B4 00096914 EC 44 00 32 */ fmuls f2, f4, f0 -/* 800999B8 00096918 C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) -/* 800999BC 0009691C C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) -/* 800999C0 00096920 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 800999C4 00096924 FC 40 10 1E */ fctiwz f2, f2 -/* 800999C8 00096928 D8 41 08 20 */ stfd f2, 0x820(r1) -/* 800999CC 0009692C 80 01 08 24 */ lwz r0, 0x824(r1) -/* 800999D0 00096930 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800999D4 00096934 90 01 08 1C */ stw r0, 0x81c(r1) -/* 800999D8 00096938 C8 41 08 18 */ lfd f2, 0x818(r1) -/* 800999DC 0009693C EC 42 18 28 */ fsubs f2, f2, f3 -/* 800999E0 00096940 EF A2 20 7C */ fnmsubs f29, f2, f1, f4 -/* 800999E4 00096944 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 800999E8 00096948 40 80 00 08 */ bge lbl_800999F0 -/* 800999EC 0009694C EF BD 08 2A */ fadds f29, f29, f1 -lbl_800999F0: -/* 800999F0 00096950 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 800999F4 00096954 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800999F8 00096958 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 800999FC 0009695C C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80099A00 00096960 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80099A04 00096964 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 80099A08 00096968 80 9E 08 CC */ lwz r4, 0x8cc(r30) -/* 80099A0C 0009696C D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 80099A10 00096970 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 80099A14 00096974 4B FE 69 E9 */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId -/* 80099A18 00096978 C0 22 8B 6C */ lfs f1, lbl_805AA88C@sda21(r2) -/* 80099A1C 0009697C C0 02 8B BC */ lfs f0, lbl_805AA8DC@sda21(r2) -/* 80099A20 00096980 C0 A3 00 04 */ lfs f5, 4(r3) -/* 80099A24 00096984 C0 61 00 B4 */ lfs f3, 0xb4(r1) -/* 80099A28 00096988 EC 01 07 3A */ fmadds f0, f1, f28, f0 -/* 80099A2C 0009698C C0 83 00 08 */ lfs f4, 8(r3) -/* 80099A30 00096990 C0 43 00 00 */ lfs f2, 0(r3) -/* 80099A34 00096994 EC A5 18 2A */ fadds f5, f5, f3 -/* 80099A38 00096998 C0 61 00 B8 */ lfs f3, 0xb8(r1) -/* 80099A3C 0009699C EC 3A 00 32 */ fmuls f1, f26, f0 -/* 80099A40 000969A0 C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 80099A44 000969A4 38 61 02 BC */ addi r3, r1, 0x2bc -/* 80099A48 000969A8 EC 64 18 2A */ fadds f3, f4, f3 -/* 80099A4C 000969AC EC 02 00 2A */ fadds f0, f2, f0 -/* 80099A50 000969B0 D0 A1 00 C0 */ stfs f5, 0xc0(r1) -/* 80099A54 000969B4 D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 80099A58 000969B8 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 80099A5C 000969BC D3 A1 00 18 */ stfs f29, 0x18(r1) -/* 80099A60 000969C0 48 27 97 E1 */ bl Scale__12CTransform4fFf -/* 80099A64 000969C4 38 61 02 EC */ addi r3, r1, 0x2ec -/* 80099A68 000969C8 38 81 00 18 */ addi r4, r1, 0x18 -/* 80099A6C 000969CC 48 27 69 9D */ bl RotateZ__9CMatrix3fFRC9CRelAngle -/* 80099A70 000969D0 38 61 03 10 */ addi r3, r1, 0x310 -/* 80099A74 000969D4 38 81 02 EC */ addi r4, r1, 0x2ec -/* 80099A78 000969D8 38 A1 00 BC */ addi r5, r1, 0xbc -/* 80099A7C 000969DC 48 27 97 FD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80099A80 000969E0 7C 65 1B 78 */ mr r5, r3 -/* 80099A84 000969E4 38 61 03 40 */ addi r3, r1, 0x340 -/* 80099A88 000969E8 38 81 06 C4 */ addi r4, r1, 0x6c4 -/* 80099A8C 000969EC 48 27 8E C5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80099A90 000969F0 38 61 03 70 */ addi r3, r1, 0x370 -/* 80099A94 000969F4 38 81 03 40 */ addi r4, r1, 0x340 -/* 80099A98 000969F8 38 A1 02 BC */ addi r5, r1, 0x2bc -/* 80099A9C 000969FC 48 27 8E B5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80099AA0 00096A00 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80099AA4 00096A04 38 81 03 70 */ addi r4, r1, 0x370 -/* 80099AA8 00096A08 81 83 00 00 */ lwz r12, 0(r3) -/* 80099AAC 00096A0C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80099AB0 00096A10 7D 89 03 A6 */ mtctr r12 -/* 80099AB4 00096A14 4E 80 04 21 */ bctrl -/* 80099AB8 00096A18 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 80099ABC 00096A1C 38 80 00 00 */ li r4, 0 -/* 80099AC0 00096A20 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80099AC4 00096A24 2C 00 00 00 */ cmpwi r0, 0 -/* 80099AC8 00096A28 41 82 00 14 */ beq lbl_80099ADC -/* 80099ACC 00096A2C 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 80099AD0 00096A30 2C 00 00 00 */ cmpwi r0, 0 -/* 80099AD4 00096A34 41 82 00 08 */ beq lbl_80099ADC -/* 80099AD8 00096A38 38 80 00 01 */ li r4, 1 -lbl_80099ADC: -/* 80099ADC 00096A3C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80099AE0 00096A40 41 82 00 0C */ beq lbl_80099AEC -/* 80099AE4 00096A44 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80099AE8 00096A48 48 00 00 08 */ b lbl_80099AF0 -lbl_80099AEC: -/* 80099AEC 00096A4C C0 1F 00 DC */ lfs f0, 0xdc(r31) -lbl_80099AF0: -/* 80099AF0 00096A50 80 CD A1 44 */ lwz r6, gpTweakAutoMapper@sda21(r13) -/* 80099AF4 00096A54 3C 00 43 30 */ lis r0, 0x4330 -/* 80099AF8 00096A58 90 01 08 28 */ stw r0, 0x828(r1) -/* 80099AFC 00096A5C EC 40 06 F2 */ fmuls f2, f0, f27 -/* 80099B00 00096A60 88 06 00 F3 */ lbz r0, 0xf3(r6) -/* 80099B04 00096A64 C8 22 8C 00 */ lfd f1, lbl_805AA920@sda21(r2) -/* 80099B08 00096A68 90 01 08 2C */ stw r0, 0x82c(r1) -/* 80099B0C 00096A6C C8 01 08 28 */ lfd f0, 0x828(r1) -/* 80099B10 00096A70 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80099B14 00096A74 EF E2 00 32 */ fmuls f31, f2, f0 -/* 80099B18 00096A78 F3 E1 A0 11 */ psq_st f31, 17(r1), 1, qr2 -/* 80099B1C 00096A7C 38 80 00 03 */ li r4, 3 -/* 80099B20 00096A80 60 85 00 08 */ ori r5, r4, 8 -/* 80099B24 00096A84 81 06 00 F0 */ lwz r8, 0xf0(r6) -/* 80099B28 00096A88 89 21 00 11 */ lbz r9, 0x11(r1) -/* 80099B2C 00096A8C 54 A0 04 3A */ rlwinm r0, r5, 0, 0x10, 0x1d -/* 80099B30 00096A90 38 E0 00 05 */ li r7, 5 -/* 80099B34 00096A94 38 C0 00 00 */ li r6, 0 -/* 80099B38 00096A98 51 09 00 2E */ rlwimi r9, r8, 0, 0, 0x17 -/* 80099B3C 00096A9C 60 00 00 01 */ ori r0, r0, 1 -/* 80099B40 00096AA0 B0 81 00 42 */ sth r4, 0x42(r1) -/* 80099B44 00096AA4 38 81 00 50 */ addi r4, r1, 0x50 -/* 80099B48 00096AA8 98 E1 00 40 */ stb r7, 0x40(r1) -/* 80099B4C 00096AAC 98 C1 00 41 */ stb r6, 0x41(r1) -/* 80099B50 00096AB0 91 21 00 44 */ stw r9, 0x44(r1) -/* 80099B54 00096AB4 98 E1 00 48 */ stb r7, 0x48(r1) -/* 80099B58 00096AB8 98 C1 00 49 */ stb r6, 0x49(r1) -/* 80099B5C 00096ABC B0 A1 00 4A */ sth r5, 0x4a(r1) -/* 80099B60 00096AC0 91 21 00 4C */ stw r9, 0x4c(r1) -/* 80099B64 00096AC4 98 E1 00 50 */ stb r7, 0x50(r1) -/* 80099B68 00096AC8 98 C1 00 51 */ stb r6, 0x51(r1) -/* 80099B6C 00096ACC B0 01 00 52 */ sth r0, 0x52(r1) -/* 80099B70 00096AD0 91 21 00 54 */ stw r9, 0x54(r1) -/* 80099B74 00096AD4 48 2B C0 61 */ bl Draw__6CModelCFRC11CModelFlags -lbl_80099B78: -/* 80099B78 00096AD8 7F E3 FB 78 */ mr r3, r31 -/* 80099B7C 00096ADC 38 80 00 01 */ li r4, 1 -/* 80099B80 00096AE0 4B FF C1 A5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 80099B84 00096AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80099B88 00096AE8 41 82 02 B4 */ beq lbl_80099E3C -/* 80099B8C 00096AEC 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80099B90 00096AF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80099B94 00096AF4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80099B98 00096AF8 7D 89 03 A6 */ mtctr r12 -/* 80099B9C 00096AFC 4E 80 04 21 */ bctrl -/* 80099BA0 00096B00 7C 7D 1B 78 */ mr r29, r3 -/* 80099BA4 00096B04 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80099BA8 00096B08 81 83 00 00 */ lwz r12, 0(r3) -/* 80099BAC 00096B0C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80099BB0 00096B10 7D 89 03 A6 */ mtctr r12 -/* 80099BB4 00096B14 4E 80 04 21 */ bctrl -/* 80099BB8 00096B18 83 9F 01 FC */ lwz r28, 0x1fc(r31) -/* 80099BBC 00096B1C 7C 7B 1B 78 */ mr r27, r3 -/* 80099BC0 00096B20 48 00 02 70 */ b lbl_80099E30 -lbl_80099BC4: -/* 80099BC4 00096B24 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 80099BC8 00096B28 7C 00 E8 40 */ cmplw r0, r29 -/* 80099BCC 00096B2C 40 82 02 60 */ bne lbl_80099E2C -/* 80099BD0 00096B30 80 9C 00 14 */ lwz r4, 0x14(r28) -/* 80099BD4 00096B34 7F 63 DB 78 */ mr r3, r27 -/* 80099BD8 00096B38 48 00 77 E1 */ bl GetMapArea__9CMapWorldCFi -/* 80099BDC 00096B3C 7C 78 1B 79 */ or. r24, r3, r3 -/* 80099BE0 00096B40 41 82 02 4C */ beq lbl_80099E2C -/* 80099BE4 00096B44 38 61 02 98 */ addi r3, r1, 0x298 -/* 80099BE8 00096B48 38 81 07 E4 */ addi r4, r1, 0x7e4 -/* 80099BEC 00096B4C 48 27 95 09 */ bl BuildMatrix3f__12CTransform4fCFv -/* 80099BF0 00096B50 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80099BF4 00096B54 38 61 06 94 */ addi r3, r1, 0x694 -/* 80099BF8 00096B58 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 80099BFC 00096B5C 38 81 02 98 */ addi r4, r1, 0x298 -/* 80099C00 00096B60 48 27 96 79 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80099C04 00096B64 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 80099C08 00096B68 7F 04 C3 78 */ mr r4, r24 -/* 80099C0C 00096B6C 80 DC 00 14 */ lwz r6, 0x14(r28) -/* 80099C10 00096B70 38 61 01 78 */ addi r3, r1, 0x178 -/* 80099C14 00096B74 4B FE 68 55 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 80099C18 00096B78 C0 41 01 A4 */ lfs f2, 0x1a4(r1) -/* 80099C1C 00096B7C 38 61 01 18 */ addi r3, r1, 0x118 -/* 80099C20 00096B80 C0 21 01 94 */ lfs f1, 0x194(r1) -/* 80099C24 00096B84 C0 01 01 84 */ lfs f0, 0x184(r1) -/* 80099C28 00096B88 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 80099C2C 00096B8C C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 80099C30 00096B90 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80099C34 00096B94 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 80099C38 00096B98 48 27 96 09 */ bl Scale__12CTransform4fFf -/* 80099C3C 00096B9C 7F 04 C3 78 */ mr r4, r24 -/* 80099C40 00096BA0 38 61 00 98 */ addi r3, r1, 0x98 -/* 80099C44 00096BA4 4B FE 70 B9 */ bl GetAreaCenterPoint__8CMapAreaCFv -/* 80099C48 00096BA8 38 61 01 48 */ addi r3, r1, 0x148 -/* 80099C4C 00096BAC 38 81 00 98 */ addi r4, r1, 0x98 -/* 80099C50 00096BB0 48 27 94 F1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80099C54 00096BB4 38 61 01 A8 */ addi r3, r1, 0x1a8 -/* 80099C58 00096BB8 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 80099C5C 00096BBC 48 27 94 E5 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80099C60 00096BC0 38 61 01 D8 */ addi r3, r1, 0x1d8 -/* 80099C64 00096BC4 38 81 06 C4 */ addi r4, r1, 0x6c4 -/* 80099C68 00096BC8 38 A1 01 A8 */ addi r5, r1, 0x1a8 -/* 80099C6C 00096BCC 48 27 8C E5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80099C70 00096BD0 38 61 02 08 */ addi r3, r1, 0x208 -/* 80099C74 00096BD4 38 81 01 D8 */ addi r4, r1, 0x1d8 -/* 80099C78 00096BD8 38 A1 01 48 */ addi r5, r1, 0x148 -/* 80099C7C 00096BDC 48 27 8C D5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80099C80 00096BE0 38 61 02 38 */ addi r3, r1, 0x238 -/* 80099C84 00096BE4 38 81 02 08 */ addi r4, r1, 0x208 -/* 80099C88 00096BE8 38 A1 01 18 */ addi r5, r1, 0x118 -/* 80099C8C 00096BEC 48 27 8C C5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80099C90 00096BF0 38 61 02 68 */ addi r3, r1, 0x268 -/* 80099C94 00096BF4 38 81 02 38 */ addi r4, r1, 0x238 -/* 80099C98 00096BF8 38 A1 06 94 */ addi r5, r1, 0x694 -/* 80099C9C 00096BFC 48 27 8C B5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80099CA0 00096C00 38 61 02 68 */ addi r3, r1, 0x268 -/* 80099CA4 00096C04 48 27 29 3D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 80099CA8 00096C08 80 1C 00 08 */ lwz r0, 8(r28) -/* 80099CAC 00096C0C C3 22 8B A8 */ lfs f25, lbl_805AA8C8@sda21(r2) -/* 80099CB0 00096C10 2C 00 00 01 */ cmpwi r0, 1 -/* 80099CB4 00096C14 40 82 00 08 */ bne lbl_80099CBC -/* 80099CB8 00096C18 C3 3C 00 0C */ lfs f25, 0xc(r28) -lbl_80099CBC: -/* 80099CBC 00096C1C C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 80099CC0 00096C20 FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 80099CC4 00096C24 40 81 01 68 */ ble lbl_80099E2C -/* 80099CC8 00096C28 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 80099CCC 00096C2C 38 60 00 00 */ li r3, 0 -/* 80099CD0 00096C30 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 80099CD4 00096C34 48 27 05 E5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80099CD8 00096C38 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 80099CDC 00096C3C 38 80 00 00 */ li r4, 0 -/* 80099CE0 00096C40 38 A0 00 01 */ li r5, 1 -/* 80099CE4 00096C44 48 27 5A 59 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80099CE8 00096C48 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80099CEC 00096C4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80099CF0 00096C50 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80099CF4 00096C54 7D 89 03 A6 */ mtctr r12 -/* 80099CF8 00096C58 4E 80 04 21 */ bctrl -/* 80099CFC 00096C5C 38 60 00 98 */ li r3, 0x98 -/* 80099D00 00096C60 48 27 19 69 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 80099D04 00096C64 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 80099D08 00096C68 38 60 00 00 */ li r3, 0 -/* 80099D0C 00096C6C 2C 00 00 00 */ cmpwi r0, 0 -/* 80099D10 00096C70 41 82 00 14 */ beq lbl_80099D24 -/* 80099D14 00096C74 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 80099D18 00096C78 2C 00 00 00 */ cmpwi r0, 0 -/* 80099D1C 00096C7C 41 82 00 08 */ beq lbl_80099D24 -/* 80099D20 00096C80 38 60 00 01 */ li r3, 1 -lbl_80099D24: -/* 80099D24 00096C84 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80099D28 00096C88 41 82 00 0C */ beq lbl_80099D34 -/* 80099D2C 00096C8C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80099D30 00096C90 48 00 00 08 */ b lbl_80099D38 -lbl_80099D34: -/* 80099D34 00096C94 C0 1F 00 DC */ lfs f0, 0xdc(r31) -lbl_80099D38: -/* 80099D38 00096C98 EC 19 00 32 */ fmuls f0, f25, f0 -/* 80099D3C 00096C9C 38 00 00 FF */ li r0, 0xff -/* 80099D40 00096CA0 C0 22 8B F0 */ lfs f1, lbl_805AA910@sda21(r2) -/* 80099D44 00096CA4 98 01 00 34 */ stb r0, 0x34(r1) -/* 80099D48 00096CA8 EC 00 06 F2 */ fmuls f0, f0, f27 -/* 80099D4C 00096CAC 98 01 00 35 */ stb r0, 0x35(r1) -/* 80099D50 00096CB0 EF C1 00 32 */ fmuls f30, f1, f0 -/* 80099D54 00096CB4 98 01 00 36 */ stb r0, 0x36(r1) -/* 80099D58 00096CB8 98 01 00 37 */ stb r0, 0x37(r1) -/* 80099D5C 00096CBC F3 C1 A0 10 */ psq_st f30, 16(r1), 1, qr2 -/* 80099D60 00096CC0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80099D64 00096CC4 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80099D68 00096CC8 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80099D6C 00096CCC 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 -/* 80099D70 00096CD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80099D74 00096CD4 48 27 17 D5 */ bl StreamColor__9CGraphicsFRC6CColor -/* 80099D78 00096CD8 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 80099D7C 00096CDC C0 42 8B 80 */ lfs f2, lbl_805AA8A0@sda21(r2) -/* 80099D80 00096CE0 48 27 16 E5 */ bl StreamTexcoord__9CGraphicsFff -/* 80099D84 00096CE4 C0 42 8B F4 */ lfs f2, lbl_805AA914@sda21(r2) -/* 80099D88 00096CE8 38 61 00 8C */ addi r3, r1, 0x8c -/* 80099D8C 00096CEC C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) -/* 80099D90 00096CF0 C0 02 8B D4 */ lfs f0, lbl_805AA8F4@sda21(r2) -/* 80099D94 00096CF4 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 80099D98 00096CF8 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 80099D9C 00096CFC D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80099DA0 00096D00 48 27 18 21 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80099DA4 00096D04 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 80099DA8 00096D08 FC 40 08 90 */ fmr f2, f1 -/* 80099DAC 00096D0C 48 27 16 B9 */ bl StreamTexcoord__9CGraphicsFff -/* 80099DB0 00096D10 C0 42 8B F4 */ lfs f2, lbl_805AA914@sda21(r2) -/* 80099DB4 00096D14 38 61 00 80 */ addi r3, r1, 0x80 -/* 80099DB8 00096D18 C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) -/* 80099DBC 00096D1C C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 80099DC0 00096D20 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 80099DC4 00096D24 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80099DC8 00096D28 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80099DCC 00096D2C 48 27 17 F5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80099DD0 00096D30 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 80099DD4 00096D34 FC 40 08 90 */ fmr f2, f1 -/* 80099DD8 00096D38 48 27 16 8D */ bl StreamTexcoord__9CGraphicsFff -/* 80099DDC 00096D3C C0 42 8B E0 */ lfs f2, lbl_805AA900@sda21(r2) -/* 80099DE0 00096D40 38 61 00 74 */ addi r3, r1, 0x74 -/* 80099DE4 00096D44 C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) -/* 80099DE8 00096D48 C0 02 8B D4 */ lfs f0, lbl_805AA8F4@sda21(r2) -/* 80099DEC 00096D4C D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80099DF0 00096D50 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 80099DF4 00096D54 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80099DF8 00096D58 48 27 17 C9 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80099DFC 00096D5C C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 80099E00 00096D60 C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) -/* 80099E04 00096D64 48 27 16 61 */ bl StreamTexcoord__9CGraphicsFff -/* 80099E08 00096D68 C0 42 8B E0 */ lfs f2, lbl_805AA900@sda21(r2) -/* 80099E0C 00096D6C 38 61 00 68 */ addi r3, r1, 0x68 -/* 80099E10 00096D70 C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) -/* 80099E14 00096D74 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 80099E18 00096D78 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 80099E1C 00096D7C D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 80099E20 00096D80 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80099E24 00096D84 48 27 17 9D */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80099E28 00096D88 48 27 15 E9 */ bl StreamEnd__9CGraphicsFv -lbl_80099E2C: -/* 80099E2C 00096D8C 83 9C 00 04 */ lwz r28, 4(r28) -lbl_80099E30: -/* 80099E30 00096D90 80 1F 02 00 */ lwz r0, 0x200(r31) -/* 80099E34 00096D94 7C 1C 00 40 */ cmplw r28, r0 -/* 80099E38 00096D98 40 82 FD 8C */ bne lbl_80099BC4 -lbl_80099E3C: -/* 80099E3C 00096D9C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80099E40 00096DA0 38 80 00 00 */ li r4, 0 -/* 80099E44 00096DA4 38 A0 00 00 */ li r5, 0 -/* 80099E48 00096DA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80099E4C 00096DAC 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80099E50 00096DB0 7D 89 03 A6 */ mtctr r12 -/* 80099E54 00096DB4 4E 80 04 21 */ bctrl -/* 80099E58 00096DB8 48 2B 01 55 */ bl White__6CColorFv -/* 80099E5C 00096DBC 7C 64 1B 78 */ mr r4, r3 -/* 80099E60 00096DC0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80099E64 00096DC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80099E68 00096DC8 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80099E6C 00096DCC 7D 89 03 A6 */ mtctr r12 -/* 80099E70 00096DD0 4E 80 04 21 */ bctrl -/* 80099E74 00096DD4 48 27 2B 09 */ bl DisableAllLights__9CGraphicsFv -/* 80099E78 00096DD8 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80099E7C 00096DDC 28 00 00 00 */ cmplwi r0, 0 -/* 80099E80 00096DE0 41 82 00 C4 */ beq lbl_80099F44 -/* 80099E84 00096DE4 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 80099E88 00096DE8 38 60 00 00 */ li r3, 0 -/* 80099E8C 00096DEC 2C 00 00 00 */ cmpwi r0, 0 -/* 80099E90 00096DF0 41 82 00 14 */ beq lbl_80099EA4 -/* 80099E94 00096DF4 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 80099E98 00096DF8 2C 00 00 00 */ cmpwi r0, 0 -/* 80099E9C 00096DFC 41 82 00 08 */ beq lbl_80099EA4 -/* 80099EA0 00096E00 38 60 00 01 */ li r3, 1 -lbl_80099EA4: -/* 80099EA4 00096E04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80099EA8 00096E08 41 82 00 0C */ beq lbl_80099EB4 -/* 80099EAC 00096E0C C3 42 8B 80 */ lfs f26, lbl_805AA8A0@sda21(r2) -/* 80099EB0 00096E10 48 00 00 4C */ b lbl_80099EFC -lbl_80099EB4: -/* 80099EB4 00096E14 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 80099EB8 00096E18 2C 00 00 00 */ cmpwi r0, 0 -/* 80099EBC 00096E1C 41 82 00 20 */ beq lbl_80099EDC -/* 80099EC0 00096E20 C0 3F 01 C4 */ lfs f1, 0x1c4(r31) -/* 80099EC4 00096E24 C3 42 8B A8 */ lfs f26, lbl_805AA8C8@sda21(r2) -/* 80099EC8 00096E28 FC 01 D0 40 */ fcmpo cr0, f1, f26 -/* 80099ECC 00096E2C 40 81 00 30 */ ble lbl_80099EFC -/* 80099ED0 00096E30 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) -/* 80099ED4 00096E34 EF 40 08 24 */ fdivs f26, f0, f1 -/* 80099ED8 00096E38 48 00 00 24 */ b lbl_80099EFC -lbl_80099EDC: -/* 80099EDC 00096E3C C0 5F 01 C4 */ lfs f2, 0x1c4(r31) -/* 80099EE0 00096E40 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 80099EE4 00096E44 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80099EE8 00096E48 40 81 00 0C */ ble lbl_80099EF4 -/* 80099EEC 00096E4C C0 1F 01 C8 */ lfs f0, 0x1c8(r31) -/* 80099EF0 00096E50 EC 20 10 24 */ fdivs f1, f0, f2 -lbl_80099EF4: -/* 80099EF4 00096E54 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 80099EF8 00096E58 EF 40 08 28 */ fsubs f26, f0, f1 -lbl_80099EFC: -/* 80099EFC 00096E5C C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 80099F00 00096E60 FC 40 08 90 */ fmr f2, f1 -/* 80099F04 00096E64 48 27 04 DD */ bl SetDepthRange__9CGraphicsFff -/* 80099F08 00096E68 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80099F0C 00096E6C D3 41 00 58 */ stfs f26, 0x58(r1) -/* 80099F10 00096E70 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80099F14 00096E74 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80099F18 00096E78 C0 45 00 00 */ lfs f2, 0(r5) -/* 80099F1C 00096E7C 38 81 00 58 */ addi r4, r1, 0x58 -/* 80099F20 00096E80 C0 25 00 04 */ lfs f1, 4(r5) -/* 80099F24 00096E84 C0 05 00 08 */ lfs f0, 8(r5) -/* 80099F28 00096E88 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 80099F2C 00096E8C D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80099F30 00096E90 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80099F34 00096E94 48 22 88 01 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -/* 80099F38 00096E98 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 80099F3C 00096E9C C0 42 8B FC */ lfs f2, lbl_805AA91C@sda21(r2) -/* 80099F40 00096EA0 48 27 04 A1 */ bl SetDepthRange__9CGraphicsFff -lbl_80099F44: -/* 80099F44 00096EA4 E3 E1 08 B8 */ psq_l f31, -1864(r1), 0, qr0 -/* 80099F48 00096EA8 CB E1 08 B0 */ lfd f31, 0x8b0(r1) -/* 80099F4C 00096EAC E3 C1 08 A8 */ psq_l f30, -1880(r1), 0, qr0 -/* 80099F50 00096EB0 CB C1 08 A0 */ lfd f30, 0x8a0(r1) -/* 80099F54 00096EB4 E3 A1 08 98 */ psq_l f29, -1896(r1), 0, qr0 -/* 80099F58 00096EB8 CB A1 08 90 */ lfd f29, 0x890(r1) -/* 80099F5C 00096EBC E3 81 08 88 */ psq_l f28, -1912(r1), 0, qr0 -/* 80099F60 00096EC0 CB 81 08 80 */ lfd f28, 0x880(r1) -/* 80099F64 00096EC4 E3 61 08 78 */ psq_l f27, -1928(r1), 0, qr0 -/* 80099F68 00096EC8 CB 61 08 70 */ lfd f27, 0x870(r1) -/* 80099F6C 00096ECC E3 41 08 68 */ psq_l f26, -1944(r1), 0, qr0 -/* 80099F70 00096ED0 CB 41 08 60 */ lfd f26, 0x860(r1) -/* 80099F74 00096ED4 E3 21 08 58 */ psq_l f25, -1960(r1), 0, qr0 -/* 80099F78 00096ED8 CB 21 08 50 */ lfd f25, 0x850(r1) -/* 80099F7C 00096EDC BB 01 08 30 */ lmw r24, 0x830(r1) -/* 80099F80 00096EE0 80 01 08 C4 */ lwz r0, 0x8c4(r1) -/* 80099F84 00096EE4 7C 08 03 A6 */ mtlr r0 -/* 80099F88 00096EE8 38 21 08 C0 */ addi r1, r1, 0x8c0 -/* 80099F8C 00096EEC 4E 80 00 20 */ blr - -.global ProcessMapPanInput__11CAutoMapperFRC11CFinalInputRC13CStateManager -ProcessMapPanInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: -/* 80099F90 00096EF0 94 21 FE 50 */ stwu r1, -0x1b0(r1) -/* 80099F94 00096EF4 7C 08 02 A6 */ mflr r0 -/* 80099F98 00096EF8 90 01 01 B4 */ stw r0, 0x1b4(r1) -/* 80099F9C 00096EFC DB E1 01 A0 */ stfd f31, 0x1a0(r1) -/* 80099FA0 00096F00 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 -/* 80099FA4 00096F04 DB C1 01 90 */ stfd f30, 0x190(r1) -/* 80099FA8 00096F08 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 -/* 80099FAC 00096F0C DB A1 01 80 */ stfd f29, 0x180(r1) -/* 80099FB0 00096F10 F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 -/* 80099FB4 00096F14 DB 81 01 70 */ stfd f28, 0x170(r1) -/* 80099FB8 00096F18 F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 -/* 80099FBC 00096F1C DB 61 01 60 */ stfd f27, 0x160(r1) -/* 80099FC0 00096F20 F3 61 01 68 */ psq_st f27, 360(r1), 0, qr0 -/* 80099FC4 00096F24 93 E1 01 5C */ stw r31, 0x15c(r1) -/* 80099FC8 00096F28 93 C1 01 58 */ stw r30, 0x158(r1) -/* 80099FCC 00096F2C 93 A1 01 54 */ stw r29, 0x154(r1) -/* 80099FD0 00096F30 7C 7F 1B 78 */ mr r31, r3 -/* 80099FD4 00096F34 7C 9D 23 78 */ mr r29, r4 -/* 80099FD8 00096F38 7C BE 2B 78 */ mr r30, r5 -/* 80099FDC 00096F3C 38 60 00 2A */ li r3, 0x2a -/* 80099FE0 00096F40 4B F7 29 39 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80099FE4 00096F44 FF 80 08 90 */ fmr f28, f1 -/* 80099FE8 00096F48 7F A4 EB 78 */ mr r4, r29 -/* 80099FEC 00096F4C 38 60 00 2B */ li r3, 0x2b -/* 80099FF0 00096F50 4B F7 29 29 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80099FF4 00096F54 FF A0 08 90 */ fmr f29, f1 -/* 80099FF8 00096F58 7F A4 EB 78 */ mr r4, r29 -/* 80099FFC 00096F5C 38 60 00 2C */ li r3, 0x2c -/* 8009A000 00096F60 4B F7 29 19 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8009A004 00096F64 FF C0 08 90 */ fmr f30, f1 -/* 8009A008 00096F68 7F A4 EB 78 */ mr r4, r29 -/* 8009A00C 00096F6C 38 60 00 2D */ li r3, 0x2d -/* 8009A010 00096F70 4B F7 29 09 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8009A014 00096F74 FF E0 08 90 */ fmr f31, f1 -/* 8009A018 00096F78 38 61 01 00 */ addi r3, r1, 0x100 -/* 8009A01C 00096F7C 38 9F 00 B0 */ addi r4, r31, 0xb0 -/* 8009A020 00096F80 48 27 80 6D */ bl BuildTransform__11CQuaternionCFv -/* 8009A024 00096F84 38 61 01 24 */ addi r3, r1, 0x124 -/* 8009A028 00096F88 38 81 01 00 */ addi r4, r1, 0x100 -/* 8009A02C 00096F8C 48 27 5F F9 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8009A030 00096F90 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A034 00096F94 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 8009A038 00096F98 41 81 00 1C */ bgt lbl_8009A054 -/* 8009A03C 00096F9C FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8009A040 00096FA0 41 81 00 14 */ bgt lbl_8009A054 -/* 8009A044 00096FA4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8009A048 00096FA8 41 81 00 0C */ bgt lbl_8009A054 -/* 8009A04C 00096FAC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8009A050 00096FB0 40 81 02 A4 */ ble lbl_8009A2F4 -lbl_8009A054: -/* 8009A054 00096FB4 C0 22 8C 08 */ lfs f1, lbl_805AA928@sda21(r2) -/* 8009A058 00096FB8 7F E3 FB 78 */ mr r3, r31 -/* 8009A05C 00096FBC C0 1D 00 00 */ lfs f0, 0(r29) -/* 8009A060 00096FC0 EF 61 00 32 */ fmuls f27, f1, f0 -/* 8009A064 00096FC4 4B FF BC E9 */ bl GetFinalMapScreenCameraMoveSpeed__11CAutoMapperCFv -/* 8009A068 00096FC8 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A06C 00096FCC 38 80 00 00 */ li r4, 0 -/* 8009A070 00096FD0 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 8009A074 00096FD4 40 81 00 08 */ ble lbl_8009A07C -/* 8009A078 00096FD8 38 80 00 01 */ li r4, 1 -lbl_8009A07C: -/* 8009A07C 00096FDC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A080 00096FE0 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8009A084 00096FE4 40 81 00 08 */ ble lbl_8009A08C -/* 8009A088 00096FE8 38 84 00 02 */ addi r4, r4, 2 -lbl_8009A08C: -/* 8009A08C 00096FEC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A090 00096FF0 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8009A094 00096FF4 40 81 00 08 */ ble lbl_8009A09C -/* 8009A098 00096FF8 38 84 00 04 */ addi r4, r4, 4 -lbl_8009A09C: -/* 8009A09C 00096FFC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A0A0 00097000 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8009A0A4 00097004 40 81 00 08 */ ble lbl_8009A0AC -/* 8009A0A8 00097008 38 84 00 08 */ addi r4, r4, 8 -lbl_8009A0AC: -/* 8009A0AC 0009700C 28 04 00 0A */ cmplwi r4, 0xa -/* 8009A0B0 00097010 41 81 00 78 */ bgt lbl_8009A128 -/* 8009A0B4 00097014 3C 60 80 3E */ lis r3, lbl_803DAE7C@ha -/* 8009A0B8 00097018 54 80 10 3A */ slwi r0, r4, 2 -/* 8009A0BC 0009701C 38 63 AE 7C */ addi r3, r3, lbl_803DAE7C@l -/* 8009A0C0 00097020 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8009A0C4 00097024 7C 09 03 A6 */ mtctr r0 -/* 8009A0C8 00097028 4E 80 04 20 */ bctr -/* 8009A0CC 0009702C 38 00 00 01 */ li r0, 1 -/* 8009A0D0 00097030 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8009A0D4 00097034 48 00 00 54 */ b lbl_8009A128 -/* 8009A0D8 00097038 38 00 00 05 */ li r0, 5 -/* 8009A0DC 0009703C 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8009A0E0 00097040 48 00 00 48 */ b lbl_8009A128 -/* 8009A0E4 00097044 38 00 00 03 */ li r0, 3 -/* 8009A0E8 00097048 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8009A0EC 0009704C 48 00 00 3C */ b lbl_8009A128 -/* 8009A0F0 00097050 38 00 00 02 */ li r0, 2 -/* 8009A0F4 00097054 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8009A0F8 00097058 48 00 00 30 */ b lbl_8009A128 -/* 8009A0FC 0009705C 38 00 00 04 */ li r0, 4 -/* 8009A100 00097060 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8009A104 00097064 48 00 00 24 */ b lbl_8009A128 -/* 8009A108 00097068 38 00 00 07 */ li r0, 7 -/* 8009A10C 0009706C 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8009A110 00097070 48 00 00 18 */ b lbl_8009A128 -/* 8009A114 00097074 38 00 00 08 */ li r0, 8 -/* 8009A118 00097078 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8009A11C 0009707C 48 00 00 0C */ b lbl_8009A128 -/* 8009A120 00097080 38 00 00 06 */ li r0, 6 -/* 8009A124 00097084 90 1F 02 E8 */ stw r0, 0x2e8(r31) -lbl_8009A128: -/* 8009A128 00097088 EC 7F F0 28 */ fsubs f3, f31, f30 -/* 8009A12C 0009708C C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) -/* 8009A130 00097090 EC 1C E8 28 */ fsubs f0, f28, f29 -/* 8009A134 00097094 38 61 00 88 */ addi r3, r1, 0x88 -/* 8009A138 00097098 EC 5B 00 B2 */ fmuls f2, f27, f2 -/* 8009A13C 0009709C 38 81 01 24 */ addi r4, r1, 0x124 -/* 8009A140 000970A0 EC 7B 00 F2 */ fmuls f3, f27, f3 -/* 8009A144 000970A4 38 A1 00 C4 */ addi r5, r1, 0xc4 -/* 8009A148 000970A8 EC 1B 00 32 */ fmuls f0, f27, f0 -/* 8009A14C 000970AC EC 41 00 B2 */ fmuls f2, f1, f2 -/* 8009A150 000970B0 EC 61 00 F2 */ fmuls f3, f1, f3 -/* 8009A154 000970B4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8009A158 000970B8 D0 41 00 C8 */ stfs f2, 0xc8(r1) -/* 8009A15C 000970BC D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 8009A160 000970C0 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 8009A164 000970C4 48 27 61 31 */ bl __ml__9CMatrix3fCFRC9CVector3f -/* 8009A168 000970C8 C0 9F 00 CC */ lfs f4, 0xcc(r31) -/* 8009A16C 000970CC 38 61 00 7C */ addi r3, r1, 0x7c -/* 8009A170 000970D0 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 8009A174 000970D4 C0 7F 00 D0 */ lfs f3, 0xd0(r31) -/* 8009A178 000970D8 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 8009A17C 000970DC EC 24 08 2A */ fadds f1, f4, f1 -/* 8009A180 000970E0 C0 5F 00 C8 */ lfs f2, 0xc8(r31) -/* 8009A184 000970E4 EC A3 00 2A */ fadds f5, f3, f0 -/* 8009A188 000970E8 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8009A18C 000970EC EC 81 20 28 */ fsubs f4, f1, f4 -/* 8009A190 000970F0 D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 8009A194 000970F4 EC 22 00 2A */ fadds f1, f2, f0 -/* 8009A198 000970F8 C3 9D 00 00 */ lfs f28, 0(r29) -/* 8009A19C 000970FC EC 65 18 28 */ fsubs f3, f5, f3 -/* 8009A1A0 00097100 D0 A1 00 C0 */ stfs f5, 0xc0(r1) -/* 8009A1A4 00097104 EC 01 10 28 */ fsubs f0, f1, f2 -/* 8009A1A8 00097108 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 8009A1AC 0009710C D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8009A1B0 00097110 D0 81 00 80 */ stfs f4, 0x80(r1) -/* 8009A1B4 00097114 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 8009A1B8 00097118 48 27 A7 01 */ bl Magnitude__9CVector3fCFv -/* 8009A1BC 0009711C FC 01 E0 40 */ fcmpo cr0, f1, f28 -/* 8009A1C0 00097120 40 81 00 14 */ ble lbl_8009A1D4 -/* 8009A1C4 00097124 7F E3 FB 78 */ mr r3, r31 -/* 8009A1C8 00097128 38 80 00 01 */ li r4, 1 -/* 8009A1CC 0009712C 4B FF CA 5D */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb -/* 8009A1D0 00097130 48 00 00 10 */ b lbl_8009A1E0 -lbl_8009A1D4: -/* 8009A1D4 00097134 7F E3 FB 78 */ mr r3, r31 -/* 8009A1D8 00097138 38 80 00 00 */ li r4, 0 -/* 8009A1DC 0009713C 4B FF CA 4D */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb -lbl_8009A1E0: -/* 8009A1E0 00097140 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 8009A1E4 00097144 2C 00 00 01 */ cmpwi r0, 1 -/* 8009A1E8 00097148 40 82 00 60 */ bne lbl_8009A248 -/* 8009A1EC 0009714C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8009A1F0 00097150 81 83 00 00 */ lwz r12, 0(r3) -/* 8009A1F4 00097154 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8009A1F8 00097158 7D 89 03 A6 */ mtctr r12 -/* 8009A1FC 0009715C 4E 80 04 21 */ bctrl -/* 8009A200 00097160 C0 41 01 40 */ lfs f2, 0x140(r1) -/* 8009A204 00097164 7C 64 1B 78 */ mr r4, r3 -/* 8009A208 00097168 C0 21 01 34 */ lfs f1, 0x134(r1) -/* 8009A20C 0009716C 38 61 00 70 */ addi r3, r1, 0x70 -/* 8009A210 00097170 C0 01 01 28 */ lfs f0, 0x128(r1) -/* 8009A214 00097174 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 8009A218 00097178 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 8009A21C 0009717C 38 C1 00 64 */ addi r6, r1, 0x64 -/* 8009A220 00097180 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8009A224 00097184 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8009A228 00097188 48 00 54 2D */ bl ConstrainToWorldVolume__9CMapWorldCFRC9CVector3fRC9CVector3f -/* 8009A22C 0009718C C0 01 00 70 */ lfs f0, 0x70(r1) -/* 8009A230 00097190 D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 8009A234 00097194 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8009A238 00097198 D0 1F 00 CC */ stfs f0, 0xcc(r31) -/* 8009A23C 0009719C C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8009A240 000971A0 D0 1F 00 D0 */ stfs f0, 0xd0(r31) -/* 8009A244 000971A4 48 00 02 D4 */ b lbl_8009A518 -lbl_8009A248: -/* 8009A248 000971A8 83 DF 00 10 */ lwz r30, 0x10(r31) -/* 8009A24C 000971AC 38 61 00 AC */ addi r3, r1, 0xac -/* 8009A250 000971B0 C0 21 00 BC */ lfs f1, 0xbc(r1) -/* 8009A254 000971B4 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 8009A258 000971B8 C0 61 00 C0 */ lfs f3, 0xc0(r1) -/* 8009A25C 000971BC C0 5E 00 28 */ lfs f2, 0x28(r30) -/* 8009A260 000971C0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8009A264 000971C4 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 8009A268 000971C8 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 8009A26C 000971CC EC 43 10 28 */ fsubs f2, f3, f2 -/* 8009A270 000971D0 C3 9E 00 2C */ lfs f28, 0x2c(r30) -/* 8009A274 000971D4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8009A278 000971D8 D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 8009A27C 000971DC D0 01 00 AC */ stfs f0, 0xac(r1) -/* 8009A280 000971E0 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 8009A284 000971E4 48 27 A6 35 */ bl Magnitude__9CVector3fCFv -/* 8009A288 000971E8 FC 01 E0 40 */ fcmpo cr0, f1, f28 -/* 8009A28C 000971EC 40 81 00 4C */ ble lbl_8009A2D8 -/* 8009A290 000971F0 38 61 00 58 */ addi r3, r1, 0x58 -/* 8009A294 000971F4 38 81 00 AC */ addi r4, r1, 0xac -/* 8009A298 000971F8 48 27 A5 B9 */ bl AsNormalized__9CVector3fCFv -/* 8009A29C 000971FC C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 8009A2A0 00097200 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8009A2A4 00097204 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8009A2A8 00097208 EC 9C 00 B2 */ fmuls f4, f28, f2 -/* 8009A2AC 0009720C C0 BE 00 24 */ lfs f5, 0x24(r30) -/* 8009A2B0 00097210 EC 5C 00 72 */ fmuls f2, f28, f1 -/* 8009A2B4 00097214 C0 7E 00 28 */ lfs f3, 0x28(r30) -/* 8009A2B8 00097218 EC 1C 00 32 */ fmuls f0, f28, f0 -/* 8009A2BC 0009721C C0 3E 00 20 */ lfs f1, 0x20(r30) -/* 8009A2C0 00097220 EC 85 20 2A */ fadds f4, f5, f4 -/* 8009A2C4 00097224 EC 43 10 2A */ fadds f2, f3, f2 -/* 8009A2C8 00097228 EC 01 00 2A */ fadds f0, f1, f0 -/* 8009A2CC 0009722C D0 81 00 BC */ stfs f4, 0xbc(r1) -/* 8009A2D0 00097230 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8009A2D4 00097234 D0 41 00 C0 */ stfs f2, 0xc0(r1) -lbl_8009A2D8: -/* 8009A2D8 00097238 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 8009A2DC 0009723C D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 8009A2E0 00097240 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 8009A2E4 00097244 D0 1F 00 CC */ stfs f0, 0xcc(r31) -/* 8009A2E8 00097248 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 8009A2EC 0009724C D0 1F 00 D0 */ stfs f0, 0xd0(r31) -/* 8009A2F0 00097250 48 00 02 28 */ b lbl_8009A518 -lbl_8009A2F4: -/* 8009A2F4 00097254 7F E3 FB 78 */ mr r3, r31 -/* 8009A2F8 00097258 38 80 00 00 */ li r4, 0 -/* 8009A2FC 0009725C 4B FF C9 2D */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb -/* 8009A300 00097260 7F E3 FB 78 */ mr r3, r31 -/* 8009A304 00097264 4B FF BA 95 */ bl GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv -/* 8009A308 00097268 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 8009A30C 0009726C 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 8009A310 00097270 C0 03 00 E0 */ lfs f0, 0xe0(r3) -/* 8009A314 00097274 2C 00 00 01 */ cmpwi r0, 1 -/* 8009A318 00097278 EF E0 00 72 */ fmuls f31, f0, f1 -/* 8009A31C 0009727C 40 82 01 04 */ bne lbl_8009A420 -/* 8009A320 00097280 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8009A324 00097284 81 83 00 00 */ lwz r12, 0(r3) -/* 8009A328 00097288 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8009A32C 0009728C 7D 89 03 A6 */ mtctr r12 -/* 8009A330 00097290 4E 80 04 21 */ bctrl -/* 8009A334 00097294 80 9F 00 A0 */ lwz r4, 0xa0(r31) -/* 8009A338 00097298 7C 7D 1B 78 */ mr r29, r3 -/* 8009A33C 0009729C 48 00 70 7D */ bl GetMapArea__9CMapWorldCFi -/* 8009A340 000972A0 80 9F 00 A0 */ lwz r4, 0xa0(r31) -/* 8009A344 000972A4 7C 7E 1B 78 */ mr r30, r3 -/* 8009A348 000972A8 7F A3 EB 78 */ mr r3, r29 -/* 8009A34C 000972AC 48 00 70 6D */ bl GetMapArea__9CMapWorldCFi -/* 8009A350 000972B0 7F C4 F3 78 */ mr r4, r30 -/* 8009A354 000972B4 7C 7E 1B 78 */ mr r30, r3 -/* 8009A358 000972B8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8009A35C 000972BC 4B FE 69 A1 */ bl GetAreaCenterPoint__8CMapAreaCFv -/* 8009A360 000972C0 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 8009A364 000972C4 7F C4 F3 78 */ mr r4, r30 -/* 8009A368 000972C8 80 DF 00 A0 */ lwz r6, 0xa0(r31) -/* 8009A36C 000972CC 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 8009A370 000972D0 4B FE 60 F9 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 8009A374 000972D4 38 61 00 4C */ addi r3, r1, 0x4c -/* 8009A378 000972D8 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 8009A37C 000972DC 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8009A380 000972E0 48 27 87 69 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8009A384 000972E4 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 8009A388 000972E8 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8009A38C 000972EC C0 1F 00 C8 */ lfs f0, 0xc8(r31) -/* 8009A390 000972F0 C3 81 00 50 */ lfs f28, 0x50(r1) -/* 8009A394 000972F4 C0 5F 00 CC */ lfs f2, 0xcc(r31) -/* 8009A398 000972F8 EC 1E 00 28 */ fsubs f0, f30, f0 -/* 8009A39C 000972FC C0 3F 00 D0 */ lfs f1, 0xd0(r31) -/* 8009A3A0 00097300 C3 A1 00 54 */ lfs f29, 0x54(r1) -/* 8009A3A4 00097304 EC 5C 10 28 */ fsubs f2, f28, f2 -/* 8009A3A8 00097308 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8009A3AC 0009730C EC 1D 08 28 */ fsubs f0, f29, f1 -/* 8009A3B0 00097310 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 8009A3B4 00097314 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 8009A3B8 00097318 48 27 A5 01 */ bl Magnitude__9CVector3fCFv -/* 8009A3BC 0009731C FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8009A3C0 00097320 40 80 00 14 */ bge lbl_8009A3D4 -/* 8009A3C4 00097324 D3 DF 00 C8 */ stfs f30, 0xc8(r31) -/* 8009A3C8 00097328 D3 9F 00 CC */ stfs f28, 0xcc(r31) -/* 8009A3CC 0009732C D3 BF 00 D0 */ stfs f29, 0xd0(r31) -/* 8009A3D0 00097330 48 00 01 48 */ b lbl_8009A518 -lbl_8009A3D4: -/* 8009A3D4 00097334 38 61 00 34 */ addi r3, r1, 0x34 -/* 8009A3D8 00097338 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 8009A3DC 0009733C 48 27 A4 75 */ bl AsNormalized__9CVector3fCFv -/* 8009A3E0 00097340 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8009A3E4 00097344 C0 61 00 38 */ lfs f3, 0x38(r1) -/* 8009A3E8 00097348 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8009A3EC 0009734C C0 3F 00 C8 */ lfs f1, 0xc8(r31) -/* 8009A3F0 00097350 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 8009A3F4 00097354 EC 9F 00 F2 */ fmuls f4, f31, f3 -/* 8009A3F8 00097358 C0 BF 00 CC */ lfs f5, 0xcc(r31) -/* 8009A3FC 0009735C EC 01 00 2A */ fadds f0, f1, f0 -/* 8009A400 00097360 C0 7F 00 D0 */ lfs f3, 0xd0(r31) -/* 8009A404 00097364 EC 3F 00 B2 */ fmuls f1, f31, f2 -/* 8009A408 00097368 EC 45 20 2A */ fadds f2, f5, f4 -/* 8009A40C 0009736C D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 8009A410 00097370 EC 03 08 2A */ fadds f0, f3, f1 -/* 8009A414 00097374 D0 5F 00 CC */ stfs f2, 0xcc(r31) -/* 8009A418 00097378 D0 1F 00 D0 */ stfs f0, 0xd0(r31) -/* 8009A41C 0009737C 48 00 00 FC */ b lbl_8009A518 -lbl_8009A420: -/* 8009A420 00097380 C0 41 01 40 */ lfs f2, 0x140(r1) -/* 8009A424 00097384 7F E4 FB 78 */ mr r4, r31 -/* 8009A428 00097388 83 BF 00 10 */ lwz r29, 0x10(r31) -/* 8009A42C 0009738C 7F C7 F3 78 */ mr r7, r30 -/* 8009A430 00097390 C0 21 01 34 */ lfs f1, 0x134(r1) -/* 8009A434 00097394 38 61 00 08 */ addi r3, r1, 8 -/* 8009A438 00097398 C0 01 01 28 */ lfs f0, 0x128(r1) -/* 8009A43C 0009739C 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 8009A440 000973A0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8009A444 000973A4 38 C1 00 28 */ addi r6, r1, 0x28 -/* 8009A448 000973A8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8009A44C 000973AC D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8009A450 000973B0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8009A454 000973B4 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8009A458 000973B8 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8009A45C 000973BC 4B FF BF 2D */ bl FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager -/* 8009A460 000973C0 80 81 00 08 */ lwz r4, 8(r1) -/* 8009A464 000973C4 38 61 00 94 */ addi r3, r1, 0x94 -/* 8009A468 000973C8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8009A46C 000973CC 1C 84 00 70 */ mulli r4, r4, 0x70 -/* 8009A470 000973D0 80 BD 00 1C */ lwz r5, 0x1c(r29) -/* 8009A474 000973D4 C0 5F 00 CC */ lfs f2, 0xcc(r31) -/* 8009A478 000973D8 C0 3F 00 D0 */ lfs f1, 0xd0(r31) -/* 8009A47C 000973DC 38 84 00 50 */ addi r4, r4, 0x50 -/* 8009A480 000973E0 C0 1F 00 C8 */ lfs f0, 0xc8(r31) -/* 8009A484 000973E4 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8009A488 000973E8 7C 85 20 2E */ lwzx r4, r5, r4 -/* 8009A48C 000973EC 7C 84 02 14 */ add r4, r4, r0 -/* 8009A490 000973F0 C3 C4 00 2C */ lfs f30, 0x2c(r4) -/* 8009A494 000973F4 C3 A4 00 1C */ lfs f29, 0x1c(r4) -/* 8009A498 000973F8 C3 84 00 0C */ lfs f28, 0xc(r4) -/* 8009A49C 000973FC EC 3E 08 28 */ fsubs f1, f30, f1 -/* 8009A4A0 00097400 EC 5D 10 28 */ fsubs f2, f29, f2 -/* 8009A4A4 00097404 EC 1C 00 28 */ fsubs f0, f28, f0 -/* 8009A4A8 00097408 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8009A4AC 0009740C D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8009A4B0 00097410 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8009A4B4 00097414 48 27 A4 05 */ bl Magnitude__9CVector3fCFv -/* 8009A4B8 00097418 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8009A4BC 0009741C 40 80 00 14 */ bge lbl_8009A4D0 -/* 8009A4C0 00097420 D3 9F 00 C8 */ stfs f28, 0xc8(r31) -/* 8009A4C4 00097424 D3 BF 00 CC */ stfs f29, 0xcc(r31) -/* 8009A4C8 00097428 D3 DF 00 D0 */ stfs f30, 0xd0(r31) -/* 8009A4CC 0009742C 48 00 00 4C */ b lbl_8009A518 -lbl_8009A4D0: -/* 8009A4D0 00097430 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009A4D4 00097434 38 81 00 94 */ addi r4, r1, 0x94 -/* 8009A4D8 00097438 48 27 A3 79 */ bl AsNormalized__9CVector3fCFv -/* 8009A4DC 0009743C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8009A4E0 00097440 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8009A4E4 00097444 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8009A4E8 00097448 C0 3F 00 C8 */ lfs f1, 0xc8(r31) -/* 8009A4EC 0009744C C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8009A4F0 00097450 EC 9F 00 F2 */ fmuls f4, f31, f3 -/* 8009A4F4 00097454 C0 BF 00 CC */ lfs f5, 0xcc(r31) -/* 8009A4F8 00097458 EC 01 00 2A */ fadds f0, f1, f0 -/* 8009A4FC 0009745C C0 7F 00 D0 */ lfs f3, 0xd0(r31) -/* 8009A500 00097460 EC 3F 00 B2 */ fmuls f1, f31, f2 -/* 8009A504 00097464 EC 45 20 2A */ fadds f2, f5, f4 -/* 8009A508 00097468 D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 8009A50C 0009746C EC 03 08 2A */ fadds f0, f3, f1 -/* 8009A510 00097470 D0 5F 00 CC */ stfs f2, 0xcc(r31) -/* 8009A514 00097474 D0 1F 00 D0 */ stfs f0, 0xd0(r31) -lbl_8009A518: -/* 8009A518 00097478 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 -/* 8009A51C 0009747C CB E1 01 A0 */ lfd f31, 0x1a0(r1) -/* 8009A520 00097480 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 -/* 8009A524 00097484 CB C1 01 90 */ lfd f30, 0x190(r1) -/* 8009A528 00097488 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 -/* 8009A52C 0009748C CB A1 01 80 */ lfd f29, 0x180(r1) -/* 8009A530 00097490 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 -/* 8009A534 00097494 CB 81 01 70 */ lfd f28, 0x170(r1) -/* 8009A538 00097498 E3 61 01 68 */ psq_l f27, 360(r1), 0, qr0 -/* 8009A53C 0009749C CB 61 01 60 */ lfd f27, 0x160(r1) -/* 8009A540 000974A0 83 E1 01 5C */ lwz r31, 0x15c(r1) -/* 8009A544 000974A4 83 C1 01 58 */ lwz r30, 0x158(r1) -/* 8009A548 000974A8 80 01 01 B4 */ lwz r0, 0x1b4(r1) -/* 8009A54C 000974AC 83 A1 01 54 */ lwz r29, 0x154(r1) -/* 8009A550 000974B0 7C 08 03 A6 */ mtlr r0 -/* 8009A554 000974B4 38 21 01 B0 */ addi r1, r1, 0x1b0 -/* 8009A558 000974B8 4E 80 00 20 */ blr - -.global ProcessMapZoomInput__11CAutoMapperFRC11CFinalInputRC13CStateManager -ProcessMapZoomInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: -/* 8009A55C 000974BC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8009A560 000974C0 7C 08 02 A6 */ mflr r0 -/* 8009A564 000974C4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8009A568 000974C8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8009A56C 000974CC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8009A570 000974D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009A574 000974D4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009A578 000974D8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009A57C 000974DC 7C 7D 1B 78 */ mr r29, r3 -/* 8009A580 000974E0 7C 9E 23 78 */ mr r30, r4 -/* 8009A584 000974E4 38 60 00 2E */ li r3, 0x2e -/* 8009A588 000974E8 4B F7 22 ED */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8009A58C 000974EC 7C 7F 1B 78 */ mr r31, r3 -/* 8009A590 000974F0 7F C4 F3 78 */ mr r4, r30 -/* 8009A594 000974F4 38 60 00 2F */ li r3, 0x2f -/* 8009A598 000974F8 4B F7 22 DD */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8009A59C 000974FC 80 1D 03 24 */ lwz r0, 0x324(r29) -/* 8009A5A0 00097500 38 80 00 00 */ li r4, 0 -/* 8009A5A4 00097504 C3 FD 00 C0 */ lfs f31, 0xc0(r29) -/* 8009A5A8 00097508 2C 00 00 01 */ cmpwi r0, 1 -/* 8009A5AC 0009750C 41 82 00 40 */ beq lbl_8009A5EC -/* 8009A5B0 00097510 40 80 00 10 */ bge lbl_8009A5C0 -/* 8009A5B4 00097514 2C 00 00 00 */ cmpwi r0, 0 -/* 8009A5B8 00097518 40 80 00 14 */ bge lbl_8009A5CC -/* 8009A5BC 0009751C 48 00 00 6C */ b lbl_8009A628 -lbl_8009A5C0: -/* 8009A5C0 00097520 2C 00 00 03 */ cmpwi r0, 3 -/* 8009A5C4 00097524 40 80 00 64 */ bge lbl_8009A628 -/* 8009A5C8 00097528 48 00 00 44 */ b lbl_8009A60C -lbl_8009A5CC: -/* 8009A5CC 0009752C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8009A5D0 00097530 41 82 00 0C */ beq lbl_8009A5DC -/* 8009A5D4 00097534 38 80 00 01 */ li r4, 1 -/* 8009A5D8 00097538 48 00 00 50 */ b lbl_8009A628 -lbl_8009A5DC: -/* 8009A5DC 0009753C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009A5E0 00097540 41 82 00 48 */ beq lbl_8009A628 -/* 8009A5E4 00097544 38 80 00 02 */ li r4, 2 -/* 8009A5E8 00097548 48 00 00 40 */ b lbl_8009A628 -lbl_8009A5EC: -/* 8009A5EC 0009754C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8009A5F0 00097550 41 82 00 0C */ beq lbl_8009A5FC -/* 8009A5F4 00097554 38 80 00 01 */ li r4, 1 -/* 8009A5F8 00097558 48 00 00 30 */ b lbl_8009A628 -lbl_8009A5FC: -/* 8009A5FC 0009755C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009A600 00097560 41 82 00 28 */ beq lbl_8009A628 -/* 8009A604 00097564 38 80 00 02 */ li r4, 2 -/* 8009A608 00097568 48 00 00 20 */ b lbl_8009A628 -lbl_8009A60C: -/* 8009A60C 0009756C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009A610 00097570 41 82 00 0C */ beq lbl_8009A61C -/* 8009A614 00097574 38 80 00 02 */ li r4, 2 -/* 8009A618 00097578 48 00 00 10 */ b lbl_8009A628 -lbl_8009A61C: -/* 8009A61C 0009757C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8009A620 00097580 41 82 00 08 */ beq lbl_8009A628 -/* 8009A624 00097584 38 80 00 01 */ li r4, 1 -lbl_8009A628: -/* 8009A628 00097588 90 9D 03 24 */ stw r4, 0x324(r29) -/* 8009A62C 0009758C C0 22 8C 08 */ lfs f1, lbl_805AA928@sda21(r2) -/* 8009A630 00097590 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8009A634 00097594 80 1D 01 BC */ lwz r0, 0x1bc(r29) -/* 8009A638 00097598 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 8009A63C 0009759C EC 41 00 32 */ fmuls f2, f1, f0 -/* 8009A640 000975A0 2C 00 00 01 */ cmpwi r0, 1 -/* 8009A644 000975A4 C0 23 00 70 */ lfs f1, 0x70(r3) -/* 8009A648 000975A8 40 82 00 0C */ bne lbl_8009A654 -/* 8009A64C 000975AC C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 8009A650 000975B0 48 00 00 08 */ b lbl_8009A658 -lbl_8009A654: -/* 8009A654 000975B4 C0 02 8B E0 */ lfs f0, lbl_805AA900@sda21(r2) -lbl_8009A658: -/* 8009A658 000975B8 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8009A65C 000975BC 80 1D 03 24 */ lwz r0, 0x324(r29) -/* 8009A660 000975C0 2C 00 00 01 */ cmpwi r0, 1 -/* 8009A664 000975C4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8009A668 000975C8 40 82 00 28 */ bne lbl_8009A690 -/* 8009A66C 000975CC C0 1D 00 C0 */ lfs f0, 0xc0(r29) -/* 8009A670 000975D0 7F A3 EB 78 */ mr r3, r29 -/* 8009A674 000975D4 EC 20 08 28 */ fsubs f1, f0, f1 -/* 8009A678 000975D8 4B FF BA BD */ bl GetClampedMapScreenCameraDistance__11CAutoMapperCFf -/* 8009A67C 000975DC D0 3D 00 C0 */ stfs f1, 0xc0(r29) -/* 8009A680 000975E0 38 00 00 01 */ li r0, 1 -/* 8009A684 000975E4 90 1D 02 F0 */ stw r0, 0x2f0(r29) -/* 8009A688 000975E8 90 1D 03 24 */ stw r0, 0x324(r29) -/* 8009A68C 000975EC 48 00 00 30 */ b lbl_8009A6BC -lbl_8009A690: -/* 8009A690 000975F0 2C 00 00 02 */ cmpwi r0, 2 -/* 8009A694 000975F4 40 82 00 28 */ bne lbl_8009A6BC -/* 8009A698 000975F8 C0 1D 00 C0 */ lfs f0, 0xc0(r29) -/* 8009A69C 000975FC 7F A3 EB 78 */ mr r3, r29 -/* 8009A6A0 00097600 EC 20 08 2A */ fadds f1, f0, f1 -/* 8009A6A4 00097604 4B FF BA 91 */ bl GetClampedMapScreenCameraDistance__11CAutoMapperCFf -/* 8009A6A8 00097608 D0 3D 00 C0 */ stfs f1, 0xc0(r29) -/* 8009A6AC 0009760C 38 60 00 01 */ li r3, 1 -/* 8009A6B0 00097610 38 00 00 02 */ li r0, 2 -/* 8009A6B4 00097614 90 7D 02 EC */ stw r3, 0x2ec(r29) -/* 8009A6B8 00097618 90 1D 03 24 */ stw r0, 0x324(r29) -lbl_8009A6BC: -/* 8009A6BC 0009761C C0 1D 00 C0 */ lfs f0, 0xc0(r29) -/* 8009A6C0 00097620 FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 8009A6C4 00097624 40 82 00 14 */ bne lbl_8009A6D8 -/* 8009A6C8 00097628 7F A3 EB 78 */ mr r3, r29 -/* 8009A6CC 0009762C 38 80 00 00 */ li r4, 0 -/* 8009A6D0 00097630 4B FF C4 D5 */ bl SetShouldZoomingSoundBePlaying__11CAutoMapperFb -/* 8009A6D4 00097634 48 00 00 10 */ b lbl_8009A6E4 -lbl_8009A6D8: -/* 8009A6D8 00097638 7F A3 EB 78 */ mr r3, r29 -/* 8009A6DC 0009763C 38 80 00 01 */ li r4, 1 -/* 8009A6E0 00097640 4B FF C4 C5 */ bl SetShouldZoomingSoundBePlaying__11CAutoMapperFb -lbl_8009A6E4: -/* 8009A6E4 00097644 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8009A6E8 00097648 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8009A6EC 0009764C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8009A6F0 00097650 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009A6F4 00097654 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009A6F8 00097658 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009A6FC 0009765C 7C 08 03 A6 */ mtlr r0 -/* 8009A700 00097660 38 21 00 30 */ addi r1, r1, 0x30 -/* 8009A704 00097664 4E 80 00 20 */ blr - -.global ProcessMapRotateInput__11CAutoMapperFRC11CFinalInputRC13CStateManager -ProcessMapRotateInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: -/* 8009A708 00097668 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 8009A70C 0009766C 7C 08 02 A6 */ mflr r0 -/* 8009A710 00097670 90 01 01 54 */ stw r0, 0x154(r1) -/* 8009A714 00097674 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 8009A718 00097678 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 8009A71C 0009767C DB C1 01 30 */ stfd f30, 0x130(r1) -/* 8009A720 00097680 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 -/* 8009A724 00097684 DB A1 01 20 */ stfd f29, 0x120(r1) -/* 8009A728 00097688 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 -/* 8009A72C 0009768C DB 81 01 10 */ stfd f28, 0x110(r1) -/* 8009A730 00097690 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 -/* 8009A734 00097694 DB 61 01 00 */ stfd f27, 0x100(r1) -/* 8009A738 00097698 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 -/* 8009A73C 0009769C 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8009A740 000976A0 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 8009A744 000976A4 7C 7F 1B 78 */ mr r31, r3 -/* 8009A748 000976A8 7C 9E 23 78 */ mr r30, r4 -/* 8009A74C 000976AC 38 60 00 26 */ li r3, 0x26 -/* 8009A750 000976B0 4B F7 21 C9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8009A754 000976B4 FF 60 08 90 */ fmr f27, f1 -/* 8009A758 000976B8 7F C4 F3 78 */ mr r4, r30 -/* 8009A75C 000976BC 38 60 00 27 */ li r3, 0x27 -/* 8009A760 000976C0 4B F7 21 B9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8009A764 000976C4 FF 80 08 90 */ fmr f28, f1 -/* 8009A768 000976C8 7F C4 F3 78 */ mr r4, r30 -/* 8009A76C 000976CC 38 60 00 28 */ li r3, 0x28 -/* 8009A770 000976D0 4B F7 21 A9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8009A774 000976D4 FF A0 08 90 */ fmr f29, f1 -/* 8009A778 000976D8 7F C4 F3 78 */ mr r4, r30 -/* 8009A77C 000976DC 38 60 00 29 */ li r3, 0x29 -/* 8009A780 000976E0 4B F7 21 99 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8009A784 000976E4 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A788 000976E8 38 80 00 00 */ li r4, 0 -/* 8009A78C 000976EC FC 1B 00 40 */ fcmpo cr0, f27, f0 -/* 8009A790 000976F0 40 81 00 08 */ ble lbl_8009A798 -/* 8009A794 000976F4 38 80 00 02 */ li r4, 2 -lbl_8009A798: -/* 8009A798 000976F8 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A79C 000976FC FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 8009A7A0 00097700 40 81 00 08 */ ble lbl_8009A7A8 -/* 8009A7A4 00097704 38 84 00 01 */ addi r4, r4, 1 -lbl_8009A7A8: -/* 8009A7A8 00097708 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A7AC 0009770C FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8009A7B0 00097710 40 81 00 08 */ ble lbl_8009A7B8 -/* 8009A7B4 00097714 38 84 00 04 */ addi r4, r4, 4 -lbl_8009A7B8: -/* 8009A7B8 00097718 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A7BC 0009771C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009A7C0 00097720 40 81 00 08 */ ble lbl_8009A7C8 -/* 8009A7C4 00097724 38 84 00 08 */ addi r4, r4, 8 -lbl_8009A7C8: -/* 8009A7C8 00097728 28 04 00 0A */ cmplwi r4, 0xa -/* 8009A7CC 0009772C 41 81 00 78 */ bgt lbl_8009A844 -/* 8009A7D0 00097730 3C 60 80 3E */ lis r3, lbl_803DAEA8@ha -/* 8009A7D4 00097734 54 80 10 3A */ slwi r0, r4, 2 -/* 8009A7D8 00097738 38 63 AE A8 */ addi r3, r3, lbl_803DAEA8@l -/* 8009A7DC 0009773C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8009A7E0 00097740 7C 09 03 A6 */ mtctr r0 -/* 8009A7E4 00097744 4E 80 04 20 */ bctr -/* 8009A7E8 00097748 38 00 00 01 */ li r0, 1 -/* 8009A7EC 0009774C 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8009A7F0 00097750 48 00 00 54 */ b lbl_8009A844 -/* 8009A7F4 00097754 38 00 00 05 */ li r0, 5 -/* 8009A7F8 00097758 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8009A7FC 0009775C 48 00 00 48 */ b lbl_8009A844 -/* 8009A800 00097760 38 00 00 03 */ li r0, 3 -/* 8009A804 00097764 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8009A808 00097768 48 00 00 3C */ b lbl_8009A844 -/* 8009A80C 0009776C 38 00 00 02 */ li r0, 2 -/* 8009A810 00097770 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8009A814 00097774 48 00 00 30 */ b lbl_8009A844 -/* 8009A818 00097778 38 00 00 04 */ li r0, 4 -/* 8009A81C 0009777C 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8009A820 00097780 48 00 00 24 */ b lbl_8009A844 -/* 8009A824 00097784 38 00 00 07 */ li r0, 7 -/* 8009A828 00097788 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8009A82C 0009778C 48 00 00 18 */ b lbl_8009A844 -/* 8009A830 00097790 38 00 00 08 */ li r0, 8 -/* 8009A834 00097794 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8009A838 00097798 48 00 00 0C */ b lbl_8009A844 -/* 8009A83C 0009779C 38 00 00 06 */ li r0, 6 -/* 8009A840 000977A0 90 1F 02 E4 */ stw r0, 0x2e4(r31) -lbl_8009A844: -/* 8009A844 000977A4 FC 00 D8 90 */ fmr f0, f27 -/* 8009A848 000977A8 38 00 00 00 */ li r0, 0 -/* 8009A84C 000977AC FC 1C D8 40 */ fcmpo cr0, f28, f27 -/* 8009A850 000977B0 40 81 00 0C */ ble lbl_8009A85C -/* 8009A854 000977B4 FC 00 E0 90 */ fmr f0, f28 -/* 8009A858 000977B8 38 00 00 01 */ li r0, 1 -lbl_8009A85C: -/* 8009A85C 000977BC FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8009A860 000977C0 40 81 00 0C */ ble lbl_8009A86C -/* 8009A864 000977C4 FC 00 E8 90 */ fmr f0, f29 -/* 8009A868 000977C8 38 00 00 02 */ li r0, 2 -lbl_8009A86C: -/* 8009A86C 000977CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009A870 000977D0 40 81 00 0C */ ble lbl_8009A87C -/* 8009A874 000977D4 FC 00 08 90 */ fmr f0, f1 -/* 8009A878 000977D8 38 00 00 03 */ li r0, 3 -lbl_8009A87C: -/* 8009A87C 000977DC C3 E2 8B A8 */ lfs f31, lbl_805AA8C8@sda21(r2) -/* 8009A880 000977E0 2C 00 00 02 */ cmpwi r0, 2 -/* 8009A884 000977E4 FF 80 F8 90 */ fmr f28, f31 -/* 8009A888 000977E8 FF A0 F8 90 */ fmr f29, f31 -/* 8009A88C 000977EC FF C0 F8 90 */ fmr f30, f31 -/* 8009A890 000977F0 41 82 00 34 */ beq lbl_8009A8C4 -/* 8009A894 000977F4 40 80 00 14 */ bge lbl_8009A8A8 -/* 8009A898 000977F8 2C 00 00 00 */ cmpwi r0, 0 -/* 8009A89C 000977FC 41 82 00 18 */ beq lbl_8009A8B4 -/* 8009A8A0 00097800 40 80 00 1C */ bge lbl_8009A8BC -/* 8009A8A4 00097804 48 00 00 2C */ b lbl_8009A8D0 -lbl_8009A8A8: -/* 8009A8A8 00097808 2C 00 00 04 */ cmpwi r0, 4 -/* 8009A8AC 0009780C 40 80 00 24 */ bge lbl_8009A8D0 -/* 8009A8B0 00097810 48 00 00 1C */ b lbl_8009A8CC -lbl_8009A8B4: -/* 8009A8B4 00097814 FF C0 00 90 */ fmr f30, f0 -/* 8009A8B8 00097818 48 00 00 18 */ b lbl_8009A8D0 -lbl_8009A8BC: -/* 8009A8BC 0009781C FF A0 00 90 */ fmr f29, f0 -/* 8009A8C0 00097820 48 00 00 10 */ b lbl_8009A8D0 -lbl_8009A8C4: -/* 8009A8C4 00097824 FF E0 00 90 */ fmr f31, f0 -/* 8009A8C8 00097828 48 00 00 08 */ b lbl_8009A8D0 -lbl_8009A8CC: -/* 8009A8CC 0009782C FF 80 00 90 */ fmr f28, f0 -lbl_8009A8D0: -/* 8009A8D0 00097830 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009A8D4 00097834 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8009A8D8 00097838 41 81 00 1C */ bgt lbl_8009A8F4 -/* 8009A8DC 0009783C FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8009A8E0 00097840 41 81 00 14 */ bgt lbl_8009A8F4 -/* 8009A8E4 00097844 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8009A8E8 00097848 41 81 00 0C */ bgt lbl_8009A8F4 -/* 8009A8EC 0009784C FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 8009A8F0 00097850 40 81 03 40 */ ble lbl_8009AC30 -lbl_8009A8F4: -/* 8009A8F4 00097854 C0 22 8C 08 */ lfs f1, lbl_805AA928@sda21(r2) -/* 8009A8F8 00097858 7F E3 FB 78 */ mr r3, r31 -/* 8009A8FC 0009785C C0 1E 00 00 */ lfs f0, 0(r30) -/* 8009A900 00097860 38 80 00 01 */ li r4, 1 -/* 8009A904 00097864 EF 61 00 32 */ fmuls f27, f1, f0 -/* 8009A908 00097868 4B FF C2 19 */ bl SetShouldRotatingSoundBePlaying__11CAutoMapperFb -/* 8009A90C 0009786C 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) -/* 8009A910 00097870 38 61 00 70 */ addi r3, r1, 0x70 -/* 8009A914 00097874 38 9F 00 B0 */ addi r4, r31, 0xb0 -/* 8009A918 00097878 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8009A91C 0009787C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8009A920 00097880 C0 05 00 18 */ lfs f0, 0x18(r5) -/* 8009A924 00097884 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8009A928 00097888 4B F8 0C 9D */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion -/* 8009A92C 0009788C C0 81 00 70 */ lfs f4, 0x70(r1) -/* 8009A930 00097890 3C 00 43 30 */ lis r0, 0x4330 -/* 8009A934 00097894 C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) -/* 8009A938 00097898 90 01 00 88 */ stw r0, 0x88(r1) -/* 8009A93C 0009789C EC 04 00 32 */ fmuls f0, f4, f0 -/* 8009A940 000978A0 C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) -/* 8009A944 000978A4 C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) -/* 8009A948 000978A8 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 8009A94C 000978AC FC 00 00 1E */ fctiwz f0, f0 -/* 8009A950 000978B0 C0 A1 00 78 */ lfs f5, 0x78(r1) -/* 8009A954 000978B4 D8 01 00 80 */ stfd f0, 0x80(r1) -/* 8009A958 000978B8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8009A95C 000978BC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8009A960 000978C0 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8009A964 000978C4 C8 01 00 88 */ lfd f0, 0x88(r1) -/* 8009A968 000978C8 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8009A96C 000978CC EC 00 20 BC */ fnmsubs f0, f0, f2, f4 -/* 8009A970 000978D0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8009A974 000978D4 40 80 00 08 */ bge lbl_8009A97C -/* 8009A978 000978D8 EC 00 10 2A */ fadds f0, f0, f2 -lbl_8009A97C: -/* 8009A97C 000978DC C0 22 8B A4 */ lfs f1, lbl_805AA8C4@sda21(r2) -/* 8009A980 000978E0 3C 00 43 30 */ lis r0, 0x4330 -/* 8009A984 000978E4 90 01 00 98 */ stw r0, 0x98(r1) -/* 8009A988 000978E8 EC 65 00 72 */ fmuls f3, f5, f1 -/* 8009A98C 000978EC C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) -/* 8009A990 000978F0 C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) -/* 8009A994 000978F4 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 8009A998 000978F8 FC 60 18 1E */ fctiwz f3, f3 -/* 8009A99C 000978FC D8 61 00 90 */ stfd f3, 0x90(r1) -/* 8009A9A0 00097900 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8009A9A4 00097904 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8009A9A8 00097908 90 01 00 9C */ stw r0, 0x9c(r1) -/* 8009A9AC 0009790C C8 61 00 98 */ lfd f3, 0x98(r1) -/* 8009A9B0 00097910 EC 63 20 28 */ fsubs f3, f3, f4 -/* 8009A9B4 00097914 ED 03 28 BC */ fnmsubs f8, f3, f2, f5 -/* 8009A9B8 00097918 FC 08 08 40 */ fcmpo cr0, f8, f1 -/* 8009A9BC 0009791C 40 80 00 08 */ bge lbl_8009A9C4 -/* 8009A9C0 00097920 ED 08 10 2A */ fadds f8, f8, f2 -lbl_8009A9C4: -/* 8009A9C4 00097924 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 8009A9C8 00097928 3C 00 43 30 */ lis r0, 0x4330 -/* 8009A9CC 0009792C C0 E2 8B AC */ lfs f7, lbl_805AA8CC@sda21(r2) -/* 8009A9D0 00097930 C0 23 00 74 */ lfs f1, 0x74(r3) -/* 8009A9D4 00097934 C0 82 8B A4 */ lfs f4, lbl_805AA8C4@sda21(r2) -/* 8009A9D8 00097938 EC 3B 00 72 */ fmuls f1, f27, f1 -/* 8009A9DC 0009793C 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8009A9E0 00097940 C8 A2 8B 88 */ lfd f5, lbl_805AA8A8@sda21(r2) -/* 8009A9E4 00097944 C0 62 8B 78 */ lfs f3, lbl_805AA898@sda21(r2) -/* 8009A9E8 00097948 EC C1 07 F2 */ fmuls f6, f1, f31 -/* 8009A9EC 0009794C C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) -/* 8009A9F0 00097950 EC C7 01 B2 */ fmuls f6, f7, f6 -/* 8009A9F4 00097954 EC C8 30 28 */ fsubs f6, f8, f6 -/* 8009A9F8 00097958 EC 86 01 32 */ fmuls f4, f6, f4 -/* 8009A9FC 0009795C FC 80 20 1E */ fctiwz f4, f4 -/* 8009AA00 00097960 D8 81 00 A0 */ stfd f4, 0xa0(r1) -/* 8009AA04 00097964 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8009AA08 00097968 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8009AA0C 0009796C 90 01 00 AC */ stw r0, 0xac(r1) -/* 8009AA10 00097970 C8 81 00 A8 */ lfd f4, 0xa8(r1) -/* 8009AA14 00097974 EC 84 28 28 */ fsubs f4, f4, f5 -/* 8009AA18 00097978 EC C4 30 FC */ fnmsubs f6, f4, f3, f6 -/* 8009AA1C 0009797C FC 06 10 40 */ fcmpo cr0, f6, f2 -/* 8009AA20 00097980 40 80 00 08 */ bge lbl_8009AA28 -/* 8009AA24 00097984 EC C6 18 2A */ fadds f6, f6, f3 -lbl_8009AA28: -/* 8009AA28 00097988 EC 41 07 32 */ fmuls f2, f1, f28 -/* 8009AA2C 0009798C C0 62 8B AC */ lfs f3, lbl_805AA8CC@sda21(r2) -/* 8009AA30 00097990 3C 00 43 30 */ lis r0, 0x4330 -/* 8009AA34 00097994 C0 82 8B A4 */ lfs f4, lbl_805AA8C4@sda21(r2) -/* 8009AA38 00097998 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 8009AA3C 0009799C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8009AA40 000979A0 C8 A2 8B 88 */ lfd f5, lbl_805AA8A8@sda21(r2) -/* 8009AA44 000979A4 C0 62 8B 78 */ lfs f3, lbl_805AA898@sda21(r2) -/* 8009AA48 000979A8 EC C6 10 2A */ fadds f6, f6, f2 -/* 8009AA4C 000979AC C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) -/* 8009AA50 000979B0 EC 86 01 32 */ fmuls f4, f6, f4 -/* 8009AA54 000979B4 FC 80 20 1E */ fctiwz f4, f4 -/* 8009AA58 000979B8 D8 81 00 B0 */ stfd f4, 0xb0(r1) -/* 8009AA5C 000979BC 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8009AA60 000979C0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8009AA64 000979C4 90 01 00 BC */ stw r0, 0xbc(r1) -/* 8009AA68 000979C8 C8 81 00 B8 */ lfd f4, 0xb8(r1) -/* 8009AA6C 000979CC EC 84 28 28 */ fsubs f4, f4, f5 -/* 8009AA70 000979D0 EF E4 30 FC */ fnmsubs f31, f4, f3, f6 -/* 8009AA74 000979D4 FC 1F 10 40 */ fcmpo cr0, f31, f2 -/* 8009AA78 000979D8 40 80 00 08 */ bge lbl_8009AA80 -/* 8009AA7C 000979DC EF FF 18 2A */ fadds f31, f31, f3 -lbl_8009AA80: -/* 8009AA80 000979E0 EC 41 07 B2 */ fmuls f2, f1, f30 -/* 8009AA84 000979E4 C0 82 8B AC */ lfs f4, lbl_805AA8CC@sda21(r2) -/* 8009AA88 000979E8 3C 00 43 30 */ lis r0, 0x4330 -/* 8009AA8C 000979EC C0 62 8B A4 */ lfs f3, lbl_805AA8C4@sda21(r2) -/* 8009AA90 000979F0 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 8009AA94 000979F4 EC A4 00 B2 */ fmuls f5, f4, f2 -/* 8009AA98 000979F8 C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) -/* 8009AA9C 000979FC C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) -/* 8009AAA0 00097A00 EC A0 28 28 */ fsubs f5, f0, f5 -/* 8009AAA4 00097A04 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009AAA8 00097A08 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 8009AAAC 00097A0C FC 60 18 1E */ fctiwz f3, f3 -/* 8009AAB0 00097A10 D8 61 00 C0 */ stfd f3, 0xc0(r1) -/* 8009AAB4 00097A14 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8009AAB8 00097A18 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8009AABC 00097A1C 90 01 00 CC */ stw r0, 0xcc(r1) -/* 8009AAC0 00097A20 C8 61 00 C8 */ lfd f3, 0xc8(r1) -/* 8009AAC4 00097A24 EC 63 20 28 */ fsubs f3, f3, f4 -/* 8009AAC8 00097A28 EC 83 28 BC */ fnmsubs f4, f3, f2, f5 -/* 8009AACC 00097A2C FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8009AAD0 00097A30 40 80 00 08 */ bge lbl_8009AAD8 -/* 8009AAD4 00097A34 EC 84 10 2A */ fadds f4, f4, f2 -lbl_8009AAD8: -/* 8009AAD8 00097A38 EC 01 07 72 */ fmuls f0, f1, f29 -/* 8009AADC 00097A3C C0 22 8B AC */ lfs f1, lbl_805AA8CC@sda21(r2) -/* 8009AAE0 00097A40 3C 00 43 30 */ lis r0, 0x4330 -/* 8009AAE4 00097A44 C0 42 8B A4 */ lfs f2, lbl_805AA8C4@sda21(r2) -/* 8009AAE8 00097A48 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 8009AAEC 00097A4C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8009AAF0 00097A50 C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) -/* 8009AAF4 00097A54 C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) -/* 8009AAF8 00097A58 EC 84 00 2A */ fadds f4, f4, f0 -/* 8009AAFC 00097A5C C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009AB00 00097A60 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8009AB04 00097A64 FC 40 10 1E */ fctiwz f2, f2 -/* 8009AB08 00097A68 D8 41 00 D0 */ stfd f2, 0xd0(r1) -/* 8009AB0C 00097A6C 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8009AB10 00097A70 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8009AB14 00097A74 90 01 00 DC */ stw r0, 0xdc(r1) -/* 8009AB18 00097A78 C8 41 00 D8 */ lfd f2, 0xd8(r1) -/* 8009AB1C 00097A7C EC 42 18 28 */ fsubs f2, f2, f3 -/* 8009AB20 00097A80 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 -/* 8009AB24 00097A84 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8009AB28 00097A88 40 80 00 08 */ bge lbl_8009AB30 -/* 8009AB2C 00097A8C EC 42 08 2A */ fadds f2, f2, f1 -lbl_8009AB30: -/* 8009AB30 00097A90 C0 22 8C 0C */ lfs f1, lbl_805AA92C@sda21(r2) -/* 8009AB34 00097A94 C0 02 8C 14 */ lfs f0, lbl_805AA934@sda21(r2) -/* 8009AB38 00097A98 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8009AB3C 00097A9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009AB40 00097AA0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8009AB44 00097AA4 40 81 00 10 */ ble lbl_8009AB54 -/* 8009AB48 00097AA8 C0 02 8C 10 */ lfs f0, lbl_805AA930@sda21(r2) -/* 8009AB4C 00097AAC EC 01 00 28 */ fsubs f0, f1, f0 -/* 8009AB50 00097AB0 D0 01 00 14 */ stfs f0, 0x14(r1) -lbl_8009AB54: -/* 8009AB54 00097AB4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009AB58 00097AB8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8009AB5C 00097ABC 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8009AB60 00097AC0 4B F7 17 55 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8009AB64 00097AC4 C0 43 00 00 */ lfs f2, 0(r3) -/* 8009AB68 00097AC8 3C 00 43 30 */ lis r0, 0x4330 -/* 8009AB6C 00097ACC C0 22 8B AC */ lfs f1, lbl_805AA8CC@sda21(r2) -/* 8009AB70 00097AD0 C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) -/* 8009AB74 00097AD4 EC 81 00 B2 */ fmuls f4, f1, f2 -/* 8009AB78 00097AD8 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 8009AB7C 00097ADC C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) -/* 8009AB80 00097AE0 C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) -/* 8009AB84 00097AE4 EC 44 00 32 */ fmuls f2, f4, f0 -/* 8009AB88 00097AE8 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009AB8C 00097AEC FC 40 10 1E */ fctiwz f2, f2 -/* 8009AB90 00097AF0 D8 41 00 E0 */ stfd f2, 0xe0(r1) -/* 8009AB94 00097AF4 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8009AB98 00097AF8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8009AB9C 00097AFC 90 01 00 EC */ stw r0, 0xec(r1) -/* 8009ABA0 00097B00 C8 41 00 E8 */ lfd f2, 0xe8(r1) -/* 8009ABA4 00097B04 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8009ABA8 00097B08 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 -/* 8009ABAC 00097B0C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8009ABB0 00097B10 40 80 00 08 */ bge lbl_8009ABB8 -/* 8009ABB4 00097B14 EC 42 08 2A */ fadds f2, f2, f1 -lbl_8009ABB8: -/* 8009ABB8 00097B18 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009ABBC 00097B1C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8009ABC0 00097B20 D3 E1 00 08 */ stfs f31, 8(r1) -/* 8009ABC4 00097B24 38 81 00 10 */ addi r4, r1, 0x10 -/* 8009ABC8 00097B28 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8009ABCC 00097B2C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8009ABD0 00097B30 48 27 65 61 */ bl YRotation__11CQuaternionFRC9CRelAngle -/* 8009ABD4 00097B34 38 61 00 40 */ addi r3, r1, 0x40 -/* 8009ABD8 00097B38 38 81 00 0C */ addi r4, r1, 0xc -/* 8009ABDC 00097B3C 48 27 65 8D */ bl XRotation__11CQuaternionFRC9CRelAngle -/* 8009ABE0 00097B40 38 61 00 30 */ addi r3, r1, 0x30 -/* 8009ABE4 00097B44 38 81 00 08 */ addi r4, r1, 8 -/* 8009ABE8 00097B48 48 27 65 11 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8009ABEC 00097B4C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8009ABF0 00097B50 38 81 00 30 */ addi r4, r1, 0x30 -/* 8009ABF4 00097B54 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8009ABF8 00097B58 48 27 65 A9 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8009ABFC 00097B5C 38 61 00 60 */ addi r3, r1, 0x60 -/* 8009AC00 00097B60 38 81 00 20 */ addi r4, r1, 0x20 -/* 8009AC04 00097B64 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8009AC08 00097B68 48 27 65 99 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8009AC0C 00097B6C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8009AC10 00097B70 D0 1F 00 B0 */ stfs f0, 0xb0(r31) -/* 8009AC14 00097B74 80 61 00 64 */ lwz r3, 0x64(r1) -/* 8009AC18 00097B78 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8009AC1C 00097B7C 90 7F 00 B4 */ stw r3, 0xb4(r31) -/* 8009AC20 00097B80 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 8009AC24 00097B84 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 8009AC28 00097B88 90 1F 00 BC */ stw r0, 0xbc(r31) -/* 8009AC2C 00097B8C 48 00 00 10 */ b lbl_8009AC3C -lbl_8009AC30: -/* 8009AC30 00097B90 7F E3 FB 78 */ mr r3, r31 -/* 8009AC34 00097B94 38 80 00 00 */ li r4, 0 -/* 8009AC38 00097B98 4B FF BE E9 */ bl SetShouldRotatingSoundBePlaying__11CAutoMapperFb -lbl_8009AC3C: -/* 8009AC3C 00097B9C E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 8009AC40 00097BA0 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 8009AC44 00097BA4 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 -/* 8009AC48 00097BA8 CB C1 01 30 */ lfd f30, 0x130(r1) -/* 8009AC4C 00097BAC E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 -/* 8009AC50 00097BB0 CB A1 01 20 */ lfd f29, 0x120(r1) -/* 8009AC54 00097BB4 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 -/* 8009AC58 00097BB8 CB 81 01 10 */ lfd f28, 0x110(r1) -/* 8009AC5C 00097BBC E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 -/* 8009AC60 00097BC0 CB 61 01 00 */ lfd f27, 0x100(r1) -/* 8009AC64 00097BC4 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8009AC68 00097BC8 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8009AC6C 00097BCC 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 8009AC70 00097BD0 7C 08 03 A6 */ mtlr r0 -/* 8009AC74 00097BD4 38 21 01 50 */ addi r1, r1, 0x150 -/* 8009AC78 00097BD8 4E 80 00 20 */ blr - -.global ProcessMapScreenInput__11CAutoMapperRC11CFinalInputRC13CStateManager -ProcessMapScreenInput__11CAutoMapperRC11CFinalInputRC13CStateManager: -/* 8009AC7C 00097BDC 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8009AC80 00097BE0 7C 08 02 A6 */ mflr r0 -/* 8009AC84 00097BE4 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8009AC88 00097BE8 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 8009AC8C 00097BEC 7C 7D 1B 78 */ mr r29, r3 -/* 8009AC90 00097BF0 7C 9E 23 78 */ mr r30, r4 -/* 8009AC94 00097BF4 7C BF 2B 78 */ mr r31, r5 -/* 8009AC98 00097BF8 38 61 00 60 */ addi r3, r1, 0x60 -/* 8009AC9C 00097BFC 38 9D 00 B0 */ addi r4, r29, 0xb0 -/* 8009ACA0 00097C00 48 27 73 ED */ bl BuildTransform__11CQuaternionCFv -/* 8009ACA4 00097C04 38 61 00 84 */ addi r3, r1, 0x84 -/* 8009ACA8 00097C08 38 81 00 60 */ addi r4, r1, 0x60 -/* 8009ACAC 00097C0C 48 27 53 79 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8009ACB0 00097C10 80 1D 01 BC */ lwz r0, 0x1bc(r29) -/* 8009ACB4 00097C14 2C 00 00 01 */ cmpwi r0, 1 -/* 8009ACB8 00097C18 40 82 00 44 */ bne lbl_8009ACFC -/* 8009ACBC 00097C1C 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 8009ACC0 00097C20 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8009ACC4 00097C24 41 82 01 44 */ beq lbl_8009AE08 -/* 8009ACC8 00097C28 80 1D 03 28 */ lwz r0, 0x328(r29) -/* 8009ACCC 00097C2C 2C 00 00 00 */ cmpwi r0, 0 -/* 8009ACD0 00097C30 40 82 01 38 */ bne lbl_8009AE08 -/* 8009ACD4 00097C34 7F A3 EB 78 */ mr r3, r29 -/* 8009ACD8 00097C38 7F E4 FB 78 */ mr r4, r31 -/* 8009ACDC 00097C3C 48 00 14 5D */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv -/* 8009ACE0 00097C40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009ACE4 00097C44 41 82 01 24 */ beq lbl_8009AE08 -/* 8009ACE8 00097C48 7F A3 EB 78 */ mr r3, r29 -/* 8009ACEC 00097C4C 7F E5 FB 78 */ mr r5, r31 -/* 8009ACF0 00097C50 38 80 00 02 */ li r4, 2 -/* 8009ACF4 00097C54 4B FF C6 41 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager -/* 8009ACF8 00097C58 48 00 01 10 */ b lbl_8009AE08 -lbl_8009ACFC: -/* 8009ACFC 00097C5C 2C 00 00 02 */ cmpwi r0, 2 -/* 8009AD00 00097C60 40 82 01 08 */ bne lbl_8009AE08 -/* 8009AD04 00097C64 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 8009AD08 00097C68 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8009AD0C 00097C6C 41 82 00 FC */ beq lbl_8009AE08 -/* 8009AD10 00097C70 80 1D 00 9C */ lwz r0, 0x9c(r29) -/* 8009AD14 00097C74 38 61 00 30 */ addi r3, r1, 0x30 -/* 8009AD18 00097C78 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 8009AD1C 00097C7C 1C 00 00 70 */ mulli r0, r0, 0x70 -/* 8009AD20 00097C80 80 84 00 1C */ lwz r4, 0x1c(r4) -/* 8009AD24 00097C84 7F 84 02 14 */ add r28, r4, r0 -/* 8009AD28 00097C88 38 9C 00 14 */ addi r4, r28, 0x14 -/* 8009AD2C 00097C8C 48 27 7F 71 */ bl GetQuickInverse__12CTransform4fCFv -/* 8009AD30 00097C90 38 61 00 24 */ addi r3, r1, 0x24 -/* 8009AD34 00097C94 38 81 00 30 */ addi r4, r1, 0x30 -/* 8009AD38 00097C98 38 BD 00 C8 */ addi r5, r29, 0xc8 -/* 8009AD3C 00097C9C 48 27 7D AD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8009AD40 00097CA0 83 9C 00 10 */ lwz r28, 0x10(r28) -/* 8009AD44 00097CA4 3B 61 00 24 */ addi r27, r1, 0x24 -/* 8009AD48 00097CA8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009AD4C 00097CAC 48 13 8C 85 */ bl CurrentWorldAssetId__10CGameStateCFv -/* 8009AD50 00097CB0 7C 1C 18 40 */ cmplw r28, r3 -/* 8009AD54 00097CB4 41 82 00 1C */ beq lbl_8009AD70 -/* 8009AD58 00097CB8 38 00 00 01 */ li r0, 1 -/* 8009AD5C 00097CBC 7F A3 EB 78 */ mr r3, r29 -/* 8009AD60 00097CC0 98 1D 03 2C */ stb r0, 0x32c(r29) -/* 8009AD64 00097CC4 7F E4 FB 78 */ mr r4, r31 -/* 8009AD68 00097CC8 48 00 12 35 */ bl CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager -/* 8009AD6C 00097CCC 48 00 00 9C */ b lbl_8009AE08 -lbl_8009AD70: -/* 8009AD70 00097CD0 80 1F 08 50 */ lwz r0, 0x850(r31) -/* 8009AD74 00097CD4 90 1D 00 24 */ stw r0, 0x24(r29) -/* 8009AD78 00097CD8 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8009AD7C 00097CDC 81 83 00 00 */ lwz r12, 0(r3) -/* 8009AD80 00097CE0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009AD84 00097CE4 7D 89 03 A6 */ mtctr r12 -/* 8009AD88 00097CE8 4E 80 04 21 */ bctrl -/* 8009AD8C 00097CEC 7C 64 1B 78 */ mr r4, r3 -/* 8009AD90 00097CF0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009AD94 00097CF4 48 13 8C 45 */ bl StateForWorld__10CGameStateFUi -/* 8009AD98 00097CF8 7C 64 1B 78 */ mr r4, r3 -/* 8009AD9C 00097CFC 38 61 00 08 */ addi r3, r1, 8 -/* 8009ADA0 00097D00 48 13 9F C5 */ bl GetMapWorldInfo__11CWorldStateCFv -/* 8009ADA4 00097D04 80 81 00 08 */ lwz r4, 8(r1) -/* 8009ADA8 00097D08 38 61 00 08 */ addi r3, r1, 8 -/* 8009ADAC 00097D0C 83 84 00 00 */ lwz r28, 0(r4) -/* 8009ADB0 00097D10 4B F6 DE 8D */ bl sub_80008c3c -/* 8009ADB4 00097D14 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 8009ADB8 00097D18 7F A3 EB 78 */ mr r3, r29 -/* 8009ADBC 00097D1C C0 21 00 94 */ lfs f1, 0x94(r1) -/* 8009ADC0 00097D20 7F 64 DB 78 */ mr r4, r27 -/* 8009ADC4 00097D24 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8009ADC8 00097D28 7F E6 FB 78 */ mr r6, r31 -/* 8009ADCC 00097D2C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8009ADD0 00097D30 7F 88 E3 78 */ mr r8, r28 -/* 8009ADD4 00097D34 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8009ADD8 00097D38 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8009ADDC 00097D3C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8009ADE0 00097D40 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8009ADE4 00097D44 80 FD 00 24 */ lwz r7, 0x24(r29) -/* 8009ADE8 00097D48 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8009ADEC 00097D4C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8009ADF0 00097D50 4B FF B7 CD */ bl FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo -/* 8009ADF4 00097D54 90 7D 00 A0 */ stw r3, 0xa0(r29) -/* 8009ADF8 00097D58 7F A3 EB 78 */ mr r3, r29 -/* 8009ADFC 00097D5C 7F E5 FB 78 */ mr r5, r31 -/* 8009AE00 00097D60 38 80 00 01 */ li r4, 1 -/* 8009AE04 00097D64 4B FF C5 31 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager -lbl_8009AE08: -/* 8009AE08 00097D68 38 00 00 00 */ li r0, 0 -/* 8009AE0C 00097D6C 90 1D 02 F4 */ stw r0, 0x2f4(r29) -/* 8009AE10 00097D70 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 8009AE14 00097D74 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8009AE18 00097D78 41 82 00 0C */ beq lbl_8009AE24 -/* 8009AE1C 00097D7C 38 00 00 01 */ li r0, 1 -/* 8009AE20 00097D80 90 1D 02 F4 */ stw r0, 0x2f4(r29) -lbl_8009AE24: -/* 8009AE24 00097D84 7F A3 EB 78 */ mr r3, r29 -/* 8009AE28 00097D88 3B 80 00 00 */ li r28, 0 -/* 8009AE2C 00097D8C 38 80 00 01 */ li r4, 1 -/* 8009AE30 00097D90 4B FF AE F5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 8009AE34 00097D94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009AE38 00097D98 40 82 00 18 */ bne lbl_8009AE50 -/* 8009AE3C 00097D9C 7F A3 EB 78 */ mr r3, r29 -/* 8009AE40 00097DA0 38 80 00 02 */ li r4, 2 -/* 8009AE44 00097DA4 4B FF AE E1 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 8009AE48 00097DA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009AE4C 00097DAC 41 82 00 08 */ beq lbl_8009AE54 -lbl_8009AE50: -/* 8009AE50 00097DB0 3B 80 00 01 */ li r28, 1 -lbl_8009AE54: -/* 8009AE54 00097DB4 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8009AE58 00097DB8 41 82 00 48 */ beq lbl_8009AEA0 -/* 8009AE5C 00097DBC 38 00 00 00 */ li r0, 0 -/* 8009AE60 00097DC0 7F A3 EB 78 */ mr r3, r29 -/* 8009AE64 00097DC4 90 1D 02 E4 */ stw r0, 0x2e4(r29) -/* 8009AE68 00097DC8 7F C4 F3 78 */ mr r4, r30 -/* 8009AE6C 00097DCC 7F E5 FB 78 */ mr r5, r31 -/* 8009AE70 00097DD0 90 1D 02 E8 */ stw r0, 0x2e8(r29) -/* 8009AE74 00097DD4 90 1D 02 EC */ stw r0, 0x2ec(r29) -/* 8009AE78 00097DD8 90 1D 02 F0 */ stw r0, 0x2f0(r29) -/* 8009AE7C 00097DDC 4B FF F8 8D */ bl ProcessMapRotateInput__11CAutoMapperFRC11CFinalInputRC13CStateManager -/* 8009AE80 00097DE0 7F A3 EB 78 */ mr r3, r29 -/* 8009AE84 00097DE4 7F C4 F3 78 */ mr r4, r30 -/* 8009AE88 00097DE8 7F E5 FB 78 */ mr r5, r31 -/* 8009AE8C 00097DEC 4B FF F6 D1 */ bl ProcessMapZoomInput__11CAutoMapperFRC11CFinalInputRC13CStateManager -/* 8009AE90 00097DF0 7F A3 EB 78 */ mr r3, r29 -/* 8009AE94 00097DF4 7F C4 F3 78 */ mr r4, r30 -/* 8009AE98 00097DF8 7F E5 FB 78 */ mr r5, r31 -/* 8009AE9C 00097DFC 4B FF F0 F5 */ bl ProcessMapPanInput__11CAutoMapperFRC11CFinalInputRC13CStateManager -lbl_8009AEA0: -/* 8009AEA0 00097E00 BB 61 00 AC */ lmw r27, 0xac(r1) -/* 8009AEA4 00097E04 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8009AEA8 00097E08 7C 08 03 A6 */ mtlr r0 -/* 8009AEAC 00097E0C 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8009AEB0 00097E10 4E 80 00 20 */ blr - -.global ProcessControllerInput__11CAutoMapperFRC11CFinalInputRC13CStateManager -ProcessControllerInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: -/* 8009AEB4 00097E14 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 8009AEB8 00097E18 7C 08 02 A6 */ mflr r0 -/* 8009AEBC 00097E1C 90 01 02 04 */ stw r0, 0x204(r1) -/* 8009AEC0 00097E20 BE E1 01 DC */ stmw r23, 0x1dc(r1) -/* 8009AEC4 00097E24 7C 7F 1B 78 */ mr r31, r3 -/* 8009AEC8 00097E28 7C 9D 23 78 */ mr r29, r4 -/* 8009AECC 00097E2C 7C BE 2B 78 */ mr r30, r5 -/* 8009AED0 00097E30 4B FF AE 21 */ bl IsRenderStateInterpolating__11CAutoMapperCFv -/* 8009AED4 00097E34 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009AED8 00097E38 40 82 00 94 */ bne lbl_8009AF6C -/* 8009AEDC 00097E3C 7F E3 FB 78 */ mr r3, r31 -/* 8009AEE0 00097E40 3B 00 00 00 */ li r24, 0 -/* 8009AEE4 00097E44 38 80 00 01 */ li r4, 1 -/* 8009AEE8 00097E48 4B FF AE 3D */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 8009AEEC 00097E4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009AEF0 00097E50 40 82 00 18 */ bne lbl_8009AF08 -/* 8009AEF4 00097E54 7F E3 FB 78 */ mr r3, r31 -/* 8009AEF8 00097E58 38 80 00 02 */ li r4, 2 -/* 8009AEFC 00097E5C 4B FF AE 29 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 8009AF00 00097E60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009AF04 00097E64 41 82 00 08 */ beq lbl_8009AF0C -lbl_8009AF08: -/* 8009AF08 00097E68 3B 00 00 01 */ li r24, 1 -lbl_8009AF0C: -/* 8009AF0C 00097E6C 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 8009AF10 00097E70 41 82 00 5C */ beq lbl_8009AF6C -/* 8009AF14 00097E74 88 1F 03 2C */ lbz r0, 0x32c(r31) -/* 8009AF18 00097E78 28 00 00 00 */ cmplwi r0, 0 -/* 8009AF1C 00097E7C 41 82 00 14 */ beq lbl_8009AF30 -/* 8009AF20 00097E80 7F E3 FB 78 */ mr r3, r31 -/* 8009AF24 00097E84 7F C4 F3 78 */ mr r4, r30 -/* 8009AF28 00097E88 48 00 10 75 */ bl CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager -/* 8009AF2C 00097E8C 48 00 00 40 */ b lbl_8009AF6C -lbl_8009AF30: -/* 8009AF30 00097E90 80 1F 01 F4 */ lwz r0, 0x1f4(r31) -/* 8009AF34 00097E94 2C 00 00 00 */ cmpwi r0, 0 -/* 8009AF38 00097E98 40 81 00 18 */ ble lbl_8009AF50 -/* 8009AF3C 00097E9C C0 3D 00 00 */ lfs f1, 0(r29) -/* 8009AF40 00097EA0 7F E3 FB 78 */ mr r3, r31 -/* 8009AF44 00097EA4 7F C4 F3 78 */ mr r4, r30 -/* 8009AF48 00097EA8 48 00 09 9D */ bl UpdateHintNavigation__11CAutoMapperFfRC13CStateManager -/* 8009AF4C 00097EAC 48 00 00 20 */ b lbl_8009AF6C -lbl_8009AF50: -/* 8009AF50 00097EB0 80 1F 03 28 */ lwz r0, 0x328(r31) -/* 8009AF54 00097EB4 2C 00 00 00 */ cmpwi r0, 0 -/* 8009AF58 00097EB8 40 82 00 14 */ bne lbl_8009AF6C -/* 8009AF5C 00097EBC 7F E3 FB 78 */ mr r3, r31 -/* 8009AF60 00097EC0 7F A4 EB 78 */ mr r4, r29 -/* 8009AF64 00097EC4 7F C5 F3 78 */ mr r5, r30 -/* 8009AF68 00097EC8 4B FF FD 15 */ bl ProcessMapScreenInput__11CAutoMapperRC11CFinalInputRC13CStateManager -lbl_8009AF6C: -/* 8009AF6C 00097ECC 38 61 01 90 */ addi r3, r1, 0x190 -/* 8009AF70 00097ED0 38 9F 00 B0 */ addi r4, r31, 0xb0 -/* 8009AF74 00097ED4 48 27 71 19 */ bl BuildTransform__11CQuaternionCFv -/* 8009AF78 00097ED8 38 61 01 B4 */ addi r3, r1, 0x1b4 -/* 8009AF7C 00097EDC 38 81 01 90 */ addi r4, r1, 0x190 -/* 8009AF80 00097EE0 48 27 50 A5 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8009AF84 00097EE4 7F E3 FB 78 */ mr r3, r31 -/* 8009AF88 00097EE8 38 80 00 01 */ li r4, 1 -/* 8009AF8C 00097EEC 4B FF AD 99 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 8009AF90 00097EF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009AF94 00097EF4 41 82 00 BC */ beq lbl_8009B050 -/* 8009AF98 00097EF8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8009AF9C 00097EFC 81 83 00 00 */ lwz r12, 0(r3) -/* 8009AFA0 00097F00 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009AFA4 00097F04 7D 89 03 A6 */ mtctr r12 -/* 8009AFA8 00097F08 4E 80 04 21 */ bctrl -/* 8009AFAC 00097F0C 7C 64 1B 78 */ mr r4, r3 -/* 8009AFB0 00097F10 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009AFB4 00097F14 48 13 8A 25 */ bl StateForWorld__10CGameStateFUi -/* 8009AFB8 00097F18 7C 64 1B 78 */ mr r4, r3 -/* 8009AFBC 00097F1C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8009AFC0 00097F20 48 13 9D A5 */ bl GetMapWorldInfo__11CWorldStateCFv -/* 8009AFC4 00097F24 80 81 00 28 */ lwz r4, 0x28(r1) -/* 8009AFC8 00097F28 38 61 00 28 */ addi r3, r1, 0x28 -/* 8009AFCC 00097F2C 83 04 00 00 */ lwz r24, 0(r4) -/* 8009AFD0 00097F30 4B F6 DC 6D */ bl sub_80008c3c -/* 8009AFD4 00097F34 C0 41 01 D0 */ lfs f2, 0x1d0(r1) -/* 8009AFD8 00097F38 7F E3 FB 78 */ mr r3, r31 -/* 8009AFDC 00097F3C C0 21 01 C4 */ lfs f1, 0x1c4(r1) -/* 8009AFE0 00097F40 7F C6 F3 78 */ mr r6, r30 -/* 8009AFE4 00097F44 C0 01 01 B8 */ lfs f0, 0x1b8(r1) -/* 8009AFE8 00097F48 7F 08 C3 78 */ mr r8, r24 -/* 8009AFEC 00097F4C D0 21 01 68 */ stfs f1, 0x168(r1) -/* 8009AFF0 00097F50 38 9F 00 C8 */ addi r4, r31, 0xc8 -/* 8009AFF4 00097F54 38 A1 01 64 */ addi r5, r1, 0x164 -/* 8009AFF8 00097F58 D0 01 01 64 */ stfs f0, 0x164(r1) -/* 8009AFFC 00097F5C D0 41 01 6C */ stfs f2, 0x16c(r1) -/* 8009B000 00097F60 D0 01 01 58 */ stfs f0, 0x158(r1) -/* 8009B004 00097F64 80 FF 00 24 */ lwz r7, 0x24(r31) -/* 8009B008 00097F68 D0 21 01 5C */ stfs f1, 0x15c(r1) -/* 8009B00C 00097F6C D0 41 01 60 */ stfs f2, 0x160(r1) -/* 8009B010 00097F70 4B FF B5 AD */ bl FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo -/* 8009B014 00097F74 80 1F 00 A0 */ lwz r0, 0xa0(r31) -/* 8009B018 00097F78 7C 03 00 00 */ cmpw r3, r0 -/* 8009B01C 00097F7C 41 82 03 28 */ beq lbl_8009B344 -/* 8009B020 00097F80 90 7F 00 A0 */ stw r3, 0xa0(r31) -/* 8009B024 00097F84 7F E3 FB 78 */ mr r3, r31 -/* 8009B028 00097F88 7F C4 F3 78 */ mr r4, r30 -/* 8009B02C 00097F8C 80 BF 00 A0 */ lwz r5, 0xa0(r31) -/* 8009B030 00097F90 4B FF B2 15 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri -/* 8009B034 00097F94 D0 3F 00 D4 */ stfs f1, 0xd4(r31) -/* 8009B038 00097F98 7F E3 FB 78 */ mr r3, r31 -/* 8009B03C 00097F9C 7F C4 F3 78 */ mr r4, r30 -/* 8009B040 00097FA0 80 BF 00 A0 */ lwz r5, 0xa0(r31) -/* 8009B044 00097FA4 4B FF B2 01 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri -/* 8009B048 00097FA8 D0 3F 00 D8 */ stfs f1, 0xd8(r31) -/* 8009B04C 00097FAC 48 00 02 F8 */ b lbl_8009B344 -lbl_8009B050: -/* 8009B050 00097FB0 7F E3 FB 78 */ mr r3, r31 -/* 8009B054 00097FB4 38 80 00 02 */ li r4, 2 -/* 8009B058 00097FB8 4B FF AC CD */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 8009B05C 00097FBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009B060 00097FC0 41 82 02 E4 */ beq lbl_8009B344 -/* 8009B064 00097FC4 80 1F 01 F4 */ lwz r0, 0x1f4(r31) -/* 8009B068 00097FC8 83 3F 00 10 */ lwz r25, 0x10(r31) -/* 8009B06C 00097FCC 2C 00 00 00 */ cmpwi r0, 0 -/* 8009B070 00097FD0 82 FF 00 9C */ lwz r23, 0x9c(r31) -/* 8009B074 00097FD4 40 81 00 74 */ ble lbl_8009B0E8 -/* 8009B078 00097FD8 80 7F 01 E4 */ lwz r3, 0x1e4(r31) -/* 8009B07C 00097FDC 80 03 00 08 */ lwz r0, 8(r3) -/* 8009B080 00097FE0 2C 00 00 01 */ cmpwi r0, 1 -/* 8009B084 00097FE4 41 82 00 0C */ beq lbl_8009B090 -/* 8009B088 00097FE8 2C 00 00 03 */ cmpwi r0, 3 -/* 8009B08C 00097FEC 40 82 00 14 */ bne lbl_8009B0A0 -lbl_8009B090: -/* 8009B090 00097FF0 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8009B094 00097FF4 7F E3 FB 78 */ mr r3, r31 -/* 8009B098 00097FF8 4B FF A8 A5 */ bl SetCurWorldAssetId__11CAutoMapperFi -/* 8009B09C 00097FFC 48 00 00 90 */ b lbl_8009B12C -lbl_8009B0A0: -/* 8009B0A0 00098000 C0 41 01 D0 */ lfs f2, 0x1d0(r1) -/* 8009B0A4 00098004 7F E4 FB 78 */ mr r4, r31 -/* 8009B0A8 00098008 C0 21 01 C4 */ lfs f1, 0x1c4(r1) -/* 8009B0AC 0009800C 7F C7 F3 78 */ mr r7, r30 -/* 8009B0B0 00098010 C0 01 01 B8 */ lfs f0, 0x1b8(r1) -/* 8009B0B4 00098014 38 61 00 50 */ addi r3, r1, 0x50 -/* 8009B0B8 00098018 D0 21 01 44 */ stfs f1, 0x144(r1) -/* 8009B0BC 0009801C 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 8009B0C0 00098020 38 C1 01 4C */ addi r6, r1, 0x14c -/* 8009B0C4 00098024 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 8009B0C8 00098028 D0 41 01 48 */ stfs f2, 0x148(r1) -/* 8009B0CC 0009802C D0 01 01 4C */ stfs f0, 0x14c(r1) -/* 8009B0D0 00098030 D0 21 01 50 */ stfs f1, 0x150(r1) -/* 8009B0D4 00098034 D0 41 01 54 */ stfs f2, 0x154(r1) -/* 8009B0D8 00098038 4B FF B2 B1 */ bl FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager -/* 8009B0DC 0009803C 80 01 00 50 */ lwz r0, 0x50(r1) -/* 8009B0E0 00098040 90 1F 00 9C */ stw r0, 0x9c(r31) -/* 8009B0E4 00098044 48 00 00 48 */ b lbl_8009B12C -lbl_8009B0E8: -/* 8009B0E8 00098048 C0 41 01 D0 */ lfs f2, 0x1d0(r1) -/* 8009B0EC 0009804C 7F E4 FB 78 */ mr r4, r31 -/* 8009B0F0 00098050 C0 21 01 C4 */ lfs f1, 0x1c4(r1) -/* 8009B0F4 00098054 7F C7 F3 78 */ mr r7, r30 -/* 8009B0F8 00098058 C0 01 01 B8 */ lfs f0, 0x1b8(r1) -/* 8009B0FC 0009805C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8009B100 00098060 D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 8009B104 00098064 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 8009B108 00098068 38 C1 01 34 */ addi r6, r1, 0x134 -/* 8009B10C 0009806C D0 01 01 28 */ stfs f0, 0x128(r1) -/* 8009B110 00098070 D0 41 01 30 */ stfs f2, 0x130(r1) -/* 8009B114 00098074 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 8009B118 00098078 D0 21 01 38 */ stfs f1, 0x138(r1) -/* 8009B11C 0009807C D0 41 01 3C */ stfs f2, 0x13c(r1) -/* 8009B120 00098080 4B FF B2 69 */ bl FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager -/* 8009B124 00098084 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8009B128 00098088 90 1F 00 9C */ stw r0, 0x9c(r31) -lbl_8009B12C: -/* 8009B12C 0009808C 80 1F 00 9C */ lwz r0, 0x9c(r31) -/* 8009B130 00098090 7C 00 B8 00 */ cmpw r0, r23 -/* 8009B134 00098094 41 82 02 10 */ beq lbl_8009B344 -/* 8009B138 00098098 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009B13C 0009809C 48 13 88 95 */ bl CurrentWorldAssetId__10CGameStateCFv -/* 8009B140 000980A0 3B 60 00 00 */ li r27, 0 -/* 8009B144 000980A4 7C 7C 1B 78 */ mr r28, r3 -/* 8009B148 000980A8 7F 7A DB 78 */ mr r26, r27 -/* 8009B14C 000980AC 3B 00 00 00 */ li r24, 0 -/* 8009B150 000980B0 48 00 01 BC */ b lbl_8009B30C -lbl_8009B154: -/* 8009B154 000980B4 80 1F 00 9C */ lwz r0, 0x9c(r31) -/* 8009B158 000980B8 38 7B 00 10 */ addi r3, r27, 0x10 -/* 8009B15C 000980BC 80 99 00 1C */ lwz r4, 0x1c(r25) -/* 8009B160 000980C0 7C 18 00 00 */ cmpw r24, r0 -/* 8009B164 000980C4 7E E4 18 2E */ lwzx r23, r4, r3 -/* 8009B168 000980C8 40 82 01 08 */ bne lbl_8009B270 -/* 8009B16C 000980CC 7C 1C B8 40 */ cmplw r28, r23 -/* 8009B170 000980D0 41 82 01 00 */ beq lbl_8009B270 -/* 8009B174 000980D4 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha -/* 8009B178 000980D8 92 E1 00 44 */ stw r23, 0x44(r1) -/* 8009B17C 000980DC 38 03 56 4C */ addi r0, r3, 0x4D4C564C@l -/* 8009B180 000980E0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8009B184 000980E4 90 01 00 40 */ stw r0, 0x40(r1) -/* 8009B188 000980E8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8009B18C 000980EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8009B190 000980F0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8009B194 000980F4 7D 89 03 A6 */ mtctr r12 -/* 8009B198 000980F8 4E 80 04 21 */ bctrl -/* 8009B19C 000980FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009B1A0 00098100 41 82 01 60 */ beq lbl_8009B300 -/* 8009B1A4 00098104 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009B1A8 00098108 38 60 00 40 */ li r3, 0x40 -/* 8009B1AC 0009810C 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 8009B1B0 00098110 38 A0 00 00 */ li r5, 0 -/* 8009B1B4 00098114 38 84 00 0F */ addi r4, r4, 0xf -/* 8009B1B8 00098118 48 27 A6 B5 */ bl __nw__FUlPCcPCc -/* 8009B1BC 0009811C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8009B1C0 00098120 41 82 00 14 */ beq lbl_8009B1D4 -/* 8009B1C4 00098124 7E E4 BB 78 */ mr r4, r23 -/* 8009B1C8 00098128 38 A0 00 01 */ li r5, 1 -/* 8009B1CC 0009812C 4B FB C2 B1 */ bl __ct__11CDummyWorldFUi -/* 8009B1D0 00098130 7C 64 1B 78 */ mr r4, r3 -lbl_8009B1D4: -/* 8009B1D4 00098134 7C 04 00 D0 */ neg r0, r4 -/* 8009B1D8 00098138 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8009B1DC 0009813C 7C 03 23 78 */ or r3, r0, r4 -/* 8009B1E0 00098140 38 01 00 38 */ addi r0, r1, 0x38 -/* 8009B1E4 00098144 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8009B1E8 00098148 98 61 00 38 */ stb r3, 0x38(r1) -/* 8009B1EC 0009814C 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8009B1F0 00098150 7E E3 D2 14 */ add r23, r3, r26 -/* 8009B1F4 00098154 7C 00 B8 40 */ cmplw r0, r23 -/* 8009B1F8 00098158 41 82 00 48 */ beq lbl_8009B240 -/* 8009B1FC 0009815C 88 17 00 00 */ lbz r0, 0(r23) -/* 8009B200 00098160 28 00 00 00 */ cmplwi r0, 0 -/* 8009B204 00098164 41 82 00 24 */ beq lbl_8009B228 -/* 8009B208 00098168 80 77 00 04 */ lwz r3, 4(r23) -/* 8009B20C 0009816C 28 03 00 00 */ cmplwi r3, 0 -/* 8009B210 00098170 41 82 00 18 */ beq lbl_8009B228 -/* 8009B214 00098174 81 83 00 00 */ lwz r12, 0(r3) -/* 8009B218 00098178 38 80 00 01 */ li r4, 1 -/* 8009B21C 0009817C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009B220 00098180 7D 89 03 A6 */ mtctr r12 -/* 8009B224 00098184 4E 80 04 21 */ bctrl -lbl_8009B228: -/* 8009B228 00098188 88 61 00 38 */ lbz r3, 0x38(r1) -/* 8009B22C 0009818C 38 00 00 00 */ li r0, 0 -/* 8009B230 00098190 98 77 00 00 */ stb r3, 0(r23) -/* 8009B234 00098194 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8009B238 00098198 90 77 00 04 */ stw r3, 4(r23) -/* 8009B23C 0009819C 98 01 00 38 */ stb r0, 0x38(r1) -lbl_8009B240: -/* 8009B240 000981A0 88 01 00 38 */ lbz r0, 0x38(r1) -/* 8009B244 000981A4 28 00 00 00 */ cmplwi r0, 0 -/* 8009B248 000981A8 41 82 00 B8 */ beq lbl_8009B300 -/* 8009B24C 000981AC 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8009B250 000981B0 28 03 00 00 */ cmplwi r3, 0 -/* 8009B254 000981B4 41 82 00 AC */ beq lbl_8009B300 -/* 8009B258 000981B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8009B25C 000981BC 38 80 00 01 */ li r4, 1 -/* 8009B260 000981C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009B264 000981C4 7D 89 03 A6 */ mtctr r12 -/* 8009B268 000981C8 4E 80 04 21 */ bctrl -/* 8009B26C 000981CC 48 00 00 94 */ b lbl_8009B300 -lbl_8009B270: -/* 8009B270 000981D0 38 60 00 00 */ li r3, 0 -/* 8009B274 000981D4 38 01 00 30 */ addi r0, r1, 0x30 -/* 8009B278 000981D8 98 61 00 30 */ stb r3, 0x30(r1) -/* 8009B27C 000981DC 90 61 00 34 */ stw r3, 0x34(r1) -/* 8009B280 000981E0 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8009B284 000981E4 7E E3 D2 14 */ add r23, r3, r26 -/* 8009B288 000981E8 7C 00 B8 40 */ cmplw r0, r23 -/* 8009B28C 000981EC 41 82 00 48 */ beq lbl_8009B2D4 -/* 8009B290 000981F0 88 17 00 00 */ lbz r0, 0(r23) -/* 8009B294 000981F4 28 00 00 00 */ cmplwi r0, 0 -/* 8009B298 000981F8 41 82 00 24 */ beq lbl_8009B2BC -/* 8009B29C 000981FC 80 77 00 04 */ lwz r3, 4(r23) -/* 8009B2A0 00098200 28 03 00 00 */ cmplwi r3, 0 -/* 8009B2A4 00098204 41 82 00 18 */ beq lbl_8009B2BC -/* 8009B2A8 00098208 81 83 00 00 */ lwz r12, 0(r3) -/* 8009B2AC 0009820C 38 80 00 01 */ li r4, 1 -/* 8009B2B0 00098210 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009B2B4 00098214 7D 89 03 A6 */ mtctr r12 -/* 8009B2B8 00098218 4E 80 04 21 */ bctrl -lbl_8009B2BC: -/* 8009B2BC 0009821C 88 61 00 30 */ lbz r3, 0x30(r1) -/* 8009B2C0 00098220 38 00 00 00 */ li r0, 0 -/* 8009B2C4 00098224 98 77 00 00 */ stb r3, 0(r23) -/* 8009B2C8 00098228 80 61 00 34 */ lwz r3, 0x34(r1) -/* 8009B2CC 0009822C 90 77 00 04 */ stw r3, 4(r23) -/* 8009B2D0 00098230 98 01 00 30 */ stb r0, 0x30(r1) -lbl_8009B2D4: -/* 8009B2D4 00098234 88 01 00 30 */ lbz r0, 0x30(r1) -/* 8009B2D8 00098238 28 00 00 00 */ cmplwi r0, 0 -/* 8009B2DC 0009823C 41 82 00 24 */ beq lbl_8009B300 -/* 8009B2E0 00098240 80 61 00 34 */ lwz r3, 0x34(r1) -/* 8009B2E4 00098244 28 03 00 00 */ cmplwi r3, 0 -/* 8009B2E8 00098248 41 82 00 18 */ beq lbl_8009B300 -/* 8009B2EC 0009824C 81 83 00 00 */ lwz r12, 0(r3) -/* 8009B2F0 00098250 38 80 00 01 */ li r4, 1 -/* 8009B2F4 00098254 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009B2F8 00098258 7D 89 03 A6 */ mtctr r12 -/* 8009B2FC 0009825C 4E 80 04 21 */ bctrl -lbl_8009B300: -/* 8009B300 00098260 3B 7B 00 70 */ addi r27, r27, 0x70 -/* 8009B304 00098264 3B 5A 00 08 */ addi r26, r26, 8 -/* 8009B308 00098268 3B 18 00 01 */ addi r24, r24, 1 -lbl_8009B30C: -/* 8009B30C 0009826C 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8009B310 00098270 7C 18 00 00 */ cmpw r24, r0 -/* 8009B314 00098274 41 80 FE 40 */ blt lbl_8009B154 -/* 8009B318 00098278 80 1F 00 9C */ lwz r0, 0x9c(r31) -/* 8009B31C 0009827C 80 99 00 1C */ lwz r4, 0x1c(r25) -/* 8009B320 00098280 1C 60 00 70 */ mulli r3, r0, 0x70 -/* 8009B324 00098284 38 03 00 10 */ addi r0, r3, 0x10 -/* 8009B328 00098288 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8009B32C 0009828C 7C 1C 00 40 */ cmplw r28, r0 -/* 8009B330 00098290 40 82 00 0C */ bne lbl_8009B33C -/* 8009B334 00098294 80 1E 08 50 */ lwz r0, 0x850(r30) -/* 8009B338 00098298 48 00 00 08 */ b lbl_8009B340 -lbl_8009B33C: -/* 8009B33C 0009829C 38 00 00 00 */ li r0, 0 -lbl_8009B340: -/* 8009B340 000982A0 90 1F 00 24 */ stw r0, 0x24(r31) -lbl_8009B344: -/* 8009B344 000982A4 80 1F 03 00 */ lwz r0, 0x300(r31) -/* 8009B348 000982A8 28 00 00 00 */ cmplwi r0, 0 -/* 8009B34C 000982AC 41 82 04 48 */ beq lbl_8009B794 -/* 8009B350 000982B0 88 1F 00 84 */ lbz r0, 0x84(r31) -/* 8009B354 000982B4 28 00 00 00 */ cmplwi r0, 0 -/* 8009B358 000982B8 41 82 01 14 */ beq lbl_8009B46C -/* 8009B35C 000982BC 3A FF 00 78 */ addi r23, r31, 0x78 -/* 8009B360 000982C0 80 1F 00 80 */ lwz r0, 0x80(r31) -/* 8009B364 000982C4 28 00 00 00 */ cmplwi r0, 0 -/* 8009B368 000982C8 41 82 00 0C */ beq lbl_8009B374 -/* 8009B36C 000982CC 38 60 00 01 */ li r3, 1 -/* 8009B370 000982D0 48 00 00 3C */ b lbl_8009B3AC -lbl_8009B374: -/* 8009B374 000982D4 88 17 00 04 */ lbz r0, 4(r23) -/* 8009B378 000982D8 28 00 00 00 */ cmplwi r0, 0 -/* 8009B37C 000982DC 41 82 00 2C */ beq lbl_8009B3A8 -/* 8009B380 000982E0 80 77 00 00 */ lwz r3, 0(r23) -/* 8009B384 000982E4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8009B388 000982E8 28 00 00 00 */ cmplwi r0, 0 -/* 8009B38C 000982EC 41 82 00 1C */ beq lbl_8009B3A8 -/* 8009B390 000982F0 7E E3 BB 78 */ mr r3, r23 -/* 8009B394 000982F4 48 2A 5A 79 */ bl GetObj__6CTokenFv -/* 8009B398 000982F8 80 03 00 04 */ lwz r0, 4(r3) -/* 8009B39C 000982FC 38 60 00 01 */ li r3, 1 -/* 8009B3A0 00098300 90 17 00 08 */ stw r0, 8(r23) -/* 8009B3A4 00098304 48 00 00 08 */ b lbl_8009B3AC -lbl_8009B3A8: -/* 8009B3A8 00098308 38 60 00 00 */ li r3, 0 -lbl_8009B3AC: -/* 8009B3AC 0009830C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009B3B0 00098310 41 82 00 BC */ beq lbl_8009B46C -/* 8009B3B4 00098314 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 8009B3B8 00098318 38 80 00 00 */ li r4, 0 -/* 8009B3BC 0009831C 48 2B B3 41 */ bl GetString__12CStringTableCFi -/* 8009B3C0 00098320 7C 64 1B 78 */ mr r4, r3 -/* 8009B3C4 00098324 38 61 01 18 */ addi r3, r1, 0x118 -/* 8009B3C8 00098328 38 C1 00 18 */ addi r6, r1, 0x18 -/* 8009B3CC 0009832C 38 A0 FF FF */ li r5, -1 -/* 8009B3D0 00098330 48 2A 23 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 8009B3D4 00098334 80 7F 02 FC */ lwz r3, 0x2fc(r31) -/* 8009B3D8 00098338 38 81 01 18 */ addi r4, r1, 0x118 -/* 8009B3DC 0009833C 38 A0 00 00 */ li r5, 0 -/* 8009B3E0 00098340 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8009B3E4 00098344 48 22 E4 A1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B3E8 00098348 38 61 01 18 */ addi r3, r1, 0x118 -/* 8009B3EC 0009834C 48 2A 1D 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B3F0 00098350 38 61 01 08 */ addi r3, r1, 0x108 -/* 8009B3F4 00098354 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 -/* 8009B3F8 00098358 4B F7 A5 F9 */ bl wstring_l__4rstlFPCw -/* 8009B3FC 0009835C 80 7F 03 04 */ lwz r3, 0x304(r31) -/* 8009B400 00098360 38 81 01 08 */ addi r4, r1, 0x108 -/* 8009B404 00098364 38 A0 00 00 */ li r5, 0 -/* 8009B408 00098368 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8009B40C 0009836C 48 22 E4 79 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B410 00098370 38 61 01 08 */ addi r3, r1, 0x108 -/* 8009B414 00098374 48 2A 1D 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B418 00098378 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8009B41C 0009837C 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 -/* 8009B420 00098380 4B F7 A5 D1 */ bl wstring_l__4rstlFPCw -/* 8009B424 00098384 80 7F 03 00 */ lwz r3, 0x300(r31) -/* 8009B428 00098388 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8009B42C 0009838C 38 A0 00 00 */ li r5, 0 -/* 8009B430 00098390 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8009B434 00098394 48 22 E4 51 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B438 00098398 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8009B43C 0009839C 48 2A 1C F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B440 000983A0 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 8009B444 000983A4 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 -/* 8009B448 000983A8 4B F7 A5 A9 */ bl wstring_l__4rstlFPCw -/* 8009B44C 000983AC 80 7F 03 08 */ lwz r3, 0x308(r31) -/* 8009B450 000983B0 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 8009B454 000983B4 38 A0 00 00 */ li r5, 0 -/* 8009B458 000983B8 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8009B45C 000983BC 48 22 E4 29 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B460 000983C0 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 8009B464 000983C4 48 2A 1C D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B468 000983C8 48 00 03 2C */ b lbl_8009B794 -lbl_8009B46C: -/* 8009B46C 000983CC 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8009B470 000983D0 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 -/* 8009B474 000983D4 4B F7 A5 7D */ bl wstring_l__4rstlFPCw -/* 8009B478 000983D8 80 7F 02 FC */ lwz r3, 0x2fc(r31) -/* 8009B47C 000983DC 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8009B480 000983E0 38 A0 00 00 */ li r5, 0 -/* 8009B484 000983E4 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8009B488 000983E8 48 22 E3 FD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B48C 000983EC 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8009B490 000983F0 48 2A 1C A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B494 000983F4 3C 60 80 3D */ lis r3, lbl_803CD7EC@ha -/* 8009B498 000983F8 38 00 00 00 */ li r0, 0 -/* 8009B49C 000983FC 38 A3 D7 EC */ addi r5, r3, lbl_803CD7EC@l -/* 8009B4A0 00098400 80 E2 8B 64 */ lwz r7, lbl_805AA884@sda21(r2) -/* 8009B4A4 00098404 81 65 00 00 */ lwz r11, 0(r5) -/* 8009B4A8 00098408 38 CD A9 1A */ addi r6, r13, lbl_805A94DA@sda21 -/* 8009B4AC 0009840C 81 45 00 04 */ lwz r10, 4(r5) -/* 8009B4B0 00098410 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B4B4 00098414 81 25 00 08 */ lwz r9, 8(r5) -/* 8009B4B8 00098418 38 80 01 00 */ li r4, 0x100 -/* 8009B4BC 0009841C 81 05 00 0C */ lwz r8, 0xc(r5) -/* 8009B4C0 00098420 38 A0 00 01 */ li r5, 1 -/* 8009B4C4 00098424 91 61 01 80 */ stw r11, 0x180(r1) -/* 8009B4C8 00098428 83 0D A0 74 */ lwz r24, gpStringTable@sda21(r13) -/* 8009B4CC 0009842C 91 41 01 84 */ stw r10, 0x184(r1) -/* 8009B4D0 00098430 91 21 01 88 */ stw r9, 0x188(r1) -/* 8009B4D4 00098434 91 01 01 8C */ stw r8, 0x18c(r1) -/* 8009B4D8 00098438 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 8009B4DC 0009843C 90 C1 01 70 */ stw r6, 0x170(r1) -/* 8009B4E0 00098440 90 01 01 74 */ stw r0, 0x174(r1) -/* 8009B4E4 00098444 90 01 01 78 */ stw r0, 0x178(r1) -/* 8009B4E8 00098448 48 2A 1A 8D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8009B4EC 0009844C 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B4F0 00098450 38 81 01 80 */ addi r4, r1, 0x180 -/* 8009B4F4 00098454 38 A0 FF FF */ li r5, -1 -/* 8009B4F8 00098458 48 2A 1F ED */ bl sub_8033d4e4 -/* 8009B4FC 0009845C 80 1F 02 E4 */ lwz r0, 0x2e4(r31) -/* 8009B500 00098460 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009B504 00098464 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 8009B508 00098468 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l -/* 8009B50C 0009846C 54 00 10 3A */ slwi r0, r0, 2 -/* 8009B510 00098470 7C 83 02 14 */ add r4, r3, r0 -/* 8009B514 00098474 38 65 01 10 */ addi r3, r5, 0x110 -/* 8009B518 00098478 80 84 00 24 */ lwz r4, 0x24(r4) -/* 8009B51C 0009847C 4C C6 31 82 */ crclr 6 -/* 8009B520 00098480 48 23 AC 91 */ bl Stringize__7CBasicsFPCce -/* 8009B524 00098484 7C 64 1B 78 */ mr r4, r3 -/* 8009B528 00098488 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8009B52C 0009848C 38 C1 00 14 */ addi r6, r1, 0x14 -/* 8009B530 00098490 38 A0 FF FF */ li r5, -1 -/* 8009B534 00098494 48 2A 2C 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8009B538 00098498 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8009B53C 0009849C 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8009B540 000984A0 48 2A 31 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B544 000984A4 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B548 000984A8 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 8009B54C 000984AC 48 2A 21 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B550 000984B0 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8009B554 000984B4 48 2A 1B E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B558 000984B8 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8009B55C 000984BC 48 2A 25 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B560 000984C0 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B564 000984C4 38 81 00 2C */ addi r4, r1, 0x2c -/* 8009B568 000984C8 38 A0 FF FF */ li r5, -1 -/* 8009B56C 000984CC 48 2A 1F 79 */ bl sub_8033d4e4 -/* 8009B570 000984D0 7F 03 C3 78 */ mr r3, r24 -/* 8009B574 000984D4 38 80 00 2E */ li r4, 0x2e -/* 8009B578 000984D8 48 2B B1 85 */ bl GetString__12CStringTableCFi -/* 8009B57C 000984DC 7C 64 1B 78 */ mr r4, r3 -/* 8009B580 000984E0 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B584 000984E4 38 A0 FF FF */ li r5, -1 -/* 8009B588 000984E8 48 2A 1F 5D */ bl sub_8033d4e4 -/* 8009B58C 000984EC 80 7F 03 00 */ lwz r3, 0x300(r31) -/* 8009B590 000984F0 38 81 01 70 */ addi r4, r1, 0x170 -/* 8009B594 000984F4 38 A0 00 00 */ li r5, 0 -/* 8009B598 000984F8 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8009B59C 000984FC 48 22 E2 E9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B5A0 00098500 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B5A4 00098504 38 81 01 80 */ addi r4, r1, 0x180 -/* 8009B5A8 00098508 38 A0 FF FF */ li r5, -1 -/* 8009B5AC 0009850C 48 2A 1C 51 */ bl sub_8033d1fc -/* 8009B5B0 00098510 80 1F 02 E8 */ lwz r0, 0x2e8(r31) -/* 8009B5B4 00098514 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009B5B8 00098518 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 8009B5BC 0009851C 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l -/* 8009B5C0 00098520 54 00 10 3A */ slwi r0, r0, 2 -/* 8009B5C4 00098524 7C 83 02 14 */ add r4, r3, r0 -/* 8009B5C8 00098528 38 65 01 10 */ addi r3, r5, 0x110 -/* 8009B5CC 0009852C 80 84 00 4C */ lwz r4, 0x4c(r4) -/* 8009B5D0 00098530 4C C6 31 82 */ crclr 6 -/* 8009B5D4 00098534 48 23 AB DD */ bl Stringize__7CBasicsFPCce -/* 8009B5D8 00098538 7C 64 1B 78 */ mr r4, r3 -/* 8009B5DC 0009853C 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8009B5E0 00098540 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8009B5E4 00098544 38 A0 FF FF */ li r5, -1 -/* 8009B5E8 00098548 48 2A 2B AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8009B5EC 0009854C 38 61 00 98 */ addi r3, r1, 0x98 -/* 8009B5F0 00098550 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 8009B5F4 00098554 48 2A 31 2D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B5F8 00098558 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B5FC 0009855C 38 81 00 98 */ addi r4, r1, 0x98 -/* 8009B600 00098560 48 2A 20 4D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B604 00098564 38 61 00 98 */ addi r3, r1, 0x98 -/* 8009B608 00098568 48 2A 1B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B60C 0009856C 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8009B610 00098570 48 2A 24 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B614 00098574 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B618 00098578 38 81 00 2C */ addi r4, r1, 0x2c -/* 8009B61C 0009857C 38 A0 FF FF */ li r5, -1 -/* 8009B620 00098580 48 2A 1E C5 */ bl sub_8033d4e4 -/* 8009B624 00098584 7F 03 C3 78 */ mr r3, r24 -/* 8009B628 00098588 38 80 00 2F */ li r4, 0x2f -/* 8009B62C 0009858C 48 2B B0 D1 */ bl GetString__12CStringTableCFi -/* 8009B630 00098590 7C 64 1B 78 */ mr r4, r3 -/* 8009B634 00098594 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B638 00098598 38 A0 FF FF */ li r5, -1 -/* 8009B63C 0009859C 48 2A 1E A9 */ bl sub_8033d4e4 -/* 8009B640 000985A0 80 7F 03 04 */ lwz r3, 0x304(r31) -/* 8009B644 000985A4 38 81 01 70 */ addi r4, r1, 0x170 -/* 8009B648 000985A8 38 A0 00 00 */ li r5, 0 -/* 8009B64C 000985AC 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8009B650 000985B0 48 22 E2 35 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B654 000985B4 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B658 000985B8 38 81 01 80 */ addi r4, r1, 0x180 -/* 8009B65C 000985BC 38 A0 FF FF */ li r5, -1 -/* 8009B660 000985C0 48 2A 1B 9D */ bl sub_8033d1fc -/* 8009B664 000985C4 80 1F 02 EC */ lwz r0, 0x2ec(r31) -/* 8009B668 000985C8 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009B66C 000985CC 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 8009B670 000985D0 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l -/* 8009B674 000985D4 54 00 10 3A */ slwi r0, r0, 2 -/* 8009B678 000985D8 7C 83 02 14 */ add r4, r3, r0 -/* 8009B67C 000985DC 38 65 00 FB */ addi r3, r5, 0xfb -/* 8009B680 000985E0 80 84 00 74 */ lwz r4, 0x74(r4) -/* 8009B684 000985E4 4C C6 31 82 */ crclr 6 -/* 8009B688 000985E8 48 23 AB 29 */ bl Stringize__7CBasicsFPCce -/* 8009B68C 000985EC 7C 64 1B 78 */ mr r4, r3 -/* 8009B690 000985F0 38 61 00 88 */ addi r3, r1, 0x88 -/* 8009B694 000985F4 38 C1 00 0C */ addi r6, r1, 0xc -/* 8009B698 000985F8 38 A0 FF FF */ li r5, -1 -/* 8009B69C 000985FC 48 2A 2A F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8009B6A0 00098600 38 61 00 78 */ addi r3, r1, 0x78 -/* 8009B6A4 00098604 38 81 00 88 */ addi r4, r1, 0x88 -/* 8009B6A8 00098608 48 2A 30 79 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B6AC 0009860C 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B6B0 00098610 38 81 00 78 */ addi r4, r1, 0x78 -/* 8009B6B4 00098614 48 2A 1F 99 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B6B8 00098618 38 61 00 78 */ addi r3, r1, 0x78 -/* 8009B6BC 0009861C 48 2A 1A 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B6C0 00098620 38 61 00 88 */ addi r3, r1, 0x88 -/* 8009B6C4 00098624 48 2A 24 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B6C8 00098628 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B6CC 0009862C 38 81 00 2C */ addi r4, r1, 0x2c -/* 8009B6D0 00098630 38 A0 FF FF */ li r5, -1 -/* 8009B6D4 00098634 48 2A 1E 11 */ bl sub_8033d4e4 -/* 8009B6D8 00098638 7F 03 C3 78 */ mr r3, r24 -/* 8009B6DC 0009863C 38 80 00 30 */ li r4, 0x30 -/* 8009B6E0 00098640 48 2B B0 1D */ bl GetString__12CStringTableCFi -/* 8009B6E4 00098644 7C 64 1B 78 */ mr r4, r3 -/* 8009B6E8 00098648 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B6EC 0009864C 38 A0 FF FF */ li r5, -1 -/* 8009B6F0 00098650 48 2A 1D F5 */ bl sub_8033d4e4 -/* 8009B6F4 00098654 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B6F8 00098658 38 81 01 80 */ addi r4, r1, 0x180 -/* 8009B6FC 0009865C 38 A0 FF FF */ li r5, -1 -/* 8009B700 00098660 48 2A 1D E5 */ bl sub_8033d4e4 -/* 8009B704 00098664 80 1F 02 F0 */ lwz r0, 0x2f0(r31) -/* 8009B708 00098668 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009B70C 0009866C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 8009B710 00098670 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l -/* 8009B714 00098674 54 00 10 3A */ slwi r0, r0, 2 -/* 8009B718 00098678 7C 83 02 14 */ add r4, r3, r0 -/* 8009B71C 0009867C 38 65 00 FB */ addi r3, r5, 0xfb -/* 8009B720 00098680 80 84 00 80 */ lwz r4, 0x80(r4) -/* 8009B724 00098684 4C C6 31 82 */ crclr 6 -/* 8009B728 00098688 48 23 AA 89 */ bl Stringize__7CBasicsFPCce -/* 8009B72C 0009868C 7C 64 1B 78 */ mr r4, r3 -/* 8009B730 00098690 38 61 00 68 */ addi r3, r1, 0x68 -/* 8009B734 00098694 38 C1 00 08 */ addi r6, r1, 8 -/* 8009B738 00098698 38 A0 FF FF */ li r5, -1 -/* 8009B73C 0009869C 48 2A 2A 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8009B740 000986A0 38 61 00 58 */ addi r3, r1, 0x58 -/* 8009B744 000986A4 38 81 00 68 */ addi r4, r1, 0x68 -/* 8009B748 000986A8 48 2A 2F D9 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B74C 000986AC 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B750 000986B0 38 81 00 58 */ addi r4, r1, 0x58 -/* 8009B754 000986B4 48 2A 1E F9 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B758 000986B8 38 61 00 58 */ addi r3, r1, 0x58 -/* 8009B75C 000986BC 48 2A 19 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B760 000986C0 38 61 00 68 */ addi r3, r1, 0x68 -/* 8009B764 000986C4 48 2A 23 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8009B768 000986C8 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B76C 000986CC 38 81 00 2C */ addi r4, r1, 0x2c -/* 8009B770 000986D0 38 A0 FF FF */ li r5, -1 -/* 8009B774 000986D4 48 2A 1D 71 */ bl sub_8033d4e4 -/* 8009B778 000986D8 80 7F 03 08 */ lwz r3, 0x308(r31) -/* 8009B77C 000986DC 38 81 01 70 */ addi r4, r1, 0x170 -/* 8009B780 000986E0 38 A0 00 00 */ li r5, 0 -/* 8009B784 000986E4 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8009B788 000986E8 48 22 E0 FD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009B78C 000986EC 38 61 01 70 */ addi r3, r1, 0x170 -/* 8009B790 000986F0 48 2A 19 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8009B794: -/* 8009B794 000986F4 88 1D 00 2D */ lbz r0, 0x2d(r29) -/* 8009B798 000986F8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8009B79C 000986FC 41 82 00 C0 */ beq lbl_8009B85C -/* 8009B7A0 00098700 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009B7A4 00098704 38 63 00 A8 */ addi r3, r3, 0xa8 -/* 8009B7A8 00098708 80 03 00 BC */ lwz r0, 0xbc(r3) -/* 8009B7AC 0009870C 2C 00 00 01 */ cmpwi r0, 1 -/* 8009B7B0 00098710 41 82 00 50 */ beq lbl_8009B800 -/* 8009B7B4 00098714 40 80 00 10 */ bge lbl_8009B7C4 -/* 8009B7B8 00098718 2C 00 00 00 */ cmpwi r0, 0 -/* 8009B7BC 0009871C 40 80 00 14 */ bge lbl_8009B7D0 -/* 8009B7C0 00098720 48 00 00 9C */ b lbl_8009B85C -lbl_8009B7C4: -/* 8009B7C4 00098724 2C 00 00 03 */ cmpwi r0, 3 -/* 8009B7C8 00098728 40 80 00 94 */ bge lbl_8009B85C -/* 8009B7CC 0009872C 48 00 00 64 */ b lbl_8009B830 -lbl_8009B7D0: -/* 8009B7D0 00098730 38 80 00 01 */ li r4, 1 -/* 8009B7D4 00098734 48 13 99 D5 */ bl SetAutoMapperKeyState__14CSystemOptionsFi -/* 8009B7D8 00098738 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8009B7DC 0009873C 38 61 00 24 */ addi r3, r1, 0x24 -/* 8009B7E0 00098740 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8009B7E4 00098744 38 80 05 AC */ li r4, 0x5ac -/* 8009B7E8 00098748 38 A0 00 7F */ li r5, 0x7f -/* 8009B7EC 0009874C 38 C0 00 40 */ li r6, 0x40 -/* 8009B7F0 00098750 38 E0 00 00 */ li r7, 0 -/* 8009B7F4 00098754 39 20 00 00 */ li r9, 0 -/* 8009B7F8 00098758 48 24 E5 7D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8009B7FC 0009875C 48 00 00 60 */ b lbl_8009B85C -lbl_8009B800: -/* 8009B800 00098760 38 80 00 02 */ li r4, 2 -/* 8009B804 00098764 48 13 99 A5 */ bl SetAutoMapperKeyState__14CSystemOptionsFi -/* 8009B808 00098768 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8009B80C 0009876C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8009B810 00098770 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8009B814 00098774 38 80 05 A6 */ li r4, 0x5a6 -/* 8009B818 00098778 38 A0 00 7F */ li r5, 0x7f -/* 8009B81C 0009877C 38 C0 00 40 */ li r6, 0x40 -/* 8009B820 00098780 38 E0 00 00 */ li r7, 0 -/* 8009B824 00098784 39 20 00 00 */ li r9, 0 -/* 8009B828 00098788 48 24 E5 4D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8009B82C 0009878C 48 00 00 30 */ b lbl_8009B85C -lbl_8009B830: -/* 8009B830 00098790 38 80 00 00 */ li r4, 0 -/* 8009B834 00098794 48 13 99 75 */ bl SetAutoMapperKeyState__14CSystemOptionsFi -/* 8009B838 00098798 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8009B83C 0009879C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009B840 000987A0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8009B844 000987A4 38 80 05 AD */ li r4, 0x5ad -/* 8009B848 000987A8 38 A0 00 7F */ li r5, 0x7f -/* 8009B84C 000987AC 38 C0 00 40 */ li r6, 0x40 -/* 8009B850 000987B0 38 E0 00 00 */ li r7, 0 -/* 8009B854 000987B4 39 20 00 00 */ li r9, 0 -/* 8009B858 000987B8 48 24 E5 1D */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8009B85C: -/* 8009B85C 000987BC 88 1D 00 2E */ lbz r0, 0x2e(r29) -/* 8009B860 000987C0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009B864 000987C4 40 82 00 10 */ bne lbl_8009B874 -/* 8009B868 000987C8 88 1D 00 2D */ lbz r0, 0x2d(r29) -/* 8009B86C 000987CC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8009B870 000987D0 41 82 00 60 */ beq lbl_8009B8D0 -lbl_8009B874: -/* 8009B874 000987D4 80 1F 03 28 */ lwz r0, 0x328(r31) -/* 8009B878 000987D8 2C 00 00 00 */ cmpwi r0, 0 -/* 8009B87C 000987DC 40 82 00 54 */ bne lbl_8009B8D0 -/* 8009B880 000987E0 7F E3 FB 78 */ mr r3, r31 -/* 8009B884 000987E4 7F C4 F3 78 */ mr r4, r30 -/* 8009B888 000987E8 48 00 09 A5 */ bl CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager -/* 8009B88C 000987EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009B890 000987F0 41 82 00 14 */ beq lbl_8009B8A4 -/* 8009B894 000987F4 7F E3 FB 78 */ mr r3, r31 -/* 8009B898 000987F8 7F C4 F3 78 */ mr r4, r30 -/* 8009B89C 000987FC 4B FF 9E 49 */ bl LeaveMapScreen__11CAutoMapperCFRC13CStateManager -/* 8009B8A0 00098800 48 00 00 30 */ b lbl_8009B8D0 -lbl_8009B8A4: -/* 8009B8A4 00098804 7F E3 FB 78 */ mr r3, r31 -/* 8009B8A8 00098808 7F C4 F3 78 */ mr r4, r30 -/* 8009B8AC 0009880C 48 00 09 6D */ bl NotHintNavigating__11CAutoMapperFv -/* 8009B8B0 00098810 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009B8B4 00098814 41 82 00 1C */ beq lbl_8009B8D0 -/* 8009B8B8 00098818 7F E3 FB 78 */ mr r3, r31 -/* 8009B8BC 0009881C 7F C5 F3 78 */ mr r5, r30 -/* 8009B8C0 00098820 38 80 00 02 */ li r4, 2 -/* 8009B8C4 00098824 4B FF BA 71 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager -/* 8009B8C8 00098828 38 00 00 01 */ li r0, 1 -/* 8009B8CC 0009882C 90 1F 03 28 */ stw r0, 0x328(r31) -lbl_8009B8D0: -/* 8009B8D0 00098830 BA E1 01 DC */ lmw r23, 0x1dc(r1) -/* 8009B8D4 00098834 80 01 02 04 */ lwz r0, 0x204(r1) -/* 8009B8D8 00098838 7C 08 03 A6 */ mtlr r0 -/* 8009B8DC 0009883C 38 21 02 00 */ addi r1, r1, 0x200 -/* 8009B8E0 00098840 4E 80 00 20 */ blr - -.global UpdateHintNavigation__11CAutoMapperFfRC13CStateManager -UpdateHintNavigation__11CAutoMapperFfRC13CStateManager: -/* 8009B8E4 00098844 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8009B8E8 00098848 7C 08 02 A6 */ mflr r0 -/* 8009B8EC 0009884C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8009B8F0 00098850 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8009B8F4 00098854 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8009B8F8 00098858 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8009B8FC 0009885C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8009B900 00098860 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8009B904 00098864 7C 7E 1B 78 */ mr r30, r3 -/* 8009B908 00098868 38 00 00 01 */ li r0, 1 -/* 8009B90C 0009886C 83 A3 01 E4 */ lwz r29, 0x1e4(r3) -/* 8009B910 00098870 FF E0 08 90 */ fmr f31, f1 -/* 8009B914 00098874 7C 9F 23 78 */ mr r31, r4 -/* 8009B918 00098878 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 8009B91C 0009887C 88 FD 00 10 */ lbz r7, 0x10(r29) -/* 8009B920 00098880 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8009B924 00098884 98 1D 00 10 */ stb r0, 0x10(r29) -/* 8009B928 00098888 80 1D 00 08 */ lwz r0, 8(r29) -/* 8009B92C 0009888C 28 00 00 06 */ cmplwi r0, 6 -/* 8009B930 00098890 41 81 06 48 */ bgt lbl_8009BF78 -/* 8009B934 00098894 3C A0 80 3E */ lis r5, lbl_803DAED4@ha -/* 8009B938 00098898 54 00 10 3A */ slwi r0, r0, 2 -/* 8009B93C 0009889C 38 A5 AE D4 */ addi r5, r5, lbl_803DAED4@l -/* 8009B940 000988A0 7C 05 00 2E */ lwzx r0, r5, r0 -/* 8009B944 000988A4 7C 09 03 A6 */ mtctr r0 -/* 8009B948 000988A8 4E 80 04 20 */ bctr -/* 8009B94C 000988AC 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 8009B950 000988B0 83 BD 00 0C */ lwz r29, 0xc(r29) -/* 8009B954 000988B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8009B958 000988B8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8009B95C 000988BC 7D 89 03 A6 */ mtctr r12 -/* 8009B960 000988C0 4E 80 04 21 */ bctrl -/* 8009B964 000988C4 7F A4 EB 78 */ mr r4, r29 -/* 8009B968 000988C8 48 00 5A 51 */ bl GetMapArea__9CMapWorldCFi -/* 8009B96C 000988CC 28 03 00 00 */ cmplwi r3, 0 -/* 8009B970 000988D0 41 82 06 08 */ beq lbl_8009BF78 -/* 8009B974 000988D4 80 FE 00 A8 */ lwz r7, 0xa8(r30) -/* 8009B978 000988D8 7F C4 F3 78 */ mr r4, r30 -/* 8009B97C 000988DC 80 1E 00 AC */ lwz r0, 0xac(r30) -/* 8009B980 000988E0 7F E5 FB 78 */ mr r5, r31 -/* 8009B984 000988E4 7F A6 EB 78 */ mr r6, r29 -/* 8009B988 000988E8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8009B98C 000988EC 90 FE 01 60 */ stw r7, 0x160(r30) -/* 8009B990 000988F0 90 1E 01 64 */ stw r0, 0x164(r30) -/* 8009B994 000988F4 80 FE 00 B0 */ lwz r7, 0xb0(r30) -/* 8009B998 000988F8 80 1E 00 B4 */ lwz r0, 0xb4(r30) -/* 8009B99C 000988FC 90 FE 01 68 */ stw r7, 0x168(r30) -/* 8009B9A0 00098900 90 1E 01 6C */ stw r0, 0x16c(r30) -/* 8009B9A4 00098904 80 FE 00 B8 */ lwz r7, 0xb8(r30) -/* 8009B9A8 00098908 80 1E 00 BC */ lwz r0, 0xbc(r30) -/* 8009B9AC 0009890C 90 FE 01 70 */ stw r7, 0x170(r30) -/* 8009B9B0 00098910 90 1E 01 74 */ stw r0, 0x174(r30) -/* 8009B9B4 00098914 C0 1E 00 C0 */ lfs f0, 0xc0(r30) -/* 8009B9B8 00098918 D0 1E 01 78 */ stfs f0, 0x178(r30) -/* 8009B9BC 0009891C C0 1E 00 C4 */ lfs f0, 0xc4(r30) -/* 8009B9C0 00098920 D0 1E 01 7C */ stfs f0, 0x17c(r30) -/* 8009B9C4 00098924 80 FE 00 C8 */ lwz r7, 0xc8(r30) -/* 8009B9C8 00098928 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 8009B9CC 0009892C 90 FE 01 80 */ stw r7, 0x180(r30) -/* 8009B9D0 00098930 90 1E 01 84 */ stw r0, 0x184(r30) -/* 8009B9D4 00098934 80 1E 00 D0 */ lwz r0, 0xd0(r30) -/* 8009B9D8 00098938 90 1E 01 88 */ stw r0, 0x188(r30) -/* 8009B9DC 0009893C C0 1E 00 D4 */ lfs f0, 0xd4(r30) -/* 8009B9E0 00098940 D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 8009B9E4 00098944 C0 1E 00 D8 */ lfs f0, 0xd8(r30) -/* 8009B9E8 00098948 D0 1E 01 90 */ stfs f0, 0x190(r30) -/* 8009B9EC 0009894C C0 1E 00 DC */ lfs f0, 0xdc(r30) -/* 8009B9F0 00098950 D0 1E 01 94 */ stfs f0, 0x194(r30) -/* 8009B9F4 00098954 C0 1E 00 E0 */ lfs f0, 0xe0(r30) -/* 8009B9F8 00098958 D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 8009B9FC 0009895C C0 1E 00 E4 */ lfs f0, 0xe4(r30) -/* 8009BA00 00098960 D0 1E 01 9C */ stfs f0, 0x19c(r30) -/* 8009BA04 00098964 C0 1E 00 E8 */ lfs f0, 0xe8(r30) -/* 8009BA08 00098968 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) -/* 8009BA0C 0009896C 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 8009BA10 00098970 90 1E 01 A4 */ stw r0, 0x1a4(r30) -/* 8009BA14 00098974 80 1E 00 F0 */ lwz r0, 0xf0(r30) -/* 8009BA18 00098978 90 1E 01 A8 */ stw r0, 0x1a8(r30) -/* 8009BA1C 0009897C 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 8009BA20 00098980 90 1E 01 AC */ stw r0, 0x1ac(r30) -/* 8009BA24 00098984 80 1E 00 F8 */ lwz r0, 0xf8(r30) -/* 8009BA28 00098988 90 1E 01 B0 */ stw r0, 0x1b0(r30) -/* 8009BA2C 0009898C 80 1E 00 FC */ lwz r0, 0xfc(r30) -/* 8009BA30 00098990 90 1E 01 B4 */ stw r0, 0x1b4(r30) -/* 8009BA34 00098994 80 1E 01 00 */ lwz r0, 0x100(r30) -/* 8009BA38 00098998 90 1E 01 B8 */ stw r0, 0x1b8(r30) -/* 8009BA3C 0009899C 4B FF AF 1D */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri -/* 8009BA40 000989A0 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8009BA44 000989A4 38 7E 01 04 */ addi r3, r30, 0x104 -/* 8009BA48 000989A8 D0 1E 01 24 */ stfs f0, 0x124(r30) -/* 8009BA4C 000989AC C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8009BA50 000989B0 D0 1E 01 28 */ stfs f0, 0x128(r30) -/* 8009BA54 000989B4 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8009BA58 000989B8 D0 1E 01 2C */ stfs f0, 0x12c(r30) -/* 8009BA5C 000989BC 48 00 21 C1 */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv -/* 8009BA60 000989C0 38 00 00 01 */ li r0, 1 -/* 8009BA64 000989C4 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) -/* 8009BA68 000989C8 90 1E 01 50 */ stw r0, 0x150(r30) -/* 8009BA6C 000989CC 7F C3 F3 78 */ mr r3, r30 -/* 8009BA70 000989D0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009BA74 000989D4 C0 04 00 6C */ lfs f0, 0x6c(r4) -/* 8009BA78 000989D8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8009BA7C 000989DC 4B FF B6 FD */ bl ResetInterpolationTimer__11CAutoMapperFf -/* 8009BA80 000989E0 80 9E 01 E4 */ lwz r4, 0x1e4(r30) -/* 8009BA84 000989E4 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009BA88 000989E8 48 00 27 79 */ bl sub_8009e200 -/* 8009BA8C 000989EC 48 00 04 EC */ b lbl_8009BF78 -/* 8009BA90 000989F0 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8009BA94 000989F4 7C C4 33 78 */ mr r4, r6 -/* 8009BA98 000989F8 48 16 64 D1 */ bl GetMapWorldDataByWorldId__12CMapUniverseFUi -/* 8009BA9C 000989FC C0 23 00 64 */ lfs f1, 0x64(r3) -/* 8009BAA0 00098A00 C0 43 00 68 */ lfs f2, 0x68(r3) -/* 8009BAA4 00098A04 C0 63 00 6C */ lfs f3, 0x6c(r3) -/* 8009BAA8 00098A08 38 7E 01 04 */ addi r3, r30, 0x104 -/* 8009BAAC 00098A0C 80 9E 00 A8 */ lwz r4, 0xa8(r30) -/* 8009BAB0 00098A10 80 1E 00 AC */ lwz r0, 0xac(r30) -/* 8009BAB4 00098A14 90 9E 01 60 */ stw r4, 0x160(r30) -/* 8009BAB8 00098A18 90 1E 01 64 */ stw r0, 0x164(r30) -/* 8009BABC 00098A1C 80 9E 00 B0 */ lwz r4, 0xb0(r30) -/* 8009BAC0 00098A20 80 1E 00 B4 */ lwz r0, 0xb4(r30) -/* 8009BAC4 00098A24 90 9E 01 68 */ stw r4, 0x168(r30) -/* 8009BAC8 00098A28 90 1E 01 6C */ stw r0, 0x16c(r30) -/* 8009BACC 00098A2C 80 9E 00 B8 */ lwz r4, 0xb8(r30) -/* 8009BAD0 00098A30 80 1E 00 BC */ lwz r0, 0xbc(r30) -/* 8009BAD4 00098A34 90 9E 01 70 */ stw r4, 0x170(r30) -/* 8009BAD8 00098A38 90 1E 01 74 */ stw r0, 0x174(r30) -/* 8009BADC 00098A3C C0 1E 00 C0 */ lfs f0, 0xc0(r30) -/* 8009BAE0 00098A40 D0 1E 01 78 */ stfs f0, 0x178(r30) -/* 8009BAE4 00098A44 C0 1E 00 C4 */ lfs f0, 0xc4(r30) -/* 8009BAE8 00098A48 D0 1E 01 7C */ stfs f0, 0x17c(r30) -/* 8009BAEC 00098A4C 80 9E 00 C8 */ lwz r4, 0xc8(r30) -/* 8009BAF0 00098A50 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 8009BAF4 00098A54 90 9E 01 80 */ stw r4, 0x180(r30) -/* 8009BAF8 00098A58 90 1E 01 84 */ stw r0, 0x184(r30) -/* 8009BAFC 00098A5C 80 1E 00 D0 */ lwz r0, 0xd0(r30) -/* 8009BB00 00098A60 90 1E 01 88 */ stw r0, 0x188(r30) -/* 8009BB04 00098A64 C0 1E 00 D4 */ lfs f0, 0xd4(r30) -/* 8009BB08 00098A68 D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 8009BB0C 00098A6C C0 1E 00 D8 */ lfs f0, 0xd8(r30) -/* 8009BB10 00098A70 D0 1E 01 90 */ stfs f0, 0x190(r30) -/* 8009BB14 00098A74 C0 1E 00 DC */ lfs f0, 0xdc(r30) -/* 8009BB18 00098A78 D0 1E 01 94 */ stfs f0, 0x194(r30) -/* 8009BB1C 00098A7C C0 1E 00 E0 */ lfs f0, 0xe0(r30) -/* 8009BB20 00098A80 D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 8009BB24 00098A84 C0 1E 00 E4 */ lfs f0, 0xe4(r30) -/* 8009BB28 00098A88 D0 1E 01 9C */ stfs f0, 0x19c(r30) -/* 8009BB2C 00098A8C C0 1E 00 E8 */ lfs f0, 0xe8(r30) -/* 8009BB30 00098A90 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) -/* 8009BB34 00098A94 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 8009BB38 00098A98 90 1E 01 A4 */ stw r0, 0x1a4(r30) -/* 8009BB3C 00098A9C 80 1E 00 F0 */ lwz r0, 0xf0(r30) -/* 8009BB40 00098AA0 90 1E 01 A8 */ stw r0, 0x1a8(r30) -/* 8009BB44 00098AA4 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 8009BB48 00098AA8 90 1E 01 AC */ stw r0, 0x1ac(r30) -/* 8009BB4C 00098AAC 80 1E 00 F8 */ lwz r0, 0xf8(r30) -/* 8009BB50 00098AB0 90 1E 01 B0 */ stw r0, 0x1b0(r30) -/* 8009BB54 00098AB4 80 1E 00 FC */ lwz r0, 0xfc(r30) -/* 8009BB58 00098AB8 90 1E 01 B4 */ stw r0, 0x1b4(r30) -/* 8009BB5C 00098ABC 80 1E 01 00 */ lwz r0, 0x100(r30) -/* 8009BB60 00098AC0 90 1E 01 B8 */ stw r0, 0x1b8(r30) -/* 8009BB64 00098AC4 D0 3E 01 24 */ stfs f1, 0x124(r30) -/* 8009BB68 00098AC8 D0 5E 01 28 */ stfs f2, 0x128(r30) -/* 8009BB6C 00098ACC D0 7E 01 2C */ stfs f3, 0x12c(r30) -/* 8009BB70 00098AD0 48 00 20 AD */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv -/* 8009BB74 00098AD4 38 00 00 01 */ li r0, 1 -/* 8009BB78 00098AD8 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) -/* 8009BB7C 00098ADC 90 1E 01 50 */ stw r0, 0x150(r30) -/* 8009BB80 00098AE0 7F C3 F3 78 */ mr r3, r30 -/* 8009BB84 00098AE4 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009BB88 00098AE8 C0 04 00 6C */ lfs f0, 0x6c(r4) -/* 8009BB8C 00098AEC EC 21 00 32 */ fmuls f1, f1, f0 -/* 8009BB90 00098AF0 4B FF B5 E9 */ bl ResetInterpolationTimer__11CAutoMapperFf -/* 8009BB94 00098AF4 80 9E 01 E4 */ lwz r4, 0x1e4(r30) -/* 8009BB98 00098AF8 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009BB9C 00098AFC 48 00 26 65 */ bl sub_8009e200 -/* 8009BBA0 00098B00 48 00 03 D8 */ b lbl_8009BF78 -/* 8009BBA4 00098B04 48 00 05 95 */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv -/* 8009BBA8 00098B08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009BBAC 00098B0C 41 82 00 24 */ beq lbl_8009BBD0 -/* 8009BBB0 00098B10 7F C3 F3 78 */ mr r3, r30 -/* 8009BBB4 00098B14 7F E5 FB 78 */ mr r5, r31 -/* 8009BBB8 00098B18 38 80 00 02 */ li r4, 2 -/* 8009BBBC 00098B1C 4B FF B7 79 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager -/* 8009BBC0 00098B20 80 9E 01 E4 */ lwz r4, 0x1e4(r30) -/* 8009BBC4 00098B24 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009BBC8 00098B28 48 00 26 39 */ bl sub_8009e200 -/* 8009BBCC 00098B2C 48 00 03 AC */ b lbl_8009BF78 -lbl_8009BBD0: -/* 8009BBD0 00098B30 83 BE 01 E8 */ lwz r29, 0x1e8(r30) -/* 8009BBD4 00098B34 80 9E 01 E4 */ lwz r4, 0x1e4(r30) -/* 8009BBD8 00098B38 48 00 00 10 */ b lbl_8009BBE8 -lbl_8009BBDC: -/* 8009BBDC 00098B3C 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009BBE0 00098B40 48 00 26 21 */ bl sub_8009e200 -/* 8009BBE4 00098B44 7C 64 1B 78 */ mr r4, r3 -lbl_8009BBE8: -/* 8009BBE8 00098B48 7C 04 E8 40 */ cmplw r4, r29 -/* 8009BBEC 00098B4C 40 82 FF F0 */ bne lbl_8009BBDC -/* 8009BBF0 00098B50 48 00 03 88 */ b lbl_8009BF78 -/* 8009BBF4 00098B54 80 9E 01 E4 */ lwz r4, 0x1e4(r30) -/* 8009BBF8 00098B58 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009BBFC 00098B5C 48 00 26 05 */ bl sub_8009e200 -/* 8009BC00 00098B60 38 00 00 01 */ li r0, 1 -/* 8009BC04 00098B64 7F C3 F3 78 */ mr r3, r30 -/* 8009BC08 00098B68 98 1E 03 2C */ stb r0, 0x32c(r30) -/* 8009BC0C 00098B6C 7F E4 FB 78 */ mr r4, r31 -/* 8009BC10 00098B70 48 00 03 8D */ bl CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager -/* 8009BC14 00098B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009BC18 00098B78 40 82 03 60 */ bne lbl_8009BF78 -/* 8009BC1C 00098B7C 83 BE 01 E8 */ lwz r29, 0x1e8(r30) -/* 8009BC20 00098B80 80 9E 01 E4 */ lwz r4, 0x1e4(r30) -/* 8009BC24 00098B84 48 00 00 10 */ b lbl_8009BC34 -lbl_8009BC28: -/* 8009BC28 00098B88 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009BC2C 00098B8C 48 00 25 D5 */ bl sub_8009e200 -/* 8009BC30 00098B90 7C 64 1B 78 */ mr r4, r3 -lbl_8009BC34: -/* 8009BC34 00098B94 7C 04 E8 40 */ cmplw r4, r29 -/* 8009BC38 00098B98 40 82 FF F0 */ bne lbl_8009BC28 -/* 8009BC3C 00098B9C 48 00 03 3C */ b lbl_8009BF78 -/* 8009BC40 00098BA0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8009BC44 00098BA4 28 07 00 00 */ cmplwi r7, 0 -/* 8009BC48 00098BA8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8009BC4C 00098BAC 40 82 00 70 */ bne lbl_8009BCBC -/* 8009BC50 00098BB0 80 7E 00 A0 */ lwz r3, 0xa0(r30) -/* 8009BC54 00098BB4 80 1F 08 CC */ lwz r0, 0x8cc(r31) -/* 8009BC58 00098BB8 7C 03 00 00 */ cmpw r3, r0 -/* 8009BC5C 00098BBC 40 82 00 3C */ bne lbl_8009BC98 -/* 8009BC60 00098BC0 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 8009BC64 00098BC4 80 1F 08 50 */ lwz r0, 0x850(r31) -/* 8009BC68 00098BC8 7C 03 00 40 */ cmplw r3, r0 -/* 8009BC6C 00098BCC 40 82 00 2C */ bne lbl_8009BC98 -/* 8009BC70 00098BD0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8009BC74 00098BD4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8009BC78 00098BD8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8009BC7C 00098BDC 38 80 05 6A */ li r4, 0x56a -/* 8009BC80 00098BE0 38 A0 00 7F */ li r5, 0x7f -/* 8009BC84 00098BE4 38 C0 00 40 */ li r6, 0x40 -/* 8009BC88 00098BE8 38 E0 00 00 */ li r7, 0 -/* 8009BC8C 00098BEC 39 20 00 00 */ li r9, 0 -/* 8009BC90 00098BF0 48 24 E0 E5 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8009BC94 00098BF4 48 00 00 28 */ b lbl_8009BCBC -lbl_8009BC98: -/* 8009BC98 00098BF8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8009BC9C 00098BFC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009BCA0 00098C00 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8009BCA4 00098C04 38 80 05 6B */ li r4, 0x56b -/* 8009BCA8 00098C08 38 A0 00 7F */ li r5, 0x7f -/* 8009BCAC 00098C0C 38 C0 00 40 */ li r6, 0x40 -/* 8009BCB0 00098C10 38 E0 00 00 */ li r7, 0 -/* 8009BCB4 00098C14 39 20 00 00 */ li r9, 0 -/* 8009BCB8 00098C18 48 24 E0 BD */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8009BCBC: -/* 8009BCBC 00098C1C C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8009BCC0 00098C20 C0 0D 85 D0 */ lfs f0, lbl_805A7190@sda21(r13) -/* 8009BCC4 00098C24 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 8009BCC8 00098C28 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8009BCCC 00098C2C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8009BCD0 00098C30 40 80 00 0C */ bge lbl_8009BCDC -/* 8009BCD4 00098C34 38 61 00 0C */ addi r3, r1, 0xc -/* 8009BCD8 00098C38 48 00 00 08 */ b lbl_8009BCE0 -lbl_8009BCDC: -/* 8009BCDC 00098C3C 38 6D 85 D0 */ addi r3, r13, lbl_805A7190@sda21 -lbl_8009BCE0: -/* 8009BCE0 00098C40 C0 03 00 00 */ lfs f0, 0(r3) -/* 8009BCE4 00098C44 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8009BCE8 00098C48 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8009BCEC 00098C4C 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8009BCF0 00098C50 83 BE 01 FC */ lwz r29, 0x1fc(r30) -/* 8009BCF4 00098C54 48 00 00 7C */ b lbl_8009BD70 -lbl_8009BCF8: -/* 8009BCF8 00098C58 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 8009BCFC 00098C5C 81 83 00 00 */ lwz r12, 0(r3) -/* 8009BD00 00098C60 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009BD04 00098C64 7D 89 03 A6 */ mtctr r12 -/* 8009BD08 00098C68 4E 80 04 21 */ bctrl -/* 8009BD0C 00098C6C 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8009BD10 00098C70 7C 00 18 40 */ cmplw r0, r3 -/* 8009BD14 00098C74 40 82 00 58 */ bne lbl_8009BD6C -/* 8009BD18 00098C78 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 8009BD1C 00098C7C 80 1E 00 A0 */ lwz r0, 0xa0(r30) -/* 8009BD20 00098C80 7C 03 00 00 */ cmpw r3, r0 -/* 8009BD24 00098C84 40 82 00 48 */ bne lbl_8009BD6C -/* 8009BD28 00098C88 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8009BD2C 00098C8C 38 00 00 01 */ li r0, 1 -/* 8009BD30 00098C90 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) -/* 8009BD34 00098C94 90 1D 00 08 */ stw r0, 8(r29) -/* 8009BD38 00098C98 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8009BD3C 00098C9C C0 0D 85 D4 */ lfs f0, lbl_805A7194@sda21(r13) -/* 8009BD40 00098CA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009BD44 00098CA4 D0 21 00 08 */ stfs f1, 8(r1) -/* 8009BD48 00098CA8 40 80 00 0C */ bge lbl_8009BD54 -/* 8009BD4C 00098CAC 38 61 00 08 */ addi r3, r1, 8 -/* 8009BD50 00098CB0 48 00 00 08 */ b lbl_8009BD58 -lbl_8009BD54: -/* 8009BD54 00098CB4 38 6D 85 D4 */ addi r3, r13, lbl_805A7194@sda21 -lbl_8009BD58: -/* 8009BD58 00098CB8 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 8009BD5C 00098CBC C0 03 00 00 */ lfs f0, 0(r3) -/* 8009BD60 00098CC0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8009BD64 00098CC4 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8009BD68 00098CC8 48 00 00 14 */ b lbl_8009BD7C -lbl_8009BD6C: -/* 8009BD6C 00098CCC 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8009BD70: -/* 8009BD70 00098CD0 80 1E 02 00 */ lwz r0, 0x200(r30) -/* 8009BD74 00098CD4 7C 1D 00 40 */ cmplw r29, r0 -/* 8009BD78 00098CD8 40 82 FF 80 */ bne lbl_8009BCF8 -lbl_8009BD7C: -/* 8009BD7C 00098CDC C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 8009BD80 00098CE0 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8009BD84 00098CE4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8009BD88 00098CE8 40 82 01 F0 */ bne lbl_8009BF78 -/* 8009BD8C 00098CEC 80 9E 01 E4 */ lwz r4, 0x1e4(r30) -/* 8009BD90 00098CF0 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009BD94 00098CF4 48 00 24 6D */ bl sub_8009e200 -/* 8009BD98 00098CF8 48 00 01 E0 */ b lbl_8009BF78 -/* 8009BD9C 00098CFC 80 9E 00 A8 */ lwz r4, 0xa8(r30) -/* 8009BDA0 00098D00 38 7E 01 04 */ addi r3, r30, 0x104 -/* 8009BDA4 00098D04 80 1E 00 AC */ lwz r0, 0xac(r30) -/* 8009BDA8 00098D08 90 9E 01 60 */ stw r4, 0x160(r30) -/* 8009BDAC 00098D0C 90 1E 01 64 */ stw r0, 0x164(r30) -/* 8009BDB0 00098D10 80 9E 00 B0 */ lwz r4, 0xb0(r30) -/* 8009BDB4 00098D14 80 1E 00 B4 */ lwz r0, 0xb4(r30) -/* 8009BDB8 00098D18 90 9E 01 68 */ stw r4, 0x168(r30) -/* 8009BDBC 00098D1C 90 1E 01 6C */ stw r0, 0x16c(r30) -/* 8009BDC0 00098D20 80 9E 00 B8 */ lwz r4, 0xb8(r30) -/* 8009BDC4 00098D24 80 1E 00 BC */ lwz r0, 0xbc(r30) -/* 8009BDC8 00098D28 90 9E 01 70 */ stw r4, 0x170(r30) -/* 8009BDCC 00098D2C 90 1E 01 74 */ stw r0, 0x174(r30) -/* 8009BDD0 00098D30 C0 1E 00 C0 */ lfs f0, 0xc0(r30) -/* 8009BDD4 00098D34 D0 1E 01 78 */ stfs f0, 0x178(r30) -/* 8009BDD8 00098D38 C0 1E 00 C4 */ lfs f0, 0xc4(r30) -/* 8009BDDC 00098D3C D0 1E 01 7C */ stfs f0, 0x17c(r30) -/* 8009BDE0 00098D40 80 9E 00 C8 */ lwz r4, 0xc8(r30) -/* 8009BDE4 00098D44 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 8009BDE8 00098D48 90 9E 01 80 */ stw r4, 0x180(r30) -/* 8009BDEC 00098D4C 90 1E 01 84 */ stw r0, 0x184(r30) -/* 8009BDF0 00098D50 80 1E 00 D0 */ lwz r0, 0xd0(r30) -/* 8009BDF4 00098D54 90 1E 01 88 */ stw r0, 0x188(r30) -/* 8009BDF8 00098D58 C0 1E 00 D4 */ lfs f0, 0xd4(r30) -/* 8009BDFC 00098D5C D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 8009BE00 00098D60 C0 1E 00 D8 */ lfs f0, 0xd8(r30) -/* 8009BE04 00098D64 D0 1E 01 90 */ stfs f0, 0x190(r30) -/* 8009BE08 00098D68 C0 1E 00 DC */ lfs f0, 0xdc(r30) -/* 8009BE0C 00098D6C D0 1E 01 94 */ stfs f0, 0x194(r30) -/* 8009BE10 00098D70 C0 1E 00 E0 */ lfs f0, 0xe0(r30) -/* 8009BE14 00098D74 D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 8009BE18 00098D78 C0 1E 00 E4 */ lfs f0, 0xe4(r30) -/* 8009BE1C 00098D7C D0 1E 01 9C */ stfs f0, 0x19c(r30) -/* 8009BE20 00098D80 C0 1E 00 E8 */ lfs f0, 0xe8(r30) -/* 8009BE24 00098D84 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) -/* 8009BE28 00098D88 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 8009BE2C 00098D8C 90 1E 01 A4 */ stw r0, 0x1a4(r30) -/* 8009BE30 00098D90 80 1E 00 F0 */ lwz r0, 0xf0(r30) -/* 8009BE34 00098D94 90 1E 01 A8 */ stw r0, 0x1a8(r30) -/* 8009BE38 00098D98 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 8009BE3C 00098D9C 90 1E 01 AC */ stw r0, 0x1ac(r30) -/* 8009BE40 00098DA0 80 1E 00 F8 */ lwz r0, 0xf8(r30) -/* 8009BE44 00098DA4 90 1E 01 B0 */ stw r0, 0x1b0(r30) -/* 8009BE48 00098DA8 80 1E 00 FC */ lwz r0, 0xfc(r30) -/* 8009BE4C 00098DAC 90 1E 01 B4 */ stw r0, 0x1b4(r30) -/* 8009BE50 00098DB0 80 1E 01 00 */ lwz r0, 0x100(r30) -/* 8009BE54 00098DB4 90 1E 01 B8 */ stw r0, 0x1b8(r30) -/* 8009BE58 00098DB8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009BE5C 00098DBC C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8009BE60 00098DC0 D0 1E 01 1C */ stfs f0, 0x11c(r30) -/* 8009BE64 00098DC4 48 00 1D B9 */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv -/* 8009BE68 00098DC8 38 00 00 01 */ li r0, 1 -/* 8009BE6C 00098DCC C0 22 8B 70 */ lfs f1, lbl_805AA890@sda21(r2) -/* 8009BE70 00098DD0 90 1E 01 4C */ stw r0, 0x14c(r30) -/* 8009BE74 00098DD4 7F C3 F3 78 */ mr r3, r30 -/* 8009BE78 00098DD8 4B FF B3 01 */ bl ResetInterpolationTimer__11CAutoMapperFf -/* 8009BE7C 00098DDC 80 9E 01 E4 */ lwz r4, 0x1e4(r30) -/* 8009BE80 00098DE0 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009BE84 00098DE4 48 00 23 7D */ bl sub_8009e200 -/* 8009BE88 00098DE8 48 00 00 F0 */ b lbl_8009BF78 -/* 8009BE8C 00098DEC 80 9E 00 A8 */ lwz r4, 0xa8(r30) -/* 8009BE90 00098DF0 38 7E 01 04 */ addi r3, r30, 0x104 -/* 8009BE94 00098DF4 80 1E 00 AC */ lwz r0, 0xac(r30) -/* 8009BE98 00098DF8 90 9E 01 60 */ stw r4, 0x160(r30) -/* 8009BE9C 00098DFC 90 1E 01 64 */ stw r0, 0x164(r30) -/* 8009BEA0 00098E00 80 9E 00 B0 */ lwz r4, 0xb0(r30) -/* 8009BEA4 00098E04 80 1E 00 B4 */ lwz r0, 0xb4(r30) -/* 8009BEA8 00098E08 90 9E 01 68 */ stw r4, 0x168(r30) -/* 8009BEAC 00098E0C 90 1E 01 6C */ stw r0, 0x16c(r30) -/* 8009BEB0 00098E10 80 9E 00 B8 */ lwz r4, 0xb8(r30) -/* 8009BEB4 00098E14 80 1E 00 BC */ lwz r0, 0xbc(r30) -/* 8009BEB8 00098E18 90 9E 01 70 */ stw r4, 0x170(r30) -/* 8009BEBC 00098E1C 90 1E 01 74 */ stw r0, 0x174(r30) -/* 8009BEC0 00098E20 C0 1E 00 C0 */ lfs f0, 0xc0(r30) -/* 8009BEC4 00098E24 D0 1E 01 78 */ stfs f0, 0x178(r30) -/* 8009BEC8 00098E28 C0 1E 00 C4 */ lfs f0, 0xc4(r30) -/* 8009BECC 00098E2C D0 1E 01 7C */ stfs f0, 0x17c(r30) -/* 8009BED0 00098E30 80 9E 00 C8 */ lwz r4, 0xc8(r30) -/* 8009BED4 00098E34 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 8009BED8 00098E38 90 9E 01 80 */ stw r4, 0x180(r30) -/* 8009BEDC 00098E3C 90 1E 01 84 */ stw r0, 0x184(r30) -/* 8009BEE0 00098E40 80 1E 00 D0 */ lwz r0, 0xd0(r30) -/* 8009BEE4 00098E44 90 1E 01 88 */ stw r0, 0x188(r30) -/* 8009BEE8 00098E48 C0 1E 00 D4 */ lfs f0, 0xd4(r30) -/* 8009BEEC 00098E4C D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 8009BEF0 00098E50 C0 1E 00 D8 */ lfs f0, 0xd8(r30) -/* 8009BEF4 00098E54 D0 1E 01 90 */ stfs f0, 0x190(r30) -/* 8009BEF8 00098E58 C0 1E 00 DC */ lfs f0, 0xdc(r30) -/* 8009BEFC 00098E5C D0 1E 01 94 */ stfs f0, 0x194(r30) -/* 8009BF00 00098E60 C0 1E 00 E0 */ lfs f0, 0xe0(r30) -/* 8009BF04 00098E64 D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 8009BF08 00098E68 C0 1E 00 E4 */ lfs f0, 0xe4(r30) -/* 8009BF0C 00098E6C D0 1E 01 9C */ stfs f0, 0x19c(r30) -/* 8009BF10 00098E70 C0 1E 00 E8 */ lfs f0, 0xe8(r30) -/* 8009BF14 00098E74 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) -/* 8009BF18 00098E78 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 8009BF1C 00098E7C 90 1E 01 A4 */ stw r0, 0x1a4(r30) -/* 8009BF20 00098E80 80 1E 00 F0 */ lwz r0, 0xf0(r30) -/* 8009BF24 00098E84 90 1E 01 A8 */ stw r0, 0x1a8(r30) -/* 8009BF28 00098E88 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 8009BF2C 00098E8C 90 1E 01 AC */ stw r0, 0x1ac(r30) -/* 8009BF30 00098E90 80 1E 00 F8 */ lwz r0, 0xf8(r30) -/* 8009BF34 00098E94 90 1E 01 B0 */ stw r0, 0x1b0(r30) -/* 8009BF38 00098E98 80 1E 00 FC */ lwz r0, 0xfc(r30) -/* 8009BF3C 00098E9C 90 1E 01 B4 */ stw r0, 0x1b4(r30) -/* 8009BF40 00098EA0 80 1E 01 00 */ lwz r0, 0x100(r30) -/* 8009BF44 00098EA4 90 1E 01 B8 */ stw r0, 0x1b8(r30) -/* 8009BF48 00098EA8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009BF4C 00098EAC C0 04 00 08 */ lfs f0, 8(r4) -/* 8009BF50 00098EB0 D0 1E 01 1C */ stfs f0, 0x11c(r30) -/* 8009BF54 00098EB4 48 00 1C C9 */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv -/* 8009BF58 00098EB8 38 00 00 01 */ li r0, 1 -/* 8009BF5C 00098EBC C0 22 8B 70 */ lfs f1, lbl_805AA890@sda21(r2) -/* 8009BF60 00098EC0 90 1E 01 4C */ stw r0, 0x14c(r30) -/* 8009BF64 00098EC4 7F C3 F3 78 */ mr r3, r30 -/* 8009BF68 00098EC8 4B FF B2 11 */ bl ResetInterpolationTimer__11CAutoMapperFf -/* 8009BF6C 00098ECC 80 9E 01 E4 */ lwz r4, 0x1e4(r30) -/* 8009BF70 00098ED0 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009BF74 00098ED4 48 00 22 8D */ bl sub_8009e200 -lbl_8009BF78: -/* 8009BF78 00098ED8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8009BF7C 00098EDC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8009BF80 00098EE0 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8009BF84 00098EE4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8009BF88 00098EE8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8009BF8C 00098EEC 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8009BF90 00098EF0 7C 08 03 A6 */ mtlr r0 -/* 8009BF94 00098EF4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8009BF98 00098EF8 4E 80 00 20 */ blr - -.global CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager -CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager: -/* 8009BF9C 00098EFC 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8009BFA0 00098F00 7C 08 02 A6 */ mflr r0 -/* 8009BFA4 00098F04 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8009BFA8 00098F08 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 8009BFAC 00098F0C 7C 9B 23 78 */ mr r27, r4 -/* 8009BFB0 00098F10 7C 7F 1B 78 */ mr r31, r3 -/* 8009BFB4 00098F14 80 A3 00 9C */ lwz r5, 0x9c(r3) -/* 8009BFB8 00098F18 80 83 00 20 */ lwz r4, 0x20(r3) -/* 8009BFBC 00098F1C 54 A0 18 38 */ slwi r0, r5, 3 -/* 8009BFC0 00098F20 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8009BFC4 00098F24 7C 84 02 14 */ add r4, r4, r0 -/* 8009BFC8 00098F28 83 C4 00 04 */ lwz r30, 4(r4) -/* 8009BFCC 00098F2C 1C 05 00 70 */ mulli r0, r5, 0x70 -/* 8009BFD0 00098F30 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 8009BFD4 00098F34 28 1E 00 00 */ cmplwi r30, 0 -/* 8009BFD8 00098F38 7F A3 02 14 */ add r29, r3, r0 -/* 8009BFDC 00098F3C 41 82 01 3C */ beq lbl_8009C118 -/* 8009BFE0 00098F40 7F C3 F3 78 */ mr r3, r30 -/* 8009BFE4 00098F44 81 9E 00 00 */ lwz r12, 0(r30) -/* 8009BFE8 00098F48 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8009BFEC 00098F4C 7D 89 03 A6 */ mtctr r12 -/* 8009BFF0 00098F50 4E 80 04 21 */ bctrl -/* 8009BFF4 00098F54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009BFF8 00098F58 41 82 01 18 */ beq lbl_8009C110 -/* 8009BFFC 00098F5C 7F C3 F3 78 */ mr r3, r30 -/* 8009C000 00098F60 81 9E 00 00 */ lwz r12, 0(r30) -/* 8009C004 00098F64 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009C008 00098F68 7D 89 03 A6 */ mtctr r12 -/* 8009C00C 00098F6C 4E 80 04 21 */ bctrl -/* 8009C010 00098F70 7C 64 1B 78 */ mr r4, r3 -/* 8009C014 00098F74 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009C018 00098F78 48 13 79 C1 */ bl StateForWorld__10CGameStateFUi -/* 8009C01C 00098F7C 7C 64 1B 78 */ mr r4, r3 -/* 8009C020 00098F80 38 61 00 08 */ addi r3, r1, 8 -/* 8009C024 00098F84 48 13 8D 41 */ bl GetMapWorldInfo__11CWorldStateCFv -/* 8009C028 00098F88 80 81 00 08 */ lwz r4, 8(r1) -/* 8009C02C 00098F8C 38 61 00 08 */ addi r3, r1, 8 -/* 8009C030 00098F90 83 84 00 00 */ lwz r28, 0(r4) -/* 8009C034 00098F94 4B F6 CC 09 */ bl sub_80008c3c -/* 8009C038 00098F98 38 61 00 54 */ addi r3, r1, 0x54 -/* 8009C03C 00098F9C 38 9D 00 14 */ addi r4, r29, 0x14 -/* 8009C040 00098FA0 48 27 6C 5D */ bl GetQuickInverse__12CTransform4fCFv -/* 8009C044 00098FA4 38 61 00 24 */ addi r3, r1, 0x24 -/* 8009C048 00098FA8 38 81 00 54 */ addi r4, r1, 0x54 -/* 8009C04C 00098FAC 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 8009C050 00098FB0 48 27 6A 99 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8009C054 00098FB4 3B A1 00 24 */ addi r29, r1, 0x24 -/* 8009C058 00098FB8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8009C05C 00098FBC 38 9F 00 B0 */ addi r4, r31, 0xb0 -/* 8009C060 00098FC0 48 27 60 2D */ bl BuildTransform__11CQuaternionCFv -/* 8009C064 00098FC4 38 61 00 84 */ addi r3, r1, 0x84 -/* 8009C068 00098FC8 38 81 00 30 */ addi r4, r1, 0x30 -/* 8009C06C 00098FCC 48 27 3F B9 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8009C070 00098FD0 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 8009C074 00098FD4 7F E3 FB 78 */ mr r3, r31 -/* 8009C078 00098FD8 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 8009C07C 00098FDC 7F A4 EB 78 */ mr r4, r29 -/* 8009C080 00098FE0 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8009C084 00098FE4 7F 66 DB 78 */ mr r6, r27 -/* 8009C088 00098FE8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8009C08C 00098FEC 7F C7 F3 78 */ mr r7, r30 -/* 8009C090 00098FF0 7F 88 E3 78 */ mr r8, r28 -/* 8009C094 00098FF4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8009C098 00098FF8 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8009C09C 00098FFC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8009C0A0 00099000 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8009C0A4 00099004 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8009C0A8 00099008 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8009C0AC 0009900C 4B FF A5 11 */ bl FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo -/* 8009C0B0 00099010 2C 03 FF FF */ cmpwi r3, -1 -/* 8009C0B4 00099014 41 82 00 4C */ beq lbl_8009C100 -/* 8009C0B8 00099018 90 7F 00 A0 */ stw r3, 0xa0(r31) -/* 8009C0BC 0009901C 7F C3 F3 78 */ mr r3, r30 -/* 8009C0C0 00099020 81 9E 00 00 */ lwz r12, 0(r30) -/* 8009C0C4 00099024 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8009C0C8 00099028 7D 89 03 A6 */ mtctr r12 -/* 8009C0CC 0009902C 4E 80 04 21 */ bctrl -/* 8009C0D0 00099030 7F 84 E3 78 */ mr r4, r28 -/* 8009C0D4 00099034 7F C5 F3 78 */ mr r5, r30 -/* 8009C0D8 00099038 48 00 37 85 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld -/* 8009C0DC 0009903C 93 DF 00 24 */ stw r30, 0x24(r31) -/* 8009C0E0 00099040 7F E3 FB 78 */ mr r3, r31 -/* 8009C0E4 00099044 7F 65 DB 78 */ mr r5, r27 -/* 8009C0E8 00099048 38 80 00 01 */ li r4, 1 -/* 8009C0EC 0009904C 4B FF B2 49 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager -/* 8009C0F0 00099050 38 00 00 00 */ li r0, 0 -/* 8009C0F4 00099054 38 60 00 01 */ li r3, 1 -/* 8009C0F8 00099058 98 1F 03 2C */ stb r0, 0x32c(r31) -/* 8009C0FC 0009905C 48 00 00 28 */ b lbl_8009C124 -lbl_8009C100: -/* 8009C100 00099060 38 00 00 00 */ li r0, 0 -/* 8009C104 00099064 38 60 00 00 */ li r3, 0 -/* 8009C108 00099068 98 1F 03 2C */ stb r0, 0x32c(r31) -/* 8009C10C 0009906C 48 00 00 18 */ b lbl_8009C124 -lbl_8009C110: -/* 8009C110 00099070 38 60 00 01 */ li r3, 1 -/* 8009C114 00099074 48 00 00 10 */ b lbl_8009C124 -lbl_8009C118: -/* 8009C118 00099078 38 00 00 00 */ li r0, 0 -/* 8009C11C 0009907C 38 60 00 00 */ li r3, 0 -/* 8009C120 00099080 98 1F 03 2C */ stb r0, 0x32c(r31) -lbl_8009C124: -/* 8009C124 00099084 BB 61 00 AC */ lmw r27, 0xac(r1) -/* 8009C128 00099088 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8009C12C 0009908C 7C 08 03 A6 */ mtlr r0 -/* 8009C130 00099090 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8009C134 00099094 4E 80 00 20 */ blr - -.global HasCurrentMapUniverseWorld__11CAutoMapperFv -HasCurrentMapUniverseWorld__11CAutoMapperFv: -/* 8009C138 00099098 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009C13C 0009909C 7C 08 02 A6 */ mflr r0 -/* 8009C140 000990A0 7C 64 1B 78 */ mr r4, r3 -/* 8009C144 000990A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009C148 000990A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009C14C 000990AC 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8009C150 000990B0 83 E4 00 10 */ lwz r31, 0x10(r4) -/* 8009C154 000990B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8009C158 000990B8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009C15C 000990BC 7D 89 03 A6 */ mtctr r12 -/* 8009C160 000990C0 4E 80 04 21 */ bctrl -/* 8009C164 000990C4 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8009C168 000990C8 38 A0 00 00 */ li r5, 0 -/* 8009C16C 000990CC 7C 09 03 A6 */ mtctr r0 -/* 8009C170 000990D0 2C 00 00 00 */ cmpwi r0, 0 -/* 8009C174 000990D4 40 81 00 28 */ ble lbl_8009C19C -lbl_8009C178: -/* 8009C178 000990D8 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 8009C17C 000990DC 38 05 00 10 */ addi r0, r5, 0x10 -/* 8009C180 000990E0 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8009C184 000990E4 7C 03 00 40 */ cmplw r3, r0 -/* 8009C188 000990E8 40 82 00 0C */ bne lbl_8009C194 -/* 8009C18C 000990EC 38 60 00 01 */ li r3, 1 -/* 8009C190 000990F0 48 00 00 10 */ b lbl_8009C1A0 -lbl_8009C194: -/* 8009C194 000990F4 38 A5 00 70 */ addi r5, r5, 0x70 -/* 8009C198 000990F8 42 00 FF E0 */ bdnz lbl_8009C178 -lbl_8009C19C: -/* 8009C19C 000990FC 38 60 00 00 */ li r3, 0 -lbl_8009C1A0: -/* 8009C1A0 00099100 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009C1A4 00099104 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8009C1A8 00099108 7C 08 03 A6 */ mtlr r0 -/* 8009C1AC 0009910C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8009C1B0 00099110 4E 80 00 20 */ blr - -.global UnmuteAllLoopedSounds__11CAutoMapperFv -UnmuteAllLoopedSounds__11CAutoMapperFv: -/* 8009C1B4 00099114 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009C1B8 00099118 7C 08 02 A6 */ mflr r0 -/* 8009C1BC 0009911C 38 80 00 7F */ li r4, 0x7f -/* 8009C1C0 00099120 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009C1C4 00099124 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009C1C8 00099128 7C 7F 1B 78 */ mr r31, r3 -/* 8009C1CC 0009912C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009C1D0 00099130 80 1F 01 CC */ lwz r0, 0x1cc(r31) -/* 8009C1D4 00099134 90 01 00 10 */ stw r0, 0x10(r1) -/* 8009C1D8 00099138 48 24 DA 81 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 8009C1DC 0009913C 80 1F 01 D0 */ lwz r0, 0x1d0(r31) -/* 8009C1E0 00099140 38 61 00 0C */ addi r3, r1, 0xc -/* 8009C1E4 00099144 38 80 00 7F */ li r4, 0x7f -/* 8009C1E8 00099148 90 01 00 0C */ stw r0, 0xc(r1) -/* 8009C1EC 0009914C 48 24 DA 6D */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 8009C1F0 00099150 80 1F 01 D4 */ lwz r0, 0x1d4(r31) -/* 8009C1F4 00099154 38 61 00 08 */ addi r3, r1, 8 -/* 8009C1F8 00099158 38 80 00 7F */ li r4, 0x7f -/* 8009C1FC 0009915C 90 01 00 08 */ stw r0, 8(r1) -/* 8009C200 00099160 48 24 DA 59 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 8009C204 00099164 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009C208 00099168 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009C20C 0009916C 7C 08 03 A6 */ mtlr r0 -/* 8009C210 00099170 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009C214 00099174 4E 80 00 20 */ blr - -.global NotHintNavigating__11CAutoMapperFv -NotHintNavigating__11CAutoMapperFv: -/* 8009C218 00099178 80 03 01 F4 */ lwz r0, 0x1f4(r3) -/* 8009C21C 0009917C 38 60 00 01 */ li r3, 1 -/* 8009C220 00099180 7C 00 00 34 */ cntlzw r0, r0 -/* 8009C224 00099184 5C 63 07 FE */ rlwnm r3, r3, r0, 0x1f, 0x1f -/* 8009C228 00099188 4E 80 00 20 */ blr - -.global CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager -CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager: -/* 8009C22C 0009918C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009C230 00099190 7C 08 02 A6 */ mflr r0 -/* 8009C234 00099194 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009C238 00099198 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009C23C 0009919C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009C240 000991A0 7C 9E 23 78 */ mr r30, r4 -/* 8009C244 000991A4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009C248 000991A8 7C 7D 1B 78 */ mr r29, r3 -/* 8009C24C 000991AC 4B FF FF CD */ bl NotHintNavigating__11CAutoMapperFv -/* 8009C250 000991B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009C254 000991B4 40 82 00 0C */ bne lbl_8009C260 -/* 8009C258 000991B8 38 60 00 00 */ li r3, 0 -/* 8009C25C 000991BC 48 00 00 68 */ b lbl_8009C2C4 -lbl_8009C260: -/* 8009C260 000991C0 7F A3 EB 78 */ mr r3, r29 -/* 8009C264 000991C4 4B FF 9A 8D */ bl IsRenderStateInterpolating__11CAutoMapperCFv -/* 8009C268 000991C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009C26C 000991CC 41 82 00 0C */ beq lbl_8009C278 -/* 8009C270 000991D0 38 60 00 00 */ li r3, 0 -/* 8009C274 000991D4 48 00 00 50 */ b lbl_8009C2C4 -lbl_8009C278: -/* 8009C278 000991D8 7F A3 EB 78 */ mr r3, r29 -/* 8009C27C 000991DC 38 80 00 02 */ li r4, 2 -/* 8009C280 000991E0 4B FF 9A A5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 8009C284 000991E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009C288 000991E8 41 82 00 0C */ beq lbl_8009C294 -/* 8009C28C 000991EC 3B E0 00 01 */ li r31, 1 -/* 8009C290 000991F0 48 00 00 30 */ b lbl_8009C2C0 -lbl_8009C294: -/* 8009C294 000991F4 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8009C298 000991F8 3B E0 00 00 */ li r31, 0 -/* 8009C29C 000991FC 80 1E 08 50 */ lwz r0, 0x850(r30) -/* 8009C2A0 00099200 7C 03 00 40 */ cmplw r3, r0 -/* 8009C2A4 00099204 40 82 00 1C */ bne lbl_8009C2C0 -/* 8009C2A8 00099208 7F A3 EB 78 */ mr r3, r29 -/* 8009C2AC 0009920C 38 80 00 01 */ li r4, 1 -/* 8009C2B0 00099210 4B FF 9A 75 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 8009C2B4 00099214 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009C2B8 00099218 41 82 00 08 */ beq lbl_8009C2C0 -/* 8009C2BC 0009921C 3B E0 00 01 */ li r31, 1 -lbl_8009C2C0: -/* 8009C2C0 00099220 7F E3 FB 78 */ mr r3, r31 -lbl_8009C2C4: -/* 8009C2C4 00099224 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009C2C8 00099228 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009C2CC 0009922C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009C2D0 00099230 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009C2D4 00099234 7C 08 03 A6 */ mtlr r0 -/* 8009C2D8 00099238 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009C2DC 0009923C 4E 80 00 20 */ blr - -.global CanLeaveMapScreen__11CAutoMapperCFRC13CStateManager -CanLeaveMapScreen__11CAutoMapperCFRC13CStateManager: -/* 8009C2E0 00099240 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009C2E4 00099244 7C 08 02 A6 */ mflr r0 -/* 8009C2E8 00099248 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009C2EC 0009924C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009C2F0 00099250 3B E0 00 00 */ li r31, 0 -/* 8009C2F4 00099254 80 03 03 28 */ lwz r0, 0x328(r3) -/* 8009C2F8 00099258 2C 00 00 03 */ cmpwi r0, 3 -/* 8009C2FC 0009925C 40 82 00 14 */ bne lbl_8009C310 -/* 8009C300 00099260 4B FF FF 2D */ bl CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager -/* 8009C304 00099264 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009C308 00099268 41 82 00 08 */ beq lbl_8009C310 -/* 8009C30C 0009926C 3B E0 00 01 */ li r31, 1 -lbl_8009C310: -/* 8009C310 00099270 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009C314 00099274 7F E3 FB 78 */ mr r3, r31 -/* 8009C318 00099278 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8009C31C 0009927C 7C 08 03 A6 */ mtlr r0 -/* 8009C320 00099280 38 21 00 10 */ addi r1, r1, 0x10 -/* 8009C324 00099284 4E 80 00 20 */ blr - -.global OnNewInGameGuiState__11CAutoMapperF15EInGameGuiStateR13CStateManager -OnNewInGameGuiState__11CAutoMapperF15EInGameGuiStateR13CStateManager: -/* 8009C328 00099288 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009C32C 0009928C 7C 08 02 A6 */ mflr r0 -/* 8009C330 00099290 2C 04 00 02 */ cmpwi r4, 2 -/* 8009C334 00099294 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009C338 00099298 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009C33C 0009929C 7C BF 2B 78 */ mr r31, r5 -/* 8009C340 000992A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009C344 000992A4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009C348 000992A8 7C 7D 1B 78 */ mr r29, r3 -/* 8009C34C 000992AC 93 81 00 10 */ stw r28, 0x10(r1) -/* 8009C350 000992B0 40 82 01 2C */ bne lbl_8009C47C -/* 8009C354 000992B4 4B F6 84 BD */ bl EnsureWorldPaksReady__5CMainFv -/* 8009C358 000992B8 83 DF 08 50 */ lwz r30, 0x850(r31) -/* 8009C35C 000992BC 7F C3 F3 78 */ mr r3, r30 -/* 8009C360 000992C0 4B FB B3 3D */ bl GetMapWorld__6CWorldCFv -/* 8009C364 000992C4 7F C4 F3 78 */ mr r4, r30 -/* 8009C368 000992C8 38 A0 00 00 */ li r5, 0 -/* 8009C36C 000992CC 38 C0 27 0F */ li r6, 0x270f -/* 8009C370 000992D0 48 00 4E 99 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii -/* 8009C374 000992D4 7F A3 EB 78 */ mr r3, r29 -/* 8009C378 000992D8 48 00 01 6D */ bl SetupHintNavigation__11CAutoMapperFv -/* 8009C37C 000992DC 7F A3 EB 78 */ mr r3, r29 -/* 8009C380 000992E0 7F E5 FB 78 */ mr r5, r31 -/* 8009C384 000992E4 38 80 00 01 */ li r4, 1 -/* 8009C388 000992E8 4B FF AF AD */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager -/* 8009C38C 000992EC 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 8009C390 000992F0 3B 80 00 00 */ li r28, 0 -/* 8009C394 000992F4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l -/* 8009C398 000992F8 38 60 00 0C */ li r3, 0xc -/* 8009C39C 000992FC 38 84 00 0F */ addi r4, r4, 0xf -/* 8009C3A0 00099300 38 A0 00 00 */ li r5, 0 -/* 8009C3A4 00099304 48 27 94 C9 */ bl __nw__FUlPCcPCc -/* 8009C3A8 00099308 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8009C3AC 0009930C 41 82 00 38 */ beq lbl_8009C3E4 -/* 8009C3B0 00099310 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009C3B4 00099314 38 61 00 08 */ addi r3, r1, 8 -/* 8009C3B8 00099318 80 A2 8B 60 */ lwz r5, lbl_805AA880@sda21(r2) -/* 8009C3BC 0009931C 81 84 00 00 */ lwz r12, 0(r4) -/* 8009C3C0 00099320 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8009C3C4 00099324 7D 89 03 A6 */ mtctr r12 -/* 8009C3C8 00099328 4E 80 04 21 */ bctrl -/* 8009C3CC 0009932C 7F E3 FB 78 */ mr r3, r31 -/* 8009C3D0 00099330 38 81 00 08 */ addi r4, r1, 8 -/* 8009C3D4 00099334 3B 80 00 01 */ li r28, 1 -/* 8009C3D8 00099338 48 2A 4A D1 */ bl __ct__6CTokenFRC6CToken -/* 8009C3DC 0009933C 38 00 00 00 */ li r0, 0 -/* 8009C3E0 00099340 90 1F 00 08 */ stw r0, 8(r31) -lbl_8009C3E4: -/* 8009C3E4 00099344 83 DD 00 28 */ lwz r30, 0x28(r29) -/* 8009C3E8 00099348 28 1E 00 00 */ cmplwi r30, 0 -/* 8009C3EC 0009934C 41 82 00 1C */ beq lbl_8009C408 -/* 8009C3F0 00099350 41 82 00 10 */ beq lbl_8009C400 -/* 8009C3F4 00099354 7F C3 F3 78 */ mr r3, r30 -/* 8009C3F8 00099358 38 80 00 00 */ li r4, 0 -/* 8009C3FC 0009935C 48 2A 4A 45 */ bl __dt__6CTokenFv -lbl_8009C400: -/* 8009C400 00099360 7F C3 F3 78 */ mr r3, r30 -/* 8009C404 00099364 48 27 95 2D */ bl Free__7CMemoryFPCv -lbl_8009C408: -/* 8009C408 00099368 7F 80 07 75 */ extsb. r0, r28 -/* 8009C40C 0009936C 93 FD 00 28 */ stw r31, 0x28(r29) -/* 8009C410 00099370 41 82 00 10 */ beq lbl_8009C420 -/* 8009C414 00099374 38 61 00 08 */ addi r3, r1, 8 -/* 8009C418 00099378 38 80 FF FF */ li r4, -1 -/* 8009C41C 0009937C 48 2A 4A 25 */ bl __dt__6CTokenFv -lbl_8009C420: -/* 8009C420 00099380 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8009C424 00099384 48 2A 49 61 */ bl Lock__6CTokenFv -/* 8009C428 00099388 7F A3 EB 78 */ mr r3, r29 -/* 8009C42C 0009938C 38 9D 02 10 */ addi r4, r29, 0x210 -/* 8009C430 00099390 38 A0 00 01 */ li r5, 1 -/* 8009C434 00099394 48 00 10 15 */ bl "SetResLockState,9>>__11CAutoMapperFv" -/* 8009C438 00099398 7F A3 EB 78 */ mr r3, r29 -/* 8009C43C 0009939C 38 9D 02 5C */ addi r4, r29, 0x25c -/* 8009C440 000993A0 38 A0 00 01 */ li r5, 1 -/* 8009C444 000993A4 48 00 10 05 */ bl "SetResLockState,9>>__11CAutoMapperFv" -/* 8009C448 000993A8 7F A3 EB 78 */ mr r3, r29 -/* 8009C44C 000993AC 38 9D 02 A8 */ addi r4, r29, 0x2a8 -/* 8009C450 000993B0 38 A0 00 01 */ li r5, 1 -/* 8009C454 000993B4 48 00 0F 79 */ bl "SetResLockState,2>>__11CAutoMapperFv" -/* 8009C458 000993B8 7F A3 EB 78 */ mr r3, r29 -/* 8009C45C 000993BC 38 9D 02 BC */ addi r4, r29, 0x2bc -/* 8009C460 000993C0 38 A0 00 01 */ li r5, 1 -/* 8009C464 000993C4 48 00 0F 69 */ bl "SetResLockState,2>>__11CAutoMapperFv" -/* 8009C468 000993C8 7F A3 EB 78 */ mr r3, r29 -/* 8009C46C 000993CC 38 9D 02 D0 */ addi r4, r29, 0x2d0 -/* 8009C470 000993D0 38 A0 00 01 */ li r5, 1 -/* 8009C474 000993D4 48 00 0F 59 */ bl "SetResLockState,2>>__11CAutoMapperFv" -/* 8009C478 000993D8 48 00 00 4C */ b lbl_8009C4C4 -lbl_8009C47C: -/* 8009C47C 000993DC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009C480 000993E0 48 13 75 51 */ bl CurrentWorldAssetId__10CGameStateCFv -/* 8009C484 000993E4 4B F6 83 F9 */ bl EnsureWorldPakReady__5CMainFUi -/* 8009C488 000993E8 80 1D 01 BC */ lwz r0, 0x1bc(r29) -/* 8009C48C 000993EC 2C 00 00 02 */ cmpwi r0, 2 -/* 8009C490 000993F0 41 82 00 14 */ beq lbl_8009C4A4 -/* 8009C494 000993F4 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8009C498 000993F8 80 1F 08 50 */ lwz r0, 0x850(r31) -/* 8009C49C 000993FC 7C 03 00 40 */ cmplw r3, r0 -/* 8009C4A0 00099400 40 82 00 1C */ bne lbl_8009C4BC -lbl_8009C4A4: -/* 8009C4A4 00099404 7F A3 EB 78 */ mr r3, r29 -/* 8009C4A8 00099408 7F E5 FB 78 */ mr r5, r31 -/* 8009C4AC 0009940C 38 80 00 00 */ li r4, 0 -/* 8009C4B0 00099410 4B FF AE 85 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager -/* 8009C4B4 00099414 38 00 00 00 */ li r0, 0 -/* 8009C4B8 00099418 90 1D 03 28 */ stw r0, 0x328(r29) -lbl_8009C4BC: -/* 8009C4BC 0009941C 7F A3 EB 78 */ mr r3, r29 -/* 8009C4C0 00099420 4B FF A6 19 */ bl LeaveMapScreenState__11CAutoMapperFv -lbl_8009C4C4: -/* 8009C4C4 00099424 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009C4C8 00099428 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009C4CC 0009942C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009C4D0 00099430 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009C4D4 00099434 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8009C4D8 00099438 7C 08 03 A6 */ mtlr r0 -/* 8009C4DC 0009943C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009C4E0 00099440 4E 80 00 20 */ blr - -.global SetupHintNavigation__11CAutoMapperFv -SetupHintNavigation__11CAutoMapperFv: -/* 8009C4E4 00099444 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8009C4E8 00099448 7C 08 02 A6 */ mflr r0 -/* 8009C4EC 0009944C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8009C4F0 00099450 BE 81 00 90 */ stmw r20, 0x90(r1) -/* 8009C4F4 00099454 7C 7F 1B 78 */ mr r31, r3 -/* 8009C4F8 00099458 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 8009C4FC 0009945C 88 04 01 E4 */ lbz r0, 0x1e4(r4) -/* 8009C500 00099460 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8009C504 00099464 41 82 07 14 */ beq lbl_8009CC18 -/* 8009C508 00099468 82 9F 01 E8 */ lwz r20, 0x1e8(r31) -/* 8009C50C 0009946C 80 9F 01 E4 */ lwz r4, 0x1e4(r31) -/* 8009C510 00099470 48 00 00 10 */ b lbl_8009C520 -lbl_8009C514: -/* 8009C514 00099474 38 7F 01 E0 */ addi r3, r31, 0x1e0 -/* 8009C518 00099478 48 00 1C E9 */ bl sub_8009e200 -/* 8009C51C 0009947C 7C 64 1B 78 */ mr r4, r3 -lbl_8009C520: -/* 8009C520 00099480 7C 04 A0 40 */ cmplw r4, r20 -/* 8009C524 00099484 40 82 FF F0 */ bne lbl_8009C514 -/* 8009C528 00099488 82 9F 02 00 */ lwz r20, 0x200(r31) -/* 8009C52C 0009948C 80 9F 01 FC */ lwz r4, 0x1fc(r31) -/* 8009C530 00099490 48 00 00 10 */ b lbl_8009C540 -lbl_8009C534: -/* 8009C534 00099494 38 7F 01 F8 */ addi r3, r31, 0x1f8 -/* 8009C538 00099498 48 00 1D BD */ bl sub_8009e2f4 -/* 8009C53C 0009949C 7C 64 1B 78 */ mr r4, r3 -lbl_8009C540: -/* 8009C540 000994A0 7C 04 A0 40 */ cmplw r4, r20 -/* 8009C544 000994A4 40 82 FF F0 */ bne lbl_8009C534 -/* 8009C548 000994A8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8009C54C 000994AC 3B 63 01 F8 */ addi r27, r3, 0x1f8 -/* 8009C550 000994B0 7F 63 DB 78 */ mr r3, r27 -/* 8009C554 000994B4 48 1C B1 C9 */ bl GetCurrentDisplayedHint__12CHintOptionsCFv -/* 8009C558 000994B8 28 03 00 00 */ cmplwi r3, 0 -/* 8009C55C 000994BC 3A C0 00 00 */ li r22, 0 -/* 8009C560 000994C0 41 82 05 90 */ beq lbl_8009CAF0 -/* 8009C564 000994C4 48 1C B8 E9 */ bl CanContinue__Q212CHintOptions10SHintStateFv -/* 8009C568 000994C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009C56C 000994CC 41 82 05 84 */ beq lbl_8009CAF0 -/* 8009C570 000994D0 80 82 8C 18 */ lwz r4, lbl_805AA938@sda21(r2) -/* 8009C574 000994D4 38 A0 00 04 */ li r5, 4 -/* 8009C578 000994D8 82 9F 01 E8 */ lwz r20, 0x1e8(r31) -/* 8009C57C 000994DC 38 00 00 00 */ li r0, 0 -/* 8009C580 000994E0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 8009C584 000994E4 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 8009C588 000994E8 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l -/* 8009C58C 000994EC 82 B4 00 00 */ lwz r21, 0(r20) -/* 8009C590 000994F0 90 81 00 80 */ stw r4, 0x80(r1) -/* 8009C594 000994F4 38 83 00 0F */ addi r4, r3, 0xf -/* 8009C598 000994F8 3A C0 00 01 */ li r22, 1 -/* 8009C59C 000994FC 38 60 00 14 */ li r3, 0x14 -/* 8009C5A0 00099500 98 01 00 84 */ stb r0, 0x84(r1) -/* 8009C5A4 00099504 38 A0 00 00 */ li r5, 0 -/* 8009C5A8 00099508 48 27 92 71 */ bl __nwa__FUlPCcPCc -/* 8009C5AC 0009950C 28 03 00 00 */ cmplwi r3, 0 -/* 8009C5B0 00099510 41 82 00 0C */ beq lbl_8009C5BC -/* 8009C5B4 00099514 92 A3 00 00 */ stw r21, 0(r3) -/* 8009C5B8 00099518 92 83 00 04 */ stw r20, 4(r3) -lbl_8009C5BC: -/* 8009C5BC 0009951C 34 A3 00 08 */ addic. r5, r3, 8 -/* 8009C5C0 00099520 41 82 00 1C */ beq lbl_8009C5DC -/* 8009C5C4 00099524 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 8009C5C8 00099528 80 81 00 80 */ lwz r4, 0x80(r1) -/* 8009C5CC 0009952C 90 05 00 00 */ stw r0, 0(r5) -/* 8009C5D0 00099530 88 01 00 84 */ lbz r0, 0x84(r1) -/* 8009C5D4 00099534 90 85 00 04 */ stw r4, 4(r5) -/* 8009C5D8 00099538 98 05 00 08 */ stb r0, 8(r5) -lbl_8009C5DC: -/* 8009C5DC 0009953C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) -/* 8009C5E0 00099540 7C 14 00 40 */ cmplw r20, r0 -/* 8009C5E4 00099544 40 82 00 08 */ bne lbl_8009C5EC -/* 8009C5E8 00099548 90 7F 01 E4 */ stw r3, 0x1e4(r31) -lbl_8009C5EC: -/* 8009C5EC 0009954C 80 83 00 00 */ lwz r4, 0(r3) -/* 8009C5F0 00099550 90 64 00 04 */ stw r3, 4(r4) -/* 8009C5F4 00099554 80 83 00 04 */ lwz r4, 4(r3) -/* 8009C5F8 00099558 90 64 00 00 */ stw r3, 0(r4) -/* 8009C5FC 0009955C 7F 63 DB 78 */ mr r3, r27 -/* 8009C600 00099560 80 9F 01 F4 */ lwz r4, 0x1f4(r31) -/* 8009C604 00099564 38 04 00 01 */ addi r0, r4, 1 -/* 8009C608 00099568 90 1F 01 F4 */ stw r0, 0x1f4(r31) -/* 8009C60C 0009956C 48 1C B0 F1 */ bl GetNextHintIdx__12CHintOptionsFv -/* 8009C610 00099570 1C 03 00 30 */ mulli r0, r3, 0x30 -/* 8009C614 00099574 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) -/* 8009C618 00099578 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8009C61C 0009957C 80 84 00 08 */ lwz r4, 8(r4) -/* 8009C620 00099580 81 83 00 00 */ lwz r12, 0(r3) -/* 8009C624 00099584 80 84 00 0C */ lwz r4, 0xc(r4) -/* 8009C628 00099588 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009C62C 0009958C 7F 44 02 14 */ add r26, r4, r0 -/* 8009C630 00099590 7D 89 03 A6 */ mtctr r12 -/* 8009C634 00099594 4E 80 04 21 */ bctrl -/* 8009C638 00099598 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009C63C 0009959C 83 A2 8C 1C */ lwz r29, lbl_805AA93C@sda21(r2) -/* 8009C640 000995A0 7C 75 1B 78 */ mr r21, r3 -/* 8009C644 000995A4 3A 80 00 00 */ li r20, 0 -/* 8009C648 000995A8 3B C4 D8 0C */ addi r30, r4, lbl_803CD80C@l -/* 8009C64C 000995AC 3B 00 00 00 */ li r24, 0 -/* 8009C650 000995B0 48 00 04 94 */ b lbl_8009CAE4 -lbl_8009C654: -/* 8009C654 000995B4 80 1A 00 2C */ lwz r0, 0x2c(r26) -/* 8009C658 000995B8 7F 20 C2 14 */ add r25, r0, r24 -/* 8009C65C 000995BC 82 F9 00 00 */ lwz r23, 0(r25) -/* 8009C660 000995C0 7C 17 A8 40 */ cmplw r23, r21 -/* 8009C664 000995C4 41 82 01 BC */ beq lbl_8009C820 -/* 8009C668 000995C8 83 9F 01 E8 */ lwz r28, 0x1e8(r31) -/* 8009C66C 000995CC 38 00 00 00 */ li r0, 0 -/* 8009C670 000995D0 38 80 00 02 */ li r4, 2 -/* 8009C674 000995D4 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 8009C678 000995D8 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l -/* 8009C67C 000995DC 90 81 00 70 */ stw r4, 0x70(r1) -/* 8009C680 000995E0 82 BC 00 00 */ lwz r21, 0(r28) -/* 8009C684 000995E4 38 83 00 0F */ addi r4, r3, 0xf -/* 8009C688 000995E8 90 01 00 74 */ stw r0, 0x74(r1) -/* 8009C68C 000995EC 38 60 00 14 */ li r3, 0x14 -/* 8009C690 000995F0 38 A0 00 00 */ li r5, 0 -/* 8009C694 000995F4 98 01 00 78 */ stb r0, 0x78(r1) -/* 8009C698 000995F8 48 27 91 81 */ bl __nwa__FUlPCcPCc -/* 8009C69C 000995FC 28 03 00 00 */ cmplwi r3, 0 -/* 8009C6A0 00099600 41 82 00 0C */ beq lbl_8009C6AC -/* 8009C6A4 00099604 92 A3 00 00 */ stw r21, 0(r3) -/* 8009C6A8 00099608 93 83 00 04 */ stw r28, 4(r3) -lbl_8009C6AC: -/* 8009C6AC 0009960C 34 A3 00 08 */ addic. r5, r3, 8 -/* 8009C6B0 00099610 41 82 00 1C */ beq lbl_8009C6CC -/* 8009C6B4 00099614 80 01 00 70 */ lwz r0, 0x70(r1) -/* 8009C6B8 00099618 80 81 00 74 */ lwz r4, 0x74(r1) -/* 8009C6BC 0009961C 90 05 00 00 */ stw r0, 0(r5) -/* 8009C6C0 00099620 88 01 00 78 */ lbz r0, 0x78(r1) -/* 8009C6C4 00099624 90 85 00 04 */ stw r4, 4(r5) -/* 8009C6C8 00099628 98 05 00 08 */ stb r0, 8(r5) -lbl_8009C6CC: -/* 8009C6CC 0009962C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) -/* 8009C6D0 00099630 7C 1C 00 40 */ cmplw r28, r0 -/* 8009C6D4 00099634 40 82 00 08 */ bne lbl_8009C6DC -/* 8009C6D8 00099638 90 7F 01 E4 */ stw r3, 0x1e4(r31) -lbl_8009C6DC: -/* 8009C6DC 0009963C 80 A3 00 00 */ lwz r5, 0(r3) -/* 8009C6E0 00099640 38 C0 00 01 */ li r6, 1 -/* 8009C6E4 00099644 38 00 00 00 */ li r0, 0 -/* 8009C6E8 00099648 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009C6EC 0009964C 90 65 00 04 */ stw r3, 4(r5) -/* 8009C6F0 00099650 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 8009C6F4 00099654 38 A0 00 00 */ li r5, 0 -/* 8009C6F8 00099658 80 E3 00 04 */ lwz r7, 4(r3) -/* 8009C6FC 0009965C 38 84 00 0F */ addi r4, r4, 0xf -/* 8009C700 00099660 90 C1 00 64 */ stw r6, 0x64(r1) -/* 8009C704 00099664 90 67 00 00 */ stw r3, 0(r7) -/* 8009C708 00099668 38 60 00 14 */ li r3, 0x14 -/* 8009C70C 0009966C 80 DF 01 F4 */ lwz r6, 0x1f4(r31) -/* 8009C710 00099670 92 E1 00 68 */ stw r23, 0x68(r1) -/* 8009C714 00099674 38 C6 00 01 */ addi r6, r6, 1 -/* 8009C718 00099678 90 DF 01 F4 */ stw r6, 0x1f4(r31) -/* 8009C71C 0009967C 82 BF 01 E8 */ lwz r21, 0x1e8(r31) -/* 8009C720 00099680 98 01 00 6C */ stb r0, 0x6c(r1) -/* 8009C724 00099684 83 95 00 00 */ lwz r28, 0(r21) -/* 8009C728 00099688 48 27 90 F1 */ bl __nwa__FUlPCcPCc -/* 8009C72C 0009968C 28 03 00 00 */ cmplwi r3, 0 -/* 8009C730 00099690 41 82 00 0C */ beq lbl_8009C73C -/* 8009C734 00099694 93 83 00 00 */ stw r28, 0(r3) -/* 8009C738 00099698 92 A3 00 04 */ stw r21, 4(r3) -lbl_8009C73C: -/* 8009C73C 0009969C 34 A3 00 08 */ addic. r5, r3, 8 -/* 8009C740 000996A0 41 82 00 1C */ beq lbl_8009C75C -/* 8009C744 000996A4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8009C748 000996A8 80 81 00 68 */ lwz r4, 0x68(r1) -/* 8009C74C 000996AC 90 05 00 00 */ stw r0, 0(r5) -/* 8009C750 000996B0 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8009C754 000996B4 90 85 00 04 */ stw r4, 4(r5) -/* 8009C758 000996B8 98 05 00 08 */ stb r0, 8(r5) -lbl_8009C75C: -/* 8009C75C 000996BC 80 1F 01 E4 */ lwz r0, 0x1e4(r31) -/* 8009C760 000996C0 7C 15 00 40 */ cmplw r21, r0 -/* 8009C764 000996C4 40 82 00 08 */ bne lbl_8009C76C -/* 8009C768 000996C8 90 7F 01 E4 */ stw r3, 0x1e4(r31) -lbl_8009C76C: -/* 8009C76C 000996CC 80 A3 00 00 */ lwz r5, 0(r3) -/* 8009C770 000996D0 38 C0 00 03 */ li r6, 3 -/* 8009C774 000996D4 38 00 00 00 */ li r0, 0 -/* 8009C778 000996D8 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009C77C 000996DC 90 65 00 04 */ stw r3, 4(r5) -/* 8009C780 000996E0 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 8009C784 000996E4 38 84 00 0F */ addi r4, r4, 0xf -/* 8009C788 000996E8 38 A0 00 00 */ li r5, 0 -/* 8009C78C 000996EC 80 E3 00 04 */ lwz r7, 4(r3) -/* 8009C790 000996F0 90 C1 00 58 */ stw r6, 0x58(r1) -/* 8009C794 000996F4 90 67 00 00 */ stw r3, 0(r7) -/* 8009C798 000996F8 38 60 00 14 */ li r3, 0x14 -/* 8009C79C 000996FC 80 DF 01 F4 */ lwz r6, 0x1f4(r31) -/* 8009C7A0 00099700 92 E1 00 5C */ stw r23, 0x5c(r1) -/* 8009C7A4 00099704 38 C6 00 01 */ addi r6, r6, 1 -/* 8009C7A8 00099708 90 DF 01 F4 */ stw r6, 0x1f4(r31) -/* 8009C7AC 0009970C 82 BF 01 E8 */ lwz r21, 0x1e8(r31) -/* 8009C7B0 00099710 98 01 00 60 */ stb r0, 0x60(r1) -/* 8009C7B4 00099714 83 95 00 00 */ lwz r28, 0(r21) -/* 8009C7B8 00099718 48 27 90 61 */ bl __nwa__FUlPCcPCc -/* 8009C7BC 0009971C 28 03 00 00 */ cmplwi r3, 0 -/* 8009C7C0 00099720 41 82 00 0C */ beq lbl_8009C7CC -/* 8009C7C4 00099724 93 83 00 00 */ stw r28, 0(r3) -/* 8009C7C8 00099728 92 A3 00 04 */ stw r21, 4(r3) -lbl_8009C7CC: -/* 8009C7CC 0009972C 34 A3 00 08 */ addic. r5, r3, 8 -/* 8009C7D0 00099730 41 82 00 1C */ beq lbl_8009C7EC -/* 8009C7D4 00099734 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8009C7D8 00099738 80 81 00 5C */ lwz r4, 0x5c(r1) -/* 8009C7DC 0009973C 90 05 00 00 */ stw r0, 0(r5) -/* 8009C7E0 00099740 88 01 00 60 */ lbz r0, 0x60(r1) -/* 8009C7E4 00099744 90 85 00 04 */ stw r4, 4(r5) -/* 8009C7E8 00099748 98 05 00 08 */ stb r0, 8(r5) -lbl_8009C7EC: -/* 8009C7EC 0009974C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) -/* 8009C7F0 00099750 7C 15 00 40 */ cmplw r21, r0 -/* 8009C7F4 00099754 40 82 00 08 */ bne lbl_8009C7FC -/* 8009C7F8 00099758 90 7F 01 E4 */ stw r3, 0x1e4(r31) -lbl_8009C7FC: -/* 8009C7FC 0009975C 80 83 00 00 */ lwz r4, 0(r3) -/* 8009C800 00099760 7E F5 BB 78 */ mr r21, r23 -/* 8009C804 00099764 90 64 00 04 */ stw r3, 4(r4) -/* 8009C808 00099768 80 83 00 04 */ lwz r4, 4(r3) -/* 8009C80C 0009976C 90 64 00 00 */ stw r3, 0(r4) -/* 8009C810 00099770 80 7F 01 F4 */ lwz r3, 0x1f4(r31) -/* 8009C814 00099774 38 03 00 01 */ addi r0, r3, 1 -/* 8009C818 00099778 90 1F 01 F4 */ stw r0, 0x1f4(r31) -/* 8009C81C 0009977C 48 00 00 94 */ b lbl_8009C8B0 -lbl_8009C820: -/* 8009C820 00099780 83 9F 01 E8 */ lwz r28, 0x1e8(r31) -/* 8009C824 00099784 38 00 00 00 */ li r0, 0 -/* 8009C828 00099788 38 80 00 06 */ li r4, 6 -/* 8009C82C 0009978C 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 8009C830 00099790 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l -/* 8009C834 00099794 90 81 00 4C */ stw r4, 0x4c(r1) -/* 8009C838 00099798 82 FC 00 00 */ lwz r23, 0(r28) -/* 8009C83C 0009979C 38 83 00 0F */ addi r4, r3, 0xf -/* 8009C840 000997A0 90 01 00 50 */ stw r0, 0x50(r1) -/* 8009C844 000997A4 38 60 00 14 */ li r3, 0x14 -/* 8009C848 000997A8 38 A0 00 00 */ li r5, 0 -/* 8009C84C 000997AC 98 01 00 54 */ stb r0, 0x54(r1) -/* 8009C850 000997B0 48 27 8F C9 */ bl __nwa__FUlPCcPCc -/* 8009C854 000997B4 28 03 00 00 */ cmplwi r3, 0 -/* 8009C858 000997B8 41 82 00 0C */ beq lbl_8009C864 -/* 8009C85C 000997BC 92 E3 00 00 */ stw r23, 0(r3) -/* 8009C860 000997C0 93 83 00 04 */ stw r28, 4(r3) -lbl_8009C864: -/* 8009C864 000997C4 34 A3 00 08 */ addic. r5, r3, 8 -/* 8009C868 000997C8 41 82 00 1C */ beq lbl_8009C884 -/* 8009C86C 000997CC 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8009C870 000997D0 80 81 00 50 */ lwz r4, 0x50(r1) -/* 8009C874 000997D4 90 05 00 00 */ stw r0, 0(r5) -/* 8009C878 000997D8 88 01 00 54 */ lbz r0, 0x54(r1) -/* 8009C87C 000997DC 90 85 00 04 */ stw r4, 4(r5) -/* 8009C880 000997E0 98 05 00 08 */ stb r0, 8(r5) -lbl_8009C884: -/* 8009C884 000997E4 80 1F 01 E4 */ lwz r0, 0x1e4(r31) -/* 8009C888 000997E8 7C 1C 00 40 */ cmplw r28, r0 -/* 8009C88C 000997EC 40 82 00 08 */ bne lbl_8009C894 -/* 8009C890 000997F0 90 7F 01 E4 */ stw r3, 0x1e4(r31) -lbl_8009C894: -/* 8009C894 000997F4 80 83 00 00 */ lwz r4, 0(r3) -/* 8009C898 000997F8 90 64 00 04 */ stw r3, 4(r4) -/* 8009C89C 000997FC 80 83 00 04 */ lwz r4, 4(r3) -/* 8009C8A0 00099800 90 64 00 00 */ stw r3, 0(r4) -/* 8009C8A4 00099804 80 7F 01 F4 */ lwz r3, 0x1f4(r31) -/* 8009C8A8 00099808 38 03 00 01 */ addi r0, r3, 1 -/* 8009C8AC 0009980C 90 1F 01 F4 */ stw r0, 0x1f4(r31) -lbl_8009C8B0: -/* 8009C8B0 00099810 80 19 00 08 */ lwz r0, 8(r25) -/* 8009C8B4 00099814 38 C0 00 00 */ li r6, 0 -/* 8009C8B8 00099818 83 9F 01 E8 */ lwz r28, 0x1e8(r31) -/* 8009C8BC 0009981C 38 9E 00 0F */ addi r4, r30, 0xf -/* 8009C8C0 00099820 90 C1 00 40 */ stw r6, 0x40(r1) -/* 8009C8C4 00099824 38 60 00 14 */ li r3, 0x14 -/* 8009C8C8 00099828 82 FC 00 00 */ lwz r23, 0(r28) -/* 8009C8CC 0009982C 38 A0 00 00 */ li r5, 0 -/* 8009C8D0 00099830 90 01 00 44 */ stw r0, 0x44(r1) -/* 8009C8D4 00099834 98 C1 00 48 */ stb r6, 0x48(r1) -/* 8009C8D8 00099838 48 27 8F 41 */ bl __nwa__FUlPCcPCc -/* 8009C8DC 0009983C 28 03 00 00 */ cmplwi r3, 0 -/* 8009C8E0 00099840 41 82 00 0C */ beq lbl_8009C8EC -/* 8009C8E4 00099844 92 E3 00 00 */ stw r23, 0(r3) -/* 8009C8E8 00099848 93 83 00 04 */ stw r28, 4(r3) -lbl_8009C8EC: -/* 8009C8EC 0009984C 34 A3 00 08 */ addic. r5, r3, 8 -/* 8009C8F0 00099850 41 82 00 1C */ beq lbl_8009C90C -/* 8009C8F4 00099854 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8009C8F8 00099858 80 81 00 44 */ lwz r4, 0x44(r1) -/* 8009C8FC 0009985C 90 05 00 00 */ stw r0, 0(r5) -/* 8009C900 00099860 88 01 00 48 */ lbz r0, 0x48(r1) -/* 8009C904 00099864 90 85 00 04 */ stw r4, 4(r5) -/* 8009C908 00099868 98 05 00 08 */ stb r0, 8(r5) -lbl_8009C90C: -/* 8009C90C 0009986C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) -/* 8009C910 00099870 7C 1C 00 40 */ cmplw r28, r0 -/* 8009C914 00099874 40 82 00 08 */ bne lbl_8009C91C -/* 8009C918 00099878 90 7F 01 E4 */ stw r3, 0x1e4(r31) -lbl_8009C91C: -/* 8009C91C 0009987C 80 E3 00 00 */ lwz r7, 0(r3) -/* 8009C920 00099880 38 00 00 00 */ li r0, 0 -/* 8009C924 00099884 38 C0 00 05 */ li r6, 5 -/* 8009C928 00099888 90 01 00 38 */ stw r0, 0x38(r1) -/* 8009C92C 0009988C 38 9E 00 0F */ addi r4, r30, 0xf -/* 8009C930 00099890 38 A0 00 00 */ li r5, 0 -/* 8009C934 00099894 90 67 00 04 */ stw r3, 4(r7) -/* 8009C938 00099898 80 E3 00 04 */ lwz r7, 4(r3) -/* 8009C93C 0009989C 90 C1 00 34 */ stw r6, 0x34(r1) -/* 8009C940 000998A0 90 67 00 00 */ stw r3, 0(r7) -/* 8009C944 000998A4 38 60 00 14 */ li r3, 0x14 -/* 8009C948 000998A8 80 DF 01 F4 */ lwz r6, 0x1f4(r31) -/* 8009C94C 000998AC 98 01 00 3C */ stb r0, 0x3c(r1) -/* 8009C950 000998B0 38 06 00 01 */ addi r0, r6, 1 -/* 8009C954 000998B4 90 1F 01 F4 */ stw r0, 0x1f4(r31) -/* 8009C958 000998B8 82 FF 01 E8 */ lwz r23, 0x1e8(r31) -/* 8009C95C 000998BC 83 97 00 00 */ lwz r28, 0(r23) -/* 8009C960 000998C0 48 27 8E B9 */ bl __nwa__FUlPCcPCc -/* 8009C964 000998C4 28 03 00 00 */ cmplwi r3, 0 -/* 8009C968 000998C8 41 82 00 0C */ beq lbl_8009C974 -/* 8009C96C 000998CC 93 83 00 00 */ stw r28, 0(r3) -/* 8009C970 000998D0 92 E3 00 04 */ stw r23, 4(r3) -lbl_8009C974: -/* 8009C974 000998D4 34 A3 00 08 */ addic. r5, r3, 8 -/* 8009C978 000998D8 41 82 00 1C */ beq lbl_8009C994 -/* 8009C97C 000998DC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8009C980 000998E0 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8009C984 000998E4 90 05 00 00 */ stw r0, 0(r5) -/* 8009C988 000998E8 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 8009C98C 000998EC 90 85 00 04 */ stw r4, 4(r5) -/* 8009C990 000998F0 98 05 00 08 */ stb r0, 8(r5) -lbl_8009C994: -/* 8009C994 000998F4 80 1F 01 E4 */ lwz r0, 0x1e4(r31) -/* 8009C998 000998F8 7C 17 00 40 */ cmplw r23, r0 -/* 8009C99C 000998FC 40 82 00 08 */ bne lbl_8009C9A4 -/* 8009C9A0 00099900 90 7F 01 E4 */ stw r3, 0x1e4(r31) -lbl_8009C9A4: -/* 8009C9A4 00099904 80 C3 00 00 */ lwz r6, 0(r3) -/* 8009C9A8 00099908 38 80 00 04 */ li r4, 4 -/* 8009C9AC 0009990C 38 00 00 00 */ li r0, 0 -/* 8009C9B0 00099910 90 81 00 28 */ stw r4, 0x28(r1) -/* 8009C9B4 00099914 38 9E 00 0F */ addi r4, r30, 0xf -/* 8009C9B8 00099918 38 A0 00 00 */ li r5, 0 -/* 8009C9BC 0009991C 90 66 00 04 */ stw r3, 4(r6) -/* 8009C9C0 00099920 80 C3 00 04 */ lwz r6, 4(r3) -/* 8009C9C4 00099924 93 A1 00 2C */ stw r29, 0x2c(r1) -/* 8009C9C8 00099928 90 66 00 00 */ stw r3, 0(r6) -/* 8009C9CC 0009992C 38 60 00 14 */ li r3, 0x14 -/* 8009C9D0 00099930 80 DF 01 F4 */ lwz r6, 0x1f4(r31) -/* 8009C9D4 00099934 98 01 00 30 */ stb r0, 0x30(r1) -/* 8009C9D8 00099938 38 06 00 01 */ addi r0, r6, 1 -/* 8009C9DC 0009993C 90 1F 01 F4 */ stw r0, 0x1f4(r31) -/* 8009C9E0 00099940 82 FF 01 E8 */ lwz r23, 0x1e8(r31) -/* 8009C9E4 00099944 83 97 00 00 */ lwz r28, 0(r23) -/* 8009C9E8 00099948 48 27 8E 31 */ bl __nwa__FUlPCcPCc -/* 8009C9EC 0009994C 28 03 00 00 */ cmplwi r3, 0 -/* 8009C9F0 00099950 41 82 00 0C */ beq lbl_8009C9FC -/* 8009C9F4 00099954 93 83 00 00 */ stw r28, 0(r3) -/* 8009C9F8 00099958 92 E3 00 04 */ stw r23, 4(r3) -lbl_8009C9FC: -/* 8009C9FC 0009995C 34 A3 00 08 */ addic. r5, r3, 8 -/* 8009CA00 00099960 41 82 00 1C */ beq lbl_8009CA1C -/* 8009CA04 00099964 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8009CA08 00099968 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 8009CA0C 0009996C 90 05 00 00 */ stw r0, 0(r5) -/* 8009CA10 00099970 88 01 00 30 */ lbz r0, 0x30(r1) -/* 8009CA14 00099974 90 85 00 04 */ stw r4, 4(r5) -/* 8009CA18 00099978 98 05 00 08 */ stb r0, 8(r5) -lbl_8009CA1C: -/* 8009CA1C 0009997C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) -/* 8009CA20 00099980 7C 17 00 40 */ cmplw r23, r0 -/* 8009CA24 00099984 40 82 00 08 */ bne lbl_8009CA2C -/* 8009CA28 00099988 90 7F 01 E4 */ stw r3, 0x1e4(r31) -lbl_8009CA2C: -/* 8009CA2C 0009998C 80 A3 00 00 */ lwz r5, 0(r3) -/* 8009CA30 00099990 38 80 00 00 */ li r4, 0 -/* 8009CA34 00099994 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) -/* 8009CA38 00099998 90 65 00 04 */ stw r3, 4(r5) -/* 8009CA3C 0009999C 80 A3 00 04 */ lwz r5, 4(r3) -/* 8009CA40 000999A0 90 65 00 00 */ stw r3, 0(r5) -/* 8009CA44 000999A4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8009CA48 000999A8 80 BF 01 F4 */ lwz r5, 0x1f4(r31) -/* 8009CA4C 000999AC 38 05 00 01 */ addi r0, r5, 1 -/* 8009CA50 000999B0 90 1F 01 F4 */ stw r0, 0x1f4(r31) -/* 8009CA54 000999B4 80 B9 00 00 */ lwz r5, 0(r25) -/* 8009CA58 000999B8 80 D9 00 08 */ lwz r6, 8(r25) -/* 8009CA5C 000999BC 48 00 11 AD */ bl __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId -/* 8009CA60 000999C0 82 FF 02 00 */ lwz r23, 0x200(r31) -/* 8009CA64 000999C4 38 9E 00 0F */ addi r4, r30, 0xf -/* 8009CA68 000999C8 38 60 00 18 */ li r3, 0x18 -/* 8009CA6C 000999CC 38 A0 00 00 */ li r5, 0 -/* 8009CA70 000999D0 83 37 00 00 */ lwz r25, 0(r23) -/* 8009CA74 000999D4 48 27 8D A5 */ bl __nwa__FUlPCcPCc -/* 8009CA78 000999D8 28 03 00 00 */ cmplwi r3, 0 -/* 8009CA7C 000999DC 41 82 00 0C */ beq lbl_8009CA88 -/* 8009CA80 000999E0 93 23 00 00 */ stw r25, 0(r3) -/* 8009CA84 000999E4 92 E3 00 04 */ stw r23, 4(r3) -lbl_8009CA88: -/* 8009CA88 000999E8 34 83 00 08 */ addic. r4, r3, 8 -/* 8009CA8C 000999EC 41 82 00 24 */ beq lbl_8009CAB0 -/* 8009CA90 000999F0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8009CA94 000999F4 90 04 00 00 */ stw r0, 0(r4) -/* 8009CA98 000999F8 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8009CA9C 000999FC D0 04 00 04 */ stfs f0, 4(r4) -/* 8009CAA0 00099A00 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8009CAA4 00099A04 90 04 00 08 */ stw r0, 8(r4) -/* 8009CAA8 00099A08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009CAAC 00099A0C 90 04 00 0C */ stw r0, 0xc(r4) -lbl_8009CAB0: -/* 8009CAB0 00099A10 80 1F 01 FC */ lwz r0, 0x1fc(r31) -/* 8009CAB4 00099A14 7C 17 00 40 */ cmplw r23, r0 -/* 8009CAB8 00099A18 40 82 00 08 */ bne lbl_8009CAC0 -/* 8009CABC 00099A1C 90 7F 01 FC */ stw r3, 0x1fc(r31) -lbl_8009CAC0: -/* 8009CAC0 00099A20 80 83 00 00 */ lwz r4, 0(r3) -/* 8009CAC4 00099A24 3B 18 00 10 */ addi r24, r24, 0x10 -/* 8009CAC8 00099A28 3A 94 00 01 */ addi r20, r20, 1 -/* 8009CACC 00099A2C 90 64 00 04 */ stw r3, 4(r4) -/* 8009CAD0 00099A30 80 83 00 04 */ lwz r4, 4(r3) -/* 8009CAD4 00099A34 90 64 00 00 */ stw r3, 0(r4) -/* 8009CAD8 00099A38 80 7F 02 0C */ lwz r3, 0x20c(r31) -/* 8009CADC 00099A3C 38 03 00 01 */ addi r0, r3, 1 -/* 8009CAE0 00099A40 90 1F 02 0C */ stw r0, 0x20c(r31) -lbl_8009CAE4: -/* 8009CAE4 00099A44 80 1A 00 24 */ lwz r0, 0x24(r26) -/* 8009CAE8 00099A48 7C 14 00 00 */ cmpw r20, r0 -/* 8009CAEC 00099A4C 41 80 FB 68 */ blt lbl_8009C654 -lbl_8009CAF0: -/* 8009CAF0 00099A50 3B 40 00 00 */ li r26, 0 -/* 8009CAF4 00099A54 56 DD 06 3E */ clrlwi r29, r22, 0x18 -/* 8009CAF8 00099A58 7F 5C D3 78 */ mr r28, r26 -/* 8009CAFC 00099A5C 3A 80 00 00 */ li r20, 0 -/* 8009CB00 00099A60 48 00 01 0C */ b lbl_8009CC0C -lbl_8009CB04: -/* 8009CB04 00099A64 28 1D 00 00 */ cmplwi r29, 0 -/* 8009CB08 00099A68 41 82 00 14 */ beq lbl_8009CB1C -/* 8009CB0C 00099A6C 7F 63 DB 78 */ mr r3, r27 -/* 8009CB10 00099A70 48 1C AB ED */ bl GetNextHintIdx__12CHintOptionsFv -/* 8009CB14 00099A74 7C 14 18 00 */ cmpw r20, r3 -/* 8009CB18 00099A78 41 82 00 E8 */ beq lbl_8009CC00 -lbl_8009CB1C: -/* 8009CB1C 00099A7C 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 8009CB20 00099A80 7C 03 D0 2E */ lwzx r0, r3, r26 -/* 8009CB24 00099A84 2C 00 00 02 */ cmpwi r0, 2 -/* 8009CB28 00099A88 40 82 00 D8 */ bne lbl_8009CC00 -/* 8009CB2C 00099A8C 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) -/* 8009CB30 00099A90 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 8009CB34 00099A94 3B C3 D8 0C */ addi r30, r3, lbl_803CD80C@l -/* 8009CB38 00099A98 3A A0 00 00 */ li r21, 0 -/* 8009CB3C 00099A9C 80 64 00 08 */ lwz r3, 8(r4) -/* 8009CB40 00099AA0 3B 00 00 00 */ li r24, 0 -/* 8009CB44 00099AA4 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8009CB48 00099AA8 7F 20 E2 14 */ add r25, r0, r28 -/* 8009CB4C 00099AAC 48 00 00 A8 */ b lbl_8009CBF4 -lbl_8009CB50: -/* 8009CB50 00099AB0 80 19 00 2C */ lwz r0, 0x2c(r25) -/* 8009CB54 00099AB4 38 61 00 08 */ addi r3, r1, 8 -/* 8009CB58 00099AB8 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 8009CB5C 00099ABC 38 80 00 01 */ li r4, 1 -/* 8009CB60 00099AC0 7C C0 C2 14 */ add r6, r0, r24 -/* 8009CB64 00099AC4 80 A6 00 00 */ lwz r5, 0(r6) -/* 8009CB68 00099AC8 80 C6 00 08 */ lwz r6, 8(r6) -/* 8009CB6C 00099ACC 48 00 10 9D */ bl __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId -/* 8009CB70 00099AD0 82 DF 02 00 */ lwz r22, 0x200(r31) -/* 8009CB74 00099AD4 38 9E 00 0F */ addi r4, r30, 0xf -/* 8009CB78 00099AD8 38 60 00 18 */ li r3, 0x18 -/* 8009CB7C 00099ADC 38 A0 00 00 */ li r5, 0 -/* 8009CB80 00099AE0 82 F6 00 00 */ lwz r23, 0(r22) -/* 8009CB84 00099AE4 48 27 8C 95 */ bl __nwa__FUlPCcPCc -/* 8009CB88 00099AE8 28 03 00 00 */ cmplwi r3, 0 -/* 8009CB8C 00099AEC 41 82 00 0C */ beq lbl_8009CB98 -/* 8009CB90 00099AF0 92 E3 00 00 */ stw r23, 0(r3) -/* 8009CB94 00099AF4 92 C3 00 04 */ stw r22, 4(r3) -lbl_8009CB98: -/* 8009CB98 00099AF8 34 83 00 08 */ addic. r4, r3, 8 -/* 8009CB9C 00099AFC 41 82 00 24 */ beq lbl_8009CBC0 -/* 8009CBA0 00099B00 80 01 00 08 */ lwz r0, 8(r1) -/* 8009CBA4 00099B04 90 04 00 00 */ stw r0, 0(r4) -/* 8009CBA8 00099B08 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8009CBAC 00099B0C D0 04 00 04 */ stfs f0, 4(r4) -/* 8009CBB0 00099B10 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8009CBB4 00099B14 90 04 00 08 */ stw r0, 8(r4) -/* 8009CBB8 00099B18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009CBBC 00099B1C 90 04 00 0C */ stw r0, 0xc(r4) -lbl_8009CBC0: -/* 8009CBC0 00099B20 80 1F 01 FC */ lwz r0, 0x1fc(r31) -/* 8009CBC4 00099B24 7C 16 00 40 */ cmplw r22, r0 -/* 8009CBC8 00099B28 40 82 00 08 */ bne lbl_8009CBD0 -/* 8009CBCC 00099B2C 90 7F 01 FC */ stw r3, 0x1fc(r31) -lbl_8009CBD0: -/* 8009CBD0 00099B30 80 83 00 00 */ lwz r4, 0(r3) -/* 8009CBD4 00099B34 3B 18 00 10 */ addi r24, r24, 0x10 -/* 8009CBD8 00099B38 3A B5 00 01 */ addi r21, r21, 1 -/* 8009CBDC 00099B3C 90 64 00 04 */ stw r3, 4(r4) -/* 8009CBE0 00099B40 80 83 00 04 */ lwz r4, 4(r3) -/* 8009CBE4 00099B44 90 64 00 00 */ stw r3, 0(r4) -/* 8009CBE8 00099B48 80 7F 02 0C */ lwz r3, 0x20c(r31) -/* 8009CBEC 00099B4C 38 03 00 01 */ addi r0, r3, 1 -/* 8009CBF0 00099B50 90 1F 02 0C */ stw r0, 0x20c(r31) -lbl_8009CBF4: -/* 8009CBF4 00099B54 80 19 00 24 */ lwz r0, 0x24(r25) -/* 8009CBF8 00099B58 7C 15 00 00 */ cmpw r21, r0 -/* 8009CBFC 00099B5C 41 80 FF 54 */ blt lbl_8009CB50 -lbl_8009CC00: -/* 8009CC00 00099B60 3B 5A 00 0C */ addi r26, r26, 0xc -/* 8009CC04 00099B64 3B 9C 00 30 */ addi r28, r28, 0x30 -/* 8009CC08 00099B68 3A 94 00 01 */ addi r20, r20, 1 -lbl_8009CC0C: -/* 8009CC0C 00099B6C 80 1B 00 04 */ lwz r0, 4(r27) -/* 8009CC10 00099B70 7C 14 00 00 */ cmpw r20, r0 -/* 8009CC14 00099B74 41 80 FE F0 */ blt lbl_8009CB04 -lbl_8009CC18: -/* 8009CC18 00099B78 BA 81 00 90 */ lmw r20, 0x90(r1) -/* 8009CC1C 00099B7C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8009CC20 00099B80 7C 08 03 A6 */ mtlr r0 -/* 8009CC24 00099B84 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8009CC28 00099B88 4E 80 00 20 */ blr - -.global CheckLoadComplete__11CAutoMapperFv -CheckLoadComplete__11CAutoMapperFv: -/* 8009CC2C 00099B8C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8009CC30 00099B90 7C 08 02 A6 */ mflr r0 -/* 8009CC34 00099B94 90 01 00 34 */ stw r0, 0x34(r1) -/* 8009CC38 00099B98 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8009CC3C 00099B9C 7C 7F 1B 78 */ mr r31, r3 -/* 8009CC40 00099BA0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8009CC44 00099BA4 80 03 00 04 */ lwz r0, 4(r3) -/* 8009CC48 00099BA8 2C 00 00 01 */ cmpwi r0, 1 -/* 8009CC4C 00099BAC 41 82 01 18 */ beq lbl_8009CD64 -/* 8009CC50 00099BB0 40 80 00 10 */ bge lbl_8009CC60 -/* 8009CC54 00099BB4 2C 00 00 00 */ cmpwi r0, 0 -/* 8009CC58 00099BB8 40 80 00 14 */ bge lbl_8009CC6C -/* 8009CC5C 00099BBC 48 00 02 58 */ b lbl_8009CEB4 -lbl_8009CC60: -/* 8009CC60 00099BC0 2C 00 00 03 */ cmpwi r0, 3 -/* 8009CC64 00099BC4 40 80 02 50 */ bge lbl_8009CEB4 -/* 8009CC68 00099BC8 48 00 02 44 */ b lbl_8009CEAC -lbl_8009CC6C: -/* 8009CC6C 00099BCC 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8009CC70 00099BD0 38 7F 00 4C */ addi r3, r31, 0x4c -/* 8009CC74 00099BD4 7C 65 1B 78 */ mr r5, r3 -/* 8009CC78 00099BD8 54 00 18 38 */ slwi r0, r0, 3 -/* 8009CC7C 00099BDC 7C 83 02 14 */ add r4, r3, r0 -/* 8009CC80 00099BE0 48 00 00 20 */ b lbl_8009CCA0 -lbl_8009CC84: -/* 8009CC84 00099BE4 80 65 00 00 */ lwz r3, 0(r5) -/* 8009CC88 00099BE8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8009CC8C 00099BEC 28 00 00 00 */ cmplwi r0, 0 -/* 8009CC90 00099BF0 40 82 00 0C */ bne lbl_8009CC9C -/* 8009CC94 00099BF4 38 60 00 00 */ li r3, 0 -/* 8009CC98 00099BF8 48 00 02 20 */ b lbl_8009CEB8 -lbl_8009CC9C: -/* 8009CC9C 00099BFC 38 A5 00 08 */ addi r5, r5, 8 -lbl_8009CCA0: -/* 8009CCA0 00099C00 7C 05 20 40 */ cmplw r5, r4 -/* 8009CCA4 00099C04 40 82 FF E0 */ bne lbl_8009CC84 -/* 8009CCA8 00099C08 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8009CCAC 00099C0C 28 00 00 00 */ cmplwi r0, 0 -/* 8009CCB0 00099C10 41 82 00 0C */ beq lbl_8009CCBC -/* 8009CCB4 00099C14 38 60 00 01 */ li r3, 1 -/* 8009CCB8 00099C18 48 00 00 3C */ b lbl_8009CCF4 -lbl_8009CCBC: -/* 8009CCBC 00099C1C 88 1F 00 34 */ lbz r0, 0x34(r31) -/* 8009CCC0 00099C20 28 00 00 00 */ cmplwi r0, 0 -/* 8009CCC4 00099C24 41 82 00 2C */ beq lbl_8009CCF0 -/* 8009CCC8 00099C28 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8009CCCC 00099C2C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8009CCD0 00099C30 28 00 00 00 */ cmplwi r0, 0 -/* 8009CCD4 00099C34 41 82 00 1C */ beq lbl_8009CCF0 -/* 8009CCD8 00099C38 38 7F 00 30 */ addi r3, r31, 0x30 -/* 8009CCDC 00099C3C 48 2A 41 31 */ bl GetObj__6CTokenFv -/* 8009CCE0 00099C40 80 03 00 04 */ lwz r0, 4(r3) -/* 8009CCE4 00099C44 38 60 00 01 */ li r3, 1 -/* 8009CCE8 00099C48 90 1F 00 38 */ stw r0, 0x38(r31) -/* 8009CCEC 00099C4C 48 00 00 08 */ b lbl_8009CCF4 -lbl_8009CCF0: -/* 8009CCF0 00099C50 38 60 00 00 */ li r3, 0 -lbl_8009CCF4: -/* 8009CCF4 00099C54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009CCF8 00099C58 41 82 00 64 */ beq lbl_8009CD5C -/* 8009CCFC 00099C5C 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8009CD00 00099C60 28 00 00 00 */ cmplwi r0, 0 -/* 8009CD04 00099C64 41 82 00 0C */ beq lbl_8009CD10 -/* 8009CD08 00099C68 38 60 00 01 */ li r3, 1 -/* 8009CD0C 00099C6C 48 00 00 3C */ b lbl_8009CD48 -lbl_8009CD10: -/* 8009CD10 00099C70 88 1F 00 40 */ lbz r0, 0x40(r31) -/* 8009CD14 00099C74 28 00 00 00 */ cmplwi r0, 0 -/* 8009CD18 00099C78 41 82 00 2C */ beq lbl_8009CD44 -/* 8009CD1C 00099C7C 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 8009CD20 00099C80 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8009CD24 00099C84 28 00 00 00 */ cmplwi r0, 0 -/* 8009CD28 00099C88 41 82 00 1C */ beq lbl_8009CD44 -/* 8009CD2C 00099C8C 38 7F 00 3C */ addi r3, r31, 0x3c -/* 8009CD30 00099C90 48 2A 40 DD */ bl GetObj__6CTokenFv -/* 8009CD34 00099C94 80 03 00 04 */ lwz r0, 4(r3) -/* 8009CD38 00099C98 38 60 00 01 */ li r3, 1 -/* 8009CD3C 00099C9C 90 1F 00 44 */ stw r0, 0x44(r31) -/* 8009CD40 00099CA0 48 00 00 08 */ b lbl_8009CD48 -lbl_8009CD44: -/* 8009CD44 00099CA4 38 60 00 00 */ li r3, 0 -lbl_8009CD48: -/* 8009CD48 00099CA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009CD4C 00099CAC 41 82 00 10 */ beq lbl_8009CD5C -/* 8009CD50 00099CB0 38 00 00 01 */ li r0, 1 -/* 8009CD54 00099CB4 90 1F 00 04 */ stw r0, 4(r31) -/* 8009CD58 00099CB8 48 00 00 0C */ b lbl_8009CD64 -lbl_8009CD5C: -/* 8009CD5C 00099CBC 38 60 00 00 */ li r3, 0 -/* 8009CD60 00099CC0 48 00 01 58 */ b lbl_8009CEB8 -lbl_8009CD64: -/* 8009CD64 00099CC4 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8009CD68 00099CC8 28 00 00 00 */ cmplwi r0, 0 -/* 8009CD6C 00099CCC 41 82 00 0C */ beq lbl_8009CD78 -/* 8009CD70 00099CD0 38 60 00 01 */ li r3, 1 -/* 8009CD74 00099CD4 48 00 00 3C */ b lbl_8009CDB0 -lbl_8009CD78: -/* 8009CD78 00099CD8 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 8009CD7C 00099CDC 28 00 00 00 */ cmplwi r0, 0 -/* 8009CD80 00099CE0 41 82 00 2C */ beq lbl_8009CDAC -/* 8009CD84 00099CE4 80 7F 00 08 */ lwz r3, 8(r31) -/* 8009CD88 00099CE8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8009CD8C 00099CEC 28 00 00 00 */ cmplwi r0, 0 -/* 8009CD90 00099CF0 41 82 00 1C */ beq lbl_8009CDAC -/* 8009CD94 00099CF4 38 7F 00 08 */ addi r3, r31, 8 -/* 8009CD98 00099CF8 48 2A 40 75 */ bl GetObj__6CTokenFv -/* 8009CD9C 00099CFC 80 03 00 04 */ lwz r0, 4(r3) -/* 8009CDA0 00099D00 38 60 00 01 */ li r3, 1 -/* 8009CDA4 00099D04 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8009CDA8 00099D08 48 00 00 08 */ b lbl_8009CDB0 -lbl_8009CDAC: -/* 8009CDAC 00099D0C 38 60 00 00 */ li r3, 0 -lbl_8009CDB0: -/* 8009CDB0 00099D10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009CDB4 00099D14 41 82 00 F0 */ beq lbl_8009CEA4 -/* 8009CDB8 00099D18 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8009CDBC 00099D1C 38 00 00 00 */ li r0, 0 -/* 8009CDC0 00099D20 98 01 00 08 */ stb r0, 8(r1) -/* 8009CDC4 00099D24 83 C3 00 14 */ lwz r30, 0x14(r3) -/* 8009CDC8 00099D28 90 01 00 0C */ stw r0, 0xc(r1) -/* 8009CDCC 00099D2C 57 C3 18 39 */ rlwinm. r3, r30, 3, 0, 0x1c -/* 8009CDD0 00099D30 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8009CDD4 00099D34 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009CDD8 00099D38 40 82 00 0C */ bne lbl_8009CDE4 -/* 8009CDDC 00099D3C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8009CDE0 00099D40 48 00 00 1C */ b lbl_8009CDFC -lbl_8009CDE4: -/* 8009CDE4 00099D44 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009CDE8 00099D48 38 A0 00 00 */ li r5, 0 -/* 8009CDEC 00099D4C 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 8009CDF0 00099D50 38 84 00 0F */ addi r4, r4, 0xf -/* 8009CDF4 00099D54 48 27 8A 25 */ bl __nwa__FUlPCcPCc -/* 8009CDF8 00099D58 90 61 00 1C */ stw r3, 0x1c(r1) -lbl_8009CDFC: -/* 8009CDFC 00099D5C 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8009CE00 00099D60 38 80 00 00 */ li r4, 0 -/* 8009CE04 00099D64 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8009CE08 00099D68 7F C9 03 A6 */ mtctr r30 -/* 8009CE0C 00099D6C 2C 1E 00 00 */ cmpwi r30, 0 -/* 8009CE10 00099D70 40 81 00 24 */ ble lbl_8009CE34 -lbl_8009CE14: -/* 8009CE14 00099D74 28 05 00 00 */ cmplwi r5, 0 -/* 8009CE18 00099D78 41 82 00 14 */ beq lbl_8009CE2C -/* 8009CE1C 00099D7C 88 61 00 08 */ lbz r3, 8(r1) -/* 8009CE20 00099D80 98 65 00 00 */ stb r3, 0(r5) -/* 8009CE24 00099D84 90 05 00 04 */ stw r0, 4(r5) -/* 8009CE28 00099D88 98 81 00 08 */ stb r4, 8(r1) -lbl_8009CE2C: -/* 8009CE2C 00099D8C 38 A5 00 08 */ addi r5, r5, 8 -/* 8009CE30 00099D90 42 00 FF E4 */ bdnz lbl_8009CE14 -lbl_8009CE34: -/* 8009CE34 00099D94 38 7F 00 14 */ addi r3, r31, 0x14 -/* 8009CE38 00099D98 38 81 00 10 */ addi r4, r1, 0x10 -/* 8009CE3C 00099D9C 48 00 00 95 */ bl sub_8009ced0 -/* 8009CE40 00099DA0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009CE44 00099DA4 38 80 FF FF */ li r4, -1 -/* 8009CE48 00099DA8 48 00 01 D1 */ bl sub_8009d018 -/* 8009CE4C 00099DAC 88 01 00 08 */ lbz r0, 8(r1) -/* 8009CE50 00099DB0 28 00 00 00 */ cmplwi r0, 0 -/* 8009CE54 00099DB4 41 82 00 24 */ beq lbl_8009CE78 -/* 8009CE58 00099DB8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8009CE5C 00099DBC 28 03 00 00 */ cmplwi r3, 0 -/* 8009CE60 00099DC0 41 82 00 18 */ beq lbl_8009CE78 -/* 8009CE64 00099DC4 81 83 00 00 */ lwz r12, 0(r3) -/* 8009CE68 00099DC8 38 80 00 01 */ li r4, 1 -/* 8009CE6C 00099DCC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009CE70 00099DD0 7D 89 03 A6 */ mtctr r12 -/* 8009CE74 00099DD4 4E 80 04 21 */ bctrl -lbl_8009CE78: -/* 8009CE78 00099DD8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8009CE7C 00099DDC 81 83 00 00 */ lwz r12, 0(r3) -/* 8009CE80 00099DE0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009CE84 00099DE4 7D 89 03 A6 */ mtctr r12 -/* 8009CE88 00099DE8 4E 80 04 21 */ bctrl -/* 8009CE8C 00099DEC 7C 64 1B 78 */ mr r4, r3 -/* 8009CE90 00099DF0 7F E3 FB 78 */ mr r3, r31 -/* 8009CE94 00099DF4 4B FF 8A A9 */ bl SetCurWorldAssetId__11CAutoMapperFi -/* 8009CE98 00099DF8 38 00 00 02 */ li r0, 2 -/* 8009CE9C 00099DFC 90 1F 00 04 */ stw r0, 4(r31) -/* 8009CEA0 00099E00 48 00 00 0C */ b lbl_8009CEAC -lbl_8009CEA4: -/* 8009CEA4 00099E04 38 60 00 00 */ li r3, 0 -/* 8009CEA8 00099E08 48 00 00 10 */ b lbl_8009CEB8 -lbl_8009CEAC: -/* 8009CEAC 00099E0C 38 60 00 01 */ li r3, 1 -/* 8009CEB0 00099E10 48 00 00 08 */ b lbl_8009CEB8 -lbl_8009CEB4: -/* 8009CEB4 00099E14 38 60 00 00 */ li r3, 0 -lbl_8009CEB8: -/* 8009CEB8 00099E18 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8009CEBC 00099E1C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8009CEC0 00099E20 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8009CEC4 00099E24 7C 08 03 A6 */ mtlr r0 -/* 8009CEC8 00099E28 38 21 00 30 */ addi r1, r1, 0x30 -/* 8009CECC 00099E2C 4E 80 00 20 */ blr - -.global sub_8009ced0 -sub_8009ced0: -/* 8009CED0 00099E30 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8009CED4 00099E34 7C 08 02 A6 */ mflr r0 -/* 8009CED8 00099E38 90 01 00 34 */ stw r0, 0x34(r1) -/* 8009CEDC 00099E3C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8009CEE0 00099E40 7C 9F 23 78 */ mr r31, r4 -/* 8009CEE4 00099E44 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8009CEE8 00099E48 7C 7E 1B 78 */ mr r30, r3 -/* 8009CEEC 00099E4C 7C 1E F8 40 */ cmplw r30, r31 -/* 8009CEF0 00099E50 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8009CEF4 00099E54 93 81 00 20 */ stw r28, 0x20(r1) -/* 8009CEF8 00099E58 40 82 00 08 */ bne lbl_8009CF00 -/* 8009CEFC 00099E5C 48 00 00 FC */ b lbl_8009CFF8 -lbl_8009CF00: -/* 8009CF00 00099E60 80 1E 00 04 */ lwz r0, 4(r30) -/* 8009CF04 00099E64 83 9E 00 0C */ lwz r28, 0xc(r30) -/* 8009CF08 00099E68 54 00 18 38 */ slwi r0, r0, 3 -/* 8009CF0C 00099E6C 7F BC 02 14 */ add r29, r28, r0 -/* 8009CF10 00099E70 93 81 00 0C */ stw r28, 0xc(r1) -/* 8009CF14 00099E74 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009CF18 00099E78 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8009CF1C 00099E7C 93 81 00 08 */ stw r28, 8(r1) -/* 8009CF20 00099E80 48 00 00 3C */ b lbl_8009CF5C -lbl_8009CF24: -/* 8009CF24 00099E84 28 1C 00 00 */ cmplwi r28, 0 -/* 8009CF28 00099E88 41 82 00 30 */ beq lbl_8009CF58 -/* 8009CF2C 00099E8C 88 1C 00 00 */ lbz r0, 0(r28) -/* 8009CF30 00099E90 28 00 00 00 */ cmplwi r0, 0 -/* 8009CF34 00099E94 41 82 00 24 */ beq lbl_8009CF58 -/* 8009CF38 00099E98 80 7C 00 04 */ lwz r3, 4(r28) -/* 8009CF3C 00099E9C 28 03 00 00 */ cmplwi r3, 0 -/* 8009CF40 00099EA0 41 82 00 18 */ beq lbl_8009CF58 -/* 8009CF44 00099EA4 81 83 00 00 */ lwz r12, 0(r3) -/* 8009CF48 00099EA8 38 80 00 01 */ li r4, 1 -/* 8009CF4C 00099EAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009CF50 00099EB0 7D 89 03 A6 */ mtctr r12 -/* 8009CF54 00099EB4 4E 80 04 21 */ bctrl -lbl_8009CF58: -/* 8009CF58 00099EB8 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8009CF5C: -/* 8009CF5C 00099EBC 7C 1C E8 40 */ cmplw r28, r29 -/* 8009CF60 00099EC0 40 82 FF C4 */ bne lbl_8009CF24 -/* 8009CF64 00099EC4 38 00 00 00 */ li r0, 0 -/* 8009CF68 00099EC8 90 1E 00 04 */ stw r0, 4(r30) -/* 8009CF6C 00099ECC 80 9F 00 04 */ lwz r4, 4(r31) -/* 8009CF70 00099ED0 2C 04 00 00 */ cmpwi r4, 0 -/* 8009CF74 00099ED4 40 82 00 28 */ bne lbl_8009CF9C -/* 8009CF78 00099ED8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8009CF7C 00099EDC 28 03 00 00 */ cmplwi r3, 0 -/* 8009CF80 00099EE0 41 82 00 08 */ beq lbl_8009CF88 -/* 8009CF84 00099EE4 48 27 89 AD */ bl Free__7CMemoryFPCv -lbl_8009CF88: -/* 8009CF88 00099EE8 38 00 00 00 */ li r0, 0 -/* 8009CF8C 00099EEC 90 1E 00 04 */ stw r0, 4(r30) -/* 8009CF90 00099EF0 90 1E 00 08 */ stw r0, 8(r30) -/* 8009CF94 00099EF4 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8009CF98 00099EF8 48 00 00 5C */ b lbl_8009CFF4 -lbl_8009CF9C: -/* 8009CF9C 00099EFC 7F C3 F3 78 */ mr r3, r30 -/* 8009CFA0 00099F00 48 00 11 3D */ bl "reserve__Q24rstl61vector,Q24rstl17rmemory_allocator>Fi" -/* 8009CFA4 00099F04 80 7F 00 04 */ lwz r3, 4(r31) -/* 8009CFA8 00099F08 38 00 00 00 */ li r0, 0 -/* 8009CFAC 00099F0C 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 8009CFB0 00099F10 54 63 18 38 */ slwi r3, r3, 3 -/* 8009CFB4 00099F14 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8009CFB8 00099F18 7C A6 1A 14 */ add r5, r6, r3 -/* 8009CFBC 00099F1C 48 00 00 28 */ b lbl_8009CFE4 -lbl_8009CFC0: -/* 8009CFC0 00099F20 28 04 00 00 */ cmplwi r4, 0 -/* 8009CFC4 00099F24 41 82 00 18 */ beq lbl_8009CFDC -/* 8009CFC8 00099F28 88 66 00 00 */ lbz r3, 0(r6) -/* 8009CFCC 00099F2C 98 64 00 00 */ stb r3, 0(r4) -/* 8009CFD0 00099F30 80 66 00 04 */ lwz r3, 4(r6) -/* 8009CFD4 00099F34 90 64 00 04 */ stw r3, 4(r4) -/* 8009CFD8 00099F38 98 06 00 00 */ stb r0, 0(r6) -lbl_8009CFDC: -/* 8009CFDC 00099F3C 38 84 00 08 */ addi r4, r4, 8 -/* 8009CFE0 00099F40 38 C6 00 08 */ addi r6, r6, 8 -lbl_8009CFE4: -/* 8009CFE4 00099F44 7C 06 28 40 */ cmplw r6, r5 -/* 8009CFE8 00099F48 40 82 FF D8 */ bne lbl_8009CFC0 -/* 8009CFEC 00099F4C 80 1F 00 04 */ lwz r0, 4(r31) -/* 8009CFF0 00099F50 90 1E 00 04 */ stw r0, 4(r30) -lbl_8009CFF4: -/* 8009CFF4 00099F54 7F C3 F3 78 */ mr r3, r30 -lbl_8009CFF8: -/* 8009CFF8 00099F58 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8009CFFC 00099F5C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8009D000 00099F60 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8009D004 00099F64 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8009D008 00099F68 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8009D00C 00099F6C 7C 08 03 A6 */ mtlr r0 -/* 8009D010 00099F70 38 21 00 30 */ addi r1, r1, 0x30 -/* 8009D014 00099F74 4E 80 00 20 */ blr - -.global sub_8009d018 -sub_8009d018: -/* 8009D018 00099F78 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8009D01C 00099F7C 7C 08 02 A6 */ mflr r0 -/* 8009D020 00099F80 90 01 00 34 */ stw r0, 0x34(r1) -/* 8009D024 00099F84 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8009D028 00099F88 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8009D02C 00099F8C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8009D030 00099F90 7C 9D 23 78 */ mr r29, r4 -/* 8009D034 00099F94 93 81 00 20 */ stw r28, 0x20(r1) -/* 8009D038 00099F98 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8009D03C 00099F9C 41 82 00 88 */ beq lbl_8009D0C4 -/* 8009D040 00099FA0 80 1C 00 04 */ lwz r0, 4(r28) -/* 8009D044 00099FA4 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 8009D048 00099FA8 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D04C 00099FAC 7F FE 02 14 */ add r31, r30, r0 -/* 8009D050 00099FB0 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8009D054 00099FB4 93 E1 00 08 */ stw r31, 8(r1) -/* 8009D058 00099FB8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009D05C 00099FBC 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8009D060 00099FC0 48 00 00 3C */ b lbl_8009D09C -lbl_8009D064: -/* 8009D064 00099FC4 28 1E 00 00 */ cmplwi r30, 0 -/* 8009D068 00099FC8 41 82 00 30 */ beq lbl_8009D098 -/* 8009D06C 00099FCC 88 1E 00 00 */ lbz r0, 0(r30) -/* 8009D070 00099FD0 28 00 00 00 */ cmplwi r0, 0 -/* 8009D074 00099FD4 41 82 00 24 */ beq lbl_8009D098 -/* 8009D078 00099FD8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8009D07C 00099FDC 28 03 00 00 */ cmplwi r3, 0 -/* 8009D080 00099FE0 41 82 00 18 */ beq lbl_8009D098 -/* 8009D084 00099FE4 81 83 00 00 */ lwz r12, 0(r3) -/* 8009D088 00099FE8 38 80 00 01 */ li r4, 1 -/* 8009D08C 00099FEC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009D090 00099FF0 7D 89 03 A6 */ mtctr r12 -/* 8009D094 00099FF4 4E 80 04 21 */ bctrl -lbl_8009D098: -/* 8009D098 00099FF8 3B DE 00 08 */ addi r30, r30, 8 -lbl_8009D09C: -/* 8009D09C 00099FFC 7C 1E F8 40 */ cmplw r30, r31 -/* 8009D0A0 0009A000 40 82 FF C4 */ bne lbl_8009D064 -/* 8009D0A4 0009A004 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8009D0A8 0009A008 28 03 00 00 */ cmplwi r3, 0 -/* 8009D0AC 0009A00C 41 82 00 08 */ beq lbl_8009D0B4 -/* 8009D0B0 0009A010 48 27 88 81 */ bl Free__7CMemoryFPCv -lbl_8009D0B4: -/* 8009D0B4 0009A014 7F A0 07 35 */ extsh. r0, r29 -/* 8009D0B8 0009A018 40 81 00 0C */ ble lbl_8009D0C4 -/* 8009D0BC 0009A01C 7F 83 E3 78 */ mr r3, r28 -/* 8009D0C0 0009A020 48 27 88 71 */ bl Free__7CMemoryFPCv -lbl_8009D0C4: -/* 8009D0C4 0009A024 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8009D0C8 0009A028 7F 83 E3 78 */ mr r3, r28 -/* 8009D0CC 0009A02C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8009D0D0 0009A030 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8009D0D4 0009A034 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8009D0D8 0009A038 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8009D0DC 0009A03C 7C 08 03 A6 */ mtlr r0 -/* 8009D0E0 0009A040 38 21 00 30 */ addi r1, r1, 0x30 -/* 8009D0E4 0009A044 4E 80 00 20 */ blr - -.global __dt__11CAutoMapperFv -__dt__11CAutoMapperFv: -/* 8009D0E8 0009A048 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009D0EC 0009A04C 7C 08 02 A6 */ mflr r0 -/* 8009D0F0 0009A050 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009D0F4 0009A054 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009D0F8 0009A058 7C 9F 23 78 */ mr r31, r4 -/* 8009D0FC 0009A05C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009D100 0009A060 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8009D104 0009A064 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009D108 0009A068 93 81 00 10 */ stw r28, 0x10(r1) -/* 8009D10C 0009A06C 41 82 02 9C */ beq lbl_8009D3A8 -/* 8009D110 0009A070 3C 80 80 3E */ lis r4, lbl_803DAE70@ha -/* 8009D114 0009A074 38 60 00 02 */ li r3, 2 -/* 8009D118 0009A078 38 04 AE 70 */ addi r0, r4, lbl_803DAE70@l -/* 8009D11C 0009A07C 90 1E 00 00 */ stw r0, 0(r30) -/* 8009D120 0009A080 48 24 C9 95 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels -/* 8009D124 0009A084 34 1E 02 D0 */ addic. r0, r30, 0x2d0 -/* 8009D128 0009A088 41 82 00 38 */ beq lbl_8009D160 -/* 8009D12C 0009A08C 3B 9E 02 D4 */ addi r28, r30, 0x2d4 -/* 8009D130 0009A090 3B A0 00 00 */ li r29, 0 -/* 8009D134 0009A094 48 00 00 18 */ b lbl_8009D14C -lbl_8009D138: -/* 8009D138 0009A098 7F 83 E3 78 */ mr r3, r28 -/* 8009D13C 0009A09C 38 80 FF FF */ li r4, -1 -/* 8009D140 0009A0A0 48 2A 3D 01 */ bl __dt__6CTokenFv -/* 8009D144 0009A0A4 3B 9C 00 08 */ addi r28, r28, 8 -/* 8009D148 0009A0A8 3B BD 00 01 */ addi r29, r29, 1 -lbl_8009D14C: -/* 8009D14C 0009A0AC 80 1E 02 D0 */ lwz r0, 0x2d0(r30) -/* 8009D150 0009A0B0 7C 1D 00 00 */ cmpw r29, r0 -/* 8009D154 0009A0B4 41 80 FF E4 */ blt lbl_8009D138 -/* 8009D158 0009A0B8 38 00 00 00 */ li r0, 0 -/* 8009D15C 0009A0BC 90 1E 02 D0 */ stw r0, 0x2d0(r30) -lbl_8009D160: -/* 8009D160 0009A0C0 34 1E 02 BC */ addic. r0, r30, 0x2bc -/* 8009D164 0009A0C4 41 82 00 38 */ beq lbl_8009D19C -/* 8009D168 0009A0C8 3B 9E 02 C0 */ addi r28, r30, 0x2c0 -/* 8009D16C 0009A0CC 3B A0 00 00 */ li r29, 0 -/* 8009D170 0009A0D0 48 00 00 18 */ b lbl_8009D188 -lbl_8009D174: -/* 8009D174 0009A0D4 7F 83 E3 78 */ mr r3, r28 -/* 8009D178 0009A0D8 38 80 FF FF */ li r4, -1 -/* 8009D17C 0009A0DC 48 2A 3C C5 */ bl __dt__6CTokenFv -/* 8009D180 0009A0E0 3B 9C 00 08 */ addi r28, r28, 8 -/* 8009D184 0009A0E4 3B BD 00 01 */ addi r29, r29, 1 -lbl_8009D188: -/* 8009D188 0009A0E8 80 1E 02 BC */ lwz r0, 0x2bc(r30) -/* 8009D18C 0009A0EC 7C 1D 00 00 */ cmpw r29, r0 -/* 8009D190 0009A0F0 41 80 FF E4 */ blt lbl_8009D174 -/* 8009D194 0009A0F4 38 00 00 00 */ li r0, 0 -/* 8009D198 0009A0F8 90 1E 02 BC */ stw r0, 0x2bc(r30) -lbl_8009D19C: -/* 8009D19C 0009A0FC 34 1E 02 A8 */ addic. r0, r30, 0x2a8 -/* 8009D1A0 0009A100 41 82 00 38 */ beq lbl_8009D1D8 -/* 8009D1A4 0009A104 3B 9E 02 AC */ addi r28, r30, 0x2ac -/* 8009D1A8 0009A108 3B A0 00 00 */ li r29, 0 -/* 8009D1AC 0009A10C 48 00 00 18 */ b lbl_8009D1C4 -lbl_8009D1B0: -/* 8009D1B0 0009A110 7F 83 E3 78 */ mr r3, r28 -/* 8009D1B4 0009A114 38 80 FF FF */ li r4, -1 -/* 8009D1B8 0009A118 48 2A 3C 89 */ bl __dt__6CTokenFv -/* 8009D1BC 0009A11C 3B 9C 00 08 */ addi r28, r28, 8 -/* 8009D1C0 0009A120 3B BD 00 01 */ addi r29, r29, 1 -lbl_8009D1C4: -/* 8009D1C4 0009A124 80 1E 02 A8 */ lwz r0, 0x2a8(r30) -/* 8009D1C8 0009A128 7C 1D 00 00 */ cmpw r29, r0 -/* 8009D1CC 0009A12C 41 80 FF E4 */ blt lbl_8009D1B0 -/* 8009D1D0 0009A130 38 00 00 00 */ li r0, 0 -/* 8009D1D4 0009A134 90 1E 02 A8 */ stw r0, 0x2a8(r30) -lbl_8009D1D8: -/* 8009D1D8 0009A138 34 1E 02 5C */ addic. r0, r30, 0x25c -/* 8009D1DC 0009A13C 41 82 00 38 */ beq lbl_8009D214 -/* 8009D1E0 0009A140 3B 9E 02 60 */ addi r28, r30, 0x260 -/* 8009D1E4 0009A144 3B A0 00 00 */ li r29, 0 -/* 8009D1E8 0009A148 48 00 00 18 */ b lbl_8009D200 -lbl_8009D1EC: -/* 8009D1EC 0009A14C 7F 83 E3 78 */ mr r3, r28 -/* 8009D1F0 0009A150 38 80 FF FF */ li r4, -1 -/* 8009D1F4 0009A154 48 2A 3C 4D */ bl __dt__6CTokenFv -/* 8009D1F8 0009A158 3B 9C 00 08 */ addi r28, r28, 8 -/* 8009D1FC 0009A15C 3B BD 00 01 */ addi r29, r29, 1 -lbl_8009D200: -/* 8009D200 0009A160 80 1E 02 5C */ lwz r0, 0x25c(r30) -/* 8009D204 0009A164 7C 1D 00 00 */ cmpw r29, r0 -/* 8009D208 0009A168 41 80 FF E4 */ blt lbl_8009D1EC -/* 8009D20C 0009A16C 38 00 00 00 */ li r0, 0 -/* 8009D210 0009A170 90 1E 02 5C */ stw r0, 0x25c(r30) -lbl_8009D214: -/* 8009D214 0009A174 34 1E 02 10 */ addic. r0, r30, 0x210 -/* 8009D218 0009A178 41 82 00 38 */ beq lbl_8009D250 -/* 8009D21C 0009A17C 3B 9E 02 14 */ addi r28, r30, 0x214 -/* 8009D220 0009A180 3B A0 00 00 */ li r29, 0 -/* 8009D224 0009A184 48 00 00 18 */ b lbl_8009D23C -lbl_8009D228: -/* 8009D228 0009A188 7F 83 E3 78 */ mr r3, r28 -/* 8009D22C 0009A18C 38 80 FF FF */ li r4, -1 -/* 8009D230 0009A190 48 2A 3C 11 */ bl __dt__6CTokenFv -/* 8009D234 0009A194 3B 9C 00 08 */ addi r28, r28, 8 -/* 8009D238 0009A198 3B BD 00 01 */ addi r29, r29, 1 -lbl_8009D23C: -/* 8009D23C 0009A19C 80 1E 02 10 */ lwz r0, 0x210(r30) -/* 8009D240 0009A1A0 7C 1D 00 00 */ cmpw r29, r0 -/* 8009D244 0009A1A4 41 80 FF E4 */ blt lbl_8009D228 -/* 8009D248 0009A1A8 38 00 00 00 */ li r0, 0 -/* 8009D24C 0009A1AC 90 1E 02 10 */ stw r0, 0x210(r30) -lbl_8009D250: -/* 8009D250 0009A1B0 38 7E 01 F8 */ addi r3, r30, 0x1f8 -/* 8009D254 0009A1B4 38 80 FF FF */ li r4, -1 -/* 8009D258 0009A1B8 48 00 11 19 */ bl sub_8009e370 -/* 8009D25C 0009A1BC 38 7E 01 E0 */ addi r3, r30, 0x1e0 -/* 8009D260 0009A1C0 38 80 FF FF */ li r4, -1 -/* 8009D264 0009A1C4 48 00 10 19 */ bl sub_8009e27c -/* 8009D268 0009A1C8 34 1E 00 8C */ addic. r0, r30, 0x8c -/* 8009D26C 0009A1CC 41 82 00 30 */ beq lbl_8009D29C -/* 8009D270 0009A1D0 88 1E 00 98 */ lbz r0, 0x98(r30) -/* 8009D274 0009A1D4 28 00 00 00 */ cmplwi r0, 0 -/* 8009D278 0009A1D8 41 82 00 1C */ beq lbl_8009D294 -/* 8009D27C 0009A1DC 34 7E 00 8C */ addic. r3, r30, 0x8c -/* 8009D280 0009A1E0 41 82 00 14 */ beq lbl_8009D294 -/* 8009D284 0009A1E4 28 03 00 00 */ cmplwi r3, 0 -/* 8009D288 0009A1E8 41 82 00 0C */ beq lbl_8009D294 -/* 8009D28C 0009A1EC 38 80 00 00 */ li r4, 0 -/* 8009D290 0009A1F0 48 2A 3B B1 */ bl __dt__6CTokenFv -lbl_8009D294: -/* 8009D294 0009A1F4 38 00 00 00 */ li r0, 0 -/* 8009D298 0009A1F8 98 1E 00 98 */ stb r0, 0x98(r30) -lbl_8009D29C: -/* 8009D29C 0009A1FC 34 1E 00 78 */ addic. r0, r30, 0x78 -/* 8009D2A0 0009A200 41 82 00 30 */ beq lbl_8009D2D0 -/* 8009D2A4 0009A204 88 1E 00 84 */ lbz r0, 0x84(r30) -/* 8009D2A8 0009A208 28 00 00 00 */ cmplwi r0, 0 -/* 8009D2AC 0009A20C 41 82 00 1C */ beq lbl_8009D2C8 -/* 8009D2B0 0009A210 34 7E 00 78 */ addic. r3, r30, 0x78 -/* 8009D2B4 0009A214 41 82 00 14 */ beq lbl_8009D2C8 -/* 8009D2B8 0009A218 28 03 00 00 */ cmplwi r3, 0 -/* 8009D2BC 0009A21C 41 82 00 0C */ beq lbl_8009D2C8 -/* 8009D2C0 0009A220 38 80 00 00 */ li r4, 0 -/* 8009D2C4 0009A224 48 2A 3B 7D */ bl __dt__6CTokenFv -lbl_8009D2C8: -/* 8009D2C8 0009A228 38 00 00 00 */ li r0, 0 -/* 8009D2CC 0009A22C 98 1E 00 84 */ stb r0, 0x84(r30) -lbl_8009D2D0: -/* 8009D2D0 0009A230 34 1E 00 48 */ addic. r0, r30, 0x48 -/* 8009D2D4 0009A234 41 82 00 38 */ beq lbl_8009D30C -/* 8009D2D8 0009A238 3B 9E 00 4C */ addi r28, r30, 0x4c -/* 8009D2DC 0009A23C 3B A0 00 00 */ li r29, 0 -/* 8009D2E0 0009A240 48 00 00 18 */ b lbl_8009D2F8 -lbl_8009D2E4: -/* 8009D2E4 0009A244 7F 83 E3 78 */ mr r3, r28 -/* 8009D2E8 0009A248 38 80 FF FF */ li r4, -1 -/* 8009D2EC 0009A24C 48 2A 3B 55 */ bl __dt__6CTokenFv -/* 8009D2F0 0009A250 3B 9C 00 08 */ addi r28, r28, 8 -/* 8009D2F4 0009A254 3B BD 00 01 */ addi r29, r29, 1 -lbl_8009D2F8: -/* 8009D2F8 0009A258 80 1E 00 48 */ lwz r0, 0x48(r30) -/* 8009D2FC 0009A25C 7C 1D 00 00 */ cmpw r29, r0 -/* 8009D300 0009A260 41 80 FF E4 */ blt lbl_8009D2E4 -/* 8009D304 0009A264 38 00 00 00 */ li r0, 0 -/* 8009D308 0009A268 90 1E 00 48 */ stw r0, 0x48(r30) -lbl_8009D30C: -/* 8009D30C 0009A26C 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 8009D310 0009A270 41 82 00 18 */ beq lbl_8009D328 -/* 8009D314 0009A274 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 8009D318 0009A278 41 82 00 10 */ beq lbl_8009D328 -/* 8009D31C 0009A27C 38 7E 00 3C */ addi r3, r30, 0x3c -/* 8009D320 0009A280 38 80 00 00 */ li r4, 0 -/* 8009D324 0009A284 48 2A 3B 1D */ bl __dt__6CTokenFv -lbl_8009D328: -/* 8009D328 0009A288 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 8009D32C 0009A28C 41 82 00 18 */ beq lbl_8009D344 -/* 8009D330 0009A290 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 8009D334 0009A294 41 82 00 10 */ beq lbl_8009D344 -/* 8009D338 0009A298 38 7E 00 30 */ addi r3, r30, 0x30 -/* 8009D33C 0009A29C 38 80 00 00 */ li r4, 0 -/* 8009D340 0009A2A0 48 2A 3B 01 */ bl __dt__6CTokenFv -lbl_8009D344: -/* 8009D344 0009A2A4 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 8009D348 0009A2A8 41 82 00 28 */ beq lbl_8009D370 -/* 8009D34C 0009A2AC 83 BE 00 28 */ lwz r29, 0x28(r30) -/* 8009D350 0009A2B0 28 1D 00 00 */ cmplwi r29, 0 -/* 8009D354 0009A2B4 41 82 00 1C */ beq lbl_8009D370 -/* 8009D358 0009A2B8 41 82 00 10 */ beq lbl_8009D368 -/* 8009D35C 0009A2BC 7F A3 EB 78 */ mr r3, r29 -/* 8009D360 0009A2C0 38 80 00 00 */ li r4, 0 -/* 8009D364 0009A2C4 48 2A 3A DD */ bl __dt__6CTokenFv -lbl_8009D368: -/* 8009D368 0009A2C8 7F A3 EB 78 */ mr r3, r29 -/* 8009D36C 0009A2CC 48 27 85 C5 */ bl Free__7CMemoryFPCv -lbl_8009D370: -/* 8009D370 0009A2D0 38 7E 00 14 */ addi r3, r30, 0x14 -/* 8009D374 0009A2D4 38 80 FF FF */ li r4, -1 -/* 8009D378 0009A2D8 4B FF FC A1 */ bl sub_8009d018 -/* 8009D37C 0009A2DC 34 1E 00 08 */ addic. r0, r30, 8 -/* 8009D380 0009A2E0 41 82 00 18 */ beq lbl_8009D398 -/* 8009D384 0009A2E4 34 1E 00 08 */ addic. r0, r30, 8 -/* 8009D388 0009A2E8 41 82 00 10 */ beq lbl_8009D398 -/* 8009D38C 0009A2EC 38 7E 00 08 */ addi r3, r30, 8 -/* 8009D390 0009A2F0 38 80 00 00 */ li r4, 0 -/* 8009D394 0009A2F4 48 2A 3A AD */ bl __dt__6CTokenFv -lbl_8009D398: -/* 8009D398 0009A2F8 7F E0 07 35 */ extsh. r0, r31 -/* 8009D39C 0009A2FC 40 81 00 0C */ ble lbl_8009D3A8 -/* 8009D3A0 0009A300 7F C3 F3 78 */ mr r3, r30 -/* 8009D3A4 0009A304 48 27 85 8D */ bl Free__7CMemoryFPCv -lbl_8009D3A8: -/* 8009D3A8 0009A308 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009D3AC 0009A30C 7F C3 F3 78 */ mr r3, r30 -/* 8009D3B0 0009A310 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009D3B4 0009A314 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009D3B8 0009A318 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009D3BC 0009A31C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8009D3C0 0009A320 7C 08 03 A6 */ mtlr r0 -/* 8009D3C4 0009A324 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009D3C8 0009A328 4E 80 00 20 */ blr - -.global "SetResLockState,2>>__11CAutoMapperFv" -"SetResLockState,2>>__11CAutoMapperFv": -/* 8009D3CC 0009A32C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009D3D0 0009A330 7C 08 02 A6 */ mflr r0 -/* 8009D3D4 0009A334 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009D3D8 0009A338 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009D3DC 0009A33C 54 BF 06 3E */ clrlwi r31, r5, 0x18 -/* 8009D3E0 0009A340 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009D3E4 0009A344 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009D3E8 0009A348 7C 9D 23 78 */ mr r29, r4 -/* 8009D3EC 0009A34C 3B DD 00 04 */ addi r30, r29, 4 -/* 8009D3F0 0009A350 48 00 00 24 */ b lbl_8009D414 -lbl_8009D3F4: -/* 8009D3F4 0009A354 28 1F 00 00 */ cmplwi r31, 0 -/* 8009D3F8 0009A358 41 82 00 10 */ beq lbl_8009D408 -/* 8009D3FC 0009A35C 7F C3 F3 78 */ mr r3, r30 -/* 8009D400 0009A360 48 2A 39 85 */ bl Lock__6CTokenFv -/* 8009D404 0009A364 48 00 00 0C */ b lbl_8009D410 -lbl_8009D408: -/* 8009D408 0009A368 7F C3 F3 78 */ mr r3, r30 -/* 8009D40C 0009A36C 48 2A 39 35 */ bl Unlock__6CTokenFv -lbl_8009D410: -/* 8009D410 0009A370 3B DE 00 08 */ addi r30, r30, 8 -lbl_8009D414: -/* 8009D414 0009A374 80 1D 00 00 */ lwz r0, 0(r29) -/* 8009D418 0009A378 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D41C 0009A37C 7C 7D 02 14 */ add r3, r29, r0 -/* 8009D420 0009A380 38 03 00 04 */ addi r0, r3, 4 -/* 8009D424 0009A384 7C 1E 00 40 */ cmplw r30, r0 -/* 8009D428 0009A388 40 82 FF CC */ bne lbl_8009D3F4 -/* 8009D42C 0009A38C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009D430 0009A390 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009D434 0009A394 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009D438 0009A398 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009D43C 0009A39C 7C 08 03 A6 */ mtlr r0 -/* 8009D440 0009A3A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009D444 0009A3A4 4E 80 00 20 */ blr - -.global "SetResLockState,9>>__11CAutoMapperFv" -"SetResLockState,9>>__11CAutoMapperFv": -/* 8009D448 0009A3A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009D44C 0009A3AC 7C 08 02 A6 */ mflr r0 -/* 8009D450 0009A3B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009D454 0009A3B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009D458 0009A3B8 54 BF 06 3E */ clrlwi r31, r5, 0x18 -/* 8009D45C 0009A3BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009D460 0009A3C0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009D464 0009A3C4 7C 9D 23 78 */ mr r29, r4 -/* 8009D468 0009A3C8 3B DD 00 04 */ addi r30, r29, 4 -/* 8009D46C 0009A3CC 48 00 00 24 */ b lbl_8009D490 -lbl_8009D470: -/* 8009D470 0009A3D0 28 1F 00 00 */ cmplwi r31, 0 -/* 8009D474 0009A3D4 41 82 00 10 */ beq lbl_8009D484 -/* 8009D478 0009A3D8 7F C3 F3 78 */ mr r3, r30 -/* 8009D47C 0009A3DC 48 2A 39 09 */ bl Lock__6CTokenFv -/* 8009D480 0009A3E0 48 00 00 0C */ b lbl_8009D48C -lbl_8009D484: -/* 8009D484 0009A3E4 7F C3 F3 78 */ mr r3, r30 -/* 8009D488 0009A3E8 48 2A 38 B9 */ bl Unlock__6CTokenFv -lbl_8009D48C: -/* 8009D48C 0009A3EC 3B DE 00 08 */ addi r30, r30, 8 -lbl_8009D490: -/* 8009D490 0009A3F0 80 1D 00 00 */ lwz r0, 0(r29) -/* 8009D494 0009A3F4 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D498 0009A3F8 7C 7D 02 14 */ add r3, r29, r0 -/* 8009D49C 0009A3FC 38 03 00 04 */ addi r0, r3, 4 -/* 8009D4A0 0009A400 7C 1E 00 40 */ cmplw r30, r0 -/* 8009D4A4 0009A404 40 82 FF CC */ bne lbl_8009D470 -/* 8009D4A8 0009A408 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009D4AC 0009A40C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009D4B0 0009A410 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009D4B4 0009A414 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009D4B8 0009A418 7C 08 03 A6 */ mtlr r0 -/* 8009D4BC 0009A41C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009D4C0 0009A420 4E 80 00 20 */ blr - -.global __ct__11CAutoMapperFR13CStateManager -__ct__11CAutoMapperFR13CStateManager: -/* 8009D4C4 0009A424 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 8009D4C8 0009A428 7C 08 02 A6 */ mflr r0 -/* 8009D4CC 0009A42C 3C A0 80 3E */ lis r5, lbl_803DAE70@ha -/* 8009D4D0 0009A430 90 01 01 54 */ stw r0, 0x154(r1) -/* 8009D4D4 0009A434 38 05 AE 70 */ addi r0, r5, lbl_803DAE70@l -/* 8009D4D8 0009A438 BF 21 01 34 */ stmw r25, 0x134(r1) -/* 8009D4DC 0009A43C 7C 7F 1B 78 */ mr r31, r3 -/* 8009D4E0 0009A440 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 8009D4E4 0009A444 7C 99 23 78 */ mr r25, r4 -/* 8009D4E8 0009A448 38 A3 D8 0C */ addi r5, r3, lbl_803CD80C@l -/* 8009D4EC 0009A44C 38 61 00 BC */ addi r3, r1, 0xbc -/* 8009D4F0 0009A450 38 A5 01 21 */ addi r5, r5, 0x121 -/* 8009D4F4 0009A454 90 1F 00 00 */ stw r0, 0(r31) -/* 8009D4F8 0009A458 38 00 00 00 */ li r0, 0 -/* 8009D4FC 0009A45C 90 1F 00 04 */ stw r0, 4(r31) -/* 8009D500 0009A460 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009D504 0009A464 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D508 0009A468 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8009D50C 0009A46C 7D 89 03 A6 */ mtctr r12 -/* 8009D510 0009A470 4E 80 04 21 */ bctrl -/* 8009D514 0009A474 3B 5F 00 08 */ addi r26, r31, 8 -/* 8009D518 0009A478 38 81 00 BC */ addi r4, r1, 0xbc -/* 8009D51C 0009A47C 7F 43 D3 78 */ mr r3, r26 -/* 8009D520 0009A480 48 2A 39 89 */ bl __ct__6CTokenFRC6CToken -/* 8009D524 0009A484 38 00 00 00 */ li r0, 0 -/* 8009D528 0009A488 38 61 00 BC */ addi r3, r1, 0xbc -/* 8009D52C 0009A48C 90 1A 00 08 */ stw r0, 8(r26) -/* 8009D530 0009A490 38 80 FF FF */ li r4, -1 -/* 8009D534 0009A494 48 2A 39 0D */ bl __dt__6CTokenFv -/* 8009D538 0009A498 38 C0 00 00 */ li r6, 0 -/* 8009D53C 0009A49C 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 8009D540 0009A4A0 90 DF 00 18 */ stw r6, 0x18(r31) -/* 8009D544 0009A4A4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l -/* 8009D548 0009A4A8 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8009D54C 0009A4AC 90 DF 00 1C */ stw r6, 0x1c(r31) -/* 8009D550 0009A4B0 38 A4 01 32 */ addi r5, r4, 0x132 -/* 8009D554 0009A4B4 90 DF 00 20 */ stw r6, 0x20(r31) -/* 8009D558 0009A4B8 80 19 08 50 */ lwz r0, 0x850(r25) -/* 8009D55C 0009A4BC 90 1F 00 24 */ stw r0, 0x24(r31) -/* 8009D560 0009A4C0 90 DF 00 28 */ stw r6, 0x28(r31) -/* 8009D564 0009A4C4 90 DF 00 2C */ stw r6, 0x2c(r31) -/* 8009D568 0009A4C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009D56C 0009A4CC 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D570 0009A4D0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8009D574 0009A4D4 7D 89 03 A6 */ mtctr r12 -/* 8009D578 0009A4D8 4E 80 04 21 */ bctrl -/* 8009D57C 0009A4DC 3B 5F 00 30 */ addi r26, r31, 0x30 -/* 8009D580 0009A4E0 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 8009D584 0009A4E4 7F 43 D3 78 */ mr r3, r26 -/* 8009D588 0009A4E8 48 2A 39 21 */ bl __ct__6CTokenFRC6CToken -/* 8009D58C 0009A4EC 38 00 00 00 */ li r0, 0 -/* 8009D590 0009A4F0 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8009D594 0009A4F4 90 1A 00 08 */ stw r0, 8(r26) -/* 8009D598 0009A4F8 38 80 FF FF */ li r4, -1 -/* 8009D59C 0009A4FC 48 2A 38 A5 */ bl __dt__6CTokenFv -/* 8009D5A0 0009A500 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009D5A4 0009A504 3C 60 80 3D */ lis r3, lbl_803CD80C@ha -/* 8009D5A8 0009A508 38 A3 D8 0C */ addi r5, r3, lbl_803CD80C@l -/* 8009D5AC 0009A50C 38 61 00 AC */ addi r3, r1, 0xac -/* 8009D5B0 0009A510 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D5B4 0009A514 38 A5 01 44 */ addi r5, r5, 0x144 -/* 8009D5B8 0009A518 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8009D5BC 0009A51C 7D 89 03 A6 */ mtctr r12 -/* 8009D5C0 0009A520 4E 80 04 21 */ bctrl -/* 8009D5C4 0009A524 3B 5F 00 3C */ addi r26, r31, 0x3c -/* 8009D5C8 0009A528 38 81 00 AC */ addi r4, r1, 0xac -/* 8009D5CC 0009A52C 7F 43 D3 78 */ mr r3, r26 -/* 8009D5D0 0009A530 48 2A 38 D9 */ bl __ct__6CTokenFRC6CToken -/* 8009D5D4 0009A534 38 00 00 00 */ li r0, 0 -/* 8009D5D8 0009A538 38 61 00 AC */ addi r3, r1, 0xac -/* 8009D5DC 0009A53C 90 1A 00 08 */ stw r0, 8(r26) -/* 8009D5E0 0009A540 38 80 FF FF */ li r4, -1 -/* 8009D5E4 0009A544 48 2A 38 5D */ bl __dt__6CTokenFv -/* 8009D5E8 0009A548 38 80 00 00 */ li r4, 0 -/* 8009D5EC 0009A54C 38 00 FF FF */ li r0, -1 -/* 8009D5F0 0009A550 90 9F 00 48 */ stw r4, 0x48(r31) -/* 8009D5F4 0009A554 38 61 00 08 */ addi r3, r1, 8 -/* 8009D5F8 0009A558 90 1F 00 74 */ stw r0, 0x74(r31) -/* 8009D5FC 0009A55C 98 9F 00 84 */ stb r4, 0x84(r31) -/* 8009D600 0009A560 90 1F 00 88 */ stw r0, 0x88(r31) -/* 8009D604 0009A564 98 9F 00 98 */ stb r4, 0x98(r31) -/* 8009D608 0009A568 90 9F 00 9C */ stw r4, 0x9c(r31) -/* 8009D60C 0009A56C 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 8009D610 0009A570 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D614 0009A574 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8009D618 0009A578 7D 89 03 A6 */ mtctr r12 -/* 8009D61C 0009A57C 4E 80 04 21 */ bctrl -/* 8009D620 0009A580 80 01 00 08 */ lwz r0, 8(r1) -/* 8009D624 0009A584 7F 24 CB 78 */ mr r4, r25 -/* 8009D628 0009A588 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 8009D62C 0009A58C 80 1F 00 A0 */ lwz r0, 0xa0(r31) -/* 8009D630 0009A590 90 1F 00 A4 */ stw r0, 0xa4(r31) -/* 8009D634 0009A594 80 79 08 70 */ lwz r3, 0x870(r25) -/* 8009D638 0009A598 4B F6 E4 E1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8009D63C 0009A59C 7C 64 1B 78 */ mr r4, r3 -/* 8009D640 0009A5A0 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8009D644 0009A5A4 38 84 00 34 */ addi r4, r4, 0x34 -/* 8009D648 0009A5A8 48 27 4A E1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8009D64C 0009A5AC 80 FF 00 A0 */ lwz r7, 0xa0(r31) -/* 8009D650 0009A5B0 7F E4 FB 78 */ mr r4, r31 -/* 8009D654 0009A5B4 7F 25 CB 78 */ mr r5, r25 -/* 8009D658 0009A5B8 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8009D65C 0009A5BC 38 C1 00 C4 */ addi r6, r1, 0xc4 -/* 8009D660 0009A5C0 4B FF 99 39 */ bl BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni -/* 8009D664 0009A5C4 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8009D668 0009A5C8 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 8009D66C 0009A5CC 4B FF 97 41 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState -/* 8009D670 0009A5D0 38 7F 01 04 */ addi r3, r31, 0x104 -/* 8009D674 0009A5D4 38 9F 00 A8 */ addi r4, r31, 0xa8 -/* 8009D678 0009A5D8 4B FF 97 35 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState -/* 8009D67C 0009A5DC 38 7F 01 60 */ addi r3, r31, 0x160 -/* 8009D680 0009A5E0 38 9F 00 A8 */ addi r4, r31, 0xa8 -/* 8009D684 0009A5E4 4B FF 97 29 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState -/* 8009D688 0009A5E8 38 A0 00 00 */ li r5, 0 -/* 8009D68C 0009A5EC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) -/* 8009D690 0009A5F0 90 BF 01 BC */ stw r5, 0x1bc(r31) -/* 8009D694 0009A5F4 38 9F 01 EC */ addi r4, r31, 0x1ec -/* 8009D698 0009A5F8 38 1F 02 04 */ addi r0, r31, 0x204 -/* 8009D69C 0009A5FC 38 7F 00 08 */ addi r3, r31, 8 -/* 8009D6A0 0009A600 90 BF 01 C0 */ stw r5, 0x1c0(r31) -/* 8009D6A4 0009A604 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) -/* 8009D6A8 0009A608 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) -/* 8009D6AC 0009A60C 90 BF 01 CC */ stw r5, 0x1cc(r31) -/* 8009D6B0 0009A610 90 BF 01 D0 */ stw r5, 0x1d0(r31) -/* 8009D6B4 0009A614 90 BF 01 D4 */ stw r5, 0x1d4(r31) -/* 8009D6B8 0009A618 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8009D6BC 0009A61C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8009D6C0 0009A620 90 9F 01 E4 */ stw r4, 0x1e4(r31) -/* 8009D6C4 0009A624 90 9F 01 E8 */ stw r4, 0x1e8(r31) -/* 8009D6C8 0009A628 90 9F 01 EC */ stw r4, 0x1ec(r31) -/* 8009D6CC 0009A62C 90 9F 01 F0 */ stw r4, 0x1f0(r31) -/* 8009D6D0 0009A630 90 BF 01 F4 */ stw r5, 0x1f4(r31) -/* 8009D6D4 0009A634 90 1F 01 FC */ stw r0, 0x1fc(r31) -/* 8009D6D8 0009A638 90 1F 02 00 */ stw r0, 0x200(r31) -/* 8009D6DC 0009A63C 90 1F 02 04 */ stw r0, 0x204(r31) -/* 8009D6E0 0009A640 90 1F 02 08 */ stw r0, 0x208(r31) -/* 8009D6E4 0009A644 90 BF 02 0C */ stw r5, 0x20c(r31) -/* 8009D6E8 0009A648 90 BF 02 10 */ stw r5, 0x210(r31) -/* 8009D6EC 0009A64C 90 BF 02 5C */ stw r5, 0x25c(r31) -/* 8009D6F0 0009A650 90 BF 02 A8 */ stw r5, 0x2a8(r31) -/* 8009D6F4 0009A654 90 BF 02 BC */ stw r5, 0x2bc(r31) -/* 8009D6F8 0009A658 90 BF 02 D0 */ stw r5, 0x2d0(r31) -/* 8009D6FC 0009A65C 90 BF 02 E4 */ stw r5, 0x2e4(r31) -/* 8009D700 0009A660 90 BF 02 E8 */ stw r5, 0x2e8(r31) -/* 8009D704 0009A664 90 BF 02 EC */ stw r5, 0x2ec(r31) -/* 8009D708 0009A668 90 BF 02 F0 */ stw r5, 0x2f0(r31) -/* 8009D70C 0009A66C 90 BF 02 F4 */ stw r5, 0x2f4(r31) -/* 8009D710 0009A670 90 BF 02 F8 */ stw r5, 0x2f8(r31) -/* 8009D714 0009A674 90 BF 02 FC */ stw r5, 0x2fc(r31) -/* 8009D718 0009A678 90 BF 03 00 */ stw r5, 0x300(r31) -/* 8009D71C 0009A67C 90 BF 03 04 */ stw r5, 0x304(r31) -/* 8009D720 0009A680 90 BF 03 08 */ stw r5, 0x308(r31) -/* 8009D724 0009A684 90 BF 03 0C */ stw r5, 0x30c(r31) -/* 8009D728 0009A688 90 BF 03 10 */ stw r5, 0x310(r31) -/* 8009D72C 0009A68C 90 BF 03 14 */ stw r5, 0x314(r31) -/* 8009D730 0009A690 D0 1F 03 18 */ stfs f0, 0x318(r31) -/* 8009D734 0009A694 D0 1F 03 1C */ stfs f0, 0x31c(r31) -/* 8009D738 0009A698 D0 1F 03 20 */ stfs f0, 0x320(r31) -/* 8009D73C 0009A69C 90 BF 03 24 */ stw r5, 0x324(r31) -/* 8009D740 0009A6A0 90 BF 03 28 */ stw r5, 0x328(r31) -/* 8009D744 0009A6A4 98 BF 03 2C */ stb r5, 0x32c(r31) -/* 8009D748 0009A6A8 48 2A 36 3D */ bl Lock__6CTokenFv -/* 8009D74C 0009A6AC 38 7F 00 30 */ addi r3, r31, 0x30 -/* 8009D750 0009A6B0 48 2A 36 35 */ bl Lock__6CTokenFv -/* 8009D754 0009A6B4 7F 43 D3 78 */ mr r3, r26 -/* 8009D758 0009A6B8 48 2A 36 2D */ bl Lock__6CTokenFv -/* 8009D75C 0009A6BC 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) -/* 8009D760 0009A6C0 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8009D764 0009A6C4 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8009D768 0009A6C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009D76C 0009A6CC 80 C5 00 04 */ lwz r6, 4(r5) -/* 8009D770 0009A6D0 38 61 00 9C */ addi r3, r1, 0x9c -/* 8009D774 0009A6D4 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 8009D778 0009A6D8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8009D77C 0009A6DC 90 C1 00 A8 */ stw r6, 0xa8(r1) -/* 8009D780 0009A6E0 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D784 0009A6E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009D788 0009A6E8 7D 89 03 A6 */ mtctr r12 -/* 8009D78C 0009A6EC 4E 80 04 21 */ bctrl -/* 8009D790 0009A6F0 38 7F 00 48 */ addi r3, r31, 0x48 -/* 8009D794 0009A6F4 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8009D798 0009A6F8 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D79C 0009A6FC 7C 63 02 14 */ add r3, r3, r0 -/* 8009D7A0 0009A700 34 63 00 04 */ addic. r3, r3, 4 -/* 8009D7A4 0009A704 41 82 00 0C */ beq lbl_8009D7B0 -/* 8009D7A8 0009A708 38 81 00 9C */ addi r4, r1, 0x9c -/* 8009D7AC 0009A70C 48 2A 36 FD */ bl __ct__6CTokenFRC6CToken -lbl_8009D7B0: -/* 8009D7B0 0009A710 80 BF 00 48 */ lwz r5, 0x48(r31) -/* 8009D7B4 0009A714 38 61 00 9C */ addi r3, r1, 0x9c -/* 8009D7B8 0009A718 38 80 FF FF */ li r4, -1 -/* 8009D7BC 0009A71C 38 05 00 01 */ addi r0, r5, 1 -/* 8009D7C0 0009A720 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8009D7C4 0009A724 48 2A 36 7D */ bl __dt__6CTokenFv -/* 8009D7C8 0009A728 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) -/* 8009D7CC 0009A72C 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8009D7D0 0009A730 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8009D7D4 0009A734 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009D7D8 0009A738 80 C5 00 08 */ lwz r6, 8(r5) -/* 8009D7DC 0009A73C 38 61 00 8C */ addi r3, r1, 0x8c -/* 8009D7E0 0009A740 38 A1 00 94 */ addi r5, r1, 0x94 -/* 8009D7E4 0009A744 90 01 00 94 */ stw r0, 0x94(r1) -/* 8009D7E8 0009A748 90 C1 00 98 */ stw r6, 0x98(r1) -/* 8009D7EC 0009A74C 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D7F0 0009A750 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009D7F4 0009A754 7D 89 03 A6 */ mtctr r12 -/* 8009D7F8 0009A758 4E 80 04 21 */ bctrl -/* 8009D7FC 0009A75C 38 7F 00 48 */ addi r3, r31, 0x48 -/* 8009D800 0009A760 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8009D804 0009A764 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D808 0009A768 7C 63 02 14 */ add r3, r3, r0 -/* 8009D80C 0009A76C 34 63 00 04 */ addic. r3, r3, 4 -/* 8009D810 0009A770 41 82 00 0C */ beq lbl_8009D81C -/* 8009D814 0009A774 38 81 00 8C */ addi r4, r1, 0x8c -/* 8009D818 0009A778 48 2A 36 91 */ bl __ct__6CTokenFRC6CToken -lbl_8009D81C: -/* 8009D81C 0009A77C 80 BF 00 48 */ lwz r5, 0x48(r31) -/* 8009D820 0009A780 38 61 00 8C */ addi r3, r1, 0x8c -/* 8009D824 0009A784 38 80 FF FF */ li r4, -1 -/* 8009D828 0009A788 38 05 00 01 */ addi r0, r5, 1 -/* 8009D82C 0009A78C 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8009D830 0009A790 48 2A 36 11 */ bl __dt__6CTokenFv -/* 8009D834 0009A794 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) -/* 8009D838 0009A798 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8009D83C 0009A79C 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8009D840 0009A7A0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009D844 0009A7A4 80 C5 00 0C */ lwz r6, 0xc(r5) -/* 8009D848 0009A7A8 38 61 00 7C */ addi r3, r1, 0x7c -/* 8009D84C 0009A7AC 38 A1 00 84 */ addi r5, r1, 0x84 -/* 8009D850 0009A7B0 90 01 00 84 */ stw r0, 0x84(r1) -/* 8009D854 0009A7B4 90 C1 00 88 */ stw r6, 0x88(r1) -/* 8009D858 0009A7B8 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D85C 0009A7BC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009D860 0009A7C0 7D 89 03 A6 */ mtctr r12 -/* 8009D864 0009A7C4 4E 80 04 21 */ bctrl -/* 8009D868 0009A7C8 38 7F 00 48 */ addi r3, r31, 0x48 -/* 8009D86C 0009A7CC 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8009D870 0009A7D0 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D874 0009A7D4 7C 63 02 14 */ add r3, r3, r0 -/* 8009D878 0009A7D8 34 63 00 04 */ addic. r3, r3, 4 -/* 8009D87C 0009A7DC 41 82 00 0C */ beq lbl_8009D888 -/* 8009D880 0009A7E0 38 81 00 7C */ addi r4, r1, 0x7c -/* 8009D884 0009A7E4 48 2A 36 25 */ bl __ct__6CTokenFRC6CToken -lbl_8009D888: -/* 8009D888 0009A7E8 80 BF 00 48 */ lwz r5, 0x48(r31) -/* 8009D88C 0009A7EC 38 61 00 7C */ addi r3, r1, 0x7c -/* 8009D890 0009A7F0 38 80 FF FF */ li r4, -1 -/* 8009D894 0009A7F4 38 05 00 01 */ addi r0, r5, 1 -/* 8009D898 0009A7F8 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8009D89C 0009A7FC 48 2A 35 A5 */ bl __dt__6CTokenFv -/* 8009D8A0 0009A800 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) -/* 8009D8A4 0009A804 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8009D8A8 0009A808 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8009D8AC 0009A80C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009D8B0 0009A810 80 C5 00 10 */ lwz r6, 0x10(r5) -/* 8009D8B4 0009A814 38 61 00 6C */ addi r3, r1, 0x6c -/* 8009D8B8 0009A818 38 A1 00 74 */ addi r5, r1, 0x74 -/* 8009D8BC 0009A81C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8009D8C0 0009A820 90 C1 00 78 */ stw r6, 0x78(r1) -/* 8009D8C4 0009A824 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D8C8 0009A828 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009D8CC 0009A82C 7D 89 03 A6 */ mtctr r12 -/* 8009D8D0 0009A830 4E 80 04 21 */ bctrl -/* 8009D8D4 0009A834 38 7F 00 48 */ addi r3, r31, 0x48 -/* 8009D8D8 0009A838 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8009D8DC 0009A83C 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D8E0 0009A840 7C 63 02 14 */ add r3, r3, r0 -/* 8009D8E4 0009A844 34 63 00 04 */ addic. r3, r3, 4 -/* 8009D8E8 0009A848 41 82 00 0C */ beq lbl_8009D8F4 -/* 8009D8EC 0009A84C 38 81 00 6C */ addi r4, r1, 0x6c -/* 8009D8F0 0009A850 48 2A 35 B9 */ bl __ct__6CTokenFRC6CToken -lbl_8009D8F4: -/* 8009D8F4 0009A854 80 BF 00 48 */ lwz r5, 0x48(r31) -/* 8009D8F8 0009A858 38 61 00 6C */ addi r3, r1, 0x6c -/* 8009D8FC 0009A85C 38 80 FF FF */ li r4, -1 -/* 8009D900 0009A860 38 05 00 01 */ addi r0, r5, 1 -/* 8009D904 0009A864 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8009D908 0009A868 48 2A 35 39 */ bl __dt__6CTokenFv -/* 8009D90C 0009A86C 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) -/* 8009D910 0009A870 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8009D914 0009A874 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8009D918 0009A878 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009D91C 0009A87C 80 C5 00 14 */ lwz r6, 0x14(r5) -/* 8009D920 0009A880 38 61 00 5C */ addi r3, r1, 0x5c -/* 8009D924 0009A884 38 A1 00 64 */ addi r5, r1, 0x64 -/* 8009D928 0009A888 90 01 00 64 */ stw r0, 0x64(r1) -/* 8009D92C 0009A88C 90 C1 00 68 */ stw r6, 0x68(r1) -/* 8009D930 0009A890 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D934 0009A894 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009D938 0009A898 7D 89 03 A6 */ mtctr r12 -/* 8009D93C 0009A89C 4E 80 04 21 */ bctrl -/* 8009D940 0009A8A0 38 7F 00 48 */ addi r3, r31, 0x48 -/* 8009D944 0009A8A4 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8009D948 0009A8A8 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D94C 0009A8AC 7C 63 02 14 */ add r3, r3, r0 -/* 8009D950 0009A8B0 34 63 00 04 */ addic. r3, r3, 4 -/* 8009D954 0009A8B4 41 82 00 0C */ beq lbl_8009D960 -/* 8009D958 0009A8B8 38 81 00 5C */ addi r4, r1, 0x5c -/* 8009D95C 0009A8BC 48 2A 35 4D */ bl __ct__6CTokenFRC6CToken -lbl_8009D960: -/* 8009D960 0009A8C0 80 BF 00 48 */ lwz r5, 0x48(r31) -/* 8009D964 0009A8C4 38 61 00 5C */ addi r3, r1, 0x5c -/* 8009D968 0009A8C8 38 80 FF FF */ li r4, -1 -/* 8009D96C 0009A8CC 38 05 00 01 */ addi r0, r5, 1 -/* 8009D970 0009A8D0 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8009D974 0009A8D4 48 2A 34 CD */ bl __dt__6CTokenFv -/* 8009D978 0009A8D8 3B 5F 00 4C */ addi r26, r31, 0x4c -/* 8009D97C 0009A8DC 3B 3F 00 48 */ addi r25, r31, 0x48 -/* 8009D980 0009A8E0 48 00 00 10 */ b lbl_8009D990 -lbl_8009D984: -/* 8009D984 0009A8E4 7F 43 D3 78 */ mr r3, r26 -/* 8009D988 0009A8E8 48 2A 33 FD */ bl Lock__6CTokenFv -/* 8009D98C 0009A8EC 3B 5A 00 08 */ addi r26, r26, 8 -lbl_8009D990: -/* 8009D990 0009A8F0 80 19 00 00 */ lwz r0, 0(r25) -/* 8009D994 0009A8F4 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D998 0009A8F8 7C 79 02 14 */ add r3, r25, r0 -/* 8009D99C 0009A8FC 38 03 00 04 */ addi r0, r3, 4 -/* 8009D9A0 0009A900 7C 1A 00 40 */ cmplw r26, r0 -/* 8009D9A4 0009A904 40 82 FF E0 */ bne lbl_8009D984 -/* 8009D9A8 0009A908 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8009D9AC 0009A90C 3B 9F 02 10 */ addi r28, r31, 0x210 -/* 8009D9B0 0009A910 3B C3 54 52 */ addi r30, r3, 0x54585452@l -/* 8009D9B4 0009A914 3B 7F 02 5C */ addi r27, r31, 0x25c -/* 8009D9B8 0009A918 3B 40 00 00 */ li r26, 0 -/* 8009D9BC 0009A91C 3B A0 00 00 */ li r29, 0 -lbl_8009D9C0: -/* 8009D9C0 0009A920 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) -/* 8009D9C4 0009A924 38 61 00 4C */ addi r3, r1, 0x4c -/* 8009D9C8 0009A928 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009D9CC 0009A92C 38 A1 00 54 */ addi r5, r1, 0x54 -/* 8009D9D0 0009A930 7C C0 EA 14 */ add r6, r0, r29 -/* 8009D9D4 0009A934 80 06 00 24 */ lwz r0, 0x24(r6) -/* 8009D9D8 0009A938 93 C1 00 54 */ stw r30, 0x54(r1) -/* 8009D9DC 0009A93C 90 01 00 58 */ stw r0, 0x58(r1) -/* 8009D9E0 0009A940 81 84 00 00 */ lwz r12, 0(r4) -/* 8009D9E4 0009A944 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009D9E8 0009A948 7D 89 03 A6 */ mtctr r12 -/* 8009D9EC 0009A94C 4E 80 04 21 */ bctrl -/* 8009D9F0 0009A950 80 1C 00 00 */ lwz r0, 0(r28) -/* 8009D9F4 0009A954 54 00 18 38 */ slwi r0, r0, 3 -/* 8009D9F8 0009A958 7C 7C 02 14 */ add r3, r28, r0 -/* 8009D9FC 0009A95C 34 63 00 04 */ addic. r3, r3, 4 -/* 8009DA00 0009A960 41 82 00 0C */ beq lbl_8009DA0C -/* 8009DA04 0009A964 38 81 00 4C */ addi r4, r1, 0x4c -/* 8009DA08 0009A968 48 2A 34 A1 */ bl __ct__6CTokenFRC6CToken -lbl_8009DA0C: -/* 8009DA0C 0009A96C 80 BF 02 10 */ lwz r5, 0x210(r31) -/* 8009DA10 0009A970 38 61 00 4C */ addi r3, r1, 0x4c -/* 8009DA14 0009A974 38 80 FF FF */ li r4, -1 -/* 8009DA18 0009A978 38 05 00 01 */ addi r0, r5, 1 -/* 8009DA1C 0009A97C 90 1F 02 10 */ stw r0, 0x210(r31) -/* 8009DA20 0009A980 48 2A 34 21 */ bl __dt__6CTokenFv -/* 8009DA24 0009A984 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) -/* 8009DA28 0009A988 38 61 00 3C */ addi r3, r1, 0x3c -/* 8009DA2C 0009A98C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009DA30 0009A990 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8009DA34 0009A994 7C C0 EA 14 */ add r6, r0, r29 -/* 8009DA38 0009A998 80 06 00 4C */ lwz r0, 0x4c(r6) -/* 8009DA3C 0009A99C 93 C1 00 44 */ stw r30, 0x44(r1) -/* 8009DA40 0009A9A0 90 01 00 48 */ stw r0, 0x48(r1) -/* 8009DA44 0009A9A4 81 84 00 00 */ lwz r12, 0(r4) -/* 8009DA48 0009A9A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009DA4C 0009A9AC 7D 89 03 A6 */ mtctr r12 -/* 8009DA50 0009A9B0 4E 80 04 21 */ bctrl -/* 8009DA54 0009A9B4 80 1B 00 00 */ lwz r0, 0(r27) -/* 8009DA58 0009A9B8 54 00 18 38 */ slwi r0, r0, 3 -/* 8009DA5C 0009A9BC 7C 7B 02 14 */ add r3, r27, r0 -/* 8009DA60 0009A9C0 34 63 00 04 */ addic. r3, r3, 4 -/* 8009DA64 0009A9C4 41 82 00 0C */ beq lbl_8009DA70 -/* 8009DA68 0009A9C8 38 81 00 3C */ addi r4, r1, 0x3c -/* 8009DA6C 0009A9CC 48 2A 34 3D */ bl __ct__6CTokenFRC6CToken -lbl_8009DA70: -/* 8009DA70 0009A9D0 80 BF 02 5C */ lwz r5, 0x25c(r31) -/* 8009DA74 0009A9D4 38 61 00 3C */ addi r3, r1, 0x3c -/* 8009DA78 0009A9D8 38 80 FF FF */ li r4, -1 -/* 8009DA7C 0009A9DC 38 05 00 01 */ addi r0, r5, 1 -/* 8009DA80 0009A9E0 90 1F 02 5C */ stw r0, 0x25c(r31) -/* 8009DA84 0009A9E4 48 2A 33 BD */ bl __dt__6CTokenFv -/* 8009DA88 0009A9E8 3B 5A 00 01 */ addi r26, r26, 1 -/* 8009DA8C 0009A9EC 3B BD 00 04 */ addi r29, r29, 4 -/* 8009DA90 0009A9F0 2C 1A 00 09 */ cmpwi r26, 9 -/* 8009DA94 0009A9F4 41 80 FF 2C */ blt lbl_8009D9C0 -/* 8009DA98 0009A9F8 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8009DA9C 0009A9FC 3B 7F 02 A8 */ addi r27, r31, 0x2a8 -/* 8009DAA0 0009AA00 3B C3 54 52 */ addi r30, r3, 0x54585452@l -/* 8009DAA4 0009AA04 3B 9F 02 BC */ addi r28, r31, 0x2bc -/* 8009DAA8 0009AA08 3B 5F 02 D0 */ addi r26, r31, 0x2d0 -/* 8009DAAC 0009AA0C 3B 20 00 00 */ li r25, 0 -/* 8009DAB0 0009AA10 3B A0 00 00 */ li r29, 0 -lbl_8009DAB4: -/* 8009DAB4 0009AA14 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) -/* 8009DAB8 0009AA18 38 61 00 2C */ addi r3, r1, 0x2c -/* 8009DABC 0009AA1C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009DAC0 0009AA20 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8009DAC4 0009AA24 7C C0 EA 14 */ add r6, r0, r29 -/* 8009DAC8 0009AA28 80 06 00 74 */ lwz r0, 0x74(r6) -/* 8009DACC 0009AA2C 93 C1 00 34 */ stw r30, 0x34(r1) -/* 8009DAD0 0009AA30 90 01 00 38 */ stw r0, 0x38(r1) -/* 8009DAD4 0009AA34 81 84 00 00 */ lwz r12, 0(r4) -/* 8009DAD8 0009AA38 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009DADC 0009AA3C 7D 89 03 A6 */ mtctr r12 -/* 8009DAE0 0009AA40 4E 80 04 21 */ bctrl -/* 8009DAE4 0009AA44 80 1B 00 00 */ lwz r0, 0(r27) -/* 8009DAE8 0009AA48 54 00 18 38 */ slwi r0, r0, 3 -/* 8009DAEC 0009AA4C 7C 7B 02 14 */ add r3, r27, r0 -/* 8009DAF0 0009AA50 34 63 00 04 */ addic. r3, r3, 4 -/* 8009DAF4 0009AA54 41 82 00 0C */ beq lbl_8009DB00 -/* 8009DAF8 0009AA58 38 81 00 2C */ addi r4, r1, 0x2c -/* 8009DAFC 0009AA5C 48 2A 33 AD */ bl __ct__6CTokenFRC6CToken -lbl_8009DB00: -/* 8009DB00 0009AA60 80 BF 02 A8 */ lwz r5, 0x2a8(r31) -/* 8009DB04 0009AA64 38 61 00 2C */ addi r3, r1, 0x2c -/* 8009DB08 0009AA68 38 80 FF FF */ li r4, -1 -/* 8009DB0C 0009AA6C 38 05 00 01 */ addi r0, r5, 1 -/* 8009DB10 0009AA70 90 1F 02 A8 */ stw r0, 0x2a8(r31) -/* 8009DB14 0009AA74 48 2A 33 2D */ bl __dt__6CTokenFv -/* 8009DB18 0009AA78 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) -/* 8009DB1C 0009AA7C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009DB20 0009AA80 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009DB24 0009AA84 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8009DB28 0009AA88 7C C0 EA 14 */ add r6, r0, r29 -/* 8009DB2C 0009AA8C 80 06 00 80 */ lwz r0, 0x80(r6) -/* 8009DB30 0009AA90 93 C1 00 24 */ stw r30, 0x24(r1) -/* 8009DB34 0009AA94 90 01 00 28 */ stw r0, 0x28(r1) -/* 8009DB38 0009AA98 81 84 00 00 */ lwz r12, 0(r4) -/* 8009DB3C 0009AA9C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009DB40 0009AAA0 7D 89 03 A6 */ mtctr r12 -/* 8009DB44 0009AAA4 4E 80 04 21 */ bctrl -/* 8009DB48 0009AAA8 80 1C 00 00 */ lwz r0, 0(r28) -/* 8009DB4C 0009AAAC 54 00 18 38 */ slwi r0, r0, 3 -/* 8009DB50 0009AAB0 7C 7C 02 14 */ add r3, r28, r0 -/* 8009DB54 0009AAB4 34 63 00 04 */ addic. r3, r3, 4 -/* 8009DB58 0009AAB8 41 82 00 0C */ beq lbl_8009DB64 -/* 8009DB5C 0009AABC 38 81 00 1C */ addi r4, r1, 0x1c -/* 8009DB60 0009AAC0 48 2A 33 49 */ bl __ct__6CTokenFRC6CToken -lbl_8009DB64: -/* 8009DB64 0009AAC4 80 BF 02 BC */ lwz r5, 0x2bc(r31) -/* 8009DB68 0009AAC8 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009DB6C 0009AACC 38 80 FF FF */ li r4, -1 -/* 8009DB70 0009AAD0 38 05 00 01 */ addi r0, r5, 1 -/* 8009DB74 0009AAD4 90 1F 02 BC */ stw r0, 0x2bc(r31) -/* 8009DB78 0009AAD8 48 2A 32 C9 */ bl __dt__6CTokenFv -/* 8009DB7C 0009AADC 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) -/* 8009DB80 0009AAE0 38 61 00 0C */ addi r3, r1, 0xc -/* 8009DB84 0009AAE4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8009DB88 0009AAE8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8009DB8C 0009AAEC 7C C0 EA 14 */ add r6, r0, r29 -/* 8009DB90 0009AAF0 80 06 00 98 */ lwz r0, 0x98(r6) -/* 8009DB94 0009AAF4 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8009DB98 0009AAF8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8009DB9C 0009AAFC 81 84 00 00 */ lwz r12, 0(r4) -/* 8009DBA0 0009AB00 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8009DBA4 0009AB04 7D 89 03 A6 */ mtctr r12 -/* 8009DBA8 0009AB08 4E 80 04 21 */ bctrl -/* 8009DBAC 0009AB0C 80 1A 00 00 */ lwz r0, 0(r26) -/* 8009DBB0 0009AB10 54 00 18 38 */ slwi r0, r0, 3 -/* 8009DBB4 0009AB14 7C 7A 02 14 */ add r3, r26, r0 -/* 8009DBB8 0009AB18 34 63 00 04 */ addic. r3, r3, 4 -/* 8009DBBC 0009AB1C 41 82 00 0C */ beq lbl_8009DBC8 -/* 8009DBC0 0009AB20 38 81 00 0C */ addi r4, r1, 0xc -/* 8009DBC4 0009AB24 48 2A 32 E5 */ bl __ct__6CTokenFRC6CToken -lbl_8009DBC8: -/* 8009DBC8 0009AB28 80 BF 02 D0 */ lwz r5, 0x2d0(r31) -/* 8009DBCC 0009AB2C 38 61 00 0C */ addi r3, r1, 0xc -/* 8009DBD0 0009AB30 38 80 FF FF */ li r4, -1 -/* 8009DBD4 0009AB34 38 05 00 01 */ addi r0, r5, 1 -/* 8009DBD8 0009AB38 90 1F 02 D0 */ stw r0, 0x2d0(r31) -/* 8009DBDC 0009AB3C 48 2A 32 65 */ bl __dt__6CTokenFv -/* 8009DBE0 0009AB40 3B 39 00 01 */ addi r25, r25, 1 -/* 8009DBE4 0009AB44 3B BD 00 04 */ addi r29, r29, 4 -/* 8009DBE8 0009AB48 2C 19 00 02 */ cmpwi r25, 2 -/* 8009DBEC 0009AB4C 41 80 FE C8 */ blt lbl_8009DAB4 -/* 8009DBF0 0009AB50 7F E3 FB 78 */ mr r3, r31 -/* 8009DBF4 0009AB54 BB 21 01 34 */ lmw r25, 0x134(r1) -/* 8009DBF8 0009AB58 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8009DBFC 0009AB5C 7C 08 03 A6 */ mtlr r0 -/* 8009DC00 0009AB60 38 21 01 50 */ addi r1, r1, 0x150 -/* 8009DC04 0009AB64 4E 80 00 20 */ blr - -.global __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId -__ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId: -/* 8009DC08 0009AB68 90 83 00 00 */ stw r4, 0(r3) -/* 8009DC0C 0009AB6C D0 23 00 04 */ stfs f1, 4(r3) -/* 8009DC10 0009AB70 90 A3 00 08 */ stw r5, 8(r3) -/* 8009DC14 0009AB74 90 C3 00 0C */ stw r6, 0xc(r3) -/* 8009DC18 0009AB78 4E 80 00 20 */ blr - -.global ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv -ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv: -/* 8009DC1C 0009AB7C 38 00 00 00 */ li r0, 0 -/* 8009DC20 0009AB80 90 03 00 44 */ stw r0, 0x44(r3) -/* 8009DC24 0009AB84 90 03 00 48 */ stw r0, 0x48(r3) -/* 8009DC28 0009AB88 90 03 00 4C */ stw r0, 0x4c(r3) -/* 8009DC2C 0009AB8C 90 03 00 50 */ stw r0, 0x50(r3) -/* 8009DC30 0009AB90 90 03 00 54 */ stw r0, 0x54(r3) -/* 8009DC34 0009AB94 90 03 00 58 */ stw r0, 0x58(r3) -/* 8009DC38 0009AB98 4E 80 00 20 */ blr - -.global InterpolateWithClamp__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderStateRQ211CAutoMapper22SAutoMapperRenderStateRCQ211CAutoMapper22SAutoMapperRenderStatef -InterpolateWithClamp__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderStateRQ211CAutoMapper22SAutoMapperRenderStateRCQ211CAutoMapper22SAutoMapperRenderStatef: -/* 8009DC3C 0009AB9C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8009DC40 0009ABA0 7C 08 02 A6 */ mflr r0 -/* 8009DC44 0009ABA4 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8009DC48 0009ABA8 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8009DC4C 0009ABAC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8009DC50 0009ABB0 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8009DC54 0009ABB4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8009DC58 0009ABB8 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 8009DC5C 0009ABBC F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 8009DC60 0009ABC0 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 8009DC64 0009ABC4 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 8009DC68 0009ABC8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8009DC6C 0009ABCC 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8009DC70 0009ABD0 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8009DC74 0009ABD4 D0 21 00 08 */ stfs f1, 8(r1) -/* 8009DC78 0009ABD8 7C 7D 1B 78 */ mr r29, r3 -/* 8009DC7C 0009ABDC 7C 9E 23 78 */ mr r30, r4 -/* 8009DC80 0009ABE0 7C BF 2B 78 */ mr r31, r5 -/* 8009DC84 0009ABE4 38 81 00 08 */ addi r4, r1, 8 -/* 8009DC88 0009ABE8 38 6D 85 A8 */ addi r3, r13, lbl_805A7168@sda21 -/* 8009DC8C 0009ABEC 38 AD 85 AC */ addi r5, r13, lbl_805A716C@sda21 -/* 8009DC90 0009ABF0 4B F6 E6 25 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8009DC94 0009ABF4 C3 E3 00 00 */ lfs f31, 0(r3) -/* 8009DC98 0009ABF8 38 81 00 18 */ addi r4, r1, 0x18 -/* 8009DC9C 0009ABFC 38 6D 85 B0 */ addi r3, r13, lbl_805A7170@sda21 -/* 8009DCA0 0009AC00 38 AD 85 B4 */ addi r5, r13, lbl_805A7174@sda21 -/* 8009DCA4 0009AC04 EC 1F 07 F2 */ fmuls f0, f31, f31 -/* 8009DCA8 0009AC08 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8009DCAC 0009AC0C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8009DCB0 0009AC10 4B F6 E6 05 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8009DCB4 0009AC14 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 8009DCB8 0009AC18 38 81 00 14 */ addi r4, r1, 0x14 -/* 8009DCBC 0009AC1C C3 C3 00 00 */ lfs f30, 0(r3) -/* 8009DCC0 0009AC20 38 6D 85 B8 */ addi r3, r13, lbl_805A7178@sda21 -/* 8009DCC4 0009AC24 EF A1 F8 28 */ fsubs f29, f1, f31 -/* 8009DCC8 0009AC28 38 AD 85 BC */ addi r5, r13, lbl_805A717C@sda21 -/* 8009DCCC 0009AC2C EC 1D 07 72 */ fmuls f0, f29, f29 -/* 8009DCD0 0009AC30 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 8009DCD4 0009AC34 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8009DCD8 0009AC38 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8009DCDC 0009AC3C 4B F6 E5 D9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8009DCE0 0009AC40 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) -/* 8009DCE4 0009AC44 C3 83 00 00 */ lfs f28, 0(r3) -/* 8009DCE8 0009AC48 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8009DCEC 0009AC4C 4C 41 13 82 */ cror 2, 1, 2 -/* 8009DCF0 0009AC50 40 82 00 38 */ bne lbl_8009DD28 -/* 8009DCF4 0009AC54 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) -/* 8009DCF8 0009AC58 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 8009DCFC 0009AC5C EC 21 07 F8 */ fmsubs f1, f1, f31, f0 -/* 8009DD00 0009AC60 48 27 78 01 */ bl SqrtF__5CMathFf -/* 8009DD04 0009AC64 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) -/* 8009DD08 0009AC68 38 81 00 10 */ addi r4, r1, 0x10 -/* 8009DD0C 0009AC6C 38 6D 85 C0 */ addi r3, r13, lbl_805A7180@sda21 -/* 8009DD10 0009AC70 38 AD 85 C4 */ addi r5, r13, lbl_805A7184@sda21 -/* 8009DD14 0009AC74 EC 00 00 7A */ fmadds f0, f0, f1, f0 -/* 8009DD18 0009AC78 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8009DD1C 0009AC7C 4B F6 E5 99 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8009DD20 0009AC80 C0 03 00 00 */ lfs f0, 0(r3) -/* 8009DD24 0009AC84 48 00 00 3C */ b lbl_8009DD60 -lbl_8009DD28: -/* 8009DD28 0009AC88 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) -/* 8009DD2C 0009AC8C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 8009DD30 0009AC90 EC 21 07 78 */ fmsubs f1, f1, f29, f0 -/* 8009DD34 0009AC94 48 27 77 CD */ bl SqrtF__5CMathFf -/* 8009DD38 0009AC98 C0 42 8B 70 */ lfs f2, lbl_805AA890@sda21(r2) -/* 8009DD3C 0009AC9C 38 81 00 0C */ addi r4, r1, 0xc -/* 8009DD40 0009ACA0 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 8009DD44 0009ACA4 38 6D 85 C8 */ addi r3, r13, lbl_805A7188@sda21 -/* 8009DD48 0009ACA8 EC 22 10 7A */ fmadds f1, f2, f1, f2 -/* 8009DD4C 0009ACAC 38 AD 85 CC */ addi r5, r13, lbl_805A718C@sda21 -/* 8009DD50 0009ACB0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8009DD54 0009ACB4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8009DD58 0009ACB8 4B F6 E5 5D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8009DD5C 0009ACBC C0 03 00 00 */ lfs f0, 0(r3) -lbl_8009DD60: -/* 8009DD60 0009ACC0 3C 60 80 3D */ lis r3, lbl_803CD7D8@ha -/* 8009DD64 0009ACC4 80 FF 00 44 */ lwz r7, 0x44(r31) -/* 8009DD68 0009ACC8 38 C3 D7 D8 */ addi r6, r3, lbl_803CD7D8@l -/* 8009DD6C 0009ACCC 80 A6 00 04 */ lwz r5, 4(r6) -/* 8009DD70 0009ACD0 2C 07 00 00 */ cmpwi r7, 0 -/* 8009DD74 0009ACD4 80 86 00 08 */ lwz r4, 8(r6) -/* 8009DD78 0009ACD8 80 66 00 0C */ lwz r3, 0xc(r6) -/* 8009DD7C 0009ACDC 80 06 00 10 */ lwz r0, 0x10(r6) -/* 8009DD80 0009ACE0 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8009DD84 0009ACE4 80 A6 00 00 */ lwz r5, 0(r6) -/* 8009DD88 0009ACE8 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8009DD8C 0009ACEC 90 61 00 40 */ stw r3, 0x40(r1) -/* 8009DD90 0009ACF0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8009DD94 0009ACF4 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8009DD98 0009ACF8 D3 E1 00 38 */ stfs f31, 0x38(r1) -/* 8009DD9C 0009ACFC D3 81 00 3C */ stfs f28, 0x3c(r1) -/* 8009DDA0 0009AD00 D3 C1 00 40 */ stfs f30, 0x40(r1) -/* 8009DDA4 0009AD04 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8009DDA8 0009AD08 41 82 00 C0 */ beq lbl_8009DE68 -/* 8009DDAC 0009AD0C 80 7F 00 00 */ lwz r3, 0(r31) -/* 8009DDB0 0009AD10 3C A0 43 30 */ lis r5, 0x4330 -/* 8009DDB4 0009AD14 80 1F 00 04 */ lwz r0, 4(r31) -/* 8009DDB8 0009AD18 54 E7 10 3A */ slwi r7, r7, 2 -/* 8009DDBC 0009AD1C 6C 64 80 00 */ xoris r4, r3, 0x8000 -/* 8009DDC0 0009AD20 80 DD 00 00 */ lwz r6, 0(r29) -/* 8009DDC4 0009AD24 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8009DDC8 0009AD28 80 7D 00 04 */ lwz r3, 4(r29) -/* 8009DDCC 0009AD2C 90 81 00 54 */ stw r4, 0x54(r1) -/* 8009DDD0 0009AD30 6C C6 80 00 */ xoris r6, r6, 0x8000 -/* 8009DDD4 0009AD34 6C 64 80 00 */ xoris r4, r3, 0x8000 -/* 8009DDD8 0009AD38 C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) -/* 8009DDDC 0009AD3C 90 A1 00 50 */ stw r5, 0x50(r1) -/* 8009DDE0 0009AD40 38 61 00 34 */ addi r3, r1, 0x34 -/* 8009DDE4 0009AD44 7C 63 3C 2E */ lfsx f3, r3, r7 -/* 8009DDE8 0009AD48 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009DDEC 0009AD4C C8 01 00 50 */ lfd f0, 0x50(r1) -/* 8009DDF0 0009AD50 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 8009DDF4 0009AD54 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8009DDF8 0009AD58 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8009DDFC 0009AD5C EC A1 18 28 */ fsubs f5, f1, f3 -/* 8009DE00 0009AD60 90 A1 00 68 */ stw r5, 0x68(r1) -/* 8009DE04 0009AD64 EC 43 00 32 */ fmuls f2, f3, f0 -/* 8009DE08 0009AD68 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8009DE0C 0009AD6C 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 8009DE10 0009AD70 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8009DE14 0009AD74 90 A1 00 48 */ stw r5, 0x48(r1) -/* 8009DE18 0009AD78 C8 21 00 48 */ lfd f1, 0x48(r1) -/* 8009DE1C 0009AD7C EC 03 00 32 */ fmuls f0, f3, f0 -/* 8009DE20 0009AD80 90 81 00 64 */ stw r4, 0x64(r1) -/* 8009DE24 0009AD84 EC 61 20 28 */ fsubs f3, f1, f4 -/* 8009DE28 0009AD88 90 A1 00 60 */ stw r5, 0x60(r1) -/* 8009DE2C 0009AD8C C8 21 00 60 */ lfd f1, 0x60(r1) -/* 8009DE30 0009AD90 EC 45 10 FA */ fmadds f2, f5, f3, f2 -/* 8009DE34 0009AD94 EC 21 20 28 */ fsubs f1, f1, f4 -/* 8009DE38 0009AD98 FC 40 10 1E */ fctiwz f2, f2 -/* 8009DE3C 0009AD9C EC 05 00 7A */ fmadds f0, f5, f1, f0 -/* 8009DE40 0009ADA0 D8 41 00 58 */ stfd f2, 0x58(r1) -/* 8009DE44 0009ADA4 FC 00 00 1E */ fctiwz f0, f0 -/* 8009DE48 0009ADA8 80 81 00 5C */ lwz r4, 0x5c(r1) -/* 8009DE4C 0009ADAC D8 01 00 70 */ stfd f0, 0x70(r1) -/* 8009DE50 0009ADB0 80 A1 00 74 */ lwz r5, 0x74(r1) -/* 8009DE54 0009ADB4 48 27 64 F9 */ bl __ct__9CVector2iFii -/* 8009DE58 0009ADB8 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8009DE5C 0009ADBC 90 1E 00 00 */ stw r0, 0(r30) -/* 8009DE60 0009ADC0 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8009DE64 0009ADC4 90 1E 00 04 */ stw r0, 4(r30) -lbl_8009DE68: -/* 8009DE68 0009ADC8 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8009DE6C 0009ADCC 2C 00 00 00 */ cmpwi r0, 0 -/* 8009DE70 0009ADD0 41 82 00 74 */ beq lbl_8009DEE4 -/* 8009DE74 0009ADD4 54 00 10 3A */ slwi r0, r0, 2 -/* 8009DE78 0009ADD8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8009DE7C 0009ADDC 7F 83 04 2E */ lfsx f28, r3, r0 -/* 8009DE80 0009ADE0 38 61 00 24 */ addi r3, r1, 0x24 -/* 8009DE84 0009ADE4 38 9D 00 08 */ addi r4, r29, 8 -/* 8009DE88 0009ADE8 38 BF 00 08 */ addi r5, r31, 8 -/* 8009DE8C 0009ADEC FC 20 E0 90 */ fmr f1, f28 -/* 8009DE90 0009ADF0 48 27 3E 69 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf -/* 8009DE94 0009ADF4 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8009DE98 0009ADF8 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) -/* 8009DE9C 0009ADFC D0 3E 00 08 */ stfs f1, 8(r30) -/* 8009DEA0 0009AE00 EC 40 E0 28 */ fsubs f2, f0, f28 -/* 8009DEA4 0009AE04 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8009DEA8 0009AE08 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8009DEAC 0009AE0C 90 7E 00 0C */ stw r3, 0xc(r30) -/* 8009DEB0 0009AE10 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8009DEB4 0009AE14 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8009DEB8 0009AE18 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8009DEBC 0009AE1C C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8009DEC0 0009AE20 C0 3D 00 18 */ lfs f1, 0x18(r29) -/* 8009DEC4 0009AE24 EC 00 07 32 */ fmuls f0, f0, f28 -/* 8009DEC8 0009AE28 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 8009DECC 0009AE2C D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8009DED0 0009AE30 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8009DED4 0009AE34 C0 3D 00 1C */ lfs f1, 0x1c(r29) -/* 8009DED8 0009AE38 EC 00 07 32 */ fmuls f0, f0, f28 -/* 8009DEDC 0009AE3C EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 8009DEE0 0009AE40 D0 1E 00 1C */ stfs f0, 0x1c(r30) -lbl_8009DEE4: -/* 8009DEE4 0009AE44 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 8009DEE8 0009AE48 2C 00 00 00 */ cmpwi r0, 0 -/* 8009DEEC 0009AE4C 41 82 00 54 */ beq lbl_8009DF40 -/* 8009DEF0 0009AE50 54 00 10 3A */ slwi r0, r0, 2 -/* 8009DEF4 0009AE54 38 61 00 34 */ addi r3, r1, 0x34 -/* 8009DEF8 0009AE58 7C E3 04 2E */ lfsx f7, r3, r0 -/* 8009DEFC 0009AE5C C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 8009DF00 0009AE60 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 8009DF04 0009AE64 C0 7F 00 24 */ lfs f3, 0x24(r31) -/* 8009DF08 0009AE68 EC C1 38 28 */ fsubs f6, f1, f7 -/* 8009DF0C 0009AE6C C0 5F 00 28 */ lfs f2, 0x28(r31) -/* 8009DF10 0009AE70 EC 00 01 F2 */ fmuls f0, f0, f7 -/* 8009DF14 0009AE74 C0 3D 00 20 */ lfs f1, 0x20(r29) -/* 8009DF18 0009AE78 EC 83 01 F2 */ fmuls f4, f3, f7 -/* 8009DF1C 0009AE7C C0 BD 00 24 */ lfs f5, 0x24(r29) -/* 8009DF20 0009AE80 EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 8009DF24 0009AE84 C0 7D 00 28 */ lfs f3, 0x28(r29) -/* 8009DF28 0009AE88 EC 22 01 F2 */ fmuls f1, f2, f7 -/* 8009DF2C 0009AE8C EC 45 21 BA */ fmadds f2, f5, f6, f4 -/* 8009DF30 0009AE90 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 8009DF34 0009AE94 EC 03 09 BA */ fmadds f0, f3, f6, f1 -/* 8009DF38 0009AE98 D0 5E 00 24 */ stfs f2, 0x24(r30) -/* 8009DF3C 0009AE9C D0 1E 00 28 */ stfs f0, 0x28(r30) -lbl_8009DF40: -/* 8009DF40 0009AEA0 80 1F 00 50 */ lwz r0, 0x50(r31) -/* 8009DF44 0009AEA4 2C 00 00 00 */ cmpwi r0, 0 -/* 8009DF48 0009AEA8 41 82 00 2C */ beq lbl_8009DF74 -/* 8009DF4C 0009AEAC 54 00 10 3A */ slwi r0, r0, 2 -/* 8009DF50 0009AEB0 38 61 00 34 */ addi r3, r1, 0x34 -/* 8009DF54 0009AEB4 7C 63 04 2E */ lfsx f3, r3, r0 -/* 8009DF58 0009AEB8 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 8009DF5C 0009AEBC C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 8009DF60 0009AEC0 EC 21 18 28 */ fsubs f1, f1, f3 -/* 8009DF64 0009AEC4 C0 5D 00 2C */ lfs f2, 0x2c(r29) -/* 8009DF68 0009AEC8 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8009DF6C 0009AECC EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8009DF70 0009AED0 D0 1E 00 2C */ stfs f0, 0x2c(r30) -lbl_8009DF74: -/* 8009DF74 0009AED4 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 8009DF78 0009AED8 2C 00 00 00 */ cmpwi r0, 0 -/* 8009DF7C 0009AEDC 41 82 00 2C */ beq lbl_8009DFA8 -/* 8009DF80 0009AEE0 54 00 10 3A */ slwi r0, r0, 2 -/* 8009DF84 0009AEE4 38 61 00 34 */ addi r3, r1, 0x34 -/* 8009DF88 0009AEE8 7C 63 04 2E */ lfsx f3, r3, r0 -/* 8009DF8C 0009AEEC C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 8009DF90 0009AEF0 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 8009DF94 0009AEF4 EC 21 18 28 */ fsubs f1, f1, f3 -/* 8009DF98 0009AEF8 C0 5D 00 30 */ lfs f2, 0x30(r29) -/* 8009DF9C 0009AEFC EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8009DFA0 0009AF00 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8009DFA4 0009AF04 D0 1E 00 30 */ stfs f0, 0x30(r30) -lbl_8009DFA8: -/* 8009DFA8 0009AF08 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 8009DFAC 0009AF0C 2C 00 00 00 */ cmpwi r0, 0 -/* 8009DFB0 0009AF10 41 82 00 68 */ beq lbl_8009E018 -/* 8009DFB4 0009AF14 54 00 10 3A */ slwi r0, r0, 2 -/* 8009DFB8 0009AF18 38 61 00 34 */ addi r3, r1, 0x34 -/* 8009DFBC 0009AF1C 7C 63 04 2E */ lfsx f3, r3, r0 -/* 8009DFC0 0009AF20 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) -/* 8009DFC4 0009AF24 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 8009DFC8 0009AF28 EC 41 18 28 */ fsubs f2, f1, f3 -/* 8009DFCC 0009AF2C C0 3D 00 34 */ lfs f1, 0x34(r29) -/* 8009DFD0 0009AF30 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8009DFD4 0009AF34 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 8009DFD8 0009AF38 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 8009DFDC 0009AF3C C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8009DFE0 0009AF40 C0 3D 00 38 */ lfs f1, 0x38(r29) -/* 8009DFE4 0009AF44 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8009DFE8 0009AF48 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 8009DFEC 0009AF4C D0 1E 00 38 */ stfs f0, 0x38(r30) -/* 8009DFF0 0009AF50 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 8009DFF4 0009AF54 C0 3D 00 3C */ lfs f1, 0x3c(r29) -/* 8009DFF8 0009AF58 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8009DFFC 0009AF5C EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 8009E000 0009AF60 D0 1E 00 3C */ stfs f0, 0x3c(r30) -/* 8009E004 0009AF64 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8009E008 0009AF68 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 8009E00C 0009AF6C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8009E010 0009AF70 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 8009E014 0009AF74 D0 1E 00 40 */ stfs f0, 0x40(r30) -lbl_8009E018: -/* 8009E018 0009AF78 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8009E01C 0009AF7C CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8009E020 0009AF80 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8009E024 0009AF84 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8009E028 0009AF88 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 8009E02C 0009AF8C CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8009E030 0009AF90 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 8009E034 0009AF94 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 8009E038 0009AF98 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8009E03C 0009AF9C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8009E040 0009AFA0 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8009E044 0009AFA4 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8009E048 0009AFA8 7C 08 03 A6 */ mtlr r0 -/* 8009E04C 0009AFAC 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8009E050 0009AFB0 4E 80 00 20 */ blr - -.global __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff -__ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff: -/* 8009E054 0009AFB4 80 E4 00 00 */ lwz r7, 0(r4) -/* 8009E058 0009AFB8 38 00 00 00 */ li r0, 0 -/* 8009E05C 0009AFBC 90 E3 00 00 */ stw r7, 0(r3) -/* 8009E060 0009AFC0 80 84 00 04 */ lwz r4, 4(r4) -/* 8009E064 0009AFC4 90 83 00 04 */ stw r4, 4(r3) -/* 8009E068 0009AFC8 C0 05 00 00 */ lfs f0, 0(r5) -/* 8009E06C 0009AFCC D0 03 00 08 */ stfs f0, 8(r3) -/* 8009E070 0009AFD0 C0 05 00 04 */ lfs f0, 4(r5) -/* 8009E074 0009AFD4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8009E078 0009AFD8 C0 05 00 08 */ lfs f0, 8(r5) -/* 8009E07C 0009AFDC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8009E080 0009AFE0 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8009E084 0009AFE4 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8009E088 0009AFE8 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 8009E08C 0009AFEC D0 43 00 1C */ stfs f2, 0x1c(r3) -/* 8009E090 0009AFF0 C0 06 00 00 */ lfs f0, 0(r6) -/* 8009E094 0009AFF4 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8009E098 0009AFF8 C0 06 00 04 */ lfs f0, 4(r6) -/* 8009E09C 0009AFFC D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8009E0A0 0009B000 C0 06 00 08 */ lfs f0, 8(r6) -/* 8009E0A4 0009B004 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8009E0A8 0009B008 D0 63 00 2C */ stfs f3, 0x2c(r3) -/* 8009E0AC 0009B00C D0 83 00 30 */ stfs f4, 0x30(r3) -/* 8009E0B0 0009B010 D0 A3 00 34 */ stfs f5, 0x34(r3) -/* 8009E0B4 0009B014 D0 C3 00 38 */ stfs f6, 0x38(r3) -/* 8009E0B8 0009B018 D0 E3 00 3C */ stfs f7, 0x3c(r3) -/* 8009E0BC 0009B01C D1 03 00 40 */ stfs f8, 0x40(r3) -/* 8009E0C0 0009B020 90 03 00 44 */ stw r0, 0x44(r3) -/* 8009E0C4 0009B024 90 03 00 48 */ stw r0, 0x48(r3) -/* 8009E0C8 0009B028 90 03 00 4C */ stw r0, 0x4c(r3) -/* 8009E0CC 0009B02C 90 03 00 50 */ stw r0, 0x50(r3) -/* 8009E0D0 0009B030 90 03 00 54 */ stw r0, 0x54(r3) -/* 8009E0D4 0009B034 90 03 00 58 */ stw r0, 0x58(r3) -/* 8009E0D8 0009B038 4E 80 00 20 */ blr - -.global "reserve__Q24rstl61vector,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl61vector,Q24rstl17rmemory_allocator>Fi": -/* 8009E0DC 0009B03C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8009E0E0 0009B040 7C 08 02 A6 */ mflr r0 -/* 8009E0E4 0009B044 90 01 00 34 */ stw r0, 0x34(r1) -/* 8009E0E8 0009B048 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8009E0EC 0009B04C 7C 9F 23 78 */ mr r31, r4 -/* 8009E0F0 0009B050 7C 7E 1B 78 */ mr r30, r3 -/* 8009E0F4 0009B054 80 03 00 08 */ lwz r0, 8(r3) -/* 8009E0F8 0009B058 7C 1F 00 00 */ cmpw r31, r0 -/* 8009E0FC 0009B05C 40 81 00 F0 */ ble lbl_8009E1EC -/* 8009E100 0009B060 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 8009E104 0009B064 40 82 00 0C */ bne lbl_8009E110 -/* 8009E108 0009B068 3B A0 00 00 */ li r29, 0 -/* 8009E10C 0009B06C 48 00 00 1C */ b lbl_8009E128 -lbl_8009E110: -/* 8009E110 0009B070 3C 80 80 3D */ lis r4, lbl_803CD80C@ha -/* 8009E114 0009B074 38 A0 00 00 */ li r5, 0 -/* 8009E118 0009B078 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l -/* 8009E11C 0009B07C 38 84 00 0F */ addi r4, r4, 0xf -/* 8009E120 0009B080 48 27 76 F9 */ bl __nwa__FUlPCcPCc -/* 8009E124 0009B084 7C 7D 1B 78 */ mr r29, r3 -lbl_8009E128: -/* 8009E128 0009B088 80 7E 00 04 */ lwz r3, 4(r30) -/* 8009E12C 0009B08C 7F A5 EB 78 */ mr r5, r29 -/* 8009E130 0009B090 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8009E134 0009B094 38 00 00 00 */ li r0, 0 -/* 8009E138 0009B098 54 63 18 38 */ slwi r3, r3, 3 -/* 8009E13C 0009B09C 7C 86 1A 14 */ add r4, r6, r3 -/* 8009E140 0009B0A0 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8009E144 0009B0A4 90 81 00 08 */ stw r4, 8(r1) -/* 8009E148 0009B0A8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8009E14C 0009B0AC 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8009E150 0009B0B0 48 00 00 28 */ b lbl_8009E178 -lbl_8009E154: -/* 8009E154 0009B0B4 28 05 00 00 */ cmplwi r5, 0 -/* 8009E158 0009B0B8 41 82 00 18 */ beq lbl_8009E170 -/* 8009E15C 0009B0BC 88 66 00 00 */ lbz r3, 0(r6) -/* 8009E160 0009B0C0 98 65 00 00 */ stb r3, 0(r5) -/* 8009E164 0009B0C4 80 66 00 04 */ lwz r3, 4(r6) -/* 8009E168 0009B0C8 90 65 00 04 */ stw r3, 4(r5) -/* 8009E16C 0009B0CC 98 06 00 00 */ stb r0, 0(r6) -lbl_8009E170: -/* 8009E170 0009B0D0 38 A5 00 08 */ addi r5, r5, 8 -/* 8009E174 0009B0D4 38 C6 00 08 */ addi r6, r6, 8 -lbl_8009E178: -/* 8009E178 0009B0D8 7C 06 20 40 */ cmplw r6, r4 -/* 8009E17C 0009B0DC 40 82 FF D8 */ bne lbl_8009E154 -/* 8009E180 0009B0E0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8009E184 0009B0E4 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 8009E188 0009B0E8 54 00 18 38 */ slwi r0, r0, 3 -/* 8009E18C 0009B0EC 7F 9B 02 14 */ add r28, r27, r0 -/* 8009E190 0009B0F0 48 00 00 3C */ b lbl_8009E1CC -lbl_8009E194: -/* 8009E194 0009B0F4 28 1B 00 00 */ cmplwi r27, 0 -/* 8009E198 0009B0F8 41 82 00 30 */ beq lbl_8009E1C8 -/* 8009E19C 0009B0FC 88 1B 00 00 */ lbz r0, 0(r27) -/* 8009E1A0 0009B100 28 00 00 00 */ cmplwi r0, 0 -/* 8009E1A4 0009B104 41 82 00 24 */ beq lbl_8009E1C8 -/* 8009E1A8 0009B108 80 7B 00 04 */ lwz r3, 4(r27) -/* 8009E1AC 0009B10C 28 03 00 00 */ cmplwi r3, 0 -/* 8009E1B0 0009B110 41 82 00 18 */ beq lbl_8009E1C8 -/* 8009E1B4 0009B114 81 83 00 00 */ lwz r12, 0(r3) -/* 8009E1B8 0009B118 38 80 00 01 */ li r4, 1 -/* 8009E1BC 0009B11C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009E1C0 0009B120 7D 89 03 A6 */ mtctr r12 -/* 8009E1C4 0009B124 4E 80 04 21 */ bctrl -lbl_8009E1C8: -/* 8009E1C8 0009B128 3B 7B 00 08 */ addi r27, r27, 8 -lbl_8009E1CC: -/* 8009E1CC 0009B12C 7C 1B E0 40 */ cmplw r27, r28 -/* 8009E1D0 0009B130 40 82 FF C4 */ bne lbl_8009E194 -/* 8009E1D4 0009B134 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8009E1D8 0009B138 28 03 00 00 */ cmplwi r3, 0 -/* 8009E1DC 0009B13C 41 82 00 08 */ beq lbl_8009E1E4 -/* 8009E1E0 0009B140 48 27 77 51 */ bl Free__7CMemoryFPCv -lbl_8009E1E4: -/* 8009E1E4 0009B144 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8009E1E8 0009B148 93 FE 00 08 */ stw r31, 8(r30) -lbl_8009E1EC: -/* 8009E1EC 0009B14C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8009E1F0 0009B150 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8009E1F4 0009B154 7C 08 03 A6 */ mtlr r0 -/* 8009E1F8 0009B158 38 21 00 30 */ addi r1, r1, 0x30 -/* 8009E1FC 0009B15C 4E 80 00 20 */ blr - -.global sub_8009e200 -sub_8009e200: -/* 8009E200 0009B160 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009E204 0009B164 7C 08 02 A6 */ mflr r0 -/* 8009E208 0009B168 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009E20C 0009B16C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009E210 0009B170 93 C1 00 08 */ stw r30, 8(r1) -/* 8009E214 0009B174 7C 7E 1B 78 */ mr r30, r3 -/* 8009E218 0009B178 80 03 00 04 */ lwz r0, 4(r3) -/* 8009E21C 0009B17C 83 E4 00 04 */ lwz r31, 4(r4) -/* 8009E220 0009B180 7C 04 00 40 */ cmplw r4, r0 -/* 8009E224 0009B184 40 82 00 08 */ bne lbl_8009E22C -/* 8009E228 0009B188 93 FE 00 04 */ stw r31, 4(r30) -lbl_8009E22C: -/* 8009E22C 0009B18C 80 04 00 04 */ lwz r0, 4(r4) -/* 8009E230 0009B190 28 04 00 00 */ cmplwi r4, 0 -/* 8009E234 0009B194 80 64 00 00 */ lwz r3, 0(r4) -/* 8009E238 0009B198 90 03 00 04 */ stw r0, 4(r3) -/* 8009E23C 0009B19C 80 04 00 00 */ lwz r0, 0(r4) -/* 8009E240 0009B1A0 80 64 00 04 */ lwz r3, 4(r4) -/* 8009E244 0009B1A4 90 03 00 00 */ stw r0, 0(r3) -/* 8009E248 0009B1A8 41 82 00 0C */ beq lbl_8009E254 -/* 8009E24C 0009B1AC 7C 83 23 78 */ mr r3, r4 -/* 8009E250 0009B1B0 48 27 76 E1 */ bl Free__7CMemoryFPCv -lbl_8009E254: -/* 8009E254 0009B1B4 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 8009E258 0009B1B8 7F E3 FB 78 */ mr r3, r31 -/* 8009E25C 0009B1BC 38 04 FF FF */ addi r0, r4, -1 -/* 8009E260 0009B1C0 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8009E264 0009B1C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8009E268 0009B1C8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8009E26C 0009B1CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009E270 0009B1D0 7C 08 03 A6 */ mtlr r0 -/* 8009E274 0009B1D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8009E278 0009B1D8 4E 80 00 20 */ blr - -.global sub_8009e27c -sub_8009e27c: -/* 8009E27C 0009B1DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009E280 0009B1E0 7C 08 02 A6 */ mflr r0 -/* 8009E284 0009B1E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009E288 0009B1E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009E28C 0009B1EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009E290 0009B1F0 7C 9E 23 78 */ mr r30, r4 -/* 8009E294 0009B1F4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009E298 0009B1F8 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8009E29C 0009B1FC 41 82 00 38 */ beq lbl_8009E2D4 -/* 8009E2A0 0009B200 83 FD 00 04 */ lwz r31, 4(r29) -/* 8009E2A4 0009B204 48 00 00 14 */ b lbl_8009E2B8 -lbl_8009E2A8: -/* 8009E2A8 0009B208 7F E3 FB 79 */ or. r3, r31, r31 -/* 8009E2AC 0009B20C 83 FF 00 04 */ lwz r31, 4(r31) -/* 8009E2B0 0009B210 41 82 00 08 */ beq lbl_8009E2B8 -/* 8009E2B4 0009B214 48 27 76 7D */ bl Free__7CMemoryFPCv -lbl_8009E2B8: -/* 8009E2B8 0009B218 80 1D 00 08 */ lwz r0, 8(r29) -/* 8009E2BC 0009B21C 7C 1F 00 40 */ cmplw r31, r0 -/* 8009E2C0 0009B220 40 82 FF E8 */ bne lbl_8009E2A8 -/* 8009E2C4 0009B224 7F C0 07 35 */ extsh. r0, r30 -/* 8009E2C8 0009B228 40 81 00 0C */ ble lbl_8009E2D4 -/* 8009E2CC 0009B22C 7F A3 EB 78 */ mr r3, r29 -/* 8009E2D0 0009B230 48 27 76 61 */ bl Free__7CMemoryFPCv -lbl_8009E2D4: -/* 8009E2D4 0009B234 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009E2D8 0009B238 7F A3 EB 78 */ mr r3, r29 -/* 8009E2DC 0009B23C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009E2E0 0009B240 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009E2E4 0009B244 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009E2E8 0009B248 7C 08 03 A6 */ mtlr r0 -/* 8009E2EC 0009B24C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009E2F0 0009B250 4E 80 00 20 */ blr - -.global sub_8009e2f4 -sub_8009e2f4: -/* 8009E2F4 0009B254 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009E2F8 0009B258 7C 08 02 A6 */ mflr r0 -/* 8009E2FC 0009B25C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009E300 0009B260 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009E304 0009B264 93 C1 00 08 */ stw r30, 8(r1) -/* 8009E308 0009B268 7C 7E 1B 78 */ mr r30, r3 -/* 8009E30C 0009B26C 80 03 00 04 */ lwz r0, 4(r3) -/* 8009E310 0009B270 83 E4 00 04 */ lwz r31, 4(r4) -/* 8009E314 0009B274 7C 04 00 40 */ cmplw r4, r0 -/* 8009E318 0009B278 40 82 00 08 */ bne lbl_8009E320 -/* 8009E31C 0009B27C 93 FE 00 04 */ stw r31, 4(r30) -lbl_8009E320: -/* 8009E320 0009B280 80 04 00 04 */ lwz r0, 4(r4) -/* 8009E324 0009B284 28 04 00 00 */ cmplwi r4, 0 -/* 8009E328 0009B288 80 64 00 00 */ lwz r3, 0(r4) -/* 8009E32C 0009B28C 90 03 00 04 */ stw r0, 4(r3) -/* 8009E330 0009B290 80 04 00 00 */ lwz r0, 0(r4) -/* 8009E334 0009B294 80 64 00 04 */ lwz r3, 4(r4) -/* 8009E338 0009B298 90 03 00 00 */ stw r0, 0(r3) -/* 8009E33C 0009B29C 41 82 00 0C */ beq lbl_8009E348 -/* 8009E340 0009B2A0 7C 83 23 78 */ mr r3, r4 -/* 8009E344 0009B2A4 48 27 75 ED */ bl Free__7CMemoryFPCv -lbl_8009E348: -/* 8009E348 0009B2A8 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 8009E34C 0009B2AC 7F E3 FB 78 */ mr r3, r31 -/* 8009E350 0009B2B0 38 04 FF FF */ addi r0, r4, -1 -/* 8009E354 0009B2B4 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8009E358 0009B2B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8009E35C 0009B2BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8009E360 0009B2C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009E364 0009B2C4 7C 08 03 A6 */ mtlr r0 -/* 8009E368 0009B2C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8009E36C 0009B2CC 4E 80 00 20 */ blr - -.global sub_8009e370 -sub_8009e370: -/* 8009E370 0009B2D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009E374 0009B2D4 7C 08 02 A6 */ mflr r0 -/* 8009E378 0009B2D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009E37C 0009B2DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009E380 0009B2E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009E384 0009B2E4 7C 9E 23 78 */ mr r30, r4 -/* 8009E388 0009B2E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009E38C 0009B2EC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8009E390 0009B2F0 41 82 00 38 */ beq lbl_8009E3C8 -/* 8009E394 0009B2F4 83 FD 00 04 */ lwz r31, 4(r29) -/* 8009E398 0009B2F8 48 00 00 14 */ b lbl_8009E3AC -lbl_8009E39C: -/* 8009E39C 0009B2FC 7F E3 FB 79 */ or. r3, r31, r31 -/* 8009E3A0 0009B300 83 FF 00 04 */ lwz r31, 4(r31) -/* 8009E3A4 0009B304 41 82 00 08 */ beq lbl_8009E3AC -/* 8009E3A8 0009B308 48 27 75 89 */ bl Free__7CMemoryFPCv -lbl_8009E3AC: -/* 8009E3AC 0009B30C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8009E3B0 0009B310 7C 1F 00 40 */ cmplw r31, r0 -/* 8009E3B4 0009B314 40 82 FF E8 */ bne lbl_8009E39C -/* 8009E3B8 0009B318 7F C0 07 35 */ extsh. r0, r30 -/* 8009E3BC 0009B31C 40 81 00 0C */ ble lbl_8009E3C8 -/* 8009E3C0 0009B320 7F A3 EB 78 */ mr r3, r29 -/* 8009E3C4 0009B324 48 27 75 6D */ bl Free__7CMemoryFPCv -lbl_8009E3C8: -/* 8009E3C8 0009B328 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009E3CC 0009B32C 7F A3 EB 78 */ mr r3, r29 -/* 8009E3D0 0009B330 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009E3D4 0009B334 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009E3D8 0009B338 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009E3DC 0009B33C 7C 08 03 A6 */ mtlr r0 -/* 8009E3E0 0009B340 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009E3E4 0009B344 4E 80 00 20 */ blr - -.global Accept__14CScriptCounterFR8IVisitor -Accept__14CScriptCounterFR8IVisitor: -/* 8009E3E8 0009B348 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009E3EC 0009B34C 7C 08 02 A6 */ mflr r0 -/* 8009E3F0 0009B350 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009E3F4 0009B354 7C 60 1B 78 */ mr r0, r3 -/* 8009E3F8 0009B358 7C 83 23 78 */ mr r3, r4 -/* 8009E3FC 0009B35C 81 84 00 00 */ lwz r12, 0(r4) -/* 8009E400 0009B360 7C 04 03 78 */ mr r4, r0 -/* 8009E404 0009B364 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8009E408 0009B368 7D 89 03 A6 */ mtctr r12 -/* 8009E40C 0009B36C 4E 80 04 21 */ bctrl -/* 8009E410 0009B370 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009E414 0009B374 7C 08 03 A6 */ mtlr r0 -/* 8009E418 0009B378 38 21 00 10 */ addi r1, r1, 0x10 -/* 8009E41C 0009B37C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__14CScriptCounterF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__14CScriptCounterF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8009E420 0009B380 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009E424 0009B384 7C 08 02 A6 */ mflr r0 -/* 8009E428 0009B388 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009E42C 0009B38C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009E430 0009B390 7C DF 33 78 */ mr r31, r6 -/* 8009E434 0009B394 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009E438 0009B398 7C BE 2B 78 */ mr r30, r5 -/* 8009E43C 0009B39C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009E440 0009B3A0 7C 9D 23 78 */ mr r29, r4 -/* 8009E444 0009B3A4 38 1D FF FB */ addi r0, r29, -5 -/* 8009E448 0009B3A8 28 00 00 08 */ cmplwi r0, 8 -/* 8009E44C 0009B3AC 93 81 00 10 */ stw r28, 0x10(r1) -/* 8009E450 0009B3B0 7C 7C 1B 78 */ mr r28, r3 -/* 8009E454 0009B3B4 41 81 01 58 */ bgt lbl_8009E5AC -/* 8009E458 0009B3B8 3C 80 80 3E */ lis r4, lbl_803DAF10@ha -/* 8009E45C 0009B3BC 54 00 10 3A */ slwi r0, r0, 2 -/* 8009E460 0009B3C0 38 84 AF 10 */ addi r4, r4, lbl_803DAF10@l -/* 8009E464 0009B3C4 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8009E468 0009B3C8 7C 09 03 A6 */ mtctr r0 -/* 8009E46C 0009B3CC 4E 80 04 20 */ bctr -/* 8009E470 0009B3D0 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 8009E474 0009B3D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009E478 0009B3D8 41 82 01 34 */ beq lbl_8009E5AC -/* 8009E47C 0009B3DC 38 00 00 00 */ li r0, 0 -/* 8009E480 0009B3E0 7F E5 FB 78 */ mr r5, r31 -/* 8009E484 0009B3E4 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8009E488 0009B3E8 38 80 00 09 */ li r4, 9 -/* 8009E48C 0009B3EC 38 C0 FF FF */ li r6, -1 -/* 8009E490 0009B3F0 4B FB 2C 31 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8009E494 0009B3F4 88 1C 00 40 */ lbz r0, 0x40(r28) -/* 8009E498 0009B3F8 28 00 00 00 */ cmplwi r0, 0 -/* 8009E49C 0009B3FC 41 82 01 10 */ beq lbl_8009E5AC -/* 8009E4A0 0009B400 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 8009E4A4 0009B404 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8009E4A8 0009B408 48 00 01 04 */ b lbl_8009E5AC -/* 8009E4AC 0009B40C 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 8009E4B0 0009B410 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009E4B4 0009B414 41 82 00 F8 */ beq lbl_8009E5AC -/* 8009E4B8 0009B418 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 8009E4BC 0009B41C 7F E5 FB 78 */ mr r5, r31 -/* 8009E4C0 0009B420 38 80 00 07 */ li r4, 7 -/* 8009E4C4 0009B424 38 C0 FF FF */ li r6, -1 -/* 8009E4C8 0009B428 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8009E4CC 0009B42C 4B FB 2B F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8009E4D0 0009B430 88 1C 00 40 */ lbz r0, 0x40(r28) -/* 8009E4D4 0009B434 28 00 00 00 */ cmplwi r0, 0 -/* 8009E4D8 0009B438 41 82 00 D4 */ beq lbl_8009E5AC -/* 8009E4DC 0009B43C 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 8009E4E0 0009B440 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8009E4E4 0009B444 48 00 00 C8 */ b lbl_8009E5AC -/* 8009E4E8 0009B448 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 8009E4EC 0009B44C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009E4F0 0009B450 41 82 00 BC */ beq lbl_8009E5AC -/* 8009E4F4 0009B454 80 9C 00 38 */ lwz r4, 0x38(r28) -/* 8009E4F8 0009B458 2C 04 00 00 */ cmpwi r4, 0 -/* 8009E4FC 0009B45C 41 82 00 B0 */ beq lbl_8009E5AC -/* 8009E500 0009B460 38 04 FF FF */ addi r0, r4, -1 -/* 8009E504 0009B464 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8009E508 0009B468 80 1C 00 38 */ lwz r0, 0x38(r28) -/* 8009E50C 0009B46C 2C 00 00 00 */ cmpwi r0, 0 -/* 8009E510 0009B470 40 82 00 9C */ bne lbl_8009E5AC -/* 8009E514 0009B474 7F E5 FB 78 */ mr r5, r31 -/* 8009E518 0009B478 38 80 00 09 */ li r4, 9 -/* 8009E51C 0009B47C 38 C0 FF FF */ li r6, -1 -/* 8009E520 0009B480 4B FB 2B A1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8009E524 0009B484 88 1C 00 40 */ lbz r0, 0x40(r28) -/* 8009E528 0009B488 28 00 00 00 */ cmplwi r0, 0 -/* 8009E52C 0009B48C 41 82 00 80 */ beq lbl_8009E5AC -/* 8009E530 0009B490 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 8009E534 0009B494 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8009E538 0009B498 48 00 00 74 */ b lbl_8009E5AC -/* 8009E53C 0009B49C 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 8009E540 0009B4A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009E544 0009B4A4 41 82 00 68 */ beq lbl_8009E5AC -/* 8009E548 0009B4A8 80 9C 00 38 */ lwz r4, 0x38(r28) -/* 8009E54C 0009B4AC 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 8009E550 0009B4B0 7C 04 00 00 */ cmpw r4, r0 -/* 8009E554 0009B4B4 40 80 00 58 */ bge lbl_8009E5AC -/* 8009E558 0009B4B8 38 04 00 01 */ addi r0, r4, 1 -/* 8009E55C 0009B4BC 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8009E560 0009B4C0 80 9C 00 38 */ lwz r4, 0x38(r28) -/* 8009E564 0009B4C4 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 8009E568 0009B4C8 7C 04 00 00 */ cmpw r4, r0 -/* 8009E56C 0009B4CC 40 82 00 40 */ bne lbl_8009E5AC -/* 8009E570 0009B4D0 7F E5 FB 78 */ mr r5, r31 -/* 8009E574 0009B4D4 38 80 00 07 */ li r4, 7 -/* 8009E578 0009B4D8 38 C0 FF FF */ li r6, -1 -/* 8009E57C 0009B4DC 4B FB 2B 45 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8009E580 0009B4E0 88 1C 00 40 */ lbz r0, 0x40(r28) -/* 8009E584 0009B4E4 28 00 00 00 */ cmplwi r0, 0 -/* 8009E588 0009B4E8 41 82 00 24 */ beq lbl_8009E5AC -/* 8009E58C 0009B4EC 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 8009E590 0009B4F0 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8009E594 0009B4F4 48 00 00 18 */ b lbl_8009E5AC -/* 8009E598 0009B4F8 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 8009E59C 0009B4FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8009E5A0 0009B500 41 82 00 0C */ beq lbl_8009E5AC -/* 8009E5A4 0009B504 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 8009E5A8 0009B508 90 1C 00 38 */ stw r0, 0x38(r28) -lbl_8009E5AC: -/* 8009E5AC 0009B50C A0 1E 00 00 */ lhz r0, 0(r30) -/* 8009E5B0 0009B510 7F 83 E3 78 */ mr r3, r28 -/* 8009E5B4 0009B514 7F A4 EB 78 */ mr r4, r29 -/* 8009E5B8 0009B518 7F E6 FB 78 */ mr r6, r31 -/* 8009E5BC 0009B51C B0 01 00 08 */ sth r0, 8(r1) -/* 8009E5C0 0009B520 38 A1 00 08 */ addi r5, r1, 8 -/* 8009E5C4 0009B524 4B FB 2B 99 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8009E5C8 0009B528 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009E5CC 0009B52C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009E5D0 0009B530 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009E5D4 0009B534 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009E5D8 0009B538 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8009E5DC 0009B53C 7C 08 03 A6 */ mtlr r0 -/* 8009E5E0 0009B540 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009E5E4 0009B544 4E 80 00 20 */ blr - -.global __dt__14CScriptCounterFv -__dt__14CScriptCounterFv: -/* 8009E5E8 0009B548 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009E5EC 0009B54C 7C 08 02 A6 */ mflr r0 -/* 8009E5F0 0009B550 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009E5F4 0009B554 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009E5F8 0009B558 7C 9F 23 78 */ mr r31, r4 -/* 8009E5FC 0009B55C 93 C1 00 08 */ stw r30, 8(r1) -/* 8009E600 0009B560 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8009E604 0009B564 41 82 00 28 */ beq lbl_8009E62C -/* 8009E608 0009B568 3C A0 80 3E */ lis r5, lbl_803DAEF0@ha -/* 8009E60C 0009B56C 38 80 00 00 */ li r4, 0 -/* 8009E610 0009B570 38 05 AE F0 */ addi r0, r5, lbl_803DAEF0@l -/* 8009E614 0009B574 90 1E 00 00 */ stw r0, 0(r30) -/* 8009E618 0009B578 4B FB 2C 5D */ bl __dt__7CEntityFv -/* 8009E61C 0009B57C 7F E0 07 35 */ extsh. r0, r31 -/* 8009E620 0009B580 40 81 00 0C */ ble lbl_8009E62C -/* 8009E624 0009B584 7F C3 F3 78 */ mr r3, r30 -/* 8009E628 0009B588 48 27 73 09 */ bl Free__7CMemoryFPCv -lbl_8009E62C: -/* 8009E62C 0009B58C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009E630 0009B590 7F C3 F3 78 */ mr r3, r30 -/* 8009E634 0009B594 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8009E638 0009B598 83 C1 00 08 */ lwz r30, 8(r1) -/* 8009E63C 0009B59C 7C 08 03 A6 */ mtlr r0 -/* 8009E640 0009B5A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8009E644 0009B5A4 4E 80 00 20 */ blr - -.global "__ct__14CScriptCounterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb" -"__ct__14CScriptCounterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb": -/* 8009E648 0009B5A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009E64C 0009B5AC 7C 08 02 A6 */ mflr r0 -/* 8009E650 0009B5B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009E654 0009B5B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009E658 0009B5B8 7D 3F 4B 78 */ mr r31, r9 -/* 8009E65C 0009B5BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009E660 0009B5C0 7D 1E 43 78 */ mr r30, r8 -/* 8009E664 0009B5C4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8009E668 0009B5C8 7C FD 3B 78 */ mr r29, r7 -/* 8009E66C 0009B5CC 93 81 00 10 */ stw r28, 0x10(r1) -/* 8009E670 0009B5D0 7C 7C 1B 78 */ mr r28, r3 -/* 8009E674 0009B5D4 A0 04 00 00 */ lhz r0, 0(r4) -/* 8009E678 0009B5D8 7C A4 2B 78 */ mr r4, r5 -/* 8009E67C 0009B5DC 7C C5 33 78 */ mr r5, r6 -/* 8009E680 0009B5E0 7D 46 53 78 */ mr r6, r10 -/* 8009E684 0009B5E4 B0 01 00 08 */ sth r0, 8(r1) -/* 8009E688 0009B5E8 7C 87 23 78 */ mr r7, r4 -/* 8009E68C 0009B5EC 38 81 00 08 */ addi r4, r1, 8 -/* 8009E690 0009B5F0 4B FB 2C 95 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8009E694 0009B5F4 3C 80 80 3E */ lis r4, lbl_803DAEF0@ha -/* 8009E698 0009B5F8 7F 83 E3 78 */ mr r3, r28 -/* 8009E69C 0009B5FC 38 04 AE F0 */ addi r0, r4, lbl_803DAEF0@l -/* 8009E6A0 0009B600 90 1C 00 00 */ stw r0, 0(r28) -/* 8009E6A4 0009B604 93 BC 00 34 */ stw r29, 0x34(r28) -/* 8009E6A8 0009B608 93 BC 00 38 */ stw r29, 0x38(r28) -/* 8009E6AC 0009B60C 93 DC 00 3C */ stw r30, 0x3c(r28) -/* 8009E6B0 0009B610 9B FC 00 40 */ stb r31, 0x40(r28) -/* 8009E6B4 0009B614 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009E6B8 0009B618 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009E6BC 0009B61C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009E6C0 0009B620 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8009E6C4 0009B624 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8009E6C8 0009B628 7C 08 03 A6 */ mtlr r0 -/* 8009E6CC 0009B62C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009E6D0 0009B630 4E 80 00 20 */ blr - -.global MinCircle__FiPC9CVector2f -MinCircle__FiPC9CVector2f: -/* 8009E6D4 0009B634 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8009E6D8 0009B638 7C 08 02 A6 */ mflr r0 -/* 8009E6DC 0009B63C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8009E6E0 0009B640 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8009E6E4 0009B644 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8009E6E8 0009B648 BF 21 00 64 */ stmw r25, 0x64(r1) -/* 8009E6EC 0009B64C 38 CD A8 98 */ addi r6, r13, lbl_805A9458@sda21 -/* 8009E6F0 0009B650 7C 9D 23 78 */ mr r29, r4 -/* 8009E6F4 0009B654 C0 4D A8 98 */ lfs f2, lbl_805A9458@sda21(r13) -/* 8009E6F8 0009B658 2C 1D 00 01 */ cmpwi r29, 1 -/* 8009E6FC 0009B65C C0 26 00 04 */ lfs f1, 4(r6) -/* 8009E700 0009B660 7C 7C 1B 78 */ mr r28, r3 -/* 8009E704 0009B664 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 8009E708 0009B668 7C BF 2B 78 */ mr r31, r5 -/* 8009E70C 0009B66C D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8009E710 0009B670 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8009E714 0009B674 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8009E718 0009B678 41 80 02 68 */ blt lbl_8009E980 -/* 8009E71C 0009B67C 3C 80 80 3D */ lis r4, lbl_803CD960@ha -/* 8009E720 0009B680 57 A3 10 3A */ slwi r3, r29, 2 -/* 8009E724 0009B684 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l -/* 8009E728 0009B688 38 A0 00 00 */ li r5, 0 -/* 8009E72C 0009B68C 48 27 70 ED */ bl __nwa__FUlPCcPCc -/* 8009E730 0009B690 2C 1D 00 00 */ cmpwi r29, 0 -/* 8009E734 0009B694 7C 7E 1B 78 */ mr r30, r3 -/* 8009E738 0009B698 39 20 00 00 */ li r9, 0 -/* 8009E73C 0009B69C 40 81 00 A8 */ ble lbl_8009E7E4 -/* 8009E740 0009B6A0 2C 1D 00 08 */ cmpwi r29, 8 -/* 8009E744 0009B6A4 38 7D FF F8 */ addi r3, r29, -8 -/* 8009E748 0009B6A8 40 81 00 6C */ ble lbl_8009E7B4 -/* 8009E74C 0009B6AC 38 03 00 07 */ addi r0, r3, 7 -/* 8009E750 0009B6B0 7F E7 FB 78 */ mr r7, r31 -/* 8009E754 0009B6B4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8009E758 0009B6B8 7F C8 F3 78 */ mr r8, r30 -/* 8009E75C 0009B6BC 7C 09 03 A6 */ mtctr r0 -/* 8009E760 0009B6C0 2C 03 00 00 */ cmpwi r3, 0 -/* 8009E764 0009B6C4 40 81 00 50 */ ble lbl_8009E7B4 -lbl_8009E768: -/* 8009E768 0009B6C8 90 E8 00 00 */ stw r7, 0(r8) -/* 8009E76C 0009B6CC 38 67 00 08 */ addi r3, r7, 8 -/* 8009E770 0009B6D0 38 07 00 10 */ addi r0, r7, 0x10 -/* 8009E774 0009B6D4 38 C7 00 18 */ addi r6, r7, 0x18 -/* 8009E778 0009B6D8 90 68 00 04 */ stw r3, 4(r8) -/* 8009E77C 0009B6DC 38 A7 00 20 */ addi r5, r7, 0x20 -/* 8009E780 0009B6E0 38 87 00 28 */ addi r4, r7, 0x28 -/* 8009E784 0009B6E4 38 67 00 30 */ addi r3, r7, 0x30 -/* 8009E788 0009B6E8 90 08 00 08 */ stw r0, 8(r8) -/* 8009E78C 0009B6EC 38 07 00 38 */ addi r0, r7, 0x38 -/* 8009E790 0009B6F0 38 E7 00 40 */ addi r7, r7, 0x40 -/* 8009E794 0009B6F4 39 29 00 08 */ addi r9, r9, 8 -/* 8009E798 0009B6F8 90 C8 00 0C */ stw r6, 0xc(r8) -/* 8009E79C 0009B6FC 90 A8 00 10 */ stw r5, 0x10(r8) -/* 8009E7A0 0009B700 90 88 00 14 */ stw r4, 0x14(r8) -/* 8009E7A4 0009B704 90 68 00 18 */ stw r3, 0x18(r8) -/* 8009E7A8 0009B708 90 08 00 1C */ stw r0, 0x1c(r8) -/* 8009E7AC 0009B70C 39 08 00 20 */ addi r8, r8, 0x20 -/* 8009E7B0 0009B710 42 00 FF B8 */ bdnz lbl_8009E768 -lbl_8009E7B4: -/* 8009E7B4 0009B714 55 24 18 38 */ slwi r4, r9, 3 -/* 8009E7B8 0009B718 55 23 10 3A */ slwi r3, r9, 2 -/* 8009E7BC 0009B71C 7C 09 E8 50 */ subf r0, r9, r29 -/* 8009E7C0 0009B720 7C 9F 22 14 */ add r4, r31, r4 -/* 8009E7C4 0009B724 7C 7E 1A 14 */ add r3, r30, r3 -/* 8009E7C8 0009B728 7C 09 03 A6 */ mtctr r0 -/* 8009E7CC 0009B72C 7C 09 E8 00 */ cmpw r9, r29 -/* 8009E7D0 0009B730 40 80 00 14 */ bge lbl_8009E7E4 -lbl_8009E7D4: -/* 8009E7D4 0009B734 90 83 00 00 */ stw r4, 0(r3) -/* 8009E7D8 0009B738 38 84 00 08 */ addi r4, r4, 8 -/* 8009E7DC 0009B73C 38 63 00 04 */ addi r3, r3, 4 -/* 8009E7E0 0009B740 42 00 FF F4 */ bdnz lbl_8009E7D4 -lbl_8009E7E4: -/* 8009E7E4 0009B744 3B 3D FF FF */ addi r25, r29, -1 -/* 8009E7E8 0009B748 57 20 10 3A */ slwi r0, r25, 2 -/* 8009E7EC 0009B74C 7F 5E 02 14 */ add r26, r30, r0 -/* 8009E7F0 0009B750 48 00 00 3C */ b lbl_8009E82C -lbl_8009E7F4: -/* 8009E7F4 0009B754 48 2F 16 89 */ bl rand -/* 8009E7F8 0009B758 38 99 00 01 */ addi r4, r25, 1 -/* 8009E7FC 0009B75C 7C 03 23 D6 */ divw r0, r3, r4 -/* 8009E800 0009B760 7C 00 21 D6 */ mullw r0, r0, r4 -/* 8009E804 0009B764 7C 00 18 50 */ subf r0, r0, r3 -/* 8009E808 0009B768 7C 00 C8 00 */ cmpw r0, r25 -/* 8009E80C 0009B76C 41 82 00 18 */ beq lbl_8009E824 -/* 8009E810 0009B770 54 03 10 3A */ slwi r3, r0, 2 -/* 8009E814 0009B774 80 9A 00 00 */ lwz r4, 0(r26) -/* 8009E818 0009B778 7C 1E 18 2E */ lwzx r0, r30, r3 -/* 8009E81C 0009B77C 90 1A 00 00 */ stw r0, 0(r26) -/* 8009E820 0009B780 7C 9E 19 2E */ stwx r4, r30, r3 -lbl_8009E824: -/* 8009E824 0009B784 3B 5A FF FC */ addi r26, r26, -4 -/* 8009E828 0009B788 3B 39 FF FF */ addi r25, r25, -1 -lbl_8009E82C: -/* 8009E82C 0009B78C 2C 19 00 00 */ cmpwi r25, 0 -/* 8009E830 0009B790 41 81 FF C4 */ bgt lbl_8009E7F4 -/* 8009E834 0009B794 80 9E 00 00 */ lwz r4, 0(r30) -/* 8009E838 0009B798 38 61 00 28 */ addi r3, r1, 0x28 -/* 8009E83C 0009B79C 48 00 0A ED */ bl ExactCircle1__FRC9CVector2f -/* 8009E840 0009B7A0 80 81 00 28 */ lwz r4, 0x28(r1) -/* 8009E844 0009B7A4 3B E0 00 01 */ li r31, 1 -/* 8009E848 0009B7A8 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8009E84C 0009B7AC 38 00 00 00 */ li r0, 0 -/* 8009E850 0009B7B0 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8009E854 0009B7B4 90 81 00 50 */ stw r4, 0x50(r1) -/* 8009E858 0009B7B8 C3 E2 8C 24 */ lfs f31, lbl_805AA944@sda21(r2) -/* 8009E85C 0009B7BC 90 61 00 54 */ stw r3, 0x54(r1) -/* 8009E860 0009B7C0 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8009E864 0009B7C4 93 E1 00 40 */ stw r31, 0x40(r1) -/* 8009E868 0009B7C8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8009E86C 0009B7CC 48 00 00 FC */ b lbl_8009E968 -lbl_8009E870: -/* 8009E870 0009B7D0 3B 21 00 40 */ addi r25, r1, 0x40 -/* 8009E874 0009B7D4 57 FB 10 3A */ slwi r27, r31, 2 -/* 8009E878 0009B7D8 3B 40 00 00 */ li r26, 0 -/* 8009E87C 0009B7DC 48 00 00 4C */ b lbl_8009E8C8 -lbl_8009E880: -/* 8009E880 0009B7E0 80 19 00 04 */ lwz r0, 4(r25) -/* 8009E884 0009B7E4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8009E888 0009B7E8 7C 9E D8 2E */ lwzx r4, r30, r27 -/* 8009E88C 0009B7EC 54 00 10 3A */ slwi r0, r0, 2 -/* 8009E890 0009B7F0 7C BE 00 2E */ lwzx r5, r30, r0 -/* 8009E894 0009B7F4 48 27 56 A5 */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8009E898 0009B7F8 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8009E89C 0009B7FC 38 61 00 0C */ addi r3, r1, 0xc -/* 8009E8A0 0009B800 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8009E8A4 0009B804 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8009E8A8 0009B808 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8009E8AC 0009B80C 48 27 58 31 */ bl MagSquared__9CVector2fCFv -/* 8009E8B0 0009B810 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8009E8B4 0009B814 40 80 00 0C */ bge lbl_8009E8C0 -/* 8009E8B8 0009B818 38 00 00 01 */ li r0, 1 -/* 8009E8BC 0009B81C 48 00 00 1C */ b lbl_8009E8D8 -lbl_8009E8C0: -/* 8009E8C0 0009B820 3B 39 00 04 */ addi r25, r25, 4 -/* 8009E8C4 0009B824 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8009E8C8: -/* 8009E8C8 0009B828 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8009E8CC 0009B82C 7C 1A 00 00 */ cmpw r26, r0 -/* 8009E8D0 0009B830 41 80 FF B0 */ blt lbl_8009E880 -/* 8009E8D4 0009B834 38 00 00 00 */ li r0, 0 -lbl_8009E8D8: -/* 8009E8D8 0009B838 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8009E8DC 0009B83C 40 82 00 88 */ bne lbl_8009E964 -/* 8009E8E0 0009B840 7C 7E D8 2E */ lwzx r3, r30, r27 -/* 8009E8E4 0009B844 38 81 00 50 */ addi r4, r1, 0x50 -/* 8009E8E8 0009B848 38 A1 00 08 */ addi r5, r1, 8 -/* 8009E8EC 0009B84C 48 00 0A 85 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009E8F0 0009B850 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009E8F4 0009B854 40 82 00 70 */ bne lbl_8009E964 -/* 8009E8F8 0009B858 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8009E8FC 0009B85C 3C 60 80 3E */ lis r3, lbl_803DAF38@ha -/* 8009E900 0009B860 38 63 AF 38 */ addi r3, r3, lbl_803DAF38@l -/* 8009E904 0009B864 7F E4 FB 78 */ mr r4, r31 -/* 8009E908 0009B868 54 00 10 3A */ slwi r0, r0, 2 -/* 8009E90C 0009B86C 7F C5 F3 78 */ mr r5, r30 -/* 8009E910 0009B870 7D 83 00 2E */ lwzx r12, r3, r0 -/* 8009E914 0009B874 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009E918 0009B878 38 C1 00 40 */ addi r6, r1, 0x40 -/* 8009E91C 0009B87C 7D 89 03 A6 */ mtctr r12 -/* 8009E920 0009B880 4E 80 04 21 */ bctrl -/* 8009E924 0009B884 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8009E928 0009B888 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8009E92C 0009B88C C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 8009E930 0009B890 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8009E934 0009B894 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009E938 0009B898 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8009E93C 0009B89C D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8009E940 0009B8A0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8009E944 0009B8A4 40 81 00 20 */ ble lbl_8009E964 -/* 8009E948 0009B8A8 80 61 00 34 */ lwz r3, 0x34(r1) -/* 8009E94C 0009B8AC 3B E0 00 00 */ li r31, 0 -/* 8009E950 0009B8B0 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8009E954 0009B8B4 90 61 00 50 */ stw r3, 0x50(r1) -/* 8009E958 0009B8B8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8009E95C 0009B8BC D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8009E960 0009B8C0 48 00 00 08 */ b lbl_8009E968 -lbl_8009E964: -/* 8009E964 0009B8C4 3B FF 00 01 */ addi r31, r31, 1 -lbl_8009E968: -/* 8009E968 0009B8C8 7C 1F E8 00 */ cmpw r31, r29 -/* 8009E96C 0009B8CC 41 80 FF 04 */ blt lbl_8009E870 -/* 8009E970 0009B8D0 28 1E 00 00 */ cmplwi r30, 0 -/* 8009E974 0009B8D4 41 82 00 0C */ beq lbl_8009E980 -/* 8009E978 0009B8D8 7F C3 F3 78 */ mr r3, r30 -/* 8009E97C 0009B8DC 48 27 6F B5 */ bl Free__7CMemoryFPCv -lbl_8009E980: -/* 8009E980 0009B8E0 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 8009E984 0009B8E4 48 27 6B 7D */ bl SqrtF__5CMathFf -/* 8009E988 0009B8E8 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8009E98C 0009B8EC C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8009E990 0009B8F0 D0 1C 00 00 */ stfs f0, 0(r28) -/* 8009E994 0009B8F4 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8009E998 0009B8F8 D0 1C 00 04 */ stfs f0, 4(r28) -/* 8009E99C 0009B8FC C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8009E9A0 0009B900 D0 1C 00 08 */ stfs f0, 8(r28) -/* 8009E9A4 0009B904 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8009E9A8 0009B908 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8009E9AC 0009B90C BB 21 00 64 */ lmw r25, 0x64(r1) -/* 8009E9B0 0009B910 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8009E9B4 0009B914 7C 08 03 A6 */ mtlr r0 -/* 8009E9B8 0009B918 38 21 00 90 */ addi r1, r1, 0x90 -/* 8009E9BC 0009B91C 4E 80 00 20 */ blr - -.global UpdateSupport3__FiPP9CVector2fR7Support -UpdateSupport3__FiPP9CVector2fR7Support: -/* 8009E9C0 0009B920 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8009E9C4 0009B924 7C 08 02 A6 */ mflr r0 -/* 8009E9C8 0009B928 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8009E9CC 0009B92C DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8009E9D0 0009B930 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8009E9D4 0009B934 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 8009E9D8 0009B938 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 8009E9DC 0009B93C BE C1 00 A8 */ stmw r22, 0xa8(r1) -/* 8009E9E0 0009B940 7C D9 33 78 */ mr r25, r6 -/* 8009E9E4 0009B944 7C 98 23 78 */ mr r24, r4 -/* 8009E9E8 0009B948 81 06 00 04 */ lwz r8, 4(r6) -/* 8009E9EC 0009B94C 54 80 10 3A */ slwi r0, r4, 2 -/* 8009E9F0 0009B950 80 E6 00 08 */ lwz r7, 8(r6) -/* 8009E9F4 0009B954 38 CD A8 98 */ addi r6, r13, lbl_805A9458@sda21 -/* 8009E9F8 0009B958 80 99 00 0C */ lwz r4, 0xc(r25) -/* 8009E9FC 0009B95C 55 08 10 3A */ slwi r8, r8, 2 -/* 8009EA00 0009B960 54 E7 10 3A */ slwi r7, r7, 2 -/* 8009EA04 0009B964 C3 E2 8C 28 */ lfs f31, lbl_805AA948@sda21(r2) -/* 8009EA08 0009B968 54 84 10 3A */ slwi r4, r4, 2 -/* 8009EA0C 0009B96C 7F E5 40 2E */ lwzx r31, r5, r8 -/* 8009EA10 0009B970 7F C5 38 2E */ lwzx r30, r5, r7 -/* 8009EA14 0009B974 FF C0 F8 90 */ fmr f30, f31 -/* 8009EA18 0009B978 7C 77 1B 78 */ mr r23, r3 -/* 8009EA1C 0009B97C 7F A5 20 2E */ lwzx r29, r5, r4 -/* 8009EA20 0009B980 7F 85 00 2E */ lwzx r28, r5, r0 -/* 8009EA24 0009B984 7F E4 FB 78 */ mr r4, r31 -/* 8009EA28 0009B988 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) -/* 8009EA2C 0009B98C C0 46 00 04 */ lfs f2, 4(r6) -/* 8009EA30 0009B990 7F 85 E3 78 */ mr r5, r28 -/* 8009EA34 0009B994 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 8009EA38 0009B998 38 61 00 48 */ addi r3, r1, 0x48 -/* 8009EA3C 0009B99C D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8009EA40 0009B9A0 3B 60 FF FF */ li r27, -1 -/* 8009EA44 0009B9A4 3B 40 FF FF */ li r26, -1 -/* 8009EA48 0009B9A8 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8009EA4C 0009B9AC D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8009EA50 0009B9B0 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8009EA54 0009B9B4 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8009EA58 0009B9B8 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8009EA5C 0009B9BC D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 8009EA60 0009B9C0 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8009EA64 0009B9C4 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8009EA68 0009B9C8 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 8009EA6C 0009B9CC D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 8009EA70 0009B9D0 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8009EA74 0009B9D4 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 8009EA78 0009B9D8 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 8009EA7C 0009B9DC D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8009EA80 0009B9E0 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 8009EA84 0009B9E4 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8009EA88 0009B9E8 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8009EA8C 0009B9EC 48 00 07 D1 */ bl ExactCircle2__FRC9CVector2fRC9CVector2f -/* 8009EA90 0009B9F0 80 C1 00 48 */ lwz r6, 0x48(r1) -/* 8009EA94 0009B9F4 7F C3 F3 78 */ mr r3, r30 -/* 8009EA98 0009B9F8 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8009EA9C 0009B9FC 38 81 00 54 */ addi r4, r1, 0x54 -/* 8009EAA0 0009BA00 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8009EAA4 0009BA04 38 A1 00 08 */ addi r5, r1, 8 -/* 8009EAA8 0009BA08 90 C1 00 54 */ stw r6, 0x54(r1) -/* 8009EAAC 0009BA0C 90 01 00 58 */ stw r0, 0x58(r1) -/* 8009EAB0 0009BA10 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8009EAB4 0009BA14 48 00 08 BD */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009EAB8 0009BA18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009EABC 0009BA1C 41 82 00 34 */ beq lbl_8009EAF0 -/* 8009EAC0 0009BA20 7F A3 EB 78 */ mr r3, r29 -/* 8009EAC4 0009BA24 38 81 00 54 */ addi r4, r1, 0x54 -/* 8009EAC8 0009BA28 38 A1 00 08 */ addi r5, r1, 8 -/* 8009EACC 0009BA2C 48 00 08 A5 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009EAD0 0009BA30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009EAD4 0009BA34 41 82 00 10 */ beq lbl_8009EAE4 -/* 8009EAD8 0009BA38 C3 E1 00 5C */ lfs f31, 0x5c(r1) -/* 8009EADC 0009BA3C 3B 60 00 00 */ li r27, 0 -/* 8009EAE0 0009BA40 48 00 00 18 */ b lbl_8009EAF8 -lbl_8009EAE4: -/* 8009EAE4 0009BA44 C3 C1 00 08 */ lfs f30, 8(r1) -/* 8009EAE8 0009BA48 3B 40 00 00 */ li r26, 0 -/* 8009EAEC 0009BA4C 48 00 00 0C */ b lbl_8009EAF8 -lbl_8009EAF0: -/* 8009EAF0 0009BA50 C3 C1 00 08 */ lfs f30, 8(r1) -/* 8009EAF4 0009BA54 3B 40 00 00 */ li r26, 0 -lbl_8009EAF8: -/* 8009EAF8 0009BA58 7F C4 F3 78 */ mr r4, r30 -/* 8009EAFC 0009BA5C 7F 85 E3 78 */ mr r5, r28 -/* 8009EB00 0009BA60 38 61 00 3C */ addi r3, r1, 0x3c -/* 8009EB04 0009BA64 48 00 07 59 */ bl ExactCircle2__FRC9CVector2fRC9CVector2f -/* 8009EB08 0009BA68 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8009EB0C 0009BA6C 3A C1 00 60 */ addi r22, r1, 0x60 -/* 8009EB10 0009BA70 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8009EB14 0009BA74 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8009EB18 0009BA78 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8009EB1C 0009BA7C 90 61 00 60 */ stw r3, 0x60(r1) -/* 8009EB20 0009BA80 90 01 00 64 */ stw r0, 0x64(r1) -/* 8009EB24 0009BA84 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8009EB28 0009BA88 40 80 00 6C */ bge lbl_8009EB94 -/* 8009EB2C 0009BA8C 7F E3 FB 78 */ mr r3, r31 -/* 8009EB30 0009BA90 7E C4 B3 78 */ mr r4, r22 -/* 8009EB34 0009BA94 38 A1 00 08 */ addi r5, r1, 8 -/* 8009EB38 0009BA98 48 00 08 39 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009EB3C 0009BA9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009EB40 0009BAA0 41 82 00 40 */ beq lbl_8009EB80 -/* 8009EB44 0009BAA4 7F A3 EB 78 */ mr r3, r29 -/* 8009EB48 0009BAA8 7E C4 B3 78 */ mr r4, r22 -/* 8009EB4C 0009BAAC 38 A1 00 08 */ addi r5, r1, 8 -/* 8009EB50 0009BAB0 48 00 08 21 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009EB54 0009BAB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009EB58 0009BAB8 41 82 00 10 */ beq lbl_8009EB68 -/* 8009EB5C 0009BABC C3 E1 00 68 */ lfs f31, 0x68(r1) -/* 8009EB60 0009BAC0 3B 60 00 01 */ li r27, 1 -/* 8009EB64 0009BAC4 48 00 00 30 */ b lbl_8009EB94 -lbl_8009EB68: -/* 8009EB68 0009BAC8 C0 01 00 08 */ lfs f0, 8(r1) -/* 8009EB6C 0009BACC FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8009EB70 0009BAD0 40 80 00 24 */ bge lbl_8009EB94 -/* 8009EB74 0009BAD4 FF C0 00 90 */ fmr f30, f0 -/* 8009EB78 0009BAD8 3B 40 00 01 */ li r26, 1 -/* 8009EB7C 0009BADC 48 00 00 18 */ b lbl_8009EB94 -lbl_8009EB80: -/* 8009EB80 0009BAE0 C0 01 00 08 */ lfs f0, 8(r1) -/* 8009EB84 0009BAE4 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8009EB88 0009BAE8 40 80 00 0C */ bge lbl_8009EB94 -/* 8009EB8C 0009BAEC FF C0 00 90 */ fmr f30, f0 -/* 8009EB90 0009BAF0 3B 40 00 01 */ li r26, 1 -lbl_8009EB94: -/* 8009EB94 0009BAF4 7F A4 EB 78 */ mr r4, r29 -/* 8009EB98 0009BAF8 7F 85 E3 78 */ mr r5, r28 -/* 8009EB9C 0009BAFC 38 61 00 30 */ addi r3, r1, 0x30 -/* 8009EBA0 0009BB00 48 00 06 BD */ bl ExactCircle2__FRC9CVector2fRC9CVector2f -/* 8009EBA4 0009BB04 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8009EBA8 0009BB08 3A C1 00 6C */ addi r22, r1, 0x6c -/* 8009EBAC 0009BB0C 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8009EBB0 0009BB10 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8009EBB4 0009BB14 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8009EBB8 0009BB18 90 61 00 6C */ stw r3, 0x6c(r1) -/* 8009EBBC 0009BB1C 90 01 00 70 */ stw r0, 0x70(r1) -/* 8009EBC0 0009BB20 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8009EBC4 0009BB24 40 80 00 6C */ bge lbl_8009EC30 -/* 8009EBC8 0009BB28 7F E3 FB 78 */ mr r3, r31 -/* 8009EBCC 0009BB2C 7E C4 B3 78 */ mr r4, r22 -/* 8009EBD0 0009BB30 38 A1 00 08 */ addi r5, r1, 8 -/* 8009EBD4 0009BB34 48 00 07 9D */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009EBD8 0009BB38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009EBDC 0009BB3C 41 82 00 40 */ beq lbl_8009EC1C -/* 8009EBE0 0009BB40 7F C3 F3 78 */ mr r3, r30 -/* 8009EBE4 0009BB44 7E C4 B3 78 */ mr r4, r22 -/* 8009EBE8 0009BB48 38 A1 00 08 */ addi r5, r1, 8 -/* 8009EBEC 0009BB4C 48 00 07 85 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009EBF0 0009BB50 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009EBF4 0009BB54 41 82 00 10 */ beq lbl_8009EC04 -/* 8009EBF8 0009BB58 C3 E1 00 74 */ lfs f31, 0x74(r1) -/* 8009EBFC 0009BB5C 3B 60 00 02 */ li r27, 2 -/* 8009EC00 0009BB60 48 00 00 30 */ b lbl_8009EC30 -lbl_8009EC04: -/* 8009EC04 0009BB64 C0 01 00 08 */ lfs f0, 8(r1) -/* 8009EC08 0009BB68 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8009EC0C 0009BB6C 40 80 00 24 */ bge lbl_8009EC30 -/* 8009EC10 0009BB70 FF C0 00 90 */ fmr f30, f0 -/* 8009EC14 0009BB74 3B 40 00 02 */ li r26, 2 -/* 8009EC18 0009BB78 48 00 00 18 */ b lbl_8009EC30 -lbl_8009EC1C: -/* 8009EC1C 0009BB7C C0 01 00 08 */ lfs f0, 8(r1) -/* 8009EC20 0009BB80 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8009EC24 0009BB84 40 80 00 0C */ bge lbl_8009EC30 -/* 8009EC28 0009BB88 FF C0 00 90 */ fmr f30, f0 -/* 8009EC2C 0009BB8C 3B 40 00 02 */ li r26, 2 -lbl_8009EC30: -/* 8009EC30 0009BB90 7F E4 FB 78 */ mr r4, r31 -/* 8009EC34 0009BB94 7F C5 F3 78 */ mr r5, r30 -/* 8009EC38 0009BB98 7F 86 E3 78 */ mr r6, r28 -/* 8009EC3C 0009BB9C 38 61 00 24 */ addi r3, r1, 0x24 -/* 8009EC40 0009BBA0 48 00 04 65 */ bl ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f -/* 8009EC44 0009BBA4 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8009EC48 0009BBA8 38 81 00 78 */ addi r4, r1, 0x78 -/* 8009EC4C 0009BBAC 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8009EC50 0009BBB0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8009EC54 0009BBB4 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8009EC58 0009BBB8 90 61 00 78 */ stw r3, 0x78(r1) -/* 8009EC5C 0009BBBC 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8009EC60 0009BBC0 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8009EC64 0009BBC4 40 80 00 38 */ bge lbl_8009EC9C -/* 8009EC68 0009BBC8 7F A3 EB 78 */ mr r3, r29 -/* 8009EC6C 0009BBCC 38 A1 00 08 */ addi r5, r1, 8 -/* 8009EC70 0009BBD0 48 00 07 01 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009EC74 0009BBD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009EC78 0009BBD8 41 82 00 10 */ beq lbl_8009EC88 -/* 8009EC7C 0009BBDC C3 E1 00 80 */ lfs f31, 0x80(r1) -/* 8009EC80 0009BBE0 3B 60 00 03 */ li r27, 3 -/* 8009EC84 0009BBE4 48 00 00 18 */ b lbl_8009EC9C -lbl_8009EC88: -/* 8009EC88 0009BBE8 C0 01 00 08 */ lfs f0, 8(r1) -/* 8009EC8C 0009BBEC FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8009EC90 0009BBF0 40 80 00 0C */ bge lbl_8009EC9C -/* 8009EC94 0009BBF4 FF C0 00 90 */ fmr f30, f0 -/* 8009EC98 0009BBF8 3B 40 00 03 */ li r26, 3 -lbl_8009EC9C: -/* 8009EC9C 0009BBFC 7F E4 FB 78 */ mr r4, r31 -/* 8009ECA0 0009BC00 7F A5 EB 78 */ mr r5, r29 -/* 8009ECA4 0009BC04 7F 86 E3 78 */ mr r6, r28 -/* 8009ECA8 0009BC08 38 61 00 18 */ addi r3, r1, 0x18 -/* 8009ECAC 0009BC0C 48 00 03 F9 */ bl ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f -/* 8009ECB0 0009BC10 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8009ECB4 0009BC14 38 81 00 84 */ addi r4, r1, 0x84 -/* 8009ECB8 0009BC18 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8009ECBC 0009BC1C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8009ECC0 0009BC20 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8009ECC4 0009BC24 90 61 00 84 */ stw r3, 0x84(r1) -/* 8009ECC8 0009BC28 90 01 00 88 */ stw r0, 0x88(r1) -/* 8009ECCC 0009BC2C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8009ECD0 0009BC30 40 80 00 38 */ bge lbl_8009ED08 -/* 8009ECD4 0009BC34 7F C3 F3 78 */ mr r3, r30 -/* 8009ECD8 0009BC38 38 A1 00 08 */ addi r5, r1, 8 -/* 8009ECDC 0009BC3C 48 00 06 95 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009ECE0 0009BC40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009ECE4 0009BC44 41 82 00 10 */ beq lbl_8009ECF4 -/* 8009ECE8 0009BC48 C3 E1 00 8C */ lfs f31, 0x8c(r1) -/* 8009ECEC 0009BC4C 3B 60 00 04 */ li r27, 4 -/* 8009ECF0 0009BC50 48 00 00 18 */ b lbl_8009ED08 -lbl_8009ECF4: -/* 8009ECF4 0009BC54 C0 01 00 08 */ lfs f0, 8(r1) -/* 8009ECF8 0009BC58 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8009ECFC 0009BC5C 40 80 00 0C */ bge lbl_8009ED08 -/* 8009ED00 0009BC60 FF C0 00 90 */ fmr f30, f0 -/* 8009ED04 0009BC64 3B 40 00 04 */ li r26, 4 -lbl_8009ED08: -/* 8009ED08 0009BC68 7F C4 F3 78 */ mr r4, r30 -/* 8009ED0C 0009BC6C 7F A5 EB 78 */ mr r5, r29 -/* 8009ED10 0009BC70 7F 86 E3 78 */ mr r6, r28 -/* 8009ED14 0009BC74 38 61 00 0C */ addi r3, r1, 0xc -/* 8009ED18 0009BC78 48 00 03 8D */ bl ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f -/* 8009ED1C 0009BC7C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8009ED20 0009BC80 38 81 00 90 */ addi r4, r1, 0x90 -/* 8009ED24 0009BC84 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8009ED28 0009BC88 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8009ED2C 0009BC8C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8009ED30 0009BC90 90 61 00 90 */ stw r3, 0x90(r1) -/* 8009ED34 0009BC94 90 01 00 94 */ stw r0, 0x94(r1) -/* 8009ED38 0009BC98 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8009ED3C 0009BC9C 40 80 00 30 */ bge lbl_8009ED6C -/* 8009ED40 0009BCA0 7F E3 FB 78 */ mr r3, r31 -/* 8009ED44 0009BCA4 38 A1 00 08 */ addi r5, r1, 8 -/* 8009ED48 0009BCA8 48 00 06 29 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009ED4C 0009BCAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009ED50 0009BCB0 41 82 00 0C */ beq lbl_8009ED5C -/* 8009ED54 0009BCB4 3B 60 00 05 */ li r27, 5 -/* 8009ED58 0009BCB8 48 00 00 14 */ b lbl_8009ED6C -lbl_8009ED5C: -/* 8009ED5C 0009BCBC C0 01 00 08 */ lfs f0, 8(r1) -/* 8009ED60 0009BCC0 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8009ED64 0009BCC4 40 80 00 08 */ bge lbl_8009ED6C -/* 8009ED68 0009BCC8 3B 40 00 05 */ li r26, 5 -lbl_8009ED6C: -/* 8009ED6C 0009BCCC 2C 1B FF FF */ cmpwi r27, -1 -/* 8009ED70 0009BCD0 40 82 00 08 */ bne lbl_8009ED78 -/* 8009ED74 0009BCD4 7F 5B D3 78 */ mr r27, r26 -lbl_8009ED78: -/* 8009ED78 0009BCD8 1C 1B 00 0C */ mulli r0, r27, 0xc -/* 8009ED7C 0009BCDC 38 A1 00 54 */ addi r5, r1, 0x54 -/* 8009ED80 0009BCE0 38 81 00 58 */ addi r4, r1, 0x58 -/* 8009ED84 0009BCE4 38 61 00 5C */ addi r3, r1, 0x5c -/* 8009ED88 0009BCE8 2C 1B 00 03 */ cmpwi r27, 3 -/* 8009ED8C 0009BCEC 7C 05 04 2E */ lfsx f0, r5, r0 -/* 8009ED90 0009BCF0 7C 24 04 2E */ lfsx f1, r4, r0 -/* 8009ED94 0009BCF4 7C 43 04 2E */ lfsx f2, r3, r0 -/* 8009ED98 0009BCF8 41 82 00 68 */ beq lbl_8009EE00 -/* 8009ED9C 0009BCFC 40 80 00 1C */ bge lbl_8009EDB8 -/* 8009EDA0 0009BD00 2C 1B 00 01 */ cmpwi r27, 1 -/* 8009EDA4 0009BD04 41 82 00 34 */ beq lbl_8009EDD8 -/* 8009EDA8 0009BD08 40 80 00 40 */ bge lbl_8009EDE8 -/* 8009EDAC 0009BD0C 2C 1B 00 00 */ cmpwi r27, 0 -/* 8009EDB0 0009BD10 40 80 00 18 */ bge lbl_8009EDC8 -/* 8009EDB4 0009BD14 48 00 00 60 */ b lbl_8009EE14 -lbl_8009EDB8: -/* 8009EDB8 0009BD18 2C 1B 00 05 */ cmpwi r27, 5 -/* 8009EDBC 0009BD1C 41 82 00 54 */ beq lbl_8009EE10 -/* 8009EDC0 0009BD20 40 80 00 54 */ bge lbl_8009EE14 -/* 8009EDC4 0009BD24 48 00 00 44 */ b lbl_8009EE08 -lbl_8009EDC8: -/* 8009EDC8 0009BD28 38 00 00 02 */ li r0, 2 -/* 8009EDCC 0009BD2C 90 19 00 00 */ stw r0, 0(r25) -/* 8009EDD0 0009BD30 93 19 00 08 */ stw r24, 8(r25) -/* 8009EDD4 0009BD34 48 00 00 40 */ b lbl_8009EE14 -lbl_8009EDD8: -/* 8009EDD8 0009BD38 38 00 00 02 */ li r0, 2 -/* 8009EDDC 0009BD3C 90 19 00 00 */ stw r0, 0(r25) -/* 8009EDE0 0009BD40 93 19 00 04 */ stw r24, 4(r25) -/* 8009EDE4 0009BD44 48 00 00 30 */ b lbl_8009EE14 -lbl_8009EDE8: -/* 8009EDE8 0009BD48 38 00 00 02 */ li r0, 2 -/* 8009EDEC 0009BD4C 90 19 00 00 */ stw r0, 0(r25) -/* 8009EDF0 0009BD50 80 19 00 0C */ lwz r0, 0xc(r25) -/* 8009EDF4 0009BD54 90 19 00 04 */ stw r0, 4(r25) -/* 8009EDF8 0009BD58 93 19 00 08 */ stw r24, 8(r25) -/* 8009EDFC 0009BD5C 48 00 00 18 */ b lbl_8009EE14 -lbl_8009EE00: -/* 8009EE00 0009BD60 93 19 00 0C */ stw r24, 0xc(r25) -/* 8009EE04 0009BD64 48 00 00 10 */ b lbl_8009EE14 -lbl_8009EE08: -/* 8009EE08 0009BD68 93 19 00 08 */ stw r24, 8(r25) -/* 8009EE0C 0009BD6C 48 00 00 08 */ b lbl_8009EE14 -lbl_8009EE10: -/* 8009EE10 0009BD70 93 19 00 04 */ stw r24, 4(r25) -lbl_8009EE14: -/* 8009EE14 0009BD74 D0 17 00 00 */ stfs f0, 0(r23) -/* 8009EE18 0009BD78 D0 37 00 04 */ stfs f1, 4(r23) -/* 8009EE1C 0009BD7C D0 57 00 08 */ stfs f2, 8(r23) -/* 8009EE20 0009BD80 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8009EE24 0009BD84 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 8009EE28 0009BD88 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 8009EE2C 0009BD8C CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 8009EE30 0009BD90 BA C1 00 A8 */ lmw r22, 0xa8(r1) -/* 8009EE34 0009BD94 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8009EE38 0009BD98 7C 08 03 A6 */ mtlr r0 -/* 8009EE3C 0009BD9C 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8009EE40 0009BDA0 4E 80 00 20 */ blr - -.global UpdateSupport2__FiPP9CVector2fR7Support -UpdateSupport2__FiPP9CVector2fR7Support: -/* 8009EE44 0009BDA4 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8009EE48 0009BDA8 7C 08 02 A6 */ mflr r0 -/* 8009EE4C 0009BDAC 90 01 00 94 */ stw r0, 0x94(r1) -/* 8009EE50 0009BDB0 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8009EE54 0009BDB4 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8009EE58 0009BDB8 BF 01 00 60 */ stmw r24, 0x60(r1) -/* 8009EE5C 0009BDBC 7C DE 33 78 */ mr r30, r6 -/* 8009EE60 0009BDC0 7C 9D 23 78 */ mr r29, r4 -/* 8009EE64 0009BDC4 80 C6 00 04 */ lwz r6, 4(r6) -/* 8009EE68 0009BDC8 54 80 10 3A */ slwi r0, r4, 2 -/* 8009EE6C 0009BDCC 80 9E 00 08 */ lwz r4, 8(r30) -/* 8009EE70 0009BDD0 3B 6D A8 98 */ addi r27, r13, lbl_805A9458@sda21 -/* 8009EE74 0009BDD4 54 C6 10 3A */ slwi r6, r6, 2 -/* 8009EE78 0009BDD8 7C 7C 1B 78 */ mr r28, r3 -/* 8009EE7C 0009BDDC 54 83 10 3A */ slwi r3, r4, 2 -/* 8009EE80 0009BDE0 7F 45 30 2E */ lwzx r26, r5, r6 -/* 8009EE84 0009BDE4 7F 25 18 2E */ lwzx r25, r5, r3 -/* 8009EE88 0009BDE8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8009EE8C 0009BDEC 7F 05 00 2E */ lwzx r24, r5, r0 -/* 8009EE90 0009BDF0 7F 44 D3 78 */ mr r4, r26 -/* 8009EE94 0009BDF4 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) -/* 8009EE98 0009BDF8 3B E0 FF FF */ li r31, -1 -/* 8009EE9C 0009BDFC C0 5B 00 04 */ lfs f2, 4(r27) -/* 8009EEA0 0009BE00 7F 05 C3 78 */ mr r5, r24 -/* 8009EEA4 0009BE04 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 8009EEA8 0009BE08 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8009EEAC 0009BE0C C3 E2 8C 28 */ lfs f31, lbl_805AA948@sda21(r2) -/* 8009EEB0 0009BE10 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8009EEB4 0009BE14 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8009EEB8 0009BE18 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8009EEBC 0009BE1C D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8009EEC0 0009BE20 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8009EEC4 0009BE24 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8009EEC8 0009BE28 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8009EECC 0009BE2C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8009EED0 0009BE30 48 00 03 8D */ bl ExactCircle2__FRC9CVector2fRC9CVector2f -/* 8009EED4 0009BE34 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8009EED8 0009BE38 7F 23 CB 78 */ mr r3, r25 -/* 8009EEDC 0009BE3C 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8009EEE0 0009BE40 38 81 00 3C */ addi r4, r1, 0x3c -/* 8009EEE4 0009BE44 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8009EEE8 0009BE48 38 A1 00 08 */ addi r5, r1, 8 -/* 8009EEEC 0009BE4C 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 8009EEF0 0009BE50 90 01 00 40 */ stw r0, 0x40(r1) -/* 8009EEF4 0009BE54 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8009EEF8 0009BE58 48 00 04 79 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009EEFC 0009BE5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009EF00 0009BE60 41 82 00 0C */ beq lbl_8009EF0C -/* 8009EF04 0009BE64 C3 E1 00 44 */ lfs f31, 0x44(r1) -/* 8009EF08 0009BE68 3B E0 00 00 */ li r31, 0 -lbl_8009EF0C: -/* 8009EF0C 0009BE6C 7F 24 CB 78 */ mr r4, r25 -/* 8009EF10 0009BE70 7F 05 C3 78 */ mr r5, r24 -/* 8009EF14 0009BE74 38 61 00 18 */ addi r3, r1, 0x18 -/* 8009EF18 0009BE78 48 00 03 45 */ bl ExactCircle2__FRC9CVector2fRC9CVector2f -/* 8009EF1C 0009BE7C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8009EF20 0009BE80 38 81 00 48 */ addi r4, r1, 0x48 -/* 8009EF24 0009BE84 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8009EF28 0009BE88 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8009EF2C 0009BE8C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8009EF30 0009BE90 90 61 00 48 */ stw r3, 0x48(r1) -/* 8009EF34 0009BE94 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8009EF38 0009BE98 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8009EF3C 0009BE9C 40 80 00 1C */ bge lbl_8009EF58 -/* 8009EF40 0009BEA0 7F 43 D3 78 */ mr r3, r26 -/* 8009EF44 0009BEA4 38 A1 00 08 */ addi r5, r1, 8 -/* 8009EF48 0009BEA8 48 00 04 29 */ bl PointInsideCircle__FRC9CVector2fRC7Circle2Rf -/* 8009EF4C 0009BEAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009EF50 0009BEB0 41 82 00 08 */ beq lbl_8009EF58 -/* 8009EF54 0009BEB4 3B E0 00 01 */ li r31, 1 -lbl_8009EF58: -/* 8009EF58 0009BEB8 C0 4D A8 98 */ lfs f2, lbl_805A9458@sda21(r13) -/* 8009EF5C 0009BEBC 2C 1F FF FF */ cmpwi r31, -1 -/* 8009EF60 0009BEC0 C0 3B 00 04 */ lfs f1, 4(r27) -/* 8009EF64 0009BEC4 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 8009EF68 0009BEC8 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8009EF6C 0009BECC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8009EF70 0009BED0 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8009EF74 0009BED4 41 82 00 40 */ beq lbl_8009EFB4 -/* 8009EF78 0009BED8 1C BF 00 0C */ mulli r5, r31, 0xc -/* 8009EF7C 0009BEDC 38 81 00 3C */ addi r4, r1, 0x3c -/* 8009EF80 0009BEE0 38 61 00 44 */ addi r3, r1, 0x44 -/* 8009EF84 0009BEE4 20 1F 00 01 */ subfic r0, r31, 1 -/* 8009EF88 0009BEE8 7C 84 2A 14 */ add r4, r4, r5 -/* 8009EF8C 0009BEEC 7C 03 2C 2E */ lfsx f0, r3, r5 -/* 8009EF90 0009BEF0 54 00 10 3A */ slwi r0, r0, 2 -/* 8009EF94 0009BEF4 80 A4 00 00 */ lwz r5, 0(r4) -/* 8009EF98 0009BEF8 80 84 00 04 */ lwz r4, 4(r4) -/* 8009EF9C 0009BEFC 7C 7E 02 14 */ add r3, r30, r0 -/* 8009EFA0 0009BF00 90 A1 00 30 */ stw r5, 0x30(r1) -/* 8009EFA4 0009BF04 90 81 00 34 */ stw r4, 0x34(r1) -/* 8009EFA8 0009BF08 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8009EFAC 0009BF0C 93 A3 00 04 */ stw r29, 4(r3) -/* 8009EFB0 0009BF10 48 00 00 3C */ b lbl_8009EFEC -lbl_8009EFB4: -/* 8009EFB4 0009BF14 7F 44 D3 78 */ mr r4, r26 -/* 8009EFB8 0009BF18 7F 25 CB 78 */ mr r5, r25 -/* 8009EFBC 0009BF1C 7F 06 C3 78 */ mr r6, r24 -/* 8009EFC0 0009BF20 38 61 00 0C */ addi r3, r1, 0xc -/* 8009EFC4 0009BF24 48 00 00 E1 */ bl ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f -/* 8009EFC8 0009BF28 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8009EFCC 0009BF2C 38 00 00 03 */ li r0, 3 -/* 8009EFD0 0009BF30 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8009EFD4 0009BF34 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8009EFD8 0009BF38 90 81 00 30 */ stw r4, 0x30(r1) -/* 8009EFDC 0009BF3C 90 1E 00 00 */ stw r0, 0(r30) -/* 8009EFE0 0009BF40 90 61 00 34 */ stw r3, 0x34(r1) -/* 8009EFE4 0009BF44 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8009EFE8 0009BF48 93 BE 00 0C */ stw r29, 0xc(r30) -lbl_8009EFEC: -/* 8009EFEC 0009BF4C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8009EFF0 0009BF50 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 8009EFF4 0009BF54 D0 1C 00 00 */ stfs f0, 0(r28) -/* 8009EFF8 0009BF58 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8009EFFC 0009BF5C D0 3C 00 04 */ stfs f1, 4(r28) -/* 8009F000 0009BF60 D0 1C 00 08 */ stfs f0, 8(r28) -/* 8009F004 0009BF64 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8009F008 0009BF68 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8009F00C 0009BF6C BB 01 00 60 */ lmw r24, 0x60(r1) -/* 8009F010 0009BF70 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8009F014 0009BF74 7C 08 03 A6 */ mtlr r0 -/* 8009F018 0009BF78 38 21 00 90 */ addi r1, r1, 0x90 -/* 8009F01C 0009BF7C 4E 80 00 20 */ blr - -.global UpdateSupport1__FiPP9CVector2fR7Support -UpdateSupport1__FiPP9CVector2fR7Support: -/* 8009F020 0009BF80 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8009F024 0009BF84 7C 08 02 A6 */ mflr r0 -/* 8009F028 0009BF88 90 01 00 34 */ stw r0, 0x34(r1) -/* 8009F02C 0009BF8C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8009F030 0009BF90 7C DF 33 78 */ mr r31, r6 -/* 8009F034 0009BF94 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8009F038 0009BF98 7C 9E 23 78 */ mr r30, r4 -/* 8009F03C 0009BF9C 57 C0 10 3A */ slwi r0, r30, 2 -/* 8009F040 0009BFA0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8009F044 0009BFA4 7C 7D 1B 78 */ mr r29, r3 -/* 8009F048 0009BFA8 80 86 00 04 */ lwz r4, 4(r6) -/* 8009F04C 0009BFAC 7C A6 2B 78 */ mr r6, r5 -/* 8009F050 0009BFB0 7C A6 00 2E */ lwzx r5, r6, r0 -/* 8009F054 0009BFB4 54 83 10 3A */ slwi r3, r4, 2 -/* 8009F058 0009BFB8 7C 86 18 2E */ lwzx r4, r6, r3 -/* 8009F05C 0009BFBC 38 61 00 08 */ addi r3, r1, 8 -/* 8009F060 0009BFC0 48 00 01 FD */ bl ExactCircle2__FRC9CVector2fRC9CVector2f -/* 8009F064 0009BFC4 C0 01 00 08 */ lfs f0, 8(r1) -/* 8009F068 0009BFC8 38 00 00 02 */ li r0, 2 -/* 8009F06C 0009BFCC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8009F070 0009BFD0 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8009F074 0009BFD4 90 1F 00 00 */ stw r0, 0(r31) -/* 8009F078 0009BFD8 93 DF 00 08 */ stw r30, 8(r31) -/* 8009F07C 0009BFDC D0 1D 00 00 */ stfs f0, 0(r29) -/* 8009F080 0009BFE0 D0 3D 00 04 */ stfs f1, 4(r29) -/* 8009F084 0009BFE4 D0 5D 00 08 */ stfs f2, 8(r29) -/* 8009F088 0009BFE8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8009F08C 0009BFEC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8009F090 0009BFF0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8009F094 0009BFF4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8009F098 0009BFF8 7C 08 03 A6 */ mtlr r0 -/* 8009F09C 0009BFFC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8009F0A0 0009C000 4E 80 00 20 */ blr - -.global ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f -ExactCircle3__FRC9CVector2fRC9CVector2fRC9CVector2f: -/* 8009F0A4 0009C004 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8009F0A8 0009C008 7C 08 02 A6 */ mflr r0 -/* 8009F0AC 0009C00C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8009F0B0 0009C010 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8009F0B4 0009C014 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8009F0B8 0009C018 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8009F0BC 0009C01C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8009F0C0 0009C020 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8009F0C4 0009C024 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8009F0C8 0009C028 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8009F0CC 0009C02C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 8009F0D0 0009C030 DB 61 00 60 */ stfd f27, 0x60(r1) -/* 8009F0D4 0009C034 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 8009F0D8 0009C038 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8009F0DC 0009C03C 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8009F0E0 0009C040 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8009F0E4 0009C044 7C 9E 23 78 */ mr r30, r4 -/* 8009F0E8 0009C048 7C 7D 1B 78 */ mr r29, r3 -/* 8009F0EC 0009C04C 7C A4 2B 78 */ mr r4, r5 -/* 8009F0F0 0009C050 7C DF 33 78 */ mr r31, r6 -/* 8009F0F4 0009C054 7F C5 F3 78 */ mr r5, r30 -/* 8009F0F8 0009C058 38 61 00 18 */ addi r3, r1, 0x18 -/* 8009F0FC 0009C05C 48 27 4E 3D */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8009F100 0009C060 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8009F104 0009C064 7F E4 FB 78 */ mr r4, r31 -/* 8009F108 0009C068 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8009F10C 0009C06C 7F C5 F3 78 */ mr r5, r30 -/* 8009F110 0009C070 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8009F114 0009C074 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009F118 0009C078 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8009F11C 0009C07C 48 27 4E 1D */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8009F120 0009C080 C3 C1 00 10 */ lfs f30, 0x10(r1) -/* 8009F124 0009C084 38 61 00 30 */ addi r3, r1, 0x30 -/* 8009F128 0009C088 C3 E1 00 14 */ lfs f31, 0x14(r1) -/* 8009F12C 0009C08C D3 C1 00 28 */ stfs f30, 0x28(r1) -/* 8009F130 0009C090 C3 A1 00 30 */ lfs f29, 0x30(r1) -/* 8009F134 0009C094 D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 8009F138 0009C098 C3 81 00 34 */ lfs f28, 0x34(r1) -/* 8009F13C 0009C09C 48 27 4F A1 */ bl MagSquared__9CVector2fCFv -/* 8009F140 0009C0A0 C0 02 8C 2C */ lfs f0, lbl_805AA94C@sda21(r2) -/* 8009F144 0009C0A4 38 61 00 28 */ addi r3, r1, 0x28 -/* 8009F148 0009C0A8 EF 60 00 72 */ fmuls f27, f0, f1 -/* 8009F14C 0009C0AC 48 27 4F 91 */ bl MagSquared__9CVector2fCFv -/* 8009F150 0009C0B0 EC 1C 07 B2 */ fmuls f0, f28, f30 -/* 8009F154 0009C0B4 C0 42 8C 2C */ lfs f2, lbl_805AA94C@sda21(r2) -/* 8009F158 0009C0B8 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 -/* 8009F15C 0009C0BC C0 8D A8 98 */ lfs f4, lbl_805A9458@sda21(r13) -/* 8009F160 0009C0C0 C0 63 00 04 */ lfs f3, 4(r3) -/* 8009F164 0009C0C4 EC A2 00 72 */ fmuls f5, f2, f1 -/* 8009F168 0009C0C8 EC DD 07 F8 */ fmsubs f6, f29, f31, f0 -/* 8009F16C 0009C0CC C0 42 8C 20 */ lfs f2, lbl_805AA940@sda21(r2) -/* 8009F170 0009C0D0 C0 02 8C 24 */ lfs f0, lbl_805AA944@sda21(r2) -/* 8009F174 0009C0D4 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 8009F178 0009C0D8 FC 20 32 10 */ fabs f1, f6 -/* 8009F17C 0009C0DC D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 8009F180 0009C0E0 FC 20 08 18 */ frsp f1, f1 -/* 8009F184 0009C0E4 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8009F188 0009C0E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009F18C 0009C0EC 40 81 00 64 */ ble lbl_8009F1F0 -/* 8009F190 0009C0F0 C0 42 8C 30 */ lfs f2, lbl_805AA950@sda21(r2) -/* 8009F194 0009C0F4 EC 3C 01 72 */ fmuls f1, f28, f5 -/* 8009F198 0009C0F8 EC 1E 06 F2 */ fmuls f0, f30, f27 -/* 8009F19C 0009C0FC D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8009F1A0 0009C100 EC 42 30 24 */ fdivs f2, f2, f6 -/* 8009F1A4 0009C104 7F C4 F3 78 */ mr r4, r30 -/* 8009F1A8 0009C108 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8009F1AC 0009C10C 38 61 00 08 */ addi r3, r1, 8 -/* 8009F1B0 0009C110 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8009F1B4 0009C114 EC 3F 0E F8 */ fmsubs f1, f31, f27, f1 -/* 8009F1B8 0009C118 EC 1D 01 78 */ fmsubs f0, f29, f5, f0 -/* 8009F1BC 0009C11C EC 22 00 72 */ fmuls f1, f2, f1 -/* 8009F1C0 0009C120 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8009F1C4 0009C124 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8009F1C8 0009C128 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8009F1CC 0009C12C 48 27 4D A5 */ bl __pl__FRC9CVector2fRC9CVector2f -/* 8009F1D0 0009C130 C0 21 00 08 */ lfs f1, 8(r1) -/* 8009F1D4 0009C134 38 61 00 20 */ addi r3, r1, 0x20 -/* 8009F1D8 0009C138 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8009F1DC 0009C13C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8009F1E0 0009C140 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8009F1E4 0009C144 48 27 4E F9 */ bl MagSquared__9CVector2fCFv -/* 8009F1E8 0009C148 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8009F1EC 0009C14C 48 00 00 14 */ b lbl_8009F200 -lbl_8009F1F0: -/* 8009F1F0 0009C150 C0 02 8C 28 */ lfs f0, lbl_805AA948@sda21(r2) -/* 8009F1F4 0009C154 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 8009F1F8 0009C158 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 8009F1FC 0009C15C D0 01 00 40 */ stfs f0, 0x40(r1) -lbl_8009F200: -/* 8009F200 0009C160 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8009F204 0009C164 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 8009F208 0009C168 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8009F20C 0009C16C C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8009F210 0009C170 D0 3D 00 04 */ stfs f1, 4(r29) -/* 8009F214 0009C174 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8009F218 0009C178 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8009F21C 0009C17C CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8009F220 0009C180 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8009F224 0009C184 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8009F228 0009C188 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8009F22C 0009C18C CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8009F230 0009C190 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 8009F234 0009C194 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 8009F238 0009C198 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 8009F23C 0009C19C CB 61 00 60 */ lfd f27, 0x60(r1) -/* 8009F240 0009C1A0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8009F244 0009C1A4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8009F248 0009C1A8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8009F24C 0009C1AC 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8009F250 0009C1B0 7C 08 03 A6 */ mtlr r0 -/* 8009F254 0009C1B4 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8009F258 0009C1B8 4E 80 00 20 */ blr - -.global ExactCircle2__FRC9CVector2fRC9CVector2f -ExactCircle2__FRC9CVector2fRC9CVector2f: -/* 8009F25C 0009C1BC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8009F260 0009C1C0 7C 08 02 A6 */ mflr r0 -/* 8009F264 0009C1C4 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 8009F268 0009C1C8 38 CD A8 98 */ addi r6, r13, lbl_805A9458@sda21 -/* 8009F26C 0009C1CC 90 01 00 54 */ stw r0, 0x54(r1) -/* 8009F270 0009C1D0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8009F274 0009C1D4 7C BF 2B 78 */ mr r31, r5 -/* 8009F278 0009C1D8 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8009F27C 0009C1DC 7C 9E 23 78 */ mr r30, r4 -/* 8009F280 0009C1E0 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8009F284 0009C1E4 7C 7D 1B 78 */ mr r29, r3 -/* 8009F288 0009C1E8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009F28C 0009C1EC C0 4D A8 98 */ lfs f2, lbl_805A9458@sda21(r13) -/* 8009F290 0009C1F0 C0 26 00 04 */ lfs f1, 4(r6) -/* 8009F294 0009C1F4 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8009F298 0009C1F8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8009F29C 0009C1FC D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8009F2A0 0009C200 48 27 4C D1 */ bl __pl__FRC9CVector2fRC9CVector2f -/* 8009F2A4 0009C204 38 61 00 18 */ addi r3, r1, 0x18 -/* 8009F2A8 0009C208 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8009F2AC 0009C20C 38 8D 86 08 */ addi r4, r13, lbl_805A71C8@sda21 -/* 8009F2B0 0009C210 48 27 4B F1 */ bl __ml__FRCfRC9CVector2f -/* 8009F2B4 0009C214 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8009F2B8 0009C218 7F E4 FB 78 */ mr r4, r31 -/* 8009F2BC 0009C21C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8009F2C0 0009C220 7F C5 F3 78 */ mr r5, r30 -/* 8009F2C4 0009C224 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8009F2C8 0009C228 38 61 00 08 */ addi r3, r1, 8 -/* 8009F2CC 0009C22C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8009F2D0 0009C230 48 27 4C 69 */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8009F2D4 0009C234 C0 21 00 08 */ lfs f1, 8(r1) -/* 8009F2D8 0009C238 38 61 00 20 */ addi r3, r1, 0x20 -/* 8009F2DC 0009C23C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8009F2E0 0009C240 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8009F2E4 0009C244 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8009F2E8 0009C248 48 27 4D F5 */ bl MagSquared__9CVector2fCFv -/* 8009F2EC 0009C24C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8009F2F0 0009C250 C0 42 8C 34 */ lfs f2, lbl_805AA954@sda21(r2) -/* 8009F2F4 0009C254 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8009F2F8 0009C258 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8009F2FC 0009C25C EC 22 00 72 */ fmuls f1, f2, f1 -/* 8009F300 0009C260 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8009F304 0009C264 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8009F308 0009C268 D0 3D 00 08 */ stfs f1, 8(r29) -/* 8009F30C 0009C26C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8009F310 0009C270 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8009F314 0009C274 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8009F318 0009C278 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8009F31C 0009C27C 7C 08 03 A6 */ mtlr r0 -/* 8009F320 0009C280 38 21 00 50 */ addi r1, r1, 0x50 -/* 8009F324 0009C284 4E 80 00 20 */ blr - -.global ExactCircle1__FRC9CVector2f -ExactCircle1__FRC9CVector2f: -/* 8009F328 0009C288 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009F32C 0009C28C 38 AD A8 98 */ addi r5, r13, lbl_805A9458@sda21 -/* 8009F330 0009C290 C0 42 8C 20 */ lfs f2, lbl_805AA940@sda21(r2) -/* 8009F334 0009C294 C0 8D A8 98 */ lfs f4, lbl_805A9458@sda21(r13) -/* 8009F338 0009C298 C0 65 00 04 */ lfs f3, 4(r5) -/* 8009F33C 0009C29C C0 24 00 00 */ lfs f1, 0(r4) -/* 8009F340 0009C2A0 C0 04 00 04 */ lfs f0, 4(r4) -/* 8009F344 0009C2A4 D0 81 00 08 */ stfs f4, 8(r1) -/* 8009F348 0009C2A8 D0 23 00 00 */ stfs f1, 0(r3) -/* 8009F34C 0009C2AC D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8009F350 0009C2B0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8009F354 0009C2B4 D0 03 00 04 */ stfs f0, 4(r3) -/* 8009F358 0009C2B8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8009F35C 0009C2BC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8009F360 0009C2C0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8009F364 0009C2C4 D0 43 00 08 */ stfs f2, 8(r3) -/* 8009F368 0009C2C8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009F36C 0009C2CC 4E 80 00 20 */ blr - -.global PointInsideCircle__FRC9CVector2fRC7Circle2Rf -PointInsideCircle__FRC9CVector2fRC7Circle2Rf: -/* 8009F370 0009C2D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009F374 0009C2D4 7C 08 02 A6 */ mflr r0 -/* 8009F378 0009C2D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009F37C 0009C2DC 7C 60 1B 78 */ mr r0, r3 -/* 8009F380 0009C2E0 38 61 00 08 */ addi r3, r1, 8 -/* 8009F384 0009C2E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009F388 0009C2E8 7C BF 2B 78 */ mr r31, r5 -/* 8009F38C 0009C2EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009F390 0009C2F0 7C 9E 23 78 */ mr r30, r4 -/* 8009F394 0009C2F4 7C 04 03 78 */ mr r4, r0 -/* 8009F398 0009C2F8 7F C5 F3 78 */ mr r5, r30 -/* 8009F39C 0009C2FC 48 27 4B 9D */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8009F3A0 0009C300 C0 21 00 08 */ lfs f1, 8(r1) -/* 8009F3A4 0009C304 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009F3A8 0009C308 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8009F3AC 0009C30C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8009F3B0 0009C310 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8009F3B4 0009C314 48 27 4D 29 */ bl MagSquared__9CVector2fCFv -/* 8009F3B8 0009C318 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8009F3BC 0009C31C C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 8009F3C0 0009C320 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8009F3C4 0009C324 D0 3F 00 00 */ stfs f1, 0(r31) -/* 8009F3C8 0009C328 C0 3F 00 00 */ lfs f1, 0(r31) -/* 8009F3CC 0009C32C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009F3D0 0009C330 4C 40 13 82 */ cror 2, 0, 2 -/* 8009F3D4 0009C334 7C 00 00 26 */ mfcr r0 -/* 8009F3D8 0009C338 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 8009F3DC 0009C33C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009F3E0 0009C340 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009F3E4 0009C344 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009F3E8 0009C348 7C 08 03 A6 */ mtlr r0 -/* 8009F3EC 0009C34C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009F3F0 0009C350 4E 80 00 20 */ blr - -.global FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 8009F3F4 0009C354 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8009F3F8 0009C358 7C 08 02 A6 */ mflr r0 -/* 8009F3FC 0009C35C 3C 80 80 3D */ lis r4, lbl_803CD960@ha -/* 8009F400 0009C360 90 01 00 24 */ stw r0, 0x24(r1) -/* 8009F404 0009C364 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l -/* 8009F408 0009C368 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8009F40C 0009C36C 7C BF 2B 78 */ mr r31, r5 -/* 8009F410 0009C370 38 A0 00 00 */ li r5, 0 -/* 8009F414 0009C374 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8009F418 0009C378 7C 7E 1B 78 */ mr r30, r3 -/* 8009F41C 0009C37C 38 60 00 44 */ li r3, 0x44 -/* 8009F420 0009C380 48 27 64 4D */ bl __nw__FUlPCcPCc -/* 8009F424 0009C384 7C 64 1B 79 */ or. r4, r3, r3 -/* 8009F428 0009C388 41 82 00 10 */ beq lbl_8009F438 -/* 8009F42C 0009C38C 7F E4 FB 78 */ mr r4, r31 -/* 8009F430 0009C390 48 00 21 85 */ bl __ct__9CMapWorldFR12CInputStream -/* 8009F434 0009C394 7C 64 1B 78 */ mr r4, r3 -lbl_8009F438: -/* 8009F438 0009C398 7C 04 00 D0 */ neg r0, r4 -/* 8009F43C 0009C39C 90 81 00 0C */ stw r4, 0xc(r1) -/* 8009F440 0009C3A0 7C 00 23 78 */ or r0, r0, r4 -/* 8009F444 0009C3A4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009F448 0009C3A8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8009F44C 0009C3AC 38 81 00 08 */ addi r4, r1, 8 -/* 8009F450 0009C3B0 98 01 00 08 */ stb r0, 8(r1) -/* 8009F454 0009C3B4 48 00 01 11 */ bl "GetIObjObjectFor__18TToken<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>" -/* 8009F458 0009C3B8 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8009F45C 0009C3BC 38 00 00 00 */ li r0, 0 -/* 8009F460 0009C3C0 98 01 00 10 */ stb r0, 0x10(r1) -/* 8009F464 0009C3C4 7C 03 00 D0 */ neg r0, r3 -/* 8009F468 0009C3C8 7C 00 1B 78 */ or r0, r0, r3 -/* 8009F46C 0009C3CC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8009F470 0009C3D0 98 1E 00 00 */ stb r0, 0(r30) -/* 8009F474 0009C3D4 90 7E 00 04 */ stw r3, 4(r30) -/* 8009F478 0009C3D8 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8009F47C 0009C3DC 28 00 00 00 */ cmplwi r0, 0 -/* 8009F480 0009C3E0 41 82 00 24 */ beq lbl_8009F4A4 -/* 8009F484 0009C3E4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8009F488 0009C3E8 28 03 00 00 */ cmplwi r3, 0 -/* 8009F48C 0009C3EC 41 82 00 18 */ beq lbl_8009F4A4 -/* 8009F490 0009C3F0 81 83 00 00 */ lwz r12, 0(r3) -/* 8009F494 0009C3F4 38 80 00 01 */ li r4, 1 -/* 8009F498 0009C3F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8009F49C 0009C3FC 7D 89 03 A6 */ mtctr r12 -/* 8009F4A0 0009C400 4E 80 04 21 */ bctrl -lbl_8009F4A4: -/* 8009F4A4 0009C404 88 01 00 08 */ lbz r0, 8(r1) -/* 8009F4A8 0009C408 28 00 00 00 */ cmplwi r0, 0 -/* 8009F4AC 0009C40C 41 82 00 10 */ beq lbl_8009F4BC -/* 8009F4B0 0009C410 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8009F4B4 0009C414 38 80 00 01 */ li r4, 1 -/* 8009F4B8 0009C418 48 00 1F 2D */ bl __dt__9CMapWorldFv -lbl_8009F4BC: -/* 8009F4BC 0009C41C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8009F4C0 0009C420 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8009F4C4 0009C424 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8009F4C8 0009C428 7C 08 03 A6 */ mtlr r0 -/* 8009F4CC 0009C42C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8009F4D0 0009C430 4E 80 00 20 */ blr - -.global "__dt__36TObjOwnerDerivedFromIObj<9CMapWorld>Fv" -"__dt__36TObjOwnerDerivedFromIObj<9CMapWorld>Fv": -/* 8009F4D4 0009C434 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009F4D8 0009C438 7C 08 02 A6 */ mflr r0 -/* 8009F4DC 0009C43C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009F4E0 0009C440 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009F4E4 0009C444 7C 9F 23 78 */ mr r31, r4 -/* 8009F4E8 0009C448 93 C1 00 08 */ stw r30, 8(r1) -/* 8009F4EC 0009C44C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8009F4F0 0009C450 41 82 00 58 */ beq lbl_8009F548 -/* 8009F4F4 0009C454 3C 60 80 3E */ lis r3, lbl_803DAF48@ha -/* 8009F4F8 0009C458 38 03 AF 48 */ addi r0, r3, lbl_803DAF48@l -/* 8009F4FC 0009C45C 90 1E 00 00 */ stw r0, 0(r30) -/* 8009F500 0009C460 80 7E 00 04 */ lwz r3, 4(r30) -/* 8009F504 0009C464 28 03 00 00 */ cmplwi r3, 0 -/* 8009F508 0009C468 41 82 00 0C */ beq lbl_8009F514 -/* 8009F50C 0009C46C 38 80 00 01 */ li r4, 1 -/* 8009F510 0009C470 48 00 1E D5 */ bl __dt__9CMapWorldFv -lbl_8009F514: -/* 8009F514 0009C474 28 1E 00 00 */ cmplwi r30, 0 -/* 8009F518 0009C478 41 82 00 20 */ beq lbl_8009F538 -/* 8009F51C 0009C47C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 8009F520 0009C480 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 8009F524 0009C484 90 1E 00 00 */ stw r0, 0(r30) -/* 8009F528 0009C488 41 82 00 10 */ beq lbl_8009F538 -/* 8009F52C 0009C48C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 8009F530 0009C490 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 8009F534 0009C494 90 1E 00 00 */ stw r0, 0(r30) -lbl_8009F538: -/* 8009F538 0009C498 7F E0 07 35 */ extsh. r0, r31 -/* 8009F53C 0009C49C 40 81 00 0C */ ble lbl_8009F548 -/* 8009F540 0009C4A0 7F C3 F3 78 */ mr r3, r30 -/* 8009F544 0009C4A4 48 27 63 ED */ bl Free__7CMemoryFPCv -lbl_8009F548: -/* 8009F548 0009C4A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009F54C 0009C4AC 7F C3 F3 78 */ mr r3, r30 -/* 8009F550 0009C4B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8009F554 0009C4B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8009F558 0009C4B8 7C 08 03 A6 */ mtlr r0 -/* 8009F55C 0009C4BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8009F560 0009C4C0 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__18TToken<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>" -"GetIObjObjectFor__18TToken<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>": -/* 8009F564 0009C4C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009F568 0009C4C8 7C 08 02 A6 */ mflr r0 -/* 8009F56C 0009C4CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009F570 0009C4D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009F574 0009C4D4 7C 7F 1B 78 */ mr r31, r3 -/* 8009F578 0009C4D8 48 00 00 19 */ bl "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>" -/* 8009F57C 0009C4DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009F580 0009C4E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8009F584 0009C4E4 7C 08 03 A6 */ mtlr r0 -/* 8009F588 0009C4E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8009F58C 0009C4EC 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>" -"GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CMapWorld>FRCQ24rstl20auto_ptr<9CMapWorld>": -/* 8009F590 0009C4F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8009F594 0009C4F4 7C 08 02 A6 */ mflr r0 -/* 8009F598 0009C4F8 3C A0 80 3D */ lis r5, lbl_803CD960@ha -/* 8009F59C 0009C4FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009F5A0 0009C500 38 05 D9 60 */ addi r0, r5, lbl_803CD960@l -/* 8009F5A4 0009C504 38 A0 00 00 */ li r5, 0 -/* 8009F5A8 0009C508 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8009F5AC 0009C50C 7C 9F 23 78 */ mr r31, r4 -/* 8009F5B0 0009C510 7C 04 03 78 */ mr r4, r0 -/* 8009F5B4 0009C514 93 C1 00 08 */ stw r30, 8(r1) -/* 8009F5B8 0009C518 7C 7E 1B 78 */ mr r30, r3 -/* 8009F5BC 0009C51C 38 60 00 08 */ li r3, 8 -/* 8009F5C0 0009C520 48 27 62 AD */ bl __nw__FUlPCcPCc -/* 8009F5C4 0009C524 28 03 00 00 */ cmplwi r3, 0 -/* 8009F5C8 0009C528 41 82 00 38 */ beq lbl_8009F600 -/* 8009F5CC 0009C52C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 8009F5D0 0009C530 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 8009F5D4 0009C534 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 8009F5D8 0009C538 3C 80 80 3E */ lis r4, lbl_803DAF48@ha -/* 8009F5DC 0009C53C 90 03 00 00 */ stw r0, 0(r3) -/* 8009F5E0 0009C540 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 8009F5E4 0009C544 38 A0 00 00 */ li r5, 0 -/* 8009F5E8 0009C548 38 04 AF 48 */ addi r0, r4, lbl_803DAF48@l -/* 8009F5EC 0009C54C 90 C3 00 00 */ stw r6, 0(r3) -/* 8009F5F0 0009C550 98 BF 00 00 */ stb r5, 0(r31) -/* 8009F5F4 0009C554 80 9F 00 04 */ lwz r4, 4(r31) -/* 8009F5F8 0009C558 90 83 00 04 */ stw r4, 4(r3) -/* 8009F5FC 0009C55C 90 03 00 00 */ stw r0, 0(r3) -lbl_8009F600: -/* 8009F600 0009C560 7C 03 00 D0 */ neg r0, r3 -/* 8009F604 0009C564 7C 00 1B 78 */ or r0, r0, r3 -/* 8009F608 0009C568 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8009F60C 0009C56C 98 1E 00 00 */ stb r0, 0(r30) -/* 8009F610 0009C570 90 7E 00 04 */ stw r3, 4(r30) -/* 8009F614 0009C574 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8009F618 0009C578 83 C1 00 08 */ lwz r30, 8(r1) -/* 8009F61C 0009C57C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8009F620 0009C580 7C 08 03 A6 */ mtlr r0 -/* 8009F624 0009C584 38 21 00 10 */ addi r1, r1, 0x10 -/* 8009F628 0009C588 4E 80 00 20 */ blr - -.global ClearTraversedFlags__9CMapWorldCFv -ClearTraversedFlags__9CMapWorldCFv: -/* 8009F62C 0009C58C 38 C0 00 00 */ li r6, 0 -/* 8009F630 0009C590 38 A0 00 00 */ li r5, 0 -/* 8009F634 0009C594 48 00 00 10 */ b lbl_8009F644 -lbl_8009F638: -/* 8009F638 0009C598 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 8009F63C 0009C59C 7C A4 31 AE */ stbx r5, r4, r6 -/* 8009F640 0009C5A0 38 C6 00 01 */ addi r6, r6, 1 -lbl_8009F644: -/* 8009F644 0009C5A4 80 03 00 24 */ lwz r0, 0x24(r3) -/* 8009F648 0009C5A8 7C 06 00 00 */ cmpw r6, r0 -/* 8009F64C 0009C5AC 41 80 FF EC */ blt lbl_8009F638 - -.global sub_8009f650 -sub_8009f650: -/* 8009F650 0009C5B0 4E 80 00 20 */ blr - -.global ConstrainToWorldVolume__9CMapWorldCFRC9CVector3fRC9CVector3f -ConstrainToWorldVolume__9CMapWorldCFRC9CVector3fRC9CVector3f: -/* 8009F654 0009C5B4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8009F658 0009C5B8 7C 08 02 A6 */ mflr r0 -/* 8009F65C 0009C5BC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8009F660 0009C5C0 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8009F664 0009C5C4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8009F668 0009C5C8 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8009F66C 0009C5CC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8009F670 0009C5D0 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8009F674 0009C5D4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8009F678 0009C5D8 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8009F67C 0009C5DC F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 8009F680 0009C5E0 DB 61 00 60 */ stfd f27, 0x60(r1) -/* 8009F684 0009C5E4 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 8009F688 0009C5E8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8009F68C 0009C5EC 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8009F690 0009C5F0 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8009F694 0009C5F4 C0 66 00 08 */ lfs f3, 8(r6) -/* 8009F698 0009C5F8 7C BF 2B 78 */ mr r31, r5 -/* 8009F69C 0009C5FC C0 02 8C 38 */ lfs f0, lbl_805AA958@sda21(r2) -/* 8009F6A0 0009C600 7C 7D 1B 78 */ mr r29, r3 -/* 8009F6A4 0009C604 FC 20 1A 10 */ fabs f1, f3 -/* 8009F6A8 0009C608 C3 E5 00 00 */ lfs f31, 0(r5) -/* 8009F6AC 0009C60C C3 C5 00 04 */ lfs f30, 4(r5) -/* 8009F6B0 0009C610 7C 9E 23 78 */ mr r30, r4 -/* 8009F6B4 0009C614 C3 A5 00 08 */ lfs f29, 8(r5) -/* 8009F6B8 0009C618 FC 20 08 18 */ frsp f1, f1 -/* 8009F6BC 0009C61C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009F6C0 0009C620 40 81 00 88 */ ble lbl_8009F748 -/* 8009F6C4 0009C624 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8009F6C8 0009C628 C0 9E 00 38 */ lfs f4, 0x38(r30) -/* 8009F6CC 0009C62C C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 8009F6D0 0009C630 EC 41 20 2A */ fadds f2, f1, f4 -/* 8009F6D4 0009C634 EC 24 08 28 */ fsubs f1, f4, f1 -/* 8009F6D8 0009C638 EC 5D 10 28 */ fsubs f2, f29, f2 -/* 8009F6DC 0009C63C EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8009F6E0 0009C640 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8009F6E4 0009C644 40 81 00 30 */ ble lbl_8009F714 -/* 8009F6E8 0009C648 FC 40 10 50 */ fneg f2, f2 -/* 8009F6EC 0009C64C C0 26 00 00 */ lfs f1, 0(r6) -/* 8009F6F0 0009C650 C0 06 00 04 */ lfs f0, 4(r6) -/* 8009F6F4 0009C654 EC 82 18 24 */ fdivs f4, f2, f3 -/* 8009F6F8 0009C658 EC 44 00 72 */ fmuls f2, f4, f1 -/* 8009F6FC 0009C65C EC 24 00 32 */ fmuls f1, f4, f0 -/* 8009F700 0009C660 EC 04 00 F2 */ fmuls f0, f4, f3 -/* 8009F704 0009C664 EF FF 10 2A */ fadds f31, f31, f2 -/* 8009F708 0009C668 EF DE 08 2A */ fadds f30, f30, f1 -/* 8009F70C 0009C66C EF BD 00 2A */ fadds f29, f29, f0 -/* 8009F710 0009C670 48 00 00 68 */ b lbl_8009F778 -lbl_8009F714: -/* 8009F714 0009C674 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009F718 0009C678 40 80 00 60 */ bge lbl_8009F778 -/* 8009F71C 0009C67C FC 40 08 50 */ fneg f2, f1 -/* 8009F720 0009C680 C0 26 00 00 */ lfs f1, 0(r6) -/* 8009F724 0009C684 C0 06 00 04 */ lfs f0, 4(r6) -/* 8009F728 0009C688 EC 82 18 24 */ fdivs f4, f2, f3 -/* 8009F72C 0009C68C EC 44 00 72 */ fmuls f2, f4, f1 -/* 8009F730 0009C690 EC 24 00 32 */ fmuls f1, f4, f0 -/* 8009F734 0009C694 EC 04 00 F2 */ fmuls f0, f4, f3 -/* 8009F738 0009C698 EF FF 10 2A */ fadds f31, f31, f2 -/* 8009F73C 0009C69C EF DE 08 2A */ fadds f30, f30, f1 -/* 8009F740 0009C6A0 EF BD 00 2A */ fadds f29, f29, f0 -/* 8009F744 0009C6A4 48 00 00 34 */ b lbl_8009F778 -lbl_8009F748: -/* 8009F748 0009C6A8 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 8009F74C 0009C6AC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8009F750 0009C6B0 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8009F754 0009C6B4 38 81 00 0C */ addi r4, r1, 0xc -/* 8009F758 0009C6B8 D3 A1 00 0C */ stfs f29, 0xc(r1) -/* 8009F75C 0009C6BC 38 A1 00 08 */ addi r5, r1, 8 -/* 8009F760 0009C6C0 EC 22 00 2A */ fadds f1, f2, f0 -/* 8009F764 0009C6C4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8009F768 0009C6C8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8009F76C 0009C6CC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8009F770 0009C6D0 4B F6 CB 45 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8009F774 0009C6D4 C3 A3 00 00 */ lfs f29, 0(r3) -lbl_8009F778: -/* 8009F778 0009C6D8 C3 9F 00 04 */ lfs f28, 4(r31) -/* 8009F77C 0009C6DC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8009F780 0009C6E0 C3 7F 00 00 */ lfs f27, 0(r31) -/* 8009F784 0009C6E4 C0 3E 00 30 */ lfs f1, 0x30(r30) -/* 8009F788 0009C6E8 C0 5E 00 34 */ lfs f2, 0x34(r30) -/* 8009F78C 0009C6EC 48 27 4A 75 */ bl __ct__9CVector2fFff -/* 8009F790 0009C6F0 FC 20 D8 90 */ fmr f1, f27 -/* 8009F794 0009C6F4 7C 7F 1B 78 */ mr r31, r3 -/* 8009F798 0009C6F8 FC 40 E0 90 */ fmr f2, f28 -/* 8009F79C 0009C6FC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8009F7A0 0009C700 48 27 4A 61 */ bl __ct__9CVector2fFff -/* 8009F7A4 0009C704 7C 64 1B 78 */ mr r4, r3 -/* 8009F7A8 0009C708 7F E5 FB 78 */ mr r5, r31 -/* 8009F7AC 0009C70C 38 61 00 34 */ addi r3, r1, 0x34 -/* 8009F7B0 0009C710 48 27 47 89 */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8009F7B4 0009C714 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 8009F7B8 0009C718 38 61 00 3C */ addi r3, r1, 0x3c -/* 8009F7BC 0009C71C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8009F7C0 0009C720 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8009F7C4 0009C724 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8009F7C8 0009C728 48 27 49 2D */ bl Magnitude__9CVector2fCFv -/* 8009F7CC 0009C72C C0 1E 00 3C */ lfs f0, 0x3c(r30) -/* 8009F7D0 0009C730 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8009F7D4 0009C734 40 81 00 38 */ ble lbl_8009F80C -/* 8009F7D8 0009C738 38 61 00 14 */ addi r3, r1, 0x14 -/* 8009F7DC 0009C73C 38 81 00 3C */ addi r4, r1, 0x3c -/* 8009F7E0 0009C740 48 27 48 A1 */ bl AsNormalized__9CVector2fCFv -/* 8009F7E4 0009C744 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009F7E8 0009C748 38 81 00 14 */ addi r4, r1, 0x14 -/* 8009F7EC 0009C74C 38 BE 00 3C */ addi r5, r30, 0x3c -/* 8009F7F0 0009C750 48 27 46 E5 */ bl __ml__FRC9CVector2fRCf -/* 8009F7F4 0009C754 C0 7E 00 30 */ lfs f3, 0x30(r30) -/* 8009F7F8 0009C758 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8009F7FC 0009C75C C0 3E 00 34 */ lfs f1, 0x34(r30) -/* 8009F800 0009C760 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8009F804 0009C764 EF E3 10 2A */ fadds f31, f3, f2 -/* 8009F808 0009C768 EF C1 00 2A */ fadds f30, f1, f0 -lbl_8009F80C: -/* 8009F80C 0009C76C D3 FD 00 00 */ stfs f31, 0(r29) -/* 8009F810 0009C770 D3 DD 00 04 */ stfs f30, 4(r29) -/* 8009F814 0009C774 D3 BD 00 08 */ stfs f29, 8(r29) -/* 8009F818 0009C778 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8009F81C 0009C77C CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8009F820 0009C780 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8009F824 0009C784 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8009F828 0009C788 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8009F82C 0009C78C CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8009F830 0009C790 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 8009F834 0009C794 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 8009F838 0009C798 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 8009F83C 0009C79C CB 61 00 60 */ lfd f27, 0x60(r1) -/* 8009F840 0009C7A0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8009F844 0009C7A4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8009F848 0009C7A8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8009F84C 0009C7AC 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8009F850 0009C7B0 7C 08 03 A6 */ mtlr r0 -/* 8009F854 0009C7B4 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8009F858 0009C7B8 4E 80 00 20 */ blr - -.global RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld -RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld: -/* 8009F85C 0009C7BC 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8009F860 0009C7C0 7C 08 02 A6 */ mflr r0 -/* 8009F864 0009C7C4 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8009F868 0009C7C8 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8009F86C 0009C7CC F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8009F870 0009C7D0 BF 41 00 C8 */ stmw r26, 0xc8(r1) -/* 8009F874 0009C7D4 7C 7C 1B 78 */ mr r28, r3 -/* 8009F878 0009C7D8 38 C0 00 00 */ li r6, 0 -/* 8009F87C 0009C7DC 80 03 00 04 */ lwz r0, 4(r3) -/* 8009F880 0009C7E0 7C 9D 23 78 */ mr r29, r4 -/* 8009F884 0009C7E4 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 8009F888 0009C7E8 7C BE 2B 78 */ mr r30, r5 -/* 8009F88C 0009C7EC 38 61 00 58 */ addi r3, r1, 0x58 -/* 8009F890 0009C7F0 54 04 18 38 */ slwi r4, r0, 3 -/* 8009F894 0009C7F4 90 C1 00 60 */ stw r6, 0x60(r1) -/* 8009F898 0009C7F8 90 C1 00 64 */ stw r6, 0x64(r1) -/* 8009F89C 0009C7FC 48 00 29 C9 */ bl "reserve__Q24rstl45vector<9CVector2f,Q24rstl17rmemory_allocator>Fi" -/* 8009F8A0 0009C800 C0 22 8C 28 */ lfs f1, lbl_805AA948@sda21(r2) -/* 8009F8A4 0009C804 3B E0 00 00 */ li r31, 0 -/* 8009F8A8 0009C808 C0 02 8C 3C */ lfs f0, lbl_805AA95C@sda21(r2) -/* 8009F8AC 0009C80C D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8009F8B0 0009C810 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8009F8B4 0009C814 48 00 01 A0 */ b lbl_8009FA54 -lbl_8009F8B8: -/* 8009F8B8 0009C818 7F 83 E3 78 */ mr r3, r28 -/* 8009F8BC 0009C81C 7F C4 F3 78 */ mr r4, r30 -/* 8009F8C0 0009C820 7F E5 FB 78 */ mr r5, r31 -/* 8009F8C4 0009C824 38 C0 00 01 */ li r6, 1 -/* 8009F8C8 0009C828 48 00 0F 65 */ bl IsMapAreaValid__9CMapWorldCFRC6IWorldib -/* 8009F8CC 0009C82C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009F8D0 0009C830 41 82 01 80 */ beq lbl_8009FA50 -/* 8009F8D4 0009C834 7F 83 E3 78 */ mr r3, r28 -/* 8009F8D8 0009C838 7F E4 FB 78 */ mr r4, r31 -/* 8009F8DC 0009C83C 48 00 1A DD */ bl GetMapArea__9CMapWorldCFi -/* 8009F8E0 0009C840 93 E1 00 20 */ stw r31, 0x20(r1) -/* 8009F8E4 0009C844 7C 7A 1B 78 */ mr r26, r3 -/* 8009F8E8 0009C848 7F A3 EB 78 */ mr r3, r29 -/* 8009F8EC 0009C84C 38 81 00 24 */ addi r4, r1, 0x24 -/* 8009F8F0 0009C850 93 E1 00 24 */ stw r31, 0x24(r1) -/* 8009F8F4 0009C854 93 E1 00 28 */ stw r31, 0x28(r1) -/* 8009F8F8 0009C858 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8009F8FC 0009C85C 48 0C 84 09 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId -/* 8009F900 0009C860 7C 7B 1B 78 */ mr r27, r3 -/* 8009F904 0009C864 7F A3 EB 78 */ mr r3, r29 -/* 8009F908 0009C868 38 81 00 2C */ addi r4, r1, 0x2c -/* 8009F90C 0009C86C 48 0C 8B 35 */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId -/* 8009F910 0009C870 7C 64 1B 78 */ mr r4, r3 -/* 8009F914 0009C874 7F 43 D3 78 */ mr r3, r26 -/* 8009F918 0009C878 7F 65 DB 78 */ mr r5, r27 -/* 8009F91C 0009C87C 4B FE 14 11 */ bl GetIsVisibleToAutoMapper__8CMapAreaCFbb -/* 8009F920 0009C880 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009F924 0009C884 41 82 01 2C */ beq lbl_8009FA50 -/* 8009F928 0009C888 7F 44 D3 78 */ mr r4, r26 -/* 8009F92C 0009C88C 7F C5 F3 78 */ mr r5, r30 -/* 8009F930 0009C890 7F E6 FB 78 */ mr r6, r31 -/* 8009F934 0009C894 38 61 00 98 */ addi r3, r1, 0x98 -/* 8009F938 0009C898 4B FE 0B 31 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 8009F93C 0009C89C 38 61 00 68 */ addi r3, r1, 0x68 -/* 8009F940 0009C8A0 38 9A 00 10 */ addi r4, r26, 0x10 -/* 8009F944 0009C8A4 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8009F948 0009C8A8 48 29 7F B5 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 8009F94C 0009C8AC C0 A1 00 68 */ lfs f5, 0x68(r1) -/* 8009F950 0009C8B0 3B 40 00 00 */ li r26, 0 -/* 8009F954 0009C8B4 C0 81 00 6C */ lfs f4, 0x6c(r1) -/* 8009F958 0009C8B8 C0 61 00 70 */ lfs f3, 0x70(r1) -/* 8009F95C 0009C8BC C0 41 00 74 */ lfs f2, 0x74(r1) -/* 8009F960 0009C8C0 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 8009F964 0009C8C4 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8009F968 0009C8C8 D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 8009F96C 0009C8CC D0 81 00 84 */ stfs f4, 0x84(r1) -/* 8009F970 0009C8D0 D0 61 00 88 */ stfs f3, 0x88(r1) -/* 8009F974 0009C8D4 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 8009F978 0009C8D8 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 8009F97C 0009C8DC D0 01 00 94 */ stfs f0, 0x94(r1) -lbl_8009F980: -/* 8009F980 0009C8E0 7F 45 D3 78 */ mr r5, r26 -/* 8009F984 0009C8E4 38 61 00 4C */ addi r3, r1, 0x4c -/* 8009F988 0009C8E8 38 81 00 80 */ addi r4, r1, 0x80 -/* 8009F98C 0009C8EC 48 29 7C 25 */ bl GetPoint__6CAABoxCFi -/* 8009F990 0009C8F0 C3 E1 00 54 */ lfs f31, 0x54(r1) -/* 8009F994 0009C8F4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8009F998 0009C8F8 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 8009F99C 0009C8FC C0 41 00 50 */ lfs f2, 0x50(r1) -/* 8009F9A0 0009C900 48 27 48 61 */ bl __ct__9CVector2fFff -/* 8009F9A4 0009C904 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8009F9A8 0009C908 80 A1 00 60 */ lwz r5, 0x60(r1) -/* 8009F9AC 0009C90C 7C 00 28 00 */ cmpw r0, r5 -/* 8009F9B0 0009C910 41 80 00 1C */ blt lbl_8009F9CC -/* 8009F9B4 0009C914 2C 05 00 00 */ cmpwi r5, 0 -/* 8009F9B8 0009C918 38 61 00 58 */ addi r3, r1, 0x58 -/* 8009F9BC 0009C91C 38 80 00 04 */ li r4, 4 -/* 8009F9C0 0009C920 41 82 00 08 */ beq lbl_8009F9C8 -/* 8009F9C4 0009C924 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8009F9C8: -/* 8009F9C8 0009C928 48 00 28 9D */ bl "reserve__Q24rstl45vector<9CVector2f,Q24rstl17rmemory_allocator>Fi" -lbl_8009F9CC: -/* 8009F9CC 0009C92C 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8009F9D0 0009C930 80 61 00 64 */ lwz r3, 0x64(r1) -/* 8009F9D4 0009C934 54 00 18 38 */ slwi r0, r0, 3 -/* 8009F9D8 0009C938 7C 63 02 15 */ add. r3, r3, r0 -/* 8009F9DC 0009C93C 41 82 00 14 */ beq lbl_8009F9F0 -/* 8009F9E0 0009C940 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8009F9E4 0009C944 D0 03 00 00 */ stfs f0, 0(r3) -/* 8009F9E8 0009C948 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8009F9EC 0009C94C D0 03 00 04 */ stfs f0, 4(r3) -lbl_8009F9F0: -/* 8009F9F0 0009C950 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8009F9F4 0009C954 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8009F9F8 0009C958 38 03 00 01 */ addi r0, r3, 1 -/* 8009F9FC 0009C95C D3 E1 00 1C */ stfs f31, 0x1c(r1) -/* 8009FA00 0009C960 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8009FA04 0009C964 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8009FA08 0009C968 40 80 00 0C */ bge lbl_8009FA14 -/* 8009FA0C 0009C96C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8009FA10 0009C970 48 00 00 08 */ b lbl_8009FA18 -lbl_8009FA14: -/* 8009FA14 0009C974 38 61 00 34 */ addi r3, r1, 0x34 -lbl_8009FA18: -/* 8009FA18 0009C978 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8009FA1C 0009C97C C0 23 00 00 */ lfs f1, 0(r3) -/* 8009FA20 0009C980 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8009FA24 0009C984 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8009FA28 0009C988 D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 8009FA2C 0009C98C 40 80 00 0C */ bge lbl_8009FA38 -/* 8009FA30 0009C990 38 61 00 18 */ addi r3, r1, 0x18 -/* 8009FA34 0009C994 48 00 00 08 */ b lbl_8009FA3C -lbl_8009FA38: -/* 8009FA38 0009C998 38 61 00 30 */ addi r3, r1, 0x30 -lbl_8009FA3C: -/* 8009FA3C 0009C99C C0 03 00 00 */ lfs f0, 0(r3) -/* 8009FA40 0009C9A0 3B 5A 00 01 */ addi r26, r26, 1 -/* 8009FA44 0009C9A4 2C 1A 00 08 */ cmpwi r26, 8 -/* 8009FA48 0009C9A8 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8009FA4C 0009C9AC 41 80 FF 34 */ blt lbl_8009F980 -lbl_8009FA50: -/* 8009FA50 0009C9B0 3B FF 00 01 */ addi r31, r31, 1 -lbl_8009FA54: -/* 8009FA54 0009C9B4 80 1C 00 04 */ lwz r0, 4(r28) -/* 8009FA58 0009C9B8 7C 1F 00 00 */ cmpw r31, r0 -/* 8009FA5C 0009C9BC 41 80 FE 5C */ blt lbl_8009F8B8 -/* 8009FA60 0009C9C0 80 81 00 5C */ lwz r4, 0x5c(r1) -/* 8009FA64 0009C9C4 38 61 00 40 */ addi r3, r1, 0x40 -/* 8009FA68 0009C9C8 80 A1 00 64 */ lwz r5, 0x64(r1) -/* 8009FA6C 0009C9CC 4B FF EC 69 */ bl MinCircle__FiPC9CVector2f -/* 8009FA70 0009C9D0 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8009FA74 0009C9D4 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 8009FA78 0009C9D8 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8009FA7C 0009C9DC D0 3C 00 3C */ stfs f1, 0x3c(r28) -/* 8009FA80 0009C9E0 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 8009FA84 0009C9E4 EC 22 00 2A */ fadds f1, f2, f0 -/* 8009FA88 0009C9E8 C0 62 8C 2C */ lfs f3, lbl_805AA94C@sda21(r2) -/* 8009FA8C 0009C9EC EC 02 00 28 */ fsubs f0, f2, f0 -/* 8009FA90 0009C9F0 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8009FA94 0009C9F4 80 61 00 64 */ lwz r3, 0x64(r1) -/* 8009FA98 0009C9F8 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8009FA9C 0009C9FC 54 00 18 38 */ slwi r0, r0, 3 -/* 8009FAA0 0009CA00 D0 9C 00 30 */ stfs f4, 0x30(r28) -/* 8009FAA4 0009CA04 7C 03 02 14 */ add r0, r3, r0 -/* 8009FAA8 0009CA08 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8009FAAC 0009CA0C EC 03 00 32 */ fmuls f0, f3, f0 -/* 8009FAB0 0009CA10 D0 5C 00 34 */ stfs f2, 0x34(r28) -/* 8009FAB4 0009CA14 7C 64 1B 78 */ mr r4, r3 -/* 8009FAB8 0009CA18 D0 3C 00 38 */ stfs f1, 0x38(r28) -/* 8009FABC 0009CA1C D0 1C 00 40 */ stfs f0, 0x40(r28) -/* 8009FAC0 0009CA20 90 01 00 14 */ stw r0, 0x14(r1) -/* 8009FAC4 0009CA24 90 01 00 10 */ stw r0, 0x10(r1) -/* 8009FAC8 0009CA28 90 61 00 0C */ stw r3, 0xc(r1) -/* 8009FACC 0009CA2C 90 61 00 08 */ stw r3, 8(r1) -/* 8009FAD0 0009CA30 48 00 00 08 */ b lbl_8009FAD8 -lbl_8009FAD4: -/* 8009FAD4 0009CA34 38 84 00 08 */ addi r4, r4, 8 -lbl_8009FAD8: -/* 8009FAD8 0009CA38 7C 04 00 40 */ cmplw r4, r0 -/* 8009FADC 0009CA3C 40 82 FF F8 */ bne lbl_8009FAD4 -/* 8009FAE0 0009CA40 28 03 00 00 */ cmplwi r3, 0 -/* 8009FAE4 0009CA44 41 82 00 08 */ beq lbl_8009FAEC -/* 8009FAE8 0009CA48 48 27 5E 49 */ bl Free__7CMemoryFPCv -lbl_8009FAEC: -/* 8009FAEC 0009CA4C E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8009FAF0 0009CA50 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 8009FAF4 0009CA54 BB 41 00 C8 */ lmw r26, 0xc8(r1) -/* 8009FAF8 0009CA58 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8009FAFC 0009CA5C 7C 08 03 A6 */ mtlr r0 -/* 8009FB00 0009CA60 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8009FB04 0009CA64 4E 80 00 20 */ blr - -.global "DrawAreas__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiRCQ24rstl64vectorb" -"DrawAreas__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiRCQ24rstl64vectorb": -/* 8009FB08 0009CA68 94 21 FA 30 */ stwu r1, -0x5d0(r1) -/* 8009FB0C 0009CA6C 7C 08 02 A6 */ mflr r0 -/* 8009FB10 0009CA70 90 01 05 D4 */ stw r0, 0x5d4(r1) -/* 8009FB14 0009CA74 DB E1 05 C0 */ stfd f31, 0x5c0(r1) -/* 8009FB18 0009CA78 F3 E1 05 C8 */ psq_st f31, 1480(r1), 0, qr0 -/* 8009FB1C 0009CA7C DB C1 05 B0 */ stfd f30, 0x5b0(r1) -/* 8009FB20 0009CA80 F3 C1 05 B8 */ psq_st f30, 1464(r1), 0, qr0 -/* 8009FB24 0009CA84 DB A1 05 A0 */ stfd f29, 0x5a0(r1) -/* 8009FB28 0009CA88 F3 A1 05 A8 */ psq_st f29, 1448(r1), 0, qr0 -/* 8009FB2C 0009CA8C DB 81 05 90 */ stfd f28, 0x590(r1) -/* 8009FB30 0009CA90 F3 81 05 98 */ psq_st f28, 1432(r1), 0, qr0 -/* 8009FB34 0009CA94 DB 61 05 80 */ stfd f27, 0x580(r1) -/* 8009FB38 0009CA98 F3 61 05 88 */ psq_st f27, 1416(r1), 0, qr0 -/* 8009FB3C 0009CA9C DB 41 05 70 */ stfd f26, 0x570(r1) -/* 8009FB40 0009CAA0 F3 41 05 78 */ psq_st f26, 1400(r1), 0, qr0 -/* 8009FB44 0009CAA4 DB 21 05 60 */ stfd f25, 0x560(r1) -/* 8009FB48 0009CAA8 F3 21 05 68 */ psq_st f25, 1384(r1), 0, qr0 -/* 8009FB4C 0009CAAC DB 01 05 50 */ stfd f24, 0x550(r1) -/* 8009FB50 0009CAB0 F3 01 05 58 */ psq_st f24, 1368(r1), 0, qr0 -/* 8009FB54 0009CAB4 DA E1 05 40 */ stfd f23, 0x540(r1) -/* 8009FB58 0009CAB8 F2 E1 05 48 */ psq_st f23, 1352(r1), 0, qr0 -/* 8009FB5C 0009CABC BD C1 04 F8 */ stmw r14, 0x4f8(r1) -/* 8009FB60 0009CAC0 7C 7C 1B 78 */ mr r28, r3 -/* 8009FB64 0009CAC4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8009FB68 0009CAC8 7C 9F 23 78 */ mr r31, r4 -/* 8009FB6C 0009CACC 7C BD 2B 78 */ mr r29, r5 -/* 8009FB70 0009CAD0 81 83 00 00 */ lwz r12, 0(r3) -/* 8009FB74 0009CAD4 7C DB 33 78 */ mr r27, r6 -/* 8009FB78 0009CAD8 7C EF 3B 78 */ mr r15, r7 -/* 8009FB7C 0009CADC 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8009FB80 0009CAE0 7D 89 03 A6 */ mtctr r12 -/* 8009FB84 0009CAE4 4E 80 04 21 */ bctrl -/* 8009FB88 0009CAE8 C0 22 8C 30 */ lfs f1, lbl_805AA950@sda21(r2) -/* 8009FB8C 0009CAEC 38 60 00 05 */ li r3, 5 -/* 8009FB90 0009CAF0 48 26 B8 49 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset -/* 8009FB94 0009CAF4 3A 20 00 00 */ li r17, 0 -/* 8009FB98 0009CAF8 39 C0 00 00 */ li r14, 0 -/* 8009FB9C 0009CAFC 92 21 01 38 */ stw r17, 0x138(r1) -/* 8009FBA0 0009CB00 3A 00 00 00 */ li r16, 0 -/* 8009FBA4 0009CB04 3A 40 00 00 */ li r18, 0 -/* 8009FBA8 0009CB08 92 21 01 3C */ stw r17, 0x13c(r1) -/* 8009FBAC 0009CB0C 92 21 01 40 */ stw r17, 0x140(r1) -/* 8009FBB0 0009CB10 48 00 00 2C */ b lbl_8009FBDC -lbl_8009FBB4: -/* 8009FBB4 0009CB14 80 9B 00 0C */ lwz r4, 0xc(r27) -/* 8009FBB8 0009CB18 7F 83 E3 78 */ mr r3, r28 -/* 8009FBBC 0009CB1C 7C 84 88 2E */ lwzx r4, r4, r17 -/* 8009FBC0 0009CB20 48 00 17 F9 */ bl GetMapArea__9CMapWorldCFi -/* 8009FBC4 0009CB24 80 83 00 30 */ lwz r4, 0x30(r3) -/* 8009FBC8 0009CB28 3A 31 00 10 */ addi r17, r17, 0x10 -/* 8009FBCC 0009CB2C 80 03 00 28 */ lwz r0, 0x28(r3) -/* 8009FBD0 0009CB30 3A 52 00 01 */ addi r18, r18, 1 -/* 8009FBD4 0009CB34 7D CE 22 14 */ add r14, r14, r4 -/* 8009FBD8 0009CB38 7E 10 02 14 */ add r16, r16, r0 -lbl_8009FBDC: -/* 8009FBDC 0009CB3C 80 1B 00 04 */ lwz r0, 4(r27) -/* 8009FBE0 0009CB40 7C 12 00 00 */ cmpw r18, r0 -/* 8009FBE4 0009CB44 41 80 FF D0 */ blt lbl_8009FBB4 -/* 8009FBE8 0009CB48 88 BF 00 38 */ lbz r5, 0x38(r31) -/* 8009FBEC 0009CB4C 1C 10 00 06 */ mulli r0, r16, 6 -/* 8009FBF0 0009CB50 38 61 01 34 */ addi r3, r1, 0x134 -/* 8009FBF4 0009CB54 7C 85 00 D0 */ neg r4, r5 -/* 8009FBF8 0009CB58 7C 84 2B 78 */ or r4, r4, r5 -/* 8009FBFC 0009CB5C 7C 84 FE 70 */ srawi r4, r4, 0x1f -/* 8009FC00 0009CB60 7C 00 20 38 */ and r0, r0, r4 -/* 8009FC04 0009CB64 7C 90 02 14 */ add r4, r16, r0 -/* 8009FC08 0009CB68 7C 8E 22 14 */ add r4, r14, r4 -/* 8009FC0C 0009CB6C 48 00 25 49 */ bl "reserve__Q24rstl67vectorFi" -/* 8009FC10 0009CB70 81 DF 00 18 */ lwz r14, 0x18(r31) -/* 8009FC14 0009CB74 3B 20 00 00 */ li r25, 0 -/* 8009FC18 0009CB78 83 DF 00 28 */ lwz r30, 0x28(r31) -/* 8009FC1C 0009CB7C 3A E0 00 00 */ li r23, 0 -/* 8009FC20 0009CB80 82 6E 08 CC */ lwz r19, 0x8cc(r14) -/* 8009FC24 0009CB84 48 00 07 2C */ b lbl_800A0350 -lbl_8009FC28: -/* 8009FC28 0009CB88 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 8009FC2C 0009CB8C 7F 83 E3 78 */ mr r3, r28 -/* 8009FC30 0009CB90 7E 20 BA 14 */ add r17, r0, r23 -/* 8009FC34 0009CB94 83 51 00 00 */ lwz r26, 0(r17) -/* 8009FC38 0009CB98 7F 44 D3 78 */ mr r4, r26 -/* 8009FC3C 0009CB9C 48 00 17 7D */ bl GetMapArea__9CMapWorldCFi -/* 8009FC40 0009CBA0 93 41 00 90 */ stw r26, 0x90(r1) -/* 8009FC44 0009CBA4 7C 78 1B 78 */ mr r24, r3 -/* 8009FC48 0009CBA8 7F C3 F3 78 */ mr r3, r30 -/* 8009FC4C 0009CBAC 38 81 00 94 */ addi r4, r1, 0x94 -/* 8009FC50 0009CBB0 93 41 00 94 */ stw r26, 0x94(r1) -/* 8009FC54 0009CBB4 93 41 00 98 */ stw r26, 0x98(r1) -/* 8009FC58 0009CBB8 93 41 00 9C */ stw r26, 0x9c(r1) -/* 8009FC5C 0009CBBC 48 0C 80 A9 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId -/* 8009FC60 0009CBC0 7C 70 1B 78 */ mr r16, r3 -/* 8009FC64 0009CBC4 7F C3 F3 78 */ mr r3, r30 -/* 8009FC68 0009CBC8 38 81 00 9C */ addi r4, r1, 0x9c -/* 8009FC6C 0009CBCC 48 0C 87 D5 */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId -/* 8009FC70 0009CBD0 7C 64 1B 78 */ mr r4, r3 -/* 8009FC74 0009CBD4 7F 03 C3 78 */ mr r3, r24 -/* 8009FC78 0009CBD8 7E 05 83 78 */ mr r5, r16 -/* 8009FC7C 0009CBDC 4B FE 10 B1 */ bl GetIsVisibleToAutoMapper__8CMapAreaCFbb -/* 8009FC80 0009CBE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009FC84 0009CBE4 41 82 06 C4 */ beq lbl_800A0348 -/* 8009FC88 0009CBE8 C3 71 00 08 */ lfs f27, 8(r17) -/* 8009FC8C 0009CBEC C3 91 00 0C */ lfs f28, 0xc(r17) -/* 8009FC90 0009CBF0 FC 20 D8 90 */ fmr f1, f27 -/* 8009FC94 0009CBF4 C3 1F 00 00 */ lfs f24, 0(r31) -/* 8009FC98 0009CBF8 C2 FF 00 04 */ lfs f23, 4(r31) -/* 8009FC9C 0009CBFC C3 BF 00 08 */ lfs f29, 8(r31) -/* 8009FCA0 0009CC00 C3 5F 00 0C */ lfs f26, 0xc(r31) -/* 8009FCA4 0009CC04 82 1F 00 20 */ lwz r16, 0x20(r31) -/* 8009FCA8 0009CC08 48 27 55 F5 */ bl FloorF__5CMathFf -/* 8009FCAC 0009CC0C C3 22 8C 30 */ lfs f25, lbl_805AA950@sda21(r2) -/* 8009FCB0 0009CC10 EC 1B 08 28 */ fsubs f0, f27, f1 -/* 8009FCB4 0009CC14 FC 1B C8 40 */ fcmpo cr0, f27, f25 -/* 8009FCB8 0009CC18 4C 41 13 82 */ cror 2, 1, 2 -/* 8009FCBC 0009CC1C 40 82 00 08 */ bne lbl_8009FCC4 -/* 8009FCC0 0009CC20 48 00 00 18 */ b lbl_8009FCD8 -lbl_8009FCC4: -/* 8009FCC4 0009CC24 C3 22 8C 20 */ lfs f25, lbl_805AA940@sda21(r2) -/* 8009FCC8 0009CC28 FC 1B C8 40 */ fcmpo cr0, f27, f25 -/* 8009FCCC 0009CC2C 4C 41 13 82 */ cror 2, 1, 2 -/* 8009FCD0 0009CC30 40 82 00 08 */ bne lbl_8009FCD8 -/* 8009FCD4 0009CC34 FF 20 00 90 */ fmr f25, f0 -lbl_8009FCD8: -/* 8009FCD8 0009CC38 FC 20 E0 90 */ fmr f1, f28 -/* 8009FCDC 0009CC3C 48 27 55 C1 */ bl FloorF__5CMathFf -/* 8009FCE0 0009CC40 C3 62 8C 30 */ lfs f27, lbl_805AA950@sda21(r2) -/* 8009FCE4 0009CC44 EC 1C 08 28 */ fsubs f0, f28, f1 -/* 8009FCE8 0009CC48 FC 1C D8 40 */ fcmpo cr0, f28, f27 -/* 8009FCEC 0009CC4C 4C 41 13 82 */ cror 2, 1, 2 -/* 8009FCF0 0009CC50 40 82 00 08 */ bne lbl_8009FCF8 -/* 8009FCF4 0009CC54 48 00 00 18 */ b lbl_8009FD0C -lbl_8009FCF8: -/* 8009FCF8 0009CC58 C3 62 8C 20 */ lfs f27, lbl_805AA940@sda21(r2) -/* 8009FCFC 0009CC5C FC 1C D8 40 */ fcmpo cr0, f28, f27 -/* 8009FD00 0009CC60 4C 41 13 82 */ cror 2, 1, 2 -/* 8009FD04 0009CC64 40 82 00 08 */ bne lbl_8009FD0C -/* 8009FD08 0009CC68 FF 60 00 90 */ fmr f27, f0 -lbl_8009FD0C: -/* 8009FD0C 0009CC6C 93 41 00 88 */ stw r26, 0x88(r1) -/* 8009FD10 0009CC70 7F C3 F3 78 */ mr r3, r30 -/* 8009FD14 0009CC74 38 81 00 8C */ addi r4, r1, 0x8c -/* 8009FD18 0009CC78 93 41 00 8C */ stw r26, 0x8c(r1) -/* 8009FD1C 0009CC7C 48 0C 80 65 */ bl IsAreaVisited__13CMapWorldInfoCF7TAreaId -/* 8009FD20 0009CC80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009FD24 0009CC84 41 82 00 08 */ beq lbl_8009FD2C -/* 8009FD28 0009CC88 48 00 00 08 */ b lbl_8009FD30 -lbl_8009FD2C: -/* 8009FD2C 0009CC8C FF 00 E8 90 */ fmr f24, f29 -lbl_8009FD30: -/* 8009FD30 0009CC90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009FD34 0009CC94 41 82 00 08 */ beq lbl_8009FD3C -/* 8009FD38 0009CC98 48 00 00 08 */ b lbl_8009FD40 -lbl_8009FD3C: -/* 8009FD3C 0009CC9C FE E0 D0 90 */ fmr f23, f26 -lbl_8009FD40: -/* 8009FD40 0009CCA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009FD44 0009CCA4 41 82 00 10 */ beq lbl_8009FD54 -/* 8009FD48 0009CCA8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009FD4C 0009CCAC 38 84 00 3C */ addi r4, r4, 0x3c -/* 8009FD50 0009CCB0 48 00 00 0C */ b lbl_8009FD5C -lbl_8009FD54: -/* 8009FD54 0009CCB4 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009FD58 0009CCB8 38 84 00 44 */ addi r4, r4, 0x44 -lbl_8009FD5C: -/* 8009FD5C 0009CCBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009FD60 0009CCC0 82 24 00 00 */ lwz r17, 0(r4) -/* 8009FD64 0009CCC4 41 82 00 10 */ beq lbl_8009FD74 -/* 8009FD68 0009CCC8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009FD6C 0009CCCC 38 84 00 40 */ addi r4, r4, 0x40 -/* 8009FD70 0009CCD0 48 00 00 0C */ b lbl_8009FD7C -lbl_8009FD74: -/* 8009FD74 0009CCD4 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009FD78 0009CCD8 38 84 00 48 */ addi r4, r4, 0x48 -lbl_8009FD7C: -/* 8009FD7C 0009CCDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009FD80 0009CCE0 82 44 00 00 */ lwz r18, 0(r4) -/* 8009FD84 0009CCE4 41 82 00 10 */ beq lbl_8009FD94 -/* 8009FD88 0009CCE8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009FD8C 0009CCEC 38 84 00 4C */ addi r4, r4, 0x4c -/* 8009FD90 0009CCF0 48 00 00 0C */ b lbl_8009FD9C -lbl_8009FD94: -/* 8009FD94 0009CCF4 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 8009FD98 0009CCF8 38 84 00 7C */ addi r4, r4, 0x7c -lbl_8009FD9C: -/* 8009FD9C 0009CCFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8009FDA0 0009CD00 80 64 00 00 */ lwz r3, 0(r4) -/* 8009FDA4 0009CD04 90 61 00 B8 */ stw r3, 0xb8(r1) -/* 8009FDA8 0009CD08 41 82 00 10 */ beq lbl_8009FDB8 -/* 8009FDAC 0009CD0C 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 8009FDB0 0009CD10 38 63 00 50 */ addi r3, r3, 0x50 -/* 8009FDB4 0009CD14 48 00 00 0C */ b lbl_8009FDC0 -lbl_8009FDB8: -/* 8009FDB8 0009CD18 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 8009FDBC 0009CD1C 38 63 00 80 */ addi r3, r3, 0x80 -lbl_8009FDC0: -/* 8009FDC0 0009CD20 80 83 00 00 */ lwz r4, 0(r3) -/* 8009FDC4 0009CD24 38 C0 00 FF */ li r6, 0xff -/* 8009FDC8 0009CD28 38 00 00 00 */ li r0, 0 -/* 8009FDCC 0009CD2C C0 3F 00 30 */ lfs f1, 0x30(r31) -/* 8009FDD0 0009CD30 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 8009FDD4 0009CD34 38 61 00 84 */ addi r3, r1, 0x84 -/* 8009FDD8 0009CD38 38 81 00 80 */ addi r4, r1, 0x80 -/* 8009FDDC 0009CD3C 38 A1 00 7C */ addi r5, r1, 0x7c -/* 8009FDE0 0009CD40 98 C1 00 7C */ stb r6, 0x7c(r1) -/* 8009FDE4 0009CD44 98 C1 00 7D */ stb r6, 0x7d(r1) -/* 8009FDE8 0009CD48 98 C1 00 7E */ stb r6, 0x7e(r1) -/* 8009FDEC 0009CD4C 98 01 00 7F */ stb r0, 0x7f(r1) -/* 8009FDF0 0009CD50 90 01 00 80 */ stw r0, 0x80(r1) -/* 8009FDF4 0009CD54 48 2C 34 B9 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8009FDF8 0009CD58 7C 1A E8 50 */ subf r0, r26, r29 -/* 8009FDFC 0009CD5C 80 81 00 84 */ lwz r4, 0x84(r1) -/* 8009FE00 0009CD60 7C 03 00 34 */ cntlzw r3, r0 -/* 8009FE04 0009CD64 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 8009FE08 0009CD68 90 81 00 B0 */ stw r4, 0xb0(r1) -/* 8009FE0C 0009CD6C 54 60 D9 7E */ srwi r0, r3, 5 -/* 8009FE10 0009CD70 41 82 00 08 */ beq lbl_8009FE18 -/* 8009FE14 0009CD74 7D E0 7B 78 */ mr r0, r15 -lbl_8009FE18: -/* 8009FE18 0009CD78 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8009FE1C 0009CD7C 41 82 00 1C */ beq lbl_8009FE38 -/* 8009FE20 0009CD80 38 61 00 78 */ addi r3, r1, 0x78 -/* 8009FE24 0009CD84 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 8009FE28 0009CD88 38 A1 00 B0 */ addi r5, r1, 0xb0 -/* 8009FE2C 0009CD8C 48 2C 32 85 */ bl Add__6CColorFRC6CColorRC6CColor -/* 8009FE30 0009CD90 38 61 00 78 */ addi r3, r1, 0x78 -/* 8009FE34 0009CD94 48 00 00 24 */ b lbl_8009FE58 -lbl_8009FE38: -/* 8009FE38 0009CD98 EC 19 06 32 */ fmuls f0, f25, f24 -/* 8009FE3C 0009CD9C C0 22 8C 40 */ lfs f1, lbl_805AA960@sda21(r2) -/* 8009FE40 0009CDA0 EF E1 00 32 */ fmuls f31, f1, f0 -/* 8009FE44 0009CDA4 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 8009FE48 0009CDA8 38 61 00 74 */ addi r3, r1, 0x74 -/* 8009FE4C 0009CDAC 88 01 00 09 */ lbz r0, 9(r1) -/* 8009FE50 0009CDB0 52 20 00 2E */ rlwimi r0, r17, 0, 0, 0x17 -/* 8009FE54 0009CDB4 90 01 00 74 */ stw r0, 0x74(r1) -lbl_8009FE58: -/* 8009FE58 0009CDB8 7C 1A E8 50 */ subf r0, r26, r29 -/* 8009FE5C 0009CDBC 80 83 00 00 */ lwz r4, 0(r3) -/* 8009FE60 0009CDC0 7C 03 00 34 */ cntlzw r3, r0 -/* 8009FE64 0009CDC4 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 8009FE68 0009CDC8 90 81 00 AC */ stw r4, 0xac(r1) -/* 8009FE6C 0009CDCC 54 60 D9 7E */ srwi r0, r3, 5 -/* 8009FE70 0009CDD0 41 82 00 08 */ beq lbl_8009FE78 -/* 8009FE74 0009CDD4 7D E0 7B 78 */ mr r0, r15 -lbl_8009FE78: -/* 8009FE78 0009CDD8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8009FE7C 0009CDDC 41 82 00 1C */ beq lbl_8009FE98 -/* 8009FE80 0009CDE0 38 61 00 70 */ addi r3, r1, 0x70 -/* 8009FE84 0009CDE4 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 8009FE88 0009CDE8 38 A1 00 B0 */ addi r5, r1, 0xb0 -/* 8009FE8C 0009CDEC 48 2C 32 25 */ bl Add__6CColorFRC6CColorRC6CColor -/* 8009FE90 0009CDF0 38 61 00 70 */ addi r3, r1, 0x70 -/* 8009FE94 0009CDF4 48 00 00 24 */ b lbl_8009FEB8 -lbl_8009FE98: -/* 8009FE98 0009CDF8 EC 1B 05 F2 */ fmuls f0, f27, f23 -/* 8009FE9C 0009CDFC C0 22 8C 40 */ lfs f1, lbl_805AA960@sda21(r2) -/* 8009FEA0 0009CE00 EF C1 00 32 */ fmuls f30, f1, f0 -/* 8009FEA4 0009CE04 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 8009FEA8 0009CE08 38 61 00 6C */ addi r3, r1, 0x6c -/* 8009FEAC 0009CE0C 88 01 00 08 */ lbz r0, 8(r1) -/* 8009FEB0 0009CE10 52 40 00 2E */ rlwimi r0, r18, 0, 0, 0x17 -/* 8009FEB4 0009CE14 90 01 00 6C */ stw r0, 0x6c(r1) -lbl_8009FEB8: -/* 8009FEB8 0009CE18 80 03 00 00 */ lwz r0, 0(r3) -/* 8009FEBC 0009CE1C 7C 1D 98 00 */ cmpw r29, r19 -/* 8009FEC0 0009CE20 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8009FEC4 0009CE24 40 82 00 14 */ bne lbl_8009FED8 -/* 8009FEC8 0009CE28 C0 22 8C 20 */ lfs f1, lbl_805AA940@sda21(r2) -/* 8009FECC 0009CE2C C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 8009FED0 0009CE30 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8009FED4 0009CE34 40 82 00 60 */ bne lbl_8009FF34 -lbl_8009FED8: -/* 8009FED8 0009CE38 7C 13 D0 00 */ cmpw r19, r26 -/* 8009FEDC 0009CE3C 40 82 00 58 */ bne lbl_8009FF34 -/* 8009FEE0 0009CE40 80 6E 08 50 */ lwz r3, 0x850(r14) -/* 8009FEE4 0009CE44 4B FB 77 B9 */ bl GetMapWorld__6CWorldCFv -/* 8009FEE8 0009CE48 7C 1C 18 40 */ cmplw r28, r3 -/* 8009FEEC 0009CE4C 40 82 00 48 */ bne lbl_8009FF34 -/* 8009FEF0 0009CE50 C2 FF 00 2C */ lfs f23, 0x2c(r31) -/* 8009FEF4 0009CE54 38 61 00 68 */ addi r3, r1, 0x68 -/* 8009FEF8 0009CE58 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) -/* 8009FEFC 0009CE5C 38 81 00 AC */ addi r4, r1, 0xac -/* 8009FF00 0009CE60 FC 20 B8 90 */ fmr f1, f23 -/* 8009FF04 0009CE64 3A 25 00 F4 */ addi r17, r5, 0xf4 -/* 8009FF08 0009CE68 7E 25 8B 78 */ mr r5, r17 -/* 8009FF0C 0009CE6C 48 2C 33 A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8009FF10 0009CE70 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8009FF14 0009CE74 FC 20 B8 90 */ fmr f1, f23 -/* 8009FF18 0009CE78 7E 25 8B 78 */ mr r5, r17 -/* 8009FF1C 0009CE7C 38 61 00 64 */ addi r3, r1, 0x64 -/* 8009FF20 0009CE80 90 01 00 AC */ stw r0, 0xac(r1) -/* 8009FF24 0009CE84 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 8009FF28 0009CE88 48 2C 33 85 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8009FF2C 0009CE8C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8009FF30 0009CE90 90 01 00 A8 */ stw r0, 0xa8(r1) -lbl_8009FF34: -/* 8009FF34 0009CE94 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 8009FF38 0009CE98 7F 04 C3 78 */ mr r4, r24 -/* 8009FF3C 0009CE9C 7F 46 D3 78 */ mr r6, r26 -/* 8009FF40 0009CEA0 38 61 03 FC */ addi r3, r1, 0x3fc -/* 8009FF44 0009CEA4 4B FE 05 25 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 8009FF48 0009CEA8 7E 04 83 78 */ mr r4, r16 -/* 8009FF4C 0009CEAC 38 61 04 2C */ addi r3, r1, 0x42c -/* 8009FF50 0009CEB0 48 27 2D 4D */ bl GetQuickInverse__12CTransform4fCFv -/* 8009FF54 0009CEB4 38 61 04 5C */ addi r3, r1, 0x45c -/* 8009FF58 0009CEB8 38 81 04 2C */ addi r4, r1, 0x42c -/* 8009FF5C 0009CEBC 38 A1 03 FC */ addi r5, r1, 0x3fc -/* 8009FF60 0009CEC0 48 27 29 F1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8009FF64 0009CEC4 38 61 04 BC */ addi r3, r1, 0x4bc -/* 8009FF68 0009CEC8 38 81 04 5C */ addi r4, r1, 0x45c -/* 8009FF6C 0009CECC 48 27 2C 09 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8009FF70 0009CED0 82 18 00 30 */ lwz r16, 0x30(r24) -/* 8009FF74 0009CED4 3A 40 00 00 */ li r18, 0 -/* 8009FF78 0009CED8 3A 20 00 00 */ li r17, 0 -/* 8009FF7C 0009CEDC 48 00 00 DC */ b lbl_800A0058 -lbl_8009FF80: -/* 8009FF80 0009CEE0 80 18 00 40 */ lwz r0, 0x40(r24) -/* 8009FF84 0009CEE4 38 61 01 04 */ addi r3, r1, 0x104 -/* 8009FF88 0009CEE8 38 81 04 BC */ addi r4, r1, 0x4bc -/* 8009FF8C 0009CEEC 38 A1 01 28 */ addi r5, r1, 0x128 -/* 8009FF90 0009CEF0 7C C0 8A 14 */ add r6, r0, r17 -/* 8009FF94 0009CEF4 C0 26 00 10 */ lfs f1, 0x10(r6) -/* 8009FF98 0009CEF8 C0 46 00 14 */ lfs f2, 0x14(r6) -/* 8009FF9C 0009CEFC C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8009FFA0 0009CF00 D0 01 01 28 */ stfs f0, 0x128(r1) -/* 8009FFA4 0009CF04 D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 8009FFA8 0009CF08 D0 41 01 30 */ stfs f2, 0x130(r1) -/* 8009FFAC 0009CF0C 48 27 2B 3D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8009FFB0 0009CF10 80 61 00 A8 */ lwz r3, 0xa8(r1) -/* 8009FFB4 0009CF14 7F 44 D3 78 */ mr r4, r26 -/* 8009FFB8 0009CF18 80 01 00 AC */ lwz r0, 0xac(r1) -/* 8009FFBC 0009CF1C 7E 46 93 78 */ mr r6, r18 -/* 8009FFC0 0009CF20 90 61 00 5C */ stw r3, 0x5c(r1) -/* 8009FFC4 0009CF24 38 61 01 6C */ addi r3, r1, 0x16c -/* 8009FFC8 0009CF28 C0 21 01 08 */ lfs f1, 0x108(r1) -/* 8009FFCC 0009CF2C 38 E1 00 60 */ addi r7, r1, 0x60 -/* 8009FFD0 0009CF30 90 01 00 60 */ stw r0, 0x60(r1) -/* 8009FFD4 0009CF34 39 01 00 5C */ addi r8, r1, 0x5c -/* 8009FFD8 0009CF38 3C A0 00 04 */ lis r5, 4 -/* 8009FFDC 0009CF3C 48 00 1B 8D */ bl __ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor -/* 8009FFE0 0009CF40 80 01 01 38 */ lwz r0, 0x138(r1) -/* 8009FFE4 0009CF44 80 A1 01 3C */ lwz r5, 0x13c(r1) -/* 8009FFE8 0009CF48 7C 00 28 00 */ cmpw r0, r5 -/* 8009FFEC 0009CF4C 41 80 00 1C */ blt lbl_800A0008 -/* 8009FFF0 0009CF50 2C 05 00 00 */ cmpwi r5, 0 -/* 8009FFF4 0009CF54 38 61 01 34 */ addi r3, r1, 0x134 -/* 8009FFF8 0009CF58 38 80 00 04 */ li r4, 4 -/* 8009FFFC 0009CF5C 41 82 00 08 */ beq lbl_800A0004 -/* 800A0000 0009CF60 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800A0004: -/* 800A0004 0009CF64 48 00 21 51 */ bl "reserve__Q24rstl67vectorFi" -lbl_800A0008: -/* 800A0008 0009CF68 80 01 01 38 */ lwz r0, 0x138(r1) -/* 800A000C 0009CF6C 80 61 01 40 */ lwz r3, 0x140(r1) -/* 800A0010 0009CF70 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 800A0014 0009CF74 7C 63 02 15 */ add. r3, r3, r0 -/* 800A0018 0009CF78 41 82 00 2C */ beq lbl_800A0044 -/* 800A001C 0009CF7C C0 01 01 6C */ lfs f0, 0x16c(r1) -/* 800A0020 0009CF80 D0 03 00 00 */ stfs f0, 0(r3) -/* 800A0024 0009CF84 80 01 01 70 */ lwz r0, 0x170(r1) -/* 800A0028 0009CF88 90 03 00 04 */ stw r0, 4(r3) -/* 800A002C 0009CF8C 80 01 01 74 */ lwz r0, 0x174(r1) -/* 800A0030 0009CF90 90 03 00 08 */ stw r0, 8(r3) -/* 800A0034 0009CF94 80 01 01 78 */ lwz r0, 0x178(r1) -/* 800A0038 0009CF98 90 03 00 0C */ stw r0, 0xc(r3) -/* 800A003C 0009CF9C 80 01 01 7C */ lwz r0, 0x17c(r1) -/* 800A0040 0009CFA0 90 03 00 10 */ stw r0, 0x10(r3) -lbl_800A0044: -/* 800A0044 0009CFA4 80 61 01 38 */ lwz r3, 0x138(r1) -/* 800A0048 0009CFA8 3A 31 00 20 */ addi r17, r17, 0x20 -/* 800A004C 0009CFAC 3A 52 00 01 */ addi r18, r18, 1 -/* 800A0050 0009CFB0 38 03 00 01 */ addi r0, r3, 1 -/* 800A0054 0009CFB4 90 01 01 38 */ stw r0, 0x138(r1) -lbl_800A0058: -/* 800A0058 0009CFB8 7C 12 80 00 */ cmpw r18, r16 -/* 800A005C 0009CFBC 41 80 FF 24 */ blt lbl_8009FF80 -/* 800A0060 0009CFC0 3A C0 00 00 */ li r22, 0 -/* 800A0064 0009CFC4 93 41 00 54 */ stw r26, 0x54(r1) -/* 800A0068 0009CFC8 7E D5 B3 78 */ mr r21, r22 -/* 800A006C 0009CFCC 3A 80 00 00 */ li r20, 0 -/* 800A0070 0009CFD0 48 00 02 CC */ b lbl_800A033C -lbl_800A0074: -/* 800A0074 0009CFD4 80 18 00 38 */ lwz r0, 0x38(r24) -/* 800A0078 0009CFD8 7F C3 F3 78 */ mr r3, r30 -/* 800A007C 0009CFDC 38 81 00 58 */ addi r4, r1, 0x58 -/* 800A0080 0009CFE0 93 41 00 58 */ stw r26, 0x58(r1) -/* 800A0084 0009CFE4 7E 40 B2 14 */ add r18, r0, r22 -/* 800A0088 0009CFE8 48 0C 83 B9 */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId -/* 800A008C 0009CFEC 7C 64 1B 78 */ mr r4, r3 -/* 800A0090 0009CFF0 7E 43 93 78 */ mr r3, r18 -/* 800A0094 0009CFF4 7F C5 F3 78 */ mr r5, r30 -/* 800A0098 0009CFF8 48 04 89 AD */ bl GetIsVisibleToAutoMapper__15CMappableObjectFbRC13CMapWorldInfo -/* 800A009C 0009CFFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A00A0 0009D000 41 82 02 90 */ beq lbl_800A0330 -/* 800A00A4 0009D004 80 12 00 00 */ lwz r0, 0(r18) -/* 800A00A8 0009D008 3A 00 00 00 */ li r16, 0 -/* 800A00AC 0009D00C 2C 00 00 00 */ cmpwi r0, 0 -/* 800A00B0 0009D010 41 80 00 10 */ blt lbl_800A00C0 -/* 800A00B4 0009D014 2C 00 00 0F */ cmpwi r0, 0xf -/* 800A00B8 0009D018 41 81 00 08 */ bgt lbl_800A00C0 -/* 800A00BC 0009D01C 3A 00 00 01 */ li r16, 1 -lbl_800A00C0: -/* 800A00C0 0009D020 56 00 06 3F */ clrlwi. r0, r16, 0x18 -/* 800A00C4 0009D024 41 82 01 5C */ beq lbl_800A0220 -/* 800A00C8 0009D028 93 41 00 4C */ stw r26, 0x4c(r1) -/* 800A00CC 0009D02C 7F C3 F3 78 */ mr r3, r30 -/* 800A00D0 0009D030 38 81 00 50 */ addi r4, r1, 0x50 -/* 800A00D4 0009D034 93 41 00 50 */ stw r26, 0x50(r1) -/* 800A00D8 0009D038 48 0C 7C 2D */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId -/* 800A00DC 0009D03C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A00E0 0009D040 41 82 02 50 */ beq lbl_800A0330 -/* 800A00E4 0009D044 88 1F 00 38 */ lbz r0, 0x38(r31) -/* 800A00E8 0009D048 28 00 00 00 */ cmplwi r0, 0 -/* 800A00EC 0009D04C 41 82 01 34 */ beq lbl_800A0220 -/* 800A00F0 0009D050 3A 00 00 00 */ li r16, 0 -/* 800A00F4 0009D054 7E B1 AB 78 */ mr r17, r21 -lbl_800A00F8: -/* 800A00F8 0009D058 7E 44 93 78 */ mr r4, r18 -/* 800A00FC 0009D05C 7E 05 83 78 */ mr r5, r16 -/* 800A0100 0009D060 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 800A0104 0009D064 48 04 8A 41 */ bl BuildSurfaceCenterPoint__15CMappableObjectCFi -/* 800A0108 0009D068 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800A010C 0009D06C 7F 44 D3 78 */ mr r4, r26 -/* 800A0110 0009D070 4B FE 02 ED */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId -/* 800A0114 0009D074 C0 23 00 04 */ lfs f1, 4(r3) -/* 800A0118 0009D078 38 81 04 BC */ addi r4, r1, 0x4bc -/* 800A011C 0009D07C C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 800A0120 0009D080 38 A1 01 1C */ addi r5, r1, 0x11c -/* 800A0124 0009D084 C0 63 00 08 */ lfs f3, 8(r3) -/* 800A0128 0009D088 C0 41 01 00 */ lfs f2, 0x100(r1) -/* 800A012C 0009D08C EC 81 00 2A */ fadds f4, f1, f0 -/* 800A0130 0009D090 C0 23 00 00 */ lfs f1, 0(r3) -/* 800A0134 0009D094 38 61 00 EC */ addi r3, r1, 0xec -/* 800A0138 0009D098 C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 800A013C 0009D09C EC 43 10 2A */ fadds f2, f3, f2 -/* 800A0140 0009D0A0 D0 81 01 20 */ stfs f4, 0x120(r1) -/* 800A0144 0009D0A4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800A0148 0009D0A8 D0 41 01 24 */ stfs f2, 0x124(r1) -/* 800A014C 0009D0AC D0 01 01 1C */ stfs f0, 0x11c(r1) -/* 800A0150 0009D0B0 48 27 29 99 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800A0154 0009D0B4 39 20 00 FF */ li r9, 0xff -/* 800A0158 0009D0B8 38 00 00 00 */ li r0, 0 -/* 800A015C 0009D0BC C0 21 00 F0 */ lfs f1, 0xf0(r1) -/* 800A0160 0009D0C0 7F 44 D3 78 */ mr r4, r26 -/* 800A0164 0009D0C4 99 21 00 44 */ stb r9, 0x44(r1) -/* 800A0168 0009D0C8 7E 26 8B 78 */ mr r6, r17 -/* 800A016C 0009D0CC 38 61 01 58 */ addi r3, r1, 0x158 -/* 800A0170 0009D0D0 38 E1 00 48 */ addi r7, r1, 0x48 -/* 800A0174 0009D0D4 98 01 00 45 */ stb r0, 0x45(r1) -/* 800A0178 0009D0D8 39 01 00 44 */ addi r8, r1, 0x44 -/* 800A017C 0009D0DC 3C A0 00 02 */ lis r5, 2 -/* 800A0180 0009D0E0 99 21 00 46 */ stb r9, 0x46(r1) -/* 800A0184 0009D0E4 99 21 00 47 */ stb r9, 0x47(r1) -/* 800A0188 0009D0E8 99 21 00 48 */ stb r9, 0x48(r1) -/* 800A018C 0009D0EC 98 01 00 49 */ stb r0, 0x49(r1) -/* 800A0190 0009D0F0 99 21 00 4A */ stb r9, 0x4a(r1) -/* 800A0194 0009D0F4 99 21 00 4B */ stb r9, 0x4b(r1) -/* 800A0198 0009D0F8 48 00 19 D1 */ bl __ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor -/* 800A019C 0009D0FC 80 01 01 38 */ lwz r0, 0x138(r1) -/* 800A01A0 0009D100 80 A1 01 3C */ lwz r5, 0x13c(r1) -/* 800A01A4 0009D104 7C 00 28 00 */ cmpw r0, r5 -/* 800A01A8 0009D108 41 80 00 1C */ blt lbl_800A01C4 -/* 800A01AC 0009D10C 2C 05 00 00 */ cmpwi r5, 0 -/* 800A01B0 0009D110 38 61 01 34 */ addi r3, r1, 0x134 -/* 800A01B4 0009D114 38 80 00 04 */ li r4, 4 -/* 800A01B8 0009D118 41 82 00 08 */ beq lbl_800A01C0 -/* 800A01BC 0009D11C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800A01C0: -/* 800A01C0 0009D120 48 00 1F 95 */ bl "reserve__Q24rstl67vectorFi" -lbl_800A01C4: -/* 800A01C4 0009D124 80 01 01 38 */ lwz r0, 0x138(r1) -/* 800A01C8 0009D128 80 61 01 40 */ lwz r3, 0x140(r1) -/* 800A01CC 0009D12C 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 800A01D0 0009D130 7C 63 02 15 */ add. r3, r3, r0 -/* 800A01D4 0009D134 41 82 00 2C */ beq lbl_800A0200 -/* 800A01D8 0009D138 C0 01 01 58 */ lfs f0, 0x158(r1) -/* 800A01DC 0009D13C D0 03 00 00 */ stfs f0, 0(r3) -/* 800A01E0 0009D140 80 01 01 5C */ lwz r0, 0x15c(r1) -/* 800A01E4 0009D144 90 03 00 04 */ stw r0, 4(r3) -/* 800A01E8 0009D148 80 01 01 60 */ lwz r0, 0x160(r1) -/* 800A01EC 0009D14C 90 03 00 08 */ stw r0, 8(r3) -/* 800A01F0 0009D150 80 01 01 64 */ lwz r0, 0x164(r1) -/* 800A01F4 0009D154 90 03 00 0C */ stw r0, 0xc(r3) -/* 800A01F8 0009D158 80 01 01 68 */ lwz r0, 0x168(r1) -/* 800A01FC 0009D15C 90 03 00 10 */ stw r0, 0x10(r3) -lbl_800A0200: -/* 800A0200 0009D160 80 61 01 38 */ lwz r3, 0x138(r1) -/* 800A0204 0009D164 3A 10 00 01 */ addi r16, r16, 1 -/* 800A0208 0009D168 2C 10 00 06 */ cmpwi r16, 6 -/* 800A020C 0009D16C 3A 31 00 01 */ addi r17, r17, 1 -/* 800A0210 0009D170 38 03 00 01 */ addi r0, r3, 1 -/* 800A0214 0009D174 90 01 01 38 */ stw r0, 0x138(r1) -/* 800A0218 0009D178 41 80 FE E0 */ blt lbl_800A00F8 -/* 800A021C 0009D17C 48 00 01 14 */ b lbl_800A0330 -lbl_800A0220: -/* 800A0220 0009D180 C3 72 00 3C */ lfs f27, 0x3c(r18) -/* 800A0224 0009D184 7F 44 D3 78 */ mr r4, r26 -/* 800A0228 0009D188 C3 92 00 2C */ lfs f28, 0x2c(r18) -/* 800A022C 0009D18C C3 B2 00 1C */ lfs f29, 0x1c(r18) -/* 800A0230 0009D190 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800A0234 0009D194 4B FE 01 C9 */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId -/* 800A0238 0009D198 C0 43 00 04 */ lfs f2, 4(r3) -/* 800A023C 0009D19C 38 81 04 BC */ addi r4, r1, 0x4bc -/* 800A0240 0009D1A0 C0 23 00 08 */ lfs f1, 8(r3) -/* 800A0244 0009D1A4 38 A1 01 10 */ addi r5, r1, 0x110 -/* 800A0248 0009D1A8 C0 03 00 00 */ lfs f0, 0(r3) -/* 800A024C 0009D1AC EC 42 E0 2A */ fadds f2, f2, f28 -/* 800A0250 0009D1B0 EC 21 D8 2A */ fadds f1, f1, f27 -/* 800A0254 0009D1B4 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 800A0258 0009D1B8 EC 00 E8 2A */ fadds f0, f0, f29 -/* 800A025C 0009D1BC D0 41 01 14 */ stfs f2, 0x114(r1) -/* 800A0260 0009D1C0 D0 01 01 10 */ stfs f0, 0x110(r1) -/* 800A0264 0009D1C4 D0 21 01 18 */ stfs f1, 0x118(r1) -/* 800A0268 0009D1C8 48 27 28 81 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800A026C 0009D1CC 56 00 06 3F */ clrlwi. r0, r16, 0x18 -/* 800A0270 0009D1D0 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 800A0274 0009D1D4 3C A0 00 01 */ lis r5, 1 -/* 800A0278 0009D1D8 41 82 00 08 */ beq lbl_800A0280 -/* 800A027C 0009D1DC 3C A0 00 03 */ lis r5, 3 -lbl_800A0280: -/* 800A0280 0009D1E0 39 20 00 FF */ li r9, 0xff -/* 800A0284 0009D1E4 38 00 00 00 */ li r0, 0 -/* 800A0288 0009D1E8 99 21 00 3C */ stb r9, 0x3c(r1) -/* 800A028C 0009D1EC 7F 44 D3 78 */ mr r4, r26 -/* 800A0290 0009D1F0 7E 86 A3 78 */ mr r6, r20 -/* 800A0294 0009D1F4 38 61 01 44 */ addi r3, r1, 0x144 -/* 800A0298 0009D1F8 98 01 00 3D */ stb r0, 0x3d(r1) -/* 800A029C 0009D1FC 38 E1 00 40 */ addi r7, r1, 0x40 -/* 800A02A0 0009D200 39 01 00 3C */ addi r8, r1, 0x3c -/* 800A02A4 0009D204 99 21 00 3E */ stb r9, 0x3e(r1) -/* 800A02A8 0009D208 99 21 00 3F */ stb r9, 0x3f(r1) -/* 800A02AC 0009D20C 99 21 00 40 */ stb r9, 0x40(r1) -/* 800A02B0 0009D210 98 01 00 41 */ stb r0, 0x41(r1) -/* 800A02B4 0009D214 99 21 00 42 */ stb r9, 0x42(r1) -/* 800A02B8 0009D218 99 21 00 43 */ stb r9, 0x43(r1) -/* 800A02BC 0009D21C 48 00 18 AD */ bl __ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor -/* 800A02C0 0009D220 80 01 01 38 */ lwz r0, 0x138(r1) -/* 800A02C4 0009D224 80 A1 01 3C */ lwz r5, 0x13c(r1) -/* 800A02C8 0009D228 7C 00 28 00 */ cmpw r0, r5 -/* 800A02CC 0009D22C 41 80 00 1C */ blt lbl_800A02E8 -/* 800A02D0 0009D230 2C 05 00 00 */ cmpwi r5, 0 -/* 800A02D4 0009D234 38 61 01 34 */ addi r3, r1, 0x134 -/* 800A02D8 0009D238 38 80 00 04 */ li r4, 4 -/* 800A02DC 0009D23C 41 82 00 08 */ beq lbl_800A02E4 -/* 800A02E0 0009D240 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800A02E4: -/* 800A02E4 0009D244 48 00 1E 71 */ bl "reserve__Q24rstl67vectorFi" -lbl_800A02E8: -/* 800A02E8 0009D248 80 01 01 38 */ lwz r0, 0x138(r1) -/* 800A02EC 0009D24C 80 61 01 40 */ lwz r3, 0x140(r1) -/* 800A02F0 0009D250 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 800A02F4 0009D254 7C 63 02 15 */ add. r3, r3, r0 -/* 800A02F8 0009D258 41 82 00 2C */ beq lbl_800A0324 -/* 800A02FC 0009D25C C0 01 01 44 */ lfs f0, 0x144(r1) -/* 800A0300 0009D260 D0 03 00 00 */ stfs f0, 0(r3) -/* 800A0304 0009D264 80 01 01 48 */ lwz r0, 0x148(r1) -/* 800A0308 0009D268 90 03 00 04 */ stw r0, 4(r3) -/* 800A030C 0009D26C 80 01 01 4C */ lwz r0, 0x14c(r1) -/* 800A0310 0009D270 90 03 00 08 */ stw r0, 8(r3) -/* 800A0314 0009D274 80 01 01 50 */ lwz r0, 0x150(r1) -/* 800A0318 0009D278 90 03 00 0C */ stw r0, 0xc(r3) -/* 800A031C 0009D27C 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800A0320 0009D280 90 03 00 10 */ stw r0, 0x10(r3) -lbl_800A0324: -/* 800A0324 0009D284 80 61 01 38 */ lwz r3, 0x138(r1) -/* 800A0328 0009D288 38 03 00 01 */ addi r0, r3, 1 -/* 800A032C 0009D28C 90 01 01 38 */ stw r0, 0x138(r1) -lbl_800A0330: -/* 800A0330 0009D290 3A D6 00 50 */ addi r22, r22, 0x50 -/* 800A0334 0009D294 3A B5 00 06 */ addi r21, r21, 6 -/* 800A0338 0009D298 3A 94 00 01 */ addi r20, r20, 1 -lbl_800A033C: -/* 800A033C 0009D29C 80 18 00 28 */ lwz r0, 0x28(r24) -/* 800A0340 0009D2A0 7C 14 00 00 */ cmpw r20, r0 -/* 800A0344 0009D2A4 41 80 FD 30 */ blt lbl_800A0074 -lbl_800A0348: -/* 800A0348 0009D2A8 3A F7 00 10 */ addi r23, r23, 0x10 -/* 800A034C 0009D2AC 3B 39 00 01 */ addi r25, r25, 1 -lbl_800A0350: -/* 800A0350 0009D2B0 80 1B 00 04 */ lwz r0, 4(r27) -/* 800A0354 0009D2B4 7C 19 00 00 */ cmpw r25, r0 -/* 800A0358 0009D2B8 41 80 F8 D0 */ blt lbl_8009FC28 -/* 800A035C 0009D2BC 80 01 01 38 */ lwz r0, 0x138(r1) -/* 800A0360 0009D2C0 81 DF 00 1C */ lwz r14, 0x1c(r31) -/* 800A0364 0009D2C4 2C 00 00 00 */ cmpwi r0, 0 -/* 800A0368 0009D2C8 81 FF 00 20 */ lwz r15, 0x20(r31) -/* 800A036C 0009D2CC C3 DF 00 14 */ lfs f30, 0x14(r31) -/* 800A0370 0009D2D0 40 81 04 20 */ ble lbl_800A0790 -/* 800A0374 0009D2D4 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 800A0378 0009D2D8 80 C1 01 40 */ lwz r6, 0x140(r1) -/* 800A037C 0009D2DC 88 A1 00 0C */ lbz r5, 0xc(r1) -/* 800A0380 0009D2E0 38 61 00 38 */ addi r3, r1, 0x38 -/* 800A0384 0009D2E4 90 C1 00 34 */ stw r6, 0x34(r1) -/* 800A0388 0009D2E8 38 81 00 30 */ addi r4, r1, 0x30 -/* 800A038C 0009D2EC 7C 06 02 14 */ add r0, r6, r0 -/* 800A0390 0009D2F0 98 A1 00 10 */ stb r5, 0x10(r1) -/* 800A0394 0009D2F4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800A0398 0009D2F8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800A039C 0009D2FC 90 01 00 30 */ stw r0, 0x30(r1) -/* 800A03A0 0009D300 90 C1 00 38 */ stw r6, 0x38(r1) -/* 800A03A4 0009D304 48 00 17 E9 */ bl sub_800a1b8c -/* 800A03A8 0009D308 3A 40 FF FF */ li r18, -1 -/* 800A03AC 0009D30C 3B 20 FF FF */ li r25, -1 -/* 800A03B0 0009D310 4B FE 01 C1 */ bl SetupGXMaterial__Q28CMapArea15CMapAreaSurfaceFv -/* 800A03B4 0009D314 3B 41 03 CC */ addi r26, r1, 0x3cc -/* 800A03B8 0009D318 3A 60 00 00 */ li r19, 0 -/* 800A03BC 0009D31C 3A 20 00 00 */ li r17, 0 -/* 800A03C0 0009D320 48 00 03 C4 */ b lbl_800A0784 -lbl_800A03C4: -/* 800A03C4 0009D324 80 01 01 40 */ lwz r0, 0x140(r1) -/* 800A03C8 0009D328 7F 83 E3 78 */ mr r3, r28 -/* 800A03CC 0009D32C 7C 80 8A 14 */ add r4, r0, r17 -/* 800A03D0 0009D330 80 04 00 08 */ lwz r0, 8(r4) -/* 800A03D4 0009D334 3A E4 00 0C */ addi r23, r4, 0xc -/* 800A03D8 0009D338 82 04 00 04 */ lwz r16, 4(r4) -/* 800A03DC 0009D33C 3B 04 00 10 */ addi r24, r4, 0x10 -/* 800A03E0 0009D340 54 14 00 1E */ rlwinm r20, r0, 0, 0, 0xf -/* 800A03E4 0009D344 54 16 04 3E */ clrlwi r22, r0, 0x10 -/* 800A03E8 0009D348 7E 04 83 78 */ mr r4, r16 -/* 800A03EC 0009D34C 48 00 0F CD */ bl GetMapArea__9CMapWorldCFi -/* 800A03F0 0009D350 7C 75 1B 78 */ mr r21, r3 -/* 800A03F4 0009D354 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 800A03F8 0009D358 7E 06 83 78 */ mr r6, r16 -/* 800A03FC 0009D35C 38 61 03 CC */ addi r3, r1, 0x3cc -/* 800A0400 0009D360 7E A4 AB 78 */ mr r4, r21 -/* 800A0404 0009D364 4B FE 00 65 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId -/* 800A0408 0009D368 3C 14 FF FC */ addis r0, r20, 0xfffc -/* 800A040C 0009D36C 28 00 00 00 */ cmplwi r0, 0 -/* 800A0410 0009D370 40 82 01 50 */ bne lbl_800A0560 -/* 800A0414 0009D374 80 75 00 40 */ lwz r3, 0x40(r21) -/* 800A0418 0009D378 56 C0 28 34 */ slwi r0, r22, 5 -/* 800A041C 0009D37C 80 CD A1 44 */ lwz r6, gpTweakAutoMapper@sda21(r13) -/* 800A0420 0009D380 7F 44 D3 78 */ mr r4, r26 -/* 800A0424 0009D384 7E 83 02 14 */ add r20, r3, r0 -/* 800A0428 0009D388 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800A042C 0009D38C C3 E6 00 54 */ lfs f31, 0x54(r6) -/* 800A0430 0009D390 38 A1 00 BC */ addi r5, r1, 0xbc -/* 800A0434 0009D394 C3 A6 00 58 */ lfs f29, 0x58(r6) -/* 800A0438 0009D398 C0 14 00 00 */ lfs f0, 0(r20) -/* 800A043C 0009D39C D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 800A0440 0009D3A0 C0 14 00 04 */ lfs f0, 4(r20) -/* 800A0444 0009D3A4 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 800A0448 0009D3A8 C0 14 00 08 */ lfs f0, 8(r20) -/* 800A044C 0009D3AC D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 800A0450 0009D3B0 48 27 26 31 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800A0454 0009D3B4 C0 A2 8C 44 */ lfs f5, lbl_805AA964@sda21(r2) -/* 800A0458 0009D3B8 C0 0F 00 14 */ lfs f0, 0x14(r15) -/* 800A045C 0009D3BC C0 2F 00 04 */ lfs f1, 4(r15) -/* 800A0460 0009D3C0 EC C5 00 32 */ fmuls f6, f5, f0 -/* 800A0464 0009D3C4 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 800A0468 0009D3C8 EC 85 00 72 */ fmuls f4, f5, f1 -/* 800A046C 0009D3CC C0 6F 00 24 */ lfs f3, 0x24(r15) -/* 800A0470 0009D3D0 C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 800A0474 0009D3D4 EC 26 00 32 */ fmuls f1, f6, f0 -/* 800A0478 0009D3D8 EC A5 00 F2 */ fmuls f5, f5, f3 -/* 800A047C 0009D3DC C0 61 00 D0 */ lfs f3, 0xd0(r1) -/* 800A0480 0009D3E0 C0 0D 86 04 */ lfs f0, lbl_805A71C4@sda21(r13) -/* 800A0484 0009D3E4 EC 24 08 BA */ fmadds f1, f4, f2, f1 -/* 800A0488 0009D3E8 D0 81 00 D4 */ stfs f4, 0xd4(r1) -/* 800A048C 0009D3EC D0 C1 00 D8 */ stfs f6, 0xd8(r1) -/* 800A0490 0009D3F0 EC 25 08 FA */ fmadds f1, f5, f3, f1 -/* 800A0494 0009D3F4 D0 A1 00 DC */ stfs f5, 0xdc(r1) -/* 800A0498 0009D3F8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800A049C 0009D3FC D0 21 00 28 */ stfs f1, 0x28(r1) -/* 800A04A0 0009D400 40 80 00 0C */ bge lbl_800A04AC -/* 800A04A4 0009D404 38 61 00 28 */ addi r3, r1, 0x28 -/* 800A04A8 0009D408 48 00 00 08 */ b lbl_800A04B0 -lbl_800A04AC: -/* 800A04AC 0009D40C 38 6D 86 04 */ addi r3, r13, lbl_805A71C4@sda21 -lbl_800A04B0: -/* 800A04B0 0009D410 C0 03 00 00 */ lfs f0, 0(r3) -/* 800A04B4 0009D414 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 800A04B8 0009D418 C0 82 8C 30 */ lfs f4, lbl_805AA950@sda21(r2) -/* 800A04BC 0009D41C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800A04C0 0009D420 EC 3D 00 2A */ fadds f1, f29, f0 -/* 800A04C4 0009D424 FC 40 08 90 */ fmr f2, f1 -/* 800A04C8 0009D428 FC 60 08 90 */ fmr f3, f1 -/* 800A04CC 0009D42C 48 2C 2F 21 */ bl __ct__6CColorFffff -/* 800A04D0 0009D430 7E E4 BB 78 */ mr r4, r23 -/* 800A04D4 0009D434 38 61 00 24 */ addi r3, r1, 0x24 -/* 800A04D8 0009D438 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 800A04DC 0009D43C 48 2C 2C 9D */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 800A04E0 0009D440 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A04E4 0009D444 7C 19 80 00 */ cmpw r25, r16 -/* 800A04E8 0009D448 3A C0 00 00 */ li r22, 0 -/* 800A04EC 0009D44C 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 800A04F0 0009D450 40 82 00 0C */ bne lbl_800A04FC -/* 800A04F4 0009D454 2C 12 00 00 */ cmpwi r18, 0 -/* 800A04F8 0009D458 41 82 00 08 */ beq lbl_800A0500 -lbl_800A04FC: -/* 800A04FC 0009D45C 3A C0 00 01 */ li r22, 1 -lbl_800A0500: -/* 800A0500 0009D460 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 800A0504 0009D464 41 82 00 2C */ beq lbl_800A0530 -/* 800A0508 0009D468 7D C4 73 78 */ mr r4, r14 -/* 800A050C 0009D46C 7F 45 D3 78 */ mr r5, r26 -/* 800A0510 0009D470 38 61 03 9C */ addi r3, r1, 0x39c -/* 800A0514 0009D474 48 27 24 3D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800A0518 0009D478 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800A051C 0009D47C 38 81 03 9C */ addi r4, r1, 0x39c -/* 800A0520 0009D480 81 83 00 00 */ lwz r12, 0(r3) -/* 800A0524 0009D484 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800A0528 0009D488 7D 89 03 A6 */ mtctr r12 -/* 800A052C 0009D48C 4E 80 04 21 */ bctrl -lbl_800A0530: -/* 800A0530 0009D490 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 800A0534 0009D494 41 82 00 0C */ beq lbl_800A0540 -/* 800A0538 0009D498 80 95 00 3C */ lwz r4, 0x3c(r21) -/* 800A053C 0009D49C 48 00 00 08 */ b lbl_800A0544 -lbl_800A0540: -/* 800A0540 0009D4A0 38 80 00 00 */ li r4, 0 -lbl_800A0544: -/* 800A0544 0009D4A4 FC 20 F0 90 */ fmr f1, f30 -/* 800A0548 0009D4A8 7E 83 A3 78 */ mr r3, r20 -/* 800A054C 0009D4AC 7F 06 C3 78 */ mr r6, r24 -/* 800A0550 0009D4B0 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 800A0554 0009D4B4 4B FE 01 21 */ bl Draw__Q28CMapArea15CMapAreaSurfaceCFPC9CVector3fRC6CColorRC6CColorf -/* 800A0558 0009D4B8 3A 40 00 00 */ li r18, 0 -/* 800A055C 0009D4BC 48 00 02 1C */ b lbl_800A0778 -lbl_800A0560: -/* 800A0560 0009D4C0 3C 14 FF FD */ addis r0, r20, 0xfffd -/* 800A0564 0009D4C4 28 00 00 00 */ cmplwi r0, 0 -/* 800A0568 0009D4C8 41 82 00 10 */ beq lbl_800A0578 -/* 800A056C 0009D4CC 3C 14 FF FF */ addis r0, r20, 0xffff -/* 800A0570 0009D4D0 28 00 00 00 */ cmplwi r0, 0 -/* 800A0574 0009D4D4 40 82 01 44 */ bne lbl_800A06B8 -lbl_800A0578: -/* 800A0578 0009D4D8 3C 14 FF FD */ addis r0, r20, 0xfffd -/* 800A057C 0009D4DC 3A E0 00 03 */ li r23, 3 -/* 800A0580 0009D4E0 28 00 00 00 */ cmplwi r0, 0 -/* 800A0584 0009D4E4 40 82 00 08 */ bne lbl_800A058C -/* 800A0588 0009D4E8 3A E0 00 01 */ li r23, 1 -lbl_800A058C: -/* 800A058C 0009D4EC 1C B6 00 50 */ mulli r5, r22, 0x50 -/* 800A0590 0009D4F0 80 D5 00 38 */ lwz r6, 0x38(r21) -/* 800A0594 0009D4F4 7C 92 B8 50 */ subf r4, r18, r23 -/* 800A0598 0009D4F8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800A059C 0009D4FC 7C 17 90 50 */ subf r0, r23, r18 -/* 800A05A0 0009D500 7C 80 03 78 */ or r0, r4, r0 -/* 800A05A4 0009D504 7E 04 83 78 */ mr r4, r16 -/* 800A05A8 0009D508 7E 46 2A 14 */ add r18, r6, r5 -/* 800A05AC 0009D50C 54 15 0F FE */ srwi r21, r0, 0x1f -/* 800A05B0 0009D510 4B FD FE 4D */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId -/* 800A05B4 0009D514 7C 64 1B 78 */ mr r4, r3 -/* 800A05B8 0009D518 38 61 03 3C */ addi r3, r1, 0x33c -/* 800A05BC 0009D51C 48 27 2B 85 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800A05C0 0009D520 38 61 03 6C */ addi r3, r1, 0x36c -/* 800A05C4 0009D524 38 81 03 3C */ addi r4, r1, 0x33c -/* 800A05C8 0009D528 38 B2 00 10 */ addi r5, r18, 0x10 -/* 800A05CC 0009D52C 48 27 23 85 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800A05D0 0009D530 38 61 04 8C */ addi r3, r1, 0x48c -/* 800A05D4 0009D534 38 81 03 6C */ addi r4, r1, 0x36c -/* 800A05D8 0009D538 48 27 25 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800A05DC 0009D53C 3C 14 FF FD */ addis r0, r20, 0xfffd -/* 800A05E0 0009D540 28 00 00 00 */ cmplwi r0, 0 -/* 800A05E4 0009D544 40 82 00 1C */ bne lbl_800A0600 -/* 800A05E8 0009D548 7D C4 73 78 */ mr r4, r14 -/* 800A05EC 0009D54C 38 61 03 0C */ addi r3, r1, 0x30c -/* 800A05F0 0009D550 38 A1 04 8C */ addi r5, r1, 0x48c -/* 800A05F4 0009D554 48 27 23 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800A05F8 0009D558 38 81 03 0C */ addi r4, r1, 0x30c -/* 800A05FC 0009D55C 48 00 00 88 */ b lbl_800A0684 -lbl_800A0600: -/* 800A0600 0009D560 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 800A0604 0009D564 7D E4 7B 78 */ mr r4, r15 -/* 800A0608 0009D568 C0 3F 00 34 */ lfs f1, 0x34(r31) -/* 800A060C 0009D56C 38 61 02 C4 */ addi r3, r1, 0x2c4 -/* 800A0610 0009D570 D0 01 02 EC */ stfs f0, 0x2ec(r1) -/* 800A0614 0009D574 D0 21 02 E8 */ stfs f1, 0x2e8(r1) -/* 800A0618 0009D578 D0 01 02 F0 */ stfs f0, 0x2f0(r1) -/* 800A061C 0009D57C D0 01 02 F4 */ stfs f0, 0x2f4(r1) -/* 800A0620 0009D580 D0 21 02 F8 */ stfs f1, 0x2f8(r1) -/* 800A0624 0009D584 D0 01 02 FC */ stfs f0, 0x2fc(r1) -/* 800A0628 0009D588 D0 01 03 00 */ stfs f0, 0x300(r1) -/* 800A062C 0009D58C D0 01 03 04 */ stfs f0, 0x304(r1) -/* 800A0630 0009D590 D0 21 03 08 */ stfs f1, 0x308(r1) -/* 800A0634 0009D594 48 27 2A C1 */ bl BuildMatrix3f__12CTransform4fCFv -/* 800A0638 0009D598 38 61 02 A0 */ addi r3, r1, 0x2a0 -/* 800A063C 0009D59C 38 81 02 C4 */ addi r4, r1, 0x2c4 -/* 800A0640 0009D5A0 38 A1 02 E8 */ addi r5, r1, 0x2e8 -/* 800A0644 0009D5A4 48 26 FA ED */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800A0648 0009D5A8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800A064C 0009D5AC 38 61 02 70 */ addi r3, r1, 0x270 -/* 800A0650 0009D5B0 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 800A0654 0009D5B4 38 81 02 A0 */ addi r4, r1, 0x2a0 -/* 800A0658 0009D5B8 48 27 2C 21 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800A065C 0009D5BC 7C 74 1B 78 */ mr r20, r3 -/* 800A0660 0009D5C0 7D C4 73 78 */ mr r4, r14 -/* 800A0664 0009D5C4 38 61 02 40 */ addi r3, r1, 0x240 -/* 800A0668 0009D5C8 38 A1 04 8C */ addi r5, r1, 0x48c -/* 800A066C 0009D5CC 48 27 22 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800A0670 0009D5D0 7E 85 A3 78 */ mr r5, r20 -/* 800A0674 0009D5D4 38 61 02 10 */ addi r3, r1, 0x210 -/* 800A0678 0009D5D8 38 81 02 40 */ addi r4, r1, 0x240 -/* 800A067C 0009D5DC 48 27 22 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800A0680 0009D5E0 38 81 02 10 */ addi r4, r1, 0x210 -lbl_800A0684: -/* 800A0684 0009D5E4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800A0688 0009D5E8 81 83 00 00 */ lwz r12, 0(r3) -/* 800A068C 0009D5EC 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800A0690 0009D5F0 7D 89 03 A6 */ mtctr r12 -/* 800A0694 0009D5F4 4E 80 04 21 */ bctrl -/* 800A0698 0009D5F8 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 800A069C 0009D5FC 7E 43 93 78 */ mr r3, r18 -/* 800A06A0 0009D600 7F A4 EB 78 */ mr r4, r29 -/* 800A06A4 0009D604 7F C5 F3 78 */ mr r5, r30 -/* 800A06A8 0009D608 7E A6 AB 78 */ mr r6, r21 -/* 800A06AC 0009D60C 48 04 87 01 */ bl Draw__15CMappableObjectCFiRC13CMapWorldInfofb -/* 800A06B0 0009D610 7E F2 BB 78 */ mr r18, r23 -/* 800A06B4 0009D614 48 00 00 C4 */ b lbl_800A0778 -lbl_800A06B8: -/* 800A06B8 0009D618 3C 14 FF FE */ addis r0, r20, 0xfffe -/* 800A06BC 0009D61C 28 00 00 00 */ cmplwi r0, 0 -/* 800A06C0 0009D620 40 82 00 B8 */ bne lbl_800A0778 -/* 800A06C4 0009D624 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha -/* 800A06C8 0009D628 80 D5 00 38 */ lwz r6, 0x38(r21) -/* 800A06CC 0009D62C 38 03 AA AB */ addi r0, r3, 0x2AAAAAAB@l -/* 800A06D0 0009D630 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800A06D4 0009D634 7C A0 B0 96 */ mulhw r5, r0, r22 -/* 800A06D8 0009D638 7E 04 83 78 */ mr r4, r16 -/* 800A06DC 0009D63C 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 800A06E0 0009D640 7C 05 02 14 */ add r0, r5, r0 -/* 800A06E4 0009D644 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 800A06E8 0009D648 7E 86 02 14 */ add r20, r6, r0 -/* 800A06EC 0009D64C 4B FD FD 11 */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId -/* 800A06F0 0009D650 7C 64 1B 78 */ mr r4, r3 -/* 800A06F4 0009D654 38 61 01 80 */ addi r3, r1, 0x180 -/* 800A06F8 0009D658 48 27 2A 49 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800A06FC 0009D65C 7D C4 73 78 */ mr r4, r14 -/* 800A0700 0009D660 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 800A0704 0009D664 38 A1 01 80 */ addi r5, r1, 0x180 -/* 800A0708 0009D668 48 27 22 49 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800A070C 0009D66C 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 800A0710 0009D670 38 81 01 B0 */ addi r4, r1, 0x1b0 -/* 800A0714 0009D674 38 B4 00 10 */ addi r5, r20, 0x10 -/* 800A0718 0009D678 48 27 22 39 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800A071C 0009D67C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800A0720 0009D680 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 800A0724 0009D684 81 83 00 00 */ lwz r12, 0(r3) -/* 800A0728 0009D688 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800A072C 0009D68C 7D 89 03 A6 */ mtctr r12 -/* 800A0730 0009D690 4E 80 04 21 */ bctrl -/* 800A0734 0009D694 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha -/* 800A0738 0009D698 20 72 00 02 */ subfic r3, r18, 2 -/* 800A073C 0009D69C 38 84 AA AB */ addi r4, r4, 0x2AAAAAAB@l -/* 800A0740 0009D6A0 38 12 FF FE */ addi r0, r18, -2 -/* 800A0744 0009D6A4 7D 04 B0 96 */ mulhw r8, r4, r22 -/* 800A0748 0009D6A8 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 800A074C 0009D6AC 7C 60 03 78 */ or r0, r3, r0 -/* 800A0750 0009D6B0 7E 83 A3 78 */ mr r3, r20 -/* 800A0754 0009D6B4 7F A4 EB 78 */ mr r4, r29 -/* 800A0758 0009D6B8 7F C5 F3 78 */ mr r5, r30 -/* 800A075C 0009D6BC 55 06 0F FE */ srwi r6, r8, 0x1f -/* 800A0760 0009D6C0 54 07 0F FE */ srwi r7, r0, 0x1f -/* 800A0764 0009D6C4 7C 08 32 14 */ add r0, r8, r6 -/* 800A0768 0009D6C8 1C 00 00 06 */ mulli r0, r0, 6 -/* 800A076C 0009D6CC 7C C0 B0 50 */ subf r6, r0, r22 -/* 800A0770 0009D6D0 48 04 85 21 */ bl DrawDoorSurface__15CMappableObjectCFiRC13CMapWorldInfofib -/* 800A0774 0009D6D4 3A 40 00 02 */ li r18, 2 -lbl_800A0778: -/* 800A0778 0009D6D8 7E 19 83 78 */ mr r25, r16 -/* 800A077C 0009D6DC 3A 31 00 14 */ addi r17, r17, 0x14 -/* 800A0780 0009D6E0 3A 73 00 01 */ addi r19, r19, 1 -lbl_800A0784: -/* 800A0784 0009D6E4 80 01 01 38 */ lwz r0, 0x138(r1) -/* 800A0788 0009D6E8 7C 13 00 00 */ cmpw r19, r0 -/* 800A078C 0009D6EC 41 80 FC 38 */ blt lbl_800A03C4 -lbl_800A0790: -/* 800A0790 0009D6F0 80 01 01 38 */ lwz r0, 0x138(r1) -/* 800A0794 0009D6F4 80 61 01 40 */ lwz r3, 0x140(r1) -/* 800A0798 0009D6F8 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 800A079C 0009D6FC 90 61 00 18 */ stw r3, 0x18(r1) -/* 800A07A0 0009D700 7C 64 1B 78 */ mr r4, r3 -/* 800A07A4 0009D704 7C 03 02 14 */ add r0, r3, r0 -/* 800A07A8 0009D708 90 61 00 14 */ stw r3, 0x14(r1) -/* 800A07AC 0009D70C 90 01 00 20 */ stw r0, 0x20(r1) -/* 800A07B0 0009D710 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800A07B4 0009D714 48 00 00 08 */ b lbl_800A07BC -lbl_800A07B8: -/* 800A07B8 0009D718 38 84 00 14 */ addi r4, r4, 0x14 -lbl_800A07BC: -/* 800A07BC 0009D71C 7C 04 00 40 */ cmplw r4, r0 -/* 800A07C0 0009D720 40 82 FF F8 */ bne lbl_800A07B8 -/* 800A07C4 0009D724 28 03 00 00 */ cmplwi r3, 0 -/* 800A07C8 0009D728 41 82 00 08 */ beq lbl_800A07D0 -/* 800A07CC 0009D72C 48 27 51 65 */ bl Free__7CMemoryFPCv -lbl_800A07D0: -/* 800A07D0 0009D730 E3 E1 05 C8 */ psq_l f31, 1480(r1), 0, qr0 -/* 800A07D4 0009D734 CB E1 05 C0 */ lfd f31, 0x5c0(r1) -/* 800A07D8 0009D738 E3 C1 05 B8 */ psq_l f30, 1464(r1), 0, qr0 -/* 800A07DC 0009D73C CB C1 05 B0 */ lfd f30, 0x5b0(r1) -/* 800A07E0 0009D740 E3 A1 05 A8 */ psq_l f29, 1448(r1), 0, qr0 -/* 800A07E4 0009D744 CB A1 05 A0 */ lfd f29, 0x5a0(r1) -/* 800A07E8 0009D748 E3 81 05 98 */ psq_l f28, 1432(r1), 0, qr0 -/* 800A07EC 0009D74C CB 81 05 90 */ lfd f28, 0x590(r1) -/* 800A07F0 0009D750 E3 61 05 88 */ psq_l f27, 1416(r1), 0, qr0 -/* 800A07F4 0009D754 CB 61 05 80 */ lfd f27, 0x580(r1) -/* 800A07F8 0009D758 E3 41 05 78 */ psq_l f26, 1400(r1), 0, qr0 -/* 800A07FC 0009D75C CB 41 05 70 */ lfd f26, 0x570(r1) -/* 800A0800 0009D760 E3 21 05 68 */ psq_l f25, 1384(r1), 0, qr0 -/* 800A0804 0009D764 CB 21 05 60 */ lfd f25, 0x560(r1) -/* 800A0808 0009D768 E3 01 05 58 */ psq_l f24, 1368(r1), 0, qr0 -/* 800A080C 0009D76C CB 01 05 50 */ lfd f24, 0x550(r1) -/* 800A0810 0009D770 E2 E1 05 48 */ psq_l f23, 1352(r1), 0, qr0 -/* 800A0814 0009D774 CA E1 05 40 */ lfd f23, 0x540(r1) -/* 800A0818 0009D778 B9 C1 04 F8 */ lmw r14, 0x4f8(r1) -/* 800A081C 0009D77C 80 01 05 D4 */ lwz r0, 0x5d4(r1) -/* 800A0820 0009D780 7C 08 03 A6 */ mtlr r0 -/* 800A0824 0009D784 38 21 05 D0 */ addi r1, r1, 0x5d0 -/* 800A0828 0009D788 4E 80 00 20 */ blr - -.global IsMapAreaValid__9CMapWorldCFRC6IWorldib -IsMapAreaValid__9CMapWorldCFRC6IWorldib: -/* 800A082C 0009D78C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800A0830 0009D790 7C 08 02 A6 */ mflr r0 -/* 800A0834 0009D794 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A0838 0009D798 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800A083C 0009D79C 7C BF 2B 78 */ mr r31, r5 -/* 800A0840 0009D7A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800A0844 0009D7A4 7C DE 33 78 */ mr r30, r6 -/* 800A0848 0009D7A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800A084C 0009D7AC 7C 7D 1B 78 */ mr r29, r3 -/* 800A0850 0009D7B0 7C 83 23 78 */ mr r3, r4 -/* 800A0854 0009D7B4 38 81 00 0C */ addi r4, r1, 0xc -/* 800A0858 0009D7B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A085C 0009D7BC 81 83 00 00 */ lwz r12, 0(r3) -/* 800A0860 0009D7C0 93 E1 00 08 */ stw r31, 8(r1) -/* 800A0864 0009D7C4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800A0868 0009D7C8 7D 89 03 A6 */ mtctr r12 -/* 800A086C 0009D7CC 4E 80 04 21 */ bctrl -/* 800A0870 0009D7D0 81 83 00 00 */ lwz r12, 0(r3) -/* 800A0874 0009D7D4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800A0878 0009D7D8 7D 89 03 A6 */ mtctr r12 -/* 800A087C 0009D7DC 4E 80 04 21 */ bctrl -/* 800A0880 0009D7E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A0884 0009D7E4 40 82 00 0C */ bne lbl_800A0890 -/* 800A0888 0009D7E8 38 60 00 00 */ li r3, 0 -/* 800A088C 0009D7EC 48 00 00 2C */ b lbl_800A08B8 -lbl_800A0890: -/* 800A0890 0009D7F0 7F A3 EB 78 */ mr r3, r29 -/* 800A0894 0009D7F4 7F E4 FB 78 */ mr r4, r31 -/* 800A0898 0009D7F8 48 00 0B 21 */ bl GetMapArea__9CMapWorldCFi -/* 800A089C 0009D7FC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800A08A0 0009D800 41 82 00 14 */ beq lbl_800A08B4 -/* 800A08A4 0009D804 28 03 00 00 */ cmplwi r3, 0 -/* 800A08A8 0009D808 40 82 00 0C */ bne lbl_800A08B4 -/* 800A08AC 0009D80C 38 60 00 00 */ li r3, 0 -/* 800A08B0 0009D810 48 00 00 08 */ b lbl_800A08B8 -lbl_800A08B4: -/* 800A08B4 0009D814 38 60 00 01 */ li r3, 1 -lbl_800A08B8: -/* 800A08B8 0009D818 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A08BC 0009D81C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800A08C0 0009D820 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800A08C4 0009D824 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800A08C8 0009D828 7C 08 03 A6 */ mtlr r0 -/* 800A08CC 0009D82C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800A08D0 0009D830 4E 80 00 20 */ blr - -.global "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" -"DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector": -/* 800A08D4 0009D834 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 800A08D8 0009D838 7C 08 02 A6 */ mflr r0 -/* 800A08DC 0009D83C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 800A08E0 0009D840 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 800A08E4 0009D844 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 800A08E8 0009D848 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 800A08EC 0009D84C F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 800A08F0 0009D850 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 800A08F4 0009D854 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 800A08F8 0009D858 BE A1 00 44 */ stmw r21, 0x44(r1) -/* 800A08FC 0009D85C 7C D7 33 79 */ or. r23, r6, r6 -/* 800A0900 0009D860 FF C0 08 90 */ fmr f30, f1 -/* 800A0904 0009D864 FF A0 10 90 */ fmr f29, f2 -/* 800A0908 0009D868 7C 75 1B 78 */ mr r21, r3 -/* 800A090C 0009D86C 7C 96 23 78 */ mr r22, r4 -/* 800A0910 0009D870 7C BA 2B 78 */ mr r26, r5 -/* 800A0914 0009D874 7C F8 3B 78 */ mr r24, r7 -/* 800A0918 0009D878 7D 19 43 78 */ mr r25, r8 -/* 800A091C 0009D87C 40 81 02 10 */ ble lbl_800A0B2C -/* 800A0920 0009D880 7F 06 C3 78 */ mr r6, r24 -/* 800A0924 0009D884 4B FF FF 09 */ bl IsMapAreaValid__9CMapWorldCFRC6IWorldib -/* 800A0928 0009D888 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A092C 0009D88C 41 82 02 00 */ beq lbl_800A0B2C -/* 800A0930 0009D890 FC 20 F0 90 */ fmr f1, f30 -/* 800A0934 0009D894 83 99 00 04 */ lwz r28, 4(r25) -/* 800A0938 0009D898 FC 40 E8 90 */ fmr f2, f29 -/* 800A093C 0009D89C 7F 44 D3 78 */ mr r4, r26 -/* 800A0940 0009D8A0 38 61 00 24 */ addi r3, r1, 0x24 -/* 800A0944 0009D8A4 38 A0 00 01 */ li r5, 1 -/* 800A0948 0009D8A8 48 00 0F E9 */ bl __ct__Q29CMapWorld15CMapAreaBFSInfoFiiff -/* 800A094C 0009D8AC 80 19 00 04 */ lwz r0, 4(r25) -/* 800A0950 0009D8B0 80 B9 00 08 */ lwz r5, 8(r25) -/* 800A0954 0009D8B4 7C 00 28 00 */ cmpw r0, r5 -/* 800A0958 0009D8B8 41 80 00 1C */ blt lbl_800A0974 -/* 800A095C 0009D8BC 2C 05 00 00 */ cmpwi r5, 0 -/* 800A0960 0009D8C0 7F 23 CB 78 */ mr r3, r25 -/* 800A0964 0009D8C4 38 80 00 04 */ li r4, 4 -/* 800A0968 0009D8C8 41 82 00 08 */ beq lbl_800A0970 -/* 800A096C 0009D8CC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800A0970: -/* 800A0970 0009D8D0 48 00 14 C9 */ bl "reserve__Q24rstl64vectorFi" -lbl_800A0974: -/* 800A0974 0009D8D4 80 19 00 04 */ lwz r0, 4(r25) -/* 800A0978 0009D8D8 80 79 00 0C */ lwz r3, 0xc(r25) -/* 800A097C 0009D8DC 54 00 20 36 */ slwi r0, r0, 4 -/* 800A0980 0009D8E0 7C 63 02 15 */ add. r3, r3, r0 -/* 800A0984 0009D8E4 41 82 00 24 */ beq lbl_800A09A8 -/* 800A0988 0009D8E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A098C 0009D8EC 90 03 00 00 */ stw r0, 0(r3) -/* 800A0990 0009D8F0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 800A0994 0009D8F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A0998 0009D8F8 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800A099C 0009D8FC D0 03 00 08 */ stfs f0, 8(r3) -/* 800A09A0 0009D900 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800A09A4 0009D904 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_800A09A8: -/* 800A09A8 0009D908 80 79 00 04 */ lwz r3, 4(r25) -/* 800A09AC 0009D90C 38 00 00 01 */ li r0, 1 -/* 800A09B0 0009D910 C3 E2 8C 30 */ lfs f31, lbl_805AA950@sda21(r2) -/* 800A09B4 0009D914 57 9D 20 36 */ slwi r29, r28, 4 -/* 800A09B8 0009D918 38 63 00 01 */ addi r3, r3, 1 -/* 800A09BC 0009D91C 90 79 00 04 */ stw r3, 4(r25) -/* 800A09C0 0009D920 80 75 00 2C */ lwz r3, 0x2c(r21) -/* 800A09C4 0009D924 7C 03 D1 AE */ stbx r0, r3, r26 -lbl_800A09C8: -/* 800A09C8 0009D928 80 19 00 04 */ lwz r0, 4(r25) -/* 800A09CC 0009D92C 7C 1C 00 00 */ cmpw r28, r0 -/* 800A09D0 0009D930 41 82 01 5C */ beq lbl_800A0B2C -/* 800A09D4 0009D934 80 19 00 0C */ lwz r0, 0xc(r25) -/* 800A09D8 0009D938 7C 60 EA 14 */ add r3, r0, r29 -/* 800A09DC 0009D93C 83 E3 00 04 */ lwz r31, 4(r3) -/* 800A09E0 0009D940 C0 23 00 08 */ lfs f1, 8(r3) -/* 800A09E4 0009D944 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800A09E8 0009D948 7C 1F B8 00 */ cmpw r31, r23 -/* 800A09EC 0009D94C EF C1 F8 28 */ fsubs f30, f1, f31 -/* 800A09F0 0009D950 80 03 00 00 */ lwz r0, 0(r3) -/* 800A09F4 0009D954 EF A0 F8 28 */ fsubs f29, f0, f31 -/* 800A09F8 0009D958 41 82 01 28 */ beq lbl_800A0B20 -/* 800A09FC 0009D95C 90 01 00 10 */ stw r0, 0x10(r1) -/* 800A0A00 0009D960 7E C3 B3 78 */ mr r3, r22 -/* 800A0A04 0009D964 38 81 00 10 */ addi r4, r1, 0x10 -/* 800A0A08 0009D968 81 96 00 00 */ lwz r12, 0(r22) -/* 800A0A0C 0009D96C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800A0A10 0009D970 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800A0A14 0009D974 7D 89 03 A6 */ mtctr r12 -/* 800A0A18 0009D978 4E 80 04 21 */ bctrl -/* 800A0A1C 0009D97C 3B 40 00 00 */ li r26, 0 -/* 800A0A20 0009D980 7C 7B 1B 78 */ mr r27, r3 -/* 800A0A24 0009D984 48 00 00 E0 */ b lbl_800A0B04 -lbl_800A0A28: -/* 800A0A28 0009D988 7F 64 DB 78 */ mr r4, r27 -/* 800A0A2C 0009D98C 7F 45 D3 78 */ mr r5, r26 -/* 800A0A30 0009D990 81 9B 00 00 */ lwz r12, 0(r27) -/* 800A0A34 0009D994 38 61 00 08 */ addi r3, r1, 8 -/* 800A0A38 0009D998 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800A0A3C 0009D99C 7D 89 03 A6 */ mtctr r12 -/* 800A0A40 0009D9A0 4E 80 04 21 */ bctrl -/* 800A0A44 0009D9A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 800A0A48 0009D9A8 7E A3 AB 78 */ mr r3, r21 -/* 800A0A4C 0009D9AC 7E C4 B3 78 */ mr r4, r22 -/* 800A0A50 0009D9B0 7F 06 C3 78 */ mr r6, r24 -/* 800A0A54 0009D9B4 7F C5 F3 78 */ mr r5, r30 -/* 800A0A58 0009D9B8 4B FF FD D5 */ bl IsMapAreaValid__9CMapWorldCFRC6IWorldib -/* 800A0A5C 0009D9BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A0A60 0009D9C0 41 82 00 A0 */ beq lbl_800A0B00 -/* 800A0A64 0009D9C4 80 75 00 2C */ lwz r3, 0x2c(r21) -/* 800A0A68 0009D9C8 7C 03 F0 AE */ lbzx r0, r3, r30 -/* 800A0A6C 0009D9CC 28 00 00 00 */ cmplwi r0, 0 -/* 800A0A70 0009D9D0 40 82 00 90 */ bne lbl_800A0B00 -/* 800A0A74 0009D9D4 FC 20 F0 90 */ fmr f1, f30 -/* 800A0A78 0009D9D8 7F C4 F3 78 */ mr r4, r30 -/* 800A0A7C 0009D9DC FC 40 E8 90 */ fmr f2, f29 -/* 800A0A80 0009D9E0 38 61 00 14 */ addi r3, r1, 0x14 -/* 800A0A84 0009D9E4 38 BF 00 01 */ addi r5, r31, 1 -/* 800A0A88 0009D9E8 48 00 0E A9 */ bl __ct__Q29CMapWorld15CMapAreaBFSInfoFiiff -/* 800A0A8C 0009D9EC 80 19 00 04 */ lwz r0, 4(r25) -/* 800A0A90 0009D9F0 80 B9 00 08 */ lwz r5, 8(r25) -/* 800A0A94 0009D9F4 7C 00 28 00 */ cmpw r0, r5 -/* 800A0A98 0009D9F8 41 80 00 1C */ blt lbl_800A0AB4 -/* 800A0A9C 0009D9FC 2C 05 00 00 */ cmpwi r5, 0 -/* 800A0AA0 0009DA00 7F 23 CB 78 */ mr r3, r25 -/* 800A0AA4 0009DA04 38 80 00 04 */ li r4, 4 -/* 800A0AA8 0009DA08 41 82 00 08 */ beq lbl_800A0AB0 -/* 800A0AAC 0009DA0C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800A0AB0: -/* 800A0AB0 0009DA10 48 00 13 89 */ bl "reserve__Q24rstl64vectorFi" -lbl_800A0AB4: -/* 800A0AB4 0009DA14 80 19 00 04 */ lwz r0, 4(r25) -/* 800A0AB8 0009DA18 80 79 00 0C */ lwz r3, 0xc(r25) -/* 800A0ABC 0009DA1C 54 00 20 36 */ slwi r0, r0, 4 -/* 800A0AC0 0009DA20 7C 63 02 15 */ add. r3, r3, r0 -/* 800A0AC4 0009DA24 41 82 00 24 */ beq lbl_800A0AE8 -/* 800A0AC8 0009DA28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A0ACC 0009DA2C 90 03 00 00 */ stw r0, 0(r3) -/* 800A0AD0 0009DA30 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800A0AD4 0009DA34 90 03 00 04 */ stw r0, 4(r3) -/* 800A0AD8 0009DA38 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800A0ADC 0009DA3C D0 03 00 08 */ stfs f0, 8(r3) -/* 800A0AE0 0009DA40 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 800A0AE4 0009DA44 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_800A0AE8: -/* 800A0AE8 0009DA48 80 79 00 04 */ lwz r3, 4(r25) -/* 800A0AEC 0009DA4C 38 00 00 01 */ li r0, 1 -/* 800A0AF0 0009DA50 38 63 00 01 */ addi r3, r3, 1 -/* 800A0AF4 0009DA54 90 79 00 04 */ stw r3, 4(r25) -/* 800A0AF8 0009DA58 80 75 00 2C */ lwz r3, 0x2c(r21) -/* 800A0AFC 0009DA5C 7C 03 F1 AE */ stbx r0, r3, r30 -lbl_800A0B00: -/* 800A0B00 0009DA60 3B 5A 00 01 */ addi r26, r26, 1 -lbl_800A0B04: -/* 800A0B04 0009DA64 7F 63 DB 78 */ mr r3, r27 -/* 800A0B08 0009DA68 81 9B 00 00 */ lwz r12, 0(r27) -/* 800A0B0C 0009DA6C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800A0B10 0009DA70 7D 89 03 A6 */ mtctr r12 -/* 800A0B14 0009DA74 4E 80 04 21 */ bctrl -/* 800A0B18 0009DA78 7C 1A 18 00 */ cmpw r26, r3 -/* 800A0B1C 0009DA7C 41 80 FF 0C */ blt lbl_800A0A28 -lbl_800A0B20: -/* 800A0B20 0009DA80 3B BD 00 10 */ addi r29, r29, 0x10 -/* 800A0B24 0009DA84 3B 9C 00 01 */ addi r28, r28, 1 -/* 800A0B28 0009DA88 4B FF FE A0 */ b lbl_800A09C8 -lbl_800A0B2C: -/* 800A0B2C 0009DA8C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 800A0B30 0009DA90 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 800A0B34 0009DA94 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 800A0B38 0009DA98 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 800A0B3C 0009DA9C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 800A0B40 0009DAA0 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 800A0B44 0009DAA4 BA A1 00 44 */ lmw r21, 0x44(r1) -/* 800A0B48 0009DAA8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 800A0B4C 0009DAAC 7C 08 03 A6 */ mtlr r0 -/* 800A0B50 0009DAB0 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 800A0B54 0009DAB4 4E 80 00 20 */ blr - -.global Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb -Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb: -/* 800A0B58 0009DAB8 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800A0B5C 0009DABC 7C 08 02 A6 */ mflr r0 -/* 800A0B60 0009DAC0 90 01 00 84 */ stw r0, 0x84(r1) -/* 800A0B64 0009DAC4 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 800A0B68 0009DAC8 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 800A0B6C 0009DACC BF 21 00 54 */ stmw r25, 0x54(r1) -/* 800A0B70 0009DAD0 FC 00 08 18 */ frsp f0, f1 -/* 800A0B74 0009DAD4 C0 62 8C 20 */ lfs f3, lbl_805AA940@sda21(r2) -/* 800A0B78 0009DAD8 D0 21 00 08 */ stfs f1, 8(r1) -/* 800A0B7C 0009DADC 7C 79 1B 78 */ mr r25, r3 -/* 800A0B80 0009DAE0 7C 9A 23 78 */ mr r26, r4 -/* 800A0B84 0009DAE4 7C BB 2B 78 */ mr r27, r5 -/* 800A0B88 0009DAE8 FC 03 00 00 */ fcmpu cr0, f3, f0 -/* 800A0B8C 0009DAEC D0 41 00 0C */ stfs f2, 0xc(r1) -/* 800A0B90 0009DAF0 7C DC 33 78 */ mr r28, r6 -/* 800A0B94 0009DAF4 7C FD 3B 78 */ mr r29, r7 -/* 800A0B98 0009DAF8 40 82 00 10 */ bne lbl_800A0BA8 -/* 800A0B9C 0009DAFC FC 00 10 18 */ frsp f0, f2 -/* 800A0BA0 0009DB00 FC 03 00 00 */ fcmpu cr0, f3, f0 -/* 800A0BA4 0009DB04 41 82 02 48 */ beq lbl_800A0DEC -lbl_800A0BA8: -/* 800A0BA8 0009DB08 7F 23 CB 78 */ mr r3, r25 -/* 800A0BAC 0009DB0C 4B FF EA 81 */ bl ClearTraversedFlags__9CMapWorldCFv -/* 800A0BB0 0009DB10 C0 21 00 08 */ lfs f1, 8(r1) -/* 800A0BB4 0009DB14 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800A0BB8 0009DB18 83 FA 00 24 */ lwz r31, 0x24(r26) -/* 800A0BBC 0009DB1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800A0BC0 0009DB20 40 80 00 0C */ bge lbl_800A0BCC -/* 800A0BC4 0009DB24 38 61 00 0C */ addi r3, r1, 0xc -/* 800A0BC8 0009DB28 48 00 00 08 */ b lbl_800A0BD0 -lbl_800A0BCC: -/* 800A0BCC 0009DB2C 38 61 00 08 */ addi r3, r1, 8 -lbl_800A0BD0: -/* 800A0BD0 0009DB30 C0 23 00 00 */ lfs f1, 0(r3) -/* 800A0BD4 0009DB34 48 27 46 7D */ bl CeilingF__5CMathFf -/* 800A0BD8 0009DB38 FC 00 08 1E */ fctiwz f0, f1 -/* 800A0BDC 0009DB3C 38 00 00 00 */ li r0, 0 -/* 800A0BE0 0009DB40 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A0BE4 0009DB44 38 61 00 30 */ addi r3, r1, 0x30 -/* 800A0BE8 0009DB48 80 99 00 04 */ lwz r4, 4(r25) -/* 800A0BEC 0009DB4C D8 01 00 40 */ stfd f0, 0x40(r1) -/* 800A0BF0 0009DB50 90 01 00 38 */ stw r0, 0x38(r1) -/* 800A0BF4 0009DB54 83 C1 00 44 */ lwz r30, 0x44(r1) -/* 800A0BF8 0009DB58 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800A0BFC 0009DB5C 48 00 12 3D */ bl "reserve__Q24rstl64vectorFi" -/* 800A0C00 0009DB60 7C 1B E0 00 */ cmpw r27, r28 -/* 800A0C04 0009DB64 41 82 01 6C */ beq lbl_800A0D70 -/* 800A0C08 0009DB68 80 B9 00 2C */ lwz r5, 0x2c(r25) -/* 800A0C0C 0009DB6C 38 00 00 01 */ li r0, 1 -/* 800A0C10 0009DB70 7F 23 CB 78 */ mr r3, r25 -/* 800A0C14 0009DB74 7F E4 FB 78 */ mr r4, r31 -/* 800A0C18 0009DB78 7C 05 E1 AE */ stbx r0, r5, r28 -/* 800A0C1C 0009DB7C 7F 65 DB 78 */ mr r5, r27 -/* 800A0C20 0009DB80 7F C6 F3 78 */ mr r6, r30 -/* 800A0C24 0009DB84 39 01 00 30 */ addi r8, r1, 0x30 -/* 800A0C28 0009DB88 C0 21 00 08 */ lfs f1, 8(r1) -/* 800A0C2C 0009DB8C 38 E0 00 01 */ li r7, 1 -/* 800A0C30 0009DB90 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 800A0C34 0009DB94 4B FF FC A1 */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" -/* 800A0C38 0009DB98 C0 21 00 08 */ lfs f1, 8(r1) -/* 800A0C3C 0009DB9C C0 02 8C 30 */ lfs f0, lbl_805AA950@sda21(r2) -/* 800A0C40 0009DBA0 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800A0C44 0009DBA4 48 27 46 0D */ bl CeilingF__5CMathFf -/* 800A0C48 0009DBA8 FF E0 08 90 */ fmr f31, f1 -/* 800A0C4C 0009DBAC C0 21 00 08 */ lfs f1, 8(r1) -/* 800A0C50 0009DBB0 48 27 46 4D */ bl FloorF__5CMathFf -/* 800A0C54 0009DBB4 C0 01 00 08 */ lfs f0, 8(r1) -/* 800A0C58 0009DBB8 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800A0C5C 0009DBBC 40 82 00 0C */ bne lbl_800A0C68 -/* 800A0C60 0009DBC0 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 800A0C64 0009DBC4 48 00 00 1C */ b lbl_800A0C80 -lbl_800A0C68: -/* 800A0C68 0009DBC8 FC 20 00 90 */ fmr f1, f0 -/* 800A0C6C 0009DBCC C8 42 8C 48 */ lfd f2, lbl_805AA968@sda21(r2) -/* 800A0C70 0009DBD0 48 2F 40 3D */ bl fmod -/* 800A0C74 0009DBD4 FC 20 08 18 */ frsp f1, f1 -/* 800A0C78 0009DBD8 C0 02 8C 30 */ lfs f0, lbl_805AA950@sda21(r2) -/* 800A0C7C 0009DBDC EC 00 08 28 */ fsubs f0, f0, f1 -lbl_800A0C80: -/* 800A0C80 0009DBE0 EC 5F 00 2A */ fadds f2, f31, f0 -/* 800A0C84 0009DBE4 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 800A0C88 0009DBE8 C0 02 8C 30 */ lfs f0, lbl_805AA950@sda21(r2) -/* 800A0C8C 0009DBEC EC 21 00 28 */ fsubs f1, f1, f0 -/* 800A0C90 0009DBF0 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 800A0C94 0009DBF4 48 27 45 BD */ bl CeilingF__5CMathFf -/* 800A0C98 0009DBF8 FF E0 08 90 */ fmr f31, f1 -/* 800A0C9C 0009DBFC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 800A0CA0 0009DC00 48 27 45 FD */ bl FloorF__5CMathFf -/* 800A0CA4 0009DC04 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800A0CA8 0009DC08 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800A0CAC 0009DC0C 40 82 00 0C */ bne lbl_800A0CB8 -/* 800A0CB0 0009DC10 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 800A0CB4 0009DC14 48 00 00 1C */ b lbl_800A0CD0 -lbl_800A0CB8: -/* 800A0CB8 0009DC18 FC 20 00 90 */ fmr f1, f0 -/* 800A0CBC 0009DC1C C8 42 8C 48 */ lfd f2, lbl_805AA968@sda21(r2) -/* 800A0CC0 0009DC20 48 2F 3F ED */ bl fmod -/* 800A0CC4 0009DC24 FC 20 08 18 */ frsp f1, f1 -/* 800A0CC8 0009DC28 C0 02 8C 30 */ lfs f0, lbl_805AA950@sda21(r2) -/* 800A0CCC 0009DC2C EC 00 08 28 */ fsubs f0, f0, f1 -lbl_800A0CD0: -/* 800A0CD0 0009DC30 EC 3F 00 2A */ fadds f1, f31, f0 -/* 800A0CD4 0009DC34 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800A0CD8 0009DC38 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800A0CDC 0009DC3C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 800A0CE0 0009DC40 40 80 00 0C */ bge lbl_800A0CEC -/* 800A0CE4 0009DC44 38 61 00 28 */ addi r3, r1, 0x28 -/* 800A0CE8 0009DC48 48 00 00 08 */ b lbl_800A0CF0 -lbl_800A0CEC: -/* 800A0CEC 0009DC4C 38 61 00 2C */ addi r3, r1, 0x2c -lbl_800A0CF0: -/* 800A0CF0 0009DC50 C0 23 00 00 */ lfs f1, 0(r3) -/* 800A0CF4 0009DC54 48 27 45 5D */ bl CeilingF__5CMathFf -/* 800A0CF8 0009DC58 93 81 00 24 */ stw r28, 0x24(r1) -/* 800A0CFC 0009DC5C 7F E3 FB 78 */ mr r3, r31 -/* 800A0D00 0009DC60 FC 00 08 1E */ fctiwz f0, f1 -/* 800A0D04 0009DC64 38 81 00 24 */ addi r4, r1, 0x24 -/* 800A0D08 0009DC68 81 9F 00 00 */ lwz r12, 0(r31) -/* 800A0D0C 0009DC6C 93 81 00 20 */ stw r28, 0x20(r1) -/* 800A0D10 0009DC70 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800A0D14 0009DC74 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 800A0D18 0009DC78 83 C1 00 44 */ lwz r30, 0x44(r1) -/* 800A0D1C 0009DC7C 7D 89 03 A6 */ mtctr r12 -/* 800A0D20 0009DC80 4E 80 04 21 */ bctrl -/* 800A0D24 0009DC84 81 83 00 00 */ lwz r12, 0(r3) -/* 800A0D28 0009DC88 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800A0D2C 0009DC8C 7D 89 03 A6 */ mtctr r12 -/* 800A0D30 0009DC90 4E 80 04 21 */ bctrl -/* 800A0D34 0009DC94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A0D38 0009DC98 41 82 00 5C */ beq lbl_800A0D94 -/* 800A0D3C 0009DC9C 80 B9 00 2C */ lwz r5, 0x2c(r25) -/* 800A0D40 0009DCA0 38 00 00 00 */ li r0, 0 -/* 800A0D44 0009DCA4 7F 23 CB 78 */ mr r3, r25 -/* 800A0D48 0009DCA8 7F E4 FB 78 */ mr r4, r31 -/* 800A0D4C 0009DCAC 7C 05 E1 AE */ stbx r0, r5, r28 -/* 800A0D50 0009DCB0 7F 85 E3 78 */ mr r5, r28 -/* 800A0D54 0009DCB4 7F C6 F3 78 */ mr r6, r30 -/* 800A0D58 0009DCB8 39 01 00 30 */ addi r8, r1, 0x30 -/* 800A0D5C 0009DCBC C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 800A0D60 0009DCC0 38 E0 00 01 */ li r7, 1 -/* 800A0D64 0009DCC4 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 800A0D68 0009DCC8 4B FF FB 6D */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" -/* 800A0D6C 0009DCCC 48 00 00 28 */ b lbl_800A0D94 -lbl_800A0D70: -/* 800A0D70 0009DCD0 C0 21 00 08 */ lfs f1, 8(r1) -/* 800A0D74 0009DCD4 7F 23 CB 78 */ mr r3, r25 -/* 800A0D78 0009DCD8 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 800A0D7C 0009DCDC 7F E4 FB 78 */ mr r4, r31 -/* 800A0D80 0009DCE0 7F 65 DB 78 */ mr r5, r27 -/* 800A0D84 0009DCE4 7F C6 F3 78 */ mr r6, r30 -/* 800A0D88 0009DCE8 39 01 00 30 */ addi r8, r1, 0x30 -/* 800A0D8C 0009DCEC 38 E0 00 01 */ li r7, 1 -/* 800A0D90 0009DCF0 4B FF FB 45 */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" -lbl_800A0D94: -/* 800A0D94 0009DCF4 7F 23 CB 78 */ mr r3, r25 -/* 800A0D98 0009DCF8 7F 44 D3 78 */ mr r4, r26 -/* 800A0D9C 0009DCFC 7F 65 DB 78 */ mr r5, r27 -/* 800A0DA0 0009DD00 7F A7 EB 78 */ mr r7, r29 -/* 800A0DA4 0009DD04 38 C1 00 30 */ addi r6, r1, 0x30 -/* 800A0DA8 0009DD08 4B FF ED 61 */ bl "DrawAreas__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiRCQ24rstl64vectorb" -/* 800A0DAC 0009DD0C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A0DB0 0009DD10 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800A0DB4 0009DD14 54 00 20 36 */ slwi r0, r0, 4 -/* 800A0DB8 0009DD18 7C 03 02 14 */ add r0, r3, r0 -/* 800A0DBC 0009DD1C 90 61 00 14 */ stw r3, 0x14(r1) -/* 800A0DC0 0009DD20 7C 64 1B 78 */ mr r4, r3 -/* 800A0DC4 0009DD24 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800A0DC8 0009DD28 90 01 00 18 */ stw r0, 0x18(r1) -/* 800A0DCC 0009DD2C 90 61 00 10 */ stw r3, 0x10(r1) -/* 800A0DD0 0009DD30 48 00 00 08 */ b lbl_800A0DD8 -lbl_800A0DD4: -/* 800A0DD4 0009DD34 38 84 00 10 */ addi r4, r4, 0x10 -lbl_800A0DD8: -/* 800A0DD8 0009DD38 7C 04 00 40 */ cmplw r4, r0 -/* 800A0DDC 0009DD3C 40 82 FF F8 */ bne lbl_800A0DD4 -/* 800A0DE0 0009DD40 28 03 00 00 */ cmplwi r3, 0 -/* 800A0DE4 0009DD44 41 82 00 08 */ beq lbl_800A0DEC -/* 800A0DE8 0009DD48 48 27 4B 49 */ bl Free__7CMemoryFPCv -lbl_800A0DEC: -/* 800A0DEC 0009DD4C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 800A0DF0 0009DD50 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 800A0DF4 0009DD54 BB 21 00 54 */ lmw r25, 0x54(r1) -/* 800A0DF8 0009DD58 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800A0DFC 0009DD5C 7C 08 03 A6 */ mtlr r0 -/* 800A0E00 0009DD60 38 21 00 80 */ addi r1, r1, 0x80 -/* 800A0E04 0009DD64 4E 80 00 20 */ blr - -.global GetVisibleAreas__9CMapWorldCFRC6IWorldRC13CMapWorldInfo -GetVisibleAreas__9CMapWorldCFRC6IWorldRC13CMapWorldInfo: -/* 800A0E08 0009DD68 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800A0E0C 0009DD6C 7C 08 02 A6 */ mflr r0 -/* 800A0E10 0009DD70 90 01 00 64 */ stw r0, 0x64(r1) -/* 800A0E14 0009DD74 38 00 00 00 */ li r0, 0 -/* 800A0E18 0009DD78 BF 21 00 44 */ stmw r25, 0x44(r1) -/* 800A0E1C 0009DD7C 7C 9C 23 78 */ mr r28, r4 -/* 800A0E20 0009DD80 7C 7B 1B 78 */ mr r27, r3 -/* 800A0E24 0009DD84 7C BD 2B 78 */ mr r29, r5 -/* 800A0E28 0009DD88 7C DE 33 78 */ mr r30, r6 -/* 800A0E2C 0009DD8C 38 61 00 28 */ addi r3, r1, 0x28 -/* 800A0E30 0009DD90 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800A0E34 0009DD94 80 84 00 04 */ lwz r4, 4(r4) -/* 800A0E38 0009DD98 90 01 00 30 */ stw r0, 0x30(r1) -/* 800A0E3C 0009DD9C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A0E40 0009DDA0 4B FB 8E 69 */ bl "reserve__Q24rstl36vectorFi" -/* 800A0E44 0009DDA4 3B E0 00 00 */ li r31, 0 -/* 800A0E48 0009DDA8 48 00 00 C4 */ b lbl_800A0F0C -lbl_800A0E4C: -/* 800A0E4C 0009DDAC 7F 83 E3 78 */ mr r3, r28 -/* 800A0E50 0009DDB0 7F A4 EB 78 */ mr r4, r29 -/* 800A0E54 0009DDB4 7F E5 FB 78 */ mr r5, r31 -/* 800A0E58 0009DDB8 38 C0 00 01 */ li r6, 1 -/* 800A0E5C 0009DDBC 4B FF F9 D1 */ bl IsMapAreaValid__9CMapWorldCFRC6IWorldib -/* 800A0E60 0009DDC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A0E64 0009DDC4 41 82 00 A4 */ beq lbl_800A0F08 -/* 800A0E68 0009DDC8 93 E1 00 18 */ stw r31, 0x18(r1) -/* 800A0E6C 0009DDCC 7F 83 E3 78 */ mr r3, r28 -/* 800A0E70 0009DDD0 7F E4 FB 78 */ mr r4, r31 -/* 800A0E74 0009DDD4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800A0E78 0009DDD8 93 E1 00 20 */ stw r31, 0x20(r1) -/* 800A0E7C 0009DDDC 93 E1 00 24 */ stw r31, 0x24(r1) -/* 800A0E80 0009DDE0 48 00 05 39 */ bl GetMapArea__9CMapWorldCFi -/* 800A0E84 0009DDE4 7C 79 1B 78 */ mr r25, r3 -/* 800A0E88 0009DDE8 7F C3 F3 78 */ mr r3, r30 -/* 800A0E8C 0009DDEC 38 81 00 1C */ addi r4, r1, 0x1c -/* 800A0E90 0009DDF0 48 0C 6E 75 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId -/* 800A0E94 0009DDF4 7C 7A 1B 78 */ mr r26, r3 -/* 800A0E98 0009DDF8 7F C3 F3 78 */ mr r3, r30 -/* 800A0E9C 0009DDFC 38 81 00 24 */ addi r4, r1, 0x24 -/* 800A0EA0 0009DE00 48 0C 75 A1 */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId -/* 800A0EA4 0009DE04 7C 64 1B 78 */ mr r4, r3 -/* 800A0EA8 0009DE08 7F 23 CB 78 */ mr r3, r25 -/* 800A0EAC 0009DE0C 7F 45 D3 78 */ mr r5, r26 -/* 800A0EB0 0009DE10 4B FD FE 7D */ bl GetIsVisibleToAutoMapper__8CMapAreaCFbb -/* 800A0EB4 0009DE14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A0EB8 0009DE18 41 82 00 50 */ beq lbl_800A0F08 -/* 800A0EBC 0009DE1C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800A0EC0 0009DE20 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 800A0EC4 0009DE24 7C 00 28 00 */ cmpw r0, r5 -/* 800A0EC8 0009DE28 41 80 00 1C */ blt lbl_800A0EE4 -/* 800A0ECC 0009DE2C 2C 05 00 00 */ cmpwi r5, 0 -/* 800A0ED0 0009DE30 38 61 00 28 */ addi r3, r1, 0x28 -/* 800A0ED4 0009DE34 38 80 00 04 */ li r4, 4 -/* 800A0ED8 0009DE38 41 82 00 08 */ beq lbl_800A0EE0 -/* 800A0EDC 0009DE3C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800A0EE0: -/* 800A0EE0 0009DE40 4B FB 8D C9 */ bl "reserve__Q24rstl36vectorFi" -lbl_800A0EE4: -/* 800A0EE4 0009DE44 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800A0EE8 0009DE48 80 61 00 34 */ lwz r3, 0x34(r1) -/* 800A0EEC 0009DE4C 54 00 10 3A */ slwi r0, r0, 2 -/* 800A0EF0 0009DE50 7C 63 02 15 */ add. r3, r3, r0 -/* 800A0EF4 0009DE54 41 82 00 08 */ beq lbl_800A0EFC -/* 800A0EF8 0009DE58 93 E3 00 00 */ stw r31, 0(r3) -lbl_800A0EFC: -/* 800A0EFC 0009DE5C 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800A0F00 0009DE60 38 03 00 01 */ addi r0, r3, 1 -/* 800A0F04 0009DE64 90 01 00 2C */ stw r0, 0x2c(r1) -lbl_800A0F08: -/* 800A0F08 0009DE68 3B FF 00 01 */ addi r31, r31, 1 -lbl_800A0F0C: -/* 800A0F0C 0009DE6C 80 1C 00 04 */ lwz r0, 4(r28) -/* 800A0F10 0009DE70 7C 1F 00 00 */ cmpw r31, r0 -/* 800A0F14 0009DE74 41 80 FF 38 */ blt lbl_800A0E4C -/* 800A0F18 0009DE78 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800A0F1C 0009DE7C 90 1B 00 04 */ stw r0, 4(r27) -/* 800A0F20 0009DE80 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800A0F24 0009DE84 90 1B 00 08 */ stw r0, 8(r27) -/* 800A0F28 0009DE88 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800A0F2C 0009DE8C 2C 00 00 00 */ cmpwi r0, 0 -/* 800A0F30 0009DE90 40 82 00 1C */ bne lbl_800A0F4C -/* 800A0F34 0009DE94 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800A0F38 0009DE98 2C 00 00 00 */ cmpwi r0, 0 -/* 800A0F3C 0009DE9C 40 82 00 10 */ bne lbl_800A0F4C -/* 800A0F40 0009DEA0 38 00 00 00 */ li r0, 0 -/* 800A0F44 0009DEA4 90 1B 00 0C */ stw r0, 0xc(r27) -/* 800A0F48 0009DEA8 48 00 00 64 */ b lbl_800A0FAC -lbl_800A0F4C: -/* 800A0F4C 0009DEAC 80 1B 00 08 */ lwz r0, 8(r27) -/* 800A0F50 0009DEB0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 800A0F54 0009DEB4 40 82 00 10 */ bne lbl_800A0F64 -/* 800A0F58 0009DEB8 38 00 00 00 */ li r0, 0 -/* 800A0F5C 0009DEBC 90 1B 00 0C */ stw r0, 0xc(r27) -/* 800A0F60 0009DEC0 48 00 00 18 */ b lbl_800A0F78 -lbl_800A0F64: -/* 800A0F64 0009DEC4 3C 80 80 3D */ lis r4, lbl_803CD960@ha -/* 800A0F68 0009DEC8 38 A0 00 00 */ li r5, 0 -/* 800A0F6C 0009DECC 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l -/* 800A0F70 0009DED0 48 27 48 A9 */ bl __nwa__FUlPCcPCc -/* 800A0F74 0009DED4 90 7B 00 0C */ stw r3, 0xc(r27) -lbl_800A0F78: -/* 800A0F78 0009DED8 80 1B 00 04 */ lwz r0, 4(r27) -/* 800A0F7C 0009DEDC 80 81 00 34 */ lwz r4, 0x34(r1) -/* 800A0F80 0009DEE0 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 800A0F84 0009DEE4 7C 09 03 A6 */ mtctr r0 -/* 800A0F88 0009DEE8 2C 00 00 00 */ cmpwi r0, 0 -/* 800A0F8C 0009DEEC 40 81 00 20 */ ble lbl_800A0FAC -lbl_800A0F90: -/* 800A0F90 0009DEF0 28 03 00 00 */ cmplwi r3, 0 -/* 800A0F94 0009DEF4 41 82 00 0C */ beq lbl_800A0FA0 -/* 800A0F98 0009DEF8 80 04 00 00 */ lwz r0, 0(r4) -/* 800A0F9C 0009DEFC 90 03 00 00 */ stw r0, 0(r3) -lbl_800A0FA0: -/* 800A0FA0 0009DF00 38 63 00 04 */ addi r3, r3, 4 -/* 800A0FA4 0009DF04 38 84 00 04 */ addi r4, r4, 4 -/* 800A0FA8 0009DF08 42 00 FF E8 */ bdnz lbl_800A0F90 -lbl_800A0FAC: -/* 800A0FAC 0009DF0C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800A0FB0 0009DF10 80 61 00 34 */ lwz r3, 0x34(r1) -/* 800A0FB4 0009DF14 54 00 10 3A */ slwi r0, r0, 2 -/* 800A0FB8 0009DF18 7C 03 02 14 */ add r0, r3, r0 -/* 800A0FBC 0009DF1C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800A0FC0 0009DF20 7C 64 1B 78 */ mr r4, r3 -/* 800A0FC4 0009DF24 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A0FC8 0009DF28 90 01 00 10 */ stw r0, 0x10(r1) -/* 800A0FCC 0009DF2C 90 61 00 08 */ stw r3, 8(r1) -/* 800A0FD0 0009DF30 48 00 00 08 */ b lbl_800A0FD8 -lbl_800A0FD4: -/* 800A0FD4 0009DF34 38 84 00 04 */ addi r4, r4, 4 -lbl_800A0FD8: -/* 800A0FD8 0009DF38 7C 04 00 40 */ cmplw r4, r0 -/* 800A0FDC 0009DF3C 40 82 FF F8 */ bne lbl_800A0FD4 -/* 800A0FE0 0009DF40 28 03 00 00 */ cmplwi r3, 0 -/* 800A0FE4 0009DF44 41 82 00 08 */ beq lbl_800A0FEC -/* 800A0FE8 0009DF48 48 27 49 49 */ bl Free__7CMemoryFPCv -lbl_800A0FEC: -/* 800A0FEC 0009DF4C BB 21 00 44 */ lmw r25, 0x44(r1) -/* 800A0FF0 0009DF50 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800A0FF4 0009DF54 7C 08 03 A6 */ mtlr r0 -/* 800A0FF8 0009DF58 38 21 00 60 */ addi r1, r1, 0x60 -/* 800A0FFC 0009DF5C 4E 80 00 20 */ blr - -.global GetCurrentMapAreaDepth__9CMapWorldCFRC6IWorldi -GetCurrentMapAreaDepth__9CMapWorldCFRC6IWorldi: -/* 800A1000 0009DF60 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800A1004 0009DF64 7C 08 02 A6 */ mflr r0 -/* 800A1008 0009DF68 90 01 00 54 */ stw r0, 0x54(r1) -/* 800A100C 0009DF6C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800A1010 0009DF70 7C BF 2B 78 */ mr r31, r5 -/* 800A1014 0009DF74 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800A1018 0009DF78 7C 9E 23 78 */ mr r30, r4 -/* 800A101C 0009DF7C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 800A1020 0009DF80 7C 7D 1B 78 */ mr r29, r3 -/* 800A1024 0009DF84 4B FF E6 09 */ bl ClearTraversedFlags__9CMapWorldCFv -/* 800A1028 0009DF88 38 00 00 00 */ li r0, 0 -/* 800A102C 0009DF8C 80 9D 00 04 */ lwz r4, 4(r29) -/* 800A1030 0009DF90 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800A1034 0009DF94 38 61 00 28 */ addi r3, r1, 0x28 -/* 800A1038 0009DF98 90 01 00 30 */ stw r0, 0x30(r1) -/* 800A103C 0009DF9C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A1040 0009DFA0 48 00 0D F9 */ bl "reserve__Q24rstl64vectorFi" -/* 800A1044 0009DFA4 C0 22 8C 50 */ lfs f1, lbl_805AA970@sda21(r2) -/* 800A1048 0009DFA8 7F A3 EB 78 */ mr r3, r29 -/* 800A104C 0009DFAC 7F C4 F3 78 */ mr r4, r30 -/* 800A1050 0009DFB0 7F E5 FB 78 */ mr r5, r31 -/* 800A1054 0009DFB4 FC 40 08 90 */ fmr f2, f1 -/* 800A1058 0009DFB8 39 01 00 28 */ addi r8, r1, 0x28 -/* 800A105C 0009DFBC 38 C0 27 0F */ li r6, 0x270f -/* 800A1060 0009DFC0 38 E0 00 00 */ li r7, 0 -/* 800A1064 0009DFC4 4B FF F8 71 */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" -/* 800A1068 0009DFC8 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 800A106C 0009DFCC 2C 05 00 00 */ cmpwi r5, 0 -/* 800A1070 0009DFD0 40 82 00 48 */ bne lbl_800A10B8 -/* 800A1074 0009DFD4 80 61 00 34 */ lwz r3, 0x34(r1) -/* 800A1078 0009DFD8 54 A0 20 36 */ slwi r0, r5, 4 -/* 800A107C 0009DFDC 7C 03 02 14 */ add r0, r3, r0 -/* 800A1080 0009DFE0 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800A1084 0009DFE4 7C 64 1B 78 */ mr r4, r3 -/* 800A1088 0009DFE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A108C 0009DFEC 90 01 00 20 */ stw r0, 0x20(r1) -/* 800A1090 0009DFF0 90 61 00 18 */ stw r3, 0x18(r1) -/* 800A1094 0009DFF4 48 00 00 08 */ b lbl_800A109C -lbl_800A1098: -/* 800A1098 0009DFF8 38 84 00 10 */ addi r4, r4, 0x10 -lbl_800A109C: -/* 800A109C 0009DFFC 7C 04 00 40 */ cmplw r4, r0 -/* 800A10A0 0009E000 40 82 FF F8 */ bne lbl_800A1098 -/* 800A10A4 0009E004 28 03 00 00 */ cmplwi r3, 0 -/* 800A10A8 0009E008 41 82 00 08 */ beq lbl_800A10B0 -/* 800A10AC 0009E00C 48 27 48 85 */ bl Free__7CMemoryFPCv -lbl_800A10B0: -/* 800A10B0 0009E010 38 60 00 00 */ li r3, 0 -/* 800A10B4 0009E014 48 00 00 54 */ b lbl_800A1108 -lbl_800A10B8: -/* 800A10B8 0009E018 80 61 00 34 */ lwz r3, 0x34(r1) -/* 800A10BC 0009E01C 38 05 FF FF */ addi r0, r5, -1 -/* 800A10C0 0009E020 54 04 20 36 */ slwi r4, r0, 4 -/* 800A10C4 0009E024 54 A0 20 36 */ slwi r0, r5, 4 -/* 800A10C8 0009E028 7C 03 02 14 */ add r0, r3, r0 -/* 800A10CC 0009E02C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800A10D0 0009E030 7C 83 22 14 */ add r4, r3, r4 -/* 800A10D4 0009E034 7C 65 1B 78 */ mr r5, r3 -/* 800A10D8 0009E038 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A10DC 0009E03C 83 E4 00 04 */ lwz r31, 4(r4) -/* 800A10E0 0009E040 90 01 00 10 */ stw r0, 0x10(r1) -/* 800A10E4 0009E044 90 61 00 08 */ stw r3, 8(r1) -/* 800A10E8 0009E048 48 00 00 08 */ b lbl_800A10F0 -lbl_800A10EC: -/* 800A10EC 0009E04C 38 A5 00 10 */ addi r5, r5, 0x10 -lbl_800A10F0: -/* 800A10F0 0009E050 7C 05 00 40 */ cmplw r5, r0 -/* 800A10F4 0009E054 40 82 FF F8 */ bne lbl_800A10EC -/* 800A10F8 0009E058 28 03 00 00 */ cmplwi r3, 0 -/* 800A10FC 0009E05C 41 82 00 08 */ beq lbl_800A1104 -/* 800A1100 0009E060 48 27 48 31 */ bl Free__7CMemoryFPCv -lbl_800A1104: -/* 800A1104 0009E064 7F E3 FB 78 */ mr r3, r31 -lbl_800A1108: -/* 800A1108 0009E068 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800A110C 0009E06C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800A1110 0009E070 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800A1114 0009E074 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 800A1118 0009E078 7C 08 03 A6 */ mtlr r0 -/* 800A111C 0009E07C 38 21 00 50 */ addi r1, r1, 0x50 -/* 800A1120 0009E080 4E 80 00 20 */ blr - -.global MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList -MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList: -/* 800A1124 0009E084 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800A1128 0009E088 38 C3 00 14 */ addi r6, r3, 0x14 -/* 800A112C 0009E08C 38 E0 00 00 */ li r7, 0 -/* 800A1130 0009E090 54 00 10 3A */ slwi r0, r0, 2 -/* 800A1134 0009E094 7C 66 00 2E */ lwzx r3, r6, r0 -lbl_800A1138: -/* 800A1138 0009E098 7C 03 20 40 */ cmplw r3, r4 -/* 800A113C 0009E09C 40 82 00 20 */ bne lbl_800A115C -/* 800A1140 0009E0A0 28 07 00 00 */ cmplwi r7, 0 -/* 800A1144 0009E0A4 80 63 00 14 */ lwz r3, 0x14(r3) -/* 800A1148 0009E0A8 40 82 00 0C */ bne lbl_800A1154 -/* 800A114C 0009E0AC 7C 66 01 2E */ stwx r3, r6, r0 -/* 800A1150 0009E0B0 48 00 00 18 */ b lbl_800A1168 -lbl_800A1154: -/* 800A1154 0009E0B4 90 67 00 14 */ stw r3, 0x14(r7) -/* 800A1158 0009E0B8 48 00 00 10 */ b lbl_800A1168 -lbl_800A115C: -/* 800A115C 0009E0BC 7C 67 1B 78 */ mr r7, r3 -/* 800A1160 0009E0C0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 800A1164 0009E0C4 4B FF FF D4 */ b lbl_800A1138 -lbl_800A1168: -/* 800A1168 0009E0C8 54 A3 10 3A */ slwi r3, r5, 2 -/* 800A116C 0009E0CC 7C 06 18 2E */ lwzx r0, r6, r3 -/* 800A1170 0009E0D0 90 04 00 14 */ stw r0, 0x14(r4) -/* 800A1174 0009E0D4 90 A4 00 10 */ stw r5, 0x10(r4) -/* 800A1178 0009E0D8 7C 86 19 2E */ stwx r4, r6, r3 -/* 800A117C 0009E0DC 4E 80 00 20 */ blr - -.global IsMapAreasStreaming__9CMapWorldCFv -IsMapAreasStreaming__9CMapWorldCFv: -/* 800A1180 0009E0E0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800A1184 0009E0E4 7C 08 02 A6 */ mflr r0 -/* 800A1188 0009E0E8 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A118C 0009E0EC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800A1190 0009E0F0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800A1194 0009E0F4 3B C0 00 00 */ li r30, 0 -/* 800A1198 0009E0F8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800A119C 0009E0FC 93 81 00 10 */ stw r28, 0x10(r1) -/* 800A11A0 0009E100 7C 7C 1B 78 */ mr r28, r3 -/* 800A11A4 0009E104 83 A3 00 18 */ lwz r29, 0x18(r3) -/* 800A11A8 0009E108 48 00 00 34 */ b lbl_800A11DC -lbl_800A11AC: -/* 800A11AC 0009E10C 83 FD 00 14 */ lwz r31, 0x14(r29) -/* 800A11B0 0009E110 7F A3 EB 78 */ mr r3, r29 -/* 800A11B4 0009E114 48 00 08 39 */ bl IsLoaded__Q29CMapWorld12CMapAreaDataCFv -/* 800A11B8 0009E118 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A11BC 0009E11C 41 82 00 18 */ beq lbl_800A11D4 -/* 800A11C0 0009E120 7F 83 E3 78 */ mr r3, r28 -/* 800A11C4 0009E124 7F A4 EB 78 */ mr r4, r29 -/* 800A11C8 0009E128 38 A0 00 00 */ li r5, 0 -/* 800A11CC 0009E12C 4B FF FF 59 */ bl MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList -/* 800A11D0 0009E130 48 00 00 08 */ b lbl_800A11D8 -lbl_800A11D4: -/* 800A11D4 0009E134 3B C0 00 01 */ li r30, 1 -lbl_800A11D8: -/* 800A11D8 0009E138 7F FD FB 78 */ mr r29, r31 -lbl_800A11DC: -/* 800A11DC 0009E13C 28 1D 00 00 */ cmplwi r29, 0 -/* 800A11E0 0009E140 40 82 FF CC */ bne lbl_800A11AC -/* 800A11E4 0009E144 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A11E8 0009E148 57 C3 06 3E */ clrlwi r3, r30, 0x18 -/* 800A11EC 0009E14C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800A11F0 0009E150 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800A11F4 0009E154 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800A11F8 0009E158 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800A11FC 0009E15C 7C 08 03 A6 */ mtlr r0 -/* 800A1200 0009E160 38 21 00 20 */ addi r1, r1, 0x20 -/* 800A1204 0009E164 4E 80 00 20 */ blr - -.global SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii -SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii: -/* 800A1208 0009E168 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800A120C 0009E16C 7C 08 02 A6 */ mflr r0 -/* 800A1210 0009E170 90 01 00 44 */ stw r0, 0x44(r1) -/* 800A1214 0009E174 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 800A1218 0009E178 7C 7F 1B 78 */ mr r31, r3 -/* 800A121C 0009E17C 7C 9D 23 78 */ mr r29, r4 -/* 800A1220 0009E180 7C BC 2B 78 */ mr r28, r5 -/* 800A1224 0009E184 7C DB 33 78 */ mr r27, r6 -/* 800A1228 0009E188 4B FF E4 05 */ bl ClearTraversedFlags__9CMapWorldCFv -/* 800A122C 0009E18C 38 00 00 00 */ li r0, 0 -/* 800A1230 0009E190 80 9F 00 04 */ lwz r4, 4(r31) -/* 800A1234 0009E194 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800A1238 0009E198 38 61 00 18 */ addi r3, r1, 0x18 -/* 800A123C 0009E19C 90 01 00 20 */ stw r0, 0x20(r1) -/* 800A1240 0009E1A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A1244 0009E1A4 48 00 0B F5 */ bl "reserve__Q24rstl64vectorFi" -/* 800A1248 0009E1A8 C0 22 8C 50 */ lfs f1, lbl_805AA970@sda21(r2) -/* 800A124C 0009E1AC 7F E3 FB 78 */ mr r3, r31 -/* 800A1250 0009E1B0 7F A4 EB 78 */ mr r4, r29 -/* 800A1254 0009E1B4 7F 85 E3 78 */ mr r5, r28 -/* 800A1258 0009E1B8 FC 40 08 90 */ fmr f2, f1 -/* 800A125C 0009E1BC 7F 66 DB 78 */ mr r6, r27 -/* 800A1260 0009E1C0 39 01 00 18 */ addi r8, r1, 0x18 -/* 800A1264 0009E1C4 38 E0 00 00 */ li r7, 0 -/* 800A1268 0009E1C8 4B FF F6 6D */ bl "DoBFS__9CMapWorldCFRC6IWorldiiffbRQ24rstl64vector" -/* 800A126C 0009E1CC 3B 80 00 00 */ li r28, 0 -/* 800A1270 0009E1D0 3B BF 00 14 */ addi r29, r31, 0x14 -lbl_800A1274: -/* 800A1274 0009E1D4 7C 1C 00 D0 */ neg r0, r28 -/* 800A1278 0009E1D8 7C 00 E3 78 */ or r0, r0, r28 -/* 800A127C 0009E1DC 54 00 1F 7A */ rlwinm r0, r0, 3, 0x1d, 0x1d -/* 800A1280 0009E1E0 7F 7D 00 2E */ lwzx r27, r29, r0 -/* 800A1284 0009E1E4 48 00 00 3C */ b lbl_800A12C0 -lbl_800A1288: -/* 800A1288 0009E1E8 83 DB 00 14 */ lwz r30, 0x14(r27) -/* 800A128C 0009E1EC 7F E3 FB 78 */ mr r3, r31 -/* 800A1290 0009E1F0 7F 64 DB 78 */ mr r4, r27 -/* 800A1294 0009E1F4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 800A1298 0009E1F8 48 00 00 D9 */ bl "IsMapAreaInBFSInfoVector__9CMapWorldCFPCQ29CMapWorld12CMapAreaDataRCQ24rstl64vector" -/* 800A129C 0009E1FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800A12A0 0009E200 40 82 00 1C */ bne lbl_800A12BC -/* 800A12A4 0009E204 7F 63 DB 78 */ mr r3, r27 -/* 800A12A8 0009E208 48 00 07 C9 */ bl Unlock__Q29CMapWorld12CMapAreaDataFv -/* 800A12AC 0009E20C 7F E3 FB 78 */ mr r3, r31 -/* 800A12B0 0009E210 7F 64 DB 78 */ mr r4, r27 -/* 800A12B4 0009E214 38 A0 00 02 */ li r5, 2 -/* 800A12B8 0009E218 4B FF FE 6D */ bl MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList -lbl_800A12BC: -/* 800A12BC 0009E21C 7F DB F3 78 */ mr r27, r30 -lbl_800A12C0: -/* 800A12C0 0009E220 28 1B 00 00 */ cmplwi r27, 0 -/* 800A12C4 0009E224 40 82 FF C4 */ bne lbl_800A1288 -/* 800A12C8 0009E228 3B 9C 00 01 */ addi r28, r28, 1 -/* 800A12CC 0009E22C 2C 1C 00 02 */ cmpwi r28, 2 -/* 800A12D0 0009E230 41 80 FF A4 */ blt lbl_800A1274 -/* 800A12D4 0009E234 83 C1 00 24 */ lwz r30, 0x24(r1) -/* 800A12D8 0009E238 48 00 00 3C */ b lbl_800A1314 -lbl_800A12DC: -/* 800A12DC 0009E23C 80 1E 00 00 */ lwz r0, 0(r30) -/* 800A12E0 0009E240 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800A12E4 0009E244 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 800A12E8 0009E248 7F 63 02 14 */ add r27, r3, r0 -/* 800A12EC 0009E24C 7F 63 DB 78 */ mr r3, r27 -/* 800A12F0 0009E250 48 00 07 AD */ bl Lock__Q29CMapWorld12CMapAreaDataFv -/* 800A12F4 0009E254 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 800A12F8 0009E258 2C 00 00 02 */ cmpwi r0, 2 -/* 800A12FC 0009E25C 40 82 00 14 */ bne lbl_800A1310 -/* 800A1300 0009E260 7F E3 FB 78 */ mr r3, r31 -/* 800A1304 0009E264 7F 64 DB 78 */ mr r4, r27 -/* 800A1308 0009E268 38 A0 00 01 */ li r5, 1 -/* 800A130C 0009E26C 4B FF FE 19 */ bl MoveMapAreaToList__9CMapWorldFPQ29CMapWorld12CMapAreaDataQ29CMapWorld12EMapAreaList -lbl_800A1310: -/* 800A1310 0009E270 3B DE 00 10 */ addi r30, r30, 0x10 -lbl_800A1314: -/* 800A1314 0009E274 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 800A1318 0009E278 80 61 00 24 */ lwz r3, 0x24(r1) -/* 800A131C 0009E27C 54 00 20 36 */ slwi r0, r0, 4 -/* 800A1320 0009E280 7C 03 02 14 */ add r0, r3, r0 -/* 800A1324 0009E284 7C 1E 00 40 */ cmplw r30, r0 -/* 800A1328 0009E288 40 82 FF B4 */ bne lbl_800A12DC -/* 800A132C 0009E28C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A1330 0009E290 7C 64 1B 78 */ mr r4, r3 -/* 800A1334 0009E294 90 01 00 10 */ stw r0, 0x10(r1) -/* 800A1338 0009E298 90 61 00 0C */ stw r3, 0xc(r1) -/* 800A133C 0009E29C 90 61 00 08 */ stw r3, 8(r1) -/* 800A1340 0009E2A0 48 00 00 08 */ b lbl_800A1348 -lbl_800A1344: -/* 800A1344 0009E2A4 38 84 00 10 */ addi r4, r4, 0x10 -lbl_800A1348: -/* 800A1348 0009E2A8 7C 04 00 40 */ cmplw r4, r0 -/* 800A134C 0009E2AC 40 82 FF F8 */ bne lbl_800A1344 -/* 800A1350 0009E2B0 28 03 00 00 */ cmplwi r3, 0 -/* 800A1354 0009E2B4 41 82 00 08 */ beq lbl_800A135C -/* 800A1358 0009E2B8 48 27 45 D9 */ bl Free__7CMemoryFPCv -lbl_800A135C: -/* 800A135C 0009E2BC BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 800A1360 0009E2C0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800A1364 0009E2C4 7C 08 03 A6 */ mtlr r0 -/* 800A1368 0009E2C8 38 21 00 40 */ addi r1, r1, 0x40 -/* 800A136C 0009E2CC 4E 80 00 20 */ blr - -.global "IsMapAreaInBFSInfoVector__9CMapWorldCFPCQ29CMapWorld12CMapAreaDataRCQ24rstl64vector" -"IsMapAreaInBFSInfoVector__9CMapWorldCFPCQ29CMapWorld12CMapAreaDataRCQ24rstl64vector": -/* 800A1370 0009E2D0 80 05 00 04 */ lwz r0, 4(r5) -/* 800A1374 0009E2D4 80 E5 00 0C */ lwz r7, 0xc(r5) -/* 800A1378 0009E2D8 54 00 20 36 */ slwi r0, r0, 4 -/* 800A137C 0009E2DC 7C C7 02 14 */ add r6, r7, r0 -/* 800A1380 0009E2E0 48 00 00 28 */ b lbl_800A13A8 -lbl_800A1384: -/* 800A1384 0009E2E4 80 07 00 00 */ lwz r0, 0(r7) -/* 800A1388 0009E2E8 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 800A138C 0009E2EC 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 800A1390 0009E2F0 7C 05 02 14 */ add r0, r5, r0 -/* 800A1394 0009E2F4 7C 04 00 40 */ cmplw r4, r0 -/* 800A1398 0009E2F8 40 82 00 0C */ bne lbl_800A13A4 -/* 800A139C 0009E2FC 38 60 00 01 */ li r3, 1 -/* 800A13A0 0009E300 4E 80 00 20 */ blr -lbl_800A13A4: -/* 800A13A4 0009E304 38 E7 00 10 */ addi r7, r7, 0x10 -lbl_800A13A8: -/* 800A13A8 0009E308 7C 07 30 40 */ cmplw r7, r6 -/* 800A13AC 0009E30C 40 82 FF D8 */ bne lbl_800A1384 -/* 800A13B0 0009E310 38 60 00 00 */ li r3, 0 -/* 800A13B4 0009E314 4E 80 00 20 */ blr - -.global GetMapArea__9CMapWorldCFi -GetMapArea__9CMapWorldCFi: -/* 800A13B8 0009E318 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A13BC 0009E31C 7C 08 02 A6 */ mflr r0 -/* 800A13C0 0009E320 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A13C4 0009E324 1C 04 00 18 */ mulli r0, r4, 0x18 -/* 800A13C8 0009E328 80 63 00 0C */ lwz r3, 0xc(r3) -/* 800A13CC 0009E32C 7C 63 02 14 */ add r3, r3, r0 -/* 800A13D0 0009E330 48 00 05 B9 */ bl GetMapArea__Q29CMapWorld12CMapAreaDataCFv -/* 800A13D4 0009E334 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A13D8 0009E338 7C 08 03 A6 */ mtlr r0 -/* 800A13DC 0009E33C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A13E0 0009E340 4E 80 00 20 */ blr - -.global __dt__9CMapWorldFv -__dt__9CMapWorldFv: -/* 800A13E4 0009E344 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800A13E8 0009E348 7C 08 02 A6 */ mflr r0 -/* 800A13EC 0009E34C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A13F0 0009E350 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800A13F4 0009E354 7C 9F 23 78 */ mr r31, r4 -/* 800A13F8 0009E358 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800A13FC 0009E35C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800A1400 0009E360 41 82 00 D8 */ beq lbl_800A14D8 -/* 800A1404 0009E364 80 7E 00 08 */ lwz r3, 8(r30) -/* 800A1408 0009E368 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 800A140C 0009E36C 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13) -/* 800A1410 0009E370 1C 63 00 18 */ mulli r3, r3, 0x18 -/* 800A1414 0009E374 38 63 00 44 */ addi r3, r3, 0x44 -/* 800A1418 0009E378 7C 03 00 50 */ subf r0, r3, r0 -/* 800A141C 0009E37C 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) -/* 800A1420 0009E380 41 82 00 40 */ beq lbl_800A1460 -/* 800A1424 0009E384 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 800A1428 0009E388 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 800A142C 0009E38C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800A1430 0009E390 7C 83 02 14 */ add r4, r3, r0 -/* 800A1434 0009E394 7C 03 20 50 */ subf r0, r3, r4 -/* 800A1438 0009E398 90 81 00 14 */ stw r4, 0x14(r1) -/* 800A143C 0009E39C 90 81 00 10 */ stw r4, 0x10(r1) -/* 800A1440 0009E3A0 90 61 00 08 */ stw r3, 8(r1) -/* 800A1444 0009E3A4 7C 09 03 A6 */ mtctr r0 -/* 800A1448 0009E3A8 7C 03 20 40 */ cmplw r3, r4 -/* 800A144C 0009E3AC 41 82 00 08 */ beq lbl_800A1454 -lbl_800A1450: -/* 800A1450 0009E3B0 42 00 00 00 */ bdnz lbl_800A1450 -lbl_800A1454: -/* 800A1454 0009E3B4 28 03 00 00 */ cmplwi r3, 0 -/* 800A1458 0009E3B8 41 82 00 08 */ beq lbl_800A1460 -/* 800A145C 0009E3BC 48 27 44 D5 */ bl Free__7CMemoryFPCv -lbl_800A1460: -/* 800A1460 0009E3C0 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 800A1464 0009E3C4 41 82 00 58 */ beq lbl_800A14BC -/* 800A1468 0009E3C8 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 800A146C 0009E3CC 38 60 00 00 */ li r3, 0 -/* 800A1470 0009E3D0 2C 05 00 00 */ cmpwi r5, 0 -/* 800A1474 0009E3D4 40 81 00 40 */ ble lbl_800A14B4 -/* 800A1478 0009E3D8 2C 05 00 08 */ cmpwi r5, 8 -/* 800A147C 0009E3DC 38 85 FF F8 */ addi r4, r5, -8 -/* 800A1480 0009E3E0 40 81 00 20 */ ble lbl_800A14A0 -/* 800A1484 0009E3E4 38 04 00 07 */ addi r0, r4, 7 -/* 800A1488 0009E3E8 54 00 E8 FE */ srwi r0, r0, 3 -/* 800A148C 0009E3EC 7C 09 03 A6 */ mtctr r0 -/* 800A1490 0009E3F0 2C 04 00 00 */ cmpwi r4, 0 -/* 800A1494 0009E3F4 40 81 00 0C */ ble lbl_800A14A0 -lbl_800A1498: -/* 800A1498 0009E3F8 38 63 00 08 */ addi r3, r3, 8 -/* 800A149C 0009E3FC 42 00 FF FC */ bdnz lbl_800A1498 -lbl_800A14A0: -/* 800A14A0 0009E400 7C 03 28 50 */ subf r0, r3, r5 -/* 800A14A4 0009E404 7C 09 03 A6 */ mtctr r0 -/* 800A14A8 0009E408 7C 03 28 00 */ cmpw r3, r5 -/* 800A14AC 0009E40C 40 80 00 08 */ bge lbl_800A14B4 -lbl_800A14B0: -/* 800A14B0 0009E410 42 00 00 00 */ bdnz lbl_800A14B0 -lbl_800A14B4: -/* 800A14B4 0009E414 38 00 00 00 */ li r0, 0 -/* 800A14B8 0009E418 90 1E 00 10 */ stw r0, 0x10(r30) -lbl_800A14BC: -/* 800A14BC 0009E41C 7F C3 F3 78 */ mr r3, r30 -/* 800A14C0 0009E420 38 80 FF FF */ li r4, -1 -/* 800A14C4 0009E424 48 00 00 31 */ bl sub_800a14f4 -/* 800A14C8 0009E428 7F E0 07 35 */ extsh. r0, r31 -/* 800A14CC 0009E42C 40 81 00 0C */ ble lbl_800A14D8 -/* 800A14D0 0009E430 7F C3 F3 78 */ mr r3, r30 -/* 800A14D4 0009E434 48 27 44 5D */ bl Free__7CMemoryFPCv -lbl_800A14D8: -/* 800A14D8 0009E438 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A14DC 0009E43C 7F C3 F3 78 */ mr r3, r30 -/* 800A14E0 0009E440 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800A14E4 0009E444 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800A14E8 0009E448 7C 08 03 A6 */ mtlr r0 -/* 800A14EC 0009E44C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800A14F0 0009E450 4E 80 00 20 */ blr - -.global sub_800a14f4 -sub_800a14f4: -/* 800A14F4 0009E454 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A14F8 0009E458 7C 08 02 A6 */ mflr r0 -/* 800A14FC 0009E45C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A1500 0009E460 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800A1504 0009E464 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800A1508 0009E468 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800A150C 0009E46C 7C 9D 23 78 */ mr r29, r4 -/* 800A1510 0009E470 93 81 00 20 */ stw r28, 0x20(r1) -/* 800A1514 0009E474 7C 7C 1B 79 */ or. r28, r3, r3 -/* 800A1518 0009E478 41 82 00 78 */ beq lbl_800A1590 -/* 800A151C 0009E47C 80 1C 00 04 */ lwz r0, 4(r28) -/* 800A1520 0009E480 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 800A1524 0009E484 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 800A1528 0009E488 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800A152C 0009E48C 7F FE 02 14 */ add r31, r30, r0 -/* 800A1530 0009E490 93 C1 00 14 */ stw r30, 0x14(r1) -/* 800A1534 0009E494 93 E1 00 08 */ stw r31, 8(r1) -/* 800A1538 0009E498 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A153C 0009E49C 48 00 00 2C */ b lbl_800A1568 -lbl_800A1540: -/* 800A1540 0009E4A0 28 1E 00 00 */ cmplwi r30, 0 -/* 800A1544 0009E4A4 41 82 00 20 */ beq lbl_800A1564 -/* 800A1548 0009E4A8 34 1E 00 04 */ addic. r0, r30, 4 -/* 800A154C 0009E4AC 41 82 00 18 */ beq lbl_800A1564 -/* 800A1550 0009E4B0 34 1E 00 04 */ addic. r0, r30, 4 -/* 800A1554 0009E4B4 41 82 00 10 */ beq lbl_800A1564 -/* 800A1558 0009E4B8 38 7E 00 04 */ addi r3, r30, 4 -/* 800A155C 0009E4BC 38 80 00 00 */ li r4, 0 -/* 800A1560 0009E4C0 48 29 F8 E1 */ bl __dt__6CTokenFv -lbl_800A1564: -/* 800A1564 0009E4C4 3B DE 00 18 */ addi r30, r30, 0x18 -lbl_800A1568: -/* 800A1568 0009E4C8 7C 1E F8 40 */ cmplw r30, r31 -/* 800A156C 0009E4CC 40 82 FF D4 */ bne lbl_800A1540 -/* 800A1570 0009E4D0 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 800A1574 0009E4D4 28 03 00 00 */ cmplwi r3, 0 -/* 800A1578 0009E4D8 41 82 00 08 */ beq lbl_800A1580 -/* 800A157C 0009E4DC 48 27 43 B5 */ bl Free__7CMemoryFPCv -lbl_800A1580: -/* 800A1580 0009E4E0 7F A0 07 35 */ extsh. r0, r29 -/* 800A1584 0009E4E4 40 81 00 0C */ ble lbl_800A1590 -/* 800A1588 0009E4E8 7F 83 E3 78 */ mr r3, r28 -/* 800A158C 0009E4EC 48 27 43 A5 */ bl Free__7CMemoryFPCv -lbl_800A1590: -/* 800A1590 0009E4F0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A1594 0009E4F4 7F 83 E3 78 */ mr r3, r28 -/* 800A1598 0009E4F8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800A159C 0009E4FC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800A15A0 0009E500 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800A15A4 0009E504 83 81 00 20 */ lwz r28, 0x20(r1) -/* 800A15A8 0009E508 7C 08 03 A6 */ mtlr r0 -/* 800A15AC 0009E50C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A15B0 0009E510 4E 80 00 20 */ blr - -.global __ct__9CMapWorldFR12CInputStream -__ct__9CMapWorldFR12CInputStream: -/* 800A15B4 0009E514 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800A15B8 0009E518 7C 08 02 A6 */ mflr r0 -/* 800A15BC 0009E51C 90 01 00 64 */ stw r0, 0x64(r1) -/* 800A15C0 0009E520 38 00 00 03 */ li r0, 3 -/* 800A15C4 0009E524 BF 21 00 44 */ stmw r25, 0x44(r1) -/* 800A15C8 0009E528 7C 7B 1B 78 */ mr r27, r3 -/* 800A15CC 0009E52C 38 60 00 00 */ li r3, 0 -/* 800A15D0 0009E530 7C 9C 23 78 */ mr r28, r4 -/* 800A15D4 0009E534 34 BB 00 14 */ addic. r5, r27, 0x14 -/* 800A15D8 0009E538 90 7B 00 04 */ stw r3, 4(r27) -/* 800A15DC 0009E53C 90 7B 00 08 */ stw r3, 8(r27) -/* 800A15E0 0009E540 90 7B 00 0C */ stw r3, 0xc(r27) -/* 800A15E4 0009E544 90 1B 00 10 */ stw r0, 0x10(r27) -/* 800A15E8 0009E548 41 82 00 08 */ beq lbl_800A15F0 -/* 800A15EC 0009E54C 90 65 00 00 */ stw r3, 0(r5) -lbl_800A15F0: -/* 800A15F0 0009E550 34 A5 00 04 */ addic. r5, r5, 4 -/* 800A15F4 0009E554 41 82 00 08 */ beq lbl_800A15FC -/* 800A15F8 0009E558 90 65 00 00 */ stw r3, 0(r5) -lbl_800A15FC: -/* 800A15FC 0009E55C 34 A5 00 04 */ addic. r5, r5, 4 -/* 800A1600 0009E560 41 82 00 08 */ beq lbl_800A1608 -/* 800A1604 0009E564 90 65 00 00 */ stw r3, 0(r5) -lbl_800A1608: -/* 800A1608 0009E568 38 00 00 00 */ li r0, 0 -/* 800A160C 0009E56C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800A1610 0009E570 90 1B 00 24 */ stw r0, 0x24(r27) -/* 800A1614 0009E574 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800A1618 0009E578 C0 02 8C 20 */ lfs f0, lbl_805AA940@sda21(r2) -/* 800A161C 0009E57C 7F 83 E3 78 */ mr r3, r28 -/* 800A1620 0009E580 90 1B 00 28 */ stw r0, 0x28(r27) -/* 800A1624 0009E584 90 1B 00 2C */ stw r0, 0x2c(r27) -/* 800A1628 0009E588 C0 24 00 00 */ lfs f1, 0(r4) -/* 800A162C 0009E58C D0 3B 00 30 */ stfs f1, 0x30(r27) -/* 800A1630 0009E590 C0 24 00 04 */ lfs f1, 4(r4) -/* 800A1634 0009E594 D0 3B 00 34 */ stfs f1, 0x34(r27) -/* 800A1638 0009E598 C0 24 00 08 */ lfs f1, 8(r4) -/* 800A163C 0009E59C D0 3B 00 38 */ stfs f1, 0x38(r27) -/* 800A1640 0009E5A0 D0 1B 00 3C */ stfs f0, 0x3c(r27) -/* 800A1644 0009E5A4 D0 1B 00 40 */ stfs f0, 0x40(r27) -/* 800A1648 0009E5A8 48 29 D6 3D */ bl ReadLong__12CInputStreamFv -/* 800A164C 0009E5AC 7F 83 E3 78 */ mr r3, r28 -/* 800A1650 0009E5B0 48 29 D6 35 */ bl ReadLong__12CInputStreamFv -/* 800A1654 0009E5B4 7F 83 E3 78 */ mr r3, r28 -/* 800A1658 0009E5B8 48 29 D6 2D */ bl ReadLong__12CInputStreamFv -/* 800A165C 0009E5BC 7C 7F 1B 78 */ mr r31, r3 -/* 800A1660 0009E5C0 7F 63 DB 78 */ mr r3, r27 -/* 800A1664 0009E5C4 7F E4 FB 78 */ mr r4, r31 -/* 800A1668 0009E5C8 48 00 08 D5 */ bl "reserve__Q24rstl61vectorFi" -/* 800A166C 0009E5CC 2C 1F 00 00 */ cmpwi r31, 0 -/* 800A1670 0009E5D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800A1674 0009E5D4 93 E1 00 20 */ stw r31, 0x20(r1) -/* 800A1678 0009E5D8 40 82 00 10 */ bne lbl_800A1688 -/* 800A167C 0009E5DC 38 00 00 00 */ li r0, 0 -/* 800A1680 0009E5E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A1684 0009E5E4 48 00 00 1C */ b lbl_800A16A0 -lbl_800A1688: -/* 800A1688 0009E5E8 3C 80 80 3D */ lis r4, lbl_803CD960@ha -/* 800A168C 0009E5EC 7F E3 FB 78 */ mr r3, r31 -/* 800A1690 0009E5F0 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l -/* 800A1694 0009E5F4 38 A0 00 00 */ li r5, 0 -/* 800A1698 0009E5F8 48 27 41 81 */ bl __nwa__FUlPCcPCc -/* 800A169C 0009E5FC 90 61 00 24 */ stw r3, 0x24(r1) -lbl_800A16A0: -/* 800A16A0 0009E600 80 61 00 24 */ lwz r3, 0x24(r1) -/* 800A16A4 0009E604 7F E9 03 A6 */ mtctr r31 -/* 800A16A8 0009E608 2C 1F 00 00 */ cmpwi r31, 0 -/* 800A16AC 0009E60C 40 81 00 1C */ ble lbl_800A16C8 -lbl_800A16B0: -/* 800A16B0 0009E610 28 03 00 00 */ cmplwi r3, 0 -/* 800A16B4 0009E614 41 82 00 0C */ beq lbl_800A16C0 -/* 800A16B8 0009E618 88 0D 86 00 */ lbz r0, lbl_805A71C0@sda21(r13) -/* 800A16BC 0009E61C 98 03 00 00 */ stb r0, 0(r3) -lbl_800A16C0: -/* 800A16C0 0009E620 38 63 00 01 */ addi r3, r3, 1 -/* 800A16C4 0009E624 42 00 FF EC */ bdnz lbl_800A16B0 -lbl_800A16C8: -/* 800A16C8 0009E628 38 7B 00 20 */ addi r3, r27, 0x20 -/* 800A16CC 0009E62C 38 81 00 18 */ addi r4, r1, 0x18 -/* 800A16D0 0009E630 48 00 01 69 */ bl sub_800a1838 -/* 800A16D4 0009E634 80 61 00 24 */ lwz r3, 0x24(r1) -/* 800A16D8 0009E638 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 800A16DC 0009E63C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800A16E0 0009E640 7C 83 02 14 */ add r4, r3, r0 -/* 800A16E4 0009E644 7C 03 20 50 */ subf r0, r3, r4 -/* 800A16E8 0009E648 90 81 00 14 */ stw r4, 0x14(r1) -/* 800A16EC 0009E64C 90 81 00 10 */ stw r4, 0x10(r1) -/* 800A16F0 0009E650 90 61 00 08 */ stw r3, 8(r1) -/* 800A16F4 0009E654 7C 09 03 A6 */ mtctr r0 -/* 800A16F8 0009E658 7C 03 20 40 */ cmplw r3, r4 -/* 800A16FC 0009E65C 41 82 00 08 */ beq lbl_800A1704 -lbl_800A1700: -/* 800A1700 0009E660 42 00 00 00 */ bdnz lbl_800A1700 -lbl_800A1704: -/* 800A1704 0009E664 28 03 00 00 */ cmplwi r3, 0 -/* 800A1708 0009E668 41 82 00 08 */ beq lbl_800A1710 -/* 800A170C 0009E66C 48 27 42 25 */ bl Free__7CMemoryFPCv -lbl_800A1710: -/* 800A1710 0009E670 3B C1 00 2C */ addi r30, r1, 0x2c -/* 800A1714 0009E674 3B A0 00 00 */ li r29, 0 -/* 800A1718 0009E678 48 00 00 D0 */ b lbl_800A17E8 -lbl_800A171C: -/* 800A171C 0009E67C 7F 83 E3 78 */ mr r3, r28 -/* 800A1720 0009E680 48 29 D5 65 */ bl ReadLong__12CInputStreamFv -/* 800A1724 0009E684 2C 1D 00 00 */ cmpwi r29, 0 -/* 800A1728 0009E688 7C 64 1B 78 */ mr r4, r3 -/* 800A172C 0009E68C 38 61 00 28 */ addi r3, r1, 0x28 -/* 800A1730 0009E690 38 A0 00 02 */ li r5, 2 -/* 800A1734 0009E694 40 82 00 0C */ bne lbl_800A1740 -/* 800A1738 0009E698 38 C0 00 00 */ li r6, 0 -/* 800A173C 0009E69C 48 00 00 14 */ b lbl_800A1750 -lbl_800A1740: -/* 800A1740 0009E6A0 38 1D FF FF */ addi r0, r29, -1 -/* 800A1744 0009E6A4 80 DB 00 0C */ lwz r6, 0xc(r27) -/* 800A1748 0009E6A8 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 800A174C 0009E6AC 7C C6 02 14 */ add r6, r6, r0 -lbl_800A1750: -/* 800A1750 0009E6B0 48 00 03 71 */ bl __ct__Q29CMapWorld12CMapAreaDataFUiQ29CMapWorld12EMapAreaListPQ29CMapWorld12CMapAreaData -/* 800A1754 0009E6B4 80 1B 00 04 */ lwz r0, 4(r27) -/* 800A1758 0009E6B8 80 BB 00 08 */ lwz r5, 8(r27) -/* 800A175C 0009E6BC 7C 00 28 00 */ cmpw r0, r5 -/* 800A1760 0009E6C0 41 80 00 1C */ blt lbl_800A177C -/* 800A1764 0009E6C4 2C 05 00 00 */ cmpwi r5, 0 -/* 800A1768 0009E6C8 7F 63 DB 78 */ mr r3, r27 -/* 800A176C 0009E6CC 38 80 00 04 */ li r4, 4 -/* 800A1770 0009E6D0 41 82 00 08 */ beq lbl_800A1778 -/* 800A1774 0009E6D4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800A1778: -/* 800A1778 0009E6D8 48 00 07 C5 */ bl "reserve__Q24rstl61vectorFi" -lbl_800A177C: -/* 800A177C 0009E6DC 80 1B 00 04 */ lwz r0, 4(r27) -/* 800A1780 0009E6E0 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 800A1784 0009E6E4 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 800A1788 0009E6E8 7F 43 02 15 */ add. r26, r3, r0 -/* 800A178C 0009E6EC 41 82 00 34 */ beq lbl_800A17C0 -/* 800A1790 0009E6F0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 800A1794 0009E6F4 3B 3A 00 04 */ addi r25, r26, 4 -/* 800A1798 0009E6F8 7F 23 CB 78 */ mr r3, r25 -/* 800A179C 0009E6FC 7F C4 F3 78 */ mr r4, r30 -/* 800A17A0 0009E700 90 1A 00 00 */ stw r0, 0(r26) -/* 800A17A4 0009E704 48 29 F7 05 */ bl __ct__6CTokenFRC6CToken -/* 800A17A8 0009E708 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A17AC 0009E70C 90 19 00 08 */ stw r0, 8(r25) -/* 800A17B0 0009E710 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800A17B4 0009E714 90 1A 00 10 */ stw r0, 0x10(r26) -/* 800A17B8 0009E718 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 800A17BC 0009E71C 90 1A 00 14 */ stw r0, 0x14(r26) -lbl_800A17C0: -/* 800A17C0 0009E720 80 7B 00 04 */ lwz r3, 4(r27) -/* 800A17C4 0009E724 28 1E 00 00 */ cmplwi r30, 0 -/* 800A17C8 0009E728 38 03 00 01 */ addi r0, r3, 1 -/* 800A17CC 0009E72C 90 1B 00 04 */ stw r0, 4(r27) -/* 800A17D0 0009E730 41 82 00 14 */ beq lbl_800A17E4 -/* 800A17D4 0009E734 41 82 00 10 */ beq lbl_800A17E4 -/* 800A17D8 0009E738 7F C3 F3 78 */ mr r3, r30 -/* 800A17DC 0009E73C 38 80 00 00 */ li r4, 0 -/* 800A17E0 0009E740 48 29 F6 61 */ bl __dt__6CTokenFv -lbl_800A17E4: -/* 800A17E4 0009E744 3B BD 00 01 */ addi r29, r29, 1 -lbl_800A17E8: -/* 800A17E8 0009E748 7C 1D F8 00 */ cmpw r29, r31 -/* 800A17EC 0009E74C 41 80 FF 30 */ blt lbl_800A171C -/* 800A17F0 0009E750 80 9B 00 04 */ lwz r4, 4(r27) -/* 800A17F4 0009E754 7F 63 DB 78 */ mr r3, r27 -/* 800A17F8 0009E758 80 BB 00 0C */ lwz r5, 0xc(r27) -/* 800A17FC 0009E75C 38 04 FF FF */ addi r0, r4, -1 -/* 800A1800 0009E760 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 800A1804 0009E764 7C 05 02 14 */ add r0, r5, r0 -/* 800A1808 0009E768 90 1B 00 1C */ stw r0, 0x1c(r27) -/* 800A180C 0009E76C 80 1B 00 08 */ lwz r0, 8(r27) -/* 800A1810 0009E770 80 8D A2 F0 */ lwz r4, lbl_805A8EB0@sda21(r13) -/* 800A1814 0009E774 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 800A1818 0009E778 7C 80 22 14 */ add r4, r0, r4 -/* 800A181C 0009E77C 38 04 00 44 */ addi r0, r4, 0x44 -/* 800A1820 0009E780 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13) -/* 800A1824 0009E784 BB 21 00 44 */ lmw r25, 0x44(r1) -/* 800A1828 0009E788 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800A182C 0009E78C 7C 08 03 A6 */ mtlr r0 -/* 800A1830 0009E790 38 21 00 60 */ addi r1, r1, 0x60 -/* 800A1834 0009E794 4E 80 00 20 */ blr - -.global sub_800a1838 -sub_800a1838: -/* 800A1838 0009E798 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800A183C 0009E79C 7C 08 02 A6 */ mflr r0 -/* 800A1840 0009E7A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A1844 0009E7A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800A1848 0009E7A8 7C 7F 1B 78 */ mr r31, r3 -/* 800A184C 0009E7AC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800A1850 0009E7B0 7C 9E 23 78 */ mr r30, r4 -/* 800A1854 0009E7B4 7C 1F F0 40 */ cmplw r31, r30 -/* 800A1858 0009E7B8 40 82 00 08 */ bne lbl_800A1860 -/* 800A185C 0009E7BC 48 00 00 BC */ b lbl_800A1918 -lbl_800A1860: -/* 800A1860 0009E7C0 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 800A1864 0009E7C4 80 1F 00 04 */ lwz r0, 4(r31) -/* 800A1868 0009E7C8 90 81 00 0C */ stw r4, 0xc(r1) -/* 800A186C 0009E7CC 7C 64 02 14 */ add r3, r4, r0 -/* 800A1870 0009E7D0 7C 04 18 50 */ subf r0, r4, r3 -/* 800A1874 0009E7D4 90 61 00 14 */ stw r3, 0x14(r1) -/* 800A1878 0009E7D8 90 61 00 10 */ stw r3, 0x10(r1) -/* 800A187C 0009E7DC 90 81 00 08 */ stw r4, 8(r1) -/* 800A1880 0009E7E0 7C 09 03 A6 */ mtctr r0 -/* 800A1884 0009E7E4 7C 04 18 40 */ cmplw r4, r3 -/* 800A1888 0009E7E8 41 82 00 08 */ beq lbl_800A1890 -lbl_800A188C: -/* 800A188C 0009E7EC 42 00 00 00 */ bdnz lbl_800A188C -lbl_800A1890: -/* 800A1890 0009E7F0 38 00 00 00 */ li r0, 0 -/* 800A1894 0009E7F4 90 1F 00 04 */ stw r0, 4(r31) -/* 800A1898 0009E7F8 80 9E 00 04 */ lwz r4, 4(r30) -/* 800A189C 0009E7FC 2C 04 00 00 */ cmpwi r4, 0 -/* 800A18A0 0009E800 40 82 00 28 */ bne lbl_800A18C8 -/* 800A18A4 0009E804 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800A18A8 0009E808 28 03 00 00 */ cmplwi r3, 0 -/* 800A18AC 0009E80C 41 82 00 08 */ beq lbl_800A18B4 -/* 800A18B0 0009E810 48 27 40 81 */ bl Free__7CMemoryFPCv -lbl_800A18B4: -/* 800A18B4 0009E814 38 00 00 00 */ li r0, 0 -/* 800A18B8 0009E818 90 1F 00 04 */ stw r0, 4(r31) -/* 800A18BC 0009E81C 90 1F 00 08 */ stw r0, 8(r31) -/* 800A18C0 0009E820 90 1F 00 0C */ stw r0, 0xc(r31) -/* 800A18C4 0009E824 48 00 00 50 */ b lbl_800A1914 -lbl_800A18C8: -/* 800A18C8 0009E828 7F E3 FB 78 */ mr r3, r31 -/* 800A18CC 0009E82C 48 00 07 9D */ bl sub_800a2068 -/* 800A18D0 0009E830 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800A18D4 0009E834 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A18D8 0009E838 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800A18DC 0009E83C 7C 85 02 14 */ add r4, r5, r0 -/* 800A18E0 0009E840 7C 05 20 50 */ subf r0, r5, r4 -/* 800A18E4 0009E844 7C 09 03 A6 */ mtctr r0 -/* 800A18E8 0009E848 7C 05 20 40 */ cmplw r5, r4 -/* 800A18EC 0009E84C 41 82 00 20 */ beq lbl_800A190C -lbl_800A18F0: -/* 800A18F0 0009E850 28 03 00 00 */ cmplwi r3, 0 -/* 800A18F4 0009E854 41 82 00 0C */ beq lbl_800A1900 -/* 800A18F8 0009E858 88 05 00 00 */ lbz r0, 0(r5) -/* 800A18FC 0009E85C 98 03 00 00 */ stb r0, 0(r3) -lbl_800A1900: -/* 800A1900 0009E860 38 63 00 01 */ addi r3, r3, 1 -/* 800A1904 0009E864 38 A5 00 01 */ addi r5, r5, 1 -/* 800A1908 0009E868 42 00 FF E8 */ bdnz lbl_800A18F0 -lbl_800A190C: -/* 800A190C 0009E86C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A1910 0009E870 90 1F 00 04 */ stw r0, 4(r31) -lbl_800A1914: -/* 800A1914 0009E874 7F E3 FB 78 */ mr r3, r31 -lbl_800A1918: -/* 800A1918 0009E878 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A191C 0009E87C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800A1920 0009E880 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800A1924 0009E884 7C 08 03 A6 */ mtlr r0 -/* 800A1928 0009E888 38 21 00 20 */ addi r1, r1, 0x20 -/* 800A192C 0009E88C 4E 80 00 20 */ blr - -.global __ct__Q29CMapWorld15CMapAreaBFSInfoFiiff -__ct__Q29CMapWorld15CMapAreaBFSInfoFiiff: -/* 800A1930 0009E890 90 83 00 00 */ stw r4, 0(r3) -/* 800A1934 0009E894 90 A3 00 04 */ stw r5, 4(r3) -/* 800A1938 0009E898 D0 23 00 08 */ stfs f1, 8(r3) -/* 800A193C 0009E89C D0 43 00 0C */ stfs f2, 0xc(r3) -/* 800A1940 0009E8A0 4E 80 00 20 */ blr - -.global __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb -__ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb: -/* 800A1944 0009E8A4 D0 23 00 00 */ stfs f1, 0(r3) -/* 800A1948 0009E8A8 C0 01 00 08 */ lfs f0, 8(r1) -/* 800A194C 0009E8AC D0 43 00 04 */ stfs f2, 4(r3) -/* 800A1950 0009E8B0 D0 63 00 08 */ stfs f3, 8(r3) -/* 800A1954 0009E8B4 D0 83 00 0C */ stfs f4, 0xc(r3) -/* 800A1958 0009E8B8 D0 A3 00 10 */ stfs f5, 0x10(r3) -/* 800A195C 0009E8BC D0 C3 00 14 */ stfs f6, 0x14(r3) -/* 800A1960 0009E8C0 90 83 00 18 */ stw r4, 0x18(r3) -/* 800A1964 0009E8C4 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 800A1968 0009E8C8 90 C3 00 20 */ stw r6, 0x20(r3) -/* 800A196C 0009E8CC 90 E3 00 24 */ stw r7, 0x24(r3) -/* 800A1970 0009E8D0 91 03 00 28 */ stw r8, 0x28(r3) -/* 800A1974 0009E8D4 D0 E3 00 2C */ stfs f7, 0x2c(r3) -/* 800A1978 0009E8D8 D1 03 00 30 */ stfs f8, 0x30(r3) -/* 800A197C 0009E8DC D0 03 00 34 */ stfs f0, 0x34(r3) -/* 800A1980 0009E8E0 99 23 00 38 */ stb r9, 0x38(r3) -/* 800A1984 0009E8E4 4E 80 00 20 */ blr - -.global GetMapArea__Q29CMapWorld12CMapAreaDataCFv -GetMapArea__Q29CMapWorld12CMapAreaDataCFv: -/* 800A1988 0009E8E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A198C 0009E8EC 7C 08 02 A6 */ mflr r0 -/* 800A1990 0009E8F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A1994 0009E8F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A1998 0009E8F8 7C 7F 1B 78 */ mr r31, r3 -/* 800A199C 0009E8FC 80 03 00 0C */ lwz r0, 0xc(r3) -/* 800A19A0 0009E900 28 00 00 00 */ cmplwi r0, 0 -/* 800A19A4 0009E904 40 82 00 30 */ bne lbl_800A19D4 -/* 800A19A8 0009E908 88 1F 00 08 */ lbz r0, 8(r31) -/* 800A19AC 0009E90C 28 00 00 00 */ cmplwi r0, 0 -/* 800A19B0 0009E910 41 82 00 24 */ beq lbl_800A19D4 -/* 800A19B4 0009E914 80 7F 00 04 */ lwz r3, 4(r31) -/* 800A19B8 0009E918 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800A19BC 0009E91C 28 00 00 00 */ cmplwi r0, 0 -/* 800A19C0 0009E920 41 82 00 14 */ beq lbl_800A19D4 -/* 800A19C4 0009E924 38 7F 00 04 */ addi r3, r31, 4 -/* 800A19C8 0009E928 48 29 F4 45 */ bl GetObj__6CTokenFv -/* 800A19CC 0009E92C 80 03 00 04 */ lwz r0, 4(r3) -/* 800A19D0 0009E930 90 1F 00 0C */ stw r0, 0xc(r31) -lbl_800A19D4: -/* 800A19D4 0009E934 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A19D8 0009E938 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800A19DC 0009E93C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A19E0 0009E940 7C 08 03 A6 */ mtlr r0 -/* 800A19E4 0009E944 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A19E8 0009E948 4E 80 00 20 */ blr - -.global IsLoaded__Q29CMapWorld12CMapAreaDataCFv -IsLoaded__Q29CMapWorld12CMapAreaDataCFv: -/* 800A19EC 0009E94C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A19F0 0009E950 7C 08 02 A6 */ mflr r0 -/* 800A19F4 0009E954 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A19F8 0009E958 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A19FC 0009E95C 7C 7F 1B 78 */ mr r31, r3 -/* 800A1A00 0009E960 88 63 00 08 */ lbz r3, 8(r3) -/* 800A1A04 0009E964 28 03 00 00 */ cmplwi r3, 0 -/* 800A1A08 0009E968 40 82 00 0C */ bne lbl_800A1A14 -/* 800A1A0C 0009E96C 38 60 00 00 */ li r3, 0 -/* 800A1A10 0009E970 48 00 00 4C */ b lbl_800A1A5C -lbl_800A1A14: -/* 800A1A14 0009E974 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 800A1A18 0009E978 28 00 00 00 */ cmplwi r0, 0 -/* 800A1A1C 0009E97C 41 82 00 0C */ beq lbl_800A1A28 -/* 800A1A20 0009E980 38 60 00 01 */ li r3, 1 -/* 800A1A24 0009E984 48 00 00 38 */ b lbl_800A1A5C -lbl_800A1A28: -/* 800A1A28 0009E988 28 03 00 00 */ cmplwi r3, 0 -/* 800A1A2C 0009E98C 41 82 00 2C */ beq lbl_800A1A58 -/* 800A1A30 0009E990 80 7F 00 04 */ lwz r3, 4(r31) -/* 800A1A34 0009E994 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800A1A38 0009E998 28 00 00 00 */ cmplwi r0, 0 -/* 800A1A3C 0009E99C 41 82 00 1C */ beq lbl_800A1A58 -/* 800A1A40 0009E9A0 38 7F 00 04 */ addi r3, r31, 4 -/* 800A1A44 0009E9A4 48 29 F3 C9 */ bl GetObj__6CTokenFv -/* 800A1A48 0009E9A8 80 03 00 04 */ lwz r0, 4(r3) -/* 800A1A4C 0009E9AC 38 60 00 01 */ li r3, 1 -/* 800A1A50 0009E9B0 90 1F 00 0C */ stw r0, 0xc(r31) -/* 800A1A54 0009E9B4 48 00 00 08 */ b lbl_800A1A5C -lbl_800A1A58: -/* 800A1A58 0009E9B8 38 60 00 00 */ li r3, 0 -lbl_800A1A5C: -/* 800A1A5C 0009E9BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A1A60 0009E9C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A1A64 0009E9C4 7C 08 03 A6 */ mtlr r0 -/* 800A1A68 0009E9C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A1A6C 0009E9CC 4E 80 00 20 */ blr - -.global Unlock__Q29CMapWorld12CMapAreaDataFv -Unlock__Q29CMapWorld12CMapAreaDataFv: -/* 800A1A70 0009E9D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A1A74 0009E9D4 7C 08 02 A6 */ mflr r0 -/* 800A1A78 0009E9D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A1A7C 0009E9DC 38 00 00 00 */ li r0, 0 -/* 800A1A80 0009E9E0 90 03 00 0C */ stw r0, 0xc(r3) -/* 800A1A84 0009E9E4 38 63 00 04 */ addi r3, r3, 4 -/* 800A1A88 0009E9E8 48 29 F2 B9 */ bl Unlock__6CTokenFv -/* 800A1A8C 0009E9EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A1A90 0009E9F0 7C 08 03 A6 */ mtlr r0 -/* 800A1A94 0009E9F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A1A98 0009E9F8 4E 80 00 20 */ blr - -.global Lock__Q29CMapWorld12CMapAreaDataFv -Lock__Q29CMapWorld12CMapAreaDataFv: -/* 800A1A9C 0009E9FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A1AA0 0009EA00 7C 08 02 A6 */ mflr r0 -/* 800A1AA4 0009EA04 38 63 00 04 */ addi r3, r3, 4 -/* 800A1AA8 0009EA08 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A1AAC 0009EA0C 48 29 F2 D9 */ bl Lock__6CTokenFv -/* 800A1AB0 0009EA10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A1AB4 0009EA14 7C 08 03 A6 */ mtlr r0 -/* 800A1AB8 0009EA18 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A1ABC 0009EA1C 4E 80 00 20 */ blr - -.global __ct__Q29CMapWorld12CMapAreaDataFUiQ29CMapWorld12EMapAreaListPQ29CMapWorld12CMapAreaData -__ct__Q29CMapWorld12CMapAreaDataFUiQ29CMapWorld12EMapAreaListPQ29CMapWorld12CMapAreaData: -/* 800A1AC0 0009EA20 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A1AC4 0009EA24 7C 08 02 A6 */ mflr r0 -/* 800A1AC8 0009EA28 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A1ACC 0009EA2C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800A1AD0 0009EA30 7C DF 33 78 */ mr r31, r6 -/* 800A1AD4 0009EA34 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800A1AD8 0009EA38 7C BE 2B 78 */ mr r30, r5 -/* 800A1ADC 0009EA3C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800A1AE0 0009EA40 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800A1AE4 0009EA44 93 81 00 20 */ stw r28, 0x20(r1) -/* 800A1AE8 0009EA48 7C 7C 1B 78 */ mr r28, r3 -/* 800A1AEC 0009EA4C 3C 60 4D 41 */ lis r3, 0x4D415041@ha -/* 800A1AF0 0009EA50 90 9C 00 00 */ stw r4, 0(r28) -/* 800A1AF4 0009EA54 38 03 50 41 */ addi r0, r3, 0x4D415041@l -/* 800A1AF8 0009EA58 38 61 00 08 */ addi r3, r1, 8 -/* 800A1AFC 0009EA5C 90 81 00 14 */ stw r4, 0x14(r1) -/* 800A1B00 0009EA60 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800A1B04 0009EA64 90 01 00 10 */ stw r0, 0x10(r1) -/* 800A1B08 0009EA68 81 84 00 00 */ lwz r12, 0(r4) -/* 800A1B0C 0009EA6C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A1B10 0009EA70 7D 89 03 A6 */ mtctr r12 -/* 800A1B14 0009EA74 4E 80 04 21 */ bctrl -/* 800A1B18 0009EA78 3B BC 00 04 */ addi r29, r28, 4 -/* 800A1B1C 0009EA7C 38 81 00 08 */ addi r4, r1, 8 -/* 800A1B20 0009EA80 7F A3 EB 78 */ mr r3, r29 -/* 800A1B24 0009EA84 48 29 F3 85 */ bl __ct__6CTokenFRC6CToken -/* 800A1B28 0009EA88 38 00 00 00 */ li r0, 0 -/* 800A1B2C 0009EA8C 38 61 00 08 */ addi r3, r1, 8 -/* 800A1B30 0009EA90 90 1D 00 08 */ stw r0, 8(r29) -/* 800A1B34 0009EA94 38 80 FF FF */ li r4, -1 -/* 800A1B38 0009EA98 48 29 F3 09 */ bl __dt__6CTokenFv -/* 800A1B3C 0009EA9C 93 DC 00 10 */ stw r30, 0x10(r28) -/* 800A1B40 0009EAA0 7F 83 E3 78 */ mr r3, r28 -/* 800A1B44 0009EAA4 93 FC 00 14 */ stw r31, 0x14(r28) -/* 800A1B48 0009EAA8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800A1B4C 0009EAAC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800A1B50 0009EAB0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800A1B54 0009EAB4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 800A1B58 0009EAB8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A1B5C 0009EABC 7C 08 03 A6 */ mtlr r0 -/* 800A1B60 0009EAC0 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A1B64 0009EAC4 4E 80 00 20 */ blr - -.global __ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor -__ct__Q29CMapWorld18CMapObjectSortInfoFfiQ39CMapWorld18CMapObjectSortInfo11EObjectCodei6CColor6CColor: -/* 800A1B68 0009EAC8 D0 23 00 00 */ stfs f1, 0(r3) -/* 800A1B6C 0009EACC 7C A0 33 78 */ or r0, r5, r6 -/* 800A1B70 0009EAD0 90 83 00 04 */ stw r4, 4(r3) -/* 800A1B74 0009EAD4 90 03 00 08 */ stw r0, 8(r3) -/* 800A1B78 0009EAD8 80 07 00 00 */ lwz r0, 0(r7) -/* 800A1B7C 0009EADC 90 03 00 0C */ stw r0, 0xc(r3) -/* 800A1B80 0009EAE0 80 08 00 00 */ lwz r0, 0(r8) -/* 800A1B84 0009EAE4 90 03 00 10 */ stw r0, 0x10(r3) -/* 800A1B88 0009EAE8 4E 80 00 20 */ blr - -.global sub_800a1b8c -sub_800a1b8c: -/* 800A1B8C 0009EAEC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800A1B90 0009EAF0 7C 08 02 A6 */ mflr r0 -/* 800A1B94 0009EAF4 90 01 00 64 */ stw r0, 0x64(r1) -/* 800A1B98 0009EAF8 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 800A1B9C 0009EAFC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 800A1BA0 0009EB00 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800A1BA4 0009EB04 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800A1BA8 0009EB08 93 A1 00 44 */ stw r29, 0x44(r1) -/* 800A1BAC 0009EB0C 93 81 00 40 */ stw r28, 0x40(r1) -/* 800A1BB0 0009EB10 7C 7C 1B 78 */ mr r28, r3 -/* 800A1BB4 0009EB14 7C 9D 23 78 */ mr r29, r4 -/* 800A1BB8 0009EB18 80 63 00 00 */ lwz r3, 0(r3) -/* 800A1BBC 0009EB1C 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 800A1BC0 0009EB20 80 DD 00 00 */ lwz r6, 0(r29) -/* 800A1BC4 0009EB24 38 84 66 67 */ addi r4, r4, 0x66666667@l -/* 800A1BC8 0009EB28 7C BE 2B 78 */ mr r30, r5 -/* 800A1BCC 0009EB2C 7C 03 30 50 */ subf r0, r3, r6 -/* 800A1BD0 0009EB30 7C 04 00 96 */ mulhw r0, r4, r0 -/* 800A1BD4 0009EB34 7C 00 1E 70 */ srawi r0, r0, 3 -/* 800A1BD8 0009EB38 54 04 0F FE */ srwi r4, r0, 0x1f -/* 800A1BDC 0009EB3C 7C 80 22 14 */ add r4, r0, r4 -/* 800A1BE0 0009EB40 2C 04 00 01 */ cmpwi r4, 1 -/* 800A1BE4 0009EB44 40 81 01 CC */ ble lbl_800A1DB0 -/* 800A1BE8 0009EB48 2C 04 00 14 */ cmpwi r4, 0x14 -/* 800A1BEC 0009EB4C 41 81 00 30 */ bgt lbl_800A1C1C -/* 800A1BF0 0009EB50 88 FE 00 00 */ lbz r7, 0(r30) -/* 800A1BF4 0009EB54 38 61 00 34 */ addi r3, r1, 0x34 -/* 800A1BF8 0009EB58 80 DD 00 00 */ lwz r6, 0(r29) -/* 800A1BFC 0009EB5C 38 81 00 30 */ addi r4, r1, 0x30 -/* 800A1C00 0009EB60 80 1C 00 00 */ lwz r0, 0(r28) -/* 800A1C04 0009EB64 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800A1C08 0009EB68 98 E1 00 14 */ stb r7, 0x14(r1) -/* 800A1C0C 0009EB6C 90 C1 00 30 */ stw r6, 0x30(r1) -/* 800A1C10 0009EB70 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A1C14 0009EB74 48 00 08 FD */ bl "__insertion_sort,Q24rstl17rmemory_allocator>,29CMapObjectSortInfoGreaterThan>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator__4rstlFRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfo29CMapObjectSortInfoGreaterThan" -/* 800A1C4C 0009EBAC 80 9C 00 00 */ lwz r4, 0(r28) -/* 800A1C50 0009EBB0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800A1C54 0009EBB4 38 84 00 14 */ addi r4, r4, 0x14 -/* 800A1C58 0009EBB8 80 BF 00 08 */ lwz r5, 8(r31) -/* 800A1C5C 0009EBBC 38 03 FF EC */ addi r0, r3, -20 -/* 800A1C60 0009EBC0 90 81 00 38 */ stw r4, 0x38(r1) -/* 800A1C64 0009EBC4 C3 FF 00 00 */ lfs f31, 0(r31) -/* 800A1C68 0009EBC8 54 BF 00 1E */ rlwinm r31, r5, 0, 0, 0xf -/* 800A1C6C 0009EBCC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800A1C70 0009EBD0 48 00 00 10 */ b lbl_800A1C80 -lbl_800A1C74: -/* 800A1C74 0009EBD4 80 61 00 38 */ lwz r3, 0x38(r1) -/* 800A1C78 0009EBD8 38 03 00 14 */ addi r0, r3, 0x14 -/* 800A1C7C 0009EBDC 90 01 00 38 */ stw r0, 0x38(r1) -lbl_800A1C80: -/* 800A1C80 0009EBE0 80 61 00 38 */ lwz r3, 0x38(r1) -/* 800A1C84 0009EBE4 80 03 00 08 */ lwz r0, 8(r3) -/* 800A1C88 0009EBE8 54 04 00 1E */ rlwinm r4, r0, 0, 0, 0xf -/* 800A1C8C 0009EBEC 7C 04 F8 00 */ cmpw r4, r31 -/* 800A1C90 0009EBF0 40 82 00 18 */ bne lbl_800A1CA8 -/* 800A1C94 0009EBF4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800A1C98 0009EBF8 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 800A1C9C 0009EBFC 7C 00 00 26 */ mfcr r0 -/* 800A1CA0 0009EC00 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 800A1CA4 0009EC04 48 00 00 18 */ b lbl_800A1CBC -lbl_800A1CA8: -/* 800A1CA8 0009EC08 7C 80 FA 78 */ xor r0, r4, r31 -/* 800A1CAC 0009EC0C 7C 03 0E 70 */ srawi r3, r0, 1 -/* 800A1CB0 0009EC10 7C 00 20 38 */ and r0, r0, r4 -/* 800A1CB4 0009EC14 7C 00 18 50 */ subf r0, r0, r3 -/* 800A1CB8 0009EC18 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_800A1CBC: -/* 800A1CBC 0009EC1C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800A1CC0 0009EC20 40 82 FF B4 */ bne lbl_800A1C74 -/* 800A1CC4 0009EC24 48 00 00 10 */ b lbl_800A1CD4 -lbl_800A1CC8: -/* 800A1CC8 0009EC28 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800A1CCC 0009EC2C 38 03 FF EC */ addi r0, r3, -20 -/* 800A1CD0 0009EC30 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_800A1CD4: -/* 800A1CD4 0009EC34 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800A1CD8 0009EC38 80 03 00 08 */ lwz r0, 8(r3) -/* 800A1CDC 0009EC3C 54 00 00 1E */ rlwinm r0, r0, 0, 0, 0xf -/* 800A1CE0 0009EC40 7C 1F 00 00 */ cmpw r31, r0 -/* 800A1CE4 0009EC44 40 82 00 18 */ bne lbl_800A1CFC -/* 800A1CE8 0009EC48 C0 03 00 00 */ lfs f0, 0(r3) -/* 800A1CEC 0009EC4C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800A1CF0 0009EC50 7C 00 00 26 */ mfcr r0 -/* 800A1CF4 0009EC54 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 800A1CF8 0009EC58 48 00 00 18 */ b lbl_800A1D10 -lbl_800A1CFC: -/* 800A1CFC 0009EC5C 7F E0 02 78 */ xor r0, r31, r0 -/* 800A1D00 0009EC60 7C 03 0E 70 */ srawi r3, r0, 1 -/* 800A1D04 0009EC64 7C 00 F8 38 */ and r0, r0, r31 -/* 800A1D08 0009EC68 7C 00 18 50 */ subf r0, r0, r3 -/* 800A1D0C 0009EC6C 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_800A1D10: -/* 800A1D10 0009EC70 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800A1D14 0009EC74 40 82 FF B4 */ bne lbl_800A1CC8 -/* 800A1D18 0009EC78 80 61 00 38 */ lwz r3, 0x38(r1) -/* 800A1D1C 0009EC7C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 800A1D20 0009EC80 7C 03 00 40 */ cmplw r3, r0 -/* 800A1D24 0009EC84 40 80 00 3C */ bge lbl_800A1D60 -/* 800A1D28 0009EC88 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 800A1D2C 0009EC8C 38 61 00 2C */ addi r3, r1, 0x2c -/* 800A1D30 0009EC90 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800A1D34 0009EC94 38 81 00 28 */ addi r4, r1, 0x28 -/* 800A1D38 0009EC98 90 A1 00 28 */ stw r5, 0x28(r1) -/* 800A1D3C 0009EC9C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800A1D40 0009ECA0 48 00 00 99 */ bl sub_800a1dd8 -/* 800A1D44 0009ECA4 80 81 00 38 */ lwz r4, 0x38(r1) -/* 800A1D48 0009ECA8 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800A1D4C 0009ECAC 38 84 00 14 */ addi r4, r4, 0x14 -/* 800A1D50 0009ECB0 38 03 FF EC */ addi r0, r3, -20 -/* 800A1D54 0009ECB4 90 81 00 38 */ stw r4, 0x38(r1) -/* 800A1D58 0009ECB8 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800A1D5C 0009ECBC 4B FF FF 24 */ b lbl_800A1C80 -lbl_800A1D60: -/* 800A1D60 0009ECC0 88 FE 00 00 */ lbz r7, 0(r30) -/* 800A1D64 0009ECC4 38 61 00 24 */ addi r3, r1, 0x24 -/* 800A1D68 0009ECC8 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 800A1D6C 0009ECCC 38 81 00 20 */ addi r4, r1, 0x20 -/* 800A1D70 0009ECD0 80 1C 00 00 */ lwz r0, 0(r28) -/* 800A1D74 0009ECD4 38 A1 00 0C */ addi r5, r1, 0xc -/* 800A1D78 0009ECD8 98 E1 00 0C */ stb r7, 0xc(r1) -/* 800A1D7C 0009ECDC 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800A1D80 0009ECE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A1D84 0009ECE4 4B FF FE 09 */ bl sub_800a1b8c -/* 800A1D88 0009ECE8 88 FE 00 00 */ lbz r7, 0(r30) -/* 800A1D8C 0009ECEC 38 61 00 1C */ addi r3, r1, 0x1c -/* 800A1D90 0009ECF0 80 DD 00 00 */ lwz r6, 0(r29) -/* 800A1D94 0009ECF4 38 81 00 18 */ addi r4, r1, 0x18 -/* 800A1D98 0009ECF8 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800A1D9C 0009ECFC 38 A1 00 08 */ addi r5, r1, 8 -/* 800A1DA0 0009ED00 98 E1 00 08 */ stb r7, 8(r1) -/* 800A1DA4 0009ED04 90 C1 00 18 */ stw r6, 0x18(r1) -/* 800A1DA8 0009ED08 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800A1DAC 0009ED0C 4B FF FD E1 */ bl sub_800a1b8c -lbl_800A1DB0: -/* 800A1DB0 0009ED10 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 800A1DB4 0009ED14 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800A1DB8 0009ED18 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 800A1DBC 0009ED1C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800A1DC0 0009ED20 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800A1DC4 0009ED24 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 800A1DC8 0009ED28 83 81 00 40 */ lwz r28, 0x40(r1) -/* 800A1DCC 0009ED2C 7C 08 03 A6 */ mtlr r0 -/* 800A1DD0 0009ED30 38 21 00 60 */ addi r1, r1, 0x60 -/* 800A1DD4 0009ED34 4E 80 00 20 */ blr - -.global sub_800a1dd8 -sub_800a1dd8: -/* 800A1DD8 0009ED38 81 23 00 00 */ lwz r9, 0(r3) -/* 800A1DDC 0009ED3C 80 64 00 00 */ lwz r3, 0(r4) -/* 800A1DE0 0009ED40 C0 29 00 00 */ lfs f1, 0(r9) -/* 800A1DE4 0009ED44 80 A9 00 04 */ lwz r5, 4(r9) -/* 800A1DE8 0009ED48 80 C9 00 08 */ lwz r6, 8(r9) -/* 800A1DEC 0009ED4C 80 E9 00 0C */ lwz r7, 0xc(r9) -/* 800A1DF0 0009ED50 81 09 00 10 */ lwz r8, 0x10(r9) -/* 800A1DF4 0009ED54 C0 03 00 00 */ lfs f0, 0(r3) -/* 800A1DF8 0009ED58 D0 09 00 00 */ stfs f0, 0(r9) -/* 800A1DFC 0009ED5C 80 03 00 04 */ lwz r0, 4(r3) -/* 800A1E00 0009ED60 90 09 00 04 */ stw r0, 4(r9) -/* 800A1E04 0009ED64 80 03 00 08 */ lwz r0, 8(r3) -/* 800A1E08 0009ED68 90 09 00 08 */ stw r0, 8(r9) -/* 800A1E0C 0009ED6C 80 03 00 0C */ lwz r0, 0xc(r3) -/* 800A1E10 0009ED70 90 09 00 0C */ stw r0, 0xc(r9) -/* 800A1E14 0009ED74 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800A1E18 0009ED78 90 09 00 10 */ stw r0, 0x10(r9) -/* 800A1E1C 0009ED7C 80 64 00 00 */ lwz r3, 0(r4) -/* 800A1E20 0009ED80 D0 23 00 00 */ stfs f1, 0(r3) -/* 800A1E24 0009ED84 90 A3 00 04 */ stw r5, 4(r3) -/* 800A1E28 0009ED88 90 C3 00 08 */ stw r6, 8(r3) -/* 800A1E2C 0009ED8C 90 E3 00 0C */ stw r7, 0xc(r3) -/* 800A1E30 0009ED90 91 03 00 10 */ stw r8, 0x10(r3) -/* 800A1E34 0009ED94 4E 80 00 20 */ blr - -.global "reserve__Q24rstl64vectorFi" -"reserve__Q24rstl64vectorFi": -/* 800A1E38 0009ED98 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A1E3C 0009ED9C 7C 08 02 A6 */ mflr r0 -/* 800A1E40 0009EDA0 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A1E44 0009EDA4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800A1E48 0009EDA8 7C 9F 23 78 */ mr r31, r4 -/* 800A1E4C 0009EDAC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800A1E50 0009EDB0 7C 7E 1B 78 */ mr r30, r3 -/* 800A1E54 0009EDB4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800A1E58 0009EDB8 80 03 00 08 */ lwz r0, 8(r3) -/* 800A1E5C 0009EDBC 7C 1F 00 00 */ cmpw r31, r0 -/* 800A1E60 0009EDC0 40 81 00 C0 */ ble lbl_800A1F20 -/* 800A1E64 0009EDC4 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 800A1E68 0009EDC8 40 82 00 0C */ bne lbl_800A1E74 -/* 800A1E6C 0009EDCC 3B A0 00 00 */ li r29, 0 -/* 800A1E70 0009EDD0 48 00 00 18 */ b lbl_800A1E88 -lbl_800A1E74: -/* 800A1E74 0009EDD4 3C 80 80 3D */ lis r4, lbl_803CD960@ha -/* 800A1E78 0009EDD8 38 A0 00 00 */ li r5, 0 -/* 800A1E7C 0009EDDC 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l -/* 800A1E80 0009EDE0 48 27 39 99 */ bl __nwa__FUlPCcPCc -/* 800A1E84 0009EDE4 7C 7D 1B 78 */ mr r29, r3 -lbl_800A1E88: -/* 800A1E88 0009EDE8 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A1E8C 0009EDEC 7F A4 EB 78 */ mr r4, r29 -/* 800A1E90 0009EDF0 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800A1E94 0009EDF4 54 00 20 36 */ slwi r0, r0, 4 -/* 800A1E98 0009EDF8 7C 65 02 14 */ add r3, r5, r0 -/* 800A1E9C 0009EDFC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800A1EA0 0009EE00 90 61 00 08 */ stw r3, 8(r1) -/* 800A1EA4 0009EE04 90 61 00 0C */ stw r3, 0xc(r1) -/* 800A1EA8 0009EE08 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800A1EAC 0009EE0C 48 00 00 34 */ b lbl_800A1EE0 -lbl_800A1EB0: -/* 800A1EB0 0009EE10 28 04 00 00 */ cmplwi r4, 0 -/* 800A1EB4 0009EE14 41 82 00 24 */ beq lbl_800A1ED8 -/* 800A1EB8 0009EE18 80 05 00 00 */ lwz r0, 0(r5) -/* 800A1EBC 0009EE1C 90 04 00 00 */ stw r0, 0(r4) -/* 800A1EC0 0009EE20 80 05 00 04 */ lwz r0, 4(r5) -/* 800A1EC4 0009EE24 90 04 00 04 */ stw r0, 4(r4) -/* 800A1EC8 0009EE28 C0 05 00 08 */ lfs f0, 8(r5) -/* 800A1ECC 0009EE2C D0 04 00 08 */ stfs f0, 8(r4) -/* 800A1ED0 0009EE30 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 800A1ED4 0009EE34 D0 04 00 0C */ stfs f0, 0xc(r4) -lbl_800A1ED8: -/* 800A1ED8 0009EE38 38 84 00 10 */ addi r4, r4, 0x10 -/* 800A1EDC 0009EE3C 38 A5 00 10 */ addi r5, r5, 0x10 -lbl_800A1EE0: -/* 800A1EE0 0009EE40 7C 05 18 40 */ cmplw r5, r3 -/* 800A1EE4 0009EE44 40 82 FF CC */ bne lbl_800A1EB0 -/* 800A1EE8 0009EE48 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A1EEC 0009EE4C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800A1EF0 0009EE50 54 00 20 36 */ slwi r0, r0, 4 -/* 800A1EF4 0009EE54 7C 64 1B 78 */ mr r4, r3 -/* 800A1EF8 0009EE58 7C 03 02 14 */ add r0, r3, r0 -/* 800A1EFC 0009EE5C 48 00 00 08 */ b lbl_800A1F04 -lbl_800A1F00: -/* 800A1F00 0009EE60 38 84 00 10 */ addi r4, r4, 0x10 -lbl_800A1F04: -/* 800A1F04 0009EE64 7C 04 00 40 */ cmplw r4, r0 -/* 800A1F08 0009EE68 40 82 FF F8 */ bne lbl_800A1F00 -/* 800A1F0C 0009EE6C 28 03 00 00 */ cmplwi r3, 0 -/* 800A1F10 0009EE70 41 82 00 08 */ beq lbl_800A1F18 -/* 800A1F14 0009EE74 48 27 3A 1D */ bl Free__7CMemoryFPCv -lbl_800A1F18: -/* 800A1F18 0009EE78 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800A1F1C 0009EE7C 93 FE 00 08 */ stw r31, 8(r30) -lbl_800A1F20: -/* 800A1F20 0009EE80 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A1F24 0009EE84 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800A1F28 0009EE88 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800A1F2C 0009EE8C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800A1F30 0009EE90 7C 08 03 A6 */ mtlr r0 -/* 800A1F34 0009EE94 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A1F38 0009EE98 4E 80 00 20 */ blr - -.global "reserve__Q24rstl61vectorFi" -"reserve__Q24rstl61vectorFi": -/* 800A1F3C 0009EE9C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800A1F40 0009EEA0 7C 08 02 A6 */ mflr r0 -/* 800A1F44 0009EEA4 90 01 00 44 */ stw r0, 0x44(r1) -/* 800A1F48 0009EEA8 BF 21 00 24 */ stmw r25, 0x24(r1) -/* 800A1F4C 0009EEAC 7C 9F 23 78 */ mr r31, r4 -/* 800A1F50 0009EEB0 7C 7E 1B 78 */ mr r30, r3 -/* 800A1F54 0009EEB4 80 03 00 08 */ lwz r0, 8(r3) -/* 800A1F58 0009EEB8 7C 1F 00 00 */ cmpw r31, r0 -/* 800A1F5C 0009EEBC 40 81 00 F8 */ ble lbl_800A2054 -/* 800A1F60 0009EEC0 1C 7F 00 18 */ mulli r3, r31, 0x18 -/* 800A1F64 0009EEC4 2C 03 00 00 */ cmpwi r3, 0 -/* 800A1F68 0009EEC8 40 82 00 0C */ bne lbl_800A1F74 -/* 800A1F6C 0009EECC 3B 80 00 00 */ li r28, 0 -/* 800A1F70 0009EED0 48 00 00 18 */ b lbl_800A1F88 -lbl_800A1F74: -/* 800A1F74 0009EED4 3C 80 80 3D */ lis r4, lbl_803CD960@ha -/* 800A1F78 0009EED8 38 A0 00 00 */ li r5, 0 -/* 800A1F7C 0009EEDC 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l -/* 800A1F80 0009EEE0 48 27 38 99 */ bl __nwa__FUlPCcPCc -/* 800A1F84 0009EEE4 7C 7C 1B 78 */ mr r28, r3 -lbl_800A1F88: -/* 800A1F88 0009EEE8 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A1F8C 0009EEEC 7F 9B E3 78 */ mr r27, r28 -/* 800A1F90 0009EEF0 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 800A1F94 0009EEF4 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 800A1F98 0009EEF8 93 41 00 10 */ stw r26, 0x10(r1) -/* 800A1F9C 0009EEFC 7F BA 02 14 */ add r29, r26, r0 -/* 800A1FA0 0009EF00 93 41 00 14 */ stw r26, 0x14(r1) -/* 800A1FA4 0009EF04 93 A1 00 08 */ stw r29, 8(r1) -/* 800A1FA8 0009EF08 93 A1 00 0C */ stw r29, 0xc(r1) -/* 800A1FAC 0009EF0C 48 00 00 44 */ b lbl_800A1FF0 -lbl_800A1FB0: -/* 800A1FB0 0009EF10 28 1B 00 00 */ cmplwi r27, 0 -/* 800A1FB4 0009EF14 41 82 00 34 */ beq lbl_800A1FE8 -/* 800A1FB8 0009EF18 80 1A 00 00 */ lwz r0, 0(r26) -/* 800A1FBC 0009EF1C 3B 3B 00 04 */ addi r25, r27, 4 -/* 800A1FC0 0009EF20 7F 23 CB 78 */ mr r3, r25 -/* 800A1FC4 0009EF24 38 9A 00 04 */ addi r4, r26, 4 -/* 800A1FC8 0009EF28 90 1B 00 00 */ stw r0, 0(r27) -/* 800A1FCC 0009EF2C 48 29 EE DD */ bl __ct__6CTokenFRC6CToken -/* 800A1FD0 0009EF30 80 1A 00 0C */ lwz r0, 0xc(r26) -/* 800A1FD4 0009EF34 90 19 00 08 */ stw r0, 8(r25) -/* 800A1FD8 0009EF38 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 800A1FDC 0009EF3C 90 1B 00 10 */ stw r0, 0x10(r27) -/* 800A1FE0 0009EF40 80 1A 00 14 */ lwz r0, 0x14(r26) -/* 800A1FE4 0009EF44 90 1B 00 14 */ stw r0, 0x14(r27) -lbl_800A1FE8: -/* 800A1FE8 0009EF48 3B 7B 00 18 */ addi r27, r27, 0x18 -/* 800A1FEC 0009EF4C 3B 5A 00 18 */ addi r26, r26, 0x18 -lbl_800A1FF0: -/* 800A1FF0 0009EF50 7C 1A E8 40 */ cmplw r26, r29 -/* 800A1FF4 0009EF54 40 82 FF BC */ bne lbl_800A1FB0 -/* 800A1FF8 0009EF58 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A1FFC 0009EF5C 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 800A2000 0009EF60 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 800A2004 0009EF64 7F 7A 02 14 */ add r27, r26, r0 -/* 800A2008 0009EF68 48 00 00 2C */ b lbl_800A2034 -lbl_800A200C: -/* 800A200C 0009EF6C 28 1A 00 00 */ cmplwi r26, 0 -/* 800A2010 0009EF70 41 82 00 20 */ beq lbl_800A2030 -/* 800A2014 0009EF74 34 1A 00 04 */ addic. r0, r26, 4 -/* 800A2018 0009EF78 41 82 00 18 */ beq lbl_800A2030 -/* 800A201C 0009EF7C 34 1A 00 04 */ addic. r0, r26, 4 -/* 800A2020 0009EF80 41 82 00 10 */ beq lbl_800A2030 -/* 800A2024 0009EF84 38 7A 00 04 */ addi r3, r26, 4 -/* 800A2028 0009EF88 38 80 00 00 */ li r4, 0 -/* 800A202C 0009EF8C 48 29 EE 15 */ bl __dt__6CTokenFv -lbl_800A2030: -/* 800A2030 0009EF90 3B 5A 00 18 */ addi r26, r26, 0x18 -lbl_800A2034: -/* 800A2034 0009EF94 7C 1A D8 40 */ cmplw r26, r27 -/* 800A2038 0009EF98 40 82 FF D4 */ bne lbl_800A200C -/* 800A203C 0009EF9C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800A2040 0009EFA0 28 03 00 00 */ cmplwi r3, 0 -/* 800A2044 0009EFA4 41 82 00 08 */ beq lbl_800A204C -/* 800A2048 0009EFA8 48 27 38 E9 */ bl Free__7CMemoryFPCv -lbl_800A204C: -/* 800A204C 0009EFAC 93 9E 00 0C */ stw r28, 0xc(r30) -/* 800A2050 0009EFB0 93 FE 00 08 */ stw r31, 8(r30) -lbl_800A2054: -/* 800A2054 0009EFB4 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 800A2058 0009EFB8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800A205C 0009EFBC 7C 08 03 A6 */ mtlr r0 -/* 800A2060 0009EFC0 38 21 00 40 */ addi r1, r1, 0x40 -/* 800A2064 0009EFC4 4E 80 00 20 */ blr - -.global sub_800a2068 -sub_800a2068: -/* 800A2068 0009EFC8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A206C 0009EFCC 7C 08 02 A6 */ mflr r0 -/* 800A2070 0009EFD0 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A2074 0009EFD4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800A2078 0009EFD8 7C 9F 23 78 */ mr r31, r4 -/* 800A207C 0009EFDC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800A2080 0009EFE0 7C 7E 1B 78 */ mr r30, r3 -/* 800A2084 0009EFE4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800A2088 0009EFE8 80 03 00 08 */ lwz r0, 8(r3) -/* 800A208C 0009EFEC 7C 1F 00 00 */ cmpw r31, r0 -/* 800A2090 0009EFF0 40 81 00 A8 */ ble lbl_800A2138 -/* 800A2094 0009EFF4 7F E3 FB 79 */ or. r3, r31, r31 -/* 800A2098 0009EFF8 40 82 00 0C */ bne lbl_800A20A4 -/* 800A209C 0009EFFC 3B A0 00 00 */ li r29, 0 -/* 800A20A0 0009F000 48 00 00 18 */ b lbl_800A20B8 -lbl_800A20A4: -/* 800A20A4 0009F004 3C 80 80 3D */ lis r4, lbl_803CD960@ha -/* 800A20A8 0009F008 38 A0 00 00 */ li r5, 0 -/* 800A20AC 0009F00C 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l -/* 800A20B0 0009F010 48 27 37 69 */ bl __nwa__FUlPCcPCc -/* 800A20B4 0009F014 7C 7D 1B 78 */ mr r29, r3 -lbl_800A20B8: -/* 800A20B8 0009F018 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800A20BC 0009F01C 7F A4 EB 78 */ mr r4, r29 -/* 800A20C0 0009F020 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A20C4 0009F024 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800A20C8 0009F028 7C 65 02 14 */ add r3, r5, r0 -/* 800A20CC 0009F02C 7C 05 18 50 */ subf r0, r5, r3 -/* 800A20D0 0009F030 90 61 00 08 */ stw r3, 8(r1) -/* 800A20D4 0009F034 90 61 00 0C */ stw r3, 0xc(r1) -/* 800A20D8 0009F038 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800A20DC 0009F03C 7C 09 03 A6 */ mtctr r0 -/* 800A20E0 0009F040 7C 05 18 40 */ cmplw r5, r3 -/* 800A20E4 0009F044 41 82 00 20 */ beq lbl_800A2104 -lbl_800A20E8: -/* 800A20E8 0009F048 28 04 00 00 */ cmplwi r4, 0 -/* 800A20EC 0009F04C 41 82 00 0C */ beq lbl_800A20F8 -/* 800A20F0 0009F050 88 05 00 00 */ lbz r0, 0(r5) -/* 800A20F4 0009F054 98 04 00 00 */ stb r0, 0(r4) -lbl_800A20F8: -/* 800A20F8 0009F058 38 84 00 01 */ addi r4, r4, 1 -/* 800A20FC 0009F05C 38 A5 00 01 */ addi r5, r5, 1 -/* 800A2100 0009F060 42 00 FF E8 */ bdnz lbl_800A20E8 -lbl_800A2104: -/* 800A2104 0009F064 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800A2108 0009F068 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A210C 0009F06C 7C 83 02 14 */ add r4, r3, r0 -/* 800A2110 0009F070 7C 03 20 50 */ subf r0, r3, r4 -/* 800A2114 0009F074 7C 09 03 A6 */ mtctr r0 -/* 800A2118 0009F078 7C 03 20 40 */ cmplw r3, r4 -/* 800A211C 0009F07C 41 82 00 08 */ beq lbl_800A2124 -lbl_800A2120: -/* 800A2120 0009F080 42 00 00 00 */ bdnz lbl_800A2120 -lbl_800A2124: -/* 800A2124 0009F084 28 03 00 00 */ cmplwi r3, 0 -/* 800A2128 0009F088 41 82 00 08 */ beq lbl_800A2130 -/* 800A212C 0009F08C 48 27 38 05 */ bl Free__7CMemoryFPCv -lbl_800A2130: -/* 800A2130 0009F090 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800A2134 0009F094 93 FE 00 08 */ stw r31, 8(r30) -lbl_800A2138: -/* 800A2138 0009F098 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A213C 0009F09C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800A2140 0009F0A0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800A2144 0009F0A4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800A2148 0009F0A8 7C 08 03 A6 */ mtlr r0 -/* 800A214C 0009F0AC 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A2150 0009F0B0 4E 80 00 20 */ blr - -.global "reserve__Q24rstl67vectorFi" -"reserve__Q24rstl67vectorFi": -/* 800A2154 0009F0B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A2158 0009F0B8 7C 08 02 A6 */ mflr r0 -/* 800A215C 0009F0BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A2160 0009F0C0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800A2164 0009F0C4 7C 9F 23 78 */ mr r31, r4 -/* 800A2168 0009F0C8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800A216C 0009F0CC 7C 7E 1B 78 */ mr r30, r3 -/* 800A2170 0009F0D0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800A2174 0009F0D4 80 03 00 08 */ lwz r0, 8(r3) -/* 800A2178 0009F0D8 7C 1F 00 00 */ cmpw r31, r0 -/* 800A217C 0009F0DC 40 81 00 CC */ ble lbl_800A2248 -/* 800A2180 0009F0E0 1C 7F 00 14 */ mulli r3, r31, 0x14 -/* 800A2184 0009F0E4 2C 03 00 00 */ cmpwi r3, 0 -/* 800A2188 0009F0E8 40 82 00 0C */ bne lbl_800A2194 -/* 800A218C 0009F0EC 3B A0 00 00 */ li r29, 0 -/* 800A2190 0009F0F0 48 00 00 18 */ b lbl_800A21A8 -lbl_800A2194: -/* 800A2194 0009F0F4 3C 80 80 3D */ lis r4, lbl_803CD960@ha -/* 800A2198 0009F0F8 38 A0 00 00 */ li r5, 0 -/* 800A219C 0009F0FC 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l -/* 800A21A0 0009F100 48 27 36 79 */ bl __nwa__FUlPCcPCc -/* 800A21A4 0009F104 7C 7D 1B 78 */ mr r29, r3 -lbl_800A21A8: -/* 800A21A8 0009F108 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A21AC 0009F10C 7F A4 EB 78 */ mr r4, r29 -/* 800A21B0 0009F110 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800A21B4 0009F114 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 800A21B8 0009F118 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800A21BC 0009F11C 7C 65 02 14 */ add r3, r5, r0 -/* 800A21C0 0009F120 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800A21C4 0009F124 90 61 00 08 */ stw r3, 8(r1) -/* 800A21C8 0009F128 90 61 00 0C */ stw r3, 0xc(r1) -/* 800A21CC 0009F12C 48 00 00 3C */ b lbl_800A2208 -lbl_800A21D0: -/* 800A21D0 0009F130 28 04 00 00 */ cmplwi r4, 0 -/* 800A21D4 0009F134 41 82 00 2C */ beq lbl_800A2200 -/* 800A21D8 0009F138 C0 05 00 00 */ lfs f0, 0(r5) -/* 800A21DC 0009F13C D0 04 00 00 */ stfs f0, 0(r4) -/* 800A21E0 0009F140 80 05 00 04 */ lwz r0, 4(r5) -/* 800A21E4 0009F144 90 04 00 04 */ stw r0, 4(r4) -/* 800A21E8 0009F148 80 05 00 08 */ lwz r0, 8(r5) -/* 800A21EC 0009F14C 90 04 00 08 */ stw r0, 8(r4) -/* 800A21F0 0009F150 80 05 00 0C */ lwz r0, 0xc(r5) -/* 800A21F4 0009F154 90 04 00 0C */ stw r0, 0xc(r4) -/* 800A21F8 0009F158 80 05 00 10 */ lwz r0, 0x10(r5) -/* 800A21FC 0009F15C 90 04 00 10 */ stw r0, 0x10(r4) -lbl_800A2200: -/* 800A2200 0009F160 38 84 00 14 */ addi r4, r4, 0x14 -/* 800A2204 0009F164 38 A5 00 14 */ addi r5, r5, 0x14 -lbl_800A2208: -/* 800A2208 0009F168 7C 05 18 40 */ cmplw r5, r3 -/* 800A220C 0009F16C 40 82 FF C4 */ bne lbl_800A21D0 -/* 800A2210 0009F170 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A2214 0009F174 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800A2218 0009F178 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 800A221C 0009F17C 7C 64 1B 78 */ mr r4, r3 -/* 800A2220 0009F180 7C 03 02 14 */ add r0, r3, r0 -/* 800A2224 0009F184 48 00 00 08 */ b lbl_800A222C -lbl_800A2228: -/* 800A2228 0009F188 38 84 00 14 */ addi r4, r4, 0x14 -lbl_800A222C: -/* 800A222C 0009F18C 7C 04 00 40 */ cmplw r4, r0 -/* 800A2230 0009F190 40 82 FF F8 */ bne lbl_800A2228 -/* 800A2234 0009F194 28 03 00 00 */ cmplwi r3, 0 -/* 800A2238 0009F198 41 82 00 08 */ beq lbl_800A2240 -/* 800A223C 0009F19C 48 27 36 F5 */ bl Free__7CMemoryFPCv -lbl_800A2240: -/* 800A2240 0009F1A0 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800A2244 0009F1A4 93 FE 00 08 */ stw r31, 8(r30) -lbl_800A2248: -/* 800A2248 0009F1A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A224C 0009F1AC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800A2250 0009F1B0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800A2254 0009F1B4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800A2258 0009F1B8 7C 08 03 A6 */ mtlr r0 -/* 800A225C 0009F1BC 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A2260 0009F1C0 4E 80 00 20 */ blr - -.global "reserve__Q24rstl45vector<9CVector2f,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl45vector<9CVector2f,Q24rstl17rmemory_allocator>Fi": -/* 800A2264 0009F1C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A2268 0009F1C8 7C 08 02 A6 */ mflr r0 -/* 800A226C 0009F1CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A2270 0009F1D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800A2274 0009F1D4 7C 9F 23 78 */ mr r31, r4 -/* 800A2278 0009F1D8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800A227C 0009F1DC 7C 7E 1B 78 */ mr r30, r3 -/* 800A2280 0009F1E0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800A2284 0009F1E4 80 03 00 08 */ lwz r0, 8(r3) -/* 800A2288 0009F1E8 7C 1F 00 00 */ cmpw r31, r0 -/* 800A228C 0009F1EC 40 81 00 B0 */ ble lbl_800A233C -/* 800A2290 0009F1F0 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 800A2294 0009F1F4 40 82 00 0C */ bne lbl_800A22A0 -/* 800A2298 0009F1F8 3B A0 00 00 */ li r29, 0 -/* 800A229C 0009F1FC 48 00 00 18 */ b lbl_800A22B4 -lbl_800A22A0: -/* 800A22A0 0009F200 3C 80 80 3D */ lis r4, lbl_803CD960@ha -/* 800A22A4 0009F204 38 A0 00 00 */ li r5, 0 -/* 800A22A8 0009F208 38 84 D9 60 */ addi r4, r4, lbl_803CD960@l -/* 800A22AC 0009F20C 48 27 35 6D */ bl __nwa__FUlPCcPCc -/* 800A22B0 0009F210 7C 7D 1B 78 */ mr r29, r3 -lbl_800A22B4: -/* 800A22B4 0009F214 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A22B8 0009F218 7F A3 EB 78 */ mr r3, r29 -/* 800A22BC 0009F21C 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 800A22C0 0009F220 54 00 18 38 */ slwi r0, r0, 3 -/* 800A22C4 0009F224 7C 04 02 14 */ add r0, r4, r0 -/* 800A22C8 0009F228 90 81 00 10 */ stw r4, 0x10(r1) -/* 800A22CC 0009F22C 90 01 00 08 */ stw r0, 8(r1) -/* 800A22D0 0009F230 90 01 00 0C */ stw r0, 0xc(r1) -/* 800A22D4 0009F234 90 81 00 14 */ stw r4, 0x14(r1) -/* 800A22D8 0009F238 48 00 00 24 */ b lbl_800A22FC -lbl_800A22DC: -/* 800A22DC 0009F23C 28 03 00 00 */ cmplwi r3, 0 -/* 800A22E0 0009F240 41 82 00 14 */ beq lbl_800A22F4 -/* 800A22E4 0009F244 C0 04 00 00 */ lfs f0, 0(r4) -/* 800A22E8 0009F248 D0 03 00 00 */ stfs f0, 0(r3) -/* 800A22EC 0009F24C C0 04 00 04 */ lfs f0, 4(r4) -/* 800A22F0 0009F250 D0 03 00 04 */ stfs f0, 4(r3) -lbl_800A22F4: -/* 800A22F4 0009F254 38 63 00 08 */ addi r3, r3, 8 -/* 800A22F8 0009F258 38 84 00 08 */ addi r4, r4, 8 -lbl_800A22FC: -/* 800A22FC 0009F25C 7C 04 00 40 */ cmplw r4, r0 -/* 800A2300 0009F260 40 82 FF DC */ bne lbl_800A22DC -/* 800A2304 0009F264 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A2308 0009F268 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800A230C 0009F26C 54 00 18 38 */ slwi r0, r0, 3 -/* 800A2310 0009F270 7C 64 1B 78 */ mr r4, r3 -/* 800A2314 0009F274 7C 03 02 14 */ add r0, r3, r0 -/* 800A2318 0009F278 48 00 00 08 */ b lbl_800A2320 -lbl_800A231C: -/* 800A231C 0009F27C 38 84 00 08 */ addi r4, r4, 8 -lbl_800A2320: -/* 800A2320 0009F280 7C 04 00 40 */ cmplw r4, r0 -/* 800A2324 0009F284 40 82 FF F8 */ bne lbl_800A231C -/* 800A2328 0009F288 28 03 00 00 */ cmplwi r3, 0 -/* 800A232C 0009F28C 41 82 00 08 */ beq lbl_800A2334 -/* 800A2330 0009F290 48 27 36 01 */ bl Free__7CMemoryFPCv -lbl_800A2334: -/* 800A2334 0009F294 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800A2338 0009F298 93 FE 00 08 */ stw r31, 8(r30) -lbl_800A233C: -/* 800A233C 0009F29C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A2340 0009F2A0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800A2344 0009F2A4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800A2348 0009F2A8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800A234C 0009F2AC 7C 08 03 A6 */ mtlr r0 -/* 800A2350 0009F2B0 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A2354 0009F2B4 4E 80 00 20 */ blr - -.global "__sort3__4rstlFRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfo29CMapObjectSortInfoGreaterThan" -"__sort3__4rstlFRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfoRQ29CMapWorld18CMapObjectSortInfo29CMapObjectSortInfoGreaterThan": -/* 800A2358 0009F2B8 80 04 00 08 */ lwz r0, 8(r4) -/* 800A235C 0009F2BC 81 23 00 08 */ lwz r9, 8(r3) -/* 800A2360 0009F2C0 54 07 00 1E */ rlwinm r7, r0, 0, 0, 0xf -/* 800A2364 0009F2C4 55 20 00 1E */ rlwinm r0, r9, 0, 0, 0xf -/* 800A2368 0009F2C8 7C 07 00 00 */ cmpw r7, r0 -/* 800A236C 0009F2CC 40 82 00 1C */ bne lbl_800A2388 -/* 800A2370 0009F2D0 C0 24 00 00 */ lfs f1, 0(r4) -/* 800A2374 0009F2D4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800A2378 0009F2D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800A237C 0009F2DC 7C 00 00 26 */ mfcr r0 -/* 800A2380 0009F2E0 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 800A2384 0009F2E4 48 00 00 18 */ b lbl_800A239C -lbl_800A2388: -/* 800A2388 0009F2E8 7C E0 02 78 */ xor r0, r7, r0 -/* 800A238C 0009F2EC 7C 06 0E 70 */ srawi r6, r0, 1 -/* 800A2390 0009F2F0 7C 00 38 38 */ and r0, r0, r7 -/* 800A2394 0009F2F4 7C 00 30 50 */ subf r0, r0, r6 -/* 800A2398 0009F2F8 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_800A239C: -/* 800A239C 0009F2FC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800A23A0 0009F300 41 82 00 50 */ beq lbl_800A23F0 -/* 800A23A4 0009F304 C0 23 00 00 */ lfs f1, 0(r3) -/* 800A23A8 0009F308 80 C3 00 04 */ lwz r6, 4(r3) -/* 800A23AC 0009F30C 80 E3 00 0C */ lwz r7, 0xc(r3) -/* 800A23B0 0009F310 81 03 00 10 */ lwz r8, 0x10(r3) -/* 800A23B4 0009F314 C0 04 00 00 */ lfs f0, 0(r4) -/* 800A23B8 0009F318 D0 03 00 00 */ stfs f0, 0(r3) -/* 800A23BC 0009F31C 80 04 00 04 */ lwz r0, 4(r4) -/* 800A23C0 0009F320 90 03 00 04 */ stw r0, 4(r3) -/* 800A23C4 0009F324 80 04 00 08 */ lwz r0, 8(r4) -/* 800A23C8 0009F328 90 03 00 08 */ stw r0, 8(r3) -/* 800A23CC 0009F32C 80 04 00 0C */ lwz r0, 0xc(r4) -/* 800A23D0 0009F330 90 03 00 0C */ stw r0, 0xc(r3) -/* 800A23D4 0009F334 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800A23D8 0009F338 90 03 00 10 */ stw r0, 0x10(r3) -/* 800A23DC 0009F33C D0 24 00 00 */ stfs f1, 0(r4) -/* 800A23E0 0009F340 90 C4 00 04 */ stw r6, 4(r4) -/* 800A23E4 0009F344 91 24 00 08 */ stw r9, 8(r4) -/* 800A23E8 0009F348 90 E4 00 0C */ stw r7, 0xc(r4) -/* 800A23EC 0009F34C 91 04 00 10 */ stw r8, 0x10(r4) -lbl_800A23F0: -/* 800A23F0 0009F350 80 05 00 08 */ lwz r0, 8(r5) -/* 800A23F4 0009F354 80 C4 00 08 */ lwz r6, 8(r4) -/* 800A23F8 0009F358 54 08 00 1E */ rlwinm r8, r0, 0, 0, 0xf -/* 800A23FC 0009F35C 54 C6 00 1E */ rlwinm r6, r6, 0, 0, 0xf -/* 800A2400 0009F360 7C 08 30 00 */ cmpw r8, r6 -/* 800A2404 0009F364 40 82 00 1C */ bne lbl_800A2420 -/* 800A2408 0009F368 C0 25 00 00 */ lfs f1, 0(r5) -/* 800A240C 0009F36C C0 04 00 00 */ lfs f0, 0(r4) -/* 800A2410 0009F370 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800A2414 0009F374 7C C0 00 26 */ mfcr r6 -/* 800A2418 0009F378 54 C6 17 FE */ rlwinm r6, r6, 2, 0x1f, 0x1f -/* 800A241C 0009F37C 48 00 00 18 */ b lbl_800A2434 -lbl_800A2420: -/* 800A2420 0009F380 7D 06 32 78 */ xor r6, r8, r6 -/* 800A2424 0009F384 7C C7 0E 70 */ srawi r7, r6, 1 -/* 800A2428 0009F388 7C C6 40 38 */ and r6, r6, r8 -/* 800A242C 0009F38C 7C C6 38 50 */ subf r6, r6, r7 -/* 800A2430 0009F390 54 C6 0F FE */ srwi r6, r6, 0x1f -lbl_800A2434: -/* 800A2434 0009F394 54 C6 06 3F */ clrlwi. r6, r6, 0x18 -/* 800A2438 0009F398 4D 82 00 20 */ beqlr -/* 800A243C 0009F39C C0 25 00 00 */ lfs f1, 0(r5) -/* 800A2440 0009F3A0 54 0A 00 1E */ rlwinm r10, r0, 0, 0, 0xf -/* 800A2444 0009F3A4 80 E5 00 04 */ lwz r7, 4(r5) -/* 800A2448 0009F3A8 81 05 00 0C */ lwz r8, 0xc(r5) -/* 800A244C 0009F3AC 81 25 00 10 */ lwz r9, 0x10(r5) -/* 800A2450 0009F3B0 C0 04 00 00 */ lfs f0, 0(r4) -/* 800A2454 0009F3B4 D0 05 00 00 */ stfs f0, 0(r5) -/* 800A2458 0009F3B8 80 C4 00 04 */ lwz r6, 4(r4) -/* 800A245C 0009F3BC 90 C5 00 04 */ stw r6, 4(r5) -/* 800A2460 0009F3C0 80 C4 00 08 */ lwz r6, 8(r4) -/* 800A2464 0009F3C4 90 C5 00 08 */ stw r6, 8(r5) -/* 800A2468 0009F3C8 80 C4 00 0C */ lwz r6, 0xc(r4) -/* 800A246C 0009F3CC 90 C5 00 0C */ stw r6, 0xc(r5) -/* 800A2470 0009F3D0 80 C4 00 10 */ lwz r6, 0x10(r4) -/* 800A2474 0009F3D4 90 C5 00 10 */ stw r6, 0x10(r5) -/* 800A2478 0009F3D8 80 A3 00 08 */ lwz r5, 8(r3) -/* 800A247C 0009F3DC 54 A5 00 1E */ rlwinm r5, r5, 0, 0, 0xf -/* 800A2480 0009F3E0 7C 0A 28 00 */ cmpw r10, r5 -/* 800A2484 0009F3E4 40 82 00 18 */ bne lbl_800A249C -/* 800A2488 0009F3E8 C0 03 00 00 */ lfs f0, 0(r3) -/* 800A248C 0009F3EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800A2490 0009F3F0 7C A0 00 26 */ mfcr r5 -/* 800A2494 0009F3F4 54 A5 17 FE */ rlwinm r5, r5, 2, 0x1f, 0x1f -/* 800A2498 0009F3F8 48 00 00 18 */ b lbl_800A24B0 -lbl_800A249C: -/* 800A249C 0009F3FC 7D 45 2A 78 */ xor r5, r10, r5 -/* 800A24A0 0009F400 7C A6 0E 70 */ srawi r6, r5, 1 -/* 800A24A4 0009F404 7C A5 50 38 */ and r5, r5, r10 -/* 800A24A8 0009F408 7C A5 30 50 */ subf r5, r5, r6 -/* 800A24AC 0009F40C 54 A5 0F FE */ srwi r5, r5, 0x1f -lbl_800A24B0: -/* 800A24B0 0009F410 54 A5 06 3F */ clrlwi. r5, r5, 0x18 -/* 800A24B4 0009F414 41 82 00 44 */ beq lbl_800A24F8 -/* 800A24B8 0009F418 C0 03 00 00 */ lfs f0, 0(r3) -/* 800A24BC 0009F41C D0 04 00 00 */ stfs f0, 0(r4) -/* 800A24C0 0009F420 80 A3 00 04 */ lwz r5, 4(r3) -/* 800A24C4 0009F424 90 A4 00 04 */ stw r5, 4(r4) -/* 800A24C8 0009F428 80 A3 00 08 */ lwz r5, 8(r3) -/* 800A24CC 0009F42C 90 A4 00 08 */ stw r5, 8(r4) -/* 800A24D0 0009F430 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 800A24D4 0009F434 90 A4 00 0C */ stw r5, 0xc(r4) -/* 800A24D8 0009F438 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 800A24DC 0009F43C 90 A4 00 10 */ stw r5, 0x10(r4) -/* 800A24E0 0009F440 D0 23 00 00 */ stfs f1, 0(r3) -/* 800A24E4 0009F444 90 E3 00 04 */ stw r7, 4(r3) -/* 800A24E8 0009F448 90 03 00 08 */ stw r0, 8(r3) -/* 800A24EC 0009F44C 91 03 00 0C */ stw r8, 0xc(r3) -/* 800A24F0 0009F450 91 23 00 10 */ stw r9, 0x10(r3) -/* 800A24F4 0009F454 4E 80 00 20 */ blr -lbl_800A24F8: -/* 800A24F8 0009F458 D0 24 00 00 */ stfs f1, 0(r4) -/* 800A24FC 0009F45C 90 E4 00 04 */ stw r7, 4(r4) -/* 800A2500 0009F460 90 04 00 08 */ stw r0, 8(r4) -/* 800A2504 0009F464 91 04 00 0C */ stw r8, 0xc(r4) -/* 800A2508 0009F468 91 24 00 10 */ stw r9, 0x10(r4) -/* 800A250C 0009F46C 4E 80 00 20 */ blr - -.global "__insertion_sort,Q24rstl17rmemory_allocator>,29CMapObjectSortInfoGreaterThan>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>,29CMapObjectSortInfoGreaterThan>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator__5CMathFRCfRCf" -/* 800A2AE8 0009FA48 C0 23 00 00 */ lfs f1, 0(r3) -/* 800A2AEC 0009FA4C 7F C4 F3 78 */ mr r4, r30 -/* 800A2AF0 0009FA50 C0 02 8C 64 */ lfs f0, lbl_805AA984@sda21(r2) -/* 800A2AF4 0009FA54 38 61 00 90 */ addi r3, r1, 0x90 -/* 800A2AF8 0009FA58 C0 42 8C 6C */ lfs f2, lbl_805AA98C@sda21(r2) -/* 800A2AFC 0009FA5C EC 61 00 28 */ fsubs f3, f1, f0 -/* 800A2B00 0009FA60 C0 22 8C 70 */ lfs f1, lbl_805AA990@sda21(r2) -/* 800A2B04 0009FA64 C0 02 8C 68 */ lfs f0, lbl_805AA988@sda21(r2) -/* 800A2B08 0009FA68 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 800A2B0C 0009FA6C EC 22 08 24 */ fdivs f1, f2, f1 -/* 800A2B10 0009FA70 EF E0 08 2A */ fadds f31, f0, f1 -/* 800A2B14 0009FA74 4B FD 3B B9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800A2B18 0009FA78 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800A2B1C 0009FA7C FC 20 F8 90 */ fmr f1, f31 -/* 800A2B20 0009FA80 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 800A2B24 0009FA84 7F E5 FB 78 */ mr r5, r31 -/* 800A2B28 0009FA88 C0 9D 00 40 */ lfs f4, 0x40(r29) -/* 800A2B2C 0009FA8C 7F C6 F3 78 */ mr r6, r30 -/* 800A2B30 0009FA90 C0 61 00 A4 */ lfs f3, 0xa4(r1) -/* 800A2B34 0009FA94 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 800A2B38 0009FA98 38 81 00 1C */ addi r4, r1, 0x1c -/* 800A2B3C 0009FA9C 38 E1 00 6C */ addi r7, r1, 0x6c -/* 800A2B40 0009FAA0 39 00 00 01 */ li r8, 1 -/* 800A2B44 0009FAA4 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 800A2B48 0009FAA8 D0 61 00 74 */ stfs f3, 0x74(r1) -/* 800A2B4C 0009FAAC A0 1D 00 08 */ lhz r0, 8(r29) -/* 800A2B50 0009FAB0 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 800A2B54 0009FAB4 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 800A2B58 0009FAB8 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800A2B5C 0009FABC 80 7F 08 7C */ lwz r3, 0x87c(r31) -/* 800A2B60 0009FAC0 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 800A2B64 0009FAC4 B0 01 00 18 */ sth r0, 0x18(r1) -/* 800A2B68 0009FAC8 48 08 C7 51 */ bl CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb -lbl_800A2B6C: -/* 800A2B6C 0009FACC A0 1D 00 08 */ lhz r0, 8(r29) -/* 800A2B70 0009FAD0 38 81 00 14 */ addi r4, r1, 0x14 -/* 800A2B74 0009FAD4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800A2B78 0009FAD8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800A2B7C 0009FADC 80 7F 08 7C */ lwz r3, 0x87c(r31) -/* 800A2B80 0009FAE0 48 08 CA 01 */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId -/* 800A2B84 0009FAE4 7F A3 EB 78 */ mr r3, r29 -/* 800A2B88 0009FAE8 FF E0 08 90 */ fmr f31, f1 -/* 800A2B8C 0009FAEC 81 9D 00 00 */ lwz r12, 0(r29) -/* 800A2B90 0009FAF0 7F E4 FB 78 */ mr r4, r31 -/* 800A2B94 0009FAF4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800A2B98 0009FAF8 7D 89 03 A6 */ mtctr r12 -/* 800A2B9C 0009FAFC 4E 80 04 21 */ bctrl -/* 800A2BA0 0009FB00 C0 23 00 00 */ lfs f1, 0(r3) -/* 800A2BA4 0009FB04 C0 02 8C 78 */ lfs f0, lbl_805AA998@sda21(r2) -/* 800A2BA8 0009FB08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800A2BAC 0009FB0C 40 81 00 0C */ ble lbl_800A2BB8 -/* 800A2BB0 0009FB10 C0 02 8C 5C */ lfs f0, lbl_805AA97C@sda21(r2) -/* 800A2BB4 0009FB14 48 00 00 08 */ b lbl_800A2BBC -lbl_800A2BB8: -/* 800A2BB8 0009FB18 C0 02 8C 74 */ lfs f0, lbl_805AA994@sda21(r2) -lbl_800A2BBC: -/* 800A2BBC 0009FB1C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800A2BC0 0009FB20 4C 41 13 82 */ cror 2, 1, 2 -/* 800A2BC4 0009FB24 40 82 00 BC */ bne lbl_800A2C80 -/* 800A2BC8 0009FB28 7F C4 F3 78 */ mr r4, r30 -/* 800A2BCC 0009FB2C 38 61 00 78 */ addi r3, r1, 0x78 -/* 800A2BD0 0009FB30 4B FD 3A FD */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800A2BD4 0009FB34 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 800A2BD8 0009FB38 38 61 00 2C */ addi r3, r1, 0x2c -/* 800A2BDC 0009FB3C C0 5D 00 50 */ lfs f2, 0x50(r29) -/* 800A2BE0 0009FB40 C0 BD 00 40 */ lfs f5, 0x40(r29) -/* 800A2BE4 0009FB44 C0 22 8C 78 */ lfs f1, lbl_805AA998@sda21(r2) -/* 800A2BE8 0009FB48 C0 81 00 8C */ lfs f4, 0x8c(r1) -/* 800A2BEC 0009FB4C C0 02 8C 7C */ lfs f0, lbl_805AA99C@sda21(r2) -/* 800A2BF0 0009FB50 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 800A2BF4 0009FB54 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800A2BF8 0009FB58 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 800A2BFC 0009FB5C D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 800A2C00 0009FB60 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 800A2C04 0009FB64 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 800A2C08 0009FB68 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800A2C0C 0009FB6C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800A2C10 0009FB70 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800A2C14 0009FB74 48 27 1C E5 */ bl Normalize__9CVector3fFv -/* 800A2C18 0009FB78 7F C4 F3 78 */ mr r4, r30 -/* 800A2C1C 0009FB7C 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 800A2C20 0009FB80 4B FD 3A AD */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800A2C24 0009FB84 C0 61 00 BC */ lfs f3, 0xbc(r1) -/* 800A2C28 0009FB88 7F C7 F3 78 */ mr r7, r30 -/* 800A2C2C 0009FB8C C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 800A2C30 0009FB90 7F E8 FB 78 */ mr r8, r31 -/* 800A2C34 0009FB94 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 800A2C38 0009FB98 38 81 00 0C */ addi r4, r1, 0xc -/* 800A2C3C 0009FB9C C0 01 00 34 */ lfs f0, 0x34(r1) -/* 800A2C40 0009FBA0 38 A1 00 60 */ addi r5, r1, 0x60 -/* 800A2C44 0009FBA4 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 800A2C48 0009FBA8 38 DD 01 38 */ addi r6, r29, 0x138 -/* 800A2C4C 0009FBAC 39 21 00 38 */ addi r9, r1, 0x38 -/* 800A2C50 0009FBB0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800A2C54 0009FBB4 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800A2C58 0009FBB8 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 800A2C5C 0009FBBC A0 1D 00 08 */ lhz r0, 8(r29) -/* 800A2C60 0009FBC0 C0 3D 00 E8 */ lfs f1, 0xe8(r29) -/* 800A2C64 0009FBC4 B0 01 00 08 */ sth r0, 8(r1) -/* 800A2C68 0009FBC8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800A2C6C 0009FBCC 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 800A2C70 0009FBD0 81 83 00 00 */ lwz r12, 0(r3) -/* 800A2C74 0009FBD4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800A2C78 0009FBD8 7D 89 03 A6 */ mtctr r12 -/* 800A2C7C 0009FBDC 4E 80 04 21 */ bctrl -lbl_800A2C80: -/* 800A2C80 0009FBE0 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 800A2C84 0009FBE4 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800A2C88 0009FBE8 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 800A2C8C 0009FBEC 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 800A2C90 0009FBF0 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 800A2C94 0009FBF4 83 A1 00 C4 */ lwz r29, 0xc4(r1) -/* 800A2C98 0009FBF8 7C 08 03 A6 */ mtlr r0 -/* 800A2C9C 0009FBFC 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800A2CA0 0009FC00 4E 80 00 20 */ blr - -.global AcceptScriptMsg__3CAiF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__3CAiF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800A2CA4 0009FC04 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800A2CA8 0009FC08 7C 08 02 A6 */ mflr r0 -/* 800A2CAC 0009FC0C 90 01 00 54 */ stw r0, 0x54(r1) -/* 800A2CB0 0009FC10 BF 21 00 34 */ stmw r25, 0x34(r1) -/* 800A2CB4 0009FC14 7C 9A 23 78 */ mr r26, r4 -/* 800A2CB8 0009FC18 2C 1A 00 23 */ cmpwi r26, 0x23 -/* 800A2CBC 0009FC1C 7C 79 1B 78 */ mr r25, r3 -/* 800A2CC0 0009FC20 7C BB 2B 78 */ mr r27, r5 -/* 800A2CC4 0009FC24 7C DC 33 78 */ mr r28, r6 -/* 800A2CC8 0009FC28 41 82 00 08 */ beq lbl_800A2CD0 -/* 800A2CCC 0009FC2C 48 00 00 68 */ b lbl_800A2D34 -lbl_800A2CD0: -/* 800A2CD0 0009FC30 4B FB 0B ED */ bl GetMaterialFilter__6CActorCFv -/* 800A2CD4 0009FC34 80 AD 86 18 */ lwz r5, lbl_805A71D8@sda21(r13) -/* 800A2CD8 0009FC38 7C 7F 1B 78 */ mr r31, r3 -/* 800A2CDC 0009FC3C 38 60 00 00 */ li r3, 0 -/* 800A2CE0 0009FC40 38 80 00 01 */ li r4, 1 -/* 800A2CE4 0009FC44 48 2E 72 11 */ bl __shl2i -/* 800A2CE8 0009FC48 7C 7E 1B 78 */ mr r30, r3 -/* 800A2CEC 0009FC4C 7C 9D 23 78 */ mr r29, r4 -/* 800A2CF0 0009FC50 7F 23 CB 78 */ mr r3, r25 -/* 800A2CF4 0009FC54 4B FB 0B C9 */ bl GetMaterialFilter__6CActorCFv -/* 800A2CF8 0009FC58 80 83 00 00 */ lwz r4, 0(r3) -/* 800A2CFC 0009FC5C 38 00 00 03 */ li r0, 3 -/* 800A2D00 0009FC60 80 C3 00 04 */ lwz r6, 4(r3) -/* 800A2D04 0009FC64 7F 23 CB 78 */ mr r3, r25 -/* 800A2D08 0009FC68 7C 85 F3 78 */ or r5, r4, r30 -/* 800A2D0C 0009FC6C 38 81 00 10 */ addi r4, r1, 0x10 -/* 800A2D10 0009FC70 7C C6 EB 78 */ or r6, r6, r29 -/* 800A2D14 0009FC74 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800A2D18 0009FC78 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800A2D1C 0009FC7C 80 BF 00 08 */ lwz r5, 8(r31) -/* 800A2D20 0009FC80 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 800A2D24 0009FC84 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 800A2D28 0009FC88 90 A1 00 18 */ stw r5, 0x18(r1) -/* 800A2D2C 0009FC8C 90 01 00 20 */ stw r0, 0x20(r1) -/* 800A2D30 0009FC90 4B FB 0B 71 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -lbl_800A2D34: -/* 800A2D34 0009FC94 A0 1B 00 00 */ lhz r0, 0(r27) -/* 800A2D38 0009FC98 7F 23 CB 78 */ mr r3, r25 -/* 800A2D3C 0009FC9C 7F 44 D3 78 */ mr r4, r26 -/* 800A2D40 0009FCA0 7F 86 E3 78 */ mr r6, r28 -/* 800A2D44 0009FCA4 B0 01 00 08 */ sth r0, 8(r1) -/* 800A2D48 0009FCA8 38 A1 00 08 */ addi r5, r1, 8 -/* 800A2D4C 0009FCAC 4B FB 08 C9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800A2D50 0009FCB0 BB 21 00 34 */ lmw r25, 0x34(r1) -/* 800A2D54 0009FCB4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800A2D58 0009FCB8 7C 08 03 A6 */ mtlr r0 -/* 800A2D5C 0009FCBC 38 21 00 50 */ addi r1, r1, 0x50 -/* 800A2D60 0009FCC0 4E 80 00 20 */ blr - -.global TakeDamage__3CAiFRC9CVector3ff -TakeDamage__3CAiFRC9CVector3ff: -/* 800A2D64 0009FCC4 4E 80 00 20 */ blr - -.global GetDamageVulnerability__3CAiFv -GetDamageVulnerability__3CAiFv: -/* 800A2D68 0009FCC8 38 63 02 60 */ addi r3, r3, 0x260 -/* 800A2D6C 0009FCCC 4E 80 00 20 */ blr - -.global GetDamageVulnerability__3CAiCFv -GetDamageVulnerability__3CAiCFv: -/* 800A2D70 0009FCD0 38 63 02 60 */ addi r3, r3, 0x260 -/* 800A2D74 0009FCD4 4E 80 00 20 */ blr - -.global HealthInfo__3CAiFR13CStateManager -HealthInfo__3CAiFR13CStateManager: -/* 800A2D78 0009FCD8 38 63 02 58 */ addi r3, r3, 0x258 -/* 800A2D7C 0009FCDC 4E 80 00 20 */ blr - -.global __dt__3CAiFv -__dt__3CAiFv: -/* 800A2D80 0009FCE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A2D84 0009FCE4 7C 08 02 A6 */ mflr r0 -/* 800A2D88 0009FCE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A2D8C 0009FCEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A2D90 0009FCF0 7C 9F 23 78 */ mr r31, r4 -/* 800A2D94 0009FCF4 93 C1 00 08 */ stw r30, 8(r1) -/* 800A2D98 0009FCF8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800A2D9C 0009FCFC 41 82 00 48 */ beq lbl_800A2DE4 -/* 800A2DA0 0009FD00 3C 60 80 3E */ lis r3, lbl_803DBCCC@ha -/* 800A2DA4 0009FD04 34 1E 02 C8 */ addic. r0, r30, 0x2c8 -/* 800A2DA8 0009FD08 38 03 BC CC */ addi r0, r3, lbl_803DBCCC@l -/* 800A2DAC 0009FD0C 90 1E 00 00 */ stw r0, 0(r30) -/* 800A2DB0 0009FD10 41 82 00 18 */ beq lbl_800A2DC8 -/* 800A2DB4 0009FD14 34 1E 02 C8 */ addic. r0, r30, 0x2c8 -/* 800A2DB8 0009FD18 41 82 00 10 */ beq lbl_800A2DC8 -/* 800A2DBC 0009FD1C 38 7E 02 C8 */ addi r3, r30, 0x2c8 -/* 800A2DC0 0009FD20 38 80 00 00 */ li r4, 0 -/* 800A2DC4 0009FD24 48 29 E0 7D */ bl __dt__6CTokenFv -lbl_800A2DC8: -/* 800A2DC8 0009FD28 7F C3 F3 78 */ mr r3, r30 -/* 800A2DCC 0009FD2C 38 80 00 00 */ li r4, 0 -/* 800A2DD0 0009FD30 48 07 96 45 */ bl __dt__13CPhysicsActorFv -/* 800A2DD4 0009FD34 7F E0 07 35 */ extsh. r0, r31 -/* 800A2DD8 0009FD38 40 81 00 0C */ ble lbl_800A2DE4 -/* 800A2DDC 0009FD3C 7F C3 F3 78 */ mr r3, r30 -/* 800A2DE0 0009FD40 48 27 2B 51 */ bl Free__7CMemoryFPCv -lbl_800A2DE4: -/* 800A2DE4 0009FD44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A2DE8 0009FD48 7F C3 F3 78 */ mr r3, r30 -/* 800A2DEC 0009FD4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A2DF0 0009FD50 83 C1 00 08 */ lwz r30, 8(r1) -/* 800A2DF4 0009FD54 7C 08 03 A6 */ mtlr r0 -/* 800A2DF8 0009FD58 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A2DFC 0009FD5C 4E 80 00 20 */ blr - -.global "__ct__3CAiF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxfRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersff" -"__ct__3CAiF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxfRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersff": -/* 800A2E00 0009FD60 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 800A2E04 0009FD64 7C 08 02 A6 */ mflr r0 -/* 800A2E08 0009FD68 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800A2E0C 0009FD6C DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 800A2E10 0009FD70 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 800A2E14 0009FD74 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 800A2E18 0009FD78 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 800A2E1C 0009FD7C DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 800A2E20 0009FD80 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 800A2E24 0009FD84 BE 21 00 74 */ stmw r17, 0x74(r1) -/* 800A2E28 0009FD88 FF A0 08 90 */ fmr f29, f1 -/* 800A2E2C 0009FD8C 83 01 00 E8 */ lwz r24, 0xe8(r1) -/* 800A2E30 0009FD90 FF C0 10 90 */ fmr f30, f2 -/* 800A2E34 0009FD94 83 21 00 EC */ lwz r25, 0xec(r1) -/* 800A2E38 0009FD98 FF E0 18 90 */ fmr f31, f3 -/* 800A2E3C 0009FD9C 83 41 00 F0 */ lwz r26, 0xf0(r1) -/* 800A2E40 0009FDA0 83 61 00 F4 */ lwz r27, 0xf4(r1) -/* 800A2E44 0009FDA4 7C 7F 1B 78 */ mr r31, r3 -/* 800A2E48 0009FDA8 83 81 00 F8 */ lwz r28, 0xf8(r1) -/* 800A2E4C 0009FDAC 7C 91 23 78 */ mr r17, r4 -/* 800A2E50 0009FDB0 7C B2 2B 78 */ mr r18, r5 -/* 800A2E54 0009FDB4 7C D3 33 78 */ mr r19, r6 -/* 800A2E58 0009FDB8 7C F4 3B 78 */ mr r20, r7 -/* 800A2E5C 0009FDBC 7D 15 43 78 */ mr r21, r8 -/* 800A2E60 0009FDC0 7D 36 4B 78 */ mr r22, r9 -/* 800A2E64 0009FDC4 7D 57 53 78 */ mr r23, r10 -/* 800A2E68 0009FDC8 4B F7 86 CD */ bl Identity__10CAxisAngleFv -/* 800A2E6C 0009FDCC 7C 7D 1B 78 */ mr r29, r3 -/* 800A2E70 0009FDD0 4B F7 86 C5 */ bl Identity__10CAxisAngleFv -/* 800A2E74 0009FDD4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800A2E78 0009FDD8 80 AD 86 10 */ lwz r5, lbl_805A71D0@sda21(r13) -/* 800A2E7C 0009FDDC 38 C4 66 A0 */ addi r6, r4, skZero3f@l -/* 800A2E80 0009FDE0 C0 26 00 00 */ lfs f1, 0(r6) -/* 800A2E84 0009FDE4 38 80 00 01 */ li r4, 1 -/* 800A2E88 0009FDE8 C0 46 00 04 */ lfs f2, 4(r6) -/* 800A2E8C 0009FDEC C0 66 00 08 */ lfs f3, 8(r6) -/* 800A2E90 0009FDF0 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800A2E94 0009FDF4 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800A2E98 0009FDF8 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 800A2E9C 0009FDFC C0 03 00 00 */ lfs f0, 0(r3) -/* 800A2EA0 0009FE00 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800A2EA4 0009FE04 C0 03 00 04 */ lfs f0, 4(r3) -/* 800A2EA8 0009FE08 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800A2EAC 0009FE0C C0 03 00 08 */ lfs f0, 8(r3) -/* 800A2EB0 0009FE10 38 60 00 00 */ li r3, 0 -/* 800A2EB4 0009FE14 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800A2EB8 0009FE18 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800A2EBC 0009FE1C D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800A2EC0 0009FE20 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 800A2EC4 0009FE24 C0 1D 00 00 */ lfs f0, 0(r29) -/* 800A2EC8 0009FE28 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800A2ECC 0009FE2C C0 1D 00 04 */ lfs f0, 4(r29) -/* 800A2ED0 0009FE30 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800A2ED4 0009FE34 C0 1D 00 08 */ lfs f0, 8(r29) -/* 800A2ED8 0009FE38 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 800A2EDC 0009FE3C D3 A1 00 68 */ stfs f29, 0x68(r1) -/* 800A2EE0 0009FE40 48 2E 70 15 */ bl __shl2i -/* 800A2EE4 0009FE44 80 AD 86 14 */ lwz r5, lbl_805A71D4@sda21(r13) -/* 800A2EE8 0009FE48 7C 9D 23 78 */ mr r29, r4 -/* 800A2EEC 0009FE4C 7C 7E 1B 78 */ mr r30, r3 -/* 800A2EF0 0009FE50 38 60 00 00 */ li r3, 0 -/* 800A2EF4 0009FE54 38 80 00 01 */ li r4, 1 -/* 800A2EF8 0009FE58 48 2E 6F FD */ bl __shl2i -/* 800A2EFC 0009FE5C 80 1A 00 00 */ lwz r0, 0(r26) -/* 800A2F00 0009FE60 7F DE 1B 78 */ or r30, r30, r3 -/* 800A2F04 0009FE64 7F BD 23 78 */ or r29, r29, r4 -/* 800A2F08 0009FE68 80 7A 00 04 */ lwz r3, 4(r26) -/* 800A2F0C 0009FE6C A0 91 00 00 */ lhz r4, 0(r17) -/* 800A2F10 0009FE70 7C 00 F3 78 */ or r0, r0, r30 -/* 800A2F14 0009FE74 7C 63 EB 78 */ or r3, r3, r29 -/* 800A2F18 0009FE78 90 01 00 30 */ stw r0, 0x30(r1) -/* 800A2F1C 0009FE7C 38 01 00 38 */ addi r0, r1, 0x38 -/* 800A2F20 0009FE80 FC 20 F0 90 */ fmr f1, f30 -/* 800A2F24 0009FE84 90 61 00 34 */ stw r3, 0x34(r1) -/* 800A2F28 0009FE88 FC 40 F8 90 */ fmr f2, f31 -/* 800A2F2C 0009FE8C 7F E3 FB 78 */ mr r3, r31 -/* 800A2F30 0009FE90 7E 45 93 78 */ mr r5, r18 -/* 800A2F34 0009FE94 B0 81 00 18 */ sth r4, 0x18(r1) -/* 800A2F38 0009FE98 7E 66 9B 78 */ mr r6, r19 -/* 800A2F3C 0009FE9C 7E 87 A3 78 */ mr r7, r20 -/* 800A2F40 0009FEA0 92 E1 00 08 */ stw r23, 8(r1) -/* 800A2F44 0009FEA4 7E A8 AB 78 */ mr r8, r21 -/* 800A2F48 0009FEA8 7E C9 B3 78 */ mr r9, r22 -/* 800A2F4C 0009FEAC 38 81 00 18 */ addi r4, r1, 0x18 -/* 800A2F50 0009FEB0 90 01 00 0C */ stw r0, 0xc(r1) -/* 800A2F54 0009FEB4 39 41 00 30 */ addi r10, r1, 0x30 -/* 800A2F58 0009FEB8 93 81 00 10 */ stw r28, 0x10(r1) -/* 800A2F5C 0009FEBC 48 07 95 55 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" -/* 800A2F60 0009FEC0 3C 60 80 3E */ lis r3, lbl_803DBCCC@ha -/* 800A2F64 0009FEC4 3C 80 41 46 */ lis r4, 0x4146534D@ha -/* 800A2F68 0009FEC8 38 03 BC CC */ addi r0, r3, lbl_803DBCCC@l -/* 800A2F6C 0009FECC 38 61 00 1C */ addi r3, r1, 0x1c -/* 800A2F70 0009FED0 90 1F 00 00 */ stw r0, 0(r31) -/* 800A2F74 0009FED4 38 04 53 4D */ addi r0, r4, 0x4146534D@l -/* 800A2F78 0009FED8 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800A2F7C 0009FEDC C0 18 00 00 */ lfs f0, 0(r24) -/* 800A2F80 0009FEE0 D0 1F 02 58 */ stfs f0, 0x258(r31) -/* 800A2F84 0009FEE4 C0 18 00 04 */ lfs f0, 4(r24) -/* 800A2F88 0009FEE8 D0 1F 02 5C */ stfs f0, 0x25c(r31) -/* 800A2F8C 0009FEEC 80 D9 00 00 */ lwz r6, 0(r25) -/* 800A2F90 0009FEF0 80 99 00 04 */ lwz r4, 4(r25) -/* 800A2F94 0009FEF4 90 DF 02 60 */ stw r6, 0x260(r31) -/* 800A2F98 0009FEF8 90 9F 02 64 */ stw r4, 0x264(r31) -/* 800A2F9C 0009FEFC 80 D9 00 08 */ lwz r6, 8(r25) -/* 800A2FA0 0009FF00 80 99 00 0C */ lwz r4, 0xc(r25) -/* 800A2FA4 0009FF04 90 DF 02 68 */ stw r6, 0x268(r31) -/* 800A2FA8 0009FF08 90 9F 02 6C */ stw r4, 0x26c(r31) -/* 800A2FAC 0009FF0C 80 D9 00 10 */ lwz r6, 0x10(r25) -/* 800A2FB0 0009FF10 80 99 00 14 */ lwz r4, 0x14(r25) -/* 800A2FB4 0009FF14 90 DF 02 70 */ stw r6, 0x270(r31) -/* 800A2FB8 0009FF18 90 9F 02 74 */ stw r4, 0x274(r31) -/* 800A2FBC 0009FF1C 80 D9 00 18 */ lwz r6, 0x18(r25) -/* 800A2FC0 0009FF20 80 99 00 1C */ lwz r4, 0x1c(r25) -/* 800A2FC4 0009FF24 90 DF 02 78 */ stw r6, 0x278(r31) -/* 800A2FC8 0009FF28 90 9F 02 7C */ stw r4, 0x27c(r31) -/* 800A2FCC 0009FF2C 80 D9 00 20 */ lwz r6, 0x20(r25) -/* 800A2FD0 0009FF30 80 99 00 24 */ lwz r4, 0x24(r25) -/* 800A2FD4 0009FF34 90 DF 02 80 */ stw r6, 0x280(r31) -/* 800A2FD8 0009FF38 90 9F 02 84 */ stw r4, 0x284(r31) -/* 800A2FDC 0009FF3C 80 D9 00 28 */ lwz r6, 0x28(r25) -/* 800A2FE0 0009FF40 80 99 00 2C */ lwz r4, 0x2c(r25) -/* 800A2FE4 0009FF44 90 DF 02 88 */ stw r6, 0x288(r31) -/* 800A2FE8 0009FF48 90 9F 02 8C */ stw r4, 0x28c(r31) -/* 800A2FEC 0009FF4C 80 D9 00 30 */ lwz r6, 0x30(r25) -/* 800A2FF0 0009FF50 80 99 00 34 */ lwz r4, 0x34(r25) -/* 800A2FF4 0009FF54 90 DF 02 90 */ stw r6, 0x290(r31) -/* 800A2FF8 0009FF58 90 9F 02 94 */ stw r4, 0x294(r31) -/* 800A2FFC 0009FF5C 80 99 00 38 */ lwz r4, 0x38(r25) -/* 800A3000 0009FF60 90 9F 02 98 */ stw r4, 0x298(r31) -/* 800A3004 0009FF64 80 D9 00 3C */ lwz r6, 0x3c(r25) -/* 800A3008 0009FF68 80 99 00 40 */ lwz r4, 0x40(r25) -/* 800A300C 0009FF6C 90 DF 02 9C */ stw r6, 0x29c(r31) -/* 800A3010 0009FF70 90 9F 02 A0 */ stw r4, 0x2a0(r31) -/* 800A3014 0009FF74 80 D9 00 44 */ lwz r6, 0x44(r25) -/* 800A3018 0009FF78 80 99 00 48 */ lwz r4, 0x48(r25) -/* 800A301C 0009FF7C 90 DF 02 A4 */ stw r6, 0x2a4(r31) -/* 800A3020 0009FF80 90 9F 02 A8 */ stw r4, 0x2a8(r31) -/* 800A3024 0009FF84 80 D9 00 4C */ lwz r6, 0x4c(r25) -/* 800A3028 0009FF88 80 99 00 50 */ lwz r4, 0x50(r25) -/* 800A302C 0009FF8C 90 DF 02 AC */ stw r6, 0x2ac(r31) -/* 800A3030 0009FF90 90 9F 02 B0 */ stw r4, 0x2b0(r31) -/* 800A3034 0009FF94 80 D9 00 54 */ lwz r6, 0x54(r25) -/* 800A3038 0009FF98 80 99 00 58 */ lwz r4, 0x58(r25) -/* 800A303C 0009FF9C 90 DF 02 B4 */ stw r6, 0x2b4(r31) -/* 800A3040 0009FFA0 90 9F 02 B8 */ stw r4, 0x2b8(r31) -/* 800A3044 0009FFA4 80 99 00 5C */ lwz r4, 0x5c(r25) -/* 800A3048 0009FFA8 90 9F 02 BC */ stw r4, 0x2bc(r31) -/* 800A304C 0009FFAC 80 99 00 60 */ lwz r4, 0x60(r25) -/* 800A3050 0009FFB0 90 9F 02 C0 */ stw r4, 0x2c0(r31) -/* 800A3054 0009FFB4 80 99 00 64 */ lwz r4, 0x64(r25) -/* 800A3058 0009FFB8 90 9F 02 C4 */ stw r4, 0x2c4(r31) -/* 800A305C 0009FFBC 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A3060 0009FFC0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800A3064 0009FFC4 93 61 00 28 */ stw r27, 0x28(r1) -/* 800A3068 0009FFC8 81 84 00 00 */ lwz r12, 0(r4) -/* 800A306C 0009FFCC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A3070 0009FFD0 7D 89 03 A6 */ mtctr r12 -/* 800A3074 0009FFD4 4E 80 04 21 */ bctrl -/* 800A3078 0009FFD8 3A 3F 02 C8 */ addi r17, r31, 0x2c8 -/* 800A307C 0009FFDC 38 81 00 1C */ addi r4, r1, 0x1c -/* 800A3080 0009FFE0 7E 23 8B 78 */ mr r3, r17 -/* 800A3084 0009FFE4 48 29 DE 25 */ bl __ct__6CTokenFRC6CToken -/* 800A3088 0009FFE8 38 00 00 00 */ li r0, 0 -/* 800A308C 0009FFEC 38 61 00 1C */ addi r3, r1, 0x1c -/* 800A3090 0009FFF0 90 11 00 08 */ stw r0, 8(r17) -/* 800A3094 0009FFF4 38 80 FF FF */ li r4, -1 -/* 800A3098 0009FFF8 48 29 DD A9 */ bl __dt__6CTokenFv -/* 800A309C 0009FFFC 7E 23 8B 78 */ mr r3, r17 -/* 800A30A0 000A0000 48 29 DC E5 */ bl Lock__6CTokenFv -/* 800A30A4 000A0004 7F E3 FB 78 */ mr r3, r31 -/* 800A30A8 000A0008 4B FA FD 35 */ bl CreateShadow__6CActorFv -/* 800A30AC 000A000C 80 1F 00 94 */ lwz r0, 0x94(r31) -/* 800A30B0 000A0010 28 00 00 00 */ cmplwi r0, 0 -/* 800A30B4 000A0014 41 82 00 1C */ beq lbl_800A30D0 -/* 800A30B8 000A0018 7F E3 FB 78 */ mr r3, r31 -/* 800A30BC 000A001C 38 80 00 01 */ li r4, 1 -/* 800A30C0 000A0020 4B FA FC AD */ bl CreateShadow__6CActorFb -/* 800A30C4 000A0024 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 800A30C8 000A0028 38 80 00 00 */ li r4, 0 -/* 800A30CC 000A002C 48 06 2C 25 */ bl sub_80105cf0 -lbl_800A30D0: -/* 800A30D0 000A0030 80 9F 00 90 */ lwz r4, 0x90(r31) -/* 800A30D4 000A0034 28 04 00 00 */ cmplwi r4, 0 -/* 800A30D8 000A0038 41 82 00 14 */ beq lbl_800A30EC -/* 800A30DC 000A003C 88 04 02 98 */ lbz r0, 0x298(r4) -/* 800A30E0 000A0040 38 60 00 01 */ li r3, 1 -/* 800A30E4 000A0044 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800A30E8 000A0048 98 04 02 98 */ stb r0, 0x298(r4) -lbl_800A30EC: -/* 800A30EC 000A004C 7F E3 FB 78 */ mr r3, r31 -/* 800A30F0 000A0050 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 800A30F4 000A0054 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 800A30F8 000A0058 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 800A30FC 000A005C CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 800A3100 000A0060 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 800A3104 000A0064 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 800A3108 000A0068 BA 21 00 74 */ lmw r17, 0x74(r1) -/* 800A310C 000A006C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800A3110 000A0070 7C 08 03 A6 */ mtlr r0 -/* 800A3114 000A0074 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800A3118 000A0078 4E 80 00 20 */ blr - -.global GetTriggerFunc__10CAiFuncMapCFPCc -GetTriggerFunc__10CAiFuncMapCFPCc: -/* 800A311C 000A007C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800A3120 000A0080 7C 08 02 A6 */ mflr r0 -/* 800A3124 000A0084 90 01 00 44 */ stw r0, 0x44(r1) -/* 800A3128 000A0088 38 C1 00 08 */ addi r6, r1, 8 -/* 800A312C 000A008C 38 E1 00 0C */ addi r7, r1, 0xc -/* 800A3130 000A0090 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800A3134 000A0094 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800A3138 000A0098 7C 7E 1B 78 */ mr r30, r3 -/* 800A313C 000A009C 38 61 00 1C */ addi r3, r1, 0x1c -/* 800A3140 000A00A0 80 04 00 14 */ lwz r0, 0x14(r4) -/* 800A3144 000A00A4 81 04 00 1C */ lwz r8, 0x1c(r4) -/* 800A3148 000A00A8 38 81 00 20 */ addi r4, r1, 0x20 -/* 800A314C 000A00AC 89 2D A2 C8 */ lbz r9, lbl_805A8E88@sda21(r13) -/* 800A3150 000A00B0 54 00 20 36 */ slwi r0, r0, 4 -/* 800A3154 000A00B4 7C 08 02 14 */ add r0, r8, r0 -/* 800A3158 000A00B8 90 A1 00 08 */ stw r5, 8(r1) -/* 800A315C 000A00BC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800A3160 000A00C0 99 21 00 14 */ stb r9, 0x14(r1) -/* 800A3164 000A00C4 99 21 00 10 */ stb r9, 0x10(r1) -/* 800A3168 000A00C8 90 01 00 30 */ stw r0, 0x30(r1) -/* 800A316C 000A00CC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800A3170 000A00D0 91 01 00 28 */ stw r8, 0x28(r1) -/* 800A3174 000A00D4 99 21 00 0C */ stb r9, 0xc(r1) -/* 800A3178 000A00D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A317C 000A00DC 91 01 00 20 */ stw r8, 0x20(r1) -/* 800A3180 000A00E0 48 00 08 C1 */ bl "lower_bound,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_all" -/* 800A3184 000A00E4 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 800A3188 000A00E8 3B E0 00 00 */ li r31, 0 -/* 800A318C 000A00EC 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800A3190 000A00F0 90 81 00 18 */ stw r4, 0x18(r1) -/* 800A3194 000A00F4 7C 04 00 40 */ cmplw r4, r0 -/* 800A3198 000A00F8 41 82 00 1C */ beq lbl_800A31B4 -/* 800A319C 000A00FC 80 61 00 08 */ lwz r3, 8(r1) -/* 800A31A0 000A0100 80 84 00 00 */ lwz r4, 0(r4) -/* 800A31A4 000A0104 48 2E CD F9 */ bl strcmp -/* 800A31A8 000A0108 54 60 0F FF */ rlwinm. r0, r3, 1, 0x1f, 0x1f -/* 800A31AC 000A010C 40 82 00 08 */ bne lbl_800A31B4 -/* 800A31B0 000A0110 3B E0 00 01 */ li r31, 1 -lbl_800A31B4: -/* 800A31B4 000A0114 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800A31B8 000A0118 38 61 00 2C */ addi r3, r1, 0x2c -/* 800A31BC 000A011C 41 82 00 08 */ beq lbl_800A31C4 -/* 800A31C0 000A0120 38 61 00 18 */ addi r3, r1, 0x18 -lbl_800A31C4: -/* 800A31C4 000A0124 80 83 00 00 */ lwz r4, 0(r3) -/* 800A31C8 000A0128 80 64 00 04 */ lwz r3, 4(r4) -/* 800A31CC 000A012C 80 04 00 08 */ lwz r0, 8(r4) -/* 800A31D0 000A0130 90 7E 00 00 */ stw r3, 0(r30) -/* 800A31D4 000A0134 90 1E 00 04 */ stw r0, 4(r30) -/* 800A31D8 000A0138 80 04 00 0C */ lwz r0, 0xc(r4) -/* 800A31DC 000A013C 90 1E 00 08 */ stw r0, 8(r30) -/* 800A31E0 000A0140 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800A31E4 000A0144 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800A31E8 000A0148 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800A31EC 000A014C 7C 08 03 A6 */ mtlr r0 -/* 800A31F0 000A0150 38 21 00 40 */ addi r1, r1, 0x40 -/* 800A31F4 000A0154 4E 80 00 20 */ blr - -.global GetStateFunc__10CAiFuncMapCFPCc -GetStateFunc__10CAiFuncMapCFPCc: -/* 800A31F8 000A0158 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800A31FC 000A015C 7C 08 02 A6 */ mflr r0 -/* 800A3200 000A0160 90 01 00 54 */ stw r0, 0x54(r1) -/* 800A3204 000A0164 38 E1 00 0C */ addi r7, r1, 0xc -/* 800A3208 000A0168 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800A320C 000A016C 7C 9F 23 78 */ mr r31, r4 -/* 800A3210 000A0170 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800A3214 000A0174 7C 7E 1B 78 */ mr r30, r3 -/* 800A3218 000A0178 38 61 00 1C */ addi r3, r1, 0x1c -/* 800A321C 000A017C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 800A3220 000A0180 80 04 00 04 */ lwz r0, 4(r4) -/* 800A3224 000A0184 3C 80 80 3E */ lis r4, lbl_803E0004@ha -/* 800A3228 000A0188 84 C4 85 98 */ lwzu r6, -0x7a68(r4) -/* 800A322C 000A018C 89 2D A2 C4 */ lbz r9, lbl_805A8E84@sda21(r13) -/* 800A3230 000A0190 54 00 20 36 */ slwi r0, r0, 4 -/* 800A3234 000A0194 81 1F 00 0C */ lwz r8, 0xc(r31) -/* 800A3238 000A0198 81 64 00 04 */ lwz r11, lbl_803E0004@l(r4) -/* 800A323C 000A019C 81 44 00 08 */ lwz r10, 8(r4) -/* 800A3240 000A01A0 7C 08 02 14 */ add r0, r8, r0 -/* 800A3244 000A01A4 90 A1 00 08 */ stw r5, 8(r1) -/* 800A3248 000A01A8 38 81 00 20 */ addi r4, r1, 0x20 -/* 800A324C 000A01AC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800A3250 000A01B0 90 C1 00 34 */ stw r6, 0x34(r1) -/* 800A3254 000A01B4 38 C1 00 08 */ addi r6, r1, 8 -/* 800A3258 000A01B8 91 61 00 38 */ stw r11, 0x38(r1) -/* 800A325C 000A01BC 91 41 00 3C */ stw r10, 0x3c(r1) -/* 800A3260 000A01C0 99 21 00 14 */ stb r9, 0x14(r1) -/* 800A3264 000A01C4 99 21 00 10 */ stb r9, 0x10(r1) -/* 800A3268 000A01C8 90 01 00 30 */ stw r0, 0x30(r1) -/* 800A326C 000A01CC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800A3270 000A01D0 91 01 00 28 */ stw r8, 0x28(r1) -/* 800A3274 000A01D4 99 21 00 0C */ stb r9, 0xc(r1) -/* 800A3278 000A01D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A327C 000A01DC 91 01 00 20 */ stw r8, 0x20(r1) -/* 800A3280 000A01E0 48 00 06 F9 */ bl "lower_bound,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>Fi" -/* 800A336C 000A02CC 3B DF 00 00 */ addi r30, r31, 0 -/* 800A3370 000A02D0 3B BF 03 70 */ addi r29, r31, 0x370 -/* 800A3374 000A02D4 3B 80 00 00 */ li r28, 0 -/* 800A3378 000A02D8 48 00 00 90 */ b lbl_800A3408 -lbl_800A337C: -/* 800A337C 000A02DC 80 1B 00 04 */ lwz r0, 4(r27) -/* 800A3380 000A02E0 80 BB 00 08 */ lwz r5, 8(r27) -/* 800A3384 000A02E4 80 9D 00 00 */ lwz r4, 0(r29) -/* 800A3388 000A02E8 80 7D 00 04 */ lwz r3, 4(r29) -/* 800A338C 000A02EC 7C 00 28 00 */ cmpw r0, r5 -/* 800A3390 000A02F0 80 1D 00 08 */ lwz r0, 8(r29) -/* 800A3394 000A02F4 90 81 00 54 */ stw r4, 0x54(r1) -/* 800A3398 000A02F8 83 5E 00 00 */ lwz r26, 0(r30) -/* 800A339C 000A02FC 90 61 00 58 */ stw r3, 0x58(r1) -/* 800A33A0 000A0300 90 01 00 5C */ stw r0, 0x5c(r1) -/* 800A33A4 000A0304 41 80 00 1C */ blt lbl_800A33C0 -/* 800A33A8 000A0308 2C 05 00 00 */ cmpwi r5, 0 -/* 800A33AC 000A030C 7F 63 DB 78 */ mr r3, r27 -/* 800A33B0 000A0310 38 80 00 04 */ li r4, 4 -/* 800A33B4 000A0314 41 82 00 08 */ beq lbl_800A33BC -/* 800A33B8 000A0318 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800A33BC: -/* 800A33BC 000A031C 48 00 07 4D */ bl "reserve__Q24rstl94vector,Q24rstl17rmemory_allocator>Fi" -lbl_800A33C0: -/* 800A33C0 000A0320 80 1B 00 04 */ lwz r0, 4(r27) -/* 800A33C4 000A0324 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 800A33C8 000A0328 54 00 20 36 */ slwi r0, r0, 4 -/* 800A33CC 000A032C 7C 83 02 15 */ add. r4, r3, r0 -/* 800A33D0 000A0330 41 82 00 20 */ beq lbl_800A33F0 -/* 800A33D4 000A0334 93 44 00 00 */ stw r26, 0(r4) -/* 800A33D8 000A0338 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800A33DC 000A033C 80 61 00 58 */ lwz r3, 0x58(r1) -/* 800A33E0 000A0340 90 04 00 04 */ stw r0, 4(r4) -/* 800A33E4 000A0344 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 800A33E8 000A0348 90 64 00 08 */ stw r3, 8(r4) -/* 800A33EC 000A034C 90 04 00 0C */ stw r0, 0xc(r4) -lbl_800A33F0: -/* 800A33F0 000A0350 80 7B 00 04 */ lwz r3, 4(r27) -/* 800A33F4 000A0354 3B DE 00 04 */ addi r30, r30, 4 -/* 800A33F8 000A0358 3B BD 00 0C */ addi r29, r29, 0xc -/* 800A33FC 000A035C 3B 9C 00 01 */ addi r28, r28, 1 -/* 800A3400 000A0360 38 03 00 01 */ addi r0, r3, 1 -/* 800A3404 000A0364 90 1B 00 04 */ stw r0, 4(r27) -lbl_800A3408: -/* 800A3408 000A0368 80 1B 00 08 */ lwz r0, 8(r27) -/* 800A340C 000A036C 7C 1C 00 00 */ cmpw r28, r0 -/* 800A3410 000A0370 41 80 FF 6C */ blt lbl_800A337C -/* 800A3414 000A0374 38 7B 00 10 */ addi r3, r27, 0x10 -/* 800A3418 000A0378 38 80 00 44 */ li r4, 0x44 -/* 800A341C 000A037C 48 00 07 F5 */ bl "reserve__Q24rstl84vector,Q24rstl17rmemory_allocator>Fi" -/* 800A3420 000A0380 3B BF 06 04 */ addi r29, r31, 0x604 -/* 800A3424 000A0384 3B DF 0A 44 */ addi r30, r31, 0xa44 -/* 800A3428 000A0388 3B E0 00 00 */ li r31, 0 -/* 800A342C 000A038C 48 00 00 90 */ b lbl_800A34BC -lbl_800A3430: -/* 800A3430 000A0390 80 1B 00 14 */ lwz r0, 0x14(r27) -/* 800A3434 000A0394 80 BB 00 18 */ lwz r5, 0x18(r27) -/* 800A3438 000A0398 80 9E 00 00 */ lwz r4, 0(r30) -/* 800A343C 000A039C 80 7E 00 04 */ lwz r3, 4(r30) -/* 800A3440 000A03A0 7C 00 28 00 */ cmpw r0, r5 -/* 800A3444 000A03A4 80 1E 00 08 */ lwz r0, 8(r30) -/* 800A3448 000A03A8 90 81 00 44 */ stw r4, 0x44(r1) -/* 800A344C 000A03AC 83 5D 00 00 */ lwz r26, 0(r29) -/* 800A3450 000A03B0 90 61 00 48 */ stw r3, 0x48(r1) -/* 800A3454 000A03B4 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800A3458 000A03B8 41 80 00 1C */ blt lbl_800A3474 -/* 800A345C 000A03BC 2C 05 00 00 */ cmpwi r5, 0 -/* 800A3460 000A03C0 38 7B 00 10 */ addi r3, r27, 0x10 -/* 800A3464 000A03C4 38 80 00 04 */ li r4, 4 -/* 800A3468 000A03C8 41 82 00 08 */ beq lbl_800A3470 -/* 800A346C 000A03CC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800A3470: -/* 800A3470 000A03D0 48 00 07 A1 */ bl "reserve__Q24rstl84vector,Q24rstl17rmemory_allocator>Fi" -lbl_800A3474: -/* 800A3474 000A03D4 80 1B 00 14 */ lwz r0, 0x14(r27) -/* 800A3478 000A03D8 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 800A347C 000A03DC 54 00 20 36 */ slwi r0, r0, 4 -/* 800A3480 000A03E0 7C 83 02 15 */ add. r4, r3, r0 -/* 800A3484 000A03E4 41 82 00 20 */ beq lbl_800A34A4 -/* 800A3488 000A03E8 93 44 00 00 */ stw r26, 0(r4) -/* 800A348C 000A03EC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800A3490 000A03F0 80 61 00 48 */ lwz r3, 0x48(r1) -/* 800A3494 000A03F4 90 04 00 04 */ stw r0, 4(r4) -/* 800A3498 000A03F8 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 800A349C 000A03FC 90 64 00 08 */ stw r3, 8(r4) -/* 800A34A0 000A0400 90 04 00 0C */ stw r0, 0xc(r4) -lbl_800A34A4: -/* 800A34A4 000A0404 80 7B 00 14 */ lwz r3, 0x14(r27) -/* 800A34A8 000A0408 3B BD 00 04 */ addi r29, r29, 4 -/* 800A34AC 000A040C 3B DE 00 0C */ addi r30, r30, 0xc -/* 800A34B0 000A0410 3B FF 00 01 */ addi r31, r31, 1 -/* 800A34B4 000A0414 38 03 00 01 */ addi r0, r3, 1 -/* 800A34B8 000A0418 90 1B 00 14 */ stw r0, 0x14(r27) -lbl_800A34BC: -/* 800A34BC 000A041C 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 800A34C0 000A0420 7C 1F 00 00 */ cmpw r31, r0 -/* 800A34C4 000A0424 41 80 FF 6C */ blt lbl_800A3430 -/* 800A34C8 000A0428 88 ED A2 BC */ lbz r7, lbl_805A8E7C@sda21(r13) -/* 800A34CC 000A042C 38 61 00 30 */ addi r3, r1, 0x30 -/* 800A34D0 000A0430 38 81 00 38 */ addi r4, r1, 0x38 -/* 800A34D4 000A0434 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800A34D8 000A0438 98 E1 00 10 */ stb r7, 0x10(r1) -/* 800A34DC 000A043C 80 1B 00 04 */ lwz r0, 4(r27) -/* 800A34E0 000A0440 80 DB 00 0C */ lwz r6, 0xc(r27) -/* 800A34E4 000A0444 54 00 20 36 */ slwi r0, r0, 4 -/* 800A34E8 000A0448 98 E1 00 1C */ stb r7, 0x1c(r1) -/* 800A34EC 000A044C 7C C6 02 14 */ add r6, r6, r0 -/* 800A34F0 000A0450 90 C1 00 38 */ stw r6, 0x38(r1) -/* 800A34F4 000A0454 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 800A34F8 000A0458 98 E1 00 14 */ stb r7, 0x14(r1) -/* 800A34FC 000A045C 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 800A3500 000A0460 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A3504 000A0464 90 01 00 30 */ stw r0, 0x30(r1) -/* 800A3508 000A0468 48 00 00 69 */ bl "sort,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor" -/* 800A3550 000A04B0 7F 63 DB 78 */ mr r3, r27 -/* 800A3554 000A04B4 4B FF F4 CD */ bl CreateFuncLookup__3CAiFP10CAiFuncMap -/* 800A3558 000A04B8 7F 63 DB 78 */ mr r3, r27 -/* 800A355C 000A04BC BB 41 00 68 */ lmw r26, 0x68(r1) -/* 800A3560 000A04C0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800A3564 000A04C4 7C 08 03 A6 */ mtlr r0 -/* 800A3568 000A04C8 38 21 00 80 */ addi r1, r1, 0x80 -/* 800A356C 000A04CC 4E 80 00 20 */ blr - -.global "sort,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl50pairRQ24rstl50pairRQ24rstl50pairQ24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>" -/* 800A3618 000A0578 80 9C 00 00 */ lwz r4, 0(r28) -/* 800A361C 000A057C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800A3620 000A0580 38 84 00 10 */ addi r4, r4, 0x10 -/* 800A3624 000A0584 83 FF 00 00 */ lwz r31, 0(r31) -/* 800A3628 000A0588 38 03 FF F0 */ addi r0, r3, -16 -/* 800A362C 000A058C 90 81 00 38 */ stw r4, 0x38(r1) -/* 800A3630 000A0590 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800A3634 000A0594 48 00 00 10 */ b lbl_800A3644 -lbl_800A3638: -/* 800A3638 000A0598 80 61 00 38 */ lwz r3, 0x38(r1) -/* 800A363C 000A059C 38 03 00 10 */ addi r0, r3, 0x10 -/* 800A3640 000A05A0 90 01 00 38 */ stw r0, 0x38(r1) -lbl_800A3644: -/* 800A3644 000A05A4 80 61 00 38 */ lwz r3, 0x38(r1) -/* 800A3648 000A05A8 7F E4 FB 78 */ mr r4, r31 -/* 800A364C 000A05AC 80 63 00 00 */ lwz r3, 0(r3) -/* 800A3650 000A05B0 48 2E C9 4D */ bl strcmp -/* 800A3654 000A05B4 2C 03 00 00 */ cmpwi r3, 0 -/* 800A3658 000A05B8 41 80 FF E0 */ blt lbl_800A3638 -/* 800A365C 000A05BC 48 00 00 10 */ b lbl_800A366C -lbl_800A3660: -/* 800A3660 000A05C0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800A3664 000A05C4 38 03 FF F0 */ addi r0, r3, -16 -/* 800A3668 000A05C8 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_800A366C: -/* 800A366C 000A05CC 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 800A3670 000A05D0 7F E3 FB 78 */ mr r3, r31 -/* 800A3674 000A05D4 80 84 00 00 */ lwz r4, 0(r4) -/* 800A3678 000A05D8 48 2E C9 25 */ bl strcmp -/* 800A367C 000A05DC 2C 03 00 00 */ cmpwi r3, 0 -/* 800A3680 000A05E0 41 80 FF E0 */ blt lbl_800A3660 -/* 800A3684 000A05E4 80 61 00 38 */ lwz r3, 0x38(r1) -/* 800A3688 000A05E8 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 800A368C 000A05EC 7C 03 00 40 */ cmplw r3, r0 -/* 800A3690 000A05F0 40 80 00 74 */ bge lbl_800A3704 -/* 800A3694 000A05F4 81 21 00 38 */ lwz r9, 0x38(r1) -/* 800A3698 000A05F8 81 41 00 3C */ lwz r10, 0x3c(r1) -/* 800A369C 000A05FC 81 09 00 04 */ lwz r8, 4(r9) -/* 800A36A0 000A0600 38 69 00 10 */ addi r3, r9, 0x10 -/* 800A36A4 000A0604 80 E9 00 08 */ lwz r7, 8(r9) -/* 800A36A8 000A0608 38 0A FF F0 */ addi r0, r10, -16 -/* 800A36AC 000A060C 80 C9 00 0C */ lwz r6, 0xc(r9) -/* 800A36B0 000A0610 81 69 00 00 */ lwz r11, 0(r9) -/* 800A36B4 000A0614 80 8A 00 00 */ lwz r4, 0(r10) -/* 800A36B8 000A0618 91 41 00 28 */ stw r10, 0x28(r1) -/* 800A36BC 000A061C 90 89 00 00 */ stw r4, 0(r9) -/* 800A36C0 000A0620 80 AA 00 04 */ lwz r5, 4(r10) -/* 800A36C4 000A0624 80 8A 00 08 */ lwz r4, 8(r10) -/* 800A36C8 000A0628 91 21 00 2C */ stw r9, 0x2c(r1) -/* 800A36CC 000A062C 90 A9 00 04 */ stw r5, 4(r9) -/* 800A36D0 000A0630 90 89 00 08 */ stw r4, 8(r9) -/* 800A36D4 000A0634 80 8A 00 0C */ lwz r4, 0xc(r10) -/* 800A36D8 000A0638 91 01 00 44 */ stw r8, 0x44(r1) -/* 800A36DC 000A063C 90 89 00 0C */ stw r4, 0xc(r9) -/* 800A36E0 000A0640 91 6A 00 00 */ stw r11, 0(r10) -/* 800A36E4 000A0644 91 0A 00 04 */ stw r8, 4(r10) -/* 800A36E8 000A0648 90 EA 00 08 */ stw r7, 8(r10) -/* 800A36EC 000A064C 90 E1 00 48 */ stw r7, 0x48(r1) -/* 800A36F0 000A0650 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 800A36F4 000A0654 90 CA 00 0C */ stw r6, 0xc(r10) -/* 800A36F8 000A0658 90 61 00 38 */ stw r3, 0x38(r1) -/* 800A36FC 000A065C 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800A3700 000A0660 4B FF FF 44 */ b lbl_800A3644 -lbl_800A3704: -/* 800A3704 000A0664 88 FE 00 00 */ lbz r7, 0(r30) -/* 800A3708 000A0668 38 61 00 24 */ addi r3, r1, 0x24 -/* 800A370C 000A066C 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 800A3710 000A0670 38 81 00 20 */ addi r4, r1, 0x20 -/* 800A3714 000A0674 80 1C 00 00 */ lwz r0, 0(r28) -/* 800A3718 000A0678 38 A1 00 0C */ addi r5, r1, 0xc -/* 800A371C 000A067C 98 E1 00 0C */ stb r7, 0xc(r1) -/* 800A3720 000A0680 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800A3724 000A0684 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A3728 000A0688 4B FF FE 49 */ bl "sort,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor" -"sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor": -/* 800A3774 000A06D4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800A3778 000A06D8 7C 08 02 A6 */ mflr r0 -/* 800A377C 000A06DC 90 01 00 64 */ stw r0, 0x64(r1) -/* 800A3780 000A06E0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800A3784 000A06E4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 800A3788 000A06E8 7C BE 2B 78 */ mr r30, r5 -/* 800A378C 000A06EC 93 A1 00 54 */ stw r29, 0x54(r1) -/* 800A3790 000A06F0 7C 9D 23 78 */ mr r29, r4 -/* 800A3794 000A06F4 93 81 00 50 */ stw r28, 0x50(r1) -/* 800A3798 000A06F8 7C 7C 1B 78 */ mr r28, r3 -/* 800A379C 000A06FC 80 63 00 00 */ lwz r3, 0(r3) -/* 800A37A0 000A0700 80 A4 00 00 */ lwz r5, 0(r4) -/* 800A37A4 000A0704 7C 03 28 50 */ subf r0, r3, r5 -/* 800A37A8 000A0708 7C 00 26 70 */ srawi r0, r0, 4 -/* 800A37AC 000A070C 7C 80 01 94 */ addze r4, r0 -/* 800A37B0 000A0710 2C 04 00 01 */ cmpwi r4, 1 -/* 800A37B4 000A0714 40 81 01 A4 */ ble lbl_800A3958 -/* 800A37B8 000A0718 2C 04 00 14 */ cmpwi r4, 0x14 -/* 800A37BC 000A071C 41 81 00 30 */ bgt lbl_800A37EC -/* 800A37C0 000A0720 88 FE 00 00 */ lbz r7, 0(r30) -/* 800A37C4 000A0724 38 61 00 34 */ addi r3, r1, 0x34 -/* 800A37C8 000A0728 80 DD 00 00 */ lwz r6, 0(r29) -/* 800A37CC 000A072C 38 81 00 30 */ addi r4, r1, 0x30 -/* 800A37D0 000A0730 80 1C 00 00 */ lwz r0, 0(r28) -/* 800A37D4 000A0734 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800A37D8 000A0738 98 E1 00 14 */ stb r7, 0x14(r1) -/* 800A37DC 000A073C 90 C1 00 30 */ stw r6, 0x30(r1) -/* 800A37E0 000A0740 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A37E4 000A0744 48 00 09 3D */ bl "__insertion_sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24" -/* 800A37E8 000A0748 48 00 01 70 */ b lbl_800A3958 -lbl_800A37EC: -/* 800A37EC 000A074C 54 80 0F FE */ srwi r0, r4, 0x1f -/* 800A37F0 000A0750 38 A5 FF F0 */ addi r5, r5, -16 -/* 800A37F4 000A0754 7C 80 22 14 */ add r4, r0, r4 -/* 800A37F8 000A0758 88 1E 00 00 */ lbz r0, 0(r30) -/* 800A37FC 000A075C 7C 84 0E 70 */ srawi r4, r4, 1 -/* 800A3800 000A0760 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 800A3804 000A0764 54 84 20 36 */ slwi r4, r4, 4 -/* 800A3808 000A0768 38 C1 00 10 */ addi r6, r1, 0x10 -/* 800A380C 000A076C 7F E3 22 14 */ add r31, r3, r4 -/* 800A3810 000A0770 98 01 00 10 */ stb r0, 0x10(r1) -/* 800A3814 000A0774 7F E4 FB 78 */ mr r4, r31 -/* 800A3818 000A0778 48 00 06 39 */ bl "__sort3,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl40pairRQ24rstl40pairRQ24rstl40pairQ24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>" -/* 800A381C 000A077C 80 9C 00 00 */ lwz r4, 0(r28) -/* 800A3820 000A0780 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800A3824 000A0784 38 84 00 10 */ addi r4, r4, 0x10 -/* 800A3828 000A0788 83 FF 00 00 */ lwz r31, 0(r31) -/* 800A382C 000A078C 38 03 FF F0 */ addi r0, r3, -16 -/* 800A3830 000A0790 90 81 00 38 */ stw r4, 0x38(r1) -/* 800A3834 000A0794 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800A3838 000A0798 48 00 00 10 */ b lbl_800A3848 -lbl_800A383C: -/* 800A383C 000A079C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 800A3840 000A07A0 38 03 00 10 */ addi r0, r3, 0x10 -/* 800A3844 000A07A4 90 01 00 38 */ stw r0, 0x38(r1) -lbl_800A3848: -/* 800A3848 000A07A8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 800A384C 000A07AC 7F E4 FB 78 */ mr r4, r31 -/* 800A3850 000A07B0 80 63 00 00 */ lwz r3, 0(r3) -/* 800A3854 000A07B4 48 2E C7 49 */ bl strcmp -/* 800A3858 000A07B8 2C 03 00 00 */ cmpwi r3, 0 -/* 800A385C 000A07BC 41 80 FF E0 */ blt lbl_800A383C -/* 800A3860 000A07C0 48 00 00 10 */ b lbl_800A3870 -lbl_800A3864: -/* 800A3864 000A07C4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800A3868 000A07C8 38 03 FF F0 */ addi r0, r3, -16 -/* 800A386C 000A07CC 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_800A3870: -/* 800A3870 000A07D0 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 800A3874 000A07D4 7F E3 FB 78 */ mr r3, r31 -/* 800A3878 000A07D8 80 84 00 00 */ lwz r4, 0(r4) -/* 800A387C 000A07DC 48 2E C7 21 */ bl strcmp -/* 800A3880 000A07E0 2C 03 00 00 */ cmpwi r3, 0 -/* 800A3884 000A07E4 41 80 FF E0 */ blt lbl_800A3864 -/* 800A3888 000A07E8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 800A388C 000A07EC 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 800A3890 000A07F0 7C 03 00 40 */ cmplw r3, r0 -/* 800A3894 000A07F4 40 80 00 74 */ bge lbl_800A3908 -/* 800A3898 000A07F8 81 21 00 38 */ lwz r9, 0x38(r1) -/* 800A389C 000A07FC 81 41 00 3C */ lwz r10, 0x3c(r1) -/* 800A38A0 000A0800 81 09 00 04 */ lwz r8, 4(r9) -/* 800A38A4 000A0804 38 69 00 10 */ addi r3, r9, 0x10 -/* 800A38A8 000A0808 80 E9 00 08 */ lwz r7, 8(r9) -/* 800A38AC 000A080C 38 0A FF F0 */ addi r0, r10, -16 -/* 800A38B0 000A0810 80 C9 00 0C */ lwz r6, 0xc(r9) -/* 800A38B4 000A0814 81 69 00 00 */ lwz r11, 0(r9) -/* 800A38B8 000A0818 80 8A 00 00 */ lwz r4, 0(r10) -/* 800A38BC 000A081C 91 41 00 28 */ stw r10, 0x28(r1) -/* 800A38C0 000A0820 90 89 00 00 */ stw r4, 0(r9) -/* 800A38C4 000A0824 80 AA 00 04 */ lwz r5, 4(r10) -/* 800A38C8 000A0828 80 8A 00 08 */ lwz r4, 8(r10) -/* 800A38CC 000A082C 91 21 00 2C */ stw r9, 0x2c(r1) -/* 800A38D0 000A0830 90 A9 00 04 */ stw r5, 4(r9) -/* 800A38D4 000A0834 90 89 00 08 */ stw r4, 8(r9) -/* 800A38D8 000A0838 80 8A 00 0C */ lwz r4, 0xc(r10) -/* 800A38DC 000A083C 91 01 00 44 */ stw r8, 0x44(r1) -/* 800A38E0 000A0840 90 89 00 0C */ stw r4, 0xc(r9) -/* 800A38E4 000A0844 91 6A 00 00 */ stw r11, 0(r10) -/* 800A38E8 000A0848 91 0A 00 04 */ stw r8, 4(r10) -/* 800A38EC 000A084C 90 EA 00 08 */ stw r7, 8(r10) -/* 800A38F0 000A0850 90 E1 00 48 */ stw r7, 0x48(r1) -/* 800A38F4 000A0854 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 800A38F8 000A0858 90 CA 00 0C */ stw r6, 0xc(r10) -/* 800A38FC 000A085C 90 61 00 38 */ stw r3, 0x38(r1) -/* 800A3900 000A0860 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800A3904 000A0864 4B FF FF 44 */ b lbl_800A3848 -lbl_800A3908: -/* 800A3908 000A0868 88 FE 00 00 */ lbz r7, 0(r30) -/* 800A390C 000A086C 38 61 00 24 */ addi r3, r1, 0x24 -/* 800A3910 000A0870 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 800A3914 000A0874 38 81 00 20 */ addi r4, r1, 0x20 -/* 800A3918 000A0878 80 1C 00 00 */ lwz r0, 0(r28) -/* 800A391C 000A087C 38 A1 00 0C */ addi r5, r1, 0xc -/* 800A3920 000A0880 98 E1 00 0C */ stb r7, 0xc(r1) -/* 800A3924 000A0884 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800A3928 000A0888 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A392C 000A088C 4B FF FE 49 */ bl "sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor" -/* 800A3930 000A0890 88 FE 00 00 */ lbz r7, 0(r30) -/* 800A3934 000A0894 38 61 00 1C */ addi r3, r1, 0x1c -/* 800A3938 000A0898 80 DD 00 00 */ lwz r6, 0(r29) -/* 800A393C 000A089C 38 81 00 18 */ addi r4, r1, 0x18 -/* 800A3940 000A08A0 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800A3944 000A08A4 38 A1 00 08 */ addi r5, r1, 8 -/* 800A3948 000A08A8 98 E1 00 08 */ stb r7, 8(r1) -/* 800A394C 000A08AC 90 C1 00 18 */ stw r6, 0x18(r1) -/* 800A3950 000A08B0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800A3954 000A08B4 4B FF FE 21 */ bl "sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemor" -lbl_800A3958: -/* 800A3958 000A08B8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800A395C 000A08BC 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800A3960 000A08C0 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 800A3964 000A08C4 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 800A3968 000A08C8 83 81 00 50 */ lwz r28, 0x50(r1) -/* 800A396C 000A08CC 7C 08 03 A6 */ mtlr r0 -/* 800A3970 000A08D0 38 21 00 60 */ addi r1, r1, 0x60 -/* 800A3974 000A08D4 4E 80 00 20 */ blr - -.global "lower_bound,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -/* 800A39E0 000A0940 80 61 00 10 */ lwz r3, 0x10(r1) -/* 800A39E4 000A0944 80 9C 00 00 */ lwz r4, 0(r28) -/* 800A39E8 000A0948 80 63 00 00 */ lwz r3, 0(r3) -/* 800A39EC 000A094C 48 2E C5 B1 */ bl strcmp -/* 800A39F0 000A0950 2C 03 00 00 */ cmpwi r3, 0 -/* 800A39F4 000A0954 40 80 00 24 */ bge lbl_800A3A18 -/* 800A39F8 000A0958 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800A39FC 000A095C 7C 7D F0 50 */ subf r3, r29, r30 -/* 800A3A00 000A0960 3B C3 FF FF */ addi r30, r3, -1 -/* 800A3A04 000A0964 90 1B 00 00 */ stw r0, 0(r27) -/* 800A3A08 000A0968 80 7B 00 00 */ lwz r3, 0(r27) -/* 800A3A0C 000A096C 38 03 00 10 */ addi r0, r3, 0x10 -/* 800A3A10 000A0970 90 1B 00 00 */ stw r0, 0(r27) -/* 800A3A14 000A0974 48 00 00 08 */ b lbl_800A3A1C -lbl_800A3A18: -/* 800A3A18 000A0978 7F BE EB 78 */ mr r30, r29 -lbl_800A3A1C: -/* 800A3A1C 000A097C 2C 1E 00 00 */ cmpwi r30, 0 -/* 800A3A20 000A0980 41 81 FF A0 */ bgt lbl_800A39C0 -/* 800A3A24 000A0984 80 1B 00 00 */ lwz r0, 0(r27) -/* 800A3A28 000A0988 90 1F 00 00 */ stw r0, 0(r31) -/* 800A3A2C 000A098C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 800A3A30 000A0990 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A3A34 000A0994 7C 08 03 A6 */ mtlr r0 -/* 800A3A38 000A0998 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A3A3C 000A099C 4E 80 00 20 */ blr - -.global "lower_bound,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_all" -"lower_bound,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,PCc,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_all": -/* 800A3A40 000A09A0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A3A44 000A09A4 7C 08 02 A6 */ mflr r0 -/* 800A3A48 000A09A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A3A4C 000A09AC BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800A3A50 000A09B0 7C 9B 23 78 */ mr r27, r4 -/* 800A3A54 000A09B4 7C 7F 1B 78 */ mr r31, r3 -/* 800A3A58 000A09B8 7C DC 33 78 */ mr r28, r6 -/* 800A3A5C 000A09BC 38 61 00 0C */ addi r3, r1, 0xc -/* 800A3A60 000A09C0 80 85 00 00 */ lwz r4, 0(r5) -/* 800A3A64 000A09C4 80 1B 00 00 */ lwz r0, 0(r27) -/* 800A3A68 000A09C8 90 81 00 08 */ stw r4, 8(r1) -/* 800A3A6C 000A09CC 38 81 00 08 */ addi r4, r1, 8 -/* 800A3A70 000A09D0 90 01 00 0C */ stw r0, 0xc(r1) -/* 800A3A74 000A09D4 48 00 03 69 */ bl "distance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator,Q" -/* 800A3A78 000A09D8 80 1B 00 00 */ lwz r0, 0(r27) -/* 800A3A7C 000A09DC 7C 7E 1B 78 */ mr r30, r3 -/* 800A3A80 000A09E0 90 01 00 10 */ stw r0, 0x10(r1) -/* 800A3A84 000A09E4 48 00 00 60 */ b lbl_800A3AE4 -lbl_800A3A88: -/* 800A3A88 000A09E8 57 C3 0F FE */ srwi r3, r30, 0x1f -/* 800A3A8C 000A09EC 80 1B 00 00 */ lwz r0, 0(r27) -/* 800A3A90 000A09F0 7C 83 F2 14 */ add r4, r3, r30 -/* 800A3A94 000A09F4 38 61 00 10 */ addi r3, r1, 0x10 -/* 800A3A98 000A09F8 7C 9D 0E 70 */ srawi r29, r4, 1 -/* 800A3A9C 000A09FC 90 01 00 10 */ stw r0, 0x10(r1) -/* 800A3AA0 000A0A00 7F A4 EB 78 */ mr r4, r29 -/* 800A3AA4 000A0A04 48 00 02 A1 */ bl "advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -/* 800A3AA8 000A0A08 80 61 00 10 */ lwz r3, 0x10(r1) -/* 800A3AAC 000A0A0C 80 9C 00 00 */ lwz r4, 0(r28) -/* 800A3AB0 000A0A10 80 63 00 00 */ lwz r3, 0(r3) -/* 800A3AB4 000A0A14 48 2E C4 E9 */ bl strcmp -/* 800A3AB8 000A0A18 2C 03 00 00 */ cmpwi r3, 0 -/* 800A3ABC 000A0A1C 40 80 00 24 */ bge lbl_800A3AE0 -/* 800A3AC0 000A0A20 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800A3AC4 000A0A24 7C 7D F0 50 */ subf r3, r29, r30 -/* 800A3AC8 000A0A28 3B C3 FF FF */ addi r30, r3, -1 -/* 800A3ACC 000A0A2C 90 1B 00 00 */ stw r0, 0(r27) -/* 800A3AD0 000A0A30 80 7B 00 00 */ lwz r3, 0(r27) -/* 800A3AD4 000A0A34 38 03 00 10 */ addi r0, r3, 0x10 -/* 800A3AD8 000A0A38 90 1B 00 00 */ stw r0, 0(r27) -/* 800A3ADC 000A0A3C 48 00 00 08 */ b lbl_800A3AE4 -lbl_800A3AE0: -/* 800A3AE0 000A0A40 7F BE EB 78 */ mr r30, r29 -lbl_800A3AE4: -/* 800A3AE4 000A0A44 2C 1E 00 00 */ cmpwi r30, 0 -/* 800A3AE8 000A0A48 41 81 FF A0 */ bgt lbl_800A3A88 -/* 800A3AEC 000A0A4C 80 1B 00 00 */ lwz r0, 0(r27) -/* 800A3AF0 000A0A50 90 1F 00 00 */ stw r0, 0(r31) -/* 800A3AF4 000A0A54 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 800A3AF8 000A0A58 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A3AFC 000A0A5C 7C 08 03 A6 */ mtlr r0 -/* 800A3B00 000A0A60 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A3B04 000A0A64 4E 80 00 20 */ blr - -.global "reserve__Q24rstl94vector,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl94vector,Q24rstl17rmemory_allocator>Fi": -/* 800A3B08 000A0A68 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A3B0C 000A0A6C 7C 08 02 A6 */ mflr r0 -/* 800A3B10 000A0A70 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A3B14 000A0A74 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800A3B18 000A0A78 7C 9F 23 78 */ mr r31, r4 -/* 800A3B1C 000A0A7C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800A3B20 000A0A80 7C 7E 1B 78 */ mr r30, r3 -/* 800A3B24 000A0A84 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800A3B28 000A0A88 80 03 00 08 */ lwz r0, 8(r3) -/* 800A3B2C 000A0A8C 7C 1F 00 00 */ cmpw r31, r0 -/* 800A3B30 000A0A90 40 81 00 C4 */ ble lbl_800A3BF4 -/* 800A3B34 000A0A94 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 800A3B38 000A0A98 40 82 00 0C */ bne lbl_800A3B44 -/* 800A3B3C 000A0A9C 3B A0 00 00 */ li r29, 0 -/* 800A3B40 000A0AA0 48 00 00 1C */ b lbl_800A3B5C -lbl_800A3B44: -/* 800A3B44 000A0AA4 3C 80 80 3D */ lis r4, lbl_803CD968@ha -/* 800A3B48 000A0AA8 38 A0 00 00 */ li r5, 0 -/* 800A3B4C 000A0AAC 38 84 D9 68 */ addi r4, r4, lbl_803CD968@l -/* 800A3B50 000A0AB0 38 84 04 FA */ addi r4, r4, 0x4fa -/* 800A3B54 000A0AB4 48 27 1C C5 */ bl __nwa__FUlPCcPCc -/* 800A3B58 000A0AB8 7C 7D 1B 78 */ mr r29, r3 -lbl_800A3B5C: -/* 800A3B5C 000A0ABC 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A3B60 000A0AC0 7F A5 EB 78 */ mr r5, r29 -/* 800A3B64 000A0AC4 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 800A3B68 000A0AC8 54 00 20 36 */ slwi r0, r0, 4 -/* 800A3B6C 000A0ACC 7C 86 02 14 */ add r4, r6, r0 -/* 800A3B70 000A0AD0 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800A3B74 000A0AD4 90 81 00 08 */ stw r4, 8(r1) -/* 800A3B78 000A0AD8 90 81 00 0C */ stw r4, 0xc(r1) -/* 800A3B7C 000A0ADC 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800A3B80 000A0AE0 48 00 00 34 */ b lbl_800A3BB4 -lbl_800A3B84: -/* 800A3B84 000A0AE4 28 05 00 00 */ cmplwi r5, 0 -/* 800A3B88 000A0AE8 41 82 00 24 */ beq lbl_800A3BAC -/* 800A3B8C 000A0AEC 80 06 00 00 */ lwz r0, 0(r6) -/* 800A3B90 000A0AF0 90 05 00 00 */ stw r0, 0(r5) -/* 800A3B94 000A0AF4 80 66 00 04 */ lwz r3, 4(r6) -/* 800A3B98 000A0AF8 80 06 00 08 */ lwz r0, 8(r6) -/* 800A3B9C 000A0AFC 90 65 00 04 */ stw r3, 4(r5) -/* 800A3BA0 000A0B00 90 05 00 08 */ stw r0, 8(r5) -/* 800A3BA4 000A0B04 80 06 00 0C */ lwz r0, 0xc(r6) -/* 800A3BA8 000A0B08 90 05 00 0C */ stw r0, 0xc(r5) -lbl_800A3BAC: -/* 800A3BAC 000A0B0C 38 A5 00 10 */ addi r5, r5, 0x10 -/* 800A3BB0 000A0B10 38 C6 00 10 */ addi r6, r6, 0x10 -lbl_800A3BB4: -/* 800A3BB4 000A0B14 7C 06 20 40 */ cmplw r6, r4 -/* 800A3BB8 000A0B18 40 82 FF CC */ bne lbl_800A3B84 -/* 800A3BBC 000A0B1C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A3BC0 000A0B20 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800A3BC4 000A0B24 54 00 20 36 */ slwi r0, r0, 4 -/* 800A3BC8 000A0B28 7C 64 1B 78 */ mr r4, r3 -/* 800A3BCC 000A0B2C 7C 03 02 14 */ add r0, r3, r0 -/* 800A3BD0 000A0B30 48 00 00 08 */ b lbl_800A3BD8 -lbl_800A3BD4: -/* 800A3BD4 000A0B34 38 84 00 10 */ addi r4, r4, 0x10 -lbl_800A3BD8: -/* 800A3BD8 000A0B38 7C 04 00 40 */ cmplw r4, r0 -/* 800A3BDC 000A0B3C 40 82 FF F8 */ bne lbl_800A3BD4 -/* 800A3BE0 000A0B40 28 03 00 00 */ cmplwi r3, 0 -/* 800A3BE4 000A0B44 41 82 00 08 */ beq lbl_800A3BEC -/* 800A3BE8 000A0B48 48 27 1D 49 */ bl Free__7CMemoryFPCv -lbl_800A3BEC: -/* 800A3BEC 000A0B4C 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800A3BF0 000A0B50 93 FE 00 08 */ stw r31, 8(r30) -lbl_800A3BF4: -/* 800A3BF4 000A0B54 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A3BF8 000A0B58 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800A3BFC 000A0B5C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800A3C00 000A0B60 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800A3C04 000A0B64 7C 08 03 A6 */ mtlr r0 -/* 800A3C08 000A0B68 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A3C0C 000A0B6C 4E 80 00 20 */ blr - -.global "reserve__Q24rstl84vector,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl84vector,Q24rstl17rmemory_allocator>Fi": -/* 800A3C10 000A0B70 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A3C14 000A0B74 7C 08 02 A6 */ mflr r0 -/* 800A3C18 000A0B78 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A3C1C 000A0B7C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800A3C20 000A0B80 7C 9F 23 78 */ mr r31, r4 -/* 800A3C24 000A0B84 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800A3C28 000A0B88 7C 7E 1B 78 */ mr r30, r3 -/* 800A3C2C 000A0B8C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800A3C30 000A0B90 80 03 00 08 */ lwz r0, 8(r3) -/* 800A3C34 000A0B94 7C 1F 00 00 */ cmpw r31, r0 -/* 800A3C38 000A0B98 40 81 00 C4 */ ble lbl_800A3CFC -/* 800A3C3C 000A0B9C 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 800A3C40 000A0BA0 40 82 00 0C */ bne lbl_800A3C4C -/* 800A3C44 000A0BA4 3B A0 00 00 */ li r29, 0 -/* 800A3C48 000A0BA8 48 00 00 1C */ b lbl_800A3C64 -lbl_800A3C4C: -/* 800A3C4C 000A0BAC 3C 80 80 3D */ lis r4, lbl_803CD968@ha -/* 800A3C50 000A0BB0 38 A0 00 00 */ li r5, 0 -/* 800A3C54 000A0BB4 38 84 D9 68 */ addi r4, r4, lbl_803CD968@l -/* 800A3C58 000A0BB8 38 84 04 FA */ addi r4, r4, 0x4fa -/* 800A3C5C 000A0BBC 48 27 1B BD */ bl __nwa__FUlPCcPCc -/* 800A3C60 000A0BC0 7C 7D 1B 78 */ mr r29, r3 -lbl_800A3C64: -/* 800A3C64 000A0BC4 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A3C68 000A0BC8 7F A5 EB 78 */ mr r5, r29 -/* 800A3C6C 000A0BCC 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 800A3C70 000A0BD0 54 00 20 36 */ slwi r0, r0, 4 -/* 800A3C74 000A0BD4 7C 86 02 14 */ add r4, r6, r0 -/* 800A3C78 000A0BD8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800A3C7C 000A0BDC 90 81 00 08 */ stw r4, 8(r1) -/* 800A3C80 000A0BE0 90 81 00 0C */ stw r4, 0xc(r1) -/* 800A3C84 000A0BE4 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800A3C88 000A0BE8 48 00 00 34 */ b lbl_800A3CBC -lbl_800A3C8C: -/* 800A3C8C 000A0BEC 28 05 00 00 */ cmplwi r5, 0 -/* 800A3C90 000A0BF0 41 82 00 24 */ beq lbl_800A3CB4 -/* 800A3C94 000A0BF4 80 06 00 00 */ lwz r0, 0(r6) -/* 800A3C98 000A0BF8 90 05 00 00 */ stw r0, 0(r5) -/* 800A3C9C 000A0BFC 80 66 00 04 */ lwz r3, 4(r6) -/* 800A3CA0 000A0C00 80 06 00 08 */ lwz r0, 8(r6) -/* 800A3CA4 000A0C04 90 65 00 04 */ stw r3, 4(r5) -/* 800A3CA8 000A0C08 90 05 00 08 */ stw r0, 8(r5) -/* 800A3CAC 000A0C0C 80 06 00 0C */ lwz r0, 0xc(r6) -/* 800A3CB0 000A0C10 90 05 00 0C */ stw r0, 0xc(r5) -lbl_800A3CB4: -/* 800A3CB4 000A0C14 38 A5 00 10 */ addi r5, r5, 0x10 -/* 800A3CB8 000A0C18 38 C6 00 10 */ addi r6, r6, 0x10 -lbl_800A3CBC: -/* 800A3CBC 000A0C1C 7C 06 20 40 */ cmplw r6, r4 -/* 800A3CC0 000A0C20 40 82 FF CC */ bne lbl_800A3C8C -/* 800A3CC4 000A0C24 80 1E 00 04 */ lwz r0, 4(r30) -/* 800A3CC8 000A0C28 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800A3CCC 000A0C2C 54 00 20 36 */ slwi r0, r0, 4 -/* 800A3CD0 000A0C30 7C 64 1B 78 */ mr r4, r3 -/* 800A3CD4 000A0C34 7C 03 02 14 */ add r0, r3, r0 -/* 800A3CD8 000A0C38 48 00 00 08 */ b lbl_800A3CE0 -lbl_800A3CDC: -/* 800A3CDC 000A0C3C 38 84 00 10 */ addi r4, r4, 0x10 -lbl_800A3CE0: -/* 800A3CE0 000A0C40 7C 04 00 40 */ cmplw r4, r0 -/* 800A3CE4 000A0C44 40 82 FF F8 */ bne lbl_800A3CDC -/* 800A3CE8 000A0C48 28 03 00 00 */ cmplwi r3, 0 -/* 800A3CEC 000A0C4C 41 82 00 08 */ beq lbl_800A3CF4 -/* 800A3CF0 000A0C50 48 27 1C 41 */ bl Free__7CMemoryFPCv -lbl_800A3CF4: -/* 800A3CF4 000A0C54 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800A3CF8 000A0C58 93 FE 00 08 */ stw r31, 8(r30) -lbl_800A3CFC: -/* 800A3CFC 000A0C5C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A3D00 000A0C60 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800A3D04 000A0C64 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800A3D08 000A0C68 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800A3D0C 000A0C6C 7C 08 03 A6 */ mtlr r0 -/* 800A3D10 000A0C70 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A3D14 000A0C74 4E 80 00 20 */ blr - -.global "advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -"advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": -/* 800A3D18 000A0C78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A3D1C 000A0C7C 7C 08 02 A6 */ mflr r0 -/* 800A3D20 000A0C80 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A3D24 000A0C84 38 A1 00 0C */ addi r5, r1, 0xc -/* 800A3D28 000A0C88 88 01 00 08 */ lbz r0, 8(r1) -/* 800A3D2C 000A0C8C 98 01 00 0C */ stb r0, 0xc(r1) -/* 800A3D30 000A0C90 48 00 00 55 */ bl "__advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" -/* 800A3D34 000A0C94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A3D38 000A0C98 7C 08 03 A6 */ mtlr r0 -/* 800A3D3C 000A0C9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A3D40 000A0CA0 4E 80 00 20 */ blr - -.global "advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" -"advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": -/* 800A3D44 000A0CA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A3D48 000A0CA8 7C 08 02 A6 */ mflr r0 -/* 800A3D4C 000A0CAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A3D50 000A0CB0 38 A1 00 0C */ addi r5, r1, 0xc -/* 800A3D54 000A0CB4 88 01 00 08 */ lbz r0, 8(r1) -/* 800A3D58 000A0CB8 98 01 00 0C */ stb r0, 0xc(r1) -/* 800A3D5C 000A0CBC 48 00 00 15 */ bl "__advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" -/* 800A3D60 000A0CC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A3D64 000A0CC4 7C 08 03 A6 */ mtlr r0 -/* 800A3D68 000A0CC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A3D6C 000A0CCC 4E 80 00 20 */ blr - -.global "__advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" -"__advance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": -/* 800A3D70 000A0CD0 80 A3 00 00 */ lwz r5, 0(r3) -/* 800A3D74 000A0CD4 54 80 20 36 */ slwi r0, r4, 4 -/* 800A3D78 000A0CD8 7C 05 02 14 */ add r0, r5, r0 -/* 800A3D7C 000A0CDC 90 03 00 00 */ stw r0, 0(r3) -/* 800A3D80 000A0CE0 4E 80 00 20 */ blr - -.global "__advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" -"__advance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": -/* 800A3D84 000A0CE4 80 A3 00 00 */ lwz r5, 0(r3) -/* 800A3D88 000A0CE8 54 80 20 36 */ slwi r0, r4, 4 -/* 800A3D8C 000A0CEC 7C 05 02 14 */ add r0, r5, r0 -/* 800A3D90 000A0CF0 90 03 00 00 */ stw r0, 0(r3) -/* 800A3D94 000A0CF4 4E 80 00 20 */ blr - -.global "distance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator,Q" -"distance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator,Q": -/* 800A3DDC 000A0D3C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800A3DE0 000A0D40 7C 08 02 A6 */ mflr r0 -/* 800A3DE4 000A0D44 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A3DE8 000A0D48 38 A1 00 0C */ addi r5, r1, 0xc -/* 800A3DEC 000A0D4C 88 E1 00 08 */ lbz r7, 8(r1) -/* 800A3DF0 000A0D50 80 C4 00 00 */ lwz r6, 0(r4) -/* 800A3DF4 000A0D54 38 81 00 10 */ addi r4, r1, 0x10 -/* 800A3DF8 000A0D58 80 03 00 00 */ lwz r0, 0(r3) -/* 800A3DFC 000A0D5C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800A3E00 000A0D60 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800A3E04 000A0D64 98 E1 00 0C */ stb r7, 0xc(r1) -/* 800A3E08 000A0D68 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A3E0C 000A0D6C 48 00 00 2D */ bl "__distance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator" -/* 800A3E10 000A0D70 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A3E14 000A0D74 7C 08 03 A6 */ mtlr r0 -/* 800A3E18 000A0D78 38 21 00 20 */ addi r1, r1, 0x20 -/* 800A3E1C 000A0D7C 4E 80 00 20 */ blr - -.global "__distance,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl214const_pointer_iterator,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl214const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator" -"__distance,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl194const_pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl194const_pointer_iterator": -/* 800A3E38 000A0D98 80 63 00 00 */ lwz r3, 0(r3) -/* 800A3E3C 000A0D9C 80 04 00 00 */ lwz r0, 0(r4) -/* 800A3E40 000A0DA0 7C 03 00 50 */ subf r0, r3, r0 -/* 800A3E44 000A0DA4 7C 00 26 70 */ srawi r0, r0, 4 -/* 800A3E48 000A0DA8 7C 60 01 94 */ addze r3, r0 -/* 800A3E4C 000A0DAC 4E 80 00 20 */ blr - -.global "__sort3,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl40pairRQ24rstl40pairRQ24rstl40pairQ24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>" -"__sort3,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl40pairRQ24rstl40pairRQ24rstl40pairQ24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>": -/* 800A3E50 000A0DB0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800A3E54 000A0DB4 7C 08 02 A6 */ mflr r0 -/* 800A3E58 000A0DB8 90 01 00 44 */ stw r0, 0x44(r1) -/* 800A3E5C 000A0DBC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800A3E60 000A0DC0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800A3E64 000A0DC4 7C BE 2B 78 */ mr r30, r5 -/* 800A3E68 000A0DC8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800A3E6C 000A0DCC 7C 9D 23 78 */ mr r29, r4 -/* 800A3E70 000A0DD0 93 81 00 30 */ stw r28, 0x30(r1) -/* 800A3E74 000A0DD4 7C 7C 1B 78 */ mr r28, r3 -/* 800A3E78 000A0DD8 80 64 00 00 */ lwz r3, 0(r4) -/* 800A3E7C 000A0DDC 80 9C 00 00 */ lwz r4, 0(r28) -/* 800A3E80 000A0DE0 48 2E C1 1D */ bl strcmp -/* 800A3E84 000A0DE4 2C 03 00 00 */ cmpwi r3, 0 -/* 800A3E88 000A0DE8 40 80 00 50 */ bge lbl_800A3ED8 -/* 800A3E8C 000A0DEC 80 DC 00 04 */ lwz r6, 4(r28) -/* 800A3E90 000A0DF0 80 BC 00 08 */ lwz r5, 8(r28) -/* 800A3E94 000A0DF4 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 800A3E98 000A0DF8 80 FC 00 00 */ lwz r7, 0(r28) -/* 800A3E9C 000A0DFC 80 1D 00 00 */ lwz r0, 0(r29) -/* 800A3EA0 000A0E00 90 C1 00 0C */ stw r6, 0xc(r1) -/* 800A3EA4 000A0E04 90 1C 00 00 */ stw r0, 0(r28) -/* 800A3EA8 000A0E08 80 7D 00 04 */ lwz r3, 4(r29) -/* 800A3EAC 000A0E0C 80 1D 00 08 */ lwz r0, 8(r29) -/* 800A3EB0 000A0E10 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800A3EB4 000A0E14 90 7C 00 04 */ stw r3, 4(r28) -/* 800A3EB8 000A0E18 90 1C 00 08 */ stw r0, 8(r28) -/* 800A3EBC 000A0E1C 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800A3EC0 000A0E20 90 81 00 14 */ stw r4, 0x14(r1) -/* 800A3EC4 000A0E24 90 1C 00 0C */ stw r0, 0xc(r28) -/* 800A3EC8 000A0E28 90 FD 00 00 */ stw r7, 0(r29) -/* 800A3ECC 000A0E2C 90 DD 00 04 */ stw r6, 4(r29) -/* 800A3ED0 000A0E30 90 BD 00 08 */ stw r5, 8(r29) -/* 800A3ED4 000A0E34 90 9D 00 0C */ stw r4, 0xc(r29) -lbl_800A3ED8: -/* 800A3ED8 000A0E38 80 7E 00 00 */ lwz r3, 0(r30) -/* 800A3EDC 000A0E3C 80 9D 00 00 */ lwz r4, 0(r29) -/* 800A3EE0 000A0E40 48 2E C0 BD */ bl strcmp -/* 800A3EE4 000A0E44 2C 03 00 00 */ cmpwi r3, 0 -/* 800A3EE8 000A0E48 40 80 00 B0 */ bge lbl_800A3F98 -/* 800A3EEC 000A0E4C 83 FE 00 00 */ lwz r31, 0(r30) -/* 800A3EF0 000A0E50 80 9E 00 04 */ lwz r4, 4(r30) -/* 800A3EF4 000A0E54 80 DE 00 08 */ lwz r6, 8(r30) -/* 800A3EF8 000A0E58 7F E3 FB 78 */ mr r3, r31 -/* 800A3EFC 000A0E5C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800A3F00 000A0E60 80 1D 00 00 */ lwz r0, 0(r29) -/* 800A3F04 000A0E64 90 81 00 1C */ stw r4, 0x1c(r1) -/* 800A3F08 000A0E68 90 1E 00 00 */ stw r0, 0(r30) -/* 800A3F0C 000A0E6C 80 9D 00 04 */ lwz r4, 4(r29) -/* 800A3F10 000A0E70 80 1D 00 08 */ lwz r0, 8(r29) -/* 800A3F14 000A0E74 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800A3F18 000A0E78 90 9E 00 04 */ stw r4, 4(r30) -/* 800A3F1C 000A0E7C 90 1E 00 08 */ stw r0, 8(r30) -/* 800A3F20 000A0E80 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800A3F24 000A0E84 90 A1 00 24 */ stw r5, 0x24(r1) -/* 800A3F28 000A0E88 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800A3F2C 000A0E8C 80 9C 00 00 */ lwz r4, 0(r28) -/* 800A3F30 000A0E90 48 2E C0 6D */ bl strcmp -/* 800A3F34 000A0E94 2C 03 00 00 */ cmpwi r3, 0 -/* 800A3F38 000A0E98 40 80 00 44 */ bge lbl_800A3F7C -/* 800A3F3C 000A0E9C 80 1C 00 00 */ lwz r0, 0(r28) -/* 800A3F40 000A0EA0 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 800A3F44 000A0EA4 90 1D 00 00 */ stw r0, 0(r29) -/* 800A3F48 000A0EA8 80 61 00 20 */ lwz r3, 0x20(r1) -/* 800A3F4C 000A0EAC 80 DC 00 04 */ lwz r6, 4(r28) -/* 800A3F50 000A0EB0 80 BC 00 08 */ lwz r5, 8(r28) -/* 800A3F54 000A0EB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A3F58 000A0EB8 90 DD 00 04 */ stw r6, 4(r29) -/* 800A3F5C 000A0EBC 90 BD 00 08 */ stw r5, 8(r29) -/* 800A3F60 000A0EC0 80 BC 00 0C */ lwz r5, 0xc(r28) -/* 800A3F64 000A0EC4 90 BD 00 0C */ stw r5, 0xc(r29) -/* 800A3F68 000A0EC8 93 FC 00 00 */ stw r31, 0(r28) -/* 800A3F6C 000A0ECC 90 9C 00 04 */ stw r4, 4(r28) -/* 800A3F70 000A0ED0 90 7C 00 08 */ stw r3, 8(r28) -/* 800A3F74 000A0ED4 90 1C 00 0C */ stw r0, 0xc(r28) -/* 800A3F78 000A0ED8 48 00 00 20 */ b lbl_800A3F98 -lbl_800A3F7C: -/* 800A3F7C 000A0EDC 93 FD 00 00 */ stw r31, 0(r29) -/* 800A3F80 000A0EE0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 800A3F84 000A0EE4 80 61 00 20 */ lwz r3, 0x20(r1) -/* 800A3F88 000A0EE8 90 1D 00 04 */ stw r0, 4(r29) -/* 800A3F8C 000A0EEC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A3F90 000A0EF0 90 7D 00 08 */ stw r3, 8(r29) -/* 800A3F94 000A0EF4 90 1D 00 0C */ stw r0, 0xc(r29) -lbl_800A3F98: -/* 800A3F98 000A0EF8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800A3F9C 000A0EFC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800A3FA0 000A0F00 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800A3FA4 000A0F04 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800A3FA8 000A0F08 83 81 00 30 */ lwz r28, 0x30(r1) -/* 800A3FAC 000A0F0C 7C 08 03 A6 */ mtlr r0 -/* 800A3FB0 000A0F10 38 21 00 40 */ addi r1, r1, 0x40 -/* 800A3FB4 000A0F14 4E 80 00 20 */ blr - -.global "__sort3,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl50pairRQ24rstl50pairRQ24rstl50pairQ24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>" -"__sort3,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFRQ24rstl50pairRQ24rstl50pairRQ24rstl50pairQ24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>": -/* 800A3FB8 000A0F18 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800A3FBC 000A0F1C 7C 08 02 A6 */ mflr r0 -/* 800A3FC0 000A0F20 90 01 00 44 */ stw r0, 0x44(r1) -/* 800A3FC4 000A0F24 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800A3FC8 000A0F28 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800A3FCC 000A0F2C 7C BE 2B 78 */ mr r30, r5 -/* 800A3FD0 000A0F30 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800A3FD4 000A0F34 7C 9D 23 78 */ mr r29, r4 -/* 800A3FD8 000A0F38 93 81 00 30 */ stw r28, 0x30(r1) -/* 800A3FDC 000A0F3C 7C 7C 1B 78 */ mr r28, r3 -/* 800A3FE0 000A0F40 80 64 00 00 */ lwz r3, 0(r4) -/* 800A3FE4 000A0F44 80 9C 00 00 */ lwz r4, 0(r28) -/* 800A3FE8 000A0F48 48 2E BF B5 */ bl strcmp -/* 800A3FEC 000A0F4C 2C 03 00 00 */ cmpwi r3, 0 -/* 800A3FF0 000A0F50 40 80 00 50 */ bge lbl_800A4040 -/* 800A3FF4 000A0F54 80 DC 00 04 */ lwz r6, 4(r28) -/* 800A3FF8 000A0F58 80 BC 00 08 */ lwz r5, 8(r28) -/* 800A3FFC 000A0F5C 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 800A4000 000A0F60 80 FC 00 00 */ lwz r7, 0(r28) -/* 800A4004 000A0F64 80 1D 00 00 */ lwz r0, 0(r29) -/* 800A4008 000A0F68 90 C1 00 0C */ stw r6, 0xc(r1) -/* 800A400C 000A0F6C 90 1C 00 00 */ stw r0, 0(r28) -/* 800A4010 000A0F70 80 7D 00 04 */ lwz r3, 4(r29) -/* 800A4014 000A0F74 80 1D 00 08 */ lwz r0, 8(r29) -/* 800A4018 000A0F78 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800A401C 000A0F7C 90 7C 00 04 */ stw r3, 4(r28) -/* 800A4020 000A0F80 90 1C 00 08 */ stw r0, 8(r28) -/* 800A4024 000A0F84 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800A4028 000A0F88 90 81 00 14 */ stw r4, 0x14(r1) -/* 800A402C 000A0F8C 90 1C 00 0C */ stw r0, 0xc(r28) -/* 800A4030 000A0F90 90 FD 00 00 */ stw r7, 0(r29) -/* 800A4034 000A0F94 90 DD 00 04 */ stw r6, 4(r29) -/* 800A4038 000A0F98 90 BD 00 08 */ stw r5, 8(r29) -/* 800A403C 000A0F9C 90 9D 00 0C */ stw r4, 0xc(r29) -lbl_800A4040: -/* 800A4040 000A0FA0 80 7E 00 00 */ lwz r3, 0(r30) -/* 800A4044 000A0FA4 80 9D 00 00 */ lwz r4, 0(r29) -/* 800A4048 000A0FA8 48 2E BF 55 */ bl strcmp -/* 800A404C 000A0FAC 2C 03 00 00 */ cmpwi r3, 0 -/* 800A4050 000A0FB0 40 80 00 B0 */ bge lbl_800A4100 -/* 800A4054 000A0FB4 83 FE 00 00 */ lwz r31, 0(r30) -/* 800A4058 000A0FB8 80 9E 00 04 */ lwz r4, 4(r30) -/* 800A405C 000A0FBC 80 DE 00 08 */ lwz r6, 8(r30) -/* 800A4060 000A0FC0 7F E3 FB 78 */ mr r3, r31 -/* 800A4064 000A0FC4 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800A4068 000A0FC8 80 1D 00 00 */ lwz r0, 0(r29) -/* 800A406C 000A0FCC 90 81 00 1C */ stw r4, 0x1c(r1) -/* 800A4070 000A0FD0 90 1E 00 00 */ stw r0, 0(r30) -/* 800A4074 000A0FD4 80 9D 00 04 */ lwz r4, 4(r29) -/* 800A4078 000A0FD8 80 1D 00 08 */ lwz r0, 8(r29) -/* 800A407C 000A0FDC 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800A4080 000A0FE0 90 9E 00 04 */ stw r4, 4(r30) -/* 800A4084 000A0FE4 90 1E 00 08 */ stw r0, 8(r30) -/* 800A4088 000A0FE8 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800A408C 000A0FEC 90 A1 00 24 */ stw r5, 0x24(r1) -/* 800A4090 000A0FF0 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800A4094 000A0FF4 80 9C 00 00 */ lwz r4, 0(r28) -/* 800A4098 000A0FF8 48 2E BF 05 */ bl strcmp -/* 800A409C 000A0FFC 2C 03 00 00 */ cmpwi r3, 0 -/* 800A40A0 000A1000 40 80 00 44 */ bge lbl_800A40E4 -/* 800A40A4 000A1004 80 1C 00 00 */ lwz r0, 0(r28) -/* 800A40A8 000A1008 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 800A40AC 000A100C 90 1D 00 00 */ stw r0, 0(r29) -/* 800A40B0 000A1010 80 61 00 20 */ lwz r3, 0x20(r1) -/* 800A40B4 000A1014 80 DC 00 04 */ lwz r6, 4(r28) -/* 800A40B8 000A1018 80 BC 00 08 */ lwz r5, 8(r28) -/* 800A40BC 000A101C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A40C0 000A1020 90 DD 00 04 */ stw r6, 4(r29) -/* 800A40C4 000A1024 90 BD 00 08 */ stw r5, 8(r29) -/* 800A40C8 000A1028 80 BC 00 0C */ lwz r5, 0xc(r28) -/* 800A40CC 000A102C 90 BD 00 0C */ stw r5, 0xc(r29) -/* 800A40D0 000A1030 93 FC 00 00 */ stw r31, 0(r28) -/* 800A40D4 000A1034 90 9C 00 04 */ stw r4, 4(r28) -/* 800A40D8 000A1038 90 7C 00 08 */ stw r3, 8(r28) -/* 800A40DC 000A103C 90 1C 00 0C */ stw r0, 0xc(r28) -/* 800A40E0 000A1040 48 00 00 20 */ b lbl_800A4100 -lbl_800A40E4: -/* 800A40E4 000A1044 93 FD 00 00 */ stw r31, 0(r29) -/* 800A40E8 000A1048 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 800A40EC 000A104C 80 61 00 20 */ lwz r3, 0x20(r1) -/* 800A40F0 000A1050 90 1D 00 04 */ stw r0, 4(r29) -/* 800A40F4 000A1054 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A40F8 000A1058 90 7D 00 08 */ stw r3, 8(r29) -/* 800A40FC 000A105C 90 1D 00 0C */ stw r0, 0xc(r29) -lbl_800A4100: -/* 800A4100 000A1060 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800A4104 000A1064 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800A4108 000A1068 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800A410C 000A106C 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800A4110 000A1070 83 81 00 30 */ lwz r28, 0x30(r1) -/* 800A4114 000A1074 7C 08 03 A6 */ mtlr r0 -/* 800A4118 000A1078 38 21 00 40 */ addi r1, r1, 0x40 -/* 800A411C 000A107C 4E 80 00 20 */ blr - -.global "__insertion_sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24" -"__insertion_sort,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl101pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl188pointer_iterator,Q24rstl84vector,Q24rstl17rmemory_allocator>,Q24": -/* 800A4120 000A1080 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800A4124 000A1084 7C 08 02 A6 */ mflr r0 -/* 800A4128 000A1088 90 01 00 34 */ stw r0, 0x34(r1) -/* 800A412C 000A108C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 800A4130 000A1090 7C 7E 1B 78 */ mr r30, r3 -/* 800A4134 000A1094 7C 9F 23 78 */ mr r31, r4 -/* 800A4138 000A1098 83 A3 00 00 */ lwz r29, 0(r3) -/* 800A413C 000A109C 3B BD 00 10 */ addi r29, r29, 0x10 -/* 800A4140 000A10A0 48 00 00 94 */ b lbl_800A41D4 -lbl_800A4144: -/* 800A4144 000A10A4 80 9D 00 04 */ lwz r4, 4(r29) -/* 800A4148 000A10A8 7F BA EB 78 */ mr r26, r29 -/* 800A414C 000A10AC 80 7D 00 08 */ lwz r3, 8(r29) -/* 800A4150 000A10B0 3B 7D FF F0 */ addi r27, r29, -16 -/* 800A4154 000A10B4 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800A4158 000A10B8 90 81 00 0C */ stw r4, 0xc(r1) -/* 800A415C 000A10BC 83 9D 00 00 */ lwz r28, 0(r29) -/* 800A4160 000A10C0 90 61 00 10 */ stw r3, 0x10(r1) -/* 800A4164 000A10C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A4168 000A10C8 48 00 00 2C */ b lbl_800A4194 -lbl_800A416C: -/* 800A416C 000A10CC 80 1B 00 00 */ lwz r0, 0(r27) -/* 800A4170 000A10D0 90 1A 00 00 */ stw r0, 0(r26) -/* 800A4174 000A10D4 80 7B 00 04 */ lwz r3, 4(r27) -/* 800A4178 000A10D8 80 1B 00 08 */ lwz r0, 8(r27) -/* 800A417C 000A10DC 90 7A 00 04 */ stw r3, 4(r26) -/* 800A4180 000A10E0 90 1A 00 08 */ stw r0, 8(r26) -/* 800A4184 000A10E4 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 800A4188 000A10E8 3B 7B FF F0 */ addi r27, r27, -16 -/* 800A418C 000A10EC 90 1A 00 0C */ stw r0, 0xc(r26) -/* 800A4190 000A10F0 3B 5A FF F0 */ addi r26, r26, -16 -lbl_800A4194: -/* 800A4194 000A10F4 80 1E 00 00 */ lwz r0, 0(r30) -/* 800A4198 000A10F8 7C 00 D0 40 */ cmplw r0, r26 -/* 800A419C 000A10FC 40 80 00 18 */ bge lbl_800A41B4 -/* 800A41A0 000A1100 80 9B 00 00 */ lwz r4, 0(r27) -/* 800A41A4 000A1104 7F 83 E3 78 */ mr r3, r28 -/* 800A41A8 000A1108 48 2E BD F5 */ bl strcmp -/* 800A41AC 000A110C 2C 03 00 00 */ cmpwi r3, 0 -/* 800A41B0 000A1110 41 80 FF BC */ blt lbl_800A416C -lbl_800A41B4: -/* 800A41B4 000A1114 93 9A 00 00 */ stw r28, 0(r26) -/* 800A41B8 000A1118 3B BD 00 10 */ addi r29, r29, 0x10 -/* 800A41BC 000A111C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800A41C0 000A1120 80 61 00 10 */ lwz r3, 0x10(r1) -/* 800A41C4 000A1124 90 1A 00 04 */ stw r0, 4(r26) -/* 800A41C8 000A1128 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A41CC 000A112C 90 7A 00 08 */ stw r3, 8(r26) -/* 800A41D0 000A1130 90 1A 00 0C */ stw r0, 0xc(r26) -lbl_800A41D4: -/* 800A41D4 000A1134 80 1F 00 00 */ lwz r0, 0(r31) -/* 800A41D8 000A1138 7C 1D 00 40 */ cmplw r29, r0 -/* 800A41DC 000A113C 41 80 FF 68 */ blt lbl_800A4144 -/* 800A41E0 000A1140 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800A41E4 000A1144 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800A41E8 000A1148 7C 08 03 A6 */ mtlr r0 -/* 800A41EC 000A114C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800A41F0 000A1150 4E 80 00 20 */ blr - -.global "__insertion_sort,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector,Q24rstl94vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl111pair_sorter_finder,Q217@unnamed@CAi_cpp@9cstr_less>>__4rstlFQ24rstl208pointer_iterator,Q24rstl94vector__10CPatternedFP7CEntity" -"CastTo<8CWarWasp>__10CPatternedFP7CEntity": -/* 800A533C 000A229C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5340 000A22A0 7C 08 02 A6 */ mflr r0 -/* 800A5344 000A22A4 7C 64 1B 78 */ mr r4, r3 -/* 800A5348 000A22A8 38 60 00 27 */ li r3, 0x27 -/* 800A534C 000A22AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5350 000A22B0 80 84 00 00 */ lwz r4, 0(r4) -/* 800A5354 000A22B4 48 00 02 59 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A5358 000A22B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A535C 000A22BC 7C 08 03 A6 */ mtlr r0 -/* 800A5360 000A22C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5364 000A22C4 4E 80 00 20 */ blr - -.global sub_800a5368 -sub_800a5368: -/* 800A5368 000A22C8 90 83 00 00 */ stw r4, 0(r3) -/* 800A536C 000A22CC 4E 80 00 20 */ blr - -.global "CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity" -"CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity": -/* 800A5370 000A22D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5374 000A22D4 7C 08 02 A6 */ mflr r0 -/* 800A5378 000A22D8 7C 64 1B 78 */ mr r4, r3 -/* 800A537C 000A22DC 38 60 00 25 */ li r3, 0x25 -/* 800A5380 000A22E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5384 000A22E4 80 84 00 00 */ lwz r4, 0(r4) -/* 800A5388 000A22E8 48 00 02 25 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A538C 000A22EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A5390 000A22F0 7C 08 03 A6 */ mtlr r0 -/* 800A5394 000A22F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5398 000A22F8 4E 80 00 20 */ blr - -.global sub_800a539c -sub_800a539c: -/* 800A539C 000A22FC 90 83 00 00 */ stw r4, 0(r3) -/* 800A53A0 000A2300 4E 80 00 20 */ blr - -.global "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" -"CastTo<12CSpacePirate>__10CPatternedFP7CEntity": -/* 800A53A4 000A2304 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A53A8 000A2308 7C 08 02 A6 */ mflr r0 -/* 800A53AC 000A230C 7C 64 1B 78 */ mr r4, r3 -/* 800A53B0 000A2310 38 60 00 22 */ li r3, 0x22 -/* 800A53B4 000A2314 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A53B8 000A2318 80 84 00 00 */ lwz r4, 0(r4) -/* 800A53BC 000A231C 48 00 01 F1 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A53C0 000A2320 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A53C4 000A2324 7C 08 03 A6 */ mtlr r0 -/* 800A53C8 000A2328 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A53CC 000A232C 4E 80 00 20 */ blr - -.global sub_800a53d0 -sub_800a53d0: -/* 800A53D0 000A2330 90 83 00 00 */ stw r4, 0(r3) -/* 800A53D4 000A2334 4E 80 00 20 */ blr - -.global "CastTo<11CPuddleToad>__10CPatternedFP7CEntity" -"CastTo<11CPuddleToad>__10CPatternedFP7CEntity": -/* 800A53D8 000A2338 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A53DC 000A233C 7C 08 02 A6 */ mflr r0 -/* 800A53E0 000A2340 7C 64 1B 78 */ mr r4, r3 -/* 800A53E4 000A2344 38 60 00 1C */ li r3, 0x1c -/* 800A53E8 000A2348 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A53EC 000A234C 80 84 00 00 */ lwz r4, 0(r4) -/* 800A53F0 000A2350 48 00 01 BD */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A53F4 000A2354 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A53F8 000A2358 7C 08 03 A6 */ mtlr r0 -/* 800A53FC 000A235C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5400 000A2360 4E 80 00 20 */ blr - -.global sub_800a5404 -sub_800a5404: -/* 800A5404 000A2364 90 83 00 00 */ stw r4, 0(r3) -/* 800A5408 000A2368 4E 80 00 20 */ blr - -.global "CastTo<9CParasite>__10CPatternedFP7CEntity" -"CastTo<9CParasite>__10CPatternedFP7CEntity": -/* 800A540C 000A236C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5410 000A2370 7C 08 02 A6 */ mflr r0 -/* 800A5414 000A2374 7C 64 1B 78 */ mr r4, r3 -/* 800A5418 000A2378 38 60 00 18 */ li r3, 0x18 -/* 800A541C 000A237C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5420 000A2380 80 84 00 00 */ lwz r4, 0(r4) -/* 800A5424 000A2384 48 00 01 89 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A5428 000A2388 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A542C 000A238C 7C 08 03 A6 */ mtlr r0 -/* 800A5430 000A2390 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5434 000A2394 4E 80 00 20 */ blr - -.global sub_800a5438 -sub_800a5438: -/* 800A5438 000A2398 90 83 00 00 */ stw r4, 0(r3) -/* 800A543C 000A239C 4E 80 00 20 */ blr - -.global "CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity" -"CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity": -/* 800A5440 000A23A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5444 000A23A4 7C 08 02 A6 */ mflr r0 -/* 800A5448 000A23A8 7C 64 1B 78 */ mr r4, r3 -/* 800A544C 000A23AC 38 60 00 15 */ li r3, 0x15 -/* 800A5450 000A23B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5454 000A23B4 80 84 00 00 */ lwz r4, 0(r4) -/* 800A5458 000A23B8 48 00 01 55 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A545C 000A23BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A5460 000A23C0 7C 08 03 A6 */ mtlr r0 -/* 800A5464 000A23C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5468 000A23C8 4E 80 00 20 */ blr - -.global sub_800a546c -sub_800a546c: -/* 800A546C 000A23CC 90 83 00 00 */ stw r4, 0(r3) -/* 800A5470 000A23D0 4E 80 00 20 */ blr - -.global "CastTo<12CMetroidBeta>__10CPatternedFP7CEntity" -"CastTo<12CMetroidBeta>__10CPatternedFP7CEntity": -/* 800A5474 000A23D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5478 000A23D8 7C 08 02 A6 */ mflr r0 -/* 800A547C 000A23DC 7C 64 1B 78 */ mr r4, r3 -/* 800A5480 000A23E0 38 60 00 14 */ li r3, 0x14 -/* 800A5484 000A23E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5488 000A23E8 80 84 00 00 */ lwz r4, 0(r4) -/* 800A548C 000A23EC 48 00 01 21 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A5490 000A23F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A5494 000A23F4 7C 08 03 A6 */ mtlr r0 -/* 800A5498 000A23F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A549C 000A23FC 4E 80 00 20 */ blr - -.global sub_800a54a0 -sub_800a54a0: -/* 800A54A0 000A2400 90 83 00 00 */ stw r4, 0(r3) -/* 800A54A4 000A2404 4E 80 00 20 */ blr - -.global "CastTo<8CMetroid>__10CPatternedFP7CEntity" -"CastTo<8CMetroid>__10CPatternedFP7CEntity": -/* 800A54A8 000A2408 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A54AC 000A240C 7C 08 02 A6 */ mflr r0 -/* 800A54B0 000A2410 7C 64 1B 78 */ mr r4, r3 -/* 800A54B4 000A2414 38 60 00 13 */ li r3, 0x13 -/* 800A54B8 000A2418 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A54BC 000A241C 80 84 00 00 */ lwz r4, 0(r4) -/* 800A54C0 000A2420 48 00 00 ED */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A54C4 000A2424 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A54C8 000A2428 7C 08 03 A6 */ mtlr r0 -/* 800A54CC 000A242C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A54D0 000A2430 4E 80 00 20 */ blr - -.global sub_800a54d4 -sub_800a54d4: -/* 800A54D4 000A2434 90 83 00 00 */ stw r4, 0(r3) -/* 800A54D8 000A2438 4E 80 00 20 */ blr - -.global "CastTo<9CJellyZap>__10CPatternedFP7CEntity" -"CastTo<9CJellyZap>__10CPatternedFP7CEntity": -/* 800A54DC 000A243C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A54E0 000A2440 7C 08 02 A6 */ mflr r0 -/* 800A54E4 000A2444 7C 64 1B 78 */ mr r4, r3 -/* 800A54E8 000A2448 38 60 00 10 */ li r3, 0x10 -/* 800A54EC 000A244C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A54F0 000A2450 80 84 00 00 */ lwz r4, 0(r4) -/* 800A54F4 000A2454 48 00 00 B9 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A54F8 000A2458 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A54FC 000A245C 7C 08 03 A6 */ mtlr r0 -/* 800A5500 000A2460 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5504 000A2464 4E 80 00 20 */ blr - -.global sub_800a5508 -sub_800a5508: -/* 800A5508 000A2468 90 83 00 00 */ stw r4, 0(r3) -/* 800A550C 000A246C 4E 80 00 20 */ blr - -.global "CastTo<12CIceSheegoth>__10CPatternedFP7CEntity" -"CastTo<12CIceSheegoth>__10CPatternedFP7CEntity": -/* 800A5510 000A2470 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5514 000A2474 7C 08 02 A6 */ mflr r0 -/* 800A5518 000A2478 7C 64 1B 78 */ mr r4, r3 -/* 800A551C 000A247C 38 60 00 0F */ li r3, 0xf -/* 800A5520 000A2480 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5524 000A2484 80 84 00 00 */ lwz r4, 0(r4) -/* 800A5528 000A2488 48 00 00 85 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A552C 000A248C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A5530 000A2490 7C 08 03 A6 */ mtlr r0 -/* 800A5534 000A2494 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5538 000A2498 4E 80 00 20 */ blr - -.global sub_800a553c -sub_800a553c: -/* 800A553C 000A249C 90 83 00 00 */ stw r4, 0(r3) -/* 800A5540 000A24A0 4E 80 00 20 */ blr - -.global "CastTo<11CFlickerBat>__10CPatternedFP7CEntity" -"CastTo<11CFlickerBat>__10CPatternedFP7CEntity": -/* 800A5544 000A24A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5548 000A24A8 7C 08 02 A6 */ mflr r0 -/* 800A554C 000A24AC 7C 64 1B 78 */ mr r4, r3 -/* 800A5550 000A24B0 38 60 00 0D */ li r3, 0xd -/* 800A5554 000A24B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5558 000A24B8 80 84 00 00 */ lwz r4, 0(r4) -/* 800A555C 000A24BC 48 00 00 51 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A5560 000A24C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A5564 000A24C4 7C 08 03 A6 */ mtlr r0 -/* 800A5568 000A24C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A556C 000A24CC 4E 80 00 20 */ blr - -.global sub_800a5570 -sub_800a5570: -/* 800A5570 000A24D0 90 83 00 00 */ stw r4, 0(r3) -/* 800A5574 000A24D4 4E 80 00 20 */ blr - -.global "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" -"CastTo<11CEnergyBall>__10CPatternedFP7CEntity": -/* 800A5578 000A24D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A557C 000A24DC 7C 08 02 A6 */ mflr r0 -/* 800A5580 000A24E0 7C 64 1B 78 */ mr r4, r3 -/* 800A5584 000A24E4 38 60 00 28 */ li r3, 0x28 -/* 800A5588 000A24E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A558C 000A24EC 80 84 00 00 */ lwz r4, 0(r4) -/* 800A5590 000A24F0 48 00 00 1D */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -/* 800A5594 000A24F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A5598 000A24F8 7C 08 03 A6 */ mtlr r0 -/* 800A559C 000A24FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A55A0 000A2500 4E 80 00 20 */ blr - -.global sub_800a55a4 -sub_800a55a4: -/* 800A55A4 000A2504 90 83 00 00 */ stw r4, 0(r3) -/* 800A55A8 000A2508 4E 80 00 20 */ blr - -.global CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity -CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity: -/* 800A55AC 000A250C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800A55B0 000A2510 7C 08 02 A6 */ mflr r0 -/* 800A55B4 000A2514 90 01 00 24 */ stw r0, 0x24(r1) -/* 800A55B8 000A2518 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800A55BC 000A251C 7C 7F 1B 78 */ mr r31, r3 -/* 800A55C0 000A2520 38 61 00 08 */ addi r3, r1, 8 -/* 800A55C4 000A2524 48 00 74 99 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 800A55C8 000A2528 80 63 00 04 */ lwz r3, 4(r3) -/* 800A55CC 000A252C 28 03 00 00 */ cmplwi r3, 0 -/* 800A55D0 000A2530 41 82 00 14 */ beq lbl_800A55E4 -/* 800A55D4 000A2534 80 03 03 4C */ lwz r0, 0x34c(r3) -/* 800A55D8 000A2538 7C 1F 00 00 */ cmpw r31, r0 -/* 800A55DC 000A253C 40 82 00 08 */ bne lbl_800A55E4 -/* 800A55E0 000A2540 48 00 00 08 */ b lbl_800A55E8 -lbl_800A55E4: -/* 800A55E4 000A2544 38 60 00 00 */ li r3, 0 -lbl_800A55E8: -/* 800A55E8 000A2548 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800A55EC 000A254C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800A55F0 000A2550 7C 08 03 A6 */ mtlr r0 -/* 800A55F4 000A2554 38 21 00 20 */ addi r1, r1, 0x20 -/* 800A55F8 000A2558 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR7CWeapon" -"Visit__20TCastToPtr<7CWeapon>FR7CWeapon": -/* 800A55FC 000A255C 90 83 00 04 */ stw r4, 4(r3) -/* 800A5600 000A2560 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR17CWallCrawlerSwarm" -"Visit__20TCastToPtr<7CWeapon>FR17CWallCrawlerSwarm": -/* 800A5604 000A2564 38 00 00 00 */ li r0, 0 -/* 800A5608 000A2568 90 03 00 04 */ stw r0, 4(r3) -/* 800A560C 000A256C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR20CScriptSpindleCamera" -"Visit__20TCastToPtr<7CWeapon>FR20CScriptSpindleCamera": -/* 800A5610 000A2570 38 00 00 00 */ li r0, 0 -/* 800A5614 000A2574 90 03 00 04 */ stw r0, 4(r3) -/* 800A5618 000A2578 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR15CSnakeWeedSwarm" -"Visit__20TCastToPtr<7CWeapon>FR15CSnakeWeedSwarm": -/* 800A561C 000A257C 38 00 00 00 */ li r0, 0 -/* 800A5620 000A2580 90 03 00 04 */ stw r0, 4(r3) -/* 800A5624 000A2584 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR15CScriptWaypoint" -"Visit__20TCastToPtr<7CWeapon>FR15CScriptWaypoint": -/* 800A5628 000A2588 38 00 00 00 */ li r0, 0 -/* 800A562C 000A258C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5630 000A2590 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR12CScriptWater" -"Visit__20TCastToPtr<7CWeapon>FR12CScriptWater": -/* 800A5634 000A2594 38 00 00 00 */ li r0, 0 -/* 800A5638 000A2598 90 03 00 04 */ stw r0, 4(r3) -/* 800A563C 000A259C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptVisorFlare" -"Visit__20TCastToPtr<7CWeapon>FR17CScriptVisorFlare": -/* 800A5640 000A25A0 38 00 00 00 */ li r0, 0 -/* 800A5644 000A25A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5648 000A25A8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR14CScriptTrigger" -"Visit__20TCastToPtr<7CWeapon>FR14CScriptTrigger": -/* 800A564C 000A25AC 38 00 00 00 */ li r0, 0 -/* 800A5650 000A25B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5654 000A25B4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR12CScriptTimer" -"Visit__20TCastToPtr<7CWeapon>FR12CScriptTimer": -/* 800A5658 000A25B8 38 00 00 00 */ li r0, 0 -/* 800A565C 000A25BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5660 000A25C0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR10CTeamAiMgr" -"Visit__20TCastToPtr<7CWeapon>FR10CTeamAiMgr": -/* 800A5664 000A25C4 38 00 00 00 */ li r0, 0 -/* 800A5668 000A25C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A566C 000A25CC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR21CScriptTargetingPoint" -"Visit__20TCastToPtr<7CWeapon>FR21CScriptTargetingPoint": -/* 800A5670 000A25D0 38 00 00 00 */ li r0, 0 -/* 800A5674 000A25D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5678 000A25D8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR25CScriptSpiderBallWaypoint" -"Visit__20TCastToPtr<7CWeapon>FR25CScriptSpiderBallWaypoint": -/* 800A567C 000A25DC 38 00 00 00 */ li r0, 0 -/* 800A5680 000A25E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5684 000A25E4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR34CScriptSpiderBallAttractionSurface" -"Visit__20TCastToPtr<7CWeapon>FR34CScriptSpiderBallAttractionSurface": -/* 800A5688 000A25E8 38 00 00 00 */ li r0, 0 -/* 800A568C 000A25EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5690 000A25F0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR22CScriptSpecialFunction" -"Visit__20TCastToPtr<7CWeapon>FR22CScriptSpecialFunction": -/* 800A5694 000A25F4 38 00 00 00 */ li r0, 0 -/* 800A5698 000A25F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A569C 000A25FC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptSpawnPoint" -"Visit__20TCastToPtr<7CWeapon>FR17CScriptSpawnPoint": -/* 800A56A0 000A2600 38 00 00 00 */ li r0, 0 -/* 800A56A4 000A2604 90 03 00 04 */ stw r0, 4(r3) -/* 800A56A8 000A2608 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR12CScriptSound" -"Visit__20TCastToPtr<7CWeapon>FR12CScriptSound": -/* 800A56AC 000A260C 38 00 00 00 */ li r0, 0 -/* 800A56B0 000A2610 90 03 00 04 */ stw r0, 4(r3) -/* 800A56B4 000A2614 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR20CScriptRoomAcoustics" -"Visit__20TCastToPtr<7CWeapon>FR20CScriptRoomAcoustics": -/* 800A56B8 000A2618 38 00 00 00 */ li r0, 0 -/* 800A56BC 000A261C 90 03 00 04 */ stw r0, 4(r3) -/* 800A56C0 000A2620 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR22CScriptPointOfinterest" -"Visit__20TCastToPtr<7CWeapon>FR22CScriptPointOfinterest": -/* 800A56C4 000A2624 38 00 00 00 */ li r0, 0 -/* 800A56C8 000A2628 90 03 00 04 */ stw r0, 4(r3) -/* 800A56CC 000A262C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptPlayerHint" -"Visit__20TCastToPtr<7CWeapon>FR17CScriptPlayerHint": -/* 800A56D0 000A2630 38 00 00 00 */ li r0, 0 -/* 800A56D4 000A2634 90 03 00 04 */ stw r0, 4(r3) -/* 800A56D8 000A2638 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR15CScriptPlatform" -"Visit__20TCastToPtr<7CWeapon>FR15CScriptPlatform": -/* 800A56DC 000A263C 38 00 00 00 */ li r0, 0 -/* 800A56E0 000A2640 90 03 00 04 */ stw r0, 4(r3) -/* 800A56E4 000A2644 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR13CScriptPickup" -"Visit__20TCastToPtr<7CWeapon>FR13CScriptPickup": -/* 800A56E8 000A2648 38 00 00 00 */ li r0, 0 -/* 800A56EC 000A264C 90 03 00 04 */ stw r0, 4(r3) -/* 800A56F0 000A2650 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR15CScriptMazeNode" -"Visit__20TCastToPtr<7CWeapon>FR15CScriptMazeNode": -/* 800A56F4 000A2654 38 00 00 00 */ li r0, 0 -/* 800A56F8 000A2658 90 03 00 04 */ stw r0, 4(r3) -/* 800A56FC 000A265C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR16CScriptGunTurret" -"Visit__20TCastToPtr<7CWeapon>FR16CScriptGunTurret": -/* 800A5700 000A2660 38 00 00 00 */ li r0, 0 -/* 800A5704 000A2664 90 03 00 04 */ stw r0, 4(r3) -/* 800A5708 000A2668 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR19CScriptGrapplePoint" -"Visit__20TCastToPtr<7CWeapon>FR19CScriptGrapplePoint": -/* 800A570C 000A266C 38 00 00 00 */ li r0, 0 -/* 800A5710 000A2670 90 03 00 04 */ stw r0, 4(r3) -/* 800A5714 000A2674 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR13CScriptEffect" -"Visit__20TCastToPtr<7CWeapon>FR13CScriptEffect": -/* 800A5718 000A2678 38 00 00 00 */ li r0, 0 -/* 800A571C 000A267C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5720 000A2680 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR11CScriptDoor" -"Visit__20TCastToPtr<7CWeapon>FR11CScriptDoor": -/* 800A5724 000A2684 38 00 00 00 */ li r0, 0 -/* 800A5728 000A2688 90 03 00 04 */ stw r0, 4(r3) -/* 800A572C 000A268C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR11CScriptDock" -"Visit__20TCastToPtr<7CWeapon>FR11CScriptDock": -/* 800A5730 000A2690 38 00 00 00 */ li r0, 0 -/* 800A5734 000A2694 90 03 00 04 */ stw r0, 4(r3) -/* 800A5738 000A2698 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR18CScriptDistanceFog" -"Visit__20TCastToPtr<7CWeapon>FR18CScriptDistanceFog": -/* 800A573C 000A269C 38 00 00 00 */ li r0, 0 -/* 800A5740 000A26A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5744 000A26A4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR26CScriptDebugCameraWaypoint" -"Visit__20TCastToPtr<7CWeapon>FR26CScriptDebugCameraWaypoint": -/* 800A5748 000A26A8 38 00 00 00 */ li r0, 0 -/* 800A574C 000A26AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5750 000A26B0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptCoverPoint" -"Visit__20TCastToPtr<7CWeapon>FR17CScriptCoverPoint": -/* 800A5754 000A26B4 38 00 00 00 */ li r0, 0 -/* 800A5758 000A26B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A575C 000A26BC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR21CScriptCameraWaypoint" -"Visit__20TCastToPtr<7CWeapon>FR21CScriptCameraWaypoint": -/* 800A5760 000A26C0 38 00 00 00 */ li r0, 0 -/* 800A5764 000A26C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5768 000A26C8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR24CScriptCameraPitchVolume" -"Visit__20TCastToPtr<7CWeapon>FR24CScriptCameraPitchVolume": -/* 800A576C 000A26CC 38 00 00 00 */ li r0, 0 -/* 800A5770 000A26D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5774 000A26D4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR17CScriptCameraHint" -"Visit__20TCastToPtr<7CWeapon>FR17CScriptCameraHint": -/* 800A5778 000A26D8 38 00 00 00 */ li r0, 0 -/* 800A577C 000A26DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5780 000A26E0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR18CScriptAiJumpPoint" -"Visit__20TCastToPtr<7CWeapon>FR18CScriptAiJumpPoint": -/* 800A5784 000A26E4 38 00 00 00 */ li r0, 0 -/* 800A5788 000A26E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A578C 000A26EC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR20CScriptActorKeyframe" -"Visit__20TCastToPtr<7CWeapon>FR20CScriptActorKeyframe": -/* 800A5790 000A26F0 38 00 00 00 */ li r0, 0 -/* 800A5794 000A26F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5798 000A26F8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR12CScriptActor" -"Visit__20TCastToPtr<7CWeapon>FR12CScriptActor": -/* 800A579C 000A26FC 38 00 00 00 */ li r0, 0 -/* 800A57A0 000A2700 90 03 00 04 */ stw r0, 4(r3) -/* 800A57A4 000A2704 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR9CRepulsor" -"Visit__20TCastToPtr<7CWeapon>FR9CRepulsor": -/* 800A57A8 000A2708 38 00 00 00 */ li r0, 0 -/* 800A57AC 000A270C 90 03 00 04 */ stw r0, 4(r3) -/* 800A57B0 000A2710 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR7CPlayer" -"Visit__20TCastToPtr<7CWeapon>FR7CPlayer": -/* 800A57B4 000A2714 38 00 00 00 */ li r0, 0 -/* 800A57B8 000A2718 90 03 00 04 */ stw r0, 4(r3) -/* 800A57BC 000A271C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR13CPhysicsActor" -"Visit__20TCastToPtr<7CWeapon>FR13CPhysicsActor": -/* 800A57C0 000A2720 38 00 00 00 */ li r0, 0 -/* 800A57C4 000A2724 90 03 00 04 */ stw r0, 4(r3) -/* 800A57C8 000A2728 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR3CAi" -"Visit__20TCastToPtr<7CWeapon>FR3CAi": -/* 800A57CC 000A272C 38 00 00 00 */ li r0, 0 -/* 800A57D0 000A2730 90 03 00 04 */ stw r0, 4(r3) -/* 800A57D4 000A2734 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR11CPathCamera" -"Visit__20TCastToPtr<7CWeapon>FR11CPathCamera": -/* 800A57D8 000A2738 38 00 00 00 */ li r0, 0 -/* 800A57DC 000A273C 90 03 00 04 */ stw r0, 4(r3) -/* 800A57E0 000A2740 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR18CMetroidPrimeRelay" -"Visit__20TCastToPtr<7CWeapon>FR18CMetroidPrimeRelay": -/* 800A57E4 000A2744 38 00 00 00 */ li r0, 0 -/* 800A57E8 000A2748 90 03 00 04 */ stw r0, 4(r3) -/* 800A57EC 000A274C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR19CHUDBillboardEffect" -"Visit__20TCastToPtr<7CWeapon>FR19CHUDBillboardEffect": -/* 800A57F0 000A2750 38 00 00 00 */ li r0, 0 -/* 800A57F4 000A2754 90 03 00 04 */ stw r0, 4(r3) -/* 800A57F8 000A2758 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR15CGameProjectile" -"Visit__20TCastToPtr<7CWeapon>FR15CGameProjectile": -/* 800A57FC 000A275C 90 83 00 04 */ stw r4, 4(r3) -/* 800A5800 000A2760 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR10CGameLight" -"Visit__20TCastToPtr<7CWeapon>FR10CGameLight": -/* 800A5804 000A2764 38 00 00 00 */ li r0, 0 -/* 800A5808 000A2768 90 03 00 04 */ stw r0, 4(r3) -/* 800A580C 000A276C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR11CGameCamera" -"Visit__20TCastToPtr<7CWeapon>FR11CGameCamera": -/* 800A5810 000A2770 38 00 00 00 */ li r0, 0 -/* 800A5814 000A2774 90 03 00 04 */ stw r0, 4(r3) -/* 800A5818 000A2778 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR10CFishCloud" -"Visit__20TCastToPtr<7CWeapon>FR10CFishCloud": -/* 800A581C 000A277C 38 00 00 00 */ li r0, 0 -/* 800A5820 000A2780 90 03 00 04 */ stw r0, 4(r3) -/* 800A5824 000A2784 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR18CFirstPersonCamera" -"Visit__20TCastToPtr<7CWeapon>FR18CFirstPersonCamera": -/* 800A5828 000A2788 38 00 00 00 */ li r0, 0 -/* 800A582C 000A278C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5830 000A2790 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR10CExplosion" -"Visit__20TCastToPtr<7CWeapon>FR10CExplosion": -/* 800A5834 000A2794 38 00 00 00 */ li r0, 0 -/* 800A5838 000A2798 90 03 00 04 */ stw r0, 4(r3) -/* 800A583C 000A279C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR7CEntity" -"Visit__20TCastToPtr<7CWeapon>FR7CEntity": -/* 800A5840 000A27A0 38 00 00 00 */ li r0, 0 -/* 800A5844 000A27A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5848 000A27A8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR17CEnergyProjectile" -"Visit__20TCastToPtr<7CWeapon>FR17CEnergyProjectile": -/* 800A584C 000A27AC 90 83 00 04 */ stw r4, 4(r3) -/* 800A5850 000A27B0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR16CDestroyableRock" -"Visit__20TCastToPtr<7CWeapon>FR16CDestroyableRock": -/* 800A5854 000A27B4 38 00 00 00 */ li r0, 0 -/* 800A5858 000A27B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A585C 000A27BC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR15CCollisionActor" -"Visit__20TCastToPtr<7CWeapon>FR15CCollisionActor": -/* 800A5860 000A27C0 38 00 00 00 */ li r0, 0 -/* 800A5864 000A27C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5868 000A27C8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR16CCinematicCamera" -"Visit__20TCastToPtr<7CWeapon>FR16CCinematicCamera": -/* 800A586C 000A27CC 38 00 00 00 */ li r0, 0 -/* 800A5870 000A27D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5874 000A27D4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR5CBomb" -"Visit__20TCastToPtr<7CWeapon>FR5CBomb": -/* 800A5878 000A27D8 90 83 00 04 */ stw r4, 4(r3) -/* 800A587C 000A27DC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR11CBallCamera" -"Visit__20TCastToPtr<7CWeapon>FR11CBallCamera": -/* 800A5880 000A27E0 38 00 00 00 */ li r0, 0 -/* 800A5884 000A27E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5888 000A27E8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CWeapon>FR6CActor" -"Visit__20TCastToPtr<7CWeapon>FR6CActor": -/* 800A588C 000A27EC 38 00 00 00 */ li r0, 0 -/* 800A5890 000A27F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5894 000A27F4 4E 80 00 20 */ blr - -.global "__ct__20TCastToPtr<7CWeapon>FP7CEntity" -"__ct__20TCastToPtr<7CWeapon>FP7CEntity": -/* 800A5898 000A27F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A589C 000A27FC 7C 08 02 A6 */ mflr r0 -/* 800A58A0 000A2800 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A58A4 000A2804 3C A0 80 3E */ lis r5, lbl_803DEF50@ha -/* 800A58A8 000A2808 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A58AC 000A280C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A58B0 000A2810 28 04 00 00 */ cmplwi r4, 0 -/* 800A58B4 000A2814 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A58B8 000A2818 7C 7F 1B 78 */ mr r31, r3 -/* 800A58BC 000A281C 38 65 EF 50 */ addi r3, r5, lbl_803DEF50@l -/* 800A58C0 000A2820 90 1F 00 00 */ stw r0, 0(r31) -/* 800A58C4 000A2824 38 00 00 00 */ li r0, 0 -/* 800A58C8 000A2828 90 7F 00 00 */ stw r3, 0(r31) -/* 800A58CC 000A282C 90 1F 00 04 */ stw r0, 4(r31) -/* 800A58D0 000A2830 41 82 00 1C */ beq lbl_800A58EC -/* 800A58D4 000A2834 7C 83 23 78 */ mr r3, r4 -/* 800A58D8 000A2838 7F E4 FB 78 */ mr r4, r31 -/* 800A58DC 000A283C 81 83 00 00 */ lwz r12, 0(r3) -/* 800A58E0 000A2840 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A58E4 000A2844 7D 89 03 A6 */ mtctr r12 -/* 800A58E8 000A2848 4E 80 04 21 */ bctrl -lbl_800A58EC: -/* 800A58EC 000A284C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A58F0 000A2850 7F E3 FB 78 */ mr r3, r31 -/* 800A58F4 000A2854 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A58F8 000A2858 7C 08 03 A6 */ mtlr r0 -/* 800A58FC 000A285C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5900 000A2860 4E 80 00 20 */ blr - -.global "__ct__20TCastToPtr<7CWeapon>FR7CEntity" -"__ct__20TCastToPtr<7CWeapon>FR7CEntity": -/* 800A5904 000A2864 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5908 000A2868 7C 08 02 A6 */ mflr r0 -/* 800A590C 000A286C 3C A0 80 3E */ lis r5, lbl_803DEF50@ha -/* 800A5910 000A2870 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A5914 000A2874 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5918 000A2878 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A591C 000A287C 38 A5 EF 50 */ addi r5, r5, lbl_803DEF50@l -/* 800A5920 000A2880 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A5924 000A2884 7C 7F 1B 78 */ mr r31, r3 -/* 800A5928 000A2888 90 03 00 00 */ stw r0, 0(r3) -/* 800A592C 000A288C 7C 83 23 78 */ mr r3, r4 -/* 800A5930 000A2890 38 00 00 00 */ li r0, 0 -/* 800A5934 000A2894 7F E4 FB 78 */ mr r4, r31 -/* 800A5938 000A2898 90 BF 00 00 */ stw r5, 0(r31) -/* 800A593C 000A289C 90 1F 00 04 */ stw r0, 4(r31) -/* 800A5940 000A28A0 81 83 00 00 */ lwz r12, 0(r3) -/* 800A5944 000A28A4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A5948 000A28A8 7D 89 03 A6 */ mtctr r12 -/* 800A594C 000A28AC 4E 80 04 21 */ bctrl -/* 800A5950 000A28B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A5954 000A28B4 7F E3 FB 78 */ mr r3, r31 -/* 800A5958 000A28B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A595C 000A28BC 7C 08 03 A6 */ mtlr r0 -/* 800A5960 000A28C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5964 000A28C4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CWeapon" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CWeapon": -/* 800A5968 000A28C8 38 00 00 00 */ li r0, 0 -/* 800A596C 000A28CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5970 000A28D0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CWallCrawlerSwarm" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CWallCrawlerSwarm": -/* 800A5974 000A28D4 90 83 00 04 */ stw r4, 4(r3) -/* 800A5978 000A28D8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptSpindleCamera" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptSpindleCamera": -/* 800A597C 000A28DC 38 00 00 00 */ li r0, 0 -/* 800A5980 000A28E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5984 000A28E4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CSnakeWeedSwarm" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CSnakeWeedSwarm": -/* 800A5988 000A28E8 38 00 00 00 */ li r0, 0 -/* 800A598C 000A28EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5990 000A28F0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptWaypoint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptWaypoint": -/* 800A5994 000A28F4 38 00 00 00 */ li r0, 0 -/* 800A5998 000A28F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A599C 000A28FC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptWater" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptWater": -/* 800A59A0 000A2900 38 00 00 00 */ li r0, 0 -/* 800A59A4 000A2904 90 03 00 04 */ stw r0, 4(r3) -/* 800A59A8 000A2908 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptVisorFlare" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptVisorFlare": -/* 800A59AC 000A290C 38 00 00 00 */ li r0, 0 -/* 800A59B0 000A2910 90 03 00 04 */ stw r0, 4(r3) -/* 800A59B4 000A2914 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR14CScriptTrigger" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR14CScriptTrigger": -/* 800A59B8 000A2918 38 00 00 00 */ li r0, 0 -/* 800A59BC 000A291C 90 03 00 04 */ stw r0, 4(r3) -/* 800A59C0 000A2920 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptTimer" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptTimer": -/* 800A59C4 000A2924 38 00 00 00 */ li r0, 0 -/* 800A59C8 000A2928 90 03 00 04 */ stw r0, 4(r3) -/* 800A59CC 000A292C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CTeamAiMgr" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CTeamAiMgr": -/* 800A59D0 000A2930 38 00 00 00 */ li r0, 0 -/* 800A59D4 000A2934 90 03 00 04 */ stw r0, 4(r3) -/* 800A59D8 000A2938 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR21CScriptTargetingPoint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR21CScriptTargetingPoint": -/* 800A59DC 000A293C 38 00 00 00 */ li r0, 0 -/* 800A59E0 000A2940 90 03 00 04 */ stw r0, 4(r3) -/* 800A59E4 000A2944 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR25CScriptSpiderBallWaypoint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR25CScriptSpiderBallWaypoint": -/* 800A59E8 000A2948 38 00 00 00 */ li r0, 0 -/* 800A59EC 000A294C 90 03 00 04 */ stw r0, 4(r3) -/* 800A59F0 000A2950 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR34CScriptSpiderBallAttractionSurface" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR34CScriptSpiderBallAttractionSurface": -/* 800A59F4 000A2954 38 00 00 00 */ li r0, 0 -/* 800A59F8 000A2958 90 03 00 04 */ stw r0, 4(r3) -/* 800A59FC 000A295C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR22CScriptSpecialFunction" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR22CScriptSpecialFunction": -/* 800A5A00 000A2960 38 00 00 00 */ li r0, 0 -/* 800A5A04 000A2964 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A08 000A2968 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptSpawnPoint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptSpawnPoint": -/* 800A5A0C 000A296C 38 00 00 00 */ li r0, 0 -/* 800A5A10 000A2970 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A14 000A2974 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptSound" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptSound": -/* 800A5A18 000A2978 38 00 00 00 */ li r0, 0 -/* 800A5A1C 000A297C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A20 000A2980 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptRoomAcoustics" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptRoomAcoustics": -/* 800A5A24 000A2984 38 00 00 00 */ li r0, 0 -/* 800A5A28 000A2988 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A2C 000A298C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR22CScriptPointOfinterest" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR22CScriptPointOfinterest": -/* 800A5A30 000A2990 38 00 00 00 */ li r0, 0 -/* 800A5A34 000A2994 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A38 000A2998 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptPlayerHint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptPlayerHint": -/* 800A5A3C 000A299C 38 00 00 00 */ li r0, 0 -/* 800A5A40 000A29A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A44 000A29A4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptPlatform" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptPlatform": -/* 800A5A48 000A29A8 38 00 00 00 */ li r0, 0 -/* 800A5A4C 000A29AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A50 000A29B0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CScriptPickup" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CScriptPickup": -/* 800A5A54 000A29B4 38 00 00 00 */ li r0, 0 -/* 800A5A58 000A29B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A5C 000A29BC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptMazeNode" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CScriptMazeNode": -/* 800A5A60 000A29C0 38 00 00 00 */ li r0, 0 -/* 800A5A64 000A29C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A68 000A29C8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CScriptGunTurret" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CScriptGunTurret": -/* 800A5A6C 000A29CC 38 00 00 00 */ li r0, 0 -/* 800A5A70 000A29D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A74 000A29D4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR19CScriptGrapplePoint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR19CScriptGrapplePoint": -/* 800A5A78 000A29D8 38 00 00 00 */ li r0, 0 -/* 800A5A7C 000A29DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A80 000A29E0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CScriptEffect" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CScriptEffect": -/* 800A5A84 000A29E4 38 00 00 00 */ li r0, 0 -/* 800A5A88 000A29E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A8C 000A29EC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CScriptDoor" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CScriptDoor": -/* 800A5A90 000A29F0 38 00 00 00 */ li r0, 0 -/* 800A5A94 000A29F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5A98 000A29F8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CScriptDock" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CScriptDock": -/* 800A5A9C 000A29FC 38 00 00 00 */ li r0, 0 -/* 800A5AA0 000A2A00 90 03 00 04 */ stw r0, 4(r3) -/* 800A5AA4 000A2A04 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CScriptDistanceFog" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CScriptDistanceFog": -/* 800A5AA8 000A2A08 38 00 00 00 */ li r0, 0 -/* 800A5AAC 000A2A0C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5AB0 000A2A10 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR26CScriptDebugCameraWaypoint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR26CScriptDebugCameraWaypoint": -/* 800A5AB4 000A2A14 38 00 00 00 */ li r0, 0 -/* 800A5AB8 000A2A18 90 03 00 04 */ stw r0, 4(r3) -/* 800A5ABC 000A2A1C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptCoverPoint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptCoverPoint": -/* 800A5AC0 000A2A20 38 00 00 00 */ li r0, 0 -/* 800A5AC4 000A2A24 90 03 00 04 */ stw r0, 4(r3) -/* 800A5AC8 000A2A28 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR21CScriptCameraWaypoint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR21CScriptCameraWaypoint": -/* 800A5ACC 000A2A2C 38 00 00 00 */ li r0, 0 -/* 800A5AD0 000A2A30 90 03 00 04 */ stw r0, 4(r3) -/* 800A5AD4 000A2A34 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR24CScriptCameraPitchVolume" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR24CScriptCameraPitchVolume": -/* 800A5AD8 000A2A38 38 00 00 00 */ li r0, 0 -/* 800A5ADC 000A2A3C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5AE0 000A2A40 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptCameraHint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CScriptCameraHint": -/* 800A5AE4 000A2A44 38 00 00 00 */ li r0, 0 -/* 800A5AE8 000A2A48 90 03 00 04 */ stw r0, 4(r3) -/* 800A5AEC 000A2A4C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CScriptAiJumpPoint" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CScriptAiJumpPoint": -/* 800A5AF0 000A2A50 38 00 00 00 */ li r0, 0 -/* 800A5AF4 000A2A54 90 03 00 04 */ stw r0, 4(r3) -/* 800A5AF8 000A2A58 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptActorKeyframe" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR20CScriptActorKeyframe": -/* 800A5AFC 000A2A5C 38 00 00 00 */ li r0, 0 -/* 800A5B00 000A2A60 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B04 000A2A64 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptActor" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR12CScriptActor": -/* 800A5B08 000A2A68 38 00 00 00 */ li r0, 0 -/* 800A5B0C 000A2A6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B10 000A2A70 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR9CRepulsor" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR9CRepulsor": -/* 800A5B14 000A2A74 38 00 00 00 */ li r0, 0 -/* 800A5B18 000A2A78 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B1C 000A2A7C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CPlayer" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CPlayer": -/* 800A5B20 000A2A80 38 00 00 00 */ li r0, 0 -/* 800A5B24 000A2A84 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B28 000A2A88 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CPhysicsActor" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR13CPhysicsActor": -/* 800A5B2C 000A2A8C 38 00 00 00 */ li r0, 0 -/* 800A5B30 000A2A90 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B34 000A2A94 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR3CAi" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR3CAi": -/* 800A5B38 000A2A98 38 00 00 00 */ li r0, 0 -/* 800A5B3C 000A2A9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B40 000A2AA0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CPathCamera" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CPathCamera": -/* 800A5B44 000A2AA4 38 00 00 00 */ li r0, 0 -/* 800A5B48 000A2AA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B4C 000A2AAC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CMetroidPrimeRelay" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CMetroidPrimeRelay": -/* 800A5B50 000A2AB0 38 00 00 00 */ li r0, 0 -/* 800A5B54 000A2AB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B58 000A2AB8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR19CHUDBillboardEffect" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR19CHUDBillboardEffect": -/* 800A5B5C 000A2ABC 38 00 00 00 */ li r0, 0 -/* 800A5B60 000A2AC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B64 000A2AC4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CGameProjectile" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CGameProjectile": -/* 800A5B68 000A2AC8 38 00 00 00 */ li r0, 0 -/* 800A5B6C 000A2ACC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B70 000A2AD0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CGameLight" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CGameLight": -/* 800A5B74 000A2AD4 38 00 00 00 */ li r0, 0 -/* 800A5B78 000A2AD8 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B7C 000A2ADC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CGameCamera" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CGameCamera": -/* 800A5B80 000A2AE0 38 00 00 00 */ li r0, 0 -/* 800A5B84 000A2AE4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B88 000A2AE8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CFishCloud" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CFishCloud": -/* 800A5B8C 000A2AEC 38 00 00 00 */ li r0, 0 -/* 800A5B90 000A2AF0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5B94 000A2AF4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CFirstPersonCamera" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR18CFirstPersonCamera": -/* 800A5B98 000A2AF8 38 00 00 00 */ li r0, 0 -/* 800A5B9C 000A2AFC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5BA0 000A2B00 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CExplosion" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR10CExplosion": -/* 800A5BA4 000A2B04 38 00 00 00 */ li r0, 0 -/* 800A5BA8 000A2B08 90 03 00 04 */ stw r0, 4(r3) -/* 800A5BAC 000A2B0C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CEntity" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR7CEntity": -/* 800A5BB0 000A2B10 38 00 00 00 */ li r0, 0 -/* 800A5BB4 000A2B14 90 03 00 04 */ stw r0, 4(r3) -/* 800A5BB8 000A2B18 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CEnergyProjectile" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR17CEnergyProjectile": -/* 800A5BBC 000A2B1C 38 00 00 00 */ li r0, 0 -/* 800A5BC0 000A2B20 90 03 00 04 */ stw r0, 4(r3) -/* 800A5BC4 000A2B24 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CDestroyableRock" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CDestroyableRock": -/* 800A5BC8 000A2B28 38 00 00 00 */ li r0, 0 -/* 800A5BCC 000A2B2C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5BD0 000A2B30 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CCollisionActor" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR15CCollisionActor": -/* 800A5BD4 000A2B34 38 00 00 00 */ li r0, 0 -/* 800A5BD8 000A2B38 90 03 00 04 */ stw r0, 4(r3) -/* 800A5BDC 000A2B3C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CCinematicCamera" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR16CCinematicCamera": -/* 800A5BE0 000A2B40 38 00 00 00 */ li r0, 0 -/* 800A5BE4 000A2B44 90 03 00 04 */ stw r0, 4(r3) -/* 800A5BE8 000A2B48 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR5CBomb" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR5CBomb": -/* 800A5BEC 000A2B4C 38 00 00 00 */ li r0, 0 -/* 800A5BF0 000A2B50 90 03 00 04 */ stw r0, 4(r3) -/* 800A5BF4 000A2B54 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CBallCamera" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR11CBallCamera": -/* 800A5BF8 000A2B58 38 00 00 00 */ li r0, 0 -/* 800A5BFC 000A2B5C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5C00 000A2B60 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CWallCrawlerSwarm>FR6CActor" -"Visit__31TCastToPtr<17CWallCrawlerSwarm>FR6CActor": -/* 800A5C04 000A2B64 38 00 00 00 */ li r0, 0 -/* 800A5C08 000A2B68 90 03 00 04 */ stw r0, 4(r3) -/* 800A5C0C 000A2B6C 4E 80 00 20 */ blr - -.global "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" -"__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity": -/* 800A5C10 000A2B70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5C14 000A2B74 7C 08 02 A6 */ mflr r0 -/* 800A5C18 000A2B78 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A5C1C 000A2B7C 3C A0 80 3E */ lis r5, lbl_803DEE64@ha -/* 800A5C20 000A2B80 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5C24 000A2B84 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A5C28 000A2B88 28 04 00 00 */ cmplwi r4, 0 -/* 800A5C2C 000A2B8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A5C30 000A2B90 7C 7F 1B 78 */ mr r31, r3 -/* 800A5C34 000A2B94 38 65 EE 64 */ addi r3, r5, lbl_803DEE64@l -/* 800A5C38 000A2B98 90 1F 00 00 */ stw r0, 0(r31) -/* 800A5C3C 000A2B9C 38 00 00 00 */ li r0, 0 -/* 800A5C40 000A2BA0 90 7F 00 00 */ stw r3, 0(r31) -/* 800A5C44 000A2BA4 90 1F 00 04 */ stw r0, 4(r31) -/* 800A5C48 000A2BA8 41 82 00 1C */ beq lbl_800A5C64 -/* 800A5C4C 000A2BAC 7C 83 23 78 */ mr r3, r4 -/* 800A5C50 000A2BB0 7F E4 FB 78 */ mr r4, r31 -/* 800A5C54 000A2BB4 81 83 00 00 */ lwz r12, 0(r3) -/* 800A5C58 000A2BB8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A5C5C 000A2BBC 7D 89 03 A6 */ mtctr r12 -/* 800A5C60 000A2BC0 4E 80 04 21 */ bctrl -lbl_800A5C64: -/* 800A5C64 000A2BC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A5C68 000A2BC8 7F E3 FB 78 */ mr r3, r31 -/* 800A5C6C 000A2BCC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A5C70 000A2BD0 7C 08 03 A6 */ mtlr r0 -/* 800A5C74 000A2BD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5C78 000A2BD8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CWeapon" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CWeapon": -/* 800A5C7C 000A2BDC 38 00 00 00 */ li r0, 0 -/* 800A5C80 000A2BE0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5C84 000A2BE4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CWallCrawlerSwarm" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CWallCrawlerSwarm": -/* 800A5C88 000A2BE8 38 00 00 00 */ li r0, 0 -/* 800A5C8C 000A2BEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5C90 000A2BF0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptSpindleCamera" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptSpindleCamera": -/* 800A5C94 000A2BF4 90 83 00 04 */ stw r4, 4(r3) -/* 800A5C98 000A2BF8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CSnakeWeedSwarm" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CSnakeWeedSwarm": -/* 800A5C9C 000A2BFC 38 00 00 00 */ li r0, 0 -/* 800A5CA0 000A2C00 90 03 00 04 */ stw r0, 4(r3) -/* 800A5CA4 000A2C04 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptWaypoint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptWaypoint": -/* 800A5CA8 000A2C08 38 00 00 00 */ li r0, 0 -/* 800A5CAC 000A2C0C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5CB0 000A2C10 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptWater" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptWater": -/* 800A5CB4 000A2C14 38 00 00 00 */ li r0, 0 -/* 800A5CB8 000A2C18 90 03 00 04 */ stw r0, 4(r3) -/* 800A5CBC 000A2C1C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptVisorFlare" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptVisorFlare": -/* 800A5CC0 000A2C20 38 00 00 00 */ li r0, 0 -/* 800A5CC4 000A2C24 90 03 00 04 */ stw r0, 4(r3) -/* 800A5CC8 000A2C28 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR14CScriptTrigger" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR14CScriptTrigger": -/* 800A5CCC 000A2C2C 38 00 00 00 */ li r0, 0 -/* 800A5CD0 000A2C30 90 03 00 04 */ stw r0, 4(r3) -/* 800A5CD4 000A2C34 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptTimer" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptTimer": -/* 800A5CD8 000A2C38 38 00 00 00 */ li r0, 0 -/* 800A5CDC 000A2C3C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5CE0 000A2C40 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CTeamAiMgr" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CTeamAiMgr": -/* 800A5CE4 000A2C44 38 00 00 00 */ li r0, 0 -/* 800A5CE8 000A2C48 90 03 00 04 */ stw r0, 4(r3) -/* 800A5CEC 000A2C4C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR21CScriptTargetingPoint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR21CScriptTargetingPoint": -/* 800A5CF0 000A2C50 38 00 00 00 */ li r0, 0 -/* 800A5CF4 000A2C54 90 03 00 04 */ stw r0, 4(r3) -/* 800A5CF8 000A2C58 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR25CScriptSpiderBallWaypoint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR25CScriptSpiderBallWaypoint": -/* 800A5CFC 000A2C5C 38 00 00 00 */ li r0, 0 -/* 800A5D00 000A2C60 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D04 000A2C64 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR34CScriptSpiderBallAttractionSurface" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR34CScriptSpiderBallAttractionSurface": -/* 800A5D08 000A2C68 38 00 00 00 */ li r0, 0 -/* 800A5D0C 000A2C6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D10 000A2C70 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR22CScriptSpecialFunction" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR22CScriptSpecialFunction": -/* 800A5D14 000A2C74 38 00 00 00 */ li r0, 0 -/* 800A5D18 000A2C78 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D1C 000A2C7C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptSpawnPoint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptSpawnPoint": -/* 800A5D20 000A2C80 38 00 00 00 */ li r0, 0 -/* 800A5D24 000A2C84 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D28 000A2C88 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptSound" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptSound": -/* 800A5D2C 000A2C8C 38 00 00 00 */ li r0, 0 -/* 800A5D30 000A2C90 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D34 000A2C94 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptRoomAcoustics" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptRoomAcoustics": -/* 800A5D38 000A2C98 38 00 00 00 */ li r0, 0 -/* 800A5D3C 000A2C9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D40 000A2CA0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR22CScriptPointOfinterest" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR22CScriptPointOfinterest": -/* 800A5D44 000A2CA4 38 00 00 00 */ li r0, 0 -/* 800A5D48 000A2CA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D4C 000A2CAC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptPlayerHint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptPlayerHint": -/* 800A5D50 000A2CB0 38 00 00 00 */ li r0, 0 -/* 800A5D54 000A2CB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D58 000A2CB8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptPlatform" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptPlatform": -/* 800A5D5C 000A2CBC 38 00 00 00 */ li r0, 0 -/* 800A5D60 000A2CC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D64 000A2CC4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CScriptPickup" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CScriptPickup": -/* 800A5D68 000A2CC8 38 00 00 00 */ li r0, 0 -/* 800A5D6C 000A2CCC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D70 000A2CD0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptMazeNode" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CScriptMazeNode": -/* 800A5D74 000A2CD4 38 00 00 00 */ li r0, 0 -/* 800A5D78 000A2CD8 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D7C 000A2CDC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CScriptGunTurret" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CScriptGunTurret": -/* 800A5D80 000A2CE0 38 00 00 00 */ li r0, 0 -/* 800A5D84 000A2CE4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D88 000A2CE8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR19CScriptGrapplePoint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR19CScriptGrapplePoint": -/* 800A5D8C 000A2CEC 38 00 00 00 */ li r0, 0 -/* 800A5D90 000A2CF0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5D94 000A2CF4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CScriptEffect" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CScriptEffect": -/* 800A5D98 000A2CF8 38 00 00 00 */ li r0, 0 -/* 800A5D9C 000A2CFC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5DA0 000A2D00 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CScriptDoor" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CScriptDoor": -/* 800A5DA4 000A2D04 38 00 00 00 */ li r0, 0 -/* 800A5DA8 000A2D08 90 03 00 04 */ stw r0, 4(r3) -/* 800A5DAC 000A2D0C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CScriptDock" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CScriptDock": -/* 800A5DB0 000A2D10 38 00 00 00 */ li r0, 0 -/* 800A5DB4 000A2D14 90 03 00 04 */ stw r0, 4(r3) -/* 800A5DB8 000A2D18 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CScriptDistanceFog" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CScriptDistanceFog": -/* 800A5DBC 000A2D1C 38 00 00 00 */ li r0, 0 -/* 800A5DC0 000A2D20 90 03 00 04 */ stw r0, 4(r3) -/* 800A5DC4 000A2D24 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR26CScriptDebugCameraWaypoint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR26CScriptDebugCameraWaypoint": -/* 800A5DC8 000A2D28 38 00 00 00 */ li r0, 0 -/* 800A5DCC 000A2D2C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5DD0 000A2D30 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptCoverPoint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptCoverPoint": -/* 800A5DD4 000A2D34 38 00 00 00 */ li r0, 0 -/* 800A5DD8 000A2D38 90 03 00 04 */ stw r0, 4(r3) -/* 800A5DDC 000A2D3C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR21CScriptCameraWaypoint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR21CScriptCameraWaypoint": -/* 800A5DE0 000A2D40 38 00 00 00 */ li r0, 0 -/* 800A5DE4 000A2D44 90 03 00 04 */ stw r0, 4(r3) -/* 800A5DE8 000A2D48 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR24CScriptCameraPitchVolume" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR24CScriptCameraPitchVolume": -/* 800A5DEC 000A2D4C 38 00 00 00 */ li r0, 0 -/* 800A5DF0 000A2D50 90 03 00 04 */ stw r0, 4(r3) -/* 800A5DF4 000A2D54 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptCameraHint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CScriptCameraHint": -/* 800A5DF8 000A2D58 38 00 00 00 */ li r0, 0 -/* 800A5DFC 000A2D5C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E00 000A2D60 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CScriptAiJumpPoint" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CScriptAiJumpPoint": -/* 800A5E04 000A2D64 38 00 00 00 */ li r0, 0 -/* 800A5E08 000A2D68 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E0C 000A2D6C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptActorKeyframe" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR20CScriptActorKeyframe": -/* 800A5E10 000A2D70 38 00 00 00 */ li r0, 0 -/* 800A5E14 000A2D74 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E18 000A2D78 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptActor" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR12CScriptActor": -/* 800A5E1C 000A2D7C 38 00 00 00 */ li r0, 0 -/* 800A5E20 000A2D80 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E24 000A2D84 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR9CRepulsor" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR9CRepulsor": -/* 800A5E28 000A2D88 38 00 00 00 */ li r0, 0 -/* 800A5E2C 000A2D8C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E30 000A2D90 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CPlayer" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CPlayer": -/* 800A5E34 000A2D94 38 00 00 00 */ li r0, 0 -/* 800A5E38 000A2D98 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E3C 000A2D9C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CPhysicsActor" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR13CPhysicsActor": -/* 800A5E40 000A2DA0 38 00 00 00 */ li r0, 0 -/* 800A5E44 000A2DA4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E48 000A2DA8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR3CAi" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR3CAi": -/* 800A5E4C 000A2DAC 38 00 00 00 */ li r0, 0 -/* 800A5E50 000A2DB0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E54 000A2DB4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CPathCamera" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CPathCamera": -/* 800A5E58 000A2DB8 38 00 00 00 */ li r0, 0 -/* 800A5E5C 000A2DBC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E60 000A2DC0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CMetroidPrimeRelay" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CMetroidPrimeRelay": -/* 800A5E64 000A2DC4 38 00 00 00 */ li r0, 0 -/* 800A5E68 000A2DC8 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E6C 000A2DCC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR19CHUDBillboardEffect" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR19CHUDBillboardEffect": -/* 800A5E70 000A2DD0 38 00 00 00 */ li r0, 0 -/* 800A5E74 000A2DD4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E78 000A2DD8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CGameProjectile" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CGameProjectile": -/* 800A5E7C 000A2DDC 38 00 00 00 */ li r0, 0 -/* 800A5E80 000A2DE0 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E84 000A2DE4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CGameLight" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CGameLight": -/* 800A5E88 000A2DE8 38 00 00 00 */ li r0, 0 -/* 800A5E8C 000A2DEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E90 000A2DF0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CGameCamera" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CGameCamera": -/* 800A5E94 000A2DF4 38 00 00 00 */ li r0, 0 -/* 800A5E98 000A2DF8 90 03 00 04 */ stw r0, 4(r3) -/* 800A5E9C 000A2DFC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CFishCloud" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CFishCloud": -/* 800A5EA0 000A2E00 38 00 00 00 */ li r0, 0 -/* 800A5EA4 000A2E04 90 03 00 04 */ stw r0, 4(r3) -/* 800A5EA8 000A2E08 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CFirstPersonCamera" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR18CFirstPersonCamera": -/* 800A5EAC 000A2E0C 38 00 00 00 */ li r0, 0 -/* 800A5EB0 000A2E10 90 03 00 04 */ stw r0, 4(r3) -/* 800A5EB4 000A2E14 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CExplosion" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR10CExplosion": -/* 800A5EB8 000A2E18 38 00 00 00 */ li r0, 0 -/* 800A5EBC 000A2E1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5EC0 000A2E20 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CEntity" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR7CEntity": -/* 800A5EC4 000A2E24 38 00 00 00 */ li r0, 0 -/* 800A5EC8 000A2E28 90 03 00 04 */ stw r0, 4(r3) -/* 800A5ECC 000A2E2C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CEnergyProjectile" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR17CEnergyProjectile": -/* 800A5ED0 000A2E30 38 00 00 00 */ li r0, 0 -/* 800A5ED4 000A2E34 90 03 00 04 */ stw r0, 4(r3) -/* 800A5ED8 000A2E38 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CDestroyableRock" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CDestroyableRock": -/* 800A5EDC 000A2E3C 38 00 00 00 */ li r0, 0 -/* 800A5EE0 000A2E40 90 03 00 04 */ stw r0, 4(r3) -/* 800A5EE4 000A2E44 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CCollisionActor" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR15CCollisionActor": -/* 800A5EE8 000A2E48 38 00 00 00 */ li r0, 0 -/* 800A5EEC 000A2E4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5EF0 000A2E50 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CCinematicCamera" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR16CCinematicCamera": -/* 800A5EF4 000A2E54 38 00 00 00 */ li r0, 0 -/* 800A5EF8 000A2E58 90 03 00 04 */ stw r0, 4(r3) -/* 800A5EFC 000A2E5C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR5CBomb" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR5CBomb": -/* 800A5F00 000A2E60 38 00 00 00 */ li r0, 0 -/* 800A5F04 000A2E64 90 03 00 04 */ stw r0, 4(r3) -/* 800A5F08 000A2E68 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CBallCamera" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR11CBallCamera": -/* 800A5F0C 000A2E6C 38 00 00 00 */ li r0, 0 -/* 800A5F10 000A2E70 90 03 00 04 */ stw r0, 4(r3) -/* 800A5F14 000A2E74 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptSpindleCamera>FR6CActor" -"Visit__34TCastToPtr<20CScriptSpindleCamera>FR6CActor": -/* 800A5F18 000A2E78 38 00 00 00 */ li r0, 0 -/* 800A5F1C 000A2E7C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5F20 000A2E80 4E 80 00 20 */ blr - -.global "__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity" -"__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity": -/* 800A5F24 000A2E84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A5F28 000A2E88 7C 08 02 A6 */ mflr r0 -/* 800A5F2C 000A2E8C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A5F30 000A2E90 3C A0 80 3E */ lis r5, lbl_803DED78@ha -/* 800A5F34 000A2E94 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A5F38 000A2E98 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A5F3C 000A2E9C 28 04 00 00 */ cmplwi r4, 0 -/* 800A5F40 000A2EA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A5F44 000A2EA4 7C 7F 1B 78 */ mr r31, r3 -/* 800A5F48 000A2EA8 38 65 ED 78 */ addi r3, r5, lbl_803DED78@l -/* 800A5F4C 000A2EAC 90 1F 00 00 */ stw r0, 0(r31) -/* 800A5F50 000A2EB0 38 00 00 00 */ li r0, 0 -/* 800A5F54 000A2EB4 90 7F 00 00 */ stw r3, 0(r31) -/* 800A5F58 000A2EB8 90 1F 00 04 */ stw r0, 4(r31) -/* 800A5F5C 000A2EBC 41 82 00 1C */ beq lbl_800A5F78 -/* 800A5F60 000A2EC0 7C 83 23 78 */ mr r3, r4 -/* 800A5F64 000A2EC4 7F E4 FB 78 */ mr r4, r31 -/* 800A5F68 000A2EC8 81 83 00 00 */ lwz r12, 0(r3) -/* 800A5F6C 000A2ECC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A5F70 000A2ED0 7D 89 03 A6 */ mtctr r12 -/* 800A5F74 000A2ED4 4E 80 04 21 */ bctrl -lbl_800A5F78: -/* 800A5F78 000A2ED8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A5F7C 000A2EDC 7F E3 FB 78 */ mr r3, r31 -/* 800A5F80 000A2EE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A5F84 000A2EE4 7C 08 03 A6 */ mtlr r0 -/* 800A5F88 000A2EE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A5F8C 000A2EEC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CWeapon" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CWeapon": -/* 800A5F90 000A2EF0 38 00 00 00 */ li r0, 0 -/* 800A5F94 000A2EF4 90 03 00 04 */ stw r0, 4(r3) -/* 800A5F98 000A2EF8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CWallCrawlerSwarm" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CWallCrawlerSwarm": -/* 800A5F9C 000A2EFC 38 00 00 00 */ li r0, 0 -/* 800A5FA0 000A2F00 90 03 00 04 */ stw r0, 4(r3) -/* 800A5FA4 000A2F04 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptSpindleCamera" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptSpindleCamera": -/* 800A5FA8 000A2F08 38 00 00 00 */ li r0, 0 -/* 800A5FAC 000A2F0C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5FB0 000A2F10 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CSnakeWeedSwarm" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CSnakeWeedSwarm": -/* 800A5FB4 000A2F14 90 83 00 04 */ stw r4, 4(r3) -/* 800A5FB8 000A2F18 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptWaypoint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptWaypoint": -/* 800A5FBC 000A2F1C 38 00 00 00 */ li r0, 0 -/* 800A5FC0 000A2F20 90 03 00 04 */ stw r0, 4(r3) -/* 800A5FC4 000A2F24 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptWater" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptWater": -/* 800A5FC8 000A2F28 38 00 00 00 */ li r0, 0 -/* 800A5FCC 000A2F2C 90 03 00 04 */ stw r0, 4(r3) -/* 800A5FD0 000A2F30 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptVisorFlare" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptVisorFlare": -/* 800A5FD4 000A2F34 38 00 00 00 */ li r0, 0 -/* 800A5FD8 000A2F38 90 03 00 04 */ stw r0, 4(r3) -/* 800A5FDC 000A2F3C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR14CScriptTrigger" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR14CScriptTrigger": -/* 800A5FE0 000A2F40 38 00 00 00 */ li r0, 0 -/* 800A5FE4 000A2F44 90 03 00 04 */ stw r0, 4(r3) -/* 800A5FE8 000A2F48 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptTimer" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptTimer": -/* 800A5FEC 000A2F4C 38 00 00 00 */ li r0, 0 -/* 800A5FF0 000A2F50 90 03 00 04 */ stw r0, 4(r3) -/* 800A5FF4 000A2F54 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CTeamAiMgr" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CTeamAiMgr": -/* 800A5FF8 000A2F58 38 00 00 00 */ li r0, 0 -/* 800A5FFC 000A2F5C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6000 000A2F60 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR21CScriptTargetingPoint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR21CScriptTargetingPoint": -/* 800A6004 000A2F64 38 00 00 00 */ li r0, 0 -/* 800A6008 000A2F68 90 03 00 04 */ stw r0, 4(r3) -/* 800A600C 000A2F6C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR25CScriptSpiderBallWaypoint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR25CScriptSpiderBallWaypoint": -/* 800A6010 000A2F70 38 00 00 00 */ li r0, 0 -/* 800A6014 000A2F74 90 03 00 04 */ stw r0, 4(r3) -/* 800A6018 000A2F78 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR34CScriptSpiderBallAttractionSurface" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR34CScriptSpiderBallAttractionSurface": -/* 800A601C 000A2F7C 38 00 00 00 */ li r0, 0 -/* 800A6020 000A2F80 90 03 00 04 */ stw r0, 4(r3) -/* 800A6024 000A2F84 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR22CScriptSpecialFunction" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR22CScriptSpecialFunction": -/* 800A6028 000A2F88 38 00 00 00 */ li r0, 0 -/* 800A602C 000A2F8C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6030 000A2F90 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptSpawnPoint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptSpawnPoint": -/* 800A6034 000A2F94 38 00 00 00 */ li r0, 0 -/* 800A6038 000A2F98 90 03 00 04 */ stw r0, 4(r3) -/* 800A603C 000A2F9C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptSound" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptSound": -/* 800A6040 000A2FA0 38 00 00 00 */ li r0, 0 -/* 800A6044 000A2FA4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6048 000A2FA8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptRoomAcoustics" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptRoomAcoustics": -/* 800A604C 000A2FAC 38 00 00 00 */ li r0, 0 -/* 800A6050 000A2FB0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6054 000A2FB4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR22CScriptPointOfinterest" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR22CScriptPointOfinterest": -/* 800A6058 000A2FB8 38 00 00 00 */ li r0, 0 -/* 800A605C 000A2FBC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6060 000A2FC0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptPlayerHint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptPlayerHint": -/* 800A6064 000A2FC4 38 00 00 00 */ li r0, 0 -/* 800A6068 000A2FC8 90 03 00 04 */ stw r0, 4(r3) -/* 800A606C 000A2FCC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptPlatform" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptPlatform": -/* 800A6070 000A2FD0 38 00 00 00 */ li r0, 0 -/* 800A6074 000A2FD4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6078 000A2FD8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CScriptPickup" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CScriptPickup": -/* 800A607C 000A2FDC 38 00 00 00 */ li r0, 0 -/* 800A6080 000A2FE0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6084 000A2FE4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptMazeNode" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CScriptMazeNode": -/* 800A6088 000A2FE8 38 00 00 00 */ li r0, 0 -/* 800A608C 000A2FEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6090 000A2FF0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CScriptGunTurret" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CScriptGunTurret": -/* 800A6094 000A2FF4 38 00 00 00 */ li r0, 0 -/* 800A6098 000A2FF8 90 03 00 04 */ stw r0, 4(r3) -/* 800A609C 000A2FFC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR19CScriptGrapplePoint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR19CScriptGrapplePoint": -/* 800A60A0 000A3000 38 00 00 00 */ li r0, 0 -/* 800A60A4 000A3004 90 03 00 04 */ stw r0, 4(r3) -/* 800A60A8 000A3008 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CScriptEffect" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CScriptEffect": -/* 800A60AC 000A300C 38 00 00 00 */ li r0, 0 -/* 800A60B0 000A3010 90 03 00 04 */ stw r0, 4(r3) -/* 800A60B4 000A3014 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CScriptDoor" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CScriptDoor": -/* 800A60B8 000A3018 38 00 00 00 */ li r0, 0 -/* 800A60BC 000A301C 90 03 00 04 */ stw r0, 4(r3) -/* 800A60C0 000A3020 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CScriptDock" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CScriptDock": -/* 800A60C4 000A3024 38 00 00 00 */ li r0, 0 -/* 800A60C8 000A3028 90 03 00 04 */ stw r0, 4(r3) -/* 800A60CC 000A302C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CScriptDistanceFog" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CScriptDistanceFog": -/* 800A60D0 000A3030 38 00 00 00 */ li r0, 0 -/* 800A60D4 000A3034 90 03 00 04 */ stw r0, 4(r3) -/* 800A60D8 000A3038 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR26CScriptDebugCameraWaypoint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR26CScriptDebugCameraWaypoint": -/* 800A60DC 000A303C 38 00 00 00 */ li r0, 0 -/* 800A60E0 000A3040 90 03 00 04 */ stw r0, 4(r3) -/* 800A60E4 000A3044 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptCoverPoint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptCoverPoint": -/* 800A60E8 000A3048 38 00 00 00 */ li r0, 0 -/* 800A60EC 000A304C 90 03 00 04 */ stw r0, 4(r3) -/* 800A60F0 000A3050 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR21CScriptCameraWaypoint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR21CScriptCameraWaypoint": -/* 800A60F4 000A3054 38 00 00 00 */ li r0, 0 -/* 800A60F8 000A3058 90 03 00 04 */ stw r0, 4(r3) -/* 800A60FC 000A305C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR24CScriptCameraPitchVolume" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR24CScriptCameraPitchVolume": -/* 800A6100 000A3060 38 00 00 00 */ li r0, 0 -/* 800A6104 000A3064 90 03 00 04 */ stw r0, 4(r3) -/* 800A6108 000A3068 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptCameraHint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CScriptCameraHint": -/* 800A610C 000A306C 38 00 00 00 */ li r0, 0 -/* 800A6110 000A3070 90 03 00 04 */ stw r0, 4(r3) -/* 800A6114 000A3074 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CScriptAiJumpPoint" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CScriptAiJumpPoint": -/* 800A6118 000A3078 38 00 00 00 */ li r0, 0 -/* 800A611C 000A307C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6120 000A3080 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptActorKeyframe" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR20CScriptActorKeyframe": -/* 800A6124 000A3084 38 00 00 00 */ li r0, 0 -/* 800A6128 000A3088 90 03 00 04 */ stw r0, 4(r3) -/* 800A612C 000A308C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptActor" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR12CScriptActor": -/* 800A6130 000A3090 38 00 00 00 */ li r0, 0 -/* 800A6134 000A3094 90 03 00 04 */ stw r0, 4(r3) -/* 800A6138 000A3098 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR9CRepulsor" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR9CRepulsor": -/* 800A613C 000A309C 38 00 00 00 */ li r0, 0 -/* 800A6140 000A30A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6144 000A30A4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CPlayer" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CPlayer": -/* 800A6148 000A30A8 38 00 00 00 */ li r0, 0 -/* 800A614C 000A30AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6150 000A30B0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CPhysicsActor" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR13CPhysicsActor": -/* 800A6154 000A30B4 38 00 00 00 */ li r0, 0 -/* 800A6158 000A30B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A615C 000A30BC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR3CAi" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR3CAi": -/* 800A6160 000A30C0 38 00 00 00 */ li r0, 0 -/* 800A6164 000A30C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6168 000A30C8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CPathCamera" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CPathCamera": -/* 800A616C 000A30CC 38 00 00 00 */ li r0, 0 -/* 800A6170 000A30D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6174 000A30D4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CMetroidPrimeRelay" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CMetroidPrimeRelay": -/* 800A6178 000A30D8 38 00 00 00 */ li r0, 0 -/* 800A617C 000A30DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6180 000A30E0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR19CHUDBillboardEffect" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR19CHUDBillboardEffect": -/* 800A6184 000A30E4 38 00 00 00 */ li r0, 0 -/* 800A6188 000A30E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A618C 000A30EC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CGameProjectile" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CGameProjectile": -/* 800A6190 000A30F0 38 00 00 00 */ li r0, 0 -/* 800A6194 000A30F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6198 000A30F8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CGameLight" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CGameLight": -/* 800A619C 000A30FC 38 00 00 00 */ li r0, 0 -/* 800A61A0 000A3100 90 03 00 04 */ stw r0, 4(r3) -/* 800A61A4 000A3104 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CGameCamera" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CGameCamera": -/* 800A61A8 000A3108 38 00 00 00 */ li r0, 0 -/* 800A61AC 000A310C 90 03 00 04 */ stw r0, 4(r3) -/* 800A61B0 000A3110 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CFishCloud" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CFishCloud": -/* 800A61B4 000A3114 38 00 00 00 */ li r0, 0 -/* 800A61B8 000A3118 90 03 00 04 */ stw r0, 4(r3) -/* 800A61BC 000A311C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CFirstPersonCamera" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR18CFirstPersonCamera": -/* 800A61C0 000A3120 38 00 00 00 */ li r0, 0 -/* 800A61C4 000A3124 90 03 00 04 */ stw r0, 4(r3) -/* 800A61C8 000A3128 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CExplosion" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR10CExplosion": -/* 800A61CC 000A312C 38 00 00 00 */ li r0, 0 -/* 800A61D0 000A3130 90 03 00 04 */ stw r0, 4(r3) -/* 800A61D4 000A3134 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CEntity" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR7CEntity": -/* 800A61D8 000A3138 38 00 00 00 */ li r0, 0 -/* 800A61DC 000A313C 90 03 00 04 */ stw r0, 4(r3) -/* 800A61E0 000A3140 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CEnergyProjectile" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR17CEnergyProjectile": -/* 800A61E4 000A3144 38 00 00 00 */ li r0, 0 -/* 800A61E8 000A3148 90 03 00 04 */ stw r0, 4(r3) -/* 800A61EC 000A314C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CDestroyableRock" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CDestroyableRock": -/* 800A61F0 000A3150 38 00 00 00 */ li r0, 0 -/* 800A61F4 000A3154 90 03 00 04 */ stw r0, 4(r3) -/* 800A61F8 000A3158 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CCollisionActor" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR15CCollisionActor": -/* 800A61FC 000A315C 38 00 00 00 */ li r0, 0 -/* 800A6200 000A3160 90 03 00 04 */ stw r0, 4(r3) -/* 800A6204 000A3164 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CCinematicCamera" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR16CCinematicCamera": -/* 800A6208 000A3168 38 00 00 00 */ li r0, 0 -/* 800A620C 000A316C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6210 000A3170 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR5CBomb" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR5CBomb": -/* 800A6214 000A3174 38 00 00 00 */ li r0, 0 -/* 800A6218 000A3178 90 03 00 04 */ stw r0, 4(r3) -/* 800A621C 000A317C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CBallCamera" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR11CBallCamera": -/* 800A6220 000A3180 38 00 00 00 */ li r0, 0 -/* 800A6224 000A3184 90 03 00 04 */ stw r0, 4(r3) -/* 800A6228 000A3188 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CSnakeWeedSwarm>FR6CActor" -"Visit__29TCastToPtr<15CSnakeWeedSwarm>FR6CActor": -/* 800A622C 000A318C 38 00 00 00 */ li r0, 0 -/* 800A6230 000A3190 90 03 00 04 */ stw r0, 4(r3) -/* 800A6234 000A3194 4E 80 00 20 */ blr - -.global "__ct__29TCastToPtr<15CSnakeWeedSwarm>FP7CEntity" -"__ct__29TCastToPtr<15CSnakeWeedSwarm>FP7CEntity": -/* 800A6238 000A3198 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A623C 000A319C 7C 08 02 A6 */ mflr r0 -/* 800A6240 000A31A0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A6244 000A31A4 3C A0 80 3E */ lis r5, lbl_803DEC8C@ha -/* 800A6248 000A31A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A624C 000A31AC 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A6250 000A31B0 28 04 00 00 */ cmplwi r4, 0 -/* 800A6254 000A31B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A6258 000A31B8 7C 7F 1B 78 */ mr r31, r3 -/* 800A625C 000A31BC 38 65 EC 8C */ addi r3, r5, lbl_803DEC8C@l -/* 800A6260 000A31C0 90 1F 00 00 */ stw r0, 0(r31) -/* 800A6264 000A31C4 38 00 00 00 */ li r0, 0 -/* 800A6268 000A31C8 90 7F 00 00 */ stw r3, 0(r31) -/* 800A626C 000A31CC 90 1F 00 04 */ stw r0, 4(r31) -/* 800A6270 000A31D0 41 82 00 1C */ beq lbl_800A628C -/* 800A6274 000A31D4 7C 83 23 78 */ mr r3, r4 -/* 800A6278 000A31D8 7F E4 FB 78 */ mr r4, r31 -/* 800A627C 000A31DC 81 83 00 00 */ lwz r12, 0(r3) -/* 800A6280 000A31E0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A6284 000A31E4 7D 89 03 A6 */ mtctr r12 -/* 800A6288 000A31E8 4E 80 04 21 */ bctrl -lbl_800A628C: -/* 800A628C 000A31EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A6290 000A31F0 7F E3 FB 78 */ mr r3, r31 -/* 800A6294 000A31F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A6298 000A31F8 7C 08 03 A6 */ mtlr r0 -/* 800A629C 000A31FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A62A0 000A3200 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR7CWeapon" -"Visit__29TCastToPtr<15CScriptWaypoint>FR7CWeapon": -/* 800A62A4 000A3204 38 00 00 00 */ li r0, 0 -/* 800A62A8 000A3208 90 03 00 04 */ stw r0, 4(r3) -/* 800A62AC 000A320C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CWallCrawlerSwarm" -"Visit__29TCastToPtr<15CScriptWaypoint>FR17CWallCrawlerSwarm": -/* 800A62B0 000A3210 38 00 00 00 */ li r0, 0 -/* 800A62B4 000A3214 90 03 00 04 */ stw r0, 4(r3) -/* 800A62B8 000A3218 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptSpindleCamera" -"Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptSpindleCamera": -/* 800A62BC 000A321C 38 00 00 00 */ li r0, 0 -/* 800A62C0 000A3220 90 03 00 04 */ stw r0, 4(r3) -/* 800A62C4 000A3224 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CSnakeWeedSwarm" -"Visit__29TCastToPtr<15CScriptWaypoint>FR15CSnakeWeedSwarm": -/* 800A62C8 000A3228 38 00 00 00 */ li r0, 0 -/* 800A62CC 000A322C 90 03 00 04 */ stw r0, 4(r3) -/* 800A62D0 000A3230 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptWaypoint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptWaypoint": -/* 800A62D4 000A3234 90 83 00 04 */ stw r4, 4(r3) -/* 800A62D8 000A3238 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptWater" -"Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptWater": -/* 800A62DC 000A323C 38 00 00 00 */ li r0, 0 -/* 800A62E0 000A3240 90 03 00 04 */ stw r0, 4(r3) -/* 800A62E4 000A3244 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptVisorFlare" -"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptVisorFlare": -/* 800A62E8 000A3248 38 00 00 00 */ li r0, 0 -/* 800A62EC 000A324C 90 03 00 04 */ stw r0, 4(r3) -/* 800A62F0 000A3250 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR14CScriptTrigger" -"Visit__29TCastToPtr<15CScriptWaypoint>FR14CScriptTrigger": -/* 800A62F4 000A3254 38 00 00 00 */ li r0, 0 -/* 800A62F8 000A3258 90 03 00 04 */ stw r0, 4(r3) -/* 800A62FC 000A325C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptTimer" -"Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptTimer": -/* 800A6300 000A3260 38 00 00 00 */ li r0, 0 -/* 800A6304 000A3264 90 03 00 04 */ stw r0, 4(r3) -/* 800A6308 000A3268 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR10CTeamAiMgr" -"Visit__29TCastToPtr<15CScriptWaypoint>FR10CTeamAiMgr": -/* 800A630C 000A326C 38 00 00 00 */ li r0, 0 -/* 800A6310 000A3270 90 03 00 04 */ stw r0, 4(r3) -/* 800A6314 000A3274 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR21CScriptTargetingPoint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR21CScriptTargetingPoint": -/* 800A6318 000A3278 38 00 00 00 */ li r0, 0 -/* 800A631C 000A327C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6320 000A3280 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR25CScriptSpiderBallWaypoint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR25CScriptSpiderBallWaypoint": -/* 800A6324 000A3284 38 00 00 00 */ li r0, 0 -/* 800A6328 000A3288 90 03 00 04 */ stw r0, 4(r3) -/* 800A632C 000A328C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR34CScriptSpiderBallAttractionSurface" -"Visit__29TCastToPtr<15CScriptWaypoint>FR34CScriptSpiderBallAttractionSurface": -/* 800A6330 000A3290 38 00 00 00 */ li r0, 0 -/* 800A6334 000A3294 90 03 00 04 */ stw r0, 4(r3) -/* 800A6338 000A3298 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR22CScriptSpecialFunction" -"Visit__29TCastToPtr<15CScriptWaypoint>FR22CScriptSpecialFunction": -/* 800A633C 000A329C 38 00 00 00 */ li r0, 0 -/* 800A6340 000A32A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6344 000A32A4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptSpawnPoint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptSpawnPoint": -/* 800A6348 000A32A8 38 00 00 00 */ li r0, 0 -/* 800A634C 000A32AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6350 000A32B0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptSound" -"Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptSound": -/* 800A6354 000A32B4 38 00 00 00 */ li r0, 0 -/* 800A6358 000A32B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A635C 000A32BC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptRoomAcoustics" -"Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptRoomAcoustics": -/* 800A6360 000A32C0 38 00 00 00 */ li r0, 0 -/* 800A6364 000A32C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6368 000A32C8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR22CScriptPointOfinterest" -"Visit__29TCastToPtr<15CScriptWaypoint>FR22CScriptPointOfinterest": -/* 800A636C 000A32CC 38 00 00 00 */ li r0, 0 -/* 800A6370 000A32D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6374 000A32D4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptPlayerHint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptPlayerHint": -/* 800A6378 000A32D8 38 00 00 00 */ li r0, 0 -/* 800A637C 000A32DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6380 000A32E0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptPlatform" -"Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptPlatform": -/* 800A6384 000A32E4 38 00 00 00 */ li r0, 0 -/* 800A6388 000A32E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A638C 000A32EC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR13CScriptPickup" -"Visit__29TCastToPtr<15CScriptWaypoint>FR13CScriptPickup": -/* 800A6390 000A32F0 38 00 00 00 */ li r0, 0 -/* 800A6394 000A32F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6398 000A32F8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptMazeNode" -"Visit__29TCastToPtr<15CScriptWaypoint>FR15CScriptMazeNode": -/* 800A639C 000A32FC 38 00 00 00 */ li r0, 0 -/* 800A63A0 000A3300 90 03 00 04 */ stw r0, 4(r3) -/* 800A63A4 000A3304 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR16CScriptGunTurret" -"Visit__29TCastToPtr<15CScriptWaypoint>FR16CScriptGunTurret": -/* 800A63A8 000A3308 38 00 00 00 */ li r0, 0 -/* 800A63AC 000A330C 90 03 00 04 */ stw r0, 4(r3) -/* 800A63B0 000A3310 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR19CScriptGrapplePoint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR19CScriptGrapplePoint": -/* 800A63B4 000A3314 38 00 00 00 */ li r0, 0 -/* 800A63B8 000A3318 90 03 00 04 */ stw r0, 4(r3) -/* 800A63BC 000A331C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR13CScriptEffect" -"Visit__29TCastToPtr<15CScriptWaypoint>FR13CScriptEffect": -/* 800A63C0 000A3320 38 00 00 00 */ li r0, 0 -/* 800A63C4 000A3324 90 03 00 04 */ stw r0, 4(r3) -/* 800A63C8 000A3328 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CScriptDoor" -"Visit__29TCastToPtr<15CScriptWaypoint>FR11CScriptDoor": -/* 800A63CC 000A332C 38 00 00 00 */ li r0, 0 -/* 800A63D0 000A3330 90 03 00 04 */ stw r0, 4(r3) -/* 800A63D4 000A3334 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CScriptDock" -"Visit__29TCastToPtr<15CScriptWaypoint>FR11CScriptDock": -/* 800A63D8 000A3338 38 00 00 00 */ li r0, 0 -/* 800A63DC 000A333C 90 03 00 04 */ stw r0, 4(r3) -/* 800A63E0 000A3340 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR18CScriptDistanceFog" -"Visit__29TCastToPtr<15CScriptWaypoint>FR18CScriptDistanceFog": -/* 800A63E4 000A3344 38 00 00 00 */ li r0, 0 -/* 800A63E8 000A3348 90 03 00 04 */ stw r0, 4(r3) -/* 800A63EC 000A334C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR26CScriptDebugCameraWaypoint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR26CScriptDebugCameraWaypoint": -/* 800A63F0 000A3350 38 00 00 00 */ li r0, 0 -/* 800A63F4 000A3354 90 03 00 04 */ stw r0, 4(r3) -/* 800A63F8 000A3358 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptCoverPoint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptCoverPoint": -/* 800A63FC 000A335C 38 00 00 00 */ li r0, 0 -/* 800A6400 000A3360 90 03 00 04 */ stw r0, 4(r3) -/* 800A6404 000A3364 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR21CScriptCameraWaypoint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR21CScriptCameraWaypoint": -/* 800A6408 000A3368 38 00 00 00 */ li r0, 0 -/* 800A640C 000A336C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6410 000A3370 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR24CScriptCameraPitchVolume" -"Visit__29TCastToPtr<15CScriptWaypoint>FR24CScriptCameraPitchVolume": -/* 800A6414 000A3374 38 00 00 00 */ li r0, 0 -/* 800A6418 000A3378 90 03 00 04 */ stw r0, 4(r3) -/* 800A641C 000A337C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptCameraHint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR17CScriptCameraHint": -/* 800A6420 000A3380 38 00 00 00 */ li r0, 0 -/* 800A6424 000A3384 90 03 00 04 */ stw r0, 4(r3) -/* 800A6428 000A3388 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR18CScriptAiJumpPoint" -"Visit__29TCastToPtr<15CScriptWaypoint>FR18CScriptAiJumpPoint": -/* 800A642C 000A338C 38 00 00 00 */ li r0, 0 -/* 800A6430 000A3390 90 03 00 04 */ stw r0, 4(r3) -/* 800A6434 000A3394 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptActorKeyframe" -"Visit__29TCastToPtr<15CScriptWaypoint>FR20CScriptActorKeyframe": -/* 800A6438 000A3398 38 00 00 00 */ li r0, 0 -/* 800A643C 000A339C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6440 000A33A0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptActor" -"Visit__29TCastToPtr<15CScriptWaypoint>FR12CScriptActor": -/* 800A6444 000A33A4 38 00 00 00 */ li r0, 0 -/* 800A6448 000A33A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A644C 000A33AC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR9CRepulsor" -"Visit__29TCastToPtr<15CScriptWaypoint>FR9CRepulsor": -/* 800A6450 000A33B0 38 00 00 00 */ li r0, 0 -/* 800A6454 000A33B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6458 000A33B8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR7CPlayer" -"Visit__29TCastToPtr<15CScriptWaypoint>FR7CPlayer": -/* 800A645C 000A33BC 38 00 00 00 */ li r0, 0 -/* 800A6460 000A33C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6464 000A33C4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR13CPhysicsActor" -"Visit__29TCastToPtr<15CScriptWaypoint>FR13CPhysicsActor": -/* 800A6468 000A33C8 38 00 00 00 */ li r0, 0 -/* 800A646C 000A33CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6470 000A33D0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR3CAi" -"Visit__29TCastToPtr<15CScriptWaypoint>FR3CAi": -/* 800A6474 000A33D4 38 00 00 00 */ li r0, 0 -/* 800A6478 000A33D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A647C 000A33DC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CPathCamera" -"Visit__29TCastToPtr<15CScriptWaypoint>FR11CPathCamera": -/* 800A6480 000A33E0 38 00 00 00 */ li r0, 0 -/* 800A6484 000A33E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6488 000A33E8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR18CMetroidPrimeRelay" -"Visit__29TCastToPtr<15CScriptWaypoint>FR18CMetroidPrimeRelay": -/* 800A648C 000A33EC 38 00 00 00 */ li r0, 0 -/* 800A6490 000A33F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6494 000A33F4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR19CHUDBillboardEffect" -"Visit__29TCastToPtr<15CScriptWaypoint>FR19CHUDBillboardEffect": -/* 800A6498 000A33F8 38 00 00 00 */ li r0, 0 -/* 800A649C 000A33FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A64A0 000A3400 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CGameProjectile" -"Visit__29TCastToPtr<15CScriptWaypoint>FR15CGameProjectile": -/* 800A64A4 000A3404 38 00 00 00 */ li r0, 0 -/* 800A64A8 000A3408 90 03 00 04 */ stw r0, 4(r3) -/* 800A64AC 000A340C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR10CGameLight" -"Visit__29TCastToPtr<15CScriptWaypoint>FR10CGameLight": -/* 800A64B0 000A3410 38 00 00 00 */ li r0, 0 -/* 800A64B4 000A3414 90 03 00 04 */ stw r0, 4(r3) -/* 800A64B8 000A3418 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CGameCamera" -"Visit__29TCastToPtr<15CScriptWaypoint>FR11CGameCamera": -/* 800A64BC 000A341C 38 00 00 00 */ li r0, 0 -/* 800A64C0 000A3420 90 03 00 04 */ stw r0, 4(r3) -/* 800A64C4 000A3424 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR10CFishCloud" -"Visit__29TCastToPtr<15CScriptWaypoint>FR10CFishCloud": -/* 800A64C8 000A3428 38 00 00 00 */ li r0, 0 -/* 800A64CC 000A342C 90 03 00 04 */ stw r0, 4(r3) -/* 800A64D0 000A3430 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR18CFirstPersonCamera" -"Visit__29TCastToPtr<15CScriptWaypoint>FR18CFirstPersonCamera": -/* 800A64D4 000A3434 38 00 00 00 */ li r0, 0 -/* 800A64D8 000A3438 90 03 00 04 */ stw r0, 4(r3) -/* 800A64DC 000A343C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR10CExplosion" -"Visit__29TCastToPtr<15CScriptWaypoint>FR10CExplosion": -/* 800A64E0 000A3440 38 00 00 00 */ li r0, 0 -/* 800A64E4 000A3444 90 03 00 04 */ stw r0, 4(r3) -/* 800A64E8 000A3448 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR7CEntity" -"Visit__29TCastToPtr<15CScriptWaypoint>FR7CEntity": -/* 800A64EC 000A344C 38 00 00 00 */ li r0, 0 -/* 800A64F0 000A3450 90 03 00 04 */ stw r0, 4(r3) -/* 800A64F4 000A3454 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR17CEnergyProjectile" -"Visit__29TCastToPtr<15CScriptWaypoint>FR17CEnergyProjectile": -/* 800A64F8 000A3458 38 00 00 00 */ li r0, 0 -/* 800A64FC 000A345C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6500 000A3460 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR16CDestroyableRock" -"Visit__29TCastToPtr<15CScriptWaypoint>FR16CDestroyableRock": -/* 800A6504 000A3464 38 00 00 00 */ li r0, 0 -/* 800A6508 000A3468 90 03 00 04 */ stw r0, 4(r3) -/* 800A650C 000A346C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR15CCollisionActor" -"Visit__29TCastToPtr<15CScriptWaypoint>FR15CCollisionActor": -/* 800A6510 000A3470 38 00 00 00 */ li r0, 0 -/* 800A6514 000A3474 90 03 00 04 */ stw r0, 4(r3) -/* 800A6518 000A3478 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR16CCinematicCamera" -"Visit__29TCastToPtr<15CScriptWaypoint>FR16CCinematicCamera": -/* 800A651C 000A347C 38 00 00 00 */ li r0, 0 -/* 800A6520 000A3480 90 03 00 04 */ stw r0, 4(r3) -/* 800A6524 000A3484 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR5CBomb" -"Visit__29TCastToPtr<15CScriptWaypoint>FR5CBomb": -/* 800A6528 000A3488 38 00 00 00 */ li r0, 0 -/* 800A652C 000A348C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6530 000A3490 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR11CBallCamera" -"Visit__29TCastToPtr<15CScriptWaypoint>FR11CBallCamera": -/* 800A6534 000A3494 38 00 00 00 */ li r0, 0 -/* 800A6538 000A3498 90 03 00 04 */ stw r0, 4(r3) -/* 800A653C 000A349C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptWaypoint>FR6CActor" -"Visit__29TCastToPtr<15CScriptWaypoint>FR6CActor": -/* 800A6540 000A34A0 38 00 00 00 */ li r0, 0 -/* 800A6544 000A34A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6548 000A34A8 4E 80 00 20 */ blr - -.global "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -"__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity": -/* 800A654C 000A34AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A6550 000A34B0 7C 08 02 A6 */ mflr r0 -/* 800A6554 000A34B4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A6558 000A34B8 3C A0 80 3E */ lis r5, lbl_803DEBA0@ha -/* 800A655C 000A34BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A6560 000A34C0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A6564 000A34C4 28 04 00 00 */ cmplwi r4, 0 -/* 800A6568 000A34C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A656C 000A34CC 7C 7F 1B 78 */ mr r31, r3 -/* 800A6570 000A34D0 38 65 EB A0 */ addi r3, r5, lbl_803DEBA0@l -/* 800A6574 000A34D4 90 1F 00 00 */ stw r0, 0(r31) -/* 800A6578 000A34D8 38 00 00 00 */ li r0, 0 -/* 800A657C 000A34DC 90 7F 00 00 */ stw r3, 0(r31) -/* 800A6580 000A34E0 90 1F 00 04 */ stw r0, 4(r31) -/* 800A6584 000A34E4 41 82 00 1C */ beq lbl_800A65A0 -/* 800A6588 000A34E8 7C 83 23 78 */ mr r3, r4 -/* 800A658C 000A34EC 7F E4 FB 78 */ mr r4, r31 -/* 800A6590 000A34F0 81 83 00 00 */ lwz r12, 0(r3) -/* 800A6594 000A34F4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A6598 000A34F8 7D 89 03 A6 */ mtctr r12 -/* 800A659C 000A34FC 4E 80 04 21 */ bctrl -lbl_800A65A0: -/* 800A65A0 000A3500 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A65A4 000A3504 7F E3 FB 78 */ mr r3, r31 -/* 800A65A8 000A3508 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A65AC 000A350C 7C 08 03 A6 */ mtlr r0 -/* 800A65B0 000A3510 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A65B4 000A3514 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR7CWeapon" -"Visit__26TCastToPtr<12CScriptWater>FR7CWeapon": -/* 800A65B8 000A3518 38 00 00 00 */ li r0, 0 -/* 800A65BC 000A351C 90 03 00 04 */ stw r0, 4(r3) -/* 800A65C0 000A3520 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR17CWallCrawlerSwarm" -"Visit__26TCastToPtr<12CScriptWater>FR17CWallCrawlerSwarm": -/* 800A65C4 000A3524 38 00 00 00 */ li r0, 0 -/* 800A65C8 000A3528 90 03 00 04 */ stw r0, 4(r3) -/* 800A65CC 000A352C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR20CScriptSpindleCamera" -"Visit__26TCastToPtr<12CScriptWater>FR20CScriptSpindleCamera": -/* 800A65D0 000A3530 38 00 00 00 */ li r0, 0 -/* 800A65D4 000A3534 90 03 00 04 */ stw r0, 4(r3) -/* 800A65D8 000A3538 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR15CSnakeWeedSwarm" -"Visit__26TCastToPtr<12CScriptWater>FR15CSnakeWeedSwarm": -/* 800A65DC 000A353C 38 00 00 00 */ li r0, 0 -/* 800A65E0 000A3540 90 03 00 04 */ stw r0, 4(r3) -/* 800A65E4 000A3544 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR15CScriptWaypoint" -"Visit__26TCastToPtr<12CScriptWater>FR15CScriptWaypoint": -/* 800A65E8 000A3548 38 00 00 00 */ li r0, 0 -/* 800A65EC 000A354C 90 03 00 04 */ stw r0, 4(r3) -/* 800A65F0 000A3550 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR12CScriptWater" -"Visit__26TCastToPtr<12CScriptWater>FR12CScriptWater": -/* 800A65F4 000A3554 90 83 00 04 */ stw r4, 4(r3) -/* 800A65F8 000A3558 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptVisorFlare" -"Visit__26TCastToPtr<12CScriptWater>FR17CScriptVisorFlare": -/* 800A65FC 000A355C 38 00 00 00 */ li r0, 0 -/* 800A6600 000A3560 90 03 00 04 */ stw r0, 4(r3) -/* 800A6604 000A3564 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR14CScriptTrigger" -"Visit__26TCastToPtr<12CScriptWater>FR14CScriptTrigger": -/* 800A6608 000A3568 38 00 00 00 */ li r0, 0 -/* 800A660C 000A356C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6610 000A3570 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR12CScriptTimer" -"Visit__26TCastToPtr<12CScriptWater>FR12CScriptTimer": -/* 800A6614 000A3574 38 00 00 00 */ li r0, 0 -/* 800A6618 000A3578 90 03 00 04 */ stw r0, 4(r3) -/* 800A661C 000A357C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR10CTeamAiMgr" -"Visit__26TCastToPtr<12CScriptWater>FR10CTeamAiMgr": -/* 800A6620 000A3580 38 00 00 00 */ li r0, 0 -/* 800A6624 000A3584 90 03 00 04 */ stw r0, 4(r3) -/* 800A6628 000A3588 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR21CScriptTargetingPoint" -"Visit__26TCastToPtr<12CScriptWater>FR21CScriptTargetingPoint": -/* 800A662C 000A358C 38 00 00 00 */ li r0, 0 -/* 800A6630 000A3590 90 03 00 04 */ stw r0, 4(r3) -/* 800A6634 000A3594 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR25CScriptSpiderBallWaypoint" -"Visit__26TCastToPtr<12CScriptWater>FR25CScriptSpiderBallWaypoint": -/* 800A6638 000A3598 38 00 00 00 */ li r0, 0 -/* 800A663C 000A359C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6640 000A35A0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR34CScriptSpiderBallAttractionSurface" -"Visit__26TCastToPtr<12CScriptWater>FR34CScriptSpiderBallAttractionSurface": -/* 800A6644 000A35A4 38 00 00 00 */ li r0, 0 -/* 800A6648 000A35A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A664C 000A35AC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR22CScriptSpecialFunction" -"Visit__26TCastToPtr<12CScriptWater>FR22CScriptSpecialFunction": -/* 800A6650 000A35B0 38 00 00 00 */ li r0, 0 -/* 800A6654 000A35B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6658 000A35B8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptSpawnPoint" -"Visit__26TCastToPtr<12CScriptWater>FR17CScriptSpawnPoint": -/* 800A665C 000A35BC 38 00 00 00 */ li r0, 0 -/* 800A6660 000A35C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6664 000A35C4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR12CScriptSound" -"Visit__26TCastToPtr<12CScriptWater>FR12CScriptSound": -/* 800A6668 000A35C8 38 00 00 00 */ li r0, 0 -/* 800A666C 000A35CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6670 000A35D0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR20CScriptRoomAcoustics" -"Visit__26TCastToPtr<12CScriptWater>FR20CScriptRoomAcoustics": -/* 800A6674 000A35D4 38 00 00 00 */ li r0, 0 -/* 800A6678 000A35D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A667C 000A35DC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR22CScriptPointOfinterest" -"Visit__26TCastToPtr<12CScriptWater>FR22CScriptPointOfinterest": -/* 800A6680 000A35E0 38 00 00 00 */ li r0, 0 -/* 800A6684 000A35E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6688 000A35E8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptPlayerHint" -"Visit__26TCastToPtr<12CScriptWater>FR17CScriptPlayerHint": -/* 800A668C 000A35EC 38 00 00 00 */ li r0, 0 -/* 800A6690 000A35F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6694 000A35F4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR15CScriptPlatform" -"Visit__26TCastToPtr<12CScriptWater>FR15CScriptPlatform": -/* 800A6698 000A35F8 38 00 00 00 */ li r0, 0 -/* 800A669C 000A35FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A66A0 000A3600 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR13CScriptPickup" -"Visit__26TCastToPtr<12CScriptWater>FR13CScriptPickup": -/* 800A66A4 000A3604 38 00 00 00 */ li r0, 0 -/* 800A66A8 000A3608 90 03 00 04 */ stw r0, 4(r3) -/* 800A66AC 000A360C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR15CScriptMazeNode" -"Visit__26TCastToPtr<12CScriptWater>FR15CScriptMazeNode": -/* 800A66B0 000A3610 38 00 00 00 */ li r0, 0 -/* 800A66B4 000A3614 90 03 00 04 */ stw r0, 4(r3) -/* 800A66B8 000A3618 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR16CScriptGunTurret" -"Visit__26TCastToPtr<12CScriptWater>FR16CScriptGunTurret": -/* 800A66BC 000A361C 38 00 00 00 */ li r0, 0 -/* 800A66C0 000A3620 90 03 00 04 */ stw r0, 4(r3) -/* 800A66C4 000A3624 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR19CScriptGrapplePoint" -"Visit__26TCastToPtr<12CScriptWater>FR19CScriptGrapplePoint": -/* 800A66C8 000A3628 38 00 00 00 */ li r0, 0 -/* 800A66CC 000A362C 90 03 00 04 */ stw r0, 4(r3) -/* 800A66D0 000A3630 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR13CScriptEffect" -"Visit__26TCastToPtr<12CScriptWater>FR13CScriptEffect": -/* 800A66D4 000A3634 38 00 00 00 */ li r0, 0 -/* 800A66D8 000A3638 90 03 00 04 */ stw r0, 4(r3) -/* 800A66DC 000A363C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR11CScriptDoor" -"Visit__26TCastToPtr<12CScriptWater>FR11CScriptDoor": -/* 800A66E0 000A3640 38 00 00 00 */ li r0, 0 -/* 800A66E4 000A3644 90 03 00 04 */ stw r0, 4(r3) -/* 800A66E8 000A3648 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR11CScriptDock" -"Visit__26TCastToPtr<12CScriptWater>FR11CScriptDock": -/* 800A66EC 000A364C 38 00 00 00 */ li r0, 0 -/* 800A66F0 000A3650 90 03 00 04 */ stw r0, 4(r3) -/* 800A66F4 000A3654 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR18CScriptDistanceFog" -"Visit__26TCastToPtr<12CScriptWater>FR18CScriptDistanceFog": -/* 800A66F8 000A3658 38 00 00 00 */ li r0, 0 -/* 800A66FC 000A365C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6700 000A3660 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR26CScriptDebugCameraWaypoint" -"Visit__26TCastToPtr<12CScriptWater>FR26CScriptDebugCameraWaypoint": -/* 800A6704 000A3664 38 00 00 00 */ li r0, 0 -/* 800A6708 000A3668 90 03 00 04 */ stw r0, 4(r3) -/* 800A670C 000A366C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptCoverPoint" -"Visit__26TCastToPtr<12CScriptWater>FR17CScriptCoverPoint": -/* 800A6710 000A3670 38 00 00 00 */ li r0, 0 -/* 800A6714 000A3674 90 03 00 04 */ stw r0, 4(r3) -/* 800A6718 000A3678 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR21CScriptCameraWaypoint" -"Visit__26TCastToPtr<12CScriptWater>FR21CScriptCameraWaypoint": -/* 800A671C 000A367C 38 00 00 00 */ li r0, 0 -/* 800A6720 000A3680 90 03 00 04 */ stw r0, 4(r3) -/* 800A6724 000A3684 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR24CScriptCameraPitchVolume" -"Visit__26TCastToPtr<12CScriptWater>FR24CScriptCameraPitchVolume": -/* 800A6728 000A3688 38 00 00 00 */ li r0, 0 -/* 800A672C 000A368C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6730 000A3690 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR17CScriptCameraHint" -"Visit__26TCastToPtr<12CScriptWater>FR17CScriptCameraHint": -/* 800A6734 000A3694 38 00 00 00 */ li r0, 0 -/* 800A6738 000A3698 90 03 00 04 */ stw r0, 4(r3) -/* 800A673C 000A369C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR18CScriptAiJumpPoint" -"Visit__26TCastToPtr<12CScriptWater>FR18CScriptAiJumpPoint": -/* 800A6740 000A36A0 38 00 00 00 */ li r0, 0 -/* 800A6744 000A36A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6748 000A36A8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR20CScriptActorKeyframe" -"Visit__26TCastToPtr<12CScriptWater>FR20CScriptActorKeyframe": -/* 800A674C 000A36AC 38 00 00 00 */ li r0, 0 -/* 800A6750 000A36B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6754 000A36B4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR12CScriptActor" -"Visit__26TCastToPtr<12CScriptWater>FR12CScriptActor": -/* 800A6758 000A36B8 38 00 00 00 */ li r0, 0 -/* 800A675C 000A36BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6760 000A36C0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR9CRepulsor" -"Visit__26TCastToPtr<12CScriptWater>FR9CRepulsor": -/* 800A6764 000A36C4 38 00 00 00 */ li r0, 0 -/* 800A6768 000A36C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A676C 000A36CC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR7CPlayer" -"Visit__26TCastToPtr<12CScriptWater>FR7CPlayer": -/* 800A6770 000A36D0 38 00 00 00 */ li r0, 0 -/* 800A6774 000A36D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6778 000A36D8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR13CPhysicsActor" -"Visit__26TCastToPtr<12CScriptWater>FR13CPhysicsActor": -/* 800A677C 000A36DC 38 00 00 00 */ li r0, 0 -/* 800A6780 000A36E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6784 000A36E4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR3CAi" -"Visit__26TCastToPtr<12CScriptWater>FR3CAi": -/* 800A6788 000A36E8 38 00 00 00 */ li r0, 0 -/* 800A678C 000A36EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6790 000A36F0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR11CPathCamera" -"Visit__26TCastToPtr<12CScriptWater>FR11CPathCamera": -/* 800A6794 000A36F4 38 00 00 00 */ li r0, 0 -/* 800A6798 000A36F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A679C 000A36FC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR18CMetroidPrimeRelay" -"Visit__26TCastToPtr<12CScriptWater>FR18CMetroidPrimeRelay": -/* 800A67A0 000A3700 38 00 00 00 */ li r0, 0 -/* 800A67A4 000A3704 90 03 00 04 */ stw r0, 4(r3) -/* 800A67A8 000A3708 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR19CHUDBillboardEffect" -"Visit__26TCastToPtr<12CScriptWater>FR19CHUDBillboardEffect": -/* 800A67AC 000A370C 38 00 00 00 */ li r0, 0 -/* 800A67B0 000A3710 90 03 00 04 */ stw r0, 4(r3) -/* 800A67B4 000A3714 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR15CGameProjectile" -"Visit__26TCastToPtr<12CScriptWater>FR15CGameProjectile": -/* 800A67B8 000A3718 38 00 00 00 */ li r0, 0 -/* 800A67BC 000A371C 90 03 00 04 */ stw r0, 4(r3) -/* 800A67C0 000A3720 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR10CGameLight" -"Visit__26TCastToPtr<12CScriptWater>FR10CGameLight": -/* 800A67C4 000A3724 38 00 00 00 */ li r0, 0 -/* 800A67C8 000A3728 90 03 00 04 */ stw r0, 4(r3) -/* 800A67CC 000A372C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR11CGameCamera" -"Visit__26TCastToPtr<12CScriptWater>FR11CGameCamera": -/* 800A67D0 000A3730 38 00 00 00 */ li r0, 0 -/* 800A67D4 000A3734 90 03 00 04 */ stw r0, 4(r3) -/* 800A67D8 000A3738 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR10CFishCloud" -"Visit__26TCastToPtr<12CScriptWater>FR10CFishCloud": -/* 800A67DC 000A373C 38 00 00 00 */ li r0, 0 -/* 800A67E0 000A3740 90 03 00 04 */ stw r0, 4(r3) -/* 800A67E4 000A3744 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR18CFirstPersonCamera" -"Visit__26TCastToPtr<12CScriptWater>FR18CFirstPersonCamera": -/* 800A67E8 000A3748 38 00 00 00 */ li r0, 0 -/* 800A67EC 000A374C 90 03 00 04 */ stw r0, 4(r3) -/* 800A67F0 000A3750 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR10CExplosion" -"Visit__26TCastToPtr<12CScriptWater>FR10CExplosion": -/* 800A67F4 000A3754 38 00 00 00 */ li r0, 0 -/* 800A67F8 000A3758 90 03 00 04 */ stw r0, 4(r3) -/* 800A67FC 000A375C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR7CEntity" -"Visit__26TCastToPtr<12CScriptWater>FR7CEntity": -/* 800A6800 000A3760 38 00 00 00 */ li r0, 0 -/* 800A6804 000A3764 90 03 00 04 */ stw r0, 4(r3) -/* 800A6808 000A3768 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR17CEnergyProjectile" -"Visit__26TCastToPtr<12CScriptWater>FR17CEnergyProjectile": -/* 800A680C 000A376C 38 00 00 00 */ li r0, 0 -/* 800A6810 000A3770 90 03 00 04 */ stw r0, 4(r3) -/* 800A6814 000A3774 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR16CDestroyableRock" -"Visit__26TCastToPtr<12CScriptWater>FR16CDestroyableRock": -/* 800A6818 000A3778 38 00 00 00 */ li r0, 0 -/* 800A681C 000A377C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6820 000A3780 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR15CCollisionActor" -"Visit__26TCastToPtr<12CScriptWater>FR15CCollisionActor": -/* 800A6824 000A3784 38 00 00 00 */ li r0, 0 -/* 800A6828 000A3788 90 03 00 04 */ stw r0, 4(r3) -/* 800A682C 000A378C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR16CCinematicCamera" -"Visit__26TCastToPtr<12CScriptWater>FR16CCinematicCamera": -/* 800A6830 000A3790 38 00 00 00 */ li r0, 0 -/* 800A6834 000A3794 90 03 00 04 */ stw r0, 4(r3) -/* 800A6838 000A3798 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR5CBomb" -"Visit__26TCastToPtr<12CScriptWater>FR5CBomb": -/* 800A683C 000A379C 38 00 00 00 */ li r0, 0 -/* 800A6840 000A37A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6844 000A37A4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR11CBallCamera" -"Visit__26TCastToPtr<12CScriptWater>FR11CBallCamera": -/* 800A6848 000A37A8 38 00 00 00 */ li r0, 0 -/* 800A684C 000A37AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6850 000A37B0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptWater>FR6CActor" -"Visit__26TCastToPtr<12CScriptWater>FR6CActor": -/* 800A6854 000A37B4 38 00 00 00 */ li r0, 0 -/* 800A6858 000A37B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A685C 000A37BC 4E 80 00 20 */ blr - -.global "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" -"__ct__26TCastToPtr<12CScriptWater>FP7CEntity": -/* 800A6860 000A37C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A6864 000A37C4 7C 08 02 A6 */ mflr r0 -/* 800A6868 000A37C8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A686C 000A37CC 3C A0 80 3E */ lis r5, lbl_803DEAB4@ha -/* 800A6870 000A37D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A6874 000A37D4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A6878 000A37D8 28 04 00 00 */ cmplwi r4, 0 -/* 800A687C 000A37DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A6880 000A37E0 7C 7F 1B 78 */ mr r31, r3 -/* 800A6884 000A37E4 38 65 EA B4 */ addi r3, r5, lbl_803DEAB4@l -/* 800A6888 000A37E8 90 1F 00 00 */ stw r0, 0(r31) -/* 800A688C 000A37EC 38 00 00 00 */ li r0, 0 -/* 800A6890 000A37F0 90 7F 00 00 */ stw r3, 0(r31) -/* 800A6894 000A37F4 90 1F 00 04 */ stw r0, 4(r31) -/* 800A6898 000A37F8 41 82 00 1C */ beq lbl_800A68B4 -/* 800A689C 000A37FC 7C 83 23 78 */ mr r3, r4 -/* 800A68A0 000A3800 7F E4 FB 78 */ mr r4, r31 -/* 800A68A4 000A3804 81 83 00 00 */ lwz r12, 0(r3) -/* 800A68A8 000A3808 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A68AC 000A380C 7D 89 03 A6 */ mtctr r12 -/* 800A68B0 000A3810 4E 80 04 21 */ bctrl -lbl_800A68B4: -/* 800A68B4 000A3814 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A68B8 000A3818 7F E3 FB 78 */ mr r3, r31 -/* 800A68BC 000A381C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A68C0 000A3820 7C 08 03 A6 */ mtlr r0 -/* 800A68C4 000A3824 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A68C8 000A3828 4E 80 00 20 */ blr - -.global "__ct__26TCastToPtr<12CScriptWater>FR7CEntity" -"__ct__26TCastToPtr<12CScriptWater>FR7CEntity": -/* 800A68CC 000A382C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A68D0 000A3830 7C 08 02 A6 */ mflr r0 -/* 800A68D4 000A3834 3C A0 80 3E */ lis r5, lbl_803DEAB4@ha -/* 800A68D8 000A3838 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A68DC 000A383C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A68E0 000A3840 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A68E4 000A3844 38 A5 EA B4 */ addi r5, r5, lbl_803DEAB4@l -/* 800A68E8 000A3848 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A68EC 000A384C 7C 7F 1B 78 */ mr r31, r3 -/* 800A68F0 000A3850 90 03 00 00 */ stw r0, 0(r3) -/* 800A68F4 000A3854 7C 83 23 78 */ mr r3, r4 -/* 800A68F8 000A3858 38 00 00 00 */ li r0, 0 -/* 800A68FC 000A385C 7F E4 FB 78 */ mr r4, r31 -/* 800A6900 000A3860 90 BF 00 00 */ stw r5, 0(r31) -/* 800A6904 000A3864 90 1F 00 04 */ stw r0, 4(r31) -/* 800A6908 000A3868 81 83 00 00 */ lwz r12, 0(r3) -/* 800A690C 000A386C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A6910 000A3870 7D 89 03 A6 */ mtctr r12 -/* 800A6914 000A3874 4E 80 04 21 */ bctrl -/* 800A6918 000A3878 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A691C 000A387C 7F E3 FB 78 */ mr r3, r31 -/* 800A6920 000A3880 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A6924 000A3884 7C 08 03 A6 */ mtlr r0 -/* 800A6928 000A3888 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A692C 000A388C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR7CWeapon" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR7CWeapon": -/* 800A6930 000A3890 38 00 00 00 */ li r0, 0 -/* 800A6934 000A3894 90 03 00 04 */ stw r0, 4(r3) -/* 800A6938 000A3898 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CWallCrawlerSwarm" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CWallCrawlerSwarm": -/* 800A693C 000A389C 38 00 00 00 */ li r0, 0 -/* 800A6940 000A38A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6944 000A38A4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptSpindleCamera" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptSpindleCamera": -/* 800A6948 000A38A8 38 00 00 00 */ li r0, 0 -/* 800A694C 000A38AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6950 000A38B0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CSnakeWeedSwarm" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CSnakeWeedSwarm": -/* 800A6954 000A38B4 38 00 00 00 */ li r0, 0 -/* 800A6958 000A38B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A695C 000A38BC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptWaypoint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptWaypoint": -/* 800A6960 000A38C0 38 00 00 00 */ li r0, 0 -/* 800A6964 000A38C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6968 000A38C8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptWater" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptWater": -/* 800A696C 000A38CC 38 00 00 00 */ li r0, 0 -/* 800A6970 000A38D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6974 000A38D4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptVisorFlare" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptVisorFlare": -/* 800A6978 000A38D8 90 83 00 04 */ stw r4, 4(r3) -/* 800A697C 000A38DC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR14CScriptTrigger" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR14CScriptTrigger": -/* 800A6980 000A38E0 38 00 00 00 */ li r0, 0 -/* 800A6984 000A38E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6988 000A38E8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptTimer" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptTimer": -/* 800A698C 000A38EC 38 00 00 00 */ li r0, 0 -/* 800A6990 000A38F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6994 000A38F4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR10CTeamAiMgr" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR10CTeamAiMgr": -/* 800A6998 000A38F8 38 00 00 00 */ li r0, 0 -/* 800A699C 000A38FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A69A0 000A3900 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR21CScriptTargetingPoint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR21CScriptTargetingPoint": -/* 800A69A4 000A3904 38 00 00 00 */ li r0, 0 -/* 800A69A8 000A3908 90 03 00 04 */ stw r0, 4(r3) -/* 800A69AC 000A390C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR25CScriptSpiderBallWaypoint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR25CScriptSpiderBallWaypoint": -/* 800A69B0 000A3910 38 00 00 00 */ li r0, 0 -/* 800A69B4 000A3914 90 03 00 04 */ stw r0, 4(r3) -/* 800A69B8 000A3918 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR34CScriptSpiderBallAttractionSurface" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR34CScriptSpiderBallAttractionSurface": -/* 800A69BC 000A391C 38 00 00 00 */ li r0, 0 -/* 800A69C0 000A3920 90 03 00 04 */ stw r0, 4(r3) -/* 800A69C4 000A3924 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR22CScriptSpecialFunction" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR22CScriptSpecialFunction": -/* 800A69C8 000A3928 38 00 00 00 */ li r0, 0 -/* 800A69CC 000A392C 90 03 00 04 */ stw r0, 4(r3) -/* 800A69D0 000A3930 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptSpawnPoint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptSpawnPoint": -/* 800A69D4 000A3934 38 00 00 00 */ li r0, 0 -/* 800A69D8 000A3938 90 03 00 04 */ stw r0, 4(r3) -/* 800A69DC 000A393C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptSound" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptSound": -/* 800A69E0 000A3940 38 00 00 00 */ li r0, 0 -/* 800A69E4 000A3944 90 03 00 04 */ stw r0, 4(r3) -/* 800A69E8 000A3948 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptRoomAcoustics" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptRoomAcoustics": -/* 800A69EC 000A394C 38 00 00 00 */ li r0, 0 -/* 800A69F0 000A3950 90 03 00 04 */ stw r0, 4(r3) -/* 800A69F4 000A3954 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR22CScriptPointOfinterest" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR22CScriptPointOfinterest": -/* 800A69F8 000A3958 38 00 00 00 */ li r0, 0 -/* 800A69FC 000A395C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A00 000A3960 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptPlayerHint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptPlayerHint": -/* 800A6A04 000A3964 38 00 00 00 */ li r0, 0 -/* 800A6A08 000A3968 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A0C 000A396C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptPlatform" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptPlatform": -/* 800A6A10 000A3970 38 00 00 00 */ li r0, 0 -/* 800A6A14 000A3974 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A18 000A3978 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR13CScriptPickup" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR13CScriptPickup": -/* 800A6A1C 000A397C 38 00 00 00 */ li r0, 0 -/* 800A6A20 000A3980 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A24 000A3984 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptMazeNode" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CScriptMazeNode": -/* 800A6A28 000A3988 38 00 00 00 */ li r0, 0 -/* 800A6A2C 000A398C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A30 000A3990 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR16CScriptGunTurret" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR16CScriptGunTurret": -/* 800A6A34 000A3994 38 00 00 00 */ li r0, 0 -/* 800A6A38 000A3998 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A3C 000A399C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR19CScriptGrapplePoint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR19CScriptGrapplePoint": -/* 800A6A40 000A39A0 38 00 00 00 */ li r0, 0 -/* 800A6A44 000A39A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A48 000A39A8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR13CScriptEffect" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR13CScriptEffect": -/* 800A6A4C 000A39AC 38 00 00 00 */ li r0, 0 -/* 800A6A50 000A39B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A54 000A39B4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CScriptDoor" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CScriptDoor": -/* 800A6A58 000A39B8 38 00 00 00 */ li r0, 0 -/* 800A6A5C 000A39BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A60 000A39C0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CScriptDock" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CScriptDock": -/* 800A6A64 000A39C4 38 00 00 00 */ li r0, 0 -/* 800A6A68 000A39C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A6C 000A39CC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR18CScriptDistanceFog" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR18CScriptDistanceFog": -/* 800A6A70 000A39D0 38 00 00 00 */ li r0, 0 -/* 800A6A74 000A39D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A78 000A39D8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR26CScriptDebugCameraWaypoint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR26CScriptDebugCameraWaypoint": -/* 800A6A7C 000A39DC 38 00 00 00 */ li r0, 0 -/* 800A6A80 000A39E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A84 000A39E4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptCoverPoint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptCoverPoint": -/* 800A6A88 000A39E8 38 00 00 00 */ li r0, 0 -/* 800A6A8C 000A39EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A90 000A39F0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR21CScriptCameraWaypoint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR21CScriptCameraWaypoint": -/* 800A6A94 000A39F4 38 00 00 00 */ li r0, 0 -/* 800A6A98 000A39F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6A9C 000A39FC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR24CScriptCameraPitchVolume" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR24CScriptCameraPitchVolume": -/* 800A6AA0 000A3A00 38 00 00 00 */ li r0, 0 -/* 800A6AA4 000A3A04 90 03 00 04 */ stw r0, 4(r3) -/* 800A6AA8 000A3A08 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptCameraHint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CScriptCameraHint": -/* 800A6AAC 000A3A0C 38 00 00 00 */ li r0, 0 -/* 800A6AB0 000A3A10 90 03 00 04 */ stw r0, 4(r3) -/* 800A6AB4 000A3A14 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR18CScriptAiJumpPoint" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR18CScriptAiJumpPoint": -/* 800A6AB8 000A3A18 38 00 00 00 */ li r0, 0 -/* 800A6ABC 000A3A1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6AC0 000A3A20 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptActorKeyframe" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR20CScriptActorKeyframe": -/* 800A6AC4 000A3A24 38 00 00 00 */ li r0, 0 -/* 800A6AC8 000A3A28 90 03 00 04 */ stw r0, 4(r3) -/* 800A6ACC 000A3A2C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptActor" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR12CScriptActor": -/* 800A6AD0 000A3A30 38 00 00 00 */ li r0, 0 -/* 800A6AD4 000A3A34 90 03 00 04 */ stw r0, 4(r3) -/* 800A6AD8 000A3A38 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR9CRepulsor" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR9CRepulsor": -/* 800A6ADC 000A3A3C 38 00 00 00 */ li r0, 0 -/* 800A6AE0 000A3A40 90 03 00 04 */ stw r0, 4(r3) -/* 800A6AE4 000A3A44 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR7CPlayer" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR7CPlayer": -/* 800A6AE8 000A3A48 38 00 00 00 */ li r0, 0 -/* 800A6AEC 000A3A4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6AF0 000A3A50 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR13CPhysicsActor" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR13CPhysicsActor": -/* 800A6AF4 000A3A54 38 00 00 00 */ li r0, 0 -/* 800A6AF8 000A3A58 90 03 00 04 */ stw r0, 4(r3) -/* 800A6AFC 000A3A5C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR3CAi" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR3CAi": -/* 800A6B00 000A3A60 38 00 00 00 */ li r0, 0 -/* 800A6B04 000A3A64 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B08 000A3A68 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CPathCamera" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CPathCamera": -/* 800A6B0C 000A3A6C 38 00 00 00 */ li r0, 0 -/* 800A6B10 000A3A70 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B14 000A3A74 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR18CMetroidPrimeRelay" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR18CMetroidPrimeRelay": -/* 800A6B18 000A3A78 38 00 00 00 */ li r0, 0 -/* 800A6B1C 000A3A7C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B20 000A3A80 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR19CHUDBillboardEffect" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR19CHUDBillboardEffect": -/* 800A6B24 000A3A84 38 00 00 00 */ li r0, 0 -/* 800A6B28 000A3A88 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B2C 000A3A8C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CGameProjectile" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CGameProjectile": -/* 800A6B30 000A3A90 38 00 00 00 */ li r0, 0 -/* 800A6B34 000A3A94 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B38 000A3A98 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR10CGameLight" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR10CGameLight": -/* 800A6B3C 000A3A9C 38 00 00 00 */ li r0, 0 -/* 800A6B40 000A3AA0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B44 000A3AA4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CGameCamera" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CGameCamera": -/* 800A6B48 000A3AA8 38 00 00 00 */ li r0, 0 -/* 800A6B4C 000A3AAC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B50 000A3AB0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR10CFishCloud" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR10CFishCloud": -/* 800A6B54 000A3AB4 38 00 00 00 */ li r0, 0 -/* 800A6B58 000A3AB8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B5C 000A3ABC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR18CFirstPersonCamera" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR18CFirstPersonCamera": -/* 800A6B60 000A3AC0 38 00 00 00 */ li r0, 0 -/* 800A6B64 000A3AC4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B68 000A3AC8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR10CExplosion" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR10CExplosion": -/* 800A6B6C 000A3ACC 38 00 00 00 */ li r0, 0 -/* 800A6B70 000A3AD0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B74 000A3AD4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR7CEntity" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR7CEntity": -/* 800A6B78 000A3AD8 38 00 00 00 */ li r0, 0 -/* 800A6B7C 000A3ADC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B80 000A3AE0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR17CEnergyProjectile" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR17CEnergyProjectile": -/* 800A6B84 000A3AE4 38 00 00 00 */ li r0, 0 -/* 800A6B88 000A3AE8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B8C 000A3AEC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR16CDestroyableRock" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR16CDestroyableRock": -/* 800A6B90 000A3AF0 38 00 00 00 */ li r0, 0 -/* 800A6B94 000A3AF4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6B98 000A3AF8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR15CCollisionActor" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR15CCollisionActor": -/* 800A6B9C 000A3AFC 38 00 00 00 */ li r0, 0 -/* 800A6BA0 000A3B00 90 03 00 04 */ stw r0, 4(r3) -/* 800A6BA4 000A3B04 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR16CCinematicCamera" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR16CCinematicCamera": -/* 800A6BA8 000A3B08 38 00 00 00 */ li r0, 0 -/* 800A6BAC 000A3B0C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6BB0 000A3B10 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR5CBomb" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR5CBomb": -/* 800A6BB4 000A3B14 38 00 00 00 */ li r0, 0 -/* 800A6BB8 000A3B18 90 03 00 04 */ stw r0, 4(r3) -/* 800A6BBC 000A3B1C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR11CBallCamera" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR11CBallCamera": -/* 800A6BC0 000A3B20 38 00 00 00 */ li r0, 0 -/* 800A6BC4 000A3B24 90 03 00 04 */ stw r0, 4(r3) -/* 800A6BC8 000A3B28 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptVisorFlare>FR6CActor" -"Visit__31TCastToPtr<17CScriptVisorFlare>FR6CActor": -/* 800A6BCC 000A3B2C 38 00 00 00 */ li r0, 0 -/* 800A6BD0 000A3B30 90 03 00 04 */ stw r0, 4(r3) -/* 800A6BD4 000A3B34 4E 80 00 20 */ blr - -.global "__ct__31TCastToPtr<17CScriptVisorFlare>FP7CEntity" -"__ct__31TCastToPtr<17CScriptVisorFlare>FP7CEntity": -/* 800A6BD8 000A3B38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A6BDC 000A3B3C 7C 08 02 A6 */ mflr r0 -/* 800A6BE0 000A3B40 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A6BE4 000A3B44 3C A0 80 3E */ lis r5, lbl_803DE9C8@ha -/* 800A6BE8 000A3B48 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A6BEC 000A3B4C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A6BF0 000A3B50 28 04 00 00 */ cmplwi r4, 0 -/* 800A6BF4 000A3B54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A6BF8 000A3B58 7C 7F 1B 78 */ mr r31, r3 -/* 800A6BFC 000A3B5C 38 65 E9 C8 */ addi r3, r5, lbl_803DE9C8@l -/* 800A6C00 000A3B60 90 1F 00 00 */ stw r0, 0(r31) -/* 800A6C04 000A3B64 38 00 00 00 */ li r0, 0 -/* 800A6C08 000A3B68 90 7F 00 00 */ stw r3, 0(r31) -/* 800A6C0C 000A3B6C 90 1F 00 04 */ stw r0, 4(r31) -/* 800A6C10 000A3B70 41 82 00 1C */ beq lbl_800A6C2C -/* 800A6C14 000A3B74 7C 83 23 78 */ mr r3, r4 -/* 800A6C18 000A3B78 7F E4 FB 78 */ mr r4, r31 -/* 800A6C1C 000A3B7C 81 83 00 00 */ lwz r12, 0(r3) -/* 800A6C20 000A3B80 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A6C24 000A3B84 7D 89 03 A6 */ mtctr r12 -/* 800A6C28 000A3B88 4E 80 04 21 */ bctrl -lbl_800A6C2C: -/* 800A6C2C 000A3B8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A6C30 000A3B90 7F E3 FB 78 */ mr r3, r31 -/* 800A6C34 000A3B94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A6C38 000A3B98 7C 08 03 A6 */ mtlr r0 -/* 800A6C3C 000A3B9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A6C40 000A3BA0 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR7CWeapon" -"Visit__28TCastToPtr<14CScriptTrigger>FR7CWeapon": -/* 800A6C44 000A3BA4 38 00 00 00 */ li r0, 0 -/* 800A6C48 000A3BA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6C4C 000A3BAC 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CWallCrawlerSwarm" -"Visit__28TCastToPtr<14CScriptTrigger>FR17CWallCrawlerSwarm": -/* 800A6C50 000A3BB0 38 00 00 00 */ li r0, 0 -/* 800A6C54 000A3BB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6C58 000A3BB8 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptSpindleCamera" -"Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptSpindleCamera": -/* 800A6C5C 000A3BBC 38 00 00 00 */ li r0, 0 -/* 800A6C60 000A3BC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6C64 000A3BC4 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CSnakeWeedSwarm" -"Visit__28TCastToPtr<14CScriptTrigger>FR15CSnakeWeedSwarm": -/* 800A6C68 000A3BC8 38 00 00 00 */ li r0, 0 -/* 800A6C6C 000A3BCC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6C70 000A3BD0 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptWaypoint" -"Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptWaypoint": -/* 800A6C74 000A3BD4 38 00 00 00 */ li r0, 0 -/* 800A6C78 000A3BD8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6C7C 000A3BDC 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptWater" -"Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptWater": -/* 800A6C80 000A3BE0 90 83 00 04 */ stw r4, 4(r3) -/* 800A6C84 000A3BE4 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptVisorFlare" -"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptVisorFlare": -/* 800A6C88 000A3BE8 38 00 00 00 */ li r0, 0 -/* 800A6C8C 000A3BEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6C90 000A3BF0 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR14CScriptTrigger" -"Visit__28TCastToPtr<14CScriptTrigger>FR14CScriptTrigger": -/* 800A6C94 000A3BF4 90 83 00 04 */ stw r4, 4(r3) -/* 800A6C98 000A3BF8 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptTimer" -"Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptTimer": -/* 800A6C9C 000A3BFC 38 00 00 00 */ li r0, 0 -/* 800A6CA0 000A3C00 90 03 00 04 */ stw r0, 4(r3) -/* 800A6CA4 000A3C04 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR10CTeamAiMgr" -"Visit__28TCastToPtr<14CScriptTrigger>FR10CTeamAiMgr": -/* 800A6CA8 000A3C08 38 00 00 00 */ li r0, 0 -/* 800A6CAC 000A3C0C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6CB0 000A3C10 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR21CScriptTargetingPoint" -"Visit__28TCastToPtr<14CScriptTrigger>FR21CScriptTargetingPoint": -/* 800A6CB4 000A3C14 38 00 00 00 */ li r0, 0 -/* 800A6CB8 000A3C18 90 03 00 04 */ stw r0, 4(r3) -/* 800A6CBC 000A3C1C 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR25CScriptSpiderBallWaypoint" -"Visit__28TCastToPtr<14CScriptTrigger>FR25CScriptSpiderBallWaypoint": -/* 800A6CC0 000A3C20 38 00 00 00 */ li r0, 0 -/* 800A6CC4 000A3C24 90 03 00 04 */ stw r0, 4(r3) -/* 800A6CC8 000A3C28 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR34CScriptSpiderBallAttractionSurface" -"Visit__28TCastToPtr<14CScriptTrigger>FR34CScriptSpiderBallAttractionSurface": -/* 800A6CCC 000A3C2C 38 00 00 00 */ li r0, 0 -/* 800A6CD0 000A3C30 90 03 00 04 */ stw r0, 4(r3) -/* 800A6CD4 000A3C34 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR22CScriptSpecialFunction" -"Visit__28TCastToPtr<14CScriptTrigger>FR22CScriptSpecialFunction": -/* 800A6CD8 000A3C38 38 00 00 00 */ li r0, 0 -/* 800A6CDC 000A3C3C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6CE0 000A3C40 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptSpawnPoint" -"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptSpawnPoint": -/* 800A6CE4 000A3C44 38 00 00 00 */ li r0, 0 -/* 800A6CE8 000A3C48 90 03 00 04 */ stw r0, 4(r3) -/* 800A6CEC 000A3C4C 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptSound" -"Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptSound": -/* 800A6CF0 000A3C50 38 00 00 00 */ li r0, 0 -/* 800A6CF4 000A3C54 90 03 00 04 */ stw r0, 4(r3) -/* 800A6CF8 000A3C58 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptRoomAcoustics" -"Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptRoomAcoustics": -/* 800A6CFC 000A3C5C 38 00 00 00 */ li r0, 0 -/* 800A6D00 000A3C60 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D04 000A3C64 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR22CScriptPointOfinterest" -"Visit__28TCastToPtr<14CScriptTrigger>FR22CScriptPointOfinterest": -/* 800A6D08 000A3C68 38 00 00 00 */ li r0, 0 -/* 800A6D0C 000A3C6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D10 000A3C70 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptPlayerHint" -"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptPlayerHint": -/* 800A6D14 000A3C74 38 00 00 00 */ li r0, 0 -/* 800A6D18 000A3C78 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D1C 000A3C7C 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptPlatform" -"Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptPlatform": -/* 800A6D20 000A3C80 38 00 00 00 */ li r0, 0 -/* 800A6D24 000A3C84 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D28 000A3C88 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR13CScriptPickup" -"Visit__28TCastToPtr<14CScriptTrigger>FR13CScriptPickup": -/* 800A6D2C 000A3C8C 38 00 00 00 */ li r0, 0 -/* 800A6D30 000A3C90 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D34 000A3C94 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptMazeNode" -"Visit__28TCastToPtr<14CScriptTrigger>FR15CScriptMazeNode": -/* 800A6D38 000A3C98 38 00 00 00 */ li r0, 0 -/* 800A6D3C 000A3C9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D40 000A3CA0 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR16CScriptGunTurret" -"Visit__28TCastToPtr<14CScriptTrigger>FR16CScriptGunTurret": -/* 800A6D44 000A3CA4 38 00 00 00 */ li r0, 0 -/* 800A6D48 000A3CA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D4C 000A3CAC 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR19CScriptGrapplePoint" -"Visit__28TCastToPtr<14CScriptTrigger>FR19CScriptGrapplePoint": -/* 800A6D50 000A3CB0 38 00 00 00 */ li r0, 0 -/* 800A6D54 000A3CB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D58 000A3CB8 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR13CScriptEffect" -"Visit__28TCastToPtr<14CScriptTrigger>FR13CScriptEffect": -/* 800A6D5C 000A3CBC 38 00 00 00 */ li r0, 0 -/* 800A6D60 000A3CC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D64 000A3CC4 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CScriptDoor" -"Visit__28TCastToPtr<14CScriptTrigger>FR11CScriptDoor": -/* 800A6D68 000A3CC8 38 00 00 00 */ li r0, 0 -/* 800A6D6C 000A3CCC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D70 000A3CD0 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CScriptDock" -"Visit__28TCastToPtr<14CScriptTrigger>FR11CScriptDock": -/* 800A6D74 000A3CD4 38 00 00 00 */ li r0, 0 -/* 800A6D78 000A3CD8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D7C 000A3CDC 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR18CScriptDistanceFog" -"Visit__28TCastToPtr<14CScriptTrigger>FR18CScriptDistanceFog": -/* 800A6D80 000A3CE0 38 00 00 00 */ li r0, 0 -/* 800A6D84 000A3CE4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D88 000A3CE8 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR26CScriptDebugCameraWaypoint" -"Visit__28TCastToPtr<14CScriptTrigger>FR26CScriptDebugCameraWaypoint": -/* 800A6D8C 000A3CEC 38 00 00 00 */ li r0, 0 -/* 800A6D90 000A3CF0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6D94 000A3CF4 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptCoverPoint" -"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptCoverPoint": -/* 800A6D98 000A3CF8 38 00 00 00 */ li r0, 0 -/* 800A6D9C 000A3CFC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6DA0 000A3D00 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR21CScriptCameraWaypoint" -"Visit__28TCastToPtr<14CScriptTrigger>FR21CScriptCameraWaypoint": -/* 800A6DA4 000A3D04 38 00 00 00 */ li r0, 0 -/* 800A6DA8 000A3D08 90 03 00 04 */ stw r0, 4(r3) -/* 800A6DAC 000A3D0C 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR24CScriptCameraPitchVolume" -"Visit__28TCastToPtr<14CScriptTrigger>FR24CScriptCameraPitchVolume": -/* 800A6DB0 000A3D10 38 00 00 00 */ li r0, 0 -/* 800A6DB4 000A3D14 90 03 00 04 */ stw r0, 4(r3) -/* 800A6DB8 000A3D18 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptCameraHint" -"Visit__28TCastToPtr<14CScriptTrigger>FR17CScriptCameraHint": -/* 800A6DBC 000A3D1C 38 00 00 00 */ li r0, 0 -/* 800A6DC0 000A3D20 90 03 00 04 */ stw r0, 4(r3) -/* 800A6DC4 000A3D24 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR18CScriptAiJumpPoint" -"Visit__28TCastToPtr<14CScriptTrigger>FR18CScriptAiJumpPoint": -/* 800A6DC8 000A3D28 38 00 00 00 */ li r0, 0 -/* 800A6DCC 000A3D2C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6DD0 000A3D30 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptActorKeyframe" -"Visit__28TCastToPtr<14CScriptTrigger>FR20CScriptActorKeyframe": -/* 800A6DD4 000A3D34 38 00 00 00 */ li r0, 0 -/* 800A6DD8 000A3D38 90 03 00 04 */ stw r0, 4(r3) -/* 800A6DDC 000A3D3C 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptActor" -"Visit__28TCastToPtr<14CScriptTrigger>FR12CScriptActor": -/* 800A6DE0 000A3D40 38 00 00 00 */ li r0, 0 -/* 800A6DE4 000A3D44 90 03 00 04 */ stw r0, 4(r3) -/* 800A6DE8 000A3D48 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR9CRepulsor" -"Visit__28TCastToPtr<14CScriptTrigger>FR9CRepulsor": -/* 800A6DEC 000A3D4C 38 00 00 00 */ li r0, 0 -/* 800A6DF0 000A3D50 90 03 00 04 */ stw r0, 4(r3) -/* 800A6DF4 000A3D54 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR7CPlayer" -"Visit__28TCastToPtr<14CScriptTrigger>FR7CPlayer": -/* 800A6DF8 000A3D58 38 00 00 00 */ li r0, 0 -/* 800A6DFC 000A3D5C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E00 000A3D60 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR13CPhysicsActor" -"Visit__28TCastToPtr<14CScriptTrigger>FR13CPhysicsActor": -/* 800A6E04 000A3D64 38 00 00 00 */ li r0, 0 -/* 800A6E08 000A3D68 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E0C 000A3D6C 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR3CAi" -"Visit__28TCastToPtr<14CScriptTrigger>FR3CAi": -/* 800A6E10 000A3D70 38 00 00 00 */ li r0, 0 -/* 800A6E14 000A3D74 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E18 000A3D78 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CPathCamera" -"Visit__28TCastToPtr<14CScriptTrigger>FR11CPathCamera": -/* 800A6E1C 000A3D7C 38 00 00 00 */ li r0, 0 -/* 800A6E20 000A3D80 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E24 000A3D84 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR18CMetroidPrimeRelay" -"Visit__28TCastToPtr<14CScriptTrigger>FR18CMetroidPrimeRelay": -/* 800A6E28 000A3D88 38 00 00 00 */ li r0, 0 -/* 800A6E2C 000A3D8C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E30 000A3D90 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR19CHUDBillboardEffect" -"Visit__28TCastToPtr<14CScriptTrigger>FR19CHUDBillboardEffect": -/* 800A6E34 000A3D94 38 00 00 00 */ li r0, 0 -/* 800A6E38 000A3D98 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E3C 000A3D9C 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CGameProjectile" -"Visit__28TCastToPtr<14CScriptTrigger>FR15CGameProjectile": -/* 800A6E40 000A3DA0 38 00 00 00 */ li r0, 0 -/* 800A6E44 000A3DA4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E48 000A3DA8 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR10CGameLight" -"Visit__28TCastToPtr<14CScriptTrigger>FR10CGameLight": -/* 800A6E4C 000A3DAC 38 00 00 00 */ li r0, 0 -/* 800A6E50 000A3DB0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E54 000A3DB4 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CGameCamera" -"Visit__28TCastToPtr<14CScriptTrigger>FR11CGameCamera": -/* 800A6E58 000A3DB8 38 00 00 00 */ li r0, 0 -/* 800A6E5C 000A3DBC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E60 000A3DC0 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR10CFishCloud" -"Visit__28TCastToPtr<14CScriptTrigger>FR10CFishCloud": -/* 800A6E64 000A3DC4 38 00 00 00 */ li r0, 0 -/* 800A6E68 000A3DC8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E6C 000A3DCC 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR18CFirstPersonCamera" -"Visit__28TCastToPtr<14CScriptTrigger>FR18CFirstPersonCamera": -/* 800A6E70 000A3DD0 38 00 00 00 */ li r0, 0 -/* 800A6E74 000A3DD4 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E78 000A3DD8 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR10CExplosion" -"Visit__28TCastToPtr<14CScriptTrigger>FR10CExplosion": -/* 800A6E7C 000A3DDC 38 00 00 00 */ li r0, 0 -/* 800A6E80 000A3DE0 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E84 000A3DE4 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR7CEntity" -"Visit__28TCastToPtr<14CScriptTrigger>FR7CEntity": -/* 800A6E88 000A3DE8 38 00 00 00 */ li r0, 0 -/* 800A6E8C 000A3DEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E90 000A3DF0 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR17CEnergyProjectile" -"Visit__28TCastToPtr<14CScriptTrigger>FR17CEnergyProjectile": -/* 800A6E94 000A3DF4 38 00 00 00 */ li r0, 0 -/* 800A6E98 000A3DF8 90 03 00 04 */ stw r0, 4(r3) -/* 800A6E9C 000A3DFC 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR16CDestroyableRock" -"Visit__28TCastToPtr<14CScriptTrigger>FR16CDestroyableRock": -/* 800A6EA0 000A3E00 38 00 00 00 */ li r0, 0 -/* 800A6EA4 000A3E04 90 03 00 04 */ stw r0, 4(r3) -/* 800A6EA8 000A3E08 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR15CCollisionActor" -"Visit__28TCastToPtr<14CScriptTrigger>FR15CCollisionActor": -/* 800A6EAC 000A3E0C 38 00 00 00 */ li r0, 0 -/* 800A6EB0 000A3E10 90 03 00 04 */ stw r0, 4(r3) -/* 800A6EB4 000A3E14 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR16CCinematicCamera" -"Visit__28TCastToPtr<14CScriptTrigger>FR16CCinematicCamera": -/* 800A6EB8 000A3E18 38 00 00 00 */ li r0, 0 -/* 800A6EBC 000A3E1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6EC0 000A3E20 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR5CBomb" -"Visit__28TCastToPtr<14CScriptTrigger>FR5CBomb": -/* 800A6EC4 000A3E24 38 00 00 00 */ li r0, 0 -/* 800A6EC8 000A3E28 90 03 00 04 */ stw r0, 4(r3) -/* 800A6ECC 000A3E2C 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR11CBallCamera" -"Visit__28TCastToPtr<14CScriptTrigger>FR11CBallCamera": -/* 800A6ED0 000A3E30 38 00 00 00 */ li r0, 0 -/* 800A6ED4 000A3E34 90 03 00 04 */ stw r0, 4(r3) -/* 800A6ED8 000A3E38 4E 80 00 20 */ blr - -.global "Visit__28TCastToPtr<14CScriptTrigger>FR6CActor" -"Visit__28TCastToPtr<14CScriptTrigger>FR6CActor": -/* 800A6EDC 000A3E3C 38 00 00 00 */ li r0, 0 -/* 800A6EE0 000A3E40 90 03 00 04 */ stw r0, 4(r3) -/* 800A6EE4 000A3E44 4E 80 00 20 */ blr - -.global "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" -"__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity": -/* 800A6EE8 000A3E48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A6EEC 000A3E4C 7C 08 02 A6 */ mflr r0 -/* 800A6EF0 000A3E50 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A6EF4 000A3E54 3C A0 80 3E */ lis r5, lbl_803DE8DC@ha -/* 800A6EF8 000A3E58 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A6EFC 000A3E5C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A6F00 000A3E60 28 04 00 00 */ cmplwi r4, 0 -/* 800A6F04 000A3E64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A6F08 000A3E68 7C 7F 1B 78 */ mr r31, r3 -/* 800A6F0C 000A3E6C 38 65 E8 DC */ addi r3, r5, lbl_803DE8DC@l -/* 800A6F10 000A3E70 90 1F 00 00 */ stw r0, 0(r31) -/* 800A6F14 000A3E74 38 00 00 00 */ li r0, 0 -/* 800A6F18 000A3E78 90 7F 00 00 */ stw r3, 0(r31) -/* 800A6F1C 000A3E7C 90 1F 00 04 */ stw r0, 4(r31) -/* 800A6F20 000A3E80 41 82 00 1C */ beq lbl_800A6F3C -/* 800A6F24 000A3E84 7C 83 23 78 */ mr r3, r4 -/* 800A6F28 000A3E88 7F E4 FB 78 */ mr r4, r31 -/* 800A6F2C 000A3E8C 81 83 00 00 */ lwz r12, 0(r3) -/* 800A6F30 000A3E90 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A6F34 000A3E94 7D 89 03 A6 */ mtctr r12 -/* 800A6F38 000A3E98 4E 80 04 21 */ bctrl -lbl_800A6F3C: -/* 800A6F3C 000A3E9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A6F40 000A3EA0 7F E3 FB 78 */ mr r3, r31 -/* 800A6F44 000A3EA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A6F48 000A3EA8 7C 08 03 A6 */ mtlr r0 -/* 800A6F4C 000A3EAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A6F50 000A3EB0 4E 80 00 20 */ blr - -.global "__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity" -"__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity": -/* 800A6F54 000A3EB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A6F58 000A3EB8 7C 08 02 A6 */ mflr r0 -/* 800A6F5C 000A3EBC 3C A0 80 3E */ lis r5, lbl_803DE8DC@ha -/* 800A6F60 000A3EC0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A6F64 000A3EC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A6F68 000A3EC8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A6F6C 000A3ECC 38 A5 E8 DC */ addi r5, r5, lbl_803DE8DC@l -/* 800A6F70 000A3ED0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A6F74 000A3ED4 7C 7F 1B 78 */ mr r31, r3 -/* 800A6F78 000A3ED8 90 03 00 00 */ stw r0, 0(r3) -/* 800A6F7C 000A3EDC 7C 83 23 78 */ mr r3, r4 -/* 800A6F80 000A3EE0 38 00 00 00 */ li r0, 0 -/* 800A6F84 000A3EE4 7F E4 FB 78 */ mr r4, r31 -/* 800A6F88 000A3EE8 90 BF 00 00 */ stw r5, 0(r31) -/* 800A6F8C 000A3EEC 90 1F 00 04 */ stw r0, 4(r31) -/* 800A6F90 000A3EF0 81 83 00 00 */ lwz r12, 0(r3) -/* 800A6F94 000A3EF4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A6F98 000A3EF8 7D 89 03 A6 */ mtctr r12 -/* 800A6F9C 000A3EFC 4E 80 04 21 */ bctrl -/* 800A6FA0 000A3F00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A6FA4 000A3F04 7F E3 FB 78 */ mr r3, r31 -/* 800A6FA8 000A3F08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A6FAC 000A3F0C 7C 08 03 A6 */ mtlr r0 -/* 800A6FB0 000A3F10 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A6FB4 000A3F14 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR7CWeapon" -"Visit__26TCastToPtr<12CScriptTimer>FR7CWeapon": -/* 800A6FB8 000A3F18 38 00 00 00 */ li r0, 0 -/* 800A6FBC 000A3F1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6FC0 000A3F20 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR17CWallCrawlerSwarm" -"Visit__26TCastToPtr<12CScriptTimer>FR17CWallCrawlerSwarm": -/* 800A6FC4 000A3F24 38 00 00 00 */ li r0, 0 -/* 800A6FC8 000A3F28 90 03 00 04 */ stw r0, 4(r3) -/* 800A6FCC 000A3F2C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR20CScriptSpindleCamera" -"Visit__26TCastToPtr<12CScriptTimer>FR20CScriptSpindleCamera": -/* 800A6FD0 000A3F30 38 00 00 00 */ li r0, 0 -/* 800A6FD4 000A3F34 90 03 00 04 */ stw r0, 4(r3) -/* 800A6FD8 000A3F38 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR15CSnakeWeedSwarm" -"Visit__26TCastToPtr<12CScriptTimer>FR15CSnakeWeedSwarm": -/* 800A6FDC 000A3F3C 38 00 00 00 */ li r0, 0 -/* 800A6FE0 000A3F40 90 03 00 04 */ stw r0, 4(r3) -/* 800A6FE4 000A3F44 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR15CScriptWaypoint" -"Visit__26TCastToPtr<12CScriptTimer>FR15CScriptWaypoint": -/* 800A6FE8 000A3F48 38 00 00 00 */ li r0, 0 -/* 800A6FEC 000A3F4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A6FF0 000A3F50 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR12CScriptWater" -"Visit__26TCastToPtr<12CScriptTimer>FR12CScriptWater": -/* 800A6FF4 000A3F54 38 00 00 00 */ li r0, 0 -/* 800A6FF8 000A3F58 90 03 00 04 */ stw r0, 4(r3) -/* 800A6FFC 000A3F5C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptVisorFlare" -"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptVisorFlare": -/* 800A7000 000A3F60 38 00 00 00 */ li r0, 0 -/* 800A7004 000A3F64 90 03 00 04 */ stw r0, 4(r3) -/* 800A7008 000A3F68 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR14CScriptTrigger" -"Visit__26TCastToPtr<12CScriptTimer>FR14CScriptTrigger": -/* 800A700C 000A3F6C 38 00 00 00 */ li r0, 0 -/* 800A7010 000A3F70 90 03 00 04 */ stw r0, 4(r3) -/* 800A7014 000A3F74 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR12CScriptTimer" -"Visit__26TCastToPtr<12CScriptTimer>FR12CScriptTimer": -/* 800A7018 000A3F78 90 83 00 04 */ stw r4, 4(r3) -/* 800A701C 000A3F7C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR10CTeamAiMgr" -"Visit__26TCastToPtr<12CScriptTimer>FR10CTeamAiMgr": -/* 800A7020 000A3F80 38 00 00 00 */ li r0, 0 -/* 800A7024 000A3F84 90 03 00 04 */ stw r0, 4(r3) -/* 800A7028 000A3F88 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR21CScriptTargetingPoint" -"Visit__26TCastToPtr<12CScriptTimer>FR21CScriptTargetingPoint": -/* 800A702C 000A3F8C 38 00 00 00 */ li r0, 0 -/* 800A7030 000A3F90 90 03 00 04 */ stw r0, 4(r3) -/* 800A7034 000A3F94 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR25CScriptSpiderBallWaypoint" -"Visit__26TCastToPtr<12CScriptTimer>FR25CScriptSpiderBallWaypoint": -/* 800A7038 000A3F98 38 00 00 00 */ li r0, 0 -/* 800A703C 000A3F9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7040 000A3FA0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR34CScriptSpiderBallAttractionSurface" -"Visit__26TCastToPtr<12CScriptTimer>FR34CScriptSpiderBallAttractionSurface": -/* 800A7044 000A3FA4 38 00 00 00 */ li r0, 0 -/* 800A7048 000A3FA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A704C 000A3FAC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR22CScriptSpecialFunction" -"Visit__26TCastToPtr<12CScriptTimer>FR22CScriptSpecialFunction": -/* 800A7050 000A3FB0 38 00 00 00 */ li r0, 0 -/* 800A7054 000A3FB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7058 000A3FB8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptSpawnPoint" -"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptSpawnPoint": -/* 800A705C 000A3FBC 38 00 00 00 */ li r0, 0 -/* 800A7060 000A3FC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7064 000A3FC4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR12CScriptSound" -"Visit__26TCastToPtr<12CScriptTimer>FR12CScriptSound": -/* 800A7068 000A3FC8 38 00 00 00 */ li r0, 0 -/* 800A706C 000A3FCC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7070 000A3FD0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR20CScriptRoomAcoustics" -"Visit__26TCastToPtr<12CScriptTimer>FR20CScriptRoomAcoustics": -/* 800A7074 000A3FD4 38 00 00 00 */ li r0, 0 -/* 800A7078 000A3FD8 90 03 00 04 */ stw r0, 4(r3) -/* 800A707C 000A3FDC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR22CScriptPointOfinterest" -"Visit__26TCastToPtr<12CScriptTimer>FR22CScriptPointOfinterest": -/* 800A7080 000A3FE0 38 00 00 00 */ li r0, 0 -/* 800A7084 000A3FE4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7088 000A3FE8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptPlayerHint" -"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptPlayerHint": -/* 800A708C 000A3FEC 38 00 00 00 */ li r0, 0 -/* 800A7090 000A3FF0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7094 000A3FF4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR15CScriptPlatform" -"Visit__26TCastToPtr<12CScriptTimer>FR15CScriptPlatform": -/* 800A7098 000A3FF8 38 00 00 00 */ li r0, 0 -/* 800A709C 000A3FFC 90 03 00 04 */ stw r0, 4(r3) -/* 800A70A0 000A4000 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR13CScriptPickup" -"Visit__26TCastToPtr<12CScriptTimer>FR13CScriptPickup": -/* 800A70A4 000A4004 38 00 00 00 */ li r0, 0 -/* 800A70A8 000A4008 90 03 00 04 */ stw r0, 4(r3) -/* 800A70AC 000A400C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR15CScriptMazeNode" -"Visit__26TCastToPtr<12CScriptTimer>FR15CScriptMazeNode": -/* 800A70B0 000A4010 38 00 00 00 */ li r0, 0 -/* 800A70B4 000A4014 90 03 00 04 */ stw r0, 4(r3) -/* 800A70B8 000A4018 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR16CScriptGunTurret" -"Visit__26TCastToPtr<12CScriptTimer>FR16CScriptGunTurret": -/* 800A70BC 000A401C 38 00 00 00 */ li r0, 0 -/* 800A70C0 000A4020 90 03 00 04 */ stw r0, 4(r3) -/* 800A70C4 000A4024 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR19CScriptGrapplePoint" -"Visit__26TCastToPtr<12CScriptTimer>FR19CScriptGrapplePoint": -/* 800A70C8 000A4028 38 00 00 00 */ li r0, 0 -/* 800A70CC 000A402C 90 03 00 04 */ stw r0, 4(r3) -/* 800A70D0 000A4030 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR13CScriptEffect" -"Visit__26TCastToPtr<12CScriptTimer>FR13CScriptEffect": -/* 800A70D4 000A4034 38 00 00 00 */ li r0, 0 -/* 800A70D8 000A4038 90 03 00 04 */ stw r0, 4(r3) -/* 800A70DC 000A403C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR11CScriptDoor" -"Visit__26TCastToPtr<12CScriptTimer>FR11CScriptDoor": -/* 800A70E0 000A4040 38 00 00 00 */ li r0, 0 -/* 800A70E4 000A4044 90 03 00 04 */ stw r0, 4(r3) -/* 800A70E8 000A4048 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR11CScriptDock" -"Visit__26TCastToPtr<12CScriptTimer>FR11CScriptDock": -/* 800A70EC 000A404C 38 00 00 00 */ li r0, 0 -/* 800A70F0 000A4050 90 03 00 04 */ stw r0, 4(r3) -/* 800A70F4 000A4054 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR18CScriptDistanceFog" -"Visit__26TCastToPtr<12CScriptTimer>FR18CScriptDistanceFog": -/* 800A70F8 000A4058 38 00 00 00 */ li r0, 0 -/* 800A70FC 000A405C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7100 000A4060 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR26CScriptDebugCameraWaypoint" -"Visit__26TCastToPtr<12CScriptTimer>FR26CScriptDebugCameraWaypoint": -/* 800A7104 000A4064 38 00 00 00 */ li r0, 0 -/* 800A7108 000A4068 90 03 00 04 */ stw r0, 4(r3) -/* 800A710C 000A406C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptCoverPoint" -"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptCoverPoint": -/* 800A7110 000A4070 38 00 00 00 */ li r0, 0 -/* 800A7114 000A4074 90 03 00 04 */ stw r0, 4(r3) -/* 800A7118 000A4078 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR21CScriptCameraWaypoint" -"Visit__26TCastToPtr<12CScriptTimer>FR21CScriptCameraWaypoint": -/* 800A711C 000A407C 38 00 00 00 */ li r0, 0 -/* 800A7120 000A4080 90 03 00 04 */ stw r0, 4(r3) -/* 800A7124 000A4084 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR24CScriptCameraPitchVolume" -"Visit__26TCastToPtr<12CScriptTimer>FR24CScriptCameraPitchVolume": -/* 800A7128 000A4088 38 00 00 00 */ li r0, 0 -/* 800A712C 000A408C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7130 000A4090 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR17CScriptCameraHint" -"Visit__26TCastToPtr<12CScriptTimer>FR17CScriptCameraHint": -/* 800A7134 000A4094 38 00 00 00 */ li r0, 0 -/* 800A7138 000A4098 90 03 00 04 */ stw r0, 4(r3) -/* 800A713C 000A409C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR18CScriptAiJumpPoint" -"Visit__26TCastToPtr<12CScriptTimer>FR18CScriptAiJumpPoint": -/* 800A7140 000A40A0 38 00 00 00 */ li r0, 0 -/* 800A7144 000A40A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7148 000A40A8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR20CScriptActorKeyframe" -"Visit__26TCastToPtr<12CScriptTimer>FR20CScriptActorKeyframe": -/* 800A714C 000A40AC 38 00 00 00 */ li r0, 0 -/* 800A7150 000A40B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7154 000A40B4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR12CScriptActor" -"Visit__26TCastToPtr<12CScriptTimer>FR12CScriptActor": -/* 800A7158 000A40B8 38 00 00 00 */ li r0, 0 -/* 800A715C 000A40BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7160 000A40C0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR9CRepulsor" -"Visit__26TCastToPtr<12CScriptTimer>FR9CRepulsor": -/* 800A7164 000A40C4 38 00 00 00 */ li r0, 0 -/* 800A7168 000A40C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A716C 000A40CC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR7CPlayer" -"Visit__26TCastToPtr<12CScriptTimer>FR7CPlayer": -/* 800A7170 000A40D0 38 00 00 00 */ li r0, 0 -/* 800A7174 000A40D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7178 000A40D8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR13CPhysicsActor" -"Visit__26TCastToPtr<12CScriptTimer>FR13CPhysicsActor": -/* 800A717C 000A40DC 38 00 00 00 */ li r0, 0 -/* 800A7180 000A40E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7184 000A40E4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR3CAi" -"Visit__26TCastToPtr<12CScriptTimer>FR3CAi": -/* 800A7188 000A40E8 38 00 00 00 */ li r0, 0 -/* 800A718C 000A40EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7190 000A40F0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR11CPathCamera" -"Visit__26TCastToPtr<12CScriptTimer>FR11CPathCamera": -/* 800A7194 000A40F4 38 00 00 00 */ li r0, 0 -/* 800A7198 000A40F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A719C 000A40FC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR18CMetroidPrimeRelay" -"Visit__26TCastToPtr<12CScriptTimer>FR18CMetroidPrimeRelay": -/* 800A71A0 000A4100 38 00 00 00 */ li r0, 0 -/* 800A71A4 000A4104 90 03 00 04 */ stw r0, 4(r3) -/* 800A71A8 000A4108 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR19CHUDBillboardEffect" -"Visit__26TCastToPtr<12CScriptTimer>FR19CHUDBillboardEffect": -/* 800A71AC 000A410C 38 00 00 00 */ li r0, 0 -/* 800A71B0 000A4110 90 03 00 04 */ stw r0, 4(r3) -/* 800A71B4 000A4114 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR15CGameProjectile" -"Visit__26TCastToPtr<12CScriptTimer>FR15CGameProjectile": -/* 800A71B8 000A4118 38 00 00 00 */ li r0, 0 -/* 800A71BC 000A411C 90 03 00 04 */ stw r0, 4(r3) -/* 800A71C0 000A4120 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR10CGameLight" -"Visit__26TCastToPtr<12CScriptTimer>FR10CGameLight": -/* 800A71C4 000A4124 38 00 00 00 */ li r0, 0 -/* 800A71C8 000A4128 90 03 00 04 */ stw r0, 4(r3) -/* 800A71CC 000A412C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR11CGameCamera" -"Visit__26TCastToPtr<12CScriptTimer>FR11CGameCamera": -/* 800A71D0 000A4130 38 00 00 00 */ li r0, 0 -/* 800A71D4 000A4134 90 03 00 04 */ stw r0, 4(r3) -/* 800A71D8 000A4138 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR10CFishCloud" -"Visit__26TCastToPtr<12CScriptTimer>FR10CFishCloud": -/* 800A71DC 000A413C 38 00 00 00 */ li r0, 0 -/* 800A71E0 000A4140 90 03 00 04 */ stw r0, 4(r3) -/* 800A71E4 000A4144 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR18CFirstPersonCamera" -"Visit__26TCastToPtr<12CScriptTimer>FR18CFirstPersonCamera": -/* 800A71E8 000A4148 38 00 00 00 */ li r0, 0 -/* 800A71EC 000A414C 90 03 00 04 */ stw r0, 4(r3) -/* 800A71F0 000A4150 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR10CExplosion" -"Visit__26TCastToPtr<12CScriptTimer>FR10CExplosion": -/* 800A71F4 000A4154 38 00 00 00 */ li r0, 0 -/* 800A71F8 000A4158 90 03 00 04 */ stw r0, 4(r3) -/* 800A71FC 000A415C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR7CEntity" -"Visit__26TCastToPtr<12CScriptTimer>FR7CEntity": -/* 800A7200 000A4160 38 00 00 00 */ li r0, 0 -/* 800A7204 000A4164 90 03 00 04 */ stw r0, 4(r3) -/* 800A7208 000A4168 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR17CEnergyProjectile" -"Visit__26TCastToPtr<12CScriptTimer>FR17CEnergyProjectile": -/* 800A720C 000A416C 38 00 00 00 */ li r0, 0 -/* 800A7210 000A4170 90 03 00 04 */ stw r0, 4(r3) -/* 800A7214 000A4174 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR16CDestroyableRock" -"Visit__26TCastToPtr<12CScriptTimer>FR16CDestroyableRock": -/* 800A7218 000A4178 38 00 00 00 */ li r0, 0 -/* 800A721C 000A417C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7220 000A4180 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR15CCollisionActor" -"Visit__26TCastToPtr<12CScriptTimer>FR15CCollisionActor": -/* 800A7224 000A4184 38 00 00 00 */ li r0, 0 -/* 800A7228 000A4188 90 03 00 04 */ stw r0, 4(r3) -/* 800A722C 000A418C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR16CCinematicCamera" -"Visit__26TCastToPtr<12CScriptTimer>FR16CCinematicCamera": -/* 800A7230 000A4190 38 00 00 00 */ li r0, 0 -/* 800A7234 000A4194 90 03 00 04 */ stw r0, 4(r3) -/* 800A7238 000A4198 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR5CBomb" -"Visit__26TCastToPtr<12CScriptTimer>FR5CBomb": -/* 800A723C 000A419C 38 00 00 00 */ li r0, 0 -/* 800A7240 000A41A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7244 000A41A4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR11CBallCamera" -"Visit__26TCastToPtr<12CScriptTimer>FR11CBallCamera": -/* 800A7248 000A41A8 38 00 00 00 */ li r0, 0 -/* 800A724C 000A41AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7250 000A41B0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptTimer>FR6CActor" -"Visit__26TCastToPtr<12CScriptTimer>FR6CActor": -/* 800A7254 000A41B4 38 00 00 00 */ li r0, 0 -/* 800A7258 000A41B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A725C 000A41BC 4E 80 00 20 */ blr - -.global "__ct__26TCastToPtr<12CScriptTimer>FP7CEntity" -"__ct__26TCastToPtr<12CScriptTimer>FP7CEntity": -/* 800A7260 000A41C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A7264 000A41C4 7C 08 02 A6 */ mflr r0 -/* 800A7268 000A41C8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A726C 000A41CC 3C A0 80 3E */ lis r5, lbl_803DE7F0@ha -/* 800A7270 000A41D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A7274 000A41D4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A7278 000A41D8 28 04 00 00 */ cmplwi r4, 0 -/* 800A727C 000A41DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A7280 000A41E0 7C 7F 1B 78 */ mr r31, r3 -/* 800A7284 000A41E4 38 65 E7 F0 */ addi r3, r5, lbl_803DE7F0@l -/* 800A7288 000A41E8 90 1F 00 00 */ stw r0, 0(r31) -/* 800A728C 000A41EC 38 00 00 00 */ li r0, 0 -/* 800A7290 000A41F0 90 7F 00 00 */ stw r3, 0(r31) -/* 800A7294 000A41F4 90 1F 00 04 */ stw r0, 4(r31) -/* 800A7298 000A41F8 41 82 00 1C */ beq lbl_800A72B4 -/* 800A729C 000A41FC 7C 83 23 78 */ mr r3, r4 -/* 800A72A0 000A4200 7F E4 FB 78 */ mr r4, r31 -/* 800A72A4 000A4204 81 83 00 00 */ lwz r12, 0(r3) -/* 800A72A8 000A4208 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A72AC 000A420C 7D 89 03 A6 */ mtctr r12 -/* 800A72B0 000A4210 4E 80 04 21 */ bctrl -lbl_800A72B4: -/* 800A72B4 000A4214 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A72B8 000A4218 7F E3 FB 78 */ mr r3, r31 -/* 800A72BC 000A421C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A72C0 000A4220 7C 08 03 A6 */ mtlr r0 -/* 800A72C4 000A4224 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A72C8 000A4228 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR7CWeapon" -"Visit__24TCastToPtr<10CTeamAiMgr>FR7CWeapon": -/* 800A72CC 000A422C 38 00 00 00 */ li r0, 0 -/* 800A72D0 000A4230 90 03 00 04 */ stw r0, 4(r3) -/* 800A72D4 000A4234 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CWallCrawlerSwarm" -"Visit__24TCastToPtr<10CTeamAiMgr>FR17CWallCrawlerSwarm": -/* 800A72D8 000A4238 38 00 00 00 */ li r0, 0 -/* 800A72DC 000A423C 90 03 00 04 */ stw r0, 4(r3) -/* 800A72E0 000A4240 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptSpindleCamera" -"Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptSpindleCamera": -/* 800A72E4 000A4244 38 00 00 00 */ li r0, 0 -/* 800A72E8 000A4248 90 03 00 04 */ stw r0, 4(r3) -/* 800A72EC 000A424C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CSnakeWeedSwarm" -"Visit__24TCastToPtr<10CTeamAiMgr>FR15CSnakeWeedSwarm": -/* 800A72F0 000A4250 38 00 00 00 */ li r0, 0 -/* 800A72F4 000A4254 90 03 00 04 */ stw r0, 4(r3) -/* 800A72F8 000A4258 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptWaypoint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptWaypoint": -/* 800A72FC 000A425C 38 00 00 00 */ li r0, 0 -/* 800A7300 000A4260 90 03 00 04 */ stw r0, 4(r3) -/* 800A7304 000A4264 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptWater" -"Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptWater": -/* 800A7308 000A4268 38 00 00 00 */ li r0, 0 -/* 800A730C 000A426C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7310 000A4270 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptVisorFlare" -"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptVisorFlare": -/* 800A7314 000A4274 38 00 00 00 */ li r0, 0 -/* 800A7318 000A4278 90 03 00 04 */ stw r0, 4(r3) -/* 800A731C 000A427C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR14CScriptTrigger" -"Visit__24TCastToPtr<10CTeamAiMgr>FR14CScriptTrigger": -/* 800A7320 000A4280 38 00 00 00 */ li r0, 0 -/* 800A7324 000A4284 90 03 00 04 */ stw r0, 4(r3) -/* 800A7328 000A4288 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptTimer" -"Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptTimer": -/* 800A732C 000A428C 38 00 00 00 */ li r0, 0 -/* 800A7330 000A4290 90 03 00 04 */ stw r0, 4(r3) -/* 800A7334 000A4294 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR10CTeamAiMgr" -"Visit__24TCastToPtr<10CTeamAiMgr>FR10CTeamAiMgr": -/* 800A7338 000A4298 90 83 00 04 */ stw r4, 4(r3) -/* 800A733C 000A429C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR21CScriptTargetingPoint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR21CScriptTargetingPoint": -/* 800A7340 000A42A0 38 00 00 00 */ li r0, 0 -/* 800A7344 000A42A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7348 000A42A8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR25CScriptSpiderBallWaypoint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR25CScriptSpiderBallWaypoint": -/* 800A734C 000A42AC 38 00 00 00 */ li r0, 0 -/* 800A7350 000A42B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7354 000A42B4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR34CScriptSpiderBallAttractionSurface" -"Visit__24TCastToPtr<10CTeamAiMgr>FR34CScriptSpiderBallAttractionSurface": -/* 800A7358 000A42B8 38 00 00 00 */ li r0, 0 -/* 800A735C 000A42BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7360 000A42C0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR22CScriptSpecialFunction" -"Visit__24TCastToPtr<10CTeamAiMgr>FR22CScriptSpecialFunction": -/* 800A7364 000A42C4 38 00 00 00 */ li r0, 0 -/* 800A7368 000A42C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A736C 000A42CC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptSpawnPoint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptSpawnPoint": -/* 800A7370 000A42D0 38 00 00 00 */ li r0, 0 -/* 800A7374 000A42D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7378 000A42D8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptSound" -"Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptSound": -/* 800A737C 000A42DC 38 00 00 00 */ li r0, 0 -/* 800A7380 000A42E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7384 000A42E4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptRoomAcoustics" -"Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptRoomAcoustics": -/* 800A7388 000A42E8 38 00 00 00 */ li r0, 0 -/* 800A738C 000A42EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7390 000A42F0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR22CScriptPointOfinterest" -"Visit__24TCastToPtr<10CTeamAiMgr>FR22CScriptPointOfinterest": -/* 800A7394 000A42F4 38 00 00 00 */ li r0, 0 -/* 800A7398 000A42F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A739C 000A42FC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptPlayerHint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptPlayerHint": -/* 800A73A0 000A4300 38 00 00 00 */ li r0, 0 -/* 800A73A4 000A4304 90 03 00 04 */ stw r0, 4(r3) -/* 800A73A8 000A4308 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptPlatform" -"Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptPlatform": -/* 800A73AC 000A430C 38 00 00 00 */ li r0, 0 -/* 800A73B0 000A4310 90 03 00 04 */ stw r0, 4(r3) -/* 800A73B4 000A4314 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR13CScriptPickup" -"Visit__24TCastToPtr<10CTeamAiMgr>FR13CScriptPickup": -/* 800A73B8 000A4318 38 00 00 00 */ li r0, 0 -/* 800A73BC 000A431C 90 03 00 04 */ stw r0, 4(r3) -/* 800A73C0 000A4320 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptMazeNode" -"Visit__24TCastToPtr<10CTeamAiMgr>FR15CScriptMazeNode": -/* 800A73C4 000A4324 38 00 00 00 */ li r0, 0 -/* 800A73C8 000A4328 90 03 00 04 */ stw r0, 4(r3) -/* 800A73CC 000A432C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR16CScriptGunTurret" -"Visit__24TCastToPtr<10CTeamAiMgr>FR16CScriptGunTurret": -/* 800A73D0 000A4330 38 00 00 00 */ li r0, 0 -/* 800A73D4 000A4334 90 03 00 04 */ stw r0, 4(r3) -/* 800A73D8 000A4338 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR19CScriptGrapplePoint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR19CScriptGrapplePoint": -/* 800A73DC 000A433C 38 00 00 00 */ li r0, 0 -/* 800A73E0 000A4340 90 03 00 04 */ stw r0, 4(r3) -/* 800A73E4 000A4344 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR13CScriptEffect" -"Visit__24TCastToPtr<10CTeamAiMgr>FR13CScriptEffect": -/* 800A73E8 000A4348 38 00 00 00 */ li r0, 0 -/* 800A73EC 000A434C 90 03 00 04 */ stw r0, 4(r3) -/* 800A73F0 000A4350 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CScriptDoor" -"Visit__24TCastToPtr<10CTeamAiMgr>FR11CScriptDoor": -/* 800A73F4 000A4354 38 00 00 00 */ li r0, 0 -/* 800A73F8 000A4358 90 03 00 04 */ stw r0, 4(r3) -/* 800A73FC 000A435C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CScriptDock" -"Visit__24TCastToPtr<10CTeamAiMgr>FR11CScriptDock": -/* 800A7400 000A4360 38 00 00 00 */ li r0, 0 -/* 800A7404 000A4364 90 03 00 04 */ stw r0, 4(r3) -/* 800A7408 000A4368 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR18CScriptDistanceFog" -"Visit__24TCastToPtr<10CTeamAiMgr>FR18CScriptDistanceFog": -/* 800A740C 000A436C 38 00 00 00 */ li r0, 0 -/* 800A7410 000A4370 90 03 00 04 */ stw r0, 4(r3) -/* 800A7414 000A4374 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR26CScriptDebugCameraWaypoint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR26CScriptDebugCameraWaypoint": -/* 800A7418 000A4378 38 00 00 00 */ li r0, 0 -/* 800A741C 000A437C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7420 000A4380 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptCoverPoint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptCoverPoint": -/* 800A7424 000A4384 38 00 00 00 */ li r0, 0 -/* 800A7428 000A4388 90 03 00 04 */ stw r0, 4(r3) -/* 800A742C 000A438C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR21CScriptCameraWaypoint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR21CScriptCameraWaypoint": -/* 800A7430 000A4390 38 00 00 00 */ li r0, 0 -/* 800A7434 000A4394 90 03 00 04 */ stw r0, 4(r3) -/* 800A7438 000A4398 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR24CScriptCameraPitchVolume" -"Visit__24TCastToPtr<10CTeamAiMgr>FR24CScriptCameraPitchVolume": -/* 800A743C 000A439C 38 00 00 00 */ li r0, 0 -/* 800A7440 000A43A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7444 000A43A4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptCameraHint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR17CScriptCameraHint": -/* 800A7448 000A43A8 38 00 00 00 */ li r0, 0 -/* 800A744C 000A43AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7450 000A43B0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR18CScriptAiJumpPoint" -"Visit__24TCastToPtr<10CTeamAiMgr>FR18CScriptAiJumpPoint": -/* 800A7454 000A43B4 38 00 00 00 */ li r0, 0 -/* 800A7458 000A43B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A745C 000A43BC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptActorKeyframe" -"Visit__24TCastToPtr<10CTeamAiMgr>FR20CScriptActorKeyframe": -/* 800A7460 000A43C0 38 00 00 00 */ li r0, 0 -/* 800A7464 000A43C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7468 000A43C8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptActor" -"Visit__24TCastToPtr<10CTeamAiMgr>FR12CScriptActor": -/* 800A746C 000A43CC 38 00 00 00 */ li r0, 0 -/* 800A7470 000A43D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7474 000A43D4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR9CRepulsor" -"Visit__24TCastToPtr<10CTeamAiMgr>FR9CRepulsor": -/* 800A7478 000A43D8 38 00 00 00 */ li r0, 0 -/* 800A747C 000A43DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7480 000A43E0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR7CPlayer" -"Visit__24TCastToPtr<10CTeamAiMgr>FR7CPlayer": -/* 800A7484 000A43E4 38 00 00 00 */ li r0, 0 -/* 800A7488 000A43E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A748C 000A43EC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR13CPhysicsActor" -"Visit__24TCastToPtr<10CTeamAiMgr>FR13CPhysicsActor": -/* 800A7490 000A43F0 38 00 00 00 */ li r0, 0 -/* 800A7494 000A43F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7498 000A43F8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR3CAi" -"Visit__24TCastToPtr<10CTeamAiMgr>FR3CAi": -/* 800A749C 000A43FC 38 00 00 00 */ li r0, 0 -/* 800A74A0 000A4400 90 03 00 04 */ stw r0, 4(r3) -/* 800A74A4 000A4404 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CPathCamera" -"Visit__24TCastToPtr<10CTeamAiMgr>FR11CPathCamera": -/* 800A74A8 000A4408 38 00 00 00 */ li r0, 0 -/* 800A74AC 000A440C 90 03 00 04 */ stw r0, 4(r3) -/* 800A74B0 000A4410 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR18CMetroidPrimeRelay" -"Visit__24TCastToPtr<10CTeamAiMgr>FR18CMetroidPrimeRelay": -/* 800A74B4 000A4414 38 00 00 00 */ li r0, 0 -/* 800A74B8 000A4418 90 03 00 04 */ stw r0, 4(r3) -/* 800A74BC 000A441C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR19CHUDBillboardEffect" -"Visit__24TCastToPtr<10CTeamAiMgr>FR19CHUDBillboardEffect": -/* 800A74C0 000A4420 38 00 00 00 */ li r0, 0 -/* 800A74C4 000A4424 90 03 00 04 */ stw r0, 4(r3) -/* 800A74C8 000A4428 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CGameProjectile" -"Visit__24TCastToPtr<10CTeamAiMgr>FR15CGameProjectile": -/* 800A74CC 000A442C 38 00 00 00 */ li r0, 0 -/* 800A74D0 000A4430 90 03 00 04 */ stw r0, 4(r3) -/* 800A74D4 000A4434 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR10CGameLight" -"Visit__24TCastToPtr<10CTeamAiMgr>FR10CGameLight": -/* 800A74D8 000A4438 38 00 00 00 */ li r0, 0 -/* 800A74DC 000A443C 90 03 00 04 */ stw r0, 4(r3) -/* 800A74E0 000A4440 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CGameCamera" -"Visit__24TCastToPtr<10CTeamAiMgr>FR11CGameCamera": -/* 800A74E4 000A4444 38 00 00 00 */ li r0, 0 -/* 800A74E8 000A4448 90 03 00 04 */ stw r0, 4(r3) -/* 800A74EC 000A444C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR10CFishCloud" -"Visit__24TCastToPtr<10CTeamAiMgr>FR10CFishCloud": -/* 800A74F0 000A4450 38 00 00 00 */ li r0, 0 -/* 800A74F4 000A4454 90 03 00 04 */ stw r0, 4(r3) -/* 800A74F8 000A4458 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR18CFirstPersonCamera" -"Visit__24TCastToPtr<10CTeamAiMgr>FR18CFirstPersonCamera": -/* 800A74FC 000A445C 38 00 00 00 */ li r0, 0 -/* 800A7500 000A4460 90 03 00 04 */ stw r0, 4(r3) -/* 800A7504 000A4464 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR10CExplosion" -"Visit__24TCastToPtr<10CTeamAiMgr>FR10CExplosion": -/* 800A7508 000A4468 38 00 00 00 */ li r0, 0 -/* 800A750C 000A446C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7510 000A4470 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR7CEntity" -"Visit__24TCastToPtr<10CTeamAiMgr>FR7CEntity": -/* 800A7514 000A4474 38 00 00 00 */ li r0, 0 -/* 800A7518 000A4478 90 03 00 04 */ stw r0, 4(r3) -/* 800A751C 000A447C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR17CEnergyProjectile" -"Visit__24TCastToPtr<10CTeamAiMgr>FR17CEnergyProjectile": -/* 800A7520 000A4480 38 00 00 00 */ li r0, 0 -/* 800A7524 000A4484 90 03 00 04 */ stw r0, 4(r3) -/* 800A7528 000A4488 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR16CDestroyableRock" -"Visit__24TCastToPtr<10CTeamAiMgr>FR16CDestroyableRock": -/* 800A752C 000A448C 38 00 00 00 */ li r0, 0 -/* 800A7530 000A4490 90 03 00 04 */ stw r0, 4(r3) -/* 800A7534 000A4494 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR15CCollisionActor" -"Visit__24TCastToPtr<10CTeamAiMgr>FR15CCollisionActor": -/* 800A7538 000A4498 38 00 00 00 */ li r0, 0 -/* 800A753C 000A449C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7540 000A44A0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR16CCinematicCamera" -"Visit__24TCastToPtr<10CTeamAiMgr>FR16CCinematicCamera": -/* 800A7544 000A44A4 38 00 00 00 */ li r0, 0 -/* 800A7548 000A44A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A754C 000A44AC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR5CBomb" -"Visit__24TCastToPtr<10CTeamAiMgr>FR5CBomb": -/* 800A7550 000A44B0 38 00 00 00 */ li r0, 0 -/* 800A7554 000A44B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7558 000A44B8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR11CBallCamera" -"Visit__24TCastToPtr<10CTeamAiMgr>FR11CBallCamera": -/* 800A755C 000A44BC 38 00 00 00 */ li r0, 0 -/* 800A7560 000A44C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7564 000A44C4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CTeamAiMgr>FR6CActor" -"Visit__24TCastToPtr<10CTeamAiMgr>FR6CActor": -/* 800A7568 000A44C8 38 00 00 00 */ li r0, 0 -/* 800A756C 000A44CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7570 000A44D0 4E 80 00 20 */ blr - -.global "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -"__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity": -/* 800A7574 000A44D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A7578 000A44D8 7C 08 02 A6 */ mflr r0 -/* 800A757C 000A44DC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A7580 000A44E0 3C A0 80 3E */ lis r5, lbl_803DE704@ha -/* 800A7584 000A44E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A7588 000A44E8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A758C 000A44EC 28 04 00 00 */ cmplwi r4, 0 -/* 800A7590 000A44F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A7594 000A44F4 7C 7F 1B 78 */ mr r31, r3 -/* 800A7598 000A44F8 38 65 E7 04 */ addi r3, r5, lbl_803DE704@l -/* 800A759C 000A44FC 90 1F 00 00 */ stw r0, 0(r31) -/* 800A75A0 000A4500 38 00 00 00 */ li r0, 0 -/* 800A75A4 000A4504 90 7F 00 00 */ stw r3, 0(r31) -/* 800A75A8 000A4508 90 1F 00 04 */ stw r0, 4(r31) -/* 800A75AC 000A450C 41 82 00 1C */ beq lbl_800A75C8 -/* 800A75B0 000A4510 7C 83 23 78 */ mr r3, r4 -/* 800A75B4 000A4514 7F E4 FB 78 */ mr r4, r31 -/* 800A75B8 000A4518 81 83 00 00 */ lwz r12, 0(r3) -/* 800A75BC 000A451C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A75C0 000A4520 7D 89 03 A6 */ mtctr r12 -/* 800A75C4 000A4524 4E 80 04 21 */ bctrl -lbl_800A75C8: -/* 800A75C8 000A4528 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A75CC 000A452C 7F E3 FB 78 */ mr r3, r31 -/* 800A75D0 000A4530 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A75D4 000A4534 7C 08 03 A6 */ mtlr r0 -/* 800A75D8 000A4538 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A75DC 000A453C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CWeapon" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CWeapon": -/* 800A75E0 000A4540 38 00 00 00 */ li r0, 0 -/* 800A75E4 000A4544 90 03 00 04 */ stw r0, 4(r3) -/* 800A75E8 000A4548 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CWallCrawlerSwarm" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CWallCrawlerSwarm": -/* 800A75EC 000A454C 38 00 00 00 */ li r0, 0 -/* 800A75F0 000A4550 90 03 00 04 */ stw r0, 4(r3) -/* 800A75F4 000A4554 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptSpindleCamera" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptSpindleCamera": -/* 800A75F8 000A4558 38 00 00 00 */ li r0, 0 -/* 800A75FC 000A455C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7600 000A4560 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CSnakeWeedSwarm" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CSnakeWeedSwarm": -/* 800A7604 000A4564 38 00 00 00 */ li r0, 0 -/* 800A7608 000A4568 90 03 00 04 */ stw r0, 4(r3) -/* 800A760C 000A456C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptWaypoint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptWaypoint": -/* 800A7610 000A4570 38 00 00 00 */ li r0, 0 -/* 800A7614 000A4574 90 03 00 04 */ stw r0, 4(r3) -/* 800A7618 000A4578 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptWater" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptWater": -/* 800A761C 000A457C 38 00 00 00 */ li r0, 0 -/* 800A7620 000A4580 90 03 00 04 */ stw r0, 4(r3) -/* 800A7624 000A4584 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptVisorFlare" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptVisorFlare": -/* 800A7628 000A4588 38 00 00 00 */ li r0, 0 -/* 800A762C 000A458C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7630 000A4590 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR14CScriptTrigger" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR14CScriptTrigger": -/* 800A7634 000A4594 38 00 00 00 */ li r0, 0 -/* 800A7638 000A4598 90 03 00 04 */ stw r0, 4(r3) -/* 800A763C 000A459C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptTimer" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptTimer": -/* 800A7640 000A45A0 38 00 00 00 */ li r0, 0 -/* 800A7644 000A45A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7648 000A45A8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CTeamAiMgr" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CTeamAiMgr": -/* 800A764C 000A45AC 38 00 00 00 */ li r0, 0 -/* 800A7650 000A45B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7654 000A45B4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR21CScriptTargetingPoint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR21CScriptTargetingPoint": -/* 800A7658 000A45B8 90 83 00 04 */ stw r4, 4(r3) -/* 800A765C 000A45BC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR25CScriptSpiderBallWaypoint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR25CScriptSpiderBallWaypoint": -/* 800A7660 000A45C0 38 00 00 00 */ li r0, 0 -/* 800A7664 000A45C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7668 000A45C8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR34CScriptSpiderBallAttractionSurface" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR34CScriptSpiderBallAttractionSurface": -/* 800A766C 000A45CC 38 00 00 00 */ li r0, 0 -/* 800A7670 000A45D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7674 000A45D4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR22CScriptSpecialFunction" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR22CScriptSpecialFunction": -/* 800A7678 000A45D8 38 00 00 00 */ li r0, 0 -/* 800A767C 000A45DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7680 000A45E0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptSpawnPoint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptSpawnPoint": -/* 800A7684 000A45E4 38 00 00 00 */ li r0, 0 -/* 800A7688 000A45E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A768C 000A45EC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptSound" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptSound": -/* 800A7690 000A45F0 38 00 00 00 */ li r0, 0 -/* 800A7694 000A45F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7698 000A45F8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptRoomAcoustics" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptRoomAcoustics": -/* 800A769C 000A45FC 38 00 00 00 */ li r0, 0 -/* 800A76A0 000A4600 90 03 00 04 */ stw r0, 4(r3) -/* 800A76A4 000A4604 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR22CScriptPointOfInterest" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR22CScriptPointOfInterest": -/* 800A76A8 000A4608 38 00 00 00 */ li r0, 0 -/* 800A76AC 000A460C 90 03 00 04 */ stw r0, 4(r3) -/* 800A76B0 000A4610 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptPlayerHint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptPlayerHint": -/* 800A76B4 000A4614 38 00 00 00 */ li r0, 0 -/* 800A76B8 000A4618 90 03 00 04 */ stw r0, 4(r3) -/* 800A76BC 000A461C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptPlatform" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptPlatform": -/* 800A76C0 000A4620 38 00 00 00 */ li r0, 0 -/* 800A76C4 000A4624 90 03 00 04 */ stw r0, 4(r3) -/* 800A76C8 000A4628 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CScriptPickup" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CScriptPickup": -/* 800A76CC 000A462C 38 00 00 00 */ li r0, 0 -/* 800A76D0 000A4630 90 03 00 04 */ stw r0, 4(r3) -/* 800A76D4 000A4634 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptMazeNode" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CScriptMazeNode": -/* 800A76D8 000A4638 38 00 00 00 */ li r0, 0 -/* 800A76DC 000A463C 90 03 00 04 */ stw r0, 4(r3) -/* 800A76E0 000A4640 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CScriptGunTurret" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CScriptGunTurret": -/* 800A76E4 000A4644 38 00 00 00 */ li r0, 0 -/* 800A76E8 000A4648 90 03 00 04 */ stw r0, 4(r3) -/* 800A76EC 000A464C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR19CScriptGrapplePoint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR19CScriptGrapplePoint": -/* 800A76F0 000A4650 38 00 00 00 */ li r0, 0 -/* 800A76F4 000A4654 90 03 00 04 */ stw r0, 4(r3) -/* 800A76F8 000A4658 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CScriptEffect" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CScriptEffect": -/* 800A76FC 000A465C 38 00 00 00 */ li r0, 0 -/* 800A7700 000A4660 90 03 00 04 */ stw r0, 4(r3) -/* 800A7704 000A4664 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CScriptDoor" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CScriptDoor": -/* 800A7708 000A4668 38 00 00 00 */ li r0, 0 -/* 800A770C 000A466C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7710 000A4670 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CScriptDock" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CScriptDock": -/* 800A7714 000A4674 38 00 00 00 */ li r0, 0 -/* 800A7718 000A4678 90 03 00 04 */ stw r0, 4(r3) -/* 800A771C 000A467C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CScriptDistanceFog" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CScriptDistanceFog": -/* 800A7720 000A4680 38 00 00 00 */ li r0, 0 -/* 800A7724 000A4684 90 03 00 04 */ stw r0, 4(r3) -/* 800A7728 000A4688 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR26CScriptDebugCameraWaypoint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR26CScriptDebugCameraWaypoint": -/* 800A772C 000A468C 38 00 00 00 */ li r0, 0 -/* 800A7730 000A4690 90 03 00 04 */ stw r0, 4(r3) -/* 800A7734 000A4694 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptCoverPoint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptCoverPoint": -/* 800A7738 000A4698 38 00 00 00 */ li r0, 0 -/* 800A773C 000A469C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7740 000A46A0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR21CScriptCameraWaypoint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR21CScriptCameraWaypoint": -/* 800A7744 000A46A4 38 00 00 00 */ li r0, 0 -/* 800A7748 000A46A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A774C 000A46AC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR24CScriptCameraPitchVolume" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR24CScriptCameraPitchVolume": -/* 800A7750 000A46B0 38 00 00 00 */ li r0, 0 -/* 800A7754 000A46B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7758 000A46B8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptCameraHint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CScriptCameraHint": -/* 800A775C 000A46BC 38 00 00 00 */ li r0, 0 -/* 800A7760 000A46C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7764 000A46C4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CScriptAiJumpPoint" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CScriptAiJumpPoint": -/* 800A7768 000A46C8 38 00 00 00 */ li r0, 0 -/* 800A776C 000A46CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7770 000A46D0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptActorKeyframe" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR20CScriptActorKeyframe": -/* 800A7774 000A46D4 38 00 00 00 */ li r0, 0 -/* 800A7778 000A46D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A777C 000A46DC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptActor" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR12CScriptActor": -/* 800A7780 000A46E0 38 00 00 00 */ li r0, 0 -/* 800A7784 000A46E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7788 000A46E8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR9CRepulsor" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR9CRepulsor": -/* 800A778C 000A46EC 38 00 00 00 */ li r0, 0 -/* 800A7790 000A46F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7794 000A46F4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CPlayer" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CPlayer": -/* 800A7798 000A46F8 38 00 00 00 */ li r0, 0 -/* 800A779C 000A46FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A77A0 000A4700 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CPhysicsActor" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR13CPhysicsActor": -/* 800A77A4 000A4704 38 00 00 00 */ li r0, 0 -/* 800A77A8 000A4708 90 03 00 04 */ stw r0, 4(r3) -/* 800A77AC 000A470C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR3CAi" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR3CAi": -/* 800A77B0 000A4710 38 00 00 00 */ li r0, 0 -/* 800A77B4 000A4714 90 03 00 04 */ stw r0, 4(r3) -/* 800A77B8 000A4718 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CPathCamera" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CPathCamera": -/* 800A77BC 000A471C 38 00 00 00 */ li r0, 0 -/* 800A77C0 000A4720 90 03 00 04 */ stw r0, 4(r3) -/* 800A77C4 000A4724 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CMetroidPrimeRelay" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CMetroidPrimeRelay": -/* 800A77C8 000A4728 38 00 00 00 */ li r0, 0 -/* 800A77CC 000A472C 90 03 00 04 */ stw r0, 4(r3) -/* 800A77D0 000A4730 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR19CHUDBillboardEffect" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR19CHUDBillboardEffect": -/* 800A77D4 000A4734 38 00 00 00 */ li r0, 0 -/* 800A77D8 000A4738 90 03 00 04 */ stw r0, 4(r3) -/* 800A77DC 000A473C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CGameProjectile" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CGameProjectile": -/* 800A77E0 000A4740 38 00 00 00 */ li r0, 0 -/* 800A77E4 000A4744 90 03 00 04 */ stw r0, 4(r3) -/* 800A77E8 000A4748 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CGameLight" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CGameLight": -/* 800A77EC 000A474C 38 00 00 00 */ li r0, 0 -/* 800A77F0 000A4750 90 03 00 04 */ stw r0, 4(r3) -/* 800A77F4 000A4754 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CGameCamera" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CGameCamera": -/* 800A77F8 000A4758 38 00 00 00 */ li r0, 0 -/* 800A77FC 000A475C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7800 000A4760 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CFishCloud" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CFishCloud": -/* 800A7804 000A4764 38 00 00 00 */ li r0, 0 -/* 800A7808 000A4768 90 03 00 04 */ stw r0, 4(r3) -/* 800A780C 000A476C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CFirstPersonCamera" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR18CFirstPersonCamera": -/* 800A7810 000A4770 38 00 00 00 */ li r0, 0 -/* 800A7814 000A4774 90 03 00 04 */ stw r0, 4(r3) -/* 800A7818 000A4778 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CExplosion" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR10CExplosion": -/* 800A781C 000A477C 38 00 00 00 */ li r0, 0 -/* 800A7820 000A4780 90 03 00 04 */ stw r0, 4(r3) -/* 800A7824 000A4784 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CEntity" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR7CEntity": -/* 800A7828 000A4788 38 00 00 00 */ li r0, 0 -/* 800A782C 000A478C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7830 000A4790 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CEnergyProjectile" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR17CEnergyProjectile": -/* 800A7834 000A4794 38 00 00 00 */ li r0, 0 -/* 800A7838 000A4798 90 03 00 04 */ stw r0, 4(r3) -/* 800A783C 000A479C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CDestroyableRock" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CDestroyableRock": -/* 800A7840 000A47A0 38 00 00 00 */ li r0, 0 -/* 800A7844 000A47A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7848 000A47A8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CCollisionActor" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR15CCollisionActor": -/* 800A784C 000A47AC 38 00 00 00 */ li r0, 0 -/* 800A7850 000A47B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7854 000A47B4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CCinematicCamera" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR16CCinematicCamera": -/* 800A7858 000A47B8 38 00 00 00 */ li r0, 0 -/* 800A785C 000A47BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7860 000A47C0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR5CBomb" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR5CBomb": -/* 800A7864 000A47C4 38 00 00 00 */ li r0, 0 -/* 800A7868 000A47C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A786C 000A47CC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CBallCamera" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR11CBallCamera": -/* 800A7870 000A47D0 38 00 00 00 */ li r0, 0 -/* 800A7874 000A47D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7878 000A47D8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptTargetingPoint>FR6CActor" -"Visit__35TCastToPtr<21CScriptTargetingPoint>FR6CActor": -/* 800A787C 000A47DC 38 00 00 00 */ li r0, 0 -/* 800A7880 000A47E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7884 000A47E4 4E 80 00 20 */ blr - -.global "__ct__35TCastToPtr<21CScriptTargetingPoint>FP7CEntity" -"__ct__35TCastToPtr<21CScriptTargetingPoint>FP7CEntity": -/* 800A7888 000A47E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A788C 000A47EC 7C 08 02 A6 */ mflr r0 -/* 800A7890 000A47F0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A7894 000A47F4 3C A0 80 3E */ lis r5, lbl_803DE618@ha -/* 800A7898 000A47F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A789C 000A47FC 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A78A0 000A4800 28 04 00 00 */ cmplwi r4, 0 -/* 800A78A4 000A4804 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A78A8 000A4808 7C 7F 1B 78 */ mr r31, r3 -/* 800A78AC 000A480C 38 65 E6 18 */ addi r3, r5, lbl_803DE618@l -/* 800A78B0 000A4810 90 1F 00 00 */ stw r0, 0(r31) -/* 800A78B4 000A4814 38 00 00 00 */ li r0, 0 -/* 800A78B8 000A4818 90 7F 00 00 */ stw r3, 0(r31) -/* 800A78BC 000A481C 90 1F 00 04 */ stw r0, 4(r31) -/* 800A78C0 000A4820 41 82 00 1C */ beq lbl_800A78DC -/* 800A78C4 000A4824 7C 83 23 78 */ mr r3, r4 -/* 800A78C8 000A4828 7F E4 FB 78 */ mr r4, r31 -/* 800A78CC 000A482C 81 83 00 00 */ lwz r12, 0(r3) -/* 800A78D0 000A4830 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A78D4 000A4834 7D 89 03 A6 */ mtctr r12 -/* 800A78D8 000A4838 4E 80 04 21 */ bctrl -lbl_800A78DC: -/* 800A78DC 000A483C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A78E0 000A4840 7F E3 FB 78 */ mr r3, r31 -/* 800A78E4 000A4844 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A78E8 000A4848 7C 08 03 A6 */ mtlr r0 -/* 800A78EC 000A484C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A78F0 000A4850 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CWeapon" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CWeapon": -/* 800A78F4 000A4854 38 00 00 00 */ li r0, 0 -/* 800A78F8 000A4858 90 03 00 04 */ stw r0, 4(r3) -/* 800A78FC 000A485C 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CWallCrawlerSwarm" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CWallCrawlerSwarm": -/* 800A7900 000A4860 38 00 00 00 */ li r0, 0 -/* 800A7904 000A4864 90 03 00 04 */ stw r0, 4(r3) -/* 800A7908 000A4868 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptSpindleCamera" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptSpindleCamera": -/* 800A790C 000A486C 38 00 00 00 */ li r0, 0 -/* 800A7910 000A4870 90 03 00 04 */ stw r0, 4(r3) -/* 800A7914 000A4874 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CSnakeWeedSwarm" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CSnakeWeedSwarm": -/* 800A7918 000A4878 38 00 00 00 */ li r0, 0 -/* 800A791C 000A487C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7920 000A4880 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptWaypoint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptWaypoint": -/* 800A7924 000A4884 38 00 00 00 */ li r0, 0 -/* 800A7928 000A4888 90 03 00 04 */ stw r0, 4(r3) -/* 800A792C 000A488C 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptWater" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptWater": -/* 800A7930 000A4890 38 00 00 00 */ li r0, 0 -/* 800A7934 000A4894 90 03 00 04 */ stw r0, 4(r3) -/* 800A7938 000A4898 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptVisorFlare" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptVisorFlare": -/* 800A793C 000A489C 38 00 00 00 */ li r0, 0 -/* 800A7940 000A48A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7944 000A48A4 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR14CScriptTrigger" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR14CScriptTrigger": -/* 800A7948 000A48A8 38 00 00 00 */ li r0, 0 -/* 800A794C 000A48AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7950 000A48B0 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptTimer" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptTimer": -/* 800A7954 000A48B4 38 00 00 00 */ li r0, 0 -/* 800A7958 000A48B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A795C 000A48BC 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CTeamAiMgr" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CTeamAiMgr": -/* 800A7960 000A48C0 38 00 00 00 */ li r0, 0 -/* 800A7964 000A48C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7968 000A48C8 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR21CScriptTargetingPoint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR21CScriptTargetingPoint": -/* 800A796C 000A48CC 38 00 00 00 */ li r0, 0 -/* 800A7970 000A48D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7974 000A48D4 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR25CScriptSpiderBallWaypoint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR25CScriptSpiderBallWaypoint": -/* 800A7978 000A48D8 90 83 00 04 */ stw r4, 4(r3) -/* 800A797C 000A48DC 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR34CScriptSpiderBallAttractionSurface" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR34CScriptSpiderBallAttractionSurface": -/* 800A7980 000A48E0 38 00 00 00 */ li r0, 0 -/* 800A7984 000A48E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7988 000A48E8 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR22CScriptSpecialFunction" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR22CScriptSpecialFunction": -/* 800A798C 000A48EC 38 00 00 00 */ li r0, 0 -/* 800A7990 000A48F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7994 000A48F4 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptSpawnPoint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptSpawnPoint": -/* 800A7998 000A48F8 38 00 00 00 */ li r0, 0 -/* 800A799C 000A48FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A79A0 000A4900 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptSound" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptSound": -/* 800A79A4 000A4904 38 00 00 00 */ li r0, 0 -/* 800A79A8 000A4908 90 03 00 04 */ stw r0, 4(r3) -/* 800A79AC 000A490C 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptRoomAcoustics" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptRoomAcoustics": -/* 800A79B0 000A4910 38 00 00 00 */ li r0, 0 -/* 800A79B4 000A4914 90 03 00 04 */ stw r0, 4(r3) -/* 800A79B8 000A4918 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR22CScriptPointOfinterest" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR22CScriptPointOfinterest": -/* 800A79BC 000A491C 38 00 00 00 */ li r0, 0 -/* 800A79C0 000A4920 90 03 00 04 */ stw r0, 4(r3) -/* 800A79C4 000A4924 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptPlayerHint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptPlayerHint": -/* 800A79C8 000A4928 38 00 00 00 */ li r0, 0 -/* 800A79CC 000A492C 90 03 00 04 */ stw r0, 4(r3) -/* 800A79D0 000A4930 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptPlatform" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptPlatform": -/* 800A79D4 000A4934 38 00 00 00 */ li r0, 0 -/* 800A79D8 000A4938 90 03 00 04 */ stw r0, 4(r3) -/* 800A79DC 000A493C 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CScriptPickup" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CScriptPickup": -/* 800A79E0 000A4940 38 00 00 00 */ li r0, 0 -/* 800A79E4 000A4944 90 03 00 04 */ stw r0, 4(r3) -/* 800A79E8 000A4948 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptMazeNode" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CScriptMazeNode": -/* 800A79EC 000A494C 38 00 00 00 */ li r0, 0 -/* 800A79F0 000A4950 90 03 00 04 */ stw r0, 4(r3) -/* 800A79F4 000A4954 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CScriptGunTurret" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CScriptGunTurret": -/* 800A79F8 000A4958 38 00 00 00 */ li r0, 0 -/* 800A79FC 000A495C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A00 000A4960 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR19CScriptGrapplePoint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR19CScriptGrapplePoint": -/* 800A7A04 000A4964 38 00 00 00 */ li r0, 0 -/* 800A7A08 000A4968 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A0C 000A496C 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CScriptEffect" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CScriptEffect": -/* 800A7A10 000A4970 38 00 00 00 */ li r0, 0 -/* 800A7A14 000A4974 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A18 000A4978 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CScriptDoor" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CScriptDoor": -/* 800A7A1C 000A497C 38 00 00 00 */ li r0, 0 -/* 800A7A20 000A4980 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A24 000A4984 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CScriptDock" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CScriptDock": -/* 800A7A28 000A4988 38 00 00 00 */ li r0, 0 -/* 800A7A2C 000A498C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A30 000A4990 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CScriptDistanceFog" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CScriptDistanceFog": -/* 800A7A34 000A4994 38 00 00 00 */ li r0, 0 -/* 800A7A38 000A4998 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A3C 000A499C 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR26CScriptDebugCameraWaypoint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR26CScriptDebugCameraWaypoint": -/* 800A7A40 000A49A0 38 00 00 00 */ li r0, 0 -/* 800A7A44 000A49A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A48 000A49A8 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptCoverPoint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptCoverPoint": -/* 800A7A4C 000A49AC 38 00 00 00 */ li r0, 0 -/* 800A7A50 000A49B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A54 000A49B4 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR21CScriptCameraWaypoint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR21CScriptCameraWaypoint": -/* 800A7A58 000A49B8 38 00 00 00 */ li r0, 0 -/* 800A7A5C 000A49BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A60 000A49C0 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR24CScriptCameraPitchVolume" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR24CScriptCameraPitchVolume": -/* 800A7A64 000A49C4 38 00 00 00 */ li r0, 0 -/* 800A7A68 000A49C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A6C 000A49CC 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptCameraHint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CScriptCameraHint": -/* 800A7A70 000A49D0 38 00 00 00 */ li r0, 0 -/* 800A7A74 000A49D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A78 000A49D8 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CScriptAiJumpPoint" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CScriptAiJumpPoint": -/* 800A7A7C 000A49DC 38 00 00 00 */ li r0, 0 -/* 800A7A80 000A49E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A84 000A49E4 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptActorKeyframe" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR20CScriptActorKeyframe": -/* 800A7A88 000A49E8 38 00 00 00 */ li r0, 0 -/* 800A7A8C 000A49EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A90 000A49F0 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptActor" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR12CScriptActor": -/* 800A7A94 000A49F4 38 00 00 00 */ li r0, 0 -/* 800A7A98 000A49F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7A9C 000A49FC 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR9CRepulsor" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR9CRepulsor": -/* 800A7AA0 000A4A00 38 00 00 00 */ li r0, 0 -/* 800A7AA4 000A4A04 90 03 00 04 */ stw r0, 4(r3) -/* 800A7AA8 000A4A08 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CPlayer" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CPlayer": -/* 800A7AAC 000A4A0C 38 00 00 00 */ li r0, 0 -/* 800A7AB0 000A4A10 90 03 00 04 */ stw r0, 4(r3) -/* 800A7AB4 000A4A14 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CPhysicsActor" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR13CPhysicsActor": -/* 800A7AB8 000A4A18 38 00 00 00 */ li r0, 0 -/* 800A7ABC 000A4A1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7AC0 000A4A20 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR3CAi" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR3CAi": -/* 800A7AC4 000A4A24 38 00 00 00 */ li r0, 0 -/* 800A7AC8 000A4A28 90 03 00 04 */ stw r0, 4(r3) -/* 800A7ACC 000A4A2C 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CPathCamera" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CPathCamera": -/* 800A7AD0 000A4A30 38 00 00 00 */ li r0, 0 -/* 800A7AD4 000A4A34 90 03 00 04 */ stw r0, 4(r3) -/* 800A7AD8 000A4A38 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CMetroidPrimeRelay" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CMetroidPrimeRelay": -/* 800A7ADC 000A4A3C 38 00 00 00 */ li r0, 0 -/* 800A7AE0 000A4A40 90 03 00 04 */ stw r0, 4(r3) -/* 800A7AE4 000A4A44 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR19CHUDBillboardEffect" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR19CHUDBillboardEffect": -/* 800A7AE8 000A4A48 38 00 00 00 */ li r0, 0 -/* 800A7AEC 000A4A4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7AF0 000A4A50 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CGameProjectile" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CGameProjectile": -/* 800A7AF4 000A4A54 38 00 00 00 */ li r0, 0 -/* 800A7AF8 000A4A58 90 03 00 04 */ stw r0, 4(r3) -/* 800A7AFC 000A4A5C 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CGameLight" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CGameLight": -/* 800A7B00 000A4A60 38 00 00 00 */ li r0, 0 -/* 800A7B04 000A4A64 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B08 000A4A68 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CGameCamera" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CGameCamera": -/* 800A7B0C 000A4A6C 38 00 00 00 */ li r0, 0 -/* 800A7B10 000A4A70 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B14 000A4A74 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CFishCloud" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CFishCloud": -/* 800A7B18 000A4A78 38 00 00 00 */ li r0, 0 -/* 800A7B1C 000A4A7C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B20 000A4A80 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CFirstPersonCamera" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR18CFirstPersonCamera": -/* 800A7B24 000A4A84 38 00 00 00 */ li r0, 0 -/* 800A7B28 000A4A88 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B2C 000A4A8C 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CExplosion" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR10CExplosion": -/* 800A7B30 000A4A90 38 00 00 00 */ li r0, 0 -/* 800A7B34 000A4A94 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B38 000A4A98 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CEntity" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR7CEntity": -/* 800A7B3C 000A4A9C 38 00 00 00 */ li r0, 0 -/* 800A7B40 000A4AA0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B44 000A4AA4 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CEnergyProjectile" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR17CEnergyProjectile": -/* 800A7B48 000A4AA8 38 00 00 00 */ li r0, 0 -/* 800A7B4C 000A4AAC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B50 000A4AB0 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CDestroyableRock" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CDestroyableRock": -/* 800A7B54 000A4AB4 38 00 00 00 */ li r0, 0 -/* 800A7B58 000A4AB8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B5C 000A4ABC 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CCollisionActor" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR15CCollisionActor": -/* 800A7B60 000A4AC0 38 00 00 00 */ li r0, 0 -/* 800A7B64 000A4AC4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B68 000A4AC8 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CCinematicCamera" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR16CCinematicCamera": -/* 800A7B6C 000A4ACC 38 00 00 00 */ li r0, 0 -/* 800A7B70 000A4AD0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B74 000A4AD4 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR5CBomb" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR5CBomb": -/* 800A7B78 000A4AD8 38 00 00 00 */ li r0, 0 -/* 800A7B7C 000A4ADC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B80 000A4AE0 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CBallCamera" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR11CBallCamera": -/* 800A7B84 000A4AE4 38 00 00 00 */ li r0, 0 -/* 800A7B88 000A4AE8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B8C 000A4AEC 4E 80 00 20 */ blr - -.global "Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR6CActor" -"Visit__39TCastToPtr<25CScriptSpiderBallWaypoint>FR6CActor": -/* 800A7B90 000A4AF0 38 00 00 00 */ li r0, 0 -/* 800A7B94 000A4AF4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7B98 000A4AF8 4E 80 00 20 */ blr - -.global "__ct__39TCastToPtr<25CScriptSpiderBallWaypoint>FP7CEntity" -"__ct__39TCastToPtr<25CScriptSpiderBallWaypoint>FP7CEntity": -/* 800A7B9C 000A4AFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A7BA0 000A4B00 7C 08 02 A6 */ mflr r0 -/* 800A7BA4 000A4B04 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A7BA8 000A4B08 3C A0 80 3E */ lis r5, lbl_803DE52C@ha -/* 800A7BAC 000A4B0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A7BB0 000A4B10 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A7BB4 000A4B14 28 04 00 00 */ cmplwi r4, 0 -/* 800A7BB8 000A4B18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A7BBC 000A4B1C 7C 7F 1B 78 */ mr r31, r3 -/* 800A7BC0 000A4B20 38 65 E5 2C */ addi r3, r5, lbl_803DE52C@l -/* 800A7BC4 000A4B24 90 1F 00 00 */ stw r0, 0(r31) -/* 800A7BC8 000A4B28 38 00 00 00 */ li r0, 0 -/* 800A7BCC 000A4B2C 90 7F 00 00 */ stw r3, 0(r31) -/* 800A7BD0 000A4B30 90 1F 00 04 */ stw r0, 4(r31) -/* 800A7BD4 000A4B34 41 82 00 1C */ beq lbl_800A7BF0 -/* 800A7BD8 000A4B38 7C 83 23 78 */ mr r3, r4 -/* 800A7BDC 000A4B3C 7F E4 FB 78 */ mr r4, r31 -/* 800A7BE0 000A4B40 81 83 00 00 */ lwz r12, 0(r3) -/* 800A7BE4 000A4B44 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A7BE8 000A4B48 7D 89 03 A6 */ mtctr r12 -/* 800A7BEC 000A4B4C 4E 80 04 21 */ bctrl -lbl_800A7BF0: -/* 800A7BF0 000A4B50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A7BF4 000A4B54 7F E3 FB 78 */ mr r3, r31 -/* 800A7BF8 000A4B58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A7BFC 000A4B5C 7C 08 03 A6 */ mtlr r0 -/* 800A7C00 000A4B60 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A7C04 000A4B64 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CWeapon" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CWeapon": -/* 800A7C08 000A4B68 38 00 00 00 */ li r0, 0 -/* 800A7C0C 000A4B6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C10 000A4B70 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CWallCrawlerSwarm" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CWallCrawlerSwarm": -/* 800A7C14 000A4B74 38 00 00 00 */ li r0, 0 -/* 800A7C18 000A4B78 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C1C 000A4B7C 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptSpindleCamera" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptSpindleCamera": -/* 800A7C20 000A4B80 38 00 00 00 */ li r0, 0 -/* 800A7C24 000A4B84 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C28 000A4B88 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CSnakeWeedSwarm" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CSnakeWeedSwarm": -/* 800A7C2C 000A4B8C 38 00 00 00 */ li r0, 0 -/* 800A7C30 000A4B90 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C34 000A4B94 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptWaypoint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptWaypoint": -/* 800A7C38 000A4B98 38 00 00 00 */ li r0, 0 -/* 800A7C3C 000A4B9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C40 000A4BA0 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptWater" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptWater": -/* 800A7C44 000A4BA4 38 00 00 00 */ li r0, 0 -/* 800A7C48 000A4BA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C4C 000A4BAC 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptVisorFlare" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptVisorFlare": -/* 800A7C50 000A4BB0 38 00 00 00 */ li r0, 0 -/* 800A7C54 000A4BB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C58 000A4BB8 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR14CScriptTrigger" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR14CScriptTrigger": -/* 800A7C5C 000A4BBC 38 00 00 00 */ li r0, 0 -/* 800A7C60 000A4BC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C64 000A4BC4 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptTimer" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptTimer": -/* 800A7C68 000A4BC8 38 00 00 00 */ li r0, 0 -/* 800A7C6C 000A4BCC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C70 000A4BD0 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CTeamAiMgr" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CTeamAiMgr": -/* 800A7C74 000A4BD4 38 00 00 00 */ li r0, 0 -/* 800A7C78 000A4BD8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C7C 000A4BDC 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR21CScriptTargetingPoint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR21CScriptTargetingPoint": -/* 800A7C80 000A4BE0 38 00 00 00 */ li r0, 0 -/* 800A7C84 000A4BE4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C88 000A4BE8 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR25CScriptSpiderBallWaypoint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR25CScriptSpiderBallWaypoint": -/* 800A7C8C 000A4BEC 38 00 00 00 */ li r0, 0 -/* 800A7C90 000A4BF0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7C94 000A4BF4 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR34CScriptSpiderBallAttractionSurface" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR34CScriptSpiderBallAttractionSurface": -/* 800A7C98 000A4BF8 90 83 00 04 */ stw r4, 4(r3) -/* 800A7C9C 000A4BFC 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR22CScriptSpecialFunction" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR22CScriptSpecialFunction": -/* 800A7CA0 000A4C00 38 00 00 00 */ li r0, 0 -/* 800A7CA4 000A4C04 90 03 00 04 */ stw r0, 4(r3) -/* 800A7CA8 000A4C08 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptSpawnPoint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptSpawnPoint": -/* 800A7CAC 000A4C0C 38 00 00 00 */ li r0, 0 -/* 800A7CB0 000A4C10 90 03 00 04 */ stw r0, 4(r3) -/* 800A7CB4 000A4C14 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptSound" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptSound": -/* 800A7CB8 000A4C18 38 00 00 00 */ li r0, 0 -/* 800A7CBC 000A4C1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7CC0 000A4C20 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptRoomAcoustics" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptRoomAcoustics": -/* 800A7CC4 000A4C24 38 00 00 00 */ li r0, 0 -/* 800A7CC8 000A4C28 90 03 00 04 */ stw r0, 4(r3) -/* 800A7CCC 000A4C2C 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR22CScriptPointOfinterest" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR22CScriptPointOfinterest": -/* 800A7CD0 000A4C30 38 00 00 00 */ li r0, 0 -/* 800A7CD4 000A4C34 90 03 00 04 */ stw r0, 4(r3) -/* 800A7CD8 000A4C38 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptPlayerHint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptPlayerHint": -/* 800A7CDC 000A4C3C 38 00 00 00 */ li r0, 0 -/* 800A7CE0 000A4C40 90 03 00 04 */ stw r0, 4(r3) -/* 800A7CE4 000A4C44 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptPlatform" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptPlatform": -/* 800A7CE8 000A4C48 38 00 00 00 */ li r0, 0 -/* 800A7CEC 000A4C4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7CF0 000A4C50 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CScriptPickup" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CScriptPickup": -/* 800A7CF4 000A4C54 38 00 00 00 */ li r0, 0 -/* 800A7CF8 000A4C58 90 03 00 04 */ stw r0, 4(r3) -/* 800A7CFC 000A4C5C 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptMazeNode" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CScriptMazeNode": -/* 800A7D00 000A4C60 38 00 00 00 */ li r0, 0 -/* 800A7D04 000A4C64 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D08 000A4C68 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CScriptGunTurret" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CScriptGunTurret": -/* 800A7D0C 000A4C6C 38 00 00 00 */ li r0, 0 -/* 800A7D10 000A4C70 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D14 000A4C74 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR19CScriptGrapplePoint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR19CScriptGrapplePoint": -/* 800A7D18 000A4C78 38 00 00 00 */ li r0, 0 -/* 800A7D1C 000A4C7C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D20 000A4C80 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CScriptEffect" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CScriptEffect": -/* 800A7D24 000A4C84 38 00 00 00 */ li r0, 0 -/* 800A7D28 000A4C88 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D2C 000A4C8C 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CScriptDoor" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CScriptDoor": -/* 800A7D30 000A4C90 38 00 00 00 */ li r0, 0 -/* 800A7D34 000A4C94 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D38 000A4C98 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CScriptDock" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CScriptDock": -/* 800A7D3C 000A4C9C 38 00 00 00 */ li r0, 0 -/* 800A7D40 000A4CA0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D44 000A4CA4 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CScriptDistanceFog" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CScriptDistanceFog": -/* 800A7D48 000A4CA8 38 00 00 00 */ li r0, 0 -/* 800A7D4C 000A4CAC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D50 000A4CB0 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR26CScriptDebugCameraWaypoint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR26CScriptDebugCameraWaypoint": -/* 800A7D54 000A4CB4 38 00 00 00 */ li r0, 0 -/* 800A7D58 000A4CB8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D5C 000A4CBC 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptCoverPoint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptCoverPoint": -/* 800A7D60 000A4CC0 38 00 00 00 */ li r0, 0 -/* 800A7D64 000A4CC4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D68 000A4CC8 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR21CScriptCameraWaypoint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR21CScriptCameraWaypoint": -/* 800A7D6C 000A4CCC 38 00 00 00 */ li r0, 0 -/* 800A7D70 000A4CD0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D74 000A4CD4 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR24CScriptCameraPitchVolume" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR24CScriptCameraPitchVolume": -/* 800A7D78 000A4CD8 38 00 00 00 */ li r0, 0 -/* 800A7D7C 000A4CDC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D80 000A4CE0 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptCameraHint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CScriptCameraHint": -/* 800A7D84 000A4CE4 38 00 00 00 */ li r0, 0 -/* 800A7D88 000A4CE8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D8C 000A4CEC 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CScriptAiJumpPoint" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CScriptAiJumpPoint": -/* 800A7D90 000A4CF0 38 00 00 00 */ li r0, 0 -/* 800A7D94 000A4CF4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7D98 000A4CF8 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptActorKeyframe" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR20CScriptActorKeyframe": -/* 800A7D9C 000A4CFC 38 00 00 00 */ li r0, 0 -/* 800A7DA0 000A4D00 90 03 00 04 */ stw r0, 4(r3) -/* 800A7DA4 000A4D04 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptActor" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR12CScriptActor": -/* 800A7DA8 000A4D08 38 00 00 00 */ li r0, 0 -/* 800A7DAC 000A4D0C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7DB0 000A4D10 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR9CRepulsor" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR9CRepulsor": -/* 800A7DB4 000A4D14 38 00 00 00 */ li r0, 0 -/* 800A7DB8 000A4D18 90 03 00 04 */ stw r0, 4(r3) -/* 800A7DBC 000A4D1C 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CPlayer" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CPlayer": -/* 800A7DC0 000A4D20 38 00 00 00 */ li r0, 0 -/* 800A7DC4 000A4D24 90 03 00 04 */ stw r0, 4(r3) -/* 800A7DC8 000A4D28 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CPhysicsActor" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR13CPhysicsActor": -/* 800A7DCC 000A4D2C 38 00 00 00 */ li r0, 0 -/* 800A7DD0 000A4D30 90 03 00 04 */ stw r0, 4(r3) -/* 800A7DD4 000A4D34 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR3CAi" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR3CAi": -/* 800A7DD8 000A4D38 38 00 00 00 */ li r0, 0 -/* 800A7DDC 000A4D3C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7DE0 000A4D40 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CPathCamera" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CPathCamera": -/* 800A7DE4 000A4D44 38 00 00 00 */ li r0, 0 -/* 800A7DE8 000A4D48 90 03 00 04 */ stw r0, 4(r3) -/* 800A7DEC 000A4D4C 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CMetroidPrimeRelay" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CMetroidPrimeRelay": -/* 800A7DF0 000A4D50 38 00 00 00 */ li r0, 0 -/* 800A7DF4 000A4D54 90 03 00 04 */ stw r0, 4(r3) -/* 800A7DF8 000A4D58 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR19CHUDBillboardEffect" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR19CHUDBillboardEffect": -/* 800A7DFC 000A4D5C 38 00 00 00 */ li r0, 0 -/* 800A7E00 000A4D60 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E04 000A4D64 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CGameProjectile" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CGameProjectile": -/* 800A7E08 000A4D68 38 00 00 00 */ li r0, 0 -/* 800A7E0C 000A4D6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E10 000A4D70 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CGameLight" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CGameLight": -/* 800A7E14 000A4D74 38 00 00 00 */ li r0, 0 -/* 800A7E18 000A4D78 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E1C 000A4D7C 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CGameCamera" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CGameCamera": -/* 800A7E20 000A4D80 38 00 00 00 */ li r0, 0 -/* 800A7E24 000A4D84 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E28 000A4D88 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CFishCloud" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CFishCloud": -/* 800A7E2C 000A4D8C 38 00 00 00 */ li r0, 0 -/* 800A7E30 000A4D90 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E34 000A4D94 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CFirstPersonCamera" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR18CFirstPersonCamera": -/* 800A7E38 000A4D98 38 00 00 00 */ li r0, 0 -/* 800A7E3C 000A4D9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E40 000A4DA0 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CExplosion" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR10CExplosion": -/* 800A7E44 000A4DA4 38 00 00 00 */ li r0, 0 -/* 800A7E48 000A4DA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E4C 000A4DAC 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CEntity" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR7CEntity": -/* 800A7E50 000A4DB0 38 00 00 00 */ li r0, 0 -/* 800A7E54 000A4DB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E58 000A4DB8 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CEnergyProjectile" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR17CEnergyProjectile": -/* 800A7E5C 000A4DBC 38 00 00 00 */ li r0, 0 -/* 800A7E60 000A4DC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E64 000A4DC4 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CDestroyableRock" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CDestroyableRock": -/* 800A7E68 000A4DC8 38 00 00 00 */ li r0, 0 -/* 800A7E6C 000A4DCC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E70 000A4DD0 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CCollisionActor" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR15CCollisionActor": -/* 800A7E74 000A4DD4 38 00 00 00 */ li r0, 0 -/* 800A7E78 000A4DD8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E7C 000A4DDC 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CCinematicCamera" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR16CCinematicCamera": -/* 800A7E80 000A4DE0 38 00 00 00 */ li r0, 0 -/* 800A7E84 000A4DE4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E88 000A4DE8 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR5CBomb" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR5CBomb": -/* 800A7E8C 000A4DEC 38 00 00 00 */ li r0, 0 -/* 800A7E90 000A4DF0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7E94 000A4DF4 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CBallCamera" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR11CBallCamera": -/* 800A7E98 000A4DF8 38 00 00 00 */ li r0, 0 -/* 800A7E9C 000A4DFC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7EA0 000A4E00 4E 80 00 20 */ blr - -.global "Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR6CActor" -"Visit__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FR6CActor": -/* 800A7EA4 000A4E04 38 00 00 00 */ li r0, 0 -/* 800A7EA8 000A4E08 90 03 00 04 */ stw r0, 4(r3) -/* 800A7EAC 000A4E0C 4E 80 00 20 */ blr - -.global "__ct__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FP7CEntity" -"__ct__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FP7CEntity": -/* 800A7EB0 000A4E10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A7EB4 000A4E14 7C 08 02 A6 */ mflr r0 -/* 800A7EB8 000A4E18 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A7EBC 000A4E1C 3C A0 80 3E */ lis r5, lbl_803DE440@ha -/* 800A7EC0 000A4E20 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A7EC4 000A4E24 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A7EC8 000A4E28 28 04 00 00 */ cmplwi r4, 0 -/* 800A7ECC 000A4E2C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A7ED0 000A4E30 7C 7F 1B 78 */ mr r31, r3 -/* 800A7ED4 000A4E34 38 65 E4 40 */ addi r3, r5, lbl_803DE440@l -/* 800A7ED8 000A4E38 90 1F 00 00 */ stw r0, 0(r31) -/* 800A7EDC 000A4E3C 38 00 00 00 */ li r0, 0 -/* 800A7EE0 000A4E40 90 7F 00 00 */ stw r3, 0(r31) -/* 800A7EE4 000A4E44 90 1F 00 04 */ stw r0, 4(r31) -/* 800A7EE8 000A4E48 41 82 00 1C */ beq lbl_800A7F04 -/* 800A7EEC 000A4E4C 7C 83 23 78 */ mr r3, r4 -/* 800A7EF0 000A4E50 7F E4 FB 78 */ mr r4, r31 -/* 800A7EF4 000A4E54 81 83 00 00 */ lwz r12, 0(r3) -/* 800A7EF8 000A4E58 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A7EFC 000A4E5C 7D 89 03 A6 */ mtctr r12 -/* 800A7F00 000A4E60 4E 80 04 21 */ bctrl -lbl_800A7F04: -/* 800A7F04 000A4E64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A7F08 000A4E68 7F E3 FB 78 */ mr r3, r31 -/* 800A7F0C 000A4E6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A7F10 000A4E70 7C 08 03 A6 */ mtlr r0 -/* 800A7F14 000A4E74 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A7F18 000A4E78 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CWeapon" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CWeapon": -/* 800A7F1C 000A4E7C 38 00 00 00 */ li r0, 0 -/* 800A7F20 000A4E80 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F24 000A4E84 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CWallCrawlerSwarm" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CWallCrawlerSwarm": -/* 800A7F28 000A4E88 38 00 00 00 */ li r0, 0 -/* 800A7F2C 000A4E8C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F30 000A4E90 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptSpindleCamera" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptSpindleCamera": -/* 800A7F34 000A4E94 38 00 00 00 */ li r0, 0 -/* 800A7F38 000A4E98 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F3C 000A4E9C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CSnakeWeedSwarm" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CSnakeWeedSwarm": -/* 800A7F40 000A4EA0 38 00 00 00 */ li r0, 0 -/* 800A7F44 000A4EA4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F48 000A4EA8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptWaypoint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptWaypoint": -/* 800A7F4C 000A4EAC 38 00 00 00 */ li r0, 0 -/* 800A7F50 000A4EB0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F54 000A4EB4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptWater" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptWater": -/* 800A7F58 000A4EB8 38 00 00 00 */ li r0, 0 -/* 800A7F5C 000A4EBC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F60 000A4EC0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptVisorFlare" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptVisorFlare": -/* 800A7F64 000A4EC4 38 00 00 00 */ li r0, 0 -/* 800A7F68 000A4EC8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F6C 000A4ECC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR14CScriptTrigger" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR14CScriptTrigger": -/* 800A7F70 000A4ED0 38 00 00 00 */ li r0, 0 -/* 800A7F74 000A4ED4 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F78 000A4ED8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptTimer" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptTimer": -/* 800A7F7C 000A4EDC 38 00 00 00 */ li r0, 0 -/* 800A7F80 000A4EE0 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F84 000A4EE4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CTeamAiMgr" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CTeamAiMgr": -/* 800A7F88 000A4EE8 38 00 00 00 */ li r0, 0 -/* 800A7F8C 000A4EEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F90 000A4EF0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR21CScriptTargetingPoint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR21CScriptTargetingPoint": -/* 800A7F94 000A4EF4 38 00 00 00 */ li r0, 0 -/* 800A7F98 000A4EF8 90 03 00 04 */ stw r0, 4(r3) -/* 800A7F9C 000A4EFC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR25CScriptSpiderBallWaypoint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR25CScriptSpiderBallWaypoint": -/* 800A7FA0 000A4F00 38 00 00 00 */ li r0, 0 -/* 800A7FA4 000A4F04 90 03 00 04 */ stw r0, 4(r3) -/* 800A7FA8 000A4F08 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR34CScriptSpiderBallAttractionSurface" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR34CScriptSpiderBallAttractionSurface": -/* 800A7FAC 000A4F0C 38 00 00 00 */ li r0, 0 -/* 800A7FB0 000A4F10 90 03 00 04 */ stw r0, 4(r3) -/* 800A7FB4 000A4F14 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR22CScriptSpecialFunction" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR22CScriptSpecialFunction": -/* 800A7FB8 000A4F18 38 00 00 00 */ li r0, 0 -/* 800A7FBC 000A4F1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7FC0 000A4F20 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptSpawnPoint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptSpawnPoint": -/* 800A7FC4 000A4F24 90 83 00 04 */ stw r4, 4(r3) -/* 800A7FC8 000A4F28 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptSound" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptSound": -/* 800A7FCC 000A4F2C 38 00 00 00 */ li r0, 0 -/* 800A7FD0 000A4F30 90 03 00 04 */ stw r0, 4(r3) -/* 800A7FD4 000A4F34 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptRoomAcoustics" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptRoomAcoustics": -/* 800A7FD8 000A4F38 38 00 00 00 */ li r0, 0 -/* 800A7FDC 000A4F3C 90 03 00 04 */ stw r0, 4(r3) -/* 800A7FE0 000A4F40 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR22CScriptPointOfinterest" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR22CScriptPointOfinterest": -/* 800A7FE4 000A4F44 38 00 00 00 */ li r0, 0 -/* 800A7FE8 000A4F48 90 03 00 04 */ stw r0, 4(r3) -/* 800A7FEC 000A4F4C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptPlayerHint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptPlayerHint": -/* 800A7FF0 000A4F50 38 00 00 00 */ li r0, 0 -/* 800A7FF4 000A4F54 90 03 00 04 */ stw r0, 4(r3) -/* 800A7FF8 000A4F58 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptPlatform" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptPlatform": -/* 800A7FFC 000A4F5C 38 00 00 00 */ li r0, 0 -/* 800A8000 000A4F60 90 03 00 04 */ stw r0, 4(r3) -/* 800A8004 000A4F64 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CScriptPickup" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CScriptPickup": -/* 800A8008 000A4F68 38 00 00 00 */ li r0, 0 -/* 800A800C 000A4F6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8010 000A4F70 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptMazeNode" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CScriptMazeNode": -/* 800A8014 000A4F74 38 00 00 00 */ li r0, 0 -/* 800A8018 000A4F78 90 03 00 04 */ stw r0, 4(r3) -/* 800A801C 000A4F7C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CScriptGunTurret" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CScriptGunTurret": -/* 800A8020 000A4F80 38 00 00 00 */ li r0, 0 -/* 800A8024 000A4F84 90 03 00 04 */ stw r0, 4(r3) -/* 800A8028 000A4F88 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR19CScriptGrapplePoint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR19CScriptGrapplePoint": -/* 800A802C 000A4F8C 38 00 00 00 */ li r0, 0 -/* 800A8030 000A4F90 90 03 00 04 */ stw r0, 4(r3) -/* 800A8034 000A4F94 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CScriptEffect" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CScriptEffect": -/* 800A8038 000A4F98 38 00 00 00 */ li r0, 0 -/* 800A803C 000A4F9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8040 000A4FA0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CScriptDoor" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CScriptDoor": -/* 800A8044 000A4FA4 38 00 00 00 */ li r0, 0 -/* 800A8048 000A4FA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A804C 000A4FAC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CScriptDock" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CScriptDock": -/* 800A8050 000A4FB0 38 00 00 00 */ li r0, 0 -/* 800A8054 000A4FB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8058 000A4FB8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CScriptDistanceFog" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CScriptDistanceFog": -/* 800A805C 000A4FBC 38 00 00 00 */ li r0, 0 -/* 800A8060 000A4FC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8064 000A4FC4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR26CScriptDebugCameraWaypoint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR26CScriptDebugCameraWaypoint": -/* 800A8068 000A4FC8 38 00 00 00 */ li r0, 0 -/* 800A806C 000A4FCC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8070 000A4FD0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptCoverPoint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptCoverPoint": -/* 800A8074 000A4FD4 38 00 00 00 */ li r0, 0 -/* 800A8078 000A4FD8 90 03 00 04 */ stw r0, 4(r3) -/* 800A807C 000A4FDC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR21CScriptCameraWaypoint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR21CScriptCameraWaypoint": -/* 800A8080 000A4FE0 38 00 00 00 */ li r0, 0 -/* 800A8084 000A4FE4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8088 000A4FE8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR24CScriptCameraPitchVolume" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR24CScriptCameraPitchVolume": -/* 800A808C 000A4FEC 38 00 00 00 */ li r0, 0 -/* 800A8090 000A4FF0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8094 000A4FF4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptCameraHint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CScriptCameraHint": -/* 800A8098 000A4FF8 38 00 00 00 */ li r0, 0 -/* 800A809C 000A4FFC 90 03 00 04 */ stw r0, 4(r3) -/* 800A80A0 000A5000 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CScriptAiJumpPoint" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CScriptAiJumpPoint": -/* 800A80A4 000A5004 38 00 00 00 */ li r0, 0 -/* 800A80A8 000A5008 90 03 00 04 */ stw r0, 4(r3) -/* 800A80AC 000A500C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptActorKeyframe" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR20CScriptActorKeyframe": -/* 800A80B0 000A5010 38 00 00 00 */ li r0, 0 -/* 800A80B4 000A5014 90 03 00 04 */ stw r0, 4(r3) -/* 800A80B8 000A5018 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptActor" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR12CScriptActor": -/* 800A80BC 000A501C 38 00 00 00 */ li r0, 0 -/* 800A80C0 000A5020 90 03 00 04 */ stw r0, 4(r3) -/* 800A80C4 000A5024 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR9CRepulsor" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR9CRepulsor": -/* 800A80C8 000A5028 38 00 00 00 */ li r0, 0 -/* 800A80CC 000A502C 90 03 00 04 */ stw r0, 4(r3) -/* 800A80D0 000A5030 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CPlayer" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CPlayer": -/* 800A80D4 000A5034 38 00 00 00 */ li r0, 0 -/* 800A80D8 000A5038 90 03 00 04 */ stw r0, 4(r3) -/* 800A80DC 000A503C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CPhysicsActor" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR13CPhysicsActor": -/* 800A80E0 000A5040 38 00 00 00 */ li r0, 0 -/* 800A80E4 000A5044 90 03 00 04 */ stw r0, 4(r3) -/* 800A80E8 000A5048 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR3CAi" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR3CAi": -/* 800A80EC 000A504C 38 00 00 00 */ li r0, 0 -/* 800A80F0 000A5050 90 03 00 04 */ stw r0, 4(r3) -/* 800A80F4 000A5054 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CPathCamera" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CPathCamera": -/* 800A80F8 000A5058 38 00 00 00 */ li r0, 0 -/* 800A80FC 000A505C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8100 000A5060 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CMetroidPrimeRelay" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CMetroidPrimeRelay": -/* 800A8104 000A5064 38 00 00 00 */ li r0, 0 -/* 800A8108 000A5068 90 03 00 04 */ stw r0, 4(r3) -/* 800A810C 000A506C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR19CHUDBillboardEffect" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR19CHUDBillboardEffect": -/* 800A8110 000A5070 38 00 00 00 */ li r0, 0 -/* 800A8114 000A5074 90 03 00 04 */ stw r0, 4(r3) -/* 800A8118 000A5078 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CGameProjectile" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CGameProjectile": -/* 800A811C 000A507C 38 00 00 00 */ li r0, 0 -/* 800A8120 000A5080 90 03 00 04 */ stw r0, 4(r3) -/* 800A8124 000A5084 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CGameLight" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CGameLight": -/* 800A8128 000A5088 38 00 00 00 */ li r0, 0 -/* 800A812C 000A508C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8130 000A5090 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CGameCamera" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CGameCamera": -/* 800A8134 000A5094 38 00 00 00 */ li r0, 0 -/* 800A8138 000A5098 90 03 00 04 */ stw r0, 4(r3) -/* 800A813C 000A509C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CFishCloud" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CFishCloud": -/* 800A8140 000A50A0 38 00 00 00 */ li r0, 0 -/* 800A8144 000A50A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8148 000A50A8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CFirstPersonCamera" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR18CFirstPersonCamera": -/* 800A814C 000A50AC 38 00 00 00 */ li r0, 0 -/* 800A8150 000A50B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8154 000A50B4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CExplosion" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR10CExplosion": -/* 800A8158 000A50B8 38 00 00 00 */ li r0, 0 -/* 800A815C 000A50BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8160 000A50C0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CEntity" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR7CEntity": -/* 800A8164 000A50C4 38 00 00 00 */ li r0, 0 -/* 800A8168 000A50C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A816C 000A50CC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CEnergyProjectile" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR17CEnergyProjectile": -/* 800A8170 000A50D0 38 00 00 00 */ li r0, 0 -/* 800A8174 000A50D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8178 000A50D8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CDestroyableRock" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CDestroyableRock": -/* 800A817C 000A50DC 38 00 00 00 */ li r0, 0 -/* 800A8180 000A50E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8184 000A50E4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CCollisionActor" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR15CCollisionActor": -/* 800A8188 000A50E8 38 00 00 00 */ li r0, 0 -/* 800A818C 000A50EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8190 000A50F0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CCinematicCamera" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR16CCinematicCamera": -/* 800A8194 000A50F4 38 00 00 00 */ li r0, 0 -/* 800A8198 000A50F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A819C 000A50FC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR5CBomb" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR5CBomb": -/* 800A81A0 000A5100 38 00 00 00 */ li r0, 0 -/* 800A81A4 000A5104 90 03 00 04 */ stw r0, 4(r3) -/* 800A81A8 000A5108 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CBallCamera" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR11CBallCamera": -/* 800A81AC 000A510C 38 00 00 00 */ li r0, 0 -/* 800A81B0 000A5110 90 03 00 04 */ stw r0, 4(r3) -/* 800A81B4 000A5114 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptSpawnPoint>FR6CActor" -"Visit__31TCastToPtr<17CScriptSpawnPoint>FR6CActor": -/* 800A81B8 000A5118 38 00 00 00 */ li r0, 0 -/* 800A81BC 000A511C 90 03 00 04 */ stw r0, 4(r3) -/* 800A81C0 000A5120 4E 80 00 20 */ blr - -.global "__ct__31TCastToPtr<17CScriptSpawnPoint>FP7CEntity" -"__ct__31TCastToPtr<17CScriptSpawnPoint>FP7CEntity": -/* 800A81C4 000A5124 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A81C8 000A5128 7C 08 02 A6 */ mflr r0 -/* 800A81CC 000A512C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A81D0 000A5130 3C A0 80 3E */ lis r5, lbl_803DE354@ha -/* 800A81D4 000A5134 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A81D8 000A5138 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A81DC 000A513C 28 04 00 00 */ cmplwi r4, 0 -/* 800A81E0 000A5140 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A81E4 000A5144 7C 7F 1B 78 */ mr r31, r3 -/* 800A81E8 000A5148 38 65 E3 54 */ addi r3, r5, lbl_803DE354@l -/* 800A81EC 000A514C 90 1F 00 00 */ stw r0, 0(r31) -/* 800A81F0 000A5150 38 00 00 00 */ li r0, 0 -/* 800A81F4 000A5154 90 7F 00 00 */ stw r3, 0(r31) -/* 800A81F8 000A5158 90 1F 00 04 */ stw r0, 4(r31) -/* 800A81FC 000A515C 41 82 00 1C */ beq lbl_800A8218 -/* 800A8200 000A5160 7C 83 23 78 */ mr r3, r4 -/* 800A8204 000A5164 7F E4 FB 78 */ mr r4, r31 -/* 800A8208 000A5168 81 83 00 00 */ lwz r12, 0(r3) -/* 800A820C 000A516C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A8210 000A5170 7D 89 03 A6 */ mtctr r12 -/* 800A8214 000A5174 4E 80 04 21 */ bctrl -lbl_800A8218: -/* 800A8218 000A5178 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A821C 000A517C 7F E3 FB 78 */ mr r3, r31 -/* 800A8220 000A5180 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A8224 000A5184 7C 08 03 A6 */ mtlr r0 -/* 800A8228 000A5188 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A822C 000A518C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR7CWeapon" -"Visit__26TCastToPtr<12CScriptSound>FR7CWeapon": -/* 800A8230 000A5190 38 00 00 00 */ li r0, 0 -/* 800A8234 000A5194 90 03 00 04 */ stw r0, 4(r3) -/* 800A8238 000A5198 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR17CWallCrawlerSwarm" -"Visit__26TCastToPtr<12CScriptSound>FR17CWallCrawlerSwarm": -/* 800A823C 000A519C 38 00 00 00 */ li r0, 0 -/* 800A8240 000A51A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8244 000A51A4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR20CScriptSpindleCamera" -"Visit__26TCastToPtr<12CScriptSound>FR20CScriptSpindleCamera": -/* 800A8248 000A51A8 38 00 00 00 */ li r0, 0 -/* 800A824C 000A51AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8250 000A51B0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR15CSnakeWeedSwarm" -"Visit__26TCastToPtr<12CScriptSound>FR15CSnakeWeedSwarm": -/* 800A8254 000A51B4 38 00 00 00 */ li r0, 0 -/* 800A8258 000A51B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A825C 000A51BC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR15CScriptWaypoint" -"Visit__26TCastToPtr<12CScriptSound>FR15CScriptWaypoint": -/* 800A8260 000A51C0 38 00 00 00 */ li r0, 0 -/* 800A8264 000A51C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8268 000A51C8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR12CScriptWater" -"Visit__26TCastToPtr<12CScriptSound>FR12CScriptWater": -/* 800A826C 000A51CC 38 00 00 00 */ li r0, 0 -/* 800A8270 000A51D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8274 000A51D4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptVisorFlare" -"Visit__26TCastToPtr<12CScriptSound>FR17CScriptVisorFlare": -/* 800A8278 000A51D8 38 00 00 00 */ li r0, 0 -/* 800A827C 000A51DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8280 000A51E0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR14CScriptTrigger" -"Visit__26TCastToPtr<12CScriptSound>FR14CScriptTrigger": -/* 800A8284 000A51E4 38 00 00 00 */ li r0, 0 -/* 800A8288 000A51E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A828C 000A51EC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR12CScriptTimer" -"Visit__26TCastToPtr<12CScriptSound>FR12CScriptTimer": -/* 800A8290 000A51F0 38 00 00 00 */ li r0, 0 -/* 800A8294 000A51F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8298 000A51F8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR10CTeamAiMgr" -"Visit__26TCastToPtr<12CScriptSound>FR10CTeamAiMgr": -/* 800A829C 000A51FC 38 00 00 00 */ li r0, 0 -/* 800A82A0 000A5200 90 03 00 04 */ stw r0, 4(r3) -/* 800A82A4 000A5204 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR21CScriptTargetingPoint" -"Visit__26TCastToPtr<12CScriptSound>FR21CScriptTargetingPoint": -/* 800A82A8 000A5208 38 00 00 00 */ li r0, 0 -/* 800A82AC 000A520C 90 03 00 04 */ stw r0, 4(r3) -/* 800A82B0 000A5210 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR25CScriptSpiderBallWaypoint" -"Visit__26TCastToPtr<12CScriptSound>FR25CScriptSpiderBallWaypoint": -/* 800A82B4 000A5214 38 00 00 00 */ li r0, 0 -/* 800A82B8 000A5218 90 03 00 04 */ stw r0, 4(r3) -/* 800A82BC 000A521C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR34CScriptSpiderBallAttractionSurface" -"Visit__26TCastToPtr<12CScriptSound>FR34CScriptSpiderBallAttractionSurface": -/* 800A82C0 000A5220 38 00 00 00 */ li r0, 0 -/* 800A82C4 000A5224 90 03 00 04 */ stw r0, 4(r3) -/* 800A82C8 000A5228 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR22CScriptSpecialFunction" -"Visit__26TCastToPtr<12CScriptSound>FR22CScriptSpecialFunction": -/* 800A82CC 000A522C 38 00 00 00 */ li r0, 0 -/* 800A82D0 000A5230 90 03 00 04 */ stw r0, 4(r3) -/* 800A82D4 000A5234 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptSpawnPoint" -"Visit__26TCastToPtr<12CScriptSound>FR17CScriptSpawnPoint": -/* 800A82D8 000A5238 38 00 00 00 */ li r0, 0 -/* 800A82DC 000A523C 90 03 00 04 */ stw r0, 4(r3) -/* 800A82E0 000A5240 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR12CScriptSound" -"Visit__26TCastToPtr<12CScriptSound>FR12CScriptSound": -/* 800A82E4 000A5244 90 83 00 04 */ stw r4, 4(r3) -/* 800A82E8 000A5248 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR20CScriptRoomAcoustics" -"Visit__26TCastToPtr<12CScriptSound>FR20CScriptRoomAcoustics": -/* 800A82EC 000A524C 38 00 00 00 */ li r0, 0 -/* 800A82F0 000A5250 90 03 00 04 */ stw r0, 4(r3) -/* 800A82F4 000A5254 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR22CScriptPointOfinterest" -"Visit__26TCastToPtr<12CScriptSound>FR22CScriptPointOfinterest": -/* 800A82F8 000A5258 38 00 00 00 */ li r0, 0 -/* 800A82FC 000A525C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8300 000A5260 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptPlayerHint" -"Visit__26TCastToPtr<12CScriptSound>FR17CScriptPlayerHint": -/* 800A8304 000A5264 38 00 00 00 */ li r0, 0 -/* 800A8308 000A5268 90 03 00 04 */ stw r0, 4(r3) -/* 800A830C 000A526C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR15CScriptPlatform" -"Visit__26TCastToPtr<12CScriptSound>FR15CScriptPlatform": -/* 800A8310 000A5270 38 00 00 00 */ li r0, 0 -/* 800A8314 000A5274 90 03 00 04 */ stw r0, 4(r3) -/* 800A8318 000A5278 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR13CScriptPickup" -"Visit__26TCastToPtr<12CScriptSound>FR13CScriptPickup": -/* 800A831C 000A527C 38 00 00 00 */ li r0, 0 -/* 800A8320 000A5280 90 03 00 04 */ stw r0, 4(r3) -/* 800A8324 000A5284 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR15CScriptMazeNode" -"Visit__26TCastToPtr<12CScriptSound>FR15CScriptMazeNode": -/* 800A8328 000A5288 38 00 00 00 */ li r0, 0 -/* 800A832C 000A528C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8330 000A5290 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR16CScriptGunTurret" -"Visit__26TCastToPtr<12CScriptSound>FR16CScriptGunTurret": -/* 800A8334 000A5294 38 00 00 00 */ li r0, 0 -/* 800A8338 000A5298 90 03 00 04 */ stw r0, 4(r3) -/* 800A833C 000A529C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR19CScriptGrapplePoint" -"Visit__26TCastToPtr<12CScriptSound>FR19CScriptGrapplePoint": -/* 800A8340 000A52A0 38 00 00 00 */ li r0, 0 -/* 800A8344 000A52A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8348 000A52A8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR13CScriptEffect" -"Visit__26TCastToPtr<12CScriptSound>FR13CScriptEffect": -/* 800A834C 000A52AC 38 00 00 00 */ li r0, 0 -/* 800A8350 000A52B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8354 000A52B4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR11CScriptDoor" -"Visit__26TCastToPtr<12CScriptSound>FR11CScriptDoor": -/* 800A8358 000A52B8 38 00 00 00 */ li r0, 0 -/* 800A835C 000A52BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8360 000A52C0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR11CScriptDock" -"Visit__26TCastToPtr<12CScriptSound>FR11CScriptDock": -/* 800A8364 000A52C4 38 00 00 00 */ li r0, 0 -/* 800A8368 000A52C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A836C 000A52CC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR18CScriptDistanceFog" -"Visit__26TCastToPtr<12CScriptSound>FR18CScriptDistanceFog": -/* 800A8370 000A52D0 38 00 00 00 */ li r0, 0 -/* 800A8374 000A52D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8378 000A52D8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR26CScriptDebugCameraWaypoint" -"Visit__26TCastToPtr<12CScriptSound>FR26CScriptDebugCameraWaypoint": -/* 800A837C 000A52DC 38 00 00 00 */ li r0, 0 -/* 800A8380 000A52E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8384 000A52E4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptCoverPoint" -"Visit__26TCastToPtr<12CScriptSound>FR17CScriptCoverPoint": -/* 800A8388 000A52E8 38 00 00 00 */ li r0, 0 -/* 800A838C 000A52EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8390 000A52F0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR21CScriptCameraWaypoint" -"Visit__26TCastToPtr<12CScriptSound>FR21CScriptCameraWaypoint": -/* 800A8394 000A52F4 38 00 00 00 */ li r0, 0 -/* 800A8398 000A52F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A839C 000A52FC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR24CScriptCameraPitchVolume" -"Visit__26TCastToPtr<12CScriptSound>FR24CScriptCameraPitchVolume": -/* 800A83A0 000A5300 38 00 00 00 */ li r0, 0 -/* 800A83A4 000A5304 90 03 00 04 */ stw r0, 4(r3) -/* 800A83A8 000A5308 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR17CScriptCameraHint" -"Visit__26TCastToPtr<12CScriptSound>FR17CScriptCameraHint": -/* 800A83AC 000A530C 38 00 00 00 */ li r0, 0 -/* 800A83B0 000A5310 90 03 00 04 */ stw r0, 4(r3) -/* 800A83B4 000A5314 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR18CScriptAiJumpPoint" -"Visit__26TCastToPtr<12CScriptSound>FR18CScriptAiJumpPoint": -/* 800A83B8 000A5318 38 00 00 00 */ li r0, 0 -/* 800A83BC 000A531C 90 03 00 04 */ stw r0, 4(r3) -/* 800A83C0 000A5320 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR20CScriptActorKeyframe" -"Visit__26TCastToPtr<12CScriptSound>FR20CScriptActorKeyframe": -/* 800A83C4 000A5324 38 00 00 00 */ li r0, 0 -/* 800A83C8 000A5328 90 03 00 04 */ stw r0, 4(r3) -/* 800A83CC 000A532C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR12CScriptActor" -"Visit__26TCastToPtr<12CScriptSound>FR12CScriptActor": -/* 800A83D0 000A5330 38 00 00 00 */ li r0, 0 -/* 800A83D4 000A5334 90 03 00 04 */ stw r0, 4(r3) -/* 800A83D8 000A5338 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR9CRepulsor" -"Visit__26TCastToPtr<12CScriptSound>FR9CRepulsor": -/* 800A83DC 000A533C 38 00 00 00 */ li r0, 0 -/* 800A83E0 000A5340 90 03 00 04 */ stw r0, 4(r3) -/* 800A83E4 000A5344 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR7CPlayer" -"Visit__26TCastToPtr<12CScriptSound>FR7CPlayer": -/* 800A83E8 000A5348 38 00 00 00 */ li r0, 0 -/* 800A83EC 000A534C 90 03 00 04 */ stw r0, 4(r3) -/* 800A83F0 000A5350 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR13CPhysicsActor" -"Visit__26TCastToPtr<12CScriptSound>FR13CPhysicsActor": -/* 800A83F4 000A5354 38 00 00 00 */ li r0, 0 -/* 800A83F8 000A5358 90 03 00 04 */ stw r0, 4(r3) -/* 800A83FC 000A535C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR3CAi" -"Visit__26TCastToPtr<12CScriptSound>FR3CAi": -/* 800A8400 000A5360 38 00 00 00 */ li r0, 0 -/* 800A8404 000A5364 90 03 00 04 */ stw r0, 4(r3) -/* 800A8408 000A5368 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR11CPathCamera" -"Visit__26TCastToPtr<12CScriptSound>FR11CPathCamera": -/* 800A840C 000A536C 38 00 00 00 */ li r0, 0 -/* 800A8410 000A5370 90 03 00 04 */ stw r0, 4(r3) -/* 800A8414 000A5374 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR18CMetroidPrimeRelay" -"Visit__26TCastToPtr<12CScriptSound>FR18CMetroidPrimeRelay": -/* 800A8418 000A5378 38 00 00 00 */ li r0, 0 -/* 800A841C 000A537C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8420 000A5380 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR19CHUDBillboardEffect" -"Visit__26TCastToPtr<12CScriptSound>FR19CHUDBillboardEffect": -/* 800A8424 000A5384 38 00 00 00 */ li r0, 0 -/* 800A8428 000A5388 90 03 00 04 */ stw r0, 4(r3) -/* 800A842C 000A538C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR15CGameProjectile" -"Visit__26TCastToPtr<12CScriptSound>FR15CGameProjectile": -/* 800A8430 000A5390 38 00 00 00 */ li r0, 0 -/* 800A8434 000A5394 90 03 00 04 */ stw r0, 4(r3) -/* 800A8438 000A5398 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR10CGameLight" -"Visit__26TCastToPtr<12CScriptSound>FR10CGameLight": -/* 800A843C 000A539C 38 00 00 00 */ li r0, 0 -/* 800A8440 000A53A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8444 000A53A4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR11CGameCamera" -"Visit__26TCastToPtr<12CScriptSound>FR11CGameCamera": -/* 800A8448 000A53A8 38 00 00 00 */ li r0, 0 -/* 800A844C 000A53AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8450 000A53B0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR10CFishCloud" -"Visit__26TCastToPtr<12CScriptSound>FR10CFishCloud": -/* 800A8454 000A53B4 38 00 00 00 */ li r0, 0 -/* 800A8458 000A53B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A845C 000A53BC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR18CFirstPersonCamera" -"Visit__26TCastToPtr<12CScriptSound>FR18CFirstPersonCamera": -/* 800A8460 000A53C0 38 00 00 00 */ li r0, 0 -/* 800A8464 000A53C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8468 000A53C8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR10CExplosion" -"Visit__26TCastToPtr<12CScriptSound>FR10CExplosion": -/* 800A846C 000A53CC 38 00 00 00 */ li r0, 0 -/* 800A8470 000A53D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8474 000A53D4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR7CEntity" -"Visit__26TCastToPtr<12CScriptSound>FR7CEntity": -/* 800A8478 000A53D8 38 00 00 00 */ li r0, 0 -/* 800A847C 000A53DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8480 000A53E0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR17CEnergyProjectile" -"Visit__26TCastToPtr<12CScriptSound>FR17CEnergyProjectile": -/* 800A8484 000A53E4 38 00 00 00 */ li r0, 0 -/* 800A8488 000A53E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A848C 000A53EC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR16CDestroyableRock" -"Visit__26TCastToPtr<12CScriptSound>FR16CDestroyableRock": -/* 800A8490 000A53F0 38 00 00 00 */ li r0, 0 -/* 800A8494 000A53F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8498 000A53F8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR15CCollisionActor" -"Visit__26TCastToPtr<12CScriptSound>FR15CCollisionActor": -/* 800A849C 000A53FC 38 00 00 00 */ li r0, 0 -/* 800A84A0 000A5400 90 03 00 04 */ stw r0, 4(r3) -/* 800A84A4 000A5404 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR16CCinematicCamera" -"Visit__26TCastToPtr<12CScriptSound>FR16CCinematicCamera": -/* 800A84A8 000A5408 38 00 00 00 */ li r0, 0 -/* 800A84AC 000A540C 90 03 00 04 */ stw r0, 4(r3) -/* 800A84B0 000A5410 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR5CBomb" -"Visit__26TCastToPtr<12CScriptSound>FR5CBomb": -/* 800A84B4 000A5414 38 00 00 00 */ li r0, 0 -/* 800A84B8 000A5418 90 03 00 04 */ stw r0, 4(r3) -/* 800A84BC 000A541C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR11CBallCamera" -"Visit__26TCastToPtr<12CScriptSound>FR11CBallCamera": -/* 800A84C0 000A5420 38 00 00 00 */ li r0, 0 -/* 800A84C4 000A5424 90 03 00 04 */ stw r0, 4(r3) -/* 800A84C8 000A5428 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptSound>FR6CActor" -"Visit__26TCastToPtr<12CScriptSound>FR6CActor": -/* 800A84CC 000A542C 38 00 00 00 */ li r0, 0 -/* 800A84D0 000A5430 90 03 00 04 */ stw r0, 4(r3) -/* 800A84D4 000A5434 4E 80 00 20 */ blr - -.global "__ct__26TCastToPtr<12CScriptSound>FP7CEntity" -"__ct__26TCastToPtr<12CScriptSound>FP7CEntity": -/* 800A84D8 000A5438 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A84DC 000A543C 7C 08 02 A6 */ mflr r0 -/* 800A84E0 000A5440 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A84E4 000A5444 3C A0 80 3E */ lis r5, lbl_803DE268@ha -/* 800A84E8 000A5448 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A84EC 000A544C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A84F0 000A5450 28 04 00 00 */ cmplwi r4, 0 -/* 800A84F4 000A5454 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A84F8 000A5458 7C 7F 1B 78 */ mr r31, r3 -/* 800A84FC 000A545C 38 65 E2 68 */ addi r3, r5, lbl_803DE268@l -/* 800A8500 000A5460 90 1F 00 00 */ stw r0, 0(r31) -/* 800A8504 000A5464 38 00 00 00 */ li r0, 0 -/* 800A8508 000A5468 90 7F 00 00 */ stw r3, 0(r31) -/* 800A850C 000A546C 90 1F 00 04 */ stw r0, 4(r31) -/* 800A8510 000A5470 41 82 00 1C */ beq lbl_800A852C -/* 800A8514 000A5474 7C 83 23 78 */ mr r3, r4 -/* 800A8518 000A5478 7F E4 FB 78 */ mr r4, r31 -/* 800A851C 000A547C 81 83 00 00 */ lwz r12, 0(r3) -/* 800A8520 000A5480 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A8524 000A5484 7D 89 03 A6 */ mtctr r12 -/* 800A8528 000A5488 4E 80 04 21 */ bctrl -lbl_800A852C: -/* 800A852C 000A548C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A8530 000A5490 7F E3 FB 78 */ mr r3, r31 -/* 800A8534 000A5494 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A8538 000A5498 7C 08 03 A6 */ mtlr r0 -/* 800A853C 000A549C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A8540 000A54A0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CWeapon" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CWeapon": -/* 800A8544 000A54A4 38 00 00 00 */ li r0, 0 -/* 800A8548 000A54A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A854C 000A54AC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CWallCrawlerSwarm" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CWallCrawlerSwarm": -/* 800A8550 000A54B0 38 00 00 00 */ li r0, 0 -/* 800A8554 000A54B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8558 000A54B8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptSpindleCamera" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptSpindleCamera": -/* 800A855C 000A54BC 38 00 00 00 */ li r0, 0 -/* 800A8560 000A54C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8564 000A54C4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CSnakeWeedSwarm" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CSnakeWeedSwarm": -/* 800A8568 000A54C8 38 00 00 00 */ li r0, 0 -/* 800A856C 000A54CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8570 000A54D0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptWaypoint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptWaypoint": -/* 800A8574 000A54D4 38 00 00 00 */ li r0, 0 -/* 800A8578 000A54D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A857C 000A54DC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptWater" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptWater": -/* 800A8580 000A54E0 38 00 00 00 */ li r0, 0 -/* 800A8584 000A54E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8588 000A54E8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptVisorFlare" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptVisorFlare": -/* 800A858C 000A54EC 38 00 00 00 */ li r0, 0 -/* 800A8590 000A54F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8594 000A54F4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR14CScriptTrigger" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR14CScriptTrigger": -/* 800A8598 000A54F8 38 00 00 00 */ li r0, 0 -/* 800A859C 000A54FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A85A0 000A5500 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptTimer" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptTimer": -/* 800A85A4 000A5504 38 00 00 00 */ li r0, 0 -/* 800A85A8 000A5508 90 03 00 04 */ stw r0, 4(r3) -/* 800A85AC 000A550C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CTeamAiMgr" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CTeamAiMgr": -/* 800A85B0 000A5510 38 00 00 00 */ li r0, 0 -/* 800A85B4 000A5514 90 03 00 04 */ stw r0, 4(r3) -/* 800A85B8 000A5518 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR21CScriptTargetingPoint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR21CScriptTargetingPoint": -/* 800A85BC 000A551C 38 00 00 00 */ li r0, 0 -/* 800A85C0 000A5520 90 03 00 04 */ stw r0, 4(r3) -/* 800A85C4 000A5524 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR25CScriptSpiderBallWaypoint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR25CScriptSpiderBallWaypoint": -/* 800A85C8 000A5528 38 00 00 00 */ li r0, 0 -/* 800A85CC 000A552C 90 03 00 04 */ stw r0, 4(r3) -/* 800A85D0 000A5530 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR34CScriptSpiderBallAttractionSurface" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR34CScriptSpiderBallAttractionSurface": -/* 800A85D4 000A5534 38 00 00 00 */ li r0, 0 -/* 800A85D8 000A5538 90 03 00 04 */ stw r0, 4(r3) -/* 800A85DC 000A553C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR22CScriptSpecialFunction" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR22CScriptSpecialFunction": -/* 800A85E0 000A5540 38 00 00 00 */ li r0, 0 -/* 800A85E4 000A5544 90 03 00 04 */ stw r0, 4(r3) -/* 800A85E8 000A5548 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptSpawnPoint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptSpawnPoint": -/* 800A85EC 000A554C 38 00 00 00 */ li r0, 0 -/* 800A85F0 000A5550 90 03 00 04 */ stw r0, 4(r3) -/* 800A85F4 000A5554 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptSound" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptSound": -/* 800A85F8 000A5558 38 00 00 00 */ li r0, 0 -/* 800A85FC 000A555C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8600 000A5560 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptRoomAcoustics" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptRoomAcoustics": -/* 800A8604 000A5564 90 83 00 04 */ stw r4, 4(r3) -/* 800A8608 000A5568 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR22CScriptPointOfinterest" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR22CScriptPointOfinterest": -/* 800A860C 000A556C 38 00 00 00 */ li r0, 0 -/* 800A8610 000A5570 90 03 00 04 */ stw r0, 4(r3) -/* 800A8614 000A5574 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptPlayerHint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptPlayerHint": -/* 800A8618 000A5578 38 00 00 00 */ li r0, 0 -/* 800A861C 000A557C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8620 000A5580 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptPlatform" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptPlatform": -/* 800A8624 000A5584 38 00 00 00 */ li r0, 0 -/* 800A8628 000A5588 90 03 00 04 */ stw r0, 4(r3) -/* 800A862C 000A558C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CScriptPickup" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CScriptPickup": -/* 800A8630 000A5590 38 00 00 00 */ li r0, 0 -/* 800A8634 000A5594 90 03 00 04 */ stw r0, 4(r3) -/* 800A8638 000A5598 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptMazeNode" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CScriptMazeNode": -/* 800A863C 000A559C 38 00 00 00 */ li r0, 0 -/* 800A8640 000A55A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8644 000A55A4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CScriptGunTurret" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CScriptGunTurret": -/* 800A8648 000A55A8 38 00 00 00 */ li r0, 0 -/* 800A864C 000A55AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8650 000A55B0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR19CScriptGrapplePoint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR19CScriptGrapplePoint": -/* 800A8654 000A55B4 38 00 00 00 */ li r0, 0 -/* 800A8658 000A55B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A865C 000A55BC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CScriptEffect" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CScriptEffect": -/* 800A8660 000A55C0 38 00 00 00 */ li r0, 0 -/* 800A8664 000A55C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8668 000A55C8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CScriptDoor" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CScriptDoor": -/* 800A866C 000A55CC 38 00 00 00 */ li r0, 0 -/* 800A8670 000A55D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8674 000A55D4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CScriptDock" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CScriptDock": -/* 800A8678 000A55D8 38 00 00 00 */ li r0, 0 -/* 800A867C 000A55DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8680 000A55E0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CScriptDistanceFog" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CScriptDistanceFog": -/* 800A8684 000A55E4 38 00 00 00 */ li r0, 0 -/* 800A8688 000A55E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A868C 000A55EC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR26CScriptDebugCameraWaypoint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR26CScriptDebugCameraWaypoint": -/* 800A8690 000A55F0 38 00 00 00 */ li r0, 0 -/* 800A8694 000A55F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8698 000A55F8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptCoverPoint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptCoverPoint": -/* 800A869C 000A55FC 38 00 00 00 */ li r0, 0 -/* 800A86A0 000A5600 90 03 00 04 */ stw r0, 4(r3) -/* 800A86A4 000A5604 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR21CScriptCameraWaypoint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR21CScriptCameraWaypoint": -/* 800A86A8 000A5608 38 00 00 00 */ li r0, 0 -/* 800A86AC 000A560C 90 03 00 04 */ stw r0, 4(r3) -/* 800A86B0 000A5610 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR24CScriptCameraPitchVolume" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR24CScriptCameraPitchVolume": -/* 800A86B4 000A5614 38 00 00 00 */ li r0, 0 -/* 800A86B8 000A5618 90 03 00 04 */ stw r0, 4(r3) -/* 800A86BC 000A561C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptCameraHint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CScriptCameraHint": -/* 800A86C0 000A5620 38 00 00 00 */ li r0, 0 -/* 800A86C4 000A5624 90 03 00 04 */ stw r0, 4(r3) -/* 800A86C8 000A5628 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CScriptAiJumpPoint" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CScriptAiJumpPoint": -/* 800A86CC 000A562C 38 00 00 00 */ li r0, 0 -/* 800A86D0 000A5630 90 03 00 04 */ stw r0, 4(r3) -/* 800A86D4 000A5634 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptActorKeyframe" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR20CScriptActorKeyframe": -/* 800A86D8 000A5638 38 00 00 00 */ li r0, 0 -/* 800A86DC 000A563C 90 03 00 04 */ stw r0, 4(r3) -/* 800A86E0 000A5640 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptActor" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR12CScriptActor": -/* 800A86E4 000A5644 38 00 00 00 */ li r0, 0 -/* 800A86E8 000A5648 90 03 00 04 */ stw r0, 4(r3) -/* 800A86EC 000A564C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR9CRepulsor" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR9CRepulsor": -/* 800A86F0 000A5650 38 00 00 00 */ li r0, 0 -/* 800A86F4 000A5654 90 03 00 04 */ stw r0, 4(r3) -/* 800A86F8 000A5658 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CPlayer" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CPlayer": -/* 800A86FC 000A565C 38 00 00 00 */ li r0, 0 -/* 800A8700 000A5660 90 03 00 04 */ stw r0, 4(r3) -/* 800A8704 000A5664 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CPhysicsActor" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR13CPhysicsActor": -/* 800A8708 000A5668 38 00 00 00 */ li r0, 0 -/* 800A870C 000A566C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8710 000A5670 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR3CAi" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR3CAi": -/* 800A8714 000A5674 38 00 00 00 */ li r0, 0 -/* 800A8718 000A5678 90 03 00 04 */ stw r0, 4(r3) -/* 800A871C 000A567C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CPathCamera" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CPathCamera": -/* 800A8720 000A5680 38 00 00 00 */ li r0, 0 -/* 800A8724 000A5684 90 03 00 04 */ stw r0, 4(r3) -/* 800A8728 000A5688 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CMetroidPrimeRelay" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CMetroidPrimeRelay": -/* 800A872C 000A568C 38 00 00 00 */ li r0, 0 -/* 800A8730 000A5690 90 03 00 04 */ stw r0, 4(r3) -/* 800A8734 000A5694 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR19CHUDBillboardEffect" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR19CHUDBillboardEffect": -/* 800A8738 000A5698 38 00 00 00 */ li r0, 0 -/* 800A873C 000A569C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8740 000A56A0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CGameProjectile" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CGameProjectile": -/* 800A8744 000A56A4 38 00 00 00 */ li r0, 0 -/* 800A8748 000A56A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A874C 000A56AC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CGameLight" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CGameLight": -/* 800A8750 000A56B0 38 00 00 00 */ li r0, 0 -/* 800A8754 000A56B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8758 000A56B8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CGameCamera" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CGameCamera": -/* 800A875C 000A56BC 38 00 00 00 */ li r0, 0 -/* 800A8760 000A56C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8764 000A56C4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CFishCloud" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CFishCloud": -/* 800A8768 000A56C8 38 00 00 00 */ li r0, 0 -/* 800A876C 000A56CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8770 000A56D0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CFirstPersonCamera" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR18CFirstPersonCamera": -/* 800A8774 000A56D4 38 00 00 00 */ li r0, 0 -/* 800A8778 000A56D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A877C 000A56DC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CExplosion" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR10CExplosion": -/* 800A8780 000A56E0 38 00 00 00 */ li r0, 0 -/* 800A8784 000A56E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8788 000A56E8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CEntity" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR7CEntity": -/* 800A878C 000A56EC 38 00 00 00 */ li r0, 0 -/* 800A8790 000A56F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8794 000A56F4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CEnergyProjectile" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR17CEnergyProjectile": -/* 800A8798 000A56F8 38 00 00 00 */ li r0, 0 -/* 800A879C 000A56FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A87A0 000A5700 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CDestroyableRock" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CDestroyableRock": -/* 800A87A4 000A5704 38 00 00 00 */ li r0, 0 -/* 800A87A8 000A5708 90 03 00 04 */ stw r0, 4(r3) -/* 800A87AC 000A570C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CCollisionActor" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR15CCollisionActor": -/* 800A87B0 000A5710 38 00 00 00 */ li r0, 0 -/* 800A87B4 000A5714 90 03 00 04 */ stw r0, 4(r3) -/* 800A87B8 000A5718 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CCinematicCamera" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR16CCinematicCamera": -/* 800A87BC 000A571C 38 00 00 00 */ li r0, 0 -/* 800A87C0 000A5720 90 03 00 04 */ stw r0, 4(r3) -/* 800A87C4 000A5724 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR5CBomb" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR5CBomb": -/* 800A87C8 000A5728 38 00 00 00 */ li r0, 0 -/* 800A87CC 000A572C 90 03 00 04 */ stw r0, 4(r3) -/* 800A87D0 000A5730 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CBallCamera" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR11CBallCamera": -/* 800A87D4 000A5734 38 00 00 00 */ li r0, 0 -/* 800A87D8 000A5738 90 03 00 04 */ stw r0, 4(r3) -/* 800A87DC 000A573C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptRoomAcoustics>FR6CActor" -"Visit__34TCastToPtr<20CScriptRoomAcoustics>FR6CActor": -/* 800A87E0 000A5740 38 00 00 00 */ li r0, 0 -/* 800A87E4 000A5744 90 03 00 04 */ stw r0, 4(r3) -/* 800A87E8 000A5748 4E 80 00 20 */ blr - -.global "__ct__34TCastToPtr<20CScriptRoomAcoustics>FP7CEntity" -"__ct__34TCastToPtr<20CScriptRoomAcoustics>FP7CEntity": -/* 800A87EC 000A574C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A87F0 000A5750 7C 08 02 A6 */ mflr r0 -/* 800A87F4 000A5754 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A87F8 000A5758 3C A0 80 3E */ lis r5, lbl_803DE17C@ha -/* 800A87FC 000A575C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A8800 000A5760 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A8804 000A5764 28 04 00 00 */ cmplwi r4, 0 -/* 800A8808 000A5768 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A880C 000A576C 7C 7F 1B 78 */ mr r31, r3 -/* 800A8810 000A5770 38 65 E1 7C */ addi r3, r5, lbl_803DE17C@l -/* 800A8814 000A5774 90 1F 00 00 */ stw r0, 0(r31) -/* 800A8818 000A5778 38 00 00 00 */ li r0, 0 -/* 800A881C 000A577C 90 7F 00 00 */ stw r3, 0(r31) -/* 800A8820 000A5780 90 1F 00 04 */ stw r0, 4(r31) -/* 800A8824 000A5784 41 82 00 1C */ beq lbl_800A8840 -/* 800A8828 000A5788 7C 83 23 78 */ mr r3, r4 -/* 800A882C 000A578C 7F E4 FB 78 */ mr r4, r31 -/* 800A8830 000A5790 81 83 00 00 */ lwz r12, 0(r3) -/* 800A8834 000A5794 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A8838 000A5798 7D 89 03 A6 */ mtctr r12 -/* 800A883C 000A579C 4E 80 04 21 */ bctrl -lbl_800A8840: -/* 800A8840 000A57A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A8844 000A57A4 7F E3 FB 78 */ mr r3, r31 -/* 800A8848 000A57A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A884C 000A57AC 7C 08 03 A6 */ mtlr r0 -/* 800A8850 000A57B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A8854 000A57B4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR7CWeapon" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR7CWeapon": -/* 800A8858 000A57B8 38 00 00 00 */ li r0, 0 -/* 800A885C 000A57BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8860 000A57C0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CWallCrawlerSwarm" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CWallCrawlerSwarm": -/* 800A8864 000A57C4 38 00 00 00 */ li r0, 0 -/* 800A8868 000A57C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A886C 000A57CC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptSpindleCamera" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptSpindleCamera": -/* 800A8870 000A57D0 38 00 00 00 */ li r0, 0 -/* 800A8874 000A57D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8878 000A57D8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CSnakeWeedSwarm" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CSnakeWeedSwarm": -/* 800A887C 000A57DC 38 00 00 00 */ li r0, 0 -/* 800A8880 000A57E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8884 000A57E4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptWaypoint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptWaypoint": -/* 800A8888 000A57E8 38 00 00 00 */ li r0, 0 -/* 800A888C 000A57EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8890 000A57F0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptWater" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptWater": -/* 800A8894 000A57F4 38 00 00 00 */ li r0, 0 -/* 800A8898 000A57F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A889C 000A57FC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptVisorFlare" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptVisorFlare": -/* 800A88A0 000A5800 38 00 00 00 */ li r0, 0 -/* 800A88A4 000A5804 90 03 00 04 */ stw r0, 4(r3) -/* 800A88A8 000A5808 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR14CScriptTrigger" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR14CScriptTrigger": -/* 800A88AC 000A580C 38 00 00 00 */ li r0, 0 -/* 800A88B0 000A5810 90 03 00 04 */ stw r0, 4(r3) -/* 800A88B4 000A5814 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptTimer" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptTimer": -/* 800A88B8 000A5818 38 00 00 00 */ li r0, 0 -/* 800A88BC 000A581C 90 03 00 04 */ stw r0, 4(r3) -/* 800A88C0 000A5820 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR10CTeamAiMgr" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR10CTeamAiMgr": -/* 800A88C4 000A5824 38 00 00 00 */ li r0, 0 -/* 800A88C8 000A5828 90 03 00 04 */ stw r0, 4(r3) -/* 800A88CC 000A582C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR21CScriptTargetingPoint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR21CScriptTargetingPoint": -/* 800A88D0 000A5830 38 00 00 00 */ li r0, 0 -/* 800A88D4 000A5834 90 03 00 04 */ stw r0, 4(r3) -/* 800A88D8 000A5838 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR25CScriptSpiderBallWaypoint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR25CScriptSpiderBallWaypoint": -/* 800A88DC 000A583C 38 00 00 00 */ li r0, 0 -/* 800A88E0 000A5840 90 03 00 04 */ stw r0, 4(r3) -/* 800A88E4 000A5844 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR34CScriptSpiderBallAttractionSurface" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR34CScriptSpiderBallAttractionSurface": -/* 800A88E8 000A5848 38 00 00 00 */ li r0, 0 -/* 800A88EC 000A584C 90 03 00 04 */ stw r0, 4(r3) -/* 800A88F0 000A5850 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR22CScriptSpecialFunction" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR22CScriptSpecialFunction": -/* 800A88F4 000A5854 38 00 00 00 */ li r0, 0 -/* 800A88F8 000A5858 90 03 00 04 */ stw r0, 4(r3) -/* 800A88FC 000A585C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptSpawnPoint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptSpawnPoint": -/* 800A8900 000A5860 38 00 00 00 */ li r0, 0 -/* 800A8904 000A5864 90 03 00 04 */ stw r0, 4(r3) -/* 800A8908 000A5868 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptSound" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptSound": -/* 800A890C 000A586C 38 00 00 00 */ li r0, 0 -/* 800A8910 000A5870 90 03 00 04 */ stw r0, 4(r3) -/* 800A8914 000A5874 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptRoomAcoustics" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptRoomAcoustics": -/* 800A8918 000A5878 38 00 00 00 */ li r0, 0 -/* 800A891C 000A587C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8920 000A5880 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR22CScriptPointOfinterest" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR22CScriptPointOfinterest": -/* 800A8924 000A5884 38 00 00 00 */ li r0, 0 -/* 800A8928 000A5888 90 03 00 04 */ stw r0, 4(r3) -/* 800A892C 000A588C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptPlayerHint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptPlayerHint": -/* 800A8930 000A5890 90 83 00 04 */ stw r4, 4(r3) -/* 800A8934 000A5894 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptPlatform" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptPlatform": -/* 800A8938 000A5898 38 00 00 00 */ li r0, 0 -/* 800A893C 000A589C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8940 000A58A0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR13CScriptPickup" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR13CScriptPickup": -/* 800A8944 000A58A4 38 00 00 00 */ li r0, 0 -/* 800A8948 000A58A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A894C 000A58AC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptMazeNode" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CScriptMazeNode": -/* 800A8950 000A58B0 38 00 00 00 */ li r0, 0 -/* 800A8954 000A58B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8958 000A58B8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR16CScriptGunTurret" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR16CScriptGunTurret": -/* 800A895C 000A58BC 38 00 00 00 */ li r0, 0 -/* 800A8960 000A58C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8964 000A58C4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR19CScriptGrapplePoint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR19CScriptGrapplePoint": -/* 800A8968 000A58C8 38 00 00 00 */ li r0, 0 -/* 800A896C 000A58CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8970 000A58D0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR13CScriptEffect" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR13CScriptEffect": -/* 800A8974 000A58D4 38 00 00 00 */ li r0, 0 -/* 800A8978 000A58D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A897C 000A58DC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CScriptDoor" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CScriptDoor": -/* 800A8980 000A58E0 38 00 00 00 */ li r0, 0 -/* 800A8984 000A58E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8988 000A58E8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CScriptDock" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CScriptDock": -/* 800A898C 000A58EC 38 00 00 00 */ li r0, 0 -/* 800A8990 000A58F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8994 000A58F4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR18CScriptDistanceFog" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR18CScriptDistanceFog": -/* 800A8998 000A58F8 38 00 00 00 */ li r0, 0 -/* 800A899C 000A58FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A89A0 000A5900 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR26CScriptDebugCameraWaypoint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR26CScriptDebugCameraWaypoint": -/* 800A89A4 000A5904 38 00 00 00 */ li r0, 0 -/* 800A89A8 000A5908 90 03 00 04 */ stw r0, 4(r3) -/* 800A89AC 000A590C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptCoverPoint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptCoverPoint": -/* 800A89B0 000A5910 38 00 00 00 */ li r0, 0 -/* 800A89B4 000A5914 90 03 00 04 */ stw r0, 4(r3) -/* 800A89B8 000A5918 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR21CScriptCameraWaypoint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR21CScriptCameraWaypoint": -/* 800A89BC 000A591C 38 00 00 00 */ li r0, 0 -/* 800A89C0 000A5920 90 03 00 04 */ stw r0, 4(r3) -/* 800A89C4 000A5924 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR24CScriptCameraPitchVolume" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR24CScriptCameraPitchVolume": -/* 800A89C8 000A5928 38 00 00 00 */ li r0, 0 -/* 800A89CC 000A592C 90 03 00 04 */ stw r0, 4(r3) -/* 800A89D0 000A5930 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptCameraHint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CScriptCameraHint": -/* 800A89D4 000A5934 38 00 00 00 */ li r0, 0 -/* 800A89D8 000A5938 90 03 00 04 */ stw r0, 4(r3) -/* 800A89DC 000A593C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR18CScriptAiJumpPoint" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR18CScriptAiJumpPoint": -/* 800A89E0 000A5940 38 00 00 00 */ li r0, 0 -/* 800A89E4 000A5944 90 03 00 04 */ stw r0, 4(r3) -/* 800A89E8 000A5948 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptActorKeyframe" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR20CScriptActorKeyframe": -/* 800A89EC 000A594C 38 00 00 00 */ li r0, 0 -/* 800A89F0 000A5950 90 03 00 04 */ stw r0, 4(r3) -/* 800A89F4 000A5954 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptActor" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR12CScriptActor": -/* 800A89F8 000A5958 38 00 00 00 */ li r0, 0 -/* 800A89FC 000A595C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A00 000A5960 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR9CRepulsor" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR9CRepulsor": -/* 800A8A04 000A5964 38 00 00 00 */ li r0, 0 -/* 800A8A08 000A5968 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A0C 000A596C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR7CPlayer" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR7CPlayer": -/* 800A8A10 000A5970 38 00 00 00 */ li r0, 0 -/* 800A8A14 000A5974 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A18 000A5978 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR13CPhysicsActor" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR13CPhysicsActor": -/* 800A8A1C 000A597C 38 00 00 00 */ li r0, 0 -/* 800A8A20 000A5980 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A24 000A5984 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR3CAi" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR3CAi": -/* 800A8A28 000A5988 38 00 00 00 */ li r0, 0 -/* 800A8A2C 000A598C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A30 000A5990 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CPathCamera" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CPathCamera": -/* 800A8A34 000A5994 38 00 00 00 */ li r0, 0 -/* 800A8A38 000A5998 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A3C 000A599C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR18CMetroidPrimeRelay" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR18CMetroidPrimeRelay": -/* 800A8A40 000A59A0 38 00 00 00 */ li r0, 0 -/* 800A8A44 000A59A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A48 000A59A8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR19CHUDBillboardEffect" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR19CHUDBillboardEffect": -/* 800A8A4C 000A59AC 38 00 00 00 */ li r0, 0 -/* 800A8A50 000A59B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A54 000A59B4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CGameProjectile" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CGameProjectile": -/* 800A8A58 000A59B8 38 00 00 00 */ li r0, 0 -/* 800A8A5C 000A59BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A60 000A59C0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR10CGameLight" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR10CGameLight": -/* 800A8A64 000A59C4 38 00 00 00 */ li r0, 0 -/* 800A8A68 000A59C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A6C 000A59CC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CGameCamera" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CGameCamera": -/* 800A8A70 000A59D0 38 00 00 00 */ li r0, 0 -/* 800A8A74 000A59D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A78 000A59D8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR10CFishCloud" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR10CFishCloud": -/* 800A8A7C 000A59DC 38 00 00 00 */ li r0, 0 -/* 800A8A80 000A59E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A84 000A59E4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR18CFirstPersonCamera" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR18CFirstPersonCamera": -/* 800A8A88 000A59E8 38 00 00 00 */ li r0, 0 -/* 800A8A8C 000A59EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A90 000A59F0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR10CExplosion" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR10CExplosion": -/* 800A8A94 000A59F4 38 00 00 00 */ li r0, 0 -/* 800A8A98 000A59F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8A9C 000A59FC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR7CEntity" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR7CEntity": -/* 800A8AA0 000A5A00 38 00 00 00 */ li r0, 0 -/* 800A8AA4 000A5A04 90 03 00 04 */ stw r0, 4(r3) -/* 800A8AA8 000A5A08 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR17CEnergyProjectile" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR17CEnergyProjectile": -/* 800A8AAC 000A5A0C 38 00 00 00 */ li r0, 0 -/* 800A8AB0 000A5A10 90 03 00 04 */ stw r0, 4(r3) -/* 800A8AB4 000A5A14 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR16CDestroyableRock" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR16CDestroyableRock": -/* 800A8AB8 000A5A18 38 00 00 00 */ li r0, 0 -/* 800A8ABC 000A5A1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8AC0 000A5A20 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR15CCollisionActor" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR15CCollisionActor": -/* 800A8AC4 000A5A24 38 00 00 00 */ li r0, 0 -/* 800A8AC8 000A5A28 90 03 00 04 */ stw r0, 4(r3) -/* 800A8ACC 000A5A2C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR16CCinematicCamera" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR16CCinematicCamera": -/* 800A8AD0 000A5A30 38 00 00 00 */ li r0, 0 -/* 800A8AD4 000A5A34 90 03 00 04 */ stw r0, 4(r3) -/* 800A8AD8 000A5A38 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR5CBomb" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR5CBomb": -/* 800A8ADC 000A5A3C 38 00 00 00 */ li r0, 0 -/* 800A8AE0 000A5A40 90 03 00 04 */ stw r0, 4(r3) -/* 800A8AE4 000A5A44 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR11CBallCamera" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR11CBallCamera": -/* 800A8AE8 000A5A48 38 00 00 00 */ li r0, 0 -/* 800A8AEC 000A5A4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8AF0 000A5A50 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptPlayerHint>FR6CActor" -"Visit__31TCastToPtr<17CScriptPlayerHint>FR6CActor": -/* 800A8AF4 000A5A54 38 00 00 00 */ li r0, 0 -/* 800A8AF8 000A5A58 90 03 00 04 */ stw r0, 4(r3) -/* 800A8AFC 000A5A5C 4E 80 00 20 */ blr - -.global "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -"__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity": -/* 800A8B00 000A5A60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A8B04 000A5A64 7C 08 02 A6 */ mflr r0 -/* 800A8B08 000A5A68 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A8B0C 000A5A6C 3C A0 80 3E */ lis r5, lbl_803DE090@ha -/* 800A8B10 000A5A70 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A8B14 000A5A74 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A8B18 000A5A78 28 04 00 00 */ cmplwi r4, 0 -/* 800A8B1C 000A5A7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A8B20 000A5A80 7C 7F 1B 78 */ mr r31, r3 -/* 800A8B24 000A5A84 38 65 E0 90 */ addi r3, r5, lbl_803DE090@l -/* 800A8B28 000A5A88 90 1F 00 00 */ stw r0, 0(r31) -/* 800A8B2C 000A5A8C 38 00 00 00 */ li r0, 0 -/* 800A8B30 000A5A90 90 7F 00 00 */ stw r3, 0(r31) -/* 800A8B34 000A5A94 90 1F 00 04 */ stw r0, 4(r31) -/* 800A8B38 000A5A98 41 82 00 1C */ beq lbl_800A8B54 -/* 800A8B3C 000A5A9C 7C 83 23 78 */ mr r3, r4 -/* 800A8B40 000A5AA0 7F E4 FB 78 */ mr r4, r31 -/* 800A8B44 000A5AA4 81 83 00 00 */ lwz r12, 0(r3) -/* 800A8B48 000A5AA8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A8B4C 000A5AAC 7D 89 03 A6 */ mtctr r12 -/* 800A8B50 000A5AB0 4E 80 04 21 */ bctrl -lbl_800A8B54: -/* 800A8B54 000A5AB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A8B58 000A5AB8 7F E3 FB 78 */ mr r3, r31 -/* 800A8B5C 000A5ABC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A8B60 000A5AC0 7C 08 03 A6 */ mtlr r0 -/* 800A8B64 000A5AC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A8B68 000A5AC8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR7CWeapon" -"Visit__29TCastToPtr<15CScriptPlatform>FR7CWeapon": -/* 800A8B6C 000A5ACC 38 00 00 00 */ li r0, 0 -/* 800A8B70 000A5AD0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8B74 000A5AD4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CWallCrawlerSwarm" -"Visit__29TCastToPtr<15CScriptPlatform>FR17CWallCrawlerSwarm": -/* 800A8B78 000A5AD8 38 00 00 00 */ li r0, 0 -/* 800A8B7C 000A5ADC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8B80 000A5AE0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptSpindleCamera" -"Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptSpindleCamera": -/* 800A8B84 000A5AE4 38 00 00 00 */ li r0, 0 -/* 800A8B88 000A5AE8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8B8C 000A5AEC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CSnakeWeedSwarm" -"Visit__29TCastToPtr<15CScriptPlatform>FR15CSnakeWeedSwarm": -/* 800A8B90 000A5AF0 38 00 00 00 */ li r0, 0 -/* 800A8B94 000A5AF4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8B98 000A5AF8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptWaypoint" -"Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptWaypoint": -/* 800A8B9C 000A5AFC 38 00 00 00 */ li r0, 0 -/* 800A8BA0 000A5B00 90 03 00 04 */ stw r0, 4(r3) -/* 800A8BA4 000A5B04 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptWater" -"Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptWater": -/* 800A8BA8 000A5B08 38 00 00 00 */ li r0, 0 -/* 800A8BAC 000A5B0C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8BB0 000A5B10 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptVisorFlare" -"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptVisorFlare": -/* 800A8BB4 000A5B14 38 00 00 00 */ li r0, 0 -/* 800A8BB8 000A5B18 90 03 00 04 */ stw r0, 4(r3) -/* 800A8BBC 000A5B1C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR14CScriptTrigger" -"Visit__29TCastToPtr<15CScriptPlatform>FR14CScriptTrigger": -/* 800A8BC0 000A5B20 38 00 00 00 */ li r0, 0 -/* 800A8BC4 000A5B24 90 03 00 04 */ stw r0, 4(r3) -/* 800A8BC8 000A5B28 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptTimer" -"Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptTimer": -/* 800A8BCC 000A5B2C 38 00 00 00 */ li r0, 0 -/* 800A8BD0 000A5B30 90 03 00 04 */ stw r0, 4(r3) -/* 800A8BD4 000A5B34 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR10CTeamAiMgr" -"Visit__29TCastToPtr<15CScriptPlatform>FR10CTeamAiMgr": -/* 800A8BD8 000A5B38 38 00 00 00 */ li r0, 0 -/* 800A8BDC 000A5B3C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8BE0 000A5B40 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR21CScriptTargetingPoint" -"Visit__29TCastToPtr<15CScriptPlatform>FR21CScriptTargetingPoint": -/* 800A8BE4 000A5B44 38 00 00 00 */ li r0, 0 -/* 800A8BE8 000A5B48 90 03 00 04 */ stw r0, 4(r3) -/* 800A8BEC 000A5B4C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR25CScriptSpiderBallWaypoint" -"Visit__29TCastToPtr<15CScriptPlatform>FR25CScriptSpiderBallWaypoint": -/* 800A8BF0 000A5B50 38 00 00 00 */ li r0, 0 -/* 800A8BF4 000A5B54 90 03 00 04 */ stw r0, 4(r3) -/* 800A8BF8 000A5B58 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR34CScriptSpiderBallAttractionSurface" -"Visit__29TCastToPtr<15CScriptPlatform>FR34CScriptSpiderBallAttractionSurface": -/* 800A8BFC 000A5B5C 38 00 00 00 */ li r0, 0 -/* 800A8C00 000A5B60 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C04 000A5B64 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR22CScriptSpecialFunction" -"Visit__29TCastToPtr<15CScriptPlatform>FR22CScriptSpecialFunction": -/* 800A8C08 000A5B68 38 00 00 00 */ li r0, 0 -/* 800A8C0C 000A5B6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C10 000A5B70 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptSpawnPoint" -"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptSpawnPoint": -/* 800A8C14 000A5B74 38 00 00 00 */ li r0, 0 -/* 800A8C18 000A5B78 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C1C 000A5B7C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptSound" -"Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptSound": -/* 800A8C20 000A5B80 38 00 00 00 */ li r0, 0 -/* 800A8C24 000A5B84 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C28 000A5B88 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptRoomAcoustics" -"Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptRoomAcoustics": -/* 800A8C2C 000A5B8C 38 00 00 00 */ li r0, 0 -/* 800A8C30 000A5B90 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C34 000A5B94 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR22CScriptPointOfinterest" -"Visit__29TCastToPtr<15CScriptPlatform>FR22CScriptPointOfinterest": -/* 800A8C38 000A5B98 38 00 00 00 */ li r0, 0 -/* 800A8C3C 000A5B9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C40 000A5BA0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptPlayerHint" -"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptPlayerHint": -/* 800A8C44 000A5BA4 38 00 00 00 */ li r0, 0 -/* 800A8C48 000A5BA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C4C 000A5BAC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptPlatform" -"Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptPlatform": -/* 800A8C50 000A5BB0 90 83 00 04 */ stw r4, 4(r3) -/* 800A8C54 000A5BB4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR13CScriptPickup" -"Visit__29TCastToPtr<15CScriptPlatform>FR13CScriptPickup": -/* 800A8C58 000A5BB8 38 00 00 00 */ li r0, 0 -/* 800A8C5C 000A5BBC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C60 000A5BC0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptMazeNode" -"Visit__29TCastToPtr<15CScriptPlatform>FR15CScriptMazeNode": -/* 800A8C64 000A5BC4 38 00 00 00 */ li r0, 0 -/* 800A8C68 000A5BC8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C6C 000A5BCC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR16CScriptGunTurret" -"Visit__29TCastToPtr<15CScriptPlatform>FR16CScriptGunTurret": -/* 800A8C70 000A5BD0 38 00 00 00 */ li r0, 0 -/* 800A8C74 000A5BD4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C78 000A5BD8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR19CScriptGrapplePoint" -"Visit__29TCastToPtr<15CScriptPlatform>FR19CScriptGrapplePoint": -/* 800A8C7C 000A5BDC 38 00 00 00 */ li r0, 0 -/* 800A8C80 000A5BE0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C84 000A5BE4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR13CScriptEffect" -"Visit__29TCastToPtr<15CScriptPlatform>FR13CScriptEffect": -/* 800A8C88 000A5BE8 38 00 00 00 */ li r0, 0 -/* 800A8C8C 000A5BEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C90 000A5BF0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CScriptDoor" -"Visit__29TCastToPtr<15CScriptPlatform>FR11CScriptDoor": -/* 800A8C94 000A5BF4 38 00 00 00 */ li r0, 0 -/* 800A8C98 000A5BF8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8C9C 000A5BFC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CScriptDock" -"Visit__29TCastToPtr<15CScriptPlatform>FR11CScriptDock": -/* 800A8CA0 000A5C00 38 00 00 00 */ li r0, 0 -/* 800A8CA4 000A5C04 90 03 00 04 */ stw r0, 4(r3) -/* 800A8CA8 000A5C08 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR18CScriptDistanceFog" -"Visit__29TCastToPtr<15CScriptPlatform>FR18CScriptDistanceFog": -/* 800A8CAC 000A5C0C 38 00 00 00 */ li r0, 0 -/* 800A8CB0 000A5C10 90 03 00 04 */ stw r0, 4(r3) -/* 800A8CB4 000A5C14 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR26CScriptDebugCameraWaypoint" -"Visit__29TCastToPtr<15CScriptPlatform>FR26CScriptDebugCameraWaypoint": -/* 800A8CB8 000A5C18 38 00 00 00 */ li r0, 0 -/* 800A8CBC 000A5C1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8CC0 000A5C20 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptCoverPoint" -"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptCoverPoint": -/* 800A8CC4 000A5C24 38 00 00 00 */ li r0, 0 -/* 800A8CC8 000A5C28 90 03 00 04 */ stw r0, 4(r3) -/* 800A8CCC 000A5C2C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR21CScriptCameraWaypoint" -"Visit__29TCastToPtr<15CScriptPlatform>FR21CScriptCameraWaypoint": -/* 800A8CD0 000A5C30 38 00 00 00 */ li r0, 0 -/* 800A8CD4 000A5C34 90 03 00 04 */ stw r0, 4(r3) -/* 800A8CD8 000A5C38 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR24CScriptCameraPitchVolume" -"Visit__29TCastToPtr<15CScriptPlatform>FR24CScriptCameraPitchVolume": -/* 800A8CDC 000A5C3C 38 00 00 00 */ li r0, 0 -/* 800A8CE0 000A5C40 90 03 00 04 */ stw r0, 4(r3) -/* 800A8CE4 000A5C44 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptCameraHint" -"Visit__29TCastToPtr<15CScriptPlatform>FR17CScriptCameraHint": -/* 800A8CE8 000A5C48 38 00 00 00 */ li r0, 0 -/* 800A8CEC 000A5C4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8CF0 000A5C50 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR18CScriptAiJumpPoint" -"Visit__29TCastToPtr<15CScriptPlatform>FR18CScriptAiJumpPoint": -/* 800A8CF4 000A5C54 38 00 00 00 */ li r0, 0 -/* 800A8CF8 000A5C58 90 03 00 04 */ stw r0, 4(r3) -/* 800A8CFC 000A5C5C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptActorKeyframe" -"Visit__29TCastToPtr<15CScriptPlatform>FR20CScriptActorKeyframe": -/* 800A8D00 000A5C60 38 00 00 00 */ li r0, 0 -/* 800A8D04 000A5C64 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D08 000A5C68 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptActor" -"Visit__29TCastToPtr<15CScriptPlatform>FR12CScriptActor": -/* 800A8D0C 000A5C6C 38 00 00 00 */ li r0, 0 -/* 800A8D10 000A5C70 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D14 000A5C74 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR9CRepulsor" -"Visit__29TCastToPtr<15CScriptPlatform>FR9CRepulsor": -/* 800A8D18 000A5C78 38 00 00 00 */ li r0, 0 -/* 800A8D1C 000A5C7C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D20 000A5C80 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR7CPlayer" -"Visit__29TCastToPtr<15CScriptPlatform>FR7CPlayer": -/* 800A8D24 000A5C84 38 00 00 00 */ li r0, 0 -/* 800A8D28 000A5C88 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D2C 000A5C8C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR13CPhysicsActor" -"Visit__29TCastToPtr<15CScriptPlatform>FR13CPhysicsActor": -/* 800A8D30 000A5C90 38 00 00 00 */ li r0, 0 -/* 800A8D34 000A5C94 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D38 000A5C98 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR3CAi" -"Visit__29TCastToPtr<15CScriptPlatform>FR3CAi": -/* 800A8D3C 000A5C9C 38 00 00 00 */ li r0, 0 -/* 800A8D40 000A5CA0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D44 000A5CA4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CPathCamera" -"Visit__29TCastToPtr<15CScriptPlatform>FR11CPathCamera": -/* 800A8D48 000A5CA8 38 00 00 00 */ li r0, 0 -/* 800A8D4C 000A5CAC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D50 000A5CB0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR18CMetroidPrimeRelay" -"Visit__29TCastToPtr<15CScriptPlatform>FR18CMetroidPrimeRelay": -/* 800A8D54 000A5CB4 38 00 00 00 */ li r0, 0 -/* 800A8D58 000A5CB8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D5C 000A5CBC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR19CHUDBillboardEffect" -"Visit__29TCastToPtr<15CScriptPlatform>FR19CHUDBillboardEffect": -/* 800A8D60 000A5CC0 38 00 00 00 */ li r0, 0 -/* 800A8D64 000A5CC4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D68 000A5CC8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CGameProjectile" -"Visit__29TCastToPtr<15CScriptPlatform>FR15CGameProjectile": -/* 800A8D6C 000A5CCC 38 00 00 00 */ li r0, 0 -/* 800A8D70 000A5CD0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D74 000A5CD4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR10CGameLight" -"Visit__29TCastToPtr<15CScriptPlatform>FR10CGameLight": -/* 800A8D78 000A5CD8 38 00 00 00 */ li r0, 0 -/* 800A8D7C 000A5CDC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D80 000A5CE0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CGameCamera" -"Visit__29TCastToPtr<15CScriptPlatform>FR11CGameCamera": -/* 800A8D84 000A5CE4 38 00 00 00 */ li r0, 0 -/* 800A8D88 000A5CE8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D8C 000A5CEC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR10CFishCloud" -"Visit__29TCastToPtr<15CScriptPlatform>FR10CFishCloud": -/* 800A8D90 000A5CF0 38 00 00 00 */ li r0, 0 -/* 800A8D94 000A5CF4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8D98 000A5CF8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR18CFirstPersonCamera" -"Visit__29TCastToPtr<15CScriptPlatform>FR18CFirstPersonCamera": -/* 800A8D9C 000A5CFC 38 00 00 00 */ li r0, 0 -/* 800A8DA0 000A5D00 90 03 00 04 */ stw r0, 4(r3) -/* 800A8DA4 000A5D04 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR10CExplosion" -"Visit__29TCastToPtr<15CScriptPlatform>FR10CExplosion": -/* 800A8DA8 000A5D08 38 00 00 00 */ li r0, 0 -/* 800A8DAC 000A5D0C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8DB0 000A5D10 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR7CEntity" -"Visit__29TCastToPtr<15CScriptPlatform>FR7CEntity": -/* 800A8DB4 000A5D14 38 00 00 00 */ li r0, 0 -/* 800A8DB8 000A5D18 90 03 00 04 */ stw r0, 4(r3) -/* 800A8DBC 000A5D1C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR17CEnergyProjectile" -"Visit__29TCastToPtr<15CScriptPlatform>FR17CEnergyProjectile": -/* 800A8DC0 000A5D20 38 00 00 00 */ li r0, 0 -/* 800A8DC4 000A5D24 90 03 00 04 */ stw r0, 4(r3) -/* 800A8DC8 000A5D28 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR16CDestroyableRock" -"Visit__29TCastToPtr<15CScriptPlatform>FR16CDestroyableRock": -/* 800A8DCC 000A5D2C 38 00 00 00 */ li r0, 0 -/* 800A8DD0 000A5D30 90 03 00 04 */ stw r0, 4(r3) -/* 800A8DD4 000A5D34 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR15CCollisionActor" -"Visit__29TCastToPtr<15CScriptPlatform>FR15CCollisionActor": -/* 800A8DD8 000A5D38 38 00 00 00 */ li r0, 0 -/* 800A8DDC 000A5D3C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8DE0 000A5D40 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR16CCinematicCamera" -"Visit__29TCastToPtr<15CScriptPlatform>FR16CCinematicCamera": -/* 800A8DE4 000A5D44 38 00 00 00 */ li r0, 0 -/* 800A8DE8 000A5D48 90 03 00 04 */ stw r0, 4(r3) -/* 800A8DEC 000A5D4C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR5CBomb" -"Visit__29TCastToPtr<15CScriptPlatform>FR5CBomb": -/* 800A8DF0 000A5D50 38 00 00 00 */ li r0, 0 -/* 800A8DF4 000A5D54 90 03 00 04 */ stw r0, 4(r3) -/* 800A8DF8 000A5D58 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR11CBallCamera" -"Visit__29TCastToPtr<15CScriptPlatform>FR11CBallCamera": -/* 800A8DFC 000A5D5C 38 00 00 00 */ li r0, 0 -/* 800A8E00 000A5D60 90 03 00 04 */ stw r0, 4(r3) -/* 800A8E04 000A5D64 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptPlatform>FR6CActor" -"Visit__29TCastToPtr<15CScriptPlatform>FR6CActor": -/* 800A8E08 000A5D68 38 00 00 00 */ li r0, 0 -/* 800A8E0C 000A5D6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8E10 000A5D70 4E 80 00 20 */ blr - -.global "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" -"__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity": -/* 800A8E14 000A5D74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A8E18 000A5D78 7C 08 02 A6 */ mflr r0 -/* 800A8E1C 000A5D7C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A8E20 000A5D80 3C A0 80 3E */ lis r5, lbl_803DDFA4@ha -/* 800A8E24 000A5D84 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A8E28 000A5D88 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A8E2C 000A5D8C 28 04 00 00 */ cmplwi r4, 0 -/* 800A8E30 000A5D90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A8E34 000A5D94 7C 7F 1B 78 */ mr r31, r3 -/* 800A8E38 000A5D98 38 65 DF A4 */ addi r3, r5, lbl_803DDFA4@l -/* 800A8E3C 000A5D9C 90 1F 00 00 */ stw r0, 0(r31) -/* 800A8E40 000A5DA0 38 00 00 00 */ li r0, 0 -/* 800A8E44 000A5DA4 90 7F 00 00 */ stw r3, 0(r31) -/* 800A8E48 000A5DA8 90 1F 00 04 */ stw r0, 4(r31) -/* 800A8E4C 000A5DAC 41 82 00 1C */ beq lbl_800A8E68 -/* 800A8E50 000A5DB0 7C 83 23 78 */ mr r3, r4 -/* 800A8E54 000A5DB4 7F E4 FB 78 */ mr r4, r31 -/* 800A8E58 000A5DB8 81 83 00 00 */ lwz r12, 0(r3) -/* 800A8E5C 000A5DBC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A8E60 000A5DC0 7D 89 03 A6 */ mtctr r12 -/* 800A8E64 000A5DC4 4E 80 04 21 */ bctrl -lbl_800A8E68: -/* 800A8E68 000A5DC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A8E6C 000A5DCC 7F E3 FB 78 */ mr r3, r31 -/* 800A8E70 000A5DD0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A8E74 000A5DD4 7C 08 03 A6 */ mtlr r0 -/* 800A8E78 000A5DD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A8E7C 000A5DDC 4E 80 00 20 */ blr - -.global "__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity" -"__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity": -/* 800A8E80 000A5DE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A8E84 000A5DE4 7C 08 02 A6 */ mflr r0 -/* 800A8E88 000A5DE8 3C A0 80 3E */ lis r5, lbl_803DDFA4@ha -/* 800A8E8C 000A5DEC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A8E90 000A5DF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A8E94 000A5DF4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A8E98 000A5DF8 38 A5 DF A4 */ addi r5, r5, lbl_803DDFA4@l -/* 800A8E9C 000A5DFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A8EA0 000A5E00 7C 7F 1B 78 */ mr r31, r3 -/* 800A8EA4 000A5E04 90 03 00 00 */ stw r0, 0(r3) -/* 800A8EA8 000A5E08 7C 83 23 78 */ mr r3, r4 -/* 800A8EAC 000A5E0C 38 00 00 00 */ li r0, 0 -/* 800A8EB0 000A5E10 7F E4 FB 78 */ mr r4, r31 -/* 800A8EB4 000A5E14 90 BF 00 00 */ stw r5, 0(r31) -/* 800A8EB8 000A5E18 90 1F 00 04 */ stw r0, 4(r31) -/* 800A8EBC 000A5E1C 81 83 00 00 */ lwz r12, 0(r3) -/* 800A8EC0 000A5E20 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A8EC4 000A5E24 7D 89 03 A6 */ mtctr r12 -/* 800A8EC8 000A5E28 4E 80 04 21 */ bctrl -/* 800A8ECC 000A5E2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A8ED0 000A5E30 7F E3 FB 78 */ mr r3, r31 -/* 800A8ED4 000A5E34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A8ED8 000A5E38 7C 08 03 A6 */ mtlr r0 -/* 800A8EDC 000A5E3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A8EE0 000A5E40 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR7CWeapon" -"Visit__27TCastToPtr<13CScriptPickup>FR7CWeapon": -/* 800A8EE4 000A5E44 38 00 00 00 */ li r0, 0 -/* 800A8EE8 000A5E48 90 03 00 04 */ stw r0, 4(r3) -/* 800A8EEC 000A5E4C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR17CWallCrawlerSwarm" -"Visit__27TCastToPtr<13CScriptPickup>FR17CWallCrawlerSwarm": -/* 800A8EF0 000A5E50 38 00 00 00 */ li r0, 0 -/* 800A8EF4 000A5E54 90 03 00 04 */ stw r0, 4(r3) -/* 800A8EF8 000A5E58 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR20CScriptSpindleCamera" -"Visit__27TCastToPtr<13CScriptPickup>FR20CScriptSpindleCamera": -/* 800A8EFC 000A5E5C 38 00 00 00 */ li r0, 0 -/* 800A8F00 000A5E60 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F04 000A5E64 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR15CSnakeWeedSwarm" -"Visit__27TCastToPtr<13CScriptPickup>FR15CSnakeWeedSwarm": -/* 800A8F08 000A5E68 38 00 00 00 */ li r0, 0 -/* 800A8F0C 000A5E6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F10 000A5E70 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR15CScriptWaypoint" -"Visit__27TCastToPtr<13CScriptPickup>FR15CScriptWaypoint": -/* 800A8F14 000A5E74 38 00 00 00 */ li r0, 0 -/* 800A8F18 000A5E78 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F1C 000A5E7C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR12CScriptWater" -"Visit__27TCastToPtr<13CScriptPickup>FR12CScriptWater": -/* 800A8F20 000A5E80 38 00 00 00 */ li r0, 0 -/* 800A8F24 000A5E84 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F28 000A5E88 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptVisorFlare" -"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptVisorFlare": -/* 800A8F2C 000A5E8C 38 00 00 00 */ li r0, 0 -/* 800A8F30 000A5E90 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F34 000A5E94 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR14CScriptTrigger" -"Visit__27TCastToPtr<13CScriptPickup>FR14CScriptTrigger": -/* 800A8F38 000A5E98 38 00 00 00 */ li r0, 0 -/* 800A8F3C 000A5E9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F40 000A5EA0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR12CScriptTimer" -"Visit__27TCastToPtr<13CScriptPickup>FR12CScriptTimer": -/* 800A8F44 000A5EA4 38 00 00 00 */ li r0, 0 -/* 800A8F48 000A5EA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F4C 000A5EAC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR10CTeamAiMgr" -"Visit__27TCastToPtr<13CScriptPickup>FR10CTeamAiMgr": -/* 800A8F50 000A5EB0 38 00 00 00 */ li r0, 0 -/* 800A8F54 000A5EB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F58 000A5EB8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR21CScriptTargetingPoint" -"Visit__27TCastToPtr<13CScriptPickup>FR21CScriptTargetingPoint": -/* 800A8F5C 000A5EBC 38 00 00 00 */ li r0, 0 -/* 800A8F60 000A5EC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F64 000A5EC4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR25CScriptSpiderBallWaypoint" -"Visit__27TCastToPtr<13CScriptPickup>FR25CScriptSpiderBallWaypoint": -/* 800A8F68 000A5EC8 38 00 00 00 */ li r0, 0 -/* 800A8F6C 000A5ECC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F70 000A5ED0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR34CScriptSpiderBallAttractionSurface" -"Visit__27TCastToPtr<13CScriptPickup>FR34CScriptSpiderBallAttractionSurface": -/* 800A8F74 000A5ED4 38 00 00 00 */ li r0, 0 -/* 800A8F78 000A5ED8 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F7C 000A5EDC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR22CScriptSpecialFunction" -"Visit__27TCastToPtr<13CScriptPickup>FR22CScriptSpecialFunction": -/* 800A8F80 000A5EE0 38 00 00 00 */ li r0, 0 -/* 800A8F84 000A5EE4 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F88 000A5EE8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptSpawnPoint" -"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptSpawnPoint": -/* 800A8F8C 000A5EEC 38 00 00 00 */ li r0, 0 -/* 800A8F90 000A5EF0 90 03 00 04 */ stw r0, 4(r3) -/* 800A8F94 000A5EF4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR12CScriptSound" -"Visit__27TCastToPtr<13CScriptPickup>FR12CScriptSound": -/* 800A8F98 000A5EF8 38 00 00 00 */ li r0, 0 -/* 800A8F9C 000A5EFC 90 03 00 04 */ stw r0, 4(r3) -/* 800A8FA0 000A5F00 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR20CScriptRoomAcoustics" -"Visit__27TCastToPtr<13CScriptPickup>FR20CScriptRoomAcoustics": -/* 800A8FA4 000A5F04 38 00 00 00 */ li r0, 0 -/* 800A8FA8 000A5F08 90 03 00 04 */ stw r0, 4(r3) -/* 800A8FAC 000A5F0C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR22CScriptPointOfinterest" -"Visit__27TCastToPtr<13CScriptPickup>FR22CScriptPointOfinterest": -/* 800A8FB0 000A5F10 38 00 00 00 */ li r0, 0 -/* 800A8FB4 000A5F14 90 03 00 04 */ stw r0, 4(r3) -/* 800A8FB8 000A5F18 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptPlayerHint" -"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptPlayerHint": -/* 800A8FBC 000A5F1C 38 00 00 00 */ li r0, 0 -/* 800A8FC0 000A5F20 90 03 00 04 */ stw r0, 4(r3) -/* 800A8FC4 000A5F24 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR15CScriptPlatform" -"Visit__27TCastToPtr<13CScriptPickup>FR15CScriptPlatform": -/* 800A8FC8 000A5F28 38 00 00 00 */ li r0, 0 -/* 800A8FCC 000A5F2C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8FD0 000A5F30 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR13CScriptPickup" -"Visit__27TCastToPtr<13CScriptPickup>FR13CScriptPickup": -/* 800A8FD4 000A5F34 90 83 00 04 */ stw r4, 4(r3) -/* 800A8FD8 000A5F38 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR15CScriptMazeNode" -"Visit__27TCastToPtr<13CScriptPickup>FR15CScriptMazeNode": -/* 800A8FDC 000A5F3C 38 00 00 00 */ li r0, 0 -/* 800A8FE0 000A5F40 90 03 00 04 */ stw r0, 4(r3) -/* 800A8FE4 000A5F44 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR16CScriptGunTurret" -"Visit__27TCastToPtr<13CScriptPickup>FR16CScriptGunTurret": -/* 800A8FE8 000A5F48 38 00 00 00 */ li r0, 0 -/* 800A8FEC 000A5F4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A8FF0 000A5F50 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR19CScriptGrapplePoint" -"Visit__27TCastToPtr<13CScriptPickup>FR19CScriptGrapplePoint": -/* 800A8FF4 000A5F54 38 00 00 00 */ li r0, 0 -/* 800A8FF8 000A5F58 90 03 00 04 */ stw r0, 4(r3) -/* 800A8FFC 000A5F5C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR13CScriptEffect" -"Visit__27TCastToPtr<13CScriptPickup>FR13CScriptEffect": -/* 800A9000 000A5F60 38 00 00 00 */ li r0, 0 -/* 800A9004 000A5F64 90 03 00 04 */ stw r0, 4(r3) -/* 800A9008 000A5F68 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR11CScriptDoor" -"Visit__27TCastToPtr<13CScriptPickup>FR11CScriptDoor": -/* 800A900C 000A5F6C 38 00 00 00 */ li r0, 0 -/* 800A9010 000A5F70 90 03 00 04 */ stw r0, 4(r3) -/* 800A9014 000A5F74 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR11CScriptDock" -"Visit__27TCastToPtr<13CScriptPickup>FR11CScriptDock": -/* 800A9018 000A5F78 38 00 00 00 */ li r0, 0 -/* 800A901C 000A5F7C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9020 000A5F80 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR18CScriptDistanceFog" -"Visit__27TCastToPtr<13CScriptPickup>FR18CScriptDistanceFog": -/* 800A9024 000A5F84 38 00 00 00 */ li r0, 0 -/* 800A9028 000A5F88 90 03 00 04 */ stw r0, 4(r3) -/* 800A902C 000A5F8C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR26CScriptDebugCameraWaypoint" -"Visit__27TCastToPtr<13CScriptPickup>FR26CScriptDebugCameraWaypoint": -/* 800A9030 000A5F90 38 00 00 00 */ li r0, 0 -/* 800A9034 000A5F94 90 03 00 04 */ stw r0, 4(r3) -/* 800A9038 000A5F98 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptCoverPoint" -"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptCoverPoint": -/* 800A903C 000A5F9C 38 00 00 00 */ li r0, 0 -/* 800A9040 000A5FA0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9044 000A5FA4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR21CScriptCameraWaypoint" -"Visit__27TCastToPtr<13CScriptPickup>FR21CScriptCameraWaypoint": -/* 800A9048 000A5FA8 38 00 00 00 */ li r0, 0 -/* 800A904C 000A5FAC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9050 000A5FB0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR24CScriptCameraPitchVolume" -"Visit__27TCastToPtr<13CScriptPickup>FR24CScriptCameraPitchVolume": -/* 800A9054 000A5FB4 38 00 00 00 */ li r0, 0 -/* 800A9058 000A5FB8 90 03 00 04 */ stw r0, 4(r3) -/* 800A905C 000A5FBC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR17CScriptCameraHint" -"Visit__27TCastToPtr<13CScriptPickup>FR17CScriptCameraHint": -/* 800A9060 000A5FC0 38 00 00 00 */ li r0, 0 -/* 800A9064 000A5FC4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9068 000A5FC8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR18CScriptAiJumpPoint" -"Visit__27TCastToPtr<13CScriptPickup>FR18CScriptAiJumpPoint": -/* 800A906C 000A5FCC 38 00 00 00 */ li r0, 0 -/* 800A9070 000A5FD0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9074 000A5FD4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR20CScriptActorKeyframe" -"Visit__27TCastToPtr<13CScriptPickup>FR20CScriptActorKeyframe": -/* 800A9078 000A5FD8 38 00 00 00 */ li r0, 0 -/* 800A907C 000A5FDC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9080 000A5FE0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR12CScriptActor" -"Visit__27TCastToPtr<13CScriptPickup>FR12CScriptActor": -/* 800A9084 000A5FE4 38 00 00 00 */ li r0, 0 -/* 800A9088 000A5FE8 90 03 00 04 */ stw r0, 4(r3) -/* 800A908C 000A5FEC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR9CRepulsor" -"Visit__27TCastToPtr<13CScriptPickup>FR9CRepulsor": -/* 800A9090 000A5FF0 38 00 00 00 */ li r0, 0 -/* 800A9094 000A5FF4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9098 000A5FF8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR7CPlayer" -"Visit__27TCastToPtr<13CScriptPickup>FR7CPlayer": -/* 800A909C 000A5FFC 38 00 00 00 */ li r0, 0 -/* 800A90A0 000A6000 90 03 00 04 */ stw r0, 4(r3) -/* 800A90A4 000A6004 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR13CPhysicsActor" -"Visit__27TCastToPtr<13CScriptPickup>FR13CPhysicsActor": -/* 800A90A8 000A6008 38 00 00 00 */ li r0, 0 -/* 800A90AC 000A600C 90 03 00 04 */ stw r0, 4(r3) -/* 800A90B0 000A6010 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR3CAi" -"Visit__27TCastToPtr<13CScriptPickup>FR3CAi": -/* 800A90B4 000A6014 38 00 00 00 */ li r0, 0 -/* 800A90B8 000A6018 90 03 00 04 */ stw r0, 4(r3) -/* 800A90BC 000A601C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR11CPathCamera" -"Visit__27TCastToPtr<13CScriptPickup>FR11CPathCamera": -/* 800A90C0 000A6020 38 00 00 00 */ li r0, 0 -/* 800A90C4 000A6024 90 03 00 04 */ stw r0, 4(r3) -/* 800A90C8 000A6028 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR18CMetroidPrimeRelay" -"Visit__27TCastToPtr<13CScriptPickup>FR18CMetroidPrimeRelay": -/* 800A90CC 000A602C 38 00 00 00 */ li r0, 0 -/* 800A90D0 000A6030 90 03 00 04 */ stw r0, 4(r3) -/* 800A90D4 000A6034 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR19CHUDBillboardEffect" -"Visit__27TCastToPtr<13CScriptPickup>FR19CHUDBillboardEffect": -/* 800A90D8 000A6038 38 00 00 00 */ li r0, 0 -/* 800A90DC 000A603C 90 03 00 04 */ stw r0, 4(r3) -/* 800A90E0 000A6040 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR15CGameProjectile" -"Visit__27TCastToPtr<13CScriptPickup>FR15CGameProjectile": -/* 800A90E4 000A6044 38 00 00 00 */ li r0, 0 -/* 800A90E8 000A6048 90 03 00 04 */ stw r0, 4(r3) -/* 800A90EC 000A604C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR10CGameLight" -"Visit__27TCastToPtr<13CScriptPickup>FR10CGameLight": -/* 800A90F0 000A6050 38 00 00 00 */ li r0, 0 -/* 800A90F4 000A6054 90 03 00 04 */ stw r0, 4(r3) -/* 800A90F8 000A6058 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR11CGameCamera" -"Visit__27TCastToPtr<13CScriptPickup>FR11CGameCamera": -/* 800A90FC 000A605C 38 00 00 00 */ li r0, 0 -/* 800A9100 000A6060 90 03 00 04 */ stw r0, 4(r3) -/* 800A9104 000A6064 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR10CFishCloud" -"Visit__27TCastToPtr<13CScriptPickup>FR10CFishCloud": -/* 800A9108 000A6068 38 00 00 00 */ li r0, 0 -/* 800A910C 000A606C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9110 000A6070 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR18CFirstPersonCamera" -"Visit__27TCastToPtr<13CScriptPickup>FR18CFirstPersonCamera": -/* 800A9114 000A6074 38 00 00 00 */ li r0, 0 -/* 800A9118 000A6078 90 03 00 04 */ stw r0, 4(r3) -/* 800A911C 000A607C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR10CExplosion" -"Visit__27TCastToPtr<13CScriptPickup>FR10CExplosion": -/* 800A9120 000A6080 38 00 00 00 */ li r0, 0 -/* 800A9124 000A6084 90 03 00 04 */ stw r0, 4(r3) -/* 800A9128 000A6088 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR7CEntity" -"Visit__27TCastToPtr<13CScriptPickup>FR7CEntity": -/* 800A912C 000A608C 38 00 00 00 */ li r0, 0 -/* 800A9130 000A6090 90 03 00 04 */ stw r0, 4(r3) -/* 800A9134 000A6094 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR17CEnergyProjectile" -"Visit__27TCastToPtr<13CScriptPickup>FR17CEnergyProjectile": -/* 800A9138 000A6098 38 00 00 00 */ li r0, 0 -/* 800A913C 000A609C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9140 000A60A0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR16CDestroyableRock" -"Visit__27TCastToPtr<13CScriptPickup>FR16CDestroyableRock": -/* 800A9144 000A60A4 38 00 00 00 */ li r0, 0 -/* 800A9148 000A60A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A914C 000A60AC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR15CCollisionActor" -"Visit__27TCastToPtr<13CScriptPickup>FR15CCollisionActor": -/* 800A9150 000A60B0 38 00 00 00 */ li r0, 0 -/* 800A9154 000A60B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9158 000A60B8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR16CCinematicCamera" -"Visit__27TCastToPtr<13CScriptPickup>FR16CCinematicCamera": -/* 800A915C 000A60BC 38 00 00 00 */ li r0, 0 -/* 800A9160 000A60C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9164 000A60C4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR5CBomb" -"Visit__27TCastToPtr<13CScriptPickup>FR5CBomb": -/* 800A9168 000A60C8 38 00 00 00 */ li r0, 0 -/* 800A916C 000A60CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9170 000A60D0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR11CBallCamera" -"Visit__27TCastToPtr<13CScriptPickup>FR11CBallCamera": -/* 800A9174 000A60D4 38 00 00 00 */ li r0, 0 -/* 800A9178 000A60D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A917C 000A60DC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptPickup>FR6CActor" -"Visit__27TCastToPtr<13CScriptPickup>FR6CActor": -/* 800A9180 000A60E0 38 00 00 00 */ li r0, 0 -/* 800A9184 000A60E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9188 000A60E8 4E 80 00 20 */ blr - -.global "__ct__27TCastToPtr<13CScriptPickup>FP7CEntity" -"__ct__27TCastToPtr<13CScriptPickup>FP7CEntity": -/* 800A918C 000A60EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A9190 000A60F0 7C 08 02 A6 */ mflr r0 -/* 800A9194 000A60F4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A9198 000A60F8 3C A0 80 3E */ lis r5, lbl_803DDEB8@ha -/* 800A919C 000A60FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A91A0 000A6100 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A91A4 000A6104 28 04 00 00 */ cmplwi r4, 0 -/* 800A91A8 000A6108 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A91AC 000A610C 7C 7F 1B 78 */ mr r31, r3 -/* 800A91B0 000A6110 38 65 DE B8 */ addi r3, r5, lbl_803DDEB8@l -/* 800A91B4 000A6114 90 1F 00 00 */ stw r0, 0(r31) -/* 800A91B8 000A6118 38 00 00 00 */ li r0, 0 -/* 800A91BC 000A611C 90 7F 00 00 */ stw r3, 0(r31) -/* 800A91C0 000A6120 90 1F 00 04 */ stw r0, 4(r31) -/* 800A91C4 000A6124 41 82 00 1C */ beq lbl_800A91E0 -/* 800A91C8 000A6128 7C 83 23 78 */ mr r3, r4 -/* 800A91CC 000A612C 7F E4 FB 78 */ mr r4, r31 -/* 800A91D0 000A6130 81 83 00 00 */ lwz r12, 0(r3) -/* 800A91D4 000A6134 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A91D8 000A6138 7D 89 03 A6 */ mtctr r12 -/* 800A91DC 000A613C 4E 80 04 21 */ bctrl -lbl_800A91E0: -/* 800A91E0 000A6140 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A91E4 000A6144 7F E3 FB 78 */ mr r3, r31 -/* 800A91E8 000A6148 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A91EC 000A614C 7C 08 03 A6 */ mtlr r0 -/* 800A91F0 000A6150 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A91F4 000A6154 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR7CWeapon" -"Visit__29TCastToPtr<15CScriptMazeNode>FR7CWeapon": -/* 800A91F8 000A6158 38 00 00 00 */ li r0, 0 -/* 800A91FC 000A615C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9200 000A6160 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CWallCrawlerSwarm" -"Visit__29TCastToPtr<15CScriptMazeNode>FR17CWallCrawlerSwarm": -/* 800A9204 000A6164 38 00 00 00 */ li r0, 0 -/* 800A9208 000A6168 90 03 00 04 */ stw r0, 4(r3) -/* 800A920C 000A616C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptSpindleCamera" -"Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptSpindleCamera": -/* 800A9210 000A6170 38 00 00 00 */ li r0, 0 -/* 800A9214 000A6174 90 03 00 04 */ stw r0, 4(r3) -/* 800A9218 000A6178 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CSnakeWeedSwarm" -"Visit__29TCastToPtr<15CScriptMazeNode>FR15CSnakeWeedSwarm": -/* 800A921C 000A617C 38 00 00 00 */ li r0, 0 -/* 800A9220 000A6180 90 03 00 04 */ stw r0, 4(r3) -/* 800A9224 000A6184 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptWaypoint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptWaypoint": -/* 800A9228 000A6188 38 00 00 00 */ li r0, 0 -/* 800A922C 000A618C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9230 000A6190 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptWater" -"Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptWater": -/* 800A9234 000A6194 38 00 00 00 */ li r0, 0 -/* 800A9238 000A6198 90 03 00 04 */ stw r0, 4(r3) -/* 800A923C 000A619C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptVisorFlare" -"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptVisorFlare": -/* 800A9240 000A61A0 38 00 00 00 */ li r0, 0 -/* 800A9244 000A61A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9248 000A61A8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR14CScriptTrigger" -"Visit__29TCastToPtr<15CScriptMazeNode>FR14CScriptTrigger": -/* 800A924C 000A61AC 38 00 00 00 */ li r0, 0 -/* 800A9250 000A61B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9254 000A61B4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptTimer" -"Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptTimer": -/* 800A9258 000A61B8 38 00 00 00 */ li r0, 0 -/* 800A925C 000A61BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9260 000A61C0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR10CTeamAiMgr" -"Visit__29TCastToPtr<15CScriptMazeNode>FR10CTeamAiMgr": -/* 800A9264 000A61C4 38 00 00 00 */ li r0, 0 -/* 800A9268 000A61C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A926C 000A61CC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR21CScriptTargetingPoint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR21CScriptTargetingPoint": -/* 800A9270 000A61D0 38 00 00 00 */ li r0, 0 -/* 800A9274 000A61D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9278 000A61D8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR25CScriptSpiderBallWaypoint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR25CScriptSpiderBallWaypoint": -/* 800A927C 000A61DC 38 00 00 00 */ li r0, 0 -/* 800A9280 000A61E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9284 000A61E4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR34CScriptSpiderBallAttractionSurface" -"Visit__29TCastToPtr<15CScriptMazeNode>FR34CScriptSpiderBallAttractionSurface": -/* 800A9288 000A61E8 38 00 00 00 */ li r0, 0 -/* 800A928C 000A61EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9290 000A61F0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR22CScriptSpecialFunction" -"Visit__29TCastToPtr<15CScriptMazeNode>FR22CScriptSpecialFunction": -/* 800A9294 000A61F4 38 00 00 00 */ li r0, 0 -/* 800A9298 000A61F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A929C 000A61FC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptSpawnPoint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptSpawnPoint": -/* 800A92A0 000A6200 38 00 00 00 */ li r0, 0 -/* 800A92A4 000A6204 90 03 00 04 */ stw r0, 4(r3) -/* 800A92A8 000A6208 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptSound" -"Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptSound": -/* 800A92AC 000A620C 38 00 00 00 */ li r0, 0 -/* 800A92B0 000A6210 90 03 00 04 */ stw r0, 4(r3) -/* 800A92B4 000A6214 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptRoomAcoustics" -"Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptRoomAcoustics": -/* 800A92B8 000A6218 38 00 00 00 */ li r0, 0 -/* 800A92BC 000A621C 90 03 00 04 */ stw r0, 4(r3) -/* 800A92C0 000A6220 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR22CScriptPointOfinterest" -"Visit__29TCastToPtr<15CScriptMazeNode>FR22CScriptPointOfinterest": -/* 800A92C4 000A6224 38 00 00 00 */ li r0, 0 -/* 800A92C8 000A6228 90 03 00 04 */ stw r0, 4(r3) -/* 800A92CC 000A622C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptPlayerHint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptPlayerHint": -/* 800A92D0 000A6230 38 00 00 00 */ li r0, 0 -/* 800A92D4 000A6234 90 03 00 04 */ stw r0, 4(r3) -/* 800A92D8 000A6238 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptPlatform" -"Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptPlatform": -/* 800A92DC 000A623C 38 00 00 00 */ li r0, 0 -/* 800A92E0 000A6240 90 03 00 04 */ stw r0, 4(r3) -/* 800A92E4 000A6244 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR13CScriptPickup" -"Visit__29TCastToPtr<15CScriptMazeNode>FR13CScriptPickup": -/* 800A92E8 000A6248 38 00 00 00 */ li r0, 0 -/* 800A92EC 000A624C 90 03 00 04 */ stw r0, 4(r3) -/* 800A92F0 000A6250 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptMazeNode" -"Visit__29TCastToPtr<15CScriptMazeNode>FR15CScriptMazeNode": -/* 800A92F4 000A6254 90 83 00 04 */ stw r4, 4(r3) -/* 800A92F8 000A6258 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR16CScriptGunTurret" -"Visit__29TCastToPtr<15CScriptMazeNode>FR16CScriptGunTurret": -/* 800A92FC 000A625C 38 00 00 00 */ li r0, 0 -/* 800A9300 000A6260 90 03 00 04 */ stw r0, 4(r3) -/* 800A9304 000A6264 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR19CScriptGrapplePoint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR19CScriptGrapplePoint": -/* 800A9308 000A6268 38 00 00 00 */ li r0, 0 -/* 800A930C 000A626C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9310 000A6270 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR13CScriptEffect" -"Visit__29TCastToPtr<15CScriptMazeNode>FR13CScriptEffect": -/* 800A9314 000A6274 38 00 00 00 */ li r0, 0 -/* 800A9318 000A6278 90 03 00 04 */ stw r0, 4(r3) -/* 800A931C 000A627C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CScriptDoor" -"Visit__29TCastToPtr<15CScriptMazeNode>FR11CScriptDoor": -/* 800A9320 000A6280 38 00 00 00 */ li r0, 0 -/* 800A9324 000A6284 90 03 00 04 */ stw r0, 4(r3) -/* 800A9328 000A6288 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CScriptDock" -"Visit__29TCastToPtr<15CScriptMazeNode>FR11CScriptDock": -/* 800A932C 000A628C 38 00 00 00 */ li r0, 0 -/* 800A9330 000A6290 90 03 00 04 */ stw r0, 4(r3) -/* 800A9334 000A6294 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR18CScriptDistanceFog" -"Visit__29TCastToPtr<15CScriptMazeNode>FR18CScriptDistanceFog": -/* 800A9338 000A6298 38 00 00 00 */ li r0, 0 -/* 800A933C 000A629C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9340 000A62A0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR26CScriptDebugCameraWaypoint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR26CScriptDebugCameraWaypoint": -/* 800A9344 000A62A4 38 00 00 00 */ li r0, 0 -/* 800A9348 000A62A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A934C 000A62AC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptCoverPoint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptCoverPoint": -/* 800A9350 000A62B0 38 00 00 00 */ li r0, 0 -/* 800A9354 000A62B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9358 000A62B8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR21CScriptCameraWaypoint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR21CScriptCameraWaypoint": -/* 800A935C 000A62BC 38 00 00 00 */ li r0, 0 -/* 800A9360 000A62C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9364 000A62C4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR24CScriptCameraPitchVolume" -"Visit__29TCastToPtr<15CScriptMazeNode>FR24CScriptCameraPitchVolume": -/* 800A9368 000A62C8 38 00 00 00 */ li r0, 0 -/* 800A936C 000A62CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9370 000A62D0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptCameraHint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR17CScriptCameraHint": -/* 800A9374 000A62D4 38 00 00 00 */ li r0, 0 -/* 800A9378 000A62D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A937C 000A62DC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR18CScriptAiJumpPoint" -"Visit__29TCastToPtr<15CScriptMazeNode>FR18CScriptAiJumpPoint": -/* 800A9380 000A62E0 38 00 00 00 */ li r0, 0 -/* 800A9384 000A62E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9388 000A62E8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptActorKeyframe" -"Visit__29TCastToPtr<15CScriptMazeNode>FR20CScriptActorKeyframe": -/* 800A938C 000A62EC 38 00 00 00 */ li r0, 0 -/* 800A9390 000A62F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9394 000A62F4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptActor" -"Visit__29TCastToPtr<15CScriptMazeNode>FR12CScriptActor": -/* 800A9398 000A62F8 38 00 00 00 */ li r0, 0 -/* 800A939C 000A62FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A93A0 000A6300 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR9CRepulsor" -"Visit__29TCastToPtr<15CScriptMazeNode>FR9CRepulsor": -/* 800A93A4 000A6304 38 00 00 00 */ li r0, 0 -/* 800A93A8 000A6308 90 03 00 04 */ stw r0, 4(r3) -/* 800A93AC 000A630C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR7CPlayer" -"Visit__29TCastToPtr<15CScriptMazeNode>FR7CPlayer": -/* 800A93B0 000A6310 38 00 00 00 */ li r0, 0 -/* 800A93B4 000A6314 90 03 00 04 */ stw r0, 4(r3) -/* 800A93B8 000A6318 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR13CPhysicsActor" -"Visit__29TCastToPtr<15CScriptMazeNode>FR13CPhysicsActor": -/* 800A93BC 000A631C 38 00 00 00 */ li r0, 0 -/* 800A93C0 000A6320 90 03 00 04 */ stw r0, 4(r3) -/* 800A93C4 000A6324 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR3CAi" -"Visit__29TCastToPtr<15CScriptMazeNode>FR3CAi": -/* 800A93C8 000A6328 38 00 00 00 */ li r0, 0 -/* 800A93CC 000A632C 90 03 00 04 */ stw r0, 4(r3) -/* 800A93D0 000A6330 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CPathCamera" -"Visit__29TCastToPtr<15CScriptMazeNode>FR11CPathCamera": -/* 800A93D4 000A6334 38 00 00 00 */ li r0, 0 -/* 800A93D8 000A6338 90 03 00 04 */ stw r0, 4(r3) -/* 800A93DC 000A633C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR18CMetroidPrimeRelay" -"Visit__29TCastToPtr<15CScriptMazeNode>FR18CMetroidPrimeRelay": -/* 800A93E0 000A6340 38 00 00 00 */ li r0, 0 -/* 800A93E4 000A6344 90 03 00 04 */ stw r0, 4(r3) -/* 800A93E8 000A6348 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR19CHUDBillboardEffect" -"Visit__29TCastToPtr<15CScriptMazeNode>FR19CHUDBillboardEffect": -/* 800A93EC 000A634C 38 00 00 00 */ li r0, 0 -/* 800A93F0 000A6350 90 03 00 04 */ stw r0, 4(r3) -/* 800A93F4 000A6354 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CGameProjectile" -"Visit__29TCastToPtr<15CScriptMazeNode>FR15CGameProjectile": -/* 800A93F8 000A6358 38 00 00 00 */ li r0, 0 -/* 800A93FC 000A635C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9400 000A6360 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR10CGameLight" -"Visit__29TCastToPtr<15CScriptMazeNode>FR10CGameLight": -/* 800A9404 000A6364 38 00 00 00 */ li r0, 0 -/* 800A9408 000A6368 90 03 00 04 */ stw r0, 4(r3) -/* 800A940C 000A636C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CGameCamera" -"Visit__29TCastToPtr<15CScriptMazeNode>FR11CGameCamera": -/* 800A9410 000A6370 38 00 00 00 */ li r0, 0 -/* 800A9414 000A6374 90 03 00 04 */ stw r0, 4(r3) -/* 800A9418 000A6378 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR10CFishCloud" -"Visit__29TCastToPtr<15CScriptMazeNode>FR10CFishCloud": -/* 800A941C 000A637C 38 00 00 00 */ li r0, 0 -/* 800A9420 000A6380 90 03 00 04 */ stw r0, 4(r3) -/* 800A9424 000A6384 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR18CFirstPersonCamera" -"Visit__29TCastToPtr<15CScriptMazeNode>FR18CFirstPersonCamera": -/* 800A9428 000A6388 38 00 00 00 */ li r0, 0 -/* 800A942C 000A638C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9430 000A6390 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR10CExplosion" -"Visit__29TCastToPtr<15CScriptMazeNode>FR10CExplosion": -/* 800A9434 000A6394 38 00 00 00 */ li r0, 0 -/* 800A9438 000A6398 90 03 00 04 */ stw r0, 4(r3) -/* 800A943C 000A639C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR7CEntity" -"Visit__29TCastToPtr<15CScriptMazeNode>FR7CEntity": -/* 800A9440 000A63A0 38 00 00 00 */ li r0, 0 -/* 800A9444 000A63A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9448 000A63A8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR17CEnergyProjectile" -"Visit__29TCastToPtr<15CScriptMazeNode>FR17CEnergyProjectile": -/* 800A944C 000A63AC 38 00 00 00 */ li r0, 0 -/* 800A9450 000A63B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9454 000A63B4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR16CDestroyableRock" -"Visit__29TCastToPtr<15CScriptMazeNode>FR16CDestroyableRock": -/* 800A9458 000A63B8 38 00 00 00 */ li r0, 0 -/* 800A945C 000A63BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9460 000A63C0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR15CCollisionActor" -"Visit__29TCastToPtr<15CScriptMazeNode>FR15CCollisionActor": -/* 800A9464 000A63C4 38 00 00 00 */ li r0, 0 -/* 800A9468 000A63C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A946C 000A63CC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR16CCinematicCamera" -"Visit__29TCastToPtr<15CScriptMazeNode>FR16CCinematicCamera": -/* 800A9470 000A63D0 38 00 00 00 */ li r0, 0 -/* 800A9474 000A63D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9478 000A63D8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR5CBomb" -"Visit__29TCastToPtr<15CScriptMazeNode>FR5CBomb": -/* 800A947C 000A63DC 38 00 00 00 */ li r0, 0 -/* 800A9480 000A63E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9484 000A63E4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR11CBallCamera" -"Visit__29TCastToPtr<15CScriptMazeNode>FR11CBallCamera": -/* 800A9488 000A63E8 38 00 00 00 */ li r0, 0 -/* 800A948C 000A63EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9490 000A63F0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CScriptMazeNode>FR6CActor" -"Visit__29TCastToPtr<15CScriptMazeNode>FR6CActor": -/* 800A9494 000A63F4 38 00 00 00 */ li r0, 0 -/* 800A9498 000A63F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A949C 000A63FC 4E 80 00 20 */ blr - -.global "__ct__29TCastToPtr<15CScriptMazeNode>FP7CEntity" -"__ct__29TCastToPtr<15CScriptMazeNode>FP7CEntity": -/* 800A94A0 000A6400 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A94A4 000A6404 7C 08 02 A6 */ mflr r0 -/* 800A94A8 000A6408 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A94AC 000A640C 3C A0 80 3E */ lis r5, lbl_803DDDCC@ha -/* 800A94B0 000A6410 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A94B4 000A6414 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A94B8 000A6418 28 04 00 00 */ cmplwi r4, 0 -/* 800A94BC 000A641C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A94C0 000A6420 7C 7F 1B 78 */ mr r31, r3 -/* 800A94C4 000A6424 38 65 DD CC */ addi r3, r5, lbl_803DDDCC@l -/* 800A94C8 000A6428 90 1F 00 00 */ stw r0, 0(r31) -/* 800A94CC 000A642C 38 00 00 00 */ li r0, 0 -/* 800A94D0 000A6430 90 7F 00 00 */ stw r3, 0(r31) -/* 800A94D4 000A6434 90 1F 00 04 */ stw r0, 4(r31) -/* 800A94D8 000A6438 41 82 00 1C */ beq lbl_800A94F4 -/* 800A94DC 000A643C 7C 83 23 78 */ mr r3, r4 -/* 800A94E0 000A6440 7F E4 FB 78 */ mr r4, r31 -/* 800A94E4 000A6444 81 83 00 00 */ lwz r12, 0(r3) -/* 800A94E8 000A6448 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A94EC 000A644C 7D 89 03 A6 */ mtctr r12 -/* 800A94F0 000A6450 4E 80 04 21 */ bctrl -lbl_800A94F4: -/* 800A94F4 000A6454 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A94F8 000A6458 7F E3 FB 78 */ mr r3, r31 -/* 800A94FC 000A645C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A9500 000A6460 7C 08 03 A6 */ mtlr r0 -/* 800A9504 000A6464 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A9508 000A6468 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR7CWeapon" -"Visit__30TCastToPtr<16CScriptGunTurret>FR7CWeapon": -/* 800A950C 000A646C 38 00 00 00 */ li r0, 0 -/* 800A9510 000A6470 90 03 00 04 */ stw r0, 4(r3) -/* 800A9514 000A6474 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CWallCrawlerSwarm" -"Visit__30TCastToPtr<16CScriptGunTurret>FR17CWallCrawlerSwarm": -/* 800A9518 000A6478 38 00 00 00 */ li r0, 0 -/* 800A951C 000A647C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9520 000A6480 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptSpindleCamera" -"Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptSpindleCamera": -/* 800A9524 000A6484 38 00 00 00 */ li r0, 0 -/* 800A9528 000A6488 90 03 00 04 */ stw r0, 4(r3) -/* 800A952C 000A648C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CSnakeWeedSwarm" -"Visit__30TCastToPtr<16CScriptGunTurret>FR15CSnakeWeedSwarm": -/* 800A9530 000A6490 38 00 00 00 */ li r0, 0 -/* 800A9534 000A6494 90 03 00 04 */ stw r0, 4(r3) -/* 800A9538 000A6498 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptWaypoint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptWaypoint": -/* 800A953C 000A649C 38 00 00 00 */ li r0, 0 -/* 800A9540 000A64A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9544 000A64A4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptWater" -"Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptWater": -/* 800A9548 000A64A8 38 00 00 00 */ li r0, 0 -/* 800A954C 000A64AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9550 000A64B0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptVisorFlare" -"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptVisorFlare": -/* 800A9554 000A64B4 38 00 00 00 */ li r0, 0 -/* 800A9558 000A64B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A955C 000A64BC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR14CScriptTrigger" -"Visit__30TCastToPtr<16CScriptGunTurret>FR14CScriptTrigger": -/* 800A9560 000A64C0 38 00 00 00 */ li r0, 0 -/* 800A9564 000A64C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9568 000A64C8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptTimer" -"Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptTimer": -/* 800A956C 000A64CC 38 00 00 00 */ li r0, 0 -/* 800A9570 000A64D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9574 000A64D4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR10CTeamAiMgr" -"Visit__30TCastToPtr<16CScriptGunTurret>FR10CTeamAiMgr": -/* 800A9578 000A64D8 38 00 00 00 */ li r0, 0 -/* 800A957C 000A64DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9580 000A64E0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR21CScriptTargetingPoint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR21CScriptTargetingPoint": -/* 800A9584 000A64E4 38 00 00 00 */ li r0, 0 -/* 800A9588 000A64E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A958C 000A64EC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR25CScriptSpiderBallWaypoint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR25CScriptSpiderBallWaypoint": -/* 800A9590 000A64F0 38 00 00 00 */ li r0, 0 -/* 800A9594 000A64F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9598 000A64F8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR34CScriptSpiderBallAttractionSurface" -"Visit__30TCastToPtr<16CScriptGunTurret>FR34CScriptSpiderBallAttractionSurface": -/* 800A959C 000A64FC 38 00 00 00 */ li r0, 0 -/* 800A95A0 000A6500 90 03 00 04 */ stw r0, 4(r3) -/* 800A95A4 000A6504 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR22CScriptSpecialFunction" -"Visit__30TCastToPtr<16CScriptGunTurret>FR22CScriptSpecialFunction": -/* 800A95A8 000A6508 38 00 00 00 */ li r0, 0 -/* 800A95AC 000A650C 90 03 00 04 */ stw r0, 4(r3) -/* 800A95B0 000A6510 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptSpawnPoint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptSpawnPoint": -/* 800A95B4 000A6514 38 00 00 00 */ li r0, 0 -/* 800A95B8 000A6518 90 03 00 04 */ stw r0, 4(r3) -/* 800A95BC 000A651C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptSound" -"Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptSound": -/* 800A95C0 000A6520 38 00 00 00 */ li r0, 0 -/* 800A95C4 000A6524 90 03 00 04 */ stw r0, 4(r3) -/* 800A95C8 000A6528 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptRoomAcoustics" -"Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptRoomAcoustics": -/* 800A95CC 000A652C 38 00 00 00 */ li r0, 0 -/* 800A95D0 000A6530 90 03 00 04 */ stw r0, 4(r3) -/* 800A95D4 000A6534 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR22CScriptPointOfinterest" -"Visit__30TCastToPtr<16CScriptGunTurret>FR22CScriptPointOfinterest": -/* 800A95D8 000A6538 38 00 00 00 */ li r0, 0 -/* 800A95DC 000A653C 90 03 00 04 */ stw r0, 4(r3) -/* 800A95E0 000A6540 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptPlayerHint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptPlayerHint": -/* 800A95E4 000A6544 38 00 00 00 */ li r0, 0 -/* 800A95E8 000A6548 90 03 00 04 */ stw r0, 4(r3) -/* 800A95EC 000A654C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptPlatform" -"Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptPlatform": -/* 800A95F0 000A6550 38 00 00 00 */ li r0, 0 -/* 800A95F4 000A6554 90 03 00 04 */ stw r0, 4(r3) -/* 800A95F8 000A6558 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR13CScriptPickup" -"Visit__30TCastToPtr<16CScriptGunTurret>FR13CScriptPickup": -/* 800A95FC 000A655C 38 00 00 00 */ li r0, 0 -/* 800A9600 000A6560 90 03 00 04 */ stw r0, 4(r3) -/* 800A9604 000A6564 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptMazeNode" -"Visit__30TCastToPtr<16CScriptGunTurret>FR15CScriptMazeNode": -/* 800A9608 000A6568 38 00 00 00 */ li r0, 0 -/* 800A960C 000A656C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9610 000A6570 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR16CScriptGunTurret" -"Visit__30TCastToPtr<16CScriptGunTurret>FR16CScriptGunTurret": -/* 800A9614 000A6574 90 83 00 04 */ stw r4, 4(r3) -/* 800A9618 000A6578 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR19CScriptGrapplePoint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR19CScriptGrapplePoint": -/* 800A961C 000A657C 38 00 00 00 */ li r0, 0 -/* 800A9620 000A6580 90 03 00 04 */ stw r0, 4(r3) -/* 800A9624 000A6584 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR13CScriptEffect" -"Visit__30TCastToPtr<16CScriptGunTurret>FR13CScriptEffect": -/* 800A9628 000A6588 38 00 00 00 */ li r0, 0 -/* 800A962C 000A658C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9630 000A6590 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CScriptDoor" -"Visit__30TCastToPtr<16CScriptGunTurret>FR11CScriptDoor": -/* 800A9634 000A6594 38 00 00 00 */ li r0, 0 -/* 800A9638 000A6598 90 03 00 04 */ stw r0, 4(r3) -/* 800A963C 000A659C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CScriptDock" -"Visit__30TCastToPtr<16CScriptGunTurret>FR11CScriptDock": -/* 800A9640 000A65A0 38 00 00 00 */ li r0, 0 -/* 800A9644 000A65A4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9648 000A65A8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR18CScriptDistanceFog" -"Visit__30TCastToPtr<16CScriptGunTurret>FR18CScriptDistanceFog": -/* 800A964C 000A65AC 38 00 00 00 */ li r0, 0 -/* 800A9650 000A65B0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9654 000A65B4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR26CScriptDebugCameraWaypoint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR26CScriptDebugCameraWaypoint": -/* 800A9658 000A65B8 38 00 00 00 */ li r0, 0 -/* 800A965C 000A65BC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9660 000A65C0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptCoverPoint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptCoverPoint": -/* 800A9664 000A65C4 38 00 00 00 */ li r0, 0 -/* 800A9668 000A65C8 90 03 00 04 */ stw r0, 4(r3) -/* 800A966C 000A65CC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR21CScriptCameraWaypoint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR21CScriptCameraWaypoint": -/* 800A9670 000A65D0 38 00 00 00 */ li r0, 0 -/* 800A9674 000A65D4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9678 000A65D8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR24CScriptCameraPitchVolume" -"Visit__30TCastToPtr<16CScriptGunTurret>FR24CScriptCameraPitchVolume": -/* 800A967C 000A65DC 38 00 00 00 */ li r0, 0 -/* 800A9680 000A65E0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9684 000A65E4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptCameraHint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR17CScriptCameraHint": -/* 800A9688 000A65E8 38 00 00 00 */ li r0, 0 -/* 800A968C 000A65EC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9690 000A65F0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR18CScriptAiJumpPoint" -"Visit__30TCastToPtr<16CScriptGunTurret>FR18CScriptAiJumpPoint": -/* 800A9694 000A65F4 38 00 00 00 */ li r0, 0 -/* 800A9698 000A65F8 90 03 00 04 */ stw r0, 4(r3) -/* 800A969C 000A65FC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptActorKeyframe" -"Visit__30TCastToPtr<16CScriptGunTurret>FR20CScriptActorKeyframe": -/* 800A96A0 000A6600 38 00 00 00 */ li r0, 0 -/* 800A96A4 000A6604 90 03 00 04 */ stw r0, 4(r3) -/* 800A96A8 000A6608 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptActor" -"Visit__30TCastToPtr<16CScriptGunTurret>FR12CScriptActor": -/* 800A96AC 000A660C 38 00 00 00 */ li r0, 0 -/* 800A96B0 000A6610 90 03 00 04 */ stw r0, 4(r3) -/* 800A96B4 000A6614 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR9CRepulsor" -"Visit__30TCastToPtr<16CScriptGunTurret>FR9CRepulsor": -/* 800A96B8 000A6618 38 00 00 00 */ li r0, 0 -/* 800A96BC 000A661C 90 03 00 04 */ stw r0, 4(r3) -/* 800A96C0 000A6620 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR7CPlayer" -"Visit__30TCastToPtr<16CScriptGunTurret>FR7CPlayer": -/* 800A96C4 000A6624 38 00 00 00 */ li r0, 0 -/* 800A96C8 000A6628 90 03 00 04 */ stw r0, 4(r3) -/* 800A96CC 000A662C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR13CPhysicsActor" -"Visit__30TCastToPtr<16CScriptGunTurret>FR13CPhysicsActor": -/* 800A96D0 000A6630 38 00 00 00 */ li r0, 0 -/* 800A96D4 000A6634 90 03 00 04 */ stw r0, 4(r3) -/* 800A96D8 000A6638 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR3CAi" -"Visit__30TCastToPtr<16CScriptGunTurret>FR3CAi": -/* 800A96DC 000A663C 38 00 00 00 */ li r0, 0 -/* 800A96E0 000A6640 90 03 00 04 */ stw r0, 4(r3) -/* 800A96E4 000A6644 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CPathCamera" -"Visit__30TCastToPtr<16CScriptGunTurret>FR11CPathCamera": -/* 800A96E8 000A6648 38 00 00 00 */ li r0, 0 -/* 800A96EC 000A664C 90 03 00 04 */ stw r0, 4(r3) -/* 800A96F0 000A6650 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR18CMetroidPrimeRelay" -"Visit__30TCastToPtr<16CScriptGunTurret>FR18CMetroidPrimeRelay": -/* 800A96F4 000A6654 38 00 00 00 */ li r0, 0 -/* 800A96F8 000A6658 90 03 00 04 */ stw r0, 4(r3) -/* 800A96FC 000A665C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR19CHUDBillboardEffect" -"Visit__30TCastToPtr<16CScriptGunTurret>FR19CHUDBillboardEffect": -/* 800A9700 000A6660 38 00 00 00 */ li r0, 0 -/* 800A9704 000A6664 90 03 00 04 */ stw r0, 4(r3) -/* 800A9708 000A6668 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CGameProjectile" -"Visit__30TCastToPtr<16CScriptGunTurret>FR15CGameProjectile": -/* 800A970C 000A666C 38 00 00 00 */ li r0, 0 -/* 800A9710 000A6670 90 03 00 04 */ stw r0, 4(r3) -/* 800A9714 000A6674 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR10CGameLight" -"Visit__30TCastToPtr<16CScriptGunTurret>FR10CGameLight": -/* 800A9718 000A6678 38 00 00 00 */ li r0, 0 -/* 800A971C 000A667C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9720 000A6680 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CGameCamera" -"Visit__30TCastToPtr<16CScriptGunTurret>FR11CGameCamera": -/* 800A9724 000A6684 38 00 00 00 */ li r0, 0 -/* 800A9728 000A6688 90 03 00 04 */ stw r0, 4(r3) -/* 800A972C 000A668C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR10CFishCloud" -"Visit__30TCastToPtr<16CScriptGunTurret>FR10CFishCloud": -/* 800A9730 000A6690 38 00 00 00 */ li r0, 0 -/* 800A9734 000A6694 90 03 00 04 */ stw r0, 4(r3) -/* 800A9738 000A6698 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR18CFirstPersonCamera" -"Visit__30TCastToPtr<16CScriptGunTurret>FR18CFirstPersonCamera": -/* 800A973C 000A669C 38 00 00 00 */ li r0, 0 -/* 800A9740 000A66A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9744 000A66A4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR10CExplosion" -"Visit__30TCastToPtr<16CScriptGunTurret>FR10CExplosion": -/* 800A9748 000A66A8 38 00 00 00 */ li r0, 0 -/* 800A974C 000A66AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9750 000A66B0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR7CEntity" -"Visit__30TCastToPtr<16CScriptGunTurret>FR7CEntity": -/* 800A9754 000A66B4 38 00 00 00 */ li r0, 0 -/* 800A9758 000A66B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A975C 000A66BC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR17CEnergyProjectile" -"Visit__30TCastToPtr<16CScriptGunTurret>FR17CEnergyProjectile": -/* 800A9760 000A66C0 38 00 00 00 */ li r0, 0 -/* 800A9764 000A66C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9768 000A66C8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR16CDestroyableRock" -"Visit__30TCastToPtr<16CScriptGunTurret>FR16CDestroyableRock": -/* 800A976C 000A66CC 38 00 00 00 */ li r0, 0 -/* 800A9770 000A66D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9774 000A66D4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR15CCollisionActor" -"Visit__30TCastToPtr<16CScriptGunTurret>FR15CCollisionActor": -/* 800A9778 000A66D8 38 00 00 00 */ li r0, 0 -/* 800A977C 000A66DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9780 000A66E0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR16CCinematicCamera" -"Visit__30TCastToPtr<16CScriptGunTurret>FR16CCinematicCamera": -/* 800A9784 000A66E4 38 00 00 00 */ li r0, 0 -/* 800A9788 000A66E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A978C 000A66EC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR5CBomb" -"Visit__30TCastToPtr<16CScriptGunTurret>FR5CBomb": -/* 800A9790 000A66F0 38 00 00 00 */ li r0, 0 -/* 800A9794 000A66F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9798 000A66F8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR11CBallCamera" -"Visit__30TCastToPtr<16CScriptGunTurret>FR11CBallCamera": -/* 800A979C 000A66FC 38 00 00 00 */ li r0, 0 -/* 800A97A0 000A6700 90 03 00 04 */ stw r0, 4(r3) -/* 800A97A4 000A6704 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CScriptGunTurret>FR6CActor" -"Visit__30TCastToPtr<16CScriptGunTurret>FR6CActor": -/* 800A97A8 000A6708 38 00 00 00 */ li r0, 0 -/* 800A97AC 000A670C 90 03 00 04 */ stw r0, 4(r3) -/* 800A97B0 000A6710 4E 80 00 20 */ blr - -.global "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" -"__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity": -/* 800A97B4 000A6714 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A97B8 000A6718 7C 08 02 A6 */ mflr r0 -/* 800A97BC 000A671C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A97C0 000A6720 3C A0 80 3E */ lis r5, lbl_803DDCE0@ha -/* 800A97C4 000A6724 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A97C8 000A6728 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A97CC 000A672C 28 04 00 00 */ cmplwi r4, 0 -/* 800A97D0 000A6730 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A97D4 000A6734 7C 7F 1B 78 */ mr r31, r3 -/* 800A97D8 000A6738 38 65 DC E0 */ addi r3, r5, lbl_803DDCE0@l -/* 800A97DC 000A673C 90 1F 00 00 */ stw r0, 0(r31) -/* 800A97E0 000A6740 38 00 00 00 */ li r0, 0 -/* 800A97E4 000A6744 90 7F 00 00 */ stw r3, 0(r31) -/* 800A97E8 000A6748 90 1F 00 04 */ stw r0, 4(r31) -/* 800A97EC 000A674C 41 82 00 1C */ beq lbl_800A9808 -/* 800A97F0 000A6750 7C 83 23 78 */ mr r3, r4 -/* 800A97F4 000A6754 7F E4 FB 78 */ mr r4, r31 -/* 800A97F8 000A6758 81 83 00 00 */ lwz r12, 0(r3) -/* 800A97FC 000A675C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A9800 000A6760 7D 89 03 A6 */ mtctr r12 -/* 800A9804 000A6764 4E 80 04 21 */ bctrl -lbl_800A9808: -/* 800A9808 000A6768 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A980C 000A676C 7F E3 FB 78 */ mr r3, r31 -/* 800A9810 000A6770 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A9814 000A6774 7C 08 03 A6 */ mtlr r0 -/* 800A9818 000A6778 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A981C 000A677C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CWeapon" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CWeapon": -/* 800A9820 000A6780 38 00 00 00 */ li r0, 0 -/* 800A9824 000A6784 90 03 00 04 */ stw r0, 4(r3) -/* 800A9828 000A6788 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CWallCrawlerSwarm" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CWallCrawlerSwarm": -/* 800A982C 000A678C 38 00 00 00 */ li r0, 0 -/* 800A9830 000A6790 90 03 00 04 */ stw r0, 4(r3) -/* 800A9834 000A6794 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptSpindleCamera" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptSpindleCamera": -/* 800A9838 000A6798 38 00 00 00 */ li r0, 0 -/* 800A983C 000A679C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9840 000A67A0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CSnakeWeedSwarm" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CSnakeWeedSwarm": -/* 800A9844 000A67A4 38 00 00 00 */ li r0, 0 -/* 800A9848 000A67A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A984C 000A67AC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptWaypoint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptWaypoint": -/* 800A9850 000A67B0 38 00 00 00 */ li r0, 0 -/* 800A9854 000A67B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9858 000A67B8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptWater" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptWater": -/* 800A985C 000A67BC 38 00 00 00 */ li r0, 0 -/* 800A9860 000A67C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9864 000A67C4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptVisorFlare" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptVisorFlare": -/* 800A9868 000A67C8 38 00 00 00 */ li r0, 0 -/* 800A986C 000A67CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9870 000A67D0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR14CScriptTrigger" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR14CScriptTrigger": -/* 800A9874 000A67D4 38 00 00 00 */ li r0, 0 -/* 800A9878 000A67D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A987C 000A67DC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptTimer" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptTimer": -/* 800A9880 000A67E0 38 00 00 00 */ li r0, 0 -/* 800A9884 000A67E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9888 000A67E8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CTeamAiMgr" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CTeamAiMgr": -/* 800A988C 000A67EC 38 00 00 00 */ li r0, 0 -/* 800A9890 000A67F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9894 000A67F4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR21CScriptTargetingPoint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR21CScriptTargetingPoint": -/* 800A9898 000A67F8 38 00 00 00 */ li r0, 0 -/* 800A989C 000A67FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A98A0 000A6800 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR25CScriptSpiderBallWaypoint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR25CScriptSpiderBallWaypoint": -/* 800A98A4 000A6804 38 00 00 00 */ li r0, 0 -/* 800A98A8 000A6808 90 03 00 04 */ stw r0, 4(r3) -/* 800A98AC 000A680C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR34CScriptSpiderBallAttractionSurface" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR34CScriptSpiderBallAttractionSurface": -/* 800A98B0 000A6810 38 00 00 00 */ li r0, 0 -/* 800A98B4 000A6814 90 03 00 04 */ stw r0, 4(r3) -/* 800A98B8 000A6818 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR22CScriptSpecialFunction" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR22CScriptSpecialFunction": -/* 800A98BC 000A681C 38 00 00 00 */ li r0, 0 -/* 800A98C0 000A6820 90 03 00 04 */ stw r0, 4(r3) -/* 800A98C4 000A6824 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptSpawnPoint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptSpawnPoint": -/* 800A98C8 000A6828 38 00 00 00 */ li r0, 0 -/* 800A98CC 000A682C 90 03 00 04 */ stw r0, 4(r3) -/* 800A98D0 000A6830 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptSound" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptSound": -/* 800A98D4 000A6834 38 00 00 00 */ li r0, 0 -/* 800A98D8 000A6838 90 03 00 04 */ stw r0, 4(r3) -/* 800A98DC 000A683C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptRoomAcoustics" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptRoomAcoustics": -/* 800A98E0 000A6840 38 00 00 00 */ li r0, 0 -/* 800A98E4 000A6844 90 03 00 04 */ stw r0, 4(r3) -/* 800A98E8 000A6848 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR22CScriptPointOfinterest" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR22CScriptPointOfinterest": -/* 800A98EC 000A684C 38 00 00 00 */ li r0, 0 -/* 800A98F0 000A6850 90 03 00 04 */ stw r0, 4(r3) -/* 800A98F4 000A6854 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptPlayerHint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptPlayerHint": -/* 800A98F8 000A6858 38 00 00 00 */ li r0, 0 -/* 800A98FC 000A685C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9900 000A6860 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptPlatform" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptPlatform": -/* 800A9904 000A6864 38 00 00 00 */ li r0, 0 -/* 800A9908 000A6868 90 03 00 04 */ stw r0, 4(r3) -/* 800A990C 000A686C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CScriptPickup" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CScriptPickup": -/* 800A9910 000A6870 38 00 00 00 */ li r0, 0 -/* 800A9914 000A6874 90 03 00 04 */ stw r0, 4(r3) -/* 800A9918 000A6878 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptMazeNode" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CScriptMazeNode": -/* 800A991C 000A687C 38 00 00 00 */ li r0, 0 -/* 800A9920 000A6880 90 03 00 04 */ stw r0, 4(r3) -/* 800A9924 000A6884 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CScriptGunTurret" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CScriptGunTurret": -/* 800A9928 000A6888 38 00 00 00 */ li r0, 0 -/* 800A992C 000A688C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9930 000A6890 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR19CScriptGrapplePoint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR19CScriptGrapplePoint": -/* 800A9934 000A6894 90 83 00 04 */ stw r4, 4(r3) -/* 800A9938 000A6898 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CScriptEffect" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CScriptEffect": -/* 800A993C 000A689C 38 00 00 00 */ li r0, 0 -/* 800A9940 000A68A0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9944 000A68A4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CScriptDoor" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CScriptDoor": -/* 800A9948 000A68A8 38 00 00 00 */ li r0, 0 -/* 800A994C 000A68AC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9950 000A68B0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CScriptDock" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CScriptDock": -/* 800A9954 000A68B4 38 00 00 00 */ li r0, 0 -/* 800A9958 000A68B8 90 03 00 04 */ stw r0, 4(r3) -/* 800A995C 000A68BC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CScriptDistanceFog" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CScriptDistanceFog": -/* 800A9960 000A68C0 38 00 00 00 */ li r0, 0 -/* 800A9964 000A68C4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9968 000A68C8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR26CScriptDebugCameraWaypoint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR26CScriptDebugCameraWaypoint": -/* 800A996C 000A68CC 38 00 00 00 */ li r0, 0 -/* 800A9970 000A68D0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9974 000A68D4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptCoverPoint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptCoverPoint": -/* 800A9978 000A68D8 38 00 00 00 */ li r0, 0 -/* 800A997C 000A68DC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9980 000A68E0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR21CScriptCameraWaypoint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR21CScriptCameraWaypoint": -/* 800A9984 000A68E4 38 00 00 00 */ li r0, 0 -/* 800A9988 000A68E8 90 03 00 04 */ stw r0, 4(r3) -/* 800A998C 000A68EC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR24CScriptCameraPitchVolume" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR24CScriptCameraPitchVolume": -/* 800A9990 000A68F0 38 00 00 00 */ li r0, 0 -/* 800A9994 000A68F4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9998 000A68F8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptCameraHint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CScriptCameraHint": -/* 800A999C 000A68FC 38 00 00 00 */ li r0, 0 -/* 800A99A0 000A6900 90 03 00 04 */ stw r0, 4(r3) -/* 800A99A4 000A6904 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CScriptAiJumpPoint" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CScriptAiJumpPoint": -/* 800A99A8 000A6908 38 00 00 00 */ li r0, 0 -/* 800A99AC 000A690C 90 03 00 04 */ stw r0, 4(r3) -/* 800A99B0 000A6910 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptActorKeyframe" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR20CScriptActorKeyframe": -/* 800A99B4 000A6914 38 00 00 00 */ li r0, 0 -/* 800A99B8 000A6918 90 03 00 04 */ stw r0, 4(r3) -/* 800A99BC 000A691C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptActor" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR12CScriptActor": -/* 800A99C0 000A6920 38 00 00 00 */ li r0, 0 -/* 800A99C4 000A6924 90 03 00 04 */ stw r0, 4(r3) -/* 800A99C8 000A6928 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR9CRepulsor" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR9CRepulsor": -/* 800A99CC 000A692C 38 00 00 00 */ li r0, 0 -/* 800A99D0 000A6930 90 03 00 04 */ stw r0, 4(r3) -/* 800A99D4 000A6934 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CPlayer" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CPlayer": -/* 800A99D8 000A6938 38 00 00 00 */ li r0, 0 -/* 800A99DC 000A693C 90 03 00 04 */ stw r0, 4(r3) -/* 800A99E0 000A6940 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CPhysicsActor" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR13CPhysicsActor": -/* 800A99E4 000A6944 38 00 00 00 */ li r0, 0 -/* 800A99E8 000A6948 90 03 00 04 */ stw r0, 4(r3) -/* 800A99EC 000A694C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR3CAi" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR3CAi": -/* 800A99F0 000A6950 38 00 00 00 */ li r0, 0 -/* 800A99F4 000A6954 90 03 00 04 */ stw r0, 4(r3) -/* 800A99F8 000A6958 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CPathCamera" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CPathCamera": -/* 800A99FC 000A695C 38 00 00 00 */ li r0, 0 -/* 800A9A00 000A6960 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A04 000A6964 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CMetroidPrimeRelay" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CMetroidPrimeRelay": -/* 800A9A08 000A6968 38 00 00 00 */ li r0, 0 -/* 800A9A0C 000A696C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A10 000A6970 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR19CHUDBillboardEffect" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR19CHUDBillboardEffect": -/* 800A9A14 000A6974 38 00 00 00 */ li r0, 0 -/* 800A9A18 000A6978 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A1C 000A697C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CGameProjectile" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CGameProjectile": -/* 800A9A20 000A6980 38 00 00 00 */ li r0, 0 -/* 800A9A24 000A6984 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A28 000A6988 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CGameLight" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CGameLight": -/* 800A9A2C 000A698C 38 00 00 00 */ li r0, 0 -/* 800A9A30 000A6990 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A34 000A6994 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CGameCamera" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CGameCamera": -/* 800A9A38 000A6998 38 00 00 00 */ li r0, 0 -/* 800A9A3C 000A699C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A40 000A69A0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CFishCloud" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CFishCloud": -/* 800A9A44 000A69A4 38 00 00 00 */ li r0, 0 -/* 800A9A48 000A69A8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A4C 000A69AC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CFirstPersonCamera" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR18CFirstPersonCamera": -/* 800A9A50 000A69B0 38 00 00 00 */ li r0, 0 -/* 800A9A54 000A69B4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A58 000A69B8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CExplosion" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR10CExplosion": -/* 800A9A5C 000A69BC 38 00 00 00 */ li r0, 0 -/* 800A9A60 000A69C0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A64 000A69C4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CEntity" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR7CEntity": -/* 800A9A68 000A69C8 38 00 00 00 */ li r0, 0 -/* 800A9A6C 000A69CC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A70 000A69D0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CEnergyProjectile" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR17CEnergyProjectile": -/* 800A9A74 000A69D4 38 00 00 00 */ li r0, 0 -/* 800A9A78 000A69D8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A7C 000A69DC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CDestroyableRock" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CDestroyableRock": -/* 800A9A80 000A69E0 38 00 00 00 */ li r0, 0 -/* 800A9A84 000A69E4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A88 000A69E8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CCollisionActor" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR15CCollisionActor": -/* 800A9A8C 000A69EC 38 00 00 00 */ li r0, 0 -/* 800A9A90 000A69F0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9A94 000A69F4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CCinematicCamera" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR16CCinematicCamera": -/* 800A9A98 000A69F8 38 00 00 00 */ li r0, 0 -/* 800A9A9C 000A69FC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9AA0 000A6A00 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR5CBomb" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR5CBomb": -/* 800A9AA4 000A6A04 38 00 00 00 */ li r0, 0 -/* 800A9AA8 000A6A08 90 03 00 04 */ stw r0, 4(r3) -/* 800A9AAC 000A6A0C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CBallCamera" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR11CBallCamera": -/* 800A9AB0 000A6A10 38 00 00 00 */ li r0, 0 -/* 800A9AB4 000A6A14 90 03 00 04 */ stw r0, 4(r3) -/* 800A9AB8 000A6A18 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CScriptGrapplePoint>FR6CActor" -"Visit__33TCastToPtr<19CScriptGrapplePoint>FR6CActor": -/* 800A9ABC 000A6A1C 38 00 00 00 */ li r0, 0 -/* 800A9AC0 000A6A20 90 03 00 04 */ stw r0, 4(r3) -/* 800A9AC4 000A6A24 4E 80 00 20 */ blr - -.global "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" -"__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity": -/* 800A9AC8 000A6A28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A9ACC 000A6A2C 7C 08 02 A6 */ mflr r0 -/* 800A9AD0 000A6A30 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A9AD4 000A6A34 3C A0 80 3E */ lis r5, lbl_803DDBF4@ha -/* 800A9AD8 000A6A38 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A9ADC 000A6A3C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A9AE0 000A6A40 28 04 00 00 */ cmplwi r4, 0 -/* 800A9AE4 000A6A44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A9AE8 000A6A48 7C 7F 1B 78 */ mr r31, r3 -/* 800A9AEC 000A6A4C 38 65 DB F4 */ addi r3, r5, lbl_803DDBF4@l -/* 800A9AF0 000A6A50 90 1F 00 00 */ stw r0, 0(r31) -/* 800A9AF4 000A6A54 38 00 00 00 */ li r0, 0 -/* 800A9AF8 000A6A58 90 7F 00 00 */ stw r3, 0(r31) -/* 800A9AFC 000A6A5C 90 1F 00 04 */ stw r0, 4(r31) -/* 800A9B00 000A6A60 41 82 00 1C */ beq lbl_800A9B1C -/* 800A9B04 000A6A64 7C 83 23 78 */ mr r3, r4 -/* 800A9B08 000A6A68 7F E4 FB 78 */ mr r4, r31 -/* 800A9B0C 000A6A6C 81 83 00 00 */ lwz r12, 0(r3) -/* 800A9B10 000A6A70 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A9B14 000A6A74 7D 89 03 A6 */ mtctr r12 -/* 800A9B18 000A6A78 4E 80 04 21 */ bctrl -lbl_800A9B1C: -/* 800A9B1C 000A6A7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A9B20 000A6A80 7F E3 FB 78 */ mr r3, r31 -/* 800A9B24 000A6A84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A9B28 000A6A88 7C 08 03 A6 */ mtlr r0 -/* 800A9B2C 000A6A8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A9B30 000A6A90 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR7CWeapon" -"Visit__27TCastToPtr<13CScriptEffect>FR7CWeapon": -/* 800A9B34 000A6A94 38 00 00 00 */ li r0, 0 -/* 800A9B38 000A6A98 90 03 00 04 */ stw r0, 4(r3) -/* 800A9B3C 000A6A9C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR17CWallCrawlerSwarm" -"Visit__27TCastToPtr<13CScriptEffect>FR17CWallCrawlerSwarm": -/* 800A9B40 000A6AA0 38 00 00 00 */ li r0, 0 -/* 800A9B44 000A6AA4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9B48 000A6AA8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR20CScriptSpindleCamera" -"Visit__27TCastToPtr<13CScriptEffect>FR20CScriptSpindleCamera": -/* 800A9B4C 000A6AAC 38 00 00 00 */ li r0, 0 -/* 800A9B50 000A6AB0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9B54 000A6AB4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR15CSnakeWeedSwarm" -"Visit__27TCastToPtr<13CScriptEffect>FR15CSnakeWeedSwarm": -/* 800A9B58 000A6AB8 38 00 00 00 */ li r0, 0 -/* 800A9B5C 000A6ABC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9B60 000A6AC0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR15CScriptWaypoint" -"Visit__27TCastToPtr<13CScriptEffect>FR15CScriptWaypoint": -/* 800A9B64 000A6AC4 38 00 00 00 */ li r0, 0 -/* 800A9B68 000A6AC8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9B6C 000A6ACC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR12CScriptWater" -"Visit__27TCastToPtr<13CScriptEffect>FR12CScriptWater": -/* 800A9B70 000A6AD0 38 00 00 00 */ li r0, 0 -/* 800A9B74 000A6AD4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9B78 000A6AD8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptVisorFlare" -"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptVisorFlare": -/* 800A9B7C 000A6ADC 38 00 00 00 */ li r0, 0 -/* 800A9B80 000A6AE0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9B84 000A6AE4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR14CScriptTrigger" -"Visit__27TCastToPtr<13CScriptEffect>FR14CScriptTrigger": -/* 800A9B88 000A6AE8 38 00 00 00 */ li r0, 0 -/* 800A9B8C 000A6AEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9B90 000A6AF0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR12CScriptTimer" -"Visit__27TCastToPtr<13CScriptEffect>FR12CScriptTimer": -/* 800A9B94 000A6AF4 38 00 00 00 */ li r0, 0 -/* 800A9B98 000A6AF8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9B9C 000A6AFC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR10CTeamAiMgr" -"Visit__27TCastToPtr<13CScriptEffect>FR10CTeamAiMgr": -/* 800A9BA0 000A6B00 38 00 00 00 */ li r0, 0 -/* 800A9BA4 000A6B04 90 03 00 04 */ stw r0, 4(r3) -/* 800A9BA8 000A6B08 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR21CScriptTargetingPoint" -"Visit__27TCastToPtr<13CScriptEffect>FR21CScriptTargetingPoint": -/* 800A9BAC 000A6B0C 38 00 00 00 */ li r0, 0 -/* 800A9BB0 000A6B10 90 03 00 04 */ stw r0, 4(r3) -/* 800A9BB4 000A6B14 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR25CScriptSpiderBallWaypoint" -"Visit__27TCastToPtr<13CScriptEffect>FR25CScriptSpiderBallWaypoint": -/* 800A9BB8 000A6B18 38 00 00 00 */ li r0, 0 -/* 800A9BBC 000A6B1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9BC0 000A6B20 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR34CScriptSpiderBallAttractionSurface" -"Visit__27TCastToPtr<13CScriptEffect>FR34CScriptSpiderBallAttractionSurface": -/* 800A9BC4 000A6B24 38 00 00 00 */ li r0, 0 -/* 800A9BC8 000A6B28 90 03 00 04 */ stw r0, 4(r3) -/* 800A9BCC 000A6B2C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR22CScriptSpecialFunction" -"Visit__27TCastToPtr<13CScriptEffect>FR22CScriptSpecialFunction": -/* 800A9BD0 000A6B30 38 00 00 00 */ li r0, 0 -/* 800A9BD4 000A6B34 90 03 00 04 */ stw r0, 4(r3) -/* 800A9BD8 000A6B38 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptSpawnPoint" -"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptSpawnPoint": -/* 800A9BDC 000A6B3C 38 00 00 00 */ li r0, 0 -/* 800A9BE0 000A6B40 90 03 00 04 */ stw r0, 4(r3) -/* 800A9BE4 000A6B44 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR12CScriptSound" -"Visit__27TCastToPtr<13CScriptEffect>FR12CScriptSound": -/* 800A9BE8 000A6B48 38 00 00 00 */ li r0, 0 -/* 800A9BEC 000A6B4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9BF0 000A6B50 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR20CScriptRoomAcoustics" -"Visit__27TCastToPtr<13CScriptEffect>FR20CScriptRoomAcoustics": -/* 800A9BF4 000A6B54 38 00 00 00 */ li r0, 0 -/* 800A9BF8 000A6B58 90 03 00 04 */ stw r0, 4(r3) -/* 800A9BFC 000A6B5C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR22CScriptPointOfinterest" -"Visit__27TCastToPtr<13CScriptEffect>FR22CScriptPointOfinterest": -/* 800A9C00 000A6B60 38 00 00 00 */ li r0, 0 -/* 800A9C04 000A6B64 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C08 000A6B68 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptPlayerHint" -"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptPlayerHint": -/* 800A9C0C 000A6B6C 38 00 00 00 */ li r0, 0 -/* 800A9C10 000A6B70 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C14 000A6B74 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR15CScriptPlatform" -"Visit__27TCastToPtr<13CScriptEffect>FR15CScriptPlatform": -/* 800A9C18 000A6B78 38 00 00 00 */ li r0, 0 -/* 800A9C1C 000A6B7C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C20 000A6B80 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR13CScriptPickup" -"Visit__27TCastToPtr<13CScriptEffect>FR13CScriptPickup": -/* 800A9C24 000A6B84 38 00 00 00 */ li r0, 0 -/* 800A9C28 000A6B88 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C2C 000A6B8C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR15CScriptMazeNode" -"Visit__27TCastToPtr<13CScriptEffect>FR15CScriptMazeNode": -/* 800A9C30 000A6B90 38 00 00 00 */ li r0, 0 -/* 800A9C34 000A6B94 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C38 000A6B98 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR16CScriptGunTurret" -"Visit__27TCastToPtr<13CScriptEffect>FR16CScriptGunTurret": -/* 800A9C3C 000A6B9C 38 00 00 00 */ li r0, 0 -/* 800A9C40 000A6BA0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C44 000A6BA4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR19CScriptGrapplePoint" -"Visit__27TCastToPtr<13CScriptEffect>FR19CScriptGrapplePoint": -/* 800A9C48 000A6BA8 38 00 00 00 */ li r0, 0 -/* 800A9C4C 000A6BAC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C50 000A6BB0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR13CScriptEffect" -"Visit__27TCastToPtr<13CScriptEffect>FR13CScriptEffect": -/* 800A9C54 000A6BB4 90 83 00 04 */ stw r4, 4(r3) -/* 800A9C58 000A6BB8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR11CScriptDoor" -"Visit__27TCastToPtr<13CScriptEffect>FR11CScriptDoor": -/* 800A9C5C 000A6BBC 38 00 00 00 */ li r0, 0 -/* 800A9C60 000A6BC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C64 000A6BC4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR11CScriptDock" -"Visit__27TCastToPtr<13CScriptEffect>FR11CScriptDock": -/* 800A9C68 000A6BC8 38 00 00 00 */ li r0, 0 -/* 800A9C6C 000A6BCC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C70 000A6BD0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR18CScriptDistanceFog" -"Visit__27TCastToPtr<13CScriptEffect>FR18CScriptDistanceFog": -/* 800A9C74 000A6BD4 38 00 00 00 */ li r0, 0 -/* 800A9C78 000A6BD8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C7C 000A6BDC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR26CScriptDebugCameraWaypoint" -"Visit__27TCastToPtr<13CScriptEffect>FR26CScriptDebugCameraWaypoint": -/* 800A9C80 000A6BE0 38 00 00 00 */ li r0, 0 -/* 800A9C84 000A6BE4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C88 000A6BE8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptCoverPoint" -"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptCoverPoint": -/* 800A9C8C 000A6BEC 38 00 00 00 */ li r0, 0 -/* 800A9C90 000A6BF0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9C94 000A6BF4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR21CScriptCameraWaypoint" -"Visit__27TCastToPtr<13CScriptEffect>FR21CScriptCameraWaypoint": -/* 800A9C98 000A6BF8 38 00 00 00 */ li r0, 0 -/* 800A9C9C 000A6BFC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9CA0 000A6C00 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR24CScriptCameraPitchVolume" -"Visit__27TCastToPtr<13CScriptEffect>FR24CScriptCameraPitchVolume": -/* 800A9CA4 000A6C04 38 00 00 00 */ li r0, 0 -/* 800A9CA8 000A6C08 90 03 00 04 */ stw r0, 4(r3) -/* 800A9CAC 000A6C0C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR17CScriptCameraHint" -"Visit__27TCastToPtr<13CScriptEffect>FR17CScriptCameraHint": -/* 800A9CB0 000A6C10 38 00 00 00 */ li r0, 0 -/* 800A9CB4 000A6C14 90 03 00 04 */ stw r0, 4(r3) -/* 800A9CB8 000A6C18 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR18CScriptAiJumpPoint" -"Visit__27TCastToPtr<13CScriptEffect>FR18CScriptAiJumpPoint": -/* 800A9CBC 000A6C1C 38 00 00 00 */ li r0, 0 -/* 800A9CC0 000A6C20 90 03 00 04 */ stw r0, 4(r3) -/* 800A9CC4 000A6C24 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR20CScriptActorKeyframe" -"Visit__27TCastToPtr<13CScriptEffect>FR20CScriptActorKeyframe": -/* 800A9CC8 000A6C28 38 00 00 00 */ li r0, 0 -/* 800A9CCC 000A6C2C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9CD0 000A6C30 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR12CScriptActor" -"Visit__27TCastToPtr<13CScriptEffect>FR12CScriptActor": -/* 800A9CD4 000A6C34 38 00 00 00 */ li r0, 0 -/* 800A9CD8 000A6C38 90 03 00 04 */ stw r0, 4(r3) -/* 800A9CDC 000A6C3C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR9CRepulsor" -"Visit__27TCastToPtr<13CScriptEffect>FR9CRepulsor": -/* 800A9CE0 000A6C40 38 00 00 00 */ li r0, 0 -/* 800A9CE4 000A6C44 90 03 00 04 */ stw r0, 4(r3) -/* 800A9CE8 000A6C48 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR7CPlayer" -"Visit__27TCastToPtr<13CScriptEffect>FR7CPlayer": -/* 800A9CEC 000A6C4C 38 00 00 00 */ li r0, 0 -/* 800A9CF0 000A6C50 90 03 00 04 */ stw r0, 4(r3) -/* 800A9CF4 000A6C54 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR13CPhysicsActor" -"Visit__27TCastToPtr<13CScriptEffect>FR13CPhysicsActor": -/* 800A9CF8 000A6C58 38 00 00 00 */ li r0, 0 -/* 800A9CFC 000A6C5C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D00 000A6C60 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR3CAi" -"Visit__27TCastToPtr<13CScriptEffect>FR3CAi": -/* 800A9D04 000A6C64 38 00 00 00 */ li r0, 0 -/* 800A9D08 000A6C68 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D0C 000A6C6C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR11CPathCamera" -"Visit__27TCastToPtr<13CScriptEffect>FR11CPathCamera": -/* 800A9D10 000A6C70 38 00 00 00 */ li r0, 0 -/* 800A9D14 000A6C74 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D18 000A6C78 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR18CMetroidPrimeRelay" -"Visit__27TCastToPtr<13CScriptEffect>FR18CMetroidPrimeRelay": -/* 800A9D1C 000A6C7C 38 00 00 00 */ li r0, 0 -/* 800A9D20 000A6C80 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D24 000A6C84 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR19CHUDBillboardEffect" -"Visit__27TCastToPtr<13CScriptEffect>FR19CHUDBillboardEffect": -/* 800A9D28 000A6C88 38 00 00 00 */ li r0, 0 -/* 800A9D2C 000A6C8C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D30 000A6C90 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR15CGameProjectile" -"Visit__27TCastToPtr<13CScriptEffect>FR15CGameProjectile": -/* 800A9D34 000A6C94 38 00 00 00 */ li r0, 0 -/* 800A9D38 000A6C98 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D3C 000A6C9C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR10CGameLight" -"Visit__27TCastToPtr<13CScriptEffect>FR10CGameLight": -/* 800A9D40 000A6CA0 38 00 00 00 */ li r0, 0 -/* 800A9D44 000A6CA4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D48 000A6CA8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR11CGameCamera" -"Visit__27TCastToPtr<13CScriptEffect>FR11CGameCamera": -/* 800A9D4C 000A6CAC 38 00 00 00 */ li r0, 0 -/* 800A9D50 000A6CB0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D54 000A6CB4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR10CFishCloud" -"Visit__27TCastToPtr<13CScriptEffect>FR10CFishCloud": -/* 800A9D58 000A6CB8 38 00 00 00 */ li r0, 0 -/* 800A9D5C 000A6CBC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D60 000A6CC0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR18CFirstPersonCamera" -"Visit__27TCastToPtr<13CScriptEffect>FR18CFirstPersonCamera": -/* 800A9D64 000A6CC4 38 00 00 00 */ li r0, 0 -/* 800A9D68 000A6CC8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D6C 000A6CCC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR10CExplosion" -"Visit__27TCastToPtr<13CScriptEffect>FR10CExplosion": -/* 800A9D70 000A6CD0 38 00 00 00 */ li r0, 0 -/* 800A9D74 000A6CD4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D78 000A6CD8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR7CEntity" -"Visit__27TCastToPtr<13CScriptEffect>FR7CEntity": -/* 800A9D7C 000A6CDC 38 00 00 00 */ li r0, 0 -/* 800A9D80 000A6CE0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D84 000A6CE4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR17CEnergyProjectile" -"Visit__27TCastToPtr<13CScriptEffect>FR17CEnergyProjectile": -/* 800A9D88 000A6CE8 38 00 00 00 */ li r0, 0 -/* 800A9D8C 000A6CEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D90 000A6CF0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR16CDestroyableRock" -"Visit__27TCastToPtr<13CScriptEffect>FR16CDestroyableRock": -/* 800A9D94 000A6CF4 38 00 00 00 */ li r0, 0 -/* 800A9D98 000A6CF8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9D9C 000A6CFC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR15CCollisionActor" -"Visit__27TCastToPtr<13CScriptEffect>FR15CCollisionActor": -/* 800A9DA0 000A6D00 38 00 00 00 */ li r0, 0 -/* 800A9DA4 000A6D04 90 03 00 04 */ stw r0, 4(r3) -/* 800A9DA8 000A6D08 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR16CCinematicCamera" -"Visit__27TCastToPtr<13CScriptEffect>FR16CCinematicCamera": -/* 800A9DAC 000A6D0C 38 00 00 00 */ li r0, 0 -/* 800A9DB0 000A6D10 90 03 00 04 */ stw r0, 4(r3) -/* 800A9DB4 000A6D14 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR5CBomb" -"Visit__27TCastToPtr<13CScriptEffect>FR5CBomb": -/* 800A9DB8 000A6D18 38 00 00 00 */ li r0, 0 -/* 800A9DBC 000A6D1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9DC0 000A6D20 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR11CBallCamera" -"Visit__27TCastToPtr<13CScriptEffect>FR11CBallCamera": -/* 800A9DC4 000A6D24 38 00 00 00 */ li r0, 0 -/* 800A9DC8 000A6D28 90 03 00 04 */ stw r0, 4(r3) -/* 800A9DCC 000A6D2C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CScriptEffect>FR6CActor" -"Visit__27TCastToPtr<13CScriptEffect>FR6CActor": -/* 800A9DD0 000A6D30 38 00 00 00 */ li r0, 0 -/* 800A9DD4 000A6D34 90 03 00 04 */ stw r0, 4(r3) -/* 800A9DD8 000A6D38 4E 80 00 20 */ blr - -.global "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" -"__ct__27TCastToPtr<13CScriptEffect>FP7CEntity": -/* 800A9DDC 000A6D3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800A9DE0 000A6D40 7C 08 02 A6 */ mflr r0 -/* 800A9DE4 000A6D44 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800A9DE8 000A6D48 3C A0 80 3E */ lis r5, lbl_803DDB08@ha -/* 800A9DEC 000A6D4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800A9DF0 000A6D50 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800A9DF4 000A6D54 28 04 00 00 */ cmplwi r4, 0 -/* 800A9DF8 000A6D58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800A9DFC 000A6D5C 7C 7F 1B 78 */ mr r31, r3 -/* 800A9E00 000A6D60 38 65 DB 08 */ addi r3, r5, lbl_803DDB08@l -/* 800A9E04 000A6D64 90 1F 00 00 */ stw r0, 0(r31) -/* 800A9E08 000A6D68 38 00 00 00 */ li r0, 0 -/* 800A9E0C 000A6D6C 90 7F 00 00 */ stw r3, 0(r31) -/* 800A9E10 000A6D70 90 1F 00 04 */ stw r0, 4(r31) -/* 800A9E14 000A6D74 41 82 00 1C */ beq lbl_800A9E30 -/* 800A9E18 000A6D78 7C 83 23 78 */ mr r3, r4 -/* 800A9E1C 000A6D7C 7F E4 FB 78 */ mr r4, r31 -/* 800A9E20 000A6D80 81 83 00 00 */ lwz r12, 0(r3) -/* 800A9E24 000A6D84 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800A9E28 000A6D88 7D 89 03 A6 */ mtctr r12 -/* 800A9E2C 000A6D8C 4E 80 04 21 */ bctrl -lbl_800A9E30: -/* 800A9E30 000A6D90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800A9E34 000A6D94 7F E3 FB 78 */ mr r3, r31 -/* 800A9E38 000A6D98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800A9E3C 000A6D9C 7C 08 03 A6 */ mtlr r0 -/* 800A9E40 000A6DA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800A9E44 000A6DA4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR7CWeapon" -"Visit__25TCastToPtr<11CScriptDoor>FR7CWeapon": -/* 800A9E48 000A6DA8 38 00 00 00 */ li r0, 0 -/* 800A9E4C 000A6DAC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9E50 000A6DB0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR17CWallCrawlerSwarm" -"Visit__25TCastToPtr<11CScriptDoor>FR17CWallCrawlerSwarm": -/* 800A9E54 000A6DB4 38 00 00 00 */ li r0, 0 -/* 800A9E58 000A6DB8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9E5C 000A6DBC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR20CScriptSpindleCamera" -"Visit__25TCastToPtr<11CScriptDoor>FR20CScriptSpindleCamera": -/* 800A9E60 000A6DC0 38 00 00 00 */ li r0, 0 -/* 800A9E64 000A6DC4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9E68 000A6DC8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR15CSnakeWeedSwarm" -"Visit__25TCastToPtr<11CScriptDoor>FR15CSnakeWeedSwarm": -/* 800A9E6C 000A6DCC 38 00 00 00 */ li r0, 0 -/* 800A9E70 000A6DD0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9E74 000A6DD4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR15CScriptWaypoint" -"Visit__25TCastToPtr<11CScriptDoor>FR15CScriptWaypoint": -/* 800A9E78 000A6DD8 38 00 00 00 */ li r0, 0 -/* 800A9E7C 000A6DDC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9E80 000A6DE0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR12CScriptWater" -"Visit__25TCastToPtr<11CScriptDoor>FR12CScriptWater": -/* 800A9E84 000A6DE4 38 00 00 00 */ li r0, 0 -/* 800A9E88 000A6DE8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9E8C 000A6DEC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptVisorFlare" -"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptVisorFlare": -/* 800A9E90 000A6DF0 38 00 00 00 */ li r0, 0 -/* 800A9E94 000A6DF4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9E98 000A6DF8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR14CScriptTrigger" -"Visit__25TCastToPtr<11CScriptDoor>FR14CScriptTrigger": -/* 800A9E9C 000A6DFC 38 00 00 00 */ li r0, 0 -/* 800A9EA0 000A6E00 90 03 00 04 */ stw r0, 4(r3) -/* 800A9EA4 000A6E04 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR12CScriptTimer" -"Visit__25TCastToPtr<11CScriptDoor>FR12CScriptTimer": -/* 800A9EA8 000A6E08 38 00 00 00 */ li r0, 0 -/* 800A9EAC 000A6E0C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9EB0 000A6E10 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR10CTeamAiMgr" -"Visit__25TCastToPtr<11CScriptDoor>FR10CTeamAiMgr": -/* 800A9EB4 000A6E14 38 00 00 00 */ li r0, 0 -/* 800A9EB8 000A6E18 90 03 00 04 */ stw r0, 4(r3) -/* 800A9EBC 000A6E1C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR21CScriptTargetingPoint" -"Visit__25TCastToPtr<11CScriptDoor>FR21CScriptTargetingPoint": -/* 800A9EC0 000A6E20 38 00 00 00 */ li r0, 0 -/* 800A9EC4 000A6E24 90 03 00 04 */ stw r0, 4(r3) -/* 800A9EC8 000A6E28 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR25CScriptSpiderBallWaypoint" -"Visit__25TCastToPtr<11CScriptDoor>FR25CScriptSpiderBallWaypoint": -/* 800A9ECC 000A6E2C 38 00 00 00 */ li r0, 0 -/* 800A9ED0 000A6E30 90 03 00 04 */ stw r0, 4(r3) -/* 800A9ED4 000A6E34 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR34CScriptSpiderBallAttractionSurface" -"Visit__25TCastToPtr<11CScriptDoor>FR34CScriptSpiderBallAttractionSurface": -/* 800A9ED8 000A6E38 38 00 00 00 */ li r0, 0 -/* 800A9EDC 000A6E3C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9EE0 000A6E40 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR22CScriptSpecialFunction" -"Visit__25TCastToPtr<11CScriptDoor>FR22CScriptSpecialFunction": -/* 800A9EE4 000A6E44 38 00 00 00 */ li r0, 0 -/* 800A9EE8 000A6E48 90 03 00 04 */ stw r0, 4(r3) -/* 800A9EEC 000A6E4C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptSpawnPoint" -"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptSpawnPoint": -/* 800A9EF0 000A6E50 38 00 00 00 */ li r0, 0 -/* 800A9EF4 000A6E54 90 03 00 04 */ stw r0, 4(r3) -/* 800A9EF8 000A6E58 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR12CScriptSound" -"Visit__25TCastToPtr<11CScriptDoor>FR12CScriptSound": -/* 800A9EFC 000A6E5C 38 00 00 00 */ li r0, 0 -/* 800A9F00 000A6E60 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F04 000A6E64 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR20CScriptRoomAcoustics" -"Visit__25TCastToPtr<11CScriptDoor>FR20CScriptRoomAcoustics": -/* 800A9F08 000A6E68 38 00 00 00 */ li r0, 0 -/* 800A9F0C 000A6E6C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F10 000A6E70 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR22CScriptPointOfinterest" -"Visit__25TCastToPtr<11CScriptDoor>FR22CScriptPointOfinterest": -/* 800A9F14 000A6E74 38 00 00 00 */ li r0, 0 -/* 800A9F18 000A6E78 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F1C 000A6E7C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptPlayerHint" -"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptPlayerHint": -/* 800A9F20 000A6E80 38 00 00 00 */ li r0, 0 -/* 800A9F24 000A6E84 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F28 000A6E88 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR15CScriptPlatform" -"Visit__25TCastToPtr<11CScriptDoor>FR15CScriptPlatform": -/* 800A9F2C 000A6E8C 38 00 00 00 */ li r0, 0 -/* 800A9F30 000A6E90 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F34 000A6E94 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR13CScriptPickup" -"Visit__25TCastToPtr<11CScriptDoor>FR13CScriptPickup": -/* 800A9F38 000A6E98 38 00 00 00 */ li r0, 0 -/* 800A9F3C 000A6E9C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F40 000A6EA0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR15CScriptMazeNode" -"Visit__25TCastToPtr<11CScriptDoor>FR15CScriptMazeNode": -/* 800A9F44 000A6EA4 38 00 00 00 */ li r0, 0 -/* 800A9F48 000A6EA8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F4C 000A6EAC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR16CScriptGunTurret" -"Visit__25TCastToPtr<11CScriptDoor>FR16CScriptGunTurret": -/* 800A9F50 000A6EB0 38 00 00 00 */ li r0, 0 -/* 800A9F54 000A6EB4 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F58 000A6EB8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR19CScriptGrapplePoint" -"Visit__25TCastToPtr<11CScriptDoor>FR19CScriptGrapplePoint": -/* 800A9F5C 000A6EBC 38 00 00 00 */ li r0, 0 -/* 800A9F60 000A6EC0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F64 000A6EC4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR13CScriptEffect" -"Visit__25TCastToPtr<11CScriptDoor>FR13CScriptEffect": -/* 800A9F68 000A6EC8 38 00 00 00 */ li r0, 0 -/* 800A9F6C 000A6ECC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F70 000A6ED0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR11CScriptDoor" -"Visit__25TCastToPtr<11CScriptDoor>FR11CScriptDoor": -/* 800A9F74 000A6ED4 90 83 00 04 */ stw r4, 4(r3) -/* 800A9F78 000A6ED8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR11CScriptDock" -"Visit__25TCastToPtr<11CScriptDoor>FR11CScriptDock": -/* 800A9F7C 000A6EDC 38 00 00 00 */ li r0, 0 -/* 800A9F80 000A6EE0 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F84 000A6EE4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR18CScriptDistanceFog" -"Visit__25TCastToPtr<11CScriptDoor>FR18CScriptDistanceFog": -/* 800A9F88 000A6EE8 38 00 00 00 */ li r0, 0 -/* 800A9F8C 000A6EEC 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F90 000A6EF0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR26CScriptDebugCameraWaypoint" -"Visit__25TCastToPtr<11CScriptDoor>FR26CScriptDebugCameraWaypoint": -/* 800A9F94 000A6EF4 38 00 00 00 */ li r0, 0 -/* 800A9F98 000A6EF8 90 03 00 04 */ stw r0, 4(r3) -/* 800A9F9C 000A6EFC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptCoverPoint" -"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptCoverPoint": -/* 800A9FA0 000A6F00 38 00 00 00 */ li r0, 0 -/* 800A9FA4 000A6F04 90 03 00 04 */ stw r0, 4(r3) -/* 800A9FA8 000A6F08 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR21CScriptCameraWaypoint" -"Visit__25TCastToPtr<11CScriptDoor>FR21CScriptCameraWaypoint": -/* 800A9FAC 000A6F0C 38 00 00 00 */ li r0, 0 -/* 800A9FB0 000A6F10 90 03 00 04 */ stw r0, 4(r3) -/* 800A9FB4 000A6F14 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR24CScriptCameraPitchVolume" -"Visit__25TCastToPtr<11CScriptDoor>FR24CScriptCameraPitchVolume": -/* 800A9FB8 000A6F18 38 00 00 00 */ li r0, 0 -/* 800A9FBC 000A6F1C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9FC0 000A6F20 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR17CScriptCameraHint" -"Visit__25TCastToPtr<11CScriptDoor>FR17CScriptCameraHint": -/* 800A9FC4 000A6F24 38 00 00 00 */ li r0, 0 -/* 800A9FC8 000A6F28 90 03 00 04 */ stw r0, 4(r3) -/* 800A9FCC 000A6F2C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR18CScriptAiJumpPoint" -"Visit__25TCastToPtr<11CScriptDoor>FR18CScriptAiJumpPoint": -/* 800A9FD0 000A6F30 38 00 00 00 */ li r0, 0 -/* 800A9FD4 000A6F34 90 03 00 04 */ stw r0, 4(r3) -/* 800A9FD8 000A6F38 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR20CScriptActorKeyframe" -"Visit__25TCastToPtr<11CScriptDoor>FR20CScriptActorKeyframe": -/* 800A9FDC 000A6F3C 38 00 00 00 */ li r0, 0 -/* 800A9FE0 000A6F40 90 03 00 04 */ stw r0, 4(r3) -/* 800A9FE4 000A6F44 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR12CScriptActor" -"Visit__25TCastToPtr<11CScriptDoor>FR12CScriptActor": -/* 800A9FE8 000A6F48 38 00 00 00 */ li r0, 0 -/* 800A9FEC 000A6F4C 90 03 00 04 */ stw r0, 4(r3) -/* 800A9FF0 000A6F50 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR9CRepulsor" -"Visit__25TCastToPtr<11CScriptDoor>FR9CRepulsor": -/* 800A9FF4 000A6F54 38 00 00 00 */ li r0, 0 -/* 800A9FF8 000A6F58 90 03 00 04 */ stw r0, 4(r3) -/* 800A9FFC 000A6F5C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR7CPlayer" -"Visit__25TCastToPtr<11CScriptDoor>FR7CPlayer": -/* 800AA000 000A6F60 38 00 00 00 */ li r0, 0 -/* 800AA004 000A6F64 90 03 00 04 */ stw r0, 4(r3) -/* 800AA008 000A6F68 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR13CPhysicsActor" -"Visit__25TCastToPtr<11CScriptDoor>FR13CPhysicsActor": -/* 800AA00C 000A6F6C 38 00 00 00 */ li r0, 0 -/* 800AA010 000A6F70 90 03 00 04 */ stw r0, 4(r3) -/* 800AA014 000A6F74 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR3CAi" -"Visit__25TCastToPtr<11CScriptDoor>FR3CAi": -/* 800AA018 000A6F78 38 00 00 00 */ li r0, 0 -/* 800AA01C 000A6F7C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA020 000A6F80 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR11CPathCamera" -"Visit__25TCastToPtr<11CScriptDoor>FR11CPathCamera": -/* 800AA024 000A6F84 38 00 00 00 */ li r0, 0 -/* 800AA028 000A6F88 90 03 00 04 */ stw r0, 4(r3) -/* 800AA02C 000A6F8C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR18CMetroidPrimeRelay" -"Visit__25TCastToPtr<11CScriptDoor>FR18CMetroidPrimeRelay": -/* 800AA030 000A6F90 38 00 00 00 */ li r0, 0 -/* 800AA034 000A6F94 90 03 00 04 */ stw r0, 4(r3) -/* 800AA038 000A6F98 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR19CHUDBillboardEffect" -"Visit__25TCastToPtr<11CScriptDoor>FR19CHUDBillboardEffect": -/* 800AA03C 000A6F9C 38 00 00 00 */ li r0, 0 -/* 800AA040 000A6FA0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA044 000A6FA4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR15CGameProjectile" -"Visit__25TCastToPtr<11CScriptDoor>FR15CGameProjectile": -/* 800AA048 000A6FA8 38 00 00 00 */ li r0, 0 -/* 800AA04C 000A6FAC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA050 000A6FB0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR10CGameLight" -"Visit__25TCastToPtr<11CScriptDoor>FR10CGameLight": -/* 800AA054 000A6FB4 38 00 00 00 */ li r0, 0 -/* 800AA058 000A6FB8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA05C 000A6FBC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR11CGameCamera" -"Visit__25TCastToPtr<11CScriptDoor>FR11CGameCamera": -/* 800AA060 000A6FC0 38 00 00 00 */ li r0, 0 -/* 800AA064 000A6FC4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA068 000A6FC8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR10CFishCloud" -"Visit__25TCastToPtr<11CScriptDoor>FR10CFishCloud": -/* 800AA06C 000A6FCC 38 00 00 00 */ li r0, 0 -/* 800AA070 000A6FD0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA074 000A6FD4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR18CFirstPersonCamera" -"Visit__25TCastToPtr<11CScriptDoor>FR18CFirstPersonCamera": -/* 800AA078 000A6FD8 38 00 00 00 */ li r0, 0 -/* 800AA07C 000A6FDC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA080 000A6FE0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR10CExplosion" -"Visit__25TCastToPtr<11CScriptDoor>FR10CExplosion": -/* 800AA084 000A6FE4 38 00 00 00 */ li r0, 0 -/* 800AA088 000A6FE8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA08C 000A6FEC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR7CEntity" -"Visit__25TCastToPtr<11CScriptDoor>FR7CEntity": -/* 800AA090 000A6FF0 38 00 00 00 */ li r0, 0 -/* 800AA094 000A6FF4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA098 000A6FF8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR17CEnergyProjectile" -"Visit__25TCastToPtr<11CScriptDoor>FR17CEnergyProjectile": -/* 800AA09C 000A6FFC 38 00 00 00 */ li r0, 0 -/* 800AA0A0 000A7000 90 03 00 04 */ stw r0, 4(r3) -/* 800AA0A4 000A7004 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR16CDestroyableRock" -"Visit__25TCastToPtr<11CScriptDoor>FR16CDestroyableRock": -/* 800AA0A8 000A7008 38 00 00 00 */ li r0, 0 -/* 800AA0AC 000A700C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA0B0 000A7010 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR15CCollisionActor" -"Visit__25TCastToPtr<11CScriptDoor>FR15CCollisionActor": -/* 800AA0B4 000A7014 38 00 00 00 */ li r0, 0 -/* 800AA0B8 000A7018 90 03 00 04 */ stw r0, 4(r3) -/* 800AA0BC 000A701C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR16CCinematicCamera" -"Visit__25TCastToPtr<11CScriptDoor>FR16CCinematicCamera": -/* 800AA0C0 000A7020 38 00 00 00 */ li r0, 0 -/* 800AA0C4 000A7024 90 03 00 04 */ stw r0, 4(r3) -/* 800AA0C8 000A7028 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR5CBomb" -"Visit__25TCastToPtr<11CScriptDoor>FR5CBomb": -/* 800AA0CC 000A702C 38 00 00 00 */ li r0, 0 -/* 800AA0D0 000A7030 90 03 00 04 */ stw r0, 4(r3) -/* 800AA0D4 000A7034 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR11CBallCamera" -"Visit__25TCastToPtr<11CScriptDoor>FR11CBallCamera": -/* 800AA0D8 000A7038 38 00 00 00 */ li r0, 0 -/* 800AA0DC 000A703C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA0E0 000A7040 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDoor>FR6CActor" -"Visit__25TCastToPtr<11CScriptDoor>FR6CActor": -/* 800AA0E4 000A7044 38 00 00 00 */ li r0, 0 -/* 800AA0E8 000A7048 90 03 00 04 */ stw r0, 4(r3) -/* 800AA0EC 000A704C 4E 80 00 20 */ blr - -.global "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -"__ct__25TCastToPtr<11CScriptDoor>FP7CEntity": -/* 800AA0F0 000A7050 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AA0F4 000A7054 7C 08 02 A6 */ mflr r0 -/* 800AA0F8 000A7058 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AA0FC 000A705C 3C A0 80 3E */ lis r5, lbl_803DDA1C@ha -/* 800AA100 000A7060 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AA104 000A7064 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AA108 000A7068 28 04 00 00 */ cmplwi r4, 0 -/* 800AA10C 000A706C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AA110 000A7070 7C 7F 1B 78 */ mr r31, r3 -/* 800AA114 000A7074 38 65 DA 1C */ addi r3, r5, lbl_803DDA1C@l -/* 800AA118 000A7078 90 1F 00 00 */ stw r0, 0(r31) -/* 800AA11C 000A707C 38 00 00 00 */ li r0, 0 -/* 800AA120 000A7080 90 7F 00 00 */ stw r3, 0(r31) -/* 800AA124 000A7084 90 1F 00 04 */ stw r0, 4(r31) -/* 800AA128 000A7088 41 82 00 1C */ beq lbl_800AA144 -/* 800AA12C 000A708C 7C 83 23 78 */ mr r3, r4 -/* 800AA130 000A7090 7F E4 FB 78 */ mr r4, r31 -/* 800AA134 000A7094 81 83 00 00 */ lwz r12, 0(r3) -/* 800AA138 000A7098 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AA13C 000A709C 7D 89 03 A6 */ mtctr r12 -/* 800AA140 000A70A0 4E 80 04 21 */ bctrl -lbl_800AA144: -/* 800AA144 000A70A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AA148 000A70A8 7F E3 FB 78 */ mr r3, r31 -/* 800AA14C 000A70AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AA150 000A70B0 7C 08 03 A6 */ mtlr r0 -/* 800AA154 000A70B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AA158 000A70B8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR7CWeapon" -"Visit__25TCastToPtr<11CScriptDock>FR7CWeapon": -/* 800AA15C 000A70BC 38 00 00 00 */ li r0, 0 -/* 800AA160 000A70C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA164 000A70C4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR17CWallCrawlerSwarm" -"Visit__25TCastToPtr<11CScriptDock>FR17CWallCrawlerSwarm": -/* 800AA168 000A70C8 38 00 00 00 */ li r0, 0 -/* 800AA16C 000A70CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA170 000A70D0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR20CScriptSpindleCamera" -"Visit__25TCastToPtr<11CScriptDock>FR20CScriptSpindleCamera": -/* 800AA174 000A70D4 38 00 00 00 */ li r0, 0 -/* 800AA178 000A70D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA17C 000A70DC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR15CSnakeWeedSwarm" -"Visit__25TCastToPtr<11CScriptDock>FR15CSnakeWeedSwarm": -/* 800AA180 000A70E0 38 00 00 00 */ li r0, 0 -/* 800AA184 000A70E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA188 000A70E8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR15CScriptWaypoint" -"Visit__25TCastToPtr<11CScriptDock>FR15CScriptWaypoint": -/* 800AA18C 000A70EC 38 00 00 00 */ li r0, 0 -/* 800AA190 000A70F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA194 000A70F4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR12CScriptWater" -"Visit__25TCastToPtr<11CScriptDock>FR12CScriptWater": -/* 800AA198 000A70F8 38 00 00 00 */ li r0, 0 -/* 800AA19C 000A70FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA1A0 000A7100 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptVisorFlare" -"Visit__25TCastToPtr<11CScriptDock>FR17CScriptVisorFlare": -/* 800AA1A4 000A7104 38 00 00 00 */ li r0, 0 -/* 800AA1A8 000A7108 90 03 00 04 */ stw r0, 4(r3) -/* 800AA1AC 000A710C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR14CScriptTrigger" -"Visit__25TCastToPtr<11CScriptDock>FR14CScriptTrigger": -/* 800AA1B0 000A7110 38 00 00 00 */ li r0, 0 -/* 800AA1B4 000A7114 90 03 00 04 */ stw r0, 4(r3) -/* 800AA1B8 000A7118 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR12CScriptTimer" -"Visit__25TCastToPtr<11CScriptDock>FR12CScriptTimer": -/* 800AA1BC 000A711C 38 00 00 00 */ li r0, 0 -/* 800AA1C0 000A7120 90 03 00 04 */ stw r0, 4(r3) -/* 800AA1C4 000A7124 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR10CTeamAiMgr" -"Visit__25TCastToPtr<11CScriptDock>FR10CTeamAiMgr": -/* 800AA1C8 000A7128 38 00 00 00 */ li r0, 0 -/* 800AA1CC 000A712C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA1D0 000A7130 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR21CScriptTargetingPoint" -"Visit__25TCastToPtr<11CScriptDock>FR21CScriptTargetingPoint": -/* 800AA1D4 000A7134 38 00 00 00 */ li r0, 0 -/* 800AA1D8 000A7138 90 03 00 04 */ stw r0, 4(r3) -/* 800AA1DC 000A713C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR25CScriptSpiderBallWaypoint" -"Visit__25TCastToPtr<11CScriptDock>FR25CScriptSpiderBallWaypoint": -/* 800AA1E0 000A7140 38 00 00 00 */ li r0, 0 -/* 800AA1E4 000A7144 90 03 00 04 */ stw r0, 4(r3) -/* 800AA1E8 000A7148 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR34CScriptSpiderBallAttractionSurface" -"Visit__25TCastToPtr<11CScriptDock>FR34CScriptSpiderBallAttractionSurface": -/* 800AA1EC 000A714C 38 00 00 00 */ li r0, 0 -/* 800AA1F0 000A7150 90 03 00 04 */ stw r0, 4(r3) -/* 800AA1F4 000A7154 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR22CScriptSpecialFunction" -"Visit__25TCastToPtr<11CScriptDock>FR22CScriptSpecialFunction": -/* 800AA1F8 000A7158 38 00 00 00 */ li r0, 0 -/* 800AA1FC 000A715C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA200 000A7160 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptSpawnPoint" -"Visit__25TCastToPtr<11CScriptDock>FR17CScriptSpawnPoint": -/* 800AA204 000A7164 38 00 00 00 */ li r0, 0 -/* 800AA208 000A7168 90 03 00 04 */ stw r0, 4(r3) -/* 800AA20C 000A716C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR12CScriptSound" -"Visit__25TCastToPtr<11CScriptDock>FR12CScriptSound": -/* 800AA210 000A7170 38 00 00 00 */ li r0, 0 -/* 800AA214 000A7174 90 03 00 04 */ stw r0, 4(r3) -/* 800AA218 000A7178 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR20CScriptRoomAcoustics" -"Visit__25TCastToPtr<11CScriptDock>FR20CScriptRoomAcoustics": -/* 800AA21C 000A717C 38 00 00 00 */ li r0, 0 -/* 800AA220 000A7180 90 03 00 04 */ stw r0, 4(r3) -/* 800AA224 000A7184 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR22CScriptPointOfinterest" -"Visit__25TCastToPtr<11CScriptDock>FR22CScriptPointOfinterest": -/* 800AA228 000A7188 38 00 00 00 */ li r0, 0 -/* 800AA22C 000A718C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA230 000A7190 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptPlayerHint" -"Visit__25TCastToPtr<11CScriptDock>FR17CScriptPlayerHint": -/* 800AA234 000A7194 38 00 00 00 */ li r0, 0 -/* 800AA238 000A7198 90 03 00 04 */ stw r0, 4(r3) -/* 800AA23C 000A719C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR15CScriptPlatform" -"Visit__25TCastToPtr<11CScriptDock>FR15CScriptPlatform": -/* 800AA240 000A71A0 38 00 00 00 */ li r0, 0 -/* 800AA244 000A71A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA248 000A71A8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR13CScriptPickup" -"Visit__25TCastToPtr<11CScriptDock>FR13CScriptPickup": -/* 800AA24C 000A71AC 38 00 00 00 */ li r0, 0 -/* 800AA250 000A71B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA254 000A71B4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR15CScriptMazeNode" -"Visit__25TCastToPtr<11CScriptDock>FR15CScriptMazeNode": -/* 800AA258 000A71B8 38 00 00 00 */ li r0, 0 -/* 800AA25C 000A71BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA260 000A71C0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR16CScriptGunTurret" -"Visit__25TCastToPtr<11CScriptDock>FR16CScriptGunTurret": -/* 800AA264 000A71C4 38 00 00 00 */ li r0, 0 -/* 800AA268 000A71C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA26C 000A71CC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR19CScriptGrapplePoint" -"Visit__25TCastToPtr<11CScriptDock>FR19CScriptGrapplePoint": -/* 800AA270 000A71D0 38 00 00 00 */ li r0, 0 -/* 800AA274 000A71D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA278 000A71D8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR13CScriptEffect" -"Visit__25TCastToPtr<11CScriptDock>FR13CScriptEffect": -/* 800AA27C 000A71DC 38 00 00 00 */ li r0, 0 -/* 800AA280 000A71E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA284 000A71E4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR11CScriptDoor" -"Visit__25TCastToPtr<11CScriptDock>FR11CScriptDoor": -/* 800AA288 000A71E8 38 00 00 00 */ li r0, 0 -/* 800AA28C 000A71EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA290 000A71F0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR11CScriptDock" -"Visit__25TCastToPtr<11CScriptDock>FR11CScriptDock": -/* 800AA294 000A71F4 90 83 00 04 */ stw r4, 4(r3) -/* 800AA298 000A71F8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR18CScriptDistanceFog" -"Visit__25TCastToPtr<11CScriptDock>FR18CScriptDistanceFog": -/* 800AA29C 000A71FC 38 00 00 00 */ li r0, 0 -/* 800AA2A0 000A7200 90 03 00 04 */ stw r0, 4(r3) -/* 800AA2A4 000A7204 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR26CScriptDebugCameraWaypoint" -"Visit__25TCastToPtr<11CScriptDock>FR26CScriptDebugCameraWaypoint": -/* 800AA2A8 000A7208 38 00 00 00 */ li r0, 0 -/* 800AA2AC 000A720C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA2B0 000A7210 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptCoverPoint" -"Visit__25TCastToPtr<11CScriptDock>FR17CScriptCoverPoint": -/* 800AA2B4 000A7214 38 00 00 00 */ li r0, 0 -/* 800AA2B8 000A7218 90 03 00 04 */ stw r0, 4(r3) -/* 800AA2BC 000A721C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR21CScriptCameraWaypoint" -"Visit__25TCastToPtr<11CScriptDock>FR21CScriptCameraWaypoint": -/* 800AA2C0 000A7220 38 00 00 00 */ li r0, 0 -/* 800AA2C4 000A7224 90 03 00 04 */ stw r0, 4(r3) -/* 800AA2C8 000A7228 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR24CScriptCameraPitchVolume" -"Visit__25TCastToPtr<11CScriptDock>FR24CScriptCameraPitchVolume": -/* 800AA2CC 000A722C 38 00 00 00 */ li r0, 0 -/* 800AA2D0 000A7230 90 03 00 04 */ stw r0, 4(r3) -/* 800AA2D4 000A7234 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR17CScriptCameraHint" -"Visit__25TCastToPtr<11CScriptDock>FR17CScriptCameraHint": -/* 800AA2D8 000A7238 38 00 00 00 */ li r0, 0 -/* 800AA2DC 000A723C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA2E0 000A7240 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR18CScriptAiJumpPoint" -"Visit__25TCastToPtr<11CScriptDock>FR18CScriptAiJumpPoint": -/* 800AA2E4 000A7244 38 00 00 00 */ li r0, 0 -/* 800AA2E8 000A7248 90 03 00 04 */ stw r0, 4(r3) -/* 800AA2EC 000A724C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR20CScriptActorKeyframe" -"Visit__25TCastToPtr<11CScriptDock>FR20CScriptActorKeyframe": -/* 800AA2F0 000A7250 38 00 00 00 */ li r0, 0 -/* 800AA2F4 000A7254 90 03 00 04 */ stw r0, 4(r3) -/* 800AA2F8 000A7258 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR12CScriptActor" -"Visit__25TCastToPtr<11CScriptDock>FR12CScriptActor": -/* 800AA2FC 000A725C 38 00 00 00 */ li r0, 0 -/* 800AA300 000A7260 90 03 00 04 */ stw r0, 4(r3) -/* 800AA304 000A7264 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR9CRepulsor" -"Visit__25TCastToPtr<11CScriptDock>FR9CRepulsor": -/* 800AA308 000A7268 38 00 00 00 */ li r0, 0 -/* 800AA30C 000A726C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA310 000A7270 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR7CPlayer" -"Visit__25TCastToPtr<11CScriptDock>FR7CPlayer": -/* 800AA314 000A7274 38 00 00 00 */ li r0, 0 -/* 800AA318 000A7278 90 03 00 04 */ stw r0, 4(r3) -/* 800AA31C 000A727C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR13CPhysicsActor" -"Visit__25TCastToPtr<11CScriptDock>FR13CPhysicsActor": -/* 800AA320 000A7280 38 00 00 00 */ li r0, 0 -/* 800AA324 000A7284 90 03 00 04 */ stw r0, 4(r3) -/* 800AA328 000A7288 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR3CAi" -"Visit__25TCastToPtr<11CScriptDock>FR3CAi": -/* 800AA32C 000A728C 38 00 00 00 */ li r0, 0 -/* 800AA330 000A7290 90 03 00 04 */ stw r0, 4(r3) -/* 800AA334 000A7294 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR11CPathCamera" -"Visit__25TCastToPtr<11CScriptDock>FR11CPathCamera": -/* 800AA338 000A7298 38 00 00 00 */ li r0, 0 -/* 800AA33C 000A729C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA340 000A72A0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR18CMetroidPrimeRelay" -"Visit__25TCastToPtr<11CScriptDock>FR18CMetroidPrimeRelay": -/* 800AA344 000A72A4 38 00 00 00 */ li r0, 0 -/* 800AA348 000A72A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA34C 000A72AC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR19CHUDBillboardEffect" -"Visit__25TCastToPtr<11CScriptDock>FR19CHUDBillboardEffect": -/* 800AA350 000A72B0 38 00 00 00 */ li r0, 0 -/* 800AA354 000A72B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA358 000A72B8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR15CGameProjectile" -"Visit__25TCastToPtr<11CScriptDock>FR15CGameProjectile": -/* 800AA35C 000A72BC 38 00 00 00 */ li r0, 0 -/* 800AA360 000A72C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA364 000A72C4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR10CGameLight" -"Visit__25TCastToPtr<11CScriptDock>FR10CGameLight": -/* 800AA368 000A72C8 38 00 00 00 */ li r0, 0 -/* 800AA36C 000A72CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA370 000A72D0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR11CGameCamera" -"Visit__25TCastToPtr<11CScriptDock>FR11CGameCamera": -/* 800AA374 000A72D4 38 00 00 00 */ li r0, 0 -/* 800AA378 000A72D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA37C 000A72DC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR10CFishCloud" -"Visit__25TCastToPtr<11CScriptDock>FR10CFishCloud": -/* 800AA380 000A72E0 38 00 00 00 */ li r0, 0 -/* 800AA384 000A72E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA388 000A72E8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR18CFirstPersonCamera" -"Visit__25TCastToPtr<11CScriptDock>FR18CFirstPersonCamera": -/* 800AA38C 000A72EC 38 00 00 00 */ li r0, 0 -/* 800AA390 000A72F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA394 000A72F4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR10CExplosion" -"Visit__25TCastToPtr<11CScriptDock>FR10CExplosion": -/* 800AA398 000A72F8 38 00 00 00 */ li r0, 0 -/* 800AA39C 000A72FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA3A0 000A7300 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR7CEntity" -"Visit__25TCastToPtr<11CScriptDock>FR7CEntity": -/* 800AA3A4 000A7304 38 00 00 00 */ li r0, 0 -/* 800AA3A8 000A7308 90 03 00 04 */ stw r0, 4(r3) -/* 800AA3AC 000A730C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR17CEnergyProjectile" -"Visit__25TCastToPtr<11CScriptDock>FR17CEnergyProjectile": -/* 800AA3B0 000A7310 38 00 00 00 */ li r0, 0 -/* 800AA3B4 000A7314 90 03 00 04 */ stw r0, 4(r3) -/* 800AA3B8 000A7318 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR16CDestroyableRock" -"Visit__25TCastToPtr<11CScriptDock>FR16CDestroyableRock": -/* 800AA3BC 000A731C 38 00 00 00 */ li r0, 0 -/* 800AA3C0 000A7320 90 03 00 04 */ stw r0, 4(r3) -/* 800AA3C4 000A7324 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR15CCollisionActor" -"Visit__25TCastToPtr<11CScriptDock>FR15CCollisionActor": -/* 800AA3C8 000A7328 38 00 00 00 */ li r0, 0 -/* 800AA3CC 000A732C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA3D0 000A7330 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR16CCinematicCamera" -"Visit__25TCastToPtr<11CScriptDock>FR16CCinematicCamera": -/* 800AA3D4 000A7334 38 00 00 00 */ li r0, 0 -/* 800AA3D8 000A7338 90 03 00 04 */ stw r0, 4(r3) -/* 800AA3DC 000A733C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR5CBomb" -"Visit__25TCastToPtr<11CScriptDock>FR5CBomb": -/* 800AA3E0 000A7340 38 00 00 00 */ li r0, 0 -/* 800AA3E4 000A7344 90 03 00 04 */ stw r0, 4(r3) -/* 800AA3E8 000A7348 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR11CBallCamera" -"Visit__25TCastToPtr<11CScriptDock>FR11CBallCamera": -/* 800AA3EC 000A734C 38 00 00 00 */ li r0, 0 -/* 800AA3F0 000A7350 90 03 00 04 */ stw r0, 4(r3) -/* 800AA3F4 000A7354 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CScriptDock>FR6CActor" -"Visit__25TCastToPtr<11CScriptDock>FR6CActor": -/* 800AA3F8 000A7358 38 00 00 00 */ li r0, 0 -/* 800AA3FC 000A735C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA400 000A7360 4E 80 00 20 */ blr - -.global "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" -"__ct__25TCastToPtr<11CScriptDock>FP7CEntity": -/* 800AA404 000A7364 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AA408 000A7368 7C 08 02 A6 */ mflr r0 -/* 800AA40C 000A736C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AA410 000A7370 3C A0 80 3E */ lis r5, lbl_803DD930@ha -/* 800AA414 000A7374 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AA418 000A7378 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AA41C 000A737C 28 04 00 00 */ cmplwi r4, 0 -/* 800AA420 000A7380 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AA424 000A7384 7C 7F 1B 78 */ mr r31, r3 -/* 800AA428 000A7388 38 65 D9 30 */ addi r3, r5, lbl_803DD930@l -/* 800AA42C 000A738C 90 1F 00 00 */ stw r0, 0(r31) -/* 800AA430 000A7390 38 00 00 00 */ li r0, 0 -/* 800AA434 000A7394 90 7F 00 00 */ stw r3, 0(r31) -/* 800AA438 000A7398 90 1F 00 04 */ stw r0, 4(r31) -/* 800AA43C 000A739C 41 82 00 1C */ beq lbl_800AA458 -/* 800AA440 000A73A0 7C 83 23 78 */ mr r3, r4 -/* 800AA444 000A73A4 7F E4 FB 78 */ mr r4, r31 -/* 800AA448 000A73A8 81 83 00 00 */ lwz r12, 0(r3) -/* 800AA44C 000A73AC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AA450 000A73B0 7D 89 03 A6 */ mtctr r12 -/* 800AA454 000A73B4 4E 80 04 21 */ bctrl -lbl_800AA458: -/* 800AA458 000A73B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AA45C 000A73BC 7F E3 FB 78 */ mr r3, r31 -/* 800AA460 000A73C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AA464 000A73C4 7C 08 03 A6 */ mtlr r0 -/* 800AA468 000A73C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AA46C 000A73CC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR7CWeapon" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR7CWeapon": -/* 800AA470 000A73D0 38 00 00 00 */ li r0, 0 -/* 800AA474 000A73D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA478 000A73D8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CWallCrawlerSwarm" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CWallCrawlerSwarm": -/* 800AA47C 000A73DC 38 00 00 00 */ li r0, 0 -/* 800AA480 000A73E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA484 000A73E4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptSpindleCamera" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptSpindleCamera": -/* 800AA488 000A73E8 38 00 00 00 */ li r0, 0 -/* 800AA48C 000A73EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA490 000A73F0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CSnakeWeedSwarm" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CSnakeWeedSwarm": -/* 800AA494 000A73F4 38 00 00 00 */ li r0, 0 -/* 800AA498 000A73F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA49C 000A73FC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptWaypoint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptWaypoint": -/* 800AA4A0 000A7400 38 00 00 00 */ li r0, 0 -/* 800AA4A4 000A7404 90 03 00 04 */ stw r0, 4(r3) -/* 800AA4A8 000A7408 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptWater" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptWater": -/* 800AA4AC 000A740C 38 00 00 00 */ li r0, 0 -/* 800AA4B0 000A7410 90 03 00 04 */ stw r0, 4(r3) -/* 800AA4B4 000A7414 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptVisorFlare" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptVisorFlare": -/* 800AA4B8 000A7418 38 00 00 00 */ li r0, 0 -/* 800AA4BC 000A741C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA4C0 000A7420 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR14CScriptTrigger" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR14CScriptTrigger": -/* 800AA4C4 000A7424 38 00 00 00 */ li r0, 0 -/* 800AA4C8 000A7428 90 03 00 04 */ stw r0, 4(r3) -/* 800AA4CC 000A742C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptTimer" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptTimer": -/* 800AA4D0 000A7430 38 00 00 00 */ li r0, 0 -/* 800AA4D4 000A7434 90 03 00 04 */ stw r0, 4(r3) -/* 800AA4D8 000A7438 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR10CTeamAiMgr" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR10CTeamAiMgr": -/* 800AA4DC 000A743C 38 00 00 00 */ li r0, 0 -/* 800AA4E0 000A7440 90 03 00 04 */ stw r0, 4(r3) -/* 800AA4E4 000A7444 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR21CScriptTargetingPoint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR21CScriptTargetingPoint": -/* 800AA4E8 000A7448 38 00 00 00 */ li r0, 0 -/* 800AA4EC 000A744C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA4F0 000A7450 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR25CScriptSpiderBallWaypoint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR25CScriptSpiderBallWaypoint": -/* 800AA4F4 000A7454 38 00 00 00 */ li r0, 0 -/* 800AA4F8 000A7458 90 03 00 04 */ stw r0, 4(r3) -/* 800AA4FC 000A745C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR34CScriptSpiderBallAttractionSurface" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR34CScriptSpiderBallAttractionSurface": -/* 800AA500 000A7460 38 00 00 00 */ li r0, 0 -/* 800AA504 000A7464 90 03 00 04 */ stw r0, 4(r3) -/* 800AA508 000A7468 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR22CScriptSpecialFunction" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR22CScriptSpecialFunction": -/* 800AA50C 000A746C 38 00 00 00 */ li r0, 0 -/* 800AA510 000A7470 90 03 00 04 */ stw r0, 4(r3) -/* 800AA514 000A7474 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptSpawnPoint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptSpawnPoint": -/* 800AA518 000A7478 38 00 00 00 */ li r0, 0 -/* 800AA51C 000A747C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA520 000A7480 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptSound" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptSound": -/* 800AA524 000A7484 38 00 00 00 */ li r0, 0 -/* 800AA528 000A7488 90 03 00 04 */ stw r0, 4(r3) -/* 800AA52C 000A748C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptRoomAcoustics" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptRoomAcoustics": -/* 800AA530 000A7490 38 00 00 00 */ li r0, 0 -/* 800AA534 000A7494 90 03 00 04 */ stw r0, 4(r3) -/* 800AA538 000A7498 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR22CScriptPointOfinterest" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR22CScriptPointOfinterest": -/* 800AA53C 000A749C 38 00 00 00 */ li r0, 0 -/* 800AA540 000A74A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA544 000A74A4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptPlayerHint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptPlayerHint": -/* 800AA548 000A74A8 38 00 00 00 */ li r0, 0 -/* 800AA54C 000A74AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA550 000A74B0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptPlatform" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptPlatform": -/* 800AA554 000A74B4 38 00 00 00 */ li r0, 0 -/* 800AA558 000A74B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA55C 000A74BC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR13CScriptPickup" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR13CScriptPickup": -/* 800AA560 000A74C0 38 00 00 00 */ li r0, 0 -/* 800AA564 000A74C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA568 000A74C8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptMazeNode" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CScriptMazeNode": -/* 800AA56C 000A74CC 38 00 00 00 */ li r0, 0 -/* 800AA570 000A74D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA574 000A74D4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR16CScriptGunTurret" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR16CScriptGunTurret": -/* 800AA578 000A74D8 38 00 00 00 */ li r0, 0 -/* 800AA57C 000A74DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA580 000A74E0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR19CScriptGrapplePoint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR19CScriptGrapplePoint": -/* 800AA584 000A74E4 38 00 00 00 */ li r0, 0 -/* 800AA588 000A74E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA58C 000A74EC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR13CScriptEffect" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR13CScriptEffect": -/* 800AA590 000A74F0 38 00 00 00 */ li r0, 0 -/* 800AA594 000A74F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA598 000A74F8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CScriptDoor" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CScriptDoor": -/* 800AA59C 000A74FC 38 00 00 00 */ li r0, 0 -/* 800AA5A0 000A7500 90 03 00 04 */ stw r0, 4(r3) -/* 800AA5A4 000A7504 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CScriptDock" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CScriptDock": -/* 800AA5A8 000A7508 38 00 00 00 */ li r0, 0 -/* 800AA5AC 000A750C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA5B0 000A7510 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR18CScriptDistanceFog" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR18CScriptDistanceFog": -/* 800AA5B4 000A7514 90 83 00 04 */ stw r4, 4(r3) -/* 800AA5B8 000A7518 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR26CScriptDebugCameraWaypoint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR26CScriptDebugCameraWaypoint": -/* 800AA5BC 000A751C 38 00 00 00 */ li r0, 0 -/* 800AA5C0 000A7520 90 03 00 04 */ stw r0, 4(r3) -/* 800AA5C4 000A7524 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptCoverPoint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptCoverPoint": -/* 800AA5C8 000A7528 38 00 00 00 */ li r0, 0 -/* 800AA5CC 000A752C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA5D0 000A7530 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR21CScriptCameraWaypoint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR21CScriptCameraWaypoint": -/* 800AA5D4 000A7534 38 00 00 00 */ li r0, 0 -/* 800AA5D8 000A7538 90 03 00 04 */ stw r0, 4(r3) -/* 800AA5DC 000A753C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR24CScriptCameraPitchVolume" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR24CScriptCameraPitchVolume": -/* 800AA5E0 000A7540 38 00 00 00 */ li r0, 0 -/* 800AA5E4 000A7544 90 03 00 04 */ stw r0, 4(r3) -/* 800AA5E8 000A7548 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptCameraHint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CScriptCameraHint": -/* 800AA5EC 000A754C 38 00 00 00 */ li r0, 0 -/* 800AA5F0 000A7550 90 03 00 04 */ stw r0, 4(r3) -/* 800AA5F4 000A7554 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR18CScriptAiJumpPoint" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR18CScriptAiJumpPoint": -/* 800AA5F8 000A7558 38 00 00 00 */ li r0, 0 -/* 800AA5FC 000A755C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA600 000A7560 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptActorKeyframe" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR20CScriptActorKeyframe": -/* 800AA604 000A7564 38 00 00 00 */ li r0, 0 -/* 800AA608 000A7568 90 03 00 04 */ stw r0, 4(r3) -/* 800AA60C 000A756C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptActor" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR12CScriptActor": -/* 800AA610 000A7570 38 00 00 00 */ li r0, 0 -/* 800AA614 000A7574 90 03 00 04 */ stw r0, 4(r3) -/* 800AA618 000A7578 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR9CRepulsor" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR9CRepulsor": -/* 800AA61C 000A757C 38 00 00 00 */ li r0, 0 -/* 800AA620 000A7580 90 03 00 04 */ stw r0, 4(r3) -/* 800AA624 000A7584 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR7CPlayer" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR7CPlayer": -/* 800AA628 000A7588 38 00 00 00 */ li r0, 0 -/* 800AA62C 000A758C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA630 000A7590 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR13CPhysicsActor" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR13CPhysicsActor": -/* 800AA634 000A7594 38 00 00 00 */ li r0, 0 -/* 800AA638 000A7598 90 03 00 04 */ stw r0, 4(r3) -/* 800AA63C 000A759C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR3CAi" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR3CAi": -/* 800AA640 000A75A0 38 00 00 00 */ li r0, 0 -/* 800AA644 000A75A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA648 000A75A8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CPathCamera" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CPathCamera": -/* 800AA64C 000A75AC 38 00 00 00 */ li r0, 0 -/* 800AA650 000A75B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA654 000A75B4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR18CMetroidPrimeRelay" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR18CMetroidPrimeRelay": -/* 800AA658 000A75B8 38 00 00 00 */ li r0, 0 -/* 800AA65C 000A75BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA660 000A75C0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR19CHUDBillboardEffect" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR19CHUDBillboardEffect": -/* 800AA664 000A75C4 38 00 00 00 */ li r0, 0 -/* 800AA668 000A75C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA66C 000A75CC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CGameProjectile" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CGameProjectile": -/* 800AA670 000A75D0 38 00 00 00 */ li r0, 0 -/* 800AA674 000A75D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA678 000A75D8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR10CGameLight" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR10CGameLight": -/* 800AA67C 000A75DC 38 00 00 00 */ li r0, 0 -/* 800AA680 000A75E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA684 000A75E4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CGameCamera" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CGameCamera": -/* 800AA688 000A75E8 38 00 00 00 */ li r0, 0 -/* 800AA68C 000A75EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA690 000A75F0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR10CFishCloud" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR10CFishCloud": -/* 800AA694 000A75F4 38 00 00 00 */ li r0, 0 -/* 800AA698 000A75F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA69C 000A75FC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR18CFirstPersonCamera" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR18CFirstPersonCamera": -/* 800AA6A0 000A7600 38 00 00 00 */ li r0, 0 -/* 800AA6A4 000A7604 90 03 00 04 */ stw r0, 4(r3) -/* 800AA6A8 000A7608 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR10CExplosion" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR10CExplosion": -/* 800AA6AC 000A760C 38 00 00 00 */ li r0, 0 -/* 800AA6B0 000A7610 90 03 00 04 */ stw r0, 4(r3) -/* 800AA6B4 000A7614 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR7CEntity" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR7CEntity": -/* 800AA6B8 000A7618 38 00 00 00 */ li r0, 0 -/* 800AA6BC 000A761C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA6C0 000A7620 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR17CEnergyProjectile" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR17CEnergyProjectile": -/* 800AA6C4 000A7624 38 00 00 00 */ li r0, 0 -/* 800AA6C8 000A7628 90 03 00 04 */ stw r0, 4(r3) -/* 800AA6CC 000A762C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR16CDestroyableRock" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR16CDestroyableRock": -/* 800AA6D0 000A7630 38 00 00 00 */ li r0, 0 -/* 800AA6D4 000A7634 90 03 00 04 */ stw r0, 4(r3) -/* 800AA6D8 000A7638 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR15CCollisionActor" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR15CCollisionActor": -/* 800AA6DC 000A763C 38 00 00 00 */ li r0, 0 -/* 800AA6E0 000A7640 90 03 00 04 */ stw r0, 4(r3) -/* 800AA6E4 000A7644 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR16CCinematicCamera" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR16CCinematicCamera": -/* 800AA6E8 000A7648 38 00 00 00 */ li r0, 0 -/* 800AA6EC 000A764C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA6F0 000A7650 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR5CBomb" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR5CBomb": -/* 800AA6F4 000A7654 38 00 00 00 */ li r0, 0 -/* 800AA6F8 000A7658 90 03 00 04 */ stw r0, 4(r3) -/* 800AA6FC 000A765C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR11CBallCamera" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR11CBallCamera": -/* 800AA700 000A7660 38 00 00 00 */ li r0, 0 -/* 800AA704 000A7664 90 03 00 04 */ stw r0, 4(r3) -/* 800AA708 000A7668 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptDistanceFog>FR6CActor" -"Visit__32TCastToPtr<18CScriptDistanceFog>FR6CActor": -/* 800AA70C 000A766C 38 00 00 00 */ li r0, 0 -/* 800AA710 000A7670 90 03 00 04 */ stw r0, 4(r3) -/* 800AA714 000A7674 4E 80 00 20 */ blr - -.global "__ct__32TCastToPtr<18CScriptDistanceFog>FP7CEntity" -"__ct__32TCastToPtr<18CScriptDistanceFog>FP7CEntity": -/* 800AA718 000A7678 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AA71C 000A767C 7C 08 02 A6 */ mflr r0 -/* 800AA720 000A7680 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AA724 000A7684 3C A0 80 3E */ lis r5, lbl_803DD844@ha -/* 800AA728 000A7688 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AA72C 000A768C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AA730 000A7690 28 04 00 00 */ cmplwi r4, 0 -/* 800AA734 000A7694 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AA738 000A7698 7C 7F 1B 78 */ mr r31, r3 -/* 800AA73C 000A769C 38 65 D8 44 */ addi r3, r5, lbl_803DD844@l -/* 800AA740 000A76A0 90 1F 00 00 */ stw r0, 0(r31) -/* 800AA744 000A76A4 38 00 00 00 */ li r0, 0 -/* 800AA748 000A76A8 90 7F 00 00 */ stw r3, 0(r31) -/* 800AA74C 000A76AC 90 1F 00 04 */ stw r0, 4(r31) -/* 800AA750 000A76B0 41 82 00 1C */ beq lbl_800AA76C -/* 800AA754 000A76B4 7C 83 23 78 */ mr r3, r4 -/* 800AA758 000A76B8 7F E4 FB 78 */ mr r4, r31 -/* 800AA75C 000A76BC 81 83 00 00 */ lwz r12, 0(r3) -/* 800AA760 000A76C0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AA764 000A76C4 7D 89 03 A6 */ mtctr r12 -/* 800AA768 000A76C8 4E 80 04 21 */ bctrl -lbl_800AA76C: -/* 800AA76C 000A76CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AA770 000A76D0 7F E3 FB 78 */ mr r3, r31 -/* 800AA774 000A76D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AA778 000A76D8 7C 08 03 A6 */ mtlr r0 -/* 800AA77C 000A76DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AA780 000A76E0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR7CWeapon" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR7CWeapon": -/* 800AA784 000A76E4 38 00 00 00 */ li r0, 0 -/* 800AA788 000A76E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA78C 000A76EC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CWallCrawlerSwarm" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CWallCrawlerSwarm": -/* 800AA790 000A76F0 38 00 00 00 */ li r0, 0 -/* 800AA794 000A76F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA798 000A76F8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptSpindleCamera" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptSpindleCamera": -/* 800AA79C 000A76FC 38 00 00 00 */ li r0, 0 -/* 800AA7A0 000A7700 90 03 00 04 */ stw r0, 4(r3) -/* 800AA7A4 000A7704 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CSnakeWeedSwarm" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CSnakeWeedSwarm": -/* 800AA7A8 000A7708 38 00 00 00 */ li r0, 0 -/* 800AA7AC 000A770C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA7B0 000A7710 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptWaypoint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptWaypoint": -/* 800AA7B4 000A7714 38 00 00 00 */ li r0, 0 -/* 800AA7B8 000A7718 90 03 00 04 */ stw r0, 4(r3) -/* 800AA7BC 000A771C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptWater" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptWater": -/* 800AA7C0 000A7720 38 00 00 00 */ li r0, 0 -/* 800AA7C4 000A7724 90 03 00 04 */ stw r0, 4(r3) -/* 800AA7C8 000A7728 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptVisorFlare" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptVisorFlare": -/* 800AA7CC 000A772C 38 00 00 00 */ li r0, 0 -/* 800AA7D0 000A7730 90 03 00 04 */ stw r0, 4(r3) -/* 800AA7D4 000A7734 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR14CScriptTrigger" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR14CScriptTrigger": -/* 800AA7D8 000A7738 38 00 00 00 */ li r0, 0 -/* 800AA7DC 000A773C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA7E0 000A7740 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptTimer" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptTimer": -/* 800AA7E4 000A7744 38 00 00 00 */ li r0, 0 -/* 800AA7E8 000A7748 90 03 00 04 */ stw r0, 4(r3) -/* 800AA7EC 000A774C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR10CTeamAiMgr" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR10CTeamAiMgr": -/* 800AA7F0 000A7750 38 00 00 00 */ li r0, 0 -/* 800AA7F4 000A7754 90 03 00 04 */ stw r0, 4(r3) -/* 800AA7F8 000A7758 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR21CScriptTargetingPoint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR21CScriptTargetingPoint": -/* 800AA7FC 000A775C 38 00 00 00 */ li r0, 0 -/* 800AA800 000A7760 90 03 00 04 */ stw r0, 4(r3) -/* 800AA804 000A7764 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR25CScriptSpiderBallWaypoint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR25CScriptSpiderBallWaypoint": -/* 800AA808 000A7768 38 00 00 00 */ li r0, 0 -/* 800AA80C 000A776C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA810 000A7770 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR34CScriptSpiderBallAttractionSurface" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR34CScriptSpiderBallAttractionSurface": -/* 800AA814 000A7774 38 00 00 00 */ li r0, 0 -/* 800AA818 000A7778 90 03 00 04 */ stw r0, 4(r3) -/* 800AA81C 000A777C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR22CScriptSpecialFunction" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR22CScriptSpecialFunction": -/* 800AA820 000A7780 38 00 00 00 */ li r0, 0 -/* 800AA824 000A7784 90 03 00 04 */ stw r0, 4(r3) -/* 800AA828 000A7788 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptSpawnPoint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptSpawnPoint": -/* 800AA82C 000A778C 38 00 00 00 */ li r0, 0 -/* 800AA830 000A7790 90 03 00 04 */ stw r0, 4(r3) -/* 800AA834 000A7794 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptSound" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptSound": -/* 800AA838 000A7798 38 00 00 00 */ li r0, 0 -/* 800AA83C 000A779C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA840 000A77A0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptRoomAcoustics" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptRoomAcoustics": -/* 800AA844 000A77A4 38 00 00 00 */ li r0, 0 -/* 800AA848 000A77A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA84C 000A77AC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR22CScriptPointOfinterest" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR22CScriptPointOfinterest": -/* 800AA850 000A77B0 38 00 00 00 */ li r0, 0 -/* 800AA854 000A77B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA858 000A77B8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptPlayerHint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptPlayerHint": -/* 800AA85C 000A77BC 38 00 00 00 */ li r0, 0 -/* 800AA860 000A77C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA864 000A77C4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptPlatform" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptPlatform": -/* 800AA868 000A77C8 38 00 00 00 */ li r0, 0 -/* 800AA86C 000A77CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA870 000A77D0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR13CScriptPickup" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR13CScriptPickup": -/* 800AA874 000A77D4 38 00 00 00 */ li r0, 0 -/* 800AA878 000A77D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA87C 000A77DC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptMazeNode" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CScriptMazeNode": -/* 800AA880 000A77E0 38 00 00 00 */ li r0, 0 -/* 800AA884 000A77E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA888 000A77E8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR16CScriptGunTurret" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR16CScriptGunTurret": -/* 800AA88C 000A77EC 38 00 00 00 */ li r0, 0 -/* 800AA890 000A77F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA894 000A77F4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR19CScriptGrapplePoint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR19CScriptGrapplePoint": -/* 800AA898 000A77F8 38 00 00 00 */ li r0, 0 -/* 800AA89C 000A77FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA8A0 000A7800 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR13CScriptEffect" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR13CScriptEffect": -/* 800AA8A4 000A7804 38 00 00 00 */ li r0, 0 -/* 800AA8A8 000A7808 90 03 00 04 */ stw r0, 4(r3) -/* 800AA8AC 000A780C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CScriptDoor" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CScriptDoor": -/* 800AA8B0 000A7810 38 00 00 00 */ li r0, 0 -/* 800AA8B4 000A7814 90 03 00 04 */ stw r0, 4(r3) -/* 800AA8B8 000A7818 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CScriptDock" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CScriptDock": -/* 800AA8BC 000A781C 38 00 00 00 */ li r0, 0 -/* 800AA8C0 000A7820 90 03 00 04 */ stw r0, 4(r3) -/* 800AA8C4 000A7824 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR18CScriptDistanceFog" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR18CScriptDistanceFog": -/* 800AA8C8 000A7828 38 00 00 00 */ li r0, 0 -/* 800AA8CC 000A782C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA8D0 000A7830 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR26CScriptDebugCameraWaypoint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR26CScriptDebugCameraWaypoint": -/* 800AA8D4 000A7834 38 00 00 00 */ li r0, 0 -/* 800AA8D8 000A7838 90 03 00 04 */ stw r0, 4(r3) -/* 800AA8DC 000A783C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptCoverPoint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptCoverPoint": -/* 800AA8E0 000A7840 90 83 00 04 */ stw r4, 4(r3) -/* 800AA8E4 000A7844 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR21CScriptCameraWaypoint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR21CScriptCameraWaypoint": -/* 800AA8E8 000A7848 38 00 00 00 */ li r0, 0 -/* 800AA8EC 000A784C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA8F0 000A7850 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR24CScriptCameraPitchVolume" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR24CScriptCameraPitchVolume": -/* 800AA8F4 000A7854 38 00 00 00 */ li r0, 0 -/* 800AA8F8 000A7858 90 03 00 04 */ stw r0, 4(r3) -/* 800AA8FC 000A785C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptCameraHint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CScriptCameraHint": -/* 800AA900 000A7860 38 00 00 00 */ li r0, 0 -/* 800AA904 000A7864 90 03 00 04 */ stw r0, 4(r3) -/* 800AA908 000A7868 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR18CScriptAiJumpPoint" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR18CScriptAiJumpPoint": -/* 800AA90C 000A786C 38 00 00 00 */ li r0, 0 -/* 800AA910 000A7870 90 03 00 04 */ stw r0, 4(r3) -/* 800AA914 000A7874 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptActorKeyframe" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR20CScriptActorKeyframe": -/* 800AA918 000A7878 38 00 00 00 */ li r0, 0 -/* 800AA91C 000A787C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA920 000A7880 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptActor" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR12CScriptActor": -/* 800AA924 000A7884 38 00 00 00 */ li r0, 0 -/* 800AA928 000A7888 90 03 00 04 */ stw r0, 4(r3) -/* 800AA92C 000A788C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR9CRepulsor" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR9CRepulsor": -/* 800AA930 000A7890 38 00 00 00 */ li r0, 0 -/* 800AA934 000A7894 90 03 00 04 */ stw r0, 4(r3) -/* 800AA938 000A7898 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR7CPlayer" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR7CPlayer": -/* 800AA93C 000A789C 38 00 00 00 */ li r0, 0 -/* 800AA940 000A78A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA944 000A78A4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR13CPhysicsActor" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR13CPhysicsActor": -/* 800AA948 000A78A8 38 00 00 00 */ li r0, 0 -/* 800AA94C 000A78AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA950 000A78B0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR3CAi" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR3CAi": -/* 800AA954 000A78B4 38 00 00 00 */ li r0, 0 -/* 800AA958 000A78B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA95C 000A78BC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CPathCamera" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CPathCamera": -/* 800AA960 000A78C0 38 00 00 00 */ li r0, 0 -/* 800AA964 000A78C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA968 000A78C8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR18CMetroidPrimeRelay" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR18CMetroidPrimeRelay": -/* 800AA96C 000A78CC 38 00 00 00 */ li r0, 0 -/* 800AA970 000A78D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AA974 000A78D4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR19CHUDBillboardEffect" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR19CHUDBillboardEffect": -/* 800AA978 000A78D8 38 00 00 00 */ li r0, 0 -/* 800AA97C 000A78DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AA980 000A78E0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CGameProjectile" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CGameProjectile": -/* 800AA984 000A78E4 38 00 00 00 */ li r0, 0 -/* 800AA988 000A78E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AA98C 000A78EC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR10CGameLight" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR10CGameLight": -/* 800AA990 000A78F0 38 00 00 00 */ li r0, 0 -/* 800AA994 000A78F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AA998 000A78F8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CGameCamera" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CGameCamera": -/* 800AA99C 000A78FC 38 00 00 00 */ li r0, 0 -/* 800AA9A0 000A7900 90 03 00 04 */ stw r0, 4(r3) -/* 800AA9A4 000A7904 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR10CFishCloud" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR10CFishCloud": -/* 800AA9A8 000A7908 38 00 00 00 */ li r0, 0 -/* 800AA9AC 000A790C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA9B0 000A7910 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR18CFirstPersonCamera" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR18CFirstPersonCamera": -/* 800AA9B4 000A7914 38 00 00 00 */ li r0, 0 -/* 800AA9B8 000A7918 90 03 00 04 */ stw r0, 4(r3) -/* 800AA9BC 000A791C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR10CExplosion" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR10CExplosion": -/* 800AA9C0 000A7920 38 00 00 00 */ li r0, 0 -/* 800AA9C4 000A7924 90 03 00 04 */ stw r0, 4(r3) -/* 800AA9C8 000A7928 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR7CEntity" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR7CEntity": -/* 800AA9CC 000A792C 38 00 00 00 */ li r0, 0 -/* 800AA9D0 000A7930 90 03 00 04 */ stw r0, 4(r3) -/* 800AA9D4 000A7934 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR17CEnergyProjectile" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR17CEnergyProjectile": -/* 800AA9D8 000A7938 38 00 00 00 */ li r0, 0 -/* 800AA9DC 000A793C 90 03 00 04 */ stw r0, 4(r3) -/* 800AA9E0 000A7940 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR16CDestroyableRock" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR16CDestroyableRock": -/* 800AA9E4 000A7944 38 00 00 00 */ li r0, 0 -/* 800AA9E8 000A7948 90 03 00 04 */ stw r0, 4(r3) -/* 800AA9EC 000A794C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR15CCollisionActor" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR15CCollisionActor": -/* 800AA9F0 000A7950 38 00 00 00 */ li r0, 0 -/* 800AA9F4 000A7954 90 03 00 04 */ stw r0, 4(r3) -/* 800AA9F8 000A7958 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR16CCinematicCamera" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR16CCinematicCamera": -/* 800AA9FC 000A795C 38 00 00 00 */ li r0, 0 -/* 800AAA00 000A7960 90 03 00 04 */ stw r0, 4(r3) -/* 800AAA04 000A7964 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR5CBomb" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR5CBomb": -/* 800AAA08 000A7968 38 00 00 00 */ li r0, 0 -/* 800AAA0C 000A796C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAA10 000A7970 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR11CBallCamera" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR11CBallCamera": -/* 800AAA14 000A7974 38 00 00 00 */ li r0, 0 -/* 800AAA18 000A7978 90 03 00 04 */ stw r0, 4(r3) -/* 800AAA1C 000A797C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCoverPoint>FR6CActor" -"Visit__31TCastToPtr<17CScriptCoverPoint>FR6CActor": -/* 800AAA20 000A7980 38 00 00 00 */ li r0, 0 -/* 800AAA24 000A7984 90 03 00 04 */ stw r0, 4(r3) -/* 800AAA28 000A7988 4E 80 00 20 */ blr - -.global "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" -"__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity": -/* 800AAA2C 000A798C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AAA30 000A7990 7C 08 02 A6 */ mflr r0 -/* 800AAA34 000A7994 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AAA38 000A7998 3C A0 80 3E */ lis r5, lbl_803DD758@ha -/* 800AAA3C 000A799C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AAA40 000A79A0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AAA44 000A79A4 28 04 00 00 */ cmplwi r4, 0 -/* 800AAA48 000A79A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AAA4C 000A79AC 7C 7F 1B 78 */ mr r31, r3 -/* 800AAA50 000A79B0 38 65 D7 58 */ addi r3, r5, lbl_803DD758@l -/* 800AAA54 000A79B4 90 1F 00 00 */ stw r0, 0(r31) -/* 800AAA58 000A79B8 38 00 00 00 */ li r0, 0 -/* 800AAA5C 000A79BC 90 7F 00 00 */ stw r3, 0(r31) -/* 800AAA60 000A79C0 90 1F 00 04 */ stw r0, 4(r31) -/* 800AAA64 000A79C4 41 82 00 1C */ beq lbl_800AAA80 -/* 800AAA68 000A79C8 7C 83 23 78 */ mr r3, r4 -/* 800AAA6C 000A79CC 7F E4 FB 78 */ mr r4, r31 -/* 800AAA70 000A79D0 81 83 00 00 */ lwz r12, 0(r3) -/* 800AAA74 000A79D4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AAA78 000A79D8 7D 89 03 A6 */ mtctr r12 -/* 800AAA7C 000A79DC 4E 80 04 21 */ bctrl -lbl_800AAA80: -/* 800AAA80 000A79E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AAA84 000A79E4 7F E3 FB 78 */ mr r3, r31 -/* 800AAA88 000A79E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AAA8C 000A79EC 7C 08 03 A6 */ mtlr r0 -/* 800AAA90 000A79F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AAA94 000A79F4 4E 80 00 20 */ blr - -.global "__ct__31TCastToPtr<17CScriptCoverPoint>FR7CEntity" -"__ct__31TCastToPtr<17CScriptCoverPoint>FR7CEntity": -/* 800AAA98 000A79F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AAA9C 000A79FC 7C 08 02 A6 */ mflr r0 -/* 800AAAA0 000A7A00 3C A0 80 3E */ lis r5, lbl_803DD758@ha -/* 800AAAA4 000A7A04 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AAAA8 000A7A08 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AAAAC 000A7A0C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AAAB0 000A7A10 38 A5 D7 58 */ addi r5, r5, lbl_803DD758@l -/* 800AAAB4 000A7A14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AAAB8 000A7A18 7C 7F 1B 78 */ mr r31, r3 -/* 800AAABC 000A7A1C 90 03 00 00 */ stw r0, 0(r3) -/* 800AAAC0 000A7A20 7C 83 23 78 */ mr r3, r4 -/* 800AAAC4 000A7A24 38 00 00 00 */ li r0, 0 -/* 800AAAC8 000A7A28 7F E4 FB 78 */ mr r4, r31 -/* 800AAACC 000A7A2C 90 BF 00 00 */ stw r5, 0(r31) -/* 800AAAD0 000A7A30 90 1F 00 04 */ stw r0, 4(r31) -/* 800AAAD4 000A7A34 81 83 00 00 */ lwz r12, 0(r3) -/* 800AAAD8 000A7A38 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AAADC 000A7A3C 7D 89 03 A6 */ mtctr r12 -/* 800AAAE0 000A7A40 4E 80 04 21 */ bctrl -/* 800AAAE4 000A7A44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AAAE8 000A7A48 7F E3 FB 78 */ mr r3, r31 -/* 800AAAEC 000A7A4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AAAF0 000A7A50 7C 08 03 A6 */ mtlr r0 -/* 800AAAF4 000A7A54 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AAAF8 000A7A58 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CWeapon" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CWeapon": -/* 800AAAFC 000A7A5C 38 00 00 00 */ li r0, 0 -/* 800AAB00 000A7A60 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB04 000A7A64 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CWallCrawlerSwarm" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CWallCrawlerSwarm": -/* 800AAB08 000A7A68 38 00 00 00 */ li r0, 0 -/* 800AAB0C 000A7A6C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB10 000A7A70 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptSpindleCamera" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptSpindleCamera": -/* 800AAB14 000A7A74 38 00 00 00 */ li r0, 0 -/* 800AAB18 000A7A78 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB1C 000A7A7C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CSnakeWeedSwarm" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CSnakeWeedSwarm": -/* 800AAB20 000A7A80 38 00 00 00 */ li r0, 0 -/* 800AAB24 000A7A84 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB28 000A7A88 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptWaypoint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptWaypoint": -/* 800AAB2C 000A7A8C 38 00 00 00 */ li r0, 0 -/* 800AAB30 000A7A90 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB34 000A7A94 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptWater" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptWater": -/* 800AAB38 000A7A98 38 00 00 00 */ li r0, 0 -/* 800AAB3C 000A7A9C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB40 000A7AA0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptVisorFlare" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptVisorFlare": -/* 800AAB44 000A7AA4 38 00 00 00 */ li r0, 0 -/* 800AAB48 000A7AA8 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB4C 000A7AAC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR14CScriptTrigger" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR14CScriptTrigger": -/* 800AAB50 000A7AB0 38 00 00 00 */ li r0, 0 -/* 800AAB54 000A7AB4 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB58 000A7AB8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptTimer" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptTimer": -/* 800AAB5C 000A7ABC 38 00 00 00 */ li r0, 0 -/* 800AAB60 000A7AC0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB64 000A7AC4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CTeamAiMgr" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CTeamAiMgr": -/* 800AAB68 000A7AC8 38 00 00 00 */ li r0, 0 -/* 800AAB6C 000A7ACC 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB70 000A7AD0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR21CScriptTargetingPoint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR21CScriptTargetingPoint": -/* 800AAB74 000A7AD4 38 00 00 00 */ li r0, 0 -/* 800AAB78 000A7AD8 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB7C 000A7ADC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR25CScriptSpiderBallWaypoint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR25CScriptSpiderBallWaypoint": -/* 800AAB80 000A7AE0 38 00 00 00 */ li r0, 0 -/* 800AAB84 000A7AE4 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB88 000A7AE8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR34CScriptSpiderBallAttractionSurface" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR34CScriptSpiderBallAttractionSurface": -/* 800AAB8C 000A7AEC 38 00 00 00 */ li r0, 0 -/* 800AAB90 000A7AF0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAB94 000A7AF4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR22CScriptSpecialFunction" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR22CScriptSpecialFunction": -/* 800AAB98 000A7AF8 38 00 00 00 */ li r0, 0 -/* 800AAB9C 000A7AFC 90 03 00 04 */ stw r0, 4(r3) -/* 800AABA0 000A7B00 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptSpawnPoint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptSpawnPoint": -/* 800AABA4 000A7B04 38 00 00 00 */ li r0, 0 -/* 800AABA8 000A7B08 90 03 00 04 */ stw r0, 4(r3) -/* 800AABAC 000A7B0C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptSound" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptSound": -/* 800AABB0 000A7B10 38 00 00 00 */ li r0, 0 -/* 800AABB4 000A7B14 90 03 00 04 */ stw r0, 4(r3) -/* 800AABB8 000A7B18 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptRoomAcoustics" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptRoomAcoustics": -/* 800AABBC 000A7B1C 38 00 00 00 */ li r0, 0 -/* 800AABC0 000A7B20 90 03 00 04 */ stw r0, 4(r3) -/* 800AABC4 000A7B24 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR22CScriptPointOfinterest" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR22CScriptPointOfinterest": -/* 800AABC8 000A7B28 38 00 00 00 */ li r0, 0 -/* 800AABCC 000A7B2C 90 03 00 04 */ stw r0, 4(r3) -/* 800AABD0 000A7B30 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptPlayerHint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptPlayerHint": -/* 800AABD4 000A7B34 38 00 00 00 */ li r0, 0 -/* 800AABD8 000A7B38 90 03 00 04 */ stw r0, 4(r3) -/* 800AABDC 000A7B3C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptPlatform" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptPlatform": -/* 800AABE0 000A7B40 38 00 00 00 */ li r0, 0 -/* 800AABE4 000A7B44 90 03 00 04 */ stw r0, 4(r3) -/* 800AABE8 000A7B48 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CScriptPickup" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CScriptPickup": -/* 800AABEC 000A7B4C 38 00 00 00 */ li r0, 0 -/* 800AABF0 000A7B50 90 03 00 04 */ stw r0, 4(r3) -/* 800AABF4 000A7B54 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptMazeNode" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CScriptMazeNode": -/* 800AABF8 000A7B58 38 00 00 00 */ li r0, 0 -/* 800AABFC 000A7B5C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC00 000A7B60 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CScriptGunTurret" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CScriptGunTurret": -/* 800AAC04 000A7B64 38 00 00 00 */ li r0, 0 -/* 800AAC08 000A7B68 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC0C 000A7B6C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR19CScriptGrapplePoint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR19CScriptGrapplePoint": -/* 800AAC10 000A7B70 38 00 00 00 */ li r0, 0 -/* 800AAC14 000A7B74 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC18 000A7B78 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CScriptEffect" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CScriptEffect": -/* 800AAC1C 000A7B7C 38 00 00 00 */ li r0, 0 -/* 800AAC20 000A7B80 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC24 000A7B84 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CScriptDoor" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CScriptDoor": -/* 800AAC28 000A7B88 38 00 00 00 */ li r0, 0 -/* 800AAC2C 000A7B8C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC30 000A7B90 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CScriptDock" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CScriptDock": -/* 800AAC34 000A7B94 38 00 00 00 */ li r0, 0 -/* 800AAC38 000A7B98 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC3C 000A7B9C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CScriptDistanceFog" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CScriptDistanceFog": -/* 800AAC40 000A7BA0 38 00 00 00 */ li r0, 0 -/* 800AAC44 000A7BA4 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC48 000A7BA8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR26CScriptDebugCameraWaypoint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR26CScriptDebugCameraWaypoint": -/* 800AAC4C 000A7BAC 38 00 00 00 */ li r0, 0 -/* 800AAC50 000A7BB0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC54 000A7BB4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptCoverPoint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptCoverPoint": -/* 800AAC58 000A7BB8 38 00 00 00 */ li r0, 0 -/* 800AAC5C 000A7BBC 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC60 000A7BC0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR21CScriptCameraWaypoint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR21CScriptCameraWaypoint": -/* 800AAC64 000A7BC4 90 83 00 04 */ stw r4, 4(r3) -/* 800AAC68 000A7BC8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR24CScriptCameraPitchVolume" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR24CScriptCameraPitchVolume": -/* 800AAC6C 000A7BCC 38 00 00 00 */ li r0, 0 -/* 800AAC70 000A7BD0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC74 000A7BD4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptCameraHint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CScriptCameraHint": -/* 800AAC78 000A7BD8 38 00 00 00 */ li r0, 0 -/* 800AAC7C 000A7BDC 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC80 000A7BE0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CScriptAiJumpPoint" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CScriptAiJumpPoint": -/* 800AAC84 000A7BE4 38 00 00 00 */ li r0, 0 -/* 800AAC88 000A7BE8 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC8C 000A7BEC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptActorKeyframe" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR20CScriptActorKeyframe": -/* 800AAC90 000A7BF0 38 00 00 00 */ li r0, 0 -/* 800AAC94 000A7BF4 90 03 00 04 */ stw r0, 4(r3) -/* 800AAC98 000A7BF8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptActor" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR12CScriptActor": -/* 800AAC9C 000A7BFC 38 00 00 00 */ li r0, 0 -/* 800AACA0 000A7C00 90 03 00 04 */ stw r0, 4(r3) -/* 800AACA4 000A7C04 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR9CRepulsor" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR9CRepulsor": -/* 800AACA8 000A7C08 38 00 00 00 */ li r0, 0 -/* 800AACAC 000A7C0C 90 03 00 04 */ stw r0, 4(r3) -/* 800AACB0 000A7C10 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CPlayer" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CPlayer": -/* 800AACB4 000A7C14 38 00 00 00 */ li r0, 0 -/* 800AACB8 000A7C18 90 03 00 04 */ stw r0, 4(r3) -/* 800AACBC 000A7C1C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CPhysicsActor" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR13CPhysicsActor": -/* 800AACC0 000A7C20 38 00 00 00 */ li r0, 0 -/* 800AACC4 000A7C24 90 03 00 04 */ stw r0, 4(r3) -/* 800AACC8 000A7C28 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR3CAi" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR3CAi": -/* 800AACCC 000A7C2C 38 00 00 00 */ li r0, 0 -/* 800AACD0 000A7C30 90 03 00 04 */ stw r0, 4(r3) -/* 800AACD4 000A7C34 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CPathCamera" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CPathCamera": -/* 800AACD8 000A7C38 38 00 00 00 */ li r0, 0 -/* 800AACDC 000A7C3C 90 03 00 04 */ stw r0, 4(r3) -/* 800AACE0 000A7C40 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CMetroidPrimeRelay" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CMetroidPrimeRelay": -/* 800AACE4 000A7C44 38 00 00 00 */ li r0, 0 -/* 800AACE8 000A7C48 90 03 00 04 */ stw r0, 4(r3) -/* 800AACEC 000A7C4C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR19CHUDBillboardEffect" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR19CHUDBillboardEffect": -/* 800AACF0 000A7C50 38 00 00 00 */ li r0, 0 -/* 800AACF4 000A7C54 90 03 00 04 */ stw r0, 4(r3) -/* 800AACF8 000A7C58 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CGameProjectile" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CGameProjectile": -/* 800AACFC 000A7C5C 38 00 00 00 */ li r0, 0 -/* 800AAD00 000A7C60 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD04 000A7C64 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CGameLight" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CGameLight": -/* 800AAD08 000A7C68 38 00 00 00 */ li r0, 0 -/* 800AAD0C 000A7C6C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD10 000A7C70 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CGameCamera" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CGameCamera": -/* 800AAD14 000A7C74 38 00 00 00 */ li r0, 0 -/* 800AAD18 000A7C78 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD1C 000A7C7C 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CFishCloud" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CFishCloud": -/* 800AAD20 000A7C80 38 00 00 00 */ li r0, 0 -/* 800AAD24 000A7C84 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD28 000A7C88 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CFirstPersonCamera" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR18CFirstPersonCamera": -/* 800AAD2C 000A7C8C 38 00 00 00 */ li r0, 0 -/* 800AAD30 000A7C90 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD34 000A7C94 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CExplosion" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR10CExplosion": -/* 800AAD38 000A7C98 38 00 00 00 */ li r0, 0 -/* 800AAD3C 000A7C9C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD40 000A7CA0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CEntity" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR7CEntity": -/* 800AAD44 000A7CA4 38 00 00 00 */ li r0, 0 -/* 800AAD48 000A7CA8 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD4C 000A7CAC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CEnergyProjectile" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR17CEnergyProjectile": -/* 800AAD50 000A7CB0 38 00 00 00 */ li r0, 0 -/* 800AAD54 000A7CB4 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD58 000A7CB8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CDestroyableRock" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CDestroyableRock": -/* 800AAD5C 000A7CBC 38 00 00 00 */ li r0, 0 -/* 800AAD60 000A7CC0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD64 000A7CC4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CCollisionActor" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR15CCollisionActor": -/* 800AAD68 000A7CC8 38 00 00 00 */ li r0, 0 -/* 800AAD6C 000A7CCC 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD70 000A7CD0 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CCinematicCamera" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR16CCinematicCamera": -/* 800AAD74 000A7CD4 38 00 00 00 */ li r0, 0 -/* 800AAD78 000A7CD8 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD7C 000A7CDC 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR5CBomb" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR5CBomb": -/* 800AAD80 000A7CE0 38 00 00 00 */ li r0, 0 -/* 800AAD84 000A7CE4 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD88 000A7CE8 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CBallCamera" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR11CBallCamera": -/* 800AAD8C 000A7CEC 38 00 00 00 */ li r0, 0 -/* 800AAD90 000A7CF0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAD94 000A7CF4 4E 80 00 20 */ blr - -.global "Visit__35TCastToPtr<21CScriptCameraWaypoint>FR6CActor" -"Visit__35TCastToPtr<21CScriptCameraWaypoint>FR6CActor": -/* 800AAD98 000A7CF8 38 00 00 00 */ li r0, 0 -/* 800AAD9C 000A7CFC 90 03 00 04 */ stw r0, 4(r3) -/* 800AADA0 000A7D00 4E 80 00 20 */ blr - -.global "__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity" -"__ct__35TCastToPtr<21CScriptCameraWaypoint>FP7CEntity": -/* 800AADA4 000A7D04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AADA8 000A7D08 7C 08 02 A6 */ mflr r0 -/* 800AADAC 000A7D0C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AADB0 000A7D10 3C A0 80 3E */ lis r5, lbl_803DD66C@ha -/* 800AADB4 000A7D14 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AADB8 000A7D18 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AADBC 000A7D1C 28 04 00 00 */ cmplwi r4, 0 -/* 800AADC0 000A7D20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AADC4 000A7D24 7C 7F 1B 78 */ mr r31, r3 -/* 800AADC8 000A7D28 38 65 D6 6C */ addi r3, r5, lbl_803DD66C@l -/* 800AADCC 000A7D2C 90 1F 00 00 */ stw r0, 0(r31) -/* 800AADD0 000A7D30 38 00 00 00 */ li r0, 0 -/* 800AADD4 000A7D34 90 7F 00 00 */ stw r3, 0(r31) -/* 800AADD8 000A7D38 90 1F 00 04 */ stw r0, 4(r31) -/* 800AADDC 000A7D3C 41 82 00 1C */ beq lbl_800AADF8 -/* 800AADE0 000A7D40 7C 83 23 78 */ mr r3, r4 -/* 800AADE4 000A7D44 7F E4 FB 78 */ mr r4, r31 -/* 800AADE8 000A7D48 81 83 00 00 */ lwz r12, 0(r3) -/* 800AADEC 000A7D4C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AADF0 000A7D50 7D 89 03 A6 */ mtctr r12 -/* 800AADF4 000A7D54 4E 80 04 21 */ bctrl -lbl_800AADF8: -/* 800AADF8 000A7D58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AADFC 000A7D5C 7F E3 FB 78 */ mr r3, r31 -/* 800AAE00 000A7D60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AAE04 000A7D64 7C 08 03 A6 */ mtlr r0 -/* 800AAE08 000A7D68 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AAE0C 000A7D6C 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CWeapon" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CWeapon": -/* 800AAE10 000A7D70 38 00 00 00 */ li r0, 0 -/* 800AAE14 000A7D74 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE18 000A7D78 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CWallCrawlerSwarm" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CWallCrawlerSwarm": -/* 800AAE1C 000A7D7C 38 00 00 00 */ li r0, 0 -/* 800AAE20 000A7D80 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE24 000A7D84 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptSpindleCamera" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptSpindleCamera": -/* 800AAE28 000A7D88 38 00 00 00 */ li r0, 0 -/* 800AAE2C 000A7D8C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE30 000A7D90 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CSnakeWeedSwarm" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CSnakeWeedSwarm": -/* 800AAE34 000A7D94 38 00 00 00 */ li r0, 0 -/* 800AAE38 000A7D98 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE3C 000A7D9C 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptWaypoint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptWaypoint": -/* 800AAE40 000A7DA0 38 00 00 00 */ li r0, 0 -/* 800AAE44 000A7DA4 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE48 000A7DA8 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptWater" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptWater": -/* 800AAE4C 000A7DAC 38 00 00 00 */ li r0, 0 -/* 800AAE50 000A7DB0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE54 000A7DB4 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptVisorFlare" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptVisorFlare": -/* 800AAE58 000A7DB8 38 00 00 00 */ li r0, 0 -/* 800AAE5C 000A7DBC 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE60 000A7DC0 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR14CScriptTrigger" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR14CScriptTrigger": -/* 800AAE64 000A7DC4 38 00 00 00 */ li r0, 0 -/* 800AAE68 000A7DC8 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE6C 000A7DCC 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptTimer" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptTimer": -/* 800AAE70 000A7DD0 38 00 00 00 */ li r0, 0 -/* 800AAE74 000A7DD4 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE78 000A7DD8 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CTeamAiMgr" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CTeamAiMgr": -/* 800AAE7C 000A7DDC 38 00 00 00 */ li r0, 0 -/* 800AAE80 000A7DE0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE84 000A7DE4 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR21CScriptTargetingPoint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR21CScriptTargetingPoint": -/* 800AAE88 000A7DE8 38 00 00 00 */ li r0, 0 -/* 800AAE8C 000A7DEC 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE90 000A7DF0 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR25CScriptSpiderBallWaypoint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR25CScriptSpiderBallWaypoint": -/* 800AAE94 000A7DF4 38 00 00 00 */ li r0, 0 -/* 800AAE98 000A7DF8 90 03 00 04 */ stw r0, 4(r3) -/* 800AAE9C 000A7DFC 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR34CScriptSpiderBallAttractionSurface" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR34CScriptSpiderBallAttractionSurface": -/* 800AAEA0 000A7E00 38 00 00 00 */ li r0, 0 -/* 800AAEA4 000A7E04 90 03 00 04 */ stw r0, 4(r3) -/* 800AAEA8 000A7E08 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR22CScriptSpecialFunction" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR22CScriptSpecialFunction": -/* 800AAEAC 000A7E0C 38 00 00 00 */ li r0, 0 -/* 800AAEB0 000A7E10 90 03 00 04 */ stw r0, 4(r3) -/* 800AAEB4 000A7E14 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptSpawnPoint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptSpawnPoint": -/* 800AAEB8 000A7E18 38 00 00 00 */ li r0, 0 -/* 800AAEBC 000A7E1C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAEC0 000A7E20 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptSound" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptSound": -/* 800AAEC4 000A7E24 38 00 00 00 */ li r0, 0 -/* 800AAEC8 000A7E28 90 03 00 04 */ stw r0, 4(r3) -/* 800AAECC 000A7E2C 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptRoomAcoustics" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptRoomAcoustics": -/* 800AAED0 000A7E30 38 00 00 00 */ li r0, 0 -/* 800AAED4 000A7E34 90 03 00 04 */ stw r0, 4(r3) -/* 800AAED8 000A7E38 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR22CScriptPointOfinterest" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR22CScriptPointOfinterest": -/* 800AAEDC 000A7E3C 38 00 00 00 */ li r0, 0 -/* 800AAEE0 000A7E40 90 03 00 04 */ stw r0, 4(r3) -/* 800AAEE4 000A7E44 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptPlayerHint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptPlayerHint": -/* 800AAEE8 000A7E48 38 00 00 00 */ li r0, 0 -/* 800AAEEC 000A7E4C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAEF0 000A7E50 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptPlatform" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptPlatform": -/* 800AAEF4 000A7E54 38 00 00 00 */ li r0, 0 -/* 800AAEF8 000A7E58 90 03 00 04 */ stw r0, 4(r3) -/* 800AAEFC 000A7E5C 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CScriptPickup" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CScriptPickup": -/* 800AAF00 000A7E60 38 00 00 00 */ li r0, 0 -/* 800AAF04 000A7E64 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF08 000A7E68 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptMazeNode" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CScriptMazeNode": -/* 800AAF0C 000A7E6C 38 00 00 00 */ li r0, 0 -/* 800AAF10 000A7E70 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF14 000A7E74 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CScriptGunTurret" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CScriptGunTurret": -/* 800AAF18 000A7E78 38 00 00 00 */ li r0, 0 -/* 800AAF1C 000A7E7C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF20 000A7E80 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR19CScriptGrapplePoint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR19CScriptGrapplePoint": -/* 800AAF24 000A7E84 38 00 00 00 */ li r0, 0 -/* 800AAF28 000A7E88 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF2C 000A7E8C 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CScriptEffect" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CScriptEffect": -/* 800AAF30 000A7E90 38 00 00 00 */ li r0, 0 -/* 800AAF34 000A7E94 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF38 000A7E98 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CScriptDoor" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CScriptDoor": -/* 800AAF3C 000A7E9C 38 00 00 00 */ li r0, 0 -/* 800AAF40 000A7EA0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF44 000A7EA4 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CScriptDock" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CScriptDock": -/* 800AAF48 000A7EA8 38 00 00 00 */ li r0, 0 -/* 800AAF4C 000A7EAC 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF50 000A7EB0 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CScriptDistanceFog" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CScriptDistanceFog": -/* 800AAF54 000A7EB4 38 00 00 00 */ li r0, 0 -/* 800AAF58 000A7EB8 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF5C 000A7EBC 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR26CScriptDebugCameraWaypoint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR26CScriptDebugCameraWaypoint": -/* 800AAF60 000A7EC0 38 00 00 00 */ li r0, 0 -/* 800AAF64 000A7EC4 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF68 000A7EC8 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptCoverPoint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptCoverPoint": -/* 800AAF6C 000A7ECC 38 00 00 00 */ li r0, 0 -/* 800AAF70 000A7ED0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF74 000A7ED4 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR21CScriptCameraWaypoint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR21CScriptCameraWaypoint": -/* 800AAF78 000A7ED8 38 00 00 00 */ li r0, 0 -/* 800AAF7C 000A7EDC 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF80 000A7EE0 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR24CScriptCameraPitchVolume" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR24CScriptCameraPitchVolume": -/* 800AAF84 000A7EE4 90 83 00 04 */ stw r4, 4(r3) -/* 800AAF88 000A7EE8 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptCameraHint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CScriptCameraHint": -/* 800AAF8C 000A7EEC 38 00 00 00 */ li r0, 0 -/* 800AAF90 000A7EF0 90 03 00 04 */ stw r0, 4(r3) -/* 800AAF94 000A7EF4 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CScriptAiJumpPoint" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CScriptAiJumpPoint": -/* 800AAF98 000A7EF8 38 00 00 00 */ li r0, 0 -/* 800AAF9C 000A7EFC 90 03 00 04 */ stw r0, 4(r3) -/* 800AAFA0 000A7F00 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptActorKeyframe" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR20CScriptActorKeyframe": -/* 800AAFA4 000A7F04 38 00 00 00 */ li r0, 0 -/* 800AAFA8 000A7F08 90 03 00 04 */ stw r0, 4(r3) -/* 800AAFAC 000A7F0C 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptActor" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR12CScriptActor": -/* 800AAFB0 000A7F10 38 00 00 00 */ li r0, 0 -/* 800AAFB4 000A7F14 90 03 00 04 */ stw r0, 4(r3) -/* 800AAFB8 000A7F18 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR9CRepulsor" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR9CRepulsor": -/* 800AAFBC 000A7F1C 38 00 00 00 */ li r0, 0 -/* 800AAFC0 000A7F20 90 03 00 04 */ stw r0, 4(r3) -/* 800AAFC4 000A7F24 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CPlayer" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CPlayer": -/* 800AAFC8 000A7F28 38 00 00 00 */ li r0, 0 -/* 800AAFCC 000A7F2C 90 03 00 04 */ stw r0, 4(r3) -/* 800AAFD0 000A7F30 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CPhysicsActor" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR13CPhysicsActor": -/* 800AAFD4 000A7F34 38 00 00 00 */ li r0, 0 -/* 800AAFD8 000A7F38 90 03 00 04 */ stw r0, 4(r3) -/* 800AAFDC 000A7F3C 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR3CAi" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR3CAi": -/* 800AAFE0 000A7F40 38 00 00 00 */ li r0, 0 -/* 800AAFE4 000A7F44 90 03 00 04 */ stw r0, 4(r3) -/* 800AAFE8 000A7F48 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CPathCamera" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CPathCamera": -/* 800AAFEC 000A7F4C 38 00 00 00 */ li r0, 0 -/* 800AAFF0 000A7F50 90 03 00 04 */ stw r0, 4(r3) -/* 800AAFF4 000A7F54 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CMetroidPrimeRelay" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CMetroidPrimeRelay": -/* 800AAFF8 000A7F58 38 00 00 00 */ li r0, 0 -/* 800AAFFC 000A7F5C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB000 000A7F60 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR19CHUDBillboardEffect" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR19CHUDBillboardEffect": -/* 800AB004 000A7F64 38 00 00 00 */ li r0, 0 -/* 800AB008 000A7F68 90 03 00 04 */ stw r0, 4(r3) -/* 800AB00C 000A7F6C 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CGameProjectile" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CGameProjectile": -/* 800AB010 000A7F70 38 00 00 00 */ li r0, 0 -/* 800AB014 000A7F74 90 03 00 04 */ stw r0, 4(r3) -/* 800AB018 000A7F78 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CGameLight" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CGameLight": -/* 800AB01C 000A7F7C 38 00 00 00 */ li r0, 0 -/* 800AB020 000A7F80 90 03 00 04 */ stw r0, 4(r3) -/* 800AB024 000A7F84 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CGameCamera" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CGameCamera": -/* 800AB028 000A7F88 38 00 00 00 */ li r0, 0 -/* 800AB02C 000A7F8C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB030 000A7F90 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CFishCloud" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CFishCloud": -/* 800AB034 000A7F94 38 00 00 00 */ li r0, 0 -/* 800AB038 000A7F98 90 03 00 04 */ stw r0, 4(r3) -/* 800AB03C 000A7F9C 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CFirstPersonCamera" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR18CFirstPersonCamera": -/* 800AB040 000A7FA0 38 00 00 00 */ li r0, 0 -/* 800AB044 000A7FA4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB048 000A7FA8 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CExplosion" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR10CExplosion": -/* 800AB04C 000A7FAC 38 00 00 00 */ li r0, 0 -/* 800AB050 000A7FB0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB054 000A7FB4 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CEntity" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR7CEntity": -/* 800AB058 000A7FB8 38 00 00 00 */ li r0, 0 -/* 800AB05C 000A7FBC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB060 000A7FC0 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CEnergyProjectile" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR17CEnergyProjectile": -/* 800AB064 000A7FC4 38 00 00 00 */ li r0, 0 -/* 800AB068 000A7FC8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB06C 000A7FCC 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CDestroyableRock" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CDestroyableRock": -/* 800AB070 000A7FD0 38 00 00 00 */ li r0, 0 -/* 800AB074 000A7FD4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB078 000A7FD8 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CCollisionActor" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR15CCollisionActor": -/* 800AB07C 000A7FDC 38 00 00 00 */ li r0, 0 -/* 800AB080 000A7FE0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB084 000A7FE4 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CCinematicCamera" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR16CCinematicCamera": -/* 800AB088 000A7FE8 38 00 00 00 */ li r0, 0 -/* 800AB08C 000A7FEC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB090 000A7FF0 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR5CBomb" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR5CBomb": -/* 800AB094 000A7FF4 38 00 00 00 */ li r0, 0 -/* 800AB098 000A7FF8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB09C 000A7FFC 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CBallCamera" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR11CBallCamera": -/* 800AB0A0 000A8000 38 00 00 00 */ li r0, 0 -/* 800AB0A4 000A8004 90 03 00 04 */ stw r0, 4(r3) -/* 800AB0A8 000A8008 4E 80 00 20 */ blr - -.global "Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR6CActor" -"Visit__38TCastToPtr<24CScriptCameraPitchVolume>FR6CActor": -/* 800AB0AC 000A800C 38 00 00 00 */ li r0, 0 -/* 800AB0B0 000A8010 90 03 00 04 */ stw r0, 4(r3) -/* 800AB0B4 000A8014 4E 80 00 20 */ blr - -.global "__ct__38TCastToPtr<24CScriptCameraPitchVolume>FP7CEntity" -"__ct__38TCastToPtr<24CScriptCameraPitchVolume>FP7CEntity": -/* 800AB0B8 000A8018 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AB0BC 000A801C 7C 08 02 A6 */ mflr r0 -/* 800AB0C0 000A8020 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AB0C4 000A8024 3C A0 80 3E */ lis r5, lbl_803DD580@ha -/* 800AB0C8 000A8028 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AB0CC 000A802C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AB0D0 000A8030 28 04 00 00 */ cmplwi r4, 0 -/* 800AB0D4 000A8034 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AB0D8 000A8038 7C 7F 1B 78 */ mr r31, r3 -/* 800AB0DC 000A803C 38 65 D5 80 */ addi r3, r5, lbl_803DD580@l -/* 800AB0E0 000A8040 90 1F 00 00 */ stw r0, 0(r31) -/* 800AB0E4 000A8044 38 00 00 00 */ li r0, 0 -/* 800AB0E8 000A8048 90 7F 00 00 */ stw r3, 0(r31) -/* 800AB0EC 000A804C 90 1F 00 04 */ stw r0, 4(r31) -/* 800AB0F0 000A8050 41 82 00 1C */ beq lbl_800AB10C -/* 800AB0F4 000A8054 7C 83 23 78 */ mr r3, r4 -/* 800AB0F8 000A8058 7F E4 FB 78 */ mr r4, r31 -/* 800AB0FC 000A805C 81 83 00 00 */ lwz r12, 0(r3) -/* 800AB100 000A8060 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AB104 000A8064 7D 89 03 A6 */ mtctr r12 -/* 800AB108 000A8068 4E 80 04 21 */ bctrl -lbl_800AB10C: -/* 800AB10C 000A806C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AB110 000A8070 7F E3 FB 78 */ mr r3, r31 -/* 800AB114 000A8074 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AB118 000A8078 7C 08 03 A6 */ mtlr r0 -/* 800AB11C 000A807C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AB120 000A8080 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR7CWeapon" -"Visit__31TCastToPtr<17CScriptCameraHint>FR7CWeapon": -/* 800AB124 000A8084 38 00 00 00 */ li r0, 0 -/* 800AB128 000A8088 90 03 00 04 */ stw r0, 4(r3) -/* 800AB12C 000A808C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CWallCrawlerSwarm" -"Visit__31TCastToPtr<17CScriptCameraHint>FR17CWallCrawlerSwarm": -/* 800AB130 000A8090 38 00 00 00 */ li r0, 0 -/* 800AB134 000A8094 90 03 00 04 */ stw r0, 4(r3) -/* 800AB138 000A8098 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptSpindleCamera" -"Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptSpindleCamera": -/* 800AB13C 000A809C 38 00 00 00 */ li r0, 0 -/* 800AB140 000A80A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB144 000A80A4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CSnakeWeedSwarm" -"Visit__31TCastToPtr<17CScriptCameraHint>FR15CSnakeWeedSwarm": -/* 800AB148 000A80A8 38 00 00 00 */ li r0, 0 -/* 800AB14C 000A80AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB150 000A80B0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptWaypoint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptWaypoint": -/* 800AB154 000A80B4 38 00 00 00 */ li r0, 0 -/* 800AB158 000A80B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB15C 000A80BC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptWater" -"Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptWater": -/* 800AB160 000A80C0 38 00 00 00 */ li r0, 0 -/* 800AB164 000A80C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB168 000A80C8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptVisorFlare" -"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptVisorFlare": -/* 800AB16C 000A80CC 38 00 00 00 */ li r0, 0 -/* 800AB170 000A80D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB174 000A80D4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR14CScriptTrigger" -"Visit__31TCastToPtr<17CScriptCameraHint>FR14CScriptTrigger": -/* 800AB178 000A80D8 38 00 00 00 */ li r0, 0 -/* 800AB17C 000A80DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB180 000A80E0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptTimer" -"Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptTimer": -/* 800AB184 000A80E4 38 00 00 00 */ li r0, 0 -/* 800AB188 000A80E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB18C 000A80EC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR10CTeamAiMgr" -"Visit__31TCastToPtr<17CScriptCameraHint>FR10CTeamAiMgr": -/* 800AB190 000A80F0 38 00 00 00 */ li r0, 0 -/* 800AB194 000A80F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB198 000A80F8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR21CScriptTargetingPoint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR21CScriptTargetingPoint": -/* 800AB19C 000A80FC 38 00 00 00 */ li r0, 0 -/* 800AB1A0 000A8100 90 03 00 04 */ stw r0, 4(r3) -/* 800AB1A4 000A8104 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR25CScriptSpiderBallWaypoint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR25CScriptSpiderBallWaypoint": -/* 800AB1A8 000A8108 38 00 00 00 */ li r0, 0 -/* 800AB1AC 000A810C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB1B0 000A8110 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR34CScriptSpiderBallAttractionSurface" -"Visit__31TCastToPtr<17CScriptCameraHint>FR34CScriptSpiderBallAttractionSurface": -/* 800AB1B4 000A8114 38 00 00 00 */ li r0, 0 -/* 800AB1B8 000A8118 90 03 00 04 */ stw r0, 4(r3) -/* 800AB1BC 000A811C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR22CScriptSpecialFunction" -"Visit__31TCastToPtr<17CScriptCameraHint>FR22CScriptSpecialFunction": -/* 800AB1C0 000A8120 38 00 00 00 */ li r0, 0 -/* 800AB1C4 000A8124 90 03 00 04 */ stw r0, 4(r3) -/* 800AB1C8 000A8128 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptSpawnPoint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptSpawnPoint": -/* 800AB1CC 000A812C 38 00 00 00 */ li r0, 0 -/* 800AB1D0 000A8130 90 03 00 04 */ stw r0, 4(r3) -/* 800AB1D4 000A8134 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptSound" -"Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptSound": -/* 800AB1D8 000A8138 38 00 00 00 */ li r0, 0 -/* 800AB1DC 000A813C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB1E0 000A8140 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptRoomAcoustics" -"Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptRoomAcoustics": -/* 800AB1E4 000A8144 38 00 00 00 */ li r0, 0 -/* 800AB1E8 000A8148 90 03 00 04 */ stw r0, 4(r3) -/* 800AB1EC 000A814C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR22CScriptPointOfinterest" -"Visit__31TCastToPtr<17CScriptCameraHint>FR22CScriptPointOfinterest": -/* 800AB1F0 000A8150 38 00 00 00 */ li r0, 0 -/* 800AB1F4 000A8154 90 03 00 04 */ stw r0, 4(r3) -/* 800AB1F8 000A8158 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptPlayerHint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptPlayerHint": -/* 800AB1FC 000A815C 38 00 00 00 */ li r0, 0 -/* 800AB200 000A8160 90 03 00 04 */ stw r0, 4(r3) -/* 800AB204 000A8164 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptPlatform" -"Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptPlatform": -/* 800AB208 000A8168 38 00 00 00 */ li r0, 0 -/* 800AB20C 000A816C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB210 000A8170 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR13CScriptPickup" -"Visit__31TCastToPtr<17CScriptCameraHint>FR13CScriptPickup": -/* 800AB214 000A8174 38 00 00 00 */ li r0, 0 -/* 800AB218 000A8178 90 03 00 04 */ stw r0, 4(r3) -/* 800AB21C 000A817C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptMazeNode" -"Visit__31TCastToPtr<17CScriptCameraHint>FR15CScriptMazeNode": -/* 800AB220 000A8180 38 00 00 00 */ li r0, 0 -/* 800AB224 000A8184 90 03 00 04 */ stw r0, 4(r3) -/* 800AB228 000A8188 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR16CScriptGunTurret" -"Visit__31TCastToPtr<17CScriptCameraHint>FR16CScriptGunTurret": -/* 800AB22C 000A818C 38 00 00 00 */ li r0, 0 -/* 800AB230 000A8190 90 03 00 04 */ stw r0, 4(r3) -/* 800AB234 000A8194 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR19CScriptGrapplePoint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR19CScriptGrapplePoint": -/* 800AB238 000A8198 38 00 00 00 */ li r0, 0 -/* 800AB23C 000A819C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB240 000A81A0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR13CScriptEffect" -"Visit__31TCastToPtr<17CScriptCameraHint>FR13CScriptEffect": -/* 800AB244 000A81A4 38 00 00 00 */ li r0, 0 -/* 800AB248 000A81A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB24C 000A81AC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CScriptDoor" -"Visit__31TCastToPtr<17CScriptCameraHint>FR11CScriptDoor": -/* 800AB250 000A81B0 38 00 00 00 */ li r0, 0 -/* 800AB254 000A81B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB258 000A81B8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CScriptDock" -"Visit__31TCastToPtr<17CScriptCameraHint>FR11CScriptDock": -/* 800AB25C 000A81BC 38 00 00 00 */ li r0, 0 -/* 800AB260 000A81C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB264 000A81C4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR18CScriptDistanceFog" -"Visit__31TCastToPtr<17CScriptCameraHint>FR18CScriptDistanceFog": -/* 800AB268 000A81C8 38 00 00 00 */ li r0, 0 -/* 800AB26C 000A81CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB270 000A81D0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR26CScriptDebugCameraWaypoint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR26CScriptDebugCameraWaypoint": -/* 800AB274 000A81D4 38 00 00 00 */ li r0, 0 -/* 800AB278 000A81D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB27C 000A81DC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptCoverPoint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptCoverPoint": -/* 800AB280 000A81E0 38 00 00 00 */ li r0, 0 -/* 800AB284 000A81E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB288 000A81E8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR21CScriptCameraWaypoint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR21CScriptCameraWaypoint": -/* 800AB28C 000A81EC 38 00 00 00 */ li r0, 0 -/* 800AB290 000A81F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB294 000A81F4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR24CScriptCameraPitchVolume" -"Visit__31TCastToPtr<17CScriptCameraHint>FR24CScriptCameraPitchVolume": -/* 800AB298 000A81F8 38 00 00 00 */ li r0, 0 -/* 800AB29C 000A81FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB2A0 000A8200 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptCameraHint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR17CScriptCameraHint": -/* 800AB2A4 000A8204 90 83 00 04 */ stw r4, 4(r3) -/* 800AB2A8 000A8208 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR18CScriptAiJumpPoint" -"Visit__31TCastToPtr<17CScriptCameraHint>FR18CScriptAiJumpPoint": -/* 800AB2AC 000A820C 38 00 00 00 */ li r0, 0 -/* 800AB2B0 000A8210 90 03 00 04 */ stw r0, 4(r3) -/* 800AB2B4 000A8214 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptActorKeyframe" -"Visit__31TCastToPtr<17CScriptCameraHint>FR20CScriptActorKeyframe": -/* 800AB2B8 000A8218 38 00 00 00 */ li r0, 0 -/* 800AB2BC 000A821C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB2C0 000A8220 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptActor" -"Visit__31TCastToPtr<17CScriptCameraHint>FR12CScriptActor": -/* 800AB2C4 000A8224 38 00 00 00 */ li r0, 0 -/* 800AB2C8 000A8228 90 03 00 04 */ stw r0, 4(r3) -/* 800AB2CC 000A822C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR9CRepulsor" -"Visit__31TCastToPtr<17CScriptCameraHint>FR9CRepulsor": -/* 800AB2D0 000A8230 38 00 00 00 */ li r0, 0 -/* 800AB2D4 000A8234 90 03 00 04 */ stw r0, 4(r3) -/* 800AB2D8 000A8238 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR7CPlayer" -"Visit__31TCastToPtr<17CScriptCameraHint>FR7CPlayer": -/* 800AB2DC 000A823C 38 00 00 00 */ li r0, 0 -/* 800AB2E0 000A8240 90 03 00 04 */ stw r0, 4(r3) -/* 800AB2E4 000A8244 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR13CPhysicsActor" -"Visit__31TCastToPtr<17CScriptCameraHint>FR13CPhysicsActor": -/* 800AB2E8 000A8248 38 00 00 00 */ li r0, 0 -/* 800AB2EC 000A824C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB2F0 000A8250 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR3CAi" -"Visit__31TCastToPtr<17CScriptCameraHint>FR3CAi": -/* 800AB2F4 000A8254 38 00 00 00 */ li r0, 0 -/* 800AB2F8 000A8258 90 03 00 04 */ stw r0, 4(r3) -/* 800AB2FC 000A825C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CPathCamera" -"Visit__31TCastToPtr<17CScriptCameraHint>FR11CPathCamera": -/* 800AB300 000A8260 38 00 00 00 */ li r0, 0 -/* 800AB304 000A8264 90 03 00 04 */ stw r0, 4(r3) -/* 800AB308 000A8268 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR18CMetroidPrimeRelay" -"Visit__31TCastToPtr<17CScriptCameraHint>FR18CMetroidPrimeRelay": -/* 800AB30C 000A826C 38 00 00 00 */ li r0, 0 -/* 800AB310 000A8270 90 03 00 04 */ stw r0, 4(r3) -/* 800AB314 000A8274 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR19CHUDBillboardEffect" -"Visit__31TCastToPtr<17CScriptCameraHint>FR19CHUDBillboardEffect": -/* 800AB318 000A8278 38 00 00 00 */ li r0, 0 -/* 800AB31C 000A827C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB320 000A8280 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CGameProjectile" -"Visit__31TCastToPtr<17CScriptCameraHint>FR15CGameProjectile": -/* 800AB324 000A8284 38 00 00 00 */ li r0, 0 -/* 800AB328 000A8288 90 03 00 04 */ stw r0, 4(r3) -/* 800AB32C 000A828C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR10CGameLight" -"Visit__31TCastToPtr<17CScriptCameraHint>FR10CGameLight": -/* 800AB330 000A8290 38 00 00 00 */ li r0, 0 -/* 800AB334 000A8294 90 03 00 04 */ stw r0, 4(r3) -/* 800AB338 000A8298 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CGameCamera" -"Visit__31TCastToPtr<17CScriptCameraHint>FR11CGameCamera": -/* 800AB33C 000A829C 38 00 00 00 */ li r0, 0 -/* 800AB340 000A82A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB344 000A82A4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR10CFishCloud" -"Visit__31TCastToPtr<17CScriptCameraHint>FR10CFishCloud": -/* 800AB348 000A82A8 38 00 00 00 */ li r0, 0 -/* 800AB34C 000A82AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB350 000A82B0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR18CFirstPersonCamera" -"Visit__31TCastToPtr<17CScriptCameraHint>FR18CFirstPersonCamera": -/* 800AB354 000A82B4 38 00 00 00 */ li r0, 0 -/* 800AB358 000A82B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB35C 000A82BC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR10CExplosion" -"Visit__31TCastToPtr<17CScriptCameraHint>FR10CExplosion": -/* 800AB360 000A82C0 38 00 00 00 */ li r0, 0 -/* 800AB364 000A82C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB368 000A82C8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR7CEntity" -"Visit__31TCastToPtr<17CScriptCameraHint>FR7CEntity": -/* 800AB36C 000A82CC 38 00 00 00 */ li r0, 0 -/* 800AB370 000A82D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB374 000A82D4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR17CEnergyProjectile" -"Visit__31TCastToPtr<17CScriptCameraHint>FR17CEnergyProjectile": -/* 800AB378 000A82D8 38 00 00 00 */ li r0, 0 -/* 800AB37C 000A82DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB380 000A82E0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR16CDestroyableRock" -"Visit__31TCastToPtr<17CScriptCameraHint>FR16CDestroyableRock": -/* 800AB384 000A82E4 38 00 00 00 */ li r0, 0 -/* 800AB388 000A82E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB38C 000A82EC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR15CCollisionActor" -"Visit__31TCastToPtr<17CScriptCameraHint>FR15CCollisionActor": -/* 800AB390 000A82F0 38 00 00 00 */ li r0, 0 -/* 800AB394 000A82F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB398 000A82F8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR16CCinematicCamera" -"Visit__31TCastToPtr<17CScriptCameraHint>FR16CCinematicCamera": -/* 800AB39C 000A82FC 38 00 00 00 */ li r0, 0 -/* 800AB3A0 000A8300 90 03 00 04 */ stw r0, 4(r3) -/* 800AB3A4 000A8304 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR5CBomb" -"Visit__31TCastToPtr<17CScriptCameraHint>FR5CBomb": -/* 800AB3A8 000A8308 38 00 00 00 */ li r0, 0 -/* 800AB3AC 000A830C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB3B0 000A8310 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR11CBallCamera" -"Visit__31TCastToPtr<17CScriptCameraHint>FR11CBallCamera": -/* 800AB3B4 000A8314 38 00 00 00 */ li r0, 0 -/* 800AB3B8 000A8318 90 03 00 04 */ stw r0, 4(r3) -/* 800AB3BC 000A831C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CScriptCameraHint>FR6CActor" -"Visit__31TCastToPtr<17CScriptCameraHint>FR6CActor": -/* 800AB3C0 000A8320 38 00 00 00 */ li r0, 0 -/* 800AB3C4 000A8324 90 03 00 04 */ stw r0, 4(r3) -/* 800AB3C8 000A8328 4E 80 00 20 */ blr - -.global "__ct__31TCastToPtr<17CScriptCameraHint>FP7CEntity" -"__ct__31TCastToPtr<17CScriptCameraHint>FP7CEntity": -/* 800AB3CC 000A832C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AB3D0 000A8330 7C 08 02 A6 */ mflr r0 -/* 800AB3D4 000A8334 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AB3D8 000A8338 3C A0 80 3E */ lis r5, lbl_803DD494@ha -/* 800AB3DC 000A833C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AB3E0 000A8340 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AB3E4 000A8344 28 04 00 00 */ cmplwi r4, 0 -/* 800AB3E8 000A8348 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AB3EC 000A834C 7C 7F 1B 78 */ mr r31, r3 -/* 800AB3F0 000A8350 38 65 D4 94 */ addi r3, r5, lbl_803DD494@l -/* 800AB3F4 000A8354 90 1F 00 00 */ stw r0, 0(r31) -/* 800AB3F8 000A8358 38 00 00 00 */ li r0, 0 -/* 800AB3FC 000A835C 90 7F 00 00 */ stw r3, 0(r31) -/* 800AB400 000A8360 90 1F 00 04 */ stw r0, 4(r31) -/* 800AB404 000A8364 41 82 00 1C */ beq lbl_800AB420 -/* 800AB408 000A8368 7C 83 23 78 */ mr r3, r4 -/* 800AB40C 000A836C 7F E4 FB 78 */ mr r4, r31 -/* 800AB410 000A8370 81 83 00 00 */ lwz r12, 0(r3) -/* 800AB414 000A8374 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AB418 000A8378 7D 89 03 A6 */ mtctr r12 -/* 800AB41C 000A837C 4E 80 04 21 */ bctrl -lbl_800AB420: -/* 800AB420 000A8380 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AB424 000A8384 7F E3 FB 78 */ mr r3, r31 -/* 800AB428 000A8388 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AB42C 000A838C 7C 08 03 A6 */ mtlr r0 -/* 800AB430 000A8390 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AB434 000A8394 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CWeapon" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CWeapon": -/* 800AB438 000A8398 38 00 00 00 */ li r0, 0 -/* 800AB43C 000A839C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB440 000A83A0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CWallCrawlerSwarm" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CWallCrawlerSwarm": -/* 800AB444 000A83A4 38 00 00 00 */ li r0, 0 -/* 800AB448 000A83A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB44C 000A83AC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptSpindleCamera" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptSpindleCamera": -/* 800AB450 000A83B0 38 00 00 00 */ li r0, 0 -/* 800AB454 000A83B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB458 000A83B8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CSnakeWeedSwarm" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CSnakeWeedSwarm": -/* 800AB45C 000A83BC 38 00 00 00 */ li r0, 0 -/* 800AB460 000A83C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB464 000A83C4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptWaypoint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptWaypoint": -/* 800AB468 000A83C8 38 00 00 00 */ li r0, 0 -/* 800AB46C 000A83CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB470 000A83D0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptWater" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptWater": -/* 800AB474 000A83D4 38 00 00 00 */ li r0, 0 -/* 800AB478 000A83D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB47C 000A83DC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptVisorFlare" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptVisorFlare": -/* 800AB480 000A83E0 38 00 00 00 */ li r0, 0 -/* 800AB484 000A83E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB488 000A83E8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR14CScriptTrigger" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR14CScriptTrigger": -/* 800AB48C 000A83EC 38 00 00 00 */ li r0, 0 -/* 800AB490 000A83F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB494 000A83F4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptTimer" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptTimer": -/* 800AB498 000A83F8 38 00 00 00 */ li r0, 0 -/* 800AB49C 000A83FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB4A0 000A8400 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CTeamAiMgr" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CTeamAiMgr": -/* 800AB4A4 000A8404 38 00 00 00 */ li r0, 0 -/* 800AB4A8 000A8408 90 03 00 04 */ stw r0, 4(r3) -/* 800AB4AC 000A840C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR21CScriptTargetingPoint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR21CScriptTargetingPoint": -/* 800AB4B0 000A8410 38 00 00 00 */ li r0, 0 -/* 800AB4B4 000A8414 90 03 00 04 */ stw r0, 4(r3) -/* 800AB4B8 000A8418 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR25CScriptSpiderBallWaypoint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR25CScriptSpiderBallWaypoint": -/* 800AB4BC 000A841C 38 00 00 00 */ li r0, 0 -/* 800AB4C0 000A8420 90 03 00 04 */ stw r0, 4(r3) -/* 800AB4C4 000A8424 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR34CScriptSpiderBallAttractionSurface" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR34CScriptSpiderBallAttractionSurface": -/* 800AB4C8 000A8428 38 00 00 00 */ li r0, 0 -/* 800AB4CC 000A842C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB4D0 000A8430 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR22CScriptSpecialFunction" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR22CScriptSpecialFunction": -/* 800AB4D4 000A8434 38 00 00 00 */ li r0, 0 -/* 800AB4D8 000A8438 90 03 00 04 */ stw r0, 4(r3) -/* 800AB4DC 000A843C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptSpawnPoint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptSpawnPoint": -/* 800AB4E0 000A8440 38 00 00 00 */ li r0, 0 -/* 800AB4E4 000A8444 90 03 00 04 */ stw r0, 4(r3) -/* 800AB4E8 000A8448 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptSound" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptSound": -/* 800AB4EC 000A844C 38 00 00 00 */ li r0, 0 -/* 800AB4F0 000A8450 90 03 00 04 */ stw r0, 4(r3) -/* 800AB4F4 000A8454 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptRoomAcoustics" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptRoomAcoustics": -/* 800AB4F8 000A8458 38 00 00 00 */ li r0, 0 -/* 800AB4FC 000A845C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB500 000A8460 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR22CScriptPointOfinterest" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR22CScriptPointOfinterest": -/* 800AB504 000A8464 38 00 00 00 */ li r0, 0 -/* 800AB508 000A8468 90 03 00 04 */ stw r0, 4(r3) -/* 800AB50C 000A846C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptPlayerHint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptPlayerHint": -/* 800AB510 000A8470 38 00 00 00 */ li r0, 0 -/* 800AB514 000A8474 90 03 00 04 */ stw r0, 4(r3) -/* 800AB518 000A8478 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptPlatform" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptPlatform": -/* 800AB51C 000A847C 38 00 00 00 */ li r0, 0 -/* 800AB520 000A8480 90 03 00 04 */ stw r0, 4(r3) -/* 800AB524 000A8484 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CScriptPickup" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CScriptPickup": -/* 800AB528 000A8488 38 00 00 00 */ li r0, 0 -/* 800AB52C 000A848C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB530 000A8490 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptMazeNode" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CScriptMazeNode": -/* 800AB534 000A8494 38 00 00 00 */ li r0, 0 -/* 800AB538 000A8498 90 03 00 04 */ stw r0, 4(r3) -/* 800AB53C 000A849C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CScriptGunTurret" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CScriptGunTurret": -/* 800AB540 000A84A0 38 00 00 00 */ li r0, 0 -/* 800AB544 000A84A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB548 000A84A8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR19CScriptGrapplePoint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR19CScriptGrapplePoint": -/* 800AB54C 000A84AC 38 00 00 00 */ li r0, 0 -/* 800AB550 000A84B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB554 000A84B4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CScriptEffect" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CScriptEffect": -/* 800AB558 000A84B8 38 00 00 00 */ li r0, 0 -/* 800AB55C 000A84BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB560 000A84C0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CScriptDoor" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CScriptDoor": -/* 800AB564 000A84C4 38 00 00 00 */ li r0, 0 -/* 800AB568 000A84C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB56C 000A84CC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CScriptDock" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CScriptDock": -/* 800AB570 000A84D0 38 00 00 00 */ li r0, 0 -/* 800AB574 000A84D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB578 000A84D8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CScriptDistanceFog" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CScriptDistanceFog": -/* 800AB57C 000A84DC 38 00 00 00 */ li r0, 0 -/* 800AB580 000A84E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB584 000A84E4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR26CScriptDebugCameraWaypoint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR26CScriptDebugCameraWaypoint": -/* 800AB588 000A84E8 38 00 00 00 */ li r0, 0 -/* 800AB58C 000A84EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB590 000A84F0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptCoverPoint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptCoverPoint": -/* 800AB594 000A84F4 38 00 00 00 */ li r0, 0 -/* 800AB598 000A84F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB59C 000A84FC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR21CScriptCameraWaypoint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR21CScriptCameraWaypoint": -/* 800AB5A0 000A8500 38 00 00 00 */ li r0, 0 -/* 800AB5A4 000A8504 90 03 00 04 */ stw r0, 4(r3) -/* 800AB5A8 000A8508 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR24CScriptCameraPitchVolume" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR24CScriptCameraPitchVolume": -/* 800AB5AC 000A850C 38 00 00 00 */ li r0, 0 -/* 800AB5B0 000A8510 90 03 00 04 */ stw r0, 4(r3) -/* 800AB5B4 000A8514 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptCameraHint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CScriptCameraHint": -/* 800AB5B8 000A8518 38 00 00 00 */ li r0, 0 -/* 800AB5BC 000A851C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB5C0 000A8520 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CScriptAiJumpPoint" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CScriptAiJumpPoint": -/* 800AB5C4 000A8524 90 83 00 04 */ stw r4, 4(r3) -/* 800AB5C8 000A8528 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptActorKeyframe" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR20CScriptActorKeyframe": -/* 800AB5CC 000A852C 38 00 00 00 */ li r0, 0 -/* 800AB5D0 000A8530 90 03 00 04 */ stw r0, 4(r3) -/* 800AB5D4 000A8534 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptActor" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR12CScriptActor": -/* 800AB5D8 000A8538 38 00 00 00 */ li r0, 0 -/* 800AB5DC 000A853C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB5E0 000A8540 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR9CRepulsor" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR9CRepulsor": -/* 800AB5E4 000A8544 38 00 00 00 */ li r0, 0 -/* 800AB5E8 000A8548 90 03 00 04 */ stw r0, 4(r3) -/* 800AB5EC 000A854C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CPlayer" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CPlayer": -/* 800AB5F0 000A8550 38 00 00 00 */ li r0, 0 -/* 800AB5F4 000A8554 90 03 00 04 */ stw r0, 4(r3) -/* 800AB5F8 000A8558 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CPhysicsActor" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR13CPhysicsActor": -/* 800AB5FC 000A855C 38 00 00 00 */ li r0, 0 -/* 800AB600 000A8560 90 03 00 04 */ stw r0, 4(r3) -/* 800AB604 000A8564 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR3CAi" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR3CAi": -/* 800AB608 000A8568 38 00 00 00 */ li r0, 0 -/* 800AB60C 000A856C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB610 000A8570 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CPathCamera" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CPathCamera": -/* 800AB614 000A8574 38 00 00 00 */ li r0, 0 -/* 800AB618 000A8578 90 03 00 04 */ stw r0, 4(r3) -/* 800AB61C 000A857C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CMetroidPrimeRelay" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CMetroidPrimeRelay": -/* 800AB620 000A8580 38 00 00 00 */ li r0, 0 -/* 800AB624 000A8584 90 03 00 04 */ stw r0, 4(r3) -/* 800AB628 000A8588 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR19CHUDBillboardEffect" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR19CHUDBillboardEffect": -/* 800AB62C 000A858C 38 00 00 00 */ li r0, 0 -/* 800AB630 000A8590 90 03 00 04 */ stw r0, 4(r3) -/* 800AB634 000A8594 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CGameProjectile" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CGameProjectile": -/* 800AB638 000A8598 38 00 00 00 */ li r0, 0 -/* 800AB63C 000A859C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB640 000A85A0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CGameLight" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CGameLight": -/* 800AB644 000A85A4 38 00 00 00 */ li r0, 0 -/* 800AB648 000A85A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB64C 000A85AC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CGameCamera" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CGameCamera": -/* 800AB650 000A85B0 38 00 00 00 */ li r0, 0 -/* 800AB654 000A85B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB658 000A85B8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CFishCloud" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CFishCloud": -/* 800AB65C 000A85BC 38 00 00 00 */ li r0, 0 -/* 800AB660 000A85C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB664 000A85C4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CFirstPersonCamera" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR18CFirstPersonCamera": -/* 800AB668 000A85C8 38 00 00 00 */ li r0, 0 -/* 800AB66C 000A85CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB670 000A85D0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CExplosion" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR10CExplosion": -/* 800AB674 000A85D4 38 00 00 00 */ li r0, 0 -/* 800AB678 000A85D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB67C 000A85DC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CEntity" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR7CEntity": -/* 800AB680 000A85E0 38 00 00 00 */ li r0, 0 -/* 800AB684 000A85E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB688 000A85E8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CEnergyProjectile" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR17CEnergyProjectile": -/* 800AB68C 000A85EC 38 00 00 00 */ li r0, 0 -/* 800AB690 000A85F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB694 000A85F4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CDestroyableRock" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CDestroyableRock": -/* 800AB698 000A85F8 38 00 00 00 */ li r0, 0 -/* 800AB69C 000A85FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB6A0 000A8600 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CCollisionActor" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR15CCollisionActor": -/* 800AB6A4 000A8604 38 00 00 00 */ li r0, 0 -/* 800AB6A8 000A8608 90 03 00 04 */ stw r0, 4(r3) -/* 800AB6AC 000A860C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CCinematicCamera" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR16CCinematicCamera": -/* 800AB6B0 000A8610 38 00 00 00 */ li r0, 0 -/* 800AB6B4 000A8614 90 03 00 04 */ stw r0, 4(r3) -/* 800AB6B8 000A8618 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR5CBomb" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR5CBomb": -/* 800AB6BC 000A861C 38 00 00 00 */ li r0, 0 -/* 800AB6C0 000A8620 90 03 00 04 */ stw r0, 4(r3) -/* 800AB6C4 000A8624 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CBallCamera" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR11CBallCamera": -/* 800AB6C8 000A8628 38 00 00 00 */ li r0, 0 -/* 800AB6CC 000A862C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB6D0 000A8630 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CScriptAiJumpPoint>FR6CActor" -"Visit__32TCastToPtr<18CScriptAiJumpPoint>FR6CActor": -/* 800AB6D4 000A8634 38 00 00 00 */ li r0, 0 -/* 800AB6D8 000A8638 90 03 00 04 */ stw r0, 4(r3) -/* 800AB6DC 000A863C 4E 80 00 20 */ blr - -.global "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" -"__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity": -/* 800AB6E0 000A8640 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AB6E4 000A8644 7C 08 02 A6 */ mflr r0 -/* 800AB6E8 000A8648 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AB6EC 000A864C 3C A0 80 3E */ lis r5, lbl_803DD3A8@ha -/* 800AB6F0 000A8650 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AB6F4 000A8654 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AB6F8 000A8658 28 04 00 00 */ cmplwi r4, 0 -/* 800AB6FC 000A865C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AB700 000A8660 7C 7F 1B 78 */ mr r31, r3 -/* 800AB704 000A8664 38 65 D3 A8 */ addi r3, r5, lbl_803DD3A8@l -/* 800AB708 000A8668 90 1F 00 00 */ stw r0, 0(r31) -/* 800AB70C 000A866C 38 00 00 00 */ li r0, 0 -/* 800AB710 000A8670 90 7F 00 00 */ stw r3, 0(r31) -/* 800AB714 000A8674 90 1F 00 04 */ stw r0, 4(r31) -/* 800AB718 000A8678 41 82 00 1C */ beq lbl_800AB734 -/* 800AB71C 000A867C 7C 83 23 78 */ mr r3, r4 -/* 800AB720 000A8680 7F E4 FB 78 */ mr r4, r31 -/* 800AB724 000A8684 81 83 00 00 */ lwz r12, 0(r3) -/* 800AB728 000A8688 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AB72C 000A868C 7D 89 03 A6 */ mtctr r12 -/* 800AB730 000A8690 4E 80 04 21 */ bctrl -lbl_800AB734: -/* 800AB734 000A8694 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AB738 000A8698 7F E3 FB 78 */ mr r3, r31 -/* 800AB73C 000A869C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AB740 000A86A0 7C 08 03 A6 */ mtlr r0 -/* 800AB744 000A86A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AB748 000A86A8 4E 80 00 20 */ blr - -.global "__ct__32TCastToPtr<18CScriptAiJumpPoint>FR7CEntity" -"__ct__32TCastToPtr<18CScriptAiJumpPoint>FR7CEntity": -/* 800AB74C 000A86AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AB750 000A86B0 7C 08 02 A6 */ mflr r0 -/* 800AB754 000A86B4 3C A0 80 3E */ lis r5, lbl_803DD3A8@ha -/* 800AB758 000A86B8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AB75C 000A86BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AB760 000A86C0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AB764 000A86C4 38 A5 D3 A8 */ addi r5, r5, lbl_803DD3A8@l -/* 800AB768 000A86C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AB76C 000A86CC 7C 7F 1B 78 */ mr r31, r3 -/* 800AB770 000A86D0 90 03 00 00 */ stw r0, 0(r3) -/* 800AB774 000A86D4 7C 83 23 78 */ mr r3, r4 -/* 800AB778 000A86D8 38 00 00 00 */ li r0, 0 -/* 800AB77C 000A86DC 7F E4 FB 78 */ mr r4, r31 -/* 800AB780 000A86E0 90 BF 00 00 */ stw r5, 0(r31) -/* 800AB784 000A86E4 90 1F 00 04 */ stw r0, 4(r31) -/* 800AB788 000A86E8 81 83 00 00 */ lwz r12, 0(r3) -/* 800AB78C 000A86EC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AB790 000A86F0 7D 89 03 A6 */ mtctr r12 -/* 800AB794 000A86F4 4E 80 04 21 */ bctrl -/* 800AB798 000A86F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AB79C 000A86FC 7F E3 FB 78 */ mr r3, r31 -/* 800AB7A0 000A8700 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AB7A4 000A8704 7C 08 03 A6 */ mtlr r0 -/* 800AB7A8 000A8708 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AB7AC 000A870C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CWeapon" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CWeapon": -/* 800AB7B0 000A8710 38 00 00 00 */ li r0, 0 -/* 800AB7B4 000A8714 90 03 00 04 */ stw r0, 4(r3) -/* 800AB7B8 000A8718 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CWallCrawlerSwarm" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CWallCrawlerSwarm": -/* 800AB7BC 000A871C 38 00 00 00 */ li r0, 0 -/* 800AB7C0 000A8720 90 03 00 04 */ stw r0, 4(r3) -/* 800AB7C4 000A8724 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptSpindleCamera" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptSpindleCamera": -/* 800AB7C8 000A8728 38 00 00 00 */ li r0, 0 -/* 800AB7CC 000A872C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB7D0 000A8730 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CSnakeWeedSwarm" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CSnakeWeedSwarm": -/* 800AB7D4 000A8734 38 00 00 00 */ li r0, 0 -/* 800AB7D8 000A8738 90 03 00 04 */ stw r0, 4(r3) -/* 800AB7DC 000A873C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptWaypoint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptWaypoint": -/* 800AB7E0 000A8740 38 00 00 00 */ li r0, 0 -/* 800AB7E4 000A8744 90 03 00 04 */ stw r0, 4(r3) -/* 800AB7E8 000A8748 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptWater" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptWater": -/* 800AB7EC 000A874C 38 00 00 00 */ li r0, 0 -/* 800AB7F0 000A8750 90 03 00 04 */ stw r0, 4(r3) -/* 800AB7F4 000A8754 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptVisorFlare" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptVisorFlare": -/* 800AB7F8 000A8758 38 00 00 00 */ li r0, 0 -/* 800AB7FC 000A875C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB800 000A8760 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR14CScriptTrigger" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR14CScriptTrigger": -/* 800AB804 000A8764 38 00 00 00 */ li r0, 0 -/* 800AB808 000A8768 90 03 00 04 */ stw r0, 4(r3) -/* 800AB80C 000A876C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptTimer" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptTimer": -/* 800AB810 000A8770 38 00 00 00 */ li r0, 0 -/* 800AB814 000A8774 90 03 00 04 */ stw r0, 4(r3) -/* 800AB818 000A8778 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CTeamAiMgr" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CTeamAiMgr": -/* 800AB81C 000A877C 38 00 00 00 */ li r0, 0 -/* 800AB820 000A8780 90 03 00 04 */ stw r0, 4(r3) -/* 800AB824 000A8784 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR21CScriptTargetingPoint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR21CScriptTargetingPoint": -/* 800AB828 000A8788 38 00 00 00 */ li r0, 0 -/* 800AB82C 000A878C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB830 000A8790 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR25CScriptSpiderBallWaypoint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR25CScriptSpiderBallWaypoint": -/* 800AB834 000A8794 38 00 00 00 */ li r0, 0 -/* 800AB838 000A8798 90 03 00 04 */ stw r0, 4(r3) -/* 800AB83C 000A879C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR34CScriptSpiderBallAttractionSurface" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR34CScriptSpiderBallAttractionSurface": -/* 800AB840 000A87A0 38 00 00 00 */ li r0, 0 -/* 800AB844 000A87A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB848 000A87A8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR22CScriptSpecialFunction" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR22CScriptSpecialFunction": -/* 800AB84C 000A87AC 38 00 00 00 */ li r0, 0 -/* 800AB850 000A87B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB854 000A87B4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptSpawnPoint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptSpawnPoint": -/* 800AB858 000A87B8 38 00 00 00 */ li r0, 0 -/* 800AB85C 000A87BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB860 000A87C0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptSound" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptSound": -/* 800AB864 000A87C4 38 00 00 00 */ li r0, 0 -/* 800AB868 000A87C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB86C 000A87CC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptRoomAcoustics" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptRoomAcoustics": -/* 800AB870 000A87D0 38 00 00 00 */ li r0, 0 -/* 800AB874 000A87D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB878 000A87D8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR22CScriptPointOfinterest" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR22CScriptPointOfinterest": -/* 800AB87C 000A87DC 38 00 00 00 */ li r0, 0 -/* 800AB880 000A87E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB884 000A87E4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptPlayerHint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptPlayerHint": -/* 800AB888 000A87E8 38 00 00 00 */ li r0, 0 -/* 800AB88C 000A87EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB890 000A87F0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptPlatform" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptPlatform": -/* 800AB894 000A87F4 38 00 00 00 */ li r0, 0 -/* 800AB898 000A87F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB89C 000A87FC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CScriptPickup" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CScriptPickup": -/* 800AB8A0 000A8800 38 00 00 00 */ li r0, 0 -/* 800AB8A4 000A8804 90 03 00 04 */ stw r0, 4(r3) -/* 800AB8A8 000A8808 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptMazeNode" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CScriptMazeNode": -/* 800AB8AC 000A880C 38 00 00 00 */ li r0, 0 -/* 800AB8B0 000A8810 90 03 00 04 */ stw r0, 4(r3) -/* 800AB8B4 000A8814 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CScriptGunTurret" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CScriptGunTurret": -/* 800AB8B8 000A8818 38 00 00 00 */ li r0, 0 -/* 800AB8BC 000A881C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB8C0 000A8820 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR19CScriptGrapplePoint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR19CScriptGrapplePoint": -/* 800AB8C4 000A8824 38 00 00 00 */ li r0, 0 -/* 800AB8C8 000A8828 90 03 00 04 */ stw r0, 4(r3) -/* 800AB8CC 000A882C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CScriptEffect" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CScriptEffect": -/* 800AB8D0 000A8830 38 00 00 00 */ li r0, 0 -/* 800AB8D4 000A8834 90 03 00 04 */ stw r0, 4(r3) -/* 800AB8D8 000A8838 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CScriptDoor" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CScriptDoor": -/* 800AB8DC 000A883C 38 00 00 00 */ li r0, 0 -/* 800AB8E0 000A8840 90 03 00 04 */ stw r0, 4(r3) -/* 800AB8E4 000A8844 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CScriptDock" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CScriptDock": -/* 800AB8E8 000A8848 38 00 00 00 */ li r0, 0 -/* 800AB8EC 000A884C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB8F0 000A8850 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CScriptDistanceFog" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CScriptDistanceFog": -/* 800AB8F4 000A8854 38 00 00 00 */ li r0, 0 -/* 800AB8F8 000A8858 90 03 00 04 */ stw r0, 4(r3) -/* 800AB8FC 000A885C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR26CScriptDebugCameraWaypoint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR26CScriptDebugCameraWaypoint": -/* 800AB900 000A8860 38 00 00 00 */ li r0, 0 -/* 800AB904 000A8864 90 03 00 04 */ stw r0, 4(r3) -/* 800AB908 000A8868 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptCoverPoint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptCoverPoint": -/* 800AB90C 000A886C 38 00 00 00 */ li r0, 0 -/* 800AB910 000A8870 90 03 00 04 */ stw r0, 4(r3) -/* 800AB914 000A8874 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR21CScriptCameraWaypoint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR21CScriptCameraWaypoint": -/* 800AB918 000A8878 38 00 00 00 */ li r0, 0 -/* 800AB91C 000A887C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB920 000A8880 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR24CScriptCameraPitchVolume" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR24CScriptCameraPitchVolume": -/* 800AB924 000A8884 38 00 00 00 */ li r0, 0 -/* 800AB928 000A8888 90 03 00 04 */ stw r0, 4(r3) -/* 800AB92C 000A888C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptCameraHint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CScriptCameraHint": -/* 800AB930 000A8890 38 00 00 00 */ li r0, 0 -/* 800AB934 000A8894 90 03 00 04 */ stw r0, 4(r3) -/* 800AB938 000A8898 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CScriptAiJumpPoint" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CScriptAiJumpPoint": -/* 800AB93C 000A889C 38 00 00 00 */ li r0, 0 -/* 800AB940 000A88A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB944 000A88A4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptActorKeyframe" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR20CScriptActorKeyframe": -/* 800AB948 000A88A8 90 83 00 04 */ stw r4, 4(r3) -/* 800AB94C 000A88AC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptActor" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR12CScriptActor": -/* 800AB950 000A88B0 38 00 00 00 */ li r0, 0 -/* 800AB954 000A88B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB958 000A88B8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR9CRepulsor" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR9CRepulsor": -/* 800AB95C 000A88BC 38 00 00 00 */ li r0, 0 -/* 800AB960 000A88C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB964 000A88C4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CPlayer" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CPlayer": -/* 800AB968 000A88C8 38 00 00 00 */ li r0, 0 -/* 800AB96C 000A88CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB970 000A88D0 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CPhysicsActor" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR13CPhysicsActor": -/* 800AB974 000A88D4 38 00 00 00 */ li r0, 0 -/* 800AB978 000A88D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AB97C 000A88DC 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR3CAi" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR3CAi": -/* 800AB980 000A88E0 38 00 00 00 */ li r0, 0 -/* 800AB984 000A88E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AB988 000A88E8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CPathCamera" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CPathCamera": -/* 800AB98C 000A88EC 38 00 00 00 */ li r0, 0 -/* 800AB990 000A88F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AB994 000A88F4 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CMetroidPrimeRelay" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CMetroidPrimeRelay": -/* 800AB998 000A88F8 38 00 00 00 */ li r0, 0 -/* 800AB99C 000A88FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AB9A0 000A8900 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR19CHUDBillboardEffect" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR19CHUDBillboardEffect": -/* 800AB9A4 000A8904 38 00 00 00 */ li r0, 0 -/* 800AB9A8 000A8908 90 03 00 04 */ stw r0, 4(r3) -/* 800AB9AC 000A890C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CGameProjectile" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CGameProjectile": -/* 800AB9B0 000A8910 38 00 00 00 */ li r0, 0 -/* 800AB9B4 000A8914 90 03 00 04 */ stw r0, 4(r3) -/* 800AB9B8 000A8918 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CGameLight" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CGameLight": -/* 800AB9BC 000A891C 38 00 00 00 */ li r0, 0 -/* 800AB9C0 000A8920 90 03 00 04 */ stw r0, 4(r3) -/* 800AB9C4 000A8924 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CGameCamera" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CGameCamera": -/* 800AB9C8 000A8928 38 00 00 00 */ li r0, 0 -/* 800AB9CC 000A892C 90 03 00 04 */ stw r0, 4(r3) -/* 800AB9D0 000A8930 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CFishCloud" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CFishCloud": -/* 800AB9D4 000A8934 38 00 00 00 */ li r0, 0 -/* 800AB9D8 000A8938 90 03 00 04 */ stw r0, 4(r3) -/* 800AB9DC 000A893C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CFirstPersonCamera" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR18CFirstPersonCamera": -/* 800AB9E0 000A8940 38 00 00 00 */ li r0, 0 -/* 800AB9E4 000A8944 90 03 00 04 */ stw r0, 4(r3) -/* 800AB9E8 000A8948 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CExplosion" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR10CExplosion": -/* 800AB9EC 000A894C 38 00 00 00 */ li r0, 0 -/* 800AB9F0 000A8950 90 03 00 04 */ stw r0, 4(r3) -/* 800AB9F4 000A8954 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CEntity" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR7CEntity": -/* 800AB9F8 000A8958 38 00 00 00 */ li r0, 0 -/* 800AB9FC 000A895C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABA00 000A8960 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CEnergyProjectile" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR17CEnergyProjectile": -/* 800ABA04 000A8964 38 00 00 00 */ li r0, 0 -/* 800ABA08 000A8968 90 03 00 04 */ stw r0, 4(r3) -/* 800ABA0C 000A896C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CDestroyableRock" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CDestroyableRock": -/* 800ABA10 000A8970 38 00 00 00 */ li r0, 0 -/* 800ABA14 000A8974 90 03 00 04 */ stw r0, 4(r3) -/* 800ABA18 000A8978 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CCollisionActor" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR15CCollisionActor": -/* 800ABA1C 000A897C 38 00 00 00 */ li r0, 0 -/* 800ABA20 000A8980 90 03 00 04 */ stw r0, 4(r3) -/* 800ABA24 000A8984 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CCinematicCamera" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR16CCinematicCamera": -/* 800ABA28 000A8988 38 00 00 00 */ li r0, 0 -/* 800ABA2C 000A898C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABA30 000A8990 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR5CBomb" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR5CBomb": -/* 800ABA34 000A8994 38 00 00 00 */ li r0, 0 -/* 800ABA38 000A8998 90 03 00 04 */ stw r0, 4(r3) -/* 800ABA3C 000A899C 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CBallCamera" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR11CBallCamera": -/* 800ABA40 000A89A0 38 00 00 00 */ li r0, 0 -/* 800ABA44 000A89A4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABA48 000A89A8 4E 80 00 20 */ blr - -.global "Visit__34TCastToPtr<20CScriptActorKeyframe>FR6CActor" -"Visit__34TCastToPtr<20CScriptActorKeyframe>FR6CActor": -/* 800ABA4C 000A89AC 38 00 00 00 */ li r0, 0 -/* 800ABA50 000A89B0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABA54 000A89B4 4E 80 00 20 */ blr - -.global "__ct__34TCastToPtr<20CScriptActorKeyframe>FP7CEntity" -"__ct__34TCastToPtr<20CScriptActorKeyframe>FP7CEntity": -/* 800ABA58 000A89B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ABA5C 000A89BC 7C 08 02 A6 */ mflr r0 -/* 800ABA60 000A89C0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800ABA64 000A89C4 3C A0 80 3E */ lis r5, lbl_803DD2BC@ha -/* 800ABA68 000A89C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ABA6C 000A89CC 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800ABA70 000A89D0 28 04 00 00 */ cmplwi r4, 0 -/* 800ABA74 000A89D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ABA78 000A89D8 7C 7F 1B 78 */ mr r31, r3 -/* 800ABA7C 000A89DC 38 65 D2 BC */ addi r3, r5, lbl_803DD2BC@l -/* 800ABA80 000A89E0 90 1F 00 00 */ stw r0, 0(r31) -/* 800ABA84 000A89E4 38 00 00 00 */ li r0, 0 -/* 800ABA88 000A89E8 90 7F 00 00 */ stw r3, 0(r31) -/* 800ABA8C 000A89EC 90 1F 00 04 */ stw r0, 4(r31) -/* 800ABA90 000A89F0 41 82 00 1C */ beq lbl_800ABAAC -/* 800ABA94 000A89F4 7C 83 23 78 */ mr r3, r4 -/* 800ABA98 000A89F8 7F E4 FB 78 */ mr r4, r31 -/* 800ABA9C 000A89FC 81 83 00 00 */ lwz r12, 0(r3) -/* 800ABAA0 000A8A00 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ABAA4 000A8A04 7D 89 03 A6 */ mtctr r12 -/* 800ABAA8 000A8A08 4E 80 04 21 */ bctrl -lbl_800ABAAC: -/* 800ABAAC 000A8A0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ABAB0 000A8A10 7F E3 FB 78 */ mr r3, r31 -/* 800ABAB4 000A8A14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ABAB8 000A8A18 7C 08 03 A6 */ mtlr r0 -/* 800ABABC 000A8A1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ABAC0 000A8A20 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR7CWeapon" -"Visit__26TCastToPtr<12CScriptActor>FR7CWeapon": -/* 800ABAC4 000A8A24 38 00 00 00 */ li r0, 0 -/* 800ABAC8 000A8A28 90 03 00 04 */ stw r0, 4(r3) -/* 800ABACC 000A8A2C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR17CWallCrawlerSwarm" -"Visit__26TCastToPtr<12CScriptActor>FR17CWallCrawlerSwarm": -/* 800ABAD0 000A8A30 38 00 00 00 */ li r0, 0 -/* 800ABAD4 000A8A34 90 03 00 04 */ stw r0, 4(r3) -/* 800ABAD8 000A8A38 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR20CScriptSpindleCamera" -"Visit__26TCastToPtr<12CScriptActor>FR20CScriptSpindleCamera": -/* 800ABADC 000A8A3C 38 00 00 00 */ li r0, 0 -/* 800ABAE0 000A8A40 90 03 00 04 */ stw r0, 4(r3) -/* 800ABAE4 000A8A44 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR15CSnakeWeedSwarm" -"Visit__26TCastToPtr<12CScriptActor>FR15CSnakeWeedSwarm": -/* 800ABAE8 000A8A48 38 00 00 00 */ li r0, 0 -/* 800ABAEC 000A8A4C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABAF0 000A8A50 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR15CScriptWaypoint" -"Visit__26TCastToPtr<12CScriptActor>FR15CScriptWaypoint": -/* 800ABAF4 000A8A54 38 00 00 00 */ li r0, 0 -/* 800ABAF8 000A8A58 90 03 00 04 */ stw r0, 4(r3) -/* 800ABAFC 000A8A5C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR12CScriptWater" -"Visit__26TCastToPtr<12CScriptActor>FR12CScriptWater": -/* 800ABB00 000A8A60 38 00 00 00 */ li r0, 0 -/* 800ABB04 000A8A64 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB08 000A8A68 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptVisorFlare" -"Visit__26TCastToPtr<12CScriptActor>FR17CScriptVisorFlare": -/* 800ABB0C 000A8A6C 38 00 00 00 */ li r0, 0 -/* 800ABB10 000A8A70 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB14 000A8A74 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR14CScriptTrigger" -"Visit__26TCastToPtr<12CScriptActor>FR14CScriptTrigger": -/* 800ABB18 000A8A78 38 00 00 00 */ li r0, 0 -/* 800ABB1C 000A8A7C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB20 000A8A80 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR12CScriptTimer" -"Visit__26TCastToPtr<12CScriptActor>FR12CScriptTimer": -/* 800ABB24 000A8A84 38 00 00 00 */ li r0, 0 -/* 800ABB28 000A8A88 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB2C 000A8A8C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR10CTeamAiMgr" -"Visit__26TCastToPtr<12CScriptActor>FR10CTeamAiMgr": -/* 800ABB30 000A8A90 38 00 00 00 */ li r0, 0 -/* 800ABB34 000A8A94 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB38 000A8A98 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR21CScriptTargetingPoint" -"Visit__26TCastToPtr<12CScriptActor>FR21CScriptTargetingPoint": -/* 800ABB3C 000A8A9C 38 00 00 00 */ li r0, 0 -/* 800ABB40 000A8AA0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB44 000A8AA4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR25CScriptSpiderBallWaypoint" -"Visit__26TCastToPtr<12CScriptActor>FR25CScriptSpiderBallWaypoint": -/* 800ABB48 000A8AA8 38 00 00 00 */ li r0, 0 -/* 800ABB4C 000A8AAC 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB50 000A8AB0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR34CScriptSpiderBallAttractionSurface" -"Visit__26TCastToPtr<12CScriptActor>FR34CScriptSpiderBallAttractionSurface": -/* 800ABB54 000A8AB4 38 00 00 00 */ li r0, 0 -/* 800ABB58 000A8AB8 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB5C 000A8ABC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR22CScriptSpecialFunction" -"Visit__26TCastToPtr<12CScriptActor>FR22CScriptSpecialFunction": -/* 800ABB60 000A8AC0 38 00 00 00 */ li r0, 0 -/* 800ABB64 000A8AC4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB68 000A8AC8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptSpawnPoint" -"Visit__26TCastToPtr<12CScriptActor>FR17CScriptSpawnPoint": -/* 800ABB6C 000A8ACC 38 00 00 00 */ li r0, 0 -/* 800ABB70 000A8AD0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB74 000A8AD4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR12CScriptSound" -"Visit__26TCastToPtr<12CScriptActor>FR12CScriptSound": -/* 800ABB78 000A8AD8 38 00 00 00 */ li r0, 0 -/* 800ABB7C 000A8ADC 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB80 000A8AE0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR20CScriptRoomAcoustics" -"Visit__26TCastToPtr<12CScriptActor>FR20CScriptRoomAcoustics": -/* 800ABB84 000A8AE4 38 00 00 00 */ li r0, 0 -/* 800ABB88 000A8AE8 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB8C 000A8AEC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR22CScriptPointOfinterest" -"Visit__26TCastToPtr<12CScriptActor>FR22CScriptPointOfinterest": -/* 800ABB90 000A8AF0 38 00 00 00 */ li r0, 0 -/* 800ABB94 000A8AF4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABB98 000A8AF8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptPlayerHint" -"Visit__26TCastToPtr<12CScriptActor>FR17CScriptPlayerHint": -/* 800ABB9C 000A8AFC 38 00 00 00 */ li r0, 0 -/* 800ABBA0 000A8B00 90 03 00 04 */ stw r0, 4(r3) -/* 800ABBA4 000A8B04 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR15CScriptPlatform" -"Visit__26TCastToPtr<12CScriptActor>FR15CScriptPlatform": -/* 800ABBA8 000A8B08 38 00 00 00 */ li r0, 0 -/* 800ABBAC 000A8B0C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABBB0 000A8B10 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR13CScriptPickup" -"Visit__26TCastToPtr<12CScriptActor>FR13CScriptPickup": -/* 800ABBB4 000A8B14 38 00 00 00 */ li r0, 0 -/* 800ABBB8 000A8B18 90 03 00 04 */ stw r0, 4(r3) -/* 800ABBBC 000A8B1C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR15CScriptMazeNode" -"Visit__26TCastToPtr<12CScriptActor>FR15CScriptMazeNode": -/* 800ABBC0 000A8B20 38 00 00 00 */ li r0, 0 -/* 800ABBC4 000A8B24 90 03 00 04 */ stw r0, 4(r3) -/* 800ABBC8 000A8B28 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR16CScriptGunTurret" -"Visit__26TCastToPtr<12CScriptActor>FR16CScriptGunTurret": -/* 800ABBCC 000A8B2C 38 00 00 00 */ li r0, 0 -/* 800ABBD0 000A8B30 90 03 00 04 */ stw r0, 4(r3) -/* 800ABBD4 000A8B34 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR19CScriptGrapplePoint" -"Visit__26TCastToPtr<12CScriptActor>FR19CScriptGrapplePoint": -/* 800ABBD8 000A8B38 38 00 00 00 */ li r0, 0 -/* 800ABBDC 000A8B3C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABBE0 000A8B40 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR13CScriptEffect" -"Visit__26TCastToPtr<12CScriptActor>FR13CScriptEffect": -/* 800ABBE4 000A8B44 38 00 00 00 */ li r0, 0 -/* 800ABBE8 000A8B48 90 03 00 04 */ stw r0, 4(r3) -/* 800ABBEC 000A8B4C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR11CScriptDoor" -"Visit__26TCastToPtr<12CScriptActor>FR11CScriptDoor": -/* 800ABBF0 000A8B50 38 00 00 00 */ li r0, 0 -/* 800ABBF4 000A8B54 90 03 00 04 */ stw r0, 4(r3) -/* 800ABBF8 000A8B58 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR11CScriptDock" -"Visit__26TCastToPtr<12CScriptActor>FR11CScriptDock": -/* 800ABBFC 000A8B5C 38 00 00 00 */ li r0, 0 -/* 800ABC00 000A8B60 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC04 000A8B64 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR18CScriptDistanceFog" -"Visit__26TCastToPtr<12CScriptActor>FR18CScriptDistanceFog": -/* 800ABC08 000A8B68 38 00 00 00 */ li r0, 0 -/* 800ABC0C 000A8B6C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC10 000A8B70 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR26CScriptDebugCameraWaypoint" -"Visit__26TCastToPtr<12CScriptActor>FR26CScriptDebugCameraWaypoint": -/* 800ABC14 000A8B74 38 00 00 00 */ li r0, 0 -/* 800ABC18 000A8B78 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC1C 000A8B7C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptCoverPoint" -"Visit__26TCastToPtr<12CScriptActor>FR17CScriptCoverPoint": -/* 800ABC20 000A8B80 38 00 00 00 */ li r0, 0 -/* 800ABC24 000A8B84 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC28 000A8B88 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR21CScriptCameraWaypoint" -"Visit__26TCastToPtr<12CScriptActor>FR21CScriptCameraWaypoint": -/* 800ABC2C 000A8B8C 38 00 00 00 */ li r0, 0 -/* 800ABC30 000A8B90 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC34 000A8B94 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR24CScriptCameraPitchVolume" -"Visit__26TCastToPtr<12CScriptActor>FR24CScriptCameraPitchVolume": -/* 800ABC38 000A8B98 38 00 00 00 */ li r0, 0 -/* 800ABC3C 000A8B9C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC40 000A8BA0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR17CScriptCameraHint" -"Visit__26TCastToPtr<12CScriptActor>FR17CScriptCameraHint": -/* 800ABC44 000A8BA4 38 00 00 00 */ li r0, 0 -/* 800ABC48 000A8BA8 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC4C 000A8BAC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR18CScriptAiJumpPoint" -"Visit__26TCastToPtr<12CScriptActor>FR18CScriptAiJumpPoint": -/* 800ABC50 000A8BB0 38 00 00 00 */ li r0, 0 -/* 800ABC54 000A8BB4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC58 000A8BB8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR20CScriptActorKeyframe" -"Visit__26TCastToPtr<12CScriptActor>FR20CScriptActorKeyframe": -/* 800ABC5C 000A8BBC 38 00 00 00 */ li r0, 0 -/* 800ABC60 000A8BC0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC64 000A8BC4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR12CScriptActor" -"Visit__26TCastToPtr<12CScriptActor>FR12CScriptActor": -/* 800ABC68 000A8BC8 90 83 00 04 */ stw r4, 4(r3) -/* 800ABC6C 000A8BCC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR9CRepulsor" -"Visit__26TCastToPtr<12CScriptActor>FR9CRepulsor": -/* 800ABC70 000A8BD0 38 00 00 00 */ li r0, 0 -/* 800ABC74 000A8BD4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC78 000A8BD8 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR7CPlayer" -"Visit__26TCastToPtr<12CScriptActor>FR7CPlayer": -/* 800ABC7C 000A8BDC 38 00 00 00 */ li r0, 0 -/* 800ABC80 000A8BE0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC84 000A8BE4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR13CPhysicsActor" -"Visit__26TCastToPtr<12CScriptActor>FR13CPhysicsActor": -/* 800ABC88 000A8BE8 38 00 00 00 */ li r0, 0 -/* 800ABC8C 000A8BEC 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC90 000A8BF0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR3CAi" -"Visit__26TCastToPtr<12CScriptActor>FR3CAi": -/* 800ABC94 000A8BF4 38 00 00 00 */ li r0, 0 -/* 800ABC98 000A8BF8 90 03 00 04 */ stw r0, 4(r3) -/* 800ABC9C 000A8BFC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR11CPathCamera" -"Visit__26TCastToPtr<12CScriptActor>FR11CPathCamera": -/* 800ABCA0 000A8C00 38 00 00 00 */ li r0, 0 -/* 800ABCA4 000A8C04 90 03 00 04 */ stw r0, 4(r3) -/* 800ABCA8 000A8C08 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR18CMetroidPrimeRelay" -"Visit__26TCastToPtr<12CScriptActor>FR18CMetroidPrimeRelay": -/* 800ABCAC 000A8C0C 38 00 00 00 */ li r0, 0 -/* 800ABCB0 000A8C10 90 03 00 04 */ stw r0, 4(r3) -/* 800ABCB4 000A8C14 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR19CHUDBillboardEffect" -"Visit__26TCastToPtr<12CScriptActor>FR19CHUDBillboardEffect": -/* 800ABCB8 000A8C18 38 00 00 00 */ li r0, 0 -/* 800ABCBC 000A8C1C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABCC0 000A8C20 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR15CGameProjectile" -"Visit__26TCastToPtr<12CScriptActor>FR15CGameProjectile": -/* 800ABCC4 000A8C24 38 00 00 00 */ li r0, 0 -/* 800ABCC8 000A8C28 90 03 00 04 */ stw r0, 4(r3) -/* 800ABCCC 000A8C2C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR10CGameLight" -"Visit__26TCastToPtr<12CScriptActor>FR10CGameLight": -/* 800ABCD0 000A8C30 38 00 00 00 */ li r0, 0 -/* 800ABCD4 000A8C34 90 03 00 04 */ stw r0, 4(r3) -/* 800ABCD8 000A8C38 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR11CGameCamera" -"Visit__26TCastToPtr<12CScriptActor>FR11CGameCamera": -/* 800ABCDC 000A8C3C 38 00 00 00 */ li r0, 0 -/* 800ABCE0 000A8C40 90 03 00 04 */ stw r0, 4(r3) -/* 800ABCE4 000A8C44 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR10CFishCloud" -"Visit__26TCastToPtr<12CScriptActor>FR10CFishCloud": -/* 800ABCE8 000A8C48 38 00 00 00 */ li r0, 0 -/* 800ABCEC 000A8C4C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABCF0 000A8C50 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR18CFirstPersonCamera" -"Visit__26TCastToPtr<12CScriptActor>FR18CFirstPersonCamera": -/* 800ABCF4 000A8C54 38 00 00 00 */ li r0, 0 -/* 800ABCF8 000A8C58 90 03 00 04 */ stw r0, 4(r3) -/* 800ABCFC 000A8C5C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR10CExplosion" -"Visit__26TCastToPtr<12CScriptActor>FR10CExplosion": -/* 800ABD00 000A8C60 38 00 00 00 */ li r0, 0 -/* 800ABD04 000A8C64 90 03 00 04 */ stw r0, 4(r3) -/* 800ABD08 000A8C68 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR7CEntity" -"Visit__26TCastToPtr<12CScriptActor>FR7CEntity": -/* 800ABD0C 000A8C6C 38 00 00 00 */ li r0, 0 -/* 800ABD10 000A8C70 90 03 00 04 */ stw r0, 4(r3) -/* 800ABD14 000A8C74 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR17CEnergyProjectile" -"Visit__26TCastToPtr<12CScriptActor>FR17CEnergyProjectile": -/* 800ABD18 000A8C78 38 00 00 00 */ li r0, 0 -/* 800ABD1C 000A8C7C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABD20 000A8C80 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR16CDestroyableRock" -"Visit__26TCastToPtr<12CScriptActor>FR16CDestroyableRock": -/* 800ABD24 000A8C84 38 00 00 00 */ li r0, 0 -/* 800ABD28 000A8C88 90 03 00 04 */ stw r0, 4(r3) -/* 800ABD2C 000A8C8C 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR15CCollisionActor" -"Visit__26TCastToPtr<12CScriptActor>FR15CCollisionActor": -/* 800ABD30 000A8C90 38 00 00 00 */ li r0, 0 -/* 800ABD34 000A8C94 90 03 00 04 */ stw r0, 4(r3) -/* 800ABD38 000A8C98 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR16CCinematicCamera" -"Visit__26TCastToPtr<12CScriptActor>FR16CCinematicCamera": -/* 800ABD3C 000A8C9C 38 00 00 00 */ li r0, 0 -/* 800ABD40 000A8CA0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABD44 000A8CA4 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR5CBomb" -"Visit__26TCastToPtr<12CScriptActor>FR5CBomb": -/* 800ABD48 000A8CA8 38 00 00 00 */ li r0, 0 -/* 800ABD4C 000A8CAC 90 03 00 04 */ stw r0, 4(r3) -/* 800ABD50 000A8CB0 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR11CBallCamera" -"Visit__26TCastToPtr<12CScriptActor>FR11CBallCamera": -/* 800ABD54 000A8CB4 38 00 00 00 */ li r0, 0 -/* 800ABD58 000A8CB8 90 03 00 04 */ stw r0, 4(r3) -/* 800ABD5C 000A8CBC 4E 80 00 20 */ blr - -.global "Visit__26TCastToPtr<12CScriptActor>FR6CActor" -"Visit__26TCastToPtr<12CScriptActor>FR6CActor": -/* 800ABD60 000A8CC0 38 00 00 00 */ li r0, 0 -/* 800ABD64 000A8CC4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABD68 000A8CC8 4E 80 00 20 */ blr - -.global "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" -"__ct__26TCastToPtr<12CScriptActor>FP7CEntity": -/* 800ABD6C 000A8CCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ABD70 000A8CD0 7C 08 02 A6 */ mflr r0 -/* 800ABD74 000A8CD4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800ABD78 000A8CD8 3C A0 80 3E */ lis r5, lbl_803DD1D0@ha -/* 800ABD7C 000A8CDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ABD80 000A8CE0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800ABD84 000A8CE4 28 04 00 00 */ cmplwi r4, 0 -/* 800ABD88 000A8CE8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ABD8C 000A8CEC 7C 7F 1B 78 */ mr r31, r3 -/* 800ABD90 000A8CF0 38 65 D1 D0 */ addi r3, r5, lbl_803DD1D0@l -/* 800ABD94 000A8CF4 90 1F 00 00 */ stw r0, 0(r31) -/* 800ABD98 000A8CF8 38 00 00 00 */ li r0, 0 -/* 800ABD9C 000A8CFC 90 7F 00 00 */ stw r3, 0(r31) -/* 800ABDA0 000A8D00 90 1F 00 04 */ stw r0, 4(r31) -/* 800ABDA4 000A8D04 41 82 00 1C */ beq lbl_800ABDC0 -/* 800ABDA8 000A8D08 7C 83 23 78 */ mr r3, r4 -/* 800ABDAC 000A8D0C 7F E4 FB 78 */ mr r4, r31 -/* 800ABDB0 000A8D10 81 83 00 00 */ lwz r12, 0(r3) -/* 800ABDB4 000A8D14 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ABDB8 000A8D18 7D 89 03 A6 */ mtctr r12 -/* 800ABDBC 000A8D1C 4E 80 04 21 */ bctrl -lbl_800ABDC0: -/* 800ABDC0 000A8D20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ABDC4 000A8D24 7F E3 FB 78 */ mr r3, r31 -/* 800ABDC8 000A8D28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ABDCC 000A8D2C 7C 08 03 A6 */ mtlr r0 -/* 800ABDD0 000A8D30 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ABDD4 000A8D34 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR7CWeapon" -"Visit__22TCastToPtr<9CRepulsor>FR7CWeapon": -/* 800ABDD8 000A8D38 38 00 00 00 */ li r0, 0 -/* 800ABDDC 000A8D3C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABDE0 000A8D40 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR17CWallCrawlerSwarm" -"Visit__22TCastToPtr<9CRepulsor>FR17CWallCrawlerSwarm": -/* 800ABDE4 000A8D44 38 00 00 00 */ li r0, 0 -/* 800ABDE8 000A8D48 90 03 00 04 */ stw r0, 4(r3) -/* 800ABDEC 000A8D4C 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR20CScriptSpindleCamera" -"Visit__22TCastToPtr<9CRepulsor>FR20CScriptSpindleCamera": -/* 800ABDF0 000A8D50 38 00 00 00 */ li r0, 0 -/* 800ABDF4 000A8D54 90 03 00 04 */ stw r0, 4(r3) -/* 800ABDF8 000A8D58 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR15CSnakeWeedSwarm" -"Visit__22TCastToPtr<9CRepulsor>FR15CSnakeWeedSwarm": -/* 800ABDFC 000A8D5C 38 00 00 00 */ li r0, 0 -/* 800ABE00 000A8D60 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE04 000A8D64 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR15CScriptWaypoint" -"Visit__22TCastToPtr<9CRepulsor>FR15CScriptWaypoint": -/* 800ABE08 000A8D68 38 00 00 00 */ li r0, 0 -/* 800ABE0C 000A8D6C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE10 000A8D70 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR12CScriptWater" -"Visit__22TCastToPtr<9CRepulsor>FR12CScriptWater": -/* 800ABE14 000A8D74 38 00 00 00 */ li r0, 0 -/* 800ABE18 000A8D78 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE1C 000A8D7C 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptVisorFlare" -"Visit__22TCastToPtr<9CRepulsor>FR17CScriptVisorFlare": -/* 800ABE20 000A8D80 38 00 00 00 */ li r0, 0 -/* 800ABE24 000A8D84 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE28 000A8D88 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR14CScriptTrigger" -"Visit__22TCastToPtr<9CRepulsor>FR14CScriptTrigger": -/* 800ABE2C 000A8D8C 38 00 00 00 */ li r0, 0 -/* 800ABE30 000A8D90 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE34 000A8D94 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR12CScriptTimer" -"Visit__22TCastToPtr<9CRepulsor>FR12CScriptTimer": -/* 800ABE38 000A8D98 38 00 00 00 */ li r0, 0 -/* 800ABE3C 000A8D9C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE40 000A8DA0 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR10CTeamAiMgr" -"Visit__22TCastToPtr<9CRepulsor>FR10CTeamAiMgr": -/* 800ABE44 000A8DA4 38 00 00 00 */ li r0, 0 -/* 800ABE48 000A8DA8 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE4C 000A8DAC 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR21CScriptTargetingPoint" -"Visit__22TCastToPtr<9CRepulsor>FR21CScriptTargetingPoint": -/* 800ABE50 000A8DB0 38 00 00 00 */ li r0, 0 -/* 800ABE54 000A8DB4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE58 000A8DB8 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR25CScriptSpiderBallWaypoint" -"Visit__22TCastToPtr<9CRepulsor>FR25CScriptSpiderBallWaypoint": -/* 800ABE5C 000A8DBC 38 00 00 00 */ li r0, 0 -/* 800ABE60 000A8DC0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE64 000A8DC4 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR34CScriptSpiderBallAttractionSurface" -"Visit__22TCastToPtr<9CRepulsor>FR34CScriptSpiderBallAttractionSurface": -/* 800ABE68 000A8DC8 38 00 00 00 */ li r0, 0 -/* 800ABE6C 000A8DCC 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE70 000A8DD0 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR22CScriptSpecialFunction" -"Visit__22TCastToPtr<9CRepulsor>FR22CScriptSpecialFunction": -/* 800ABE74 000A8DD4 38 00 00 00 */ li r0, 0 -/* 800ABE78 000A8DD8 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE7C 000A8DDC 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptSpawnPoint" -"Visit__22TCastToPtr<9CRepulsor>FR17CScriptSpawnPoint": -/* 800ABE80 000A8DE0 38 00 00 00 */ li r0, 0 -/* 800ABE84 000A8DE4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE88 000A8DE8 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR12CScriptSound" -"Visit__22TCastToPtr<9CRepulsor>FR12CScriptSound": -/* 800ABE8C 000A8DEC 38 00 00 00 */ li r0, 0 -/* 800ABE90 000A8DF0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABE94 000A8DF4 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR20CScriptRoomAcoustics" -"Visit__22TCastToPtr<9CRepulsor>FR20CScriptRoomAcoustics": -/* 800ABE98 000A8DF8 38 00 00 00 */ li r0, 0 -/* 800ABE9C 000A8DFC 90 03 00 04 */ stw r0, 4(r3) -/* 800ABEA0 000A8E00 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR22CScriptPointOfinterest" -"Visit__22TCastToPtr<9CRepulsor>FR22CScriptPointOfinterest": -/* 800ABEA4 000A8E04 38 00 00 00 */ li r0, 0 -/* 800ABEA8 000A8E08 90 03 00 04 */ stw r0, 4(r3) -/* 800ABEAC 000A8E0C 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptPlayerHint" -"Visit__22TCastToPtr<9CRepulsor>FR17CScriptPlayerHint": -/* 800ABEB0 000A8E10 38 00 00 00 */ li r0, 0 -/* 800ABEB4 000A8E14 90 03 00 04 */ stw r0, 4(r3) -/* 800ABEB8 000A8E18 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR15CScriptPlatform" -"Visit__22TCastToPtr<9CRepulsor>FR15CScriptPlatform": -/* 800ABEBC 000A8E1C 38 00 00 00 */ li r0, 0 -/* 800ABEC0 000A8E20 90 03 00 04 */ stw r0, 4(r3) -/* 800ABEC4 000A8E24 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR13CScriptPickup" -"Visit__22TCastToPtr<9CRepulsor>FR13CScriptPickup": -/* 800ABEC8 000A8E28 38 00 00 00 */ li r0, 0 -/* 800ABECC 000A8E2C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABED0 000A8E30 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR15CScriptMazeNode" -"Visit__22TCastToPtr<9CRepulsor>FR15CScriptMazeNode": -/* 800ABED4 000A8E34 38 00 00 00 */ li r0, 0 -/* 800ABED8 000A8E38 90 03 00 04 */ stw r0, 4(r3) -/* 800ABEDC 000A8E3C 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR16CScriptGunTurret" -"Visit__22TCastToPtr<9CRepulsor>FR16CScriptGunTurret": -/* 800ABEE0 000A8E40 38 00 00 00 */ li r0, 0 -/* 800ABEE4 000A8E44 90 03 00 04 */ stw r0, 4(r3) -/* 800ABEE8 000A8E48 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR19CScriptGrapplePoint" -"Visit__22TCastToPtr<9CRepulsor>FR19CScriptGrapplePoint": -/* 800ABEEC 000A8E4C 38 00 00 00 */ li r0, 0 -/* 800ABEF0 000A8E50 90 03 00 04 */ stw r0, 4(r3) -/* 800ABEF4 000A8E54 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR13CScriptEffect" -"Visit__22TCastToPtr<9CRepulsor>FR13CScriptEffect": -/* 800ABEF8 000A8E58 38 00 00 00 */ li r0, 0 -/* 800ABEFC 000A8E5C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF00 000A8E60 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR11CScriptDoor" -"Visit__22TCastToPtr<9CRepulsor>FR11CScriptDoor": -/* 800ABF04 000A8E64 38 00 00 00 */ li r0, 0 -/* 800ABF08 000A8E68 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF0C 000A8E6C 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR11CScriptDock" -"Visit__22TCastToPtr<9CRepulsor>FR11CScriptDock": -/* 800ABF10 000A8E70 38 00 00 00 */ li r0, 0 -/* 800ABF14 000A8E74 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF18 000A8E78 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR18CScriptDistanceFog" -"Visit__22TCastToPtr<9CRepulsor>FR18CScriptDistanceFog": -/* 800ABF1C 000A8E7C 38 00 00 00 */ li r0, 0 -/* 800ABF20 000A8E80 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF24 000A8E84 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR26CScriptDebugCameraWaypoint" -"Visit__22TCastToPtr<9CRepulsor>FR26CScriptDebugCameraWaypoint": -/* 800ABF28 000A8E88 38 00 00 00 */ li r0, 0 -/* 800ABF2C 000A8E8C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF30 000A8E90 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptCoverPoint" -"Visit__22TCastToPtr<9CRepulsor>FR17CScriptCoverPoint": -/* 800ABF34 000A8E94 38 00 00 00 */ li r0, 0 -/* 800ABF38 000A8E98 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF3C 000A8E9C 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR21CScriptCameraWaypoint" -"Visit__22TCastToPtr<9CRepulsor>FR21CScriptCameraWaypoint": -/* 800ABF40 000A8EA0 38 00 00 00 */ li r0, 0 -/* 800ABF44 000A8EA4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF48 000A8EA8 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR24CScriptCameraPitchVolume" -"Visit__22TCastToPtr<9CRepulsor>FR24CScriptCameraPitchVolume": -/* 800ABF4C 000A8EAC 38 00 00 00 */ li r0, 0 -/* 800ABF50 000A8EB0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF54 000A8EB4 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR17CScriptCameraHint" -"Visit__22TCastToPtr<9CRepulsor>FR17CScriptCameraHint": -/* 800ABF58 000A8EB8 38 00 00 00 */ li r0, 0 -/* 800ABF5C 000A8EBC 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF60 000A8EC0 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR18CScriptAiJumpPoint" -"Visit__22TCastToPtr<9CRepulsor>FR18CScriptAiJumpPoint": -/* 800ABF64 000A8EC4 38 00 00 00 */ li r0, 0 -/* 800ABF68 000A8EC8 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF6C 000A8ECC 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR20CScriptActorKeyframe" -"Visit__22TCastToPtr<9CRepulsor>FR20CScriptActorKeyframe": -/* 800ABF70 000A8ED0 38 00 00 00 */ li r0, 0 -/* 800ABF74 000A8ED4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF78 000A8ED8 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR12CScriptActor" -"Visit__22TCastToPtr<9CRepulsor>FR12CScriptActor": -/* 800ABF7C 000A8EDC 38 00 00 00 */ li r0, 0 -/* 800ABF80 000A8EE0 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF84 000A8EE4 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR9CRepulsor" -"Visit__22TCastToPtr<9CRepulsor>FR9CRepulsor": -/* 800ABF88 000A8EE8 90 83 00 04 */ stw r4, 4(r3) -/* 800ABF8C 000A8EEC 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR7CPlayer" -"Visit__22TCastToPtr<9CRepulsor>FR7CPlayer": -/* 800ABF90 000A8EF0 38 00 00 00 */ li r0, 0 -/* 800ABF94 000A8EF4 90 03 00 04 */ stw r0, 4(r3) -/* 800ABF98 000A8EF8 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR13CPhysicsActor" -"Visit__22TCastToPtr<9CRepulsor>FR13CPhysicsActor": -/* 800ABF9C 000A8EFC 38 00 00 00 */ li r0, 0 -/* 800ABFA0 000A8F00 90 03 00 04 */ stw r0, 4(r3) -/* 800ABFA4 000A8F04 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR3CAi" -"Visit__22TCastToPtr<9CRepulsor>FR3CAi": -/* 800ABFA8 000A8F08 38 00 00 00 */ li r0, 0 -/* 800ABFAC 000A8F0C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABFB0 000A8F10 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR11CPathCamera" -"Visit__22TCastToPtr<9CRepulsor>FR11CPathCamera": -/* 800ABFB4 000A8F14 38 00 00 00 */ li r0, 0 -/* 800ABFB8 000A8F18 90 03 00 04 */ stw r0, 4(r3) -/* 800ABFBC 000A8F1C 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR18CMetroidPrimeRelay" -"Visit__22TCastToPtr<9CRepulsor>FR18CMetroidPrimeRelay": -/* 800ABFC0 000A8F20 38 00 00 00 */ li r0, 0 -/* 800ABFC4 000A8F24 90 03 00 04 */ stw r0, 4(r3) -/* 800ABFC8 000A8F28 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR19CHUDBillboardEffect" -"Visit__22TCastToPtr<9CRepulsor>FR19CHUDBillboardEffect": -/* 800ABFCC 000A8F2C 38 00 00 00 */ li r0, 0 -/* 800ABFD0 000A8F30 90 03 00 04 */ stw r0, 4(r3) -/* 800ABFD4 000A8F34 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR15CGameProjectile" -"Visit__22TCastToPtr<9CRepulsor>FR15CGameProjectile": -/* 800ABFD8 000A8F38 38 00 00 00 */ li r0, 0 -/* 800ABFDC 000A8F3C 90 03 00 04 */ stw r0, 4(r3) -/* 800ABFE0 000A8F40 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR10CGameLight" -"Visit__22TCastToPtr<9CRepulsor>FR10CGameLight": -/* 800ABFE4 000A8F44 38 00 00 00 */ li r0, 0 -/* 800ABFE8 000A8F48 90 03 00 04 */ stw r0, 4(r3) -/* 800ABFEC 000A8F4C 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR11CGameCamera" -"Visit__22TCastToPtr<9CRepulsor>FR11CGameCamera": -/* 800ABFF0 000A8F50 38 00 00 00 */ li r0, 0 -/* 800ABFF4 000A8F54 90 03 00 04 */ stw r0, 4(r3) -/* 800ABFF8 000A8F58 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR10CFishCloud" -"Visit__22TCastToPtr<9CRepulsor>FR10CFishCloud": -/* 800ABFFC 000A8F5C 38 00 00 00 */ li r0, 0 -/* 800AC000 000A8F60 90 03 00 04 */ stw r0, 4(r3) -/* 800AC004 000A8F64 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR18CFirstPersonCamera" -"Visit__22TCastToPtr<9CRepulsor>FR18CFirstPersonCamera": -/* 800AC008 000A8F68 38 00 00 00 */ li r0, 0 -/* 800AC00C 000A8F6C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC010 000A8F70 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR10CExplosion" -"Visit__22TCastToPtr<9CRepulsor>FR10CExplosion": -/* 800AC014 000A8F74 38 00 00 00 */ li r0, 0 -/* 800AC018 000A8F78 90 03 00 04 */ stw r0, 4(r3) -/* 800AC01C 000A8F7C 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR7CEntity" -"Visit__22TCastToPtr<9CRepulsor>FR7CEntity": -/* 800AC020 000A8F80 38 00 00 00 */ li r0, 0 -/* 800AC024 000A8F84 90 03 00 04 */ stw r0, 4(r3) -/* 800AC028 000A8F88 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR17CEnergyProjectile" -"Visit__22TCastToPtr<9CRepulsor>FR17CEnergyProjectile": -/* 800AC02C 000A8F8C 38 00 00 00 */ li r0, 0 -/* 800AC030 000A8F90 90 03 00 04 */ stw r0, 4(r3) -/* 800AC034 000A8F94 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR16CDestroyableRock" -"Visit__22TCastToPtr<9CRepulsor>FR16CDestroyableRock": -/* 800AC038 000A8F98 38 00 00 00 */ li r0, 0 -/* 800AC03C 000A8F9C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC040 000A8FA0 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR15CCollisionActor" -"Visit__22TCastToPtr<9CRepulsor>FR15CCollisionActor": -/* 800AC044 000A8FA4 38 00 00 00 */ li r0, 0 -/* 800AC048 000A8FA8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC04C 000A8FAC 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR16CCinematicCamera" -"Visit__22TCastToPtr<9CRepulsor>FR16CCinematicCamera": -/* 800AC050 000A8FB0 38 00 00 00 */ li r0, 0 -/* 800AC054 000A8FB4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC058 000A8FB8 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR5CBomb" -"Visit__22TCastToPtr<9CRepulsor>FR5CBomb": -/* 800AC05C 000A8FBC 38 00 00 00 */ li r0, 0 -/* 800AC060 000A8FC0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC064 000A8FC4 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR11CBallCamera" -"Visit__22TCastToPtr<9CRepulsor>FR11CBallCamera": -/* 800AC068 000A8FC8 38 00 00 00 */ li r0, 0 -/* 800AC06C 000A8FCC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC070 000A8FD0 4E 80 00 20 */ blr - -.global "Visit__22TCastToPtr<9CRepulsor>FR6CActor" -"Visit__22TCastToPtr<9CRepulsor>FR6CActor": -/* 800AC074 000A8FD4 38 00 00 00 */ li r0, 0 -/* 800AC078 000A8FD8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC07C 000A8FDC 4E 80 00 20 */ blr - -.global "__ct__22TCastToPtr<9CRepulsor>FP7CEntity" -"__ct__22TCastToPtr<9CRepulsor>FP7CEntity": -/* 800AC080 000A8FE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AC084 000A8FE4 7C 08 02 A6 */ mflr r0 -/* 800AC088 000A8FE8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AC08C 000A8FEC 3C A0 80 3E */ lis r5, lbl_803DD0E4@ha -/* 800AC090 000A8FF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AC094 000A8FF4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AC098 000A8FF8 28 04 00 00 */ cmplwi r4, 0 -/* 800AC09C 000A8FFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AC0A0 000A9000 7C 7F 1B 78 */ mr r31, r3 -/* 800AC0A4 000A9004 38 65 D0 E4 */ addi r3, r5, lbl_803DD0E4@l -/* 800AC0A8 000A9008 90 1F 00 00 */ stw r0, 0(r31) -/* 800AC0AC 000A900C 38 00 00 00 */ li r0, 0 -/* 800AC0B0 000A9010 90 7F 00 00 */ stw r3, 0(r31) -/* 800AC0B4 000A9014 90 1F 00 04 */ stw r0, 4(r31) -/* 800AC0B8 000A9018 41 82 00 1C */ beq lbl_800AC0D4 -/* 800AC0BC 000A901C 7C 83 23 78 */ mr r3, r4 -/* 800AC0C0 000A9020 7F E4 FB 78 */ mr r4, r31 -/* 800AC0C4 000A9024 81 83 00 00 */ lwz r12, 0(r3) -/* 800AC0C8 000A9028 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AC0CC 000A902C 7D 89 03 A6 */ mtctr r12 -/* 800AC0D0 000A9030 4E 80 04 21 */ bctrl -lbl_800AC0D4: -/* 800AC0D4 000A9034 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AC0D8 000A9038 7F E3 FB 78 */ mr r3, r31 -/* 800AC0DC 000A903C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AC0E0 000A9040 7C 08 03 A6 */ mtlr r0 -/* 800AC0E4 000A9044 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AC0E8 000A9048 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR7CWeapon" -"Visit__20TCastToPtr<7CPlayer>FR7CWeapon": -/* 800AC0EC 000A904C 38 00 00 00 */ li r0, 0 -/* 800AC0F0 000A9050 90 03 00 04 */ stw r0, 4(r3) -/* 800AC0F4 000A9054 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR17CWallCrawlerSwarm" -"Visit__20TCastToPtr<7CPlayer>FR17CWallCrawlerSwarm": -/* 800AC0F8 000A9058 38 00 00 00 */ li r0, 0 -/* 800AC0FC 000A905C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC100 000A9060 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR20CScriptSpindleCamera" -"Visit__20TCastToPtr<7CPlayer>FR20CScriptSpindleCamera": -/* 800AC104 000A9064 38 00 00 00 */ li r0, 0 -/* 800AC108 000A9068 90 03 00 04 */ stw r0, 4(r3) -/* 800AC10C 000A906C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR15CSnakeWeedSwarm" -"Visit__20TCastToPtr<7CPlayer>FR15CSnakeWeedSwarm": -/* 800AC110 000A9070 38 00 00 00 */ li r0, 0 -/* 800AC114 000A9074 90 03 00 04 */ stw r0, 4(r3) -/* 800AC118 000A9078 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR15CScriptWaypoint" -"Visit__20TCastToPtr<7CPlayer>FR15CScriptWaypoint": -/* 800AC11C 000A907C 38 00 00 00 */ li r0, 0 -/* 800AC120 000A9080 90 03 00 04 */ stw r0, 4(r3) -/* 800AC124 000A9084 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR12CScriptWater" -"Visit__20TCastToPtr<7CPlayer>FR12CScriptWater": -/* 800AC128 000A9088 38 00 00 00 */ li r0, 0 -/* 800AC12C 000A908C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC130 000A9090 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptVisorFlare" -"Visit__20TCastToPtr<7CPlayer>FR17CScriptVisorFlare": -/* 800AC134 000A9094 38 00 00 00 */ li r0, 0 -/* 800AC138 000A9098 90 03 00 04 */ stw r0, 4(r3) -/* 800AC13C 000A909C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR14CScriptTrigger" -"Visit__20TCastToPtr<7CPlayer>FR14CScriptTrigger": -/* 800AC140 000A90A0 38 00 00 00 */ li r0, 0 -/* 800AC144 000A90A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC148 000A90A8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR12CScriptTimer" -"Visit__20TCastToPtr<7CPlayer>FR12CScriptTimer": -/* 800AC14C 000A90AC 38 00 00 00 */ li r0, 0 -/* 800AC150 000A90B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC154 000A90B4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR10CTeamAiMgr" -"Visit__20TCastToPtr<7CPlayer>FR10CTeamAiMgr": -/* 800AC158 000A90B8 38 00 00 00 */ li r0, 0 -/* 800AC15C 000A90BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC160 000A90C0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR21CScriptTargetingPoint" -"Visit__20TCastToPtr<7CPlayer>FR21CScriptTargetingPoint": -/* 800AC164 000A90C4 38 00 00 00 */ li r0, 0 -/* 800AC168 000A90C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC16C 000A90CC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR25CScriptSpiderBallWaypoint" -"Visit__20TCastToPtr<7CPlayer>FR25CScriptSpiderBallWaypoint": -/* 800AC170 000A90D0 38 00 00 00 */ li r0, 0 -/* 800AC174 000A90D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC178 000A90D8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR34CScriptSpiderBallAttractionSurface" -"Visit__20TCastToPtr<7CPlayer>FR34CScriptSpiderBallAttractionSurface": -/* 800AC17C 000A90DC 38 00 00 00 */ li r0, 0 -/* 800AC180 000A90E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC184 000A90E4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR22CScriptSpecialFunction" -"Visit__20TCastToPtr<7CPlayer>FR22CScriptSpecialFunction": -/* 800AC188 000A90E8 38 00 00 00 */ li r0, 0 -/* 800AC18C 000A90EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC190 000A90F0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptSpawnPoint" -"Visit__20TCastToPtr<7CPlayer>FR17CScriptSpawnPoint": -/* 800AC194 000A90F4 38 00 00 00 */ li r0, 0 -/* 800AC198 000A90F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC19C 000A90FC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR12CScriptSound" -"Visit__20TCastToPtr<7CPlayer>FR12CScriptSound": -/* 800AC1A0 000A9100 38 00 00 00 */ li r0, 0 -/* 800AC1A4 000A9104 90 03 00 04 */ stw r0, 4(r3) -/* 800AC1A8 000A9108 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR20CScriptRoomAcoustics" -"Visit__20TCastToPtr<7CPlayer>FR20CScriptRoomAcoustics": -/* 800AC1AC 000A910C 38 00 00 00 */ li r0, 0 -/* 800AC1B0 000A9110 90 03 00 04 */ stw r0, 4(r3) -/* 800AC1B4 000A9114 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR22CScriptPointOfinterest" -"Visit__20TCastToPtr<7CPlayer>FR22CScriptPointOfinterest": -/* 800AC1B8 000A9118 38 00 00 00 */ li r0, 0 -/* 800AC1BC 000A911C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC1C0 000A9120 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptPlayerHint" -"Visit__20TCastToPtr<7CPlayer>FR17CScriptPlayerHint": -/* 800AC1C4 000A9124 38 00 00 00 */ li r0, 0 -/* 800AC1C8 000A9128 90 03 00 04 */ stw r0, 4(r3) -/* 800AC1CC 000A912C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR15CScriptPlatform" -"Visit__20TCastToPtr<7CPlayer>FR15CScriptPlatform": -/* 800AC1D0 000A9130 38 00 00 00 */ li r0, 0 -/* 800AC1D4 000A9134 90 03 00 04 */ stw r0, 4(r3) -/* 800AC1D8 000A9138 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR13CScriptPickup" -"Visit__20TCastToPtr<7CPlayer>FR13CScriptPickup": -/* 800AC1DC 000A913C 38 00 00 00 */ li r0, 0 -/* 800AC1E0 000A9140 90 03 00 04 */ stw r0, 4(r3) -/* 800AC1E4 000A9144 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR15CScriptMazeNode" -"Visit__20TCastToPtr<7CPlayer>FR15CScriptMazeNode": -/* 800AC1E8 000A9148 38 00 00 00 */ li r0, 0 -/* 800AC1EC 000A914C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC1F0 000A9150 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR16CScriptGunTurret" -"Visit__20TCastToPtr<7CPlayer>FR16CScriptGunTurret": -/* 800AC1F4 000A9154 38 00 00 00 */ li r0, 0 -/* 800AC1F8 000A9158 90 03 00 04 */ stw r0, 4(r3) -/* 800AC1FC 000A915C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR19CScriptGrapplePoint" -"Visit__20TCastToPtr<7CPlayer>FR19CScriptGrapplePoint": -/* 800AC200 000A9160 38 00 00 00 */ li r0, 0 -/* 800AC204 000A9164 90 03 00 04 */ stw r0, 4(r3) -/* 800AC208 000A9168 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR13CScriptEffect" -"Visit__20TCastToPtr<7CPlayer>FR13CScriptEffect": -/* 800AC20C 000A916C 38 00 00 00 */ li r0, 0 -/* 800AC210 000A9170 90 03 00 04 */ stw r0, 4(r3) -/* 800AC214 000A9174 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR11CScriptDoor" -"Visit__20TCastToPtr<7CPlayer>FR11CScriptDoor": -/* 800AC218 000A9178 38 00 00 00 */ li r0, 0 -/* 800AC21C 000A917C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC220 000A9180 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR11CScriptDock" -"Visit__20TCastToPtr<7CPlayer>FR11CScriptDock": -/* 800AC224 000A9184 38 00 00 00 */ li r0, 0 -/* 800AC228 000A9188 90 03 00 04 */ stw r0, 4(r3) -/* 800AC22C 000A918C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR18CScriptDistanceFog" -"Visit__20TCastToPtr<7CPlayer>FR18CScriptDistanceFog": -/* 800AC230 000A9190 38 00 00 00 */ li r0, 0 -/* 800AC234 000A9194 90 03 00 04 */ stw r0, 4(r3) -/* 800AC238 000A9198 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR26CScriptDebugCameraWaypoint" -"Visit__20TCastToPtr<7CPlayer>FR26CScriptDebugCameraWaypoint": -/* 800AC23C 000A919C 38 00 00 00 */ li r0, 0 -/* 800AC240 000A91A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC244 000A91A4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptCoverPoint" -"Visit__20TCastToPtr<7CPlayer>FR17CScriptCoverPoint": -/* 800AC248 000A91A8 38 00 00 00 */ li r0, 0 -/* 800AC24C 000A91AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC250 000A91B0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR21CScriptCameraWaypoint" -"Visit__20TCastToPtr<7CPlayer>FR21CScriptCameraWaypoint": -/* 800AC254 000A91B4 38 00 00 00 */ li r0, 0 -/* 800AC258 000A91B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC25C 000A91BC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR24CScriptCameraPitchVolume" -"Visit__20TCastToPtr<7CPlayer>FR24CScriptCameraPitchVolume": -/* 800AC260 000A91C0 38 00 00 00 */ li r0, 0 -/* 800AC264 000A91C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC268 000A91C8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR17CScriptCameraHint" -"Visit__20TCastToPtr<7CPlayer>FR17CScriptCameraHint": -/* 800AC26C 000A91CC 38 00 00 00 */ li r0, 0 -/* 800AC270 000A91D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC274 000A91D4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR18CScriptAiJumpPoint" -"Visit__20TCastToPtr<7CPlayer>FR18CScriptAiJumpPoint": -/* 800AC278 000A91D8 38 00 00 00 */ li r0, 0 -/* 800AC27C 000A91DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC280 000A91E0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR20CScriptActorKeyframe" -"Visit__20TCastToPtr<7CPlayer>FR20CScriptActorKeyframe": -/* 800AC284 000A91E4 38 00 00 00 */ li r0, 0 -/* 800AC288 000A91E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC28C 000A91EC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR12CScriptActor" -"Visit__20TCastToPtr<7CPlayer>FR12CScriptActor": -/* 800AC290 000A91F0 38 00 00 00 */ li r0, 0 -/* 800AC294 000A91F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC298 000A91F8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR9CRepulsor" -"Visit__20TCastToPtr<7CPlayer>FR9CRepulsor": -/* 800AC29C 000A91FC 38 00 00 00 */ li r0, 0 -/* 800AC2A0 000A9200 90 03 00 04 */ stw r0, 4(r3) -/* 800AC2A4 000A9204 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR7CPlayer" -"Visit__20TCastToPtr<7CPlayer>FR7CPlayer": -/* 800AC2A8 000A9208 90 83 00 04 */ stw r4, 4(r3) -/* 800AC2AC 000A920C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR13CPhysicsActor" -"Visit__20TCastToPtr<7CPlayer>FR13CPhysicsActor": -/* 800AC2B0 000A9210 38 00 00 00 */ li r0, 0 -/* 800AC2B4 000A9214 90 03 00 04 */ stw r0, 4(r3) -/* 800AC2B8 000A9218 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR3CAi" -"Visit__20TCastToPtr<7CPlayer>FR3CAi": -/* 800AC2BC 000A921C 38 00 00 00 */ li r0, 0 -/* 800AC2C0 000A9220 90 03 00 04 */ stw r0, 4(r3) -/* 800AC2C4 000A9224 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR11CPathCamera" -"Visit__20TCastToPtr<7CPlayer>FR11CPathCamera": -/* 800AC2C8 000A9228 38 00 00 00 */ li r0, 0 -/* 800AC2CC 000A922C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC2D0 000A9230 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR18CMetroidPrimeRelay" -"Visit__20TCastToPtr<7CPlayer>FR18CMetroidPrimeRelay": -/* 800AC2D4 000A9234 38 00 00 00 */ li r0, 0 -/* 800AC2D8 000A9238 90 03 00 04 */ stw r0, 4(r3) -/* 800AC2DC 000A923C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR19CHUDBillboardEffect" -"Visit__20TCastToPtr<7CPlayer>FR19CHUDBillboardEffect": -/* 800AC2E0 000A9240 38 00 00 00 */ li r0, 0 -/* 800AC2E4 000A9244 90 03 00 04 */ stw r0, 4(r3) -/* 800AC2E8 000A9248 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR15CGameProjectile" -"Visit__20TCastToPtr<7CPlayer>FR15CGameProjectile": -/* 800AC2EC 000A924C 38 00 00 00 */ li r0, 0 -/* 800AC2F0 000A9250 90 03 00 04 */ stw r0, 4(r3) -/* 800AC2F4 000A9254 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR10CGameLight" -"Visit__20TCastToPtr<7CPlayer>FR10CGameLight": -/* 800AC2F8 000A9258 38 00 00 00 */ li r0, 0 -/* 800AC2FC 000A925C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC300 000A9260 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR11CGameCamera" -"Visit__20TCastToPtr<7CPlayer>FR11CGameCamera": -/* 800AC304 000A9264 38 00 00 00 */ li r0, 0 -/* 800AC308 000A9268 90 03 00 04 */ stw r0, 4(r3) -/* 800AC30C 000A926C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR10CFishCloud" -"Visit__20TCastToPtr<7CPlayer>FR10CFishCloud": -/* 800AC310 000A9270 38 00 00 00 */ li r0, 0 -/* 800AC314 000A9274 90 03 00 04 */ stw r0, 4(r3) -/* 800AC318 000A9278 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR18CFirstPersonCamera" -"Visit__20TCastToPtr<7CPlayer>FR18CFirstPersonCamera": -/* 800AC31C 000A927C 38 00 00 00 */ li r0, 0 -/* 800AC320 000A9280 90 03 00 04 */ stw r0, 4(r3) -/* 800AC324 000A9284 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR10CExplosion" -"Visit__20TCastToPtr<7CPlayer>FR10CExplosion": -/* 800AC328 000A9288 38 00 00 00 */ li r0, 0 -/* 800AC32C 000A928C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC330 000A9290 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR7CEntity" -"Visit__20TCastToPtr<7CPlayer>FR7CEntity": -/* 800AC334 000A9294 38 00 00 00 */ li r0, 0 -/* 800AC338 000A9298 90 03 00 04 */ stw r0, 4(r3) -/* 800AC33C 000A929C 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR17CEnergyProjectile" -"Visit__20TCastToPtr<7CPlayer>FR17CEnergyProjectile": -/* 800AC340 000A92A0 38 00 00 00 */ li r0, 0 -/* 800AC344 000A92A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC348 000A92A8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR16CDestroyableRock" -"Visit__20TCastToPtr<7CPlayer>FR16CDestroyableRock": -/* 800AC34C 000A92AC 38 00 00 00 */ li r0, 0 -/* 800AC350 000A92B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC354 000A92B4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR15CCollisionActor" -"Visit__20TCastToPtr<7CPlayer>FR15CCollisionActor": -/* 800AC358 000A92B8 38 00 00 00 */ li r0, 0 -/* 800AC35C 000A92BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC360 000A92C0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR16CCinematicCamera" -"Visit__20TCastToPtr<7CPlayer>FR16CCinematicCamera": -/* 800AC364 000A92C4 38 00 00 00 */ li r0, 0 -/* 800AC368 000A92C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC36C 000A92CC 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR5CBomb" -"Visit__20TCastToPtr<7CPlayer>FR5CBomb": -/* 800AC370 000A92D0 38 00 00 00 */ li r0, 0 -/* 800AC374 000A92D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC378 000A92D8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR11CBallCamera" -"Visit__20TCastToPtr<7CPlayer>FR11CBallCamera": -/* 800AC37C 000A92DC 38 00 00 00 */ li r0, 0 -/* 800AC380 000A92E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC384 000A92E4 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CPlayer>FR6CActor" -"Visit__20TCastToPtr<7CPlayer>FR6CActor": -/* 800AC388 000A92E8 38 00 00 00 */ li r0, 0 -/* 800AC38C 000A92EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC390 000A92F0 4E 80 00 20 */ blr - -.global "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -"__ct__20TCastToPtr<7CPlayer>FP7CEntity": -/* 800AC394 000A92F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AC398 000A92F8 7C 08 02 A6 */ mflr r0 -/* 800AC39C 000A92FC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AC3A0 000A9300 3C A0 80 3E */ lis r5, lbl_803DCFF8@ha -/* 800AC3A4 000A9304 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AC3A8 000A9308 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AC3AC 000A930C 28 04 00 00 */ cmplwi r4, 0 -/* 800AC3B0 000A9310 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AC3B4 000A9314 7C 7F 1B 78 */ mr r31, r3 -/* 800AC3B8 000A9318 38 65 CF F8 */ addi r3, r5, lbl_803DCFF8@l -/* 800AC3BC 000A931C 90 1F 00 00 */ stw r0, 0(r31) -/* 800AC3C0 000A9320 38 00 00 00 */ li r0, 0 -/* 800AC3C4 000A9324 90 7F 00 00 */ stw r3, 0(r31) -/* 800AC3C8 000A9328 90 1F 00 04 */ stw r0, 4(r31) -/* 800AC3CC 000A932C 41 82 00 1C */ beq lbl_800AC3E8 -/* 800AC3D0 000A9330 7C 83 23 78 */ mr r3, r4 -/* 800AC3D4 000A9334 7F E4 FB 78 */ mr r4, r31 -/* 800AC3D8 000A9338 81 83 00 00 */ lwz r12, 0(r3) -/* 800AC3DC 000A933C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AC3E0 000A9340 7D 89 03 A6 */ mtctr r12 -/* 800AC3E4 000A9344 4E 80 04 21 */ bctrl -lbl_800AC3E8: -/* 800AC3E8 000A9348 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AC3EC 000A934C 7F E3 FB 78 */ mr r3, r31 -/* 800AC3F0 000A9350 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AC3F4 000A9354 7C 08 03 A6 */ mtlr r0 -/* 800AC3F8 000A9358 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AC3FC 000A935C 4E 80 00 20 */ blr - -.global "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -"__ct__20TCastToPtr<7CPlayer>FR7CEntity": -/* 800AC400 000A9360 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AC404 000A9364 7C 08 02 A6 */ mflr r0 -/* 800AC408 000A9368 3C A0 80 3E */ lis r5, lbl_803DCFF8@ha -/* 800AC40C 000A936C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AC410 000A9370 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AC414 000A9374 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AC418 000A9378 38 A5 CF F8 */ addi r5, r5, lbl_803DCFF8@l -/* 800AC41C 000A937C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AC420 000A9380 7C 7F 1B 78 */ mr r31, r3 -/* 800AC424 000A9384 90 03 00 00 */ stw r0, 0(r3) -/* 800AC428 000A9388 7C 83 23 78 */ mr r3, r4 -/* 800AC42C 000A938C 38 00 00 00 */ li r0, 0 -/* 800AC430 000A9390 7F E4 FB 78 */ mr r4, r31 -/* 800AC434 000A9394 90 BF 00 00 */ stw r5, 0(r31) -/* 800AC438 000A9398 90 1F 00 04 */ stw r0, 4(r31) -/* 800AC43C 000A939C 81 83 00 00 */ lwz r12, 0(r3) -/* 800AC440 000A93A0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AC444 000A93A4 7D 89 03 A6 */ mtctr r12 -/* 800AC448 000A93A8 4E 80 04 21 */ bctrl -/* 800AC44C 000A93AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AC450 000A93B0 7F E3 FB 78 */ mr r3, r31 -/* 800AC454 000A93B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AC458 000A93B8 7C 08 03 A6 */ mtlr r0 -/* 800AC45C 000A93BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AC460 000A93C0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR7CWeapon" -"Visit__27TCastToPtr<13CPhysicsActor>FR7CWeapon": -/* 800AC464 000A93C4 38 00 00 00 */ li r0, 0 -/* 800AC468 000A93C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC46C 000A93CC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CWallCrawlerSwarm" -"Visit__27TCastToPtr<13CPhysicsActor>FR17CWallCrawlerSwarm": -/* 800AC470 000A93D0 38 00 00 00 */ li r0, 0 -/* 800AC474 000A93D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC478 000A93D8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptSpindleCamera" -"Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptSpindleCamera": -/* 800AC47C 000A93DC 38 00 00 00 */ li r0, 0 -/* 800AC480 000A93E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC484 000A93E4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CSnakeWeedSwarm" -"Visit__27TCastToPtr<13CPhysicsActor>FR15CSnakeWeedSwarm": -/* 800AC488 000A93E8 38 00 00 00 */ li r0, 0 -/* 800AC48C 000A93EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC490 000A93F0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptWaypoint" -"Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptWaypoint": -/* 800AC494 000A93F4 38 00 00 00 */ li r0, 0 -/* 800AC498 000A93F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC49C 000A93FC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptWater" -"Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptWater": -/* 800AC4A0 000A9400 38 00 00 00 */ li r0, 0 -/* 800AC4A4 000A9404 90 03 00 04 */ stw r0, 4(r3) -/* 800AC4A8 000A9408 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptVisorFlare" -"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptVisorFlare": -/* 800AC4AC 000A940C 38 00 00 00 */ li r0, 0 -/* 800AC4B0 000A9410 90 03 00 04 */ stw r0, 4(r3) -/* 800AC4B4 000A9414 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR14CScriptTrigger" -"Visit__27TCastToPtr<13CPhysicsActor>FR14CScriptTrigger": -/* 800AC4B8 000A9418 38 00 00 00 */ li r0, 0 -/* 800AC4BC 000A941C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC4C0 000A9420 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptTimer" -"Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptTimer": -/* 800AC4C4 000A9424 38 00 00 00 */ li r0, 0 -/* 800AC4C8 000A9428 90 03 00 04 */ stw r0, 4(r3) -/* 800AC4CC 000A942C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR10CTeamAiMgr" -"Visit__27TCastToPtr<13CPhysicsActor>FR10CTeamAiMgr": -/* 800AC4D0 000A9430 38 00 00 00 */ li r0, 0 -/* 800AC4D4 000A9434 90 03 00 04 */ stw r0, 4(r3) -/* 800AC4D8 000A9438 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR21CScriptTargetingPoint" -"Visit__27TCastToPtr<13CPhysicsActor>FR21CScriptTargetingPoint": -/* 800AC4DC 000A943C 38 00 00 00 */ li r0, 0 -/* 800AC4E0 000A9440 90 03 00 04 */ stw r0, 4(r3) -/* 800AC4E4 000A9444 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR25CScriptSpiderBallWaypoint" -"Visit__27TCastToPtr<13CPhysicsActor>FR25CScriptSpiderBallWaypoint": -/* 800AC4E8 000A9448 38 00 00 00 */ li r0, 0 -/* 800AC4EC 000A944C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC4F0 000A9450 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR34CScriptSpiderBallAttractionSurface" -"Visit__27TCastToPtr<13CPhysicsActor>FR34CScriptSpiderBallAttractionSurface": -/* 800AC4F4 000A9454 38 00 00 00 */ li r0, 0 -/* 800AC4F8 000A9458 90 03 00 04 */ stw r0, 4(r3) -/* 800AC4FC 000A945C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR22CScriptSpecialFunction" -"Visit__27TCastToPtr<13CPhysicsActor>FR22CScriptSpecialFunction": -/* 800AC500 000A9460 38 00 00 00 */ li r0, 0 -/* 800AC504 000A9464 90 03 00 04 */ stw r0, 4(r3) -/* 800AC508 000A9468 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptSpawnPoint" -"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptSpawnPoint": -/* 800AC50C 000A946C 38 00 00 00 */ li r0, 0 -/* 800AC510 000A9470 90 03 00 04 */ stw r0, 4(r3) -/* 800AC514 000A9474 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptSound" -"Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptSound": -/* 800AC518 000A9478 38 00 00 00 */ li r0, 0 -/* 800AC51C 000A947C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC520 000A9480 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptRoomAcoustics" -"Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptRoomAcoustics": -/* 800AC524 000A9484 38 00 00 00 */ li r0, 0 -/* 800AC528 000A9488 90 03 00 04 */ stw r0, 4(r3) -/* 800AC52C 000A948C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR22CScriptPointOfinterest" -"Visit__27TCastToPtr<13CPhysicsActor>FR22CScriptPointOfinterest": -/* 800AC530 000A9490 38 00 00 00 */ li r0, 0 -/* 800AC534 000A9494 90 03 00 04 */ stw r0, 4(r3) -/* 800AC538 000A9498 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptPlayerHint" -"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptPlayerHint": -/* 800AC53C 000A949C 38 00 00 00 */ li r0, 0 -/* 800AC540 000A94A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC544 000A94A4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptPlatform" -"Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptPlatform": -/* 800AC548 000A94A8 90 83 00 04 */ stw r4, 4(r3) -/* 800AC54C 000A94AC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR13CScriptPickup" -"Visit__27TCastToPtr<13CPhysicsActor>FR13CScriptPickup": -/* 800AC550 000A94B0 90 83 00 04 */ stw r4, 4(r3) -/* 800AC554 000A94B4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptMazeNode" -"Visit__27TCastToPtr<13CPhysicsActor>FR15CScriptMazeNode": -/* 800AC558 000A94B8 38 00 00 00 */ li r0, 0 -/* 800AC55C 000A94BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC560 000A94C0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR16CScriptGunTurret" -"Visit__27TCastToPtr<13CPhysicsActor>FR16CScriptGunTurret": -/* 800AC564 000A94C4 90 83 00 04 */ stw r4, 4(r3) -/* 800AC568 000A94C8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR19CScriptGrapplePoint" -"Visit__27TCastToPtr<13CPhysicsActor>FR19CScriptGrapplePoint": -/* 800AC56C 000A94CC 38 00 00 00 */ li r0, 0 -/* 800AC570 000A94D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC574 000A94D4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR13CScriptEffect" -"Visit__27TCastToPtr<13CPhysicsActor>FR13CScriptEffect": -/* 800AC578 000A94D8 38 00 00 00 */ li r0, 0 -/* 800AC57C 000A94DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC580 000A94E0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CScriptDoor" -"Visit__27TCastToPtr<13CPhysicsActor>FR11CScriptDoor": -/* 800AC584 000A94E4 90 83 00 04 */ stw r4, 4(r3) -/* 800AC588 000A94E8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CScriptDock" -"Visit__27TCastToPtr<13CPhysicsActor>FR11CScriptDock": -/* 800AC58C 000A94EC 90 83 00 04 */ stw r4, 4(r3) -/* 800AC590 000A94F0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR18CScriptDistanceFog" -"Visit__27TCastToPtr<13CPhysicsActor>FR18CScriptDistanceFog": -/* 800AC594 000A94F4 38 00 00 00 */ li r0, 0 -/* 800AC598 000A94F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC59C 000A94FC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR26CScriptDebugCameraWaypoint" -"Visit__27TCastToPtr<13CPhysicsActor>FR26CScriptDebugCameraWaypoint": -/* 800AC5A0 000A9500 38 00 00 00 */ li r0, 0 -/* 800AC5A4 000A9504 90 03 00 04 */ stw r0, 4(r3) -/* 800AC5A8 000A9508 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptCoverPoint" -"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptCoverPoint": -/* 800AC5AC 000A950C 38 00 00 00 */ li r0, 0 -/* 800AC5B0 000A9510 90 03 00 04 */ stw r0, 4(r3) -/* 800AC5B4 000A9514 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR21CScriptCameraWaypoint" -"Visit__27TCastToPtr<13CPhysicsActor>FR21CScriptCameraWaypoint": -/* 800AC5B8 000A9518 38 00 00 00 */ li r0, 0 -/* 800AC5BC 000A951C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC5C0 000A9520 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR24CScriptCameraPitchVolume" -"Visit__27TCastToPtr<13CPhysicsActor>FR24CScriptCameraPitchVolume": -/* 800AC5C4 000A9524 38 00 00 00 */ li r0, 0 -/* 800AC5C8 000A9528 90 03 00 04 */ stw r0, 4(r3) -/* 800AC5CC 000A952C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptCameraHint" -"Visit__27TCastToPtr<13CPhysicsActor>FR17CScriptCameraHint": -/* 800AC5D0 000A9530 38 00 00 00 */ li r0, 0 -/* 800AC5D4 000A9534 90 03 00 04 */ stw r0, 4(r3) -/* 800AC5D8 000A9538 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR18CScriptAiJumpPoint" -"Visit__27TCastToPtr<13CPhysicsActor>FR18CScriptAiJumpPoint": -/* 800AC5DC 000A953C 38 00 00 00 */ li r0, 0 -/* 800AC5E0 000A9540 90 03 00 04 */ stw r0, 4(r3) -/* 800AC5E4 000A9544 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptActorKeyframe" -"Visit__27TCastToPtr<13CPhysicsActor>FR20CScriptActorKeyframe": -/* 800AC5E8 000A9548 38 00 00 00 */ li r0, 0 -/* 800AC5EC 000A954C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC5F0 000A9550 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptActor" -"Visit__27TCastToPtr<13CPhysicsActor>FR12CScriptActor": -/* 800AC5F4 000A9554 90 83 00 04 */ stw r4, 4(r3) -/* 800AC5F8 000A9558 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR9CRepulsor" -"Visit__27TCastToPtr<13CPhysicsActor>FR9CRepulsor": -/* 800AC5FC 000A955C 38 00 00 00 */ li r0, 0 -/* 800AC600 000A9560 90 03 00 04 */ stw r0, 4(r3) -/* 800AC604 000A9564 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR7CPlayer" -"Visit__27TCastToPtr<13CPhysicsActor>FR7CPlayer": -/* 800AC608 000A9568 90 83 00 04 */ stw r4, 4(r3) -/* 800AC60C 000A956C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR13CPhysicsActor" -"Visit__27TCastToPtr<13CPhysicsActor>FR13CPhysicsActor": -/* 800AC610 000A9570 90 83 00 04 */ stw r4, 4(r3) -/* 800AC614 000A9574 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR3CAi" -"Visit__27TCastToPtr<13CPhysicsActor>FR3CAi": -/* 800AC618 000A9578 90 83 00 04 */ stw r4, 4(r3) -/* 800AC61C 000A957C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CPathCamera" -"Visit__27TCastToPtr<13CPhysicsActor>FR11CPathCamera": -/* 800AC620 000A9580 38 00 00 00 */ li r0, 0 -/* 800AC624 000A9584 90 03 00 04 */ stw r0, 4(r3) -/* 800AC628 000A9588 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR18CMetroidPrimeRelay" -"Visit__27TCastToPtr<13CPhysicsActor>FR18CMetroidPrimeRelay": -/* 800AC62C 000A958C 38 00 00 00 */ li r0, 0 -/* 800AC630 000A9590 90 03 00 04 */ stw r0, 4(r3) -/* 800AC634 000A9594 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR19CHUDBillboardEffect" -"Visit__27TCastToPtr<13CPhysicsActor>FR19CHUDBillboardEffect": -/* 800AC638 000A9598 38 00 00 00 */ li r0, 0 -/* 800AC63C 000A959C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC640 000A95A0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CGameProjectile" -"Visit__27TCastToPtr<13CPhysicsActor>FR15CGameProjectile": -/* 800AC644 000A95A4 38 00 00 00 */ li r0, 0 -/* 800AC648 000A95A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC64C 000A95AC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR10CGameLight" -"Visit__27TCastToPtr<13CPhysicsActor>FR10CGameLight": -/* 800AC650 000A95B0 38 00 00 00 */ li r0, 0 -/* 800AC654 000A95B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC658 000A95B8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CGameCamera" -"Visit__27TCastToPtr<13CPhysicsActor>FR11CGameCamera": -/* 800AC65C 000A95BC 38 00 00 00 */ li r0, 0 -/* 800AC660 000A95C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC664 000A95C4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR10CFishCloud" -"Visit__27TCastToPtr<13CPhysicsActor>FR10CFishCloud": -/* 800AC668 000A95C8 38 00 00 00 */ li r0, 0 -/* 800AC66C 000A95CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC670 000A95D0 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR18CFirstPersonCamera" -"Visit__27TCastToPtr<13CPhysicsActor>FR18CFirstPersonCamera": -/* 800AC674 000A95D4 38 00 00 00 */ li r0, 0 -/* 800AC678 000A95D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC67C 000A95DC 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR10CExplosion" -"Visit__27TCastToPtr<13CPhysicsActor>FR10CExplosion": -/* 800AC680 000A95E0 38 00 00 00 */ li r0, 0 -/* 800AC684 000A95E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC688 000A95E8 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR7CEntity" -"Visit__27TCastToPtr<13CPhysicsActor>FR7CEntity": -/* 800AC68C 000A95EC 38 00 00 00 */ li r0, 0 -/* 800AC690 000A95F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC694 000A95F4 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR17CEnergyProjectile" -"Visit__27TCastToPtr<13CPhysicsActor>FR17CEnergyProjectile": -/* 800AC698 000A95F8 38 00 00 00 */ li r0, 0 -/* 800AC69C 000A95FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC6A0 000A9600 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR16CDestroyableRock" -"Visit__27TCastToPtr<13CPhysicsActor>FR16CDestroyableRock": -/* 800AC6A4 000A9604 90 83 00 04 */ stw r4, 4(r3) -/* 800AC6A8 000A9608 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR15CCollisionActor" -"Visit__27TCastToPtr<13CPhysicsActor>FR15CCollisionActor": -/* 800AC6AC 000A960C 90 83 00 04 */ stw r4, 4(r3) -/* 800AC6B0 000A9610 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR16CCinematicCamera" -"Visit__27TCastToPtr<13CPhysicsActor>FR16CCinematicCamera": -/* 800AC6B4 000A9614 38 00 00 00 */ li r0, 0 -/* 800AC6B8 000A9618 90 03 00 04 */ stw r0, 4(r3) -/* 800AC6BC 000A961C 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR5CBomb" -"Visit__27TCastToPtr<13CPhysicsActor>FR5CBomb": -/* 800AC6C0 000A9620 38 00 00 00 */ li r0, 0 -/* 800AC6C4 000A9624 90 03 00 04 */ stw r0, 4(r3) -/* 800AC6C8 000A9628 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR11CBallCamera" -"Visit__27TCastToPtr<13CPhysicsActor>FR11CBallCamera": -/* 800AC6CC 000A962C 38 00 00 00 */ li r0, 0 -/* 800AC6D0 000A9630 90 03 00 04 */ stw r0, 4(r3) -/* 800AC6D4 000A9634 4E 80 00 20 */ blr - -.global "Visit__27TCastToPtr<13CPhysicsActor>FR6CActor" -"Visit__27TCastToPtr<13CPhysicsActor>FR6CActor": -/* 800AC6D8 000A9638 38 00 00 00 */ li r0, 0 -/* 800AC6DC 000A963C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC6E0 000A9640 4E 80 00 20 */ blr - -.global "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -"__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity": -/* 800AC6E4 000A9644 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AC6E8 000A9648 7C 08 02 A6 */ mflr r0 -/* 800AC6EC 000A964C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AC6F0 000A9650 3C A0 80 3E */ lis r5, lbl_803DCF0C@ha -/* 800AC6F4 000A9654 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AC6F8 000A9658 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AC6FC 000A965C 28 04 00 00 */ cmplwi r4, 0 -/* 800AC700 000A9660 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AC704 000A9664 7C 7F 1B 78 */ mr r31, r3 -/* 800AC708 000A9668 38 65 CF 0C */ addi r3, r5, lbl_803DCF0C@l -/* 800AC70C 000A966C 90 1F 00 00 */ stw r0, 0(r31) -/* 800AC710 000A9670 38 00 00 00 */ li r0, 0 -/* 800AC714 000A9674 90 7F 00 00 */ stw r3, 0(r31) -/* 800AC718 000A9678 90 1F 00 04 */ stw r0, 4(r31) -/* 800AC71C 000A967C 41 82 00 1C */ beq lbl_800AC738 -/* 800AC720 000A9680 7C 83 23 78 */ mr r3, r4 -/* 800AC724 000A9684 7F E4 FB 78 */ mr r4, r31 -/* 800AC728 000A9688 81 83 00 00 */ lwz r12, 0(r3) -/* 800AC72C 000A968C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AC730 000A9690 7D 89 03 A6 */ mtctr r12 -/* 800AC734 000A9694 4E 80 04 21 */ bctrl -lbl_800AC738: -/* 800AC738 000A9698 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AC73C 000A969C 7F E3 FB 78 */ mr r3, r31 -/* 800AC740 000A96A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AC744 000A96A4 7C 08 03 A6 */ mtlr r0 -/* 800AC748 000A96A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AC74C 000A96AC 4E 80 00 20 */ blr - -.global "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" -"__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity": -/* 800AC750 000A96B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AC754 000A96B4 7C 08 02 A6 */ mflr r0 -/* 800AC758 000A96B8 3C A0 80 3E */ lis r5, lbl_803DCF0C@ha -/* 800AC75C 000A96BC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AC760 000A96C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AC764 000A96C4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AC768 000A96C8 38 A5 CF 0C */ addi r5, r5, lbl_803DCF0C@l -/* 800AC76C 000A96CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AC770 000A96D0 7C 7F 1B 78 */ mr r31, r3 -/* 800AC774 000A96D4 90 03 00 00 */ stw r0, 0(r3) -/* 800AC778 000A96D8 7C 83 23 78 */ mr r3, r4 -/* 800AC77C 000A96DC 38 00 00 00 */ li r0, 0 -/* 800AC780 000A96E0 7F E4 FB 78 */ mr r4, r31 -/* 800AC784 000A96E4 90 BF 00 00 */ stw r5, 0(r31) -/* 800AC788 000A96E8 90 1F 00 04 */ stw r0, 4(r31) -/* 800AC78C 000A96EC 81 83 00 00 */ lwz r12, 0(r3) -/* 800AC790 000A96F0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AC794 000A96F4 7D 89 03 A6 */ mtctr r12 -/* 800AC798 000A96F8 4E 80 04 21 */ bctrl -/* 800AC79C 000A96FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AC7A0 000A9700 7F E3 FB 78 */ mr r3, r31 -/* 800AC7A4 000A9704 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AC7A8 000A9708 7C 08 03 A6 */ mtlr r0 -/* 800AC7AC 000A970C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AC7B0 000A9710 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR7CWeapon" -"Visit__16TCastToPtr<3CAi>FR7CWeapon": -/* 800AC7B4 000A9714 38 00 00 00 */ li r0, 0 -/* 800AC7B8 000A9718 90 03 00 04 */ stw r0, 4(r3) -/* 800AC7BC 000A971C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR17CWallCrawlerSwarm" -"Visit__16TCastToPtr<3CAi>FR17CWallCrawlerSwarm": -/* 800AC7C0 000A9720 38 00 00 00 */ li r0, 0 -/* 800AC7C4 000A9724 90 03 00 04 */ stw r0, 4(r3) -/* 800AC7C8 000A9728 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR20CScriptSpindleCamera" -"Visit__16TCastToPtr<3CAi>FR20CScriptSpindleCamera": -/* 800AC7CC 000A972C 38 00 00 00 */ li r0, 0 -/* 800AC7D0 000A9730 90 03 00 04 */ stw r0, 4(r3) -/* 800AC7D4 000A9734 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR15CSnakeWeedSwarm" -"Visit__16TCastToPtr<3CAi>FR15CSnakeWeedSwarm": -/* 800AC7D8 000A9738 38 00 00 00 */ li r0, 0 -/* 800AC7DC 000A973C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC7E0 000A9740 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR15CScriptWaypoint" -"Visit__16TCastToPtr<3CAi>FR15CScriptWaypoint": -/* 800AC7E4 000A9744 38 00 00 00 */ li r0, 0 -/* 800AC7E8 000A9748 90 03 00 04 */ stw r0, 4(r3) -/* 800AC7EC 000A974C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR12CScriptWater" -"Visit__16TCastToPtr<3CAi>FR12CScriptWater": -/* 800AC7F0 000A9750 38 00 00 00 */ li r0, 0 -/* 800AC7F4 000A9754 90 03 00 04 */ stw r0, 4(r3) -/* 800AC7F8 000A9758 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR17CScriptVisorFlare" -"Visit__16TCastToPtr<3CAi>FR17CScriptVisorFlare": -/* 800AC7FC 000A975C 38 00 00 00 */ li r0, 0 -/* 800AC800 000A9760 90 03 00 04 */ stw r0, 4(r3) -/* 800AC804 000A9764 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR14CScriptTrigger" -"Visit__16TCastToPtr<3CAi>FR14CScriptTrigger": -/* 800AC808 000A9768 38 00 00 00 */ li r0, 0 -/* 800AC80C 000A976C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC810 000A9770 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR12CScriptTimer" -"Visit__16TCastToPtr<3CAi>FR12CScriptTimer": -/* 800AC814 000A9774 38 00 00 00 */ li r0, 0 -/* 800AC818 000A9778 90 03 00 04 */ stw r0, 4(r3) -/* 800AC81C 000A977C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR10CTeamAiMgr" -"Visit__16TCastToPtr<3CAi>FR10CTeamAiMgr": -/* 800AC820 000A9780 38 00 00 00 */ li r0, 0 -/* 800AC824 000A9784 90 03 00 04 */ stw r0, 4(r3) -/* 800AC828 000A9788 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR21CScriptTargetingPoint" -"Visit__16TCastToPtr<3CAi>FR21CScriptTargetingPoint": -/* 800AC82C 000A978C 38 00 00 00 */ li r0, 0 -/* 800AC830 000A9790 90 03 00 04 */ stw r0, 4(r3) -/* 800AC834 000A9794 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR25CScriptSpiderBallWaypoint" -"Visit__16TCastToPtr<3CAi>FR25CScriptSpiderBallWaypoint": -/* 800AC838 000A9798 38 00 00 00 */ li r0, 0 -/* 800AC83C 000A979C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC840 000A97A0 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR34CScriptSpiderBallAttractionSurface" -"Visit__16TCastToPtr<3CAi>FR34CScriptSpiderBallAttractionSurface": -/* 800AC844 000A97A4 38 00 00 00 */ li r0, 0 -/* 800AC848 000A97A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC84C 000A97AC 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR22CScriptSpecialFunction" -"Visit__16TCastToPtr<3CAi>FR22CScriptSpecialFunction": -/* 800AC850 000A97B0 38 00 00 00 */ li r0, 0 -/* 800AC854 000A97B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC858 000A97B8 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR17CScriptSpawnPoint" -"Visit__16TCastToPtr<3CAi>FR17CScriptSpawnPoint": -/* 800AC85C 000A97BC 38 00 00 00 */ li r0, 0 -/* 800AC860 000A97C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC864 000A97C4 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR12CScriptSound" -"Visit__16TCastToPtr<3CAi>FR12CScriptSound": -/* 800AC868 000A97C8 38 00 00 00 */ li r0, 0 -/* 800AC86C 000A97CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC870 000A97D0 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR20CScriptRoomAcoustics" -"Visit__16TCastToPtr<3CAi>FR20CScriptRoomAcoustics": -/* 800AC874 000A97D4 38 00 00 00 */ li r0, 0 -/* 800AC878 000A97D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC87C 000A97DC 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR22CScriptPointOfinterest" -"Visit__16TCastToPtr<3CAi>FR22CScriptPointOfinterest": -/* 800AC880 000A97E0 38 00 00 00 */ li r0, 0 -/* 800AC884 000A97E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC888 000A97E8 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR17CScriptPlayerHint" -"Visit__16TCastToPtr<3CAi>FR17CScriptPlayerHint": -/* 800AC88C 000A97EC 38 00 00 00 */ li r0, 0 -/* 800AC890 000A97F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC894 000A97F4 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR15CScriptPlatform" -"Visit__16TCastToPtr<3CAi>FR15CScriptPlatform": -/* 800AC898 000A97F8 38 00 00 00 */ li r0, 0 -/* 800AC89C 000A97FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC8A0 000A9800 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR13CScriptPickup" -"Visit__16TCastToPtr<3CAi>FR13CScriptPickup": -/* 800AC8A4 000A9804 38 00 00 00 */ li r0, 0 -/* 800AC8A8 000A9808 90 03 00 04 */ stw r0, 4(r3) -/* 800AC8AC 000A980C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR15CScriptMazeNode" -"Visit__16TCastToPtr<3CAi>FR15CScriptMazeNode": -/* 800AC8B0 000A9810 38 00 00 00 */ li r0, 0 -/* 800AC8B4 000A9814 90 03 00 04 */ stw r0, 4(r3) -/* 800AC8B8 000A9818 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR16CScriptGunTurret" -"Visit__16TCastToPtr<3CAi>FR16CScriptGunTurret": -/* 800AC8BC 000A981C 38 00 00 00 */ li r0, 0 -/* 800AC8C0 000A9820 90 03 00 04 */ stw r0, 4(r3) -/* 800AC8C4 000A9824 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR19CScriptGrapplePoint" -"Visit__16TCastToPtr<3CAi>FR19CScriptGrapplePoint": -/* 800AC8C8 000A9828 38 00 00 00 */ li r0, 0 -/* 800AC8CC 000A982C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC8D0 000A9830 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR13CScriptEffect" -"Visit__16TCastToPtr<3CAi>FR13CScriptEffect": -/* 800AC8D4 000A9834 38 00 00 00 */ li r0, 0 -/* 800AC8D8 000A9838 90 03 00 04 */ stw r0, 4(r3) -/* 800AC8DC 000A983C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR11CScriptDoor" -"Visit__16TCastToPtr<3CAi>FR11CScriptDoor": -/* 800AC8E0 000A9840 38 00 00 00 */ li r0, 0 -/* 800AC8E4 000A9844 90 03 00 04 */ stw r0, 4(r3) -/* 800AC8E8 000A9848 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR11CScriptDock" -"Visit__16TCastToPtr<3CAi>FR11CScriptDock": -/* 800AC8EC 000A984C 38 00 00 00 */ li r0, 0 -/* 800AC8F0 000A9850 90 03 00 04 */ stw r0, 4(r3) -/* 800AC8F4 000A9854 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR18CScriptDistanceFog" -"Visit__16TCastToPtr<3CAi>FR18CScriptDistanceFog": -/* 800AC8F8 000A9858 38 00 00 00 */ li r0, 0 -/* 800AC8FC 000A985C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC900 000A9860 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR26CScriptDebugCameraWaypoint" -"Visit__16TCastToPtr<3CAi>FR26CScriptDebugCameraWaypoint": -/* 800AC904 000A9864 38 00 00 00 */ li r0, 0 -/* 800AC908 000A9868 90 03 00 04 */ stw r0, 4(r3) -/* 800AC90C 000A986C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR17CScriptCoverPoint" -"Visit__16TCastToPtr<3CAi>FR17CScriptCoverPoint": -/* 800AC910 000A9870 38 00 00 00 */ li r0, 0 -/* 800AC914 000A9874 90 03 00 04 */ stw r0, 4(r3) -/* 800AC918 000A9878 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR21CScriptCameraWaypoint" -"Visit__16TCastToPtr<3CAi>FR21CScriptCameraWaypoint": -/* 800AC91C 000A987C 38 00 00 00 */ li r0, 0 -/* 800AC920 000A9880 90 03 00 04 */ stw r0, 4(r3) -/* 800AC924 000A9884 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR24CScriptCameraPitchVolume" -"Visit__16TCastToPtr<3CAi>FR24CScriptCameraPitchVolume": -/* 800AC928 000A9888 38 00 00 00 */ li r0, 0 -/* 800AC92C 000A988C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC930 000A9890 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR17CScriptCameraHint" -"Visit__16TCastToPtr<3CAi>FR17CScriptCameraHint": -/* 800AC934 000A9894 38 00 00 00 */ li r0, 0 -/* 800AC938 000A9898 90 03 00 04 */ stw r0, 4(r3) -/* 800AC93C 000A989C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR18CScriptAiJumpPoint" -"Visit__16TCastToPtr<3CAi>FR18CScriptAiJumpPoint": -/* 800AC940 000A98A0 38 00 00 00 */ li r0, 0 -/* 800AC944 000A98A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC948 000A98A8 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR20CScriptActorKeyframe" -"Visit__16TCastToPtr<3CAi>FR20CScriptActorKeyframe": -/* 800AC94C 000A98AC 38 00 00 00 */ li r0, 0 -/* 800AC950 000A98B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC954 000A98B4 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR12CScriptActor" -"Visit__16TCastToPtr<3CAi>FR12CScriptActor": -/* 800AC958 000A98B8 38 00 00 00 */ li r0, 0 -/* 800AC95C 000A98BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AC960 000A98C0 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR9CRepulsor" -"Visit__16TCastToPtr<3CAi>FR9CRepulsor": -/* 800AC964 000A98C4 38 00 00 00 */ li r0, 0 -/* 800AC968 000A98C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AC96C 000A98CC 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR7CPlayer" -"Visit__16TCastToPtr<3CAi>FR7CPlayer": -/* 800AC970 000A98D0 38 00 00 00 */ li r0, 0 -/* 800AC974 000A98D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC978 000A98D8 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR13CPhysicsActor" -"Visit__16TCastToPtr<3CAi>FR13CPhysicsActor": -/* 800AC97C 000A98DC 38 00 00 00 */ li r0, 0 -/* 800AC980 000A98E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AC984 000A98E4 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR3CAi" -"Visit__16TCastToPtr<3CAi>FR3CAi": -/* 800AC988 000A98E8 90 83 00 04 */ stw r4, 4(r3) -/* 800AC98C 000A98EC 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR11CPathCamera" -"Visit__16TCastToPtr<3CAi>FR11CPathCamera": -/* 800AC990 000A98F0 38 00 00 00 */ li r0, 0 -/* 800AC994 000A98F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AC998 000A98F8 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR18CMetroidPrimeRelay" -"Visit__16TCastToPtr<3CAi>FR18CMetroidPrimeRelay": -/* 800AC99C 000A98FC 38 00 00 00 */ li r0, 0 -/* 800AC9A0 000A9900 90 03 00 04 */ stw r0, 4(r3) -/* 800AC9A4 000A9904 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR19CHUDBillboardEffect" -"Visit__16TCastToPtr<3CAi>FR19CHUDBillboardEffect": -/* 800AC9A8 000A9908 38 00 00 00 */ li r0, 0 -/* 800AC9AC 000A990C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC9B0 000A9910 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR15CGameProjectile" -"Visit__16TCastToPtr<3CAi>FR15CGameProjectile": -/* 800AC9B4 000A9914 38 00 00 00 */ li r0, 0 -/* 800AC9B8 000A9918 90 03 00 04 */ stw r0, 4(r3) -/* 800AC9BC 000A991C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR10CGameLight" -"Visit__16TCastToPtr<3CAi>FR10CGameLight": -/* 800AC9C0 000A9920 38 00 00 00 */ li r0, 0 -/* 800AC9C4 000A9924 90 03 00 04 */ stw r0, 4(r3) -/* 800AC9C8 000A9928 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR11CGameCamera" -"Visit__16TCastToPtr<3CAi>FR11CGameCamera": -/* 800AC9CC 000A992C 38 00 00 00 */ li r0, 0 -/* 800AC9D0 000A9930 90 03 00 04 */ stw r0, 4(r3) -/* 800AC9D4 000A9934 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR10CFishCloud" -"Visit__16TCastToPtr<3CAi>FR10CFishCloud": -/* 800AC9D8 000A9938 38 00 00 00 */ li r0, 0 -/* 800AC9DC 000A993C 90 03 00 04 */ stw r0, 4(r3) -/* 800AC9E0 000A9940 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR18CFirstPersonCamera" -"Visit__16TCastToPtr<3CAi>FR18CFirstPersonCamera": -/* 800AC9E4 000A9944 38 00 00 00 */ li r0, 0 -/* 800AC9E8 000A9948 90 03 00 04 */ stw r0, 4(r3) -/* 800AC9EC 000A994C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR10CExplosion" -"Visit__16TCastToPtr<3CAi>FR10CExplosion": -/* 800AC9F0 000A9950 38 00 00 00 */ li r0, 0 -/* 800AC9F4 000A9954 90 03 00 04 */ stw r0, 4(r3) -/* 800AC9F8 000A9958 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR7CEntity" -"Visit__16TCastToPtr<3CAi>FR7CEntity": -/* 800AC9FC 000A995C 38 00 00 00 */ li r0, 0 -/* 800ACA00 000A9960 90 03 00 04 */ stw r0, 4(r3) -/* 800ACA04 000A9964 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR17CEnergyProjectile" -"Visit__16TCastToPtr<3CAi>FR17CEnergyProjectile": -/* 800ACA08 000A9968 38 00 00 00 */ li r0, 0 -/* 800ACA0C 000A996C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACA10 000A9970 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR16CDestroyableRock" -"Visit__16TCastToPtr<3CAi>FR16CDestroyableRock": -/* 800ACA14 000A9974 38 00 00 00 */ li r0, 0 -/* 800ACA18 000A9978 90 03 00 04 */ stw r0, 4(r3) -/* 800ACA1C 000A997C 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR15CCollisionActor" -"Visit__16TCastToPtr<3CAi>FR15CCollisionActor": -/* 800ACA20 000A9980 38 00 00 00 */ li r0, 0 -/* 800ACA24 000A9984 90 03 00 04 */ stw r0, 4(r3) -/* 800ACA28 000A9988 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR16CCinematicCamera" -"Visit__16TCastToPtr<3CAi>FR16CCinematicCamera": -/* 800ACA2C 000A998C 38 00 00 00 */ li r0, 0 -/* 800ACA30 000A9990 90 03 00 04 */ stw r0, 4(r3) -/* 800ACA34 000A9994 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR5CBomb" -"Visit__16TCastToPtr<3CAi>FR5CBomb": -/* 800ACA38 000A9998 38 00 00 00 */ li r0, 0 -/* 800ACA3C 000A999C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACA40 000A99A0 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR11CBallCamera" -"Visit__16TCastToPtr<3CAi>FR11CBallCamera": -/* 800ACA44 000A99A4 38 00 00 00 */ li r0, 0 -/* 800ACA48 000A99A8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACA4C 000A99AC 4E 80 00 20 */ blr - -.global "Visit__16TCastToPtr<3CAi>FR6CActor" -"Visit__16TCastToPtr<3CAi>FR6CActor": -/* 800ACA50 000A99B0 38 00 00 00 */ li r0, 0 -/* 800ACA54 000A99B4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACA58 000A99B8 4E 80 00 20 */ blr - -.global "__ct__16TCastToPtr<3CAi>FP7CEntity" -"__ct__16TCastToPtr<3CAi>FP7CEntity": -/* 800ACA5C 000A99BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ACA60 000A99C0 7C 08 02 A6 */ mflr r0 -/* 800ACA64 000A99C4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800ACA68 000A99C8 3C A0 80 3E */ lis r5, lbl_803DCE20@ha -/* 800ACA6C 000A99CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ACA70 000A99D0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800ACA74 000A99D4 28 04 00 00 */ cmplwi r4, 0 -/* 800ACA78 000A99D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ACA7C 000A99DC 7C 7F 1B 78 */ mr r31, r3 -/* 800ACA80 000A99E0 38 65 CE 20 */ addi r3, r5, lbl_803DCE20@l -/* 800ACA84 000A99E4 90 1F 00 00 */ stw r0, 0(r31) -/* 800ACA88 000A99E8 38 00 00 00 */ li r0, 0 -/* 800ACA8C 000A99EC 90 7F 00 00 */ stw r3, 0(r31) -/* 800ACA90 000A99F0 90 1F 00 04 */ stw r0, 4(r31) -/* 800ACA94 000A99F4 41 82 00 1C */ beq lbl_800ACAB0 -/* 800ACA98 000A99F8 7C 83 23 78 */ mr r3, r4 -/* 800ACA9C 000A99FC 7F E4 FB 78 */ mr r4, r31 -/* 800ACAA0 000A9A00 81 83 00 00 */ lwz r12, 0(r3) -/* 800ACAA4 000A9A04 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ACAA8 000A9A08 7D 89 03 A6 */ mtctr r12 -/* 800ACAAC 000A9A0C 4E 80 04 21 */ bctrl -lbl_800ACAB0: -/* 800ACAB0 000A9A10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ACAB4 000A9A14 7F E3 FB 78 */ mr r3, r31 -/* 800ACAB8 000A9A18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ACABC 000A9A1C 7C 08 03 A6 */ mtlr r0 -/* 800ACAC0 000A9A20 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ACAC4 000A9A24 4E 80 00 20 */ blr - -.global "__ct__16TCastToPtr<10CPatterned>FR7CEntity" -"__ct__16TCastToPtr<10CPatterned>FR7CEntity": -/* 800ACAC8 000A9A28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ACACC 000A9A2C 7C 08 02 A6 */ mflr r0 -/* 800ACAD0 000A9A30 3C A0 80 3E */ lis r5, lbl_803DCE20@ha -/* 800ACAD4 000A9A34 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800ACAD8 000A9A38 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ACADC 000A9A3C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800ACAE0 000A9A40 38 A5 CE 20 */ addi r5, r5, lbl_803DCE20@l -/* 800ACAE4 000A9A44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ACAE8 000A9A48 7C 7F 1B 78 */ mr r31, r3 -/* 800ACAEC 000A9A4C 90 03 00 00 */ stw r0, 0(r3) -/* 800ACAF0 000A9A50 7C 83 23 78 */ mr r3, r4 -/* 800ACAF4 000A9A54 38 00 00 00 */ li r0, 0 -/* 800ACAF8 000A9A58 7F E4 FB 78 */ mr r4, r31 -/* 800ACAFC 000A9A5C 90 BF 00 00 */ stw r5, 0(r31) -/* 800ACB00 000A9A60 90 1F 00 04 */ stw r0, 4(r31) -/* 800ACB04 000A9A64 81 83 00 00 */ lwz r12, 0(r3) -/* 800ACB08 000A9A68 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ACB0C 000A9A6C 7D 89 03 A6 */ mtctr r12 -/* 800ACB10 000A9A70 4E 80 04 21 */ bctrl -/* 800ACB14 000A9A74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ACB18 000A9A78 7F E3 FB 78 */ mr r3, r31 -/* 800ACB1C 000A9A7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ACB20 000A9A80 7C 08 03 A6 */ mtlr r0 -/* 800ACB24 000A9A84 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ACB28 000A9A88 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR7CWeapon" -"Visit__25TCastToPtr<11CPathCamera>FR7CWeapon": -/* 800ACB2C 000A9A8C 38 00 00 00 */ li r0, 0 -/* 800ACB30 000A9A90 90 03 00 04 */ stw r0, 4(r3) -/* 800ACB34 000A9A94 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR17CWallCrawlerSwarm" -"Visit__25TCastToPtr<11CPathCamera>FR17CWallCrawlerSwarm": -/* 800ACB38 000A9A98 38 00 00 00 */ li r0, 0 -/* 800ACB3C 000A9A9C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACB40 000A9AA0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR20CScriptSpindleCamera" -"Visit__25TCastToPtr<11CPathCamera>FR20CScriptSpindleCamera": -/* 800ACB44 000A9AA4 38 00 00 00 */ li r0, 0 -/* 800ACB48 000A9AA8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACB4C 000A9AAC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR15CSnakeWeedSwarm" -"Visit__25TCastToPtr<11CPathCamera>FR15CSnakeWeedSwarm": -/* 800ACB50 000A9AB0 38 00 00 00 */ li r0, 0 -/* 800ACB54 000A9AB4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACB58 000A9AB8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR15CScriptWaypoint" -"Visit__25TCastToPtr<11CPathCamera>FR15CScriptWaypoint": -/* 800ACB5C 000A9ABC 38 00 00 00 */ li r0, 0 -/* 800ACB60 000A9AC0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACB64 000A9AC4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR12CScriptWater" -"Visit__25TCastToPtr<11CPathCamera>FR12CScriptWater": -/* 800ACB68 000A9AC8 38 00 00 00 */ li r0, 0 -/* 800ACB6C 000A9ACC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACB70 000A9AD0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptVisorFlare" -"Visit__25TCastToPtr<11CPathCamera>FR17CScriptVisorFlare": -/* 800ACB74 000A9AD4 38 00 00 00 */ li r0, 0 -/* 800ACB78 000A9AD8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACB7C 000A9ADC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR14CScriptTrigger" -"Visit__25TCastToPtr<11CPathCamera>FR14CScriptTrigger": -/* 800ACB80 000A9AE0 38 00 00 00 */ li r0, 0 -/* 800ACB84 000A9AE4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACB88 000A9AE8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR12CScriptTimer" -"Visit__25TCastToPtr<11CPathCamera>FR12CScriptTimer": -/* 800ACB8C 000A9AEC 38 00 00 00 */ li r0, 0 -/* 800ACB90 000A9AF0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACB94 000A9AF4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR10CTeamAiMgr" -"Visit__25TCastToPtr<11CPathCamera>FR10CTeamAiMgr": -/* 800ACB98 000A9AF8 38 00 00 00 */ li r0, 0 -/* 800ACB9C 000A9AFC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACBA0 000A9B00 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR21CScriptTargetingPoint" -"Visit__25TCastToPtr<11CPathCamera>FR21CScriptTargetingPoint": -/* 800ACBA4 000A9B04 38 00 00 00 */ li r0, 0 -/* 800ACBA8 000A9B08 90 03 00 04 */ stw r0, 4(r3) -/* 800ACBAC 000A9B0C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR25CScriptSpiderBallWaypoint" -"Visit__25TCastToPtr<11CPathCamera>FR25CScriptSpiderBallWaypoint": -/* 800ACBB0 000A9B10 38 00 00 00 */ li r0, 0 -/* 800ACBB4 000A9B14 90 03 00 04 */ stw r0, 4(r3) -/* 800ACBB8 000A9B18 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR34CScriptSpiderBallAttractionSurface" -"Visit__25TCastToPtr<11CPathCamera>FR34CScriptSpiderBallAttractionSurface": -/* 800ACBBC 000A9B1C 38 00 00 00 */ li r0, 0 -/* 800ACBC0 000A9B20 90 03 00 04 */ stw r0, 4(r3) -/* 800ACBC4 000A9B24 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR22CScriptSpecialFunction" -"Visit__25TCastToPtr<11CPathCamera>FR22CScriptSpecialFunction": -/* 800ACBC8 000A9B28 38 00 00 00 */ li r0, 0 -/* 800ACBCC 000A9B2C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACBD0 000A9B30 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptSpawnPoint" -"Visit__25TCastToPtr<11CPathCamera>FR17CScriptSpawnPoint": -/* 800ACBD4 000A9B34 38 00 00 00 */ li r0, 0 -/* 800ACBD8 000A9B38 90 03 00 04 */ stw r0, 4(r3) -/* 800ACBDC 000A9B3C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR12CScriptSound" -"Visit__25TCastToPtr<11CPathCamera>FR12CScriptSound": -/* 800ACBE0 000A9B40 38 00 00 00 */ li r0, 0 -/* 800ACBE4 000A9B44 90 03 00 04 */ stw r0, 4(r3) -/* 800ACBE8 000A9B48 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR20CScriptRoomAcoustics" -"Visit__25TCastToPtr<11CPathCamera>FR20CScriptRoomAcoustics": -/* 800ACBEC 000A9B4C 38 00 00 00 */ li r0, 0 -/* 800ACBF0 000A9B50 90 03 00 04 */ stw r0, 4(r3) -/* 800ACBF4 000A9B54 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR22CScriptPointOfinterest" -"Visit__25TCastToPtr<11CPathCamera>FR22CScriptPointOfinterest": -/* 800ACBF8 000A9B58 38 00 00 00 */ li r0, 0 -/* 800ACBFC 000A9B5C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC00 000A9B60 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptPlayerHint" -"Visit__25TCastToPtr<11CPathCamera>FR17CScriptPlayerHint": -/* 800ACC04 000A9B64 38 00 00 00 */ li r0, 0 -/* 800ACC08 000A9B68 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC0C 000A9B6C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR15CScriptPlatform" -"Visit__25TCastToPtr<11CPathCamera>FR15CScriptPlatform": -/* 800ACC10 000A9B70 38 00 00 00 */ li r0, 0 -/* 800ACC14 000A9B74 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC18 000A9B78 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR13CScriptPickup" -"Visit__25TCastToPtr<11CPathCamera>FR13CScriptPickup": -/* 800ACC1C 000A9B7C 38 00 00 00 */ li r0, 0 -/* 800ACC20 000A9B80 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC24 000A9B84 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR15CScriptMazeNode" -"Visit__25TCastToPtr<11CPathCamera>FR15CScriptMazeNode": -/* 800ACC28 000A9B88 38 00 00 00 */ li r0, 0 -/* 800ACC2C 000A9B8C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC30 000A9B90 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR16CScriptGunTurret" -"Visit__25TCastToPtr<11CPathCamera>FR16CScriptGunTurret": -/* 800ACC34 000A9B94 38 00 00 00 */ li r0, 0 -/* 800ACC38 000A9B98 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC3C 000A9B9C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR19CScriptGrapplePoint" -"Visit__25TCastToPtr<11CPathCamera>FR19CScriptGrapplePoint": -/* 800ACC40 000A9BA0 38 00 00 00 */ li r0, 0 -/* 800ACC44 000A9BA4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC48 000A9BA8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR13CScriptEffect" -"Visit__25TCastToPtr<11CPathCamera>FR13CScriptEffect": -/* 800ACC4C 000A9BAC 38 00 00 00 */ li r0, 0 -/* 800ACC50 000A9BB0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC54 000A9BB4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR11CScriptDoor" -"Visit__25TCastToPtr<11CPathCamera>FR11CScriptDoor": -/* 800ACC58 000A9BB8 38 00 00 00 */ li r0, 0 -/* 800ACC5C 000A9BBC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC60 000A9BC0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR11CScriptDock" -"Visit__25TCastToPtr<11CPathCamera>FR11CScriptDock": -/* 800ACC64 000A9BC4 38 00 00 00 */ li r0, 0 -/* 800ACC68 000A9BC8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC6C 000A9BCC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR18CScriptDistanceFog" -"Visit__25TCastToPtr<11CPathCamera>FR18CScriptDistanceFog": -/* 800ACC70 000A9BD0 38 00 00 00 */ li r0, 0 -/* 800ACC74 000A9BD4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC78 000A9BD8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR26CScriptDebugCameraWaypoint" -"Visit__25TCastToPtr<11CPathCamera>FR26CScriptDebugCameraWaypoint": -/* 800ACC7C 000A9BDC 38 00 00 00 */ li r0, 0 -/* 800ACC80 000A9BE0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC84 000A9BE4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptCoverPoint" -"Visit__25TCastToPtr<11CPathCamera>FR17CScriptCoverPoint": -/* 800ACC88 000A9BE8 38 00 00 00 */ li r0, 0 -/* 800ACC8C 000A9BEC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC90 000A9BF0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR21CScriptCameraWaypoint" -"Visit__25TCastToPtr<11CPathCamera>FR21CScriptCameraWaypoint": -/* 800ACC94 000A9BF4 38 00 00 00 */ li r0, 0 -/* 800ACC98 000A9BF8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACC9C 000A9BFC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR24CScriptCameraPitchVolume" -"Visit__25TCastToPtr<11CPathCamera>FR24CScriptCameraPitchVolume": -/* 800ACCA0 000A9C00 38 00 00 00 */ li r0, 0 -/* 800ACCA4 000A9C04 90 03 00 04 */ stw r0, 4(r3) -/* 800ACCA8 000A9C08 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR17CScriptCameraHint" -"Visit__25TCastToPtr<11CPathCamera>FR17CScriptCameraHint": -/* 800ACCAC 000A9C0C 38 00 00 00 */ li r0, 0 -/* 800ACCB0 000A9C10 90 03 00 04 */ stw r0, 4(r3) -/* 800ACCB4 000A9C14 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR18CScriptAiJumpPoint" -"Visit__25TCastToPtr<11CPathCamera>FR18CScriptAiJumpPoint": -/* 800ACCB8 000A9C18 38 00 00 00 */ li r0, 0 -/* 800ACCBC 000A9C1C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACCC0 000A9C20 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR20CScriptActorKeyframe" -"Visit__25TCastToPtr<11CPathCamera>FR20CScriptActorKeyframe": -/* 800ACCC4 000A9C24 38 00 00 00 */ li r0, 0 -/* 800ACCC8 000A9C28 90 03 00 04 */ stw r0, 4(r3) -/* 800ACCCC 000A9C2C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR12CScriptActor" -"Visit__25TCastToPtr<11CPathCamera>FR12CScriptActor": -/* 800ACCD0 000A9C30 38 00 00 00 */ li r0, 0 -/* 800ACCD4 000A9C34 90 03 00 04 */ stw r0, 4(r3) -/* 800ACCD8 000A9C38 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR9CRepulsor" -"Visit__25TCastToPtr<11CPathCamera>FR9CRepulsor": -/* 800ACCDC 000A9C3C 38 00 00 00 */ li r0, 0 -/* 800ACCE0 000A9C40 90 03 00 04 */ stw r0, 4(r3) -/* 800ACCE4 000A9C44 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR7CPlayer" -"Visit__25TCastToPtr<11CPathCamera>FR7CPlayer": -/* 800ACCE8 000A9C48 38 00 00 00 */ li r0, 0 -/* 800ACCEC 000A9C4C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACCF0 000A9C50 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR13CPhysicsActor" -"Visit__25TCastToPtr<11CPathCamera>FR13CPhysicsActor": -/* 800ACCF4 000A9C54 38 00 00 00 */ li r0, 0 -/* 800ACCF8 000A9C58 90 03 00 04 */ stw r0, 4(r3) -/* 800ACCFC 000A9C5C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR3CAi" -"Visit__25TCastToPtr<11CPathCamera>FR3CAi": -/* 800ACD00 000A9C60 38 00 00 00 */ li r0, 0 -/* 800ACD04 000A9C64 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD08 000A9C68 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR11CPathCamera" -"Visit__25TCastToPtr<11CPathCamera>FR11CPathCamera": -/* 800ACD0C 000A9C6C 90 83 00 04 */ stw r4, 4(r3) -/* 800ACD10 000A9C70 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR18CMetroidPrimeRelay" -"Visit__25TCastToPtr<11CPathCamera>FR18CMetroidPrimeRelay": -/* 800ACD14 000A9C74 38 00 00 00 */ li r0, 0 -/* 800ACD18 000A9C78 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD1C 000A9C7C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR19CHUDBillboardEffect" -"Visit__25TCastToPtr<11CPathCamera>FR19CHUDBillboardEffect": -/* 800ACD20 000A9C80 38 00 00 00 */ li r0, 0 -/* 800ACD24 000A9C84 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD28 000A9C88 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR15CGameProjectile" -"Visit__25TCastToPtr<11CPathCamera>FR15CGameProjectile": -/* 800ACD2C 000A9C8C 38 00 00 00 */ li r0, 0 -/* 800ACD30 000A9C90 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD34 000A9C94 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR10CGameLight" -"Visit__25TCastToPtr<11CPathCamera>FR10CGameLight": -/* 800ACD38 000A9C98 38 00 00 00 */ li r0, 0 -/* 800ACD3C 000A9C9C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD40 000A9CA0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR11CGameCamera" -"Visit__25TCastToPtr<11CPathCamera>FR11CGameCamera": -/* 800ACD44 000A9CA4 38 00 00 00 */ li r0, 0 -/* 800ACD48 000A9CA8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD4C 000A9CAC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR10CFishCloud" -"Visit__25TCastToPtr<11CPathCamera>FR10CFishCloud": -/* 800ACD50 000A9CB0 38 00 00 00 */ li r0, 0 -/* 800ACD54 000A9CB4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD58 000A9CB8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR18CFirstPersonCamera" -"Visit__25TCastToPtr<11CPathCamera>FR18CFirstPersonCamera": -/* 800ACD5C 000A9CBC 38 00 00 00 */ li r0, 0 -/* 800ACD60 000A9CC0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD64 000A9CC4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR10CExplosion" -"Visit__25TCastToPtr<11CPathCamera>FR10CExplosion": -/* 800ACD68 000A9CC8 38 00 00 00 */ li r0, 0 -/* 800ACD6C 000A9CCC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD70 000A9CD0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR7CEntity" -"Visit__25TCastToPtr<11CPathCamera>FR7CEntity": -/* 800ACD74 000A9CD4 38 00 00 00 */ li r0, 0 -/* 800ACD78 000A9CD8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD7C 000A9CDC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR17CEnergyProjectile" -"Visit__25TCastToPtr<11CPathCamera>FR17CEnergyProjectile": -/* 800ACD80 000A9CE0 38 00 00 00 */ li r0, 0 -/* 800ACD84 000A9CE4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD88 000A9CE8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR16CDestroyableRock" -"Visit__25TCastToPtr<11CPathCamera>FR16CDestroyableRock": -/* 800ACD8C 000A9CEC 38 00 00 00 */ li r0, 0 -/* 800ACD90 000A9CF0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACD94 000A9CF4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR15CCollisionActor" -"Visit__25TCastToPtr<11CPathCamera>FR15CCollisionActor": -/* 800ACD98 000A9CF8 38 00 00 00 */ li r0, 0 -/* 800ACD9C 000A9CFC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACDA0 000A9D00 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR16CCinematicCamera" -"Visit__25TCastToPtr<11CPathCamera>FR16CCinematicCamera": -/* 800ACDA4 000A9D04 38 00 00 00 */ li r0, 0 -/* 800ACDA8 000A9D08 90 03 00 04 */ stw r0, 4(r3) -/* 800ACDAC 000A9D0C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR5CBomb" -"Visit__25TCastToPtr<11CPathCamera>FR5CBomb": -/* 800ACDB0 000A9D10 38 00 00 00 */ li r0, 0 -/* 800ACDB4 000A9D14 90 03 00 04 */ stw r0, 4(r3) -/* 800ACDB8 000A9D18 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR11CBallCamera" -"Visit__25TCastToPtr<11CPathCamera>FR11CBallCamera": -/* 800ACDBC 000A9D1C 38 00 00 00 */ li r0, 0 -/* 800ACDC0 000A9D20 90 03 00 04 */ stw r0, 4(r3) -/* 800ACDC4 000A9D24 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CPathCamera>FR6CActor" -"Visit__25TCastToPtr<11CPathCamera>FR6CActor": -/* 800ACDC8 000A9D28 38 00 00 00 */ li r0, 0 -/* 800ACDCC 000A9D2C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACDD0 000A9D30 4E 80 00 20 */ blr - -.global "__ct__25TCastToPtr<11CPathCamera>FP7CEntity" -"__ct__25TCastToPtr<11CPathCamera>FP7CEntity": -/* 800ACDD4 000A9D34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ACDD8 000A9D38 7C 08 02 A6 */ mflr r0 -/* 800ACDDC 000A9D3C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800ACDE0 000A9D40 3C A0 80 3E */ lis r5, lbl_803DCD34@ha -/* 800ACDE4 000A9D44 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ACDE8 000A9D48 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800ACDEC 000A9D4C 28 04 00 00 */ cmplwi r4, 0 -/* 800ACDF0 000A9D50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ACDF4 000A9D54 7C 7F 1B 78 */ mr r31, r3 -/* 800ACDF8 000A9D58 38 65 CD 34 */ addi r3, r5, lbl_803DCD34@l -/* 800ACDFC 000A9D5C 90 1F 00 00 */ stw r0, 0(r31) -/* 800ACE00 000A9D60 38 00 00 00 */ li r0, 0 -/* 800ACE04 000A9D64 90 7F 00 00 */ stw r3, 0(r31) -/* 800ACE08 000A9D68 90 1F 00 04 */ stw r0, 4(r31) -/* 800ACE0C 000A9D6C 41 82 00 1C */ beq lbl_800ACE28 -/* 800ACE10 000A9D70 7C 83 23 78 */ mr r3, r4 -/* 800ACE14 000A9D74 7F E4 FB 78 */ mr r4, r31 -/* 800ACE18 000A9D78 81 83 00 00 */ lwz r12, 0(r3) -/* 800ACE1C 000A9D7C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ACE20 000A9D80 7D 89 03 A6 */ mtctr r12 -/* 800ACE24 000A9D84 4E 80 04 21 */ bctrl -lbl_800ACE28: -/* 800ACE28 000A9D88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ACE2C 000A9D8C 7F E3 FB 78 */ mr r3, r31 -/* 800ACE30 000A9D90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ACE34 000A9D94 7C 08 03 A6 */ mtlr r0 -/* 800ACE38 000A9D98 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ACE3C 000A9D9C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CWeapon" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CWeapon": -/* 800ACE40 000A9DA0 38 00 00 00 */ li r0, 0 -/* 800ACE44 000A9DA4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACE48 000A9DA8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CWallCrawlerSwarm" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CWallCrawlerSwarm": -/* 800ACE4C 000A9DAC 38 00 00 00 */ li r0, 0 -/* 800ACE50 000A9DB0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACE54 000A9DB4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptSpindleCamera" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptSpindleCamera": -/* 800ACE58 000A9DB8 38 00 00 00 */ li r0, 0 -/* 800ACE5C 000A9DBC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACE60 000A9DC0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CSnakeWeedSwarm" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CSnakeWeedSwarm": -/* 800ACE64 000A9DC4 38 00 00 00 */ li r0, 0 -/* 800ACE68 000A9DC8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACE6C 000A9DCC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptWaypoint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptWaypoint": -/* 800ACE70 000A9DD0 38 00 00 00 */ li r0, 0 -/* 800ACE74 000A9DD4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACE78 000A9DD8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptWater" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptWater": -/* 800ACE7C 000A9DDC 38 00 00 00 */ li r0, 0 -/* 800ACE80 000A9DE0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACE84 000A9DE4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptVisorFlare" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptVisorFlare": -/* 800ACE88 000A9DE8 38 00 00 00 */ li r0, 0 -/* 800ACE8C 000A9DEC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACE90 000A9DF0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR14CScriptTrigger" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR14CScriptTrigger": -/* 800ACE94 000A9DF4 38 00 00 00 */ li r0, 0 -/* 800ACE98 000A9DF8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACE9C 000A9DFC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptTimer" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptTimer": -/* 800ACEA0 000A9E00 38 00 00 00 */ li r0, 0 -/* 800ACEA4 000A9E04 90 03 00 04 */ stw r0, 4(r3) -/* 800ACEA8 000A9E08 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CTeamAiMgr" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CTeamAiMgr": -/* 800ACEAC 000A9E0C 38 00 00 00 */ li r0, 0 -/* 800ACEB0 000A9E10 90 03 00 04 */ stw r0, 4(r3) -/* 800ACEB4 000A9E14 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR21CScriptTargetingPoint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR21CScriptTargetingPoint": -/* 800ACEB8 000A9E18 38 00 00 00 */ li r0, 0 -/* 800ACEBC 000A9E1C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACEC0 000A9E20 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR25CScriptSpiderBallWaypoint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR25CScriptSpiderBallWaypoint": -/* 800ACEC4 000A9E24 38 00 00 00 */ li r0, 0 -/* 800ACEC8 000A9E28 90 03 00 04 */ stw r0, 4(r3) -/* 800ACECC 000A9E2C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR34CScriptSpiderBallAttractionSurface" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR34CScriptSpiderBallAttractionSurface": -/* 800ACED0 000A9E30 38 00 00 00 */ li r0, 0 -/* 800ACED4 000A9E34 90 03 00 04 */ stw r0, 4(r3) -/* 800ACED8 000A9E38 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR22CScriptSpecialFunction" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR22CScriptSpecialFunction": -/* 800ACEDC 000A9E3C 38 00 00 00 */ li r0, 0 -/* 800ACEE0 000A9E40 90 03 00 04 */ stw r0, 4(r3) -/* 800ACEE4 000A9E44 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptSpawnPoint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptSpawnPoint": -/* 800ACEE8 000A9E48 38 00 00 00 */ li r0, 0 -/* 800ACEEC 000A9E4C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACEF0 000A9E50 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptSound" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptSound": -/* 800ACEF4 000A9E54 38 00 00 00 */ li r0, 0 -/* 800ACEF8 000A9E58 90 03 00 04 */ stw r0, 4(r3) -/* 800ACEFC 000A9E5C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptRoomAcoustics" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptRoomAcoustics": -/* 800ACF00 000A9E60 38 00 00 00 */ li r0, 0 -/* 800ACF04 000A9E64 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF08 000A9E68 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR22CScriptPointOfinterest" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR22CScriptPointOfinterest": -/* 800ACF0C 000A9E6C 38 00 00 00 */ li r0, 0 -/* 800ACF10 000A9E70 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF14 000A9E74 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptPlayerHint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptPlayerHint": -/* 800ACF18 000A9E78 38 00 00 00 */ li r0, 0 -/* 800ACF1C 000A9E7C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF20 000A9E80 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptPlatform" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptPlatform": -/* 800ACF24 000A9E84 38 00 00 00 */ li r0, 0 -/* 800ACF28 000A9E88 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF2C 000A9E8C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CScriptPickup" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CScriptPickup": -/* 800ACF30 000A9E90 38 00 00 00 */ li r0, 0 -/* 800ACF34 000A9E94 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF38 000A9E98 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptMazeNode" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CScriptMazeNode": -/* 800ACF3C 000A9E9C 38 00 00 00 */ li r0, 0 -/* 800ACF40 000A9EA0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF44 000A9EA4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CScriptGunTurret" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CScriptGunTurret": -/* 800ACF48 000A9EA8 38 00 00 00 */ li r0, 0 -/* 800ACF4C 000A9EAC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF50 000A9EB0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR19CScriptGrapplePoint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR19CScriptGrapplePoint": -/* 800ACF54 000A9EB4 38 00 00 00 */ li r0, 0 -/* 800ACF58 000A9EB8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF5C 000A9EBC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CScriptEffect" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CScriptEffect": -/* 800ACF60 000A9EC0 38 00 00 00 */ li r0, 0 -/* 800ACF64 000A9EC4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF68 000A9EC8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CScriptDoor" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CScriptDoor": -/* 800ACF6C 000A9ECC 38 00 00 00 */ li r0, 0 -/* 800ACF70 000A9ED0 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF74 000A9ED4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CScriptDock" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CScriptDock": -/* 800ACF78 000A9ED8 38 00 00 00 */ li r0, 0 -/* 800ACF7C 000A9EDC 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF80 000A9EE0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CScriptDistanceFog" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CScriptDistanceFog": -/* 800ACF84 000A9EE4 38 00 00 00 */ li r0, 0 -/* 800ACF88 000A9EE8 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF8C 000A9EEC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR26CScriptDebugCameraWaypoint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR26CScriptDebugCameraWaypoint": -/* 800ACF90 000A9EF0 38 00 00 00 */ li r0, 0 -/* 800ACF94 000A9EF4 90 03 00 04 */ stw r0, 4(r3) -/* 800ACF98 000A9EF8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptCoverPoint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptCoverPoint": -/* 800ACF9C 000A9EFC 38 00 00 00 */ li r0, 0 -/* 800ACFA0 000A9F00 90 03 00 04 */ stw r0, 4(r3) -/* 800ACFA4 000A9F04 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR21CScriptCameraWaypoint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR21CScriptCameraWaypoint": -/* 800ACFA8 000A9F08 38 00 00 00 */ li r0, 0 -/* 800ACFAC 000A9F0C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACFB0 000A9F10 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR24CScriptCameraPitchVolume" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR24CScriptCameraPitchVolume": -/* 800ACFB4 000A9F14 38 00 00 00 */ li r0, 0 -/* 800ACFB8 000A9F18 90 03 00 04 */ stw r0, 4(r3) -/* 800ACFBC 000A9F1C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptCameraHint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CScriptCameraHint": -/* 800ACFC0 000A9F20 38 00 00 00 */ li r0, 0 -/* 800ACFC4 000A9F24 90 03 00 04 */ stw r0, 4(r3) -/* 800ACFC8 000A9F28 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CScriptAiJumpPoint" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CScriptAiJumpPoint": -/* 800ACFCC 000A9F2C 38 00 00 00 */ li r0, 0 -/* 800ACFD0 000A9F30 90 03 00 04 */ stw r0, 4(r3) -/* 800ACFD4 000A9F34 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptActorKeyframe" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR20CScriptActorKeyframe": -/* 800ACFD8 000A9F38 38 00 00 00 */ li r0, 0 -/* 800ACFDC 000A9F3C 90 03 00 04 */ stw r0, 4(r3) -/* 800ACFE0 000A9F40 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptActor" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR12CScriptActor": -/* 800ACFE4 000A9F44 38 00 00 00 */ li r0, 0 -/* 800ACFE8 000A9F48 90 03 00 04 */ stw r0, 4(r3) -/* 800ACFEC 000A9F4C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR9CRepulsor" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR9CRepulsor": -/* 800ACFF0 000A9F50 38 00 00 00 */ li r0, 0 -/* 800ACFF4 000A9F54 90 03 00 04 */ stw r0, 4(r3) -/* 800ACFF8 000A9F58 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CPlayer" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CPlayer": -/* 800ACFFC 000A9F5C 38 00 00 00 */ li r0, 0 -/* 800AD000 000A9F60 90 03 00 04 */ stw r0, 4(r3) -/* 800AD004 000A9F64 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CPhysicsActor" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR13CPhysicsActor": -/* 800AD008 000A9F68 38 00 00 00 */ li r0, 0 -/* 800AD00C 000A9F6C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD010 000A9F70 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR3CAi" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR3CAi": -/* 800AD014 000A9F74 38 00 00 00 */ li r0, 0 -/* 800AD018 000A9F78 90 03 00 04 */ stw r0, 4(r3) -/* 800AD01C 000A9F7C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CPathCamera" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CPathCamera": -/* 800AD020 000A9F80 38 00 00 00 */ li r0, 0 -/* 800AD024 000A9F84 90 03 00 04 */ stw r0, 4(r3) -/* 800AD028 000A9F88 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CMetroidPrimeRelay" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CMetroidPrimeRelay": -/* 800AD02C 000A9F8C 90 83 00 04 */ stw r4, 4(r3) -/* 800AD030 000A9F90 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR19CHUDBillboardEffect" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR19CHUDBillboardEffect": -/* 800AD034 000A9F94 38 00 00 00 */ li r0, 0 -/* 800AD038 000A9F98 90 03 00 04 */ stw r0, 4(r3) -/* 800AD03C 000A9F9C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CGameProjectile" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CGameProjectile": -/* 800AD040 000A9FA0 38 00 00 00 */ li r0, 0 -/* 800AD044 000A9FA4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD048 000A9FA8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CGameLight" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CGameLight": -/* 800AD04C 000A9FAC 38 00 00 00 */ li r0, 0 -/* 800AD050 000A9FB0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD054 000A9FB4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CGameCamera" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CGameCamera": -/* 800AD058 000A9FB8 38 00 00 00 */ li r0, 0 -/* 800AD05C 000A9FBC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD060 000A9FC0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CFishCloud" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CFishCloud": -/* 800AD064 000A9FC4 38 00 00 00 */ li r0, 0 -/* 800AD068 000A9FC8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD06C 000A9FCC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CFirstPersonCamera" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR18CFirstPersonCamera": -/* 800AD070 000A9FD0 38 00 00 00 */ li r0, 0 -/* 800AD074 000A9FD4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD078 000A9FD8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CExplosion" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR10CExplosion": -/* 800AD07C 000A9FDC 38 00 00 00 */ li r0, 0 -/* 800AD080 000A9FE0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD084 000A9FE4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CEntity" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR7CEntity": -/* 800AD088 000A9FE8 38 00 00 00 */ li r0, 0 -/* 800AD08C 000A9FEC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD090 000A9FF0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CEnergyProjectile" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR17CEnergyProjectile": -/* 800AD094 000A9FF4 38 00 00 00 */ li r0, 0 -/* 800AD098 000A9FF8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD09C 000A9FFC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CDestroyableRock" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CDestroyableRock": -/* 800AD0A0 000AA000 38 00 00 00 */ li r0, 0 -/* 800AD0A4 000AA004 90 03 00 04 */ stw r0, 4(r3) -/* 800AD0A8 000AA008 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CCollisionActor" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR15CCollisionActor": -/* 800AD0AC 000AA00C 38 00 00 00 */ li r0, 0 -/* 800AD0B0 000AA010 90 03 00 04 */ stw r0, 4(r3) -/* 800AD0B4 000AA014 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CCinematicCamera" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR16CCinematicCamera": -/* 800AD0B8 000AA018 38 00 00 00 */ li r0, 0 -/* 800AD0BC 000AA01C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD0C0 000AA020 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR5CBomb" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR5CBomb": -/* 800AD0C4 000AA024 38 00 00 00 */ li r0, 0 -/* 800AD0C8 000AA028 90 03 00 04 */ stw r0, 4(r3) -/* 800AD0CC 000AA02C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CBallCamera" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR11CBallCamera": -/* 800AD0D0 000AA030 38 00 00 00 */ li r0, 0 -/* 800AD0D4 000AA034 90 03 00 04 */ stw r0, 4(r3) -/* 800AD0D8 000AA038 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CMetroidPrimeRelay>FR6CActor" -"Visit__32TCastToPtr<18CMetroidPrimeRelay>FR6CActor": -/* 800AD0DC 000AA03C 38 00 00 00 */ li r0, 0 -/* 800AD0E0 000AA040 90 03 00 04 */ stw r0, 4(r3) -/* 800AD0E4 000AA044 4E 80 00 20 */ blr - -.global "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" -"__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity": -/* 800AD0E8 000AA048 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AD0EC 000AA04C 7C 08 02 A6 */ mflr r0 -/* 800AD0F0 000AA050 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AD0F4 000AA054 3C A0 80 3E */ lis r5, lbl_803DCC48@ha -/* 800AD0F8 000AA058 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AD0FC 000AA05C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AD100 000AA060 28 04 00 00 */ cmplwi r4, 0 -/* 800AD104 000AA064 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AD108 000AA068 7C 7F 1B 78 */ mr r31, r3 -/* 800AD10C 000AA06C 38 65 CC 48 */ addi r3, r5, lbl_803DCC48@l -/* 800AD110 000AA070 90 1F 00 00 */ stw r0, 0(r31) -/* 800AD114 000AA074 38 00 00 00 */ li r0, 0 -/* 800AD118 000AA078 90 7F 00 00 */ stw r3, 0(r31) -/* 800AD11C 000AA07C 90 1F 00 04 */ stw r0, 4(r31) -/* 800AD120 000AA080 41 82 00 1C */ beq lbl_800AD13C -/* 800AD124 000AA084 7C 83 23 78 */ mr r3, r4 -/* 800AD128 000AA088 7F E4 FB 78 */ mr r4, r31 -/* 800AD12C 000AA08C 81 83 00 00 */ lwz r12, 0(r3) -/* 800AD130 000AA090 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AD134 000AA094 7D 89 03 A6 */ mtctr r12 -/* 800AD138 000AA098 4E 80 04 21 */ bctrl -lbl_800AD13C: -/* 800AD13C 000AA09C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AD140 000AA0A0 7F E3 FB 78 */ mr r3, r31 -/* 800AD144 000AA0A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AD148 000AA0A8 7C 08 03 A6 */ mtlr r0 -/* 800AD14C 000AA0AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AD150 000AA0B0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CWeapon" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CWeapon": -/* 800AD154 000AA0B4 38 00 00 00 */ li r0, 0 -/* 800AD158 000AA0B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD15C 000AA0BC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CWallCrawlerSwarm" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CWallCrawlerSwarm": -/* 800AD160 000AA0C0 38 00 00 00 */ li r0, 0 -/* 800AD164 000AA0C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD168 000AA0C8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptSpindleCamera" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptSpindleCamera": -/* 800AD16C 000AA0CC 38 00 00 00 */ li r0, 0 -/* 800AD170 000AA0D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD174 000AA0D4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CSnakeWeedSwarm" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CSnakeWeedSwarm": -/* 800AD178 000AA0D8 38 00 00 00 */ li r0, 0 -/* 800AD17C 000AA0DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD180 000AA0E0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptWaypoint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptWaypoint": -/* 800AD184 000AA0E4 38 00 00 00 */ li r0, 0 -/* 800AD188 000AA0E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD18C 000AA0EC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptWater" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptWater": -/* 800AD190 000AA0F0 38 00 00 00 */ li r0, 0 -/* 800AD194 000AA0F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD198 000AA0F8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptVisorFlare" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptVisorFlare": -/* 800AD19C 000AA0FC 38 00 00 00 */ li r0, 0 -/* 800AD1A0 000AA100 90 03 00 04 */ stw r0, 4(r3) -/* 800AD1A4 000AA104 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR14CScriptTrigger" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR14CScriptTrigger": -/* 800AD1A8 000AA108 38 00 00 00 */ li r0, 0 -/* 800AD1AC 000AA10C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD1B0 000AA110 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptTimer" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptTimer": -/* 800AD1B4 000AA114 38 00 00 00 */ li r0, 0 -/* 800AD1B8 000AA118 90 03 00 04 */ stw r0, 4(r3) -/* 800AD1BC 000AA11C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CTeamAiMgr" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CTeamAiMgr": -/* 800AD1C0 000AA120 38 00 00 00 */ li r0, 0 -/* 800AD1C4 000AA124 90 03 00 04 */ stw r0, 4(r3) -/* 800AD1C8 000AA128 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR21CScriptTargetingPoint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR21CScriptTargetingPoint": -/* 800AD1CC 000AA12C 38 00 00 00 */ li r0, 0 -/* 800AD1D0 000AA130 90 03 00 04 */ stw r0, 4(r3) -/* 800AD1D4 000AA134 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR25CScriptSpiderBallWaypoint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR25CScriptSpiderBallWaypoint": -/* 800AD1D8 000AA138 38 00 00 00 */ li r0, 0 -/* 800AD1DC 000AA13C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD1E0 000AA140 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR34CScriptSpiderBallAttractionSurface" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR34CScriptSpiderBallAttractionSurface": -/* 800AD1E4 000AA144 38 00 00 00 */ li r0, 0 -/* 800AD1E8 000AA148 90 03 00 04 */ stw r0, 4(r3) -/* 800AD1EC 000AA14C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR22CScriptSpecialFunction" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR22CScriptSpecialFunction": -/* 800AD1F0 000AA150 38 00 00 00 */ li r0, 0 -/* 800AD1F4 000AA154 90 03 00 04 */ stw r0, 4(r3) -/* 800AD1F8 000AA158 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptSpawnPoint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptSpawnPoint": -/* 800AD1FC 000AA15C 38 00 00 00 */ li r0, 0 -/* 800AD200 000AA160 90 03 00 04 */ stw r0, 4(r3) -/* 800AD204 000AA164 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptSound" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptSound": -/* 800AD208 000AA168 38 00 00 00 */ li r0, 0 -/* 800AD20C 000AA16C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD210 000AA170 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptRoomAcoustics" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptRoomAcoustics": -/* 800AD214 000AA174 38 00 00 00 */ li r0, 0 -/* 800AD218 000AA178 90 03 00 04 */ stw r0, 4(r3) -/* 800AD21C 000AA17C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR22CScriptPointOfinterest" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR22CScriptPointOfinterest": -/* 800AD220 000AA180 38 00 00 00 */ li r0, 0 -/* 800AD224 000AA184 90 03 00 04 */ stw r0, 4(r3) -/* 800AD228 000AA188 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptPlayerHint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptPlayerHint": -/* 800AD22C 000AA18C 38 00 00 00 */ li r0, 0 -/* 800AD230 000AA190 90 03 00 04 */ stw r0, 4(r3) -/* 800AD234 000AA194 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptPlatform" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptPlatform": -/* 800AD238 000AA198 38 00 00 00 */ li r0, 0 -/* 800AD23C 000AA19C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD240 000AA1A0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CScriptPickup" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CScriptPickup": -/* 800AD244 000AA1A4 38 00 00 00 */ li r0, 0 -/* 800AD248 000AA1A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD24C 000AA1AC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptMazeNode" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CScriptMazeNode": -/* 800AD250 000AA1B0 38 00 00 00 */ li r0, 0 -/* 800AD254 000AA1B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD258 000AA1B8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CScriptGunTurret" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CScriptGunTurret": -/* 800AD25C 000AA1BC 38 00 00 00 */ li r0, 0 -/* 800AD260 000AA1C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD264 000AA1C4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR19CScriptGrapplePoint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR19CScriptGrapplePoint": -/* 800AD268 000AA1C8 38 00 00 00 */ li r0, 0 -/* 800AD26C 000AA1CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD270 000AA1D0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CScriptEffect" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CScriptEffect": -/* 800AD274 000AA1D4 38 00 00 00 */ li r0, 0 -/* 800AD278 000AA1D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD27C 000AA1DC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CScriptDoor" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CScriptDoor": -/* 800AD280 000AA1E0 38 00 00 00 */ li r0, 0 -/* 800AD284 000AA1E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD288 000AA1E8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CScriptDock" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CScriptDock": -/* 800AD28C 000AA1EC 38 00 00 00 */ li r0, 0 -/* 800AD290 000AA1F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD294 000AA1F4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CScriptDistanceFog" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CScriptDistanceFog": -/* 800AD298 000AA1F8 38 00 00 00 */ li r0, 0 -/* 800AD29C 000AA1FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD2A0 000AA200 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR26CScriptDebugCameraWaypoint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR26CScriptDebugCameraWaypoint": -/* 800AD2A4 000AA204 38 00 00 00 */ li r0, 0 -/* 800AD2A8 000AA208 90 03 00 04 */ stw r0, 4(r3) -/* 800AD2AC 000AA20C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptCoverPoint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptCoverPoint": -/* 800AD2B0 000AA210 38 00 00 00 */ li r0, 0 -/* 800AD2B4 000AA214 90 03 00 04 */ stw r0, 4(r3) -/* 800AD2B8 000AA218 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR21CScriptCameraWaypoint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR21CScriptCameraWaypoint": -/* 800AD2BC 000AA21C 38 00 00 00 */ li r0, 0 -/* 800AD2C0 000AA220 90 03 00 04 */ stw r0, 4(r3) -/* 800AD2C4 000AA224 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR24CScriptCameraPitchVolume" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR24CScriptCameraPitchVolume": -/* 800AD2C8 000AA228 38 00 00 00 */ li r0, 0 -/* 800AD2CC 000AA22C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD2D0 000AA230 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptCameraHint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CScriptCameraHint": -/* 800AD2D4 000AA234 38 00 00 00 */ li r0, 0 -/* 800AD2D8 000AA238 90 03 00 04 */ stw r0, 4(r3) -/* 800AD2DC 000AA23C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CScriptAiJumpPoint" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CScriptAiJumpPoint": -/* 800AD2E0 000AA240 38 00 00 00 */ li r0, 0 -/* 800AD2E4 000AA244 90 03 00 04 */ stw r0, 4(r3) -/* 800AD2E8 000AA248 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptActorKeyframe" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR20CScriptActorKeyframe": -/* 800AD2EC 000AA24C 38 00 00 00 */ li r0, 0 -/* 800AD2F0 000AA250 90 03 00 04 */ stw r0, 4(r3) -/* 800AD2F4 000AA254 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptActor" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR12CScriptActor": -/* 800AD2F8 000AA258 38 00 00 00 */ li r0, 0 -/* 800AD2FC 000AA25C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD300 000AA260 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR9CRepulsor" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR9CRepulsor": -/* 800AD304 000AA264 38 00 00 00 */ li r0, 0 -/* 800AD308 000AA268 90 03 00 04 */ stw r0, 4(r3) -/* 800AD30C 000AA26C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CPlayer" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CPlayer": -/* 800AD310 000AA270 38 00 00 00 */ li r0, 0 -/* 800AD314 000AA274 90 03 00 04 */ stw r0, 4(r3) -/* 800AD318 000AA278 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CPhysicsActor" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR13CPhysicsActor": -/* 800AD31C 000AA27C 38 00 00 00 */ li r0, 0 -/* 800AD320 000AA280 90 03 00 04 */ stw r0, 4(r3) -/* 800AD324 000AA284 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR3CAi" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR3CAi": -/* 800AD328 000AA288 38 00 00 00 */ li r0, 0 -/* 800AD32C 000AA28C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD330 000AA290 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CPathCamera" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CPathCamera": -/* 800AD334 000AA294 38 00 00 00 */ li r0, 0 -/* 800AD338 000AA298 90 03 00 04 */ stw r0, 4(r3) -/* 800AD33C 000AA29C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CMetroidPrimeRelay" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CMetroidPrimeRelay": -/* 800AD340 000AA2A0 38 00 00 00 */ li r0, 0 -/* 800AD344 000AA2A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD348 000AA2A8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR19CHUDBillboardEffect" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR19CHUDBillboardEffect": -/* 800AD34C 000AA2AC 90 83 00 04 */ stw r4, 4(r3) -/* 800AD350 000AA2B0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CGameProjectile" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CGameProjectile": -/* 800AD354 000AA2B4 38 00 00 00 */ li r0, 0 -/* 800AD358 000AA2B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD35C 000AA2BC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CGameLight" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CGameLight": -/* 800AD360 000AA2C0 38 00 00 00 */ li r0, 0 -/* 800AD364 000AA2C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD368 000AA2C8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CGameCamera" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CGameCamera": -/* 800AD36C 000AA2CC 38 00 00 00 */ li r0, 0 -/* 800AD370 000AA2D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD374 000AA2D4 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CFishCloud" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CFishCloud": -/* 800AD378 000AA2D8 38 00 00 00 */ li r0, 0 -/* 800AD37C 000AA2DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD380 000AA2E0 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CFirstPersonCamera" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR18CFirstPersonCamera": -/* 800AD384 000AA2E4 38 00 00 00 */ li r0, 0 -/* 800AD388 000AA2E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD38C 000AA2EC 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CExplosion" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR10CExplosion": -/* 800AD390 000AA2F0 38 00 00 00 */ li r0, 0 -/* 800AD394 000AA2F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD398 000AA2F8 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CEntity" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR7CEntity": -/* 800AD39C 000AA2FC 38 00 00 00 */ li r0, 0 -/* 800AD3A0 000AA300 90 03 00 04 */ stw r0, 4(r3) -/* 800AD3A4 000AA304 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CEnergyProjectile" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR17CEnergyProjectile": -/* 800AD3A8 000AA308 38 00 00 00 */ li r0, 0 -/* 800AD3AC 000AA30C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD3B0 000AA310 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CDestroyableRock" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CDestroyableRock": -/* 800AD3B4 000AA314 38 00 00 00 */ li r0, 0 -/* 800AD3B8 000AA318 90 03 00 04 */ stw r0, 4(r3) -/* 800AD3BC 000AA31C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CCollisionActor" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR15CCollisionActor": -/* 800AD3C0 000AA320 38 00 00 00 */ li r0, 0 -/* 800AD3C4 000AA324 90 03 00 04 */ stw r0, 4(r3) -/* 800AD3C8 000AA328 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CCinematicCamera" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR16CCinematicCamera": -/* 800AD3CC 000AA32C 38 00 00 00 */ li r0, 0 -/* 800AD3D0 000AA330 90 03 00 04 */ stw r0, 4(r3) -/* 800AD3D4 000AA334 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR5CBomb" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR5CBomb": -/* 800AD3D8 000AA338 38 00 00 00 */ li r0, 0 -/* 800AD3DC 000AA33C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD3E0 000AA340 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CBallCamera" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR11CBallCamera": -/* 800AD3E4 000AA344 38 00 00 00 */ li r0, 0 -/* 800AD3E8 000AA348 90 03 00 04 */ stw r0, 4(r3) -/* 800AD3EC 000AA34C 4E 80 00 20 */ blr - -.global "Visit__33TCastToPtr<19CHUDBillboardEffect>FR6CActor" -"Visit__33TCastToPtr<19CHUDBillboardEffect>FR6CActor": -/* 800AD3F0 000AA350 38 00 00 00 */ li r0, 0 -/* 800AD3F4 000AA354 90 03 00 04 */ stw r0, 4(r3) -/* 800AD3F8 000AA358 4E 80 00 20 */ blr - -.global "__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity" -"__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity": -/* 800AD3FC 000AA35C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AD400 000AA360 7C 08 02 A6 */ mflr r0 -/* 800AD404 000AA364 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AD408 000AA368 3C A0 80 3E */ lis r5, lbl_803DCB5C@ha -/* 800AD40C 000AA36C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AD410 000AA370 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AD414 000AA374 28 04 00 00 */ cmplwi r4, 0 -/* 800AD418 000AA378 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AD41C 000AA37C 7C 7F 1B 78 */ mr r31, r3 -/* 800AD420 000AA380 38 65 CB 5C */ addi r3, r5, lbl_803DCB5C@l -/* 800AD424 000AA384 90 1F 00 00 */ stw r0, 0(r31) -/* 800AD428 000AA388 38 00 00 00 */ li r0, 0 -/* 800AD42C 000AA38C 90 7F 00 00 */ stw r3, 0(r31) -/* 800AD430 000AA390 90 1F 00 04 */ stw r0, 4(r31) -/* 800AD434 000AA394 41 82 00 1C */ beq lbl_800AD450 -/* 800AD438 000AA398 7C 83 23 78 */ mr r3, r4 -/* 800AD43C 000AA39C 7F E4 FB 78 */ mr r4, r31 -/* 800AD440 000AA3A0 81 83 00 00 */ lwz r12, 0(r3) -/* 800AD444 000AA3A4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AD448 000AA3A8 7D 89 03 A6 */ mtctr r12 -/* 800AD44C 000AA3AC 4E 80 04 21 */ bctrl -lbl_800AD450: -/* 800AD450 000AA3B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AD454 000AA3B4 7F E3 FB 78 */ mr r3, r31 -/* 800AD458 000AA3B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AD45C 000AA3BC 7C 08 03 A6 */ mtlr r0 -/* 800AD460 000AA3C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AD464 000AA3C4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR7CWeapon" -"Visit__29TCastToPtr<15CGameProjectile>FR7CWeapon": -/* 800AD468 000AA3C8 38 00 00 00 */ li r0, 0 -/* 800AD46C 000AA3CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD470 000AA3D0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR17CWallCrawlerSwarm" -"Visit__29TCastToPtr<15CGameProjectile>FR17CWallCrawlerSwarm": -/* 800AD474 000AA3D4 38 00 00 00 */ li r0, 0 -/* 800AD478 000AA3D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD47C 000AA3DC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR20CScriptSpindleCamera" -"Visit__29TCastToPtr<15CGameProjectile>FR20CScriptSpindleCamera": -/* 800AD480 000AA3E0 38 00 00 00 */ li r0, 0 -/* 800AD484 000AA3E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD488 000AA3E8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR15CSnakeWeedSwarm" -"Visit__29TCastToPtr<15CGameProjectile>FR15CSnakeWeedSwarm": -/* 800AD48C 000AA3EC 38 00 00 00 */ li r0, 0 -/* 800AD490 000AA3F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD494 000AA3F4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR15CScriptWaypoint" -"Visit__29TCastToPtr<15CGameProjectile>FR15CScriptWaypoint": -/* 800AD498 000AA3F8 38 00 00 00 */ li r0, 0 -/* 800AD49C 000AA3FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD4A0 000AA400 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR12CScriptWater" -"Visit__29TCastToPtr<15CGameProjectile>FR12CScriptWater": -/* 800AD4A4 000AA404 38 00 00 00 */ li r0, 0 -/* 800AD4A8 000AA408 90 03 00 04 */ stw r0, 4(r3) -/* 800AD4AC 000AA40C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptVisorFlare" -"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptVisorFlare": -/* 800AD4B0 000AA410 38 00 00 00 */ li r0, 0 -/* 800AD4B4 000AA414 90 03 00 04 */ stw r0, 4(r3) -/* 800AD4B8 000AA418 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR14CScriptTrigger" -"Visit__29TCastToPtr<15CGameProjectile>FR14CScriptTrigger": -/* 800AD4BC 000AA41C 38 00 00 00 */ li r0, 0 -/* 800AD4C0 000AA420 90 03 00 04 */ stw r0, 4(r3) -/* 800AD4C4 000AA424 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR12CScriptTimer" -"Visit__29TCastToPtr<15CGameProjectile>FR12CScriptTimer": -/* 800AD4C8 000AA428 38 00 00 00 */ li r0, 0 -/* 800AD4CC 000AA42C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD4D0 000AA430 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR10CTeamAiMgr" -"Visit__29TCastToPtr<15CGameProjectile>FR10CTeamAiMgr": -/* 800AD4D4 000AA434 38 00 00 00 */ li r0, 0 -/* 800AD4D8 000AA438 90 03 00 04 */ stw r0, 4(r3) -/* 800AD4DC 000AA43C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR21CScriptTargetingPoint" -"Visit__29TCastToPtr<15CGameProjectile>FR21CScriptTargetingPoint": -/* 800AD4E0 000AA440 38 00 00 00 */ li r0, 0 -/* 800AD4E4 000AA444 90 03 00 04 */ stw r0, 4(r3) -/* 800AD4E8 000AA448 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR25CScriptSpiderBallWaypoint" -"Visit__29TCastToPtr<15CGameProjectile>FR25CScriptSpiderBallWaypoint": -/* 800AD4EC 000AA44C 38 00 00 00 */ li r0, 0 -/* 800AD4F0 000AA450 90 03 00 04 */ stw r0, 4(r3) -/* 800AD4F4 000AA454 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR34CScriptSpiderBallAttractionSurface" -"Visit__29TCastToPtr<15CGameProjectile>FR34CScriptSpiderBallAttractionSurface": -/* 800AD4F8 000AA458 38 00 00 00 */ li r0, 0 -/* 800AD4FC 000AA45C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD500 000AA460 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR22CScriptSpecialFunction" -"Visit__29TCastToPtr<15CGameProjectile>FR22CScriptSpecialFunction": -/* 800AD504 000AA464 38 00 00 00 */ li r0, 0 -/* 800AD508 000AA468 90 03 00 04 */ stw r0, 4(r3) -/* 800AD50C 000AA46C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptSpawnPoint" -"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptSpawnPoint": -/* 800AD510 000AA470 38 00 00 00 */ li r0, 0 -/* 800AD514 000AA474 90 03 00 04 */ stw r0, 4(r3) -/* 800AD518 000AA478 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR12CScriptSound" -"Visit__29TCastToPtr<15CGameProjectile>FR12CScriptSound": -/* 800AD51C 000AA47C 38 00 00 00 */ li r0, 0 -/* 800AD520 000AA480 90 03 00 04 */ stw r0, 4(r3) -/* 800AD524 000AA484 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR20CScriptRoomAcoustics" -"Visit__29TCastToPtr<15CGameProjectile>FR20CScriptRoomAcoustics": -/* 800AD528 000AA488 38 00 00 00 */ li r0, 0 -/* 800AD52C 000AA48C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD530 000AA490 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR22CScriptPointOfinterest" -"Visit__29TCastToPtr<15CGameProjectile>FR22CScriptPointOfinterest": -/* 800AD534 000AA494 38 00 00 00 */ li r0, 0 -/* 800AD538 000AA498 90 03 00 04 */ stw r0, 4(r3) -/* 800AD53C 000AA49C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptPlayerHint" -"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptPlayerHint": -/* 800AD540 000AA4A0 38 00 00 00 */ li r0, 0 -/* 800AD544 000AA4A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD548 000AA4A8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR15CScriptPlatform" -"Visit__29TCastToPtr<15CGameProjectile>FR15CScriptPlatform": -/* 800AD54C 000AA4AC 38 00 00 00 */ li r0, 0 -/* 800AD550 000AA4B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD554 000AA4B4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR13CScriptPickup" -"Visit__29TCastToPtr<15CGameProjectile>FR13CScriptPickup": -/* 800AD558 000AA4B8 38 00 00 00 */ li r0, 0 -/* 800AD55C 000AA4BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD560 000AA4C0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR15CScriptMazeNode" -"Visit__29TCastToPtr<15CGameProjectile>FR15CScriptMazeNode": -/* 800AD564 000AA4C4 38 00 00 00 */ li r0, 0 -/* 800AD568 000AA4C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD56C 000AA4CC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR16CScriptGunTurret" -"Visit__29TCastToPtr<15CGameProjectile>FR16CScriptGunTurret": -/* 800AD570 000AA4D0 38 00 00 00 */ li r0, 0 -/* 800AD574 000AA4D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD578 000AA4D8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR19CScriptGrapplePoint" -"Visit__29TCastToPtr<15CGameProjectile>FR19CScriptGrapplePoint": -/* 800AD57C 000AA4DC 38 00 00 00 */ li r0, 0 -/* 800AD580 000AA4E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD584 000AA4E4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR13CScriptEffect" -"Visit__29TCastToPtr<15CGameProjectile>FR13CScriptEffect": -/* 800AD588 000AA4E8 38 00 00 00 */ li r0, 0 -/* 800AD58C 000AA4EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD590 000AA4F0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR11CScriptDoor" -"Visit__29TCastToPtr<15CGameProjectile>FR11CScriptDoor": -/* 800AD594 000AA4F4 38 00 00 00 */ li r0, 0 -/* 800AD598 000AA4F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD59C 000AA4FC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR11CScriptDock" -"Visit__29TCastToPtr<15CGameProjectile>FR11CScriptDock": -/* 800AD5A0 000AA500 38 00 00 00 */ li r0, 0 -/* 800AD5A4 000AA504 90 03 00 04 */ stw r0, 4(r3) -/* 800AD5A8 000AA508 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR18CScriptDistanceFog" -"Visit__29TCastToPtr<15CGameProjectile>FR18CScriptDistanceFog": -/* 800AD5AC 000AA50C 38 00 00 00 */ li r0, 0 -/* 800AD5B0 000AA510 90 03 00 04 */ stw r0, 4(r3) -/* 800AD5B4 000AA514 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR26CScriptDebugCameraWaypoint" -"Visit__29TCastToPtr<15CGameProjectile>FR26CScriptDebugCameraWaypoint": -/* 800AD5B8 000AA518 38 00 00 00 */ li r0, 0 -/* 800AD5BC 000AA51C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD5C0 000AA520 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptCoverPoint" -"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptCoverPoint": -/* 800AD5C4 000AA524 38 00 00 00 */ li r0, 0 -/* 800AD5C8 000AA528 90 03 00 04 */ stw r0, 4(r3) -/* 800AD5CC 000AA52C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR21CScriptCameraWaypoint" -"Visit__29TCastToPtr<15CGameProjectile>FR21CScriptCameraWaypoint": -/* 800AD5D0 000AA530 38 00 00 00 */ li r0, 0 -/* 800AD5D4 000AA534 90 03 00 04 */ stw r0, 4(r3) -/* 800AD5D8 000AA538 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR24CScriptCameraPitchVolume" -"Visit__29TCastToPtr<15CGameProjectile>FR24CScriptCameraPitchVolume": -/* 800AD5DC 000AA53C 38 00 00 00 */ li r0, 0 -/* 800AD5E0 000AA540 90 03 00 04 */ stw r0, 4(r3) -/* 800AD5E4 000AA544 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR17CScriptCameraHint" -"Visit__29TCastToPtr<15CGameProjectile>FR17CScriptCameraHint": -/* 800AD5E8 000AA548 38 00 00 00 */ li r0, 0 -/* 800AD5EC 000AA54C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD5F0 000AA550 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR18CScriptAiJumpPoint" -"Visit__29TCastToPtr<15CGameProjectile>FR18CScriptAiJumpPoint": -/* 800AD5F4 000AA554 38 00 00 00 */ li r0, 0 -/* 800AD5F8 000AA558 90 03 00 04 */ stw r0, 4(r3) -/* 800AD5FC 000AA55C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR20CScriptActorKeyframe" -"Visit__29TCastToPtr<15CGameProjectile>FR20CScriptActorKeyframe": -/* 800AD600 000AA560 38 00 00 00 */ li r0, 0 -/* 800AD604 000AA564 90 03 00 04 */ stw r0, 4(r3) -/* 800AD608 000AA568 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR12CScriptActor" -"Visit__29TCastToPtr<15CGameProjectile>FR12CScriptActor": -/* 800AD60C 000AA56C 38 00 00 00 */ li r0, 0 -/* 800AD610 000AA570 90 03 00 04 */ stw r0, 4(r3) -/* 800AD614 000AA574 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR9CRepulsor" -"Visit__29TCastToPtr<15CGameProjectile>FR9CRepulsor": -/* 800AD618 000AA578 38 00 00 00 */ li r0, 0 -/* 800AD61C 000AA57C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD620 000AA580 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR7CPlayer" -"Visit__29TCastToPtr<15CGameProjectile>FR7CPlayer": -/* 800AD624 000AA584 38 00 00 00 */ li r0, 0 -/* 800AD628 000AA588 90 03 00 04 */ stw r0, 4(r3) -/* 800AD62C 000AA58C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR13CPhysicsActor" -"Visit__29TCastToPtr<15CGameProjectile>FR13CPhysicsActor": -/* 800AD630 000AA590 38 00 00 00 */ li r0, 0 -/* 800AD634 000AA594 90 03 00 04 */ stw r0, 4(r3) -/* 800AD638 000AA598 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR3CAi" -"Visit__29TCastToPtr<15CGameProjectile>FR3CAi": -/* 800AD63C 000AA59C 38 00 00 00 */ li r0, 0 -/* 800AD640 000AA5A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD644 000AA5A4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR11CPathCamera" -"Visit__29TCastToPtr<15CGameProjectile>FR11CPathCamera": -/* 800AD648 000AA5A8 38 00 00 00 */ li r0, 0 -/* 800AD64C 000AA5AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD650 000AA5B0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR18CMetroidPrimeRelay" -"Visit__29TCastToPtr<15CGameProjectile>FR18CMetroidPrimeRelay": -/* 800AD654 000AA5B4 38 00 00 00 */ li r0, 0 -/* 800AD658 000AA5B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD65C 000AA5BC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR19CHUDBillboardEffect" -"Visit__29TCastToPtr<15CGameProjectile>FR19CHUDBillboardEffect": -/* 800AD660 000AA5C0 38 00 00 00 */ li r0, 0 -/* 800AD664 000AA5C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD668 000AA5C8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR15CGameProjectile" -"Visit__29TCastToPtr<15CGameProjectile>FR15CGameProjectile": -/* 800AD66C 000AA5CC 90 83 00 04 */ stw r4, 4(r3) -/* 800AD670 000AA5D0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR10CGameLight" -"Visit__29TCastToPtr<15CGameProjectile>FR10CGameLight": -/* 800AD674 000AA5D4 38 00 00 00 */ li r0, 0 -/* 800AD678 000AA5D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD67C 000AA5DC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR11CGameCamera" -"Visit__29TCastToPtr<15CGameProjectile>FR11CGameCamera": -/* 800AD680 000AA5E0 38 00 00 00 */ li r0, 0 -/* 800AD684 000AA5E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD688 000AA5E8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR10CFishCloud" -"Visit__29TCastToPtr<15CGameProjectile>FR10CFishCloud": -/* 800AD68C 000AA5EC 38 00 00 00 */ li r0, 0 -/* 800AD690 000AA5F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD694 000AA5F4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR18CFirstPersonCamera" -"Visit__29TCastToPtr<15CGameProjectile>FR18CFirstPersonCamera": -/* 800AD698 000AA5F8 38 00 00 00 */ li r0, 0 -/* 800AD69C 000AA5FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD6A0 000AA600 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR10CExplosion" -"Visit__29TCastToPtr<15CGameProjectile>FR10CExplosion": -/* 800AD6A4 000AA604 38 00 00 00 */ li r0, 0 -/* 800AD6A8 000AA608 90 03 00 04 */ stw r0, 4(r3) -/* 800AD6AC 000AA60C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR7CEntity" -"Visit__29TCastToPtr<15CGameProjectile>FR7CEntity": -/* 800AD6B0 000AA610 38 00 00 00 */ li r0, 0 -/* 800AD6B4 000AA614 90 03 00 04 */ stw r0, 4(r3) -/* 800AD6B8 000AA618 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR17CEnergyProjectile" -"Visit__29TCastToPtr<15CGameProjectile>FR17CEnergyProjectile": -/* 800AD6BC 000AA61C 90 83 00 04 */ stw r4, 4(r3) -/* 800AD6C0 000AA620 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR16CDestroyableRock" -"Visit__29TCastToPtr<15CGameProjectile>FR16CDestroyableRock": -/* 800AD6C4 000AA624 38 00 00 00 */ li r0, 0 -/* 800AD6C8 000AA628 90 03 00 04 */ stw r0, 4(r3) -/* 800AD6CC 000AA62C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR15CCollisionActor" -"Visit__29TCastToPtr<15CGameProjectile>FR15CCollisionActor": -/* 800AD6D0 000AA630 38 00 00 00 */ li r0, 0 -/* 800AD6D4 000AA634 90 03 00 04 */ stw r0, 4(r3) -/* 800AD6D8 000AA638 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR16CCinematicCamera" -"Visit__29TCastToPtr<15CGameProjectile>FR16CCinematicCamera": -/* 800AD6DC 000AA63C 38 00 00 00 */ li r0, 0 -/* 800AD6E0 000AA640 90 03 00 04 */ stw r0, 4(r3) -/* 800AD6E4 000AA644 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR5CBomb" -"Visit__29TCastToPtr<15CGameProjectile>FR5CBomb": -/* 800AD6E8 000AA648 38 00 00 00 */ li r0, 0 -/* 800AD6EC 000AA64C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD6F0 000AA650 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR11CBallCamera" -"Visit__29TCastToPtr<15CGameProjectile>FR11CBallCamera": -/* 800AD6F4 000AA654 38 00 00 00 */ li r0, 0 -/* 800AD6F8 000AA658 90 03 00 04 */ stw r0, 4(r3) -/* 800AD6FC 000AA65C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CGameProjectile>FR6CActor" -"Visit__29TCastToPtr<15CGameProjectile>FR6CActor": -/* 800AD700 000AA660 38 00 00 00 */ li r0, 0 -/* 800AD704 000AA664 90 03 00 04 */ stw r0, 4(r3) -/* 800AD708 000AA668 4E 80 00 20 */ blr - -.global "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -"__ct__29TCastToPtr<15CGameProjectile>FP7CEntity": -/* 800AD70C 000AA66C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AD710 000AA670 7C 08 02 A6 */ mflr r0 -/* 800AD714 000AA674 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AD718 000AA678 3C A0 80 3E */ lis r5, lbl_803DCA70@ha -/* 800AD71C 000AA67C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AD720 000AA680 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AD724 000AA684 28 04 00 00 */ cmplwi r4, 0 -/* 800AD728 000AA688 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AD72C 000AA68C 7C 7F 1B 78 */ mr r31, r3 -/* 800AD730 000AA690 38 65 CA 70 */ addi r3, r5, lbl_803DCA70@l -/* 800AD734 000AA694 90 1F 00 00 */ stw r0, 0(r31) -/* 800AD738 000AA698 38 00 00 00 */ li r0, 0 -/* 800AD73C 000AA69C 90 7F 00 00 */ stw r3, 0(r31) -/* 800AD740 000AA6A0 90 1F 00 04 */ stw r0, 4(r31) -/* 800AD744 000AA6A4 41 82 00 1C */ beq lbl_800AD760 -/* 800AD748 000AA6A8 7C 83 23 78 */ mr r3, r4 -/* 800AD74C 000AA6AC 7F E4 FB 78 */ mr r4, r31 -/* 800AD750 000AA6B0 81 83 00 00 */ lwz r12, 0(r3) -/* 800AD754 000AA6B4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AD758 000AA6B8 7D 89 03 A6 */ mtctr r12 -/* 800AD75C 000AA6BC 4E 80 04 21 */ bctrl -lbl_800AD760: -/* 800AD760 000AA6C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AD764 000AA6C4 7F E3 FB 78 */ mr r3, r31 -/* 800AD768 000AA6C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AD76C 000AA6CC 7C 08 03 A6 */ mtlr r0 -/* 800AD770 000AA6D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AD774 000AA6D4 4E 80 00 20 */ blr - -.global "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" -"__ct__29TCastToPtr<15CGameProjectile>FR7CEntity": -/* 800AD778 000AA6D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AD77C 000AA6DC 7C 08 02 A6 */ mflr r0 -/* 800AD780 000AA6E0 3C A0 80 3E */ lis r5, lbl_803DCA70@ha -/* 800AD784 000AA6E4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AD788 000AA6E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AD78C 000AA6EC 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AD790 000AA6F0 38 A5 CA 70 */ addi r5, r5, lbl_803DCA70@l -/* 800AD794 000AA6F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AD798 000AA6F8 7C 7F 1B 78 */ mr r31, r3 -/* 800AD79C 000AA6FC 90 03 00 00 */ stw r0, 0(r3) -/* 800AD7A0 000AA700 7C 83 23 78 */ mr r3, r4 -/* 800AD7A4 000AA704 38 00 00 00 */ li r0, 0 -/* 800AD7A8 000AA708 7F E4 FB 78 */ mr r4, r31 -/* 800AD7AC 000AA70C 90 BF 00 00 */ stw r5, 0(r31) -/* 800AD7B0 000AA710 90 1F 00 04 */ stw r0, 4(r31) -/* 800AD7B4 000AA714 81 83 00 00 */ lwz r12, 0(r3) -/* 800AD7B8 000AA718 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AD7BC 000AA71C 7D 89 03 A6 */ mtctr r12 -/* 800AD7C0 000AA720 4E 80 04 21 */ bctrl -/* 800AD7C4 000AA724 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AD7C8 000AA728 7F E3 FB 78 */ mr r3, r31 -/* 800AD7CC 000AA72C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AD7D0 000AA730 7C 08 03 A6 */ mtlr r0 -/* 800AD7D4 000AA734 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AD7D8 000AA738 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR7CWeapon" -"Visit__24TCastToPtr<10CGameLight>FR7CWeapon": -/* 800AD7DC 000AA73C 38 00 00 00 */ li r0, 0 -/* 800AD7E0 000AA740 90 03 00 04 */ stw r0, 4(r3) -/* 800AD7E4 000AA744 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR17CWallCrawlerSwarm" -"Visit__24TCastToPtr<10CGameLight>FR17CWallCrawlerSwarm": -/* 800AD7E8 000AA748 38 00 00 00 */ li r0, 0 -/* 800AD7EC 000AA74C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD7F0 000AA750 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR20CScriptSpindleCamera" -"Visit__24TCastToPtr<10CGameLight>FR20CScriptSpindleCamera": -/* 800AD7F4 000AA754 38 00 00 00 */ li r0, 0 -/* 800AD7F8 000AA758 90 03 00 04 */ stw r0, 4(r3) -/* 800AD7FC 000AA75C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR15CSnakeWeedSwarm" -"Visit__24TCastToPtr<10CGameLight>FR15CSnakeWeedSwarm": -/* 800AD800 000AA760 38 00 00 00 */ li r0, 0 -/* 800AD804 000AA764 90 03 00 04 */ stw r0, 4(r3) -/* 800AD808 000AA768 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR15CScriptWaypoint" -"Visit__24TCastToPtr<10CGameLight>FR15CScriptWaypoint": -/* 800AD80C 000AA76C 38 00 00 00 */ li r0, 0 -/* 800AD810 000AA770 90 03 00 04 */ stw r0, 4(r3) -/* 800AD814 000AA774 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR12CScriptWater" -"Visit__24TCastToPtr<10CGameLight>FR12CScriptWater": -/* 800AD818 000AA778 38 00 00 00 */ li r0, 0 -/* 800AD81C 000AA77C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD820 000AA780 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptVisorFlare" -"Visit__24TCastToPtr<10CGameLight>FR17CScriptVisorFlare": -/* 800AD824 000AA784 38 00 00 00 */ li r0, 0 -/* 800AD828 000AA788 90 03 00 04 */ stw r0, 4(r3) -/* 800AD82C 000AA78C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR14CScriptTrigger" -"Visit__24TCastToPtr<10CGameLight>FR14CScriptTrigger": -/* 800AD830 000AA790 38 00 00 00 */ li r0, 0 -/* 800AD834 000AA794 90 03 00 04 */ stw r0, 4(r3) -/* 800AD838 000AA798 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR12CScriptTimer" -"Visit__24TCastToPtr<10CGameLight>FR12CScriptTimer": -/* 800AD83C 000AA79C 38 00 00 00 */ li r0, 0 -/* 800AD840 000AA7A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD844 000AA7A4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR10CTeamAiMgr" -"Visit__24TCastToPtr<10CGameLight>FR10CTeamAiMgr": -/* 800AD848 000AA7A8 38 00 00 00 */ li r0, 0 -/* 800AD84C 000AA7AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD850 000AA7B0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR21CScriptTargetingPoint" -"Visit__24TCastToPtr<10CGameLight>FR21CScriptTargetingPoint": -/* 800AD854 000AA7B4 38 00 00 00 */ li r0, 0 -/* 800AD858 000AA7B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD85C 000AA7BC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR25CScriptSpiderBallWaypoint" -"Visit__24TCastToPtr<10CGameLight>FR25CScriptSpiderBallWaypoint": -/* 800AD860 000AA7C0 38 00 00 00 */ li r0, 0 -/* 800AD864 000AA7C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD868 000AA7C8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR34CScriptSpiderBallAttractionSurface" -"Visit__24TCastToPtr<10CGameLight>FR34CScriptSpiderBallAttractionSurface": -/* 800AD86C 000AA7CC 38 00 00 00 */ li r0, 0 -/* 800AD870 000AA7D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD874 000AA7D4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR22CScriptSpecialFunction" -"Visit__24TCastToPtr<10CGameLight>FR22CScriptSpecialFunction": -/* 800AD878 000AA7D8 38 00 00 00 */ li r0, 0 -/* 800AD87C 000AA7DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD880 000AA7E0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptSpawnPoint" -"Visit__24TCastToPtr<10CGameLight>FR17CScriptSpawnPoint": -/* 800AD884 000AA7E4 38 00 00 00 */ li r0, 0 -/* 800AD888 000AA7E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD88C 000AA7EC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR12CScriptSound" -"Visit__24TCastToPtr<10CGameLight>FR12CScriptSound": -/* 800AD890 000AA7F0 38 00 00 00 */ li r0, 0 -/* 800AD894 000AA7F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD898 000AA7F8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR20CScriptRoomAcoustics" -"Visit__24TCastToPtr<10CGameLight>FR20CScriptRoomAcoustics": -/* 800AD89C 000AA7FC 38 00 00 00 */ li r0, 0 -/* 800AD8A0 000AA800 90 03 00 04 */ stw r0, 4(r3) -/* 800AD8A4 000AA804 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR22CScriptPointOfinterest" -"Visit__24TCastToPtr<10CGameLight>FR22CScriptPointOfinterest": -/* 800AD8A8 000AA808 38 00 00 00 */ li r0, 0 -/* 800AD8AC 000AA80C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD8B0 000AA810 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptPlayerHint" -"Visit__24TCastToPtr<10CGameLight>FR17CScriptPlayerHint": -/* 800AD8B4 000AA814 38 00 00 00 */ li r0, 0 -/* 800AD8B8 000AA818 90 03 00 04 */ stw r0, 4(r3) -/* 800AD8BC 000AA81C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR15CScriptPlatform" -"Visit__24TCastToPtr<10CGameLight>FR15CScriptPlatform": -/* 800AD8C0 000AA820 38 00 00 00 */ li r0, 0 -/* 800AD8C4 000AA824 90 03 00 04 */ stw r0, 4(r3) -/* 800AD8C8 000AA828 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR13CScriptPickup" -"Visit__24TCastToPtr<10CGameLight>FR13CScriptPickup": -/* 800AD8CC 000AA82C 38 00 00 00 */ li r0, 0 -/* 800AD8D0 000AA830 90 03 00 04 */ stw r0, 4(r3) -/* 800AD8D4 000AA834 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR15CScriptMazeNode" -"Visit__24TCastToPtr<10CGameLight>FR15CScriptMazeNode": -/* 800AD8D8 000AA838 38 00 00 00 */ li r0, 0 -/* 800AD8DC 000AA83C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD8E0 000AA840 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR16CScriptGunTurret" -"Visit__24TCastToPtr<10CGameLight>FR16CScriptGunTurret": -/* 800AD8E4 000AA844 38 00 00 00 */ li r0, 0 -/* 800AD8E8 000AA848 90 03 00 04 */ stw r0, 4(r3) -/* 800AD8EC 000AA84C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR19CScriptGrapplePoint" -"Visit__24TCastToPtr<10CGameLight>FR19CScriptGrapplePoint": -/* 800AD8F0 000AA850 38 00 00 00 */ li r0, 0 -/* 800AD8F4 000AA854 90 03 00 04 */ stw r0, 4(r3) -/* 800AD8F8 000AA858 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR13CScriptEffect" -"Visit__24TCastToPtr<10CGameLight>FR13CScriptEffect": -/* 800AD8FC 000AA85C 38 00 00 00 */ li r0, 0 -/* 800AD900 000AA860 90 03 00 04 */ stw r0, 4(r3) -/* 800AD904 000AA864 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR11CScriptDoor" -"Visit__24TCastToPtr<10CGameLight>FR11CScriptDoor": -/* 800AD908 000AA868 38 00 00 00 */ li r0, 0 -/* 800AD90C 000AA86C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD910 000AA870 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR11CScriptDock" -"Visit__24TCastToPtr<10CGameLight>FR11CScriptDock": -/* 800AD914 000AA874 38 00 00 00 */ li r0, 0 -/* 800AD918 000AA878 90 03 00 04 */ stw r0, 4(r3) -/* 800AD91C 000AA87C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR18CScriptDistanceFog" -"Visit__24TCastToPtr<10CGameLight>FR18CScriptDistanceFog": -/* 800AD920 000AA880 38 00 00 00 */ li r0, 0 -/* 800AD924 000AA884 90 03 00 04 */ stw r0, 4(r3) -/* 800AD928 000AA888 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR26CScriptDebugCameraWaypoint" -"Visit__24TCastToPtr<10CGameLight>FR26CScriptDebugCameraWaypoint": -/* 800AD92C 000AA88C 38 00 00 00 */ li r0, 0 -/* 800AD930 000AA890 90 03 00 04 */ stw r0, 4(r3) -/* 800AD934 000AA894 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptCoverPoint" -"Visit__24TCastToPtr<10CGameLight>FR17CScriptCoverPoint": -/* 800AD938 000AA898 38 00 00 00 */ li r0, 0 -/* 800AD93C 000AA89C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD940 000AA8A0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR21CScriptCameraWaypoint" -"Visit__24TCastToPtr<10CGameLight>FR21CScriptCameraWaypoint": -/* 800AD944 000AA8A4 38 00 00 00 */ li r0, 0 -/* 800AD948 000AA8A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD94C 000AA8AC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR24CScriptCameraPitchVolume" -"Visit__24TCastToPtr<10CGameLight>FR24CScriptCameraPitchVolume": -/* 800AD950 000AA8B0 38 00 00 00 */ li r0, 0 -/* 800AD954 000AA8B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD958 000AA8B8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR17CScriptCameraHint" -"Visit__24TCastToPtr<10CGameLight>FR17CScriptCameraHint": -/* 800AD95C 000AA8BC 38 00 00 00 */ li r0, 0 -/* 800AD960 000AA8C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD964 000AA8C4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR18CScriptAiJumpPoint" -"Visit__24TCastToPtr<10CGameLight>FR18CScriptAiJumpPoint": -/* 800AD968 000AA8C8 38 00 00 00 */ li r0, 0 -/* 800AD96C 000AA8CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD970 000AA8D0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR20CScriptActorKeyframe" -"Visit__24TCastToPtr<10CGameLight>FR20CScriptActorKeyframe": -/* 800AD974 000AA8D4 38 00 00 00 */ li r0, 0 -/* 800AD978 000AA8D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AD97C 000AA8DC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR12CScriptActor" -"Visit__24TCastToPtr<10CGameLight>FR12CScriptActor": -/* 800AD980 000AA8E0 38 00 00 00 */ li r0, 0 -/* 800AD984 000AA8E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AD988 000AA8E8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR9CRepulsor" -"Visit__24TCastToPtr<10CGameLight>FR9CRepulsor": -/* 800AD98C 000AA8EC 38 00 00 00 */ li r0, 0 -/* 800AD990 000AA8F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AD994 000AA8F4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR7CPlayer" -"Visit__24TCastToPtr<10CGameLight>FR7CPlayer": -/* 800AD998 000AA8F8 38 00 00 00 */ li r0, 0 -/* 800AD99C 000AA8FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AD9A0 000AA900 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR13CPhysicsActor" -"Visit__24TCastToPtr<10CGameLight>FR13CPhysicsActor": -/* 800AD9A4 000AA904 38 00 00 00 */ li r0, 0 -/* 800AD9A8 000AA908 90 03 00 04 */ stw r0, 4(r3) -/* 800AD9AC 000AA90C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR3CAi" -"Visit__24TCastToPtr<10CGameLight>FR3CAi": -/* 800AD9B0 000AA910 38 00 00 00 */ li r0, 0 -/* 800AD9B4 000AA914 90 03 00 04 */ stw r0, 4(r3) -/* 800AD9B8 000AA918 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR11CPathCamera" -"Visit__24TCastToPtr<10CGameLight>FR11CPathCamera": -/* 800AD9BC 000AA91C 38 00 00 00 */ li r0, 0 -/* 800AD9C0 000AA920 90 03 00 04 */ stw r0, 4(r3) -/* 800AD9C4 000AA924 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR18CMetroidPrimeRelay" -"Visit__24TCastToPtr<10CGameLight>FR18CMetroidPrimeRelay": -/* 800AD9C8 000AA928 38 00 00 00 */ li r0, 0 -/* 800AD9CC 000AA92C 90 03 00 04 */ stw r0, 4(r3) -/* 800AD9D0 000AA930 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR19CHUDBillboardEffect" -"Visit__24TCastToPtr<10CGameLight>FR19CHUDBillboardEffect": -/* 800AD9D4 000AA934 38 00 00 00 */ li r0, 0 -/* 800AD9D8 000AA938 90 03 00 04 */ stw r0, 4(r3) -/* 800AD9DC 000AA93C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR15CGameProjectile" -"Visit__24TCastToPtr<10CGameLight>FR15CGameProjectile": -/* 800AD9E0 000AA940 38 00 00 00 */ li r0, 0 -/* 800AD9E4 000AA944 90 03 00 04 */ stw r0, 4(r3) -/* 800AD9E8 000AA948 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR10CGameLight" -"Visit__24TCastToPtr<10CGameLight>FR10CGameLight": -/* 800AD9EC 000AA94C 90 83 00 04 */ stw r4, 4(r3) -/* 800AD9F0 000AA950 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR11CGameCamera" -"Visit__24TCastToPtr<10CGameLight>FR11CGameCamera": -/* 800AD9F4 000AA954 38 00 00 00 */ li r0, 0 -/* 800AD9F8 000AA958 90 03 00 04 */ stw r0, 4(r3) -/* 800AD9FC 000AA95C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR10CFishCloud" -"Visit__24TCastToPtr<10CGameLight>FR10CFishCloud": -/* 800ADA00 000AA960 38 00 00 00 */ li r0, 0 -/* 800ADA04 000AA964 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA08 000AA968 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR18CFirstPersonCamera" -"Visit__24TCastToPtr<10CGameLight>FR18CFirstPersonCamera": -/* 800ADA0C 000AA96C 38 00 00 00 */ li r0, 0 -/* 800ADA10 000AA970 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA14 000AA974 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR10CExplosion" -"Visit__24TCastToPtr<10CGameLight>FR10CExplosion": -/* 800ADA18 000AA978 38 00 00 00 */ li r0, 0 -/* 800ADA1C 000AA97C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA20 000AA980 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR7CEntity" -"Visit__24TCastToPtr<10CGameLight>FR7CEntity": -/* 800ADA24 000AA984 38 00 00 00 */ li r0, 0 -/* 800ADA28 000AA988 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA2C 000AA98C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR17CEnergyProjectile" -"Visit__24TCastToPtr<10CGameLight>FR17CEnergyProjectile": -/* 800ADA30 000AA990 38 00 00 00 */ li r0, 0 -/* 800ADA34 000AA994 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA38 000AA998 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR16CDestroyableRock" -"Visit__24TCastToPtr<10CGameLight>FR16CDestroyableRock": -/* 800ADA3C 000AA99C 38 00 00 00 */ li r0, 0 -/* 800ADA40 000AA9A0 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA44 000AA9A4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR15CCollisionActor" -"Visit__24TCastToPtr<10CGameLight>FR15CCollisionActor": -/* 800ADA48 000AA9A8 38 00 00 00 */ li r0, 0 -/* 800ADA4C 000AA9AC 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA50 000AA9B0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR16CCinematicCamera" -"Visit__24TCastToPtr<10CGameLight>FR16CCinematicCamera": -/* 800ADA54 000AA9B4 38 00 00 00 */ li r0, 0 -/* 800ADA58 000AA9B8 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA5C 000AA9BC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR5CBomb" -"Visit__24TCastToPtr<10CGameLight>FR5CBomb": -/* 800ADA60 000AA9C0 38 00 00 00 */ li r0, 0 -/* 800ADA64 000AA9C4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA68 000AA9C8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR11CBallCamera" -"Visit__24TCastToPtr<10CGameLight>FR11CBallCamera": -/* 800ADA6C 000AA9CC 38 00 00 00 */ li r0, 0 -/* 800ADA70 000AA9D0 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA74 000AA9D4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CGameLight>FR6CActor" -"Visit__24TCastToPtr<10CGameLight>FR6CActor": -/* 800ADA78 000AA9D8 38 00 00 00 */ li r0, 0 -/* 800ADA7C 000AA9DC 90 03 00 04 */ stw r0, 4(r3) -/* 800ADA80 000AA9E0 4E 80 00 20 */ blr - -.global "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -"__ct__24TCastToPtr<10CGameLight>FP7CEntity": -/* 800ADA84 000AA9E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ADA88 000AA9E8 7C 08 02 A6 */ mflr r0 -/* 800ADA8C 000AA9EC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800ADA90 000AA9F0 3C A0 80 3E */ lis r5, lbl_803DC984@ha -/* 800ADA94 000AA9F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ADA98 000AA9F8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800ADA9C 000AA9FC 28 04 00 00 */ cmplwi r4, 0 -/* 800ADAA0 000AAA00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ADAA4 000AAA04 7C 7F 1B 78 */ mr r31, r3 -/* 800ADAA8 000AAA08 38 65 C9 84 */ addi r3, r5, lbl_803DC984@l -/* 800ADAAC 000AAA0C 90 1F 00 00 */ stw r0, 0(r31) -/* 800ADAB0 000AAA10 38 00 00 00 */ li r0, 0 -/* 800ADAB4 000AAA14 90 7F 00 00 */ stw r3, 0(r31) -/* 800ADAB8 000AAA18 90 1F 00 04 */ stw r0, 4(r31) -/* 800ADABC 000AAA1C 41 82 00 1C */ beq lbl_800ADAD8 -/* 800ADAC0 000AAA20 7C 83 23 78 */ mr r3, r4 -/* 800ADAC4 000AAA24 7F E4 FB 78 */ mr r4, r31 -/* 800ADAC8 000AAA28 81 83 00 00 */ lwz r12, 0(r3) -/* 800ADACC 000AAA2C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ADAD0 000AAA30 7D 89 03 A6 */ mtctr r12 -/* 800ADAD4 000AAA34 4E 80 04 21 */ bctrl -lbl_800ADAD8: -/* 800ADAD8 000AAA38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ADADC 000AAA3C 7F E3 FB 78 */ mr r3, r31 -/* 800ADAE0 000AAA40 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ADAE4 000AAA44 7C 08 03 A6 */ mtlr r0 -/* 800ADAE8 000AAA48 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ADAEC 000AAA4C 4E 80 00 20 */ blr - -.global "__ct__24TCastToPtr<10CGameLight>FR7CEntity" -"__ct__24TCastToPtr<10CGameLight>FR7CEntity": -/* 800ADAF0 000AAA50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ADAF4 000AAA54 7C 08 02 A6 */ mflr r0 -/* 800ADAF8 000AAA58 3C A0 80 3E */ lis r5, lbl_803DC984@ha -/* 800ADAFC 000AAA5C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800ADB00 000AAA60 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ADB04 000AAA64 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800ADB08 000AAA68 38 A5 C9 84 */ addi r5, r5, lbl_803DC984@l -/* 800ADB0C 000AAA6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ADB10 000AAA70 7C 7F 1B 78 */ mr r31, r3 -/* 800ADB14 000AAA74 90 03 00 00 */ stw r0, 0(r3) -/* 800ADB18 000AAA78 7C 83 23 78 */ mr r3, r4 -/* 800ADB1C 000AAA7C 38 00 00 00 */ li r0, 0 -/* 800ADB20 000AAA80 7F E4 FB 78 */ mr r4, r31 -/* 800ADB24 000AAA84 90 BF 00 00 */ stw r5, 0(r31) -/* 800ADB28 000AAA88 90 1F 00 04 */ stw r0, 4(r31) -/* 800ADB2C 000AAA8C 81 83 00 00 */ lwz r12, 0(r3) -/* 800ADB30 000AAA90 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ADB34 000AAA94 7D 89 03 A6 */ mtctr r12 -/* 800ADB38 000AAA98 4E 80 04 21 */ bctrl -/* 800ADB3C 000AAA9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ADB40 000AAAA0 7F E3 FB 78 */ mr r3, r31 -/* 800ADB44 000AAAA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ADB48 000AAAA8 7C 08 03 A6 */ mtlr r0 -/* 800ADB4C 000AAAAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ADB50 000AAAB0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR7CWeapon" -"Visit__25TCastToPtr<11CGameCamera>FR7CWeapon": -/* 800ADB54 000AAAB4 38 00 00 00 */ li r0, 0 -/* 800ADB58 000AAAB8 90 03 00 04 */ stw r0, 4(r3) -/* 800ADB5C 000AAABC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR17CWallCrawlerSwarm" -"Visit__25TCastToPtr<11CGameCamera>FR17CWallCrawlerSwarm": -/* 800ADB60 000AAAC0 38 00 00 00 */ li r0, 0 -/* 800ADB64 000AAAC4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADB68 000AAAC8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR20CScriptSpindleCamera" -"Visit__25TCastToPtr<11CGameCamera>FR20CScriptSpindleCamera": -/* 800ADB6C 000AAACC 90 83 00 04 */ stw r4, 4(r3) -/* 800ADB70 000AAAD0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR15CSnakeWeedSwarm" -"Visit__25TCastToPtr<11CGameCamera>FR15CSnakeWeedSwarm": -/* 800ADB74 000AAAD4 38 00 00 00 */ li r0, 0 -/* 800ADB78 000AAAD8 90 03 00 04 */ stw r0, 4(r3) -/* 800ADB7C 000AAADC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR15CScriptWaypoint" -"Visit__25TCastToPtr<11CGameCamera>FR15CScriptWaypoint": -/* 800ADB80 000AAAE0 38 00 00 00 */ li r0, 0 -/* 800ADB84 000AAAE4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADB88 000AAAE8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR12CScriptWater" -"Visit__25TCastToPtr<11CGameCamera>FR12CScriptWater": -/* 800ADB8C 000AAAEC 38 00 00 00 */ li r0, 0 -/* 800ADB90 000AAAF0 90 03 00 04 */ stw r0, 4(r3) -/* 800ADB94 000AAAF4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptVisorFlare" -"Visit__25TCastToPtr<11CGameCamera>FR17CScriptVisorFlare": -/* 800ADB98 000AAAF8 38 00 00 00 */ li r0, 0 -/* 800ADB9C 000AAAFC 90 03 00 04 */ stw r0, 4(r3) -/* 800ADBA0 000AAB00 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR14CScriptTrigger" -"Visit__25TCastToPtr<11CGameCamera>FR14CScriptTrigger": -/* 800ADBA4 000AAB04 38 00 00 00 */ li r0, 0 -/* 800ADBA8 000AAB08 90 03 00 04 */ stw r0, 4(r3) -/* 800ADBAC 000AAB0C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR12CScriptTimer" -"Visit__25TCastToPtr<11CGameCamera>FR12CScriptTimer": -/* 800ADBB0 000AAB10 38 00 00 00 */ li r0, 0 -/* 800ADBB4 000AAB14 90 03 00 04 */ stw r0, 4(r3) -/* 800ADBB8 000AAB18 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR10CTeamAiMgr" -"Visit__25TCastToPtr<11CGameCamera>FR10CTeamAiMgr": -/* 800ADBBC 000AAB1C 38 00 00 00 */ li r0, 0 -/* 800ADBC0 000AAB20 90 03 00 04 */ stw r0, 4(r3) -/* 800ADBC4 000AAB24 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR21CScriptTargetingPoint" -"Visit__25TCastToPtr<11CGameCamera>FR21CScriptTargetingPoint": -/* 800ADBC8 000AAB28 38 00 00 00 */ li r0, 0 -/* 800ADBCC 000AAB2C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADBD0 000AAB30 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR25CScriptSpiderBallWaypoint" -"Visit__25TCastToPtr<11CGameCamera>FR25CScriptSpiderBallWaypoint": -/* 800ADBD4 000AAB34 38 00 00 00 */ li r0, 0 -/* 800ADBD8 000AAB38 90 03 00 04 */ stw r0, 4(r3) -/* 800ADBDC 000AAB3C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR34CScriptSpiderBallAttractionSurface" -"Visit__25TCastToPtr<11CGameCamera>FR34CScriptSpiderBallAttractionSurface": -/* 800ADBE0 000AAB40 38 00 00 00 */ li r0, 0 -/* 800ADBE4 000AAB44 90 03 00 04 */ stw r0, 4(r3) -/* 800ADBE8 000AAB48 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR22CScriptSpecialFunction" -"Visit__25TCastToPtr<11CGameCamera>FR22CScriptSpecialFunction": -/* 800ADBEC 000AAB4C 38 00 00 00 */ li r0, 0 -/* 800ADBF0 000AAB50 90 03 00 04 */ stw r0, 4(r3) -/* 800ADBF4 000AAB54 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptSpawnPoint" -"Visit__25TCastToPtr<11CGameCamera>FR17CScriptSpawnPoint": -/* 800ADBF8 000AAB58 38 00 00 00 */ li r0, 0 -/* 800ADBFC 000AAB5C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC00 000AAB60 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR12CScriptSound" -"Visit__25TCastToPtr<11CGameCamera>FR12CScriptSound": -/* 800ADC04 000AAB64 38 00 00 00 */ li r0, 0 -/* 800ADC08 000AAB68 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC0C 000AAB6C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR20CScriptRoomAcoustics" -"Visit__25TCastToPtr<11CGameCamera>FR20CScriptRoomAcoustics": -/* 800ADC10 000AAB70 38 00 00 00 */ li r0, 0 -/* 800ADC14 000AAB74 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC18 000AAB78 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR22CScriptPointOfinterest" -"Visit__25TCastToPtr<11CGameCamera>FR22CScriptPointOfinterest": -/* 800ADC1C 000AAB7C 38 00 00 00 */ li r0, 0 -/* 800ADC20 000AAB80 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC24 000AAB84 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptPlayerHint" -"Visit__25TCastToPtr<11CGameCamera>FR17CScriptPlayerHint": -/* 800ADC28 000AAB88 38 00 00 00 */ li r0, 0 -/* 800ADC2C 000AAB8C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC30 000AAB90 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR15CScriptPlatform" -"Visit__25TCastToPtr<11CGameCamera>FR15CScriptPlatform": -/* 800ADC34 000AAB94 38 00 00 00 */ li r0, 0 -/* 800ADC38 000AAB98 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC3C 000AAB9C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR13CScriptPickup" -"Visit__25TCastToPtr<11CGameCamera>FR13CScriptPickup": -/* 800ADC40 000AABA0 38 00 00 00 */ li r0, 0 -/* 800ADC44 000AABA4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC48 000AABA8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR15CScriptMazeNode" -"Visit__25TCastToPtr<11CGameCamera>FR15CScriptMazeNode": -/* 800ADC4C 000AABAC 38 00 00 00 */ li r0, 0 -/* 800ADC50 000AABB0 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC54 000AABB4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR16CScriptGunTurret" -"Visit__25TCastToPtr<11CGameCamera>FR16CScriptGunTurret": -/* 800ADC58 000AABB8 38 00 00 00 */ li r0, 0 -/* 800ADC5C 000AABBC 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC60 000AABC0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR19CScriptGrapplePoint" -"Visit__25TCastToPtr<11CGameCamera>FR19CScriptGrapplePoint": -/* 800ADC64 000AABC4 38 00 00 00 */ li r0, 0 -/* 800ADC68 000AABC8 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC6C 000AABCC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR13CScriptEffect" -"Visit__25TCastToPtr<11CGameCamera>FR13CScriptEffect": -/* 800ADC70 000AABD0 38 00 00 00 */ li r0, 0 -/* 800ADC74 000AABD4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC78 000AABD8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR11CScriptDoor" -"Visit__25TCastToPtr<11CGameCamera>FR11CScriptDoor": -/* 800ADC7C 000AABDC 38 00 00 00 */ li r0, 0 -/* 800ADC80 000AABE0 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC84 000AABE4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR11CScriptDock" -"Visit__25TCastToPtr<11CGameCamera>FR11CScriptDock": -/* 800ADC88 000AABE8 38 00 00 00 */ li r0, 0 -/* 800ADC8C 000AABEC 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC90 000AABF0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR18CScriptDistanceFog" -"Visit__25TCastToPtr<11CGameCamera>FR18CScriptDistanceFog": -/* 800ADC94 000AABF4 38 00 00 00 */ li r0, 0 -/* 800ADC98 000AABF8 90 03 00 04 */ stw r0, 4(r3) -/* 800ADC9C 000AABFC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR26CScriptDebugCameraWaypoint" -"Visit__25TCastToPtr<11CGameCamera>FR26CScriptDebugCameraWaypoint": -/* 800ADCA0 000AAC00 38 00 00 00 */ li r0, 0 -/* 800ADCA4 000AAC04 90 03 00 04 */ stw r0, 4(r3) -/* 800ADCA8 000AAC08 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptCoverPoint" -"Visit__25TCastToPtr<11CGameCamera>FR17CScriptCoverPoint": -/* 800ADCAC 000AAC0C 38 00 00 00 */ li r0, 0 -/* 800ADCB0 000AAC10 90 03 00 04 */ stw r0, 4(r3) -/* 800ADCB4 000AAC14 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR21CScriptCameraWaypoint" -"Visit__25TCastToPtr<11CGameCamera>FR21CScriptCameraWaypoint": -/* 800ADCB8 000AAC18 38 00 00 00 */ li r0, 0 -/* 800ADCBC 000AAC1C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADCC0 000AAC20 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR24CScriptCameraPitchVolume" -"Visit__25TCastToPtr<11CGameCamera>FR24CScriptCameraPitchVolume": -/* 800ADCC4 000AAC24 38 00 00 00 */ li r0, 0 -/* 800ADCC8 000AAC28 90 03 00 04 */ stw r0, 4(r3) -/* 800ADCCC 000AAC2C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR17CScriptCameraHint" -"Visit__25TCastToPtr<11CGameCamera>FR17CScriptCameraHint": -/* 800ADCD0 000AAC30 38 00 00 00 */ li r0, 0 -/* 800ADCD4 000AAC34 90 03 00 04 */ stw r0, 4(r3) -/* 800ADCD8 000AAC38 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR18CScriptAiJumpPoint" -"Visit__25TCastToPtr<11CGameCamera>FR18CScriptAiJumpPoint": -/* 800ADCDC 000AAC3C 38 00 00 00 */ li r0, 0 -/* 800ADCE0 000AAC40 90 03 00 04 */ stw r0, 4(r3) -/* 800ADCE4 000AAC44 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR20CScriptActorKeyframe" -"Visit__25TCastToPtr<11CGameCamera>FR20CScriptActorKeyframe": -/* 800ADCE8 000AAC48 38 00 00 00 */ li r0, 0 -/* 800ADCEC 000AAC4C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADCF0 000AAC50 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR12CScriptActor" -"Visit__25TCastToPtr<11CGameCamera>FR12CScriptActor": -/* 800ADCF4 000AAC54 38 00 00 00 */ li r0, 0 -/* 800ADCF8 000AAC58 90 03 00 04 */ stw r0, 4(r3) -/* 800ADCFC 000AAC5C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR9CRepulsor" -"Visit__25TCastToPtr<11CGameCamera>FR9CRepulsor": -/* 800ADD00 000AAC60 38 00 00 00 */ li r0, 0 -/* 800ADD04 000AAC64 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD08 000AAC68 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR7CPlayer" -"Visit__25TCastToPtr<11CGameCamera>FR7CPlayer": -/* 800ADD0C 000AAC6C 38 00 00 00 */ li r0, 0 -/* 800ADD10 000AAC70 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD14 000AAC74 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR13CPhysicsActor" -"Visit__25TCastToPtr<11CGameCamera>FR13CPhysicsActor": -/* 800ADD18 000AAC78 38 00 00 00 */ li r0, 0 -/* 800ADD1C 000AAC7C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD20 000AAC80 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR3CAi" -"Visit__25TCastToPtr<11CGameCamera>FR3CAi": -/* 800ADD24 000AAC84 38 00 00 00 */ li r0, 0 -/* 800ADD28 000AAC88 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD2C 000AAC8C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR11CPathCamera" -"Visit__25TCastToPtr<11CGameCamera>FR11CPathCamera": -/* 800ADD30 000AAC90 90 83 00 04 */ stw r4, 4(r3) -/* 800ADD34 000AAC94 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR18CMetroidPrimeRelay" -"Visit__25TCastToPtr<11CGameCamera>FR18CMetroidPrimeRelay": -/* 800ADD38 000AAC98 38 00 00 00 */ li r0, 0 -/* 800ADD3C 000AAC9C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD40 000AACA0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR19CHUDBillboardEffect" -"Visit__25TCastToPtr<11CGameCamera>FR19CHUDBillboardEffect": -/* 800ADD44 000AACA4 38 00 00 00 */ li r0, 0 -/* 800ADD48 000AACA8 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD4C 000AACAC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR15CGameProjectile" -"Visit__25TCastToPtr<11CGameCamera>FR15CGameProjectile": -/* 800ADD50 000AACB0 38 00 00 00 */ li r0, 0 -/* 800ADD54 000AACB4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD58 000AACB8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR10CGameLight" -"Visit__25TCastToPtr<11CGameCamera>FR10CGameLight": -/* 800ADD5C 000AACBC 38 00 00 00 */ li r0, 0 -/* 800ADD60 000AACC0 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD64 000AACC4 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR11CGameCamera" -"Visit__25TCastToPtr<11CGameCamera>FR11CGameCamera": -/* 800ADD68 000AACC8 90 83 00 04 */ stw r4, 4(r3) -/* 800ADD6C 000AACCC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR10CFishCloud" -"Visit__25TCastToPtr<11CGameCamera>FR10CFishCloud": -/* 800ADD70 000AACD0 38 00 00 00 */ li r0, 0 -/* 800ADD74 000AACD4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD78 000AACD8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR18CFirstPersonCamera" -"Visit__25TCastToPtr<11CGameCamera>FR18CFirstPersonCamera": -/* 800ADD7C 000AACDC 90 83 00 04 */ stw r4, 4(r3) -/* 800ADD80 000AACE0 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR10CExplosion" -"Visit__25TCastToPtr<11CGameCamera>FR10CExplosion": -/* 800ADD84 000AACE4 38 00 00 00 */ li r0, 0 -/* 800ADD88 000AACE8 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD8C 000AACEC 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR7CEntity" -"Visit__25TCastToPtr<11CGameCamera>FR7CEntity": -/* 800ADD90 000AACF0 38 00 00 00 */ li r0, 0 -/* 800ADD94 000AACF4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADD98 000AACF8 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR17CEnergyProjectile" -"Visit__25TCastToPtr<11CGameCamera>FR17CEnergyProjectile": -/* 800ADD9C 000AACFC 38 00 00 00 */ li r0, 0 -/* 800ADDA0 000AAD00 90 03 00 04 */ stw r0, 4(r3) -/* 800ADDA4 000AAD04 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR16CDestroyableRock" -"Visit__25TCastToPtr<11CGameCamera>FR16CDestroyableRock": -/* 800ADDA8 000AAD08 38 00 00 00 */ li r0, 0 -/* 800ADDAC 000AAD0C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADDB0 000AAD10 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR15CCollisionActor" -"Visit__25TCastToPtr<11CGameCamera>FR15CCollisionActor": -/* 800ADDB4 000AAD14 38 00 00 00 */ li r0, 0 -/* 800ADDB8 000AAD18 90 03 00 04 */ stw r0, 4(r3) -/* 800ADDBC 000AAD1C 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR16CCinematicCamera" -"Visit__25TCastToPtr<11CGameCamera>FR16CCinematicCamera": -/* 800ADDC0 000AAD20 90 83 00 04 */ stw r4, 4(r3) -/* 800ADDC4 000AAD24 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR5CBomb" -"Visit__25TCastToPtr<11CGameCamera>FR5CBomb": -/* 800ADDC8 000AAD28 38 00 00 00 */ li r0, 0 -/* 800ADDCC 000AAD2C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADDD0 000AAD30 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR11CBallCamera" -"Visit__25TCastToPtr<11CGameCamera>FR11CBallCamera": -/* 800ADDD4 000AAD34 90 83 00 04 */ stw r4, 4(r3) -/* 800ADDD8 000AAD38 4E 80 00 20 */ blr - -.global "Visit__25TCastToPtr<11CGameCamera>FR6CActor" -"Visit__25TCastToPtr<11CGameCamera>FR6CActor": -/* 800ADDDC 000AAD3C 38 00 00 00 */ li r0, 0 -/* 800ADDE0 000AAD40 90 03 00 04 */ stw r0, 4(r3) -/* 800ADDE4 000AAD44 4E 80 00 20 */ blr - -.global "__ct__25TCastToPtr<11CGameCamera>FP7CEntity" -"__ct__25TCastToPtr<11CGameCamera>FP7CEntity": -/* 800ADDE8 000AAD48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ADDEC 000AAD4C 7C 08 02 A6 */ mflr r0 -/* 800ADDF0 000AAD50 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800ADDF4 000AAD54 3C A0 80 3E */ lis r5, lbl_803DC898@ha -/* 800ADDF8 000AAD58 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ADDFC 000AAD5C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800ADE00 000AAD60 28 04 00 00 */ cmplwi r4, 0 -/* 800ADE04 000AAD64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ADE08 000AAD68 7C 7F 1B 78 */ mr r31, r3 -/* 800ADE0C 000AAD6C 38 65 C8 98 */ addi r3, r5, lbl_803DC898@l -/* 800ADE10 000AAD70 90 1F 00 00 */ stw r0, 0(r31) -/* 800ADE14 000AAD74 38 00 00 00 */ li r0, 0 -/* 800ADE18 000AAD78 90 7F 00 00 */ stw r3, 0(r31) -/* 800ADE1C 000AAD7C 90 1F 00 04 */ stw r0, 4(r31) -/* 800ADE20 000AAD80 41 82 00 1C */ beq lbl_800ADE3C -/* 800ADE24 000AAD84 7C 83 23 78 */ mr r3, r4 -/* 800ADE28 000AAD88 7F E4 FB 78 */ mr r4, r31 -/* 800ADE2C 000AAD8C 81 83 00 00 */ lwz r12, 0(r3) -/* 800ADE30 000AAD90 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ADE34 000AAD94 7D 89 03 A6 */ mtctr r12 -/* 800ADE38 000AAD98 4E 80 04 21 */ bctrl -lbl_800ADE3C: -/* 800ADE3C 000AAD9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ADE40 000AADA0 7F E3 FB 78 */ mr r3, r31 -/* 800ADE44 000AADA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ADE48 000AADA8 7C 08 03 A6 */ mtlr r0 -/* 800ADE4C 000AADAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ADE50 000AADB0 4E 80 00 20 */ blr - -.global "__ct__25TCastToPtr<11CGameCamera>FR7CEntity" -"__ct__25TCastToPtr<11CGameCamera>FR7CEntity": -/* 800ADE54 000AADB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ADE58 000AADB8 7C 08 02 A6 */ mflr r0 -/* 800ADE5C 000AADBC 3C A0 80 3E */ lis r5, lbl_803DC898@ha -/* 800ADE60 000AADC0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800ADE64 000AADC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ADE68 000AADC8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800ADE6C 000AADCC 38 A5 C8 98 */ addi r5, r5, lbl_803DC898@l -/* 800ADE70 000AADD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ADE74 000AADD4 7C 7F 1B 78 */ mr r31, r3 -/* 800ADE78 000AADD8 90 03 00 00 */ stw r0, 0(r3) -/* 800ADE7C 000AADDC 7C 83 23 78 */ mr r3, r4 -/* 800ADE80 000AADE0 38 00 00 00 */ li r0, 0 -/* 800ADE84 000AADE4 7F E4 FB 78 */ mr r4, r31 -/* 800ADE88 000AADE8 90 BF 00 00 */ stw r5, 0(r31) -/* 800ADE8C 000AADEC 90 1F 00 04 */ stw r0, 4(r31) -/* 800ADE90 000AADF0 81 83 00 00 */ lwz r12, 0(r3) -/* 800ADE94 000AADF4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ADE98 000AADF8 7D 89 03 A6 */ mtctr r12 -/* 800ADE9C 000AADFC 4E 80 04 21 */ bctrl -/* 800ADEA0 000AAE00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ADEA4 000AAE04 7F E3 FB 78 */ mr r3, r31 -/* 800ADEA8 000AAE08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ADEAC 000AAE0C 7C 08 03 A6 */ mtlr r0 -/* 800ADEB0 000AAE10 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ADEB4 000AAE14 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR7CWeapon" -"Visit__24TCastToPtr<10CFishCloud>FR7CWeapon": -/* 800ADEB8 000AAE18 38 00 00 00 */ li r0, 0 -/* 800ADEBC 000AAE1C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADEC0 000AAE20 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR17CWallCrawlerSwarm" -"Visit__24TCastToPtr<10CFishCloud>FR17CWallCrawlerSwarm": -/* 800ADEC4 000AAE24 38 00 00 00 */ li r0, 0 -/* 800ADEC8 000AAE28 90 03 00 04 */ stw r0, 4(r3) -/* 800ADECC 000AAE2C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR20CScriptSpindleCamera" -"Visit__24TCastToPtr<10CFishCloud>FR20CScriptSpindleCamera": -/* 800ADED0 000AAE30 38 00 00 00 */ li r0, 0 -/* 800ADED4 000AAE34 90 03 00 04 */ stw r0, 4(r3) -/* 800ADED8 000AAE38 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR15CSnakeWeedSwarm" -"Visit__24TCastToPtr<10CFishCloud>FR15CSnakeWeedSwarm": -/* 800ADEDC 000AAE3C 38 00 00 00 */ li r0, 0 -/* 800ADEE0 000AAE40 90 03 00 04 */ stw r0, 4(r3) -/* 800ADEE4 000AAE44 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR15CScriptWaypoint" -"Visit__24TCastToPtr<10CFishCloud>FR15CScriptWaypoint": -/* 800ADEE8 000AAE48 38 00 00 00 */ li r0, 0 -/* 800ADEEC 000AAE4C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADEF0 000AAE50 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR12CScriptWater" -"Visit__24TCastToPtr<10CFishCloud>FR12CScriptWater": -/* 800ADEF4 000AAE54 38 00 00 00 */ li r0, 0 -/* 800ADEF8 000AAE58 90 03 00 04 */ stw r0, 4(r3) -/* 800ADEFC 000AAE5C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptVisorFlare" -"Visit__24TCastToPtr<10CFishCloud>FR17CScriptVisorFlare": -/* 800ADF00 000AAE60 38 00 00 00 */ li r0, 0 -/* 800ADF04 000AAE64 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF08 000AAE68 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR14CScriptTrigger" -"Visit__24TCastToPtr<10CFishCloud>FR14CScriptTrigger": -/* 800ADF0C 000AAE6C 38 00 00 00 */ li r0, 0 -/* 800ADF10 000AAE70 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF14 000AAE74 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR12CScriptTimer" -"Visit__24TCastToPtr<10CFishCloud>FR12CScriptTimer": -/* 800ADF18 000AAE78 38 00 00 00 */ li r0, 0 -/* 800ADF1C 000AAE7C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF20 000AAE80 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR10CTeamAiMgr" -"Visit__24TCastToPtr<10CFishCloud>FR10CTeamAiMgr": -/* 800ADF24 000AAE84 38 00 00 00 */ li r0, 0 -/* 800ADF28 000AAE88 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF2C 000AAE8C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR21CScriptTargetingPoint" -"Visit__24TCastToPtr<10CFishCloud>FR21CScriptTargetingPoint": -/* 800ADF30 000AAE90 38 00 00 00 */ li r0, 0 -/* 800ADF34 000AAE94 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF38 000AAE98 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR25CScriptSpiderBallWaypoint" -"Visit__24TCastToPtr<10CFishCloud>FR25CScriptSpiderBallWaypoint": -/* 800ADF3C 000AAE9C 38 00 00 00 */ li r0, 0 -/* 800ADF40 000AAEA0 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF44 000AAEA4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR34CScriptSpiderBallAttractionSurface" -"Visit__24TCastToPtr<10CFishCloud>FR34CScriptSpiderBallAttractionSurface": -/* 800ADF48 000AAEA8 38 00 00 00 */ li r0, 0 -/* 800ADF4C 000AAEAC 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF50 000AAEB0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR22CScriptSpecialFunction" -"Visit__24TCastToPtr<10CFishCloud>FR22CScriptSpecialFunction": -/* 800ADF54 000AAEB4 38 00 00 00 */ li r0, 0 -/* 800ADF58 000AAEB8 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF5C 000AAEBC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptSpawnPoint" -"Visit__24TCastToPtr<10CFishCloud>FR17CScriptSpawnPoint": -/* 800ADF60 000AAEC0 38 00 00 00 */ li r0, 0 -/* 800ADF64 000AAEC4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF68 000AAEC8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR12CScriptSound" -"Visit__24TCastToPtr<10CFishCloud>FR12CScriptSound": -/* 800ADF6C 000AAECC 38 00 00 00 */ li r0, 0 -/* 800ADF70 000AAED0 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF74 000AAED4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR20CScriptRoomAcoustics" -"Visit__24TCastToPtr<10CFishCloud>FR20CScriptRoomAcoustics": -/* 800ADF78 000AAED8 38 00 00 00 */ li r0, 0 -/* 800ADF7C 000AAEDC 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF80 000AAEE0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR22CScriptPointOfinterest" -"Visit__24TCastToPtr<10CFishCloud>FR22CScriptPointOfinterest": -/* 800ADF84 000AAEE4 38 00 00 00 */ li r0, 0 -/* 800ADF88 000AAEE8 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF8C 000AAEEC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptPlayerHint" -"Visit__24TCastToPtr<10CFishCloud>FR17CScriptPlayerHint": -/* 800ADF90 000AAEF0 38 00 00 00 */ li r0, 0 -/* 800ADF94 000AAEF4 90 03 00 04 */ stw r0, 4(r3) -/* 800ADF98 000AAEF8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR15CScriptPlatform" -"Visit__24TCastToPtr<10CFishCloud>FR15CScriptPlatform": -/* 800ADF9C 000AAEFC 38 00 00 00 */ li r0, 0 -/* 800ADFA0 000AAF00 90 03 00 04 */ stw r0, 4(r3) -/* 800ADFA4 000AAF04 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR13CScriptPickup" -"Visit__24TCastToPtr<10CFishCloud>FR13CScriptPickup": -/* 800ADFA8 000AAF08 38 00 00 00 */ li r0, 0 -/* 800ADFAC 000AAF0C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADFB0 000AAF10 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR15CScriptMazeNode" -"Visit__24TCastToPtr<10CFishCloud>FR15CScriptMazeNode": -/* 800ADFB4 000AAF14 38 00 00 00 */ li r0, 0 -/* 800ADFB8 000AAF18 90 03 00 04 */ stw r0, 4(r3) -/* 800ADFBC 000AAF1C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR16CScriptGunTurret" -"Visit__24TCastToPtr<10CFishCloud>FR16CScriptGunTurret": -/* 800ADFC0 000AAF20 38 00 00 00 */ li r0, 0 -/* 800ADFC4 000AAF24 90 03 00 04 */ stw r0, 4(r3) -/* 800ADFC8 000AAF28 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR19CScriptGrapplePoint" -"Visit__24TCastToPtr<10CFishCloud>FR19CScriptGrapplePoint": -/* 800ADFCC 000AAF2C 38 00 00 00 */ li r0, 0 -/* 800ADFD0 000AAF30 90 03 00 04 */ stw r0, 4(r3) -/* 800ADFD4 000AAF34 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR13CScriptEffect" -"Visit__24TCastToPtr<10CFishCloud>FR13CScriptEffect": -/* 800ADFD8 000AAF38 38 00 00 00 */ li r0, 0 -/* 800ADFDC 000AAF3C 90 03 00 04 */ stw r0, 4(r3) -/* 800ADFE0 000AAF40 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR11CScriptDoor" -"Visit__24TCastToPtr<10CFishCloud>FR11CScriptDoor": -/* 800ADFE4 000AAF44 38 00 00 00 */ li r0, 0 -/* 800ADFE8 000AAF48 90 03 00 04 */ stw r0, 4(r3) -/* 800ADFEC 000AAF4C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR11CScriptDock" -"Visit__24TCastToPtr<10CFishCloud>FR11CScriptDock": -/* 800ADFF0 000AAF50 38 00 00 00 */ li r0, 0 -/* 800ADFF4 000AAF54 90 03 00 04 */ stw r0, 4(r3) -/* 800ADFF8 000AAF58 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR18CScriptDistanceFog" -"Visit__24TCastToPtr<10CFishCloud>FR18CScriptDistanceFog": -/* 800ADFFC 000AAF5C 38 00 00 00 */ li r0, 0 -/* 800AE000 000AAF60 90 03 00 04 */ stw r0, 4(r3) -/* 800AE004 000AAF64 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR26CScriptDebugCameraWaypoint" -"Visit__24TCastToPtr<10CFishCloud>FR26CScriptDebugCameraWaypoint": -/* 800AE008 000AAF68 38 00 00 00 */ li r0, 0 -/* 800AE00C 000AAF6C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE010 000AAF70 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptCoverPoint" -"Visit__24TCastToPtr<10CFishCloud>FR17CScriptCoverPoint": -/* 800AE014 000AAF74 38 00 00 00 */ li r0, 0 -/* 800AE018 000AAF78 90 03 00 04 */ stw r0, 4(r3) -/* 800AE01C 000AAF7C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR21CScriptCameraWaypoint" -"Visit__24TCastToPtr<10CFishCloud>FR21CScriptCameraWaypoint": -/* 800AE020 000AAF80 38 00 00 00 */ li r0, 0 -/* 800AE024 000AAF84 90 03 00 04 */ stw r0, 4(r3) -/* 800AE028 000AAF88 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR24CScriptCameraPitchVolume" -"Visit__24TCastToPtr<10CFishCloud>FR24CScriptCameraPitchVolume": -/* 800AE02C 000AAF8C 38 00 00 00 */ li r0, 0 -/* 800AE030 000AAF90 90 03 00 04 */ stw r0, 4(r3) -/* 800AE034 000AAF94 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR17CScriptCameraHint" -"Visit__24TCastToPtr<10CFishCloud>FR17CScriptCameraHint": -/* 800AE038 000AAF98 38 00 00 00 */ li r0, 0 -/* 800AE03C 000AAF9C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE040 000AAFA0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR18CScriptAiJumpPoint" -"Visit__24TCastToPtr<10CFishCloud>FR18CScriptAiJumpPoint": -/* 800AE044 000AAFA4 38 00 00 00 */ li r0, 0 -/* 800AE048 000AAFA8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE04C 000AAFAC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR20CScriptActorKeyframe" -"Visit__24TCastToPtr<10CFishCloud>FR20CScriptActorKeyframe": -/* 800AE050 000AAFB0 38 00 00 00 */ li r0, 0 -/* 800AE054 000AAFB4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE058 000AAFB8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR12CScriptActor" -"Visit__24TCastToPtr<10CFishCloud>FR12CScriptActor": -/* 800AE05C 000AAFBC 38 00 00 00 */ li r0, 0 -/* 800AE060 000AAFC0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE064 000AAFC4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR9CRepulsor" -"Visit__24TCastToPtr<10CFishCloud>FR9CRepulsor": -/* 800AE068 000AAFC8 38 00 00 00 */ li r0, 0 -/* 800AE06C 000AAFCC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE070 000AAFD0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR7CPlayer" -"Visit__24TCastToPtr<10CFishCloud>FR7CPlayer": -/* 800AE074 000AAFD4 38 00 00 00 */ li r0, 0 -/* 800AE078 000AAFD8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE07C 000AAFDC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR13CPhysicsActor" -"Visit__24TCastToPtr<10CFishCloud>FR13CPhysicsActor": -/* 800AE080 000AAFE0 38 00 00 00 */ li r0, 0 -/* 800AE084 000AAFE4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE088 000AAFE8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR3CAi" -"Visit__24TCastToPtr<10CFishCloud>FR3CAi": -/* 800AE08C 000AAFEC 38 00 00 00 */ li r0, 0 -/* 800AE090 000AAFF0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE094 000AAFF4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR11CPathCamera" -"Visit__24TCastToPtr<10CFishCloud>FR11CPathCamera": -/* 800AE098 000AAFF8 38 00 00 00 */ li r0, 0 -/* 800AE09C 000AAFFC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE0A0 000AB000 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR18CMetroidPrimeRelay" -"Visit__24TCastToPtr<10CFishCloud>FR18CMetroidPrimeRelay": -/* 800AE0A4 000AB004 38 00 00 00 */ li r0, 0 -/* 800AE0A8 000AB008 90 03 00 04 */ stw r0, 4(r3) -/* 800AE0AC 000AB00C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR19CHUDBillboardEffect" -"Visit__24TCastToPtr<10CFishCloud>FR19CHUDBillboardEffect": -/* 800AE0B0 000AB010 38 00 00 00 */ li r0, 0 -/* 800AE0B4 000AB014 90 03 00 04 */ stw r0, 4(r3) -/* 800AE0B8 000AB018 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR15CGameProjectile" -"Visit__24TCastToPtr<10CFishCloud>FR15CGameProjectile": -/* 800AE0BC 000AB01C 38 00 00 00 */ li r0, 0 -/* 800AE0C0 000AB020 90 03 00 04 */ stw r0, 4(r3) -/* 800AE0C4 000AB024 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR10CGameLight" -"Visit__24TCastToPtr<10CFishCloud>FR10CGameLight": -/* 800AE0C8 000AB028 38 00 00 00 */ li r0, 0 -/* 800AE0CC 000AB02C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE0D0 000AB030 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR11CGameCamera" -"Visit__24TCastToPtr<10CFishCloud>FR11CGameCamera": -/* 800AE0D4 000AB034 38 00 00 00 */ li r0, 0 -/* 800AE0D8 000AB038 90 03 00 04 */ stw r0, 4(r3) -/* 800AE0DC 000AB03C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR10CFishCloud" -"Visit__24TCastToPtr<10CFishCloud>FR10CFishCloud": -/* 800AE0E0 000AB040 90 83 00 04 */ stw r4, 4(r3) -/* 800AE0E4 000AB044 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR18CFirstPersonCamera" -"Visit__24TCastToPtr<10CFishCloud>FR18CFirstPersonCamera": -/* 800AE0E8 000AB048 38 00 00 00 */ li r0, 0 -/* 800AE0EC 000AB04C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE0F0 000AB050 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR10CExplosion" -"Visit__24TCastToPtr<10CFishCloud>FR10CExplosion": -/* 800AE0F4 000AB054 38 00 00 00 */ li r0, 0 -/* 800AE0F8 000AB058 90 03 00 04 */ stw r0, 4(r3) -/* 800AE0FC 000AB05C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR7CEntity" -"Visit__24TCastToPtr<10CFishCloud>FR7CEntity": -/* 800AE100 000AB060 38 00 00 00 */ li r0, 0 -/* 800AE104 000AB064 90 03 00 04 */ stw r0, 4(r3) -/* 800AE108 000AB068 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR17CEnergyProjectile" -"Visit__24TCastToPtr<10CFishCloud>FR17CEnergyProjectile": -/* 800AE10C 000AB06C 38 00 00 00 */ li r0, 0 -/* 800AE110 000AB070 90 03 00 04 */ stw r0, 4(r3) -/* 800AE114 000AB074 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR16CDestroyableRock" -"Visit__24TCastToPtr<10CFishCloud>FR16CDestroyableRock": -/* 800AE118 000AB078 38 00 00 00 */ li r0, 0 -/* 800AE11C 000AB07C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE120 000AB080 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR15CCollisionActor" -"Visit__24TCastToPtr<10CFishCloud>FR15CCollisionActor": -/* 800AE124 000AB084 38 00 00 00 */ li r0, 0 -/* 800AE128 000AB088 90 03 00 04 */ stw r0, 4(r3) -/* 800AE12C 000AB08C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR16CCinematicCamera" -"Visit__24TCastToPtr<10CFishCloud>FR16CCinematicCamera": -/* 800AE130 000AB090 38 00 00 00 */ li r0, 0 -/* 800AE134 000AB094 90 03 00 04 */ stw r0, 4(r3) -/* 800AE138 000AB098 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR5CBomb" -"Visit__24TCastToPtr<10CFishCloud>FR5CBomb": -/* 800AE13C 000AB09C 38 00 00 00 */ li r0, 0 -/* 800AE140 000AB0A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE144 000AB0A4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR11CBallCamera" -"Visit__24TCastToPtr<10CFishCloud>FR11CBallCamera": -/* 800AE148 000AB0A8 38 00 00 00 */ li r0, 0 -/* 800AE14C 000AB0AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE150 000AB0B0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CFishCloud>FR6CActor" -"Visit__24TCastToPtr<10CFishCloud>FR6CActor": -/* 800AE154 000AB0B4 38 00 00 00 */ li r0, 0 -/* 800AE158 000AB0B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE15C 000AB0BC 4E 80 00 20 */ blr - -.global "__ct__24TCastToPtr<10CFishCloud>FP7CEntity" -"__ct__24TCastToPtr<10CFishCloud>FP7CEntity": -/* 800AE160 000AB0C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AE164 000AB0C4 7C 08 02 A6 */ mflr r0 -/* 800AE168 000AB0C8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AE16C 000AB0CC 3C A0 80 3E */ lis r5, lbl_803DC7AC@ha -/* 800AE170 000AB0D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AE174 000AB0D4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AE178 000AB0D8 28 04 00 00 */ cmplwi r4, 0 -/* 800AE17C 000AB0DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AE180 000AB0E0 7C 7F 1B 78 */ mr r31, r3 -/* 800AE184 000AB0E4 38 65 C7 AC */ addi r3, r5, lbl_803DC7AC@l -/* 800AE188 000AB0E8 90 1F 00 00 */ stw r0, 0(r31) -/* 800AE18C 000AB0EC 38 00 00 00 */ li r0, 0 -/* 800AE190 000AB0F0 90 7F 00 00 */ stw r3, 0(r31) -/* 800AE194 000AB0F4 90 1F 00 04 */ stw r0, 4(r31) -/* 800AE198 000AB0F8 41 82 00 1C */ beq lbl_800AE1B4 -/* 800AE19C 000AB0FC 7C 83 23 78 */ mr r3, r4 -/* 800AE1A0 000AB100 7F E4 FB 78 */ mr r4, r31 -/* 800AE1A4 000AB104 81 83 00 00 */ lwz r12, 0(r3) -/* 800AE1A8 000AB108 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AE1AC 000AB10C 7D 89 03 A6 */ mtctr r12 -/* 800AE1B0 000AB110 4E 80 04 21 */ bctrl -lbl_800AE1B4: -/* 800AE1B4 000AB114 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AE1B8 000AB118 7F E3 FB 78 */ mr r3, r31 -/* 800AE1BC 000AB11C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AE1C0 000AB120 7C 08 03 A6 */ mtlr r0 -/* 800AE1C4 000AB124 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AE1C8 000AB128 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR7CWeapon" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR7CWeapon": -/* 800AE1CC 000AB12C 38 00 00 00 */ li r0, 0 -/* 800AE1D0 000AB130 90 03 00 04 */ stw r0, 4(r3) -/* 800AE1D4 000AB134 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CWallCrawlerSwarm" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CWallCrawlerSwarm": -/* 800AE1D8 000AB138 38 00 00 00 */ li r0, 0 -/* 800AE1DC 000AB13C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE1E0 000AB140 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptSpindleCamera" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptSpindleCamera": -/* 800AE1E4 000AB144 38 00 00 00 */ li r0, 0 -/* 800AE1E8 000AB148 90 03 00 04 */ stw r0, 4(r3) -/* 800AE1EC 000AB14C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CSnakeWeedSwarm" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CSnakeWeedSwarm": -/* 800AE1F0 000AB150 38 00 00 00 */ li r0, 0 -/* 800AE1F4 000AB154 90 03 00 04 */ stw r0, 4(r3) -/* 800AE1F8 000AB158 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptWaypoint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptWaypoint": -/* 800AE1FC 000AB15C 38 00 00 00 */ li r0, 0 -/* 800AE200 000AB160 90 03 00 04 */ stw r0, 4(r3) -/* 800AE204 000AB164 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptWater" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptWater": -/* 800AE208 000AB168 38 00 00 00 */ li r0, 0 -/* 800AE20C 000AB16C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE210 000AB170 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptVisorFlare" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptVisorFlare": -/* 800AE214 000AB174 38 00 00 00 */ li r0, 0 -/* 800AE218 000AB178 90 03 00 04 */ stw r0, 4(r3) -/* 800AE21C 000AB17C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR14CScriptTrigger" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR14CScriptTrigger": -/* 800AE220 000AB180 38 00 00 00 */ li r0, 0 -/* 800AE224 000AB184 90 03 00 04 */ stw r0, 4(r3) -/* 800AE228 000AB188 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptTimer" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptTimer": -/* 800AE22C 000AB18C 38 00 00 00 */ li r0, 0 -/* 800AE230 000AB190 90 03 00 04 */ stw r0, 4(r3) -/* 800AE234 000AB194 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR10CTeamAiMgr" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR10CTeamAiMgr": -/* 800AE238 000AB198 38 00 00 00 */ li r0, 0 -/* 800AE23C 000AB19C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE240 000AB1A0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR21CScriptTargetingPoint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR21CScriptTargetingPoint": -/* 800AE244 000AB1A4 38 00 00 00 */ li r0, 0 -/* 800AE248 000AB1A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE24C 000AB1AC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR25CScriptSpiderBallWaypoint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR25CScriptSpiderBallWaypoint": -/* 800AE250 000AB1B0 38 00 00 00 */ li r0, 0 -/* 800AE254 000AB1B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE258 000AB1B8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR34CScriptSpiderBallAttractionSurface" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR34CScriptSpiderBallAttractionSurface": -/* 800AE25C 000AB1BC 38 00 00 00 */ li r0, 0 -/* 800AE260 000AB1C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE264 000AB1C4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR22CScriptSpecialFunction" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR22CScriptSpecialFunction": -/* 800AE268 000AB1C8 38 00 00 00 */ li r0, 0 -/* 800AE26C 000AB1CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE270 000AB1D0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptSpawnPoint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptSpawnPoint": -/* 800AE274 000AB1D4 38 00 00 00 */ li r0, 0 -/* 800AE278 000AB1D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE27C 000AB1DC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptSound" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptSound": -/* 800AE280 000AB1E0 38 00 00 00 */ li r0, 0 -/* 800AE284 000AB1E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE288 000AB1E8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptRoomAcoustics" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptRoomAcoustics": -/* 800AE28C 000AB1EC 38 00 00 00 */ li r0, 0 -/* 800AE290 000AB1F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE294 000AB1F4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR22CScriptPointOfinterest" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR22CScriptPointOfinterest": -/* 800AE298 000AB1F8 38 00 00 00 */ li r0, 0 -/* 800AE29C 000AB1FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE2A0 000AB200 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptPlayerHint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptPlayerHint": -/* 800AE2A4 000AB204 38 00 00 00 */ li r0, 0 -/* 800AE2A8 000AB208 90 03 00 04 */ stw r0, 4(r3) -/* 800AE2AC 000AB20C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptPlatform" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptPlatform": -/* 800AE2B0 000AB210 38 00 00 00 */ li r0, 0 -/* 800AE2B4 000AB214 90 03 00 04 */ stw r0, 4(r3) -/* 800AE2B8 000AB218 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR13CScriptPickup" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR13CScriptPickup": -/* 800AE2BC 000AB21C 38 00 00 00 */ li r0, 0 -/* 800AE2C0 000AB220 90 03 00 04 */ stw r0, 4(r3) -/* 800AE2C4 000AB224 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptMazeNode" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CScriptMazeNode": -/* 800AE2C8 000AB228 38 00 00 00 */ li r0, 0 -/* 800AE2CC 000AB22C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE2D0 000AB230 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR16CScriptGunTurret" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR16CScriptGunTurret": -/* 800AE2D4 000AB234 38 00 00 00 */ li r0, 0 -/* 800AE2D8 000AB238 90 03 00 04 */ stw r0, 4(r3) -/* 800AE2DC 000AB23C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR19CScriptGrapplePoint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR19CScriptGrapplePoint": -/* 800AE2E0 000AB240 38 00 00 00 */ li r0, 0 -/* 800AE2E4 000AB244 90 03 00 04 */ stw r0, 4(r3) -/* 800AE2E8 000AB248 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR13CScriptEffect" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR13CScriptEffect": -/* 800AE2EC 000AB24C 38 00 00 00 */ li r0, 0 -/* 800AE2F0 000AB250 90 03 00 04 */ stw r0, 4(r3) -/* 800AE2F4 000AB254 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CScriptDoor" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CScriptDoor": -/* 800AE2F8 000AB258 38 00 00 00 */ li r0, 0 -/* 800AE2FC 000AB25C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE300 000AB260 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CScriptDock" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CScriptDock": -/* 800AE304 000AB264 38 00 00 00 */ li r0, 0 -/* 800AE308 000AB268 90 03 00 04 */ stw r0, 4(r3) -/* 800AE30C 000AB26C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR18CScriptDistanceFog" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR18CScriptDistanceFog": -/* 800AE310 000AB270 38 00 00 00 */ li r0, 0 -/* 800AE314 000AB274 90 03 00 04 */ stw r0, 4(r3) -/* 800AE318 000AB278 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR26CScriptDebugCameraWaypoint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR26CScriptDebugCameraWaypoint": -/* 800AE31C 000AB27C 38 00 00 00 */ li r0, 0 -/* 800AE320 000AB280 90 03 00 04 */ stw r0, 4(r3) -/* 800AE324 000AB284 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptCoverPoint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptCoverPoint": -/* 800AE328 000AB288 38 00 00 00 */ li r0, 0 -/* 800AE32C 000AB28C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE330 000AB290 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR21CScriptCameraWaypoint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR21CScriptCameraWaypoint": -/* 800AE334 000AB294 38 00 00 00 */ li r0, 0 -/* 800AE338 000AB298 90 03 00 04 */ stw r0, 4(r3) -/* 800AE33C 000AB29C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR24CScriptCameraPitchVolume" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR24CScriptCameraPitchVolume": -/* 800AE340 000AB2A0 38 00 00 00 */ li r0, 0 -/* 800AE344 000AB2A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE348 000AB2A8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptCameraHint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CScriptCameraHint": -/* 800AE34C 000AB2AC 38 00 00 00 */ li r0, 0 -/* 800AE350 000AB2B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE354 000AB2B4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR18CScriptAiJumpPoint" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR18CScriptAiJumpPoint": -/* 800AE358 000AB2B8 38 00 00 00 */ li r0, 0 -/* 800AE35C 000AB2BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE360 000AB2C0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptActorKeyframe" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR20CScriptActorKeyframe": -/* 800AE364 000AB2C4 38 00 00 00 */ li r0, 0 -/* 800AE368 000AB2C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE36C 000AB2CC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptActor" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR12CScriptActor": -/* 800AE370 000AB2D0 38 00 00 00 */ li r0, 0 -/* 800AE374 000AB2D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE378 000AB2D8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR9CRepulsor" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR9CRepulsor": -/* 800AE37C 000AB2DC 38 00 00 00 */ li r0, 0 -/* 800AE380 000AB2E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE384 000AB2E4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR7CPlayer" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR7CPlayer": -/* 800AE388 000AB2E8 38 00 00 00 */ li r0, 0 -/* 800AE38C 000AB2EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE390 000AB2F0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR13CPhysicsActor" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR13CPhysicsActor": -/* 800AE394 000AB2F4 38 00 00 00 */ li r0, 0 -/* 800AE398 000AB2F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE39C 000AB2FC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR3CAi" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR3CAi": -/* 800AE3A0 000AB300 38 00 00 00 */ li r0, 0 -/* 800AE3A4 000AB304 90 03 00 04 */ stw r0, 4(r3) -/* 800AE3A8 000AB308 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CPathCamera" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CPathCamera": -/* 800AE3AC 000AB30C 38 00 00 00 */ li r0, 0 -/* 800AE3B0 000AB310 90 03 00 04 */ stw r0, 4(r3) -/* 800AE3B4 000AB314 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR18CMetroidPrimeRelay" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR18CMetroidPrimeRelay": -/* 800AE3B8 000AB318 38 00 00 00 */ li r0, 0 -/* 800AE3BC 000AB31C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE3C0 000AB320 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR19CHUDBillboardEffect" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR19CHUDBillboardEffect": -/* 800AE3C4 000AB324 38 00 00 00 */ li r0, 0 -/* 800AE3C8 000AB328 90 03 00 04 */ stw r0, 4(r3) -/* 800AE3CC 000AB32C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CGameProjectile" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CGameProjectile": -/* 800AE3D0 000AB330 38 00 00 00 */ li r0, 0 -/* 800AE3D4 000AB334 90 03 00 04 */ stw r0, 4(r3) -/* 800AE3D8 000AB338 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR10CGameLight" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR10CGameLight": -/* 800AE3DC 000AB33C 38 00 00 00 */ li r0, 0 -/* 800AE3E0 000AB340 90 03 00 04 */ stw r0, 4(r3) -/* 800AE3E4 000AB344 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CGameCamera" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CGameCamera": -/* 800AE3E8 000AB348 38 00 00 00 */ li r0, 0 -/* 800AE3EC 000AB34C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE3F0 000AB350 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR10CFishCloud" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR10CFishCloud": -/* 800AE3F4 000AB354 38 00 00 00 */ li r0, 0 -/* 800AE3F8 000AB358 90 03 00 04 */ stw r0, 4(r3) -/* 800AE3FC 000AB35C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR18CFirstPersonCamera" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR18CFirstPersonCamera": -/* 800AE400 000AB360 90 83 00 04 */ stw r4, 4(r3) -/* 800AE404 000AB364 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR10CExplosion" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR10CExplosion": -/* 800AE408 000AB368 38 00 00 00 */ li r0, 0 -/* 800AE40C 000AB36C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE410 000AB370 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR7CEntity": -/* 800AE414 000AB374 38 00 00 00 */ li r0, 0 -/* 800AE418 000AB378 90 03 00 04 */ stw r0, 4(r3) -/* 800AE41C 000AB37C 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR17CEnergyProjectile" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR17CEnergyProjectile": -/* 800AE420 000AB380 38 00 00 00 */ li r0, 0 -/* 800AE424 000AB384 90 03 00 04 */ stw r0, 4(r3) -/* 800AE428 000AB388 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR16CDestroyableRock" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR16CDestroyableRock": -/* 800AE42C 000AB38C 38 00 00 00 */ li r0, 0 -/* 800AE430 000AB390 90 03 00 04 */ stw r0, 4(r3) -/* 800AE434 000AB394 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR15CCollisionActor" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR15CCollisionActor": -/* 800AE438 000AB398 38 00 00 00 */ li r0, 0 -/* 800AE43C 000AB39C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE440 000AB3A0 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR16CCinematicCamera" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR16CCinematicCamera": -/* 800AE444 000AB3A4 38 00 00 00 */ li r0, 0 -/* 800AE448 000AB3A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE44C 000AB3AC 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR5CBomb" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR5CBomb": -/* 800AE450 000AB3B0 38 00 00 00 */ li r0, 0 -/* 800AE454 000AB3B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE458 000AB3B8 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR11CBallCamera" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR11CBallCamera": -/* 800AE45C 000AB3BC 38 00 00 00 */ li r0, 0 -/* 800AE460 000AB3C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE464 000AB3C4 4E 80 00 20 */ blr - -.global "Visit__32TCastToPtr<18CFirstPersonCamera>FR6CActor" -"Visit__32TCastToPtr<18CFirstPersonCamera>FR6CActor": -/* 800AE468 000AB3C8 38 00 00 00 */ li r0, 0 -/* 800AE46C 000AB3CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE470 000AB3D0 4E 80 00 20 */ blr - -.global "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" -"__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity": -/* 800AE474 000AB3D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AE478 000AB3D8 7C 08 02 A6 */ mflr r0 -/* 800AE47C 000AB3DC 3C A0 80 3E */ lis r5, lbl_803DC6C0@ha -/* 800AE480 000AB3E0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AE484 000AB3E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AE488 000AB3E8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AE48C 000AB3EC 38 A5 C6 C0 */ addi r5, r5, lbl_803DC6C0@l -/* 800AE490 000AB3F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AE494 000AB3F4 7C 7F 1B 78 */ mr r31, r3 -/* 800AE498 000AB3F8 90 03 00 00 */ stw r0, 0(r3) -/* 800AE49C 000AB3FC 7C 83 23 78 */ mr r3, r4 -/* 800AE4A0 000AB400 38 00 00 00 */ li r0, 0 -/* 800AE4A4 000AB404 7F E4 FB 78 */ mr r4, r31 -/* 800AE4A8 000AB408 90 BF 00 00 */ stw r5, 0(r31) -/* 800AE4AC 000AB40C 90 1F 00 04 */ stw r0, 4(r31) -/* 800AE4B0 000AB410 81 83 00 00 */ lwz r12, 0(r3) -/* 800AE4B4 000AB414 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AE4B8 000AB418 7D 89 03 A6 */ mtctr r12 -/* 800AE4BC 000AB41C 4E 80 04 21 */ bctrl -/* 800AE4C0 000AB420 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AE4C4 000AB424 7F E3 FB 78 */ mr r3, r31 -/* 800AE4C8 000AB428 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AE4CC 000AB42C 7C 08 03 A6 */ mtlr r0 -/* 800AE4D0 000AB430 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AE4D4 000AB434 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR7CWeapon" -"Visit__24TCastToPtr<10CExplosion>FR7CWeapon": -/* 800AE4D8 000AB438 38 00 00 00 */ li r0, 0 -/* 800AE4DC 000AB43C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE4E0 000AB440 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR17CWallCrawlerSwarm" -"Visit__24TCastToPtr<10CExplosion>FR17CWallCrawlerSwarm": -/* 800AE4E4 000AB444 38 00 00 00 */ li r0, 0 -/* 800AE4E8 000AB448 90 03 00 04 */ stw r0, 4(r3) -/* 800AE4EC 000AB44C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR20CScriptSpindleCamera" -"Visit__24TCastToPtr<10CExplosion>FR20CScriptSpindleCamera": -/* 800AE4F0 000AB450 38 00 00 00 */ li r0, 0 -/* 800AE4F4 000AB454 90 03 00 04 */ stw r0, 4(r3) -/* 800AE4F8 000AB458 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR15CSnakeWeedSwarm" -"Visit__24TCastToPtr<10CExplosion>FR15CSnakeWeedSwarm": -/* 800AE4FC 000AB45C 38 00 00 00 */ li r0, 0 -/* 800AE500 000AB460 90 03 00 04 */ stw r0, 4(r3) -/* 800AE504 000AB464 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR15CScriptWaypoint" -"Visit__24TCastToPtr<10CExplosion>FR15CScriptWaypoint": -/* 800AE508 000AB468 38 00 00 00 */ li r0, 0 -/* 800AE50C 000AB46C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE510 000AB470 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR12CScriptWater" -"Visit__24TCastToPtr<10CExplosion>FR12CScriptWater": -/* 800AE514 000AB474 38 00 00 00 */ li r0, 0 -/* 800AE518 000AB478 90 03 00 04 */ stw r0, 4(r3) -/* 800AE51C 000AB47C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptVisorFlare" -"Visit__24TCastToPtr<10CExplosion>FR17CScriptVisorFlare": -/* 800AE520 000AB480 38 00 00 00 */ li r0, 0 -/* 800AE524 000AB484 90 03 00 04 */ stw r0, 4(r3) -/* 800AE528 000AB488 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR14CScriptTrigger" -"Visit__24TCastToPtr<10CExplosion>FR14CScriptTrigger": -/* 800AE52C 000AB48C 38 00 00 00 */ li r0, 0 -/* 800AE530 000AB490 90 03 00 04 */ stw r0, 4(r3) -/* 800AE534 000AB494 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR12CScriptTimer" -"Visit__24TCastToPtr<10CExplosion>FR12CScriptTimer": -/* 800AE538 000AB498 38 00 00 00 */ li r0, 0 -/* 800AE53C 000AB49C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE540 000AB4A0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR10CTeamAiMgr" -"Visit__24TCastToPtr<10CExplosion>FR10CTeamAiMgr": -/* 800AE544 000AB4A4 38 00 00 00 */ li r0, 0 -/* 800AE548 000AB4A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE54C 000AB4AC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR21CScriptTargetingPoint" -"Visit__24TCastToPtr<10CExplosion>FR21CScriptTargetingPoint": -/* 800AE550 000AB4B0 38 00 00 00 */ li r0, 0 -/* 800AE554 000AB4B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE558 000AB4B8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR25CScriptSpiderBallWaypoint" -"Visit__24TCastToPtr<10CExplosion>FR25CScriptSpiderBallWaypoint": -/* 800AE55C 000AB4BC 38 00 00 00 */ li r0, 0 -/* 800AE560 000AB4C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE564 000AB4C4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR34CScriptSpiderBallAttractionSurface" -"Visit__24TCastToPtr<10CExplosion>FR34CScriptSpiderBallAttractionSurface": -/* 800AE568 000AB4C8 38 00 00 00 */ li r0, 0 -/* 800AE56C 000AB4CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE570 000AB4D0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR22CScriptSpecialFunction" -"Visit__24TCastToPtr<10CExplosion>FR22CScriptSpecialFunction": -/* 800AE574 000AB4D4 38 00 00 00 */ li r0, 0 -/* 800AE578 000AB4D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE57C 000AB4DC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptSpawnPoint" -"Visit__24TCastToPtr<10CExplosion>FR17CScriptSpawnPoint": -/* 800AE580 000AB4E0 38 00 00 00 */ li r0, 0 -/* 800AE584 000AB4E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE588 000AB4E8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR12CScriptSound" -"Visit__24TCastToPtr<10CExplosion>FR12CScriptSound": -/* 800AE58C 000AB4EC 38 00 00 00 */ li r0, 0 -/* 800AE590 000AB4F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE594 000AB4F4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR20CScriptRoomAcoustics" -"Visit__24TCastToPtr<10CExplosion>FR20CScriptRoomAcoustics": -/* 800AE598 000AB4F8 38 00 00 00 */ li r0, 0 -/* 800AE59C 000AB4FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE5A0 000AB500 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR22CScriptPointOfinterest" -"Visit__24TCastToPtr<10CExplosion>FR22CScriptPointOfinterest": -/* 800AE5A4 000AB504 38 00 00 00 */ li r0, 0 -/* 800AE5A8 000AB508 90 03 00 04 */ stw r0, 4(r3) -/* 800AE5AC 000AB50C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptPlayerHint" -"Visit__24TCastToPtr<10CExplosion>FR17CScriptPlayerHint": -/* 800AE5B0 000AB510 38 00 00 00 */ li r0, 0 -/* 800AE5B4 000AB514 90 03 00 04 */ stw r0, 4(r3) -/* 800AE5B8 000AB518 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR15CScriptPlatform" -"Visit__24TCastToPtr<10CExplosion>FR15CScriptPlatform": -/* 800AE5BC 000AB51C 38 00 00 00 */ li r0, 0 -/* 800AE5C0 000AB520 90 03 00 04 */ stw r0, 4(r3) -/* 800AE5C4 000AB524 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR13CScriptPickup" -"Visit__24TCastToPtr<10CExplosion>FR13CScriptPickup": -/* 800AE5C8 000AB528 38 00 00 00 */ li r0, 0 -/* 800AE5CC 000AB52C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE5D0 000AB530 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR15CScriptMazeNode" -"Visit__24TCastToPtr<10CExplosion>FR15CScriptMazeNode": -/* 800AE5D4 000AB534 38 00 00 00 */ li r0, 0 -/* 800AE5D8 000AB538 90 03 00 04 */ stw r0, 4(r3) -/* 800AE5DC 000AB53C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR16CScriptGunTurret" -"Visit__24TCastToPtr<10CExplosion>FR16CScriptGunTurret": -/* 800AE5E0 000AB540 38 00 00 00 */ li r0, 0 -/* 800AE5E4 000AB544 90 03 00 04 */ stw r0, 4(r3) -/* 800AE5E8 000AB548 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR19CScriptGrapplePoint" -"Visit__24TCastToPtr<10CExplosion>FR19CScriptGrapplePoint": -/* 800AE5EC 000AB54C 38 00 00 00 */ li r0, 0 -/* 800AE5F0 000AB550 90 03 00 04 */ stw r0, 4(r3) -/* 800AE5F4 000AB554 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR13CScriptEffect" -"Visit__24TCastToPtr<10CExplosion>FR13CScriptEffect": -/* 800AE5F8 000AB558 38 00 00 00 */ li r0, 0 -/* 800AE5FC 000AB55C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE600 000AB560 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR11CScriptDoor" -"Visit__24TCastToPtr<10CExplosion>FR11CScriptDoor": -/* 800AE604 000AB564 38 00 00 00 */ li r0, 0 -/* 800AE608 000AB568 90 03 00 04 */ stw r0, 4(r3) -/* 800AE60C 000AB56C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR11CScriptDock" -"Visit__24TCastToPtr<10CExplosion>FR11CScriptDock": -/* 800AE610 000AB570 38 00 00 00 */ li r0, 0 -/* 800AE614 000AB574 90 03 00 04 */ stw r0, 4(r3) -/* 800AE618 000AB578 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR18CScriptDistanceFog" -"Visit__24TCastToPtr<10CExplosion>FR18CScriptDistanceFog": -/* 800AE61C 000AB57C 38 00 00 00 */ li r0, 0 -/* 800AE620 000AB580 90 03 00 04 */ stw r0, 4(r3) -/* 800AE624 000AB584 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR26CScriptDebugCameraWaypoint" -"Visit__24TCastToPtr<10CExplosion>FR26CScriptDebugCameraWaypoint": -/* 800AE628 000AB588 38 00 00 00 */ li r0, 0 -/* 800AE62C 000AB58C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE630 000AB590 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptCoverPoint" -"Visit__24TCastToPtr<10CExplosion>FR17CScriptCoverPoint": -/* 800AE634 000AB594 38 00 00 00 */ li r0, 0 -/* 800AE638 000AB598 90 03 00 04 */ stw r0, 4(r3) -/* 800AE63C 000AB59C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR21CScriptCameraWaypoint" -"Visit__24TCastToPtr<10CExplosion>FR21CScriptCameraWaypoint": -/* 800AE640 000AB5A0 38 00 00 00 */ li r0, 0 -/* 800AE644 000AB5A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE648 000AB5A8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR24CScriptCameraPitchVolume" -"Visit__24TCastToPtr<10CExplosion>FR24CScriptCameraPitchVolume": -/* 800AE64C 000AB5AC 38 00 00 00 */ li r0, 0 -/* 800AE650 000AB5B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE654 000AB5B4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR17CScriptCameraHint" -"Visit__24TCastToPtr<10CExplosion>FR17CScriptCameraHint": -/* 800AE658 000AB5B8 38 00 00 00 */ li r0, 0 -/* 800AE65C 000AB5BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE660 000AB5C0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR18CScriptAiJumpPoint" -"Visit__24TCastToPtr<10CExplosion>FR18CScriptAiJumpPoint": -/* 800AE664 000AB5C4 38 00 00 00 */ li r0, 0 -/* 800AE668 000AB5C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE66C 000AB5CC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR20CScriptActorKeyframe" -"Visit__24TCastToPtr<10CExplosion>FR20CScriptActorKeyframe": -/* 800AE670 000AB5D0 38 00 00 00 */ li r0, 0 -/* 800AE674 000AB5D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE678 000AB5D8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR12CScriptActor" -"Visit__24TCastToPtr<10CExplosion>FR12CScriptActor": -/* 800AE67C 000AB5DC 38 00 00 00 */ li r0, 0 -/* 800AE680 000AB5E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE684 000AB5E4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR9CRepulsor" -"Visit__24TCastToPtr<10CExplosion>FR9CRepulsor": -/* 800AE688 000AB5E8 38 00 00 00 */ li r0, 0 -/* 800AE68C 000AB5EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE690 000AB5F0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR7CPlayer" -"Visit__24TCastToPtr<10CExplosion>FR7CPlayer": -/* 800AE694 000AB5F4 38 00 00 00 */ li r0, 0 -/* 800AE698 000AB5F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE69C 000AB5FC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR13CPhysicsActor" -"Visit__24TCastToPtr<10CExplosion>FR13CPhysicsActor": -/* 800AE6A0 000AB600 38 00 00 00 */ li r0, 0 -/* 800AE6A4 000AB604 90 03 00 04 */ stw r0, 4(r3) -/* 800AE6A8 000AB608 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR3CAi" -"Visit__24TCastToPtr<10CExplosion>FR3CAi": -/* 800AE6AC 000AB60C 38 00 00 00 */ li r0, 0 -/* 800AE6B0 000AB610 90 03 00 04 */ stw r0, 4(r3) -/* 800AE6B4 000AB614 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR11CPathCamera" -"Visit__24TCastToPtr<10CExplosion>FR11CPathCamera": -/* 800AE6B8 000AB618 38 00 00 00 */ li r0, 0 -/* 800AE6BC 000AB61C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE6C0 000AB620 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR18CMetroidPrimeRelay" -"Visit__24TCastToPtr<10CExplosion>FR18CMetroidPrimeRelay": -/* 800AE6C4 000AB624 38 00 00 00 */ li r0, 0 -/* 800AE6C8 000AB628 90 03 00 04 */ stw r0, 4(r3) -/* 800AE6CC 000AB62C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR19CHUDBillboardEffect" -"Visit__24TCastToPtr<10CExplosion>FR19CHUDBillboardEffect": -/* 800AE6D0 000AB630 38 00 00 00 */ li r0, 0 -/* 800AE6D4 000AB634 90 03 00 04 */ stw r0, 4(r3) -/* 800AE6D8 000AB638 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR15CGameProjectile" -"Visit__24TCastToPtr<10CExplosion>FR15CGameProjectile": -/* 800AE6DC 000AB63C 38 00 00 00 */ li r0, 0 -/* 800AE6E0 000AB640 90 03 00 04 */ stw r0, 4(r3) -/* 800AE6E4 000AB644 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR10CGameLight" -"Visit__24TCastToPtr<10CExplosion>FR10CGameLight": -/* 800AE6E8 000AB648 38 00 00 00 */ li r0, 0 -/* 800AE6EC 000AB64C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE6F0 000AB650 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR11CGameCamera" -"Visit__24TCastToPtr<10CExplosion>FR11CGameCamera": -/* 800AE6F4 000AB654 38 00 00 00 */ li r0, 0 -/* 800AE6F8 000AB658 90 03 00 04 */ stw r0, 4(r3) -/* 800AE6FC 000AB65C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR10CFishCloud" -"Visit__24TCastToPtr<10CExplosion>FR10CFishCloud": -/* 800AE700 000AB660 38 00 00 00 */ li r0, 0 -/* 800AE704 000AB664 90 03 00 04 */ stw r0, 4(r3) -/* 800AE708 000AB668 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR18CFirstPersonCamera" -"Visit__24TCastToPtr<10CExplosion>FR18CFirstPersonCamera": -/* 800AE70C 000AB66C 38 00 00 00 */ li r0, 0 -/* 800AE710 000AB670 90 03 00 04 */ stw r0, 4(r3) -/* 800AE714 000AB674 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR10CExplosion" -"Visit__24TCastToPtr<10CExplosion>FR10CExplosion": -/* 800AE718 000AB678 90 83 00 04 */ stw r4, 4(r3) -/* 800AE71C 000AB67C 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR7CEntity" -"Visit__24TCastToPtr<10CExplosion>FR7CEntity": -/* 800AE720 000AB680 38 00 00 00 */ li r0, 0 -/* 800AE724 000AB684 90 03 00 04 */ stw r0, 4(r3) -/* 800AE728 000AB688 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR17CEnergyProjectile" -"Visit__24TCastToPtr<10CExplosion>FR17CEnergyProjectile": -/* 800AE72C 000AB68C 38 00 00 00 */ li r0, 0 -/* 800AE730 000AB690 90 03 00 04 */ stw r0, 4(r3) -/* 800AE734 000AB694 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR16CDestroyableRock" -"Visit__24TCastToPtr<10CExplosion>FR16CDestroyableRock": -/* 800AE738 000AB698 38 00 00 00 */ li r0, 0 -/* 800AE73C 000AB69C 90 03 00 04 */ stw r0, 4(r3) -/* 800AE740 000AB6A0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR15CCollisionActor" -"Visit__24TCastToPtr<10CExplosion>FR15CCollisionActor": -/* 800AE744 000AB6A4 38 00 00 00 */ li r0, 0 -/* 800AE748 000AB6A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE74C 000AB6AC 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR16CCinematicCamera" -"Visit__24TCastToPtr<10CExplosion>FR16CCinematicCamera": -/* 800AE750 000AB6B0 38 00 00 00 */ li r0, 0 -/* 800AE754 000AB6B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AE758 000AB6B8 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR5CBomb" -"Visit__24TCastToPtr<10CExplosion>FR5CBomb": -/* 800AE75C 000AB6BC 38 00 00 00 */ li r0, 0 -/* 800AE760 000AB6C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AE764 000AB6C4 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR11CBallCamera" -"Visit__24TCastToPtr<10CExplosion>FR11CBallCamera": -/* 800AE768 000AB6C8 38 00 00 00 */ li r0, 0 -/* 800AE76C 000AB6CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AE770 000AB6D0 4E 80 00 20 */ blr - -.global "Visit__24TCastToPtr<10CExplosion>FR6CActor" -"Visit__24TCastToPtr<10CExplosion>FR6CActor": -/* 800AE774 000AB6D4 38 00 00 00 */ li r0, 0 -/* 800AE778 000AB6D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AE77C 000AB6DC 4E 80 00 20 */ blr - -.global "__ct__24TCastToPtr<10CExplosion>FP7CEntity" -"__ct__24TCastToPtr<10CExplosion>FP7CEntity": -/* 800AE780 000AB6E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AE784 000AB6E4 7C 08 02 A6 */ mflr r0 -/* 800AE788 000AB6E8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AE78C 000AB6EC 3C A0 80 3E */ lis r5, lbl_803DC5D4@ha -/* 800AE790 000AB6F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AE794 000AB6F4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AE798 000AB6F8 28 04 00 00 */ cmplwi r4, 0 -/* 800AE79C 000AB6FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AE7A0 000AB700 7C 7F 1B 78 */ mr r31, r3 -/* 800AE7A4 000AB704 38 65 C5 D4 */ addi r3, r5, lbl_803DC5D4@l -/* 800AE7A8 000AB708 90 1F 00 00 */ stw r0, 0(r31) -/* 800AE7AC 000AB70C 38 00 00 00 */ li r0, 0 -/* 800AE7B0 000AB710 90 7F 00 00 */ stw r3, 0(r31) -/* 800AE7B4 000AB714 90 1F 00 04 */ stw r0, 4(r31) -/* 800AE7B8 000AB718 41 82 00 1C */ beq lbl_800AE7D4 -/* 800AE7BC 000AB71C 7C 83 23 78 */ mr r3, r4 -/* 800AE7C0 000AB720 7F E4 FB 78 */ mr r4, r31 -/* 800AE7C4 000AB724 81 83 00 00 */ lwz r12, 0(r3) -/* 800AE7C8 000AB728 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AE7CC 000AB72C 7D 89 03 A6 */ mtctr r12 -/* 800AE7D0 000AB730 4E 80 04 21 */ bctrl -lbl_800AE7D4: -/* 800AE7D4 000AB734 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AE7D8 000AB738 7F E3 FB 78 */ mr r3, r31 -/* 800AE7DC 000AB73C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AE7E0 000AB740 7C 08 03 A6 */ mtlr r0 -/* 800AE7E4 000AB744 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AE7E8 000AB748 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR7CWeapon" -"Visit__20TCastToPtr<7CEntity>FR7CWeapon": -/* 800AE7EC 000AB74C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE7F0 000AB750 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR17CWallCrawlerSwarm" -"Visit__20TCastToPtr<7CEntity>FR17CWallCrawlerSwarm": -/* 800AE7F4 000AB754 90 83 00 04 */ stw r4, 4(r3) -/* 800AE7F8 000AB758 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR20CScriptSpindleCamera" -"Visit__20TCastToPtr<7CEntity>FR20CScriptSpindleCamera": -/* 800AE7FC 000AB75C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE800 000AB760 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR15CSnakeWeedSwarm" -"Visit__20TCastToPtr<7CEntity>FR15CSnakeWeedSwarm": -/* 800AE804 000AB764 90 83 00 04 */ stw r4, 4(r3) -/* 800AE808 000AB768 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR15CScriptWaypoint" -"Visit__20TCastToPtr<7CEntity>FR15CScriptWaypoint": -/* 800AE80C 000AB76C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE810 000AB770 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR12CScriptWater" -"Visit__20TCastToPtr<7CEntity>FR12CScriptWater": -/* 800AE814 000AB774 90 83 00 04 */ stw r4, 4(r3) -/* 800AE818 000AB778 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR17CScriptVisorFlare" -"Visit__20TCastToPtr<7CEntity>FR17CScriptVisorFlare": -/* 800AE81C 000AB77C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE820 000AB780 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR14CScriptTrigger" -"Visit__20TCastToPtr<7CEntity>FR14CScriptTrigger": -/* 800AE824 000AB784 90 83 00 04 */ stw r4, 4(r3) -/* 800AE828 000AB788 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR12CScriptTimer" -"Visit__20TCastToPtr<7CEntity>FR12CScriptTimer": -/* 800AE82C 000AB78C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE830 000AB790 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR10CTeamAiMgr" -"Visit__20TCastToPtr<7CEntity>FR10CTeamAiMgr": -/* 800AE834 000AB794 90 83 00 04 */ stw r4, 4(r3) -/* 800AE838 000AB798 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR21CScriptTargetingPoint" -"Visit__20TCastToPtr<7CEntity>FR21CScriptTargetingPoint": -/* 800AE83C 000AB79C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE840 000AB7A0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR25CScriptSpiderBallWaypoint" -"Visit__20TCastToPtr<7CEntity>FR25CScriptSpiderBallWaypoint": -/* 800AE844 000AB7A4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE848 000AB7A8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR34CScriptSpiderBallAttractionSurface" -"Visit__20TCastToPtr<7CEntity>FR34CScriptSpiderBallAttractionSurface": -/* 800AE84C 000AB7AC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE850 000AB7B0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR22CScriptSpecialFunction" -"Visit__20TCastToPtr<7CEntity>FR22CScriptSpecialFunction": -/* 800AE854 000AB7B4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE858 000AB7B8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR17CScriptSpawnPoint" -"Visit__20TCastToPtr<7CEntity>FR17CScriptSpawnPoint": -/* 800AE85C 000AB7BC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE860 000AB7C0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR12CScriptSound" -"Visit__20TCastToPtr<7CEntity>FR12CScriptSound": -/* 800AE864 000AB7C4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE868 000AB7C8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR20CScriptRoomAcoustics" -"Visit__20TCastToPtr<7CEntity>FR20CScriptRoomAcoustics": -/* 800AE86C 000AB7CC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE870 000AB7D0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR22CScriptPointOfinterest" -"Visit__20TCastToPtr<7CEntity>FR22CScriptPointOfinterest": -/* 800AE874 000AB7D4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE878 000AB7D8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR17CScriptPlayerHint" -"Visit__20TCastToPtr<7CEntity>FR17CScriptPlayerHint": -/* 800AE87C 000AB7DC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE880 000AB7E0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR15CScriptPlatform" -"Visit__20TCastToPtr<7CEntity>FR15CScriptPlatform": -/* 800AE884 000AB7E4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE888 000AB7E8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR13CScriptPickup" -"Visit__20TCastToPtr<7CEntity>FR13CScriptPickup": -/* 800AE88C 000AB7EC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE890 000AB7F0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR15CScriptMazeNode" -"Visit__20TCastToPtr<7CEntity>FR15CScriptMazeNode": -/* 800AE894 000AB7F4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE898 000AB7F8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR16CScriptGunTurret" -"Visit__20TCastToPtr<7CEntity>FR16CScriptGunTurret": -/* 800AE89C 000AB7FC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8A0 000AB800 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR19CScriptGrapplePoint" -"Visit__20TCastToPtr<7CEntity>FR19CScriptGrapplePoint": -/* 800AE8A4 000AB804 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8A8 000AB808 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR13CScriptEffect" -"Visit__20TCastToPtr<7CEntity>FR13CScriptEffect": -/* 800AE8AC 000AB80C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8B0 000AB810 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR11CScriptDoor" -"Visit__20TCastToPtr<7CEntity>FR11CScriptDoor": -/* 800AE8B4 000AB814 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8B8 000AB818 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR11CScriptDock" -"Visit__20TCastToPtr<7CEntity>FR11CScriptDock": -/* 800AE8BC 000AB81C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8C0 000AB820 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR18CScriptDistanceFog" -"Visit__20TCastToPtr<7CEntity>FR18CScriptDistanceFog": -/* 800AE8C4 000AB824 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8C8 000AB828 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR26CScriptDebugCameraWaypoint" -"Visit__20TCastToPtr<7CEntity>FR26CScriptDebugCameraWaypoint": -/* 800AE8CC 000AB82C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8D0 000AB830 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR17CScriptCoverPoint" -"Visit__20TCastToPtr<7CEntity>FR17CScriptCoverPoint": -/* 800AE8D4 000AB834 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8D8 000AB838 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR21CScriptCameraWaypoint" -"Visit__20TCastToPtr<7CEntity>FR21CScriptCameraWaypoint": -/* 800AE8DC 000AB83C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8E0 000AB840 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR24CScriptCameraPitchVolume" -"Visit__20TCastToPtr<7CEntity>FR24CScriptCameraPitchVolume": -/* 800AE8E4 000AB844 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8E8 000AB848 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR17CScriptCameraHint" -"Visit__20TCastToPtr<7CEntity>FR17CScriptCameraHint": -/* 800AE8EC 000AB84C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8F0 000AB850 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR18CScriptAiJumpPoint" -"Visit__20TCastToPtr<7CEntity>FR18CScriptAiJumpPoint": -/* 800AE8F4 000AB854 90 83 00 04 */ stw r4, 4(r3) -/* 800AE8F8 000AB858 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR20CScriptActorKeyframe" -"Visit__20TCastToPtr<7CEntity>FR20CScriptActorKeyframe": -/* 800AE8FC 000AB85C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE900 000AB860 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR12CScriptActor" -"Visit__20TCastToPtr<7CEntity>FR12CScriptActor": -/* 800AE904 000AB864 90 83 00 04 */ stw r4, 4(r3) -/* 800AE908 000AB868 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR9CRepulsor" -"Visit__20TCastToPtr<7CEntity>FR9CRepulsor": -/* 800AE90C 000AB86C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE910 000AB870 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR7CPlayer" -"Visit__20TCastToPtr<7CEntity>FR7CPlayer": -/* 800AE914 000AB874 90 83 00 04 */ stw r4, 4(r3) -/* 800AE918 000AB878 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR13CPhysicsActor" -"Visit__20TCastToPtr<7CEntity>FR13CPhysicsActor": -/* 800AE91C 000AB87C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE920 000AB880 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR3CAi" -"Visit__20TCastToPtr<7CEntity>FR3CAi": -/* 800AE924 000AB884 90 83 00 04 */ stw r4, 4(r3) -/* 800AE928 000AB888 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR11CPathCamera" -"Visit__20TCastToPtr<7CEntity>FR11CPathCamera": -/* 800AE92C 000AB88C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE930 000AB890 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR18CMetroidPrimeRelay" -"Visit__20TCastToPtr<7CEntity>FR18CMetroidPrimeRelay": -/* 800AE934 000AB894 90 83 00 04 */ stw r4, 4(r3) -/* 800AE938 000AB898 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR19CHUDBillboardEffect" -"Visit__20TCastToPtr<7CEntity>FR19CHUDBillboardEffect": -/* 800AE93C 000AB89C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE940 000AB8A0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR15CGameProjectile" -"Visit__20TCastToPtr<7CEntity>FR15CGameProjectile": -/* 800AE944 000AB8A4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE948 000AB8A8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR10CGameLight" -"Visit__20TCastToPtr<7CEntity>FR10CGameLight": -/* 800AE94C 000AB8AC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE950 000AB8B0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR11CGameCamera" -"Visit__20TCastToPtr<7CEntity>FR11CGameCamera": -/* 800AE954 000AB8B4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE958 000AB8B8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR10CFishCloud" -"Visit__20TCastToPtr<7CEntity>FR10CFishCloud": -/* 800AE95C 000AB8BC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE960 000AB8C0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR18CFirstPersonCamera" -"Visit__20TCastToPtr<7CEntity>FR18CFirstPersonCamera": -/* 800AE964 000AB8C4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE968 000AB8C8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR10CExplosion" -"Visit__20TCastToPtr<7CEntity>FR10CExplosion": -/* 800AE96C 000AB8CC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE970 000AB8D0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR7CEntity" -"Visit__20TCastToPtr<7CEntity>FR7CEntity": -/* 800AE974 000AB8D4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE978 000AB8D8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR17CEnergyProjectile" -"Visit__20TCastToPtr<7CEntity>FR17CEnergyProjectile": -/* 800AE97C 000AB8DC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE980 000AB8E0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR16CDestroyableRock" -"Visit__20TCastToPtr<7CEntity>FR16CDestroyableRock": -/* 800AE984 000AB8E4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE988 000AB8E8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR15CCollisionActor" -"Visit__20TCastToPtr<7CEntity>FR15CCollisionActor": -/* 800AE98C 000AB8EC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE990 000AB8F0 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR16CCinematicCamera" -"Visit__20TCastToPtr<7CEntity>FR16CCinematicCamera": -/* 800AE994 000AB8F4 90 83 00 04 */ stw r4, 4(r3) -/* 800AE998 000AB8F8 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR5CBomb" -"Visit__20TCastToPtr<7CEntity>FR5CBomb": -/* 800AE99C 000AB8FC 90 83 00 04 */ stw r4, 4(r3) -/* 800AE9A0 000AB900 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR11CBallCamera" -"Visit__20TCastToPtr<7CEntity>FR11CBallCamera": -/* 800AE9A4 000AB904 90 83 00 04 */ stw r4, 4(r3) -/* 800AE9A8 000AB908 4E 80 00 20 */ blr - -.global "Visit__20TCastToPtr<7CEntity>FR6CActor" -"Visit__20TCastToPtr<7CEntity>FR6CActor": -/* 800AE9AC 000AB90C 90 83 00 04 */ stw r4, 4(r3) -/* 800AE9B0 000AB910 4E 80 00 20 */ blr - -.global "__ct__20TCastToPtr<7CEntity>FP7CEntity" -"__ct__20TCastToPtr<7CEntity>FP7CEntity": -/* 800AE9B4 000AB914 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AE9B8 000AB918 7C 08 02 A6 */ mflr r0 -/* 800AE9BC 000AB91C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AE9C0 000AB920 3C A0 80 3E */ lis r5, lbl_803DC4E8@ha -/* 800AE9C4 000AB924 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AE9C8 000AB928 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AE9CC 000AB92C 28 04 00 00 */ cmplwi r4, 0 -/* 800AE9D0 000AB930 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AE9D4 000AB934 7C 7F 1B 78 */ mr r31, r3 -/* 800AE9D8 000AB938 38 65 C4 E8 */ addi r3, r5, lbl_803DC4E8@l -/* 800AE9DC 000AB93C 90 1F 00 00 */ stw r0, 0(r31) -/* 800AE9E0 000AB940 38 00 00 00 */ li r0, 0 -/* 800AE9E4 000AB944 90 7F 00 00 */ stw r3, 0(r31) -/* 800AE9E8 000AB948 90 1F 00 04 */ stw r0, 4(r31) -/* 800AE9EC 000AB94C 41 82 00 1C */ beq lbl_800AEA08 -/* 800AE9F0 000AB950 7C 83 23 78 */ mr r3, r4 -/* 800AE9F4 000AB954 7F E4 FB 78 */ mr r4, r31 -/* 800AE9F8 000AB958 81 83 00 00 */ lwz r12, 0(r3) -/* 800AE9FC 000AB95C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AEA00 000AB960 7D 89 03 A6 */ mtctr r12 -/* 800AEA04 000AB964 4E 80 04 21 */ bctrl -lbl_800AEA08: -/* 800AEA08 000AB968 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AEA0C 000AB96C 7F E3 FB 78 */ mr r3, r31 -/* 800AEA10 000AB970 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AEA14 000AB974 7C 08 03 A6 */ mtlr r0 -/* 800AEA18 000AB978 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AEA1C 000AB97C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR7CWeapon" -"Visit__31TCastToPtr<17CEnergyProjectile>FR7CWeapon": -/* 800AEA20 000AB980 38 00 00 00 */ li r0, 0 -/* 800AEA24 000AB984 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA28 000AB988 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CWallCrawlerSwarm" -"Visit__31TCastToPtr<17CEnergyProjectile>FR17CWallCrawlerSwarm": -/* 800AEA2C 000AB98C 38 00 00 00 */ li r0, 0 -/* 800AEA30 000AB990 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA34 000AB994 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptSpindleCamera" -"Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptSpindleCamera": -/* 800AEA38 000AB998 38 00 00 00 */ li r0, 0 -/* 800AEA3C 000AB99C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA40 000AB9A0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CSnakeWeedSwarm" -"Visit__31TCastToPtr<17CEnergyProjectile>FR15CSnakeWeedSwarm": -/* 800AEA44 000AB9A4 38 00 00 00 */ li r0, 0 -/* 800AEA48 000AB9A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA4C 000AB9AC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptWaypoint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptWaypoint": -/* 800AEA50 000AB9B0 38 00 00 00 */ li r0, 0 -/* 800AEA54 000AB9B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA58 000AB9B8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptWater" -"Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptWater": -/* 800AEA5C 000AB9BC 38 00 00 00 */ li r0, 0 -/* 800AEA60 000AB9C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA64 000AB9C4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptVisorFlare" -"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptVisorFlare": -/* 800AEA68 000AB9C8 38 00 00 00 */ li r0, 0 -/* 800AEA6C 000AB9CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA70 000AB9D0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR14CScriptTrigger" -"Visit__31TCastToPtr<17CEnergyProjectile>FR14CScriptTrigger": -/* 800AEA74 000AB9D4 38 00 00 00 */ li r0, 0 -/* 800AEA78 000AB9D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA7C 000AB9DC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptTimer" -"Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptTimer": -/* 800AEA80 000AB9E0 38 00 00 00 */ li r0, 0 -/* 800AEA84 000AB9E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA88 000AB9E8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR10CTeamAiMgr" -"Visit__31TCastToPtr<17CEnergyProjectile>FR10CTeamAiMgr": -/* 800AEA8C 000AB9EC 38 00 00 00 */ li r0, 0 -/* 800AEA90 000AB9F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEA94 000AB9F4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR21CScriptTargetingPoint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR21CScriptTargetingPoint": -/* 800AEA98 000AB9F8 38 00 00 00 */ li r0, 0 -/* 800AEA9C 000AB9FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEAA0 000ABA00 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR25CScriptSpiderBallWaypoint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR25CScriptSpiderBallWaypoint": -/* 800AEAA4 000ABA04 38 00 00 00 */ li r0, 0 -/* 800AEAA8 000ABA08 90 03 00 04 */ stw r0, 4(r3) -/* 800AEAAC 000ABA0C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR34CScriptSpiderBallAttractionSurface" -"Visit__31TCastToPtr<17CEnergyProjectile>FR34CScriptSpiderBallAttractionSurface": -/* 800AEAB0 000ABA10 38 00 00 00 */ li r0, 0 -/* 800AEAB4 000ABA14 90 03 00 04 */ stw r0, 4(r3) -/* 800AEAB8 000ABA18 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR22CScriptSpecialFunction" -"Visit__31TCastToPtr<17CEnergyProjectile>FR22CScriptSpecialFunction": -/* 800AEABC 000ABA1C 38 00 00 00 */ li r0, 0 -/* 800AEAC0 000ABA20 90 03 00 04 */ stw r0, 4(r3) -/* 800AEAC4 000ABA24 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptSpawnPoint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptSpawnPoint": -/* 800AEAC8 000ABA28 38 00 00 00 */ li r0, 0 -/* 800AEACC 000ABA2C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEAD0 000ABA30 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptSound" -"Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptSound": -/* 800AEAD4 000ABA34 38 00 00 00 */ li r0, 0 -/* 800AEAD8 000ABA38 90 03 00 04 */ stw r0, 4(r3) -/* 800AEADC 000ABA3C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptRoomAcoustics" -"Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptRoomAcoustics": -/* 800AEAE0 000ABA40 38 00 00 00 */ li r0, 0 -/* 800AEAE4 000ABA44 90 03 00 04 */ stw r0, 4(r3) -/* 800AEAE8 000ABA48 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR22CScriptPointOfinterest" -"Visit__31TCastToPtr<17CEnergyProjectile>FR22CScriptPointOfinterest": -/* 800AEAEC 000ABA4C 38 00 00 00 */ li r0, 0 -/* 800AEAF0 000ABA50 90 03 00 04 */ stw r0, 4(r3) -/* 800AEAF4 000ABA54 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptPlayerHint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptPlayerHint": -/* 800AEAF8 000ABA58 38 00 00 00 */ li r0, 0 -/* 800AEAFC 000ABA5C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB00 000ABA60 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptPlatform" -"Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptPlatform": -/* 800AEB04 000ABA64 38 00 00 00 */ li r0, 0 -/* 800AEB08 000ABA68 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB0C 000ABA6C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR13CScriptPickup" -"Visit__31TCastToPtr<17CEnergyProjectile>FR13CScriptPickup": -/* 800AEB10 000ABA70 38 00 00 00 */ li r0, 0 -/* 800AEB14 000ABA74 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB18 000ABA78 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptMazeNode" -"Visit__31TCastToPtr<17CEnergyProjectile>FR15CScriptMazeNode": -/* 800AEB1C 000ABA7C 38 00 00 00 */ li r0, 0 -/* 800AEB20 000ABA80 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB24 000ABA84 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR16CScriptGunTurret" -"Visit__31TCastToPtr<17CEnergyProjectile>FR16CScriptGunTurret": -/* 800AEB28 000ABA88 38 00 00 00 */ li r0, 0 -/* 800AEB2C 000ABA8C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB30 000ABA90 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR19CScriptGrapplePoint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR19CScriptGrapplePoint": -/* 800AEB34 000ABA94 38 00 00 00 */ li r0, 0 -/* 800AEB38 000ABA98 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB3C 000ABA9C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR13CScriptEffect" -"Visit__31TCastToPtr<17CEnergyProjectile>FR13CScriptEffect": -/* 800AEB40 000ABAA0 38 00 00 00 */ li r0, 0 -/* 800AEB44 000ABAA4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB48 000ABAA8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CScriptDoor" -"Visit__31TCastToPtr<17CEnergyProjectile>FR11CScriptDoor": -/* 800AEB4C 000ABAAC 38 00 00 00 */ li r0, 0 -/* 800AEB50 000ABAB0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB54 000ABAB4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CScriptDock" -"Visit__31TCastToPtr<17CEnergyProjectile>FR11CScriptDock": -/* 800AEB58 000ABAB8 38 00 00 00 */ li r0, 0 -/* 800AEB5C 000ABABC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB60 000ABAC0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR18CScriptDistanceFog" -"Visit__31TCastToPtr<17CEnergyProjectile>FR18CScriptDistanceFog": -/* 800AEB64 000ABAC4 38 00 00 00 */ li r0, 0 -/* 800AEB68 000ABAC8 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB6C 000ABACC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR26CScriptDebugCameraWaypoint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR26CScriptDebugCameraWaypoint": -/* 800AEB70 000ABAD0 38 00 00 00 */ li r0, 0 -/* 800AEB74 000ABAD4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB78 000ABAD8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptCoverPoint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptCoverPoint": -/* 800AEB7C 000ABADC 38 00 00 00 */ li r0, 0 -/* 800AEB80 000ABAE0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB84 000ABAE4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR21CScriptCameraWaypoint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR21CScriptCameraWaypoint": -/* 800AEB88 000ABAE8 38 00 00 00 */ li r0, 0 -/* 800AEB8C 000ABAEC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB90 000ABAF0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR24CScriptCameraPitchVolume" -"Visit__31TCastToPtr<17CEnergyProjectile>FR24CScriptCameraPitchVolume": -/* 800AEB94 000ABAF4 38 00 00 00 */ li r0, 0 -/* 800AEB98 000ABAF8 90 03 00 04 */ stw r0, 4(r3) -/* 800AEB9C 000ABAFC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptCameraHint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR17CScriptCameraHint": -/* 800AEBA0 000ABB00 38 00 00 00 */ li r0, 0 -/* 800AEBA4 000ABB04 90 03 00 04 */ stw r0, 4(r3) -/* 800AEBA8 000ABB08 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR18CScriptAiJumpPoint" -"Visit__31TCastToPtr<17CEnergyProjectile>FR18CScriptAiJumpPoint": -/* 800AEBAC 000ABB0C 38 00 00 00 */ li r0, 0 -/* 800AEBB0 000ABB10 90 03 00 04 */ stw r0, 4(r3) -/* 800AEBB4 000ABB14 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptActorKeyframe" -"Visit__31TCastToPtr<17CEnergyProjectile>FR20CScriptActorKeyframe": -/* 800AEBB8 000ABB18 38 00 00 00 */ li r0, 0 -/* 800AEBBC 000ABB1C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEBC0 000ABB20 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptActor" -"Visit__31TCastToPtr<17CEnergyProjectile>FR12CScriptActor": -/* 800AEBC4 000ABB24 38 00 00 00 */ li r0, 0 -/* 800AEBC8 000ABB28 90 03 00 04 */ stw r0, 4(r3) -/* 800AEBCC 000ABB2C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR9CRepulsor" -"Visit__31TCastToPtr<17CEnergyProjectile>FR9CRepulsor": -/* 800AEBD0 000ABB30 38 00 00 00 */ li r0, 0 -/* 800AEBD4 000ABB34 90 03 00 04 */ stw r0, 4(r3) -/* 800AEBD8 000ABB38 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR7CPlayer" -"Visit__31TCastToPtr<17CEnergyProjectile>FR7CPlayer": -/* 800AEBDC 000ABB3C 38 00 00 00 */ li r0, 0 -/* 800AEBE0 000ABB40 90 03 00 04 */ stw r0, 4(r3) -/* 800AEBE4 000ABB44 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR13CPhysicsActor" -"Visit__31TCastToPtr<17CEnergyProjectile>FR13CPhysicsActor": -/* 800AEBE8 000ABB48 38 00 00 00 */ li r0, 0 -/* 800AEBEC 000ABB4C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEBF0 000ABB50 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR3CAi" -"Visit__31TCastToPtr<17CEnergyProjectile>FR3CAi": -/* 800AEBF4 000ABB54 38 00 00 00 */ li r0, 0 -/* 800AEBF8 000ABB58 90 03 00 04 */ stw r0, 4(r3) -/* 800AEBFC 000ABB5C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CPathCamera" -"Visit__31TCastToPtr<17CEnergyProjectile>FR11CPathCamera": -/* 800AEC00 000ABB60 38 00 00 00 */ li r0, 0 -/* 800AEC04 000ABB64 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC08 000ABB68 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR18CMetroidPrimeRelay" -"Visit__31TCastToPtr<17CEnergyProjectile>FR18CMetroidPrimeRelay": -/* 800AEC0C 000ABB6C 38 00 00 00 */ li r0, 0 -/* 800AEC10 000ABB70 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC14 000ABB74 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR19CHUDBillboardEffect" -"Visit__31TCastToPtr<17CEnergyProjectile>FR19CHUDBillboardEffect": -/* 800AEC18 000ABB78 38 00 00 00 */ li r0, 0 -/* 800AEC1C 000ABB7C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC20 000ABB80 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CGameProjectile" -"Visit__31TCastToPtr<17CEnergyProjectile>FR15CGameProjectile": -/* 800AEC24 000ABB84 38 00 00 00 */ li r0, 0 -/* 800AEC28 000ABB88 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC2C 000ABB8C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR10CGameLight" -"Visit__31TCastToPtr<17CEnergyProjectile>FR10CGameLight": -/* 800AEC30 000ABB90 38 00 00 00 */ li r0, 0 -/* 800AEC34 000ABB94 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC38 000ABB98 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CGameCamera" -"Visit__31TCastToPtr<17CEnergyProjectile>FR11CGameCamera": -/* 800AEC3C 000ABB9C 38 00 00 00 */ li r0, 0 -/* 800AEC40 000ABBA0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC44 000ABBA4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR10CFishCloud" -"Visit__31TCastToPtr<17CEnergyProjectile>FR10CFishCloud": -/* 800AEC48 000ABBA8 38 00 00 00 */ li r0, 0 -/* 800AEC4C 000ABBAC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC50 000ABBB0 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR18CFirstPersonCamera" -"Visit__31TCastToPtr<17CEnergyProjectile>FR18CFirstPersonCamera": -/* 800AEC54 000ABBB4 38 00 00 00 */ li r0, 0 -/* 800AEC58 000ABBB8 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC5C 000ABBBC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR10CExplosion" -"Visit__31TCastToPtr<17CEnergyProjectile>FR10CExplosion": -/* 800AEC60 000ABBC0 38 00 00 00 */ li r0, 0 -/* 800AEC64 000ABBC4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC68 000ABBC8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR7CEntity" -"Visit__31TCastToPtr<17CEnergyProjectile>FR7CEntity": -/* 800AEC6C 000ABBCC 38 00 00 00 */ li r0, 0 -/* 800AEC70 000ABBD0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC74 000ABBD4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR17CEnergyProjectile" -"Visit__31TCastToPtr<17CEnergyProjectile>FR17CEnergyProjectile": -/* 800AEC78 000ABBD8 90 83 00 04 */ stw r4, 4(r3) -/* 800AEC7C 000ABBDC 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR16CDestroyableRock" -"Visit__31TCastToPtr<17CEnergyProjectile>FR16CDestroyableRock": -/* 800AEC80 000ABBE0 38 00 00 00 */ li r0, 0 -/* 800AEC84 000ABBE4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC88 000ABBE8 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR15CCollisionActor" -"Visit__31TCastToPtr<17CEnergyProjectile>FR15CCollisionActor": -/* 800AEC8C 000ABBEC 38 00 00 00 */ li r0, 0 -/* 800AEC90 000ABBF0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEC94 000ABBF4 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR16CCinematicCamera" -"Visit__31TCastToPtr<17CEnergyProjectile>FR16CCinematicCamera": -/* 800AEC98 000ABBF8 38 00 00 00 */ li r0, 0 -/* 800AEC9C 000ABBFC 90 03 00 04 */ stw r0, 4(r3) -/* 800AECA0 000ABC00 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR5CBomb" -"Visit__31TCastToPtr<17CEnergyProjectile>FR5CBomb": -/* 800AECA4 000ABC04 38 00 00 00 */ li r0, 0 -/* 800AECA8 000ABC08 90 03 00 04 */ stw r0, 4(r3) -/* 800AECAC 000ABC0C 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR11CBallCamera" -"Visit__31TCastToPtr<17CEnergyProjectile>FR11CBallCamera": -/* 800AECB0 000ABC10 38 00 00 00 */ li r0, 0 -/* 800AECB4 000ABC14 90 03 00 04 */ stw r0, 4(r3) -/* 800AECB8 000ABC18 4E 80 00 20 */ blr - -.global "Visit__31TCastToPtr<17CEnergyProjectile>FR6CActor" -"Visit__31TCastToPtr<17CEnergyProjectile>FR6CActor": -/* 800AECBC 000ABC1C 38 00 00 00 */ li r0, 0 -/* 800AECC0 000ABC20 90 03 00 04 */ stw r0, 4(r3) -/* 800AECC4 000ABC24 4E 80 00 20 */ blr - -.global "__ct__31TCastToPtr<17CEnergyProjectile>FP7CEntity" -"__ct__31TCastToPtr<17CEnergyProjectile>FP7CEntity": -/* 800AECC8 000ABC28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AECCC 000ABC2C 7C 08 02 A6 */ mflr r0 -/* 800AECD0 000ABC30 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AECD4 000ABC34 3C A0 80 3E */ lis r5, lbl_803DC3FC@ha -/* 800AECD8 000ABC38 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AECDC 000ABC3C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AECE0 000ABC40 28 04 00 00 */ cmplwi r4, 0 -/* 800AECE4 000ABC44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AECE8 000ABC48 7C 7F 1B 78 */ mr r31, r3 -/* 800AECEC 000ABC4C 38 65 C3 FC */ addi r3, r5, lbl_803DC3FC@l -/* 800AECF0 000ABC50 90 1F 00 00 */ stw r0, 0(r31) -/* 800AECF4 000ABC54 38 00 00 00 */ li r0, 0 -/* 800AECF8 000ABC58 90 7F 00 00 */ stw r3, 0(r31) -/* 800AECFC 000ABC5C 90 1F 00 04 */ stw r0, 4(r31) -/* 800AED00 000ABC60 41 82 00 1C */ beq lbl_800AED1C -/* 800AED04 000ABC64 7C 83 23 78 */ mr r3, r4 -/* 800AED08 000ABC68 7F E4 FB 78 */ mr r4, r31 -/* 800AED0C 000ABC6C 81 83 00 00 */ lwz r12, 0(r3) -/* 800AED10 000ABC70 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AED14 000ABC74 7D 89 03 A6 */ mtctr r12 -/* 800AED18 000ABC78 4E 80 04 21 */ bctrl -lbl_800AED1C: -/* 800AED1C 000ABC7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AED20 000ABC80 7F E3 FB 78 */ mr r3, r31 -/* 800AED24 000ABC84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AED28 000ABC88 7C 08 03 A6 */ mtlr r0 -/* 800AED2C 000ABC8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AED30 000ABC90 4E 80 00 20 */ blr - -.global "__ct__31TCastToPtr<17CEnergyProjectile>FR7CEntity" -"__ct__31TCastToPtr<17CEnergyProjectile>FR7CEntity": -/* 800AED34 000ABC94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AED38 000ABC98 7C 08 02 A6 */ mflr r0 -/* 800AED3C 000ABC9C 3C A0 80 3E */ lis r5, lbl_803DC3FC@ha -/* 800AED40 000ABCA0 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AED44 000ABCA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AED48 000ABCA8 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AED4C 000ABCAC 38 A5 C3 FC */ addi r5, r5, lbl_803DC3FC@l -/* 800AED50 000ABCB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AED54 000ABCB4 7C 7F 1B 78 */ mr r31, r3 -/* 800AED58 000ABCB8 90 03 00 00 */ stw r0, 0(r3) -/* 800AED5C 000ABCBC 7C 83 23 78 */ mr r3, r4 -/* 800AED60 000ABCC0 38 00 00 00 */ li r0, 0 -/* 800AED64 000ABCC4 7F E4 FB 78 */ mr r4, r31 -/* 800AED68 000ABCC8 90 BF 00 00 */ stw r5, 0(r31) -/* 800AED6C 000ABCCC 90 1F 00 04 */ stw r0, 4(r31) -/* 800AED70 000ABCD0 81 83 00 00 */ lwz r12, 0(r3) -/* 800AED74 000ABCD4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AED78 000ABCD8 7D 89 03 A6 */ mtctr r12 -/* 800AED7C 000ABCDC 4E 80 04 21 */ bctrl -/* 800AED80 000ABCE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AED84 000ABCE4 7F E3 FB 78 */ mr r3, r31 -/* 800AED88 000ABCE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AED8C 000ABCEC 7C 08 03 A6 */ mtlr r0 -/* 800AED90 000ABCF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AED94 000ABCF4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR7CWeapon" -"Visit__30TCastToPtr<16CDestroyableRock>FR7CWeapon": -/* 800AED98 000ABCF8 38 00 00 00 */ li r0, 0 -/* 800AED9C 000ABCFC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEDA0 000ABD00 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CWallCrawlerSwarm" -"Visit__30TCastToPtr<16CDestroyableRock>FR17CWallCrawlerSwarm": -/* 800AEDA4 000ABD04 38 00 00 00 */ li r0, 0 -/* 800AEDA8 000ABD08 90 03 00 04 */ stw r0, 4(r3) -/* 800AEDAC 000ABD0C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptSpindleCamera" -"Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptSpindleCamera": -/* 800AEDB0 000ABD10 38 00 00 00 */ li r0, 0 -/* 800AEDB4 000ABD14 90 03 00 04 */ stw r0, 4(r3) -/* 800AEDB8 000ABD18 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CSnakeWeedSwarm" -"Visit__30TCastToPtr<16CDestroyableRock>FR15CSnakeWeedSwarm": -/* 800AEDBC 000ABD1C 38 00 00 00 */ li r0, 0 -/* 800AEDC0 000ABD20 90 03 00 04 */ stw r0, 4(r3) -/* 800AEDC4 000ABD24 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptWaypoint" -"Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptWaypoint": -/* 800AEDC8 000ABD28 38 00 00 00 */ li r0, 0 -/* 800AEDCC 000ABD2C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEDD0 000ABD30 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptWater" -"Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptWater": -/* 800AEDD4 000ABD34 38 00 00 00 */ li r0, 0 -/* 800AEDD8 000ABD38 90 03 00 04 */ stw r0, 4(r3) -/* 800AEDDC 000ABD3C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptVisorFlare" -"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptVisorFlare": -/* 800AEDE0 000ABD40 38 00 00 00 */ li r0, 0 -/* 800AEDE4 000ABD44 90 03 00 04 */ stw r0, 4(r3) -/* 800AEDE8 000ABD48 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR14CScriptTrigger" -"Visit__30TCastToPtr<16CDestroyableRock>FR14CScriptTrigger": -/* 800AEDEC 000ABD4C 38 00 00 00 */ li r0, 0 -/* 800AEDF0 000ABD50 90 03 00 04 */ stw r0, 4(r3) -/* 800AEDF4 000ABD54 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptTimer" -"Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptTimer": -/* 800AEDF8 000ABD58 38 00 00 00 */ li r0, 0 -/* 800AEDFC 000ABD5C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE00 000ABD60 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR10CTeamAiMgr" -"Visit__30TCastToPtr<16CDestroyableRock>FR10CTeamAiMgr": -/* 800AEE04 000ABD64 38 00 00 00 */ li r0, 0 -/* 800AEE08 000ABD68 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE0C 000ABD6C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR21CScriptTargetingPoint" -"Visit__30TCastToPtr<16CDestroyableRock>FR21CScriptTargetingPoint": -/* 800AEE10 000ABD70 38 00 00 00 */ li r0, 0 -/* 800AEE14 000ABD74 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE18 000ABD78 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR25CScriptSpiderBallWaypoint" -"Visit__30TCastToPtr<16CDestroyableRock>FR25CScriptSpiderBallWaypoint": -/* 800AEE1C 000ABD7C 38 00 00 00 */ li r0, 0 -/* 800AEE20 000ABD80 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE24 000ABD84 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR34CScriptSpiderBallAttractionSurface" -"Visit__30TCastToPtr<16CDestroyableRock>FR34CScriptSpiderBallAttractionSurface": -/* 800AEE28 000ABD88 38 00 00 00 */ li r0, 0 -/* 800AEE2C 000ABD8C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE30 000ABD90 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR22CScriptSpecialFunction" -"Visit__30TCastToPtr<16CDestroyableRock>FR22CScriptSpecialFunction": -/* 800AEE34 000ABD94 38 00 00 00 */ li r0, 0 -/* 800AEE38 000ABD98 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE3C 000ABD9C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptSpawnPoint" -"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptSpawnPoint": -/* 800AEE40 000ABDA0 38 00 00 00 */ li r0, 0 -/* 800AEE44 000ABDA4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE48 000ABDA8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptSound" -"Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptSound": -/* 800AEE4C 000ABDAC 38 00 00 00 */ li r0, 0 -/* 800AEE50 000ABDB0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE54 000ABDB4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptRoomAcoustics" -"Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptRoomAcoustics": -/* 800AEE58 000ABDB8 38 00 00 00 */ li r0, 0 -/* 800AEE5C 000ABDBC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE60 000ABDC0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR22CScriptPointOfinterest" -"Visit__30TCastToPtr<16CDestroyableRock>FR22CScriptPointOfinterest": -/* 800AEE64 000ABDC4 38 00 00 00 */ li r0, 0 -/* 800AEE68 000ABDC8 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE6C 000ABDCC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptPlayerHint" -"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptPlayerHint": -/* 800AEE70 000ABDD0 38 00 00 00 */ li r0, 0 -/* 800AEE74 000ABDD4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE78 000ABDD8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptPlatform" -"Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptPlatform": -/* 800AEE7C 000ABDDC 38 00 00 00 */ li r0, 0 -/* 800AEE80 000ABDE0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE84 000ABDE4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR13CScriptPickup" -"Visit__30TCastToPtr<16CDestroyableRock>FR13CScriptPickup": -/* 800AEE88 000ABDE8 38 00 00 00 */ li r0, 0 -/* 800AEE8C 000ABDEC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE90 000ABDF0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptMazeNode" -"Visit__30TCastToPtr<16CDestroyableRock>FR15CScriptMazeNode": -/* 800AEE94 000ABDF4 38 00 00 00 */ li r0, 0 -/* 800AEE98 000ABDF8 90 03 00 04 */ stw r0, 4(r3) -/* 800AEE9C 000ABDFC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR16CScriptGunTurret" -"Visit__30TCastToPtr<16CDestroyableRock>FR16CScriptGunTurret": -/* 800AEEA0 000ABE00 38 00 00 00 */ li r0, 0 -/* 800AEEA4 000ABE04 90 03 00 04 */ stw r0, 4(r3) -/* 800AEEA8 000ABE08 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR19CScriptGrapplePoint" -"Visit__30TCastToPtr<16CDestroyableRock>FR19CScriptGrapplePoint": -/* 800AEEAC 000ABE0C 38 00 00 00 */ li r0, 0 -/* 800AEEB0 000ABE10 90 03 00 04 */ stw r0, 4(r3) -/* 800AEEB4 000ABE14 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR13CScriptEffect" -"Visit__30TCastToPtr<16CDestroyableRock>FR13CScriptEffect": -/* 800AEEB8 000ABE18 38 00 00 00 */ li r0, 0 -/* 800AEEBC 000ABE1C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEEC0 000ABE20 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CScriptDoor" -"Visit__30TCastToPtr<16CDestroyableRock>FR11CScriptDoor": -/* 800AEEC4 000ABE24 38 00 00 00 */ li r0, 0 -/* 800AEEC8 000ABE28 90 03 00 04 */ stw r0, 4(r3) -/* 800AEECC 000ABE2C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CScriptDock" -"Visit__30TCastToPtr<16CDestroyableRock>FR11CScriptDock": -/* 800AEED0 000ABE30 38 00 00 00 */ li r0, 0 -/* 800AEED4 000ABE34 90 03 00 04 */ stw r0, 4(r3) -/* 800AEED8 000ABE38 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR18CScriptDistanceFog" -"Visit__30TCastToPtr<16CDestroyableRock>FR18CScriptDistanceFog": -/* 800AEEDC 000ABE3C 38 00 00 00 */ li r0, 0 -/* 800AEEE0 000ABE40 90 03 00 04 */ stw r0, 4(r3) -/* 800AEEE4 000ABE44 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR26CScriptDebugCameraWaypoint" -"Visit__30TCastToPtr<16CDestroyableRock>FR26CScriptDebugCameraWaypoint": -/* 800AEEE8 000ABE48 38 00 00 00 */ li r0, 0 -/* 800AEEEC 000ABE4C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEEF0 000ABE50 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptCoverPoint" -"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptCoverPoint": -/* 800AEEF4 000ABE54 38 00 00 00 */ li r0, 0 -/* 800AEEF8 000ABE58 90 03 00 04 */ stw r0, 4(r3) -/* 800AEEFC 000ABE5C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR21CScriptCameraWaypoint" -"Visit__30TCastToPtr<16CDestroyableRock>FR21CScriptCameraWaypoint": -/* 800AEF00 000ABE60 38 00 00 00 */ li r0, 0 -/* 800AEF04 000ABE64 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF08 000ABE68 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR24CScriptCameraPitchVolume" -"Visit__30TCastToPtr<16CDestroyableRock>FR24CScriptCameraPitchVolume": -/* 800AEF0C 000ABE6C 38 00 00 00 */ li r0, 0 -/* 800AEF10 000ABE70 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF14 000ABE74 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptCameraHint" -"Visit__30TCastToPtr<16CDestroyableRock>FR17CScriptCameraHint": -/* 800AEF18 000ABE78 38 00 00 00 */ li r0, 0 -/* 800AEF1C 000ABE7C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF20 000ABE80 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR18CScriptAiJumpPoint" -"Visit__30TCastToPtr<16CDestroyableRock>FR18CScriptAiJumpPoint": -/* 800AEF24 000ABE84 38 00 00 00 */ li r0, 0 -/* 800AEF28 000ABE88 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF2C 000ABE8C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptActorKeyframe" -"Visit__30TCastToPtr<16CDestroyableRock>FR20CScriptActorKeyframe": -/* 800AEF30 000ABE90 38 00 00 00 */ li r0, 0 -/* 800AEF34 000ABE94 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF38 000ABE98 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptActor" -"Visit__30TCastToPtr<16CDestroyableRock>FR12CScriptActor": -/* 800AEF3C 000ABE9C 38 00 00 00 */ li r0, 0 -/* 800AEF40 000ABEA0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF44 000ABEA4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR9CRepulsor" -"Visit__30TCastToPtr<16CDestroyableRock>FR9CRepulsor": -/* 800AEF48 000ABEA8 38 00 00 00 */ li r0, 0 -/* 800AEF4C 000ABEAC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF50 000ABEB0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR7CPlayer" -"Visit__30TCastToPtr<16CDestroyableRock>FR7CPlayer": -/* 800AEF54 000ABEB4 38 00 00 00 */ li r0, 0 -/* 800AEF58 000ABEB8 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF5C 000ABEBC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR13CPhysicsActor" -"Visit__30TCastToPtr<16CDestroyableRock>FR13CPhysicsActor": -/* 800AEF60 000ABEC0 38 00 00 00 */ li r0, 0 -/* 800AEF64 000ABEC4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF68 000ABEC8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR3CAi" -"Visit__30TCastToPtr<16CDestroyableRock>FR3CAi": -/* 800AEF6C 000ABECC 38 00 00 00 */ li r0, 0 -/* 800AEF70 000ABED0 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF74 000ABED4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CPathCamera" -"Visit__30TCastToPtr<16CDestroyableRock>FR11CPathCamera": -/* 800AEF78 000ABED8 38 00 00 00 */ li r0, 0 -/* 800AEF7C 000ABEDC 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF80 000ABEE0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR18CMetroidPrimeRelay" -"Visit__30TCastToPtr<16CDestroyableRock>FR18CMetroidPrimeRelay": -/* 800AEF84 000ABEE4 38 00 00 00 */ li r0, 0 -/* 800AEF88 000ABEE8 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF8C 000ABEEC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR19CHUDBillboardEffect" -"Visit__30TCastToPtr<16CDestroyableRock>FR19CHUDBillboardEffect": -/* 800AEF90 000ABEF0 38 00 00 00 */ li r0, 0 -/* 800AEF94 000ABEF4 90 03 00 04 */ stw r0, 4(r3) -/* 800AEF98 000ABEF8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CGameProjectile" -"Visit__30TCastToPtr<16CDestroyableRock>FR15CGameProjectile": -/* 800AEF9C 000ABEFC 38 00 00 00 */ li r0, 0 -/* 800AEFA0 000ABF00 90 03 00 04 */ stw r0, 4(r3) -/* 800AEFA4 000ABF04 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR10CGameLight" -"Visit__30TCastToPtr<16CDestroyableRock>FR10CGameLight": -/* 800AEFA8 000ABF08 38 00 00 00 */ li r0, 0 -/* 800AEFAC 000ABF0C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEFB0 000ABF10 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CGameCamera" -"Visit__30TCastToPtr<16CDestroyableRock>FR11CGameCamera": -/* 800AEFB4 000ABF14 38 00 00 00 */ li r0, 0 -/* 800AEFB8 000ABF18 90 03 00 04 */ stw r0, 4(r3) -/* 800AEFBC 000ABF1C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR10CFishCloud" -"Visit__30TCastToPtr<16CDestroyableRock>FR10CFishCloud": -/* 800AEFC0 000ABF20 38 00 00 00 */ li r0, 0 -/* 800AEFC4 000ABF24 90 03 00 04 */ stw r0, 4(r3) -/* 800AEFC8 000ABF28 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR18CFirstPersonCamera" -"Visit__30TCastToPtr<16CDestroyableRock>FR18CFirstPersonCamera": -/* 800AEFCC 000ABF2C 38 00 00 00 */ li r0, 0 -/* 800AEFD0 000ABF30 90 03 00 04 */ stw r0, 4(r3) -/* 800AEFD4 000ABF34 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR10CExplosion" -"Visit__30TCastToPtr<16CDestroyableRock>FR10CExplosion": -/* 800AEFD8 000ABF38 38 00 00 00 */ li r0, 0 -/* 800AEFDC 000ABF3C 90 03 00 04 */ stw r0, 4(r3) -/* 800AEFE0 000ABF40 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR7CEntity" -"Visit__30TCastToPtr<16CDestroyableRock>FR7CEntity": -/* 800AEFE4 000ABF44 38 00 00 00 */ li r0, 0 -/* 800AEFE8 000ABF48 90 03 00 04 */ stw r0, 4(r3) -/* 800AEFEC 000ABF4C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR17CEnergyProjectile" -"Visit__30TCastToPtr<16CDestroyableRock>FR17CEnergyProjectile": -/* 800AEFF0 000ABF50 38 00 00 00 */ li r0, 0 -/* 800AEFF4 000ABF54 90 03 00 04 */ stw r0, 4(r3) -/* 800AEFF8 000ABF58 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR16CDestroyableRock" -"Visit__30TCastToPtr<16CDestroyableRock>FR16CDestroyableRock": -/* 800AEFFC 000ABF5C 90 83 00 04 */ stw r4, 4(r3) -/* 800AF000 000ABF60 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR15CCollisionActor" -"Visit__30TCastToPtr<16CDestroyableRock>FR15CCollisionActor": -/* 800AF004 000ABF64 38 00 00 00 */ li r0, 0 -/* 800AF008 000ABF68 90 03 00 04 */ stw r0, 4(r3) -/* 800AF00C 000ABF6C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR16CCinematicCamera" -"Visit__30TCastToPtr<16CDestroyableRock>FR16CCinematicCamera": -/* 800AF010 000ABF70 38 00 00 00 */ li r0, 0 -/* 800AF014 000ABF74 90 03 00 04 */ stw r0, 4(r3) -/* 800AF018 000ABF78 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR5CBomb" -"Visit__30TCastToPtr<16CDestroyableRock>FR5CBomb": -/* 800AF01C 000ABF7C 38 00 00 00 */ li r0, 0 -/* 800AF020 000ABF80 90 03 00 04 */ stw r0, 4(r3) -/* 800AF024 000ABF84 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR11CBallCamera" -"Visit__30TCastToPtr<16CDestroyableRock>FR11CBallCamera": -/* 800AF028 000ABF88 38 00 00 00 */ li r0, 0 -/* 800AF02C 000ABF8C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF030 000ABF90 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CDestroyableRock>FR6CActor" -"Visit__30TCastToPtr<16CDestroyableRock>FR6CActor": -/* 800AF034 000ABF94 38 00 00 00 */ li r0, 0 -/* 800AF038 000ABF98 90 03 00 04 */ stw r0, 4(r3) -/* 800AF03C 000ABF9C 4E 80 00 20 */ blr - -.global "__ct__30TCastToPtr<16CDestroyableRock>FP7CEntity" -"__ct__30TCastToPtr<16CDestroyableRock>FP7CEntity": -/* 800AF040 000ABFA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AF044 000ABFA4 7C 08 02 A6 */ mflr r0 -/* 800AF048 000ABFA8 3C A0 80 3E */ lis r5, lbl_803DC310@ha -/* 800AF04C 000ABFAC 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AF050 000ABFB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AF054 000ABFB4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AF058 000ABFB8 38 A5 C3 10 */ addi r5, r5, lbl_803DC310@l -/* 800AF05C 000ABFBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AF060 000ABFC0 7C 7F 1B 78 */ mr r31, r3 -/* 800AF064 000ABFC4 90 03 00 00 */ stw r0, 0(r3) -/* 800AF068 000ABFC8 7C 83 23 78 */ mr r3, r4 -/* 800AF06C 000ABFCC 38 00 00 00 */ li r0, 0 -/* 800AF070 000ABFD0 7F E4 FB 78 */ mr r4, r31 -/* 800AF074 000ABFD4 90 BF 00 00 */ stw r5, 0(r31) -/* 800AF078 000ABFD8 90 1F 00 04 */ stw r0, 4(r31) -/* 800AF07C 000ABFDC 81 83 00 00 */ lwz r12, 0(r3) -/* 800AF080 000ABFE0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AF084 000ABFE4 7D 89 03 A6 */ mtctr r12 -/* 800AF088 000ABFE8 4E 80 04 21 */ bctrl -/* 800AF08C 000ABFEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AF090 000ABFF0 7F E3 FB 78 */ mr r3, r31 -/* 800AF094 000ABFF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AF098 000ABFF8 7C 08 03 A6 */ mtlr r0 -/* 800AF09C 000ABFFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AF0A0 000AC000 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR7CWeapon" -"Visit__29TCastToPtr<15CCollisionActor>FR7CWeapon": -/* 800AF0A4 000AC004 38 00 00 00 */ li r0, 0 -/* 800AF0A8 000AC008 90 03 00 04 */ stw r0, 4(r3) -/* 800AF0AC 000AC00C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR17CWallCrawlerSwarm" -"Visit__29TCastToPtr<15CCollisionActor>FR17CWallCrawlerSwarm": -/* 800AF0B0 000AC010 38 00 00 00 */ li r0, 0 -/* 800AF0B4 000AC014 90 03 00 04 */ stw r0, 4(r3) -/* 800AF0B8 000AC018 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR20CScriptSpindleCamera" -"Visit__29TCastToPtr<15CCollisionActor>FR20CScriptSpindleCamera": -/* 800AF0BC 000AC01C 38 00 00 00 */ li r0, 0 -/* 800AF0C0 000AC020 90 03 00 04 */ stw r0, 4(r3) -/* 800AF0C4 000AC024 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR15CSnakeWeedSwarm" -"Visit__29TCastToPtr<15CCollisionActor>FR15CSnakeWeedSwarm": -/* 800AF0C8 000AC028 38 00 00 00 */ li r0, 0 -/* 800AF0CC 000AC02C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF0D0 000AC030 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR15CScriptWaypoint" -"Visit__29TCastToPtr<15CCollisionActor>FR15CScriptWaypoint": -/* 800AF0D4 000AC034 38 00 00 00 */ li r0, 0 -/* 800AF0D8 000AC038 90 03 00 04 */ stw r0, 4(r3) -/* 800AF0DC 000AC03C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR12CScriptWater" -"Visit__29TCastToPtr<15CCollisionActor>FR12CScriptWater": -/* 800AF0E0 000AC040 38 00 00 00 */ li r0, 0 -/* 800AF0E4 000AC044 90 03 00 04 */ stw r0, 4(r3) -/* 800AF0E8 000AC048 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptVisorFlare" -"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptVisorFlare": -/* 800AF0EC 000AC04C 38 00 00 00 */ li r0, 0 -/* 800AF0F0 000AC050 90 03 00 04 */ stw r0, 4(r3) -/* 800AF0F4 000AC054 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR14CScriptTrigger" -"Visit__29TCastToPtr<15CCollisionActor>FR14CScriptTrigger": -/* 800AF0F8 000AC058 38 00 00 00 */ li r0, 0 -/* 800AF0FC 000AC05C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF100 000AC060 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR12CScriptTimer" -"Visit__29TCastToPtr<15CCollisionActor>FR12CScriptTimer": -/* 800AF104 000AC064 38 00 00 00 */ li r0, 0 -/* 800AF108 000AC068 90 03 00 04 */ stw r0, 4(r3) -/* 800AF10C 000AC06C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR10CTeamAiMgr" -"Visit__29TCastToPtr<15CCollisionActor>FR10CTeamAiMgr": -/* 800AF110 000AC070 38 00 00 00 */ li r0, 0 -/* 800AF114 000AC074 90 03 00 04 */ stw r0, 4(r3) -/* 800AF118 000AC078 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR21CScriptTargetingPoint" -"Visit__29TCastToPtr<15CCollisionActor>FR21CScriptTargetingPoint": -/* 800AF11C 000AC07C 38 00 00 00 */ li r0, 0 -/* 800AF120 000AC080 90 03 00 04 */ stw r0, 4(r3) -/* 800AF124 000AC084 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR25CScriptSpiderBallWaypoint" -"Visit__29TCastToPtr<15CCollisionActor>FR25CScriptSpiderBallWaypoint": -/* 800AF128 000AC088 38 00 00 00 */ li r0, 0 -/* 800AF12C 000AC08C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF130 000AC090 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR34CScriptSpiderBallAttractionSurface" -"Visit__29TCastToPtr<15CCollisionActor>FR34CScriptSpiderBallAttractionSurface": -/* 800AF134 000AC094 38 00 00 00 */ li r0, 0 -/* 800AF138 000AC098 90 03 00 04 */ stw r0, 4(r3) -/* 800AF13C 000AC09C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR22CScriptSpecialFunction" -"Visit__29TCastToPtr<15CCollisionActor>FR22CScriptSpecialFunction": -/* 800AF140 000AC0A0 38 00 00 00 */ li r0, 0 -/* 800AF144 000AC0A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF148 000AC0A8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptSpawnPoint" -"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptSpawnPoint": -/* 800AF14C 000AC0AC 38 00 00 00 */ li r0, 0 -/* 800AF150 000AC0B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF154 000AC0B4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR12CScriptSound" -"Visit__29TCastToPtr<15CCollisionActor>FR12CScriptSound": -/* 800AF158 000AC0B8 38 00 00 00 */ li r0, 0 -/* 800AF15C 000AC0BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF160 000AC0C0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR20CScriptRoomAcoustics" -"Visit__29TCastToPtr<15CCollisionActor>FR20CScriptRoomAcoustics": -/* 800AF164 000AC0C4 38 00 00 00 */ li r0, 0 -/* 800AF168 000AC0C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF16C 000AC0CC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR22CScriptPointOfinterest" -"Visit__29TCastToPtr<15CCollisionActor>FR22CScriptPointOfinterest": -/* 800AF170 000AC0D0 38 00 00 00 */ li r0, 0 -/* 800AF174 000AC0D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF178 000AC0D8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptPlayerHint" -"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptPlayerHint": -/* 800AF17C 000AC0DC 38 00 00 00 */ li r0, 0 -/* 800AF180 000AC0E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF184 000AC0E4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR15CScriptPlatform" -"Visit__29TCastToPtr<15CCollisionActor>FR15CScriptPlatform": -/* 800AF188 000AC0E8 38 00 00 00 */ li r0, 0 -/* 800AF18C 000AC0EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF190 000AC0F0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR13CScriptPickup" -"Visit__29TCastToPtr<15CCollisionActor>FR13CScriptPickup": -/* 800AF194 000AC0F4 38 00 00 00 */ li r0, 0 -/* 800AF198 000AC0F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF19C 000AC0FC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR15CScriptMazeNode" -"Visit__29TCastToPtr<15CCollisionActor>FR15CScriptMazeNode": -/* 800AF1A0 000AC100 38 00 00 00 */ li r0, 0 -/* 800AF1A4 000AC104 90 03 00 04 */ stw r0, 4(r3) -/* 800AF1A8 000AC108 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR16CScriptGunTurret" -"Visit__29TCastToPtr<15CCollisionActor>FR16CScriptGunTurret": -/* 800AF1AC 000AC10C 38 00 00 00 */ li r0, 0 -/* 800AF1B0 000AC110 90 03 00 04 */ stw r0, 4(r3) -/* 800AF1B4 000AC114 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR19CScriptGrapplePoint" -"Visit__29TCastToPtr<15CCollisionActor>FR19CScriptGrapplePoint": -/* 800AF1B8 000AC118 38 00 00 00 */ li r0, 0 -/* 800AF1BC 000AC11C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF1C0 000AC120 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR13CScriptEffect" -"Visit__29TCastToPtr<15CCollisionActor>FR13CScriptEffect": -/* 800AF1C4 000AC124 38 00 00 00 */ li r0, 0 -/* 800AF1C8 000AC128 90 03 00 04 */ stw r0, 4(r3) -/* 800AF1CC 000AC12C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR11CScriptDoor" -"Visit__29TCastToPtr<15CCollisionActor>FR11CScriptDoor": -/* 800AF1D0 000AC130 38 00 00 00 */ li r0, 0 -/* 800AF1D4 000AC134 90 03 00 04 */ stw r0, 4(r3) -/* 800AF1D8 000AC138 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR11CScriptDock" -"Visit__29TCastToPtr<15CCollisionActor>FR11CScriptDock": -/* 800AF1DC 000AC13C 38 00 00 00 */ li r0, 0 -/* 800AF1E0 000AC140 90 03 00 04 */ stw r0, 4(r3) -/* 800AF1E4 000AC144 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR18CScriptDistanceFog" -"Visit__29TCastToPtr<15CCollisionActor>FR18CScriptDistanceFog": -/* 800AF1E8 000AC148 38 00 00 00 */ li r0, 0 -/* 800AF1EC 000AC14C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF1F0 000AC150 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR26CScriptDebugCameraWaypoint" -"Visit__29TCastToPtr<15CCollisionActor>FR26CScriptDebugCameraWaypoint": -/* 800AF1F4 000AC154 38 00 00 00 */ li r0, 0 -/* 800AF1F8 000AC158 90 03 00 04 */ stw r0, 4(r3) -/* 800AF1FC 000AC15C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptCoverPoint" -"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptCoverPoint": -/* 800AF200 000AC160 38 00 00 00 */ li r0, 0 -/* 800AF204 000AC164 90 03 00 04 */ stw r0, 4(r3) -/* 800AF208 000AC168 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR21CScriptCameraWaypoint" -"Visit__29TCastToPtr<15CCollisionActor>FR21CScriptCameraWaypoint": -/* 800AF20C 000AC16C 38 00 00 00 */ li r0, 0 -/* 800AF210 000AC170 90 03 00 04 */ stw r0, 4(r3) -/* 800AF214 000AC174 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR24CScriptCameraPitchVolume" -"Visit__29TCastToPtr<15CCollisionActor>FR24CScriptCameraPitchVolume": -/* 800AF218 000AC178 38 00 00 00 */ li r0, 0 -/* 800AF21C 000AC17C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF220 000AC180 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR17CScriptCameraHint" -"Visit__29TCastToPtr<15CCollisionActor>FR17CScriptCameraHint": -/* 800AF224 000AC184 38 00 00 00 */ li r0, 0 -/* 800AF228 000AC188 90 03 00 04 */ stw r0, 4(r3) -/* 800AF22C 000AC18C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR18CScriptAiJumpPoint" -"Visit__29TCastToPtr<15CCollisionActor>FR18CScriptAiJumpPoint": -/* 800AF230 000AC190 38 00 00 00 */ li r0, 0 -/* 800AF234 000AC194 90 03 00 04 */ stw r0, 4(r3) -/* 800AF238 000AC198 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR20CScriptActorKeyframe" -"Visit__29TCastToPtr<15CCollisionActor>FR20CScriptActorKeyframe": -/* 800AF23C 000AC19C 38 00 00 00 */ li r0, 0 -/* 800AF240 000AC1A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF244 000AC1A4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR12CScriptActor" -"Visit__29TCastToPtr<15CCollisionActor>FR12CScriptActor": -/* 800AF248 000AC1A8 38 00 00 00 */ li r0, 0 -/* 800AF24C 000AC1AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF250 000AC1B0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR9CRepulsor" -"Visit__29TCastToPtr<15CCollisionActor>FR9CRepulsor": -/* 800AF254 000AC1B4 38 00 00 00 */ li r0, 0 -/* 800AF258 000AC1B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF25C 000AC1BC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR7CPlayer" -"Visit__29TCastToPtr<15CCollisionActor>FR7CPlayer": -/* 800AF260 000AC1C0 38 00 00 00 */ li r0, 0 -/* 800AF264 000AC1C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF268 000AC1C8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR13CPhysicsActor" -"Visit__29TCastToPtr<15CCollisionActor>FR13CPhysicsActor": -/* 800AF26C 000AC1CC 38 00 00 00 */ li r0, 0 -/* 800AF270 000AC1D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF274 000AC1D4 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR3CAi" -"Visit__29TCastToPtr<15CCollisionActor>FR3CAi": -/* 800AF278 000AC1D8 38 00 00 00 */ li r0, 0 -/* 800AF27C 000AC1DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF280 000AC1E0 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR11CPathCamera" -"Visit__29TCastToPtr<15CCollisionActor>FR11CPathCamera": -/* 800AF284 000AC1E4 38 00 00 00 */ li r0, 0 -/* 800AF288 000AC1E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF28C 000AC1EC 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR18CMetroidPrimeRelay" -"Visit__29TCastToPtr<15CCollisionActor>FR18CMetroidPrimeRelay": -/* 800AF290 000AC1F0 38 00 00 00 */ li r0, 0 -/* 800AF294 000AC1F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF298 000AC1F8 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR19CHUDBillboardEffect" -"Visit__29TCastToPtr<15CCollisionActor>FR19CHUDBillboardEffect": -/* 800AF29C 000AC1FC 38 00 00 00 */ li r0, 0 -/* 800AF2A0 000AC200 90 03 00 04 */ stw r0, 4(r3) -/* 800AF2A4 000AC204 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR15CGameProjectile" -"Visit__29TCastToPtr<15CCollisionActor>FR15CGameProjectile": -/* 800AF2A8 000AC208 38 00 00 00 */ li r0, 0 -/* 800AF2AC 000AC20C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF2B0 000AC210 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR10CGameLight" -"Visit__29TCastToPtr<15CCollisionActor>FR10CGameLight": -/* 800AF2B4 000AC214 38 00 00 00 */ li r0, 0 -/* 800AF2B8 000AC218 90 03 00 04 */ stw r0, 4(r3) -/* 800AF2BC 000AC21C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR11CGameCamera" -"Visit__29TCastToPtr<15CCollisionActor>FR11CGameCamera": -/* 800AF2C0 000AC220 38 00 00 00 */ li r0, 0 -/* 800AF2C4 000AC224 90 03 00 04 */ stw r0, 4(r3) -/* 800AF2C8 000AC228 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR10CFishCloud" -"Visit__29TCastToPtr<15CCollisionActor>FR10CFishCloud": -/* 800AF2CC 000AC22C 38 00 00 00 */ li r0, 0 -/* 800AF2D0 000AC230 90 03 00 04 */ stw r0, 4(r3) -/* 800AF2D4 000AC234 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR18CFirstPersonCamera" -"Visit__29TCastToPtr<15CCollisionActor>FR18CFirstPersonCamera": -/* 800AF2D8 000AC238 38 00 00 00 */ li r0, 0 -/* 800AF2DC 000AC23C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF2E0 000AC240 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR10CExplosion" -"Visit__29TCastToPtr<15CCollisionActor>FR10CExplosion": -/* 800AF2E4 000AC244 38 00 00 00 */ li r0, 0 -/* 800AF2E8 000AC248 90 03 00 04 */ stw r0, 4(r3) -/* 800AF2EC 000AC24C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR7CEntity" -"Visit__29TCastToPtr<15CCollisionActor>FR7CEntity": -/* 800AF2F0 000AC250 38 00 00 00 */ li r0, 0 -/* 800AF2F4 000AC254 90 03 00 04 */ stw r0, 4(r3) -/* 800AF2F8 000AC258 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR17CEnergyProjectile" -"Visit__29TCastToPtr<15CCollisionActor>FR17CEnergyProjectile": -/* 800AF2FC 000AC25C 38 00 00 00 */ li r0, 0 -/* 800AF300 000AC260 90 03 00 04 */ stw r0, 4(r3) -/* 800AF304 000AC264 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR16CDestroyableRock" -"Visit__29TCastToPtr<15CCollisionActor>FR16CDestroyableRock": -/* 800AF308 000AC268 38 00 00 00 */ li r0, 0 -/* 800AF30C 000AC26C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF310 000AC270 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR15CCollisionActor" -"Visit__29TCastToPtr<15CCollisionActor>FR15CCollisionActor": -/* 800AF314 000AC274 90 83 00 04 */ stw r4, 4(r3) -/* 800AF318 000AC278 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR16CCinematicCamera" -"Visit__29TCastToPtr<15CCollisionActor>FR16CCinematicCamera": -/* 800AF31C 000AC27C 38 00 00 00 */ li r0, 0 -/* 800AF320 000AC280 90 03 00 04 */ stw r0, 4(r3) -/* 800AF324 000AC284 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR5CBomb" -"Visit__29TCastToPtr<15CCollisionActor>FR5CBomb": -/* 800AF328 000AC288 38 00 00 00 */ li r0, 0 -/* 800AF32C 000AC28C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF330 000AC290 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR11CBallCamera" -"Visit__29TCastToPtr<15CCollisionActor>FR11CBallCamera": -/* 800AF334 000AC294 38 00 00 00 */ li r0, 0 -/* 800AF338 000AC298 90 03 00 04 */ stw r0, 4(r3) -/* 800AF33C 000AC29C 4E 80 00 20 */ blr - -.global "Visit__29TCastToPtr<15CCollisionActor>FR6CActor" -"Visit__29TCastToPtr<15CCollisionActor>FR6CActor": -/* 800AF340 000AC2A0 38 00 00 00 */ li r0, 0 -/* 800AF344 000AC2A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF348 000AC2A8 4E 80 00 20 */ blr - -.global "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -"__ct__29TCastToPtr<15CCollisionActor>FP7CEntity": -/* 800AF34C 000AC2AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AF350 000AC2B0 7C 08 02 A6 */ mflr r0 -/* 800AF354 000AC2B4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AF358 000AC2B8 3C A0 80 3E */ lis r5, lbl_803DC224@ha -/* 800AF35C 000AC2BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AF360 000AC2C0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AF364 000AC2C4 28 04 00 00 */ cmplwi r4, 0 -/* 800AF368 000AC2C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AF36C 000AC2CC 7C 7F 1B 78 */ mr r31, r3 -/* 800AF370 000AC2D0 38 65 C2 24 */ addi r3, r5, lbl_803DC224@l -/* 800AF374 000AC2D4 90 1F 00 00 */ stw r0, 0(r31) -/* 800AF378 000AC2D8 38 00 00 00 */ li r0, 0 -/* 800AF37C 000AC2DC 90 7F 00 00 */ stw r3, 0(r31) -/* 800AF380 000AC2E0 90 1F 00 04 */ stw r0, 4(r31) -/* 800AF384 000AC2E4 41 82 00 1C */ beq lbl_800AF3A0 -/* 800AF388 000AC2E8 7C 83 23 78 */ mr r3, r4 -/* 800AF38C 000AC2EC 7F E4 FB 78 */ mr r4, r31 -/* 800AF390 000AC2F0 81 83 00 00 */ lwz r12, 0(r3) -/* 800AF394 000AC2F4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AF398 000AC2F8 7D 89 03 A6 */ mtctr r12 -/* 800AF39C 000AC2FC 4E 80 04 21 */ bctrl -lbl_800AF3A0: -/* 800AF3A0 000AC300 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AF3A4 000AC304 7F E3 FB 78 */ mr r3, r31 -/* 800AF3A8 000AC308 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AF3AC 000AC30C 7C 08 03 A6 */ mtlr r0 -/* 800AF3B0 000AC310 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AF3B4 000AC314 4E 80 00 20 */ blr - -.global "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" -"__ct__29TCastToPtr<15CCollisionActor>FR7CEntity": -/* 800AF3B8 000AC318 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AF3BC 000AC31C 7C 08 02 A6 */ mflr r0 -/* 800AF3C0 000AC320 3C A0 80 3E */ lis r5, lbl_803DC224@ha -/* 800AF3C4 000AC324 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AF3C8 000AC328 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AF3CC 000AC32C 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AF3D0 000AC330 38 A5 C2 24 */ addi r5, r5, lbl_803DC224@l -/* 800AF3D4 000AC334 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AF3D8 000AC338 7C 7F 1B 78 */ mr r31, r3 -/* 800AF3DC 000AC33C 90 03 00 00 */ stw r0, 0(r3) -/* 800AF3E0 000AC340 7C 83 23 78 */ mr r3, r4 -/* 800AF3E4 000AC344 38 00 00 00 */ li r0, 0 -/* 800AF3E8 000AC348 7F E4 FB 78 */ mr r4, r31 -/* 800AF3EC 000AC34C 90 BF 00 00 */ stw r5, 0(r31) -/* 800AF3F0 000AC350 90 1F 00 04 */ stw r0, 4(r31) -/* 800AF3F4 000AC354 81 83 00 00 */ lwz r12, 0(r3) -/* 800AF3F8 000AC358 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AF3FC 000AC35C 7D 89 03 A6 */ mtctr r12 -/* 800AF400 000AC360 4E 80 04 21 */ bctrl -/* 800AF404 000AC364 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AF408 000AC368 7F E3 FB 78 */ mr r3, r31 -/* 800AF40C 000AC36C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AF410 000AC370 7C 08 03 A6 */ mtlr r0 -/* 800AF414 000AC374 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AF418 000AC378 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR7CWeapon" -"Visit__30TCastToPtr<16CCinematicCamera>FR7CWeapon": -/* 800AF41C 000AC37C 38 00 00 00 */ li r0, 0 -/* 800AF420 000AC380 90 03 00 04 */ stw r0, 4(r3) -/* 800AF424 000AC384 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CWallCrawlerSwarm" -"Visit__30TCastToPtr<16CCinematicCamera>FR17CWallCrawlerSwarm": -/* 800AF428 000AC388 38 00 00 00 */ li r0, 0 -/* 800AF42C 000AC38C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF430 000AC390 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptSpindleCamera" -"Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptSpindleCamera": -/* 800AF434 000AC394 38 00 00 00 */ li r0, 0 -/* 800AF438 000AC398 90 03 00 04 */ stw r0, 4(r3) -/* 800AF43C 000AC39C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CSnakeWeedSwarm" -"Visit__30TCastToPtr<16CCinematicCamera>FR15CSnakeWeedSwarm": -/* 800AF440 000AC3A0 38 00 00 00 */ li r0, 0 -/* 800AF444 000AC3A4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF448 000AC3A8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptWaypoint" -"Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptWaypoint": -/* 800AF44C 000AC3AC 38 00 00 00 */ li r0, 0 -/* 800AF450 000AC3B0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF454 000AC3B4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptWater" -"Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptWater": -/* 800AF458 000AC3B8 38 00 00 00 */ li r0, 0 -/* 800AF45C 000AC3BC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF460 000AC3C0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptVisorFlare" -"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptVisorFlare": -/* 800AF464 000AC3C4 38 00 00 00 */ li r0, 0 -/* 800AF468 000AC3C8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF46C 000AC3CC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR14CScriptTrigger" -"Visit__30TCastToPtr<16CCinematicCamera>FR14CScriptTrigger": -/* 800AF470 000AC3D0 38 00 00 00 */ li r0, 0 -/* 800AF474 000AC3D4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF478 000AC3D8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptTimer" -"Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptTimer": -/* 800AF47C 000AC3DC 38 00 00 00 */ li r0, 0 -/* 800AF480 000AC3E0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF484 000AC3E4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR10CTeamAiMgr" -"Visit__30TCastToPtr<16CCinematicCamera>FR10CTeamAiMgr": -/* 800AF488 000AC3E8 38 00 00 00 */ li r0, 0 -/* 800AF48C 000AC3EC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF490 000AC3F0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR21CScriptTargetingPoint" -"Visit__30TCastToPtr<16CCinematicCamera>FR21CScriptTargetingPoint": -/* 800AF494 000AC3F4 38 00 00 00 */ li r0, 0 -/* 800AF498 000AC3F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF49C 000AC3FC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR25CScriptSpiderBallWaypoint" -"Visit__30TCastToPtr<16CCinematicCamera>FR25CScriptSpiderBallWaypoint": -/* 800AF4A0 000AC400 38 00 00 00 */ li r0, 0 -/* 800AF4A4 000AC404 90 03 00 04 */ stw r0, 4(r3) -/* 800AF4A8 000AC408 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR34CScriptSpiderBallAttractionSurface" -"Visit__30TCastToPtr<16CCinematicCamera>FR34CScriptSpiderBallAttractionSurface": -/* 800AF4AC 000AC40C 38 00 00 00 */ li r0, 0 -/* 800AF4B0 000AC410 90 03 00 04 */ stw r0, 4(r3) -/* 800AF4B4 000AC414 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR22CScriptSpecialFunction" -"Visit__30TCastToPtr<16CCinematicCamera>FR22CScriptSpecialFunction": -/* 800AF4B8 000AC418 38 00 00 00 */ li r0, 0 -/* 800AF4BC 000AC41C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF4C0 000AC420 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptSpawnPoint" -"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptSpawnPoint": -/* 800AF4C4 000AC424 38 00 00 00 */ li r0, 0 -/* 800AF4C8 000AC428 90 03 00 04 */ stw r0, 4(r3) -/* 800AF4CC 000AC42C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptSound" -"Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptSound": -/* 800AF4D0 000AC430 38 00 00 00 */ li r0, 0 -/* 800AF4D4 000AC434 90 03 00 04 */ stw r0, 4(r3) -/* 800AF4D8 000AC438 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptRoomAcoustics" -"Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptRoomAcoustics": -/* 800AF4DC 000AC43C 38 00 00 00 */ li r0, 0 -/* 800AF4E0 000AC440 90 03 00 04 */ stw r0, 4(r3) -/* 800AF4E4 000AC444 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR22CScriptPointOfinterest" -"Visit__30TCastToPtr<16CCinematicCamera>FR22CScriptPointOfinterest": -/* 800AF4E8 000AC448 38 00 00 00 */ li r0, 0 -/* 800AF4EC 000AC44C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF4F0 000AC450 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptPlayerHint" -"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptPlayerHint": -/* 800AF4F4 000AC454 38 00 00 00 */ li r0, 0 -/* 800AF4F8 000AC458 90 03 00 04 */ stw r0, 4(r3) -/* 800AF4FC 000AC45C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptPlatform" -"Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptPlatform": -/* 800AF500 000AC460 38 00 00 00 */ li r0, 0 -/* 800AF504 000AC464 90 03 00 04 */ stw r0, 4(r3) -/* 800AF508 000AC468 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR13CScriptPickup" -"Visit__30TCastToPtr<16CCinematicCamera>FR13CScriptPickup": -/* 800AF50C 000AC46C 38 00 00 00 */ li r0, 0 -/* 800AF510 000AC470 90 03 00 04 */ stw r0, 4(r3) -/* 800AF514 000AC474 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptMazeNode" -"Visit__30TCastToPtr<16CCinematicCamera>FR15CScriptMazeNode": -/* 800AF518 000AC478 38 00 00 00 */ li r0, 0 -/* 800AF51C 000AC47C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF520 000AC480 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR16CScriptGunTurret" -"Visit__30TCastToPtr<16CCinematicCamera>FR16CScriptGunTurret": -/* 800AF524 000AC484 38 00 00 00 */ li r0, 0 -/* 800AF528 000AC488 90 03 00 04 */ stw r0, 4(r3) -/* 800AF52C 000AC48C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR19CScriptGrapplePoint" -"Visit__30TCastToPtr<16CCinematicCamera>FR19CScriptGrapplePoint": -/* 800AF530 000AC490 38 00 00 00 */ li r0, 0 -/* 800AF534 000AC494 90 03 00 04 */ stw r0, 4(r3) -/* 800AF538 000AC498 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR13CScriptEffect" -"Visit__30TCastToPtr<16CCinematicCamera>FR13CScriptEffect": -/* 800AF53C 000AC49C 38 00 00 00 */ li r0, 0 -/* 800AF540 000AC4A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF544 000AC4A4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CScriptDoor" -"Visit__30TCastToPtr<16CCinematicCamera>FR11CScriptDoor": -/* 800AF548 000AC4A8 38 00 00 00 */ li r0, 0 -/* 800AF54C 000AC4AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF550 000AC4B0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CScriptDock" -"Visit__30TCastToPtr<16CCinematicCamera>FR11CScriptDock": -/* 800AF554 000AC4B4 38 00 00 00 */ li r0, 0 -/* 800AF558 000AC4B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF55C 000AC4BC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR18CScriptDistanceFog" -"Visit__30TCastToPtr<16CCinematicCamera>FR18CScriptDistanceFog": -/* 800AF560 000AC4C0 38 00 00 00 */ li r0, 0 -/* 800AF564 000AC4C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF568 000AC4C8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR26CScriptDebugCameraWaypoint" -"Visit__30TCastToPtr<16CCinematicCamera>FR26CScriptDebugCameraWaypoint": -/* 800AF56C 000AC4CC 38 00 00 00 */ li r0, 0 -/* 800AF570 000AC4D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF574 000AC4D4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptCoverPoint" -"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptCoverPoint": -/* 800AF578 000AC4D8 38 00 00 00 */ li r0, 0 -/* 800AF57C 000AC4DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF580 000AC4E0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR21CScriptCameraWaypoint" -"Visit__30TCastToPtr<16CCinematicCamera>FR21CScriptCameraWaypoint": -/* 800AF584 000AC4E4 38 00 00 00 */ li r0, 0 -/* 800AF588 000AC4E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF58C 000AC4EC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR24CScriptCameraPitchVolume" -"Visit__30TCastToPtr<16CCinematicCamera>FR24CScriptCameraPitchVolume": -/* 800AF590 000AC4F0 38 00 00 00 */ li r0, 0 -/* 800AF594 000AC4F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF598 000AC4F8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptCameraHint" -"Visit__30TCastToPtr<16CCinematicCamera>FR17CScriptCameraHint": -/* 800AF59C 000AC4FC 38 00 00 00 */ li r0, 0 -/* 800AF5A0 000AC500 90 03 00 04 */ stw r0, 4(r3) -/* 800AF5A4 000AC504 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR18CScriptAiJumpPoint" -"Visit__30TCastToPtr<16CCinematicCamera>FR18CScriptAiJumpPoint": -/* 800AF5A8 000AC508 38 00 00 00 */ li r0, 0 -/* 800AF5AC 000AC50C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF5B0 000AC510 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptActorKeyframe" -"Visit__30TCastToPtr<16CCinematicCamera>FR20CScriptActorKeyframe": -/* 800AF5B4 000AC514 38 00 00 00 */ li r0, 0 -/* 800AF5B8 000AC518 90 03 00 04 */ stw r0, 4(r3) -/* 800AF5BC 000AC51C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptActor" -"Visit__30TCastToPtr<16CCinematicCamera>FR12CScriptActor": -/* 800AF5C0 000AC520 38 00 00 00 */ li r0, 0 -/* 800AF5C4 000AC524 90 03 00 04 */ stw r0, 4(r3) -/* 800AF5C8 000AC528 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR9CRepulsor" -"Visit__30TCastToPtr<16CCinematicCamera>FR9CRepulsor": -/* 800AF5CC 000AC52C 38 00 00 00 */ li r0, 0 -/* 800AF5D0 000AC530 90 03 00 04 */ stw r0, 4(r3) -/* 800AF5D4 000AC534 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR7CPlayer" -"Visit__30TCastToPtr<16CCinematicCamera>FR7CPlayer": -/* 800AF5D8 000AC538 38 00 00 00 */ li r0, 0 -/* 800AF5DC 000AC53C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF5E0 000AC540 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR13CPhysicsActor" -"Visit__30TCastToPtr<16CCinematicCamera>FR13CPhysicsActor": -/* 800AF5E4 000AC544 38 00 00 00 */ li r0, 0 -/* 800AF5E8 000AC548 90 03 00 04 */ stw r0, 4(r3) -/* 800AF5EC 000AC54C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR3CAi" -"Visit__30TCastToPtr<16CCinematicCamera>FR3CAi": -/* 800AF5F0 000AC550 38 00 00 00 */ li r0, 0 -/* 800AF5F4 000AC554 90 03 00 04 */ stw r0, 4(r3) -/* 800AF5F8 000AC558 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CPathCamera" -"Visit__30TCastToPtr<16CCinematicCamera>FR11CPathCamera": -/* 800AF5FC 000AC55C 38 00 00 00 */ li r0, 0 -/* 800AF600 000AC560 90 03 00 04 */ stw r0, 4(r3) -/* 800AF604 000AC564 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR18CMetroidPrimeRelay" -"Visit__30TCastToPtr<16CCinematicCamera>FR18CMetroidPrimeRelay": -/* 800AF608 000AC568 38 00 00 00 */ li r0, 0 -/* 800AF60C 000AC56C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF610 000AC570 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR19CHUDBillboardEffect" -"Visit__30TCastToPtr<16CCinematicCamera>FR19CHUDBillboardEffect": -/* 800AF614 000AC574 38 00 00 00 */ li r0, 0 -/* 800AF618 000AC578 90 03 00 04 */ stw r0, 4(r3) -/* 800AF61C 000AC57C 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CGameProjectile" -"Visit__30TCastToPtr<16CCinematicCamera>FR15CGameProjectile": -/* 800AF620 000AC580 38 00 00 00 */ li r0, 0 -/* 800AF624 000AC584 90 03 00 04 */ stw r0, 4(r3) -/* 800AF628 000AC588 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR10CGameLight" -"Visit__30TCastToPtr<16CCinematicCamera>FR10CGameLight": -/* 800AF62C 000AC58C 38 00 00 00 */ li r0, 0 -/* 800AF630 000AC590 90 03 00 04 */ stw r0, 4(r3) -/* 800AF634 000AC594 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CGameCamera" -"Visit__30TCastToPtr<16CCinematicCamera>FR11CGameCamera": -/* 800AF638 000AC598 38 00 00 00 */ li r0, 0 -/* 800AF63C 000AC59C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF640 000AC5A0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR10CFishCloud" -"Visit__30TCastToPtr<16CCinematicCamera>FR10CFishCloud": -/* 800AF644 000AC5A4 38 00 00 00 */ li r0, 0 -/* 800AF648 000AC5A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF64C 000AC5AC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR18CFirstPersonCamera" -"Visit__30TCastToPtr<16CCinematicCamera>FR18CFirstPersonCamera": -/* 800AF650 000AC5B0 38 00 00 00 */ li r0, 0 -/* 800AF654 000AC5B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF658 000AC5B8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR10CExplosion" -"Visit__30TCastToPtr<16CCinematicCamera>FR10CExplosion": -/* 800AF65C 000AC5BC 38 00 00 00 */ li r0, 0 -/* 800AF660 000AC5C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF664 000AC5C4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR7CEntity" -"Visit__30TCastToPtr<16CCinematicCamera>FR7CEntity": -/* 800AF668 000AC5C8 38 00 00 00 */ li r0, 0 -/* 800AF66C 000AC5CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF670 000AC5D0 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR17CEnergyProjectile" -"Visit__30TCastToPtr<16CCinematicCamera>FR17CEnergyProjectile": -/* 800AF674 000AC5D4 38 00 00 00 */ li r0, 0 -/* 800AF678 000AC5D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF67C 000AC5DC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR16CDestroyableRock" -"Visit__30TCastToPtr<16CCinematicCamera>FR16CDestroyableRock": -/* 800AF680 000AC5E0 38 00 00 00 */ li r0, 0 -/* 800AF684 000AC5E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF688 000AC5E8 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR15CCollisionActor" -"Visit__30TCastToPtr<16CCinematicCamera>FR15CCollisionActor": -/* 800AF68C 000AC5EC 38 00 00 00 */ li r0, 0 -/* 800AF690 000AC5F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF694 000AC5F4 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR16CCinematicCamera" -"Visit__30TCastToPtr<16CCinematicCamera>FR16CCinematicCamera": -/* 800AF698 000AC5F8 90 83 00 04 */ stw r4, 4(r3) -/* 800AF69C 000AC5FC 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR5CBomb" -"Visit__30TCastToPtr<16CCinematicCamera>FR5CBomb": -/* 800AF6A0 000AC600 38 00 00 00 */ li r0, 0 -/* 800AF6A4 000AC604 90 03 00 04 */ stw r0, 4(r3) -/* 800AF6A8 000AC608 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR11CBallCamera" -"Visit__30TCastToPtr<16CCinematicCamera>FR11CBallCamera": -/* 800AF6AC 000AC60C 38 00 00 00 */ li r0, 0 -/* 800AF6B0 000AC610 90 03 00 04 */ stw r0, 4(r3) -/* 800AF6B4 000AC614 4E 80 00 20 */ blr - -.global "Visit__30TCastToPtr<16CCinematicCamera>FR6CActor" -"Visit__30TCastToPtr<16CCinematicCamera>FR6CActor": -/* 800AF6B8 000AC618 38 00 00 00 */ li r0, 0 -/* 800AF6BC 000AC61C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF6C0 000AC620 4E 80 00 20 */ blr - -.global "__ct__30TCastToPtr<16CCinematicCamera>FP7CEntity" -"__ct__30TCastToPtr<16CCinematicCamera>FP7CEntity": -/* 800AF6C4 000AC624 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AF6C8 000AC628 7C 08 02 A6 */ mflr r0 -/* 800AF6CC 000AC62C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AF6D0 000AC630 3C A0 80 3E */ lis r5, lbl_803DC138@ha -/* 800AF6D4 000AC634 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AF6D8 000AC638 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AF6DC 000AC63C 28 04 00 00 */ cmplwi r4, 0 -/* 800AF6E0 000AC640 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AF6E4 000AC644 7C 7F 1B 78 */ mr r31, r3 -/* 800AF6E8 000AC648 38 65 C1 38 */ addi r3, r5, lbl_803DC138@l -/* 800AF6EC 000AC64C 90 1F 00 00 */ stw r0, 0(r31) -/* 800AF6F0 000AC650 38 00 00 00 */ li r0, 0 -/* 800AF6F4 000AC654 90 7F 00 00 */ stw r3, 0(r31) -/* 800AF6F8 000AC658 90 1F 00 04 */ stw r0, 4(r31) -/* 800AF6FC 000AC65C 41 82 00 1C */ beq lbl_800AF718 -/* 800AF700 000AC660 7C 83 23 78 */ mr r3, r4 -/* 800AF704 000AC664 7F E4 FB 78 */ mr r4, r31 -/* 800AF708 000AC668 81 83 00 00 */ lwz r12, 0(r3) -/* 800AF70C 000AC66C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AF710 000AC670 7D 89 03 A6 */ mtctr r12 -/* 800AF714 000AC674 4E 80 04 21 */ bctrl -lbl_800AF718: -/* 800AF718 000AC678 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AF71C 000AC67C 7F E3 FB 78 */ mr r3, r31 -/* 800AF720 000AC680 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AF724 000AC684 7C 08 03 A6 */ mtlr r0 -/* 800AF728 000AC688 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AF72C 000AC68C 4E 80 00 20 */ blr - -.global "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity" -"__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity": -/* 800AF730 000AC690 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AF734 000AC694 7C 08 02 A6 */ mflr r0 -/* 800AF738 000AC698 3C A0 80 3E */ lis r5, lbl_803DC138@ha -/* 800AF73C 000AC69C 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AF740 000AC6A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AF744 000AC6A4 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AF748 000AC6A8 38 A5 C1 38 */ addi r5, r5, lbl_803DC138@l -/* 800AF74C 000AC6AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AF750 000AC6B0 7C 7F 1B 78 */ mr r31, r3 -/* 800AF754 000AC6B4 90 03 00 00 */ stw r0, 0(r3) -/* 800AF758 000AC6B8 7C 83 23 78 */ mr r3, r4 -/* 800AF75C 000AC6BC 38 00 00 00 */ li r0, 0 -/* 800AF760 000AC6C0 7F E4 FB 78 */ mr r4, r31 -/* 800AF764 000AC6C4 90 BF 00 00 */ stw r5, 0(r31) -/* 800AF768 000AC6C8 90 1F 00 04 */ stw r0, 4(r31) -/* 800AF76C 000AC6CC 81 83 00 00 */ lwz r12, 0(r3) -/* 800AF770 000AC6D0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AF774 000AC6D4 7D 89 03 A6 */ mtctr r12 -/* 800AF778 000AC6D8 4E 80 04 21 */ bctrl -/* 800AF77C 000AC6DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AF780 000AC6E0 7F E3 FB 78 */ mr r3, r31 -/* 800AF784 000AC6E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AF788 000AC6E8 7C 08 03 A6 */ mtlr r0 -/* 800AF78C 000AC6EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AF790 000AC6F0 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR7CWeapon" -"Visit__18TCastToPtr<5CBomb>FR7CWeapon": -/* 800AF794 000AC6F4 38 00 00 00 */ li r0, 0 -/* 800AF798 000AC6F8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF79C 000AC6FC 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR17CWallCrawlerSwarm" -"Visit__18TCastToPtr<5CBomb>FR17CWallCrawlerSwarm": -/* 800AF7A0 000AC700 38 00 00 00 */ li r0, 0 -/* 800AF7A4 000AC704 90 03 00 04 */ stw r0, 4(r3) -/* 800AF7A8 000AC708 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR20CScriptSpindleCamera" -"Visit__18TCastToPtr<5CBomb>FR20CScriptSpindleCamera": -/* 800AF7AC 000AC70C 38 00 00 00 */ li r0, 0 -/* 800AF7B0 000AC710 90 03 00 04 */ stw r0, 4(r3) -/* 800AF7B4 000AC714 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR15CSnakeWeedSwarm" -"Visit__18TCastToPtr<5CBomb>FR15CSnakeWeedSwarm": -/* 800AF7B8 000AC718 38 00 00 00 */ li r0, 0 -/* 800AF7BC 000AC71C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF7C0 000AC720 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR15CScriptWaypoint" -"Visit__18TCastToPtr<5CBomb>FR15CScriptWaypoint": -/* 800AF7C4 000AC724 38 00 00 00 */ li r0, 0 -/* 800AF7C8 000AC728 90 03 00 04 */ stw r0, 4(r3) -/* 800AF7CC 000AC72C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR12CScriptWater" -"Visit__18TCastToPtr<5CBomb>FR12CScriptWater": -/* 800AF7D0 000AC730 38 00 00 00 */ li r0, 0 -/* 800AF7D4 000AC734 90 03 00 04 */ stw r0, 4(r3) -/* 800AF7D8 000AC738 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR17CScriptVisorFlare" -"Visit__18TCastToPtr<5CBomb>FR17CScriptVisorFlare": -/* 800AF7DC 000AC73C 38 00 00 00 */ li r0, 0 -/* 800AF7E0 000AC740 90 03 00 04 */ stw r0, 4(r3) -/* 800AF7E4 000AC744 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR14CScriptTrigger" -"Visit__18TCastToPtr<5CBomb>FR14CScriptTrigger": -/* 800AF7E8 000AC748 38 00 00 00 */ li r0, 0 -/* 800AF7EC 000AC74C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF7F0 000AC750 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR12CScriptTimer" -"Visit__18TCastToPtr<5CBomb>FR12CScriptTimer": -/* 800AF7F4 000AC754 38 00 00 00 */ li r0, 0 -/* 800AF7F8 000AC758 90 03 00 04 */ stw r0, 4(r3) -/* 800AF7FC 000AC75C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR10CTeamAiMgr" -"Visit__18TCastToPtr<5CBomb>FR10CTeamAiMgr": -/* 800AF800 000AC760 38 00 00 00 */ li r0, 0 -/* 800AF804 000AC764 90 03 00 04 */ stw r0, 4(r3) -/* 800AF808 000AC768 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR21CScriptTargetingPoint" -"Visit__18TCastToPtr<5CBomb>FR21CScriptTargetingPoint": -/* 800AF80C 000AC76C 38 00 00 00 */ li r0, 0 -/* 800AF810 000AC770 90 03 00 04 */ stw r0, 4(r3) -/* 800AF814 000AC774 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR25CScriptSpiderBallWaypoint" -"Visit__18TCastToPtr<5CBomb>FR25CScriptSpiderBallWaypoint": -/* 800AF818 000AC778 38 00 00 00 */ li r0, 0 -/* 800AF81C 000AC77C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF820 000AC780 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR34CScriptSpiderBallAttractionSurface" -"Visit__18TCastToPtr<5CBomb>FR34CScriptSpiderBallAttractionSurface": -/* 800AF824 000AC784 38 00 00 00 */ li r0, 0 -/* 800AF828 000AC788 90 03 00 04 */ stw r0, 4(r3) -/* 800AF82C 000AC78C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR22CScriptSpecialFunction" -"Visit__18TCastToPtr<5CBomb>FR22CScriptSpecialFunction": -/* 800AF830 000AC790 38 00 00 00 */ li r0, 0 -/* 800AF834 000AC794 90 03 00 04 */ stw r0, 4(r3) -/* 800AF838 000AC798 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR17CScriptSpawnPoint" -"Visit__18TCastToPtr<5CBomb>FR17CScriptSpawnPoint": -/* 800AF83C 000AC79C 38 00 00 00 */ li r0, 0 -/* 800AF840 000AC7A0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF844 000AC7A4 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR12CScriptSound" -"Visit__18TCastToPtr<5CBomb>FR12CScriptSound": -/* 800AF848 000AC7A8 38 00 00 00 */ li r0, 0 -/* 800AF84C 000AC7AC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF850 000AC7B0 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR20CScriptRoomAcoustics" -"Visit__18TCastToPtr<5CBomb>FR20CScriptRoomAcoustics": -/* 800AF854 000AC7B4 38 00 00 00 */ li r0, 0 -/* 800AF858 000AC7B8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF85C 000AC7BC 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR22CScriptPointOfinterest" -"Visit__18TCastToPtr<5CBomb>FR22CScriptPointOfinterest": -/* 800AF860 000AC7C0 38 00 00 00 */ li r0, 0 -/* 800AF864 000AC7C4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF868 000AC7C8 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR17CScriptPlayerHint" -"Visit__18TCastToPtr<5CBomb>FR17CScriptPlayerHint": -/* 800AF86C 000AC7CC 38 00 00 00 */ li r0, 0 -/* 800AF870 000AC7D0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF874 000AC7D4 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR15CScriptPlatform" -"Visit__18TCastToPtr<5CBomb>FR15CScriptPlatform": -/* 800AF878 000AC7D8 38 00 00 00 */ li r0, 0 -/* 800AF87C 000AC7DC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF880 000AC7E0 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR13CScriptPickup" -"Visit__18TCastToPtr<5CBomb>FR13CScriptPickup": -/* 800AF884 000AC7E4 38 00 00 00 */ li r0, 0 -/* 800AF888 000AC7E8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF88C 000AC7EC 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR15CScriptMazeNode" -"Visit__18TCastToPtr<5CBomb>FR15CScriptMazeNode": -/* 800AF890 000AC7F0 38 00 00 00 */ li r0, 0 -/* 800AF894 000AC7F4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF898 000AC7F8 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR16CScriptGunTurret" -"Visit__18TCastToPtr<5CBomb>FR16CScriptGunTurret": -/* 800AF89C 000AC7FC 38 00 00 00 */ li r0, 0 -/* 800AF8A0 000AC800 90 03 00 04 */ stw r0, 4(r3) -/* 800AF8A4 000AC804 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR19CScriptGrapplePoint" -"Visit__18TCastToPtr<5CBomb>FR19CScriptGrapplePoint": -/* 800AF8A8 000AC808 38 00 00 00 */ li r0, 0 -/* 800AF8AC 000AC80C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF8B0 000AC810 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR13CScriptEffect" -"Visit__18TCastToPtr<5CBomb>FR13CScriptEffect": -/* 800AF8B4 000AC814 38 00 00 00 */ li r0, 0 -/* 800AF8B8 000AC818 90 03 00 04 */ stw r0, 4(r3) -/* 800AF8BC 000AC81C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR11CScriptDoor" -"Visit__18TCastToPtr<5CBomb>FR11CScriptDoor": -/* 800AF8C0 000AC820 38 00 00 00 */ li r0, 0 -/* 800AF8C4 000AC824 90 03 00 04 */ stw r0, 4(r3) -/* 800AF8C8 000AC828 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR11CScriptDock" -"Visit__18TCastToPtr<5CBomb>FR11CScriptDock": -/* 800AF8CC 000AC82C 38 00 00 00 */ li r0, 0 -/* 800AF8D0 000AC830 90 03 00 04 */ stw r0, 4(r3) -/* 800AF8D4 000AC834 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR18CScriptDistanceFog" -"Visit__18TCastToPtr<5CBomb>FR18CScriptDistanceFog": -/* 800AF8D8 000AC838 38 00 00 00 */ li r0, 0 -/* 800AF8DC 000AC83C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF8E0 000AC840 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR26CScriptDebugCameraWaypoint" -"Visit__18TCastToPtr<5CBomb>FR26CScriptDebugCameraWaypoint": -/* 800AF8E4 000AC844 38 00 00 00 */ li r0, 0 -/* 800AF8E8 000AC848 90 03 00 04 */ stw r0, 4(r3) -/* 800AF8EC 000AC84C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR17CScriptCoverPoint" -"Visit__18TCastToPtr<5CBomb>FR17CScriptCoverPoint": -/* 800AF8F0 000AC850 38 00 00 00 */ li r0, 0 -/* 800AF8F4 000AC854 90 03 00 04 */ stw r0, 4(r3) -/* 800AF8F8 000AC858 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR21CScriptCameraWaypoint" -"Visit__18TCastToPtr<5CBomb>FR21CScriptCameraWaypoint": -/* 800AF8FC 000AC85C 38 00 00 00 */ li r0, 0 -/* 800AF900 000AC860 90 03 00 04 */ stw r0, 4(r3) -/* 800AF904 000AC864 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR24CScriptCameraPitchVolume" -"Visit__18TCastToPtr<5CBomb>FR24CScriptCameraPitchVolume": -/* 800AF908 000AC868 38 00 00 00 */ li r0, 0 -/* 800AF90C 000AC86C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF910 000AC870 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR17CScriptCameraHint" -"Visit__18TCastToPtr<5CBomb>FR17CScriptCameraHint": -/* 800AF914 000AC874 38 00 00 00 */ li r0, 0 -/* 800AF918 000AC878 90 03 00 04 */ stw r0, 4(r3) -/* 800AF91C 000AC87C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR18CScriptAiJumpPoint" -"Visit__18TCastToPtr<5CBomb>FR18CScriptAiJumpPoint": -/* 800AF920 000AC880 38 00 00 00 */ li r0, 0 -/* 800AF924 000AC884 90 03 00 04 */ stw r0, 4(r3) -/* 800AF928 000AC888 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR20CScriptActorKeyframe" -"Visit__18TCastToPtr<5CBomb>FR20CScriptActorKeyframe": -/* 800AF92C 000AC88C 38 00 00 00 */ li r0, 0 -/* 800AF930 000AC890 90 03 00 04 */ stw r0, 4(r3) -/* 800AF934 000AC894 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR12CScriptActor" -"Visit__18TCastToPtr<5CBomb>FR12CScriptActor": -/* 800AF938 000AC898 38 00 00 00 */ li r0, 0 -/* 800AF93C 000AC89C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF940 000AC8A0 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR9CRepulsor" -"Visit__18TCastToPtr<5CBomb>FR9CRepulsor": -/* 800AF944 000AC8A4 38 00 00 00 */ li r0, 0 -/* 800AF948 000AC8A8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF94C 000AC8AC 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR7CPlayer" -"Visit__18TCastToPtr<5CBomb>FR7CPlayer": -/* 800AF950 000AC8B0 38 00 00 00 */ li r0, 0 -/* 800AF954 000AC8B4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF958 000AC8B8 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR13CPhysicsActor" -"Visit__18TCastToPtr<5CBomb>FR13CPhysicsActor": -/* 800AF95C 000AC8BC 38 00 00 00 */ li r0, 0 -/* 800AF960 000AC8C0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF964 000AC8C4 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR3CAi" -"Visit__18TCastToPtr<5CBomb>FR3CAi": -/* 800AF968 000AC8C8 38 00 00 00 */ li r0, 0 -/* 800AF96C 000AC8CC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF970 000AC8D0 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR11CPathCamera" -"Visit__18TCastToPtr<5CBomb>FR11CPathCamera": -/* 800AF974 000AC8D4 38 00 00 00 */ li r0, 0 -/* 800AF978 000AC8D8 90 03 00 04 */ stw r0, 4(r3) -/* 800AF97C 000AC8DC 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR18CMetroidPrimeRelay" -"Visit__18TCastToPtr<5CBomb>FR18CMetroidPrimeRelay": -/* 800AF980 000AC8E0 38 00 00 00 */ li r0, 0 -/* 800AF984 000AC8E4 90 03 00 04 */ stw r0, 4(r3) -/* 800AF988 000AC8E8 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR19CHUDBillboardEffect" -"Visit__18TCastToPtr<5CBomb>FR19CHUDBillboardEffect": -/* 800AF98C 000AC8EC 38 00 00 00 */ li r0, 0 -/* 800AF990 000AC8F0 90 03 00 04 */ stw r0, 4(r3) -/* 800AF994 000AC8F4 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR15CGameProjectile" -"Visit__18TCastToPtr<5CBomb>FR15CGameProjectile": -/* 800AF998 000AC8F8 38 00 00 00 */ li r0, 0 -/* 800AF99C 000AC8FC 90 03 00 04 */ stw r0, 4(r3) -/* 800AF9A0 000AC900 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR10CGameLight" -"Visit__18TCastToPtr<5CBomb>FR10CGameLight": -/* 800AF9A4 000AC904 38 00 00 00 */ li r0, 0 -/* 800AF9A8 000AC908 90 03 00 04 */ stw r0, 4(r3) -/* 800AF9AC 000AC90C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR11CGameCamera" -"Visit__18TCastToPtr<5CBomb>FR11CGameCamera": -/* 800AF9B0 000AC910 38 00 00 00 */ li r0, 0 -/* 800AF9B4 000AC914 90 03 00 04 */ stw r0, 4(r3) -/* 800AF9B8 000AC918 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR10CFishCloud" -"Visit__18TCastToPtr<5CBomb>FR10CFishCloud": -/* 800AF9BC 000AC91C 38 00 00 00 */ li r0, 0 -/* 800AF9C0 000AC920 90 03 00 04 */ stw r0, 4(r3) -/* 800AF9C4 000AC924 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR18CFirstPersonCamera" -"Visit__18TCastToPtr<5CBomb>FR18CFirstPersonCamera": -/* 800AF9C8 000AC928 38 00 00 00 */ li r0, 0 -/* 800AF9CC 000AC92C 90 03 00 04 */ stw r0, 4(r3) -/* 800AF9D0 000AC930 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR10CExplosion" -"Visit__18TCastToPtr<5CBomb>FR10CExplosion": -/* 800AF9D4 000AC934 38 00 00 00 */ li r0, 0 -/* 800AF9D8 000AC938 90 03 00 04 */ stw r0, 4(r3) -/* 800AF9DC 000AC93C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR7CEntity" -"Visit__18TCastToPtr<5CBomb>FR7CEntity": -/* 800AF9E0 000AC940 38 00 00 00 */ li r0, 0 -/* 800AF9E4 000AC944 90 03 00 04 */ stw r0, 4(r3) -/* 800AF9E8 000AC948 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR17CEnergyProjectile" -"Visit__18TCastToPtr<5CBomb>FR17CEnergyProjectile": -/* 800AF9EC 000AC94C 38 00 00 00 */ li r0, 0 -/* 800AF9F0 000AC950 90 03 00 04 */ stw r0, 4(r3) -/* 800AF9F4 000AC954 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR16CDestroyableRock" -"Visit__18TCastToPtr<5CBomb>FR16CDestroyableRock": -/* 800AF9F8 000AC958 38 00 00 00 */ li r0, 0 -/* 800AF9FC 000AC95C 90 03 00 04 */ stw r0, 4(r3) -/* 800AFA00 000AC960 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR15CCollisionActor" -"Visit__18TCastToPtr<5CBomb>FR15CCollisionActor": -/* 800AFA04 000AC964 38 00 00 00 */ li r0, 0 -/* 800AFA08 000AC968 90 03 00 04 */ stw r0, 4(r3) -/* 800AFA0C 000AC96C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR16CCinematicCamera" -"Visit__18TCastToPtr<5CBomb>FR16CCinematicCamera": -/* 800AFA10 000AC970 38 00 00 00 */ li r0, 0 -/* 800AFA14 000AC974 90 03 00 04 */ stw r0, 4(r3) -/* 800AFA18 000AC978 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR5CBomb" -"Visit__18TCastToPtr<5CBomb>FR5CBomb": -/* 800AFA1C 000AC97C 90 83 00 04 */ stw r4, 4(r3) -/* 800AFA20 000AC980 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR11CBallCamera" -"Visit__18TCastToPtr<5CBomb>FR11CBallCamera": -/* 800AFA24 000AC984 38 00 00 00 */ li r0, 0 -/* 800AFA28 000AC988 90 03 00 04 */ stw r0, 4(r3) -/* 800AFA2C 000AC98C 4E 80 00 20 */ blr - -.global "Visit__18TCastToPtr<5CBomb>FR6CActor" -"Visit__18TCastToPtr<5CBomb>FR6CActor": -/* 800AFA30 000AC990 38 00 00 00 */ li r0, 0 -/* 800AFA34 000AC994 90 03 00 04 */ stw r0, 4(r3) -/* 800AFA38 000AC998 4E 80 00 20 */ blr - -.global "__ct__18TCastToPtr<5CBomb>FP7CEntity" -"__ct__18TCastToPtr<5CBomb>FP7CEntity": -/* 800AFA3C 000AC99C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AFA40 000AC9A0 7C 08 02 A6 */ mflr r0 -/* 800AFA44 000AC9A4 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AFA48 000AC9A8 3C A0 80 3E */ lis r5, lbl_803DC04C@ha -/* 800AFA4C 000AC9AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AFA50 000AC9B0 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AFA54 000AC9B4 28 04 00 00 */ cmplwi r4, 0 -/* 800AFA58 000AC9B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AFA5C 000AC9BC 7C 7F 1B 78 */ mr r31, r3 -/* 800AFA60 000AC9C0 38 65 C0 4C */ addi r3, r5, lbl_803DC04C@l -/* 800AFA64 000AC9C4 90 1F 00 00 */ stw r0, 0(r31) -/* 800AFA68 000AC9C8 38 00 00 00 */ li r0, 0 -/* 800AFA6C 000AC9CC 90 7F 00 00 */ stw r3, 0(r31) -/* 800AFA70 000AC9D0 90 1F 00 04 */ stw r0, 4(r31) -/* 800AFA74 000AC9D4 41 82 00 1C */ beq lbl_800AFA90 -/* 800AFA78 000AC9D8 7C 83 23 78 */ mr r3, r4 -/* 800AFA7C 000AC9DC 7F E4 FB 78 */ mr r4, r31 -/* 800AFA80 000AC9E0 81 83 00 00 */ lwz r12, 0(r3) -/* 800AFA84 000AC9E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AFA88 000AC9E8 7D 89 03 A6 */ mtctr r12 -/* 800AFA8C 000AC9EC 4E 80 04 21 */ bctrl -lbl_800AFA90: -/* 800AFA90 000AC9F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AFA94 000AC9F4 7F E3 FB 78 */ mr r3, r31 -/* 800AFA98 000AC9F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AFA9C 000AC9FC 7C 08 03 A6 */ mtlr r0 -/* 800AFAA0 000ACA00 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AFAA4 000ACA04 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR7CWeapon" -"Visit__19TCastToPtr<6CActor>FR7CWeapon": -/* 800AFAA8 000ACA08 90 83 00 04 */ stw r4, 4(r3) -/* 800AFAAC 000ACA0C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR17CWallCrawlerSwarm" -"Visit__19TCastToPtr<6CActor>FR17CWallCrawlerSwarm": -/* 800AFAB0 000ACA10 90 83 00 04 */ stw r4, 4(r3) -/* 800AFAB4 000ACA14 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR20CScriptSpindleCamera" -"Visit__19TCastToPtr<6CActor>FR20CScriptSpindleCamera": -/* 800AFAB8 000ACA18 90 83 00 04 */ stw r4, 4(r3) -/* 800AFABC 000ACA1C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR15CSnakeWeedSwarm" -"Visit__19TCastToPtr<6CActor>FR15CSnakeWeedSwarm": -/* 800AFAC0 000ACA20 90 83 00 04 */ stw r4, 4(r3) -/* 800AFAC4 000ACA24 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR15CScriptWaypoint" -"Visit__19TCastToPtr<6CActor>FR15CScriptWaypoint": -/* 800AFAC8 000ACA28 90 83 00 04 */ stw r4, 4(r3) -/* 800AFACC 000ACA2C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR12CScriptWater" -"Visit__19TCastToPtr<6CActor>FR12CScriptWater": -/* 800AFAD0 000ACA30 90 83 00 04 */ stw r4, 4(r3) -/* 800AFAD4 000ACA34 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR17CScriptVisorFlare" -"Visit__19TCastToPtr<6CActor>FR17CScriptVisorFlare": -/* 800AFAD8 000ACA38 90 83 00 04 */ stw r4, 4(r3) -/* 800AFADC 000ACA3C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR14CScriptTrigger" -"Visit__19TCastToPtr<6CActor>FR14CScriptTrigger": -/* 800AFAE0 000ACA40 90 83 00 04 */ stw r4, 4(r3) -/* 800AFAE4 000ACA44 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR12CScriptTimer" -"Visit__19TCastToPtr<6CActor>FR12CScriptTimer": -/* 800AFAE8 000ACA48 38 00 00 00 */ li r0, 0 -/* 800AFAEC 000ACA4C 90 03 00 04 */ stw r0, 4(r3) -/* 800AFAF0 000ACA50 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR10CTeamAiMgr" -"Visit__19TCastToPtr<6CActor>FR10CTeamAiMgr": -/* 800AFAF4 000ACA54 38 00 00 00 */ li r0, 0 -/* 800AFAF8 000ACA58 90 03 00 04 */ stw r0, 4(r3) -/* 800AFAFC 000ACA5C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR21CScriptTargetingPoint" -"Visit__19TCastToPtr<6CActor>FR21CScriptTargetingPoint": -/* 800AFB00 000ACA60 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB04 000ACA64 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR25CScriptSpiderBallWaypoint" -"Visit__19TCastToPtr<6CActor>FR25CScriptSpiderBallWaypoint": -/* 800AFB08 000ACA68 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB0C 000ACA6C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR34CScriptSpiderBallAttractionSurface" -"Visit__19TCastToPtr<6CActor>FR34CScriptSpiderBallAttractionSurface": -/* 800AFB10 000ACA70 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB14 000ACA74 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR22CScriptSpecialFunction" -"Visit__19TCastToPtr<6CActor>FR22CScriptSpecialFunction": -/* 800AFB18 000ACA78 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB1C 000ACA7C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR17CScriptSpawnPoint" -"Visit__19TCastToPtr<6CActor>FR17CScriptSpawnPoint": -/* 800AFB20 000ACA80 38 00 00 00 */ li r0, 0 -/* 800AFB24 000ACA84 90 03 00 04 */ stw r0, 4(r3) -/* 800AFB28 000ACA88 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR12CScriptSound" -"Visit__19TCastToPtr<6CActor>FR12CScriptSound": -/* 800AFB2C 000ACA8C 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB30 000ACA90 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR20CScriptRoomAcoustics" -"Visit__19TCastToPtr<6CActor>FR20CScriptRoomAcoustics": -/* 800AFB34 000ACA94 38 00 00 00 */ li r0, 0 -/* 800AFB38 000ACA98 90 03 00 04 */ stw r0, 4(r3) -/* 800AFB3C 000ACA9C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR22CScriptPointOfInterest" -"Visit__19TCastToPtr<6CActor>FR22CScriptPointOfInterest": -/* 800AFB40 000ACAA0 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB44 000ACAA4 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR17CScriptPlayerHint" -"Visit__19TCastToPtr<6CActor>FR17CScriptPlayerHint": -/* 800AFB48 000ACAA8 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB4C 000ACAAC 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR15CScriptPlatform" -"Visit__19TCastToPtr<6CActor>FR15CScriptPlatform": -/* 800AFB50 000ACAB0 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB54 000ACAB4 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR13CScriptPickup" -"Visit__19TCastToPtr<6CActor>FR13CScriptPickup": -/* 800AFB58 000ACAB8 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB5C 000ACABC 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR15CScriptMazeNode" -"Visit__19TCastToPtr<6CActor>FR15CScriptMazeNode": -/* 800AFB60 000ACAC0 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB64 000ACAC4 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR16CScriptGunTurret" -"Visit__19TCastToPtr<6CActor>FR16CScriptGunTurret": -/* 800AFB68 000ACAC8 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB6C 000ACACC 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR19CScriptGrapplePoint" -"Visit__19TCastToPtr<6CActor>FR19CScriptGrapplePoint": -/* 800AFB70 000ACAD0 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB74 000ACAD4 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR13CScriptEffect" -"Visit__19TCastToPtr<6CActor>FR13CScriptEffect": -/* 800AFB78 000ACAD8 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB7C 000ACADC 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR11CScriptDoor" -"Visit__19TCastToPtr<6CActor>FR11CScriptDoor": -/* 800AFB80 000ACAE0 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB84 000ACAE4 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR11CScriptDock" -"Visit__19TCastToPtr<6CActor>FR11CScriptDock": -/* 800AFB88 000ACAE8 90 83 00 04 */ stw r4, 4(r3) -/* 800AFB8C 000ACAEC 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR18CScriptDistanceFog" -"Visit__19TCastToPtr<6CActor>FR18CScriptDistanceFog": -/* 800AFB90 000ACAF0 38 00 00 00 */ li r0, 0 -/* 800AFB94 000ACAF4 90 03 00 04 */ stw r0, 4(r3) -/* 800AFB98 000ACAF8 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR26CScriptDebugCameraWaypoint" -"Visit__19TCastToPtr<6CActor>FR26CScriptDebugCameraWaypoint": -/* 800AFB9C 000ACAFC 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBA0 000ACB00 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR17CScriptCoverPoint" -"Visit__19TCastToPtr<6CActor>FR17CScriptCoverPoint": -/* 800AFBA4 000ACB04 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBA8 000ACB08 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR21CScriptCameraWaypoint" -"Visit__19TCastToPtr<6CActor>FR21CScriptCameraWaypoint": -/* 800AFBAC 000ACB0C 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBB0 000ACB10 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR24CScriptCameraPitchVolume" -"Visit__19TCastToPtr<6CActor>FR24CScriptCameraPitchVolume": -/* 800AFBB4 000ACB14 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBB8 000ACB18 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR17CScriptCameraHint" -"Visit__19TCastToPtr<6CActor>FR17CScriptCameraHint": -/* 800AFBBC 000ACB1C 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBC0 000ACB20 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR18CScriptAiJumpPoint" -"Visit__19TCastToPtr<6CActor>FR18CScriptAiJumpPoint": -/* 800AFBC4 000ACB24 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBC8 000ACB28 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR20CScriptActorKeyframe" -"Visit__19TCastToPtr<6CActor>FR20CScriptActorKeyframe": -/* 800AFBCC 000ACB2C 38 00 00 00 */ li r0, 0 -/* 800AFBD0 000ACB30 90 03 00 04 */ stw r0, 4(r3) -/* 800AFBD4 000ACB34 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR12CScriptActor" -"Visit__19TCastToPtr<6CActor>FR12CScriptActor": -/* 800AFBD8 000ACB38 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBDC 000ACB3C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR9CRepulsor" -"Visit__19TCastToPtr<6CActor>FR9CRepulsor": -/* 800AFBE0 000ACB40 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBE4 000ACB44 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR7CPlayer" -"Visit__19TCastToPtr<6CActor>FR7CPlayer": -/* 800AFBE8 000ACB48 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBEC 000ACB4C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR13CPhysicsActor" -"Visit__19TCastToPtr<6CActor>FR13CPhysicsActor": -/* 800AFBF0 000ACB50 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBF4 000ACB54 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR3CAi" -"Visit__19TCastToPtr<6CActor>FR3CAi": -/* 800AFBF8 000ACB58 90 83 00 04 */ stw r4, 4(r3) -/* 800AFBFC 000ACB5C 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR11CPathCamera" -"Visit__19TCastToPtr<6CActor>FR11CPathCamera": -/* 800AFC00 000ACB60 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC04 000ACB64 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR18CMetroidPrimeRelay" -"Visit__19TCastToPtr<6CActor>FR18CMetroidPrimeRelay": -/* 800AFC08 000ACB68 38 00 00 00 */ li r0, 0 -/* 800AFC0C 000ACB6C 90 03 00 04 */ stw r0, 4(r3) -/* 800AFC10 000ACB70 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR19CHUDBillboardEffect" -"Visit__19TCastToPtr<6CActor>FR19CHUDBillboardEffect": -/* 800AFC14 000ACB74 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC18 000ACB78 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR15CGameProjectile" -"Visit__19TCastToPtr<6CActor>FR15CGameProjectile": -/* 800AFC1C 000ACB7C 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC20 000ACB80 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR10CGameLight" -"Visit__19TCastToPtr<6CActor>FR10CGameLight": -/* 800AFC24 000ACB84 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC28 000ACB88 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR11CGameCamera" -"Visit__19TCastToPtr<6CActor>FR11CGameCamera": -/* 800AFC2C 000ACB8C 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC30 000ACB90 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR10CFishCloud" -"Visit__19TCastToPtr<6CActor>FR10CFishCloud": -/* 800AFC34 000ACB94 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC38 000ACB98 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR18CFirstPersonCamera" -"Visit__19TCastToPtr<6CActor>FR18CFirstPersonCamera": -/* 800AFC3C 000ACB9C 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC40 000ACBA0 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR10CExplosion" -"Visit__19TCastToPtr<6CActor>FR10CExplosion": -/* 800AFC44 000ACBA4 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC48 000ACBA8 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR7CEntity" -"Visit__19TCastToPtr<6CActor>FR7CEntity": -/* 800AFC4C 000ACBAC 38 00 00 00 */ li r0, 0 -/* 800AFC50 000ACBB0 90 03 00 04 */ stw r0, 4(r3) -/* 800AFC54 000ACBB4 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR17CEnergyProjectile" -"Visit__19TCastToPtr<6CActor>FR17CEnergyProjectile": -/* 800AFC58 000ACBB8 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC5C 000ACBBC 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR16CDestroyableRock" -"Visit__19TCastToPtr<6CActor>FR16CDestroyableRock": -/* 800AFC60 000ACBC0 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC64 000ACBC4 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR15CCollisionActor" -"Visit__19TCastToPtr<6CActor>FR15CCollisionActor": -/* 800AFC68 000ACBC8 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC6C 000ACBCC 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR16CCinematicCamera" -"Visit__19TCastToPtr<6CActor>FR16CCinematicCamera": -/* 800AFC70 000ACBD0 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC74 000ACBD4 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR5CBomb" -"Visit__19TCastToPtr<6CActor>FR5CBomb": -/* 800AFC78 000ACBD8 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC7C 000ACBDC 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR11CBallCamera" -"Visit__19TCastToPtr<6CActor>FR11CBallCamera": -/* 800AFC80 000ACBE0 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC84 000ACBE4 4E 80 00 20 */ blr - -.global "Visit__19TCastToPtr<6CActor>FR6CActor" -"Visit__19TCastToPtr<6CActor>FR6CActor": -/* 800AFC88 000ACBE8 90 83 00 04 */ stw r4, 4(r3) -/* 800AFC8C 000ACBEC 4E 80 00 20 */ blr - -.global "__ct__19TCastToPtr<6CActor>FP7CEntity" -"__ct__19TCastToPtr<6CActor>FP7CEntity": -/* 800AFC90 000ACBF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AFC94 000ACBF4 7C 08 02 A6 */ mflr r0 -/* 800AFC98 000ACBF8 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AFC9C 000ACBFC 3C A0 80 3E */ lis r5, lbl_803DBF60@ha -/* 800AFCA0 000ACC00 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AFCA4 000ACC04 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AFCA8 000ACC08 28 04 00 00 */ cmplwi r4, 0 -/* 800AFCAC 000ACC0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AFCB0 000ACC10 7C 7F 1B 78 */ mr r31, r3 -/* 800AFCB4 000ACC14 38 65 BF 60 */ addi r3, r5, lbl_803DBF60@l -/* 800AFCB8 000ACC18 90 1F 00 00 */ stw r0, 0(r31) -/* 800AFCBC 000ACC1C 38 00 00 00 */ li r0, 0 -/* 800AFCC0 000ACC20 90 7F 00 00 */ stw r3, 0(r31) -/* 800AFCC4 000ACC24 90 1F 00 04 */ stw r0, 4(r31) -/* 800AFCC8 000ACC28 41 82 00 1C */ beq lbl_800AFCE4 -/* 800AFCCC 000ACC2C 7C 83 23 78 */ mr r3, r4 -/* 800AFCD0 000ACC30 7F E4 FB 78 */ mr r4, r31 -/* 800AFCD4 000ACC34 81 83 00 00 */ lwz r12, 0(r3) -/* 800AFCD8 000ACC38 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AFCDC 000ACC3C 7D 89 03 A6 */ mtctr r12 -/* 800AFCE0 000ACC40 4E 80 04 21 */ bctrl -lbl_800AFCE4: -/* 800AFCE4 000ACC44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AFCE8 000ACC48 7F E3 FB 78 */ mr r3, r31 -/* 800AFCEC 000ACC4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AFCF0 000ACC50 7C 08 03 A6 */ mtlr r0 -/* 800AFCF4 000ACC54 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AFCF8 000ACC58 4E 80 00 20 */ blr - -.global "__ct__19TCastToPtr<6CActor>FR7CEntity" -"__ct__19TCastToPtr<6CActor>FR7CEntity": -/* 800AFCFC 000ACC5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800AFD00 000ACC60 7C 08 02 A6 */ mflr r0 -/* 800AFD04 000ACC64 3C A0 80 3E */ lis r5, lbl_803DBF60@ha -/* 800AFD08 000ACC68 3C C0 80 3E */ lis r6, lbl_803DF03C@ha -/* 800AFD0C 000ACC6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800AFD10 000ACC70 38 06 F0 3C */ addi r0, r6, lbl_803DF03C@l -/* 800AFD14 000ACC74 38 A5 BF 60 */ addi r5, r5, lbl_803DBF60@l -/* 800AFD18 000ACC78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800AFD1C 000ACC7C 7C 7F 1B 78 */ mr r31, r3 -/* 800AFD20 000ACC80 90 03 00 00 */ stw r0, 0(r3) -/* 800AFD24 000ACC84 7C 83 23 78 */ mr r3, r4 -/* 800AFD28 000ACC88 38 00 00 00 */ li r0, 0 -/* 800AFD2C 000ACC8C 7F E4 FB 78 */ mr r4, r31 -/* 800AFD30 000ACC90 90 BF 00 00 */ stw r5, 0(r31) -/* 800AFD34 000ACC94 90 1F 00 04 */ stw r0, 4(r31) -/* 800AFD38 000ACC98 81 83 00 00 */ lwz r12, 0(r3) -/* 800AFD3C 000ACC9C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800AFD40 000ACCA0 7D 89 03 A6 */ mtctr r12 -/* 800AFD44 000ACCA4 4E 80 04 21 */ bctrl -/* 800AFD48 000ACCA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800AFD4C 000ACCAC 7F E3 FB 78 */ mr r3, r31 -/* 800AFD50 000ACCB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800AFD54 000ACCB4 7C 08 03 A6 */ mtlr r0 -/* 800AFD58 000ACCB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800AFD5C 000ACCBC 4E 80 00 20 */ blr - -.global GetOccludedVolumeAmount__12CScriptSoundFRC9CVector3fRC13CStateManager -GetOccludedVolumeAmount__12CScriptSoundFRC9CVector3fRC13CStateManager: -/* 800AFD60 000ACCC0 94 21 FD F0 */ stwu r1, -0x210(r1) -/* 800AFD64 000ACCC4 7C 08 02 A6 */ mflr r0 -/* 800AFD68 000ACCC8 90 01 02 14 */ stw r0, 0x214(r1) -/* 800AFD6C 000ACCCC DB E1 02 00 */ stfd f31, 0x200(r1) -/* 800AFD70 000ACCD0 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 -/* 800AFD74 000ACCD4 DB C1 01 F0 */ stfd f30, 0x1f0(r1) -/* 800AFD78 000ACCD8 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 -/* 800AFD7C 000ACCDC DB A1 01 E0 */ stfd f29, 0x1e0(r1) -/* 800AFD80 000ACCE0 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 -/* 800AFD84 000ACCE4 DB 81 01 D0 */ stfd f28, 0x1d0(r1) -/* 800AFD88 000ACCE8 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 -/* 800AFD8C 000ACCEC DB 61 01 C0 */ stfd f27, 0x1c0(r1) -/* 800AFD90 000ACCF0 F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0 -/* 800AFD94 000ACCF4 DB 41 01 B0 */ stfd f26, 0x1b0(r1) -/* 800AFD98 000ACCF8 F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0 -/* 800AFD9C 000ACCFC DB 21 01 A0 */ stfd f25, 0x1a0(r1) -/* 800AFDA0 000ACD00 F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0 -/* 800AFDA4 000ACD04 DB 01 01 90 */ stfd f24, 0x190(r1) -/* 800AFDA8 000ACD08 F3 01 01 98 */ psq_st f24, 408(r1), 0, qr0 -/* 800AFDAC 000ACD0C DA E1 01 80 */ stfd f23, 0x180(r1) -/* 800AFDB0 000ACD10 F2 E1 01 88 */ psq_st f23, 392(r1), 0, qr0 -/* 800AFDB4 000ACD14 DA C1 01 70 */ stfd f22, 0x170(r1) -/* 800AFDB8 000ACD18 F2 C1 01 78 */ psq_st f22, 376(r1), 0, qr0 -/* 800AFDBC 000ACD1C DA A1 01 60 */ stfd f21, 0x160(r1) -/* 800AFDC0 000ACD20 F2 A1 01 68 */ psq_st f21, 360(r1), 0, qr0 -/* 800AFDC4 000ACD24 DA 81 01 50 */ stfd f20, 0x150(r1) -/* 800AFDC8 000ACD28 F2 81 01 58 */ psq_st f20, 344(r1), 0, qr0 -/* 800AFDCC 000ACD2C DA 61 01 40 */ stfd f19, 0x140(r1) -/* 800AFDD0 000ACD30 F2 61 01 48 */ psq_st f19, 328(r1), 0, qr0 -/* 800AFDD4 000ACD34 DA 41 01 30 */ stfd f18, 0x130(r1) -/* 800AFDD8 000ACD38 F2 41 01 38 */ psq_st f18, 312(r1), 0, qr0 -/* 800AFDDC 000ACD3C DA 21 01 20 */ stfd f17, 0x120(r1) -/* 800AFDE0 000ACD40 F2 21 01 28 */ psq_st f17, 296(r1), 0, qr0 -/* 800AFDE4 000ACD44 DA 01 01 10 */ stfd f16, 0x110(r1) -/* 800AFDE8 000ACD48 F2 01 01 18 */ psq_st f16, 280(r1), 0, qr0 -/* 800AFDEC 000ACD4C D9 E1 01 00 */ stfd f15, 0x100(r1) -/* 800AFDF0 000ACD50 F1 E1 01 08 */ psq_st f15, 264(r1), 0, qr0 -/* 800AFDF4 000ACD54 BF 61 00 EC */ stmw r27, 0xec(r1) -/* 800AFDF8 000ACD58 7C 9F 23 78 */ mr r31, r4 -/* 800AFDFC 000ACD5C 7C 7E 1B 78 */ mr r30, r3 -/* 800AFE00 000ACD60 80 84 08 70 */ lwz r4, 0x870(r4) -/* 800AFE04 000ACD64 7F E5 FB 78 */ mr r5, r31 -/* 800AFE08 000ACD68 38 61 00 78 */ addi r3, r1, 0x78 -/* 800AFE0C 000ACD6C 4B F5 AB 5D */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 800AFE10 000ACD70 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 800AFE14 000ACD74 38 81 00 78 */ addi r4, r1, 0x78 -/* 800AFE18 000ACD78 48 26 2D 5D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800AFE1C 000ACD7C C0 21 00 C4 */ lfs f1, 0xc4(r1) -/* 800AFE20 000ACD80 38 61 00 20 */ addi r3, r1, 0x20 -/* 800AFE24 000ACD84 C0 1E 00 04 */ lfs f0, 4(r30) -/* 800AFE28 000ACD88 C0 61 00 D4 */ lfs f3, 0xd4(r1) -/* 800AFE2C 000ACD8C C0 5E 00 08 */ lfs f2, 8(r30) -/* 800AFE30 000ACD90 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800AFE34 000ACD94 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 800AFE38 000ACD98 C0 1E 00 00 */ lfs f0, 0(r30) -/* 800AFE3C 000ACD9C EC 43 10 28 */ fsubs f2, f3, f2 -/* 800AFE40 000ACDA0 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 800AFE44 000ACDA4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800AFE48 000ACDA8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 800AFE4C 000ACDAC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800AFE50 000ACDB0 48 26 4A 69 */ bl Magnitude__9CVector3fCFv -/* 800AFE54 000ACDB4 FE 40 08 90 */ fmr f18, f1 -/* 800AFE58 000ACDB8 C0 82 8C 80 */ lfs f4, lbl_805AA9A0@sda21(r2) -/* 800AFE5C 000ACDBC 88 0D A2 D8 */ lbz r0, lbl_805A8E98@sda21(r13) -/* 800AFE60 000ACDC0 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 800AFE64 000ACDC4 EC A4 90 24 */ fdivs f5, f4, f18 -/* 800AFE68 000ACDC8 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 800AFE6C 000ACDCC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 800AFE70 000ACDD0 7C 00 07 75 */ extsb. r0, r0 -/* 800AFE74 000ACDD4 C0 62 8C 84 */ lfs f3, lbl_805AA9A4@sda21(r2) -/* 800AFE78 000ACDD8 EF 45 00 B2 */ fmuls f26, f5, f2 -/* 800AFE7C 000ACDDC EF 65 00 32 */ fmuls f27, f5, f0 -/* 800AFE80 000ACDE0 EF 25 00 72 */ fmuls f25, f5, f1 -/* 800AFE84 000ACDE4 EC 03 06 B2 */ fmuls f0, f3, f26 -/* 800AFE88 000ACDE8 EC 03 06 7A */ fmadds f0, f3, f25, f0 -/* 800AFE8C 000ACDEC EC 04 06 FA */ fmadds f0, f4, f27, f0 -/* 800AFE90 000ACDF0 EC 40 06 72 */ fmuls f2, f0, f25 -/* 800AFE94 000ACDF4 EC 20 06 B2 */ fmuls f1, f0, f26 -/* 800AFE98 000ACDF8 EC 00 06 F2 */ fmuls f0, f0, f27 -/* 800AFE9C 000ACDFC EE C3 10 28 */ fsubs f22, f3, f2 -/* 800AFEA0 000ACE00 EE E3 08 28 */ fsubs f23, f3, f1 -/* 800AFEA4 000ACE04 EF 04 00 28 */ fsubs f24, f4, f0 -/* 800AFEA8 000ACE08 EC 16 06 B2 */ fmuls f0, f22, f26 -/* 800AFEAC 000ACE0C EC 57 06 F2 */ fmuls f2, f23, f27 -/* 800AFEB0 000ACE10 EC 38 06 72 */ fmuls f1, f24, f25 -/* 800AFEB4 000ACE14 EE 79 05 F8 */ fmsubs f19, f25, f23, f0 -/* 800AFEB8 000ACE18 EE BA 16 38 */ fmsubs f21, f26, f24, f2 -/* 800AFEBC 000ACE1C EE 9B 0D B8 */ fmsubs f20, f27, f22, f1 -/* 800AFEC0 000ACE20 40 82 00 18 */ bne lbl_800AFED8 -/* 800AFEC4 000ACE24 C0 02 8C 88 */ lfs f0, lbl_805AA9A8@sda21(r2) -/* 800AFEC8 000ACE28 38 00 00 01 */ li r0, 1 -/* 800AFECC 000ACE2C 98 0D A2 D8 */ stb r0, lbl_805A8E98@sda21(r13) -/* 800AFED0 000ACE30 EC 00 90 24 */ fdivs f0, f0, f18 -/* 800AFED4 000ACE34 D0 0D A2 D4 */ stfs f0, lbl_805A8E94@sda21(r13) -lbl_800AFED8: -/* 800AFED8 000ACE38 88 0D A2 E0 */ lbz r0, lbl_805A8EA0@sda21(r13) -/* 800AFEDC 000ACE3C 7C 00 07 75 */ extsb. r0, r0 -/* 800AFEE0 000ACE40 40 82 00 14 */ bne lbl_800AFEF4 -/* 800AFEE4 000ACE44 C0 0D A2 D4 */ lfs f0, lbl_805A8E94@sda21(r13) -/* 800AFEE8 000ACE48 38 00 00 01 */ li r0, 1 -/* 800AFEEC 000ACE4C 98 0D A2 E0 */ stb r0, lbl_805A8EA0@sda21(r13) -/* 800AFEF0 000ACE50 D0 0D A2 DC */ stfs f0, lbl_805A8E9C@sda21(r13) -lbl_800AFEF4: -/* 800AFEF4 000ACE54 88 0D A2 E1 */ lbz r0, lbl_805A8EA1@sda21(r13) -/* 800AFEF8 000ACE58 7C 00 07 75 */ extsb. r0, r0 -/* 800AFEFC 000ACE5C 40 82 00 58 */ bne lbl_800AFF54 -/* 800AFF00 000ACE60 80 AD 86 28 */ lwz r5, lbl_805A71E8@sda21(r13) -/* 800AFF04 000ACE64 38 60 00 00 */ li r3, 0 -/* 800AFF08 000ACE68 38 80 00 01 */ li r4, 1 -/* 800AFF0C 000ACE6C 48 2D 9F E9 */ bl __shl2i -/* 800AFF10 000ACE70 80 AD 86 24 */ lwz r5, lbl_805A71E4@sda21(r13) -/* 800AFF14 000ACE74 7C 9C 23 78 */ mr r28, r4 -/* 800AFF18 000ACE78 7C 7D 1B 78 */ mr r29, r3 -/* 800AFF1C 000ACE7C 38 60 00 00 */ li r3, 0 -/* 800AFF20 000ACE80 38 80 00 01 */ li r4, 1 -/* 800AFF24 000ACE84 48 2D 9F D1 */ bl __shl2i -/* 800AFF28 000ACE88 3C A0 80 47 */ lis r5, lbl_8046C438@ha -/* 800AFF2C 000ACE8C 38 C0 00 03 */ li r6, 3 -/* 800AFF30 000ACE90 38 A5 C4 38 */ addi r5, r5, lbl_8046C438@l -/* 800AFF34 000ACE94 38 00 00 01 */ li r0, 1 -/* 800AFF38 000ACE98 90 C1 00 40 */ stw r6, 0x40(r1) -/* 800AFF3C 000ACE9C 90 85 00 04 */ stw r4, 4(r5) -/* 800AFF40 000ACEA0 90 65 00 00 */ stw r3, 0(r5) -/* 800AFF44 000ACEA4 93 85 00 0C */ stw r28, 0xc(r5) -/* 800AFF48 000ACEA8 93 A5 00 08 */ stw r29, 8(r5) -/* 800AFF4C 000ACEAC 90 C5 00 10 */ stw r6, 0x10(r5) -/* 800AFF50 000ACEB0 98 0D A2 E1 */ stb r0, lbl_805A8EA1@sda21(r13) -lbl_800AFF54: -/* 800AFF54 000ACEB4 C3 8D A2 D4 */ lfs f28, lbl_805A8E94@sda21(r13) -/* 800AFF58 000ACEB8 3C 60 80 47 */ lis r3, lbl_8046C438@ha -/* 800AFF5C 000ACEBC C1 ED A2 DC */ lfs f15, lbl_805A8E9C@sda21(r13) -/* 800AFF60 000ACEC0 3B A3 C4 38 */ addi r29, r3, lbl_8046C438@l -/* 800AFF64 000ACEC4 FE 20 E0 50 */ fneg f17, f28 -/* 800AFF68 000ACEC8 3B 80 00 00 */ li r28, 0 -/* 800AFF6C 000ACECC 3B 60 00 00 */ li r27, 0 -/* 800AFF70 000ACED0 48 00 00 98 */ b lbl_800B0008 -lbl_800AFF74: -/* 800AFF74 000ACED4 EC 11 05 B2 */ fmuls f0, f17, f22 -/* 800AFF78 000ACED8 EC 31 05 F2 */ fmuls f1, f17, f23 -/* 800AFF7C 000ACEDC EC 51 06 32 */ fmuls f2, f17, f24 -/* 800AFF80 000ACEE0 FE 00 E0 50 */ fneg f16, f28 -/* 800AFF84 000ACEE4 EF B9 00 2A */ fadds f29, f25, f0 -/* 800AFF88 000ACEE8 EF DA 08 2A */ fadds f30, f26, f1 -/* 800AFF8C 000ACEEC EF FB 10 2A */ fadds f31, f27, f2 -/* 800AFF90 000ACEF0 48 00 00 68 */ b lbl_800AFFF8 -lbl_800AFF94: -/* 800AFF94 000ACEF4 EC 50 05 72 */ fmuls f2, f16, f21 -/* 800AFF98 000ACEF8 38 61 00 08 */ addi r3, r1, 8 -/* 800AFF9C 000ACEFC EC 30 05 32 */ fmuls f1, f16, f20 -/* 800AFFA0 000ACF00 38 81 00 14 */ addi r4, r1, 0x14 -/* 800AFFA4 000ACF04 EC 10 04 F2 */ fmuls f0, f16, f19 -/* 800AFFA8 000ACF08 3B 9C 00 01 */ addi r28, r28, 1 -/* 800AFFAC 000ACF0C EC 5D 10 2A */ fadds f2, f29, f2 -/* 800AFFB0 000ACF10 EC 3E 08 2A */ fadds f1, f30, f1 -/* 800AFFB4 000ACF14 EC 1F 00 2A */ fadds f0, f31, f0 -/* 800AFFB8 000ACF18 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 800AFFBC 000ACF1C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800AFFC0 000ACF20 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800AFFC4 000ACF24 48 26 48 8D */ bl AsNormalized__9CVector3fCFv -/* 800AFFC8 000ACF28 FC 20 90 90 */ fmr f1, f18 -/* 800AFFCC 000ACF2C 7F E4 FB 78 */ mr r4, r31 -/* 800AFFD0 000ACF30 7F C5 F3 78 */ mr r5, r30 -/* 800AFFD4 000ACF34 7F A7 EB 78 */ mr r7, r29 -/* 800AFFD8 000ACF38 38 61 00 48 */ addi r3, r1, 0x48 -/* 800AFFDC 000ACF3C 38 C1 00 08 */ addi r6, r1, 8 -/* 800AFFE0 000ACF40 4B F9 CF B9 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 800AFFE4 000ACF44 88 01 00 68 */ lbz r0, 0x68(r1) -/* 800AFFE8 000ACF48 28 00 00 00 */ cmplwi r0, 0 -/* 800AFFEC 000ACF4C 40 82 00 08 */ bne lbl_800AFFF4 -/* 800AFFF0 000ACF50 3B 7B 00 01 */ addi r27, r27, 1 -lbl_800AFFF4: -/* 800AFFF4 000ACF54 EE 10 78 2A */ fadds f16, f16, f15 -lbl_800AFFF8: -/* 800AFFF8 000ACF58 FC 10 E0 40 */ fcmpo cr0, f16, f28 -/* 800AFFFC 000ACF5C 4C 40 13 82 */ cror 2, 0, 2 -/* 800B0000 000ACF60 41 82 FF 94 */ beq lbl_800AFF94 -/* 800B0004 000ACF64 EE 31 78 2A */ fadds f17, f17, f15 -lbl_800B0008: -/* 800B0008 000ACF68 FC 11 E0 40 */ fcmpo cr0, f17, f28 -/* 800B000C 000ACF6C 4C 40 13 82 */ cror 2, 0, 2 -/* 800B0010 000ACF70 41 82 FF 64 */ beq lbl_800AFF74 -/* 800B0014 000ACF74 3C 60 43 30 */ lis r3, 0x4330 -/* 800B0018 000ACF78 6F 64 80 00 */ xoris r4, r27, 0x8000 -/* 800B001C 000ACF7C 6F 80 80 00 */ xoris r0, r28, 0x8000 -/* 800B0020 000ACF80 90 81 00 DC */ stw r4, 0xdc(r1) -/* 800B0024 000ACF84 C8 62 8C 98 */ lfd f3, lbl_805AA9B8@sda21(r2) -/* 800B0028 000ACF88 90 61 00 D8 */ stw r3, 0xd8(r1) -/* 800B002C 000ACF8C C0 82 8C 90 */ lfs f4, lbl_805AA9B0@sda21(r2) -/* 800B0030 000ACF90 C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 800B0034 000ACF94 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800B0038 000ACF98 EC 40 18 28 */ fsubs f2, f0, f3 -/* 800B003C 000ACF9C C0 02 8C 8C */ lfs f0, lbl_805AA9AC@sda21(r2) -/* 800B0040 000ACFA0 90 61 00 E0 */ stw r3, 0xe0(r1) -/* 800B0044 000ACFA4 C8 21 00 E0 */ lfd f1, 0xe0(r1) -/* 800B0048 000ACFA8 EC 21 18 28 */ fsubs f1, f1, f3 -/* 800B004C 000ACFAC EC 22 08 24 */ fdivs f1, f2, f1 -/* 800B0050 000ACFB0 EC 24 00 7A */ fmadds f1, f4, f1, f0 -/* 800B0054 000ACFB4 E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 -/* 800B0058 000ACFB8 CB E1 02 00 */ lfd f31, 0x200(r1) -/* 800B005C 000ACFBC E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 -/* 800B0060 000ACFC0 CB C1 01 F0 */ lfd f30, 0x1f0(r1) -/* 800B0064 000ACFC4 E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 -/* 800B0068 000ACFC8 CB A1 01 E0 */ lfd f29, 0x1e0(r1) -/* 800B006C 000ACFCC E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 -/* 800B0070 000ACFD0 CB 81 01 D0 */ lfd f28, 0x1d0(r1) -/* 800B0074 000ACFD4 E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0 -/* 800B0078 000ACFD8 CB 61 01 C0 */ lfd f27, 0x1c0(r1) -/* 800B007C 000ACFDC E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0 -/* 800B0080 000ACFE0 CB 41 01 B0 */ lfd f26, 0x1b0(r1) -/* 800B0084 000ACFE4 E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0 -/* 800B0088 000ACFE8 CB 21 01 A0 */ lfd f25, 0x1a0(r1) -/* 800B008C 000ACFEC E3 01 01 98 */ psq_l f24, 408(r1), 0, qr0 -/* 800B0090 000ACFF0 CB 01 01 90 */ lfd f24, 0x190(r1) -/* 800B0094 000ACFF4 E2 E1 01 88 */ psq_l f23, 392(r1), 0, qr0 -/* 800B0098 000ACFF8 CA E1 01 80 */ lfd f23, 0x180(r1) -/* 800B009C 000ACFFC E2 C1 01 78 */ psq_l f22, 376(r1), 0, qr0 -/* 800B00A0 000AD000 CA C1 01 70 */ lfd f22, 0x170(r1) -/* 800B00A4 000AD004 E2 A1 01 68 */ psq_l f21, 360(r1), 0, qr0 -/* 800B00A8 000AD008 CA A1 01 60 */ lfd f21, 0x160(r1) -/* 800B00AC 000AD00C E2 81 01 58 */ psq_l f20, 344(r1), 0, qr0 -/* 800B00B0 000AD010 CA 81 01 50 */ lfd f20, 0x150(r1) -/* 800B00B4 000AD014 E2 61 01 48 */ psq_l f19, 328(r1), 0, qr0 -/* 800B00B8 000AD018 CA 61 01 40 */ lfd f19, 0x140(r1) -/* 800B00BC 000AD01C E2 41 01 38 */ psq_l f18, 312(r1), 0, qr0 -/* 800B00C0 000AD020 CA 41 01 30 */ lfd f18, 0x130(r1) -/* 800B00C4 000AD024 E2 21 01 28 */ psq_l f17, 296(r1), 0, qr0 -/* 800B00C8 000AD028 CA 21 01 20 */ lfd f17, 0x120(r1) -/* 800B00CC 000AD02C E2 01 01 18 */ psq_l f16, 280(r1), 0, qr0 -/* 800B00D0 000AD030 CA 01 01 10 */ lfd f16, 0x110(r1) -/* 800B00D4 000AD034 E1 E1 01 08 */ psq_l f15, 264(r1), 0, qr0 -/* 800B00D8 000AD038 C9 E1 01 00 */ lfd f15, 0x100(r1) -/* 800B00DC 000AD03C BB 61 00 EC */ lmw r27, 0xec(r1) -/* 800B00E0 000AD040 80 01 02 14 */ lwz r0, 0x214(r1) -/* 800B00E4 000AD044 7C 08 03 A6 */ mtlr r0 -/* 800B00E8 000AD048 38 21 02 10 */ addi r1, r1, 0x210 -/* 800B00EC 000AD04C 4E 80 00 20 */ blr - -.global Accept__12CScriptSoundFR8IVisitor -Accept__12CScriptSoundFR8IVisitor: -/* 800B00F0 000AD050 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B00F4 000AD054 7C 08 02 A6 */ mflr r0 -/* 800B00F8 000AD058 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B00FC 000AD05C 7C 60 1B 78 */ mr r0, r3 -/* 800B0100 000AD060 7C 83 23 78 */ mr r3, r4 -/* 800B0104 000AD064 81 84 00 00 */ lwz r12, 0(r4) -/* 800B0108 000AD068 7C 04 03 78 */ mr r4, r0 -/* 800B010C 000AD06C 81 8C 00 AC */ lwz r12, 0xac(r12) -/* 800B0110 000AD070 7D 89 03 A6 */ mtctr r12 -/* 800B0114 000AD074 4E 80 04 21 */ bctrl -/* 800B0118 000AD078 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B011C 000AD07C 7C 08 03 A6 */ mtlr r0 -/* 800B0120 000AD080 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B0124 000AD084 4E 80 00 20 */ blr - -.global AddToRenderer__12CScriptSoundCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__12CScriptSoundCFRC14CFrustumPlanesRC13CStateManager: -/* 800B0128 000AD088 4E 80 00 20 */ blr - -.global StopSound__12CScriptSoundFv -StopSound__12CScriptSoundFv: -/* 800B012C 000AD08C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B0130 000AD090 7C 08 02 A6 */ mflr r0 -/* 800B0134 000AD094 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B0138 000AD098 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B013C 000AD09C 7C 7F 1B 78 */ mr r31, r3 -/* 800B0140 000AD0A0 38 60 00 00 */ li r3, 0 -/* 800B0144 000AD0A4 88 1F 01 1C */ lbz r0, 0x11c(r31) -/* 800B0148 000AD0A8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800B014C 000AD0AC 98 1F 01 1C */ stb r0, 0x11c(r31) -/* 800B0150 000AD0B0 88 7F 01 1C */ lbz r3, 0x11c(r31) -/* 800B0154 000AD0B4 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 800B0158 000AD0B8 41 82 00 28 */ beq lbl_800B0180 -/* 800B015C 000AD0BC 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 800B0160 000AD0C0 41 82 00 20 */ beq lbl_800B0180 -/* 800B0164 000AD0C4 A0 1F 01 00 */ lhz r0, 0x100(r31) -/* 800B0168 000AD0C8 80 64 08 50 */ lwz r3, 0x850(r4) -/* 800B016C 000AD0CC 7C 04 03 78 */ mr r4, r0 -/* 800B0170 000AD0D0 4B FA 5C F5 */ bl StopSound__6CWorldFs -/* 800B0174 000AD0D4 38 00 00 00 */ li r0, 0 -/* 800B0178 000AD0D8 90 1F 00 EC */ stw r0, 0xec(r31) -/* 800B017C 000AD0DC 48 00 00 28 */ b lbl_800B01A4 -lbl_800B0180: -/* 800B0180 000AD0E0 80 1F 00 EC */ lwz r0, 0xec(r31) -/* 800B0184 000AD0E4 28 00 00 00 */ cmplwi r0, 0 -/* 800B0188 000AD0E8 41 82 00 1C */ beq lbl_800B01A4 -/* 800B018C 000AD0EC 80 1F 00 EC */ lwz r0, 0xec(r31) -/* 800B0190 000AD0F0 38 61 00 08 */ addi r3, r1, 8 -/* 800B0194 000AD0F4 90 01 00 08 */ stw r0, 8(r1) -/* 800B0198 000AD0F8 48 23 9C ED */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 800B019C 000AD0FC 38 00 00 00 */ li r0, 0 -/* 800B01A0 000AD100 90 1F 00 EC */ stw r0, 0xec(r31) -lbl_800B01A4: -/* 800B01A4 000AD104 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B01A8 000AD108 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B01AC 000AD10C 7C 08 03 A6 */ mtlr r0 -/* 800B01B0 000AD110 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B01B4 000AD114 4E 80 00 20 */ blr - -.global PlaySound__12CScriptSoundFR13CStateManager -PlaySound__12CScriptSoundFR13CStateManager: -/* 800B01B8 000AD118 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800B01BC 000AD11C 7C 08 02 A6 */ mflr r0 -/* 800B01C0 000AD120 90 01 00 84 */ stw r0, 0x84(r1) -/* 800B01C4 000AD124 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 800B01C8 000AD128 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 800B01CC 000AD12C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800B01D0 000AD130 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800B01D4 000AD134 93 A1 00 64 */ stw r29, 0x64(r1) -/* 800B01D8 000AD138 88 03 01 1D */ lbz r0, 0x11d(r3) -/* 800B01DC 000AD13C 7C 7D 1B 78 */ mr r29, r3 -/* 800B01E0 000AD140 83 E3 00 04 */ lwz r31, 4(r3) -/* 800B01E4 000AD144 7C 9E 23 78 */ mr r30, r4 -/* 800B01E8 000AD148 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B01EC 000AD14C 40 82 00 28 */ bne lbl_800B0214 -/* 800B01F0 000AD150 80 1D 00 EC */ lwz r0, 0xec(r29) -/* 800B01F4 000AD154 28 00 00 00 */ cmplwi r0, 0 -/* 800B01F8 000AD158 41 82 00 1C */ beq lbl_800B0214 -/* 800B01FC 000AD15C 80 1D 00 EC */ lwz r0, 0xec(r29) -/* 800B0200 000AD160 38 61 00 1C */ addi r3, r1, 0x1c -/* 800B0204 000AD164 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800B0208 000AD168 48 23 8B 2D */ bl IsHandleValid__11CSfxManagerF10CSfxHandle -/* 800B020C 000AD16C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B0210 000AD170 40 82 01 EC */ bne lbl_800B03FC -lbl_800B0214: -/* 800B0214 000AD174 88 7D 01 1D */ lbz r3, 0x11d(r29) -/* 800B0218 000AD178 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 800B021C 000AD17C 41 82 00 08 */ beq lbl_800B0224 -/* 800B0220 000AD180 48 00 01 DC */ b lbl_800B03FC -lbl_800B0224: -/* 800B0224 000AD184 38 00 00 01 */ li r0, 1 -/* 800B0228 000AD188 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 -/* 800B022C 000AD18C 98 7D 01 1D */ stb r3, 0x11d(r29) -/* 800B0230 000AD190 88 7D 01 1C */ lbz r3, 0x11c(r29) -/* 800B0234 000AD194 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 800B0238 000AD198 41 82 00 88 */ beq lbl_800B02C0 -/* 800B023C 000AD19C 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 800B0240 000AD1A0 83 DE 08 50 */ lwz r30, 0x850(r30) -/* 800B0244 000AD1A4 41 82 00 18 */ beq lbl_800B025C -/* 800B0248 000AD1A8 A0 9D 01 00 */ lhz r4, 0x100(r29) -/* 800B024C 000AD1AC 7F C3 F3 78 */ mr r3, r30 -/* 800B0250 000AD1B0 4B FA 5D 29 */ bl IsPlayingSound__6CWorldCFUi -/* 800B0254 000AD1B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B0258 000AD1B8 40 82 01 A4 */ bne lbl_800B03FC -lbl_800B025C: -/* 800B025C 000AD1BC 88 FD 01 1C */ lbz r7, 0x11c(r29) -/* 800B0260 000AD1C0 38 61 00 18 */ addi r3, r1, 0x18 -/* 800B0264 000AD1C4 A0 9D 01 00 */ lhz r4, 0x100(r29) -/* 800B0268 000AD1C8 54 E0 FF FF */ rlwinm. r0, r7, 0x1f, 0x1f, 0x1f -/* 800B026C 000AD1CC 54 E9 D7 FE */ rlwinm r9, r7, 0x1a, 0x1f, 0x1f -/* 800B0270 000AD1D0 A8 BD 01 0E */ lha r5, 0x10e(r29) -/* 800B0274 000AD1D4 54 E7 F7 FE */ rlwinm r7, r7, 0x1e, 0x1f, 0x1f -/* 800B0278 000AD1D8 A8 DD 01 14 */ lha r6, 0x114(r29) -/* 800B027C 000AD1DC A9 1D 01 12 */ lha r8, 0x112(r29) -/* 800B0280 000AD1E0 41 82 00 08 */ beq lbl_800B0288 -/* 800B0284 000AD1E4 83 E2 C6 00 */ lwz r31, lbl_805AE320@sda21(r2) -lbl_800B0288: -/* 800B0288 000AD1E8 7F EA FB 78 */ mr r10, r31 -/* 800B028C 000AD1EC 48 23 9A E9 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 800B0290 000AD1F0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800B0294 000AD1F4 90 1D 00 EC */ stw r0, 0xec(r29) -/* 800B0298 000AD1F8 88 1D 01 1C */ lbz r0, 0x11c(r29) -/* 800B029C 000AD1FC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800B02A0 000AD200 41 82 01 5C */ beq lbl_800B03FC -/* 800B02A4 000AD204 80 1D 00 EC */ lwz r0, 0xec(r29) -/* 800B02A8 000AD208 7F C3 F3 78 */ mr r3, r30 -/* 800B02AC 000AD20C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800B02B0 000AD210 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B02B4 000AD214 A0 9D 01 00 */ lhz r4, 0x100(r29) -/* 800B02B8 000AD218 4B FA 5C 85 */ bl AddGlobalSound__6CWorldFUs10CSfxHandle -/* 800B02BC 000AD21C 48 00 01 40 */ b lbl_800B03FC -lbl_800B02C0: -/* 800B02C0 000AD220 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 800B02C4 000AD224 41 82 00 2C */ beq lbl_800B02F0 -/* 800B02C8 000AD228 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800B02CC 000AD22C 7F C4 F3 78 */ mr r4, r30 -/* 800B02D0 000AD230 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 800B02D4 000AD234 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B02D8 000AD238 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800B02DC 000AD23C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800B02E0 000AD240 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800B02E4 000AD244 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 800B02E8 000AD248 4B FF FA 79 */ bl GetOccludedVolumeAmount__12CScriptSoundFRC9CVector3fRC13CStateManager -/* 800B02EC 000AD24C 48 00 00 08 */ b lbl_800B02F4 -lbl_800B02F0: -/* 800B02F0 000AD250 C0 22 8C 80 */ lfs f1, lbl_805AA9A0@sda21(r2) -lbl_800B02F4: -/* 800B02F4 000AD254 A8 7D 01 0E */ lha r3, 0x10e(r29) -/* 800B02F8 000AD258 3C 00 43 30 */ lis r0, 0x4330 -/* 800B02FC 000AD25C 90 01 00 58 */ stw r0, 0x58(r1) -/* 800B0300 000AD260 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 800B0304 000AD264 C8 42 8C 98 */ lfd f2, lbl_805AA9B8@sda21(r2) -/* 800B0308 000AD268 90 01 00 5C */ stw r0, 0x5c(r1) -/* 800B030C 000AD26C C8 01 00 58 */ lfd f0, 0x58(r1) -/* 800B0310 000AD270 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800B0314 000AD274 EF E0 00 72 */ fmuls f31, f0, f1 -/* 800B0318 000AD278 F3 E1 B0 08 */ psq_st f31, 8(r1), 1, qr3 -/* 800B031C 000AD27C 38 80 00 01 */ li r4, 1 -/* 800B0320 000AD280 C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) -/* 800B0324 000AD284 38 60 00 00 */ li r3, 0 -/* 800B0328 000AD288 A0 A1 00 08 */ lhz r5, 8(r1) -/* 800B032C 000AD28C 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) -/* 800B0330 000AD290 B0 BD 00 F0 */ sth r5, 0xf0(r29) -/* 800B0334 000AD294 A8 BD 00 F0 */ lha r5, 0xf0(r29) -/* 800B0338 000AD298 B0 BD 00 F2 */ sth r5, 0xf2(r29) -/* 800B033C 000AD29C A8 DD 01 0C */ lha r6, 0x10c(r29) -/* 800B0340 000AD2A0 A8 BD 00 F0 */ lha r5, 0xf0(r29) -/* 800B0344 000AD2A4 C0 5D 01 08 */ lfs f2, 0x108(r29) -/* 800B0348 000AD2A8 C0 3D 01 04 */ lfs f1, 0x104(r29) -/* 800B034C 000AD2AC D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800B0350 000AD2B0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800B0354 000AD2B4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800B0358 000AD2B8 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800B035C 000AD2BC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800B0360 000AD2C0 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800B0364 000AD2C4 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 800B0368 000AD2C8 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 800B036C 000AD2CC 90 81 00 4C */ stw r4, 0x4c(r1) -/* 800B0370 000AD2D0 B0 61 00 50 */ sth r3, 0x50(r1) -/* 800B0374 000AD2D4 98 A1 00 52 */ stb r5, 0x52(r1) -/* 800B0378 000AD2D8 98 C1 00 53 */ stb r6, 0x53(r1) -/* 800B037C 000AD2DC 98 61 00 54 */ stb r3, 0x54(r1) -/* 800B0380 000AD2E0 98 01 00 55 */ stb r0, 0x55(r1) -/* 800B0384 000AD2E4 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800B0388 000AD2E8 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 800B038C 000AD2EC C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800B0390 000AD2F0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800B0394 000AD2F4 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800B0398 000AD2F8 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800B039C 000AD2FC A0 1D 01 00 */ lhz r0, 0x100(r29) -/* 800B03A0 000AD300 B0 01 00 50 */ sth r0, 0x50(r1) -/* 800B03A4 000AD304 88 BD 01 1C */ lbz r5, 0x11c(r29) -/* 800B03A8 000AD308 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f -/* 800B03AC 000AD30C 41 82 00 2C */ beq lbl_800B03D8 -/* 800B03B0 000AD310 A8 DD 01 12 */ lha r6, 0x112(r29) -/* 800B03B4 000AD314 7F E8 FB 78 */ mr r8, r31 -/* 800B03B8 000AD318 38 61 00 10 */ addi r3, r1, 0x10 -/* 800B03BC 000AD31C 38 81 00 2C */ addi r4, r1, 0x2c -/* 800B03C0 000AD320 54 A5 F7 FE */ rlwinm r5, r5, 0x1e, 0x1f, 0x1f -/* 800B03C4 000AD324 38 E0 00 01 */ li r7, 1 -/* 800B03C8 000AD328 48 23 9C 19 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 800B03CC 000AD32C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800B03D0 000AD330 90 1D 00 EC */ stw r0, 0xec(r29) -/* 800B03D4 000AD334 48 00 00 28 */ b lbl_800B03FC -lbl_800B03D8: -/* 800B03D8 000AD338 A8 DD 01 12 */ lha r6, 0x112(r29) -/* 800B03DC 000AD33C 7F E8 FB 78 */ mr r8, r31 -/* 800B03E0 000AD340 38 61 00 0C */ addi r3, r1, 0xc -/* 800B03E4 000AD344 38 81 00 2C */ addi r4, r1, 0x2c -/* 800B03E8 000AD348 54 A5 F7 FE */ rlwinm r5, r5, 0x1e, 0x1f, 0x1f -/* 800B03EC 000AD34C 38 E0 00 00 */ li r7, 0 -/* 800B03F0 000AD350 48 23 9B F1 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 800B03F4 000AD354 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800B03F8 000AD358 90 1D 00 EC */ stw r0, 0xec(r29) -lbl_800B03FC: -/* 800B03FC 000AD35C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 800B0400 000AD360 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800B0404 000AD364 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 800B0408 000AD368 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800B040C 000AD36C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800B0410 000AD370 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 800B0414 000AD374 7C 08 03 A6 */ mtlr r0 -/* 800B0418 000AD378 38 21 00 80 */ addi r1, r1, 0x80 -/* 800B041C 000AD37C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__12CScriptSoundF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__12CScriptSoundF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800B0420 000AD380 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B0424 000AD384 7C 08 02 A6 */ mflr r0 -/* 800B0428 000AD388 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B042C 000AD38C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B0430 000AD390 7C DF 33 78 */ mr r31, r6 -/* 800B0434 000AD394 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B0438 000AD398 7C 7E 1B 78 */ mr r30, r3 -/* 800B043C 000AD39C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B0440 000AD3A0 7C 9D 23 78 */ mr r29, r4 -/* 800B0444 000AD3A4 A0 05 00 00 */ lhz r0, 0(r5) -/* 800B0448 000AD3A8 38 A1 00 08 */ addi r5, r1, 8 -/* 800B044C 000AD3AC B0 01 00 08 */ sth r0, 8(r1) -/* 800B0450 000AD3B0 4B FA 31 C5 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800B0454 000AD3B4 28 1D 00 22 */ cmplwi r29, 0x22 -/* 800B0458 000AD3B8 41 81 00 D0 */ bgt lbl_800B0528 -/* 800B045C 000AD3BC 3C 60 80 3E */ lis r3, lbl_803DF194@ha -/* 800B0460 000AD3C0 57 A0 10 3A */ slwi r0, r29, 2 -/* 800B0464 000AD3C4 38 63 F1 94 */ addi r3, r3, lbl_803DF194@l -/* 800B0468 000AD3C8 7C 03 00 2E */ lwzx r0, r3, r0 -/* 800B046C 000AD3CC 7C 09 03 A6 */ mtctr r0 -/* 800B0470 000AD3D0 4E 80 04 20 */ bctr -/* 800B0474 000AD3D4 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 800B0478 000AD3D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B047C 000AD3DC 41 82 00 1C */ beq lbl_800B0498 -/* 800B0480 000AD3E0 88 7E 01 1C */ lbz r3, 0x11c(r30) -/* 800B0484 000AD3E4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 800B0488 000AD3E8 41 82 00 10 */ beq lbl_800B0498 -/* 800B048C 000AD3EC 38 00 00 01 */ li r0, 1 -/* 800B0490 000AD3F0 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 800B0494 000AD3F4 98 7E 01 1C */ stb r3, 0x11c(r30) -lbl_800B0498: -/* 800B0498 000AD3F8 88 7F 0F 94 */ lbz r3, 0xf94(r31) -/* 800B049C 000AD3FC 88 1E 01 1C */ lbz r0, 0x11c(r30) -/* 800B04A0 000AD400 50 60 DF FE */ rlwimi r0, r3, 0x1b, 0x1f, 0x1f -/* 800B04A4 000AD404 98 1E 01 1C */ stb r0, 0x11c(r30) -/* 800B04A8 000AD408 48 00 00 80 */ b lbl_800B0528 -/* 800B04AC 000AD40C 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 800B04B0 000AD410 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B04B4 000AD414 41 82 00 74 */ beq lbl_800B0528 -/* 800B04B8 000AD418 7F C3 F3 78 */ mr r3, r30 -/* 800B04BC 000AD41C 7F E4 FB 78 */ mr r4, r31 -/* 800B04C0 000AD420 4B FF FC F9 */ bl PlaySound__12CScriptSoundFR13CStateManager -/* 800B04C4 000AD424 48 00 00 64 */ b lbl_800B0528 -/* 800B04C8 000AD428 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 800B04CC 000AD42C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B04D0 000AD430 41 82 00 58 */ beq lbl_800B0528 -/* 800B04D4 000AD434 7F C3 F3 78 */ mr r3, r30 -/* 800B04D8 000AD438 7F E4 FB 78 */ mr r4, r31 -/* 800B04DC 000AD43C 4B FF FC 51 */ bl StopSound__12CScriptSoundFv -/* 800B04E0 000AD440 48 00 00 48 */ b lbl_800B0528 -/* 800B04E4 000AD444 7F C3 F3 78 */ mr r3, r30 -/* 800B04E8 000AD448 7F E4 FB 78 */ mr r4, r31 -/* 800B04EC 000AD44C 4B FF FC 41 */ bl StopSound__12CScriptSoundFv -/* 800B04F0 000AD450 48 00 00 38 */ b lbl_800B0528 -/* 800B04F4 000AD454 88 7E 01 1C */ lbz r3, 0x11c(r30) -/* 800B04F8 000AD458 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 800B04FC 000AD45C 41 82 00 2C */ beq lbl_800B0528 -/* 800B0500 000AD460 38 00 00 01 */ li r0, 1 -/* 800B0504 000AD464 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 800B0508 000AD468 98 7E 01 1C */ stb r3, 0x11c(r30) -/* 800B050C 000AD46C 48 00 00 1C */ b lbl_800B0528 -/* 800B0510 000AD470 88 1E 01 1C */ lbz r0, 0x11c(r30) -/* 800B0514 000AD474 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800B0518 000AD478 40 82 00 10 */ bne lbl_800B0528 -/* 800B051C 000AD47C 7F C3 F3 78 */ mr r3, r30 -/* 800B0520 000AD480 7F E4 FB 78 */ mr r4, r31 -/* 800B0524 000AD484 4B FF FC 09 */ bl StopSound__12CScriptSoundFv -lbl_800B0528: -/* 800B0528 000AD488 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B052C 000AD48C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B0530 000AD490 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B0534 000AD494 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B0538 000AD498 7C 08 03 A6 */ mtlr r0 -/* 800B053C 000AD49C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B0540 000AD4A0 4E 80 00 20 */ blr - -.global Think__12CScriptSoundFfR13CStateManager -Think__12CScriptSoundFfR13CStateManager: -/* 800B0544 000AD4A4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800B0548 000AD4A8 7C 08 02 A6 */ mflr r0 -/* 800B054C 000AD4AC 90 01 00 84 */ stw r0, 0x84(r1) -/* 800B0550 000AD4B0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 800B0554 000AD4B4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 800B0558 000AD4B8 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 800B055C 000AD4BC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 800B0560 000AD4C0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800B0564 000AD4C4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 800B0568 000AD4C8 7C 7E 1B 78 */ mr r30, r3 -/* 800B056C 000AD4CC 88 63 01 1C */ lbz r3, 0x11c(r3) -/* 800B0570 000AD4D0 FF E0 08 90 */ fmr f31, f1 -/* 800B0574 000AD4D4 7C 9F 23 78 */ mr r31, r4 -/* 800B0578 000AD4D8 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 800B057C 000AD4DC 41 82 00 3C */ beq lbl_800B05B8 -/* 800B0580 000AD4E0 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 800B0584 000AD4E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B0588 000AD4E8 41 82 00 14 */ beq lbl_800B059C -/* 800B058C 000AD4EC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 800B0590 000AD4F0 40 82 00 0C */ bne lbl_800B059C -/* 800B0594 000AD4F4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 800B0598 000AD4F8 40 82 00 20 */ bne lbl_800B05B8 -lbl_800B059C: -/* 800B059C 000AD4FC A0 1E 00 08 */ lhz r0, 8(r30) -/* 800B05A0 000AD500 7F E3 FB 78 */ mr r3, r31 -/* 800B05A4 000AD504 38 81 00 18 */ addi r4, r1, 0x18 -/* 800B05A8 000AD508 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800B05AC 000AD50C B0 01 00 18 */ sth r0, 0x18(r1) -/* 800B05B0 000AD510 4B F9 BC BD */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 800B05B4 000AD514 48 00 03 24 */ b lbl_800B08D8 -lbl_800B05B8: -/* 800B05B8 000AD518 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 800B05BC 000AD51C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B05C0 000AD520 41 82 03 18 */ beq lbl_800B08D8 -/* 800B05C4 000AD524 88 7E 01 1C */ lbz r3, 0x11c(r30) -/* 800B05C8 000AD528 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 800B05CC 000AD52C 40 82 00 50 */ bne lbl_800B061C -/* 800B05D0 000AD530 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 800B05D4 000AD534 41 82 00 48 */ beq lbl_800B061C -/* 800B05D8 000AD538 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 800B05DC 000AD53C 40 82 00 40 */ bne lbl_800B061C -/* 800B05E0 000AD540 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800B05E4 000AD544 28 00 00 00 */ cmplwi r0, 0 -/* 800B05E8 000AD548 41 82 00 34 */ beq lbl_800B061C -/* 800B05EC 000AD54C 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800B05F0 000AD550 38 61 00 28 */ addi r3, r1, 0x28 -/* 800B05F4 000AD554 90 01 00 28 */ stw r0, 0x28(r1) -/* 800B05F8 000AD558 48 23 87 DD */ bl IsPlaying__11CSfxManagerF10CSfxHandle -/* 800B05FC 000AD55C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B0600 000AD560 40 82 00 1C */ bne lbl_800B061C -/* 800B0604 000AD564 A0 1E 00 08 */ lhz r0, 8(r30) -/* 800B0608 000AD568 7F E3 FB 78 */ mr r3, r31 -/* 800B060C 000AD56C 38 81 00 10 */ addi r4, r1, 0x10 -/* 800B0610 000AD570 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B0614 000AD574 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B0618 000AD578 4B F9 BC 55 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_800B061C: -/* 800B061C 000AD57C 88 1E 01 1C */ lbz r0, 0x11c(r30) -/* 800B0620 000AD580 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800B0624 000AD584 40 82 00 74 */ bne lbl_800B0698 -/* 800B0628 000AD588 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800B062C 000AD58C 28 00 00 00 */ cmplwi r0, 0 -/* 800B0630 000AD590 41 82 00 68 */ beq lbl_800B0698 -/* 800B0634 000AD594 C0 3E 00 F8 */ lfs f1, 0xf8(r30) -/* 800B0638 000AD598 C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) -/* 800B063C 000AD59C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800B0640 000AD5A0 4C 40 13 82 */ cror 2, 0, 2 -/* 800B0644 000AD5A4 40 82 00 4C */ bne lbl_800B0690 -/* 800B0648 000AD5A8 C0 02 8C A0 */ lfs f0, lbl_805AA9C0@sda21(r2) -/* 800B064C 000AD5AC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800B0650 000AD5B0 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 800B0654 000AD5B4 38 81 00 44 */ addi r4, r1, 0x44 -/* 800B0658 000AD5B8 D0 1E 00 F8 */ stfs f0, 0xf8(r30) -/* 800B065C 000AD5BC 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B0660 000AD5C0 A8 1E 00 F2 */ lha r0, 0xf2(r30) -/* 800B0664 000AD5C4 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800B0668 000AD5C8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 800B066C 000AD5CC 54 06 06 3E */ clrlwi r6, r0, 0x18 -/* 800B0670 000AD5D0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800B0674 000AD5D4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800B0678 000AD5D8 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800B067C 000AD5DC D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800B0680 000AD5E0 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800B0684 000AD5E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B0688 000AD5E8 48 23 98 29 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -/* 800B068C 000AD5EC 48 00 00 0C */ b lbl_800B0698 -lbl_800B0690: -/* 800B0690 000AD5F0 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 800B0694 000AD5F4 D0 1E 00 F8 */ stfs f0, 0xf8(r30) -lbl_800B0698: -/* 800B0698 000AD5F8 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800B069C 000AD5FC 28 00 00 00 */ cmplwi r0, 0 -/* 800B06A0 000AD600 41 82 01 C4 */ beq lbl_800B0864 -/* 800B06A4 000AD604 88 7E 01 1C */ lbz r3, 0x11c(r30) -/* 800B06A8 000AD608 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 800B06AC 000AD60C 40 82 01 B8 */ bne lbl_800B0864 -/* 800B06B0 000AD610 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 800B06B4 000AD614 41 82 01 B0 */ beq lbl_800B0864 -/* 800B06B8 000AD618 C0 3E 00 E8 */ lfs f1, 0xe8(r30) -/* 800B06BC 000AD61C C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) -/* 800B06C0 000AD620 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800B06C4 000AD624 4C 40 13 82 */ cror 2, 0, 2 -/* 800B06C8 000AD628 40 82 00 F8 */ bne lbl_800B07C0 -/* 800B06CC 000AD62C 88 0D A2 D0 */ lbz r0, lbl_805A8E90@sda21(r13) -/* 800B06D0 000AD630 28 00 00 00 */ cmplwi r0, 0 -/* 800B06D4 000AD634 41 82 00 EC */ beq lbl_800B07C0 -/* 800B06D8 000AD638 38 00 00 00 */ li r0, 0 -/* 800B06DC 000AD63C 7F E4 FB 78 */ mr r4, r31 -/* 800B06E0 000AD640 98 0D A2 D0 */ stb r0, lbl_805A8E90@sda21(r13) -/* 800B06E4 000AD644 38 61 00 38 */ addi r3, r1, 0x38 -/* 800B06E8 000AD648 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800B06EC 000AD64C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 800B06F0 000AD650 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800B06F4 000AD654 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800B06F8 000AD658 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800B06FC 000AD65C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 800B0700 000AD660 4B FF F6 61 */ bl GetOccludedVolumeAmount__12CScriptSoundFRC9CVector3fRC13CStateManager -/* 800B0704 000AD664 A8 7E 01 0E */ lha r3, 0x10e(r30) -/* 800B0708 000AD668 3C 00 43 30 */ lis r0, 0x4330 -/* 800B070C 000AD66C 90 01 00 50 */ stw r0, 0x50(r1) -/* 800B0710 000AD670 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 800B0714 000AD674 C8 42 8C 98 */ lfd f2, lbl_805AA9B8@sda21(r2) -/* 800B0718 000AD678 90 01 00 54 */ stw r0, 0x54(r1) -/* 800B071C 000AD67C C8 01 00 50 */ lfd f0, 0x50(r1) -/* 800B0720 000AD680 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800B0724 000AD684 EF C0 00 72 */ fmuls f30, f0, f1 -/* 800B0728 000AD688 F3 C1 B0 08 */ psq_st f30, 8(r1), 1, qr3 -/* 800B072C 000AD68C A8 7E 01 0C */ lha r3, 0x10c(r30) -/* 800B0730 000AD690 A0 01 00 08 */ lhz r0, 8(r1) -/* 800B0734 000AD694 7C 04 07 34 */ extsh r4, r0 -/* 800B0738 000AD698 7C 04 18 00 */ cmpw r4, r3 -/* 800B073C 000AD69C 40 80 00 08 */ bge lbl_800B0744 -/* 800B0740 000AD6A0 7C 64 1B 78 */ mr r4, r3 -lbl_800B0744: -/* 800B0744 000AD6A4 A8 7E 00 F0 */ lha r3, 0xf0(r30) -/* 800B0748 000AD6A8 7C 80 07 34 */ extsh r0, r4 -/* 800B074C 000AD6AC 7C 03 00 00 */ cmpw r3, r0 -/* 800B0750 000AD6B0 41 82 00 64 */ beq lbl_800B07B4 -/* 800B0754 000AD6B4 B0 9E 00 F0 */ sth r4, 0xf0(r30) -/* 800B0758 000AD6B8 3C 60 88 89 */ lis r3, 0x88888889@ha -/* 800B075C 000AD6BC 38 83 88 89 */ addi r4, r3, 0x88888889@l -/* 800B0760 000AD6C0 A8 7E 00 F2 */ lha r3, 0xf2(r30) -/* 800B0764 000AD6C4 A8 1E 00 F0 */ lha r0, 0xf0(r30) -/* 800B0768 000AD6C8 7C 03 00 50 */ subf r0, r3, r0 -/* 800B076C 000AD6CC 7C 64 00 96 */ mulhw r3, r4, r0 -/* 800B0770 000AD6D0 7C 03 02 14 */ add r0, r3, r0 -/* 800B0774 000AD6D4 7C 00 26 70 */ srawi r0, r0, 4 -/* 800B0778 000AD6D8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 800B077C 000AD6DC 7C 00 1A 14 */ add r0, r0, r3 -/* 800B0780 000AD6E0 B0 1E 00 F4 */ sth r0, 0xf4(r30) -/* 800B0784 000AD6E4 A8 1E 00 F4 */ lha r0, 0xf4(r30) -/* 800B0788 000AD6E8 2C 00 00 00 */ cmpwi r0, 0 -/* 800B078C 000AD6EC 40 82 00 28 */ bne lbl_800B07B4 -/* 800B0790 000AD6F0 A8 7E 00 F2 */ lha r3, 0xf2(r30) -/* 800B0794 000AD6F4 A8 1E 00 F0 */ lha r0, 0xf0(r30) -/* 800B0798 000AD6F8 7C 03 00 00 */ cmpw r3, r0 -/* 800B079C 000AD6FC 40 80 00 10 */ bge lbl_800B07AC -/* 800B07A0 000AD700 38 00 00 01 */ li r0, 1 -/* 800B07A4 000AD704 B0 1E 00 F4 */ sth r0, 0xf4(r30) -/* 800B07A8 000AD708 48 00 00 0C */ b lbl_800B07B4 -lbl_800B07AC: -/* 800B07AC 000AD70C 38 00 FF FF */ li r0, -1 -/* 800B07B0 000AD710 B0 1E 00 F4 */ sth r0, 0xf4(r30) -lbl_800B07B4: -/* 800B07B4 000AD714 C0 02 8C A4 */ lfs f0, lbl_805AA9C4@sda21(r2) -/* 800B07B8 000AD718 D0 1E 00 E8 */ stfs f0, 0xe8(r30) -/* 800B07BC 000AD71C 48 00 00 10 */ b lbl_800B07CC -lbl_800B07C0: -/* 800B07C0 000AD720 C0 1E 00 E8 */ lfs f0, 0xe8(r30) -/* 800B07C4 000AD724 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 800B07C8 000AD728 D0 1E 00 E8 */ stfs f0, 0xe8(r30) -lbl_800B07CC: -/* 800B07CC 000AD72C A8 7E 00 F2 */ lha r3, 0xf2(r30) -/* 800B07D0 000AD730 A8 1E 00 F0 */ lha r0, 0xf0(r30) -/* 800B07D4 000AD734 7C 03 00 00 */ cmpw r3, r0 -/* 800B07D8 000AD738 41 82 00 8C */ beq lbl_800B0864 -/* 800B07DC 000AD73C A8 1E 00 F4 */ lha r0, 0xf4(r30) -/* 800B07E0 000AD740 7C 03 02 14 */ add r0, r3, r0 -/* 800B07E4 000AD744 B0 1E 00 F2 */ sth r0, 0xf2(r30) -/* 800B07E8 000AD748 A8 1E 00 F4 */ lha r0, 0xf4(r30) -/* 800B07EC 000AD74C 2C 00 00 00 */ cmpwi r0, 0 -/* 800B07F0 000AD750 40 81 00 18 */ ble lbl_800B0808 -/* 800B07F4 000AD754 A8 1E 00 F2 */ lha r0, 0xf2(r30) -/* 800B07F8 000AD758 A8 7E 00 F0 */ lha r3, 0xf0(r30) -/* 800B07FC 000AD75C 7C 00 18 00 */ cmpw r0, r3 -/* 800B0800 000AD760 40 81 00 08 */ ble lbl_800B0808 -/* 800B0804 000AD764 B0 7E 00 F2 */ sth r3, 0xf2(r30) -lbl_800B0808: -/* 800B0808 000AD768 A8 1E 00 F4 */ lha r0, 0xf4(r30) -/* 800B080C 000AD76C 2C 00 00 00 */ cmpwi r0, 0 -/* 800B0810 000AD770 40 80 00 18 */ bge lbl_800B0828 -/* 800B0814 000AD774 A8 1E 00 F2 */ lha r0, 0xf2(r30) -/* 800B0818 000AD778 A8 7E 00 F0 */ lha r3, 0xf0(r30) -/* 800B081C 000AD77C 7C 00 18 00 */ cmpw r0, r3 -/* 800B0820 000AD780 40 80 00 08 */ bge lbl_800B0828 -/* 800B0824 000AD784 B0 7E 00 F2 */ sth r3, 0xf2(r30) -lbl_800B0828: -/* 800B0828 000AD788 A8 1E 00 F2 */ lha r0, 0xf2(r30) -/* 800B082C 000AD78C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800B0830 000AD790 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800B0834 000AD794 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 800B0838 000AD798 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 800B083C 000AD79C 54 06 06 3E */ clrlwi r6, r0, 0x18 -/* 800B0840 000AD7A0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800B0844 000AD7A4 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B0848 000AD7A8 38 81 00 2C */ addi r4, r1, 0x2c -/* 800B084C 000AD7AC D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800B0850 000AD7B0 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800B0854 000AD7B4 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800B0858 000AD7B8 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800B085C 000AD7BC 90 01 00 20 */ stw r0, 0x20(r1) -/* 800B0860 000AD7C0 48 23 96 51 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_800B0864: -/* 800B0864 000AD7C4 88 1E 01 1C */ lbz r0, 0x11c(r30) -/* 800B0868 000AD7C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B086C 000AD7CC 41 82 00 40 */ beq lbl_800B08AC -/* 800B0870 000AD7D0 C0 3E 00 FC */ lfs f1, 0xfc(r30) -/* 800B0874 000AD7D4 C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) -/* 800B0878 000AD7D8 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800B087C 000AD7DC D0 3E 00 FC */ stfs f1, 0xfc(r30) -/* 800B0880 000AD7E0 C0 3E 00 FC */ lfs f1, 0xfc(r30) -/* 800B0884 000AD7E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800B0888 000AD7E8 4C 40 13 82 */ cror 2, 0, 2 -/* 800B088C 000AD7EC 40 82 00 20 */ bne lbl_800B08AC -/* 800B0890 000AD7F0 88 1E 01 1C */ lbz r0, 0x11c(r30) -/* 800B0894 000AD7F4 38 60 00 00 */ li r3, 0 -/* 800B0898 000AD7F8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800B089C 000AD7FC 7F C3 F3 78 */ mr r3, r30 -/* 800B08A0 000AD800 98 1E 01 1C */ stb r0, 0x11c(r30) -/* 800B08A4 000AD804 7F E4 FB 78 */ mr r4, r31 -/* 800B08A8 000AD808 4B FF F9 11 */ bl PlaySound__12CScriptSoundFR13CStateManager -lbl_800B08AC: -/* 800B08AC 000AD80C 80 1E 01 18 */ lwz r0, 0x118(r30) -/* 800B08B0 000AD810 2C 00 20 00 */ cmpwi r0, 0x2000 -/* 800B08B4 000AD814 41 82 00 24 */ beq lbl_800B08D8 -/* 800B08B8 000AD818 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800B08BC 000AD81C 28 00 00 00 */ cmplwi r0, 0 -/* 800B08C0 000AD820 41 82 00 18 */ beq lbl_800B08D8 -/* 800B08C4 000AD824 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800B08C8 000AD828 38 61 00 1C */ addi r3, r1, 0x1c -/* 800B08CC 000AD82C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800B08D0 000AD830 80 9E 01 18 */ lwz r4, 0x118(r30) -/* 800B08D4 000AD834 48 23 85 D9 */ bl PitchBend__11CSfxManagerF10CSfxHandlei -lbl_800B08D8: -/* 800B08D8 000AD838 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 800B08DC 000AD83C CB E1 00 70 */ lfd f31, 0x70(r1) -/* 800B08E0 000AD840 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 800B08E4 000AD844 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 800B08E8 000AD848 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800B08EC 000AD84C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800B08F0 000AD850 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 800B08F4 000AD854 7C 08 03 A6 */ mtlr r0 -/* 800B08F8 000AD858 38 21 00 80 */ addi r1, r1, 0x80 -/* 800B08FC 000AD85C 4E 80 00 20 */ blr - -.global __dt__12CScriptSoundFv -__dt__12CScriptSoundFv: -/* 800B0900 000AD860 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B0904 000AD864 7C 08 02 A6 */ mflr r0 -/* 800B0908 000AD868 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B090C 000AD86C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B0910 000AD870 7C 9F 23 78 */ mr r31, r4 -/* 800B0914 000AD874 93 C1 00 08 */ stw r30, 8(r1) -/* 800B0918 000AD878 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800B091C 000AD87C 41 82 00 28 */ beq lbl_800B0944 -/* 800B0920 000AD880 3C A0 80 3E */ lis r5, lbl_803DF128@ha -/* 800B0924 000AD884 38 80 00 00 */ li r4, 0 -/* 800B0928 000AD888 38 05 F1 28 */ addi r0, r5, lbl_803DF128@l -/* 800B092C 000AD88C 90 1E 00 00 */ stw r0, 0(r30) -/* 800B0930 000AD890 4B FA 4D C1 */ bl __dt__6CActorFv -/* 800B0934 000AD894 7F E0 07 35 */ extsh. r0, r31 -/* 800B0938 000AD898 40 81 00 0C */ ble lbl_800B0944 -/* 800B093C 000AD89C 7F C3 F3 78 */ mr r3, r30 -/* 800B0940 000AD8A0 48 26 4F F1 */ bl Free__7CMemoryFPCv -lbl_800B0944: -/* 800B0944 000AD8A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B0948 000AD8A8 7F C3 F3 78 */ mr r3, r30 -/* 800B094C 000AD8AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B0950 000AD8B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B0954 000AD8B4 7C 08 03 A6 */ mtlr r0 -/* 800B0958 000AD8B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B095C 000AD8BC 4E 80 00 20 */ blr - -.global PreThink__12CScriptSoundFfR13CStateManager -PreThink__12CScriptSoundFfR13CStateManager: -/* 800B0960 000AD8C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B0964 000AD8C4 7C 08 02 A6 */ mflr r0 -/* 800B0968 000AD8C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B096C 000AD8CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B0970 000AD8D0 7C 7F 1B 78 */ mr r31, r3 -/* 800B0974 000AD8D4 4B FA 07 49 */ bl PreThink__7CEntityFfR13CStateManager -/* 800B0978 000AD8D8 38 00 00 01 */ li r0, 1 -/* 800B097C 000AD8DC 38 60 00 00 */ li r3, 0 -/* 800B0980 000AD8E0 98 0D A2 D0 */ stb r0, lbl_805A8E90@sda21(r13) -/* 800B0984 000AD8E4 88 1F 01 1D */ lbz r0, 0x11d(r31) -/* 800B0988 000AD8E8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800B098C 000AD8EC 98 1F 01 1D */ stb r0, 0x11d(r31) -/* 800B0990 000AD8F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B0994 000AD8F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B0998 000AD8F8 7C 08 03 A6 */ mtlr r0 -/* 800B099C 000AD8FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B09A0 000AD900 4E 80 00 20 */ blr - -.global "__ct__12CScriptSoundF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUsbfffiiiibbbbbb" -"__ct__12CScriptSoundF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUsbfffiiiibbbbbb": -/* 800B09A4 000AD904 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 800B09A8 000AD908 7C 08 02 A6 */ mflr r0 -/* 800B09AC 000AD90C 90 01 01 54 */ stw r0, 0x154(r1) -/* 800B09B0 000AD910 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 800B09B4 000AD914 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 800B09B8 000AD918 DB C1 01 30 */ stfd f30, 0x130(r1) -/* 800B09BC 000AD91C F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 -/* 800B09C0 000AD920 DB A1 01 20 */ stfd f29, 0x120(r1) -/* 800B09C4 000AD924 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 -/* 800B09C8 000AD928 BD C1 00 D8 */ stmw r14, 0xd8(r1) -/* 800B09CC 000AD92C FF A0 08 90 */ fmr f29, f1 -/* 800B09D0 000AD930 7C 6F 1B 78 */ mr r15, r3 -/* 800B09D4 000AD934 FF C0 10 90 */ fmr f30, f2 -/* 800B09D8 000AD938 82 E1 01 58 */ lwz r23, 0x158(r1) -/* 800B09DC 000AD93C FF E0 18 90 */ fmr f31, f3 -/* 800B09E0 000AD940 83 01 01 5C */ lwz r24, 0x15c(r1) -/* 800B09E4 000AD944 83 21 01 60 */ lwz r25, 0x160(r1) -/* 800B09E8 000AD948 7C 90 23 78 */ mr r16, r4 -/* 800B09EC 000AD94C 83 41 01 64 */ lwz r26, 0x164(r1) -/* 800B09F0 000AD950 7C B1 2B 78 */ mr r17, r5 -/* 800B09F4 000AD954 83 61 01 68 */ lwz r27, 0x168(r1) -/* 800B09F8 000AD958 7C D2 33 78 */ mr r18, r6 -/* 800B09FC 000AD95C 8B 81 01 6F */ lbz r28, 0x16f(r1) -/* 800B0A00 000AD960 7C F3 3B 78 */ mr r19, r7 -/* 800B0A04 000AD964 8B A1 01 73 */ lbz r29, 0x173(r1) -/* 800B0A08 000AD968 7D 14 43 78 */ mr r20, r8 -/* 800B0A0C 000AD96C 8B C1 01 77 */ lbz r30, 0x177(r1) -/* 800B0A10 000AD970 7D 35 4B 78 */ mr r21, r9 -/* 800B0A14 000AD974 8B E1 01 7B */ lbz r31, 0x17b(r1) -/* 800B0A18 000AD978 7D 56 53 78 */ mr r22, r10 -/* 800B0A1C 000AD97C 81 C1 01 88 */ lwz r14, 0x188(r1) -/* 800B0A20 000AD980 38 61 00 88 */ addi r3, r1, 0x88 -/* 800B0A24 000AD984 4B F8 9D 81 */ bl CModelDataNull__10CModelDataFv -/* 800B0A28 000AD988 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B0A2C 000AD98C 4B F6 A4 0D */ bl None__16CActorParametersFv -/* 800B0A30 000AD990 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 800B0A34 000AD994 38 00 00 00 */ li r0, 0 -/* 800B0A38 000AD998 80 AD 86 20 */ lwz r5, lbl_805A71E0@sda21(r13) -/* 800B0A3C 000AD99C 38 60 00 00 */ li r3, 0 -/* 800B0A40 000AD9A0 B0 81 00 10 */ sth r4, 0x10(r1) -/* 800B0A44 000AD9A4 38 80 00 01 */ li r4, 1 -/* 800B0A48 000AD9A8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800B0A4C 000AD9AC 90 01 00 18 */ stw r0, 0x18(r1) -/* 800B0A50 000AD9B0 48 2D 94 A5 */ bl __shl2i -/* 800B0A54 000AD9B4 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 800B0A58 000AD9B8 39 61 00 20 */ addi r11, r1, 0x20 -/* 800B0A5C 000AD9BC 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 800B0A60 000AD9C0 38 01 00 10 */ addi r0, r1, 0x10 -/* 800B0A64 000AD9C4 7C A3 1B 78 */ or r3, r5, r3 -/* 800B0A68 000AD9C8 A1 30 00 00 */ lhz r9, 0(r16) -/* 800B0A6C 000AD9CC 7C C4 23 78 */ or r4, r6, r4 -/* 800B0A70 000AD9D0 90 61 00 18 */ stw r3, 0x18(r1) -/* 800B0A74 000AD9D4 7D E3 7B 78 */ mr r3, r15 -/* 800B0A78 000AD9D8 7E A5 AB 78 */ mr r5, r21 -/* 800B0A7C 000AD9DC 90 81 00 1C */ stw r4, 0x1c(r1) -/* 800B0A80 000AD9E0 7E 26 8B 78 */ mr r6, r17 -/* 800B0A84 000AD9E4 7E 47 93 78 */ mr r7, r18 -/* 800B0A88 000AD9E8 7E 68 9B 78 */ mr r8, r19 -/* 800B0A8C 000AD9EC B1 21 00 14 */ sth r9, 0x14(r1) -/* 800B0A90 000AD9F0 38 81 00 14 */ addi r4, r1, 0x14 -/* 800B0A94 000AD9F4 39 21 00 88 */ addi r9, r1, 0x88 -/* 800B0A98 000AD9F8 39 41 00 18 */ addi r10, r1, 0x18 -/* 800B0A9C 000AD9FC 91 61 00 08 */ stw r11, 8(r1) -/* 800B0AA0 000ADA00 90 01 00 0C */ stw r0, 0xc(r1) -/* 800B0AA4 000ADA04 4B FA 4D 7D */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 800B0AA8 000ADA08 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B0AAC 000ADA0C 38 80 FF FF */ li r4, -1 -/* 800B0AB0 000ADA10 48 05 5B 59 */ bl __dt__16CActorParametersFv -/* 800B0AB4 000ADA14 38 61 00 88 */ addi r3, r1, 0x88 -/* 800B0AB8 000ADA18 38 80 FF FF */ li r4, -1 -/* 800B0ABC 000ADA1C 48 06 5F 91 */ bl __dt__10CModelDataFv -/* 800B0AC0 000ADA20 3C 60 80 3E */ lis r3, lbl_803DF128@ha -/* 800B0AC4 000ADA24 C0 02 8C 84 */ lfs f0, lbl_805AA9A4@sda21(r2) -/* 800B0AC8 000ADA28 38 63 F1 28 */ addi r3, r3, lbl_803DF128@l -/* 800B0ACC 000ADA2C 38 00 00 00 */ li r0, 0 -/* 800B0AD0 000ADA30 90 6F 00 00 */ stw r3, 0(r15) -/* 800B0AD4 000ADA34 56 83 04 3E */ clrlwi r3, r20, 0x10 -/* 800B0AD8 000ADA38 D0 0F 00 E8 */ stfs f0, 0xe8(r15) -/* 800B0ADC 000ADA3C 90 0F 00 EC */ stw r0, 0xec(r15) -/* 800B0AE0 000ADA40 B0 0F 00 F0 */ sth r0, 0xf0(r15) -/* 800B0AE4 000ADA44 B0 0F 00 F4 */ sth r0, 0xf4(r15) -/* 800B0AE8 000ADA48 D0 0F 00 F8 */ stfs f0, 0xf8(r15) -/* 800B0AEC 000ADA4C D3 EF 00 FC */ stfs f31, 0xfc(r15) -/* 800B0AF0 000ADA50 48 23 7E C1 */ bl TranslateSFXID__11CSfxManagerFUs -/* 800B0AF4 000ADA54 B0 6F 01 00 */ sth r3, 0x100(r15) -/* 800B0AF8 000ADA58 38 0E 20 00 */ addi r0, r14, 0x2000 -/* 800B0AFC 000ADA5C 38 80 00 00 */ li r4, 0 -/* 800B0B00 000ADA60 D3 AF 01 04 */ stfs f29, 0x104(r15) -/* 800B0B04 000ADA64 D3 CF 01 08 */ stfs f30, 0x108(r15) -/* 800B0B08 000ADA68 B2 CF 01 0C */ sth r22, 0x10c(r15) -/* 800B0B0C 000ADA6C B2 EF 01 0E */ sth r23, 0x10e(r15) -/* 800B0B10 000ADA70 B3 0F 01 10 */ sth r24, 0x110(r15) -/* 800B0B14 000ADA74 B3 2F 01 12 */ sth r25, 0x112(r15) -/* 800B0B18 000ADA78 B3 4F 01 14 */ sth r26, 0x114(r15) -/* 800B0B1C 000ADA7C B3 6F 01 16 */ sth r27, 0x116(r15) -/* 800B0B20 000ADA80 90 0F 01 18 */ stw r0, 0x118(r15) -/* 800B0B24 000ADA84 88 0F 01 1C */ lbz r0, 0x11c(r15) -/* 800B0B28 000ADA88 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800B0B2C 000ADA8C 98 0F 01 1C */ stb r0, 0x11c(r15) -/* 800B0B30 000ADA90 88 0F 01 1C */ lbz r0, 0x11c(r15) -/* 800B0B34 000ADA94 53 80 36 72 */ rlwimi r0, r28, 6, 0x19, 0x19 -/* 800B0B38 000ADA98 98 0F 01 1C */ stb r0, 0x11c(r15) -/* 800B0B3C 000ADA9C 88 0F 01 1C */ lbz r0, 0x11c(r15) -/* 800B0B40 000ADAA0 53 A0 2E B4 */ rlwimi r0, r29, 5, 0x1a, 0x1a -/* 800B0B44 000ADAA4 98 0F 01 1C */ stb r0, 0x11c(r15) -/* 800B0B48 000ADAA8 88 0F 01 1C */ lbz r0, 0x11c(r15) -/* 800B0B4C 000ADAAC 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b -/* 800B0B50 000ADAB0 98 0F 01 1C */ stb r0, 0x11c(r15) -/* 800B0B54 000ADAB4 88 0F 01 1C */ lbz r0, 0x11c(r15) -/* 800B0B58 000ADAB8 53 E0 1F 38 */ rlwimi r0, r31, 3, 0x1c, 0x1c -/* 800B0B5C 000ADABC 98 0F 01 1C */ stb r0, 0x11c(r15) -/* 800B0B60 000ADAC0 88 01 01 7F */ lbz r0, 0x17f(r1) -/* 800B0B64 000ADAC4 88 6F 01 1C */ lbz r3, 0x11c(r15) -/* 800B0B68 000ADAC8 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d -/* 800B0B6C 000ADACC 88 01 01 83 */ lbz r0, 0x183(r1) -/* 800B0B70 000ADAD0 98 6F 01 1C */ stb r3, 0x11c(r15) -/* 800B0B74 000ADAD4 88 6F 01 1C */ lbz r3, 0x11c(r15) -/* 800B0B78 000ADAD8 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e -/* 800B0B7C 000ADADC 98 6F 01 1C */ stb r3, 0x11c(r15) -/* 800B0B80 000ADAE0 88 0F 01 1C */ lbz r0, 0x11c(r15) -/* 800B0B84 000ADAE4 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 800B0B88 000ADAE8 98 0F 01 1C */ stb r0, 0x11c(r15) -/* 800B0B8C 000ADAEC 88 01 01 87 */ lbz r0, 0x187(r1) -/* 800B0B90 000ADAF0 88 6F 01 1D */ lbz r3, 0x11d(r15) -/* 800B0B94 000ADAF4 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 800B0B98 000ADAF8 98 6F 01 1D */ stb r3, 0x11d(r15) -/* 800B0B9C 000ADAFC 88 0F 01 1D */ lbz r0, 0x11d(r15) -/* 800B0BA0 000ADB00 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 800B0BA4 000ADB04 98 0F 01 1D */ stb r0, 0x11d(r15) -/* 800B0BA8 000ADB08 88 6F 01 1C */ lbz r3, 0x11c(r15) -/* 800B0BAC 000ADB0C 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 800B0BB0 000ADB10 41 82 00 14 */ beq lbl_800B0BC4 -/* 800B0BB4 000ADB14 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 800B0BB8 000ADB18 40 82 00 0C */ bne lbl_800B0BC4 -/* 800B0BBC 000ADB1C 50 83 0F BC */ rlwimi r3, r4, 1, 0x1e, 0x1e -/* 800B0BC0 000ADB20 98 6F 01 1C */ stb r3, 0x11c(r15) -lbl_800B0BC4: -/* 800B0BC4 000ADB24 88 6F 01 1C */ lbz r3, 0x11c(r15) -/* 800B0BC8 000ADB28 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 800B0BCC 000ADB2C 41 82 00 18 */ beq lbl_800B0BE4 -/* 800B0BD0 000ADB30 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 800B0BD4 000ADB34 40 82 00 10 */ bne lbl_800B0BE4 -/* 800B0BD8 000ADB38 38 00 00 00 */ li r0, 0 -/* 800B0BDC 000ADB3C 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e -/* 800B0BE0 000ADB40 98 6F 01 1C */ stb r3, 0x11c(r15) -lbl_800B0BE4: -/* 800B0BE4 000ADB44 7D E3 7B 78 */ mr r3, r15 -/* 800B0BE8 000ADB48 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 800B0BEC 000ADB4C CB E1 01 40 */ lfd f31, 0x140(r1) -/* 800B0BF0 000ADB50 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 -/* 800B0BF4 000ADB54 CB C1 01 30 */ lfd f30, 0x130(r1) -/* 800B0BF8 000ADB58 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 -/* 800B0BFC 000ADB5C CB A1 01 20 */ lfd f29, 0x120(r1) -/* 800B0C00 000ADB60 B9 C1 00 D8 */ lmw r14, 0xd8(r1) -/* 800B0C04 000ADB64 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800B0C08 000ADB68 7C 08 03 A6 */ mtlr r0 -/* 800B0C0C 000ADB6C 38 21 01 50 */ addi r1, r1, 0x150 -/* 800B0C10 000ADB70 4E 80 00 20 */ blr - -.global Render__15CScriptPlatformCFRC13CStateManager -Render__15CScriptPlatformCFRC13CStateManager: -/* 800B0C14 000ADB74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B0C18 000ADB78 7C 08 02 A6 */ mflr r0 -/* 800B0C1C 000ADB7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B0C20 000ADB80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B0C24 000ADB84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B0C28 000ADB88 7C 9E 23 78 */ mr r30, r4 -/* 800B0C2C 000ADB8C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B0C30 000ADB90 7C 7D 1B 78 */ mr r29, r3 -/* 800B0C34 000ADB94 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 800B0C38 000ADB98 80 63 00 00 */ lwz r3, 0(r3) -/* 800B0C3C 000ADB9C 4B FE 09 1D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 800B0C40 000ADBA0 20 03 00 01 */ subfic r0, r3, 1 -/* 800B0C44 000ADBA4 7C 03 00 34 */ cntlzw r3, r0 -/* 800B0C48 000ADBA8 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 800B0C4C 000ADBAC 54 7F D9 7E */ srwi r31, r3, 5 -/* 800B0C50 000ADBB0 41 82 00 38 */ beq lbl_800B0C88 -/* 800B0C54 000ADBB4 88 1D 03 56 */ lbz r0, 0x356(r29) -/* 800B0C58 000ADBB8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800B0C5C 000ADBBC 40 82 00 2C */ bne lbl_800B0C88 -/* 800B0C60 000ADBC0 48 29 93 55 */ bl Black__6CColorFv -/* 800B0C64 000ADBC4 7C 65 1B 78 */ mr r5, r3 -/* 800B0C68 000ADBC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800B0C6C 000ADBCC C0 22 8C AC */ lfs f1, lbl_805AA9CC@sda21(r2) -/* 800B0C70 000ADBD0 38 80 00 00 */ li r4, 0 -/* 800B0C74 000ADBD4 81 83 00 00 */ lwz r12, 0(r3) -/* 800B0C78 000ADBD8 C0 42 8C B0 */ lfs f2, lbl_805AA9D0@sda21(r2) -/* 800B0C7C 000ADBDC 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 800B0C80 000ADBE0 7D 89 03 A6 */ mtctr r12 -/* 800B0C84 000ADBE4 4E 80 04 21 */ bctrl -lbl_800B0C88: -/* 800B0C88 000ADBE8 7F A3 EB 78 */ mr r3, r29 -/* 800B0C8C 000ADBEC 7F C4 F3 78 */ mr r4, r30 -/* 800B0C90 000ADBF0 48 06 98 59 */ bl Render__13CPhysicsActorCFRC13CStateManager -/* 800B0C94 000ADBF4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800B0C98 000ADBF8 41 82 00 28 */ beq lbl_800B0CC0 -/* 800B0C9C 000ADBFC 88 1D 03 56 */ lbz r0, 0x356(r29) -/* 800B0CA0 000ADC00 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800B0CA4 000ADC04 40 82 00 1C */ bne lbl_800B0CC0 -/* 800B0CA8 000ADC08 80 1D 00 04 */ lwz r0, 4(r29) -/* 800B0CAC 000ADC0C 7F C3 F3 78 */ mr r3, r30 -/* 800B0CB0 000ADC10 38 81 00 0C */ addi r4, r1, 0xc -/* 800B0CB4 000ADC14 90 01 00 08 */ stw r0, 8(r1) -/* 800B0CB8 000ADC18 90 01 00 0C */ stw r0, 0xc(r1) -/* 800B0CBC 000ADC1C 4B F9 60 C5 */ bl SetupFogForArea__13CStateManagerCF7TAreaId -lbl_800B0CC0: -/* 800B0CC0 000ADC20 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B0CC4 000ADC24 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B0CC8 000ADC28 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B0CCC 000ADC2C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B0CD0 000ADC30 7C 08 03 A6 */ mtlr r0 -/* 800B0CD4 000ADC34 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B0CD8 000ADC38 4E 80 00 20 */ blr - -.global GetSortingBounds__15CScriptPlatformCFRC12CTransform4f -GetSortingBounds__15CScriptPlatformCFRC12CTransform4f: -/* 800B0CDC 000ADC3C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B0CE0 000ADC40 7C 08 02 A6 */ mflr r0 -/* 800B0CE4 000ADC44 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B0CE8 000ADC48 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B0CEC 000ADC4C 7C BF 2B 78 */ mr r31, r5 -/* 800B0CF0 000ADC50 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B0CF4 000ADC54 7C 9E 23 78 */ mr r30, r4 -/* 800B0CF8 000ADC58 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B0CFC 000ADC5C 7C 7D 1B 78 */ mr r29, r3 -/* 800B0D00 000ADC60 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B0D04 000ADC64 A0 84 03 54 */ lhz r4, 0x354(r4) -/* 800B0D08 000ADC68 7C 04 00 40 */ cmplw r4, r0 -/* 800B0D0C 000ADC6C 41 82 00 28 */ beq lbl_800B0D34 -/* 800B0D10 000ADC70 B0 81 00 08 */ sth r4, 8(r1) -/* 800B0D14 000ADC74 7F E3 FB 78 */ mr r3, r31 -/* 800B0D18 000ADC78 38 81 00 08 */ addi r4, r1, 8 -/* 800B0D1C 000ADC7C 4B F9 B8 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800B0D20 000ADC80 7C 64 1B 79 */ or. r4, r3, r3 -/* 800B0D24 000ADC84 41 82 00 10 */ beq lbl_800B0D34 -/* 800B0D28 000ADC88 7F A3 EB 78 */ mr r3, r29 -/* 800B0D2C 000ADC8C 4B FC 59 A1 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800B0D30 000ADC90 48 00 00 14 */ b lbl_800B0D44 -lbl_800B0D34: -/* 800B0D34 000ADC94 7F A3 EB 78 */ mr r3, r29 -/* 800B0D38 000ADC98 7F C4 F3 78 */ mr r4, r30 -/* 800B0D3C 000ADC9C 7F E5 FB 78 */ mr r5, r31 -/* 800B0D40 000ADCA0 4B FA 28 A1 */ bl GetSortingBounds__6CActorCFRC12CTransform4f -lbl_800B0D44: -/* 800B0D44 000ADCA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B0D48 000ADCA8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B0D4C 000ADCAC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B0D50 000ADCB0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B0D54 000ADCB4 7C 08 03 A6 */ mtlr r0 -/* 800B0D58 000ADCB8 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B0D5C 000ADCBC 4E 80 00 20 */ blr - -.global GetAimPosition__15CScriptPlatformCFRC13CStateManagerf -GetAimPosition__15CScriptPlatformCFRC13CStateManagerf: -/* 800B0D60 000ADCC0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800B0D64 000ADCC4 7C 08 02 A6 */ mflr r0 -/* 800B0D68 000ADCC8 90 01 00 64 */ stw r0, 0x64(r1) -/* 800B0D6C 000ADCCC DB E1 00 58 */ stfd f31, 0x58(r1) -/* 800B0D70 000ADCD0 FF E0 08 90 */ fmr f31, f1 -/* 800B0D74 000ADCD4 93 E1 00 54 */ stw r31, 0x54(r1) -/* 800B0D78 000ADCD8 7C BF 2B 78 */ mr r31, r5 -/* 800B0D7C 000ADCDC 93 C1 00 50 */ stw r30, 0x50(r1) -/* 800B0D80 000ADCE0 7C 9E 23 78 */ mr r30, r4 -/* 800B0D84 000ADCE4 93 A1 00 4C */ stw r29, 0x4c(r1) -/* 800B0D88 000ADCE8 7C 7D 1B 78 */ mr r29, r3 -/* 800B0D8C 000ADCEC 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B0D90 000ADCF0 81 84 00 00 */ lwz r12, 0(r4) -/* 800B0D94 000ADCF4 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 800B0D98 000ADCF8 7D 89 03 A6 */ mtctr r12 -/* 800B0D9C 000ADCFC 4E 80 04 21 */ bctrl -/* 800B0DA0 000ADD00 88 61 00 3C */ lbz r3, 0x3c(r1) -/* 800B0DA4 000ADD04 38 00 00 00 */ li r0, 0 -/* 800B0DA8 000ADD08 28 03 00 00 */ cmplwi r3, 0 -/* 800B0DAC 000ADD0C 98 01 00 3C */ stb r0, 0x3c(r1) -/* 800B0DB0 000ADD10 41 82 00 34 */ beq lbl_800B0DE4 -/* 800B0DB4 000ADD14 7F C4 F3 78 */ mr r4, r30 -/* 800B0DB8 000ADD18 38 61 00 08 */ addi r3, r1, 8 -/* 800B0DBC 000ADD1C 81 9E 00 00 */ lwz r12, 0(r30) -/* 800B0DC0 000ADD20 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 800B0DC4 000ADD24 7D 89 03 A6 */ mtctr r12 -/* 800B0DC8 000ADD28 4E 80 04 21 */ bctrl -/* 800B0DCC 000ADD2C 7F A3 EB 78 */ mr r3, r29 -/* 800B0DD0 000ADD30 38 81 00 08 */ addi r4, r1, 8 -/* 800B0DD4 000ADD34 48 28 68 39 */ bl GetCenterPoint__6CAABoxCFv -/* 800B0DD8 000ADD38 38 00 00 00 */ li r0, 0 -/* 800B0DDC 000ADD3C 98 01 00 20 */ stb r0, 0x20(r1) -/* 800B0DE0 000ADD40 48 00 00 18 */ b lbl_800B0DF8 -lbl_800B0DE4: -/* 800B0DE4 000ADD44 FC 20 F8 90 */ fmr f1, f31 -/* 800B0DE8 000ADD48 7F A3 EB 78 */ mr r3, r29 -/* 800B0DEC 000ADD4C 7F C4 F3 78 */ mr r4, r30 -/* 800B0DF0 000ADD50 7F E5 FB 78 */ mr r5, r31 -/* 800B0DF4 000ADD54 48 06 97 15 */ bl GetAimPosition__13CPhysicsActorCFRC13CStateManagerf -lbl_800B0DF8: -/* 800B0DF8 000ADD58 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800B0DFC 000ADD5C CB E1 00 58 */ lfd f31, 0x58(r1) -/* 800B0E00 000ADD60 83 E1 00 54 */ lwz r31, 0x54(r1) -/* 800B0E04 000ADD64 83 C1 00 50 */ lwz r30, 0x50(r1) -/* 800B0E08 000ADD68 83 A1 00 4C */ lwz r29, 0x4c(r1) -/* 800B0E0C 000ADD6C 7C 08 03 A6 */ mtlr r0 -/* 800B0E10 000ADD70 38 21 00 60 */ addi r1, r1, 0x60 -/* 800B0E14 000ADD74 4E 80 00 20 */ blr - -.global GetOrbitPosition__15CScriptPlatformCFRC13CStateManager -GetOrbitPosition__15CScriptPlatformCFRC13CStateManager: -/* 800B0E18 000ADD78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B0E1C 000ADD7C 7C 08 02 A6 */ mflr r0 -/* 800B0E20 000ADD80 C0 22 8C AC */ lfs f1, lbl_805AA9CC@sda21(r2) -/* 800B0E24 000ADD84 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B0E28 000ADD88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B0E2C 000ADD8C 7C 7F 1B 78 */ mr r31, r3 -/* 800B0E30 000ADD90 81 84 00 00 */ lwz r12, 0(r4) -/* 800B0E34 000ADD94 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 800B0E38 000ADD98 7D 89 03 A6 */ mtctr r12 -/* 800B0E3C 000ADD9C 4E 80 04 21 */ bctrl -/* 800B0E40 000ADDA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B0E44 000ADDA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B0E48 000ADDA8 7C 08 03 A6 */ mtlr r0 -/* 800B0E4C 000ADDAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B0E50 000ADDB0 4E 80 00 20 */ blr - -.global sub_800b0e54 -sub_800b0e54: -/* 800B0E54 000ADDB4 80 A4 00 00 */ lwz r5, 0(r4) -/* 800B0E58 000ADDB8 80 04 00 04 */ lwz r0, 4(r4) -/* 800B0E5C 000ADDBC 90 A3 02 9C */ stw r5, 0x29c(r3) -/* 800B0E60 000ADDC0 90 03 02 A0 */ stw r0, 0x2a0(r3) -/* 800B0E64 000ADDC4 80 A4 00 08 */ lwz r5, 8(r4) -/* 800B0E68 000ADDC8 80 04 00 0C */ lwz r0, 0xc(r4) -/* 800B0E6C 000ADDCC 90 A3 02 A4 */ stw r5, 0x2a4(r3) -/* 800B0E70 000ADDD0 90 03 02 A8 */ stw r0, 0x2a8(r3) -/* 800B0E74 000ADDD4 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 800B0E78 000ADDD8 80 04 00 14 */ lwz r0, 0x14(r4) -/* 800B0E7C 000ADDDC 90 A3 02 AC */ stw r5, 0x2ac(r3) -/* 800B0E80 000ADDE0 90 03 02 B0 */ stw r0, 0x2b0(r3) -/* 800B0E84 000ADDE4 80 A4 00 18 */ lwz r5, 0x18(r4) -/* 800B0E88 000ADDE8 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 800B0E8C 000ADDEC 90 A3 02 B4 */ stw r5, 0x2b4(r3) -/* 800B0E90 000ADDF0 90 03 02 B8 */ stw r0, 0x2b8(r3) -/* 800B0E94 000ADDF4 80 A4 00 20 */ lwz r5, 0x20(r4) -/* 800B0E98 000ADDF8 80 04 00 24 */ lwz r0, 0x24(r4) -/* 800B0E9C 000ADDFC 90 A3 02 BC */ stw r5, 0x2bc(r3) -/* 800B0EA0 000ADE00 90 03 02 C0 */ stw r0, 0x2c0(r3) -/* 800B0EA4 000ADE04 80 A4 00 28 */ lwz r5, 0x28(r4) -/* 800B0EA8 000ADE08 80 04 00 2C */ lwz r0, 0x2c(r4) -/* 800B0EAC 000ADE0C 90 A3 02 C4 */ stw r5, 0x2c4(r3) -/* 800B0EB0 000ADE10 90 03 02 C8 */ stw r0, 0x2c8(r3) -/* 800B0EB4 000ADE14 80 A4 00 30 */ lwz r5, 0x30(r4) -/* 800B0EB8 000ADE18 80 04 00 34 */ lwz r0, 0x34(r4) -/* 800B0EBC 000ADE1C 90 A3 02 CC */ stw r5, 0x2cc(r3) -/* 800B0EC0 000ADE20 90 03 02 D0 */ stw r0, 0x2d0(r3) -/* 800B0EC4 000ADE24 80 04 00 38 */ lwz r0, 0x38(r4) -/* 800B0EC8 000ADE28 90 03 02 D4 */ stw r0, 0x2d4(r3) -/* 800B0ECC 000ADE2C 80 A4 00 3C */ lwz r5, 0x3c(r4) -/* 800B0ED0 000ADE30 80 04 00 40 */ lwz r0, 0x40(r4) -/* 800B0ED4 000ADE34 90 A3 02 D8 */ stw r5, 0x2d8(r3) -/* 800B0ED8 000ADE38 90 03 02 DC */ stw r0, 0x2dc(r3) -/* 800B0EDC 000ADE3C 80 A4 00 44 */ lwz r5, 0x44(r4) -/* 800B0EE0 000ADE40 80 04 00 48 */ lwz r0, 0x48(r4) -/* 800B0EE4 000ADE44 90 A3 02 E0 */ stw r5, 0x2e0(r3) -/* 800B0EE8 000ADE48 90 03 02 E4 */ stw r0, 0x2e4(r3) -/* 800B0EEC 000ADE4C 80 A4 00 4C */ lwz r5, 0x4c(r4) -/* 800B0EF0 000ADE50 80 04 00 50 */ lwz r0, 0x50(r4) -/* 800B0EF4 000ADE54 90 A3 02 E8 */ stw r5, 0x2e8(r3) -/* 800B0EF8 000ADE58 90 03 02 EC */ stw r0, 0x2ec(r3) -/* 800B0EFC 000ADE5C 80 A4 00 54 */ lwz r5, 0x54(r4) -/* 800B0F00 000ADE60 80 04 00 58 */ lwz r0, 0x58(r4) -/* 800B0F04 000ADE64 90 A3 02 F0 */ stw r5, 0x2f0(r3) -/* 800B0F08 000ADE68 90 03 02 F4 */ stw r0, 0x2f4(r3) -/* 800B0F0C 000ADE6C 80 04 00 5C */ lwz r0, 0x5c(r4) -/* 800B0F10 000ADE70 90 03 02 F8 */ stw r0, 0x2f8(r3) -/* 800B0F14 000ADE74 80 04 00 60 */ lwz r0, 0x60(r4) -/* 800B0F18 000ADE78 90 03 02 FC */ stw r0, 0x2fc(r3) -/* 800B0F1C 000ADE7C 80 04 00 64 */ lwz r0, 0x64(r4) -/* 800B0F20 000ADE80 90 03 03 00 */ stw r0, 0x300(r3) -/* 800B0F24 000ADE84 4E 80 00 20 */ blr - -.global PreRender__15CScriptPlatformFR13CStateManagerRC14CFrustumPlanes -PreRender__15CScriptPlatformFR13CStateManagerRC14CFrustumPlanes: -/* 800B0F28 000ADE88 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800B0F2C 000ADE8C 7C 08 02 A6 */ mflr r0 -/* 800B0F30 000ADE90 90 01 00 44 */ stw r0, 0x44(r1) -/* 800B0F34 000ADE94 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 800B0F38 000ADE98 7C 7B 1B 78 */ mr r27, r3 -/* 800B0F3C 000ADE9C 7C 9C 23 78 */ mr r28, r4 -/* 800B0F40 000ADEA0 4B FA 3D A1 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes -/* 800B0F44 000ADEA4 88 1B 00 E4 */ lbz r0, 0xe4(r27) -/* 800B0F48 000ADEA8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800B0F4C 000ADEAC 40 82 01 5C */ bne lbl_800B10A8 -/* 800B0F50 000ADEB0 C0 9B 03 48 */ lfs f4, 0x348(r27) -/* 800B0F54 000ADEB4 C0 22 8C B0 */ lfs f1, lbl_805AA9D0@sda21(r2) -/* 800B0F58 000ADEB8 C0 02 8C B4 */ lfs f0, lbl_805AA9D4@sda21(r2) -/* 800B0F5C 000ADEBC EC 44 08 28 */ fsubs f2, f4, f1 -/* 800B0F60 000ADEC0 FC 40 12 10 */ fabs f2, f2 -/* 800B0F64 000ADEC4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800B0F68 000ADEC8 41 80 01 40 */ blt lbl_800B10A8 -/* 800B0F6C 000ADECC 38 A0 00 05 */ li r5, 5 -/* 800B0F70 000ADED0 38 80 00 00 */ li r4, 0 -/* 800B0F74 000ADED4 38 00 00 03 */ li r0, 3 -/* 800B0F78 000ADED8 FC 40 08 90 */ fmr f2, f1 -/* 800B0F7C 000ADEDC FC 60 08 90 */ fmr f3, f1 -/* 800B0F80 000ADEE0 98 A1 00 14 */ stb r5, 0x14(r1) -/* 800B0F84 000ADEE4 38 61 00 18 */ addi r3, r1, 0x18 -/* 800B0F88 000ADEE8 98 81 00 15 */ stb r4, 0x15(r1) -/* 800B0F8C 000ADEEC B0 01 00 16 */ sth r0, 0x16(r1) -/* 800B0F90 000ADEF0 48 2B 24 5D */ bl __ct__6CColorFffff -/* 800B0F94 000ADEF4 80 7C 08 B8 */ lwz r3, 0x8b8(r28) -/* 800B0F98 000ADEF8 7F 84 E3 78 */ mr r4, r28 -/* 800B0F9C 000ADEFC 8B 41 00 14 */ lbz r26, 0x14(r1) -/* 800B0FA0 000ADF00 8B E1 00 15 */ lbz r31, 0x15(r1) -/* 800B0FA4 000ADF04 A3 C1 00 16 */ lhz r30, 0x16(r1) -/* 800B0FA8 000ADF08 83 A1 00 18 */ lwz r29, 0x18(r1) -/* 800B0FAC 000ADF0C 80 63 00 00 */ lwz r3, 0(r3) -/* 800B0FB0 000ADF10 4B FE 05 A9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 800B0FB4 000ADF14 2C 03 00 01 */ cmpwi r3, 1 -/* 800B0FB8 000ADF18 40 82 00 34 */ bne lbl_800B0FEC -/* 800B0FBC 000ADF1C 88 1B 03 56 */ lbz r0, 0x356(r27) -/* 800B0FC0 000ADF20 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800B0FC4 000ADF24 40 82 00 28 */ bne lbl_800B0FEC -/* 800B0FC8 000ADF28 9B 5B 00 B4 */ stb r26, 0xb4(r27) -/* 800B0FCC 000ADF2C 38 60 00 01 */ li r3, 1 -/* 800B0FD0 000ADF30 9B FB 00 B5 */ stb r31, 0xb5(r27) -/* 800B0FD4 000ADF34 B3 DB 00 B6 */ sth r30, 0xb6(r27) -/* 800B0FD8 000ADF38 93 BB 00 B8 */ stw r29, 0xb8(r27) -/* 800B0FDC 000ADF3C 88 1B 03 56 */ lbz r0, 0x356(r27) -/* 800B0FE0 000ADF40 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800B0FE4 000ADF44 98 1B 03 56 */ stb r0, 0x356(r27) -/* 800B0FE8 000ADF48 48 00 00 C0 */ b lbl_800B10A8 -lbl_800B0FEC: -/* 800B0FEC 000ADF4C 88 7B 03 56 */ lbz r3, 0x356(r27) -/* 800B0FF0 000ADF50 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 800B0FF4 000ADF54 41 82 00 B4 */ beq lbl_800B10A8 -/* 800B0FF8 000ADF58 38 80 00 00 */ li r4, 0 -/* 800B0FFC 000ADF5C 7F 40 07 74 */ extsb r0, r26 -/* 800B1000 000ADF60 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d -/* 800B1004 000ADF64 98 7B 03 56 */ stb r3, 0x356(r27) -/* 800B1008 000ADF68 88 7B 00 B4 */ lbz r3, 0xb4(r27) -/* 800B100C 000ADF6C 7C 63 07 74 */ extsb r3, r3 -/* 800B1010 000ADF70 7C 03 00 00 */ cmpw r3, r0 -/* 800B1014 000ADF74 40 82 00 34 */ bne lbl_800B1048 -/* 800B1018 000ADF78 88 7B 00 B5 */ lbz r3, 0xb5(r27) -/* 800B101C 000ADF7C 7F E0 07 74 */ extsb r0, r31 -/* 800B1020 000ADF80 7C 63 07 74 */ extsb r3, r3 -/* 800B1024 000ADF84 7C 03 00 00 */ cmpw r3, r0 -/* 800B1028 000ADF88 40 82 00 20 */ bne lbl_800B1048 -/* 800B102C 000ADF8C A0 1B 00 B6 */ lhz r0, 0xb6(r27) -/* 800B1030 000ADF90 7C 00 F0 40 */ cmplw r0, r30 -/* 800B1034 000ADF94 40 82 00 14 */ bne lbl_800B1048 -/* 800B1038 000ADF98 80 1B 00 B8 */ lwz r0, 0xb8(r27) -/* 800B103C 000ADF9C 7C 00 E8 40 */ cmplw r0, r29 -/* 800B1040 000ADFA0 40 82 00 08 */ bne lbl_800B1048 -/* 800B1044 000ADFA4 38 80 00 01 */ li r4, 1 -lbl_800B1048: -/* 800B1048 000ADFA8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800B104C 000ADFAC 41 82 00 5C */ beq lbl_800B10A8 -/* 800B1050 000ADFB0 88 1B 03 56 */ lbz r0, 0x356(r27) -/* 800B1054 000ADFB4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800B1058 000ADFB8 40 82 00 50 */ bne lbl_800B10A8 -/* 800B105C 000ADFBC C0 22 8C B0 */ lfs f1, lbl_805AA9D0@sda21(r2) -/* 800B1060 000ADFC0 38 80 00 00 */ li r4, 0 -/* 800B1064 000ADFC4 38 00 00 03 */ li r0, 3 -/* 800B1068 000ADFC8 98 81 00 0C */ stb r4, 0xc(r1) -/* 800B106C 000ADFCC FC 40 08 90 */ fmr f2, f1 -/* 800B1070 000ADFD0 38 61 00 10 */ addi r3, r1, 0x10 -/* 800B1074 000ADFD4 FC 60 08 90 */ fmr f3, f1 -/* 800B1078 000ADFD8 98 81 00 0D */ stb r4, 0xd(r1) -/* 800B107C 000ADFDC FC 80 08 90 */ fmr f4, f1 -/* 800B1080 000ADFE0 B0 01 00 0E */ sth r0, 0xe(r1) -/* 800B1084 000ADFE4 48 2B 23 69 */ bl __ct__6CColorFffff -/* 800B1088 000ADFE8 88 01 00 0C */ lbz r0, 0xc(r1) -/* 800B108C 000ADFEC 98 1B 00 B4 */ stb r0, 0xb4(r27) -/* 800B1090 000ADFF0 88 01 00 0D */ lbz r0, 0xd(r1) -/* 800B1094 000ADFF4 98 1B 00 B5 */ stb r0, 0xb5(r27) -/* 800B1098 000ADFF8 A0 01 00 0E */ lhz r0, 0xe(r1) -/* 800B109C 000ADFFC B0 1B 00 B6 */ sth r0, 0xb6(r27) -/* 800B10A0 000AE000 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800B10A4 000AE004 90 1B 00 B8 */ stw r0, 0xb8(r27) -lbl_800B10A8: -/* 800B10A8 000AE008 A0 1B 03 54 */ lhz r0, 0x354(r27) -/* 800B10AC 000AE00C 7F 83 E3 78 */ mr r3, r28 -/* 800B10B0 000AE010 38 81 00 08 */ addi r4, r1, 8 -/* 800B10B4 000AE014 B0 01 00 08 */ sth r0, 8(r1) -/* 800B10B8 000AE018 4B F9 B4 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800B10BC 000AE01C 28 03 00 00 */ cmplwi r3, 0 -/* 800B10C0 000AE020 40 82 00 0C */ bne lbl_800B10CC -/* 800B10C4 000AE024 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B10C8 000AE028 B0 1B 03 54 */ sth r0, 0x354(r27) -lbl_800B10CC: -/* 800B10CC 000AE02C BB 41 00 28 */ lmw r26, 0x28(r1) -/* 800B10D0 000AE030 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800B10D4 000AE034 7C 08 03 A6 */ mtlr r0 -/* 800B10D8 000AE038 38 21 00 40 */ addi r1, r1, 0x40 -/* 800B10DC 000AE03C 4E 80 00 20 */ blr - -.global Move__15CScriptPlatformFR13CStateManager -Move__15CScriptPlatformFR13CStateManager: -/* 800B10E0 000AE040 94 21 EE 50 */ stwu r1, -0x11b0(r1) -/* 800B10E4 000AE044 7C 08 02 A6 */ mflr r0 -/* 800B10E8 000AE048 90 01 11 B4 */ stw r0, 0x11b4(r1) -/* 800B10EC 000AE04C 38 00 11 A8 */ li r0, 0x11a8 -/* 800B10F0 000AE050 DB E1 11 A0 */ stfd f31, 0x11a0(r1) -/* 800B10F4 000AE054 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 -/* 800B10F8 000AE058 BF 21 11 84 */ stmw r25, 0x1184(r1) -/* 800B10FC 000AE05C 7C 9F 23 78 */ mr r31, r4 -/* 800B1100 000AE060 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B1104 000AE064 A0 C4 02 5A */ lhz r6, 0x25a(r4) -/* 800B1108 000AE068 FF E0 08 90 */ fmr f31, f1 -/* 800B110C 000AE06C 7C 7E 1B 78 */ mr r30, r3 -/* 800B1110 000AE070 7C B9 2B 78 */ mr r25, r5 -/* 800B1114 000AE074 54 C3 04 3E */ clrlwi r3, r6, 0x10 -/* 800B1118 000AE078 B0 C1 00 54 */ sth r6, 0x54(r1) -/* 800B111C 000AE07C 7C 03 00 40 */ cmplw r3, r0 -/* 800B1120 000AE080 40 82 00 24 */ bne lbl_800B1144 -/* 800B1124 000AE084 A0 1F 02 58 */ lhz r0, 0x258(r31) -/* 800B1128 000AE088 7F 26 CB 78 */ mr r6, r25 -/* 800B112C 000AE08C 38 61 00 50 */ addi r3, r1, 0x50 -/* 800B1130 000AE090 38 A1 00 4C */ addi r5, r1, 0x4c -/* 800B1134 000AE094 B0 01 00 4C */ sth r0, 0x4c(r1) -/* 800B1138 000AE098 48 00 28 95 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager -/* 800B113C 000AE09C A0 01 00 50 */ lhz r0, 0x50(r1) -/* 800B1140 000AE0A0 B0 01 00 54 */ sth r0, 0x54(r1) -lbl_800B1144: -/* 800B1144 000AE0A4 A0 01 00 54 */ lhz r0, 0x54(r1) -/* 800B1148 000AE0A8 7F 23 CB 78 */ mr r3, r25 -/* 800B114C 000AE0AC 38 81 00 48 */ addi r4, r1, 0x48 -/* 800B1150 000AE0B0 B0 01 00 48 */ sth r0, 0x48(r1) -/* 800B1154 000AE0B4 4B F9 B4 21 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B1158 000AE0B8 7C 64 1B 78 */ mr r4, r3 -/* 800B115C 000AE0BC 38 61 00 68 */ addi r3, r1, 0x68 -/* 800B1160 000AE0C0 4B FF 53 ED */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 800B1164 000AE0C4 A0 9F 02 58 */ lhz r4, 0x258(r31) -/* 800B1168 000AE0C8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B116C 000AE0CC 80 63 00 04 */ lwz r3, 4(r3) -/* 800B1170 000AE0D0 7C 04 00 40 */ cmplw r4, r0 -/* 800B1174 000AE0D4 41 82 00 88 */ beq lbl_800B11FC -/* 800B1178 000AE0D8 28 03 00 00 */ cmplwi r3, 0 -/* 800B117C 000AE0DC 41 82 00 80 */ beq lbl_800B11FC -/* 800B1180 000AE0E0 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800B1184 000AE0E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B1188 000AE0E8 40 82 00 74 */ bne lbl_800B11FC -/* 800B118C 000AE0EC A0 1F 02 58 */ lhz r0, 0x258(r31) -/* 800B1190 000AE0F0 7F E4 FB 78 */ mr r4, r31 -/* 800B1194 000AE0F4 7F 26 CB 78 */ mr r6, r25 -/* 800B1198 000AE0F8 38 61 00 44 */ addi r3, r1, 0x44 -/* 800B119C 000AE0FC B0 01 00 40 */ sth r0, 0x40(r1) -/* 800B11A0 000AE100 38 A1 00 40 */ addi r5, r1, 0x40 -/* 800B11A4 000AE104 48 00 28 29 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager -/* 800B11A8 000AE108 A0 61 00 44 */ lhz r3, 0x44(r1) -/* 800B11AC 000AE10C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B11B0 000AE110 B0 61 00 54 */ sth r3, 0x54(r1) -/* 800B11B4 000AE114 7C 03 00 40 */ cmplw r3, r0 -/* 800B11B8 000AE118 40 82 00 44 */ bne lbl_800B11FC -/* 800B11BC 000AE11C A0 1F 02 58 */ lhz r0, 0x258(r31) -/* 800B11C0 000AE120 7F 23 CB 78 */ mr r3, r25 -/* 800B11C4 000AE124 38 81 00 3C */ addi r4, r1, 0x3c -/* 800B11C8 000AE128 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 800B11CC 000AE12C 4B F9 B3 A9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B11D0 000AE130 7C 64 1B 78 */ mr r4, r3 -/* 800B11D4 000AE134 38 61 00 60 */ addi r3, r1, 0x60 -/* 800B11D8 000AE138 4B FF 53 75 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 800B11DC 000AE13C 80 63 00 04 */ lwz r3, 4(r3) -/* 800B11E0 000AE140 28 03 00 00 */ cmplwi r3, 0 -/* 800B11E4 000AE144 41 82 00 18 */ beq lbl_800B11FC -/* 800B11E8 000AE148 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800B11EC 000AE14C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B11F0 000AE150 41 82 00 0C */ beq lbl_800B11FC -/* 800B11F4 000AE154 A0 1F 02 58 */ lhz r0, 0x258(r31) -/* 800B11F8 000AE158 B0 01 00 54 */ sth r0, 0x54(r1) -lbl_800B11FC: -/* 800B11FC 000AE15C A0 61 00 54 */ lhz r3, 0x54(r1) -/* 800B1200 000AE160 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B1204 000AE164 7C 03 00 40 */ cmplw r3, r0 -/* 800B1208 000AE168 40 82 00 2C */ bne lbl_800B1234 -/* 800B120C 000AE16C 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 800B1210 000AE170 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) -/* 800B1214 000AE174 D0 1E 00 00 */ stfs f0, 0(r30) -/* 800B1218 000AE178 C0 03 00 04 */ lfs f0, 4(r3) -/* 800B121C 000AE17C D0 1E 00 04 */ stfs f0, 4(r30) -/* 800B1220 000AE180 C0 03 00 08 */ lfs f0, 8(r3) -/* 800B1224 000AE184 D0 1E 00 08 */ stfs f0, 8(r30) -/* 800B1228 000AE188 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800B122C 000AE18C D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 800B1230 000AE190 48 00 09 A8 */ b lbl_800B1BD8 -lbl_800B1234: -/* 800B1234 000AE194 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800B1238 000AE198 3B 81 09 7C */ addi r28, r1, 0x97c -/* 800B123C 000AE19C 3B 61 01 78 */ addi r27, r1, 0x178 -/* 800B1240 000AE1A0 3B A3 66 A0 */ addi r29, r3, skZero3f@l -/* 800B1244 000AE1A4 48 00 09 58 */ b lbl_800B1B9C -lbl_800B1248: -/* 800B1248 000AE1A8 A0 01 00 54 */ lhz r0, 0x54(r1) -/* 800B124C 000AE1AC 7F 23 CB 78 */ mr r3, r25 -/* 800B1250 000AE1B0 38 81 00 38 */ addi r4, r1, 0x38 -/* 800B1254 000AE1B4 B0 01 00 38 */ sth r0, 0x38(r1) -/* 800B1258 000AE1B8 4B F9 B3 1D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B125C 000AE1BC 7C 64 1B 78 */ mr r4, r3 -/* 800B1260 000AE1C0 38 61 00 58 */ addi r3, r1, 0x58 -/* 800B1264 000AE1C4 4B FF 52 E9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 800B1268 000AE1C8 83 43 00 04 */ lwz r26, 4(r3) -/* 800B126C 000AE1CC 28 1A 00 00 */ cmplwi r26, 0 -/* 800B1270 000AE1D0 40 82 00 10 */ bne lbl_800B1280 -/* 800B1274 000AE1D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B1278 000AE1D8 B0 01 00 54 */ sth r0, 0x54(r1) -/* 800B127C 000AE1DC 48 00 09 30 */ b lbl_800B1BAC -lbl_800B1280: -/* 800B1280 000AE1E0 C0 5A 00 50 */ lfs f2, 0x50(r26) -/* 800B1284 000AE1E4 7F A4 EB 78 */ mr r4, r29 -/* 800B1288 000AE1E8 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 800B128C 000AE1EC 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800B1290 000AE1F0 C0 7A 00 60 */ lfs f3, 0x60(r26) -/* 800B1294 000AE1F4 C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 800B1298 000AE1F8 EC 82 00 28 */ fsubs f4, f2, f0 -/* 800B129C 000AE1FC C0 5A 00 40 */ lfs f2, 0x40(r26) -/* 800B12A0 000AE200 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800B12A4 000AE204 EC 63 08 28 */ fsubs f3, f3, f1 -/* 800B12A8 000AE208 C0 22 8C B8 */ lfs f1, lbl_805AA9D8@sda21(r2) -/* 800B12AC 000AE20C EC 02 00 28 */ fsubs f0, f2, f0 -/* 800B12B0 000AE210 D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 800B12B4 000AE214 D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 800B12B8 000AE218 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 800B12BC 000AE21C 48 25 EC A9 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 800B12C0 000AE220 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B12C4 000AE224 41 82 00 D4 */ beq lbl_800B1398 -/* 800B12C8 000AE228 A0 01 00 54 */ lhz r0, 0x54(r1) -/* 800B12CC 000AE22C 7F 23 CB 78 */ mr r3, r25 -/* 800B12D0 000AE230 7F 44 D3 78 */ mr r4, r26 -/* 800B12D4 000AE234 38 A1 00 34 */ addi r5, r1, 0x34 -/* 800B12D8 000AE238 B0 1F 02 58 */ sth r0, 0x258(r31) -/* 800B12DC 000AE23C 38 C0 00 02 */ li r6, 2 -/* 800B12E0 000AE240 A0 1F 00 08 */ lhz r0, 8(r31) -/* 800B12E4 000AE244 B0 01 00 30 */ sth r0, 0x30(r1) -/* 800B12E8 000AE248 B0 01 00 34 */ sth r0, 0x34(r1) -/* 800B12EC 000AE24C 4B F9 2B E5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 800B12F0 000AE250 C0 5F 02 5C */ lfs f2, 0x25c(r31) -/* 800B12F4 000AE254 C0 22 8C AC */ lfs f1, lbl_805AA9CC@sda21(r2) -/* 800B12F8 000AE258 C8 02 8C C0 */ lfd f0, lbl_805AA9E0@sda21(r2) -/* 800B12FC 000AE25C EC 22 08 28 */ fsubs f1, f2, f1 -/* 800B1300 000AE260 FC 20 0A 10 */ fabs f1, f1 -/* 800B1304 000AE264 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800B1308 000AE268 40 80 00 3C */ bge lbl_800B1344 -/* 800B130C 000AE26C A0 1F 02 58 */ lhz r0, 0x258(r31) -/* 800B1310 000AE270 7F E4 FB 78 */ mr r4, r31 -/* 800B1314 000AE274 7F 26 CB 78 */ mr r6, r25 -/* 800B1318 000AE278 38 61 00 2C */ addi r3, r1, 0x2c -/* 800B131C 000AE27C B0 01 00 28 */ sth r0, 0x28(r1) -/* 800B1320 000AE280 38 A1 00 28 */ addi r5, r1, 0x28 -/* 800B1324 000AE284 48 00 26 A9 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager -/* 800B1328 000AE288 A0 01 00 2C */ lhz r0, 0x2c(r1) -/* 800B132C 000AE28C 7F E3 FB 78 */ mr r3, r31 -/* 800B1330 000AE290 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) -/* 800B1334 000AE294 B0 01 00 54 */ sth r0, 0x54(r1) -/* 800B1338 000AE298 D0 1F 02 5C */ stfs f0, 0x25c(r31) -/* 800B133C 000AE29C 48 06 A0 3D */ bl Stop__13CPhysicsActorFv -/* 800B1340 000AE2A0 48 00 00 28 */ b lbl_800B1368 -lbl_800B1344: -/* 800B1344 000AE2A4 A0 1F 02 58 */ lhz r0, 0x258(r31) -/* 800B1348 000AE2A8 7F E4 FB 78 */ mr r4, r31 -/* 800B134C 000AE2AC 7F 26 CB 78 */ mr r6, r25 -/* 800B1350 000AE2B0 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B1354 000AE2B4 B0 01 00 20 */ sth r0, 0x20(r1) -/* 800B1358 000AE2B8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800B135C 000AE2BC 48 00 26 71 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager -/* 800B1360 000AE2C0 A0 01 00 24 */ lhz r0, 0x24(r1) -/* 800B1364 000AE2C4 B0 01 00 54 */ sth r0, 0x54(r1) -lbl_800B1368: -/* 800B1368 000AE2C8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 800B136C 000AE2CC A0 01 00 54 */ lhz r0, 0x54(r1) -/* 800B1370 000AE2D0 7C 03 00 40 */ cmplw r3, r0 -/* 800B1374 000AE2D4 40 82 08 28 */ bne lbl_800B1B9C -/* 800B1378 000AE2D8 A0 1F 00 08 */ lhz r0, 8(r31) -/* 800B137C 000AE2DC 7F 23 CB 78 */ mr r3, r25 -/* 800B1380 000AE2E0 7F E4 FB 78 */ mr r4, r31 -/* 800B1384 000AE2E4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800B1388 000AE2E8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 800B138C 000AE2EC 38 C0 00 0F */ li r6, 0xf -/* 800B1390 000AE2F0 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 800B1394 000AE2F4 4B F9 2B 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_800B1398: -/* 800B1398 000AE2F8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800B139C 000AE2FC C0 22 8C B8 */ lfs f1, lbl_805AA9D8@sda21(r2) -/* 800B13A0 000AE300 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800B13A4 000AE304 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800B13A8 000AE308 48 25 EB BD */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 800B13AC 000AE30C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B13B0 000AE310 41 82 00 60 */ beq lbl_800B1410 -/* 800B13B4 000AE314 C0 5A 00 40 */ lfs f2, 0x40(r26) -/* 800B13B8 000AE318 FC 20 F8 90 */ fmr f1, f31 -/* 800B13BC 000AE31C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800B13C0 000AE320 7F E3 FB 78 */ mr r3, r31 -/* 800B13C4 000AE324 C0 BA 00 50 */ lfs f5, 0x50(r26) -/* 800B13C8 000AE328 38 81 00 94 */ addi r4, r1, 0x94 -/* 800B13CC 000AE32C C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 800B13D0 000AE330 EC 02 00 28 */ fsubs f0, f2, f0 -/* 800B13D4 000AE334 C0 7A 00 60 */ lfs f3, 0x60(r26) -/* 800B13D8 000AE338 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 800B13DC 000AE33C EC 85 20 28 */ fsubs f4, f5, f4 -/* 800B13E0 000AE340 D0 1F 02 70 */ stfs f0, 0x270(r31) -/* 800B13E4 000AE344 EC 03 10 28 */ fsubs f0, f3, f2 -/* 800B13E8 000AE348 D0 9F 02 74 */ stfs f4, 0x274(r31) -/* 800B13EC 000AE34C D0 1F 02 78 */ stfs f0, 0x278(r31) -/* 800B13F0 000AE350 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 800B13F4 000AE354 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 800B13F8 000AE358 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800B13FC 000AE35C D0 01 00 94 */ stfs f0, 0x94(r1) -/* 800B1400 000AE360 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 800B1404 000AE364 D0 61 00 9C */ stfs f3, 0x9c(r1) -/* 800B1408 000AE368 48 06 9D 01 */ bl MoveToWR__13CPhysicsActorFRC9CVector3ff -/* 800B140C 000AE36C 48 00 01 08 */ b lbl_800B1514 -lbl_800B1410: -/* 800B1410 000AE370 38 61 00 88 */ addi r3, r1, 0x88 -/* 800B1414 000AE374 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 800B1418 000AE378 48 26 34 39 */ bl AsNormalized__9CVector3fCFv -/* 800B141C 000AE37C C0 7F 02 5C */ lfs f3, 0x25c(r31) -/* 800B1420 000AE380 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 800B1424 000AE384 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 800B1428 000AE388 EC 23 00 32 */ fmuls f1, f3, f0 -/* 800B142C 000AE38C C0 01 00 90 */ lfs f0, 0x90(r1) -/* 800B1430 000AE390 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800B1434 000AE394 C0 E1 00 A0 */ lfs f7, 0xa0(r1) -/* 800B1438 000AE398 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 800B143C 000AE39C EC 63 00 32 */ fmuls f3, f3, f0 -/* 800B1440 000AE3A0 EC BF 00 72 */ fmuls f5, f31, f1 -/* 800B1444 000AE3A4 C1 01 00 A8 */ lfs f8, 0xa8(r1) -/* 800B1448 000AE3A8 EC DF 00 B2 */ fmuls f6, f31, f2 -/* 800B144C 000AE3AC EC 27 01 F2 */ fmuls f1, f7, f7 -/* 800B1450 000AE3B0 EC 45 01 72 */ fmuls f2, f5, f5 -/* 800B1454 000AE3B4 EC 04 01 32 */ fmuls f0, f4, f4 -/* 800B1458 000AE3B8 EC 9F 00 F2 */ fmuls f4, f31, f3 -/* 800B145C 000AE3BC EC 66 11 BA */ fmadds f3, f6, f6, f2 -/* 800B1460 000AE3C0 EC 48 02 32 */ fmuls f2, f8, f8 -/* 800B1464 000AE3C4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800B1468 000AE3C8 EC 24 19 3A */ fmadds f1, f4, f4, f3 -/* 800B146C 000AE3CC EC 02 00 2A */ fadds f0, f2, f0 -/* 800B1470 000AE3D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800B1474 000AE3D4 40 81 00 60 */ ble lbl_800B14D4 -/* 800B1478 000AE3D8 C0 5A 00 40 */ lfs f2, 0x40(r26) -/* 800B147C 000AE3DC FC 20 F8 90 */ fmr f1, f31 -/* 800B1480 000AE3E0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800B1484 000AE3E4 7F E3 FB 78 */ mr r3, r31 -/* 800B1488 000AE3E8 C0 BA 00 50 */ lfs f5, 0x50(r26) -/* 800B148C 000AE3EC 38 81 00 7C */ addi r4, r1, 0x7c -/* 800B1490 000AE3F0 C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 800B1494 000AE3F4 EC 02 00 28 */ fsubs f0, f2, f0 -/* 800B1498 000AE3F8 C0 7A 00 60 */ lfs f3, 0x60(r26) -/* 800B149C 000AE3FC C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 800B14A0 000AE400 EC 85 20 28 */ fsubs f4, f5, f4 -/* 800B14A4 000AE404 D0 1F 02 70 */ stfs f0, 0x270(r31) -/* 800B14A8 000AE408 EC 03 10 28 */ fsubs f0, f3, f2 -/* 800B14AC 000AE40C D0 9F 02 74 */ stfs f4, 0x274(r31) -/* 800B14B0 000AE410 D0 1F 02 78 */ stfs f0, 0x278(r31) -/* 800B14B4 000AE414 C0 7A 00 60 */ lfs f3, 0x60(r26) -/* 800B14B8 000AE418 C0 5A 00 50 */ lfs f2, 0x50(r26) -/* 800B14BC 000AE41C C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 800B14C0 000AE420 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 800B14C4 000AE424 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 800B14C8 000AE428 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 800B14CC 000AE42C 48 06 9C 3D */ bl MoveToWR__13CPhysicsActorFRC9CVector3ff -/* 800B14D0 000AE430 48 00 00 44 */ b lbl_800B1514 -lbl_800B14D4: -/* 800B14D4 000AE434 D0 DF 02 70 */ stfs f6, 0x270(r31) -/* 800B14D8 000AE438 FC 20 F8 90 */ fmr f1, f31 -/* 800B14DC 000AE43C 7F E3 FB 78 */ mr r3, r31 -/* 800B14E0 000AE440 38 81 00 70 */ addi r4, r1, 0x70 -/* 800B14E4 000AE444 D0 BF 02 74 */ stfs f5, 0x274(r31) -/* 800B14E8 000AE448 D0 9F 02 78 */ stfs f4, 0x278(r31) -/* 800B14EC 000AE44C C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 800B14F0 000AE450 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 800B14F4 000AE454 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800B14F8 000AE458 EC 63 28 2A */ fadds f3, f3, f5 -/* 800B14FC 000AE45C EC 42 20 2A */ fadds f2, f2, f4 -/* 800B1500 000AE460 EC 00 30 2A */ fadds f0, f0, f6 -/* 800B1504 000AE464 D0 61 00 74 */ stfs f3, 0x74(r1) -/* 800B1508 000AE468 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 800B150C 000AE46C D0 41 00 78 */ stfs f2, 0x78(r1) -/* 800B1510 000AE470 48 06 9B F9 */ bl MoveToWR__13CPhysicsActorFRC9CVector3ff -lbl_800B1514: -/* 800B1514 000AE474 38 00 00 00 */ li r0, 0 -/* 800B1518 000AE478 FC 20 F8 90 */ fmr f1, f31 -/* 800B151C 000AE47C 90 01 09 78 */ stw r0, 0x978(r1) -/* 800B1520 000AE480 7F E4 FB 78 */ mr r4, r31 -/* 800B1524 000AE484 38 61 00 AC */ addi r3, r1, 0xac -/* 800B1528 000AE488 48 06 91 8D */ bl GetMotionVolume__13CPhysicsActorCFf -/* 800B152C 000AE48C C0 A1 00 AC */ lfs f5, 0xac(r1) -/* 800B1530 000AE490 7F 23 CB 78 */ mr r3, r25 -/* 800B1534 000AE494 C0 81 00 B0 */ lfs f4, 0xb0(r1) -/* 800B1538 000AE498 7F E5 FB 78 */ mr r5, r31 -/* 800B153C 000AE49C C0 61 00 B4 */ lfs f3, 0xb4(r1) -/* 800B1540 000AE4A0 38 81 09 78 */ addi r4, r1, 0x978 -/* 800B1544 000AE4A4 C0 41 00 B8 */ lfs f2, 0xb8(r1) -/* 800B1548 000AE4A8 38 C1 00 C4 */ addi r6, r1, 0xc4 -/* 800B154C 000AE4AC C0 21 00 BC */ lfs f1, 0xbc(r1) -/* 800B1550 000AE4B0 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 800B1554 000AE4B4 D0 A1 00 C4 */ stfs f5, 0xc4(r1) -/* 800B1558 000AE4B8 D0 81 00 C8 */ stfs f4, 0xc8(r1) -/* 800B155C 000AE4BC D0 61 00 CC */ stfs f3, 0xcc(r1) -/* 800B1560 000AE4C0 D0 41 00 D0 */ stfs f2, 0xd0(r1) -/* 800B1564 000AE4C4 D0 21 00 D4 */ stfs f1, 0xd4(r1) -/* 800B1568 000AE4C8 D0 01 00 D8 */ stfs f0, 0xd8(r1) -/* 800B156C 000AE4CC 4B F9 B1 91 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" -/* 800B1570 000AE4D0 38 00 00 00 */ li r0, 0 -/* 800B1574 000AE4D4 7F 9A E3 78 */ mr r26, r28 -/* 800B1578 000AE4D8 90 01 01 74 */ stw r0, 0x174(r1) -/* 800B157C 000AE4DC 48 00 00 64 */ b lbl_800B15E0 -lbl_800B1580: -/* 800B1580 000AE4E0 A0 1A 00 00 */ lhz r0, 0(r26) -/* 800B1584 000AE4E4 7F E3 FB 78 */ mr r3, r31 -/* 800B1588 000AE4E8 38 81 00 14 */ addi r4, r1, 0x14 -/* 800B158C 000AE4EC B0 01 00 14 */ sth r0, 0x14(r1) -/* 800B1590 000AE4F0 48 00 07 C1 */ bl IsRider__15CScriptPlatformCF9TUniqueId -/* 800B1594 000AE4F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B1598 000AE4F8 40 82 00 44 */ bne lbl_800B15DC -/* 800B159C 000AE4FC A0 1A 00 00 */ lhz r0, 0(r26) -/* 800B15A0 000AE500 7F E3 FB 78 */ mr r3, r31 -/* 800B15A4 000AE504 38 81 00 10 */ addi r4, r1, 0x10 -/* 800B15A8 000AE508 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B15AC 000AE50C 48 00 06 4D */ bl IsSlave__15CScriptPlatformCF9TUniqueId -/* 800B15B0 000AE510 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B15B4 000AE514 40 82 00 28 */ bne lbl_800B15DC -/* 800B15B8 000AE518 80 01 01 74 */ lwz r0, 0x174(r1) -/* 800B15BC 000AE51C 54 00 08 3C */ slwi r0, r0, 1 -/* 800B15C0 000AE520 7C 7B 02 15 */ add. r3, r27, r0 -/* 800B15C4 000AE524 41 82 00 0C */ beq lbl_800B15D0 -/* 800B15C8 000AE528 A0 1A 00 00 */ lhz r0, 0(r26) -/* 800B15CC 000AE52C B0 03 00 00 */ sth r0, 0(r3) -lbl_800B15D0: -/* 800B15D0 000AE530 80 61 01 74 */ lwz r3, 0x174(r1) -/* 800B15D4 000AE534 38 03 00 01 */ addi r0, r3, 1 -/* 800B15D8 000AE538 90 01 01 74 */ stw r0, 0x174(r1) -lbl_800B15DC: -/* 800B15DC 000AE53C 3B 5A 00 02 */ addi r26, r26, 2 -lbl_800B15E0: -/* 800B15E0 000AE540 80 01 09 78 */ lwz r0, 0x978(r1) -/* 800B15E4 000AE544 54 00 08 3C */ slwi r0, r0, 1 -/* 800B15E8 000AE548 7C 1C 02 14 */ add r0, r28, r0 -/* 800B15EC 000AE54C 7C 1A 00 40 */ cmplw r26, r0 -/* 800B15F0 000AE550 40 82 FF 90 */ bne lbl_800B1580 -/* 800B15F4 000AE554 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B15F8 000AE558 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800B15FC 000AE55C 41 82 04 1C */ beq lbl_800B1A18 -/* 800B1600 000AE560 FC 20 F8 90 */ fmr f1, f31 -/* 800B1604 000AE564 7F E4 FB 78 */ mr r4, r31 -/* 800B1608 000AE568 38 61 01 0C */ addi r3, r1, 0x10c -/* 800B160C 000AE56C 48 06 A6 A5 */ bl PredictMotion__13CPhysicsActorCFf -/* 800B1610 000AE570 C1 81 01 0C */ lfs f12, 0x10c(r1) -/* 800B1614 000AE574 7F E3 FB 78 */ mr r3, r31 -/* 800B1618 000AE578 C1 61 01 10 */ lfs f11, 0x110(r1) -/* 800B161C 000AE57C 38 81 01 40 */ addi r4, r1, 0x140 -/* 800B1620 000AE580 C1 41 01 14 */ lfs f10, 0x114(r1) -/* 800B1624 000AE584 C1 21 01 18 */ lfs f9, 0x118(r1) -/* 800B1628 000AE588 C1 01 01 1C */ lfs f8, 0x11c(r1) -/* 800B162C 000AE58C C0 E1 01 20 */ lfs f7, 0x120(r1) -/* 800B1630 000AE590 C0 C1 01 24 */ lfs f6, 0x124(r1) -/* 800B1634 000AE594 C0 A1 01 28 */ lfs f5, 0x128(r1) -/* 800B1638 000AE598 C0 81 01 2C */ lfs f4, 0x12c(r1) -/* 800B163C 000AE59C C0 61 01 30 */ lfs f3, 0x130(r1) -/* 800B1640 000AE5A0 C0 41 01 34 */ lfs f2, 0x134(r1) -/* 800B1644 000AE5A4 C0 21 01 38 */ lfs f1, 0x138(r1) -/* 800B1648 000AE5A8 C0 01 01 3C */ lfs f0, 0x13c(r1) -/* 800B164C 000AE5AC D1 81 01 40 */ stfs f12, 0x140(r1) -/* 800B1650 000AE5B0 D1 61 01 44 */ stfs f11, 0x144(r1) -/* 800B1654 000AE5B4 D1 41 01 48 */ stfs f10, 0x148(r1) -/* 800B1658 000AE5B8 D1 21 01 4C */ stfs f9, 0x14c(r1) -/* 800B165C 000AE5BC D1 01 01 50 */ stfs f8, 0x150(r1) -/* 800B1660 000AE5C0 D0 E1 01 54 */ stfs f7, 0x154(r1) -/* 800B1664 000AE5C4 D0 C1 01 58 */ stfs f6, 0x158(r1) -/* 800B1668 000AE5C8 D0 A1 01 5C */ stfs f5, 0x15c(r1) -/* 800B166C 000AE5CC D0 81 01 60 */ stfs f4, 0x160(r1) -/* 800B1670 000AE5D0 D0 61 01 64 */ stfs f3, 0x164(r1) -/* 800B1674 000AE5D4 D0 41 01 68 */ stfs f2, 0x168(r1) -/* 800B1678 000AE5D8 D0 21 01 6C */ stfs f1, 0x16c(r1) -/* 800B167C 000AE5DC D0 01 01 70 */ stfs f0, 0x170(r1) -/* 800B1680 000AE5E0 48 06 93 B9 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f -/* 800B1684 000AE5E4 7F E4 FB 78 */ mr r4, r31 -/* 800B1688 000AE5E8 38 61 00 DC */ addi r3, r1, 0xdc -/* 800B168C 000AE5EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 800B1690 000AE5F0 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 800B1694 000AE5F4 7D 89 03 A6 */ mtctr r12 -/* 800B1698 000AE5F8 4E 80 04 21 */ bctrl -/* 800B169C 000AE5FC 7F E3 FB 78 */ mr r3, r31 -/* 800B16A0 000AE600 81 9F 00 00 */ lwz r12, 0(r31) -/* 800B16A4 000AE604 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 800B16A8 000AE608 7D 89 03 A6 */ mtctr r12 -/* 800B16AC 000AE60C 4E 80 04 21 */ bctrl -/* 800B16B0 000AE610 7F 26 CB 78 */ mr r6, r25 -/* 800B16B4 000AE614 38 81 00 DC */ addi r4, r1, 0xdc -/* 800B16B8 000AE618 38 A1 01 74 */ addi r5, r1, 0x174 -/* 800B16BC 000AE61C 48 0D 29 11 */ bl "DetectDynamicCollisionBoolean__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager" -/* 800B16C0 000AE620 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800B16C4 000AE624 7C 7A 1B 78 */ mr r26, r3 -/* 800B16C8 000AE628 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 800B16CC 000AE62C 7F E3 FB 78 */ mr r3, r31 -/* 800B16D0 000AE630 48 06 93 69 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f -/* 800B16D4 000AE634 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 800B16D8 000AE638 40 82 00 10 */ bne lbl_800B16E8 -/* 800B16DC 000AE63C 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B16E0 000AE640 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 800B16E4 000AE644 41 82 02 80 */ beq lbl_800B1964 -lbl_800B16E8: -/* 800B16E8 000AE648 88 7F 03 56 */ lbz r3, 0x356(r31) -/* 800B16EC 000AE64C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 800B16F0 000AE650 41 82 01 CC */ beq lbl_800B18BC -/* 800B16F4 000AE654 C0 3F 02 64 */ lfs f1, 0x264(r31) -/* 800B16F8 000AE658 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) -/* 800B16FC 000AE65C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800B1700 000AE660 4C 40 13 82 */ cror 2, 0, 2 -/* 800B1704 000AE664 40 82 00 BC */ bne lbl_800B17C0 -/* 800B1708 000AE668 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 800B170C 000AE66C 40 82 00 B4 */ bne lbl_800B17C0 -/* 800B1710 000AE670 C0 02 8C C8 */ lfs f0, lbl_805AA9E8@sda21(r2) -/* 800B1714 000AE674 38 60 00 00 */ li r3, 0 -/* 800B1718 000AE678 D0 1F 02 64 */ stfs f0, 0x264(r31) -/* 800B171C 000AE67C 80 A1 01 74 */ lwz r5, 0x174(r1) -/* 800B1720 000AE680 2C 05 00 00 */ cmpwi r5, 0 -/* 800B1724 000AE684 40 81 00 40 */ ble lbl_800B1764 -/* 800B1728 000AE688 2C 05 00 08 */ cmpwi r5, 8 -/* 800B172C 000AE68C 38 85 FF F8 */ addi r4, r5, -8 -/* 800B1730 000AE690 40 81 00 20 */ ble lbl_800B1750 -/* 800B1734 000AE694 38 04 00 07 */ addi r0, r4, 7 -/* 800B1738 000AE698 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B173C 000AE69C 7C 09 03 A6 */ mtctr r0 -/* 800B1740 000AE6A0 2C 04 00 00 */ cmpwi r4, 0 -/* 800B1744 000AE6A4 40 81 00 0C */ ble lbl_800B1750 -lbl_800B1748: -/* 800B1748 000AE6A8 38 63 00 08 */ addi r3, r3, 8 -/* 800B174C 000AE6AC 42 00 FF FC */ bdnz lbl_800B1748 -lbl_800B1750: -/* 800B1750 000AE6B0 7C 03 28 50 */ subf r0, r3, r5 -/* 800B1754 000AE6B4 7C 09 03 A6 */ mtctr r0 -/* 800B1758 000AE6B8 7C 03 28 00 */ cmpw r3, r5 -/* 800B175C 000AE6BC 40 80 00 08 */ bge lbl_800B1764 -lbl_800B1760: -/* 800B1760 000AE6C0 42 00 00 00 */ bdnz lbl_800B1760 -lbl_800B1764: -/* 800B1764 000AE6C4 80 A1 09 78 */ lwz r5, 0x978(r1) -/* 800B1768 000AE6C8 38 60 00 00 */ li r3, 0 -/* 800B176C 000AE6CC 90 61 01 74 */ stw r3, 0x174(r1) -/* 800B1770 000AE6D0 2C 05 00 00 */ cmpwi r5, 0 -/* 800B1774 000AE6D4 40 81 00 40 */ ble lbl_800B17B4 -/* 800B1778 000AE6D8 2C 05 00 08 */ cmpwi r5, 8 -/* 800B177C 000AE6DC 38 85 FF F8 */ addi r4, r5, -8 -/* 800B1780 000AE6E0 40 81 00 20 */ ble lbl_800B17A0 -/* 800B1784 000AE6E4 38 04 00 07 */ addi r0, r4, 7 -/* 800B1788 000AE6E8 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B178C 000AE6EC 7C 09 03 A6 */ mtctr r0 -/* 800B1790 000AE6F0 2C 04 00 00 */ cmpwi r4, 0 -/* 800B1794 000AE6F4 40 81 00 0C */ ble lbl_800B17A0 -lbl_800B1798: -/* 800B1798 000AE6F8 38 63 00 08 */ addi r3, r3, 8 -/* 800B179C 000AE6FC 42 00 FF FC */ bdnz lbl_800B1798 -lbl_800B17A0: -/* 800B17A0 000AE700 7C 03 28 50 */ subf r0, r3, r5 -/* 800B17A4 000AE704 7C 09 03 A6 */ mtctr r0 -/* 800B17A8 000AE708 7C 03 28 00 */ cmpw r3, r5 -/* 800B17AC 000AE70C 40 80 00 08 */ bge lbl_800B17B4 -lbl_800B17B0: -/* 800B17B0 000AE710 42 00 00 00 */ bdnz lbl_800B17B0 -lbl_800B17B4: -/* 800B17B4 000AE714 38 00 00 00 */ li r0, 0 -/* 800B17B8 000AE718 90 01 09 78 */ stw r0, 0x978(r1) -/* 800B17BC 000AE71C 48 00 03 F0 */ b lbl_800B1BAC -lbl_800B17C0: -/* 800B17C0 000AE720 88 7F 03 56 */ lbz r3, 0x356(r31) -/* 800B17C4 000AE724 38 00 00 00 */ li r0, 0 -/* 800B17C8 000AE728 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 800B17CC 000AE72C A0 01 00 54 */ lhz r0, 0x54(r1) -/* 800B17D0 000AE730 98 7F 03 56 */ stb r3, 0x356(r31) -/* 800B17D4 000AE734 7F E4 FB 78 */ mr r4, r31 -/* 800B17D8 000AE738 A3 41 00 54 */ lhz r26, 0x54(r1) -/* 800B17DC 000AE73C 7F 26 CB 78 */ mr r6, r25 -/* 800B17E0 000AE740 B0 01 00 08 */ sth r0, 8(r1) -/* 800B17E4 000AE744 38 61 00 0C */ addi r3, r1, 0xc -/* 800B17E8 000AE748 38 A1 00 08 */ addi r5, r1, 8 -/* 800B17EC 000AE74C 48 00 21 E1 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager -/* 800B17F0 000AE750 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 800B17F4 000AE754 A0 7F 02 5A */ lhz r3, 0x25a(r31) -/* 800B17F8 000AE758 B0 01 00 54 */ sth r0, 0x54(r1) -/* 800B17FC 000AE75C 7C 00 18 40 */ cmplw r0, r3 -/* 800B1800 000AE760 41 82 00 0C */ beq lbl_800B180C -/* 800B1804 000AE764 7C 1A 18 40 */ cmplw r26, r3 -/* 800B1808 000AE768 40 82 02 E8 */ bne lbl_800B1AF0 -lbl_800B180C: -/* 800B180C 000AE76C C0 02 8C C8 */ lfs f0, lbl_805AA9E8@sda21(r2) -/* 800B1810 000AE770 38 60 00 00 */ li r3, 0 -/* 800B1814 000AE774 D0 1F 02 60 */ stfs f0, 0x260(r31) -/* 800B1818 000AE778 80 A1 01 74 */ lwz r5, 0x174(r1) -/* 800B181C 000AE77C 2C 05 00 00 */ cmpwi r5, 0 -/* 800B1820 000AE780 40 81 00 40 */ ble lbl_800B1860 -/* 800B1824 000AE784 2C 05 00 08 */ cmpwi r5, 8 -/* 800B1828 000AE788 38 85 FF F8 */ addi r4, r5, -8 -/* 800B182C 000AE78C 40 81 00 20 */ ble lbl_800B184C -/* 800B1830 000AE790 38 04 00 07 */ addi r0, r4, 7 -/* 800B1834 000AE794 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B1838 000AE798 7C 09 03 A6 */ mtctr r0 -/* 800B183C 000AE79C 2C 04 00 00 */ cmpwi r4, 0 -/* 800B1840 000AE7A0 40 81 00 0C */ ble lbl_800B184C -lbl_800B1844: -/* 800B1844 000AE7A4 38 63 00 08 */ addi r3, r3, 8 -/* 800B1848 000AE7A8 42 00 FF FC */ bdnz lbl_800B1844 -lbl_800B184C: -/* 800B184C 000AE7AC 7C 03 28 50 */ subf r0, r3, r5 -/* 800B1850 000AE7B0 7C 09 03 A6 */ mtctr r0 -/* 800B1854 000AE7B4 7C 03 28 00 */ cmpw r3, r5 -/* 800B1858 000AE7B8 40 80 00 08 */ bge lbl_800B1860 -lbl_800B185C: -/* 800B185C 000AE7BC 42 00 00 00 */ bdnz lbl_800B185C -lbl_800B1860: -/* 800B1860 000AE7C0 80 A1 09 78 */ lwz r5, 0x978(r1) -/* 800B1864 000AE7C4 38 60 00 00 */ li r3, 0 -/* 800B1868 000AE7C8 90 61 01 74 */ stw r3, 0x174(r1) -/* 800B186C 000AE7CC 2C 05 00 00 */ cmpwi r5, 0 -/* 800B1870 000AE7D0 40 81 00 40 */ ble lbl_800B18B0 -/* 800B1874 000AE7D4 2C 05 00 08 */ cmpwi r5, 8 -/* 800B1878 000AE7D8 38 85 FF F8 */ addi r4, r5, -8 -/* 800B187C 000AE7DC 40 81 00 20 */ ble lbl_800B189C -/* 800B1880 000AE7E0 38 04 00 07 */ addi r0, r4, 7 -/* 800B1884 000AE7E4 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B1888 000AE7E8 7C 09 03 A6 */ mtctr r0 -/* 800B188C 000AE7EC 2C 04 00 00 */ cmpwi r4, 0 -/* 800B1890 000AE7F0 40 81 00 0C */ ble lbl_800B189C -lbl_800B1894: -/* 800B1894 000AE7F4 38 63 00 08 */ addi r3, r3, 8 -/* 800B1898 000AE7F8 42 00 FF FC */ bdnz lbl_800B1894 -lbl_800B189C: -/* 800B189C 000AE7FC 7C 03 28 50 */ subf r0, r3, r5 -/* 800B18A0 000AE800 7C 09 03 A6 */ mtctr r0 -/* 800B18A4 000AE804 7C 03 28 00 */ cmpw r3, r5 -/* 800B18A8 000AE808 40 80 00 08 */ bge lbl_800B18B0 -lbl_800B18AC: -/* 800B18AC 000AE80C 42 00 00 00 */ bdnz lbl_800B18AC -lbl_800B18B0: -/* 800B18B0 000AE810 38 00 00 00 */ li r0, 0 -/* 800B18B4 000AE814 90 01 09 78 */ stw r0, 0x978(r1) -/* 800B18B8 000AE818 48 00 02 F4 */ b lbl_800B1BAC -lbl_800B18BC: -/* 800B18BC 000AE81C 80 A1 01 74 */ lwz r5, 0x174(r1) -/* 800B18C0 000AE820 38 60 00 00 */ li r3, 0 -/* 800B18C4 000AE824 2C 05 00 00 */ cmpwi r5, 0 -/* 800B18C8 000AE828 40 81 00 40 */ ble lbl_800B1908 -/* 800B18CC 000AE82C 2C 05 00 08 */ cmpwi r5, 8 -/* 800B18D0 000AE830 38 85 FF F8 */ addi r4, r5, -8 -/* 800B18D4 000AE834 40 81 00 20 */ ble lbl_800B18F4 -/* 800B18D8 000AE838 38 04 00 07 */ addi r0, r4, 7 -/* 800B18DC 000AE83C 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B18E0 000AE840 7C 09 03 A6 */ mtctr r0 -/* 800B18E4 000AE844 2C 04 00 00 */ cmpwi r4, 0 -/* 800B18E8 000AE848 40 81 00 0C */ ble lbl_800B18F4 -lbl_800B18EC: -/* 800B18EC 000AE84C 38 63 00 08 */ addi r3, r3, 8 -/* 800B18F0 000AE850 42 00 FF FC */ bdnz lbl_800B18EC -lbl_800B18F4: -/* 800B18F4 000AE854 7C 03 28 50 */ subf r0, r3, r5 -/* 800B18F8 000AE858 7C 09 03 A6 */ mtctr r0 -/* 800B18FC 000AE85C 7C 03 28 00 */ cmpw r3, r5 -/* 800B1900 000AE860 40 80 00 08 */ bge lbl_800B1908 -lbl_800B1904: -/* 800B1904 000AE864 42 00 00 00 */ bdnz lbl_800B1904 -lbl_800B1908: -/* 800B1908 000AE868 80 A1 09 78 */ lwz r5, 0x978(r1) -/* 800B190C 000AE86C 38 60 00 00 */ li r3, 0 -/* 800B1910 000AE870 90 61 01 74 */ stw r3, 0x174(r1) -/* 800B1914 000AE874 2C 05 00 00 */ cmpwi r5, 0 -/* 800B1918 000AE878 40 81 00 40 */ ble lbl_800B1958 -/* 800B191C 000AE87C 2C 05 00 08 */ cmpwi r5, 8 -/* 800B1920 000AE880 38 85 FF F8 */ addi r4, r5, -8 -/* 800B1924 000AE884 40 81 00 20 */ ble lbl_800B1944 -/* 800B1928 000AE888 38 04 00 07 */ addi r0, r4, 7 -/* 800B192C 000AE88C 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B1930 000AE890 7C 09 03 A6 */ mtctr r0 -/* 800B1934 000AE894 2C 04 00 00 */ cmpwi r4, 0 -/* 800B1938 000AE898 40 81 00 0C */ ble lbl_800B1944 -lbl_800B193C: -/* 800B193C 000AE89C 38 63 00 08 */ addi r3, r3, 8 -/* 800B1940 000AE8A0 42 00 FF FC */ bdnz lbl_800B193C -lbl_800B1944: -/* 800B1944 000AE8A4 7C 03 28 50 */ subf r0, r3, r5 -/* 800B1948 000AE8A8 7C 09 03 A6 */ mtctr r0 -/* 800B194C 000AE8AC 7C 03 28 00 */ cmpw r3, r5 -/* 800B1950 000AE8B0 40 80 00 08 */ bge lbl_800B1958 -lbl_800B1954: -/* 800B1954 000AE8B4 42 00 00 00 */ bdnz lbl_800B1954 -lbl_800B1958: -/* 800B1958 000AE8B8 38 00 00 00 */ li r0, 0 -/* 800B195C 000AE8BC 90 01 09 78 */ stw r0, 0x978(r1) -/* 800B1960 000AE8C0 48 00 02 4C */ b lbl_800B1BAC -lbl_800B1964: -/* 800B1964 000AE8C4 7F E3 FB 78 */ mr r3, r31 -/* 800B1968 000AE8C8 38 81 01 40 */ addi r4, r1, 0x140 -/* 800B196C 000AE8CC 48 06 9B A9 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState -/* 800B1970 000AE8D0 80 A1 01 74 */ lwz r5, 0x174(r1) -/* 800B1974 000AE8D4 38 60 00 00 */ li r3, 0 -/* 800B1978 000AE8D8 2C 05 00 00 */ cmpwi r5, 0 -/* 800B197C 000AE8DC 40 81 00 40 */ ble lbl_800B19BC -/* 800B1980 000AE8E0 2C 05 00 08 */ cmpwi r5, 8 -/* 800B1984 000AE8E4 38 85 FF F8 */ addi r4, r5, -8 -/* 800B1988 000AE8E8 40 81 00 20 */ ble lbl_800B19A8 -/* 800B198C 000AE8EC 38 04 00 07 */ addi r0, r4, 7 -/* 800B1990 000AE8F0 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B1994 000AE8F4 7C 09 03 A6 */ mtctr r0 -/* 800B1998 000AE8F8 2C 04 00 00 */ cmpwi r4, 0 -/* 800B199C 000AE8FC 40 81 00 0C */ ble lbl_800B19A8 -lbl_800B19A0: -/* 800B19A0 000AE900 38 63 00 08 */ addi r3, r3, 8 -/* 800B19A4 000AE904 42 00 FF FC */ bdnz lbl_800B19A0 -lbl_800B19A8: -/* 800B19A8 000AE908 7C 03 28 50 */ subf r0, r3, r5 -/* 800B19AC 000AE90C 7C 09 03 A6 */ mtctr r0 -/* 800B19B0 000AE910 7C 03 28 00 */ cmpw r3, r5 -/* 800B19B4 000AE914 40 80 00 08 */ bge lbl_800B19BC -lbl_800B19B8: -/* 800B19B8 000AE918 42 00 00 00 */ bdnz lbl_800B19B8 -lbl_800B19BC: -/* 800B19BC 000AE91C 80 A1 09 78 */ lwz r5, 0x978(r1) -/* 800B19C0 000AE920 38 60 00 00 */ li r3, 0 -/* 800B19C4 000AE924 90 61 01 74 */ stw r3, 0x174(r1) -/* 800B19C8 000AE928 2C 05 00 00 */ cmpwi r5, 0 -/* 800B19CC 000AE92C 40 81 00 40 */ ble lbl_800B1A0C -/* 800B19D0 000AE930 2C 05 00 08 */ cmpwi r5, 8 -/* 800B19D4 000AE934 38 85 FF F8 */ addi r4, r5, -8 -/* 800B19D8 000AE938 40 81 00 20 */ ble lbl_800B19F8 -/* 800B19DC 000AE93C 38 04 00 07 */ addi r0, r4, 7 -/* 800B19E0 000AE940 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B19E4 000AE944 7C 09 03 A6 */ mtctr r0 -/* 800B19E8 000AE948 2C 04 00 00 */ cmpwi r4, 0 -/* 800B19EC 000AE94C 40 81 00 0C */ ble lbl_800B19F8 -lbl_800B19F0: -/* 800B19F0 000AE950 38 63 00 08 */ addi r3, r3, 8 -/* 800B19F4 000AE954 42 00 FF FC */ bdnz lbl_800B19F0 -lbl_800B19F8: -/* 800B19F8 000AE958 7C 03 28 50 */ subf r0, r3, r5 -/* 800B19FC 000AE95C 7C 09 03 A6 */ mtctr r0 -/* 800B1A00 000AE960 7C 03 28 00 */ cmpw r3, r5 -/* 800B1A04 000AE964 40 80 00 08 */ bge lbl_800B1A0C -lbl_800B1A08: -/* 800B1A08 000AE968 42 00 00 00 */ bdnz lbl_800B1A08 -lbl_800B1A0C: -/* 800B1A0C 000AE96C 38 00 00 00 */ li r0, 0 -/* 800B1A10 000AE970 90 01 09 78 */ stw r0, 0x978(r1) -/* 800B1A14 000AE974 48 00 01 98 */ b lbl_800B1BAC -lbl_800B1A18: -/* 800B1A18 000AE978 88 1F 00 F8 */ lbz r0, 0xf8(r31) -/* 800B1A1C 000AE97C 38 60 00 01 */ li r3, 1 -/* 800B1A20 000AE980 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800B1A24 000AE984 FC 20 F8 90 */ fmr f1, f31 -/* 800B1A28 000AE988 98 1F 00 F8 */ stb r0, 0xf8(r31) -/* 800B1A2C 000AE98C 7F 23 CB 78 */ mr r3, r25 -/* 800B1A30 000AE990 7F E4 FB 78 */ mr r4, r31 -/* 800B1A34 000AE994 38 A1 01 74 */ addi r5, r1, 0x174 -/* 800B1A38 000AE998 48 0D 03 01 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 800B1A3C 000AE99C 38 60 00 00 */ li r3, 0 -/* 800B1A40 000AE9A0 88 1F 00 F8 */ lbz r0, 0xf8(r31) -/* 800B1A44 000AE9A4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800B1A48 000AE9A8 98 1F 00 F8 */ stb r0, 0xf8(r31) -/* 800B1A4C 000AE9AC 80 A1 01 74 */ lwz r5, 0x174(r1) -/* 800B1A50 000AE9B0 2C 05 00 00 */ cmpwi r5, 0 -/* 800B1A54 000AE9B4 40 81 00 40 */ ble lbl_800B1A94 -/* 800B1A58 000AE9B8 2C 05 00 08 */ cmpwi r5, 8 -/* 800B1A5C 000AE9BC 38 85 FF F8 */ addi r4, r5, -8 -/* 800B1A60 000AE9C0 40 81 00 20 */ ble lbl_800B1A80 -/* 800B1A64 000AE9C4 38 04 00 07 */ addi r0, r4, 7 -/* 800B1A68 000AE9C8 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B1A6C 000AE9CC 7C 09 03 A6 */ mtctr r0 -/* 800B1A70 000AE9D0 2C 04 00 00 */ cmpwi r4, 0 -/* 800B1A74 000AE9D4 40 81 00 0C */ ble lbl_800B1A80 -lbl_800B1A78: -/* 800B1A78 000AE9D8 38 63 00 08 */ addi r3, r3, 8 -/* 800B1A7C 000AE9DC 42 00 FF FC */ bdnz lbl_800B1A78 -lbl_800B1A80: -/* 800B1A80 000AE9E0 7C 03 28 50 */ subf r0, r3, r5 -/* 800B1A84 000AE9E4 7C 09 03 A6 */ mtctr r0 -/* 800B1A88 000AE9E8 7C 03 28 00 */ cmpw r3, r5 -/* 800B1A8C 000AE9EC 40 80 00 08 */ bge lbl_800B1A94 -lbl_800B1A90: -/* 800B1A90 000AE9F0 42 00 00 00 */ bdnz lbl_800B1A90 -lbl_800B1A94: -/* 800B1A94 000AE9F4 80 A1 09 78 */ lwz r5, 0x978(r1) -/* 800B1A98 000AE9F8 38 60 00 00 */ li r3, 0 -/* 800B1A9C 000AE9FC 90 61 01 74 */ stw r3, 0x174(r1) -/* 800B1AA0 000AEA00 2C 05 00 00 */ cmpwi r5, 0 -/* 800B1AA4 000AEA04 40 81 00 40 */ ble lbl_800B1AE4 -/* 800B1AA8 000AEA08 2C 05 00 08 */ cmpwi r5, 8 -/* 800B1AAC 000AEA0C 38 85 FF F8 */ addi r4, r5, -8 -/* 800B1AB0 000AEA10 40 81 00 20 */ ble lbl_800B1AD0 -/* 800B1AB4 000AEA14 38 04 00 07 */ addi r0, r4, 7 -/* 800B1AB8 000AEA18 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B1ABC 000AEA1C 7C 09 03 A6 */ mtctr r0 -/* 800B1AC0 000AEA20 2C 04 00 00 */ cmpwi r4, 0 -/* 800B1AC4 000AEA24 40 81 00 0C */ ble lbl_800B1AD0 -lbl_800B1AC8: -/* 800B1AC8 000AEA28 38 63 00 08 */ addi r3, r3, 8 -/* 800B1ACC 000AEA2C 42 00 FF FC */ bdnz lbl_800B1AC8 -lbl_800B1AD0: -/* 800B1AD0 000AEA30 7C 03 28 50 */ subf r0, r3, r5 -/* 800B1AD4 000AEA34 7C 09 03 A6 */ mtctr r0 -/* 800B1AD8 000AEA38 7C 03 28 00 */ cmpw r3, r5 -/* 800B1ADC 000AEA3C 40 80 00 08 */ bge lbl_800B1AE4 -lbl_800B1AE0: -/* 800B1AE0 000AEA40 42 00 00 00 */ bdnz lbl_800B1AE0 -lbl_800B1AE4: -/* 800B1AE4 000AEA44 38 00 00 00 */ li r0, 0 -/* 800B1AE8 000AEA48 90 01 09 78 */ stw r0, 0x978(r1) -/* 800B1AEC 000AEA4C 48 00 00 C0 */ b lbl_800B1BAC -lbl_800B1AF0: -/* 800B1AF0 000AEA50 80 A1 01 74 */ lwz r5, 0x174(r1) -/* 800B1AF4 000AEA54 38 60 00 00 */ li r3, 0 -/* 800B1AF8 000AEA58 2C 05 00 00 */ cmpwi r5, 0 -/* 800B1AFC 000AEA5C 40 81 00 44 */ ble lbl_800B1B40 -/* 800B1B00 000AEA60 2C 05 00 08 */ cmpwi r5, 8 -/* 800B1B04 000AEA64 38 85 FF F8 */ addi r4, r5, -8 -/* 800B1B08 000AEA68 40 81 00 20 */ ble lbl_800B1B28 -/* 800B1B0C 000AEA6C 38 04 00 07 */ addi r0, r4, 7 -/* 800B1B10 000AEA70 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B1B14 000AEA74 7C 09 03 A6 */ mtctr r0 -/* 800B1B18 000AEA78 2C 04 00 00 */ cmpwi r4, 0 -/* 800B1B1C 000AEA7C 40 81 00 0C */ ble lbl_800B1B28 -lbl_800B1B20: -/* 800B1B20 000AEA80 38 63 00 08 */ addi r3, r3, 8 -/* 800B1B24 000AEA84 42 00 FF FC */ bdnz lbl_800B1B20 -lbl_800B1B28: -/* 800B1B28 000AEA88 7C 03 28 50 */ subf r0, r3, r5 -/* 800B1B2C 000AEA8C 7C 09 03 A6 */ mtctr r0 -/* 800B1B30 000AEA90 7C 03 28 00 */ cmpw r3, r5 -/* 800B1B34 000AEA94 40 80 00 0C */ bge lbl_800B1B40 -lbl_800B1B38: -/* 800B1B38 000AEA98 38 63 00 01 */ addi r3, r3, 1 -/* 800B1B3C 000AEA9C 42 00 FF FC */ bdnz lbl_800B1B38 -lbl_800B1B40: -/* 800B1B40 000AEAA0 80 A1 09 78 */ lwz r5, 0x978(r1) -/* 800B1B44 000AEAA4 38 60 00 00 */ li r3, 0 -/* 800B1B48 000AEAA8 90 61 01 74 */ stw r3, 0x174(r1) -/* 800B1B4C 000AEAAC 2C 05 00 00 */ cmpwi r5, 0 -/* 800B1B50 000AEAB0 40 81 00 44 */ ble lbl_800B1B94 -/* 800B1B54 000AEAB4 2C 05 00 08 */ cmpwi r5, 8 -/* 800B1B58 000AEAB8 38 85 FF F8 */ addi r4, r5, -8 -/* 800B1B5C 000AEABC 40 81 00 20 */ ble lbl_800B1B7C -/* 800B1B60 000AEAC0 38 04 00 07 */ addi r0, r4, 7 -/* 800B1B64 000AEAC4 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B1B68 000AEAC8 7C 09 03 A6 */ mtctr r0 -/* 800B1B6C 000AEACC 2C 04 00 00 */ cmpwi r4, 0 -/* 800B1B70 000AEAD0 40 81 00 0C */ ble lbl_800B1B7C -lbl_800B1B74: -/* 800B1B74 000AEAD4 38 63 00 08 */ addi r3, r3, 8 -/* 800B1B78 000AEAD8 42 00 FF FC */ bdnz lbl_800B1B74 -lbl_800B1B7C: -/* 800B1B7C 000AEADC 7C 03 28 50 */ subf r0, r3, r5 -/* 800B1B80 000AEAE0 7C 09 03 A6 */ mtctr r0 -/* 800B1B84 000AEAE4 7C 03 28 00 */ cmpw r3, r5 -/* 800B1B88 000AEAE8 40 80 00 0C */ bge lbl_800B1B94 -lbl_800B1B8C: -/* 800B1B8C 000AEAEC 38 63 00 01 */ addi r3, r3, 1 -/* 800B1B90 000AEAF0 42 00 FF FC */ bdnz lbl_800B1B8C -lbl_800B1B94: -/* 800B1B94 000AEAF4 38 00 00 00 */ li r0, 0 -/* 800B1B98 000AEAF8 90 01 09 78 */ stw r0, 0x978(r1) -lbl_800B1B9C: -/* 800B1B9C 000AEAFC A0 61 00 54 */ lhz r3, 0x54(r1) -/* 800B1BA0 000AEB00 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B1BA4 000AEB04 7C 03 00 40 */ cmplw r3, r0 -/* 800B1BA8 000AEB08 40 82 F6 A0 */ bne lbl_800B1248 -lbl_800B1BAC: -/* 800B1BAC 000AEB0C A0 01 00 54 */ lhz r0, 0x54(r1) -/* 800B1BB0 000AEB10 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 800B1BB4 000AEB14 B0 1F 02 5A */ sth r0, 0x25a(r31) -/* 800B1BB8 000AEB18 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) -/* 800B1BBC 000AEB1C D0 1E 00 00 */ stfs f0, 0(r30) -/* 800B1BC0 000AEB20 C0 03 00 04 */ lfs f0, 4(r3) -/* 800B1BC4 000AEB24 D0 1E 00 04 */ stfs f0, 4(r30) -/* 800B1BC8 000AEB28 C0 03 00 08 */ lfs f0, 8(r3) -/* 800B1BCC 000AEB2C D0 1E 00 08 */ stfs f0, 8(r30) -/* 800B1BD0 000AEB30 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800B1BD4 000AEB34 D0 1E 00 0C */ stfs f0, 0xc(r30) -lbl_800B1BD8: -/* 800B1BD8 000AEB38 38 00 11 A8 */ li r0, 0x11a8 -/* 800B1BDC 000AEB3C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 -/* 800B1BE0 000AEB40 CB E1 11 A0 */ lfd f31, 0x11a0(r1) -/* 800B1BE4 000AEB44 BB 21 11 84 */ lmw r25, 0x1184(r1) -/* 800B1BE8 000AEB48 80 01 11 B4 */ lwz r0, 0x11b4(r1) -/* 800B1BEC 000AEB4C 7C 08 03 A6 */ mtlr r0 -/* 800B1BF0 000AEB50 38 21 11 B0 */ addi r1, r1, 0x11b0 -/* 800B1BF4 000AEB54 4E 80 00 20 */ blr - -.global IsSlave__15CScriptPlatformCF9TUniqueId -IsSlave__15CScriptPlatformCF9TUniqueId: -/* 800B1BF8 000AEB58 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 800B1BFC 000AEB5C 7C 08 02 A6 */ mflr r0 -/* 800B1C00 000AEB60 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) -/* 800B1C04 000AEB64 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 800B1C08 000AEB68 93 E1 00 AC */ stw r31, 0xac(r1) -/* 800B1C0C 000AEB6C 7C 9F 23 78 */ mr r31, r4 -/* 800B1C10 000AEB70 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 800B1C14 000AEB74 7C 7E 1B 78 */ mr r30, r3 -/* 800B1C18 000AEB78 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 800B1C1C 000AEB7C 80 03 03 2C */ lwz r0, 0x32c(r3) -/* 800B1C20 000AEB80 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800B1C24 000AEB84 80 DE 03 34 */ lwz r6, 0x334(r30) -/* 800B1C28 000AEB88 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800B1C2C 000AEB8C 1C A0 00 38 */ mulli r5, r0, 0x38 -/* 800B1C30 000AEB90 A0 1F 00 00 */ lhz r0, 0(r31) -/* 800B1C34 000AEB94 90 C1 00 28 */ stw r6, 0x28(r1) -/* 800B1C38 000AEB98 38 61 00 70 */ addi r3, r1, 0x70 -/* 800B1C3C 000AEB9C 7F A6 2A 14 */ add r29, r6, r5 -/* 800B1C40 000AEBA0 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 800B1C44 000AEBA4 93 A1 00 20 */ stw r29, 0x20(r1) -/* 800B1C48 000AEBA8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800B1C4C 000AEBAC B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B1C50 000AEBB0 B0 01 00 68 */ sth r0, 0x68(r1) -/* 800B1C54 000AEBB4 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800B1C58 000AEBB8 48 26 0F 1D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B1C5C 000AEBBC A0 A1 00 68 */ lhz r5, 0x68(r1) -/* 800B1C60 000AEBC0 7F A4 EB 78 */ mr r4, r29 -/* 800B1C64 000AEBC4 48 00 00 10 */ b lbl_800B1C74 -lbl_800B1C68: -/* 800B1C68 000AEBC8 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800B1C6C 000AEBCC 38 03 00 38 */ addi r0, r3, 0x38 -/* 800B1C70 000AEBD0 90 01 00 2C */ stw r0, 0x2c(r1) -lbl_800B1C74: -/* 800B1C74 000AEBD4 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800B1C78 000AEBD8 7C 00 20 40 */ cmplw r0, r4 -/* 800B1C7C 000AEBDC 41 82 00 14 */ beq lbl_800B1C90 -/* 800B1C80 000AEBE0 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800B1C84 000AEBE4 A0 03 00 00 */ lhz r0, 0(r3) -/* 800B1C88 000AEBE8 7C 00 28 40 */ cmplw r0, r5 -/* 800B1C8C 000AEBEC 40 82 FF DC */ bne lbl_800B1C68 -lbl_800B1C90: -/* 800B1C90 000AEBF0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800B1C94 000AEBF4 7C 60 E8 50 */ subf r3, r0, r29 -/* 800B1C98 000AEBF8 7C 1D 00 50 */ subf r0, r29, r0 -/* 800B1C9C 000AEBFC 7C 60 03 78 */ or r0, r3, r0 -/* 800B1CA0 000AEC00 54 03 0F FF */ rlwinm. r3, r0, 1, 0x1f, 0x1f -/* 800B1CA4 000AEC04 40 82 00 90 */ bne lbl_800B1D34 -/* 800B1CA8 000AEC08 80 1E 03 3C */ lwz r0, 0x33c(r30) -/* 800B1CAC 000AEC0C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800B1CB0 000AEC10 80 DE 03 44 */ lwz r6, 0x344(r30) -/* 800B1CB4 000AEC14 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800B1CB8 000AEC18 1C A0 00 38 */ mulli r5, r0, 0x38 -/* 800B1CBC 000AEC1C A0 1F 00 00 */ lhz r0, 0(r31) -/* 800B1CC0 000AEC20 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) -/* 800B1CC4 000AEC24 38 61 00 38 */ addi r3, r1, 0x38 -/* 800B1CC8 000AEC28 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800B1CCC 000AEC2C 7F A6 2A 14 */ add r29, r6, r5 -/* 800B1CD0 000AEC30 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800B1CD4 000AEC34 93 A1 00 18 */ stw r29, 0x18(r1) -/* 800B1CD8 000AEC38 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 800B1CDC 000AEC3C B0 01 00 08 */ sth r0, 8(r1) -/* 800B1CE0 000AEC40 B0 01 00 30 */ sth r0, 0x30(r1) -/* 800B1CE4 000AEC44 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800B1CE8 000AEC48 48 26 0E 8D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B1CEC 000AEC4C A0 A1 00 30 */ lhz r5, 0x30(r1) -/* 800B1CF0 000AEC50 7F A4 EB 78 */ mr r4, r29 -/* 800B1CF4 000AEC54 48 00 00 10 */ b lbl_800B1D04 -lbl_800B1CF8: -/* 800B1CF8 000AEC58 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800B1CFC 000AEC5C 38 03 00 38 */ addi r0, r3, 0x38 -/* 800B1D00 000AEC60 90 01 00 14 */ stw r0, 0x14(r1) -lbl_800B1D04: -/* 800B1D04 000AEC64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B1D08 000AEC68 7C 00 20 40 */ cmplw r0, r4 -/* 800B1D0C 000AEC6C 41 82 00 14 */ beq lbl_800B1D20 -/* 800B1D10 000AEC70 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800B1D14 000AEC74 A0 03 00 00 */ lhz r0, 0(r3) -/* 800B1D18 000AEC78 7C 00 28 40 */ cmplw r0, r5 -/* 800B1D1C 000AEC7C 40 82 FF DC */ bne lbl_800B1CF8 -lbl_800B1D20: -/* 800B1D20 000AEC80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B1D24 000AEC84 7C 60 E8 50 */ subf r3, r0, r29 -/* 800B1D28 000AEC88 7C 1D 00 50 */ subf r0, r29, r0 -/* 800B1D2C 000AEC8C 7C 60 03 78 */ or r0, r3, r0 -/* 800B1D30 000AEC90 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_800B1D34: -/* 800B1D34 000AEC94 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 800B1D38 000AEC98 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 800B1D3C 000AEC9C 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 800B1D40 000AECA0 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 800B1D44 000AECA4 7C 08 03 A6 */ mtlr r0 -/* 800B1D48 000AECA8 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 800B1D4C 000AECAC 4E 80 00 20 */ blr - -.global IsRider__15CScriptPlatformCF9TUniqueId -IsRider__15CScriptPlatformCF9TUniqueId: -/* 800B1D50 000AECB0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800B1D54 000AECB4 7C 08 02 A6 */ mflr r0 -/* 800B1D58 000AECB8 3C A0 80 5A */ lis r5, skIdentity4f@ha -/* 800B1D5C 000AECBC C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) -/* 800B1D60 000AECC0 90 01 00 64 */ stw r0, 0x64(r1) -/* 800B1D64 000AECC4 38 05 66 70 */ addi r0, r5, skIdentity4f@l -/* 800B1D68 000AECC8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800B1D6C 000AECCC 80 C3 03 1C */ lwz r6, 0x31c(r3) -/* 800B1D70 000AECD0 80 E3 03 24 */ lwz r7, 0x324(r3) -/* 800B1D74 000AECD4 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B1D78 000AECD8 1C C6 00 38 */ mulli r6, r6, 0x38 -/* 800B1D7C 000AECDC A0 A4 00 00 */ lhz r5, 0(r4) -/* 800B1D80 000AECE0 90 E1 00 14 */ stw r7, 0x14(r1) -/* 800B1D84 000AECE4 7C 04 03 78 */ mr r4, r0 -/* 800B1D88 000AECE8 7F E7 32 14 */ add r31, r7, r6 -/* 800B1D8C 000AECEC 90 E1 00 18 */ stw r7, 0x18(r1) -/* 800B1D90 000AECF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B1D94 000AECF4 93 E1 00 10 */ stw r31, 0x10(r1) -/* 800B1D98 000AECF8 B0 A1 00 08 */ sth r5, 8(r1) -/* 800B1D9C 000AECFC B0 A1 00 1C */ sth r5, 0x1c(r1) -/* 800B1DA0 000AED00 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800B1DA4 000AED04 48 26 0D D1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B1DA8 000AED08 A0 A1 00 1C */ lhz r5, 0x1c(r1) -/* 800B1DAC 000AED0C 7F E4 FB 78 */ mr r4, r31 -/* 800B1DB0 000AED10 48 00 00 10 */ b lbl_800B1DC0 -lbl_800B1DB4: -/* 800B1DB4 000AED14 80 61 00 18 */ lwz r3, 0x18(r1) -/* 800B1DB8 000AED18 38 03 00 38 */ addi r0, r3, 0x38 -/* 800B1DBC 000AED1C 90 01 00 18 */ stw r0, 0x18(r1) -lbl_800B1DC0: -/* 800B1DC0 000AED20 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800B1DC4 000AED24 7C 00 20 40 */ cmplw r0, r4 -/* 800B1DC8 000AED28 41 82 00 14 */ beq lbl_800B1DDC -/* 800B1DCC 000AED2C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 800B1DD0 000AED30 A0 03 00 00 */ lhz r0, 0(r3) -/* 800B1DD4 000AED34 7C 00 28 40 */ cmplw r0, r5 -/* 800B1DD8 000AED38 40 82 FF DC */ bne lbl_800B1DB4 -lbl_800B1DDC: -/* 800B1DDC 000AED3C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800B1DE0 000AED40 7C 60 F8 50 */ subf r3, r0, r31 -/* 800B1DE4 000AED44 7C 1F 00 50 */ subf r0, r31, r0 -/* 800B1DE8 000AED48 7C 60 03 78 */ or r0, r3, r0 -/* 800B1DEC 000AED4C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 800B1DF0 000AED50 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800B1DF4 000AED54 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800B1DF8 000AED58 7C 08 03 A6 */ mtlr r0 -/* 800B1DFC 000AED5C 38 21 00 60 */ addi r1, r1, 0x60 -/* 800B1E00 000AED60 4E 80 00 20 */ blr - -.global sub_800b1e04 -sub_800b1e04: -/* 800B1E04 000AED64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B1E08 000AED68 7C 08 02 A6 */ mflr r0 -/* 800B1E0C 000AED6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B1E10 000AED70 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B1E14 000AED74 7C 7F 1B 78 */ mr r31, r3 -/* 800B1E18 000AED78 80 C5 00 00 */ lwz r6, 0(r5) -/* 800B1E1C 000AED7C 80 05 00 00 */ lwz r0, 0(r5) -/* 800B1E20 000AED80 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800B1E24 000AED84 38 E6 00 38 */ addi r7, r6, 0x38 -/* 800B1E28 000AED88 38 C1 00 0C */ addi r6, r1, 0xc -/* 800B1E2C 000AED8C 90 E1 00 08 */ stw r7, 8(r1) -/* 800B1E30 000AED90 90 E1 00 0C */ stw r7, 0xc(r1) -/* 800B1E34 000AED94 90 01 00 10 */ stw r0, 0x10(r1) -/* 800B1E38 000AED98 48 00 00 19 */ bl sub_800b1e50 -/* 800B1E3C 000AED9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B1E40 000AEDA0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B1E44 000AEDA4 7C 08 03 A6 */ mtlr r0 -/* 800B1E48 000AEDA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B1E4C 000AEDAC 4E 80 00 20 */ blr - -.global sub_800b1e50 -sub_800b1e50: -/* 800B1E50 000AEDB0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B1E54 000AEDB4 7C 08 02 A6 */ mflr r0 -/* 800B1E58 000AEDB8 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B1E5C 000AEDBC BF 41 00 18 */ stmw r26, 0x18(r1) -/* 800B1E60 000AEDC0 7C BF 2B 78 */ mr r31, r5 -/* 800B1E64 000AEDC4 7C 7D 1B 78 */ mr r29, r3 -/* 800B1E68 000AEDC8 7C 9E 23 78 */ mr r30, r4 -/* 800B1E6C 000AEDCC 80 06 00 00 */ lwz r0, 0(r6) -/* 800B1E70 000AEDD0 80 A5 00 00 */ lwz r5, 0(r5) -/* 800B1E74 000AEDD4 90 01 00 08 */ stw r0, 8(r1) -/* 800B1E78 000AEDD8 90 A1 00 0C */ stw r5, 0xc(r1) -/* 800B1E7C 000AEDDC 48 00 00 08 */ b lbl_800B1E84 -lbl_800B1E80: -/* 800B1E80 000AEDE0 38 A5 00 38 */ addi r5, r5, 0x38 -lbl_800B1E84: -/* 800B1E84 000AEDE4 7C 05 00 40 */ cmplw r5, r0 -/* 800B1E88 000AEDE8 40 82 FF F8 */ bne lbl_800B1E80 -/* 800B1E8C 000AEDEC 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 800B1E90 000AEDF0 3C 60 92 49 */ lis r3, 0x92492493@ha -/* 800B1E94 000AEDF4 80 1F 00 00 */ lwz r0, 0(r31) -/* 800B1E98 000AEDF8 38 63 24 93 */ addi r3, r3, 0x92492493@l -/* 800B1E9C 000AEDFC 83 86 00 00 */ lwz r28, 0(r6) -/* 800B1EA0 000AEE00 7C 04 00 50 */ subf r0, r4, r0 -/* 800B1EA4 000AEE04 7C 63 00 96 */ mulhw r3, r3, r0 -/* 800B1EA8 000AEE08 7C 03 02 14 */ add r0, r3, r0 -/* 800B1EAC 000AEE0C 7C 00 2E 70 */ srawi r0, r0, 5 -/* 800B1EB0 000AEE10 54 03 0F FE */ srwi r3, r0, 0x1f -/* 800B1EB4 000AEE14 7C 60 1A 14 */ add r3, r0, r3 -/* 800B1EB8 000AEE18 1C 03 00 38 */ mulli r0, r3, 0x38 -/* 800B1EBC 000AEE1C 7C 7A 1B 78 */ mr r26, r3 -/* 800B1EC0 000AEE20 7F 64 02 14 */ add r27, r4, r0 -/* 800B1EC4 000AEE24 48 00 00 34 */ b lbl_800B1EF8 -lbl_800B1EC8: -/* 800B1EC8 000AEE28 28 1B 00 00 */ cmplwi r27, 0 -/* 800B1ECC 000AEE2C 41 82 00 20 */ beq lbl_800B1EEC -/* 800B1ED0 000AEE30 A0 1C 00 00 */ lhz r0, 0(r28) -/* 800B1ED4 000AEE34 38 7B 00 08 */ addi r3, r27, 8 -/* 800B1ED8 000AEE38 38 9C 00 08 */ addi r4, r28, 8 -/* 800B1EDC 000AEE3C B0 1B 00 00 */ sth r0, 0(r27) -/* 800B1EE0 000AEE40 C0 1C 00 04 */ lfs f0, 4(r28) -/* 800B1EE4 000AEE44 D0 1B 00 04 */ stfs f0, 4(r27) -/* 800B1EE8 000AEE48 48 26 0C 8D */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_800B1EEC: -/* 800B1EEC 000AEE4C 3B 7B 00 38 */ addi r27, r27, 0x38 -/* 800B1EF0 000AEE50 3B 5A 00 01 */ addi r26, r26, 1 -/* 800B1EF4 000AEE54 3B 9C 00 38 */ addi r28, r28, 0x38 -lbl_800B1EF8: -/* 800B1EF8 000AEE58 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B1EFC 000AEE5C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800B1F00 000AEE60 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B1F04 000AEE64 7C 03 02 14 */ add r0, r3, r0 -/* 800B1F08 000AEE68 7C 1C 00 40 */ cmplw r28, r0 -/* 800B1F0C 000AEE6C 40 82 FF BC */ bne lbl_800B1EC8 -/* 800B1F10 000AEE70 93 5E 00 04 */ stw r26, 4(r30) -/* 800B1F14 000AEE74 80 1F 00 00 */ lwz r0, 0(r31) -/* 800B1F18 000AEE78 90 1D 00 00 */ stw r0, 0(r29) -/* 800B1F1C 000AEE7C BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800B1F20 000AEE80 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B1F24 000AEE84 7C 08 03 A6 */ mtlr r0 -/* 800B1F28 000AEE88 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B1F2C 000AEE8C 4E 80 00 20 */ blr - -.global AddSlave__15CScriptPlatformF9TUniqueIdR13CStateManager -AddSlave__15CScriptPlatformF9TUniqueIdR13CStateManager: -/* 800B1F30 000AEE90 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 800B1F34 000AEE94 7C 08 02 A6 */ mflr r0 -/* 800B1F38 000AEE98 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) -/* 800B1F3C 000AEE9C 90 01 01 44 */ stw r0, 0x144(r1) -/* 800B1F40 000AEEA0 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 800B1F44 000AEEA4 7C BF 2B 78 */ mr r31, r5 -/* 800B1F48 000AEEA8 93 C1 01 38 */ stw r30, 0x138(r1) -/* 800B1F4C 000AEEAC 7C 9E 23 78 */ mr r30, r4 -/* 800B1F50 000AEEB0 93 A1 01 34 */ stw r29, 0x134(r1) -/* 800B1F54 000AEEB4 7C 7D 1B 78 */ mr r29, r3 -/* 800B1F58 000AEEB8 93 81 01 30 */ stw r28, 0x130(r1) -/* 800B1F5C 000AEEBC 80 03 03 3C */ lwz r0, 0x33c(r3) -/* 800B1F60 000AEEC0 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800B1F64 000AEEC4 80 DD 03 44 */ lwz r6, 0x344(r29) -/* 800B1F68 000AEEC8 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800B1F6C 000AEECC 1C 60 00 38 */ mulli r3, r0, 0x38 -/* 800B1F70 000AEED0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800B1F74 000AEED4 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800B1F78 000AEED8 7C A6 1A 14 */ add r5, r6, r3 -/* 800B1F7C 000AEEDC 90 C1 00 24 */ stw r6, 0x24(r1) -/* 800B1F80 000AEEE0 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 800B1F84 000AEEE4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800B1F88 000AEEE8 90 A1 00 18 */ stw r5, 0x18(r1) -/* 800B1F8C 000AEEEC 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 800B1F90 000AEEF0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B1F94 000AEEF4 B0 01 00 C8 */ sth r0, 0xc8(r1) -/* 800B1F98 000AEEF8 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 800B1F9C 000AEEFC 48 26 0B D9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B1FA0 000AEF00 A0 A1 00 C8 */ lhz r5, 0xc8(r1) -/* 800B1FA4 000AEF04 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 800B1FA8 000AEF08 48 00 00 10 */ b lbl_800B1FB8 -lbl_800B1FAC: -/* 800B1FAC 000AEF0C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 800B1FB0 000AEF10 38 04 00 38 */ addi r0, r4, 0x38 -/* 800B1FB4 000AEF14 90 01 00 24 */ stw r0, 0x24(r1) -lbl_800B1FB8: -/* 800B1FB8 000AEF18 80 81 00 24 */ lwz r4, 0x24(r1) -/* 800B1FBC 000AEF1C 7C 04 18 40 */ cmplw r4, r3 -/* 800B1FC0 000AEF20 41 82 00 10 */ beq lbl_800B1FD0 -/* 800B1FC4 000AEF24 A0 04 00 00 */ lhz r0, 0(r4) -/* 800B1FC8 000AEF28 7C 00 28 40 */ cmplw r0, r5 -/* 800B1FCC 000AEF2C 40 82 FF E0 */ bne lbl_800B1FAC -lbl_800B1FD0: -/* 800B1FD0 000AEF30 80 61 00 24 */ lwz r3, 0x24(r1) -/* 800B1FD4 000AEF34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B1FD8 000AEF38 7C 03 00 40 */ cmplw r3, r0 -/* 800B1FDC 000AEF3C 40 82 01 00 */ bne lbl_800B20DC -/* 800B1FE0 000AEF40 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800B1FE4 000AEF44 7F E3 FB 78 */ mr r3, r31 -/* 800B1FE8 000AEF48 38 81 00 0C */ addi r4, r1, 0xc -/* 800B1FEC 000AEF4C B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B1FF0 000AEF50 4B F9 A5 85 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B1FF4 000AEF54 7C 64 1B 78 */ mr r4, r3 -/* 800B1FF8 000AEF58 38 61 00 28 */ addi r3, r1, 0x28 -/* 800B1FFC 000AEF5C 4B FF DC 95 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800B2000 000AEF60 83 83 00 04 */ lwz r28, 4(r3) -/* 800B2004 000AEF64 28 1C 00 00 */ cmplwi r28, 0 -/* 800B2008 000AEF68 41 82 00 D4 */ beq lbl_800B20DC -/* 800B200C 000AEF6C 7F 83 E3 78 */ mr r3, r28 -/* 800B2010 000AEF70 7F E5 FB 78 */ mr r5, r31 -/* 800B2014 000AEF74 38 80 00 34 */ li r4, 0x34 -/* 800B2018 000AEF78 4B FA 23 39 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 800B201C 000AEF7C 38 61 00 68 */ addi r3, r1, 0x68 -/* 800B2020 000AEF80 38 9D 00 34 */ addi r4, r29, 0x34 -/* 800B2024 000AEF84 48 26 0C 79 */ bl GetQuickInverse__12CTransform4fCFv -/* 800B2028 000AEF88 38 61 00 98 */ addi r3, r1, 0x98 -/* 800B202C 000AEF8C 38 81 00 68 */ addi r4, r1, 0x68 -/* 800B2030 000AEF90 38 BC 00 34 */ addi r5, r28, 0x34 -/* 800B2034 000AEF94 48 26 09 1D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800B2038 000AEF98 38 61 01 00 */ addi r3, r1, 0x100 -/* 800B203C 000AEF9C 38 81 00 98 */ addi r4, r1, 0x98 -/* 800B2040 000AEFA0 48 26 0B 35 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B2044 000AEFA4 80 9D 03 3C */ lwz r4, 0x33c(r29) -/* 800B2048 000AEFA8 38 7D 03 38 */ addi r3, r29, 0x338 -/* 800B204C 000AEFAC 38 84 00 01 */ addi r4, r4, 1 -/* 800B2050 000AEFB0 48 00 23 B5 */ bl sub_800b4404 -/* 800B2054 000AEFB4 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800B2058 000AEFB8 3B C1 00 38 */ addi r30, r1, 0x38 -/* 800B205C 000AEFBC C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) -/* 800B2060 000AEFC0 7F C3 F3 78 */ mr r3, r30 -/* 800B2064 000AEFC4 B0 01 00 08 */ sth r0, 8(r1) -/* 800B2068 000AEFC8 38 81 01 00 */ addi r4, r1, 0x100 -/* 800B206C 000AEFCC B0 01 00 30 */ sth r0, 0x30(r1) -/* 800B2070 000AEFD0 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800B2074 000AEFD4 48 26 0B 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B2078 000AEFD8 80 1D 03 3C */ lwz r0, 0x33c(r29) -/* 800B207C 000AEFDC 80 BD 03 40 */ lwz r5, 0x340(r29) -/* 800B2080 000AEFE0 7C 00 28 00 */ cmpw r0, r5 -/* 800B2084 000AEFE4 41 80 00 1C */ blt lbl_800B20A0 -/* 800B2088 000AEFE8 2C 05 00 00 */ cmpwi r5, 0 -/* 800B208C 000AEFEC 38 7D 03 38 */ addi r3, r29, 0x338 -/* 800B2090 000AEFF0 38 80 00 04 */ li r4, 4 -/* 800B2094 000AEFF4 41 82 00 08 */ beq lbl_800B209C -/* 800B2098 000AEFF8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B209C: -/* 800B209C 000AEFFC 48 00 23 69 */ bl sub_800b4404 -lbl_800B20A0: -/* 800B20A0 000AF000 80 1D 03 3C */ lwz r0, 0x33c(r29) -/* 800B20A4 000AF004 80 7D 03 44 */ lwz r3, 0x344(r29) -/* 800B20A8 000AF008 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B20AC 000AF00C 7C A3 02 15 */ add. r5, r3, r0 -/* 800B20B0 000AF010 41 82 00 20 */ beq lbl_800B20D0 -/* 800B20B4 000AF014 A0 01 00 30 */ lhz r0, 0x30(r1) -/* 800B20B8 000AF018 7F C4 F3 78 */ mr r4, r30 -/* 800B20BC 000AF01C 38 65 00 08 */ addi r3, r5, 8 -/* 800B20C0 000AF020 B0 05 00 00 */ sth r0, 0(r5) -/* 800B20C4 000AF024 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 800B20C8 000AF028 D0 05 00 04 */ stfs f0, 4(r5) -/* 800B20CC 000AF02C 48 26 0A A9 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_800B20D0: -/* 800B20D0 000AF030 80 7D 03 3C */ lwz r3, 0x33c(r29) -/* 800B20D4 000AF034 38 03 00 01 */ addi r0, r3, 1 -/* 800B20D8 000AF038 90 1D 03 3C */ stw r0, 0x33c(r29) -lbl_800B20DC: -/* 800B20DC 000AF03C 80 01 01 44 */ lwz r0, 0x144(r1) -/* 800B20E0 000AF040 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 800B20E4 000AF044 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 800B20E8 000AF048 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 800B20EC 000AF04C 83 81 01 30 */ lwz r28, 0x130(r1) -/* 800B20F0 000AF050 7C 08 03 A6 */ mtlr r0 -/* 800B20F4 000AF054 38 21 01 40 */ addi r1, r1, 0x140 -/* 800B20F8 000AF058 4E 80 00 20 */ blr - -.global SplashThink__15CScriptPlatformCFRC6CAABoxRC11CFluidPlanefR13CStateManager -SplashThink__15CScriptPlatformCFRC6CAABoxRC11CFluidPlanefR13CStateManager: -/* 800B20FC 000AF05C 4E 80 00 20 */ blr - -.global GetPrimitiveTransform__15CScriptPlatformCFv -GetPrimitiveTransform__15CScriptPlatformCFv: -/* 800B2100 000AF060 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800B2104 000AF064 7C 08 02 A6 */ mflr r0 -/* 800B2108 000AF068 90 01 00 54 */ stw r0, 0x54(r1) -/* 800B210C 000AF06C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800B2110 000AF070 7C 9F 23 78 */ mr r31, r4 -/* 800B2114 000AF074 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800B2118 000AF078 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800B211C 000AF07C 7C 7E 1B 78 */ mr r30, r3 -/* 800B2120 000AF080 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B2124 000AF084 48 26 0A 51 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B2128 000AF088 7F E4 FB 78 */ mr r4, r31 -/* 800B212C 000AF08C 38 61 00 08 */ addi r3, r1, 8 -/* 800B2130 000AF090 48 06 84 FD */ bl GetPrimitiveOffset__13CPhysicsActorCFv -/* 800B2134 000AF094 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 800B2138 000AF098 7F C3 F3 78 */ mr r3, r30 -/* 800B213C 000AF09C C0 01 00 08 */ lfs f0, 8(r1) -/* 800B2140 000AF0A0 38 81 00 14 */ addi r4, r1, 0x14 -/* 800B2144 000AF0A4 C0 61 00 30 */ lfs f3, 0x30(r1) -/* 800B2148 000AF0A8 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 800B214C 000AF0AC EC 81 00 2A */ fadds f4, f1, f0 -/* 800B2150 000AF0B0 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 800B2154 000AF0B4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800B2158 000AF0B8 EC 43 10 2A */ fadds f2, f3, f2 -/* 800B215C 000AF0BC D0 81 00 20 */ stfs f4, 0x20(r1) -/* 800B2160 000AF0C0 EC 01 00 2A */ fadds f0, f1, f0 -/* 800B2164 000AF0C4 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 800B2168 000AF0C8 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800B216C 000AF0CC 48 26 0A 09 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B2170 000AF0D0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800B2174 000AF0D4 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800B2178 000AF0D8 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800B217C 000AF0DC 7C 08 03 A6 */ mtlr r0 -/* 800B2180 000AF0E0 38 21 00 50 */ addi r1, r1, 0x50 -/* 800B2184 000AF0E4 4E 80 00 20 */ blr - -.global GetCollisionPrimitive__15CScriptPlatformCFv -GetCollisionPrimitive__15CScriptPlatformCFv: -/* 800B2188 000AF0E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B218C 000AF0EC 7C 08 02 A6 */ mflr r0 -/* 800B2190 000AF0F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B2194 000AF0F4 80 03 03 14 */ lwz r0, 0x314(r3) -/* 800B2198 000AF0F8 28 00 00 00 */ cmplwi r0, 0 -/* 800B219C 000AF0FC 40 82 00 0C */ bne lbl_800B21A8 -/* 800B21A0 000AF100 48 06 88 B5 */ bl GetCollisionPrimitive__13CPhysicsActorCFv -/* 800B21A4 000AF104 48 00 00 08 */ b lbl_800B21AC -lbl_800B21A8: -/* 800B21A8 000AF108 7C 03 03 78 */ mr r3, r0 -lbl_800B21AC: -/* 800B21AC 000AF10C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B21B0 000AF110 7C 08 03 A6 */ mtlr r0 -/* 800B21B4 000AF114 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B21B8 000AF118 4E 80 00 20 */ blr - -.global Accept__15CScriptPlatformFR8IVisitor -Accept__15CScriptPlatformFR8IVisitor: -/* 800B21BC 000AF11C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B21C0 000AF120 7C 08 02 A6 */ mflr r0 -/* 800B21C4 000AF124 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B21C8 000AF128 7C 60 1B 78 */ mr r0, r3 -/* 800B21CC 000AF12C 7C 83 23 78 */ mr r3, r4 -/* 800B21D0 000AF130 81 84 00 00 */ lwz r12, 0(r4) -/* 800B21D4 000AF134 7C 04 03 78 */ mr r4, r0 -/* 800B21D8 000AF138 81 8C 00 9C */ lwz r12, 0x9c(r12) -/* 800B21DC 000AF13C 7D 89 03 A6 */ mtctr r12 -/* 800B21E0 000AF140 4E 80 04 21 */ bctrl -/* 800B21E4 000AF144 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B21E8 000AF148 7C 08 03 A6 */ mtlr r0 -/* 800B21EC 000AF14C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B21F0 000AF150 4E 80 00 20 */ blr - -.global AcceptScriptMsg__15CScriptPlatformF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__15CScriptPlatformF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800B21F4 000AF154 94 21 F7 60 */ stwu r1, -0x8a0(r1) -/* 800B21F8 000AF158 7C 08 02 A6 */ mflr r0 -/* 800B21FC 000AF15C 90 01 08 A4 */ stw r0, 0x8a4(r1) -/* 800B2200 000AF160 BF 61 08 8C */ stmw r27, 0x88c(r1) -/* 800B2204 000AF164 7C 9D 23 78 */ mr r29, r4 -/* 800B2208 000AF168 38 1D FF FB */ addi r0, r29, -5 -/* 800B220C 000AF16C 7C 7C 1B 78 */ mr r28, r3 -/* 800B2210 000AF170 28 00 00 1E */ cmplwi r0, 0x1e -/* 800B2214 000AF174 7C BE 2B 78 */ mr r30, r5 -/* 800B2218 000AF178 7C DF 33 78 */ mr r31, r6 -/* 800B221C 000AF17C 41 81 03 60 */ bgt lbl_800B257C -/* 800B2220 000AF180 3C 80 80 3E */ lis r4, lbl_803DF2AC@ha -/* 800B2224 000AF184 54 00 10 3A */ slwi r0, r0, 2 -/* 800B2228 000AF188 38 84 F2 AC */ addi r4, r4, lbl_803DF2AC@l -/* 800B222C 000AF18C 7C 04 00 2E */ lwzx r0, r4, r0 -/* 800B2230 000AF190 7C 09 03 A6 */ mtctr r0 -/* 800B2234 000AF194 4E 80 04 20 */ bctr -/* 800B2238 000AF198 7F E4 FB 78 */ mr r4, r31 -/* 800B223C 000AF19C 48 00 08 15 */ bl BuildSlaveList__15CScriptPlatformFR13CStateManager -/* 800B2240 000AF1A0 48 00 03 3C */ b lbl_800B257C -/* 800B2244 000AF1A4 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800B2248 000AF1A8 7F 85 E3 78 */ mr r5, r28 -/* 800B224C 000AF1AC 38 7C 03 18 */ addi r3, r28, 0x318 -/* 800B2250 000AF1B0 38 81 00 64 */ addi r4, r1, 0x64 -/* 800B2254 000AF1B4 B0 01 00 64 */ sth r0, 0x64(r1) -/* 800B2258 000AF1B8 48 00 15 79 */ bl "AddRider__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>9TUniqueIdPC13CPhysicsActorR13CStateManager" -/* 800B225C 000AF1BC 48 00 03 20 */ b lbl_800B257C -/* 800B2260 000AF1C0 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) -/* 800B2264 000AF1C4 D0 1C 02 5C */ stfs f0, 0x25c(r28) -/* 800B2268 000AF1C8 48 06 91 11 */ bl Stop__13CPhysicsActorFv -/* 800B226C 000AF1CC 48 00 03 10 */ b lbl_800B257C -/* 800B2270 000AF1D0 A0 1C 02 58 */ lhz r0, 0x258(r28) -/* 800B2274 000AF1D4 7F 84 E3 78 */ mr r4, r28 -/* 800B2278 000AF1D8 38 61 00 60 */ addi r3, r1, 0x60 -/* 800B227C 000AF1DC 38 A1 00 5C */ addi r5, r1, 0x5c -/* 800B2280 000AF1E0 B0 01 00 5C */ sth r0, 0x5c(r1) -/* 800B2284 000AF1E4 48 00 17 49 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager -/* 800B2288 000AF1E8 A0 01 00 60 */ lhz r0, 0x60(r1) -/* 800B228C 000AF1EC B0 1C 02 5A */ sth r0, 0x25a(r28) -/* 800B2290 000AF1F0 A0 7C 02 5A */ lhz r3, 0x25a(r28) -/* 800B2294 000AF1F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B2298 000AF1F8 7C 03 00 40 */ cmplw r3, r0 -/* 800B229C 000AF1FC 40 82 00 28 */ bne lbl_800B22C4 -/* 800B22A0 000AF200 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800B22A4 000AF204 7F E3 FB 78 */ mr r3, r31 -/* 800B22A8 000AF208 7F 84 E3 78 */ mr r4, r28 -/* 800B22AC 000AF20C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 800B22B0 000AF210 B0 01 00 54 */ sth r0, 0x54(r1) -/* 800B22B4 000AF214 38 C0 00 0F */ li r6, 0xf -/* 800B22B8 000AF218 B0 01 00 58 */ sth r0, 0x58(r1) -/* 800B22BC 000AF21C 4B F9 1C 15 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 800B22C0 000AF220 48 00 02 BC */ b lbl_800B257C -lbl_800B22C4: -/* 800B22C4 000AF224 A0 1C 02 5A */ lhz r0, 0x25a(r28) -/* 800B22C8 000AF228 7F E3 FB 78 */ mr r3, r31 -/* 800B22CC 000AF22C 38 81 00 50 */ addi r4, r1, 0x50 -/* 800B22D0 000AF230 B0 01 00 50 */ sth r0, 0x50(r1) -/* 800B22D4 000AF234 4B F9 A2 A1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B22D8 000AF238 7C 64 1B 78 */ mr r4, r3 -/* 800B22DC 000AF23C 38 61 00 70 */ addi r3, r1, 0x70 -/* 800B22E0 000AF240 4B FF 42 6D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 800B22E4 000AF244 83 63 00 04 */ lwz r27, 4(r3) -/* 800B22E8 000AF248 28 1B 00 00 */ cmplwi r27, 0 -/* 800B22EC 000AF24C 41 82 02 90 */ beq lbl_800B257C -/* 800B22F0 000AF250 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) -/* 800B22F4 000AF254 7F 83 E3 78 */ mr r3, r28 -/* 800B22F8 000AF258 D0 1C 02 5C */ stfs f0, 0x25c(r28) -/* 800B22FC 000AF25C 48 06 90 7D */ bl Stop__13CPhysicsActorFv -/* 800B2300 000AF260 C0 3B 00 40 */ lfs f1, 0x40(r27) -/* 800B2304 000AF264 7F 83 E3 78 */ mr r3, r28 -/* 800B2308 000AF268 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 800B230C 000AF26C 38 81 00 78 */ addi r4, r1, 0x78 -/* 800B2310 000AF270 C0 9B 00 50 */ lfs f4, 0x50(r27) -/* 800B2314 000AF274 C0 7C 00 50 */ lfs f3, 0x50(r28) -/* 800B2318 000AF278 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800B231C 000AF27C C0 5B 00 60 */ lfs f2, 0x60(r27) -/* 800B2320 000AF280 C0 3C 00 60 */ lfs f1, 0x60(r28) -/* 800B2324 000AF284 EC 64 18 28 */ fsubs f3, f4, f3 -/* 800B2328 000AF288 D0 1C 02 70 */ stfs f0, 0x270(r28) -/* 800B232C 000AF28C EC 02 08 28 */ fsubs f0, f2, f1 -/* 800B2330 000AF290 D0 7C 02 74 */ stfs f3, 0x274(r28) -/* 800B2334 000AF294 D0 1C 02 78 */ stfs f0, 0x278(r28) -/* 800B2338 000AF298 C0 5B 00 60 */ lfs f2, 0x60(r27) -/* 800B233C 000AF29C C0 3B 00 50 */ lfs f1, 0x50(r27) -/* 800B2340 000AF2A0 C0 1B 00 40 */ lfs f0, 0x40(r27) -/* 800B2344 000AF2A4 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 800B2348 000AF2A8 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 800B234C 000AF2AC D0 41 00 80 */ stfs f2, 0x80(r1) -/* 800B2350 000AF2B0 4B FA 0B 3D */ bl SetTranslation__6CActorFRC9CVector3f -/* 800B2354 000AF2B4 A0 1C 02 5A */ lhz r0, 0x25a(r28) -/* 800B2358 000AF2B8 7F 84 E3 78 */ mr r4, r28 -/* 800B235C 000AF2BC 7F E6 FB 78 */ mr r6, r31 -/* 800B2360 000AF2C0 38 61 00 4C */ addi r3, r1, 0x4c -/* 800B2364 000AF2C4 B0 1C 02 58 */ sth r0, 0x258(r28) -/* 800B2368 000AF2C8 38 A1 00 48 */ addi r5, r1, 0x48 -/* 800B236C 000AF2CC A0 1C 02 58 */ lhz r0, 0x258(r28) -/* 800B2370 000AF2D0 B0 01 00 48 */ sth r0, 0x48(r1) -/* 800B2374 000AF2D4 48 00 16 59 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager -/* 800B2378 000AF2D8 A0 01 00 4C */ lhz r0, 0x4c(r1) -/* 800B237C 000AF2DC 7F E3 FB 78 */ mr r3, r31 -/* 800B2380 000AF2E0 7F 64 DB 78 */ mr r4, r27 -/* 800B2384 000AF2E4 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800B2388 000AF2E8 B0 1C 02 5A */ sth r0, 0x25a(r28) -/* 800B238C 000AF2EC 38 C0 00 02 */ li r6, 2 -/* 800B2390 000AF2F0 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800B2394 000AF2F4 B0 01 00 40 */ sth r0, 0x40(r1) -/* 800B2398 000AF2F8 B0 01 00 44 */ sth r0, 0x44(r1) -/* 800B239C 000AF2FC 4B F9 1B 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 800B23A0 000AF300 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 800B23A4 000AF304 2C 00 00 00 */ cmpwi r0, 0 -/* 800B23A8 000AF308 40 82 00 10 */ bne lbl_800B23B8 -/* 800B23AC 000AF30C 80 1C 03 3C */ lwz r0, 0x33c(r28) -/* 800B23B0 000AF310 2C 00 00 00 */ cmpwi r0, 0 -/* 800B23B4 000AF314 41 82 00 74 */ beq lbl_800B2428 -lbl_800B23B8: -/* 800B23B8 000AF318 38 00 00 00 */ li r0, 0 -/* 800B23BC 000AF31C 7F 83 E3 78 */ mr r3, r28 -/* 800B23C0 000AF320 90 01 00 84 */ stw r0, 0x84(r1) -/* 800B23C4 000AF324 7F E4 FB 78 */ mr r4, r31 -/* 800B23C8 000AF328 38 A1 00 84 */ addi r5, r1, 0x84 -/* 800B23CC 000AF32C 38 DC 02 70 */ addi r6, r28, 0x270 -/* 800B23D0 000AF330 48 00 04 1D */ bl "DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f" -/* 800B23D4 000AF334 80 A1 00 84 */ lwz r5, 0x84(r1) -/* 800B23D8 000AF338 38 60 00 00 */ li r3, 0 -/* 800B23DC 000AF33C 2C 05 00 00 */ cmpwi r5, 0 -/* 800B23E0 000AF340 40 81 00 40 */ ble lbl_800B2420 -/* 800B23E4 000AF344 2C 05 00 08 */ cmpwi r5, 8 -/* 800B23E8 000AF348 38 85 FF F8 */ addi r4, r5, -8 -/* 800B23EC 000AF34C 40 81 00 20 */ ble lbl_800B240C -/* 800B23F0 000AF350 38 04 00 07 */ addi r0, r4, 7 -/* 800B23F4 000AF354 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B23F8 000AF358 7C 09 03 A6 */ mtctr r0 -/* 800B23FC 000AF35C 2C 04 00 00 */ cmpwi r4, 0 -/* 800B2400 000AF360 40 81 00 0C */ ble lbl_800B240C -lbl_800B2404: -/* 800B2404 000AF364 38 63 00 08 */ addi r3, r3, 8 -/* 800B2408 000AF368 42 00 FF FC */ bdnz lbl_800B2404 -lbl_800B240C: -/* 800B240C 000AF36C 7C 03 28 50 */ subf r0, r3, r5 -/* 800B2410 000AF370 7C 09 03 A6 */ mtctr r0 -/* 800B2414 000AF374 7C 03 28 00 */ cmpw r3, r5 -/* 800B2418 000AF378 40 80 00 08 */ bge lbl_800B2420 -lbl_800B241C: -/* 800B241C 000AF37C 42 00 00 00 */ bdnz lbl_800B241C -lbl_800B2420: -/* 800B2420 000AF380 38 00 00 00 */ li r0, 0 -/* 800B2424 000AF384 90 01 00 84 */ stw r0, 0x84(r1) -lbl_800B2428: -/* 800B2428 000AF388 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800B242C 000AF38C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 800B2430 000AF390 D0 1C 02 70 */ stfs f0, 0x270(r28) -/* 800B2434 000AF394 C0 03 00 04 */ lfs f0, 4(r3) -/* 800B2438 000AF398 D0 1C 02 74 */ stfs f0, 0x274(r28) -/* 800B243C 000AF39C C0 03 00 08 */ lfs f0, 8(r3) -/* 800B2440 000AF3A0 D0 1C 02 78 */ stfs f0, 0x278(r28) -/* 800B2444 000AF3A4 48 00 01 38 */ b lbl_800B257C -/* 800B2448 000AF3A8 A0 1C 02 58 */ lhz r0, 0x258(r28) -/* 800B244C 000AF3AC 7F 84 E3 78 */ mr r4, r28 -/* 800B2450 000AF3B0 38 61 00 3C */ addi r3, r1, 0x3c -/* 800B2454 000AF3B4 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800B2458 000AF3B8 B0 01 00 38 */ sth r0, 0x38(r1) -/* 800B245C 000AF3BC 48 00 15 71 */ bl GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager -/* 800B2460 000AF3C0 A0 01 00 3C */ lhz r0, 0x3c(r1) -/* 800B2464 000AF3C4 B0 1C 02 5A */ sth r0, 0x25a(r28) -/* 800B2468 000AF3C8 A0 7C 02 5A */ lhz r3, 0x25a(r28) -/* 800B246C 000AF3CC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B2470 000AF3D0 7C 03 00 40 */ cmplw r3, r0 -/* 800B2474 000AF3D4 40 82 00 28 */ bne lbl_800B249C -/* 800B2478 000AF3D8 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800B247C 000AF3DC 7F E3 FB 78 */ mr r3, r31 -/* 800B2480 000AF3E0 7F 84 E3 78 */ mr r4, r28 -/* 800B2484 000AF3E4 38 A1 00 34 */ addi r5, r1, 0x34 -/* 800B2488 000AF3E8 B0 01 00 30 */ sth r0, 0x30(r1) -/* 800B248C 000AF3EC 38 C0 00 0F */ li r6, 0xf -/* 800B2490 000AF3F0 B0 01 00 34 */ sth r0, 0x34(r1) -/* 800B2494 000AF3F4 4B F9 1A 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 800B2498 000AF3F8 48 00 00 E4 */ b lbl_800B257C -lbl_800B249C: -/* 800B249C 000AF3FC A0 1C 02 5A */ lhz r0, 0x25a(r28) -/* 800B24A0 000AF400 7F E3 FB 78 */ mr r3, r31 -/* 800B24A4 000AF404 38 81 00 2C */ addi r4, r1, 0x2c -/* 800B24A8 000AF408 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 800B24AC 000AF40C 4B F9 A0 F9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800B24B0 000AF410 7C 64 1B 78 */ mr r4, r3 -/* 800B24B4 000AF414 38 61 00 68 */ addi r3, r1, 0x68 -/* 800B24B8 000AF418 4B FF 40 95 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 800B24BC 000AF41C 80 63 00 04 */ lwz r3, 4(r3) -/* 800B24C0 000AF420 28 03 00 00 */ cmplwi r3, 0 -/* 800B24C4 000AF424 41 82 00 B8 */ beq lbl_800B257C -/* 800B24C8 000AF428 C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 800B24CC 000AF42C D0 1C 02 5C */ stfs f0, 0x25c(r28) -/* 800B24D0 000AF430 48 00 00 AC */ b lbl_800B257C -/* 800B24D4 000AF434 88 1C 03 56 */ lbz r0, 0x356(r28) -/* 800B24D8 000AF438 38 60 00 00 */ li r3, 0 -/* 800B24DC 000AF43C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800B24E0 000AF440 98 1C 03 56 */ stb r0, 0x356(r28) -/* 800B24E4 000AF444 C0 1C 02 8C */ lfs f0, 0x28c(r28) -/* 800B24E8 000AF448 D0 1C 02 94 */ stfs f0, 0x294(r28) -/* 800B24EC 000AF44C C0 1C 02 90 */ lfs f0, 0x290(r28) -/* 800B24F0 000AF450 D0 1C 02 98 */ stfs f0, 0x298(r28) -/* 800B24F4 000AF454 48 00 00 88 */ b lbl_800B257C -/* 800B24F8 000AF458 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800B24FC 000AF45C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B2500 000AF460 40 82 00 24 */ bne lbl_800B2524 -/* 800B2504 000AF464 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800B2508 000AF468 7F E3 FB 78 */ mr r3, r31 -/* 800B250C 000AF46C 7F 84 E3 78 */ mr r4, r28 -/* 800B2510 000AF470 38 A1 00 28 */ addi r5, r1, 0x28 -/* 800B2514 000AF474 B0 01 00 24 */ sth r0, 0x24(r1) -/* 800B2518 000AF478 38 C0 00 01 */ li r6, 1 -/* 800B251C 000AF47C B0 01 00 28 */ sth r0, 0x28(r1) -/* 800B2520 000AF480 4B F9 19 B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_800B2524: -/* 800B2524 000AF484 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800B2528 000AF488 7F E4 FB 78 */ mr r4, r31 -/* 800B252C 000AF48C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B2530 000AF490 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800B2534 000AF494 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 800B2538 000AF498 B0 01 00 18 */ sth r0, 0x18(r1) -/* 800B253C 000AF49C C0 3C 02 68 */ lfs f1, 0x268(r28) -/* 800B2540 000AF4A0 48 14 F4 69 */ bl FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf -/* 800B2544 000AF4A4 48 00 00 38 */ b lbl_800B257C -/* 800B2548 000AF4A8 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800B254C 000AF4AC 7F E4 FB 78 */ mr r4, r31 -/* 800B2550 000AF4B0 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B2554 000AF4B4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800B2558 000AF4B8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B255C 000AF4BC B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B2560 000AF4C0 C0 3C 02 6C */ lfs f1, 0x26c(r28) -/* 800B2564 000AF4C4 48 14 F2 15 */ bl FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf -/* 800B2568 000AF4C8 48 00 00 14 */ b lbl_800B257C -/* 800B256C 000AF4CC C0 22 8C D0 */ lfs f1, lbl_805AA9F0@sda21(r2) -/* 800B2570 000AF4D0 7F E4 FB 78 */ mr r4, r31 -/* 800B2574 000AF4D4 38 7C 03 18 */ addi r3, r28, 0x318 -/* 800B2578 000AF4D8 48 00 10 2D */ bl "DecayRiders__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>fR13CStateManager" -lbl_800B257C: -/* 800B257C 000AF4DC A0 1E 00 00 */ lhz r0, 0(r30) -/* 800B2580 000AF4E0 7F 83 E3 78 */ mr r3, r28 -/* 800B2584 000AF4E4 7F A4 EB 78 */ mr r4, r29 -/* 800B2588 000AF4E8 7F E6 FB 78 */ mr r6, r31 -/* 800B258C 000AF4EC B0 01 00 08 */ sth r0, 8(r1) -/* 800B2590 000AF4F0 38 A1 00 08 */ addi r5, r1, 8 -/* 800B2594 000AF4F4 4B FA 10 81 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800B2598 000AF4F8 BB 61 08 8C */ lmw r27, 0x88c(r1) -/* 800B259C 000AF4FC 80 01 08 A4 */ lwz r0, 0x8a4(r1) -/* 800B25A0 000AF500 7C 08 03 A6 */ mtlr r0 -/* 800B25A4 000AF504 38 21 08 A0 */ addi r1, r1, 0x8a0 -/* 800B25A8 000AF508 4E 80 00 20 */ blr - -.global GetDamageVulnerability__15CScriptPlatformCFv -GetDamageVulnerability__15CScriptPlatformCFv: -/* 800B25AC 000AF50C 38 63 02 9C */ addi r3, r3, 0x29c -/* 800B25B0 000AF510 4E 80 00 20 */ blr - -.global HealthInfo__15CScriptPlatformFR13CStateManager -HealthInfo__15CScriptPlatformFR13CStateManager: -/* 800B25B4 000AF514 38 63 02 94 */ addi r3, r3, 0x294 -/* 800B25B8 000AF518 4E 80 00 20 */ blr - -.global sub_800b25bc -sub_800b25bc: -/* 800B25BC 000AF51C 80 04 00 00 */ lwz r0, 0(r4) -/* 800B25C0 000AF520 38 A4 00 04 */ addi r5, r4, 4 -/* 800B25C4 000AF524 A0 63 00 00 */ lhz r3, 0(r3) -/* 800B25C8 000AF528 54 00 08 3C */ slwi r0, r0, 1 -/* 800B25CC 000AF52C 7C 84 02 14 */ add r4, r4, r0 -/* 800B25D0 000AF530 54 63 05 BE */ clrlwi r3, r3, 0x16 -/* 800B25D4 000AF534 38 84 00 04 */ addi r4, r4, 4 -/* 800B25D8 000AF538 48 00 00 1C */ b lbl_800B25F4 -lbl_800B25DC: -/* 800B25DC 000AF53C A0 05 00 00 */ lhz r0, 0(r5) -/* 800B25E0 000AF540 7C 03 00 40 */ cmplw r3, r0 -/* 800B25E4 000AF544 40 82 00 0C */ bne lbl_800B25F0 -/* 800B25E8 000AF548 38 60 00 01 */ li r3, 1 -/* 800B25EC 000AF54C 4E 80 00 20 */ blr -lbl_800B25F0: -/* 800B25F0 000AF550 38 A5 00 02 */ addi r5, r5, 2 -lbl_800B25F4: -/* 800B25F4 000AF554 7C 05 20 40 */ cmplw r5, r4 -/* 800B25F8 000AF558 40 82 FF E4 */ bne lbl_800B25DC -/* 800B25FC 000AF55C 38 60 00 00 */ li r3, 0 -/* 800B2600 000AF560 4E 80 00 20 */ blr - -.global Think__15CScriptPlatformFfR13CStateManager -Think__15CScriptPlatformFfR13CStateManager: -/* 800B2604 000AF564 94 21 F7 D0 */ stwu r1, -0x830(r1) -/* 800B2608 000AF568 7C 08 02 A6 */ mflr r0 -/* 800B260C 000AF56C 90 01 08 34 */ stw r0, 0x834(r1) -/* 800B2610 000AF570 93 E1 08 2C */ stw r31, 0x82c(r1) -/* 800B2614 000AF574 7C 9F 23 78 */ mr r31, r4 -/* 800B2618 000AF578 93 C1 08 28 */ stw r30, 0x828(r1) -/* 800B261C 000AF57C 7C 7E 1B 78 */ mr r30, r3 -/* 800B2620 000AF580 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800B2624 000AF584 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B2628 000AF588 41 82 01 AC */ beq lbl_800B27D4 -/* 800B262C 000AF58C 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 800B2630 000AF590 38 60 00 00 */ li r3, 0 -/* 800B2634 000AF594 28 04 00 00 */ cmplwi r4, 0 -/* 800B2638 000AF598 41 82 00 14 */ beq lbl_800B264C -/* 800B263C 000AF59C 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800B2640 000AF5A0 28 00 00 00 */ cmplwi r0, 0 -/* 800B2644 000AF5A4 41 82 00 08 */ beq lbl_800B264C -/* 800B2648 000AF5A8 38 60 00 01 */ li r3, 1 -lbl_800B264C: -/* 800B264C 000AF5AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B2650 000AF5B0 41 82 00 A0 */ beq lbl_800B26F0 -/* 800B2654 000AF5B4 88 1E 03 56 */ lbz r0, 0x356(r30) -/* 800B2658 000AF5B8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800B265C 000AF5BC 40 82 00 18 */ bne lbl_800B2674 -/* 800B2660 000AF5C0 7F C4 F3 78 */ mr r4, r30 -/* 800B2664 000AF5C4 7F E5 FB 78 */ mr r5, r31 -/* 800B2668 000AF5C8 38 61 00 08 */ addi r3, r1, 8 -/* 800B266C 000AF5CC 38 C0 00 01 */ li r6, 1 -/* 800B2670 000AF5D0 4B FA 2C 2D */ bl UpdateAnimation__6CActorFfR13CStateManagerb -lbl_800B2674: -/* 800B2674 000AF5D4 88 1E 03 56 */ lbz r0, 0x356(r30) -/* 800B2678 000AF5D8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 800B267C 000AF5DC 41 82 00 74 */ beq lbl_800B26F0 -/* 800B2680 000AF5E0 80 7F 08 50 */ lwz r3, 0x850(r31) -/* 800B2684 000AF5E4 80 9F 08 80 */ lwz r4, 0x880(r31) -/* 800B2688 000AF5E8 80 03 00 C4 */ lwz r0, 0xc4(r3) -/* 800B268C 000AF5EC 2C 00 00 02 */ cmpwi r0, 2 -/* 800B2690 000AF5F0 40 82 00 60 */ bne lbl_800B26F0 -/* 800B2694 000AF5F4 80 BE 00 64 */ lwz r5, 0x64(r30) -/* 800B2698 000AF5F8 38 60 00 00 */ li r3, 0 -/* 800B269C 000AF5FC 28 05 00 00 */ cmplwi r5, 0 -/* 800B26A0 000AF600 41 82 00 20 */ beq lbl_800B26C0 -/* 800B26A4 000AF604 80 05 00 10 */ lwz r0, 0x10(r5) -/* 800B26A8 000AF608 28 00 00 00 */ cmplwi r0, 0 -/* 800B26AC 000AF60C 40 82 00 10 */ bne lbl_800B26BC -/* 800B26B0 000AF610 88 05 00 28 */ lbz r0, 0x28(r5) -/* 800B26B4 000AF614 28 00 00 00 */ cmplwi r0, 0 -/* 800B26B8 000AF618 41 82 00 08 */ beq lbl_800B26C0 -lbl_800B26BC: -/* 800B26BC 000AF61C 38 60 00 01 */ li r3, 1 -lbl_800B26C0: -/* 800B26C0 000AF620 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B26C4 000AF624 41 82 00 2C */ beq lbl_800B26F0 -/* 800B26C8 000AF628 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 800B26CC 000AF62C C0 22 8C AC */ lfs f1, lbl_805AA9CC@sda21(r2) -/* 800B26D0 000AF630 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800B26D4 000AF634 41 82 00 1C */ beq lbl_800B26F0 -/* 800B26D8 000AF638 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 800B26DC 000AF63C 7F C4 F3 78 */ mr r4, r30 -/* 800B26E0 000AF640 80 DE 03 4C */ lwz r6, 0x34c(r30) -/* 800B26E4 000AF644 7F E5 FB 78 */ mr r5, r31 -/* 800B26E8 000AF648 80 FE 03 50 */ lwz r7, 0x350(r30) -/* 800B26EC 000AF64C 48 13 28 25 */ bl AddRainSplashGenerator__20CActorModelParticlesFR6CActorR13CStateManageriif -lbl_800B26F0: -/* 800B26F0 000AF650 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 800B26F4 000AF654 2C 00 00 00 */ cmpwi r0, 0 -/* 800B26F8 000AF658 40 82 00 10 */ bne lbl_800B2708 -/* 800B26FC 000AF65C 80 1E 03 3C */ lwz r0, 0x33c(r30) -/* 800B2700 000AF660 2C 00 00 00 */ cmpwi r0, 0 -/* 800B2704 000AF664 41 82 00 74 */ beq lbl_800B2778 -lbl_800B2708: -/* 800B2708 000AF668 38 00 00 00 */ li r0, 0 -/* 800B270C 000AF66C 7F C3 F3 78 */ mr r3, r30 -/* 800B2710 000AF670 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B2714 000AF674 7F E4 FB 78 */ mr r4, r31 -/* 800B2718 000AF678 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800B271C 000AF67C 38 DE 02 70 */ addi r6, r30, 0x270 -/* 800B2720 000AF680 48 00 00 CD */ bl "DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f" -/* 800B2724 000AF684 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 800B2728 000AF688 38 60 00 00 */ li r3, 0 -/* 800B272C 000AF68C 2C 05 00 00 */ cmpwi r5, 0 -/* 800B2730 000AF690 40 81 00 40 */ ble lbl_800B2770 -/* 800B2734 000AF694 2C 05 00 08 */ cmpwi r5, 8 -/* 800B2738 000AF698 38 85 FF F8 */ addi r4, r5, -8 -/* 800B273C 000AF69C 40 81 00 20 */ ble lbl_800B275C -/* 800B2740 000AF6A0 38 04 00 07 */ addi r0, r4, 7 -/* 800B2744 000AF6A4 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B2748 000AF6A8 7C 09 03 A6 */ mtctr r0 -/* 800B274C 000AF6AC 2C 04 00 00 */ cmpwi r4, 0 -/* 800B2750 000AF6B0 40 81 00 0C */ ble lbl_800B275C -lbl_800B2754: -/* 800B2754 000AF6B4 38 63 00 08 */ addi r3, r3, 8 -/* 800B2758 000AF6B8 42 00 FF FC */ bdnz lbl_800B2754 -lbl_800B275C: -/* 800B275C 000AF6BC 7C 03 28 50 */ subf r0, r3, r5 -/* 800B2760 000AF6C0 7C 09 03 A6 */ mtctr r0 -/* 800B2764 000AF6C4 7C 03 28 00 */ cmpw r3, r5 -/* 800B2768 000AF6C8 40 80 00 08 */ bge lbl_800B2770 -lbl_800B276C: -/* 800B276C 000AF6CC 42 00 00 00 */ bdnz lbl_800B276C -lbl_800B2770: -/* 800B2770 000AF6D0 38 00 00 00 */ li r0, 0 -/* 800B2774 000AF6D4 90 01 00 24 */ stw r0, 0x24(r1) -lbl_800B2778: -/* 800B2778 000AF6D8 88 1E 03 56 */ lbz r0, 0x356(r30) -/* 800B277C 000AF6DC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B2780 000AF6E0 40 82 00 54 */ bne lbl_800B27D4 -/* 800B2784 000AF6E4 7F C3 F3 78 */ mr r3, r30 -/* 800B2788 000AF6E8 7F E4 FB 78 */ mr r4, r31 -/* 800B278C 000AF6EC 81 9E 00 00 */ lwz r12, 0(r30) -/* 800B2790 000AF6F0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800B2794 000AF6F4 7D 89 03 A6 */ mtctr r12 -/* 800B2798 000AF6F8 4E 80 04 21 */ bctrl -/* 800B279C 000AF6FC C0 23 00 00 */ lfs f1, 0(r3) -/* 800B27A0 000AF700 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) -/* 800B27A4 000AF704 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800B27A8 000AF708 4C 40 13 82 */ cror 2, 0, 2 -/* 800B27AC 000AF70C 40 82 00 28 */ bne lbl_800B27D4 -/* 800B27B0 000AF710 88 1E 03 56 */ lbz r0, 0x356(r30) -/* 800B27B4 000AF714 38 60 00 01 */ li r3, 1 -/* 800B27B8 000AF718 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800B27BC 000AF71C 7F C3 F3 78 */ mr r3, r30 -/* 800B27C0 000AF720 98 1E 03 56 */ stb r0, 0x356(r30) -/* 800B27C4 000AF724 7F E5 FB 78 */ mr r5, r31 -/* 800B27C8 000AF728 38 80 00 0E */ li r4, 0xe -/* 800B27CC 000AF72C 38 C0 FF FF */ li r6, -1 -/* 800B27D0 000AF730 4B F9 E8 F1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_800B27D4: -/* 800B27D4 000AF734 80 01 08 34 */ lwz r0, 0x834(r1) -/* 800B27D8 000AF738 83 E1 08 2C */ lwz r31, 0x82c(r1) -/* 800B27DC 000AF73C 83 C1 08 28 */ lwz r30, 0x828(r1) -/* 800B27E0 000AF740 7C 08 03 A6 */ mtlr r0 -/* 800B27E4 000AF744 38 21 08 30 */ addi r1, r1, 0x830 -/* 800B27E8 000AF748 4E 80 00 20 */ blr - -.global "DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f" -"DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f": -/* 800B27EC 000AF74C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800B27F0 000AF750 7C 08 02 A6 */ mflr r0 -/* 800B27F4 000AF754 90 01 00 54 */ stw r0, 0x54(r1) -/* 800B27F8 000AF758 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 800B27FC 000AF75C 7C 7C 1B 78 */ mr r28, r3 -/* 800B2800 000AF760 7C 9D 23 78 */ mr r29, r4 -/* 800B2804 000AF764 7C BE 2B 78 */ mr r30, r5 -/* 800B2808 000AF768 7C DF 33 78 */ mr r31, r6 -/* 800B280C 000AF76C 83 63 03 34 */ lwz r27, 0x334(r3) -/* 800B2810 000AF770 48 00 00 48 */ b lbl_800B2858 -lbl_800B2814: -/* 800B2814 000AF774 A0 1B 00 00 */ lhz r0, 0(r27) -/* 800B2818 000AF778 7F A3 EB 78 */ mr r3, r29 -/* 800B281C 000AF77C 38 81 00 0C */ addi r4, r1, 0xc -/* 800B2820 000AF780 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B2824 000AF784 4B F9 9D 51 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B2828 000AF788 7C 64 1B 78 */ mr r4, r3 -/* 800B282C 000AF78C 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B2830 000AF790 4B FF D4 61 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800B2834 000AF794 80 C3 00 04 */ lwz r6, 4(r3) -/* 800B2838 000AF798 28 06 00 00 */ cmplwi r6, 0 -/* 800B283C 000AF79C 41 82 00 18 */ beq lbl_800B2854 -/* 800B2840 000AF7A0 7F 83 E3 78 */ mr r3, r28 -/* 800B2844 000AF7A4 7F A4 EB 78 */ mr r4, r29 -/* 800B2848 000AF7A8 7F C5 F3 78 */ mr r5, r30 -/* 800B284C 000AF7AC 7F E7 FB 78 */ mr r7, r31 -/* 800B2850 000AF7B0 48 00 00 D1 */ bl "DragSlave__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorP6CActorRC9CVector3f" -lbl_800B2854: -/* 800B2854 000AF7B4 3B 7B 00 38 */ addi r27, r27, 0x38 -lbl_800B2858: -/* 800B2858 000AF7B8 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 800B285C 000AF7BC 80 7C 03 34 */ lwz r3, 0x334(r28) -/* 800B2860 000AF7C0 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B2864 000AF7C4 7C 03 02 14 */ add r0, r3, r0 -/* 800B2868 000AF7C8 7C 1B 00 40 */ cmplw r27, r0 -/* 800B286C 000AF7CC 40 82 FF A8 */ bne lbl_800B2814 -/* 800B2870 000AF7D0 80 1C 03 44 */ lwz r0, 0x344(r28) -/* 800B2874 000AF7D4 90 01 00 18 */ stw r0, 0x18(r1) -/* 800B2878 000AF7D8 48 00 00 78 */ b lbl_800B28F0 -lbl_800B287C: -/* 800B287C 000AF7DC 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 800B2880 000AF7E0 7F A3 EB 78 */ mr r3, r29 -/* 800B2884 000AF7E4 38 81 00 08 */ addi r4, r1, 8 -/* 800B2888 000AF7E8 A0 05 00 00 */ lhz r0, 0(r5) -/* 800B288C 000AF7EC B0 01 00 08 */ sth r0, 8(r1) -/* 800B2890 000AF7F0 4B F9 9C E5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B2894 000AF7F4 7C 64 1B 78 */ mr r4, r3 -/* 800B2898 000AF7F8 38 61 00 1C */ addi r3, r1, 0x1c -/* 800B289C 000AF7FC 4B FF D3 F5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800B28A0 000AF800 80 C3 00 04 */ lwz r6, 4(r3) -/* 800B28A4 000AF804 28 06 00 00 */ cmplwi r6, 0 -/* 800B28A8 000AF808 41 82 00 28 */ beq lbl_800B28D0 -/* 800B28AC 000AF80C 7F 83 E3 78 */ mr r3, r28 -/* 800B28B0 000AF810 7F A4 EB 78 */ mr r4, r29 -/* 800B28B4 000AF814 7F C5 F3 78 */ mr r5, r30 -/* 800B28B8 000AF818 7F E7 FB 78 */ mr r7, r31 -/* 800B28BC 000AF81C 48 00 00 65 */ bl "DragSlave__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorP6CActorRC9CVector3f" -/* 800B28C0 000AF820 80 61 00 18 */ lwz r3, 0x18(r1) -/* 800B28C4 000AF824 38 03 00 38 */ addi r0, r3, 0x38 -/* 800B28C8 000AF828 90 01 00 18 */ stw r0, 0x18(r1) -/* 800B28CC 000AF82C 48 00 00 24 */ b lbl_800B28F0 -lbl_800B28D0: -/* 800B28D0 000AF830 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800B28D4 000AF834 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B28D8 000AF838 38 9C 03 38 */ addi r4, r28, 0x338 -/* 800B28DC 000AF83C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800B28E0 000AF840 90 01 00 10 */ stw r0, 0x10(r1) -/* 800B28E4 000AF844 4B FF F5 21 */ bl sub_800b1e04 -/* 800B28E8 000AF848 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B28EC 000AF84C 90 01 00 18 */ stw r0, 0x18(r1) -lbl_800B28F0: -/* 800B28F0 000AF850 80 1C 03 3C */ lwz r0, 0x33c(r28) -/* 800B28F4 000AF854 80 7C 03 44 */ lwz r3, 0x344(r28) -/* 800B28F8 000AF858 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B28FC 000AF85C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 800B2900 000AF860 7C 03 02 14 */ add r0, r3, r0 -/* 800B2904 000AF864 7C 04 00 40 */ cmplw r4, r0 -/* 800B2908 000AF868 40 82 FF 74 */ bne lbl_800B287C -/* 800B290C 000AF86C BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 800B2910 000AF870 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800B2914 000AF874 7C 08 03 A6 */ mtlr r0 -/* 800B2918 000AF878 38 21 00 50 */ addi r1, r1, 0x50 -/* 800B291C 000AF87C 4E 80 00 20 */ blr - -.global "DragSlave__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorP6CActorRC9CVector3f" -"DragSlave__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorP6CActorRC9CVector3f": -/* 800B2920 000AF880 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800B2924 000AF884 7C 08 02 A6 */ mflr r0 -/* 800B2928 000AF888 90 01 00 64 */ stw r0, 0x64(r1) -/* 800B292C 000AF88C 38 61 00 0C */ addi r3, r1, 0xc -/* 800B2930 000AF890 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800B2934 000AF894 7C BF 2B 78 */ mr r31, r5 -/* 800B2938 000AF898 93 C1 00 58 */ stw r30, 0x58(r1) -/* 800B293C 000AF89C 7C 9E 23 78 */ mr r30, r4 -/* 800B2940 000AF8A0 7F E4 FB 78 */ mr r4, r31 -/* 800B2944 000AF8A4 93 A1 00 54 */ stw r29, 0x54(r1) -/* 800B2948 000AF8A8 7C FD 3B 78 */ mr r29, r7 -/* 800B294C 000AF8AC 93 81 00 50 */ stw r28, 0x50(r1) -/* 800B2950 000AF8B0 7C DC 33 78 */ mr r28, r6 -/* 800B2954 000AF8B4 A0 06 00 08 */ lhz r0, 8(r6) -/* 800B2958 000AF8B8 B0 01 00 08 */ sth r0, 8(r1) -/* 800B295C 000AF8BC B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B2960 000AF8C0 4B FF FC 5D */ bl sub_800b25bc -/* 800B2964 000AF8C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B2968 000AF8C8 40 82 00 C8 */ bne lbl_800B2A30 -/* 800B296C 000AF8CC 80 1F 00 00 */ lwz r0, 0(r31) -/* 800B2970 000AF8D0 A0 7C 00 08 */ lhz r3, 8(r28) -/* 800B2974 000AF8D4 54 00 08 3C */ slwi r0, r0, 1 -/* 800B2978 000AF8D8 7C 9F 02 14 */ add r4, r31, r0 -/* 800B297C 000AF8DC 54 60 05 BE */ clrlwi r0, r3, 0x16 -/* 800B2980 000AF8E0 34 84 00 04 */ addic. r4, r4, 4 -/* 800B2984 000AF8E4 41 82 00 08 */ beq lbl_800B298C -/* 800B2988 000AF8E8 B0 04 00 00 */ sth r0, 0(r4) -lbl_800B298C: -/* 800B298C 000AF8EC 80 BF 00 00 */ lwz r5, 0(r31) -/* 800B2990 000AF8F0 38 61 00 18 */ addi r3, r1, 0x18 -/* 800B2994 000AF8F4 38 9C 00 34 */ addi r4, r28, 0x34 -/* 800B2998 000AF8F8 38 05 00 01 */ addi r0, r5, 1 -/* 800B299C 000AF8FC 90 1F 00 00 */ stw r0, 0(r31) -/* 800B29A0 000AF900 48 26 01 D5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B29A4 000AF904 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 800B29A8 000AF908 38 7C 00 34 */ addi r3, r28, 0x34 -/* 800B29AC 000AF90C C0 1D 00 00 */ lfs f0, 0(r29) -/* 800B29B0 000AF910 38 81 00 18 */ addi r4, r1, 0x18 -/* 800B29B4 000AF914 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 800B29B8 000AF918 C0 5D 00 04 */ lfs f2, 4(r29) -/* 800B29BC 000AF91C EC 81 00 2A */ fadds f4, f1, f0 -/* 800B29C0 000AF920 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 800B29C4 000AF924 C0 1D 00 08 */ lfs f0, 8(r29) -/* 800B29C8 000AF928 EC 43 10 2A */ fadds f2, f3, f2 -/* 800B29CC 000AF92C D0 81 00 24 */ stfs f4, 0x24(r1) -/* 800B29D0 000AF930 EC 01 00 2A */ fadds f0, f1, f0 -/* 800B29D4 000AF934 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800B29D8 000AF938 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800B29DC 000AF93C 48 26 01 65 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800B29E0 000AF940 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 800B29E4 000AF944 38 A0 00 01 */ li r5, 1 -/* 800B29E8 000AF948 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 800B29EC 000AF94C 7F 84 E3 78 */ mr r4, r28 -/* 800B29F0 000AF950 98 1C 00 E4 */ stb r0, 0xe4(r28) -/* 800B29F4 000AF954 38 61 00 10 */ addi r3, r1, 0x10 -/* 800B29F8 000AF958 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 800B29FC 000AF95C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 800B2A00 000AF960 98 1C 00 E4 */ stb r0, 0xe4(r28) -/* 800B2A04 000AF964 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 800B2A08 000AF968 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 800B2A0C 000AF96C 98 1C 00 E4 */ stb r0, 0xe4(r28) -/* 800B2A10 000AF970 4B FF 64 05 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" -/* 800B2A14 000AF974 80 63 00 04 */ lwz r3, 4(r3) -/* 800B2A18 000AF978 28 03 00 00 */ cmplwi r3, 0 -/* 800B2A1C 000AF97C 41 82 00 14 */ beq lbl_800B2A30 -/* 800B2A20 000AF980 7F C4 F3 78 */ mr r4, r30 -/* 800B2A24 000AF984 7F E5 FB 78 */ mr r5, r31 -/* 800B2A28 000AF988 7F A6 EB 78 */ mr r6, r29 -/* 800B2A2C 000AF98C 4B FF FD C1 */ bl "DragSlaves__15CScriptPlatformFR13CStateManagerRQ24rstl38bit_vectorRC9CVector3f" -lbl_800B2A30: -/* 800B2A30 000AF990 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800B2A34 000AF994 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800B2A38 000AF998 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 800B2A3C 000AF99C 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 800B2A40 000AF9A0 83 81 00 50 */ lwz r28, 0x50(r1) -/* 800B2A44 000AF9A4 7C 08 03 A6 */ mtlr r0 -/* 800B2A48 000AF9A8 38 21 00 60 */ addi r1, r1, 0x60 -/* 800B2A4C 000AF9AC 4E 80 00 20 */ blr - -.global BuildSlaveList__15CScriptPlatformFR13CStateManager -BuildSlaveList__15CScriptPlatformFR13CStateManager: -/* 800B2A50 000AF9B0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 800B2A54 000AF9B4 7C 08 02 A6 */ mflr r0 -/* 800B2A58 000AF9B8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 800B2A5C 000AF9BC BF 01 00 B0 */ stmw r24, 0xb0(r1) -/* 800B2A60 000AF9C0 7C 9D 23 78 */ mr r29, r4 -/* 800B2A64 000AF9C4 7C 7C 1B 78 */ mr r28, r3 -/* 800B2A68 000AF9C8 80 83 00 24 */ lwz r4, 0x24(r3) -/* 800B2A6C 000AF9CC 38 7C 03 28 */ addi r3, r28, 0x328 -/* 800B2A70 000AF9D0 48 00 19 95 */ bl sub_800b4404 -/* 800B2A74 000AF9D4 83 FC 00 2C */ lwz r31, 0x2c(r28) -/* 800B2A78 000AF9D8 3B C1 00 4C */ addi r30, r1, 0x4c -/* 800B2A7C 000AF9DC 48 00 01 E0 */ b lbl_800B2C5C -lbl_800B2A80: -/* 800B2A80 000AF9E0 80 7F 00 00 */ lwz r3, 0(r31) -/* 800B2A84 000AF9E4 2C 03 00 12 */ cmpwi r3, 0x12 -/* 800B2A88 000AF9E8 40 82 01 2C */ bne lbl_800B2BB4 -/* 800B2A8C 000AF9EC 80 1F 00 04 */ lwz r0, 4(r31) -/* 800B2A90 000AF9F0 2C 00 00 01 */ cmpwi r0, 1 -/* 800B2A94 000AF9F4 40 82 01 20 */ bne lbl_800B2BB4 -/* 800B2A98 000AF9F8 80 1F 00 08 */ lwz r0, 8(r31) -/* 800B2A9C 000AF9FC 7F A4 EB 78 */ mr r4, r29 -/* 800B2AA0 000AFA00 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B2AA4 000AFA04 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800B2AA8 000AFA08 90 01 00 20 */ stw r0, 0x20(r1) -/* 800B2AAC 000AFA0C 4B F9 54 71 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800B2AB0 000AFA10 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 800B2AB4 000AFA14 7F A3 EB 78 */ mr r3, r29 -/* 800B2AB8 000AFA18 38 81 00 18 */ addi r4, r1, 0x18 -/* 800B2ABC 000AFA1C B0 01 00 18 */ sth r0, 0x18(r1) -/* 800B2AC0 000AFA20 4B F9 9A B5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B2AC4 000AFA24 7C 64 1B 78 */ mr r4, r3 -/* 800B2AC8 000AFA28 38 61 00 2C */ addi r3, r1, 0x2c -/* 800B2ACC 000AFA2C 4B FF D1 C5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800B2AD0 000AFA30 83 03 00 04 */ lwz r24, 4(r3) -/* 800B2AD4 000AFA34 28 18 00 00 */ cmplwi r24, 0 -/* 800B2AD8 000AFA38 41 82 01 80 */ beq lbl_800B2C58 -/* 800B2ADC 000AFA3C 7F 03 C3 78 */ mr r3, r24 -/* 800B2AE0 000AFA40 7F A5 EB 78 */ mr r5, r29 -/* 800B2AE4 000AFA44 38 80 00 34 */ li r4, 0x34 -/* 800B2AE8 000AFA48 4B FA 18 69 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 800B2AEC 000AFA4C 38 61 00 7C */ addi r3, r1, 0x7c -/* 800B2AF0 000AFA50 38 98 00 34 */ addi r4, r24, 0x34 -/* 800B2AF4 000AFA54 48 26 00 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B2AF8 000AFA58 C0 58 00 50 */ lfs f2, 0x50(r24) -/* 800B2AFC 000AFA5C 7F C3 F3 78 */ mr r3, r30 -/* 800B2B00 000AFA60 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 800B2B04 000AFA64 38 81 00 7C */ addi r4, r1, 0x7c -/* 800B2B08 000AFA68 C0 78 00 60 */ lfs f3, 0x60(r24) -/* 800B2B0C 000AFA6C EC 82 08 28 */ fsubs f4, f2, f1 -/* 800B2B10 000AFA70 C0 1C 00 60 */ lfs f0, 0x60(r28) -/* 800B2B14 000AFA74 C0 58 00 40 */ lfs f2, 0x40(r24) -/* 800B2B18 000AFA78 C0 3C 00 40 */ lfs f1, 0x40(r28) -/* 800B2B1C 000AFA7C EC 63 00 28 */ fsubs f3, f3, f0 -/* 800B2B20 000AFA80 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) -/* 800B2B24 000AFA84 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800B2B28 000AFA88 D0 81 00 98 */ stfs f4, 0x98(r1) -/* 800B2B2C 000AFA8C D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 800B2B30 000AFA90 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 800B2B34 000AFA94 A0 18 00 08 */ lhz r0, 8(r24) -/* 800B2B38 000AFA98 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B2B3C 000AFA9C B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B2B40 000AFAA0 B0 01 00 44 */ sth r0, 0x44(r1) -/* 800B2B44 000AFAA4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800B2B48 000AFAA8 48 26 00 2D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B2B4C 000AFAAC 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 800B2B50 000AFAB0 80 BC 03 30 */ lwz r5, 0x330(r28) -/* 800B2B54 000AFAB4 7C 00 28 00 */ cmpw r0, r5 -/* 800B2B58 000AFAB8 41 80 00 1C */ blt lbl_800B2B74 -/* 800B2B5C 000AFABC 2C 05 00 00 */ cmpwi r5, 0 -/* 800B2B60 000AFAC0 38 7C 03 28 */ addi r3, r28, 0x328 -/* 800B2B64 000AFAC4 38 80 00 04 */ li r4, 4 -/* 800B2B68 000AFAC8 41 82 00 08 */ beq lbl_800B2B70 -/* 800B2B6C 000AFACC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B2B70: -/* 800B2B70 000AFAD0 48 00 18 95 */ bl sub_800b4404 -lbl_800B2B74: -/* 800B2B74 000AFAD4 80 1C 03 2C */ lwz r0, 0x32c(r28) -/* 800B2B78 000AFAD8 80 7C 03 34 */ lwz r3, 0x334(r28) -/* 800B2B7C 000AFADC 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B2B80 000AFAE0 7C A3 02 15 */ add. r5, r3, r0 -/* 800B2B84 000AFAE4 41 82 00 20 */ beq lbl_800B2BA4 -/* 800B2B88 000AFAE8 A0 01 00 44 */ lhz r0, 0x44(r1) -/* 800B2B8C 000AFAEC 7F C4 F3 78 */ mr r4, r30 -/* 800B2B90 000AFAF0 38 65 00 08 */ addi r3, r5, 8 -/* 800B2B94 000AFAF4 B0 05 00 00 */ sth r0, 0(r5) -/* 800B2B98 000AFAF8 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 800B2B9C 000AFAFC D0 05 00 04 */ stfs f0, 4(r5) -/* 800B2BA0 000AFB00 48 25 FF D5 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_800B2BA4: -/* 800B2BA4 000AFB04 80 7C 03 2C */ lwz r3, 0x32c(r28) -/* 800B2BA8 000AFB08 38 03 00 01 */ addi r0, r3, 1 -/* 800B2BAC 000AFB0C 90 1C 03 2C */ stw r0, 0x32c(r28) -/* 800B2BB0 000AFB10 48 00 00 A8 */ b lbl_800B2C58 -lbl_800B2BB4: -/* 800B2BB4 000AFB14 2C 03 00 20 */ cmpwi r3, 0x20 -/* 800B2BB8 000AFB18 40 82 00 A0 */ bne lbl_800B2C58 -/* 800B2BBC 000AFB1C 80 1F 00 04 */ lwz r0, 4(r31) -/* 800B2BC0 000AFB20 2C 00 00 01 */ cmpwi r0, 1 -/* 800B2BC4 000AFB24 40 82 00 94 */ bne lbl_800B2C58 -/* 800B2BC8 000AFB28 80 1F 00 08 */ lwz r0, 8(r31) -/* 800B2BCC 000AFB2C 7F A4 EB 78 */ mr r4, r29 -/* 800B2BD0 000AFB30 38 61 00 34 */ addi r3, r1, 0x34 -/* 800B2BD4 000AFB34 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800B2BD8 000AFB38 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800B2BDC 000AFB3C 4B F9 53 ED */ bl GetIdListForScript__13CStateManagerCF9TEditorId -/* 800B2BE0 000AFB40 83 61 00 38 */ lwz r27, 0x38(r1) -/* 800B2BE4 000AFB44 83 41 00 3C */ lwz r26, 0x3c(r1) -/* 800B2BE8 000AFB48 83 21 00 40 */ lwz r25, 0x40(r1) -/* 800B2BEC 000AFB4C 83 01 00 34 */ lwz r24, 0x34(r1) -/* 800B2BF0 000AFB50 48 00 00 48 */ b lbl_800B2C38 -lbl_800B2BF4: -/* 800B2BF4 000AFB54 A0 18 00 14 */ lhz r0, 0x14(r24) -/* 800B2BF8 000AFB58 7F A3 EB 78 */ mr r3, r29 -/* 800B2BFC 000AFB5C 38 81 00 08 */ addi r4, r1, 8 -/* 800B2C00 000AFB60 B0 01 00 08 */ sth r0, 8(r1) -/* 800B2C04 000AFB64 4B F9 99 A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800B2C08 000AFB68 7C 64 1B 78 */ mr r4, r3 -/* 800B2C0C 000AFB6C 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B2C10 000AFB70 4B FF 42 D9 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" -/* 800B2C14 000AFB74 80 03 00 04 */ lwz r0, 4(r3) -/* 800B2C18 000AFB78 28 00 00 00 */ cmplwi r0, 0 -/* 800B2C1C 000AFB7C 41 82 00 0C */ beq lbl_800B2C28 -/* 800B2C20 000AFB80 A0 18 00 14 */ lhz r0, 0x14(r24) -/* 800B2C24 000AFB84 B0 1C 03 54 */ sth r0, 0x354(r28) -lbl_800B2C28: -/* 800B2C28 000AFB88 7F 63 DB 78 */ mr r3, r27 -/* 800B2C2C 000AFB8C 7F 04 C3 78 */ mr r4, r24 -/* 800B2C30 000AFB90 48 28 99 B1 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B2C34 000AFB94 7C 78 1B 78 */ mr r24, r3 -lbl_800B2C38: -/* 800B2C38 000AFB98 7C 18 D0 40 */ cmplw r24, r26 -/* 800B2C3C 000AFB9C 38 00 00 00 */ li r0, 0 -/* 800B2C40 000AFBA0 40 82 00 0C */ bne lbl_800B2C4C -/* 800B2C44 000AFBA4 7C 1B C8 40 */ cmplw r27, r25 -/* 800B2C48 000AFBA8 41 82 00 08 */ beq lbl_800B2C50 -lbl_800B2C4C: -/* 800B2C4C 000AFBAC 38 00 00 01 */ li r0, 1 -lbl_800B2C50: -/* 800B2C50 000AFBB0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B2C54 000AFBB4 40 82 FF A0 */ bne lbl_800B2BF4 -lbl_800B2C58: -/* 800B2C58 000AFBB8 3B FF 00 0C */ addi r31, r31, 0xc -lbl_800B2C5C: -/* 800B2C5C 000AFBBC 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 800B2C60 000AFBC0 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 800B2C64 000AFBC4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800B2C68 000AFBC8 7C 03 02 14 */ add r0, r3, r0 -/* 800B2C6C 000AFBCC 7C 1F 00 40 */ cmplw r31, r0 -/* 800B2C70 000AFBD0 40 82 FE 10 */ bne lbl_800B2A80 -/* 800B2C74 000AFBD4 BB 01 00 B0 */ lmw r24, 0xb0(r1) -/* 800B2C78 000AFBD8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 800B2C7C 000AFBDC 7C 08 03 A6 */ mtlr r0 -/* 800B2C80 000AFBE0 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 800B2C84 000AFBE4 4E 80 00 20 */ blr - -.global PreThink__15CScriptPlatformFfR13CStateManager -PreThink__15CScriptPlatformFfR13CStateManager: -/* 800B2C88 000AFBE8 94 21 EE 30 */ stwu r1, -0x11d0(r1) -/* 800B2C8C 000AFBEC 7C 08 02 A6 */ mflr r0 -/* 800B2C90 000AFBF0 90 01 11 D4 */ stw r0, 0x11d4(r1) -/* 800B2C94 000AFBF4 38 00 11 C8 */ li r0, 0x11c8 -/* 800B2C98 000AFBF8 DB E1 11 C0 */ stfd f31, 0x11c0(r1) -/* 800B2C9C 000AFBFC 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 -/* 800B2CA0 000AFC00 93 E1 11 BC */ stw r31, 0x11bc(r1) -/* 800B2CA4 000AFC04 93 C1 11 B8 */ stw r30, 0x11b8(r1) -/* 800B2CA8 000AFC08 93 A1 11 B4 */ stw r29, 0x11b4(r1) -/* 800B2CAC 000AFC0C 93 81 11 B0 */ stw r28, 0x11b0(r1) -/* 800B2CB0 000AFC10 FF E0 08 90 */ fmr f31, f1 -/* 800B2CB4 000AFC14 7C 7D 1B 78 */ mr r29, r3 -/* 800B2CB8 000AFC18 7C 9E 23 78 */ mr r30, r4 -/* 800B2CBC 000AFC1C 38 7D 03 18 */ addi r3, r29, 0x318 -/* 800B2CC0 000AFC20 48 00 08 E5 */ bl "DecayRiders__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>fR13CStateManager" -/* 800B2CC4 000AFC24 C0 3D 02 64 */ lfs f1, 0x264(r29) -/* 800B2CC8 000AFC28 C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) -/* 800B2CCC 000AFC2C EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800B2CD0 000AFC30 D0 3D 02 64 */ stfs f1, 0x264(r29) -/* 800B2CD4 000AFC34 C0 3D 02 60 */ lfs f1, 0x260(r29) -/* 800B2CD8 000AFC38 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800B2CDC 000AFC3C D0 3D 02 60 */ stfs f1, 0x260(r29) -/* 800B2CE0 000AFC40 C0 3D 02 60 */ lfs f1, 0x260(r29) -/* 800B2CE4 000AFC44 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800B2CE8 000AFC48 41 81 04 D0 */ bgt lbl_800B31B8 -/* 800B2CEC 000AFC4C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800B2CF0 000AFC50 38 61 01 6C */ addi r3, r1, 0x16c -/* 800B2CF4 000AFC54 3B E4 66 A0 */ addi r31, r4, skZero3f@l -/* 800B2CF8 000AFC58 38 9D 00 34 */ addi r4, r29, 0x34 -/* 800B2CFC 000AFC5C C0 1F 00 00 */ lfs f0, 0(r31) -/* 800B2D00 000AFC60 D0 1D 02 70 */ stfs f0, 0x270(r29) -/* 800B2D04 000AFC64 C0 1F 00 04 */ lfs f0, 4(r31) -/* 800B2D08 000AFC68 D0 1D 02 74 */ stfs f0, 0x274(r29) -/* 800B2D0C 000AFC6C C0 1F 00 08 */ lfs f0, 8(r31) -/* 800B2D10 000AFC70 D0 1D 02 78 */ stfs f0, 0x278(r29) -/* 800B2D14 000AFC74 48 25 FE 61 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B2D18 000AFC78 7F A4 EB 78 */ mr r4, r29 -/* 800B2D1C 000AFC7C 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 800B2D20 000AFC80 48 06 89 55 */ bl GetMotionState__13CPhysicsActorCFv -/* 800B2D24 000AFC84 C1 81 00 D4 */ lfs f12, 0xd4(r1) -/* 800B2D28 000AFC88 C1 61 00 D8 */ lfs f11, 0xd8(r1) -/* 800B2D2C 000AFC8C C1 41 00 DC */ lfs f10, 0xdc(r1) -/* 800B2D30 000AFC90 C1 21 00 E0 */ lfs f9, 0xe0(r1) -/* 800B2D34 000AFC94 C1 01 00 E4 */ lfs f8, 0xe4(r1) -/* 800B2D38 000AFC98 C0 E1 00 E8 */ lfs f7, 0xe8(r1) -/* 800B2D3C 000AFC9C C0 C1 00 EC */ lfs f6, 0xec(r1) -/* 800B2D40 000AFCA0 C0 A1 00 F0 */ lfs f5, 0xf0(r1) -/* 800B2D44 000AFCA4 C0 81 00 F4 */ lfs f4, 0xf4(r1) -/* 800B2D48 000AFCA8 C0 61 00 F8 */ lfs f3, 0xf8(r1) -/* 800B2D4C 000AFCAC C0 41 00 FC */ lfs f2, 0xfc(r1) -/* 800B2D50 000AFCB0 C0 21 01 00 */ lfs f1, 0x100(r1) -/* 800B2D54 000AFCB4 C0 01 01 04 */ lfs f0, 0x104(r1) -/* 800B2D58 000AFCB8 D1 81 01 38 */ stfs f12, 0x138(r1) -/* 800B2D5C 000AFCBC D1 61 01 3C */ stfs f11, 0x13c(r1) -/* 800B2D60 000AFCC0 D1 41 01 40 */ stfs f10, 0x140(r1) -/* 800B2D64 000AFCC4 D1 21 01 44 */ stfs f9, 0x144(r1) -/* 800B2D68 000AFCC8 D1 01 01 48 */ stfs f8, 0x148(r1) -/* 800B2D6C 000AFCCC D0 E1 01 4C */ stfs f7, 0x14c(r1) -/* 800B2D70 000AFCD0 D0 C1 01 50 */ stfs f6, 0x150(r1) -/* 800B2D74 000AFCD4 D0 A1 01 54 */ stfs f5, 0x154(r1) -/* 800B2D78 000AFCD8 D0 81 01 58 */ stfs f4, 0x158(r1) -/* 800B2D7C 000AFCDC D0 61 01 5C */ stfs f3, 0x15c(r1) -/* 800B2D80 000AFCE0 D0 41 01 60 */ stfs f2, 0x160(r1) -/* 800B2D84 000AFCE4 D0 21 01 64 */ stfs f1, 0x164(r1) -/* 800B2D88 000AFCE8 D0 01 01 68 */ stfs f0, 0x168(r1) -/* 800B2D8C 000AFCEC 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 800B2D90 000AFCF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B2D94 000AFCF4 41 82 00 EC */ beq lbl_800B2E80 -/* 800B2D98 000AFCF8 83 9D 03 24 */ lwz r28, 0x324(r29) -/* 800B2D9C 000AFCFC 48 00 00 8C */ b lbl_800B2E28 -lbl_800B2DA0: -/* 800B2DA0 000AFD00 A0 1C 00 00 */ lhz r0, 0(r28) -/* 800B2DA4 000AFD04 7F C3 F3 78 */ mr r3, r30 -/* 800B2DA8 000AFD08 38 81 00 08 */ addi r4, r1, 8 -/* 800B2DAC 000AFD0C B0 01 00 08 */ sth r0, 8(r1) -/* 800B2DB0 000AFD10 4B F9 97 C5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B2DB4 000AFD14 7C 64 1B 78 */ mr r4, r3 -/* 800B2DB8 000AFD18 38 61 00 1C */ addi r3, r1, 0x1c -/* 800B2DBC 000AFD1C 4B FF 99 29 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 800B2DC0 000AFD20 80 C3 00 04 */ lwz r6, 4(r3) -/* 800B2DC4 000AFD24 28 06 00 00 */ cmplwi r6, 0 -/* 800B2DC8 000AFD28 41 82 00 5C */ beq lbl_800B2E24 -/* 800B2DCC 000AFD2C C0 26 00 50 */ lfs f1, 0x50(r6) -/* 800B2DD0 000AFD30 38 61 00 88 */ addi r3, r1, 0x88 -/* 800B2DD4 000AFD34 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 800B2DD8 000AFD38 38 9D 00 34 */ addi r4, r29, 0x34 -/* 800B2DDC 000AFD3C C0 66 00 60 */ lfs f3, 0x60(r6) -/* 800B2DE0 000AFD40 38 A1 00 7C */ addi r5, r1, 0x7c -/* 800B2DE4 000AFD44 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800B2DE8 000AFD48 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800B2DEC 000AFD4C C0 26 00 40 */ lfs f1, 0x40(r6) -/* 800B2DF0 000AFD50 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800B2DF4 000AFD54 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800B2DF8 000AFD58 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800B2DFC 000AFD5C D0 81 00 80 */ stfs f4, 0x80(r1) -/* 800B2E00 000AFD60 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 800B2E04 000AFD64 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 800B2E08 000AFD68 48 25 FC 1D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800B2E0C 000AFD6C C0 01 00 88 */ lfs f0, 0x88(r1) -/* 800B2E10 000AFD70 D0 1C 00 14 */ stfs f0, 0x14(r28) -/* 800B2E14 000AFD74 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 800B2E18 000AFD78 D0 1C 00 24 */ stfs f0, 0x24(r28) -/* 800B2E1C 000AFD7C C0 01 00 90 */ lfs f0, 0x90(r1) -/* 800B2E20 000AFD80 D0 1C 00 34 */ stfs f0, 0x34(r28) -lbl_800B2E24: -/* 800B2E24 000AFD84 3B 9C 00 38 */ addi r28, r28, 0x38 -lbl_800B2E28: -/* 800B2E28 000AFD88 80 1D 03 1C */ lwz r0, 0x31c(r29) -/* 800B2E2C 000AFD8C 80 7D 03 24 */ lwz r3, 0x324(r29) -/* 800B2E30 000AFD90 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B2E34 000AFD94 7C 03 02 14 */ add r0, r3, r0 -/* 800B2E38 000AFD98 7C 1C 00 40 */ cmplw r28, r0 -/* 800B2E3C 000AFD9C 40 82 FF 64 */ bne lbl_800B2DA0 -/* 800B2E40 000AFDA0 7F A4 EB 78 */ mr r4, r29 -/* 800B2E44 000AFDA4 FC 20 F8 90 */ fmr f1, f31 -/* 800B2E48 000AFDA8 81 9D 00 00 */ lwz r12, 0(r29) -/* 800B2E4C 000AFDAC 7F C5 F3 78 */ mr r5, r30 -/* 800B2E50 000AFDB0 38 61 00 6C */ addi r3, r1, 0x6c -/* 800B2E54 000AFDB4 81 8C 00 88 */ lwz r12, 0x88(r12) -/* 800B2E58 000AFDB8 7D 89 03 A6 */ mtctr r12 -/* 800B2E5C 000AFDBC 4E 80 04 21 */ bctrl -/* 800B2E60 000AFDC0 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 800B2E64 000AFDC4 D0 1D 02 7C */ stfs f0, 0x27c(r29) -/* 800B2E68 000AFDC8 80 61 00 70 */ lwz r3, 0x70(r1) -/* 800B2E6C 000AFDCC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800B2E70 000AFDD0 90 7D 02 80 */ stw r3, 0x280(r29) -/* 800B2E74 000AFDD4 90 1D 02 84 */ stw r0, 0x284(r29) -/* 800B2E78 000AFDD8 80 01 00 78 */ lwz r0, 0x78(r1) -/* 800B2E7C 000AFDDC 90 1D 02 88 */ stw r0, 0x288(r29) -lbl_800B2E80: -/* 800B2E80 000AFDE0 38 61 01 08 */ addi r3, r1, 0x108 -/* 800B2E84 000AFDE4 38 9D 00 34 */ addi r4, r29, 0x34 -/* 800B2E88 000AFDE8 48 25 FC ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B2E8C 000AFDEC C0 41 01 14 */ lfs f2, 0x114(r1) -/* 800B2E90 000AFDF0 38 00 00 00 */ li r0, 0 -/* 800B2E94 000AFDF4 C0 01 01 78 */ lfs f0, 0x178(r1) -/* 800B2E98 000AFDF8 FC 20 F8 90 */ fmr f1, f31 -/* 800B2E9C 000AFDFC C0 A1 01 24 */ lfs f5, 0x124(r1) -/* 800B2EA0 000AFE00 7F C3 F3 78 */ mr r3, r30 -/* 800B2EA4 000AFE04 C0 81 01 88 */ lfs f4, 0x188(r1) -/* 800B2EA8 000AFE08 EC 02 00 28 */ fsubs f0, f2, f0 -/* 800B2EAC 000AFE0C C0 61 01 34 */ lfs f3, 0x134(r1) -/* 800B2EB0 000AFE10 C0 41 01 98 */ lfs f2, 0x198(r1) -/* 800B2EB4 000AFE14 EC 85 20 28 */ fsubs f4, f5, f4 -/* 800B2EB8 000AFE18 38 BD 03 18 */ addi r5, r29, 0x318 -/* 800B2EBC 000AFE1C 38 C1 00 94 */ addi r6, r1, 0x94 -/* 800B2EC0 000AFE20 D0 1D 02 70 */ stfs f0, 0x270(r29) -/* 800B2EC4 000AFE24 EC 03 10 28 */ fsubs f0, f3, f2 -/* 800B2EC8 000AFE28 38 E1 01 6C */ addi r7, r1, 0x16c -/* 800B2ECC 000AFE2C D0 9D 02 74 */ stfs f4, 0x274(r29) -/* 800B2ED0 000AFE30 39 01 01 08 */ addi r8, r1, 0x108 -/* 800B2ED4 000AFE34 39 3D 02 70 */ addi r9, r29, 0x270 -/* 800B2ED8 000AFE38 39 41 00 5C */ addi r10, r1, 0x5c -/* 800B2EDC 000AFE3C D0 1D 02 78 */ stfs f0, 0x278(r29) -/* 800B2EE0 000AFE40 90 01 00 98 */ stw r0, 0x98(r1) -/* 800B2EE4 000AFE44 90 01 00 9C */ stw r0, 0x9c(r1) -/* 800B2EE8 000AFE48 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 800B2EEC 000AFE4C 80 9D 02 7C */ lwz r4, 0x27c(r29) -/* 800B2EF0 000AFE50 80 1D 02 80 */ lwz r0, 0x280(r29) -/* 800B2EF4 000AFE54 90 81 00 5C */ stw r4, 0x5c(r1) -/* 800B2EF8 000AFE58 90 01 00 60 */ stw r0, 0x60(r1) -/* 800B2EFC 000AFE5C 80 9D 02 84 */ lwz r4, 0x284(r29) -/* 800B2F00 000AFE60 80 1D 02 88 */ lwz r0, 0x288(r29) -/* 800B2F04 000AFE64 90 81 00 64 */ stw r4, 0x64(r1) -/* 800B2F08 000AFE68 90 01 00 68 */ stw r0, 0x68(r1) -/* 800B2F0C 000AFE6C 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 800B2F10 000AFE70 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f -/* 800B2F14 000AFE74 48 00 02 D1 */ bl "MoveRiders__15CScriptPlatformFR13CStateManagerfbRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RC12CTransform4fRC12CTransform4fRC9CVector3f11CQuaternion" -/* 800B2F18 000AFE78 88 1D 03 56 */ lbz r0, 0x356(r29) -/* 800B2F1C 000AFE7C 38 60 00 00 */ li r3, 0 -/* 800B2F20 000AFE80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800B2F24 000AFE84 98 1D 03 56 */ stb r0, 0x356(r29) -/* 800B2F28 000AFE88 80 01 00 98 */ lwz r0, 0x98(r1) -/* 800B2F2C 000AFE8C 2C 00 00 00 */ cmpwi r0, 0 -/* 800B2F30 000AFE90 41 82 02 48 */ beq lbl_800B3178 -/* 800B2F34 000AFE94 7F C4 F3 78 */ mr r4, r30 -/* 800B2F38 000AFE98 38 61 01 9C */ addi r3, r1, 0x19c -/* 800B2F3C 000AFE9C 38 A1 00 94 */ addi r5, r1, 0x94 -/* 800B2F40 000AFEA0 48 00 07 55 */ bl "BuildNearListFromRiders__15CScriptPlatformFR13CStateManagerRCQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>" -/* 800B2F44 000AFEA4 80 01 01 9C */ lwz r0, 0x19c(r1) -/* 800B2F48 000AFEA8 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 800B2F4C 000AFEAC 38 61 09 A4 */ addi r3, r1, 0x9a4 -/* 800B2F50 000AFEB0 90 01 09 A0 */ stw r0, 0x9a0(r1) -/* 800B2F54 000AFEB4 7C 09 03 A6 */ mtctr r0 -/* 800B2F58 000AFEB8 2C 00 00 00 */ cmpwi r0, 0 -/* 800B2F5C 000AFEBC 40 81 00 20 */ ble lbl_800B2F7C -lbl_800B2F60: -/* 800B2F60 000AFEC0 28 03 00 00 */ cmplwi r3, 0 -/* 800B2F64 000AFEC4 41 82 00 0C */ beq lbl_800B2F70 -/* 800B2F68 000AFEC8 A0 04 00 00 */ lhz r0, 0(r4) -/* 800B2F6C 000AFECC B0 03 00 00 */ sth r0, 0(r3) -lbl_800B2F70: -/* 800B2F70 000AFED0 38 63 00 02 */ addi r3, r3, 2 -/* 800B2F74 000AFED4 38 84 00 02 */ addi r4, r4, 2 -/* 800B2F78 000AFED8 42 00 FF E8 */ bdnz lbl_800B2F60 -lbl_800B2F7C: -/* 800B2F7C 000AFEDC 80 A1 01 9C */ lwz r5, 0x19c(r1) -/* 800B2F80 000AFEE0 38 60 00 00 */ li r3, 0 -/* 800B2F84 000AFEE4 2C 05 00 00 */ cmpwi r5, 0 -/* 800B2F88 000AFEE8 40 81 00 40 */ ble lbl_800B2FC8 -/* 800B2F8C 000AFEEC 2C 05 00 08 */ cmpwi r5, 8 -/* 800B2F90 000AFEF0 38 85 FF F8 */ addi r4, r5, -8 -/* 800B2F94 000AFEF4 40 81 00 20 */ ble lbl_800B2FB4 -/* 800B2F98 000AFEF8 38 04 00 07 */ addi r0, r4, 7 -/* 800B2F9C 000AFEFC 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B2FA0 000AFF00 7C 09 03 A6 */ mtctr r0 -/* 800B2FA4 000AFF04 2C 04 00 00 */ cmpwi r4, 0 -/* 800B2FA8 000AFF08 40 81 00 0C */ ble lbl_800B2FB4 -lbl_800B2FAC: -/* 800B2FAC 000AFF0C 38 63 00 08 */ addi r3, r3, 8 -/* 800B2FB0 000AFF10 42 00 FF FC */ bdnz lbl_800B2FAC -lbl_800B2FB4: -/* 800B2FB4 000AFF14 7C 03 28 50 */ subf r0, r3, r5 -/* 800B2FB8 000AFF18 7C 09 03 A6 */ mtctr r0 -/* 800B2FBC 000AFF1C 7C 03 28 00 */ cmpw r3, r5 -/* 800B2FC0 000AFF20 40 80 00 08 */ bge lbl_800B2FC8 -lbl_800B2FC4: -/* 800B2FC4 000AFF24 42 00 00 00 */ bdnz lbl_800B2FC4 -lbl_800B2FC8: -/* 800B2FC8 000AFF28 38 00 00 00 */ li r0, 0 -/* 800B2FCC 000AFF2C 7F A4 EB 78 */ mr r4, r29 -/* 800B2FD0 000AFF30 90 01 01 9C */ stw r0, 0x19c(r1) -/* 800B2FD4 000AFF34 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 800B2FD8 000AFF38 81 9D 00 00 */ lwz r12, 0(r29) -/* 800B2FDC 000AFF3C 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 800B2FE0 000AFF40 7D 89 03 A6 */ mtctr r12 -/* 800B2FE4 000AFF44 4E 80 04 21 */ bctrl -/* 800B2FE8 000AFF48 7F A3 EB 78 */ mr r3, r29 -/* 800B2FEC 000AFF4C 81 9D 00 00 */ lwz r12, 0(r29) -/* 800B2FF0 000AFF50 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 800B2FF4 000AFF54 7D 89 03 A6 */ mtctr r12 -/* 800B2FF8 000AFF58 4E 80 04 21 */ bctrl -/* 800B2FFC 000AFF5C 7F C6 F3 78 */ mr r6, r30 -/* 800B3000 000AFF60 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 800B3004 000AFF64 38 A1 09 A0 */ addi r5, r1, 0x9a0 -/* 800B3008 000AFF68 48 0D 0F C5 */ bl "DetectDynamicCollisionBoolean__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager" -/* 800B300C 000AFF6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B3010 000AFF70 41 82 01 14 */ beq lbl_800B3124 -/* 800B3014 000AFF74 7F A3 EB 78 */ mr r3, r29 -/* 800B3018 000AFF78 38 81 01 38 */ addi r4, r1, 0x138 -/* 800B301C 000AFF7C 48 06 87 0D */ bl SetMotionState__13CPhysicsActorFRC12CMotionState -/* 800B3020 000AFF80 7F A3 EB 78 */ mr r3, r29 -/* 800B3024 000AFF84 48 06 83 55 */ bl Stop__13CPhysicsActorFv -/* 800B3028 000AFF88 C0 02 8C C8 */ lfs f0, lbl_805AA9E8@sda21(r2) -/* 800B302C 000AFF8C FC 20 F8 90 */ fmr f1, f31 -/* 800B3030 000AFF90 7F C3 F3 78 */ mr r3, r30 -/* 800B3034 000AFF94 38 BD 03 18 */ addi r5, r29, 0x318 -/* 800B3038 000AFF98 D0 1D 02 60 */ stfs f0, 0x260(r29) -/* 800B303C 000AFF9C 38 C1 00 94 */ addi r6, r1, 0x94 -/* 800B3040 000AFFA0 38 E1 01 08 */ addi r7, r1, 0x108 -/* 800B3044 000AFFA4 C0 5D 02 88 */ lfs f2, 0x288(r29) -/* 800B3048 000AFFA8 39 01 01 6C */ addi r8, r1, 0x16c -/* 800B304C 000AFFAC C0 1D 02 84 */ lfs f0, 0x284(r29) -/* 800B3050 000AFFB0 39 21 00 50 */ addi r9, r1, 0x50 -/* 800B3054 000AFFB4 FC C0 10 50 */ fneg f6, f2 -/* 800B3058 000AFFB8 C0 5D 02 80 */ lfs f2, 0x280(r29) -/* 800B305C 000AFFBC FC A0 00 50 */ fneg f5, f0 -/* 800B3060 000AFFC0 C0 1D 02 7C */ lfs f0, 0x27c(r29) -/* 800B3064 000AFFC4 FC 80 10 50 */ fneg f4, f2 -/* 800B3068 000AFFC8 39 41 00 40 */ addi r10, r1, 0x40 -/* 800B306C 000AFFCC FC 40 28 18 */ frsp f2, f5 -/* 800B3070 000AFFD0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800B3074 000AFFD4 FC 60 20 18 */ frsp f3, f4 -/* 800B3078 000AFFD8 FC 00 30 18 */ frsp f0, f6 -/* 800B307C 000AFFDC 81 81 00 30 */ lwz r12, 0x30(r1) -/* 800B3080 000AFFE0 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 800B3084 000AFFE4 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 800B3088 000AFFE8 80 81 00 38 */ lwz r4, 0x38(r1) -/* 800B308C 000AFFEC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800B3090 000AFFF0 81 61 00 34 */ lwz r11, 0x34(r1) -/* 800B3094 000AFFF4 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 800B3098 000AFFF8 91 81 00 40 */ stw r12, 0x40(r1) -/* 800B309C 000AFFFC 91 61 00 44 */ stw r11, 0x44(r1) -/* 800B30A0 000B0000 90 81 00 48 */ stw r4, 0x48(r1) -/* 800B30A4 000B0004 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800B30A8 000B0008 C0 7D 02 78 */ lfs f3, 0x278(r29) -/* 800B30AC 000B000C C0 5D 02 74 */ lfs f2, 0x274(r29) -/* 800B30B0 000B0010 C0 1D 02 70 */ lfs f0, 0x270(r29) -/* 800B30B4 000B0014 FC 60 18 50 */ fneg f3, f3 -/* 800B30B8 000B0018 FC 40 10 50 */ fneg f2, f2 -/* 800B30BC 000B001C D0 81 00 24 */ stfs f4, 0x24(r1) -/* 800B30C0 000B0020 FC 00 00 50 */ fneg f0, f0 -/* 800B30C4 000B0024 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 800B30C8 000B0028 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800B30CC 000B002C D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800B30D0 000B0030 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 800B30D4 000B0034 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 800B30D8 000B0038 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f -/* 800B30DC 000B003C D0 C1 00 2C */ stfs f6, 0x2c(r1) -/* 800B30E0 000B0040 48 00 01 05 */ bl "MoveRiders__15CScriptPlatformFR13CStateManagerfbRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RC12CTransform4fRC12CTransform4fRC9CVector3f11CQuaternion" -/* 800B30E4 000B0044 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800B30E8 000B0048 7F A3 EB 78 */ mr r3, r29 -/* 800B30EC 000B004C C0 04 66 A0 */ lfs f0, skZero3f@l(r4) -/* 800B30F0 000B0050 7F C5 F3 78 */ mr r5, r30 -/* 800B30F4 000B0054 38 80 00 19 */ li r4, 0x19 -/* 800B30F8 000B0058 38 C0 FF FF */ li r6, -1 -/* 800B30FC 000B005C D0 1D 02 70 */ stfs f0, 0x270(r29) -/* 800B3100 000B0060 C0 1F 00 04 */ lfs f0, 4(r31) -/* 800B3104 000B0064 D0 1D 02 74 */ stfs f0, 0x274(r29) -/* 800B3108 000B0068 C0 1F 00 08 */ lfs f0, 8(r31) -/* 800B310C 000B006C D0 1D 02 78 */ stfs f0, 0x278(r29) -/* 800B3110 000B0070 4B F9 DF B1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 800B3114 000B0074 88 1D 03 56 */ lbz r0, 0x356(r29) -/* 800B3118 000B0078 38 60 00 01 */ li r3, 1 -/* 800B311C 000B007C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800B3120 000B0080 98 1D 03 56 */ stb r0, 0x356(r29) -lbl_800B3124: -/* 800B3124 000B0084 80 A1 09 A0 */ lwz r5, 0x9a0(r1) -/* 800B3128 000B0088 38 60 00 00 */ li r3, 0 -/* 800B312C 000B008C 2C 05 00 00 */ cmpwi r5, 0 -/* 800B3130 000B0090 40 81 00 40 */ ble lbl_800B3170 -/* 800B3134 000B0094 2C 05 00 08 */ cmpwi r5, 8 -/* 800B3138 000B0098 38 85 FF F8 */ addi r4, r5, -8 -/* 800B313C 000B009C 40 81 00 20 */ ble lbl_800B315C -/* 800B3140 000B00A0 38 04 00 07 */ addi r0, r4, 7 -/* 800B3144 000B00A4 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B3148 000B00A8 7C 09 03 A6 */ mtctr r0 -/* 800B314C 000B00AC 2C 04 00 00 */ cmpwi r4, 0 -/* 800B3150 000B00B0 40 81 00 0C */ ble lbl_800B315C -lbl_800B3154: -/* 800B3154 000B00B4 38 63 00 08 */ addi r3, r3, 8 -/* 800B3158 000B00B8 42 00 FF FC */ bdnz lbl_800B3154 -lbl_800B315C: -/* 800B315C 000B00BC 7C 03 28 50 */ subf r0, r3, r5 -/* 800B3160 000B00C0 7C 09 03 A6 */ mtctr r0 -/* 800B3164 000B00C4 7C 03 28 00 */ cmpw r3, r5 -/* 800B3168 000B00C8 40 80 00 08 */ bge lbl_800B3170 -lbl_800B316C: -/* 800B316C 000B00CC 42 00 00 00 */ bdnz lbl_800B316C -lbl_800B3170: -/* 800B3170 000B00D0 38 00 00 00 */ li r0, 0 -/* 800B3174 000B00D4 90 01 09 A0 */ stw r0, 0x9a0(r1) -lbl_800B3178: -/* 800B3178 000B00D8 80 01 00 98 */ lwz r0, 0x98(r1) -/* 800B317C 000B00DC 80 61 00 A0 */ lwz r3, 0xa0(r1) -/* 800B3180 000B00E0 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B3184 000B00E4 90 61 00 10 */ stw r3, 0x10(r1) -/* 800B3188 000B00E8 7C 64 1B 78 */ mr r4, r3 -/* 800B318C 000B00EC 7C 03 02 14 */ add r0, r3, r0 -/* 800B3190 000B00F0 90 61 00 0C */ stw r3, 0xc(r1) -/* 800B3194 000B00F4 90 01 00 18 */ stw r0, 0x18(r1) -/* 800B3198 000B00F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B319C 000B00FC 48 00 00 08 */ b lbl_800B31A4 -lbl_800B31A0: -/* 800B31A0 000B0100 38 84 00 38 */ addi r4, r4, 0x38 -lbl_800B31A4: -/* 800B31A4 000B0104 7C 04 00 40 */ cmplw r4, r0 -/* 800B31A8 000B0108 40 82 FF F8 */ bne lbl_800B31A0 -/* 800B31AC 000B010C 28 03 00 00 */ cmplwi r3, 0 -/* 800B31B0 000B0110 41 82 00 08 */ beq lbl_800B31B8 -/* 800B31B4 000B0114 48 26 27 7D */ bl Free__7CMemoryFPCv -lbl_800B31B8: -/* 800B31B8 000B0118 38 00 11 C8 */ li r0, 0x11c8 -/* 800B31BC 000B011C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 -/* 800B31C0 000B0120 80 01 11 D4 */ lwz r0, 0x11d4(r1) -/* 800B31C4 000B0124 CB E1 11 C0 */ lfd f31, 0x11c0(r1) -/* 800B31C8 000B0128 83 E1 11 BC */ lwz r31, 0x11bc(r1) -/* 800B31CC 000B012C 83 C1 11 B8 */ lwz r30, 0x11b8(r1) -/* 800B31D0 000B0130 83 A1 11 B4 */ lwz r29, 0x11b4(r1) -/* 800B31D4 000B0134 83 81 11 B0 */ lwz r28, 0x11b0(r1) -/* 800B31D8 000B0138 7C 08 03 A6 */ mtlr r0 -/* 800B31DC 000B013C 38 21 11 D0 */ addi r1, r1, 0x11d0 -/* 800B31E0 000B0140 4E 80 00 20 */ blr - -.global "MoveRiders__15CScriptPlatformFR13CStateManagerfbRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RC12CTransform4fRC12CTransform4fRC9CVector3f11CQuaternion" -"MoveRiders__15CScriptPlatformFR13CStateManagerfbRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>RC12CTransform4fRC12CTransform4fRC9CVector3f11CQuaternion": -/* 800B31E4 000B0144 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 800B31E8 000B0148 7C 08 02 A6 */ mflr r0 -/* 800B31EC 000B014C 90 01 01 34 */ stw r0, 0x134(r1) -/* 800B31F0 000B0150 BE C1 01 08 */ stmw r22, 0x108(r1) -/* 800B31F4 000B0154 7C B8 2B 78 */ mr r24, r5 -/* 800B31F8 000B0158 7C 77 1B 78 */ mr r23, r3 -/* 800B31FC 000B015C 7C D9 33 78 */ mr r25, r6 -/* 800B3200 000B0160 7C FA 3B 78 */ mr r26, r7 -/* 800B3204 000B0164 7D 1B 43 78 */ mr r27, r8 -/* 800B3208 000B0168 7D 3C 4B 78 */ mr r28, r9 -/* 800B320C 000B016C 7D 5D 53 78 */ mr r29, r10 -/* 800B3210 000B0170 54 9F 06 3E */ clrlwi r31, r4, 0x18 -/* 800B3214 000B0174 80 05 00 0C */ lwz r0, 0xc(r5) -/* 800B3218 000B0178 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800B321C 000B017C 48 00 02 74 */ b lbl_800B3490 -lbl_800B3220: -/* 800B3220 000B0180 28 1F 00 00 */ cmplwi r31, 0 -/* 800B3224 000B0184 41 82 02 60 */ beq lbl_800B3484 -/* 800B3228 000B0188 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 800B322C 000B018C 7E E3 BB 78 */ mr r3, r23 -/* 800B3230 000B0190 38 81 00 10 */ addi r4, r1, 0x10 -/* 800B3234 000B0194 A0 05 00 00 */ lhz r0, 0(r5) -/* 800B3238 000B0198 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B323C 000B019C 4B F9 93 39 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B3240 000B01A0 7C 64 1B 78 */ mr r4, r3 -/* 800B3244 000B01A4 38 61 00 28 */ addi r3, r1, 0x28 -/* 800B3248 000B01A8 4B FF 94 9D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 800B324C 000B01AC 83 C3 00 04 */ lwz r30, 4(r3) -/* 800B3250 000B01B0 28 1E 00 00 */ cmplwi r30, 0 -/* 800B3254 000B01B4 41 82 00 10 */ beq lbl_800B3264 -/* 800B3258 000B01B8 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 800B325C 000B01BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B3260 000B01C0 40 82 00 14 */ bne lbl_800B3274 -lbl_800B3264: -/* 800B3264 000B01C4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 800B3268 000B01C8 38 03 00 38 */ addi r0, r3, 0x38 -/* 800B326C 000B01CC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800B3270 000B01D0 48 00 02 20 */ b lbl_800B3490 -lbl_800B3274: -/* 800B3274 000B01D4 82 C1 00 1C */ lwz r22, 0x1c(r1) -/* 800B3278 000B01D8 7F 44 D3 78 */ mr r4, r26 -/* 800B327C 000B01DC 38 61 00 68 */ addi r3, r1, 0x68 -/* 800B3280 000B01E0 38 A1 00 5C */ addi r5, r1, 0x5c -/* 800B3284 000B01E4 C0 56 00 34 */ lfs f2, 0x34(r22) -/* 800B3288 000B01E8 C0 36 00 24 */ lfs f1, 0x24(r22) -/* 800B328C 000B01EC C0 16 00 14 */ lfs f0, 0x14(r22) -/* 800B3290 000B01F0 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800B3294 000B01F4 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 800B3298 000B01F8 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 800B329C 000B01FC 48 25 F7 E5 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800B32A0 000B0200 C0 56 00 34 */ lfs f2, 0x34(r22) -/* 800B32A4 000B0204 7F 64 DB 78 */ mr r4, r27 -/* 800B32A8 000B0208 C0 36 00 24 */ lfs f1, 0x24(r22) -/* 800B32AC 000B020C 38 61 00 80 */ addi r3, r1, 0x80 -/* 800B32B0 000B0210 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 800B32B4 000B0214 38 A1 00 74 */ addi r5, r1, 0x74 -/* 800B32B8 000B0218 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800B32BC 000B021C D0 21 00 78 */ stfs f1, 0x78(r1) -/* 800B32C0 000B0220 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 800B32C4 000B0224 48 25 F7 BD */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800B32C8 000B0228 C0 61 00 84 */ lfs f3, 0x84(r1) -/* 800B32CC 000B022C 7F C3 F3 78 */ mr r3, r30 -/* 800B32D0 000B0230 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 800B32D4 000B0234 38 81 00 98 */ addi r4, r1, 0x98 -/* 800B32D8 000B0238 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 800B32DC 000B023C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 800B32E0 000B0240 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800B32E4 000B0244 C0 7C 00 04 */ lfs f3, 4(r28) -/* 800B32E8 000B0248 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800B32EC 000B024C C0 3C 00 00 */ lfs f1, 0(r28) -/* 800B32F0 000B0250 EC A3 10 2A */ fadds f5, f3, f2 -/* 800B32F4 000B0254 C0 9C 00 08 */ lfs f4, 8(r28) -/* 800B32F8 000B0258 C0 42 8C AC */ lfs f2, lbl_805AA9CC@sda21(r2) -/* 800B32FC 000B025C EC 61 00 2A */ fadds f3, f1, f0 -/* 800B3300 000B0260 EC 84 10 2A */ fadds f4, f4, f2 -/* 800B3304 000B0264 D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 800B3308 000B0268 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 800B330C 000B026C D0 81 00 A0 */ stfs f4, 0xa0(r1) -/* 800B3310 000B0270 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 800B3314 000B0274 C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 800B3318 000B0278 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800B331C 000B027C EC 42 28 2A */ fadds f2, f2, f5 -/* 800B3320 000B0280 EC 21 20 2A */ fadds f1, f1, f4 -/* 800B3324 000B0284 EC 00 18 2A */ fadds f0, f0, f3 -/* 800B3328 000B0288 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 800B332C 000B028C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 800B3330 000B0290 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 800B3334 000B0294 48 06 77 05 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f -/* 800B3338 000B0298 7F C3 F3 78 */ mr r3, r30 -/* 800B333C 000B029C 4B FA 05 81 */ bl GetMaterialFilter__6CActorCFv -/* 800B3340 000B02A0 7F C4 F3 78 */ mr r4, r30 -/* 800B3344 000B02A4 7C 76 1B 78 */ mr r22, r3 -/* 800B3348 000B02A8 81 9E 00 00 */ lwz r12, 0(r30) -/* 800B334C 000B02AC 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 800B3350 000B02B0 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 800B3354 000B02B4 7D 89 03 A6 */ mtctr r12 -/* 800B3358 000B02B8 4E 80 04 21 */ bctrl -/* 800B335C 000B02BC 7F C3 F3 78 */ mr r3, r30 -/* 800B3360 000B02C0 81 9E 00 00 */ lwz r12, 0(r30) -/* 800B3364 000B02C4 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 800B3368 000B02C8 7D 89 03 A6 */ mtctr r12 -/* 800B336C 000B02CC 4E 80 04 21 */ bctrl -/* 800B3370 000B02D0 7C 64 1B 78 */ mr r4, r3 -/* 800B3374 000B02D4 7E E3 BB 78 */ mr r3, r23 -/* 800B3378 000B02D8 7E C6 B3 78 */ mr r6, r22 -/* 800B337C 000B02DC 38 A1 00 D4 */ addi r5, r1, 0xd4 -/* 800B3380 000B02E0 48 0D 00 21 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter -/* 800B3384 000B02E4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800B3388 000B02E8 7C 76 1B 78 */ mr r22, r3 -/* 800B338C 000B02EC 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 800B3390 000B02F0 7F C3 F3 78 */ mr r3, r30 -/* 800B3394 000B02F4 48 06 76 A5 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f -/* 800B3398 000B02F8 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 800B339C 000B02FC 41 82 00 40 */ beq lbl_800B33DC -/* 800B33A0 000B0300 A0 1E 00 08 */ lhz r0, 8(r30) -/* 800B33A4 000B0304 7F 23 CB 78 */ mr r3, r25 -/* 800B33A8 000B0308 7F C5 F3 78 */ mr r5, r30 -/* 800B33AC 000B030C 7E E6 BB 78 */ mr r6, r23 -/* 800B33B0 000B0310 B0 01 00 08 */ sth r0, 8(r1) -/* 800B33B4 000B0314 38 81 00 0C */ addi r4, r1, 0xc -/* 800B33B8 000B0318 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B33BC 000B031C 48 00 04 15 */ bl "AddRider__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>9TUniqueIdPC13CPhysicsActorR13CStateManager" -/* 800B33C0 000B0320 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 800B33C4 000B0324 7F 04 C3 78 */ mr r4, r24 -/* 800B33C8 000B0328 38 61 00 18 */ addi r3, r1, 0x18 -/* 800B33CC 000B032C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800B33D0 000B0330 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B33D4 000B0334 4B FF EA 31 */ bl sub_800b1e04 -/* 800B33D8 000B0338 48 00 00 B8 */ b lbl_800B3490 -lbl_800B33DC: -/* 800B33DC 000B033C 7F C3 F3 78 */ mr r3, r30 -/* 800B33E0 000B0340 38 81 00 8C */ addi r4, r1, 0x8c -/* 800B33E4 000B0344 4B F9 FA A9 */ bl SetTranslation__6CActorFRC9CVector3f -/* 800B33E8 000B0348 7F C4 F3 78 */ mr r4, r30 -/* 800B33EC 000B034C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B33F0 000B0350 4B FF 90 11 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -/* 800B33F4 000B0354 80 63 00 04 */ lwz r3, 4(r3) -/* 800B33F8 000B0358 28 03 00 00 */ cmplwi r3, 0 -/* 800B33FC 000B035C 41 82 00 10 */ beq lbl_800B340C -/* 800B3400 000B0360 80 03 03 04 */ lwz r0, 0x304(r3) -/* 800B3404 000B0364 2C 00 00 00 */ cmpwi r0, 0 -/* 800B3408 000B0368 40 82 00 7C */ bne lbl_800B3484 -lbl_800B340C: -/* 800B340C 000B036C 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B3410 000B0370 38 9E 00 34 */ addi r4, r30, 0x34 -/* 800B3414 000B0374 48 25 ED 15 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 800B3418 000B0378 7F A4 EB 78 */ mr r4, r29 -/* 800B341C 000B037C 38 61 00 4C */ addi r3, r1, 0x4c -/* 800B3420 000B0380 38 A1 00 30 */ addi r5, r1, 0x30 -/* 800B3424 000B0384 48 25 DD 7D */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 800B3428 000B0388 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800B342C 000B038C 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 800B3430 000B0390 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 800B3434 000B0394 38 81 00 4C */ addi r4, r1, 0x4c -/* 800B3438 000B0398 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800B343C 000B039C 38 A1 00 40 */ addi r5, r1, 0x40 -/* 800B3440 000B03A0 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800B3444 000B03A4 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 800B3448 000B03A8 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 800B344C 000B03AC 48 25 EA 71 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 800B3450 000B03B0 38 7E 00 34 */ addi r3, r30, 0x34 -/* 800B3454 000B03B4 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 800B3458 000B03B8 48 25 F6 E9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800B345C 000B03BC 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 800B3460 000B03C0 38 60 00 01 */ li r3, 1 -/* 800B3464 000B03C4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800B3468 000B03C8 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 800B346C 000B03CC 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 800B3470 000B03D0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800B3474 000B03D4 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 800B3478 000B03D8 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 800B347C 000B03DC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800B3480 000B03E0 98 1E 00 E4 */ stb r0, 0xe4(r30) -lbl_800B3484: -/* 800B3484 000B03E4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 800B3488 000B03E8 38 03 00 38 */ addi r0, r3, 0x38 -/* 800B348C 000B03EC 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_800B3490: -/* 800B3490 000B03F0 80 18 00 04 */ lwz r0, 4(r24) -/* 800B3494 000B03F4 80 78 00 0C */ lwz r3, 0xc(r24) -/* 800B3498 000B03F8 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B349C 000B03FC 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 800B34A0 000B0400 7C 03 02 14 */ add r0, r3, r0 -/* 800B34A4 000B0404 7C 04 00 40 */ cmplw r4, r0 -/* 800B34A8 000B0408 40 82 FD 78 */ bne lbl_800B3220 -/* 800B34AC 000B040C BA C1 01 08 */ lmw r22, 0x108(r1) -/* 800B34B0 000B0410 80 01 01 34 */ lwz r0, 0x134(r1) -/* 800B34B4 000B0414 7C 08 03 A6 */ mtlr r0 -/* 800B34B8 000B0418 38 21 01 30 */ addi r1, r1, 0x130 -/* 800B34BC 000B041C 4E 80 00 20 */ blr - -.global __ct__13CPhysicsStateFRC13CPhysicsState -__ct__13CPhysicsStateFRC13CPhysicsState: -/* 800B34C0 000B0420 C0 04 00 00 */ lfs f0, 0(r4) -/* 800B34C4 000B0424 D0 03 00 00 */ stfs f0, 0(r3) -/* 800B34C8 000B0428 C0 04 00 04 */ lfs f0, 4(r4) -/* 800B34CC 000B042C D0 03 00 04 */ stfs f0, 4(r3) -/* 800B34D0 000B0430 C0 04 00 08 */ lfs f0, 8(r4) -/* 800B34D4 000B0434 D0 03 00 08 */ stfs f0, 8(r3) -/* 800B34D8 000B0438 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 800B34DC 000B043C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800B34E0 000B0440 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 800B34E4 000B0444 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800B34E8 000B0448 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 800B34EC 000B044C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 800B34F0 000B0450 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 800B34F4 000B0454 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 800B34F8 000B0458 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 800B34FC 000B045C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 800B3500 000B0460 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 800B3504 000B0464 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 800B3508 000B0468 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 800B350C 000B046C D0 03 00 24 */ stfs f0, 0x24(r3) -/* 800B3510 000B0470 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 800B3514 000B0474 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 800B3518 000B0478 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 800B351C 000B047C D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 800B3520 000B0480 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 800B3524 000B0484 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 800B3528 000B0488 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 800B352C 000B048C D0 03 00 34 */ stfs f0, 0x34(r3) -/* 800B3530 000B0490 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 800B3534 000B0494 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 800B3538 000B0498 C0 04 00 3C */ lfs f0, 0x3c(r4) -/* 800B353C 000B049C D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 800B3540 000B04A0 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 800B3544 000B04A4 D0 03 00 40 */ stfs f0, 0x40(r3) -/* 800B3548 000B04A8 C0 04 00 44 */ lfs f0, 0x44(r4) -/* 800B354C 000B04AC D0 03 00 44 */ stfs f0, 0x44(r3) -/* 800B3550 000B04B0 C0 04 00 48 */ lfs f0, 0x48(r4) -/* 800B3554 000B04B4 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 800B3558 000B04B8 C0 04 00 4C */ lfs f0, 0x4c(r4) -/* 800B355C 000B04BC D0 03 00 4C */ stfs f0, 0x4c(r3) -/* 800B3560 000B04C0 C0 04 00 50 */ lfs f0, 0x50(r4) -/* 800B3564 000B04C4 D0 03 00 50 */ stfs f0, 0x50(r3) -/* 800B3568 000B04C8 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 800B356C 000B04CC D0 03 00 54 */ stfs f0, 0x54(r3) -/* 800B3570 000B04D0 C0 04 00 58 */ lfs f0, 0x58(r4) -/* 800B3574 000B04D4 D0 03 00 58 */ stfs f0, 0x58(r3) -/* 800B3578 000B04D8 C0 04 00 5C */ lfs f0, 0x5c(r4) -/* 800B357C 000B04DC D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 800B3580 000B04E0 C0 04 00 60 */ lfs f0, 0x60(r4) -/* 800B3584 000B04E4 D0 03 00 60 */ stfs f0, 0x60(r3) -/* 800B3588 000B04E8 C0 04 00 64 */ lfs f0, 0x64(r4) -/* 800B358C 000B04EC D0 03 00 64 */ stfs f0, 0x64(r3) -/* 800B3590 000B04F0 C0 04 00 68 */ lfs f0, 0x68(r4) -/* 800B3594 000B04F4 D0 03 00 68 */ stfs f0, 0x68(r3) -/* 800B3598 000B04F8 C0 04 00 6C */ lfs f0, 0x6c(r4) -/* 800B359C 000B04FC D0 03 00 6C */ stfs f0, 0x6c(r3) -/* 800B35A0 000B0500 4E 80 00 20 */ blr - -.global "DecayRiders__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>fR13CStateManager" -"DecayRiders__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>fR13CStateManager": -/* 800B35A4 000B0504 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800B35A8 000B0508 7C 08 02 A6 */ mflr r0 -/* 800B35AC 000B050C 90 01 00 54 */ stw r0, 0x54(r1) -/* 800B35B0 000B0510 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 800B35B4 000B0514 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 800B35B8 000B0518 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 800B35BC 000B051C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 800B35C0 000B0520 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800B35C4 000B0524 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800B35C8 000B0528 7C 7E 1B 78 */ mr r30, r3 -/* 800B35CC 000B052C FF C0 08 90 */ fmr f30, f1 -/* 800B35D0 000B0530 80 03 00 0C */ lwz r0, 0xc(r3) -/* 800B35D4 000B0534 7C 9F 23 78 */ mr r31, r4 -/* 800B35D8 000B0538 C3 E2 8C AC */ lfs f31, lbl_805AA9CC@sda21(r2) -/* 800B35DC 000B053C 90 01 00 18 */ stw r0, 0x18(r1) -/* 800B35E0 000B0540 48 00 00 70 */ b lbl_800B3650 -lbl_800B35E4: -/* 800B35E4 000B0544 80 E1 00 18 */ lwz r7, 0x18(r1) -/* 800B35E8 000B0548 C0 07 00 04 */ lfs f0, 4(r7) -/* 800B35EC 000B054C EC 00 F0 28 */ fsubs f0, f0, f30 -/* 800B35F0 000B0550 D0 07 00 04 */ stfs f0, 4(r7) -/* 800B35F4 000B0554 C0 07 00 04 */ lfs f0, 4(r7) -/* 800B35F8 000B0558 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 800B35FC 000B055C 4C 40 13 82 */ cror 2, 0, 2 -/* 800B3600 000B0560 40 82 00 44 */ bne lbl_800B3644 -/* 800B3604 000B0564 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B3608 000B0568 7F E3 FB 78 */ mr r3, r31 -/* 800B360C 000B056C 38 81 00 0C */ addi r4, r1, 0xc -/* 800B3610 000B0570 38 A1 00 08 */ addi r5, r1, 8 -/* 800B3614 000B0574 B0 01 00 08 */ sth r0, 8(r1) -/* 800B3618 000B0578 38 C0 00 1F */ li r6, 0x1f -/* 800B361C 000B057C A0 07 00 00 */ lhz r0, 0(r7) -/* 800B3620 000B0580 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B3624 000B0584 4B F9 08 31 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId -/* 800B3628 000B0588 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800B362C 000B058C 7F C4 F3 78 */ mr r4, r30 -/* 800B3630 000B0590 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B3634 000B0594 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800B3638 000B0598 90 01 00 10 */ stw r0, 0x10(r1) -/* 800B363C 000B059C 4B FF E7 C9 */ bl sub_800b1e04 -/* 800B3640 000B05A0 48 00 00 10 */ b lbl_800B3650 -lbl_800B3644: -/* 800B3644 000B05A4 80 61 00 18 */ lwz r3, 0x18(r1) -/* 800B3648 000B05A8 38 03 00 38 */ addi r0, r3, 0x38 -/* 800B364C 000B05AC 90 01 00 18 */ stw r0, 0x18(r1) -lbl_800B3650: -/* 800B3650 000B05B0 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B3654 000B05B4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800B3658 000B05B8 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B365C 000B05BC 80 81 00 18 */ lwz r4, 0x18(r1) -/* 800B3660 000B05C0 7C 03 02 14 */ add r0, r3, r0 -/* 800B3664 000B05C4 7C 04 00 40 */ cmplw r4, r0 -/* 800B3668 000B05C8 40 82 FF 7C */ bne lbl_800B35E4 -/* 800B366C 000B05CC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 800B3670 000B05D0 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 800B3674 000B05D4 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 800B3678 000B05D8 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 800B367C 000B05DC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800B3680 000B05E0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800B3684 000B05E4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800B3688 000B05E8 7C 08 03 A6 */ mtlr r0 -/* 800B368C 000B05EC 38 21 00 50 */ addi r1, r1, 0x50 -/* 800B3690 000B05F0 4E 80 00 20 */ blr - -.global "BuildNearListFromRiders__15CScriptPlatformFR13CStateManagerRCQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>" -"BuildNearListFromRiders__15CScriptPlatformFR13CStateManagerRCQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>": -/* 800B3694 000B05F4 94 21 F7 D0 */ stwu r1, -0x830(r1) -/* 800B3698 000B05F8 7C 08 02 A6 */ mflr r0 -/* 800B369C 000B05FC 90 01 08 34 */ stw r0, 0x834(r1) -/* 800B36A0 000B0600 38 00 00 00 */ li r0, 0 -/* 800B36A4 000B0604 BF 61 08 1C */ stmw r27, 0x81c(r1) -/* 800B36A8 000B0608 7C BE 2B 78 */ mr r30, r5 -/* 800B36AC 000B060C 7C 7C 1B 78 */ mr r28, r3 -/* 800B36B0 000B0610 7C 9D 23 78 */ mr r29, r4 -/* 800B36B4 000B0614 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B36B8 000B0618 3B E1 00 18 */ addi r31, r1, 0x18 -/* 800B36BC 000B061C 83 65 00 0C */ lwz r27, 0xc(r5) -/* 800B36C0 000B0620 48 00 00 58 */ b lbl_800B3718 -lbl_800B36C4: -/* 800B36C4 000B0624 A0 1B 00 00 */ lhz r0, 0(r27) -/* 800B36C8 000B0628 7F A3 EB 78 */ mr r3, r29 -/* 800B36CC 000B062C 38 81 00 08 */ addi r4, r1, 8 -/* 800B36D0 000B0630 B0 01 00 08 */ sth r0, 8(r1) -/* 800B36D4 000B0634 4B F9 8E A1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B36D8 000B0638 7C 64 1B 78 */ mr r4, r3 -/* 800B36DC 000B063C 38 61 00 0C */ addi r3, r1, 0xc -/* 800B36E0 000B0640 4B FF C5 B1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800B36E4 000B0644 80 63 00 04 */ lwz r3, 4(r3) -/* 800B36E8 000B0648 28 03 00 00 */ cmplwi r3, 0 -/* 800B36EC 000B064C 41 82 00 28 */ beq lbl_800B3714 -/* 800B36F0 000B0650 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B36F4 000B0654 A0 83 00 08 */ lhz r4, 8(r3) -/* 800B36F8 000B0658 54 00 08 3C */ slwi r0, r0, 1 -/* 800B36FC 000B065C 7C 7F 02 15 */ add. r3, r31, r0 -/* 800B3700 000B0660 41 82 00 08 */ beq lbl_800B3708 -/* 800B3704 000B0664 B0 83 00 00 */ sth r4, 0(r3) -lbl_800B3708: -/* 800B3708 000B0668 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800B370C 000B066C 38 03 00 01 */ addi r0, r3, 1 -/* 800B3710 000B0670 90 01 00 14 */ stw r0, 0x14(r1) -lbl_800B3714: -/* 800B3714 000B0674 3B 7B 00 38 */ addi r27, r27, 0x38 -lbl_800B3718: -/* 800B3718 000B0678 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B371C 000B067C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800B3720 000B0680 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B3724 000B0684 7C 03 02 14 */ add r0, r3, r0 -/* 800B3728 000B0688 7C 1B 00 40 */ cmplw r27, r0 -/* 800B372C 000B068C 40 82 FF 98 */ bne lbl_800B36C4 -/* 800B3730 000B0690 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B3734 000B0694 38 7C 00 04 */ addi r3, r28, 4 -/* 800B3738 000B0698 90 1C 00 00 */ stw r0, 0(r28) -/* 800B373C 000B069C 80 1C 00 00 */ lwz r0, 0(r28) -/* 800B3740 000B06A0 7C 09 03 A6 */ mtctr r0 -/* 800B3744 000B06A4 2C 00 00 00 */ cmpwi r0, 0 -/* 800B3748 000B06A8 40 81 00 20 */ ble lbl_800B3768 -lbl_800B374C: -/* 800B374C 000B06AC 28 03 00 00 */ cmplwi r3, 0 -/* 800B3750 000B06B0 41 82 00 0C */ beq lbl_800B375C -/* 800B3754 000B06B4 A0 1F 00 00 */ lhz r0, 0(r31) -/* 800B3758 000B06B8 B0 03 00 00 */ sth r0, 0(r3) -lbl_800B375C: -/* 800B375C 000B06BC 38 63 00 02 */ addi r3, r3, 2 -/* 800B3760 000B06C0 3B FF 00 02 */ addi r31, r31, 2 -/* 800B3764 000B06C4 42 00 FF E8 */ bdnz lbl_800B374C -lbl_800B3768: -/* 800B3768 000B06C8 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 800B376C 000B06CC 38 60 00 00 */ li r3, 0 -/* 800B3770 000B06D0 2C 05 00 00 */ cmpwi r5, 0 -/* 800B3774 000B06D4 40 81 00 40 */ ble lbl_800B37B4 -/* 800B3778 000B06D8 2C 05 00 08 */ cmpwi r5, 8 -/* 800B377C 000B06DC 38 85 FF F8 */ addi r4, r5, -8 -/* 800B3780 000B06E0 40 81 00 20 */ ble lbl_800B37A0 -/* 800B3784 000B06E4 38 04 00 07 */ addi r0, r4, 7 -/* 800B3788 000B06E8 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B378C 000B06EC 7C 09 03 A6 */ mtctr r0 -/* 800B3790 000B06F0 2C 04 00 00 */ cmpwi r4, 0 -/* 800B3794 000B06F4 40 81 00 0C */ ble lbl_800B37A0 -lbl_800B3798: -/* 800B3798 000B06F8 38 63 00 08 */ addi r3, r3, 8 -/* 800B379C 000B06FC 42 00 FF FC */ bdnz lbl_800B3798 -lbl_800B37A0: -/* 800B37A0 000B0700 7C 03 28 50 */ subf r0, r3, r5 -/* 800B37A4 000B0704 7C 09 03 A6 */ mtctr r0 -/* 800B37A8 000B0708 7C 03 28 00 */ cmpw r3, r5 -/* 800B37AC 000B070C 40 80 00 08 */ bge lbl_800B37B4 -lbl_800B37B0: -/* 800B37B0 000B0710 42 00 00 00 */ bdnz lbl_800B37B0 -lbl_800B37B4: -/* 800B37B4 000B0714 BB 61 08 1C */ lmw r27, 0x81c(r1) -/* 800B37B8 000B0718 38 00 00 00 */ li r0, 0 -/* 800B37BC 000B071C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B37C0 000B0720 80 01 08 34 */ lwz r0, 0x834(r1) -/* 800B37C4 000B0724 7C 08 03 A6 */ mtlr r0 -/* 800B37C8 000B0728 38 21 08 30 */ addi r1, r1, 0x830 -/* 800B37CC 000B072C 4E 80 00 20 */ blr - -.global "AddRider__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>9TUniqueIdPC13CPhysicsActorR13CStateManager" -"AddRider__15CScriptPlatformFRQ24rstl43vector<7SRiders,Q24rstl17rmemory_allocator>9TUniqueIdPC13CPhysicsActorR13CStateManager": -/* 800B37D0 000B0730 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 800B37D4 000B0734 7C 08 02 A6 */ mflr r0 -/* 800B37D8 000B0738 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) -/* 800B37DC 000B073C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800B37E0 000B0740 BF 61 00 CC */ stmw r27, 0xcc(r1) -/* 800B37E4 000B0744 7C 7B 1B 78 */ mr r27, r3 -/* 800B37E8 000B0748 7C 9C 23 78 */ mr r28, r4 -/* 800B37EC 000B074C 7C BD 2B 78 */ mr r29, r5 -/* 800B37F0 000B0750 7C DE 33 78 */ mr r30, r6 -/* 800B37F4 000B0754 38 61 00 54 */ addi r3, r1, 0x54 -/* 800B37F8 000B0758 A0 04 00 00 */ lhz r0, 0(r4) -/* 800B37FC 000B075C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800B3800 000B0760 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800B3804 000B0764 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 800B3808 000B0768 B0 01 00 18 */ sth r0, 0x18(r1) -/* 800B380C 000B076C B0 01 00 4C */ sth r0, 0x4c(r1) -/* 800B3810 000B0770 48 25 F3 65 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B3814 000B0774 80 1B 00 04 */ lwz r0, 4(r27) -/* 800B3818 000B0778 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 800B381C 000B077C 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B3820 000B0780 A0 81 00 4C */ lhz r4, 0x4c(r1) -/* 800B3824 000B0784 90 61 00 24 */ stw r3, 0x24(r1) -/* 800B3828 000B0788 7C A3 02 14 */ add r5, r3, r0 -/* 800B382C 000B078C 90 61 00 28 */ stw r3, 0x28(r1) -/* 800B3830 000B0790 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 800B3834 000B0794 90 A1 00 20 */ stw r5, 0x20(r1) -/* 800B3838 000B0798 48 00 00 10 */ b lbl_800B3848 -lbl_800B383C: -/* 800B383C 000B079C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 800B3840 000B07A0 38 03 00 38 */ addi r0, r3, 0x38 -/* 800B3844 000B07A4 90 01 00 28 */ stw r0, 0x28(r1) -lbl_800B3848: -/* 800B3848 000B07A8 80 61 00 28 */ lwz r3, 0x28(r1) -/* 800B384C 000B07AC 7C 03 28 40 */ cmplw r3, r5 -/* 800B3850 000B07B0 41 82 00 10 */ beq lbl_800B3860 -/* 800B3854 000B07B4 A0 03 00 00 */ lhz r0, 0(r3) -/* 800B3858 000B07B8 7C 00 20 40 */ cmplw r0, r4 -/* 800B385C 000B07BC 40 82 FF E0 */ bne lbl_800B383C -lbl_800B3860: -/* 800B3860 000B07C0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 800B3864 000B07C4 7C 03 28 40 */ cmplw r3, r5 -/* 800B3868 000B07C8 40 82 01 48 */ bne lbl_800B39B0 -/* 800B386C 000B07CC A0 1C 00 00 */ lhz r0, 0(r28) -/* 800B3870 000B07D0 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800B3874 000B07D4 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) -/* 800B3878 000B07D8 3B E1 00 8C */ addi r31, r1, 0x8c -/* 800B387C 000B07DC B0 01 00 14 */ sth r0, 0x14(r1) -/* 800B3880 000B07E0 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800B3884 000B07E4 7F E3 FB 78 */ mr r3, r31 -/* 800B3888 000B07E8 B0 01 00 84 */ sth r0, 0x84(r1) -/* 800B388C 000B07EC D0 01 00 88 */ stfs f0, 0x88(r1) -/* 800B3890 000B07F0 48 25 F2 E5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B3894 000B07F4 A0 1C 00 00 */ lhz r0, 0(r28) -/* 800B3898 000B07F8 7F C3 F3 78 */ mr r3, r30 -/* 800B389C 000B07FC 38 81 00 10 */ addi r4, r1, 0x10 -/* 800B38A0 000B0800 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B38A4 000B0804 4B F9 8C D1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B38A8 000B0808 7C 64 1B 78 */ mr r4, r3 -/* 800B38AC 000B080C 38 61 00 2C */ addi r3, r1, 0x2c -/* 800B38B0 000B0810 4B FF 8E 35 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 800B38B4 000B0814 83 83 00 04 */ lwz r28, 4(r3) -/* 800B38B8 000B0818 28 1C 00 00 */ cmplwi r28, 0 -/* 800B38BC 000B081C 41 82 00 7C */ beq lbl_800B3938 -/* 800B38C0 000B0820 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 800B38C4 000B0824 38 61 00 40 */ addi r3, r1, 0x40 -/* 800B38C8 000B0828 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 800B38CC 000B082C 38 9D 00 34 */ addi r4, r29, 0x34 -/* 800B38D0 000B0830 C0 7C 00 60 */ lfs f3, 0x60(r28) -/* 800B38D4 000B0834 38 A1 00 34 */ addi r5, r1, 0x34 -/* 800B38D8 000B0838 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800B38DC 000B083C EC 81 00 28 */ fsubs f4, f1, f0 -/* 800B38E0 000B0840 C0 3C 00 40 */ lfs f1, 0x40(r28) -/* 800B38E4 000B0844 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800B38E8 000B0848 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800B38EC 000B084C D0 81 00 38 */ stfs f4, 0x38(r1) -/* 800B38F0 000B0850 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800B38F4 000B0854 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800B38F8 000B0858 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800B38FC 000B085C 48 25 F1 29 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800B3900 000B0860 A0 1D 00 08 */ lhz r0, 8(r29) -/* 800B3904 000B0864 7F C3 F3 78 */ mr r3, r30 -/* 800B3908 000B0868 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 800B390C 000B086C 7F 84 E3 78 */ mr r4, r28 -/* 800B3910 000B0870 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 800B3914 000B0874 38 A1 00 0C */ addi r5, r1, 0xc -/* 800B3918 000B0878 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 800B391C 000B087C 38 C0 00 1F */ li r6, 0x1f -/* 800B3920 000B0880 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 800B3924 000B0884 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 800B3928 000B0888 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 800B392C 000B088C B0 01 00 08 */ sth r0, 8(r1) -/* 800B3930 000B0890 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B3934 000B0894 4B F9 05 9D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_800B3938: -/* 800B3938 000B0898 80 9B 00 04 */ lwz r4, 4(r27) -/* 800B393C 000B089C 7F 63 DB 78 */ mr r3, r27 -/* 800B3940 000B08A0 38 84 00 01 */ addi r4, r4, 1 -/* 800B3944 000B08A4 48 00 0A C1 */ bl sub_800b4404 -/* 800B3948 000B08A8 80 1B 00 04 */ lwz r0, 4(r27) -/* 800B394C 000B08AC 80 BB 00 08 */ lwz r5, 8(r27) -/* 800B3950 000B08B0 7C 00 28 00 */ cmpw r0, r5 -/* 800B3954 000B08B4 41 80 00 1C */ blt lbl_800B3970 -/* 800B3958 000B08B8 2C 05 00 00 */ cmpwi r5, 0 -/* 800B395C 000B08BC 7F 63 DB 78 */ mr r3, r27 -/* 800B3960 000B08C0 38 80 00 04 */ li r4, 4 -/* 800B3964 000B08C4 41 82 00 08 */ beq lbl_800B396C -/* 800B3968 000B08C8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B396C: -/* 800B396C 000B08CC 48 00 0A 99 */ bl sub_800b4404 -lbl_800B3970: -/* 800B3970 000B08D0 80 1B 00 04 */ lwz r0, 4(r27) -/* 800B3974 000B08D4 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 800B3978 000B08D8 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B397C 000B08DC 7C A3 02 15 */ add. r5, r3, r0 -/* 800B3980 000B08E0 41 82 00 20 */ beq lbl_800B39A0 -/* 800B3984 000B08E4 A0 01 00 84 */ lhz r0, 0x84(r1) -/* 800B3988 000B08E8 7F E4 FB 78 */ mr r4, r31 -/* 800B398C 000B08EC 38 65 00 08 */ addi r3, r5, 8 -/* 800B3990 000B08F0 B0 05 00 00 */ sth r0, 0(r5) -/* 800B3994 000B08F4 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 800B3998 000B08F8 D0 05 00 04 */ stfs f0, 4(r5) -/* 800B399C 000B08FC 48 25 F1 D9 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_800B39A0: -/* 800B39A0 000B0900 80 7B 00 04 */ lwz r3, 4(r27) -/* 800B39A4 000B0904 38 03 00 01 */ addi r0, r3, 1 -/* 800B39A8 000B0908 90 1B 00 04 */ stw r0, 4(r27) -/* 800B39AC 000B090C 48 00 00 0C */ b lbl_800B39B8 -lbl_800B39B0: -/* 800B39B0 000B0910 C0 02 8C CC */ lfs f0, lbl_805AA9EC@sda21(r2) -/* 800B39B4 000B0914 D0 03 00 04 */ stfs f0, 4(r3) -lbl_800B39B8: -/* 800B39B8 000B0918 BB 61 00 CC */ lmw r27, 0xcc(r1) -/* 800B39BC 000B091C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800B39C0 000B0920 7C 08 03 A6 */ mtlr r0 -/* 800B39C4 000B0924 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800B39C8 000B0928 4E 80 00 20 */ blr - -.global GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager -GetNext__15CScriptPlatformF9TUniqueIdR13CStateManager: -/* 800B39CC 000B092C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800B39D0 000B0930 7C 08 02 A6 */ mflr r0 -/* 800B39D4 000B0934 90 01 00 44 */ stw r0, 0x44(r1) -/* 800B39D8 000B0938 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800B39DC 000B093C 7C DF 33 78 */ mr r31, r6 -/* 800B39E0 000B0940 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800B39E4 000B0944 7C 9E 23 78 */ mr r30, r4 -/* 800B39E8 000B0948 38 81 00 10 */ addi r4, r1, 0x10 -/* 800B39EC 000B094C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800B39F0 000B0950 7C 7D 1B 78 */ mr r29, r3 -/* 800B39F4 000B0954 7F E3 FB 78 */ mr r3, r31 -/* 800B39F8 000B0958 A0 05 00 00 */ lhz r0, 0(r5) -/* 800B39FC 000B095C B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B3A00 000B0960 4B F9 8B A5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800B3A04 000B0964 7C 64 1B 78 */ mr r4, r3 -/* 800B3A08 000B0968 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B3A0C 000B096C 4B FF 2B 41 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 800B3A10 000B0970 80 83 00 04 */ lwz r4, 4(r3) -/* 800B3A14 000B0974 28 04 00 00 */ cmplwi r4, 0 -/* 800B3A18 000B0978 40 82 00 18 */ bne lbl_800B3A30 -/* 800B3A1C 000B097C 7F A3 EB 78 */ mr r3, r29 -/* 800B3A20 000B0980 7F C4 F3 78 */ mr r4, r30 -/* 800B3A24 000B0984 7F E5 FB 78 */ mr r5, r31 -/* 800B3A28 000B0988 48 00 00 71 */ bl GetWaypoint__15CScriptPlatformFR13CStateManager -/* 800B3A2C 000B098C 48 00 00 50 */ b lbl_800B3A7C -lbl_800B3A30: -/* 800B3A30 000B0990 7F E5 FB 78 */ mr r5, r31 -/* 800B3A34 000B0994 38 61 00 0C */ addi r3, r1, 0xc -/* 800B3A38 000B0998 4B FC 36 FD */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager -/* 800B3A3C 000B099C A0 01 00 0C */ lhz r0, 0xc(r1) -/* 800B3A40 000B09A0 7F E3 FB 78 */ mr r3, r31 -/* 800B3A44 000B09A4 38 81 00 08 */ addi r4, r1, 8 -/* 800B3A48 000B09A8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800B3A4C 000B09AC B0 01 00 08 */ sth r0, 8(r1) -/* 800B3A50 000B09B0 4B F9 8B 55 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800B3A54 000B09B4 7C 64 1B 78 */ mr r4, r3 -/* 800B3A58 000B09B8 38 61 00 18 */ addi r3, r1, 0x18 -/* 800B3A5C 000B09BC 4B FF 2A F1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 800B3A60 000B09C0 80 63 00 04 */ lwz r3, 4(r3) -/* 800B3A64 000B09C4 28 03 00 00 */ cmplwi r3, 0 -/* 800B3A68 000B09C8 41 82 00 0C */ beq lbl_800B3A74 -/* 800B3A6C 000B09CC C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 800B3A70 000B09D0 D0 1E 02 5C */ stfs f0, 0x25c(r30) -lbl_800B3A74: -/* 800B3A74 000B09D4 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 800B3A78 000B09D8 B0 1D 00 00 */ sth r0, 0(r29) -lbl_800B3A7C: -/* 800B3A7C 000B09DC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800B3A80 000B09E0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800B3A84 000B09E4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800B3A88 000B09E8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800B3A8C 000B09EC 7C 08 03 A6 */ mtlr r0 -/* 800B3A90 000B09F0 38 21 00 40 */ addi r1, r1, 0x40 -/* 800B3A94 000B09F4 4E 80 00 20 */ blr - -.global GetWaypoint__15CScriptPlatformFR13CStateManager -GetWaypoint__15CScriptPlatformFR13CStateManager: -/* 800B3A98 000B09F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B3A9C 000B09FC 7C 08 02 A6 */ mflr r0 -/* 800B3AA0 000B0A00 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B3AA4 000B0A04 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B3AA8 000B0A08 7C 7F 1B 78 */ mr r31, r3 -/* 800B3AAC 000B0A0C 80 C4 00 2C */ lwz r6, 0x2c(r4) -/* 800B3AB0 000B0A10 48 00 00 30 */ b lbl_800B3AE0 -lbl_800B3AB4: -/* 800B3AB4 000B0A14 80 06 00 04 */ lwz r0, 4(r6) -/* 800B3AB8 000B0A18 2C 00 00 06 */ cmpwi r0, 6 -/* 800B3ABC 000B0A1C 40 82 00 20 */ bne lbl_800B3ADC -/* 800B3AC0 000B0A20 80 06 00 08 */ lwz r0, 8(r6) -/* 800B3AC4 000B0A24 7F E3 FB 78 */ mr r3, r31 -/* 800B3AC8 000B0A28 7C A4 2B 78 */ mr r4, r5 -/* 800B3ACC 000B0A2C 38 A1 00 08 */ addi r5, r1, 8 -/* 800B3AD0 000B0A30 90 01 00 08 */ stw r0, 8(r1) -/* 800B3AD4 000B0A34 4B F9 44 49 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800B3AD8 000B0A38 48 00 00 28 */ b lbl_800B3B00 -lbl_800B3ADC: -/* 800B3ADC 000B0A3C 38 C6 00 0C */ addi r6, r6, 0xc -lbl_800B3AE0: -/* 800B3AE0 000B0A40 80 04 00 24 */ lwz r0, 0x24(r4) -/* 800B3AE4 000B0A44 80 64 00 2C */ lwz r3, 0x2c(r4) -/* 800B3AE8 000B0A48 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800B3AEC 000B0A4C 7C 03 02 14 */ add r0, r3, r0 -/* 800B3AF0 000B0A50 7C 06 00 40 */ cmplw r6, r0 -/* 800B3AF4 000B0A54 40 82 FF C0 */ bne lbl_800B3AB4 -/* 800B3AF8 000B0A58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B3AFC 000B0A5C B0 1F 00 00 */ sth r0, 0(r31) -lbl_800B3B00: -/* 800B3B00 000B0A60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B3B04 000B0A64 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B3B08 000B0A68 7C 08 03 A6 */ mtlr r0 -/* 800B3B0C 000B0A6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B3B10 000B0A70 4E 80 00 20 */ blr - -.global GetTouchBounds__15CScriptPlatformCFv -GetTouchBounds__15CScriptPlatformCFv: -/* 800B3B14 000B0A74 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800B3B18 000B0A78 7C 08 02 A6 */ mflr r0 -/* 800B3B1C 000B0A7C 7C 85 23 78 */ mr r5, r4 -/* 800B3B20 000B0A80 90 01 00 44 */ stw r0, 0x44(r1) -/* 800B3B24 000B0A84 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800B3B28 000B0A88 7C 7F 1B 78 */ mr r31, r3 -/* 800B3B2C 000B0A8C 88 04 00 30 */ lbz r0, 0x30(r4) -/* 800B3B30 000B0A90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B3B34 000B0A94 41 82 00 BC */ beq lbl_800B3BF0 -/* 800B3B38 000B0A98 80 05 03 14 */ lwz r0, 0x314(r5) -/* 800B3B3C 000B0A9C 28 00 00 00 */ cmplwi r0, 0 -/* 800B3B40 000B0AA0 41 82 00 64 */ beq lbl_800B3BA4 -/* 800B3B44 000B0AA4 7C 04 03 78 */ mr r4, r0 -/* 800B3B48 000B0AA8 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B3B4C 000B0AAC 81 84 00 00 */ lwz r12, 0(r4) -/* 800B3B50 000B0AB0 38 A5 00 34 */ addi r5, r5, 0x34 -/* 800B3B54 000B0AB4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800B3B58 000B0AB8 7D 89 03 A6 */ mtctr r12 -/* 800B3B5C 000B0ABC 4E 80 04 21 */ bctrl -/* 800B3B60 000B0AC0 38 00 00 01 */ li r0, 1 -/* 800B3B64 000B0AC4 28 1F 00 00 */ cmplwi r31, 0 -/* 800B3B68 000B0AC8 98 1F 00 18 */ stb r0, 0x18(r31) -/* 800B3B6C 000B0ACC 41 82 00 8C */ beq lbl_800B3BF8 -/* 800B3B70 000B0AD0 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 800B3B74 000B0AD4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 800B3B78 000B0AD8 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 800B3B7C 000B0ADC D0 1F 00 04 */ stfs f0, 4(r31) -/* 800B3B80 000B0AE0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 800B3B84 000B0AE4 D0 1F 00 08 */ stfs f0, 8(r31) -/* 800B3B88 000B0AE8 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800B3B8C 000B0AEC D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 800B3B90 000B0AF0 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800B3B94 000B0AF4 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 800B3B98 000B0AF8 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 800B3B9C 000B0AFC D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 800B3BA0 000B0B00 48 00 00 58 */ b lbl_800B3BF8 -lbl_800B3BA4: -/* 800B3BA4 000B0B04 38 61 00 08 */ addi r3, r1, 8 -/* 800B3BA8 000B0B08 48 06 6D 85 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 800B3BAC 000B0B0C 38 00 00 01 */ li r0, 1 -/* 800B3BB0 000B0B10 28 1F 00 00 */ cmplwi r31, 0 -/* 800B3BB4 000B0B14 98 1F 00 18 */ stb r0, 0x18(r31) -/* 800B3BB8 000B0B18 41 82 00 40 */ beq lbl_800B3BF8 -/* 800B3BBC 000B0B1C C0 01 00 08 */ lfs f0, 8(r1) -/* 800B3BC0 000B0B20 D0 1F 00 00 */ stfs f0, 0(r31) -/* 800B3BC4 000B0B24 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800B3BC8 000B0B28 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800B3BCC 000B0B2C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800B3BD0 000B0B30 D0 1F 00 08 */ stfs f0, 8(r31) -/* 800B3BD4 000B0B34 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800B3BD8 000B0B38 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 800B3BDC 000B0B3C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800B3BE0 000B0B40 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 800B3BE4 000B0B44 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800B3BE8 000B0B48 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 800B3BEC 000B0B4C 48 00 00 0C */ b lbl_800B3BF8 -lbl_800B3BF0: -/* 800B3BF0 000B0B50 38 00 00 00 */ li r0, 0 -/* 800B3BF4 000B0B54 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_800B3BF8: -/* 800B3BF8 000B0B58 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800B3BFC 000B0B5C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800B3C00 000B0B60 7C 08 03 A6 */ mtlr r0 -/* 800B3C04 000B0B64 38 21 00 40 */ addi r1, r1, 0x40 -/* 800B3C08 000B0B68 4E 80 00 20 */ blr - -.global __dt__15CScriptPlatformFv -__dt__15CScriptPlatformFv: -/* 800B3C0C 000B0B6C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800B3C10 000B0B70 7C 08 02 A6 */ mflr r0 -/* 800B3C14 000B0B74 90 01 00 44 */ stw r0, 0x44(r1) -/* 800B3C18 000B0B78 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800B3C1C 000B0B7C 7C 9F 23 78 */ mr r31, r4 -/* 800B3C20 000B0B80 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800B3C24 000B0B84 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800B3C28 000B0B88 41 82 01 60 */ beq lbl_800B3D88 -/* 800B3C2C 000B0B8C 3C 60 80 3E */ lis r3, lbl_803DF220@ha -/* 800B3C30 000B0B90 34 1E 03 38 */ addic. r0, r30, 0x338 -/* 800B3C34 000B0B94 38 03 F2 20 */ addi r0, r3, lbl_803DF220@l -/* 800B3C38 000B0B98 90 1E 00 00 */ stw r0, 0(r30) -/* 800B3C3C 000B0B9C 41 82 00 44 */ beq lbl_800B3C80 -/* 800B3C40 000B0BA0 80 1E 03 3C */ lwz r0, 0x33c(r30) -/* 800B3C44 000B0BA4 80 7E 03 44 */ lwz r3, 0x344(r30) -/* 800B3C48 000B0BA8 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B3C4C 000B0BAC 90 61 00 2C */ stw r3, 0x2c(r1) -/* 800B3C50 000B0BB0 7C 64 1B 78 */ mr r4, r3 -/* 800B3C54 000B0BB4 7C 03 02 14 */ add r0, r3, r0 -/* 800B3C58 000B0BB8 90 61 00 28 */ stw r3, 0x28(r1) -/* 800B3C5C 000B0BBC 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B3C60 000B0BC0 90 01 00 30 */ stw r0, 0x30(r1) -/* 800B3C64 000B0BC4 48 00 00 08 */ b lbl_800B3C6C -lbl_800B3C68: -/* 800B3C68 000B0BC8 38 84 00 38 */ addi r4, r4, 0x38 -lbl_800B3C6C: -/* 800B3C6C 000B0BCC 7C 04 00 40 */ cmplw r4, r0 -/* 800B3C70 000B0BD0 40 82 FF F8 */ bne lbl_800B3C68 -/* 800B3C74 000B0BD4 28 03 00 00 */ cmplwi r3, 0 -/* 800B3C78 000B0BD8 41 82 00 08 */ beq lbl_800B3C80 -/* 800B3C7C 000B0BDC 48 26 1C B5 */ bl Free__7CMemoryFPCv -lbl_800B3C80: -/* 800B3C80 000B0BE0 34 1E 03 28 */ addic. r0, r30, 0x328 -/* 800B3C84 000B0BE4 41 82 00 44 */ beq lbl_800B3CC8 -/* 800B3C88 000B0BE8 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 800B3C8C 000B0BEC 80 7E 03 34 */ lwz r3, 0x334(r30) -/* 800B3C90 000B0BF0 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B3C94 000B0BF4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800B3C98 000B0BF8 7C 64 1B 78 */ mr r4, r3 -/* 800B3C9C 000B0BFC 7C 03 02 14 */ add r0, r3, r0 -/* 800B3CA0 000B0C00 90 61 00 18 */ stw r3, 0x18(r1) -/* 800B3CA4 000B0C04 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B3CA8 000B0C08 90 01 00 20 */ stw r0, 0x20(r1) -/* 800B3CAC 000B0C0C 48 00 00 08 */ b lbl_800B3CB4 -lbl_800B3CB0: -/* 800B3CB0 000B0C10 38 84 00 38 */ addi r4, r4, 0x38 -lbl_800B3CB4: -/* 800B3CB4 000B0C14 7C 04 00 40 */ cmplw r4, r0 -/* 800B3CB8 000B0C18 40 82 FF F8 */ bne lbl_800B3CB0 -/* 800B3CBC 000B0C1C 28 03 00 00 */ cmplwi r3, 0 -/* 800B3CC0 000B0C20 41 82 00 08 */ beq lbl_800B3CC8 -/* 800B3CC4 000B0C24 48 26 1C 6D */ bl Free__7CMemoryFPCv -lbl_800B3CC8: -/* 800B3CC8 000B0C28 34 1E 03 18 */ addic. r0, r30, 0x318 -/* 800B3CCC 000B0C2C 41 82 00 44 */ beq lbl_800B3D10 -/* 800B3CD0 000B0C30 80 1E 03 1C */ lwz r0, 0x31c(r30) -/* 800B3CD4 000B0C34 80 7E 03 24 */ lwz r3, 0x324(r30) -/* 800B3CD8 000B0C38 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B3CDC 000B0C3C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800B3CE0 000B0C40 7C 64 1B 78 */ mr r4, r3 -/* 800B3CE4 000B0C44 7C 03 02 14 */ add r0, r3, r0 -/* 800B3CE8 000B0C48 90 61 00 08 */ stw r3, 8(r1) -/* 800B3CEC 000B0C4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B3CF0 000B0C50 90 01 00 10 */ stw r0, 0x10(r1) -/* 800B3CF4 000B0C54 48 00 00 08 */ b lbl_800B3CFC -lbl_800B3CF8: -/* 800B3CF8 000B0C58 38 84 00 38 */ addi r4, r4, 0x38 -lbl_800B3CFC: -/* 800B3CFC 000B0C5C 7C 04 00 40 */ cmplw r4, r0 -/* 800B3D00 000B0C60 40 82 FF F8 */ bne lbl_800B3CF8 -/* 800B3D04 000B0C64 28 03 00 00 */ cmplwi r3, 0 -/* 800B3D08 000B0C68 41 82 00 08 */ beq lbl_800B3D10 -/* 800B3D0C 000B0C6C 48 26 1C 25 */ bl Free__7CMemoryFPCv -lbl_800B3D10: -/* 800B3D10 000B0C70 34 1E 03 14 */ addic. r0, r30, 0x314 -/* 800B3D14 000B0C74 41 82 00 24 */ beq lbl_800B3D38 -/* 800B3D18 000B0C78 80 7E 03 14 */ lwz r3, 0x314(r30) -/* 800B3D1C 000B0C7C 28 03 00 00 */ cmplwi r3, 0 -/* 800B3D20 000B0C80 41 82 00 18 */ beq lbl_800B3D38 -/* 800B3D24 000B0C84 81 83 00 00 */ lwz r12, 0(r3) -/* 800B3D28 000B0C88 38 80 00 01 */ li r4, 1 -/* 800B3D2C 000B0C8C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800B3D30 000B0C90 7D 89 03 A6 */ mtctr r12 -/* 800B3D34 000B0C94 4E 80 04 21 */ bctrl -lbl_800B3D38: -/* 800B3D38 000B0C98 34 1E 03 04 */ addic. r0, r30, 0x304 -/* 800B3D3C 000B0C9C 41 82 00 30 */ beq lbl_800B3D6C -/* 800B3D40 000B0CA0 88 1E 03 10 */ lbz r0, 0x310(r30) -/* 800B3D44 000B0CA4 28 00 00 00 */ cmplwi r0, 0 -/* 800B3D48 000B0CA8 41 82 00 1C */ beq lbl_800B3D64 -/* 800B3D4C 000B0CAC 34 7E 03 04 */ addic. r3, r30, 0x304 -/* 800B3D50 000B0CB0 41 82 00 14 */ beq lbl_800B3D64 -/* 800B3D54 000B0CB4 28 03 00 00 */ cmplwi r3, 0 -/* 800B3D58 000B0CB8 41 82 00 0C */ beq lbl_800B3D64 -/* 800B3D5C 000B0CBC 38 80 00 00 */ li r4, 0 -/* 800B3D60 000B0CC0 48 28 D0 E1 */ bl __dt__6CTokenFv -lbl_800B3D64: -/* 800B3D64 000B0CC4 38 00 00 00 */ li r0, 0 -/* 800B3D68 000B0CC8 98 1E 03 10 */ stb r0, 0x310(r30) -lbl_800B3D6C: -/* 800B3D6C 000B0CCC 7F C3 F3 78 */ mr r3, r30 -/* 800B3D70 000B0CD0 38 80 00 00 */ li r4, 0 -/* 800B3D74 000B0CD4 48 06 86 A1 */ bl __dt__13CPhysicsActorFv -/* 800B3D78 000B0CD8 7F E0 07 35 */ extsh. r0, r31 -/* 800B3D7C 000B0CDC 40 81 00 0C */ ble lbl_800B3D88 -/* 800B3D80 000B0CE0 7F C3 F3 78 */ mr r3, r30 -/* 800B3D84 000B0CE4 48 26 1B AD */ bl Free__7CMemoryFPCv -lbl_800B3D88: -/* 800B3D88 000B0CE8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800B3D8C 000B0CEC 7F C3 F3 78 */ mr r3, r30 -/* 800B3D90 000B0CF0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800B3D94 000B0CF4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800B3D98 000B0CF8 7C 08 03 A6 */ mtlr r0 -/* 800B3D9C 000B0CFC 38 21 00 40 */ addi r1, r1, 0x40 -/* 800B3DA0 000B0D00 4E 80 00 20 */ blr - -.global __dt__23CCollidableOBBTreeGroupFv -__dt__23CCollidableOBBTreeGroupFv: -/* 800B3DA4 000B0D04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B3DA8 000B0D08 7C 08 02 A6 */ mflr r0 -/* 800B3DAC 000B0D0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B3DB0 000B0D10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B3DB4 000B0D14 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800B3DB8 000B0D18 41 82 00 30 */ beq lbl_800B3DE8 -/* 800B3DBC 000B0D1C 3C 60 80 3F */ lis r3, lbl_803EC470@ha -/* 800B3DC0 000B0D20 38 03 C4 70 */ addi r0, r3, lbl_803EC470@l -/* 800B3DC4 000B0D24 90 1F 00 00 */ stw r0, 0(r31) -/* 800B3DC8 000B0D28 41 82 00 10 */ beq lbl_800B3DD8 -/* 800B3DCC 000B0D2C 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 800B3DD0 000B0D30 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 800B3DD4 000B0D34 90 1F 00 00 */ stw r0, 0(r31) -lbl_800B3DD8: -/* 800B3DD8 000B0D38 7C 80 07 35 */ extsh. r0, r4 -/* 800B3DDC 000B0D3C 40 81 00 0C */ ble lbl_800B3DE8 -/* 800B3DE0 000B0D40 7F E3 FB 78 */ mr r3, r31 -/* 800B3DE4 000B0D44 48 26 1B 4D */ bl Free__7CMemoryFPCv -lbl_800B3DE8: -/* 800B3DE8 000B0D48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B3DEC 000B0D4C 7F E3 FB 78 */ mr r3, r31 -/* 800B3DF0 000B0D50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B3DF4 000B0D54 7C 08 03 A6 */ mtlr r0 -/* 800B3DF8 000B0D58 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B3DFC 000B0D5C 4E 80 00 20 */ blr - -.global "__ct__15CScriptPlatformF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxfbbRC11CHealthInfoRC20CDamageVulnerabilityRCQ24rstl58optional_object<39TLockedToken<23CCollidableOBBTreeGroup>>bii" -"__ct__15CScriptPlatformF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxfbbRC11CHealthInfoRC20CDamageVulnerabilityRCQ24rstl58optional_object<39TLockedToken<23CCollidableOBBTreeGroup>>bii": -/* 800B3E00 000B0D60 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 800B3E04 000B0D64 7C 08 02 A6 */ mflr r0 -/* 800B3E08 000B0D68 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800B3E0C 000B0D6C DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 800B3E10 000B0D70 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 800B3E14 000B0D74 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 800B3E18 000B0D78 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 800B3E1C 000B0D7C BD C1 00 78 */ stmw r14, 0x78(r1) -/* 800B3E20 000B0D80 FF C0 08 90 */ fmr f30, f1 -/* 800B3E24 000B0D84 8A 41 00 EB */ lbz r18, 0xeb(r1) -/* 800B3E28 000B0D88 FF E0 10 90 */ fmr f31, f2 -/* 800B3E2C 000B0D8C 8A 21 00 EF */ lbz r17, 0xef(r1) -/* 800B3E30 000B0D90 82 C1 00 F0 */ lwz r22, 0xf0(r1) -/* 800B3E34 000B0D94 7C 7F 1B 78 */ mr r31, r3 -/* 800B3E38 000B0D98 82 E1 00 F4 */ lwz r23, 0xf4(r1) -/* 800B3E3C 000B0D9C 7C 9B 23 78 */ mr r27, r4 -/* 800B3E40 000B0DA0 83 01 00 F8 */ lwz r24, 0xf8(r1) -/* 800B3E44 000B0DA4 7C BC 2B 78 */ mr r28, r5 -/* 800B3E48 000B0DA8 89 E1 00 FF */ lbz r15, 0xff(r1) -/* 800B3E4C 000B0DAC 7C DD 33 78 */ mr r29, r6 -/* 800B3E50 000B0DB0 81 C1 01 00 */ lwz r14, 0x100(r1) -/* 800B3E54 000B0DB4 7C FE 3B 78 */ mr r30, r7 -/* 800B3E58 000B0DB8 83 21 01 04 */ lwz r25, 0x104(r1) -/* 800B3E5C 000B0DBC 7D 13 43 78 */ mr r19, r8 -/* 800B3E60 000B0DC0 7D 34 4B 78 */ mr r20, r9 -/* 800B3E64 000B0DC4 7D 55 53 78 */ mr r21, r10 -/* 800B3E68 000B0DC8 4B F6 76 CD */ bl Identity__10CAxisAngleFv -/* 800B3E6C 000B0DCC 7C 70 1B 78 */ mr r16, r3 -/* 800B3E70 000B0DD0 4B F6 76 C5 */ bl Identity__10CAxisAngleFv -/* 800B3E74 000B0DD4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800B3E78 000B0DD8 C0 02 8C D4 */ lfs f0, lbl_805AA9F4@sda21(r2) -/* 800B3E7C 000B0DDC 3B 44 66 A0 */ addi r26, r4, skZero3f@l -/* 800B3E80 000B0DE0 38 00 00 00 */ li r0, 0 -/* 800B3E84 000B0DE4 C0 5A 00 00 */ lfs f2, 0(r26) -/* 800B3E88 000B0DE8 38 80 00 01 */ li r4, 1 -/* 800B3E8C 000B0DEC C0 7A 00 04 */ lfs f3, 4(r26) -/* 800B3E90 000B0DF0 C0 9A 00 08 */ lfs f4, 8(r26) -/* 800B3E94 000B0DF4 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 800B3E98 000B0DF8 80 AD 86 30 */ lwz r5, lbl_805A71F0@sda21(r13) -/* 800B3E9C 000B0DFC D0 61 00 44 */ stfs f3, 0x44(r1) -/* 800B3EA0 000B0E00 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 800B3EA4 000B0E04 C0 23 00 00 */ lfs f1, 0(r3) -/* 800B3EA8 000B0E08 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 800B3EAC 000B0E0C C0 23 00 04 */ lfs f1, 4(r3) -/* 800B3EB0 000B0E10 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800B3EB4 000B0E14 C0 23 00 08 */ lfs f1, 8(r3) -/* 800B3EB8 000B0E18 38 60 00 00 */ li r3, 0 -/* 800B3EBC 000B0E1C D0 21 00 54 */ stfs f1, 0x54(r1) -/* 800B3EC0 000B0E20 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 800B3EC4 000B0E24 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 800B3EC8 000B0E28 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 800B3ECC 000B0E2C C0 30 00 00 */ lfs f1, 0(r16) -/* 800B3ED0 000B0E30 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 800B3ED4 000B0E34 C0 30 00 04 */ lfs f1, 4(r16) -/* 800B3ED8 000B0E38 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 800B3EDC 000B0E3C C0 30 00 08 */ lfs f1, 8(r16) -/* 800B3EE0 000B0E40 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 800B3EE4 000B0E44 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 800B3EE8 000B0E48 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B3EEC 000B0E4C 90 01 00 20 */ stw r0, 0x20(r1) -/* 800B3EF0 000B0E50 48 2D 60 05 */ bl __shl2i -/* 800B3EF4 000B0E54 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800B3EF8 000B0E58 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 800B3EFC 000B0E5C 7C 00 1B 78 */ or r0, r0, r3 -/* 800B3F00 000B0E60 80 AD 86 34 */ lwz r5, lbl_805A71F4@sda21(r13) -/* 800B3F04 000B0E64 7C C4 23 78 */ or r4, r6, r4 -/* 800B3F08 000B0E68 90 01 00 20 */ stw r0, 0x20(r1) -/* 800B3F0C 000B0E6C 38 60 00 00 */ li r3, 0 -/* 800B3F10 000B0E70 90 81 00 24 */ stw r4, 0x24(r1) -/* 800B3F14 000B0E74 38 80 00 01 */ li r4, 1 -/* 800B3F18 000B0E78 48 2D 5F DD */ bl __shl2i -/* 800B3F1C 000B0E7C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800B3F20 000B0E80 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 800B3F24 000B0E84 7C 00 1B 78 */ or r0, r0, r3 -/* 800B3F28 000B0E88 80 AD 86 38 */ lwz r5, lbl_805A71F8@sda21(r13) -/* 800B3F2C 000B0E8C 7C C4 23 78 */ or r4, r6, r4 -/* 800B3F30 000B0E90 90 01 00 20 */ stw r0, 0x20(r1) -/* 800B3F34 000B0E94 38 60 00 00 */ li r3, 0 -/* 800B3F38 000B0E98 90 81 00 24 */ stw r4, 0x24(r1) -/* 800B3F3C 000B0E9C 38 80 00 01 */ li r4, 1 -/* 800B3F40 000B0EA0 48 2D 5F B5 */ bl __shl2i -/* 800B3F44 000B0EA4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800B3F48 000B0EA8 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 800B3F4C 000B0EAC 7C 00 1B 78 */ or r0, r0, r3 -/* 800B3F50 000B0EB0 80 AD 86 3C */ lwz r5, lbl_805A71FC@sda21(r13) -/* 800B3F54 000B0EB4 7C C4 23 78 */ or r4, r6, r4 -/* 800B3F58 000B0EB8 90 01 00 20 */ stw r0, 0x20(r1) -/* 800B3F5C 000B0EBC 38 60 00 00 */ li r3, 0 -/* 800B3F60 000B0EC0 90 81 00 24 */ stw r4, 0x24(r1) -/* 800B3F64 000B0EC4 38 80 00 01 */ li r4, 1 -/* 800B3F68 000B0EC8 48 2D 5F 8D */ bl __shl2i -/* 800B3F6C 000B0ECC 80 C1 00 20 */ lwz r6, 0x20(r1) -/* 800B3F70 000B0ED0 38 01 00 40 */ addi r0, r1, 0x40 -/* 800B3F74 000B0ED4 80 E1 00 24 */ lwz r7, 0x24(r1) -/* 800B3F78 000B0ED8 7E 25 8B 78 */ mr r5, r17 -/* 800B3F7C 000B0EDC 7C C3 1B 78 */ or r3, r6, r3 -/* 800B3F80 000B0EE0 A1 1B 00 00 */ lhz r8, 0(r27) -/* 800B3F84 000B0EE4 7C E4 23 78 */ or r4, r7, r4 -/* 800B3F88 000B0EE8 90 61 00 20 */ stw r3, 0x20(r1) -/* 800B3F8C 000B0EEC C0 22 8C D8 */ lfs f1, lbl_805AA9F8@sda21(r2) -/* 800B3F90 000B0EF0 7F E3 FB 78 */ mr r3, r31 -/* 800B3F94 000B0EF4 90 81 00 24 */ stw r4, 0x24(r1) -/* 800B3F98 000B0EF8 7F 86 E3 78 */ mr r6, r28 -/* 800B3F9C 000B0EFC C0 42 8C DC */ lfs f2, lbl_805AA9FC@sda21(r2) -/* 800B3FA0 000B0F00 7F A7 EB 78 */ mr r7, r29 -/* 800B3FA4 000B0F04 B1 01 00 18 */ sth r8, 0x18(r1) -/* 800B3FA8 000B0F08 7F C8 F3 78 */ mr r8, r30 -/* 800B3FAC 000B0F0C 7E 69 9B 78 */ mr r9, r19 -/* 800B3FB0 000B0F10 38 81 00 18 */ addi r4, r1, 0x18 -/* 800B3FB4 000B0F14 92 A1 00 08 */ stw r21, 8(r1) -/* 800B3FB8 000B0F18 39 41 00 20 */ addi r10, r1, 0x20 -/* 800B3FBC 000B0F1C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800B3FC0 000B0F20 92 81 00 10 */ stw r20, 0x10(r1) -/* 800B3FC4 000B0F24 48 06 84 ED */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" -/* 800B3FC8 000B0F28 3C 60 80 3E */ lis r3, lbl_803DF220@ha -/* 800B3FCC 000B0F2C C0 02 8C AC */ lfs f0, lbl_805AA9CC@sda21(r2) -/* 800B3FD0 000B0F30 38 03 F2 20 */ addi r0, r3, lbl_803DF220@l -/* 800B3FD4 000B0F34 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800B3FD8 000B0F38 90 1F 00 00 */ stw r0, 0(r31) -/* 800B3FDC 000B0F3C 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 800B3FE0 000B0F40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B3FE4 000B0F44 B0 1F 02 58 */ sth r0, 0x258(r31) -/* 800B3FE8 000B0F48 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B3FEC 000B0F4C B0 1F 02 5A */ sth r0, 0x25a(r31) -/* 800B3FF0 000B0F50 D3 DF 02 5C */ stfs f30, 0x25c(r31) -/* 800B3FF4 000B0F54 D0 1F 02 60 */ stfs f0, 0x260(r31) -/* 800B3FF8 000B0F58 D0 1F 02 64 */ stfs f0, 0x264(r31) -/* 800B3FFC 000B0F5C C0 14 00 5C */ lfs f0, 0x5c(r20) -/* 800B4000 000B0F60 D0 1F 02 68 */ stfs f0, 0x268(r31) -/* 800B4004 000B0F64 C0 14 00 60 */ lfs f0, 0x60(r20) -/* 800B4008 000B0F68 D0 1F 02 6C */ stfs f0, 0x26c(r31) -/* 800B400C 000B0F6C C0 04 66 A0 */ lfs f0, skZero3f@l(r4) -/* 800B4010 000B0F70 D0 1F 02 70 */ stfs f0, 0x270(r31) -/* 800B4014 000B0F74 C0 1A 00 04 */ lfs f0, 4(r26) -/* 800B4018 000B0F78 D0 1F 02 74 */ stfs f0, 0x274(r31) -/* 800B401C 000B0F7C C0 1A 00 08 */ lfs f0, 8(r26) -/* 800B4020 000B0F80 D0 1F 02 78 */ stfs f0, 0x278(r31) -/* 800B4024 000B0F84 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) -/* 800B4028 000B0F88 D0 1F 02 7C */ stfs f0, 0x27c(r31) -/* 800B402C 000B0F8C C0 03 00 04 */ lfs f0, 4(r3) -/* 800B4030 000B0F90 D0 1F 02 80 */ stfs f0, 0x280(r31) -/* 800B4034 000B0F94 C0 03 00 08 */ lfs f0, 8(r3) -/* 800B4038 000B0F98 D0 1F 02 84 */ stfs f0, 0x284(r31) -/* 800B403C 000B0F9C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800B4040 000B0FA0 D0 1F 02 88 */ stfs f0, 0x288(r31) -/* 800B4044 000B0FA4 C0 16 00 00 */ lfs f0, 0(r22) -/* 800B4048 000B0FA8 D0 1F 02 8C */ stfs f0, 0x28c(r31) -/* 800B404C 000B0FAC C0 16 00 04 */ lfs f0, 4(r22) -/* 800B4050 000B0FB0 D0 1F 02 90 */ stfs f0, 0x290(r31) -/* 800B4054 000B0FB4 C0 16 00 00 */ lfs f0, 0(r22) -/* 800B4058 000B0FB8 D0 1F 02 94 */ stfs f0, 0x294(r31) -/* 800B405C 000B0FBC C0 16 00 04 */ lfs f0, 4(r22) -/* 800B4060 000B0FC0 D0 1F 02 98 */ stfs f0, 0x298(r31) -/* 800B4064 000B0FC4 80 77 00 00 */ lwz r3, 0(r23) -/* 800B4068 000B0FC8 80 17 00 04 */ lwz r0, 4(r23) -/* 800B406C 000B0FCC 90 7F 02 9C */ stw r3, 0x29c(r31) -/* 800B4070 000B0FD0 90 1F 02 A0 */ stw r0, 0x2a0(r31) -/* 800B4074 000B0FD4 80 77 00 08 */ lwz r3, 8(r23) -/* 800B4078 000B0FD8 80 17 00 0C */ lwz r0, 0xc(r23) -/* 800B407C 000B0FDC 90 7F 02 A4 */ stw r3, 0x2a4(r31) -/* 800B4080 000B0FE0 90 1F 02 A8 */ stw r0, 0x2a8(r31) -/* 800B4084 000B0FE4 80 77 00 10 */ lwz r3, 0x10(r23) -/* 800B4088 000B0FE8 80 17 00 14 */ lwz r0, 0x14(r23) -/* 800B408C 000B0FEC 90 7F 02 AC */ stw r3, 0x2ac(r31) -/* 800B4090 000B0FF0 90 1F 02 B0 */ stw r0, 0x2b0(r31) -/* 800B4094 000B0FF4 80 77 00 18 */ lwz r3, 0x18(r23) -/* 800B4098 000B0FF8 80 17 00 1C */ lwz r0, 0x1c(r23) -/* 800B409C 000B0FFC 90 7F 02 B4 */ stw r3, 0x2b4(r31) -/* 800B40A0 000B1000 90 1F 02 B8 */ stw r0, 0x2b8(r31) -/* 800B40A4 000B1004 80 77 00 20 */ lwz r3, 0x20(r23) -/* 800B40A8 000B1008 80 17 00 24 */ lwz r0, 0x24(r23) -/* 800B40AC 000B100C 90 7F 02 BC */ stw r3, 0x2bc(r31) -/* 800B40B0 000B1010 90 1F 02 C0 */ stw r0, 0x2c0(r31) -/* 800B40B4 000B1014 80 77 00 28 */ lwz r3, 0x28(r23) -/* 800B40B8 000B1018 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 800B40BC 000B101C 90 7F 02 C4 */ stw r3, 0x2c4(r31) -/* 800B40C0 000B1020 90 1F 02 C8 */ stw r0, 0x2c8(r31) -/* 800B40C4 000B1024 80 77 00 30 */ lwz r3, 0x30(r23) -/* 800B40C8 000B1028 80 17 00 34 */ lwz r0, 0x34(r23) -/* 800B40CC 000B102C 90 7F 02 CC */ stw r3, 0x2cc(r31) -/* 800B40D0 000B1030 90 1F 02 D0 */ stw r0, 0x2d0(r31) -/* 800B40D4 000B1034 80 17 00 38 */ lwz r0, 0x38(r23) -/* 800B40D8 000B1038 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 800B40DC 000B103C 80 77 00 3C */ lwz r3, 0x3c(r23) -/* 800B40E0 000B1040 80 17 00 40 */ lwz r0, 0x40(r23) -/* 800B40E4 000B1044 90 7F 02 D8 */ stw r3, 0x2d8(r31) -/* 800B40E8 000B1048 90 1F 02 DC */ stw r0, 0x2dc(r31) -/* 800B40EC 000B104C 80 77 00 44 */ lwz r3, 0x44(r23) -/* 800B40F0 000B1050 80 17 00 48 */ lwz r0, 0x48(r23) -/* 800B40F4 000B1054 90 7F 02 E0 */ stw r3, 0x2e0(r31) -/* 800B40F8 000B1058 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 800B40FC 000B105C 80 77 00 4C */ lwz r3, 0x4c(r23) -/* 800B4100 000B1060 80 17 00 50 */ lwz r0, 0x50(r23) -/* 800B4104 000B1064 90 7F 02 E8 */ stw r3, 0x2e8(r31) -/* 800B4108 000B1068 90 1F 02 EC */ stw r0, 0x2ec(r31) -/* 800B410C 000B106C 80 77 00 54 */ lwz r3, 0x54(r23) -/* 800B4110 000B1070 80 17 00 58 */ lwz r0, 0x58(r23) -/* 800B4114 000B1074 90 7F 02 F0 */ stw r3, 0x2f0(r31) -/* 800B4118 000B1078 90 1F 02 F4 */ stw r0, 0x2f4(r31) -/* 800B411C 000B107C 80 17 00 5C */ lwz r0, 0x5c(r23) -/* 800B4120 000B1080 90 1F 02 F8 */ stw r0, 0x2f8(r31) -/* 800B4124 000B1084 80 17 00 60 */ lwz r0, 0x60(r23) -/* 800B4128 000B1088 90 1F 02 FC */ stw r0, 0x2fc(r31) -/* 800B412C 000B108C 80 17 00 64 */ lwz r0, 0x64(r23) -/* 800B4130 000B1090 90 1F 03 00 */ stw r0, 0x300(r31) -/* 800B4134 000B1094 88 18 00 0C */ lbz r0, 0xc(r24) -/* 800B4138 000B1098 98 1F 03 10 */ stb r0, 0x310(r31) -/* 800B413C 000B109C 88 18 00 0C */ lbz r0, 0xc(r24) -/* 800B4140 000B10A0 28 00 00 00 */ cmplwi r0, 0 -/* 800B4144 000B10A4 41 82 00 28 */ beq lbl_800B416C -/* 800B4148 000B10A8 36 1F 03 04 */ addic. r16, r31, 0x304 -/* 800B414C 000B10AC 41 82 00 20 */ beq lbl_800B416C -/* 800B4150 000B10B0 7E 03 83 78 */ mr r3, r16 -/* 800B4154 000B10B4 7F 04 C3 78 */ mr r4, r24 -/* 800B4158 000B10B8 48 28 CD 51 */ bl __ct__6CTokenFRC6CToken -/* 800B415C 000B10BC 80 18 00 08 */ lwz r0, 8(r24) -/* 800B4160 000B10C0 7E 03 83 78 */ mr r3, r16 -/* 800B4164 000B10C4 90 10 00 08 */ stw r0, 8(r16) -/* 800B4168 000B10C8 48 28 CC 1D */ bl Lock__6CTokenFv -lbl_800B416C: -/* 800B416C 000B10CC 38 C0 00 00 */ li r6, 0 -/* 800B4170 000B10D0 38 A0 00 01 */ li r5, 1 -/* 800B4174 000B10D4 90 DF 03 14 */ stw r6, 0x314(r31) -/* 800B4178 000B10D8 38 60 00 00 */ li r3, 0 -/* 800B417C 000B10DC 38 80 00 01 */ li r4, 1 -/* 800B4180 000B10E0 90 DF 03 1C */ stw r6, 0x31c(r31) -/* 800B4184 000B10E4 90 DF 03 20 */ stw r6, 0x320(r31) -/* 800B4188 000B10E8 90 DF 03 24 */ stw r6, 0x324(r31) -/* 800B418C 000B10EC 90 DF 03 2C */ stw r6, 0x32c(r31) -/* 800B4190 000B10F0 90 DF 03 30 */ stw r6, 0x330(r31) -/* 800B4194 000B10F4 90 DF 03 34 */ stw r6, 0x334(r31) -/* 800B4198 000B10F8 90 DF 03 3C */ stw r6, 0x33c(r31) -/* 800B419C 000B10FC 90 DF 03 40 */ stw r6, 0x340(r31) -/* 800B41A0 000B1100 90 DF 03 44 */ stw r6, 0x344(r31) -/* 800B41A4 000B1104 D3 FF 03 48 */ stfs f31, 0x348(r31) -/* 800B41A8 000B1108 91 DF 03 4C */ stw r14, 0x34c(r31) -/* 800B41AC 000B110C 93 3F 03 50 */ stw r25, 0x350(r31) -/* 800B41B0 000B1110 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B41B4 000B1114 B0 1F 03 54 */ sth r0, 0x354(r31) -/* 800B41B8 000B1118 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B41BC 000B111C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 800B41C0 000B1120 98 1F 03 56 */ stb r0, 0x356(r31) -/* 800B41C4 000B1124 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B41C8 000B1128 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 800B41CC 000B112C 98 1F 03 56 */ stb r0, 0x356(r31) -/* 800B41D0 000B1130 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B41D4 000B1134 52 40 2E B4 */ rlwimi r0, r18, 5, 0x1a, 0x1a -/* 800B41D8 000B1138 98 1F 03 56 */ stb r0, 0x356(r31) -/* 800B41DC 000B113C 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B41E0 000B1140 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 800B41E4 000B1144 98 1F 03 56 */ stb r0, 0x356(r31) -/* 800B41E8 000B1148 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B41EC 000B114C 51 E0 1F 38 */ rlwimi r0, r15, 3, 0x1c, 0x1c -/* 800B41F0 000B1150 98 1F 03 56 */ stb r0, 0x356(r31) -/* 800B41F4 000B1154 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B41F8 000B1158 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 800B41FC 000B115C 98 1F 03 56 */ stb r0, 0x356(r31) -/* 800B4200 000B1160 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B4204 000B1164 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e -/* 800B4208 000B1168 98 1F 03 56 */ stb r0, 0x356(r31) -/* 800B420C 000B116C 88 1F 03 56 */ lbz r0, 0x356(r31) -/* 800B4210 000B1170 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 800B4214 000B1174 98 1F 03 56 */ stb r0, 0x356(r31) -/* 800B4218 000B1178 80 AD 86 44 */ lwz r5, lbl_805A7204@sda21(r13) -/* 800B421C 000B117C 48 2D 5C D9 */ bl __shl2i -/* 800B4220 000B1180 80 AD 86 48 */ lwz r5, lbl_805A7208@sda21(r13) -/* 800B4224 000B1184 7C 8F 23 78 */ mr r15, r4 -/* 800B4228 000B1188 7C 6E 1B 78 */ mr r14, r3 -/* 800B422C 000B118C 38 60 00 00 */ li r3, 0 -/* 800B4230 000B1190 38 80 00 01 */ li r4, 1 -/* 800B4234 000B1194 48 2D 5C C1 */ bl __shl2i -/* 800B4238 000B1198 80 AD 86 4C */ lwz r5, lbl_805A720C@sda21(r13) -/* 800B423C 000B119C 7D EF 23 78 */ or r15, r15, r4 -/* 800B4240 000B11A0 7D CE 1B 78 */ or r14, r14, r3 -/* 800B4244 000B11A4 38 60 00 00 */ li r3, 0 -/* 800B4248 000B11A8 38 80 00 01 */ li r4, 1 -/* 800B424C 000B11AC 48 2D 5C A9 */ bl __shl2i -/* 800B4250 000B11B0 80 AD 86 40 */ lwz r5, lbl_805A7200@sda21(r13) -/* 800B4254 000B11B4 7D EF 23 78 */ or r15, r15, r4 -/* 800B4258 000B11B8 7D CE 1B 78 */ or r14, r14, r3 -/* 800B425C 000B11BC 38 60 00 00 */ li r3, 0 -/* 800B4260 000B11C0 38 80 00 01 */ li r4, 1 -/* 800B4264 000B11C4 48 2D 5C 91 */ bl __shl2i -/* 800B4268 000B11C8 38 00 00 03 */ li r0, 3 -/* 800B426C 000B11CC 90 81 00 2C */ stw r4, 0x2c(r1) -/* 800B4270 000B11D0 38 81 00 28 */ addi r4, r1, 0x28 -/* 800B4274 000B11D4 90 61 00 28 */ stw r3, 0x28(r1) -/* 800B4278 000B11D8 7F E3 FB 78 */ mr r3, r31 -/* 800B427C 000B11DC 91 E1 00 34 */ stw r15, 0x34(r1) -/* 800B4280 000B11E0 91 C1 00 30 */ stw r14, 0x30(r1) -/* 800B4284 000B11E4 90 01 00 38 */ stw r0, 0x38(r1) -/* 800B4288 000B11E8 4B F9 F6 19 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 800B428C 000B11EC 38 60 00 00 */ li r3, 0 -/* 800B4290 000B11F0 88 1F 00 F8 */ lbz r0, 0xf8(r31) -/* 800B4294 000B11F4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800B4298 000B11F8 98 1F 00 F8 */ stb r0, 0xf8(r31) -/* 800B429C 000B11FC 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 800B42A0 000B1200 28 04 00 00 */ cmplwi r4, 0 -/* 800B42A4 000B1204 41 82 00 14 */ beq lbl_800B42B8 -/* 800B42A8 000B1208 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800B42AC 000B120C 28 00 00 00 */ cmplwi r0, 0 -/* 800B42B0 000B1210 41 82 00 08 */ beq lbl_800B42B8 -/* 800B42B4 000B1214 38 60 00 01 */ li r3, 1 -lbl_800B42B8: -/* 800B42B8 000B1218 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B42BC 000B121C 41 82 00 38 */ beq lbl_800B42F4 -/* 800B42C0 000B1220 80 64 00 10 */ lwz r3, 0x10(r4) -/* 800B42C4 000B1224 38 80 00 01 */ li r4, 1 -/* 800B42C8 000B1228 88 03 02 20 */ lbz r0, 0x220(r3) -/* 800B42CC 000B122C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 800B42D0 000B1230 98 03 02 20 */ stb r0, 0x220(r3) -/* 800B42D4 000B1234 88 03 02 20 */ lbz r0, 0x220(r3) -/* 800B42D8 000B1238 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800B42DC 000B123C 98 03 02 20 */ stb r0, 0x220(r3) -/* 800B42E0 000B1240 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800B42E4 000B1244 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800B42E8 000B1248 88 03 02 20 */ lbz r0, 0x220(r3) -/* 800B42EC 000B124C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800B42F0 000B1250 98 03 02 20 */ stb r0, 0x220(r3) -lbl_800B42F4: -/* 800B42F4 000B1254 88 1F 03 10 */ lbz r0, 0x310(r31) -/* 800B42F8 000B1258 28 00 00 00 */ cmplwi r0, 0 -/* 800B42FC 000B125C 41 82 00 54 */ beq lbl_800B4350 -/* 800B4300 000B1260 3C 80 80 3D */ lis r4, lbl_803CDE70@ha -/* 800B4304 000B1264 38 60 00 18 */ li r3, 0x18 -/* 800B4308 000B1268 38 84 DE 70 */ addi r4, r4, lbl_803CDE70@l -/* 800B430C 000B126C 38 A0 00 00 */ li r5, 0 -/* 800B4310 000B1270 48 26 15 5D */ bl __nw__FUlPCcPCc -/* 800B4314 000B1274 7C 6E 1B 79 */ or. r14, r3, r3 -/* 800B4318 000B1278 41 82 00 14 */ beq lbl_800B432C -/* 800B431C 000B127C 80 9F 03 0C */ lwz r4, 0x30c(r31) -/* 800B4320 000B1280 38 BF 00 68 */ addi r5, r31, 0x68 -/* 800B4324 000B1284 48 1F 96 41 */ bl "__ct__23CCollidableOBBTreeGroupFRCQ24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>R14CCMaterialList" -/* 800B4328 000B1288 7C 6E 1B 78 */ mr r14, r3 -lbl_800B432C: -/* 800B432C 000B128C 80 7F 03 14 */ lwz r3, 0x314(r31) -/* 800B4330 000B1290 28 03 00 00 */ cmplwi r3, 0 -/* 800B4334 000B1294 41 82 00 18 */ beq lbl_800B434C -/* 800B4338 000B1298 81 83 00 00 */ lwz r12, 0(r3) -/* 800B433C 000B129C 38 80 00 01 */ li r4, 1 -/* 800B4340 000B12A0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800B4344 000B12A4 7D 89 03 A6 */ mtctr r12 -/* 800B4348 000B12A8 4E 80 04 21 */ bctrl -lbl_800B434C: -/* 800B434C 000B12AC 91 DF 03 14 */ stw r14, 0x314(r31) -lbl_800B4350: -/* 800B4350 000B12B0 7F E3 FB 78 */ mr r3, r31 -/* 800B4354 000B12B4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 800B4358 000B12B8 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 800B435C 000B12BC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 800B4360 000B12C0 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 800B4364 000B12C4 B9 C1 00 78 */ lmw r14, 0x78(r1) -/* 800B4368 000B12C8 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800B436C 000B12CC 7C 08 03 A6 */ mtlr r0 -/* 800B4370 000B12D0 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800B4374 000B12D4 4E 80 00 20 */ blr - -.global update_fog__3CGXFUi -update_fog__3CGXFUi: -/* 800B4378 000B12D8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 800B437C 000B12DC 38 A4 53 EC */ addi r5, r4, lbl_805A53EC@l -/* 800B4380 000B12E0 88 05 00 53 */ lbz r0, 0x53(r5) -/* 800B4384 000B12E4 28 00 00 00 */ cmplwi r0, 0 -/* 800B4388 000B12E8 4D 82 00 20 */ beqlr -/* 800B438C 000B12EC A0 05 00 56 */ lhz r0, 0x56(r5) -/* 800B4390 000B12F0 54 63 06 34 */ rlwinm r3, r3, 0, 0x18, 0x1a -/* 800B4394 000B12F4 54 00 06 34 */ rlwinm r0, r0, 0, 0x18, 0x1a -/* 800B4398 000B12F8 7C 00 18 40 */ cmplw r0, r3 -/* 800B439C 000B12FC 4D 82 00 20 */ beqlr -/* 800B43A0 000B1300 28 03 00 20 */ cmplwi r3, 0x20 -/* 800B43A4 000B1304 40 82 00 28 */ bne lbl_800B43CC -/* 800B43A8 000B1308 38 00 00 61 */ li r0, 0x61 -/* 800B43AC 000B130C 3C 80 CC 01 */ lis r4, 0xCC008000@ha -/* 800B43B0 000B1310 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 800B43B4 000B1314 3C 60 F2 00 */ lis r3, 0xf200 -/* 800B43B8 000B1318 38 00 00 00 */ li r0, 0 -/* 800B43BC 000B131C 90 64 80 00 */ stw r3, 0xCC008000@l(r4) -/* 800B43C0 000B1320 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2) -/* 800B43C4 000B1324 B0 03 00 02 */ sth r0, 2(r3) -/* 800B43C8 000B1328 4E 80 00 20 */ blr -lbl_800B43CC: -/* 800B43CC 000B132C 38 00 00 61 */ li r0, 0x61 -/* 800B43D0 000B1330 3C C0 CC 01 */ lis r6, 0xCC008000@ha -/* 800B43D4 000B1334 98 06 80 00 */ stb r0, 0xCC008000@l(r6) -/* 800B43D8 000B1338 38 00 00 00 */ li r0, 0 -/* 800B43DC 000B133C 88 85 02 5E */ lbz r4, 0x25e(r5) -/* 800B43E0 000B1340 88 65 02 5D */ lbz r3, 0x25d(r5) -/* 800B43E4 000B1344 88 A5 02 5C */ lbz r5, 0x25c(r5) -/* 800B43E8 000B1348 50 64 44 2E */ rlwimi r4, r3, 8, 0x10, 0x17 -/* 800B43EC 000B134C 50 A4 82 1E */ rlwimi r4, r5, 0x10, 8, 0xf -/* 800B43F0 000B1350 64 83 F2 00 */ oris r3, r4, 0xf200 -/* 800B43F4 000B1354 90 66 80 00 */ stw r3, 0xCC008000@l(r6) -/* 800B43F8 000B1358 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2) -/* 800B43FC 000B135C B0 03 00 02 */ sth r0, 2(r3) -/* 800B4400 000B1360 4E 80 00 20 */ blr - -.global sub_800b4404 -sub_800b4404: -/* 800B4404 000B1364 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B4408 000B1368 7C 08 02 A6 */ mflr r0 -/* 800B440C 000B136C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B4410 000B1370 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 800B4414 000B1374 7C 9F 23 78 */ mr r31, r4 -/* 800B4418 000B1378 7C 7E 1B 78 */ mr r30, r3 -/* 800B441C 000B137C 80 03 00 08 */ lwz r0, 8(r3) -/* 800B4420 000B1380 7C 1F 00 00 */ cmpw r31, r0 -/* 800B4424 000B1384 40 81 00 C0 */ ble lbl_800B44E4 -/* 800B4428 000B1388 1C 7F 00 38 */ mulli r3, r31, 0x38 -/* 800B442C 000B138C 2C 03 00 00 */ cmpwi r3, 0 -/* 800B4430 000B1390 40 82 00 0C */ bne lbl_800B443C -/* 800B4434 000B1394 3B 80 00 00 */ li r28, 0 -/* 800B4438 000B1398 48 00 00 18 */ b lbl_800B4450 -lbl_800B443C: -/* 800B443C 000B139C 3C 80 80 3D */ lis r4, lbl_803CDE70@ha -/* 800B4440 000B13A0 38 A0 00 00 */ li r5, 0 -/* 800B4444 000B13A4 38 84 DE 70 */ addi r4, r4, lbl_803CDE70@l -/* 800B4448 000B13A8 48 26 13 D1 */ bl __nwa__FUlPCcPCc -/* 800B444C 000B13AC 7C 7C 1B 78 */ mr r28, r3 -lbl_800B4450: -/* 800B4450 000B13B0 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B4454 000B13B4 7F 9B E3 78 */ mr r27, r28 -/* 800B4458 000B13B8 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 800B445C 000B13BC 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B4460 000B13C0 93 41 00 10 */ stw r26, 0x10(r1) -/* 800B4464 000B13C4 7F BA 02 14 */ add r29, r26, r0 -/* 800B4468 000B13C8 93 41 00 14 */ stw r26, 0x14(r1) -/* 800B446C 000B13CC 93 A1 00 08 */ stw r29, 8(r1) -/* 800B4470 000B13D0 93 A1 00 0C */ stw r29, 0xc(r1) -/* 800B4474 000B13D4 48 00 00 30 */ b lbl_800B44A4 -lbl_800B4478: -/* 800B4478 000B13D8 28 1B 00 00 */ cmplwi r27, 0 -/* 800B447C 000B13DC 41 82 00 20 */ beq lbl_800B449C -/* 800B4480 000B13E0 A0 1A 00 00 */ lhz r0, 0(r26) -/* 800B4484 000B13E4 38 7B 00 08 */ addi r3, r27, 8 -/* 800B4488 000B13E8 38 9A 00 08 */ addi r4, r26, 8 -/* 800B448C 000B13EC B0 1B 00 00 */ sth r0, 0(r27) -/* 800B4490 000B13F0 C0 1A 00 04 */ lfs f0, 4(r26) -/* 800B4494 000B13F4 D0 1B 00 04 */ stfs f0, 4(r27) -/* 800B4498 000B13F8 48 25 E6 DD */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_800B449C: -/* 800B449C 000B13FC 3B 7B 00 38 */ addi r27, r27, 0x38 -/* 800B44A0 000B1400 3B 5A 00 38 */ addi r26, r26, 0x38 -lbl_800B44A4: -/* 800B44A4 000B1404 7C 1A E8 40 */ cmplw r26, r29 -/* 800B44A8 000B1408 40 82 FF D0 */ bne lbl_800B4478 -/* 800B44AC 000B140C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B44B0 000B1410 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800B44B4 000B1414 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 800B44B8 000B1418 7C 64 1B 78 */ mr r4, r3 -/* 800B44BC 000B141C 7C 03 02 14 */ add r0, r3, r0 -/* 800B44C0 000B1420 48 00 00 08 */ b lbl_800B44C8 -lbl_800B44C4: -/* 800B44C4 000B1424 38 84 00 38 */ addi r4, r4, 0x38 -lbl_800B44C8: -/* 800B44C8 000B1428 7C 04 00 40 */ cmplw r4, r0 -/* 800B44CC 000B142C 40 82 FF F8 */ bne lbl_800B44C4 -/* 800B44D0 000B1430 28 03 00 00 */ cmplwi r3, 0 -/* 800B44D4 000B1434 41 82 00 08 */ beq lbl_800B44DC -/* 800B44D8 000B1438 48 26 14 59 */ bl Free__7CMemoryFPCv -lbl_800B44DC: -/* 800B44DC 000B143C 93 9E 00 0C */ stw r28, 0xc(r30) -/* 800B44E0 000B1440 93 FE 00 08 */ stw r31, 8(r30) -lbl_800B44E4: -/* 800B44E4 000B1444 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800B44E8 000B1448 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B44EC 000B144C 7C 08 03 A6 */ mtlr r0 -/* 800B44F0 000B1450 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B44F4 000B1454 4E 80 00 20 */ blr - -.global IsUser__Fi -IsUser__Fi: -/* 800B44F8 000B1458 20 03 00 01 */ subfic r0, r3, 1 -/* 800B44FC 000B145C 7C 00 00 34 */ cntlzw r0, r0 -/* 800B4500 000B1460 54 03 D9 7E */ srwi r3, r0, 5 -/* 800B4504 000B1464 4E 80 00 20 */ blr - -.global Accept__16CScriptGeneratorFR8IVisitor -Accept__16CScriptGeneratorFR8IVisitor: -/* 800B4508 000B1468 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B450C 000B146C 7C 08 02 A6 */ mflr r0 -/* 800B4510 000B1470 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B4514 000B1474 7C 60 1B 78 */ mr r0, r3 -/* 800B4518 000B1478 7C 83 23 78 */ mr r3, r4 -/* 800B451C 000B147C 81 84 00 00 */ lwz r12, 0(r4) -/* 800B4520 000B1480 7C 04 03 78 */ mr r4, r0 -/* 800B4524 000B1484 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800B4528 000B1488 7D 89 03 A6 */ mtctr r12 -/* 800B452C 000B148C 4E 80 04 21 */ bctrl -/* 800B4530 000B1490 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B4534 000B1494 7C 08 03 A6 */ mtlr r0 -/* 800B4538 000B1498 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B453C 000B149C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__16CScriptGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__16CScriptGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800B4540 000B14A0 94 21 FE 20 */ stwu r1, -0x1e0(r1) -/* 800B4544 000B14A4 7C 08 02 A6 */ mflr r0 -/* 800B4548 000B14A8 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 800B454C 000B14AC DB E1 01 D0 */ stfd f31, 0x1d0(r1) -/* 800B4550 000B14B0 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 -/* 800B4554 000B14B4 DB C1 01 C0 */ stfd f30, 0x1c0(r1) -/* 800B4558 000B14B8 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 -/* 800B455C 000B14BC BE 41 01 88 */ stmw r18, 0x188(r1) -/* 800B4560 000B14C0 7C 9D 23 78 */ mr r29, r4 -/* 800B4564 000B14C4 7C 7C 1B 78 */ mr r28, r3 -/* 800B4568 000B14C8 2C 1D 00 0D */ cmpwi r29, 0xd -/* 800B456C 000B14CC 7C BE 2B 78 */ mr r30, r5 -/* 800B4570 000B14D0 7C DF 33 78 */ mr r31, r6 -/* 800B4574 000B14D4 41 82 00 08 */ beq lbl_800B457C -/* 800B4578 000B14D8 48 00 09 04 */ b lbl_800B4E7C -lbl_800B457C: -/* 800B457C 000B14DC 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800B4580 000B14E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B4584 000B14E4 41 82 08 F8 */ beq lbl_800B4E7C -/* 800B4588 000B14E8 38 00 00 00 */ li r0, 0 -/* 800B458C 000B14EC 38 80 00 01 */ li r4, 1 -/* 800B4590 000B14F0 90 01 01 54 */ stw r0, 0x154(r1) -/* 800B4594 000B14F4 90 01 01 58 */ stw r0, 0x158(r1) -/* 800B4598 000B14F8 90 01 01 5C */ stw r0, 0x15c(r1) -/* 800B459C 000B14FC 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 800B45A0 000B1500 2C 00 00 00 */ cmpwi r0, 0 -/* 800B45A4 000B1504 41 82 00 08 */ beq lbl_800B45AC -/* 800B45A8 000B1508 7C 04 03 78 */ mr r4, r0 -lbl_800B45AC: -/* 800B45AC 000B150C 38 61 01 50 */ addi r3, r1, 0x150 -/* 800B45B0 000B1510 4B F5 7E 59 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 800B45B4 000B1514 83 7C 00 2C */ lwz r27, 0x2c(r28) -/* 800B45B8 000B1518 48 00 00 C0 */ b lbl_800B4678 -lbl_800B45BC: -/* 800B45BC 000B151C 80 1B 00 00 */ lwz r0, 0(r27) -/* 800B45C0 000B1520 2C 00 00 09 */ cmpwi r0, 9 -/* 800B45C4 000B1524 40 82 00 B0 */ bne lbl_800B4674 -/* 800B45C8 000B1528 80 1B 00 04 */ lwz r0, 4(r27) -/* 800B45CC 000B152C 2C 00 00 06 */ cmpwi r0, 6 -/* 800B45D0 000B1530 40 82 00 A4 */ bne lbl_800B4674 -/* 800B45D4 000B1534 80 1B 00 08 */ lwz r0, 8(r27) -/* 800B45D8 000B1538 7F E4 FB 78 */ mr r4, r31 -/* 800B45DC 000B153C 38 61 00 40 */ addi r3, r1, 0x40 -/* 800B45E0 000B1540 38 A1 00 AC */ addi r5, r1, 0xac -/* 800B45E4 000B1544 90 01 00 AC */ stw r0, 0xac(r1) -/* 800B45E8 000B1548 4B F9 39 35 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800B45EC 000B154C A0 61 00 40 */ lhz r3, 0x40(r1) -/* 800B45F0 000B1550 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B45F4 000B1554 B0 61 00 4C */ sth r3, 0x4c(r1) -/* 800B45F8 000B1558 7C 03 00 40 */ cmplw r3, r0 -/* 800B45FC 000B155C 41 82 00 78 */ beq lbl_800B4674 -/* 800B4600 000B1560 B0 61 00 3C */ sth r3, 0x3c(r1) -/* 800B4604 000B1564 7F E3 FB 78 */ mr r3, r31 -/* 800B4608 000B1568 38 81 00 3C */ addi r4, r1, 0x3c -/* 800B460C 000B156C 4B F9 7F 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800B4610 000B1570 28 03 00 00 */ cmplwi r3, 0 -/* 800B4614 000B1574 41 82 00 60 */ beq lbl_800B4674 -/* 800B4618 000B1578 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800B461C 000B157C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B4620 000B1580 41 82 00 54 */ beq lbl_800B4674 -/* 800B4624 000B1584 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800B4628 000B1588 80 A1 01 58 */ lwz r5, 0x158(r1) -/* 800B462C 000B158C 7C 00 28 00 */ cmpw r0, r5 -/* 800B4630 000B1590 41 80 00 1C */ blt lbl_800B464C -/* 800B4634 000B1594 2C 05 00 00 */ cmpwi r5, 0 -/* 800B4638 000B1598 38 61 01 50 */ addi r3, r1, 0x150 -/* 800B463C 000B159C 38 80 00 04 */ li r4, 4 -/* 800B4640 000B15A0 41 82 00 08 */ beq lbl_800B4648 -/* 800B4644 000B15A4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B4648: -/* 800B4648 000B15A8 4B F5 7D C1 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_800B464C: -/* 800B464C 000B15AC 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800B4650 000B15B0 80 61 01 5C */ lwz r3, 0x15c(r1) -/* 800B4654 000B15B4 54 00 08 3C */ slwi r0, r0, 1 -/* 800B4658 000B15B8 7C 63 02 15 */ add. r3, r3, r0 -/* 800B465C 000B15BC 41 82 00 0C */ beq lbl_800B4668 -/* 800B4660 000B15C0 A0 01 00 4C */ lhz r0, 0x4c(r1) -/* 800B4664 000B15C4 B0 03 00 00 */ sth r0, 0(r3) -lbl_800B4668: -/* 800B4668 000B15C8 80 61 01 54 */ lwz r3, 0x154(r1) -/* 800B466C 000B15CC 38 03 00 01 */ addi r0, r3, 1 -/* 800B4670 000B15D0 90 01 01 54 */ stw r0, 0x154(r1) -lbl_800B4674: -/* 800B4674 000B15D4 3B 7B 00 0C */ addi r27, r27, 0xc -lbl_800B4678: -/* 800B4678 000B15D8 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 800B467C 000B15DC 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 800B4680 000B15E0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800B4684 000B15E4 7C 03 02 14 */ add r0, r3, r0 -/* 800B4688 000B15E8 7C 1B 00 40 */ cmplw r27, r0 -/* 800B468C 000B15EC 40 82 FF 30 */ bne lbl_800B45BC -/* 800B4690 000B15F0 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800B4694 000B15F4 2C 00 00 00 */ cmpwi r0, 0 -/* 800B4698 000B15F8 40 82 00 50 */ bne lbl_800B46E8 -/* 800B469C 000B15FC 80 A1 01 58 */ lwz r5, 0x158(r1) -/* 800B46A0 000B1600 7C 00 28 00 */ cmpw r0, r5 -/* 800B46A4 000B1604 41 80 00 1C */ blt lbl_800B46C0 -/* 800B46A8 000B1608 2C 05 00 00 */ cmpwi r5, 0 -/* 800B46AC 000B160C 38 61 01 50 */ addi r3, r1, 0x150 -/* 800B46B0 000B1610 38 80 00 04 */ li r4, 4 -/* 800B46B4 000B1614 41 82 00 08 */ beq lbl_800B46BC -/* 800B46B8 000B1618 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B46BC: -/* 800B46BC 000B161C 4B F5 7D 4D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_800B46C0: -/* 800B46C0 000B1620 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800B46C4 000B1624 80 61 01 5C */ lwz r3, 0x15c(r1) -/* 800B46C8 000B1628 54 00 08 3C */ slwi r0, r0, 1 -/* 800B46CC 000B162C 7C 63 02 15 */ add. r3, r3, r0 -/* 800B46D0 000B1630 41 82 00 0C */ beq lbl_800B46DC -/* 800B46D4 000B1634 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800B46D8 000B1638 B0 03 00 00 */ sth r0, 0(r3) -lbl_800B46DC: -/* 800B46DC 000B163C 80 61 01 54 */ lwz r3, 0x154(r1) -/* 800B46E0 000B1640 38 03 00 01 */ addi r0, r3, 1 -/* 800B46E4 000B1644 90 01 01 54 */ stw r0, 0x154(r1) -lbl_800B46E8: -/* 800B46E8 000B1648 38 00 00 00 */ li r0, 0 -/* 800B46EC 000B164C 38 61 01 40 */ addi r3, r1, 0x140 -/* 800B46F0 000B1650 90 01 01 44 */ stw r0, 0x144(r1) -/* 800B46F4 000B1654 90 01 01 48 */ stw r0, 0x148(r1) -/* 800B46F8 000B1658 90 01 01 4C */ stw r0, 0x14c(r1) -/* 800B46FC 000B165C 80 9C 00 24 */ lwz r4, 0x24(r28) -/* 800B4700 000B1660 48 00 09 D5 */ bl "reserve__Q24rstl71vector,Q24rstl17rmemory_allocator>Fi" -/* 800B4704 000B1664 83 7C 00 2C */ lwz r27, 0x2c(r28) -/* 800B4708 000B1668 48 00 00 E4 */ b lbl_800B47EC -lbl_800B470C: -/* 800B470C 000B166C 80 1B 00 00 */ lwz r0, 0(r27) -/* 800B4710 000B1670 2C 00 00 09 */ cmpwi r0, 9 -/* 800B4714 000B1674 40 82 00 D4 */ bne lbl_800B47E8 -/* 800B4718 000B1678 80 1B 00 08 */ lwz r0, 8(r27) -/* 800B471C 000B167C 7F E4 FB 78 */ mr r4, r31 -/* 800B4720 000B1680 38 61 00 38 */ addi r3, r1, 0x38 -/* 800B4724 000B1684 38 A1 00 A8 */ addi r5, r1, 0xa8 -/* 800B4728 000B1688 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 800B472C 000B168C 4B F9 37 F1 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800B4730 000B1690 A0 C1 00 38 */ lhz r6, 0x38(r1) -/* 800B4734 000B1694 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B4738 000B1698 B0 C1 00 48 */ sth r6, 0x48(r1) -/* 800B473C 000B169C 7C 06 00 40 */ cmplw r6, r0 -/* 800B4740 000B16A0 41 82 00 A8 */ beq lbl_800B47E8 -/* 800B4744 000B16A4 80 1B 00 04 */ lwz r0, 4(r27) -/* 800B4748 000B16A8 2C 00 00 01 */ cmpwi r0, 1 -/* 800B474C 000B16AC 40 82 00 78 */ bne lbl_800B47C4 -/* 800B4750 000B16B0 B0 C1 00 34 */ sth r6, 0x34(r1) -/* 800B4754 000B16B4 7F E3 FB 78 */ mr r3, r31 -/* 800B4758 000B16B8 38 81 00 34 */ addi r4, r1, 0x34 -/* 800B475C 000B16BC 4B F9 7E 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800B4760 000B16C0 28 03 00 00 */ cmplwi r3, 0 -/* 800B4764 000B16C4 41 82 00 84 */ beq lbl_800B47E8 -/* 800B4768 000B16C8 80 01 01 44 */ lwz r0, 0x144(r1) -/* 800B476C 000B16CC 80 A1 01 48 */ lwz r5, 0x148(r1) -/* 800B4770 000B16D0 82 5B 00 08 */ lwz r18, 8(r27) -/* 800B4774 000B16D4 7C 00 28 00 */ cmpw r0, r5 -/* 800B4778 000B16D8 41 80 00 1C */ blt lbl_800B4794 -/* 800B477C 000B16DC 2C 05 00 00 */ cmpwi r5, 0 -/* 800B4780 000B16E0 38 61 01 40 */ addi r3, r1, 0x140 -/* 800B4784 000B16E4 38 80 00 04 */ li r4, 4 -/* 800B4788 000B16E8 41 82 00 08 */ beq lbl_800B4790 -/* 800B478C 000B16EC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B4790: -/* 800B4790 000B16F0 48 00 09 45 */ bl "reserve__Q24rstl71vector,Q24rstl17rmemory_allocator>Fi" -lbl_800B4794: -/* 800B4794 000B16F4 80 01 01 44 */ lwz r0, 0x144(r1) -/* 800B4798 000B16F8 80 61 01 4C */ lwz r3, 0x14c(r1) -/* 800B479C 000B16FC 54 00 18 38 */ slwi r0, r0, 3 -/* 800B47A0 000B1700 7C 63 02 15 */ add. r3, r3, r0 -/* 800B47A4 000B1704 41 82 00 10 */ beq lbl_800B47B4 -/* 800B47A8 000B1708 A0 01 00 48 */ lhz r0, 0x48(r1) -/* 800B47AC 000B170C B0 03 00 00 */ sth r0, 0(r3) -/* 800B47B0 000B1710 92 43 00 04 */ stw r18, 4(r3) -lbl_800B47B4: -/* 800B47B4 000B1714 80 61 01 44 */ lwz r3, 0x144(r1) -/* 800B47B8 000B1718 38 03 00 01 */ addi r0, r3, 1 -/* 800B47BC 000B171C 90 01 01 44 */ stw r0, 0x144(r1) -/* 800B47C0 000B1720 48 00 00 28 */ b lbl_800B47E8 -lbl_800B47C4: -/* 800B47C4 000B1724 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800B47C8 000B1728 7F E3 FB 78 */ mr r3, r31 -/* 800B47CC 000B172C 38 81 00 30 */ addi r4, r1, 0x30 -/* 800B47D0 000B1730 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800B47D4 000B1734 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 800B47D8 000B1738 B0 C1 00 30 */ sth r6, 0x30(r1) -/* 800B47DC 000B173C B0 01 00 28 */ sth r0, 0x28(r1) -/* 800B47E0 000B1740 80 DB 00 04 */ lwz r6, 4(r27) -/* 800B47E4 000B1744 4B F8 F6 71 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId -lbl_800B47E8: -/* 800B47E8 000B1748 3B 7B 00 0C */ addi r27, r27, 0xc -lbl_800B47EC: -/* 800B47EC 000B174C 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 800B47F0 000B1750 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 800B47F4 000B1754 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800B47F8 000B1758 7C 03 02 14 */ add r0, r3, r0 -/* 800B47FC 000B175C 7C 1B 00 40 */ cmplw r27, r0 -/* 800B4800 000B1760 40 82 FF 0C */ bne lbl_800B470C -/* 800B4804 000B1764 80 01 01 44 */ lwz r0, 0x144(r1) -/* 800B4808 000B1768 2C 00 00 00 */ cmpwi r0, 0 -/* 800B480C 000B176C 40 82 00 84 */ bne lbl_800B4890 -/* 800B4810 000B1770 80 61 01 4C */ lwz r3, 0x14c(r1) -/* 800B4814 000B1774 54 00 18 38 */ slwi r0, r0, 3 -/* 800B4818 000B1778 7C 03 02 14 */ add r0, r3, r0 -/* 800B481C 000B177C 90 61 00 84 */ stw r3, 0x84(r1) -/* 800B4820 000B1780 7C 64 1B 78 */ mr r4, r3 -/* 800B4824 000B1784 90 01 00 8C */ stw r0, 0x8c(r1) -/* 800B4828 000B1788 90 01 00 88 */ stw r0, 0x88(r1) -/* 800B482C 000B178C 90 61 00 80 */ stw r3, 0x80(r1) -/* 800B4830 000B1790 48 00 00 08 */ b lbl_800B4838 -lbl_800B4834: -/* 800B4834 000B1794 38 84 00 08 */ addi r4, r4, 8 -lbl_800B4838: -/* 800B4838 000B1798 7C 04 00 40 */ cmplw r4, r0 -/* 800B483C 000B179C 40 82 FF F8 */ bne lbl_800B4834 -/* 800B4840 000B17A0 28 03 00 00 */ cmplwi r3, 0 -/* 800B4844 000B17A4 41 82 00 08 */ beq lbl_800B484C -/* 800B4848 000B17A8 48 26 10 E9 */ bl Free__7CMemoryFPCv -lbl_800B484C: -/* 800B484C 000B17AC 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800B4850 000B17B0 80 61 01 5C */ lwz r3, 0x15c(r1) -/* 800B4854 000B17B4 54 00 08 3C */ slwi r0, r0, 1 -/* 800B4858 000B17B8 7C 03 02 14 */ add r0, r3, r0 -/* 800B485C 000B17BC 90 61 00 74 */ stw r3, 0x74(r1) -/* 800B4860 000B17C0 7C 64 1B 78 */ mr r4, r3 -/* 800B4864 000B17C4 90 01 00 7C */ stw r0, 0x7c(r1) -/* 800B4868 000B17C8 90 01 00 78 */ stw r0, 0x78(r1) -/* 800B486C 000B17CC 90 61 00 70 */ stw r3, 0x70(r1) -/* 800B4870 000B17D0 48 00 00 08 */ b lbl_800B4878 -lbl_800B4874: -/* 800B4874 000B17D4 38 84 00 02 */ addi r4, r4, 2 -lbl_800B4878: -/* 800B4878 000B17D8 7C 04 00 40 */ cmplw r4, r0 -/* 800B487C 000B17DC 40 82 FF F8 */ bne lbl_800B4874 -/* 800B4880 000B17E0 28 03 00 00 */ cmplwi r3, 0 -/* 800B4884 000B17E4 41 82 05 F8 */ beq lbl_800B4E7C -/* 800B4888 000B17E8 48 26 10 A9 */ bl Free__7CMemoryFPCv -/* 800B488C 000B17EC 48 00 05 F0 */ b lbl_800B4E7C -lbl_800B4890: -/* 800B4890 000B17F0 CB C2 8C E8 */ lfd f30, lbl_805AAA08@sda21(r2) -/* 800B4894 000B17F4 3B 21 00 F4 */ addi r25, r1, 0xf4 -/* 800B4898 000B17F8 C3 E2 8C E0 */ lfs f31, lbl_805AAA00@sda21(r2) -/* 800B489C 000B17FC 3A E0 00 00 */ li r23, 0 -/* 800B48A0 000B1800 3F 60 43 30 */ lis r27, 0x4330 -/* 800B48A4 000B1804 48 00 05 4C */ b lbl_800B4DF0 -lbl_800B48A8: -/* 800B48A8 000B1808 82 41 01 44 */ lwz r18, 0x144(r1) -/* 800B48AC 000B180C 2C 12 00 00 */ cmpwi r18, 0 -/* 800B48B0 000B1810 41 82 05 4C */ beq lbl_800B4DFC -/* 800B48B4 000B1814 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800B48B8 000B1818 2C 00 00 00 */ cmpwi r0, 0 -/* 800B48BC 000B181C 41 82 05 40 */ beq lbl_800B4DFC -/* 800B48C0 000B1820 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800B48C4 000B1824 48 25 DC 19 */ bl Float__9CRandom16Fv -/* 800B48C8 000B1828 6E 40 80 00 */ xoris r0, r18, 0x8000 -/* 800B48CC 000B182C 93 61 01 60 */ stw r27, 0x160(r1) -/* 800B48D0 000B1830 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800B48D4 000B1834 90 01 01 64 */ stw r0, 0x164(r1) -/* 800B48D8 000B1838 C8 01 01 60 */ lfd f0, 0x160(r1) -/* 800B48DC 000B183C EC 00 F0 28 */ fsubs f0, f0, f30 -/* 800B48E0 000B1840 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B48E4 000B1844 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800B48E8 000B1848 FC 00 00 1E */ fctiwz f0, f0 -/* 800B48EC 000B184C D8 01 01 68 */ stfd f0, 0x168(r1) -/* 800B48F0 000B1850 83 01 01 6C */ lwz r24, 0x16c(r1) -/* 800B48F4 000B1854 48 25 DB E9 */ bl Float__9CRandom16Fv -/* 800B48F8 000B1858 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800B48FC 000B185C 3A A0 00 00 */ li r21, 0 -/* 800B4900 000B1860 93 61 01 70 */ stw r27, 0x170(r1) -/* 800B4904 000B1864 3B 40 00 00 */ li r26, 0 -/* 800B4908 000B1868 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800B490C 000B186C 90 01 01 74 */ stw r0, 0x174(r1) -/* 800B4910 000B1870 C8 01 01 70 */ lfd f0, 0x170(r1) -/* 800B4914 000B1874 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 800B4918 000B1878 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B491C 000B187C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800B4920 000B1880 FC 00 00 1E */ fctiwz f0, f0 -/* 800B4924 000B1884 D8 01 01 78 */ stfd f0, 0x178(r1) -/* 800B4928 000B1888 82 C1 01 7C */ lwz r22, 0x17c(r1) -/* 800B492C 000B188C 48 00 00 44 */ b lbl_800B4970 -lbl_800B4930: -/* 800B4930 000B1890 80 A1 01 4C */ lwz r5, 0x14c(r1) -/* 800B4934 000B1894 7F E3 FB 78 */ mr r3, r31 -/* 800B4938 000B1898 38 81 00 24 */ addi r4, r1, 0x24 -/* 800B493C 000B189C 7C 05 D2 2E */ lhzx r0, r5, r26 -/* 800B4940 000B18A0 B0 01 00 24 */ sth r0, 0x24(r1) -/* 800B4944 000B18A4 4B F9 7C 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800B4948 000B18A8 7C 64 1B 78 */ mr r4, r3 -/* 800B494C 000B18AC 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800B4950 000B18B0 4B FF 3B 89 */ bl "__ct__26TCastToPtr<12CScriptSound>FP7CEntity" -/* 800B4954 000B18B4 80 03 00 04 */ lwz r0, 4(r3) -/* 800B4958 000B18B8 28 00 00 00 */ cmplwi r0, 0 -/* 800B495C 000B18BC 41 82 00 0C */ beq lbl_800B4968 -/* 800B4960 000B18C0 7E B8 AB 78 */ mr r24, r21 -/* 800B4964 000B18C4 48 00 00 18 */ b lbl_800B497C -lbl_800B4968: -/* 800B4968 000B18C8 3B 5A 00 08 */ addi r26, r26, 8 -/* 800B496C 000B18CC 3A B5 00 01 */ addi r21, r21, 1 -lbl_800B4970: -/* 800B4970 000B18D0 80 01 01 44 */ lwz r0, 0x144(r1) -/* 800B4974 000B18D4 7C 15 00 00 */ cmpw r21, r0 -/* 800B4978 000B18D8 41 80 FF B8 */ blt lbl_800B4930 -lbl_800B497C: -/* 800B497C 000B18DC 80 01 01 4C */ lwz r0, 0x14c(r1) -/* 800B4980 000B18E0 57 1A 18 38 */ slwi r26, r24, 3 -/* 800B4984 000B18E4 7F E3 FB 78 */ mr r3, r31 -/* 800B4988 000B18E8 38 81 00 20 */ addi r4, r1, 0x20 -/* 800B498C 000B18EC 7C C0 D2 14 */ add r6, r0, r26 -/* 800B4990 000B18F0 A0 A6 00 00 */ lhz r5, 0(r6) -/* 800B4994 000B18F4 B0 A1 00 F0 */ sth r5, 0xf0(r1) -/* 800B4998 000B18F8 80 06 00 04 */ lwz r0, 4(r6) -/* 800B499C 000B18FC 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 800B49A0 000B1900 B0 A1 00 20 */ sth r5, 0x20(r1) -/* 800B49A4 000B1904 4B F9 7B D1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B49A8 000B1908 80 81 01 5C */ lwz r4, 0x15c(r1) -/* 800B49AC 000B190C 56 D8 08 3C */ slwi r24, r22, 1 -/* 800B49B0 000B1910 7C 72 1B 78 */ mr r18, r3 -/* 800B49B4 000B1914 7F E3 FB 78 */ mr r3, r31 -/* 800B49B8 000B1918 7C 04 C2 2E */ lhzx r0, r4, r24 -/* 800B49BC 000B191C 38 81 00 1C */ addi r4, r1, 0x1c -/* 800B49C0 000B1920 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 800B49C4 000B1924 4B F9 7B B1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B49C8 000B1928 28 12 00 00 */ cmplwi r18, 0 -/* 800B49CC 000B192C 7C 75 1B 78 */ mr r21, r3 -/* 800B49D0 000B1930 41 82 04 2C */ beq lbl_800B4DFC -/* 800B49D4 000B1934 28 15 00 00 */ cmplwi r21, 0 -/* 800B49D8 000B1938 41 82 04 24 */ beq lbl_800B4DFC -/* 800B49DC 000B193C 88 DF 0F 94 */ lbz r6, 0xf94(r31) -/* 800B49E0 000B1940 38 60 00 01 */ li r3, 1 -/* 800B49E4 000B1944 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 800B49E8 000B1948 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800B49EC 000B194C 7F E4 FB 78 */ mr r4, r31 -/* 800B49F0 000B1950 7F 25 CB 78 */ mr r5, r25 -/* 800B49F4 000B1954 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 800B49F8 000B1958 54 D2 DF FE */ rlwinm r18, r6, 0x1b, 0x1f, 0x1f -/* 800B49FC 000B195C 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 800B4A00 000B1960 4B F9 38 E9 */ bl GenerateObject__13CStateManagerF9TEditorId -/* 800B4A04 000B1964 A0 81 00 EC */ lhz r4, 0xec(r1) -/* 800B4A08 000B1968 88 1F 0F 94 */ lbz r0, 0xf94(r31) -/* 800B4A0C 000B196C 52 40 2E B4 */ rlwimi r0, r18, 5, 0x1a, 0x1a -/* 800B4A10 000B1970 54 83 04 3E */ clrlwi r3, r4, 0x10 -/* 800B4A14 000B1974 B0 81 00 44 */ sth r4, 0x44(r1) -/* 800B4A18 000B1978 98 1F 0F 94 */ stb r0, 0xf94(r31) -/* 800B4A1C 000B197C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B4A20 000B1980 7C 03 00 40 */ cmplw r3, r0 -/* 800B4A24 000B1984 41 82 03 7C */ beq lbl_800B4DA0 -/* 800B4A28 000B1988 B0 81 00 18 */ sth r4, 0x18(r1) -/* 800B4A2C 000B198C 7F E3 FB 78 */ mr r3, r31 -/* 800B4A30 000B1990 38 81 00 18 */ addi r4, r1, 0x18 -/* 800B4A34 000B1994 4B F9 7B 41 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B4A38 000B1998 7C 60 1B 78 */ mr r0, r3 -/* 800B4A3C 000B199C 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 800B4A40 000B19A0 7C 16 03 78 */ mr r22, r0 -/* 800B4A44 000B19A4 7E C4 B3 78 */ mr r4, r22 -/* 800B4A48 000B19A8 4B FF B2 49 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800B4A4C 000B19AC 82 83 00 04 */ lwz r20, 4(r3) -/* 800B4A50 000B19B0 7E A4 AB 78 */ mr r4, r21 -/* 800B4A54 000B19B4 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 800B4A58 000B19B8 4B FF B2 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800B4A5C 000B19BC 82 63 00 04 */ lwz r19, 4(r3) -/* 800B4A60 000B19C0 7E A4 AB 78 */ mr r4, r21 -/* 800B4A64 000B19C4 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 800B4A68 000B19C8 4B FF 11 A9 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" -/* 800B4A6C 000B19CC 28 14 00 00 */ cmplwi r20, 0 -/* 800B4A70 000B19D0 82 43 00 04 */ lwz r18, 4(r3) -/* 800B4A74 000B19D4 41 82 00 98 */ beq lbl_800B4B0C -/* 800B4A78 000B19D8 28 12 00 00 */ cmplwi r18, 0 -/* 800B4A7C 000B19DC 41 82 00 90 */ beq lbl_800B4B0C -/* 800B4A80 000B19E0 88 1C 00 38 */ lbz r0, 0x38(r28) -/* 800B4A84 000B19E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800B4A88 000B19E8 40 82 00 38 */ bne lbl_800B4AC0 -/* 800B4A8C 000B19EC 38 74 00 34 */ addi r3, r20, 0x34 -/* 800B4A90 000B19F0 38 92 00 34 */ addi r4, r18, 0x34 -/* 800B4A94 000B19F4 48 25 E0 AD */ bl __as__12CTransform4fFRC12CTransform4f -/* 800B4A98 000B19F8 88 14 00 E4 */ lbz r0, 0xe4(r20) -/* 800B4A9C 000B19FC 38 60 00 01 */ li r3, 1 -/* 800B4AA0 000B1A00 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800B4AA4 000B1A04 98 14 00 E4 */ stb r0, 0xe4(r20) -/* 800B4AA8 000B1A08 88 14 00 E4 */ lbz r0, 0xe4(r20) -/* 800B4AAC 000B1A0C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800B4AB0 000B1A10 98 14 00 E4 */ stb r0, 0xe4(r20) -/* 800B4AB4 000B1A14 88 14 00 E4 */ lbz r0, 0xe4(r20) -/* 800B4AB8 000B1A18 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800B4ABC 000B1A1C 98 14 00 E4 */ stb r0, 0xe4(r20) -lbl_800B4AC0: -/* 800B4AC0 000B1A20 C0 B2 01 30 */ lfs f5, 0x130(r18) -/* 800B4AC4 000B1A24 7E 83 A3 78 */ mr r3, r20 -/* 800B4AC8 000B1A28 C0 92 01 34 */ lfs f4, 0x134(r18) -/* 800B4ACC 000B1A2C 38 81 01 34 */ addi r4, r1, 0x134 -/* 800B4AD0 000B1A30 C0 72 01 38 */ lfs f3, 0x138(r18) -/* 800B4AD4 000B1A34 C0 5C 00 40 */ lfs f2, 0x40(r28) -/* 800B4AD8 000B1A38 C0 3C 00 44 */ lfs f1, 0x44(r28) -/* 800B4ADC 000B1A3C C0 1C 00 3C */ lfs f0, 0x3c(r28) -/* 800B4AE0 000B1A40 EC 44 10 2A */ fadds f2, f4, f2 -/* 800B4AE4 000B1A44 EC 23 08 2A */ fadds f1, f3, f1 -/* 800B4AE8 000B1A48 D0 A1 01 28 */ stfs f5, 0x128(r1) -/* 800B4AEC 000B1A4C EC 05 00 2A */ fadds f0, f5, f0 -/* 800B4AF0 000B1A50 D0 81 01 2C */ stfs f4, 0x12c(r1) -/* 800B4AF4 000B1A54 D0 61 01 30 */ stfs f3, 0x130(r1) -/* 800B4AF8 000B1A58 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 800B4AFC 000B1A5C D0 41 01 38 */ stfs f2, 0x138(r1) -/* 800B4B00 000B1A60 D0 21 01 3C */ stfs f1, 0x13c(r1) -/* 800B4B04 000B1A64 4B F9 E3 89 */ bl SetTranslation__6CActorFRC9CVector3f -/* 800B4B08 000B1A68 48 00 00 90 */ b lbl_800B4B98 -lbl_800B4B0C: -/* 800B4B0C 000B1A6C 28 14 00 00 */ cmplwi r20, 0 -/* 800B4B10 000B1A70 41 82 00 88 */ beq lbl_800B4B98 -/* 800B4B14 000B1A74 28 13 00 00 */ cmplwi r19, 0 -/* 800B4B18 000B1A78 41 82 00 80 */ beq lbl_800B4B98 -/* 800B4B1C 000B1A7C 88 1C 00 38 */ lbz r0, 0x38(r28) -/* 800B4B20 000B1A80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800B4B24 000B1A84 40 82 00 38 */ bne lbl_800B4B5C -/* 800B4B28 000B1A88 38 74 00 34 */ addi r3, r20, 0x34 -/* 800B4B2C 000B1A8C 38 93 00 34 */ addi r4, r19, 0x34 -/* 800B4B30 000B1A90 48 25 E0 11 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800B4B34 000B1A94 88 14 00 E4 */ lbz r0, 0xe4(r20) -/* 800B4B38 000B1A98 38 60 00 01 */ li r3, 1 -/* 800B4B3C 000B1A9C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800B4B40 000B1AA0 98 14 00 E4 */ stb r0, 0xe4(r20) -/* 800B4B44 000B1AA4 88 14 00 E4 */ lbz r0, 0xe4(r20) -/* 800B4B48 000B1AA8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800B4B4C 000B1AAC 98 14 00 E4 */ stb r0, 0xe4(r20) -/* 800B4B50 000B1AB0 88 14 00 E4 */ lbz r0, 0xe4(r20) -/* 800B4B54 000B1AB4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800B4B58 000B1AB8 98 14 00 E4 */ stb r0, 0xe4(r20) -lbl_800B4B5C: -/* 800B4B5C 000B1ABC C0 33 00 50 */ lfs f1, 0x50(r19) -/* 800B4B60 000B1AC0 7E 83 A3 78 */ mr r3, r20 -/* 800B4B64 000B1AC4 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 800B4B68 000B1AC8 38 81 01 1C */ addi r4, r1, 0x11c -/* 800B4B6C 000B1ACC C0 73 00 60 */ lfs f3, 0x60(r19) -/* 800B4B70 000B1AD0 C0 5C 00 44 */ lfs f2, 0x44(r28) -/* 800B4B74 000B1AD4 EC 81 00 2A */ fadds f4, f1, f0 -/* 800B4B78 000B1AD8 C0 33 00 40 */ lfs f1, 0x40(r19) -/* 800B4B7C 000B1ADC C0 1C 00 3C */ lfs f0, 0x3c(r28) -/* 800B4B80 000B1AE0 EC 43 10 2A */ fadds f2, f3, f2 -/* 800B4B84 000B1AE4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800B4B88 000B1AE8 D0 81 01 20 */ stfs f4, 0x120(r1) -/* 800B4B8C 000B1AEC D0 41 01 24 */ stfs f2, 0x124(r1) -/* 800B4B90 000B1AF0 D0 01 01 1C */ stfs f0, 0x11c(r1) -/* 800B4B94 000B1AF4 4B F9 E2 F9 */ bl SetTranslation__6CActorFRC9CVector3f -lbl_800B4B98: -/* 800B4B98 000B1AF8 28 16 00 00 */ cmplwi r22, 0 -/* 800B4B9C 000B1AFC 41 82 02 04 */ beq lbl_800B4DA0 -/* 800B4BA0 000B1B00 A0 01 00 44 */ lhz r0, 0x44(r1) -/* 800B4BA4 000B1B04 7F E3 FB 78 */ mr r3, r31 -/* 800B4BA8 000B1B08 38 81 00 14 */ addi r4, r1, 0x14 -/* 800B4BAC 000B1B0C B0 01 00 14 */ sth r0, 0x14(r1) -/* 800B4BB0 000B1B10 4B F9 79 C5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B4BB4 000B1B14 7C 60 1B 78 */ mr r0, r3 -/* 800B4BB8 000B1B18 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800B4BBC 000B1B1C 7C 12 03 78 */ mr r18, r0 -/* 800B4BC0 000B1B20 7E 44 93 78 */ mr r4, r18 -/* 800B4BC4 000B1B24 4B FF B0 CD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800B4BC8 000B1B28 82 63 00 04 */ lwz r19, 4(r3) -/* 800B4BCC 000B1B2C 7E A4 AB 78 */ mr r4, r21 -/* 800B4BD0 000B1B30 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 800B4BD4 000B1B34 4B FF B0 BD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800B4BD8 000B1B38 82 83 00 04 */ lwz r20, 4(r3) -/* 800B4BDC 000B1B3C 7E A4 AB 78 */ mr r4, r21 -/* 800B4BE0 000B1B40 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800B4BE4 000B1B44 4B FF 10 2D */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" -/* 800B4BE8 000B1B48 28 13 00 00 */ cmplwi r19, 0 -/* 800B4BEC 000B1B4C 82 A3 00 04 */ lwz r21, 4(r3) -/* 800B4BF0 000B1B50 41 82 01 90 */ beq lbl_800B4D80 -/* 800B4BF4 000B1B54 41 82 00 98 */ beq lbl_800B4C8C -/* 800B4BF8 000B1B58 28 15 00 00 */ cmplwi r21, 0 -/* 800B4BFC 000B1B5C 41 82 00 90 */ beq lbl_800B4C8C -/* 800B4C00 000B1B60 88 1C 00 38 */ lbz r0, 0x38(r28) -/* 800B4C04 000B1B64 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800B4C08 000B1B68 40 82 00 38 */ bne lbl_800B4C40 -/* 800B4C0C 000B1B6C 38 73 00 34 */ addi r3, r19, 0x34 -/* 800B4C10 000B1B70 38 95 00 34 */ addi r4, r21, 0x34 -/* 800B4C14 000B1B74 48 25 DF 2D */ bl __as__12CTransform4fFRC12CTransform4f -/* 800B4C18 000B1B78 88 13 00 E4 */ lbz r0, 0xe4(r19) -/* 800B4C1C 000B1B7C 38 60 00 01 */ li r3, 1 -/* 800B4C20 000B1B80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800B4C24 000B1B84 98 13 00 E4 */ stb r0, 0xe4(r19) -/* 800B4C28 000B1B88 88 13 00 E4 */ lbz r0, 0xe4(r19) -/* 800B4C2C 000B1B8C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800B4C30 000B1B90 98 13 00 E4 */ stb r0, 0xe4(r19) -/* 800B4C34 000B1B94 88 13 00 E4 */ lbz r0, 0xe4(r19) -/* 800B4C38 000B1B98 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800B4C3C 000B1B9C 98 13 00 E4 */ stb r0, 0xe4(r19) -lbl_800B4C40: -/* 800B4C40 000B1BA0 C0 B5 01 30 */ lfs f5, 0x130(r21) -/* 800B4C44 000B1BA4 7E 63 9B 78 */ mr r3, r19 -/* 800B4C48 000B1BA8 C0 95 01 34 */ lfs f4, 0x134(r21) -/* 800B4C4C 000B1BAC 38 81 01 10 */ addi r4, r1, 0x110 -/* 800B4C50 000B1BB0 C0 75 01 38 */ lfs f3, 0x138(r21) -/* 800B4C54 000B1BB4 C0 5C 00 40 */ lfs f2, 0x40(r28) -/* 800B4C58 000B1BB8 C0 3C 00 44 */ lfs f1, 0x44(r28) -/* 800B4C5C 000B1BBC C0 1C 00 3C */ lfs f0, 0x3c(r28) -/* 800B4C60 000B1BC0 EC 44 10 2A */ fadds f2, f4, f2 -/* 800B4C64 000B1BC4 EC 23 08 2A */ fadds f1, f3, f1 -/* 800B4C68 000B1BC8 D0 A1 01 04 */ stfs f5, 0x104(r1) -/* 800B4C6C 000B1BCC EC 05 00 2A */ fadds f0, f5, f0 -/* 800B4C70 000B1BD0 D0 81 01 08 */ stfs f4, 0x108(r1) -/* 800B4C74 000B1BD4 D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 800B4C78 000B1BD8 D0 01 01 10 */ stfs f0, 0x110(r1) -/* 800B4C7C 000B1BDC D0 41 01 14 */ stfs f2, 0x114(r1) -/* 800B4C80 000B1BE0 D0 21 01 18 */ stfs f1, 0x118(r1) -/* 800B4C84 000B1BE4 4B F9 E2 09 */ bl SetTranslation__6CActorFRC9CVector3f -/* 800B4C88 000B1BE8 48 00 00 90 */ b lbl_800B4D18 -lbl_800B4C8C: -/* 800B4C8C 000B1BEC 28 13 00 00 */ cmplwi r19, 0 -/* 800B4C90 000B1BF0 41 82 00 88 */ beq lbl_800B4D18 -/* 800B4C94 000B1BF4 28 14 00 00 */ cmplwi r20, 0 -/* 800B4C98 000B1BF8 41 82 00 80 */ beq lbl_800B4D18 -/* 800B4C9C 000B1BFC 88 1C 00 38 */ lbz r0, 0x38(r28) -/* 800B4CA0 000B1C00 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800B4CA4 000B1C04 40 82 00 38 */ bne lbl_800B4CDC -/* 800B4CA8 000B1C08 38 73 00 34 */ addi r3, r19, 0x34 -/* 800B4CAC 000B1C0C 38 94 00 34 */ addi r4, r20, 0x34 -/* 800B4CB0 000B1C10 48 25 DE 91 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800B4CB4 000B1C14 88 13 00 E4 */ lbz r0, 0xe4(r19) -/* 800B4CB8 000B1C18 38 60 00 01 */ li r3, 1 -/* 800B4CBC 000B1C1C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800B4CC0 000B1C20 98 13 00 E4 */ stb r0, 0xe4(r19) -/* 800B4CC4 000B1C24 88 13 00 E4 */ lbz r0, 0xe4(r19) -/* 800B4CC8 000B1C28 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800B4CCC 000B1C2C 98 13 00 E4 */ stb r0, 0xe4(r19) -/* 800B4CD0 000B1C30 88 13 00 E4 */ lbz r0, 0xe4(r19) -/* 800B4CD4 000B1C34 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800B4CD8 000B1C38 98 13 00 E4 */ stb r0, 0xe4(r19) -lbl_800B4CDC: -/* 800B4CDC 000B1C3C C0 34 00 50 */ lfs f1, 0x50(r20) -/* 800B4CE0 000B1C40 7E 63 9B 78 */ mr r3, r19 -/* 800B4CE4 000B1C44 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 800B4CE8 000B1C48 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 800B4CEC 000B1C4C C0 74 00 60 */ lfs f3, 0x60(r20) -/* 800B4CF0 000B1C50 C0 5C 00 44 */ lfs f2, 0x44(r28) -/* 800B4CF4 000B1C54 EC 81 00 2A */ fadds f4, f1, f0 -/* 800B4CF8 000B1C58 C0 34 00 40 */ lfs f1, 0x40(r20) -/* 800B4CFC 000B1C5C C0 1C 00 3C */ lfs f0, 0x3c(r28) -/* 800B4D00 000B1C60 EC 43 10 2A */ fadds f2, f3, f2 -/* 800B4D04 000B1C64 EC 01 00 2A */ fadds f0, f1, f0 -/* 800B4D08 000B1C68 D0 81 00 FC */ stfs f4, 0xfc(r1) -/* 800B4D0C 000B1C6C D0 41 01 00 */ stfs f2, 0x100(r1) -/* 800B4D10 000B1C70 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 800B4D14 000B1C74 4B F9 E1 79 */ bl SetTranslation__6CActorFRC9CVector3f -lbl_800B4D18: -/* 800B4D18 000B1C78 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800B4D1C 000B1C7C C0 3C 00 48 */ lfs f1, 0x48(r28) -/* 800B4D20 000B1C80 C0 5C 00 4C */ lfs f2, 0x4c(r28) -/* 800B4D24 000B1C84 48 25 D8 21 */ bl Range__9CRandom16Fff -/* 800B4D28 000B1C88 80 93 00 64 */ lwz r4, 0x64(r19) -/* 800B4D2C 000B1C8C 38 60 00 00 */ li r3, 0 -/* 800B4D30 000B1C90 28 04 00 00 */ cmplwi r4, 0 -/* 800B4D34 000B1C94 41 82 00 20 */ beq lbl_800B4D54 -/* 800B4D38 000B1C98 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800B4D3C 000B1C9C 28 00 00 00 */ cmplwi r0, 0 -/* 800B4D40 000B1CA0 40 82 00 10 */ bne lbl_800B4D50 -/* 800B4D44 000B1CA4 88 04 00 28 */ lbz r0, 0x28(r4) -/* 800B4D48 000B1CA8 28 00 00 00 */ cmplwi r0, 0 -/* 800B4D4C 000B1CAC 41 82 00 08 */ beq lbl_800B4D54 -lbl_800B4D50: -/* 800B4D50 000B1CB0 38 60 00 01 */ li r3, 1 -lbl_800B4D54: -/* 800B4D54 000B1CB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B4D58 000B1CB8 41 82 00 28 */ beq lbl_800B4D80 -/* 800B4D5C 000B1CBC C0 04 00 00 */ lfs f0, 0(r4) -/* 800B4D60 000B1CC0 C0 64 00 04 */ lfs f3, 4(r4) -/* 800B4D64 000B1CC4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B4D68 000B1CC8 C0 44 00 08 */ lfs f2, 8(r4) -/* 800B4D6C 000B1CCC EC 61 00 F2 */ fmuls f3, f1, f3 -/* 800B4D70 000B1CD0 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800B4D74 000B1CD4 D0 04 00 00 */ stfs f0, 0(r4) -/* 800B4D78 000B1CD8 D0 64 00 04 */ stfs f3, 4(r4) -/* 800B4D7C 000B1CDC D0 24 00 08 */ stfs f1, 8(r4) -lbl_800B4D80: -/* 800B4D80 000B1CE0 A0 1C 00 08 */ lhz r0, 8(r28) -/* 800B4D84 000B1CE4 7F E3 FB 78 */ mr r3, r31 -/* 800B4D88 000B1CE8 7E 44 93 78 */ mr r4, r18 -/* 800B4D8C 000B1CEC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800B4D90 000B1CF0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B4D94 000B1CF4 38 C0 00 01 */ li r6, 1 -/* 800B4D98 000B1CF8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B4D9C 000B1CFC 4B F8 F1 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_800B4DA0: -/* 800B4DA0 000B1D00 80 01 01 4C */ lwz r0, 0x14c(r1) -/* 800B4DA4 000B1D04 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 800B4DA8 000B1D08 38 81 01 40 */ addi r4, r1, 0x140 -/* 800B4DAC 000B1D0C 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 800B4DB0 000B1D10 7C 00 D2 14 */ add r0, r0, r26 -/* 800B4DB4 000B1D14 90 01 00 9C */ stw r0, 0x9c(r1) -/* 800B4DB8 000B1D18 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 800B4DBC 000B1D1C 48 00 01 01 */ bl sub_800b4ebc -/* 800B4DC0 000B1D20 88 1C 00 38 */ lbz r0, 0x38(r28) -/* 800B4DC4 000B1D24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B4DC8 000B1D28 41 82 00 24 */ beq lbl_800B4DEC -/* 800B4DCC 000B1D2C 80 01 01 5C */ lwz r0, 0x15c(r1) -/* 800B4DD0 000B1D30 38 61 00 98 */ addi r3, r1, 0x98 -/* 800B4DD4 000B1D34 38 81 01 50 */ addi r4, r1, 0x150 -/* 800B4DD8 000B1D38 38 A1 00 94 */ addi r5, r1, 0x94 -/* 800B4DDC 000B1D3C 7C 00 C2 14 */ add r0, r0, r24 -/* 800B4DE0 000B1D40 90 01 00 90 */ stw r0, 0x90(r1) -/* 800B4DE4 000B1D44 90 01 00 94 */ stw r0, 0x94(r1) -/* 800B4DE8 000B1D48 4B F5 64 71 */ bl "find,Q24rstl17rmemory_allocator>,9TUniqueId>__4rstlFQ24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC9TUniqueId" -lbl_800B4DEC: -/* 800B4DEC 000B1D4C 3A F7 00 01 */ addi r23, r23, 1 -lbl_800B4DF0: -/* 800B4DF0 000B1D50 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 800B4DF4 000B1D54 7C 17 00 00 */ cmpw r23, r0 -/* 800B4DF8 000B1D58 41 80 FA B0 */ blt lbl_800B48A8 -lbl_800B4DFC: -/* 800B4DFC 000B1D5C 80 01 01 44 */ lwz r0, 0x144(r1) -/* 800B4E00 000B1D60 80 61 01 4C */ lwz r3, 0x14c(r1) -/* 800B4E04 000B1D64 54 00 18 38 */ slwi r0, r0, 3 -/* 800B4E08 000B1D68 7C 03 02 14 */ add r0, r3, r0 -/* 800B4E0C 000B1D6C 90 61 00 64 */ stw r3, 0x64(r1) -/* 800B4E10 000B1D70 7C 64 1B 78 */ mr r4, r3 -/* 800B4E14 000B1D74 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800B4E18 000B1D78 90 01 00 68 */ stw r0, 0x68(r1) -/* 800B4E1C 000B1D7C 90 61 00 60 */ stw r3, 0x60(r1) -/* 800B4E20 000B1D80 48 00 00 08 */ b lbl_800B4E28 -lbl_800B4E24: -/* 800B4E24 000B1D84 38 84 00 08 */ addi r4, r4, 8 -lbl_800B4E28: -/* 800B4E28 000B1D88 7C 04 00 40 */ cmplw r4, r0 -/* 800B4E2C 000B1D8C 40 82 FF F8 */ bne lbl_800B4E24 -/* 800B4E30 000B1D90 28 03 00 00 */ cmplwi r3, 0 -/* 800B4E34 000B1D94 41 82 00 08 */ beq lbl_800B4E3C -/* 800B4E38 000B1D98 48 26 0A F9 */ bl Free__7CMemoryFPCv -lbl_800B4E3C: -/* 800B4E3C 000B1D9C 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800B4E40 000B1DA0 80 61 01 5C */ lwz r3, 0x15c(r1) -/* 800B4E44 000B1DA4 54 00 08 3C */ slwi r0, r0, 1 -/* 800B4E48 000B1DA8 7C 03 02 14 */ add r0, r3, r0 -/* 800B4E4C 000B1DAC 90 61 00 54 */ stw r3, 0x54(r1) -/* 800B4E50 000B1DB0 7C 64 1B 78 */ mr r4, r3 -/* 800B4E54 000B1DB4 90 01 00 5C */ stw r0, 0x5c(r1) -/* 800B4E58 000B1DB8 90 01 00 58 */ stw r0, 0x58(r1) -/* 800B4E5C 000B1DBC 90 61 00 50 */ stw r3, 0x50(r1) -/* 800B4E60 000B1DC0 48 00 00 08 */ b lbl_800B4E68 -lbl_800B4E64: -/* 800B4E64 000B1DC4 38 84 00 02 */ addi r4, r4, 2 -lbl_800B4E68: -/* 800B4E68 000B1DC8 7C 04 00 40 */ cmplw r4, r0 -/* 800B4E6C 000B1DCC 40 82 FF F8 */ bne lbl_800B4E64 -/* 800B4E70 000B1DD0 28 03 00 00 */ cmplwi r3, 0 -/* 800B4E74 000B1DD4 41 82 00 08 */ beq lbl_800B4E7C -/* 800B4E78 000B1DD8 48 26 0A B9 */ bl Free__7CMemoryFPCv -lbl_800B4E7C: -/* 800B4E7C 000B1DDC A0 1E 00 00 */ lhz r0, 0(r30) -/* 800B4E80 000B1DE0 7F 83 E3 78 */ mr r3, r28 -/* 800B4E84 000B1DE4 7F A4 EB 78 */ mr r4, r29 -/* 800B4E88 000B1DE8 7F E6 FB 78 */ mr r6, r31 -/* 800B4E8C 000B1DEC B0 01 00 08 */ sth r0, 8(r1) -/* 800B4E90 000B1DF0 38 A1 00 08 */ addi r5, r1, 8 -/* 800B4E94 000B1DF4 4B F9 C2 C9 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800B4E98 000B1DF8 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 -/* 800B4E9C 000B1DFC CB E1 01 D0 */ lfd f31, 0x1d0(r1) -/* 800B4EA0 000B1E00 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 -/* 800B4EA4 000B1E04 CB C1 01 C0 */ lfd f30, 0x1c0(r1) -/* 800B4EA8 000B1E08 BA 41 01 88 */ lmw r18, 0x188(r1) -/* 800B4EAC 000B1E0C 80 01 01 E4 */ lwz r0, 0x1e4(r1) -/* 800B4EB0 000B1E10 7C 08 03 A6 */ mtlr r0 -/* 800B4EB4 000B1E14 38 21 01 E0 */ addi r1, r1, 0x1e0 -/* 800B4EB8 000B1E18 4E 80 00 20 */ blr - -.global sub_800b4ebc -sub_800b4ebc: -/* 800B4EBC 000B1E1C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B4EC0 000B1E20 7C 08 02 A6 */ mflr r0 -/* 800B4EC4 000B1E24 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B4EC8 000B1E28 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B4ECC 000B1E2C 7C 7F 1B 78 */ mr r31, r3 -/* 800B4ED0 000B1E30 80 C5 00 00 */ lwz r6, 0(r5) -/* 800B4ED4 000B1E34 80 05 00 00 */ lwz r0, 0(r5) -/* 800B4ED8 000B1E38 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800B4EDC 000B1E3C 38 E6 00 08 */ addi r7, r6, 8 -/* 800B4EE0 000B1E40 38 C1 00 0C */ addi r6, r1, 0xc -/* 800B4EE4 000B1E44 90 E1 00 08 */ stw r7, 8(r1) -/* 800B4EE8 000B1E48 90 E1 00 0C */ stw r7, 0xc(r1) -/* 800B4EEC 000B1E4C 90 01 00 10 */ stw r0, 0x10(r1) -/* 800B4EF0 000B1E50 48 00 00 19 */ bl sub_800b4f08 -/* 800B4EF4 000B1E54 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B4EF8 000B1E58 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B4EFC 000B1E5C 7C 08 03 A6 */ mtlr r0 -/* 800B4F00 000B1E60 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B4F04 000B1E64 4E 80 00 20 */ blr - -.global sub_800b4f08 -sub_800b4f08: -/* 800B4F08 000B1E68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B4F0C 000B1E6C 80 E5 00 00 */ lwz r7, 0(r5) -/* 800B4F10 000B1E70 80 06 00 00 */ lwz r0, 0(r6) -/* 800B4F14 000B1E74 90 E1 00 0C */ stw r7, 0xc(r1) -/* 800B4F18 000B1E78 90 01 00 08 */ stw r0, 8(r1) -/* 800B4F1C 000B1E7C 48 00 00 08 */ b lbl_800B4F24 -lbl_800B4F20: -/* 800B4F20 000B1E80 38 E7 00 08 */ addi r7, r7, 8 -lbl_800B4F24: -/* 800B4F24 000B1E84 7C 07 00 40 */ cmplw r7, r0 -/* 800B4F28 000B1E88 40 82 FF F8 */ bne lbl_800B4F20 -/* 800B4F2C 000B1E8C 81 04 00 0C */ lwz r8, 0xc(r4) -/* 800B4F30 000B1E90 80 05 00 00 */ lwz r0, 0(r5) -/* 800B4F34 000B1E94 80 E6 00 00 */ lwz r7, 0(r6) -/* 800B4F38 000B1E98 7C 08 00 50 */ subf r0, r8, r0 -/* 800B4F3C 000B1E9C 7C 00 1E 70 */ srawi r0, r0, 3 -/* 800B4F40 000B1EA0 7C C0 01 94 */ addze r6, r0 -/* 800B4F44 000B1EA4 54 C0 18 38 */ slwi r0, r6, 3 -/* 800B4F48 000B1EA8 7C C9 33 78 */ mr r9, r6 -/* 800B4F4C 000B1EAC 7D 08 02 14 */ add r8, r8, r0 -/* 800B4F50 000B1EB0 48 00 00 28 */ b lbl_800B4F78 -lbl_800B4F54: -/* 800B4F54 000B1EB4 28 08 00 00 */ cmplwi r8, 0 -/* 800B4F58 000B1EB8 41 82 00 14 */ beq lbl_800B4F6C -/* 800B4F5C 000B1EBC A0 07 00 00 */ lhz r0, 0(r7) -/* 800B4F60 000B1EC0 B0 08 00 00 */ sth r0, 0(r8) -/* 800B4F64 000B1EC4 80 07 00 04 */ lwz r0, 4(r7) -/* 800B4F68 000B1EC8 90 08 00 04 */ stw r0, 4(r8) -lbl_800B4F6C: -/* 800B4F6C 000B1ECC 39 08 00 08 */ addi r8, r8, 8 -/* 800B4F70 000B1ED0 39 29 00 01 */ addi r9, r9, 1 -/* 800B4F74 000B1ED4 38 E7 00 08 */ addi r7, r7, 8 -lbl_800B4F78: -/* 800B4F78 000B1ED8 80 04 00 04 */ lwz r0, 4(r4) -/* 800B4F7C 000B1EDC 80 C4 00 0C */ lwz r6, 0xc(r4) -/* 800B4F80 000B1EE0 54 00 18 38 */ slwi r0, r0, 3 -/* 800B4F84 000B1EE4 7C 06 02 14 */ add r0, r6, r0 -/* 800B4F88 000B1EE8 7C 07 00 40 */ cmplw r7, r0 -/* 800B4F8C 000B1EEC 40 82 FF C8 */ bne lbl_800B4F54 -/* 800B4F90 000B1EF0 91 24 00 04 */ stw r9, 4(r4) -/* 800B4F94 000B1EF4 80 05 00 00 */ lwz r0, 0(r5) -/* 800B4F98 000B1EF8 90 03 00 00 */ stw r0, 0(r3) -/* 800B4F9C 000B1EFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B4FA0 000B1F00 4E 80 00 20 */ blr - -.global __dt__16CScriptGenerator -__dt__16CScriptGenerator: -/* 800B4FA4 000B1F04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B4FA8 000B1F08 7C 08 02 A6 */ mflr r0 -/* 800B4FAC 000B1F0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B4FB0 000B1F10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B4FB4 000B1F14 7C 9F 23 78 */ mr r31, r4 -/* 800B4FB8 000B1F18 93 C1 00 08 */ stw r30, 8(r1) -/* 800B4FBC 000B1F1C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800B4FC0 000B1F20 41 82 00 28 */ beq lbl_800B4FE8 -/* 800B4FC4 000B1F24 3C A0 80 3E */ lis r5, lbl_803DF328@ha -/* 800B4FC8 000B1F28 38 80 00 00 */ li r4, 0 -/* 800B4FCC 000B1F2C 38 05 F3 28 */ addi r0, r5, lbl_803DF328@l -/* 800B4FD0 000B1F30 90 1E 00 00 */ stw r0, 0(r30) -/* 800B4FD4 000B1F34 4B F9 C2 A1 */ bl __dt__7CEntityFv -/* 800B4FD8 000B1F38 7F E0 07 35 */ extsh. r0, r31 -/* 800B4FDC 000B1F3C 40 81 00 0C */ ble lbl_800B4FE8 -/* 800B4FE0 000B1F40 7F C3 F3 78 */ mr r3, r30 -/* 800B4FE4 000B1F44 48 26 09 4D */ bl Free__7CMemoryFPCv -lbl_800B4FE8: -/* 800B4FE8 000B1F48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B4FEC 000B1F4C 7F C3 F3 78 */ mr r3, r30 -/* 800B4FF0 000B1F50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B4FF4 000B1F54 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B4FF8 000B1F58 7C 08 03 A6 */ mtlr r0 -/* 800B4FFC 000B1F5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B5000 000B1F60 4E 80 00 20 */ blr - -.global "__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff" -"__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff": -/* 800B5004 000B1F64 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800B5008 000B1F68 7C 08 02 A6 */ mflr r0 -/* 800B500C 000B1F6C 90 01 00 54 */ stw r0, 0x54(r1) -/* 800B5010 000B1F70 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 800B5014 000B1F74 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 800B5018 000B1F78 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 800B501C 000B1F7C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 800B5020 000B1F80 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800B5024 000B1F84 A0 04 00 00 */ lhz r0, 0(r4) -/* 800B5028 000B1F88 7C AB 2B 78 */ mr r11, r5 -/* 800B502C 000B1F8C FF C0 08 90 */ fmr f30, f1 -/* 800B5030 000B1F90 88 81 00 5B */ lbz r4, 0x5b(r1) -/* 800B5034 000B1F94 FF E0 10 90 */ fmr f31, f2 -/* 800B5038 000B1F98 B0 01 00 08 */ sth r0, 8(r1) -/* 800B503C 000B1F9C 7C FC 3B 78 */ mr r28, r7 -/* 800B5040 000B1FA0 7C C5 33 78 */ mr r5, r6 -/* 800B5044 000B1FA4 7C 86 23 78 */ mr r6, r4 -/* 800B5048 000B1FA8 7C 7B 1B 78 */ mr r27, r3 -/* 800B504C 000B1FAC 7D 1D 43 78 */ mr r29, r8 -/* 800B5050 000B1FB0 7D 3E 4B 78 */ mr r30, r9 -/* 800B5054 000B1FB4 7D 5F 53 78 */ mr r31, r10 -/* 800B5058 000B1FB8 7D 67 5B 78 */ mr r7, r11 -/* 800B505C 000B1FBC 38 81 00 08 */ addi r4, r1, 8 -/* 800B5060 000B1FC0 4B F9 C2 C5 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800B5064 000B1FC4 3C 60 80 3E */ lis r3, lbl_803DF328@ha -/* 800B5068 000B1FC8 38 03 F3 28 */ addi r0, r3, lbl_803DF328@l -/* 800B506C 000B1FCC 90 1B 00 00 */ stw r0, 0(r27) -/* 800B5070 000B1FD0 7F 63 DB 78 */ mr r3, r27 -/* 800B5074 000B1FD4 93 9B 00 34 */ stw r28, 0x34(r27) -/* 800B5078 000B1FD8 88 1B 00 38 */ lbz r0, 0x38(r27) -/* 800B507C 000B1FDC 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 -/* 800B5080 000B1FE0 98 1B 00 38 */ stb r0, 0x38(r27) -/* 800B5084 000B1FE4 88 1B 00 38 */ lbz r0, 0x38(r27) -/* 800B5088 000B1FE8 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 -/* 800B508C 000B1FEC 98 1B 00 38 */ stb r0, 0x38(r27) -/* 800B5090 000B1FF0 C0 1E 00 00 */ lfs f0, 0(r30) -/* 800B5094 000B1FF4 D0 1B 00 3C */ stfs f0, 0x3c(r27) -/* 800B5098 000B1FF8 C0 1E 00 04 */ lfs f0, 4(r30) -/* 800B509C 000B1FFC D0 1B 00 40 */ stfs f0, 0x40(r27) -/* 800B50A0 000B2000 C0 1E 00 08 */ lfs f0, 8(r30) -/* 800B50A4 000B2004 D0 1B 00 44 */ stfs f0, 0x44(r27) -/* 800B50A8 000B2008 D3 DB 00 48 */ stfs f30, 0x48(r27) -/* 800B50AC 000B200C D3 FB 00 4C */ stfs f31, 0x4c(r27) -/* 800B50B0 000B2010 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 800B50B4 000B2014 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 800B50B8 000B2018 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 800B50BC 000B201C CB C1 00 30 */ lfd f30, 0x30(r1) -/* 800B50C0 000B2020 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 800B50C4 000B2024 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800B50C8 000B2028 7C 08 03 A6 */ mtlr r0 -/* 800B50CC 000B202C 38 21 00 50 */ addi r1, r1, 0x50 -/* 800B50D0 000B2030 4E 80 00 20 */ blr - -.global "reserve__Q24rstl71vector,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl71vector,Q24rstl17rmemory_allocator>Fi": -/* 800B50D4 000B2034 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B50D8 000B2038 7C 08 02 A6 */ mflr r0 -/* 800B50DC 000B203C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B50E0 000B2040 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800B50E4 000B2044 7C 9F 23 78 */ mr r31, r4 -/* 800B50E8 000B2048 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800B50EC 000B204C 7C 7E 1B 78 */ mr r30, r3 -/* 800B50F0 000B2050 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800B50F4 000B2054 80 03 00 08 */ lwz r0, 8(r3) -/* 800B50F8 000B2058 7C 1F 00 00 */ cmpw r31, r0 -/* 800B50FC 000B205C 40 81 00 B0 */ ble lbl_800B51AC -/* 800B5100 000B2060 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 800B5104 000B2064 40 82 00 0C */ bne lbl_800B5110 -/* 800B5108 000B2068 3B A0 00 00 */ li r29, 0 -/* 800B510C 000B206C 48 00 00 18 */ b lbl_800B5124 -lbl_800B5110: -/* 800B5110 000B2070 3C 80 80 3D */ lis r4, lbl_803CDE78@ha -/* 800B5114 000B2074 38 A0 00 00 */ li r5, 0 -/* 800B5118 000B2078 38 84 DE 78 */ addi r4, r4, lbl_803CDE78@l -/* 800B511C 000B207C 48 26 06 FD */ bl __nwa__FUlPCcPCc -/* 800B5120 000B2080 7C 7D 1B 78 */ mr r29, r3 -lbl_800B5124: -/* 800B5124 000B2084 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B5128 000B2088 7F A4 EB 78 */ mr r4, r29 -/* 800B512C 000B208C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800B5130 000B2090 54 00 18 38 */ slwi r0, r0, 3 -/* 800B5134 000B2094 7C 65 02 14 */ add r3, r5, r0 -/* 800B5138 000B2098 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800B513C 000B209C 90 61 00 08 */ stw r3, 8(r1) -/* 800B5140 000B20A0 90 61 00 0C */ stw r3, 0xc(r1) -/* 800B5144 000B20A4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800B5148 000B20A8 48 00 00 24 */ b lbl_800B516C -lbl_800B514C: -/* 800B514C 000B20AC 28 04 00 00 */ cmplwi r4, 0 -/* 800B5150 000B20B0 41 82 00 14 */ beq lbl_800B5164 -/* 800B5154 000B20B4 A0 05 00 00 */ lhz r0, 0(r5) -/* 800B5158 000B20B8 B0 04 00 00 */ sth r0, 0(r4) -/* 800B515C 000B20BC 80 05 00 04 */ lwz r0, 4(r5) -/* 800B5160 000B20C0 90 04 00 04 */ stw r0, 4(r4) -lbl_800B5164: -/* 800B5164 000B20C4 38 84 00 08 */ addi r4, r4, 8 -/* 800B5168 000B20C8 38 A5 00 08 */ addi r5, r5, 8 -lbl_800B516C: -/* 800B516C 000B20CC 7C 05 18 40 */ cmplw r5, r3 -/* 800B5170 000B20D0 40 82 FF DC */ bne lbl_800B514C -/* 800B5174 000B20D4 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B5178 000B20D8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800B517C 000B20DC 54 00 18 38 */ slwi r0, r0, 3 -/* 800B5180 000B20E0 7C 64 1B 78 */ mr r4, r3 -/* 800B5184 000B20E4 7C 03 02 14 */ add r0, r3, r0 -/* 800B5188 000B20E8 48 00 00 08 */ b lbl_800B5190 -lbl_800B518C: -/* 800B518C 000B20EC 38 84 00 08 */ addi r4, r4, 8 -lbl_800B5190: -/* 800B5190 000B20F0 7C 04 00 40 */ cmplw r4, r0 -/* 800B5194 000B20F4 40 82 FF F8 */ bne lbl_800B518C -/* 800B5198 000B20F8 28 03 00 00 */ cmplwi r3, 0 -/* 800B519C 000B20FC 41 82 00 08 */ beq lbl_800B51A4 -/* 800B51A0 000B2100 48 26 07 91 */ bl Free__7CMemoryFPCv -lbl_800B51A4: -/* 800B51A4 000B2104 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800B51A8 000B2108 93 FE 00 08 */ stw r31, 8(r30) -lbl_800B51AC: -/* 800B51AC 000B210C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B51B0 000B2110 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800B51B4 000B2114 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800B51B8 000B2118 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800B51BC 000B211C 7C 08 03 A6 */ mtlr r0 -/* 800B51C0 000B2120 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B51C4 000B2124 4E 80 00 20 */ blr - -.global Accept__21CScriptCameraWaypointFR8IVisitor -Accept__21CScriptCameraWaypointFR8IVisitor: -/* 800B51C8 000B2128 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B51CC 000B212C 7C 08 02 A6 */ mflr r0 -/* 800B51D0 000B2130 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B51D4 000B2134 7C 60 1B 78 */ mr r0, r3 -/* 800B51D8 000B2138 7C 83 23 78 */ mr r3, r4 -/* 800B51DC 000B213C 81 84 00 00 */ lwz r12, 0(r4) -/* 800B51E0 000B2140 7C 04 03 78 */ mr r4, r0 -/* 800B51E4 000B2144 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 800B51E8 000B2148 7D 89 03 A6 */ mtctr r12 -/* 800B51EC 000B214C 4E 80 04 21 */ bctrl -/* 800B51F0 000B2150 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B51F4 000B2154 7C 08 03 A6 */ mtlr r0 -/* 800B51F8 000B2158 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B51FC 000B215C 4E 80 00 20 */ blr - -.global Render__21CScriptCameraWaypointCFRC13CStateManager -Render__21CScriptCameraWaypointCFRC13CStateManager: -/* 800B5200 000B2160 4E 80 00 20 */ blr - -.global AddToRenderer__21CScriptCameraWaypointCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__21CScriptCameraWaypointCFRC14CFrustumPlanesRC13CStateManager: -/* 800B5204 000B2164 4E 80 00 20 */ blr - -.global GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager -GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager: -/* 800B5208 000B2168 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800B520C 000B216C 7C 08 02 A6 */ mflr r0 -/* 800B5210 000B2170 90 01 00 64 */ stw r0, 0x64(r1) -/* 800B5214 000B2174 38 00 00 00 */ li r0, 0 -/* 800B5218 000B2178 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 800B521C 000B217C 7C 9D 23 78 */ mr r29, r4 -/* 800B5220 000B2180 7C 7C 1B 78 */ mr r28, r3 -/* 800B5224 000B2184 7C BE 2B 78 */ mr r30, r5 -/* 800B5228 000B2188 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B522C 000B218C 90 01 00 38 */ stw r0, 0x38(r1) -/* 800B5230 000B2190 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800B5234 000B2194 83 E4 00 2C */ lwz r31, 0x2c(r4) -/* 800B5238 000B2198 48 00 00 A4 */ b lbl_800B52DC -lbl_800B523C: -/* 800B523C 000B219C 80 1F 00 00 */ lwz r0, 0(r31) -/* 800B5240 000B21A0 2C 00 00 01 */ cmpwi r0, 1 -/* 800B5244 000B21A4 40 82 00 94 */ bne lbl_800B52D8 -/* 800B5248 000B21A8 80 1F 00 04 */ lwz r0, 4(r31) -/* 800B524C 000B21AC 2C 00 00 08 */ cmpwi r0, 8 -/* 800B5250 000B21B0 40 82 00 88 */ bne lbl_800B52D8 -/* 800B5254 000B21B4 80 1F 00 08 */ lwz r0, 8(r31) -/* 800B5258 000B21B8 7F C4 F3 78 */ mr r4, r30 -/* 800B525C 000B21BC 38 61 00 08 */ addi r3, r1, 8 -/* 800B5260 000B21C0 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800B5264 000B21C4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800B5268 000B21C8 4B F9 2C B5 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800B526C 000B21CC A3 61 00 08 */ lhz r27, 8(r1) -/* 800B5270 000B21D0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B5274 000B21D4 7C 1B 00 40 */ cmplw r27, r0 -/* 800B5278 000B21D8 41 82 00 60 */ beq lbl_800B52D8 -/* 800B527C 000B21DC 80 81 00 34 */ lwz r4, 0x34(r1) -/* 800B5280 000B21E0 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B5284 000B21E4 38 84 00 01 */ addi r4, r4, 1 -/* 800B5288 000B21E8 4B F5 71 81 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 800B528C 000B21EC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B5290 000B21F0 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 800B5294 000B21F4 7C 00 28 00 */ cmpw r0, r5 -/* 800B5298 000B21F8 41 80 00 1C */ blt lbl_800B52B4 -/* 800B529C 000B21FC 2C 05 00 00 */ cmpwi r5, 0 -/* 800B52A0 000B2200 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B52A4 000B2204 38 80 00 04 */ li r4, 4 -/* 800B52A8 000B2208 41 82 00 08 */ beq lbl_800B52B0 -/* 800B52AC 000B220C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B52B0: -/* 800B52B0 000B2210 4B F5 71 59 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_800B52B4: -/* 800B52B4 000B2214 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B52B8 000B2218 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800B52BC 000B221C 54 00 08 3C */ slwi r0, r0, 1 -/* 800B52C0 000B2220 7C 63 02 15 */ add. r3, r3, r0 -/* 800B52C4 000B2224 41 82 00 08 */ beq lbl_800B52CC -/* 800B52C8 000B2228 B3 63 00 00 */ sth r27, 0(r3) -lbl_800B52CC: -/* 800B52CC 000B222C 80 61 00 34 */ lwz r3, 0x34(r1) -/* 800B52D0 000B2230 38 03 00 01 */ addi r0, r3, 1 -/* 800B52D4 000B2234 90 01 00 34 */ stw r0, 0x34(r1) -lbl_800B52D8: -/* 800B52D8 000B2238 3B FF 00 0C */ addi r31, r31, 0xc -lbl_800B52DC: -/* 800B52DC 000B223C 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 800B52E0 000B2240 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 800B52E4 000B2244 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800B52E8 000B2248 7C 03 02 14 */ add r0, r3, r0 -/* 800B52EC 000B224C 7C 1F 00 40 */ cmplw r31, r0 -/* 800B52F0 000B2250 40 82 FF 4C */ bne lbl_800B523C -/* 800B52F4 000B2254 80 81 00 34 */ lwz r4, 0x34(r1) -/* 800B52F8 000B2258 2C 04 00 00 */ cmpwi r4, 0 -/* 800B52FC 000B225C 40 82 00 50 */ bne lbl_800B534C -/* 800B5300 000B2260 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B5304 000B2264 B0 1C 00 00 */ sth r0, 0(r28) -/* 800B5308 000B2268 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B530C 000B226C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800B5310 000B2270 54 00 08 3C */ slwi r0, r0, 1 -/* 800B5314 000B2274 7C 03 02 14 */ add r0, r3, r0 -/* 800B5318 000B2278 90 61 00 20 */ stw r3, 0x20(r1) -/* 800B531C 000B227C 7C 64 1B 78 */ mr r4, r3 -/* 800B5320 000B2280 90 01 00 28 */ stw r0, 0x28(r1) -/* 800B5324 000B2284 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B5328 000B2288 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800B532C 000B228C 48 00 00 08 */ b lbl_800B5334 -lbl_800B5330: -/* 800B5330 000B2290 38 84 00 02 */ addi r4, r4, 2 -lbl_800B5334: -/* 800B5334 000B2294 7C 04 00 40 */ cmplw r4, r0 -/* 800B5338 000B2298 40 82 FF F8 */ bne lbl_800B5330 -/* 800B533C 000B229C 28 03 00 00 */ cmplwi r3, 0 -/* 800B5340 000B22A0 41 82 00 6C */ beq lbl_800B53AC -/* 800B5344 000B22A4 48 26 05 ED */ bl Free__7CMemoryFPCv -/* 800B5348 000B22A8 48 00 00 64 */ b lbl_800B53AC -lbl_800B534C: -/* 800B534C 000B22AC 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 800B5350 000B22B0 38 A4 FF FF */ addi r5, r4, -1 -/* 800B5354 000B22B4 38 80 00 00 */ li r4, 0 -/* 800B5358 000B22B8 48 25 D2 3D */ bl Range__9CRandom16Fii -/* 800B535C 000B22BC 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 800B5360 000B22C0 54 60 08 3C */ slwi r0, r3, 1 -/* 800B5364 000B22C4 7C 04 02 2E */ lhzx r0, r4, r0 -/* 800B5368 000B22C8 B0 1C 00 00 */ sth r0, 0(r28) -/* 800B536C 000B22CC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B5370 000B22D0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800B5374 000B22D4 54 00 08 3C */ slwi r0, r0, 1 -/* 800B5378 000B22D8 7C 03 02 14 */ add r0, r3, r0 -/* 800B537C 000B22DC 90 61 00 10 */ stw r3, 0x10(r1) -/* 800B5380 000B22E0 7C 64 1B 78 */ mr r4, r3 -/* 800B5384 000B22E4 90 01 00 18 */ stw r0, 0x18(r1) -/* 800B5388 000B22E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B538C 000B22EC 90 61 00 0C */ stw r3, 0xc(r1) -/* 800B5390 000B22F0 48 00 00 08 */ b lbl_800B5398 -lbl_800B5394: -/* 800B5394 000B22F4 38 84 00 02 */ addi r4, r4, 2 -lbl_800B5398: -/* 800B5398 000B22F8 7C 04 00 40 */ cmplw r4, r0 -/* 800B539C 000B22FC 40 82 FF F8 */ bne lbl_800B5394 -/* 800B53A0 000B2300 28 03 00 00 */ cmplwi r3, 0 -/* 800B53A4 000B2304 41 82 00 08 */ beq lbl_800B53AC -/* 800B53A8 000B2308 48 26 05 89 */ bl Free__7CMemoryFPCv -lbl_800B53AC: -/* 800B53AC 000B230C BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 800B53B0 000B2310 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800B53B4 000B2314 7C 08 03 A6 */ mtlr r0 -/* 800B53B8 000B2318 38 21 00 60 */ addi r1, r1, 0x60 -/* 800B53BC 000B231C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__21CScriptCameraWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__21CScriptCameraWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800B53C0 000B2320 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B53C4 000B2324 7C 08 02 A6 */ mflr r0 -/* 800B53C8 000B2328 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B53CC 000B232C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B53D0 000B2330 7C DF 33 78 */ mr r31, r6 -/* 800B53D4 000B2334 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B53D8 000B2338 7C 9E 23 78 */ mr r30, r4 -/* 800B53DC 000B233C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B53E0 000B2340 7C 7D 1B 78 */ mr r29, r3 -/* 800B53E4 000B2344 A0 05 00 00 */ lhz r0, 0(r5) -/* 800B53E8 000B2348 38 A1 00 08 */ addi r5, r1, 8 -/* 800B53EC 000B234C B0 01 00 08 */ sth r0, 8(r1) -/* 800B53F0 000B2350 4B F9 E2 25 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800B53F4 000B2354 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 800B53F8 000B2358 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B53FC 000B235C 41 82 00 24 */ beq lbl_800B5420 -/* 800B5400 000B2360 2C 1E 00 02 */ cmpwi r30, 2 -/* 800B5404 000B2364 41 82 00 08 */ beq lbl_800B540C -/* 800B5408 000B2368 48 00 00 18 */ b lbl_800B5420 -lbl_800B540C: -/* 800B540C 000B236C 7F A3 EB 78 */ mr r3, r29 -/* 800B5410 000B2370 7F E5 FB 78 */ mr r5, r31 -/* 800B5414 000B2374 38 80 00 01 */ li r4, 1 -/* 800B5418 000B2378 38 C0 FF FF */ li r6, -1 -/* 800B541C 000B237C 4B F9 BC A5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_800B5420: -/* 800B5420 000B2380 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B5424 000B2384 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B5428 000B2388 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B542C 000B238C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B5430 000B2390 7C 08 03 A6 */ mtlr r0 -/* 800B5434 000B2394 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B5438 000B2398 4E 80 00 20 */ blr - -.global __dt__21CScriptCameraWaypointFv -__dt__21CScriptCameraWaypointFv: -/* 800B543C 000B239C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B5440 000B23A0 7C 08 02 A6 */ mflr r0 -/* 800B5444 000B23A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B5448 000B23A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B544C 000B23AC 7C 9F 23 78 */ mr r31, r4 -/* 800B5450 000B23B0 93 C1 00 08 */ stw r30, 8(r1) -/* 800B5454 000B23B4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800B5458 000B23B8 41 82 00 28 */ beq lbl_800B5480 -/* 800B545C 000B23BC 3C A0 80 3E */ lis r5, lbl_803DF348@ha -/* 800B5460 000B23C0 38 80 00 00 */ li r4, 0 -/* 800B5464 000B23C4 38 05 F3 48 */ addi r0, r5, lbl_803DF348@l -/* 800B5468 000B23C8 90 1E 00 00 */ stw r0, 0(r30) -/* 800B546C 000B23CC 4B FA 02 85 */ bl __dt__6CActorFv -/* 800B5470 000B23D0 7F E0 07 35 */ extsh. r0, r31 -/* 800B5474 000B23D4 40 81 00 0C */ ble lbl_800B5480 -/* 800B5478 000B23D8 7F C3 F3 78 */ mr r3, r30 -/* 800B547C 000B23DC 48 26 04 B5 */ bl Free__7CMemoryFPCv -lbl_800B5480: -/* 800B5480 000B23E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B5484 000B23E4 7F C3 F3 78 */ mr r3, r30 -/* 800B5488 000B23E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B548C 000B23EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B5490 000B23F0 7C 08 03 A6 */ mtlr r0 -/* 800B5494 000B23F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B5498 000B23F8 4E 80 00 20 */ blr - -.global "__ct__21CScriptCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfUi" -"__ct__21CScriptCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfUi": -/* 800B549C 000B23FC 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 800B54A0 000B2400 7C 08 02 A6 */ mflr r0 -/* 800B54A4 000B2404 90 01 01 04 */ stw r0, 0x104(r1) -/* 800B54A8 000B2408 DB E1 00 F8 */ stfd f31, 0xf8(r1) -/* 800B54AC 000B240C FF E0 08 90 */ fmr f31, f1 -/* 800B54B0 000B2410 BF 21 00 DC */ stmw r25, 0xdc(r1) -/* 800B54B4 000B2414 7C 7F 1B 78 */ mr r31, r3 -/* 800B54B8 000B2418 7C 99 23 78 */ mr r25, r4 -/* 800B54BC 000B241C 7C BA 2B 78 */ mr r26, r5 -/* 800B54C0 000B2420 7C DB 33 78 */ mr r27, r6 -/* 800B54C4 000B2424 7C FC 3B 78 */ mr r28, r7 -/* 800B54C8 000B2428 7D 1D 43 78 */ mr r29, r8 -/* 800B54CC 000B242C 7D 3E 4B 78 */ mr r30, r9 -/* 800B54D0 000B2430 38 61 00 88 */ addi r3, r1, 0x88 -/* 800B54D4 000B2434 4B F8 52 D1 */ bl CModelDataNull__10CModelDataFv -/* 800B54D8 000B2438 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B54DC 000B243C 4B F6 59 5D */ bl None__16CActorParametersFv -/* 800B54E0 000B2440 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 800B54E4 000B2444 38 00 00 00 */ li r0, 0 -/* 800B54E8 000B2448 80 AD 86 50 */ lwz r5, lbl_805A7210@sda21(r13) -/* 800B54EC 000B244C 38 60 00 00 */ li r3, 0 -/* 800B54F0 000B2450 B0 81 00 10 */ sth r4, 0x10(r1) -/* 800B54F4 000B2454 38 80 00 01 */ li r4, 1 -/* 800B54F8 000B2458 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800B54FC 000B245C 90 01 00 18 */ stw r0, 0x18(r1) -/* 800B5500 000B2460 48 2D 49 F5 */ bl __shl2i -/* 800B5504 000B2464 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 800B5508 000B2468 39 61 00 20 */ addi r11, r1, 0x20 -/* 800B550C 000B246C 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 800B5510 000B2470 38 01 00 10 */ addi r0, r1, 0x10 -/* 800B5514 000B2474 7C A3 1B 78 */ or r3, r5, r3 -/* 800B5518 000B2478 A1 39 00 00 */ lhz r9, 0(r25) -/* 800B551C 000B247C 7C C4 23 78 */ or r4, r6, r4 -/* 800B5520 000B2480 90 61 00 18 */ stw r3, 0x18(r1) -/* 800B5524 000B2484 7F E3 FB 78 */ mr r3, r31 -/* 800B5528 000B2488 7F A5 EB 78 */ mr r5, r29 -/* 800B552C 000B248C 90 81 00 1C */ stw r4, 0x1c(r1) -/* 800B5530 000B2490 7F 46 D3 78 */ mr r6, r26 -/* 800B5534 000B2494 7F 67 DB 78 */ mr r7, r27 -/* 800B5538 000B2498 7F 88 E3 78 */ mr r8, r28 -/* 800B553C 000B249C B1 21 00 14 */ sth r9, 0x14(r1) -/* 800B5540 000B24A0 38 81 00 14 */ addi r4, r1, 0x14 -/* 800B5544 000B24A4 39 21 00 88 */ addi r9, r1, 0x88 -/* 800B5548 000B24A8 39 41 00 18 */ addi r10, r1, 0x18 -/* 800B554C 000B24AC 91 61 00 08 */ stw r11, 8(r1) -/* 800B5550 000B24B0 90 01 00 0C */ stw r0, 0xc(r1) -/* 800B5554 000B24B4 4B FA 02 CD */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 800B5558 000B24B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B555C 000B24BC 38 80 FF FF */ li r4, -1 -/* 800B5560 000B24C0 48 05 10 A9 */ bl __dt__16CActorParametersFv -/* 800B5564 000B24C4 38 61 00 88 */ addi r3, r1, 0x88 -/* 800B5568 000B24C8 38 80 FF FF */ li r4, -1 -/* 800B556C 000B24CC 48 06 14 E1 */ bl __dt__10CModelDataFv -/* 800B5570 000B24D0 3C 80 80 3E */ lis r4, lbl_803DF348@ha -/* 800B5574 000B24D4 7F E3 FB 78 */ mr r3, r31 -/* 800B5578 000B24D8 38 04 F3 48 */ addi r0, r4, lbl_803DF348@l -/* 800B557C 000B24DC 90 1F 00 00 */ stw r0, 0(r31) -/* 800B5580 000B24E0 D3 FF 00 E8 */ stfs f31, 0xe8(r31) -/* 800B5584 000B24E4 93 DF 00 EC */ stw r30, 0xec(r31) -/* 800B5588 000B24E8 CB E1 00 F8 */ lfd f31, 0xf8(r1) -/* 800B558C 000B24EC BB 21 00 DC */ lmw r25, 0xdc(r1) -/* 800B5590 000B24F0 80 01 01 04 */ lwz r0, 0x104(r1) -/* 800B5594 000B24F4 7C 08 03 A6 */ mtlr r0 -/* 800B5598 000B24F8 38 21 01 00 */ addi r1, r1, 0x100 -/* 800B559C 000B24FC 4E 80 00 20 */ blr - -.global __dt__10CGameLightFv -__dt__10CGameLightFv: -/* 800B55A0 000B2500 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B55A4 000B2504 7C 08 02 A6 */ mflr r0 -/* 800B55A8 000B2508 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B55AC 000B250C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B55B0 000B2510 7C 9F 23 78 */ mr r31, r4 -/* 800B55B4 000B2514 93 C1 00 08 */ stw r30, 8(r1) -/* 800B55B8 000B2518 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800B55BC 000B251C 41 82 00 28 */ beq lbl_800B55E4 -/* 800B55C0 000B2520 3C A0 80 3E */ lis r5, lbl_803DF3B8@ha -/* 800B55C4 000B2524 38 80 00 00 */ li r4, 0 -/* 800B55C8 000B2528 38 05 F3 B8 */ addi r0, r5, lbl_803DF3B8@l -/* 800B55CC 000B252C 90 1E 00 00 */ stw r0, 0(r30) -/* 800B55D0 000B2530 4B FA 01 21 */ bl __dt__6CActorFv -/* 800B55D4 000B2534 7F E0 07 35 */ extsh. r0, r31 -/* 800B55D8 000B2538 40 81 00 0C */ ble lbl_800B55E4 -/* 800B55DC 000B253C 7F C3 F3 78 */ mr r3, r30 -/* 800B55E0 000B2540 48 26 03 51 */ bl Free__7CMemoryFPCv -lbl_800B55E4: -/* 800B55E4 000B2544 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B55E8 000B2548 7F C3 F3 78 */ mr r3, r30 -/* 800B55EC 000B254C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B55F0 000B2550 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B55F4 000B2554 7C 08 03 A6 */ mtlr r0 -/* 800B55F8 000B2558 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B55FC 000B255C 4E 80 00 20 */ blr - -.global SetLightPriorityAndId__10CGameLightFv -SetLightPriorityAndId__10CGameLightFv: -/* 800B5600 000B2560 80 03 01 40 */ lwz r0, 0x140(r3) -/* 800B5604 000B2564 90 03 01 28 */ stw r0, 0x128(r3) -/* 800B5608 000B2568 80 03 01 3C */ lwz r0, 0x13c(r3) -/* 800B560C 000B256C 90 03 01 2C */ stw r0, 0x12c(r3) -/* 800B5610 000B2570 4E 80 00 20 */ blr - -.global Accept__10CGameLightFR8IVisitor -Accept__10CGameLightFR8IVisitor: -/* 800B5614 000B2574 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B5618 000B2578 7C 08 02 A6 */ mflr r0 -/* 800B561C 000B257C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B5620 000B2580 7C 60 1B 78 */ mr r0, r3 -/* 800B5624 000B2584 7C 83 23 78 */ mr r3, r4 -/* 800B5628 000B2588 81 84 00 00 */ lwz r12, 0(r4) -/* 800B562C 000B258C 7C 04 03 78 */ mr r4, r0 -/* 800B5630 000B2590 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 800B5634 000B2594 7D 89 03 A6 */ mtctr r12 -/* 800B5638 000B2598 4E 80 04 21 */ bctrl -/* 800B563C 000B259C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B5640 000B25A0 7C 08 03 A6 */ mtlr r0 -/* 800B5644 000B25A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B5648 000B25A8 4E 80 00 20 */ blr - -.global Think__10CGameLightFfR13CStateManager -Think__10CGameLightFfR13CStateManager: -/* 800B564C 000B25AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B5650 000B25B0 7C 08 02 A6 */ mflr r0 -/* 800B5654 000B25B4 C0 42 8C F0 */ lfs f2, lbl_805AAA10@sda21(r2) -/* 800B5658 000B25B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B565C 000B25BC C0 03 01 44 */ lfs f0, 0x144(r3) -/* 800B5660 000B25C0 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 800B5664 000B25C4 40 81 00 34 */ ble lbl_800B5698 -/* 800B5668 000B25C8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800B566C 000B25CC D0 03 01 44 */ stfs f0, 0x144(r3) -/* 800B5670 000B25D0 C0 03 01 44 */ lfs f0, 0x144(r3) -/* 800B5674 000B25D4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 800B5678 000B25D8 4C 40 13 82 */ cror 2, 0, 2 -/* 800B567C 000B25DC 40 82 00 1C */ bne lbl_800B5698 -/* 800B5680 000B25E0 A0 03 00 08 */ lhz r0, 8(r3) -/* 800B5684 000B25E4 7C 83 23 78 */ mr r3, r4 -/* 800B5688 000B25E8 38 81 00 0C */ addi r4, r1, 0xc -/* 800B568C 000B25EC B0 01 00 08 */ sth r0, 8(r1) -/* 800B5690 000B25F0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800B5694 000B25F4 4B F9 6B D9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_800B5698: -/* 800B5698 000B25F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B569C 000B25FC 7C 08 03 A6 */ mtlr r0 -/* 800B56A0 000B2600 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B56A4 000B2604 4E 80 00 20 */ blr - -.global GetLight__10CGameLightCFv -GetLight__10CGameLightCFv: -/* 800B56A8 000B2608 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 800B56AC 000B260C 7C 08 02 A6 */ mflr r0 -/* 800B56B0 000B2610 90 01 00 94 */ stw r0, 0x94(r1) -/* 800B56B4 000B2614 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 800B56B8 000B2618 7C 9F 23 78 */ mr r31, r4 -/* 800B56BC 000B261C 38 9F 00 EC */ addi r4, r31, 0xec -/* 800B56C0 000B2620 93 C1 00 88 */ stw r30, 0x88(r1) -/* 800B56C4 000B2624 7C 7E 1B 78 */ mr r30, r3 -/* 800B56C8 000B2628 38 61 00 2C */ addi r3, r1, 0x2c -/* 800B56CC 000B262C 4B F8 5E A5 */ bl __ct__6CLightFCR6CLight -/* 800B56D0 000B2630 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B56D4 000B2634 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800B56D8 000B2638 38 BF 00 EC */ addi r5, r31, 0xec -/* 800B56DC 000B263C 48 25 D4 0D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800B56E0 000B2640 38 61 00 2C */ addi r3, r1, 0x2c -/* 800B56E4 000B2644 38 81 00 20 */ addi r4, r1, 0x20 -/* 800B56E8 000B2648 48 25 0C 59 */ bl SetPosition__6CLightFRC9CVector3f -/* 800B56EC 000B264C 80 01 00 48 */ lwz r0, 0x48(r1) -/* 800B56F0 000B2650 2C 00 00 01 */ cmpwi r0, 1 -/* 800B56F4 000B2654 41 82 00 2C */ beq lbl_800B5720 -/* 800B56F8 000B2658 38 61 00 08 */ addi r3, r1, 8 -/* 800B56FC 000B265C 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800B5700 000B2660 38 BF 00 F8 */ addi r5, r31, 0xf8 -/* 800B5704 000B2664 48 25 D3 7D */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800B5708 000B2668 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B570C 000B266C 38 81 00 08 */ addi r4, r1, 8 -/* 800B5710 000B2670 48 25 F1 41 */ bl AsNormalized__9CVector3fCFv -/* 800B5714 000B2674 38 61 00 2C */ addi r3, r1, 0x2c -/* 800B5718 000B2678 38 81 00 14 */ addi r4, r1, 0x14 -/* 800B571C 000B267C 48 25 0C 09 */ bl SetDirection__6CLightFRC9CVector3f -lbl_800B5720: -/* 800B5720 000B2680 7F C3 F3 78 */ mr r3, r30 -/* 800B5724 000B2684 38 81 00 2C */ addi r4, r1, 0x2c -/* 800B5728 000B2688 4B F8 5E 49 */ bl __ct__6CLightFCR6CLight -/* 800B572C 000B268C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 800B5730 000B2690 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 800B5734 000B2694 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 800B5738 000B2698 7C 08 03 A6 */ mtlr r0 -/* 800B573C 000B269C 38 21 00 90 */ addi r1, r1, 0x90 -/* 800B5740 000B26A0 4E 80 00 20 */ blr - -.global SetLight__10CGameLightFRC6CLight -SetLight__10CGameLightFRC6CLight: -/* 800B5744 000B26A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B5748 000B26A8 7C 08 02 A6 */ mflr r0 -/* 800B574C 000B26AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B5750 000B26B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B5754 000B26B4 7C 7F 1B 78 */ mr r31, r3 -/* 800B5758 000B26B8 38 7F 00 EC */ addi r3, r31, 0xec -/* 800B575C 000B26BC 80 A4 00 00 */ lwz r5, 0(r4) -/* 800B5760 000B26C0 80 04 00 04 */ lwz r0, 4(r4) -/* 800B5764 000B26C4 90 BF 00 EC */ stw r5, 0xec(r31) -/* 800B5768 000B26C8 90 1F 00 F0 */ stw r0, 0xf0(r31) -/* 800B576C 000B26CC 80 04 00 08 */ lwz r0, 8(r4) -/* 800B5770 000B26D0 90 1F 00 F4 */ stw r0, 0xf4(r31) -/* 800B5774 000B26D4 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 800B5778 000B26D8 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800B577C 000B26DC 90 BF 00 F8 */ stw r5, 0xf8(r31) -/* 800B5780 000B26E0 90 1F 00 FC */ stw r0, 0xfc(r31) -/* 800B5784 000B26E4 80 04 00 14 */ lwz r0, 0x14(r4) -/* 800B5788 000B26E8 90 1F 01 00 */ stw r0, 0x100(r31) -/* 800B578C 000B26EC 80 04 00 18 */ lwz r0, 0x18(r4) -/* 800B5790 000B26F0 90 1F 01 04 */ stw r0, 0x104(r31) -/* 800B5794 000B26F4 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 800B5798 000B26F8 90 1F 01 08 */ stw r0, 0x108(r31) -/* 800B579C 000B26FC C0 04 00 20 */ lfs f0, 0x20(r4) -/* 800B57A0 000B2700 D0 1F 01 0C */ stfs f0, 0x10c(r31) -/* 800B57A4 000B2704 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 800B57A8 000B2708 D0 1F 01 10 */ stfs f0, 0x110(r31) -/* 800B57AC 000B270C C0 04 00 28 */ lfs f0, 0x28(r4) -/* 800B57B0 000B2710 D0 1F 01 14 */ stfs f0, 0x114(r31) -/* 800B57B4 000B2714 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 800B57B8 000B2718 D0 1F 01 18 */ stfs f0, 0x118(r31) -/* 800B57BC 000B271C C0 04 00 30 */ lfs f0, 0x30(r4) -/* 800B57C0 000B2720 D0 1F 01 1C */ stfs f0, 0x11c(r31) -/* 800B57C4 000B2724 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 800B57C8 000B2728 D0 1F 01 20 */ stfs f0, 0x120(r31) -/* 800B57CC 000B272C C0 04 00 38 */ lfs f0, 0x38(r4) -/* 800B57D0 000B2730 D0 1F 01 24 */ stfs f0, 0x124(r31) -/* 800B57D4 000B2734 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 800B57D8 000B2738 90 1F 01 28 */ stw r0, 0x128(r31) -/* 800B57DC 000B273C 80 04 00 40 */ lwz r0, 0x40(r4) -/* 800B57E0 000B2740 90 1F 01 2C */ stw r0, 0x12c(r31) -/* 800B57E4 000B2744 C0 04 00 44 */ lfs f0, 0x44(r4) -/* 800B57E8 000B2748 D0 1F 01 30 */ stfs f0, 0x130(r31) -/* 800B57EC 000B274C C0 04 00 48 */ lfs f0, 0x48(r4) -/* 800B57F0 000B2750 D0 1F 01 34 */ stfs f0, 0x134(r31) -/* 800B57F4 000B2754 88 04 00 4C */ lbz r0, 0x4c(r4) -/* 800B57F8 000B2758 98 1F 01 38 */ stb r0, 0x138(r31) -/* 800B57FC 000B275C 48 25 0A D9 */ bl GetRadius__6CLightCFv -/* 800B5800 000B2760 38 7F 00 EC */ addi r3, r31, 0xec -/* 800B5804 000B2764 48 25 09 51 */ bl GetIntensity__6CLightCFv -/* 800B5808 000B2768 7F E3 FB 78 */ mr r3, r31 -/* 800B580C 000B276C 4B FF FD F5 */ bl SetLightPriorityAndId__10CGameLightFv -/* 800B5810 000B2770 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B5814 000B2774 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B5818 000B2778 7C 08 03 A6 */ mtlr r0 -/* 800B581C 000B277C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B5820 000B2780 4E 80 00 20 */ blr - -.global "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" -"__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif": -/* 800B5824 000B2784 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 800B5828 000B2788 7C 08 02 A6 */ mflr r0 -/* 800B582C 000B278C 3D 60 80 57 */ lis r11, lbl_8056D410@ha -/* 800B5830 000B2790 90 01 01 44 */ stw r0, 0x144(r1) -/* 800B5834 000B2794 DB E1 01 38 */ stfd f31, 0x138(r1) -/* 800B5838 000B2798 FF E0 08 90 */ fmr f31, f1 -/* 800B583C 000B279C BE E1 01 14 */ stmw r23, 0x114(r1) -/* 800B5840 000B27A0 7C 77 1B 78 */ mr r23, r3 -/* 800B5844 000B27A4 7C 98 23 78 */ mr r24, r4 -/* 800B5848 000B27A8 7C D9 33 78 */ mr r25, r6 -/* 800B584C 000B27AC 83 C1 01 48 */ lwz r30, 0x148(r1) -/* 800B5850 000B27B0 7C FA 3B 78 */ mr r26, r7 -/* 800B5854 000B27B4 83 E1 01 4C */ lwz r31, 0x14c(r1) -/* 800B5858 000B27B8 7D 1B 43 78 */ mr r27, r8 -/* 800B585C 000B27BC 7D 3C 4B 78 */ mr r28, r9 -/* 800B5860 000B27C0 7D 5D 53 78 */ mr r29, r10 -/* 800B5864 000B27C4 38 61 00 38 */ addi r3, r1, 0x38 -/* 800B5868 000B27C8 38 81 00 2C */ addi r4, r1, 0x2c -/* 800B586C 000B27CC 38 C1 00 28 */ addi r6, r1, 0x28 -/* 800B5870 000B27D0 80 05 00 00 */ lwz r0, 0(r5) -/* 800B5874 000B27D4 38 AB D4 10 */ addi r5, r11, lbl_8056D410@l -/* 800B5878 000B27D8 81 8D A3 88 */ lwz r12, lbl_805A8F48@sda21(r13) -/* 800B587C 000B27DC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800B5880 000B27E0 91 81 00 28 */ stw r12, 0x28(r1) -/* 800B5884 000B27E4 4B F9 BC 01 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 800B5888 000B27E8 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800B588C 000B27EC 4B F8 4F 19 */ bl CModelDataNull__10CModelDataFv -/* 800B5890 000B27F0 38 61 00 50 */ addi r3, r1, 0x50 -/* 800B5894 000B27F4 4B F6 55 A5 */ bl None__16CActorParametersFv -/* 800B5898 000B27F8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 800B589C 000B27FC 38 00 00 00 */ li r0, 0 -/* 800B58A0 000B2800 80 AD 86 58 */ lwz r5, lbl_805A7218@sda21(r13) -/* 800B58A4 000B2804 38 60 00 00 */ li r3, 0 -/* 800B58A8 000B2808 B0 81 00 10 */ sth r4, 0x10(r1) -/* 800B58AC 000B280C 38 80 00 01 */ li r4, 1 -/* 800B58B0 000B2810 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B58B4 000B2814 90 01 00 30 */ stw r0, 0x30(r1) -/* 800B58B8 000B2818 48 2D 46 3D */ bl __shl2i -/* 800B58BC 000B281C 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 800B58C0 000B2820 39 61 00 50 */ addi r11, r1, 0x50 -/* 800B58C4 000B2824 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 800B58C8 000B2828 38 01 00 10 */ addi r0, r1, 0x10 -/* 800B58CC 000B282C 7C A3 1B 78 */ or r3, r5, r3 -/* 800B58D0 000B2830 A0 F8 00 00 */ lhz r7, 0(r24) -/* 800B58D4 000B2834 7C C4 23 78 */ or r4, r6, r4 -/* 800B58D8 000B2838 90 61 00 30 */ stw r3, 0x30(r1) -/* 800B58DC 000B283C 7E E3 BB 78 */ mr r3, r23 -/* 800B58E0 000B2840 7F 25 CB 78 */ mr r5, r25 -/* 800B58E4 000B2844 90 81 00 34 */ stw r4, 0x34(r1) -/* 800B58E8 000B2848 7F 46 D3 78 */ mr r6, r26 -/* 800B58EC 000B284C 7F 68 DB 78 */ mr r8, r27 -/* 800B58F0 000B2850 38 81 00 14 */ addi r4, r1, 0x14 -/* 800B58F4 000B2854 B0 E1 00 14 */ sth r7, 0x14(r1) -/* 800B58F8 000B2858 38 E1 00 38 */ addi r7, r1, 0x38 -/* 800B58FC 000B285C 39 21 00 B8 */ addi r9, r1, 0xb8 -/* 800B5900 000B2860 39 41 00 30 */ addi r10, r1, 0x30 -/* 800B5904 000B2864 91 61 00 08 */ stw r11, 8(r1) -/* 800B5908 000B2868 90 01 00 0C */ stw r0, 0xc(r1) -/* 800B590C 000B286C 4B F9 FF 15 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 800B5910 000B2870 38 61 00 50 */ addi r3, r1, 0x50 -/* 800B5914 000B2874 38 80 FF FF */ li r4, -1 -/* 800B5918 000B2878 48 05 0C F1 */ bl __dt__16CActorParametersFv -/* 800B591C 000B287C 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800B5920 000B2880 38 80 FF FF */ li r4, -1 -/* 800B5924 000B2884 48 06 11 29 */ bl __dt__10CModelDataFv -/* 800B5928 000B2888 80 01 00 40 */ lwz r0, 0x40(r1) -/* 800B592C 000B288C 80 61 00 48 */ lwz r3, 0x48(r1) -/* 800B5930 000B2890 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800B5934 000B2894 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800B5938 000B2898 7C 64 1B 78 */ mr r4, r3 -/* 800B593C 000B289C 7C 03 02 14 */ add r0, r3, r0 -/* 800B5940 000B28A0 90 61 00 18 */ stw r3, 0x18(r1) -/* 800B5944 000B28A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B5948 000B28A8 90 01 00 20 */ stw r0, 0x20(r1) -/* 800B594C 000B28AC 48 00 00 08 */ b lbl_800B5954 -lbl_800B5950: -/* 800B5950 000B28B0 38 84 00 0C */ addi r4, r4, 0xc -lbl_800B5954: -/* 800B5954 000B28B4 7C 04 00 40 */ cmplw r4, r0 -/* 800B5958 000B28B8 40 82 FF F8 */ bne lbl_800B5950 -/* 800B595C 000B28BC 28 03 00 00 */ cmplwi r3, 0 -/* 800B5960 000B28C0 41 82 00 08 */ beq lbl_800B5968 -/* 800B5964 000B28C4 48 25 FF CD */ bl Free__7CMemoryFPCv -lbl_800B5968: -/* 800B5968 000B28C8 3C 60 80 3E */ lis r3, lbl_803DF3B8@ha -/* 800B596C 000B28CC 7F A4 EB 78 */ mr r4, r29 -/* 800B5970 000B28D0 38 03 F3 B8 */ addi r0, r3, lbl_803DF3B8@l -/* 800B5974 000B28D4 38 77 00 EC */ addi r3, r23, 0xec -/* 800B5978 000B28D8 90 17 00 00 */ stw r0, 0(r23) -/* 800B597C 000B28DC A0 1C 00 00 */ lhz r0, 0(r28) -/* 800B5980 000B28E0 B0 17 00 E8 */ sth r0, 0xe8(r23) -/* 800B5984 000B28E4 4B F8 5B ED */ bl __ct__6CLightFCR6CLight -/* 800B5988 000B28E8 93 D7 01 3C */ stw r30, 0x13c(r23) -/* 800B598C 000B28EC 38 77 00 EC */ addi r3, r23, 0xec -/* 800B5990 000B28F0 93 F7 01 40 */ stw r31, 0x140(r23) -/* 800B5994 000B28F4 D3 F7 01 44 */ stfs f31, 0x144(r23) -/* 800B5998 000B28F8 48 25 09 3D */ bl GetRadius__6CLightCFv -/* 800B599C 000B28FC 38 77 00 EC */ addi r3, r23, 0xec -/* 800B59A0 000B2900 48 25 07 B5 */ bl GetIntensity__6CLightCFv -/* 800B59A4 000B2904 7E E3 BB 78 */ mr r3, r23 -/* 800B59A8 000B2908 4B FF FC 59 */ bl SetLightPriorityAndId__10CGameLightFv -/* 800B59AC 000B290C 7E E3 BB 78 */ mr r3, r23 -/* 800B59B0 000B2910 CB E1 01 38 */ lfd f31, 0x138(r1) -/* 800B59B4 000B2914 BA E1 01 14 */ lmw r23, 0x114(r1) -/* 800B59B8 000B2918 80 01 01 44 */ lwz r0, 0x144(r1) -/* 800B59BC 000B291C 7C 08 03 A6 */ mtlr r0 -/* 800B59C0 000B2920 38 21 01 40 */ addi r1, r1, 0x140 -/* 800B59C4 000B2924 4E 80 00 20 */ blr - -.global __ct__15CTweakTargetingFR12CInputStream -__ct__15CTweakTargetingFR12CInputStream: -/* 800B59C8 000B2928 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B59CC 000B292C 7C 08 02 A6 */ mflr r0 -/* 800B59D0 000B2930 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B59D4 000B2934 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 800B59D8 000B2938 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 800B59DC 000B293C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B59E0 000B2940 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B59E4 000B2944 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B59E8 000B2948 93 81 00 10 */ stw r28, 0x10(r1) -/* 800B59EC 000B294C 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha -/* 800B59F0 000B2950 3C A0 80 3E */ lis r5, lbl_803DF428@ha -/* 800B59F4 000B2954 7C 7E 1B 78 */ mr r30, r3 -/* 800B59F8 000B2958 7C 9F 23 78 */ mr r31, r4 -/* 800B59FC 000B295C 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l -/* 800B5A00 000B2960 38 05 F4 28 */ addi r0, r5, lbl_803DF428@l -/* 800B5A04 000B2964 90 7E 00 00 */ stw r3, 0(r30) -/* 800B5A08 000B2968 7F E3 FB 78 */ mr r3, r31 -/* 800B5A0C 000B296C 90 1E 00 00 */ stw r0, 0(r30) -/* 800B5A10 000B2970 48 28 92 75 */ bl ReadLong__12CInputStreamFv -/* 800B5A14 000B2974 90 7E 00 04 */ stw r3, 4(r30) -/* 800B5A18 000B2978 7F E3 FB 78 */ mr r3, r31 -/* 800B5A1C 000B297C 48 28 92 0D */ bl ReadFloat__12CInputStreamFv -/* 800B5A20 000B2980 D0 3E 00 08 */ stfs f1, 8(r30) -/* 800B5A24 000B2984 7F E3 FB 78 */ mr r3, r31 -/* 800B5A28 000B2988 48 28 92 01 */ bl ReadFloat__12CInputStreamFv -/* 800B5A2C 000B298C D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 800B5A30 000B2990 7F E3 FB 78 */ mr r3, r31 -/* 800B5A34 000B2994 48 28 91 F5 */ bl ReadFloat__12CInputStreamFv -/* 800B5A38 000B2998 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 800B5A3C 000B299C 7F E3 FB 78 */ mr r3, r31 -/* 800B5A40 000B29A0 48 28 91 E9 */ bl ReadFloat__12CInputStreamFv -/* 800B5A44 000B29A4 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 800B5A48 000B29A8 7F E3 FB 78 */ mr r3, r31 -/* 800B5A4C 000B29AC 48 28 91 DD */ bl ReadFloat__12CInputStreamFv -/* 800B5A50 000B29B0 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 800B5A54 000B29B4 7F E3 FB 78 */ mr r3, r31 -/* 800B5A58 000B29B8 48 28 91 D1 */ bl ReadFloat__12CInputStreamFv -/* 800B5A5C 000B29BC D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 800B5A60 000B29C0 7F E3 FB 78 */ mr r3, r31 -/* 800B5A64 000B29C4 48 28 91 C5 */ bl ReadFloat__12CInputStreamFv -/* 800B5A68 000B29C8 D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 800B5A6C 000B29CC 7F E3 FB 78 */ mr r3, r31 -/* 800B5A70 000B29D0 48 28 91 B9 */ bl ReadFloat__12CInputStreamFv -/* 800B5A74 000B29D4 D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 800B5A78 000B29D8 7F E3 FB 78 */ mr r3, r31 -/* 800B5A7C 000B29DC 48 28 91 AD */ bl ReadFloat__12CInputStreamFv -/* 800B5A80 000B29E0 D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 800B5A84 000B29E4 7F E3 FB 78 */ mr r3, r31 -/* 800B5A88 000B29E8 48 28 91 A1 */ bl ReadFloat__12CInputStreamFv -/* 800B5A8C 000B29EC D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 800B5A90 000B29F0 7F E4 FB 78 */ mr r4, r31 -/* 800B5A94 000B29F4 38 7E 00 30 */ addi r3, r30, 0x30 -/* 800B5A98 000B29F8 48 25 F0 F5 */ bl __ct__9CVector3fFR12CInputStream -/* 800B5A9C 000B29FC 7F E4 FB 78 */ mr r4, r31 -/* 800B5AA0 000B2A00 38 7E 00 3C */ addi r3, r30, 0x3c -/* 800B5AA4 000B2A04 48 25 F0 E9 */ bl __ct__9CVector3fFR12CInputStream -/* 800B5AA8 000B2A08 7F E3 FB 78 */ mr r3, r31 -/* 800B5AAC 000B2A0C 48 28 91 7D */ bl ReadFloat__12CInputStreamFv -/* 800B5AB0 000B2A10 D0 3E 00 48 */ stfs f1, 0x48(r30) -/* 800B5AB4 000B2A14 7F E3 FB 78 */ mr r3, r31 -/* 800B5AB8 000B2A18 48 28 91 71 */ bl ReadFloat__12CInputStreamFv -/* 800B5ABC 000B2A1C D0 3E 00 4C */ stfs f1, 0x4c(r30) -/* 800B5AC0 000B2A20 7F E3 FB 78 */ mr r3, r31 -/* 800B5AC4 000B2A24 48 28 91 65 */ bl ReadFloat__12CInputStreamFv -/* 800B5AC8 000B2A28 D0 3E 00 50 */ stfs f1, 0x50(r30) -/* 800B5ACC 000B2A2C 7F E3 FB 78 */ mr r3, r31 -/* 800B5AD0 000B2A30 48 28 91 59 */ bl ReadFloat__12CInputStreamFv -/* 800B5AD4 000B2A34 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 800B5AD8 000B2A38 7F E3 FB 78 */ mr r3, r31 -/* 800B5ADC 000B2A3C 48 28 91 4D */ bl ReadFloat__12CInputStreamFv -/* 800B5AE0 000B2A40 D0 3E 00 58 */ stfs f1, 0x58(r30) -/* 800B5AE4 000B2A44 7F E3 FB 78 */ mr r3, r31 -/* 800B5AE8 000B2A48 48 28 91 41 */ bl ReadFloat__12CInputStreamFv -/* 800B5AEC 000B2A4C D0 3E 00 5C */ stfs f1, 0x5c(r30) -/* 800B5AF0 000B2A50 7F E4 FB 78 */ mr r4, r31 -/* 800B5AF4 000B2A54 38 7E 00 60 */ addi r3, r30, 0x60 -/* 800B5AF8 000B2A58 48 25 F0 95 */ bl __ct__9CVector3fFR12CInputStream -/* 800B5AFC 000B2A5C 7F E4 FB 78 */ mr r4, r31 -/* 800B5B00 000B2A60 38 7E 00 6C */ addi r3, r30, 0x6c -/* 800B5B04 000B2A64 48 25 F0 89 */ bl __ct__9CVector3fFR12CInputStream -/* 800B5B08 000B2A68 7F E4 FB 78 */ mr r4, r31 -/* 800B5B0C 000B2A6C 38 7E 00 78 */ addi r3, r30, 0x78 -/* 800B5B10 000B2A70 48 25 F0 7D */ bl __ct__9CVector3fFR12CInputStream -/* 800B5B14 000B2A74 7F E4 FB 78 */ mr r4, r31 -/* 800B5B18 000B2A78 38 7E 00 84 */ addi r3, r30, 0x84 -/* 800B5B1C 000B2A7C 48 25 F0 71 */ bl __ct__9CVector3fFR12CInputStream -/* 800B5B20 000B2A80 7F E3 FB 78 */ mr r3, r31 -/* 800B5B24 000B2A84 48 28 91 05 */ bl ReadFloat__12CInputStreamFv -/* 800B5B28 000B2A88 D0 3E 00 90 */ stfs f1, 0x90(r30) -/* 800B5B2C 000B2A8C 7F E3 FB 78 */ mr r3, r31 -/* 800B5B30 000B2A90 48 28 90 F9 */ bl ReadFloat__12CInputStreamFv -/* 800B5B34 000B2A94 D0 3E 00 94 */ stfs f1, 0x94(r30) -/* 800B5B38 000B2A98 7F E3 FB 78 */ mr r3, r31 -/* 800B5B3C 000B2A9C 48 28 90 ED */ bl ReadFloat__12CInputStreamFv -/* 800B5B40 000B2AA0 D0 3E 00 98 */ stfs f1, 0x98(r30) -/* 800B5B44 000B2AA4 7F E3 FB 78 */ mr r3, r31 -/* 800B5B48 000B2AA8 48 28 90 E1 */ bl ReadFloat__12CInputStreamFv -/* 800B5B4C 000B2AAC D0 3E 00 9C */ stfs f1, 0x9c(r30) -/* 800B5B50 000B2AB0 7F E3 FB 78 */ mr r3, r31 -/* 800B5B54 000B2AB4 48 28 90 D5 */ bl ReadFloat__12CInputStreamFv -/* 800B5B58 000B2AB8 D0 3E 00 A0 */ stfs f1, 0xa0(r30) -/* 800B5B5C 000B2ABC 7F E3 FB 78 */ mr r3, r31 -/* 800B5B60 000B2AC0 48 28 90 C9 */ bl ReadFloat__12CInputStreamFv -/* 800B5B64 000B2AC4 D0 3E 00 A4 */ stfs f1, 0xa4(r30) -/* 800B5B68 000B2AC8 7F E3 FB 78 */ mr r3, r31 -/* 800B5B6C 000B2ACC 48 28 90 BD */ bl ReadFloat__12CInputStreamFv -/* 800B5B70 000B2AD0 D0 3E 00 A8 */ stfs f1, 0xa8(r30) -/* 800B5B74 000B2AD4 7F E3 FB 78 */ mr r3, r31 -/* 800B5B78 000B2AD8 48 28 90 B1 */ bl ReadFloat__12CInputStreamFv -/* 800B5B7C 000B2ADC D0 3E 00 AC */ stfs f1, 0xac(r30) -/* 800B5B80 000B2AE0 7F E4 FB 78 */ mr r4, r31 -/* 800B5B84 000B2AE4 38 7E 00 B0 */ addi r3, r30, 0xb0 -/* 800B5B88 000B2AE8 48 2A D8 C5 */ bl __ct__6CColorFR12CInputStream -/* 800B5B8C 000B2AEC 7F E3 FB 78 */ mr r3, r31 -/* 800B5B90 000B2AF0 48 28 90 99 */ bl ReadFloat__12CInputStreamFv -/* 800B5B94 000B2AF4 D0 3E 00 B4 */ stfs f1, 0xb4(r30) -/* 800B5B98 000B2AF8 7F E4 FB 78 */ mr r4, r31 -/* 800B5B9C 000B2AFC 38 7E 00 B8 */ addi r3, r30, 0xb8 -/* 800B5BA0 000B2B00 48 2A D8 AD */ bl __ct__6CColorFR12CInputStream -/* 800B5BA4 000B2B04 7F E3 FB 78 */ mr r3, r31 -/* 800B5BA8 000B2B08 48 28 90 81 */ bl ReadFloat__12CInputStreamFv -/* 800B5BAC 000B2B0C D0 3E 00 BC */ stfs f1, 0xbc(r30) -/* 800B5BB0 000B2B10 7F E3 FB 78 */ mr r3, r31 -/* 800B5BB4 000B2B14 48 28 90 75 */ bl ReadFloat__12CInputStreamFv -/* 800B5BB8 000B2B18 D0 3E 00 C0 */ stfs f1, 0xc0(r30) -/* 800B5BBC 000B2B1C 7F E3 FB 78 */ mr r3, r31 -/* 800B5BC0 000B2B20 48 28 90 69 */ bl ReadFloat__12CInputStreamFv -/* 800B5BC4 000B2B24 D0 3E 00 C4 */ stfs f1, 0xc4(r30) -/* 800B5BC8 000B2B28 7F E3 FB 78 */ mr r3, r31 -/* 800B5BCC 000B2B2C 48 28 90 5D */ bl ReadFloat__12CInputStreamFv -/* 800B5BD0 000B2B30 D0 3E 00 C8 */ stfs f1, 0xc8(r30) -/* 800B5BD4 000B2B34 7F E4 FB 78 */ mr r4, r31 -/* 800B5BD8 000B2B38 38 7E 00 CC */ addi r3, r30, 0xcc -/* 800B5BDC 000B2B3C 48 2A D8 71 */ bl __ct__6CColorFR12CInputStream -/* 800B5BE0 000B2B40 7F E3 FB 78 */ mr r3, r31 -/* 800B5BE4 000B2B44 48 28 90 45 */ bl ReadFloat__12CInputStreamFv -/* 800B5BE8 000B2B48 D0 3E 00 D0 */ stfs f1, 0xd0(r30) -/* 800B5BEC 000B2B4C 7F E3 FB 78 */ mr r3, r31 -/* 800B5BF0 000B2B50 48 28 90 39 */ bl ReadFloat__12CInputStreamFv -/* 800B5BF4 000B2B54 D0 3E 00 D4 */ stfs f1, 0xd4(r30) -/* 800B5BF8 000B2B58 7F E4 FB 78 */ mr r4, r31 -/* 800B5BFC 000B2B5C 38 7E 00 D8 */ addi r3, r30, 0xd8 -/* 800B5C00 000B2B60 48 2A D8 4D */ bl __ct__6CColorFR12CInputStream -/* 800B5C04 000B2B64 7F E4 FB 78 */ mr r4, r31 -/* 800B5C08 000B2B68 38 7E 00 DC */ addi r3, r30, 0xdc -/* 800B5C0C 000B2B6C 48 2A D8 41 */ bl __ct__6CColorFR12CInputStream -/* 800B5C10 000B2B70 7F E4 FB 78 */ mr r4, r31 -/* 800B5C14 000B2B74 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 800B5C18 000B2B78 48 2A D8 35 */ bl __ct__6CColorFR12CInputStream -/* 800B5C1C 000B2B7C 7F E4 FB 78 */ mr r4, r31 -/* 800B5C20 000B2B80 38 7E 00 E4 */ addi r3, r30, 0xe4 -/* 800B5C24 000B2B84 48 2A D8 29 */ bl __ct__6CColorFR12CInputStream -/* 800B5C28 000B2B88 7F E3 FB 78 */ mr r3, r31 -/* 800B5C2C 000B2B8C 48 28 8F FD */ bl ReadFloat__12CInputStreamFv -/* 800B5C30 000B2B90 D0 3E 00 E8 */ stfs f1, 0xe8(r30) -/* 800B5C34 000B2B94 7F E3 FB 78 */ mr r3, r31 -/* 800B5C38 000B2B98 48 28 8F F1 */ bl ReadFloat__12CInputStreamFv -/* 800B5C3C 000B2B9C D0 3E 00 EC */ stfs f1, 0xec(r30) -/* 800B5C40 000B2BA0 7F E3 FB 78 */ mr r3, r31 -/* 800B5C44 000B2BA4 48 28 8F E5 */ bl ReadFloat__12CInputStreamFv -/* 800B5C48 000B2BA8 D0 3E 00 F0 */ stfs f1, 0xf0(r30) -/* 800B5C4C 000B2BAC 7F E4 FB 78 */ mr r4, r31 -/* 800B5C50 000B2BB0 38 7E 00 F4 */ addi r3, r30, 0xf4 -/* 800B5C54 000B2BB4 48 2A D7 F9 */ bl __ct__6CColorFR12CInputStream -/* 800B5C58 000B2BB8 7F E4 FB 78 */ mr r4, r31 -/* 800B5C5C 000B2BBC 38 7E 00 F8 */ addi r3, r30, 0xf8 -/* 800B5C60 000B2BC0 38 A1 00 08 */ addi r5, r1, 8 -/* 800B5C64 000B2BC4 48 00 07 61 */ bl sub_800b63c4 -/* 800B5C68 000B2BC8 38 00 00 00 */ li r0, 0 -/* 800B5C6C 000B2BCC 7F E3 FB 78 */ mr r3, r31 -/* 800B5C70 000B2BD0 90 1E 01 0C */ stw r0, 0x10c(r30) -/* 800B5C74 000B2BD4 90 1E 01 10 */ stw r0, 0x110(r30) -/* 800B5C78 000B2BD8 90 1E 01 14 */ stw r0, 0x114(r30) -/* 800B5C7C 000B2BDC 48 28 90 09 */ bl ReadLong__12CInputStreamFv -/* 800B5C80 000B2BE0 7C 7C 1B 78 */ mr r28, r3 -/* 800B5C84 000B2BE4 38 7E 01 08 */ addi r3, r30, 0x108 -/* 800B5C88 000B2BE8 7F 84 E3 78 */ mr r4, r28 -/* 800B5C8C 000B2BEC 4B FA 81 6D */ bl "reserve__Q24rstl36vectorFi" -/* 800B5C90 000B2BF0 3B A0 00 00 */ li r29, 0 -/* 800B5C94 000B2BF4 48 00 00 60 */ b lbl_800B5CF4 -lbl_800B5C98: -/* 800B5C98 000B2BF8 7F E3 FB 78 */ mr r3, r31 -/* 800B5C9C 000B2BFC 48 28 8F 8D */ bl ReadFloat__12CInputStreamFv -/* 800B5CA0 000B2C00 80 1E 01 0C */ lwz r0, 0x10c(r30) -/* 800B5CA4 000B2C04 FF E0 08 90 */ fmr f31, f1 -/* 800B5CA8 000B2C08 80 BE 01 10 */ lwz r5, 0x110(r30) -/* 800B5CAC 000B2C0C 7C 00 28 00 */ cmpw r0, r5 -/* 800B5CB0 000B2C10 41 80 00 1C */ blt lbl_800B5CCC -/* 800B5CB4 000B2C14 2C 05 00 00 */ cmpwi r5, 0 -/* 800B5CB8 000B2C18 38 7E 01 08 */ addi r3, r30, 0x108 -/* 800B5CBC 000B2C1C 38 80 00 04 */ li r4, 4 -/* 800B5CC0 000B2C20 41 82 00 08 */ beq lbl_800B5CC8 -/* 800B5CC4 000B2C24 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B5CC8: -/* 800B5CC8 000B2C28 4B FA 81 31 */ bl "reserve__Q24rstl36vectorFi" -lbl_800B5CCC: -/* 800B5CCC 000B2C2C 80 1E 01 0C */ lwz r0, 0x10c(r30) -/* 800B5CD0 000B2C30 80 7E 01 14 */ lwz r3, 0x114(r30) -/* 800B5CD4 000B2C34 54 00 10 3A */ slwi r0, r0, 2 -/* 800B5CD8 000B2C38 7C 63 02 15 */ add. r3, r3, r0 -/* 800B5CDC 000B2C3C 41 82 00 08 */ beq lbl_800B5CE4 -/* 800B5CE0 000B2C40 D3 E3 00 00 */ stfs f31, 0(r3) -lbl_800B5CE4: -/* 800B5CE4 000B2C44 80 7E 01 0C */ lwz r3, 0x10c(r30) -/* 800B5CE8 000B2C48 3B BD 00 01 */ addi r29, r29, 1 -/* 800B5CEC 000B2C4C 38 03 00 01 */ addi r0, r3, 1 -/* 800B5CF0 000B2C50 90 1E 01 0C */ stw r0, 0x10c(r30) -lbl_800B5CF4: -/* 800B5CF4 000B2C54 7C 1D E0 00 */ cmpw r29, r28 -/* 800B5CF8 000B2C58 41 80 FF A0 */ blt lbl_800B5C98 -/* 800B5CFC 000B2C5C 7F E3 FB 78 */ mr r3, r31 -/* 800B5D00 000B2C60 48 28 8F 29 */ bl ReadFloat__12CInputStreamFv -/* 800B5D04 000B2C64 D0 3E 01 18 */ stfs f1, 0x118(r30) -/* 800B5D08 000B2C68 7F E4 FB 78 */ mr r4, r31 -/* 800B5D0C 000B2C6C 38 7E 01 1C */ addi r3, r30, 0x11c -/* 800B5D10 000B2C70 48 2A D7 3D */ bl __ct__6CColorFR12CInputStream -/* 800B5D14 000B2C74 7F E3 FB 78 */ mr r3, r31 -/* 800B5D18 000B2C78 48 28 8F 6D */ bl ReadLong__12CInputStreamFv -/* 800B5D1C 000B2C7C 90 7E 01 20 */ stw r3, 0x120(r30) -/* 800B5D20 000B2C80 7F E3 FB 78 */ mr r3, r31 -/* 800B5D24 000B2C84 48 28 8F 05 */ bl ReadFloat__12CInputStreamFv -/* 800B5D28 000B2C88 C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2) -/* 800B5D2C 000B2C8C 7F E3 FB 78 */ mr r3, r31 -/* 800B5D30 000B2C90 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) -/* 800B5D34 000B2C94 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800B5D38 000B2C98 C0 22 8C F8 */ lfs f1, lbl_805AAA18@sda21(r2) -/* 800B5D3C 000B2C9C EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B5D40 000B2CA0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B5D44 000B2CA4 D0 1E 01 24 */ stfs f0, 0x124(r30) -/* 800B5D48 000B2CA8 48 28 8E E1 */ bl ReadFloat__12CInputStreamFv -/* 800B5D4C 000B2CAC D0 3E 01 28 */ stfs f1, 0x128(r30) -/* 800B5D50 000B2CB0 7F E3 FB 78 */ mr r3, r31 -/* 800B5D54 000B2CB4 48 28 8E D5 */ bl ReadFloat__12CInputStreamFv -/* 800B5D58 000B2CB8 D0 3E 01 2C */ stfs f1, 0x12c(r30) -/* 800B5D5C 000B2CBC 7F E4 FB 78 */ mr r4, r31 -/* 800B5D60 000B2CC0 38 7E 01 30 */ addi r3, r30, 0x130 -/* 800B5D64 000B2CC4 48 2A D6 E9 */ bl __ct__6CColorFR12CInputStream -/* 800B5D68 000B2CC8 7F E3 FB 78 */ mr r3, r31 -/* 800B5D6C 000B2CCC 48 28 8E BD */ bl ReadFloat__12CInputStreamFv -/* 800B5D70 000B2CD0 D0 3E 01 34 */ stfs f1, 0x134(r30) -/* 800B5D74 000B2CD4 7F E3 FB 78 */ mr r3, r31 -/* 800B5D78 000B2CD8 48 28 8E B1 */ bl ReadFloat__12CInputStreamFv -/* 800B5D7C 000B2CDC D0 3E 01 38 */ stfs f1, 0x138(r30) -/* 800B5D80 000B2CE0 7F E4 FB 78 */ mr r4, r31 -/* 800B5D84 000B2CE4 38 7E 01 3C */ addi r3, r30, 0x13c -/* 800B5D88 000B2CE8 48 2A D6 C5 */ bl __ct__6CColorFR12CInputStream -/* 800B5D8C 000B2CEC 7F E3 FB 78 */ mr r3, r31 -/* 800B5D90 000B2CF0 48 28 8E 99 */ bl ReadFloat__12CInputStreamFv -/* 800B5D94 000B2CF4 C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2) -/* 800B5D98 000B2CF8 7F E3 FB 78 */ mr r3, r31 -/* 800B5D9C 000B2CFC C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) -/* 800B5DA0 000B2D00 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800B5DA4 000B2D04 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B5DA8 000B2D08 D0 1E 01 40 */ stfs f0, 0x140(r30) -/* 800B5DAC 000B2D0C 48 28 8E 7D */ bl ReadFloat__12CInputStreamFv -/* 800B5DB0 000B2D10 C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2) -/* 800B5DB4 000B2D14 7F E3 FB 78 */ mr r3, r31 -/* 800B5DB8 000B2D18 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) -/* 800B5DBC 000B2D1C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800B5DC0 000B2D20 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B5DC4 000B2D24 D0 1E 01 44 */ stfs f0, 0x144(r30) -/* 800B5DC8 000B2D28 48 28 8E 61 */ bl ReadFloat__12CInputStreamFv -/* 800B5DCC 000B2D2C C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2) -/* 800B5DD0 000B2D30 7F E4 FB 78 */ mr r4, r31 -/* 800B5DD4 000B2D34 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) -/* 800B5DD8 000B2D38 38 7E 01 4C */ addi r3, r30, 0x14c -/* 800B5DDC 000B2D3C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800B5DE0 000B2D40 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B5DE4 000B2D44 D0 1E 01 48 */ stfs f0, 0x148(r30) -/* 800B5DE8 000B2D48 48 2A D6 65 */ bl __ct__6CColorFR12CInputStream -/* 800B5DEC 000B2D4C 7F E4 FB 78 */ mr r4, r31 -/* 800B5DF0 000B2D50 38 7E 01 50 */ addi r3, r30, 0x150 -/* 800B5DF4 000B2D54 48 2A D6 59 */ bl __ct__6CColorFR12CInputStream -/* 800B5DF8 000B2D58 7F E3 FB 78 */ mr r3, r31 -/* 800B5DFC 000B2D5C 48 28 8E 2D */ bl ReadFloat__12CInputStreamFv -/* 800B5E00 000B2D60 D0 3E 01 54 */ stfs f1, 0x154(r30) -/* 800B5E04 000B2D64 7F E3 FB 78 */ mr r3, r31 -/* 800B5E08 000B2D68 48 28 8E 21 */ bl ReadFloat__12CInputStreamFv -/* 800B5E0C 000B2D6C D0 3E 01 58 */ stfs f1, 0x158(r30) -/* 800B5E10 000B2D70 7F E3 FB 78 */ mr r3, r31 -/* 800B5E14 000B2D74 48 28 8E 15 */ bl ReadFloat__12CInputStreamFv -/* 800B5E18 000B2D78 D0 3E 01 5C */ stfs f1, 0x15c(r30) -/* 800B5E1C 000B2D7C 7F E3 FB 78 */ mr r3, r31 -/* 800B5E20 000B2D80 48 28 8E 09 */ bl ReadFloat__12CInputStreamFv -/* 800B5E24 000B2D84 D0 3E 01 60 */ stfs f1, 0x160(r30) -/* 800B5E28 000B2D88 7F E3 FB 78 */ mr r3, r31 -/* 800B5E2C 000B2D8C 48 28 8D FD */ bl ReadFloat__12CInputStreamFv -/* 800B5E30 000B2D90 D0 3E 01 64 */ stfs f1, 0x164(r30) -/* 800B5E34 000B2D94 7F E3 FB 78 */ mr r3, r31 -/* 800B5E38 000B2D98 48 28 8D F1 */ bl ReadFloat__12CInputStreamFv -/* 800B5E3C 000B2D9C D0 3E 01 68 */ stfs f1, 0x168(r30) -/* 800B5E40 000B2DA0 7F E3 FB 78 */ mr r3, r31 -/* 800B5E44 000B2DA4 48 28 8D E5 */ bl ReadFloat__12CInputStreamFv -/* 800B5E48 000B2DA8 D0 3E 01 6C */ stfs f1, 0x16c(r30) -/* 800B5E4C 000B2DAC 7F E3 FB 78 */ mr r3, r31 -/* 800B5E50 000B2DB0 48 28 8D D9 */ bl ReadFloat__12CInputStreamFv -/* 800B5E54 000B2DB4 D0 3E 01 70 */ stfs f1, 0x170(r30) -/* 800B5E58 000B2DB8 7F E3 FB 78 */ mr r3, r31 -/* 800B5E5C 000B2DBC 48 28 8D CD */ bl ReadFloat__12CInputStreamFv -/* 800B5E60 000B2DC0 D0 3E 01 74 */ stfs f1, 0x174(r30) -/* 800B5E64 000B2DC4 7F E3 FB 78 */ mr r3, r31 -/* 800B5E68 000B2DC8 48 28 8D C1 */ bl ReadFloat__12CInputStreamFv -/* 800B5E6C 000B2DCC D0 3E 01 78 */ stfs f1, 0x178(r30) -/* 800B5E70 000B2DD0 7F E3 FB 78 */ mr r3, r31 -/* 800B5E74 000B2DD4 48 28 8D B5 */ bl ReadFloat__12CInputStreamFv -/* 800B5E78 000B2DD8 D0 3E 01 7C */ stfs f1, 0x17c(r30) -/* 800B5E7C 000B2DDC 7F E3 FB 78 */ mr r3, r31 -/* 800B5E80 000B2DE0 48 28 8D A9 */ bl ReadFloat__12CInputStreamFv -/* 800B5E84 000B2DE4 D0 3E 01 80 */ stfs f1, 0x180(r30) -/* 800B5E88 000B2DE8 7F E3 FB 78 */ mr r3, r31 -/* 800B5E8C 000B2DEC 48 28 8D 9D */ bl ReadFloat__12CInputStreamFv -/* 800B5E90 000B2DF0 D0 3E 01 84 */ stfs f1, 0x184(r30) -/* 800B5E94 000B2DF4 7F E3 FB 78 */ mr r3, r31 -/* 800B5E98 000B2DF8 48 28 8D 91 */ bl ReadFloat__12CInputStreamFv -/* 800B5E9C 000B2DFC D0 3E 01 88 */ stfs f1, 0x188(r30) -/* 800B5EA0 000B2E00 7F E3 FB 78 */ mr r3, r31 -/* 800B5EA4 000B2E04 48 28 8D 85 */ bl ReadFloat__12CInputStreamFv -/* 800B5EA8 000B2E08 D0 3E 01 8C */ stfs f1, 0x18c(r30) -/* 800B5EAC 000B2E0C 7F E3 FB 78 */ mr r3, r31 -/* 800B5EB0 000B2E10 48 28 8D 79 */ bl ReadFloat__12CInputStreamFv -/* 800B5EB4 000B2E14 D0 3E 01 90 */ stfs f1, 0x190(r30) -/* 800B5EB8 000B2E18 7F E3 FB 78 */ mr r3, r31 -/* 800B5EBC 000B2E1C 48 28 8D 6D */ bl ReadFloat__12CInputStreamFv -/* 800B5EC0 000B2E20 D0 3E 01 94 */ stfs f1, 0x194(r30) -/* 800B5EC4 000B2E24 7F E3 FB 78 */ mr r3, r31 -/* 800B5EC8 000B2E28 48 28 8D 61 */ bl ReadFloat__12CInputStreamFv -/* 800B5ECC 000B2E2C D0 3E 01 98 */ stfs f1, 0x198(r30) -/* 800B5ED0 000B2E30 7F E3 FB 78 */ mr r3, r31 -/* 800B5ED4 000B2E34 48 28 8D 55 */ bl ReadFloat__12CInputStreamFv -/* 800B5ED8 000B2E38 D0 3E 01 9C */ stfs f1, 0x19c(r30) -/* 800B5EDC 000B2E3C 7F E3 FB 78 */ mr r3, r31 -/* 800B5EE0 000B2E40 48 28 8D 49 */ bl ReadFloat__12CInputStreamFv -/* 800B5EE4 000B2E44 D0 3E 01 A0 */ stfs f1, 0x1a0(r30) -/* 800B5EE8 000B2E48 7F E4 FB 78 */ mr r4, r31 -/* 800B5EEC 000B2E4C 38 7E 01 A4 */ addi r3, r30, 0x1a4 -/* 800B5EF0 000B2E50 48 2A D5 5D */ bl __ct__6CColorFR12CInputStream -/* 800B5EF4 000B2E54 7F E4 FB 78 */ mr r4, r31 -/* 800B5EF8 000B2E58 38 7E 01 A8 */ addi r3, r30, 0x1a8 -/* 800B5EFC 000B2E5C 48 2A D5 51 */ bl __ct__6CColorFR12CInputStream -/* 800B5F00 000B2E60 7F E4 FB 78 */ mr r4, r31 -/* 800B5F04 000B2E64 38 7E 01 AC */ addi r3, r30, 0x1ac -/* 800B5F08 000B2E68 48 2A D5 45 */ bl __ct__6CColorFR12CInputStream -/* 800B5F0C 000B2E6C 7F E3 FB 78 */ mr r3, r31 -/* 800B5F10 000B2E70 48 28 8D 19 */ bl ReadFloat__12CInputStreamFv -/* 800B5F14 000B2E74 D0 3E 01 B0 */ stfs f1, 0x1b0(r30) -/* 800B5F18 000B2E78 7F E4 FB 78 */ mr r4, r31 -/* 800B5F1C 000B2E7C 38 7E 01 B4 */ addi r3, r30, 0x1b4 -/* 800B5F20 000B2E80 48 2A D5 2D */ bl __ct__6CColorFR12CInputStream -/* 800B5F24 000B2E84 7F E3 FB 78 */ mr r3, r31 -/* 800B5F28 000B2E88 48 28 8D 01 */ bl ReadFloat__12CInputStreamFv -/* 800B5F2C 000B2E8C D0 3E 01 B8 */ stfs f1, 0x1b8(r30) -/* 800B5F30 000B2E90 7F E4 FB 78 */ mr r4, r31 -/* 800B5F34 000B2E94 38 7E 01 BC */ addi r3, r30, 0x1bc -/* 800B5F38 000B2E98 48 2A D5 15 */ bl __ct__6CColorFR12CInputStream -/* 800B5F3C 000B2E9C 7F E4 FB 78 */ mr r4, r31 -/* 800B5F40 000B2EA0 38 7E 01 C0 */ addi r3, r30, 0x1c0 -/* 800B5F44 000B2EA4 48 2A D5 09 */ bl __ct__6CColorFR12CInputStream -/* 800B5F48 000B2EA8 7F E3 FB 78 */ mr r3, r31 -/* 800B5F4C 000B2EAC 48 28 8C DD */ bl ReadFloat__12CInputStreamFv -/* 800B5F50 000B2EB0 D0 3E 01 C4 */ stfs f1, 0x1c4(r30) -/* 800B5F54 000B2EB4 7F E3 FB 78 */ mr r3, r31 -/* 800B5F58 000B2EB8 48 28 8D 85 */ bl ReadBool__12CInputStreamFv -/* 800B5F5C 000B2EBC 98 7E 01 C8 */ stb r3, 0x1c8(r30) -/* 800B5F60 000B2EC0 7F E4 FB 78 */ mr r4, r31 -/* 800B5F64 000B2EC4 38 7E 01 CC */ addi r3, r30, 0x1cc -/* 800B5F68 000B2EC8 48 2A D4 E5 */ bl __ct__6CColorFR12CInputStream -/* 800B5F6C 000B2ECC 7F E3 FB 78 */ mr r3, r31 -/* 800B5F70 000B2ED0 48 28 8C B9 */ bl ReadFloat__12CInputStreamFv -/* 800B5F74 000B2ED4 D0 3E 01 D0 */ stfs f1, 0x1d0(r30) -/* 800B5F78 000B2ED8 7F E4 FB 78 */ mr r4, r31 -/* 800B5F7C 000B2EDC 38 7E 01 D4 */ addi r3, r30, 0x1d4 -/* 800B5F80 000B2EE0 48 2A D4 CD */ bl __ct__6CColorFR12CInputStream -/* 800B5F84 000B2EE4 7F E4 FB 78 */ mr r4, r31 -/* 800B5F88 000B2EE8 38 7E 01 D8 */ addi r3, r30, 0x1d8 -/* 800B5F8C 000B2EEC 48 2A D4 C1 */ bl __ct__6CColorFR12CInputStream -/* 800B5F90 000B2EF0 7F E4 FB 78 */ mr r4, r31 -/* 800B5F94 000B2EF4 38 7E 01 DC */ addi r3, r30, 0x1dc -/* 800B5F98 000B2EF8 48 2A D4 B5 */ bl __ct__6CColorFR12CInputStream -/* 800B5F9C 000B2EFC 7F E3 FB 78 */ mr r3, r31 -/* 800B5FA0 000B2F00 48 28 8C 89 */ bl ReadFloat__12CInputStreamFv -/* 800B5FA4 000B2F04 D0 3E 01 E0 */ stfs f1, 0x1e0(r30) -/* 800B5FA8 000B2F08 7F E3 FB 78 */ mr r3, r31 -/* 800B5FAC 000B2F0C 48 28 8C 7D */ bl ReadFloat__12CInputStreamFv -/* 800B5FB0 000B2F10 D0 3E 01 E4 */ stfs f1, 0x1e4(r30) -/* 800B5FB4 000B2F14 7F E3 FB 78 */ mr r3, r31 -/* 800B5FB8 000B2F18 48 28 8C 71 */ bl ReadFloat__12CInputStreamFv -/* 800B5FBC 000B2F1C D0 3E 01 E8 */ stfs f1, 0x1e8(r30) -/* 800B5FC0 000B2F20 7F E3 FB 78 */ mr r3, r31 -/* 800B5FC4 000B2F24 48 28 8C 65 */ bl ReadFloat__12CInputStreamFv -/* 800B5FC8 000B2F28 D0 3E 01 EC */ stfs f1, 0x1ec(r30) -/* 800B5FCC 000B2F2C 7F E3 FB 78 */ mr r3, r31 -/* 800B5FD0 000B2F30 48 28 8C 59 */ bl ReadFloat__12CInputStreamFv -/* 800B5FD4 000B2F34 D0 3E 01 F0 */ stfs f1, 0x1f0(r30) -/* 800B5FD8 000B2F38 7F E3 FB 78 */ mr r3, r31 -/* 800B5FDC 000B2F3C 48 28 8C 4D */ bl ReadFloat__12CInputStreamFv -/* 800B5FE0 000B2F40 D0 3E 01 F4 */ stfs f1, 0x1f4(r30) -/* 800B5FE4 000B2F44 7F E3 FB 78 */ mr r3, r31 -/* 800B5FE8 000B2F48 48 28 8C 41 */ bl ReadFloat__12CInputStreamFv -/* 800B5FEC 000B2F4C D0 3E 01 F8 */ stfs f1, 0x1f8(r30) -/* 800B5FF0 000B2F50 7F E3 FB 78 */ mr r3, r31 -/* 800B5FF4 000B2F54 48 28 8C 35 */ bl ReadFloat__12CInputStreamFv -/* 800B5FF8 000B2F58 D0 3E 01 FC */ stfs f1, 0x1fc(r30) -/* 800B5FFC 000B2F5C 7F E3 FB 78 */ mr r3, r31 -/* 800B6000 000B2F60 48 28 8C 29 */ bl ReadFloat__12CInputStreamFv -/* 800B6004 000B2F64 D0 3E 02 00 */ stfs f1, 0x200(r30) -/* 800B6008 000B2F68 7F E3 FB 78 */ mr r3, r31 -/* 800B600C 000B2F6C 48 28 8C 1D */ bl ReadFloat__12CInputStreamFv -/* 800B6010 000B2F70 D0 3E 02 04 */ stfs f1, 0x204(r30) -/* 800B6014 000B2F74 7F E3 FB 78 */ mr r3, r31 -/* 800B6018 000B2F78 48 28 8C 11 */ bl ReadFloat__12CInputStreamFv -/* 800B601C 000B2F7C D0 3E 02 08 */ stfs f1, 0x208(r30) -/* 800B6020 000B2F80 7F E3 FB 78 */ mr r3, r31 -/* 800B6024 000B2F84 48 28 8C 05 */ bl ReadFloat__12CInputStreamFv -/* 800B6028 000B2F88 D0 3E 02 0C */ stfs f1, 0x20c(r30) -/* 800B602C 000B2F8C 7F E3 FB 78 */ mr r3, r31 -/* 800B6030 000B2F90 48 28 8B F9 */ bl ReadFloat__12CInputStreamFv -/* 800B6034 000B2F94 D0 3E 02 10 */ stfs f1, 0x210(r30) -/* 800B6038 000B2F98 7F E4 FB 78 */ mr r4, r31 -/* 800B603C 000B2F9C 38 7E 02 14 */ addi r3, r30, 0x214 -/* 800B6040 000B2FA0 48 2A D4 0D */ bl __ct__6CColorFR12CInputStream -/* 800B6044 000B2FA4 7F E3 FB 78 */ mr r3, r31 -/* 800B6048 000B2FA8 48 28 8B E1 */ bl ReadFloat__12CInputStreamFv -/* 800B604C 000B2FAC D0 3E 02 18 */ stfs f1, 0x218(r30) -/* 800B6050 000B2FB0 7F E3 FB 78 */ mr r3, r31 -/* 800B6054 000B2FB4 48 28 8B D5 */ bl ReadFloat__12CInputStreamFv -/* 800B6058 000B2FB8 D0 3E 02 1C */ stfs f1, 0x21c(r30) -/* 800B605C 000B2FBC 7F E3 FB 78 */ mr r3, r31 -/* 800B6060 000B2FC0 48 28 8B C9 */ bl ReadFloat__12CInputStreamFv -/* 800B6064 000B2FC4 D0 3E 02 20 */ stfs f1, 0x220(r30) -/* 800B6068 000B2FC8 7F E3 FB 78 */ mr r3, r31 -/* 800B606C 000B2FCC 48 28 8B BD */ bl ReadFloat__12CInputStreamFv -/* 800B6070 000B2FD0 D0 3E 02 24 */ stfs f1, 0x224(r30) -/* 800B6074 000B2FD4 38 00 00 02 */ li r0, 2 -/* 800B6078 000B2FD8 C0 22 8D 00 */ lfs f1, lbl_805AAA20@sda21(r2) -/* 800B607C 000B2FDC 38 C0 00 00 */ li r6, 0 -/* 800B6080 000B2FE0 C0 1E 02 08 */ lfs f0, 0x208(r30) -/* 800B6084 000B2FE4 38 A0 00 00 */ li r5, 0 -/* 800B6088 000B2FE8 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) -/* 800B608C 000B2FEC EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6090 000B2FF0 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6094 000B2FF4 D0 1E 02 08 */ stfs f0, 0x208(r30) -/* 800B6098 000B2FF8 7C 09 03 A6 */ mtctr r0 -lbl_800B609C: -/* 800B609C 000B2FFC 80 1E 01 04 */ lwz r0, 0x104(r30) -/* 800B60A0 000B3000 7C 80 2A 14 */ add r4, r0, r5 -/* 800B60A4 000B3004 38 A5 00 10 */ addi r5, r5, 0x10 -/* 800B60A8 000B3008 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B60AC 000B300C C0 03 00 00 */ lfs f0, 0(r3) -/* 800B60B0 000B3010 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B60B4 000B3014 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B60B8 000B3018 D0 03 00 00 */ stfs f0, 0(r3) -/* 800B60BC 000B301C 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B60C0 000B3020 C0 03 00 04 */ lfs f0, 4(r3) -/* 800B60C4 000B3024 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B60C8 000B3028 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B60CC 000B302C D0 03 00 04 */ stfs f0, 4(r3) -/* 800B60D0 000B3030 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B60D4 000B3034 C0 03 00 08 */ lfs f0, 8(r3) -/* 800B60D8 000B3038 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B60DC 000B303C EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B60E0 000B3040 D0 03 00 08 */ stfs f0, 8(r3) -/* 800B60E4 000B3044 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B60E8 000B3048 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800B60EC 000B304C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B60F0 000B3050 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B60F4 000B3054 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800B60F8 000B3058 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B60FC 000B305C C0 03 00 10 */ lfs f0, 0x10(r3) -/* 800B6100 000B3060 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6104 000B3064 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6108 000B3068 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800B610C 000B306C 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B6110 000B3070 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 800B6114 000B3074 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6118 000B3078 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B611C 000B307C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 800B6120 000B3080 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B6124 000B3084 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 800B6128 000B3088 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B612C 000B308C EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6130 000B3090 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 800B6134 000B3094 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B6138 000B3098 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 800B613C 000B309C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6140 000B30A0 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6144 000B30A4 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 800B6148 000B30A8 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B614C 000B30AC C0 03 00 20 */ lfs f0, 0x20(r3) -/* 800B6150 000B30B0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6154 000B30B4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6158 000B30B8 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 800B615C 000B30BC 80 1E 01 04 */ lwz r0, 0x104(r30) -/* 800B6160 000B30C0 7C 80 2A 14 */ add r4, r0, r5 -/* 800B6164 000B30C4 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B6168 000B30C8 38 A5 00 10 */ addi r5, r5, 0x10 -/* 800B616C 000B30CC 38 C6 00 01 */ addi r6, r6, 1 -/* 800B6170 000B30D0 C0 03 00 00 */ lfs f0, 0(r3) -/* 800B6174 000B30D4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6178 000B30D8 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B617C 000B30DC D0 03 00 00 */ stfs f0, 0(r3) -/* 800B6180 000B30E0 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B6184 000B30E4 C0 03 00 04 */ lfs f0, 4(r3) -/* 800B6188 000B30E8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B618C 000B30EC EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6190 000B30F0 D0 03 00 04 */ stfs f0, 4(r3) -/* 800B6194 000B30F4 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B6198 000B30F8 C0 03 00 08 */ lfs f0, 8(r3) -/* 800B619C 000B30FC EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B61A0 000B3100 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B61A4 000B3104 D0 03 00 08 */ stfs f0, 8(r3) -/* 800B61A8 000B3108 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B61AC 000B310C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800B61B0 000B3110 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B61B4 000B3114 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B61B8 000B3118 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800B61BC 000B311C 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B61C0 000B3120 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 800B61C4 000B3124 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B61C8 000B3128 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B61CC 000B312C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800B61D0 000B3130 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B61D4 000B3134 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 800B61D8 000B3138 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B61DC 000B313C EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B61E0 000B3140 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 800B61E4 000B3144 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B61E8 000B3148 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 800B61EC 000B314C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B61F0 000B3150 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B61F4 000B3154 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 800B61F8 000B3158 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B61FC 000B315C C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 800B6200 000B3160 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6204 000B3164 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6208 000B3168 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 800B620C 000B316C 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800B6210 000B3170 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 800B6214 000B3174 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6218 000B3178 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B621C 000B317C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 800B6220 000B3180 42 00 FE 7C */ bdnz lbl_800B609C -/* 800B6224 000B3184 80 9E 01 14 */ lwz r4, 0x114(r30) -/* 800B6228 000B3188 7F C3 F3 78 */ mr r3, r30 -/* 800B622C 000B318C C0 22 8D 00 */ lfs f1, lbl_805AAA20@sda21(r2) -/* 800B6230 000B3190 C0 04 00 00 */ lfs f0, 0(r4) -/* 800B6234 000B3194 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2) -/* 800B6238 000B3198 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B623C 000B319C EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6240 000B31A0 D0 04 00 00 */ stfs f0, 0(r4) -/* 800B6244 000B31A4 80 9E 01 14 */ lwz r4, 0x114(r30) -/* 800B6248 000B31A8 C0 04 00 04 */ lfs f0, 4(r4) -/* 800B624C 000B31AC EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6250 000B31B0 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6254 000B31B4 D0 04 00 04 */ stfs f0, 4(r4) -/* 800B6258 000B31B8 80 9E 01 14 */ lwz r4, 0x114(r30) -/* 800B625C 000B31BC C0 04 00 08 */ lfs f0, 8(r4) -/* 800B6260 000B31C0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6264 000B31C4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B6268 000B31C8 D0 04 00 08 */ stfs f0, 8(r4) -/* 800B626C 000B31CC 80 9E 01 14 */ lwz r4, 0x114(r30) -/* 800B6270 000B31D0 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 800B6274 000B31D4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B6278 000B31D8 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B627C 000B31DC D0 04 00 0C */ stfs f0, 0xc(r4) -/* 800B6280 000B31E0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 800B6284 000B31E4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B6288 000B31E8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 800B628C 000B31EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B6290 000B31F0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B6294 000B31F4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B6298 000B31F8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800B629C 000B31FC 7C 08 03 A6 */ mtlr r0 -/* 800B62A0 000B3200 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B62A4 000B3204 4E 80 00 20 */ blr - -.global sub_800b62a8 -sub_800b62a8: -/* 800B62A8 000B3208 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B62AC 000B320C 7C 08 02 A6 */ mflr r0 -/* 800B62B0 000B3210 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B62B4 000B3214 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B62B8 000B3218 7C 9F 23 78 */ mr r31, r4 -/* 800B62BC 000B321C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B62C0 000B3220 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800B62C4 000B3224 41 82 00 54 */ beq lbl_800B6318 -/* 800B62C8 000B3228 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B62CC 000B322C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B62D0 000B3230 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800B62D4 000B3234 38 81 00 0C */ addi r4, r1, 0xc -/* 800B62D8 000B3238 54 00 20 36 */ slwi r0, r0, 4 -/* 800B62DC 000B323C 7C A5 02 14 */ add r5, r5, r0 -/* 800B62E0 000B3240 90 A1 00 0C */ stw r5, 0xc(r1) -/* 800B62E4 000B3244 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 800B62E8 000B3248 90 A1 00 08 */ stw r5, 8(r1) -/* 800B62EC 000B324C 90 01 00 10 */ stw r0, 0x10(r1) -/* 800B62F0 000B3250 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B62F4 000B3254 48 00 00 41 */ bl sub_800b6334 -/* 800B62F8 000B3258 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800B62FC 000B325C 28 03 00 00 */ cmplwi r3, 0 -/* 800B6300 000B3260 41 82 00 08 */ beq lbl_800B6308 -/* 800B6304 000B3264 48 25 F6 2D */ bl Free__7CMemoryFPCv -lbl_800B6308: -/* 800B6308 000B3268 7F E0 07 35 */ extsh. r0, r31 -/* 800B630C 000B326C 40 81 00 0C */ ble lbl_800B6318 -/* 800B6310 000B3270 7F C3 F3 78 */ mr r3, r30 -/* 800B6314 000B3274 48 25 F6 1D */ bl Free__7CMemoryFPCv -lbl_800B6318: -/* 800B6318 000B3278 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B631C 000B327C 7F C3 F3 78 */ mr r3, r30 -/* 800B6320 000B3280 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B6324 000B3284 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B6328 000B3288 7C 08 03 A6 */ mtlr r0 -/* 800B632C 000B328C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B6330 000B3290 4E 80 00 20 */ blr - -.global sub_800b6334 -sub_800b6334: -/* 800B6334 000B3294 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B6338 000B3298 7C 08 02 A6 */ mflr r0 -/* 800B633C 000B329C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B6340 000B32A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B6344 000B32A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B6348 000B32A8 7C 9E 23 78 */ mr r30, r4 -/* 800B634C 000B32AC 83 E3 00 00 */ lwz r31, 0(r3) -/* 800B6350 000B32B0 48 00 00 50 */ b lbl_800B63A0 -lbl_800B6354: -/* 800B6354 000B32B4 28 1F 00 00 */ cmplwi r31, 0 -/* 800B6358 000B32B8 41 82 00 44 */ beq lbl_800B639C -/* 800B635C 000B32BC 80 1F 00 04 */ lwz r0, 4(r31) -/* 800B6360 000B32C0 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800B6364 000B32C4 54 00 10 3A */ slwi r0, r0, 2 -/* 800B6368 000B32C8 7C 03 02 14 */ add r0, r3, r0 -/* 800B636C 000B32CC 90 61 00 0C */ stw r3, 0xc(r1) -/* 800B6370 000B32D0 7C 64 1B 78 */ mr r4, r3 -/* 800B6374 000B32D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6378 000B32D8 90 01 00 10 */ stw r0, 0x10(r1) -/* 800B637C 000B32DC 90 61 00 08 */ stw r3, 8(r1) -/* 800B6380 000B32E0 48 00 00 08 */ b lbl_800B6388 -lbl_800B6384: -/* 800B6384 000B32E4 38 84 00 04 */ addi r4, r4, 4 -lbl_800B6388: -/* 800B6388 000B32E8 7C 04 00 40 */ cmplw r4, r0 -/* 800B638C 000B32EC 40 82 FF F8 */ bne lbl_800B6384 -/* 800B6390 000B32F0 28 03 00 00 */ cmplwi r3, 0 -/* 800B6394 000B32F4 41 82 00 08 */ beq lbl_800B639C -/* 800B6398 000B32F8 48 25 F5 99 */ bl Free__7CMemoryFPCv -lbl_800B639C: -/* 800B639C 000B32FC 3B FF 00 10 */ addi r31, r31, 0x10 -lbl_800B63A0: -/* 800B63A0 000B3300 80 1E 00 00 */ lwz r0, 0(r30) -/* 800B63A4 000B3304 7C 1F 00 40 */ cmplw r31, r0 -/* 800B63A8 000B3308 40 82 FF AC */ bne lbl_800B6354 -/* 800B63AC 000B330C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B63B0 000B3310 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B63B4 000B3314 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B63B8 000B3318 7C 08 03 A6 */ mtlr r0 -/* 800B63BC 000B331C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B63C0 000B3320 4E 80 00 20 */ blr - -.global sub_800b63c4 -sub_800b63c4: -/* 800B63C4 000B3324 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800B63C8 000B3328 7C 08 02 A6 */ mflr r0 -/* 800B63CC 000B332C 90 01 00 54 */ stw r0, 0x54(r1) -/* 800B63D0 000B3330 38 00 00 00 */ li r0, 0 -/* 800B63D4 000B3334 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 800B63D8 000B3338 7C 7B 1B 78 */ mr r27, r3 -/* 800B63DC 000B333C 7C 9C 23 78 */ mr r28, r4 -/* 800B63E0 000B3340 90 03 00 04 */ stw r0, 4(r3) -/* 800B63E4 000B3344 7F 83 E3 78 */ mr r3, r28 -/* 800B63E8 000B3348 90 1B 00 08 */ stw r0, 8(r27) -/* 800B63EC 000B334C 90 1B 00 0C */ stw r0, 0xc(r27) -/* 800B63F0 000B3350 48 28 88 95 */ bl ReadLong__12CInputStreamFv -/* 800B63F4 000B3354 7C 7E 1B 78 */ mr r30, r3 -/* 800B63F8 000B3358 7F 63 DB 78 */ mr r3, r27 -/* 800B63FC 000B335C 7F C4 F3 78 */ mr r4, r30 -/* 800B6400 000B3360 48 00 03 B5 */ bl sub_800b67b4 -/* 800B6404 000B3364 3B E1 00 08 */ addi r31, r1, 8 -/* 800B6408 000B3368 3B A0 00 00 */ li r29, 0 -/* 800B640C 000B336C 48 00 00 6C */ b lbl_800B6478 -lbl_800B6410: -/* 800B6410 000B3370 88 0D A2 E8 */ lbz r0, lbl_805A8EA8@sda21(r13) -/* 800B6414 000B3374 7F 84 E3 78 */ mr r4, r28 -/* 800B6418 000B3378 7F E5 FB 78 */ mr r5, r31 -/* 800B641C 000B337C 38 61 00 1C */ addi r3, r1, 0x1c -/* 800B6420 000B3380 98 01 00 08 */ stb r0, 8(r1) -/* 800B6424 000B3384 48 00 01 89 */ bl sub_800b65ac -/* 800B6428 000B3388 7F 63 DB 78 */ mr r3, r27 -/* 800B642C 000B338C 38 81 00 1C */ addi r4, r1, 0x1c -/* 800B6430 000B3390 48 00 00 69 */ bl sub_800b6498 -/* 800B6434 000B3394 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800B6438 000B3398 80 61 00 28 */ lwz r3, 0x28(r1) -/* 800B643C 000B339C 54 00 10 3A */ slwi r0, r0, 2 -/* 800B6440 000B33A0 7C 03 02 14 */ add r0, r3, r0 -/* 800B6444 000B33A4 90 61 00 10 */ stw r3, 0x10(r1) -/* 800B6448 000B33A8 7C 64 1B 78 */ mr r4, r3 -/* 800B644C 000B33AC 90 01 00 18 */ stw r0, 0x18(r1) -/* 800B6450 000B33B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6454 000B33B4 90 61 00 0C */ stw r3, 0xc(r1) -/* 800B6458 000B33B8 48 00 00 08 */ b lbl_800B6460 -lbl_800B645C: -/* 800B645C 000B33BC 38 84 00 04 */ addi r4, r4, 4 -lbl_800B6460: -/* 800B6460 000B33C0 7C 04 00 40 */ cmplw r4, r0 -/* 800B6464 000B33C4 40 82 FF F8 */ bne lbl_800B645C -/* 800B6468 000B33C8 28 03 00 00 */ cmplwi r3, 0 -/* 800B646C 000B33CC 41 82 00 08 */ beq lbl_800B6474 -/* 800B6470 000B33D0 48 25 F4 C1 */ bl Free__7CMemoryFPCv -lbl_800B6474: -/* 800B6474 000B33D4 3B BD 00 01 */ addi r29, r29, 1 -lbl_800B6478: -/* 800B6478 000B33D8 7C 1D F0 00 */ cmpw r29, r30 -/* 800B647C 000B33DC 41 80 FF 94 */ blt lbl_800B6410 -/* 800B6480 000B33E0 7F 63 DB 78 */ mr r3, r27 -/* 800B6484 000B33E4 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 800B6488 000B33E8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800B648C 000B33EC 7C 08 03 A6 */ mtlr r0 -/* 800B6490 000B33F0 38 21 00 50 */ addi r1, r1, 0x50 -/* 800B6494 000B33F4 4E 80 00 20 */ blr - -.global sub_800b6498 -sub_800b6498: -/* 800B6498 000B33F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B649C 000B33FC 7C 08 02 A6 */ mflr r0 -/* 800B64A0 000B3400 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B64A4 000B3404 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B64A8 000B3408 7C 9F 23 78 */ mr r31, r4 -/* 800B64AC 000B340C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B64B0 000B3410 7C 7E 1B 78 */ mr r30, r3 -/* 800B64B4 000B3414 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B64B8 000B3418 80 03 00 04 */ lwz r0, 4(r3) -/* 800B64BC 000B341C 80 A3 00 08 */ lwz r5, 8(r3) -/* 800B64C0 000B3420 7C 00 28 00 */ cmpw r0, r5 -/* 800B64C4 000B3424 41 80 00 18 */ blt lbl_800B64DC -/* 800B64C8 000B3428 2C 05 00 00 */ cmpwi r5, 0 -/* 800B64CC 000B342C 38 80 00 04 */ li r4, 4 -/* 800B64D0 000B3430 41 82 00 08 */ beq lbl_800B64D8 -/* 800B64D4 000B3434 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B64D8: -/* 800B64D8 000B3438 48 00 02 DD */ bl sub_800b67b4 -lbl_800B64DC: -/* 800B64DC 000B343C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B64E0 000B3440 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800B64E4 000B3444 54 00 20 36 */ slwi r0, r0, 4 -/* 800B64E8 000B3448 7F A3 02 15 */ add. r29, r3, r0 -/* 800B64EC 000B344C 41 82 00 98 */ beq lbl_800B6584 -/* 800B64F0 000B3450 80 1F 00 04 */ lwz r0, 4(r31) -/* 800B64F4 000B3454 90 1D 00 04 */ stw r0, 4(r29) -/* 800B64F8 000B3458 80 1F 00 08 */ lwz r0, 8(r31) -/* 800B64FC 000B345C 90 1D 00 08 */ stw r0, 8(r29) -/* 800B6500 000B3460 80 1F 00 04 */ lwz r0, 4(r31) -/* 800B6504 000B3464 2C 00 00 00 */ cmpwi r0, 0 -/* 800B6508 000B3468 40 82 00 1C */ bne lbl_800B6524 -/* 800B650C 000B346C 80 1F 00 08 */ lwz r0, 8(r31) -/* 800B6510 000B3470 2C 00 00 00 */ cmpwi r0, 0 -/* 800B6514 000B3474 40 82 00 10 */ bne lbl_800B6524 -/* 800B6518 000B3478 38 00 00 00 */ li r0, 0 -/* 800B651C 000B347C 90 1D 00 0C */ stw r0, 0xc(r29) -/* 800B6520 000B3480 48 00 00 64 */ b lbl_800B6584 -lbl_800B6524: -/* 800B6524 000B3484 80 1D 00 08 */ lwz r0, 8(r29) -/* 800B6528 000B3488 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 800B652C 000B348C 40 82 00 10 */ bne lbl_800B653C -/* 800B6530 000B3490 38 00 00 00 */ li r0, 0 -/* 800B6534 000B3494 90 1D 00 0C */ stw r0, 0xc(r29) -/* 800B6538 000B3498 48 00 00 18 */ b lbl_800B6550 -lbl_800B653C: -/* 800B653C 000B349C 3C 80 80 3D */ lis r4, lbl_803CDE80@ha -/* 800B6540 000B34A0 38 A0 00 00 */ li r5, 0 -/* 800B6544 000B34A4 38 84 DE 80 */ addi r4, r4, lbl_803CDE80@l -/* 800B6548 000B34A8 48 25 F2 D1 */ bl __nwa__FUlPCcPCc -/* 800B654C 000B34AC 90 7D 00 0C */ stw r3, 0xc(r29) -lbl_800B6550: -/* 800B6550 000B34B0 80 1D 00 04 */ lwz r0, 4(r29) -/* 800B6554 000B34B4 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 800B6558 000B34B8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 800B655C 000B34BC 7C 09 03 A6 */ mtctr r0 -/* 800B6560 000B34C0 2C 00 00 00 */ cmpwi r0, 0 -/* 800B6564 000B34C4 40 81 00 20 */ ble lbl_800B6584 -lbl_800B6568: -/* 800B6568 000B34C8 28 03 00 00 */ cmplwi r3, 0 -/* 800B656C 000B34CC 41 82 00 0C */ beq lbl_800B6578 -/* 800B6570 000B34D0 C0 04 00 00 */ lfs f0, 0(r4) -/* 800B6574 000B34D4 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800B6578: -/* 800B6578 000B34D8 38 63 00 04 */ addi r3, r3, 4 -/* 800B657C 000B34DC 38 84 00 04 */ addi r4, r4, 4 -/* 800B6580 000B34E0 42 00 FF E8 */ bdnz lbl_800B6568 -lbl_800B6584: -/* 800B6584 000B34E4 80 7E 00 04 */ lwz r3, 4(r30) -/* 800B6588 000B34E8 38 03 00 01 */ addi r0, r3, 1 -/* 800B658C 000B34EC 90 1E 00 04 */ stw r0, 4(r30) -/* 800B6590 000B34F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B6594 000B34F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B6598 000B34F8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B659C 000B34FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B65A0 000B3500 7C 08 03 A6 */ mtlr r0 -/* 800B65A4 000B3504 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B65A8 000B3508 4E 80 00 20 */ blr - -.global sub_800b65ac -sub_800b65ac: -/* 800B65AC 000B350C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B65B0 000B3510 7C 08 02 A6 */ mflr r0 -/* 800B65B4 000B3514 7C 85 23 78 */ mr r5, r4 -/* 800B65B8 000B3518 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B65BC 000B351C 38 81 00 08 */ addi r4, r1, 8 -/* 800B65C0 000B3520 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B65C4 000B3524 7C 7F 1B 78 */ mr r31, r3 -/* 800B65C8 000B3528 88 0D A2 EC */ lbz r0, lbl_805A8EAC@sda21(r13) -/* 800B65CC 000B352C 98 01 00 08 */ stb r0, 8(r1) -/* 800B65D0 000B3530 48 00 00 19 */ bl sub_800b65e8 -/* 800B65D4 000B3534 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B65D8 000B3538 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B65DC 000B353C 7C 08 03 A6 */ mtlr r0 -/* 800B65E0 000B3540 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B65E4 000B3544 4E 80 00 20 */ blr - -.global sub_800b65e8 -sub_800b65e8: -/* 800B65E8 000B3548 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B65EC 000B354C 7C 08 02 A6 */ mflr r0 -/* 800B65F0 000B3550 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B65F4 000B3554 38 00 00 00 */ li r0, 0 -/* 800B65F8 000B3558 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 800B65FC 000B355C 93 E1 00 14 */ stw r31, 0x14(r1) -/* 800B6600 000B3560 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800B6604 000B3564 93 A1 00 0C */ stw r29, 0xc(r1) -/* 800B6608 000B3568 7C BD 2B 78 */ mr r29, r5 -/* 800B660C 000B356C 93 81 00 08 */ stw r28, 8(r1) -/* 800B6610 000B3570 7C 7C 1B 78 */ mr r28, r3 -/* 800B6614 000B3574 90 03 00 04 */ stw r0, 4(r3) -/* 800B6618 000B3578 7F A3 EB 78 */ mr r3, r29 -/* 800B661C 000B357C 90 1C 00 08 */ stw r0, 8(r28) -/* 800B6620 000B3580 90 1C 00 0C */ stw r0, 0xc(r28) -/* 800B6624 000B3584 48 28 86 61 */ bl ReadLong__12CInputStreamFv -/* 800B6628 000B3588 7C 7E 1B 78 */ mr r30, r3 -/* 800B662C 000B358C 7F 83 E3 78 */ mr r3, r28 -/* 800B6630 000B3590 7F C4 F3 78 */ mr r4, r30 -/* 800B6634 000B3594 4B FA 77 C5 */ bl "reserve__Q24rstl36vectorFi" -/* 800B6638 000B3598 3B E0 00 00 */ li r31, 0 -/* 800B663C 000B359C 48 00 00 60 */ b lbl_800B669C -lbl_800B6640: -/* 800B6640 000B35A0 7F A3 EB 78 */ mr r3, r29 -/* 800B6644 000B35A4 48 28 85 E5 */ bl ReadFloat__12CInputStreamFv -/* 800B6648 000B35A8 80 1C 00 04 */ lwz r0, 4(r28) -/* 800B664C 000B35AC FF E0 08 90 */ fmr f31, f1 -/* 800B6650 000B35B0 80 BC 00 08 */ lwz r5, 8(r28) -/* 800B6654 000B35B4 7C 00 28 00 */ cmpw r0, r5 -/* 800B6658 000B35B8 41 80 00 1C */ blt lbl_800B6674 -/* 800B665C 000B35BC 2C 05 00 00 */ cmpwi r5, 0 -/* 800B6660 000B35C0 7F 83 E3 78 */ mr r3, r28 -/* 800B6664 000B35C4 38 80 00 04 */ li r4, 4 -/* 800B6668 000B35C8 41 82 00 08 */ beq lbl_800B6670 -/* 800B666C 000B35CC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800B6670: -/* 800B6670 000B35D0 4B FA 77 89 */ bl "reserve__Q24rstl36vectorFi" -lbl_800B6674: -/* 800B6674 000B35D4 80 1C 00 04 */ lwz r0, 4(r28) -/* 800B6678 000B35D8 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 800B667C 000B35DC 54 00 10 3A */ slwi r0, r0, 2 -/* 800B6680 000B35E0 7C 63 02 15 */ add. r3, r3, r0 -/* 800B6684 000B35E4 41 82 00 08 */ beq lbl_800B668C -/* 800B6688 000B35E8 D3 E3 00 00 */ stfs f31, 0(r3) -lbl_800B668C: -/* 800B668C 000B35EC 80 7C 00 04 */ lwz r3, 4(r28) -/* 800B6690 000B35F0 3B FF 00 01 */ addi r31, r31, 1 -/* 800B6694 000B35F4 38 03 00 01 */ addi r0, r3, 1 -/* 800B6698 000B35F8 90 1C 00 04 */ stw r0, 4(r28) -lbl_800B669C: -/* 800B669C 000B35FC 7C 1F F0 00 */ cmpw r31, r30 -/* 800B66A0 000B3600 41 80 FF A0 */ blt lbl_800B6640 -/* 800B66A4 000B3604 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B66A8 000B3608 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 800B66AC 000B360C 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 800B66B0 000B3610 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 800B66B4 000B3614 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 800B66B8 000B3618 83 81 00 08 */ lwz r28, 8(r1) -/* 800B66BC 000B361C 7C 08 03 A6 */ mtlr r0 -/* 800B66C0 000B3620 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B66C4 000B3624 4E 80 00 20 */ blr - -.global __dt__15CTweakTargetingFv -__dt__15CTweakTargetingFv: -/* 800B66C8 000B3628 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B66CC 000B362C 7C 08 02 A6 */ mflr r0 -/* 800B66D0 000B3630 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B66D4 000B3634 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B66D8 000B3638 7C 9F 23 78 */ mr r31, r4 -/* 800B66DC 000B363C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B66E0 000B3640 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800B66E4 000B3644 41 82 00 88 */ beq lbl_800B676C -/* 800B66E8 000B3648 3C 60 80 3E */ lis r3, lbl_803DF428@ha -/* 800B66EC 000B364C 34 1E 01 08 */ addic. r0, r30, 0x108 -/* 800B66F0 000B3650 38 03 F4 28 */ addi r0, r3, lbl_803DF428@l -/* 800B66F4 000B3654 90 1E 00 00 */ stw r0, 0(r30) -/* 800B66F8 000B3658 41 82 00 44 */ beq lbl_800B673C -/* 800B66FC 000B365C 80 1E 01 0C */ lwz r0, 0x10c(r30) -/* 800B6700 000B3660 80 7E 01 14 */ lwz r3, 0x114(r30) -/* 800B6704 000B3664 54 00 10 3A */ slwi r0, r0, 2 -/* 800B6708 000B3668 7C 03 02 14 */ add r0, r3, r0 -/* 800B670C 000B366C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800B6710 000B3670 7C 64 1B 78 */ mr r4, r3 -/* 800B6714 000B3674 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6718 000B3678 90 01 00 10 */ stw r0, 0x10(r1) -/* 800B671C 000B367C 90 61 00 08 */ stw r3, 8(r1) -/* 800B6720 000B3680 48 00 00 08 */ b lbl_800B6728 -lbl_800B6724: -/* 800B6724 000B3684 38 84 00 04 */ addi r4, r4, 4 -lbl_800B6728: -/* 800B6728 000B3688 7C 04 00 40 */ cmplw r4, r0 -/* 800B672C 000B368C 40 82 FF F8 */ bne lbl_800B6724 -/* 800B6730 000B3690 28 03 00 00 */ cmplwi r3, 0 -/* 800B6734 000B3694 41 82 00 08 */ beq lbl_800B673C -/* 800B6738 000B3698 48 25 F1 F9 */ bl Free__7CMemoryFPCv -lbl_800B673C: -/* 800B673C 000B369C 38 7E 00 F8 */ addi r3, r30, 0xf8 -/* 800B6740 000B36A0 38 80 FF FF */ li r4, -1 -/* 800B6744 000B36A4 4B FF FB 65 */ bl sub_800b62a8 -/* 800B6748 000B36A8 28 1E 00 00 */ cmplwi r30, 0 -/* 800B674C 000B36AC 41 82 00 10 */ beq lbl_800B675C -/* 800B6750 000B36B0 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 800B6754 000B36B4 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 800B6758 000B36B8 90 1E 00 00 */ stw r0, 0(r30) -lbl_800B675C: -/* 800B675C 000B36BC 7F E0 07 35 */ extsh. r0, r31 -/* 800B6760 000B36C0 40 81 00 0C */ ble lbl_800B676C -/* 800B6764 000B36C4 7F C3 F3 78 */ mr r3, r30 -/* 800B6768 000B36C8 48 00 00 21 */ bl "__dl__29TOneStatic<15CTweakTargeting>FPvPCcPCc" -lbl_800B676C: -/* 800B676C 000B36CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B6770 000B36D0 7F C3 F3 78 */ mr r3, r30 -/* 800B6774 000B36D4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B6778 000B36D8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B677C 000B36DC 7C 08 03 A6 */ mtlr r0 -/* 800B6780 000B36E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B6784 000B36E4 4E 80 00 20 */ blr - -.global "__dl__29TOneStatic<15CTweakTargeting>FPvPCcPCc" -"__dl__29TOneStatic<15CTweakTargeting>FPvPCcPCc": -/* 800B6788 000B36E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B678C 000B36EC 7C 08 02 A6 */ mflr r0 -/* 800B6790 000B36F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6794 000B36F4 4B F8 07 B1 */ bl "ReferenceCount__29TOneStatic<15CTweakTargeting>Fv" -/* 800B6798 000B36F8 80 83 00 00 */ lwz r4, 0(r3) -/* 800B679C 000B36FC 38 04 FF FF */ addi r0, r4, -1 -/* 800B67A0 000B3700 90 03 00 00 */ stw r0, 0(r3) -/* 800B67A4 000B3704 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B67A8 000B3708 7C 08 03 A6 */ mtlr r0 -/* 800B67AC 000B370C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B67B0 000B3710 4E 80 00 20 */ blr - -.global sub_800b67b4 -sub_800b67b4: -/* 800B67B4 000B3714 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800B67B8 000B3718 7C 08 02 A6 */ mflr r0 -/* 800B67BC 000B371C 90 01 00 44 */ stw r0, 0x44(r1) -/* 800B67C0 000B3720 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 800B67C4 000B3724 7C 9F 23 78 */ mr r31, r4 -/* 800B67C8 000B3728 7C 7E 1B 78 */ mr r30, r3 -/* 800B67CC 000B372C 80 03 00 08 */ lwz r0, 8(r3) -/* 800B67D0 000B3730 7C 1F 00 00 */ cmpw r31, r0 -/* 800B67D4 000B3734 40 81 00 DC */ ble lbl_800B68B0 -/* 800B67D8 000B3738 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 800B67DC 000B373C 40 82 00 0C */ bne lbl_800B67E8 -/* 800B67E0 000B3740 3B A0 00 00 */ li r29, 0 -/* 800B67E4 000B3744 48 00 00 18 */ b lbl_800B67FC -lbl_800B67E8: -/* 800B67E8 000B3748 3C 80 80 3D */ lis r4, lbl_803CDE80@ha -/* 800B67EC 000B374C 38 A0 00 00 */ li r5, 0 -/* 800B67F0 000B3750 38 84 DE 80 */ addi r4, r4, lbl_803CDE80@l -/* 800B67F4 000B3754 48 25 F0 25 */ bl __nwa__FUlPCcPCc -/* 800B67F8 000B3758 7C 7D 1B 78 */ mr r29, r3 -lbl_800B67FC: -/* 800B67FC 000B375C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B6800 000B3760 7F A5 EB 78 */ mr r5, r29 -/* 800B6804 000B3764 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 800B6808 000B3768 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B680C 000B376C 54 00 20 36 */ slwi r0, r0, 4 -/* 800B6810 000B3770 38 81 00 1C */ addi r4, r1, 0x1c -/* 800B6814 000B3774 7C C6 02 14 */ add r6, r6, r0 -/* 800B6818 000B3778 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 800B681C 000B377C 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 800B6820 000B3780 90 C1 00 18 */ stw r6, 0x18(r1) -/* 800B6824 000B3784 90 01 00 20 */ stw r0, 0x20(r1) -/* 800B6828 000B3788 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B682C 000B378C 48 00 00 99 */ bl sub_800b68c4 -/* 800B6830 000B3790 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B6834 000B3794 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 800B6838 000B3798 54 00 20 36 */ slwi r0, r0, 4 -/* 800B683C 000B379C 7F 9B 02 14 */ add r28, r27, r0 -/* 800B6840 000B37A0 48 00 00 50 */ b lbl_800B6890 -lbl_800B6844: -/* 800B6844 000B37A4 28 1B 00 00 */ cmplwi r27, 0 -/* 800B6848 000B37A8 41 82 00 44 */ beq lbl_800B688C -/* 800B684C 000B37AC 80 1B 00 04 */ lwz r0, 4(r27) -/* 800B6850 000B37B0 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 800B6854 000B37B4 54 00 10 3A */ slwi r0, r0, 2 -/* 800B6858 000B37B8 7C 03 02 14 */ add r0, r3, r0 -/* 800B685C 000B37BC 90 61 00 0C */ stw r3, 0xc(r1) -/* 800B6860 000B37C0 7C 64 1B 78 */ mr r4, r3 -/* 800B6864 000B37C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6868 000B37C8 90 01 00 10 */ stw r0, 0x10(r1) -/* 800B686C 000B37CC 90 61 00 08 */ stw r3, 8(r1) -/* 800B6870 000B37D0 48 00 00 08 */ b lbl_800B6878 -lbl_800B6874: -/* 800B6874 000B37D4 38 84 00 04 */ addi r4, r4, 4 -lbl_800B6878: -/* 800B6878 000B37D8 7C 04 00 40 */ cmplw r4, r0 -/* 800B687C 000B37DC 40 82 FF F8 */ bne lbl_800B6874 -/* 800B6880 000B37E0 28 03 00 00 */ cmplwi r3, 0 -/* 800B6884 000B37E4 41 82 00 08 */ beq lbl_800B688C -/* 800B6888 000B37E8 48 25 F0 A9 */ bl Free__7CMemoryFPCv -lbl_800B688C: -/* 800B688C 000B37EC 3B 7B 00 10 */ addi r27, r27, 0x10 -lbl_800B6890: -/* 800B6890 000B37F0 7C 1B E0 40 */ cmplw r27, r28 -/* 800B6894 000B37F4 40 82 FF B0 */ bne lbl_800B6844 -/* 800B6898 000B37F8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800B689C 000B37FC 28 03 00 00 */ cmplwi r3, 0 -/* 800B68A0 000B3800 41 82 00 08 */ beq lbl_800B68A8 -/* 800B68A4 000B3804 48 25 F0 8D */ bl Free__7CMemoryFPCv -lbl_800B68A8: -/* 800B68A8 000B3808 93 BE 00 0C */ stw r29, 0xc(r30) -/* 800B68AC 000B380C 93 FE 00 08 */ stw r31, 8(r30) -lbl_800B68B0: -/* 800B68B0 000B3810 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 800B68B4 000B3814 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800B68B8 000B3818 7C 08 03 A6 */ mtlr r0 -/* 800B68BC 000B381C 38 21 00 40 */ addi r1, r1, 0x40 -/* 800B68C0 000B3820 4E 80 00 20 */ blr - -.global sub_800b68c4 -sub_800b68c4: -/* 800B68C4 000B3824 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B68C8 000B3828 7C 08 02 A6 */ mflr r0 -/* 800B68CC 000B382C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B68D0 000B3830 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B68D4 000B3834 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B68D8 000B3838 7C BE 2B 78 */ mr r30, r5 -/* 800B68DC 000B383C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B68E0 000B3840 7C 9D 23 78 */ mr r29, r4 -/* 800B68E4 000B3844 83 E3 00 00 */ lwz r31, 0(r3) -/* 800B68E8 000B3848 48 00 00 A8 */ b lbl_800B6990 -lbl_800B68EC: -/* 800B68EC 000B384C 28 1E 00 00 */ cmplwi r30, 0 -/* 800B68F0 000B3850 41 82 00 98 */ beq lbl_800B6988 -/* 800B68F4 000B3854 80 1F 00 04 */ lwz r0, 4(r31) -/* 800B68F8 000B3858 90 1E 00 04 */ stw r0, 4(r30) -/* 800B68FC 000B385C 80 1F 00 08 */ lwz r0, 8(r31) -/* 800B6900 000B3860 90 1E 00 08 */ stw r0, 8(r30) -/* 800B6904 000B3864 80 1F 00 04 */ lwz r0, 4(r31) -/* 800B6908 000B3868 2C 00 00 00 */ cmpwi r0, 0 -/* 800B690C 000B386C 40 82 00 1C */ bne lbl_800B6928 -/* 800B6910 000B3870 80 1F 00 08 */ lwz r0, 8(r31) -/* 800B6914 000B3874 2C 00 00 00 */ cmpwi r0, 0 -/* 800B6918 000B3878 40 82 00 10 */ bne lbl_800B6928 -/* 800B691C 000B387C 38 00 00 00 */ li r0, 0 -/* 800B6920 000B3880 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800B6924 000B3884 48 00 00 64 */ b lbl_800B6988 -lbl_800B6928: -/* 800B6928 000B3888 80 1E 00 08 */ lwz r0, 8(r30) -/* 800B692C 000B388C 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 800B6930 000B3890 40 82 00 10 */ bne lbl_800B6940 -/* 800B6934 000B3894 38 00 00 00 */ li r0, 0 -/* 800B6938 000B3898 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800B693C 000B389C 48 00 00 18 */ b lbl_800B6954 -lbl_800B6940: -/* 800B6940 000B38A0 3C 80 80 3D */ lis r4, lbl_803CDE80@ha -/* 800B6944 000B38A4 38 A0 00 00 */ li r5, 0 -/* 800B6948 000B38A8 38 84 DE 80 */ addi r4, r4, lbl_803CDE80@l -/* 800B694C 000B38AC 48 25 EE CD */ bl __nwa__FUlPCcPCc -/* 800B6950 000B38B0 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_800B6954: -/* 800B6954 000B38B4 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B6958 000B38B8 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 800B695C 000B38BC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800B6960 000B38C0 7C 09 03 A6 */ mtctr r0 -/* 800B6964 000B38C4 2C 00 00 00 */ cmpwi r0, 0 -/* 800B6968 000B38C8 40 81 00 20 */ ble lbl_800B6988 -lbl_800B696C: -/* 800B696C 000B38CC 28 03 00 00 */ cmplwi r3, 0 -/* 800B6970 000B38D0 41 82 00 0C */ beq lbl_800B697C -/* 800B6974 000B38D4 C0 04 00 00 */ lfs f0, 0(r4) -/* 800B6978 000B38D8 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800B697C: -/* 800B697C 000B38DC 38 63 00 04 */ addi r3, r3, 4 -/* 800B6980 000B38E0 38 84 00 04 */ addi r4, r4, 4 -/* 800B6984 000B38E4 42 00 FF E8 */ bdnz lbl_800B696C -lbl_800B6988: -/* 800B6988 000B38E8 3B DE 00 10 */ addi r30, r30, 0x10 -/* 800B698C 000B38EC 3B FF 00 10 */ addi r31, r31, 0x10 -lbl_800B6990: -/* 800B6990 000B38F0 80 1D 00 00 */ lwz r0, 0(r29) -/* 800B6994 000B38F4 7C 1F 00 40 */ cmplw r31, r0 -/* 800B6998 000B38F8 40 82 FF 54 */ bne lbl_800B68EC -/* 800B699C 000B38FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B69A0 000B3900 7F C3 F3 78 */ mr r3, r30 -/* 800B69A4 000B3904 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B69A8 000B3908 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B69AC 000B390C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B69B0 000B3910 7C 08 03 A6 */ mtlr r0 -/* 800B69B4 000B3914 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B69B8 000B3918 4E 80 00 20 */ blr - -.global __ct__16CTweakAutoMapperFR12CInputStream -__ct__16CTweakAutoMapperFR12CInputStream: -/* 800B69BC 000B391C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B69C0 000B3920 7C 08 02 A6 */ mflr r0 -/* 800B69C4 000B3924 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B69C8 000B3928 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 800B69CC 000B392C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 800B69D0 000B3930 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B69D4 000B3934 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B69D8 000B3938 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B69DC 000B393C 93 81 00 10 */ stw r28, 0x10(r1) -/* 800B69E0 000B3940 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha -/* 800B69E4 000B3944 3C A0 80 3E */ lis r5, lbl_803DF438@ha -/* 800B69E8 000B3948 7C 7F 1B 78 */ mr r31, r3 -/* 800B69EC 000B394C 7C 9C 23 78 */ mr r28, r4 -/* 800B69F0 000B3950 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l -/* 800B69F4 000B3954 38 05 F4 38 */ addi r0, r5, lbl_803DF438@l -/* 800B69F8 000B3958 90 7F 00 00 */ stw r3, 0(r31) -/* 800B69FC 000B395C 7F 83 E3 78 */ mr r3, r28 -/* 800B6A00 000B3960 90 1F 00 00 */ stw r0, 0(r31) -/* 800B6A04 000B3964 48 28 82 D9 */ bl ReadBool__12CInputStreamFv -/* 800B6A08 000B3968 88 1F 00 04 */ lbz r0, 4(r31) -/* 800B6A0C 000B396C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800B6A10 000B3970 7F 83 E3 78 */ mr r3, r28 -/* 800B6A14 000B3974 98 1F 00 04 */ stb r0, 4(r31) -/* 800B6A18 000B3978 48 28 82 C5 */ bl ReadBool__12CInputStreamFv -/* 800B6A1C 000B397C 88 1F 00 04 */ lbz r0, 4(r31) -/* 800B6A20 000B3980 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800B6A24 000B3984 7F 83 E3 78 */ mr r3, r28 -/* 800B6A28 000B3988 98 1F 00 04 */ stb r0, 4(r31) -/* 800B6A2C 000B398C 48 28 82 B1 */ bl ReadBool__12CInputStreamFv -/* 800B6A30 000B3990 88 1F 00 04 */ lbz r0, 4(r31) -/* 800B6A34 000B3994 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800B6A38 000B3998 7F 83 E3 78 */ mr r3, r28 -/* 800B6A3C 000B399C 98 1F 00 04 */ stb r0, 4(r31) -/* 800B6A40 000B39A0 48 28 81 E9 */ bl ReadFloat__12CInputStreamFv -/* 800B6A44 000B39A4 D0 3F 00 08 */ stfs f1, 8(r31) -/* 800B6A48 000B39A8 7F 83 E3 78 */ mr r3, r28 -/* 800B6A4C 000B39AC 48 28 81 DD */ bl ReadFloat__12CInputStreamFv -/* 800B6A50 000B39B0 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 800B6A54 000B39B4 7F 83 E3 78 */ mr r3, r28 -/* 800B6A58 000B39B8 48 28 81 D1 */ bl ReadFloat__12CInputStreamFv -/* 800B6A5C 000B39BC D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 800B6A60 000B39C0 7F 83 E3 78 */ mr r3, r28 -/* 800B6A64 000B39C4 48 28 81 C5 */ bl ReadFloat__12CInputStreamFv -/* 800B6A68 000B39C8 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 800B6A6C 000B39CC 7F 83 E3 78 */ mr r3, r28 -/* 800B6A70 000B39D0 48 28 81 B9 */ bl ReadFloat__12CInputStreamFv -/* 800B6A74 000B39D4 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 800B6A78 000B39D8 7F 83 E3 78 */ mr r3, r28 -/* 800B6A7C 000B39DC 48 28 81 AD */ bl ReadFloat__12CInputStreamFv -/* 800B6A80 000B39E0 D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 800B6A84 000B39E4 7F 83 E3 78 */ mr r3, r28 -/* 800B6A88 000B39E8 48 28 81 A1 */ bl ReadFloat__12CInputStreamFv -/* 800B6A8C 000B39EC D0 3F 00 20 */ stfs f1, 0x20(r31) -/* 800B6A90 000B39F0 7F 84 E3 78 */ mr r4, r28 -/* 800B6A94 000B39F4 38 7F 00 24 */ addi r3, r31, 0x24 -/* 800B6A98 000B39F8 48 2A C9 B5 */ bl __ct__6CColorFR12CInputStream -/* 800B6A9C 000B39FC 7F 83 E3 78 */ mr r3, r28 -/* 800B6AA0 000B3A00 48 28 81 89 */ bl ReadFloat__12CInputStreamFv -/* 800B6AA4 000B3A04 D0 3F 00 28 */ stfs f1, 0x28(r31) -/* 800B6AA8 000B3A08 7F 83 E3 78 */ mr r3, r28 -/* 800B6AAC 000B3A0C 48 28 81 7D */ bl ReadFloat__12CInputStreamFv -/* 800B6AB0 000B3A10 D0 3F 00 2C */ stfs f1, 0x2c(r31) -/* 800B6AB4 000B3A14 7F 83 E3 78 */ mr r3, r28 -/* 800B6AB8 000B3A18 48 28 81 71 */ bl ReadFloat__12CInputStreamFv -/* 800B6ABC 000B3A1C D0 3F 00 30 */ stfs f1, 0x30(r31) -/* 800B6AC0 000B3A20 7F 83 E3 78 */ mr r3, r28 -/* 800B6AC4 000B3A24 48 28 81 65 */ bl ReadFloat__12CInputStreamFv -/* 800B6AC8 000B3A28 D0 3F 00 34 */ stfs f1, 0x34(r31) -/* 800B6ACC 000B3A2C 7F 84 E3 78 */ mr r4, r28 -/* 800B6AD0 000B3A30 38 7F 00 38 */ addi r3, r31, 0x38 -/* 800B6AD4 000B3A34 48 2A C9 79 */ bl __ct__6CColorFR12CInputStream -/* 800B6AD8 000B3A38 7F 84 E3 78 */ mr r4, r28 -/* 800B6ADC 000B3A3C 38 7F 00 3C */ addi r3, r31, 0x3c -/* 800B6AE0 000B3A40 48 2A C9 6D */ bl __ct__6CColorFR12CInputStream -/* 800B6AE4 000B3A44 7F 84 E3 78 */ mr r4, r28 -/* 800B6AE8 000B3A48 38 7F 00 40 */ addi r3, r31, 0x40 -/* 800B6AEC 000B3A4C 48 2A C9 61 */ bl __ct__6CColorFR12CInputStream -/* 800B6AF0 000B3A50 7F 84 E3 78 */ mr r4, r28 -/* 800B6AF4 000B3A54 38 7F 00 44 */ addi r3, r31, 0x44 -/* 800B6AF8 000B3A58 48 2A C9 55 */ bl __ct__6CColorFR12CInputStream -/* 800B6AFC 000B3A5C 7F 84 E3 78 */ mr r4, r28 -/* 800B6B00 000B3A60 38 7F 00 48 */ addi r3, r31, 0x48 -/* 800B6B04 000B3A64 48 2A C9 49 */ bl __ct__6CColorFR12CInputStream -/* 800B6B08 000B3A68 7F 84 E3 78 */ mr r4, r28 -/* 800B6B0C 000B3A6C 38 7F 00 4C */ addi r3, r31, 0x4c -/* 800B6B10 000B3A70 48 2A C9 3D */ bl __ct__6CColorFR12CInputStream -/* 800B6B14 000B3A74 7F 84 E3 78 */ mr r4, r28 -/* 800B6B18 000B3A78 38 7F 00 50 */ addi r3, r31, 0x50 -/* 800B6B1C 000B3A7C 48 2A C9 31 */ bl __ct__6CColorFR12CInputStream -/* 800B6B20 000B3A80 7F 83 E3 78 */ mr r3, r28 -/* 800B6B24 000B3A84 48 28 81 05 */ bl ReadFloat__12CInputStreamFv -/* 800B6B28 000B3A88 D0 3F 00 54 */ stfs f1, 0x54(r31) -/* 800B6B2C 000B3A8C 7F 83 E3 78 */ mr r3, r28 -/* 800B6B30 000B3A90 48 28 80 F9 */ bl ReadFloat__12CInputStreamFv -/* 800B6B34 000B3A94 D0 3F 00 58 */ stfs f1, 0x58(r31) -/* 800B6B38 000B3A98 7F 83 E3 78 */ mr r3, r28 -/* 800B6B3C 000B3A9C 48 28 80 ED */ bl ReadFloat__12CInputStreamFv -/* 800B6B40 000B3AA0 D0 3F 00 5C */ stfs f1, 0x5c(r31) -/* 800B6B44 000B3AA4 7F 83 E3 78 */ mr r3, r28 -/* 800B6B48 000B3AA8 C0 02 8D 08 */ lfs f0, lbl_805AAA28@sda21(r2) -/* 800B6B4C 000B3AAC D0 1F 00 60 */ stfs f0, 0x60(r31) -/* 800B6B50 000B3AB0 48 28 80 D9 */ bl ReadFloat__12CInputStreamFv -/* 800B6B54 000B3AB4 D0 3F 00 64 */ stfs f1, 0x64(r31) -/* 800B6B58 000B3AB8 7F 83 E3 78 */ mr r3, r28 -/* 800B6B5C 000B3ABC 48 28 80 CD */ bl ReadFloat__12CInputStreamFv -/* 800B6B60 000B3AC0 D0 3F 00 68 */ stfs f1, 0x68(r31) -/* 800B6B64 000B3AC4 7F 83 E3 78 */ mr r3, r28 -/* 800B6B68 000B3AC8 48 28 80 C1 */ bl ReadFloat__12CInputStreamFv -/* 800B6B6C 000B3ACC D0 3F 00 6C */ stfs f1, 0x6c(r31) -/* 800B6B70 000B3AD0 7F 83 E3 78 */ mr r3, r28 -/* 800B6B74 000B3AD4 48 28 80 B5 */ bl ReadFloat__12CInputStreamFv -/* 800B6B78 000B3AD8 D0 3F 00 70 */ stfs f1, 0x70(r31) -/* 800B6B7C 000B3ADC 7F 83 E3 78 */ mr r3, r28 -/* 800B6B80 000B3AE0 48 28 80 A9 */ bl ReadFloat__12CInputStreamFv -/* 800B6B84 000B3AE4 D0 3F 00 74 */ stfs f1, 0x74(r31) -/* 800B6B88 000B3AE8 7F 83 E3 78 */ mr r3, r28 -/* 800B6B8C 000B3AEC 48 28 80 9D */ bl ReadFloat__12CInputStreamFv -/* 800B6B90 000B3AF0 D0 3F 00 78 */ stfs f1, 0x78(r31) -/* 800B6B94 000B3AF4 7F 84 E3 78 */ mr r4, r28 -/* 800B6B98 000B3AF8 38 7F 00 7C */ addi r3, r31, 0x7c -/* 800B6B9C 000B3AFC 48 2A C8 B1 */ bl __ct__6CColorFR12CInputStream -/* 800B6BA0 000B3B00 7F 84 E3 78 */ mr r4, r28 -/* 800B6BA4 000B3B04 38 7F 00 80 */ addi r3, r31, 0x80 -/* 800B6BA8 000B3B08 48 2A C8 A5 */ bl __ct__6CColorFR12CInputStream -/* 800B6BAC 000B3B0C 7F 83 E3 78 */ mr r3, r28 -/* 800B6BB0 000B3B10 48 28 80 79 */ bl ReadFloat__12CInputStreamFv -/* 800B6BB4 000B3B14 D0 3F 00 84 */ stfs f1, 0x84(r31) -/* 800B6BB8 000B3B18 7F 83 E3 78 */ mr r3, r28 -/* 800B6BBC 000B3B1C 48 28 80 6D */ bl ReadFloat__12CInputStreamFv -/* 800B6BC0 000B3B20 D0 3F 00 88 */ stfs f1, 0x88(r31) -/* 800B6BC4 000B3B24 7F 83 E3 78 */ mr r3, r28 -/* 800B6BC8 000B3B28 48 28 80 61 */ bl ReadFloat__12CInputStreamFv -/* 800B6BCC 000B3B2C D0 3F 00 8C */ stfs f1, 0x8c(r31) -/* 800B6BD0 000B3B30 7F 83 E3 78 */ mr r3, r28 -/* 800B6BD4 000B3B34 48 28 80 55 */ bl ReadFloat__12CInputStreamFv -/* 800B6BD8 000B3B38 D0 3F 00 90 */ stfs f1, 0x90(r31) -/* 800B6BDC 000B3B3C 7F 83 E3 78 */ mr r3, r28 -/* 800B6BE0 000B3B40 48 28 80 49 */ bl ReadFloat__12CInputStreamFv -/* 800B6BE4 000B3B44 D0 3F 00 94 */ stfs f1, 0x94(r31) -/* 800B6BE8 000B3B48 7F 83 E3 78 */ mr r3, r28 -/* 800B6BEC 000B3B4C 48 28 80 3D */ bl ReadFloat__12CInputStreamFv -/* 800B6BF0 000B3B50 D0 3F 00 98 */ stfs f1, 0x98(r31) -/* 800B6BF4 000B3B54 7F 83 E3 78 */ mr r3, r28 -/* 800B6BF8 000B3B58 48 28 80 31 */ bl ReadFloat__12CInputStreamFv -/* 800B6BFC 000B3B5C D0 3F 00 9C */ stfs f1, 0x9c(r31) -/* 800B6C00 000B3B60 7F 83 E3 78 */ mr r3, r28 -/* 800B6C04 000B3B64 48 28 80 25 */ bl ReadFloat__12CInputStreamFv -/* 800B6C08 000B3B68 D0 3F 00 A0 */ stfs f1, 0xa0(r31) -/* 800B6C0C 000B3B6C 7F 83 E3 78 */ mr r3, r28 -/* 800B6C10 000B3B70 48 28 80 19 */ bl ReadFloat__12CInputStreamFv -/* 800B6C14 000B3B74 D0 3F 00 A4 */ stfs f1, 0xa4(r31) -/* 800B6C18 000B3B78 7F 83 E3 78 */ mr r3, r28 -/* 800B6C1C 000B3B7C 48 28 80 0D */ bl ReadFloat__12CInputStreamFv -/* 800B6C20 000B3B80 D0 3F 00 A8 */ stfs f1, 0xa8(r31) -/* 800B6C24 000B3B84 7F 83 E3 78 */ mr r3, r28 -/* 800B6C28 000B3B88 48 28 80 01 */ bl ReadFloat__12CInputStreamFv -/* 800B6C2C 000B3B8C D0 3F 00 AC */ stfs f1, 0xac(r31) -/* 800B6C30 000B3B90 7F 83 E3 78 */ mr r3, r28 -/* 800B6C34 000B3B94 48 28 7F F5 */ bl ReadFloat__12CInputStreamFv -/* 800B6C38 000B3B98 D0 3F 00 B0 */ stfs f1, 0xb0(r31) -/* 800B6C3C 000B3B9C 7F 83 E3 78 */ mr r3, r28 -/* 800B6C40 000B3BA0 48 28 7F E9 */ bl ReadFloat__12CInputStreamFv -/* 800B6C44 000B3BA4 D0 3F 00 B4 */ stfs f1, 0xb4(r31) -/* 800B6C48 000B3BA8 7F 83 E3 78 */ mr r3, r28 -/* 800B6C4C 000B3BAC 48 28 7F DD */ bl ReadFloat__12CInputStreamFv -/* 800B6C50 000B3BB0 D0 3F 00 B8 */ stfs f1, 0xb8(r31) -/* 800B6C54 000B3BB4 7F 83 E3 78 */ mr r3, r28 -/* 800B6C58 000B3BB8 48 28 7F D1 */ bl ReadFloat__12CInputStreamFv -/* 800B6C5C 000B3BBC D0 3F 00 BC */ stfs f1, 0xbc(r31) -/* 800B6C60 000B3BC0 7F 83 E3 78 */ mr r3, r28 -/* 800B6C64 000B3BC4 48 28 7F C5 */ bl ReadFloat__12CInputStreamFv -/* 800B6C68 000B3BC8 D0 3F 00 C0 */ stfs f1, 0xc0(r31) -/* 800B6C6C 000B3BCC 7F 83 E3 78 */ mr r3, r28 -/* 800B6C70 000B3BD0 48 28 7F B9 */ bl ReadFloat__12CInputStreamFv -/* 800B6C74 000B3BD4 D0 3F 00 C4 */ stfs f1, 0xc4(r31) -/* 800B6C78 000B3BD8 7F 83 E3 78 */ mr r3, r28 -/* 800B6C7C 000B3BDC 48 28 7F AD */ bl ReadFloat__12CInputStreamFv -/* 800B6C80 000B3BE0 D0 3F 00 C8 */ stfs f1, 0xc8(r31) -/* 800B6C84 000B3BE4 7F 83 E3 78 */ mr r3, r28 -/* 800B6C88 000B3BE8 48 28 80 55 */ bl ReadBool__12CInputStreamFv -/* 800B6C8C 000B3BEC 98 7F 00 CC */ stb r3, 0xcc(r31) -/* 800B6C90 000B3BF0 7F 83 E3 78 */ mr r3, r28 -/* 800B6C94 000B3BF4 48 28 7F 95 */ bl ReadFloat__12CInputStreamFv -/* 800B6C98 000B3BF8 D0 3F 00 D0 */ stfs f1, 0xd0(r31) -/* 800B6C9C 000B3BFC 7F 83 E3 78 */ mr r3, r28 -/* 800B6CA0 000B3C00 48 28 7F 89 */ bl ReadFloat__12CInputStreamFv -/* 800B6CA4 000B3C04 D0 3F 00 D4 */ stfs f1, 0xd4(r31) -/* 800B6CA8 000B3C08 7F 83 E3 78 */ mr r3, r28 -/* 800B6CAC 000B3C0C 48 28 7F 7D */ bl ReadFloat__12CInputStreamFv -/* 800B6CB0 000B3C10 D0 3F 00 D8 */ stfs f1, 0xd8(r31) -/* 800B6CB4 000B3C14 7F 83 E3 78 */ mr r3, r28 -/* 800B6CB8 000B3C18 48 28 7F 71 */ bl ReadFloat__12CInputStreamFv -/* 800B6CBC 000B3C1C D0 3F 00 DC */ stfs f1, 0xdc(r31) -/* 800B6CC0 000B3C20 7F 83 E3 78 */ mr r3, r28 -/* 800B6CC4 000B3C24 48 28 7F 65 */ bl ReadFloat__12CInputStreamFv -/* 800B6CC8 000B3C28 D0 3F 00 E0 */ stfs f1, 0xe0(r31) -/* 800B6CCC 000B3C2C 7F 83 E3 78 */ mr r3, r28 -/* 800B6CD0 000B3C30 48 28 7F 59 */ bl ReadFloat__12CInputStreamFv -/* 800B6CD4 000B3C34 D0 3F 00 E4 */ stfs f1, 0xe4(r31) -/* 800B6CD8 000B3C38 7F 83 E3 78 */ mr r3, r28 -/* 800B6CDC 000B3C3C 48 28 7F 4D */ bl ReadFloat__12CInputStreamFv -/* 800B6CE0 000B3C40 D0 3F 00 E8 */ stfs f1, 0xe8(r31) -/* 800B6CE4 000B3C44 7F 83 E3 78 */ mr r3, r28 -/* 800B6CE8 000B3C48 48 28 7F 41 */ bl ReadFloat__12CInputStreamFv -/* 800B6CEC 000B3C4C D0 3F 00 EC */ stfs f1, 0xec(r31) -/* 800B6CF0 000B3C50 7F 84 E3 78 */ mr r4, r28 -/* 800B6CF4 000B3C54 38 7F 00 F0 */ addi r3, r31, 0xf0 -/* 800B6CF8 000B3C58 48 2A C7 55 */ bl __ct__6CColorFR12CInputStream -/* 800B6CFC 000B3C5C 7F 84 E3 78 */ mr r4, r28 -/* 800B6D00 000B3C60 38 7F 00 F4 */ addi r3, r31, 0xf4 -/* 800B6D04 000B3C64 48 2A C7 49 */ bl __ct__6CColorFR12CInputStream -/* 800B6D08 000B3C68 7F 84 E3 78 */ mr r4, r28 -/* 800B6D0C 000B3C6C 38 7F 00 F8 */ addi r3, r31, 0xf8 -/* 800B6D10 000B3C70 48 2A C7 3D */ bl __ct__6CColorFR12CInputStream -/* 800B6D14 000B3C74 7F 84 E3 78 */ mr r4, r28 -/* 800B6D18 000B3C78 38 7F 00 FC */ addi r3, r31, 0xfc -/* 800B6D1C 000B3C7C 48 2A C7 31 */ bl __ct__6CColorFR12CInputStream -/* 800B6D20 000B3C80 7F 83 E3 78 */ mr r3, r28 -/* 800B6D24 000B3C84 48 28 7F 61 */ bl ReadLong__12CInputStreamFv -/* 800B6D28 000B3C88 3B C0 00 00 */ li r30, 0 -/* 800B6D2C 000B3C8C 90 7F 01 00 */ stw r3, 0x100(r31) -/* 800B6D30 000B3C90 7F DD F3 78 */ mr r29, r30 -/* 800B6D34 000B3C94 48 00 00 2C */ b lbl_800B6D60 -lbl_800B6D38: -/* 800B6D38 000B3C98 7F 84 E3 78 */ mr r4, r28 -/* 800B6D3C 000B3C9C 38 61 00 0C */ addi r3, r1, 0xc -/* 800B6D40 000B3CA0 48 2A C7 0D */ bl __ct__6CColorFR12CInputStream -/* 800B6D44 000B3CA4 7C 7F EA 14 */ add r3, r31, r29 -/* 800B6D48 000B3CA8 34 63 01 04 */ addic. r3, r3, 0x104 -/* 800B6D4C 000B3CAC 41 82 00 0C */ beq lbl_800B6D58 -/* 800B6D50 000B3CB0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800B6D54 000B3CB4 90 03 00 00 */ stw r0, 0(r3) -lbl_800B6D58: -/* 800B6D58 000B3CB8 3B BD 00 04 */ addi r29, r29, 4 -/* 800B6D5C 000B3CBC 3B DE 00 01 */ addi r30, r30, 1 -lbl_800B6D60: -/* 800B6D60 000B3CC0 80 1F 01 00 */ lwz r0, 0x100(r31) -/* 800B6D64 000B3CC4 7C 1E 00 00 */ cmpw r30, r0 -/* 800B6D68 000B3CC8 41 80 FF D0 */ blt lbl_800B6D38 -/* 800B6D6C 000B3CCC 7F 84 E3 78 */ mr r4, r28 -/* 800B6D70 000B3CD0 38 7F 01 18 */ addi r3, r31, 0x118 -/* 800B6D74 000B3CD4 48 2A C6 D9 */ bl __ct__6CColorFR12CInputStream -/* 800B6D78 000B3CD8 7F 84 E3 78 */ mr r4, r28 -/* 800B6D7C 000B3CDC 38 7F 01 1C */ addi r3, r31, 0x11c -/* 800B6D80 000B3CE0 48 2A C6 CD */ bl __ct__6CColorFR12CInputStream -/* 800B6D84 000B3CE4 C3 E2 8D 0C */ lfs f31, lbl_805AAA2C@sda21(r2) -/* 800B6D88 000B3CE8 F3 E1 A0 0B */ psq_st f31, 11(r1), 1, qr2 -/* 800B6D8C 000B3CEC 88 01 00 0B */ lbz r0, 0xb(r1) -/* 800B6D90 000B3CF0 98 1F 00 3F */ stb r0, 0x3f(r31) -/* 800B6D94 000B3CF4 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 -/* 800B6D98 000B3CF8 88 01 00 0A */ lbz r0, 0xa(r1) -/* 800B6D9C 000B3CFC 98 1F 00 43 */ stb r0, 0x43(r31) -/* 800B6DA0 000B3D00 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 800B6DA4 000B3D04 88 01 00 09 */ lbz r0, 9(r1) -/* 800B6DA8 000B3D08 98 1F 00 47 */ stb r0, 0x47(r31) -/* 800B6DAC 000B3D0C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800B6DB0 000B3D10 7F E3 FB 78 */ mr r3, r31 -/* 800B6DB4 000B3D14 88 01 00 08 */ lbz r0, 8(r1) -/* 800B6DB8 000B3D18 98 1F 00 4B */ stb r0, 0x4b(r31) -/* 800B6DBC 000B3D1C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 800B6DC0 000B3D20 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B6DC4 000B3D24 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 800B6DC8 000B3D28 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B6DCC 000B3D2C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B6DD0 000B3D30 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B6DD4 000B3D34 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800B6DD8 000B3D38 7C 08 03 A6 */ mtlr r0 -/* 800B6DDC 000B3D3C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B6DE0 000B3D40 4E 80 00 20 */ blr - -.global __dt__16CTweakAutoMapperFv -__dt__16CTweakAutoMapperFv: -/* 800B6DE4 000B3D44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B6DE8 000B3D48 7C 08 02 A6 */ mflr r0 -/* 800B6DEC 000B3D4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6DF0 000B3D50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B6DF4 000B3D54 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800B6DF8 000B3D58 41 82 00 90 */ beq lbl_800B6E88 -/* 800B6DFC 000B3D5C 3C 60 80 3E */ lis r3, lbl_803DF438@ha -/* 800B6E00 000B3D60 34 1F 01 00 */ addic. r0, r31, 0x100 -/* 800B6E04 000B3D64 38 03 F4 38 */ addi r0, r3, lbl_803DF438@l -/* 800B6E08 000B3D68 90 1F 00 00 */ stw r0, 0(r31) -/* 800B6E0C 000B3D6C 41 82 00 58 */ beq lbl_800B6E64 -/* 800B6E10 000B3D70 80 DF 01 00 */ lwz r6, 0x100(r31) -/* 800B6E14 000B3D74 38 60 00 00 */ li r3, 0 -/* 800B6E18 000B3D78 2C 06 00 00 */ cmpwi r6, 0 -/* 800B6E1C 000B3D7C 40 81 00 40 */ ble lbl_800B6E5C -/* 800B6E20 000B3D80 2C 06 00 08 */ cmpwi r6, 8 -/* 800B6E24 000B3D84 38 A6 FF F8 */ addi r5, r6, -8 -/* 800B6E28 000B3D88 40 81 00 20 */ ble lbl_800B6E48 -/* 800B6E2C 000B3D8C 38 05 00 07 */ addi r0, r5, 7 -/* 800B6E30 000B3D90 54 00 E8 FE */ srwi r0, r0, 3 -/* 800B6E34 000B3D94 7C 09 03 A6 */ mtctr r0 -/* 800B6E38 000B3D98 2C 05 00 00 */ cmpwi r5, 0 -/* 800B6E3C 000B3D9C 40 81 00 0C */ ble lbl_800B6E48 -lbl_800B6E40: -/* 800B6E40 000B3DA0 38 63 00 08 */ addi r3, r3, 8 -/* 800B6E44 000B3DA4 42 00 FF FC */ bdnz lbl_800B6E40 -lbl_800B6E48: -/* 800B6E48 000B3DA8 7C 03 30 50 */ subf r0, r3, r6 -/* 800B6E4C 000B3DAC 7C 09 03 A6 */ mtctr r0 -/* 800B6E50 000B3DB0 7C 03 30 00 */ cmpw r3, r6 -/* 800B6E54 000B3DB4 40 80 00 08 */ bge lbl_800B6E5C -lbl_800B6E58: -/* 800B6E58 000B3DB8 42 00 00 00 */ bdnz lbl_800B6E58 -lbl_800B6E5C: -/* 800B6E5C 000B3DBC 38 00 00 00 */ li r0, 0 -/* 800B6E60 000B3DC0 90 1F 01 00 */ stw r0, 0x100(r31) -lbl_800B6E64: -/* 800B6E64 000B3DC4 28 1F 00 00 */ cmplwi r31, 0 -/* 800B6E68 000B3DC8 41 82 00 10 */ beq lbl_800B6E78 -/* 800B6E6C 000B3DCC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 800B6E70 000B3DD0 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 800B6E74 000B3DD4 90 1F 00 00 */ stw r0, 0(r31) -lbl_800B6E78: -/* 800B6E78 000B3DD8 7C 80 07 35 */ extsh. r0, r4 -/* 800B6E7C 000B3DDC 40 81 00 0C */ ble lbl_800B6E88 -/* 800B6E80 000B3DE0 7F E3 FB 78 */ mr r3, r31 -/* 800B6E84 000B3DE4 48 00 00 1D */ bl "__dl__30TOneStatic<16CTweakAutoMapper>FPv" -lbl_800B6E88: -/* 800B6E88 000B3DE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B6E8C 000B3DEC 7F E3 FB 78 */ mr r3, r31 -/* 800B6E90 000B3DF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B6E94 000B3DF4 7C 08 03 A6 */ mtlr r0 -/* 800B6E98 000B3DF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B6E9C 000B3DFC 4E 80 00 20 */ blr - -.global "__dl__30TOneStatic<16CTweakAutoMapper>FPv" -"__dl__30TOneStatic<16CTweakAutoMapper>FPv": -/* 800B6EA0 000B3E00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B6EA4 000B3E04 7C 08 02 A6 */ mflr r0 -/* 800B6EA8 000B3E08 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6EAC 000B3E0C 4B F8 00 39 */ bl "ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv" -/* 800B6EB0 000B3E10 80 83 00 00 */ lwz r4, 0(r3) -/* 800B6EB4 000B3E14 38 04 FF FF */ addi r0, r4, -1 -/* 800B6EB8 000B3E18 90 03 00 00 */ stw r0, 0(r3) -/* 800B6EBC 000B3E1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B6EC0 000B3E20 7C 08 03 A6 */ mtlr r0 -/* 800B6EC4 000B3E24 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B6EC8 000B3E28 4E 80 00 20 */ blr - -.global IsSystemDeletable__23CParticleGenInfoGenericCFv -IsSystemDeletable__23CParticleGenInfoGenericCFv: -/* 800B6ECC 000B3E2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B6ED0 000B3E30 7C 08 02 A6 */ mflr r0 -/* 800B6ED4 000B3E34 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6ED8 000B3E38 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B6EDC 000B3E3C 80 63 00 00 */ lwz r3, 0(r3) -/* 800B6EE0 000B3E40 81 83 00 00 */ lwz r12, 0(r3) -/* 800B6EE4 000B3E44 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 800B6EE8 000B3E48 7D 89 03 A6 */ mtctr r12 -/* 800B6EEC 000B3E4C 4E 80 04 21 */ bctrl -/* 800B6EF0 000B3E50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B6EF4 000B3E54 7C 08 03 A6 */ mtlr r0 -/* 800B6EF8 000B3E58 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B6EFC 000B3E5C 4E 80 00 20 */ blr - -.global GetBounds__23CParticleGenInfoGenericCFv -GetBounds__23CParticleGenInfoGenericCFv: -/* 800B6F00 000B3E60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B6F04 000B3E64 7C 08 02 A6 */ mflr r0 -/* 800B6F08 000B3E68 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6F0C 000B3E6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B6F10 000B3E70 7C 7F 1B 78 */ mr r31, r3 -/* 800B6F14 000B3E74 80 84 00 84 */ lwz r4, 0x84(r4) -/* 800B6F18 000B3E78 80 84 00 00 */ lwz r4, 0(r4) -/* 800B6F1C 000B3E7C 81 84 00 00 */ lwz r12, 0(r4) -/* 800B6F20 000B3E80 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 800B6F24 000B3E84 7D 89 03 A6 */ mtctr r12 -/* 800B6F28 000B3E88 4E 80 04 21 */ bctrl -/* 800B6F2C 000B3E8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B6F30 000B3E90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B6F34 000B3E94 7C 08 03 A6 */ mtlr r0 -/* 800B6F38 000B3E98 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B6F3C 000B3E9C 4E 80 00 20 */ blr - -.global HasActiveParticles__23CParticleGenInfoGenericCFv -HasActiveParticles__23CParticleGenInfoGenericCFv: -/* 800B6F40 000B3EA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B6F44 000B3EA4 7C 08 02 A6 */ mflr r0 -/* 800B6F48 000B3EA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6F4C 000B3EAC 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B6F50 000B3EB0 80 63 00 00 */ lwz r3, 0(r3) -/* 800B6F54 000B3EB4 81 83 00 00 */ lwz r12, 0(r3) -/* 800B6F58 000B3EB8 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800B6F5C 000B3EBC 7D 89 03 A6 */ mtctr r12 -/* 800B6F60 000B3EC0 4E 80 04 21 */ bctrl -/* 800B6F64 000B3EC4 7C 03 00 D0 */ neg r0, r3 -/* 800B6F68 000B3EC8 7C 00 18 78 */ andc r0, r0, r3 -/* 800B6F6C 000B3ECC 54 03 0F FE */ srwi r3, r0, 0x1f -/* 800B6F70 000B3ED0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B6F74 000B3ED4 7C 08 03 A6 */ mtlr r0 -/* 800B6F78 000B3ED8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B6F7C 000B3EDC 4E 80 00 20 */ blr - -.global DestroyParticles__23CParticleGenInfoGenericFv -DestroyParticles__23CParticleGenInfoGenericFv: -/* 800B6F80 000B3EE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B6F84 000B3EE4 7C 08 02 A6 */ mflr r0 -/* 800B6F88 000B3EE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6F8C 000B3EEC 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B6F90 000B3EF0 80 63 00 00 */ lwz r3, 0(r3) -/* 800B6F94 000B3EF4 81 83 00 00 */ lwz r12, 0(r3) -/* 800B6F98 000B3EF8 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 800B6F9C 000B3EFC 7D 89 03 A6 */ mtctr r12 -/* 800B6FA0 000B3F00 4E 80 04 21 */ bctrl -/* 800B6FA4 000B3F04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B6FA8 000B3F08 7C 08 03 A6 */ mtlr r0 -/* 800B6FAC 000B3F0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B6FB0 000B3F10 4E 80 00 20 */ blr - -.global HasLight__23CParticleGenInfoGenericCFv -HasLight__23CParticleGenInfoGenericCFv: -/* 800B6FB4 000B3F14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B6FB8 000B3F18 7C 08 02 A6 */ mflr r0 -/* 800B6FBC 000B3F1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6FC0 000B3F20 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B6FC4 000B3F24 80 63 00 00 */ lwz r3, 0(r3) -/* 800B6FC8 000B3F28 81 83 00 00 */ lwz r12, 0(r3) -/* 800B6FCC 000B3F2C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800B6FD0 000B3F30 7D 89 03 A6 */ mtctr r12 -/* 800B6FD4 000B3F34 4E 80 04 21 */ bctrl -/* 800B6FD8 000B3F38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B6FDC 000B3F3C 7C 08 03 A6 */ mtlr r0 -/* 800B6FE0 000B3F40 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B6FE4 000B3F44 4E 80 00 20 */ blr - -.global SetModulationColor__23CParticleGenInfoGenericFRC6CColor -SetModulationColor__23CParticleGenInfoGenericFRC6CColor: -/* 800B6FE8 000B3F48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B6FEC 000B3F4C 7C 08 02 A6 */ mflr r0 -/* 800B6FF0 000B3F50 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B6FF4 000B3F54 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B6FF8 000B3F58 80 63 00 00 */ lwz r3, 0(r3) -/* 800B6FFC 000B3F5C 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7000 000B3F60 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800B7004 000B3F64 7D 89 03 A6 */ mtctr r12 -/* 800B7008 000B3F68 4E 80 04 21 */ bctrl -/* 800B700C 000B3F6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7010 000B3F70 7C 08 03 A6 */ mtlr r0 -/* 800B7014 000B3F74 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7018 000B3F78 4E 80 00 20 */ blr - -.global GetLightId__23CParticleGenInfoGenericCFv -GetLightId__23CParticleGenInfoGenericCFv: -/* 800B701C 000B3F7C A0 04 00 88 */ lhz r0, 0x88(r4) -/* 800B7020 000B3F80 B0 03 00 00 */ sth r0, 0(r3) -/* 800B7024 000B3F84 4E 80 00 20 */ blr - -.global DeleteLight__23CParticleGenInfoGenericFR13CStateManager -DeleteLight__23CParticleGenInfoGenericFR13CStateManager: -/* 800B7028 000B3F88 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B702C 000B3F8C 7C 08 02 A6 */ mflr r0 -/* 800B7030 000B3F90 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B7034 000B3F94 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B7038 000B3F98 7C 7F 1B 78 */ mr r31, r3 -/* 800B703C 000B3F9C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B7040 000B3FA0 A0 63 00 88 */ lhz r3, 0x88(r3) -/* 800B7044 000B3FA4 7C 03 00 40 */ cmplw r3, r0 -/* 800B7048 000B3FA8 41 82 00 20 */ beq lbl_800B7068 -/* 800B704C 000B3FAC A0 1F 00 88 */ lhz r0, 0x88(r31) -/* 800B7050 000B3FB0 7C 83 23 78 */ mr r3, r4 -/* 800B7054 000B3FB4 38 81 00 08 */ addi r4, r1, 8 -/* 800B7058 000B3FB8 B0 01 00 08 */ sth r0, 8(r1) -/* 800B705C 000B3FBC 4B F9 52 11 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 800B7060 000B3FC0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B7064 000B3FC4 B0 1F 00 88 */ sth r0, 0x88(r31) -lbl_800B7068: -/* 800B7068 000B3FC8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B706C 000B3FCC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B7070 000B3FD0 7C 08 03 A6 */ mtlr r0 -/* 800B7074 000B3FD4 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B7078 000B3FD8 4E 80 00 20 */ blr - -.global SetParticleEmission__23CParticleGenInfoGenericFbR13CStateManager -SetParticleEmission__23CParticleGenInfoGenericFbR13CStateManager: -/* 800B707C 000B3FDC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B7080 000B3FE0 7C 08 02 A6 */ mflr r0 -/* 800B7084 000B3FE4 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B7088 000B3FE8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800B708C 000B3FEC 7C BF 2B 78 */ mr r31, r5 -/* 800B7090 000B3FF0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800B7094 000B3FF4 7C 9E 23 78 */ mr r30, r4 -/* 800B7098 000B3FF8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800B709C 000B3FFC 7C 7D 1B 78 */ mr r29, r3 -/* 800B70A0 000B4000 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B70A4 000B4004 80 63 00 00 */ lwz r3, 0(r3) -/* 800B70A8 000B4008 81 83 00 00 */ lwz r12, 0(r3) -/* 800B70AC 000B400C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800B70B0 000B4010 7D 89 03 A6 */ mtctr r12 -/* 800B70B4 000B4014 4E 80 04 21 */ bctrl -/* 800B70B8 000B4018 A0 7D 00 88 */ lhz r3, 0x88(r29) -/* 800B70BC 000B401C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B70C0 000B4020 7C 03 00 40 */ cmplw r3, r0 -/* 800B70C4 000B4024 41 82 00 44 */ beq lbl_800B7108 -/* 800B70C8 000B4028 A0 1D 00 88 */ lhz r0, 0x88(r29) -/* 800B70CC 000B402C 7F E3 FB 78 */ mr r3, r31 -/* 800B70D0 000B4030 38 81 00 08 */ addi r4, r1, 8 -/* 800B70D4 000B4034 B0 01 00 08 */ sth r0, 8(r1) -/* 800B70D8 000B4038 4B F9 54 9D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B70DC 000B403C 7C 64 1B 78 */ mr r4, r3 -/* 800B70E0 000B4040 38 61 00 0C */ addi r3, r1, 0xc -/* 800B70E4 000B4044 4B FF 69 A1 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 800B70E8 000B4048 80 63 00 04 */ lwz r3, 4(r3) -/* 800B70EC 000B404C 28 03 00 00 */ cmplwi r3, 0 -/* 800B70F0 000B4050 41 82 00 18 */ beq lbl_800B7108 -/* 800B70F4 000B4054 81 83 00 00 */ lwz r12, 0(r3) -/* 800B70F8 000B4058 57 C4 06 3E */ clrlwi r4, r30, 0x18 -/* 800B70FC 000B405C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800B7100 000B4060 7D 89 03 A6 */ mtctr r12 -/* 800B7104 000B4064 4E 80 04 21 */ bctrl -lbl_800B7108: -/* 800B7108 000B4068 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B710C 000B406C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800B7110 000B4070 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800B7114 000B4074 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800B7118 000B4078 7C 08 03 A6 */ mtlr r0 -/* 800B711C 000B407C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B7120 000B4080 4E 80 00 20 */ blr - -.global SetGlobalScale__23CParticleGenInfoGenericFRC9CVector3f -SetGlobalScale__23CParticleGenInfoGenericFRC9CVector3f: -/* 800B7124 000B4084 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7128 000B4088 7C 08 02 A6 */ mflr r0 -/* 800B712C 000B408C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B7130 000B4090 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B7134 000B4094 80 63 00 00 */ lwz r3, 0(r3) -/* 800B7138 000B4098 81 83 00 00 */ lwz r12, 0(r3) -/* 800B713C 000B409C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800B7140 000B40A0 7D 89 03 A6 */ mtctr r12 -/* 800B7144 000B40A4 4E 80 04 21 */ bctrl -/* 800B7148 000B40A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B714C 000B40AC 7C 08 03 A6 */ mtlr r0 -/* 800B7150 000B40B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7154 000B40B4 4E 80 00 20 */ blr - -.global SetGlobalTranslation__23CParticleGenInfoGenericFRC9CVector3fR13CStateManager -SetGlobalTranslation__23CParticleGenInfoGenericFRC9CVector3fR13CStateManager: -/* 800B7158 000B40B8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B715C 000B40BC 7C 08 02 A6 */ mflr r0 -/* 800B7160 000B40C0 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B7164 000B40C4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800B7168 000B40C8 7C BF 2B 78 */ mr r31, r5 -/* 800B716C 000B40CC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800B7170 000B40D0 7C 9E 23 78 */ mr r30, r4 -/* 800B7174 000B40D4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800B7178 000B40D8 7C 7D 1B 78 */ mr r29, r3 -/* 800B717C 000B40DC 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B7180 000B40E0 80 63 00 00 */ lwz r3, 0(r3) -/* 800B7184 000B40E4 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7188 000B40E8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800B718C 000B40EC 7D 89 03 A6 */ mtctr r12 -/* 800B7190 000B40F0 4E 80 04 21 */ bctrl -/* 800B7194 000B40F4 A0 7D 00 88 */ lhz r3, 0x88(r29) -/* 800B7198 000B40F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B719C 000B40FC 7C 03 00 40 */ cmplw r3, r0 -/* 800B71A0 000B4100 41 82 00 38 */ beq lbl_800B71D8 -/* 800B71A4 000B4104 A0 1D 00 88 */ lhz r0, 0x88(r29) -/* 800B71A8 000B4108 7F E3 FB 78 */ mr r3, r31 -/* 800B71AC 000B410C 38 81 00 08 */ addi r4, r1, 8 -/* 800B71B0 000B4110 B0 01 00 08 */ sth r0, 8(r1) -/* 800B71B4 000B4114 4B F9 53 C1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B71B8 000B4118 7C 64 1B 78 */ mr r4, r3 -/* 800B71BC 000B411C 38 61 00 0C */ addi r3, r1, 0xc -/* 800B71C0 000B4120 4B FF 68 C5 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 800B71C4 000B4124 80 63 00 04 */ lwz r3, 4(r3) -/* 800B71C8 000B4128 28 03 00 00 */ cmplwi r3, 0 -/* 800B71CC 000B412C 41 82 00 0C */ beq lbl_800B71D8 -/* 800B71D0 000B4130 7F C4 F3 78 */ mr r4, r30 -/* 800B71D4 000B4134 4B F9 BC B9 */ bl SetTranslation__6CActorFRC9CVector3f -lbl_800B71D8: -/* 800B71D8 000B4138 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B71DC 000B413C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800B71E0 000B4140 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800B71E4 000B4144 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800B71E8 000B4148 7C 08 03 A6 */ mtlr r0 -/* 800B71EC 000B414C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B71F0 000B4150 4E 80 00 20 */ blr - -.global SetGlobalOrientation__23CParticleGenInfoGenericFRC12CTransform4fR13CStateManager -SetGlobalOrientation__23CParticleGenInfoGenericFRC12CTransform4fR13CStateManager: -/* 800B71F4 000B4154 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800B71F8 000B4158 7C 08 02 A6 */ mflr r0 -/* 800B71FC 000B415C 90 01 00 74 */ stw r0, 0x74(r1) -/* 800B7200 000B4160 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800B7204 000B4164 7C BF 2B 78 */ mr r31, r5 -/* 800B7208 000B4168 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800B720C 000B416C 7C 9E 23 78 */ mr r30, r4 -/* 800B7210 000B4170 93 A1 00 64 */ stw r29, 0x64(r1) -/* 800B7214 000B4174 7C 7D 1B 78 */ mr r29, r3 -/* 800B7218 000B4178 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B721C 000B417C 80 63 00 00 */ lwz r3, 0(r3) -/* 800B7220 000B4180 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7224 000B4184 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800B7228 000B4188 7D 89 03 A6 */ mtctr r12 -/* 800B722C 000B418C 4E 80 04 21 */ bctrl -/* 800B7230 000B4190 A0 7D 00 88 */ lhz r3, 0x88(r29) -/* 800B7234 000B4194 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B7238 000B4198 7C 03 00 40 */ cmplw r3, r0 -/* 800B723C 000B419C 41 82 00 98 */ beq lbl_800B72D4 -/* 800B7240 000B41A0 A0 1D 00 88 */ lhz r0, 0x88(r29) -/* 800B7244 000B41A4 7F E3 FB 78 */ mr r3, r31 -/* 800B7248 000B41A8 38 81 00 08 */ addi r4, r1, 8 -/* 800B724C 000B41AC B0 01 00 08 */ sth r0, 8(r1) -/* 800B7250 000B41B0 4B F9 53 25 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B7254 000B41B4 7C 64 1B 78 */ mr r4, r3 -/* 800B7258 000B41B8 38 61 00 0C */ addi r3, r1, 0xc -/* 800B725C 000B41BC 4B FF 68 29 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 800B7260 000B41C0 83 E3 00 04 */ lwz r31, 4(r3) -/* 800B7264 000B41C4 28 1F 00 00 */ cmplwi r31, 0 -/* 800B7268 000B41C8 41 82 00 6C */ beq lbl_800B72D4 -/* 800B726C 000B41CC 7F C4 F3 78 */ mr r4, r30 -/* 800B7270 000B41D0 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B7274 000B41D4 48 25 AE B5 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 800B7278 000B41D8 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 800B727C 000B41DC 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B7280 000B41E0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 800B7284 000B41E4 38 81 00 20 */ addi r4, r1, 0x20 -/* 800B7288 000B41E8 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800B728C 000B41EC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800B7290 000B41F0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800B7294 000B41F4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800B7298 000B41F8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800B729C 000B41FC 48 25 AC 21 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 800B72A0 000B4200 38 7F 00 34 */ addi r3, r31, 0x34 -/* 800B72A4 000B4204 38 81 00 30 */ addi r4, r1, 0x30 -/* 800B72A8 000B4208 48 25 B8 99 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800B72AC 000B420C 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800B72B0 000B4210 38 60 00 01 */ li r3, 1 -/* 800B72B4 000B4214 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800B72B8 000B4218 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800B72BC 000B421C 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800B72C0 000B4220 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800B72C4 000B4224 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800B72C8 000B4228 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800B72CC 000B422C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800B72D0 000B4230 98 1F 00 E4 */ stb r0, 0xe4(r31) -lbl_800B72D4: -/* 800B72D4 000B4234 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800B72D8 000B4238 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800B72DC 000B423C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800B72E0 000B4240 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 800B72E4 000B4244 7C 08 03 A6 */ mtlr r0 -/* 800B72E8 000B4248 38 21 00 70 */ addi r1, r1, 0x70 -/* 800B72EC 000B424C 4E 80 00 20 */ blr - -.global SetTranslation__23CParticleGenInfoGenericFRC9CVector3fR13CStateManager -SetTranslation__23CParticleGenInfoGenericFRC9CVector3fR13CStateManager: -/* 800B72F0 000B4250 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B72F4 000B4254 7C 08 02 A6 */ mflr r0 -/* 800B72F8 000B4258 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B72FC 000B425C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800B7300 000B4260 7C BF 2B 78 */ mr r31, r5 -/* 800B7304 000B4264 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800B7308 000B4268 7C 9E 23 78 */ mr r30, r4 -/* 800B730C 000B426C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800B7310 000B4270 7C 7D 1B 78 */ mr r29, r3 -/* 800B7314 000B4274 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B7318 000B4278 80 63 00 00 */ lwz r3, 0(r3) -/* 800B731C 000B427C 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7320 000B4280 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800B7324 000B4284 7D 89 03 A6 */ mtctr r12 -/* 800B7328 000B4288 4E 80 04 21 */ bctrl -/* 800B732C 000B428C A0 7D 00 88 */ lhz r3, 0x88(r29) -/* 800B7330 000B4290 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B7334 000B4294 7C 03 00 40 */ cmplw r3, r0 -/* 800B7338 000B4298 41 82 00 38 */ beq lbl_800B7370 -/* 800B733C 000B429C A0 1D 00 88 */ lhz r0, 0x88(r29) -/* 800B7340 000B42A0 7F E3 FB 78 */ mr r3, r31 -/* 800B7344 000B42A4 38 81 00 08 */ addi r4, r1, 8 -/* 800B7348 000B42A8 B0 01 00 08 */ sth r0, 8(r1) -/* 800B734C 000B42AC 4B F9 52 29 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B7350 000B42B0 7C 64 1B 78 */ mr r4, r3 -/* 800B7354 000B42B4 38 61 00 0C */ addi r3, r1, 0xc -/* 800B7358 000B42B8 4B FF 67 2D */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 800B735C 000B42BC 80 63 00 04 */ lwz r3, 4(r3) -/* 800B7360 000B42C0 28 03 00 00 */ cmplwi r3, 0 -/* 800B7364 000B42C4 41 82 00 0C */ beq lbl_800B7370 -/* 800B7368 000B42C8 7F C4 F3 78 */ mr r4, r30 -/* 800B736C 000B42CC 4B F9 BB 21 */ bl SetTranslation__6CActorFRC9CVector3f -lbl_800B7370: -/* 800B7370 000B42D0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B7374 000B42D4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800B7378 000B42D8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800B737C 000B42DC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800B7380 000B42E0 7C 08 03 A6 */ mtlr r0 -/* 800B7384 000B42E4 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B7388 000B42E8 4E 80 00 20 */ blr - -.global SetOrientation__23CParticleGenInfoGenericFRC12CTransform4fR13CStateManager -SetOrientation__23CParticleGenInfoGenericFRC12CTransform4fR13CStateManager: -/* 800B738C 000B42EC 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 800B7390 000B42F0 7C 08 02 A6 */ mflr r0 -/* 800B7394 000B42F4 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800B7398 000B42F8 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 800B739C 000B42FC 7C BF 2B 78 */ mr r31, r5 -/* 800B73A0 000B4300 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 800B73A4 000B4304 7C 9E 23 78 */ mr r30, r4 -/* 800B73A8 000B4308 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 800B73AC 000B430C 7C 7D 1B 78 */ mr r29, r3 -/* 800B73B0 000B4310 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B73B4 000B4314 80 63 00 00 */ lwz r3, 0(r3) -/* 800B73B8 000B4318 81 83 00 00 */ lwz r12, 0(r3) -/* 800B73BC 000B431C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800B73C0 000B4320 7D 89 03 A6 */ mtctr r12 -/* 800B73C4 000B4324 4E 80 04 21 */ bctrl -/* 800B73C8 000B4328 A0 7D 00 88 */ lhz r3, 0x88(r29) -/* 800B73CC 000B432C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B73D0 000B4330 7C 03 00 40 */ cmplw r3, r0 -/* 800B73D4 000B4334 41 82 00 BC */ beq lbl_800B7490 -/* 800B73D8 000B4338 A0 1D 00 88 */ lhz r0, 0x88(r29) -/* 800B73DC 000B433C 7F E3 FB 78 */ mr r3, r31 -/* 800B73E0 000B4340 38 81 00 08 */ addi r4, r1, 8 -/* 800B73E4 000B4344 B0 01 00 08 */ sth r0, 8(r1) -/* 800B73E8 000B4348 4B F9 51 8D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B73EC 000B434C 7C 64 1B 78 */ mr r4, r3 -/* 800B73F0 000B4350 38 61 00 0C */ addi r3, r1, 0xc -/* 800B73F4 000B4354 4B FF 66 91 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 800B73F8 000B4358 83 E3 00 04 */ lwz r31, 4(r3) -/* 800B73FC 000B435C 28 1F 00 00 */ cmplwi r31, 0 -/* 800B7400 000B4360 41 82 00 90 */ beq lbl_800B7490 -/* 800B7404 000B4364 7F C4 F3 78 */ mr r4, r30 -/* 800B7408 000B4368 38 61 00 84 */ addi r3, r1, 0x84 -/* 800B740C 000B436C 48 25 BC E9 */ bl BuildMatrix3f__12CTransform4fCFv -/* 800B7410 000B4370 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 800B7414 000B4374 38 81 00 84 */ addi r4, r1, 0x84 -/* 800B7418 000B4378 48 25 8C 0D */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800B741C 000B437C 38 61 00 60 */ addi r3, r1, 0x60 -/* 800B7420 000B4380 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 800B7424 000B4384 48 25 8E D5 */ bl Orthonormalized__9CMatrix3fCFv -/* 800B7428 000B4388 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B742C 000B438C 38 81 00 60 */ addi r4, r1, 0x60 -/* 800B7430 000B4390 48 25 AD 51 */ bl FromMatrix__11CQuaternionFRC9CMatrix3f -/* 800B7434 000B4394 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 800B7438 000B4398 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B743C 000B439C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 800B7440 000B43A0 38 81 00 20 */ addi r4, r1, 0x20 -/* 800B7444 000B43A4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800B7448 000B43A8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800B744C 000B43AC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800B7450 000B43B0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800B7454 000B43B4 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800B7458 000B43B8 48 25 AA 65 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 800B745C 000B43BC 38 7F 00 34 */ addi r3, r31, 0x34 -/* 800B7460 000B43C0 38 81 00 30 */ addi r4, r1, 0x30 -/* 800B7464 000B43C4 48 25 B6 DD */ bl __as__12CTransform4fFRC12CTransform4f -/* 800B7468 000B43C8 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800B746C 000B43CC 38 60 00 01 */ li r3, 1 -/* 800B7470 000B43D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800B7474 000B43D4 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800B7478 000B43D8 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800B747C 000B43DC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800B7480 000B43E0 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800B7484 000B43E4 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800B7488 000B43E8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800B748C 000B43EC 98 1F 00 E4 */ stb r0, 0xe4(r31) -lbl_800B7490: -/* 800B7490 000B43F0 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800B7494 000B43F4 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 800B7498 000B43F8 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 800B749C 000B43FC 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 800B74A0 000B4400 7C 08 03 A6 */ mtlr r0 -/* 800B74A4 000B4404 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800B74A8 000B4408 4E 80 00 20 */ blr - -.global Update__23CParticleGenInfoGenericFfR13CStateManager -Update__23CParticleGenInfoGenericFfR13CStateManager: -/* 800B74AC 000B440C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800B74B0 000B4410 7C 08 02 A6 */ mflr r0 -/* 800B74B4 000B4414 90 01 00 74 */ stw r0, 0x74(r1) -/* 800B74B8 000B4418 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800B74BC 000B441C 7C 9F 23 78 */ mr r31, r4 -/* 800B74C0 000B4420 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800B74C4 000B4424 7C 7E 1B 78 */ mr r30, r3 -/* 800B74C8 000B4428 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B74CC 000B442C 80 63 00 00 */ lwz r3, 0(r3) -/* 800B74D0 000B4430 81 83 00 00 */ lwz r12, 0(r3) -/* 800B74D4 000B4434 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800B74D8 000B4438 7D 89 03 A6 */ mtctr r12 -/* 800B74DC 000B443C 4E 80 04 21 */ bctrl -/* 800B74E0 000B4440 A0 7E 00 88 */ lhz r3, 0x88(r30) -/* 800B74E4 000B4444 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B74E8 000B4448 7C 03 00 40 */ cmplw r3, r0 -/* 800B74EC 000B444C 41 82 00 58 */ beq lbl_800B7544 -/* 800B74F0 000B4450 A0 1E 00 88 */ lhz r0, 0x88(r30) -/* 800B74F4 000B4454 7F E3 FB 78 */ mr r3, r31 -/* 800B74F8 000B4458 38 81 00 08 */ addi r4, r1, 8 -/* 800B74FC 000B445C B0 01 00 08 */ sth r0, 8(r1) -/* 800B7500 000B4460 4B F9 50 75 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800B7504 000B4464 7C 64 1B 78 */ mr r4, r3 -/* 800B7508 000B4468 38 61 00 0C */ addi r3, r1, 0xc -/* 800B750C 000B446C 4B FF 65 79 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 800B7510 000B4470 83 E3 00 04 */ lwz r31, 4(r3) -/* 800B7514 000B4474 28 1F 00 00 */ cmplwi r31, 0 -/* 800B7518 000B4478 41 82 00 2C */ beq lbl_800B7544 -/* 800B751C 000B447C 80 9E 00 84 */ lwz r4, 0x84(r30) -/* 800B7520 000B4480 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B7524 000B4484 80 84 00 00 */ lwz r4, 0(r4) -/* 800B7528 000B4488 81 84 00 00 */ lwz r12, 0(r4) -/* 800B752C 000B448C 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800B7530 000B4490 7D 89 03 A6 */ mtctr r12 -/* 800B7534 000B4494 4E 80 04 21 */ bctrl -/* 800B7538 000B4498 7F E3 FB 78 */ mr r3, r31 -/* 800B753C 000B449C 38 81 00 14 */ addi r4, r1, 0x14 -/* 800B7540 000B44A0 4B FF E2 05 */ bl SetLight__10CGameLightFRC6CLight -lbl_800B7544: -/* 800B7544 000B44A4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800B7548 000B44A8 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800B754C 000B44AC 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800B7550 000B44B0 7C 08 03 A6 */ mtlr r0 -/* 800B7554 000B44B4 38 21 00 70 */ addi r1, r1, 0x70 -/* 800B7558 000B44B8 4E 80 00 20 */ blr - -.global Render__23CParticleGenInfoGenericFv -Render__23CParticleGenInfoGenericFv: -/* 800B755C 000B44BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7560 000B44C0 7C 08 02 A6 */ mflr r0 -/* 800B7564 000B44C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B7568 000B44C8 80 63 00 84 */ lwz r3, 0x84(r3) -/* 800B756C 000B44CC 80 63 00 00 */ lwz r3, 0(r3) -/* 800B7570 000B44D0 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7574 000B44D4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800B7578 000B44D8 7D 89 03 A6 */ mtctr r12 -/* 800B757C 000B44DC 4E 80 04 21 */ bctrl -/* 800B7580 000B44E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7584 000B44E4 7C 08 03 A6 */ mtlr r0 -/* 800B7588 000B44E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B758C 000B44EC 4E 80 00 20 */ blr - -.global AddToRenderer__23CParticleGenInfoGenericFv -AddToRenderer__23CParticleGenInfoGenericFv: -/* 800B7590 000B44F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7594 000B44F4 7C 08 02 A6 */ mflr r0 -/* 800B7598 000B44F8 7C 64 1B 78 */ mr r4, r3 -/* 800B759C 000B44FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B75A0 000B4500 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800B75A4 000B4504 80 84 00 84 */ lwz r4, 0x84(r4) -/* 800B75A8 000B4508 81 83 00 00 */ lwz r12, 0(r3) -/* 800B75AC 000B450C 80 84 00 00 */ lwz r4, 0(r4) -/* 800B75B0 000B4510 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800B75B4 000B4514 7D 89 03 A6 */ mtctr r12 -/* 800B75B8 000B4518 4E 80 04 21 */ bctrl -/* 800B75BC 000B451C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B75C0 000B4520 7C 08 03 A6 */ mtlr r0 -/* 800B75C4 000B4524 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B75C8 000B4528 4E 80 00 20 */ blr - -.global __dt__23CParticleGenInfoGenericFv -__dt__23CParticleGenInfoGenericFv: -/* 800B75CC 000B452C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B75D0 000B4530 7C 08 02 A6 */ mflr r0 -/* 800B75D4 000B4534 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B75D8 000B4538 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B75DC 000B453C 7C 9F 23 78 */ mr r31, r4 -/* 800B75E0 000B4540 93 C1 00 08 */ stw r30, 8(r1) -/* 800B75E4 000B4544 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800B75E8 000B4548 41 82 00 5C */ beq lbl_800B7644 -/* 800B75EC 000B454C 3C 60 80 3E */ lis r3, lbl_803DF448@ha -/* 800B75F0 000B4550 34 1E 00 84 */ addic. r0, r30, 0x84 -/* 800B75F4 000B4554 38 03 F4 48 */ addi r0, r3, lbl_803DF448@l -/* 800B75F8 000B4558 90 1E 00 00 */ stw r0, 0(r30) -/* 800B75FC 000B455C 41 82 00 14 */ beq lbl_800B7610 -/* 800B7600 000B4560 34 1E 00 84 */ addic. r0, r30, 0x84 -/* 800B7604 000B4564 41 82 00 0C */ beq lbl_800B7610 -/* 800B7608 000B4568 38 7E 00 84 */ addi r3, r30, 0x84 -/* 800B760C 000B456C 48 00 03 F5 */ bl sub_800b7a00 -lbl_800B7610: -/* 800B7610 000B4570 28 1E 00 00 */ cmplwi r30, 0 -/* 800B7614 000B4574 41 82 00 20 */ beq lbl_800B7634 -/* 800B7618 000B4578 3C 60 80 3E */ lis r3, lbl_803DF498@ha -/* 800B761C 000B457C 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 800B7620 000B4580 38 03 F4 98 */ addi r0, r3, lbl_803DF498@l -/* 800B7624 000B4584 90 1E 00 00 */ stw r0, 0(r30) -/* 800B7628 000B4588 41 82 00 0C */ beq lbl_800B7634 -/* 800B762C 000B458C 38 7E 00 10 */ addi r3, r30, 0x10 -/* 800B7630 000B4590 48 28 64 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800B7634: -/* 800B7634 000B4594 7F E0 07 35 */ extsh. r0, r31 -/* 800B7638 000B4598 40 81 00 0C */ ble lbl_800B7644 -/* 800B763C 000B459C 7F C3 F3 78 */ mr r3, r30 -/* 800B7640 000B45A0 48 25 E2 F1 */ bl Free__7CMemoryFPCv -lbl_800B7644: -/* 800B7644 000B45A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7648 000B45A8 7F C3 F3 78 */ mr r3, r30 -/* 800B764C 000B45AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B7650 000B45B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B7654 000B45B4 7C 08 03 A6 */ mtlr r0 -/* 800B7658 000B45B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B765C 000B45BC 4E 80 00 20 */ blr - -.global "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" -"__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri": -/* 800B7660 000B45C0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B7664 000B45C4 7C 08 02 A6 */ mflr r0 -/* 800B7668 000B45C8 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B766C 000B45CC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800B7670 000B45D0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800B7674 000B45D4 7C BC 2B 78 */ mr r28, r5 -/* 800B7678 000B45D8 7C C5 33 78 */ mr r5, r6 -/* 800B767C 000B45DC 7C E6 3B 78 */ mr r6, r7 -/* 800B7680 000B45E0 7D 07 43 78 */ mr r7, r8 -/* 800B7684 000B45E4 7D 28 4B 78 */ mr r8, r9 -/* 800B7688 000B45E8 7D 49 53 78 */ mr r9, r10 -/* 800B768C 000B45EC 83 A1 00 38 */ lwz r29, 0x38(r1) -/* 800B7690 000B45F0 83 C1 00 3C */ lwz r30, 0x3c(r1) -/* 800B7694 000B45F4 7C 7B 1B 78 */ mr r27, r3 -/* 800B7698 000B45F8 83 E1 00 40 */ lwz r31, 0x40(r1) -/* 800B769C 000B45FC 7C 0A 03 78 */ mr r10, r0 -/* 800B76A0 000B4600 48 00 02 79 */ bl "__ct__16CParticleGenInfoFRC10SObjectTagiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC9CVector3fQ213CParticleData13EParentedModei" -/* 800B76A4 000B4604 3C 60 80 3E */ lis r3, lbl_803DF448@ha -/* 800B76A8 000B4608 3C 1F 00 01 */ addis r0, r31, 1 -/* 800B76AC 000B460C 38 63 F4 48 */ addi r3, r3, lbl_803DF448@l -/* 800B76B0 000B4610 90 7B 00 00 */ stw r3, 0(r27) -/* 800B76B4 000B4614 28 00 FF FF */ cmplwi r0, 0xffff -/* 800B76B8 000B4618 80 1C 00 00 */ lwz r0, 0(r28) -/* 800B76BC 000B461C 90 1B 00 84 */ stw r0, 0x84(r27) -/* 800B76C0 000B4620 80 9B 00 84 */ lwz r4, 0x84(r27) -/* 800B76C4 000B4624 80 64 00 04 */ lwz r3, 4(r4) -/* 800B76C8 000B4628 38 03 00 01 */ addi r0, r3, 1 -/* 800B76CC 000B462C 90 04 00 04 */ stw r0, 4(r4) -/* 800B76D0 000B4630 40 82 00 0C */ bne lbl_800B76DC -/* 800B76D4 000B4634 38 6D A3 8C */ addi r3, r13, lbl_805A8F4C@sda21 -/* 800B76D8 000B4638 48 00 00 28 */ b lbl_800B7700 -lbl_800B76DC: -/* 800B76DC 000B463C 80 1E 00 00 */ lwz r0, 0(r30) -/* 800B76E0 000B4640 7F 84 E3 78 */ mr r4, r28 -/* 800B76E4 000B4644 7F A5 EB 78 */ mr r5, r29 -/* 800B76E8 000B4648 7F E7 FB 78 */ mr r7, r31 -/* 800B76EC 000B464C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800B76F0 000B4650 38 61 00 08 */ addi r3, r1, 8 -/* 800B76F4 000B4654 38 C1 00 0C */ addi r6, r1, 0xc -/* 800B76F8 000B4658 48 00 00 91 */ bl "_initializeLight__FRCQ24rstl24ncrc_ptr<12CParticleGen>R13CStateManageri" -/* 800B76FC 000B465C 38 61 00 08 */ addi r3, r1, 8 -lbl_800B7700: -/* 800B7700 000B4660 A0 03 00 00 */ lhz r0, 0(r3) -/* 800B7704 000B4664 7F 63 DB 78 */ mr r3, r27 -/* 800B7708 000B4668 B0 1B 00 88 */ sth r0, 0x88(r27) -/* 800B770C 000B466C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 800B7710 000B4670 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B7714 000B4674 7C 08 03 A6 */ mtlr r0 -/* 800B7718 000B4678 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B771C 000B467C 4E 80 00 20 */ blr - -.global __dt__16CParticleGenInfoFv -__dt__16CParticleGenInfoFv: -/* 800B7720 000B4680 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7724 000B4684 7C 08 02 A6 */ mflr r0 -/* 800B7728 000B4688 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B772C 000B468C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B7730 000B4690 7C 9F 23 78 */ mr r31, r4 -/* 800B7734 000B4694 93 C1 00 08 */ stw r30, 8(r1) -/* 800B7738 000B4698 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800B773C 000B469C 41 82 00 30 */ beq lbl_800B776C -/* 800B7740 000B46A0 3C 60 80 3E */ lis r3, lbl_803DF498@ha -/* 800B7744 000B46A4 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 800B7748 000B46A8 38 03 F4 98 */ addi r0, r3, lbl_803DF498@l -/* 800B774C 000B46AC 90 1E 00 00 */ stw r0, 0(r30) -/* 800B7750 000B46B0 41 82 00 0C */ beq lbl_800B775C -/* 800B7754 000B46B4 38 7E 00 10 */ addi r3, r30, 0x10 -/* 800B7758 000B46B8 48 28 63 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800B775C: -/* 800B775C 000B46BC 7F E0 07 35 */ extsh. r0, r31 -/* 800B7760 000B46C0 40 81 00 0C */ ble lbl_800B776C -/* 800B7764 000B46C4 7F C3 F3 78 */ mr r3, r30 -/* 800B7768 000B46C8 48 25 E1 C9 */ bl Free__7CMemoryFPCv -lbl_800B776C: -/* 800B776C 000B46CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7770 000B46D0 7F C3 F3 78 */ mr r3, r30 -/* 800B7774 000B46D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B7778 000B46D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B777C 000B46DC 7C 08 03 A6 */ mtlr r0 -/* 800B7780 000B46E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7784 000B46E4 4E 80 00 20 */ blr - -.global "_initializeLight__FRCQ24rstl24ncrc_ptr<12CParticleGen>R13CStateManageri" -"_initializeLight__FRCQ24rstl24ncrc_ptr<12CParticleGen>R13CStateManageri": -/* 800B7788 000B46E8 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 800B778C 000B46EC 7C 08 02 A6 */ mflr r0 -/* 800B7790 000B46F0 90 01 01 04 */ stw r0, 0x104(r1) -/* 800B7794 000B46F4 BF 21 00 E4 */ stmw r25, 0xe4(r1) -/* 800B7798 000B46F8 7C 7C 1B 78 */ mr r28, r3 -/* 800B779C 000B46FC 7C 99 23 78 */ mr r25, r4 -/* 800B77A0 000B4700 7C BD 2B 78 */ mr r29, r5 -/* 800B77A4 000B4704 7C DE 33 78 */ mr r30, r6 -/* 800B77A8 000B4708 7C FF 3B 78 */ mr r31, r7 -/* 800B77AC 000B470C 80 64 00 00 */ lwz r3, 0(r4) -/* 800B77B0 000B4710 80 63 00 00 */ lwz r3, 0(r3) -/* 800B77B4 000B4714 81 83 00 00 */ lwz r12, 0(r3) -/* 800B77B8 000B4718 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800B77BC 000B471C 7D 89 03 A6 */ mtctr r12 -/* 800B77C0 000B4720 4E 80 04 21 */ bctrl -/* 800B77C4 000B4724 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B77C8 000B4728 41 82 01 34 */ beq lbl_800B78FC -/* 800B77CC 000B472C 7F A4 EB 78 */ mr r4, r29 -/* 800B77D0 000B4730 38 61 00 18 */ addi r3, r1, 0x18 -/* 800B77D4 000B4734 4B F9 59 09 */ bl AllocateUniqueId__13CStateManagerFv -/* 800B77D8 000B4738 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 800B77DC 000B473C 3C 60 80 3D */ lis r3, lbl_803CDE88@ha -/* 800B77E0 000B4740 38 83 DE 88 */ addi r4, r3, lbl_803CDE88@l -/* 800B77E4 000B4744 3B 60 00 00 */ li r27, 0 -/* 800B77E8 000B4748 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 800B77EC 000B474C 38 60 01 48 */ li r3, 0x148 -/* 800B77F0 000B4750 38 A0 00 00 */ li r5, 0 -/* 800B77F4 000B4754 48 25 E0 79 */ bl __nw__FUlPCcPCc -/* 800B77F8 000B4758 7C 7A 1B 79 */ or. r26, r3, r3 -/* 800B77FC 000B475C 41 82 00 D8 */ beq lbl_800B78D4 -/* 800B7800 000B4760 80 B9 00 00 */ lwz r5, 0(r25) -/* 800B7804 000B4764 3C 60 80 3D */ lis r3, lbl_803CDE88@ha -/* 800B7808 000B4768 38 83 DE 88 */ addi r4, r3, lbl_803CDE88@l -/* 800B780C 000B476C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B7810 000B4770 83 65 00 00 */ lwz r27, 0(r5) -/* 800B7814 000B4774 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B7818 000B4778 38 84 00 07 */ addi r4, r4, 7 -/* 800B781C 000B477C B0 01 00 14 */ sth r0, 0x14(r1) -/* 800B7820 000B4780 83 25 00 00 */ lwz r25, 0(r5) -/* 800B7824 000B4784 4B F4 D4 95 */ bl string_l__4rstlFPCc -/* 800B7828 000B4788 80 BE 00 00 */ lwz r5, 0(r30) -/* 800B782C 000B478C 7F 64 DB 78 */ mr r4, r27 -/* 800B7830 000B4790 A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 800B7834 000B4794 38 61 00 88 */ addi r3, r1, 0x88 -/* 800B7838 000B4798 90 A1 00 20 */ stw r5, 0x20(r1) -/* 800B783C 000B479C 3B 60 00 01 */ li r27, 1 -/* 800B7840 000B47A0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800B7844 000B47A4 81 84 00 00 */ lwz r12, 0(r4) -/* 800B7848 000B47A8 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800B784C 000B47AC 7D 89 03 A6 */ mtctr r12 -/* 800B7850 000B47B0 4E 80 04 21 */ bctrl -/* 800B7854 000B47B4 7F 23 CB 78 */ mr r3, r25 -/* 800B7858 000B47B8 81 99 00 00 */ lwz r12, 0(r25) -/* 800B785C 000B47BC 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 800B7860 000B47C0 7D 89 03 A6 */ mtctr r12 -/* 800B7864 000B47C4 4E 80 04 21 */ bctrl -/* 800B7868 000B47C8 7C 7E 1B 78 */ mr r30, r3 -/* 800B786C 000B47CC 7F 23 CB 78 */ mr r3, r25 -/* 800B7870 000B47D0 81 99 00 00 */ lwz r12, 0(r25) -/* 800B7874 000B47D4 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 800B7878 000B47D8 7D 89 03 A6 */ mtctr r12 -/* 800B787C 000B47DC 4E 80 04 21 */ bctrl -/* 800B7880 000B47E0 7C 64 1B 78 */ mr r4, r3 -/* 800B7884 000B47E4 38 61 00 64 */ addi r3, r1, 0x64 -/* 800B7888 000B47E8 48 25 B8 6D */ bl BuildMatrix3f__12CTransform4fCFv -/* 800B788C 000B47EC 7F C5 F3 78 */ mr r5, r30 -/* 800B7890 000B47F0 38 61 00 34 */ addi r3, r1, 0x34 -/* 800B7894 000B47F4 38 81 00 64 */ addi r4, r1, 0x64 -/* 800B7898 000B47F8 48 25 B9 E1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800B789C 000B47FC 93 E1 00 08 */ stw r31, 8(r1) -/* 800B78A0 000B4800 38 00 00 00 */ li r0, 0 -/* 800B78A4 000B4804 7C 68 1B 78 */ mr r8, r3 -/* 800B78A8 000B4808 C0 22 8D 10 */ lfs f1, lbl_805AAA30@sda21(r2) -/* 800B78AC 000B480C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800B78B0 000B4810 7F 43 D3 78 */ mr r3, r26 -/* 800B78B4 000B4814 38 81 00 10 */ addi r4, r1, 0x10 -/* 800B78B8 000B4818 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800B78BC 000B481C 38 E1 00 24 */ addi r7, r1, 0x24 -/* 800B78C0 000B4820 39 21 00 14 */ addi r9, r1, 0x14 -/* 800B78C4 000B4824 39 41 00 88 */ addi r10, r1, 0x88 -/* 800B78C8 000B4828 38 C0 00 00 */ li r6, 0 -/* 800B78CC 000B482C 4B FF DF 59 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" -/* 800B78D0 000B4830 7C 7A 1B 78 */ mr r26, r3 -lbl_800B78D4: -/* 800B78D4 000B4834 7F A3 EB 78 */ mr r3, r29 -/* 800B78D8 000B4838 7F 44 D3 78 */ mr r4, r26 -/* 800B78DC 000B483C 4B F9 54 19 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 800B78E0 000B4840 7F 60 07 75 */ extsb. r0, r27 -/* 800B78E4 000B4844 41 82 00 0C */ beq lbl_800B78F0 -/* 800B78E8 000B4848 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B78EC 000B484C 48 28 61 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800B78F0: -/* 800B78F0 000B4850 A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 800B78F4 000B4854 B0 1C 00 00 */ sth r0, 0(r28) -/* 800B78F8 000B4858 48 00 00 0C */ b lbl_800B7904 -lbl_800B78FC: -/* 800B78FC 000B485C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800B7900 000B4860 B0 1C 00 00 */ sth r0, 0(r28) -lbl_800B7904: -/* 800B7904 000B4864 BB 21 00 E4 */ lmw r25, 0xe4(r1) -/* 800B7908 000B4868 80 01 01 04 */ lwz r0, 0x104(r1) -/* 800B790C 000B486C 7C 08 03 A6 */ mtlr r0 -/* 800B7910 000B4870 38 21 01 00 */ addi r1, r1, 0x100 -/* 800B7914 000B4874 4E 80 00 20 */ blr - -.global "__ct__16CParticleGenInfoFRC10SObjectTagiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC9CVector3fQ213CParticleData13EParentedModei" -"__ct__16CParticleGenInfoFRC10SObjectTagiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC9CVector3fQ213CParticleData13EParentedModei": -/* 800B7918 000B4878 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B791C 000B487C 7C 08 02 A6 */ mflr r0 -/* 800B7920 000B4880 3D 60 80 3E */ lis r11, lbl_803DF498@ha -/* 800B7924 000B4884 C8 22 8D 18 */ lfd f1, lbl_805AAA38@sda21(r2) -/* 800B7928 000B4888 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B792C 000B488C 3C 00 43 30 */ lis r0, 0x4330 -/* 800B7930 000B4890 39 6B F4 98 */ addi r11, r11, lbl_803DF498@l -/* 800B7934 000B4894 C0 42 8D 14 */ lfs f2, lbl_805AAA34@sda21(r2) -/* 800B7938 000B4898 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800B793C 000B489C 7C 7B 1B 78 */ mr r27, r3 -/* 800B7940 000B48A0 6C A3 80 00 */ xoris r3, r5, 0x8000 -/* 800B7944 000B48A4 7C FC 3B 78 */ mr r28, r7 -/* 800B7948 000B48A8 90 61 00 0C */ stw r3, 0xc(r1) -/* 800B794C 000B48AC 7D 1D 43 78 */ mr r29, r8 -/* 800B7950 000B48B0 7D 3E 4B 78 */ mr r30, r9 -/* 800B7954 000B48B4 7D 5F 53 78 */ mr r31, r10 -/* 800B7958 000B48B8 90 01 00 08 */ stw r0, 8(r1) -/* 800B795C 000B48BC 38 7B 00 10 */ addi r3, r27, 0x10 -/* 800B7960 000B48C0 C8 01 00 08 */ lfd f0, 8(r1) -/* 800B7964 000B48C4 91 7B 00 00 */ stw r11, 0(r27) -/* 800B7968 000B48C8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800B796C 000B48CC 80 A4 00 00 */ lwz r5, 0(r4) -/* 800B7970 000B48D0 90 BB 00 04 */ stw r5, 4(r27) -/* 800B7974 000B48D4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800B7978 000B48D8 80 04 00 04 */ lwz r0, 4(r4) -/* 800B797C 000B48DC 7C C4 33 78 */ mr r4, r6 -/* 800B7980 000B48E0 90 1B 00 08 */ stw r0, 8(r27) -/* 800B7984 000B48E4 D0 1B 00 0C */ stfs f0, 0xc(r27) -/* 800B7988 000B48E8 48 28 67 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800B798C 000B48EC C0 22 8D 10 */ lfs f1, lbl_805AAA30@sda21(r2) -/* 800B7990 000B48F0 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800B7994 000B48F4 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800B7998 000B48F8 38 00 00 00 */ li r0, 0 -/* 800B799C 000B48FC D0 3B 00 20 */ stfs f1, 0x20(r27) -/* 800B79A0 000B4900 38 7B 00 44 */ addi r3, r27, 0x44 -/* 800B79A4 000B4904 98 1B 00 24 */ stb r0, 0x24(r27) -/* 800B79A8 000B4908 93 BB 00 28 */ stw r29, 0x28(r27) -/* 800B79AC 000B490C 93 DB 00 2C */ stw r30, 0x2c(r27) -/* 800B79B0 000B4910 C0 1C 00 00 */ lfs f0, 0(r28) -/* 800B79B4 000B4914 D0 1B 00 30 */ stfs f0, 0x30(r27) -/* 800B79B8 000B4918 C0 1C 00 04 */ lfs f0, 4(r28) -/* 800B79BC 000B491C D0 1B 00 34 */ stfs f0, 0x34(r27) -/* 800B79C0 000B4920 C0 1C 00 08 */ lfs f0, 8(r28) -/* 800B79C4 000B4924 D0 1B 00 38 */ stfs f0, 0x38(r27) -/* 800B79C8 000B4928 D0 3B 00 3C */ stfs f1, 0x3c(r27) -/* 800B79CC 000B492C 98 1B 00 40 */ stb r0, 0x40(r27) -/* 800B79D0 000B4930 48 25 B1 A5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B79D4 000B4934 C0 02 8D 10 */ lfs f0, lbl_805AAA30@sda21(r2) -/* 800B79D8 000B4938 7F 63 DB 78 */ mr r3, r27 -/* 800B79DC 000B493C D0 1B 00 74 */ stfs f0, 0x74(r27) -/* 800B79E0 000B4940 D0 1B 00 78 */ stfs f0, 0x78(r27) -/* 800B79E4 000B4944 D0 1B 00 7C */ stfs f0, 0x7c(r27) -/* 800B79E8 000B4948 93 FB 00 80 */ stw r31, 0x80(r27) -/* 800B79EC 000B494C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 800B79F0 000B4950 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B79F4 000B4954 7C 08 03 A6 */ mtlr r0 -/* 800B79F8 000B4958 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B79FC 000B495C 4E 80 00 20 */ blr - -.global sub_800b7a00 -sub_800b7a00: -/* 800B7A00 000B4960 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7A04 000B4964 7C 08 02 A6 */ mflr r0 -/* 800B7A08 000B4968 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B7A0C 000B496C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B7A10 000B4970 7C 7F 1B 78 */ mr r31, r3 -/* 800B7A14 000B4974 80 83 00 00 */ lwz r4, 0(r3) -/* 800B7A18 000B4978 80 64 00 04 */ lwz r3, 4(r4) -/* 800B7A1C 000B497C 34 03 FF FF */ addic. r0, r3, -1 -/* 800B7A20 000B4980 90 04 00 04 */ stw r0, 4(r4) -/* 800B7A24 000B4984 41 81 00 38 */ bgt lbl_800B7A5C -/* 800B7A28 000B4988 80 7F 00 00 */ lwz r3, 0(r31) -/* 800B7A2C 000B498C 80 63 00 00 */ lwz r3, 0(r3) -/* 800B7A30 000B4990 28 03 00 00 */ cmplwi r3, 0 -/* 800B7A34 000B4994 41 82 00 18 */ beq lbl_800B7A4C -/* 800B7A38 000B4998 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7A3C 000B499C 38 80 00 01 */ li r4, 1 -/* 800B7A40 000B49A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B7A44 000B49A4 7D 89 03 A6 */ mtctr r12 -/* 800B7A48 000B49A8 4E 80 04 21 */ bctrl -lbl_800B7A4C: -/* 800B7A4C 000B49AC 80 7F 00 00 */ lwz r3, 0(r31) -/* 800B7A50 000B49B0 28 03 00 00 */ cmplwi r3, 0 -/* 800B7A54 000B49B4 41 82 00 08 */ beq lbl_800B7A5C -/* 800B7A58 000B49B8 48 25 DE D9 */ bl Free__7CMemoryFPCv -lbl_800B7A5C: -/* 800B7A5C 000B49BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7A60 000B49C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B7A64 000B49C4 7C 08 03 A6 */ mtlr r0 -/* 800B7A68 000B49C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7A6C 000B49CC 4E 80 00 20 */ blr - -.global "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -"SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>": -/* 800B7A70 000B49D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B7A74 000B49D4 7C 08 02 A6 */ mflr r0 -/* 800B7A78 000B49D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B7A7C 000B49DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B7A80 000B49E0 3B E0 00 00 */ li r31, 0 -/* 800B7A84 000B49E4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B7A88 000B49E8 3B C4 00 08 */ addi r30, r4, 8 -/* 800B7A8C 000B49EC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B7A90 000B49F0 93 81 00 10 */ stw r28, 0x10(r1) -/* 800B7A94 000B49F4 7C 7C 1B 78 */ mr r28, r3 -/* 800B7A98 000B49F8 93 C1 00 0C */ stw r30, 0xc(r1) -/* 800B7A9C 000B49FC 83 A4 00 08 */ lwz r29, 8(r4) -/* 800B7AA0 000B4A00 93 E1 00 08 */ stw r31, 8(r1) -/* 800B7AA4 000B4A04 48 00 00 34 */ b lbl_800B7AD8 -lbl_800B7AA8: -/* 800B7AA8 000B4A08 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 800B7AAC 000B4A0C 28 03 00 00 */ cmplwi r3, 0 -/* 800B7AB0 000B4A10 41 82 00 18 */ beq lbl_800B7AC8 -/* 800B7AB4 000B4A14 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7AB8 000B4A18 7F 84 E3 78 */ mr r4, r28 -/* 800B7ABC 000B4A1C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 800B7AC0 000B4A20 7D 89 03 A6 */ mtctr r12 -/* 800B7AC4 000B4A24 4E 80 04 21 */ bctrl -lbl_800B7AC8: -/* 800B7AC8 000B4A28 7F C3 F3 78 */ mr r3, r30 -/* 800B7ACC 000B4A2C 7F A4 EB 78 */ mr r4, r29 -/* 800B7AD0 000B4A30 48 28 4B 11 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B7AD4 000B4A34 7C 7D 1B 78 */ mr r29, r3 -lbl_800B7AD8: -/* 800B7AD8 000B4A38 7C 1D F8 40 */ cmplw r29, r31 -/* 800B7ADC 000B4A3C 38 00 00 00 */ li r0, 0 -/* 800B7AE0 000B4A40 40 82 00 0C */ bne lbl_800B7AEC -/* 800B7AE4 000B4A44 7C 1E F0 40 */ cmplw r30, r30 -/* 800B7AE8 000B4A48 41 82 00 08 */ beq lbl_800B7AF0 -lbl_800B7AEC: -/* 800B7AEC 000B4A4C 38 00 00 01 */ li r0, 1 -lbl_800B7AF0: -/* 800B7AF0 000B4A50 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B7AF4 000B4A54 40 82 FF B4 */ bne lbl_800B7AA8 -/* 800B7AF8 000B4A58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B7AFC 000B4A5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B7B00 000B4A60 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B7B04 000B4A64 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B7B08 000B4A68 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800B7B0C 000B4A6C 7C 08 03 A6 */ mtlr r0 -/* 800B7B10 000B4A70 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B7B14 000B4A74 4E 80 00 20 */ blr - -.global SetModulationColorAllActiveEffects__17CParticleDatabaseFRC6CColor -SetModulationColorAllActiveEffects__17CParticleDatabaseFRC6CColor: -/* 800B7B18 000B4A78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7B1C 000B4A7C 7C 08 02 A6 */ mflr r0 -/* 800B7B20 000B4A80 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B7B24 000B4A84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B7B28 000B4A88 7C 9F 23 78 */ mr r31, r4 -/* 800B7B2C 000B4A8C 93 C1 00 08 */ stw r30, 8(r1) -/* 800B7B30 000B4A90 7C 7E 1B 78 */ mr r30, r3 -/* 800B7B34 000B4A94 7F E3 FB 78 */ mr r3, r31 -/* 800B7B38 000B4A98 38 9E 00 3C */ addi r4, r30, 0x3c -/* 800B7B3C 000B4A9C 4B FF FF 35 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7B40 000B4AA0 7F E3 FB 78 */ mr r3, r31 -/* 800B7B44 000B4AA4 38 9E 00 50 */ addi r4, r30, 0x50 -/* 800B7B48 000B4AA8 4B FF FF 29 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7B4C 000B4AAC 7F E3 FB 78 */ mr r3, r31 -/* 800B7B50 000B4AB0 38 9E 00 64 */ addi r4, r30, 0x64 -/* 800B7B54 000B4AB4 4B FF FF 1D */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7B58 000B4AB8 7F E3 FB 78 */ mr r3, r31 -/* 800B7B5C 000B4ABC 38 9E 00 78 */ addi r4, r30, 0x78 -/* 800B7B60 000B4AC0 4B FF FF 11 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7B64 000B4AC4 7F E3 FB 78 */ mr r3, r31 -/* 800B7B68 000B4AC8 38 9E 00 8C */ addi r4, r30, 0x8c -/* 800B7B6C 000B4ACC 4B FF FF 05 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7B70 000B4AD0 7F E3 FB 78 */ mr r3, r31 -/* 800B7B74 000B4AD4 38 9E 00 A0 */ addi r4, r30, 0xa0 -/* 800B7B78 000B4AD8 4B FF FE F9 */ bl "SetModulationColorAllActiveEffectsForParticleDB__17CParticleDatabaseFRC6CColorRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7B7C 000B4ADC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7B80 000B4AE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B7B84 000B4AE4 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B7B88 000B4AE8 7C 08 03 A6 */ mtlr r0 -/* 800B7B8C 000B4AEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7B90 000B4AF0 4E 80 00 20 */ blr - -.global "SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -"SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>": -/* 800B7B94 000B4AF4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B7B98 000B4AF8 7C 08 02 A6 */ mflr r0 -/* 800B7B9C 000B4AFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B7BA0 000B4B00 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B7BA4 000B4B04 3B E0 00 00 */ li r31, 0 -/* 800B7BA8 000B4B08 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B7BAC 000B4B0C 3B C4 00 08 */ addi r30, r4, 8 -/* 800B7BB0 000B4B10 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B7BB4 000B4B14 93 81 00 10 */ stw r28, 0x10(r1) -/* 800B7BB8 000B4B18 7C 7C 1B 78 */ mr r28, r3 -/* 800B7BBC 000B4B1C 93 E1 00 08 */ stw r31, 8(r1) -/* 800B7BC0 000B4B20 83 A4 00 08 */ lwz r29, 8(r4) -/* 800B7BC4 000B4B24 93 C1 00 0C */ stw r30, 0xc(r1) -/* 800B7BC8 000B4B28 48 00 00 30 */ b lbl_800B7BF8 -lbl_800B7BCC: -/* 800B7BCC 000B4B2C 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 800B7BD0 000B4B30 7F 85 E3 78 */ mr r5, r28 -/* 800B7BD4 000B4B34 38 80 00 00 */ li r4, 0 -/* 800B7BD8 000B4B38 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7BDC 000B4B3C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800B7BE0 000B4B40 7D 89 03 A6 */ mtctr r12 -/* 800B7BE4 000B4B44 4E 80 04 21 */ bctrl -/* 800B7BE8 000B4B48 7F C3 F3 78 */ mr r3, r30 -/* 800B7BEC 000B4B4C 7F A4 EB 78 */ mr r4, r29 -/* 800B7BF0 000B4B50 48 28 49 F1 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B7BF4 000B4B54 7C 7D 1B 78 */ mr r29, r3 -lbl_800B7BF8: -/* 800B7BF8 000B4B58 7C 1D F8 40 */ cmplw r29, r31 -/* 800B7BFC 000B4B5C 38 00 00 00 */ li r0, 0 -/* 800B7C00 000B4B60 40 82 00 0C */ bne lbl_800B7C0C -/* 800B7C04 000B4B64 7C 1E F0 40 */ cmplw r30, r30 -/* 800B7C08 000B4B68 41 82 00 08 */ beq lbl_800B7C10 -lbl_800B7C0C: -/* 800B7C0C 000B4B6C 38 00 00 01 */ li r0, 1 -lbl_800B7C10: -/* 800B7C10 000B4B70 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B7C14 000B4B74 40 82 FF B8 */ bne lbl_800B7BCC -/* 800B7C18 000B4B78 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B7C1C 000B4B7C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B7C20 000B4B80 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B7C24 000B4B84 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B7C28 000B4B88 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800B7C2C 000B4B8C 7C 08 03 A6 */ mtlr r0 -/* 800B7C30 000B4B90 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B7C34 000B4B94 4E 80 00 20 */ blr - -.global SuspendAllActiveEffects__17CParticleDatabaseFR13CStateManager -SuspendAllActiveEffects__17CParticleDatabaseFR13CStateManager: -/* 800B7C38 000B4B98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7C3C 000B4B9C 7C 08 02 A6 */ mflr r0 -/* 800B7C40 000B4BA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B7C44 000B4BA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B7C48 000B4BA8 7C 9F 23 78 */ mr r31, r4 -/* 800B7C4C 000B4BAC 93 C1 00 08 */ stw r30, 8(r1) -/* 800B7C50 000B4BB0 7C 7E 1B 78 */ mr r30, r3 -/* 800B7C54 000B4BB4 7F E3 FB 78 */ mr r3, r31 -/* 800B7C58 000B4BB8 38 9E 00 3C */ addi r4, r30, 0x3c -/* 800B7C5C 000B4BBC 4B FF FF 39 */ bl "SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7C60 000B4BC0 7F E3 FB 78 */ mr r3, r31 -/* 800B7C64 000B4BC4 38 9E 00 50 */ addi r4, r30, 0x50 -/* 800B7C68 000B4BC8 4B FF FF 2D */ bl "SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7C6C 000B4BCC 7F E3 FB 78 */ mr r3, r31 -/* 800B7C70 000B4BD0 38 9E 00 64 */ addi r4, r30, 0x64 -/* 800B7C74 000B4BD4 4B FF FF 21 */ bl "SuspendAllActiveEffectsForParticleDB__17CParticleDatabaseFR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7C78 000B4BD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7C7C 000B4BDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B7C80 000B4BE0 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B7C84 000B4BE4 7C 08 03 A6 */ mtlr r0 -/* 800B7C88 000B4BE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7C8C 000B4BEC 4E 80 00 20 */ blr - -.global DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager -DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager: -/* 800B7C90 000B4BF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B7C94 000B4BF4 7C 08 02 A6 */ mflr r0 -/* 800B7C98 000B4BF8 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B7C9C 000B4BFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B7CA0 000B4C00 3B E0 00 00 */ li r31, 0 -/* 800B7CA4 000B4C04 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B7CA8 000B4C08 3B C4 00 08 */ addi r30, r4, 8 -/* 800B7CAC 000B4C0C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B7CB0 000B4C10 93 81 00 10 */ stw r28, 0x10(r1) -/* 800B7CB4 000B4C14 7C 7C 1B 78 */ mr r28, r3 -/* 800B7CB8 000B4C18 93 E1 00 08 */ stw r31, 8(r1) -/* 800B7CBC 000B4C1C 83 A4 00 08 */ lwz r29, 8(r4) -/* 800B7CC0 000B4C20 93 C1 00 0C */ stw r30, 0xc(r1) -/* 800B7CC4 000B4C24 48 00 00 2C */ b lbl_800B7CF0 -lbl_800B7CC8: -/* 800B7CC8 000B4C28 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 800B7CCC 000B4C2C 7F 84 E3 78 */ mr r4, r28 -/* 800B7CD0 000B4C30 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7CD4 000B4C34 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 800B7CD8 000B4C38 7D 89 03 A6 */ mtctr r12 -/* 800B7CDC 000B4C3C 4E 80 04 21 */ bctrl -/* 800B7CE0 000B4C40 7F C3 F3 78 */ mr r3, r30 -/* 800B7CE4 000B4C44 7F A4 EB 78 */ mr r4, r29 -/* 800B7CE8 000B4C48 48 28 48 F9 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B7CEC 000B4C4C 7C 7D 1B 78 */ mr r29, r3 -lbl_800B7CF0: -/* 800B7CF0 000B4C50 7C 1D F8 40 */ cmplw r29, r31 -/* 800B7CF4 000B4C54 38 00 00 00 */ li r0, 0 -/* 800B7CF8 000B4C58 40 82 00 0C */ bne lbl_800B7D04 -/* 800B7CFC 000B4C5C 7C 1E F0 40 */ cmplw r30, r30 -/* 800B7D00 000B4C60 41 82 00 08 */ beq lbl_800B7D08 -lbl_800B7D04: -/* 800B7D04 000B4C64 38 00 00 01 */ li r0, 1 -lbl_800B7D08: -/* 800B7D08 000B4C68 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B7D0C 000B4C6C 40 82 FF BC */ bne lbl_800B7CC8 -/* 800B7D10 000B4C70 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B7D14 000B4C74 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B7D18 000B4C78 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B7D1C 000B4C7C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B7D20 000B4C80 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800B7D24 000B4C84 7C 08 03 A6 */ mtlr r0 -/* 800B7D28 000B4C88 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B7D2C 000B4C8C 4E 80 00 20 */ blr - -.global DeleteAllLights__17CParticleDatabaseCFR13CStateManager -DeleteAllLights__17CParticleDatabaseCFR13CStateManager: -/* 800B7D30 000B4C90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7D34 000B4C94 7C 08 02 A6 */ mflr r0 -/* 800B7D38 000B4C98 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B7D3C 000B4C9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B7D40 000B4CA0 7C 9F 23 78 */ mr r31, r4 -/* 800B7D44 000B4CA4 93 C1 00 08 */ stw r30, 8(r1) -/* 800B7D48 000B4CA8 7C 7E 1B 78 */ mr r30, r3 -/* 800B7D4C 000B4CAC 7F E3 FB 78 */ mr r3, r31 -/* 800B7D50 000B4CB0 38 9E 00 3C */ addi r4, r30, 0x3c -/* 800B7D54 000B4CB4 4B FF FF 3D */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager -/* 800B7D58 000B4CB8 7F E3 FB 78 */ mr r3, r31 -/* 800B7D5C 000B4CBC 38 9E 00 50 */ addi r4, r30, 0x50 -/* 800B7D60 000B4CC0 4B FF FF 31 */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager -/* 800B7D64 000B4CC4 7F E3 FB 78 */ mr r3, r31 -/* 800B7D68 000B4CC8 38 9E 00 64 */ addi r4, r30, 0x64 -/* 800B7D6C 000B4CCC 4B FF FF 25 */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager -/* 800B7D70 000B4CD0 7F E3 FB 78 */ mr r3, r31 -/* 800B7D74 000B4CD4 38 9E 00 78 */ addi r4, r30, 0x78 -/* 800B7D78 000B4CD8 4B FF FF 19 */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager -/* 800B7D7C 000B4CDC 7F E3 FB 78 */ mr r3, r31 -/* 800B7D80 000B4CE0 38 9E 00 8C */ addi r4, r30, 0x8c -/* 800B7D84 000B4CE4 4B FF FF 0D */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager -/* 800B7D88 000B4CE8 7F E3 FB 78 */ mr r3, r31 -/* 800B7D8C 000B4CEC 38 9E 00 A0 */ addi r4, r30, 0xa0 -/* 800B7D90 000B4CF0 4B FF FF 01 */ bl DeleteAllLightsForParticleDB__17CParticleDatabaseFR13CStateManager -/* 800B7D94 000B4CF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7D98 000B4CF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B7D9C 000B4CFC 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B7DA0 000B4D00 7C 08 03 A6 */ mtlr r0 -/* 800B7DA4 000B4D04 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7DA8 000B4D08 4E 80 00 20 */ blr - -.global "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" -"RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii": -/* 800B7DAC 000B4D0C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B7DB0 000B4D10 7C 08 02 A6 */ mflr r0 -/* 800B7DB4 000B4D14 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B7DB8 000B4D18 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B7DBC 000B4D1C 3B E3 00 08 */ addi r31, r3, 8 -/* 800B7DC0 000B4D20 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B7DC4 000B4D24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B7DC8 000B4D28 7C BD 2B 78 */ mr r29, r5 -/* 800B7DCC 000B4D2C 93 81 00 10 */ stw r28, 0x10(r1) -/* 800B7DD0 000B4D30 7C 9C 23 78 */ mr r28, r4 -/* 800B7DD4 000B4D34 83 C3 00 08 */ lwz r30, 8(r3) -/* 800B7DD8 000B4D38 48 00 00 38 */ b lbl_800B7E10 -lbl_800B7DDC: -/* 800B7DDC 000B4D3C 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 800B7DE0 000B4D40 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 800B7DE4 000B4D44 7F 80 00 38 */ and r0, r28, r0 -/* 800B7DE8 000B4D48 7C 1D 00 40 */ cmplw r29, r0 -/* 800B7DEC 000B4D4C 40 82 00 14 */ bne lbl_800B7E00 -/* 800B7DF0 000B4D50 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7DF4 000B4D54 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800B7DF8 000B4D58 7D 89 03 A6 */ mtctr r12 -/* 800B7DFC 000B4D5C 4E 80 04 21 */ bctrl -lbl_800B7E00: -/* 800B7E00 000B4D60 7F E3 FB 78 */ mr r3, r31 -/* 800B7E04 000B4D64 7F C4 F3 78 */ mr r4, r30 -/* 800B7E08 000B4D68 48 28 47 D9 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B7E0C 000B4D6C 7C 7E 1B 78 */ mr r30, r3 -lbl_800B7E10: -/* 800B7E10 000B4D70 28 1E 00 00 */ cmplwi r30, 0 -/* 800B7E14 000B4D74 38 00 00 00 */ li r0, 0 -/* 800B7E18 000B4D78 40 82 00 0C */ bne lbl_800B7E24 -/* 800B7E1C 000B4D7C 7C 1F F8 40 */ cmplw r31, r31 -/* 800B7E20 000B4D80 41 82 00 08 */ beq lbl_800B7E28 -lbl_800B7E24: -/* 800B7E24 000B4D84 38 00 00 01 */ li r0, 1 -lbl_800B7E28: -/* 800B7E28 000B4D88 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B7E2C 000B4D8C 40 82 FF B0 */ bne lbl_800B7DDC -/* 800B7E30 000B4D90 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B7E34 000B4D94 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B7E38 000B4D98 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B7E3C 000B4D9C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B7E40 000B4DA0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800B7E44 000B4DA4 7C 08 03 A6 */ mtlr r0 -/* 800B7E48 000B4DA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B7E4C 000B4DAC 4E 80 00 20 */ blr - -.global "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -"RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>": -/* 800B7E50 000B4DB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7E54 000B4DB4 7C 08 02 A6 */ mflr r0 -/* 800B7E58 000B4DB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B7E5C 000B4DBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B7E60 000B4DC0 3B E3 00 08 */ addi r31, r3, 8 -/* 800B7E64 000B4DC4 93 C1 00 08 */ stw r30, 8(r1) -/* 800B7E68 000B4DC8 83 C3 00 08 */ lwz r30, 8(r3) -/* 800B7E6C 000B4DCC 48 00 00 28 */ b lbl_800B7E94 -lbl_800B7E70: -/* 800B7E70 000B4DD0 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 800B7E74 000B4DD4 81 83 00 00 */ lwz r12, 0(r3) -/* 800B7E78 000B4DD8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800B7E7C 000B4DDC 7D 89 03 A6 */ mtctr r12 -/* 800B7E80 000B4DE0 4E 80 04 21 */ bctrl -/* 800B7E84 000B4DE4 7F E3 FB 78 */ mr r3, r31 -/* 800B7E88 000B4DE8 7F C4 F3 78 */ mr r4, r30 -/* 800B7E8C 000B4DEC 48 28 47 55 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B7E90 000B4DF0 7C 7E 1B 78 */ mr r30, r3 -lbl_800B7E94: -/* 800B7E94 000B4DF4 28 1E 00 00 */ cmplwi r30, 0 -/* 800B7E98 000B4DF8 38 00 00 00 */ li r0, 0 -/* 800B7E9C 000B4DFC 40 82 00 0C */ bne lbl_800B7EA8 -/* 800B7EA0 000B4E00 7C 1F F8 40 */ cmplw r31, r31 -/* 800B7EA4 000B4E04 41 82 00 08 */ beq lbl_800B7EAC -lbl_800B7EA8: -/* 800B7EA8 000B4E08 38 00 00 01 */ li r0, 1 -lbl_800B7EAC: -/* 800B7EAC 000B4E0C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B7EB0 000B4E10 40 82 FF C0 */ bne lbl_800B7E70 -/* 800B7EB4 000B4E14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7EB8 000B4E18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B7EBC 000B4E1C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B7EC0 000B4E20 7C 08 03 A6 */ mtlr r0 -/* 800B7EC4 000B4E24 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7EC8 000B4E28 4E 80 00 20 */ blr - -.global RenderSystemsToBeDrawnLastMasked__17CParticleDatabaseCFii -RenderSystemsToBeDrawnLastMasked__17CParticleDatabaseCFii: -/* 800B7ECC 000B4E2C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B7ED0 000B4E30 7C 08 02 A6 */ mflr r0 -/* 800B7ED4 000B4E34 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B7ED8 000B4E38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B7EDC 000B4E3C 7C BF 2B 78 */ mr r31, r5 -/* 800B7EE0 000B4E40 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B7EE4 000B4E44 7C 9E 23 78 */ mr r30, r4 -/* 800B7EE8 000B4E48 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B7EEC 000B4E4C 7C 7D 1B 78 */ mr r29, r3 -/* 800B7EF0 000B4E50 38 7D 00 A0 */ addi r3, r29, 0xa0 -/* 800B7EF4 000B4E54 4B FF FE B9 */ bl "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" -/* 800B7EF8 000B4E58 7F C4 F3 78 */ mr r4, r30 -/* 800B7EFC 000B4E5C 7F E5 FB 78 */ mr r5, r31 -/* 800B7F00 000B4E60 38 7D 00 64 */ addi r3, r29, 0x64 -/* 800B7F04 000B4E64 4B FF FE A9 */ bl "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" -/* 800B7F08 000B4E68 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B7F0C 000B4E6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B7F10 000B4E70 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B7F14 000B4E74 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B7F18 000B4E78 7C 08 03 A6 */ mtlr r0 -/* 800B7F1C 000B4E7C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B7F20 000B4E80 4E 80 00 20 */ blr - -.global RenderSystemsToBeDrawnLast__17CParticleDatabaseCFv -RenderSystemsToBeDrawnLast__17CParticleDatabaseCFv: -/* 800B7F24 000B4E84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7F28 000B4E88 7C 08 02 A6 */ mflr r0 -/* 800B7F2C 000B4E8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B7F30 000B4E90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B7F34 000B4E94 7C 7F 1B 78 */ mr r31, r3 -/* 800B7F38 000B4E98 38 7F 00 A0 */ addi r3, r31, 0xa0 -/* 800B7F3C 000B4E9C 4B FF FF 15 */ bl "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7F40 000B4EA0 38 7F 00 64 */ addi r3, r31, 0x64 -/* 800B7F44 000B4EA4 4B FF FF 0D */ bl "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7F48 000B4EA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7F4C 000B4EAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B7F50 000B4EB0 7C 08 03 A6 */ mtlr r0 -/* 800B7F54 000B4EB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7F58 000B4EB8 4E 80 00 20 */ blr - -.global RenderSystemsToBeDrawnFirstMasked__17CParticleDatabaseCFii -RenderSystemsToBeDrawnFirstMasked__17CParticleDatabaseCFii: -/* 800B7F5C 000B4EBC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B7F60 000B4EC0 7C 08 02 A6 */ mflr r0 -/* 800B7F64 000B4EC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B7F68 000B4EC8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B7F6C 000B4ECC 7C BF 2B 78 */ mr r31, r5 -/* 800B7F70 000B4ED0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B7F74 000B4ED4 7C 9E 23 78 */ mr r30, r4 -/* 800B7F78 000B4ED8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B7F7C 000B4EDC 7C 7D 1B 78 */ mr r29, r3 -/* 800B7F80 000B4EE0 38 7D 00 8C */ addi r3, r29, 0x8c -/* 800B7F84 000B4EE4 4B FF FE 29 */ bl "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" -/* 800B7F88 000B4EE8 7F C4 F3 78 */ mr r4, r30 -/* 800B7F8C 000B4EEC 7F E5 FB 78 */ mr r5, r31 -/* 800B7F90 000B4EF0 38 7D 00 50 */ addi r3, r29, 0x50 -/* 800B7F94 000B4EF4 4B FF FE 19 */ bl "RenderParticleGenMapMasked__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>ii" -/* 800B7F98 000B4EF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B7F9C 000B4EFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B7FA0 000B4F00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B7FA4 000B4F04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B7FA8 000B4F08 7C 08 03 A6 */ mtlr r0 -/* 800B7FAC 000B4F0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B7FB0 000B4F10 4E 80 00 20 */ blr - -.global RenderSystemsToBeDrawnFirst__17CParticleDatabaseCFv -RenderSystemsToBeDrawnFirst__17CParticleDatabaseCFv: -/* 800B7FB4 000B4F14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B7FB8 000B4F18 7C 08 02 A6 */ mflr r0 -/* 800B7FBC 000B4F1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B7FC0 000B4F20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B7FC4 000B4F24 7C 7F 1B 78 */ mr r31, r3 -/* 800B7FC8 000B4F28 38 7F 00 8C */ addi r3, r31, 0x8c -/* 800B7FCC 000B4F2C 4B FF FE 85 */ bl "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7FD0 000B4F30 38 7F 00 50 */ addi r3, r31, 0x50 -/* 800B7FD4 000B4F34 4B FF FE 7D */ bl "RenderParticleGenMap__17CParticleDatabaseFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>" -/* 800B7FD8 000B4F38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B7FDC 000B4F3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B7FE0 000B4F40 7C 08 03 A6 */ mtlr r0 -/* 800B7FE4 000B4F44 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B7FE8 000B4F48 4E 80 00 20 */ blr - -.global "AddToRendererClippedParticleGenMapMasked__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanesii" -"AddToRendererClippedParticleGenMapMasked__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanesii": -/* 800B7FEC 000B4F4C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800B7FF0 000B4F50 7C 08 02 A6 */ mflr r0 -/* 800B7FF4 000B4F54 90 01 00 44 */ stw r0, 0x44(r1) -/* 800B7FF8 000B4F58 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 800B7FFC 000B4F5C 7C BA 2B 78 */ mr r26, r5 -/* 800B8000 000B4F60 7C DB 33 78 */ mr r27, r6 -/* 800B8004 000B4F64 7C FC 3B 78 */ mr r28, r7 -/* 800B8008 000B4F68 3B E4 00 08 */ addi r31, r4, 8 -/* 800B800C 000B4F6C 83 C4 00 08 */ lwz r30, 8(r4) -/* 800B8010 000B4F70 48 00 00 7C */ b lbl_800B808C -lbl_800B8014: -/* 800B8014 000B4F74 83 BE 00 24 */ lwz r29, 0x24(r30) -/* 800B8018 000B4F78 80 1D 00 2C */ lwz r0, 0x2c(r29) -/* 800B801C 000B4F7C 7F 60 00 38 */ and r0, r27, r0 -/* 800B8020 000B4F80 7C 1C 00 40 */ cmplw r28, r0 -/* 800B8024 000B4F84 40 82 00 58 */ bne lbl_800B807C -/* 800B8028 000B4F88 7F A4 EB 78 */ mr r4, r29 -/* 800B802C 000B4F8C 38 61 00 08 */ addi r3, r1, 8 -/* 800B8030 000B4F90 81 9D 00 00 */ lwz r12, 0(r29) -/* 800B8034 000B4F94 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800B8038 000B4F98 7D 89 03 A6 */ mtctr r12 -/* 800B803C 000B4F9C 4E 80 04 21 */ bctrl -/* 800B8040 000B4FA0 7F 43 D3 78 */ mr r3, r26 -/* 800B8044 000B4FA4 38 81 00 08 */ addi r4, r1, 8 -/* 800B8048 000B4FA8 48 28 D1 41 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" -/* 800B804C 000B4FAC 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 800B8050 000B4FB0 38 00 00 00 */ li r0, 0 -/* 800B8054 000B4FB4 20 63 00 01 */ subfic r3, r3, 1 -/* 800B8058 000B4FB8 98 01 00 20 */ stb r0, 0x20(r1) -/* 800B805C 000B4FBC 7C 60 00 34 */ cntlzw r0, r3 -/* 800B8060 000B4FC0 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 800B8064 000B4FC4 41 82 00 18 */ beq lbl_800B807C -/* 800B8068 000B4FC8 7F A3 EB 78 */ mr r3, r29 -/* 800B806C 000B4FCC 81 9D 00 00 */ lwz r12, 0(r29) -/* 800B8070 000B4FD0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800B8074 000B4FD4 7D 89 03 A6 */ mtctr r12 -/* 800B8078 000B4FD8 4E 80 04 21 */ bctrl -lbl_800B807C: -/* 800B807C 000B4FDC 7F E3 FB 78 */ mr r3, r31 -/* 800B8080 000B4FE0 7F C4 F3 78 */ mr r4, r30 -/* 800B8084 000B4FE4 48 28 45 5D */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B8088 000B4FE8 7C 7E 1B 78 */ mr r30, r3 -lbl_800B808C: -/* 800B808C 000B4FEC 28 1E 00 00 */ cmplwi r30, 0 -/* 800B8090 000B4FF0 38 00 00 00 */ li r0, 0 -/* 800B8094 000B4FF4 40 82 00 0C */ bne lbl_800B80A0 -/* 800B8098 000B4FF8 7C 1F F8 40 */ cmplw r31, r31 -/* 800B809C 000B4FFC 41 82 00 08 */ beq lbl_800B80A4 -lbl_800B80A0: -/* 800B80A0 000B5000 38 00 00 01 */ li r0, 1 -lbl_800B80A4: -/* 800B80A4 000B5004 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B80A8 000B5008 40 82 FF 6C */ bne lbl_800B8014 -/* 800B80AC 000B500C BB 41 00 28 */ lmw r26, 0x28(r1) -/* 800B80B0 000B5010 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800B80B4 000B5014 7C 08 03 A6 */ mtlr r0 -/* 800B80B8 000B5018 38 21 00 40 */ addi r1, r1, 0x40 -/* 800B80BC 000B501C 4E 80 00 20 */ blr - -.global "AddToRendererClippedParticleGenMap__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanes" -"AddToRendererClippedParticleGenMap__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanes": -/* 800B80C0 000B5020 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800B80C4 000B5024 7C 08 02 A6 */ mflr r0 -/* 800B80C8 000B5028 90 01 00 44 */ stw r0, 0x44(r1) -/* 800B80CC 000B502C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800B80D0 000B5030 3B E4 00 08 */ addi r31, r4, 8 -/* 800B80D4 000B5034 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800B80D8 000B5038 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800B80DC 000B503C 93 81 00 30 */ stw r28, 0x30(r1) -/* 800B80E0 000B5040 7C BC 2B 78 */ mr r28, r5 -/* 800B80E4 000B5044 83 C4 00 08 */ lwz r30, 8(r4) -/* 800B80E8 000B5048 48 00 00 6C */ b lbl_800B8154 -lbl_800B80EC: -/* 800B80EC 000B504C 83 BE 00 24 */ lwz r29, 0x24(r30) -/* 800B80F0 000B5050 38 61 00 08 */ addi r3, r1, 8 -/* 800B80F4 000B5054 7F A4 EB 78 */ mr r4, r29 -/* 800B80F8 000B5058 81 9D 00 00 */ lwz r12, 0(r29) -/* 800B80FC 000B505C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800B8100 000B5060 7D 89 03 A6 */ mtctr r12 -/* 800B8104 000B5064 4E 80 04 21 */ bctrl -/* 800B8108 000B5068 7F 83 E3 78 */ mr r3, r28 -/* 800B810C 000B506C 38 81 00 08 */ addi r4, r1, 8 -/* 800B8110 000B5070 48 28 D0 79 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" -/* 800B8114 000B5074 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 800B8118 000B5078 38 00 00 00 */ li r0, 0 -/* 800B811C 000B507C 20 63 00 01 */ subfic r3, r3, 1 -/* 800B8120 000B5080 98 01 00 20 */ stb r0, 0x20(r1) -/* 800B8124 000B5084 7C 60 00 34 */ cntlzw r0, r3 -/* 800B8128 000B5088 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 800B812C 000B508C 41 82 00 18 */ beq lbl_800B8144 -/* 800B8130 000B5090 7F A3 EB 78 */ mr r3, r29 -/* 800B8134 000B5094 81 9D 00 00 */ lwz r12, 0(r29) -/* 800B8138 000B5098 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800B813C 000B509C 7D 89 03 A6 */ mtctr r12 -/* 800B8140 000B50A0 4E 80 04 21 */ bctrl -lbl_800B8144: -/* 800B8144 000B50A4 7F E3 FB 78 */ mr r3, r31 -/* 800B8148 000B50A8 7F C4 F3 78 */ mr r4, r30 -/* 800B814C 000B50AC 48 28 44 95 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B8150 000B50B0 7C 7E 1B 78 */ mr r30, r3 -lbl_800B8154: -/* 800B8154 000B50B4 28 1E 00 00 */ cmplwi r30, 0 -/* 800B8158 000B50B8 38 00 00 00 */ li r0, 0 -/* 800B815C 000B50BC 40 82 00 0C */ bne lbl_800B8168 -/* 800B8160 000B50C0 7C 1F F8 40 */ cmplw r31, r31 -/* 800B8164 000B50C4 41 82 00 08 */ beq lbl_800B816C -lbl_800B8168: -/* 800B8168 000B50C8 38 00 00 01 */ li r0, 1 -lbl_800B816C: -/* 800B816C 000B50CC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B8170 000B50D0 40 82 FF 7C */ bne lbl_800B80EC -/* 800B8174 000B50D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800B8178 000B50D8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800B817C 000B50DC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800B8180 000B50E0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800B8184 000B50E4 83 81 00 30 */ lwz r28, 0x30(r1) -/* 800B8188 000B50E8 7C 08 03 A6 */ mtlr r0 -/* 800B818C 000B50EC 38 21 00 40 */ addi r1, r1, 0x40 -/* 800B8190 000B50F0 4E 80 00 20 */ blr - -.global AddToRendererClippedMasked__17CParticleDatabaseCFRC14CFrustumPlanesii -AddToRendererClippedMasked__17CParticleDatabaseCFRC14CFrustumPlanesii: -/* 800B8194 000B50F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B8198 000B50F8 7C 08 02 A6 */ mflr r0 -/* 800B819C 000B50FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B81A0 000B5100 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B81A4 000B5104 7C DF 33 78 */ mr r31, r6 -/* 800B81A8 000B5108 7F E7 FB 78 */ mr r7, r31 -/* 800B81AC 000B510C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B81B0 000B5110 7C BE 2B 78 */ mr r30, r5 -/* 800B81B4 000B5114 7F C6 F3 78 */ mr r6, r30 -/* 800B81B8 000B5118 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B81BC 000B511C 7C 9D 23 78 */ mr r29, r4 -/* 800B81C0 000B5120 7F A5 EB 78 */ mr r5, r29 -/* 800B81C4 000B5124 93 81 00 10 */ stw r28, 0x10(r1) -/* 800B81C8 000B5128 7C 7C 1B 78 */ mr r28, r3 -/* 800B81CC 000B512C 38 9C 00 78 */ addi r4, r28, 0x78 -/* 800B81D0 000B5130 4B FF FE 1D */ bl "AddToRendererClippedParticleGenMapMasked__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanesii" -/* 800B81D4 000B5134 7F 83 E3 78 */ mr r3, r28 -/* 800B81D8 000B5138 7F A5 EB 78 */ mr r5, r29 -/* 800B81DC 000B513C 7F C6 F3 78 */ mr r6, r30 -/* 800B81E0 000B5140 7F E7 FB 78 */ mr r7, r31 -/* 800B81E4 000B5144 38 9C 00 3C */ addi r4, r28, 0x3c -/* 800B81E8 000B5148 4B FF FE 05 */ bl "AddToRendererClippedParticleGenMapMasked__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanesii" -/* 800B81EC 000B514C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B81F0 000B5150 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B81F4 000B5154 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B81F8 000B5158 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B81FC 000B515C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800B8200 000B5160 7C 08 03 A6 */ mtlr r0 -/* 800B8204 000B5164 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B8208 000B5168 4E 80 00 20 */ blr - -.global AddToRendererClipped__17CParticleDatabaseCFRC14CFrustumPlanes -AddToRendererClipped__17CParticleDatabaseCFRC14CFrustumPlanes: -/* 800B820C 000B516C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B8210 000B5170 7C 08 02 A6 */ mflr r0 -/* 800B8214 000B5174 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B8218 000B5178 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B821C 000B517C 7C 9F 23 78 */ mr r31, r4 -/* 800B8220 000B5180 7F E5 FB 78 */ mr r5, r31 -/* 800B8224 000B5184 93 C1 00 08 */ stw r30, 8(r1) -/* 800B8228 000B5188 7C 7E 1B 78 */ mr r30, r3 -/* 800B822C 000B518C 38 9E 00 78 */ addi r4, r30, 0x78 -/* 800B8230 000B5190 4B FF FE 91 */ bl "AddToRendererClippedParticleGenMap__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanes" -/* 800B8234 000B5194 7F C3 F3 78 */ mr r3, r30 -/* 800B8238 000B5198 7F E5 FB 78 */ mr r5, r31 -/* 800B823C 000B519C 38 9E 00 3C */ addi r4, r30, 0x3c -/* 800B8240 000B51A0 4B FF FE 81 */ bl "AddToRendererClippedParticleGenMap__17CParticleDatabaseCFRCQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>RC14CFrustumPlanes" -/* 800B8244 000B51A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B8248 000B51A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B824C 000B51AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B8250 000B51B0 7C 08 03 A6 */ mtlr r0 -/* 800B8254 000B51B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B8258 000B51B8 4E 80 00 20 */ blr - -.global "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" -"UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b": -/* 800B825C 000B51BC 94 21 FD 40 */ stwu r1, -0x2c0(r1) -/* 800B8260 000B51C0 7C 08 02 A6 */ mflr r0 -/* 800B8264 000B51C4 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 800B8268 000B51C8 DB E1 02 B0 */ stfd f31, 0x2b0(r1) -/* 800B826C 000B51CC F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 -/* 800B8270 000B51D0 BE C1 02 88 */ stmw r22, 0x288(r1) -/* 800B8274 000B51D4 7D 1F 43 78 */ mr r31, r8 -/* 800B8278 000B51D8 FF E0 08 90 */ fmr f31, f1 -/* 800B827C 000B51DC 80 08 00 08 */ lwz r0, 8(r8) -/* 800B8280 000B51E0 3B 5F 00 08 */ addi r26, r31, 8 -/* 800B8284 000B51E4 93 41 00 2C */ stw r26, 0x2c(r1) -/* 800B8288 000B51E8 7C 7C 1B 78 */ mr r28, r3 -/* 800B828C 000B51EC 7C 99 23 78 */ mr r25, r4 -/* 800B8290 000B51F0 90 01 00 28 */ stw r0, 0x28(r1) -/* 800B8294 000B51F4 7C BB 2B 78 */ mr r27, r5 -/* 800B8298 000B51F8 7C DD 33 78 */ mr r29, r6 -/* 800B829C 000B51FC 7C FE 3B 78 */ mr r30, r7 -/* 800B82A0 000B5200 93 41 00 14 */ stw r26, 0x14(r1) -/* 800B82A4 000B5204 7D 38 4B 78 */ mr r24, r9 -/* 800B82A8 000B5208 48 00 06 DC */ b lbl_800B8984 -lbl_800B82AC: -/* 800B82AC 000B520C 82 E4 00 24 */ lwz r23, 0x24(r4) -/* 800B82B0 000B5210 88 17 00 24 */ lbz r0, 0x24(r23) -/* 800B82B4 000B5214 28 00 00 00 */ cmplwi r0, 0 -/* 800B82B8 000B5218 41 82 04 A8 */ beq lbl_800B8760 -/* 800B82BC 000B521C 80 17 00 80 */ lwz r0, 0x80(r23) -/* 800B82C0 000B5220 2C 00 00 01 */ cmpwi r0, 1 -/* 800B82C4 000B5224 41 82 04 30 */ beq lbl_800B86F4 -/* 800B82C8 000B5228 40 80 04 2C */ bge lbl_800B86F4 -/* 800B82CC 000B522C 2C 00 00 00 */ cmpwi r0, 0 -/* 800B82D0 000B5230 40 80 00 08 */ bge lbl_800B82D8 -/* 800B82D4 000B5234 48 00 04 20 */ b lbl_800B86F4 -lbl_800B82D8: -/* 800B82D8 000B5238 82 D7 00 28 */ lwz r22, 0x28(r23) -/* 800B82DC 000B523C 7F 24 CB 78 */ mr r4, r25 -/* 800B82E0 000B5240 38 61 00 08 */ addi r3, r1, 8 -/* 800B82E4 000B5244 38 B7 00 10 */ addi r5, r23, 0x10 -/* 800B82E8 000B5248 48 23 F9 7D */ bl "GetSegIdFromString__15CCharLayoutInfoCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800B82EC 000B524C 88 01 00 08 */ lbz r0, 8(r1) -/* 800B82F0 000B5250 28 00 00 FF */ cmplwi r0, 0xff -/* 800B82F4 000B5254 98 01 00 0C */ stb r0, 0xc(r1) -/* 800B82F8 000B5258 40 82 00 18 */ bne lbl_800B8310 -/* 800B82FC 000B525C 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800B8300 000B5260 80 81 00 28 */ lwz r4, 0x28(r1) -/* 800B8304 000B5264 48 28 42 DD */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B8308 000B5268 90 61 00 28 */ stw r3, 0x28(r1) -/* 800B830C 000B526C 48 00 06 78 */ b lbl_800B8984 -lbl_800B8310: -/* 800B8310 000B5270 7F 83 E3 78 */ mr r3, r28 -/* 800B8314 000B5274 38 81 00 0C */ addi r4, r1, 0xc -/* 800B8318 000B5278 48 2B 0B AD */ bl ContainsDataFor__17CPoseAsTransformsCFRC6CSegId -/* 800B831C 000B527C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B8320 000B5280 40 82 00 18 */ bne lbl_800B8338 -/* 800B8324 000B5284 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800B8328 000B5288 80 81 00 28 */ lwz r4, 0x28(r1) -/* 800B832C 000B528C 48 28 42 B5 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B8330 000B5290 90 61 00 28 */ stw r3, 0x28(r1) -/* 800B8334 000B5294 48 00 06 50 */ b lbl_800B8984 -lbl_800B8338: -/* 800B8338 000B5298 7F 83 E3 78 */ mr r3, r28 -/* 800B833C 000B529C 38 81 00 0C */ addi r4, r1, 0xc -/* 800B8340 000B52A0 48 2B 0C 19 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId -/* 800B8344 000B52A4 2C 16 00 00 */ cmpwi r22, 0 -/* 800B8348 000B52A8 C0 63 00 00 */ lfs f3, 0(r3) -/* 800B834C 000B52AC C0 83 00 04 */ lfs f4, 4(r3) -/* 800B8350 000B52B0 C0 A3 00 08 */ lfs f5, 8(r3) -/* 800B8354 000B52B4 41 82 00 14 */ beq lbl_800B8368 -/* 800B8358 000B52B8 41 80 03 9C */ blt lbl_800B86F4 -/* 800B835C 000B52BC 2C 16 00 03 */ cmpwi r22, 3 -/* 800B8360 000B52C0 40 80 03 94 */ bge lbl_800B86F4 -/* 800B8364 000B52C4 48 00 01 74 */ b lbl_800B84D8 -lbl_800B8368: -/* 800B8368 000B52C8 88 17 00 40 */ lbz r0, 0x40(r23) -/* 800B836C 000B52CC 28 00 00 00 */ cmplwi r0, 0 -/* 800B8370 000B52D0 41 82 00 BC */ beq lbl_800B842C -/* 800B8374 000B52D4 C0 5D 00 08 */ lfs f2, 8(r29) -/* 800B8378 000B52D8 3A C1 00 6C */ addi r22, r1, 0x6c -/* 800B837C 000B52DC C0 3D 00 04 */ lfs f1, 4(r29) -/* 800B8380 000B52E0 C0 1D 00 00 */ lfs f0, 0(r29) -/* 800B8384 000B52E4 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 800B8388 000B52E8 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 800B838C 000B52EC EC 24 00 72 */ fmuls f1, f4, f1 -/* 800B8390 000B52F0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800B8394 000B52F4 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 800B8398 000B52F8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 800B839C 000B52FC D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800B83A0 000B5300 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 800B83A4 000B5304 41 82 00 10 */ beq lbl_800B83B4 -/* 800B83A8 000B5308 3C 60 80 5A */ lis r3, lbl_805A65FC@ha -/* 800B83AC 000B530C 38 63 65 FC */ addi r3, r3, lbl_805A65FC@l -/* 800B83B0 000B5310 48 00 00 10 */ b lbl_800B83C0 -lbl_800B83B4: -/* 800B83B4 000B5314 7F 83 E3 78 */ mr r3, r28 -/* 800B83B8 000B5318 38 81 00 0C */ addi r4, r1, 0xc -/* 800B83BC 000B531C 48 2B 0B C1 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -lbl_800B83C0: -/* 800B83C0 000B5320 7C 64 1B 78 */ mr r4, r3 -/* 800B83C4 000B5324 7E C5 B3 78 */ mr r5, r22 -/* 800B83C8 000B5328 38 61 02 58 */ addi r3, r1, 0x258 -/* 800B83CC 000B532C 48 25 AE AD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800B83D0 000B5330 7F 64 DB 78 */ mr r4, r27 -/* 800B83D4 000B5334 38 61 01 98 */ addi r3, r1, 0x198 -/* 800B83D8 000B5338 38 A1 02 58 */ addi r5, r1, 0x258 -/* 800B83DC 000B533C 48 25 A5 75 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800B83E0 000B5340 38 61 02 28 */ addi r3, r1, 0x228 -/* 800B83E4 000B5344 38 81 01 98 */ addi r4, r1, 0x198 -/* 800B83E8 000B5348 48 25 A7 8D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B83EC 000B534C 38 61 01 68 */ addi r3, r1, 0x168 -/* 800B83F0 000B5350 38 81 02 28 */ addi r4, r1, 0x228 -/* 800B83F4 000B5354 48 25 A8 4D */ bl GetRotation__12CTransform4fCFv -/* 800B83F8 000B5358 38 77 00 44 */ addi r3, r23, 0x44 -/* 800B83FC 000B535C 38 81 01 68 */ addi r4, r1, 0x168 -/* 800B8400 000B5360 48 25 A7 41 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800B8404 000B5364 C0 61 02 54 */ lfs f3, 0x254(r1) -/* 800B8408 000B5368 38 00 00 00 */ li r0, 0 -/* 800B840C 000B536C C0 41 02 44 */ lfs f2, 0x244(r1) -/* 800B8410 000B5370 C0 21 02 34 */ lfs f1, 0x234(r1) -/* 800B8414 000B5374 C0 02 8D 20 */ lfs f0, lbl_805AAA40@sda21(r2) -/* 800B8418 000B5378 D0 37 00 74 */ stfs f1, 0x74(r23) -/* 800B841C 000B537C D0 57 00 78 */ stfs f2, 0x78(r23) -/* 800B8420 000B5380 D0 77 00 7C */ stfs f3, 0x7c(r23) -/* 800B8424 000B5384 D0 17 00 20 */ stfs f0, 0x20(r23) -/* 800B8428 000B5388 98 17 00 40 */ stb r0, 0x40(r23) -lbl_800B842C: -/* 800B842C 000B538C 7E E3 BB 78 */ mr r3, r23 -/* 800B8430 000B5390 7F C5 F3 78 */ mr r5, r30 -/* 800B8434 000B5394 81 97 00 00 */ lwz r12, 0(r23) -/* 800B8438 000B5398 38 97 00 44 */ addi r4, r23, 0x44 -/* 800B843C 000B539C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800B8440 000B53A0 7D 89 03 A6 */ mtctr r12 -/* 800B8444 000B53A4 4E 80 04 21 */ bctrl -/* 800B8448 000B53A8 7E E3 BB 78 */ mr r3, r23 -/* 800B844C 000B53AC 7F C5 F3 78 */ mr r5, r30 -/* 800B8450 000B53B0 81 97 00 00 */ lwz r12, 0(r23) -/* 800B8454 000B53B4 38 97 00 74 */ addi r4, r23, 0x74 -/* 800B8458 000B53B8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800B845C 000B53BC 7D 89 03 A6 */ mtctr r12 -/* 800B8460 000B53C0 4E 80 04 21 */ bctrl -/* 800B8464 000B53C4 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 800B8468 000B53C8 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12 -/* 800B846C 000B53CC 41 82 00 50 */ beq lbl_800B84BC -/* 800B8470 000B53D0 C0 37 00 38 */ lfs f1, 0x38(r23) -/* 800B8474 000B53D4 7E E3 BB 78 */ mr r3, r23 -/* 800B8478 000B53D8 C0 1D 00 08 */ lfs f0, 8(r29) -/* 800B847C 000B53DC 38 81 00 60 */ addi r4, r1, 0x60 -/* 800B8480 000B53E0 C0 77 00 34 */ lfs f3, 0x34(r23) -/* 800B8484 000B53E4 C0 5D 00 04 */ lfs f2, 4(r29) -/* 800B8488 000B53E8 EC 81 00 32 */ fmuls f4, f1, f0 -/* 800B848C 000B53EC C0 37 00 30 */ lfs f1, 0x30(r23) -/* 800B8490 000B53F0 C0 1D 00 00 */ lfs f0, 0(r29) -/* 800B8494 000B53F4 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800B8498 000B53F8 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 800B849C 000B53FC EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B84A0 000B5400 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 800B84A4 000B5404 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800B84A8 000B5408 81 97 00 00 */ lwz r12, 0(r23) -/* 800B84AC 000B540C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 800B84B0 000B5410 7D 89 03 A6 */ mtctr r12 -/* 800B84B4 000B5414 4E 80 04 21 */ bctrl -/* 800B84B8 000B5418 48 00 02 3C */ b lbl_800B86F4 -lbl_800B84BC: -/* 800B84BC 000B541C 7E E3 BB 78 */ mr r3, r23 -/* 800B84C0 000B5420 38 97 00 30 */ addi r4, r23, 0x30 -/* 800B84C4 000B5424 81 97 00 00 */ lwz r12, 0(r23) -/* 800B84C8 000B5428 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 800B84CC 000B542C 7D 89 03 A6 */ mtctr r12 -/* 800B84D0 000B5430 4E 80 04 21 */ bctrl -/* 800B84D4 000B5434 48 00 02 20 */ b lbl_800B86F4 -lbl_800B84D8: -/* 800B84D8 000B5438 88 17 00 40 */ lbz r0, 0x40(r23) -/* 800B84DC 000B543C 28 00 00 00 */ cmplwi r0, 0 -/* 800B84E0 000B5440 41 82 00 14 */ beq lbl_800B84F4 -/* 800B84E4 000B5444 C0 02 8D 20 */ lfs f0, lbl_805AAA40@sda21(r2) -/* 800B84E8 000B5448 38 00 00 00 */ li r0, 0 -/* 800B84EC 000B544C D0 17 00 20 */ stfs f0, 0x20(r23) -/* 800B84F0 000B5450 98 17 00 40 */ stb r0, 0x40(r23) -lbl_800B84F4: -/* 800B84F4 000B5454 C0 5D 00 08 */ lfs f2, 8(r29) -/* 800B84F8 000B5458 7F 83 E3 78 */ mr r3, r28 -/* 800B84FC 000B545C C0 3D 00 04 */ lfs f1, 4(r29) -/* 800B8500 000B5460 38 81 00 0C */ addi r4, r1, 0xc -/* 800B8504 000B5464 C0 1D 00 00 */ lfs f0, 0(r29) -/* 800B8508 000B5468 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 800B850C 000B546C EC 24 00 72 */ fmuls f1, f4, f1 -/* 800B8510 000B5470 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800B8514 000B5474 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 800B8518 000B5478 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800B851C 000B547C D0 21 00 58 */ stfs f1, 0x58(r1) -/* 800B8520 000B5480 48 2B 0A 5D */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -/* 800B8524 000B5484 7C 64 1B 78 */ mr r4, r3 -/* 800B8528 000B5488 38 61 01 F8 */ addi r3, r1, 0x1f8 -/* 800B852C 000B548C 38 A1 00 54 */ addi r5, r1, 0x54 -/* 800B8530 000B5490 48 25 AD 49 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800B8534 000B5494 7F 64 DB 78 */ mr r4, r27 -/* 800B8538 000B5498 38 61 01 38 */ addi r3, r1, 0x138 -/* 800B853C 000B549C 38 A1 01 F8 */ addi r5, r1, 0x1f8 -/* 800B8540 000B54A0 48 25 A4 11 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800B8544 000B54A4 38 61 01 C8 */ addi r3, r1, 0x1c8 -/* 800B8548 000B54A8 38 81 01 38 */ addi r4, r1, 0x138 -/* 800B854C 000B54AC 48 25 A6 29 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800B8550 000B54B0 2C 16 00 01 */ cmpwi r22, 1 -/* 800B8554 000B54B4 40 82 00 9C */ bne lbl_800B85F0 -/* 800B8558 000B54B8 C0 41 01 D4 */ lfs f2, 0x1d4(r1) -/* 800B855C 000B54BC 7E E3 BB 78 */ mr r3, r23 -/* 800B8560 000B54C0 C0 21 01 E4 */ lfs f1, 0x1e4(r1) -/* 800B8564 000B54C4 7F C5 F3 78 */ mr r5, r30 -/* 800B8568 000B54C8 C0 01 01 F4 */ lfs f0, 0x1f4(r1) -/* 800B856C 000B54CC 38 81 00 48 */ addi r4, r1, 0x48 -/* 800B8570 000B54D0 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 800B8574 000B54D4 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 800B8578 000B54D8 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800B857C 000B54DC 81 97 00 00 */ lwz r12, 0(r23) -/* 800B8580 000B54E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800B8584 000B54E4 7D 89 03 A6 */ mtctr r12 -/* 800B8588 000B54E8 4E 80 04 21 */ bctrl -/* 800B858C 000B54EC 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 800B8590 000B54F0 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 800B8594 000B54F4 41 82 00 30 */ beq lbl_800B85C4 -/* 800B8598 000B54F8 7F 64 DB 78 */ mr r4, r27 -/* 800B859C 000B54FC 38 61 01 08 */ addi r3, r1, 0x108 -/* 800B85A0 000B5500 48 25 A6 A1 */ bl GetRotation__12CTransform4fCFv -/* 800B85A4 000B5504 7E E3 BB 78 */ mr r3, r23 -/* 800B85A8 000B5508 7F C5 F3 78 */ mr r5, r30 -/* 800B85AC 000B550C 81 97 00 00 */ lwz r12, 0(r23) -/* 800B85B0 000B5510 38 81 01 08 */ addi r4, r1, 0x108 -/* 800B85B4 000B5514 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800B85B8 000B5518 7D 89 03 A6 */ mtctr r12 -/* 800B85BC 000B551C 4E 80 04 21 */ bctrl -/* 800B85C0 000B5520 48 00 00 C4 */ b lbl_800B8684 -lbl_800B85C4: -/* 800B85C4 000B5524 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 800B85C8 000B5528 38 81 01 C8 */ addi r4, r1, 0x1c8 -/* 800B85CC 000B552C 48 25 A6 75 */ bl GetRotation__12CTransform4fCFv -/* 800B85D0 000B5530 7E E3 BB 78 */ mr r3, r23 -/* 800B85D4 000B5534 7F C5 F3 78 */ mr r5, r30 -/* 800B85D8 000B5538 81 97 00 00 */ lwz r12, 0(r23) -/* 800B85DC 000B553C 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 800B85E0 000B5540 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800B85E4 000B5544 7D 89 03 A6 */ mtctr r12 -/* 800B85E8 000B5548 4E 80 04 21 */ bctrl -/* 800B85EC 000B554C 48 00 00 98 */ b lbl_800B8684 -lbl_800B85F0: -/* 800B85F0 000B5550 C0 41 01 D4 */ lfs f2, 0x1d4(r1) -/* 800B85F4 000B5554 7E E3 BB 78 */ mr r3, r23 -/* 800B85F8 000B5558 C0 21 01 E4 */ lfs f1, 0x1e4(r1) -/* 800B85FC 000B555C 7F C5 F3 78 */ mr r5, r30 -/* 800B8600 000B5560 C0 01 01 F4 */ lfs f0, 0x1f4(r1) -/* 800B8604 000B5564 38 81 00 3C */ addi r4, r1, 0x3c -/* 800B8608 000B5568 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800B860C 000B556C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 800B8610 000B5570 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800B8614 000B5574 81 97 00 00 */ lwz r12, 0(r23) -/* 800B8618 000B5578 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800B861C 000B557C 7D 89 03 A6 */ mtctr r12 -/* 800B8620 000B5580 4E 80 04 21 */ bctrl -/* 800B8624 000B5584 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 800B8628 000B5588 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 800B862C 000B558C 41 82 00 30 */ beq lbl_800B865C -/* 800B8630 000B5590 7F 64 DB 78 */ mr r4, r27 -/* 800B8634 000B5594 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 800B8638 000B5598 48 25 A6 09 */ bl GetRotation__12CTransform4fCFv -/* 800B863C 000B559C 7E E3 BB 78 */ mr r3, r23 -/* 800B8640 000B55A0 7F C5 F3 78 */ mr r5, r30 -/* 800B8644 000B55A4 81 97 00 00 */ lwz r12, 0(r23) -/* 800B8648 000B55A8 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 800B864C 000B55AC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800B8650 000B55B0 7D 89 03 A6 */ mtctr r12 -/* 800B8654 000B55B4 4E 80 04 21 */ bctrl -/* 800B8658 000B55B8 48 00 00 2C */ b lbl_800B8684 -lbl_800B865C: -/* 800B865C 000B55BC 38 61 00 78 */ addi r3, r1, 0x78 -/* 800B8660 000B55C0 38 81 01 C8 */ addi r4, r1, 0x1c8 -/* 800B8664 000B55C4 48 25 A5 DD */ bl GetRotation__12CTransform4fCFv -/* 800B8668 000B55C8 7E E3 BB 78 */ mr r3, r23 -/* 800B866C 000B55CC 7F C5 F3 78 */ mr r5, r30 -/* 800B8670 000B55D0 81 97 00 00 */ lwz r12, 0(r23) -/* 800B8674 000B55D4 38 81 00 78 */ addi r4, r1, 0x78 -/* 800B8678 000B55D8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800B867C 000B55DC 7D 89 03 A6 */ mtctr r12 -/* 800B8680 000B55E0 4E 80 04 21 */ bctrl -lbl_800B8684: -/* 800B8684 000B55E4 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 800B8688 000B55E8 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12 -/* 800B868C 000B55EC 41 82 00 50 */ beq lbl_800B86DC -/* 800B8690 000B55F0 C0 37 00 38 */ lfs f1, 0x38(r23) -/* 800B8694 000B55F4 7E E3 BB 78 */ mr r3, r23 -/* 800B8698 000B55F8 C0 1D 00 08 */ lfs f0, 8(r29) -/* 800B869C 000B55FC 38 81 00 30 */ addi r4, r1, 0x30 -/* 800B86A0 000B5600 C0 77 00 34 */ lfs f3, 0x34(r23) -/* 800B86A4 000B5604 C0 5D 00 04 */ lfs f2, 4(r29) -/* 800B86A8 000B5608 EC 81 00 32 */ fmuls f4, f1, f0 -/* 800B86AC 000B560C C0 37 00 30 */ lfs f1, 0x30(r23) -/* 800B86B0 000B5610 C0 1D 00 00 */ lfs f0, 0(r29) -/* 800B86B4 000B5614 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800B86B8 000B5618 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 800B86BC 000B561C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800B86C0 000B5620 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800B86C4 000B5624 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800B86C8 000B5628 81 97 00 00 */ lwz r12, 0(r23) -/* 800B86CC 000B562C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 800B86D0 000B5630 7D 89 03 A6 */ mtctr r12 -/* 800B86D4 000B5634 4E 80 04 21 */ bctrl -/* 800B86D8 000B5638 48 00 00 1C */ b lbl_800B86F4 -lbl_800B86DC: -/* 800B86DC 000B563C 7E E3 BB 78 */ mr r3, r23 -/* 800B86E0 000B5640 38 97 00 30 */ addi r4, r23, 0x30 -/* 800B86E4 000B5644 81 97 00 00 */ lwz r12, 0(r23) -/* 800B86E8 000B5648 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 800B86EC 000B564C 7D 89 03 A6 */ mtctr r12 -/* 800B86F0 000B5650 4E 80 04 21 */ bctrl -lbl_800B86F4: -/* 800B86F4 000B5654 C0 02 8D 20 */ lfs f0, lbl_805AAA40@sda21(r2) -/* 800B86F8 000B5658 C0 37 00 0C */ lfs f1, 0xc(r23) -/* 800B86FC 000B565C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800B8700 000B5660 40 82 00 08 */ bne lbl_800B8708 -/* 800B8704 000B5664 C0 22 8D 24 */ lfs f1, lbl_805AAA44@sda21(r2) -lbl_800B8708: -/* 800B8708 000B5668 C0 17 00 20 */ lfs f0, 0x20(r23) -/* 800B870C 000B566C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800B8710 000B5670 40 81 00 50 */ ble lbl_800B8760 -/* 800B8714 000B5674 38 00 00 00 */ li r0, 0 -/* 800B8718 000B5678 7E E3 BB 78 */ mr r3, r23 -/* 800B871C 000B567C 98 17 00 24 */ stb r0, 0x24(r23) -/* 800B8720 000B5680 7F C5 F3 78 */ mr r5, r30 -/* 800B8724 000B5684 38 80 00 00 */ li r4, 0 -/* 800B8728 000B5688 81 97 00 00 */ lwz r12, 0(r23) -/* 800B872C 000B568C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800B8730 000B5690 7D 89 03 A6 */ mtctr r12 -/* 800B8734 000B5694 4E 80 04 21 */ bctrl -/* 800B8738 000B5698 C0 17 00 20 */ lfs f0, 0x20(r23) -/* 800B873C 000B569C D0 17 00 3C */ stfs f0, 0x3c(r23) -/* 800B8740 000B56A0 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 800B8744 000B56A4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800B8748 000B56A8 41 82 00 18 */ beq lbl_800B8760 -/* 800B874C 000B56AC 7E E3 BB 78 */ mr r3, r23 -/* 800B8750 000B56B0 81 97 00 00 */ lwz r12, 0(r23) -/* 800B8754 000B56B4 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 800B8758 000B56B8 7D 89 03 A6 */ mtctr r12 -/* 800B875C 000B56BC 4E 80 04 21 */ bctrl -lbl_800B8760: -/* 800B8760 000B56C0 7E E3 BB 78 */ mr r3, r23 -/* 800B8764 000B56C4 FC 20 F8 90 */ fmr f1, f31 -/* 800B8768 000B56C8 81 97 00 00 */ lwz r12, 0(r23) -/* 800B876C 000B56CC 7F C4 F3 78 */ mr r4, r30 -/* 800B8770 000B56D0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800B8774 000B56D4 7D 89 03 A6 */ mtctr r12 -/* 800B8778 000B56D8 4E 80 04 21 */ bctrl -/* 800B877C 000B56DC 88 17 00 24 */ lbz r0, 0x24(r23) -/* 800B8780 000B56E0 28 00 00 00 */ cmplwi r0, 0 -/* 800B8784 000B56E4 40 82 01 04 */ bne lbl_800B8888 -/* 800B8788 000B56E8 7E E3 BB 78 */ mr r3, r23 -/* 800B878C 000B56EC 81 97 00 00 */ lwz r12, 0(r23) -/* 800B8790 000B56F0 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 800B8794 000B56F4 7D 89 03 A6 */ mtctr r12 -/* 800B8798 000B56F8 4E 80 04 21 */ bctrl -/* 800B879C 000B56FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B87A0 000B5700 40 82 01 C8 */ bne lbl_800B8968 -/* 800B87A4 000B5704 C0 57 00 20 */ lfs f2, 0x20(r23) -/* 800B87A8 000B5708 C0 37 00 3C */ lfs f1, 0x3c(r23) -/* 800B87AC 000B570C C0 02 8D 28 */ lfs f0, lbl_805AAA48@sda21(r2) -/* 800B87B0 000B5710 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800B87B4 000B5714 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800B87B8 000B5718 40 81 01 B0 */ ble lbl_800B8968 -/* 800B87BC 000B571C 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 800B87C0 000B5720 41 82 01 A8 */ beq lbl_800B8968 -/* 800B87C4 000B5724 7E E3 BB 78 */ mr r3, r23 -/* 800B87C8 000B5728 7F C4 F3 78 */ mr r4, r30 -/* 800B87CC 000B572C 81 97 00 00 */ lwz r12, 0(r23) -/* 800B87D0 000B5730 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 800B87D4 000B5734 7D 89 03 A6 */ mtctr r12 -/* 800B87D8 000B5738 4E 80 04 21 */ bctrl -/* 800B87DC 000B573C 82 C1 00 28 */ lwz r22, 0x28(r1) -/* 800B87E0 000B5740 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800B87E4 000B5744 92 C1 00 20 */ stw r22, 0x20(r1) -/* 800B87E8 000B5748 7E C4 B3 78 */ mr r4, r22 -/* 800B87EC 000B574C 90 61 00 24 */ stw r3, 0x24(r1) -/* 800B87F0 000B5750 48 28 3D F1 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B87F4 000B5754 90 61 00 20 */ stw r3, 0x20(r1) -/* 800B87F8 000B5758 7E C4 B3 78 */ mr r4, r22 -/* 800B87FC 000B575C 38 7F 00 08 */ addi r3, r31, 8 -/* 800B8800 000B5760 48 28 3E 7D */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 800B8804 000B5764 7C 76 1B 79 */ or. r22, r3, r3 -/* 800B8808 000B5768 41 82 00 50 */ beq lbl_800B8858 -/* 800B880C 000B576C 34 16 00 10 */ addic. r0, r22, 0x10 -/* 800B8810 000B5770 41 82 00 48 */ beq lbl_800B8858 -/* 800B8814 000B5774 34 76 00 20 */ addic. r3, r22, 0x20 -/* 800B8818 000B5778 41 82 00 30 */ beq lbl_800B8848 -/* 800B881C 000B577C 88 03 00 00 */ lbz r0, 0(r3) -/* 800B8820 000B5780 28 00 00 00 */ cmplwi r0, 0 -/* 800B8824 000B5784 41 82 00 24 */ beq lbl_800B8848 -/* 800B8828 000B5788 80 76 00 24 */ lwz r3, 0x24(r22) -/* 800B882C 000B578C 28 03 00 00 */ cmplwi r3, 0 -/* 800B8830 000B5790 41 82 00 18 */ beq lbl_800B8848 -/* 800B8834 000B5794 81 83 00 00 */ lwz r12, 0(r3) -/* 800B8838 000B5798 38 80 00 01 */ li r4, 1 -/* 800B883C 000B579C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B8840 000B57A0 7D 89 03 A6 */ mtctr r12 -/* 800B8844 000B57A4 4E 80 04 21 */ bctrl -lbl_800B8848: -/* 800B8848 000B57A8 34 16 00 10 */ addic. r0, r22, 0x10 -/* 800B884C 000B57AC 41 82 00 0C */ beq lbl_800B8858 -/* 800B8850 000B57B0 38 76 00 10 */ addi r3, r22, 0x10 -/* 800B8854 000B57B4 48 28 52 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800B8858: -/* 800B8858 000B57B8 28 16 00 00 */ cmplwi r22, 0 -/* 800B885C 000B57BC 41 82 00 0C */ beq lbl_800B8868 -/* 800B8860 000B57C0 7E C3 B3 78 */ mr r3, r22 -/* 800B8864 000B57C4 48 25 D0 CD */ bl Free__7CMemoryFPCv -lbl_800B8868: -/* 800B8868 000B57C8 80 9F 00 04 */ lwz r4, 4(r31) -/* 800B886C 000B57CC 80 61 00 20 */ lwz r3, 0x20(r1) -/* 800B8870 000B57D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B8874 000B57D4 38 84 FF FF */ addi r4, r4, -1 -/* 800B8878 000B57D8 90 9F 00 04 */ stw r4, 4(r31) -/* 800B887C 000B57DC 90 61 00 28 */ stw r3, 0x28(r1) -/* 800B8880 000B57E0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800B8884 000B57E4 48 00 01 00 */ b lbl_800B8984 -lbl_800B8888: -/* 800B8888 000B57E8 7E E3 BB 78 */ mr r3, r23 -/* 800B888C 000B57EC 81 97 00 00 */ lwz r12, 0(r23) -/* 800B8890 000B57F0 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800B8894 000B57F4 7D 89 03 A6 */ mtctr r12 -/* 800B8898 000B57F8 4E 80 04 21 */ bctrl -/* 800B889C 000B57FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B88A0 000B5800 41 82 00 C8 */ beq lbl_800B8968 -/* 800B88A4 000B5804 7E E3 BB 78 */ mr r3, r23 -/* 800B88A8 000B5808 7F C4 F3 78 */ mr r4, r30 -/* 800B88AC 000B580C 81 97 00 00 */ lwz r12, 0(r23) -/* 800B88B0 000B5810 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 800B88B4 000B5814 7D 89 03 A6 */ mtctr r12 -/* 800B88B8 000B5818 4E 80 04 21 */ bctrl -/* 800B88BC 000B581C 82 C1 00 28 */ lwz r22, 0x28(r1) -/* 800B88C0 000B5820 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800B88C4 000B5824 92 C1 00 18 */ stw r22, 0x18(r1) -/* 800B88C8 000B5828 7E C4 B3 78 */ mr r4, r22 -/* 800B88CC 000B582C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800B88D0 000B5830 48 28 3D 11 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B88D4 000B5834 90 61 00 18 */ stw r3, 0x18(r1) -/* 800B88D8 000B5838 7E C4 B3 78 */ mr r4, r22 -/* 800B88DC 000B583C 38 7F 00 08 */ addi r3, r31, 8 -/* 800B88E0 000B5840 48 28 3D 9D */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 800B88E4 000B5844 7C 76 1B 79 */ or. r22, r3, r3 -/* 800B88E8 000B5848 41 82 00 50 */ beq lbl_800B8938 -/* 800B88EC 000B584C 34 16 00 10 */ addic. r0, r22, 0x10 -/* 800B88F0 000B5850 41 82 00 48 */ beq lbl_800B8938 -/* 800B88F4 000B5854 34 76 00 20 */ addic. r3, r22, 0x20 -/* 800B88F8 000B5858 41 82 00 30 */ beq lbl_800B8928 -/* 800B88FC 000B585C 88 03 00 00 */ lbz r0, 0(r3) -/* 800B8900 000B5860 28 00 00 00 */ cmplwi r0, 0 -/* 800B8904 000B5864 41 82 00 24 */ beq lbl_800B8928 -/* 800B8908 000B5868 80 76 00 24 */ lwz r3, 0x24(r22) -/* 800B890C 000B586C 28 03 00 00 */ cmplwi r3, 0 -/* 800B8910 000B5870 41 82 00 18 */ beq lbl_800B8928 -/* 800B8914 000B5874 81 83 00 00 */ lwz r12, 0(r3) -/* 800B8918 000B5878 38 80 00 01 */ li r4, 1 -/* 800B891C 000B587C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B8920 000B5880 7D 89 03 A6 */ mtctr r12 -/* 800B8924 000B5884 4E 80 04 21 */ bctrl -lbl_800B8928: -/* 800B8928 000B5888 34 16 00 10 */ addic. r0, r22, 0x10 -/* 800B892C 000B588C 41 82 00 0C */ beq lbl_800B8938 -/* 800B8930 000B5890 38 76 00 10 */ addi r3, r22, 0x10 -/* 800B8934 000B5894 48 28 51 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800B8938: -/* 800B8938 000B5898 28 16 00 00 */ cmplwi r22, 0 -/* 800B893C 000B589C 41 82 00 0C */ beq lbl_800B8948 -/* 800B8940 000B58A0 7E C3 B3 78 */ mr r3, r22 -/* 800B8944 000B58A4 48 25 CF ED */ bl Free__7CMemoryFPCv -lbl_800B8948: -/* 800B8948 000B58A8 80 9F 00 04 */ lwz r4, 4(r31) -/* 800B894C 000B58AC 80 61 00 18 */ lwz r3, 0x18(r1) -/* 800B8950 000B58B0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 800B8954 000B58B4 38 84 FF FF */ addi r4, r4, -1 -/* 800B8958 000B58B8 90 9F 00 04 */ stw r4, 4(r31) -/* 800B895C 000B58BC 90 61 00 28 */ stw r3, 0x28(r1) -/* 800B8960 000B58C0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800B8964 000B58C4 48 00 00 20 */ b lbl_800B8984 -lbl_800B8968: -/* 800B8968 000B58C8 C0 17 00 20 */ lfs f0, 0x20(r23) -/* 800B896C 000B58CC 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800B8970 000B58D0 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800B8974 000B58D4 80 81 00 28 */ lwz r4, 0x28(r1) -/* 800B8978 000B58D8 D0 17 00 20 */ stfs f0, 0x20(r23) -/* 800B897C 000B58DC 48 28 3C 65 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800B8980 000B58E0 90 61 00 28 */ stw r3, 0x28(r1) -lbl_800B8984: -/* 800B8984 000B58E4 80 81 00 28 */ lwz r4, 0x28(r1) -/* 800B8988 000B58E8 38 60 00 00 */ li r3, 0 -/* 800B898C 000B58EC 90 61 00 10 */ stw r3, 0x10(r1) -/* 800B8990 000B58F0 7C 04 18 40 */ cmplw r4, r3 -/* 800B8994 000B58F4 40 82 00 10 */ bne lbl_800B89A4 -/* 800B8998 000B58F8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800B899C 000B58FC 7C 00 D0 40 */ cmplw r0, r26 -/* 800B89A0 000B5900 41 82 00 08 */ beq lbl_800B89A8 -lbl_800B89A4: -/* 800B89A4 000B5904 38 60 00 01 */ li r3, 1 -lbl_800B89A8: -/* 800B89A8 000B5908 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B89AC 000B590C 40 82 F9 00 */ bne lbl_800B82AC -/* 800B89B0 000B5910 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 -/* 800B89B4 000B5914 CB E1 02 B0 */ lfd f31, 0x2b0(r1) -/* 800B89B8 000B5918 BA C1 02 88 */ lmw r22, 0x288(r1) -/* 800B89BC 000B591C 80 01 02 C4 */ lwz r0, 0x2c4(r1) -/* 800B89C0 000B5920 7C 08 03 A6 */ mtlr r0 -/* 800B89C4 000B5924 38 21 02 C0 */ addi r1, r1, 0x2c0 -/* 800B89C8 000B5928 4E 80 00 20 */ blr - -.global Update__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManager -Update__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManager: -/* 800B89CC 000B592C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800B89D0 000B5930 7C 08 02 A6 */ mflr r0 -/* 800B89D4 000B5934 90 01 00 34 */ stw r0, 0x34(r1) -/* 800B89D8 000B5938 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 800B89DC 000B593C FF E0 08 90 */ fmr f31, f1 -/* 800B89E0 000B5940 BF 41 00 10 */ stmw r26, 0x10(r1) -/* 800B89E4 000B5944 7C 7A 1B 78 */ mr r26, r3 -/* 800B89E8 000B5948 7C 9B 23 78 */ mr r27, r4 -/* 800B89EC 000B594C 7C BC 2B 78 */ mr r28, r5 -/* 800B89F0 000B5950 7C DD 33 78 */ mr r29, r6 -/* 800B89F4 000B5954 7C FE 3B 78 */ mr r30, r7 -/* 800B89F8 000B5958 7D 1F 43 78 */ mr r31, r8 -/* 800B89FC 000B595C 88 03 00 B4 */ lbz r0, 0xb4(r3) -/* 800B8A00 000B5960 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800B8A04 000B5964 41 82 01 1C */ beq lbl_800B8B20 -/* 800B8A08 000B5968 7F 63 DB 78 */ mr r3, r27 -/* 800B8A0C 000B596C 7F 84 E3 78 */ mr r4, r28 -/* 800B8A10 000B5970 7F A5 EB 78 */ mr r5, r29 -/* 800B8A14 000B5974 7F C6 F3 78 */ mr r6, r30 -/* 800B8A18 000B5978 7F E7 FB 78 */ mr r7, r31 -/* 800B8A1C 000B597C 39 1A 00 3C */ addi r8, r26, 0x3c -/* 800B8A20 000B5980 39 20 00 01 */ li r9, 1 -/* 800B8A24 000B5984 4B FF F8 39 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" -/* 800B8A28 000B5988 FC 20 F8 90 */ fmr f1, f31 -/* 800B8A2C 000B598C 7F 63 DB 78 */ mr r3, r27 -/* 800B8A30 000B5990 7F 84 E3 78 */ mr r4, r28 -/* 800B8A34 000B5994 7F A5 EB 78 */ mr r5, r29 -/* 800B8A38 000B5998 7F C6 F3 78 */ mr r6, r30 -/* 800B8A3C 000B599C 7F E7 FB 78 */ mr r7, r31 -/* 800B8A40 000B59A0 39 1A 00 50 */ addi r8, r26, 0x50 -/* 800B8A44 000B59A4 39 20 00 01 */ li r9, 1 -/* 800B8A48 000B59A8 4B FF F8 15 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" -/* 800B8A4C 000B59AC FC 20 F8 90 */ fmr f1, f31 -/* 800B8A50 000B59B0 7F 63 DB 78 */ mr r3, r27 -/* 800B8A54 000B59B4 7F 84 E3 78 */ mr r4, r28 -/* 800B8A58 000B59B8 7F A5 EB 78 */ mr r5, r29 -/* 800B8A5C 000B59BC 7F C6 F3 78 */ mr r6, r30 -/* 800B8A60 000B59C0 7F E7 FB 78 */ mr r7, r31 -/* 800B8A64 000B59C4 39 1A 00 64 */ addi r8, r26, 0x64 -/* 800B8A68 000B59C8 39 20 00 01 */ li r9, 1 -/* 800B8A6C 000B59CC 4B FF F7 F1 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" -/* 800B8A70 000B59D0 FC 20 F8 90 */ fmr f1, f31 -/* 800B8A74 000B59D4 7F 63 DB 78 */ mr r3, r27 -/* 800B8A78 000B59D8 7F 84 E3 78 */ mr r4, r28 -/* 800B8A7C 000B59DC 7F A5 EB 78 */ mr r5, r29 -/* 800B8A80 000B59E0 7F C6 F3 78 */ mr r6, r30 -/* 800B8A84 000B59E4 7F E7 FB 78 */ mr r7, r31 -/* 800B8A88 000B59E8 39 1A 00 78 */ addi r8, r26, 0x78 -/* 800B8A8C 000B59EC 39 20 00 00 */ li r9, 0 -/* 800B8A90 000B59F0 4B FF F7 CD */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" -/* 800B8A94 000B59F4 FC 20 F8 90 */ fmr f1, f31 -/* 800B8A98 000B59F8 7F 63 DB 78 */ mr r3, r27 -/* 800B8A9C 000B59FC 7F 84 E3 78 */ mr r4, r28 -/* 800B8AA0 000B5A00 7F A5 EB 78 */ mr r5, r29 -/* 800B8AA4 000B5A04 7F C6 F3 78 */ mr r6, r30 -/* 800B8AA8 000B5A08 7F E7 FB 78 */ mr r7, r31 -/* 800B8AAC 000B5A0C 39 1A 00 8C */ addi r8, r26, 0x8c -/* 800B8AB0 000B5A10 39 20 00 00 */ li r9, 0 -/* 800B8AB4 000B5A14 4B FF F7 A9 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" -/* 800B8AB8 000B5A18 FC 20 F8 90 */ fmr f1, f31 -/* 800B8ABC 000B5A1C 7F 63 DB 78 */ mr r3, r27 -/* 800B8AC0 000B5A20 7F 84 E3 78 */ mr r4, r28 -/* 800B8AC4 000B5A24 7F A5 EB 78 */ mr r5, r29 -/* 800B8AC8 000B5A28 7F C6 F3 78 */ mr r6, r30 -/* 800B8ACC 000B5A2C 7F E7 FB 78 */ mr r7, r31 -/* 800B8AD0 000B5A30 39 1A 00 A0 */ addi r8, r26, 0xa0 -/* 800B8AD4 000B5A34 39 20 00 00 */ li r9, 0 -/* 800B8AD8 000B5A38 4B FF F7 85 */ bl "UpdateParticleGenDB__17CParticleDatabaseFfRC17CPoseAsTransformsRC15CCharLayoutInfoRC12CTransform4fRC9CVector3fR13CStateManagerRQ24rstl236map,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>b" -/* 800B8ADC 000B5A3C 80 1A 00 54 */ lwz r0, 0x54(r26) -/* 800B8AE0 000B5A40 38 60 00 00 */ li r3, 0 -/* 800B8AE4 000B5A44 2C 00 00 00 */ cmpwi r0, 0 -/* 800B8AE8 000B5A48 40 82 00 28 */ bne lbl_800B8B10 -/* 800B8AEC 000B5A4C 80 1A 00 68 */ lwz r0, 0x68(r26) -/* 800B8AF0 000B5A50 2C 00 00 00 */ cmpwi r0, 0 -/* 800B8AF4 000B5A54 40 82 00 1C */ bne lbl_800B8B10 -/* 800B8AF8 000B5A58 80 1A 00 90 */ lwz r0, 0x90(r26) -/* 800B8AFC 000B5A5C 2C 00 00 00 */ cmpwi r0, 0 -/* 800B8B00 000B5A60 40 82 00 10 */ bne lbl_800B8B10 -/* 800B8B04 000B5A64 80 1A 00 A4 */ lwz r0, 0xa4(r26) -/* 800B8B08 000B5A68 2C 00 00 00 */ cmpwi r0, 0 -/* 800B8B0C 000B5A6C 41 82 00 08 */ beq lbl_800B8B14 -lbl_800B8B10: -/* 800B8B10 000B5A70 38 60 00 01 */ li r3, 1 -lbl_800B8B14: -/* 800B8B14 000B5A74 88 1A 00 B4 */ lbz r0, 0xb4(r26) -/* 800B8B18 000B5A78 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800B8B1C 000B5A7C 98 1A 00 B4 */ stb r0, 0xb4(r26) -lbl_800B8B20: -/* 800B8B20 000B5A80 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 800B8B24 000B5A84 BB 41 00 10 */ lmw r26, 0x10(r1) -/* 800B8B28 000B5A88 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800B8B2C 000B5A8C 7C 08 03 A6 */ mtlr r0 -/* 800B8B30 000B5A90 38 21 00 30 */ addi r1, r1, 0x30 -/* 800B8B34 000B5A94 4E 80 00 20 */ blr - -.global GetParticleSystem__23CParticleGenInfoGenericCFv -GetParticleSystem__23CParticleGenInfoGenericCFv: -/* 800B8B38 000B5A98 80 04 00 84 */ lwz r0, 0x84(r4) -/* 800B8B3C 000B5A9C 90 03 00 00 */ stw r0, 0(r3) -/* 800B8B40 000B5AA0 80 83 00 00 */ lwz r4, 0(r3) -/* 800B8B44 000B5AA4 80 64 00 04 */ lwz r3, 4(r4) -/* 800B8B48 000B5AA8 38 03 00 01 */ addi r0, r3, 1 -/* 800B8B4C 000B5AAC 90 04 00 04 */ stw r0, 4(r4) -/* 800B8B50 000B5AB0 4E 80 00 20 */ blr - -.global "SetCEXTValue__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if" -"SetCEXTValue__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if": -/* 800B8B54 000B5AB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B8B58 000B5AB8 7C 08 02 A6 */ mflr r0 -/* 800B8B5C 000B5ABC 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B8B60 000B5AC0 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 800B8B64 000B5AC4 FF E0 08 90 */ fmr f31, f1 -/* 800B8B68 000B5AC8 93 E1 00 14 */ stw r31, 0x14(r1) -/* 800B8B6C 000B5ACC 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800B8B70 000B5AD0 7C BE 2B 78 */ mr r30, r5 -/* 800B8B74 000B5AD4 48 00 00 E9 */ bl "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800B8B78 000B5AD8 28 03 00 00 */ cmplwi r3, 0 -/* 800B8B7C 000B5ADC 41 82 00 30 */ beq lbl_800B8BAC -/* 800B8B80 000B5AE0 7C 64 1B 78 */ mr r4, r3 -/* 800B8B84 000B5AE4 38 61 00 08 */ addi r3, r1, 8 -/* 800B8B88 000B5AE8 4B FF FF B1 */ bl GetParticleSystem__23CParticleGenInfoGenericCFv -/* 800B8B8C 000B5AEC 80 81 00 08 */ lwz r4, 8(r1) -/* 800B8B90 000B5AF0 38 61 00 08 */ addi r3, r1, 8 -/* 800B8B94 000B5AF4 83 E4 00 00 */ lwz r31, 0(r4) -/* 800B8B98 000B5AF8 4B FF EE 69 */ bl sub_800b7a00 -/* 800B8B9C 000B5AFC FC 20 F8 90 */ fmr f1, f31 -/* 800B8BA0 000B5B00 7F E3 FB 78 */ mr r3, r31 -/* 800B8BA4 000B5B04 7F C4 F3 78 */ mr r4, r30 -/* 800B8BA8 000B5B08 48 25 EA D5 */ bl SetCEXTValue__11CElementGenFif -lbl_800B8BAC: -/* 800B8BAC 000B5B0C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B8BB0 000B5B10 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 800B8BB4 000B5B14 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 800B8BB8 000B5B18 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 800B8BBC 000B5B1C 7C 08 03 A6 */ mtlr r0 -/* 800B8BC0 000B5B20 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B8BC4 000B5B24 4E 80 00 20 */ blr - -.global "SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager" -"SetParticleEffectState__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bR13CStateManager": -/* 800B8BC8 000B5B28 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B8BCC 000B5B2C 7C 08 02 A6 */ mflr r0 -/* 800B8BD0 000B5B30 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B8BD4 000B5B34 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B8BD8 000B5B38 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B8BDC 000B5B3C 7C DE 33 78 */ mr r30, r6 -/* 800B8BE0 000B5B40 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B8BE4 000B5B44 7C BD 2B 78 */ mr r29, r5 -/* 800B8BE8 000B5B48 48 00 00 75 */ bl "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800B8BEC 000B5B4C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800B8BF0 000B5B50 41 82 00 50 */ beq lbl_800B8C40 -/* 800B8BF4 000B5B54 81 83 00 00 */ lwz r12, 0(r3) -/* 800B8BF8 000B5B58 7F A4 EB 78 */ mr r4, r29 -/* 800B8BFC 000B5B5C 7F C5 F3 78 */ mr r5, r30 -/* 800B8C00 000B5B60 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800B8C04 000B5B64 7D 89 03 A6 */ mtctr r12 -/* 800B8C08 000B5B68 4E 80 04 21 */ bctrl -/* 800B8C0C 000B5B6C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 800B8C10 000B5B70 9B BF 00 24 */ stb r29, 0x24(r31) -/* 800B8C14 000B5B74 40 82 00 24 */ bne lbl_800B8C38 -/* 800B8C18 000B5B78 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 800B8C1C 000B5B7C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800B8C20 000B5B80 41 82 00 18 */ beq lbl_800B8C38 -/* 800B8C24 000B5B84 7F E3 FB 78 */ mr r3, r31 -/* 800B8C28 000B5B88 81 9F 00 00 */ lwz r12, 0(r31) -/* 800B8C2C 000B5B8C 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 800B8C30 000B5B90 7D 89 03 A6 */ mtctr r12 -/* 800B8C34 000B5B94 4E 80 04 21 */ bctrl -lbl_800B8C38: -/* 800B8C38 000B5B98 38 00 00 01 */ li r0, 1 -/* 800B8C3C 000B5B9C 98 1F 00 40 */ stb r0, 0x40(r31) -lbl_800B8C40: -/* 800B8C40 000B5BA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B8C44 000B5BA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B8C48 000B5BA8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B8C4C 000B5BAC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B8C50 000B5BB0 7C 08 03 A6 */ mtlr r0 -/* 800B8C54 000B5BB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B8C58 000B5BB8 4E 80 00 20 */ blr - -.global "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 800B8C5C 000B5BBC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800B8C60 000B5BC0 7C 08 02 A6 */ mflr r0 -/* 800B8C64 000B5BC4 90 01 00 74 */ stw r0, 0x74(r1) -/* 800B8C68 000B5BC8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800B8C6C 000B5BCC 7C 9F 23 78 */ mr r31, r4 -/* 800B8C70 000B5BD0 7F E5 FB 78 */ mr r5, r31 -/* 800B8C74 000B5BD4 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800B8C78 000B5BD8 7C 7E 1B 78 */ mr r30, r3 -/* 800B8C7C 000B5BDC 38 61 00 60 */ addi r3, r1, 0x60 -/* 800B8C80 000B5BE0 38 9E 00 3C */ addi r4, r30, 0x3c -/* 800B8C84 000B5BE4 48 00 01 D9 */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" -/* 800B8C88 000B5BE8 80 A1 00 60 */ lwz r5, 0x60(r1) -/* 800B8C8C 000B5BEC 38 60 00 00 */ li r3, 0 -/* 800B8C90 000B5BF0 38 1E 00 44 */ addi r0, r30, 0x44 -/* 800B8C94 000B5BF4 90 61 00 58 */ stw r3, 0x58(r1) -/* 800B8C98 000B5BF8 7C 05 18 40 */ cmplw r5, r3 -/* 800B8C9C 000B5BFC 80 81 00 64 */ lwz r4, 0x64(r1) -/* 800B8CA0 000B5C00 90 01 00 5C */ stw r0, 0x5c(r1) -/* 800B8CA4 000B5C04 40 82 00 0C */ bne lbl_800B8CB0 -/* 800B8CA8 000B5C08 7C 04 00 40 */ cmplw r4, r0 -/* 800B8CAC 000B5C0C 41 82 00 08 */ beq lbl_800B8CB4 -lbl_800B8CB0: -/* 800B8CB0 000B5C10 38 60 00 01 */ li r3, 1 -lbl_800B8CB4: -/* 800B8CB4 000B5C14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B8CB8 000B5C18 41 82 00 0C */ beq lbl_800B8CC4 -/* 800B8CBC 000B5C1C 80 65 00 24 */ lwz r3, 0x24(r5) -/* 800B8CC0 000B5C20 48 00 01 84 */ b lbl_800B8E44 -lbl_800B8CC4: -/* 800B8CC4 000B5C24 7F E5 FB 78 */ mr r5, r31 -/* 800B8CC8 000B5C28 38 61 00 50 */ addi r3, r1, 0x50 -/* 800B8CCC 000B5C2C 38 9E 00 50 */ addi r4, r30, 0x50 -/* 800B8CD0 000B5C30 48 00 01 8D */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" -/* 800B8CD4 000B5C34 80 81 00 50 */ lwz r4, 0x50(r1) -/* 800B8CD8 000B5C38 38 60 00 00 */ li r3, 0 -/* 800B8CDC 000B5C3C 38 1E 00 58 */ addi r0, r30, 0x58 -/* 800B8CE0 000B5C40 90 61 00 48 */ stw r3, 0x48(r1) -/* 800B8CE4 000B5C44 7C 04 18 40 */ cmplw r4, r3 -/* 800B8CE8 000B5C48 80 A1 00 54 */ lwz r5, 0x54(r1) -/* 800B8CEC 000B5C4C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800B8CF0 000B5C50 40 82 00 0C */ bne lbl_800B8CFC -/* 800B8CF4 000B5C54 7C 05 00 40 */ cmplw r5, r0 -/* 800B8CF8 000B5C58 41 82 00 08 */ beq lbl_800B8D00 -lbl_800B8CFC: -/* 800B8CFC 000B5C5C 38 60 00 01 */ li r3, 1 -lbl_800B8D00: -/* 800B8D00 000B5C60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B8D04 000B5C64 41 82 00 0C */ beq lbl_800B8D10 -/* 800B8D08 000B5C68 80 64 00 24 */ lwz r3, 0x24(r4) -/* 800B8D0C 000B5C6C 48 00 01 38 */ b lbl_800B8E44 -lbl_800B8D10: -/* 800B8D10 000B5C70 7F E5 FB 78 */ mr r5, r31 -/* 800B8D14 000B5C74 38 61 00 40 */ addi r3, r1, 0x40 -/* 800B8D18 000B5C78 38 9E 00 64 */ addi r4, r30, 0x64 -/* 800B8D1C 000B5C7C 48 00 01 41 */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" -/* 800B8D20 000B5C80 80 81 00 40 */ lwz r4, 0x40(r1) -/* 800B8D24 000B5C84 38 60 00 00 */ li r3, 0 -/* 800B8D28 000B5C88 38 1E 00 6C */ addi r0, r30, 0x6c -/* 800B8D2C 000B5C8C 90 61 00 38 */ stw r3, 0x38(r1) -/* 800B8D30 000B5C90 7C 04 18 40 */ cmplw r4, r3 -/* 800B8D34 000B5C94 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 800B8D38 000B5C98 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800B8D3C 000B5C9C 40 82 00 0C */ bne lbl_800B8D48 -/* 800B8D40 000B5CA0 7C 05 00 40 */ cmplw r5, r0 -/* 800B8D44 000B5CA4 41 82 00 08 */ beq lbl_800B8D4C -lbl_800B8D48: -/* 800B8D48 000B5CA8 38 60 00 01 */ li r3, 1 -lbl_800B8D4C: -/* 800B8D4C 000B5CAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B8D50 000B5CB0 41 82 00 0C */ beq lbl_800B8D5C -/* 800B8D54 000B5CB4 80 64 00 24 */ lwz r3, 0x24(r4) -/* 800B8D58 000B5CB8 48 00 00 EC */ b lbl_800B8E44 -lbl_800B8D5C: -/* 800B8D5C 000B5CBC 7F E5 FB 78 */ mr r5, r31 -/* 800B8D60 000B5CC0 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B8D64 000B5CC4 38 9E 00 78 */ addi r4, r30, 0x78 -/* 800B8D68 000B5CC8 48 00 00 F5 */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" -/* 800B8D6C 000B5CCC 80 81 00 30 */ lwz r4, 0x30(r1) -/* 800B8D70 000B5CD0 38 60 00 00 */ li r3, 0 -/* 800B8D74 000B5CD4 38 1E 00 80 */ addi r0, r30, 0x80 -/* 800B8D78 000B5CD8 90 61 00 28 */ stw r3, 0x28(r1) -/* 800B8D7C 000B5CDC 7C 04 18 40 */ cmplw r4, r3 -/* 800B8D80 000B5CE0 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 800B8D84 000B5CE4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800B8D88 000B5CE8 40 82 00 0C */ bne lbl_800B8D94 -/* 800B8D8C 000B5CEC 7C 05 00 40 */ cmplw r5, r0 -/* 800B8D90 000B5CF0 41 82 00 08 */ beq lbl_800B8D98 -lbl_800B8D94: -/* 800B8D94 000B5CF4 38 60 00 01 */ li r3, 1 -lbl_800B8D98: -/* 800B8D98 000B5CF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B8D9C 000B5CFC 41 82 00 0C */ beq lbl_800B8DA8 -/* 800B8DA0 000B5D00 80 64 00 24 */ lwz r3, 0x24(r4) -/* 800B8DA4 000B5D04 48 00 00 A0 */ b lbl_800B8E44 -lbl_800B8DA8: -/* 800B8DA8 000B5D08 7F E5 FB 78 */ mr r5, r31 -/* 800B8DAC 000B5D0C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B8DB0 000B5D10 38 9E 00 8C */ addi r4, r30, 0x8c -/* 800B8DB4 000B5D14 48 00 00 A9 */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" -/* 800B8DB8 000B5D18 80 81 00 20 */ lwz r4, 0x20(r1) -/* 800B8DBC 000B5D1C 38 60 00 00 */ li r3, 0 -/* 800B8DC0 000B5D20 38 1E 00 94 */ addi r0, r30, 0x94 -/* 800B8DC4 000B5D24 90 61 00 18 */ stw r3, 0x18(r1) -/* 800B8DC8 000B5D28 7C 04 18 40 */ cmplw r4, r3 -/* 800B8DCC 000B5D2C 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 800B8DD0 000B5D30 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800B8DD4 000B5D34 40 82 00 0C */ bne lbl_800B8DE0 -/* 800B8DD8 000B5D38 7C 05 00 40 */ cmplw r5, r0 -/* 800B8DDC 000B5D3C 41 82 00 08 */ beq lbl_800B8DE4 -lbl_800B8DE0: -/* 800B8DE0 000B5D40 38 60 00 01 */ li r3, 1 -lbl_800B8DE4: -/* 800B8DE4 000B5D44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B8DE8 000B5D48 41 82 00 0C */ beq lbl_800B8DF4 -/* 800B8DEC 000B5D4C 80 64 00 24 */ lwz r3, 0x24(r4) -/* 800B8DF0 000B5D50 48 00 00 54 */ b lbl_800B8E44 -lbl_800B8DF4: -/* 800B8DF4 000B5D54 7F E5 FB 78 */ mr r5, r31 -/* 800B8DF8 000B5D58 38 61 00 10 */ addi r3, r1, 0x10 -/* 800B8DFC 000B5D5C 38 9E 00 A0 */ addi r4, r30, 0xa0 -/* 800B8E00 000B5D60 48 00 00 5D */ bl "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" -/* 800B8E04 000B5D64 80 81 00 10 */ lwz r4, 0x10(r1) -/* 800B8E08 000B5D68 38 60 00 00 */ li r3, 0 -/* 800B8E0C 000B5D6C 38 1E 00 A8 */ addi r0, r30, 0xa8 -/* 800B8E10 000B5D70 90 61 00 08 */ stw r3, 8(r1) -/* 800B8E14 000B5D74 7C 04 18 40 */ cmplw r4, r3 -/* 800B8E18 000B5D78 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 800B8E1C 000B5D7C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800B8E20 000B5D80 40 82 00 0C */ bne lbl_800B8E2C -/* 800B8E24 000B5D84 7C 05 00 40 */ cmplw r5, r0 -/* 800B8E28 000B5D88 41 82 00 08 */ beq lbl_800B8E30 -lbl_800B8E2C: -/* 800B8E2C 000B5D8C 38 60 00 01 */ li r3, 1 -lbl_800B8E30: -/* 800B8E30 000B5D90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B8E34 000B5D94 41 82 00 0C */ beq lbl_800B8E40 -/* 800B8E38 000B5D98 80 64 00 24 */ lwz r3, 0x24(r4) -/* 800B8E3C 000B5D9C 48 00 00 08 */ b lbl_800B8E44 -lbl_800B8E40: -/* 800B8E40 000B5DA0 38 60 00 00 */ li r3, 0 -lbl_800B8E44: -/* 800B8E44 000B5DA4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800B8E48 000B5DA8 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800B8E4C 000B5DAC 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800B8E50 000B5DB0 7C 08 03 A6 */ mtlr r0 -/* 800B8E54 000B5DB4 38 21 00 70 */ addi r1, r1, 0x70 -/* 800B8E58 000B5DB8 4E 80 00 20 */ blr - -.global "find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR" -"find__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR": -/* 800B8E5C 000B5DBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800B8E60 000B5DC0 7C 08 02 A6 */ mflr r0 -/* 800B8E64 000B5DC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B8E68 000B5DC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800B8E6C 000B5DCC 7C 9F 23 78 */ mr r31, r4 -/* 800B8E70 000B5DD0 7C A4 2B 78 */ mr r4, r5 -/* 800B8E74 000B5DD4 93 C1 00 08 */ stw r30, 8(r1) -/* 800B8E78 000B5DD8 7C 7E 1B 78 */ mr r30, r3 -/* 800B8E7C 000B5DDC 7F E3 FB 78 */ mr r3, r31 -/* 800B8E80 000B5DE0 48 00 00 29 */ bl "find_node__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocat" -/* 800B8E84 000B5DE4 90 7E 00 00 */ stw r3, 0(r30) -/* 800B8E88 000B5DE8 38 1F 00 08 */ addi r0, r31, 8 -/* 800B8E8C 000B5DEC 90 1E 00 04 */ stw r0, 4(r30) -/* 800B8E90 000B5DF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800B8E94 000B5DF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800B8E98 000B5DF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 800B8E9C 000B5DFC 7C 08 03 A6 */ mtlr r0 -/* 800B8EA0 000B5E00 38 21 00 10 */ addi r1, r1, 0x10 -/* 800B8EA4 000B5E04 4E 80 00 20 */ blr - -.global "find_node__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocat" -"find_node__Q24rstl492red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>,0,Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocat": -/* 800B8EA8 000B5E08 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800B8EAC 000B5E0C 7C 08 02 A6 */ mflr r0 -/* 800B8EB0 000B5E10 90 01 00 24 */ stw r0, 0x24(r1) -/* 800B8EB4 000B5E14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800B8EB8 000B5E18 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800B8EBC 000B5E1C 3B C0 00 00 */ li r30, 0 -/* 800B8EC0 000B5E20 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800B8EC4 000B5E24 7C 9D 23 78 */ mr r29, r4 -/* 800B8EC8 000B5E28 93 81 00 10 */ stw r28, 0x10(r1) -/* 800B8ECC 000B5E2C 7C 7C 1B 78 */ mr r28, r3 -/* 800B8ED0 000B5E30 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 800B8ED4 000B5E34 48 00 00 2C */ b lbl_800B8F00 -lbl_800B8ED8: -/* 800B8ED8 000B5E38 7F A5 EB 78 */ mr r5, r29 -/* 800B8EDC 000B5E3C 38 7C 00 01 */ addi r3, r28, 1 -/* 800B8EE0 000B5E40 38 9F 00 10 */ addi r4, r31, 0x10 -/* 800B8EE4 000B5E44 4B F7 18 45 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 800B8EE8 000B5E48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B8EEC 000B5E4C 40 82 00 10 */ bne lbl_800B8EFC -/* 800B8EF0 000B5E50 7F FE FB 78 */ mr r30, r31 -/* 800B8EF4 000B5E54 83 FF 00 00 */ lwz r31, 0(r31) -/* 800B8EF8 000B5E58 48 00 00 08 */ b lbl_800B8F00 -lbl_800B8EFC: -/* 800B8EFC 000B5E5C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_800B8F00: -/* 800B8F00 000B5E60 28 1F 00 00 */ cmplwi r31, 0 -/* 800B8F04 000B5E64 40 82 FF D4 */ bne lbl_800B8ED8 -/* 800B8F08 000B5E68 28 1E 00 00 */ cmplwi r30, 0 -/* 800B8F0C 000B5E6C 3B E0 00 00 */ li r31, 0 -/* 800B8F10 000B5E70 41 82 00 1C */ beq lbl_800B8F2C -/* 800B8F14 000B5E74 7F A4 EB 78 */ mr r4, r29 -/* 800B8F18 000B5E78 38 7C 00 01 */ addi r3, r28, 1 -/* 800B8F1C 000B5E7C 38 BE 00 10 */ addi r5, r30, 0x10 -/* 800B8F20 000B5E80 4B F7 18 09 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 800B8F24 000B5E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B8F28 000B5E88 41 82 00 08 */ beq lbl_800B8F30 -lbl_800B8F2C: -/* 800B8F2C 000B5E8C 3B E0 00 01 */ li r31, 1 -lbl_800B8F30: -/* 800B8F30 000B5E90 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800B8F34 000B5E94 41 82 00 0C */ beq lbl_800B8F40 -/* 800B8F38 000B5E98 38 60 00 00 */ li r3, 0 -/* 800B8F3C 000B5E9C 48 00 00 08 */ b lbl_800B8F44 -lbl_800B8F40: -/* 800B8F40 000B5EA0 7F C3 F3 78 */ mr r3, r30 -lbl_800B8F44: -/* 800B8F44 000B5EA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800B8F48 000B5EA8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800B8F4C 000B5EAC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800B8F50 000B5EB0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800B8F54 000B5EB4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800B8F58 000B5EB8 7C 08 03 A6 */ mtlr r0 -/* 800B8F5C 000B5EBC 38 21 00 20 */ addi r1, r1, 0x20 -/* 800B8F60 000B5EC0 4E 80 00 20 */ blr - -.global "AddAuxiliaryParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC22CAuxiliaryParticleDataRC9CVector3fR13CStateManager7TAreaIdi" -"AddAuxiliaryParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC22CAuxiliaryParticleDataRC9CVector3fR13CStateManager7TAreaIdi": -/* 800B8F64 000B5EC4 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800B8F68 000B5EC8 7C 08 02 A6 */ mflr r0 -/* 800B8F6C 000B5ECC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800B8F70 000B5ED0 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 800B8F74 000B5ED4 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 800B8F78 000B5ED8 BE A1 00 84 */ stmw r21, 0x84(r1) -/* 800B8F7C 000B5EDC 7C DE 33 78 */ mr r30, r6 -/* 800B8F80 000B5EE0 7C 7C 1B 78 */ mr r28, r3 -/* 800B8F84 000B5EE4 80 C6 00 08 */ lwz r6, 8(r6) -/* 800B8F88 000B5EE8 7C 9B 23 78 */ mr r27, r4 -/* 800B8F8C 000B5EEC 80 1E 00 04 */ lwz r0, 4(r30) -/* 800B8F90 000B5EF0 7C BD 2B 78 */ mr r29, r5 -/* 800B8F94 000B5EF4 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 800B8F98 000B5EF8 7C F6 3B 78 */ mr r22, r7 -/* 800B8F9C 000B5EFC 83 5E 00 00 */ lwz r26, 0(r30) -/* 800B8FA0 000B5F00 7D 1F 43 78 */ mr r31, r8 -/* 800B8FA4 000B5F04 90 01 00 48 */ stw r0, 0x48(r1) -/* 800B8FA8 000B5F08 7D 39 4B 78 */ mr r25, r9 -/* 800B8FAC 000B5F0C C3 FE 00 18 */ lfs f31, 0x18(r30) -/* 800B8FB0 000B5F10 7D 57 53 78 */ mr r23, r10 -/* 800B8FB4 000B5F14 4B FF FC A9 */ bl "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800B8FB8 000B5F18 7C 75 1B 79 */ or. r21, r3, r3 -/* 800B8FBC 000B5F1C 40 82 03 88 */ bne lbl_800B9344 -/* 800B8FC0 000B5F20 C0 02 8D 2C */ lfs f0, lbl_805AAA4C@sda21(r2) -/* 800B8FC4 000B5F24 57 A0 07 BD */ rlwinm. r0, r29, 0, 0x1e, 0x1e -/* 800B8FC8 000B5F28 80 61 00 48 */ lwz r3, 0x48(r1) -/* 800B8FCC 000B5F2C D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800B8FD0 000B5F30 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 800B8FD4 000B5F34 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800B8FD8 000B5F38 41 82 00 18 */ beq lbl_800B8FF0 -/* 800B8FDC 000B5F3C EC 00 07 F2 */ fmuls f0, f0, f31 -/* 800B8FE0 000B5F40 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800B8FE4 000B5F44 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 800B8FE8 000B5F48 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800B8FEC 000B5F4C 48 00 00 28 */ b lbl_800B9014 -lbl_800B8FF0: -/* 800B8FF0 000B5F50 C0 56 00 08 */ lfs f2, 8(r22) -/* 800B8FF4 000B5F54 C0 36 00 04 */ lfs f1, 4(r22) -/* 800B8FF8 000B5F58 C0 16 00 00 */ lfs f0, 0(r22) -/* 800B8FFC 000B5F5C EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 800B9000 000B5F60 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 800B9004 000B5F64 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800B9008 000B5F68 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 800B900C 000B5F6C D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800B9010 000B5F70 D0 21 00 70 */ stfs f1, 0x70(r1) -lbl_800B9014: -/* 800B9014 000B5F74 3C 03 AF BF */ addis r0, r3, 0xafbf -/* 800B9018 000B5F78 3B 00 00 00 */ li r24, 0 -/* 800B901C 000B5F7C 28 00 52 54 */ cmplwi r0, 0x5254 -/* 800B9020 000B5F80 9B 01 00 40 */ stb r24, 0x40(r1) -/* 800B9024 000B5F84 93 01 00 44 */ stw r24, 0x44(r1) -/* 800B9028 000B5F88 40 82 02 EC */ bne lbl_800B9314 -/* 800B902C 000B5F8C 80 BC 00 10 */ lwz r5, 0x10(r28) -/* 800B9030 000B5F90 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 800B9034 000B5F94 48 00 00 20 */ b lbl_800B9054 -lbl_800B9038: -/* 800B9038 000B5F98 80 85 00 10 */ lwz r4, 0x10(r5) -/* 800B903C 000B5F9C 7C 04 00 40 */ cmplw r4, r0 -/* 800B9040 000B5FA0 41 80 00 10 */ blt lbl_800B9050 -/* 800B9044 000B5FA4 7C B8 2B 78 */ mr r24, r5 -/* 800B9048 000B5FA8 80 A5 00 00 */ lwz r5, 0(r5) -/* 800B904C 000B5FAC 48 00 00 08 */ b lbl_800B9054 -lbl_800B9050: -/* 800B9050 000B5FB0 80 A5 00 04 */ lwz r5, 4(r5) -lbl_800B9054: -/* 800B9054 000B5FB4 28 05 00 00 */ cmplwi r5, 0 -/* 800B9058 000B5FB8 40 82 FF E0 */ bne lbl_800B9038 -/* 800B905C 000B5FBC 28 18 00 00 */ cmplwi r24, 0 -/* 800B9060 000B5FC0 38 A0 00 00 */ li r5, 0 -/* 800B9064 000B5FC4 41 82 00 14 */ beq lbl_800B9078 -/* 800B9068 000B5FC8 80 81 00 4C */ lwz r4, 0x4c(r1) -/* 800B906C 000B5FCC 80 18 00 10 */ lwz r0, 0x10(r24) -/* 800B9070 000B5FD0 7C 04 00 40 */ cmplw r4, r0 -/* 800B9074 000B5FD4 40 80 00 08 */ bge lbl_800B907C -lbl_800B9078: -/* 800B9078 000B5FD8 38 A0 00 01 */ li r5, 1 -lbl_800B907C: -/* 800B907C 000B5FDC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 800B9080 000B5FE0 41 82 00 08 */ beq lbl_800B9088 -/* 800B9084 000B5FE4 3B 00 00 00 */ li r24, 0 -lbl_800B9088: -/* 800B9088 000B5FE8 38 00 00 00 */ li r0, 0 -/* 800B908C 000B5FEC 38 9C 00 08 */ addi r4, r28, 8 -/* 800B9090 000B5FF0 7C 18 00 40 */ cmplw r24, r0 -/* 800B9094 000B5FF4 90 01 00 38 */ stw r0, 0x38(r1) -/* 800B9098 000B5FF8 90 81 00 3C */ stw r4, 0x3c(r1) -/* 800B909C 000B5FFC 40 82 00 0C */ bne lbl_800B90A8 -/* 800B90A0 000B6000 7C 04 20 40 */ cmplw r4, r4 -/* 800B90A4 000B6004 41 82 00 08 */ beq lbl_800B90AC -lbl_800B90A8: -/* 800B90A8 000B6008 38 00 00 01 */ li r0, 1 -lbl_800B90AC: -/* 800B90AC 000B600C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B90B0 000B6010 41 82 02 60 */ beq lbl_800B9310 -/* 800B90B4 000B6014 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800B90B8 000B6018 3A C0 00 00 */ li r22, 0 -/* 800B90BC 000B601C 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800B90C0 000B6020 38 A0 00 00 */ li r5, 0 -/* 800B90C4 000B6024 38 60 03 40 */ li r3, 0x340 -/* 800B90C8 000B6028 48 25 C7 A5 */ bl __nw__FUlPCcPCc -/* 800B90CC 000B602C 7C 75 1B 79 */ or. r21, r3, r3 -/* 800B90D0 000B6030 41 82 00 30 */ beq lbl_800B9100 -/* 800B90D4 000B6034 80 98 00 14 */ lwz r4, 0x14(r24) -/* 800B90D8 000B6038 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B90DC 000B603C 80 84 00 00 */ lwz r4, 0(r4) -/* 800B90E0 000B6040 48 28 7D C9 */ bl __ct__6CTokenFRC6CToken -/* 800B90E4 000B6044 7E A3 AB 78 */ mr r3, r21 -/* 800B90E8 000B6048 38 81 00 30 */ addi r4, r1, 0x30 -/* 800B90EC 000B604C 3A C0 00 01 */ li r22, 1 -/* 800B90F0 000B6050 38 A0 00 00 */ li r5, 0 -/* 800B90F4 000B6054 38 C0 00 01 */ li r6, 1 -/* 800B90F8 000B6058 48 26 62 E9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800B90FC 000B605C 7C 75 1B 78 */ mr r21, r3 -lbl_800B9100: -/* 800B9100 000B6060 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800B9104 000B6064 38 60 00 08 */ li r3, 8 -/* 800B9108 000B6068 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800B910C 000B606C 38 A0 00 00 */ li r5, 0 -/* 800B9110 000B6070 48 25 C7 5D */ bl __nw__FUlPCcPCc -/* 800B9114 000B6074 28 03 00 00 */ cmplwi r3, 0 -/* 800B9118 000B6078 41 82 00 10 */ beq lbl_800B9128 -/* 800B911C 000B607C 92 A3 00 00 */ stw r21, 0(r3) -/* 800B9120 000B6080 38 00 00 01 */ li r0, 1 -/* 800B9124 000B6084 90 03 00 04 */ stw r0, 4(r3) -lbl_800B9128: -/* 800B9128 000B6088 7E C0 07 75 */ extsb. r0, r22 -/* 800B912C 000B608C 90 61 00 24 */ stw r3, 0x24(r1) -/* 800B9130 000B6090 41 82 00 10 */ beq lbl_800B9140 -/* 800B9134 000B6094 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B9138 000B6098 38 80 00 00 */ li r4, 0 -/* 800B913C 000B609C 48 28 7D 05 */ bl __dt__6CTokenFv -lbl_800B9140: -/* 800B9140 000B60A0 80 98 00 14 */ lwz r4, 0x14(r24) -/* 800B9144 000B60A4 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B9148 000B60A8 80 84 00 00 */ lwz r4, 0(r4) -/* 800B914C 000B60AC 48 00 1B 09 */ bl "_getGraphicLightId,25TToken<15CGenDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC25TToken<15CGenDescription>" -/* 800B9150 000B60B0 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800B9154 000B60B4 7E F7 1A 14 */ add r23, r23, r3 -/* 800B9158 000B60B8 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800B915C 000B60BC 3A C0 00 00 */ li r22, 0 -/* 800B9160 000B60C0 3A A0 00 00 */ li r21, 0 -/* 800B9164 000B60C4 38 60 00 8C */ li r3, 0x8c -/* 800B9168 000B60C8 38 A0 00 00 */ li r5, 0 -/* 800B916C 000B60CC 48 25 C7 01 */ bl __nw__FUlPCcPCc -/* 800B9170 000B60D0 7C 78 1B 79 */ or. r24, r3, r3 -/* 800B9174 000B60D4 41 82 00 9C */ beq lbl_800B9210 -/* 800B9178 000B60D8 81 01 00 24 */ lwz r8, 0x24(r1) -/* 800B917C 000B60DC 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800B9180 000B60E0 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800B9184 000B60E4 38 61 00 50 */ addi r3, r1, 0x50 -/* 800B9188 000B60E8 91 01 00 1C */ stw r8, 0x1c(r1) -/* 800B918C 000B60EC 38 84 00 07 */ addi r4, r4, 7 -/* 800B9190 000B60F0 38 C1 00 18 */ addi r6, r1, 0x18 -/* 800B9194 000B60F4 3A A0 00 01 */ li r21, 1 -/* 800B9198 000B60F8 80 E8 00 04 */ lwz r7, 4(r8) -/* 800B919C 000B60FC 38 A0 FF FF */ li r5, -1 -/* 800B91A0 000B6100 38 07 00 01 */ addi r0, r7, 1 -/* 800B91A4 000B6104 90 08 00 04 */ stw r0, 4(r8) -/* 800B91A8 000B6108 48 28 4F ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 800B91AC 000B610C 80 81 00 6C */ lwz r4, 0x6c(r1) -/* 800B91B0 000B6110 39 61 00 20 */ addi r11, r1, 0x20 -/* 800B91B4 000B6114 80 E1 00 70 */ lwz r7, 0x70(r1) -/* 800B91B8 000B6118 38 00 00 01 */ li r0, 1 -/* 800B91BC 000B611C 81 21 00 74 */ lwz r9, 0x74(r1) -/* 800B91C0 000B6120 7F 03 C3 78 */ mr r3, r24 -/* 800B91C4 000B6124 81 99 00 00 */ lwz r12, 0(r25) -/* 800B91C8 000B6128 7F 46 D3 78 */ mr r6, r26 -/* 800B91CC 000B612C 90 81 00 60 */ stw r4, 0x60(r1) -/* 800B91D0 000B6130 7F AA EB 78 */ mr r10, r29 -/* 800B91D4 000B6134 38 81 00 48 */ addi r4, r1, 0x48 -/* 800B91D8 000B6138 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800B91DC 000B613C 90 E1 00 64 */ stw r7, 0x64(r1) -/* 800B91E0 000B6140 38 E1 00 50 */ addi r7, r1, 0x50 -/* 800B91E4 000B6144 39 01 00 60 */ addi r8, r1, 0x60 -/* 800B91E8 000B6148 3A C0 00 01 */ li r22, 1 -/* 800B91EC 000B614C 91 21 00 68 */ stw r9, 0x68(r1) -/* 800B91F0 000B6150 39 20 00 00 */ li r9, 0 -/* 800B91F4 000B6154 91 81 00 20 */ stw r12, 0x20(r1) -/* 800B91F8 000B6158 93 E1 00 08 */ stw r31, 8(r1) -/* 800B91FC 000B615C 91 61 00 0C */ stw r11, 0xc(r1) -/* 800B9200 000B6160 92 E1 00 10 */ stw r23, 0x10(r1) -/* 800B9204 000B6164 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B9208 000B6168 4B FF E4 59 */ bl "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" -/* 800B920C 000B616C 7C 78 1B 78 */ mr r24, r3 -lbl_800B9210: -/* 800B9210 000B6170 7C 18 00 D0 */ neg r0, r24 -/* 800B9214 000B6174 38 61 00 28 */ addi r3, r1, 0x28 -/* 800B9218 000B6178 7C 04 C3 78 */ or r4, r0, r24 -/* 800B921C 000B617C 38 01 00 40 */ addi r0, r1, 0x40 -/* 800B9220 000B6180 54 84 0F FE */ srwi r4, r4, 0x1f -/* 800B9224 000B6184 93 01 00 2C */ stw r24, 0x2c(r1) -/* 800B9228 000B6188 7C 03 00 40 */ cmplw r3, r0 -/* 800B922C 000B618C 98 81 00 28 */ stb r4, 0x28(r1) -/* 800B9230 000B6190 41 82 00 48 */ beq lbl_800B9278 -/* 800B9234 000B6194 88 01 00 40 */ lbz r0, 0x40(r1) -/* 800B9238 000B6198 28 00 00 00 */ cmplwi r0, 0 -/* 800B923C 000B619C 41 82 00 24 */ beq lbl_800B9260 -/* 800B9240 000B61A0 80 61 00 44 */ lwz r3, 0x44(r1) -/* 800B9244 000B61A4 28 03 00 00 */ cmplwi r3, 0 -/* 800B9248 000B61A8 41 82 00 18 */ beq lbl_800B9260 -/* 800B924C 000B61AC 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9250 000B61B0 38 80 00 01 */ li r4, 1 -/* 800B9254 000B61B4 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B9258 000B61B8 7D 89 03 A6 */ mtctr r12 -/* 800B925C 000B61BC 4E 80 04 21 */ bctrl -lbl_800B9260: -/* 800B9260 000B61C0 88 81 00 28 */ lbz r4, 0x28(r1) -/* 800B9264 000B61C4 38 00 00 00 */ li r0, 0 -/* 800B9268 000B61C8 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800B926C 000B61CC 98 81 00 40 */ stb r4, 0x40(r1) -/* 800B9270 000B61D0 90 61 00 44 */ stw r3, 0x44(r1) -/* 800B9274 000B61D4 98 01 00 28 */ stb r0, 0x28(r1) -lbl_800B9278: -/* 800B9278 000B61D8 88 01 00 28 */ lbz r0, 0x28(r1) -/* 800B927C 000B61DC 28 00 00 00 */ cmplwi r0, 0 -/* 800B9280 000B61E0 41 82 00 24 */ beq lbl_800B92A4 -/* 800B9284 000B61E4 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800B9288 000B61E8 28 03 00 00 */ cmplwi r3, 0 -/* 800B928C 000B61EC 41 82 00 18 */ beq lbl_800B92A4 -/* 800B9290 000B61F0 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9294 000B61F4 38 80 00 01 */ li r4, 1 -/* 800B9298 000B61F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B929C 000B61FC 7D 89 03 A6 */ mtctr r12 -/* 800B92A0 000B6200 4E 80 04 21 */ bctrl -lbl_800B92A4: -/* 800B92A4 000B6204 7E A0 07 75 */ extsb. r0, r21 -/* 800B92A8 000B6208 41 82 00 0C */ beq lbl_800B92B4 -/* 800B92AC 000B620C 38 61 00 1C */ addi r3, r1, 0x1c -/* 800B92B0 000B6210 4B FF E7 51 */ bl sub_800b7a00 -lbl_800B92B4: -/* 800B92B4 000B6214 7E C0 07 75 */ extsb. r0, r22 -/* 800B92B8 000B6218 41 82 00 0C */ beq lbl_800B92C4 -/* 800B92BC 000B621C 38 61 00 50 */ addi r3, r1, 0x50 -/* 800B92C0 000B6220 48 28 48 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800B92C4: -/* 800B92C4 000B6224 80 61 00 44 */ lwz r3, 0x44(r1) -/* 800B92C8 000B6228 7F E5 FB 78 */ mr r5, r31 -/* 800B92CC 000B622C 38 9E 00 0C */ addi r4, r30, 0xc -/* 800B92D0 000B6230 81 83 00 00 */ lwz r12, 0(r3) -/* 800B92D4 000B6234 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800B92D8 000B6238 7D 89 03 A6 */ mtctr r12 -/* 800B92DC 000B623C 4E 80 04 21 */ bctrl -/* 800B92E0 000B6240 80 81 00 44 */ lwz r4, 0x44(r1) -/* 800B92E4 000B6244 38 00 00 00 */ li r0, 0 -/* 800B92E8 000B6248 7F 83 E3 78 */ mr r3, r28 -/* 800B92EC 000B624C 7F A5 EB 78 */ mr r5, r29 -/* 800B92F0 000B6250 98 04 00 40 */ stb r0, 0x40(r4) -/* 800B92F4 000B6254 7F 66 DB 78 */ mr r6, r27 -/* 800B92F8 000B6258 38 E1 00 40 */ addi r7, r1, 0x40 -/* 800B92FC 000B625C 38 80 00 00 */ li r4, 0 -/* 800B9300 000B6260 48 00 09 75 */ bl "InsertParticleGen__17CParticleDatabaseFbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl28auto_ptr<16CParticleGenInfo>" -/* 800B9304 000B6264 38 61 00 24 */ addi r3, r1, 0x24 -/* 800B9308 000B6268 4B FF E6 F9 */ bl sub_800b7a00 -/* 800B930C 000B626C 48 00 00 08 */ b lbl_800B9314 -lbl_800B9310: -/* 800B9310 000B6270 48 28 7C F5 */ bl Type2Text__10SObjectTagFUi -lbl_800B9314: -/* 800B9314 000B6274 88 01 00 40 */ lbz r0, 0x40(r1) -/* 800B9318 000B6278 28 00 00 00 */ cmplwi r0, 0 -/* 800B931C 000B627C 41 82 00 5C */ beq lbl_800B9378 -/* 800B9320 000B6280 80 61 00 44 */ lwz r3, 0x44(r1) -/* 800B9324 000B6284 28 03 00 00 */ cmplwi r3, 0 -/* 800B9328 000B6288 41 82 00 50 */ beq lbl_800B9378 -/* 800B932C 000B628C 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9330 000B6290 38 80 00 01 */ li r4, 1 -/* 800B9334 000B6294 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B9338 000B6298 7D 89 03 A6 */ mtctr r12 -/* 800B933C 000B629C 4E 80 04 21 */ bctrl -/* 800B9340 000B62A0 48 00 00 38 */ b lbl_800B9378 -lbl_800B9344: -/* 800B9344 000B62A4 88 15 00 24 */ lbz r0, 0x24(r21) -/* 800B9348 000B62A8 28 00 00 00 */ cmplwi r0, 0 -/* 800B934C 000B62AC 40 82 00 2C */ bne lbl_800B9378 -/* 800B9350 000B62B0 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9354 000B62B4 7F E5 FB 78 */ mr r5, r31 -/* 800B9358 000B62B8 38 80 00 01 */ li r4, 1 -/* 800B935C 000B62BC 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800B9360 000B62C0 7D 89 03 A6 */ mtctr r12 -/* 800B9364 000B62C4 4E 80 04 21 */ bctrl -/* 800B9368 000B62C8 38 00 00 01 */ li r0, 1 -/* 800B936C 000B62CC 98 15 00 24 */ stb r0, 0x24(r21) -/* 800B9370 000B62D0 98 15 00 40 */ stb r0, 0x40(r21) -/* 800B9374 000B62D4 93 B5 00 2C */ stw r29, 0x2c(r21) -lbl_800B9378: -/* 800B9378 000B62D8 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 800B937C 000B62DC CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 800B9380 000B62E0 BA A1 00 84 */ lmw r21, 0x84(r1) -/* 800B9384 000B62E4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800B9388 000B62E8 7C 08 03 A6 */ mtlr r0 -/* 800B938C 000B62EC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800B9390 000B62F0 4E 80 00 20 */ blr - -.global "AddParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC13CParticleDataRC9CVector3fR13CStateManager7TAreaIdb" -"AddParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC13CParticleDataRC9CVector3fR13CStateManager7TAreaIdb": -/* 800B9394 000B62F4 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 800B9398 000B62F8 7C 08 02 A6 */ mflr r0 -/* 800B939C 000B62FC 90 01 01 14 */ stw r0, 0x114(r1) -/* 800B93A0 000B6300 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 800B93A4 000B6304 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 800B93A8 000B6308 BE 41 00 C8 */ stmw r18, 0xc8(r1) -/* 800B93AC 000B630C 81 66 00 08 */ lwz r11, 8(r6) -/* 800B93B0 000B6310 7C 7F 1B 78 */ mr r31, r3 -/* 800B93B4 000B6314 80 06 00 04 */ lwz r0, 4(r6) -/* 800B93B8 000B6318 7C 94 23 78 */ mr r20, r4 -/* 800B93BC 000B631C 91 61 00 90 */ stw r11, 0x90(r1) -/* 800B93C0 000B6320 7C BE 2B 78 */ mr r30, r5 -/* 800B93C4 000B6324 82 E1 01 18 */ lwz r23, 0x118(r1) -/* 800B93C8 000B6328 7C F3 3B 78 */ mr r19, r7 -/* 800B93CC 000B632C 90 01 00 8C */ stw r0, 0x8c(r1) -/* 800B93D0 000B6330 7D 1D 43 78 */ mr r29, r8 -/* 800B93D4 000B6334 83 06 00 00 */ lwz r24, 0(r6) -/* 800B93D8 000B6338 7D 3B 4B 78 */ mr r27, r9 -/* 800B93DC 000B633C C3 E6 00 1C */ lfs f31, 0x1c(r6) -/* 800B93E0 000B6340 7D 56 53 78 */ mr r22, r10 -/* 800B93E4 000B6344 83 46 00 20 */ lwz r26, 0x20(r6) -/* 800B93E8 000B6348 3B 26 00 0C */ addi r25, r6, 0xc -/* 800B93EC 000B634C 4B FF F8 71 */ bl "GetParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800B93F0 000B6350 7C 72 1B 79 */ or. r18, r3, r3 -/* 800B93F4 000B6354 40 82 08 30 */ bne lbl_800B9C24 -/* 800B93F8 000B6358 C0 02 8D 2C */ lfs f0, lbl_805AAA4C@sda21(r2) -/* 800B93FC 000B635C 57 C0 07 BD */ rlwinm. r0, r30, 0, 0x1e, 0x1e -/* 800B9400 000B6360 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 800B9404 000B6364 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 800B9408 000B6368 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 800B940C 000B636C D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 800B9410 000B6370 41 82 00 18 */ beq lbl_800B9428 -/* 800B9414 000B6374 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 800B9418 000B6378 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 800B941C 000B637C D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 800B9420 000B6380 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 800B9424 000B6384 48 00 00 28 */ b lbl_800B944C -lbl_800B9428: -/* 800B9428 000B6388 C0 53 00 08 */ lfs f2, 8(r19) -/* 800B942C 000B638C C0 33 00 04 */ lfs f1, 4(r19) -/* 800B9430 000B6390 C0 13 00 00 */ lfs f0, 0(r19) -/* 800B9434 000B6394 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 800B9438 000B6398 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 800B943C 000B639C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800B9440 000B63A0 D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 800B9444 000B63A4 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 800B9448 000B63A8 D0 21 00 BC */ stfs f1, 0xbc(r1) -lbl_800B944C: -/* 800B944C 000B63AC 3C 03 AF BF */ addis r0, r3, 0xafbf -/* 800B9450 000B63B0 3B 80 00 00 */ li r28, 0 -/* 800B9454 000B63B4 28 00 52 54 */ cmplwi r0, 0x5254 -/* 800B9458 000B63B8 9B 81 00 84 */ stb r28, 0x84(r1) -/* 800B945C 000B63BC 93 81 00 88 */ stw r28, 0x88(r1) -/* 800B9460 000B63C0 40 82 02 70 */ bne lbl_800B96D0 -/* 800B9464 000B63C4 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 800B9468 000B63C8 80 01 00 90 */ lwz r0, 0x90(r1) -/* 800B946C 000B63CC 48 00 00 20 */ b lbl_800B948C -lbl_800B9470: -/* 800B9470 000B63D0 80 64 00 10 */ lwz r3, 0x10(r4) -/* 800B9474 000B63D4 7C 03 00 40 */ cmplw r3, r0 -/* 800B9478 000B63D8 41 80 00 10 */ blt lbl_800B9488 -/* 800B947C 000B63DC 7C 9C 23 78 */ mr r28, r4 -/* 800B9480 000B63E0 80 84 00 00 */ lwz r4, 0(r4) -/* 800B9484 000B63E4 48 00 00 08 */ b lbl_800B948C -lbl_800B9488: -/* 800B9488 000B63E8 80 84 00 04 */ lwz r4, 4(r4) -lbl_800B948C: -/* 800B948C 000B63EC 28 04 00 00 */ cmplwi r4, 0 -/* 800B9490 000B63F0 40 82 FF E0 */ bne lbl_800B9470 -/* 800B9494 000B63F4 28 1C 00 00 */ cmplwi r28, 0 -/* 800B9498 000B63F8 38 80 00 00 */ li r4, 0 -/* 800B949C 000B63FC 41 82 00 14 */ beq lbl_800B94B0 -/* 800B94A0 000B6400 80 61 00 90 */ lwz r3, 0x90(r1) -/* 800B94A4 000B6404 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 800B94A8 000B6408 7C 03 00 40 */ cmplw r3, r0 -/* 800B94AC 000B640C 40 80 00 08 */ bge lbl_800B94B4 -lbl_800B94B0: -/* 800B94B0 000B6410 38 80 00 01 */ li r4, 1 -lbl_800B94B4: -/* 800B94B4 000B6414 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800B94B8 000B6418 41 82 00 08 */ beq lbl_800B94C0 -/* 800B94BC 000B641C 3B 80 00 00 */ li r28, 0 -lbl_800B94C0: -/* 800B94C0 000B6420 38 00 00 00 */ li r0, 0 -/* 800B94C4 000B6424 38 7F 00 08 */ addi r3, r31, 8 -/* 800B94C8 000B6428 7C 1C 00 40 */ cmplw r28, r0 -/* 800B94CC 000B642C 90 01 00 7C */ stw r0, 0x7c(r1) -/* 800B94D0 000B6430 90 61 00 80 */ stw r3, 0x80(r1) -/* 800B94D4 000B6434 40 82 00 0C */ bne lbl_800B94E0 -/* 800B94D8 000B6438 7C 03 18 40 */ cmplw r3, r3 -/* 800B94DC 000B643C 41 82 00 08 */ beq lbl_800B94E4 -lbl_800B94E0: -/* 800B94E0 000B6440 38 00 00 01 */ li r0, 1 -lbl_800B94E4: -/* 800B94E4 000B6444 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B94E8 000B6448 41 82 06 B8 */ beq lbl_800B9BA0 -/* 800B94EC 000B644C 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800B94F0 000B6450 3A A0 00 00 */ li r21, 0 -/* 800B94F4 000B6454 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800B94F8 000B6458 38 A0 00 00 */ li r5, 0 -/* 800B94FC 000B645C 38 60 03 40 */ li r3, 0x340 -/* 800B9500 000B6460 48 25 C3 6D */ bl __nw__FUlPCcPCc -/* 800B9504 000B6464 7C 73 1B 79 */ or. r19, r3, r3 -/* 800B9508 000B6468 41 82 00 30 */ beq lbl_800B9538 -/* 800B950C 000B646C 80 9C 00 14 */ lwz r4, 0x14(r28) -/* 800B9510 000B6470 38 61 00 74 */ addi r3, r1, 0x74 -/* 800B9514 000B6474 80 84 00 00 */ lwz r4, 0(r4) -/* 800B9518 000B6478 48 28 79 91 */ bl __ct__6CTokenFRC6CToken -/* 800B951C 000B647C 7E 63 9B 78 */ mr r3, r19 -/* 800B9520 000B6480 38 81 00 74 */ addi r4, r1, 0x74 -/* 800B9524 000B6484 3A A0 00 01 */ li r21, 1 -/* 800B9528 000B6488 38 A0 00 00 */ li r5, 0 -/* 800B952C 000B648C 38 C0 00 01 */ li r6, 1 -/* 800B9530 000B6490 48 26 5E B1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800B9534 000B6494 7C 73 1B 78 */ mr r19, r3 -lbl_800B9538: -/* 800B9538 000B6498 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800B953C 000B649C 38 60 00 08 */ li r3, 8 -/* 800B9540 000B64A0 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800B9544 000B64A4 38 A0 00 00 */ li r5, 0 -/* 800B9548 000B64A8 48 25 C3 25 */ bl __nw__FUlPCcPCc -/* 800B954C 000B64AC 28 03 00 00 */ cmplwi r3, 0 -/* 800B9550 000B64B0 41 82 00 10 */ beq lbl_800B9560 -/* 800B9554 000B64B4 92 63 00 00 */ stw r19, 0(r3) -/* 800B9558 000B64B8 38 00 00 01 */ li r0, 1 -/* 800B955C 000B64BC 90 03 00 04 */ stw r0, 4(r3) -lbl_800B9560: -/* 800B9560 000B64C0 7E A0 07 75 */ extsb. r0, r21 -/* 800B9564 000B64C4 90 61 00 38 */ stw r3, 0x38(r1) -/* 800B9568 000B64C8 41 82 00 10 */ beq lbl_800B9578 -/* 800B956C 000B64CC 38 61 00 74 */ addi r3, r1, 0x74 -/* 800B9570 000B64D0 38 80 00 00 */ li r4, 0 -/* 800B9574 000B64D4 48 28 78 CD */ bl __dt__6CTokenFv -lbl_800B9578: -/* 800B9578 000B64D8 80 9C 00 14 */ lwz r4, 0x14(r28) -/* 800B957C 000B64DC 38 61 00 38 */ addi r3, r1, 0x38 -/* 800B9580 000B64E0 80 84 00 00 */ lwz r4, 0(r4) -/* 800B9584 000B64E4 48 00 16 D1 */ bl "_getGraphicLightId,25TToken<15CGenDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC25TToken<15CGenDescription>" -/* 800B9588 000B64E8 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800B958C 000B64EC 7E 77 1A 14 */ add r19, r23, r3 -/* 800B9590 000B64F0 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800B9594 000B64F4 3A A0 00 00 */ li r21, 0 -/* 800B9598 000B64F8 38 60 00 8C */ li r3, 0x8c -/* 800B959C 000B64FC 38 A0 00 00 */ li r5, 0 -/* 800B95A0 000B6500 48 25 C2 CD */ bl __nw__FUlPCcPCc -/* 800B95A4 000B6504 7C 65 1B 79 */ or. r5, r3, r3 -/* 800B95A8 000B6508 41 82 00 78 */ beq lbl_800B9620 -/* 800B95AC 000B650C 81 01 00 38 */ lwz r8, 0x38(r1) -/* 800B95B0 000B6510 39 61 00 2C */ addi r11, r1, 0x2c -/* 800B95B4 000B6514 83 81 00 B8 */ lwz r28, 0xb8(r1) -/* 800B95B8 000B6518 38 00 00 00 */ li r0, 0 -/* 800B95BC 000B651C 91 01 00 28 */ stw r8, 0x28(r1) -/* 800B95C0 000B6520 7F 06 C3 78 */ mr r6, r24 -/* 800B95C4 000B6524 82 E1 00 BC */ lwz r23, 0xbc(r1) -/* 800B95C8 000B6528 7F 27 CB 78 */ mr r7, r25 -/* 800B95CC 000B652C 80 88 00 04 */ lwz r4, 4(r8) -/* 800B95D0 000B6530 7F 49 D3 78 */ mr r9, r26 -/* 800B95D4 000B6534 82 41 00 C0 */ lwz r18, 0xc0(r1) -/* 800B95D8 000B6538 7F CA F3 78 */ mr r10, r30 -/* 800B95DC 000B653C 38 A4 00 01 */ addi r5, r4, 1 -/* 800B95E0 000B6540 38 81 00 8C */ addi r4, r1, 0x8c -/* 800B95E4 000B6544 90 A8 00 04 */ stw r5, 4(r8) -/* 800B95E8 000B6548 38 A1 00 28 */ addi r5, r1, 0x28 -/* 800B95EC 000B654C 39 01 00 AC */ addi r8, r1, 0xac -/* 800B95F0 000B6550 3A A0 00 01 */ li r21, 1 -/* 800B95F4 000B6554 81 9B 00 00 */ lwz r12, 0(r27) -/* 800B95F8 000B6558 93 81 00 AC */ stw r28, 0xac(r1) -/* 800B95FC 000B655C 92 E1 00 B0 */ stw r23, 0xb0(r1) -/* 800B9600 000B6560 92 41 00 B4 */ stw r18, 0xb4(r1) -/* 800B9604 000B6564 91 81 00 2C */ stw r12, 0x2c(r1) -/* 800B9608 000B6568 93 A1 00 08 */ stw r29, 8(r1) -/* 800B960C 000B656C 91 61 00 0C */ stw r11, 0xc(r1) -/* 800B9610 000B6570 92 61 00 10 */ stw r19, 0x10(r1) -/* 800B9614 000B6574 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B9618 000B6578 4B FF E0 49 */ bl "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" -/* 800B961C 000B657C 7C 65 1B 78 */ mr r5, r3 -lbl_800B9620: -/* 800B9620 000B6580 7C 05 00 D0 */ neg r0, r5 -/* 800B9624 000B6584 38 61 00 6C */ addi r3, r1, 0x6c -/* 800B9628 000B6588 7C 04 2B 78 */ or r4, r0, r5 -/* 800B962C 000B658C 38 01 00 84 */ addi r0, r1, 0x84 -/* 800B9630 000B6590 54 84 0F FE */ srwi r4, r4, 0x1f -/* 800B9634 000B6594 90 A1 00 70 */ stw r5, 0x70(r1) -/* 800B9638 000B6598 7C 03 00 40 */ cmplw r3, r0 -/* 800B963C 000B659C 98 81 00 6C */ stb r4, 0x6c(r1) -/* 800B9640 000B65A0 41 82 00 48 */ beq lbl_800B9688 -/* 800B9644 000B65A4 88 01 00 84 */ lbz r0, 0x84(r1) -/* 800B9648 000B65A8 28 00 00 00 */ cmplwi r0, 0 -/* 800B964C 000B65AC 41 82 00 24 */ beq lbl_800B9670 -/* 800B9650 000B65B0 80 61 00 88 */ lwz r3, 0x88(r1) -/* 800B9654 000B65B4 28 03 00 00 */ cmplwi r3, 0 -/* 800B9658 000B65B8 41 82 00 18 */ beq lbl_800B9670 -/* 800B965C 000B65BC 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9660 000B65C0 38 80 00 01 */ li r4, 1 -/* 800B9664 000B65C4 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B9668 000B65C8 7D 89 03 A6 */ mtctr r12 -/* 800B966C 000B65CC 4E 80 04 21 */ bctrl -lbl_800B9670: -/* 800B9670 000B65D0 88 81 00 6C */ lbz r4, 0x6c(r1) -/* 800B9674 000B65D4 38 00 00 00 */ li r0, 0 -/* 800B9678 000B65D8 80 61 00 70 */ lwz r3, 0x70(r1) -/* 800B967C 000B65DC 98 81 00 84 */ stb r4, 0x84(r1) -/* 800B9680 000B65E0 90 61 00 88 */ stw r3, 0x88(r1) -/* 800B9684 000B65E4 98 01 00 6C */ stb r0, 0x6c(r1) -lbl_800B9688: -/* 800B9688 000B65E8 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 800B968C 000B65EC 28 00 00 00 */ cmplwi r0, 0 -/* 800B9690 000B65F0 41 82 00 24 */ beq lbl_800B96B4 -/* 800B9694 000B65F4 80 61 00 70 */ lwz r3, 0x70(r1) -/* 800B9698 000B65F8 28 03 00 00 */ cmplwi r3, 0 -/* 800B969C 000B65FC 41 82 00 18 */ beq lbl_800B96B4 -/* 800B96A0 000B6600 81 83 00 00 */ lwz r12, 0(r3) -/* 800B96A4 000B6604 38 80 00 01 */ li r4, 1 -/* 800B96A8 000B6608 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B96AC 000B660C 7D 89 03 A6 */ mtctr r12 -/* 800B96B0 000B6610 4E 80 04 21 */ bctrl -lbl_800B96B4: -/* 800B96B4 000B6614 7E A0 07 75 */ extsb. r0, r21 -/* 800B96B8 000B6618 41 82 00 0C */ beq lbl_800B96C4 -/* 800B96BC 000B661C 38 61 00 28 */ addi r3, r1, 0x28 -/* 800B96C0 000B6620 4B FF E3 41 */ bl sub_800b7a00 -lbl_800B96C4: -/* 800B96C4 000B6624 38 61 00 38 */ addi r3, r1, 0x38 -/* 800B96C8 000B6628 4B FF E3 39 */ bl sub_800b7a00 -/* 800B96CC 000B662C 48 00 04 D4 */ b lbl_800B9BA0 -lbl_800B96D0: -/* 800B96D0 000B6630 3C 03 AC A9 */ addis r0, r3, 0xaca9 -/* 800B96D4 000B6634 28 00 48 43 */ cmplwi r0, 0x4843 -/* 800B96D8 000B6638 40 82 02 5C */ bne lbl_800B9934 -/* 800B96DC 000B663C 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 800B96E0 000B6640 80 01 00 90 */ lwz r0, 0x90(r1) -/* 800B96E4 000B6644 48 00 00 20 */ b lbl_800B9704 -lbl_800B96E8: -/* 800B96E8 000B6648 80 64 00 10 */ lwz r3, 0x10(r4) -/* 800B96EC 000B664C 7C 03 00 40 */ cmplw r3, r0 -/* 800B96F0 000B6650 41 80 00 10 */ blt lbl_800B9700 -/* 800B96F4 000B6654 7C 9C 23 78 */ mr r28, r4 -/* 800B96F8 000B6658 80 84 00 00 */ lwz r4, 0(r4) -/* 800B96FC 000B665C 48 00 00 08 */ b lbl_800B9704 -lbl_800B9700: -/* 800B9700 000B6660 80 84 00 04 */ lwz r4, 4(r4) -lbl_800B9704: -/* 800B9704 000B6664 28 04 00 00 */ cmplwi r4, 0 -/* 800B9708 000B6668 40 82 FF E0 */ bne lbl_800B96E8 -/* 800B970C 000B666C 28 1C 00 00 */ cmplwi r28, 0 -/* 800B9710 000B6670 38 80 00 00 */ li r4, 0 -/* 800B9714 000B6674 41 82 00 14 */ beq lbl_800B9728 -/* 800B9718 000B6678 80 61 00 90 */ lwz r3, 0x90(r1) -/* 800B971C 000B667C 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 800B9720 000B6680 7C 03 00 40 */ cmplw r3, r0 -/* 800B9724 000B6684 40 80 00 08 */ bge lbl_800B972C -lbl_800B9728: -/* 800B9728 000B6688 38 80 00 01 */ li r4, 1 -lbl_800B972C: -/* 800B972C 000B668C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800B9730 000B6690 41 82 00 08 */ beq lbl_800B9738 -/* 800B9734 000B6694 3B 80 00 00 */ li r28, 0 -lbl_800B9738: -/* 800B9738 000B6698 38 00 00 00 */ li r0, 0 -/* 800B973C 000B669C 38 7F 00 1C */ addi r3, r31, 0x1c -/* 800B9740 000B66A0 7C 1C 00 40 */ cmplw r28, r0 -/* 800B9744 000B66A4 90 01 00 64 */ stw r0, 0x64(r1) -/* 800B9748 000B66A8 90 61 00 68 */ stw r3, 0x68(r1) -/* 800B974C 000B66AC 40 82 00 0C */ bne lbl_800B9758 -/* 800B9750 000B66B0 7C 03 18 40 */ cmplw r3, r3 -/* 800B9754 000B66B4 41 82 00 08 */ beq lbl_800B975C -lbl_800B9758: -/* 800B9758 000B66B8 38 00 00 01 */ li r0, 1 -lbl_800B975C: -/* 800B975C 000B66BC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B9760 000B66C0 41 82 04 40 */ beq lbl_800B9BA0 -/* 800B9764 000B66C4 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800B9768 000B66C8 3A 60 00 00 */ li r19, 0 -/* 800B976C 000B66CC 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800B9770 000B66D0 38 A0 00 00 */ li r5, 0 -/* 800B9774 000B66D4 38 60 02 10 */ li r3, 0x210 -/* 800B9778 000B66D8 48 25 C0 F5 */ bl __nw__FUlPCcPCc -/* 800B977C 000B66DC 7C 72 1B 79 */ or. r18, r3, r3 -/* 800B9780 000B66E0 41 82 00 2C */ beq lbl_800B97AC -/* 800B9784 000B66E4 80 9C 00 14 */ lwz r4, 0x14(r28) -/* 800B9788 000B66E8 38 61 00 5C */ addi r3, r1, 0x5c -/* 800B978C 000B66EC 80 84 00 00 */ lwz r4, 0(r4) -/* 800B9790 000B66F0 48 28 77 19 */ bl __ct__6CTokenFRC6CToken -/* 800B9794 000B66F4 7E 43 93 78 */ mr r3, r18 -/* 800B9798 000B66F8 38 81 00 5C */ addi r4, r1, 0x5c -/* 800B979C 000B66FC 3A 60 00 01 */ li r19, 1 -/* 800B97A0 000B6700 38 A0 00 00 */ li r5, 0 -/* 800B97A4 000B6704 48 27 56 41 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 800B97A8 000B6708 7C 72 1B 78 */ mr r18, r3 -lbl_800B97AC: -/* 800B97AC 000B670C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800B97B0 000B6710 38 60 00 08 */ li r3, 8 -/* 800B97B4 000B6714 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800B97B8 000B6718 38 A0 00 00 */ li r5, 0 -/* 800B97BC 000B671C 48 25 C0 B1 */ bl __nw__FUlPCcPCc -/* 800B97C0 000B6720 28 03 00 00 */ cmplwi r3, 0 -/* 800B97C4 000B6724 41 82 00 10 */ beq lbl_800B97D4 -/* 800B97C8 000B6728 92 43 00 00 */ stw r18, 0(r3) -/* 800B97CC 000B672C 38 00 00 01 */ li r0, 1 -/* 800B97D0 000B6730 90 03 00 04 */ stw r0, 4(r3) -lbl_800B97D4: -/* 800B97D4 000B6734 7E 60 07 75 */ extsb. r0, r19 -/* 800B97D8 000B6738 90 61 00 34 */ stw r3, 0x34(r1) -/* 800B97DC 000B673C 41 82 00 10 */ beq lbl_800B97EC -/* 800B97E0 000B6740 38 61 00 5C */ addi r3, r1, 0x5c -/* 800B97E4 000B6744 38 80 00 00 */ li r4, 0 -/* 800B97E8 000B6748 48 28 76 59 */ bl __dt__6CTokenFv -lbl_800B97EC: -/* 800B97EC 000B674C 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800B97F0 000B6750 3A 60 00 00 */ li r19, 0 -/* 800B97F4 000B6754 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800B97F8 000B6758 38 A0 00 00 */ li r5, 0 -/* 800B97FC 000B675C 38 60 00 8C */ li r3, 0x8c -/* 800B9800 000B6760 48 25 C0 6D */ bl __nw__FUlPCcPCc -/* 800B9804 000B6764 7C 65 1B 79 */ or. r5, r3, r3 -/* 800B9808 000B6768 41 82 00 7C */ beq lbl_800B9884 -/* 800B980C 000B676C 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 800B9810 000B6770 39 81 00 24 */ addi r12, r1, 0x24 -/* 800B9814 000B6774 82 41 00 B8 */ lwz r18, 0xb8(r1) -/* 800B9818 000B6778 39 60 FF FF */ li r11, -1 -/* 800B981C 000B677C 90 A1 00 20 */ stw r5, 0x20(r1) -/* 800B9820 000B6780 38 00 00 00 */ li r0, 0 -/* 800B9824 000B6784 83 81 00 BC */ lwz r28, 0xbc(r1) -/* 800B9828 000B6788 7F 06 C3 78 */ mr r6, r24 -/* 800B982C 000B678C 80 85 00 04 */ lwz r4, 4(r5) -/* 800B9830 000B6790 7F 27 CB 78 */ mr r7, r25 -/* 800B9834 000B6794 82 E1 00 C0 */ lwz r23, 0xc0(r1) -/* 800B9838 000B6798 7F 49 D3 78 */ mr r9, r26 -/* 800B983C 000B679C 38 84 00 01 */ addi r4, r4, 1 -/* 800B9840 000B67A0 7F CA F3 78 */ mr r10, r30 -/* 800B9844 000B67A4 90 85 00 04 */ stw r4, 4(r5) -/* 800B9848 000B67A8 38 81 00 8C */ addi r4, r1, 0x8c -/* 800B984C 000B67AC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800B9850 000B67B0 39 01 00 A0 */ addi r8, r1, 0xa0 -/* 800B9854 000B67B4 82 BB 00 00 */ lwz r21, 0(r27) -/* 800B9858 000B67B8 3A 60 00 01 */ li r19, 1 -/* 800B985C 000B67BC 92 41 00 A0 */ stw r18, 0xa0(r1) -/* 800B9860 000B67C0 93 81 00 A4 */ stw r28, 0xa4(r1) -/* 800B9864 000B67C4 92 E1 00 A8 */ stw r23, 0xa8(r1) -/* 800B9868 000B67C8 92 A1 00 24 */ stw r21, 0x24(r1) -/* 800B986C 000B67CC 93 A1 00 08 */ stw r29, 8(r1) -/* 800B9870 000B67D0 91 81 00 0C */ stw r12, 0xc(r1) -/* 800B9874 000B67D4 91 61 00 10 */ stw r11, 0x10(r1) -/* 800B9878 000B67D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B987C 000B67DC 4B FF DD E5 */ bl "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" -/* 800B9880 000B67E0 7C 65 1B 78 */ mr r5, r3 -lbl_800B9884: -/* 800B9884 000B67E4 7C 05 00 D0 */ neg r0, r5 -/* 800B9888 000B67E8 38 61 00 54 */ addi r3, r1, 0x54 -/* 800B988C 000B67EC 7C 04 2B 78 */ or r4, r0, r5 -/* 800B9890 000B67F0 38 01 00 84 */ addi r0, r1, 0x84 -/* 800B9894 000B67F4 54 84 0F FE */ srwi r4, r4, 0x1f -/* 800B9898 000B67F8 90 A1 00 58 */ stw r5, 0x58(r1) -/* 800B989C 000B67FC 7C 03 00 40 */ cmplw r3, r0 -/* 800B98A0 000B6800 98 81 00 54 */ stb r4, 0x54(r1) -/* 800B98A4 000B6804 41 82 00 48 */ beq lbl_800B98EC -/* 800B98A8 000B6808 88 01 00 84 */ lbz r0, 0x84(r1) -/* 800B98AC 000B680C 28 00 00 00 */ cmplwi r0, 0 -/* 800B98B0 000B6810 41 82 00 24 */ beq lbl_800B98D4 -/* 800B98B4 000B6814 80 61 00 88 */ lwz r3, 0x88(r1) -/* 800B98B8 000B6818 28 03 00 00 */ cmplwi r3, 0 -/* 800B98BC 000B681C 41 82 00 18 */ beq lbl_800B98D4 -/* 800B98C0 000B6820 81 83 00 00 */ lwz r12, 0(r3) -/* 800B98C4 000B6824 38 80 00 01 */ li r4, 1 -/* 800B98C8 000B6828 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B98CC 000B682C 7D 89 03 A6 */ mtctr r12 -/* 800B98D0 000B6830 4E 80 04 21 */ bctrl -lbl_800B98D4: -/* 800B98D4 000B6834 88 81 00 54 */ lbz r4, 0x54(r1) -/* 800B98D8 000B6838 38 00 00 00 */ li r0, 0 -/* 800B98DC 000B683C 80 61 00 58 */ lwz r3, 0x58(r1) -/* 800B98E0 000B6840 98 81 00 84 */ stb r4, 0x84(r1) -/* 800B98E4 000B6844 90 61 00 88 */ stw r3, 0x88(r1) -/* 800B98E8 000B6848 98 01 00 54 */ stb r0, 0x54(r1) -lbl_800B98EC: -/* 800B98EC 000B684C 88 01 00 54 */ lbz r0, 0x54(r1) -/* 800B98F0 000B6850 28 00 00 00 */ cmplwi r0, 0 -/* 800B98F4 000B6854 41 82 00 24 */ beq lbl_800B9918 -/* 800B98F8 000B6858 80 61 00 58 */ lwz r3, 0x58(r1) -/* 800B98FC 000B685C 28 03 00 00 */ cmplwi r3, 0 -/* 800B9900 000B6860 41 82 00 18 */ beq lbl_800B9918 -/* 800B9904 000B6864 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9908 000B6868 38 80 00 01 */ li r4, 1 -/* 800B990C 000B686C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B9910 000B6870 7D 89 03 A6 */ mtctr r12 -/* 800B9914 000B6874 4E 80 04 21 */ bctrl -lbl_800B9918: -/* 800B9918 000B6878 7E 60 07 75 */ extsb. r0, r19 -/* 800B991C 000B687C 41 82 00 0C */ beq lbl_800B9928 -/* 800B9920 000B6880 38 61 00 20 */ addi r3, r1, 0x20 -/* 800B9924 000B6884 4B FF E0 DD */ bl sub_800b7a00 -lbl_800B9928: -/* 800B9928 000B6888 38 61 00 34 */ addi r3, r1, 0x34 -/* 800B992C 000B688C 4B FF E0 D5 */ bl sub_800b7a00 -/* 800B9930 000B6890 48 00 02 70 */ b lbl_800B9BA0 -lbl_800B9934: -/* 800B9934 000B6894 3C 03 BA B4 */ addis r0, r3, 0xbab4 -/* 800B9938 000B6898 28 00 53 43 */ cmplwi r0, 0x5343 -/* 800B993C 000B689C 40 82 02 64 */ bne lbl_800B9BA0 -/* 800B9940 000B68A0 80 9F 00 38 */ lwz r4, 0x38(r31) -/* 800B9944 000B68A4 80 01 00 90 */ lwz r0, 0x90(r1) -/* 800B9948 000B68A8 48 00 00 20 */ b lbl_800B9968 -lbl_800B994C: -/* 800B994C 000B68AC 80 64 00 10 */ lwz r3, 0x10(r4) -/* 800B9950 000B68B0 7C 03 00 40 */ cmplw r3, r0 -/* 800B9954 000B68B4 41 80 00 10 */ blt lbl_800B9964 -/* 800B9958 000B68B8 7C 9C 23 78 */ mr r28, r4 -/* 800B995C 000B68BC 80 84 00 00 */ lwz r4, 0(r4) -/* 800B9960 000B68C0 48 00 00 08 */ b lbl_800B9968 -lbl_800B9964: -/* 800B9964 000B68C4 80 84 00 04 */ lwz r4, 4(r4) -lbl_800B9968: -/* 800B9968 000B68C8 28 04 00 00 */ cmplwi r4, 0 -/* 800B996C 000B68CC 40 82 FF E0 */ bne lbl_800B994C -/* 800B9970 000B68D0 28 1C 00 00 */ cmplwi r28, 0 -/* 800B9974 000B68D4 38 80 00 00 */ li r4, 0 -/* 800B9978 000B68D8 41 82 00 14 */ beq lbl_800B998C -/* 800B997C 000B68DC 80 61 00 90 */ lwz r3, 0x90(r1) -/* 800B9980 000B68E0 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 800B9984 000B68E4 7C 03 00 40 */ cmplw r3, r0 -/* 800B9988 000B68E8 40 80 00 08 */ bge lbl_800B9990 -lbl_800B998C: -/* 800B998C 000B68EC 38 80 00 01 */ li r4, 1 -lbl_800B9990: -/* 800B9990 000B68F0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800B9994 000B68F4 41 82 00 08 */ beq lbl_800B999C -/* 800B9998 000B68F8 3B 80 00 00 */ li r28, 0 -lbl_800B999C: -/* 800B999C 000B68FC 38 00 00 00 */ li r0, 0 -/* 800B99A0 000B6900 38 7F 00 30 */ addi r3, r31, 0x30 -/* 800B99A4 000B6904 7C 1C 00 40 */ cmplw r28, r0 -/* 800B99A8 000B6908 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800B99AC 000B690C 90 61 00 50 */ stw r3, 0x50(r1) -/* 800B99B0 000B6910 40 82 00 0C */ bne lbl_800B99BC -/* 800B99B4 000B6914 7C 03 18 40 */ cmplw r3, r3 -/* 800B99B8 000B6918 41 82 00 08 */ beq lbl_800B99C0 -lbl_800B99BC: -/* 800B99BC 000B691C 38 00 00 01 */ li r0, 1 -lbl_800B99C0: -/* 800B99C0 000B6920 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B99C4 000B6924 41 82 01 DC */ beq lbl_800B9BA0 -/* 800B99C8 000B6928 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800B99CC 000B692C 3A 60 00 00 */ li r19, 0 -/* 800B99D0 000B6930 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800B99D4 000B6934 38 A0 00 00 */ li r5, 0 -/* 800B99D8 000B6938 38 60 04 58 */ li r3, 0x458 -/* 800B99DC 000B693C 48 25 BE 91 */ bl __nw__FUlPCcPCc -/* 800B99E0 000B6940 7C 72 1B 79 */ or. r18, r3, r3 -/* 800B99E4 000B6944 41 82 00 28 */ beq lbl_800B9A0C -/* 800B99E8 000B6948 80 9C 00 14 */ lwz r4, 0x14(r28) -/* 800B99EC 000B694C 38 61 00 44 */ addi r3, r1, 0x44 -/* 800B99F0 000B6950 80 84 00 00 */ lwz r4, 0(r4) -/* 800B99F4 000B6954 48 28 74 B5 */ bl __ct__6CTokenFRC6CToken -/* 800B99F8 000B6958 7E 43 93 78 */ mr r3, r18 -/* 800B99FC 000B695C 38 81 00 44 */ addi r4, r1, 0x44 -/* 800B9A00 000B6960 3A 60 00 01 */ li r19, 1 -/* 800B9A04 000B6964 48 2A 87 6D */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 800B9A08 000B6968 7C 72 1B 78 */ mr r18, r3 -lbl_800B9A0C: -/* 800B9A0C 000B696C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800B9A10 000B6970 38 60 00 08 */ li r3, 8 -/* 800B9A14 000B6974 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800B9A18 000B6978 38 A0 00 00 */ li r5, 0 -/* 800B9A1C 000B697C 48 25 BE 51 */ bl __nw__FUlPCcPCc -/* 800B9A20 000B6980 28 03 00 00 */ cmplwi r3, 0 -/* 800B9A24 000B6984 41 82 00 10 */ beq lbl_800B9A34 -/* 800B9A28 000B6988 92 43 00 00 */ stw r18, 0(r3) -/* 800B9A2C 000B698C 38 00 00 01 */ li r0, 1 -/* 800B9A30 000B6990 90 03 00 04 */ stw r0, 4(r3) -lbl_800B9A34: -/* 800B9A34 000B6994 7E 60 07 75 */ extsb. r0, r19 -/* 800B9A38 000B6998 90 61 00 30 */ stw r3, 0x30(r1) -/* 800B9A3C 000B699C 41 82 00 10 */ beq lbl_800B9A4C -/* 800B9A40 000B69A0 38 61 00 44 */ addi r3, r1, 0x44 -/* 800B9A44 000B69A4 38 80 00 00 */ li r4, 0 -/* 800B9A48 000B69A8 48 28 73 F9 */ bl __dt__6CTokenFv -lbl_800B9A4C: -/* 800B9A4C 000B69AC 80 9C 00 14 */ lwz r4, 0x14(r28) -/* 800B9A50 000B69B0 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B9A54 000B69B4 80 84 00 00 */ lwz r4, 0(r4) -/* 800B9A58 000B69B8 48 00 11 A5 */ bl "_getGraphicLightId,30TToken<20CElectricDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC30TToken<20CElectricDescription>" -/* 800B9A5C 000B69BC 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800B9A60 000B69C0 7E 77 1A 14 */ add r19, r23, r3 -/* 800B9A64 000B69C4 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800B9A68 000B69C8 3A A0 00 00 */ li r21, 0 -/* 800B9A6C 000B69CC 38 60 00 8C */ li r3, 0x8c -/* 800B9A70 000B69D0 38 A0 00 00 */ li r5, 0 -/* 800B9A74 000B69D4 48 25 BD F9 */ bl __nw__FUlPCcPCc -/* 800B9A78 000B69D8 7C 65 1B 79 */ or. r5, r3, r3 -/* 800B9A7C 000B69DC 41 82 00 78 */ beq lbl_800B9AF4 -/* 800B9A80 000B69E0 81 01 00 30 */ lwz r8, 0x30(r1) -/* 800B9A84 000B69E4 39 61 00 1C */ addi r11, r1, 0x1c -/* 800B9A88 000B69E8 83 81 00 B8 */ lwz r28, 0xb8(r1) -/* 800B9A8C 000B69EC 38 00 00 00 */ li r0, 0 -/* 800B9A90 000B69F0 91 01 00 18 */ stw r8, 0x18(r1) -/* 800B9A94 000B69F4 7F 06 C3 78 */ mr r6, r24 -/* 800B9A98 000B69F8 83 01 00 BC */ lwz r24, 0xbc(r1) -/* 800B9A9C 000B69FC 7F 27 CB 78 */ mr r7, r25 -/* 800B9AA0 000B6A00 80 88 00 04 */ lwz r4, 4(r8) -/* 800B9AA4 000B6A04 7F 49 D3 78 */ mr r9, r26 -/* 800B9AA8 000B6A08 82 E1 00 C0 */ lwz r23, 0xc0(r1) -/* 800B9AAC 000B6A0C 7F CA F3 78 */ mr r10, r30 -/* 800B9AB0 000B6A10 38 A4 00 01 */ addi r5, r4, 1 -/* 800B9AB4 000B6A14 38 81 00 8C */ addi r4, r1, 0x8c -/* 800B9AB8 000B6A18 90 A8 00 04 */ stw r5, 4(r8) -/* 800B9ABC 000B6A1C 38 A1 00 18 */ addi r5, r1, 0x18 -/* 800B9AC0 000B6A20 39 01 00 94 */ addi r8, r1, 0x94 -/* 800B9AC4 000B6A24 3A A0 00 01 */ li r21, 1 -/* 800B9AC8 000B6A28 81 9B 00 00 */ lwz r12, 0(r27) -/* 800B9ACC 000B6A2C 93 81 00 94 */ stw r28, 0x94(r1) -/* 800B9AD0 000B6A30 93 01 00 98 */ stw r24, 0x98(r1) -/* 800B9AD4 000B6A34 92 E1 00 9C */ stw r23, 0x9c(r1) -/* 800B9AD8 000B6A38 91 81 00 1C */ stw r12, 0x1c(r1) -/* 800B9ADC 000B6A3C 93 A1 00 08 */ stw r29, 8(r1) -/* 800B9AE0 000B6A40 91 61 00 0C */ stw r11, 0xc(r1) -/* 800B9AE4 000B6A44 92 61 00 10 */ stw r19, 0x10(r1) -/* 800B9AE8 000B6A48 90 01 00 14 */ stw r0, 0x14(r1) -/* 800B9AEC 000B6A4C 4B FF DB 75 */ bl "__ct__23CParticleGenInfoGenericFRC10SObjectTagQ24rstl24ncrc_ptr<12CParticleGen>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>9CVector3fQ213CParticleData13EParentedModeiR13CStateManageri" -/* 800B9AF0 000B6A50 7C 65 1B 78 */ mr r5, r3 -lbl_800B9AF4: -/* 800B9AF4 000B6A54 7C 05 00 D0 */ neg r0, r5 -/* 800B9AF8 000B6A58 38 61 00 3C */ addi r3, r1, 0x3c -/* 800B9AFC 000B6A5C 7C 04 2B 78 */ or r4, r0, r5 -/* 800B9B00 000B6A60 38 01 00 84 */ addi r0, r1, 0x84 -/* 800B9B04 000B6A64 54 84 0F FE */ srwi r4, r4, 0x1f -/* 800B9B08 000B6A68 90 A1 00 40 */ stw r5, 0x40(r1) -/* 800B9B0C 000B6A6C 7C 03 00 40 */ cmplw r3, r0 -/* 800B9B10 000B6A70 98 81 00 3C */ stb r4, 0x3c(r1) -/* 800B9B14 000B6A74 41 82 00 48 */ beq lbl_800B9B5C -/* 800B9B18 000B6A78 88 01 00 84 */ lbz r0, 0x84(r1) -/* 800B9B1C 000B6A7C 28 00 00 00 */ cmplwi r0, 0 -/* 800B9B20 000B6A80 41 82 00 24 */ beq lbl_800B9B44 -/* 800B9B24 000B6A84 80 61 00 88 */ lwz r3, 0x88(r1) -/* 800B9B28 000B6A88 28 03 00 00 */ cmplwi r3, 0 -/* 800B9B2C 000B6A8C 41 82 00 18 */ beq lbl_800B9B44 -/* 800B9B30 000B6A90 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9B34 000B6A94 38 80 00 01 */ li r4, 1 -/* 800B9B38 000B6A98 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B9B3C 000B6A9C 7D 89 03 A6 */ mtctr r12 -/* 800B9B40 000B6AA0 4E 80 04 21 */ bctrl -lbl_800B9B44: -/* 800B9B44 000B6AA4 88 81 00 3C */ lbz r4, 0x3c(r1) -/* 800B9B48 000B6AA8 38 00 00 00 */ li r0, 0 -/* 800B9B4C 000B6AAC 80 61 00 40 */ lwz r3, 0x40(r1) -/* 800B9B50 000B6AB0 98 81 00 84 */ stb r4, 0x84(r1) -/* 800B9B54 000B6AB4 90 61 00 88 */ stw r3, 0x88(r1) -/* 800B9B58 000B6AB8 98 01 00 3C */ stb r0, 0x3c(r1) -lbl_800B9B5C: -/* 800B9B5C 000B6ABC 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 800B9B60 000B6AC0 28 00 00 00 */ cmplwi r0, 0 -/* 800B9B64 000B6AC4 41 82 00 24 */ beq lbl_800B9B88 -/* 800B9B68 000B6AC8 80 61 00 40 */ lwz r3, 0x40(r1) -/* 800B9B6C 000B6ACC 28 03 00 00 */ cmplwi r3, 0 -/* 800B9B70 000B6AD0 41 82 00 18 */ beq lbl_800B9B88 -/* 800B9B74 000B6AD4 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9B78 000B6AD8 38 80 00 01 */ li r4, 1 -/* 800B9B7C 000B6ADC 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B9B80 000B6AE0 7D 89 03 A6 */ mtctr r12 -/* 800B9B84 000B6AE4 4E 80 04 21 */ bctrl -lbl_800B9B88: -/* 800B9B88 000B6AE8 7E A0 07 75 */ extsb. r0, r21 -/* 800B9B8C 000B6AEC 41 82 00 0C */ beq lbl_800B9B98 -/* 800B9B90 000B6AF0 38 61 00 18 */ addi r3, r1, 0x18 -/* 800B9B94 000B6AF4 4B FF DE 6D */ bl sub_800b7a00 -lbl_800B9B98: -/* 800B9B98 000B6AF8 38 61 00 30 */ addi r3, r1, 0x30 -/* 800B9B9C 000B6AFC 4B FF DE 65 */ bl sub_800b7a00 -lbl_800B9BA0: -/* 800B9BA0 000B6B00 80 61 00 88 */ lwz r3, 0x88(r1) -/* 800B9BA4 000B6B04 28 03 00 00 */ cmplwi r3, 0 -/* 800B9BA8 000B6B08 41 82 00 4C */ beq lbl_800B9BF4 -/* 800B9BAC 000B6B0C 38 00 00 01 */ li r0, 1 -/* 800B9BB0 000B6B10 7F A5 EB 78 */ mr r5, r29 -/* 800B9BB4 000B6B14 98 03 00 24 */ stb r0, 0x24(r3) -/* 800B9BB8 000B6B18 38 80 00 01 */ li r4, 1 -/* 800B9BBC 000B6B1C 80 61 00 88 */ lwz r3, 0x88(r1) -/* 800B9BC0 000B6B20 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9BC4 000B6B24 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800B9BC8 000B6B28 7D 89 03 A6 */ mtctr r12 -/* 800B9BCC 000B6B2C 4E 80 04 21 */ bctrl -/* 800B9BD0 000B6B30 80 81 00 88 */ lwz r4, 0x88(r1) -/* 800B9BD4 000B6B34 38 00 00 01 */ li r0, 1 -/* 800B9BD8 000B6B38 7F E3 FB 78 */ mr r3, r31 -/* 800B9BDC 000B6B3C 7F C5 F3 78 */ mr r5, r30 -/* 800B9BE0 000B6B40 98 04 00 40 */ stb r0, 0x40(r4) -/* 800B9BE4 000B6B44 7E 86 A3 78 */ mr r6, r20 -/* 800B9BE8 000B6B48 56 C4 06 3E */ clrlwi r4, r22, 0x18 -/* 800B9BEC 000B6B4C 38 E1 00 84 */ addi r7, r1, 0x84 -/* 800B9BF0 000B6B50 48 00 00 85 */ bl "InsertParticleGen__17CParticleDatabaseFbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl28auto_ptr<16CParticleGenInfo>" -lbl_800B9BF4: -/* 800B9BF4 000B6B54 88 01 00 84 */ lbz r0, 0x84(r1) -/* 800B9BF8 000B6B58 28 00 00 00 */ cmplwi r0, 0 -/* 800B9BFC 000B6B5C 41 82 00 5C */ beq lbl_800B9C58 -/* 800B9C00 000B6B60 80 61 00 88 */ lwz r3, 0x88(r1) -/* 800B9C04 000B6B64 28 03 00 00 */ cmplwi r3, 0 -/* 800B9C08 000B6B68 41 82 00 50 */ beq lbl_800B9C58 -/* 800B9C0C 000B6B6C 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9C10 000B6B70 38 80 00 01 */ li r4, 1 -/* 800B9C14 000B6B74 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B9C18 000B6B78 7D 89 03 A6 */ mtctr r12 -/* 800B9C1C 000B6B7C 4E 80 04 21 */ bctrl -/* 800B9C20 000B6B80 48 00 00 38 */ b lbl_800B9C58 -lbl_800B9C24: -/* 800B9C24 000B6B84 88 12 00 24 */ lbz r0, 0x24(r18) -/* 800B9C28 000B6B88 28 00 00 00 */ cmplwi r0, 0 -/* 800B9C2C 000B6B8C 40 82 00 2C */ bne lbl_800B9C58 -/* 800B9C30 000B6B90 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9C34 000B6B94 7F A5 EB 78 */ mr r5, r29 -/* 800B9C38 000B6B98 38 80 00 01 */ li r4, 1 -/* 800B9C3C 000B6B9C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800B9C40 000B6BA0 7D 89 03 A6 */ mtctr r12 -/* 800B9C44 000B6BA4 4E 80 04 21 */ bctrl -/* 800B9C48 000B6BA8 38 00 00 01 */ li r0, 1 -/* 800B9C4C 000B6BAC 98 12 00 24 */ stb r0, 0x24(r18) -/* 800B9C50 000B6BB0 98 12 00 40 */ stb r0, 0x40(r18) -/* 800B9C54 000B6BB4 93 D2 00 2C */ stw r30, 0x2c(r18) -lbl_800B9C58: -/* 800B9C58 000B6BB8 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 800B9C5C 000B6BBC CB E1 01 00 */ lfd f31, 0x100(r1) -/* 800B9C60 000B6BC0 BA 41 00 C8 */ lmw r18, 0xc8(r1) -/* 800B9C64 000B6BC4 80 01 01 14 */ lwz r0, 0x114(r1) -/* 800B9C68 000B6BC8 7C 08 03 A6 */ mtlr r0 -/* 800B9C6C 000B6BCC 38 21 01 10 */ addi r1, r1, 0x110 -/* 800B9C70 000B6BD0 4E 80 00 20 */ blr - -.global "InsertParticleGen__17CParticleDatabaseFbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl28auto_ptr<16CParticleGenInfo>" -"InsertParticleGen__17CParticleDatabaseFbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl28auto_ptr<16CParticleGenInfo>": -/* 800B9C74 000B6BD4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800B9C78 000B6BD8 7C 08 02 A6 */ mflr r0 -/* 800B9C7C 000B6BDC 90 01 00 54 */ stw r0, 0x54(r1) -/* 800B9C80 000B6BE0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800B9C84 000B6BE4 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 800B9C88 000B6BE8 7C 7B 1B 78 */ mr r27, r3 -/* 800B9C8C 000B6BEC 7C BC 2B 78 */ mr r28, r5 -/* 800B9C90 000B6BF0 7C FD 3B 78 */ mr r29, r7 -/* 800B9C94 000B6BF4 41 82 00 38 */ beq lbl_800B9CCC -/* 800B9C98 000B6BF8 57 80 06 74 */ rlwinm r0, r28, 0, 0x19, 0x1a -/* 800B9C9C 000B6BFC 2C 00 00 40 */ cmpwi r0, 0x40 -/* 800B9CA0 000B6C00 41 82 00 1C */ beq lbl_800B9CBC -/* 800B9CA4 000B6C04 40 80 00 20 */ bge lbl_800B9CC4 -/* 800B9CA8 000B6C08 2C 00 00 20 */ cmpwi r0, 0x20 -/* 800B9CAC 000B6C0C 41 82 00 08 */ beq lbl_800B9CB4 -/* 800B9CB0 000B6C10 48 00 00 14 */ b lbl_800B9CC4 -lbl_800B9CB4: -/* 800B9CB4 000B6C14 3B DB 00 8C */ addi r30, r27, 0x8c -/* 800B9CB8 000B6C18 48 00 00 44 */ b lbl_800B9CFC -lbl_800B9CBC: -/* 800B9CBC 000B6C1C 3B DB 00 A0 */ addi r30, r27, 0xa0 -/* 800B9CC0 000B6C20 48 00 00 3C */ b lbl_800B9CFC -lbl_800B9CC4: -/* 800B9CC4 000B6C24 3B DB 00 78 */ addi r30, r27, 0x78 -/* 800B9CC8 000B6C28 48 00 00 34 */ b lbl_800B9CFC -lbl_800B9CCC: -/* 800B9CCC 000B6C2C 57 80 06 74 */ rlwinm r0, r28, 0, 0x19, 0x1a -/* 800B9CD0 000B6C30 2C 00 00 40 */ cmpwi r0, 0x40 -/* 800B9CD4 000B6C34 41 82 00 1C */ beq lbl_800B9CF0 -/* 800B9CD8 000B6C38 40 80 00 20 */ bge lbl_800B9CF8 -/* 800B9CDC 000B6C3C 2C 00 00 20 */ cmpwi r0, 0x20 -/* 800B9CE0 000B6C40 41 82 00 08 */ beq lbl_800B9CE8 -/* 800B9CE4 000B6C44 48 00 00 14 */ b lbl_800B9CF8 -lbl_800B9CE8: -/* 800B9CE8 000B6C48 3B DB 00 50 */ addi r30, r27, 0x50 -/* 800B9CEC 000B6C4C 48 00 00 10 */ b lbl_800B9CFC -lbl_800B9CF0: -/* 800B9CF0 000B6C50 3B DB 00 64 */ addi r30, r27, 0x64 -/* 800B9CF4 000B6C54 48 00 00 08 */ b lbl_800B9CFC -lbl_800B9CF8: -/* 800B9CF8 000B6C58 3B DB 00 3C */ addi r30, r27, 0x3c -lbl_800B9CFC: -/* 800B9CFC 000B6C5C 7C C4 33 78 */ mr r4, r6 -/* 800B9D00 000B6C60 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B9D04 000B6C64 48 28 44 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800B9D08 000B6C68 88 7D 00 00 */ lbz r3, 0(r29) -/* 800B9D0C 000B6C6C 38 00 00 00 */ li r0, 0 -/* 800B9D10 000B6C70 80 BD 00 04 */ lwz r5, 4(r29) -/* 800B9D14 000B6C74 7F C4 F3 78 */ mr r4, r30 -/* 800B9D18 000B6C78 98 61 00 24 */ stb r3, 0x24(r1) -/* 800B9D1C 000B6C7C 3B E1 00 24 */ addi r31, r1, 0x24 -/* 800B9D20 000B6C80 38 61 00 08 */ addi r3, r1, 8 -/* 800B9D24 000B6C84 38 C1 00 14 */ addi r6, r1, 0x14 -/* 800B9D28 000B6C88 90 A1 00 28 */ stw r5, 0x28(r1) -/* 800B9D2C 000B6C8C 98 1D 00 00 */ stb r0, 0(r29) -/* 800B9D30 000B6C90 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 800B9D34 000B6C94 48 00 18 31 */ bl sub_800bb564 -/* 800B9D38 000B6C98 28 1F 00 00 */ cmplwi r31, 0 -/* 800B9D3C 000B6C9C 41 82 00 30 */ beq lbl_800B9D6C -/* 800B9D40 000B6CA0 88 01 00 24 */ lbz r0, 0x24(r1) -/* 800B9D44 000B6CA4 28 00 00 00 */ cmplwi r0, 0 -/* 800B9D48 000B6CA8 41 82 00 24 */ beq lbl_800B9D6C -/* 800B9D4C 000B6CAC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 800B9D50 000B6CB0 28 03 00 00 */ cmplwi r3, 0 -/* 800B9D54 000B6CB4 41 82 00 18 */ beq lbl_800B9D6C -/* 800B9D58 000B6CB8 81 83 00 00 */ lwz r12, 0(r3) -/* 800B9D5C 000B6CBC 38 80 00 01 */ li r4, 1 -/* 800B9D60 000B6CC0 81 8C 00 08 */ lwz r12, 8(r12) -/* 800B9D64 000B6CC4 7D 89 03 A6 */ mtctr r12 -/* 800B9D68 000B6CC8 4E 80 04 21 */ bctrl -lbl_800B9D6C: -/* 800B9D6C 000B6CCC 38 61 00 14 */ addi r3, r1, 0x14 -/* 800B9D70 000B6CD0 48 28 3D 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800B9D74 000B6CD4 57 80 06 75 */ rlwinm. r0, r28, 0, 0x19, 0x1a -/* 800B9D78 000B6CD8 41 82 00 14 */ beq lbl_800B9D8C -/* 800B9D7C 000B6CDC 88 1B 00 B4 */ lbz r0, 0xb4(r27) -/* 800B9D80 000B6CE0 38 60 00 01 */ li r3, 1 -/* 800B9D84 000B6CE4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800B9D88 000B6CE8 98 1B 00 B4 */ stb r0, 0xb4(r27) -lbl_800B9D8C: -/* 800B9D8C 000B6CEC BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 800B9D90 000B6CF0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800B9D94 000B6CF4 7C 08 03 A6 */ mtlr r0 -/* 800B9D98 000B6CF8 38 21 00 50 */ addi r1, r1, 0x50 -/* 800B9D9C 000B6CFC 4E 80 00 20 */ blr - -.global CacheParticleDesc__17CParticleDatabaseFRC10SObjectTag -CacheParticleDesc__17CParticleDatabaseFRC10SObjectTag: -/* 800B9DA0 000B6D00 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 800B9DA4 000B6D04 7C 08 02 A6 */ mflr r0 -/* 800B9DA8 000B6D08 3C A0 50 41 */ lis r5, 0x50415254@ha -/* 800B9DAC 000B6D0C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 800B9DB0 000B6D10 38 05 52 54 */ addi r0, r5, 0x50415254@l -/* 800B9DB4 000B6D14 93 E1 00 AC */ stw r31, 0xac(r1) -/* 800B9DB8 000B6D18 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 800B9DBC 000B6D1C 7C 7E 1B 78 */ mr r30, r3 -/* 800B9DC0 000B6D20 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 800B9DC4 000B6D24 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 800B9DC8 000B6D28 80 C4 00 00 */ lwz r6, 0(r4) -/* 800B9DCC 000B6D2C 83 E4 00 04 */ lwz r31, 4(r4) -/* 800B9DD0 000B6D30 7C 06 00 00 */ cmpw r6, r0 -/* 800B9DD4 000B6D34 41 82 00 30 */ beq lbl_800B9E04 -/* 800B9DD8 000B6D38 40 80 00 18 */ bge lbl_800B9DF0 -/* 800B9DDC 000B6D3C 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 800B9DE0 000B6D40 38 03 53 43 */ addi r0, r3, 0x454C5343@l -/* 800B9DE4 000B6D44 7C 06 00 00 */ cmpw r6, r0 -/* 800B9DE8 000B6D48 41 82 03 14 */ beq lbl_800BA0FC -/* 800B9DEC 000B6D4C 48 00 04 88 */ b lbl_800BA274 -lbl_800B9DF0: -/* 800B9DF0 000B6D50 3C 60 53 57 */ lis r3, 0x53574843@ha -/* 800B9DF4 000B6D54 38 03 48 43 */ addi r0, r3, 0x53574843@l -/* 800B9DF8 000B6D58 7C 06 00 00 */ cmpw r6, r0 -/* 800B9DFC 000B6D5C 41 82 01 84 */ beq lbl_800B9F80 -/* 800B9E00 000B6D60 48 00 04 74 */ b lbl_800BA274 -lbl_800B9E04: -/* 800B9E04 000B6D64 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 800B9E08 000B6D68 38 80 00 00 */ li r4, 0 -/* 800B9E0C 000B6D6C 48 00 00 20 */ b lbl_800B9E2C -lbl_800B9E10: -/* 800B9E10 000B6D70 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800B9E14 000B6D74 7C 00 F8 40 */ cmplw r0, r31 -/* 800B9E18 000B6D78 41 80 00 10 */ blt lbl_800B9E28 -/* 800B9E1C 000B6D7C 7C 64 1B 78 */ mr r4, r3 -/* 800B9E20 000B6D80 80 63 00 00 */ lwz r3, 0(r3) -/* 800B9E24 000B6D84 48 00 00 08 */ b lbl_800B9E2C -lbl_800B9E28: -/* 800B9E28 000B6D88 80 63 00 04 */ lwz r3, 4(r3) -lbl_800B9E2C: -/* 800B9E2C 000B6D8C 28 03 00 00 */ cmplwi r3, 0 -/* 800B9E30 000B6D90 40 82 FF E0 */ bne lbl_800B9E10 -/* 800B9E34 000B6D94 28 04 00 00 */ cmplwi r4, 0 -/* 800B9E38 000B6D98 38 60 00 00 */ li r3, 0 -/* 800B9E3C 000B6D9C 41 82 00 10 */ beq lbl_800B9E4C -/* 800B9E40 000B6DA0 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800B9E44 000B6DA4 7C 1F 00 40 */ cmplw r31, r0 -/* 800B9E48 000B6DA8 40 80 00 08 */ bge lbl_800B9E50 -lbl_800B9E4C: -/* 800B9E4C 000B6DAC 38 60 00 01 */ li r3, 1 -lbl_800B9E50: -/* 800B9E50 000B6DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B9E54 000B6DB4 41 82 00 08 */ beq lbl_800B9E5C -/* 800B9E58 000B6DB8 38 80 00 00 */ li r4, 0 -lbl_800B9E5C: -/* 800B9E5C 000B6DBC 38 00 00 00 */ li r0, 0 -/* 800B9E60 000B6DC0 38 7E 00 08 */ addi r3, r30, 8 -/* 800B9E64 000B6DC4 7C 04 00 40 */ cmplw r4, r0 -/* 800B9E68 000B6DC8 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800B9E6C 000B6DCC 90 61 00 70 */ stw r3, 0x70(r1) -/* 800B9E70 000B6DD0 40 82 00 10 */ bne lbl_800B9E80 -/* 800B9E74 000B6DD4 7C 03 18 40 */ cmplw r3, r3 -/* 800B9E78 000B6DD8 40 82 00 08 */ bne lbl_800B9E80 -/* 800B9E7C 000B6DDC 38 00 00 01 */ li r0, 1 -lbl_800B9E80: -/* 800B9E80 000B6DE0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800B9E84 000B6DE4 41 82 03 F0 */ beq lbl_800BA274 -/* 800B9E88 000B6DE8 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800B9E8C 000B6DEC 3B 80 00 00 */ li r28, 0 -/* 800B9E90 000B6DF0 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800B9E94 000B6DF4 38 A0 00 00 */ li r5, 0 -/* 800B9E98 000B6DF8 38 60 00 0C */ li r3, 0xc -/* 800B9E9C 000B6DFC 48 25 B9 D1 */ bl __nw__FUlPCcPCc -/* 800B9EA0 000B6E00 7C 7D 1B 79 */ or. r29, r3, r3 -/* 800B9EA4 000B6E04 41 82 00 50 */ beq lbl_800B9EF4 -/* 800B9EA8 000B6E08 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 800B9EAC 000B6E0C 93 E1 00 68 */ stw r31, 0x68(r1) -/* 800B9EB0 000B6E10 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 800B9EB4 000B6E14 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800B9EB8 000B6E18 90 01 00 64 */ stw r0, 0x64(r1) -/* 800B9EBC 000B6E1C 38 61 00 5C */ addi r3, r1, 0x5c -/* 800B9EC0 000B6E20 38 A1 00 64 */ addi r5, r1, 0x64 -/* 800B9EC4 000B6E24 81 84 00 00 */ lwz r12, 0(r4) -/* 800B9EC8 000B6E28 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800B9ECC 000B6E2C 7D 89 03 A6 */ mtctr r12 -/* 800B9ED0 000B6E30 4E 80 04 21 */ bctrl -/* 800B9ED4 000B6E34 7F A3 EB 78 */ mr r3, r29 -/* 800B9ED8 000B6E38 38 81 00 5C */ addi r4, r1, 0x5c -/* 800B9EDC 000B6E3C 3B 80 00 01 */ li r28, 1 -/* 800B9EE0 000B6E40 48 28 6F C9 */ bl __ct__6CTokenFRC6CToken -/* 800B9EE4 000B6E44 7F A3 EB 78 */ mr r3, r29 -/* 800B9EE8 000B6E48 48 28 6F 25 */ bl GetObj__6CTokenFv -/* 800B9EEC 000B6E4C 80 03 00 04 */ lwz r0, 4(r3) -/* 800B9EF0 000B6E50 90 1D 00 08 */ stw r0, 8(r29) -lbl_800B9EF4: -/* 800B9EF4 000B6E54 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800B9EF8 000B6E58 38 60 00 08 */ li r3, 8 -/* 800B9EFC 000B6E5C 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800B9F00 000B6E60 38 A0 00 00 */ li r5, 0 -/* 800B9F04 000B6E64 48 25 B9 69 */ bl __nw__FUlPCcPCc -/* 800B9F08 000B6E68 28 03 00 00 */ cmplwi r3, 0 -/* 800B9F0C 000B6E6C 41 82 00 10 */ beq lbl_800B9F1C -/* 800B9F10 000B6E70 93 A3 00 00 */ stw r29, 0(r3) -/* 800B9F14 000B6E74 38 00 00 01 */ li r0, 1 -/* 800B9F18 000B6E78 90 03 00 04 */ stw r0, 4(r3) -lbl_800B9F1C: -/* 800B9F1C 000B6E7C 7F 80 07 75 */ extsb. r0, r28 -/* 800B9F20 000B6E80 90 61 00 10 */ stw r3, 0x10(r1) -/* 800B9F24 000B6E84 41 82 00 10 */ beq lbl_800B9F34 -/* 800B9F28 000B6E88 38 61 00 5C */ addi r3, r1, 0x5c -/* 800B9F2C 000B6E8C 38 80 FF FF */ li r4, -1 -/* 800B9F30 000B6E90 48 28 6F 11 */ bl __dt__6CTokenFv -lbl_800B9F34: -/* 800B9F34 000B6E94 80 E1 00 10 */ lwz r7, 0x10(r1) -/* 800B9F38 000B6E98 7F C4 F3 78 */ mr r4, r30 -/* 800B9F3C 000B6E9C 93 E1 00 54 */ stw r31, 0x54(r1) -/* 800B9F40 000B6EA0 3B A1 00 58 */ addi r29, r1, 0x58 -/* 800B9F44 000B6EA4 38 61 00 8C */ addi r3, r1, 0x8c -/* 800B9F48 000B6EA8 38 C1 00 54 */ addi r6, r1, 0x54 -/* 800B9F4C 000B6EAC 90 E1 00 58 */ stw r7, 0x58(r1) -/* 800B9F50 000B6EB0 80 A7 00 04 */ lwz r5, 4(r7) -/* 800B9F54 000B6EB4 38 05 00 01 */ addi r0, r5, 1 -/* 800B9F58 000B6EB8 90 07 00 04 */ stw r0, 4(r7) -/* 800B9F5C 000B6EBC 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 800B9F60 000B6EC0 48 00 0D D1 */ bl sub_800bad30 -/* 800B9F64 000B6EC4 28 1D 00 00 */ cmplwi r29, 0 -/* 800B9F68 000B6EC8 41 82 00 0C */ beq lbl_800B9F74 -/* 800B9F6C 000B6ECC 7F A3 EB 78 */ mr r3, r29 -/* 800B9F70 000B6ED0 48 00 18 75 */ bl sub_800bb7e4 -lbl_800B9F74: -/* 800B9F74 000B6ED4 38 61 00 10 */ addi r3, r1, 0x10 -/* 800B9F78 000B6ED8 48 00 18 6D */ bl sub_800bb7e4 -/* 800B9F7C 000B6EDC 48 00 02 F8 */ b lbl_800BA274 -lbl_800B9F80: -/* 800B9F80 000B6EE0 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 800B9F84 000B6EE4 38 80 00 00 */ li r4, 0 -/* 800B9F88 000B6EE8 48 00 00 20 */ b lbl_800B9FA8 -lbl_800B9F8C: -/* 800B9F8C 000B6EEC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800B9F90 000B6EF0 7C 00 F8 40 */ cmplw r0, r31 -/* 800B9F94 000B6EF4 41 80 00 10 */ blt lbl_800B9FA4 -/* 800B9F98 000B6EF8 7C 64 1B 78 */ mr r4, r3 -/* 800B9F9C 000B6EFC 80 63 00 00 */ lwz r3, 0(r3) -/* 800B9FA0 000B6F00 48 00 00 08 */ b lbl_800B9FA8 -lbl_800B9FA4: -/* 800B9FA4 000B6F04 80 63 00 04 */ lwz r3, 4(r3) -lbl_800B9FA8: -/* 800B9FA8 000B6F08 28 03 00 00 */ cmplwi r3, 0 -/* 800B9FAC 000B6F0C 40 82 FF E0 */ bne lbl_800B9F8C -/* 800B9FB0 000B6F10 28 04 00 00 */ cmplwi r4, 0 -/* 800B9FB4 000B6F14 38 60 00 00 */ li r3, 0 -/* 800B9FB8 000B6F18 41 82 00 10 */ beq lbl_800B9FC8 -/* 800B9FBC 000B6F1C 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800B9FC0 000B6F20 7C 1F 00 40 */ cmplw r31, r0 -/* 800B9FC4 000B6F24 40 80 00 08 */ bge lbl_800B9FCC -lbl_800B9FC8: -/* 800B9FC8 000B6F28 38 60 00 01 */ li r3, 1 -lbl_800B9FCC: -/* 800B9FCC 000B6F2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800B9FD0 000B6F30 41 82 00 08 */ beq lbl_800B9FD8 -/* 800B9FD4 000B6F34 38 80 00 00 */ li r4, 0 -lbl_800B9FD8: -/* 800B9FD8 000B6F38 38 00 00 00 */ li r0, 0 -/* 800B9FDC 000B6F3C 38 7E 00 1C */ addi r3, r30, 0x1c -/* 800B9FE0 000B6F40 7C 04 00 40 */ cmplw r4, r0 -/* 800B9FE4 000B6F44 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800B9FE8 000B6F48 90 61 00 50 */ stw r3, 0x50(r1) -/* 800B9FEC 000B6F4C 40 82 00 10 */ bne lbl_800B9FFC -/* 800B9FF0 000B6F50 7C 03 18 40 */ cmplw r3, r3 -/* 800B9FF4 000B6F54 40 82 00 08 */ bne lbl_800B9FFC -/* 800B9FF8 000B6F58 38 00 00 01 */ li r0, 1 -lbl_800B9FFC: -/* 800B9FFC 000B6F5C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800BA000 000B6F60 41 82 02 74 */ beq lbl_800BA274 -/* 800BA004 000B6F64 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800BA008 000B6F68 3B 80 00 00 */ li r28, 0 -/* 800BA00C 000B6F6C 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800BA010 000B6F70 38 A0 00 00 */ li r5, 0 -/* 800BA014 000B6F74 38 60 00 0C */ li r3, 0xc -/* 800BA018 000B6F78 48 25 B8 55 */ bl __nw__FUlPCcPCc -/* 800BA01C 000B6F7C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 800BA020 000B6F80 41 82 00 50 */ beq lbl_800BA070 -/* 800BA024 000B6F84 3C 60 53 57 */ lis r3, 0x53574843@ha -/* 800BA028 000B6F88 93 E1 00 48 */ stw r31, 0x48(r1) -/* 800BA02C 000B6F8C 38 03 48 43 */ addi r0, r3, 0x53574843@l -/* 800BA030 000B6F90 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800BA034 000B6F94 90 01 00 44 */ stw r0, 0x44(r1) -/* 800BA038 000B6F98 38 61 00 3C */ addi r3, r1, 0x3c -/* 800BA03C 000B6F9C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800BA040 000B6FA0 81 84 00 00 */ lwz r12, 0(r4) -/* 800BA044 000B6FA4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800BA048 000B6FA8 7D 89 03 A6 */ mtctr r12 -/* 800BA04C 000B6FAC 4E 80 04 21 */ bctrl -/* 800BA050 000B6FB0 7F A3 EB 78 */ mr r3, r29 -/* 800BA054 000B6FB4 38 81 00 3C */ addi r4, r1, 0x3c -/* 800BA058 000B6FB8 3B 80 00 01 */ li r28, 1 -/* 800BA05C 000B6FBC 48 28 6E 4D */ bl __ct__6CTokenFRC6CToken -/* 800BA060 000B6FC0 7F A3 EB 78 */ mr r3, r29 -/* 800BA064 000B6FC4 48 28 6D A9 */ bl GetObj__6CTokenFv -/* 800BA068 000B6FC8 80 03 00 04 */ lwz r0, 4(r3) -/* 800BA06C 000B6FCC 90 1D 00 08 */ stw r0, 8(r29) -lbl_800BA070: -/* 800BA070 000B6FD0 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BA074 000B6FD4 38 60 00 08 */ li r3, 8 -/* 800BA078 000B6FD8 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BA07C 000B6FDC 38 A0 00 00 */ li r5, 0 -/* 800BA080 000B6FE0 48 25 B7 ED */ bl __nw__FUlPCcPCc -/* 800BA084 000B6FE4 28 03 00 00 */ cmplwi r3, 0 -/* 800BA088 000B6FE8 41 82 00 10 */ beq lbl_800BA098 -/* 800BA08C 000B6FEC 93 A3 00 00 */ stw r29, 0(r3) -/* 800BA090 000B6FF0 38 00 00 01 */ li r0, 1 -/* 800BA094 000B6FF4 90 03 00 04 */ stw r0, 4(r3) -lbl_800BA098: -/* 800BA098 000B6FF8 7F 80 07 75 */ extsb. r0, r28 -/* 800BA09C 000B6FFC 90 61 00 0C */ stw r3, 0xc(r1) -/* 800BA0A0 000B7000 41 82 00 10 */ beq lbl_800BA0B0 -/* 800BA0A4 000B7004 38 61 00 3C */ addi r3, r1, 0x3c -/* 800BA0A8 000B7008 38 80 FF FF */ li r4, -1 -/* 800BA0AC 000B700C 48 28 6D 95 */ bl __dt__6CTokenFv -lbl_800BA0B0: -/* 800BA0B0 000B7010 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 800BA0B4 000B7014 3B A1 00 38 */ addi r29, r1, 0x38 -/* 800BA0B8 000B7018 93 E1 00 34 */ stw r31, 0x34(r1) -/* 800BA0BC 000B701C 38 61 00 80 */ addi r3, r1, 0x80 -/* 800BA0C0 000B7020 38 9E 00 14 */ addi r4, r30, 0x14 -/* 800BA0C4 000B7024 38 C1 00 34 */ addi r6, r1, 0x34 -/* 800BA0C8 000B7028 90 E1 00 38 */ stw r7, 0x38(r1) -/* 800BA0CC 000B702C 80 A7 00 04 */ lwz r5, 4(r7) -/* 800BA0D0 000B7030 38 05 00 01 */ addi r0, r5, 1 -/* 800BA0D4 000B7034 90 07 00 04 */ stw r0, 4(r7) -/* 800BA0D8 000B7038 80 BE 00 24 */ lwz r5, 0x24(r30) -/* 800BA0DC 000B703C 48 00 0F 3D */ bl sub_800bb018 -/* 800BA0E0 000B7040 28 1D 00 00 */ cmplwi r29, 0 -/* 800BA0E4 000B7044 41 82 00 0C */ beq lbl_800BA0F0 -/* 800BA0E8 000B7048 7F A3 EB 78 */ mr r3, r29 -/* 800BA0EC 000B704C 48 00 17 75 */ bl sub_800bb860 -lbl_800BA0F0: -/* 800BA0F0 000B7050 38 61 00 0C */ addi r3, r1, 0xc -/* 800BA0F4 000B7054 48 00 17 6D */ bl sub_800bb860 -/* 800BA0F8 000B7058 48 00 01 7C */ b lbl_800BA274 -lbl_800BA0FC: -/* 800BA0FC 000B705C 80 7E 00 38 */ lwz r3, 0x38(r30) -/* 800BA100 000B7060 38 80 00 00 */ li r4, 0 -/* 800BA104 000B7064 48 00 00 20 */ b lbl_800BA124 -lbl_800BA108: -/* 800BA108 000B7068 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BA10C 000B706C 7C 00 F8 40 */ cmplw r0, r31 -/* 800BA110 000B7070 41 80 00 10 */ blt lbl_800BA120 -/* 800BA114 000B7074 7C 64 1B 78 */ mr r4, r3 -/* 800BA118 000B7078 80 63 00 00 */ lwz r3, 0(r3) -/* 800BA11C 000B707C 48 00 00 08 */ b lbl_800BA124 -lbl_800BA120: -/* 800BA120 000B7080 80 63 00 04 */ lwz r3, 4(r3) -lbl_800BA124: -/* 800BA124 000B7084 28 03 00 00 */ cmplwi r3, 0 -/* 800BA128 000B7088 40 82 FF E0 */ bne lbl_800BA108 -/* 800BA12C 000B708C 28 04 00 00 */ cmplwi r4, 0 -/* 800BA130 000B7090 38 60 00 00 */ li r3, 0 -/* 800BA134 000B7094 41 82 00 10 */ beq lbl_800BA144 -/* 800BA138 000B7098 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800BA13C 000B709C 7C 1F 00 40 */ cmplw r31, r0 -/* 800BA140 000B70A0 40 80 00 08 */ bge lbl_800BA148 -lbl_800BA144: -/* 800BA144 000B70A4 38 60 00 01 */ li r3, 1 -lbl_800BA148: -/* 800BA148 000B70A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BA14C 000B70AC 41 82 00 08 */ beq lbl_800BA154 -/* 800BA150 000B70B0 38 80 00 00 */ li r4, 0 -lbl_800BA154: -/* 800BA154 000B70B4 38 00 00 00 */ li r0, 0 -/* 800BA158 000B70B8 38 7E 00 30 */ addi r3, r30, 0x30 -/* 800BA15C 000B70BC 7C 04 00 40 */ cmplw r4, r0 -/* 800BA160 000B70C0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800BA164 000B70C4 90 61 00 30 */ stw r3, 0x30(r1) -/* 800BA168 000B70C8 40 82 00 10 */ bne lbl_800BA178 -/* 800BA16C 000B70CC 7C 03 18 40 */ cmplw r3, r3 -/* 800BA170 000B70D0 40 82 00 08 */ bne lbl_800BA178 -/* 800BA174 000B70D4 38 00 00 01 */ li r0, 1 -lbl_800BA178: -/* 800BA178 000B70D8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800BA17C 000B70DC 41 82 00 F8 */ beq lbl_800BA274 -/* 800BA180 000B70E0 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800BA184 000B70E4 3B 80 00 00 */ li r28, 0 -/* 800BA188 000B70E8 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800BA18C 000B70EC 38 A0 00 00 */ li r5, 0 -/* 800BA190 000B70F0 38 60 00 0C */ li r3, 0xc -/* 800BA194 000B70F4 48 25 B6 D9 */ bl __nw__FUlPCcPCc -/* 800BA198 000B70F8 7C 7D 1B 79 */ or. r29, r3, r3 -/* 800BA19C 000B70FC 41 82 00 50 */ beq lbl_800BA1EC -/* 800BA1A0 000B7100 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 800BA1A4 000B7104 93 E1 00 28 */ stw r31, 0x28(r1) -/* 800BA1A8 000B7108 38 03 53 43 */ addi r0, r3, 0x454C5343@l -/* 800BA1AC 000B710C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800BA1B0 000B7110 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BA1B4 000B7114 38 61 00 1C */ addi r3, r1, 0x1c -/* 800BA1B8 000B7118 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800BA1BC 000B711C 81 84 00 00 */ lwz r12, 0(r4) -/* 800BA1C0 000B7120 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800BA1C4 000B7124 7D 89 03 A6 */ mtctr r12 -/* 800BA1C8 000B7128 4E 80 04 21 */ bctrl -/* 800BA1CC 000B712C 7F A3 EB 78 */ mr r3, r29 -/* 800BA1D0 000B7130 38 81 00 1C */ addi r4, r1, 0x1c -/* 800BA1D4 000B7134 3B 80 00 01 */ li r28, 1 -/* 800BA1D8 000B7138 48 28 6C D1 */ bl __ct__6CTokenFRC6CToken -/* 800BA1DC 000B713C 7F A3 EB 78 */ mr r3, r29 -/* 800BA1E0 000B7140 48 28 6C 2D */ bl GetObj__6CTokenFv -/* 800BA1E4 000B7144 80 03 00 04 */ lwz r0, 4(r3) -/* 800BA1E8 000B7148 90 1D 00 08 */ stw r0, 8(r29) -lbl_800BA1EC: -/* 800BA1EC 000B714C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BA1F0 000B7150 38 60 00 08 */ li r3, 8 -/* 800BA1F4 000B7154 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BA1F8 000B7158 38 A0 00 00 */ li r5, 0 -/* 800BA1FC 000B715C 48 25 B6 71 */ bl __nw__FUlPCcPCc -/* 800BA200 000B7160 28 03 00 00 */ cmplwi r3, 0 -/* 800BA204 000B7164 41 82 00 10 */ beq lbl_800BA214 -/* 800BA208 000B7168 93 A3 00 00 */ stw r29, 0(r3) -/* 800BA20C 000B716C 38 00 00 01 */ li r0, 1 -/* 800BA210 000B7170 90 03 00 04 */ stw r0, 4(r3) -lbl_800BA214: -/* 800BA214 000B7174 7F 80 07 75 */ extsb. r0, r28 -/* 800BA218 000B7178 90 61 00 08 */ stw r3, 8(r1) -/* 800BA21C 000B717C 41 82 00 10 */ beq lbl_800BA22C -/* 800BA220 000B7180 38 61 00 1C */ addi r3, r1, 0x1c -/* 800BA224 000B7184 38 80 FF FF */ li r4, -1 -/* 800BA228 000B7188 48 28 6C 19 */ bl __dt__6CTokenFv -lbl_800BA22C: -/* 800BA22C 000B718C 80 E1 00 08 */ lwz r7, 8(r1) -/* 800BA230 000B7190 3B A1 00 18 */ addi r29, r1, 0x18 -/* 800BA234 000B7194 93 E1 00 14 */ stw r31, 0x14(r1) -/* 800BA238 000B7198 38 61 00 74 */ addi r3, r1, 0x74 -/* 800BA23C 000B719C 38 9E 00 28 */ addi r4, r30, 0x28 -/* 800BA240 000B71A0 38 C1 00 14 */ addi r6, r1, 0x14 -/* 800BA244 000B71A4 90 E1 00 18 */ stw r7, 0x18(r1) -/* 800BA248 000B71A8 80 A7 00 04 */ lwz r5, 4(r7) -/* 800BA24C 000B71AC 38 05 00 01 */ addi r0, r5, 1 -/* 800BA250 000B71B0 90 07 00 04 */ stw r0, 4(r7) -/* 800BA254 000B71B4 80 BE 00 38 */ lwz r5, 0x38(r30) -/* 800BA258 000B71B8 48 00 10 A9 */ bl sub_800bb300 -/* 800BA25C 000B71BC 28 1D 00 00 */ cmplwi r29, 0 -/* 800BA260 000B71C0 41 82 00 0C */ beq lbl_800BA26C -/* 800BA264 000B71C4 7F A3 EB 78 */ mr r3, r29 -/* 800BA268 000B71C8 48 00 16 75 */ bl sub_800bb8dc -lbl_800BA26C: -/* 800BA26C 000B71CC 38 61 00 08 */ addi r3, r1, 8 -/* 800BA270 000B71D0 48 00 16 6D */ bl sub_800bb8dc -lbl_800BA274: -/* 800BA274 000B71D4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 800BA278 000B71D8 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 800BA27C 000B71DC 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 800BA280 000B71E0 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 800BA284 000B71E4 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 800BA288 000B71E8 7C 08 03 A6 */ mtlr r0 -/* 800BA28C 000B71EC 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 800BA290 000B71F0 4E 80 00 20 */ blr - -.global CacheParticleDesc__17CParticleDatabaseFRCQ213CharacterInfo16CParticleResData -CacheParticleDesc__17CParticleDatabaseFRCQ213CharacterInfo16CParticleResData: -/* 800BA294 000B71F4 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800BA298 000B71F8 7C 08 02 A6 */ mflr r0 -/* 800BA29C 000B71FC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800BA2A0 000B7200 BE E1 00 9C */ stmw r23, 0x9c(r1) -/* 800BA2A4 000B7204 7C 7F 1B 78 */ mr r31, r3 -/* 800BA2A8 000B7208 3B 9F 00 08 */ addi r28, r31, 8 -/* 800BA2AC 000B720C 7C 9E 23 78 */ mr r30, r4 -/* 800BA2B0 000B7210 93 81 00 70 */ stw r28, 0x70(r1) -/* 800BA2B4 000B7214 3B 61 00 58 */ addi r27, r1, 0x58 -/* 800BA2B8 000B7218 80 04 00 04 */ lwz r0, 4(r4) -/* 800BA2BC 000B721C 83 44 00 0C */ lwz r26, 0xc(r4) -/* 800BA2C0 000B7220 54 00 10 3A */ slwi r0, r0, 2 -/* 800BA2C4 000B7224 7F BA 02 14 */ add r29, r26, r0 -/* 800BA2C8 000B7228 48 00 01 78 */ b lbl_800BA440 -lbl_800BA2CC: -/* 800BA2CC 000B722C 83 3A 00 00 */ lwz r25, 0(r26) -/* 800BA2D0 000B7230 38 80 00 00 */ li r4, 0 -/* 800BA2D4 000B7234 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 800BA2D8 000B7238 48 00 00 20 */ b lbl_800BA2F8 -lbl_800BA2DC: -/* 800BA2DC 000B723C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BA2E0 000B7240 7C 00 C8 40 */ cmplw r0, r25 -/* 800BA2E4 000B7244 41 80 00 10 */ blt lbl_800BA2F4 -/* 800BA2E8 000B7248 7C 64 1B 78 */ mr r4, r3 -/* 800BA2EC 000B724C 80 63 00 00 */ lwz r3, 0(r3) -/* 800BA2F0 000B7250 48 00 00 08 */ b lbl_800BA2F8 -lbl_800BA2F4: -/* 800BA2F4 000B7254 80 63 00 04 */ lwz r3, 4(r3) -lbl_800BA2F8: -/* 800BA2F8 000B7258 28 03 00 00 */ cmplwi r3, 0 -/* 800BA2FC 000B725C 40 82 FF E0 */ bne lbl_800BA2DC -/* 800BA300 000B7260 28 04 00 00 */ cmplwi r4, 0 -/* 800BA304 000B7264 38 60 00 00 */ li r3, 0 -/* 800BA308 000B7268 41 82 00 10 */ beq lbl_800BA318 -/* 800BA30C 000B726C 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800BA310 000B7270 7C 19 00 40 */ cmplw r25, r0 -/* 800BA314 000B7274 40 80 00 08 */ bge lbl_800BA31C -lbl_800BA318: -/* 800BA318 000B7278 38 60 00 01 */ li r3, 1 -lbl_800BA31C: -/* 800BA31C 000B727C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BA320 000B7280 41 82 00 08 */ beq lbl_800BA328 -/* 800BA324 000B7284 38 80 00 00 */ li r4, 0 -lbl_800BA328: -/* 800BA328 000B7288 38 00 00 00 */ li r0, 0 -/* 800BA32C 000B728C 7C 04 00 40 */ cmplw r4, r0 -/* 800BA330 000B7290 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800BA334 000B7294 40 82 00 10 */ bne lbl_800BA344 -/* 800BA338 000B7298 7C 1C E0 40 */ cmplw r28, r28 -/* 800BA33C 000B729C 40 82 00 08 */ bne lbl_800BA344 -/* 800BA340 000B72A0 38 00 00 01 */ li r0, 1 -lbl_800BA344: -/* 800BA344 000B72A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800BA348 000B72A8 41 82 00 F4 */ beq lbl_800BA43C -/* 800BA34C 000B72AC 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800BA350 000B72B0 3A E0 00 00 */ li r23, 0 -/* 800BA354 000B72B4 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800BA358 000B72B8 38 A0 00 00 */ li r5, 0 -/* 800BA35C 000B72BC 38 60 00 0C */ li r3, 0xc -/* 800BA360 000B72C0 48 25 B5 0D */ bl __nw__FUlPCcPCc -/* 800BA364 000B72C4 7C 78 1B 79 */ or. r24, r3, r3 -/* 800BA368 000B72C8 41 82 00 50 */ beq lbl_800BA3B8 -/* 800BA36C 000B72CC 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 800BA370 000B72D0 93 21 00 68 */ stw r25, 0x68(r1) -/* 800BA374 000B72D4 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 800BA378 000B72D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800BA37C 000B72DC 90 01 00 64 */ stw r0, 0x64(r1) -/* 800BA380 000B72E0 38 61 00 5C */ addi r3, r1, 0x5c -/* 800BA384 000B72E4 38 A1 00 64 */ addi r5, r1, 0x64 -/* 800BA388 000B72E8 81 84 00 00 */ lwz r12, 0(r4) -/* 800BA38C 000B72EC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800BA390 000B72F0 7D 89 03 A6 */ mtctr r12 -/* 800BA394 000B72F4 4E 80 04 21 */ bctrl -/* 800BA398 000B72F8 7F 03 C3 78 */ mr r3, r24 -/* 800BA39C 000B72FC 38 81 00 5C */ addi r4, r1, 0x5c -/* 800BA3A0 000B7300 3A E0 00 01 */ li r23, 1 -/* 800BA3A4 000B7304 48 28 6B 05 */ bl __ct__6CTokenFRC6CToken -/* 800BA3A8 000B7308 7F 03 C3 78 */ mr r3, r24 -/* 800BA3AC 000B730C 48 28 6A 61 */ bl GetObj__6CTokenFv -/* 800BA3B0 000B7310 80 03 00 04 */ lwz r0, 4(r3) -/* 800BA3B4 000B7314 90 18 00 08 */ stw r0, 8(r24) -lbl_800BA3B8: -/* 800BA3B8 000B7318 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BA3BC 000B731C 38 60 00 08 */ li r3, 8 -/* 800BA3C0 000B7320 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BA3C4 000B7324 38 A0 00 00 */ li r5, 0 -/* 800BA3C8 000B7328 48 25 B4 A5 */ bl __nw__FUlPCcPCc -/* 800BA3CC 000B732C 28 03 00 00 */ cmplwi r3, 0 -/* 800BA3D0 000B7330 41 82 00 10 */ beq lbl_800BA3E0 -/* 800BA3D4 000B7334 93 03 00 00 */ stw r24, 0(r3) -/* 800BA3D8 000B7338 38 00 00 01 */ li r0, 1 -/* 800BA3DC 000B733C 90 03 00 04 */ stw r0, 4(r3) -lbl_800BA3E0: -/* 800BA3E0 000B7340 7E E0 07 75 */ extsb. r0, r23 -/* 800BA3E4 000B7344 90 61 00 10 */ stw r3, 0x10(r1) -/* 800BA3E8 000B7348 41 82 00 10 */ beq lbl_800BA3F8 -/* 800BA3EC 000B734C 38 61 00 5C */ addi r3, r1, 0x5c -/* 800BA3F0 000B7350 38 80 FF FF */ li r4, -1 -/* 800BA3F4 000B7354 48 28 6A 4D */ bl __dt__6CTokenFv -lbl_800BA3F8: -/* 800BA3F8 000B7358 80 E1 00 10 */ lwz r7, 0x10(r1) -/* 800BA3FC 000B735C 7F E4 FB 78 */ mr r4, r31 -/* 800BA400 000B7360 93 21 00 54 */ stw r25, 0x54(r1) -/* 800BA404 000B7364 38 61 00 8C */ addi r3, r1, 0x8c -/* 800BA408 000B7368 38 C1 00 54 */ addi r6, r1, 0x54 -/* 800BA40C 000B736C 90 E1 00 58 */ stw r7, 0x58(r1) -/* 800BA410 000B7370 80 A7 00 04 */ lwz r5, 4(r7) -/* 800BA414 000B7374 38 05 00 01 */ addi r0, r5, 1 -/* 800BA418 000B7378 90 07 00 04 */ stw r0, 4(r7) -/* 800BA41C 000B737C 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 800BA420 000B7380 48 00 09 11 */ bl sub_800bad30 -/* 800BA424 000B7384 28 1B 00 00 */ cmplwi r27, 0 -/* 800BA428 000B7388 41 82 00 0C */ beq lbl_800BA434 -/* 800BA42C 000B738C 7F 63 DB 78 */ mr r3, r27 -/* 800BA430 000B7390 48 00 13 B5 */ bl sub_800bb7e4 -lbl_800BA434: -/* 800BA434 000B7394 38 61 00 10 */ addi r3, r1, 0x10 -/* 800BA438 000B7398 48 00 13 AD */ bl sub_800bb7e4 -lbl_800BA43C: -/* 800BA43C 000B739C 3B 5A 00 04 */ addi r26, r26, 4 -lbl_800BA440: -/* 800BA440 000B73A0 7C 1A E8 40 */ cmplw r26, r29 -/* 800BA444 000B73A4 40 82 FE 88 */ bne lbl_800BA2CC -/* 800BA448 000B73A8 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 800BA44C 000B73AC 3B 7F 00 1C */ addi r27, r31, 0x1c -/* 800BA450 000B73B0 83 5E 00 1C */ lwz r26, 0x1c(r30) -/* 800BA454 000B73B4 3B A1 00 38 */ addi r29, r1, 0x38 -/* 800BA458 000B73B8 54 00 10 3A */ slwi r0, r0, 2 -/* 800BA45C 000B73BC 93 61 00 50 */ stw r27, 0x50(r1) -/* 800BA460 000B73C0 7F 9A 02 14 */ add r28, r26, r0 -/* 800BA464 000B73C4 48 00 01 78 */ b lbl_800BA5DC -lbl_800BA468: -/* 800BA468 000B73C8 83 3A 00 00 */ lwz r25, 0(r26) -/* 800BA46C 000B73CC 38 80 00 00 */ li r4, 0 -/* 800BA470 000B73D0 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800BA474 000B73D4 48 00 00 20 */ b lbl_800BA494 -lbl_800BA478: -/* 800BA478 000B73D8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BA47C 000B73DC 7C 00 C8 40 */ cmplw r0, r25 -/* 800BA480 000B73E0 41 80 00 10 */ blt lbl_800BA490 -/* 800BA484 000B73E4 7C 64 1B 78 */ mr r4, r3 -/* 800BA488 000B73E8 80 63 00 00 */ lwz r3, 0(r3) -/* 800BA48C 000B73EC 48 00 00 08 */ b lbl_800BA494 -lbl_800BA490: -/* 800BA490 000B73F0 80 63 00 04 */ lwz r3, 4(r3) -lbl_800BA494: -/* 800BA494 000B73F4 28 03 00 00 */ cmplwi r3, 0 -/* 800BA498 000B73F8 40 82 FF E0 */ bne lbl_800BA478 -/* 800BA49C 000B73FC 28 04 00 00 */ cmplwi r4, 0 -/* 800BA4A0 000B7400 38 60 00 00 */ li r3, 0 -/* 800BA4A4 000B7404 41 82 00 10 */ beq lbl_800BA4B4 -/* 800BA4A8 000B7408 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800BA4AC 000B740C 7C 19 00 40 */ cmplw r25, r0 -/* 800BA4B0 000B7410 40 80 00 08 */ bge lbl_800BA4B8 -lbl_800BA4B4: -/* 800BA4B4 000B7414 38 60 00 01 */ li r3, 1 -lbl_800BA4B8: -/* 800BA4B8 000B7418 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BA4BC 000B741C 41 82 00 08 */ beq lbl_800BA4C4 -/* 800BA4C0 000B7420 38 80 00 00 */ li r4, 0 -lbl_800BA4C4: -/* 800BA4C4 000B7424 38 00 00 00 */ li r0, 0 -/* 800BA4C8 000B7428 7C 04 00 40 */ cmplw r4, r0 -/* 800BA4CC 000B742C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800BA4D0 000B7430 40 82 00 10 */ bne lbl_800BA4E0 -/* 800BA4D4 000B7434 7C 1B D8 40 */ cmplw r27, r27 -/* 800BA4D8 000B7438 40 82 00 08 */ bne lbl_800BA4E0 -/* 800BA4DC 000B743C 38 00 00 01 */ li r0, 1 -lbl_800BA4E0: -/* 800BA4E0 000B7440 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800BA4E4 000B7444 41 82 00 F4 */ beq lbl_800BA5D8 -/* 800BA4E8 000B7448 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800BA4EC 000B744C 3A E0 00 00 */ li r23, 0 -/* 800BA4F0 000B7450 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800BA4F4 000B7454 38 A0 00 00 */ li r5, 0 -/* 800BA4F8 000B7458 38 60 00 0C */ li r3, 0xc -/* 800BA4FC 000B745C 48 25 B3 71 */ bl __nw__FUlPCcPCc -/* 800BA500 000B7460 7C 78 1B 79 */ or. r24, r3, r3 -/* 800BA504 000B7464 41 82 00 50 */ beq lbl_800BA554 -/* 800BA508 000B7468 3C 60 53 57 */ lis r3, 0x53574843@ha -/* 800BA50C 000B746C 93 21 00 48 */ stw r25, 0x48(r1) -/* 800BA510 000B7470 38 03 48 43 */ addi r0, r3, 0x53574843@l -/* 800BA514 000B7474 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800BA518 000B7478 90 01 00 44 */ stw r0, 0x44(r1) -/* 800BA51C 000B747C 38 61 00 3C */ addi r3, r1, 0x3c -/* 800BA520 000B7480 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800BA524 000B7484 81 84 00 00 */ lwz r12, 0(r4) -/* 800BA528 000B7488 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800BA52C 000B748C 7D 89 03 A6 */ mtctr r12 -/* 800BA530 000B7490 4E 80 04 21 */ bctrl -/* 800BA534 000B7494 7F 03 C3 78 */ mr r3, r24 -/* 800BA538 000B7498 38 81 00 3C */ addi r4, r1, 0x3c -/* 800BA53C 000B749C 3A E0 00 01 */ li r23, 1 -/* 800BA540 000B74A0 48 28 69 69 */ bl __ct__6CTokenFRC6CToken -/* 800BA544 000B74A4 7F 03 C3 78 */ mr r3, r24 -/* 800BA548 000B74A8 48 28 68 C5 */ bl GetObj__6CTokenFv -/* 800BA54C 000B74AC 80 03 00 04 */ lwz r0, 4(r3) -/* 800BA550 000B74B0 90 18 00 08 */ stw r0, 8(r24) -lbl_800BA554: -/* 800BA554 000B74B4 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BA558 000B74B8 38 60 00 08 */ li r3, 8 -/* 800BA55C 000B74BC 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BA560 000B74C0 38 A0 00 00 */ li r5, 0 -/* 800BA564 000B74C4 48 25 B3 09 */ bl __nw__FUlPCcPCc -/* 800BA568 000B74C8 28 03 00 00 */ cmplwi r3, 0 -/* 800BA56C 000B74CC 41 82 00 10 */ beq lbl_800BA57C -/* 800BA570 000B74D0 93 03 00 00 */ stw r24, 0(r3) -/* 800BA574 000B74D4 38 00 00 01 */ li r0, 1 -/* 800BA578 000B74D8 90 03 00 04 */ stw r0, 4(r3) -lbl_800BA57C: -/* 800BA57C 000B74DC 7E E0 07 75 */ extsb. r0, r23 -/* 800BA580 000B74E0 90 61 00 0C */ stw r3, 0xc(r1) -/* 800BA584 000B74E4 41 82 00 10 */ beq lbl_800BA594 -/* 800BA588 000B74E8 38 61 00 3C */ addi r3, r1, 0x3c -/* 800BA58C 000B74EC 38 80 FF FF */ li r4, -1 -/* 800BA590 000B74F0 48 28 68 B1 */ bl __dt__6CTokenFv -lbl_800BA594: -/* 800BA594 000B74F4 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 800BA598 000B74F8 38 61 00 80 */ addi r3, r1, 0x80 -/* 800BA59C 000B74FC 93 21 00 34 */ stw r25, 0x34(r1) -/* 800BA5A0 000B7500 38 9F 00 14 */ addi r4, r31, 0x14 -/* 800BA5A4 000B7504 38 C1 00 34 */ addi r6, r1, 0x34 -/* 800BA5A8 000B7508 90 E1 00 38 */ stw r7, 0x38(r1) -/* 800BA5AC 000B750C 80 A7 00 04 */ lwz r5, 4(r7) -/* 800BA5B0 000B7510 38 05 00 01 */ addi r0, r5, 1 -/* 800BA5B4 000B7514 90 07 00 04 */ stw r0, 4(r7) -/* 800BA5B8 000B7518 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 800BA5BC 000B751C 48 00 0A 5D */ bl sub_800bb018 -/* 800BA5C0 000B7520 28 1D 00 00 */ cmplwi r29, 0 -/* 800BA5C4 000B7524 41 82 00 0C */ beq lbl_800BA5D0 -/* 800BA5C8 000B7528 7F A3 EB 78 */ mr r3, r29 -/* 800BA5CC 000B752C 48 00 12 95 */ bl sub_800bb860 -lbl_800BA5D0: -/* 800BA5D0 000B7530 38 61 00 0C */ addi r3, r1, 0xc -/* 800BA5D4 000B7534 48 00 12 8D */ bl sub_800bb860 -lbl_800BA5D8: -/* 800BA5D8 000B7538 3B 5A 00 04 */ addi r26, r26, 4 -lbl_800BA5DC: -/* 800BA5DC 000B753C 7C 1A E0 40 */ cmplw r26, r28 -/* 800BA5E0 000B7540 40 82 FE 88 */ bne lbl_800BA468 -/* 800BA5E4 000B7544 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 800BA5E8 000B7548 3B 7F 00 30 */ addi r27, r31, 0x30 -/* 800BA5EC 000B754C 83 5E 00 2C */ lwz r26, 0x2c(r30) -/* 800BA5F0 000B7550 3B A1 00 18 */ addi r29, r1, 0x18 -/* 800BA5F4 000B7554 54 00 10 3A */ slwi r0, r0, 2 -/* 800BA5F8 000B7558 93 61 00 30 */ stw r27, 0x30(r1) -/* 800BA5FC 000B755C 7F 9A 02 14 */ add r28, r26, r0 -/* 800BA600 000B7560 48 00 01 78 */ b lbl_800BA778 -lbl_800BA604: -/* 800BA604 000B7564 83 3A 00 00 */ lwz r25, 0(r26) -/* 800BA608 000B7568 38 80 00 00 */ li r4, 0 -/* 800BA60C 000B756C 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 800BA610 000B7570 48 00 00 20 */ b lbl_800BA630 -lbl_800BA614: -/* 800BA614 000B7574 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BA618 000B7578 7C 00 C8 40 */ cmplw r0, r25 -/* 800BA61C 000B757C 41 80 00 10 */ blt lbl_800BA62C -/* 800BA620 000B7580 7C 64 1B 78 */ mr r4, r3 -/* 800BA624 000B7584 80 63 00 00 */ lwz r3, 0(r3) -/* 800BA628 000B7588 48 00 00 08 */ b lbl_800BA630 -lbl_800BA62C: -/* 800BA62C 000B758C 80 63 00 04 */ lwz r3, 4(r3) -lbl_800BA630: -/* 800BA630 000B7590 28 03 00 00 */ cmplwi r3, 0 -/* 800BA634 000B7594 40 82 FF E0 */ bne lbl_800BA614 -/* 800BA638 000B7598 28 04 00 00 */ cmplwi r4, 0 -/* 800BA63C 000B759C 38 60 00 00 */ li r3, 0 -/* 800BA640 000B75A0 41 82 00 10 */ beq lbl_800BA650 -/* 800BA644 000B75A4 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800BA648 000B75A8 7C 19 00 40 */ cmplw r25, r0 -/* 800BA64C 000B75AC 40 80 00 08 */ bge lbl_800BA654 -lbl_800BA650: -/* 800BA650 000B75B0 38 60 00 01 */ li r3, 1 -lbl_800BA654: -/* 800BA654 000B75B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BA658 000B75B8 41 82 00 08 */ beq lbl_800BA660 -/* 800BA65C 000B75BC 38 80 00 00 */ li r4, 0 -lbl_800BA660: -/* 800BA660 000B75C0 38 00 00 00 */ li r0, 0 -/* 800BA664 000B75C4 7C 04 00 40 */ cmplw r4, r0 -/* 800BA668 000B75C8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800BA66C 000B75CC 40 82 00 10 */ bne lbl_800BA67C -/* 800BA670 000B75D0 7C 1B D8 40 */ cmplw r27, r27 -/* 800BA674 000B75D4 40 82 00 08 */ bne lbl_800BA67C -/* 800BA678 000B75D8 38 00 00 01 */ li r0, 1 -lbl_800BA67C: -/* 800BA67C 000B75DC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800BA680 000B75E0 41 82 00 F4 */ beq lbl_800BA774 -/* 800BA684 000B75E4 3C 60 80 3D */ lis r3, lbl_803CDEA0@ha -/* 800BA688 000B75E8 3A E0 00 00 */ li r23, 0 -/* 800BA68C 000B75EC 38 83 DE A0 */ addi r4, r3, lbl_803CDEA0@l -/* 800BA690 000B75F0 38 A0 00 00 */ li r5, 0 -/* 800BA694 000B75F4 38 60 00 0C */ li r3, 0xc -/* 800BA698 000B75F8 48 25 B1 D5 */ bl __nw__FUlPCcPCc -/* 800BA69C 000B75FC 7C 78 1B 79 */ or. r24, r3, r3 -/* 800BA6A0 000B7600 41 82 00 50 */ beq lbl_800BA6F0 -/* 800BA6A4 000B7604 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 800BA6A8 000B7608 93 21 00 28 */ stw r25, 0x28(r1) -/* 800BA6AC 000B760C 38 03 53 43 */ addi r0, r3, 0x454C5343@l -/* 800BA6B0 000B7610 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800BA6B4 000B7614 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BA6B8 000B7618 38 61 00 1C */ addi r3, r1, 0x1c -/* 800BA6BC 000B761C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800BA6C0 000B7620 81 84 00 00 */ lwz r12, 0(r4) -/* 800BA6C4 000B7624 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800BA6C8 000B7628 7D 89 03 A6 */ mtctr r12 -/* 800BA6CC 000B762C 4E 80 04 21 */ bctrl -/* 800BA6D0 000B7630 7F 03 C3 78 */ mr r3, r24 -/* 800BA6D4 000B7634 38 81 00 1C */ addi r4, r1, 0x1c -/* 800BA6D8 000B7638 3A E0 00 01 */ li r23, 1 -/* 800BA6DC 000B763C 48 28 67 CD */ bl __ct__6CTokenFRC6CToken -/* 800BA6E0 000B7640 7F 03 C3 78 */ mr r3, r24 -/* 800BA6E4 000B7644 48 28 67 29 */ bl GetObj__6CTokenFv -/* 800BA6E8 000B7648 80 03 00 04 */ lwz r0, 4(r3) -/* 800BA6EC 000B764C 90 18 00 08 */ stw r0, 8(r24) -lbl_800BA6F0: -/* 800BA6F0 000B7650 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BA6F4 000B7654 38 60 00 08 */ li r3, 8 -/* 800BA6F8 000B7658 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BA6FC 000B765C 38 A0 00 00 */ li r5, 0 -/* 800BA700 000B7660 48 25 B1 6D */ bl __nw__FUlPCcPCc -/* 800BA704 000B7664 28 03 00 00 */ cmplwi r3, 0 -/* 800BA708 000B7668 41 82 00 10 */ beq lbl_800BA718 -/* 800BA70C 000B766C 93 03 00 00 */ stw r24, 0(r3) -/* 800BA710 000B7670 38 00 00 01 */ li r0, 1 -/* 800BA714 000B7674 90 03 00 04 */ stw r0, 4(r3) -lbl_800BA718: -/* 800BA718 000B7678 7E E0 07 75 */ extsb. r0, r23 -/* 800BA71C 000B767C 90 61 00 08 */ stw r3, 8(r1) -/* 800BA720 000B7680 41 82 00 10 */ beq lbl_800BA730 -/* 800BA724 000B7684 38 61 00 1C */ addi r3, r1, 0x1c -/* 800BA728 000B7688 38 80 FF FF */ li r4, -1 -/* 800BA72C 000B768C 48 28 67 15 */ bl __dt__6CTokenFv -lbl_800BA730: -/* 800BA730 000B7690 80 E1 00 08 */ lwz r7, 8(r1) -/* 800BA734 000B7694 38 61 00 74 */ addi r3, r1, 0x74 -/* 800BA738 000B7698 93 21 00 14 */ stw r25, 0x14(r1) -/* 800BA73C 000B769C 38 9F 00 28 */ addi r4, r31, 0x28 -/* 800BA740 000B76A0 38 C1 00 14 */ addi r6, r1, 0x14 -/* 800BA744 000B76A4 90 E1 00 18 */ stw r7, 0x18(r1) -/* 800BA748 000B76A8 80 A7 00 04 */ lwz r5, 4(r7) -/* 800BA74C 000B76AC 38 05 00 01 */ addi r0, r5, 1 -/* 800BA750 000B76B0 90 07 00 04 */ stw r0, 4(r7) -/* 800BA754 000B76B4 80 BF 00 38 */ lwz r5, 0x38(r31) -/* 800BA758 000B76B8 48 00 0B A9 */ bl sub_800bb300 -/* 800BA75C 000B76BC 28 1D 00 00 */ cmplwi r29, 0 -/* 800BA760 000B76C0 41 82 00 0C */ beq lbl_800BA76C -/* 800BA764 000B76C4 7F A3 EB 78 */ mr r3, r29 -/* 800BA768 000B76C8 48 00 11 75 */ bl sub_800bb8dc -lbl_800BA76C: -/* 800BA76C 000B76CC 38 61 00 08 */ addi r3, r1, 8 -/* 800BA770 000B76D0 48 00 11 6D */ bl sub_800bb8dc -lbl_800BA774: -/* 800BA774 000B76D4 3B 5A 00 04 */ addi r26, r26, 4 -lbl_800BA778: -/* 800BA778 000B76D8 7C 1A E0 40 */ cmplw r26, r28 -/* 800BA77C 000B76DC 40 82 FE 88 */ bne lbl_800BA604 -/* 800BA780 000B76E0 BA E1 00 9C */ lmw r23, 0x9c(r1) -/* 800BA784 000B76E4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800BA788 000B76E8 7C 08 03 A6 */ mtlr r0 -/* 800BA78C 000B76EC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800BA790 000B76F0 4E 80 00 20 */ blr - -.global __dt__17CParticleDatabaseFv -__dt__17CParticleDatabaseFv: -/* 800BA794 000B76F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BA798 000B76F8 7C 08 02 A6 */ mflr r0 -/* 800BA79C 000B76FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BA7A0 000B7700 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BA7A4 000B7704 7C 9F 23 78 */ mr r31, r4 -/* 800BA7A8 000B7708 93 C1 00 08 */ stw r30, 8(r1) -/* 800BA7AC 000B770C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800BA7B0 000B7710 41 82 02 08 */ beq lbl_800BA9B8 -/* 800BA7B4 000B7714 34 1E 00 A0 */ addic. r0, r30, 0xa0 -/* 800BA7B8 000B7718 41 82 00 34 */ beq lbl_800BA7EC -/* 800BA7BC 000B771C 34 1E 00 A0 */ addic. r0, r30, 0xa0 -/* 800BA7C0 000B7720 41 82 00 2C */ beq lbl_800BA7EC -/* 800BA7C4 000B7724 80 9E 00 B0 */ lwz r4, 0xb0(r30) -/* 800BA7C8 000B7728 28 04 00 00 */ cmplwi r4, 0 -/* 800BA7CC 000B772C 41 82 00 0C */ beq lbl_800BA7D8 -/* 800BA7D0 000B7730 38 7E 00 A0 */ addi r3, r30, 0xa0 -/* 800BA7D4 000B7734 48 00 03 6D */ bl sub_800bab40 -lbl_800BA7D8: -/* 800BA7D8 000B7738 38 00 00 00 */ li r0, 0 -/* 800BA7DC 000B773C 90 1E 00 B0 */ stw r0, 0xb0(r30) -/* 800BA7E0 000B7740 90 1E 00 A8 */ stw r0, 0xa8(r30) -/* 800BA7E4 000B7744 90 1E 00 AC */ stw r0, 0xac(r30) -/* 800BA7E8 000B7748 90 1E 00 A4 */ stw r0, 0xa4(r30) -lbl_800BA7EC: -/* 800BA7EC 000B774C 34 1E 00 8C */ addic. r0, r30, 0x8c -/* 800BA7F0 000B7750 41 82 00 34 */ beq lbl_800BA824 -/* 800BA7F4 000B7754 34 1E 00 8C */ addic. r0, r30, 0x8c -/* 800BA7F8 000B7758 41 82 00 2C */ beq lbl_800BA824 -/* 800BA7FC 000B775C 80 9E 00 9C */ lwz r4, 0x9c(r30) -/* 800BA800 000B7760 28 04 00 00 */ cmplwi r4, 0 -/* 800BA804 000B7764 41 82 00 0C */ beq lbl_800BA810 -/* 800BA808 000B7768 38 7E 00 8C */ addi r3, r30, 0x8c -/* 800BA80C 000B776C 48 00 03 35 */ bl sub_800bab40 -lbl_800BA810: -/* 800BA810 000B7770 38 00 00 00 */ li r0, 0 -/* 800BA814 000B7774 90 1E 00 9C */ stw r0, 0x9c(r30) -/* 800BA818 000B7778 90 1E 00 94 */ stw r0, 0x94(r30) -/* 800BA81C 000B777C 90 1E 00 98 */ stw r0, 0x98(r30) -/* 800BA820 000B7780 90 1E 00 90 */ stw r0, 0x90(r30) -lbl_800BA824: -/* 800BA824 000B7784 34 1E 00 78 */ addic. r0, r30, 0x78 -/* 800BA828 000B7788 41 82 00 34 */ beq lbl_800BA85C -/* 800BA82C 000B778C 34 1E 00 78 */ addic. r0, r30, 0x78 -/* 800BA830 000B7790 41 82 00 2C */ beq lbl_800BA85C -/* 800BA834 000B7794 80 9E 00 88 */ lwz r4, 0x88(r30) -/* 800BA838 000B7798 28 04 00 00 */ cmplwi r4, 0 -/* 800BA83C 000B779C 41 82 00 0C */ beq lbl_800BA848 -/* 800BA840 000B77A0 38 7E 00 78 */ addi r3, r30, 0x78 -/* 800BA844 000B77A4 48 00 02 FD */ bl sub_800bab40 -lbl_800BA848: -/* 800BA848 000B77A8 38 00 00 00 */ li r0, 0 -/* 800BA84C 000B77AC 90 1E 00 88 */ stw r0, 0x88(r30) -/* 800BA850 000B77B0 90 1E 00 80 */ stw r0, 0x80(r30) -/* 800BA854 000B77B4 90 1E 00 84 */ stw r0, 0x84(r30) -/* 800BA858 000B77B8 90 1E 00 7C */ stw r0, 0x7c(r30) -lbl_800BA85C: -/* 800BA85C 000B77BC 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 800BA860 000B77C0 41 82 00 34 */ beq lbl_800BA894 -/* 800BA864 000B77C4 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 800BA868 000B77C8 41 82 00 2C */ beq lbl_800BA894 -/* 800BA86C 000B77CC 80 9E 00 74 */ lwz r4, 0x74(r30) -/* 800BA870 000B77D0 28 04 00 00 */ cmplwi r4, 0 -/* 800BA874 000B77D4 41 82 00 0C */ beq lbl_800BA880 -/* 800BA878 000B77D8 38 7E 00 64 */ addi r3, r30, 0x64 -/* 800BA87C 000B77DC 48 00 02 C5 */ bl sub_800bab40 -lbl_800BA880: -/* 800BA880 000B77E0 38 00 00 00 */ li r0, 0 -/* 800BA884 000B77E4 90 1E 00 74 */ stw r0, 0x74(r30) -/* 800BA888 000B77E8 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 800BA88C 000B77EC 90 1E 00 70 */ stw r0, 0x70(r30) -/* 800BA890 000B77F0 90 1E 00 68 */ stw r0, 0x68(r30) -lbl_800BA894: -/* 800BA894 000B77F4 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 800BA898 000B77F8 41 82 00 34 */ beq lbl_800BA8CC -/* 800BA89C 000B77FC 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 800BA8A0 000B7800 41 82 00 2C */ beq lbl_800BA8CC -/* 800BA8A4 000B7804 80 9E 00 60 */ lwz r4, 0x60(r30) -/* 800BA8A8 000B7808 28 04 00 00 */ cmplwi r4, 0 -/* 800BA8AC 000B780C 41 82 00 0C */ beq lbl_800BA8B8 -/* 800BA8B0 000B7810 38 7E 00 50 */ addi r3, r30, 0x50 -/* 800BA8B4 000B7814 48 00 02 8D */ bl sub_800bab40 -lbl_800BA8B8: -/* 800BA8B8 000B7818 38 00 00 00 */ li r0, 0 -/* 800BA8BC 000B781C 90 1E 00 60 */ stw r0, 0x60(r30) -/* 800BA8C0 000B7820 90 1E 00 58 */ stw r0, 0x58(r30) -/* 800BA8C4 000B7824 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 800BA8C8 000B7828 90 1E 00 54 */ stw r0, 0x54(r30) -lbl_800BA8CC: -/* 800BA8CC 000B782C 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 800BA8D0 000B7830 41 82 00 34 */ beq lbl_800BA904 -/* 800BA8D4 000B7834 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 800BA8D8 000B7838 41 82 00 2C */ beq lbl_800BA904 -/* 800BA8DC 000B783C 80 9E 00 4C */ lwz r4, 0x4c(r30) -/* 800BA8E0 000B7840 28 04 00 00 */ cmplwi r4, 0 -/* 800BA8E4 000B7844 41 82 00 0C */ beq lbl_800BA8F0 -/* 800BA8E8 000B7848 38 7E 00 3C */ addi r3, r30, 0x3c -/* 800BA8EC 000B784C 48 00 02 55 */ bl sub_800bab40 -lbl_800BA8F0: -/* 800BA8F0 000B7850 38 00 00 00 */ li r0, 0 -/* 800BA8F4 000B7854 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 800BA8F8 000B7858 90 1E 00 44 */ stw r0, 0x44(r30) -/* 800BA8FC 000B785C 90 1E 00 48 */ stw r0, 0x48(r30) -/* 800BA900 000B7860 90 1E 00 40 */ stw r0, 0x40(r30) -lbl_800BA904: -/* 800BA904 000B7864 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 800BA908 000B7868 41 82 00 34 */ beq lbl_800BA93C -/* 800BA90C 000B786C 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 800BA910 000B7870 41 82 00 2C */ beq lbl_800BA93C -/* 800BA914 000B7874 80 9E 00 38 */ lwz r4, 0x38(r30) -/* 800BA918 000B7878 28 04 00 00 */ cmplwi r4, 0 -/* 800BA91C 000B787C 41 82 00 0C */ beq lbl_800BA928 -/* 800BA920 000B7880 38 7E 00 28 */ addi r3, r30, 0x28 -/* 800BA924 000B7884 48 00 09 59 */ bl sub_800bb27c -lbl_800BA928: -/* 800BA928 000B7888 38 00 00 00 */ li r0, 0 -/* 800BA92C 000B788C 90 1E 00 38 */ stw r0, 0x38(r30) -/* 800BA930 000B7890 90 1E 00 30 */ stw r0, 0x30(r30) -/* 800BA934 000B7894 90 1E 00 34 */ stw r0, 0x34(r30) -/* 800BA938 000B7898 90 1E 00 2C */ stw r0, 0x2c(r30) -lbl_800BA93C: -/* 800BA93C 000B789C 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 800BA940 000B78A0 41 82 00 34 */ beq lbl_800BA974 -/* 800BA944 000B78A4 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 800BA948 000B78A8 41 82 00 2C */ beq lbl_800BA974 -/* 800BA94C 000B78AC 80 9E 00 24 */ lwz r4, 0x24(r30) -/* 800BA950 000B78B0 28 04 00 00 */ cmplwi r4, 0 -/* 800BA954 000B78B4 41 82 00 0C */ beq lbl_800BA960 -/* 800BA958 000B78B8 38 7E 00 14 */ addi r3, r30, 0x14 -/* 800BA95C 000B78BC 48 00 06 39 */ bl sub_800baf94 -lbl_800BA960: -/* 800BA960 000B78C0 38 00 00 00 */ li r0, 0 -/* 800BA964 000B78C4 90 1E 00 24 */ stw r0, 0x24(r30) -/* 800BA968 000B78C8 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 800BA96C 000B78CC 90 1E 00 20 */ stw r0, 0x20(r30) -/* 800BA970 000B78D0 90 1E 00 18 */ stw r0, 0x18(r30) -lbl_800BA974: -/* 800BA974 000B78D4 28 1E 00 00 */ cmplwi r30, 0 -/* 800BA978 000B78D8 41 82 00 30 */ beq lbl_800BA9A8 -/* 800BA97C 000B78DC 41 82 00 2C */ beq lbl_800BA9A8 -/* 800BA980 000B78E0 80 9E 00 10 */ lwz r4, 0x10(r30) -/* 800BA984 000B78E4 28 04 00 00 */ cmplwi r4, 0 -/* 800BA988 000B78E8 41 82 00 0C */ beq lbl_800BA994 -/* 800BA98C 000B78EC 7F C3 F3 78 */ mr r3, r30 -/* 800BA990 000B78F0 48 00 03 1D */ bl sub_800bacac -lbl_800BA994: -/* 800BA994 000B78F4 38 00 00 00 */ li r0, 0 -/* 800BA998 000B78F8 90 1E 00 10 */ stw r0, 0x10(r30) -/* 800BA99C 000B78FC 90 1E 00 08 */ stw r0, 8(r30) -/* 800BA9A0 000B7900 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800BA9A4 000B7904 90 1E 00 04 */ stw r0, 4(r30) -lbl_800BA9A8: -/* 800BA9A8 000B7908 7F E0 07 35 */ extsh. r0, r31 -/* 800BA9AC 000B790C 40 81 00 0C */ ble lbl_800BA9B8 -/* 800BA9B0 000B7910 7F C3 F3 78 */ mr r3, r30 -/* 800BA9B4 000B7914 48 25 AF 7D */ bl Free__7CMemoryFPCv -lbl_800BA9B8: -/* 800BA9B8 000B7918 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BA9BC 000B791C 7F C3 F3 78 */ mr r3, r30 -/* 800BA9C0 000B7920 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BA9C4 000B7924 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BA9C8 000B7928 7C 08 03 A6 */ mtlr r0 -/* 800BA9CC 000B792C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BA9D0 000B7930 4E 80 00 20 */ blr - -.global __ct__17CParticleDatabaseFv -__ct__17CParticleDatabaseFv: -/* 800BA9D4 000B7934 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800BA9D8 000B7938 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800BA9DC 000B793C 88 81 00 28 */ lbz r4, 0x28(r1) -/* 800BA9E0 000B7940 93 C1 00 58 */ stw r30, 0x58(r1) -/* 800BA9E4 000B7944 88 01 00 4C */ lbz r0, 0x4c(r1) -/* 800BA9E8 000B7948 93 A1 00 54 */ stw r29, 0x54(r1) -/* 800BA9EC 000B794C 88 E1 00 24 */ lbz r7, 0x24(r1) -/* 800BA9F0 000B7950 93 81 00 50 */ stw r28, 0x50(r1) -/* 800BA9F4 000B7954 3B 80 00 00 */ li r28, 0 -/* 800BA9F8 000B7958 88 C1 00 48 */ lbz r6, 0x48(r1) -/* 800BA9FC 000B795C 98 83 00 00 */ stb r4, 0(r3) -/* 800BAA00 000B7960 38 80 00 01 */ li r4, 1 -/* 800BAA04 000B7964 88 A1 00 20 */ lbz r5, 0x20(r1) -/* 800BAA08 000B7968 98 03 00 01 */ stb r0, 1(r3) -/* 800BAA0C 000B796C 88 01 00 44 */ lbz r0, 0x44(r1) -/* 800BAA10 000B7970 93 83 00 04 */ stw r28, 4(r3) -/* 800BAA14 000B7974 8B A1 00 1C */ lbz r29, 0x1c(r1) -/* 800BAA18 000B7978 93 83 00 08 */ stw r28, 8(r3) -/* 800BAA1C 000B797C 8B C1 00 40 */ lbz r30, 0x40(r1) -/* 800BAA20 000B7980 93 83 00 0C */ stw r28, 0xc(r3) -/* 800BAA24 000B7984 8B E1 00 18 */ lbz r31, 0x18(r1) -/* 800BAA28 000B7988 93 83 00 10 */ stw r28, 0x10(r3) -/* 800BAA2C 000B798C 89 81 00 3C */ lbz r12, 0x3c(r1) -/* 800BAA30 000B7990 98 E3 00 14 */ stb r7, 0x14(r3) -/* 800BAA34 000B7994 89 61 00 14 */ lbz r11, 0x14(r1) -/* 800BAA38 000B7998 98 C3 00 15 */ stb r6, 0x15(r3) -/* 800BAA3C 000B799C 89 41 00 38 */ lbz r10, 0x38(r1) -/* 800BAA40 000B79A0 93 83 00 18 */ stw r28, 0x18(r3) -/* 800BAA44 000B79A4 89 21 00 10 */ lbz r9, 0x10(r1) -/* 800BAA48 000B79A8 93 83 00 1C */ stw r28, 0x1c(r3) -/* 800BAA4C 000B79AC 89 01 00 34 */ lbz r8, 0x34(r1) -/* 800BAA50 000B79B0 93 83 00 20 */ stw r28, 0x20(r3) -/* 800BAA54 000B79B4 88 E1 00 0C */ lbz r7, 0xc(r1) -/* 800BAA58 000B79B8 93 83 00 24 */ stw r28, 0x24(r3) -/* 800BAA5C 000B79BC 88 C1 00 30 */ lbz r6, 0x30(r1) -/* 800BAA60 000B79C0 98 A3 00 28 */ stb r5, 0x28(r3) -/* 800BAA64 000B79C4 88 A1 00 08 */ lbz r5, 8(r1) -/* 800BAA68 000B79C8 98 03 00 29 */ stb r0, 0x29(r3) -/* 800BAA6C 000B79CC 88 01 00 2C */ lbz r0, 0x2c(r1) -/* 800BAA70 000B79D0 93 83 00 2C */ stw r28, 0x2c(r3) -/* 800BAA74 000B79D4 93 83 00 30 */ stw r28, 0x30(r3) -/* 800BAA78 000B79D8 93 83 00 34 */ stw r28, 0x34(r3) -/* 800BAA7C 000B79DC 93 83 00 38 */ stw r28, 0x38(r3) -/* 800BAA80 000B79E0 9B A3 00 3C */ stb r29, 0x3c(r3) -/* 800BAA84 000B79E4 9B C3 00 3D */ stb r30, 0x3d(r3) -/* 800BAA88 000B79E8 93 83 00 40 */ stw r28, 0x40(r3) -/* 800BAA8C 000B79EC 93 83 00 44 */ stw r28, 0x44(r3) -/* 800BAA90 000B79F0 93 83 00 48 */ stw r28, 0x48(r3) -/* 800BAA94 000B79F4 93 83 00 4C */ stw r28, 0x4c(r3) -/* 800BAA98 000B79F8 9B E3 00 50 */ stb r31, 0x50(r3) -/* 800BAA9C 000B79FC 99 83 00 51 */ stb r12, 0x51(r3) -/* 800BAAA0 000B7A00 93 83 00 54 */ stw r28, 0x54(r3) -/* 800BAAA4 000B7A04 93 83 00 58 */ stw r28, 0x58(r3) -/* 800BAAA8 000B7A08 93 83 00 5C */ stw r28, 0x5c(r3) -/* 800BAAAC 000B7A0C 93 83 00 60 */ stw r28, 0x60(r3) -/* 800BAAB0 000B7A10 99 63 00 64 */ stb r11, 0x64(r3) -/* 800BAAB4 000B7A14 99 43 00 65 */ stb r10, 0x65(r3) -/* 800BAAB8 000B7A18 93 83 00 68 */ stw r28, 0x68(r3) -/* 800BAABC 000B7A1C 93 83 00 6C */ stw r28, 0x6c(r3) -/* 800BAAC0 000B7A20 93 83 00 70 */ stw r28, 0x70(r3) -/* 800BAAC4 000B7A24 93 83 00 74 */ stw r28, 0x74(r3) -/* 800BAAC8 000B7A28 99 23 00 78 */ stb r9, 0x78(r3) -/* 800BAACC 000B7A2C 99 03 00 79 */ stb r8, 0x79(r3) -/* 800BAAD0 000B7A30 93 83 00 7C */ stw r28, 0x7c(r3) -/* 800BAAD4 000B7A34 93 83 00 80 */ stw r28, 0x80(r3) -/* 800BAAD8 000B7A38 93 83 00 84 */ stw r28, 0x84(r3) -/* 800BAADC 000B7A3C 93 83 00 88 */ stw r28, 0x88(r3) -/* 800BAAE0 000B7A40 98 E3 00 8C */ stb r7, 0x8c(r3) -/* 800BAAE4 000B7A44 98 C3 00 8D */ stb r6, 0x8d(r3) -/* 800BAAE8 000B7A48 93 83 00 90 */ stw r28, 0x90(r3) -/* 800BAAEC 000B7A4C 93 83 00 94 */ stw r28, 0x94(r3) -/* 800BAAF0 000B7A50 93 83 00 98 */ stw r28, 0x98(r3) -/* 800BAAF4 000B7A54 93 83 00 9C */ stw r28, 0x9c(r3) -/* 800BAAF8 000B7A58 98 A3 00 A0 */ stb r5, 0xa0(r3) -/* 800BAAFC 000B7A5C 98 03 00 A1 */ stb r0, 0xa1(r3) -/* 800BAB00 000B7A60 93 83 00 A4 */ stw r28, 0xa4(r3) -/* 800BAB04 000B7A64 93 83 00 A8 */ stw r28, 0xa8(r3) -/* 800BAB08 000B7A68 93 83 00 AC */ stw r28, 0xac(r3) -/* 800BAB0C 000B7A6C 93 83 00 B0 */ stw r28, 0xb0(r3) -/* 800BAB10 000B7A70 88 03 00 B4 */ lbz r0, 0xb4(r3) -/* 800BAB14 000B7A74 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800BAB18 000B7A78 98 03 00 B4 */ stb r0, 0xb4(r3) -/* 800BAB1C 000B7A7C 88 03 00 B4 */ lbz r0, 0xb4(r3) -/* 800BAB20 000B7A80 53 80 36 72 */ rlwimi r0, r28, 6, 0x19, 0x19 -/* 800BAB24 000B7A84 98 03 00 B4 */ stb r0, 0xb4(r3) -/* 800BAB28 000B7A88 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800BAB2C 000B7A8C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 800BAB30 000B7A90 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 800BAB34 000B7A94 83 81 00 50 */ lwz r28, 0x50(r1) -/* 800BAB38 000B7A98 38 21 00 60 */ addi r1, r1, 0x60 -/* 800BAB3C 000B7A9C 4E 80 00 20 */ blr - -.global sub_800bab40 -sub_800bab40: -/* 800BAB40 000B7AA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BAB44 000B7AA4 7C 08 02 A6 */ mflr r0 -/* 800BAB48 000B7AA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BAB4C 000B7AAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BAB50 000B7AB0 7C 9F 23 78 */ mr r31, r4 -/* 800BAB54 000B7AB4 93 C1 00 08 */ stw r30, 8(r1) -/* 800BAB58 000B7AB8 7C 7E 1B 78 */ mr r30, r3 -/* 800BAB5C 000B7ABC 80 84 00 00 */ lwz r4, 0(r4) -/* 800BAB60 000B7AC0 28 04 00 00 */ cmplwi r4, 0 -/* 800BAB64 000B7AC4 41 82 00 08 */ beq lbl_800BAB6C -/* 800BAB68 000B7AC8 4B FF FF D9 */ bl sub_800bab40 -lbl_800BAB6C: -/* 800BAB6C 000B7ACC 80 9F 00 04 */ lwz r4, 4(r31) -/* 800BAB70 000B7AD0 28 04 00 00 */ cmplwi r4, 0 -/* 800BAB74 000B7AD4 41 82 00 0C */ beq lbl_800BAB80 -/* 800BAB78 000B7AD8 7F C3 F3 78 */ mr r3, r30 -/* 800BAB7C 000B7ADC 4B FF FF C5 */ bl sub_800bab40 -lbl_800BAB80: -/* 800BAB80 000B7AE0 28 1F 00 00 */ cmplwi r31, 0 -/* 800BAB84 000B7AE4 41 82 00 50 */ beq lbl_800BABD4 -/* 800BAB88 000B7AE8 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 800BAB8C 000B7AEC 41 82 00 48 */ beq lbl_800BABD4 -/* 800BAB90 000B7AF0 34 7F 00 20 */ addic. r3, r31, 0x20 -/* 800BAB94 000B7AF4 41 82 00 30 */ beq lbl_800BABC4 -/* 800BAB98 000B7AF8 88 03 00 00 */ lbz r0, 0(r3) -/* 800BAB9C 000B7AFC 28 00 00 00 */ cmplwi r0, 0 -/* 800BABA0 000B7B00 41 82 00 24 */ beq lbl_800BABC4 -/* 800BABA4 000B7B04 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 800BABA8 000B7B08 28 03 00 00 */ cmplwi r3, 0 -/* 800BABAC 000B7B0C 41 82 00 18 */ beq lbl_800BABC4 -/* 800BABB0 000B7B10 81 83 00 00 */ lwz r12, 0(r3) -/* 800BABB4 000B7B14 38 80 00 01 */ li r4, 1 -/* 800BABB8 000B7B18 81 8C 00 08 */ lwz r12, 8(r12) -/* 800BABBC 000B7B1C 7D 89 03 A6 */ mtctr r12 -/* 800BABC0 000B7B20 4E 80 04 21 */ bctrl -lbl_800BABC4: -/* 800BABC4 000B7B24 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 800BABC8 000B7B28 41 82 00 0C */ beq lbl_800BABD4 -/* 800BABCC 000B7B2C 38 7F 00 10 */ addi r3, r31, 0x10 -/* 800BABD0 000B7B30 48 28 2F 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800BABD4: -/* 800BABD4 000B7B34 28 1F 00 00 */ cmplwi r31, 0 -/* 800BABD8 000B7B38 41 82 00 0C */ beq lbl_800BABE4 -/* 800BABDC 000B7B3C 7F E3 FB 78 */ mr r3, r31 -/* 800BABE0 000B7B40 48 25 AD 51 */ bl Free__7CMemoryFPCv -lbl_800BABE4: -/* 800BABE4 000B7B44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BABE8 000B7B48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BABEC 000B7B4C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BABF0 000B7B50 7C 08 03 A6 */ mtlr r0 -/* 800BABF4 000B7B54 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BABF8 000B7B58 4E 80 00 20 */ blr - -.global "_getGraphicLightId,30TToken<20CElectricDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC30TToken<20CElectricDescription>" -"_getGraphicLightId,30TToken<20CElectricDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC30TToken<20CElectricDescription>": -/* 800BABFC 000B7B5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BAC00 000B7B60 7C 08 02 A6 */ mflr r0 -/* 800BAC04 000B7B64 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BAC08 000B7B68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BAC0C 000B7B6C 7C 9F 23 78 */ mr r31, r4 -/* 800BAC10 000B7B70 80 63 00 00 */ lwz r3, 0(r3) -/* 800BAC14 000B7B74 80 63 00 00 */ lwz r3, 0(r3) -/* 800BAC18 000B7B78 81 83 00 00 */ lwz r12, 0(r3) -/* 800BAC1C 000B7B7C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800BAC20 000B7B80 7D 89 03 A6 */ mtctr r12 -/* 800BAC24 000B7B84 4E 80 04 21 */ bctrl -/* 800BAC28 000B7B88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BAC2C 000B7B8C 41 82 00 10 */ beq lbl_800BAC3C -/* 800BAC30 000B7B90 80 7F 00 00 */ lwz r3, 0(r31) -/* 800BAC34 000B7B94 80 63 00 08 */ lwz r3, 8(r3) -/* 800BAC38 000B7B98 48 00 00 08 */ b lbl_800BAC40 -lbl_800BAC3C: -/* 800BAC3C 000B7B9C 38 60 FF FF */ li r3, -1 -lbl_800BAC40: -/* 800BAC40 000B7BA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BAC44 000B7BA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BAC48 000B7BA8 7C 08 03 A6 */ mtlr r0 -/* 800BAC4C 000B7BAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BAC50 000B7BB0 4E 80 00 20 */ blr - -.global "_getGraphicLightId,25TToken<15CGenDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC25TToken<15CGenDescription>" -"_getGraphicLightId,25TToken<15CGenDescription>>__FRCQ24rstl24ncrc_ptr<12CParticleGen>RC25TToken<15CGenDescription>": -/* 800BAC54 000B7BB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BAC58 000B7BB8 7C 08 02 A6 */ mflr r0 -/* 800BAC5C 000B7BBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BAC60 000B7BC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BAC64 000B7BC4 7C 9F 23 78 */ mr r31, r4 -/* 800BAC68 000B7BC8 80 63 00 00 */ lwz r3, 0(r3) -/* 800BAC6C 000B7BCC 80 63 00 00 */ lwz r3, 0(r3) -/* 800BAC70 000B7BD0 81 83 00 00 */ lwz r12, 0(r3) -/* 800BAC74 000B7BD4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800BAC78 000B7BD8 7D 89 03 A6 */ mtctr r12 -/* 800BAC7C 000B7BDC 4E 80 04 21 */ bctrl -/* 800BAC80 000B7BE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BAC84 000B7BE4 41 82 00 10 */ beq lbl_800BAC94 -/* 800BAC88 000B7BE8 80 7F 00 00 */ lwz r3, 0(r31) -/* 800BAC8C 000B7BEC 80 63 00 08 */ lwz r3, 8(r3) -/* 800BAC90 000B7BF0 48 00 00 08 */ b lbl_800BAC98 -lbl_800BAC94: -/* 800BAC94 000B7BF4 38 60 FF FF */ li r3, -1 -lbl_800BAC98: -/* 800BAC98 000B7BF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BAC9C 000B7BFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BACA0 000B7C00 7C 08 03 A6 */ mtlr r0 -/* 800BACA4 000B7C04 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BACA8 000B7C08 4E 80 00 20 */ blr - -.global sub_800bacac -sub_800bacac: -/* 800BACAC 000B7C0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BACB0 000B7C10 7C 08 02 A6 */ mflr r0 -/* 800BACB4 000B7C14 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BACB8 000B7C18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BACBC 000B7C1C 7C 9F 23 78 */ mr r31, r4 -/* 800BACC0 000B7C20 93 C1 00 08 */ stw r30, 8(r1) -/* 800BACC4 000B7C24 7C 7E 1B 78 */ mr r30, r3 -/* 800BACC8 000B7C28 80 84 00 00 */ lwz r4, 0(r4) -/* 800BACCC 000B7C2C 28 04 00 00 */ cmplwi r4, 0 -/* 800BACD0 000B7C30 41 82 00 08 */ beq lbl_800BACD8 -/* 800BACD4 000B7C34 4B FF FF D9 */ bl sub_800bacac -lbl_800BACD8: -/* 800BACD8 000B7C38 80 9F 00 04 */ lwz r4, 4(r31) -/* 800BACDC 000B7C3C 28 04 00 00 */ cmplwi r4, 0 -/* 800BACE0 000B7C40 41 82 00 0C */ beq lbl_800BACEC -/* 800BACE4 000B7C44 7F C3 F3 78 */ mr r3, r30 -/* 800BACE8 000B7C48 4B FF FF C5 */ bl sub_800bacac -lbl_800BACEC: -/* 800BACEC 000B7C4C 28 1F 00 00 */ cmplwi r31, 0 -/* 800BACF0 000B7C50 41 82 00 18 */ beq lbl_800BAD08 -/* 800BACF4 000B7C54 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 800BACF8 000B7C58 41 82 00 10 */ beq lbl_800BAD08 -/* 800BACFC 000B7C5C 34 7F 00 14 */ addic. r3, r31, 0x14 -/* 800BAD00 000B7C60 41 82 00 08 */ beq lbl_800BAD08 -/* 800BAD04 000B7C64 48 00 0A E1 */ bl sub_800bb7e4 -lbl_800BAD08: -/* 800BAD08 000B7C68 28 1F 00 00 */ cmplwi r31, 0 -/* 800BAD0C 000B7C6C 41 82 00 0C */ beq lbl_800BAD18 -/* 800BAD10 000B7C70 7F E3 FB 78 */ mr r3, r31 -/* 800BAD14 000B7C74 48 25 AC 1D */ bl Free__7CMemoryFPCv -lbl_800BAD18: -/* 800BAD18 000B7C78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BAD1C 000B7C7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BAD20 000B7C80 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BAD24 000B7C84 7C 08 03 A6 */ mtlr r0 -/* 800BAD28 000B7C88 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BAD2C 000B7C8C 4E 80 00 20 */ blr - -.global sub_800bad30 -sub_800bad30: -/* 800BAD30 000B7C90 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800BAD34 000B7C94 7C 08 02 A6 */ mflr r0 -/* 800BAD38 000B7C98 28 05 00 00 */ cmplwi r5, 0 -/* 800BAD3C 000B7C9C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BAD40 000B7CA0 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 800BAD44 000B7CA4 7C 7C 1B 78 */ mr r28, r3 -/* 800BAD48 000B7CA8 7C 9D 23 78 */ mr r29, r4 -/* 800BAD4C 000B7CAC 7C DE 33 78 */ mr r30, r6 -/* 800BAD50 000B7CB0 40 82 00 98 */ bne lbl_800BADE8 -/* 800BAD54 000B7CB4 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BAD58 000B7CB8 38 60 00 18 */ li r3, 0x18 -/* 800BAD5C 000B7CBC 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BAD60 000B7CC0 38 A0 00 00 */ li r5, 0 -/* 800BAD64 000B7CC4 48 25 AA B5 */ bl __nwa__FUlPCcPCc -/* 800BAD68 000B7CC8 28 03 00 00 */ cmplwi r3, 0 -/* 800BAD6C 000B7CCC 41 82 00 40 */ beq lbl_800BADAC -/* 800BAD70 000B7CD0 38 00 00 00 */ li r0, 0 -/* 800BAD74 000B7CD4 34 83 00 10 */ addic. r4, r3, 0x10 -/* 800BAD78 000B7CD8 90 03 00 00 */ stw r0, 0(r3) -/* 800BAD7C 000B7CDC 90 03 00 04 */ stw r0, 4(r3) -/* 800BAD80 000B7CE0 90 03 00 08 */ stw r0, 8(r3) -/* 800BAD84 000B7CE4 90 03 00 0C */ stw r0, 0xc(r3) -/* 800BAD88 000B7CE8 41 82 00 24 */ beq lbl_800BADAC -/* 800BAD8C 000B7CEC 80 1E 00 00 */ lwz r0, 0(r30) -/* 800BAD90 000B7CF0 90 04 00 00 */ stw r0, 0(r4) -/* 800BAD94 000B7CF4 80 1E 00 04 */ lwz r0, 4(r30) -/* 800BAD98 000B7CF8 90 04 00 04 */ stw r0, 4(r4) -/* 800BAD9C 000B7CFC 80 A4 00 04 */ lwz r5, 4(r4) -/* 800BADA0 000B7D00 80 85 00 04 */ lwz r4, 4(r5) -/* 800BADA4 000B7D04 38 04 00 01 */ addi r0, r4, 1 -/* 800BADA8 000B7D08 90 05 00 04 */ stw r0, 4(r5) -lbl_800BADAC: -/* 800BADAC 000B7D0C 90 7D 00 10 */ stw r3, 0x10(r29) -/* 800BADB0 000B7D10 38 1D 00 08 */ addi r0, r29, 8 -/* 800BADB4 000B7D14 80 7D 00 04 */ lwz r3, 4(r29) -/* 800BADB8 000B7D18 38 63 00 01 */ addi r3, r3, 1 -/* 800BADBC 000B7D1C 90 7D 00 04 */ stw r3, 4(r29) -/* 800BADC0 000B7D20 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BADC4 000B7D24 90 7D 00 08 */ stw r3, 8(r29) -/* 800BADC8 000B7D28 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BADCC 000B7D2C 90 7D 00 0C */ stw r3, 0xc(r29) -/* 800BADD0 000B7D30 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BADD4 000B7D34 90 7C 00 00 */ stw r3, 0(r28) -/* 800BADD8 000B7D38 90 1C 00 04 */ stw r0, 4(r28) -/* 800BADDC 000B7D3C 88 0D 86 69 */ lbz r0, lbl_805A7229@sda21(r13) -/* 800BADE0 000B7D40 98 1C 00 08 */ stb r0, 8(r28) -/* 800BADE4 000B7D44 48 00 01 9C */ b lbl_800BAF80 -lbl_800BADE8: -/* 800BADE8 000B7D48 7C BF 2B 78 */ mr r31, r5 -/* 800BADEC 000B7D4C 3B 60 00 00 */ li r27, 0 -/* 800BADF0 000B7D50 48 00 01 5C */ b lbl_800BAF4C -lbl_800BADF4: -/* 800BADF4 000B7D54 80 7E 00 00 */ lwz r3, 0(r30) -/* 800BADF8 000B7D58 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 800BADFC 000B7D5C 7C 80 1A 78 */ xor r0, r4, r3 -/* 800BAE00 000B7D60 7C 00 00 34 */ cntlzw r0, r0 -/* 800BAE04 000B7D64 7C 80 00 30 */ slw r0, r4, r0 -/* 800BAE08 000B7D68 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 800BAE0C 000B7D6C 40 82 00 24 */ bne lbl_800BAE30 -/* 800BAE10 000B7D70 7C 04 18 40 */ cmplw r4, r3 -/* 800BAE14 000B7D74 41 80 00 1C */ blt lbl_800BAE30 -/* 800BAE18 000B7D78 93 FC 00 00 */ stw r31, 0(r28) -/* 800BAE1C 000B7D7C 38 1D 00 08 */ addi r0, r29, 8 -/* 800BAE20 000B7D80 90 1C 00 04 */ stw r0, 4(r28) -/* 800BAE24 000B7D84 88 0D 86 6A */ lbz r0, lbl_805A722A@sda21(r13) -/* 800BAE28 000B7D88 98 1C 00 08 */ stb r0, 8(r28) -/* 800BAE2C 000B7D8C 48 00 01 54 */ b lbl_800BAF80 -lbl_800BAE30: -/* 800BAE30 000B7D90 28 00 00 00 */ cmplwi r0, 0 -/* 800BAE34 000B7D94 41 82 00 90 */ beq lbl_800BAEC4 -/* 800BAE38 000B7D98 80 1F 00 00 */ lwz r0, 0(r31) -/* 800BAE3C 000B7D9C 28 00 00 00 */ cmplwi r0, 0 -/* 800BAE40 000B7DA0 40 82 00 7C */ bne lbl_800BAEBC -/* 800BAE44 000B7DA4 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BAE48 000B7DA8 38 60 00 18 */ li r3, 0x18 -/* 800BAE4C 000B7DAC 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BAE50 000B7DB0 38 A0 00 00 */ li r5, 0 -/* 800BAE54 000B7DB4 48 25 A9 C5 */ bl __nwa__FUlPCcPCc -/* 800BAE58 000B7DB8 28 03 00 00 */ cmplwi r3, 0 -/* 800BAE5C 000B7DBC 41 82 00 44 */ beq lbl_800BAEA0 -/* 800BAE60 000B7DC0 38 80 00 00 */ li r4, 0 -/* 800BAE64 000B7DC4 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 800BAE68 000B7DC8 90 83 00 00 */ stw r4, 0(r3) -/* 800BAE6C 000B7DCC 38 00 00 01 */ li r0, 1 -/* 800BAE70 000B7DD0 90 83 00 04 */ stw r4, 4(r3) -/* 800BAE74 000B7DD4 93 E3 00 08 */ stw r31, 8(r3) -/* 800BAE78 000B7DD8 90 03 00 0C */ stw r0, 0xc(r3) -/* 800BAE7C 000B7DDC 41 82 00 24 */ beq lbl_800BAEA0 -/* 800BAE80 000B7DE0 80 1E 00 00 */ lwz r0, 0(r30) -/* 800BAE84 000B7DE4 90 05 00 00 */ stw r0, 0(r5) -/* 800BAE88 000B7DE8 80 1E 00 04 */ lwz r0, 4(r30) -/* 800BAE8C 000B7DEC 90 05 00 04 */ stw r0, 4(r5) -/* 800BAE90 000B7DF0 80 A5 00 04 */ lwz r5, 4(r5) -/* 800BAE94 000B7DF4 80 85 00 04 */ lwz r4, 4(r5) -/* 800BAE98 000B7DF8 38 04 00 01 */ addi r0, r4, 1 -/* 800BAE9C 000B7DFC 90 05 00 04 */ stw r0, 4(r5) -lbl_800BAEA0: -/* 800BAEA0 000B7E00 90 7F 00 00 */ stw r3, 0(r31) -/* 800BAEA4 000B7E04 7C 7B 1B 78 */ mr r27, r3 -/* 800BAEA8 000B7E08 80 1D 00 08 */ lwz r0, 8(r29) -/* 800BAEAC 000B7E0C 7C 1F 00 40 */ cmplw r31, r0 -/* 800BAEB0 000B7E10 40 82 00 9C */ bne lbl_800BAF4C -/* 800BAEB4 000B7E14 90 7D 00 08 */ stw r3, 8(r29) -/* 800BAEB8 000B7E18 48 00 00 94 */ b lbl_800BAF4C -lbl_800BAEBC: -/* 800BAEBC 000B7E1C 7C 1F 03 78 */ mr r31, r0 -/* 800BAEC0 000B7E20 48 00 00 8C */ b lbl_800BAF4C -lbl_800BAEC4: -/* 800BAEC4 000B7E24 80 1F 00 04 */ lwz r0, 4(r31) -/* 800BAEC8 000B7E28 28 00 00 00 */ cmplwi r0, 0 -/* 800BAECC 000B7E2C 40 82 00 7C */ bne lbl_800BAF48 -/* 800BAED0 000B7E30 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BAED4 000B7E34 38 60 00 18 */ li r3, 0x18 -/* 800BAED8 000B7E38 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BAEDC 000B7E3C 38 A0 00 00 */ li r5, 0 -/* 800BAEE0 000B7E40 48 25 A9 39 */ bl __nwa__FUlPCcPCc -/* 800BAEE4 000B7E44 28 03 00 00 */ cmplwi r3, 0 -/* 800BAEE8 000B7E48 41 82 00 44 */ beq lbl_800BAF2C -/* 800BAEEC 000B7E4C 38 80 00 00 */ li r4, 0 -/* 800BAEF0 000B7E50 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 800BAEF4 000B7E54 90 83 00 00 */ stw r4, 0(r3) -/* 800BAEF8 000B7E58 38 00 00 01 */ li r0, 1 -/* 800BAEFC 000B7E5C 90 83 00 04 */ stw r4, 4(r3) -/* 800BAF00 000B7E60 93 E3 00 08 */ stw r31, 8(r3) -/* 800BAF04 000B7E64 90 03 00 0C */ stw r0, 0xc(r3) -/* 800BAF08 000B7E68 41 82 00 24 */ beq lbl_800BAF2C -/* 800BAF0C 000B7E6C 80 1E 00 00 */ lwz r0, 0(r30) -/* 800BAF10 000B7E70 90 05 00 00 */ stw r0, 0(r5) -/* 800BAF14 000B7E74 80 1E 00 04 */ lwz r0, 4(r30) -/* 800BAF18 000B7E78 90 05 00 04 */ stw r0, 4(r5) -/* 800BAF1C 000B7E7C 80 A5 00 04 */ lwz r5, 4(r5) -/* 800BAF20 000B7E80 80 85 00 04 */ lwz r4, 4(r5) -/* 800BAF24 000B7E84 38 04 00 01 */ addi r0, r4, 1 -/* 800BAF28 000B7E88 90 05 00 04 */ stw r0, 4(r5) -lbl_800BAF2C: -/* 800BAF2C 000B7E8C 90 7F 00 04 */ stw r3, 4(r31) -/* 800BAF30 000B7E90 7C 7B 1B 78 */ mr r27, r3 -/* 800BAF34 000B7E94 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800BAF38 000B7E98 7C 1F 00 40 */ cmplw r31, r0 -/* 800BAF3C 000B7E9C 40 82 00 10 */ bne lbl_800BAF4C -/* 800BAF40 000B7EA0 90 7D 00 0C */ stw r3, 0xc(r29) -/* 800BAF44 000B7EA4 48 00 00 08 */ b lbl_800BAF4C -lbl_800BAF48: -/* 800BAF48 000B7EA8 7C 1F 03 78 */ mr r31, r0 -lbl_800BAF4C: -/* 800BAF4C 000B7EAC 28 1B 00 00 */ cmplwi r27, 0 -/* 800BAF50 000B7EB0 41 82 FE A4 */ beq lbl_800BADF4 -/* 800BAF54 000B7EB4 80 BD 00 04 */ lwz r5, 4(r29) -/* 800BAF58 000B7EB8 7F 64 DB 78 */ mr r4, r27 -/* 800BAF5C 000B7EBC 38 7D 00 08 */ addi r3, r29, 8 -/* 800BAF60 000B7EC0 38 05 00 01 */ addi r0, r5, 1 -/* 800BAF64 000B7EC4 90 1D 00 04 */ stw r0, 4(r29) -/* 800BAF68 000B7EC8 48 28 1B 31 */ bl rbtree_rebalance__4rstlFPvPv -/* 800BAF6C 000B7ECC 93 7C 00 00 */ stw r27, 0(r28) -/* 800BAF70 000B7ED0 38 1D 00 08 */ addi r0, r29, 8 -/* 800BAF74 000B7ED4 90 1C 00 04 */ stw r0, 4(r28) -/* 800BAF78 000B7ED8 88 0D 86 6B */ lbz r0, lbl_805A722B@sda21(r13) -/* 800BAF7C 000B7EDC 98 1C 00 08 */ stb r0, 8(r28) -lbl_800BAF80: -/* 800BAF80 000B7EE0 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 800BAF84 000B7EE4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800BAF88 000B7EE8 7C 08 03 A6 */ mtlr r0 -/* 800BAF8C 000B7EEC 38 21 00 20 */ addi r1, r1, 0x20 -/* 800BAF90 000B7EF0 4E 80 00 20 */ blr - -.global sub_800baf94 -sub_800baf94: -/* 800BAF94 000B7EF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BAF98 000B7EF8 7C 08 02 A6 */ mflr r0 -/* 800BAF9C 000B7EFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BAFA0 000B7F00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BAFA4 000B7F04 7C 9F 23 78 */ mr r31, r4 -/* 800BAFA8 000B7F08 93 C1 00 08 */ stw r30, 8(r1) -/* 800BAFAC 000B7F0C 7C 7E 1B 78 */ mr r30, r3 -/* 800BAFB0 000B7F10 80 84 00 00 */ lwz r4, 0(r4) -/* 800BAFB4 000B7F14 28 04 00 00 */ cmplwi r4, 0 -/* 800BAFB8 000B7F18 41 82 00 08 */ beq lbl_800BAFC0 -/* 800BAFBC 000B7F1C 4B FF FF D9 */ bl sub_800baf94 -lbl_800BAFC0: -/* 800BAFC0 000B7F20 80 9F 00 04 */ lwz r4, 4(r31) -/* 800BAFC4 000B7F24 28 04 00 00 */ cmplwi r4, 0 -/* 800BAFC8 000B7F28 41 82 00 0C */ beq lbl_800BAFD4 -/* 800BAFCC 000B7F2C 7F C3 F3 78 */ mr r3, r30 -/* 800BAFD0 000B7F30 4B FF FF C5 */ bl sub_800baf94 -lbl_800BAFD4: -/* 800BAFD4 000B7F34 28 1F 00 00 */ cmplwi r31, 0 -/* 800BAFD8 000B7F38 41 82 00 18 */ beq lbl_800BAFF0 -/* 800BAFDC 000B7F3C 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 800BAFE0 000B7F40 41 82 00 10 */ beq lbl_800BAFF0 -/* 800BAFE4 000B7F44 34 7F 00 14 */ addic. r3, r31, 0x14 -/* 800BAFE8 000B7F48 41 82 00 08 */ beq lbl_800BAFF0 -/* 800BAFEC 000B7F4C 48 00 08 75 */ bl sub_800bb860 -lbl_800BAFF0: -/* 800BAFF0 000B7F50 28 1F 00 00 */ cmplwi r31, 0 -/* 800BAFF4 000B7F54 41 82 00 0C */ beq lbl_800BB000 -/* 800BAFF8 000B7F58 7F E3 FB 78 */ mr r3, r31 -/* 800BAFFC 000B7F5C 48 25 A9 35 */ bl Free__7CMemoryFPCv -lbl_800BB000: -/* 800BB000 000B7F60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BB004 000B7F64 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BB008 000B7F68 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BB00C 000B7F6C 7C 08 03 A6 */ mtlr r0 -/* 800BB010 000B7F70 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BB014 000B7F74 4E 80 00 20 */ blr - -.global sub_800bb018 -sub_800bb018: -/* 800BB018 000B7F78 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800BB01C 000B7F7C 7C 08 02 A6 */ mflr r0 -/* 800BB020 000B7F80 28 05 00 00 */ cmplwi r5, 0 -/* 800BB024 000B7F84 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BB028 000B7F88 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 800BB02C 000B7F8C 7C 7C 1B 78 */ mr r28, r3 -/* 800BB030 000B7F90 7C 9D 23 78 */ mr r29, r4 -/* 800BB034 000B7F94 7C DE 33 78 */ mr r30, r6 -/* 800BB038 000B7F98 40 82 00 98 */ bne lbl_800BB0D0 -/* 800BB03C 000B7F9C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BB040 000B7FA0 38 60 00 18 */ li r3, 0x18 -/* 800BB044 000B7FA4 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BB048 000B7FA8 38 A0 00 00 */ li r5, 0 -/* 800BB04C 000B7FAC 48 25 A7 CD */ bl __nwa__FUlPCcPCc -/* 800BB050 000B7FB0 28 03 00 00 */ cmplwi r3, 0 -/* 800BB054 000B7FB4 41 82 00 40 */ beq lbl_800BB094 -/* 800BB058 000B7FB8 38 00 00 00 */ li r0, 0 -/* 800BB05C 000B7FBC 34 83 00 10 */ addic. r4, r3, 0x10 -/* 800BB060 000B7FC0 90 03 00 00 */ stw r0, 0(r3) -/* 800BB064 000B7FC4 90 03 00 04 */ stw r0, 4(r3) -/* 800BB068 000B7FC8 90 03 00 08 */ stw r0, 8(r3) -/* 800BB06C 000B7FCC 90 03 00 0C */ stw r0, 0xc(r3) -/* 800BB070 000B7FD0 41 82 00 24 */ beq lbl_800BB094 -/* 800BB074 000B7FD4 80 1E 00 00 */ lwz r0, 0(r30) -/* 800BB078 000B7FD8 90 04 00 00 */ stw r0, 0(r4) -/* 800BB07C 000B7FDC 80 1E 00 04 */ lwz r0, 4(r30) -/* 800BB080 000B7FE0 90 04 00 04 */ stw r0, 4(r4) -/* 800BB084 000B7FE4 80 A4 00 04 */ lwz r5, 4(r4) -/* 800BB088 000B7FE8 80 85 00 04 */ lwz r4, 4(r5) -/* 800BB08C 000B7FEC 38 04 00 01 */ addi r0, r4, 1 -/* 800BB090 000B7FF0 90 05 00 04 */ stw r0, 4(r5) -lbl_800BB094: -/* 800BB094 000B7FF4 90 7D 00 10 */ stw r3, 0x10(r29) -/* 800BB098 000B7FF8 38 1D 00 08 */ addi r0, r29, 8 -/* 800BB09C 000B7FFC 80 7D 00 04 */ lwz r3, 4(r29) -/* 800BB0A0 000B8000 38 63 00 01 */ addi r3, r3, 1 -/* 800BB0A4 000B8004 90 7D 00 04 */ stw r3, 4(r29) -/* 800BB0A8 000B8008 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BB0AC 000B800C 90 7D 00 08 */ stw r3, 8(r29) -/* 800BB0B0 000B8010 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BB0B4 000B8014 90 7D 00 0C */ stw r3, 0xc(r29) -/* 800BB0B8 000B8018 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BB0BC 000B801C 90 7C 00 00 */ stw r3, 0(r28) -/* 800BB0C0 000B8020 90 1C 00 04 */ stw r0, 4(r28) -/* 800BB0C4 000B8024 88 0D 86 66 */ lbz r0, lbl_805A7226@sda21(r13) -/* 800BB0C8 000B8028 98 1C 00 08 */ stb r0, 8(r28) -/* 800BB0CC 000B802C 48 00 01 9C */ b lbl_800BB268 -lbl_800BB0D0: -/* 800BB0D0 000B8030 7C BF 2B 78 */ mr r31, r5 -/* 800BB0D4 000B8034 3B 60 00 00 */ li r27, 0 -/* 800BB0D8 000B8038 48 00 01 5C */ b lbl_800BB234 -lbl_800BB0DC: -/* 800BB0DC 000B803C 80 7E 00 00 */ lwz r3, 0(r30) -/* 800BB0E0 000B8040 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 800BB0E4 000B8044 7C 80 1A 78 */ xor r0, r4, r3 -/* 800BB0E8 000B8048 7C 00 00 34 */ cntlzw r0, r0 -/* 800BB0EC 000B804C 7C 80 00 30 */ slw r0, r4, r0 -/* 800BB0F0 000B8050 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 800BB0F4 000B8054 40 82 00 24 */ bne lbl_800BB118 -/* 800BB0F8 000B8058 7C 04 18 40 */ cmplw r4, r3 -/* 800BB0FC 000B805C 41 80 00 1C */ blt lbl_800BB118 -/* 800BB100 000B8060 93 FC 00 00 */ stw r31, 0(r28) -/* 800BB104 000B8064 38 1D 00 08 */ addi r0, r29, 8 -/* 800BB108 000B8068 90 1C 00 04 */ stw r0, 4(r28) -/* 800BB10C 000B806C 88 0D 86 67 */ lbz r0, lbl_805A7227@sda21(r13) -/* 800BB110 000B8070 98 1C 00 08 */ stb r0, 8(r28) -/* 800BB114 000B8074 48 00 01 54 */ b lbl_800BB268 -lbl_800BB118: -/* 800BB118 000B8078 28 00 00 00 */ cmplwi r0, 0 -/* 800BB11C 000B807C 41 82 00 90 */ beq lbl_800BB1AC -/* 800BB120 000B8080 80 1F 00 00 */ lwz r0, 0(r31) -/* 800BB124 000B8084 28 00 00 00 */ cmplwi r0, 0 -/* 800BB128 000B8088 40 82 00 7C */ bne lbl_800BB1A4 -/* 800BB12C 000B808C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BB130 000B8090 38 60 00 18 */ li r3, 0x18 -/* 800BB134 000B8094 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BB138 000B8098 38 A0 00 00 */ li r5, 0 -/* 800BB13C 000B809C 48 25 A6 DD */ bl __nwa__FUlPCcPCc -/* 800BB140 000B80A0 28 03 00 00 */ cmplwi r3, 0 -/* 800BB144 000B80A4 41 82 00 44 */ beq lbl_800BB188 -/* 800BB148 000B80A8 38 80 00 00 */ li r4, 0 -/* 800BB14C 000B80AC 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 800BB150 000B80B0 90 83 00 00 */ stw r4, 0(r3) -/* 800BB154 000B80B4 38 00 00 01 */ li r0, 1 -/* 800BB158 000B80B8 90 83 00 04 */ stw r4, 4(r3) -/* 800BB15C 000B80BC 93 E3 00 08 */ stw r31, 8(r3) -/* 800BB160 000B80C0 90 03 00 0C */ stw r0, 0xc(r3) -/* 800BB164 000B80C4 41 82 00 24 */ beq lbl_800BB188 -/* 800BB168 000B80C8 80 1E 00 00 */ lwz r0, 0(r30) -/* 800BB16C 000B80CC 90 05 00 00 */ stw r0, 0(r5) -/* 800BB170 000B80D0 80 1E 00 04 */ lwz r0, 4(r30) -/* 800BB174 000B80D4 90 05 00 04 */ stw r0, 4(r5) -/* 800BB178 000B80D8 80 A5 00 04 */ lwz r5, 4(r5) -/* 800BB17C 000B80DC 80 85 00 04 */ lwz r4, 4(r5) -/* 800BB180 000B80E0 38 04 00 01 */ addi r0, r4, 1 -/* 800BB184 000B80E4 90 05 00 04 */ stw r0, 4(r5) -lbl_800BB188: -/* 800BB188 000B80E8 90 7F 00 00 */ stw r3, 0(r31) -/* 800BB18C 000B80EC 7C 7B 1B 78 */ mr r27, r3 -/* 800BB190 000B80F0 80 1D 00 08 */ lwz r0, 8(r29) -/* 800BB194 000B80F4 7C 1F 00 40 */ cmplw r31, r0 -/* 800BB198 000B80F8 40 82 00 9C */ bne lbl_800BB234 -/* 800BB19C 000B80FC 90 7D 00 08 */ stw r3, 8(r29) -/* 800BB1A0 000B8100 48 00 00 94 */ b lbl_800BB234 -lbl_800BB1A4: -/* 800BB1A4 000B8104 7C 1F 03 78 */ mr r31, r0 -/* 800BB1A8 000B8108 48 00 00 8C */ b lbl_800BB234 -lbl_800BB1AC: -/* 800BB1AC 000B810C 80 1F 00 04 */ lwz r0, 4(r31) -/* 800BB1B0 000B8110 28 00 00 00 */ cmplwi r0, 0 -/* 800BB1B4 000B8114 40 82 00 7C */ bne lbl_800BB230 -/* 800BB1B8 000B8118 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BB1BC 000B811C 38 60 00 18 */ li r3, 0x18 -/* 800BB1C0 000B8120 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BB1C4 000B8124 38 A0 00 00 */ li r5, 0 -/* 800BB1C8 000B8128 48 25 A6 51 */ bl __nwa__FUlPCcPCc -/* 800BB1CC 000B812C 28 03 00 00 */ cmplwi r3, 0 -/* 800BB1D0 000B8130 41 82 00 44 */ beq lbl_800BB214 -/* 800BB1D4 000B8134 38 80 00 00 */ li r4, 0 -/* 800BB1D8 000B8138 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 800BB1DC 000B813C 90 83 00 00 */ stw r4, 0(r3) -/* 800BB1E0 000B8140 38 00 00 01 */ li r0, 1 -/* 800BB1E4 000B8144 90 83 00 04 */ stw r4, 4(r3) -/* 800BB1E8 000B8148 93 E3 00 08 */ stw r31, 8(r3) -/* 800BB1EC 000B814C 90 03 00 0C */ stw r0, 0xc(r3) -/* 800BB1F0 000B8150 41 82 00 24 */ beq lbl_800BB214 -/* 800BB1F4 000B8154 80 1E 00 00 */ lwz r0, 0(r30) -/* 800BB1F8 000B8158 90 05 00 00 */ stw r0, 0(r5) -/* 800BB1FC 000B815C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800BB200 000B8160 90 05 00 04 */ stw r0, 4(r5) -/* 800BB204 000B8164 80 A5 00 04 */ lwz r5, 4(r5) -/* 800BB208 000B8168 80 85 00 04 */ lwz r4, 4(r5) -/* 800BB20C 000B816C 38 04 00 01 */ addi r0, r4, 1 -/* 800BB210 000B8170 90 05 00 04 */ stw r0, 4(r5) -lbl_800BB214: -/* 800BB214 000B8174 90 7F 00 04 */ stw r3, 4(r31) -/* 800BB218 000B8178 7C 7B 1B 78 */ mr r27, r3 -/* 800BB21C 000B817C 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800BB220 000B8180 7C 1F 00 40 */ cmplw r31, r0 -/* 800BB224 000B8184 40 82 00 10 */ bne lbl_800BB234 -/* 800BB228 000B8188 90 7D 00 0C */ stw r3, 0xc(r29) -/* 800BB22C 000B818C 48 00 00 08 */ b lbl_800BB234 -lbl_800BB230: -/* 800BB230 000B8190 7C 1F 03 78 */ mr r31, r0 -lbl_800BB234: -/* 800BB234 000B8194 28 1B 00 00 */ cmplwi r27, 0 -/* 800BB238 000B8198 41 82 FE A4 */ beq lbl_800BB0DC -/* 800BB23C 000B819C 80 BD 00 04 */ lwz r5, 4(r29) -/* 800BB240 000B81A0 7F 64 DB 78 */ mr r4, r27 -/* 800BB244 000B81A4 38 7D 00 08 */ addi r3, r29, 8 -/* 800BB248 000B81A8 38 05 00 01 */ addi r0, r5, 1 -/* 800BB24C 000B81AC 90 1D 00 04 */ stw r0, 4(r29) -/* 800BB250 000B81B0 48 28 18 49 */ bl rbtree_rebalance__4rstlFPvPv -/* 800BB254 000B81B4 93 7C 00 00 */ stw r27, 0(r28) -/* 800BB258 000B81B8 38 1D 00 08 */ addi r0, r29, 8 -/* 800BB25C 000B81BC 90 1C 00 04 */ stw r0, 4(r28) -/* 800BB260 000B81C0 88 0D 86 68 */ lbz r0, lbl_805A7228@sda21(r13) -/* 800BB264 000B81C4 98 1C 00 08 */ stb r0, 8(r28) -lbl_800BB268: -/* 800BB268 000B81C8 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 800BB26C 000B81CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800BB270 000B81D0 7C 08 03 A6 */ mtlr r0 -/* 800BB274 000B81D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 800BB278 000B81D8 4E 80 00 20 */ blr - -.global sub_800bb27c -sub_800bb27c: -/* 800BB27C 000B81DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BB280 000B81E0 7C 08 02 A6 */ mflr r0 -/* 800BB284 000B81E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BB288 000B81E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BB28C 000B81EC 7C 9F 23 78 */ mr r31, r4 -/* 800BB290 000B81F0 93 C1 00 08 */ stw r30, 8(r1) -/* 800BB294 000B81F4 7C 7E 1B 78 */ mr r30, r3 -/* 800BB298 000B81F8 80 84 00 00 */ lwz r4, 0(r4) -/* 800BB29C 000B81FC 28 04 00 00 */ cmplwi r4, 0 -/* 800BB2A0 000B8200 41 82 00 08 */ beq lbl_800BB2A8 -/* 800BB2A4 000B8204 4B FF FF D9 */ bl sub_800bb27c -lbl_800BB2A8: -/* 800BB2A8 000B8208 80 9F 00 04 */ lwz r4, 4(r31) -/* 800BB2AC 000B820C 28 04 00 00 */ cmplwi r4, 0 -/* 800BB2B0 000B8210 41 82 00 0C */ beq lbl_800BB2BC -/* 800BB2B4 000B8214 7F C3 F3 78 */ mr r3, r30 -/* 800BB2B8 000B8218 4B FF FF C5 */ bl sub_800bb27c -lbl_800BB2BC: -/* 800BB2BC 000B821C 28 1F 00 00 */ cmplwi r31, 0 -/* 800BB2C0 000B8220 41 82 00 18 */ beq lbl_800BB2D8 -/* 800BB2C4 000B8224 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 800BB2C8 000B8228 41 82 00 10 */ beq lbl_800BB2D8 -/* 800BB2CC 000B822C 34 7F 00 14 */ addic. r3, r31, 0x14 -/* 800BB2D0 000B8230 41 82 00 08 */ beq lbl_800BB2D8 -/* 800BB2D4 000B8234 48 00 06 09 */ bl sub_800bb8dc -lbl_800BB2D8: -/* 800BB2D8 000B8238 28 1F 00 00 */ cmplwi r31, 0 -/* 800BB2DC 000B823C 41 82 00 0C */ beq lbl_800BB2E8 -/* 800BB2E0 000B8240 7F E3 FB 78 */ mr r3, r31 -/* 800BB2E4 000B8244 48 25 A6 4D */ bl Free__7CMemoryFPCv -lbl_800BB2E8: -/* 800BB2E8 000B8248 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BB2EC 000B824C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BB2F0 000B8250 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BB2F4 000B8254 7C 08 03 A6 */ mtlr r0 -/* 800BB2F8 000B8258 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BB2FC 000B825C 4E 80 00 20 */ blr - -.global sub_800bb300 -sub_800bb300: -/* 800BB300 000B8260 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800BB304 000B8264 7C 08 02 A6 */ mflr r0 -/* 800BB308 000B8268 28 05 00 00 */ cmplwi r5, 0 -/* 800BB30C 000B826C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BB310 000B8270 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 800BB314 000B8274 7C 7C 1B 78 */ mr r28, r3 -/* 800BB318 000B8278 7C 9D 23 78 */ mr r29, r4 -/* 800BB31C 000B827C 7C DE 33 78 */ mr r30, r6 -/* 800BB320 000B8280 40 82 00 98 */ bne lbl_800BB3B8 -/* 800BB324 000B8284 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BB328 000B8288 38 60 00 18 */ li r3, 0x18 -/* 800BB32C 000B828C 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BB330 000B8290 38 A0 00 00 */ li r5, 0 -/* 800BB334 000B8294 48 25 A4 E5 */ bl __nwa__FUlPCcPCc -/* 800BB338 000B8298 28 03 00 00 */ cmplwi r3, 0 -/* 800BB33C 000B829C 41 82 00 40 */ beq lbl_800BB37C -/* 800BB340 000B82A0 38 00 00 00 */ li r0, 0 -/* 800BB344 000B82A4 34 83 00 10 */ addic. r4, r3, 0x10 -/* 800BB348 000B82A8 90 03 00 00 */ stw r0, 0(r3) -/* 800BB34C 000B82AC 90 03 00 04 */ stw r0, 4(r3) -/* 800BB350 000B82B0 90 03 00 08 */ stw r0, 8(r3) -/* 800BB354 000B82B4 90 03 00 0C */ stw r0, 0xc(r3) -/* 800BB358 000B82B8 41 82 00 24 */ beq lbl_800BB37C -/* 800BB35C 000B82BC 80 1E 00 00 */ lwz r0, 0(r30) -/* 800BB360 000B82C0 90 04 00 00 */ stw r0, 0(r4) -/* 800BB364 000B82C4 80 1E 00 04 */ lwz r0, 4(r30) -/* 800BB368 000B82C8 90 04 00 04 */ stw r0, 4(r4) -/* 800BB36C 000B82CC 80 A4 00 04 */ lwz r5, 4(r4) -/* 800BB370 000B82D0 80 85 00 04 */ lwz r4, 4(r5) -/* 800BB374 000B82D4 38 04 00 01 */ addi r0, r4, 1 -/* 800BB378 000B82D8 90 05 00 04 */ stw r0, 4(r5) -lbl_800BB37C: -/* 800BB37C 000B82DC 90 7D 00 10 */ stw r3, 0x10(r29) -/* 800BB380 000B82E0 38 1D 00 08 */ addi r0, r29, 8 -/* 800BB384 000B82E4 80 7D 00 04 */ lwz r3, 4(r29) -/* 800BB388 000B82E8 38 63 00 01 */ addi r3, r3, 1 -/* 800BB38C 000B82EC 90 7D 00 04 */ stw r3, 4(r29) -/* 800BB390 000B82F0 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BB394 000B82F4 90 7D 00 08 */ stw r3, 8(r29) -/* 800BB398 000B82F8 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BB39C 000B82FC 90 7D 00 0C */ stw r3, 0xc(r29) -/* 800BB3A0 000B8300 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BB3A4 000B8304 90 7C 00 00 */ stw r3, 0(r28) -/* 800BB3A8 000B8308 90 1C 00 04 */ stw r0, 4(r28) -/* 800BB3AC 000B830C 88 0D 86 63 */ lbz r0, lbl_805A7223@sda21(r13) -/* 800BB3B0 000B8310 98 1C 00 08 */ stb r0, 8(r28) -/* 800BB3B4 000B8314 48 00 01 9C */ b lbl_800BB550 -lbl_800BB3B8: -/* 800BB3B8 000B8318 7C BF 2B 78 */ mr r31, r5 -/* 800BB3BC 000B831C 3B 60 00 00 */ li r27, 0 -/* 800BB3C0 000B8320 48 00 01 5C */ b lbl_800BB51C -lbl_800BB3C4: -/* 800BB3C4 000B8324 80 7E 00 00 */ lwz r3, 0(r30) -/* 800BB3C8 000B8328 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 800BB3CC 000B832C 7C 80 1A 78 */ xor r0, r4, r3 -/* 800BB3D0 000B8330 7C 00 00 34 */ cntlzw r0, r0 -/* 800BB3D4 000B8334 7C 80 00 30 */ slw r0, r4, r0 -/* 800BB3D8 000B8338 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 800BB3DC 000B833C 40 82 00 24 */ bne lbl_800BB400 -/* 800BB3E0 000B8340 7C 04 18 40 */ cmplw r4, r3 -/* 800BB3E4 000B8344 41 80 00 1C */ blt lbl_800BB400 -/* 800BB3E8 000B8348 93 FC 00 00 */ stw r31, 0(r28) -/* 800BB3EC 000B834C 38 1D 00 08 */ addi r0, r29, 8 -/* 800BB3F0 000B8350 90 1C 00 04 */ stw r0, 4(r28) -/* 800BB3F4 000B8354 88 0D 86 64 */ lbz r0, lbl_805A7224@sda21(r13) -/* 800BB3F8 000B8358 98 1C 00 08 */ stb r0, 8(r28) -/* 800BB3FC 000B835C 48 00 01 54 */ b lbl_800BB550 -lbl_800BB400: -/* 800BB400 000B8360 28 00 00 00 */ cmplwi r0, 0 -/* 800BB404 000B8364 41 82 00 90 */ beq lbl_800BB494 -/* 800BB408 000B8368 80 1F 00 00 */ lwz r0, 0(r31) -/* 800BB40C 000B836C 28 00 00 00 */ cmplwi r0, 0 -/* 800BB410 000B8370 40 82 00 7C */ bne lbl_800BB48C -/* 800BB414 000B8374 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BB418 000B8378 38 60 00 18 */ li r3, 0x18 -/* 800BB41C 000B837C 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BB420 000B8380 38 A0 00 00 */ li r5, 0 -/* 800BB424 000B8384 48 25 A3 F5 */ bl __nwa__FUlPCcPCc -/* 800BB428 000B8388 28 03 00 00 */ cmplwi r3, 0 -/* 800BB42C 000B838C 41 82 00 44 */ beq lbl_800BB470 -/* 800BB430 000B8390 38 80 00 00 */ li r4, 0 -/* 800BB434 000B8394 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 800BB438 000B8398 90 83 00 00 */ stw r4, 0(r3) -/* 800BB43C 000B839C 38 00 00 01 */ li r0, 1 -/* 800BB440 000B83A0 90 83 00 04 */ stw r4, 4(r3) -/* 800BB444 000B83A4 93 E3 00 08 */ stw r31, 8(r3) -/* 800BB448 000B83A8 90 03 00 0C */ stw r0, 0xc(r3) -/* 800BB44C 000B83AC 41 82 00 24 */ beq lbl_800BB470 -/* 800BB450 000B83B0 80 1E 00 00 */ lwz r0, 0(r30) -/* 800BB454 000B83B4 90 05 00 00 */ stw r0, 0(r5) -/* 800BB458 000B83B8 80 1E 00 04 */ lwz r0, 4(r30) -/* 800BB45C 000B83BC 90 05 00 04 */ stw r0, 4(r5) -/* 800BB460 000B83C0 80 A5 00 04 */ lwz r5, 4(r5) -/* 800BB464 000B83C4 80 85 00 04 */ lwz r4, 4(r5) -/* 800BB468 000B83C8 38 04 00 01 */ addi r0, r4, 1 -/* 800BB46C 000B83CC 90 05 00 04 */ stw r0, 4(r5) -lbl_800BB470: -/* 800BB470 000B83D0 90 7F 00 00 */ stw r3, 0(r31) -/* 800BB474 000B83D4 7C 7B 1B 78 */ mr r27, r3 -/* 800BB478 000B83D8 80 1D 00 08 */ lwz r0, 8(r29) -/* 800BB47C 000B83DC 7C 1F 00 40 */ cmplw r31, r0 -/* 800BB480 000B83E0 40 82 00 9C */ bne lbl_800BB51C -/* 800BB484 000B83E4 90 7D 00 08 */ stw r3, 8(r29) -/* 800BB488 000B83E8 48 00 00 94 */ b lbl_800BB51C -lbl_800BB48C: -/* 800BB48C 000B83EC 7C 1F 03 78 */ mr r31, r0 -/* 800BB490 000B83F0 48 00 00 8C */ b lbl_800BB51C -lbl_800BB494: -/* 800BB494 000B83F4 80 1F 00 04 */ lwz r0, 4(r31) -/* 800BB498 000B83F8 28 00 00 00 */ cmplwi r0, 0 -/* 800BB49C 000B83FC 40 82 00 7C */ bne lbl_800BB518 -/* 800BB4A0 000B8400 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BB4A4 000B8404 38 60 00 18 */ li r3, 0x18 -/* 800BB4A8 000B8408 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BB4AC 000B840C 38 A0 00 00 */ li r5, 0 -/* 800BB4B0 000B8410 48 25 A3 69 */ bl __nwa__FUlPCcPCc -/* 800BB4B4 000B8414 28 03 00 00 */ cmplwi r3, 0 -/* 800BB4B8 000B8418 41 82 00 44 */ beq lbl_800BB4FC -/* 800BB4BC 000B841C 38 80 00 00 */ li r4, 0 -/* 800BB4C0 000B8420 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 800BB4C4 000B8424 90 83 00 00 */ stw r4, 0(r3) -/* 800BB4C8 000B8428 38 00 00 01 */ li r0, 1 -/* 800BB4CC 000B842C 90 83 00 04 */ stw r4, 4(r3) -/* 800BB4D0 000B8430 93 E3 00 08 */ stw r31, 8(r3) -/* 800BB4D4 000B8434 90 03 00 0C */ stw r0, 0xc(r3) -/* 800BB4D8 000B8438 41 82 00 24 */ beq lbl_800BB4FC -/* 800BB4DC 000B843C 80 1E 00 00 */ lwz r0, 0(r30) -/* 800BB4E0 000B8440 90 05 00 00 */ stw r0, 0(r5) -/* 800BB4E4 000B8444 80 1E 00 04 */ lwz r0, 4(r30) -/* 800BB4E8 000B8448 90 05 00 04 */ stw r0, 4(r5) -/* 800BB4EC 000B844C 80 A5 00 04 */ lwz r5, 4(r5) -/* 800BB4F0 000B8450 80 85 00 04 */ lwz r4, 4(r5) -/* 800BB4F4 000B8454 38 04 00 01 */ addi r0, r4, 1 -/* 800BB4F8 000B8458 90 05 00 04 */ stw r0, 4(r5) -lbl_800BB4FC: -/* 800BB4FC 000B845C 90 7F 00 04 */ stw r3, 4(r31) -/* 800BB500 000B8460 7C 7B 1B 78 */ mr r27, r3 -/* 800BB504 000B8464 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800BB508 000B8468 7C 1F 00 40 */ cmplw r31, r0 -/* 800BB50C 000B846C 40 82 00 10 */ bne lbl_800BB51C -/* 800BB510 000B8470 90 7D 00 0C */ stw r3, 0xc(r29) -/* 800BB514 000B8474 48 00 00 08 */ b lbl_800BB51C -lbl_800BB518: -/* 800BB518 000B8478 7C 1F 03 78 */ mr r31, r0 -lbl_800BB51C: -/* 800BB51C 000B847C 28 1B 00 00 */ cmplwi r27, 0 -/* 800BB520 000B8480 41 82 FE A4 */ beq lbl_800BB3C4 -/* 800BB524 000B8484 80 BD 00 04 */ lwz r5, 4(r29) -/* 800BB528 000B8488 7F 64 DB 78 */ mr r4, r27 -/* 800BB52C 000B848C 38 7D 00 08 */ addi r3, r29, 8 -/* 800BB530 000B8490 38 05 00 01 */ addi r0, r5, 1 -/* 800BB534 000B8494 90 1D 00 04 */ stw r0, 4(r29) -/* 800BB538 000B8498 48 28 15 61 */ bl rbtree_rebalance__4rstlFPvPv -/* 800BB53C 000B849C 93 7C 00 00 */ stw r27, 0(r28) -/* 800BB540 000B84A0 38 1D 00 08 */ addi r0, r29, 8 -/* 800BB544 000B84A4 90 1C 00 04 */ stw r0, 4(r28) -/* 800BB548 000B84A8 88 0D 86 65 */ lbz r0, lbl_805A7225@sda21(r13) -/* 800BB54C 000B84AC 98 1C 00 08 */ stb r0, 8(r28) -lbl_800BB550: -/* 800BB550 000B84B0 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 800BB554 000B84B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800BB558 000B84B8 7C 08 03 A6 */ mtlr r0 -/* 800BB55C 000B84BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 800BB560 000B84C0 4E 80 00 20 */ blr - -.global sub_800bb564 -sub_800bb564: -/* 800BB564 000B84C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800BB568 000B84C8 7C 08 02 A6 */ mflr r0 -/* 800BB56C 000B84CC 28 05 00 00 */ cmplwi r5, 0 -/* 800BB570 000B84D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BB574 000B84D4 BF 41 00 08 */ stmw r26, 8(r1) -/* 800BB578 000B84D8 7C 7C 1B 78 */ mr r28, r3 -/* 800BB57C 000B84DC 7C 9D 23 78 */ mr r29, r4 -/* 800BB580 000B84E0 7C DE 33 78 */ mr r30, r6 -/* 800BB584 000B84E4 40 82 00 9C */ bne lbl_800BB620 -/* 800BB588 000B84E8 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BB58C 000B84EC 38 60 00 28 */ li r3, 0x28 -/* 800BB590 000B84F0 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BB594 000B84F4 38 A0 00 00 */ li r5, 0 -/* 800BB598 000B84F8 48 25 A2 81 */ bl __nwa__FUlPCcPCc -/* 800BB59C 000B84FC 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800BB5A0 000B8500 41 82 00 44 */ beq lbl_800BB5E4 -/* 800BB5A4 000B8504 38 00 00 00 */ li r0, 0 -/* 800BB5A8 000B8508 37 FB 00 10 */ addic. r31, r27, 0x10 -/* 800BB5AC 000B850C 90 1B 00 00 */ stw r0, 0(r27) -/* 800BB5B0 000B8510 90 1B 00 04 */ stw r0, 4(r27) -/* 800BB5B4 000B8514 90 1B 00 08 */ stw r0, 8(r27) -/* 800BB5B8 000B8518 90 1B 00 0C */ stw r0, 0xc(r27) -/* 800BB5BC 000B851C 41 82 00 28 */ beq lbl_800BB5E4 -/* 800BB5C0 000B8520 7F E3 FB 78 */ mr r3, r31 -/* 800BB5C4 000B8524 7F C4 F3 78 */ mr r4, r30 -/* 800BB5C8 000B8528 48 28 2B 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800BB5CC 000B852C 88 7E 00 10 */ lbz r3, 0x10(r30) -/* 800BB5D0 000B8530 38 00 00 00 */ li r0, 0 -/* 800BB5D4 000B8534 98 7F 00 10 */ stb r3, 0x10(r31) -/* 800BB5D8 000B8538 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 800BB5DC 000B853C 90 7F 00 14 */ stw r3, 0x14(r31) -/* 800BB5E0 000B8540 98 1E 00 10 */ stb r0, 0x10(r30) -lbl_800BB5E4: -/* 800BB5E4 000B8544 93 7D 00 10 */ stw r27, 0x10(r29) -/* 800BB5E8 000B8548 38 1D 00 08 */ addi r0, r29, 8 -/* 800BB5EC 000B854C 80 7D 00 04 */ lwz r3, 4(r29) -/* 800BB5F0 000B8550 38 63 00 01 */ addi r3, r3, 1 -/* 800BB5F4 000B8554 90 7D 00 04 */ stw r3, 4(r29) -/* 800BB5F8 000B8558 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BB5FC 000B855C 90 7D 00 08 */ stw r3, 8(r29) -/* 800BB600 000B8560 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BB604 000B8564 90 7D 00 0C */ stw r3, 0xc(r29) -/* 800BB608 000B8568 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 800BB60C 000B856C 90 7C 00 00 */ stw r3, 0(r28) -/* 800BB610 000B8570 90 1C 00 04 */ stw r0, 4(r28) -/* 800BB614 000B8574 88 0D 86 60 */ lbz r0, lbl_805A7220@sda21(r13) -/* 800BB618 000B8578 98 1C 00 08 */ stb r0, 8(r28) -/* 800BB61C 000B857C 48 00 01 B4 */ b lbl_800BB7D0 -lbl_800BB620: -/* 800BB620 000B8580 7C BF 2B 78 */ mr r31, r5 -/* 800BB624 000B8584 3B 40 00 00 */ li r26, 0 -/* 800BB628 000B8588 48 00 01 74 */ b lbl_800BB79C -lbl_800BB62C: -/* 800BB62C 000B858C 7F C4 F3 78 */ mr r4, r30 -/* 800BB630 000B8590 38 7D 00 01 */ addi r3, r29, 1 -/* 800BB634 000B8594 38 BF 00 10 */ addi r5, r31, 0x10 -/* 800BB638 000B8598 4B F6 F0 F1 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 800BB63C 000B859C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BB640 000B85A0 7C 7B 1B 78 */ mr r27, r3 -/* 800BB644 000B85A4 40 82 00 34 */ bne lbl_800BB678 -/* 800BB648 000B85A8 7F C5 F3 78 */ mr r5, r30 -/* 800BB64C 000B85AC 38 7D 00 01 */ addi r3, r29, 1 -/* 800BB650 000B85B0 38 9F 00 10 */ addi r4, r31, 0x10 -/* 800BB654 000B85B4 4B F6 F0 D5 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 800BB658 000B85B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BB65C 000B85BC 40 82 00 1C */ bne lbl_800BB678 -/* 800BB660 000B85C0 93 FC 00 00 */ stw r31, 0(r28) -/* 800BB664 000B85C4 38 1D 00 08 */ addi r0, r29, 8 -/* 800BB668 000B85C8 90 1C 00 04 */ stw r0, 4(r28) -/* 800BB66C 000B85CC 88 0D 86 61 */ lbz r0, lbl_805A7221@sda21(r13) -/* 800BB670 000B85D0 98 1C 00 08 */ stb r0, 8(r28) -/* 800BB674 000B85D4 48 00 01 5C */ b lbl_800BB7D0 -lbl_800BB678: -/* 800BB678 000B85D8 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 800BB67C 000B85DC 41 82 00 94 */ beq lbl_800BB710 -/* 800BB680 000B85E0 80 1F 00 00 */ lwz r0, 0(r31) -/* 800BB684 000B85E4 28 00 00 00 */ cmplwi r0, 0 -/* 800BB688 000B85E8 40 82 00 80 */ bne lbl_800BB708 -/* 800BB68C 000B85EC 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BB690 000B85F0 38 60 00 28 */ li r3, 0x28 -/* 800BB694 000B85F4 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BB698 000B85F8 38 A0 00 00 */ li r5, 0 -/* 800BB69C 000B85FC 48 25 A1 7D */ bl __nwa__FUlPCcPCc -/* 800BB6A0 000B8600 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800BB6A4 000B8604 41 82 00 48 */ beq lbl_800BB6EC -/* 800BB6A8 000B8608 38 60 00 00 */ li r3, 0 -/* 800BB6AC 000B860C 37 5B 00 10 */ addic. r26, r27, 0x10 -/* 800BB6B0 000B8610 90 7B 00 00 */ stw r3, 0(r27) -/* 800BB6B4 000B8614 38 00 00 01 */ li r0, 1 -/* 800BB6B8 000B8618 90 7B 00 04 */ stw r3, 4(r27) -/* 800BB6BC 000B861C 93 FB 00 08 */ stw r31, 8(r27) -/* 800BB6C0 000B8620 90 1B 00 0C */ stw r0, 0xc(r27) -/* 800BB6C4 000B8624 41 82 00 28 */ beq lbl_800BB6EC -/* 800BB6C8 000B8628 7F 43 D3 78 */ mr r3, r26 -/* 800BB6CC 000B862C 7F C4 F3 78 */ mr r4, r30 -/* 800BB6D0 000B8630 48 28 2A 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800BB6D4 000B8634 88 7E 00 10 */ lbz r3, 0x10(r30) -/* 800BB6D8 000B8638 38 00 00 00 */ li r0, 0 -/* 800BB6DC 000B863C 98 7A 00 10 */ stb r3, 0x10(r26) -/* 800BB6E0 000B8640 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 800BB6E4 000B8644 90 7A 00 14 */ stw r3, 0x14(r26) -/* 800BB6E8 000B8648 98 1E 00 10 */ stb r0, 0x10(r30) -lbl_800BB6EC: -/* 800BB6EC 000B864C 93 7F 00 00 */ stw r27, 0(r31) -/* 800BB6F0 000B8650 7F 7A DB 78 */ mr r26, r27 -/* 800BB6F4 000B8654 80 1D 00 08 */ lwz r0, 8(r29) -/* 800BB6F8 000B8658 7C 1F 00 40 */ cmplw r31, r0 -/* 800BB6FC 000B865C 40 82 00 A0 */ bne lbl_800BB79C -/* 800BB700 000B8660 93 7D 00 08 */ stw r27, 8(r29) -/* 800BB704 000B8664 48 00 00 98 */ b lbl_800BB79C -lbl_800BB708: -/* 800BB708 000B8668 7C 1F 03 78 */ mr r31, r0 -/* 800BB70C 000B866C 48 00 00 90 */ b lbl_800BB79C -lbl_800BB710: -/* 800BB710 000B8670 80 1F 00 04 */ lwz r0, 4(r31) -/* 800BB714 000B8674 28 00 00 00 */ cmplwi r0, 0 -/* 800BB718 000B8678 40 82 00 80 */ bne lbl_800BB798 -/* 800BB71C 000B867C 3C 80 80 3D */ lis r4, lbl_803CDEA0@ha -/* 800BB720 000B8680 38 60 00 28 */ li r3, 0x28 -/* 800BB724 000B8684 38 84 DE A0 */ addi r4, r4, lbl_803CDEA0@l -/* 800BB728 000B8688 38 A0 00 00 */ li r5, 0 -/* 800BB72C 000B868C 48 25 A0 ED */ bl __nwa__FUlPCcPCc -/* 800BB730 000B8690 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800BB734 000B8694 41 82 00 48 */ beq lbl_800BB77C -/* 800BB738 000B8698 38 60 00 00 */ li r3, 0 -/* 800BB73C 000B869C 37 5B 00 10 */ addic. r26, r27, 0x10 -/* 800BB740 000B86A0 90 7B 00 00 */ stw r3, 0(r27) -/* 800BB744 000B86A4 38 00 00 01 */ li r0, 1 -/* 800BB748 000B86A8 90 7B 00 04 */ stw r3, 4(r27) -/* 800BB74C 000B86AC 93 FB 00 08 */ stw r31, 8(r27) -/* 800BB750 000B86B0 90 1B 00 0C */ stw r0, 0xc(r27) -/* 800BB754 000B86B4 41 82 00 28 */ beq lbl_800BB77C -/* 800BB758 000B86B8 7F 43 D3 78 */ mr r3, r26 -/* 800BB75C 000B86BC 7F C4 F3 78 */ mr r4, r30 -/* 800BB760 000B86C0 48 28 2A 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800BB764 000B86C4 88 7E 00 10 */ lbz r3, 0x10(r30) -/* 800BB768 000B86C8 38 00 00 00 */ li r0, 0 -/* 800BB76C 000B86CC 98 7A 00 10 */ stb r3, 0x10(r26) -/* 800BB770 000B86D0 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 800BB774 000B86D4 90 7A 00 14 */ stw r3, 0x14(r26) -/* 800BB778 000B86D8 98 1E 00 10 */ stb r0, 0x10(r30) -lbl_800BB77C: -/* 800BB77C 000B86DC 93 7F 00 04 */ stw r27, 4(r31) -/* 800BB780 000B86E0 7F 7A DB 78 */ mr r26, r27 -/* 800BB784 000B86E4 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800BB788 000B86E8 7C 1F 00 40 */ cmplw r31, r0 -/* 800BB78C 000B86EC 40 82 00 10 */ bne lbl_800BB79C -/* 800BB790 000B86F0 93 7D 00 0C */ stw r27, 0xc(r29) -/* 800BB794 000B86F4 48 00 00 08 */ b lbl_800BB79C -lbl_800BB798: -/* 800BB798 000B86F8 7C 1F 03 78 */ mr r31, r0 -lbl_800BB79C: -/* 800BB79C 000B86FC 28 1A 00 00 */ cmplwi r26, 0 -/* 800BB7A0 000B8700 41 82 FE 8C */ beq lbl_800BB62C -/* 800BB7A4 000B8704 80 BD 00 04 */ lwz r5, 4(r29) -/* 800BB7A8 000B8708 7F 44 D3 78 */ mr r4, r26 -/* 800BB7AC 000B870C 38 7D 00 08 */ addi r3, r29, 8 -/* 800BB7B0 000B8710 38 05 00 01 */ addi r0, r5, 1 -/* 800BB7B4 000B8714 90 1D 00 04 */ stw r0, 4(r29) -/* 800BB7B8 000B8718 48 28 12 E1 */ bl rbtree_rebalance__4rstlFPvPv -/* 800BB7BC 000B871C 93 5C 00 00 */ stw r26, 0(r28) -/* 800BB7C0 000B8720 38 1D 00 08 */ addi r0, r29, 8 -/* 800BB7C4 000B8724 90 1C 00 04 */ stw r0, 4(r28) -/* 800BB7C8 000B8728 88 0D 86 62 */ lbz r0, lbl_805A7222@sda21(r13) -/* 800BB7CC 000B872C 98 1C 00 08 */ stb r0, 8(r28) -lbl_800BB7D0: -/* 800BB7D0 000B8730 BB 41 00 08 */ lmw r26, 8(r1) -/* 800BB7D4 000B8734 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800BB7D8 000B8738 7C 08 03 A6 */ mtlr r0 -/* 800BB7DC 000B873C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800BB7E0 000B8740 4E 80 00 20 */ blr - -.global sub_800bb7e4 -sub_800bb7e4: -/* 800BB7E4 000B8744 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BB7E8 000B8748 7C 08 02 A6 */ mflr r0 -/* 800BB7EC 000B874C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BB7F0 000B8750 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BB7F4 000B8754 93 C1 00 08 */ stw r30, 8(r1) -/* 800BB7F8 000B8758 7C 7E 1B 78 */ mr r30, r3 -/* 800BB7FC 000B875C 80 83 00 00 */ lwz r4, 0(r3) -/* 800BB800 000B8760 80 64 00 04 */ lwz r3, 4(r4) -/* 800BB804 000B8764 34 03 FF FF */ addic. r0, r3, -1 -/* 800BB808 000B8768 90 04 00 04 */ stw r0, 4(r4) -/* 800BB80C 000B876C 41 81 00 3C */ bgt lbl_800BB848 -/* 800BB810 000B8770 80 7E 00 00 */ lwz r3, 0(r30) -/* 800BB814 000B8774 83 E3 00 00 */ lwz r31, 0(r3) -/* 800BB818 000B8778 28 1F 00 00 */ cmplwi r31, 0 -/* 800BB81C 000B877C 41 82 00 1C */ beq lbl_800BB838 -/* 800BB820 000B8780 41 82 00 10 */ beq lbl_800BB830 -/* 800BB824 000B8784 7F E3 FB 78 */ mr r3, r31 -/* 800BB828 000B8788 38 80 00 00 */ li r4, 0 -/* 800BB82C 000B878C 48 28 56 15 */ bl __dt__6CTokenFv -lbl_800BB830: -/* 800BB830 000B8790 7F E3 FB 78 */ mr r3, r31 -/* 800BB834 000B8794 48 25 A0 FD */ bl Free__7CMemoryFPCv -lbl_800BB838: -/* 800BB838 000B8798 80 7E 00 00 */ lwz r3, 0(r30) -/* 800BB83C 000B879C 28 03 00 00 */ cmplwi r3, 0 -/* 800BB840 000B87A0 41 82 00 08 */ beq lbl_800BB848 -/* 800BB844 000B87A4 48 25 A0 ED */ bl Free__7CMemoryFPCv -lbl_800BB848: -/* 800BB848 000B87A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BB84C 000B87AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BB850 000B87B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BB854 000B87B4 7C 08 03 A6 */ mtlr r0 -/* 800BB858 000B87B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BB85C 000B87BC 4E 80 00 20 */ blr - -.global sub_800bb860 -sub_800bb860: -/* 800BB860 000B87C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BB864 000B87C4 7C 08 02 A6 */ mflr r0 -/* 800BB868 000B87C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BB86C 000B87CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BB870 000B87D0 93 C1 00 08 */ stw r30, 8(r1) -/* 800BB874 000B87D4 7C 7E 1B 78 */ mr r30, r3 -/* 800BB878 000B87D8 80 83 00 00 */ lwz r4, 0(r3) -/* 800BB87C 000B87DC 80 64 00 04 */ lwz r3, 4(r4) -/* 800BB880 000B87E0 34 03 FF FF */ addic. r0, r3, -1 -/* 800BB884 000B87E4 90 04 00 04 */ stw r0, 4(r4) -/* 800BB888 000B87E8 41 81 00 3C */ bgt lbl_800BB8C4 -/* 800BB88C 000B87EC 80 7E 00 00 */ lwz r3, 0(r30) -/* 800BB890 000B87F0 83 E3 00 00 */ lwz r31, 0(r3) -/* 800BB894 000B87F4 28 1F 00 00 */ cmplwi r31, 0 -/* 800BB898 000B87F8 41 82 00 1C */ beq lbl_800BB8B4 -/* 800BB89C 000B87FC 41 82 00 10 */ beq lbl_800BB8AC -/* 800BB8A0 000B8800 7F E3 FB 78 */ mr r3, r31 -/* 800BB8A4 000B8804 38 80 00 00 */ li r4, 0 -/* 800BB8A8 000B8808 48 28 55 99 */ bl __dt__6CTokenFv -lbl_800BB8AC: -/* 800BB8AC 000B880C 7F E3 FB 78 */ mr r3, r31 -/* 800BB8B0 000B8810 48 25 A0 81 */ bl Free__7CMemoryFPCv -lbl_800BB8B4: -/* 800BB8B4 000B8814 80 7E 00 00 */ lwz r3, 0(r30) -/* 800BB8B8 000B8818 28 03 00 00 */ cmplwi r3, 0 -/* 800BB8BC 000B881C 41 82 00 08 */ beq lbl_800BB8C4 -/* 800BB8C0 000B8820 48 25 A0 71 */ bl Free__7CMemoryFPCv -lbl_800BB8C4: -/* 800BB8C4 000B8824 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BB8C8 000B8828 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BB8CC 000B882C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BB8D0 000B8830 7C 08 03 A6 */ mtlr r0 -/* 800BB8D4 000B8834 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BB8D8 000B8838 4E 80 00 20 */ blr - -.global sub_800bb8dc -sub_800bb8dc: -/* 800BB8DC 000B883C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BB8E0 000B8840 7C 08 02 A6 */ mflr r0 -/* 800BB8E4 000B8844 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BB8E8 000B8848 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BB8EC 000B884C 93 C1 00 08 */ stw r30, 8(r1) -/* 800BB8F0 000B8850 7C 7E 1B 78 */ mr r30, r3 -/* 800BB8F4 000B8854 80 83 00 00 */ lwz r4, 0(r3) -/* 800BB8F8 000B8858 80 64 00 04 */ lwz r3, 4(r4) -/* 800BB8FC 000B885C 34 03 FF FF */ addic. r0, r3, -1 -/* 800BB900 000B8860 90 04 00 04 */ stw r0, 4(r4) -/* 800BB904 000B8864 41 81 00 3C */ bgt lbl_800BB940 -/* 800BB908 000B8868 80 7E 00 00 */ lwz r3, 0(r30) -/* 800BB90C 000B886C 83 E3 00 00 */ lwz r31, 0(r3) -/* 800BB910 000B8870 28 1F 00 00 */ cmplwi r31, 0 -/* 800BB914 000B8874 41 82 00 1C */ beq lbl_800BB930 -/* 800BB918 000B8878 41 82 00 10 */ beq lbl_800BB928 -/* 800BB91C 000B887C 7F E3 FB 78 */ mr r3, r31 -/* 800BB920 000B8880 38 80 00 00 */ li r4, 0 -/* 800BB924 000B8884 48 28 55 1D */ bl __dt__6CTokenFv -lbl_800BB928: -/* 800BB928 000B8888 7F E3 FB 78 */ mr r3, r31 -/* 800BB92C 000B888C 48 25 A0 05 */ bl Free__7CMemoryFPCv -lbl_800BB930: -/* 800BB930 000B8890 80 7E 00 00 */ lwz r3, 0(r30) -/* 800BB934 000B8894 28 03 00 00 */ cmplwi r3, 0 -/* 800BB938 000B8898 41 82 00 08 */ beq lbl_800BB940 -/* 800BB93C 000B889C 48 25 9F F5 */ bl Free__7CMemoryFPCv -lbl_800BB940: -/* 800BB940 000B88A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BB944 000B88A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BB948 000B88A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BB94C 000B88AC 7C 08 03 A6 */ mtlr r0 -/* 800BB950 000B88B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BB954 000B88B4 4E 80 00 20 */ blr - -.global GetWeaponResourcePair__12CTweakGunResCFi -GetWeaponResourcePair__12CTweakGunResCFi: -/* 800BB958 000B88B8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800BB95C 000B88BC 3C A0 80 3D */ lis r5, lbl_803CDED4@ha -/* 800BB960 000B88C0 39 25 DE D4 */ addi r9, r5, lbl_803CDED4@l -/* 800BB964 000B88C4 2C 04 00 00 */ cmpwi r4, 0 -/* 800BB968 000B88C8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800BB96C 000B88CC 39 03 00 34 */ addi r8, r3, 0x34 -/* 800BB970 000B88D0 38 E3 00 44 */ addi r7, r3, 0x44 -/* 800BB974 000B88D4 38 C3 00 54 */ addi r6, r3, 0x54 -/* 800BB978 000B88D8 83 E9 00 00 */ lwz r31, 0(r9) -/* 800BB97C 000B88DC 38 A3 00 64 */ addi r5, r3, 0x64 -/* 800BB980 000B88E0 81 89 00 04 */ lwz r12, 4(r9) -/* 800BB984 000B88E4 38 03 00 74 */ addi r0, r3, 0x74 -/* 800BB988 000B88E8 81 69 00 08 */ lwz r11, 8(r9) -/* 800BB98C 000B88EC 81 49 00 0C */ lwz r10, 0xc(r9) -/* 800BB990 000B88F0 81 29 00 10 */ lwz r9, 0x10(r9) -/* 800BB994 000B88F4 93 E1 00 08 */ stw r31, 8(r1) -/* 800BB998 000B88F8 91 81 00 0C */ stw r12, 0xc(r1) -/* 800BB99C 000B88FC 91 61 00 10 */ stw r11, 0x10(r1) -/* 800BB9A0 000B8900 91 41 00 14 */ stw r10, 0x14(r1) -/* 800BB9A4 000B8904 91 21 00 18 */ stw r9, 0x18(r1) -/* 800BB9A8 000B8908 91 01 00 08 */ stw r8, 8(r1) -/* 800BB9AC 000B890C 90 E1 00 0C */ stw r7, 0xc(r1) -/* 800BB9B0 000B8910 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800BB9B4 000B8914 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800BB9B8 000B8918 90 01 00 18 */ stw r0, 0x18(r1) -/* 800BB9BC 000B891C 41 80 00 0C */ blt lbl_800BB9C8 -/* 800BB9C0 000B8920 2C 04 00 04 */ cmpwi r4, 4 -/* 800BB9C4 000B8924 40 81 00 0C */ ble lbl_800BB9D0 -lbl_800BB9C8: -/* 800BB9C8 000B8928 38 63 00 34 */ addi r3, r3, 0x34 -/* 800BB9CC 000B892C 48 00 00 10 */ b lbl_800BB9DC -lbl_800BB9D0: -/* 800BB9D0 000B8930 54 80 10 3A */ slwi r0, r4, 2 -/* 800BB9D4 000B8934 38 61 00 08 */ addi r3, r1, 8 -/* 800BB9D8 000B8938 7C 63 00 2E */ lwzx r3, r3, r0 -lbl_800BB9DC: -/* 800BB9DC 000B893C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800BB9E0 000B8940 38 21 00 30 */ addi r1, r1, 0x30 -/* 800BB9E4 000B8944 4E 80 00 20 */ blr - -.global __ct__12CTweakGunResFR12CInputStream -__ct__12CTweakGunResFR12CInputStream: -/* 800BB9E8 000B8948 94 21 FE 20 */ stwu r1, -0x1e0(r1) -/* 800BB9EC 000B894C 7C 08 02 A6 */ mflr r0 -/* 800BB9F0 000B8950 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha -/* 800BB9F4 000B8954 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 800BB9F8 000B8958 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l -/* 800BB9FC 000B895C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 800BBA00 000B8960 BF 21 01 C4 */ stmw r25, 0x1c4(r1) -/* 800BBA04 000B8964 7C 7C 1B 78 */ mr r28, r3 -/* 800BBA08 000B8968 3C 60 80 3E */ lis r3, lbl_803DF4E8@ha -/* 800BBA0C 000B896C 7C 9D 23 78 */ mr r29, r4 -/* 800BBA10 000B8970 38 63 F4 E8 */ addi r3, r3, lbl_803DF4E8@l -/* 800BBA14 000B8974 90 1C 00 00 */ stw r0, 0(r28) -/* 800BBA18 000B8978 38 00 00 00 */ li r0, 0 -/* 800BBA1C 000B897C 90 7C 00 00 */ stw r3, 0(r28) -/* 800BBA20 000B8980 38 61 01 9C */ addi r3, r1, 0x19c -/* 800BBA24 000B8984 90 1C 00 04 */ stw r0, 4(r28) -/* 800BBA28 000B8988 90 1C 00 08 */ stw r0, 8(r28) -/* 800BBA2C 000B898C 90 1C 00 0C */ stw r0, 0xc(r28) -/* 800BBA30 000B8990 90 1C 00 10 */ stw r0, 0x10(r28) -/* 800BBA34 000B8994 90 1C 00 14 */ stw r0, 0x14(r28) -/* 800BBA38 000B8998 90 1C 00 18 */ stw r0, 0x18(r28) -/* 800BBA3C 000B899C 90 1C 00 1C */ stw r0, 0x1c(r28) -/* 800BBA40 000B89A0 90 1C 00 20 */ stw r0, 0x20(r28) -/* 800BBA44 000B89A4 90 1C 00 24 */ stw r0, 0x24(r28) -/* 800BBA48 000B89A8 90 1C 00 28 */ stw r0, 0x28(r28) -/* 800BBA4C 000B89AC 90 1C 00 2C */ stw r0, 0x2c(r28) -/* 800BBA50 000B89B0 90 1C 00 30 */ stw r0, 0x30(r28) -/* 800BBA54 000B89B4 90 1C 00 38 */ stw r0, 0x38(r28) -/* 800BBA58 000B89B8 90 1C 00 3C */ stw r0, 0x3c(r28) -/* 800BBA5C 000B89BC 90 1C 00 40 */ stw r0, 0x40(r28) -/* 800BBA60 000B89C0 90 1C 00 48 */ stw r0, 0x48(r28) -/* 800BBA64 000B89C4 90 1C 00 4C */ stw r0, 0x4c(r28) -/* 800BBA68 000B89C8 90 1C 00 50 */ stw r0, 0x50(r28) -/* 800BBA6C 000B89CC 90 1C 00 58 */ stw r0, 0x58(r28) -/* 800BBA70 000B89D0 90 1C 00 5C */ stw r0, 0x5c(r28) -/* 800BBA74 000B89D4 90 1C 00 60 */ stw r0, 0x60(r28) -/* 800BBA78 000B89D8 90 1C 00 68 */ stw r0, 0x68(r28) -/* 800BBA7C 000B89DC 90 1C 00 6C */ stw r0, 0x6c(r28) -/* 800BBA80 000B89E0 90 1C 00 70 */ stw r0, 0x70(r28) -/* 800BBA84 000B89E4 90 1C 00 78 */ stw r0, 0x78(r28) -/* 800BBA88 000B89E8 90 1C 00 7C */ stw r0, 0x7c(r28) -/* 800BBA8C 000B89EC 90 1C 00 80 */ stw r0, 0x80(r28) -/* 800BBA90 000B89F0 90 1C 00 88 */ stw r0, 0x88(r28) -/* 800BBA94 000B89F4 90 1C 00 8C */ stw r0, 0x8c(r28) -/* 800BBA98 000B89F8 90 1C 00 90 */ stw r0, 0x90(r28) -/* 800BBA9C 000B89FC 90 1C 00 98 */ stw r0, 0x98(r28) -/* 800BBAA0 000B8A00 90 1C 00 9C */ stw r0, 0x9c(r28) -/* 800BBAA4 000B8A04 90 1C 00 A0 */ stw r0, 0xa0(r28) -/* 800BBAA8 000B8A08 90 1C 00 A8 */ stw r0, 0xa8(r28) -/* 800BBAAC 000B8A0C 90 1C 00 AC */ stw r0, 0xac(r28) -/* 800BBAB0 000B8A10 90 1C 00 B0 */ stw r0, 0xb0(r28) -/* 800BBAB4 000B8A14 48 28 28 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBAB8 000B8A18 80 61 01 9C */ lwz r3, 0x19c(r1) -/* 800BBABC 000B8A1C 48 1C F9 8D */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBAC0 000B8A20 90 7C 00 04 */ stw r3, 4(r28) -/* 800BBAC4 000B8A24 7F A4 EB 78 */ mr r4, r29 -/* 800BBAC8 000B8A28 38 61 01 8C */ addi r3, r1, 0x18c -/* 800BBACC 000B8A2C 38 A1 00 54 */ addi r5, r1, 0x54 -/* 800BBAD0 000B8A30 48 28 28 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBAD4 000B8A34 80 61 01 8C */ lwz r3, 0x18c(r1) -/* 800BBAD8 000B8A38 48 1C F9 71 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBADC 000B8A3C 90 7C 00 08 */ stw r3, 8(r28) -/* 800BBAE0 000B8A40 7F A4 EB 78 */ mr r4, r29 -/* 800BBAE4 000B8A44 38 61 01 7C */ addi r3, r1, 0x17c -/* 800BBAE8 000B8A48 38 A1 00 50 */ addi r5, r1, 0x50 -/* 800BBAEC 000B8A4C 48 28 28 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBAF0 000B8A50 80 61 01 7C */ lwz r3, 0x17c(r1) -/* 800BBAF4 000B8A54 48 1C F9 55 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBAF8 000B8A58 90 7C 00 0C */ stw r3, 0xc(r28) -/* 800BBAFC 000B8A5C 7F A4 EB 78 */ mr r4, r29 -/* 800BBB00 000B8A60 38 61 01 6C */ addi r3, r1, 0x16c -/* 800BBB04 000B8A64 38 A1 00 4C */ addi r5, r1, 0x4c -/* 800BBB08 000B8A68 48 28 27 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBB0C 000B8A6C 80 61 01 6C */ lwz r3, 0x16c(r1) -/* 800BBB10 000B8A70 48 1C F9 39 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBB14 000B8A74 90 7C 00 10 */ stw r3, 0x10(r28) -/* 800BBB18 000B8A78 7F A4 EB 78 */ mr r4, r29 -/* 800BBB1C 000B8A7C 38 61 01 5C */ addi r3, r1, 0x15c -/* 800BBB20 000B8A80 38 A1 00 48 */ addi r5, r1, 0x48 -/* 800BBB24 000B8A84 48 28 27 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBB28 000B8A88 80 61 01 5C */ lwz r3, 0x15c(r1) -/* 800BBB2C 000B8A8C 48 1C F9 1D */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBB30 000B8A90 90 7C 00 14 */ stw r3, 0x14(r28) -/* 800BBB34 000B8A94 7F A4 EB 78 */ mr r4, r29 -/* 800BBB38 000B8A98 38 61 01 4C */ addi r3, r1, 0x14c -/* 800BBB3C 000B8A9C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800BBB40 000B8AA0 48 28 27 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBB44 000B8AA4 80 61 01 4C */ lwz r3, 0x14c(r1) -/* 800BBB48 000B8AA8 48 1C F9 01 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBB4C 000B8AAC 90 7C 00 18 */ stw r3, 0x18(r28) -/* 800BBB50 000B8AB0 7F A4 EB 78 */ mr r4, r29 -/* 800BBB54 000B8AB4 38 61 01 3C */ addi r3, r1, 0x13c -/* 800BBB58 000B8AB8 38 A1 00 40 */ addi r5, r1, 0x40 -/* 800BBB5C 000B8ABC 48 28 27 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBB60 000B8AC0 80 61 01 3C */ lwz r3, 0x13c(r1) -/* 800BBB64 000B8AC4 48 1C F8 E5 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBB68 000B8AC8 90 7C 00 1C */ stw r3, 0x1c(r28) -/* 800BBB6C 000B8ACC 7F A4 EB 78 */ mr r4, r29 -/* 800BBB70 000B8AD0 38 61 01 2C */ addi r3, r1, 0x12c -/* 800BBB74 000B8AD4 38 A1 00 3C */ addi r5, r1, 0x3c -/* 800BBB78 000B8AD8 48 28 27 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBB7C 000B8ADC 80 61 01 2C */ lwz r3, 0x12c(r1) -/* 800BBB80 000B8AE0 48 1C F8 C9 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBB84 000B8AE4 90 7C 00 20 */ stw r3, 0x20(r28) -/* 800BBB88 000B8AE8 7F A4 EB 78 */ mr r4, r29 -/* 800BBB8C 000B8AEC 38 61 01 1C */ addi r3, r1, 0x11c -/* 800BBB90 000B8AF0 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800BBB94 000B8AF4 48 28 27 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBB98 000B8AF8 80 61 01 1C */ lwz r3, 0x11c(r1) -/* 800BBB9C 000B8AFC 48 1C F8 AD */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBBA0 000B8B00 90 7C 00 24 */ stw r3, 0x24(r28) -/* 800BBBA4 000B8B04 7F A4 EB 78 */ mr r4, r29 -/* 800BBBA8 000B8B08 38 61 01 0C */ addi r3, r1, 0x10c -/* 800BBBAC 000B8B0C 38 A1 00 34 */ addi r5, r1, 0x34 -/* 800BBBB0 000B8B10 48 28 27 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBBB4 000B8B14 80 61 01 0C */ lwz r3, 0x10c(r1) -/* 800BBBB8 000B8B18 48 1C F8 91 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBBBC 000B8B1C 90 7C 00 28 */ stw r3, 0x28(r28) -/* 800BBBC0 000B8B20 7F A4 EB 78 */ mr r4, r29 -/* 800BBBC4 000B8B24 38 61 00 FC */ addi r3, r1, 0xfc -/* 800BBBC8 000B8B28 38 A1 00 30 */ addi r5, r1, 0x30 -/* 800BBBCC 000B8B2C 48 28 27 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBBD0 000B8B30 80 61 00 FC */ lwz r3, 0xfc(r1) -/* 800BBBD4 000B8B34 48 1C F8 75 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBBD8 000B8B38 90 7C 00 2C */ stw r3, 0x2c(r28) -/* 800BBBDC 000B8B3C 7F A4 EB 78 */ mr r4, r29 -/* 800BBBE0 000B8B40 38 61 00 EC */ addi r3, r1, 0xec -/* 800BBBE4 000B8B44 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800BBBE8 000B8B48 48 28 27 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBBEC 000B8B4C 80 61 00 EC */ lwz r3, 0xec(r1) -/* 800BBBF0 000B8B50 48 1C F8 59 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBBF4 000B8B54 3C 80 80 3D */ lis r4, lbl_803CDEC0@ha -/* 800BBBF8 000B8B58 90 7C 00 30 */ stw r3, 0x30(r28) -/* 800BBBFC 000B8B5C 38 E4 DE C0 */ addi r7, r4, lbl_803CDEC0@l -/* 800BBC00 000B8B60 38 DC 00 34 */ addi r6, r28, 0x34 -/* 800BBC04 000B8B64 81 67 00 00 */ lwz r11, 0(r7) -/* 800BBC08 000B8B68 38 BC 00 44 */ addi r5, r28, 0x44 -/* 800BBC0C 000B8B6C 81 47 00 04 */ lwz r10, 4(r7) -/* 800BBC10 000B8B70 38 9C 00 54 */ addi r4, r28, 0x54 -/* 800BBC14 000B8B74 81 27 00 08 */ lwz r9, 8(r7) -/* 800BBC18 000B8B78 38 7C 00 64 */ addi r3, r28, 0x64 -/* 800BBC1C 000B8B7C 81 07 00 0C */ lwz r8, 0xc(r7) -/* 800BBC20 000B8B80 38 1C 00 74 */ addi r0, r28, 0x74 -/* 800BBC24 000B8B84 80 E7 00 10 */ lwz r7, 0x10(r7) -/* 800BBC28 000B8B88 3B E1 01 AC */ addi r31, r1, 0x1ac -/* 800BBC2C 000B8B8C 91 61 01 AC */ stw r11, 0x1ac(r1) -/* 800BBC30 000B8B90 3B C0 00 00 */ li r30, 0 -/* 800BBC34 000B8B94 91 41 01 B0 */ stw r10, 0x1b0(r1) -/* 800BBC38 000B8B98 91 21 01 B4 */ stw r9, 0x1b4(r1) -/* 800BBC3C 000B8B9C 91 01 01 B8 */ stw r8, 0x1b8(r1) -/* 800BBC40 000B8BA0 90 E1 01 BC */ stw r7, 0x1bc(r1) -/* 800BBC44 000B8BA4 90 C1 01 AC */ stw r6, 0x1ac(r1) -/* 800BBC48 000B8BA8 90 A1 01 B0 */ stw r5, 0x1b0(r1) -/* 800BBC4C 000B8BAC 90 81 01 B4 */ stw r4, 0x1b4(r1) -/* 800BBC50 000B8BB0 90 61 01 B8 */ stw r3, 0x1b8(r1) -/* 800BBC54 000B8BB4 90 01 01 BC */ stw r0, 0x1bc(r1) -lbl_800BBC58: -/* 800BBC58 000B8BB8 83 3F 00 00 */ lwz r25, 0(r31) -/* 800BBC5C 000B8BBC 80 99 00 04 */ lwz r4, 4(r25) -/* 800BBC60 000B8BC0 7F 23 CB 78 */ mr r3, r25 -/* 800BBC64 000B8BC4 38 84 00 02 */ addi r4, r4, 2 -/* 800BBC68 000B8BC8 4B FA 7E BD */ bl "reserve__Q24rstl37vectorFi" -/* 800BBC6C 000B8BCC 3B 40 00 00 */ li r26, 0 -lbl_800BBC70: -/* 800BBC70 000B8BD0 7F A4 EB 78 */ mr r4, r29 -/* 800BBC74 000B8BD4 38 61 00 DC */ addi r3, r1, 0xdc -/* 800BBC78 000B8BD8 38 A1 00 28 */ addi r5, r1, 0x28 -/* 800BBC7C 000B8BDC 48 28 26 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBC80 000B8BE0 80 61 00 DC */ lwz r3, 0xdc(r1) -/* 800BBC84 000B8BE4 48 1C F7 C5 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBC88 000B8BE8 80 19 00 04 */ lwz r0, 4(r25) -/* 800BBC8C 000B8BEC 7C 7B 1B 78 */ mr r27, r3 -/* 800BBC90 000B8BF0 80 B9 00 08 */ lwz r5, 8(r25) -/* 800BBC94 000B8BF4 7C 00 28 00 */ cmpw r0, r5 -/* 800BBC98 000B8BF8 41 80 00 1C */ blt lbl_800BBCB4 -/* 800BBC9C 000B8BFC 2C 05 00 00 */ cmpwi r5, 0 -/* 800BBCA0 000B8C00 7F 23 CB 78 */ mr r3, r25 -/* 800BBCA4 000B8C04 38 80 00 04 */ li r4, 4 -/* 800BBCA8 000B8C08 41 82 00 08 */ beq lbl_800BBCB0 -/* 800BBCAC 000B8C0C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800BBCB0: -/* 800BBCB0 000B8C10 4B FA 7E 75 */ bl "reserve__Q24rstl37vectorFi" -lbl_800BBCB4: -/* 800BBCB4 000B8C14 80 19 00 04 */ lwz r0, 4(r25) -/* 800BBCB8 000B8C18 80 79 00 0C */ lwz r3, 0xc(r25) -/* 800BBCBC 000B8C1C 54 00 10 3A */ slwi r0, r0, 2 -/* 800BBCC0 000B8C20 7C 63 02 15 */ add. r3, r3, r0 -/* 800BBCC4 000B8C24 41 82 00 08 */ beq lbl_800BBCCC -/* 800BBCC8 000B8C28 93 63 00 00 */ stw r27, 0(r3) -lbl_800BBCCC: -/* 800BBCCC 000B8C2C 80 99 00 04 */ lwz r4, 4(r25) -/* 800BBCD0 000B8C30 38 61 00 DC */ addi r3, r1, 0xdc -/* 800BBCD4 000B8C34 38 04 00 01 */ addi r0, r4, 1 -/* 800BBCD8 000B8C38 90 19 00 04 */ stw r0, 4(r25) -/* 800BBCDC 000B8C3C 48 28 1E 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBCE0 000B8C40 3B 5A 00 01 */ addi r26, r26, 1 -/* 800BBCE4 000B8C44 2C 1A 00 02 */ cmpwi r26, 2 -/* 800BBCE8 000B8C48 41 80 FF 88 */ blt lbl_800BBC70 -/* 800BBCEC 000B8C4C 3B DE 00 01 */ addi r30, r30, 1 -/* 800BBCF0 000B8C50 3B FF 00 04 */ addi r31, r31, 4 -/* 800BBCF4 000B8C54 2C 1E 00 05 */ cmpwi r30, 5 -/* 800BBCF8 000B8C58 41 80 FF 60 */ blt lbl_800BBC58 -/* 800BBCFC 000B8C5C 3B 20 00 00 */ li r25, 0 -lbl_800BBD00: -/* 800BBD00 000B8C60 80 9C 00 88 */ lwz r4, 0x88(r28) -/* 800BBD04 000B8C64 38 7C 00 84 */ addi r3, r28, 0x84 -/* 800BBD08 000B8C68 38 84 00 01 */ addi r4, r4, 1 -/* 800BBD0C 000B8C6C 4B FA 7E 19 */ bl "reserve__Q24rstl37vectorFi" -/* 800BBD10 000B8C70 7F A4 EB 78 */ mr r4, r29 -/* 800BBD14 000B8C74 38 61 00 CC */ addi r3, r1, 0xcc -/* 800BBD18 000B8C78 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800BBD1C 000B8C7C 48 28 25 DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBD20 000B8C80 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 800BBD24 000B8C84 48 1C F7 25 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBD28 000B8C88 80 1C 00 88 */ lwz r0, 0x88(r28) -/* 800BBD2C 000B8C8C 7C 7E 1B 78 */ mr r30, r3 -/* 800BBD30 000B8C90 80 BC 00 8C */ lwz r5, 0x8c(r28) -/* 800BBD34 000B8C94 7C 00 28 00 */ cmpw r0, r5 -/* 800BBD38 000B8C98 41 80 00 1C */ blt lbl_800BBD54 -/* 800BBD3C 000B8C9C 2C 05 00 00 */ cmpwi r5, 0 -/* 800BBD40 000B8CA0 38 7C 00 84 */ addi r3, r28, 0x84 -/* 800BBD44 000B8CA4 38 80 00 04 */ li r4, 4 -/* 800BBD48 000B8CA8 41 82 00 08 */ beq lbl_800BBD50 -/* 800BBD4C 000B8CAC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800BBD50: -/* 800BBD50 000B8CB0 4B FA 7D D5 */ bl "reserve__Q24rstl37vectorFi" -lbl_800BBD54: -/* 800BBD54 000B8CB4 80 1C 00 88 */ lwz r0, 0x88(r28) -/* 800BBD58 000B8CB8 80 7C 00 90 */ lwz r3, 0x90(r28) -/* 800BBD5C 000B8CBC 54 00 10 3A */ slwi r0, r0, 2 -/* 800BBD60 000B8CC0 7C 63 02 15 */ add. r3, r3, r0 -/* 800BBD64 000B8CC4 41 82 00 08 */ beq lbl_800BBD6C -/* 800BBD68 000B8CC8 93 C3 00 00 */ stw r30, 0(r3) -lbl_800BBD6C: -/* 800BBD6C 000B8CCC 80 9C 00 88 */ lwz r4, 0x88(r28) -/* 800BBD70 000B8CD0 38 61 00 CC */ addi r3, r1, 0xcc -/* 800BBD74 000B8CD4 38 04 00 01 */ addi r0, r4, 1 -/* 800BBD78 000B8CD8 90 1C 00 88 */ stw r0, 0x88(r28) -/* 800BBD7C 000B8CDC 48 28 1D 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBD80 000B8CE0 3B 39 00 01 */ addi r25, r25, 1 -/* 800BBD84 000B8CE4 2C 19 00 05 */ cmpwi r25, 5 -/* 800BBD88 000B8CE8 41 80 FF 78 */ blt lbl_800BBD00 -/* 800BBD8C 000B8CEC 3B 20 00 00 */ li r25, 0 -lbl_800BBD90: -/* 800BBD90 000B8CF0 80 9C 00 98 */ lwz r4, 0x98(r28) -/* 800BBD94 000B8CF4 38 7C 00 94 */ addi r3, r28, 0x94 -/* 800BBD98 000B8CF8 38 84 00 01 */ addi r4, r4, 1 -/* 800BBD9C 000B8CFC 4B FA 7D 89 */ bl "reserve__Q24rstl37vectorFi" -/* 800BBDA0 000B8D00 7F A4 EB 78 */ mr r4, r29 -/* 800BBDA4 000B8D04 38 61 00 BC */ addi r3, r1, 0xbc -/* 800BBDA8 000B8D08 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800BBDAC 000B8D0C 48 28 25 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBDB0 000B8D10 80 61 00 BC */ lwz r3, 0xbc(r1) -/* 800BBDB4 000B8D14 48 1C F6 95 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBDB8 000B8D18 80 1C 00 98 */ lwz r0, 0x98(r28) -/* 800BBDBC 000B8D1C 7C 7E 1B 78 */ mr r30, r3 -/* 800BBDC0 000B8D20 80 BC 00 9C */ lwz r5, 0x9c(r28) -/* 800BBDC4 000B8D24 7C 00 28 00 */ cmpw r0, r5 -/* 800BBDC8 000B8D28 41 80 00 1C */ blt lbl_800BBDE4 -/* 800BBDCC 000B8D2C 2C 05 00 00 */ cmpwi r5, 0 -/* 800BBDD0 000B8D30 38 7C 00 94 */ addi r3, r28, 0x94 -/* 800BBDD4 000B8D34 38 80 00 04 */ li r4, 4 -/* 800BBDD8 000B8D38 41 82 00 08 */ beq lbl_800BBDE0 -/* 800BBDDC 000B8D3C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800BBDE0: -/* 800BBDE0 000B8D40 4B FA 7D 45 */ bl "reserve__Q24rstl37vectorFi" -lbl_800BBDE4: -/* 800BBDE4 000B8D44 80 1C 00 98 */ lwz r0, 0x98(r28) -/* 800BBDE8 000B8D48 80 7C 00 A0 */ lwz r3, 0xa0(r28) -/* 800BBDEC 000B8D4C 54 00 10 3A */ slwi r0, r0, 2 -/* 800BBDF0 000B8D50 7C 63 02 15 */ add. r3, r3, r0 -/* 800BBDF4 000B8D54 41 82 00 08 */ beq lbl_800BBDFC -/* 800BBDF8 000B8D58 93 C3 00 00 */ stw r30, 0(r3) -lbl_800BBDFC: -/* 800BBDFC 000B8D5C 80 9C 00 98 */ lwz r4, 0x98(r28) -/* 800BBE00 000B8D60 38 61 00 BC */ addi r3, r1, 0xbc -/* 800BBE04 000B8D64 38 04 00 01 */ addi r0, r4, 1 -/* 800BBE08 000B8D68 90 1C 00 98 */ stw r0, 0x98(r28) -/* 800BBE0C 000B8D6C 48 28 1C D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBE10 000B8D70 3B 39 00 01 */ addi r25, r25, 1 -/* 800BBE14 000B8D74 2C 19 00 05 */ cmpwi r25, 5 -/* 800BBE18 000B8D78 41 80 FF 78 */ blt lbl_800BBD90 -/* 800BBE1C 000B8D7C 3B 20 00 00 */ li r25, 0 -lbl_800BBE20: -/* 800BBE20 000B8D80 80 9C 00 A8 */ lwz r4, 0xa8(r28) -/* 800BBE24 000B8D84 38 7C 00 A4 */ addi r3, r28, 0xa4 -/* 800BBE28 000B8D88 38 84 00 01 */ addi r4, r4, 1 -/* 800BBE2C 000B8D8C 4B FA 7C F9 */ bl "reserve__Q24rstl37vectorFi" -/* 800BBE30 000B8D90 7F A4 EB 78 */ mr r4, r29 -/* 800BBE34 000B8D94 38 61 00 AC */ addi r3, r1, 0xac -/* 800BBE38 000B8D98 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800BBE3C 000B8D9C 48 28 24 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBE40 000B8DA0 80 61 00 AC */ lwz r3, 0xac(r1) -/* 800BBE44 000B8DA4 48 1C F6 05 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBE48 000B8DA8 80 1C 00 A8 */ lwz r0, 0xa8(r28) -/* 800BBE4C 000B8DAC 7C 7E 1B 78 */ mr r30, r3 -/* 800BBE50 000B8DB0 80 BC 00 AC */ lwz r5, 0xac(r28) -/* 800BBE54 000B8DB4 7C 00 28 00 */ cmpw r0, r5 -/* 800BBE58 000B8DB8 41 80 00 1C */ blt lbl_800BBE74 -/* 800BBE5C 000B8DBC 2C 05 00 00 */ cmpwi r5, 0 -/* 800BBE60 000B8DC0 38 7C 00 A4 */ addi r3, r28, 0xa4 -/* 800BBE64 000B8DC4 38 80 00 04 */ li r4, 4 -/* 800BBE68 000B8DC8 41 82 00 08 */ beq lbl_800BBE70 -/* 800BBE6C 000B8DCC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800BBE70: -/* 800BBE70 000B8DD0 4B FA 7C B5 */ bl "reserve__Q24rstl37vectorFi" -lbl_800BBE74: -/* 800BBE74 000B8DD4 80 1C 00 A8 */ lwz r0, 0xa8(r28) -/* 800BBE78 000B8DD8 80 7C 00 B0 */ lwz r3, 0xb0(r28) -/* 800BBE7C 000B8DDC 54 00 10 3A */ slwi r0, r0, 2 -/* 800BBE80 000B8DE0 7C 63 02 15 */ add. r3, r3, r0 -/* 800BBE84 000B8DE4 41 82 00 08 */ beq lbl_800BBE8C -/* 800BBE88 000B8DE8 93 C3 00 00 */ stw r30, 0(r3) -lbl_800BBE8C: -/* 800BBE8C 000B8DEC 80 9C 00 A8 */ lwz r4, 0xa8(r28) -/* 800BBE90 000B8DF0 38 61 00 AC */ addi r3, r1, 0xac -/* 800BBE94 000B8DF4 38 04 00 01 */ addi r0, r4, 1 -/* 800BBE98 000B8DF8 90 1C 00 A8 */ stw r0, 0xa8(r28) -/* 800BBE9C 000B8DFC 48 28 1C 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBEA0 000B8E00 3B 39 00 01 */ addi r25, r25, 1 -/* 800BBEA4 000B8E04 2C 19 00 05 */ cmpwi r25, 5 -/* 800BBEA8 000B8E08 41 80 FF 78 */ blt lbl_800BBE20 -/* 800BBEAC 000B8E0C 7F A4 EB 78 */ mr r4, r29 -/* 800BBEB0 000B8E10 38 61 00 5C */ addi r3, r1, 0x5c -/* 800BBEB4 000B8E14 38 A1 00 08 */ addi r5, r1, 8 -/* 800BBEB8 000B8E18 48 28 24 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBEBC 000B8E1C 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 800BBEC0 000B8E20 48 1C F5 89 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBEC4 000B8E24 90 7C 00 B4 */ stw r3, 0xb4(r28) -/* 800BBEC8 000B8E28 7F A4 EB 78 */ mr r4, r29 -/* 800BBECC 000B8E2C 38 61 00 6C */ addi r3, r1, 0x6c -/* 800BBED0 000B8E30 38 A1 00 0C */ addi r5, r1, 0xc -/* 800BBED4 000B8E34 48 28 24 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBED8 000B8E38 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 800BBEDC 000B8E3C 48 1C F5 6D */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBEE0 000B8E40 90 7C 00 B8 */ stw r3, 0xb8(r28) -/* 800BBEE4 000B8E44 7F A4 EB 78 */ mr r4, r29 -/* 800BBEE8 000B8E48 38 61 00 7C */ addi r3, r1, 0x7c -/* 800BBEEC 000B8E4C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800BBEF0 000B8E50 48 28 24 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBEF4 000B8E54 80 61 00 7C */ lwz r3, 0x7c(r1) -/* 800BBEF8 000B8E58 48 1C F5 51 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBEFC 000B8E5C 90 7C 00 BC */ stw r3, 0xbc(r28) -/* 800BBF00 000B8E60 7F A4 EB 78 */ mr r4, r29 -/* 800BBF04 000B8E64 38 61 00 8C */ addi r3, r1, 0x8c -/* 800BBF08 000B8E68 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800BBF0C 000B8E6C 48 28 23 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBF10 000B8E70 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 800BBF14 000B8E74 48 1C F5 35 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBF18 000B8E78 90 7C 00 C0 */ stw r3, 0xc0(r28) -/* 800BBF1C 000B8E7C 7F A4 EB 78 */ mr r4, r29 -/* 800BBF20 000B8E80 38 61 00 9C */ addi r3, r1, 0x9c -/* 800BBF24 000B8E84 38 A1 00 18 */ addi r5, r1, 0x18 -/* 800BBF28 000B8E88 48 28 23 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 800BBF2C 000B8E8C 80 61 00 9C */ lwz r3, 0x9c(r1) -/* 800BBF30 000B8E90 48 1C F5 19 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 800BBF34 000B8E94 90 7C 00 C4 */ stw r3, 0xc4(r28) -/* 800BBF38 000B8E98 38 61 00 9C */ addi r3, r1, 0x9c -/* 800BBF3C 000B8E9C 48 28 1B A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF40 000B8EA0 38 61 00 8C */ addi r3, r1, 0x8c -/* 800BBF44 000B8EA4 48 28 1B 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF48 000B8EA8 38 61 00 7C */ addi r3, r1, 0x7c -/* 800BBF4C 000B8EAC 48 28 1B 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF50 000B8EB0 38 61 00 6C */ addi r3, r1, 0x6c -/* 800BBF54 000B8EB4 48 28 1B 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF58 000B8EB8 38 61 00 5C */ addi r3, r1, 0x5c -/* 800BBF5C 000B8EBC 48 28 1B 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF60 000B8EC0 38 61 00 EC */ addi r3, r1, 0xec -/* 800BBF64 000B8EC4 48 28 1B 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF68 000B8EC8 38 61 00 FC */ addi r3, r1, 0xfc -/* 800BBF6C 000B8ECC 48 28 1B 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF70 000B8ED0 38 61 01 0C */ addi r3, r1, 0x10c -/* 800BBF74 000B8ED4 48 28 1B 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF78 000B8ED8 38 61 01 1C */ addi r3, r1, 0x11c -/* 800BBF7C 000B8EDC 48 28 1B 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF80 000B8EE0 38 61 01 2C */ addi r3, r1, 0x12c -/* 800BBF84 000B8EE4 48 28 1B 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF88 000B8EE8 38 61 01 3C */ addi r3, r1, 0x13c -/* 800BBF8C 000B8EEC 48 28 1B 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF90 000B8EF0 38 61 01 4C */ addi r3, r1, 0x14c -/* 800BBF94 000B8EF4 48 28 1B 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBF98 000B8EF8 38 61 01 5C */ addi r3, r1, 0x15c -/* 800BBF9C 000B8EFC 48 28 1B 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBFA0 000B8F00 38 61 01 6C */ addi r3, r1, 0x16c -/* 800BBFA4 000B8F04 48 28 1B 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBFA8 000B8F08 38 61 01 7C */ addi r3, r1, 0x17c -/* 800BBFAC 000B8F0C 48 28 1B 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBFB0 000B8F10 38 61 01 8C */ addi r3, r1, 0x18c -/* 800BBFB4 000B8F14 48 28 1B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBFB8 000B8F18 38 61 01 9C */ addi r3, r1, 0x19c -/* 800BBFBC 000B8F1C 48 28 1B 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800BBFC0 000B8F20 7F 83 E3 78 */ mr r3, r28 -/* 800BBFC4 000B8F24 BB 21 01 C4 */ lmw r25, 0x1c4(r1) -/* 800BBFC8 000B8F28 80 01 01 E4 */ lwz r0, 0x1e4(r1) -/* 800BBFCC 000B8F2C 7C 08 03 A6 */ mtlr r0 -/* 800BBFD0 000B8F30 38 21 01 E0 */ addi r1, r1, 0x1e0 -/* 800BBFD4 000B8F34 4E 80 00 20 */ blr - -.global __dt__12CTweakGunResFv -__dt__12CTweakGunResFv: -/* 800BBFD8 000B8F38 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 800BBFDC 000B8F3C 7C 08 02 A6 */ mflr r0 -/* 800BBFE0 000B8F40 90 01 00 94 */ stw r0, 0x94(r1) -/* 800BBFE4 000B8F44 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 800BBFE8 000B8F48 7C 9F 23 78 */ mr r31, r4 -/* 800BBFEC 000B8F4C 93 C1 00 88 */ stw r30, 0x88(r1) -/* 800BBFF0 000B8F50 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800BBFF4 000B8F54 41 82 02 74 */ beq lbl_800BC268 -/* 800BBFF8 000B8F58 3C 60 80 3E */ lis r3, lbl_803DF4E8@ha -/* 800BBFFC 000B8F5C 34 1E 00 A4 */ addic. r0, r30, 0xa4 -/* 800BC000 000B8F60 38 03 F4 E8 */ addi r0, r3, lbl_803DF4E8@l -/* 800BC004 000B8F64 90 1E 00 00 */ stw r0, 0(r30) -/* 800BC008 000B8F68 41 82 00 44 */ beq lbl_800BC04C -/* 800BC00C 000B8F6C 80 1E 00 A8 */ lwz r0, 0xa8(r30) -/* 800BC010 000B8F70 80 7E 00 B0 */ lwz r3, 0xb0(r30) -/* 800BC014 000B8F74 54 00 10 3A */ slwi r0, r0, 2 -/* 800BC018 000B8F78 7C 03 02 14 */ add r0, r3, r0 -/* 800BC01C 000B8F7C 90 61 00 7C */ stw r3, 0x7c(r1) -/* 800BC020 000B8F80 7C 64 1B 78 */ mr r4, r3 -/* 800BC024 000B8F84 90 01 00 84 */ stw r0, 0x84(r1) -/* 800BC028 000B8F88 90 01 00 80 */ stw r0, 0x80(r1) -/* 800BC02C 000B8F8C 90 61 00 78 */ stw r3, 0x78(r1) -/* 800BC030 000B8F90 48 00 00 08 */ b lbl_800BC038 -lbl_800BC034: -/* 800BC034 000B8F94 38 84 00 04 */ addi r4, r4, 4 -lbl_800BC038: -/* 800BC038 000B8F98 7C 04 00 40 */ cmplw r4, r0 -/* 800BC03C 000B8F9C 40 82 FF F8 */ bne lbl_800BC034 -/* 800BC040 000B8FA0 28 03 00 00 */ cmplwi r3, 0 -/* 800BC044 000B8FA4 41 82 00 08 */ beq lbl_800BC04C -/* 800BC048 000B8FA8 48 25 98 E9 */ bl Free__7CMemoryFPCv -lbl_800BC04C: -/* 800BC04C 000B8FAC 34 1E 00 94 */ addic. r0, r30, 0x94 -/* 800BC050 000B8FB0 41 82 00 44 */ beq lbl_800BC094 -/* 800BC054 000B8FB4 80 1E 00 98 */ lwz r0, 0x98(r30) -/* 800BC058 000B8FB8 80 7E 00 A0 */ lwz r3, 0xa0(r30) -/* 800BC05C 000B8FBC 54 00 10 3A */ slwi r0, r0, 2 -/* 800BC060 000B8FC0 7C 03 02 14 */ add r0, r3, r0 -/* 800BC064 000B8FC4 90 61 00 6C */ stw r3, 0x6c(r1) -/* 800BC068 000B8FC8 7C 64 1B 78 */ mr r4, r3 -/* 800BC06C 000B8FCC 90 01 00 74 */ stw r0, 0x74(r1) -/* 800BC070 000B8FD0 90 01 00 70 */ stw r0, 0x70(r1) -/* 800BC074 000B8FD4 90 61 00 68 */ stw r3, 0x68(r1) -/* 800BC078 000B8FD8 48 00 00 08 */ b lbl_800BC080 -lbl_800BC07C: -/* 800BC07C 000B8FDC 38 84 00 04 */ addi r4, r4, 4 -lbl_800BC080: -/* 800BC080 000B8FE0 7C 04 00 40 */ cmplw r4, r0 -/* 800BC084 000B8FE4 40 82 FF F8 */ bne lbl_800BC07C -/* 800BC088 000B8FE8 28 03 00 00 */ cmplwi r3, 0 -/* 800BC08C 000B8FEC 41 82 00 08 */ beq lbl_800BC094 -/* 800BC090 000B8FF0 48 25 98 A1 */ bl Free__7CMemoryFPCv -lbl_800BC094: -/* 800BC094 000B8FF4 34 1E 00 84 */ addic. r0, r30, 0x84 -/* 800BC098 000B8FF8 41 82 00 44 */ beq lbl_800BC0DC -/* 800BC09C 000B8FFC 80 1E 00 88 */ lwz r0, 0x88(r30) -/* 800BC0A0 000B9000 80 7E 00 90 */ lwz r3, 0x90(r30) -/* 800BC0A4 000B9004 54 00 10 3A */ slwi r0, r0, 2 -/* 800BC0A8 000B9008 7C 03 02 14 */ add r0, r3, r0 -/* 800BC0AC 000B900C 90 61 00 5C */ stw r3, 0x5c(r1) -/* 800BC0B0 000B9010 7C 64 1B 78 */ mr r4, r3 -/* 800BC0B4 000B9014 90 01 00 64 */ stw r0, 0x64(r1) -/* 800BC0B8 000B9018 90 01 00 60 */ stw r0, 0x60(r1) -/* 800BC0BC 000B901C 90 61 00 58 */ stw r3, 0x58(r1) -/* 800BC0C0 000B9020 48 00 00 08 */ b lbl_800BC0C8 -lbl_800BC0C4: -/* 800BC0C4 000B9024 38 84 00 04 */ addi r4, r4, 4 -lbl_800BC0C8: -/* 800BC0C8 000B9028 7C 04 00 40 */ cmplw r4, r0 -/* 800BC0CC 000B902C 40 82 FF F8 */ bne lbl_800BC0C4 -/* 800BC0D0 000B9030 28 03 00 00 */ cmplwi r3, 0 -/* 800BC0D4 000B9034 41 82 00 08 */ beq lbl_800BC0DC -/* 800BC0D8 000B9038 48 25 98 59 */ bl Free__7CMemoryFPCv -lbl_800BC0DC: -/* 800BC0DC 000B903C 34 1E 00 74 */ addic. r0, r30, 0x74 -/* 800BC0E0 000B9040 41 82 00 44 */ beq lbl_800BC124 -/* 800BC0E4 000B9044 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 800BC0E8 000B9048 80 7E 00 80 */ lwz r3, 0x80(r30) -/* 800BC0EC 000B904C 54 00 10 3A */ slwi r0, r0, 2 -/* 800BC0F0 000B9050 7C 03 02 14 */ add r0, r3, r0 -/* 800BC0F4 000B9054 90 61 00 4C */ stw r3, 0x4c(r1) -/* 800BC0F8 000B9058 7C 64 1B 78 */ mr r4, r3 -/* 800BC0FC 000B905C 90 01 00 54 */ stw r0, 0x54(r1) -/* 800BC100 000B9060 90 01 00 50 */ stw r0, 0x50(r1) -/* 800BC104 000B9064 90 61 00 48 */ stw r3, 0x48(r1) -/* 800BC108 000B9068 48 00 00 08 */ b lbl_800BC110 -lbl_800BC10C: -/* 800BC10C 000B906C 38 84 00 04 */ addi r4, r4, 4 -lbl_800BC110: -/* 800BC110 000B9070 7C 04 00 40 */ cmplw r4, r0 -/* 800BC114 000B9074 40 82 FF F8 */ bne lbl_800BC10C -/* 800BC118 000B9078 28 03 00 00 */ cmplwi r3, 0 -/* 800BC11C 000B907C 41 82 00 08 */ beq lbl_800BC124 -/* 800BC120 000B9080 48 25 98 11 */ bl Free__7CMemoryFPCv -lbl_800BC124: -/* 800BC124 000B9084 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 800BC128 000B9088 41 82 00 44 */ beq lbl_800BC16C -/* 800BC12C 000B908C 80 1E 00 68 */ lwz r0, 0x68(r30) -/* 800BC130 000B9090 80 7E 00 70 */ lwz r3, 0x70(r30) -/* 800BC134 000B9094 54 00 10 3A */ slwi r0, r0, 2 -/* 800BC138 000B9098 7C 03 02 14 */ add r0, r3, r0 -/* 800BC13C 000B909C 90 61 00 3C */ stw r3, 0x3c(r1) -/* 800BC140 000B90A0 7C 64 1B 78 */ mr r4, r3 -/* 800BC144 000B90A4 90 01 00 44 */ stw r0, 0x44(r1) -/* 800BC148 000B90A8 90 01 00 40 */ stw r0, 0x40(r1) -/* 800BC14C 000B90AC 90 61 00 38 */ stw r3, 0x38(r1) -/* 800BC150 000B90B0 48 00 00 08 */ b lbl_800BC158 -lbl_800BC154: -/* 800BC154 000B90B4 38 84 00 04 */ addi r4, r4, 4 -lbl_800BC158: -/* 800BC158 000B90B8 7C 04 00 40 */ cmplw r4, r0 -/* 800BC15C 000B90BC 40 82 FF F8 */ bne lbl_800BC154 -/* 800BC160 000B90C0 28 03 00 00 */ cmplwi r3, 0 -/* 800BC164 000B90C4 41 82 00 08 */ beq lbl_800BC16C -/* 800BC168 000B90C8 48 25 97 C9 */ bl Free__7CMemoryFPCv -lbl_800BC16C: -/* 800BC16C 000B90CC 34 1E 00 54 */ addic. r0, r30, 0x54 -/* 800BC170 000B90D0 41 82 00 44 */ beq lbl_800BC1B4 -/* 800BC174 000B90D4 80 1E 00 58 */ lwz r0, 0x58(r30) -/* 800BC178 000B90D8 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 800BC17C 000B90DC 54 00 10 3A */ slwi r0, r0, 2 -/* 800BC180 000B90E0 7C 03 02 14 */ add r0, r3, r0 -/* 800BC184 000B90E4 90 61 00 2C */ stw r3, 0x2c(r1) -/* 800BC188 000B90E8 7C 64 1B 78 */ mr r4, r3 -/* 800BC18C 000B90EC 90 01 00 34 */ stw r0, 0x34(r1) -/* 800BC190 000B90F0 90 01 00 30 */ stw r0, 0x30(r1) -/* 800BC194 000B90F4 90 61 00 28 */ stw r3, 0x28(r1) -/* 800BC198 000B90F8 48 00 00 08 */ b lbl_800BC1A0 -lbl_800BC19C: -/* 800BC19C 000B90FC 38 84 00 04 */ addi r4, r4, 4 -lbl_800BC1A0: -/* 800BC1A0 000B9100 7C 04 00 40 */ cmplw r4, r0 -/* 800BC1A4 000B9104 40 82 FF F8 */ bne lbl_800BC19C -/* 800BC1A8 000B9108 28 03 00 00 */ cmplwi r3, 0 -/* 800BC1AC 000B910C 41 82 00 08 */ beq lbl_800BC1B4 -/* 800BC1B0 000B9110 48 25 97 81 */ bl Free__7CMemoryFPCv -lbl_800BC1B4: -/* 800BC1B4 000B9114 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 800BC1B8 000B9118 41 82 00 44 */ beq lbl_800BC1FC -/* 800BC1BC 000B911C 80 1E 00 48 */ lwz r0, 0x48(r30) -/* 800BC1C0 000B9120 80 7E 00 50 */ lwz r3, 0x50(r30) -/* 800BC1C4 000B9124 54 00 10 3A */ slwi r0, r0, 2 -/* 800BC1C8 000B9128 7C 03 02 14 */ add r0, r3, r0 -/* 800BC1CC 000B912C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800BC1D0 000B9130 7C 64 1B 78 */ mr r4, r3 -/* 800BC1D4 000B9134 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BC1D8 000B9138 90 01 00 20 */ stw r0, 0x20(r1) -/* 800BC1DC 000B913C 90 61 00 18 */ stw r3, 0x18(r1) -/* 800BC1E0 000B9140 48 00 00 08 */ b lbl_800BC1E8 -lbl_800BC1E4: -/* 800BC1E4 000B9144 38 84 00 04 */ addi r4, r4, 4 -lbl_800BC1E8: -/* 800BC1E8 000B9148 7C 04 00 40 */ cmplw r4, r0 -/* 800BC1EC 000B914C 40 82 FF F8 */ bne lbl_800BC1E4 -/* 800BC1F0 000B9150 28 03 00 00 */ cmplwi r3, 0 -/* 800BC1F4 000B9154 41 82 00 08 */ beq lbl_800BC1FC -/* 800BC1F8 000B9158 48 25 97 39 */ bl Free__7CMemoryFPCv -lbl_800BC1FC: -/* 800BC1FC 000B915C 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 800BC200 000B9160 41 82 00 44 */ beq lbl_800BC244 -/* 800BC204 000B9164 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 800BC208 000B9168 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 800BC20C 000B916C 54 00 10 3A */ slwi r0, r0, 2 -/* 800BC210 000B9170 7C 03 02 14 */ add r0, r3, r0 -/* 800BC214 000B9174 90 61 00 0C */ stw r3, 0xc(r1) -/* 800BC218 000B9178 7C 64 1B 78 */ mr r4, r3 -/* 800BC21C 000B917C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BC220 000B9180 90 01 00 10 */ stw r0, 0x10(r1) -/* 800BC224 000B9184 90 61 00 08 */ stw r3, 8(r1) -/* 800BC228 000B9188 48 00 00 08 */ b lbl_800BC230 -lbl_800BC22C: -/* 800BC22C 000B918C 38 84 00 04 */ addi r4, r4, 4 -lbl_800BC230: -/* 800BC230 000B9190 7C 04 00 40 */ cmplw r4, r0 -/* 800BC234 000B9194 40 82 FF F8 */ bne lbl_800BC22C -/* 800BC238 000B9198 28 03 00 00 */ cmplwi r3, 0 -/* 800BC23C 000B919C 41 82 00 08 */ beq lbl_800BC244 -/* 800BC240 000B91A0 48 25 96 F1 */ bl Free__7CMemoryFPCv -lbl_800BC244: -/* 800BC244 000B91A4 28 1E 00 00 */ cmplwi r30, 0 -/* 800BC248 000B91A8 41 82 00 10 */ beq lbl_800BC258 -/* 800BC24C 000B91AC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 800BC250 000B91B0 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 800BC254 000B91B4 90 1E 00 00 */ stw r0, 0(r30) -lbl_800BC258: -/* 800BC258 000B91B8 7F E0 07 35 */ extsh. r0, r31 -/* 800BC25C 000B91BC 40 81 00 0C */ ble lbl_800BC268 -/* 800BC260 000B91C0 7F C3 F3 78 */ mr r3, r30 -/* 800BC264 000B91C4 48 00 00 21 */ bl "__dl__26TOneStatic<12CTweakGunRes>FPv" -lbl_800BC268: -/* 800BC268 000B91C8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 800BC26C 000B91CC 7F C3 F3 78 */ mr r3, r30 -/* 800BC270 000B91D0 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 800BC274 000B91D4 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 800BC278 000B91D8 7C 08 03 A6 */ mtlr r0 -/* 800BC27C 000B91DC 38 21 00 90 */ addi r1, r1, 0x90 -/* 800BC280 000B91E0 4E 80 00 20 */ blr - -.global "__dl__26TOneStatic<12CTweakGunRes>FPv" -"__dl__26TOneStatic<12CTweakGunRes>FPv": -/* 800BC284 000B91E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BC288 000B91E8 7C 08 02 A6 */ mflr r0 -/* 800BC28C 000B91EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BC290 000B91F0 4B F7 AB F5 */ bl "ReferenceCount__26TOneStatic<12CTweakGunRes>Fv" -/* 800BC294 000B91F4 80 83 00 00 */ lwz r4, 0(r3) -/* 800BC298 000B91F8 38 04 FF FF */ addi r0, r4, -1 -/* 800BC29C 000B91FC 90 03 00 00 */ stw r0, 0(r3) -/* 800BC2A0 000B9200 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BC2A4 000B9204 7C 08 03 A6 */ mtlr r0 -/* 800BC2A8 000B9208 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BC2AC 000B920C 4E 80 00 20 */ blr - -.global ResetInterpolationTimer__17COrbitPointMarkerFf -ResetInterpolationTimer__17COrbitPointMarkerFf: -/* 800BC2B0 000B9210 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 800BC2B4 000B9214 4E 80 00 20 */ blr - -.global Draw__17COrbitPointMarkerCFRC13CStateManager -Draw__17COrbitPointMarkerCFRC13CStateManager: -/* 800BC2B8 000B9218 94 21 FE 70 */ stwu r1, -0x190(r1) -/* 800BC2BC 000B921C 7C 08 02 A6 */ mflr r0 -/* 800BC2C0 000B9220 90 01 01 94 */ stw r0, 0x194(r1) -/* 800BC2C4 000B9224 DB E1 01 80 */ stfd f31, 0x180(r1) -/* 800BC2C8 000B9228 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 -/* 800BC2CC 000B922C DB C1 01 70 */ stfd f30, 0x170(r1) -/* 800BC2D0 000B9230 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 -/* 800BC2D4 000B9234 93 E1 01 6C */ stw r31, 0x16c(r1) -/* 800BC2D8 000B9238 93 C1 01 68 */ stw r30, 0x168(r1) -/* 800BC2DC 000B923C 93 A1 01 64 */ stw r29, 0x164(r1) -/* 800BC2E0 000B9240 7C 7F 1B 78 */ mr r31, r3 -/* 800BC2E4 000B9244 7C 9D 23 78 */ mr r29, r4 -/* 800BC2E8 000B9248 88 03 00 1C */ lbz r0, 0x1c(r3) -/* 800BC2EC 000B924C 28 00 00 00 */ cmplwi r0, 0 -/* 800BC2F0 000B9250 40 82 00 14 */ bne lbl_800BC304 -/* 800BC2F4 000B9254 C0 3F 00 20 */ lfs f1, 0x20(r31) -/* 800BC2F8 000B9258 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BC2FC 000B925C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BC300 000B9260 40 81 02 9C */ ble lbl_800BC59C -lbl_800BC304: -/* 800BC304 000B9264 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BC308 000B9268 88 03 01 C8 */ lbz r0, 0x1c8(r3) -/* 800BC30C 000B926C 28 00 00 00 */ cmplwi r0, 0 -/* 800BC310 000B9270 41 82 02 8C */ beq lbl_800BC59C -/* 800BC314 000B9274 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 800BC318 000B9278 28 00 00 00 */ cmplwi r0, 0 -/* 800BC31C 000B927C 40 82 00 30 */ bne lbl_800BC34C -/* 800BC320 000B9280 88 1F 00 2C */ lbz r0, 0x2c(r31) -/* 800BC324 000B9284 28 00 00 00 */ cmplwi r0, 0 -/* 800BC328 000B9288 41 82 00 24 */ beq lbl_800BC34C -/* 800BC32C 000B928C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 800BC330 000B9290 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BC334 000B9294 28 00 00 00 */ cmplwi r0, 0 -/* 800BC338 000B9298 41 82 00 14 */ beq lbl_800BC34C -/* 800BC33C 000B929C 38 7F 00 28 */ addi r3, r31, 0x28 -/* 800BC340 000B92A0 48 28 4A CD */ bl GetObj__6CTokenFv -/* 800BC344 000B92A4 80 03 00 04 */ lwz r0, 4(r3) -/* 800BC348 000B92A8 90 1F 00 30 */ stw r0, 0x30(r31) -lbl_800BC34C: -/* 800BC34C 000B92AC 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 800BC350 000B92B0 28 00 00 00 */ cmplwi r0, 0 -/* 800BC354 000B92B4 41 82 02 48 */ beq lbl_800BC59C -/* 800BC358 000B92B8 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 800BC35C 000B92BC 7F A4 EB 78 */ mr r4, r29 -/* 800BC360 000B92C0 4B F4 F7 B9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800BC364 000B92C4 80 9D 08 70 */ lwz r4, 0x870(r29) -/* 800BC368 000B92C8 7C 7E 1B 78 */ mr r30, r3 -/* 800BC36C 000B92CC 7F A5 EB 78 */ mr r5, r29 -/* 800BC370 000B92D0 38 61 00 50 */ addi r3, r1, 0x50 -/* 800BC374 000B92D4 4B F4 E5 F5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 800BC378 000B92D8 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800BC37C 000B92DC 38 81 00 50 */ addi r4, r1, 0x50 -/* 800BC380 000B92E0 48 25 67 F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800BC384 000B92E4 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800BC388 000B92E8 48 25 03 C5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 800BC38C 000B92EC C0 22 8D 34 */ lfs f1, lbl_805AAA54@sda21(r2) -/* 800BC390 000B92F0 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 800BC394 000B92F4 C0 1E 01 5C */ lfs f0, 0x15c(r30) -/* 800BC398 000B92F8 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 800BC39C 000B92FC C0 5E 01 68 */ lfs f2, 0x168(r30) -/* 800BC3A0 000B9300 38 A0 00 00 */ li r5, 0 -/* 800BC3A4 000B9304 EC 21 00 32 */ fmuls f1, f1, f0 -/* 800BC3A8 000B9308 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) -/* 800BC3AC 000B930C C0 82 8D 3C */ lfs f4, lbl_805AAA5C@sda21(r2) -/* 800BC3B0 000B9310 48 28 8E A5 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf -/* 800BC3B4 000B9314 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BC3B8 000B9318 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 800BC3BC 000B931C 81 83 00 00 */ lwz r12, 0(r3) -/* 800BC3C0 000B9320 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 800BC3C4 000B9324 7D 89 03 A6 */ mtctr r12 -/* 800BC3C8 000B9328 4E 80 04 21 */ bctrl -/* 800BC3CC 000B932C 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 800BC3D0 000B9330 3C 80 43 30 */ lis r4, 0x4330 -/* 800BC3D4 000B9334 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 800BC3D8 000B9338 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BC3DC 000B933C 80 A6 00 08 */ lwz r5, 8(r6) -/* 800BC3E0 000B9340 80 06 00 0C */ lwz r0, 0xc(r6) -/* 800BC3E4 000B9344 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 800BC3E8 000B9348 81 83 00 00 */ lwz r12, 0(r3) -/* 800BC3EC 000B934C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800BC3F0 000B9350 90 A1 01 4C */ stw r5, 0x14c(r1) -/* 800BC3F4 000B9354 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) -/* 800BC3F8 000B9358 90 81 01 48 */ stw r4, 0x148(r1) -/* 800BC3FC 000B935C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 800BC400 000B9360 C8 01 01 48 */ lfd f0, 0x148(r1) -/* 800BC404 000B9364 90 01 01 54 */ stw r0, 0x154(r1) -/* 800BC408 000B9368 EC 40 18 28 */ fsubs f2, f0, f3 -/* 800BC40C 000B936C C0 3E 01 5C */ lfs f1, 0x15c(r30) -/* 800BC410 000B9370 90 81 01 50 */ stw r4, 0x150(r1) -/* 800BC414 000B9374 C0 9E 01 60 */ lfs f4, 0x160(r30) -/* 800BC418 000B9378 C8 01 01 50 */ lfd f0, 0x150(r1) -/* 800BC41C 000B937C C0 BE 01 64 */ lfs f5, 0x164(r30) -/* 800BC420 000B9380 EC 60 18 28 */ fsubs f3, f0, f3 -/* 800BC424 000B9384 7D 89 03 A6 */ mtctr r12 -/* 800BC428 000B9388 4E 80 04 21 */ bctrl -/* 800BC42C 000B938C 80 A1 00 E0 */ lwz r5, 0xe0(r1) -/* 800BC430 000B9390 38 60 00 00 */ li r3, 0 -/* 800BC434 000B9394 2C 05 00 00 */ cmpwi r5, 0 -/* 800BC438 000B9398 40 81 00 40 */ ble lbl_800BC478 -/* 800BC43C 000B939C 2C 05 00 08 */ cmpwi r5, 8 -/* 800BC440 000B93A0 38 85 FF F8 */ addi r4, r5, -8 -/* 800BC444 000B93A4 40 81 00 20 */ ble lbl_800BC464 -/* 800BC448 000B93A8 38 04 00 07 */ addi r0, r4, 7 -/* 800BC44C 000B93AC 54 00 E8 FE */ srwi r0, r0, 3 -/* 800BC450 000B93B0 7C 09 03 A6 */ mtctr r0 -/* 800BC454 000B93B4 2C 04 00 00 */ cmpwi r4, 0 -/* 800BC458 000B93B8 40 81 00 0C */ ble lbl_800BC464 -lbl_800BC45C: -/* 800BC45C 000B93BC 38 63 00 08 */ addi r3, r3, 8 -/* 800BC460 000B93C0 42 00 FF FC */ bdnz lbl_800BC45C -lbl_800BC464: -/* 800BC464 000B93C4 7C 03 28 50 */ subf r0, r3, r5 -/* 800BC468 000B93C8 7C 09 03 A6 */ mtctr r0 -/* 800BC46C 000B93CC 7C 03 28 00 */ cmpw r3, r5 -/* 800BC470 000B93D0 40 80 00 08 */ bge lbl_800BC478 -lbl_800BC474: -/* 800BC474 000B93D4 42 00 00 00 */ bdnz lbl_800BC474 -lbl_800BC478: -/* 800BC478 000B93D8 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 800BC47C 000B93DC 38 60 00 00 */ li r3, 0 -/* 800BC480 000B93E0 90 61 00 E0 */ stw r3, 0xe0(r1) -/* 800BC484 000B93E4 28 00 00 00 */ cmplwi r0, 0 -/* 800BC488 000B93E8 41 82 00 20 */ beq lbl_800BC4A8 -/* 800BC48C 000B93EC 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BC490 000B93F0 C0 3F 00 20 */ lfs f1, 0x20(r31) -/* 800BC494 000B93F4 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 800BC498 000B93F8 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) -/* 800BC49C 000B93FC EC 01 00 24 */ fdivs f0, f1, f0 -/* 800BC4A0 000B9400 EF C2 00 28 */ fsubs f30, f2, f0 -/* 800BC4A4 000B9404 48 00 00 14 */ b lbl_800BC4B8 -lbl_800BC4A8: -/* 800BC4A8 000B9408 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BC4AC 000B940C C0 3F 00 20 */ lfs f1, 0x20(r31) -/* 800BC4B0 000B9410 C0 03 00 58 */ lfs f0, 0x58(r3) -/* 800BC4B4 000B9414 EF C1 00 24 */ fdivs f30, f1, f0 -lbl_800BC4B8: -/* 800BC4B8 000B9418 C0 1F 00 08 */ lfs f0, 8(r31) -/* 800BC4BC 000B941C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800BC4C0 000B9420 83 CD A1 40 */ lwz r30, gpTweakTargeting@sda21(r13) -/* 800BC4C4 000B9424 38 81 00 0C */ addi r4, r1, 0xc -/* 800BC4C8 000B9428 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800BC4CC 000B942C 48 25 73 45 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 800BC4D0 000B9430 38 61 00 80 */ addi r3, r1, 0x80 -/* 800BC4D4 000B9434 38 81 00 20 */ addi r4, r1, 0x20 -/* 800BC4D8 000B9438 48 25 66 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800BC4DC 000B943C FC 20 F0 90 */ fmr f1, f30 -/* 800BC4E0 000B9440 38 61 00 80 */ addi r3, r1, 0x80 -/* 800BC4E4 000B9444 48 25 69 DD */ bl ScaleBy__12CTransform4fFf -/* 800BC4E8 000B9448 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 800BC4EC 000B944C 38 81 00 80 */ addi r4, r1, 0x80 -/* 800BC4F0 000B9450 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 800BC4F4 000B9454 C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 800BC4F8 000B9458 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 800BC4FC 000B945C EC 81 00 2A */ fadds f4, f1, f0 -/* 800BC500 000B9460 C0 21 00 AC */ lfs f1, 0xac(r1) -/* 800BC504 000B9464 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 800BC508 000B9468 EC 43 10 2A */ fadds f2, f3, f2 -/* 800BC50C 000B946C D0 81 00 8C */ stfs f4, 0x8c(r1) -/* 800BC510 000B9470 EC 01 00 2A */ fadds f0, f1, f0 -/* 800BC514 000B9474 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BC518 000B9478 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 800BC51C 000B947C D0 01 00 AC */ stfs f0, 0xac(r1) -/* 800BC520 000B9480 81 83 00 00 */ lwz r12, 0(r3) -/* 800BC524 000B9484 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BC528 000B9488 7D 89 03 A6 */ mtctr r12 -/* 800BC52C 000B948C 4E 80 04 21 */ bctrl -/* 800BC530 000B9490 88 7E 01 BF */ lbz r3, 0x1bf(r30) -/* 800BC534 000B9494 3C 00 43 30 */ lis r0, 0x4330 -/* 800BC538 000B9498 90 01 01 50 */ stw r0, 0x150(r1) -/* 800BC53C 000B949C C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BC540 000B94A0 90 61 01 54 */ stw r3, 0x154(r1) -/* 800BC544 000B94A4 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 800BC548 000B94A8 C8 01 01 50 */ lfd f0, 0x150(r1) -/* 800BC54C 000B94AC EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BC550 000B94B0 EF FE 00 32 */ fmuls f31, f30, f0 -/* 800BC554 000B94B4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800BC558 000B94B8 38 80 00 03 */ li r4, 3 -/* 800BC55C 000B94BC 80 FE 01 BC */ lwz r7, 0x1bc(r30) -/* 800BC560 000B94C0 38 C0 00 07 */ li r6, 7 -/* 800BC564 000B94C4 38 A0 00 00 */ li r5, 0 -/* 800BC568 000B94C8 89 01 00 08 */ lbz r8, 8(r1) -/* 800BC56C 000B94CC 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 -/* 800BC570 000B94D0 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d -/* 800BC574 000B94D4 B0 81 00 12 */ sth r4, 0x12(r1) -/* 800BC578 000B94D8 38 81 00 18 */ addi r4, r1, 0x18 -/* 800BC57C 000B94DC 98 C1 00 10 */ stb r6, 0x10(r1) -/* 800BC580 000B94E0 98 A1 00 11 */ stb r5, 0x11(r1) -/* 800BC584 000B94E4 91 01 00 14 */ stw r8, 0x14(r1) -/* 800BC588 000B94E8 98 C1 00 18 */ stb r6, 0x18(r1) -/* 800BC58C 000B94EC 98 A1 00 19 */ stb r5, 0x19(r1) -/* 800BC590 000B94F0 B0 01 00 1A */ sth r0, 0x1a(r1) -/* 800BC594 000B94F4 91 01 00 1C */ stw r8, 0x1c(r1) -/* 800BC598 000B94F8 48 29 96 3D */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BC59C: -/* 800BC59C 000B94FC E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 -/* 800BC5A0 000B9500 CB E1 01 80 */ lfd f31, 0x180(r1) -/* 800BC5A4 000B9504 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 -/* 800BC5A8 000B9508 CB C1 01 70 */ lfd f30, 0x170(r1) -/* 800BC5AC 000B950C 83 E1 01 6C */ lwz r31, 0x16c(r1) -/* 800BC5B0 000B9510 83 C1 01 68 */ lwz r30, 0x168(r1) -/* 800BC5B4 000B9514 80 01 01 94 */ lwz r0, 0x194(r1) -/* 800BC5B8 000B9518 83 A1 01 64 */ lwz r29, 0x164(r1) -/* 800BC5BC 000B951C 7C 08 03 A6 */ mtlr r0 -/* 800BC5C0 000B9520 38 21 01 90 */ addi r1, r1, 0x190 -/* 800BC5C4 000B9524 4E 80 00 20 */ blr - -.global Update__17COrbitPointMarkerFfRC13CStateManager -Update__17COrbitPointMarkerFfRC13CStateManager: -/* 800BC5C8 000B9528 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 800BC5CC 000B952C 7C 08 02 A6 */ mflr r0 -/* 800BC5D0 000B9530 90 01 01 14 */ stw r0, 0x114(r1) -/* 800BC5D4 000B9534 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 800BC5D8 000B9538 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 800BC5DC 000B953C DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 800BC5E0 000B9540 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 800BC5E4 000B9544 DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 800BC5E8 000B9548 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 800BC5EC 000B954C BF 61 00 CC */ stmw r27, 0xcc(r1) -/* 800BC5F0 000B9550 7C 7C 1B 78 */ mr r28, r3 -/* 800BC5F4 000B9554 FF E0 08 90 */ fmr f31, f1 -/* 800BC5F8 000B9558 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 800BC5FC 000B955C 7C 9D 23 78 */ mr r29, r4 -/* 800BC600 000B9560 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800BC604 000B9564 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 800BC608 000B9568 83 C4 08 4C */ lwz r30, 0x84c(r4) -/* 800BC60C 000B956C 80 64 08 70 */ lwz r3, 0x870(r4) -/* 800BC610 000B9570 83 7E 03 04 */ lwz r27, 0x304(r30) -/* 800BC614 000B9574 4B F4 F5 05 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800BC618 000B9578 38 9B FF FE */ addi r4, r27, -2 -/* 800BC61C 000B957C 38 A0 00 01 */ li r5, 1 -/* 800BC620 000B9580 20 04 00 01 */ subfic r0, r4, 1 -/* 800BC624 000B9584 7C 7F 1B 78 */ mr r31, r3 -/* 800BC628 000B9588 7C A3 23 38 */ orc r3, r5, r4 -/* 800BC62C 000B958C 54 00 F8 7E */ srwi r0, r0, 1 -/* 800BC630 000B9590 7C 00 18 50 */ subf r0, r0, r3 -/* 800BC634 000B9594 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 800BC638 000B9598 40 82 00 08 */ bne lbl_800BC640 -/* 800BC63C 000B959C 38 A0 00 00 */ li r5, 0 -lbl_800BC640: -/* 800BC640 000B95A0 88 7C 00 1C */ lbz r3, 0x1c(r28) -/* 800BC644 000B95A4 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 800BC648 000B95A8 7C 03 00 40 */ cmplw r3, r0 -/* 800BC64C 000B95AC 41 82 01 24 */ beq lbl_800BC770 -/* 800BC650 000B95B0 2C 1B 00 02 */ cmpwi r27, 2 -/* 800BC654 000B95B4 41 82 00 0C */ beq lbl_800BC660 -/* 800BC658 000B95B8 2C 1B 00 03 */ cmpwi r27, 3 -/* 800BC65C 000B95BC 40 82 00 F4 */ bne lbl_800BC750 -lbl_800BC660: -/* 800BC660 000B95C0 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) -/* 800BC664 000B95C4 7F 83 E3 78 */ mr r3, r28 -/* 800BC668 000B95C8 C0 24 00 54 */ lfs f1, 0x54(r4) -/* 800BC66C 000B95CC 4B FF FC 45 */ bl ResetInterpolationTimer__17COrbitPointMarkerFf -/* 800BC670 000B95D0 88 1C 00 04 */ lbz r0, 4(r28) -/* 800BC674 000B95D4 28 00 00 00 */ cmplwi r0, 0 -/* 800BC678 000B95D8 40 82 00 44 */ bne lbl_800BC6BC -/* 800BC67C 000B95DC C3 DC 00 00 */ lfs f30, 0(r28) -/* 800BC680 000B95E0 7F C4 F3 78 */ mr r4, r30 -/* 800BC684 000B95E4 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800BC688 000B95E8 48 0B ED 9D */ bl GetHUDOrbitTargetPosition__7CPlayerCFv -/* 800BC68C 000B95EC C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 800BC690 000B95F0 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 800BC694 000B95F4 C0 41 00 B0 */ lfs f2, 0xb0(r1) -/* 800BC698 000B95F8 C0 62 8D 30 */ lfs f3, lbl_805AAA50@sda21(r2) -/* 800BC69C 000B95FC EC 00 F0 2A */ fadds f0, f0, f30 -/* 800BC6A0 000B9600 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 800BC6A4 000B9604 EC 42 18 2A */ fadds f2, f2, f3 -/* 800BC6A8 000B9608 EC 21 18 2A */ fadds f1, f1, f3 -/* 800BC6AC 000B960C D0 01 00 AC */ stfs f0, 0xac(r1) -/* 800BC6B0 000B9610 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 800BC6B4 000B9614 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 800BC6B8 000B9618 48 00 00 54 */ b lbl_800BC70C -lbl_800BC6BC: -/* 800BC6BC 000B961C C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 800BC6C0 000B9620 7F C4 F3 78 */ mr r4, r30 -/* 800BC6C4 000B9624 C0 1C 00 00 */ lfs f0, 0(r28) -/* 800BC6C8 000B9628 38 61 00 8C */ addi r3, r1, 0x8c -/* 800BC6CC 000B962C C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 800BC6D0 000B9630 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 800BC6D4 000B9634 EF C0 18 2A */ fadds f30, f0, f3 -/* 800BC6D8 000B9638 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 800BC6DC 000B963C D0 21 00 98 */ stfs f1, 0x98(r1) -/* 800BC6E0 000B9640 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 800BC6E4 000B9644 48 0B ED 41 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv -/* 800BC6E8 000B9648 C3 A1 00 90 */ lfs f29, 0x90(r1) -/* 800BC6EC 000B964C 7F C4 F3 78 */ mr r4, r30 -/* 800BC6F0 000B9650 38 61 00 80 */ addi r3, r1, 0x80 -/* 800BC6F4 000B9654 48 0B ED 31 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv -/* 800BC6F8 000B9658 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 800BC6FC 000B965C 38 A1 00 74 */ addi r5, r1, 0x74 -/* 800BC700 000B9660 D3 A1 00 78 */ stfs f29, 0x78(r1) -/* 800BC704 000B9664 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800BC708 000B9668 D3 C1 00 7C */ stfs f30, 0x7c(r1) -lbl_800BC70C: -/* 800BC70C 000B966C C0 05 00 00 */ lfs f0, 0(r5) -/* 800BC710 000B9670 38 61 00 58 */ addi r3, r1, 0x58 -/* 800BC714 000B9674 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800BC718 000B9678 D0 1C 00 10 */ stfs f0, 0x10(r28) -/* 800BC71C 000B967C C0 05 00 04 */ lfs f0, 4(r5) -/* 800BC720 000B9680 D0 1C 00 14 */ stfs f0, 0x14(r28) -/* 800BC724 000B9684 C0 05 00 08 */ lfs f0, 8(r5) -/* 800BC728 000B9688 D0 1C 00 18 */ stfs f0, 0x18(r28) -/* 800BC72C 000B968C 48 25 59 FD */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 800BC730 000B9690 38 61 00 68 */ addi r3, r1, 0x68 -/* 800BC734 000B9694 38 81 00 58 */ addi r4, r1, 0x58 -/* 800BC738 000B9698 4B F5 EE 8D */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion -/* 800BC73C 000B969C C0 22 8D 50 */ lfs f1, lbl_805AAA70@sda21(r2) -/* 800BC740 000B96A0 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 800BC744 000B96A4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800BC748 000B96A8 D0 1C 00 08 */ stfs f0, 8(r28) -/* 800BC74C 000B96AC 48 00 00 14 */ b lbl_800BC760 -lbl_800BC750: -/* 800BC750 000B96B0 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) -/* 800BC754 000B96B4 7F 83 E3 78 */ mr r3, r28 -/* 800BC758 000B96B8 C0 24 00 58 */ lfs f1, 0x58(r4) -/* 800BC75C 000B96BC 4B FF FB 55 */ bl ResetInterpolationTimer__17COrbitPointMarkerFf -lbl_800BC760: -/* 800BC760 000B96C0 88 1C 00 1C */ lbz r0, 0x1c(r28) -/* 800BC764 000B96C4 7C 00 00 34 */ cntlzw r0, r0 -/* 800BC768 000B96C8 54 00 D9 7E */ srwi r0, r0, 5 -/* 800BC76C 000B96CC 98 1C 00 1C */ stb r0, 0x1c(r28) -lbl_800BC770: -/* 800BC770 000B96D0 C0 3C 00 20 */ lfs f1, 0x20(r28) -/* 800BC774 000B96D4 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BC778 000B96D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BC77C 000B96DC 40 81 00 2C */ ble lbl_800BC7A8 -/* 800BC780 000B96E0 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800BC784 000B96E4 C0 0D 86 B4 */ lfs f0, lbl_805A7274@sda21(r13) -/* 800BC788 000B96E8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800BC78C 000B96EC D0 21 00 08 */ stfs f1, 8(r1) -/* 800BC790 000B96F0 40 80 00 0C */ bge lbl_800BC79C -/* 800BC794 000B96F4 38 61 00 08 */ addi r3, r1, 8 -/* 800BC798 000B96F8 48 00 00 08 */ b lbl_800BC7A0 -lbl_800BC79C: -/* 800BC79C 000B96FC 38 6D 86 B4 */ addi r3, r13, lbl_805A7274@sda21 -lbl_800BC7A0: -/* 800BC7A0 000B9700 C0 03 00 00 */ lfs f0, 0(r3) -/* 800BC7A4 000B9704 D0 1C 00 20 */ stfs f0, 0x20(r28) -lbl_800BC7A8: -/* 800BC7A8 000B9708 88 1C 00 04 */ lbz r0, 4(r28) -/* 800BC7AC 000B970C 28 00 00 00 */ cmplwi r0, 0 -/* 800BC7B0 000B9710 40 82 00 88 */ bne lbl_800BC838 -/* 800BC7B4 000B9714 7F C4 F3 78 */ mr r4, r30 -/* 800BC7B8 000B9718 38 61 00 4C */ addi r3, r1, 0x4c -/* 800BC7BC 000B971C 48 0B EC 69 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv -/* 800BC7C0 000B9720 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800BC7C4 000B9724 C0 3C 00 00 */ lfs f1, 0(r28) -/* 800BC7C8 000B9728 C0 BC 00 18 */ lfs f5, 0x18(r28) -/* 800BC7CC 000B972C EC 41 00 2A */ fadds f2, f1, f0 -/* 800BC7D0 000B9730 C0 22 8D 54 */ lfs f1, lbl_805AAA74@sda21(r2) -/* 800BC7D4 000B9734 C0 61 00 4C */ lfs f3, 0x4c(r1) -/* 800BC7D8 000B9738 C0 81 00 50 */ lfs f4, 0x50(r1) -/* 800BC7DC 000B973C EC C2 28 28 */ fsubs f6, f2, f5 -/* 800BC7E0 000B9740 FC 06 08 40 */ fcmpo cr0, f6, f1 -/* 800BC7E4 000B9744 40 80 00 20 */ bge lbl_800BC804 -/* 800BC7E8 000B9748 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BC7EC 000B974C EC 23 00 2A */ fadds f1, f3, f0 -/* 800BC7F0 000B9750 EC 04 00 2A */ fadds f0, f4, f0 -/* 800BC7F4 000B9754 D0 3C 00 10 */ stfs f1, 0x10(r28) -/* 800BC7F8 000B9758 D0 1C 00 14 */ stfs f0, 0x14(r28) -/* 800BC7FC 000B975C D0 5C 00 18 */ stfs f2, 0x18(r28) -/* 800BC800 000B9760 48 00 00 7C */ b lbl_800BC87C -lbl_800BC804: -/* 800BC804 000B9764 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BC808 000B9768 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 800BC80C 000B976C 40 80 00 18 */ bge lbl_800BC824 -/* 800BC810 000B9770 D0 7C 00 10 */ stfs f3, 0x10(r28) -/* 800BC814 000B9774 EC 05 08 28 */ fsubs f0, f5, f1 -/* 800BC818 000B9778 D0 9C 00 14 */ stfs f4, 0x14(r28) -/* 800BC81C 000B977C D0 1C 00 18 */ stfs f0, 0x18(r28) -/* 800BC820 000B9780 48 00 00 5C */ b lbl_800BC87C -lbl_800BC824: -/* 800BC824 000B9784 D0 7C 00 10 */ stfs f3, 0x10(r28) -/* 800BC828 000B9788 EC 01 28 2A */ fadds f0, f1, f5 -/* 800BC82C 000B978C D0 9C 00 14 */ stfs f4, 0x14(r28) -/* 800BC830 000B9790 D0 1C 00 18 */ stfs f0, 0x18(r28) -/* 800BC834 000B9794 48 00 00 48 */ b lbl_800BC87C -lbl_800BC838: -/* 800BC838 000B9798 7F C4 F3 78 */ mr r4, r30 -/* 800BC83C 000B979C 38 61 00 28 */ addi r3, r1, 0x28 -/* 800BC840 000B97A0 48 0B EB E5 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv -/* 800BC844 000B97A4 C0 3C 00 00 */ lfs f1, 0(r28) -/* 800BC848 000B97A8 7F C4 F3 78 */ mr r4, r30 -/* 800BC84C 000B97AC C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800BC850 000B97B0 38 61 00 34 */ addi r3, r1, 0x34 -/* 800BC854 000B97B4 EF C1 00 2A */ fadds f30, f1, f0 -/* 800BC858 000B97B8 48 0B EB CD */ bl GetHUDOrbitTargetPosition__7CPlayerCFv -/* 800BC85C 000B97BC C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 800BC860 000B97C0 7F C4 F3 78 */ mr r4, r30 -/* 800BC864 000B97C4 38 61 00 40 */ addi r3, r1, 0x40 -/* 800BC868 000B97C8 48 0B EB BD */ bl GetHUDOrbitTargetPosition__7CPlayerCFv -/* 800BC86C 000B97CC C0 01 00 40 */ lfs f0, 0x40(r1) -/* 800BC870 000B97D0 D0 1C 00 10 */ stfs f0, 0x10(r28) -/* 800BC874 000B97D4 D3 BC 00 14 */ stfs f29, 0x14(r28) -/* 800BC878 000B97D8 D3 DC 00 18 */ stfs f30, 0x18(r28) -lbl_800BC87C: -/* 800BC87C 000B97DC 88 1C 00 1C */ lbz r0, 0x1c(r28) -/* 800BC880 000B97E0 28 00 00 00 */ cmplwi r0, 0 -/* 800BC884 000B97E4 41 82 00 50 */ beq lbl_800BC8D4 -/* 800BC888 000B97E8 38 61 00 0C */ addi r3, r1, 0xc -/* 800BC88C 000B97EC 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800BC890 000B97F0 48 25 58 99 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 800BC894 000B97F4 38 61 00 1C */ addi r3, r1, 0x1c -/* 800BC898 000B97F8 38 81 00 0C */ addi r4, r1, 0xc -/* 800BC89C 000B97FC 4B F5 ED 29 */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion -/* 800BC8A0 000B9800 C0 22 8D 50 */ lfs f1, lbl_805AAA70@sda21(r2) -/* 800BC8A4 000B9804 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 800BC8A8 000B9808 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 800BC8AC 000B980C EC 21 00 2A */ fadds f1, f1, f0 -/* 800BC8B0 000B9810 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 800BC8B4 000B9814 88 03 03 DC */ lbz r0, 0x3dc(r3) -/* 800BC8B8 000B9818 28 00 00 00 */ cmplwi r0, 0 -/* 800BC8BC 000B981C EC 41 00 28 */ fsubs f2, f1, f0 -/* 800BC8C0 000B9820 41 82 00 10 */ beq lbl_800BC8D0 -/* 800BC8C4 000B9824 C0 1C 00 08 */ lfs f0, 8(r28) -/* 800BC8C8 000B9828 EC 00 10 2A */ fadds f0, f0, f2 -/* 800BC8CC 000B982C D0 1C 00 08 */ stfs f0, 8(r28) -lbl_800BC8D0: -/* 800BC8D0 000B9830 D0 3C 00 0C */ stfs f1, 0xc(r28) -lbl_800BC8D4: -/* 800BC8D4 000B9834 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 800BC8D8 000B9838 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 800BC8DC 000B983C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 800BC8E0 000B9840 CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 800BC8E4 000B9844 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 800BC8E8 000B9848 CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 800BC8EC 000B984C BB 61 00 CC */ lmw r27, 0xcc(r1) -/* 800BC8F0 000B9850 80 01 01 14 */ lwz r0, 0x114(r1) -/* 800BC8F4 000B9854 7C 08 03 A6 */ mtlr r0 -/* 800BC8F8 000B9858 38 21 01 10 */ addi r1, r1, 0x110 -/* 800BC8FC 000B985C 4E 80 00 20 */ blr - -.global CheckLoadComplete__17COrbitPointMarkerFv -CheckLoadComplete__17COrbitPointMarkerFv: -/* 800BC900 000B9860 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BC904 000B9864 7C 08 02 A6 */ mflr r0 -/* 800BC908 000B9868 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BC90C 000B986C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BC910 000B9870 7C 7F 1B 78 */ mr r31, r3 -/* 800BC914 000B9874 80 03 00 30 */ lwz r0, 0x30(r3) -/* 800BC918 000B9878 28 00 00 00 */ cmplwi r0, 0 -/* 800BC91C 000B987C 41 82 00 0C */ beq lbl_800BC928 -/* 800BC920 000B9880 38 60 00 01 */ li r3, 1 -/* 800BC924 000B9884 48 00 00 3C */ b lbl_800BC960 -lbl_800BC928: -/* 800BC928 000B9888 88 1F 00 2C */ lbz r0, 0x2c(r31) -/* 800BC92C 000B988C 28 00 00 00 */ cmplwi r0, 0 -/* 800BC930 000B9890 41 82 00 2C */ beq lbl_800BC95C -/* 800BC934 000B9894 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 800BC938 000B9898 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BC93C 000B989C 28 00 00 00 */ cmplwi r0, 0 -/* 800BC940 000B98A0 41 82 00 1C */ beq lbl_800BC95C -/* 800BC944 000B98A4 38 7F 00 28 */ addi r3, r31, 0x28 -/* 800BC948 000B98A8 48 28 44 C5 */ bl GetObj__6CTokenFv -/* 800BC94C 000B98AC 80 03 00 04 */ lwz r0, 4(r3) -/* 800BC950 000B98B0 38 60 00 01 */ li r3, 1 -/* 800BC954 000B98B4 90 1F 00 30 */ stw r0, 0x30(r31) -/* 800BC958 000B98B8 48 00 00 08 */ b lbl_800BC960 -lbl_800BC95C: -/* 800BC95C 000B98BC 38 60 00 00 */ li r3, 0 -lbl_800BC960: -/* 800BC960 000B98C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BC964 000B98C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BC968 000B98C8 7C 08 03 A6 */ mtlr r0 -/* 800BC96C 000B98CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BC970 000B98D0 4E 80 00 20 */ blr - -.global __ct__17COrbitPointMarkerFv -__ct__17COrbitPointMarkerFv: -/* 800BC974 000B98D4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800BC978 000B98D8 7C 08 02 A6 */ mflr r0 -/* 800BC97C 000B98DC C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800BC980 000B98E0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800BC984 000B98E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BC988 000B98E8 38 00 00 00 */ li r0, 0 -/* 800BC98C 000B98EC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800BC990 000B98F0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800BC994 000B98F4 7C 7E 1B 78 */ mr r30, r3 -/* 800BC998 000B98F8 3C 60 80 3D */ lis r3, lbl_803CDFF8@ha -/* 800BC99C 000B98FC 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) -/* 800BC9A0 000B9900 C0 05 00 50 */ lfs f0, 0x50(r5) -/* 800BC9A4 000B9904 38 A3 DF F8 */ addi r5, r3, lbl_803CDFF8@l -/* 800BC9A8 000B9908 38 60 00 01 */ li r3, 1 -/* 800BC9AC 000B990C D0 1E 00 00 */ stfs f0, 0(r30) -/* 800BC9B0 000B9910 98 7E 00 04 */ stb r3, 4(r30) -/* 800BC9B4 000B9914 38 61 00 08 */ addi r3, r1, 8 -/* 800BC9B8 000B9918 D0 3E 00 08 */ stfs f1, 8(r30) -/* 800BC9BC 000B991C D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 800BC9C0 000B9920 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) -/* 800BC9C4 000B9924 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 800BC9C8 000B9928 C0 04 00 04 */ lfs f0, 4(r4) -/* 800BC9CC 000B992C D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 800BC9D0 000B9930 C0 04 00 08 */ lfs f0, 8(r4) -/* 800BC9D4 000B9934 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 800BC9D8 000B9938 98 1E 00 1C */ stb r0, 0x1c(r30) -/* 800BC9DC 000B993C D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 800BC9E0 000B9940 D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 800BC9E4 000B9944 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800BC9E8 000B9948 81 84 00 00 */ lwz r12, 0(r4) -/* 800BC9EC 000B994C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800BC9F0 000B9950 7D 89 03 A6 */ mtctr r12 -/* 800BC9F4 000B9954 4E 80 04 21 */ bctrl -/* 800BC9F8 000B9958 3B FE 00 28 */ addi r31, r30, 0x28 -/* 800BC9FC 000B995C 38 81 00 08 */ addi r4, r1, 8 -/* 800BCA00 000B9960 7F E3 FB 78 */ mr r3, r31 -/* 800BCA04 000B9964 48 28 44 A5 */ bl __ct__6CTokenFRC6CToken -/* 800BCA08 000B9968 38 00 00 00 */ li r0, 0 -/* 800BCA0C 000B996C 38 61 00 08 */ addi r3, r1, 8 -/* 800BCA10 000B9970 90 1F 00 08 */ stw r0, 8(r31) -/* 800BCA14 000B9974 38 80 FF FF */ li r4, -1 -/* 800BCA18 000B9978 48 28 44 29 */ bl __dt__6CTokenFv -/* 800BCA1C 000B997C 7F E3 FB 78 */ mr r3, r31 -/* 800BCA20 000B9980 48 28 43 65 */ bl Lock__6CTokenFv -/* 800BCA24 000B9984 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800BCA28 000B9988 7F C3 F3 78 */ mr r3, r30 -/* 800BCA2C 000B998C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800BCA30 000B9990 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800BCA34 000B9994 7C 08 03 A6 */ mtlr r0 -/* 800BCA38 000B9998 38 21 00 20 */ addi r1, r1, 0x20 -/* 800BCA3C 000B999C 4E 80 00 20 */ blr - -.global Touch__17CTargetingManagerCFv -Touch__17CTargetingManagerCFv: -/* 800BCA40 000B99A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BCA44 000B99A4 7C 08 02 A6 */ mflr r0 -/* 800BCA48 000B99A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BCA4C 000B99AC 48 00 00 15 */ bl Touch__22CCompoundTargetReticleCFv -/* 800BCA50 000B99B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BCA54 000B99B4 7C 08 03 A6 */ mtlr r0 -/* 800BCA58 000B99B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BCA5C 000B99BC 4E 80 00 20 */ blr - -.global Touch__22CCompoundTargetReticleCFv -Touch__22CCompoundTargetReticleCFv: -/* 800BCA60 000B99C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BCA64 000B99C4 7C 08 02 A6 */ mflr r0 -/* 800BCA68 000B99C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BCA6C 000B99CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BCA70 000B99D0 7C 7F 1B 78 */ mr r31, r3 -/* 800BCA74 000B99D4 93 C1 00 08 */ stw r30, 8(r1) -/* 800BCA78 000B99D8 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 800BCA7C 000B99DC 28 03 00 00 */ cmplwi r3, 0 -/* 800BCA80 000B99E0 41 82 00 0C */ beq lbl_800BCA8C -/* 800BCA84 000B99E4 38 80 00 00 */ li r4, 0 -/* 800BCA88 000B99E8 48 29 8B AD */ bl Touch__6CModelCFi -lbl_800BCA8C: -/* 800BCA8C 000B99EC 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 800BCA90 000B99F0 28 03 00 00 */ cmplwi r3, 0 -/* 800BCA94 000B99F4 41 82 00 0C */ beq lbl_800BCAA0 -/* 800BCA98 000B99F8 38 80 00 00 */ li r4, 0 -/* 800BCA9C 000B99FC 48 29 8B 99 */ bl Touch__6CModelCFi -lbl_800BCAA0: -/* 800BCAA0 000B9A00 80 7F 00 54 */ lwz r3, 0x54(r31) -/* 800BCAA4 000B9A04 28 03 00 00 */ cmplwi r3, 0 -/* 800BCAA8 000B9A08 41 82 00 0C */ beq lbl_800BCAB4 -/* 800BCAAC 000B9A0C 38 80 00 00 */ li r4, 0 -/* 800BCAB0 000B9A10 48 29 8B 85 */ bl Touch__6CModelCFi -lbl_800BCAB4: -/* 800BCAB4 000B9A14 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 800BCAB8 000B9A18 28 03 00 00 */ cmplwi r3, 0 -/* 800BCABC 000B9A1C 41 82 00 0C */ beq lbl_800BCAC8 -/* 800BCAC0 000B9A20 38 80 00 00 */ li r4, 0 -/* 800BCAC4 000B9A24 48 29 8B 71 */ bl Touch__6CModelCFi -lbl_800BCAC8: -/* 800BCAC8 000B9A28 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 800BCACC 000B9A2C 28 03 00 00 */ cmplwi r3, 0 -/* 800BCAD0 000B9A30 41 82 00 0C */ beq lbl_800BCADC -/* 800BCAD4 000B9A34 38 80 00 00 */ li r4, 0 -/* 800BCAD8 000B9A38 48 29 8B 5D */ bl Touch__6CModelCFi -lbl_800BCADC: -/* 800BCADC 000B9A3C 80 7F 00 78 */ lwz r3, 0x78(r31) -/* 800BCAE0 000B9A40 28 03 00 00 */ cmplwi r3, 0 -/* 800BCAE4 000B9A44 41 82 00 0C */ beq lbl_800BCAF0 -/* 800BCAE8 000B9A48 38 80 00 00 */ li r4, 0 -/* 800BCAEC 000B9A4C 48 29 8B 49 */ bl Touch__6CModelCFi -lbl_800BCAF0: -/* 800BCAF0 000B9A50 80 7F 00 84 */ lwz r3, 0x84(r31) -/* 800BCAF4 000B9A54 28 03 00 00 */ cmplwi r3, 0 -/* 800BCAF8 000B9A58 41 82 00 0C */ beq lbl_800BCB04 -/* 800BCAFC 000B9A5C 38 80 00 00 */ li r4, 0 -/* 800BCB00 000B9A60 48 29 8B 35 */ bl Touch__6CModelCFi -lbl_800BCB04: -/* 800BCB04 000B9A64 80 7F 00 90 */ lwz r3, 0x90(r31) -/* 800BCB08 000B9A68 28 03 00 00 */ cmplwi r3, 0 -/* 800BCB0C 000B9A6C 41 82 00 0C */ beq lbl_800BCB18 -/* 800BCB10 000B9A70 38 80 00 00 */ li r4, 0 -/* 800BCB14 000B9A74 48 29 8B 21 */ bl Touch__6CModelCFi -lbl_800BCB18: -/* 800BCB18 000B9A78 80 7F 00 9C */ lwz r3, 0x9c(r31) -/* 800BCB1C 000B9A7C 28 03 00 00 */ cmplwi r3, 0 -/* 800BCB20 000B9A80 41 82 00 0C */ beq lbl_800BCB2C -/* 800BCB24 000B9A84 38 80 00 00 */ li r4, 0 -/* 800BCB28 000B9A88 48 29 8B 0D */ bl Touch__6CModelCFi -lbl_800BCB2C: -/* 800BCB2C 000B9A8C 80 7F 00 A8 */ lwz r3, 0xa8(r31) -/* 800BCB30 000B9A90 28 03 00 00 */ cmplwi r3, 0 -/* 800BCB34 000B9A94 41 82 00 0C */ beq lbl_800BCB40 -/* 800BCB38 000B9A98 38 80 00 00 */ li r4, 0 -/* 800BCB3C 000B9A9C 48 29 8A F9 */ bl Touch__6CModelCFi -lbl_800BCB40: -/* 800BCB40 000B9AA0 80 7F 00 B4 */ lwz r3, 0xb4(r31) -/* 800BCB44 000B9AA4 28 03 00 00 */ cmplwi r3, 0 -/* 800BCB48 000B9AA8 41 82 00 0C */ beq lbl_800BCB54 -/* 800BCB4C 000B9AAC 38 80 00 00 */ li r4, 0 -/* 800BCB50 000B9AB0 48 29 8A E5 */ bl Touch__6CModelCFi -lbl_800BCB54: -/* 800BCB54 000B9AB4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 800BCB58 000B9AB8 28 03 00 00 */ cmplwi r3, 0 -/* 800BCB5C 000B9ABC 41 82 00 0C */ beq lbl_800BCB68 -/* 800BCB60 000B9AC0 38 80 00 00 */ li r4, 0 -/* 800BCB64 000B9AC4 48 29 8A D1 */ bl Touch__6CModelCFi -lbl_800BCB68: -/* 800BCB68 000B9AC8 80 7F 00 CC */ lwz r3, 0xcc(r31) -/* 800BCB6C 000B9ACC 28 03 00 00 */ cmplwi r3, 0 -/* 800BCB70 000B9AD0 41 82 00 0C */ beq lbl_800BCB7C -/* 800BCB74 000B9AD4 38 80 00 00 */ li r4, 0 -/* 800BCB78 000B9AD8 48 29 8A BD */ bl Touch__6CModelCFi -lbl_800BCB7C: -/* 800BCB7C 000B9ADC 83 DF 00 EC */ lwz r30, 0xec(r31) -/* 800BCB80 000B9AE0 48 00 00 1C */ b lbl_800BCB9C -lbl_800BCB84: -/* 800BCB84 000B9AE4 80 7E 00 08 */ lwz r3, 8(r30) -/* 800BCB88 000B9AE8 28 03 00 00 */ cmplwi r3, 0 -/* 800BCB8C 000B9AEC 41 82 00 0C */ beq lbl_800BCB98 -/* 800BCB90 000B9AF0 38 80 00 00 */ li r4, 0 -/* 800BCB94 000B9AF4 48 29 8A A1 */ bl Touch__6CModelCFi -lbl_800BCB98: -/* 800BCB98 000B9AF8 3B DE 00 1C */ addi r30, r30, 0x1c -lbl_800BCB9C: -/* 800BCB9C 000B9AFC 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 800BCBA0 000B9B00 80 7F 00 EC */ lwz r3, 0xec(r31) -/* 800BCBA4 000B9B04 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 800BCBA8 000B9B08 7C 03 02 14 */ add r0, r3, r0 -/* 800BCBAC 000B9B0C 7C 1E 00 40 */ cmplw r30, r0 -/* 800BCBB0 000B9B10 40 82 FF D4 */ bne lbl_800BCB84 -/* 800BCBB4 000B9B14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BCBB8 000B9B18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BCBBC 000B9B1C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BCBC0 000B9B20 7C 08 03 A6 */ mtlr r0 -/* 800BCBC4 000B9B24 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BCBC8 000B9B28 4E 80 00 20 */ blr - -.global Draw__17CTargetingManagerCFRC13CStateManager -Draw__17CTargetingManagerCFRC13CStateManager: -/* 800BCBCC 000B9B2C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 800BCBD0 000B9B30 7C 08 02 A6 */ mflr r0 -/* 800BCBD4 000B9B34 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 800BCBD8 000B9B38 93 E1 00 EC */ stw r31, 0xec(r1) -/* 800BCBDC 000B9B3C 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 800BCBE0 000B9B40 7C BE 2B 78 */ mr r30, r5 -/* 800BCBE4 000B9B44 93 A1 00 E4 */ stw r29, 0xe4(r1) -/* 800BCBE8 000B9B48 7C 9D 23 78 */ mr r29, r4 -/* 800BCBEC 000B9B4C 93 81 00 E0 */ stw r28, 0xe0(r1) -/* 800BCBF0 000B9B50 7C 7C 1B 78 */ mr r28, r3 -/* 800BCBF4 000B9B54 48 28 D3 B9 */ bl White__6CColorFv -/* 800BCBF8 000B9B58 48 24 F4 25 */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 800BCBFC 000B9B5C 48 24 FD 81 */ bl DisableAllLights__9CGraphicsFv -/* 800BCC00 000B9B60 7F A4 EB 78 */ mr r4, r29 -/* 800BCC04 000B9B64 38 7C 02 1C */ addi r3, r28, 0x21c -/* 800BCC08 000B9B68 4B FF F6 B1 */ bl Draw__17COrbitPointMarkerCFRC13CStateManager -/* 800BCC0C 000B9B6C 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 800BCC10 000B9B70 7F A4 EB 78 */ mr r4, r29 -/* 800BCC14 000B9B74 4B F4 EF 05 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800BCC18 000B9B78 80 9D 08 70 */ lwz r4, 0x870(r29) -/* 800BCC1C 000B9B7C 7C 7F 1B 78 */ mr r31, r3 -/* 800BCC20 000B9B80 7F A5 EB 78 */ mr r5, r29 -/* 800BCC24 000B9B84 38 61 00 08 */ addi r3, r1, 8 -/* 800BCC28 000B9B88 4B F4 DD 41 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 800BCC2C 000B9B8C 38 61 00 38 */ addi r3, r1, 0x38 -/* 800BCC30 000B9B90 38 81 00 08 */ addi r4, r1, 8 -/* 800BCC34 000B9B94 48 25 5F 41 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800BCC38 000B9B98 38 61 00 38 */ addi r3, r1, 0x38 -/* 800BCC3C 000B9B9C 48 24 FB 11 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 800BCC40 000B9BA0 C0 22 8D 34 */ lfs f1, lbl_805AAA54@sda21(r2) -/* 800BCC44 000B9BA4 38 61 00 68 */ addi r3, r1, 0x68 -/* 800BCC48 000B9BA8 C0 1F 01 5C */ lfs f0, 0x15c(r31) -/* 800BCC4C 000B9BAC 38 81 00 38 */ addi r4, r1, 0x38 -/* 800BCC50 000B9BB0 C0 5F 01 68 */ lfs f2, 0x168(r31) -/* 800BCC54 000B9BB4 38 A0 00 00 */ li r5, 0 -/* 800BCC58 000B9BB8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 800BCC5C 000B9BBC C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) -/* 800BCC60 000B9BC0 C0 82 8D 3C */ lfs f4, lbl_805AAA5C@sda21(r2) -/* 800BCC64 000B9BC4 48 28 85 F1 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf -/* 800BCC68 000B9BC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BCC6C 000B9BCC 38 81 00 68 */ addi r4, r1, 0x68 -/* 800BCC70 000B9BD0 81 83 00 00 */ lwz r12, 0(r3) -/* 800BCC74 000B9BD4 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 800BCC78 000B9BD8 7D 89 03 A6 */ mtctr r12 -/* 800BCC7C 000B9BDC 4E 80 04 21 */ bctrl -/* 800BCC80 000B9BE0 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 800BCC84 000B9BE4 3C 80 43 30 */ lis r4, 0x4330 -/* 800BCC88 000B9BE8 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 800BCC8C 000B9BEC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BCC90 000B9BF0 80 A6 00 08 */ lwz r5, 8(r6) -/* 800BCC94 000B9BF4 80 06 00 0C */ lwz r0, 0xc(r6) -/* 800BCC98 000B9BF8 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 800BCC9C 000B9BFC 81 83 00 00 */ lwz r12, 0(r3) -/* 800BCCA0 000B9C00 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800BCCA4 000B9C04 90 A1 00 D4 */ stw r5, 0xd4(r1) -/* 800BCCA8 000B9C08 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) -/* 800BCCAC 000B9C0C 90 81 00 D0 */ stw r4, 0xd0(r1) -/* 800BCCB0 000B9C10 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 800BCCB4 000B9C14 C8 01 00 D0 */ lfd f0, 0xd0(r1) -/* 800BCCB8 000B9C18 90 01 00 DC */ stw r0, 0xdc(r1) -/* 800BCCBC 000B9C1C EC 40 18 28 */ fsubs f2, f0, f3 -/* 800BCCC0 000B9C20 C0 3F 01 5C */ lfs f1, 0x15c(r31) -/* 800BCCC4 000B9C24 90 81 00 D8 */ stw r4, 0xd8(r1) -/* 800BCCC8 000B9C28 C0 9F 01 60 */ lfs f4, 0x160(r31) -/* 800BCCCC 000B9C2C C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 800BCCD0 000B9C30 C0 BF 01 64 */ lfs f5, 0x164(r31) -/* 800BCCD4 000B9C34 EC 60 18 28 */ fsubs f3, f0, f3 -/* 800BCCD8 000B9C38 7D 89 03 A6 */ mtctr r12 -/* 800BCCDC 000B9C3C 4E 80 04 21 */ bctrl -/* 800BCCE0 000B9C40 7F 83 E3 78 */ mr r3, r28 -/* 800BCCE4 000B9C44 7F A4 EB 78 */ mr r4, r29 -/* 800BCCE8 000B9C48 7F C5 F3 78 */ mr r5, r30 -/* 800BCCEC 000B9C4C 48 00 2F 69 */ bl Draw__22CCompoundTargetReticleCFRC13CStateManager -/* 800BCCF0 000B9C50 80 A1 00 68 */ lwz r5, 0x68(r1) -/* 800BCCF4 000B9C54 38 60 00 00 */ li r3, 0 -/* 800BCCF8 000B9C58 2C 05 00 00 */ cmpwi r5, 0 -/* 800BCCFC 000B9C5C 40 81 00 40 */ ble lbl_800BCD3C -/* 800BCD00 000B9C60 2C 05 00 08 */ cmpwi r5, 8 -/* 800BCD04 000B9C64 38 85 FF F8 */ addi r4, r5, -8 -/* 800BCD08 000B9C68 40 81 00 20 */ ble lbl_800BCD28 -/* 800BCD0C 000B9C6C 38 04 00 07 */ addi r0, r4, 7 -/* 800BCD10 000B9C70 54 00 E8 FE */ srwi r0, r0, 3 -/* 800BCD14 000B9C74 7C 09 03 A6 */ mtctr r0 -/* 800BCD18 000B9C78 2C 04 00 00 */ cmpwi r4, 0 -/* 800BCD1C 000B9C7C 40 81 00 0C */ ble lbl_800BCD28 -lbl_800BCD20: -/* 800BCD20 000B9C80 38 63 00 08 */ addi r3, r3, 8 -/* 800BCD24 000B9C84 42 00 FF FC */ bdnz lbl_800BCD20 -lbl_800BCD28: -/* 800BCD28 000B9C88 7C 03 28 50 */ subf r0, r3, r5 -/* 800BCD2C 000B9C8C 7C 09 03 A6 */ mtctr r0 -/* 800BCD30 000B9C90 7C 03 28 00 */ cmpw r3, r5 -/* 800BCD34 000B9C94 40 80 00 08 */ bge lbl_800BCD3C -lbl_800BCD38: -/* 800BCD38 000B9C98 42 00 00 00 */ bdnz lbl_800BCD38 -lbl_800BCD3C: -/* 800BCD3C 000B9C9C 38 00 00 00 */ li r0, 0 -/* 800BCD40 000B9CA0 90 01 00 68 */ stw r0, 0x68(r1) -/* 800BCD44 000B9CA4 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 800BCD48 000B9CA8 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 800BCD4C 000B9CAC 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 800BCD50 000B9CB0 83 A1 00 E4 */ lwz r29, 0xe4(r1) -/* 800BCD54 000B9CB4 83 81 00 E0 */ lwz r28, 0xe0(r1) -/* 800BCD58 000B9CB8 7C 08 03 A6 */ mtlr r0 -/* 800BCD5C 000B9CBC 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 800BCD60 000B9CC0 4E 80 00 20 */ blr - -.global Update__17CTargetingManagerFfRC13CStateManager -Update__17CTargetingManagerFfRC13CStateManager: -/* 800BCD64 000B9CC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800BCD68 000B9CC8 7C 08 02 A6 */ mflr r0 -/* 800BCD6C 000B9CCC 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BCD70 000B9CD0 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 800BCD74 000B9CD4 FF E0 08 90 */ fmr f31, f1 -/* 800BCD78 000B9CD8 93 E1 00 14 */ stw r31, 0x14(r1) -/* 800BCD7C 000B9CDC 7C 9F 23 78 */ mr r31, r4 -/* 800BCD80 000B9CE0 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800BCD84 000B9CE4 7C 7E 1B 78 */ mr r30, r3 -/* 800BCD88 000B9CE8 48 00 3B 51 */ bl Update__22CCompoundTargetReticleFfRC13CStateManager -/* 800BCD8C 000B9CEC FC 20 F8 90 */ fmr f1, f31 -/* 800BCD90 000B9CF0 7F E4 FB 78 */ mr r4, r31 -/* 800BCD94 000B9CF4 38 7E 02 1C */ addi r3, r30, 0x21c -/* 800BCD98 000B9CF8 4B FF F8 31 */ bl Update__17COrbitPointMarkerFfRC13CStateManager -/* 800BCD9C 000B9CFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800BCDA0 000B9D00 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 800BCDA4 000B9D04 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 800BCDA8 000B9D08 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 800BCDAC 000B9D0C 7C 08 03 A6 */ mtlr r0 -/* 800BCDB0 000B9D10 38 21 00 20 */ addi r1, r1, 0x20 -/* 800BCDB4 000B9D14 4E 80 00 20 */ blr - -.global CheckLoadComplete__17CTargetingManagerFv -CheckLoadComplete__17CTargetingManagerFv: -/* 800BCDB8 000B9D18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BCDBC 000B9D1C 7C 08 02 A6 */ mflr r0 -/* 800BCDC0 000B9D20 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BCDC4 000B9D24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BCDC8 000B9D28 3B E0 00 00 */ li r31, 0 -/* 800BCDCC 000B9D2C 93 C1 00 08 */ stw r30, 8(r1) -/* 800BCDD0 000B9D30 7C 7E 1B 78 */ mr r30, r3 -/* 800BCDD4 000B9D34 48 00 45 51 */ bl CheckLoadComplete__22CCompoundTargetReticleFv -/* 800BCDD8 000B9D38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BCDDC 000B9D3C 41 82 00 18 */ beq lbl_800BCDF4 -/* 800BCDE0 000B9D40 38 7E 02 1C */ addi r3, r30, 0x21c -/* 800BCDE4 000B9D44 4B FF FB 1D */ bl CheckLoadComplete__17COrbitPointMarkerFv -/* 800BCDE8 000B9D48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BCDEC 000B9D4C 41 82 00 08 */ beq lbl_800BCDF4 -/* 800BCDF0 000B9D50 3B E0 00 01 */ li r31, 1 -lbl_800BCDF4: -/* 800BCDF4 000B9D54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BCDF8 000B9D58 7F E3 FB 78 */ mr r3, r31 -/* 800BCDFC 000B9D5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BCE00 000B9D60 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BCE04 000B9D64 7C 08 03 A6 */ mtlr r0 -/* 800BCE08 000B9D68 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BCE0C 000B9D6C 4E 80 00 20 */ blr - -.global __ct__17CTargetingManagerFRC13CStateManager -__ct__17CTargetingManagerFRC13CStateManager: -/* 800BCE10 000B9D70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800BCE14 000B9D74 7C 08 02 A6 */ mflr r0 -/* 800BCE18 000B9D78 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BCE1C 000B9D7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800BCE20 000B9D80 7C 7F 1B 78 */ mr r31, r3 -/* 800BCE24 000B9D84 48 00 45 09 */ bl __ct__22CCompoundTargetReticleFRC13CStateManager -/* 800BCE28 000B9D88 38 7F 02 1C */ addi r3, r31, 0x21c -/* 800BCE2C 000B9D8C 4B FF FB 49 */ bl __ct__17COrbitPointMarkerFv -/* 800BCE30 000B9D90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800BCE34 000B9D94 7F E3 FB 78 */ mr r3, r31 -/* 800BCE38 000B9D98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800BCE3C 000B9D9C 7C 08 03 A6 */ mtlr r0 -/* 800BCE40 000B9DA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800BCE44 000B9DA4 4E 80 00 20 */ blr - -.global InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef -InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef: -/* 800BCE48 000B9DA8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800BCE4C 000B9DAC 7C 08 02 A6 */ mflr r0 -/* 800BCE50 000B9DB0 90 01 00 34 */ stw r0, 0x34(r1) -/* 800BCE54 000B9DB4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800BCE58 000B9DB8 7C BF 2B 78 */ mr r31, r5 -/* 800BCE5C 000B9DBC 38 AD 86 B0 */ addi r5, r13, lbl_805A7270@sda21 -/* 800BCE60 000B9DC0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800BCE64 000B9DC4 7C 9E 23 78 */ mr r30, r4 -/* 800BCE68 000B9DC8 38 81 00 08 */ addi r4, r1, 8 -/* 800BCE6C 000B9DCC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800BCE70 000B9DD0 7C 7D 1B 78 */ mr r29, r3 -/* 800BCE74 000B9DD4 38 6D 86 AC */ addi r3, r13, lbl_805A726C@sda21 -/* 800BCE78 000B9DD8 D0 21 00 08 */ stfs f1, 8(r1) -/* 800BCE7C 000B9DDC 4B F4 F4 39 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800BCE80 000B9DE0 C0 E3 00 00 */ lfs f7, 0(r3) -/* 800BCE84 000B9DE4 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) -/* 800BCE88 000B9DE8 C0 1F 00 04 */ lfs f0, 4(r31) -/* 800BCE8C 000B9DEC EC C2 38 28 */ fsubs f6, f2, f7 -/* 800BCE90 000B9DF0 C0 3D 00 04 */ lfs f1, 4(r29) -/* 800BCE94 000B9DF4 EC 07 00 32 */ fmuls f0, f7, f0 -/* 800BCE98 000B9DF8 FC 02 38 00 */ fcmpu cr0, f2, f7 -/* 800BCE9C 000B9DFC EC 06 00 7A */ fmadds f0, f6, f1, f0 -/* 800BCEA0 000B9E00 D0 1E 00 04 */ stfs f0, 4(r30) -/* 800BCEA4 000B9E04 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 800BCEA8 000B9E08 C0 3D 00 14 */ lfs f1, 0x14(r29) -/* 800BCEAC 000B9E0C EC 07 00 32 */ fmuls f0, f7, f0 -/* 800BCEB0 000B9E10 EC 06 00 7A */ fmadds f0, f6, f1, f0 -/* 800BCEB4 000B9E14 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 800BCEB8 000B9E18 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 800BCEBC 000B9E1C C0 3D 00 18 */ lfs f1, 0x18(r29) -/* 800BCEC0 000B9E20 EC 07 00 32 */ fmuls f0, f7, f0 -/* 800BCEC4 000B9E24 EC 06 00 7A */ fmadds f0, f6, f1, f0 -/* 800BCEC8 000B9E28 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 800BCECC 000B9E2C C0 1F 00 08 */ lfs f0, 8(r31) -/* 800BCED0 000B9E30 C0 7F 00 0C */ lfs f3, 0xc(r31) -/* 800BCED4 000B9E34 C0 5F 00 10 */ lfs f2, 0x10(r31) -/* 800BCED8 000B9E38 EC 00 01 F2 */ fmuls f0, f0, f7 -/* 800BCEDC 000B9E3C C0 3D 00 08 */ lfs f1, 8(r29) -/* 800BCEE0 000B9E40 EC 83 01 F2 */ fmuls f4, f3, f7 -/* 800BCEE4 000B9E44 C0 BD 00 0C */ lfs f5, 0xc(r29) -/* 800BCEE8 000B9E48 EC 42 01 F2 */ fmuls f2, f2, f7 -/* 800BCEEC 000B9E4C C0 7D 00 10 */ lfs f3, 0x10(r29) -/* 800BCEF0 000B9E50 EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 800BCEF4 000B9E54 EC 85 21 BA */ fmadds f4, f5, f6, f4 -/* 800BCEF8 000B9E58 EC 23 11 BA */ fmadds f1, f3, f6, f2 -/* 800BCEFC 000B9E5C D0 1E 00 08 */ stfs f0, 8(r30) -/* 800BCF00 000B9E60 D0 9E 00 0C */ stfs f4, 0xc(r30) -/* 800BCF04 000B9E64 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 800BCF08 000B9E68 40 82 00 18 */ bne lbl_800BCF20 -/* 800BCF0C 000B9E6C A0 1F 00 00 */ lhz r0, 0(r31) -/* 800BCF10 000B9E70 B0 01 00 18 */ sth r0, 0x18(r1) -/* 800BCF14 000B9E74 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 800BCF18 000B9E78 B0 1E 00 00 */ sth r0, 0(r30) -/* 800BCF1C 000B9E7C 48 00 00 30 */ b lbl_800BCF4C -lbl_800BCF20: -/* 800BCF20 000B9E80 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BCF24 000B9E84 FC 00 38 00 */ fcmpu cr0, f0, f7 -/* 800BCF28 000B9E88 40 82 00 18 */ bne lbl_800BCF40 -/* 800BCF2C 000B9E8C A0 1D 00 00 */ lhz r0, 0(r29) -/* 800BCF30 000B9E90 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800BCF34 000B9E94 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800BCF38 000B9E98 B0 1E 00 00 */ sth r0, 0(r30) -/* 800BCF3C 000B9E9C 48 00 00 10 */ b lbl_800BCF4C -lbl_800BCF40: -/* 800BCF40 000B9EA0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800BCF44 000B9EA4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800BCF48 000B9EA8 B0 1E 00 00 */ sth r0, 0(r30) -lbl_800BCF4C: -/* 800BCF4C 000B9EAC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800BCF50 000B9EB0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800BCF54 000B9EB4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800BCF58 000B9EB8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800BCF5C 000B9EBC 7C 08 03 A6 */ mtlr r0 -/* 800BCF60 000B9EC0 38 21 00 30 */ addi r1, r1, 0x30 -/* 800BCF64 000B9EC4 4E 80 00 20 */ blr - -.global __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb -__ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb: -/* 800BCF68 000B9EC8 A0 04 00 00 */ lhz r0, 0(r4) -/* 800BCF6C 000B9ECC B0 03 00 00 */ sth r0, 0(r3) -/* 800BCF70 000B9ED0 D0 23 00 04 */ stfs f1, 4(r3) -/* 800BCF74 000B9ED4 C0 05 00 00 */ lfs f0, 0(r5) -/* 800BCF78 000B9ED8 D0 03 00 08 */ stfs f0, 8(r3) -/* 800BCF7C 000B9EDC C0 05 00 04 */ lfs f0, 4(r5) -/* 800BCF80 000B9EE0 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800BCF84 000B9EE4 C0 05 00 08 */ lfs f0, 8(r5) -/* 800BCF88 000B9EE8 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800BCF8C 000B9EEC D0 43 00 14 */ stfs f2, 0x14(r3) -/* 800BCF90 000B9EF0 D0 63 00 18 */ stfs f3, 0x18(r3) -/* 800BCF94 000B9EF4 98 C3 00 1C */ stb r6, 0x1c(r3) -/* 800BCF98 000B9EF8 4E 80 00 20 */ blr - -.global CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager: -/* 800BCF9C 000B9EFC 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 800BCFA0 000B9F00 7C 08 02 A6 */ mflr r0 -/* 800BCFA4 000B9F04 90 01 01 04 */ stw r0, 0x104(r1) -/* 800BCFA8 000B9F08 DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 800BCFAC 000B9F0C F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 800BCFB0 000B9F10 DB C1 00 E0 */ stfd f30, 0xe0(r1) -/* 800BCFB4 000B9F14 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 -/* 800BCFB8 000B9F18 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 800BCFBC 000B9F1C 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 800BCFC0 000B9F20 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 800BCFC4 000B9F24 FF E0 08 90 */ fmr f31, f1 -/* 800BCFC8 000B9F28 7C 9E 23 78 */ mr r30, r4 -/* 800BCFCC 000B9F2C 7C 7D 1B 78 */ mr r29, r3 -/* 800BCFD0 000B9F30 D0 41 00 08 */ stfs f2, 8(r1) -/* 800BCFD4 000B9F34 80 64 08 70 */ lwz r3, 0x870(r4) -/* 800BCFD8 000B9F38 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 800BCFDC 000B9F3C 4B F4 EB 3D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800BCFE0 000B9F40 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 800BCFE4 000B9F44 7C 7F 1B 78 */ mr r31, r3 -/* 800BCFE8 000B9F48 7F C5 F3 78 */ mr r5, r30 -/* 800BCFEC 000B9F4C 38 61 00 5C */ addi r3, r1, 0x5c -/* 800BCFF0 000B9F50 4B F4 D9 79 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 800BCFF4 000B9F54 38 61 00 8C */ addi r3, r1, 0x8c -/* 800BCFF8 000B9F58 38 81 00 5C */ addi r4, r1, 0x5c -/* 800BCFFC 000B9F5C 48 25 5B 79 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800BD000 000B9F60 C0 3D 00 08 */ lfs f1, 8(r29) -/* 800BD004 000B9F64 38 9F 00 34 */ addi r4, r31, 0x34 -/* 800BD008 000B9F68 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 800BD00C 000B9F6C 38 61 00 44 */ addi r3, r1, 0x44 -/* 800BD010 000B9F70 C0 7D 00 04 */ lfs f3, 4(r29) -/* 800BD014 000B9F74 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800BD018 000B9F78 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800BD01C 000B9F7C C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 800BD020 000B9F80 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 800BD024 000B9F84 C0 3D 00 00 */ lfs f1, 0(r29) -/* 800BD028 000B9F88 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800BD02C 000B9F8C D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 800BD030 000B9F90 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800BD034 000B9F94 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800BD038 000B9F98 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800BD03C 000B9F9C 48 25 59 E9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800BD040 000B9FA0 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 800BD044 000B9FA4 7F E3 FB 78 */ mr r3, r31 -/* 800BD048 000B9FA8 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 800BD04C 000B9FAC C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800BD050 000B9FB0 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 800BD054 000B9FB4 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 800BD058 000B9FB8 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800BD05C 000B9FBC 4B FA 09 1D */ bl GetPerspectiveMatrix__11CGameCameraCFv -/* 800BD060 000B9FC0 7C 64 1B 78 */ mr r4, r3 -/* 800BD064 000B9FC4 38 61 00 38 */ addi r3, r1, 0x38 -/* 800BD068 000B9FC8 38 A1 00 50 */ addi r5, r1, 0x50 -/* 800BD06C 000B9FCC 48 25 36 E5 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f -/* 800BD070 000B9FD0 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 800BD074 000B9FD4 7F E3 FB 78 */ mr r3, r31 -/* 800BD078 000B9FD8 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 800BD07C 000B9FDC C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) -/* 800BD080 000B9FE0 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800BD084 000B9FE4 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 800BD088 000B9FE8 EC 63 10 2A */ fadds f3, f3, f2 -/* 800BD08C 000B9FEC C3 C1 00 38 */ lfs f30, 0x38(r1) -/* 800BD090 000B9FF0 EC 21 10 2A */ fadds f1, f1, f2 -/* 800BD094 000B9FF4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800BD098 000B9FF8 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 800BD09C 000B9FFC D0 21 00 28 */ stfs f1, 0x28(r1) -/* 800BD0A0 000BA000 4B FA 08 D9 */ bl GetPerspectiveMatrix__11CGameCameraCFv -/* 800BD0A4 000BA004 7C 64 1B 78 */ mr r4, r3 -/* 800BD0A8 000BA008 38 61 00 2C */ addi r3, r1, 0x2c -/* 800BD0AC 000BA00C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800BD0B0 000BA010 48 25 36 A1 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f -/* 800BD0B4 000BA014 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 800BD0B8 000BA018 3C 00 43 30 */ lis r0, 0x4330 -/* 800BD0BC 000BA01C 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l -/* 800BD0C0 000BA020 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800BD0C4 000BA024 80 83 00 08 */ lwz r4, 8(r3) -/* 800BD0C8 000BA028 38 61 00 08 */ addi r3, r1, 8 -/* 800BD0CC 000BA02C EC 40 F0 28 */ fsubs f2, f0, f30 -/* 800BD0D0 000BA030 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 800BD0D4 000BA034 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 800BD0D8 000BA038 C8 22 8D 40 */ lfd f1, lbl_805AAA60@sda21(r2) -/* 800BD0DC 000BA03C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800BD0E0 000BA040 38 81 00 10 */ addi r4, r1, 0x10 -/* 800BD0E4 000BA044 C8 01 00 C0 */ lfd f0, 0xc0(r1) -/* 800BD0E8 000BA048 38 A1 00 0C */ addi r5, r1, 0xc -/* 800BD0EC 000BA04C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 800BD0F0 000BA050 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BD0F4 000BA054 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800BD0F8 000BA058 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800BD0FC 000BA05C 4B F4 F1 B9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800BD100 000BA060 C0 23 00 00 */ lfs f1, 0(r3) -/* 800BD104 000BA064 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800BD108 000BA068 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800BD10C 000BA06C EC 3F 00 32 */ fmuls f1, f31, f0 -/* 800BD110 000BA070 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 800BD114 000BA074 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 800BD118 000BA078 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 -/* 800BD11C 000BA07C CB C1 00 E0 */ lfd f30, 0xe0(r1) -/* 800BD120 000BA080 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 800BD124 000BA084 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 800BD128 000BA088 80 01 01 04 */ lwz r0, 0x104(r1) -/* 800BD12C 000BA08C 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 800BD130 000BA090 7C 08 03 A6 */ mtlr r0 -/* 800BD134 000BA094 38 21 01 00 */ addi r1, r1, 0x100 -/* 800BD138 000BA098 4E 80 00 20 */ blr - -.global IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager -IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager: -/* 800BD13C 000BA09C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800BD140 000BA0A0 7C 08 02 A6 */ mflr r0 -/* 800BD144 000BA0A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BD148 000BA0A8 A0 03 00 00 */ lhz r0, 0(r3) -/* 800BD14C 000BA0AC 80 64 08 10 */ lwz r3, 0x810(r4) -/* 800BD150 000BA0B0 38 81 00 08 */ addi r4, r1, 8 -/* 800BD154 000BA0B4 B0 01 00 08 */ sth r0, 8(r1) -/* 800BD158 000BA0B8 4B F5 2C 95 */ bl GetObjectById__11CObjectListCF9TUniqueId -/* 800BD15C 000BA0BC 7C 64 1B 78 */ mr r4, r3 -/* 800BD160 000BA0C0 38 61 00 0C */ addi r3, r1, 0xc -/* 800BD164 000BA0C4 4B FE C9 65 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" -/* 800BD168 000BA0C8 80 63 00 04 */ lwz r3, 4(r3) -/* 800BD16C 000BA0CC 7C 03 00 D0 */ neg r0, r3 -/* 800BD170 000BA0D0 7C 00 1B 78 */ or r0, r0, r3 -/* 800BD174 000BA0D4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 800BD178 000BA0D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800BD17C 000BA0DC 7C 08 03 A6 */ mtlr r0 -/* 800BD180 000BA0E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800BD184 000BA0E4 4E 80 00 20 */ blr - -.global CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb -CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb: -/* 800BD188 000BA0E8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 800BD18C 000BA0EC 7C 08 02 A6 */ mflr r0 -/* 800BD190 000BA0F0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 800BD194 000BA0F4 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 800BD198 000BA0F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 800BD19C 000BA0FC 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 800BD1A0 000BA100 93 C1 00 98 */ stw r30, 0x98(r1) -/* 800BD1A4 000BA104 93 A1 00 94 */ stw r29, 0x94(r1) -/* 800BD1A8 000BA108 93 81 00 90 */ stw r28, 0x90(r1) -/* 800BD1AC 000BA10C 7C BE 2B 78 */ mr r30, r5 -/* 800BD1B0 000BA110 7C 7C 1B 78 */ mr r28, r3 -/* 800BD1B4 000BA114 80 65 08 70 */ lwz r3, 0x870(r5) -/* 800BD1B8 000BA118 7C 9D 23 78 */ mr r29, r4 -/* 800BD1BC 000BA11C 7C DF 33 78 */ mr r31, r6 -/* 800BD1C0 000BA120 7F C4 F3 78 */ mr r4, r30 -/* 800BD1C4 000BA124 4B F4 E9 55 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800BD1C8 000BA128 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 800BD1CC 000BA12C 3C 00 43 30 */ lis r0, 0x4330 -/* 800BD1D0 000BA130 90 01 00 80 */ stw r0, 0x80(r1) -/* 800BD1D4 000BA134 80 04 01 B0 */ lwz r0, 0x1b0(r4) -/* 800BD1D8 000BA138 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) -/* 800BD1DC 000BA13C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800BD1E0 000BA140 C0 82 8D 58 */ lfs f4, lbl_805AAA78@sda21(r2) -/* 800BD1E4 000BA144 90 01 00 84 */ stw r0, 0x84(r1) -/* 800BD1E8 000BA148 C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) -/* 800BD1EC 000BA14C C8 41 00 80 */ lfd f2, 0x80(r1) -/* 800BD1F0 000BA150 C0 03 01 5C */ lfs f0, 0x15c(r3) -/* 800BD1F4 000BA154 EC 62 18 28 */ fsubs f3, f2, f3 -/* 800BD1F8 000BA158 C0 42 8D 60 */ lfs f2, lbl_805AAA80@sda21(r2) -/* 800BD1FC 000BA15C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800BD200 000BA160 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) -/* 800BD204 000BA164 EF E4 18 24 */ fdivs f31, f4, f3 -/* 800BD208 000BA168 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800BD20C 000BA16C EC 21 00 32 */ fmuls f1, f1, f0 -/* 800BD210 000BA170 48 25 80 B1 */ bl SlowTangentR__5CMathFf -/* 800BD214 000BA174 EF FF 08 24 */ fdivs f31, f31, f1 -/* 800BD218 000BA178 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 800BD21C 000BA17C 7F C5 F3 78 */ mr r5, r30 -/* 800BD220 000BA180 38 61 00 20 */ addi r3, r1, 0x20 -/* 800BD224 000BA184 4B F4 D7 45 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 800BD228 000BA188 38 61 00 50 */ addi r3, r1, 0x50 -/* 800BD22C 000BA18C 38 81 00 20 */ addi r4, r1, 0x20 -/* 800BD230 000BA190 48 25 59 45 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800BD234 000BA194 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 800BD238 000BA198 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800BD23C 000BA19C C0 21 00 54 */ lfs f1, 0x54(r1) -/* 800BD240 000BA1A0 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 800BD244 000BA1A4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800BD248 000BA1A8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800BD24C 000BA1AC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800BD250 000BA1B0 41 82 00 2C */ beq lbl_800BD27C -/* 800BD254 000BA1B4 38 61 00 08 */ addi r3, r1, 8 -/* 800BD258 000BA1B8 38 9D 00 10 */ addi r4, r29, 0x10 -/* 800BD25C 000BA1BC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800BD260 000BA1C0 48 25 40 05 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 800BD264 000BA1C4 C0 41 00 08 */ lfs f2, 8(r1) -/* 800BD268 000BA1C8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 800BD26C 000BA1CC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800BD270 000BA1D0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 800BD274 000BA1D4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800BD278 000BA1D8 D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_800BD27C: -/* 800BD27C 000BA1DC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800BD280 000BA1E0 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 800BD284 000BA1E4 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800BD288 000BA1E8 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 800BD28C 000BA1EC EC 9F 00 F2 */ fmuls f4, f31, f3 -/* 800BD290 000BA1F0 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 800BD294 000BA1F4 C0 A1 00 6C */ lfs f5, 0x6c(r1) -/* 800BD298 000BA1F8 EC 01 00 2A */ fadds f0, f1, f0 -/* 800BD29C 000BA1FC C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 800BD2A0 000BA200 EC 3F 00 B2 */ fmuls f1, f31, f2 -/* 800BD2A4 000BA204 EC 45 20 2A */ fadds f2, f5, f4 -/* 800BD2A8 000BA208 D0 1C 00 00 */ stfs f0, 0(r28) -/* 800BD2AC 000BA20C EC 03 08 2A */ fadds f0, f3, f1 -/* 800BD2B0 000BA210 D0 5C 00 04 */ stfs f2, 4(r28) -/* 800BD2B4 000BA214 D0 1C 00 08 */ stfs f0, 8(r28) -/* 800BD2B8 000BA218 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 800BD2BC 000BA21C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 800BD2C0 000BA220 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 800BD2C4 000BA224 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 800BD2C8 000BA228 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 800BD2CC 000BA22C 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 800BD2D0 000BA230 83 81 00 90 */ lwz r28, 0x90(r1) -/* 800BD2D4 000BA234 7C 08 03 A6 */ mtlr r0 -/* 800BD2D8 000BA238 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 800BD2DC 000BA23C 4E 80 00 20 */ blr - -.global CalculatePositionWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager -CalculatePositionWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager: -/* 800BD2E0 000BA240 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800BD2E4 000BA244 7C 08 02 A6 */ mflr r0 -/* 800BD2E8 000BA248 90 01 00 34 */ stw r0, 0x34(r1) -/* 800BD2EC 000BA24C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800BD2F0 000BA250 7C 7F 1B 78 */ mr r31, r3 -/* 800BD2F4 000BA254 80 04 00 20 */ lwz r0, 0x20(r4) -/* 800BD2F8 000BA258 2C 00 00 01 */ cmpwi r0, 1 -/* 800BD2FC 000BA25C 40 82 00 28 */ bne lbl_800BD324 -/* 800BD300 000BA260 7C A4 2B 78 */ mr r4, r5 -/* 800BD304 000BA264 7C C5 33 78 */ mr r5, r6 -/* 800BD308 000BA268 81 84 00 00 */ lwz r12, 0(r4) -/* 800BD30C 000BA26C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800BD310 000BA270 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 800BD314 000BA274 7D 89 03 A6 */ mtctr r12 -/* 800BD318 000BA278 4E 80 04 21 */ bctrl -/* 800BD31C 000BA27C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800BD320 000BA280 48 00 00 28 */ b lbl_800BD348 -lbl_800BD324: -/* 800BD324 000BA284 7C A4 2B 78 */ mr r4, r5 -/* 800BD328 000BA288 7C C5 33 78 */ mr r5, r6 -/* 800BD32C 000BA28C 81 84 00 00 */ lwz r12, 0(r4) -/* 800BD330 000BA290 38 61 00 08 */ addi r3, r1, 8 -/* 800BD334 000BA294 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800BD338 000BA298 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 800BD33C 000BA29C 7D 89 03 A6 */ mtctr r12 -/* 800BD340 000BA2A0 4E 80 04 21 */ bctrl -/* 800BD344 000BA2A4 38 61 00 08 */ addi r3, r1, 8 -lbl_800BD348: -/* 800BD348 000BA2A8 C0 03 00 00 */ lfs f0, 0(r3) -/* 800BD34C 000BA2AC D0 1F 00 00 */ stfs f0, 0(r31) -/* 800BD350 000BA2B0 C0 03 00 04 */ lfs f0, 4(r3) -/* 800BD354 000BA2B4 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800BD358 000BA2B8 C0 03 00 08 */ lfs f0, 8(r3) -/* 800BD35C 000BA2BC D0 1F 00 08 */ stfs f0, 8(r31) -/* 800BD360 000BA2C0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800BD364 000BA2C4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800BD368 000BA2C8 7C 08 03 A6 */ mtlr r0 -/* 800BD36C 000BA2CC 38 21 00 30 */ addi r1, r1, 0x30 -/* 800BD370 000BA2D0 4E 80 00 20 */ blr - -.global CalculateRadiusWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager -CalculateRadiusWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager: -/* 800BD374 000BA2D4 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 800BD378 000BA2D8 7C 08 02 A6 */ mflr r0 -/* 800BD37C 000BA2DC 90 01 00 94 */ stw r0, 0x94(r1) -/* 800BD380 000BA2E0 38 61 00 50 */ addi r3, r1, 0x50 -/* 800BD384 000BA2E4 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 800BD388 000BA2E8 7C BF 2B 78 */ mr r31, r5 -/* 800BD38C 000BA2EC 93 C1 00 88 */ stw r30, 0x88(r1) -/* 800BD390 000BA2F0 7C 9E 23 78 */ mr r30, r4 -/* 800BD394 000BA2F4 81 84 00 00 */ lwz r12, 0(r4) -/* 800BD398 000BA2F8 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 800BD39C 000BA2FC 7D 89 03 A6 */ mtctr r12 -/* 800BD3A0 000BA300 4E 80 04 21 */ bctrl -/* 800BD3A4 000BA304 88 01 00 68 */ lbz r0, 0x68(r1) -/* 800BD3A8 000BA308 28 00 00 00 */ cmplwi r0, 0 -/* 800BD3AC 000BA30C 98 01 00 84 */ stb r0, 0x84(r1) -/* 800BD3B0 000BA310 41 82 00 3C */ beq lbl_800BD3EC -/* 800BD3B4 000BA314 34 61 00 6C */ addic. r3, r1, 0x6c -/* 800BD3B8 000BA318 41 82 00 34 */ beq lbl_800BD3EC -/* 800BD3BC 000BA31C C0 01 00 50 */ lfs f0, 0x50(r1) -/* 800BD3C0 000BA320 D0 03 00 00 */ stfs f0, 0(r3) -/* 800BD3C4 000BA324 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800BD3C8 000BA328 D0 03 00 04 */ stfs f0, 4(r3) -/* 800BD3CC 000BA32C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 800BD3D0 000BA330 D0 03 00 08 */ stfs f0, 8(r3) -/* 800BD3D4 000BA334 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 800BD3D8 000BA338 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800BD3DC 000BA33C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 800BD3E0 000BA340 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800BD3E4 000BA344 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 800BD3E8 000BA348 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_800BD3EC: -/* 800BD3EC 000BA34C 88 01 00 84 */ lbz r0, 0x84(r1) -/* 800BD3F0 000BA350 38 60 00 00 */ li r3, 0 -/* 800BD3F4 000BA354 98 61 00 68 */ stb r3, 0x68(r1) -/* 800BD3F8 000BA358 28 00 00 00 */ cmplwi r0, 0 -/* 800BD3FC 000BA35C 41 82 00 0C */ beq lbl_800BD408 -/* 800BD400 000BA360 38 61 00 6C */ addi r3, r1, 0x6c -/* 800BD404 000BA364 48 00 00 54 */ b lbl_800BD458 -lbl_800BD408: -/* 800BD408 000BA368 7F C4 F3 78 */ mr r4, r30 -/* 800BD40C 000BA36C 7F E5 FB 78 */ mr r5, r31 -/* 800BD410 000BA370 81 9E 00 00 */ lwz r12, 0(r30) -/* 800BD414 000BA374 38 61 00 2C */ addi r3, r1, 0x2c -/* 800BD418 000BA378 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800BD41C 000BA37C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 800BD420 000BA380 7D 89 03 A6 */ mtctr r12 -/* 800BD424 000BA384 4E 80 04 21 */ bctrl -/* 800BD428 000BA388 7F C4 F3 78 */ mr r4, r30 -/* 800BD42C 000BA38C 7F E5 FB 78 */ mr r5, r31 -/* 800BD430 000BA390 81 9E 00 00 */ lwz r12, 0(r30) -/* 800BD434 000BA394 38 61 00 20 */ addi r3, r1, 0x20 -/* 800BD438 000BA398 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800BD43C 000BA39C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 800BD440 000BA3A0 7D 89 03 A6 */ mtctr r12 -/* 800BD444 000BA3A4 4E 80 04 21 */ bctrl -/* 800BD448 000BA3A8 38 61 00 38 */ addi r3, r1, 0x38 -/* 800BD44C 000BA3AC 38 81 00 20 */ addi r4, r1, 0x20 -/* 800BD450 000BA3B0 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800BD454 000BA3B4 48 27 B0 B5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -lbl_800BD458: -/* 800BD458 000BA3B8 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) -/* 800BD45C 000BA3BC C0 43 00 00 */ lfs f2, 0(r3) -/* 800BD460 000BA3C0 80 04 00 04 */ lwz r0, 4(r4) -/* 800BD464 000BA3C4 C0 83 00 04 */ lfs f4, 4(r3) -/* 800BD468 000BA3C8 2C 00 00 01 */ cmpwi r0, 1 -/* 800BD46C 000BA3CC C0 A3 00 08 */ lfs f5, 8(r3) -/* 800BD470 000BA3D0 C0 63 00 0C */ lfs f3, 0xc(r3) -/* 800BD474 000BA3D4 C0 C3 00 10 */ lfs f6, 0x10(r3) -/* 800BD478 000BA3D8 C0 E3 00 14 */ lfs f7, 0x14(r3) -/* 800BD47C 000BA3DC 41 82 00 68 */ beq lbl_800BD4E4 -/* 800BD480 000BA3E0 40 80 00 B4 */ bge lbl_800BD534 -/* 800BD484 000BA3E4 2C 00 00 00 */ cmpwi r0, 0 -/* 800BD488 000BA3E8 40 80 00 0C */ bge lbl_800BD494 -/* 800BD48C 000BA3EC 48 00 00 A8 */ b lbl_800BD534 -/* 800BD490 000BA3F0 48 00 00 A4 */ b lbl_800BD534 -lbl_800BD494: -/* 800BD494 000BA3F4 EC 06 20 28 */ fsubs f0, f6, f4 -/* 800BD498 000BA3F8 EC 27 28 28 */ fsubs f1, f7, f5 -/* 800BD49C 000BA3FC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800BD4A0 000BA400 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800BD4A4 000BA404 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800BD4A8 000BA408 40 80 00 0C */ bge lbl_800BD4B4 -/* 800BD4AC 000BA40C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800BD4B0 000BA410 48 00 00 08 */ b lbl_800BD4B8 -lbl_800BD4B4: -/* 800BD4B4 000BA414 38 61 00 18 */ addi r3, r1, 0x18 -lbl_800BD4B8: -/* 800BD4B8 000BA418 EC 23 10 28 */ fsubs f1, f3, f2 -/* 800BD4BC 000BA41C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800BD4C0 000BA420 C0 03 00 00 */ lfs f0, 0(r3) -/* 800BD4C4 000BA424 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800BD4C8 000BA428 40 80 00 08 */ bge lbl_800BD4D0 -/* 800BD4CC 000BA42C 48 00 00 08 */ b lbl_800BD4D4 -lbl_800BD4D0: -/* 800BD4D0 000BA430 38 61 00 1C */ addi r3, r1, 0x1c -lbl_800BD4D4: -/* 800BD4D4 000BA434 C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) -/* 800BD4D8 000BA438 C0 03 00 00 */ lfs f0, 0(r3) -/* 800BD4DC 000BA43C EC 21 00 32 */ fmuls f1, f1, f0 -/* 800BD4E0 000BA440 48 00 00 70 */ b lbl_800BD550 -lbl_800BD4E4: -/* 800BD4E4 000BA444 EC 06 20 28 */ fsubs f0, f6, f4 -/* 800BD4E8 000BA448 EC 27 28 28 */ fsubs f1, f7, f5 -/* 800BD4EC 000BA44C D0 01 00 08 */ stfs f0, 8(r1) -/* 800BD4F0 000BA450 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BD4F4 000BA454 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800BD4F8 000BA458 40 80 00 0C */ bge lbl_800BD504 -/* 800BD4FC 000BA45C 38 61 00 08 */ addi r3, r1, 8 -/* 800BD500 000BA460 48 00 00 08 */ b lbl_800BD508 -lbl_800BD504: -/* 800BD504 000BA464 38 61 00 0C */ addi r3, r1, 0xc -lbl_800BD508: -/* 800BD508 000BA468 EC 23 10 28 */ fsubs f1, f3, f2 -/* 800BD50C 000BA46C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800BD510 000BA470 C0 03 00 00 */ lfs f0, 0(r3) -/* 800BD514 000BA474 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BD518 000BA478 40 80 00 08 */ bge lbl_800BD520 -/* 800BD51C 000BA47C 48 00 00 08 */ b lbl_800BD524 -lbl_800BD520: -/* 800BD520 000BA480 38 61 00 10 */ addi r3, r1, 0x10 -lbl_800BD524: -/* 800BD524 000BA484 C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) -/* 800BD528 000BA488 C0 03 00 00 */ lfs f0, 0(r3) -/* 800BD52C 000BA48C EC 21 00 32 */ fmuls f1, f1, f0 -/* 800BD530 000BA490 48 00 00 20 */ b lbl_800BD550 -lbl_800BD534: -/* 800BD534 000BA494 EC 23 10 28 */ fsubs f1, f3, f2 -/* 800BD538 000BA498 C0 62 8D 68 */ lfs f3, lbl_805AAA88@sda21(r2) -/* 800BD53C 000BA49C EC 07 28 28 */ fsubs f0, f7, f5 -/* 800BD540 000BA4A0 EC 46 20 28 */ fsubs f2, f6, f4 -/* 800BD544 000BA4A4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800BD548 000BA4A8 EC 02 00 2A */ fadds f0, f2, f0 -/* 800BD54C 000BA4AC EC 23 00 32 */ fmuls f1, f3, f0 -lbl_800BD550: -/* 800BD550 000BA4B0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BD554 000BA4B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BD558 000BA4B8 40 81 00 08 */ ble lbl_800BD560 -/* 800BD55C 000BA4BC 48 00 00 08 */ b lbl_800BD564 -lbl_800BD560: -/* 800BD560 000BA4C0 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -lbl_800BD564: -/* 800BD564 000BA4C4 38 00 00 00 */ li r0, 0 -/* 800BD568 000BA4C8 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 800BD56C 000BA4CC 98 01 00 84 */ stb r0, 0x84(r1) -/* 800BD570 000BA4D0 80 01 00 94 */ lwz r0, 0x94(r1) -/* 800BD574 000BA4D4 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 800BD578 000BA4D8 7C 08 03 A6 */ mtlr r0 -/* 800BD57C 000BA4DC 38 21 00 90 */ addi r1, r1, 0x90 -/* 800BD580 000BA4E0 4E 80 00 20 */ blr - -.global UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager -UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager: -/* 800BD584 000BA4E4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800BD588 000BA4E8 7C 08 02 A6 */ mflr r0 -/* 800BD58C 000BA4EC 90 01 00 44 */ stw r0, 0x44(r1) -/* 800BD590 000BA4F0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800BD594 000BA4F4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800BD598 000BA4F8 7C BE 2B 78 */ mr r30, r5 -/* 800BD59C 000BA4FC 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800BD5A0 000BA500 7C 9D 23 78 */ mr r29, r4 -/* 800BD5A4 000BA504 93 81 00 30 */ stw r28, 0x30(r1) -/* 800BD5A8 000BA508 7C 7C 1B 78 */ mr r28, r3 -/* 800BD5AC 000BA50C A0 04 00 00 */ lhz r0, 0(r4) -/* 800BD5B0 000BA510 38 81 00 0C */ addi r4, r1, 0xc -/* 800BD5B4 000BA514 80 65 08 10 */ lwz r3, 0x810(r5) -/* 800BD5B8 000BA518 B0 01 00 08 */ sth r0, 8(r1) -/* 800BD5BC 000BA51C B0 01 00 0C */ sth r0, 0xc(r1) -/* 800BD5C0 000BA520 4B F5 28 2D */ bl GetObjectById__11CObjectListCF9TUniqueId -/* 800BD5C4 000BA524 7C 64 1B 78 */ mr r4, r3 -/* 800BD5C8 000BA528 38 61 00 10 */ addi r3, r1, 0x10 -/* 800BD5CC 000BA52C 4B FF 26 C5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 800BD5D0 000BA530 83 E3 00 04 */ lwz r31, 4(r3) -/* 800BD5D4 000BA534 28 1F 00 00 */ cmplwi r31, 0 -/* 800BD5D8 000BA538 41 82 00 48 */ beq lbl_800BD620 -/* 800BD5DC 000BA53C 7F 83 E3 78 */ mr r3, r28 -/* 800BD5E0 000BA540 7F E4 FB 78 */ mr r4, r31 -/* 800BD5E4 000BA544 7F C5 F3 78 */ mr r5, r30 -/* 800BD5E8 000BA548 4B FF FD 8D */ bl CalculateRadiusWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager -/* 800BD5EC 000BA54C D0 3D 00 04 */ stfs f1, 4(r29) -/* 800BD5F0 000BA550 7F 84 E3 78 */ mr r4, r28 -/* 800BD5F4 000BA554 7F E5 FB 78 */ mr r5, r31 -/* 800BD5F8 000BA558 7F C6 F3 78 */ mr r6, r30 -/* 800BD5FC 000BA55C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800BD600 000BA560 4B FF FC E1 */ bl CalculatePositionWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager -/* 800BD604 000BA564 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 800BD608 000BA568 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 800BD60C 000BA56C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800BD610 000BA570 D0 1D 00 08 */ stfs f0, 8(r29) -/* 800BD614 000BA574 D0 3D 00 0C */ stfs f1, 0xc(r29) -/* 800BD618 000BA578 D0 5D 00 10 */ stfs f2, 0x10(r29) -/* 800BD61C 000BA57C 48 00 00 60 */ b lbl_800BD67C -lbl_800BD620: -/* 800BD620 000BA580 88 1D 00 1C */ lbz r0, 0x1c(r29) -/* 800BD624 000BA584 28 00 00 00 */ cmplwi r0, 0 -/* 800BD628 000BA588 41 82 00 54 */ beq lbl_800BD67C -/* 800BD62C 000BA58C C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) -/* 800BD630 000BA590 38 00 00 00 */ li r0, 0 -/* 800BD634 000BA594 D0 1D 00 04 */ stfs f0, 4(r29) -/* 800BD638 000BA598 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 800BD63C 000BA59C 2C 03 00 02 */ cmpwi r3, 2 -/* 800BD640 000BA5A0 41 82 00 0C */ beq lbl_800BD64C -/* 800BD644 000BA5A4 2C 03 00 03 */ cmpwi r3, 3 -/* 800BD648 000BA5A8 40 82 00 08 */ bne lbl_800BD650 -lbl_800BD64C: -/* 800BD64C 000BA5AC 38 00 00 01 */ li r0, 1 -lbl_800BD650: -/* 800BD650 000BA5B0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800BD654 000BA5B4 41 82 00 0C */ beq lbl_800BD660 -/* 800BD658 000BA5B8 38 7C 01 00 */ addi r3, r28, 0x100 -/* 800BD65C 000BA5BC 48 00 00 08 */ b lbl_800BD664 -lbl_800BD660: -/* 800BD660 000BA5C0 38 7C 00 F4 */ addi r3, r28, 0xf4 -lbl_800BD664: -/* 800BD664 000BA5C4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800BD668 000BA5C8 D0 1D 00 08 */ stfs f0, 8(r29) -/* 800BD66C 000BA5CC C0 03 00 04 */ lfs f0, 4(r3) -/* 800BD670 000BA5D0 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 800BD674 000BA5D4 C0 03 00 08 */ lfs f0, 8(r3) -/* 800BD678 000BA5D8 D0 1D 00 10 */ stfs f0, 0x10(r29) -lbl_800BD67C: -/* 800BD67C 000BA5DC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800BD680 000BA5E0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800BD684 000BA5E4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800BD688 000BA5E8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800BD68C 000BA5EC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 800BD690 000BA5F0 7C 08 03 A6 */ mtlr r0 -/* 800BD694 000BA5F4 38 21 00 40 */ addi r1, r1, 0x40 -/* 800BD698 000BA5F8 4E 80 00 20 */ blr - -.global DrawOrbitZoneGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager -DrawOrbitZoneGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager: -/* 800BD69C 000BA5FC 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 800BD6A0 000BA600 7C 08 02 A6 */ mflr r0 -/* 800BD6A4 000BA604 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800BD6A8 000BA608 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 800BD6AC 000BA60C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 800BD6B0 000BA610 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 800BD6B4 000BA614 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 800BD6B8 000BA618 93 A1 00 C4 */ stw r29, 0xc4(r1) -/* 800BD6BC 000BA61C 93 81 00 C0 */ stw r28, 0xc0(r1) -/* 800BD6C0 000BA620 7C 7C 1B 78 */ mr r28, r3 -/* 800BD6C4 000BA624 7C 9D 23 78 */ mr r29, r4 -/* 800BD6C8 000BA628 80 03 00 28 */ lwz r0, 0x28(r3) -/* 800BD6CC 000BA62C 2C 00 00 00 */ cmpwi r0, 0 -/* 800BD6D0 000BA630 41 81 01 10 */ bgt lbl_800BD7E0 -/* 800BD6D4 000BA634 C0 3C 01 E8 */ lfs f1, 0x1e8(r28) -/* 800BD6D8 000BA638 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BD6DC 000BA63C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BD6E0 000BA640 40 81 01 00 */ ble lbl_800BD7E0 -/* 800BD6E4 000BA644 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 800BD6E8 000BA648 28 00 00 00 */ cmplwi r0, 0 -/* 800BD6EC 000BA64C 40 82 00 30 */ bne lbl_800BD71C -/* 800BD6F0 000BA650 88 1C 00 38 */ lbz r0, 0x38(r28) -/* 800BD6F4 000BA654 28 00 00 00 */ cmplwi r0, 0 -/* 800BD6F8 000BA658 41 82 00 24 */ beq lbl_800BD71C -/* 800BD6FC 000BA65C 80 7C 00 34 */ lwz r3, 0x34(r28) -/* 800BD700 000BA660 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BD704 000BA664 28 00 00 00 */ cmplwi r0, 0 -/* 800BD708 000BA668 41 82 00 14 */ beq lbl_800BD71C -/* 800BD70C 000BA66C 38 7C 00 34 */ addi r3, r28, 0x34 -/* 800BD710 000BA670 48 28 36 FD */ bl GetObj__6CTokenFv -/* 800BD714 000BA674 80 03 00 04 */ lwz r0, 4(r3) -/* 800BD718 000BA678 90 1C 00 3C */ stw r0, 0x3c(r28) -lbl_800BD71C: -/* 800BD71C 000BA67C 83 DC 00 3C */ lwz r30, 0x3c(r28) -/* 800BD720 000BA680 28 1E 00 00 */ cmplwi r30, 0 -/* 800BD724 000BA684 41 82 00 BC */ beq lbl_800BD7E0 -/* 800BD728 000BA688 83 ED A1 40 */ lwz r31, gpTweakTargeting@sda21(r13) -/* 800BD72C 000BA68C 38 61 00 1C */ addi r3, r1, 0x1c -/* 800BD730 000BA690 C0 3C 01 E8 */ lfs f1, 0x1e8(r28) -/* 800BD734 000BA694 48 25 5B 0D */ bl Scale__12CTransform4fFf -/* 800BD738 000BA698 7F A4 EB 78 */ mr r4, r29 -/* 800BD73C 000BA69C 38 61 00 4C */ addi r3, r1, 0x4c -/* 800BD740 000BA6A0 38 BC 00 F4 */ addi r5, r28, 0xf4 -/* 800BD744 000BA6A4 48 25 5B 35 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BD748 000BA6A8 7C 64 1B 78 */ mr r4, r3 -/* 800BD74C 000BA6AC 38 61 00 7C */ addi r3, r1, 0x7c -/* 800BD750 000BA6B0 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800BD754 000BA6B4 48 25 51 FD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800BD758 000BA6B8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BD75C 000BA6BC 38 81 00 7C */ addi r4, r1, 0x7c -/* 800BD760 000BA6C0 81 83 00 00 */ lwz r12, 0(r3) -/* 800BD764 000BA6C4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BD768 000BA6C8 7D 89 03 A6 */ mtctr r12 -/* 800BD76C 000BA6CC 4E 80 04 21 */ bctrl -/* 800BD770 000BA6D0 88 7F 01 C3 */ lbz r3, 0x1c3(r31) -/* 800BD774 000BA6D4 3C 00 43 30 */ lis r0, 0x4330 -/* 800BD778 000BA6D8 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 800BD77C 000BA6DC C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BD780 000BA6E0 90 61 00 B4 */ stw r3, 0xb4(r1) -/* 800BD784 000BA6E4 C0 5C 01 E8 */ lfs f2, 0x1e8(r28) -/* 800BD788 000BA6E8 C8 01 00 B0 */ lfd f0, 0xb0(r1) -/* 800BD78C 000BA6EC EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BD790 000BA6F0 EF E2 00 32 */ fmuls f31, f2, f0 -/* 800BD794 000BA6F4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800BD798 000BA6F8 38 80 00 03 */ li r4, 3 -/* 800BD79C 000BA6FC 80 FF 01 C0 */ lwz r7, 0x1c0(r31) -/* 800BD7A0 000BA700 38 C0 00 07 */ li r6, 7 -/* 800BD7A4 000BA704 38 A0 00 00 */ li r5, 0 -/* 800BD7A8 000BA708 89 01 00 08 */ lbz r8, 8(r1) -/* 800BD7AC 000BA70C 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 -/* 800BD7B0 000BA710 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d -/* 800BD7B4 000BA714 B0 81 00 0E */ sth r4, 0xe(r1) -/* 800BD7B8 000BA718 7F C3 F3 78 */ mr r3, r30 -/* 800BD7BC 000BA71C 38 81 00 14 */ addi r4, r1, 0x14 -/* 800BD7C0 000BA720 98 C1 00 0C */ stb r6, 0xc(r1) -/* 800BD7C4 000BA724 98 A1 00 0D */ stb r5, 0xd(r1) -/* 800BD7C8 000BA728 91 01 00 10 */ stw r8, 0x10(r1) -/* 800BD7CC 000BA72C 98 C1 00 14 */ stb r6, 0x14(r1) -/* 800BD7D0 000BA730 98 A1 00 15 */ stb r5, 0x15(r1) -/* 800BD7D4 000BA734 B0 01 00 16 */ sth r0, 0x16(r1) -/* 800BD7D8 000BA738 91 01 00 18 */ stw r8, 0x18(r1) -/* 800BD7DC 000BA73C 48 29 83 F9 */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BD7E0: -/* 800BD7E0 000BA740 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 800BD7E4 000BA744 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800BD7E8 000BA748 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 800BD7EC 000BA74C 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 800BD7F0 000BA750 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 800BD7F4 000BA754 83 A1 00 C4 */ lwz r29, 0xc4(r1) -/* 800BD7F8 000BA758 83 81 00 C0 */ lwz r28, 0xc0(r1) -/* 800BD7FC 000BA75C 7C 08 03 A6 */ mtlr r0 -/* 800BD800 000BA760 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800BD804 000BA764 4E 80 00 20 */ blr - -.global DrawNextLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager -DrawNextLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager: -/* 800BD808 000BA768 94 21 FA C0 */ stwu r1, -0x540(r1) -/* 800BD80C 000BA76C 7C 08 02 A6 */ mflr r0 -/* 800BD810 000BA770 90 01 05 44 */ stw r0, 0x544(r1) -/* 800BD814 000BA774 DB E1 05 30 */ stfd f31, 0x530(r1) -/* 800BD818 000BA778 F3 E1 05 38 */ psq_st f31, 1336(r1), 0, qr0 -/* 800BD81C 000BA77C DB C1 05 20 */ stfd f30, 0x520(r1) -/* 800BD820 000BA780 F3 C1 05 28 */ psq_st f30, 1320(r1), 0, qr0 -/* 800BD824 000BA784 DB A1 05 10 */ stfd f29, 0x510(r1) -/* 800BD828 000BA788 F3 A1 05 18 */ psq_st f29, 1304(r1), 0, qr0 -/* 800BD82C 000BA78C DB 81 05 00 */ stfd f28, 0x500(r1) -/* 800BD830 000BA790 F3 81 05 08 */ psq_st f28, 1288(r1), 0, qr0 -/* 800BD834 000BA794 DB 61 04 F0 */ stfd f27, 0x4f0(r1) -/* 800BD838 000BA798 F3 61 04 F8 */ psq_st f27, 1272(r1), 0, qr0 -/* 800BD83C 000BA79C DB 41 04 E0 */ stfd f26, 0x4e0(r1) -/* 800BD840 000BA7A0 F3 41 04 E8 */ psq_st f26, 1256(r1), 0, qr0 -/* 800BD844 000BA7A4 DB 21 04 D0 */ stfd f25, 0x4d0(r1) -/* 800BD848 000BA7A8 F3 21 04 D8 */ psq_st f25, 1240(r1), 0, qr0 -/* 800BD84C 000BA7AC DB 01 04 C0 */ stfd f24, 0x4c0(r1) -/* 800BD850 000BA7B0 F3 01 04 C8 */ psq_st f24, 1224(r1), 0, qr0 -/* 800BD854 000BA7B4 DA E1 04 B0 */ stfd f23, 0x4b0(r1) -/* 800BD858 000BA7B8 F2 E1 04 B8 */ psq_st f23, 1208(r1), 0, qr0 -/* 800BD85C 000BA7BC DA C1 04 A0 */ stfd f22, 0x4a0(r1) -/* 800BD860 000BA7C0 F2 C1 04 A8 */ psq_st f22, 1192(r1), 0, qr0 -/* 800BD864 000BA7C4 DA A1 04 90 */ stfd f21, 0x490(r1) -/* 800BD868 000BA7C8 F2 A1 04 98 */ psq_st f21, 1176(r1), 0, qr0 -/* 800BD86C 000BA7CC DA 81 04 80 */ stfd f20, 0x480(r1) -/* 800BD870 000BA7D0 F2 81 04 88 */ psq_st f20, 1160(r1), 0, qr0 -/* 800BD874 000BA7D4 DA 61 04 70 */ stfd f19, 0x470(r1) -/* 800BD878 000BA7D8 F2 61 04 78 */ psq_st f19, 1144(r1), 0, qr0 -/* 800BD87C 000BA7DC BF 01 04 50 */ stmw r24, 0x450(r1) -/* 800BD880 000BA7E0 7C 79 1B 78 */ mr r25, r3 -/* 800BD884 000BA7E4 7C 9A 23 78 */ mr r26, r4 -/* 800BD888 000BA7E8 80 03 00 28 */ lwz r0, 0x28(r3) -/* 800BD88C 000BA7EC 7C BB 2B 78 */ mr r27, r5 -/* 800BD890 000BA7F0 2C 00 00 00 */ cmpwi r0, 0 -/* 800BD894 000BA7F4 41 81 09 4C */ bgt lbl_800BE1E0 -/* 800BD898 000BA7F8 C0 59 01 7C */ lfs f2, 0x17c(r25) -/* 800BD89C 000BA7FC C0 39 01 80 */ lfs f1, 0x180(r25) -/* 800BD8A0 000BA800 C0 19 01 84 */ lfs f0, 0x184(r25) -/* 800BD8A4 000BA804 80 7B 08 B8 */ lwz r3, 0x8b8(r27) -/* 800BD8A8 000BA808 D0 41 01 38 */ stfs f2, 0x138(r1) -/* 800BD8AC 000BA80C C3 59 01 78 */ lfs f26, 0x178(r25) -/* 800BD8B0 000BA810 D0 21 01 3C */ stfs f1, 0x13c(r1) -/* 800BD8B4 000BA814 C3 39 01 88 */ lfs f25, 0x188(r25) -/* 800BD8B8 000BA818 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 800BD8BC 000BA81C 80 63 00 00 */ lwz r3, 0(r3) -/* 800BD8C0 000BA820 4B FD 3F A5 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 800BD8C4 000BA824 80 19 00 20 */ lwz r0, 0x20(r25) -/* 800BD8C8 000BA828 FF E0 08 90 */ fmr f31, f1 -/* 800BD8CC 000BA82C 3B E0 00 00 */ li r31, 0 -/* 800BD8D0 000BA830 3B C0 00 00 */ li r30, 0 -/* 800BD8D4 000BA834 2C 00 00 02 */ cmpwi r0, 2 -/* 800BD8D8 000BA838 3B A0 00 00 */ li r29, 0 -/* 800BD8DC 000BA83C 41 82 00 2C */ beq lbl_800BD908 -/* 800BD8E0 000BA840 40 80 00 14 */ bge lbl_800BD8F4 -/* 800BD8E4 000BA844 2C 00 00 00 */ cmpwi r0, 0 -/* 800BD8E8 000BA848 41 82 00 2C */ beq lbl_800BD914 -/* 800BD8EC 000BA84C 40 80 00 14 */ bge lbl_800BD900 -/* 800BD8F0 000BA850 48 00 00 24 */ b lbl_800BD914 -lbl_800BD8F4: -/* 800BD8F4 000BA854 2C 00 00 04 */ cmpwi r0, 4 -/* 800BD8F8 000BA858 40 80 00 1C */ bge lbl_800BD914 -/* 800BD8FC 000BA85C 48 00 00 14 */ b lbl_800BD910 -lbl_800BD900: -/* 800BD900 000BA860 3B E0 00 01 */ li r31, 1 -/* 800BD904 000BA864 48 00 00 10 */ b lbl_800BD914 -lbl_800BD908: -/* 800BD908 000BA868 3B C0 00 01 */ li r30, 1 -/* 800BD90C 000BA86C 48 00 00 08 */ b lbl_800BD914 -lbl_800BD910: -/* 800BD910 000BA870 3B A0 00 01 */ li r29, 1 -lbl_800BD914: -/* 800BD914 000BA874 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800BD918 000BA878 C3 19 01 8C */ lfs f24, 0x18c(r25) -/* 800BD91C 000BA87C 40 82 01 AC */ bne lbl_800BDAC8 -/* 800BD920 000BA880 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BD924 000BA884 FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 800BD928 000BA888 40 81 01 A0 */ ble lbl_800BDAC8 -/* 800BD92C 000BA88C 80 19 00 48 */ lwz r0, 0x48(r25) -/* 800BD930 000BA890 28 00 00 00 */ cmplwi r0, 0 -/* 800BD934 000BA894 40 82 00 30 */ bne lbl_800BD964 -/* 800BD938 000BA898 88 19 00 44 */ lbz r0, 0x44(r25) -/* 800BD93C 000BA89C 28 00 00 00 */ cmplwi r0, 0 -/* 800BD940 000BA8A0 41 82 00 24 */ beq lbl_800BD964 -/* 800BD944 000BA8A4 80 79 00 40 */ lwz r3, 0x40(r25) -/* 800BD948 000BA8A8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BD94C 000BA8AC 28 00 00 00 */ cmplwi r0, 0 -/* 800BD950 000BA8B0 41 82 00 14 */ beq lbl_800BD964 -/* 800BD954 000BA8B4 38 79 00 40 */ addi r3, r25, 0x40 -/* 800BD958 000BA8B8 48 28 34 B5 */ bl GetObj__6CTokenFv -/* 800BD95C 000BA8BC 80 03 00 04 */ lwz r0, 4(r3) -/* 800BD960 000BA8C0 90 19 00 48 */ stw r0, 0x48(r25) -lbl_800BD964: -/* 800BD964 000BA8C4 83 99 00 48 */ lwz r28, 0x48(r25) -/* 800BD968 000BA8C8 28 1C 00 00 */ cmplwi r28, 0 -/* 800BD96C 000BA8CC 41 82 01 5C */ beq lbl_800BDAC8 -/* 800BD970 000BA8D0 80 C1 01 38 */ lwz r6, 0x138(r1) -/* 800BD974 000BA8D4 FC 20 D0 90 */ fmr f1, f26 -/* 800BD978 000BA8D8 80 A1 01 3C */ lwz r5, 0x13c(r1) -/* 800BD97C 000BA8DC 7F 64 DB 78 */ mr r4, r27 -/* 800BD980 000BA8E0 80 01 01 40 */ lwz r0, 0x140(r1) -/* 800BD984 000BA8E4 38 61 01 2C */ addi r3, r1, 0x12c -/* 800BD988 000BA8E8 90 C1 01 2C */ stw r6, 0x12c(r1) -/* 800BD98C 000BA8EC 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BD990 000BA8F0 90 A1 01 30 */ stw r5, 0x130(r1) -/* 800BD994 000BA8F4 90 01 01 34 */ stw r0, 0x134(r1) -/* 800BD998 000BA8F8 C0 06 01 64 */ lfs f0, 0x164(r6) -/* 800BD99C 000BA8FC C0 66 01 68 */ lfs f3, 0x168(r6) -/* 800BD9A0 000BA900 EC 58 00 32 */ fmuls f2, f24, f0 -/* 800BD9A4 000BA904 4B FF F5 F9 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BD9A8 000BA908 83 0D A1 40 */ lwz r24, gpTweakTargeting@sda21(r13) -/* 800BD9AC 000BA90C 38 61 03 48 */ addi r3, r1, 0x348 -/* 800BD9B0 000BA910 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) -/* 800BD9B4 000BA914 38 81 00 10 */ addi r4, r1, 0x10 -/* 800BD9B8 000BA918 C0 78 00 24 */ lfs f3, 0x24(r24) -/* 800BD9BC 000BA91C C0 19 01 EC */ lfs f0, 0x1ec(r25) -/* 800BD9C0 000BA920 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 800BD9C4 000BA924 D0 41 03 28 */ stfs f2, 0x328(r1) -/* 800BD9C8 000BA928 D0 41 03 2C */ stfs f2, 0x32c(r1) -/* 800BD9CC 000BA92C D0 21 03 24 */ stfs f1, 0x324(r1) -/* 800BD9D0 000BA930 D0 41 03 30 */ stfs f2, 0x330(r1) -/* 800BD9D4 000BA934 D0 21 03 34 */ stfs f1, 0x334(r1) -/* 800BD9D8 000BA938 D0 41 03 38 */ stfs f2, 0x338(r1) -/* 800BD9DC 000BA93C D0 41 03 3C */ stfs f2, 0x33c(r1) -/* 800BD9E0 000BA940 D0 41 03 40 */ stfs f2, 0x340(r1) -/* 800BD9E4 000BA944 D0 21 03 44 */ stfs f1, 0x344(r1) -/* 800BD9E8 000BA948 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800BD9EC 000BA94C 48 25 2A A9 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800BD9F0 000BA950 7F 44 D3 78 */ mr r4, r26 -/* 800BD9F4 000BA954 38 61 03 6C */ addi r3, r1, 0x36c -/* 800BD9F8 000BA958 38 A1 03 48 */ addi r5, r1, 0x348 -/* 800BD9FC 000BA95C 48 25 27 35 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BDA00 000BA960 38 61 03 90 */ addi r3, r1, 0x390 -/* 800BDA04 000BA964 38 81 03 6C */ addi r4, r1, 0x36c -/* 800BDA08 000BA968 38 A1 03 24 */ addi r5, r1, 0x324 -/* 800BDA0C 000BA96C 48 25 27 25 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BDA10 000BA970 38 61 04 20 */ addi r3, r1, 0x420 -/* 800BDA14 000BA974 38 81 03 90 */ addi r4, r1, 0x390 -/* 800BDA18 000BA978 48 25 26 0D */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BDA1C 000BA97C C0 59 01 7C */ lfs f2, 0x17c(r25) -/* 800BDA20 000BA980 38 61 02 F4 */ addi r3, r1, 0x2f4 -/* 800BDA24 000BA984 C0 39 01 80 */ lfs f1, 0x180(r25) -/* 800BDA28 000BA988 38 81 04 20 */ addi r4, r1, 0x420 -/* 800BDA2C 000BA98C C0 19 01 84 */ lfs f0, 0x184(r25) -/* 800BDA30 000BA990 38 A1 01 20 */ addi r5, r1, 0x120 -/* 800BDA34 000BA994 D0 41 01 20 */ stfs f2, 0x120(r1) -/* 800BDA38 000BA998 D0 21 01 24 */ stfs f1, 0x124(r1) -/* 800BDA3C 000BA99C D0 01 01 28 */ stfs f0, 0x128(r1) -/* 800BDA40 000BA9A0 48 25 58 39 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BDA44 000BA9A4 7C 64 1B 78 */ mr r4, r3 -/* 800BDA48 000BA9A8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BDA4C 000BA9AC 81 83 00 00 */ lwz r12, 0(r3) -/* 800BDA50 000BA9B0 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BDA54 000BA9B4 7D 89 03 A6 */ mtctr r12 -/* 800BDA58 000BA9B8 4E 80 04 21 */ bctrl -/* 800BDA5C 000BA9BC 88 78 01 53 */ lbz r3, 0x153(r24) -/* 800BDA60 000BA9C0 3C 00 43 30 */ lis r0, 0x4330 -/* 800BDA64 000BA9C4 90 01 04 48 */ stw r0, 0x448(r1) -/* 800BDA68 000BA9C8 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BDA6C 000BA9CC 90 61 04 4C */ stw r3, 0x44c(r1) -/* 800BDA70 000BA9D0 C8 01 04 48 */ lfd f0, 0x448(r1) -/* 800BDA74 000BA9D4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BDA78 000BA9D8 EF D9 00 32 */ fmuls f30, f25, f0 -/* 800BDA7C 000BA9DC F3 C1 A0 0B */ psq_st f30, 11(r1), 1, qr2 -/* 800BDA80 000BA9E0 38 80 00 03 */ li r4, 3 -/* 800BDA84 000BA9E4 80 F8 01 50 */ lwz r7, 0x150(r24) -/* 800BDA88 000BA9E8 38 C0 00 07 */ li r6, 7 -/* 800BDA8C 000BA9EC 38 A0 00 00 */ li r5, 0 -/* 800BDA90 000BA9F0 89 01 00 0B */ lbz r8, 0xb(r1) -/* 800BDA94 000BA9F4 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 -/* 800BDA98 000BA9F8 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d -/* 800BDA9C 000BA9FC B0 81 00 3A */ sth r4, 0x3a(r1) -/* 800BDAA0 000BAA00 7F 83 E3 78 */ mr r3, r28 -/* 800BDAA4 000BAA04 38 81 00 40 */ addi r4, r1, 0x40 -/* 800BDAA8 000BAA08 98 C1 00 38 */ stb r6, 0x38(r1) -/* 800BDAAC 000BAA0C 98 A1 00 39 */ stb r5, 0x39(r1) -/* 800BDAB0 000BAA10 91 01 00 3C */ stw r8, 0x3c(r1) -/* 800BDAB4 000BAA14 98 C1 00 40 */ stb r6, 0x40(r1) -/* 800BDAB8 000BAA18 98 A1 00 41 */ stb r5, 0x41(r1) -/* 800BDABC 000BAA1C B0 01 00 42 */ sth r0, 0x42(r1) -/* 800BDAC0 000BAA20 91 01 00 44 */ stw r8, 0x44(r1) -/* 800BDAC4 000BAA24 48 29 81 11 */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BDAC8: -/* 800BDAC8 000BAA28 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800BDACC 000BAA2C 41 82 01 A0 */ beq lbl_800BDC6C -/* 800BDAD0 000BAA30 80 19 00 B4 */ lwz r0, 0xb4(r25) -/* 800BDAD4 000BAA34 28 00 00 00 */ cmplwi r0, 0 -/* 800BDAD8 000BAA38 40 82 00 30 */ bne lbl_800BDB08 -/* 800BDADC 000BAA3C 88 19 00 B0 */ lbz r0, 0xb0(r25) -/* 800BDAE0 000BAA40 28 00 00 00 */ cmplwi r0, 0 -/* 800BDAE4 000BAA44 41 82 00 24 */ beq lbl_800BDB08 -/* 800BDAE8 000BAA48 80 79 00 AC */ lwz r3, 0xac(r25) -/* 800BDAEC 000BAA4C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BDAF0 000BAA50 28 00 00 00 */ cmplwi r0, 0 -/* 800BDAF4 000BAA54 41 82 00 14 */ beq lbl_800BDB08 -/* 800BDAF8 000BAA58 38 79 00 AC */ addi r3, r25, 0xac -/* 800BDAFC 000BAA5C 48 28 33 11 */ bl GetObj__6CTokenFv -/* 800BDB00 000BAA60 80 03 00 04 */ lwz r0, 4(r3) -/* 800BDB04 000BAA64 90 19 00 B4 */ stw r0, 0xb4(r25) -lbl_800BDB08: -/* 800BDB08 000BAA68 83 99 00 B4 */ lwz r28, 0xb4(r25) -/* 800BDB0C 000BAA6C 28 1C 00 00 */ cmplwi r28, 0 -/* 800BDB10 000BAA70 41 82 01 5C */ beq lbl_800BDC6C -/* 800BDB14 000BAA74 80 C1 01 38 */ lwz r6, 0x138(r1) -/* 800BDB18 000BAA78 FC 20 D0 90 */ fmr f1, f26 -/* 800BDB1C 000BAA7C 80 A1 01 3C */ lwz r5, 0x13c(r1) -/* 800BDB20 000BAA80 7F 64 DB 78 */ mr r4, r27 -/* 800BDB24 000BAA84 80 01 01 40 */ lwz r0, 0x140(r1) -/* 800BDB28 000BAA88 38 61 01 14 */ addi r3, r1, 0x114 -/* 800BDB2C 000BAA8C 90 C1 01 14 */ stw r6, 0x114(r1) -/* 800BDB30 000BAA90 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BDB34 000BAA94 90 A1 01 18 */ stw r5, 0x118(r1) -/* 800BDB38 000BAA98 90 01 01 1C */ stw r0, 0x11c(r1) -/* 800BDB3C 000BAA9C C0 06 02 0C */ lfs f0, 0x20c(r6) -/* 800BDB40 000BAAA0 C0 66 02 10 */ lfs f3, 0x210(r6) -/* 800BDB44 000BAAA4 EC 58 00 32 */ fmuls f2, f24, f0 -/* 800BDB48 000BAAA8 4B FF F4 55 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BDB4C 000BAAAC 83 0D A1 40 */ lwz r24, gpTweakTargeting@sda21(r13) -/* 800BDB50 000BAAB0 38 61 02 64 */ addi r3, r1, 0x264 -/* 800BDB54 000BAAB4 C0 59 01 F0 */ lfs f2, 0x1f0(r25) -/* 800BDB58 000BAAB8 38 81 00 0C */ addi r4, r1, 0xc -/* 800BDB5C 000BAABC C0 78 02 18 */ lfs f3, 0x218(r24) -/* 800BDB60 000BAAC0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BDB64 000BAAC4 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 800BDB68 000BAAC8 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 800BDB6C 000BAACC D0 01 02 8C */ stfs f0, 0x28c(r1) -/* 800BDB70 000BAAD0 D0 21 02 88 */ stfs f1, 0x288(r1) -/* 800BDB74 000BAAD4 D0 01 02 90 */ stfs f0, 0x290(r1) -/* 800BDB78 000BAAD8 D0 01 02 94 */ stfs f0, 0x294(r1) -/* 800BDB7C 000BAADC D0 21 02 98 */ stfs f1, 0x298(r1) -/* 800BDB80 000BAAE0 D0 01 02 9C */ stfs f0, 0x29c(r1) -/* 800BDB84 000BAAE4 D0 01 02 A0 */ stfs f0, 0x2a0(r1) -/* 800BDB88 000BAAE8 D0 01 02 A4 */ stfs f0, 0x2a4(r1) -/* 800BDB8C 000BAAEC D0 21 02 A8 */ stfs f1, 0x2a8(r1) -/* 800BDB90 000BAAF0 48 25 29 05 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800BDB94 000BAAF4 7F 44 D3 78 */ mr r4, r26 -/* 800BDB98 000BAAF8 38 61 02 AC */ addi r3, r1, 0x2ac -/* 800BDB9C 000BAAFC 38 A1 02 88 */ addi r5, r1, 0x288 -/* 800BDBA0 000BAB00 48 25 25 91 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BDBA4 000BAB04 38 61 02 D0 */ addi r3, r1, 0x2d0 -/* 800BDBA8 000BAB08 38 81 02 AC */ addi r4, r1, 0x2ac -/* 800BDBAC 000BAB0C 38 A1 02 64 */ addi r5, r1, 0x264 -/* 800BDBB0 000BAB10 48 25 25 81 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BDBB4 000BAB14 38 61 03 FC */ addi r3, r1, 0x3fc -/* 800BDBB8 000BAB18 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800BDBBC 000BAB1C 48 25 24 69 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BDBC0 000BAB20 C0 59 01 7C */ lfs f2, 0x17c(r25) -/* 800BDBC4 000BAB24 38 61 02 34 */ addi r3, r1, 0x234 -/* 800BDBC8 000BAB28 C0 39 01 80 */ lfs f1, 0x180(r25) -/* 800BDBCC 000BAB2C 38 81 03 FC */ addi r4, r1, 0x3fc -/* 800BDBD0 000BAB30 C0 19 01 84 */ lfs f0, 0x184(r25) -/* 800BDBD4 000BAB34 38 A1 01 08 */ addi r5, r1, 0x108 -/* 800BDBD8 000BAB38 D0 41 01 08 */ stfs f2, 0x108(r1) -/* 800BDBDC 000BAB3C D0 21 01 0C */ stfs f1, 0x10c(r1) -/* 800BDBE0 000BAB40 D0 01 01 10 */ stfs f0, 0x110(r1) -/* 800BDBE4 000BAB44 48 25 56 95 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BDBE8 000BAB48 7C 64 1B 78 */ mr r4, r3 -/* 800BDBEC 000BAB4C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BDBF0 000BAB50 81 83 00 00 */ lwz r12, 0(r3) -/* 800BDBF4 000BAB54 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BDBF8 000BAB58 7D 89 03 A6 */ mtctr r12 -/* 800BDBFC 000BAB5C 4E 80 04 21 */ bctrl -/* 800BDC00 000BAB60 88 78 02 17 */ lbz r3, 0x217(r24) -/* 800BDC04 000BAB64 3C 00 43 30 */ lis r0, 0x4330 -/* 800BDC08 000BAB68 90 01 04 48 */ stw r0, 0x448(r1) -/* 800BDC0C 000BAB6C C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BDC10 000BAB70 90 61 04 4C */ stw r3, 0x44c(r1) -/* 800BDC14 000BAB74 C8 01 04 48 */ lfd f0, 0x448(r1) -/* 800BDC18 000BAB78 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BDC1C 000BAB7C EF BF 00 32 */ fmuls f29, f31, f0 -/* 800BDC20 000BAB80 F3 A1 A0 0A */ psq_st f29, 10(r1), 1, qr2 -/* 800BDC24 000BAB84 38 80 00 03 */ li r4, 3 -/* 800BDC28 000BAB88 80 F8 02 14 */ lwz r7, 0x214(r24) -/* 800BDC2C 000BAB8C 38 C0 00 07 */ li r6, 7 -/* 800BDC30 000BAB90 38 A0 00 00 */ li r5, 0 -/* 800BDC34 000BAB94 89 01 00 0A */ lbz r8, 0xa(r1) -/* 800BDC38 000BAB98 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 -/* 800BDC3C 000BAB9C 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d -/* 800BDC40 000BABA0 B0 81 00 2A */ sth r4, 0x2a(r1) -/* 800BDC44 000BABA4 7F 83 E3 78 */ mr r3, r28 -/* 800BDC48 000BABA8 38 81 00 30 */ addi r4, r1, 0x30 -/* 800BDC4C 000BABAC 98 C1 00 28 */ stb r6, 0x28(r1) -/* 800BDC50 000BABB0 98 A1 00 29 */ stb r5, 0x29(r1) -/* 800BDC54 000BABB4 91 01 00 2C */ stw r8, 0x2c(r1) -/* 800BDC58 000BABB8 98 C1 00 30 */ stb r6, 0x30(r1) -/* 800BDC5C 000BABBC 98 A1 00 31 */ stb r5, 0x31(r1) -/* 800BDC60 000BABC0 B0 01 00 32 */ sth r0, 0x32(r1) -/* 800BDC64 000BABC4 91 01 00 34 */ stw r8, 0x34(r1) -/* 800BDC68 000BABC8 48 29 7F 6D */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BDC6C: -/* 800BDC6C 000BABCC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 800BDC70 000BABD0 41 82 01 7C */ beq lbl_800BDDEC -/* 800BDC74 000BABD4 80 19 00 C0 */ lwz r0, 0xc0(r25) -/* 800BDC78 000BABD8 28 00 00 00 */ cmplwi r0, 0 -/* 800BDC7C 000BABDC 40 82 00 30 */ bne lbl_800BDCAC -/* 800BDC80 000BABE0 88 19 00 BC */ lbz r0, 0xbc(r25) -/* 800BDC84 000BABE4 28 00 00 00 */ cmplwi r0, 0 -/* 800BDC88 000BABE8 41 82 00 24 */ beq lbl_800BDCAC -/* 800BDC8C 000BABEC 80 79 00 B8 */ lwz r3, 0xb8(r25) -/* 800BDC90 000BABF0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BDC94 000BABF4 28 00 00 00 */ cmplwi r0, 0 -/* 800BDC98 000BABF8 41 82 00 14 */ beq lbl_800BDCAC -/* 800BDC9C 000BABFC 38 79 00 B8 */ addi r3, r25, 0xb8 -/* 800BDCA0 000BAC00 48 28 31 6D */ bl GetObj__6CTokenFv -/* 800BDCA4 000BAC04 80 03 00 04 */ lwz r0, 4(r3) -/* 800BDCA8 000BAC08 90 19 00 C0 */ stw r0, 0xc0(r25) -lbl_800BDCAC: -/* 800BDCAC 000BAC0C 83 99 00 C0 */ lwz r28, 0xc0(r25) -/* 800BDCB0 000BAC10 28 1C 00 00 */ cmplwi r28, 0 -/* 800BDCB4 000BAC14 41 82 01 38 */ beq lbl_800BDDEC -/* 800BDCB8 000BAC18 80 C1 01 38 */ lwz r6, 0x138(r1) -/* 800BDCBC 000BAC1C FC 20 D0 90 */ fmr f1, f26 -/* 800BDCC0 000BAC20 80 A1 01 3C */ lwz r5, 0x13c(r1) -/* 800BDCC4 000BAC24 7F 64 DB 78 */ mr r4, r27 -/* 800BDCC8 000BAC28 80 01 01 40 */ lwz r0, 0x140(r1) -/* 800BDCCC 000BAC2C 38 61 00 FC */ addi r3, r1, 0xfc -/* 800BDCD0 000BAC30 90 C1 00 FC */ stw r6, 0xfc(r1) -/* 800BDCD4 000BAC34 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BDCD8 000BAC38 90 A1 01 00 */ stw r5, 0x100(r1) -/* 800BDCDC 000BAC3C 90 01 01 04 */ stw r0, 0x104(r1) -/* 800BDCE0 000BAC40 C0 06 02 0C */ lfs f0, 0x20c(r6) -/* 800BDCE4 000BAC44 C0 66 02 10 */ lfs f3, 0x210(r6) -/* 800BDCE8 000BAC48 EC 58 00 32 */ fmuls f2, f24, f0 -/* 800BDCEC 000BAC4C 4B FF F2 B1 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BDCF0 000BAC50 83 0D A1 40 */ lwz r24, gpTweakTargeting@sda21(r13) -/* 800BDCF4 000BAC54 7F 44 D3 78 */ mr r4, r26 -/* 800BDCF8 000BAC58 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BDCFC 000BAC5C 38 61 02 10 */ addi r3, r1, 0x210 -/* 800BDD00 000BAC60 C0 58 02 18 */ lfs f2, 0x218(r24) -/* 800BDD04 000BAC64 38 A1 01 EC */ addi r5, r1, 0x1ec -/* 800BDD08 000BAC68 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800BDD0C 000BAC6C D0 01 01 F0 */ stfs f0, 0x1f0(r1) -/* 800BDD10 000BAC70 D0 01 01 F4 */ stfs f0, 0x1f4(r1) -/* 800BDD14 000BAC74 D0 21 01 EC */ stfs f1, 0x1ec(r1) -/* 800BDD18 000BAC78 D0 01 01 F8 */ stfs f0, 0x1f8(r1) -/* 800BDD1C 000BAC7C D0 21 01 FC */ stfs f1, 0x1fc(r1) -/* 800BDD20 000BAC80 D0 01 02 00 */ stfs f0, 0x200(r1) -/* 800BDD24 000BAC84 D0 01 02 04 */ stfs f0, 0x204(r1) -/* 800BDD28 000BAC88 D0 01 02 08 */ stfs f0, 0x208(r1) -/* 800BDD2C 000BAC8C D0 21 02 0C */ stfs f1, 0x20c(r1) -/* 800BDD30 000BAC90 48 25 24 01 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BDD34 000BAC94 38 61 03 D8 */ addi r3, r1, 0x3d8 -/* 800BDD38 000BAC98 38 81 02 10 */ addi r4, r1, 0x210 -/* 800BDD3C 000BAC9C 48 25 22 E9 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BDD40 000BACA0 C0 59 01 7C */ lfs f2, 0x17c(r25) -/* 800BDD44 000BACA4 38 61 01 BC */ addi r3, r1, 0x1bc -/* 800BDD48 000BACA8 C0 39 01 80 */ lfs f1, 0x180(r25) -/* 800BDD4C 000BACAC 38 81 03 D8 */ addi r4, r1, 0x3d8 -/* 800BDD50 000BACB0 C0 19 01 84 */ lfs f0, 0x184(r25) -/* 800BDD54 000BACB4 38 A1 00 F0 */ addi r5, r1, 0xf0 -/* 800BDD58 000BACB8 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 800BDD5C 000BACBC D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 800BDD60 000BACC0 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 800BDD64 000BACC4 48 25 55 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BDD68 000BACC8 7C 64 1B 78 */ mr r4, r3 -/* 800BDD6C 000BACCC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BDD70 000BACD0 81 83 00 00 */ lwz r12, 0(r3) -/* 800BDD74 000BACD4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BDD78 000BACD8 7D 89 03 A6 */ mtctr r12 -/* 800BDD7C 000BACDC 4E 80 04 21 */ bctrl -/* 800BDD80 000BACE0 88 78 00 B3 */ lbz r3, 0xb3(r24) -/* 800BDD84 000BACE4 3C 00 43 30 */ lis r0, 0x4330 -/* 800BDD88 000BACE8 90 01 04 48 */ stw r0, 0x448(r1) -/* 800BDD8C 000BACEC C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BDD90 000BACF0 90 61 04 4C */ stw r3, 0x44c(r1) -/* 800BDD94 000BACF4 C8 01 04 48 */ lfd f0, 0x448(r1) -/* 800BDD98 000BACF8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BDD9C 000BACFC EF 9F 00 32 */ fmuls f28, f31, f0 -/* 800BDDA0 000BAD00 F3 81 A0 09 */ psq_st f28, 9(r1), 1, qr2 -/* 800BDDA4 000BAD04 38 80 00 03 */ li r4, 3 -/* 800BDDA8 000BAD08 80 F8 00 B0 */ lwz r7, 0xb0(r24) -/* 800BDDAC 000BAD0C 38 C0 00 07 */ li r6, 7 -/* 800BDDB0 000BAD10 38 A0 00 00 */ li r5, 0 -/* 800BDDB4 000BAD14 89 01 00 09 */ lbz r8, 9(r1) -/* 800BDDB8 000BAD18 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17 -/* 800BDDBC 000BAD1C 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d -/* 800BDDC0 000BAD20 B0 81 00 1A */ sth r4, 0x1a(r1) -/* 800BDDC4 000BAD24 7F 83 E3 78 */ mr r3, r28 -/* 800BDDC8 000BAD28 38 81 00 20 */ addi r4, r1, 0x20 -/* 800BDDCC 000BAD2C 98 C1 00 18 */ stb r6, 0x18(r1) -/* 800BDDD0 000BAD30 98 A1 00 19 */ stb r5, 0x19(r1) -/* 800BDDD4 000BAD34 91 01 00 1C */ stw r8, 0x1c(r1) -/* 800BDDD8 000BAD38 98 C1 00 20 */ stb r6, 0x20(r1) -/* 800BDDDC 000BAD3C 98 A1 00 21 */ stb r5, 0x21(r1) -/* 800BDDE0 000BAD40 B0 01 00 22 */ sth r0, 0x22(r1) -/* 800BDDE4 000BAD44 91 01 00 24 */ stw r8, 0x24(r1) -/* 800BDDE8 000BAD48 48 29 7D ED */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BDDEC: -/* 800BDDEC 000BAD4C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800BDDF0 000BAD50 41 82 03 F0 */ beq lbl_800BE1E0 -/* 800BDDF4 000BAD54 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BDDF8 000BAD58 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800BDDFC 000BAD5C 40 81 03 E4 */ ble lbl_800BE1E0 -/* 800BDE00 000BAD60 80 C1 01 38 */ lwz r6, 0x138(r1) -/* 800BDE04 000BAD64 FC 20 D0 90 */ fmr f1, f26 -/* 800BDE08 000BAD68 80 A1 01 3C */ lwz r5, 0x13c(r1) -/* 800BDE0C 000BAD6C 7F 64 DB 78 */ mr r4, r27 -/* 800BDE10 000BAD70 80 01 01 40 */ lwz r0, 0x140(r1) -/* 800BDE14 000BAD74 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 800BDE18 000BAD78 90 C1 00 E4 */ stw r6, 0xe4(r1) -/* 800BDE1C 000BAD7C 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BDE20 000BAD80 90 A1 00 E8 */ stw r5, 0xe8(r1) -/* 800BDE24 000BAD84 C2 F9 01 88 */ lfs f23, 0x188(r25) -/* 800BDE28 000BAD88 90 01 00 EC */ stw r0, 0xec(r1) -/* 800BDE2C 000BAD8C C0 06 02 1C */ lfs f0, 0x21c(r6) -/* 800BDE30 000BAD90 C0 66 02 20 */ lfs f3, 0x220(r6) -/* 800BDE34 000BAD94 EC 58 00 32 */ fmuls f2, f24, f0 -/* 800BDE38 000BAD98 4B FF F1 65 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BDE3C 000BAD9C EE 9F 05 F2 */ fmuls f20, f31, f23 -/* 800BDE40 000BADA0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BDE44 000BADA4 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) -/* 800BDE48 000BADA8 7F 44 D3 78 */ mr r4, r26 -/* 800BDE4C 000BADAC D0 01 01 78 */ stfs f0, 0x178(r1) -/* 800BDE50 000BADB0 38 61 01 98 */ addi r3, r1, 0x198 -/* 800BDE54 000BADB4 EC 42 A0 24 */ fdivs f2, f2, f20 -/* 800BDE58 000BADB8 D0 01 01 7C */ stfs f0, 0x17c(r1) -/* 800BDE5C 000BADBC 83 4D A1 3C */ lwz r26, gpTweakGuiColors@sda21(r13) -/* 800BDE60 000BADC0 38 A1 01 74 */ addi r5, r1, 0x174 -/* 800BDE64 000BADC4 D0 01 01 80 */ stfs f0, 0x180(r1) -/* 800BDE68 000BADC8 D0 01 01 88 */ stfs f0, 0x188(r1) -/* 800BDE6C 000BADCC EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800BDE70 000BADD0 D0 01 01 8C */ stfs f0, 0x18c(r1) -/* 800BDE74 000BADD4 D0 01 01 90 */ stfs f0, 0x190(r1) -/* 800BDE78 000BADD8 D0 21 01 74 */ stfs f1, 0x174(r1) -/* 800BDE7C 000BADDC D0 21 01 84 */ stfs f1, 0x184(r1) -/* 800BDE80 000BADE0 D0 21 01 94 */ stfs f1, 0x194(r1) -/* 800BDE84 000BADE4 48 25 22 AD */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BDE88 000BADE8 38 61 03 B4 */ addi r3, r1, 0x3b4 -/* 800BDE8C 000BADEC 38 81 01 98 */ addi r4, r1, 0x198 -/* 800BDE90 000BADF0 48 25 21 95 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BDE94 000BADF4 C0 59 01 7C */ lfs f2, 0x17c(r25) -/* 800BDE98 000BADF8 38 61 01 44 */ addi r3, r1, 0x144 -/* 800BDE9C 000BADFC C0 39 01 80 */ lfs f1, 0x180(r25) -/* 800BDEA0 000BAE00 38 81 03 B4 */ addi r4, r1, 0x3b4 -/* 800BDEA4 000BAE04 C0 19 01 84 */ lfs f0, 0x184(r25) -/* 800BDEA8 000BAE08 38 A1 00 D8 */ addi r5, r1, 0xd8 -/* 800BDEAC 000BAE0C D0 41 00 D8 */ stfs f2, 0xd8(r1) -/* 800BDEB0 000BAE10 D0 21 00 DC */ stfs f1, 0xdc(r1) -/* 800BDEB4 000BAE14 D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 800BDEB8 000BAE18 48 25 53 C1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BDEBC 000BAE1C 7C 64 1B 78 */ mr r4, r3 -/* 800BDEC0 000BAE20 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BDEC4 000BAE24 81 83 00 00 */ lwz r12, 0(r3) -/* 800BDEC8 000BAE28 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BDECC 000BAE2C 7D 89 03 A6 */ mtctr r12 -/* 800BDED0 000BAE30 4E 80 04 21 */ bctrl -/* 800BDED4 000BAE34 38 60 00 01 */ li r3, 1 -/* 800BDED8 000BAE38 38 80 00 01 */ li r4, 1 -/* 800BDEDC 000BAE3C 38 A0 00 00 */ li r5, 0 -/* 800BDEE0 000BAE40 48 24 DB B5 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 800BDEE4 000BAE44 C2 E2 8D 64 */ lfs f23, lbl_805AAA84@sda21(r2) -/* 800BDEE8 000BAE48 3B 00 00 00 */ li r24, 0 -/* 800BDEEC 000BAE4C C3 42 8D 30 */ lfs f26, lbl_805AAA50@sda21(r2) -/* 800BDEF0 000BAE50 3F 20 43 30 */ lis r25, 0x4330 -/* 800BDEF4 000BAE54 EE 97 05 32 */ fmuls f20, f23, f20 -/* 800BDEF8 000BAE58 C3 22 8D 54 */ lfs f25, lbl_805AAA74@sda21(r2) -/* 800BDEFC 000BAE5C C3 02 8D 80 */ lfs f24, lbl_805AAAA0@sda21(r2) -/* 800BDF00 000BAE60 CB E2 8D 48 */ lfd f31, lbl_805AAA68@sda21(r2) -/* 800BDF04 000BAE64 C3 C2 8D 70 */ lfs f30, lbl_805AAA90@sda21(r2) -/* 800BDF08 000BAE68 C3 A2 8D 74 */ lfs f29, lbl_805AAA94@sda21(r2) -/* 800BDF0C 000BAE6C C3 82 8D 78 */ lfs f28, lbl_805AAA98@sda21(r2) -lbl_800BDF10: -/* 800BDF10 000BAE70 2C 18 00 00 */ cmpwi r24, 0 -/* 800BDF14 000BAE74 40 82 00 0C */ bne lbl_800BDF20 -/* 800BDF18 000BAE78 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -/* 800BDF1C 000BAE7C 48 00 00 08 */ b lbl_800BDF24 -lbl_800BDF20: -/* 800BDF20 000BAE80 C0 22 8D 6C */ lfs f1, lbl_805AAA8C@sda21(r2) -lbl_800BDF24: -/* 800BDF24 000BAE84 38 60 00 00 */ li r3, 0 -/* 800BDF28 000BAE88 48 24 D4 B1 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset -/* 800BDF2C 000BAE8C 88 1A 01 9B */ lbz r0, 0x19b(r26) -/* 800BDF30 000BAE90 93 21 04 48 */ stw r25, 0x448(r1) -/* 800BDF34 000BAE94 90 01 04 4C */ stw r0, 0x44c(r1) -/* 800BDF38 000BAE98 C8 01 04 48 */ lfd f0, 0x448(r1) -/* 800BDF3C 000BAE9C EC 00 F8 28 */ fsubs f0, f0, f31 -/* 800BDF40 000BAEA0 EF 74 00 32 */ fmuls f27, f20, f0 -/* 800BDF44 000BAEA4 F3 61 A0 08 */ psq_st f27, 8(r1), 1, qr2 -/* 800BDF48 000BAEA8 38 80 00 08 */ li r4, 8 -/* 800BDF4C 000BAEAC 80 BA 01 98 */ lwz r5, 0x198(r26) -/* 800BDF50 000BAEB0 88 01 00 08 */ lbz r0, 8(r1) -/* 800BDF54 000BAEB4 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 800BDF58 000BAEB8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BDF5C 000BAEBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BDF60 000BAEC0 81 83 00 00 */ lwz r12, 0(r3) -/* 800BDF64 000BAEC4 81 8C 00 94 */ lwz r12, 0x94(r12) -/* 800BDF68 000BAEC8 7D 89 03 A6 */ mtctr r12 -/* 800BDF6C 000BAECC 4E 80 04 21 */ bctrl -/* 800BDF70 000BAED0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BDF74 000BAED4 38 81 00 14 */ addi r4, r1, 0x14 -/* 800BDF78 000BAED8 81 83 00 00 */ lwz r12, 0(r3) -/* 800BDF7C 000BAEDC 81 8C 00 B4 */ lwz r12, 0xb4(r12) -/* 800BDF80 000BAEE0 7D 89 03 A6 */ mtctr r12 -/* 800BDF84 000BAEE4 4E 80 04 21 */ bctrl -/* 800BDF88 000BAEE8 D3 C1 00 CC */ stfs f30, 0xcc(r1) -/* 800BDF8C 000BAEEC 38 81 00 CC */ addi r4, r1, 0xcc -/* 800BDF90 000BAEF0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BDF94 000BAEF4 D3 41 00 D0 */ stfs f26, 0xd0(r1) -/* 800BDF98 000BAEF8 D3 41 00 D4 */ stfs f26, 0xd4(r1) -/* 800BDF9C 000BAEFC 81 83 00 00 */ lwz r12, 0(r3) -/* 800BDFA0 000BAF00 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BDFA4 000BAF04 7D 89 03 A6 */ mtctr r12 -/* 800BDFA8 000BAF08 4E 80 04 21 */ bctrl -/* 800BDFAC 000BAF0C D3 A1 00 C0 */ stfs f29, 0xc0(r1) -/* 800BDFB0 000BAF10 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 800BDFB4 000BAF14 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BDFB8 000BAF18 D3 41 00 C4 */ stfs f26, 0xc4(r1) -/* 800BDFBC 000BAF1C D3 41 00 C8 */ stfs f26, 0xc8(r1) -/* 800BDFC0 000BAF20 81 83 00 00 */ lwz r12, 0(r3) -/* 800BDFC4 000BAF24 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BDFC8 000BAF28 7D 89 03 A6 */ mtctr r12 -/* 800BDFCC 000BAF2C 4E 80 04 21 */ bctrl -/* 800BDFD0 000BAF30 D2 E1 00 B4 */ stfs f23, 0xb4(r1) -/* 800BDFD4 000BAF34 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 800BDFD8 000BAF38 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BDFDC 000BAF3C D3 41 00 B8 */ stfs f26, 0xb8(r1) -/* 800BDFE0 000BAF40 D3 41 00 BC */ stfs f26, 0xbc(r1) -/* 800BDFE4 000BAF44 81 83 00 00 */ lwz r12, 0(r3) -/* 800BDFE8 000BAF48 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BDFEC 000BAF4C 7D 89 03 A6 */ mtctr r12 -/* 800BDFF0 000BAF50 4E 80 04 21 */ bctrl -/* 800BDFF4 000BAF54 D3 81 00 A8 */ stfs f28, 0xa8(r1) -/* 800BDFF8 000BAF58 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 800BDFFC 000BAF5C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE000 000BAF60 D3 41 00 AC */ stfs f26, 0xac(r1) -/* 800BE004 000BAF64 D3 41 00 B0 */ stfs f26, 0xb0(r1) -/* 800BE008 000BAF68 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE00C 000BAF6C 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BE010 000BAF70 7D 89 03 A6 */ mtctr r12 -/* 800BE014 000BAF74 4E 80 04 21 */ bctrl -/* 800BE018 000BAF78 D3 41 00 9C */ stfs f26, 0x9c(r1) -/* 800BE01C 000BAF7C 38 81 00 9C */ addi r4, r1, 0x9c -/* 800BE020 000BAF80 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE024 000BAF84 D3 41 00 A0 */ stfs f26, 0xa0(r1) -/* 800BE028 000BAF88 D3 C1 00 A4 */ stfs f30, 0xa4(r1) -/* 800BE02C 000BAF8C 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE030 000BAF90 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BE034 000BAF94 7D 89 03 A6 */ mtctr r12 -/* 800BE038 000BAF98 4E 80 04 21 */ bctrl -/* 800BE03C 000BAF9C D3 41 00 90 */ stfs f26, 0x90(r1) -/* 800BE040 000BAFA0 38 81 00 90 */ addi r4, r1, 0x90 -/* 800BE044 000BAFA4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE048 000BAFA8 D3 41 00 94 */ stfs f26, 0x94(r1) -/* 800BE04C 000BAFAC D3 A1 00 98 */ stfs f29, 0x98(r1) -/* 800BE050 000BAFB0 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE054 000BAFB4 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BE058 000BAFB8 7D 89 03 A6 */ mtctr r12 -/* 800BE05C 000BAFBC 4E 80 04 21 */ bctrl -/* 800BE060 000BAFC0 D3 41 00 84 */ stfs f26, 0x84(r1) -/* 800BE064 000BAFC4 38 81 00 84 */ addi r4, r1, 0x84 -/* 800BE068 000BAFC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE06C 000BAFCC D3 41 00 88 */ stfs f26, 0x88(r1) -/* 800BE070 000BAFD0 D2 E1 00 8C */ stfs f23, 0x8c(r1) -/* 800BE074 000BAFD4 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE078 000BAFD8 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BE07C 000BAFDC 7D 89 03 A6 */ mtctr r12 -/* 800BE080 000BAFE0 4E 80 04 21 */ bctrl -/* 800BE084 000BAFE4 D3 41 00 78 */ stfs f26, 0x78(r1) -/* 800BE088 000BAFE8 38 81 00 78 */ addi r4, r1, 0x78 -/* 800BE08C 000BAFEC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE090 000BAFF0 D3 41 00 7C */ stfs f26, 0x7c(r1) -/* 800BE094 000BAFF4 D3 81 00 80 */ stfs f28, 0x80(r1) -/* 800BE098 000BAFF8 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE09C 000BAFFC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BE0A0 000BB000 7D 89 03 A6 */ mtctr r12 -/* 800BE0A4 000BB004 4E 80 04 21 */ bctrl -/* 800BE0A8 000BB008 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE0AC 000BB00C 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE0B0 000BB010 81 8C 00 B8 */ lwz r12, 0xb8(r12) -/* 800BE0B4 000BB014 7D 89 03 A6 */ mtctr r12 -/* 800BE0B8 000BB018 4E 80 04 21 */ bctrl -/* 800BE0BC 000BB01C 3B 60 00 00 */ li r27, 0 -lbl_800BE0C0: -/* 800BE0C0 000BB020 2C 1B 00 02 */ cmpwi r27, 2 -/* 800BE0C4 000BB024 40 80 00 0C */ bge lbl_800BE0D0 -/* 800BE0C8 000BB028 C2 C2 8D 7C */ lfs f22, lbl_805AAA9C@sda21(r2) -/* 800BE0CC 000BB02C 48 00 00 08 */ b lbl_800BE0D4 -lbl_800BE0D0: -/* 800BE0D0 000BB030 C2 C2 8D 38 */ lfs f22, lbl_805AAA58@sda21(r2) -lbl_800BE0D4: -/* 800BE0D4 000BB034 57 60 07 FF */ clrlwi. r0, r27, 0x1f -/* 800BE0D8 000BB038 41 82 00 0C */ beq lbl_800BE0E4 -/* 800BE0DC 000BB03C C2 A2 8D 7C */ lfs f21, lbl_805AAA9C@sda21(r2) -/* 800BE0E0 000BB040 48 00 00 08 */ b lbl_800BE0E8 -lbl_800BE0E4: -/* 800BE0E4 000BB044 C2 A2 8D 38 */ lfs f21, lbl_805AAA58@sda21(r2) -lbl_800BE0E8: -/* 800BE0E8 000BB048 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE0EC 000BB04C 38 80 00 04 */ li r4, 4 -/* 800BE0F0 000BB050 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE0F4 000BB054 81 8C 00 98 */ lwz r12, 0x98(r12) -/* 800BE0F8 000BB058 7D 89 03 A6 */ mtctr r12 -/* 800BE0FC 000BB05C 4E 80 04 21 */ bctrl -/* 800BE100 000BB060 EE 77 05 B2 */ fmuls f19, f23, f22 -/* 800BE104 000BB064 D3 41 00 70 */ stfs f26, 0x70(r1) -/* 800BE108 000BB068 EC 19 05 72 */ fmuls f0, f25, f21 -/* 800BE10C 000BB06C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE110 000BB070 38 81 00 6C */ addi r4, r1, 0x6c -/* 800BE114 000BB074 D2 61 00 6C */ stfs f19, 0x6c(r1) -/* 800BE118 000BB078 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800BE11C 000BB07C 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE120 000BB080 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BE124 000BB084 7D 89 03 A6 */ mtctr r12 -/* 800BE128 000BB088 4E 80 04 21 */ bctrl -/* 800BE12C 000BB08C EC 18 05 72 */ fmuls f0, f24, f21 -/* 800BE130 000BB090 D2 61 00 60 */ stfs f19, 0x60(r1) -/* 800BE134 000BB094 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE138 000BB098 38 81 00 60 */ addi r4, r1, 0x60 -/* 800BE13C 000BB09C D3 41 00 64 */ stfs f26, 0x64(r1) -/* 800BE140 000BB0A0 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 800BE144 000BB0A4 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE148 000BB0A8 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BE14C 000BB0AC 7D 89 03 A6 */ mtctr r12 -/* 800BE150 000BB0B0 4E 80 04 21 */ bctrl -/* 800BE154 000BB0B4 EC 18 05 B2 */ fmuls f0, f24, f22 -/* 800BE158 000BB0B8 D3 41 00 58 */ stfs f26, 0x58(r1) -/* 800BE15C 000BB0BC EE 77 05 72 */ fmuls f19, f23, f21 -/* 800BE160 000BB0C0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE164 000BB0C4 38 81 00 54 */ addi r4, r1, 0x54 -/* 800BE168 000BB0C8 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800BE16C 000BB0CC D2 61 00 5C */ stfs f19, 0x5c(r1) -/* 800BE170 000BB0D0 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE174 000BB0D4 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BE178 000BB0D8 7D 89 03 A6 */ mtctr r12 -/* 800BE17C 000BB0DC 4E 80 04 21 */ bctrl -/* 800BE180 000BB0E0 EC 19 05 B2 */ fmuls f0, f25, f22 -/* 800BE184 000BB0E4 D3 41 00 4C */ stfs f26, 0x4c(r1) -/* 800BE188 000BB0E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE18C 000BB0EC 38 81 00 48 */ addi r4, r1, 0x48 -/* 800BE190 000BB0F0 D2 61 00 50 */ stfs f19, 0x50(r1) -/* 800BE194 000BB0F4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800BE198 000BB0F8 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE19C 000BB0FC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800BE1A0 000BB100 7D 89 03 A6 */ mtctr r12 -/* 800BE1A4 000BB104 4E 80 04 21 */ bctrl -/* 800BE1A8 000BB108 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE1AC 000BB10C 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE1B0 000BB110 81 8C 00 B8 */ lwz r12, 0xb8(r12) -/* 800BE1B4 000BB114 7D 89 03 A6 */ mtctr r12 -/* 800BE1B8 000BB118 4E 80 04 21 */ bctrl -/* 800BE1BC 000BB11C 3B 7B 00 01 */ addi r27, r27, 1 -/* 800BE1C0 000BB120 2C 1B 00 04 */ cmpwi r27, 4 -/* 800BE1C4 000BB124 41 80 FE FC */ blt lbl_800BE0C0 -/* 800BE1C8 000BB128 3B 18 00 01 */ addi r24, r24, 1 -/* 800BE1CC 000BB12C 2C 18 00 02 */ cmpwi r24, 2 -/* 800BE1D0 000BB130 41 80 FD 40 */ blt lbl_800BDF10 -/* 800BE1D4 000BB134 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -/* 800BE1D8 000BB138 38 60 00 00 */ li r3, 0 -/* 800BE1DC 000BB13C 48 24 D1 FD */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset -lbl_800BE1E0: -/* 800BE1E0 000BB140 E3 E1 05 38 */ psq_l f31, 1336(r1), 0, qr0 -/* 800BE1E4 000BB144 CB E1 05 30 */ lfd f31, 0x530(r1) -/* 800BE1E8 000BB148 E3 C1 05 28 */ psq_l f30, 1320(r1), 0, qr0 -/* 800BE1EC 000BB14C CB C1 05 20 */ lfd f30, 0x520(r1) -/* 800BE1F0 000BB150 E3 A1 05 18 */ psq_l f29, 1304(r1), 0, qr0 -/* 800BE1F4 000BB154 CB A1 05 10 */ lfd f29, 0x510(r1) -/* 800BE1F8 000BB158 E3 81 05 08 */ psq_l f28, 1288(r1), 0, qr0 -/* 800BE1FC 000BB15C CB 81 05 00 */ lfd f28, 0x500(r1) -/* 800BE200 000BB160 E3 61 04 F8 */ psq_l f27, 1272(r1), 0, qr0 -/* 800BE204 000BB164 CB 61 04 F0 */ lfd f27, 0x4f0(r1) -/* 800BE208 000BB168 E3 41 04 E8 */ psq_l f26, 1256(r1), 0, qr0 -/* 800BE20C 000BB16C CB 41 04 E0 */ lfd f26, 0x4e0(r1) -/* 800BE210 000BB170 E3 21 04 D8 */ psq_l f25, 1240(r1), 0, qr0 -/* 800BE214 000BB174 CB 21 04 D0 */ lfd f25, 0x4d0(r1) -/* 800BE218 000BB178 E3 01 04 C8 */ psq_l f24, 1224(r1), 0, qr0 -/* 800BE21C 000BB17C CB 01 04 C0 */ lfd f24, 0x4c0(r1) -/* 800BE220 000BB180 E2 E1 04 B8 */ psq_l f23, 1208(r1), 0, qr0 -/* 800BE224 000BB184 CA E1 04 B0 */ lfd f23, 0x4b0(r1) -/* 800BE228 000BB188 E2 C1 04 A8 */ psq_l f22, 1192(r1), 0, qr0 -/* 800BE22C 000BB18C CA C1 04 A0 */ lfd f22, 0x4a0(r1) -/* 800BE230 000BB190 E2 A1 04 98 */ psq_l f21, 1176(r1), 0, qr0 -/* 800BE234 000BB194 CA A1 04 90 */ lfd f21, 0x490(r1) -/* 800BE238 000BB198 E2 81 04 88 */ psq_l f20, 1160(r1), 0, qr0 -/* 800BE23C 000BB19C CA 81 04 80 */ lfd f20, 0x480(r1) -/* 800BE240 000BB1A0 E2 61 04 78 */ psq_l f19, 1144(r1), 0, qr0 -/* 800BE244 000BB1A4 CA 61 04 70 */ lfd f19, 0x470(r1) -/* 800BE248 000BB1A8 BB 01 04 50 */ lmw r24, 0x450(r1) -/* 800BE24C 000BB1AC 80 01 05 44 */ lwz r0, 0x544(r1) -/* 800BE250 000BB1B0 7C 08 03 A6 */ mtlr r0 -/* 800BE254 000BB1B4 38 21 05 40 */ addi r1, r1, 0x540 -/* 800BE258 000BB1B8 4E 80 00 20 */ blr - -.global DrawCurrLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager -DrawCurrLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager: -/* 800BE25C 000BB1BC 94 21 F3 A0 */ stwu r1, -0xc60(r1) -/* 800BE260 000BB1C0 7C 08 02 A6 */ mflr r0 -/* 800BE264 000BB1C4 90 01 0C 64 */ stw r0, 0xc64(r1) -/* 800BE268 000BB1C8 DB E1 0C 50 */ stfd f31, 0xc50(r1) -/* 800BE26C 000BB1CC F3 E1 0C 58 */ psq_st f31, -936(r1), 0, qr0 -/* 800BE270 000BB1D0 DB C1 0C 40 */ stfd f30, 0xc40(r1) -/* 800BE274 000BB1D4 F3 C1 0C 48 */ psq_st f30, -952(r1), 0, qr0 -/* 800BE278 000BB1D8 DB A1 0C 30 */ stfd f29, 0xc30(r1) -/* 800BE27C 000BB1DC F3 A1 0C 38 */ psq_st f29, -968(r1), 0, qr0 -/* 800BE280 000BB1E0 DB 81 0C 20 */ stfd f28, 0xc20(r1) -/* 800BE284 000BB1E4 F3 81 0C 28 */ psq_st f28, -984(r1), 0, qr0 -/* 800BE288 000BB1E8 DB 61 0C 10 */ stfd f27, 0xc10(r1) -/* 800BE28C 000BB1EC F3 61 0C 18 */ psq_st f27, -1000(r1), 0, qr0 -/* 800BE290 000BB1F0 DB 41 0C 00 */ stfd f26, 0xc00(r1) -/* 800BE294 000BB1F4 F3 41 0C 08 */ psq_st f26, -1016(r1), 0, qr0 -/* 800BE298 000BB1F8 DB 21 0B F0 */ stfd f25, 0xbf0(r1) -/* 800BE29C 000BB1FC F3 21 0B F8 */ psq_st f25, -1032(r1), 0, qr0 -/* 800BE2A0 000BB200 DB 01 0B E0 */ stfd f24, 0xbe0(r1) -/* 800BE2A4 000BB204 F3 01 0B E8 */ psq_st f24, -1048(r1), 0, qr0 -/* 800BE2A8 000BB208 DA E1 0B D0 */ stfd f23, 0xbd0(r1) -/* 800BE2AC 000BB20C F2 E1 0B D8 */ psq_st f23, -1064(r1), 0, qr0 -/* 800BE2B0 000BB210 DA C1 0B C0 */ stfd f22, 0xbc0(r1) -/* 800BE2B4 000BB214 F2 C1 0B C8 */ psq_st f22, -1080(r1), 0, qr0 -/* 800BE2B8 000BB218 DA A1 0B B0 */ stfd f21, 0xbb0(r1) -/* 800BE2BC 000BB21C F2 A1 0B B8 */ psq_st f21, -1096(r1), 0, qr0 -/* 800BE2C0 000BB220 DA 81 0B A0 */ stfd f20, 0xba0(r1) -/* 800BE2C4 000BB224 F2 81 0B A8 */ psq_st f20, -1112(r1), 0, qr0 -/* 800BE2C8 000BB228 DA 61 0B 90 */ stfd f19, 0xb90(r1) -/* 800BE2CC 000BB22C F2 61 0B 98 */ psq_st f19, -1128(r1), 0, qr0 -/* 800BE2D0 000BB230 DA 41 0B 80 */ stfd f18, 0xb80(r1) -/* 800BE2D4 000BB234 F2 41 0B 88 */ psq_st f18, -1144(r1), 0, qr0 -/* 800BE2D8 000BB238 DA 21 0B 70 */ stfd f17, 0xb70(r1) -/* 800BE2DC 000BB23C F2 21 0B 78 */ psq_st f17, -1160(r1), 0, qr0 -/* 800BE2E0 000BB240 DA 01 0B 60 */ stfd f16, 0xb60(r1) -/* 800BE2E4 000BB244 F2 01 0B 68 */ psq_st f16, -1176(r1), 0, qr0 -/* 800BE2E8 000BB248 D9 E1 0B 50 */ stfd f15, 0xb50(r1) -/* 800BE2EC 000BB24C F1 E1 0B 58 */ psq_st f15, -1192(r1), 0, qr0 -/* 800BE2F0 000BB250 BE A1 0B 24 */ stmw r21, 0xb24(r1) -/* 800BE2F4 000BB254 7C 7F 1B 78 */ mr r31, r3 -/* 800BE2F8 000BB258 7C 9E 23 78 */ mr r30, r4 -/* 800BE2FC 000BB25C 80 03 00 28 */ lwz r0, 0x28(r3) -/* 800BE300 000BB260 7C BD 2B 78 */ mr r29, r5 -/* 800BE304 000BB264 2C 00 00 00 */ cmpwi r0, 0 -/* 800BE308 000BB268 41 81 14 B0 */ bgt lbl_800BF7B8 -/* 800BE30C 000BB26C C0 3F 01 E0 */ lfs f1, 0x1e0(r31) -/* 800BE310 000BB270 C0 1F 01 E4 */ lfs f0, 0x1e4(r31) -/* 800BE314 000BB274 C0 9F 01 14 */ lfs f4, 0x114(r31) -/* 800BE318 000BB278 EC 21 00 2A */ fadds f1, f1, f0 -/* 800BE31C 000BB27C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BE320 000BB280 C0 7F 01 18 */ lfs f3, 0x118(r31) -/* 800BE324 000BB284 C0 5F 01 1C */ lfs f2, 0x11c(r31) -/* 800BE328 000BB288 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BE32C 000BB28C D0 81 01 E0 */ stfs f4, 0x1e0(r1) -/* 800BE330 000BB290 C3 3F 01 10 */ lfs f25, 0x110(r31) -/* 800BE334 000BB294 D0 61 01 E4 */ stfs f3, 0x1e4(r1) -/* 800BE338 000BB298 D0 41 01 E8 */ stfs f2, 0x1e8(r1) -/* 800BE33C 000BB29C 41 81 14 7C */ bgt lbl_800BF7B8 -/* 800BE340 000BB2A0 C3 1F 01 20 */ lfs f24, 0x120(r31) -/* 800BE344 000BB2A4 FE A0 C0 90 */ fmr f21, f24 -/* 800BE348 000BB2A8 FC 00 C0 00 */ fcmpu cr0, f0, f24 -/* 800BE34C 000BB2AC 41 82 14 6C */ beq lbl_800BF7B8 -/* 800BE350 000BB2B0 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 800BE354 000BB2B4 80 63 00 00 */ lwz r3, 0(r3) -/* 800BE358 000BB2B8 4B FD 35 0D */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 800BE35C 000BB2BC 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 800BE360 000BB2C0 FE 40 08 90 */ fmr f18, f1 -/* 800BE364 000BB2C4 C2 FF 01 24 */ lfs f23, 0x124(r31) -/* 800BE368 000BB2C8 3B 40 00 00 */ li r26, 0 -/* 800BE36C 000BB2CC 2C 00 00 01 */ cmpwi r0, 1 -/* 800BE370 000BB2D0 3B 20 00 00 */ li r25, 0 -/* 800BE374 000BB2D4 41 82 00 24 */ beq lbl_800BE398 -/* 800BE378 000BB2D8 40 80 00 24 */ bge lbl_800BE39C -/* 800BE37C 000BB2DC 2C 00 00 00 */ cmpwi r0, 0 -/* 800BE380 000BB2E0 40 80 00 0C */ bge lbl_800BE38C -/* 800BE384 000BB2E4 48 00 00 18 */ b lbl_800BE39C -/* 800BE388 000BB2E8 48 00 00 14 */ b lbl_800BE39C -lbl_800BE38C: -/* 800BE38C 000BB2EC 3B 40 00 01 */ li r26, 1 -/* 800BE390 000BB2F0 3B 20 00 01 */ li r25, 1 -/* 800BE394 000BB2F4 48 00 00 08 */ b lbl_800BE39C -lbl_800BE398: -/* 800BE398 000BB2F8 3B 40 00 01 */ li r26, 1 -lbl_800BE39C: -/* 800BE39C 000BB2FC 3C 80 80 5A */ lis r4, lbl_805A65FC@ha -/* 800BE3A0 000BB300 38 61 0A EC */ addi r3, r1, 0xaec -/* 800BE3A4 000BB304 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l -/* 800BE3A8 000BB308 48 25 1C 7D */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BE3AC 000BB30C 38 00 00 00 */ li r0, 0 -/* 800BE3B0 000BB310 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 800BE3B4 000BB314 90 01 00 8C */ stw r0, 0x8c(r1) -/* 800BE3B8 000BB318 80 63 03 0C */ lwz r3, 0x30c(r3) -/* 800BE3BC 000BB31C 48 00 37 AD */ bl IsDamageOrbit__F19EPlayerOrbitRequest -/* 800BE3C0 000BB320 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BE3C4 000BB324 41 82 01 BC */ beq lbl_800BE580 -/* 800BE3C8 000BB328 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800BE3CC 000BB32C C0 1F 01 60 */ lfs f0, 0x160(r31) -/* 800BE3D0 000BB330 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800BE3D4 000BB334 40 82 01 AC */ bne lbl_800BE580 -/* 800BE3D8 000BB338 3C 60 80 5A */ lis r3, lbl_805A6718@ha -/* 800BE3DC 000BB33C 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 800BE3E0 000BB340 38 E3 67 18 */ addi r7, r3, lbl_805A6718@l -/* 800BE3E4 000BB344 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 800BE3E8 000BB348 38 C4 67 24 */ addi r6, r4, lbl_805A6724@l -/* 800BE3EC 000BB34C C1 07 00 00 */ lfs f8, 0(r7) -/* 800BE3F0 000BB350 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l -/* 800BE3F4 000BB354 C0 E7 00 04 */ lfs f7, 4(r7) -/* 800BE3F8 000BB358 C0 C7 00 08 */ lfs f6, 8(r7) -/* 800BE3FC 000BB35C 3C 80 38 E4 */ lis r4, 0x38E38E39@ha -/* 800BE400 000BB360 C0 A6 00 00 */ lfs f5, 0(r6) -/* 800BE404 000BB364 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 800BE408 000BB368 C0 86 00 04 */ lfs f4, 4(r6) -/* 800BE40C 000BB36C 3B 64 8E 39 */ addi r27, r4, 0x38E38E39@l -/* 800BE410 000BB370 C0 66 00 08 */ lfs f3, 8(r6) -/* 800BE414 000BB374 3B 83 55 56 */ addi r28, r3, 0x55555556@l -/* 800BE418 000BB378 C0 45 00 00 */ lfs f2, 0(r5) -/* 800BE41C 000BB37C 3A C1 0A C8 */ addi r22, r1, 0xac8 -/* 800BE420 000BB380 C0 25 00 04 */ lfs f1, 4(r5) -/* 800BE424 000BB384 3B 00 00 00 */ li r24, 0 -/* 800BE428 000BB388 C0 05 00 08 */ lfs f0, 8(r5) -/* 800BE42C 000BB38C 3E E0 43 30 */ lis r23, 0x4330 -/* 800BE430 000BB390 D1 01 0A C8 */ stfs f8, 0xac8(r1) -/* 800BE434 000BB394 CA A2 8D 40 */ lfd f21, lbl_805AAA60@sda21(r2) -/* 800BE438 000BB398 D0 E1 0A CC */ stfs f7, 0xacc(r1) -/* 800BE43C 000BB39C C2 82 8D 84 */ lfs f20, lbl_805AAAA4@sda21(r2) -/* 800BE440 000BB3A0 D0 C1 0A D0 */ stfs f6, 0xad0(r1) -/* 800BE444 000BB3A4 C2 62 8D 64 */ lfs f19, lbl_805AAA84@sda21(r2) -/* 800BE448 000BB3A8 D0 A1 0A D4 */ stfs f5, 0xad4(r1) -/* 800BE44C 000BB3AC D0 81 0A D8 */ stfs f4, 0xad8(r1) -/* 800BE450 000BB3B0 D0 61 0A DC */ stfs f3, 0xadc(r1) -/* 800BE454 000BB3B4 D0 41 0A E0 */ stfs f2, 0xae0(r1) -/* 800BE458 000BB3B8 D0 21 0A E4 */ stfs f1, 0xae4(r1) -/* 800BE45C 000BB3BC D0 01 0A E8 */ stfs f0, 0xae8(r1) -lbl_800BE460: -/* 800BE460 000BB3C0 48 2D 1A 1D */ bl rand -/* 800BE464 000BB3C4 7C 75 1B 78 */ mr r21, r3 -/* 800BE468 000BB3C8 48 2D 1A 15 */ bl rand -/* 800BE46C 000BB3CC 7C 9B 18 96 */ mulhw r4, r27, r3 -/* 800BE470 000BB3D0 6E A0 80 00 */ xoris r0, r21, 0x8000 -/* 800BE474 000BB3D4 90 01 0B 14 */ stw r0, 0xb14(r1) -/* 800BE478 000BB3D8 3B 18 00 01 */ addi r24, r24, 1 -/* 800BE47C 000BB3DC 92 E1 0B 10 */ stw r23, 0xb10(r1) -/* 800BE480 000BB3E0 2C 18 00 04 */ cmpwi r24, 4 -/* 800BE484 000BB3E4 C8 01 0B 10 */ lfd f0, 0xb10(r1) -/* 800BE488 000BB3E8 7C 80 0E 70 */ srawi r0, r4, 1 -/* 800BE48C 000BB3EC 54 04 0F FE */ srwi r4, r0, 0x1f -/* 800BE490 000BB3F0 EC 00 A8 28 */ fsubs f0, f0, f21 -/* 800BE494 000BB3F4 7C 00 22 14 */ add r0, r0, r4 -/* 800BE498 000BB3F8 1C 00 00 09 */ mulli r0, r0, 9 -/* 800BE49C 000BB3FC EC 00 A0 24 */ fdivs f0, f0, f20 -/* 800BE4A0 000BB400 7C A0 18 50 */ subf r5, r0, r3 -/* 800BE4A4 000BB404 7C 7C 28 96 */ mulhw r3, r28, r5 -/* 800BE4A8 000BB408 54 60 0F FE */ srwi r0, r3, 0x1f -/* 800BE4AC 000BB40C 7C 83 02 14 */ add r4, r3, r0 -/* 800BE4B0 000BB410 1C 04 00 03 */ mulli r0, r4, 3 -/* 800BE4B4 000BB414 7C 60 28 50 */ subf r3, r0, r5 -/* 800BE4B8 000BB418 54 80 10 3A */ slwi r0, r4, 2 -/* 800BE4BC 000BB41C 1C 63 00 0C */ mulli r3, r3, 0xc -/* 800BE4C0 000BB420 EC 00 98 28 */ fsubs f0, f0, f19 -/* 800BE4C4 000BB424 7C 03 02 14 */ add r0, r3, r0 -/* 800BE4C8 000BB428 7C 36 04 2E */ lfsx f1, r22, r0 -/* 800BE4CC 000BB42C EC 01 00 2A */ fadds f0, f1, f0 -/* 800BE4D0 000BB430 7C 16 05 2E */ stfsx f0, r22, r0 -/* 800BE4D4 000BB434 41 80 FF 8C */ blt lbl_800BE460 -/* 800BE4D8 000BB438 38 61 08 C4 */ addi r3, r1, 0x8c4 -/* 800BE4DC 000BB43C 38 81 0A C8 */ addi r4, r1, 0xac8 -/* 800BE4E0 000BB440 38 A1 0A D4 */ addi r5, r1, 0xad4 -/* 800BE4E4 000BB444 38 C1 0A E0 */ addi r6, r1, 0xae0 -/* 800BE4E8 000BB448 48 25 21 95 */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800BE4EC 000BB44C 7C 64 1B 78 */ mr r4, r3 -/* 800BE4F0 000BB450 38 61 0A EC */ addi r3, r1, 0xaec -/* 800BE4F4 000BB454 48 25 1B 05 */ bl __as__9CMatrix3fFRC9CMatrix3f -/* 800BE4F8 000BB458 C0 02 8D 88 */ lfs f0, lbl_805AAAA8@sda21(r2) -/* 800BE4FC 000BB45C FC 18 00 40 */ fcmpo cr0, f24, f0 -/* 800BE500 000BB460 40 81 00 3C */ ble lbl_800BE53C -/* 800BE504 000BB464 48 28 BA A9 */ bl White__6CColorFv -/* 800BE508 000BB468 C0 02 8D 88 */ lfs f0, lbl_805AAAA8@sda21(r2) -/* 800BE50C 000BB46C C0 42 8D 90 */ lfs f2, lbl_805AAAB0@sda21(r2) -/* 800BE510 000BB470 EC 38 00 28 */ fsubs f1, f24, f0 -/* 800BE514 000BB474 C0 02 8D 94 */ lfs f0, lbl_805AAAB4@sda21(r2) -/* 800BE518 000BB478 C0 62 8D 8C */ lfs f3, lbl_805AAAAC@sda21(r2) -/* 800BE51C 000BB47C EC 22 00 72 */ fmuls f1, f2, f1 -/* 800BE520 000BB480 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800BE524 000BB484 ED E3 00 32 */ fmuls f15, f3, f0 -/* 800BE528 000BB488 F1 E1 A0 08 */ psq_st f15, 8(r1), 1, qr2 -/* 800BE52C 000BB48C 80 63 00 00 */ lwz r3, 0(r3) -/* 800BE530 000BB490 88 01 00 08 */ lbz r0, 8(r1) -/* 800BE534 000BB494 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 800BE538 000BB498 90 01 00 8C */ stw r0, 0x8c(r1) -lbl_800BE53C: -/* 800BE53C 000BB49C C0 02 8D 98 */ lfs f0, lbl_805AAAB8@sda21(r2) -/* 800BE540 000BB4A0 FC 18 00 40 */ fcmpo cr0, f24, f0 -/* 800BE544 000BB4A4 40 81 00 0C */ ble lbl_800BE550 -/* 800BE548 000BB4A8 C2 A2 8D 38 */ lfs f21, lbl_805AAA58@sda21(r2) -/* 800BE54C 000BB4AC 48 00 00 34 */ b lbl_800BE580 -lbl_800BE550: -/* 800BE550 000BB4B0 C0 02 8D 9C */ lfs f0, lbl_805AAABC@sda21(r2) -/* 800BE554 000BB4B4 C0 22 8D 94 */ lfs f1, lbl_805AAAB4@sda21(r2) -/* 800BE558 000BB4B8 EC 58 00 28 */ fsubs f2, f24, f0 -/* 800BE55C 000BB4BC C0 0D 86 A8 */ lfs f0, lbl_805A7268@sda21(r13) -/* 800BE560 000BB4C0 EC 22 08 24 */ fdivs f1, f2, f1 -/* 800BE564 000BB4C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BE568 000BB4C8 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 800BE56C 000BB4CC 40 80 00 0C */ bge lbl_800BE578 -/* 800BE570 000BB4D0 38 6D 86 A8 */ addi r3, r13, lbl_805A7268@sda21 -/* 800BE574 000BB4D4 48 00 00 08 */ b lbl_800BE57C -lbl_800BE578: -/* 800BE578 000BB4D8 38 61 00 78 */ addi r3, r1, 0x78 -lbl_800BE57C: -/* 800BE57C 000BB4DC C2 A3 00 00 */ lfs f21, 0(r3) -lbl_800BE580: -/* 800BE580 000BB4E0 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 800BE584 000BB4E4 41 82 01 CC */ beq lbl_800BE750 -/* 800BE588 000BB4E8 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 800BE58C 000BB4EC 28 00 00 00 */ cmplwi r0, 0 -/* 800BE590 000BB4F0 40 82 00 30 */ bne lbl_800BE5C0 -/* 800BE594 000BB4F4 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 800BE598 000BB4F8 28 00 00 00 */ cmplwi r0, 0 -/* 800BE59C 000BB4FC 41 82 00 24 */ beq lbl_800BE5C0 -/* 800BE5A0 000BB500 80 7F 00 4C */ lwz r3, 0x4c(r31) -/* 800BE5A4 000BB504 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BE5A8 000BB508 28 00 00 00 */ cmplwi r0, 0 -/* 800BE5AC 000BB50C 41 82 00 14 */ beq lbl_800BE5C0 -/* 800BE5B0 000BB510 38 7F 00 4C */ addi r3, r31, 0x4c -/* 800BE5B4 000BB514 48 28 28 59 */ bl GetObj__6CTokenFv -/* 800BE5B8 000BB518 80 03 00 04 */ lwz r0, 4(r3) -/* 800BE5BC 000BB51C 90 1F 00 54 */ stw r0, 0x54(r31) -lbl_800BE5C0: -/* 800BE5C0 000BB520 83 1F 00 54 */ lwz r24, 0x54(r31) -/* 800BE5C4 000BB524 28 18 00 00 */ cmplwi r24, 0 -/* 800BE5C8 000BB528 41 82 01 88 */ beq lbl_800BE750 -/* 800BE5CC 000BB52C 80 C1 01 E0 */ lwz r6, 0x1e0(r1) -/* 800BE5D0 000BB530 FC 20 C8 90 */ fmr f1, f25 -/* 800BE5D4 000BB534 80 A1 01 E4 */ lwz r5, 0x1e4(r1) -/* 800BE5D8 000BB538 7F A4 EB 78 */ mr r4, r29 -/* 800BE5DC 000BB53C 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 800BE5E0 000BB540 38 61 01 D4 */ addi r3, r1, 0x1d4 -/* 800BE5E4 000BB544 90 C1 01 D4 */ stw r6, 0x1d4(r1) -/* 800BE5E8 000BB548 82 AD A1 40 */ lwz r21, gpTweakTargeting@sda21(r13) -/* 800BE5EC 000BB54C 90 A1 01 D8 */ stw r5, 0x1d8(r1) -/* 800BE5F0 000BB550 90 01 01 DC */ stw r0, 0x1dc(r1) -/* 800BE5F4 000BB554 C0 15 01 54 */ lfs f0, 0x154(r21) -/* 800BE5F8 000BB558 C0 75 01 58 */ lfs f3, 0x158(r21) -/* 800BE5FC 000BB55C EC 57 00 32 */ fmuls f2, f23, f0 -/* 800BE600 000BB560 4B FF E9 9D */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BE604 000BB564 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) -/* 800BE608 000BB568 38 61 08 58 */ addi r3, r1, 0x858 -/* 800BE60C 000BB56C C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) -/* 800BE610 000BB570 38 81 00 74 */ addi r4, r1, 0x74 -/* 800BE614 000BB574 C0 65 00 14 */ lfs f3, 0x14(r5) -/* 800BE618 000BB578 C0 1F 01 EC */ lfs f0, 0x1ec(r31) -/* 800BE61C 000BB57C EC 21 00 F2 */ fmuls f1, f1, f3 -/* 800BE620 000BB580 D0 41 08 38 */ stfs f2, 0x838(r1) -/* 800BE624 000BB584 D0 41 08 3C */ stfs f2, 0x83c(r1) -/* 800BE628 000BB588 EC 21 C0 24 */ fdivs f1, f1, f24 -/* 800BE62C 000BB58C D0 41 08 40 */ stfs f2, 0x840(r1) -/* 800BE630 000BB590 D0 41 08 48 */ stfs f2, 0x848(r1) -/* 800BE634 000BB594 D0 41 08 4C */ stfs f2, 0x84c(r1) -/* 800BE638 000BB598 D0 41 08 50 */ stfs f2, 0x850(r1) -/* 800BE63C 000BB59C D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800BE640 000BB5A0 D0 21 08 34 */ stfs f1, 0x834(r1) -/* 800BE644 000BB5A4 D0 21 08 44 */ stfs f1, 0x844(r1) -/* 800BE648 000BB5A8 D0 21 08 54 */ stfs f1, 0x854(r1) -/* 800BE64C 000BB5AC 48 25 1E 49 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800BE650 000BB5B0 7F C4 F3 78 */ mr r4, r30 -/* 800BE654 000BB5B4 38 61 08 7C */ addi r3, r1, 0x87c -/* 800BE658 000BB5B8 38 A1 08 58 */ addi r5, r1, 0x858 -/* 800BE65C 000BB5BC 48 25 1A D5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BE660 000BB5C0 38 61 08 A0 */ addi r3, r1, 0x8a0 -/* 800BE664 000BB5C4 38 81 08 7C */ addi r4, r1, 0x87c -/* 800BE668 000BB5C8 38 A1 08 34 */ addi r5, r1, 0x834 -/* 800BE66C 000BB5CC 48 25 1A C5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BE670 000BB5D0 38 61 0A A4 */ addi r3, r1, 0xaa4 -/* 800BE674 000BB5D4 38 81 08 A0 */ addi r4, r1, 0x8a0 -/* 800BE678 000BB5D8 48 25 19 AD */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BE67C 000BB5DC C0 5F 01 14 */ lfs f2, 0x114(r31) -/* 800BE680 000BB5E0 38 61 07 E0 */ addi r3, r1, 0x7e0 -/* 800BE684 000BB5E4 C0 3F 01 18 */ lfs f1, 0x118(r31) -/* 800BE688 000BB5E8 38 81 0A EC */ addi r4, r1, 0xaec -/* 800BE68C 000BB5EC C0 1F 01 1C */ lfs f0, 0x11c(r31) -/* 800BE690 000BB5F0 38 A1 0A A4 */ addi r5, r1, 0xaa4 -/* 800BE694 000BB5F4 D0 41 01 C8 */ stfs f2, 0x1c8(r1) -/* 800BE698 000BB5F8 D0 21 01 CC */ stfs f1, 0x1cc(r1) -/* 800BE69C 000BB5FC D0 01 01 D0 */ stfs f0, 0x1d0(r1) -/* 800BE6A0 000BB600 48 25 1A 91 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BE6A4 000BB604 38 61 08 04 */ addi r3, r1, 0x804 -/* 800BE6A8 000BB608 38 81 07 E0 */ addi r4, r1, 0x7e0 -/* 800BE6AC 000BB60C 38 A1 01 C8 */ addi r5, r1, 0x1c8 -/* 800BE6B0 000BB610 48 25 4B C9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BE6B4 000BB614 7C 64 1B 78 */ mr r4, r3 -/* 800BE6B8 000BB618 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE6BC 000BB61C 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE6C0 000BB620 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BE6C4 000BB624 7D 89 03 A6 */ mtctr r12 -/* 800BE6C8 000BB628 4E 80 04 21 */ bctrl -/* 800BE6CC 000BB62C 88 75 01 4F */ lbz r3, 0x14f(r21) -/* 800BE6D0 000BB630 3C 00 43 30 */ lis r0, 0x4330 -/* 800BE6D4 000BB634 90 01 0B 10 */ stw r0, 0xb10(r1) -/* 800BE6D8 000BB638 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BE6DC 000BB63C 90 61 0B 14 */ stw r3, 0xb14(r1) -/* 800BE6E0 000BB640 C8 01 0B 10 */ lfd f0, 0xb10(r1) -/* 800BE6E4 000BB644 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BE6E8 000BB648 EE 35 00 32 */ fmuls f17, f21, f0 -/* 800BE6EC 000BB64C F2 21 A0 11 */ psq_st f17, 17(r1), 1, qr2 -/* 800BE6F0 000BB650 38 61 00 70 */ addi r3, r1, 0x70 -/* 800BE6F4 000BB654 80 D5 01 4C */ lwz r6, 0x14c(r21) -/* 800BE6F8 000BB658 38 81 00 8C */ addi r4, r1, 0x8c -/* 800BE6FC 000BB65C 88 01 00 11 */ lbz r0, 0x11(r1) -/* 800BE700 000BB660 38 A1 00 6C */ addi r5, r1, 0x6c -/* 800BE704 000BB664 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 800BE708 000BB668 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800BE70C 000BB66C 48 2A 49 A5 */ bl Add__6CColorFRC6CColorRC6CColor -/* 800BE710 000BB670 38 C0 00 03 */ li r6, 3 -/* 800BE714 000BB674 80 A1 00 70 */ lwz r5, 0x70(r1) -/* 800BE718 000BB678 39 00 00 07 */ li r8, 7 -/* 800BE71C 000BB67C 38 E0 00 00 */ li r7, 0 -/* 800BE720 000BB680 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d -/* 800BE724 000BB684 99 01 01 10 */ stb r8, 0x110(r1) -/* 800BE728 000BB688 7F 03 C3 78 */ mr r3, r24 -/* 800BE72C 000BB68C 38 81 01 18 */ addi r4, r1, 0x118 -/* 800BE730 000BB690 98 E1 01 11 */ stb r7, 0x111(r1) -/* 800BE734 000BB694 B0 C1 01 12 */ sth r6, 0x112(r1) -/* 800BE738 000BB698 90 A1 01 14 */ stw r5, 0x114(r1) -/* 800BE73C 000BB69C 99 01 01 18 */ stb r8, 0x118(r1) -/* 800BE740 000BB6A0 98 E1 01 19 */ stb r7, 0x119(r1) -/* 800BE744 000BB6A4 B0 01 01 1A */ sth r0, 0x11a(r1) -/* 800BE748 000BB6A8 90 A1 01 1C */ stw r5, 0x11c(r1) -/* 800BE74C 000BB6AC 48 29 74 89 */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BE750: -/* 800BE750 000BB6B0 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 800BE754 000BB6B4 41 82 10 64 */ beq lbl_800BF7B8 -/* 800BE758 000BB6B8 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 800BE75C 000BB6BC 28 00 00 00 */ cmplwi r0, 0 -/* 800BE760 000BB6C0 40 82 00 30 */ bne lbl_800BE790 -/* 800BE764 000BB6C4 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 800BE768 000BB6C8 28 00 00 00 */ cmplwi r0, 0 -/* 800BE76C 000BB6CC 41 82 00 24 */ beq lbl_800BE790 -/* 800BE770 000BB6D0 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 800BE774 000BB6D4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BE778 000BB6D8 28 00 00 00 */ cmplwi r0, 0 -/* 800BE77C 000BB6DC 41 82 00 14 */ beq lbl_800BE790 -/* 800BE780 000BB6E0 38 7F 00 58 */ addi r3, r31, 0x58 -/* 800BE784 000BB6E4 48 28 26 89 */ bl GetObj__6CTokenFv -/* 800BE788 000BB6E8 80 03 00 04 */ lwz r0, 4(r3) -/* 800BE78C 000BB6EC 90 1F 00 60 */ stw r0, 0x60(r31) -lbl_800BE790: -/* 800BE790 000BB6F0 83 1F 00 60 */ lwz r24, 0x60(r31) -/* 800BE794 000BB6F4 28 18 00 00 */ cmplwi r24, 0 -/* 800BE798 000BB6F8 41 82 01 90 */ beq lbl_800BE928 -/* 800BE79C 000BB6FC 80 C1 01 E0 */ lwz r6, 0x1e0(r1) -/* 800BE7A0 000BB700 FC 20 C8 90 */ fmr f1, f25 -/* 800BE7A4 000BB704 80 A1 01 E4 */ lwz r5, 0x1e4(r1) -/* 800BE7A8 000BB708 7F A4 EB 78 */ mr r4, r29 -/* 800BE7AC 000BB70C 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 800BE7B0 000BB710 38 61 01 BC */ addi r3, r1, 0x1bc -/* 800BE7B4 000BB714 90 C1 01 BC */ stw r6, 0x1bc(r1) -/* 800BE7B8 000BB718 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BE7BC 000BB71C 90 A1 01 C0 */ stw r5, 0x1c0(r1) -/* 800BE7C0 000BB720 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 800BE7C4 000BB724 C0 06 01 5C */ lfs f0, 0x15c(r6) -/* 800BE7C8 000BB728 C0 66 01 60 */ lfs f3, 0x160(r6) -/* 800BE7CC 000BB72C EC 57 00 32 */ fmuls f2, f23, f0 -/* 800BE7D0 000BB730 4B FF E7 CD */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BE7D4 000BB734 82 AD A1 40 */ lwz r21, gpTweakTargeting@sda21(r13) -/* 800BE7D8 000BB738 38 61 07 74 */ addi r3, r1, 0x774 -/* 800BE7DC 000BB73C C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) -/* 800BE7E0 000BB740 38 81 00 68 */ addi r4, r1, 0x68 -/* 800BE7E4 000BB744 C0 75 00 B4 */ lfs f3, 0xb4(r21) -/* 800BE7E8 000BB748 C0 1F 01 F0 */ lfs f0, 0x1f0(r31) -/* 800BE7EC 000BB74C EC 21 00 F2 */ fmuls f1, f1, f3 -/* 800BE7F0 000BB750 D0 41 07 54 */ stfs f2, 0x754(r1) -/* 800BE7F4 000BB754 D0 41 07 58 */ stfs f2, 0x758(r1) -/* 800BE7F8 000BB758 EC 21 A8 24 */ fdivs f1, f1, f21 -/* 800BE7FC 000BB75C D0 41 07 5C */ stfs f2, 0x75c(r1) -/* 800BE800 000BB760 D0 41 07 64 */ stfs f2, 0x764(r1) -/* 800BE804 000BB764 D0 41 07 68 */ stfs f2, 0x768(r1) -/* 800BE808 000BB768 D0 41 07 6C */ stfs f2, 0x76c(r1) -/* 800BE80C 000BB76C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 800BE810 000BB770 D0 21 07 50 */ stfs f1, 0x750(r1) -/* 800BE814 000BB774 D0 21 07 60 */ stfs f1, 0x760(r1) -/* 800BE818 000BB778 D0 21 07 70 */ stfs f1, 0x770(r1) -/* 800BE81C 000BB77C 48 25 1C 79 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800BE820 000BB780 7F C4 F3 78 */ mr r4, r30 -/* 800BE824 000BB784 38 61 07 98 */ addi r3, r1, 0x798 -/* 800BE828 000BB788 38 A1 07 74 */ addi r5, r1, 0x774 -/* 800BE82C 000BB78C 48 25 19 05 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BE830 000BB790 38 61 07 BC */ addi r3, r1, 0x7bc -/* 800BE834 000BB794 38 81 07 98 */ addi r4, r1, 0x798 -/* 800BE838 000BB798 38 A1 07 50 */ addi r5, r1, 0x750 -/* 800BE83C 000BB79C 48 25 18 F5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BE840 000BB7A0 38 61 0A 80 */ addi r3, r1, 0xa80 -/* 800BE844 000BB7A4 38 81 07 BC */ addi r4, r1, 0x7bc -/* 800BE848 000BB7A8 48 25 17 DD */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BE84C 000BB7AC C0 5F 01 14 */ lfs f2, 0x114(r31) -/* 800BE850 000BB7B0 38 61 06 FC */ addi r3, r1, 0x6fc -/* 800BE854 000BB7B4 C0 3F 01 18 */ lfs f1, 0x118(r31) -/* 800BE858 000BB7B8 38 81 0A EC */ addi r4, r1, 0xaec -/* 800BE85C 000BB7BC C0 1F 01 1C */ lfs f0, 0x11c(r31) -/* 800BE860 000BB7C0 38 A1 0A 80 */ addi r5, r1, 0xa80 -/* 800BE864 000BB7C4 D0 41 01 B0 */ stfs f2, 0x1b0(r1) -/* 800BE868 000BB7C8 D0 21 01 B4 */ stfs f1, 0x1b4(r1) -/* 800BE86C 000BB7CC D0 01 01 B8 */ stfs f0, 0x1b8(r1) -/* 800BE870 000BB7D0 48 25 18 C1 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BE874 000BB7D4 38 61 07 20 */ addi r3, r1, 0x720 -/* 800BE878 000BB7D8 38 81 06 FC */ addi r4, r1, 0x6fc -/* 800BE87C 000BB7DC 38 A1 01 B0 */ addi r5, r1, 0x1b0 -/* 800BE880 000BB7E0 48 25 49 F9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BE884 000BB7E4 7C 64 1B 78 */ mr r4, r3 -/* 800BE888 000BB7E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BE88C 000BB7EC 81 83 00 00 */ lwz r12, 0(r3) -/* 800BE890 000BB7F0 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BE894 000BB7F4 7D 89 03 A6 */ mtctr r12 -/* 800BE898 000BB7F8 4E 80 04 21 */ bctrl -/* 800BE89C 000BB7FC 88 75 00 BB */ lbz r3, 0xbb(r21) -/* 800BE8A0 000BB800 3C 00 43 30 */ lis r0, 0x4330 -/* 800BE8A4 000BB804 90 01 0B 10 */ stw r0, 0xb10(r1) -/* 800BE8A8 000BB808 EC 55 04 B2 */ fmuls f2, f21, f18 -/* 800BE8AC 000BB80C C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BE8B0 000BB810 90 61 0B 14 */ stw r3, 0xb14(r1) -/* 800BE8B4 000BB814 C8 01 0B 10 */ lfd f0, 0xb10(r1) -/* 800BE8B8 000BB818 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BE8BC 000BB81C EE 02 00 32 */ fmuls f16, f2, f0 -/* 800BE8C0 000BB820 F2 01 A0 10 */ psq_st f16, 16(r1), 1, qr2 -/* 800BE8C4 000BB824 38 61 00 64 */ addi r3, r1, 0x64 -/* 800BE8C8 000BB828 80 D5 00 B8 */ lwz r6, 0xb8(r21) -/* 800BE8CC 000BB82C 38 81 00 8C */ addi r4, r1, 0x8c -/* 800BE8D0 000BB830 88 01 00 10 */ lbz r0, 0x10(r1) -/* 800BE8D4 000BB834 38 A1 00 60 */ addi r5, r1, 0x60 -/* 800BE8D8 000BB838 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 800BE8DC 000BB83C 90 01 00 60 */ stw r0, 0x60(r1) -/* 800BE8E0 000BB840 48 2A 47 D1 */ bl Add__6CColorFRC6CColorRC6CColor -/* 800BE8E4 000BB844 38 C0 00 03 */ li r6, 3 -/* 800BE8E8 000BB848 80 A1 00 64 */ lwz r5, 0x64(r1) -/* 800BE8EC 000BB84C 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d -/* 800BE8F0 000BB850 39 00 00 07 */ li r8, 7 -/* 800BE8F4 000BB854 38 E0 00 00 */ li r7, 0 -/* 800BE8F8 000BB858 99 01 01 00 */ stb r8, 0x100(r1) -/* 800BE8FC 000BB85C 60 00 00 01 */ ori r0, r0, 1 -/* 800BE900 000BB860 7F 03 C3 78 */ mr r3, r24 -/* 800BE904 000BB864 98 E1 01 01 */ stb r7, 0x101(r1) -/* 800BE908 000BB868 38 81 01 08 */ addi r4, r1, 0x108 -/* 800BE90C 000BB86C B0 C1 01 02 */ sth r6, 0x102(r1) -/* 800BE910 000BB870 90 A1 01 04 */ stw r5, 0x104(r1) -/* 800BE914 000BB874 99 01 01 08 */ stb r8, 0x108(r1) -/* 800BE918 000BB878 98 E1 01 09 */ stb r7, 0x109(r1) -/* 800BE91C 000BB87C B0 01 01 0A */ sth r0, 0x10a(r1) -/* 800BE920 000BB880 90 A1 01 0C */ stw r5, 0x10c(r1) -/* 800BE924 000BB884 48 29 72 B1 */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BE928: -/* 800BE928 000BB888 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800BE92C 000BB88C C0 1F 01 F8 */ lfs f0, 0x1f8(r31) -/* 800BE930 000BB890 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800BE934 000BB894 41 82 02 78 */ beq lbl_800BEBAC -/* 800BE938 000BB898 80 1F 00 6C */ lwz r0, 0x6c(r31) -/* 800BE93C 000BB89C 28 00 00 00 */ cmplwi r0, 0 -/* 800BE940 000BB8A0 40 82 00 30 */ bne lbl_800BE970 -/* 800BE944 000BB8A4 88 1F 00 68 */ lbz r0, 0x68(r31) -/* 800BE948 000BB8A8 28 00 00 00 */ cmplwi r0, 0 -/* 800BE94C 000BB8AC 41 82 00 24 */ beq lbl_800BE970 -/* 800BE950 000BB8B0 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800BE954 000BB8B4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BE958 000BB8B8 28 00 00 00 */ cmplwi r0, 0 -/* 800BE95C 000BB8BC 41 82 00 14 */ beq lbl_800BE970 -/* 800BE960 000BB8C0 38 7F 00 64 */ addi r3, r31, 0x64 -/* 800BE964 000BB8C4 48 28 24 A9 */ bl GetObj__6CTokenFv -/* 800BE968 000BB8C8 80 03 00 04 */ lwz r0, 4(r3) -/* 800BE96C 000BB8CC 90 1F 00 6C */ stw r0, 0x6c(r31) -lbl_800BE970: -/* 800BE970 000BB8D0 83 1F 00 6C */ lwz r24, 0x6c(r31) -/* 800BE974 000BB8D4 28 18 00 00 */ cmplwi r24, 0 -/* 800BE978 000BB8D8 41 82 02 34 */ beq lbl_800BEBAC -/* 800BE97C 000BB8DC 80 C1 01 E0 */ lwz r6, 0x1e0(r1) -/* 800BE980 000BB8E0 FC 20 C8 90 */ fmr f1, f25 -/* 800BE984 000BB8E4 80 A1 01 E4 */ lwz r5, 0x1e4(r1) -/* 800BE988 000BB8E8 7F A4 EB 78 */ mr r4, r29 -/* 800BE98C 000BB8EC 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 800BE990 000BB8F0 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 800BE994 000BB8F4 90 C1 01 A4 */ stw r6, 0x1a4(r1) -/* 800BE998 000BB8F8 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BE99C 000BB8FC 90 A1 01 A8 */ stw r5, 0x1a8(r1) -/* 800BE9A0 000BB900 90 01 01 AC */ stw r0, 0x1ac(r1) -/* 800BE9A4 000BB904 C0 06 01 6C */ lfs f0, 0x16c(r6) -/* 800BE9A8 000BB908 C0 66 01 70 */ lfs f3, 0x170(r6) -/* 800BE9AC 000BB90C EC 57 00 32 */ fmuls f2, f23, f0 -/* 800BE9B0 000BB910 4B FF E5 ED */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BE9B4 000BB914 83 8D A1 40 */ lwz r28, gpTweakTargeting@sda21(r13) -/* 800BE9B8 000BB918 38 61 0A 5C */ addi r3, r1, 0xa5c -/* 800BE9BC 000BB91C C0 1F 01 F8 */ lfs f0, 0x1f8(r31) -/* 800BE9C0 000BB920 38 81 06 D8 */ addi r4, r1, 0x6d8 -/* 800BE9C4 000BB924 C0 62 8D 64 */ lfs f3, lbl_805AAA84@sda21(r2) -/* 800BE9C8 000BB928 C0 5C 00 C8 */ lfs f2, 0xc8(r28) -/* 800BE9CC 000BB92C FC A0 02 10 */ fabs f5, f0 -/* 800BE9D0 000BB930 C0 9F 01 FC */ lfs f4, 0x1fc(r31) -/* 800BE9D4 000BB934 EC E3 00 B2 */ fmuls f7, f3, f2 -/* 800BE9D8 000BB938 C0 1C 00 BC */ lfs f0, 0xbc(r28) -/* 800BE9DC 000BB93C FC 40 28 18 */ frsp f2, f5 -/* 800BE9E0 000BB940 C0 A2 8D 38 */ lfs f5, lbl_805AAA58@sda21(r2) -/* 800BE9E4 000BB944 C0 7C 00 C0 */ lfs f3, 0xc0(r28) -/* 800BE9E8 000BB948 EC C4 38 28 */ fsubs f6, f4, f7 -/* 800BE9EC 000BB94C EC 42 00 24 */ fdivs f2, f2, f0 -/* 800BE9F0 000BB950 C0 9C 00 C4 */ lfs f4, 0xc4(r28) -/* 800BE9F4 000BB954 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BE9F8 000BB958 D0 01 06 DC */ stfs f0, 0x6dc(r1) -/* 800BE9FC 000BB95C D0 01 06 E0 */ stfs f0, 0x6e0(r1) -/* 800BEA00 000BB960 D0 01 06 E4 */ stfs f0, 0x6e4(r1) -/* 800BEA04 000BB964 EC C6 38 24 */ fdivs f6, f6, f7 -/* 800BEA08 000BB968 D0 01 06 EC */ stfs f0, 0x6ec(r1) -/* 800BEA0C 000BB96C D0 01 06 F0 */ stfs f0, 0x6f0(r1) -/* 800BEA10 000BB970 D0 01 06 F4 */ stfs f0, 0x6f4(r1) -/* 800BEA14 000BB974 FC C0 32 10 */ fabs f6, f6 -/* 800BEA18 000BB978 EC 02 00 72 */ fmuls f0, f2, f1 -/* 800BEA1C 000BB97C FC 20 30 18 */ frsp f1, f6 -/* 800BEA20 000BB980 EC 45 08 28 */ fsubs f2, f5, f1 -/* 800BEA24 000BB984 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 800BEA28 000BB988 EC 22 09 3A */ fmadds f1, f2, f4, f1 -/* 800BEA2C 000BB98C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800BEA30 000BB990 EC 00 C0 24 */ fdivs f0, f0, f24 -/* 800BEA34 000BB994 D0 01 06 D8 */ stfs f0, 0x6d8(r1) -/* 800BEA38 000BB998 D0 01 06 E8 */ stfs f0, 0x6e8(r1) -/* 800BEA3C 000BB99C D0 01 06 F8 */ stfs f0, 0x6f8(r1) -/* 800BEA40 000BB9A0 48 25 15 E5 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BEA44 000BB9A4 ED F5 04 B2 */ fmuls f15, f21, f18 -/* 800BEA48 000BB9A8 C2 62 8D 30 */ lfs f19, lbl_805AAA50@sda21(r2) -/* 800BEA4C 000BB9AC C2 82 8D 38 */ lfs f20, lbl_805AAA58@sda21(r2) -/* 800BEA50 000BB9B0 3B 20 00 00 */ li r25, 0 -/* 800BEA54 000BB9B4 CA 02 8D 48 */ lfd f16, lbl_805AAA68@sda21(r2) -/* 800BEA58 000BB9B8 3F 40 43 30 */ lis r26, 0x4330 -lbl_800BEA5C: -/* 800BEA5C 000BB9BC 2C 19 00 02 */ cmpwi r25, 2 -/* 800BEA60 000BB9C0 40 80 00 0C */ bge lbl_800BEA6C -/* 800BEA64 000BB9C4 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) -/* 800BEA68 000BB9C8 48 00 00 08 */ b lbl_800BEA70 -lbl_800BEA6C: -/* 800BEA6C 000BB9CC C0 02 8D 7C */ lfs f0, lbl_805AAA9C@sda21(r2) -lbl_800BEA70: -/* 800BEA70 000BB9D0 57 20 07 FF */ clrlwi. r0, r25, 0x1f -/* 800BEA74 000BB9D4 41 82 00 0C */ beq lbl_800BEA80 -/* 800BEA78 000BB9D8 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -/* 800BEA7C 000BB9DC 48 00 00 08 */ b lbl_800BEA84 -lbl_800BEA80: -/* 800BEA80 000BB9E0 C0 22 8D 7C */ lfs f1, lbl_805AAA9C@sda21(r2) -lbl_800BEA84: -/* 800BEA84 000BB9E4 D0 01 06 48 */ stfs f0, 0x648(r1) -/* 800BEA88 000BB9E8 7F C5 F3 78 */ mr r5, r30 -/* 800BEA8C 000BB9EC 38 61 06 6C */ addi r3, r1, 0x66c -/* 800BEA90 000BB9F0 38 81 0A EC */ addi r4, r1, 0xaec -/* 800BEA94 000BB9F4 D2 61 06 4C */ stfs f19, 0x64c(r1) -/* 800BEA98 000BB9F8 D2 61 06 50 */ stfs f19, 0x650(r1) -/* 800BEA9C 000BB9FC D2 61 06 54 */ stfs f19, 0x654(r1) -/* 800BEAA0 000BBA00 D2 81 06 58 */ stfs f20, 0x658(r1) -/* 800BEAA4 000BBA04 D2 61 06 5C */ stfs f19, 0x65c(r1) -/* 800BEAA8 000BBA08 D2 61 06 60 */ stfs f19, 0x660(r1) -/* 800BEAAC 000BBA0C D2 61 06 64 */ stfs f19, 0x664(r1) -/* 800BEAB0 000BBA10 D0 21 06 68 */ stfs f1, 0x668(r1) -/* 800BEAB4 000BBA14 48 25 16 7D */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BEAB8 000BBA18 38 61 06 90 */ addi r3, r1, 0x690 -/* 800BEABC 000BBA1C 38 81 06 6C */ addi r4, r1, 0x66c -/* 800BEAC0 000BBA20 38 A1 06 48 */ addi r5, r1, 0x648 -/* 800BEAC4 000BBA24 48 25 16 6D */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BEAC8 000BBA28 38 61 06 B4 */ addi r3, r1, 0x6b4 -/* 800BEACC 000BBA2C 38 81 06 90 */ addi r4, r1, 0x690 -/* 800BEAD0 000BBA30 38 A1 0A 5C */ addi r5, r1, 0xa5c -/* 800BEAD4 000BBA34 48 25 16 5D */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BEAD8 000BBA38 38 61 0A 38 */ addi r3, r1, 0xa38 -/* 800BEADC 000BBA3C 38 81 06 B4 */ addi r4, r1, 0x6b4 -/* 800BEAE0 000BBA40 48 25 15 45 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BEAE4 000BBA44 C0 5F 01 14 */ lfs f2, 0x114(r31) -/* 800BEAE8 000BBA48 38 61 06 18 */ addi r3, r1, 0x618 -/* 800BEAEC 000BBA4C C0 3F 01 18 */ lfs f1, 0x118(r31) -/* 800BEAF0 000BBA50 38 81 0A 38 */ addi r4, r1, 0xa38 -/* 800BEAF4 000BBA54 C0 1F 01 1C */ lfs f0, 0x11c(r31) -/* 800BEAF8 000BBA58 38 A1 01 98 */ addi r5, r1, 0x198 -/* 800BEAFC 000BBA5C D0 41 01 98 */ stfs f2, 0x198(r1) -/* 800BEB00 000BBA60 D0 21 01 9C */ stfs f1, 0x19c(r1) -/* 800BEB04 000BBA64 D0 01 01 A0 */ stfs f0, 0x1a0(r1) -/* 800BEB08 000BBA68 48 25 47 71 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BEB0C 000BBA6C 7C 64 1B 78 */ mr r4, r3 -/* 800BEB10 000BBA70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BEB14 000BBA74 81 83 00 00 */ lwz r12, 0(r3) -/* 800BEB18 000BBA78 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BEB1C 000BBA7C 7D 89 03 A6 */ mtctr r12 -/* 800BEB20 000BBA80 4E 80 04 21 */ bctrl -/* 800BEB24 000BBA84 88 1C 00 CF */ lbz r0, 0xcf(r28) -/* 800BEB28 000BBA88 93 41 0B 10 */ stw r26, 0xb10(r1) -/* 800BEB2C 000BBA8C 90 01 0B 14 */ stw r0, 0xb14(r1) -/* 800BEB30 000BBA90 C8 01 0B 10 */ lfd f0, 0xb10(r1) -/* 800BEB34 000BBA94 EC 00 80 28 */ fsubs f0, f0, f16 -/* 800BEB38 000BBA98 EF EF 00 32 */ fmuls f31, f15, f0 -/* 800BEB3C 000BBA9C F3 E1 A0 0F */ psq_st f31, 15(r1), 1, qr2 -/* 800BEB40 000BBAA0 38 61 00 5C */ addi r3, r1, 0x5c -/* 800BEB44 000BBAA4 80 DC 00 CC */ lwz r6, 0xcc(r28) -/* 800BEB48 000BBAA8 38 81 00 8C */ addi r4, r1, 0x8c -/* 800BEB4C 000BBAAC 88 01 00 0F */ lbz r0, 0xf(r1) -/* 800BEB50 000BBAB0 38 A1 00 58 */ addi r5, r1, 0x58 -/* 800BEB54 000BBAB4 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 800BEB58 000BBAB8 90 01 00 58 */ stw r0, 0x58(r1) -/* 800BEB5C 000BBABC 48 2A 45 55 */ bl Add__6CColorFRC6CColorRC6CColor -/* 800BEB60 000BBAC0 38 C0 00 03 */ li r6, 3 -/* 800BEB64 000BBAC4 80 A1 00 5C */ lwz r5, 0x5c(r1) -/* 800BEB68 000BBAC8 39 00 00 07 */ li r8, 7 -/* 800BEB6C 000BBACC 38 E0 00 00 */ li r7, 0 -/* 800BEB70 000BBAD0 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d -/* 800BEB74 000BBAD4 99 01 00 F0 */ stb r8, 0xf0(r1) -/* 800BEB78 000BBAD8 7F 03 C3 78 */ mr r3, r24 -/* 800BEB7C 000BBADC 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 800BEB80 000BBAE0 98 E1 00 F1 */ stb r7, 0xf1(r1) -/* 800BEB84 000BBAE4 B0 C1 00 F2 */ sth r6, 0xf2(r1) -/* 800BEB88 000BBAE8 90 A1 00 F4 */ stw r5, 0xf4(r1) -/* 800BEB8C 000BBAEC 99 01 00 F8 */ stb r8, 0xf8(r1) -/* 800BEB90 000BBAF0 98 E1 00 F9 */ stb r7, 0xf9(r1) -/* 800BEB94 000BBAF4 B0 01 00 FA */ sth r0, 0xfa(r1) -/* 800BEB98 000BBAF8 90 A1 00 FC */ stw r5, 0xfc(r1) -/* 800BEB9C 000BBAFC 48 29 70 39 */ bl Draw__6CModelCFRC11CModelFlags -/* 800BEBA0 000BBB00 3B 39 00 01 */ addi r25, r25, 1 -/* 800BEBA4 000BBB04 2C 19 00 04 */ cmpwi r25, 4 -/* 800BEBA8 000BBB08 41 80 FE B4 */ blt lbl_800BEA5C -lbl_800BEBAC: -/* 800BEBAC 000BBB0C 80 C1 01 E0 */ lwz r6, 0x1e0(r1) -/* 800BEBB0 000BBB10 FC 20 C8 90 */ fmr f1, f25 -/* 800BEBB4 000BBB14 80 A1 01 E4 */ lwz r5, 0x1e4(r1) -/* 800BEBB8 000BBB18 7F A4 EB 78 */ mr r4, r29 -/* 800BEBBC 000BBB1C 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 800BEBC0 000BBB20 38 61 01 8C */ addi r3, r1, 0x18c -/* 800BEBC4 000BBB24 90 C1 01 8C */ stw r6, 0x18c(r1) -/* 800BEBC8 000BBB28 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BEBCC 000BBB2C 90 A1 01 90 */ stw r5, 0x190(r1) -/* 800BEBD0 000BBB30 90 01 01 94 */ stw r0, 0x194(r1) -/* 800BEBD4 000BBB34 C0 06 01 7C */ lfs f0, 0x17c(r6) -/* 800BEBD8 000BBB38 C0 66 01 80 */ lfs f3, 0x180(r6) -/* 800BEBDC 000BBB3C EC 57 00 32 */ fmuls f2, f23, f0 -/* 800BEBE0 000BBB40 4B FF E3 BD */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BEBE4 000BBB44 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) -/* 800BEBE8 000BBB48 7F C4 F3 78 */ mr r4, r30 -/* 800BEBEC 000BBB4C 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) -/* 800BEBF0 000BBB50 38 61 05 F4 */ addi r3, r1, 0x5f4 -/* 800BEBF4 000BBB54 EC 40 C0 24 */ fdivs f2, f0, f24 -/* 800BEBF8 000BBB58 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BEBFC 000BBB5C C0 65 00 F0 */ lfs f3, 0xf0(r5) -/* 800BEC00 000BBB60 38 A1 05 D0 */ addi r5, r1, 0x5d0 -/* 800BEC04 000BBB64 D0 01 05 D4 */ stfs f0, 0x5d4(r1) -/* 800BEC08 000BBB68 D0 01 05 D8 */ stfs f0, 0x5d8(r1) -/* 800BEC0C 000BBB6C EC 22 00 72 */ fmuls f1, f2, f1 -/* 800BEC10 000BBB70 D0 01 05 DC */ stfs f0, 0x5dc(r1) -/* 800BEC14 000BBB74 D0 01 05 E4 */ stfs f0, 0x5e4(r1) -/* 800BEC18 000BBB78 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800BEC1C 000BBB7C D0 01 05 E8 */ stfs f0, 0x5e8(r1) -/* 800BEC20 000BBB80 D0 21 05 D0 */ stfs f1, 0x5d0(r1) -/* 800BEC24 000BBB84 D0 21 05 E0 */ stfs f1, 0x5e0(r1) -/* 800BEC28 000BBB88 D0 01 05 EC */ stfs f0, 0x5ec(r1) -/* 800BEC2C 000BBB8C D0 21 05 F0 */ stfs f1, 0x5f0(r1) -/* 800BEC30 000BBB90 48 25 15 01 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BEC34 000BBB94 38 61 0A 14 */ addi r3, r1, 0xa14 -/* 800BEC38 000BBB98 38 81 05 F4 */ addi r4, r1, 0x5f4 -/* 800BEC3C 000BBB9C 48 25 13 E9 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BEC40 000BBBA0 ED F5 04 B2 */ fmuls f15, f21, f18 -/* 800BEC44 000BBBA4 83 8D A1 40 */ lwz r28, gpTweakTargeting@sda21(r13) -/* 800BEC48 000BBBA8 3B 00 00 00 */ li r24, 0 -/* 800BEC4C 000BBBAC 3B 60 00 00 */ li r27, 0 -lbl_800BEC50: -/* 800BEC50 000BBBB0 80 1F 00 EC */ lwz r0, 0xec(r31) -/* 800BEC54 000BBBB4 7E A0 DA 14 */ add r21, r0, r27 -/* 800BEC58 000BBBB8 80 15 00 08 */ lwz r0, 8(r21) -/* 800BEC5C 000BBBBC 28 00 00 00 */ cmplwi r0, 0 -/* 800BEC60 000BBBC0 40 82 00 30 */ bne lbl_800BEC90 -/* 800BEC64 000BBBC4 88 15 00 04 */ lbz r0, 4(r21) -/* 800BEC68 000BBBC8 28 00 00 00 */ cmplwi r0, 0 -/* 800BEC6C 000BBBCC 41 82 00 24 */ beq lbl_800BEC90 -/* 800BEC70 000BBBD0 80 75 00 00 */ lwz r3, 0(r21) -/* 800BEC74 000BBBD4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BEC78 000BBBD8 28 00 00 00 */ cmplwi r0, 0 -/* 800BEC7C 000BBBDC 41 82 00 14 */ beq lbl_800BEC90 -/* 800BEC80 000BBBE0 7E A3 AB 78 */ mr r3, r21 -/* 800BEC84 000BBBE4 48 28 21 89 */ bl GetObj__6CTokenFv -/* 800BEC88 000BBBE8 80 03 00 04 */ lwz r0, 4(r3) -/* 800BEC8C 000BBBEC 90 15 00 08 */ stw r0, 8(r21) -lbl_800BEC90: -/* 800BEC90 000BBBF0 83 35 00 08 */ lwz r25, 8(r21) -/* 800BEC94 000BBBF4 28 19 00 00 */ cmplwi r25, 0 -/* 800BEC98 000BBBF8 41 82 01 08 */ beq lbl_800BEDA0 -/* 800BEC9C 000BBBFC C0 15 00 10 */ lfs f0, 0x10(r21) -/* 800BECA0 000BBC00 38 61 05 88 */ addi r3, r1, 0x588 -/* 800BECA4 000BBC04 38 81 00 88 */ addi r4, r1, 0x88 -/* 800BECA8 000BBC08 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 800BECAC 000BBC0C 48 25 17 E9 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800BECB0 000BBC10 38 61 05 AC */ addi r3, r1, 0x5ac -/* 800BECB4 000BBC14 38 81 0A 14 */ addi r4, r1, 0xa14 -/* 800BECB8 000BBC18 38 A1 05 88 */ addi r5, r1, 0x588 -/* 800BECBC 000BBC1C 48 25 14 75 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BECC0 000BBC20 38 61 09 F0 */ addi r3, r1, 0x9f0 -/* 800BECC4 000BBC24 38 81 05 AC */ addi r4, r1, 0x5ac -/* 800BECC8 000BBC28 48 25 13 5D */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BECCC 000BBC2C C0 5F 01 14 */ lfs f2, 0x114(r31) -/* 800BECD0 000BBC30 38 61 05 34 */ addi r3, r1, 0x534 -/* 800BECD4 000BBC34 C0 3F 01 18 */ lfs f1, 0x118(r31) -/* 800BECD8 000BBC38 38 81 0A EC */ addi r4, r1, 0xaec -/* 800BECDC 000BBC3C C0 1F 01 1C */ lfs f0, 0x11c(r31) -/* 800BECE0 000BBC40 38 A1 09 F0 */ addi r5, r1, 0x9f0 -/* 800BECE4 000BBC44 D0 41 01 80 */ stfs f2, 0x180(r1) -/* 800BECE8 000BBC48 D0 21 01 84 */ stfs f1, 0x184(r1) -/* 800BECEC 000BBC4C D0 01 01 88 */ stfs f0, 0x188(r1) -/* 800BECF0 000BBC50 48 25 14 41 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BECF4 000BBC54 38 61 05 58 */ addi r3, r1, 0x558 -/* 800BECF8 000BBC58 38 81 05 34 */ addi r4, r1, 0x534 -/* 800BECFC 000BBC5C 38 A1 01 80 */ addi r5, r1, 0x180 -/* 800BED00 000BBC60 48 25 45 79 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BED04 000BBC64 7C 64 1B 78 */ mr r4, r3 -/* 800BED08 000BBC68 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BED0C 000BBC6C 81 83 00 00 */ lwz r12, 0(r3) -/* 800BED10 000BBC70 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BED14 000BBC74 7D 89 03 A6 */ mtctr r12 -/* 800BED18 000BBC78 4E 80 04 21 */ bctrl -/* 800BED1C 000BBC7C 88 7C 00 F7 */ lbz r3, 0xf7(r28) -/* 800BED20 000BBC80 3C 00 43 30 */ lis r0, 0x4330 -/* 800BED24 000BBC84 90 01 0B 10 */ stw r0, 0xb10(r1) -/* 800BED28 000BBC88 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BED2C 000BBC8C 90 61 0B 14 */ stw r3, 0xb14(r1) -/* 800BED30 000BBC90 C8 01 0B 10 */ lfd f0, 0xb10(r1) -/* 800BED34 000BBC94 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BED38 000BBC98 EF CF 00 32 */ fmuls f30, f15, f0 -/* 800BED3C 000BBC9C F3 C1 A0 0E */ psq_st f30, 14(r1), 1, qr2 -/* 800BED40 000BBCA0 38 61 00 54 */ addi r3, r1, 0x54 -/* 800BED44 000BBCA4 80 DC 00 F4 */ lwz r6, 0xf4(r28) -/* 800BED48 000BBCA8 38 81 00 8C */ addi r4, r1, 0x8c -/* 800BED4C 000BBCAC 88 01 00 0E */ lbz r0, 0xe(r1) -/* 800BED50 000BBCB0 38 A1 00 50 */ addi r5, r1, 0x50 -/* 800BED54 000BBCB4 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 800BED58 000BBCB8 90 01 00 50 */ stw r0, 0x50(r1) -/* 800BED5C 000BBCBC 48 2A 43 55 */ bl Add__6CColorFRC6CColorRC6CColor -/* 800BED60 000BBCC0 38 C0 00 03 */ li r6, 3 -/* 800BED64 000BBCC4 80 A1 00 54 */ lwz r5, 0x54(r1) -/* 800BED68 000BBCC8 39 00 00 07 */ li r8, 7 -/* 800BED6C 000BBCCC 38 E0 00 00 */ li r7, 0 -/* 800BED70 000BBCD0 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d -/* 800BED74 000BBCD4 99 01 00 E0 */ stb r8, 0xe0(r1) -/* 800BED78 000BBCD8 7F 23 CB 78 */ mr r3, r25 -/* 800BED7C 000BBCDC 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 800BED80 000BBCE0 98 E1 00 E1 */ stb r7, 0xe1(r1) -/* 800BED84 000BBCE4 B0 C1 00 E2 */ sth r6, 0xe2(r1) -/* 800BED88 000BBCE8 90 A1 00 E4 */ stw r5, 0xe4(r1) -/* 800BED8C 000BBCEC 99 01 00 E8 */ stb r8, 0xe8(r1) -/* 800BED90 000BBCF0 98 E1 00 E9 */ stb r7, 0xe9(r1) -/* 800BED94 000BBCF4 B0 01 00 EA */ sth r0, 0xea(r1) -/* 800BED98 000BBCF8 90 A1 00 EC */ stw r5, 0xec(r1) -/* 800BED9C 000BBCFC 48 29 6E 39 */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BEDA0: -/* 800BEDA0 000BBD00 3B 18 00 01 */ addi r24, r24, 1 -/* 800BEDA4 000BBD04 3B 7B 00 1C */ addi r27, r27, 0x1c -/* 800BEDA8 000BBD08 2C 18 00 09 */ cmpwi r24, 9 -/* 800BEDAC 000BBD0C 41 80 FE A4 */ blt lbl_800BEC50 -/* 800BEDB0 000BBD10 80 1F 00 CC */ lwz r0, 0xcc(r31) -/* 800BEDB4 000BBD14 28 00 00 00 */ cmplwi r0, 0 -/* 800BEDB8 000BBD18 40 82 00 30 */ bne lbl_800BEDE8 -/* 800BEDBC 000BBD1C 88 1F 00 C8 */ lbz r0, 0xc8(r31) -/* 800BEDC0 000BBD20 28 00 00 00 */ cmplwi r0, 0 -/* 800BEDC4 000BBD24 41 82 00 24 */ beq lbl_800BEDE8 -/* 800BEDC8 000BBD28 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 800BEDCC 000BBD2C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BEDD0 000BBD30 28 00 00 00 */ cmplwi r0, 0 -/* 800BEDD4 000BBD34 41 82 00 14 */ beq lbl_800BEDE8 -/* 800BEDD8 000BBD38 38 7F 00 C4 */ addi r3, r31, 0xc4 -/* 800BEDDC 000BBD3C 48 28 20 31 */ bl GetObj__6CTokenFv -/* 800BEDE0 000BBD40 80 03 00 04 */ lwz r0, 4(r3) -/* 800BEDE4 000BBD44 90 1F 00 CC */ stw r0, 0xcc(r31) -lbl_800BEDE8: -/* 800BEDE8 000BBD48 83 1F 00 CC */ lwz r24, 0xcc(r31) -/* 800BEDEC 000BBD4C 28 18 00 00 */ cmplwi r24, 0 -/* 800BEDF0 000BBD50 41 82 03 6C */ beq lbl_800BF15C -/* 800BEDF4 000BBD54 80 C1 01 E0 */ lwz r6, 0x1e0(r1) -/* 800BEDF8 000BBD58 FC 20 C8 90 */ fmr f1, f25 -/* 800BEDFC 000BBD5C 80 A1 01 E4 */ lwz r5, 0x1e4(r1) -/* 800BEE00 000BBD60 7F A4 EB 78 */ mr r4, r29 -/* 800BEE04 000BBD64 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 800BEE08 000BBD68 38 61 01 74 */ addi r3, r1, 0x174 -/* 800BEE0C 000BBD6C 90 C1 01 74 */ stw r6, 0x174(r1) -/* 800BEE10 000BBD70 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BEE14 000BBD74 90 A1 01 78 */ stw r5, 0x178(r1) -/* 800BEE18 000BBD78 90 01 01 7C */ stw r0, 0x17c(r1) -/* 800BEE1C 000BBD7C C0 06 01 7C */ lfs f0, 0x17c(r6) -/* 800BEE20 000BBD80 C0 66 01 80 */ lfs f3, 0x180(r6) -/* 800BEE24 000BBD84 EC 57 00 32 */ fmuls f2, f23, f0 -/* 800BEE28 000BBD88 4B FF E1 75 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BEE2C 000BBD8C 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) -/* 800BEE30 000BBD90 7F C4 F3 78 */ mr r4, r30 -/* 800BEE34 000BBD94 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BEE38 000BBD98 38 61 05 10 */ addi r3, r1, 0x510 -/* 800BEE3C 000BBD9C C0 45 01 18 */ lfs f2, 0x118(r5) -/* 800BEE40 000BBDA0 38 A1 04 EC */ addi r5, r1, 0x4ec -/* 800BEE44 000BBDA4 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800BEE48 000BBDA8 D0 01 04 F0 */ stfs f0, 0x4f0(r1) -/* 800BEE4C 000BBDAC D0 01 04 F4 */ stfs f0, 0x4f4(r1) -/* 800BEE50 000BBDB0 EC 21 C0 24 */ fdivs f1, f1, f24 -/* 800BEE54 000BBDB4 D0 01 04 F8 */ stfs f0, 0x4f8(r1) -/* 800BEE58 000BBDB8 D0 01 05 00 */ stfs f0, 0x500(r1) -/* 800BEE5C 000BBDBC D0 01 05 04 */ stfs f0, 0x504(r1) -/* 800BEE60 000BBDC0 D0 01 05 08 */ stfs f0, 0x508(r1) -/* 800BEE64 000BBDC4 D0 21 04 EC */ stfs f1, 0x4ec(r1) -/* 800BEE68 000BBDC8 D0 21 04 FC */ stfs f1, 0x4fc(r1) -/* 800BEE6C 000BBDCC D0 21 05 0C */ stfs f1, 0x50c(r1) -/* 800BEE70 000BBDD0 48 25 12 C1 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BEE74 000BBDD4 38 61 09 CC */ addi r3, r1, 0x9cc -/* 800BEE78 000BBDD8 38 81 05 10 */ addi r4, r1, 0x510 -/* 800BEE7C 000BBDDC 48 25 11 A9 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BEE80 000BBDE0 C0 1F 00 D4 */ lfs f0, 0xd4(r31) -/* 800BEE84 000BBDE4 38 61 04 A4 */ addi r3, r1, 0x4a4 -/* 800BEE88 000BBDE8 38 81 00 84 */ addi r4, r1, 0x84 -/* 800BEE8C 000BBDEC D0 01 00 84 */ stfs f0, 0x84(r1) -/* 800BEE90 000BBDF0 48 25 16 05 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800BEE94 000BBDF4 38 61 04 C8 */ addi r3, r1, 0x4c8 -/* 800BEE98 000BBDF8 38 81 09 CC */ addi r4, r1, 0x9cc -/* 800BEE9C 000BBDFC 38 A1 04 A4 */ addi r5, r1, 0x4a4 -/* 800BEEA0 000BBE00 48 25 12 91 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BEEA4 000BBE04 38 61 09 A8 */ addi r3, r1, 0x9a8 -/* 800BEEA8 000BBE08 38 81 04 C8 */ addi r4, r1, 0x4c8 -/* 800BEEAC 000BBE0C 48 25 11 79 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BEEB0 000BBE10 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BEEB4 000BBE14 C0 3F 02 14 */ lfs f1, 0x214(r31) -/* 800BEEB8 000BBE18 C0 03 01 B8 */ lfs f0, 0x1b8(r3) -/* 800BEEBC 000BBE1C C2 23 01 D0 */ lfs f17, 0x1d0(r3) -/* 800BEEC0 000BBE20 EE 01 00 24 */ fdivs f16, f1, f0 -/* 800BEEC4 000BBE24 48 24 B0 1D */ bl GetSecondsMod900__9CGraphicsFv -/* 800BEEC8 000BBE28 FC 40 88 90 */ fmr f2, f17 -/* 800BEECC 000BBE2C 48 2D 5D E1 */ bl fmod -/* 800BEED0 000BBE30 FC 20 08 18 */ frsp f1, f1 -/* 800BEED4 000BBE34 C0 02 8D 64 */ lfs f0, lbl_805AAA84@sda21(r2) -/* 800BEED8 000BBE38 EC 40 04 72 */ fmuls f2, f0, f17 -/* 800BEEDC 000BBE3C FC 00 0A 10 */ fabs f0, f1 -/* 800BEEE0 000BBE40 FC 00 00 18 */ frsp f0, f0 -/* 800BEEE4 000BBE44 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 800BEEE8 000BBE48 40 80 00 0C */ bge lbl_800BEEF4 -/* 800BEEEC 000BBE4C EC 20 10 24 */ fdivs f1, f0, f2 -/* 800BEEF0 000BBE50 48 00 00 0C */ b lbl_800BEEFC -lbl_800BEEF4: -/* 800BEEF4 000BBE54 EC 11 00 28 */ fsubs f0, f17, f0 -/* 800BEEF8 000BBE58 EC 20 10 24 */ fdivs f1, f0, f2 -lbl_800BEEFC: -/* 800BEEFC 000BBE5C 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) -/* 800BEF00 000BBE60 38 61 00 4C */ addi r3, r1, 0x4c -/* 800BEF04 000BBE64 38 85 01 B4 */ addi r4, r5, 0x1b4 -/* 800BEF08 000BBE68 38 A5 01 CC */ addi r5, r5, 0x1cc -/* 800BEF0C 000BBE6C 48 2A 43 A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800BEF10 000BBE70 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 800BEF14 000BBE74 FC 20 80 90 */ fmr f1, f16 -/* 800BEF18 000BBE78 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) -/* 800BEF1C 000BBE7C 38 61 00 48 */ addi r3, r1, 0x48 -/* 800BEF20 000BBE80 90 01 00 80 */ stw r0, 0x80(r1) -/* 800BEF24 000BBE84 38 A1 00 80 */ addi r5, r1, 0x80 -/* 800BEF28 000BBE88 38 84 01 1C */ addi r4, r4, 0x11c -/* 800BEF2C 000BBE8C 48 2A 43 81 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800BEF30 000BBE90 80 01 00 48 */ lwz r0, 0x48(r1) -/* 800BEF34 000BBE94 38 61 04 50 */ addi r3, r1, 0x450 -/* 800BEF38 000BBE98 C0 5F 01 14 */ lfs f2, 0x114(r31) -/* 800BEF3C 000BBE9C 38 81 0A EC */ addi r4, r1, 0xaec -/* 800BEF40 000BBEA0 C0 3F 01 18 */ lfs f1, 0x118(r31) -/* 800BEF44 000BBEA4 38 A1 09 A8 */ addi r5, r1, 0x9a8 -/* 800BEF48 000BBEA8 C0 1F 01 1C */ lfs f0, 0x11c(r31) -/* 800BEF4C 000BBEAC 90 01 00 7C */ stw r0, 0x7c(r1) -/* 800BEF50 000BBEB0 D0 41 01 68 */ stfs f2, 0x168(r1) -/* 800BEF54 000BBEB4 D0 21 01 6C */ stfs f1, 0x16c(r1) -/* 800BEF58 000BBEB8 D0 01 01 70 */ stfs f0, 0x170(r1) -/* 800BEF5C 000BBEBC 48 25 11 D5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BEF60 000BBEC0 38 61 04 74 */ addi r3, r1, 0x474 -/* 800BEF64 000BBEC4 38 81 04 50 */ addi r4, r1, 0x450 -/* 800BEF68 000BBEC8 38 A1 01 68 */ addi r5, r1, 0x168 -/* 800BEF6C 000BBECC 48 25 43 0D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BEF70 000BBED0 7C 64 1B 78 */ mr r4, r3 -/* 800BEF74 000BBED4 38 61 09 78 */ addi r3, r1, 0x978 -/* 800BEF78 000BBED8 48 25 3B FD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800BEF7C 000BBEDC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BEF80 000BBEE0 38 81 09 78 */ addi r4, r1, 0x978 -/* 800BEF84 000BBEE4 81 83 00 00 */ lwz r12, 0(r3) -/* 800BEF88 000BBEE8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BEF8C 000BBEEC 7D 89 03 A6 */ mtctr r12 -/* 800BEF90 000BBEF0 4E 80 04 21 */ bctrl -/* 800BEF94 000BBEF4 88 61 00 7F */ lbz r3, 0x7f(r1) -/* 800BEF98 000BBEF8 3C 00 43 30 */ lis r0, 0x4330 -/* 800BEF9C 000BBEFC 90 01 0B 10 */ stw r0, 0xb10(r1) -/* 800BEFA0 000BBF00 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BEFA4 000BBF04 90 61 0B 14 */ stw r3, 0xb14(r1) -/* 800BEFA8 000BBF08 C8 01 0B 10 */ lfd f0, 0xb10(r1) -/* 800BEFAC 000BBF0C EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BEFB0 000BBF10 EE CF 00 32 */ fmuls f22, f15, f0 -/* 800BEFB4 000BBF14 FF A0 B0 90 */ fmr f29, f22 -/* 800BEFB8 000BBF18 F3 A1 A0 0D */ psq_st f29, 13(r1), 1, qr2 -/* 800BEFBC 000BBF1C 38 61 00 44 */ addi r3, r1, 0x44 -/* 800BEFC0 000BBF20 80 C1 00 7C */ lwz r6, 0x7c(r1) -/* 800BEFC4 000BBF24 38 81 00 8C */ addi r4, r1, 0x8c -/* 800BEFC8 000BBF28 88 01 00 0D */ lbz r0, 0xd(r1) -/* 800BEFCC 000BBF2C 38 A1 00 40 */ addi r5, r1, 0x40 -/* 800BEFD0 000BBF30 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 800BEFD4 000BBF34 54 DB 00 2E */ rlwinm r27, r6, 0, 0, 0x17 -/* 800BEFD8 000BBF38 90 01 00 40 */ stw r0, 0x40(r1) -/* 800BEFDC 000BBF3C 48 2A 40 D5 */ bl Add__6CColorFRC6CColorRC6CColor -/* 800BEFE0 000BBF40 38 C0 00 03 */ li r6, 3 -/* 800BEFE4 000BBF44 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 800BEFE8 000BBF48 39 00 00 07 */ li r8, 7 -/* 800BEFEC 000BBF4C 38 E0 00 00 */ li r7, 0 -/* 800BEFF0 000BBF50 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d -/* 800BEFF4 000BBF54 99 01 00 D0 */ stb r8, 0xd0(r1) -/* 800BEFF8 000BBF58 7F 03 C3 78 */ mr r3, r24 -/* 800BEFFC 000BBF5C 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 800BF000 000BBF60 98 E1 00 D1 */ stb r7, 0xd1(r1) -/* 800BF004 000BBF64 B0 C1 00 D2 */ sth r6, 0xd2(r1) -/* 800BF008 000BBF68 90 A1 00 D4 */ stw r5, 0xd4(r1) -/* 800BF00C 000BBF6C 99 01 00 D8 */ stb r8, 0xd8(r1) -/* 800BF010 000BBF70 98 E1 00 D9 */ stb r7, 0xd9(r1) -/* 800BF014 000BBF74 B0 01 00 DA */ sth r0, 0xda(r1) -/* 800BF018 000BBF78 90 A1 00 DC */ stw r5, 0xdc(r1) -/* 800BF01C 000BBF7C 48 29 6B B9 */ bl Draw__6CModelCFRC11CModelFlags -/* 800BF020 000BBF80 80 1F 00 A8 */ lwz r0, 0xa8(r31) -/* 800BF024 000BBF84 28 00 00 00 */ cmplwi r0, 0 -/* 800BF028 000BBF88 40 82 00 30 */ bne lbl_800BF058 -/* 800BF02C 000BBF8C 88 1F 00 A4 */ lbz r0, 0xa4(r31) -/* 800BF030 000BBF90 28 00 00 00 */ cmplwi r0, 0 -/* 800BF034 000BBF94 41 82 00 24 */ beq lbl_800BF058 -/* 800BF038 000BBF98 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 800BF03C 000BBF9C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BF040 000BBFA0 28 00 00 00 */ cmplwi r0, 0 -/* 800BF044 000BBFA4 41 82 00 14 */ beq lbl_800BF058 -/* 800BF048 000BBFA8 38 7F 00 A0 */ addi r3, r31, 0xa0 -/* 800BF04C 000BBFAC 48 28 1D C1 */ bl GetObj__6CTokenFv -/* 800BF050 000BBFB0 80 03 00 04 */ lwz r0, 4(r3) -/* 800BF054 000BBFB4 90 1F 00 A8 */ stw r0, 0xa8(r31) -lbl_800BF058: -/* 800BF058 000BBFB8 83 1F 00 A8 */ lwz r24, 0xa8(r31) -/* 800BF05C 000BBFBC 28 18 00 00 */ cmplwi r24, 0 -/* 800BF060 000BBFC0 41 82 00 FC */ beq lbl_800BF15C -/* 800BF064 000BBFC4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF068 000BBFC8 3C 00 43 30 */ lis r0, 0x4330 -/* 800BF06C 000BBFCC 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 800BF070 000BBFD0 80 63 01 20 */ lwz r3, 0x120(r3) -/* 800BF074 000BBFD4 80 84 04 90 */ lwz r4, 0x490(r4) -/* 800BF078 000BBFD8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 800BF07C 000BBFDC 90 01 0B 10 */ stw r0, 0xb10(r1) -/* 800BF080 000BBFE0 88 04 08 34 */ lbz r0, 0x834(r4) -/* 800BF084 000BBFE4 90 61 0B 14 */ stw r3, 0xb14(r1) -/* 800BF088 000BBFE8 C8 22 8D 40 */ lfd f1, lbl_805AAA60@sda21(r2) -/* 800BF08C 000BBFEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800BF090 000BBFF0 C8 01 0B 10 */ lfd f0, 0xb10(r1) -/* 800BF094 000BBFF4 EC 20 08 28 */ fsubs f1, f0, f1 -/* 800BF098 000BBFF8 41 82 00 0C */ beq lbl_800BF0A4 -/* 800BF09C 000BBFFC C0 04 03 40 */ lfs f0, 0x340(r4) -/* 800BF0A0 000BC000 48 00 00 08 */ b lbl_800BF0A8 -lbl_800BF0A4: -/* 800BF0A4 000BC004 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -lbl_800BF0A8: -/* 800BF0A8 000BC008 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800BF0AC 000BC00C 3A C0 00 00 */ li r22, 0 -/* 800BF0B0 000BC010 FC 00 00 1E */ fctiwz f0, f0 -/* 800BF0B4 000BC014 D8 01 0B 18 */ stfd f0, 0xb18(r1) -/* 800BF0B8 000BC018 82 A1 0B 1C */ lwz r21, 0xb1c(r1) -/* 800BF0BC 000BC01C 48 00 00 98 */ b lbl_800BF154 -lbl_800BF0C0: -/* 800BF0C0 000BC020 F2 C1 A0 0C */ psq_st f22, 12(r1), 1, qr2 -/* 800BF0C4 000BC024 38 61 00 3C */ addi r3, r1, 0x3c -/* 800BF0C8 000BC028 38 81 00 8C */ addi r4, r1, 0x8c -/* 800BF0CC 000BC02C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800BF0D0 000BC030 88 01 00 0C */ lbz r0, 0xc(r1) -/* 800BF0D4 000BC034 7F 60 03 78 */ or r0, r27, r0 -/* 800BF0D8 000BC038 90 01 00 38 */ stw r0, 0x38(r1) -/* 800BF0DC 000BC03C 48 2A 3F D5 */ bl Add__6CColorFRC6CColorRC6CColor -/* 800BF0E0 000BC040 38 C0 00 03 */ li r6, 3 -/* 800BF0E4 000BC044 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 800BF0E8 000BC048 39 00 00 07 */ li r8, 7 -/* 800BF0EC 000BC04C 38 E0 00 00 */ li r7, 0 -/* 800BF0F0 000BC050 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d -/* 800BF0F4 000BC054 99 01 00 C0 */ stb r8, 0xc0(r1) -/* 800BF0F8 000BC058 7F 03 C3 78 */ mr r3, r24 -/* 800BF0FC 000BC05C 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 800BF100 000BC060 98 E1 00 C1 */ stb r7, 0xc1(r1) -/* 800BF104 000BC064 B0 C1 00 C2 */ sth r6, 0xc2(r1) -/* 800BF108 000BC068 90 A1 00 C4 */ stw r5, 0xc4(r1) -/* 800BF10C 000BC06C 99 01 00 C8 */ stb r8, 0xc8(r1) -/* 800BF110 000BC070 98 E1 00 C9 */ stb r7, 0xc9(r1) -/* 800BF114 000BC074 B0 01 00 CA */ sth r0, 0xca(r1) -/* 800BF118 000BC078 90 A1 00 CC */ stw r5, 0xcc(r1) -/* 800BF11C 000BC07C 48 29 6A B9 */ bl Draw__6CModelCFRC11CModelFlags -/* 800BF120 000BC080 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) -/* 800BF124 000BC084 38 61 09 78 */ addi r3, r1, 0x978 -/* 800BF128 000BC088 38 81 00 34 */ addi r4, r1, 0x34 -/* 800BF12C 000BC08C C0 05 01 24 */ lfs f0, 0x124(r5) -/* 800BF130 000BC090 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800BF134 000BC094 48 25 44 A5 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle -/* 800BF138 000BC098 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BF13C 000BC09C 38 81 09 78 */ addi r4, r1, 0x978 -/* 800BF140 000BC0A0 81 83 00 00 */ lwz r12, 0(r3) -/* 800BF144 000BC0A4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BF148 000BC0A8 7D 89 03 A6 */ mtctr r12 -/* 800BF14C 000BC0AC 4E 80 04 21 */ bctrl -/* 800BF150 000BC0B0 3A D6 00 01 */ addi r22, r22, 1 -lbl_800BF154: -/* 800BF154 000BC0B4 7C 16 A8 00 */ cmpw r22, r21 -/* 800BF158 000BC0B8 41 80 FF 68 */ blt lbl_800BF0C0 -lbl_800BF15C: -/* 800BF15C 000BC0BC C0 3F 02 08 */ lfs f1, 0x208(r31) -/* 800BF160 000BC0C0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BF164 000BC0C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BF168 000BC0C8 40 81 02 00 */ ble lbl_800BF368 -/* 800BF16C 000BC0CC 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 800BF170 000BC0D0 28 00 00 00 */ cmplwi r0, 0 -/* 800BF174 000BC0D4 40 82 00 30 */ bne lbl_800BF1A4 -/* 800BF178 000BC0D8 88 1F 00 74 */ lbz r0, 0x74(r31) -/* 800BF17C 000BC0DC 28 00 00 00 */ cmplwi r0, 0 -/* 800BF180 000BC0E0 41 82 00 24 */ beq lbl_800BF1A4 -/* 800BF184 000BC0E4 80 7F 00 70 */ lwz r3, 0x70(r31) -/* 800BF188 000BC0E8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BF18C 000BC0EC 28 00 00 00 */ cmplwi r0, 0 -/* 800BF190 000BC0F0 41 82 00 14 */ beq lbl_800BF1A4 -/* 800BF194 000BC0F4 38 7F 00 70 */ addi r3, r31, 0x70 -/* 800BF198 000BC0F8 48 28 1C 75 */ bl GetObj__6CTokenFv -/* 800BF19C 000BC0FC 80 03 00 04 */ lwz r0, 4(r3) -/* 800BF1A0 000BC100 90 1F 00 78 */ stw r0, 0x78(r31) -lbl_800BF1A4: -/* 800BF1A4 000BC104 83 1F 00 78 */ lwz r24, 0x78(r31) -/* 800BF1A8 000BC108 28 18 00 00 */ cmplwi r24, 0 -/* 800BF1AC 000BC10C 41 82 01 BC */ beq lbl_800BF368 -/* 800BF1B0 000BC110 80 1F 02 00 */ lwz r0, 0x200(r31) -/* 800BF1B4 000BC114 2C 00 00 00 */ cmpwi r0, 0 -/* 800BF1B8 000BC118 40 82 00 10 */ bne lbl_800BF1C8 -/* 800BF1BC 000BC11C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF1C0 000BC120 3A A3 00 D8 */ addi r21, r3, 0xd8 -/* 800BF1C4 000BC124 48 00 00 34 */ b lbl_800BF1F8 -lbl_800BF1C8: -/* 800BF1C8 000BC128 2C 00 00 01 */ cmpwi r0, 1 -/* 800BF1CC 000BC12C 40 82 00 10 */ bne lbl_800BF1DC -/* 800BF1D0 000BC130 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF1D4 000BC134 3A A3 00 DC */ addi r21, r3, 0xdc -/* 800BF1D8 000BC138 48 00 00 20 */ b lbl_800BF1F8 -lbl_800BF1DC: -/* 800BF1DC 000BC13C 2C 00 00 02 */ cmpwi r0, 2 -/* 800BF1E0 000BC140 40 82 00 10 */ bne lbl_800BF1F0 -/* 800BF1E4 000BC144 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF1E8 000BC148 3A A3 00 E0 */ addi r21, r3, 0xe0 -/* 800BF1EC 000BC14C 48 00 00 0C */ b lbl_800BF1F8 -lbl_800BF1F0: -/* 800BF1F0 000BC150 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF1F4 000BC154 3A A3 00 E4 */ addi r21, r3, 0xe4 -lbl_800BF1F8: -/* 800BF1F8 000BC158 80 C1 01 E0 */ lwz r6, 0x1e0(r1) -/* 800BF1FC 000BC15C FC 20 C8 90 */ fmr f1, f25 -/* 800BF200 000BC160 80 A1 01 E4 */ lwz r5, 0x1e4(r1) -/* 800BF204 000BC164 7F A4 EB 78 */ mr r4, r29 -/* 800BF208 000BC168 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 800BF20C 000BC16C 38 61 01 5C */ addi r3, r1, 0x15c -/* 800BF210 000BC170 90 C1 01 5C */ stw r6, 0x15c(r1) -/* 800BF214 000BC174 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BF218 000BC178 90 A1 01 60 */ stw r5, 0x160(r1) -/* 800BF21C 000BC17C 90 01 01 64 */ stw r0, 0x164(r1) -/* 800BF220 000BC180 C0 06 01 74 */ lfs f0, 0x174(r6) -/* 800BF224 000BC184 C0 66 01 78 */ lfs f3, 0x178(r6) -/* 800BF228 000BC188 EC 57 00 32 */ fmuls f2, f23, f0 -/* 800BF22C 000BC18C 4B FF DD 71 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BF230 000BC190 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BF234 000BC194 7F C4 F3 78 */ mr r4, r30 -/* 800BF238 000BC198 C0 5F 02 08 */ lfs f2, 0x208(r31) -/* 800BF23C 000BC19C 38 61 04 2C */ addi r3, r1, 0x42c -/* 800BF240 000BC1A0 C0 06 00 D0 */ lfs f0, 0xd0(r6) -/* 800BF244 000BC1A4 38 A1 04 08 */ addi r5, r1, 0x408 -/* 800BF248 000BC1A8 C0 66 00 D4 */ lfs f3, 0xd4(r6) -/* 800BF24C 000BC1AC EC 42 00 24 */ fdivs f2, f2, f0 -/* 800BF250 000BC1B0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BF254 000BC1B4 D0 01 04 0C */ stfs f0, 0x40c(r1) -/* 800BF258 000BC1B8 D0 01 04 10 */ stfs f0, 0x410(r1) -/* 800BF25C 000BC1BC D0 01 04 14 */ stfs f0, 0x414(r1) -/* 800BF260 000BC1C0 D0 01 04 1C */ stfs f0, 0x41c(r1) -/* 800BF264 000BC1C4 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 800BF268 000BC1C8 D0 01 04 20 */ stfs f0, 0x420(r1) -/* 800BF26C 000BC1CC D0 01 04 24 */ stfs f0, 0x424(r1) -/* 800BF270 000BC1D0 EC 01 00 B2 */ fmuls f0, f1, f2 -/* 800BF274 000BC1D4 EC 00 C0 24 */ fdivs f0, f0, f24 -/* 800BF278 000BC1D8 D0 01 04 08 */ stfs f0, 0x408(r1) -/* 800BF27C 000BC1DC D0 01 04 18 */ stfs f0, 0x418(r1) -/* 800BF280 000BC1E0 D0 01 04 28 */ stfs f0, 0x428(r1) -/* 800BF284 000BC1E4 48 25 0E AD */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BF288 000BC1E8 38 61 09 54 */ addi r3, r1, 0x954 -/* 800BF28C 000BC1EC 38 81 04 2C */ addi r4, r1, 0x42c -/* 800BF290 000BC1F0 48 25 0D 95 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BF294 000BC1F4 C0 5F 01 14 */ lfs f2, 0x114(r31) -/* 800BF298 000BC1F8 38 61 03 B4 */ addi r3, r1, 0x3b4 -/* 800BF29C 000BC1FC C0 3F 01 18 */ lfs f1, 0x118(r31) -/* 800BF2A0 000BC200 38 81 0A EC */ addi r4, r1, 0xaec -/* 800BF2A4 000BC204 C0 1F 01 1C */ lfs f0, 0x11c(r31) -/* 800BF2A8 000BC208 38 A1 09 54 */ addi r5, r1, 0x954 -/* 800BF2AC 000BC20C D0 41 01 50 */ stfs f2, 0x150(r1) -/* 800BF2B0 000BC210 D0 21 01 54 */ stfs f1, 0x154(r1) -/* 800BF2B4 000BC214 D0 01 01 58 */ stfs f0, 0x158(r1) -/* 800BF2B8 000BC218 48 25 0E 79 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BF2BC 000BC21C 38 61 03 D8 */ addi r3, r1, 0x3d8 -/* 800BF2C0 000BC220 38 81 03 B4 */ addi r4, r1, 0x3b4 -/* 800BF2C4 000BC224 38 A1 01 50 */ addi r5, r1, 0x150 -/* 800BF2C8 000BC228 48 25 3F B1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BF2CC 000BC22C 7C 64 1B 78 */ mr r4, r3 -/* 800BF2D0 000BC230 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BF2D4 000BC234 81 83 00 00 */ lwz r12, 0(r3) -/* 800BF2D8 000BC238 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BF2DC 000BC23C 7D 89 03 A6 */ mtctr r12 -/* 800BF2E0 000BC240 4E 80 04 21 */ bctrl -/* 800BF2E4 000BC244 88 75 00 03 */ lbz r3, 3(r21) -/* 800BF2E8 000BC248 3C 00 43 30 */ lis r0, 0x4330 -/* 800BF2EC 000BC24C 90 01 0B 18 */ stw r0, 0xb18(r1) -/* 800BF2F0 000BC250 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BF2F4 000BC254 90 61 0B 1C */ stw r3, 0xb1c(r1) -/* 800BF2F8 000BC258 C8 01 0B 18 */ lfd f0, 0xb18(r1) -/* 800BF2FC 000BC25C EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BF300 000BC260 EF 8F 00 32 */ fmuls f28, f15, f0 -/* 800BF304 000BC264 F3 81 A0 0B */ psq_st f28, 11(r1), 1, qr2 -/* 800BF308 000BC268 38 61 00 30 */ addi r3, r1, 0x30 -/* 800BF30C 000BC26C 80 D5 00 00 */ lwz r6, 0(r21) -/* 800BF310 000BC270 38 81 00 8C */ addi r4, r1, 0x8c -/* 800BF314 000BC274 88 01 00 0B */ lbz r0, 0xb(r1) -/* 800BF318 000BC278 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800BF31C 000BC27C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 800BF320 000BC280 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800BF324 000BC284 48 2A 3D 8D */ bl Add__6CColorFRC6CColorRC6CColor -/* 800BF328 000BC288 38 C0 00 03 */ li r6, 3 -/* 800BF32C 000BC28C 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 800BF330 000BC290 39 00 00 07 */ li r8, 7 -/* 800BF334 000BC294 38 E0 00 00 */ li r7, 0 -/* 800BF338 000BC298 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d -/* 800BF33C 000BC29C 99 01 00 B0 */ stb r8, 0xb0(r1) -/* 800BF340 000BC2A0 7F 03 C3 78 */ mr r3, r24 -/* 800BF344 000BC2A4 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 800BF348 000BC2A8 98 E1 00 B1 */ stb r7, 0xb1(r1) -/* 800BF34C 000BC2AC B0 C1 00 B2 */ sth r6, 0xb2(r1) -/* 800BF350 000BC2B0 90 A1 00 B4 */ stw r5, 0xb4(r1) -/* 800BF354 000BC2B4 99 01 00 B8 */ stb r8, 0xb8(r1) -/* 800BF358 000BC2B8 98 E1 00 B9 */ stb r7, 0xb9(r1) -/* 800BF35C 000BC2BC B0 01 00 BA */ sth r0, 0xba(r1) -/* 800BF360 000BC2C0 90 A1 00 BC */ stw r5, 0xbc(r1) -/* 800BF364 000BC2C4 48 29 68 71 */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BF368: -/* 800BF368 000BC2C8 C0 3F 02 10 */ lfs f1, 0x210(r31) -/* 800BF36C 000BC2CC C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BF370 000BC2D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BF374 000BC2D4 40 81 01 E0 */ ble lbl_800BF554 -/* 800BF378 000BC2D8 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 800BF37C 000BC2DC 28 00 00 00 */ cmplwi r0, 0 -/* 800BF380 000BC2E0 40 82 00 30 */ bne lbl_800BF3B0 -/* 800BF384 000BC2E4 88 1F 00 80 */ lbz r0, 0x80(r31) -/* 800BF388 000BC2E8 28 00 00 00 */ cmplwi r0, 0 -/* 800BF38C 000BC2EC 41 82 00 24 */ beq lbl_800BF3B0 -/* 800BF390 000BC2F0 80 7F 00 7C */ lwz r3, 0x7c(r31) -/* 800BF394 000BC2F4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BF398 000BC2F8 28 00 00 00 */ cmplwi r0, 0 -/* 800BF39C 000BC2FC 41 82 00 14 */ beq lbl_800BF3B0 -/* 800BF3A0 000BC300 38 7F 00 7C */ addi r3, r31, 0x7c -/* 800BF3A4 000BC304 48 28 1A 69 */ bl GetObj__6CTokenFv -/* 800BF3A8 000BC308 80 03 00 04 */ lwz r0, 4(r3) -/* 800BF3AC 000BC30C 90 1F 00 84 */ stw r0, 0x84(r31) -lbl_800BF3B0: -/* 800BF3B0 000BC310 83 1F 00 84 */ lwz r24, 0x84(r31) -/* 800BF3B4 000BC314 28 18 00 00 */ cmplwi r24, 0 -/* 800BF3B8 000BC318 41 82 01 9C */ beq lbl_800BF554 -/* 800BF3BC 000BC31C 82 AD A1 40 */ lwz r21, gpTweakTargeting@sda21(r13) -/* 800BF3C0 000BC320 FC 20 C8 90 */ fmr f1, f25 -/* 800BF3C4 000BC324 C0 5F 02 10 */ lfs f2, 0x210(r31) -/* 800BF3C8 000BC328 7F A4 EB 78 */ mr r4, r29 -/* 800BF3CC 000BC32C C0 15 01 2C */ lfs f0, 0x12c(r21) -/* 800BF3D0 000BC330 38 61 01 44 */ addi r3, r1, 0x144 -/* 800BF3D4 000BC334 80 C1 01 E0 */ lwz r6, 0x1e0(r1) -/* 800BF3D8 000BC338 EE 02 00 24 */ fdivs f16, f2, f0 -/* 800BF3DC 000BC33C 80 A1 01 E4 */ lwz r5, 0x1e4(r1) -/* 800BF3E0 000BC340 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 800BF3E4 000BC344 90 C1 01 44 */ stw r6, 0x144(r1) -/* 800BF3E8 000BC348 90 A1 01 48 */ stw r5, 0x148(r1) -/* 800BF3EC 000BC34C 90 01 01 4C */ stw r0, 0x14c(r1) -/* 800BF3F0 000BC350 C0 15 01 84 */ lfs f0, 0x184(r21) -/* 800BF3F4 000BC354 C0 75 01 88 */ lfs f3, 0x188(r21) -/* 800BF3F8 000BC358 EC 57 00 32 */ fmuls f2, f23, f0 -/* 800BF3FC 000BC35C 4B FF DB A1 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BF400 000BC360 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) -/* 800BF404 000BC364 38 61 03 24 */ addi r3, r1, 0x324 -/* 800BF408 000BC368 C0 5F 01 F0 */ lfs f2, 0x1f0(r31) -/* 800BF40C 000BC36C 38 81 00 28 */ addi r4, r1, 0x28 -/* 800BF410 000BC370 C0 65 01 28 */ lfs f3, 0x128(r5) -/* 800BF414 000BC374 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BF418 000BC378 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 800BF41C 000BC37C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 800BF420 000BC380 D0 01 03 4C */ stfs f0, 0x34c(r1) -/* 800BF424 000BC384 EC 21 C0 24 */ fdivs f1, f1, f24 -/* 800BF428 000BC388 D0 01 03 50 */ stfs f0, 0x350(r1) -/* 800BF42C 000BC38C D0 01 03 54 */ stfs f0, 0x354(r1) -/* 800BF430 000BC390 D0 01 03 5C */ stfs f0, 0x35c(r1) -/* 800BF434 000BC394 D0 01 03 60 */ stfs f0, 0x360(r1) -/* 800BF438 000BC398 D0 01 03 64 */ stfs f0, 0x364(r1) -/* 800BF43C 000BC39C D0 21 03 48 */ stfs f1, 0x348(r1) -/* 800BF440 000BC3A0 D0 21 03 58 */ stfs f1, 0x358(r1) -/* 800BF444 000BC3A4 D0 21 03 68 */ stfs f1, 0x368(r1) -/* 800BF448 000BC3A8 48 25 10 4D */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800BF44C 000BC3AC 7F C4 F3 78 */ mr r4, r30 -/* 800BF450 000BC3B0 38 61 03 6C */ addi r3, r1, 0x36c -/* 800BF454 000BC3B4 38 A1 03 48 */ addi r5, r1, 0x348 -/* 800BF458 000BC3B8 48 25 0C D9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BF45C 000BC3BC 38 61 03 90 */ addi r3, r1, 0x390 -/* 800BF460 000BC3C0 38 81 03 6C */ addi r4, r1, 0x36c -/* 800BF464 000BC3C4 38 A1 03 24 */ addi r5, r1, 0x324 -/* 800BF468 000BC3C8 48 25 0C C9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BF46C 000BC3CC 38 61 09 30 */ addi r3, r1, 0x930 -/* 800BF470 000BC3D0 38 81 03 90 */ addi r4, r1, 0x390 -/* 800BF474 000BC3D4 48 25 0B B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BF478 000BC3D8 C0 5F 01 14 */ lfs f2, 0x114(r31) -/* 800BF47C 000BC3DC 38 61 02 D0 */ addi r3, r1, 0x2d0 -/* 800BF480 000BC3E0 C0 3F 01 18 */ lfs f1, 0x118(r31) -/* 800BF484 000BC3E4 38 81 0A EC */ addi r4, r1, 0xaec -/* 800BF488 000BC3E8 C0 1F 01 1C */ lfs f0, 0x11c(r31) -/* 800BF48C 000BC3EC 38 A1 09 30 */ addi r5, r1, 0x930 -/* 800BF490 000BC3F0 D0 41 01 38 */ stfs f2, 0x138(r1) -/* 800BF494 000BC3F4 D0 21 01 3C */ stfs f1, 0x13c(r1) -/* 800BF498 000BC3F8 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 800BF49C 000BC3FC 48 25 0C 95 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BF4A0 000BC400 38 61 02 F4 */ addi r3, r1, 0x2f4 -/* 800BF4A4 000BC404 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800BF4A8 000BC408 38 A1 01 38 */ addi r5, r1, 0x138 -/* 800BF4AC 000BC40C 48 25 3D CD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BF4B0 000BC410 7C 64 1B 78 */ mr r4, r3 -/* 800BF4B4 000BC414 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BF4B8 000BC418 81 83 00 00 */ lwz r12, 0(r3) -/* 800BF4BC 000BC41C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BF4C0 000BC420 7D 89 03 A6 */ mtctr r12 -/* 800BF4C4 000BC424 4E 80 04 21 */ bctrl -/* 800BF4C8 000BC428 88 75 01 33 */ lbz r3, 0x133(r21) -/* 800BF4CC 000BC42C 3C 00 43 30 */ lis r0, 0x4330 -/* 800BF4D0 000BC430 EC 15 04 32 */ fmuls f0, f21, f16 -/* 800BF4D4 000BC434 90 01 0B 18 */ stw r0, 0xb18(r1) -/* 800BF4D8 000BC438 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2) -/* 800BF4DC 000BC43C 90 61 0B 1C */ stw r3, 0xb1c(r1) -/* 800BF4E0 000BC440 EC 52 00 32 */ fmuls f2, f18, f0 -/* 800BF4E4 000BC444 C8 01 0B 18 */ lfd f0, 0xb18(r1) -/* 800BF4E8 000BC448 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800BF4EC 000BC44C EF 62 00 32 */ fmuls f27, f2, f0 -/* 800BF4F0 000BC450 F3 61 A0 0A */ psq_st f27, 10(r1), 1, qr2 -/* 800BF4F4 000BC454 38 61 00 24 */ addi r3, r1, 0x24 -/* 800BF4F8 000BC458 80 D5 01 30 */ lwz r6, 0x130(r21) -/* 800BF4FC 000BC45C 38 81 00 8C */ addi r4, r1, 0x8c -/* 800BF500 000BC460 88 01 00 0A */ lbz r0, 0xa(r1) -/* 800BF504 000BC464 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800BF508 000BC468 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 800BF50C 000BC46C 90 01 00 20 */ stw r0, 0x20(r1) -/* 800BF510 000BC470 48 2A 3B A1 */ bl Add__6CColorFRC6CColorRC6CColor -/* 800BF514 000BC474 38 C0 00 03 */ li r6, 3 -/* 800BF518 000BC478 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 800BF51C 000BC47C 39 00 00 07 */ li r8, 7 -/* 800BF520 000BC480 38 E0 00 00 */ li r7, 0 -/* 800BF524 000BC484 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d -/* 800BF528 000BC488 99 01 00 A0 */ stb r8, 0xa0(r1) -/* 800BF52C 000BC48C 7F 03 C3 78 */ mr r3, r24 -/* 800BF530 000BC490 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 800BF534 000BC494 98 E1 00 A1 */ stb r7, 0xa1(r1) -/* 800BF538 000BC498 B0 C1 00 A2 */ sth r6, 0xa2(r1) -/* 800BF53C 000BC49C 90 A1 00 A4 */ stw r5, 0xa4(r1) -/* 800BF540 000BC4A0 99 01 00 A8 */ stb r8, 0xa8(r1) -/* 800BF544 000BC4A4 98 E1 00 A9 */ stb r7, 0xa9(r1) -/* 800BF548 000BC4A8 B0 01 00 AA */ sth r0, 0xaa(r1) -/* 800BF54C 000BC4AC 90 A1 00 AC */ stw r5, 0xac(r1) -/* 800BF550 000BC4B0 48 29 66 85 */ bl Draw__6CModelCFRC11CModelFlags -lbl_800BF554: -/* 800BF554 000BC4B4 C0 3F 02 08 */ lfs f1, 0x208(r31) -/* 800BF558 000BC4B8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BF55C 000BC4BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BF560 000BC4C0 40 81 02 58 */ ble lbl_800BF7B8 -/* 800BF564 000BC4C4 80 1F 00 90 */ lwz r0, 0x90(r31) -/* 800BF568 000BC4C8 28 00 00 00 */ cmplwi r0, 0 -/* 800BF56C 000BC4CC 40 82 00 30 */ bne lbl_800BF59C -/* 800BF570 000BC4D0 88 1F 00 8C */ lbz r0, 0x8c(r31) -/* 800BF574 000BC4D4 28 00 00 00 */ cmplwi r0, 0 -/* 800BF578 000BC4D8 41 82 00 24 */ beq lbl_800BF59C -/* 800BF57C 000BC4DC 80 7F 00 88 */ lwz r3, 0x88(r31) -/* 800BF580 000BC4E0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BF584 000BC4E4 28 00 00 00 */ cmplwi r0, 0 -/* 800BF588 000BC4E8 41 82 00 14 */ beq lbl_800BF59C -/* 800BF58C 000BC4EC 38 7F 00 88 */ addi r3, r31, 0x88 -/* 800BF590 000BC4F0 48 28 18 7D */ bl GetObj__6CTokenFv -/* 800BF594 000BC4F4 80 03 00 04 */ lwz r0, 4(r3) -/* 800BF598 000BC4F8 90 1F 00 90 */ stw r0, 0x90(r31) -lbl_800BF59C: -/* 800BF59C 000BC4FC 83 1F 00 90 */ lwz r24, 0x90(r31) -/* 800BF5A0 000BC500 28 18 00 00 */ cmplwi r24, 0 -/* 800BF5A4 000BC504 41 82 02 14 */ beq lbl_800BF7B8 -/* 800BF5A8 000BC508 80 C1 01 E0 */ lwz r6, 0x1e0(r1) -/* 800BF5AC 000BC50C FC 20 C8 90 */ fmr f1, f25 -/* 800BF5B0 000BC510 80 A1 01 E4 */ lwz r5, 0x1e4(r1) -/* 800BF5B4 000BC514 7F A4 EB 78 */ mr r4, r29 -/* 800BF5B8 000BC518 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 800BF5BC 000BC51C 38 61 01 2C */ addi r3, r1, 0x12c -/* 800BF5C0 000BC520 90 C1 01 2C */ stw r6, 0x12c(r1) -/* 800BF5C4 000BC524 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13) -/* 800BF5C8 000BC528 90 A1 01 30 */ stw r5, 0x130(r1) -/* 800BF5CC 000BC52C 90 01 01 34 */ stw r0, 0x134(r1) -/* 800BF5D0 000BC530 C0 06 01 8C */ lfs f0, 0x18c(r6) -/* 800BF5D4 000BC534 C0 66 01 90 */ lfs f3, 0x190(r6) -/* 800BF5D8 000BC538 EC 57 00 32 */ fmuls f2, f23, f0 -/* 800BF5DC 000BC53C 4B FF D9 C1 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BF5E0 000BC540 83 AD A1 40 */ lwz r29, gpTweakTargeting@sda21(r13) -/* 800BF5E4 000BC544 7F C4 F3 78 */ mr r4, r30 -/* 800BF5E8 000BC548 C0 42 8D 64 */ lfs f2, lbl_805AAA84@sda21(r2) -/* 800BF5EC 000BC54C 38 61 02 AC */ addi r3, r1, 0x2ac -/* 800BF5F0 000BC550 C0 1D 01 2C */ lfs f0, 0x12c(r29) -/* 800BF5F4 000BC554 38 A1 02 88 */ addi r5, r1, 0x288 -/* 800BF5F8 000BC558 C0 7F 02 10 */ lfs f3, 0x210(r31) -/* 800BF5FC 000BC55C EC E2 00 32 */ fmuls f7, f2, f0 -/* 800BF600 000BC560 C0 5F 02 08 */ lfs f2, 0x208(r31) -/* 800BF604 000BC564 C0 1D 00 D0 */ lfs f0, 0xd0(r29) -/* 800BF608 000BC568 C0 A2 8D 38 */ lfs f5, lbl_805AAA58@sda21(r2) -/* 800BF60C 000BC56C EC C3 38 28 */ fsubs f6, f3, f7 -/* 800BF610 000BC570 C0 7D 01 34 */ lfs f3, 0x134(r29) -/* 800BF614 000BC574 EC 42 00 24 */ fdivs f2, f2, f0 -/* 800BF618 000BC578 C0 9D 01 38 */ lfs f4, 0x138(r29) -/* 800BF61C 000BC57C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BF620 000BC580 D0 01 02 8C */ stfs f0, 0x28c(r1) -/* 800BF624 000BC584 D0 01 02 90 */ stfs f0, 0x290(r1) -/* 800BF628 000BC588 D0 01 02 94 */ stfs f0, 0x294(r1) -/* 800BF62C 000BC58C EC C6 38 24 */ fdivs f6, f6, f7 -/* 800BF630 000BC590 D0 01 02 9C */ stfs f0, 0x29c(r1) -/* 800BF634 000BC594 D0 01 02 A0 */ stfs f0, 0x2a0(r1) -/* 800BF638 000BC598 D0 01 02 A4 */ stfs f0, 0x2a4(r1) -/* 800BF63C 000BC59C FC 00 32 10 */ fabs f0, f6 -/* 800BF640 000BC5A0 FC 00 00 18 */ frsp f0, f0 -/* 800BF644 000BC5A4 EC A5 00 28 */ fsubs f5, f5, f0 -/* 800BF648 000BC5A8 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 800BF64C 000BC5AC EC 05 01 3A */ fmadds f0, f5, f4, f0 -/* 800BF650 000BC5B0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800BF654 000BC5B4 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 800BF658 000BC5B8 EC 00 C0 24 */ fdivs f0, f0, f24 -/* 800BF65C 000BC5BC D0 01 02 88 */ stfs f0, 0x288(r1) -/* 800BF660 000BC5C0 D0 01 02 98 */ stfs f0, 0x298(r1) -/* 800BF664 000BC5C4 D0 01 02 A8 */ stfs f0, 0x2a8(r1) -/* 800BF668 000BC5C8 48 25 0A C9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BF66C 000BC5CC 38 61 09 0C */ addi r3, r1, 0x90c -/* 800BF670 000BC5D0 38 81 02 AC */ addi r4, r1, 0x2ac -/* 800BF674 000BC5D4 48 25 09 B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BF678 000BC5D8 CA 02 8D 48 */ lfd f16, lbl_805AAA68@sda21(r2) -/* 800BF67C 000BC5DC 3B 20 00 00 */ li r25, 0 -/* 800BF680 000BC5E0 3F 40 43 30 */ lis r26, 0x4330 -lbl_800BF684: -/* 800BF684 000BC5E4 2C 19 00 00 */ cmpwi r25, 0 -/* 800BF688 000BC5E8 40 82 00 10 */ bne lbl_800BF698 -/* 800BF68C 000BC5EC 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF690 000BC5F0 C0 03 01 40 */ lfs f0, 0x140(r3) -/* 800BF694 000BC5F4 48 00 00 20 */ b lbl_800BF6B4 -lbl_800BF698: -/* 800BF698 000BC5F8 2C 19 00 01 */ cmpwi r25, 1 -/* 800BF69C 000BC5FC 40 82 00 10 */ bne lbl_800BF6AC -/* 800BF6A0 000BC600 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF6A4 000BC604 C0 03 01 44 */ lfs f0, 0x144(r3) -/* 800BF6A8 000BC608 48 00 00 0C */ b lbl_800BF6B4 -lbl_800BF6AC: -/* 800BF6AC 000BC60C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF6B0 000BC610 C0 03 01 48 */ lfs f0, 0x148(r3) -lbl_800BF6B4: -/* 800BF6B4 000BC614 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800BF6B8 000BC618 38 61 02 40 */ addi r3, r1, 0x240 -/* 800BF6BC 000BC61C 38 81 00 1C */ addi r4, r1, 0x1c -/* 800BF6C0 000BC620 48 25 0D D5 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800BF6C4 000BC624 38 61 02 64 */ addi r3, r1, 0x264 -/* 800BF6C8 000BC628 38 81 09 0C */ addi r4, r1, 0x90c -/* 800BF6CC 000BC62C 38 A1 02 40 */ addi r5, r1, 0x240 -/* 800BF6D0 000BC630 48 25 0A 61 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BF6D4 000BC634 38 61 08 E8 */ addi r3, r1, 0x8e8 -/* 800BF6D8 000BC638 38 81 02 64 */ addi r4, r1, 0x264 -/* 800BF6DC 000BC63C 48 25 09 49 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BF6E0 000BC640 C0 5F 01 14 */ lfs f2, 0x114(r31) -/* 800BF6E4 000BC644 38 61 01 EC */ addi r3, r1, 0x1ec -/* 800BF6E8 000BC648 C0 3F 01 18 */ lfs f1, 0x118(r31) -/* 800BF6EC 000BC64C 38 81 0A EC */ addi r4, r1, 0xaec -/* 800BF6F0 000BC650 C0 1F 01 1C */ lfs f0, 0x11c(r31) -/* 800BF6F4 000BC654 38 A1 08 E8 */ addi r5, r1, 0x8e8 -/* 800BF6F8 000BC658 D0 41 01 20 */ stfs f2, 0x120(r1) -/* 800BF6FC 000BC65C D0 21 01 24 */ stfs f1, 0x124(r1) -/* 800BF700 000BC660 D0 01 01 28 */ stfs f0, 0x128(r1) -/* 800BF704 000BC664 48 25 0A 2D */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BF708 000BC668 38 61 02 10 */ addi r3, r1, 0x210 -/* 800BF70C 000BC66C 38 81 01 EC */ addi r4, r1, 0x1ec -/* 800BF710 000BC670 38 A1 01 20 */ addi r5, r1, 0x120 -/* 800BF714 000BC674 48 25 3B 65 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BF718 000BC678 7C 64 1B 78 */ mr r4, r3 -/* 800BF71C 000BC67C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BF720 000BC680 81 83 00 00 */ lwz r12, 0(r3) -/* 800BF724 000BC684 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BF728 000BC688 7D 89 03 A6 */ mtctr r12 -/* 800BF72C 000BC68C 4E 80 04 21 */ bctrl -/* 800BF730 000BC690 88 1D 01 3F */ lbz r0, 0x13f(r29) -/* 800BF734 000BC694 93 41 0B 18 */ stw r26, 0xb18(r1) -/* 800BF738 000BC698 90 01 0B 1C */ stw r0, 0xb1c(r1) -/* 800BF73C 000BC69C C8 01 0B 18 */ lfd f0, 0xb18(r1) -/* 800BF740 000BC6A0 EC 00 80 28 */ fsubs f0, f0, f16 -/* 800BF744 000BC6A4 EF 4F 00 32 */ fmuls f26, f15, f0 -/* 800BF748 000BC6A8 F3 41 A0 09 */ psq_st f26, 9(r1), 1, qr2 -/* 800BF74C 000BC6AC 38 61 00 18 */ addi r3, r1, 0x18 -/* 800BF750 000BC6B0 80 DD 01 3C */ lwz r6, 0x13c(r29) -/* 800BF754 000BC6B4 38 81 00 8C */ addi r4, r1, 0x8c -/* 800BF758 000BC6B8 88 01 00 09 */ lbz r0, 9(r1) -/* 800BF75C 000BC6BC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800BF760 000BC6C0 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 800BF764 000BC6C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800BF768 000BC6C8 48 2A 39 49 */ bl Add__6CColorFRC6CColorRC6CColor -/* 800BF76C 000BC6CC 38 C0 00 03 */ li r6, 3 -/* 800BF770 000BC6D0 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 800BF774 000BC6D4 39 00 00 07 */ li r8, 7 -/* 800BF778 000BC6D8 38 E0 00 00 */ li r7, 0 -/* 800BF77C 000BC6DC 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d -/* 800BF780 000BC6E0 99 01 00 90 */ stb r8, 0x90(r1) -/* 800BF784 000BC6E4 7F 03 C3 78 */ mr r3, r24 -/* 800BF788 000BC6E8 38 81 00 98 */ addi r4, r1, 0x98 -/* 800BF78C 000BC6EC 98 E1 00 91 */ stb r7, 0x91(r1) -/* 800BF790 000BC6F0 B0 C1 00 92 */ sth r6, 0x92(r1) -/* 800BF794 000BC6F4 90 A1 00 94 */ stw r5, 0x94(r1) -/* 800BF798 000BC6F8 99 01 00 98 */ stb r8, 0x98(r1) -/* 800BF79C 000BC6FC 98 E1 00 99 */ stb r7, 0x99(r1) -/* 800BF7A0 000BC700 B0 01 00 9A */ sth r0, 0x9a(r1) -/* 800BF7A4 000BC704 90 A1 00 9C */ stw r5, 0x9c(r1) -/* 800BF7A8 000BC708 48 29 64 2D */ bl Draw__6CModelCFRC11CModelFlags -/* 800BF7AC 000BC70C 3B 39 00 01 */ addi r25, r25, 1 -/* 800BF7B0 000BC710 2C 19 00 03 */ cmpwi r25, 3 -/* 800BF7B4 000BC714 41 80 FE D0 */ blt lbl_800BF684 -lbl_800BF7B8: -/* 800BF7B8 000BC718 E3 E1 0C 58 */ psq_l f31, -936(r1), 0, qr0 -/* 800BF7BC 000BC71C CB E1 0C 50 */ lfd f31, 0xc50(r1) -/* 800BF7C0 000BC720 E3 C1 0C 48 */ psq_l f30, -952(r1), 0, qr0 -/* 800BF7C4 000BC724 CB C1 0C 40 */ lfd f30, 0xc40(r1) -/* 800BF7C8 000BC728 E3 A1 0C 38 */ psq_l f29, -968(r1), 0, qr0 -/* 800BF7CC 000BC72C CB A1 0C 30 */ lfd f29, 0xc30(r1) -/* 800BF7D0 000BC730 E3 81 0C 28 */ psq_l f28, -984(r1), 0, qr0 -/* 800BF7D4 000BC734 CB 81 0C 20 */ lfd f28, 0xc20(r1) -/* 800BF7D8 000BC738 E3 61 0C 18 */ psq_l f27, -1000(r1), 0, qr0 -/* 800BF7DC 000BC73C CB 61 0C 10 */ lfd f27, 0xc10(r1) -/* 800BF7E0 000BC740 E3 41 0C 08 */ psq_l f26, -1016(r1), 0, qr0 -/* 800BF7E4 000BC744 CB 41 0C 00 */ lfd f26, 0xc00(r1) -/* 800BF7E8 000BC748 E3 21 0B F8 */ psq_l f25, -1032(r1), 0, qr0 -/* 800BF7EC 000BC74C CB 21 0B F0 */ lfd f25, 0xbf0(r1) -/* 800BF7F0 000BC750 E3 01 0B E8 */ psq_l f24, -1048(r1), 0, qr0 -/* 800BF7F4 000BC754 CB 01 0B E0 */ lfd f24, 0xbe0(r1) -/* 800BF7F8 000BC758 E2 E1 0B D8 */ psq_l f23, -1064(r1), 0, qr0 -/* 800BF7FC 000BC75C CA E1 0B D0 */ lfd f23, 0xbd0(r1) -/* 800BF800 000BC760 E2 C1 0B C8 */ psq_l f22, -1080(r1), 0, qr0 -/* 800BF804 000BC764 CA C1 0B C0 */ lfd f22, 0xbc0(r1) -/* 800BF808 000BC768 E2 A1 0B B8 */ psq_l f21, -1096(r1), 0, qr0 -/* 800BF80C 000BC76C CA A1 0B B0 */ lfd f21, 0xbb0(r1) -/* 800BF810 000BC770 E2 81 0B A8 */ psq_l f20, -1112(r1), 0, qr0 -/* 800BF814 000BC774 CA 81 0B A0 */ lfd f20, 0xba0(r1) -/* 800BF818 000BC778 E2 61 0B 98 */ psq_l f19, -1128(r1), 0, qr0 -/* 800BF81C 000BC77C CA 61 0B 90 */ lfd f19, 0xb90(r1) -/* 800BF820 000BC780 E2 41 0B 88 */ psq_l f18, -1144(r1), 0, qr0 -/* 800BF824 000BC784 CA 41 0B 80 */ lfd f18, 0xb80(r1) -/* 800BF828 000BC788 E2 21 0B 78 */ psq_l f17, -1160(r1), 0, qr0 -/* 800BF82C 000BC78C CA 21 0B 70 */ lfd f17, 0xb70(r1) -/* 800BF830 000BC790 E2 01 0B 68 */ psq_l f16, -1176(r1), 0, qr0 -/* 800BF834 000BC794 CA 01 0B 60 */ lfd f16, 0xb60(r1) -/* 800BF838 000BC798 E1 E1 0B 58 */ psq_l f15, -1192(r1), 0, qr0 -/* 800BF83C 000BC79C C9 E1 0B 50 */ lfd f15, 0xb50(r1) -/* 800BF840 000BC7A0 BA A1 0B 24 */ lmw r21, 0xb24(r1) -/* 800BF844 000BC7A4 80 01 0C 64 */ lwz r0, 0xc64(r1) -/* 800BF848 000BC7A8 7C 08 03 A6 */ mtlr r0 -/* 800BF84C 000BC7AC 38 21 0C 60 */ addi r1, r1, 0xc60 -/* 800BF850 000BC7B0 4E 80 00 20 */ blr - -.global DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb -DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb: -/* 800BF854 000BC7B4 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 800BF858 000BC7B8 7C 08 02 A6 */ mflr r0 -/* 800BF85C 000BC7BC 90 01 01 14 */ stw r0, 0x114(r1) -/* 800BF860 000BC7C0 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 800BF864 000BC7C4 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 800BF868 000BC7C8 BF 61 00 EC */ stmw r27, 0xec(r1) -/* 800BF86C 000BC7CC 81 84 00 00 */ lwz r12, 0(r4) -/* 800BF870 000BC7D0 7C 7F 1B 78 */ mr r31, r3 -/* 800BF874 000BC7D4 FF E0 08 90 */ fmr f31, f1 -/* 800BF878 000BC7D8 7C 9B 23 78 */ mr r27, r4 -/* 800BF87C 000BC7DC 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 800BF880 000BC7E0 7C BE 2B 78 */ mr r30, r5 -/* 800BF884 000BC7E4 7C DC 33 78 */ mr r28, r6 -/* 800BF888 000BC7E8 7C FD 3B 78 */ mr r29, r7 -/* 800BF88C 000BC7EC 38 61 00 28 */ addi r3, r1, 0x28 -/* 800BF890 000BC7F0 7D 89 03 A6 */ mtctr r12 -/* 800BF894 000BC7F4 4E 80 04 21 */ bctrl -/* 800BF898 000BC7F8 88 1B 01 2C */ lbz r0, 0x12c(r27) -/* 800BF89C 000BC7FC C0 41 00 28 */ lfs f2, 0x28(r1) -/* 800BF8A0 000BC800 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 800BF8A4 000BC804 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800BF8A8 000BC808 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800BF8AC 000BC80C D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800BF8B0 000BC810 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800BF8B4 000BC814 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800BF8B8 000BC818 41 82 00 10 */ beq lbl_800BF8C8 -/* 800BF8BC 000BC81C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF8C0 000BC820 38 A3 01 AC */ addi r5, r3, 0x1ac -/* 800BF8C4 000BC824 48 00 00 0C */ b lbl_800BF8D0 -lbl_800BF8C8: -/* 800BF8C8 000BC828 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BF8CC 000BC82C 38 A3 01 A4 */ addi r5, r3, 0x1a4 -lbl_800BF8D0: -/* 800BF8D0 000BC830 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) -/* 800BF8D4 000BC834 FC 20 F8 90 */ fmr f1, f31 -/* 800BF8D8 000BC838 38 61 00 08 */ addi r3, r1, 8 -/* 800BF8DC 000BC83C 38 84 01 A8 */ addi r4, r4, 0x1a8 -/* 800BF8E0 000BC840 48 2A 39 CD */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800BF8E4 000BC844 80 ED A1 40 */ lwz r7, gpTweakTargeting@sda21(r13) -/* 800BF8E8 000BC848 7F C4 F3 78 */ mr r4, r30 -/* 800BF8EC 000BC84C C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -/* 800BF8F0 000BC850 38 61 00 1C */ addi r3, r1, 0x1c -/* 800BF8F4 000BC854 C0 07 01 94 */ lfs f0, 0x194(r7) -/* 800BF8F8 000BC858 EC 61 F8 28 */ fsubs f3, f1, f31 -/* 800BF8FC 000BC85C C0 47 01 98 */ lfs f2, 0x198(r7) -/* 800BF900 000BC860 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800BF904 000BC864 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 800BF908 000BC868 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 800BF90C 000BC86C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 800BF910 000BC870 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 800BF914 000BC874 EF E3 00 BA */ fmadds f31, f3, f2, f0 -/* 800BF918 000BC878 83 C1 00 08 */ lwz r30, 8(r1) -/* 800BF91C 000BC87C 90 A1 00 20 */ stw r5, 0x20(r1) -/* 800BF920 000BC880 90 01 00 24 */ stw r0, 0x24(r1) -/* 800BF924 000BC884 C0 47 01 9C */ lfs f2, 0x19c(r7) -/* 800BF928 000BC888 C0 67 01 A0 */ lfs f3, 0x1a0(r7) -/* 800BF92C 000BC88C 4B FF D6 71 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 800BF930 000BC890 EC 21 07 F2 */ fmuls f1, f1, f31 -/* 800BF934 000BC894 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800BF938 000BC898 7F 84 E3 78 */ mr r4, r28 -/* 800BF93C 000BC89C 38 61 00 94 */ addi r3, r1, 0x94 -/* 800BF940 000BC8A0 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800BF944 000BC8A4 38 A1 00 70 */ addi r5, r1, 0x70 -/* 800BF948 000BC8A8 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 800BF94C 000BC8AC D0 01 00 78 */ stfs f0, 0x78(r1) -/* 800BF950 000BC8B0 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 800BF954 000BC8B4 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 800BF958 000BC8B8 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 800BF95C 000BC8BC D0 01 00 88 */ stfs f0, 0x88(r1) -/* 800BF960 000BC8C0 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 800BF964 000BC8C4 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 800BF968 000BC8C8 48 25 07 C9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 800BF96C 000BC8CC 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800BF970 000BC8D0 38 81 00 94 */ addi r4, r1, 0x94 -/* 800BF974 000BC8D4 48 25 06 B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BF978 000BC8D8 38 61 00 40 */ addi r3, r1, 0x40 -/* 800BF97C 000BC8DC 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 800BF980 000BC8E0 38 A1 00 34 */ addi r5, r1, 0x34 -/* 800BF984 000BC8E4 48 25 38 F5 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800BF988 000BC8E8 7C 64 1B 78 */ mr r4, r3 -/* 800BF98C 000BC8EC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800BF990 000BC8F0 81 83 00 00 */ lwz r12, 0(r3) -/* 800BF994 000BC8F4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800BF998 000BC8F8 7D 89 03 A6 */ mtctr r12 -/* 800BF99C 000BC8FC 4E 80 04 21 */ bctrl -/* 800BF9A0 000BC900 38 A0 00 03 */ li r5, 3 -/* 800BF9A4 000BC904 38 E0 00 07 */ li r7, 7 -/* 800BF9A8 000BC908 38 C0 00 00 */ li r6, 0 -/* 800BF9AC 000BC90C 57 A0 06 3E */ clrlwi r0, r29, 0x18 -/* 800BF9B0 000BC910 50 A0 00 3A */ rlwimi r0, r5, 0, 0, 0x1d -/* 800BF9B4 000BC914 80 7F 00 9C */ lwz r3, 0x9c(r31) -/* 800BF9B8 000BC918 98 E1 00 0C */ stb r7, 0xc(r1) -/* 800BF9BC 000BC91C 38 81 00 14 */ addi r4, r1, 0x14 -/* 800BF9C0 000BC920 98 C1 00 0D */ stb r6, 0xd(r1) -/* 800BF9C4 000BC924 B0 A1 00 0E */ sth r5, 0xe(r1) -/* 800BF9C8 000BC928 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800BF9CC 000BC92C 98 E1 00 14 */ stb r7, 0x14(r1) -/* 800BF9D0 000BC930 98 C1 00 15 */ stb r6, 0x15(r1) -/* 800BF9D4 000BC934 B0 01 00 16 */ sth r0, 0x16(r1) -/* 800BF9D8 000BC938 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800BF9DC 000BC93C 48 29 61 F9 */ bl Draw__6CModelCFRC11CModelFlags -/* 800BF9E0 000BC940 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 800BF9E4 000BC944 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 800BF9E8 000BC948 BB 61 00 EC */ lmw r27, 0xec(r1) -/* 800BF9EC 000BC94C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 800BF9F0 000BC950 7C 08 03 A6 */ mtlr r0 -/* 800BF9F4 000BC954 38 21 01 10 */ addi r1, r1, 0x110 -/* 800BF9F8 000BC958 4E 80 00 20 */ blr - -.global DrawGrappleGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager -DrawGrappleGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager: -/* 800BF9FC 000BC95C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800BFA00 000BC960 7C 08 02 A6 */ mflr r0 -/* 800BFA04 000BC964 90 01 00 54 */ stw r0, 0x54(r1) -/* 800BFA08 000BC968 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 800BFA0C 000BC96C 7C 7B 1B 78 */ mr r27, r3 -/* 800BFA10 000BC970 7C 9C 23 78 */ mr r28, r4 -/* 800BFA14 000BC974 7C BD 2B 78 */ mr r29, r5 -/* 800BFA18 000BC978 7C DA 33 78 */ mr r26, r6 -/* 800BFA1C 000BC97C 80 03 00 28 */ lwz r0, 0x28(r3) -/* 800BFA20 000BC980 2C 00 00 00 */ cmpwi r0, 0 -/* 800BFA24 000BC984 41 81 02 1C */ bgt lbl_800BFC40 -/* 800BFA28 000BC988 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 800BFA2C 000BC98C 38 80 00 0C */ li r4, 0xc -/* 800BFA30 000BC990 80 63 00 00 */ lwz r3, 0(r3) -/* 800BFA34 000BC994 4B FD 20 8D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800BFA38 000BC998 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BFA3C 000BC99C 41 82 02 04 */ beq lbl_800BFC40 -/* 800BFA40 000BC9A0 80 1B 00 9C */ lwz r0, 0x9c(r27) -/* 800BFA44 000BC9A4 28 00 00 00 */ cmplwi r0, 0 -/* 800BFA48 000BC9A8 40 82 00 30 */ bne lbl_800BFA78 -/* 800BFA4C 000BC9AC 88 1B 00 98 */ lbz r0, 0x98(r27) -/* 800BFA50 000BC9B0 28 00 00 00 */ cmplwi r0, 0 -/* 800BFA54 000BC9B4 41 82 00 24 */ beq lbl_800BFA78 -/* 800BFA58 000BC9B8 80 7B 00 94 */ lwz r3, 0x94(r27) -/* 800BFA5C 000BC9BC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800BFA60 000BC9C0 28 00 00 00 */ cmplwi r0, 0 -/* 800BFA64 000BC9C4 41 82 00 14 */ beq lbl_800BFA78 -/* 800BFA68 000BC9C8 38 7B 00 94 */ addi r3, r27, 0x94 -/* 800BFA6C 000BC9CC 48 28 13 A1 */ bl GetObj__6CTokenFv -/* 800BFA70 000BC9D0 80 03 00 04 */ lwz r0, 4(r3) -/* 800BFA74 000BC9D4 90 1B 00 9C */ stw r0, 0x9c(r27) -lbl_800BFA78: -/* 800BFA78 000BC9D8 80 1B 00 9C */ lwz r0, 0x9c(r27) -/* 800BFA7C 000BC9DC 28 00 00 00 */ cmplwi r0, 0 -/* 800BFA80 000BC9E0 41 82 01 C0 */ beq lbl_800BFC40 -/* 800BFA84 000BC9E4 80 1B 00 20 */ lwz r0, 0x20(r27) -/* 800BFA88 000BC9E8 2C 00 00 01 */ cmpwi r0, 1 -/* 800BFA8C 000BC9EC 41 82 01 B4 */ beq lbl_800BFC40 -/* 800BFA90 000BC9F0 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 800BFA94 000BC9F4 83 FD 08 10 */ lwz r31, 0x810(r29) -/* 800BFA98 000BC9F8 41 82 01 0C */ beq lbl_800BFBA4 -/* 800BFA9C 000BC9FC AB DF 20 08 */ lha r30, 0x2008(r31) -/* 800BFAA0 000BCA00 48 00 00 F8 */ b lbl_800BFB98 -lbl_800BFAA4: -/* 800BFAA4 000BCA04 7F E3 FB 78 */ mr r3, r31 -/* 800BFAA8 000BCA08 7F C4 F3 78 */ mr r4, r30 -/* 800BFAAC 000BCA0C 4B F5 02 31 */ bl __vc__11CObjectListCFi -/* 800BFAB0 000BCA10 7C 64 1B 78 */ mr r4, r3 -/* 800BFAB4 000BCA14 38 61 00 28 */ addi r3, r1, 0x28 -/* 800BFAB8 000BCA18 4B FE A0 11 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" -/* 800BFABC 000BCA1C 80 83 00 04 */ lwz r4, 4(r3) -/* 800BFAC0 000BCA20 28 04 00 00 */ cmplwi r4, 0 -/* 800BFAC4 000BCA24 41 82 00 B8 */ beq lbl_800BFB7C -/* 800BFAC8 000BCA28 88 04 00 30 */ lbz r0, 0x30(r4) -/* 800BFACC 000BCA2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800BFAD0 000BCA30 41 82 00 AC */ beq lbl_800BFB7C -/* 800BFAD4 000BCA34 80 C4 00 04 */ lwz r6, 4(r4) -/* 800BFAD8 000BCA38 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800BFADC 000BCA3C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800BFAE0 000BCA40 7C 06 00 00 */ cmpw r6, r0 -/* 800BFAE4 000BCA44 41 82 00 40 */ beq lbl_800BFB24 -/* 800BFAE8 000BCA48 80 BD 08 50 */ lwz r5, 0x850(r29) -/* 800BFAEC 000BCA4C 54 C3 18 38 */ slwi r3, r6, 3 -/* 800BFAF0 000BCA50 38 03 00 04 */ addi r0, r3, 4 -/* 800BFAF4 000BCA54 90 C1 00 10 */ stw r6, 0x10(r1) -/* 800BFAF8 000BCA58 80 65 00 20 */ lwz r3, 0x20(r5) -/* 800BFAFC 000BCA5C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 800BFB00 000BCA60 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 800BFB04 000BCA64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800BFB08 000BCA68 41 82 00 10 */ beq lbl_800BFB18 -/* 800BFB0C 000BCA6C 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 800BFB10 000BCA70 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 800BFB14 000BCA74 48 00 00 08 */ b lbl_800BFB1C -lbl_800BFB18: -/* 800BFB18 000BCA78 38 00 00 00 */ li r0, 0 -lbl_800BFB1C: -/* 800BFB1C 000BCA7C 2C 00 00 01 */ cmpwi r0, 1 -/* 800BFB20 000BCA80 40 82 00 5C */ bne lbl_800BFB7C -lbl_800BFB24: -/* 800BFB24 000BCA84 A0 64 00 08 */ lhz r3, 8(r4) -/* 800BFB28 000BCA88 A0 1B 01 DC */ lhz r0, 0x1dc(r27) -/* 800BFB2C 000BCA8C C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800BFB30 000BCA90 7C 03 00 40 */ cmplw r3, r0 -/* 800BFB34 000BCA94 40 82 00 0C */ bne lbl_800BFB40 -/* 800BFB38 000BCA98 C0 3B 01 E0 */ lfs f1, 0x1e0(r27) -/* 800BFB3C 000BCA9C 48 00 00 14 */ b lbl_800BFB50 -lbl_800BFB40: -/* 800BFB40 000BCAA0 A0 1B 01 DE */ lhz r0, 0x1de(r27) -/* 800BFB44 000BCAA4 7C 03 00 40 */ cmplw r3, r0 -/* 800BFB48 000BCAA8 40 82 00 08 */ bne lbl_800BFB50 -/* 800BFB4C 000BCAAC C0 3B 01 E4 */ lfs f1, 0x1e4(r27) -lbl_800BFB50: -/* 800BFB50 000BCAB0 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) -/* 800BFB54 000BCAB4 C8 02 8D A0 */ lfd f0, lbl_805AAAC0@sda21(r2) -/* 800BFB58 000BCAB8 EC 41 10 28 */ fsubs f2, f1, f2 -/* 800BFB5C 000BCABC FC 40 12 10 */ fabs f2, f2 -/* 800BFB60 000BCAC0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800BFB64 000BCAC4 40 80 00 18 */ bge lbl_800BFB7C -/* 800BFB68 000BCAC8 7F 63 DB 78 */ mr r3, r27 -/* 800BFB6C 000BCACC 7F A5 EB 78 */ mr r5, r29 -/* 800BFB70 000BCAD0 7F 86 E3 78 */ mr r6, r28 -/* 800BFB74 000BCAD4 38 E0 00 01 */ li r7, 1 -/* 800BFB78 000BCAD8 4B FF FC DD */ bl DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb -lbl_800BFB7C: -/* 800BFB7C 000BCADC 2C 1E FF FF */ cmpwi r30, -1 -/* 800BFB80 000BCAE0 41 82 00 14 */ beq lbl_800BFB94 -/* 800BFB84 000BCAE4 57 C3 18 38 */ slwi r3, r30, 3 -/* 800BFB88 000BCAE8 38 03 00 08 */ addi r0, r3, 8 -/* 800BFB8C 000BCAEC 7F DF 02 AE */ lhax r30, r31, r0 -/* 800BFB90 000BCAF0 48 00 00 08 */ b lbl_800BFB98 -lbl_800BFB94: -/* 800BFB94 000BCAF4 3B C0 FF FF */ li r30, -1 -lbl_800BFB98: -/* 800BFB98 000BCAF8 2C 1E FF FF */ cmpwi r30, -1 -/* 800BFB9C 000BCAFC 40 82 FF 08 */ bne lbl_800BFAA4 -/* 800BFBA0 000BCB00 48 00 00 A0 */ b lbl_800BFC40 -lbl_800BFBA4: -/* 800BFBA4 000BCB04 A0 1B 01 DC */ lhz r0, 0x1dc(r27) -/* 800BFBA8 000BCB08 7F A3 EB 78 */ mr r3, r29 -/* 800BFBAC 000BCB0C 38 81 00 0C */ addi r4, r1, 0xc -/* 800BFBB0 000BCB10 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800BFBB4 000BCB14 4B F8 C9 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800BFBB8 000BCB18 7C 64 1B 78 */ mr r4, r3 -/* 800BFBBC 000BCB1C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800BFBC0 000BCB20 4B FE 9F 09 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" -/* 800BFBC4 000BCB24 83 C3 00 04 */ lwz r30, 4(r3) -/* 800BFBC8 000BCB28 7F A3 EB 78 */ mr r3, r29 -/* 800BFBCC 000BCB2C A0 1B 01 DE */ lhz r0, 0x1de(r27) -/* 800BFBD0 000BCB30 38 81 00 08 */ addi r4, r1, 8 -/* 800BFBD4 000BCB34 B0 01 00 08 */ sth r0, 8(r1) -/* 800BFBD8 000BCB38 4B F8 C9 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800BFBDC 000BCB3C 7C 64 1B 78 */ mr r4, r3 -/* 800BFBE0 000BCB40 38 61 00 18 */ addi r3, r1, 0x18 -/* 800BFBE4 000BCB44 4B FE 9E E5 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" -/* 800BFBE8 000BCB48 83 E3 00 04 */ lwz r31, 4(r3) -/* 800BFBEC 000BCB4C 3B 40 00 00 */ li r26, 0 -lbl_800BFBF0: -/* 800BFBF0 000BCB50 2C 1A 00 00 */ cmpwi r26, 0 -/* 800BFBF4 000BCB54 40 82 00 0C */ bne lbl_800BFC00 -/* 800BFBF8 000BCB58 7F C4 F3 78 */ mr r4, r30 -/* 800BFBFC 000BCB5C 48 00 00 08 */ b lbl_800BFC04 -lbl_800BFC00: -/* 800BFC00 000BCB60 7F E4 FB 78 */ mr r4, r31 -lbl_800BFC04: -/* 800BFC04 000BCB64 2C 1A 00 00 */ cmpwi r26, 0 -/* 800BFC08 000BCB68 40 82 00 0C */ bne lbl_800BFC14 -/* 800BFC0C 000BCB6C C0 3B 01 E0 */ lfs f1, 0x1e0(r27) -/* 800BFC10 000BCB70 48 00 00 08 */ b lbl_800BFC18 -lbl_800BFC14: -/* 800BFC14 000BCB74 C0 3B 01 E4 */ lfs f1, 0x1e4(r27) -lbl_800BFC18: -/* 800BFC18 000BCB78 28 04 00 00 */ cmplwi r4, 0 -/* 800BFC1C 000BCB7C 41 82 00 18 */ beq lbl_800BFC34 -/* 800BFC20 000BCB80 7F 63 DB 78 */ mr r3, r27 -/* 800BFC24 000BCB84 7F A5 EB 78 */ mr r5, r29 -/* 800BFC28 000BCB88 7F 86 E3 78 */ mr r6, r28 -/* 800BFC2C 000BCB8C 38 E0 00 00 */ li r7, 0 -/* 800BFC30 000BCB90 4B FF FC 25 */ bl DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb -lbl_800BFC34: -/* 800BFC34 000BCB94 3B 5A 00 01 */ addi r26, r26, 1 -/* 800BFC38 000BCB98 2C 1A 00 02 */ cmpwi r26, 2 -/* 800BFC3C 000BCB9C 41 80 FF B4 */ blt lbl_800BFBF0 -lbl_800BFC40: -/* 800BFC40 000BCBA0 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 800BFC44 000BCBA4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800BFC48 000BCBA8 7C 08 03 A6 */ mtlr r0 -/* 800BFC4C 000BCBAC 38 21 00 50 */ addi r1, r1, 0x50 -/* 800BFC50 000BCBB0 4E 80 00 20 */ blr - -.global Draw__22CCompoundTargetReticleCFRC13CStateManager -Draw__22CCompoundTargetReticleCFRC13CStateManager: -/* 800BFC54 000BCBB4 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800BFC58 000BCBB8 7C 08 02 A6 */ mflr r0 -/* 800BFC5C 000BCBBC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800BFC60 000BCBC0 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 800BFC64 000BCBC4 7C BF 2B 78 */ mr r31, r5 -/* 800BFC68 000BCBC8 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 800BFC6C 000BCBCC 7C 9E 23 78 */ mr r30, r4 -/* 800BFC70 000BCBD0 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 800BFC74 000BCBD4 7C 7D 1B 78 */ mr r29, r3 -/* 800BFC78 000BCBD8 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 800BFC7C 000BCBDC 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 800BFC80 000BCBE0 2C 00 00 00 */ cmpwi r0, 0 -/* 800BFC84 000BCBE4 40 82 00 AC */ bne lbl_800BFD30 -/* 800BFC88 000BCBE8 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 800BFC8C 000BCBEC 4B F4 AC 75 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 800BFC90 000BCBF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800BFC94 000BCBF4 40 82 00 9C */ bne lbl_800BFD30 -/* 800BFC98 000BCBF8 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 800BFC9C 000BCBFC 7F C5 F3 78 */ mr r5, r30 -/* 800BFCA0 000BCC00 38 61 00 2C */ addi r3, r1, 0x2c -/* 800BFCA4 000BCC04 4B F4 AC C5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 800BFCA8 000BCC08 38 61 00 80 */ addi r3, r1, 0x80 -/* 800BFCAC 000BCC0C 38 81 00 2C */ addi r4, r1, 0x2c -/* 800BFCB0 000BCC10 48 25 2E C5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800BFCB4 000BCC14 38 61 00 80 */ addi r3, r1, 0x80 -/* 800BFCB8 000BCC18 48 24 CA 95 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 800BFCBC 000BCC1C 38 61 00 08 */ addi r3, r1, 8 -/* 800BFCC0 000BCC20 38 81 00 80 */ addi r4, r1, 0x80 -/* 800BFCC4 000BCC24 48 25 34 31 */ bl BuildMatrix3f__12CTransform4fCFv -/* 800BFCC8 000BCC28 38 61 00 5C */ addi r3, r1, 0x5c -/* 800BFCCC 000BCC2C 38 81 00 08 */ addi r4, r1, 8 -/* 800BFCD0 000BCC30 48 25 03 55 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 800BFCD4 000BCC34 38 60 00 00 */ li r3, 0 -/* 800BFCD8 000BCC38 48 24 BD 99 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 800BFCDC 000BCC3C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800BFCE0 000BCC40 40 82 00 34 */ bne lbl_800BFD14 -/* 800BFCE4 000BCC44 7F A3 EB 78 */ mr r3, r29 -/* 800BFCE8 000BCC48 7F C5 F3 78 */ mr r5, r30 -/* 800BFCEC 000BCC4C 38 81 00 5C */ addi r4, r1, 0x5c -/* 800BFCF0 000BCC50 4B FF E5 6D */ bl DrawCurrLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager -/* 800BFCF4 000BCC54 7F A3 EB 78 */ mr r3, r29 -/* 800BFCF8 000BCC58 7F C5 F3 78 */ mr r5, r30 -/* 800BFCFC 000BCC5C 38 81 00 5C */ addi r4, r1, 0x5c -/* 800BFD00 000BCC60 4B FF DB 09 */ bl DrawNextLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager -/* 800BFD04 000BCC64 7F A3 EB 78 */ mr r3, r29 -/* 800BFD08 000BCC68 7F C5 F3 78 */ mr r5, r30 -/* 800BFD0C 000BCC6C 38 81 00 5C */ addi r4, r1, 0x5c -/* 800BFD10 000BCC70 4B FF D9 8D */ bl DrawOrbitZoneGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager -lbl_800BFD14: -/* 800BFD14 000BCC74 7F A3 EB 78 */ mr r3, r29 -/* 800BFD18 000BCC78 7F C5 F3 78 */ mr r5, r30 -/* 800BFD1C 000BCC7C 7F E6 FB 78 */ mr r6, r31 -/* 800BFD20 000BCC80 38 81 00 5C */ addi r4, r1, 0x5c -/* 800BFD24 000BCC84 4B FF FC D9 */ bl DrawGrappleGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager -/* 800BFD28 000BCC88 38 60 00 01 */ li r3, 1 -/* 800BFD2C 000BCC8C 48 24 BD 45 */ bl SetCullMode__9CGraphicsF12ERglCullMode -lbl_800BFD30: -/* 800BFD30 000BCC90 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 800BFD34 000BCC94 2C 03 00 00 */ cmpwi r3, 0 -/* 800BFD38 000BCC98 40 81 00 0C */ ble lbl_800BFD44 -/* 800BFD3C 000BCC9C 38 03 FF FF */ addi r0, r3, -1 -/* 800BFD40 000BCCA0 90 1D 00 28 */ stw r0, 0x28(r29) -lbl_800BFD44: -/* 800BFD44 000BCCA4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800BFD48 000BCCA8 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 800BFD4C 000BCCAC 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 800BFD50 000BCCB0 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 800BFD54 000BCCB4 7C 08 03 A6 */ mtlr r0 -/* 800BFD58 000BCCB8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800BFD5C 000BCCBC 4E 80 00 20 */ blr - -.global UpdateOrbitZoneGroup__22CCompoundTargetReticleFfRC13CStateManager -UpdateOrbitZoneGroup__22CCompoundTargetReticleFfRC13CStateManager: -/* 800BFD60 000BCCC0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800BFD64 000BCCC4 A0 03 00 F0 */ lhz r0, 0xf0(r3) -/* 800BFD68 000BCCC8 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 800BFD6C 000BCCCC 7C 00 28 40 */ cmplw r0, r5 -/* 800BFD70 000BCCD0 40 82 00 44 */ bne lbl_800BFDB4 -/* 800BFD74 000BCCD4 A0 03 00 F2 */ lhz r0, 0xf2(r3) -/* 800BFD78 000BCCD8 7C 00 28 40 */ cmplw r0, r5 -/* 800BFD7C 000BCCDC 41 82 00 38 */ beq lbl_800BFDB4 -/* 800BFD80 000BCCE0 C0 62 8D A8 */ lfs f3, lbl_805AAAC8@sda21(r2) -/* 800BFD84 000BCCE4 C0 43 02 0C */ lfs f2, 0x20c(r3) -/* 800BFD88 000BCCE8 C0 0D 86 98 */ lfs f0, lbl_805A7258@sda21(r13) -/* 800BFD8C 000BCCEC EC 43 10 7A */ fmadds f2, f3, f1, f2 -/* 800BFD90 000BCCF0 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 800BFD94 000BCCF4 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 800BFD98 000BCCF8 40 80 00 0C */ bge lbl_800BFDA4 -/* 800BFD9C 000BCCFC 38 AD 86 98 */ addi r5, r13, lbl_805A7258@sda21 -/* 800BFDA0 000BCD00 48 00 00 08 */ b lbl_800BFDA8 -lbl_800BFDA4: -/* 800BFDA4 000BCD04 38 A1 00 14 */ addi r5, r1, 0x14 -lbl_800BFDA8: -/* 800BFDA8 000BCD08 C0 05 00 00 */ lfs f0, 0(r5) -/* 800BFDAC 000BCD0C D0 03 02 0C */ stfs f0, 0x20c(r3) -/* 800BFDB0 000BCD10 48 00 00 34 */ b lbl_800BFDE4 -lbl_800BFDB4: -/* 800BFDB4 000BCD14 C0 62 8D A8 */ lfs f3, lbl_805AAAC8@sda21(r2) -/* 800BFDB8 000BCD18 C0 43 02 0C */ lfs f2, 0x20c(r3) -/* 800BFDBC 000BCD1C C0 0D 86 9C */ lfs f0, lbl_805A725C@sda21(r13) -/* 800BFDC0 000BCD20 EC 43 10 7C */ fnmsubs f2, f3, f1, f2 -/* 800BFDC4 000BCD24 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800BFDC8 000BCD28 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 800BFDCC 000BCD2C 40 80 00 0C */ bge lbl_800BFDD8 -/* 800BFDD0 000BCD30 38 AD 86 9C */ addi r5, r13, lbl_805A725C@sda21 -/* 800BFDD4 000BCD34 48 00 00 08 */ b lbl_800BFDDC -lbl_800BFDD8: -/* 800BFDD8 000BCD38 38 A1 00 10 */ addi r5, r1, 0x10 -lbl_800BFDDC: -/* 800BFDDC 000BCD3C C0 05 00 00 */ lfs f0, 0(r5) -/* 800BFDE0 000BCD40 D0 03 02 0C */ stfs f0, 0x20c(r3) -lbl_800BFDE4: -/* 800BFDE4 000BCD44 80 A4 08 4C */ lwz r5, 0x84c(r4) -/* 800BFDE8 000BCD48 88 05 09 C4 */ lbz r0, 0x9c4(r5) -/* 800BFDEC 000BCD4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800BFDF0 000BCD50 41 82 00 54 */ beq lbl_800BFE44 -/* 800BFDF4 000BCD54 80 84 08 B8 */ lwz r4, 0x8b8(r4) -/* 800BFDF8 000BCD58 80 84 00 00 */ lwz r4, 0(r4) -/* 800BFDFC 000BCD5C 80 04 00 14 */ lwz r0, 0x14(r4) -/* 800BFE00 000BCD60 2C 00 00 02 */ cmpwi r0, 2 -/* 800BFE04 000BCD64 41 82 00 40 */ beq lbl_800BFE44 -/* 800BFE08 000BCD68 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) -/* 800BFE0C 000BCD6C C0 63 01 E8 */ lfs f3, 0x1e8(r3) -/* 800BFE10 000BCD70 C0 44 01 C4 */ lfs f2, 0x1c4(r4) -/* 800BFE14 000BCD74 C0 0D 86 A0 */ lfs f0, lbl_805A7260@sda21(r13) -/* 800BFE18 000BCD78 EC 21 10 24 */ fdivs f1, f1, f2 -/* 800BFE1C 000BCD7C EC 23 08 2A */ fadds f1, f3, f1 -/* 800BFE20 000BCD80 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800BFE24 000BCD84 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800BFE28 000BCD88 40 80 00 0C */ bge lbl_800BFE34 -/* 800BFE2C 000BCD8C 38 8D 86 A0 */ addi r4, r13, lbl_805A7260@sda21 -/* 800BFE30 000BCD90 48 00 00 08 */ b lbl_800BFE38 -lbl_800BFE34: -/* 800BFE34 000BCD94 38 81 00 0C */ addi r4, r1, 0xc -lbl_800BFE38: -/* 800BFE38 000BCD98 C0 04 00 00 */ lfs f0, 0(r4) -/* 800BFE3C 000BCD9C D0 03 01 E8 */ stfs f0, 0x1e8(r3) -/* 800BFE40 000BCDA0 48 00 00 3C */ b lbl_800BFE7C -lbl_800BFE44: -/* 800BFE44 000BCDA4 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) -/* 800BFE48 000BCDA8 C0 63 01 E8 */ lfs f3, 0x1e8(r3) -/* 800BFE4C 000BCDAC C0 44 01 C4 */ lfs f2, 0x1c4(r4) -/* 800BFE50 000BCDB0 C0 0D 86 A4 */ lfs f0, lbl_805A7264@sda21(r13) -/* 800BFE54 000BCDB4 EC 21 10 24 */ fdivs f1, f1, f2 -/* 800BFE58 000BCDB8 EC 23 08 28 */ fsubs f1, f3, f1 -/* 800BFE5C 000BCDBC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800BFE60 000BCDC0 D0 21 00 08 */ stfs f1, 8(r1) -/* 800BFE64 000BCDC4 40 80 00 0C */ bge lbl_800BFE70 -/* 800BFE68 000BCDC8 38 8D 86 A4 */ addi r4, r13, lbl_805A7264@sda21 -/* 800BFE6C 000BCDCC 48 00 00 08 */ b lbl_800BFE74 -lbl_800BFE70: -/* 800BFE70 000BCDD0 38 81 00 08 */ addi r4, r1, 8 -lbl_800BFE74: -/* 800BFE74 000BCDD4 C0 04 00 00 */ lfs f0, 0(r4) -/* 800BFE78 000BCDD8 D0 03 01 E8 */ stfs f0, 0x1e8(r3) -lbl_800BFE7C: -/* 800BFE7C 000BCDDC 38 21 00 20 */ addi r1, r1, 0x20 -/* 800BFE80 000BCDE0 4E 80 00 20 */ blr - -.global UpdateNextLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager -UpdateNextLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager: -/* 800BFE84 000BCDE4 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 800BFE88 000BCDE8 7C 08 02 A6 */ mflr r0 -/* 800BFE8C 000BCDEC 90 01 00 94 */ stw r0, 0x94(r1) -/* 800BFE90 000BCDF0 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 800BFE94 000BCDF4 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 800BFE98 000BCDF8 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 800BFE9C 000BCDFC 93 C1 00 78 */ stw r30, 0x78(r1) -/* 800BFEA0 000BCE00 7C 9F 23 78 */ mr r31, r4 -/* 800BFEA4 000BCE04 FF E0 08 90 */ fmr f31, f1 -/* 800BFEA8 000BCE08 80 84 08 B8 */ lwz r4, 0x8b8(r4) -/* 800BFEAC 000BCE0C 7C 7E 1B 78 */ mr r30, r3 -/* 800BFEB0 000BCE10 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 800BFEB4 000BCE14 80 64 00 00 */ lwz r3, 0(r4) -/* 800BFEB8 000BCE18 A0 05 03 3C */ lhz r0, 0x33c(r5) -/* 800BFEBC 000BCE1C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 800BFEC0 000BCE20 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800BFEC4 000BCE24 2C 03 00 02 */ cmpwi r3, 2 -/* 800BFEC8 000BCE28 40 82 00 18 */ bne lbl_800BFEE0 -/* 800BFECC 000BCE2C A0 65 03 10 */ lhz r3, 0x310(r5) -/* 800BFED0 000BCE30 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800BFED4 000BCE34 7C 03 00 40 */ cmplw r3, r0 -/* 800BFED8 000BCE38 41 82 00 08 */ beq lbl_800BFEE0 -/* 800BFEDC 000BCE3C B0 61 00 14 */ sth r3, 0x14(r1) -lbl_800BFEE0: -/* 800BFEE0 000BCE40 A0 61 00 14 */ lhz r3, 0x14(r1) -/* 800BFEE4 000BCE44 A0 1E 00 F2 */ lhz r0, 0xf2(r30) -/* 800BFEE8 000BCE48 7C 03 00 40 */ cmplw r3, r0 -/* 800BFEEC 000BCE4C 41 82 02 50 */ beq lbl_800C013C -/* 800BFEF0 000BCE50 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800BFEF4 000BCE54 7C 00 18 40 */ cmplw r0, r3 -/* 800BFEF8 000BCE58 40 82 01 18 */ bne lbl_800C0010 -/* 800BFEFC 000BCE5C A0 7E 01 74 */ lhz r3, 0x174(r30) -/* 800BFF00 000BCE60 38 00 00 00 */ li r0, 0 -/* 800BFF04 000BCE64 B0 7E 01 94 */ sth r3, 0x194(r30) -/* 800BFF08 000BCE68 C0 1E 01 78 */ lfs f0, 0x178(r30) -/* 800BFF0C 000BCE6C D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 800BFF10 000BCE70 80 9E 01 7C */ lwz r4, 0x17c(r30) -/* 800BFF14 000BCE74 80 7E 01 80 */ lwz r3, 0x180(r30) -/* 800BFF18 000BCE78 90 9E 01 9C */ stw r4, 0x19c(r30) -/* 800BFF1C 000BCE7C 90 7E 01 A0 */ stw r3, 0x1a0(r30) -/* 800BFF20 000BCE80 80 7E 01 84 */ lwz r3, 0x184(r30) -/* 800BFF24 000BCE84 90 7E 01 A4 */ stw r3, 0x1a4(r30) -/* 800BFF28 000BCE88 C0 1E 01 88 */ lfs f0, 0x188(r30) -/* 800BFF2C 000BCE8C D0 1E 01 A8 */ stfs f0, 0x1a8(r30) -/* 800BFF30 000BCE90 C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 800BFF34 000BCE94 D0 1E 01 AC */ stfs f0, 0x1ac(r30) -/* 800BFF38 000BCE98 88 7E 01 90 */ lbz r3, 0x190(r30) -/* 800BFF3C 000BCE9C 98 7E 01 B0 */ stb r3, 0x1b0(r30) -/* 800BFF40 000BCEA0 98 1E 01 B0 */ stb r0, 0x1b0(r30) -/* 800BFF44 000BCEA4 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 800BFF48 000BCEA8 2C 03 00 02 */ cmpwi r3, 2 -/* 800BFF4C 000BCEAC 41 82 00 0C */ beq lbl_800BFF58 -/* 800BFF50 000BCEB0 2C 03 00 03 */ cmpwi r3, 3 -/* 800BFF54 000BCEB4 40 82 00 08 */ bne lbl_800BFF5C -lbl_800BFF58: -/* 800BFF58 000BCEB8 38 00 00 01 */ li r0, 1 -lbl_800BFF5C: -/* 800BFF5C 000BCEBC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800BFF60 000BCEC0 41 82 00 0C */ beq lbl_800BFF6C -/* 800BFF64 000BCEC4 39 1E 01 00 */ addi r8, r30, 0x100 -/* 800BFF68 000BCEC8 48 00 00 08 */ b lbl_800BFF70 -lbl_800BFF6C: -/* 800BFF6C 000BCECC 39 1E 00 F4 */ addi r8, r30, 0xf4 -lbl_800BFF70: -/* 800BFF70 000BCED0 80 08 00 00 */ lwz r0, 0(r8) -/* 800BFF74 000BCED4 38 61 00 54 */ addi r3, r1, 0x54 -/* 800BFF78 000BCED8 80 E8 00 04 */ lwz r7, 4(r8) -/* 800BFF7C 000BCEDC 38 81 00 10 */ addi r4, r1, 0x10 -/* 800BFF80 000BCEE0 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -/* 800BFF84 000BCEE4 38 A1 00 28 */ addi r5, r1, 0x28 -/* 800BFF88 000BCEE8 90 01 00 28 */ stw r0, 0x28(r1) -/* 800BFF8C 000BCEEC 38 C0 00 01 */ li r6, 1 -/* 800BFF90 000BCEF0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800BFF94 000BCEF4 FC 60 08 90 */ fmr f3, f1 -/* 800BFF98 000BCEF8 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 800BFF9C 000BCEFC C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) -/* 800BFFA0 000BCF00 80 E8 00 08 */ lwz r7, 8(r8) -/* 800BFFA4 000BCF04 90 E1 00 30 */ stw r7, 0x30(r1) -/* 800BFFA8 000BCF08 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800BFFAC 000BCF0C 4B FF CF BD */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb -/* 800BFFB0 000BCF10 A0 61 00 54 */ lhz r3, 0x54(r1) -/* 800BFFB4 000BCF14 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 800BFFB8 000BCF18 B0 7E 01 B4 */ sth r3, 0x1b4(r30) -/* 800BFFBC 000BCF1C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 800BFFC0 000BCF20 D0 1E 01 B8 */ stfs f0, 0x1b8(r30) -/* 800BFFC4 000BCF24 80 81 00 5C */ lwz r4, 0x5c(r1) -/* 800BFFC8 000BCF28 80 61 00 60 */ lwz r3, 0x60(r1) -/* 800BFFCC 000BCF2C 90 9E 01 BC */ stw r4, 0x1bc(r30) -/* 800BFFD0 000BCF30 90 7E 01 C0 */ stw r3, 0x1c0(r30) -/* 800BFFD4 000BCF34 80 61 00 64 */ lwz r3, 0x64(r1) -/* 800BFFD8 000BCF38 90 7E 01 C4 */ stw r3, 0x1c4(r30) -/* 800BFFDC 000BCF3C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 800BFFE0 000BCF40 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) -/* 800BFFE4 000BCF44 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 800BFFE8 000BCF48 D0 1E 01 CC */ stfs f0, 0x1cc(r30) -/* 800BFFEC 000BCF4C 88 61 00 70 */ lbz r3, 0x70(r1) -/* 800BFFF0 000BCF50 98 7E 01 D0 */ stb r3, 0x1d0(r30) -/* 800BFFF4 000BCF54 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800BFFF8 000BCF58 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 800BFFFC 000BCF5C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 800C0000 000BCF60 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) -/* 800C0004 000BCF64 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 800C0008 000BCF68 B0 1E 00 F2 */ sth r0, 0xf2(r30) -/* 800C000C 000BCF6C 48 00 01 30 */ b lbl_800C013C -lbl_800C0010: -/* 800C0010 000BCF70 A0 7E 01 74 */ lhz r3, 0x174(r30) -/* 800C0014 000BCF74 38 A0 00 00 */ li r5, 0 -/* 800C0018 000BCF78 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 800C001C 000BCF7C 7F E4 FB 78 */ mr r4, r31 -/* 800C0020 000BCF80 B0 7E 01 94 */ sth r3, 0x194(r30) -/* 800C0024 000BCF84 38 61 00 0C */ addi r3, r1, 0xc -/* 800C0028 000BCF88 C0 1E 01 78 */ lfs f0, 0x178(r30) -/* 800C002C 000BCF8C D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 800C0030 000BCF90 80 FE 01 7C */ lwz r7, 0x17c(r30) -/* 800C0034 000BCF94 80 DE 01 80 */ lwz r6, 0x180(r30) -/* 800C0038 000BCF98 90 FE 01 9C */ stw r7, 0x19c(r30) -/* 800C003C 000BCF9C 90 DE 01 A0 */ stw r6, 0x1a0(r30) -/* 800C0040 000BCFA0 80 DE 01 84 */ lwz r6, 0x184(r30) -/* 800C0044 000BCFA4 90 DE 01 A4 */ stw r6, 0x1a4(r30) -/* 800C0048 000BCFA8 C0 1E 01 88 */ lfs f0, 0x188(r30) -/* 800C004C 000BCFAC D0 1E 01 A8 */ stfs f0, 0x1a8(r30) -/* 800C0050 000BCFB0 C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 800C0054 000BCFB4 D0 1E 01 AC */ stfs f0, 0x1ac(r30) -/* 800C0058 000BCFB8 88 DE 01 90 */ lbz r6, 0x190(r30) -/* 800C005C 000BCFBC 98 DE 01 B0 */ stb r6, 0x1b0(r30) -/* 800C0060 000BCFC0 98 BE 01 B0 */ stb r5, 0x1b0(r30) -/* 800C0064 000BCFC4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800C0068 000BCFC8 4B FF D0 D5 */ bl IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager -/* 800C006C 000BCFCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800C0070 000BCFD0 41 82 00 10 */ beq lbl_800C0080 -/* 800C0074 000BCFD4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0078 000BCFD8 C0 63 01 B0 */ lfs f3, 0x1b0(r3) -/* 800C007C 000BCFDC 48 00 00 08 */ b lbl_800C0084 -lbl_800C0080: -/* 800C0080 000BCFE0 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) -lbl_800C0084: -/* 800C0084 000BCFE4 3C 60 80 5A */ lis r3, lbl_805A0004@ha -/* 800C0088 000BCFE8 84 83 66 A0 */ lwzu r4, 0x66a0(r3) -/* 800C008C 000BCFEC C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -/* 800C0090 000BCFF0 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800C0094 000BCFF4 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 800C0098 000BCFF8 80 C3 00 04 */ lwz r6, lbl_805A0004@l(r3) -/* 800C009C 000BCFFC FC 40 08 90 */ fmr f2, f1 -/* 800C00A0 000BD000 80 E3 00 08 */ lwz r7, 8(r3) -/* 800C00A4 000BD004 38 61 00 34 */ addi r3, r1, 0x34 -/* 800C00A8 000BD008 90 81 00 1C */ stw r4, 0x1c(r1) -/* 800C00AC 000BD00C 38 81 00 08 */ addi r4, r1, 8 -/* 800C00B0 000BD010 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800C00B4 000BD014 38 C0 00 01 */ li r6, 1 -/* 800C00B8 000BD018 90 E1 00 24 */ stw r7, 0x24(r1) -/* 800C00BC 000BD01C B0 01 00 08 */ sth r0, 8(r1) -/* 800C00C0 000BD020 4B FF CE A9 */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb -/* 800C00C4 000BD024 A0 01 00 34 */ lhz r0, 0x34(r1) -/* 800C00C8 000BD028 B0 1E 01 B4 */ sth r0, 0x1b4(r30) -/* 800C00CC 000BD02C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 800C00D0 000BD030 D0 1E 01 B8 */ stfs f0, 0x1b8(r30) -/* 800C00D4 000BD034 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800C00D8 000BD038 80 01 00 40 */ lwz r0, 0x40(r1) -/* 800C00DC 000BD03C 90 7E 01 BC */ stw r3, 0x1bc(r30) -/* 800C00E0 000BD040 90 1E 01 C0 */ stw r0, 0x1c0(r30) -/* 800C00E4 000BD044 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800C00E8 000BD048 90 1E 01 C4 */ stw r0, 0x1c4(r30) -/* 800C00EC 000BD04C C0 01 00 48 */ lfs f0, 0x48(r1) -/* 800C00F0 000BD050 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) -/* 800C00F4 000BD054 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800C00F8 000BD058 D0 1E 01 CC */ stfs f0, 0x1cc(r30) -/* 800C00FC 000BD05C 88 01 00 50 */ lbz r0, 0x50(r1) -/* 800C0100 000BD060 98 1E 01 D0 */ stb r0, 0x1d0(r30) -/* 800C0104 000BD064 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 800C0108 000BD068 A0 1E 00 F2 */ lhz r0, 0xf2(r30) -/* 800C010C 000BD06C 7C 03 00 40 */ cmplw r3, r0 -/* 800C0110 000BD070 40 82 00 10 */ bne lbl_800C0120 -/* 800C0114 000BD074 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0118 000BD078 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 800C011C 000BD07C 48 00 00 0C */ b lbl_800C0128 -lbl_800C0120: -/* 800C0120 000BD080 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0124 000BD084 C0 03 00 20 */ lfs f0, 0x20(r3) -lbl_800C0128: -/* 800C0128 000BD088 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 800C012C 000BD08C A0 01 00 14 */ lhz r0, 0x14(r1) -/* 800C0130 000BD090 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) -/* 800C0134 000BD094 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 800C0138 000BD098 B0 1E 00 F2 */ sth r0, 0xf2(r30) -lbl_800C013C: -/* 800C013C 000BD09C C0 3E 01 D8 */ lfs f1, 0x1d8(r30) -/* 800C0140 000BD0A0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C0144 000BD0A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C0148 000BD0A8 40 81 00 78 */ ble lbl_800C01C0 -/* 800C014C 000BD0AC 7F C3 F3 78 */ mr r3, r30 -/* 800C0150 000BD0B0 7F E5 FB 78 */ mr r5, r31 -/* 800C0154 000BD0B4 38 9E 01 94 */ addi r4, r30, 0x194 -/* 800C0158 000BD0B8 4B FF D4 2D */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager -/* 800C015C 000BD0BC 7F C3 F3 78 */ mr r3, r30 -/* 800C0160 000BD0C0 7F E5 FB 78 */ mr r5, r31 -/* 800C0164 000BD0C4 38 9E 01 B4 */ addi r4, r30, 0x1b4 -/* 800C0168 000BD0C8 4B FF D4 1D */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager -/* 800C016C 000BD0CC C0 3E 01 D8 */ lfs f1, 0x1d8(r30) -/* 800C0170 000BD0D0 C0 0D 86 94 */ lfs f0, lbl_805A7254@sda21(r13) -/* 800C0174 000BD0D4 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800C0178 000BD0D8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C017C 000BD0DC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800C0180 000BD0E0 40 80 00 0C */ bge lbl_800C018C -/* 800C0184 000BD0E4 38 61 00 18 */ addi r3, r1, 0x18 -/* 800C0188 000BD0E8 48 00 00 08 */ b lbl_800C0190 -lbl_800C018C: -/* 800C018C 000BD0EC 38 6D 86 94 */ addi r3, r13, lbl_805A7254@sda21 -lbl_800C0190: -/* 800C0190 000BD0F0 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C0194 000BD0F4 38 7E 01 94 */ addi r3, r30, 0x194 -/* 800C0198 000BD0F8 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) -/* 800C019C 000BD0FC 38 9E 01 74 */ addi r4, r30, 0x174 -/* 800C01A0 000BD100 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 800C01A4 000BD104 38 BE 01 B4 */ addi r5, r30, 0x1b4 -/* 800C01A8 000BD108 C0 3E 01 D8 */ lfs f1, 0x1d8(r30) -/* 800C01AC 000BD10C C0 1E 01 D4 */ lfs f0, 0x1d4(r30) -/* 800C01B0 000BD110 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800C01B4 000BD114 EC 22 00 28 */ fsubs f1, f2, f0 -/* 800C01B8 000BD118 4B FF CC 91 */ bl InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef -/* 800C01BC 000BD11C 48 00 00 14 */ b lbl_800C01D0 -lbl_800C01C0: -/* 800C01C0 000BD120 7F C3 F3 78 */ mr r3, r30 -/* 800C01C4 000BD124 7F E5 FB 78 */ mr r5, r31 -/* 800C01C8 000BD128 38 9E 01 74 */ addi r4, r30, 0x174 -/* 800C01CC 000BD12C 4B FF D3 B9 */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager -lbl_800C01D0: -/* 800C01D0 000BD130 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 800C01D4 000BD134 80 01 00 94 */ lwz r0, 0x94(r1) -/* 800C01D8 000BD138 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 800C01DC 000BD13C 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 800C01E0 000BD140 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 800C01E4 000BD144 7C 08 03 A6 */ mtlr r0 -/* 800C01E8 000BD148 38 21 00 90 */ addi r1, r1, 0x90 -/* 800C01EC 000BD14C 4E 80 00 20 */ blr - -.global UpdateCurrLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager -UpdateCurrLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager: -/* 800C01F0 000BD150 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 800C01F4 000BD154 7C 08 02 A6 */ mflr r0 -/* 800C01F8 000BD158 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 800C01FC 000BD15C DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 800C0200 000BD160 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 800C0204 000BD164 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 800C0208 000BD168 93 C1 00 98 */ stw r30, 0x98(r1) -/* 800C020C 000BD16C 93 A1 00 94 */ stw r29, 0x94(r1) -/* 800C0210 000BD170 7C 9F 23 78 */ mr r31, r4 -/* 800C0214 000BD174 7C 7E 1B 78 */ mr r30, r3 -/* 800C0218 000BD178 83 A4 08 4C */ lwz r29, 0x84c(r4) -/* 800C021C 000BD17C FF E0 08 90 */ fmr f31, f1 -/* 800C0220 000BD180 A0 03 00 F0 */ lhz r0, 0xf0(r3) -/* 800C0224 000BD184 A0 9D 03 10 */ lhz r4, 0x310(r29) -/* 800C0228 000BD188 54 83 04 3E */ clrlwi r3, r4, 0x10 -/* 800C022C 000BD18C B0 81 00 18 */ sth r4, 0x18(r1) -/* 800C0230 000BD190 7C 03 00 40 */ cmplw r3, r0 -/* 800C0234 000BD194 41 82 02 58 */ beq lbl_800C048C -/* 800C0238 000BD198 7C 00 20 40 */ cmplw r0, r4 -/* 800C023C 000BD19C 41 82 00 84 */ beq lbl_800C02C0 -/* 800C0240 000BD1A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800C0244 000BD1A4 7C 03 00 40 */ cmplw r3, r0 -/* 800C0248 000BD1A8 41 82 00 78 */ beq lbl_800C02C0 -/* 800C024C 000BD1AC B0 81 00 14 */ sth r4, 0x14(r1) -/* 800C0250 000BD1B0 7F E3 FB 78 */ mr r3, r31 -/* 800C0254 000BD1B4 38 81 00 14 */ addi r4, r1, 0x14 -/* 800C0258 000BD1B8 4B F8 C3 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800C025C 000BD1BC 7C 64 1B 78 */ mr r4, r3 -/* 800C0260 000BD1C0 38 61 00 40 */ addi r3, r1, 0x40 -/* 800C0264 000BD1C4 4B FE 98 65 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" -/* 800C0268 000BD1C8 80 03 00 04 */ lwz r0, 4(r3) -/* 800C026C 000BD1CC 28 00 00 00 */ cmplwi r0, 0 -/* 800C0270 000BD1D0 41 82 00 2C */ beq lbl_800C029C -/* 800C0274 000BD1D4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800C0278 000BD1D8 38 61 00 3C */ addi r3, r1, 0x3c -/* 800C027C 000BD1DC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800C0280 000BD1E0 38 80 05 71 */ li r4, 0x571 -/* 800C0284 000BD1E4 38 A0 00 7F */ li r5, 0x7f -/* 800C0288 000BD1E8 38 C0 00 40 */ li r6, 0x40 -/* 800C028C 000BD1EC 38 E0 00 00 */ li r7, 0 -/* 800C0290 000BD1F0 39 20 00 00 */ li r9, 0 -/* 800C0294 000BD1F4 48 22 9A E1 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 800C0298 000BD1F8 48 00 00 28 */ b lbl_800C02C0 -lbl_800C029C: -/* 800C029C 000BD1FC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800C02A0 000BD200 38 61 00 38 */ addi r3, r1, 0x38 -/* 800C02A4 000BD204 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800C02A8 000BD208 38 80 05 61 */ li r4, 0x561 -/* 800C02AC 000BD20C 38 A0 00 7F */ li r5, 0x7f -/* 800C02B0 000BD210 38 C0 00 40 */ li r6, 0x40 -/* 800C02B4 000BD214 38 E0 00 00 */ li r7, 0 -/* 800C02B8 000BD218 39 20 00 00 */ li r9, 0 -/* 800C02BC 000BD21C 48 22 9A B9 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_800C02C0: -/* 800C02C0 000BD220 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800C02C4 000BD224 A0 A1 00 18 */ lhz r5, 0x18(r1) -/* 800C02C8 000BD228 7C 00 28 40 */ cmplw r0, r5 -/* 800C02CC 000BD22C 40 82 00 7C */ bne lbl_800C0348 -/* 800C02D0 000BD230 80 7D 03 0C */ lwz r3, 0x30c(r29) -/* 800C02D4 000BD234 38 00 00 00 */ li r0, 0 -/* 800C02D8 000BD238 A0 9E 01 0C */ lhz r4, 0x10c(r30) -/* 800C02DC 000BD23C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C02E0 000BD240 B0 9E 01 2C */ sth r4, 0x12c(r30) -/* 800C02E4 000BD244 C0 3E 01 10 */ lfs f1, 0x110(r30) -/* 800C02E8 000BD248 D0 3E 01 30 */ stfs f1, 0x130(r30) -/* 800C02EC 000BD24C 80 BE 01 14 */ lwz r5, 0x114(r30) -/* 800C02F0 000BD250 80 9E 01 18 */ lwz r4, 0x118(r30) -/* 800C02F4 000BD254 90 BE 01 34 */ stw r5, 0x134(r30) -/* 800C02F8 000BD258 90 9E 01 38 */ stw r4, 0x138(r30) -/* 800C02FC 000BD25C 80 9E 01 1C */ lwz r4, 0x11c(r30) -/* 800C0300 000BD260 90 9E 01 3C */ stw r4, 0x13c(r30) -/* 800C0304 000BD264 C0 3E 01 20 */ lfs f1, 0x120(r30) -/* 800C0308 000BD268 D0 3E 01 40 */ stfs f1, 0x140(r30) -/* 800C030C 000BD26C C0 3E 01 24 */ lfs f1, 0x124(r30) -/* 800C0310 000BD270 D0 3E 01 44 */ stfs f1, 0x144(r30) -/* 800C0314 000BD274 88 9E 01 28 */ lbz r4, 0x128(r30) -/* 800C0318 000BD278 98 9E 01 48 */ stb r4, 0x148(r30) -/* 800C031C 000BD27C 98 1E 01 48 */ stb r0, 0x148(r30) -/* 800C0320 000BD280 D0 1E 01 60 */ stfs f0, 0x160(r30) -/* 800C0324 000BD284 48 00 18 45 */ bl IsDamageOrbit__F19EPlayerOrbitRequest -/* 800C0328 000BD288 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800C032C 000BD28C 41 82 00 0C */ beq lbl_800C0338 -/* 800C0330 000BD290 C0 02 8D AC */ lfs f0, lbl_805AAACC@sda21(r2) -/* 800C0334 000BD294 48 00 00 0C */ b lbl_800C0340 -lbl_800C0338: -/* 800C0338 000BD298 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C033C 000BD29C C0 03 00 0C */ lfs f0, 0xc(r3) -lbl_800C0340: -/* 800C0340 000BD2A0 D0 1E 01 6C */ stfs f0, 0x16c(r30) -/* 800C0344 000BD2A4 48 00 01 38 */ b lbl_800C047C -lbl_800C0348: -/* 800C0348 000BD2A8 A0 7E 01 0C */ lhz r3, 0x10c(r30) -/* 800C034C 000BD2AC 38 00 00 00 */ li r0, 0 -/* 800C0350 000BD2B0 B0 7E 01 2C */ sth r3, 0x12c(r30) -/* 800C0354 000BD2B4 C0 1E 01 10 */ lfs f0, 0x110(r30) -/* 800C0358 000BD2B8 D0 1E 01 30 */ stfs f0, 0x130(r30) -/* 800C035C 000BD2BC 80 9E 01 14 */ lwz r4, 0x114(r30) -/* 800C0360 000BD2C0 80 7E 01 18 */ lwz r3, 0x118(r30) -/* 800C0364 000BD2C4 90 9E 01 34 */ stw r4, 0x134(r30) -/* 800C0368 000BD2C8 90 7E 01 38 */ stw r3, 0x138(r30) -/* 800C036C 000BD2CC 80 7E 01 1C */ lwz r3, 0x11c(r30) -/* 800C0370 000BD2D0 90 7E 01 3C */ stw r3, 0x13c(r30) -/* 800C0374 000BD2D4 C0 1E 01 20 */ lfs f0, 0x120(r30) -/* 800C0378 000BD2D8 D0 1E 01 40 */ stfs f0, 0x140(r30) -/* 800C037C 000BD2DC C0 1E 01 24 */ lfs f0, 0x124(r30) -/* 800C0380 000BD2E0 D0 1E 01 44 */ stfs f0, 0x144(r30) -/* 800C0384 000BD2E4 88 7E 01 28 */ lbz r3, 0x128(r30) -/* 800C0388 000BD2E8 98 7E 01 48 */ stb r3, 0x148(r30) -/* 800C038C 000BD2EC 98 1E 01 48 */ stb r0, 0x148(r30) -/* 800C0390 000BD2F0 A0 7E 00 F0 */ lhz r3, 0xf0(r30) -/* 800C0394 000BD2F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800C0398 000BD2F8 7C 03 00 40 */ cmplw r3, r0 -/* 800C039C 000BD2FC 40 82 00 0C */ bne lbl_800C03A8 -/* 800C03A0 000BD300 B0 A1 00 10 */ sth r5, 0x10(r1) -/* 800C03A4 000BD304 B0 BE 01 2C */ sth r5, 0x12c(r30) -lbl_800C03A8: -/* 800C03A8 000BD308 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 800C03AC 000BD30C 7F E4 FB 78 */ mr r4, r31 -/* 800C03B0 000BD310 38 61 00 0C */ addi r3, r1, 0xc -/* 800C03B4 000BD314 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800C03B8 000BD318 4B FF CD 85 */ bl IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager -/* 800C03BC 000BD31C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800C03C0 000BD320 41 82 00 10 */ beq lbl_800C03D0 -/* 800C03C4 000BD324 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C03C8 000BD328 C0 63 01 B0 */ lfs f3, 0x1b0(r3) -/* 800C03CC 000BD32C 48 00 00 08 */ b lbl_800C03D4 -lbl_800C03D0: -/* 800C03D0 000BD330 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) -lbl_800C03D4: -/* 800C03D4 000BD334 3C 60 80 5A */ lis r3, lbl_805A0004@ha -/* 800C03D8 000BD338 84 83 66 A0 */ lwzu r4, 0x66a0(r3) -/* 800C03DC 000BD33C C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -/* 800C03E0 000BD340 38 A1 00 48 */ addi r5, r1, 0x48 -/* 800C03E4 000BD344 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 800C03E8 000BD348 80 C3 00 04 */ lwz r6, lbl_805A0004@l(r3) -/* 800C03EC 000BD34C FC 40 08 90 */ fmr f2, f1 -/* 800C03F0 000BD350 80 E3 00 08 */ lwz r7, 8(r3) -/* 800C03F4 000BD354 38 61 00 54 */ addi r3, r1, 0x54 -/* 800C03F8 000BD358 90 81 00 48 */ stw r4, 0x48(r1) -/* 800C03FC 000BD35C 38 81 00 08 */ addi r4, r1, 8 -/* 800C0400 000BD360 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 800C0404 000BD364 38 C0 00 00 */ li r6, 0 -/* 800C0408 000BD368 90 E1 00 50 */ stw r7, 0x50(r1) -/* 800C040C 000BD36C B0 01 00 08 */ sth r0, 8(r1) -/* 800C0410 000BD370 4B FF CB 59 */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb -/* 800C0414 000BD374 A0 01 00 54 */ lhz r0, 0x54(r1) -/* 800C0418 000BD378 B0 1E 01 4C */ sth r0, 0x14c(r30) -/* 800C041C 000BD37C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 800C0420 000BD380 D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 800C0424 000BD384 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 800C0428 000BD388 80 01 00 60 */ lwz r0, 0x60(r1) -/* 800C042C 000BD38C 90 7E 01 54 */ stw r3, 0x154(r30) -/* 800C0430 000BD390 90 1E 01 58 */ stw r0, 0x158(r30) -/* 800C0434 000BD394 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800C0438 000BD398 90 1E 01 5C */ stw r0, 0x15c(r30) -/* 800C043C 000BD39C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 800C0440 000BD3A0 D0 1E 01 60 */ stfs f0, 0x160(r30) -/* 800C0444 000BD3A4 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 800C0448 000BD3A8 D0 1E 01 64 */ stfs f0, 0x164(r30) -/* 800C044C 000BD3AC 88 01 00 70 */ lbz r0, 0x70(r1) -/* 800C0450 000BD3B0 98 1E 01 68 */ stb r0, 0x168(r30) -/* 800C0454 000BD3B4 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 800C0458 000BD3B8 A0 1E 00 F0 */ lhz r0, 0xf0(r30) -/* 800C045C 000BD3BC 7C 03 00 40 */ cmplw r3, r0 -/* 800C0460 000BD3C0 40 82 00 10 */ bne lbl_800C0470 -/* 800C0464 000BD3C4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0468 000BD3C8 C0 03 00 08 */ lfs f0, 8(r3) -/* 800C046C 000BD3CC 48 00 00 0C */ b lbl_800C0478 -lbl_800C0470: -/* 800C0470 000BD3D0 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0474 000BD3D4 C0 03 00 10 */ lfs f0, 0x10(r3) -lbl_800C0478: -/* 800C0478 000BD3D8 D0 1E 01 6C */ stfs f0, 0x16c(r30) -lbl_800C047C: -/* 800C047C 000BD3DC C0 1E 01 6C */ lfs f0, 0x16c(r30) -/* 800C0480 000BD3E0 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 800C0484 000BD3E4 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 800C0488 000BD3E8 B0 1E 00 F0 */ sth r0, 0xf0(r30) -lbl_800C048C: -/* 800C048C 000BD3EC C0 3E 01 70 */ lfs f1, 0x170(r30) -/* 800C0490 000BD3F0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C0494 000BD3F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C0498 000BD3F8 40 81 00 78 */ ble lbl_800C0510 -/* 800C049C 000BD3FC 7F C3 F3 78 */ mr r3, r30 -/* 800C04A0 000BD400 7F E5 FB 78 */ mr r5, r31 -/* 800C04A4 000BD404 38 9E 01 2C */ addi r4, r30, 0x12c -/* 800C04A8 000BD408 4B FF D0 DD */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager -/* 800C04AC 000BD40C 7F C3 F3 78 */ mr r3, r30 -/* 800C04B0 000BD410 7F E5 FB 78 */ mr r5, r31 -/* 800C04B4 000BD414 38 9E 01 4C */ addi r4, r30, 0x14c -/* 800C04B8 000BD418 4B FF D0 CD */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager -/* 800C04BC 000BD41C C0 3E 01 70 */ lfs f1, 0x170(r30) -/* 800C04C0 000BD420 C0 0D 86 80 */ lfs f0, lbl_805A7240@sda21(r13) -/* 800C04C4 000BD424 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800C04C8 000BD428 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C04CC 000BD42C D0 21 00 34 */ stfs f1, 0x34(r1) -/* 800C04D0 000BD430 40 80 00 0C */ bge lbl_800C04DC -/* 800C04D4 000BD434 38 61 00 34 */ addi r3, r1, 0x34 -/* 800C04D8 000BD438 48 00 00 08 */ b lbl_800C04E0 -lbl_800C04DC: -/* 800C04DC 000BD43C 38 6D 86 80 */ addi r3, r13, lbl_805A7240@sda21 -lbl_800C04E0: -/* 800C04E0 000BD440 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C04E4 000BD444 38 7E 01 2C */ addi r3, r30, 0x12c -/* 800C04E8 000BD448 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2) -/* 800C04EC 000BD44C 38 9E 01 0C */ addi r4, r30, 0x10c -/* 800C04F0 000BD450 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 800C04F4 000BD454 38 BE 01 4C */ addi r5, r30, 0x14c -/* 800C04F8 000BD458 C0 3E 01 70 */ lfs f1, 0x170(r30) -/* 800C04FC 000BD45C C0 1E 01 6C */ lfs f0, 0x16c(r30) -/* 800C0500 000BD460 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800C0504 000BD464 EC 22 00 28 */ fsubs f1, f2, f0 -/* 800C0508 000BD468 4B FF C9 41 */ bl InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef -/* 800C050C 000BD46C 48 00 00 14 */ b lbl_800C0520 -lbl_800C0510: -/* 800C0510 000BD470 7F C3 F3 78 */ mr r3, r30 -/* 800C0514 000BD474 7F E5 FB 78 */ mr r5, r31 -/* 800C0518 000BD478 38 9E 01 0C */ addi r4, r30, 0x10c -/* 800C051C 000BD47C 4B FF D0 69 */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager -lbl_800C0520: -/* 800C0520 000BD480 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800C0524 000BD484 C0 5E 01 F8 */ lfs f2, 0x1f8(r30) -/* 800C0528 000BD488 FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 800C052C 000BD48C 41 82 00 6C */ beq lbl_800C0598 -/* 800C0530 000BD490 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0534 000BD494 C4 03 00 BC */ lfsu f0, 0xbc(r3) -/* 800C0538 000BD498 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800C053C 000BD49C 40 80 00 5C */ bge lbl_800C0598 -/* 800C0540 000BD4A0 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 800C0544 000BD4A4 40 80 00 30 */ bge lbl_800C0574 -/* 800C0548 000BD4A8 EC 22 F8 2A */ fadds f1, f2, f31 -/* 800C054C 000BD4AC C0 0D 86 84 */ lfs f0, lbl_805A7244@sda21(r13) -/* 800C0550 000BD4B0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C0554 000BD4B4 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800C0558 000BD4B8 40 80 00 0C */ bge lbl_800C0564 -/* 800C055C 000BD4BC 38 6D 86 84 */ addi r3, r13, lbl_805A7244@sda21 -/* 800C0560 000BD4C0 48 00 00 08 */ b lbl_800C0568 -lbl_800C0564: -/* 800C0564 000BD4C4 38 61 00 30 */ addi r3, r1, 0x30 -lbl_800C0568: -/* 800C0568 000BD4C8 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C056C 000BD4CC D0 1E 01 F8 */ stfs f0, 0x1f8(r30) -/* 800C0570 000BD4D0 48 00 00 28 */ b lbl_800C0598 -lbl_800C0574: -/* 800C0574 000BD4D4 EC 22 F8 2A */ fadds f1, f2, f31 -/* 800C0578 000BD4D8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800C057C 000BD4DC C0 03 00 00 */ lfs f0, 0(r3) -/* 800C0580 000BD4E0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C0584 000BD4E4 40 80 00 08 */ bge lbl_800C058C -/* 800C0588 000BD4E8 48 00 00 08 */ b lbl_800C0590 -lbl_800C058C: -/* 800C058C 000BD4EC 38 61 00 2C */ addi r3, r1, 0x2c -lbl_800C0590: -/* 800C0590 000BD4F0 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C0594 000BD4F4 D0 1E 01 F8 */ stfs f0, 0x1f8(r30) -lbl_800C0598: -/* 800C0598 000BD4F8 C0 3E 02 04 */ lfs f1, 0x204(r30) -/* 800C059C 000BD4FC C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C05A0 000BD500 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C05A4 000BD504 40 81 02 5C */ ble lbl_800C0800 -/* 800C05A8 000BD508 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800C05AC 000BD50C C0 0D 86 88 */ lfs f0, lbl_805A7248@sda21(r13) -/* 800C05B0 000BD510 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C05B4 000BD514 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 800C05B8 000BD518 40 80 00 0C */ bge lbl_800C05C4 -/* 800C05BC 000BD51C 38 6D 86 88 */ addi r3, r13, lbl_805A7248@sda21 -/* 800C05C0 000BD520 48 00 00 08 */ b lbl_800C05C8 -lbl_800C05C4: -/* 800C05C4 000BD524 38 61 00 28 */ addi r3, r1, 0x28 -lbl_800C05C8: -/* 800C05C8 000BD528 C0 23 00 00 */ lfs f1, 0(r3) -/* 800C05CC 000BD52C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C05D0 000BD530 D0 3E 02 04 */ stfs f1, 0x204(r30) -/* 800C05D4 000BD534 C0 5E 02 04 */ lfs f2, 0x204(r30) -/* 800C05D8 000BD538 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 800C05DC 000BD53C 40 82 00 84 */ bne lbl_800C0660 -/* 800C05E0 000BD540 80 7E 00 EC */ lwz r3, 0xec(r30) -/* 800C05E4 000BD544 C0 02 8D B0 */ lfs f0, lbl_805AAAD0@sda21(r2) -/* 800C05E8 000BD548 C0 23 00 14 */ lfs f1, 0x14(r3) -/* 800C05EC 000BD54C D0 23 00 10 */ stfs f1, 0x10(r3) -/* 800C05F0 000BD550 80 7E 00 EC */ lwz r3, 0xec(r30) -/* 800C05F4 000BD554 C0 23 00 30 */ lfs f1, 0x30(r3) -/* 800C05F8 000BD558 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 800C05FC 000BD55C 80 7E 00 EC */ lwz r3, 0xec(r30) -/* 800C0600 000BD560 C0 23 00 4C */ lfs f1, 0x4c(r3) -/* 800C0604 000BD564 D0 23 00 48 */ stfs f1, 0x48(r3) -/* 800C0608 000BD568 80 7E 00 EC */ lwz r3, 0xec(r30) -/* 800C060C 000BD56C C0 23 00 68 */ lfs f1, 0x68(r3) -/* 800C0610 000BD570 D0 23 00 64 */ stfs f1, 0x64(r3) -/* 800C0614 000BD574 80 7E 00 EC */ lwz r3, 0xec(r30) -/* 800C0618 000BD578 C0 23 00 84 */ lfs f1, 0x84(r3) -/* 800C061C 000BD57C D0 23 00 80 */ stfs f1, 0x80(r3) -/* 800C0620 000BD580 80 7E 00 EC */ lwz r3, 0xec(r30) -/* 800C0624 000BD584 C0 23 00 A0 */ lfs f1, 0xa0(r3) -/* 800C0628 000BD588 D0 23 00 9C */ stfs f1, 0x9c(r3) -/* 800C062C 000BD58C 80 7E 00 EC */ lwz r3, 0xec(r30) -/* 800C0630 000BD590 C0 23 00 BC */ lfs f1, 0xbc(r3) -/* 800C0634 000BD594 D0 23 00 B8 */ stfs f1, 0xb8(r3) -/* 800C0638 000BD598 80 7E 00 EC */ lwz r3, 0xec(r30) -/* 800C063C 000BD59C C0 23 00 D8 */ lfs f1, 0xd8(r3) -/* 800C0640 000BD5A0 D0 23 00 D4 */ stfs f1, 0xd4(r3) -/* 800C0644 000BD5A4 80 7E 00 EC */ lwz r3, 0xec(r30) -/* 800C0648 000BD5A8 C0 23 00 F4 */ lfs f1, 0xf4(r3) -/* 800C064C 000BD5AC D0 23 00 F0 */ stfs f1, 0xf0(r3) -/* 800C0650 000BD5B0 C0 3E 00 D8 */ lfs f1, 0xd8(r30) -/* 800C0654 000BD5B4 D0 3E 00 D4 */ stfs f1, 0xd4(r30) -/* 800C0658 000BD5B8 D0 1E 02 08 */ stfs f0, 0x208(r30) -/* 800C065C 000BD5BC 48 00 01 A4 */ b lbl_800C0800 -lbl_800C0660: -/* 800C0660 000BD5C0 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0664 000BD5C4 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2) -/* 800C0668 000BD5C8 C0 03 00 EC */ lfs f0, 0xec(r3) -/* 800C066C 000BD5CC C0 3E 00 2C */ lfs f1, 0x2c(r30) -/* 800C0670 000BD5D0 EC 02 00 24 */ fdivs f0, f2, f0 -/* 800C0674 000BD5D4 C0 5E 00 30 */ lfs f2, 0x30(r30) -/* 800C0678 000BD5D8 EC 63 00 28 */ fsubs f3, f3, f0 -/* 800C067C 000BD5DC 48 00 14 A5 */ bl offshoot_func__Ffff -/* 800C0680 000BD5E0 38 00 00 03 */ li r0, 3 -/* 800C0684 000BD5E4 C0 A2 8D B4 */ lfs f5, lbl_805AAAD4@sda21(r2) -/* 800C0688 000BD5E8 C8 82 8D 40 */ lfd f4, lbl_805AAA60@sda21(r2) -/* 800C068C 000BD5EC 38 C0 00 00 */ li r6, 0 -/* 800C0690 000BD5F0 C0 42 8D 5C */ lfs f2, lbl_805AAA7C@sda21(r2) -/* 800C0694 000BD5F4 38 A0 00 00 */ li r5, 0 -/* 800C0698 000BD5F8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C069C 000BD5FC 3C 60 43 30 */ lis r3, 0x4330 -/* 800C06A0 000BD600 7C 09 03 A6 */ mtctr r0 -lbl_800C06A4: -/* 800C06A4 000BD604 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800C06A8 000BD608 90 61 00 80 */ stw r3, 0x80(r1) -/* 800C06AC 000BD60C 7C 80 2A 14 */ add r4, r0, r5 -/* 800C06B0 000BD610 C0 C4 00 18 */ lfs f6, 0x18(r4) -/* 800C06B4 000BD614 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 800C06B8 000BD618 EC C1 01 B2 */ fmuls f6, f1, f6 -/* 800C06BC 000BD61C EC C6 18 2A */ fadds f6, f6, f3 -/* 800C06C0 000BD620 EC 66 01 72 */ fmuls f3, f6, f5 -/* 800C06C4 000BD624 FC 60 18 1E */ fctiwz f3, f3 -/* 800C06C8 000BD628 D8 61 00 78 */ stfd f3, 0x78(r1) -/* 800C06CC 000BD62C 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 800C06D0 000BD630 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800C06D4 000BD634 90 01 00 84 */ stw r0, 0x84(r1) -/* 800C06D8 000BD638 C8 61 00 80 */ lfd f3, 0x80(r1) -/* 800C06DC 000BD63C EC 63 20 28 */ fsubs f3, f3, f4 -/* 800C06E0 000BD640 EC 63 30 BC */ fnmsubs f3, f3, f2, f6 -/* 800C06E4 000BD644 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 800C06E8 000BD648 40 80 00 08 */ bge lbl_800C06F0 -/* 800C06EC 000BD64C EC 63 10 2A */ fadds f3, f3, f2 -lbl_800C06F0: -/* 800C06F0 000BD650 D0 64 00 10 */ stfs f3, 0x10(r4) -/* 800C06F4 000BD654 38 A5 00 1C */ addi r5, r5, 0x1c -/* 800C06F8 000BD658 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800C06FC 000BD65C 90 61 00 80 */ stw r3, 0x80(r1) -/* 800C0700 000BD660 7C 80 2A 14 */ add r4, r0, r5 -/* 800C0704 000BD664 C0 C4 00 18 */ lfs f6, 0x18(r4) -/* 800C0708 000BD668 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 800C070C 000BD66C EC C1 01 B2 */ fmuls f6, f1, f6 -/* 800C0710 000BD670 EC C6 18 2A */ fadds f6, f6, f3 -/* 800C0714 000BD674 EC 66 01 72 */ fmuls f3, f6, f5 -/* 800C0718 000BD678 FC 60 18 1E */ fctiwz f3, f3 -/* 800C071C 000BD67C D8 61 00 78 */ stfd f3, 0x78(r1) -/* 800C0720 000BD680 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 800C0724 000BD684 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800C0728 000BD688 90 01 00 84 */ stw r0, 0x84(r1) -/* 800C072C 000BD68C C8 61 00 80 */ lfd f3, 0x80(r1) -/* 800C0730 000BD690 EC 63 20 28 */ fsubs f3, f3, f4 -/* 800C0734 000BD694 EC 63 30 BC */ fnmsubs f3, f3, f2, f6 -/* 800C0738 000BD698 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 800C073C 000BD69C 40 80 00 08 */ bge lbl_800C0744 -/* 800C0740 000BD6A0 EC 63 10 2A */ fadds f3, f3, f2 -lbl_800C0744: -/* 800C0744 000BD6A4 D0 64 00 10 */ stfs f3, 0x10(r4) -/* 800C0748 000BD6A8 38 A5 00 1C */ addi r5, r5, 0x1c -/* 800C074C 000BD6AC 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 800C0750 000BD6B0 90 61 00 80 */ stw r3, 0x80(r1) -/* 800C0754 000BD6B4 7C 80 2A 14 */ add r4, r0, r5 -/* 800C0758 000BD6B8 C0 C4 00 18 */ lfs f6, 0x18(r4) -/* 800C075C 000BD6BC C0 64 00 0C */ lfs f3, 0xc(r4) -/* 800C0760 000BD6C0 EC C1 01 B2 */ fmuls f6, f1, f6 -/* 800C0764 000BD6C4 EC C6 18 2A */ fadds f6, f6, f3 -/* 800C0768 000BD6C8 EC 66 01 72 */ fmuls f3, f6, f5 -/* 800C076C 000BD6CC FC 60 18 1E */ fctiwz f3, f3 -/* 800C0770 000BD6D0 D8 61 00 78 */ stfd f3, 0x78(r1) -/* 800C0774 000BD6D4 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 800C0778 000BD6D8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800C077C 000BD6DC 90 01 00 84 */ stw r0, 0x84(r1) -/* 800C0780 000BD6E0 C8 61 00 80 */ lfd f3, 0x80(r1) -/* 800C0784 000BD6E4 EC 63 20 28 */ fsubs f3, f3, f4 -/* 800C0788 000BD6E8 EC 63 30 BC */ fnmsubs f3, f3, f2, f6 -/* 800C078C 000BD6EC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 800C0790 000BD6F0 40 80 00 08 */ bge lbl_800C0798 -/* 800C0794 000BD6F4 EC 63 10 2A */ fadds f3, f3, f2 -lbl_800C0798: -/* 800C0798 000BD6F8 D0 64 00 10 */ stfs f3, 0x10(r4) -/* 800C079C 000BD6FC 38 A5 00 1C */ addi r5, r5, 0x1c -/* 800C07A0 000BD700 38 C6 00 02 */ addi r6, r6, 2 -/* 800C07A4 000BD704 42 00 FF 00 */ bdnz lbl_800C06A4 -/* 800C07A8 000BD708 C0 7E 00 DC */ lfs f3, 0xdc(r30) -/* 800C07AC 000BD70C 3C 00 43 30 */ lis r0, 0x4330 -/* 800C07B0 000BD710 C0 5E 00 D0 */ lfs f2, 0xd0(r30) -/* 800C07B4 000BD714 C0 02 8D B4 */ lfs f0, lbl_805AAAD4@sda21(r2) -/* 800C07B8 000BD718 EC 81 10 FA */ fmadds f4, f1, f3, f2 -/* 800C07BC 000BD71C 90 01 00 78 */ stw r0, 0x78(r1) -/* 800C07C0 000BD720 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) -/* 800C07C4 000BD724 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) -/* 800C07C8 000BD728 EC 44 00 32 */ fmuls f2, f4, f0 -/* 800C07CC 000BD72C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C07D0 000BD730 FC 40 10 1E */ fctiwz f2, f2 -/* 800C07D4 000BD734 D8 41 00 80 */ stfd f2, 0x80(r1) -/* 800C07D8 000BD738 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800C07DC 000BD73C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800C07E0 000BD740 90 01 00 7C */ stw r0, 0x7c(r1) -/* 800C07E4 000BD744 C8 41 00 78 */ lfd f2, 0x78(r1) -/* 800C07E8 000BD748 EC 42 18 28 */ fsubs f2, f2, f3 -/* 800C07EC 000BD74C EC 42 20 7C */ fnmsubs f2, f2, f1, f4 -/* 800C07F0 000BD750 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800C07F4 000BD754 40 80 00 08 */ bge lbl_800C07FC -/* 800C07F8 000BD758 EC 42 08 2A */ fadds f2, f2, f1 -lbl_800C07FC: -/* 800C07FC 000BD75C D0 5E 00 D4 */ stfs f2, 0xd4(r30) -lbl_800C0800: -/* 800C0800 000BD760 C0 3E 02 08 */ lfs f1, 0x208(r30) -/* 800C0804 000BD764 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C0808 000BD768 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C080C 000BD76C 40 81 00 38 */ ble lbl_800C0844 -/* 800C0810 000BD770 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0814 000BD774 C4 03 00 D0 */ lfsu f0, 0xd0(r3) -/* 800C0818 000BD778 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C081C 000BD77C 40 80 00 28 */ bge lbl_800C0844 -/* 800C0820 000BD780 EC 21 F8 2A */ fadds f1, f1, f31 -/* 800C0824 000BD784 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800C0828 000BD788 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C082C 000BD78C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C0830 000BD790 40 80 00 08 */ bge lbl_800C0838 -/* 800C0834 000BD794 48 00 00 08 */ b lbl_800C083C -lbl_800C0838: -/* 800C0838 000BD798 38 61 00 24 */ addi r3, r1, 0x24 -lbl_800C083C: -/* 800C083C 000BD79C C0 03 00 00 */ lfs f0, 0(r3) -/* 800C0840 000BD7A0 D0 1E 02 08 */ stfs f0, 0x208(r30) -lbl_800C0844: -/* 800C0844 000BD7A4 C0 3E 02 10 */ lfs f1, 0x210(r30) -/* 800C0848 000BD7A8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C084C 000BD7AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C0850 000BD7B0 40 81 00 2C */ ble lbl_800C087C -/* 800C0854 000BD7B4 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800C0858 000BD7B8 C0 0D 86 8C */ lfs f0, lbl_805A724C@sda21(r13) -/* 800C085C 000BD7BC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C0860 000BD7C0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 800C0864 000BD7C4 40 80 00 0C */ bge lbl_800C0870 -/* 800C0868 000BD7C8 38 61 00 20 */ addi r3, r1, 0x20 -/* 800C086C 000BD7CC 48 00 00 08 */ b lbl_800C0874 -lbl_800C0870: -/* 800C0870 000BD7D0 38 6D 86 8C */ addi r3, r13, lbl_805A724C@sda21 -lbl_800C0874: -/* 800C0874 000BD7D4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C0878 000BD7D8 D0 1E 02 10 */ stfs f0, 0x210(r30) -lbl_800C087C: -/* 800C087C 000BD7DC C0 3E 01 FC */ lfs f1, 0x1fc(r30) -/* 800C0880 000BD7E0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C0884 000BD7E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C0888 000BD7E8 40 81 00 2C */ ble lbl_800C08B4 -/* 800C088C 000BD7EC EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800C0890 000BD7F0 C0 0D 86 90 */ lfs f0, lbl_805A7250@sda21(r13) -/* 800C0894 000BD7F4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C0898 000BD7F8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800C089C 000BD7FC 40 80 00 0C */ bge lbl_800C08A8 -/* 800C08A0 000BD800 38 61 00 1C */ addi r3, r1, 0x1c -/* 800C08A4 000BD804 48 00 00 08 */ b lbl_800C08AC -lbl_800C08A8: -/* 800C08A8 000BD808 38 6D 86 90 */ addi r3, r13, lbl_805A7250@sda21 -lbl_800C08AC: -/* 800C08AC 000BD80C C0 03 00 00 */ lfs f0, 0(r3) -/* 800C08B0 000BD810 D0 1E 01 FC */ stfs f0, 0x1fc(r30) -lbl_800C08B4: -/* 800C08B4 000BD814 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 800C08B8 000BD818 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 800C08BC 000BD81C CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 800C08C0 000BD820 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 800C08C4 000BD824 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 800C08C8 000BD828 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 800C08CC 000BD82C 7C 08 03 A6 */ mtlr r0 -/* 800C08D0 000BD830 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 800C08D4 000BD834 4E 80 00 20 */ blr - -.global Update__22CCompoundTargetReticleFfRC13CStateManager -Update__22CCompoundTargetReticleFfRC13CStateManager: -/* 800C08D8 000BD838 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800C08DC 000BD83C 7C 08 02 A6 */ mflr r0 -/* 800C08E0 000BD840 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800C08E4 000BD844 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 800C08E8 000BD848 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 800C08EC 000BD84C DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 800C08F0 000BD850 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 800C08F4 000BD854 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 800C08F8 000BD858 FF E0 08 90 */ fmr f31, f1 -/* 800C08FC 000BD85C 7C 7A 1B 78 */ mr r26, r3 -/* 800C0900 000BD860 7C 9B 23 78 */ mr r27, r4 -/* 800C0904 000BD864 38 61 00 30 */ addi r3, r1, 0x30 -/* 800C0908 000BD868 7F 45 D3 78 */ mr r5, r26 -/* 800C090C 000BD86C 38 9A 00 10 */ addi r4, r26, 0x10 -/* 800C0910 000BD870 48 25 0C 15 */ bl AngleFrom__11CQuaternionCFRC11CQuaternion -/* 800C0914 000BD874 C0 42 8D BC */ lfs f2, lbl_805AAADC@sda21(r2) -/* 800C0918 000BD878 38 00 00 00 */ li r0, 0 -/* 800C091C 000BD87C C0 21 00 30 */ lfs f1, 0x30(r1) -/* 800C0920 000BD880 C0 02 8D 54 */ lfs f0, lbl_805AAA74@sda21(r2) -/* 800C0924 000BD884 EC 42 00 72 */ fmuls f2, f2, f1 -/* 800C0928 000BD888 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800C092C 000BD88C 41 80 00 10 */ blt lbl_800C093C -/* 800C0930 000BD890 C0 02 8D C0 */ lfs f0, lbl_805AAAE0@sda21(r2) -/* 800C0934 000BD894 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800C0938 000BD898 40 81 00 08 */ ble lbl_800C0940 -lbl_800C093C: -/* 800C093C 000BD89C 38 00 00 01 */ li r0, 1 -lbl_800C0940: -/* 800C0940 000BD8A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800C0944 000BD8A4 41 82 00 0C */ beq lbl_800C0950 -/* 800C0948 000BD8A8 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -/* 800C094C 000BD8AC 48 00 00 34 */ b lbl_800C0980 -lbl_800C0950: -/* 800C0950 000BD8B0 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0954 000BD8B4 C0 0D 86 70 */ lfs f0, lbl_805A7230@sda21(r13) -/* 800C0958 000BD8B8 C0 23 02 24 */ lfs f1, 0x224(r3) -/* 800C095C 000BD8BC EC 21 07 F2 */ fmuls f1, f1, f31 -/* 800C0960 000BD8C0 EC 21 10 24 */ fdivs f1, f1, f2 -/* 800C0964 000BD8C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C0968 000BD8C8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800C096C 000BD8CC 40 80 00 0C */ bge lbl_800C0978 -/* 800C0970 000BD8D0 38 61 00 2C */ addi r3, r1, 0x2c -/* 800C0974 000BD8D4 48 00 00 08 */ b lbl_800C097C -lbl_800C0978: -/* 800C0978 000BD8D8 38 6D 86 70 */ addi r3, r13, lbl_805A7230@sda21 -lbl_800C097C: -/* 800C097C 000BD8DC C0 23 00 00 */ lfs f1, 0(r3) -lbl_800C0980: -/* 800C0980 000BD8E0 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) -/* 800C0984 000BD8E4 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800C0988 000BD8E8 40 82 00 0C */ bne lbl_800C0994 -/* 800C098C 000BD8EC 7F 48 D3 78 */ mr r8, r26 -/* 800C0990 000BD8F0 48 00 00 18 */ b lbl_800C09A8 -lbl_800C0994: -/* 800C0994 000BD8F4 7F 45 D3 78 */ mr r5, r26 -/* 800C0998 000BD8F8 38 61 00 54 */ addi r3, r1, 0x54 -/* 800C099C 000BD8FC 38 9A 00 10 */ addi r4, r26, 0x10 -/* 800C09A0 000BD900 48 25 13 59 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf -/* 800C09A4 000BD904 39 01 00 54 */ addi r8, r1, 0x54 -lbl_800C09A8: -/* 800C09A8 000BD908 C0 08 00 00 */ lfs f0, 0(r8) -/* 800C09AC 000BD90C 7F 44 D3 78 */ mr r4, r26 -/* 800C09B0 000BD910 7F 65 DB 78 */ mr r5, r27 -/* 800C09B4 000BD914 38 61 00 48 */ addi r3, r1, 0x48 -/* 800C09B8 000BD918 D0 1A 00 10 */ stfs f0, 0x10(r26) -/* 800C09BC 000BD91C 38 C0 00 00 */ li r6, 0 -/* 800C09C0 000BD920 80 E8 00 04 */ lwz r7, 4(r8) -/* 800C09C4 000BD924 80 08 00 08 */ lwz r0, 8(r8) -/* 800C09C8 000BD928 90 FA 00 14 */ stw r7, 0x14(r26) -/* 800C09CC 000BD92C 90 1A 00 18 */ stw r0, 0x18(r26) -/* 800C09D0 000BD930 80 08 00 0C */ lwz r0, 0xc(r8) -/* 800C09D4 000BD934 90 1A 00 1C */ stw r0, 0x1c(r26) -/* 800C09D8 000BD938 4B FF C7 B1 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb -/* 800C09DC 000BD93C C0 01 00 48 */ lfs f0, 0x48(r1) -/* 800C09E0 000BD940 7F 44 D3 78 */ mr r4, r26 -/* 800C09E4 000BD944 7F 65 DB 78 */ mr r5, r27 -/* 800C09E8 000BD948 38 61 00 3C */ addi r3, r1, 0x3c -/* 800C09EC 000BD94C D0 1A 00 F4 */ stfs f0, 0xf4(r26) -/* 800C09F0 000BD950 38 C0 00 01 */ li r6, 1 -/* 800C09F4 000BD954 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800C09F8 000BD958 D0 1A 00 F8 */ stfs f0, 0xf8(r26) -/* 800C09FC 000BD95C C0 01 00 50 */ lfs f0, 0x50(r1) -/* 800C0A00 000BD960 D0 1A 00 FC */ stfs f0, 0xfc(r26) -/* 800C0A04 000BD964 4B FF C7 85 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb -/* 800C0A08 000BD968 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 800C0A0C 000BD96C FC 20 F8 90 */ fmr f1, f31 -/* 800C0A10 000BD970 7F 43 D3 78 */ mr r3, r26 -/* 800C0A14 000BD974 7F 64 DB 78 */ mr r4, r27 -/* 800C0A18 000BD978 D0 1A 01 00 */ stfs f0, 0x100(r26) -/* 800C0A1C 000BD97C C0 01 00 40 */ lfs f0, 0x40(r1) -/* 800C0A20 000BD980 D0 1A 01 04 */ stfs f0, 0x104(r26) -/* 800C0A24 000BD984 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 800C0A28 000BD988 D0 1A 01 08 */ stfs f0, 0x108(r26) -/* 800C0A2C 000BD98C 4B FF F7 C5 */ bl UpdateCurrLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager -/* 800C0A30 000BD990 FC 20 F8 90 */ fmr f1, f31 -/* 800C0A34 000BD994 7F 43 D3 78 */ mr r3, r26 -/* 800C0A38 000BD998 7F 64 DB 78 */ mr r4, r27 -/* 800C0A3C 000BD99C 4B FF F4 49 */ bl UpdateNextLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager -/* 800C0A40 000BD9A0 FC 20 F8 90 */ fmr f1, f31 -/* 800C0A44 000BD9A4 7F 43 D3 78 */ mr r3, r26 -/* 800C0A48 000BD9A8 7F 64 DB 78 */ mr r4, r27 -/* 800C0A4C 000BD9AC 4B FF F3 15 */ bl UpdateOrbitZoneGroup__22CCompoundTargetReticleFfRC13CStateManager -/* 800C0A50 000BD9B0 7F 43 D3 78 */ mr r3, r26 -/* 800C0A54 000BD9B4 7F 64 DB 78 */ mr r4, r27 -/* 800C0A58 000BD9B8 48 00 08 71 */ bl GetDesiredReticleState__22CCompoundTargetReticleCFRC13CStateManager -/* 800C0A5C 000BD9BC 80 9A 00 20 */ lwz r4, 0x20(r26) -/* 800C0A60 000BD9C0 7C 03 20 00 */ cmpw r3, r4 -/* 800C0A64 000BD9C4 41 82 00 1C */ beq lbl_800C0A80 -/* 800C0A68 000BD9C8 80 1A 00 24 */ lwz r0, 0x24(r26) -/* 800C0A6C 000BD9CC 7C 04 00 00 */ cmpw r4, r0 -/* 800C0A70 000BD9D0 40 82 00 10 */ bne lbl_800C0A80 -/* 800C0A74 000BD9D4 90 7A 00 24 */ stw r3, 0x24(r26) -/* 800C0A78 000BD9D8 38 00 00 02 */ li r0, 2 -/* 800C0A7C 000BD9DC 90 1A 00 28 */ stw r0, 0x28(r26) -lbl_800C0A80: -/* 800C0A80 000BD9E0 80 1A 00 20 */ lwz r0, 0x20(r26) -/* 800C0A84 000BD9E4 80 7A 00 24 */ lwz r3, 0x24(r26) -/* 800C0A88 000BD9E8 7C 00 18 00 */ cmpw r0, r3 -/* 800C0A8C 000BD9EC 41 82 02 68 */ beq lbl_800C0CF4 -/* 800C0A90 000BD9F0 80 1A 00 28 */ lwz r0, 0x28(r26) -/* 800C0A94 000BD9F4 2C 00 00 00 */ cmpwi r0, 0 -/* 800C0A98 000BD9F8 41 81 02 5C */ bgt lbl_800C0CF4 -/* 800C0A9C 000BD9FC 90 7A 00 20 */ stw r3, 0x20(r26) -/* 800C0AA0 000BDA00 3B E0 00 00 */ li r31, 0 -/* 800C0AA4 000BDA04 3B C0 00 00 */ li r30, 0 -/* 800C0AA8 000BDA08 3B A0 00 00 */ li r29, 0 -/* 800C0AAC 000BDA0C 80 1A 00 24 */ lwz r0, 0x24(r26) -/* 800C0AB0 000BDA10 3B 80 00 00 */ li r28, 0 -/* 800C0AB4 000BDA14 2C 00 00 02 */ cmpwi r0, 2 -/* 800C0AB8 000BDA18 41 82 00 34 */ beq lbl_800C0AEC -/* 800C0ABC 000BDA1C 40 80 00 14 */ bge lbl_800C0AD0 -/* 800C0AC0 000BDA20 2C 00 00 00 */ cmpwi r0, 0 -/* 800C0AC4 000BDA24 41 82 00 18 */ beq lbl_800C0ADC -/* 800C0AC8 000BDA28 40 80 00 1C */ bge lbl_800C0AE4 -/* 800C0ACC 000BDA2C 48 00 00 2C */ b lbl_800C0AF8 -lbl_800C0AD0: -/* 800C0AD0 000BDA30 2C 00 00 04 */ cmpwi r0, 4 -/* 800C0AD4 000BDA34 40 80 00 24 */ bge lbl_800C0AF8 -/* 800C0AD8 000BDA38 48 00 00 1C */ b lbl_800C0AF4 -lbl_800C0ADC: -/* 800C0ADC 000BDA3C 3B E0 00 01 */ li r31, 1 -/* 800C0AE0 000BDA40 48 00 00 18 */ b lbl_800C0AF8 -lbl_800C0AE4: -/* 800C0AE4 000BDA44 3B C0 00 01 */ li r30, 1 -/* 800C0AE8 000BDA48 48 00 00 10 */ b lbl_800C0AF8 -lbl_800C0AEC: -/* 800C0AEC 000BDA4C 3B A0 00 01 */ li r29, 1 -/* 800C0AF0 000BDA50 48 00 00 08 */ b lbl_800C0AF8 -lbl_800C0AF4: -/* 800C0AF4 000BDA54 3B 80 00 01 */ li r28, 1 -lbl_800C0AF8: -/* 800C0AF8 000BDA58 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800C0AFC 000BDA5C 41 82 00 10 */ beq lbl_800C0B0C -/* 800C0B00 000BDA60 38 7A 00 40 */ addi r3, r26, 0x40 -/* 800C0B04 000BDA64 48 28 02 81 */ bl Lock__6CTokenFv -/* 800C0B08 000BDA68 48 00 00 14 */ b lbl_800C0B1C -lbl_800C0B0C: -/* 800C0B0C 000BDA6C 38 00 00 00 */ li r0, 0 -/* 800C0B10 000BDA70 38 7A 00 40 */ addi r3, r26, 0x40 -/* 800C0B14 000BDA74 90 1A 00 48 */ stw r0, 0x48(r26) -/* 800C0B18 000BDA78 48 28 02 29 */ bl Unlock__6CTokenFv -lbl_800C0B1C: -/* 800C0B1C 000BDA7C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800C0B20 000BDA80 41 82 00 10 */ beq lbl_800C0B30 -/* 800C0B24 000BDA84 38 7A 00 4C */ addi r3, r26, 0x4c -/* 800C0B28 000BDA88 48 28 02 5D */ bl Lock__6CTokenFv -/* 800C0B2C 000BDA8C 48 00 00 14 */ b lbl_800C0B40 -lbl_800C0B30: -/* 800C0B30 000BDA90 38 00 00 00 */ li r0, 0 -/* 800C0B34 000BDA94 38 7A 00 4C */ addi r3, r26, 0x4c -/* 800C0B38 000BDA98 90 1A 00 54 */ stw r0, 0x54(r26) -/* 800C0B3C 000BDA9C 48 28 02 05 */ bl Unlock__6CTokenFv -lbl_800C0B40: -/* 800C0B40 000BDAA0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800C0B44 000BDAA4 41 82 00 10 */ beq lbl_800C0B54 -/* 800C0B48 000BDAA8 38 7A 00 58 */ addi r3, r26, 0x58 -/* 800C0B4C 000BDAAC 48 28 02 39 */ bl Lock__6CTokenFv -/* 800C0B50 000BDAB0 48 00 00 14 */ b lbl_800C0B64 -lbl_800C0B54: -/* 800C0B54 000BDAB4 38 00 00 00 */ li r0, 0 -/* 800C0B58 000BDAB8 38 7A 00 58 */ addi r3, r26, 0x58 -/* 800C0B5C 000BDABC 90 1A 00 60 */ stw r0, 0x60(r26) -/* 800C0B60 000BDAC0 48 28 01 E1 */ bl Unlock__6CTokenFv -lbl_800C0B64: -/* 800C0B64 000BDAC4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800C0B68 000BDAC8 41 82 00 10 */ beq lbl_800C0B78 -/* 800C0B6C 000BDACC 38 7A 00 64 */ addi r3, r26, 0x64 -/* 800C0B70 000BDAD0 48 28 02 15 */ bl Lock__6CTokenFv -/* 800C0B74 000BDAD4 48 00 00 14 */ b lbl_800C0B88 -lbl_800C0B78: -/* 800C0B78 000BDAD8 38 00 00 00 */ li r0, 0 -/* 800C0B7C 000BDADC 38 7A 00 64 */ addi r3, r26, 0x64 -/* 800C0B80 000BDAE0 90 1A 00 6C */ stw r0, 0x6c(r26) -/* 800C0B84 000BDAE4 48 28 01 BD */ bl Unlock__6CTokenFv -lbl_800C0B88: -/* 800C0B88 000BDAE8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800C0B8C 000BDAEC 41 82 00 10 */ beq lbl_800C0B9C -/* 800C0B90 000BDAF0 38 7A 00 70 */ addi r3, r26, 0x70 -/* 800C0B94 000BDAF4 48 28 01 F1 */ bl Lock__6CTokenFv -/* 800C0B98 000BDAF8 48 00 00 14 */ b lbl_800C0BAC -lbl_800C0B9C: -/* 800C0B9C 000BDAFC 38 00 00 00 */ li r0, 0 -/* 800C0BA0 000BDB00 38 7A 00 70 */ addi r3, r26, 0x70 -/* 800C0BA4 000BDB04 90 1A 00 78 */ stw r0, 0x78(r26) -/* 800C0BA8 000BDB08 48 28 01 99 */ bl Unlock__6CTokenFv -lbl_800C0BAC: -/* 800C0BAC 000BDB0C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800C0BB0 000BDB10 41 82 00 10 */ beq lbl_800C0BC0 -/* 800C0BB4 000BDB14 38 7A 00 7C */ addi r3, r26, 0x7c -/* 800C0BB8 000BDB18 48 28 01 CD */ bl Lock__6CTokenFv -/* 800C0BBC 000BDB1C 48 00 00 14 */ b lbl_800C0BD0 -lbl_800C0BC0: -/* 800C0BC0 000BDB20 38 00 00 00 */ li r0, 0 -/* 800C0BC4 000BDB24 38 7A 00 7C */ addi r3, r26, 0x7c -/* 800C0BC8 000BDB28 90 1A 00 84 */ stw r0, 0x84(r26) -/* 800C0BCC 000BDB2C 48 28 01 75 */ bl Unlock__6CTokenFv -lbl_800C0BD0: -/* 800C0BD0 000BDB30 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800C0BD4 000BDB34 41 82 00 10 */ beq lbl_800C0BE4 -/* 800C0BD8 000BDB38 38 7A 00 88 */ addi r3, r26, 0x88 -/* 800C0BDC 000BDB3C 48 28 01 A9 */ bl Lock__6CTokenFv -/* 800C0BE0 000BDB40 48 00 00 14 */ b lbl_800C0BF4 -lbl_800C0BE4: -/* 800C0BE4 000BDB44 38 00 00 00 */ li r0, 0 -/* 800C0BE8 000BDB48 38 7A 00 88 */ addi r3, r26, 0x88 -/* 800C0BEC 000BDB4C 90 1A 00 90 */ stw r0, 0x90(r26) -/* 800C0BF0 000BDB50 48 28 01 51 */ bl Unlock__6CTokenFv -lbl_800C0BF4: -/* 800C0BF4 000BDB54 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800C0BF8 000BDB58 41 82 00 10 */ beq lbl_800C0C08 -/* 800C0BFC 000BDB5C 38 7A 00 A0 */ addi r3, r26, 0xa0 -/* 800C0C00 000BDB60 48 28 01 85 */ bl Lock__6CTokenFv -/* 800C0C04 000BDB64 48 00 00 14 */ b lbl_800C0C18 -lbl_800C0C08: -/* 800C0C08 000BDB68 38 00 00 00 */ li r0, 0 -/* 800C0C0C 000BDB6C 38 7A 00 A0 */ addi r3, r26, 0xa0 -/* 800C0C10 000BDB70 90 1A 00 A8 */ stw r0, 0xa8(r26) -/* 800C0C14 000BDB74 48 28 01 2D */ bl Unlock__6CTokenFv -lbl_800C0C18: -/* 800C0C18 000BDB78 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 800C0C1C 000BDB7C 41 82 00 10 */ beq lbl_800C0C2C -/* 800C0C20 000BDB80 38 7A 00 AC */ addi r3, r26, 0xac -/* 800C0C24 000BDB84 48 28 01 61 */ bl Lock__6CTokenFv -/* 800C0C28 000BDB88 48 00 00 14 */ b lbl_800C0C3C -lbl_800C0C2C: -/* 800C0C2C 000BDB8C 38 00 00 00 */ li r0, 0 -/* 800C0C30 000BDB90 38 7A 00 AC */ addi r3, r26, 0xac -/* 800C0C34 000BDB94 90 1A 00 B4 */ stw r0, 0xb4(r26) -/* 800C0C38 000BDB98 48 28 01 09 */ bl Unlock__6CTokenFv -lbl_800C0C3C: -/* 800C0C3C 000BDB9C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 800C0C40 000BDBA0 41 82 00 10 */ beq lbl_800C0C50 -/* 800C0C44 000BDBA4 38 7A 00 B8 */ addi r3, r26, 0xb8 -/* 800C0C48 000BDBA8 48 28 01 3D */ bl Lock__6CTokenFv -/* 800C0C4C 000BDBAC 48 00 00 14 */ b lbl_800C0C60 -lbl_800C0C50: -/* 800C0C50 000BDBB0 38 00 00 00 */ li r0, 0 -/* 800C0C54 000BDBB4 38 7A 00 B8 */ addi r3, r26, 0xb8 -/* 800C0C58 000BDBB8 90 1A 00 C0 */ stw r0, 0xc0(r26) -/* 800C0C5C 000BDBBC 48 28 00 E5 */ bl Unlock__6CTokenFv -lbl_800C0C60: -/* 800C0C60 000BDBC0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800C0C64 000BDBC4 41 82 00 10 */ beq lbl_800C0C74 -/* 800C0C68 000BDBC8 38 7A 00 C4 */ addi r3, r26, 0xc4 -/* 800C0C6C 000BDBCC 48 28 01 19 */ bl Lock__6CTokenFv -/* 800C0C70 000BDBD0 48 00 00 14 */ b lbl_800C0C84 -lbl_800C0C74: -/* 800C0C74 000BDBD4 38 00 00 00 */ li r0, 0 -/* 800C0C78 000BDBD8 38 7A 00 C4 */ addi r3, r26, 0xc4 -/* 800C0C7C 000BDBDC 90 1A 00 CC */ stw r0, 0xcc(r26) -/* 800C0C80 000BDBE0 48 28 00 C1 */ bl Unlock__6CTokenFv -lbl_800C0C84: -/* 800C0C84 000BDBE4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800C0C88 000BDBE8 41 82 00 18 */ beq lbl_800C0CA0 -/* 800C0C8C 000BDBEC 38 00 00 00 */ li r0, 0 -/* 800C0C90 000BDBF0 38 7A 00 94 */ addi r3, r26, 0x94 -/* 800C0C94 000BDBF4 90 1A 00 9C */ stw r0, 0x9c(r26) -/* 800C0C98 000BDBF8 48 28 00 A9 */ bl Unlock__6CTokenFv -/* 800C0C9C 000BDBFC 48 00 00 0C */ b lbl_800C0CA8 -lbl_800C0CA0: -/* 800C0CA0 000BDC00 38 7A 00 94 */ addi r3, r26, 0x94 -/* 800C0CA4 000BDC04 48 28 00 E1 */ bl Lock__6CTokenFv -lbl_800C0CA8: -/* 800C0CA8 000BDC08 83 DA 00 EC */ lwz r30, 0xec(r26) -/* 800C0CAC 000BDC0C 57 FD 06 3E */ clrlwi r29, r31, 0x18 -/* 800C0CB0 000BDC10 3B 80 00 00 */ li r28, 0 -/* 800C0CB4 000BDC14 48 00 00 28 */ b lbl_800C0CDC -lbl_800C0CB8: -/* 800C0CB8 000BDC18 28 1D 00 00 */ cmplwi r29, 0 -/* 800C0CBC 000BDC1C 41 82 00 10 */ beq lbl_800C0CCC -/* 800C0CC0 000BDC20 7F C3 F3 78 */ mr r3, r30 -/* 800C0CC4 000BDC24 48 28 00 C1 */ bl Lock__6CTokenFv -/* 800C0CC8 000BDC28 48 00 00 10 */ b lbl_800C0CD8 -lbl_800C0CCC: -/* 800C0CCC 000BDC2C 93 9E 00 08 */ stw r28, 8(r30) -/* 800C0CD0 000BDC30 7F C3 F3 78 */ mr r3, r30 -/* 800C0CD4 000BDC34 48 28 00 6D */ bl Unlock__6CTokenFv -lbl_800C0CD8: -/* 800C0CD8 000BDC38 3B DE 00 1C */ addi r30, r30, 0x1c -lbl_800C0CDC: -/* 800C0CDC 000BDC3C 80 1A 00 E4 */ lwz r0, 0xe4(r26) -/* 800C0CE0 000BDC40 80 7A 00 EC */ lwz r3, 0xec(r26) -/* 800C0CE4 000BDC44 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 800C0CE8 000BDC48 7C 03 02 14 */ add r0, r3, r0 -/* 800C0CEC 000BDC4C 7C 1E 00 40 */ cmplw r30, r0 -/* 800C0CF0 000BDC50 40 82 FF C8 */ bne lbl_800C0CB8 -lbl_800C0CF4: -/* 800C0CF4 000BDC54 80 7B 08 4C */ lwz r3, 0x84c(r27) -/* 800C0CF8 000BDC58 80 63 04 90 */ lwz r3, 0x490(r3) -/* 800C0CFC 000BDC5C 88 03 08 34 */ lbz r0, 0x834(r3) -/* 800C0D00 000BDC60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800C0D04 000BDC64 41 82 00 0C */ beq lbl_800C0D10 -/* 800C0D08 000BDC68 C0 23 03 40 */ lfs f1, 0x340(r3) -/* 800C0D0C 000BDC6C 48 00 00 08 */ b lbl_800C0D14 -lbl_800C0D10: -/* 800C0D10 000BDC70 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -lbl_800C0D14: -/* 800C0D14 000BDC74 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) -/* 800C0D18 000BDC78 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C0D1C 000BDC7C 4C 41 13 82 */ cror 2, 1, 2 -/* 800C0D20 000BDC80 7C 60 00 26 */ mfcr r3 -/* 800C0D24 000BDC84 88 1A 02 1A */ lbz r0, 0x21a(r26) -/* 800C0D28 000BDC88 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f -/* 800C0D2C 000BDC8C 7C 03 00 40 */ cmplw r3, r0 -/* 800C0D30 000BDC90 41 82 00 08 */ beq lbl_800C0D38 -/* 800C0D34 000BDC94 98 7A 02 1A */ stb r3, 0x21a(r26) -lbl_800C0D38: -/* 800C0D38 000BDC98 88 1A 02 1A */ lbz r0, 0x21a(r26) -/* 800C0D3C 000BDC9C 28 00 00 00 */ cmplwi r0, 0 -/* 800C0D40 000BDCA0 41 82 00 38 */ beq lbl_800C0D78 -/* 800C0D44 000BDCA4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0D48 000BDCA8 C4 03 01 B8 */ lfsu f0, 0x1b8(r3) -/* 800C0D4C 000BDCAC C0 3A 02 14 */ lfs f1, 0x214(r26) -/* 800C0D50 000BDCB0 EC 1F 00 24 */ fdivs f0, f31, f0 -/* 800C0D54 000BDCB4 EC 21 00 2A */ fadds f1, f1, f0 -/* 800C0D58 000BDCB8 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 800C0D5C 000BDCBC C0 03 00 00 */ lfs f0, 0(r3) -/* 800C0D60 000BDCC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C0D64 000BDCC4 40 80 00 08 */ bge lbl_800C0D6C -/* 800C0D68 000BDCC8 38 61 00 28 */ addi r3, r1, 0x28 -lbl_800C0D6C: -/* 800C0D6C 000BDCCC C0 03 00 00 */ lfs f0, 0(r3) -/* 800C0D70 000BDCD0 D0 1A 02 14 */ stfs f0, 0x214(r26) -/* 800C0D74 000BDCD4 48 00 00 3C */ b lbl_800C0DB0 -lbl_800C0D78: -/* 800C0D78 000BDCD8 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0D7C 000BDCDC C0 5A 02 14 */ lfs f2, 0x214(r26) -/* 800C0D80 000BDCE0 C0 23 01 B8 */ lfs f1, 0x1b8(r3) -/* 800C0D84 000BDCE4 C0 0D 86 74 */ lfs f0, lbl_805A7234@sda21(r13) -/* 800C0D88 000BDCE8 EC 3F 08 24 */ fdivs f1, f31, f1 -/* 800C0D8C 000BDCEC EC 22 08 28 */ fsubs f1, f2, f1 -/* 800C0D90 000BDCF0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C0D94 000BDCF4 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800C0D98 000BDCF8 40 80 00 0C */ bge lbl_800C0DA4 -/* 800C0D9C 000BDCFC 38 61 00 24 */ addi r3, r1, 0x24 -/* 800C0DA0 000BDD00 48 00 00 08 */ b lbl_800C0DA8 -lbl_800C0DA4: -/* 800C0DA4 000BDD04 38 6D 86 74 */ addi r3, r13, lbl_805A7234@sda21 -lbl_800C0DA8: -/* 800C0DA8 000BDD08 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C0DAC 000BDD0C D0 1A 02 14 */ stfs f0, 0x214(r26) -lbl_800C0DB0: -/* 800C0DB0 000BDD10 80 7B 08 4C */ lwz r3, 0x84c(r27) -/* 800C0DB4 000BDD14 88 1A 01 F4 */ lbz r0, 0x1f4(r26) -/* 800C0DB8 000BDD18 80 63 04 90 */ lwz r3, 0x490(r3) -/* 800C0DBC 000BDD1C 80 63 03 1C */ lwz r3, 0x31c(r3) -/* 800C0DC0 000BDD20 20 63 00 01 */ subfic r3, r3, 1 -/* 800C0DC4 000BDD24 7C 64 00 34 */ cntlzw r4, r3 -/* 800C0DC8 000BDD28 54 83 DE 3E */ rlwinm r3, r4, 0x1b, 0x18, 0x1f -/* 800C0DCC 000BDD2C 7C 03 00 40 */ cmplw r3, r0 -/* 800C0DD0 000BDD30 54 80 D9 7E */ srwi r0, r4, 5 -/* 800C0DD4 000BDD34 41 82 00 30 */ beq lbl_800C0E04 -/* 800C0DD8 000BDD38 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C0DDC 000BDD3C C0 3A 01 F8 */ lfs f1, 0x1f8(r26) -/* 800C0DE0 000BDD40 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800C0DE4 000BDD44 41 82 00 14 */ beq lbl_800C0DF8 -/* 800C0DE8 000BDD48 C0 02 8D B0 */ lfs f0, lbl_805AAAD0@sda21(r2) -/* 800C0DEC 000BDD4C EC 00 08 28 */ fsubs f0, f0, f1 -/* 800C0DF0 000BDD50 D0 1A 01 F8 */ stfs f0, 0x1f8(r26) -/* 800C0DF4 000BDD54 48 00 00 0C */ b lbl_800C0E00 -lbl_800C0DF8: -/* 800C0DF8 000BDD58 C0 02 8D B0 */ lfs f0, lbl_805AAAD0@sda21(r2) -/* 800C0DFC 000BDD5C D0 1A 01 F8 */ stfs f0, 0x1f8(r26) -lbl_800C0E00: -/* 800C0E00 000BDD60 98 1A 01 F4 */ stb r0, 0x1f4(r26) -lbl_800C0E04: -/* 800C0E04 000BDD64 80 7B 08 4C */ lwz r3, 0x84c(r27) -/* 800C0E08 000BDD68 80 1A 02 00 */ lwz r0, 0x200(r26) -/* 800C0E0C 000BDD6C 80 63 04 90 */ lwz r3, 0x490(r3) -/* 800C0E10 000BDD70 83 E3 03 10 */ lwz r31, 0x310(r3) -/* 800C0E14 000BDD74 7C 1F 00 00 */ cmpw r31, r0 -/* 800C0E18 000BDD78 41 82 01 E4 */ beq lbl_800C0FFC -/* 800C0E1C 000BDD7C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0E20 000BDD80 57 E4 20 36 */ slwi r4, r31, 4 -/* 800C0E24 000BDD84 38 E0 00 00 */ li r7, 0 -/* 800C0E28 000BDD88 38 00 00 09 */ li r0, 9 -/* 800C0E2C 000BDD8C C0 03 00 EC */ lfs f0, 0xec(r3) -/* 800C0E30 000BDD90 7C E8 3B 78 */ mr r8, r7 -/* 800C0E34 000BDD94 38 A4 00 0C */ addi r5, r4, 0xc -/* 800C0E38 000BDD98 C0 A2 8D B4 */ lfs f5, lbl_805AAAD4@sda21(r2) -/* 800C0E3C 000BDD9C D0 1A 02 04 */ stfs f0, 0x204(r26) -/* 800C0E40 000BDDA0 39 20 00 00 */ li r9, 0 -/* 800C0E44 000BDDA4 C8 82 8D 40 */ lfd f4, lbl_805AAA60@sda21(r2) -/* 800C0E48 000BDDA8 3C 80 43 30 */ lis r4, 0x4330 -/* 800C0E4C 000BDDAC C0 62 8D 5C */ lfs f3, lbl_805AAA7C@sda21(r2) -/* 800C0E50 000BDDB0 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) -/* 800C0E54 000BDDB4 7C 09 03 A6 */ mtctr r0 -lbl_800C0E58: -/* 800C0E58 000BDDB8 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C0E5C 000BDDBC 80 1A 00 EC */ lwz r0, 0xec(r26) -/* 800C0E60 000BDDC0 80 63 01 04 */ lwz r3, 0x104(r3) -/* 800C0E64 000BDDC4 7C C0 3A 14 */ add r6, r0, r7 -/* 800C0E68 000BDDC8 90 81 00 70 */ stw r4, 0x70(r1) -/* 800C0E6C 000BDDCC 7C 63 28 2E */ lwzx r3, r3, r5 -/* 800C0E70 000BDDD0 7C 23 44 2E */ lfsx f1, r3, r8 -/* 800C0E74 000BDDD4 EC 01 01 72 */ fmuls f0, f1, f5 -/* 800C0E78 000BDDD8 FC 00 00 1E */ fctiwz f0, f0 -/* 800C0E7C 000BDDDC D8 01 00 68 */ stfd f0, 0x68(r1) -/* 800C0E80 000BDDE0 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 800C0E84 000BDDE4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800C0E88 000BDDE8 90 01 00 74 */ stw r0, 0x74(r1) -/* 800C0E8C 000BDDEC C8 01 00 70 */ lfd f0, 0x70(r1) -/* 800C0E90 000BDDF0 EC 00 20 28 */ fsubs f0, f0, f4 -/* 800C0E94 000BDDF4 EC C0 08 FC */ fnmsubs f6, f0, f3, f1 -/* 800C0E98 000BDDF8 FC 06 10 40 */ fcmpo cr0, f6, f2 -/* 800C0E9C 000BDDFC 40 80 00 08 */ bge lbl_800C0EA4 -/* 800C0EA0 000BDE00 EC C6 18 2A */ fadds f6, f6, f3 -lbl_800C0EA4: -/* 800C0EA4 000BDE04 55 23 0F FE */ srwi r3, r9, 0x1f -/* 800C0EA8 000BDE08 55 20 07 FE */ clrlwi r0, r9, 0x1f -/* 800C0EAC 000BDE0C C0 06 00 10 */ lfs f0, 0x10(r6) -/* 800C0EB0 000BDE10 7C 00 1A 78 */ xor r0, r0, r3 -/* 800C0EB4 000BDE14 7C 03 00 50 */ subf r0, r3, r0 -/* 800C0EB8 000BDE18 EC E6 00 28 */ fsubs f7, f6, f0 -/* 800C0EBC 000BDE1C 2C 00 00 01 */ cmpwi r0, 1 -/* 800C0EC0 000BDE20 40 82 00 40 */ bne lbl_800C0F00 -/* 800C0EC4 000BDE24 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C0EC8 000BDE28 FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 800C0ECC 000BDE2C 40 81 00 20 */ ble lbl_800C0EEC -/* 800C0ED0 000BDE30 C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2) -/* 800C0ED4 000BDE34 38 61 00 20 */ addi r3, r1, 0x20 -/* 800C0ED8 000BDE38 C0 22 8D 7C */ lfs f1, lbl_805AAA9C@sda21(r2) -/* 800C0EDC 000BDE3C EC 00 38 28 */ fsubs f0, f0, f7 -/* 800C0EE0 000BDE40 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800C0EE4 000BDE44 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800C0EE8 000BDE48 48 00 00 14 */ b lbl_800C0EFC -lbl_800C0EEC: -/* 800C0EEC 000BDE4C C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2) -/* 800C0EF0 000BDE50 38 61 00 1C */ addi r3, r1, 0x1c -/* 800C0EF4 000BDE54 EC 00 38 2A */ fadds f0, f0, f7 -/* 800C0EF8 000BDE58 D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_800C0EFC: -/* 800C0EFC 000BDE5C C0 E3 00 00 */ lfs f7, 0(r3) -lbl_800C0F00: -/* 800C0F00 000BDE60 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 800C0F04 000BDE64 39 29 00 01 */ addi r9, r9, 1 -/* 800C0F08 000BDE68 38 E7 00 1C */ addi r7, r7, 0x1c -/* 800C0F0C 000BDE6C 39 08 00 04 */ addi r8, r8, 4 -/* 800C0F10 000BDE70 D0 06 00 0C */ stfs f0, 0xc(r6) -/* 800C0F14 000BDE74 D0 E6 00 18 */ stfs f7, 0x18(r6) -/* 800C0F18 000BDE78 D0 C6 00 14 */ stfs f6, 0x14(r6) -/* 800C0F1C 000BDE7C 42 00 FF 3C */ bdnz lbl_800C0E58 -/* 800C0F20 000BDE80 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13) -/* 800C0F24 000BDE84 3C 00 43 30 */ lis r0, 0x4330 -/* 800C0F28 000BDE88 57 E3 10 3A */ slwi r3, r31, 2 -/* 800C0F2C 000BDE8C C0 02 8D B4 */ lfs f0, lbl_805AAAD4@sda21(r2) -/* 800C0F30 000BDE90 80 84 01 14 */ lwz r4, 0x114(r4) -/* 800C0F34 000BDE94 90 01 00 68 */ stw r0, 0x68(r1) -/* 800C0F38 000BDE98 7C 84 1C 2E */ lfsx f4, r4, r3 -/* 800C0F3C 000BDE9C C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) -/* 800C0F40 000BDEA0 EC 44 00 32 */ fmuls f2, f4, f0 -/* 800C0F44 000BDEA4 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) -/* 800C0F48 000BDEA8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C0F4C 000BDEAC FC 40 10 1E */ fctiwz f2, f2 -/* 800C0F50 000BDEB0 D8 41 00 70 */ stfd f2, 0x70(r1) -/* 800C0F54 000BDEB4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800C0F58 000BDEB8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800C0F5C 000BDEBC 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800C0F60 000BDEC0 C8 41 00 68 */ lfd f2, 0x68(r1) -/* 800C0F64 000BDEC4 EC 42 18 28 */ fsubs f2, f2, f3 -/* 800C0F68 000BDEC8 EF C2 20 7C */ fnmsubs f30, f2, f1, f4 -/* 800C0F6C 000BDECC FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 800C0F70 000BDED0 40 80 00 08 */ bge lbl_800C0F78 -/* 800C0F74 000BDED4 EF DE 08 2A */ fadds f30, f30, f1 -lbl_800C0F78: -/* 800C0F78 000BDED8 48 2C EF 05 */ bl rand -/* 800C0F7C 000BDEDC 54 64 0F FE */ srwi r4, r3, 0x1f -/* 800C0F80 000BDEE0 54 60 07 FE */ clrlwi r0, r3, 0x1f -/* 800C0F84 000BDEE4 7C 00 22 78 */ xor r0, r0, r4 -/* 800C0F88 000BDEE8 C0 1A 00 D4 */ lfs f0, 0xd4(r26) -/* 800C0F8C 000BDEEC 7C 04 00 50 */ subf r0, r4, r0 -/* 800C0F90 000BDEF0 20 00 00 01 */ subfic r0, r0, 1 -/* 800C0F94 000BDEF4 EC 5E 00 28 */ fsubs f2, f30, f0 -/* 800C0F98 000BDEF8 7C 00 00 34 */ cntlzw r0, r0 -/* 800C0F9C 000BDEFC 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 800C0FA0 000BDF00 41 82 00 40 */ beq lbl_800C0FE0 -/* 800C0FA4 000BDF04 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C0FA8 000BDF08 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800C0FAC 000BDF0C 40 81 00 20 */ ble lbl_800C0FCC -/* 800C0FB0 000BDF10 C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2) -/* 800C0FB4 000BDF14 38 61 00 18 */ addi r3, r1, 0x18 -/* 800C0FB8 000BDF18 C0 22 8D 7C */ lfs f1, lbl_805AAA9C@sda21(r2) -/* 800C0FBC 000BDF1C EC 00 10 28 */ fsubs f0, f0, f2 -/* 800C0FC0 000BDF20 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800C0FC4 000BDF24 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800C0FC8 000BDF28 48 00 00 14 */ b lbl_800C0FDC -lbl_800C0FCC: -/* 800C0FCC 000BDF2C C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2) -/* 800C0FD0 000BDF30 38 61 00 14 */ addi r3, r1, 0x14 -/* 800C0FD4 000BDF34 EC 00 10 2A */ fadds f0, f0, f2 -/* 800C0FD8 000BDF38 D0 01 00 14 */ stfs f0, 0x14(r1) -lbl_800C0FDC: -/* 800C0FDC 000BDF3C C0 43 00 00 */ lfs f2, 0(r3) -lbl_800C0FE0: -/* 800C0FE0 000BDF40 C0 3A 00 D4 */ lfs f1, 0xd4(r26) -/* 800C0FE4 000BDF44 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C0FE8 000BDF48 D0 3A 00 D0 */ stfs f1, 0xd0(r26) -/* 800C0FEC 000BDF4C D0 5A 00 DC */ stfs f2, 0xdc(r26) -/* 800C0FF0 000BDF50 D3 DA 00 D8 */ stfs f30, 0xd8(r26) -/* 800C0FF4 000BDF54 93 FA 02 00 */ stw r31, 0x200(r26) -/* 800C0FF8 000BDF58 D0 1A 02 08 */ stfs f0, 0x208(r26) -lbl_800C0FFC: -/* 800C0FFC 000BDF5C 80 7B 08 4C */ lwz r3, 0x84c(r27) -/* 800C1000 000BDF60 80 83 04 90 */ lwz r4, 0x490(r3) -/* 800C1004 000BDF64 80 04 02 EC */ lwz r0, 0x2ec(r4) -/* 800C1008 000BDF68 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800C100C 000BDF6C 41 82 00 28 */ beq lbl_800C1034 -/* 800C1010 000BDF70 88 1A 02 18 */ lbz r0, 0x218(r26) -/* 800C1014 000BDF74 28 00 00 00 */ cmplwi r0, 0 -/* 800C1018 000BDF78 40 82 00 10 */ bne lbl_800C1028 -/* 800C101C 000BDF7C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C1020 000BDF80 C0 03 01 2C */ lfs f0, 0x12c(r3) -/* 800C1024 000BDF84 D0 1A 02 10 */ stfs f0, 0x210(r26) -lbl_800C1028: -/* 800C1028 000BDF88 38 00 00 01 */ li r0, 1 -/* 800C102C 000BDF8C 98 1A 02 18 */ stb r0, 0x218(r26) -/* 800C1030 000BDF90 48 00 00 0C */ b lbl_800C103C -lbl_800C1034: -/* 800C1034 000BDF94 38 00 00 00 */ li r0, 0 -/* 800C1038 000BDF98 98 1A 02 18 */ stb r0, 0x218(r26) -lbl_800C103C: -/* 800C103C 000BDF9C 80 04 02 EC */ lwz r0, 0x2ec(r4) -/* 800C1040 000BDFA0 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 800C1044 000BDFA4 41 82 00 28 */ beq lbl_800C106C -/* 800C1048 000BDFA8 88 1A 02 19 */ lbz r0, 0x219(r26) -/* 800C104C 000BDFAC 28 00 00 00 */ cmplwi r0, 0 -/* 800C1050 000BDFB0 40 82 00 10 */ bne lbl_800C1060 -/* 800C1054 000BDFB4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C1058 000BDFB8 C0 03 00 C8 */ lfs f0, 0xc8(r3) -/* 800C105C 000BDFBC D0 1A 01 FC */ stfs f0, 0x1fc(r26) -lbl_800C1060: -/* 800C1060 000BDFC0 38 00 00 01 */ li r0, 1 -/* 800C1064 000BDFC4 98 1A 02 19 */ stb r0, 0x219(r26) -/* 800C1068 000BDFC8 48 00 00 0C */ b lbl_800C1074 -lbl_800C106C: -/* 800C106C 000BDFCC 38 00 00 00 */ li r0, 0 -/* 800C1070 000BDFD0 98 1A 02 19 */ stb r0, 0x219(r26) -lbl_800C1074: -/* 800C1074 000BDFD4 A0 1A 00 F2 */ lhz r0, 0xf2(r26) -/* 800C1078 000BDFD8 38 81 00 08 */ addi r4, r1, 8 -/* 800C107C 000BDFDC 80 7B 08 10 */ lwz r3, 0x810(r27) -/* 800C1080 000BDFE0 B0 01 00 08 */ sth r0, 8(r1) -/* 800C1084 000BDFE4 4B F4 ED 69 */ bl GetObjectById__11CObjectListCF9TUniqueId -/* 800C1088 000BDFE8 7C 64 1B 78 */ mr r4, r3 -/* 800C108C 000BDFEC 38 61 00 34 */ addi r3, r1, 0x34 -/* 800C1090 000BDFF0 4B FE 8A 39 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity" -/* 800C1094 000BDFF4 A0 1A 00 F2 */ lhz r0, 0xf2(r26) -/* 800C1098 000BDFF8 38 A0 00 00 */ li r5, 0 -/* 800C109C 000BDFFC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 800C10A0 000BE000 80 63 00 04 */ lwz r3, 4(r3) -/* 800C10A4 000BE004 7C 00 20 40 */ cmplw r0, r4 -/* 800C10A8 000BE008 41 82 00 08 */ beq lbl_800C10B0 -/* 800C10AC 000BE00C 7C 65 1B 78 */ mr r5, r3 -lbl_800C10B0: -/* 800C10B0 000BE010 28 05 00 00 */ cmplwi r5, 0 -/* 800C10B4 000BE014 41 82 00 60 */ beq lbl_800C1114 -/* 800C10B8 000BE018 A0 85 00 08 */ lhz r4, 8(r5) -/* 800C10BC 000BE01C A0 BA 01 DC */ lhz r5, 0x1dc(r26) -/* 800C10C0 000BE020 7C 04 28 40 */ cmplw r4, r5 -/* 800C10C4 000BE024 41 82 00 78 */ beq lbl_800C113C -/* 800C10C8 000BE028 A0 1A 01 DE */ lhz r0, 0x1de(r26) -/* 800C10CC 000BE02C 7C 04 00 40 */ cmplw r4, r0 -/* 800C10D0 000BE030 40 82 00 28 */ bne lbl_800C10F8 -/* 800C10D4 000BE034 C0 22 8D B8 */ lfs f1, lbl_805AAAD8@sda21(r2) -/* 800C10D8 000BE038 C0 1A 01 E4 */ lfs f0, 0x1e4(r26) -/* 800C10DC 000BE03C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C10E0 000BE040 40 80 00 0C */ bge lbl_800C10EC -/* 800C10E4 000BE044 38 7A 01 E4 */ addi r3, r26, 0x1e4 -/* 800C10E8 000BE048 48 00 00 08 */ b lbl_800C10F0 -lbl_800C10EC: -/* 800C10EC 000BE04C 38 62 8D B8 */ addi r3, r2, lbl_805AAAD8@sda21 -lbl_800C10F0: -/* 800C10F0 000BE050 C0 23 00 00 */ lfs f1, 0(r3) -/* 800C10F4 000BE054 48 00 00 08 */ b lbl_800C10FC -lbl_800C10F8: -/* 800C10F8 000BE058 C0 22 8D B0 */ lfs f1, lbl_805AAAD0@sda21(r2) -lbl_800C10FC: -/* 800C10FC 000BE05C B0 BA 01 DE */ sth r5, 0x1de(r26) -/* 800C1100 000BE060 C0 1A 01 E0 */ lfs f0, 0x1e0(r26) -/* 800C1104 000BE064 D0 1A 01 E4 */ stfs f0, 0x1e4(r26) -/* 800C1108 000BE068 D0 3A 01 E0 */ stfs f1, 0x1e0(r26) -/* 800C110C 000BE06C B0 9A 01 DC */ sth r4, 0x1dc(r26) -/* 800C1110 000BE070 48 00 00 2C */ b lbl_800C113C -lbl_800C1114: -/* 800C1114 000BE074 A0 1A 01 DC */ lhz r0, 0x1dc(r26) -/* 800C1118 000BE078 7C 00 20 40 */ cmplw r0, r4 -/* 800C111C 000BE07C 41 82 00 20 */ beq lbl_800C113C -/* 800C1120 000BE080 B0 1A 01 DE */ sth r0, 0x1de(r26) -/* 800C1124 000BE084 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C1128 000BE088 C0 3A 01 E0 */ lfs f1, 0x1e0(r26) -/* 800C112C 000BE08C D0 3A 01 E4 */ stfs f1, 0x1e4(r26) -/* 800C1130 000BE090 D0 1A 01 E0 */ stfs f0, 0x1e0(r26) -/* 800C1134 000BE094 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800C1138 000BE098 B0 1A 01 DC */ sth r0, 0x1dc(r26) -lbl_800C113C: -/* 800C113C 000BE09C C0 5A 01 E0 */ lfs f2, 0x1e0(r26) -/* 800C1140 000BE0A0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C1144 000BE0A4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800C1148 000BE0A8 40 81 00 34 */ ble lbl_800C117C -/* 800C114C 000BE0AC C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) -/* 800C1150 000BE0B0 C0 0D 86 78 */ lfs f0, lbl_805A7238@sda21(r13) -/* 800C1154 000BE0B4 EC 3F 08 24 */ fdivs f1, f31, f1 -/* 800C1158 000BE0B8 EC 22 08 2A */ fadds f1, f2, f1 -/* 800C115C 000BE0BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C1160 000BE0C0 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800C1164 000BE0C4 40 80 00 0C */ bge lbl_800C1170 -/* 800C1168 000BE0C8 38 61 00 10 */ addi r3, r1, 0x10 -/* 800C116C 000BE0CC 48 00 00 08 */ b lbl_800C1174 -lbl_800C1170: -/* 800C1170 000BE0D0 38 6D 86 78 */ addi r3, r13, lbl_805A7238@sda21 -lbl_800C1174: -/* 800C1174 000BE0D4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C1178 000BE0D8 D0 1A 01 E0 */ stfs f0, 0x1e0(r26) -lbl_800C117C: -/* 800C117C 000BE0DC C0 5A 01 E4 */ lfs f2, 0x1e4(r26) -/* 800C1180 000BE0E0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C1184 000BE0E4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800C1188 000BE0E8 40 81 00 4C */ ble lbl_800C11D4 -/* 800C118C 000BE0EC C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) -/* 800C1190 000BE0F0 C0 0D 86 7C */ lfs f0, lbl_805A723C@sda21(r13) -/* 800C1194 000BE0F4 EC 3F 08 24 */ fdivs f1, f31, f1 -/* 800C1198 000BE0F8 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800C119C 000BE0FC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C11A0 000BE100 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800C11A4 000BE104 40 80 00 0C */ bge lbl_800C11B0 -/* 800C11A8 000BE108 38 61 00 0C */ addi r3, r1, 0xc -/* 800C11AC 000BE10C 48 00 00 08 */ b lbl_800C11B4 -lbl_800C11B0: -/* 800C11B0 000BE110 38 6D 86 7C */ addi r3, r13, lbl_805A723C@sda21 -lbl_800C11B4: -/* 800C11B4 000BE114 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C11B8 000BE118 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800C11BC 000BE11C D0 1A 01 E4 */ stfs f0, 0x1e4(r26) -/* 800C11C0 000BE120 C0 1A 01 E4 */ lfs f0, 0x1e4(r26) -/* 800C11C4 000BE124 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800C11C8 000BE128 40 82 00 0C */ bne lbl_800C11D4 -/* 800C11CC 000BE12C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800C11D0 000BE130 B0 1A 01 DE */ sth r0, 0x1de(r26) -lbl_800C11D4: -/* 800C11D4 000BE134 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C11D8 000BE138 3C 00 43 30 */ lis r0, 0x4330 -/* 800C11DC 000BE13C C0 22 8D 34 */ lfs f1, lbl_805AAA54@sda21(r2) -/* 800C11E0 000BE140 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 800C11E4 000BE144 C0 BA 01 F0 */ lfs f5, 0x1f0(r26) -/* 800C11E8 000BE148 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800C11EC 000BE14C C0 42 8D B4 */ lfs f2, lbl_805AAAD4@sda21(r2) -/* 800C11F0 000BE150 90 01 00 68 */ stw r0, 0x68(r1) -/* 800C11F4 000BE154 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) -/* 800C11F8 000BE158 EC 81 00 32 */ fmuls f4, f1, f0 -/* 800C11FC 000BE15C C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) -/* 800C1200 000BE160 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C1204 000BE164 EC 85 20 2A */ fadds f4, f5, f4 -/* 800C1208 000BE168 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 800C120C 000BE16C FC 40 10 1E */ fctiwz f2, f2 -/* 800C1210 000BE170 D8 41 00 70 */ stfd f2, 0x70(r1) -/* 800C1214 000BE174 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800C1218 000BE178 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800C121C 000BE17C 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800C1220 000BE180 C8 41 00 68 */ lfd f2, 0x68(r1) -/* 800C1224 000BE184 EC 42 18 28 */ fsubs f2, f2, f3 -/* 800C1228 000BE188 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 -/* 800C122C 000BE18C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800C1230 000BE190 40 80 00 08 */ bge lbl_800C1238 -/* 800C1234 000BE194 EC 42 08 2A */ fadds f2, f2, f1 -lbl_800C1238: -/* 800C1238 000BE198 D0 5A 01 F0 */ stfs f2, 0x1f0(r26) -/* 800C123C 000BE19C 3C 00 43 30 */ lis r0, 0x4330 -/* 800C1240 000BE1A0 C0 82 8D 34 */ lfs f4, lbl_805AAA54@sda21(r2) -/* 800C1244 000BE1A4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C1248 000BE1A8 C0 BA 01 EC */ lfs f5, 0x1ec(r26) -/* 800C124C 000BE1AC C0 03 00 28 */ lfs f0, 0x28(r3) -/* 800C1250 000BE1B0 C0 42 8D B4 */ lfs f2, lbl_805AAAD4@sda21(r2) -/* 800C1254 000BE1B4 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800C1258 000BE1B8 90 01 00 80 */ stw r0, 0x80(r1) -/* 800C125C 000BE1BC C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2) -/* 800C1260 000BE1C0 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2) -/* 800C1264 000BE1C4 EC 84 00 32 */ fmuls f4, f4, f0 -/* 800C1268 000BE1C8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C126C 000BE1CC EC 85 20 2A */ fadds f4, f5, f4 -/* 800C1270 000BE1D0 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 800C1274 000BE1D4 FC 40 10 1E */ fctiwz f2, f2 -/* 800C1278 000BE1D8 D8 41 00 78 */ stfd f2, 0x78(r1) -/* 800C127C 000BE1DC 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 800C1280 000BE1E0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800C1284 000BE1E4 90 01 00 84 */ stw r0, 0x84(r1) -/* 800C1288 000BE1E8 C8 41 00 80 */ lfd f2, 0x80(r1) -/* 800C128C 000BE1EC EC 42 18 28 */ fsubs f2, f2, f3 -/* 800C1290 000BE1F0 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 -/* 800C1294 000BE1F4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800C1298 000BE1F8 40 80 00 08 */ bge lbl_800C12A0 -/* 800C129C 000BE1FC EC 42 08 2A */ fadds f2, f2, f1 -lbl_800C12A0: -/* 800C12A0 000BE200 D0 5A 01 EC */ stfs f2, 0x1ec(r26) -/* 800C12A4 000BE204 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 800C12A8 000BE208 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 800C12AC 000BE20C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 800C12B0 000BE210 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 800C12B4 000BE214 BB 41 00 88 */ lmw r26, 0x88(r1) -/* 800C12B8 000BE218 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800C12BC 000BE21C 7C 08 03 A6 */ mtlr r0 -/* 800C12C0 000BE220 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800C12C4 000BE224 4E 80 00 20 */ blr - -.global GetDesiredReticleState__22CCompoundTargetReticleCFRC13CStateManager -GetDesiredReticleState__22CCompoundTargetReticleCFRC13CStateManager: -/* 800C12C8 000BE228 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 800C12CC 000BE22C 80 63 00 00 */ lwz r3, 0(r3) -/* 800C12D0 000BE230 80 03 00 14 */ lwz r0, 0x14(r3) -/* 800C12D4 000BE234 2C 00 00 02 */ cmpwi r0, 2 -/* 800C12D8 000BE238 41 82 00 24 */ beq lbl_800C12FC -/* 800C12DC 000BE23C 40 80 00 14 */ bge lbl_800C12F0 -/* 800C12E0 000BE240 2C 00 00 00 */ cmpwi r0, 0 -/* 800C12E4 000BE244 41 82 00 28 */ beq lbl_800C130C -/* 800C12E8 000BE248 40 80 00 1C */ bge lbl_800C1304 -/* 800C12EC 000BE24C 48 00 00 30 */ b lbl_800C131C -lbl_800C12F0: -/* 800C12F0 000BE250 2C 00 00 04 */ cmpwi r0, 4 -/* 800C12F4 000BE254 40 80 00 28 */ bge lbl_800C131C -/* 800C12F8 000BE258 48 00 00 1C */ b lbl_800C1314 -lbl_800C12FC: -/* 800C12FC 000BE25C 38 60 00 01 */ li r3, 1 -/* 800C1300 000BE260 4E 80 00 20 */ blr -lbl_800C1304: -/* 800C1304 000BE264 38 60 00 02 */ li r3, 2 -/* 800C1308 000BE268 4E 80 00 20 */ blr -lbl_800C130C: -/* 800C130C 000BE26C 38 60 00 00 */ li r3, 0 -/* 800C1310 000BE270 4E 80 00 20 */ blr -lbl_800C1314: -/* 800C1314 000BE274 38 60 00 03 */ li r3, 3 -/* 800C1318 000BE278 4E 80 00 20 */ blr -lbl_800C131C: -/* 800C131C 000BE27C 38 60 00 00 */ li r3, 0 -/* 800C1320 000BE280 4E 80 00 20 */ blr - -.global CheckLoadComplete__22CCompoundTargetReticleFv -CheckLoadComplete__22CCompoundTargetReticleFv: -/* 800C1324 000BE284 38 60 00 01 */ li r3, 1 -/* 800C1328 000BE288 4E 80 00 20 */ blr - -.global __ct__22CCompoundTargetReticleFRC13CStateManager -__ct__22CCompoundTargetReticleFRC13CStateManager: -/* 800C132C 000BE28C 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 800C1330 000BE290 7C 08 02 A6 */ mflr r0 -/* 800C1334 000BE294 3C A0 80 3D */ lis r5, lbl_803CDEE8@ha -/* 800C1338 000BE298 90 01 01 24 */ stw r0, 0x124(r1) -/* 800C133C 000BE29C BF 61 01 0C */ stmw r27, 0x10c(r1) -/* 800C1340 000BE2A0 7C 7D 1B 78 */ mr r29, r3 -/* 800C1344 000BE2A4 7C 9E 23 78 */ mr r30, r4 -/* 800C1348 000BE2A8 3B E5 DE E8 */ addi r31, r5, lbl_803CDEE8@l -/* 800C134C 000BE2AC 80 64 08 70 */ lwz r3, 0x870(r4) -/* 800C1350 000BE2B0 4B F4 A7 C9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800C1354 000BE2B4 7C 64 1B 78 */ mr r4, r3 -/* 800C1358 000BE2B8 38 61 00 90 */ addi r3, r1, 0x90 -/* 800C135C 000BE2BC 38 84 00 34 */ addi r4, r4, 0x34 -/* 800C1360 000BE2C0 48 25 0D C9 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 800C1364 000BE2C4 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 800C1368 000BE2C8 7F C4 F3 78 */ mr r4, r30 -/* 800C136C 000BE2CC D0 1D 00 00 */ stfs f0, 0(r29) -/* 800C1370 000BE2D0 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 800C1374 000BE2D4 D0 1D 00 04 */ stfs f0, 4(r29) -/* 800C1378 000BE2D8 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 800C137C 000BE2DC D0 1D 00 08 */ stfs f0, 8(r29) -/* 800C1380 000BE2E0 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 800C1384 000BE2E4 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 800C1388 000BE2E8 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 800C138C 000BE2EC 4B F4 A7 8D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800C1390 000BE2F0 7C 64 1B 78 */ mr r4, r3 -/* 800C1394 000BE2F4 38 61 00 80 */ addi r3, r1, 0x80 -/* 800C1398 000BE2F8 38 84 00 34 */ addi r4, r4, 0x34 -/* 800C139C 000BE2FC 48 25 0D 8D */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 800C13A0 000BE300 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 800C13A4 000BE304 38 60 00 05 */ li r3, 5 -/* 800C13A8 000BE308 38 00 00 00 */ li r0, 0 -/* 800C13AC 000BE30C C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2) -/* 800C13B0 000BE310 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 800C13B4 000BE314 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 800C13B8 000BE318 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 800C13BC 000BE31C C0 01 00 88 */ lfs f0, 0x88(r1) -/* 800C13C0 000BE320 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 800C13C4 000BE324 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 800C13C8 000BE328 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 800C13CC 000BE32C 90 7D 00 20 */ stw r3, 0x20(r29) -/* 800C13D0 000BE330 90 7D 00 24 */ stw r3, 0x24(r29) -/* 800C13D4 000BE334 90 1D 00 28 */ stw r0, 0x28(r29) -/* 800C13D8 000BE338 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C13DC 000BE33C C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 800C13E0 000BE340 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800C13E4 000BE344 D0 1D 00 2C */ stfs f0, 0x2c(r29) -/* 800C13E8 000BE348 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13) -/* 800C13EC 000BE34C C0 23 00 E8 */ lfs f1, 0xe8(r3) -/* 800C13F0 000BE350 48 00 06 F5 */ bl calculate_premultiplied_overshoot_offset__Ff -/* 800C13F4 000BE354 D0 3D 00 30 */ stfs f1, 0x30(r29) -/* 800C13F8 000BE358 38 61 00 60 */ addi r3, r1, 0x60 -/* 800C13FC 000BE35C 38 BF 00 00 */ addi r5, r31, 0 -/* 800C1400 000BE360 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C1404 000BE364 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1408 000BE368 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C140C 000BE36C 7D 89 03 A6 */ mtctr r12 -/* 800C1410 000BE370 4E 80 04 21 */ bctrl -/* 800C1414 000BE374 3B 7D 00 34 */ addi r27, r29, 0x34 -/* 800C1418 000BE378 38 81 00 60 */ addi r4, r1, 0x60 -/* 800C141C 000BE37C 7F 63 DB 78 */ mr r3, r27 -/* 800C1420 000BE380 48 27 FA 89 */ bl __ct__6CTokenFRC6CToken -/* 800C1424 000BE384 38 00 00 00 */ li r0, 0 -/* 800C1428 000BE388 38 61 00 60 */ addi r3, r1, 0x60 -/* 800C142C 000BE38C 90 1B 00 08 */ stw r0, 8(r27) -/* 800C1430 000BE390 38 80 FF FF */ li r4, -1 -/* 800C1434 000BE394 48 27 FA 0D */ bl __dt__6CTokenFv -/* 800C1438 000BE398 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C143C 000BE39C 38 61 00 58 */ addi r3, r1, 0x58 -/* 800C1440 000BE3A0 38 BF 00 20 */ addi r5, r31, 0x20 -/* 800C1444 000BE3A4 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1448 000BE3A8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C144C 000BE3AC 7D 89 03 A6 */ mtctr r12 -/* 800C1450 000BE3B0 4E 80 04 21 */ bctrl -/* 800C1454 000BE3B4 3B 7D 00 40 */ addi r27, r29, 0x40 -/* 800C1458 000BE3B8 38 81 00 58 */ addi r4, r1, 0x58 -/* 800C145C 000BE3BC 7F 63 DB 78 */ mr r3, r27 -/* 800C1460 000BE3C0 48 27 FA 49 */ bl __ct__6CTokenFRC6CToken -/* 800C1464 000BE3C4 38 00 00 00 */ li r0, 0 -/* 800C1468 000BE3C8 38 61 00 58 */ addi r3, r1, 0x58 -/* 800C146C 000BE3CC 90 1B 00 08 */ stw r0, 8(r27) -/* 800C1470 000BE3D0 38 80 FF FF */ li r4, -1 -/* 800C1474 000BE3D4 48 27 F9 CD */ bl __dt__6CTokenFv -/* 800C1478 000BE3D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C147C 000BE3DC 38 61 00 50 */ addi r3, r1, 0x50 -/* 800C1480 000BE3E0 38 BF 00 2C */ addi r5, r31, 0x2c -/* 800C1484 000BE3E4 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1488 000BE3E8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C148C 000BE3EC 7D 89 03 A6 */ mtctr r12 -/* 800C1490 000BE3F0 4E 80 04 21 */ bctrl -/* 800C1494 000BE3F4 3B 7D 00 4C */ addi r27, r29, 0x4c -/* 800C1498 000BE3F8 38 81 00 50 */ addi r4, r1, 0x50 -/* 800C149C 000BE3FC 7F 63 DB 78 */ mr r3, r27 -/* 800C14A0 000BE400 48 27 FA 09 */ bl __ct__6CTokenFRC6CToken -/* 800C14A4 000BE404 38 00 00 00 */ li r0, 0 -/* 800C14A8 000BE408 38 61 00 50 */ addi r3, r1, 0x50 -/* 800C14AC 000BE40C 90 1B 00 08 */ stw r0, 8(r27) -/* 800C14B0 000BE410 38 80 FF FF */ li r4, -1 -/* 800C14B4 000BE414 48 27 F9 8D */ bl __dt__6CTokenFv -/* 800C14B8 000BE418 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C14BC 000BE41C 38 61 00 48 */ addi r3, r1, 0x48 -/* 800C14C0 000BE420 38 BF 00 40 */ addi r5, r31, 0x40 -/* 800C14C4 000BE424 81 84 00 00 */ lwz r12, 0(r4) -/* 800C14C8 000BE428 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C14CC 000BE42C 7D 89 03 A6 */ mtctr r12 -/* 800C14D0 000BE430 4E 80 04 21 */ bctrl -/* 800C14D4 000BE434 3B 7D 00 58 */ addi r27, r29, 0x58 -/* 800C14D8 000BE438 38 81 00 48 */ addi r4, r1, 0x48 -/* 800C14DC 000BE43C 7F 63 DB 78 */ mr r3, r27 -/* 800C14E0 000BE440 48 27 F9 C9 */ bl __ct__6CTokenFRC6CToken -/* 800C14E4 000BE444 38 00 00 00 */ li r0, 0 -/* 800C14E8 000BE448 38 61 00 48 */ addi r3, r1, 0x48 -/* 800C14EC 000BE44C 90 1B 00 08 */ stw r0, 8(r27) -/* 800C14F0 000BE450 38 80 FF FF */ li r4, -1 -/* 800C14F4 000BE454 48 27 F9 4D */ bl __dt__6CTokenFv -/* 800C14F8 000BE458 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C14FC 000BE45C 38 61 00 40 */ addi r3, r1, 0x40 -/* 800C1500 000BE460 38 BF 00 54 */ addi r5, r31, 0x54 -/* 800C1504 000BE464 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1508 000BE468 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C150C 000BE46C 7D 89 03 A6 */ mtctr r12 -/* 800C1510 000BE470 4E 80 04 21 */ bctrl -/* 800C1514 000BE474 3B 7D 00 64 */ addi r27, r29, 0x64 -/* 800C1518 000BE478 38 81 00 40 */ addi r4, r1, 0x40 -/* 800C151C 000BE47C 7F 63 DB 78 */ mr r3, r27 -/* 800C1520 000BE480 48 27 F9 89 */ bl __ct__6CTokenFRC6CToken -/* 800C1524 000BE484 38 00 00 00 */ li r0, 0 -/* 800C1528 000BE488 38 61 00 40 */ addi r3, r1, 0x40 -/* 800C152C 000BE48C 90 1B 00 08 */ stw r0, 8(r27) -/* 800C1530 000BE490 38 80 FF FF */ li r4, -1 -/* 800C1534 000BE494 48 27 F9 0D */ bl __dt__6CTokenFv -/* 800C1538 000BE498 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C153C 000BE49C 38 61 00 38 */ addi r3, r1, 0x38 -/* 800C1540 000BE4A0 38 BF 00 A4 */ addi r5, r31, 0xa4 -/* 800C1544 000BE4A4 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1548 000BE4A8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C154C 000BE4AC 7D 89 03 A6 */ mtctr r12 -/* 800C1550 000BE4B0 4E 80 04 21 */ bctrl -/* 800C1554 000BE4B4 3B 7D 00 70 */ addi r27, r29, 0x70 -/* 800C1558 000BE4B8 38 81 00 38 */ addi r4, r1, 0x38 -/* 800C155C 000BE4BC 7F 63 DB 78 */ mr r3, r27 -/* 800C1560 000BE4C0 48 27 F9 49 */ bl __ct__6CTokenFRC6CToken -/* 800C1564 000BE4C4 38 00 00 00 */ li r0, 0 -/* 800C1568 000BE4C8 38 61 00 38 */ addi r3, r1, 0x38 -/* 800C156C 000BE4CC 90 1B 00 08 */ stw r0, 8(r27) -/* 800C1570 000BE4D0 38 80 FF FF */ li r4, -1 -/* 800C1574 000BE4D4 48 27 F8 CD */ bl __dt__6CTokenFv -/* 800C1578 000BE4D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C157C 000BE4DC 38 61 00 30 */ addi r3, r1, 0x30 -/* 800C1580 000BE4E0 38 BF 00 B8 */ addi r5, r31, 0xb8 -/* 800C1584 000BE4E4 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1588 000BE4E8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C158C 000BE4EC 7D 89 03 A6 */ mtctr r12 -/* 800C1590 000BE4F0 4E 80 04 21 */ bctrl -/* 800C1594 000BE4F4 3B 7D 00 7C */ addi r27, r29, 0x7c -/* 800C1598 000BE4F8 38 81 00 30 */ addi r4, r1, 0x30 -/* 800C159C 000BE4FC 7F 63 DB 78 */ mr r3, r27 -/* 800C15A0 000BE500 48 27 F9 09 */ bl __ct__6CTokenFRC6CToken -/* 800C15A4 000BE504 38 00 00 00 */ li r0, 0 -/* 800C15A8 000BE508 38 61 00 30 */ addi r3, r1, 0x30 -/* 800C15AC 000BE50C 90 1B 00 08 */ stw r0, 8(r27) -/* 800C15B0 000BE510 38 80 FF FF */ li r4, -1 -/* 800C15B4 000BE514 48 27 F8 8D */ bl __dt__6CTokenFv -/* 800C15B8 000BE518 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C15BC 000BE51C 38 61 00 28 */ addi r3, r1, 0x28 -/* 800C15C0 000BE520 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 800C15C4 000BE524 81 84 00 00 */ lwz r12, 0(r4) -/* 800C15C8 000BE528 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C15CC 000BE52C 7D 89 03 A6 */ mtctr r12 -/* 800C15D0 000BE530 4E 80 04 21 */ bctrl -/* 800C15D4 000BE534 3B 7D 00 88 */ addi r27, r29, 0x88 -/* 800C15D8 000BE538 38 81 00 28 */ addi r4, r1, 0x28 -/* 800C15DC 000BE53C 7F 63 DB 78 */ mr r3, r27 -/* 800C15E0 000BE540 48 27 F8 C9 */ bl __ct__6CTokenFRC6CToken -/* 800C15E4 000BE544 38 00 00 00 */ li r0, 0 -/* 800C15E8 000BE548 38 61 00 28 */ addi r3, r1, 0x28 -/* 800C15EC 000BE54C 90 1B 00 08 */ stw r0, 8(r27) -/* 800C15F0 000BE550 38 80 FF FF */ li r4, -1 -/* 800C15F4 000BE554 48 27 F8 4D */ bl __dt__6CTokenFv -/* 800C15F8 000BE558 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C15FC 000BE55C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800C1600 000BE560 38 BF 00 DC */ addi r5, r31, 0xdc -/* 800C1604 000BE564 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1608 000BE568 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C160C 000BE56C 7D 89 03 A6 */ mtctr r12 -/* 800C1610 000BE570 4E 80 04 21 */ bctrl -/* 800C1614 000BE574 3B 7D 00 94 */ addi r27, r29, 0x94 -/* 800C1618 000BE578 38 81 00 20 */ addi r4, r1, 0x20 -/* 800C161C 000BE57C 7F 63 DB 78 */ mr r3, r27 -/* 800C1620 000BE580 48 27 F8 89 */ bl __ct__6CTokenFRC6CToken -/* 800C1624 000BE584 38 00 00 00 */ li r0, 0 -/* 800C1628 000BE588 38 61 00 20 */ addi r3, r1, 0x20 -/* 800C162C 000BE58C 90 1B 00 08 */ stw r0, 8(r27) -/* 800C1630 000BE590 38 80 FF FF */ li r4, -1 -/* 800C1634 000BE594 48 27 F8 0D */ bl __dt__6CTokenFv -/* 800C1638 000BE598 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C163C 000BE59C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800C1640 000BE5A0 38 BF 00 7C */ addi r5, r31, 0x7c -/* 800C1644 000BE5A4 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1648 000BE5A8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C164C 000BE5AC 7D 89 03 A6 */ mtctr r12 -/* 800C1650 000BE5B0 4E 80 04 21 */ bctrl -/* 800C1654 000BE5B4 3B 7D 00 A0 */ addi r27, r29, 0xa0 -/* 800C1658 000BE5B8 38 81 00 18 */ addi r4, r1, 0x18 -/* 800C165C 000BE5BC 7F 63 DB 78 */ mr r3, r27 -/* 800C1660 000BE5C0 48 27 F8 49 */ bl __ct__6CTokenFRC6CToken -/* 800C1664 000BE5C4 38 00 00 00 */ li r0, 0 -/* 800C1668 000BE5C8 38 61 00 18 */ addi r3, r1, 0x18 -/* 800C166C 000BE5CC 90 1B 00 08 */ stw r0, 8(r27) -/* 800C1670 000BE5D0 38 80 FF FF */ li r4, -1 -/* 800C1674 000BE5D4 48 27 F7 CD */ bl __dt__6CTokenFv -/* 800C1678 000BE5D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C167C 000BE5DC 38 61 00 10 */ addi r3, r1, 0x10 -/* 800C1680 000BE5E0 38 BF 00 EC */ addi r5, r31, 0xec -/* 800C1684 000BE5E4 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1688 000BE5E8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C168C 000BE5EC 7D 89 03 A6 */ mtctr r12 -/* 800C1690 000BE5F0 4E 80 04 21 */ bctrl -/* 800C1694 000BE5F4 3B 7D 00 AC */ addi r27, r29, 0xac -/* 800C1698 000BE5F8 38 81 00 10 */ addi r4, r1, 0x10 -/* 800C169C 000BE5FC 7F 63 DB 78 */ mr r3, r27 -/* 800C16A0 000BE600 48 27 F8 09 */ bl __ct__6CTokenFRC6CToken -/* 800C16A4 000BE604 38 00 00 00 */ li r0, 0 -/* 800C16A8 000BE608 38 61 00 10 */ addi r3, r1, 0x10 -/* 800C16AC 000BE60C 90 1B 00 08 */ stw r0, 8(r27) -/* 800C16B0 000BE610 38 80 FF FF */ li r4, -1 -/* 800C16B4 000BE614 48 27 F7 8D */ bl __dt__6CTokenFv -/* 800C16B8 000BE618 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C16BC 000BE61C 38 61 00 08 */ addi r3, r1, 8 -/* 800C16C0 000BE620 38 BF 01 00 */ addi r5, r31, 0x100 -/* 800C16C4 000BE624 81 84 00 00 */ lwz r12, 0(r4) -/* 800C16C8 000BE628 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C16CC 000BE62C 7D 89 03 A6 */ mtctr r12 -/* 800C16D0 000BE630 4E 80 04 21 */ bctrl -/* 800C16D4 000BE634 3B 7D 00 B8 */ addi r27, r29, 0xb8 -/* 800C16D8 000BE638 38 81 00 08 */ addi r4, r1, 8 -/* 800C16DC 000BE63C 7F 63 DB 78 */ mr r3, r27 -/* 800C16E0 000BE640 48 27 F7 C9 */ bl __ct__6CTokenFRC6CToken -/* 800C16E4 000BE644 38 00 00 00 */ li r0, 0 -/* 800C16E8 000BE648 38 61 00 08 */ addi r3, r1, 8 -/* 800C16EC 000BE64C 90 1B 00 08 */ stw r0, 8(r27) -/* 800C16F0 000BE650 38 80 FF FF */ li r4, -1 -/* 800C16F4 000BE654 48 27 F7 4D */ bl __dt__6CTokenFv -/* 800C16F8 000BE658 38 7D 00 C4 */ addi r3, r29, 0xc4 -/* 800C16FC 000BE65C 38 9F 00 68 */ addi r4, r31, 0x68 -/* 800C1700 000BE660 48 00 03 69 */ bl __ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc -/* 800C1704 000BE664 38 00 00 00 */ li r0, 0 -/* 800C1708 000BE668 7F A4 EB 78 */ mr r4, r29 -/* 800C170C 000BE66C 90 1D 00 E4 */ stw r0, 0xe4(r29) -/* 800C1710 000BE670 7F C5 F3 78 */ mr r5, r30 -/* 800C1714 000BE674 38 61 00 74 */ addi r3, r1, 0x74 -/* 800C1718 000BE678 38 C0 00 00 */ li r6, 0 -/* 800C171C 000BE67C 90 1D 00 E8 */ stw r0, 0xe8(r29) -/* 800C1720 000BE680 90 1D 00 EC */ stw r0, 0xec(r29) -/* 800C1724 000BE684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800C1728 000BE688 B0 1D 00 F0 */ sth r0, 0xf0(r29) -/* 800C172C 000BE68C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800C1730 000BE690 B0 1D 00 F2 */ sth r0, 0xf2(r29) -/* 800C1734 000BE694 4B FF BA 55 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb -/* 800C1738 000BE698 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 800C173C 000BE69C 7F A4 EB 78 */ mr r4, r29 -/* 800C1740 000BE6A0 7F C5 F3 78 */ mr r5, r30 -/* 800C1744 000BE6A4 38 61 00 68 */ addi r3, r1, 0x68 -/* 800C1748 000BE6A8 D0 1D 00 F4 */ stfs f0, 0xf4(r29) -/* 800C174C 000BE6AC 38 C0 00 01 */ li r6, 1 -/* 800C1750 000BE6B0 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 800C1754 000BE6B4 D0 1D 00 F8 */ stfs f0, 0xf8(r29) -/* 800C1758 000BE6B8 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 800C175C 000BE6BC D0 1D 00 FC */ stfs f0, 0xfc(r29) -/* 800C1760 000BE6C0 4B FF BA 29 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb -/* 800C1764 000BE6C4 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 800C1768 000BE6C8 3C 60 80 47 */ lis r3, lbl_8046C450@ha -/* 800C176C 000BE6CC 38 C3 C4 50 */ addi r6, r3, lbl_8046C450@l -/* 800C1770 000BE6D0 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2) -/* 800C1774 000BE6D4 D0 1D 01 00 */ stfs f0, 0x100(r29) -/* 800C1778 000BE6D8 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 800C177C 000BE6DC D0 1D 01 04 */ stfs f0, 0x104(r29) -/* 800C1780 000BE6E0 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 800C1784 000BE6E4 D0 1D 01 08 */ stfs f0, 0x108(r29) -/* 800C1788 000BE6E8 A0 06 00 00 */ lhz r0, 0(r6) -/* 800C178C 000BE6EC B0 1D 01 0C */ sth r0, 0x10c(r29) -/* 800C1790 000BE6F0 C0 06 00 04 */ lfs f0, 4(r6) -/* 800C1794 000BE6F4 D0 1D 01 10 */ stfs f0, 0x110(r29) -/* 800C1798 000BE6F8 C0 06 00 08 */ lfs f0, 8(r6) -/* 800C179C 000BE6FC D0 1D 01 14 */ stfs f0, 0x114(r29) -/* 800C17A0 000BE700 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 800C17A4 000BE704 D0 1D 01 18 */ stfs f0, 0x118(r29) -/* 800C17A8 000BE708 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 800C17AC 000BE70C D0 1D 01 1C */ stfs f0, 0x11c(r29) -/* 800C17B0 000BE710 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 800C17B4 000BE714 D0 1D 01 20 */ stfs f0, 0x120(r29) -/* 800C17B8 000BE718 C0 06 00 18 */ lfs f0, 0x18(r6) -/* 800C17BC 000BE71C D0 1D 01 24 */ stfs f0, 0x124(r29) -/* 800C17C0 000BE720 88 06 00 1C */ lbz r0, 0x1c(r6) -/* 800C17C4 000BE724 98 1D 01 28 */ stb r0, 0x128(r29) -/* 800C17C8 000BE728 A0 06 00 00 */ lhz r0, 0(r6) -/* 800C17CC 000BE72C B0 1D 01 2C */ sth r0, 0x12c(r29) -/* 800C17D0 000BE730 C0 06 00 04 */ lfs f0, 4(r6) -/* 800C17D4 000BE734 D0 1D 01 30 */ stfs f0, 0x130(r29) -/* 800C17D8 000BE738 C0 06 00 08 */ lfs f0, 8(r6) -/* 800C17DC 000BE73C D0 1D 01 34 */ stfs f0, 0x134(r29) -/* 800C17E0 000BE740 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 800C17E4 000BE744 D0 1D 01 38 */ stfs f0, 0x138(r29) -/* 800C17E8 000BE748 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 800C17EC 000BE74C D0 1D 01 3C */ stfs f0, 0x13c(r29) -/* 800C17F0 000BE750 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 800C17F4 000BE754 D0 1D 01 40 */ stfs f0, 0x140(r29) -/* 800C17F8 000BE758 C0 06 00 18 */ lfs f0, 0x18(r6) -/* 800C17FC 000BE75C D0 1D 01 44 */ stfs f0, 0x144(r29) -/* 800C1800 000BE760 88 06 00 1C */ lbz r0, 0x1c(r6) -/* 800C1804 000BE764 98 1D 01 48 */ stb r0, 0x148(r29) -/* 800C1808 000BE768 A0 06 00 00 */ lhz r0, 0(r6) -/* 800C180C 000BE76C B0 1D 01 4C */ sth r0, 0x14c(r29) -/* 800C1810 000BE770 C0 06 00 04 */ lfs f0, 4(r6) -/* 800C1814 000BE774 D0 1D 01 50 */ stfs f0, 0x150(r29) -/* 800C1818 000BE778 C0 06 00 08 */ lfs f0, 8(r6) -/* 800C181C 000BE77C D0 1D 01 54 */ stfs f0, 0x154(r29) -/* 800C1820 000BE780 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 800C1824 000BE784 D0 1D 01 58 */ stfs f0, 0x158(r29) -/* 800C1828 000BE788 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 800C182C 000BE78C D0 1D 01 5C */ stfs f0, 0x15c(r29) -/* 800C1830 000BE790 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 800C1834 000BE794 D0 1D 01 60 */ stfs f0, 0x160(r29) -/* 800C1838 000BE798 C0 06 00 18 */ lfs f0, 0x18(r6) -/* 800C183C 000BE79C D0 1D 01 64 */ stfs f0, 0x164(r29) -/* 800C1840 000BE7A0 88 06 00 1C */ lbz r0, 0x1c(r6) -/* 800C1844 000BE7A4 98 1D 01 68 */ stb r0, 0x168(r29) -/* 800C1848 000BE7A8 D0 3D 01 6C */ stfs f1, 0x16c(r29) -/* 800C184C 000BE7AC D0 3D 01 70 */ stfs f1, 0x170(r29) -/* 800C1850 000BE7B0 A0 06 00 00 */ lhz r0, 0(r6) -/* 800C1854 000BE7B4 B0 1D 01 74 */ sth r0, 0x174(r29) -/* 800C1858 000BE7B8 C0 06 00 04 */ lfs f0, 4(r6) -/* 800C185C 000BE7BC D0 1D 01 78 */ stfs f0, 0x178(r29) -/* 800C1860 000BE7C0 C0 06 00 08 */ lfs f0, 8(r6) -/* 800C1864 000BE7C4 D0 1D 01 7C */ stfs f0, 0x17c(r29) -/* 800C1868 000BE7C8 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 800C186C 000BE7CC D0 1D 01 80 */ stfs f0, 0x180(r29) -/* 800C1870 000BE7D0 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 800C1874 000BE7D4 D0 1D 01 84 */ stfs f0, 0x184(r29) -/* 800C1878 000BE7D8 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 800C187C 000BE7DC D0 1D 01 88 */ stfs f0, 0x188(r29) -/* 800C1880 000BE7E0 C0 06 00 18 */ lfs f0, 0x18(r6) -/* 800C1884 000BE7E4 D0 1D 01 8C */ stfs f0, 0x18c(r29) -/* 800C1888 000BE7E8 88 A6 00 1C */ lbz r5, 0x1c(r6) -/* 800C188C 000BE7EC 38 00 00 00 */ li r0, 0 -/* 800C1890 000BE7F0 38 7D 00 E0 */ addi r3, r29, 0xe0 -/* 800C1894 000BE7F4 38 80 00 09 */ li r4, 9 -/* 800C1898 000BE7F8 98 BD 01 90 */ stb r5, 0x190(r29) -/* 800C189C 000BE7FC A0 A6 00 00 */ lhz r5, 0(r6) -/* 800C18A0 000BE800 B0 BD 01 94 */ sth r5, 0x194(r29) -/* 800C18A4 000BE804 C0 06 00 04 */ lfs f0, 4(r6) -/* 800C18A8 000BE808 D0 1D 01 98 */ stfs f0, 0x198(r29) -/* 800C18AC 000BE80C C0 06 00 08 */ lfs f0, 8(r6) -/* 800C18B0 000BE810 D0 1D 01 9C */ stfs f0, 0x19c(r29) -/* 800C18B4 000BE814 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 800C18B8 000BE818 D0 1D 01 A0 */ stfs f0, 0x1a0(r29) -/* 800C18BC 000BE81C C0 06 00 10 */ lfs f0, 0x10(r6) -/* 800C18C0 000BE820 D0 1D 01 A4 */ stfs f0, 0x1a4(r29) -/* 800C18C4 000BE824 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 800C18C8 000BE828 D0 1D 01 A8 */ stfs f0, 0x1a8(r29) -/* 800C18CC 000BE82C C0 06 00 18 */ lfs f0, 0x18(r6) -/* 800C18D0 000BE830 D0 1D 01 AC */ stfs f0, 0x1ac(r29) -/* 800C18D4 000BE834 88 A6 00 1C */ lbz r5, 0x1c(r6) -/* 800C18D8 000BE838 98 BD 01 B0 */ stb r5, 0x1b0(r29) -/* 800C18DC 000BE83C A0 A6 00 00 */ lhz r5, 0(r6) -/* 800C18E0 000BE840 B0 BD 01 B4 */ sth r5, 0x1b4(r29) -/* 800C18E4 000BE844 C0 06 00 04 */ lfs f0, 4(r6) -/* 800C18E8 000BE848 D0 1D 01 B8 */ stfs f0, 0x1b8(r29) -/* 800C18EC 000BE84C C0 06 00 08 */ lfs f0, 8(r6) -/* 800C18F0 000BE850 D0 1D 01 BC */ stfs f0, 0x1bc(r29) -/* 800C18F4 000BE854 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 800C18F8 000BE858 D0 1D 01 C0 */ stfs f0, 0x1c0(r29) -/* 800C18FC 000BE85C C0 06 00 10 */ lfs f0, 0x10(r6) -/* 800C1900 000BE860 D0 1D 01 C4 */ stfs f0, 0x1c4(r29) -/* 800C1904 000BE864 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 800C1908 000BE868 D0 1D 01 C8 */ stfs f0, 0x1c8(r29) -/* 800C190C 000BE86C C0 06 00 18 */ lfs f0, 0x18(r6) -/* 800C1910 000BE870 D0 1D 01 CC */ stfs f0, 0x1cc(r29) -/* 800C1914 000BE874 88 A6 00 1C */ lbz r5, 0x1c(r6) -/* 800C1918 000BE878 98 BD 01 D0 */ stb r5, 0x1d0(r29) -/* 800C191C 000BE87C D0 3D 01 D4 */ stfs f1, 0x1d4(r29) -/* 800C1920 000BE880 D0 3D 01 D8 */ stfs f1, 0x1d8(r29) -/* 800C1924 000BE884 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 800C1928 000BE888 B0 BD 01 DC */ sth r5, 0x1dc(r29) -/* 800C192C 000BE88C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 800C1930 000BE890 B0 BD 01 DE */ sth r5, 0x1de(r29) -/* 800C1934 000BE894 D0 3D 01 E0 */ stfs f1, 0x1e0(r29) -/* 800C1938 000BE898 D0 3D 01 E4 */ stfs f1, 0x1e4(r29) -/* 800C193C 000BE89C D0 3D 01 E8 */ stfs f1, 0x1e8(r29) -/* 800C1940 000BE8A0 D0 3D 01 EC */ stfs f1, 0x1ec(r29) -/* 800C1944 000BE8A4 D0 3D 01 F0 */ stfs f1, 0x1f0(r29) -/* 800C1948 000BE8A8 98 1D 01 F4 */ stb r0, 0x1f4(r29) -/* 800C194C 000BE8AC D0 3D 01 F8 */ stfs f1, 0x1f8(r29) -/* 800C1950 000BE8B0 D0 3D 01 FC */ stfs f1, 0x1fc(r29) -/* 800C1954 000BE8B4 90 1D 02 00 */ stw r0, 0x200(r29) -/* 800C1958 000BE8B8 D0 3D 02 04 */ stfs f1, 0x204(r29) -/* 800C195C 000BE8BC 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13) -/* 800C1960 000BE8C0 C0 05 00 D0 */ lfs f0, 0xd0(r5) -/* 800C1964 000BE8C4 D0 1D 02 08 */ stfs f0, 0x208(r29) -/* 800C1968 000BE8C8 D0 3D 02 0C */ stfs f1, 0x20c(r29) -/* 800C196C 000BE8CC D0 3D 02 10 */ stfs f1, 0x210(r29) -/* 800C1970 000BE8D0 D0 3D 02 14 */ stfs f1, 0x214(r29) -/* 800C1974 000BE8D4 98 1D 02 18 */ stb r0, 0x218(r29) -/* 800C1978 000BE8D8 98 1D 02 19 */ stb r0, 0x219(r29) -/* 800C197C 000BE8DC 98 1D 02 1A */ stb r0, 0x21a(r29) -/* 800C1980 000BE8E0 48 00 02 15 */ bl "reserve__Q24rstl77vectorFi" -/* 800C1984 000BE8E4 3C 60 80 3D */ lis r3, lbl_803CE008@ha -/* 800C1988 000BE8E8 3B 60 00 00 */ li r27, 0 -/* 800C198C 000BE8EC 3B C3 E0 08 */ addi r30, r3, lbl_803CE008@l -lbl_800C1990: -/* 800C1990 000BE8F0 7F C4 F3 78 */ mr r4, r30 -/* 800C1994 000BE8F4 7F 66 DB 78 */ mr r6, r27 -/* 800C1998 000BE8F8 38 61 00 BC */ addi r3, r1, 0xbc -/* 800C199C 000BE8FC 38 BF 00 94 */ addi r5, r31, 0x94 -/* 800C19A0 000BE900 4C C6 31 82 */ crclr 6 -/* 800C19A4 000BE904 48 2C C3 39 */ bl sprintf -/* 800C19A8 000BE908 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800C19AC 000BE90C 38 81 00 BC */ addi r4, r1, 0xbc -/* 800C19B0 000BE910 48 00 00 B9 */ bl __ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc -/* 800C19B4 000BE914 80 1D 00 E4 */ lwz r0, 0xe4(r29) -/* 800C19B8 000BE918 80 BD 00 E8 */ lwz r5, 0xe8(r29) -/* 800C19BC 000BE91C 7C 00 28 00 */ cmpw r0, r5 -/* 800C19C0 000BE920 41 80 00 1C */ blt lbl_800C19DC -/* 800C19C4 000BE924 2C 05 00 00 */ cmpwi r5, 0 -/* 800C19C8 000BE928 38 7D 00 E0 */ addi r3, r29, 0xe0 -/* 800C19CC 000BE92C 38 80 00 04 */ li r4, 4 -/* 800C19D0 000BE930 41 82 00 08 */ beq lbl_800C19D8 -/* 800C19D4 000BE934 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800C19D8: -/* 800C19D8 000BE938 48 00 01 BD */ bl "reserve__Q24rstl77vectorFi" -lbl_800C19DC: -/* 800C19DC 000BE93C 80 1D 00 E4 */ lwz r0, 0xe4(r29) -/* 800C19E0 000BE940 80 7D 00 EC */ lwz r3, 0xec(r29) -/* 800C19E4 000BE944 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 800C19E8 000BE948 7F 83 02 15 */ add. r28, r3, r0 -/* 800C19EC 000BE94C 41 82 00 38 */ beq lbl_800C1A24 -/* 800C19F0 000BE950 7F 83 E3 78 */ mr r3, r28 -/* 800C19F4 000BE954 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 800C19F8 000BE958 48 27 F4 B1 */ bl __ct__6CTokenFRC6CToken -/* 800C19FC 000BE95C 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 800C1A00 000BE960 90 1C 00 08 */ stw r0, 8(r28) -/* 800C1A04 000BE964 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 800C1A08 000BE968 D0 1C 00 0C */ stfs f0, 0xc(r28) -/* 800C1A0C 000BE96C C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 800C1A10 000BE970 D0 1C 00 10 */ stfs f0, 0x10(r28) -/* 800C1A14 000BE974 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 800C1A18 000BE978 D0 1C 00 14 */ stfs f0, 0x14(r28) -/* 800C1A1C 000BE97C C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 800C1A20 000BE980 D0 1C 00 18 */ stfs f0, 0x18(r28) -lbl_800C1A24: -/* 800C1A24 000BE984 80 BD 00 E4 */ lwz r5, 0xe4(r29) -/* 800C1A28 000BE988 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800C1A2C 000BE98C 38 80 00 00 */ li r4, 0 -/* 800C1A30 000BE990 38 05 00 01 */ addi r0, r5, 1 -/* 800C1A34 000BE994 90 1D 00 E4 */ stw r0, 0xe4(r29) -/* 800C1A38 000BE998 48 27 F4 09 */ bl __dt__6CTokenFv -/* 800C1A3C 000BE99C 3B 7B 00 01 */ addi r27, r27, 1 -/* 800C1A40 000BE9A0 2C 1B 00 09 */ cmpwi r27, 9 -/* 800C1A44 000BE9A4 41 80 FF 4C */ blt lbl_800C1990 -/* 800C1A48 000BE9A8 38 7D 00 34 */ addi r3, r29, 0x34 -/* 800C1A4C 000BE9AC 48 27 F3 39 */ bl Lock__6CTokenFv -/* 800C1A50 000BE9B0 7F A3 EB 78 */ mr r3, r29 -/* 800C1A54 000BE9B4 BB 61 01 0C */ lmw r27, 0x10c(r1) -/* 800C1A58 000BE9B8 80 01 01 24 */ lwz r0, 0x124(r1) -/* 800C1A5C 000BE9BC 7C 08 03 A6 */ mtlr r0 -/* 800C1A60 000BE9C0 38 21 01 20 */ addi r1, r1, 0x120 -/* 800C1A64 000BE9C4 4E 80 00 20 */ blr - -.global __ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc -__ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc: -/* 800C1A68 000BE9C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800C1A6C 000BE9CC 7C 08 02 A6 */ mflr r0 -/* 800C1A70 000BE9D0 7C 85 23 78 */ mr r5, r4 -/* 800C1A74 000BE9D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800C1A78 000BE9D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800C1A7C 000BE9DC 7C 7F 1B 78 */ mr r31, r3 -/* 800C1A80 000BE9E0 38 61 00 08 */ addi r3, r1, 8 -/* 800C1A84 000BE9E4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C1A88 000BE9E8 81 84 00 00 */ lwz r12, 0(r4) -/* 800C1A8C 000BE9EC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800C1A90 000BE9F0 7D 89 03 A6 */ mtctr r12 -/* 800C1A94 000BE9F4 4E 80 04 21 */ bctrl -/* 800C1A98 000BE9F8 7F E3 FB 78 */ mr r3, r31 -/* 800C1A9C 000BE9FC 38 81 00 08 */ addi r4, r1, 8 -/* 800C1AA0 000BEA00 48 27 F4 09 */ bl __ct__6CTokenFRC6CToken -/* 800C1AA4 000BEA04 38 00 00 00 */ li r0, 0 -/* 800C1AA8 000BEA08 38 61 00 08 */ addi r3, r1, 8 -/* 800C1AAC 000BEA0C 90 1F 00 08 */ stw r0, 8(r31) -/* 800C1AB0 000BEA10 38 80 FF FF */ li r4, -1 -/* 800C1AB4 000BEA14 48 27 F3 8D */ bl __dt__6CTokenFv -/* 800C1AB8 000BEA18 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2) -/* 800C1ABC 000BEA1C 7F E3 FB 78 */ mr r3, r31 -/* 800C1AC0 000BEA20 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 800C1AC4 000BEA24 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 800C1AC8 000BEA28 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 800C1ACC 000BEA2C D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 800C1AD0 000BEA30 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800C1AD4 000BEA34 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800C1AD8 000BEA38 7C 08 03 A6 */ mtlr r0 -/* 800C1ADC 000BEA3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800C1AE0 000BEA40 4E 80 00 20 */ blr - -.global calculate_premultiplied_overshoot_offset__Ff -calculate_premultiplied_overshoot_offset__Ff: -/* 800C1AE4 000BEA44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800C1AE8 000BEA48 7C 08 02 A6 */ mflr r0 -/* 800C1AEC 000BEA4C C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2) -/* 800C1AF0 000BEA50 90 01 00 14 */ stw r0, 0x14(r1) -/* 800C1AF4 000BEA54 EC 20 08 24 */ fdivs f1, f0, f1 -/* 800C1AF8 000BEA58 48 2D 31 55 */ bl asin -/* 800C1AFC 000BEA5C FC 40 08 18 */ frsp f2, f1 -/* 800C1B00 000BEA60 C0 02 8D C4 */ lfs f0, lbl_805AAAE4@sda21(r2) -/* 800C1B04 000BEA64 C0 22 8D A8 */ lfs f1, lbl_805AAAC8@sda21(r2) -/* 800C1B08 000BEA68 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800C1B0C 000BEA6C EC 21 00 32 */ fmuls f1, f1, f0 -/* 800C1B10 000BEA70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800C1B14 000BEA74 7C 08 03 A6 */ mtlr r0 -/* 800C1B18 000BEA78 38 21 00 10 */ addi r1, r1, 0x10 -/* 800C1B1C 000BEA7C 4E 80 00 20 */ blr - -.global offshoot_func__Ffff -offshoot_func__Ffff: -/* 800C1B20 000BEA80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800C1B24 000BEA84 7C 08 02 A6 */ mflr r0 -/* 800C1B28 000BEA88 90 01 00 24 */ stw r0, 0x24(r1) -/* 800C1B2C 000BEA8C DB E1 00 10 */ stfd f31, 0x10(r1) -/* 800C1B30 000BEA90 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 800C1B34 000BEA94 C0 02 8D 64 */ lfs f0, lbl_805AAA84@sda21(r2) -/* 800C1B38 000BEA98 FF E0 08 90 */ fmr f31, f1 -/* 800C1B3C 000BEA9C EC 03 00 28 */ fsubs f0, f3, f0 -/* 800C1B40 000BEAA0 EC 20 00 B2 */ fmuls f1, f0, f2 -/* 800C1B44 000BEAA4 48 25 32 AD */ bl FastSinR__5CMathFf -/* 800C1B48 000BEAA8 C0 02 8D 64 */ lfs f0, lbl_805AAA84@sda21(r2) -/* 800C1B4C 000BEAAC EC 3F 00 7A */ fmadds f1, f31, f1, f0 -/* 800C1B50 000BEAB0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 800C1B54 000BEAB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800C1B58 000BEAB8 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 800C1B5C 000BEABC 7C 08 03 A6 */ mtlr r0 -/* 800C1B60 000BEAC0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800C1B64 000BEAC4 4E 80 00 20 */ blr - -.global IsDamageOrbit__F19EPlayerOrbitRequest -IsDamageOrbit__F19EPlayerOrbitRequest: -/* 800C1B68 000BEAC8 2C 03 00 08 */ cmpwi r3, 8 -/* 800C1B6C 000BEACC 40 80 00 10 */ bge lbl_800C1B7C -/* 800C1B70 000BEAD0 2C 03 00 05 */ cmpwi r3, 5 -/* 800C1B74 000BEAD4 41 82 00 10 */ beq lbl_800C1B84 -/* 800C1B78 000BEAD8 48 00 00 14 */ b lbl_800C1B8C -lbl_800C1B7C: -/* 800C1B7C 000BEADC 2C 03 00 0C */ cmpwi r3, 0xc -/* 800C1B80 000BEAE0 40 80 00 0C */ bge lbl_800C1B8C -lbl_800C1B84: -/* 800C1B84 000BEAE4 38 60 00 01 */ li r3, 1 -/* 800C1B88 000BEAE8 4E 80 00 20 */ blr -lbl_800C1B8C: -/* 800C1B8C 000BEAEC 38 60 00 00 */ li r3, 0 -/* 800C1B90 000BEAF0 4E 80 00 20 */ blr - -.global "reserve__Q24rstl77vectorFi" -"reserve__Q24rstl77vectorFi": -/* 800C1B94 000BEAF4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800C1B98 000BEAF8 7C 08 02 A6 */ mflr r0 -/* 800C1B9C 000BEAFC 90 01 00 34 */ stw r0, 0x34(r1) -/* 800C1BA0 000BEB00 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 800C1BA4 000BEB04 7C 9F 23 78 */ mr r31, r4 -/* 800C1BA8 000BEB08 7C 7E 1B 78 */ mr r30, r3 -/* 800C1BAC 000BEB0C 80 03 00 08 */ lwz r0, 8(r3) -/* 800C1BB0 000BEB10 7C 1F 00 00 */ cmpw r31, r0 -/* 800C1BB4 000BEB14 40 81 00 F8 */ ble lbl_800C1CAC -/* 800C1BB8 000BEB18 1C 7F 00 1C */ mulli r3, r31, 0x1c -/* 800C1BBC 000BEB1C 2C 03 00 00 */ cmpwi r3, 0 -/* 800C1BC0 000BEB20 40 82 00 0C */ bne lbl_800C1BCC -/* 800C1BC4 000BEB24 3B 80 00 00 */ li r28, 0 -/* 800C1BC8 000BEB28 48 00 00 1C */ b lbl_800C1BE4 -lbl_800C1BCC: -/* 800C1BCC 000BEB2C 3C 80 80 3D */ lis r4, lbl_803CE008@ha -/* 800C1BD0 000BEB30 38 A0 00 00 */ li r5, 0 -/* 800C1BD4 000BEB34 38 84 E0 08 */ addi r4, r4, lbl_803CE008@l -/* 800C1BD8 000BEB38 38 84 00 05 */ addi r4, r4, 5 -/* 800C1BDC 000BEB3C 48 25 3C 3D */ bl __nwa__FUlPCcPCc -/* 800C1BE0 000BEB40 7C 7C 1B 78 */ mr r28, r3 -lbl_800C1BE4: -/* 800C1BE4 000BEB44 80 1E 00 04 */ lwz r0, 4(r30) -/* 800C1BE8 000BEB48 7F 9B E3 78 */ mr r27, r28 -/* 800C1BEC 000BEB4C 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 800C1BF0 000BEB50 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 800C1BF4 000BEB54 93 41 00 10 */ stw r26, 0x10(r1) -/* 800C1BF8 000BEB58 7F BA 02 14 */ add r29, r26, r0 -/* 800C1BFC 000BEB5C 93 41 00 14 */ stw r26, 0x14(r1) -/* 800C1C00 000BEB60 93 A1 00 08 */ stw r29, 8(r1) -/* 800C1C04 000BEB64 93 A1 00 0C */ stw r29, 0xc(r1) -/* 800C1C08 000BEB68 48 00 00 48 */ b lbl_800C1C50 -lbl_800C1C0C: -/* 800C1C0C 000BEB6C 28 1B 00 00 */ cmplwi r27, 0 -/* 800C1C10 000BEB70 41 82 00 38 */ beq lbl_800C1C48 -/* 800C1C14 000BEB74 7F 63 DB 78 */ mr r3, r27 -/* 800C1C18 000BEB78 7F 44 D3 78 */ mr r4, r26 -/* 800C1C1C 000BEB7C 48 27 F2 8D */ bl __ct__6CTokenFRC6CToken -/* 800C1C20 000BEB80 80 1A 00 08 */ lwz r0, 8(r26) -/* 800C1C24 000BEB84 90 1B 00 08 */ stw r0, 8(r27) -/* 800C1C28 000BEB88 C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 800C1C2C 000BEB8C D0 1B 00 0C */ stfs f0, 0xc(r27) -/* 800C1C30 000BEB90 C0 1A 00 10 */ lfs f0, 0x10(r26) -/* 800C1C34 000BEB94 D0 1B 00 10 */ stfs f0, 0x10(r27) -/* 800C1C38 000BEB98 C0 1A 00 14 */ lfs f0, 0x14(r26) -/* 800C1C3C 000BEB9C D0 1B 00 14 */ stfs f0, 0x14(r27) -/* 800C1C40 000BEBA0 C0 1A 00 18 */ lfs f0, 0x18(r26) -/* 800C1C44 000BEBA4 D0 1B 00 18 */ stfs f0, 0x18(r27) -lbl_800C1C48: -/* 800C1C48 000BEBA8 3B 7B 00 1C */ addi r27, r27, 0x1c -/* 800C1C4C 000BEBAC 3B 5A 00 1C */ addi r26, r26, 0x1c -lbl_800C1C50: -/* 800C1C50 000BEBB0 7C 1A E8 40 */ cmplw r26, r29 -/* 800C1C54 000BEBB4 40 82 FF B8 */ bne lbl_800C1C0C -/* 800C1C58 000BEBB8 80 1E 00 04 */ lwz r0, 4(r30) -/* 800C1C5C 000BEBBC 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 800C1C60 000BEBC0 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 800C1C64 000BEBC4 7F 7A 02 14 */ add r27, r26, r0 -/* 800C1C68 000BEBC8 48 00 00 24 */ b lbl_800C1C8C -lbl_800C1C6C: -/* 800C1C6C 000BEBCC 28 1A 00 00 */ cmplwi r26, 0 -/* 800C1C70 000BEBD0 41 82 00 18 */ beq lbl_800C1C88 -/* 800C1C74 000BEBD4 41 82 00 14 */ beq lbl_800C1C88 -/* 800C1C78 000BEBD8 41 82 00 10 */ beq lbl_800C1C88 -/* 800C1C7C 000BEBDC 7F 43 D3 78 */ mr r3, r26 -/* 800C1C80 000BEBE0 38 80 00 00 */ li r4, 0 -/* 800C1C84 000BEBE4 48 27 F1 BD */ bl __dt__6CTokenFv -lbl_800C1C88: -/* 800C1C88 000BEBE8 3B 5A 00 1C */ addi r26, r26, 0x1c -lbl_800C1C8C: -/* 800C1C8C 000BEBEC 7C 1A D8 40 */ cmplw r26, r27 -/* 800C1C90 000BEBF0 40 82 FF DC */ bne lbl_800C1C6C -/* 800C1C94 000BEBF4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 800C1C98 000BEBF8 28 03 00 00 */ cmplwi r3, 0 -/* 800C1C9C 000BEBFC 41 82 00 08 */ beq lbl_800C1CA4 -/* 800C1CA0 000BEC00 48 25 3C 91 */ bl Free__7CMemoryFPCv -lbl_800C1CA4: -/* 800C1CA4 000BEC04 93 9E 00 0C */ stw r28, 0xc(r30) -/* 800C1CA8 000BEC08 93 FE 00 08 */ stw r31, 8(r30) -lbl_800C1CAC: -/* 800C1CAC 000BEC0C BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800C1CB0 000BEC10 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800C1CB4 000BEC14 7C 08 03 A6 */ mtlr r0 -/* 800C1CB8 000BEC18 38 21 00 30 */ addi r1, r1, 0x30 -/* 800C1CBC 000BEC1C 4E 80 00 20 */ blr - -.global __sinit_CTargetReticles_cpp -__sinit_CTargetReticles_cpp: -/* 800C1CC0 000BEC20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800C1CC4 000BEC24 7C 08 02 A6 */ mflr r0 -/* 800C1CC8 000BEC28 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800C1CCC 000BEC2C C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2) -/* 800C1CD0 000BEC30 90 01 00 24 */ stw r0, 0x24(r1) -/* 800C1CD4 000BEC34 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 800C1CD8 000BEC38 3C 60 80 47 */ lis r3, lbl_8046C450@ha -/* 800C1CDC 000BEC3C FC 60 08 90 */ fmr f3, f1 -/* 800C1CE0 000BEC40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800C1CE4 000BEC44 38 63 C4 50 */ addi r3, r3, lbl_8046C450@l -/* 800C1CE8 000BEC48 80 A6 00 00 */ lwz r5, 0(r6) -/* 800C1CEC 000BEC4C 80 86 00 04 */ lwz r4, 4(r6) -/* 800C1CF0 000BEC50 80 E6 00 08 */ lwz r7, 8(r6) -/* 800C1CF4 000BEC54 38 C0 00 01 */ li r6, 1 -/* 800C1CF8 000BEC58 90 A1 00 0C */ stw r5, 0xc(r1) -/* 800C1CFC 000BEC5C 38 A1 00 0C */ addi r5, r1, 0xc -/* 800C1D00 000BEC60 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2) -/* 800C1D04 000BEC64 90 81 00 10 */ stw r4, 0x10(r1) -/* 800C1D08 000BEC68 38 81 00 08 */ addi r4, r1, 8 -/* 800C1D0C 000BEC6C 90 E1 00 14 */ stw r7, 0x14(r1) -/* 800C1D10 000BEC70 B0 01 00 08 */ sth r0, 8(r1) -/* 800C1D14 000BEC74 4B FF B2 55 */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb -/* 800C1D18 000BEC78 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800C1D1C 000BEC7C 7C 08 03 A6 */ mtlr r0 -/* 800C1D20 000BEC80 38 21 00 20 */ addi r1, r1, 0x20 -/* 800C1D24 000BEC84 4E 80 00 20 */ blr - -.global GetNumActive__10CWeaponMgrCF9TUniqueId11EWeaponType -GetNumActive__10CWeaponMgrCF9TUniqueId11EWeaponType: -/* 800C1D28 000BEC88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800C1D2C 000BEC8C 38 E0 00 00 */ li r7, 0 -/* 800C1D30 000BEC90 A0 04 00 00 */ lhz r0, 0(r4) -/* 800C1D34 000BEC94 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 800C1D38 000BEC98 B0 01 00 08 */ sth r0, 8(r1) -/* 800C1D3C 000BEC9C 54 00 04 3E */ clrlwi r0, r0, 0x10 -/* 800C1D40 000BECA0 48 00 00 20 */ b lbl_800C1D60 -lbl_800C1D44: -/* 800C1D44 000BECA4 A0 86 00 10 */ lhz r4, 0x10(r6) -/* 800C1D48 000BECA8 7C 04 00 40 */ cmplw r4, r0 -/* 800C1D4C 000BECAC 41 80 00 10 */ blt lbl_800C1D5C -/* 800C1D50 000BECB0 7C C7 33 78 */ mr r7, r6 -/* 800C1D54 000BECB4 80 C6 00 00 */ lwz r6, 0(r6) -/* 800C1D58 000BECB8 48 00 00 08 */ b lbl_800C1D60 -lbl_800C1D5C: -/* 800C1D5C 000BECBC 80 C6 00 04 */ lwz r6, 4(r6) -lbl_800C1D60: -/* 800C1D60 000BECC0 28 06 00 00 */ cmplwi r6, 0 -/* 800C1D64 000BECC4 40 82 FF E0 */ bne lbl_800C1D44 -/* 800C1D68 000BECC8 28 07 00 00 */ cmplwi r7, 0 -/* 800C1D6C 000BECCC 38 C0 00 00 */ li r6, 0 -/* 800C1D70 000BECD0 41 82 00 14 */ beq lbl_800C1D84 -/* 800C1D74 000BECD4 A0 81 00 08 */ lhz r4, 8(r1) -/* 800C1D78 000BECD8 A0 07 00 10 */ lhz r0, 0x10(r7) -/* 800C1D7C 000BECDC 7C 04 00 40 */ cmplw r4, r0 -/* 800C1D80 000BECE0 40 80 00 08 */ bge lbl_800C1D88 -lbl_800C1D84: -/* 800C1D84 000BECE4 38 C0 00 01 */ li r6, 1 -lbl_800C1D88: -/* 800C1D88 000BECE8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 800C1D8C 000BECEC 41 82 00 08 */ beq lbl_800C1D94 -/* 800C1D90 000BECF0 38 E0 00 00 */ li r7, 0 -lbl_800C1D94: -/* 800C1D94 000BECF4 28 07 00 00 */ cmplwi r7, 0 -/* 800C1D98 000BECF8 38 63 00 08 */ addi r3, r3, 8 -/* 800C1D9C 000BECFC 38 00 00 00 */ li r0, 0 -/* 800C1DA0 000BED00 40 82 00 0C */ bne lbl_800C1DAC -/* 800C1DA4 000BED04 7C 03 18 40 */ cmplw r3, r3 -/* 800C1DA8 000BED08 41 82 00 08 */ beq lbl_800C1DB0 -lbl_800C1DAC: -/* 800C1DAC 000BED0C 38 00 00 01 */ li r0, 1 -lbl_800C1DB0: -/* 800C1DB0 000BED10 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800C1DB4 000BED14 41 82 00 0C */ beq lbl_800C1DC0 -/* 800C1DB8 000BED18 38 67 00 14 */ addi r3, r7, 0x14 -/* 800C1DBC 000BED1C 48 00 00 08 */ b lbl_800C1DC4 -lbl_800C1DC0: -/* 800C1DC0 000BED20 38 60 00 00 */ li r3, 0 -lbl_800C1DC4: -/* 800C1DC4 000BED24 28 03 00 00 */ cmplwi r3, 0 -/* 800C1DC8 000BED28 41 82 00 14 */ beq lbl_800C1DDC -/* 800C1DCC 000BED2C 54 A0 10 3A */ slwi r0, r5, 2 -/* 800C1DD0 000BED30 7C 63 02 14 */ add r3, r3, r0 -/* 800C1DD4 000BED34 80 63 00 04 */ lwz r3, 4(r3) -/* 800C1DD8 000BED38 48 00 00 08 */ b lbl_800C1DE0 -lbl_800C1DDC: -/* 800C1DDC 000BED3C 38 60 00 00 */ li r3, 0 -lbl_800C1DE0: -/* 800C1DE0 000BED40 38 21 00 10 */ addi r1, r1, 0x10 -/* 800C1DE4 000BED44 4E 80 00 20 */ blr - -.global DecrCount__10CWeaponMgrF9TUniqueId11EWeaponType -DecrCount__10CWeaponMgrF9TUniqueId11EWeaponType: -/* 800C1DE8 000BED48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800C1DEC 000BED4C 7C 08 02 A6 */ mflr r0 -/* 800C1DF0 000BED50 39 00 00 00 */ li r8, 0 -/* 800C1DF4 000BED54 90 01 00 14 */ stw r0, 0x14(r1) -/* 800C1DF8 000BED58 A0 04 00 00 */ lhz r0, 0(r4) -/* 800C1DFC 000BED5C 80 E3 00 10 */ lwz r7, 0x10(r3) -/* 800C1E00 000BED60 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800C1E04 000BED64 54 00 04 3E */ clrlwi r0, r0, 0x10 -/* 800C1E08 000BED68 48 00 00 20 */ b lbl_800C1E28 -lbl_800C1E0C: -/* 800C1E0C 000BED6C A0 C7 00 10 */ lhz r6, 0x10(r7) -/* 800C1E10 000BED70 7C 06 00 40 */ cmplw r6, r0 -/* 800C1E14 000BED74 41 80 00 10 */ blt lbl_800C1E24 -/* 800C1E18 000BED78 7C E8 3B 78 */ mr r8, r7 -/* 800C1E1C 000BED7C 80 E7 00 00 */ lwz r7, 0(r7) -/* 800C1E20 000BED80 48 00 00 08 */ b lbl_800C1E28 -lbl_800C1E24: -/* 800C1E24 000BED84 80 E7 00 04 */ lwz r7, 4(r7) -lbl_800C1E28: -/* 800C1E28 000BED88 28 07 00 00 */ cmplwi r7, 0 -/* 800C1E2C 000BED8C 40 82 FF E0 */ bne lbl_800C1E0C -/* 800C1E30 000BED90 28 08 00 00 */ cmplwi r8, 0 -/* 800C1E34 000BED94 38 E0 00 00 */ li r7, 0 -/* 800C1E38 000BED98 41 82 00 14 */ beq lbl_800C1E4C -/* 800C1E3C 000BED9C A0 C1 00 0C */ lhz r6, 0xc(r1) -/* 800C1E40 000BEDA0 A0 08 00 10 */ lhz r0, 0x10(r8) -/* 800C1E44 000BEDA4 7C 06 00 40 */ cmplw r6, r0 -/* 800C1E48 000BEDA8 40 80 00 08 */ bge lbl_800C1E50 -lbl_800C1E4C: -/* 800C1E4C 000BEDAC 38 E0 00 01 */ li r7, 1 -lbl_800C1E50: -/* 800C1E50 000BEDB0 54 E0 06 3F */ clrlwi. r0, r7, 0x18 -/* 800C1E54 000BEDB4 41 82 00 08 */ beq lbl_800C1E5C -/* 800C1E58 000BEDB8 39 00 00 00 */ li r8, 0 -lbl_800C1E5C: -/* 800C1E5C 000BEDBC 28 08 00 00 */ cmplwi r8, 0 -/* 800C1E60 000BEDC0 38 C3 00 08 */ addi r6, r3, 8 -/* 800C1E64 000BEDC4 38 00 00 00 */ li r0, 0 -/* 800C1E68 000BEDC8 40 82 00 0C */ bne lbl_800C1E74 -/* 800C1E6C 000BEDCC 7C 06 30 40 */ cmplw r6, r6 -/* 800C1E70 000BEDD0 41 82 00 08 */ beq lbl_800C1E78 -lbl_800C1E74: -/* 800C1E74 000BEDD4 38 00 00 01 */ li r0, 1 -lbl_800C1E78: -/* 800C1E78 000BEDD8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800C1E7C 000BEDDC 41 82 00 0C */ beq lbl_800C1E88 -/* 800C1E80 000BEDE0 38 E8 00 14 */ addi r7, r8, 0x14 -/* 800C1E84 000BEDE4 48 00 00 08 */ b lbl_800C1E8C -lbl_800C1E88: -/* 800C1E88 000BEDE8 38 E0 00 00 */ li r7, 0 -lbl_800C1E8C: -/* 800C1E8C 000BEDEC 28 07 00 00 */ cmplwi r7, 0 -/* 800C1E90 000BEDF0 41 82 00 6C */ beq lbl_800C1EFC -/* 800C1E94 000BEDF4 54 A0 10 3A */ slwi r0, r5, 2 -/* 800C1E98 000BEDF8 39 27 00 04 */ addi r9, r7, 4 -/* 800C1E9C 000BEDFC 7C C7 02 14 */ add r6, r7, r0 -/* 800C1EA0 000BEE00 39 00 00 01 */ li r8, 1 -/* 800C1EA4 000BEE04 80 A6 00 04 */ lwz r5, 4(r6) -/* 800C1EA8 000BEE08 38 05 FF FF */ addi r0, r5, -1 -/* 800C1EAC 000BEE0C 90 06 00 04 */ stw r0, 4(r6) -/* 800C1EB0 000BEE10 80 07 00 00 */ lwz r0, 0(r7) -/* 800C1EB4 000BEE14 54 00 10 3A */ slwi r0, r0, 2 -/* 800C1EB8 000BEE18 7C A7 02 14 */ add r5, r7, r0 -/* 800C1EBC 000BEE1C 38 A5 00 04 */ addi r5, r5, 4 -/* 800C1EC0 000BEE20 48 00 00 1C */ b lbl_800C1EDC -lbl_800C1EC4: -/* 800C1EC4 000BEE24 80 09 00 00 */ lwz r0, 0(r9) -/* 800C1EC8 000BEE28 2C 00 00 00 */ cmpwi r0, 0 -/* 800C1ECC 000BEE2C 40 81 00 0C */ ble lbl_800C1ED8 -/* 800C1ED0 000BEE30 39 00 00 00 */ li r8, 0 -/* 800C1ED4 000BEE34 48 00 00 10 */ b lbl_800C1EE4 -lbl_800C1ED8: -/* 800C1ED8 000BEE38 39 29 00 04 */ addi r9, r9, 4 -lbl_800C1EDC: -/* 800C1EDC 000BEE3C 7C 09 28 40 */ cmplw r9, r5 -/* 800C1EE0 000BEE40 40 82 FF E4 */ bne lbl_800C1EC4 -lbl_800C1EE4: -/* 800C1EE4 000BEE44 55 00 06 3F */ clrlwi. r0, r8, 0x18 -/* 800C1EE8 000BEE48 41 82 00 14 */ beq lbl_800C1EFC -/* 800C1EEC 000BEE4C A0 04 00 00 */ lhz r0, 0(r4) -/* 800C1EF0 000BEE50 38 81 00 08 */ addi r4, r1, 8 -/* 800C1EF4 000BEE54 B0 01 00 08 */ sth r0, 8(r1) -/* 800C1EF8 000BEE58 48 00 02 7D */ bl Remove__10CWeaponMgrF9TUniqueId -lbl_800C1EFC: -/* 800C1EFC 000BEE5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800C1F00 000BEE60 7C 08 03 A6 */ mtlr r0 -/* 800C1F04 000BEE64 38 21 00 10 */ addi r1, r1, 0x10 -/* 800C1F08 000BEE68 4E 80 00 20 */ blr - -.global IncrCount__10CWeaponMgrF9TUniqueId11EWeaponType -IncrCount__10CWeaponMgrF9TUniqueId11EWeaponType: -/* 800C1F0C 000BEE6C 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 800C1F10 000BEE70 7C 08 02 A6 */ mflr r0 -/* 800C1F14 000BEE74 39 00 00 00 */ li r8, 0 -/* 800C1F18 000BEE78 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 800C1F1C 000BEE7C 93 E1 00 AC */ stw r31, 0xac(r1) -/* 800C1F20 000BEE80 A0 C4 00 00 */ lhz r6, 0(r4) -/* 800C1F24 000BEE84 7C 64 1B 78 */ mr r4, r3 -/* 800C1F28 000BEE88 80 E3 00 10 */ lwz r7, 0x10(r3) -/* 800C1F2C 000BEE8C B0 C1 00 08 */ sth r6, 8(r1) -/* 800C1F30 000BEE90 54 C0 04 3E */ clrlwi r0, r6, 0x10 -/* 800C1F34 000BEE94 B0 C1 00 10 */ sth r6, 0x10(r1) -/* 800C1F38 000BEE98 48 00 00 20 */ b lbl_800C1F58 -lbl_800C1F3C: -/* 800C1F3C 000BEE9C A0 67 00 10 */ lhz r3, 0x10(r7) -/* 800C1F40 000BEEA0 7C 03 00 40 */ cmplw r3, r0 -/* 800C1F44 000BEEA4 41 80 00 10 */ blt lbl_800C1F54 -/* 800C1F48 000BEEA8 7C E8 3B 78 */ mr r8, r7 -/* 800C1F4C 000BEEAC 80 E7 00 00 */ lwz r7, 0(r7) -/* 800C1F50 000BEEB0 48 00 00 08 */ b lbl_800C1F58 -lbl_800C1F54: -/* 800C1F54 000BEEB4 80 E7 00 04 */ lwz r7, 4(r7) -lbl_800C1F58: -/* 800C1F58 000BEEB8 28 07 00 00 */ cmplwi r7, 0 -/* 800C1F5C 000BEEBC 40 82 FF E0 */ bne lbl_800C1F3C -/* 800C1F60 000BEEC0 28 08 00 00 */ cmplwi r8, 0 -/* 800C1F64 000BEEC4 38 C0 00 00 */ li r6, 0 -/* 800C1F68 000BEEC8 41 82 00 14 */ beq lbl_800C1F7C -/* 800C1F6C 000BEECC A0 61 00 10 */ lhz r3, 0x10(r1) -/* 800C1F70 000BEED0 A0 08 00 10 */ lhz r0, 0x10(r8) -/* 800C1F74 000BEED4 7C 03 00 40 */ cmplw r3, r0 -/* 800C1F78 000BEED8 40 80 00 08 */ bge lbl_800C1F80 -lbl_800C1F7C: -/* 800C1F7C 000BEEDC 38 C0 00 01 */ li r6, 1 -lbl_800C1F80: -/* 800C1F80 000BEEE0 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 800C1F84 000BEEE4 41 82 00 08 */ beq lbl_800C1F8C -/* 800C1F88 000BEEE8 39 00 00 00 */ li r8, 0 -lbl_800C1F8C: -/* 800C1F8C 000BEEEC 28 08 00 00 */ cmplwi r8, 0 -/* 800C1F90 000BEEF0 38 64 00 08 */ addi r3, r4, 8 -/* 800C1F94 000BEEF4 38 00 00 00 */ li r0, 0 -/* 800C1F98 000BEEF8 40 82 00 0C */ bne lbl_800C1FA4 -/* 800C1F9C 000BEEFC 7C 03 18 40 */ cmplw r3, r3 -/* 800C1FA0 000BEF00 41 82 00 08 */ beq lbl_800C1FA8 -lbl_800C1FA4: -/* 800C1FA4 000BEF04 38 00 00 01 */ li r0, 1 -lbl_800C1FA8: -/* 800C1FA8 000BEF08 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800C1FAC 000BEF0C 41 82 00 0C */ beq lbl_800C1FB8 -/* 800C1FB0 000BEF10 38 68 00 14 */ addi r3, r8, 0x14 -/* 800C1FB4 000BEF14 48 00 00 08 */ b lbl_800C1FBC -lbl_800C1FB8: -/* 800C1FB8 000BEF18 38 60 00 00 */ li r3, 0 -lbl_800C1FBC: -/* 800C1FBC 000BEF1C 28 03 00 00 */ cmplwi r3, 0 -/* 800C1FC0 000BEF20 40 82 01 8C */ bne lbl_800C214C -/* 800C1FC4 000BEF24 A0 61 00 08 */ lhz r3, 8(r1) -/* 800C1FC8 000BEF28 39 21 00 24 */ addi r9, r1, 0x24 -/* 800C1FCC 000BEF2C 38 C0 00 0F */ li r6, 0xf -/* 800C1FD0 000BEF30 38 00 00 03 */ li r0, 3 -/* 800C1FD4 000BEF34 7D 28 4B 78 */ mr r8, r9 -/* 800C1FD8 000BEF38 B0 61 00 0C */ sth r3, 0xc(r1) -/* 800C1FDC 000BEF3C 80 6D 86 B8 */ lwz r3, lbl_805A7278@sda21(r13) -/* 800C1FE0 000BEF40 38 E0 00 00 */ li r7, 0 -/* 800C1FE4 000BEF44 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800C1FE8 000BEF48 7C 09 03 A6 */ mtctr r0 -lbl_800C1FEC: -/* 800C1FEC 000BEF4C 28 08 00 00 */ cmplwi r8, 0 -/* 800C1FF0 000BEF50 41 82 00 08 */ beq lbl_800C1FF8 -/* 800C1FF4 000BEF54 90 68 00 00 */ stw r3, 0(r8) -lbl_800C1FF8: -/* 800C1FF8 000BEF58 35 08 00 04 */ addic. r8, r8, 4 -/* 800C1FFC 000BEF5C 41 82 00 08 */ beq lbl_800C2004 -/* 800C2000 000BEF60 90 68 00 00 */ stw r3, 0(r8) -lbl_800C2004: -/* 800C2004 000BEF64 35 08 00 04 */ addic. r8, r8, 4 -/* 800C2008 000BEF68 41 82 00 08 */ beq lbl_800C2010 -/* 800C200C 000BEF6C 90 68 00 00 */ stw r3, 0(r8) -lbl_800C2010: -/* 800C2010 000BEF70 35 08 00 04 */ addic. r8, r8, 4 -/* 800C2014 000BEF74 41 82 00 08 */ beq lbl_800C201C -/* 800C2018 000BEF78 90 68 00 00 */ stw r3, 0(r8) -lbl_800C201C: -/* 800C201C 000BEF7C 35 08 00 04 */ addic. r8, r8, 4 -/* 800C2020 000BEF80 41 82 00 08 */ beq lbl_800C2028 -/* 800C2024 000BEF84 90 68 00 00 */ stw r3, 0(r8) -lbl_800C2028: -/* 800C2028 000BEF88 38 E7 00 04 */ addi r7, r7, 4 -/* 800C202C 000BEF8C 39 08 00 04 */ addi r8, r8, 4 -/* 800C2030 000BEF90 42 00 FF BC */ bdnz lbl_800C1FEC -/* 800C2034 000BEF94 3B E1 00 64 */ addi r31, r1, 0x64 -/* 800C2038 000BEF98 A0 61 00 0C */ lhz r3, 0xc(r1) -/* 800C203C 000BEF9C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800C2040 000BEFA0 39 1F 00 04 */ addi r8, r31, 4 -/* 800C2044 000BEFA4 B0 61 00 60 */ sth r3, 0x60(r1) -/* 800C2048 000BEFA8 7D 03 43 78 */ mr r3, r8 -/* 800C204C 000BEFAC 90 01 00 64 */ stw r0, 0x64(r1) -/* 800C2050 000BEFB0 7C 09 03 A6 */ mtctr r0 -/* 800C2054 000BEFB4 2C 00 00 00 */ cmpwi r0, 0 -/* 800C2058 000BEFB8 40 81 00 20 */ ble lbl_800C2078 -lbl_800C205C: -/* 800C205C 000BEFBC 28 03 00 00 */ cmplwi r3, 0 -/* 800C2060 000BEFC0 41 82 00 0C */ beq lbl_800C206C -/* 800C2064 000BEFC4 80 09 00 00 */ lwz r0, 0(r9) -/* 800C2068 000BEFC8 90 03 00 00 */ stw r0, 0(r3) -lbl_800C206C: -/* 800C206C 000BEFCC 38 63 00 04 */ addi r3, r3, 4 -/* 800C2070 000BEFD0 39 29 00 04 */ addi r9, r9, 4 -/* 800C2074 000BEFD4 42 00 FF E8 */ bdnz lbl_800C205C -lbl_800C2078: -/* 800C2078 000BEFD8 80 E1 00 20 */ lwz r7, 0x20(r1) -/* 800C207C 000BEFDC 38 60 00 00 */ li r3, 0 -/* 800C2080 000BEFE0 2C 07 00 00 */ cmpwi r7, 0 -/* 800C2084 000BEFE4 40 81 00 40 */ ble lbl_800C20C4 -/* 800C2088 000BEFE8 2C 07 00 08 */ cmpwi r7, 8 -/* 800C208C 000BEFEC 38 C7 FF F8 */ addi r6, r7, -8 -/* 800C2090 000BEFF0 40 81 00 20 */ ble lbl_800C20B0 -/* 800C2094 000BEFF4 38 06 00 07 */ addi r0, r6, 7 -/* 800C2098 000BEFF8 54 00 E8 FE */ srwi r0, r0, 3 -/* 800C209C 000BEFFC 7C 09 03 A6 */ mtctr r0 -/* 800C20A0 000BF000 2C 06 00 00 */ cmpwi r6, 0 -/* 800C20A4 000BF004 40 81 00 0C */ ble lbl_800C20B0 -lbl_800C20A8: -/* 800C20A8 000BF008 38 63 00 08 */ addi r3, r3, 8 -/* 800C20AC 000BF00C 42 00 FF FC */ bdnz lbl_800C20A8 -lbl_800C20B0: -/* 800C20B0 000BF010 7C 03 38 50 */ subf r0, r3, r7 -/* 800C20B4 000BF014 7C 09 03 A6 */ mtctr r0 -/* 800C20B8 000BF018 7C 03 38 00 */ cmpw r3, r7 -/* 800C20BC 000BF01C 40 80 00 08 */ bge lbl_800C20C4 -lbl_800C20C0: -/* 800C20C0 000BF020 42 00 00 00 */ bdnz lbl_800C20C0 -lbl_800C20C4: -/* 800C20C4 000BF024 54 A7 10 3A */ slwi r7, r5, 2 -/* 800C20C8 000BF028 38 00 00 00 */ li r0, 0 -/* 800C20CC 000BF02C 7C A8 38 2E */ lwzx r5, r8, r7 -/* 800C20D0 000BF030 38 61 00 14 */ addi r3, r1, 0x14 -/* 800C20D4 000BF034 90 01 00 20 */ stw r0, 0x20(r1) -/* 800C20D8 000BF038 38 C1 00 60 */ addi r6, r1, 0x60 -/* 800C20DC 000BF03C 38 05 00 01 */ addi r0, r5, 1 -/* 800C20E0 000BF040 7C 08 39 2E */ stwx r0, r8, r7 -/* 800C20E4 000BF044 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 800C20E8 000BF048 48 00 02 3D */ bl sub_800c2324 -/* 800C20EC 000BF04C 28 1F 00 00 */ cmplwi r31, 0 -/* 800C20F0 000BF050 41 82 00 70 */ beq lbl_800C2160 -/* 800C20F4 000BF054 80 A1 00 64 */ lwz r5, 0x64(r1) -/* 800C20F8 000BF058 38 60 00 00 */ li r3, 0 -/* 800C20FC 000BF05C 2C 05 00 00 */ cmpwi r5, 0 -/* 800C2100 000BF060 40 81 00 40 */ ble lbl_800C2140 -/* 800C2104 000BF064 2C 05 00 08 */ cmpwi r5, 8 -/* 800C2108 000BF068 38 85 FF F8 */ addi r4, r5, -8 -/* 800C210C 000BF06C 40 81 00 20 */ ble lbl_800C212C -/* 800C2110 000BF070 38 04 00 07 */ addi r0, r4, 7 -/* 800C2114 000BF074 54 00 E8 FE */ srwi r0, r0, 3 -/* 800C2118 000BF078 7C 09 03 A6 */ mtctr r0 -/* 800C211C 000BF07C 2C 04 00 00 */ cmpwi r4, 0 -/* 800C2120 000BF080 40 81 00 0C */ ble lbl_800C212C -lbl_800C2124: -/* 800C2124 000BF084 38 63 00 08 */ addi r3, r3, 8 -/* 800C2128 000BF088 42 00 FF FC */ bdnz lbl_800C2124 -lbl_800C212C: -/* 800C212C 000BF08C 7C 03 28 50 */ subf r0, r3, r5 -/* 800C2130 000BF090 7C 09 03 A6 */ mtctr r0 -/* 800C2134 000BF094 7C 03 28 00 */ cmpw r3, r5 -/* 800C2138 000BF098 40 80 00 08 */ bge lbl_800C2140 -lbl_800C213C: -/* 800C213C 000BF09C 42 00 00 00 */ bdnz lbl_800C213C -lbl_800C2140: -/* 800C2140 000BF0A0 38 00 00 00 */ li r0, 0 -/* 800C2144 000BF0A4 90 01 00 64 */ stw r0, 0x64(r1) -/* 800C2148 000BF0A8 48 00 00 18 */ b lbl_800C2160 -lbl_800C214C: -/* 800C214C 000BF0AC 54 A0 10 3A */ slwi r0, r5, 2 -/* 800C2150 000BF0B0 7C 83 02 14 */ add r4, r3, r0 -/* 800C2154 000BF0B4 80 64 00 04 */ lwz r3, 4(r4) -/* 800C2158 000BF0B8 38 03 00 01 */ addi r0, r3, 1 -/* 800C215C 000BF0BC 90 04 00 04 */ stw r0, 4(r4) -lbl_800C2160: -/* 800C2160 000BF0C0 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 800C2164 000BF0C4 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 800C2168 000BF0C8 7C 08 03 A6 */ mtlr r0 -/* 800C216C 000BF0CC 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 800C2170 000BF0D0 4E 80 00 20 */ blr - -.global Remove__10CWeaponMgrF9TUniqueId -Remove__10CWeaponMgrF9TUniqueId: -/* 800C2174 000BF0D4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800C2178 000BF0D8 7C 08 02 A6 */ mflr r0 -/* 800C217C 000BF0DC 38 C0 00 00 */ li r6, 0 -/* 800C2180 000BF0E0 90 01 00 34 */ stw r0, 0x34(r1) -/* 800C2184 000BF0E4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800C2188 000BF0E8 7C 7F 1B 78 */ mr r31, r3 -/* 800C218C 000BF0EC 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 800C2190 000BF0F0 48 00 00 24 */ b lbl_800C21B4 -lbl_800C2194: -/* 800C2194 000BF0F4 A0 65 00 10 */ lhz r3, 0x10(r5) -/* 800C2198 000BF0F8 A0 04 00 00 */ lhz r0, 0(r4) -/* 800C219C 000BF0FC 7C 03 00 40 */ cmplw r3, r0 -/* 800C21A0 000BF100 41 80 00 10 */ blt lbl_800C21B0 -/* 800C21A4 000BF104 7C A6 2B 78 */ mr r6, r5 -/* 800C21A8 000BF108 80 A5 00 00 */ lwz r5, 0(r5) -/* 800C21AC 000BF10C 48 00 00 08 */ b lbl_800C21B4 -lbl_800C21B0: -/* 800C21B0 000BF110 80 A5 00 04 */ lwz r5, 4(r5) -lbl_800C21B4: -/* 800C21B4 000BF114 28 05 00 00 */ cmplwi r5, 0 -/* 800C21B8 000BF118 40 82 FF DC */ bne lbl_800C2194 -/* 800C21BC 000BF11C 28 06 00 00 */ cmplwi r6, 0 -/* 800C21C0 000BF120 38 A0 00 00 */ li r5, 0 -/* 800C21C4 000BF124 41 82 00 14 */ beq lbl_800C21D8 -/* 800C21C8 000BF128 A0 64 00 00 */ lhz r3, 0(r4) -/* 800C21CC 000BF12C A0 06 00 10 */ lhz r0, 0x10(r6) -/* 800C21D0 000BF130 7C 03 00 40 */ cmplw r3, r0 -/* 800C21D4 000BF134 40 80 00 08 */ bge lbl_800C21DC -lbl_800C21D8: -/* 800C21D8 000BF138 38 A0 00 01 */ li r5, 1 -lbl_800C21DC: -/* 800C21DC 000BF13C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 800C21E0 000BF140 41 82 00 08 */ beq lbl_800C21E8 -/* 800C21E4 000BF144 38 C0 00 00 */ li r6, 0 -lbl_800C21E8: -/* 800C21E8 000BF148 38 00 00 00 */ li r0, 0 -/* 800C21EC 000BF14C 38 7F 00 08 */ addi r3, r31, 8 -/* 800C21F0 000BF150 7C 06 00 40 */ cmplw r6, r0 -/* 800C21F4 000BF154 90 C1 00 18 */ stw r6, 0x18(r1) -/* 800C21F8 000BF158 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800C21FC 000BF15C 90 01 00 10 */ stw r0, 0x10(r1) -/* 800C2200 000BF160 90 61 00 14 */ stw r3, 0x14(r1) -/* 800C2204 000BF164 40 82 00 0C */ bne lbl_800C2210 -/* 800C2208 000BF168 7C 03 18 40 */ cmplw r3, r3 -/* 800C220C 000BF16C 41 82 00 08 */ beq lbl_800C2214 -lbl_800C2210: -/* 800C2210 000BF170 38 00 00 01 */ li r0, 1 -lbl_800C2214: -/* 800C2214 000BF174 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800C2218 000BF178 41 82 00 A8 */ beq lbl_800C22C0 -/* 800C221C 000BF17C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 800C2220 000BF180 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 800C2224 000BF184 90 81 00 08 */ stw r4, 8(r1) -/* 800C2228 000BF188 90 61 00 0C */ stw r3, 0xc(r1) -/* 800C222C 000BF18C 48 27 A3 B5 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800C2230 000BF190 80 81 00 08 */ lwz r4, 8(r1) -/* 800C2234 000BF194 38 7F 00 08 */ addi r3, r31, 8 -/* 800C2238 000BF198 48 27 A4 45 */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 800C223C 000BF19C 28 03 00 00 */ cmplwi r3, 0 -/* 800C2240 000BF1A0 41 82 00 68 */ beq lbl_800C22A8 -/* 800C2244 000BF1A4 34 03 00 10 */ addic. r0, r3, 0x10 -/* 800C2248 000BF1A8 41 82 00 60 */ beq lbl_800C22A8 -/* 800C224C 000BF1AC 34 C3 00 14 */ addic. r6, r3, 0x14 -/* 800C2250 000BF1B0 41 82 00 58 */ beq lbl_800C22A8 -/* 800C2254 000BF1B4 80 E6 00 00 */ lwz r7, 0(r6) -/* 800C2258 000BF1B8 38 80 00 00 */ li r4, 0 -/* 800C225C 000BF1BC 2C 07 00 00 */ cmpwi r7, 0 -/* 800C2260 000BF1C0 40 81 00 40 */ ble lbl_800C22A0 -/* 800C2264 000BF1C4 2C 07 00 08 */ cmpwi r7, 8 -/* 800C2268 000BF1C8 38 A7 FF F8 */ addi r5, r7, -8 -/* 800C226C 000BF1CC 40 81 00 20 */ ble lbl_800C228C -/* 800C2270 000BF1D0 38 05 00 07 */ addi r0, r5, 7 -/* 800C2274 000BF1D4 54 00 E8 FE */ srwi r0, r0, 3 -/* 800C2278 000BF1D8 7C 09 03 A6 */ mtctr r0 -/* 800C227C 000BF1DC 2C 05 00 00 */ cmpwi r5, 0 -/* 800C2280 000BF1E0 40 81 00 0C */ ble lbl_800C228C -lbl_800C2284: -/* 800C2284 000BF1E4 38 84 00 08 */ addi r4, r4, 8 -/* 800C2288 000BF1E8 42 00 FF FC */ bdnz lbl_800C2284 -lbl_800C228C: -/* 800C228C 000BF1EC 7C 04 38 50 */ subf r0, r4, r7 -/* 800C2290 000BF1F0 7C 09 03 A6 */ mtctr r0 -/* 800C2294 000BF1F4 7C 04 38 00 */ cmpw r4, r7 -/* 800C2298 000BF1F8 40 80 00 08 */ bge lbl_800C22A0 -lbl_800C229C: -/* 800C229C 000BF1FC 42 00 00 00 */ bdnz lbl_800C229C -lbl_800C22A0: -/* 800C22A0 000BF200 38 00 00 00 */ li r0, 0 -/* 800C22A4 000BF204 90 06 00 00 */ stw r0, 0(r6) -lbl_800C22A8: -/* 800C22A8 000BF208 28 03 00 00 */ cmplwi r3, 0 -/* 800C22AC 000BF20C 41 82 00 08 */ beq lbl_800C22B4 -/* 800C22B0 000BF210 48 25 36 81 */ bl Free__7CMemoryFPCv -lbl_800C22B4: -/* 800C22B4 000BF214 80 7F 00 04 */ lwz r3, 4(r31) -/* 800C22B8 000BF218 38 03 FF FF */ addi r0, r3, -1 -/* 800C22BC 000BF21C 90 1F 00 04 */ stw r0, 4(r31) -lbl_800C22C0: -/* 800C22C0 000BF220 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800C22C4 000BF224 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800C22C8 000BF228 7C 08 03 A6 */ mtlr r0 -/* 800C22CC 000BF22C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800C22D0 000BF230 4E 80 00 20 */ blr - -.global __ct__10CWeaponMgrFv -__ct__10CWeaponMgrFv: -/* 800C22D4 000BF234 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800C22D8 000BF238 38 00 00 00 */ li r0, 0 -/* 800C22DC 000BF23C 88 A1 00 08 */ lbz r5, 8(r1) -/* 800C22E0 000BF240 88 81 00 0C */ lbz r4, 0xc(r1) -/* 800C22E4 000BF244 98 A3 00 00 */ stb r5, 0(r3) -/* 800C22E8 000BF248 98 83 00 01 */ stb r4, 1(r3) -/* 800C22EC 000BF24C 90 03 00 04 */ stw r0, 4(r3) -/* 800C22F0 000BF250 90 03 00 08 */ stw r0, 8(r3) -/* 800C22F4 000BF254 90 03 00 0C */ stw r0, 0xc(r3) -/* 800C22F8 000BF258 90 03 00 10 */ stw r0, 0x10(r3) -/* 800C22FC 000BF25C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800C2300 000BF260 4E 80 00 20 */ blr - -.global sub_800c2304 -sub_800c2304: -/* 800C2304 000BF264 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800C2308 000BF268 7C 08 02 A6 */ mflr r0 -/* 800C230C 000BF26C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800C2310 000BF270 48 25 36 21 */ bl Free__7CMemoryFPCv -/* 800C2314 000BF274 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800C2318 000BF278 7C 08 03 A6 */ mtlr r0 -/* 800C231C 000BF27C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800C2320 000BF280 4E 80 00 20 */ blr - -.global sub_800c2324 -sub_800c2324: -/* 800C2324 000BF284 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800C2328 000BF288 7C 08 02 A6 */ mflr r0 -/* 800C232C 000BF28C 28 05 00 00 */ cmplwi r5, 0 -/* 800C2330 000BF290 90 01 00 24 */ stw r0, 0x24(r1) -/* 800C2334 000BF294 BF 41 00 08 */ stmw r26, 8(r1) -/* 800C2338 000BF298 7C 7B 1B 78 */ mr r27, r3 -/* 800C233C 000BF29C 7C 9C 23 78 */ mr r28, r4 -/* 800C2340 000BF2A0 7C DD 33 78 */ mr r29, r6 -/* 800C2344 000BF2A4 40 82 00 BC */ bne lbl_800C2400 -/* 800C2348 000BF2A8 3C 80 80 3D */ lis r4, lbl_803CE018@ha -/* 800C234C 000BF2AC 38 60 00 54 */ li r3, 0x54 -/* 800C2350 000BF2B0 38 84 E0 18 */ addi r4, r4, lbl_803CE018@l -/* 800C2354 000BF2B4 38 A0 00 00 */ li r5, 0 -/* 800C2358 000BF2B8 48 25 34 C1 */ bl __nwa__FUlPCcPCc -/* 800C235C 000BF2BC 28 03 00 00 */ cmplwi r3, 0 -/* 800C2360 000BF2C0 41 82 00 64 */ beq lbl_800C23C4 -/* 800C2364 000BF2C4 38 00 00 00 */ li r0, 0 -/* 800C2368 000BF2C8 34 C3 00 10 */ addic. r6, r3, 0x10 -/* 800C236C 000BF2CC 90 03 00 00 */ stw r0, 0(r3) -/* 800C2370 000BF2D0 90 03 00 04 */ stw r0, 4(r3) -/* 800C2374 000BF2D4 90 03 00 08 */ stw r0, 8(r3) -/* 800C2378 000BF2D8 90 03 00 0C */ stw r0, 0xc(r3) -/* 800C237C 000BF2DC 41 82 00 48 */ beq lbl_800C23C4 -/* 800C2380 000BF2E0 A0 1D 00 00 */ lhz r0, 0(r29) -/* 800C2384 000BF2E4 38 BD 00 08 */ addi r5, r29, 8 -/* 800C2388 000BF2E8 38 86 00 08 */ addi r4, r6, 8 -/* 800C238C 000BF2EC B0 06 00 00 */ sth r0, 0(r6) -/* 800C2390 000BF2F0 80 1D 00 04 */ lwz r0, 4(r29) -/* 800C2394 000BF2F4 90 06 00 04 */ stw r0, 4(r6) -/* 800C2398 000BF2F8 80 06 00 04 */ lwz r0, 4(r6) -/* 800C239C 000BF2FC 7C 09 03 A6 */ mtctr r0 -/* 800C23A0 000BF300 2C 00 00 00 */ cmpwi r0, 0 -/* 800C23A4 000BF304 40 81 00 20 */ ble lbl_800C23C4 -lbl_800C23A8: -/* 800C23A8 000BF308 28 04 00 00 */ cmplwi r4, 0 -/* 800C23AC 000BF30C 41 82 00 0C */ beq lbl_800C23B8 -/* 800C23B0 000BF310 80 05 00 00 */ lwz r0, 0(r5) -/* 800C23B4 000BF314 90 04 00 00 */ stw r0, 0(r4) -lbl_800C23B8: -/* 800C23B8 000BF318 38 84 00 04 */ addi r4, r4, 4 -/* 800C23BC 000BF31C 38 A5 00 04 */ addi r5, r5, 4 -/* 800C23C0 000BF320 42 00 FF E8 */ bdnz lbl_800C23A8 -lbl_800C23C4: -/* 800C23C4 000BF324 90 7C 00 10 */ stw r3, 0x10(r28) -/* 800C23C8 000BF328 38 1C 00 08 */ addi r0, r28, 8 -/* 800C23CC 000BF32C 80 7C 00 04 */ lwz r3, 4(r28) -/* 800C23D0 000BF330 38 63 00 01 */ addi r3, r3, 1 -/* 800C23D4 000BF334 90 7C 00 04 */ stw r3, 4(r28) -/* 800C23D8 000BF338 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 800C23DC 000BF33C 90 7C 00 08 */ stw r3, 8(r28) -/* 800C23E0 000BF340 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 800C23E4 000BF344 90 7C 00 0C */ stw r3, 0xc(r28) -/* 800C23E8 000BF348 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 800C23EC 000BF34C 90 7B 00 00 */ stw r3, 0(r27) -/* 800C23F0 000BF350 90 1B 00 04 */ stw r0, 4(r27) -/* 800C23F4 000BF354 88 0D 86 BC */ lbz r0, lbl_805A727C@sda21(r13) -/* 800C23F8 000BF358 98 1B 00 08 */ stb r0, 8(r27) -/* 800C23FC 000BF35C 48 00 01 E0 */ b lbl_800C25DC -lbl_800C2400: -/* 800C2400 000BF360 7C BE 2B 78 */ mr r30, r5 -/* 800C2404 000BF364 3B FD 00 08 */ addi r31, r29, 8 -/* 800C2408 000BF368 3B 40 00 00 */ li r26, 0 -/* 800C240C 000BF36C 48 00 01 9C */ b lbl_800C25A8 -lbl_800C2410: -/* 800C2410 000BF370 A0 7D 00 00 */ lhz r3, 0(r29) -/* 800C2414 000BF374 A0 9E 00 10 */ lhz r4, 0x10(r30) -/* 800C2418 000BF378 7C 04 18 50 */ subf r0, r4, r3 -/* 800C241C 000BF37C 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 800C2420 000BF380 40 82 00 24 */ bne lbl_800C2444 -/* 800C2424 000BF384 7C 04 18 40 */ cmplw r4, r3 -/* 800C2428 000BF388 41 80 00 1C */ blt lbl_800C2444 -/* 800C242C 000BF38C 93 DB 00 00 */ stw r30, 0(r27) -/* 800C2430 000BF390 38 1C 00 08 */ addi r0, r28, 8 -/* 800C2434 000BF394 90 1B 00 04 */ stw r0, 4(r27) -/* 800C2438 000BF398 88 0D 86 BD */ lbz r0, lbl_805A727D@sda21(r13) -/* 800C243C 000BF39C 98 1B 00 08 */ stb r0, 8(r27) -/* 800C2440 000BF3A0 48 00 01 9C */ b lbl_800C25DC -lbl_800C2444: -/* 800C2444 000BF3A4 28 00 00 00 */ cmplwi r0, 0 -/* 800C2448 000BF3A8 41 82 00 B4 */ beq lbl_800C24FC -/* 800C244C 000BF3AC 80 1E 00 00 */ lwz r0, 0(r30) -/* 800C2450 000BF3B0 28 00 00 00 */ cmplwi r0, 0 -/* 800C2454 000BF3B4 40 82 00 A0 */ bne lbl_800C24F4 -/* 800C2458 000BF3B8 3C 80 80 3D */ lis r4, lbl_803CE018@ha -/* 800C245C 000BF3BC 38 60 00 54 */ li r3, 0x54 -/* 800C2460 000BF3C0 38 84 E0 18 */ addi r4, r4, lbl_803CE018@l -/* 800C2464 000BF3C4 38 A0 00 00 */ li r5, 0 -/* 800C2468 000BF3C8 48 25 33 B1 */ bl __nwa__FUlPCcPCc -/* 800C246C 000BF3CC 28 03 00 00 */ cmplwi r3, 0 -/* 800C2470 000BF3D0 41 82 00 68 */ beq lbl_800C24D8 -/* 800C2474 000BF3D4 38 80 00 00 */ li r4, 0 -/* 800C2478 000BF3D8 34 C3 00 10 */ addic. r6, r3, 0x10 -/* 800C247C 000BF3DC 90 83 00 00 */ stw r4, 0(r3) -/* 800C2480 000BF3E0 38 00 00 01 */ li r0, 1 -/* 800C2484 000BF3E4 90 83 00 04 */ stw r4, 4(r3) -/* 800C2488 000BF3E8 93 C3 00 08 */ stw r30, 8(r3) -/* 800C248C 000BF3EC 90 03 00 0C */ stw r0, 0xc(r3) -/* 800C2490 000BF3F0 41 82 00 48 */ beq lbl_800C24D8 -/* 800C2494 000BF3F4 A0 1D 00 00 */ lhz r0, 0(r29) -/* 800C2498 000BF3F8 7F E5 FB 78 */ mr r5, r31 -/* 800C249C 000BF3FC 38 86 00 08 */ addi r4, r6, 8 -/* 800C24A0 000BF400 B0 06 00 00 */ sth r0, 0(r6) -/* 800C24A4 000BF404 80 1D 00 04 */ lwz r0, 4(r29) -/* 800C24A8 000BF408 90 06 00 04 */ stw r0, 4(r6) -/* 800C24AC 000BF40C 80 06 00 04 */ lwz r0, 4(r6) -/* 800C24B0 000BF410 7C 09 03 A6 */ mtctr r0 -/* 800C24B4 000BF414 2C 00 00 00 */ cmpwi r0, 0 -/* 800C24B8 000BF418 40 81 00 20 */ ble lbl_800C24D8 -lbl_800C24BC: -/* 800C24BC 000BF41C 28 04 00 00 */ cmplwi r4, 0 -/* 800C24C0 000BF420 41 82 00 0C */ beq lbl_800C24CC -/* 800C24C4 000BF424 80 05 00 00 */ lwz r0, 0(r5) -/* 800C24C8 000BF428 90 04 00 00 */ stw r0, 0(r4) -lbl_800C24CC: -/* 800C24CC 000BF42C 38 84 00 04 */ addi r4, r4, 4 -/* 800C24D0 000BF430 38 A5 00 04 */ addi r5, r5, 4 -/* 800C24D4 000BF434 42 00 FF E8 */ bdnz lbl_800C24BC -lbl_800C24D8: -/* 800C24D8 000BF438 90 7E 00 00 */ stw r3, 0(r30) -/* 800C24DC 000BF43C 7C 7A 1B 78 */ mr r26, r3 -/* 800C24E0 000BF440 80 1C 00 08 */ lwz r0, 8(r28) -/* 800C24E4 000BF444 7C 1E 00 40 */ cmplw r30, r0 -/* 800C24E8 000BF448 40 82 00 C0 */ bne lbl_800C25A8 -/* 800C24EC 000BF44C 90 7C 00 08 */ stw r3, 8(r28) -/* 800C24F0 000BF450 48 00 00 B8 */ b lbl_800C25A8 -lbl_800C24F4: -/* 800C24F4 000BF454 7C 1E 03 78 */ mr r30, r0 -/* 800C24F8 000BF458 48 00 00 B0 */ b lbl_800C25A8 -lbl_800C24FC: -/* 800C24FC 000BF45C 80 1E 00 04 */ lwz r0, 4(r30) -/* 800C2500 000BF460 28 00 00 00 */ cmplwi r0, 0 -/* 800C2504 000BF464 40 82 00 A0 */ bne lbl_800C25A4 -/* 800C2508 000BF468 3C 80 80 3D */ lis r4, lbl_803CE018@ha -/* 800C250C 000BF46C 38 60 00 54 */ li r3, 0x54 -/* 800C2510 000BF470 38 84 E0 18 */ addi r4, r4, lbl_803CE018@l -/* 800C2514 000BF474 38 A0 00 00 */ li r5, 0 -/* 800C2518 000BF478 48 25 33 01 */ bl __nwa__FUlPCcPCc -/* 800C251C 000BF47C 28 03 00 00 */ cmplwi r3, 0 -/* 800C2520 000BF480 41 82 00 68 */ beq lbl_800C2588 -/* 800C2524 000BF484 38 80 00 00 */ li r4, 0 -/* 800C2528 000BF488 34 C3 00 10 */ addic. r6, r3, 0x10 -/* 800C252C 000BF48C 90 83 00 00 */ stw r4, 0(r3) -/* 800C2530 000BF490 38 00 00 01 */ li r0, 1 -/* 800C2534 000BF494 90 83 00 04 */ stw r4, 4(r3) -/* 800C2538 000BF498 93 C3 00 08 */ stw r30, 8(r3) -/* 800C253C 000BF49C 90 03 00 0C */ stw r0, 0xc(r3) -/* 800C2540 000BF4A0 41 82 00 48 */ beq lbl_800C2588 -/* 800C2544 000BF4A4 A0 1D 00 00 */ lhz r0, 0(r29) -/* 800C2548 000BF4A8 7F E5 FB 78 */ mr r5, r31 -/* 800C254C 000BF4AC 38 86 00 08 */ addi r4, r6, 8 -/* 800C2550 000BF4B0 B0 06 00 00 */ sth r0, 0(r6) -/* 800C2554 000BF4B4 80 1D 00 04 */ lwz r0, 4(r29) -/* 800C2558 000BF4B8 90 06 00 04 */ stw r0, 4(r6) -/* 800C255C 000BF4BC 80 06 00 04 */ lwz r0, 4(r6) -/* 800C2560 000BF4C0 7C 09 03 A6 */ mtctr r0 -/* 800C2564 000BF4C4 2C 00 00 00 */ cmpwi r0, 0 -/* 800C2568 000BF4C8 40 81 00 20 */ ble lbl_800C2588 -lbl_800C256C: -/* 800C256C 000BF4CC 28 04 00 00 */ cmplwi r4, 0 -/* 800C2570 000BF4D0 41 82 00 0C */ beq lbl_800C257C -/* 800C2574 000BF4D4 80 05 00 00 */ lwz r0, 0(r5) -/* 800C2578 000BF4D8 90 04 00 00 */ stw r0, 0(r4) -lbl_800C257C: -/* 800C257C 000BF4DC 38 84 00 04 */ addi r4, r4, 4 -/* 800C2580 000BF4E0 38 A5 00 04 */ addi r5, r5, 4 -/* 800C2584 000BF4E4 42 00 FF E8 */ bdnz lbl_800C256C -lbl_800C2588: -/* 800C2588 000BF4E8 90 7E 00 04 */ stw r3, 4(r30) -/* 800C258C 000BF4EC 7C 7A 1B 78 */ mr r26, r3 -/* 800C2590 000BF4F0 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 800C2594 000BF4F4 7C 1E 00 40 */ cmplw r30, r0 -/* 800C2598 000BF4F8 40 82 00 10 */ bne lbl_800C25A8 -/* 800C259C 000BF4FC 90 7C 00 0C */ stw r3, 0xc(r28) -/* 800C25A0 000BF500 48 00 00 08 */ b lbl_800C25A8 -lbl_800C25A4: -/* 800C25A4 000BF504 7C 1E 03 78 */ mr r30, r0 -lbl_800C25A8: -/* 800C25A8 000BF508 28 1A 00 00 */ cmplwi r26, 0 -/* 800C25AC 000BF50C 41 82 FE 64 */ beq lbl_800C2410 -/* 800C25B0 000BF510 80 BC 00 04 */ lwz r5, 4(r28) -/* 800C25B4 000BF514 7F 44 D3 78 */ mr r4, r26 -/* 800C25B8 000BF518 38 7C 00 08 */ addi r3, r28, 8 -/* 800C25BC 000BF51C 38 05 00 01 */ addi r0, r5, 1 -/* 800C25C0 000BF520 90 1C 00 04 */ stw r0, 4(r28) -/* 800C25C4 000BF524 48 27 A4 D5 */ bl rbtree_rebalance__4rstlFPvPv -/* 800C25C8 000BF528 93 5B 00 00 */ stw r26, 0(r27) -/* 800C25CC 000BF52C 38 1C 00 08 */ addi r0, r28, 8 -/* 800C25D0 000BF530 90 1B 00 04 */ stw r0, 4(r27) -/* 800C25D4 000BF534 88 0D 86 BE */ lbz r0, lbl_805A727E@sda21(r13) -/* 800C25D8 000BF538 98 1B 00 08 */ stb r0, 8(r27) -lbl_800C25DC: -/* 800C25DC 000BF53C BB 41 00 08 */ lmw r26, 8(r1) -/* 800C25E0 000BF540 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800C25E4 000BF544 7C 08 03 A6 */ mtlr r0 -/* 800C25E8 000BF548 38 21 00 20 */ addi r1, r1, 0x20 -/* 800C25EC 000BF54C 4E 80 00 20 */ blr - -.global SetSpawned__13CScriptPickupFv -SetSpawned__13CScriptPickupFv: -/* 800C25F0 000BF550 88 03 02 8C */ lbz r0, 0x28c(r3) -/* 800C25F4 000BF554 38 80 00 01 */ li r4, 1 -/* 800C25F8 000BF558 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800C25FC 000BF55C 98 03 02 8C */ stb r0, 0x28c(r3) -/* 800C2600 000BF560 4E 80 00 20 */ blr - -.global GetPossibility__13CScriptPickupCFv -GetPossibility__13CScriptPickupCFv: -/* 800C2604 000BF564 C0 23 02 64 */ lfs f1, 0x264(r3) -/* 800C2608 000BF568 4E 80 00 20 */ blr - -.global GetItem__13CScriptPickupCFv -GetItem__13CScriptPickupCFv: -/* 800C260C 000BF56C 80 63 02 58 */ lwz r3, 0x258(r3) -/* 800C2610 000BF570 4E 80 00 20 */ blr - -.global Accept__13CScriptPickupFR8IVisitor -Accept__13CScriptPickupFR8IVisitor: -/* 800C2614 000BF574 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800C2618 000BF578 7C 08 02 A6 */ mflr r0 -/* 800C261C 000BF57C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800C2620 000BF580 7C 60 1B 78 */ mr r0, r3 -/* 800C2624 000BF584 7C 83 23 78 */ mr r3, r4 -/* 800C2628 000BF588 81 84 00 00 */ lwz r12, 0(r4) -/* 800C262C 000BF58C 7C 04 03 78 */ mr r4, r0 -/* 800C2630 000BF590 81 8C 00 98 */ lwz r12, 0x98(r12) -/* 800C2634 000BF594 7D 89 03 A6 */ mtctr r12 -/* 800C2638 000BF598 4E 80 04 21 */ bctrl -/* 800C263C 000BF59C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800C2640 000BF5A0 7C 08 03 A6 */ mtlr r0 -/* 800C2644 000BF5A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800C2648 000BF5A8 4E 80 00 20 */ blr - -.global Render__13CScriptPickupCFRC13CStateManager -Render__13CScriptPickupCFRC13CStateManager: -/* 800C264C 000BF5AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800C2650 000BF5B0 7C 08 02 A6 */ mflr r0 -/* 800C2654 000BF5B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800C2658 000BF5B8 48 05 7E 91 */ bl Render__13CPhysicsActorCFRC13CStateManager -/* 800C265C 000BF5BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800C2660 000BF5C0 7C 08 03 A6 */ mtlr r0 -/* 800C2664 000BF5C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800C2668 000BF5C8 4E 80 00 20 */ blr - -.global AcceptScriptMsg__13CScriptPickupF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__13CScriptPickupF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800C266C 000BF5CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800C2670 000BF5D0 7C 08 02 A6 */ mflr r0 -/* 800C2674 000BF5D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800C2678 000BF5D8 A0 05 00 00 */ lhz r0, 0(r5) -/* 800C267C 000BF5DC 38 A1 00 08 */ addi r5, r1, 8 -/* 800C2680 000BF5E0 B0 01 00 08 */ sth r0, 8(r1) -/* 800C2684 000BF5E4 4B F9 0F 91 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800C2688 000BF5E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800C268C 000BF5EC 7C 08 03 A6 */ mtlr r0 -/* 800C2690 000BF5F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800C2694 000BF5F4 4E 80 00 20 */ blr - -.global GetTouchBounds__13CScriptPickupCFv -GetTouchBounds__13CScriptPickupCFv: -/* 800C2698 000BF5F8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800C269C 000BF5FC 7C 08 02 A6 */ mflr r0 -/* 800C26A0 000BF600 90 01 00 34 */ stw r0, 0x34(r1) -/* 800C26A4 000BF604 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800C26A8 000BF608 7C 7F 1B 78 */ mr r31, r3 -/* 800C26AC 000BF60C 38 61 00 08 */ addi r3, r1, 8 -/* 800C26B0 000BF610 48 05 82 7D */ bl GetBoundingBox__13CPhysicsActorCFv -/* 800C26B4 000BF614 38 00 00 01 */ li r0, 1 -/* 800C26B8 000BF618 28 1F 00 00 */ cmplwi r31, 0 -/* 800C26BC 000BF61C 98 1F 00 18 */ stb r0, 0x18(r31) -/* 800C26C0 000BF620 41 82 00 34 */ beq lbl_800C26F4 -/* 800C26C4 000BF624 C0 01 00 08 */ lfs f0, 8(r1) -/* 800C26C8 000BF628 D0 1F 00 00 */ stfs f0, 0(r31) -/* 800C26CC 000BF62C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800C26D0 000BF630 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800C26D4 000BF634 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800C26D8 000BF638 D0 1F 00 08 */ stfs f0, 8(r31) -/* 800C26DC 000BF63C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800C26E0 000BF640 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 800C26E4 000BF644 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800C26E8 000BF648 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 800C26EC 000BF64C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800C26F0 000BF650 D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_800C26F4: -/* 800C26F4 000BF654 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800C26F8 000BF658 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800C26FC 000BF65C 7C 08 03 A6 */ mtlr r0 -/* 800C2700 000BF660 38 21 00 30 */ addi r1, r1, 0x30 -/* 800C2704 000BF664 4E 80 00 20 */ blr - -.global Touch__13CScriptPickupFR6CActorR13CStateManager -Touch__13CScriptPickupFR6CActorR13CStateManager: -/* 800C2708 000BF668 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800C270C 000BF66C 7C 08 02 A6 */ mflr r0 -/* 800C2710 000BF670 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800C2714 000BF674 BF 21 00 A4 */ stmw r25, 0xa4(r1) -/* 800C2718 000BF678 7C 7D 1B 78 */ mr r29, r3 -/* 800C271C 000BF67C 7C BE 2B 78 */ mr r30, r5 -/* 800C2720 000BF680 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800C2724 000BF684 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800C2728 000BF688 41 82 03 44 */ beq lbl_800C2A6C -/* 800C272C 000BF68C C0 3D 02 78 */ lfs f1, 0x278(r29) -/* 800C2730 000BF690 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) -/* 800C2734 000BF694 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C2738 000BF698 4C 41 13 82 */ cror 2, 1, 2 -/* 800C273C 000BF69C 41 82 03 30 */ beq lbl_800C2A6C -/* 800C2740 000BF6A0 38 61 00 44 */ addi r3, r1, 0x44 -/* 800C2744 000BF6A4 4B FE 9C BD */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -/* 800C2748 000BF6A8 80 03 00 04 */ lwz r0, 4(r3) -/* 800C274C 000BF6AC 28 00 00 00 */ cmplwi r0, 0 -/* 800C2750 000BF6B0 41 82 03 1C */ beq lbl_800C2A6C -/* 800C2754 000BF6B4 83 FD 02 58 */ lwz r31, 0x258(r29) -/* 800C2758 000BF6B8 2C 1F 00 1D */ cmpwi r31, 0x1d -/* 800C275C 000BF6BC 41 80 00 34 */ blt lbl_800C2790 -/* 800C2760 000BF6C0 2C 1F 00 28 */ cmpwi r31, 0x28 -/* 800C2764 000BF6C4 41 81 00 2C */ bgt lbl_800C2790 -/* 800C2768 000BF6C8 7F E3 FB 78 */ mr r3, r31 -/* 800C276C 000BF6CC 48 1D A1 CD */ bl GetArtifactHeadScanFromItemType__13CArtifactDollF9EItemType -/* 800C2770 000BF6D0 3C 03 00 01 */ addis r0, r3, 1 -/* 800C2774 000BF6D4 28 00 FF FF */ cmplwi r0, 0xffff -/* 800C2778 000BF6D8 41 82 00 18 */ beq lbl_800C2790 -/* 800C277C 000BF6DC 80 BE 08 B8 */ lwz r5, 0x8b8(r30) -/* 800C2780 000BF6E0 7C 64 1B 78 */ mr r4, r3 -/* 800C2784 000BF6E4 C0 22 8D CC */ lfs f1, lbl_805AAAEC@sda21(r2) -/* 800C2788 000BF6E8 80 65 00 00 */ lwz r3, 0(r5) -/* 800C278C 000BF6EC 4B FC EE 49 */ bl SetScanTime__12CPlayerStateFUif -lbl_800C2790: -/* 800C2790 000BF6F0 88 1D 02 88 */ lbz r0, 0x288(r29) -/* 800C2794 000BF6F4 28 00 00 00 */ cmplwi r0, 0 -/* 800C2798 000BF6F8 41 82 01 84 */ beq lbl_800C291C -/* 800C279C 000BF6FC 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 800C27A0 000BF700 7F C4 F3 78 */ mr r4, r30 -/* 800C27A4 000BF704 80 63 00 00 */ lwz r3, 0(r3) -/* 800C27A8 000BF708 4B FC ED B1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 800C27AC 000BF70C 2C 03 00 03 */ cmpwi r3, 3 -/* 800C27B0 000BF710 41 82 01 6C */ beq lbl_800C291C -/* 800C27B4 000BF714 3C 60 80 3D */ lis r3, lbl_803CE020@ha -/* 800C27B8 000BF718 3B 80 00 00 */ li r28, 0 -/* 800C27BC 000BF71C 38 83 E0 20 */ addi r4, r3, lbl_803CE020@l -/* 800C27C0 000BF720 3B 20 00 00 */ li r25, 0 -/* 800C27C4 000BF724 3B 60 00 00 */ li r27, 0 -/* 800C27C8 000BF728 38 60 01 00 */ li r3, 0x100 -/* 800C27CC 000BF72C 38 A0 00 00 */ li r5, 0 -/* 800C27D0 000BF730 48 25 30 9D */ bl __nw__FUlPCcPCc -/* 800C27D4 000BF734 7C 7A 1B 79 */ or. r26, r3, r3 -/* 800C27D8 000BF738 41 82 00 CC */ beq lbl_800C28A4 -/* 800C27DC 000BF73C 3B 21 00 5C */ addi r25, r1, 0x5c -/* 800C27E0 000BF740 38 9D 02 7C */ addi r4, r29, 0x27c -/* 800C27E4 000BF744 7F 23 CB 78 */ mr r3, r25 -/* 800C27E8 000BF748 48 27 E6 C1 */ bl __ct__6CTokenFRC6CToken -/* 800C27EC 000BF74C 7F 23 CB 78 */ mr r3, r25 -/* 800C27F0 000BF750 48 27 E6 1D */ bl GetObj__6CTokenFv -/* 800C27F4 000BF754 80 03 00 04 */ lwz r0, 4(r3) -/* 800C27F8 000BF758 7F C4 F3 78 */ mr r4, r30 -/* 800C27FC 000BF75C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800C2800 000BF760 3B 60 00 01 */ li r27, 1 -/* 800C2804 000BF764 90 01 00 64 */ stw r0, 0x64(r1) -/* 800C2808 000BF768 4B F8 A8 D5 */ bl AllocateUniqueId__13CStateManagerFv -/* 800C280C 000BF76C A0 81 00 18 */ lhz r4, 0x18(r1) -/* 800C2810 000BF770 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 800C2814 000BF774 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 800C2818 000BF778 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 800C281C 000BF77C B0 81 00 1C */ sth r4, 0x1c(r1) -/* 800C2820 000BF780 38 61 00 84 */ addi r3, r1, 0x84 -/* 800C2824 000BF784 38 81 00 34 */ addi r4, r1, 0x34 -/* 800C2828 000BF788 38 C1 00 38 */ addi r6, r1, 0x38 -/* 800C282C 000BF78C 80 FD 00 04 */ lwz r7, 4(r29) -/* 800C2830 000BF790 90 E1 00 30 */ stw r7, 0x30(r1) -/* 800C2834 000BF794 90 E1 00 34 */ stw r7, 0x34(r1) -/* 800C2838 000BF798 90 01 00 38 */ stw r0, 0x38(r1) -/* 800C283C 000BF79C 4B F8 EC 49 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 800C2840 000BF7A0 3C 80 80 3D */ lis r4, lbl_803CE020@ha -/* 800C2844 000BF7A4 38 61 00 68 */ addi r3, r1, 0x68 -/* 800C2848 000BF7A8 38 84 E0 20 */ addi r4, r4, lbl_803CE020@l -/* 800C284C 000BF7AC 3B 20 00 01 */ li r25, 1 -/* 800C2850 000BF7B0 38 84 00 07 */ addi r4, r4, 7 -/* 800C2854 000BF7B4 4B F4 24 65 */ bl string_l__4rstlFPCc -/* 800C2858 000BF7B8 C0 02 8D D0 */ lfs f0, lbl_805AAAF0@sda21(r2) -/* 800C285C 000BF7BC 3B 80 00 01 */ li r28, 1 -/* 800C2860 000BF7C0 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 800C2864 000BF7C4 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 800C2868 000BF7C8 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 800C286C 000BF7CC 48 28 77 41 */ bl White__6CColorFv -/* 800C2870 000BF7D0 38 01 00 78 */ addi r0, r1, 0x78 -/* 800C2874 000BF7D4 38 81 00 5C */ addi r4, r1, 0x5c -/* 800C2878 000BF7D8 90 01 00 08 */ stw r0, 8(r1) -/* 800C287C 000BF7DC 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800C2880 000BF7E0 38 E1 00 84 */ addi r7, r1, 0x84 -/* 800C2884 000BF7E4 39 01 00 68 */ addi r8, r1, 0x68 -/* 800C2888 000BF7E8 90 61 00 0C */ stw r3, 0xc(r1) -/* 800C288C 000BF7EC 7F 43 D3 78 */ mr r3, r26 -/* 800C2890 000BF7F0 39 3D 00 34 */ addi r9, r29, 0x34 -/* 800C2894 000BF7F4 38 C0 00 01 */ li r6, 1 -/* 800C2898 000BF7F8 39 40 00 00 */ li r10, 0 -/* 800C289C 000BF7FC 4B F9 82 5D */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" -/* 800C28A0 000BF800 7C 7A 1B 78 */ mr r26, r3 -lbl_800C28A4: -/* 800C28A4 000BF804 7F C3 F3 78 */ mr r3, r30 -/* 800C28A8 000BF808 7F 44 D3 78 */ mr r4, r26 -/* 800C28AC 000BF80C 4B F8 A4 49 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 800C28B0 000BF810 7F 60 07 75 */ extsb. r0, r27 -/* 800C28B4 000BF814 41 82 00 10 */ beq lbl_800C28C4 -/* 800C28B8 000BF818 38 61 00 5C */ addi r3, r1, 0x5c -/* 800C28BC 000BF81C 38 80 00 00 */ li r4, 0 -/* 800C28C0 000BF820 48 27 E5 81 */ bl __dt__6CTokenFv -lbl_800C28C4: -/* 800C28C4 000BF824 7F 20 07 75 */ extsb. r0, r25 -/* 800C28C8 000BF828 41 82 00 44 */ beq lbl_800C290C -/* 800C28CC 000BF82C 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 800C28D0 000BF830 80 61 00 94 */ lwz r3, 0x94(r1) -/* 800C28D4 000BF834 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800C28D8 000BF838 90 61 00 24 */ stw r3, 0x24(r1) -/* 800C28DC 000BF83C 7C 64 1B 78 */ mr r4, r3 -/* 800C28E0 000BF840 7C 03 02 14 */ add r0, r3, r0 -/* 800C28E4 000BF844 90 61 00 20 */ stw r3, 0x20(r1) -/* 800C28E8 000BF848 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800C28EC 000BF84C 90 01 00 28 */ stw r0, 0x28(r1) -/* 800C28F0 000BF850 48 00 00 08 */ b lbl_800C28F8 -lbl_800C28F4: -/* 800C28F4 000BF854 38 84 00 0C */ addi r4, r4, 0xc -lbl_800C28F8: -/* 800C28F8 000BF858 7C 04 00 40 */ cmplw r4, r0 -/* 800C28FC 000BF85C 40 82 FF F8 */ bne lbl_800C28F4 -/* 800C2900 000BF860 28 03 00 00 */ cmplwi r3, 0 -/* 800C2904 000BF864 41 82 00 08 */ beq lbl_800C290C -/* 800C2908 000BF868 48 25 30 29 */ bl Free__7CMemoryFPCv -lbl_800C290C: -/* 800C290C 000BF86C 7F 80 07 75 */ extsb. r0, r28 -/* 800C2910 000BF870 41 82 00 0C */ beq lbl_800C291C -/* 800C2914 000BF874 38 61 00 68 */ addi r3, r1, 0x68 -/* 800C2918 000BF878 48 27 B1 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800C291C: -/* 800C291C 000BF87C 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 800C2920 000BF880 7F E4 FB 78 */ mr r4, r31 -/* 800C2924 000BF884 80 BD 02 60 */ lwz r5, 0x260(r29) -/* 800C2928 000BF888 80 63 00 00 */ lwz r3, 0(r3) -/* 800C292C 000BF88C 4B FC F4 3D */ bl InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei -/* 800C2930 000BF890 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 800C2934 000BF894 7F E4 FB 78 */ mr r4, r31 -/* 800C2938 000BF898 80 BD 02 5C */ lwz r5, 0x25c(r29) -/* 800C293C 000BF89C 80 63 00 00 */ lwz r3, 0(r3) -/* 800C2940 000BF8A0 4B FC F2 B1 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei -/* 800C2944 000BF8A4 A0 1D 00 08 */ lhz r0, 8(r29) -/* 800C2948 000BF8A8 7F C3 F3 78 */ mr r3, r30 -/* 800C294C 000BF8AC 38 81 00 14 */ addi r4, r1, 0x14 -/* 800C2950 000BF8B0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800C2954 000BF8B4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800C2958 000BF8B8 4B F8 99 15 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 800C295C 000BF8BC 7F A3 EB 78 */ mr r3, r29 -/* 800C2960 000BF8C0 7F C5 F3 78 */ mr r5, r30 -/* 800C2964 000BF8C4 38 80 00 01 */ li r4, 1 -/* 800C2968 000BF8C8 38 C0 FF FF */ li r6, -1 -/* 800C296C 000BF8CC 4B F8 E7 55 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 800C2970 000BF8D0 80 1D 02 60 */ lwz r0, 0x260(r29) -/* 800C2974 000BF8D4 2C 00 00 00 */ cmpwi r0, 0 -/* 800C2978 000BF8D8 40 81 00 84 */ ble lbl_800C29FC -/* 800C297C 000BF8DC 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 800C2980 000BF8E0 83 43 00 00 */ lwz r26, 0(r3) -/* 800C2984 000BF8E4 7F 43 D3 78 */ mr r3, r26 -/* 800C2988 000BF8E8 4B FC EB 25 */ bl GetTotalPickupCount__12CPlayerStateFv -/* 800C298C 000BF8EC 7C 7B 1B 78 */ mr r27, r3 -/* 800C2990 000BF8F0 7F 43 D3 78 */ mr r3, r26 -/* 800C2994 000BF8F4 4B FC E8 A1 */ bl CalculateItemCollectionRate__12CPlayerStateFv -/* 800C2998 000BF8F8 7C 03 D8 00 */ cmpw r3, r27 -/* 800C299C 000BF8FC 40 82 00 60 */ bne lbl_800C29FC -/* 800C29A0 000BF900 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 800C29A4 000BF904 3C 60 80 3D */ lis r3, lbl_803CE020@ha -/* 800C29A8 000BF908 38 A3 E0 20 */ addi r5, r3, lbl_803CE020@l -/* 800C29AC 000BF90C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800C29B0 000BF910 88 04 01 78 */ lbz r0, 0x178(r4) -/* 800C29B4 000BF914 3B 44 00 A8 */ addi r26, r4, 0xa8 -/* 800C29B8 000BF918 38 85 00 38 */ addi r4, r5, 0x38 -/* 800C29BC 000BF91C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800C29C0 000BF920 41 82 00 08 */ beq lbl_800C29C8 -/* 800C29C4 000BF924 38 85 00 21 */ addi r4, r5, 0x21 -lbl_800C29C8: -/* 800C29C8 000BF928 81 83 00 00 */ lwz r12, 0(r3) -/* 800C29CC 000BF92C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800C29D0 000BF930 7D 89 03 A6 */ mtctr r12 -/* 800C29D4 000BF934 4E 80 04 21 */ bctrl -/* 800C29D8 000BF938 80 9E 0F 80 */ lwz r4, 0xf80(r30) -/* 800C29DC 000BF93C 80 A3 00 04 */ lwz r5, 4(r3) -/* 800C29E0 000BF940 7F C3 F3 78 */ mr r3, r30 -/* 800C29E4 000BF944 C0 22 8D C8 */ lfs f1, lbl_805AAAE8@sda21(r2) -/* 800C29E8 000BF948 38 84 00 01 */ addi r4, r4, 1 -/* 800C29EC 000BF94C 4B F8 15 41 */ bl sub_80043f2c -/* 800C29F0 000BF950 7F 43 D3 78 */ mr r3, r26 -/* 800C29F4 000BF954 38 80 00 01 */ li r4, 1 -/* 800C29F8 000BF958 48 11 27 B9 */ bl SetAllItemsCollected__14CSystemOptionsFb -lbl_800C29FC: -/* 800C29FC 000BF95C 2C 1F 00 07 */ cmpwi r31, 7 -/* 800C2A00 000BF960 40 82 00 6C */ bne lbl_800C2A6C -/* 800C2A04 000BF964 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 800C2A08 000BF968 3B 43 00 A8 */ addi r26, r3, 0xa8 -/* 800C2A0C 000BF96C 7F 43 D3 78 */ mr r3, r26 -/* 800C2A10 000BF970 48 11 28 45 */ bl sub_801d5254 -/* 800C2A14 000BF974 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800C2A18 000BF978 41 82 00 54 */ beq lbl_800C2A6C -/* 800C2A1C 000BF97C 7F 43 D3 78 */ mr r3, r26 -/* 800C2A20 000BF980 48 11 28 01 */ bl sub_801d5220 -/* 800C2A24 000BF984 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) -/* 800C2A28 000BF988 38 80 00 6D */ li r4, 0x6d -/* 800C2A2C 000BF98C 48 29 3C D1 */ bl GetString__12CStringTableCFi -/* 800C2A30 000BF990 7C 64 1B 78 */ mr r4, r3 -/* 800C2A34 000BF994 38 61 00 4C */ addi r3, r1, 0x4c -/* 800C2A38 000BF998 4B F5 2F B9 */ bl wstring_l__4rstlFPCw -/* 800C2A3C 000BF99C C0 02 8D D4 */ lfs f0, lbl_805AAAF4@sda21(r2) -/* 800C2A40 000BF9A0 38 00 00 00 */ li r0, 0 -/* 800C2A44 000BF9A4 38 A0 00 01 */ li r5, 1 -/* 800C2A48 000BF9A8 98 01 00 41 */ stb r0, 0x41(r1) -/* 800C2A4C 000BF9AC 38 61 00 4C */ addi r3, r1, 0x4c -/* 800C2A50 000BF9B0 38 81 00 3C */ addi r4, r1, 0x3c -/* 800C2A54 000BF9B4 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800C2A58 000BF9B8 98 A1 00 40 */ stb r5, 0x40(r1) -/* 800C2A5C 000BF9BC 98 01 00 42 */ stb r0, 0x42(r1) -/* 800C2A60 000BF9C0 4B FA 92 09 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo -/* 800C2A64 000BF9C4 38 61 00 4C */ addi r3, r1, 0x4c -/* 800C2A68 000BF9C8 48 27 A6 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800C2A6C: -/* 800C2A6C 000BF9CC BB 21 00 A4 */ lmw r25, 0xa4(r1) -/* 800C2A70 000BF9D0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800C2A74 000BF9D4 7C 08 03 A6 */ mtlr r0 -/* 800C2A78 000BF9D8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800C2A7C 000BF9DC 4E 80 00 20 */ blr - -.global Think__13CScriptPickupFfR13CStateManager -Think__13CScriptPickupFfR13CStateManager: -/* 800C2A80 000BF9E0 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 800C2A84 000BF9E4 7C 08 02 A6 */ mflr r0 -/* 800C2A88 000BF9E8 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 800C2A8C 000BF9EC DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 800C2A90 000BF9F0 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 800C2A94 000BF9F4 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 800C2A98 000BF9F8 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 800C2A9C 000BF9FC DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 800C2AA0 000BFA00 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 800C2AA4 000BFA04 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 800C2AA8 000BFA08 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 800C2AAC 000BFA0C 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 800C2AB0 000BFA10 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800C2AB4 000BFA14 FF E0 08 90 */ fmr f31, f1 -/* 800C2AB8 000BFA18 7C 7E 1B 78 */ mr r30, r3 -/* 800C2ABC 000BFA1C 7C 9F 23 78 */ mr r31, r4 -/* 800C2AC0 000BFA20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800C2AC4 000BFA24 41 82 05 64 */ beq lbl_800C3028 -/* 800C2AC8 000BFA28 C0 3E 02 78 */ lfs f1, 0x278(r30) -/* 800C2ACC 000BFA2C C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) -/* 800C2AD0 000BFA30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C2AD4 000BFA34 4C 41 13 82 */ cror 2, 1, 2 -/* 800C2AD8 000BFA38 40 82 00 18 */ bne lbl_800C2AF0 -/* 800C2ADC 000BFA3C 48 05 88 9D */ bl Stop__13CPhysicsActorFv -/* 800C2AE0 000BFA40 C0 1E 02 78 */ lfs f0, 0x278(r30) -/* 800C2AE4 000BFA44 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 800C2AE8 000BFA48 D0 1E 02 78 */ stfs f0, 0x278(r30) -/* 800C2AEC 000BFA4C 48 00 05 3C */ b lbl_800C3028 -lbl_800C2AF0: -/* 800C2AF0 000BFA50 C0 1E 02 70 */ lfs f0, 0x270(r30) -/* 800C2AF4 000BFA54 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800C2AF8 000BFA58 D0 1E 02 70 */ stfs f0, 0x270(r30) -/* 800C2AFC 000BFA5C 88 1E 02 8C */ lbz r0, 0x28c(r30) -/* 800C2B00 000BFA60 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800C2B04 000BFA64 41 82 00 54 */ beq lbl_800C2B58 -/* 800C2B08 000BFA68 C0 1E 02 6C */ lfs f0, 0x26c(r30) -/* 800C2B0C 000BFA6C C0 3E 02 70 */ lfs f1, 0x270(r30) -/* 800C2B10 000BFA70 C0 62 8D D8 */ lfs f3, lbl_805AAAF8@sda21(r2) -/* 800C2B14 000BFA74 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800C2B18 000BFA78 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 800C2B1C 000BFA7C 40 80 00 3C */ bge lbl_800C2B58 -/* 800C2B20 000BFA80 EC 43 0F FC */ fnmsubs f2, f3, f31, f1 -/* 800C2B24 000BFA84 C0 02 8D DC */ lfs f0, lbl_805AAAFC@sda21(r2) -/* 800C2B28 000BFA88 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 800C2B2C 000BFA8C C0 3E 02 6C */ lfs f1, 0x26c(r30) -/* 800C2B30 000BFA90 EC 21 18 28 */ fsubs f1, f1, f3 -/* 800C2B34 000BFA94 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800C2B38 000BFA98 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 800C2B3C 000BFA9C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800C2B40 000BFAA0 40 80 00 0C */ bge lbl_800C2B4C -/* 800C2B44 000BFAA4 38 61 00 10 */ addi r3, r1, 0x10 -/* 800C2B48 000BFAA8 48 00 00 08 */ b lbl_800C2B50 -lbl_800C2B4C: -/* 800C2B4C 000BFAAC 38 61 00 14 */ addi r3, r1, 0x14 -lbl_800C2B50: -/* 800C2B50 000BFAB0 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C2B54 000BFAB4 D0 1E 02 70 */ stfs f0, 0x270(r30) -lbl_800C2B58: -/* 800C2B58 000BFAB8 C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2) -/* 800C2B5C 000BFABC 38 80 00 00 */ li r4, 0 -/* 800C2B60 000BFAC0 38 00 00 03 */ li r0, 3 -/* 800C2B64 000BFAC4 98 81 00 28 */ stb r4, 0x28(r1) -/* 800C2B68 000BFAC8 FC 40 08 90 */ fmr f2, f1 -/* 800C2B6C 000BFACC 38 61 00 2C */ addi r3, r1, 0x2c -/* 800C2B70 000BFAD0 FC 60 08 90 */ fmr f3, f1 -/* 800C2B74 000BFAD4 98 81 00 29 */ stb r4, 0x29(r1) -/* 800C2B78 000BFAD8 FC 80 08 90 */ fmr f4, f1 -/* 800C2B7C 000BFADC B0 01 00 2A */ sth r0, 0x2a(r1) -/* 800C2B80 000BFAE0 48 2A 08 6D */ bl __ct__6CColorFffff -/* 800C2B84 000BFAE4 C0 3E 02 68 */ lfs f1, 0x268(r30) -/* 800C2B88 000BFAE8 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) -/* 800C2B8C 000BFAEC 88 61 00 28 */ lbz r3, 0x28(r1) -/* 800C2B90 000BFAF0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800C2B94 000BFAF4 88 81 00 29 */ lbz r4, 0x29(r1) -/* 800C2B98 000BFAF8 A0 01 00 2A */ lhz r0, 0x2a(r1) -/* 800C2B9C 000BFAFC 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 800C2BA0 000BFB00 41 82 00 68 */ beq lbl_800C2C08 -/* 800C2BA4 000BFB04 C0 5E 02 70 */ lfs f2, 0x270(r30) -/* 800C2BA8 000BFB08 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 800C2BAC 000BFB0C 40 80 00 54 */ bge lbl_800C2C00 -/* 800C2BB0 000BFB10 EC 82 08 24 */ fdivs f4, f2, f1 -/* 800C2BB4 000BFB14 C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2) -/* 800C2BB8 000BFB18 38 A0 00 05 */ li r5, 5 -/* 800C2BBC 000BFB1C 38 80 00 00 */ li r4, 0 -/* 800C2BC0 000BFB20 38 00 00 03 */ li r0, 3 -/* 800C2BC4 000BFB24 98 A1 00 20 */ stb r5, 0x20(r1) -/* 800C2BC8 000BFB28 FC 40 08 90 */ fmr f2, f1 -/* 800C2BCC 000BFB2C 98 81 00 21 */ stb r4, 0x21(r1) -/* 800C2BD0 000BFB30 FC 60 08 90 */ fmr f3, f1 -/* 800C2BD4 000BFB34 38 61 00 24 */ addi r3, r1, 0x24 -/* 800C2BD8 000BFB38 B0 01 00 22 */ sth r0, 0x22(r1) -/* 800C2BDC 000BFB3C 48 2A 08 11 */ bl __ct__6CColorFffff -/* 800C2BE0 000BFB40 A0 01 00 22 */ lhz r0, 0x22(r1) -/* 800C2BE4 000BFB44 88 61 00 20 */ lbz r3, 0x20(r1) -/* 800C2BE8 000BFB48 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 800C2BEC 000BFB4C 88 81 00 21 */ lbz r4, 0x21(r1) -/* 800C2BF0 000BFB50 60 00 00 01 */ ori r0, r0, 1 -/* 800C2BF4 000BFB54 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 800C2BF8 000BFB58 54 00 04 3E */ clrlwi r0, r0, 0x10 -/* 800C2BFC 000BFB5C 48 00 00 98 */ b lbl_800C2C94 -lbl_800C2C00: -/* 800C2C00 000BFB60 D0 1E 02 68 */ stfs f0, 0x268(r30) -/* 800C2C04 000BFB64 48 00 00 90 */ b lbl_800C2C94 -lbl_800C2C08: -/* 800C2C08 000BFB68 C0 5E 02 6C */ lfs f2, 0x26c(r30) -/* 800C2C0C 000BFB6C FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 800C2C10 000BFB70 41 82 00 84 */ beq lbl_800C2C94 -/* 800C2C14 000BFB74 C0 22 8D D8 */ lfs f1, lbl_805AAAF8@sda21(r2) -/* 800C2C18 000BFB78 C0 82 8D D0 */ lfs f4, lbl_805AAAF0@sda21(r2) -/* 800C2C1C 000BFB7C FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 800C2C20 000BFB80 40 80 00 14 */ bge lbl_800C2C34 -/* 800C2C24 000BFB84 C0 1E 02 70 */ lfs f0, 0x270(r30) -/* 800C2C28 000BFB88 EC 02 00 24 */ fdivs f0, f2, f0 -/* 800C2C2C 000BFB8C EC 84 00 28 */ fsubs f4, f4, f0 -/* 800C2C30 000BFB90 48 00 00 1C */ b lbl_800C2C4C -lbl_800C2C34: -/* 800C2C34 000BFB94 C0 1E 02 70 */ lfs f0, 0x270(r30) -/* 800C2C38 000BFB98 EC 42 00 28 */ fsubs f2, f2, f0 -/* 800C2C3C 000BFB9C FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 800C2C40 000BFBA0 40 80 00 0C */ bge lbl_800C2C4C -/* 800C2C44 000BFBA4 C0 02 8D CC */ lfs f0, lbl_805AAAEC@sda21(r2) -/* 800C2C48 000BFBA8 EC 82 00 32 */ fmuls f4, f2, f0 -lbl_800C2C4C: -/* 800C2C4C 000BFBAC C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2) -/* 800C2C50 000BFBB0 38 A0 00 05 */ li r5, 5 -/* 800C2C54 000BFBB4 38 80 00 00 */ li r4, 0 -/* 800C2C58 000BFBB8 38 00 00 03 */ li r0, 3 -/* 800C2C5C 000BFBBC FC 40 08 90 */ fmr f2, f1 -/* 800C2C60 000BFBC0 98 A1 00 18 */ stb r5, 0x18(r1) -/* 800C2C64 000BFBC4 FC 60 08 90 */ fmr f3, f1 -/* 800C2C68 000BFBC8 38 61 00 1C */ addi r3, r1, 0x1c -/* 800C2C6C 000BFBCC 98 81 00 19 */ stb r4, 0x19(r1) -/* 800C2C70 000BFBD0 B0 01 00 1A */ sth r0, 0x1a(r1) -/* 800C2C74 000BFBD4 48 2A 07 79 */ bl __ct__6CColorFffff -/* 800C2C78 000BFBD8 A0 01 00 1A */ lhz r0, 0x1a(r1) -/* 800C2C7C 000BFBDC 88 61 00 18 */ lbz r3, 0x18(r1) -/* 800C2C80 000BFBE0 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 800C2C84 000BFBE4 88 81 00 19 */ lbz r4, 0x19(r1) -/* 800C2C88 000BFBE8 60 00 00 01 */ ori r0, r0, 1 -/* 800C2C8C 000BFBEC 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 800C2C90 000BFBF0 54 00 04 3E */ clrlwi r0, r0, 0x10 -lbl_800C2C94: -/* 800C2C94 000BFBF4 98 7E 00 B4 */ stb r3, 0xb4(r30) -/* 800C2C98 000BFBF8 38 60 00 00 */ li r3, 0 -/* 800C2C9C 000BFBFC 98 9E 00 B5 */ stb r4, 0xb5(r30) -/* 800C2CA0 000BFC00 B0 1E 00 B6 */ sth r0, 0xb6(r30) -/* 800C2CA4 000BFC04 90 BE 00 B8 */ stw r5, 0xb8(r30) -/* 800C2CA8 000BFC08 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 800C2CAC 000BFC0C 28 04 00 00 */ cmplwi r4, 0 -/* 800C2CB0 000BFC10 41 82 00 14 */ beq lbl_800C2CC4 -/* 800C2CB4 000BFC14 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800C2CB8 000BFC18 28 00 00 00 */ cmplwi r0, 0 -/* 800C2CBC 000BFC1C 41 82 00 08 */ beq lbl_800C2CC4 -/* 800C2CC0 000BFC20 38 60 00 01 */ li r3, 1 -lbl_800C2CC4: -/* 800C2CC4 000BFC24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800C2CC8 000BFC28 41 82 00 78 */ beq lbl_800C2D40 -/* 800C2CCC 000BFC2C FC 20 F8 90 */ fmr f1, f31 -/* 800C2CD0 000BFC30 7F C4 F3 78 */ mr r4, r30 -/* 800C2CD4 000BFC34 7F E5 FB 78 */ mr r5, r31 -/* 800C2CD8 000BFC38 38 61 00 60 */ addi r3, r1, 0x60 -/* 800C2CDC 000BFC3C 38 C0 00 01 */ li r6, 1 -/* 800C2CE0 000BFC40 4B F9 25 BD */ bl UpdateAnimation__6CActorFfR13CStateManagerb -/* 800C2CE4 000BFC44 C0 E1 00 60 */ lfs f7, 0x60(r1) -/* 800C2CE8 000BFC48 FC 20 F8 90 */ fmr f1, f31 -/* 800C2CEC 000BFC4C C0 C1 00 64 */ lfs f6, 0x64(r1) -/* 800C2CF0 000BFC50 7F C3 F3 78 */ mr r3, r30 -/* 800C2CF4 000BFC54 C0 A1 00 68 */ lfs f5, 0x68(r1) -/* 800C2CF8 000BFC58 3B A1 00 88 */ addi r29, r1, 0x88 -/* 800C2CFC 000BFC5C C0 81 00 6C */ lfs f4, 0x6c(r1) -/* 800C2D00 000BFC60 C0 61 00 70 */ lfs f3, 0x70(r1) -/* 800C2D04 000BFC64 38 81 00 7C */ addi r4, r1, 0x7c -/* 800C2D08 000BFC68 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 800C2D0C 000BFC6C C0 01 00 78 */ lfs f0, 0x78(r1) -/* 800C2D10 000BFC70 D0 E1 00 7C */ stfs f7, 0x7c(r1) -/* 800C2D14 000BFC74 D0 C1 00 80 */ stfs f6, 0x80(r1) -/* 800C2D18 000BFC78 D0 A1 00 84 */ stfs f5, 0x84(r1) -/* 800C2D1C 000BFC7C D0 81 00 88 */ stfs f4, 0x88(r1) -/* 800C2D20 000BFC80 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 800C2D24 000BFC84 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 800C2D28 000BFC88 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 800C2D2C 000BFC8C 48 05 81 4D */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff -/* 800C2D30 000BFC90 FC 20 F8 90 */ fmr f1, f31 -/* 800C2D34 000BFC94 7F C3 F3 78 */ mr r3, r30 -/* 800C2D38 000BFC98 7F A4 EB 78 */ mr r4, r29 -/* 800C2D3C 000BFC9C 48 05 80 D9 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf -lbl_800C2D40: -/* 800C2D40 000BFCA0 88 7E 02 8C */ lbz r3, 0x28c(r30) -/* 800C2D44 000BFCA4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 800C2D48 000BFCA8 41 82 01 54 */ beq lbl_800C2E9C -/* 800C2D4C 000BFCAC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 800C2D50 000BFCB0 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 800C2D54 000BFCB4 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l -/* 800C2D58 000BFCB8 C0 A2 8D D8 */ lfs f5, lbl_805AAAF8@sda21(r2) -/* 800C2D5C 000BFCBC C0 43 00 04 */ lfs f2, 4(r3) -/* 800C2D60 000BFCC0 C0 23 00 08 */ lfs f1, 8(r3) -/* 800C2D64 000BFCC4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800C2D68 000BFCC8 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 800C2D6C 000BFCCC C0 C4 00 50 */ lfs f6, 0x50(r4) -/* 800C2D70 000BFCD0 EC 45 00 72 */ fmuls f2, f5, f1 -/* 800C2D74 000BFCD4 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 800C2D78 000BFCD8 EC 05 00 32 */ fmuls f0, f5, f0 -/* 800C2D7C 000BFCDC C0 24 00 40 */ lfs f1, 0x40(r4) -/* 800C2D80 000BFCE0 EC A6 20 2A */ fadds f5, f6, f4 -/* 800C2D84 000BFCE4 C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 800C2D88 000BFCE8 EC 63 10 2A */ fadds f3, f3, f2 -/* 800C2D8C 000BFCEC C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 800C2D90 000BFCF0 EC 21 00 2A */ fadds f1, f1, f0 -/* 800C2D94 000BFCF4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 800C2D98 000BFCF8 EC 85 20 28 */ fsubs f4, f5, f4 -/* 800C2D9C 000BFCFC EC 43 10 28 */ fsubs f2, f3, f2 -/* 800C2DA0 000BFD00 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800C2DA4 000BFD04 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 800C2DA8 000BFD08 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800C2DAC 000BFD0C D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 800C2DB0 000BFD10 C0 1E 02 74 */ lfs f0, 0x274(r30) -/* 800C2DB4 000BFD14 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800C2DB8 000BFD18 D0 1E 02 74 */ stfs f0, 0x274(r30) -/* 800C2DBC 000BFD1C C0 2D 86 C4 */ lfs f1, lbl_805A7284@sda21(r13) -/* 800C2DC0 000BFD20 C0 1E 02 74 */ lfs f0, 0x274(r30) -/* 800C2DC4 000BFD24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C2DC8 000BFD28 40 80 00 0C */ bge lbl_800C2DD4 -/* 800C2DCC 000BFD2C 38 8D 86 C4 */ addi r4, r13, lbl_805A7284@sda21 -/* 800C2DD0 000BFD30 48 00 00 08 */ b lbl_800C2DD8 -lbl_800C2DD4: -/* 800C2DD4 000BFD34 38 9E 02 74 */ addi r4, r30, 0x274 -lbl_800C2DD8: -/* 800C2DD8 000BFD38 C0 22 8D CC */ lfs f1, lbl_805AAAEC@sda21(r2) -/* 800C2DDC 000BFD3C 38 61 00 3C */ addi r3, r1, 0x3c -/* 800C2DE0 000BFD40 C0 04 00 00 */ lfs f0, 0(r4) -/* 800C2DE4 000BFD44 38 81 00 54 */ addi r4, r1, 0x54 -/* 800C2DE8 000BFD48 EF A1 00 32 */ fmuls f29, f1, f0 -/* 800C2DEC 000BFD4C 48 25 1A 65 */ bl AsNormalized__9CVector3fCFv -/* 800C2DF0 000BFD50 C0 02 8D E0 */ lfs f0, lbl_805AAB00@sda21(r2) -/* 800C2DF4 000BFD54 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 800C2DF8 000BFD58 EC 60 07 72 */ fmuls f3, f0, f29 -/* 800C2DFC 000BFD5C C0 21 00 44 */ lfs f1, 0x44(r1) -/* 800C2E00 000BFD60 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 800C2E04 000BFD64 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800C2E08 000BFD68 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800C2E0C 000BFD6C EC 03 00 32 */ fmuls f0, f3, f0 -/* 800C2E10 000BFD70 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800C2E14 000BFD74 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800C2E18 000BFD78 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 800C2E1C 000BFD7C 88 1E 02 8C */ lbz r0, 0x28c(r30) -/* 800C2E20 000BFD80 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800C2E24 000BFD84 41 82 00 68 */ beq lbl_800C2E8C -/* 800C2E28 000BFD88 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 800C2E2C 000BFD8C 80 63 04 90 */ lwz r3, 0x490(r3) -/* 800C2E30 000BFD90 88 03 08 34 */ lbz r0, 0x834(r3) -/* 800C2E34 000BFD94 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800C2E38 000BFD98 41 82 00 0C */ beq lbl_800C2E44 -/* 800C2E3C 000BFD9C C0 23 03 40 */ lfs f1, 0x340(r3) -/* 800C2E40 000BFDA0 48 00 00 08 */ b lbl_800C2E48 -lbl_800C2E44: -/* 800C2E44 000BFDA4 C0 22 8D C8 */ lfs f1, lbl_805AAAE8@sda21(r2) -lbl_800C2E48: -/* 800C2E48 000BFDA8 C0 0D A1 B0 */ lfs f0, lbl_805A8D70@sda21(r13) -/* 800C2E4C 000BFDAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C2E50 000BFDB0 40 80 00 3C */ bge lbl_800C2E8C -/* 800C2E54 000BFDB4 88 1E 02 8C */ lbz r0, 0x28c(r30) -/* 800C2E58 000BFDB8 38 80 00 00 */ li r4, 0 -/* 800C2E5C 000BFDBC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800C2E60 000BFDC0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800C2E64 000BFDC4 98 1E 02 8C */ stb r0, 0x28c(r30) -/* 800C2E68 000BFDC8 88 1E 02 8C */ lbz r0, 0x28c(r30) -/* 800C2E6C 000BFDCC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 800C2E70 000BFDD0 98 1E 02 8C */ stb r0, 0x28c(r30) -/* 800C2E74 000BFDD4 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 800C2E78 000BFDD8 C0 23 00 04 */ lfs f1, 4(r3) -/* 800C2E7C 000BFDDC C0 03 00 08 */ lfs f0, 8(r3) -/* 800C2E80 000BFDE0 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800C2E84 000BFDE4 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 800C2E88 000BFDE8 D0 01 00 5C */ stfs f0, 0x5c(r1) -lbl_800C2E8C: -/* 800C2E8C 000BFDEC 7F C3 F3 78 */ mr r3, r30 -/* 800C2E90 000BFDF0 38 81 00 54 */ addi r4, r1, 0x54 -/* 800C2E94 000BFDF4 48 05 7E 0D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 800C2E98 000BFDF8 48 00 01 5C */ b lbl_800C2FF4 -lbl_800C2E9C: -/* 800C2E9C 000BFDFC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 800C2EA0 000BFE00 41 82 01 54 */ beq lbl_800C2FF4 -/* 800C2EA4 000BFE04 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 800C2EA8 000BFE08 80 63 04 90 */ lwz r3, 0x490(r3) -/* 800C2EAC 000BFE0C 88 03 08 34 */ lbz r0, 0x834(r3) -/* 800C2EB0 000BFE10 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800C2EB4 000BFE14 41 82 00 0C */ beq lbl_800C2EC0 -/* 800C2EB8 000BFE18 C0 23 03 40 */ lfs f1, 0x340(r3) -/* 800C2EBC 000BFE1C 48 00 00 08 */ b lbl_800C2EC4 -lbl_800C2EC0: -/* 800C2EC0 000BFE20 C0 22 8D C8 */ lfs f1, lbl_805AAAE8@sda21(r2) -lbl_800C2EC4: -/* 800C2EC4 000BFE24 C0 0D A1 B0 */ lfs f0, lbl_805A8D70@sda21(r13) -/* 800C2EC8 000BFE28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C2ECC 000BFE2C 40 81 01 28 */ ble lbl_800C2FF4 -/* 800C2ED0 000BFE30 80 BF 08 70 */ lwz r5, 0x870(r31) -/* 800C2ED4 000BFE34 38 61 00 30 */ addi r3, r1, 0x30 -/* 800C2ED8 000BFE38 C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 800C2EDC 000BFE3C 38 81 00 48 */ addi r4, r1, 0x48 -/* 800C2EE0 000BFE40 80 A5 00 7C */ lwz r5, 0x7c(r5) -/* 800C2EE4 000BFE44 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 800C2EE8 000BFE48 C0 05 00 50 */ lfs f0, 0x50(r5) -/* 800C2EEC 000BFE4C C0 45 00 60 */ lfs f2, 0x60(r5) -/* 800C2EF0 000BFE50 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 800C2EF4 000BFE54 EC 84 00 28 */ fsubs f4, f4, f0 -/* 800C2EF8 000BFE58 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 800C2EFC 000BFE5C EC 43 10 28 */ fsubs f2, f3, f2 -/* 800C2F00 000BFE60 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800C2F04 000BFE64 D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 800C2F08 000BFE68 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 800C2F0C 000BFE6C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800C2F10 000BFE70 C3 A5 00 58 */ lfs f29, 0x58(r5) -/* 800C2F14 000BFE74 C3 C5 00 48 */ lfs f30, 0x48(r5) -/* 800C2F18 000BFE78 C3 E5 00 38 */ lfs f31, 0x38(r5) -/* 800C2F1C 000BFE7C 48 25 19 35 */ bl AsNormalized__9CVector3fCFv -/* 800C2F20 000BFE80 80 6D A1 20 */ lwz r3, gpTweakGame@sda21(r13) -/* 800C2F24 000BFE84 3C 00 43 30 */ lis r0, 0x4330 -/* 800C2F28 000BFE88 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 800C2F2C 000BFE8C C0 22 8D E4 */ lfs f1, lbl_805AAB04@sda21(r2) -/* 800C2F30 000BFE90 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 800C2F34 000BFE94 EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 800C2F38 000BFE98 C0 61 00 30 */ lfs f3, 0x30(r1) -/* 800C2F3C 000BFE9C EC 81 00 32 */ fmuls f4, f1, f0 -/* 800C2F40 000BFEA0 C0 02 8D E8 */ lfs f0, lbl_805AAB08@sda21(r2) -/* 800C2F44 000BFEA4 EC 3F 10 FA */ fmadds f1, f31, f3, f2 -/* 800C2F48 000BFEA8 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 800C2F4C 000BFEAC 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 800C2F50 000BFEB0 EC 04 00 32 */ fmuls f0, f4, f0 -/* 800C2F54 000BFEB4 EF BD 08 BA */ fmadds f29, f29, f2, f1 -/* 800C2F58 000BFEB8 C8 62 8D F0 */ lfd f3, lbl_805AAB10@sda21(r2) -/* 800C2F5C 000BFEBC C0 42 8D EC */ lfs f2, lbl_805AAB0C@sda21(r2) -/* 800C2F60 000BFEC0 FC 20 00 1E */ fctiwz f1, f0 -/* 800C2F64 000BFEC4 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) -/* 800C2F68 000BFEC8 D8 21 00 98 */ stfd f1, 0x98(r1) -/* 800C2F6C 000BFECC 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 800C2F70 000BFED0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800C2F74 000BFED4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 800C2F78 000BFED8 C8 21 00 A0 */ lfd f1, 0xa0(r1) -/* 800C2F7C 000BFEDC EC 21 18 28 */ fsubs f1, f1, f3 -/* 800C2F80 000BFEE0 EC 21 20 BC */ fnmsubs f1, f1, f2, f4 -/* 800C2F84 000BFEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C2F88 000BFEE8 40 80 00 08 */ bge lbl_800C2F90 -/* 800C2F8C 000BFEEC EC 21 10 2A */ fadds f1, f1, f2 -lbl_800C2F90: -/* 800C2F90 000BFEF0 48 2D 14 61 */ bl cos -/* 800C2F94 000BFEF4 FC 00 08 18 */ frsp f0, f1 -/* 800C2F98 000BFEF8 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 800C2F9C 000BFEFC 40 81 00 58 */ ble lbl_800C2FF4 -/* 800C2FA0 000BFF00 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 800C2FA4 000BFF04 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800C2FA8 000BFF08 EC 41 00 72 */ fmuls f2, f1, f1 -/* 800C2FAC 000BFF0C C0 61 00 50 */ lfs f3, 0x50(r1) -/* 800C2FB0 000BFF10 EC 20 00 32 */ fmuls f1, f0, f0 -/* 800C2FB4 000BFF14 C0 0D 86 C0 */ lfs f0, lbl_805A7280@sda21(r13) -/* 800C2FB8 000BFF18 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 800C2FBC 000BFF1C EC 00 00 32 */ fmuls f0, f0, f0 -/* 800C2FC0 000BFF20 EC 22 08 2A */ fadds f1, f2, f1 -/* 800C2FC4 000BFF24 EC 23 08 2A */ fadds f1, f3, f1 -/* 800C2FC8 000BFF28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800C2FCC 000BFF2C 40 80 00 28 */ bge lbl_800C2FF4 -/* 800C2FD0 000BFF30 88 1E 02 8C */ lbz r0, 0x28c(r30) -/* 800C2FD4 000BFF34 38 60 00 01 */ li r3, 1 -/* 800C2FD8 000BFF38 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800C2FDC 000BFF3C C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) -/* 800C2FE0 000BFF40 98 1E 02 8C */ stb r0, 0x28c(r30) -/* 800C2FE4 000BFF44 88 1E 02 8C */ lbz r0, 0x28c(r30) -/* 800C2FE8 000BFF48 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800C2FEC 000BFF4C 98 1E 02 8C */ stb r0, 0x28c(r30) -/* 800C2FF0 000BFF50 D0 1E 02 74 */ stfs f0, 0x274(r30) -lbl_800C2FF4: -/* 800C2FF4 000BFF54 C0 3E 02 6C */ lfs f1, 0x26c(r30) -/* 800C2FF8 000BFF58 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) -/* 800C2FFC 000BFF5C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800C3000 000BFF60 41 82 00 28 */ beq lbl_800C3028 -/* 800C3004 000BFF64 C0 1E 02 70 */ lfs f0, 0x270(r30) -/* 800C3008 000BFF68 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800C300C 000BFF6C 40 81 00 1C */ ble lbl_800C3028 -/* 800C3010 000BFF70 A0 1E 00 08 */ lhz r0, 8(r30) -/* 800C3014 000BFF74 7F E3 FB 78 */ mr r3, r31 -/* 800C3018 000BFF78 38 81 00 0C */ addi r4, r1, 0xc -/* 800C301C 000BFF7C B0 01 00 08 */ sth r0, 8(r1) -/* 800C3020 000BFF80 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800C3024 000BFF84 4B F8 92 49 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_800C3028: -/* 800C3028 000BFF88 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 800C302C 000BFF8C CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 800C3030 000BFF90 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 800C3034 000BFF94 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 800C3038 000BFF98 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 800C303C 000BFF9C CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 800C3040 000BFFA0 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 800C3044 000BFFA4 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 800C3048 000BFFA8 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 800C304C 000BFFAC 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 800C3050 000BFFB0 7C 08 03 A6 */ mtlr r0 -/* 800C3054 000BFFB4 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 800C3058 000BFFB8 4E 80 00 20 */ blr - -.global __dt__13CScriptPickup -__dt__13CScriptPickup: -/* 800C305C 000BFFBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800C3060 000BFFC0 7C 08 02 A6 */ mflr r0 -/* 800C3064 000BFFC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800C3068 000BFFC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800C306C 000BFFCC 7C 9F 23 78 */ mr r31, r4 -/* 800C3070 000BFFD0 93 C1 00 08 */ stw r30, 8(r1) -/* 800C3074 000BFFD4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800C3078 000BFFD8 41 82 00 60 */ beq lbl_800C30D8 -/* 800C307C 000BFFDC 3C 60 80 3E */ lis r3, lbl_803DF4F8@ha -/* 800C3080 000BFFE0 34 1E 02 7C */ addic. r0, r30, 0x27c -/* 800C3084 000BFFE4 38 03 F4 F8 */ addi r0, r3, lbl_803DF4F8@l -/* 800C3088 000BFFE8 90 1E 00 00 */ stw r0, 0(r30) -/* 800C308C 000BFFEC 41 82 00 30 */ beq lbl_800C30BC -/* 800C3090 000BFFF0 88 1E 02 88 */ lbz r0, 0x288(r30) -/* 800C3094 000BFFF4 28 00 00 00 */ cmplwi r0, 0 -/* 800C3098 000BFFF8 41 82 00 1C */ beq lbl_800C30B4 -/* 800C309C 000BFFFC 34 7E 02 7C */ addic. r3, r30, 0x27c -/* 800C30A0 000C0000 41 82 00 14 */ beq lbl_800C30B4 -/* 800C30A4 000C0004 28 03 00 00 */ cmplwi r3, 0 -/* 800C30A8 000C0008 41 82 00 0C */ beq lbl_800C30B4 -/* 800C30AC 000C000C 38 80 00 00 */ li r4, 0 -/* 800C30B0 000C0010 48 27 DD 91 */ bl __dt__6CTokenFv -lbl_800C30B4: -/* 800C30B4 000C0014 38 00 00 00 */ li r0, 0 -/* 800C30B8 000C0018 98 1E 02 88 */ stb r0, 0x288(r30) -lbl_800C30BC: -/* 800C30BC 000C001C 7F C3 F3 78 */ mr r3, r30 -/* 800C30C0 000C0020 38 80 00 00 */ li r4, 0 -/* 800C30C4 000C0024 48 05 93 51 */ bl __dt__13CPhysicsActorFv -/* 800C30C8 000C0028 7F E0 07 35 */ extsh. r0, r31 -/* 800C30CC 000C002C 40 81 00 0C */ ble lbl_800C30D8 -/* 800C30D0 000C0030 7F C3 F3 78 */ mr r3, r30 -/* 800C30D4 000C0034 48 25 28 5D */ bl Free__7CMemoryFPCv -lbl_800C30D8: -/* 800C30D8 000C0038 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800C30DC 000C003C 7F C3 F3 78 */ mr r3, r30 -/* 800C30E0 000C0040 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800C30E4 000C0044 83 C1 00 08 */ lwz r30, 8(r1) -/* 800C30E8 000C0048 7C 08 03 A6 */ mtlr r0 -/* 800C30EC 000C004C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800C30F0 000C0050 4E 80 00 20 */ blr - -.global "__ct__13CScriptPickupF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxiiiiffffb" -"__ct__13CScriptPickupF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxiiiiffffb": -/* 800C30F4 000C0054 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 800C30F8 000C0058 7C 08 02 A6 */ mflr r0 -/* 800C30FC 000C005C 90 01 01 24 */ stw r0, 0x124(r1) -/* 800C3100 000C0060 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 800C3104 000C0064 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 800C3108 000C0068 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 800C310C 000C006C F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 800C3110 000C0070 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 800C3114 000C0074 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 800C3118 000C0078 DB 81 00 E0 */ stfd f28, 0xe0(r1) -/* 800C311C 000C007C F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 -/* 800C3120 000C0080 BE 41 00 A8 */ stmw r18, 0xa8(r1) -/* 800C3124 000C0084 FF 80 08 90 */ fmr f28, f1 -/* 800C3128 000C0088 83 41 01 28 */ lwz r26, 0x128(r1) -/* 800C312C 000C008C FF A0 10 90 */ fmr f29, f2 -/* 800C3130 000C0090 83 61 01 2C */ lwz r27, 0x12c(r1) -/* 800C3134 000C0094 FF C0 18 90 */ fmr f30, f3 -/* 800C3138 000C0098 83 81 01 30 */ lwz r28, 0x130(r1) -/* 800C313C 000C009C FF E0 20 90 */ fmr f31, f4 -/* 800C3140 000C00A0 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 800C3144 000C00A4 8B C1 01 3B */ lbz r30, 0x13b(r1) -/* 800C3148 000C00A8 7C 73 1B 78 */ mr r19, r3 -/* 800C314C 000C00AC 7C 92 23 78 */ mr r18, r4 -/* 800C3150 000C00B0 7C B4 2B 78 */ mr r20, r5 -/* 800C3154 000C00B4 7C D5 33 78 */ mr r21, r6 -/* 800C3158 000C00B8 7C F6 3B 78 */ mr r22, r7 -/* 800C315C 000C00BC 7D 17 43 78 */ mr r23, r8 -/* 800C3160 000C00C0 7D 38 4B 78 */ mr r24, r9 -/* 800C3164 000C00C4 7D 59 53 78 */ mr r25, r10 -/* 800C3168 000C00C8 4B F5 83 CD */ bl Identity__10CAxisAngleFv -/* 800C316C 000C00CC 7C 7F 1B 78 */ mr r31, r3 -/* 800C3170 000C00D0 4B F5 83 C5 */ bl Identity__10CAxisAngleFv -/* 800C3174 000C00D4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800C3178 000C00D8 C4 84 66 A0 */ lfsu f4, skZero3f@l(r4) -/* 800C317C 000C00DC C0 02 8D D0 */ lfs f0, lbl_805AAAF0@sda21(r2) -/* 800C3180 000C00E0 39 80 00 00 */ li r12, 0 -/* 800C3184 000C00E4 C0 A4 00 04 */ lfs f5, 4(r4) -/* 800C3188 000C00E8 38 01 00 74 */ addi r0, r1, 0x74 -/* 800C318C 000C00EC C0 C4 00 08 */ lfs f6, 8(r4) -/* 800C3190 000C00F0 7F C5 F3 78 */ mr r5, r30 -/* 800C3194 000C00F4 D0 81 00 74 */ stfs f4, 0x74(r1) -/* 800C3198 000C00F8 7E 86 A3 78 */ mr r6, r20 -/* 800C319C 000C00FC A1 72 00 00 */ lhz r11, 0(r18) -/* 800C31A0 000C0100 7E A7 AB 78 */ mr r7, r21 -/* 800C31A4 000C0104 D0 A1 00 78 */ stfs f5, 0x78(r1) -/* 800C31A8 000C0108 7E C8 B3 78 */ mr r8, r22 -/* 800C31AC 000C010C C0 22 8D F8 */ lfs f1, lbl_805AAB18@sda21(r2) -/* 800C31B0 000C0110 7E E9 BB 78 */ mr r9, r23 -/* 800C31B4 000C0114 D0 C1 00 7C */ stfs f6, 0x7c(r1) -/* 800C31B8 000C0118 38 81 00 18 */ addi r4, r1, 0x18 -/* 800C31BC 000C011C C0 42 8D FC */ lfs f2, lbl_805AAB1C@sda21(r2) -/* 800C31C0 000C0120 39 41 00 38 */ addi r10, r1, 0x38 -/* 800C31C4 000C0124 C0 63 00 00 */ lfs f3, 0(r3) -/* 800C31C8 000C0128 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 800C31CC 000C012C C0 63 00 04 */ lfs f3, 4(r3) -/* 800C31D0 000C0130 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 800C31D4 000C0134 C0 63 00 08 */ lfs f3, 8(r3) -/* 800C31D8 000C0138 7E 63 9B 78 */ mr r3, r19 -/* 800C31DC 000C013C D0 61 00 88 */ stfs f3, 0x88(r1) -/* 800C31E0 000C0140 D0 81 00 8C */ stfs f4, 0x8c(r1) -/* 800C31E4 000C0144 D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 800C31E8 000C0148 D0 C1 00 94 */ stfs f6, 0x94(r1) -/* 800C31EC 000C014C C0 7F 00 00 */ lfs f3, 0(r31) -/* 800C31F0 000C0150 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 800C31F4 000C0154 C0 7F 00 04 */ lfs f3, 4(r31) -/* 800C31F8 000C0158 D0 61 00 9C */ stfs f3, 0x9c(r1) -/* 800C31FC 000C015C C0 7F 00 08 */ lfs f3, 8(r31) -/* 800C3200 000C0160 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 800C3204 000C0164 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 800C3208 000C0168 91 81 00 3C */ stw r12, 0x3c(r1) -/* 800C320C 000C016C 91 81 00 38 */ stw r12, 0x38(r1) -/* 800C3210 000C0170 B1 61 00 18 */ sth r11, 0x18(r1) -/* 800C3214 000C0174 93 21 00 08 */ stw r25, 8(r1) -/* 800C3218 000C0178 90 01 00 0C */ stw r0, 0xc(r1) -/* 800C321C 000C017C 93 01 00 10 */ stw r24, 0x10(r1) -/* 800C3220 000C0180 48 05 92 91 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" -/* 800C3224 000C0184 3C 60 80 3E */ lis r3, lbl_803DF4F8@ha -/* 800C3228 000C0188 3C 1D 00 01 */ addis r0, r29, 1 -/* 800C322C 000C018C 38 63 F4 F8 */ addi r3, r3, lbl_803DF4F8@l -/* 800C3230 000C0190 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2) -/* 800C3234 000C0194 90 73 00 00 */ stw r3, 0(r19) -/* 800C3238 000C0198 38 60 00 00 */ li r3, 0 -/* 800C323C 000C019C 28 00 FF FF */ cmplwi r0, 0xffff -/* 800C3240 000C01A0 93 53 02 58 */ stw r26, 0x258(r19) -/* 800C3244 000C01A4 93 73 02 5C */ stw r27, 0x25c(r19) -/* 800C3248 000C01A8 93 93 02 60 */ stw r28, 0x260(r19) -/* 800C324C 000C01AC D3 93 02 64 */ stfs f28, 0x264(r19) -/* 800C3250 000C01B0 D3 D3 02 68 */ stfs f30, 0x268(r19) -/* 800C3254 000C01B4 D3 B3 02 6C */ stfs f29, 0x26c(r19) -/* 800C3258 000C01B8 D0 13 02 70 */ stfs f0, 0x270(r19) -/* 800C325C 000C01BC D3 F3 02 78 */ stfs f31, 0x278(r19) -/* 800C3260 000C01C0 98 73 02 88 */ stb r3, 0x288(r19) -/* 800C3264 000C01C4 88 13 02 8C */ lbz r0, 0x28c(r19) -/* 800C3268 000C01C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800C326C 000C01CC 98 13 02 8C */ stb r0, 0x28c(r19) -/* 800C3270 000C01D0 88 13 02 8C */ lbz r0, 0x28c(r19) -/* 800C3274 000C01D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800C3278 000C01D8 98 13 02 8C */ stb r0, 0x28c(r19) -/* 800C327C 000C01DC 88 13 02 8C */ lbz r0, 0x28c(r19) -/* 800C3280 000C01E0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800C3284 000C01E4 98 13 02 8C */ stb r0, 0x28c(r19) -/* 800C3288 000C01E8 41 82 00 B0 */ beq lbl_800C3338 -/* 800C328C 000C01EC 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 800C3290 000C01F0 93 A1 00 30 */ stw r29, 0x30(r1) -/* 800C3294 000C01F4 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 800C3298 000C01F8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800C329C 000C01FC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800C32A0 000C0200 38 61 00 24 */ addi r3, r1, 0x24 -/* 800C32A4 000C0204 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800C32A8 000C0208 81 84 00 00 */ lwz r12, 0(r4) -/* 800C32AC 000C020C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800C32B0 000C0210 7D 89 03 A6 */ mtctr r12 -/* 800C32B4 000C0214 4E 80 04 21 */ bctrl -/* 800C32B8 000C0218 38 61 00 40 */ addi r3, r1, 0x40 -/* 800C32BC 000C021C 38 81 00 24 */ addi r4, r1, 0x24 -/* 800C32C0 000C0220 48 27 DB E9 */ bl __ct__6CTokenFRC6CToken -/* 800C32C4 000C0224 38 00 00 00 */ li r0, 0 -/* 800C32C8 000C0228 90 01 00 48 */ stw r0, 0x48(r1) -/* 800C32CC 000C022C 88 13 02 88 */ lbz r0, 0x288(r19) -/* 800C32D0 000C0230 28 00 00 00 */ cmplwi r0, 0 -/* 800C32D4 000C0234 40 82 00 2C */ bne lbl_800C3300 -/* 800C32D8 000C0238 36 93 02 7C */ addic. r20, r19, 0x27c -/* 800C32DC 000C023C 41 82 00 18 */ beq lbl_800C32F4 -/* 800C32E0 000C0240 7E 83 A3 78 */ mr r3, r20 -/* 800C32E4 000C0244 38 81 00 40 */ addi r4, r1, 0x40 -/* 800C32E8 000C0248 48 27 DB C1 */ bl __ct__6CTokenFRC6CToken -/* 800C32EC 000C024C 80 01 00 48 */ lwz r0, 0x48(r1) -/* 800C32F0 000C0250 90 14 00 08 */ stw r0, 8(r20) -lbl_800C32F4: -/* 800C32F4 000C0254 38 00 00 01 */ li r0, 1 -/* 800C32F8 000C0258 98 13 02 88 */ stb r0, 0x288(r19) -/* 800C32FC 000C025C 48 00 00 1C */ b lbl_800C3318 -lbl_800C3300: -/* 800C3300 000C0260 3A 93 02 7C */ addi r20, r19, 0x27c -/* 800C3304 000C0264 38 81 00 40 */ addi r4, r1, 0x40 -/* 800C3308 000C0268 7E 83 A3 78 */ mr r3, r20 -/* 800C330C 000C026C 48 27 D9 B9 */ bl __as__6CTokenFRC6CToken -/* 800C3310 000C0270 80 01 00 48 */ lwz r0, 0x48(r1) -/* 800C3314 000C0274 90 14 00 08 */ stw r0, 8(r20) -lbl_800C3318: -/* 800C3318 000C0278 38 61 00 40 */ addi r3, r1, 0x40 -/* 800C331C 000C027C 38 80 00 00 */ li r4, 0 -/* 800C3320 000C0280 48 27 DB 21 */ bl __dt__6CTokenFv -/* 800C3324 000C0284 38 61 00 24 */ addi r3, r1, 0x24 -/* 800C3328 000C0288 38 80 FF FF */ li r4, -1 -/* 800C332C 000C028C 48 27 DB 15 */ bl __dt__6CTokenFv -/* 800C3330 000C0290 38 73 02 7C */ addi r3, r19, 0x27c -/* 800C3334 000C0294 48 27 DA 51 */ bl Lock__6CTokenFv -lbl_800C3338: -/* 800C3338 000C0298 80 93 00 64 */ lwz r4, 0x64(r19) -/* 800C333C 000C029C 38 60 00 00 */ li r3, 0 -/* 800C3340 000C02A0 28 04 00 00 */ cmplwi r4, 0 -/* 800C3344 000C02A4 41 82 00 14 */ beq lbl_800C3358 -/* 800C3348 000C02A8 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800C334C 000C02AC 28 00 00 00 */ cmplwi r0, 0 -/* 800C3350 000C02B0 41 82 00 08 */ beq lbl_800C3358 -/* 800C3354 000C02B4 38 60 00 01 */ li r3, 1 -lbl_800C3358: -/* 800C3358 000C02B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800C335C 000C02BC 41 82 00 50 */ beq lbl_800C33AC -/* 800C3360 000C02C0 C0 02 8D D0 */ lfs f0, lbl_805AAAF0@sda21(r2) -/* 800C3364 000C02C4 38 C0 00 00 */ li r6, 0 -/* 800C3368 000C02C8 38 60 FF FF */ li r3, -1 -/* 800C336C 000C02CC 38 00 00 01 */ li r0, 1 -/* 800C3370 000C02D0 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 800C3374 000C02D4 38 81 00 4C */ addi r4, r1, 0x4c -/* 800C3378 000C02D8 38 A0 00 00 */ li r5, 0 -/* 800C337C 000C02DC 90 61 00 50 */ stw r3, 0x50(r1) -/* 800C3380 000C02E0 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800C3384 000C02E4 98 01 00 58 */ stb r0, 0x58(r1) -/* 800C3388 000C02E8 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 800C338C 000C02EC 90 C1 00 60 */ stw r6, 0x60(r1) -/* 800C3390 000C02F0 98 C1 00 64 */ stb r6, 0x64(r1) -/* 800C3394 000C02F4 90 C1 00 68 */ stw r6, 0x68(r1) -/* 800C3398 000C02F8 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 800C339C 000C02FC 90 C1 00 70 */ stw r6, 0x70(r1) -/* 800C33A0 000C0300 80 73 00 64 */ lwz r3, 0x64(r19) -/* 800C33A4 000C0304 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800C33A8 000C0308 4B F6 99 D5 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -lbl_800C33AC: -/* 800C33AC 000C030C C0 13 02 68 */ lfs f0, 0x268(r19) -/* 800C33B0 000C0310 C0 82 8D C8 */ lfs f4, lbl_805AAAE8@sda21(r2) -/* 800C33B4 000C0314 FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 800C33B8 000C0318 41 82 00 58 */ beq lbl_800C3410 -/* 800C33BC 000C031C C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2) -/* 800C33C0 000C0320 38 A0 00 05 */ li r5, 5 -/* 800C33C4 000C0324 38 80 00 00 */ li r4, 0 -/* 800C33C8 000C0328 38 00 00 03 */ li r0, 3 -/* 800C33CC 000C032C FC 40 08 90 */ fmr f2, f1 -/* 800C33D0 000C0330 98 A1 00 1C */ stb r5, 0x1c(r1) -/* 800C33D4 000C0334 FC 60 08 90 */ fmr f3, f1 -/* 800C33D8 000C0338 38 61 00 20 */ addi r3, r1, 0x20 -/* 800C33DC 000C033C 98 81 00 1D */ stb r4, 0x1d(r1) -/* 800C33E0 000C0340 B0 01 00 1E */ sth r0, 0x1e(r1) -/* 800C33E4 000C0344 48 2A 00 09 */ bl __ct__6CColorFffff -/* 800C33E8 000C0348 A0 01 00 1E */ lhz r0, 0x1e(r1) -/* 800C33EC 000C034C 88 81 00 1D */ lbz r4, 0x1d(r1) -/* 800C33F0 000C0350 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d -/* 800C33F4 000C0354 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 800C33F8 000C0358 88 01 00 1C */ lbz r0, 0x1c(r1) -/* 800C33FC 000C035C 60 63 00 01 */ ori r3, r3, 1 -/* 800C3400 000C0360 98 13 00 B4 */ stb r0, 0xb4(r19) -/* 800C3404 000C0364 98 93 00 B5 */ stb r4, 0xb5(r19) -/* 800C3408 000C0368 B0 73 00 B6 */ sth r3, 0xb6(r19) -/* 800C340C 000C036C 90 B3 00 B8 */ stw r5, 0xb8(r19) -lbl_800C3410: -/* 800C3410 000C0370 7E 63 9B 78 */ mr r3, r19 -/* 800C3414 000C0374 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 800C3418 000C0378 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 800C341C 000C037C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 800C3420 000C0380 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 800C3424 000C0384 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 800C3428 000C0388 CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 800C342C 000C038C E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 -/* 800C3430 000C0390 CB 81 00 E0 */ lfd f28, 0xe0(r1) -/* 800C3434 000C0394 BA 41 00 A8 */ lmw r18, 0xa8(r1) -/* 800C3438 000C0398 80 01 01 24 */ lwz r0, 0x124(r1) -/* 800C343C 000C039C 7C 08 03 A6 */ mtlr r0 -/* 800C3440 000C03A0 38 21 01 20 */ addi r1, r1, 0x120 -/* 800C3444 000C03A4 4E 80 00 20 */ blr - .global __ct__11CDamageInfoFRC11CDamageInfof __ct__11CDamageInfoFRC11CDamageInfof: /* 800C3448 000C03A8 C0 02 8E 00 */ lfs f0, lbl_805AAB20@sda21(r2) diff --git a/obj_files.mk b/obj_files.mk index 7a33a551..5a3bc718 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -18,7 +18,26 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/CEulerAngles.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CFrontEndUI.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CInputGenerator.o\ - + $(BUILD_DIR)/asm/Kyoto_CWD/CMainFlow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CMFGameLoader.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CMFGame.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CAutoSave.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CCredits.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPlayMovie.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CSplashScreen.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CInstruction.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CAnimData.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CCharacterFactory.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CAssetFactory.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CTweakPlayer.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CTweaks.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CTweakGame.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CGameProjectile.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPlayerGun.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CStateManager.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CWeaponMgr.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CScriptPickup.o\ + AI_FILES :=\ $(BUILD_DIR)/asm/Dolphin/ai.o